From 041d1ea37802bf7178a31a53f96c26efa6b8fb7b Mon Sep 17 00:00:00 2001 From: James Date: Fri, 16 Nov 2012 10:41:01 +0000 Subject: fish --- ABOUT-NLS | 223 + AUTHORS | 23 + BUGS | 7 + COPYING | 674 + ChangeLog | 35345 ++++++++++++ INSTALL | 183 + Makefile.am | 324 + Makefile.in | 16415 ++++++ Makefile.tpl | 40657 +++++++++++++ Makefile.util.am | 10510 ++++ Makefile.util.def | 630 + NEWS | 399 + README | 22 + THANKS | 38 + TODO | 13 + acinclude.m4 | 422 + aclocal.m4 | 1090 + autogen.sh | 71 + autom4te.cache/output.0 | 24052 ++++++++ autom4te.cache/output.1 | 24052 ++++++++ autom4te.cache/requests | 573 + autom4te.cache/traces.0 | 12390 ++++ autom4te.cache/traces.1 | 3860 ++ build-aux/arg-nonnull.h | 26 + build-aux/c++defs.h | 271 + build-aux/compile | 143 + build-aux/config.guess | 1511 + build-aux/config.rpath | 614 + build-aux/config.sub | 1760 + build-aux/depcomp | 630 + build-aux/install-sh | 520 + build-aux/mdate-sh | 205 + build-aux/missing | 376 + build-aux/texinfo.tex | 9291 +++ build-aux/warn-on-use.h | 109 + conf/Makefile.common | 177 + conf/Makefile.extra-dist | 34 + conf/i386-pc-cygwin-img-ld.sc | 47 + config-util.h.in | 1247 + config.h.in | 46 + configure | 24052 ++++++++ configure.ac | 1047 + docs/Makefile.am | 7 + docs/Makefile.in | 1232 + docs/fdl.texi | 452 + docs/font_char_metrics.png | Bin 0 -> 16443 bytes docs/font_char_metrics.txt | 1 + docs/grub-dev.info | 2171 + docs/grub-dev.texi | 1533 + docs/grub.cfg | 75 + docs/grub.info | 5228 ++ docs/grub.texi | 4455 ++ docs/man/grub-bin2h.h2m | 2 + docs/man/grub-editenv.h2m | 5 + docs/man/grub-emu.h2m | 6 + docs/man/grub-fstest.h2m | 4 + docs/man/grub-install.h2m | 7 + docs/man/grub-macho2img.h2m | 4 + docs/man/grub-menulst2cfg.h2m | 4 + docs/man/grub-mkconfig.h2m | 4 + docs/man/grub-mkdevicemap.h2m | 4 + docs/man/grub-mkfont.h2m | 4 + docs/man/grub-mkimage.h2m | 7 + docs/man/grub-mklayout.h2m | 4 + docs/man/grub-mknetdir.h2m | 4 + docs/man/grub-mkpasswd-pbkdf2.h2m | 4 + docs/man/grub-mkrelpath.h2m | 4 + docs/man/grub-mkrescue.h2m | 4 + docs/man/grub-ofpathname.h2m | 4 + docs/man/grub-pe2elf.h2m | 4 + docs/man/grub-probe.h2m | 4 + docs/man/grub-reboot.h2m | 5 + docs/man/grub-script-check.h2m | 4 + docs/man/grub-set-default.h2m | 5 + docs/man/grub-setup.h2m | 6 + docs/mdate-sh | 205 + docs/stamp-1 | 4 + docs/stamp-vti | 4 + docs/texinfo.tex | 8959 +++ docs/version-dev.texi | 4 + docs/version.texi | 4 + geninit.sh | 69 + gentpl.py | 506 + grub-core/Makefile.am | 351 + grub-core/Makefile.core.am | 39086 +++++++++++++ grub-core/Makefile.core.def | 1520 + grub-core/Makefile.gcry.def | 136 + grub-core/Makefile.in | 57678 +++++++++++++++++++ grub-core/boot/decompressor/minilib.c | 102 + grub-core/boot/decompressor/none.c | 39 + grub-core/boot/decompressor/xz.c | 60 + grub-core/boot/i386/pc/boot.S | 481 + grub-core/boot/i386/pc/cdboot.S | 173 + grub-core/boot/i386/pc/diskboot.S | 380 + grub-core/boot/i386/pc/lnxboot.S | 299 + grub-core/boot/i386/pc/pxeboot.S | 42 + grub-core/boot/i386/qemu/boot.S | 68 + grub-core/boot/mips/startup_raw.S | 196 + grub-core/boot/mips/yeeloong/fwstart.S | 632 + grub-core/boot/sparc64/ieee1275/boot.S | 209 + grub-core/boot/sparc64/ieee1275/diskboot.S | 146 + grub-core/bus/bonito.c | 90 + grub-core/bus/cs5536.c | 384 + grub-core/bus/emu/pci.c | 77 + grub-core/bus/pci.c | 137 + grub-core/bus/usb/emu/usb.c | 203 + grub-core/bus/usb/ohci.c | 1441 + grub-core/bus/usb/serial/common.c | 134 + grub-core/bus/usb/serial/ftdi.c | 207 + grub-core/bus/usb/serial/pl2303.c | 220 + grub-core/bus/usb/uhci.c | 816 + grub-core/bus/usb/usb.c | 349 + grub-core/bus/usb/usbhub.c | 559 + grub-core/bus/usb/usbtrans.c | 413 + grub-core/commands/acpi.c | 774 + grub-core/commands/acpihalt.c | 332 + grub-core/commands/blocklist.c | 122 + grub-core/commands/boot.c | 198 + grub-core/commands/cat.c | 104 + grub-core/commands/cmp.c | 120 + grub-core/commands/configfile.c | 98 + grub-core/commands/date.c | 148 + grub-core/commands/echo.c | 141 + grub-core/commands/efi/acpi.c | 59 + grub-core/commands/efi/fixvideo.c | 112 + grub-core/commands/efi/loadbios.c | 220 + grub-core/commands/efi/lsefimmap.c | 145 + grub-core/commands/efi/lsefisystab.c | 110 + grub-core/commands/efi/lssal.c | 165 + grub-core/commands/extcmd.c | 118 + grub-core/commands/gptsync.c | 258 + grub-core/commands/halt.c | 48 + grub-core/commands/hashsum.c | 300 + grub-core/commands/hdparm.c | 422 + grub-core/commands/help.c | 143 + grub-core/commands/hexdump.c | 133 + grub-core/commands/i386/cmostest.c | 92 + grub-core/commands/i386/cpuid.c | 100 + grub-core/commands/i386/pc/acpi.c | 81 + grub-core/commands/i386/pc/drivemap.c | 422 + grub-core/commands/i386/pc/drivemap_int13h.S | 110 + grub-core/commands/i386/pc/halt.c | 127 + grub-core/commands/i386/pc/lsapm.c | 115 + grub-core/commands/i386/pc/play.c | 275 + grub-core/commands/i386/pc/pxecmd.c | 54 + grub-core/commands/i386/pc/sendkey.c | 385 + grub-core/commands/ieee1275/suspend.c | 51 + grub-core/commands/iorw.c | 152 + grub-core/commands/keylayouts.c | 299 + grub-core/commands/keystatus.c | 110 + grub-core/commands/legacycfg.c | 820 + grub-core/commands/loadenv.c | 399 + grub-core/commands/ls.c | 282 + grub-core/commands/lsacpi.c | 252 + grub-core/commands/lsmmap.c | 74 + grub-core/commands/lspci.c | 236 + grub-core/commands/memrw.c | 151 + grub-core/commands/menuentry.c | 307 + grub-core/commands/minicmd.c | 230 + grub-core/commands/mips/yeeloong/lsspd.c | 94 + grub-core/commands/parttool.c | 333 + grub-core/commands/password.c | 93 + grub-core/commands/password_pbkdf2.c | 199 + grub-core/commands/probe.c | 162 + grub-core/commands/read.c | 92 + grub-core/commands/reboot.c | 47 + grub-core/commands/regexp.c | 151 + grub-core/commands/search.c | 245 + grub-core/commands/search_file.c | 6 + grub-core/commands/search_label.c | 6 + grub-core/commands/search_uuid.c | 6 + grub-core/commands/search_wrap.c | 109 + grub-core/commands/setpci.c | 343 + grub-core/commands/sleep.c | 114 + grub-core/commands/terminal.c | 258 + grub-core/commands/test.c | 438 + grub-core/commands/testload.c | 157 + grub-core/commands/true.c | 59 + grub-core/commands/usbtest.c | 218 + grub-core/commands/videoinfo.c | 186 + grub-core/commands/videotest.c | 218 + grub-core/commands/wildcard.c | 495 + grub-core/commands/xnu_uuid.c | 102 + grub-core/disk/ata.c | 933 + grub-core/disk/ata_pthru.c | 108 + grub-core/disk/dmraid_nvidia.c | 171 + grub-core/disk/efi/efidisk.c | 850 + grub-core/disk/host.c | 95 + grub-core/disk/i386/pc/biosdisk.c | 641 + grub-core/disk/ieee1275/nand.c | 216 + grub-core/disk/ieee1275/ofdisk.c | 373 + grub-core/disk/loopback.c | 232 + grub-core/disk/lvm.c | 896 + grub-core/disk/mdraid1x_linux.c | 247 + grub-core/disk/mdraid_linux.c | 248 + grub-core/disk/memdisk.c | 117 + grub-core/disk/raid.c | 812 + grub-core/disk/raid5_recover.c | 76 + grub-core/disk/raid6_recover.c | 230 + grub-core/disk/scsi.c | 606 + grub-core/disk/usbms.c | 441 + grub-core/efiemu/i386/coredetect.c | 59 + grub-core/efiemu/i386/loadcore32.c | 114 + grub-core/efiemu/i386/loadcore64.c | 120 + grub-core/efiemu/i386/nocfgtables.c | 30 + grub-core/efiemu/i386/pc/cfgtables.c | 75 + grub-core/efiemu/loadcore.c | 369 + grub-core/efiemu/loadcore32.c | 22 + grub-core/efiemu/loadcore64.c | 22 + grub-core/efiemu/loadcore_common.c | 189 + grub-core/efiemu/main.c | 334 + grub-core/efiemu/mm.c | 652 + grub-core/efiemu/pnvram.c | 280 + grub-core/efiemu/prepare.c | 160 + grub-core/efiemu/prepare32.c | 22 + grub-core/efiemu/prepare64.c | 22 + grub-core/efiemu/runtime/config.h | 34 + grub-core/efiemu/runtime/efiemu.S | 159 + grub-core/efiemu/runtime/efiemu.c | 630 + grub-core/efiemu/symbols.c | 271 + grub-core/font/font.c | 1538 + grub-core/font/font_cmd.c | 84 + grub-core/fs/affs.c | 555 + grub-core/fs/afs.c | 720 + grub-core/fs/afs_be.c | 2 + grub-core/fs/befs.c | 3 + grub-core/fs/befs_be.c | 4 + grub-core/fs/btrfs.c | 1491 + grub-core/fs/cpio.c | 381 + grub-core/fs/ext2.c | 991 + grub-core/fs/fat.c | 878 + grub-core/fs/fshelp.c | 317 + grub-core/fs/hfs.c | 1124 + grub-core/fs/hfsplus.c | 1050 + grub-core/fs/i386/pc/pxe.c | 652 + grub-core/fs/iso9660.c | 908 + grub-core/fs/jfs.c | 908 + grub-core/fs/minix.c | 590 + grub-core/fs/minix2.c | 2 + grub-core/fs/nilfs2.c | 1186 + grub-core/fs/ntfs.c | 1117 + grub-core/fs/ntfscomp.c | 376 + grub-core/fs/reiserfs.c | 1384 + grub-core/fs/sfs.c | 599 + grub-core/fs/tar.c | 2 + grub-core/fs/udf.c | 1061 + grub-core/fs/ufs.c | 812 + grub-core/fs/ufs2.c | 3 + grub-core/fs/xfs.c | 837 + grub-core/fs/zfs/zfs.c | 2550 + grub-core/fs/zfs/zfs_fletcher.c | 84 + grub-core/fs/zfs/zfs_lzjb.c | 93 + grub-core/fs/zfs/zfs_sha256.c | 143 + grub-core/fs/zfs/zfsinfo.c | 409 + grub-core/genemuinit.sh | 72 + grub-core/genemuinitheader.sh | 52 + grub-core/genmod.sh.in | 73 + grub-core/genmoddep.awk | 62 + grub-core/gensyminfo.sh.in | 34 + grub-core/gensymlist.sh | 71 + grub-core/gentrigtables.c | 57 + grub-core/gettext/gettext.c | 400 + grub-core/gfxmenu/font.c | 109 + grub-core/gfxmenu/gfxmenu.c | 135 + grub-core/gfxmenu/gui_box.c | 412 + grub-core/gfxmenu/gui_canvas.c | 267 + grub-core/gfxmenu/gui_circular_progress.c | 308 + grub-core/gfxmenu/gui_image.c | 272 + grub-core/gfxmenu/gui_label.c | 254 + grub-core/gfxmenu/gui_list.c | 620 + grub-core/gfxmenu/gui_progress_bar.c | 391 + grub-core/gfxmenu/gui_string_util.c | 327 + grub-core/gfxmenu/gui_util.c | 101 + grub-core/gfxmenu/icon_manager.c | 263 + grub-core/gfxmenu/model.c | 0 grub-core/gfxmenu/named_colors.c | 209 + grub-core/gfxmenu/theme_loader.c | 723 + grub-core/gfxmenu/view.c | 446 + grub-core/gfxmenu/widget-box.c | 310 + grub-core/gnulib/Makefile.am | 1359 + grub-core/gnulib/Makefile.in | 2107 + grub-core/gnulib/alloca.c | 489 + grub-core/gnulib/alloca.in.h | 56 + grub-core/gnulib/argp-ba.c | 34 + grub-core/gnulib/argp-eexst.c | 30 + grub-core/gnulib/argp-fmtstream.c | 435 + grub-core/gnulib/argp-fmtstream.h | 354 + grub-core/gnulib/argp-fs-xinl.c | 42 + grub-core/gnulib/argp-help.c | 1951 + grub-core/gnulib/argp-namefrob.h | 157 + grub-core/gnulib/argp-parse.c | 952 + grub-core/gnulib/argp-pin.c | 27 + grub-core/gnulib/argp-pv.c | 34 + grub-core/gnulib/argp-pvh.c | 31 + grub-core/gnulib/argp-xinl.c | 42 + grub-core/gnulib/argp.h | 645 + grub-core/gnulib/asnprintf.c | 35 + grub-core/gnulib/basename-lgpl.c | 75 + grub-core/gnulib/btowc.c | 39 + grub-core/gnulib/config.charset | 683 + grub-core/gnulib/dirname-lgpl.c | 86 + grub-core/gnulib/dirname.h | 74 + grub-core/gnulib/errno.in.h | 160 + grub-core/gnulib/error.c | 394 + grub-core/gnulib/error.h | 65 + grub-core/gnulib/float+.h | 148 + grub-core/gnulib/float.in.h | 62 + grub-core/gnulib/fnmatch.c | 354 + grub-core/gnulib/fnmatch.in.h | 68 + grub-core/gnulib/fnmatch_loop.c | 1215 + grub-core/gnulib/getdelim.c | 137 + grub-core/gnulib/getline.c | 29 + grub-core/gnulib/getopt.c | 1192 + grub-core/gnulib/getopt.in.h | 249 + grub-core/gnulib/getopt1.c | 170 + grub-core/gnulib/getopt_int.h | 135 + grub-core/gnulib/gettext.h | 280 + grub-core/gnulib/intprops.h | 83 + grub-core/gnulib/langinfo.in.h | 173 + grub-core/gnulib/localcharset.c | 548 + grub-core/gnulib/localcharset.h | 41 + grub-core/gnulib/malloc.c | 60 + grub-core/gnulib/mbrtowc.c | 386 + grub-core/gnulib/mbsinit.c | 47 + grub-core/gnulib/mbsrtowcs-state.c | 37 + grub-core/gnulib/mbsrtowcs.c | 136 + grub-core/gnulib/memchr.c | 172 + grub-core/gnulib/memchr.valgrind | 14 + grub-core/gnulib/mempcpy.c | 29 + grub-core/gnulib/nl_langinfo.c | 270 + grub-core/gnulib/printf-args.c | 188 + grub-core/gnulib/printf-args.h | 155 + grub-core/gnulib/printf-parse.c | 627 + grub-core/gnulib/printf-parse.h | 180 + grub-core/gnulib/progname.c | 92 + grub-core/gnulib/progname.h | 62 + grub-core/gnulib/rawmemchr.c | 136 + grub-core/gnulib/rawmemchr.valgrind | 12 + grub-core/gnulib/realloc.c | 91 + grub-core/gnulib/ref-add.sin | 30 + grub-core/gnulib/ref-del.sin | 25 + grub-core/gnulib/regcomp.c | 3877 ++ grub-core/gnulib/regex.c | 72 + grub-core/gnulib/regex.h | 676 + grub-core/gnulib/regex_internal.c | 1742 + grub-core/gnulib/regex_internal.h | 873 + grub-core/gnulib/regexec.c | 4416 ++ grub-core/gnulib/size_max.h | 31 + grub-core/gnulib/sleep.c | 75 + grub-core/gnulib/stdbool.in.h | 122 + grub-core/gnulib/stddef.in.h | 86 + grub-core/gnulib/stdint.in.h | 568 + grub-core/gnulib/stdio-write.c | 148 + grub-core/gnulib/stdio.in.h | 1071 + grub-core/gnulib/stdlib.in.h | 715 + grub-core/gnulib/strcasecmp.c | 63 + grub-core/gnulib/strchrnul.c | 142 + grub-core/gnulib/strchrnul.valgrind | 12 + grub-core/gnulib/streq.h | 176 + grub-core/gnulib/strerror.c | 350 + grub-core/gnulib/string.in.h | 945 + grub-core/gnulib/strings.in.h | 93 + grub-core/gnulib/stripslash.c | 45 + grub-core/gnulib/strncasecmp.c | 63 + grub-core/gnulib/strndup.c | 37 + grub-core/gnulib/strnlen.c | 31 + grub-core/gnulib/strnlen1.c | 35 + grub-core/gnulib/strnlen1.h | 39 + grub-core/gnulib/sys_wait.in.h | 106 + grub-core/gnulib/sysexits.in.h | 71 + grub-core/gnulib/unistd.in.h | 1326 + grub-core/gnulib/vasnprintf.c | 5567 ++ grub-core/gnulib/vasnprintf.h | 80 + grub-core/gnulib/verify.h | 163 + grub-core/gnulib/vsnprintf.c | 71 + grub-core/gnulib/wchar.in.h | 428 + grub-core/gnulib/wcrtomb.c | 53 + grub-core/gnulib/wctype.in.h | 392 + grub-core/gnulib/xsize.h | 108 + grub-core/hello/hello.c | 51 + grub-core/hook/datehook.c | 110 + grub-core/io/bufio.c | 209 + grub-core/io/gzio.c | 1322 + grub-core/io/xzio.c | 356 + grub-core/kern/command.c | 58 + grub-core/kern/corecmd.c | 194 + grub-core/kern/device.c | 169 + grub-core/kern/disk.c | 604 + grub-core/kern/dl.c | 724 + grub-core/kern/efi/efi.c | 742 + grub-core/kern/efi/init.c | 130 + grub-core/kern/efi/mm.c | 453 + grub-core/kern/elf.c | 488 + grub-core/kern/emu/cache.S | 28 + grub-core/kern/emu/console.c | 293 + grub-core/kern/emu/full.c | 71 + grub-core/kern/emu/getroot.c | 932 + grub-core/kern/emu/hostdisk.c | 1776 + grub-core/kern/emu/hostfs.c | 175 + grub-core/kern/emu/lite.c | 45 + grub-core/kern/emu/main.c | 259 + grub-core/kern/emu/misc.c | 537 + grub-core/kern/emu/mm.c | 87 + grub-core/kern/emu/time.c | 46 + grub-core/kern/env.c | 262 + grub-core/kern/err.c | 139 + grub-core/kern/file.c | 186 + grub-core/kern/fs.c | 231 + grub-core/kern/generic/millisleep.c | 39 + grub-core/kern/generic/rtc_get_time_ms.c | 37 + grub-core/kern/i386/coreboot/init.c | 132 + grub-core/kern/i386/coreboot/mmap.c | 108 + grub-core/kern/i386/coreboot/startup.S | 89 + grub-core/kern/i386/dl.c | 109 + grub-core/kern/i386/efi/init.c | 47 + grub-core/kern/i386/efi/startup.S | 66 + grub-core/kern/i386/ieee1275/startup.S | 65 + grub-core/kern/i386/multiboot_mmap.c | 73 + grub-core/kern/i386/pc/init.c | 234 + grub-core/kern/i386/pc/lzma_decode.S | 614 + grub-core/kern/i386/pc/mmap.c | 190 + grub-core/kern/i386/pc/startup.S | 1011 + grub-core/kern/i386/pit.c | 56 + grub-core/kern/i386/qemu/init.c | 147 + grub-core/kern/i386/qemu/mmap.c | 100 + grub-core/kern/i386/qemu/startup.S | 104 + grub-core/kern/i386/realmode.S | 242 + grub-core/kern/i386/tsc.c | 74 + grub-core/kern/ieee1275/cmain.c | 182 + grub-core/kern/ieee1275/ieee1275.c | 609 + grub-core/kern/ieee1275/init.c | 274 + grub-core/kern/ieee1275/mmap.c | 80 + grub-core/kern/ieee1275/openfw.c | 469 + grub-core/kern/list.c | 87 + grub-core/kern/main.c | 200 + grub-core/kern/mips/cache.S | 45 + grub-core/kern/mips/cache_flush.S | 23 + grub-core/kern/mips/dl.c | 239 + grub-core/kern/mips/init.c | 34 + grub-core/kern/mips/qemu-mips/init.c | 58 + grub-core/kern/mips/startup.S | 126 + grub-core/kern/mips/yeeloong/init.c | 253 + grub-core/kern/misc.c | 1019 + grub-core/kern/mm.c | 572 + grub-core/kern/parser.c | 267 + grub-core/kern/partition.c | 253 + grub-core/kern/powerpc/cache.S | 26 + grub-core/kern/powerpc/cache_flush.S | 43 + grub-core/kern/powerpc/dl.c | 136 + grub-core/kern/powerpc/ieee1275/startup.S | 64 + grub-core/kern/rescue_parser.c | 76 + grub-core/kern/rescue_reader.c | 97 + grub-core/kern/sparc64/cache.S | 41 + grub-core/kern/sparc64/dl.c | 142 + grub-core/kern/sparc64/ieee1275/crt0.S | 94 + grub-core/kern/sparc64/ieee1275/ieee1275.c | 91 + grub-core/kern/sparc64/ieee1275/init.c | 174 + grub-core/kern/term.c | 130 + grub-core/kern/time.c | 37 + grub-core/kern/x86_64/dl.c | 119 + grub-core/kern/x86_64/efi/callwrap.S | 116 + grub-core/kern/x86_64/efi/startup.S | 63 + grub-core/lib/LzFind.c | 777 + grub-core/lib/LzmaDec.c | 1035 + grub-core/lib/LzmaEnc.c | 2357 + grub-core/lib/arg.c | 478 + grub-core/lib/cmdline.c | 105 + grub-core/lib/cmos_datetime.c | 158 + grub-core/lib/crc.c | 75 + grub-core/lib/crypto.c | 456 + grub-core/lib/efi/datetime.c | 82 + grub-core/lib/efi/halt.c | 36 + grub-core/lib/efi/relocator.c | 119 + grub-core/lib/emu/halt.c | 25 + grub-core/lib/envblk.c | 296 + grub-core/lib/hexdump.c | 85 + grub-core/lib/i386/halt.c | 60 + grub-core/lib/i386/pc/biosnum.c | 47 + grub-core/lib/i386/pc/vesa_modes_table.c | 127 + grub-core/lib/i386/relocator.c | 270 + grub-core/lib/i386/relocator16.S | 193 + grub-core/lib/i386/relocator32.S | 134 + grub-core/lib/i386/relocator64.S | 160 + grub-core/lib/i386/relocator_asm.S | 80 + grub-core/lib/i386/relocator_backward.S | 2 + grub-core/lib/i386/relocator_common.S | 82 + grub-core/lib/i386/setjmp.S | 59 + grub-core/lib/ieee1275/datetime.c | 145 + grub-core/lib/ieee1275/halt.c | 33 + grub-core/lib/ieee1275/relocator.c | 95 + grub-core/lib/legacy_parse.c | 815 + grub-core/lib/libgcrypt-grub/cipher/ChangeLog | 4212 ++ grub-core/lib/libgcrypt-grub/cipher/arcfour.c | 141 + grub-core/lib/libgcrypt-grub/cipher/bithelp.h | 57 + grub-core/lib/libgcrypt-grub/cipher/blowfish.c | 588 + .../lib/libgcrypt-grub/cipher/camellia-glue.c | 199 + grub-core/lib/libgcrypt-grub/cipher/camellia.c | 1463 + grub-core/lib/libgcrypt-grub/cipher/camellia.h | 83 + grub-core/lib/libgcrypt-grub/cipher/cast5.c | 586 + grub-core/lib/libgcrypt-grub/cipher/cipher.h | 2 + grub-core/lib/libgcrypt-grub/cipher/crc.c | 318 + grub-core/lib/libgcrypt-grub/cipher/crypto.lst | 38 + grub-core/lib/libgcrypt-grub/cipher/des.c | 923 + grub-core/lib/libgcrypt-grub/cipher/dsa.c | 1063 + grub-core/lib/libgcrypt-grub/cipher/ecc.c | 1351 + grub-core/lib/libgcrypt-grub/cipher/elgamal.c | 846 + grub-core/lib/libgcrypt-grub/cipher/g10lib.h | 1 + grub-core/lib/libgcrypt-grub/cipher/hash-common.h | 36 + grub-core/lib/libgcrypt-grub/cipher/md4.c | 341 + grub-core/lib/libgcrypt-grub/cipher/md5.c | 368 + grub-core/lib/libgcrypt-grub/cipher/memory.h | 1 + grub-core/lib/libgcrypt-grub/cipher/primegen.c | 1861 + grub-core/lib/libgcrypt-grub/cipher/rfc2268.c | 282 + .../lib/libgcrypt-grub/cipher/rijndael-tables.h | 1690 + grub-core/lib/libgcrypt-grub/cipher/rijndael.c | 767 + grub-core/lib/libgcrypt-grub/cipher/rmd.h | 40 + grub-core/lib/libgcrypt-grub/cipher/rmd160.c | 575 + grub-core/lib/libgcrypt-grub/cipher/rsa.c | 1160 + grub-core/lib/libgcrypt-grub/cipher/seed.c | 458 + grub-core/lib/libgcrypt-grub/cipher/serpent.c | 994 + grub-core/lib/libgcrypt-grub/cipher/sha1.c | 418 + grub-core/lib/libgcrypt-grub/cipher/sha256.c | 388 + grub-core/lib/libgcrypt-grub/cipher/sha512.c | 441 + grub-core/lib/libgcrypt-grub/cipher/tiger.c | 864 + grub-core/lib/libgcrypt-grub/cipher/twofish.c | 993 + grub-core/lib/libgcrypt-grub/cipher/types.h | 2 + grub-core/lib/libgcrypt-grub/cipher/whirlpool.c | 1419 + grub-core/lib/libgcrypt/cipher/ChangeLog | 3900 ++ grub-core/lib/libgcrypt/cipher/ac.c | 3301 ++ grub-core/lib/libgcrypt/cipher/arcfour.c | 156 + grub-core/lib/libgcrypt/cipher/bithelp.h | 54 + grub-core/lib/libgcrypt/cipher/blowfish.c | 605 + grub-core/lib/libgcrypt/cipher/camellia-glue.c | 253 + grub-core/lib/libgcrypt/cipher/camellia.c | 1461 + grub-core/lib/libgcrypt/cipher/camellia.h | 81 + grub-core/lib/libgcrypt/cipher/cast5.c | 620 + grub-core/lib/libgcrypt/cipher/cipher.c | 1932 + grub-core/lib/libgcrypt/cipher/crc.c | 297 + grub-core/lib/libgcrypt/cipher/des.c | 1196 + grub-core/lib/libgcrypt/cipher/dsa.c | 1181 + grub-core/lib/libgcrypt/cipher/ecc.c | 1390 + grub-core/lib/libgcrypt/cipher/elgamal.c | 846 + grub-core/lib/libgcrypt/cipher/hash-common.c | 94 + grub-core/lib/libgcrypt/cipher/hash-common.h | 33 + grub-core/lib/libgcrypt/cipher/hmac-tests.c | 732 + grub-core/lib/libgcrypt/cipher/md.c | 1375 + grub-core/lib/libgcrypt/cipher/md4.c | 328 + grub-core/lib/libgcrypt/cipher/md5.c | 355 + grub-core/lib/libgcrypt/cipher/primegen.c | 1862 + grub-core/lib/libgcrypt/cipher/pubkey.c | 2749 + grub-core/lib/libgcrypt/cipher/rfc2268.c | 345 + grub-core/lib/libgcrypt/cipher/rijndael-tables.h | 1687 + grub-core/lib/libgcrypt/cipher/rijndael.c | 1253 + grub-core/lib/libgcrypt/cipher/rmd.h | 37 + grub-core/lib/libgcrypt/cipher/rmd160.c | 572 + grub-core/lib/libgcrypt/cipher/rsa.c | 1379 + grub-core/lib/libgcrypt/cipher/seed.c | 478 + grub-core/lib/libgcrypt/cipher/serpent.c | 978 + grub-core/lib/libgcrypt/cipher/sha1.c | 479 + grub-core/lib/libgcrypt/cipher/sha256.c | 487 + grub-core/lib/libgcrypt/cipher/sha512.c | 553 + grub-core/lib/libgcrypt/cipher/tiger.c | 851 + grub-core/lib/libgcrypt/cipher/twofish.c | 1040 + grub-core/lib/libgcrypt/cipher/whirlpool.c | 1406 + grub-core/lib/libgcrypt_wrap/cipher_wrap.h | 92 + grub-core/lib/mips/relocator.c | 149 + grub-core/lib/mips/relocator_asm.S | 61 + grub-core/lib/mips/setjmp.S | 68 + grub-core/lib/pbkdf2.c | 105 + grub-core/lib/posix_wrap/assert.h | 33 + grub-core/lib/posix_wrap/ctype.h | 103 + grub-core/lib/posix_wrap/errno.h | 28 + grub-core/lib/posix_wrap/inttypes.h | 1 + grub-core/lib/posix_wrap/langinfo.h | 38 + grub-core/lib/posix_wrap/limits.h | 0 grub-core/lib/posix_wrap/localcharset.h | 28 + grub-core/lib/posix_wrap/locale.h | 0 grub-core/lib/posix_wrap/stdint.h | 1 + grub-core/lib/posix_wrap/stdio.h | 29 + grub-core/lib/posix_wrap/stdlib.h | 57 + grub-core/lib/posix_wrap/string.h | 42 + grub-core/lib/posix_wrap/sys/types.h | 46 + grub-core/lib/posix_wrap/unistd.h | 0 grub-core/lib/posix_wrap/wchar.h | 25 + grub-core/lib/posix_wrap/wctype.h | 0 grub-core/lib/powerpc/relocator.c | 142 + grub-core/lib/powerpc/relocator_asm.S | 60 + grub-core/lib/powerpc/setjmp.S | 87 + grub-core/lib/reed_solomon.c | 527 + grub-core/lib/relocator.c | 1602 + grub-core/lib/setjmp.S | 13 + grub-core/lib/sparc64/setjmp.S | 50 + grub-core/lib/x86_64/relocator_asm.S | 85 + grub-core/lib/x86_64/setjmp.S | 68 + grub-core/lib/xzembed/xz.h | 180 + grub-core/lib/xzembed/xz_config.h | 141 + grub-core/lib/xzembed/xz_dec_bcj.c | 578 + grub-core/lib/xzembed/xz_dec_lzma2.c | 1182 + grub-core/lib/xzembed/xz_dec_stream.c | 919 + grub-core/lib/xzembed/xz_lzma2.h | 236 + grub-core/lib/xzembed/xz_private.h | 96 + grub-core/lib/xzembed/xz_stream.h | 53 + grub-core/loader/aout.c | 62 + grub-core/loader/efi/appleloader.c | 230 + grub-core/loader/efi/chainloader.c | 355 + grub-core/loader/i386/bsd.c | 1992 + grub-core/loader/i386/bsd32.c | 6 + grub-core/loader/i386/bsd64.c | 6 + grub-core/loader/i386/bsdXX.c | 621 + grub-core/loader/i386/bsd_pagetable.c | 92 + grub-core/loader/i386/linux.c | 1016 + grub-core/loader/i386/multiboot_mbi.c | 731 + grub-core/loader/i386/pc/chainloader.c | 177 + grub-core/loader/i386/pc/linux.c | 450 + grub-core/loader/i386/pc/ntldr.c | 159 + grub-core/loader/i386/xnu.c | 1137 + grub-core/loader/macho.c | 160 + grub-core/loader/macho32.c | 18 + grub-core/loader/macho64.c | 18 + grub-core/loader/machoXX.c | 239 + grub-core/loader/mips/linux.c | 443 + grub-core/loader/multiboot.c | 358 + grub-core/loader/multiboot_elfxx.c | 225 + grub-core/loader/multiboot_mbi2.c | 911 + grub-core/loader/powerpc/ieee1275/linux.c | 385 + grub-core/loader/sparc64/ieee1275/linux.c | 525 + grub-core/loader/xnu.c | 1498 + grub-core/loader/xnu_resume.c | 172 + grub-core/mmap/efi/mmap.c | 282 + grub-core/mmap/i386/mmap.c | 99 + grub-core/mmap/i386/pc/mmap.c | 216 + grub-core/mmap/i386/pc/mmap_helper.S | 133 + grub-core/mmap/i386/uppermem.c | 89 + grub-core/mmap/mips/yeeloong/uppermem.c | 68 + grub-core/mmap/mmap.c | 486 + grub-core/normal/auth.c | 273 + grub-core/normal/autofs.c | 136 + grub-core/normal/charset.c | 1274 + grub-core/normal/cmdline.c | 650 + grub-core/normal/color.c | 150 + grub-core/normal/completion.c | 518 + grub-core/normal/context.c | 209 + grub-core/normal/crypto.c | 151 + grub-core/normal/datetime.c | 100 + grub-core/normal/dyncmd.c | 182 + grub-core/normal/main.c | 535 + grub-core/normal/menu.c | 773 + grub-core/normal/menu_entry.c | 1447 + grub-core/normal/menu_text.c | 491 + grub-core/normal/misc.c | 128 + grub-core/normal/term.c | 888 + grub-core/partmap/acorn.c | 147 + grub-core/partmap/amiga.c | 160 + grub-core/partmap/apple.c | 199 + grub-core/partmap/bsdlabel.c | 254 + grub-core/partmap/gpt.c | 208 + grub-core/partmap/msdos.c | 284 + grub-core/partmap/sun.c | 151 + grub-core/partmap/sunpc.c | 146 + grub-core/parttool/msdospart.c | 157 + grub-core/script/argv.c | 153 + grub-core/script/execute.c | 783 + grub-core/script/function.c | 105 + grub-core/script/lexer.c | 327 + grub-core/script/main.c | 88 + grub-core/script/parser.y | 353 + grub-core/script/script.c | 394 + grub-core/script/yylex.l | 368 + grub-core/term/at_keyboard.c | 638 + grub-core/term/efi/console.c | 291 + grub-core/term/gfxterm.c | 1220 + grub-core/term/i386/pc/console.c | 68 + grub-core/term/i386/pc/vga_text.c | 175 + grub-core/term/i386/vga_common.c | 48 + grub-core/term/ieee1275/ofconsole.c | 249 + grub-core/term/ns8250.c | 278 + grub-core/term/serial.c | 372 + grub-core/term/terminfo.c | 652 + grub-core/term/tparm.c | 761 + grub-core/term/usb_keyboard.c | 472 + grub-core/tests/boot/kbsd.init-i386.S | 125 + grub-core/tests/boot/kbsd.init-x86_64.S | 111 + grub-core/tests/boot/kbsd.spec.txt | 3 + grub-core/tests/boot/kernel-8086.S | 69 + grub-core/tests/boot/kernel-i386.S | 89 + grub-core/tests/boot/kfreebsd-aout.cfg | 4 + grub-core/tests/boot/kfreebsd.cfg | 8 + grub-core/tests/boot/kfreebsd.init-i386.S | 114 + grub-core/tests/boot/kfreebsd.init-x86_64.S | 98 + grub-core/tests/boot/knetbsd.cfg | 5 + grub-core/tests/boot/kopenbsd.cfg | 5 + grub-core/tests/boot/kopenbsdlabel.txt | 3 + grub-core/tests/boot/linux.cfg | 5 + grub-core/tests/boot/linux.init-i386.S | 79 + grub-core/tests/boot/linux.init-x86_64.S | 78 + grub-core/tests/boot/linux16.cfg | 5 + grub-core/tests/boot/multiboot.cfg | 4 + grub-core/tests/boot/multiboot2.cfg | 4 + grub-core/tests/boot/ntldr.cfg | 4 + grub-core/tests/boot/pc-chainloader.cfg | 4 + grub-core/tests/example_functional_test.c | 38 + grub-core/tests/lib/functional_test.c | 50 + grub-core/tests/lib/test.c | 157 + grub-core/tests/test_blockarg.c | 53 + grub-core/unidata.c | 1494 + grub-core/video/bitmap.c | 255 + grub-core/video/bitmap_scale.c | 311 + grub-core/video/bochs.c | 426 + grub-core/video/cirrus.c | 506 + grub-core/video/efi_gop.c | 441 + grub-core/video/efi_uga.c | 344 + grub-core/video/emu/sdl.c | 242 + grub-core/video/fb/fbblit.c | 1420 + grub-core/video/fb/fbfill.c | 177 + grub-core/video/fb/fbutil.c | 178 + grub-core/video/fb/video_fb.c | 1533 + grub-core/video/i386/pc/vbe.c | 918 + grub-core/video/i386/pc/vga.c | 390 + grub-core/video/ieee1275.c | 316 + grub-core/video/readers/jpeg.c | 764 + grub-core/video/readers/png.c | 915 + grub-core/video/readers/tga.c | 497 + grub-core/video/sm712.c | 787 + grub-core/video/sm712_init.c | 14 + grub-core/video/video.c | 675 + include/grub/acorn_filecore.h | 53 + include/grub/acpi.h | 176 + include/grub/aout.h | 128 + include/grub/at_keyboard.h | 38 + include/grub/ata.h | 177 + include/grub/auth.h | 37 + include/grub/autoefi.h | 64 + include/grub/bitmap.h | 70 + include/grub/bitmap_scale.h | 49 + include/grub/boot.h | 27 + include/grub/bsdlabel.h | 91 + include/grub/bufio.h | 28 + include/grub/cache.h | 50 + include/grub/charset.h | 134 + include/grub/cmos.h | 72 + include/grub/command.h | 123 + include/grub/crypto.h | 277 + include/grub/cs5536.h | 190 + include/grub/datetime.h | 55 + include/grub/decompressor.h | 34 + include/grub/deflate.h | 26 + include/grub/device.h | 41 + include/grub/disk.h | 189 + include/grub/dl.h | 171 + include/grub/efi/api.h | 1296 + include/grub/efi/console.h | 31 + include/grub/efi/console_control.h | 57 + include/grub/efi/disk.h | 33 + include/grub/efi/efi.h | 77 + include/grub/efi/graphics_output.h | 96 + include/grub/efi/memory.h | 38 + include/grub/efi/pe32.h | 315 + include/grub/efi/time.h | 30 + include/grub/efi/uga_draw.h | 76 + include/grub/efiemu/efiemu.h | 289 + include/grub/efiemu/runtime.h | 37 + include/grub/elf.h | 2378 + include/grub/elfload.h | 66 + include/grub/emu/console.h | 28 + include/grub/emu/getroot.h | 38 + include/grub/emu/hostdisk.h | 33 + include/grub/emu/misc.h | 83 + include/grub/env.h | 69 + include/grub/env_private.h | 46 + include/grub/err.h | 75 + include/grub/extcmd.h | 79 + include/grub/fbblit.h | 182 + include/grub/fbfill.h | 75 + include/grub/fbutil.h | 43 + include/grub/file.h | 129 + include/grub/font.h | 125 + include/grub/fontformat.h | 38 + include/grub/fs.h | 112 + include/grub/fshelp.h | 82 + include/grub/gfxmenu_model.h | 1 + include/grub/gfxmenu_view.h | 115 + include/grub/gfxterm.h | 44 + include/grub/gfxwidgets.h | 50 + include/grub/gpt_partition.h | 71 + include/grub/gui.h | 275 + include/grub/gui_string_util.h | 37 + include/grub/hfs.h | 61 + include/grub/i18n.h | 68 + include/grub/i386/at_keyboard.h | 25 + include/grub/i386/bsd.h | 122 + include/grub/i386/cmos.h | 28 + include/grub/i386/coreboot/boot.h | 1 + include/grub/i386/coreboot/console.h | 25 + include/grub/i386/coreboot/lbio.h | 49 + include/grub/i386/coreboot/memory.h | 56 + include/grub/i386/coreboot/serial.h | 24 + include/grub/i386/coreboot/time.h | 1 + include/grub/i386/cpuid.h | 24 + include/grub/i386/efi/memory.h | 1 + include/grub/i386/efi/serial.h | 1 + include/grub/i386/efi/time.h | 24 + include/grub/i386/efiemu.h | 33 + include/grub/i386/floppy.h | 36 + include/grub/i386/freebsd_linker.h | 74 + include/grub/i386/freebsd_reboot.h | 77 + include/grub/i386/ieee1275/ieee1275.h | 1 + include/grub/i386/ieee1275/memory.h | 1 + include/grub/i386/ieee1275/serial.h | 1 + include/grub/i386/ieee1275/time.h | 1 + include/grub/i386/io.h | 72 + include/grub/i386/linux.h | 285 + include/grub/i386/macho.h | 46 + include/grub/i386/memory.h | 63 + include/grub/i386/multiboot.h | 36 + include/grub/i386/multiboot/boot.h | 1 + include/grub/i386/multiboot/console.h | 1 + include/grub/i386/multiboot/kernel.h | 1 + include/grub/i386/multiboot/memory.h | 1 + include/grub/i386/multiboot/serial.h | 1 + include/grub/i386/multiboot/time.h | 1 + include/grub/i386/netbsd_bootinfo.h | 138 + include/grub/i386/netbsd_reboot.h | 81 + include/grub/i386/openbsd_bootarg.h | 82 + include/grub/i386/openbsd_reboot.h | 79 + include/grub/i386/pc/apm.h | 48 + include/grub/i386/pc/biosdisk.h | 109 + include/grub/i386/pc/biosnum.h | 6 + include/grub/i386/pc/boot.h | 73 + include/grub/i386/pc/chainloader.h | 30 + include/grub/i386/pc/console.h | 47 + include/grub/i386/pc/int.h | 53 + include/grub/i386/pc/kernel.h | 49 + include/grub/i386/pc/loader.h | 27 + include/grub/i386/pc/memory.h | 97 + include/grub/i386/pc/pxe.h | 328 + include/grub/i386/pc/time.h | 29 + include/grub/i386/pc/vbe.h | 217 + include/grub/i386/pc/vesa_modes_table.h | 19 + include/grub/i386/pc/vga.h | 28 + include/grub/i386/pci.h | 89 + include/grub/i386/pit.h | 27 + include/grub/i386/qemu/boot.h | 25 + include/grub/i386/qemu/console.h | 1 + include/grub/i386/qemu/kernel.h | 41 + include/grub/i386/qemu/memory.h | 42 + include/grub/i386/qemu/serial.h | 1 + include/grub/i386/qemu/time.h | 1 + include/grub/i386/relocator.h | 74 + include/grub/i386/setjmp.h | 33 + include/grub/i386/time.h | 29 + include/grub/i386/tsc.h | 141 + include/grub/i386/types.h | 31 + include/grub/i386/vga_common.h | 32 + include/grub/i386/xnu.h | 118 + include/grub/icon_manager.h | 41 + include/grub/ieee1275/console.h | 31 + include/grub/ieee1275/ieee1275.h | 201 + include/grub/ieee1275/ofdisk.h | 25 + include/grub/kernel.h | 96 + include/grub/keyboard_layouts.h | 142 + include/grub/legacy_parse.h | 27 + include/grub/lib/LzFind.h | 130 + include/grub/lib/LzHash.h | 77 + include/grub/lib/LzmaDec.h | 246 + include/grub/lib/LzmaEnc.h | 95 + include/grub/lib/LzmaTypes.h | 151 + include/grub/lib/arg.h | 79 + include/grub/lib/cmdline.h | 31 + include/grub/lib/crc.h | 25 + include/grub/lib/envblk.h | 55 + include/grub/lib/hexdump.h | 25 + include/grub/libgcc.h | 85 + include/grub/libpciaccess.h | 26 + include/grub/libusb.h | 29 + include/grub/list.h | 117 + include/grub/loader.h | 66 + include/grub/lvm.h | 137 + include/grub/macho.h | 124 + include/grub/machoload.h | 73 + include/grub/memory.h | 73 + include/grub/menu.h | 103 + include/grub/menu_viewer.h | 48 + include/grub/mips/at_keyboard.h | 1 + include/grub/mips/cache.h | 27 + include/grub/mips/cmos.h | 1 + include/grub/mips/io.h | 62 + include/grub/mips/loongson.h | 90 + include/grub/mips/memory.h | 1 + include/grub/mips/multiboot.h | 31 + include/grub/mips/pci.h | 1 + include/grub/mips/qemu-mips/kernel.h | 32 + include/grub/mips/qemu-mips/loader.h | 0 include/grub/mips/qemu-mips/memory.h | 52 + include/grub/mips/qemu-mips/serial.h | 24 + include/grub/mips/qemu-mips/time.h | 34 + include/grub/mips/relocator.h | 38 + include/grub/mips/setjmp.h | 27 + include/grub/mips/time.h | 6 + include/grub/mips/types.h | 38 + include/grub/mips/yeeloong/at_keyboard.h | 25 + include/grub/mips/yeeloong/cmos.h | 28 + include/grub/mips/yeeloong/ec.h | 41 + include/grub/mips/yeeloong/kernel.h | 31 + include/grub/mips/yeeloong/memory.h | 81 + include/grub/mips/yeeloong/pci.h | 121 + include/grub/mips/yeeloong/serial.h | 30 + include/grub/mips/yeeloong/time.h | 37 + include/grub/misc.h | 368 + include/grub/mm.h | 75 + include/grub/mm_private.h | 64 + include/grub/msdos_partition.h | 124 + include/grub/multiboot.h | 92 + include/grub/multiboot_loader.h | 28 + include/grub/net.h | 72 + include/grub/normal.h | 138 + include/grub/ns8250.h | 80 + include/grub/ntfs.h | 183 + include/grub/offsets.h | 182 + include/grub/parser.h | 91 + include/grub/partition.h | 134 + include/grub/parttool.h | 58 + include/grub/pci.h | 137 + include/grub/pciutils.h | 103 + include/grub/powerpc/ieee1275/biosdisk.h | 46 + include/grub/powerpc/ieee1275/ieee1275.h | 28 + include/grub/powerpc/ieee1275/time.h | 29 + include/grub/powerpc/ieee1275/util/biosdisk.h | 27 + include/grub/powerpc/kernel.h | 22 + include/grub/powerpc/memory.h | 47 + include/grub/powerpc/relocator.h | 37 + include/grub/powerpc/setjmp.h | 27 + include/grub/powerpc/time.h | 28 + include/grub/powerpc/types.h | 32 + include/grub/raid.h | 96 + include/grub/reader.h | 29 + include/grub/reed_solomon.h | 30 + include/grub/relocator.h | 58 + include/grub/relocator_private.h | 113 + include/grub/script_sh.h | 405 + include/grub/scsi.h | 106 + include/grub/scsicmd.h | 166 + include/grub/sdl.h | 24 + include/grub/search.h | 29 + include/grub/serial.h | 123 + include/grub/setjmp.h | 33 + include/grub/smbus.h | 70 + include/grub/sparc64/ieee1275/boot.h | 64 + include/grub/sparc64/ieee1275/ieee1275.h | 48 + include/grub/sparc64/ieee1275/kernel.h | 37 + include/grub/sparc64/ieee1275/time.h | 29 + include/grub/sparc64/setjmp.h | 29 + include/grub/sparc64/time.h | 28 + include/grub/sparc64/types.h | 32 + include/grub/symbol.h | 52 + include/grub/term.h | 471 + include/grub/terminfo.h | 81 + include/grub/test.h | 85 + include/grub/time.h | 47 + include/grub/tparm.h | 26 + include/grub/trig.h | 44 + include/grub/types.h | 218 + include/grub/unicode.h | 272 + include/grub/usb.h | 288 + include/grub/usbdesc.h | 125 + include/grub/usbserial.h | 34 + include/grub/usbtrans.h | 153 + include/grub/util/deviceiter.h | 11 + include/grub/util/libnvpair.h | 39 + include/grub/util/libzfs.h | 47 + include/grub/util/lvm.h | 27 + include/grub/util/misc.h | 63 + include/grub/util/ofpath.h | 6 + include/grub/util/raid.h | 27 + include/grub/util/resolve.h | 35 + include/grub/vga.h | 371 + include/grub/video.h | 431 + include/grub/video_fb.h | 136 + include/grub/x86_64/at_keyboard.h | 1 + include/grub/x86_64/efi/boot.h | 0 include/grub/x86_64/efi/loader.h | 26 + include/grub/x86_64/efi/memory.h | 1 + include/grub/x86_64/efi/serial.h | 1 + include/grub/x86_64/efi/time.h | 24 + include/grub/x86_64/io.h | 19 + include/grub/x86_64/linux.h | 19 + include/grub/x86_64/macho.h | 1 + include/grub/x86_64/memory.h | 1 + include/grub/x86_64/multiboot.h | 1 + include/grub/x86_64/pci.h | 19 + include/grub/x86_64/relocator.h | 1 + include/grub/x86_64/setjmp.h | 27 + include/grub/x86_64/time.h | 29 + include/grub/x86_64/types.h | 31 + include/grub/x86_64/xnu.h | 1 + include/grub/xnu.h | 116 + include/grub/zfs/dmu.h | 119 + include/grub/zfs/dmu_objset.h | 43 + include/grub/zfs/dnode.h | 80 + include/grub/zfs/dsl_dataset.h | 52 + include/grub/zfs/dsl_dir.h | 48 + include/grub/zfs/sa_impl.h | 34 + include/grub/zfs/spa.h | 310 + include/grub/zfs/uberblock_impl.h | 60 + include/grub/zfs/vdev_impl.h | 69 + include/grub/zfs/zap_impl.h | 111 + include/grub/zfs/zap_leaf.h | 103 + include/grub/zfs/zfs.h | 123 + include/grub/zfs/zfs_acl.h | 59 + include/grub/zfs/zfs_znode.h | 70 + include/grub/zfs/zil.h | 56 + include/grub/zfs/zio.h | 84 + include/grub/zfs/zio_checksum.h | 49 + include/multiboot.h | 274 + include/multiboot2.h | 366 + m4/00gnulib.m4 | 30 + m4/alloca.m4 | 47 + m4/argp.m4 | 65 + m4/asm-underscore.m4 | 48 + m4/btowc.m4 | 109 + m4/codeset.m4 | 23 + m4/dirname.m4 | 26 + m4/dos.m4 | 71 + m4/double-slash-root.m4 | 38 + m4/errno_h.m4 | 115 + m4/error.m4 | 39 + m4/extensions.m4 | 118 + m4/fcntl-o.m4 | 85 + m4/float_h.m4 | 19 + m4/fnmatch.m4 | 121 + m4/getdelim.m4 | 90 + m4/getline.m4 | 97 + m4/getopt.m4 | 318 + m4/gettext.m4 | 401 + m4/glibc2.m4 | 30 + m4/glibc21.m4 | 30 + m4/gnulib-cache.m4 | 42 + m4/gnulib-common.m4 | 201 + m4/gnulib-comp.m4 | 601 + m4/gnulib-tool.m4 | 57 + m4/iconv.m4 | 256 + m4/include_next.m4 | 192 + m4/intdiv0.m4 | 87 + m4/intl.m4 | 300 + m4/intldir.m4 | 19 + m4/intlmacosx.m4 | 56 + m4/intmax.m4 | 36 + m4/intmax_t.m4 | 67 + m4/inttypes-pri.m4 | 42 + m4/inttypes_h.m4 | 29 + m4/langinfo_h.m4 | 105 + m4/lcmessage.m4 | 35 + m4/lib-ld.m4 | 109 + m4/lib-link.m4 | 775 + m4/lib-prefix.m4 | 224 + m4/localcharset.m4 | 17 + m4/locale-fr.m4 | 185 + m4/locale-ja.m4 | 107 + m4/locale-zh.m4 | 92 + m4/lock.m4 | 41 + m4/longlong.m4 | 106 + m4/malloc.m4 | 66 + m4/mbrtowc.m4 | 393 + m4/mbsinit.m4 | 32 + m4/mbsrtowcs.m4 | 123 + m4/mbstate_t.m4 | 34 + m4/memchr.m4 | 87 + m4/mempcpy.m4 | 27 + m4/mmap-anon.m4 | 59 + m4/multiarch.m4 | 65 + m4/nl_langinfo.m4 | 25 + m4/nls.m4 | 32 + m4/po.m4 | 449 + m4/printf-posix.m4 | 48 + m4/printf.m4 | 1462 + m4/progtest.m4 | 91 + m4/rawmemchr.m4 | 21 + m4/realloc.m4 | 44 + m4/regex.m4 | 235 + m4/size_max.m4 | 79 + m4/sleep.m4 | 49 + m4/ssize_t.m4 | 23 + m4/stdbool.m4 | 103 + m4/stddef_h.m4 | 45 + m4/stdint.m4 | 472 + m4/stdint_h.m4 | 27 + m4/stdio_h.m4 | 159 + m4/stdlib_h.m4 | 112 + m4/strcase.m4 | 44 + m4/strchrnul.m4 | 21 + m4/strerror.m4 | 68 + m4/string_h.m4 | 112 + m4/strings_h.m4 | 39 + m4/strndup.m4 | 53 + m4/strnlen.m4 | 32 + m4/sys_wait_h.m4 | 25 + m4/sysexits.m4 | 43 + m4/threadlib.m4 | 362 + m4/uintmax_t.m4 | 30 + m4/unistd_h.m4 | 159 + m4/vasnprintf.m4 | 288 + m4/visibility.m4 | 77 + m4/vsnprintf.m4 | 40 + m4/warn-on-use.m4 | 45 + m4/wchar_h.m4 | 152 + m4/wchar_t.m4 | 24 + m4/wcrtomb.m4 | 94 + m4/wctype_h.m4 | 85 + m4/wint_t.m4 | 32 + m4/xsize.m4 | 13 + po/LINGUAS | 1 + po/Makefile.in.in | 468 + po/Makevars | 41 + po/POTFILES-shell.in | 7 + po/POTFILES.in | 117 + po/README | 28 + po/Rules-quot | 47 + po/ast.gmo | Bin 0 -> 23380 bytes po/ast.po | 2647 + po/boldquot.sed | 10 + po/ca.gmo | Bin 0 -> 45816 bytes po/ca.po | 2264 + po/da.gmo | Bin 0 -> 42440 bytes po/da.po | 2300 + po/de.gmo | Bin 0 -> 45131 bytes po/de.po | 2598 + po/en@boldquot.header | 25 + po/en@quot.header | 22 + po/fi.gmo | Bin 0 -> 23364 bytes po/fi.po | 2407 + po/fr.gmo | Bin 0 -> 43798 bytes po/fr.po | 2541 + po/grub.d.sed | 2 + po/grub.pot | 2047 + po/hu.gmo | Bin 0 -> 46734 bytes po/hu.po | 2158 + po/id.gmo | Bin 0 -> 22816 bytes po/id.po | 2895 + po/insert-header.sin | 23 + po/it.gmo | Bin 0 -> 44335 bytes po/it.po | 2193 + po/ko.gmo | Bin 0 -> 25317 bytes po/ko.po | 2302 + po/nl.gmo | Bin 0 -> 44701 bytes po/nl.po | 2625 + po/pl.gmo | Bin 0 -> 24016 bytes po/pl.po | 2305 + po/quot.sed | 6 + po/remove-potcdate.sin | 19 + po/ru.gmo | Bin 0 -> 58805 bytes po/ru.po | 2259 + po/sv.gmo | Bin 0 -> 13316 bytes po/sv.po | 2737 + po/uk.gmo | Bin 0 -> 61170 bytes po/uk.po | 2176 + po/vi.gmo | Bin 0 -> 25875 bytes po/vi.po | 2301 + po/zh_CN.gmo | Bin 0 -> 37197 bytes po/zh_CN.po | 2742 + stamp-h.in | 1 + tests/example_grub_script_test.in | 3 + tests/example_scripted_test.in | 3 + tests/example_unit_test.c | 38 + tests/grub_cmd_echo.in | 41 + tests/grub_cmd_regexp.in | 41 + tests/grub_script_blanklines.in | 14 + tests/grub_script_blockarg.in | 41 + tests/grub_script_break.in | 86 + tests/grub_script_comments.in | 28 + tests/grub_script_continue.in | 86 + tests/grub_script_dollar.in | 5 + tests/grub_script_echo1.in | 101 + tests/grub_script_echo_keywords.in | 3 + tests/grub_script_expansion.in | 42 + tests/grub_script_final_semicolon.in | 10 + tests/grub_script_for1.in | 27 + tests/grub_script_functions.in | 147 + tests/grub_script_if.in | 31 + tests/grub_script_not.in | 62 + tests/grub_script_return.in | 134 + tests/grub_script_setparams.in | 59 + tests/grub_script_shift.in | 85 + tests/grub_script_vars1.in | 34 + tests/grub_script_while1.in | 32 + tests/lib/unit_test.c | 45 + tests/partmap_test.in | 274 + tests/util/grub-shell-tester.in | 109 + tests/util/grub-shell.in | 192 + unicode/ArabicShaping.txt | 373 + unicode/BidiMirroring.txt | 588 + unicode/COPYING | 9 + unicode/UnicodeData.txt | 21829 +++++++ util/bash-completion.d/Makefile.am | 13 + util/bash-completion.d/Makefile.in | 963 + util/bash-completion.d/grub-completion.bash.in | 489 + util/bin2h.c | 127 + util/deviceiter.c | 891 + util/devicemap.c | 13 + util/grub-editenv.c | 313 + util/grub-fstest.c | 557 + util/grub-install.in | 666 + util/grub-kbdcomp.in | 12 + util/grub-macho2img.c | 118 + util/grub-menulst2cfg.c | 126 + util/grub-mkconfig.in | 308 + util/grub-mkconfig_lib.in | 227 + util/grub-mkdevicemap.c | 171 + util/grub-mkfont.c | 1240 + util/grub-mkimage.c | 1620 + util/grub-mkimagexx.c | 756 + util/grub-mklayout.c | 505 + util/grub-mknetdir.in | 230 + util/grub-mkpasswd-pbkdf2.c | 314 + util/grub-mkrelpath.c | 109 + util/grub-mkrescue.in | 315 + util/grub-pe2elf.c | 537 + util/grub-probe.c | 419 + util/grub-reboot.in | 135 + util/grub-script-check.c | 201 + util/grub-set-default.in | 126 + util/grub-setup.c | 1017 + util/grub.d/00_header.in | 271 + util/grub.d/10_hurd.in | 127 + util/grub.d/10_kfreebsd.in | 192 + util/grub.d/10_linux.in | 199 + util/grub.d/10_netbsd.in | 143 + util/grub.d/10_windows.in | 94 + util/grub.d/20_linux_xen.in | 174 + util/grub.d/30_os-prober.in | 204 + util/grub.d/40_custom.in | 5 + util/grub.d/41_custom.in | 7 + util/grub.d/README | 11 + util/i386/efi/grub-dumpdevtree | 22 + util/ieee1275/devicemap.c | 49 + util/ieee1275/grub-ofpathname.c | 47 + util/ieee1275/ofpath.c | 425 + util/import_gcry.py | 346 + util/import_unicode.py | 189 + util/lvm.c | 52 + util/misc.c | 379 + util/powerpc/ieee1275/grub-mkrescue.in | 143 + util/raid.c | 86 + util/resolve.c | 270 + util/update-grub_lib.in | 23 + 1243 files changed, 705055 insertions(+) create mode 100644 ABOUT-NLS create mode 100644 AUTHORS create mode 100644 BUGS create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 Makefile.in create mode 100644 Makefile.tpl create mode 100644 Makefile.util.am create mode 100644 Makefile.util.def create mode 100644 NEWS create mode 100644 README create mode 100644 THANKS create mode 100644 TODO create mode 100644 acinclude.m4 create mode 100644 aclocal.m4 create mode 100755 autogen.sh create mode 100644 autom4te.cache/output.0 create mode 100644 autom4te.cache/output.1 create mode 100644 autom4te.cache/requests create mode 100644 autom4te.cache/traces.0 create mode 100644 autom4te.cache/traces.1 create mode 100644 build-aux/arg-nonnull.h create mode 100644 build-aux/c++defs.h create mode 100755 build-aux/compile create mode 100755 build-aux/config.guess create mode 100755 build-aux/config.rpath create mode 100755 build-aux/config.sub create mode 100755 build-aux/depcomp create mode 100755 build-aux/install-sh create mode 100755 build-aux/mdate-sh create mode 100755 build-aux/missing create mode 100644 build-aux/texinfo.tex create mode 100644 build-aux/warn-on-use.h create mode 100644 conf/Makefile.common create mode 100644 conf/Makefile.extra-dist create mode 100644 conf/i386-pc-cygwin-img-ld.sc create mode 100644 config-util.h.in create mode 100644 config.h.in create mode 100755 configure create mode 100644 configure.ac create mode 100644 docs/Makefile.am create mode 100644 docs/Makefile.in create mode 100644 docs/fdl.texi create mode 100644 docs/font_char_metrics.png create mode 100644 docs/font_char_metrics.txt create mode 100644 docs/grub-dev.info create mode 100644 docs/grub-dev.texi create mode 100644 docs/grub.cfg create mode 100644 docs/grub.info create mode 100644 docs/grub.texi create mode 100644 docs/man/grub-bin2h.h2m create mode 100644 docs/man/grub-editenv.h2m create mode 100644 docs/man/grub-emu.h2m create mode 100644 docs/man/grub-fstest.h2m create mode 100644 docs/man/grub-install.h2m create mode 100644 docs/man/grub-macho2img.h2m create mode 100644 docs/man/grub-menulst2cfg.h2m create mode 100644 docs/man/grub-mkconfig.h2m create mode 100644 docs/man/grub-mkdevicemap.h2m create mode 100644 docs/man/grub-mkfont.h2m create mode 100644 docs/man/grub-mkimage.h2m create mode 100644 docs/man/grub-mklayout.h2m create mode 100644 docs/man/grub-mknetdir.h2m create mode 100644 docs/man/grub-mkpasswd-pbkdf2.h2m create mode 100644 docs/man/grub-mkrelpath.h2m create mode 100644 docs/man/grub-mkrescue.h2m create mode 100644 docs/man/grub-ofpathname.h2m create mode 100644 docs/man/grub-pe2elf.h2m create mode 100644 docs/man/grub-probe.h2m create mode 100644 docs/man/grub-reboot.h2m create mode 100644 docs/man/grub-script-check.h2m create mode 100644 docs/man/grub-set-default.h2m create mode 100644 docs/man/grub-setup.h2m create mode 100644 docs/mdate-sh create mode 100644 docs/stamp-1 create mode 100644 docs/stamp-vti create mode 100644 docs/texinfo.tex create mode 100644 docs/version-dev.texi create mode 100644 docs/version.texi create mode 100644 geninit.sh create mode 100644 gentpl.py create mode 100644 grub-core/Makefile.am create mode 100644 grub-core/Makefile.core.am create mode 100644 grub-core/Makefile.core.def create mode 100644 grub-core/Makefile.gcry.def create mode 100644 grub-core/Makefile.in create mode 100644 grub-core/boot/decompressor/minilib.c create mode 100644 grub-core/boot/decompressor/none.c create mode 100644 grub-core/boot/decompressor/xz.c create mode 100644 grub-core/boot/i386/pc/boot.S create mode 100644 grub-core/boot/i386/pc/cdboot.S create mode 100644 grub-core/boot/i386/pc/diskboot.S create mode 100644 grub-core/boot/i386/pc/lnxboot.S create mode 100644 grub-core/boot/i386/pc/pxeboot.S create mode 100644 grub-core/boot/i386/qemu/boot.S create mode 100644 grub-core/boot/mips/startup_raw.S create mode 100644 grub-core/boot/mips/yeeloong/fwstart.S create mode 100644 grub-core/boot/sparc64/ieee1275/boot.S create mode 100644 grub-core/boot/sparc64/ieee1275/diskboot.S create mode 100644 grub-core/bus/bonito.c create mode 100644 grub-core/bus/cs5536.c create mode 100644 grub-core/bus/emu/pci.c create mode 100644 grub-core/bus/pci.c create mode 100644 grub-core/bus/usb/emu/usb.c create mode 100644 grub-core/bus/usb/ohci.c create mode 100644 grub-core/bus/usb/serial/common.c create mode 100644 grub-core/bus/usb/serial/ftdi.c create mode 100644 grub-core/bus/usb/serial/pl2303.c create mode 100644 grub-core/bus/usb/uhci.c create mode 100644 grub-core/bus/usb/usb.c create mode 100644 grub-core/bus/usb/usbhub.c create mode 100644 grub-core/bus/usb/usbtrans.c create mode 100644 grub-core/commands/acpi.c create mode 100644 grub-core/commands/acpihalt.c create mode 100644 grub-core/commands/blocklist.c create mode 100644 grub-core/commands/boot.c create mode 100644 grub-core/commands/cat.c create mode 100644 grub-core/commands/cmp.c create mode 100644 grub-core/commands/configfile.c create mode 100644 grub-core/commands/date.c create mode 100644 grub-core/commands/echo.c create mode 100644 grub-core/commands/efi/acpi.c create mode 100644 grub-core/commands/efi/fixvideo.c create mode 100644 grub-core/commands/efi/loadbios.c create mode 100644 grub-core/commands/efi/lsefimmap.c create mode 100644 grub-core/commands/efi/lsefisystab.c create mode 100644 grub-core/commands/efi/lssal.c create mode 100644 grub-core/commands/extcmd.c create mode 100644 grub-core/commands/gptsync.c create mode 100644 grub-core/commands/halt.c create mode 100644 grub-core/commands/hashsum.c create mode 100644 grub-core/commands/hdparm.c create mode 100644 grub-core/commands/help.c create mode 100644 grub-core/commands/hexdump.c create mode 100644 grub-core/commands/i386/cmostest.c create mode 100644 grub-core/commands/i386/cpuid.c create mode 100644 grub-core/commands/i386/pc/acpi.c create mode 100644 grub-core/commands/i386/pc/drivemap.c create mode 100644 grub-core/commands/i386/pc/drivemap_int13h.S create mode 100644 grub-core/commands/i386/pc/halt.c create mode 100644 grub-core/commands/i386/pc/lsapm.c create mode 100644 grub-core/commands/i386/pc/play.c create mode 100644 grub-core/commands/i386/pc/pxecmd.c create mode 100644 grub-core/commands/i386/pc/sendkey.c create mode 100644 grub-core/commands/ieee1275/suspend.c create mode 100644 grub-core/commands/iorw.c create mode 100644 grub-core/commands/keylayouts.c create mode 100644 grub-core/commands/keystatus.c create mode 100644 grub-core/commands/legacycfg.c create mode 100644 grub-core/commands/loadenv.c create mode 100644 grub-core/commands/ls.c create mode 100644 grub-core/commands/lsacpi.c create mode 100644 grub-core/commands/lsmmap.c create mode 100644 grub-core/commands/lspci.c create mode 100644 grub-core/commands/memrw.c create mode 100644 grub-core/commands/menuentry.c create mode 100644 grub-core/commands/minicmd.c create mode 100644 grub-core/commands/mips/yeeloong/lsspd.c create mode 100644 grub-core/commands/parttool.c create mode 100644 grub-core/commands/password.c create mode 100644 grub-core/commands/password_pbkdf2.c create mode 100644 grub-core/commands/probe.c create mode 100644 grub-core/commands/read.c create mode 100644 grub-core/commands/reboot.c create mode 100644 grub-core/commands/regexp.c create mode 100644 grub-core/commands/search.c create mode 100644 grub-core/commands/search_file.c create mode 100644 grub-core/commands/search_label.c create mode 100644 grub-core/commands/search_uuid.c create mode 100644 grub-core/commands/search_wrap.c create mode 100644 grub-core/commands/setpci.c create mode 100644 grub-core/commands/sleep.c create mode 100644 grub-core/commands/terminal.c create mode 100644 grub-core/commands/test.c create mode 100644 grub-core/commands/testload.c create mode 100644 grub-core/commands/true.c create mode 100644 grub-core/commands/usbtest.c create mode 100644 grub-core/commands/videoinfo.c create mode 100644 grub-core/commands/videotest.c create mode 100644 grub-core/commands/wildcard.c create mode 100644 grub-core/commands/xnu_uuid.c create mode 100644 grub-core/disk/ata.c create mode 100644 grub-core/disk/ata_pthru.c create mode 100644 grub-core/disk/dmraid_nvidia.c create mode 100644 grub-core/disk/efi/efidisk.c create mode 100644 grub-core/disk/host.c create mode 100644 grub-core/disk/i386/pc/biosdisk.c create mode 100644 grub-core/disk/ieee1275/nand.c create mode 100644 grub-core/disk/ieee1275/ofdisk.c create mode 100644 grub-core/disk/loopback.c create mode 100644 grub-core/disk/lvm.c create mode 100644 grub-core/disk/mdraid1x_linux.c create mode 100644 grub-core/disk/mdraid_linux.c create mode 100644 grub-core/disk/memdisk.c create mode 100644 grub-core/disk/raid.c create mode 100644 grub-core/disk/raid5_recover.c create mode 100644 grub-core/disk/raid6_recover.c create mode 100644 grub-core/disk/scsi.c create mode 100644 grub-core/disk/usbms.c create mode 100644 grub-core/efiemu/i386/coredetect.c create mode 100644 grub-core/efiemu/i386/loadcore32.c create mode 100644 grub-core/efiemu/i386/loadcore64.c create mode 100644 grub-core/efiemu/i386/nocfgtables.c create mode 100644 grub-core/efiemu/i386/pc/cfgtables.c create mode 100644 grub-core/efiemu/loadcore.c create mode 100644 grub-core/efiemu/loadcore32.c create mode 100644 grub-core/efiemu/loadcore64.c create mode 100644 grub-core/efiemu/loadcore_common.c create mode 100644 grub-core/efiemu/main.c create mode 100644 grub-core/efiemu/mm.c create mode 100644 grub-core/efiemu/pnvram.c create mode 100644 grub-core/efiemu/prepare.c create mode 100644 grub-core/efiemu/prepare32.c create mode 100644 grub-core/efiemu/prepare64.c create mode 100644 grub-core/efiemu/runtime/config.h create mode 100644 grub-core/efiemu/runtime/efiemu.S create mode 100644 grub-core/efiemu/runtime/efiemu.c create mode 100644 grub-core/efiemu/symbols.c create mode 100644 grub-core/font/font.c create mode 100644 grub-core/font/font_cmd.c create mode 100644 grub-core/fs/affs.c create mode 100644 grub-core/fs/afs.c create mode 100644 grub-core/fs/afs_be.c create mode 100644 grub-core/fs/befs.c create mode 100644 grub-core/fs/befs_be.c create mode 100644 grub-core/fs/btrfs.c create mode 100644 grub-core/fs/cpio.c create mode 100644 grub-core/fs/ext2.c create mode 100644 grub-core/fs/fat.c create mode 100644 grub-core/fs/fshelp.c create mode 100644 grub-core/fs/hfs.c create mode 100644 grub-core/fs/hfsplus.c create mode 100644 grub-core/fs/i386/pc/pxe.c create mode 100644 grub-core/fs/iso9660.c create mode 100644 grub-core/fs/jfs.c create mode 100644 grub-core/fs/minix.c create mode 100644 grub-core/fs/minix2.c create mode 100644 grub-core/fs/nilfs2.c create mode 100644 grub-core/fs/ntfs.c create mode 100644 grub-core/fs/ntfscomp.c create mode 100644 grub-core/fs/reiserfs.c create mode 100644 grub-core/fs/sfs.c create mode 100644 grub-core/fs/tar.c create mode 100644 grub-core/fs/udf.c create mode 100644 grub-core/fs/ufs.c create mode 100644 grub-core/fs/ufs2.c create mode 100644 grub-core/fs/xfs.c create mode 100644 grub-core/fs/zfs/zfs.c create mode 100644 grub-core/fs/zfs/zfs_fletcher.c create mode 100644 grub-core/fs/zfs/zfs_lzjb.c create mode 100644 grub-core/fs/zfs/zfs_sha256.c create mode 100644 grub-core/fs/zfs/zfsinfo.c create mode 100644 grub-core/genemuinit.sh create mode 100644 grub-core/genemuinitheader.sh create mode 100644 grub-core/genmod.sh.in create mode 100644 grub-core/genmoddep.awk create mode 100644 grub-core/gensyminfo.sh.in create mode 100644 grub-core/gensymlist.sh create mode 100644 grub-core/gentrigtables.c create mode 100644 grub-core/gettext/gettext.c create mode 100644 grub-core/gfxmenu/font.c create mode 100644 grub-core/gfxmenu/gfxmenu.c create mode 100644 grub-core/gfxmenu/gui_box.c create mode 100644 grub-core/gfxmenu/gui_canvas.c create mode 100644 grub-core/gfxmenu/gui_circular_progress.c create mode 100644 grub-core/gfxmenu/gui_image.c create mode 100644 grub-core/gfxmenu/gui_label.c create mode 100644 grub-core/gfxmenu/gui_list.c create mode 100644 grub-core/gfxmenu/gui_progress_bar.c create mode 100644 grub-core/gfxmenu/gui_string_util.c create mode 100644 grub-core/gfxmenu/gui_util.c create mode 100644 grub-core/gfxmenu/icon_manager.c create mode 100644 grub-core/gfxmenu/model.c create mode 100644 grub-core/gfxmenu/named_colors.c create mode 100644 grub-core/gfxmenu/theme_loader.c create mode 100644 grub-core/gfxmenu/view.c create mode 100644 grub-core/gfxmenu/widget-box.c create mode 100644 grub-core/gnulib/Makefile.am create mode 100644 grub-core/gnulib/Makefile.in create mode 100644 grub-core/gnulib/alloca.c create mode 100644 grub-core/gnulib/alloca.in.h create mode 100644 grub-core/gnulib/argp-ba.c create mode 100644 grub-core/gnulib/argp-eexst.c create mode 100644 grub-core/gnulib/argp-fmtstream.c create mode 100644 grub-core/gnulib/argp-fmtstream.h create mode 100644 grub-core/gnulib/argp-fs-xinl.c create mode 100644 grub-core/gnulib/argp-help.c create mode 100644 grub-core/gnulib/argp-namefrob.h create mode 100644 grub-core/gnulib/argp-parse.c create mode 100644 grub-core/gnulib/argp-pin.c create mode 100644 grub-core/gnulib/argp-pv.c create mode 100644 grub-core/gnulib/argp-pvh.c create mode 100644 grub-core/gnulib/argp-xinl.c create mode 100644 grub-core/gnulib/argp.h create mode 100644 grub-core/gnulib/asnprintf.c create mode 100644 grub-core/gnulib/basename-lgpl.c create mode 100644 grub-core/gnulib/btowc.c create mode 100644 grub-core/gnulib/config.charset create mode 100644 grub-core/gnulib/dirname-lgpl.c create mode 100644 grub-core/gnulib/dirname.h create mode 100644 grub-core/gnulib/errno.in.h create mode 100644 grub-core/gnulib/error.c create mode 100644 grub-core/gnulib/error.h create mode 100644 grub-core/gnulib/float+.h create mode 100644 grub-core/gnulib/float.in.h create mode 100644 grub-core/gnulib/fnmatch.c create mode 100644 grub-core/gnulib/fnmatch.in.h create mode 100644 grub-core/gnulib/fnmatch_loop.c create mode 100644 grub-core/gnulib/getdelim.c create mode 100644 grub-core/gnulib/getline.c create mode 100644 grub-core/gnulib/getopt.c create mode 100644 grub-core/gnulib/getopt.in.h create mode 100644 grub-core/gnulib/getopt1.c create mode 100644 grub-core/gnulib/getopt_int.h create mode 100644 grub-core/gnulib/gettext.h create mode 100644 grub-core/gnulib/intprops.h create mode 100644 grub-core/gnulib/langinfo.in.h create mode 100644 grub-core/gnulib/localcharset.c create mode 100644 grub-core/gnulib/localcharset.h create mode 100644 grub-core/gnulib/malloc.c create mode 100644 grub-core/gnulib/mbrtowc.c create mode 100644 grub-core/gnulib/mbsinit.c create mode 100644 grub-core/gnulib/mbsrtowcs-state.c create mode 100644 grub-core/gnulib/mbsrtowcs.c create mode 100644 grub-core/gnulib/memchr.c create mode 100644 grub-core/gnulib/memchr.valgrind create mode 100644 grub-core/gnulib/mempcpy.c create mode 100644 grub-core/gnulib/nl_langinfo.c create mode 100644 grub-core/gnulib/printf-args.c create mode 100644 grub-core/gnulib/printf-args.h create mode 100644 grub-core/gnulib/printf-parse.c create mode 100644 grub-core/gnulib/printf-parse.h create mode 100644 grub-core/gnulib/progname.c create mode 100644 grub-core/gnulib/progname.h create mode 100644 grub-core/gnulib/rawmemchr.c create mode 100644 grub-core/gnulib/rawmemchr.valgrind create mode 100644 grub-core/gnulib/realloc.c create mode 100644 grub-core/gnulib/ref-add.sin create mode 100644 grub-core/gnulib/ref-del.sin create mode 100644 grub-core/gnulib/regcomp.c create mode 100644 grub-core/gnulib/regex.c create mode 100644 grub-core/gnulib/regex.h create mode 100644 grub-core/gnulib/regex_internal.c create mode 100644 grub-core/gnulib/regex_internal.h create mode 100644 grub-core/gnulib/regexec.c create mode 100644 grub-core/gnulib/size_max.h create mode 100644 grub-core/gnulib/sleep.c create mode 100644 grub-core/gnulib/stdbool.in.h create mode 100644 grub-core/gnulib/stddef.in.h create mode 100644 grub-core/gnulib/stdint.in.h create mode 100644 grub-core/gnulib/stdio-write.c create mode 100644 grub-core/gnulib/stdio.in.h create mode 100644 grub-core/gnulib/stdlib.in.h create mode 100644 grub-core/gnulib/strcasecmp.c create mode 100644 grub-core/gnulib/strchrnul.c create mode 100644 grub-core/gnulib/strchrnul.valgrind create mode 100644 grub-core/gnulib/streq.h create mode 100644 grub-core/gnulib/strerror.c create mode 100644 grub-core/gnulib/string.in.h create mode 100644 grub-core/gnulib/strings.in.h create mode 100644 grub-core/gnulib/stripslash.c create mode 100644 grub-core/gnulib/strncasecmp.c create mode 100644 grub-core/gnulib/strndup.c create mode 100644 grub-core/gnulib/strnlen.c create mode 100644 grub-core/gnulib/strnlen1.c create mode 100644 grub-core/gnulib/strnlen1.h create mode 100644 grub-core/gnulib/sys_wait.in.h create mode 100644 grub-core/gnulib/sysexits.in.h create mode 100644 grub-core/gnulib/unistd.in.h create mode 100644 grub-core/gnulib/vasnprintf.c create mode 100644 grub-core/gnulib/vasnprintf.h create mode 100644 grub-core/gnulib/verify.h create mode 100644 grub-core/gnulib/vsnprintf.c create mode 100644 grub-core/gnulib/wchar.in.h create mode 100644 grub-core/gnulib/wcrtomb.c create mode 100644 grub-core/gnulib/wctype.in.h create mode 100644 grub-core/gnulib/xsize.h create mode 100644 grub-core/hello/hello.c create mode 100644 grub-core/hook/datehook.c create mode 100644 grub-core/io/bufio.c create mode 100644 grub-core/io/gzio.c create mode 100644 grub-core/io/xzio.c create mode 100644 grub-core/kern/command.c create mode 100644 grub-core/kern/corecmd.c create mode 100644 grub-core/kern/device.c create mode 100644 grub-core/kern/disk.c create mode 100644 grub-core/kern/dl.c create mode 100644 grub-core/kern/efi/efi.c create mode 100644 grub-core/kern/efi/init.c create mode 100644 grub-core/kern/efi/mm.c create mode 100644 grub-core/kern/elf.c create mode 100644 grub-core/kern/emu/cache.S create mode 100644 grub-core/kern/emu/console.c create mode 100644 grub-core/kern/emu/full.c create mode 100644 grub-core/kern/emu/getroot.c create mode 100644 grub-core/kern/emu/hostdisk.c create mode 100644 grub-core/kern/emu/hostfs.c create mode 100644 grub-core/kern/emu/lite.c create mode 100644 grub-core/kern/emu/main.c create mode 100644 grub-core/kern/emu/misc.c create mode 100644 grub-core/kern/emu/mm.c create mode 100644 grub-core/kern/emu/time.c create mode 100644 grub-core/kern/env.c create mode 100644 grub-core/kern/err.c create mode 100644 grub-core/kern/file.c create mode 100644 grub-core/kern/fs.c create mode 100644 grub-core/kern/generic/millisleep.c create mode 100644 grub-core/kern/generic/rtc_get_time_ms.c create mode 100644 grub-core/kern/i386/coreboot/init.c create mode 100644 grub-core/kern/i386/coreboot/mmap.c create mode 100644 grub-core/kern/i386/coreboot/startup.S create mode 100644 grub-core/kern/i386/dl.c create mode 100644 grub-core/kern/i386/efi/init.c create mode 100644 grub-core/kern/i386/efi/startup.S create mode 100644 grub-core/kern/i386/ieee1275/startup.S create mode 100644 grub-core/kern/i386/multiboot_mmap.c create mode 100644 grub-core/kern/i386/pc/init.c create mode 100644 grub-core/kern/i386/pc/lzma_decode.S create mode 100644 grub-core/kern/i386/pc/mmap.c create mode 100644 grub-core/kern/i386/pc/startup.S create mode 100644 grub-core/kern/i386/pit.c create mode 100644 grub-core/kern/i386/qemu/init.c create mode 100644 grub-core/kern/i386/qemu/mmap.c create mode 100644 grub-core/kern/i386/qemu/startup.S create mode 100644 grub-core/kern/i386/realmode.S create mode 100644 grub-core/kern/i386/tsc.c create mode 100644 grub-core/kern/ieee1275/cmain.c create mode 100644 grub-core/kern/ieee1275/ieee1275.c create mode 100644 grub-core/kern/ieee1275/init.c create mode 100644 grub-core/kern/ieee1275/mmap.c create mode 100644 grub-core/kern/ieee1275/openfw.c create mode 100644 grub-core/kern/list.c create mode 100644 grub-core/kern/main.c create mode 100644 grub-core/kern/mips/cache.S create mode 100644 grub-core/kern/mips/cache_flush.S create mode 100644 grub-core/kern/mips/dl.c create mode 100644 grub-core/kern/mips/init.c create mode 100644 grub-core/kern/mips/qemu-mips/init.c create mode 100644 grub-core/kern/mips/startup.S create mode 100644 grub-core/kern/mips/yeeloong/init.c create mode 100644 grub-core/kern/misc.c create mode 100644 grub-core/kern/mm.c create mode 100644 grub-core/kern/parser.c create mode 100644 grub-core/kern/partition.c create mode 100644 grub-core/kern/powerpc/cache.S create mode 100644 grub-core/kern/powerpc/cache_flush.S create mode 100644 grub-core/kern/powerpc/dl.c create mode 100644 grub-core/kern/powerpc/ieee1275/startup.S create mode 100644 grub-core/kern/rescue_parser.c create mode 100644 grub-core/kern/rescue_reader.c create mode 100644 grub-core/kern/sparc64/cache.S create mode 100644 grub-core/kern/sparc64/dl.c create mode 100644 grub-core/kern/sparc64/ieee1275/crt0.S create mode 100644 grub-core/kern/sparc64/ieee1275/ieee1275.c create mode 100644 grub-core/kern/sparc64/ieee1275/init.c create mode 100644 grub-core/kern/term.c create mode 100644 grub-core/kern/time.c create mode 100644 grub-core/kern/x86_64/dl.c create mode 100644 grub-core/kern/x86_64/efi/callwrap.S create mode 100644 grub-core/kern/x86_64/efi/startup.S create mode 100644 grub-core/lib/LzFind.c create mode 100644 grub-core/lib/LzmaDec.c create mode 100644 grub-core/lib/LzmaEnc.c create mode 100644 grub-core/lib/arg.c create mode 100644 grub-core/lib/cmdline.c create mode 100644 grub-core/lib/cmos_datetime.c create mode 100644 grub-core/lib/crc.c create mode 100644 grub-core/lib/crypto.c create mode 100644 grub-core/lib/efi/datetime.c create mode 100644 grub-core/lib/efi/halt.c create mode 100644 grub-core/lib/efi/relocator.c create mode 100644 grub-core/lib/emu/halt.c create mode 100644 grub-core/lib/envblk.c create mode 100644 grub-core/lib/hexdump.c create mode 100644 grub-core/lib/i386/halt.c create mode 100644 grub-core/lib/i386/pc/biosnum.c create mode 100644 grub-core/lib/i386/pc/vesa_modes_table.c create mode 100644 grub-core/lib/i386/relocator.c create mode 100644 grub-core/lib/i386/relocator16.S create mode 100644 grub-core/lib/i386/relocator32.S create mode 100644 grub-core/lib/i386/relocator64.S create mode 100644 grub-core/lib/i386/relocator_asm.S create mode 100644 grub-core/lib/i386/relocator_backward.S create mode 100644 grub-core/lib/i386/relocator_common.S create mode 100644 grub-core/lib/i386/setjmp.S create mode 100644 grub-core/lib/ieee1275/datetime.c create mode 100644 grub-core/lib/ieee1275/halt.c create mode 100644 grub-core/lib/ieee1275/relocator.c create mode 100644 grub-core/lib/legacy_parse.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/ChangeLog create mode 100644 grub-core/lib/libgcrypt-grub/cipher/arcfour.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/bithelp.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/blowfish.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/camellia.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/camellia.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/cast5.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/cipher.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/crc.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/crypto.lst create mode 100644 grub-core/lib/libgcrypt-grub/cipher/des.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/dsa.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/ecc.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/elgamal.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/g10lib.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/hash-common.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/md4.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/md5.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/memory.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/primegen.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rfc2268.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rijndael-tables.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rijndael.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rmd.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rmd160.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/rsa.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/seed.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/serpent.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/sha1.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/sha256.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/sha512.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/tiger.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/twofish.c create mode 100644 grub-core/lib/libgcrypt-grub/cipher/types.h create mode 100644 grub-core/lib/libgcrypt-grub/cipher/whirlpool.c create mode 100644 grub-core/lib/libgcrypt/cipher/ChangeLog create mode 100644 grub-core/lib/libgcrypt/cipher/ac.c create mode 100644 grub-core/lib/libgcrypt/cipher/arcfour.c create mode 100644 grub-core/lib/libgcrypt/cipher/bithelp.h create mode 100644 grub-core/lib/libgcrypt/cipher/blowfish.c create mode 100644 grub-core/lib/libgcrypt/cipher/camellia-glue.c create mode 100644 grub-core/lib/libgcrypt/cipher/camellia.c create mode 100644 grub-core/lib/libgcrypt/cipher/camellia.h create mode 100644 grub-core/lib/libgcrypt/cipher/cast5.c create mode 100644 grub-core/lib/libgcrypt/cipher/cipher.c create mode 100644 grub-core/lib/libgcrypt/cipher/crc.c create mode 100644 grub-core/lib/libgcrypt/cipher/des.c create mode 100644 grub-core/lib/libgcrypt/cipher/dsa.c create mode 100644 grub-core/lib/libgcrypt/cipher/ecc.c create mode 100644 grub-core/lib/libgcrypt/cipher/elgamal.c create mode 100644 grub-core/lib/libgcrypt/cipher/hash-common.c create mode 100644 grub-core/lib/libgcrypt/cipher/hash-common.h create mode 100644 grub-core/lib/libgcrypt/cipher/hmac-tests.c create mode 100644 grub-core/lib/libgcrypt/cipher/md.c create mode 100644 grub-core/lib/libgcrypt/cipher/md4.c create mode 100644 grub-core/lib/libgcrypt/cipher/md5.c create mode 100644 grub-core/lib/libgcrypt/cipher/primegen.c create mode 100644 grub-core/lib/libgcrypt/cipher/pubkey.c create mode 100644 grub-core/lib/libgcrypt/cipher/rfc2268.c create mode 100644 grub-core/lib/libgcrypt/cipher/rijndael-tables.h create mode 100644 grub-core/lib/libgcrypt/cipher/rijndael.c create mode 100644 grub-core/lib/libgcrypt/cipher/rmd.h create mode 100644 grub-core/lib/libgcrypt/cipher/rmd160.c create mode 100644 grub-core/lib/libgcrypt/cipher/rsa.c create mode 100644 grub-core/lib/libgcrypt/cipher/seed.c create mode 100644 grub-core/lib/libgcrypt/cipher/serpent.c create mode 100644 grub-core/lib/libgcrypt/cipher/sha1.c create mode 100644 grub-core/lib/libgcrypt/cipher/sha256.c create mode 100644 grub-core/lib/libgcrypt/cipher/sha512.c create mode 100644 grub-core/lib/libgcrypt/cipher/tiger.c create mode 100644 grub-core/lib/libgcrypt/cipher/twofish.c create mode 100644 grub-core/lib/libgcrypt/cipher/whirlpool.c create mode 100644 grub-core/lib/libgcrypt_wrap/cipher_wrap.h create mode 100644 grub-core/lib/mips/relocator.c create mode 100644 grub-core/lib/mips/relocator_asm.S create mode 100644 grub-core/lib/mips/setjmp.S create mode 100644 grub-core/lib/pbkdf2.c create mode 100644 grub-core/lib/posix_wrap/assert.h create mode 100644 grub-core/lib/posix_wrap/ctype.h create mode 100644 grub-core/lib/posix_wrap/errno.h create mode 100644 grub-core/lib/posix_wrap/inttypes.h create mode 100644 grub-core/lib/posix_wrap/langinfo.h create mode 100644 grub-core/lib/posix_wrap/limits.h create mode 100644 grub-core/lib/posix_wrap/localcharset.h create mode 100644 grub-core/lib/posix_wrap/locale.h create mode 100644 grub-core/lib/posix_wrap/stdint.h create mode 100644 grub-core/lib/posix_wrap/stdio.h create mode 100644 grub-core/lib/posix_wrap/stdlib.h create mode 100644 grub-core/lib/posix_wrap/string.h create mode 100644 grub-core/lib/posix_wrap/sys/types.h create mode 100644 grub-core/lib/posix_wrap/unistd.h create mode 100644 grub-core/lib/posix_wrap/wchar.h create mode 100644 grub-core/lib/posix_wrap/wctype.h create mode 100644 grub-core/lib/powerpc/relocator.c create mode 100644 grub-core/lib/powerpc/relocator_asm.S create mode 100644 grub-core/lib/powerpc/setjmp.S create mode 100644 grub-core/lib/reed_solomon.c create mode 100644 grub-core/lib/relocator.c create mode 100644 grub-core/lib/setjmp.S create mode 100644 grub-core/lib/sparc64/setjmp.S create mode 100644 grub-core/lib/x86_64/relocator_asm.S create mode 100644 grub-core/lib/x86_64/setjmp.S create mode 100644 grub-core/lib/xzembed/xz.h create mode 100644 grub-core/lib/xzembed/xz_config.h create mode 100644 grub-core/lib/xzembed/xz_dec_bcj.c create mode 100644 grub-core/lib/xzembed/xz_dec_lzma2.c create mode 100644 grub-core/lib/xzembed/xz_dec_stream.c create mode 100644 grub-core/lib/xzembed/xz_lzma2.h create mode 100644 grub-core/lib/xzembed/xz_private.h create mode 100644 grub-core/lib/xzembed/xz_stream.h create mode 100644 grub-core/loader/aout.c create mode 100644 grub-core/loader/efi/appleloader.c create mode 100644 grub-core/loader/efi/chainloader.c create mode 100644 grub-core/loader/i386/bsd.c create mode 100644 grub-core/loader/i386/bsd32.c create mode 100644 grub-core/loader/i386/bsd64.c create mode 100644 grub-core/loader/i386/bsdXX.c create mode 100644 grub-core/loader/i386/bsd_pagetable.c create mode 100644 grub-core/loader/i386/linux.c create mode 100644 grub-core/loader/i386/multiboot_mbi.c create mode 100644 grub-core/loader/i386/pc/chainloader.c create mode 100644 grub-core/loader/i386/pc/linux.c create mode 100644 grub-core/loader/i386/pc/ntldr.c create mode 100644 grub-core/loader/i386/xnu.c create mode 100644 grub-core/loader/macho.c create mode 100644 grub-core/loader/macho32.c create mode 100644 grub-core/loader/macho64.c create mode 100644 grub-core/loader/machoXX.c create mode 100644 grub-core/loader/mips/linux.c create mode 100644 grub-core/loader/multiboot.c create mode 100644 grub-core/loader/multiboot_elfxx.c create mode 100644 grub-core/loader/multiboot_mbi2.c create mode 100644 grub-core/loader/powerpc/ieee1275/linux.c create mode 100644 grub-core/loader/sparc64/ieee1275/linux.c create mode 100644 grub-core/loader/xnu.c create mode 100644 grub-core/loader/xnu_resume.c create mode 100644 grub-core/mmap/efi/mmap.c create mode 100644 grub-core/mmap/i386/mmap.c create mode 100644 grub-core/mmap/i386/pc/mmap.c create mode 100644 grub-core/mmap/i386/pc/mmap_helper.S create mode 100644 grub-core/mmap/i386/uppermem.c create mode 100644 grub-core/mmap/mips/yeeloong/uppermem.c create mode 100644 grub-core/mmap/mmap.c create mode 100644 grub-core/normal/auth.c create mode 100644 grub-core/normal/autofs.c create mode 100644 grub-core/normal/charset.c create mode 100644 grub-core/normal/cmdline.c create mode 100644 grub-core/normal/color.c create mode 100644 grub-core/normal/completion.c create mode 100644 grub-core/normal/context.c create mode 100644 grub-core/normal/crypto.c create mode 100644 grub-core/normal/datetime.c create mode 100644 grub-core/normal/dyncmd.c create mode 100644 grub-core/normal/main.c create mode 100644 grub-core/normal/menu.c create mode 100644 grub-core/normal/menu_entry.c create mode 100644 grub-core/normal/menu_text.c create mode 100644 grub-core/normal/misc.c create mode 100644 grub-core/normal/term.c create mode 100644 grub-core/partmap/acorn.c create mode 100644 grub-core/partmap/amiga.c create mode 100644 grub-core/partmap/apple.c create mode 100644 grub-core/partmap/bsdlabel.c create mode 100644 grub-core/partmap/gpt.c create mode 100644 grub-core/partmap/msdos.c create mode 100644 grub-core/partmap/sun.c create mode 100644 grub-core/partmap/sunpc.c create mode 100644 grub-core/parttool/msdospart.c create mode 100644 grub-core/script/argv.c create mode 100644 grub-core/script/execute.c create mode 100644 grub-core/script/function.c create mode 100644 grub-core/script/lexer.c create mode 100644 grub-core/script/main.c create mode 100644 grub-core/script/parser.y create mode 100644 grub-core/script/script.c create mode 100644 grub-core/script/yylex.l create mode 100644 grub-core/term/at_keyboard.c create mode 100644 grub-core/term/efi/console.c create mode 100644 grub-core/term/gfxterm.c create mode 100644 grub-core/term/i386/pc/console.c create mode 100644 grub-core/term/i386/pc/vga_text.c create mode 100644 grub-core/term/i386/vga_common.c create mode 100644 grub-core/term/ieee1275/ofconsole.c create mode 100644 grub-core/term/ns8250.c create mode 100644 grub-core/term/serial.c create mode 100644 grub-core/term/terminfo.c create mode 100644 grub-core/term/tparm.c create mode 100644 grub-core/term/usb_keyboard.c create mode 100644 grub-core/tests/boot/kbsd.init-i386.S create mode 100644 grub-core/tests/boot/kbsd.init-x86_64.S create mode 100644 grub-core/tests/boot/kbsd.spec.txt create mode 100644 grub-core/tests/boot/kernel-8086.S create mode 100644 grub-core/tests/boot/kernel-i386.S create mode 100644 grub-core/tests/boot/kfreebsd-aout.cfg create mode 100644 grub-core/tests/boot/kfreebsd.cfg create mode 100644 grub-core/tests/boot/kfreebsd.init-i386.S create mode 100644 grub-core/tests/boot/kfreebsd.init-x86_64.S create mode 100644 grub-core/tests/boot/knetbsd.cfg create mode 100644 grub-core/tests/boot/kopenbsd.cfg create mode 100644 grub-core/tests/boot/kopenbsdlabel.txt create mode 100644 grub-core/tests/boot/linux.cfg create mode 100644 grub-core/tests/boot/linux.init-i386.S create mode 100644 grub-core/tests/boot/linux.init-x86_64.S create mode 100644 grub-core/tests/boot/linux16.cfg create mode 100644 grub-core/tests/boot/multiboot.cfg create mode 100644 grub-core/tests/boot/multiboot2.cfg create mode 100644 grub-core/tests/boot/ntldr.cfg create mode 100644 grub-core/tests/boot/pc-chainloader.cfg create mode 100644 grub-core/tests/example_functional_test.c create mode 100644 grub-core/tests/lib/functional_test.c create mode 100644 grub-core/tests/lib/test.c create mode 100644 grub-core/tests/test_blockarg.c create mode 100644 grub-core/unidata.c create mode 100644 grub-core/video/bitmap.c create mode 100644 grub-core/video/bitmap_scale.c create mode 100644 grub-core/video/bochs.c create mode 100644 grub-core/video/cirrus.c create mode 100644 grub-core/video/efi_gop.c create mode 100644 grub-core/video/efi_uga.c create mode 100644 grub-core/video/emu/sdl.c create mode 100644 grub-core/video/fb/fbblit.c create mode 100644 grub-core/video/fb/fbfill.c create mode 100644 grub-core/video/fb/fbutil.c create mode 100644 grub-core/video/fb/video_fb.c create mode 100644 grub-core/video/i386/pc/vbe.c create mode 100644 grub-core/video/i386/pc/vga.c create mode 100644 grub-core/video/ieee1275.c create mode 100644 grub-core/video/readers/jpeg.c create mode 100644 grub-core/video/readers/png.c create mode 100644 grub-core/video/readers/tga.c create mode 100644 grub-core/video/sm712.c create mode 100644 grub-core/video/sm712_init.c create mode 100644 grub-core/video/video.c create mode 100644 include/grub/acorn_filecore.h create mode 100644 include/grub/acpi.h create mode 100644 include/grub/aout.h create mode 100644 include/grub/at_keyboard.h create mode 100644 include/grub/ata.h create mode 100644 include/grub/auth.h create mode 100644 include/grub/autoefi.h create mode 100644 include/grub/bitmap.h create mode 100644 include/grub/bitmap_scale.h create mode 100644 include/grub/boot.h create mode 100644 include/grub/bsdlabel.h create mode 100644 include/grub/bufio.h create mode 100644 include/grub/cache.h create mode 100644 include/grub/charset.h create mode 100644 include/grub/cmos.h create mode 100644 include/grub/command.h create mode 100644 include/grub/crypto.h create mode 100644 include/grub/cs5536.h create mode 100644 include/grub/datetime.h create mode 100644 include/grub/decompressor.h create mode 100644 include/grub/deflate.h create mode 100644 include/grub/device.h create mode 100644 include/grub/disk.h create mode 100644 include/grub/dl.h create mode 100644 include/grub/efi/api.h create mode 100644 include/grub/efi/console.h create mode 100644 include/grub/efi/console_control.h create mode 100644 include/grub/efi/disk.h create mode 100644 include/grub/efi/efi.h create mode 100644 include/grub/efi/graphics_output.h create mode 100644 include/grub/efi/memory.h create mode 100644 include/grub/efi/pe32.h create mode 100644 include/grub/efi/time.h create mode 100644 include/grub/efi/uga_draw.h create mode 100644 include/grub/efiemu/efiemu.h create mode 100644 include/grub/efiemu/runtime.h create mode 100644 include/grub/elf.h create mode 100644 include/grub/elfload.h create mode 100644 include/grub/emu/console.h create mode 100644 include/grub/emu/getroot.h create mode 100644 include/grub/emu/hostdisk.h create mode 100644 include/grub/emu/misc.h create mode 100644 include/grub/env.h create mode 100644 include/grub/env_private.h create mode 100644 include/grub/err.h create mode 100644 include/grub/extcmd.h create mode 100644 include/grub/fbblit.h create mode 100644 include/grub/fbfill.h create mode 100644 include/grub/fbutil.h create mode 100644 include/grub/file.h create mode 100644 include/grub/font.h create mode 100644 include/grub/fontformat.h create mode 100644 include/grub/fs.h create mode 100644 include/grub/fshelp.h create mode 100644 include/grub/gfxmenu_model.h create mode 100644 include/grub/gfxmenu_view.h create mode 100644 include/grub/gfxterm.h create mode 100644 include/grub/gfxwidgets.h create mode 100644 include/grub/gpt_partition.h create mode 100644 include/grub/gui.h create mode 100644 include/grub/gui_string_util.h create mode 100644 include/grub/hfs.h create mode 100644 include/grub/i18n.h create mode 100644 include/grub/i386/at_keyboard.h create mode 100644 include/grub/i386/bsd.h create mode 100644 include/grub/i386/cmos.h create mode 100644 include/grub/i386/coreboot/boot.h create mode 100644 include/grub/i386/coreboot/console.h create mode 100644 include/grub/i386/coreboot/lbio.h create mode 100644 include/grub/i386/coreboot/memory.h create mode 100644 include/grub/i386/coreboot/serial.h create mode 100644 include/grub/i386/coreboot/time.h create mode 100644 include/grub/i386/cpuid.h create mode 100644 include/grub/i386/efi/memory.h create mode 100644 include/grub/i386/efi/serial.h create mode 100644 include/grub/i386/efi/time.h create mode 100644 include/grub/i386/efiemu.h create mode 100644 include/grub/i386/floppy.h create mode 100644 include/grub/i386/freebsd_linker.h create mode 100644 include/grub/i386/freebsd_reboot.h create mode 100644 include/grub/i386/ieee1275/ieee1275.h create mode 100644 include/grub/i386/ieee1275/memory.h create mode 100644 include/grub/i386/ieee1275/serial.h create mode 100644 include/grub/i386/ieee1275/time.h create mode 100644 include/grub/i386/io.h create mode 100644 include/grub/i386/linux.h create mode 100644 include/grub/i386/macho.h create mode 100644 include/grub/i386/memory.h create mode 100644 include/grub/i386/multiboot.h create mode 100644 include/grub/i386/multiboot/boot.h create mode 100644 include/grub/i386/multiboot/console.h create mode 100644 include/grub/i386/multiboot/kernel.h create mode 100644 include/grub/i386/multiboot/memory.h create mode 100644 include/grub/i386/multiboot/serial.h create mode 100644 include/grub/i386/multiboot/time.h create mode 100644 include/grub/i386/netbsd_bootinfo.h create mode 100644 include/grub/i386/netbsd_reboot.h create mode 100644 include/grub/i386/openbsd_bootarg.h create mode 100644 include/grub/i386/openbsd_reboot.h create mode 100644 include/grub/i386/pc/apm.h create mode 100644 include/grub/i386/pc/biosdisk.h create mode 100644 include/grub/i386/pc/biosnum.h create mode 100644 include/grub/i386/pc/boot.h create mode 100644 include/grub/i386/pc/chainloader.h create mode 100644 include/grub/i386/pc/console.h create mode 100644 include/grub/i386/pc/int.h create mode 100644 include/grub/i386/pc/kernel.h create mode 100644 include/grub/i386/pc/loader.h create mode 100644 include/grub/i386/pc/memory.h create mode 100644 include/grub/i386/pc/pxe.h create mode 100644 include/grub/i386/pc/time.h create mode 100644 include/grub/i386/pc/vbe.h create mode 100644 include/grub/i386/pc/vesa_modes_table.h create mode 100644 include/grub/i386/pc/vga.h create mode 100644 include/grub/i386/pci.h create mode 100644 include/grub/i386/pit.h create mode 100644 include/grub/i386/qemu/boot.h create mode 100644 include/grub/i386/qemu/console.h create mode 100644 include/grub/i386/qemu/kernel.h create mode 100644 include/grub/i386/qemu/memory.h create mode 100644 include/grub/i386/qemu/serial.h create mode 100644 include/grub/i386/qemu/time.h create mode 100644 include/grub/i386/relocator.h create mode 100644 include/grub/i386/setjmp.h create mode 100644 include/grub/i386/time.h create mode 100644 include/grub/i386/tsc.h create mode 100644 include/grub/i386/types.h create mode 100644 include/grub/i386/vga_common.h create mode 100644 include/grub/i386/xnu.h create mode 100644 include/grub/icon_manager.h create mode 100644 include/grub/ieee1275/console.h create mode 100644 include/grub/ieee1275/ieee1275.h create mode 100644 include/grub/ieee1275/ofdisk.h create mode 100644 include/grub/kernel.h create mode 100644 include/grub/keyboard_layouts.h create mode 100644 include/grub/legacy_parse.h create mode 100644 include/grub/lib/LzFind.h create mode 100644 include/grub/lib/LzHash.h create mode 100644 include/grub/lib/LzmaDec.h create mode 100644 include/grub/lib/LzmaEnc.h create mode 100644 include/grub/lib/LzmaTypes.h create mode 100644 include/grub/lib/arg.h create mode 100644 include/grub/lib/cmdline.h create mode 100644 include/grub/lib/crc.h create mode 100644 include/grub/lib/envblk.h create mode 100644 include/grub/lib/hexdump.h create mode 100644 include/grub/libgcc.h create mode 100644 include/grub/libpciaccess.h create mode 100644 include/grub/libusb.h create mode 100644 include/grub/list.h create mode 100644 include/grub/loader.h create mode 100644 include/grub/lvm.h create mode 100644 include/grub/macho.h create mode 100644 include/grub/machoload.h create mode 100644 include/grub/memory.h create mode 100644 include/grub/menu.h create mode 100644 include/grub/menu_viewer.h create mode 100644 include/grub/mips/at_keyboard.h create mode 100644 include/grub/mips/cache.h create mode 100644 include/grub/mips/cmos.h create mode 100644 include/grub/mips/io.h create mode 100644 include/grub/mips/loongson.h create mode 100644 include/grub/mips/memory.h create mode 100644 include/grub/mips/multiboot.h create mode 100644 include/grub/mips/pci.h create mode 100644 include/grub/mips/qemu-mips/kernel.h create mode 100644 include/grub/mips/qemu-mips/loader.h create mode 100644 include/grub/mips/qemu-mips/memory.h create mode 100644 include/grub/mips/qemu-mips/serial.h create mode 100644 include/grub/mips/qemu-mips/time.h create mode 100644 include/grub/mips/relocator.h create mode 100644 include/grub/mips/setjmp.h create mode 100644 include/grub/mips/time.h create mode 100644 include/grub/mips/types.h create mode 100644 include/grub/mips/yeeloong/at_keyboard.h create mode 100644 include/grub/mips/yeeloong/cmos.h create mode 100644 include/grub/mips/yeeloong/ec.h create mode 100644 include/grub/mips/yeeloong/kernel.h create mode 100644 include/grub/mips/yeeloong/memory.h create mode 100644 include/grub/mips/yeeloong/pci.h create mode 100644 include/grub/mips/yeeloong/serial.h create mode 100644 include/grub/mips/yeeloong/time.h create mode 100644 include/grub/misc.h create mode 100644 include/grub/mm.h create mode 100644 include/grub/mm_private.h create mode 100644 include/grub/msdos_partition.h create mode 100644 include/grub/multiboot.h create mode 100644 include/grub/multiboot_loader.h create mode 100644 include/grub/net.h create mode 100644 include/grub/normal.h create mode 100644 include/grub/ns8250.h create mode 100644 include/grub/ntfs.h create mode 100644 include/grub/offsets.h create mode 100644 include/grub/parser.h create mode 100644 include/grub/partition.h create mode 100644 include/grub/parttool.h create mode 100644 include/grub/pci.h create mode 100644 include/grub/pciutils.h create mode 100644 include/grub/powerpc/ieee1275/biosdisk.h create mode 100644 include/grub/powerpc/ieee1275/ieee1275.h create mode 100644 include/grub/powerpc/ieee1275/time.h create mode 100644 include/grub/powerpc/ieee1275/util/biosdisk.h create mode 100644 include/grub/powerpc/kernel.h create mode 100644 include/grub/powerpc/memory.h create mode 100644 include/grub/powerpc/relocator.h create mode 100644 include/grub/powerpc/setjmp.h create mode 100644 include/grub/powerpc/time.h create mode 100644 include/grub/powerpc/types.h create mode 100644 include/grub/raid.h create mode 100644 include/grub/reader.h create mode 100644 include/grub/reed_solomon.h create mode 100644 include/grub/relocator.h create mode 100644 include/grub/relocator_private.h create mode 100644 include/grub/script_sh.h create mode 100644 include/grub/scsi.h create mode 100644 include/grub/scsicmd.h create mode 100644 include/grub/sdl.h create mode 100644 include/grub/search.h create mode 100644 include/grub/serial.h create mode 100644 include/grub/setjmp.h create mode 100644 include/grub/smbus.h create mode 100644 include/grub/sparc64/ieee1275/boot.h create mode 100644 include/grub/sparc64/ieee1275/ieee1275.h create mode 100644 include/grub/sparc64/ieee1275/kernel.h create mode 100644 include/grub/sparc64/ieee1275/time.h create mode 100644 include/grub/sparc64/setjmp.h create mode 100644 include/grub/sparc64/time.h create mode 100644 include/grub/sparc64/types.h create mode 100644 include/grub/symbol.h create mode 100644 include/grub/term.h create mode 100644 include/grub/terminfo.h create mode 100644 include/grub/test.h create mode 100644 include/grub/time.h create mode 100644 include/grub/tparm.h create mode 100644 include/grub/trig.h create mode 100644 include/grub/types.h create mode 100644 include/grub/unicode.h create mode 100644 include/grub/usb.h create mode 100644 include/grub/usbdesc.h create mode 100644 include/grub/usbserial.h create mode 100644 include/grub/usbtrans.h create mode 100644 include/grub/util/deviceiter.h create mode 100644 include/grub/util/libnvpair.h create mode 100644 include/grub/util/libzfs.h create mode 100644 include/grub/util/lvm.h create mode 100644 include/grub/util/misc.h create mode 100644 include/grub/util/ofpath.h create mode 100644 include/grub/util/raid.h create mode 100644 include/grub/util/resolve.h create mode 100644 include/grub/vga.h create mode 100644 include/grub/video.h create mode 100644 include/grub/video_fb.h create mode 100644 include/grub/x86_64/at_keyboard.h create mode 100644 include/grub/x86_64/efi/boot.h create mode 100644 include/grub/x86_64/efi/loader.h create mode 100644 include/grub/x86_64/efi/memory.h create mode 100644 include/grub/x86_64/efi/serial.h create mode 100644 include/grub/x86_64/efi/time.h create mode 100644 include/grub/x86_64/io.h create mode 100644 include/grub/x86_64/linux.h create mode 100644 include/grub/x86_64/macho.h create mode 100644 include/grub/x86_64/memory.h create mode 100644 include/grub/x86_64/multiboot.h create mode 100644 include/grub/x86_64/pci.h create mode 100644 include/grub/x86_64/relocator.h create mode 100644 include/grub/x86_64/setjmp.h create mode 100644 include/grub/x86_64/time.h create mode 100644 include/grub/x86_64/types.h create mode 100644 include/grub/x86_64/xnu.h create mode 100644 include/grub/xnu.h create mode 100644 include/grub/zfs/dmu.h create mode 100644 include/grub/zfs/dmu_objset.h create mode 100644 include/grub/zfs/dnode.h create mode 100644 include/grub/zfs/dsl_dataset.h create mode 100644 include/grub/zfs/dsl_dir.h create mode 100644 include/grub/zfs/sa_impl.h create mode 100644 include/grub/zfs/spa.h create mode 100644 include/grub/zfs/uberblock_impl.h create mode 100644 include/grub/zfs/vdev_impl.h create mode 100644 include/grub/zfs/zap_impl.h create mode 100644 include/grub/zfs/zap_leaf.h create mode 100644 include/grub/zfs/zfs.h create mode 100644 include/grub/zfs/zfs_acl.h create mode 100644 include/grub/zfs/zfs_znode.h create mode 100644 include/grub/zfs/zil.h create mode 100644 include/grub/zfs/zio.h create mode 100644 include/grub/zfs/zio_checksum.h create mode 100644 include/multiboot.h create mode 100644 include/multiboot2.h create mode 100644 m4/00gnulib.m4 create mode 100644 m4/alloca.m4 create mode 100644 m4/argp.m4 create mode 100644 m4/asm-underscore.m4 create mode 100644 m4/btowc.m4 create mode 100644 m4/codeset.m4 create mode 100644 m4/dirname.m4 create mode 100644 m4/dos.m4 create mode 100644 m4/double-slash-root.m4 create mode 100644 m4/errno_h.m4 create mode 100644 m4/error.m4 create mode 100644 m4/extensions.m4 create mode 100644 m4/fcntl-o.m4 create mode 100644 m4/float_h.m4 create mode 100644 m4/fnmatch.m4 create mode 100644 m4/getdelim.m4 create mode 100644 m4/getline.m4 create mode 100644 m4/getopt.m4 create mode 100644 m4/gettext.m4 create mode 100644 m4/glibc2.m4 create mode 100644 m4/glibc21.m4 create mode 100644 m4/gnulib-cache.m4 create mode 100644 m4/gnulib-common.m4 create mode 100644 m4/gnulib-comp.m4 create mode 100644 m4/gnulib-tool.m4 create mode 100644 m4/iconv.m4 create mode 100644 m4/include_next.m4 create mode 100644 m4/intdiv0.m4 create mode 100644 m4/intl.m4 create mode 100644 m4/intldir.m4 create mode 100644 m4/intlmacosx.m4 create mode 100644 m4/intmax.m4 create mode 100644 m4/intmax_t.m4 create mode 100644 m4/inttypes-pri.m4 create mode 100644 m4/inttypes_h.m4 create mode 100644 m4/langinfo_h.m4 create mode 100644 m4/lcmessage.m4 create mode 100644 m4/lib-ld.m4 create mode 100644 m4/lib-link.m4 create mode 100644 m4/lib-prefix.m4 create mode 100644 m4/localcharset.m4 create mode 100644 m4/locale-fr.m4 create mode 100644 m4/locale-ja.m4 create mode 100644 m4/locale-zh.m4 create mode 100644 m4/lock.m4 create mode 100644 m4/longlong.m4 create mode 100644 m4/malloc.m4 create mode 100644 m4/mbrtowc.m4 create mode 100644 m4/mbsinit.m4 create mode 100644 m4/mbsrtowcs.m4 create mode 100644 m4/mbstate_t.m4 create mode 100644 m4/memchr.m4 create mode 100644 m4/mempcpy.m4 create mode 100644 m4/mmap-anon.m4 create mode 100644 m4/multiarch.m4 create mode 100644 m4/nl_langinfo.m4 create mode 100644 m4/nls.m4 create mode 100644 m4/po.m4 create mode 100644 m4/printf-posix.m4 create mode 100644 m4/printf.m4 create mode 100644 m4/progtest.m4 create mode 100644 m4/rawmemchr.m4 create mode 100644 m4/realloc.m4 create mode 100644 m4/regex.m4 create mode 100644 m4/size_max.m4 create mode 100644 m4/sleep.m4 create mode 100644 m4/ssize_t.m4 create mode 100644 m4/stdbool.m4 create mode 100644 m4/stddef_h.m4 create mode 100644 m4/stdint.m4 create mode 100644 m4/stdint_h.m4 create mode 100644 m4/stdio_h.m4 create mode 100644 m4/stdlib_h.m4 create mode 100644 m4/strcase.m4 create mode 100644 m4/strchrnul.m4 create mode 100644 m4/strerror.m4 create mode 100644 m4/string_h.m4 create mode 100644 m4/strings_h.m4 create mode 100644 m4/strndup.m4 create mode 100644 m4/strnlen.m4 create mode 100644 m4/sys_wait_h.m4 create mode 100644 m4/sysexits.m4 create mode 100644 m4/threadlib.m4 create mode 100644 m4/uintmax_t.m4 create mode 100644 m4/unistd_h.m4 create mode 100644 m4/vasnprintf.m4 create mode 100644 m4/visibility.m4 create mode 100644 m4/vsnprintf.m4 create mode 100644 m4/warn-on-use.m4 create mode 100644 m4/wchar_h.m4 create mode 100644 m4/wchar_t.m4 create mode 100644 m4/wcrtomb.m4 create mode 100644 m4/wctype_h.m4 create mode 100644 m4/wint_t.m4 create mode 100644 m4/xsize.m4 create mode 100644 po/LINGUAS create mode 100644 po/Makefile.in.in create mode 100644 po/Makevars create mode 100644 po/POTFILES-shell.in create mode 100644 po/POTFILES.in create mode 100644 po/README create mode 100644 po/Rules-quot create mode 100644 po/ast.gmo create mode 100644 po/ast.po create mode 100644 po/boldquot.sed create mode 100644 po/ca.gmo create mode 100644 po/ca.po create mode 100644 po/da.gmo create mode 100644 po/da.po create mode 100644 po/de.gmo create mode 100644 po/de.po create mode 100644 po/en@boldquot.header create mode 100644 po/en@quot.header create mode 100644 po/fi.gmo create mode 100644 po/fi.po create mode 100644 po/fr.gmo create mode 100644 po/fr.po create mode 100644 po/grub.d.sed create mode 100644 po/grub.pot create mode 100644 po/hu.gmo create mode 100644 po/hu.po create mode 100644 po/id.gmo create mode 100644 po/id.po create mode 100644 po/insert-header.sin create mode 100644 po/it.gmo create mode 100644 po/it.po create mode 100644 po/ko.gmo create mode 100644 po/ko.po create mode 100644 po/nl.gmo create mode 100644 po/nl.po create mode 100644 po/pl.gmo create mode 100644 po/pl.po create mode 100644 po/quot.sed create mode 100644 po/remove-potcdate.sin create mode 100644 po/ru.gmo create mode 100644 po/ru.po create mode 100644 po/sv.gmo create mode 100644 po/sv.po create mode 100644 po/uk.gmo create mode 100644 po/uk.po create mode 100644 po/vi.gmo create mode 100644 po/vi.po create mode 100644 po/zh_CN.gmo create mode 100644 po/zh_CN.po create mode 100644 stamp-h.in create mode 100644 tests/example_grub_script_test.in create mode 100644 tests/example_scripted_test.in create mode 100644 tests/example_unit_test.c create mode 100644 tests/grub_cmd_echo.in create mode 100644 tests/grub_cmd_regexp.in create mode 100644 tests/grub_script_blanklines.in create mode 100644 tests/grub_script_blockarg.in create mode 100644 tests/grub_script_break.in create mode 100644 tests/grub_script_comments.in create mode 100644 tests/grub_script_continue.in create mode 100644 tests/grub_script_dollar.in create mode 100644 tests/grub_script_echo1.in create mode 100644 tests/grub_script_echo_keywords.in create mode 100644 tests/grub_script_expansion.in create mode 100644 tests/grub_script_final_semicolon.in create mode 100644 tests/grub_script_for1.in create mode 100644 tests/grub_script_functions.in create mode 100644 tests/grub_script_if.in create mode 100644 tests/grub_script_not.in create mode 100644 tests/grub_script_return.in create mode 100644 tests/grub_script_setparams.in create mode 100644 tests/grub_script_shift.in create mode 100644 tests/grub_script_vars1.in create mode 100644 tests/grub_script_while1.in create mode 100644 tests/lib/unit_test.c create mode 100644 tests/partmap_test.in create mode 100644 tests/util/grub-shell-tester.in create mode 100644 tests/util/grub-shell.in create mode 100644 unicode/ArabicShaping.txt create mode 100644 unicode/BidiMirroring.txt create mode 100644 unicode/COPYING create mode 100644 unicode/UnicodeData.txt create mode 100644 util/bash-completion.d/Makefile.am create mode 100644 util/bash-completion.d/Makefile.in create mode 100644 util/bash-completion.d/grub-completion.bash.in create mode 100644 util/bin2h.c create mode 100644 util/deviceiter.c create mode 100644 util/devicemap.c create mode 100644 util/grub-editenv.c create mode 100644 util/grub-fstest.c create mode 100644 util/grub-install.in create mode 100644 util/grub-kbdcomp.in create mode 100644 util/grub-macho2img.c create mode 100644 util/grub-menulst2cfg.c create mode 100644 util/grub-mkconfig.in create mode 100644 util/grub-mkconfig_lib.in create mode 100644 util/grub-mkdevicemap.c create mode 100644 util/grub-mkfont.c create mode 100644 util/grub-mkimage.c create mode 100644 util/grub-mkimagexx.c create mode 100644 util/grub-mklayout.c create mode 100644 util/grub-mknetdir.in create mode 100644 util/grub-mkpasswd-pbkdf2.c create mode 100644 util/grub-mkrelpath.c create mode 100644 util/grub-mkrescue.in create mode 100644 util/grub-pe2elf.c create mode 100644 util/grub-probe.c create mode 100644 util/grub-reboot.in create mode 100644 util/grub-script-check.c create mode 100644 util/grub-set-default.in create mode 100644 util/grub-setup.c create mode 100644 util/grub.d/00_header.in create mode 100644 util/grub.d/10_hurd.in create mode 100644 util/grub.d/10_kfreebsd.in create mode 100644 util/grub.d/10_linux.in create mode 100644 util/grub.d/10_netbsd.in create mode 100644 util/grub.d/10_windows.in create mode 100644 util/grub.d/20_linux_xen.in create mode 100644 util/grub.d/30_os-prober.in create mode 100644 util/grub.d/40_custom.in create mode 100644 util/grub.d/41_custom.in create mode 100644 util/grub.d/README create mode 100644 util/i386/efi/grub-dumpdevtree create mode 100644 util/ieee1275/devicemap.c create mode 100644 util/ieee1275/grub-ofpathname.c create mode 100644 util/ieee1275/ofpath.c create mode 100644 util/import_gcry.py create mode 100644 util/import_unicode.py create mode 100644 util/lvm.c create mode 100644 util/misc.c create mode 100644 util/powerpc/ieee1275/grub-mkrescue.in create mode 100644 util/raid.c create mode 100644 util/resolve.c create mode 100644 util/update-grub_lib.in diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..866b904 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,223 @@ +1 Notes on the Free Translation Project +*************************************** + +Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that free software will gradually become able to speak many +languages. A few packages already provide translations for their +messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work on translations can contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +1.1 Quick configuration advice +============================== + +If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +1.2 INSTALL Matters +=================== + +Some packages are "localizable" when properly installed; the programs +they contain can be made to speak your own native language. Most such +packages use GNU `gettext'. Other packages have their own ways to +internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. If not, the included GNU +`gettext' library will be used. This library is wholly contained +within this package, usually in the `intl/' subdirectory, so prior +installation of the GNU `gettext' package is _not_ required. +Installers may use special options at configuration time for changing +the default behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will, respectively, bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might not be desirable. You should use +the more recent version of the GNU `gettext' library. I.e. if the file +`intl/VERSION' shows that the library which comes with this package is +more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages usually have many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +1.3 Using This Package +====================== + +As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, +and `CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your language by running the +command `locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + Special advice for Norwegian users: The language code for Norwegian +bokma*l changed from `no' to `nb' recently (in 2003). During the +transition period, while some message catalogs for this language are +installed under `nb' and some older ones under `no', it's recommended +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and +older translations are used. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +1.4 Translating Teams +===================== + +For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" +area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `translation@iro.umontreal.ca' to reach the +coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skills are praised more than +programming skills, here. + +1.5 Available Packages +====================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of October +2006. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + +# Matrix here is removed! + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If October 2006 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. + +1.6 Using `gettext' in new packages +=================================== + +If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`translation@iro.umontreal.ca' to make the `.pot' files available to +the translation teams. + diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..8de5c4d --- /dev/null +++ b/AUTHORS @@ -0,0 +1,23 @@ +The following authors assigned copyright on their work to the Free +Software Foundation: + +Yoshinori K. Okuji designed and implemented the initial version. + +Jeroen Dekkers added initrd support, Multiboot support, and fixed bugs +in ext2fs. + +Marco Gerards added ext2fs support, grub-emu, a new command-line +engine, and fixed many bugs. + +Omniflux added terminfo and serial support. + +Vincent Pelletier added Sparc64 support. + +Hollis Blanchard implemented many parts of PowerPC support. + +Tomas Ebenlendr added the command chainloader into the normal mode, +fixed some bugs. + +Guillem Jover merged architecture-independent ELF support code. + +Vesa Jaaskelainen added VBE support. diff --git a/BUGS b/BUGS new file mode 100644 index 0000000..46faa64 --- /dev/null +++ b/BUGS @@ -0,0 +1,7 @@ +GRUB team is aware of following problems: + - Currently search and assembling multidevice abstractions scans + all the devices which can be slow. + - Cache isn't used correctly for video which results in slowness. + +While these are bugs their solution has a potential of breaking more and more +seriously. So it was decided for 1.99 that they aren't fixed. diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/COPYING @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..9575204 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,35345 @@ +2011-05-14 Jordan Uggla + + * docs/grub.texi (Invoking grub-install): Fix additional outdated claims + and add some clarification. + +2011-05-14 Vladimir Serbinenko + + * util/grub.d/10_linux.in: Autoload gzio since it's needed on some + platforms if kernel is compressed. + +2011-05-14 Vladimir Serbinenko + + * grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of + unused modules since currently referrence counter isn't reliable and + there isn't much memory to recover there anyway. + +2011-05-14 Vladimir Serbinenko + + * grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter + rather than resetting it to allow modules to reference themselves + in init. + +2011-05-14 Vladimir Serbinenko + + * grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference + counter on dependencies since grub_dl_unref already handles this. + +2011-05-14 Vladimir Serbinenko + + * grub-core/font/font_cmd.c (loadfont_command): Set grub_errno + on error if not already done. + +2011-05-14 Vladimir Serbinenko + + Fix few potential memory misusage. + + * grub-core/font/font.c (load_font_index): Don't free char_index to + avoid double free. + (grub_font_load): Zero-fill font at alloc for safety. + Close file on error. + (free_font): Free bmp_idx. + +2011-05-14 Vladimir Serbinenko + + * docs/grub.texi (Installation): Fix several outdated claims. + +2011-05-14 Vladimir Serbinenko + + Handle module_license on windows. + + * util/grub-pe2elf.c (MODLICENSE_SECTION): New definition. All following + sections shifted. + (insert_string): Make argument const char * instead of char *. + (write_section_data): Handle long section names. + Handle module_license. + +2011-05-14 Vladimir Serbinenko + + * grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly + handle class-free menuentries. + (grub_normal_add_menu_entry): Add a check to be sure. + +2011-05-14 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c (set1_e0_mapping): Fix swap between + PgUp and PgDown. + +2011-05-13 Vladimir Serbinenko + + * configure.ac: Bump version to 1.99. + +2011-05-13 Vladimir Serbinenko + + Give ATA device a bit more time on first try in order to allow disks + to spin up. + + * grub-core/disk/ata.c (grub_atapi_identify): Use GRUB_ATA_TOUT_DEV_INIT + if dev->present is 1. Reset dev->present on failure. + (grub_ata_device_initialize): Set dev->present to 1. + * include/grub/ata.h (GRUB_ATA_TOUT_DEV_INIT): New value. + (grub_ata_device): New member 'present'. + +2011-05-13 Vladimir Serbinenko + + * util/grub-mkimage.c (generate_image): Update hash. + +2011-05-13 Vladimir Serbinenko + + Flush caches on DMA memory. + + * grub-core/kern/mips/cache.S (grub_arch_sync_dma_caches): New function. + * grub-core/bus/pci.c (grub_memalign_dma32): Flush caches. + (grub_dma_free): Likewise. + * include/grub/cache.h (grub_arch_sync_dma_caches): New declaration. + +2011-05-13 Vladimir Serbinenko + + * grub-core/boot/mips/yeeloong/fwstart.S: Add explicit set mips3 + to avoid asm treating ld and sd as macros. + +2011-05-13 Vladimir Serbinenko + + * grub-core/boot/mips/startup_raw.S: Flush cache after loading + decompressor. + +2011-05-13 Vladimir Serbinenko + + * grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call + grub_decompress_core since later would fail if grub_decompress_core + is too far. + +2011-05-13 Vladimir Serbinenko + + * grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle + R_MIPS_JALR since it's used by newer compiler. + +2011-05-10 Vladimir Serbinenko + + * util/grub.d/10_linux.in: Correctly handle the Linux in root. + +2011-05-09 Vladimir Serbinenko + + * grub-core/loader/efi/chainloader.c (grub_chainloader_unload): Set + file_path to 0 for surety. + (grub_chainloader_boot): Set exit_data to NULL. + Unset the loader once done. + (grub_cmd_chainloader): Fix confusing error message if file is empty. + +2011-05-09 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c (fetch_key): Make a printf on + unknown key into a dprintf. + +2011-05-09 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (linux_find_partition): Don't abort + on first non-existant partition. + +2011-05-09 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if + openning fails. + Reported by: Mark Korenberg. + +2011-05-09 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible + overflow. + +2011-05-09 Vladimir Serbinenko + + * util/grub-mkimage.c (main): Explicitely flush and sync the output + before closing to ensure that it will be readable by grub-setup. + +2011-05-05 Vladimir Serbinenko + + * grub-core/loader/efi/appleloader.c (MAKE_PIWG_PATH): New macro. + (devpath_1): Use MAKE_PIWG_PATH. + (devpath_2): Likewise. + (devpath_3): Likewise. + (devpath_4): Likewise. + (devpath_5): Likewise. + (devpath_6): Likewise. + + The appleldr.mod was checked that to be binary identical to previous + version. + +2011-05-05 Zach + + Support 2010 Macbooks. + + * grub-core/loader/efi/appleloader.c (devpath_6): New variable. + (devs): Add devpath_6. + +2011-05-05 Vladimir Serbinenko + + * util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not + /dev/random. /dev/urandom is good enough for our purposes (salting). + +2011-05-05 Vladimir Serbinenko + + * util/grub-mkrescue.in (process_input_dir): Include efiemu??.o. + +2011-05-05 Vladimir Serbinenko + + * grub-core/lib/legacy_parse.c (grub_legacy_parse): Correctly handle + hexadecimal. + +2011-05-05 Vladimir Serbinenko + + * grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno + and not 0 on failure. + +2011-05-03 Colin Watson + + * grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return + GRUB_ERR_BAD_FS rather than GRUB_ERR_IO if the disk is not a pxe + disk; otherwise grub_fs_probe will not fall back to the next + filesystem. + (grub_pxefs_open): Likewise, for consistency. + Reported and tested by: Ezekiel Grave. + +2011-05-03 Colin Watson + + * tests/partmap_test.in: Don't hardcode path to parted. + Reported by: Peter Hjalmarsson. Fixes Savannah bug #33150. + +2011-05-01 Colin Watson + + * docs/grub.texi (GRUB only offers a rescue shell): Suggest the use + of `ls' to find out which devices are available. + +2011-04-25 Vladimir Serbinenko + + * grub-core/loader/i386/linux.c (grub_linux_boot): Supply target rather + than source address for efi mmap buffer. + +2011-04-25 Vladimir Serbinenko + + * grub-core/partmap/amiga.c (amiga_partition_map_iterate): Fix a + wrong action on non-detecting the magic. + +2011-04-25 Vladimir Serbinenko + + * grub-core/gnulib/regex.c: Remove GRUB_MOD_LICENSE since it's + already supplied by another part of the module (fixes compilation on + FreeBSD). + +2011-04-25 Vladimir Serbinenko + + * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Make mdraid UUID + match the one used by mdadm. + +2011-04-21 Colin Watson + + * po/README: Add instructions for creating po/LINGUAS. + +2011-04-21 Colin Watson + + Add "SEE ALSO" sections to most man pages. Fixes Debian bug + #551428. + + * docs/man/grub-editenv.h2m (SEE ALSO): New section. + * docs/man/grub-emu.h2m (SEE ALSO): Likewise. + * docs/man/grub-fstest.h2m (SEE ALSO): Likewise. + * docs/man/grub-install.h2m (SEE ALSO): Likewise. + * docs/man/grub-macho2img.h2m (SEE ALSO): Likewise. + * docs/man/grub-menulst2cfg.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkconfig.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkdevicemap.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkfont.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkimage.h2m (SEE ALSO): Likewise. + * docs/man/grub-mklayout.h2m (SEE ALSO): Likewise. + * docs/man/grub-mknetdir.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkpasswd-pbkdf2.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkrelpath.h2m (SEE ALSO): Likewise. + * docs/man/grub-mkrescue.h2m (SEE ALSO): Likewise. + * docs/man/grub-ofpathname.h2m (SEE ALSO): Likewise. + * docs/man/grub-pe2elf.h2m (SEE ALSO): Likewise. + * docs/man/grub-probe.h2m (SEE ALSO): Likewise. + * docs/man/grub-reboot.h2m (SEE ALSO): Likewise. + * docs/man/grub-script-check.h2m (SEE ALSO): Likewise. + * docs/man/grub-set-default.h2m (SEE ALSO): Likewise. + * docs/man/grub-setup.h2m (SEE ALSO): Likewise. + +2011-04-21 Colin Watson + + * grub-core/kern/emu/getroot.c + (grub_find_root_device_from_mountinfo): Remove non-virtual-device + test that was incorrectly reintroduced in r3214. + Reported by: Ian Dall. Fixes Savannah bug #33133. + +2011-04-21 Colin Watson + + Fix stack pointer handling in 16-bit relocator. + + * grub-core/lib/i386/relocator16.S (grub_relocator16_start): Move + grub_relocator16_sp to %esp rather than %ss, and zero-extend it. + Fixes Ubuntu bug #683904. + +2011-04-20 Vladimir Serbinenko + + * configure.ac: Bump version to 1.99~rc2. + +2011-04-20 Vladimir Serbinenko + + * include/grub/dl.h [ASM_FILE]: Adapt for assembly. + * grub-core/lib/i386/setjmp.S: Add missing GRUB_MOD_LICENSE. + * grub-core/lib/x86_64/setjmp.S: Likewise. + * grub-core/lib/mips/setjmp.S: Likewise. + * grub-core/lib/powerpc/setjmp.S: Likewise. + * grub-core/lib/sparc64/setjmp.S: Likewise. + +2011-04-20 Vladimir Serbinenko + + * grub-core/lib/efi/datetime.c: Add missing GRUB_MOD_LICENSE. + * grub-core/lib/efi/datetime.c: Likewise. + +2011-04-19 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush): + New function. + (grub_util_biosdisk_close): Use grub_util_biosdisk_flush. + * include/grub/emu/hostdisk.h (grub_util_biosdisk_flush): New proto. + * util/grub-setup.c (setup): Use grub_util_biosdisk_flush. + +2011-04-19 Vladimir Serbinenko + + * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous + bitmap. + (grub_gfxterm_term_init): Likewise. + +2011-04-19 Vladimir Serbinenko + + Take into account the decorations the computing menu entry width. + + * grub-core/gfxmenu/widget-box.c (get_border_width): New function. + (grub_gfxmenu_create_box): Register get_border_width. + * grub-core/gfxmenu/gui_list.c (draw_menu): Use get_border_width + if available. + * include/grub/gfxwidgets.h (grub_gfxmenu_box): New member + get_border_width. + +2011-04-18 Endres Puschner + + * grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon): + Don't skip first class. + +2011-04-18 Vladimir Serbinenko + + * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge + chunks. + * include/grub/err.h (grub_err_t): New enum value GRUB_ERR_BUG. + +2011-04-18 Vladimir Serbinenko + + Complete 64-bit division support. + + * grub-core/kern/misc.c (grub_divmod64): Rename to ... + (grub_divmod64_full): ... this. Support 64-bit divisor and reminder. + * include/grub/misc.h (grub_divmod64): Rename to ... + (grub_divmod64_full): ... this. + (grub_divmod64): New inline function. + +2011-04-18 Vladimir Serbinenko + + * util/grub-mkimage.c (generate_image): Add forgotten comma. + +2011-04-18 Vladimir Serbinenko + + * util/grub-mkimage.c (generate_image): Update fwstart.img hash after + performing the necessary test. + +2011-04-17 Vladimir Serbinenko + + * Makefile.am (multiboot.elf): Add -Wl,--build-id=none. + (kfreebsd.elf): Likewise. + (pc-chainloader.elf): Likewise. + (ntldr.elf): Likewise. + +2011-04-17 Vladimir Serbinenko + + Identify RAID by its UUID rather than (guessed) name. + + * grub-core/disk/raid.c (ascii2hex): New function. + (grub_raid_open): Accept mduuid/%s specification. + * grub-core/kern/emu/getroot.c (get_mdadm_name): Revamped into ... + (get_mdadm_uuid): ... this. + (grub_util_get_grub_dev): Use mduuid/%s if UUID is available. + +2011-04-16 Vladimir Serbinenko + + * grub-core/gfxmenu/gui_image.c (rescale_image): Don't attempt to scale + to negative size. + +2011-04-13 Colin Watson + + * util/grub.d/10_linux.in: Add rootflags=subvol= if / is on a + btrfs subvolume. + * util/grub.d/20_linux_xen.in: Likewise. + +2011-04-13 Colin Watson + + Rewrite /proc/self/mountinfo handling to cope with bind-mounts and + move-mounts appearing out of order. Fixes Ubuntu bug #738345. + + * grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo): + Build a list of relevant visible mounts using the mnt_id and + parent_mnt_id fields, and then scan that list at the end. + +2011-04-12 Colin Watson + + * docs/grub.texi (normal): New section. + (normal_exit): New section. + (Embedded configuration): Add reference to normal. + (GRUB only offers a rescue shell): Likewise. + * docs/grub-dev.texi (Error Handling): Fix typo. + +2011-04-12 Colin Watson + + * NEWS: Drop obsolete entry about probe-only btrfs support. + +2011-04-12 Colin Watson + + * util/import_gcry.py: Fix typo. + +2011-04-11 Vladimir Serbinenko + + * NEWS: Add btrfs support. + +2011-04-11 Vladimir Serbinenko +2011-04-11 Colin Watson + + BtrFS support. Written by me (Vladimir) with important bugfixes and + even more important testing by Colin. + + * Makefile.util.def (libgrubmods.a): Add crc.c and gzio.c + * grub-core/Makefile.core.def (btrfs): Add crc.c. + * grub-core/fs/btrfs.c: Stub replaced with real implementation. + * grub-core/io/gzio.c (grub_gzio): New fields mem_input_size, + mem_input_off and mem_input. All users updated to accept in-RAM input. + (gzio_seek): New function. + (test_zlib_header): Likewise. + (grub_gzio_read): Likewise. + (grub_zlib_decompress): Likewise. + * grub-core/kern/emu/getroot.c (grub_find_root_device_from_mountinfo): + Accept partial and non-virtual mounts. + (grub_guess_root_device): Do rescanning after device_from_mountinfo to + avoid receiving /dev/dm-X as device. + * grub-core/kern/emu/misc.c (grub_make_system_path_relative_to_its_root): + Handle bind and partial mounts. + * grub-core/lib/crc.c: New file. + * include/grub/deflate.h: Likewise. + * include/grub/emu/misc.h (grub_find_root_device_from_mountinfo): New + proto. + * include/grub/lib/crc.h: New file. + +2011-04-11 Vladimir Serbinenko + + Implement automatic module license checking according to new GNU + guidelines. + + * grub-core/kern/dl.c (grub_dl_check_license): New function. + (grub_dl_load_core): Use grub_dl_check_license. + * include/grub/dl.h (GRUB_MOD_SECTION): New macro. + (GRUB_MOD_LICENSE): Likewise. + (GRUB_MOD_DUAL_LICENSE): Likewise. + All modules updated. + +2011-04-11 Colin Watson + + * grub-core/fs/btrfs.c (grub_btrfs_fs) [GRUB_UTIL]: Set + reserved_first_sector to 1. btrfs reserves plenty of space for boot + loaders. + Reported by: Gene Cumm. Fixes Ubuntu bug #757446. + +2011-04-11 Vladimir Serbinenko + + * util/grub-fstest.c (cmd_cmp): Check that sizes match. + +2011-04-11 Vladimir Serbinenko + + * util/grub-fstest.c (read_file): Report GRUB error if file opening + failed. + +2011-04-11 Vladimir Serbinenko + + * grub-core/kern/file.c (grub_file_open): Don't take into account the + parenthesis in the middle of the filename. + +2011-04-10 Vladimir Serbinenko + + * grub-core/loader/mips/linux.c (grub_cmd_initrd): Use correct limits + rather than trying to put initrd way too high. + Reported by: Ryan Lortie + +2011-04-10 Vladimir Serbinenko + + * grub-core/boot/mips/yeeloong/fwstart.S (no_cs5536): Put back + improperly removed string. + +2011-04-10 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_data): New member + is_disk. + (grub_util_biosdisk_open): Don't apply ioctl on non-disk devices. + (open_device) Likewise. + (grub_util_biosdisk_close): Likewise. + Reported by: Mark Korenberg. + +2011-04-10 Alexander Kurtz + + * util/grub-mkconfig_lib.in: Add missing quotes. + +2011-04-10 Colin Watson + + * grub-core/gnulib/argp-parse.c (__argp_input): Don't crash if pstate + is NULL. + +2011-04-10 Vladimir Serbinenko + + Dynamically count the number of lines for the lower banner. + + * grub-core/normal/menu_entry.c (per_term_screen): New member + num_entries. + (print_down): Use num_entries. + (update_screen): Likewise. + (grub_menu_entry_run): Set num_entries. + * grub-core/normal/menu_text.c (menu_viewer_data): New member + num_entries. + (grub_print_message_indented): Move real part to ... + (grub_print_message_indented_real): ... here. Additional argument + dry_run. + (draw_border): Additional argument num_entries. + (print_message): Additional argument dry_run. + (print_entries): Receive menu viewer data. + (grub_menu_init_page): New argment num_entries. + (menu_text_set_chosen_entry): Use num_entries. + (grub_menu_try_text): Likewise. + * grub-core/normal/term.c (print_ucs4_terminal): New argument dry_run. + All users updated. + (grub_ucs4_count_lines): New function. + * include/grub/term.h (grub_term_cursor_x): Moved from here .. + * grub-core/normal/menu_text.c (grub_term_cursor_x): ... to here. + * include/grub/term.h (GRUB_TERM_MESSAGE_HEIGHT): Removed. + (grub_term_border_height): Likewise. + (grub_term_num_entries): Likewise. + +2011-04-10 Vladimir Serbinenko + + * grub-core/boot/mips/yeeloong/fwstart.S: Fix address to error message. + Remove now unused string. + +2011-04-09 Colin Watson + + * docs/grub-dev.texi (Finding your way around): Update for 1.99 + build system. + (Getting started): GRUB is developed in Bazaar now, not Subversion. + + (Comment): Fix typo. + (Getting started): General copy-editing. + (Typical Development Experience): Likewise. + (Error Handling): Likewise. + (Video API): Likewise. + +2011-04-09 Colin Watson + + * docs/grub-dev.texi: Replace MoinMoin syntax with Texinfo syntax + throughout. + +2011-04-08 Vladimir Serbinenko + + * util/grub-mkimage.c (main): Handle special naming of yeeloong + directory. + +2011-04-08 Colin Watson + + * docs/grub-dev.texi: Fix spelling of "developer" throughout. + * grub-core/fs/i386/pc/pxe.c (parse_dhcp_vendor): Fix spelling of + "development". + +2011-04-08 Vladimir Serbinenko + + * grub-core/normal/menu_entry.c (run): Use grub_memcpy rather than + grub_strcpy since the lines aren't necessarily 0-terminated. + +2011-04-08 Vladimir Serbinenko + + * grub-core/lib/legacy_parse.c (legacy_commands): Find doesn't set + root on legacy. + +2011-04-08 Vladimir Serbinenko + + * grub-core/commands/probe.c (options): Argument to set isn't optional. + (GRUB_MOD_INIT): DEVICE isn't optional. + +2011-04-08 Vladimir Serbinenko + + * grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the + word on new line if it's too long anyway. Fixes a hang. + +2011-04-08 Vladimir Serbinenko + + * include/grub/util/raid.h (grub_util_raid_getmembers): Make argument + const. + * util/grub-setup.c (main): Reuse md device name if available. + * util/raid.c (grub_util_raid_getmembers): Receive device name and + not GRUB name as argument. + Based on patch by: Florian Wagner . + +2011-04-08 Vladimir Serbinenko + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): + Place mbi on low memory for better compatibility. + +2011-04-08 Vladimir Serbinenko + + * include/grub/efiemu/efiemu.h: Use grub_memory_hook_t type. + +2011-04-08 Vladimir Serbinenko +2011-04-08 Colin Watson + + * autogen.sh: Ensure that collate and ctype locale is C. + * conf/Makefile.common: Likewise. + +2011-04-08 Vladimir Serbinenko + + * grub-core/normal/menu.c: Add missing include. + +2011-04-08 Vladimir Serbinenko + + * grub-core/disk/raid.c [GRUB_UTIL]: Add missing include. + +2011-04-08 Martin Zuther + + * util/grub-mkconfig.in: Ignore emacsen backup. + +2011-04-08 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (open_device): Sync on close and not + on open. + (grub_util_biosdisk_close): Likewise. + +2011-04-08 Vladimir Serbinenko + + * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Add missing + const attribute and use grub_isdigit. + +2011-04-06 Andrey + + * grub-core/video/fb/video_fb.c (grub_video_fb_setup): Silence older + gcc warning. + +2011-04-06 Vladimir Serbinenko + + * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Add few + useful grub_dprintf's. + +2011-04-06 Vladimir Serbinenko + + * include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields. + +2011-04-06 Vladimir Serbinenko + + * util/grub.d/00_header.in: Don't use LANG unless unifont is available. + +2011-04-06 Vladimir Serbinenko + + Output errors if theme loading failed. + + * grub-core/gfxmenu/gfxmenu.c (grub_gfxmenu_try): Move the call to + grub_gfxterm_fullscreen on error paths to ... + * grub-core/normal/menu.c (menu_init): ...here. Wait after showing + theme loading error. + +2011-04-06 Vladimir Serbinenko + + * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): Let a bit more + space for older compilers. + (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise. + +2011-04-06 Vladimir Serbinenko + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Detect spares + and report them as not RAID members since they are useless for GRUB. + * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise. + +2011-04-02 Vladimir Serbinenko + + Increase LVM implementation robustness in order not to crash on + configurations like pvmove. Previously code assumed that in some places + only lvs or only pvs are used whereas it seems that they are used + interchangeably. + + * grub-core/disk/lvm.c (read_node): New function. + (read_lv): Use read_node. + (grub_lvm_scan_device): Use only first mirror on pvmove'd lvs. + Match volumes only at the end when all lvs are found. Take both + pvs (first) and lvs (second) into account. + * include/grub/lvm.h (grub_lvm_segment): Merge fields stripe_* and + mirror_* into node_*. All users updated. + (grub_lvm_stripe): Merge this ... + (grub_lvm_mirror): ... and this ... + (grub_lvm_node): ... into this. All users updated. + +2011-04-02 Vladimir Serbinenko + + * grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end + of function to allow further scanning for LVMs. + +2011-04-02 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close + on failed seek as it breaks open fd reusage. + +2011-04-02 Vladimir Serbinenko + + * util/grub-install.in: Add a recommendation to use --recheck before + reporting bugs. + +2011-04-02 Vladimir Serbinenko + + * docs/grub.texi (Vendor power-on buttons): Explain how the numbers + are obtained. + +2011-04-02 Vladimir Serbinenko + + GRUB developper manual based on existing Internals section and + contributions by the various authors with active copyright assignment. + + * docs/Makefile.am (info_TEXINFOS): Add grub-dev.texi. + * docs/font_char_metrics.png: New file. + * docs/font_char_metrics.txt: Likewise. + * docs/grub-dev.texi: Likewise. + * docs/grub.texi (Internals): Move from here ... + * docs/grub-dev.texi: ... here. + +2011-04-01 Colin Watson + + Store the loopback device as data on loopback grub_disk structures, + rather than the file it points to. This fixes use of freed memory + if an existing loopback device is replaced. + + * grub-core/disk/loopback.c (grub_loopback_open): Store dev in + disk->data, not dev->file. + (grub_loopback_read): Adjust file assignment to match. + Fixes Ubuntu bug #742967. + +2011-04-01 Colin Watson + + * grub-core/disk/loopback.c (grub_cmd_loopback): Fix a memory leak + when replacing an existing device. + +2011-04-01 Vladimir Serbinenko + + Fix incorrect types in jfs.c. This enables >2TiB disks and fixes some + memory corruptions. + + * grub-core/fs/jfs.c (struct grub_jfs_diropen): Interpret bytes as + unsigned. + (grub_jfs_lookup_symlink): Make ino a grub_uint32_t rather than int. + (grub_jfs_blkno): Use 64-bit quantities for block sectors. + (grub_jfs_read_inode): Likewise. + (grub_jfs_opendir): Likewise. Remove now useless casts. + (grub_jfs_getent): Likewise. + Make ino a grub_uint32_t rather than int. + (grub_jfs_mount): Ensure that blksize and log2_blksize are consistent. + (grub_jfs_read_file): Use 64-bit quantities when necessary. Replace + division and module with bit operations. + (grub_jfs_find_file): Make ino a grub_uint32_t. + (grub_jfs_lookup_symlink): Likewise. Use 64-bit quantities + +2011-04-01 Colin Watson + + * grub-core/normal/menu_entry.c (run): Quieten uninitialised + warning. (This was in fact always initialised before use, but GCC + wasn't smart enough to prove that.) + * grub-core/script/lexer.c (grub_script_lexer_yywrap): Likewise. + +2011-03-31 Vladimir Serbinenko + + * grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_0): Preserve 16-byte + stack alignment. + (efi_wrap_1): Likewise. + (efi_wrap_2): Likewise. + (efi_wrap_3): Likewise. + (efi_wrap_4): Likewise. + (efi_wrap_5): Likewise. + (efi_wrap_6): Likewise. + (efi_wrap_10): Likewise. + Based on information by: Red Hat/Peter Jones. + +2011-03-31 Colin Watson + + * grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove + set-but-not-used variable. + +2011-03-31 Colin Watson + + * docs/grub.texi (Simple configuration): Be more explicit about + GRUB_DEFAULT, and add an example. + Reported by: Leslie Rhorer. + +2011-03-30 Colin Watson + + * docs/grub.texi (Commands): Link to "GRUB only offers a rescue + shell". + +2011-03-30 Alexey Shvetsov + + * util/grub.d/10_linux.in: Add gentoo-specific config filename. + * util/grub.d/20_linux_xen.in: Likewise. + +2011-03-30 Vladimir Serbinenko + + * util/grub.d/10_linux.in: Try alternative config filenames where + we parse config file. + * util/grub.d/20_linux_xen.in: Likewise. + +2011-03-30 Alexey Shvetsov + + * util/grub.d/10_linux.in: Add gentoo-specific Linux and initrd names. + * util/grub.d/20_linux_xen.in: Likewise. + +2011-03-30 Vladimir Serbinenko + + * grub-core/disk/raid.c (insert_array): Add few potentially + useful grub_util_info. + (grub_raid_register): Likewise. + +2011-03-30 Vladimir Serbinenko + + * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev) [__linux__]: + Preserve partition number in mdadm code path. + +2011-03-30 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Add + few potentially useful grub_util_info. + +2011-03-30 Vladimir Serbinenko + + * grub-core/disk/lvm.c (grub_lvm_scan_device): Remove spurious \n. + +2011-03-30 Colin Watson + + * docs/grub.texi (default): Use @example rather than nested + itemized lists to avoid breaking gendocs. + +2011-03-30 Colin Watson + + * docs/grub.texi (Future): Update. + +2011-03-30 Colin Watson + + * docs/grub.texi (Environment): New chapter. + (Changes from GRUB Legacy): Link to "Environment block" section for + details of limitations. + (Simple configuration): Likewise. Link to documentation of gfxmode + and gfxpayload variables from GRUB_GFXMODE and GRUB_GFXPAYLOAD + respectively. + (Shell-like scripting): Note that normal variables are stored in the + environment. + (gettext): Link to documentation of lang and locale_dir. + (list_env): New section. + (load_env): New section. + (save_env): New section. + + (Reporting bugs): Fix typo. + +2011-03-30 Vladimir Serbinenko + + * docs/grub.texi: Correctly use "terminal_input" and not "terminal" in + the example. + +2011-03-30 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c (set_scancodes) + [!GRUB_MACHINE_MIPS_YEELOONG && !GRUB_MACHINE_QEMU]: Use scancode set 1. + +2011-03-30 Colin Watson + + * docs/grub.texi (Menu-specific commands): Remove some semantics + that were true in GRUB Legacy but not in GRUB 2. + (submenu): New section. + (false): New section. + (read): New section. + (true): New section. + +2011-03-30 Colin Watson + + * docs/grub.texi (Changes from GRUB Legacy): Minor proofreading. + +2011-03-30 Colin Watson + + * docs/grub.texi (Simple configuration): Explain some of the + current limitations of grub-mkconfig. + Reported by: Leslie Rhorer. + +2011-03-29 Vladimir Serbinenko + + Old macs search for boot.efi rather than for bootia32.efi. + + * util/grub-install.in: Copy bootia32.efi to boot.efi. + * util/grub-mkrescue.in: Likewise. + Suggested by: Peter Jones. + +2011-03-29 Vladimir Serbinenko + + * util/grub.d/20_linux_xen.in: Accept old-style xen kernels. + +2011-03-29 Vladimir Serbinenko + + * include/grub/lvm.h (grub_lvm_lv): New field 'visible'. + (grub_lvm_segment): New fields 'type', 'mirror_count' and 'mirrors'. + (grub_lvm_mirror): New struct. + * grub-core/disk/lvm.c (grub_lvm_checkvalue): Commented out. + (grub_lvm_iterate): Iterate only visible volumes. + (grub_lvm_read): Factor out to .. + (read_lv): ... this. Support mirrors. + (grub_lvm_read): New wrapper function. + (grub_lvm_scan_device): Parse mirrors. Skip everything that isn't + stripped or mirrored. + +2011-03-29 Vladimir Serbinenko + + * util/grub.d/10_linux.in: Skip vmlinux-* on x86 platforms. + +2011-03-29 Colin Watson + + * docs/grub.texi (loopback): New section. + +2011-03-29 Colin Watson + + * grub-core/disk/loopback.c (GRUB_MOD_INIT): Stop documenting + removed -p option. + +2011-03-29 Colin Watson + + * docs/grub.texi (BIOS installation): New section, partly based on + previous text in other sections. + (Installing GRUB using grub-install): Replace BIOS discussion with a + cross-reference. + (Images): Likewise. + +2011-03-29 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (find_partition_start) + [HAVE_DIOCGDINFO]: Add safety checks. + +2011-03-29 Vladimir Serbinenko + + * util/grub.d/10_kfreebsd.in: Allow ufs.ko to be missing as it's + per default compiled in kernel and prior to 8.0 isn't shipped at all. + +2011-03-29 Colin Watson + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): If + real_sb->size is zero (e.g. RAID-0), get the disk size from + real_sb->data_size instead. + Fixes Ubuntu bug #743136. + +2011-03-29 Vladimir Serbinenko + + * grub-core/normal/misc.c (grub_normal_print_device_info): Use correct + printf clauses for printing size and start. + +2011-03-29 Vladimir Serbinenko + + * grub-core/fs/ext2.c (grub_ext2_read_inode): Fix an overflow. + Reported and tested by: Timothy Nikkel. + +2011-03-29 Vladimir Serbinenko + + * grub-core/term/gfxterm.c (dirty_region_add): Move core part to ... + (dirty_region_add_real): ... this. + (dirty_region_add): Don't discard margin refresh when performing + scheduled repaint. + +2011-03-29 Vladimir Serbinenko + + * grub-core/lib/relocator.c (allocate_regstart) + [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Avoid grub_dprintf since not all + terminals are capabple of malloc-free operation. + (allocate_inreg) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise. + (malloc_in_range) [!DEBUG_RELOCATOR_NOMEM_DPRINTF]: Likewise. + +2011-03-29 Mario Limonciello + + * util/grub-setup.c: Copy the partition table zone if floppy support + is disabled, even if no partition table is found. + + Otherwise, the BIOS on Dell Latitude E series laptops will freeze + during POST if an invalid partition table is contained in the PBR + of the active partition when GRUB is installed to a partition. + +2011-03-28 Colin Watson + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Remove stale + comment. + +2011-03-28 Colin Watson + + * grub-core/disk/raid.c (grub_raid_register): Adjust debug message + to be specific about what kind of RAID device we're scanning for. + +2011-03-26 Seth Goldberg + + * grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): Don't + return freed string. + +2011-03-26 Vladimir Serbinenko + + * grub-core/fs/iso9660.c (grub_iso9660_label): Rtrim the label. + +2011-03-26 Vladimir Serbinenko + + Use libgeom on FreeBSD to detect partitions. + + * Makefile.util.def (grub-mkimage): Add LIBGEOM to ldadd. + (grub-mkrelpath): Likewise. + (grub-script-check): Likewise. + (grub-editenv): Likewise. + (grub-mkpasswd-pbkdf2): Likewise. + (grub-fstest): Likewise. + (grub-mkfont): Likewise. + (grub-mkdevicemap): Likewise. + (grub-probe): Likewise. + (grub-setup): Likewise. + (grub-ofpathname): Likewise. + (grub-mklayout): Likewise. + (example_unit_test): Likewise. + (grub-menulst2cfg): Likewise. + * grub-core/Makefile.core.def (grub-emu): Likewise. + (grub-emu-lite): Likewise. + * configure.ac: Check for -lgeom on FreeBSD and set LIBGEOM. + * grub-core/kern/emu/hostdisk.c [FreeBSD]: Include libgeom.h. Don't + define HAVE_DIOCGDINFO. + (follow_geom_up) [FreeBSD]: New function. + (find_partition_start) [FreeBSD]: Rewritten using follow_geom_up. + (convert_system_partition_to_system_disk) [FreeBSD]: Likewise. + (grub_util_biosdisk_get_grub_dev) [FreeBSD]: Use FreeBSD path + unconditionally of HAVE_DIOCGDINFO. + +2011-03-26 Vladimir Serbinenko + + Fix FreeBSD compilation problem. + + * grub-core/kern/emu/hostdisk.c (MAJOR) [FreeBSD]: New definition. + (FLOPPY_MAJOR) [FreeBSD]: Likewise. + +2011-03-24 Colin Watson + + * grub-core/video/fb/video_fb.c (grub_video_fb_get_info_and_fini): + Switch back to page zero before loading a kernel, since some kernel + drivers expect that. + Thanks to: Felix Kuehling. + +2011-03-24 Vladimir Serbinenko + + * grub-core/lib/relocator.c (grub_relocator_alloc_chunk_addr) + [DEBUG_RELOCATOR]: Reuse grub_mm_check. + (grub_relocator_alloc_chunk_align) [DEBUG_RELOCATOR]: Likewise. + +2011-03-24 Vladimir Serbinenko + + * include/grub/mm.h (GRUB_MM_CHECK): Rename to ... + (grub_mm_check): ... this. MAke a function-like macro and use GRUB_FILE. + +2011-03-24 Vladimir Serbinenko + + * grub-core/lib/relocator.c (allocate_inreg): Avoid dprintf unless + DEBUG_RELOCATOR is defined since gfxterm can't cope with output when + malloc is disabled. + +2011-03-24 Vladimir Serbinenko + + * grub-core/loader/i386/bsdXX.c (grub_freebsd_load_elfmodule): Account + for modules headers when counting the needed allocation size. + +2011-03-23 Vladimir Serbinenko + + * grub-core/term/gfxterm.c (calculate_normal_character_width): Return 8 + if no ASCII character is found to prevent crash. + +2011-03-23 Alexander Kurtz + + * grub-core/video/bitmap.c (match_extension): Ignore case. + +2011-03-23 Vladimir Serbinenko + + * grub-core/normal/menu_entry.c (init_line): Fix off-by-one error. + +2011-03-23 Vladimir Serbinenko + + * grub-core/script/parser.y: Declare "time" as valid argument. + +2011-03-23 Peter Jones + + Fix incorrect assert failure reporting. + + * grub-core/tests/example_functional_test.c (example_test): Add + a failure comment. + * grub-core/tests/lib/test.c (add_failure): Renamed to ... + (failure_start): ...this. Check that malloc succeeded. + Don't call xvasprintf. Return failure struct. + (failure_append_vtext): New function. + (failure_append_text): Likewise. + (add_failure): Likewise. + (grub_test_assert_helper): Likewise. + * include/grub/test.h (grub_test_assert_helper): New declaration. + (grub_test_assert): Macro rewritten. + +2011-03-23 Vladimir Serbinenko + + * grub-core/normal/main.c (GRUB_MOD_INIT): Export pager variable. + +2011-03-23 Vladimir Serbinenko + + * grub-core/lib/i386/pc/biosnum.c: Add missing include. + +2011-03-23 Vladimir Serbinenko + + * grub-core/disk/usbms.c (grub_usbms_reset): Transform USB-style error + into GRUB-style one. + +2011-03-23 Vladimir Serbinenko + + * grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Return usb-style + error and not grub_errno. + * grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise. + +2011-03-23 Vladimir Serbinenko + + * grub-core/bus/usb/uhci.c (grub_uhci_detect_dev): Return + GRUB_USB_SPEED_NONE in case of failure and not the error code. + +2011-03-23 Vladimir Serbinenko + + * grub-core/efiemu/i386/pc/cfgtables.c + (grub_machine_efiemu_init_tables): Make declaration a prototype. + * grub-core/loader/xnu.c (grub_xnu_lock): Likewise. + (grub_xnu_unlock): Likewise. + * grub-core/normal/cmdline.c (grub_cmdline_get/cl_set_pos_all): Likewise. + +2011-03-23 Vladimir Serbinenko + + * grub-core/bus/usb/usb.c (attach_hooks): Make static. + * grub-core/bus/usb/usbhub.c (hubs): Likewise. + * grub-core/commands/hashsum.c (aliases): Likewise. + * grub-core/commands/setpci.c (pci_registers): Likewise. + * grub-core/disk/usbms.c (attach_hook): Likewise. + * grub-core/fs/zfs/zfs.c (decomp_table): Likewise. + (zio_checksum_table): Likewise. + * grub-core/gettext/gettext.c (grub_gettext_msg_list): Likewise. + * grub-core/gfxmenu/gfxmenu.c (cached_view): Likewise. + * grub-core/lib/legacy_parse.c (legacy_commands): Likewise. + * grub-core/lib/relocator.c (leftovers): Likewise. + (extra_blocks): Likewise. + * grub-core/loader/i386/bsd.c (relocator): Likewise. + * grub-core/loader/i386/multiboot_mbi.c (modules): Likewise. + (modules_last): Likewise. + * grub-core/loader/i386/xnu.c (table_aliases): Likewise. + (devices): Likewise. + * grub-core/loader/multiboot_mbi2.c (modules): Likewise. + (modules_last): Likewise. + * grub-core/normal/auth.c (users): Likewise. + * grub-core/normal/context.c (initial_menu): Likewise. + (current_menu): Likewise. + * grub-core/normal/crypto.c (crypto_specs): Likewise. + * grub-core/term/serial.c (grub_serial_ports): Likewise. + (grub_serial_terminfo_input_template): Likewise. + (grub_serial_terminfo_output_template): Likewise. + (grub_serial_terminfo_input): Likewise. + (grub_serial_terminfo_output): Likewise. + (registered): Likewise. + * grub-core/term/usb_keyboard.c (attach_hook): Likewise. + +2011-03-23 Vladimir Serbinenko + + * grub-core/video/bochs.c (grub_video_bochs_setup): Use + grub_video_mode_type_t. + * grub-core/video/cirrus.c (grub_video_cirrus_setup): Likewise. + * grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Likewise. + * grub-core/video/i386/pc/vga.c (grub_video_vga_setup): Likewise. + +2011-03-23 Vladimir Serbinenko + + * util/grub-install.in: Correct the x86-64 name as x86_64. + +2011-03-11 Colin Watson + + * grub-core/boot/i386/pc/lnxboot.S (real_code_2): Ensure that the + initial chunk read from the kernel always includes GRUB's multiboot + header, which is now outside the first sector. + +2011-03-09 Colin Watson + + * grub-core/loader/i386/linux.c (find_efi_mmap_size): Page-align + cached mmap_size, so that this works correctly when called multiple + times. + Reported by: Daniel Kahn Gillmor. Should fix Debian bug #616638. + +2011-03-09 Colin Watson + + * docs/grub.texi (Simple configuration): Tidy up formatting. + +2011-03-07 Szymon Janc + + * grub-core/fs/zfs/zfs.c (zap_leaf_lookup): + Set-but-not-used variable removed. + +2011-02-12 Vladimir Serbinenko + + Workaround yet another IEEE1275 bug. + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New enum value + GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS. + * grub-core/kern/ieee1275/mmap.c (grub_machine_mmap_iterate): Ignore + adress_cells and size:cells if GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS + is set. + * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set + GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS on powermacs. + +2011-02-12 Vladimir Serbinenko + + * grub-core/partmap/msdos.c (pc_partition_map_embed): Fix off by one + error. + +2011-02-11 Colin Watson + + * util/grub.d/20_linux_xen.in: Bail out early if linux_list is + empty, since in that case we can only generate either nothing or a + syntactically invalid configuration file. + Reported by: Michal Suchanek. Fixes Debian bug #612898. + +2011-02-09 Colin Watson + + * docs/grub.texi (Kernel): Add reference to grub-mkrescue. + (Making a GRUB bootable CD-ROM): Likewise. + (Invoking grub-mkrescue): New section. + Reported by: Yann Dirson. Fixes Debian bug #612585. + +2011-02-09 Colin Watson + + * util/grub-install.in: Remove unnecessary brackets from tr + arguments. + * util/grub.d/10_hurd.in: Likewise. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + * util/grub.d/20_linux_xen.in: Likewise. + Reported by: Jamie Heilman. Fixes Debian bug #612564. + +2011-02-08 Colin Watson + + * include/grub/file.h (not_easly_seekable): Rename to ... + (not_easily_seekable): ... this. Update all users. + +2011-01-28 Colin Watson + + * docs/grub.texi (Making a GRUB bootable CD-ROM): Update to describe + grub-mkrescue. + +2011-01-24 Vladimir Serbinenko + + * util/grub-mkimage.c (generate_image): Refuse to create the images + bigger than the actual flash (512K) in Loongson machines. 512K is also + the biggest chip supported by them. + +2011-01-22 Vladimir Serbinenko + + * grub-core/kern/emu/getroot.c: Include config-util.h explicitly. + +2011-01-22 Anthony DeRobertis + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Check + super_offset field. + +2011-01-22 Vladimir Serbinenko + + * util/grub-install.in: Ignore install device on platforms + where it doesn't make sense. Always use UUIDs except on pc, efi and + sparc64. + Reported by: Daniel Kahn Gillmor. + +2011-01-22 Vladimir Serbinenko + + * grub-core/bus/bonito.c (write_bases): Fix direction of the shift. + +2011-01-22 Vladimir Serbinenko + + * grub-core/partmap/bsdlabel.c: Include grub/emu/misc.h and not grub/util/misc.h. + (iterate_real): Don't rely on partition being non-NULL. + +2011-01-22 Vladimir Serbinenko + + * grub-core/script/argv.c (round_up_exp): unsigned is 32-bit on all + supported platforms. Put a compile time assert for this rather than + generate a warning with 32-bit shift. + +2011-01-22 Vladimir Serbinenko + + * grub-core/disk/scsi.c (grub_scsi_read): Fix binary and check and make + logical expression more readable. + +2011-01-22 Vladimir Serbinenko + + * grub-core/disk/raid.c (insert_array): Ensure uniqueness of p->number + even if some elements have a name. + Reported by: Alexander GQ Gerasiov. + +2011-01-22 Colin Watson + + * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Consider a + path unreadable if `grub-probe -t abstraction' fails, for example if + memberlist fails on an LVM volume group. + Reported by: Darius Jahandarie. + +2011-01-22 Colin Watson + + * docs/grub.texi (Simple configuration): Document + GRUB_PRELOAD_MODULES. + +2011-01-17 Colin Watson + + * .bzrignore: Remove nonexistent grub-pbkdf2. + +2011-01-16 Vladimir Serbinenko + + * configure.ac: Bump version to 1.99~rc1. + +2011-01-15 Vladimir Serbinenko + + * util/grub-mkimage.c (generate_image): Check fwstart.img checksum + for safety. + +2011-01-14 Vladimir Serbinenko + + * grub-core/kern/mips/yeeloong/init.c (grub_machine_init): Init boot + module. + +2011-01-14 Vladimir Serbinenko + + * grub-core/Makefile.core.def (fwstart): Add lost LDFLAGS. + +2011-01-13 Vladimir Serbinenko + + * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Quote bootpath and + diskdevid. + +2011-01-13 Vladimir Serbinenko + + Fix compilation on cygwin. + + * conf/Makefile.common (STRIPFLAGS_KERNEL): Add -F elf32-i386 and + -R .drectve on cygwin. + * conf/i386-pc-cygwin-img-ld.sc: Merge rdata and pdata into data. + * configure.ac: Use $(top_builddir) in TARGET_OBJ2ELF. + (COND_CYGWIN): New condition. + * grub-core/Makefile.am (%.mod): Set TARGET_OBJ2ELF. + * grub-core/genmod.sh.in: Use ${TARGET_OBJ2ELF} and + not @TARGET_OBJ2ELF@. + * util/grub-pe2elf.c (write_symbol_table): Use pe_symtab->type and not + type to determine whether aux is to be used. + +2011-01-12 Vladimir Serbinenko + + * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Use the + realpath'ed device string. + Handle floppy (somewhat). + Issue error in unknown case rather than garbage. + Reported by: Axel Beckert. + +2011-01-12 Vladimir Serbinenko + + * util/grub.d/00_header.in (load_video): Handle the case when no video + drivers available. + Thanks to: Axel Beckert. + +2011-01-12 Vladimir Serbinenko + + * util/grub-mkfont.c (write_font_pf2): Use appropriate type for data + variable. Fixes problem on big endian platforms. + +2011-01-12 Vladimir Serbinenko + + * grub-core/Makefile.core.def (ieee1275_fb): Disable on sparc. + It doesn't work well there. + +2011-01-12 Vladimir Serbinenko + + * grub-core/normal/context.c (grub_env_context_close): Silence spurious + warning. + * grub-core/normal/menu.c (grub_menu_execute_entry): Likewise. + * grub-core/partmap/msdos.c (pc_partition_map_embed): Use unsigned + counter. + +2011-01-12 Vladimir Serbinenko + + Use alias->path rather than buggy "canon". + + * grub-core/disk/ieee1275/ofdisk.c (ofdisk_hash_add_real): New function. + (ofdisk_hash_add): New argument curcan. All users updated. + +2011-01-11 Colin Watson + + * configure.ac: Fall back to `true' if `makeinfo' does not exist. + +2011-01-11 Vladimir Serbinenko + + * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_load32): Apply + loadmask before doing any calculations. Use correct type for offset. + (grub_linux_load64): Likewise. + +2011-01-11 Colin Watson + + * util/grub-mklayout.c (console_grub_equivalences_shift): Terminate + with NULL. + (console_grub_equivalences_unshift): Likewise. + Reported by: Daniel Dehennin. + +2011-01-11 Vladimir Serbinenko + + * grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable. + (set_env_limn_ro): Likewise. + (GRUB_MOD_INIT): Likewise. + * grub-core/hook/datehook.c (GRUB_MOD_INIT): Likewise. Change to + ARRAY_SIZE while on it. + (GRUB_MOD_FINI): Change to ARRAY_SIZE. + * grub-core/normal/context.c (grub_env_export): Move from here ... + * grub-core/kern/env.c (grub_env_export): ... here. + * grub-core/normal/context.c (grub_cmd_export): Skip exporting root and + prefix. + * grub-core/kern/main.c (grub_main): Export root and prefix. + * include/grub/env.h (grub_env_export): Export. + Reported by: Seth Goldberg. + +2011-01-11 Vladimir Serbinenko + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): + Take into account space used by ELF sections and multiboot palette. + Reported by: Grégoire Sutre. + +2011-01-11 Vladimir Serbinenko + + * BUGS: New file. + +2011-01-10 Vladimir Serbinenko + + Pass more appropriate video id to Linux. + + * grub-core/loader/i386/linux.c (grub_linux_setup_video): Use + grub_video_get_driver_id and variable gfxpayloadforcelfb to + fill have_vga. + (grub_linux_boot): Rely on grub_linux_setup_video to fill have_vga and + shift params->lfb_size. + * include/grub/i386/linux.h: Make an enume out of have_vga values. + +2011-01-10 Vladimir Serbinenko + + * util/grub-menulst2cfg.c: Add missing include of misc.h. + +2011-01-10 Vladimir Serbinenko + + * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Use comma as + separator and pass bootpath/devid even if only one of them is available. + Reported by: Seth Goldberg. + +2011-01-10 Vladimir Serbinenko + + Don't use post-4G memory on EFI even if 64-bit since some non-compliant + implementations bug on them. + + * grub-core/kern/efi/mm.c (grub_efi_allocate_pages): Skip post-4G + memory. + (filter_memory_map): Likewise. + +2011-01-10 Vladimir Serbinenko + + * util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables. + Reported by: nebuchadnezzar. + +2011-01-10 Vladimir Serbinenko + + * util/grub-kbdcomp.in: Add missing transform and bindir variables. + Reported by: nebuchadnezzar. + +2011-01-10 Vladimir Serbinenko + + Submenu default support. + + * grub-core/normal/menu.c (grub_menu_execute_entry): New parameter + auto_boot. All users updated. + Declared static. + Handle chosen and default with submenus. + (grub_menu_execute_with_fallback): Declared static. + Don't notify failure if autobooted. Upper level does it. + (menuentry_eq): New function. + (get_entry_number): Use menuentry_eq. + (show_menu): New parameter "autobooted". All users updated. + (grub_show_menu): Likewise. + * include/grub/normal.h (grub_show_menu): Likewise. + * include/grub/menu.h (grub_menu_execute_entry): Removed. + (grub_menu_execute_with_fallback): Likewise. + +2011-01-10 Vladimir Serbinenko + + * util/grub-mklayout.c (usage): Update help text. + +2011-01-10 Vladimir Serbinenko + + * grub-core/commands/legacycfg.c (legacy_file): Trim the line. + +2011-01-10 Vladimir Serbinenko + + * util/grub-menulst2cfg.c (main): Trim the line. + +2011-01-10 Vladimir Serbinenko + + * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed. + (grub_machine_init): Don't check amount of low memory as reportedly + INT 12h can be broken and if low memory is too low we wouldn't have + gotten into grub_machine_init anyway. + +2011-01-10 Vladimir Serbinenko + + * grub-core/kern/i386/pc/mmap.c (grub_get_conv_memsize): New function. + (grub_machine_mmap_iterate): Take low memory into account + +2011-01-10 Vladimir Serbinenko + + * grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into + badfs. + Reported by: TiCPU. + +2011-01-10 Vladimir Serbinenko + + * grub-core/disk/raid.c (insert_array): Display RAID name in duplicate + members errors. + +2011-01-09 Grégoire Sutre + + * util/grub.d/10_netbsd.in (netbsd_load_fs_module): New function. + (netbsd_entry): Use netbsd_load_fs_module() to load filesystem module. + +2011-01-09 Grégoire Sutre + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Handle + openbsd and netbsd types being in part_bsd module. + +2011-01-08 Vladimir Serbinenko + + * config.h.in (_LARGEFILE_SOURCE): Add missing define. + (_FILE_OFFSET_BITS): Likewise. + Reported by: Seth Goldberg. + +2011-01-08 Grégoire Sutre + + * configure.ac: Check for libdevmapper header. + +2011-01-08 Vladimir Serbinenko + + * grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to + avoid aliasing. + (fzap_lookup): Likewise. + (dnode_get): Likewise. + (make_mdn): Likewise. + (zfs_mount): Likewise. + (fzap_iterate): Use temporary pointer to avoid aliasing. + (grub_zfs_read): Likewise. + * grub-core/loader/i386/xnu.c (grub_xnu_boot): Likewise. + * grub-core/loader/xnu.c (grub_cmd_xnu_kernel): Use void * for some + pointers to avoid aliasing. + (grub_cmd_xnu_kernel64): Likewise. + (grub_xnu_load_driver): Likewise. + +2011-01-08 Vladimir Serbinenko + + * grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence + aliasing warning. + (grub_cmd_terminal_output): Likewise. + Reported and tested by: Grégoire Sutre. + +2011-01-08 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious + warning. + Reported and tested by: Grégoire Sutre. + +2011-01-08 Vladimir Serbinenko + + * configure.ac: Do CPU substitution even if it's specified explicitly. + Reported and tested by: Alain Greppin. + +2011-01-08 Vladimir Serbinenko + + * grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os. + Reported and tested by: Alain Greppin. + +2011-01-08 Vladimir Serbinenko + + Satisfy some bison versions need for inttypes.h. + + * grub-core/lib/posix_wrap/inttypes.h: New file. + * grub-core/lib/posix_wrap/sys/types.h (int8_t): New type. + (int16_t): Likewise. + (int32_t): Likewise. + (int64_t): Likewise. + Reported and tested by: Alain Greppin. + +2011-01-08 Vladimir Serbinenko + + * grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta): + Silence spurious warning. + Reported and tested by: Alain Greppin. + +2011-01-07 Szymon Janc + + * docs/grub.texi (Support automatic decompression): Update with xz + decompression support. + +2011-01-07 Szymon Janc + + Improve loaders' kernel command line handling. + + * grub-core/lib/cmdline.c: New file. + * include/grub/lib/cmdline.h: Likewise. + * grub-core/loader/i386/linux.c (grub_cmd_linux): Use + grub_create_loader_cmdline to create kernel command line. + * grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise. + * grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Likewise. + * grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_linux): Likewise. + * grub-core/Makefile.core.def (linux16): Add lib/cmdline.c on i386_pc. + (linux): Add lib/cmdline.c on common. + +2011-01-07 Vladimir Serbinenko + + * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that + inopos might be unaligned. + +2011-01-07 Vladimir Serbinenko + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing + endian transformations. + * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise. + Based on report by: Doug Nazar. + +2011-01-07 Doug Nazar + + * grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing + array->members[i].start_sector. + * grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise. + +2011-01-07 Vladimir Serbinenko + + * util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels. + Reported and tested by: Grégoire Sutre. + +2011-01-06 Colin Watson + + * tests/util/grub-shell.in: Set serial terminfo type to `dumb', to + avoid causing test failures by clearing the screen. + +2011-01-06 Colin Watson + + * grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo): + Fix prefix check to handle the case where dir ends with a slash + (most significantly, "/" itself). + Reported by: Michael Vogt. + +2011-01-05 Vladimir Serbinenko + + Run terminfo_cls on initing terminfo output to clear the screen and + move the cursor to (0,0). + + * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_init_output): + Call grub_terminfo_output_init. + * grub-core/term/serial.c (grub_serial_term_output): Set .init. + * grub-core/term/terminfo.c (grub_terminfo_output_init): New function. + * include/grub/terminfo.h (grub_terminfo_output_init): New declaration. + +2011-01-05 Vladimir Serbinenko + + * util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr + only when needed. + +2011-01-05 Vladimir Serbinenko + + * grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with + CTRL. + +2011-01-05 Vladimir Serbinenko + + The E820 type 5 is BADRAM, not EXEC_CODE. + + * grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed. + (GRUB_E820_BADRAM): New define. + * grub-core/loader/i386/linux.c (grub_linux_boot): Translate code + into reserved. Propagate BADRAM. + * grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed. + (GRUB_E820_BADRAM): New define. + +2011-01-04 Vladimir Serbinenko + + * grub-core/lib/efi/relocator.c (grub_relocator_firmware_fill_events): + Ignore the memory post-4G. + (grub_relocator_firmware_alloc_region): Additional debug statement. + +2011-01-04 Vladimir Serbinenko + + * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Check md/%s + names. + Reported by: David Pravec. + +2011-01-04 Vladimir Serbinenko + + * grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Workaround buggy + BIOSes. + +2011-01-04 Vladimir Serbinenko + + * grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy): + Prevent overflow. + (grub_reed_solomon_recover): Likewise. + +2011-01-04 Vladimir Serbinenko + + * grub-core/lib/reed_solomon.c (main) [TEST]: Reactivate normal test. + +2011-01-04 Vladimir Serbinenko + + * grub-core/lib/reed_solomon.c (scratch) [! STANDALONE]: Remove leftover + variable. + +2011-01-04 Colin Watson + + * grub-core/commands/legacycfg.c (GRUB_MOD_INIT): Fix typo in + descriptions of extract_legacy_entries_source and + extract_legacy_entries_configfile. + Reported by: Seung Soo, Ha. + +2011-01-03 Colin Watson + + * grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functions + on devices that do not implement function 0. + +2011-01-03 Dave Vasilevsky + + * grub-core/fs/hfsplus.c: Make parent unsigned. + (grub_hfsplus_cmp_catkey): Don't compare using subtraction, it + overflows. + (grub_hfsplus_cmp_extkey): Likewise + +2011-01-03 Vladimir Serbinenko + + * util/grub-install.in: Correctly use bootloader_id and not + GRUB_DISTRIBUTOR on efibootmgr line. + +2011-01-03 Vladimir Serbinenko + + * util/grub-mkfont.c (main): Report errors in FT_New_Face. + +2010-12-31 Ian Campbell + + * util/grub.d/20_linux_xen.in (linux_entry): Correctly capitalize + Xen and reorder menu item wording to make it clearer that this entry + will launch Xen. Print separate messages when loading Xen and + Linux. + +2010-12-31 Vladimir Serbinenko + + * grub-core/partmap/amiga.c (GRUB_AMIGA_PART_MAGIC): New define. + (amiga_partition_map_iterate): Check "PART" magic to avoid a very long + loop in case of incorrect amiga partmap. + +2010-12-31 Vladimir Serbinenko + + * grub-core/partmap/amiga.c (GRUB_AMIGA_RDSK_MAGIC): New define. + (amiga_partition_map_iterate): Use grub_memcmp instead of grub_strcmp. + Reported by:EHeM. + +2010-12-31 Vladimir Serbinenko + + * grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence + spurious warning. + Reported by: crocket + +2010-12-27 Vladimir Serbinenko + + * grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]: + Preload EFIemu. + (grub_cmd_xnu_kernel64) [! GRUB_MACHINE_EFI]: Likewise. + +2010-12-27 Vladimir Serbinenko + + * grub-core/loader/xnu.c (grub_cmd_xnu_kext): Abort if no kernel + is loaded + (grub_cmd_xnu_kextdir): Likewise. + (grub_cmd_xnu_splash): Likewise. + +2010-12-27 Vladimir Serbinenko + + Avoid using Reed-Solomon with 0 redundancy. + + * grub-core/kern/i386/pc/startup.S: Remove 0-data check. + * grub-core/lib/reed_solomon.c (decode_block): Do not proceed on 0 data + or 0 redundancy. + (grub_reed_solomon_add_redundancy): Do not proceed with 0 redundancy. + (grub_reed_solomon_recover): Likewise. + +2010-12-27 Vladimir Serbinenko + + Don't use disk subsystem in freebsd_boot. + + * grub-core/loader/i386/bsd.c (freebsd_bootdev): New variable. + (freebsd_biosdev): Likewise. + (grub_freebsd_boot): Use freebsd_bootdev and freebsd_biosdev. + (grub_cmd_freebsd): Set freebsd_bootdev and freebsd_biosdev. + +2010-12-26 Vladimir Serbinenko + + Handling of files of unknown size is currently limited. They can't be + used e.g. for initrd or modules. Moreover gzip handling of not + easily seekable files is buggy. Disable unknown file size for now. May + be inefficient but works. + + * grub-core/io/gzio.c (test_header): Always retrieve the file size. + * grub-core/io/xzio.c (grub_xzio_open): Likewise. + +2010-12-25 Mirko Parthey + + * grub-core/boot/i386/pc/boot.S: Fix %es:%bx pointing to nowhere on + floppy probe. + +2010-12-25 Jeroen Dekkers + + * grub-core/disk/raid.c (insert_array): Don't add spurious members. + +2010-12-25 Shea Levy + + * grub-core/genmod.sh.in: Use @OBJCOPY@ rather than objcopy. + +2010-12-25 Vladimir Serbinenko + + * util/grub.d/30_os-prober.in: Don't emit drivemap directive for + Windows Server 2008. + Reported by: Devin Giddings. + +2010-12-25 Vladimir Serbinenko + + * grub-core/commands/acpihalt.c (grub_acpi_halt): Sleep for 1.5 before + writing an error message because of async power management. + * grub-core/kern/mips/yeeloong/init.c (grub_halt): Likewise. + (grub_reboot): Likewise. + +2010-12-23 Jordan Uggla + + * tests/util/grub-shell.in: Suppress "ACPI shutdown failed" error to + keep unit tests from failing when they shouldn't. + +2010-12-21 Colin Watson + + * include/grub/offsets.h (GRUB_KERNEL_I386_PC_RAW_SIZE): The + previous patch increased the size of the RS code by 20 bytes (at + least with gcc-4.4), so increase this by 20 bytes to match. + (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): Likewise. + +2010-12-21 Colin Watson + + * grub-core/lib/reed_solomon.c (gauss_solve): Fix size of standalone + scratch area. Make sure to initialise chosen in standalone mode as + well as non-standalone. + Reported by: Robert Hooker and Andy Whitcroft. + Tested by: Andy Whitcroft. + +2010-12-21 Colin Watson + + * grub-core/commands/echo.c (grub_cmd_echo): Make UTF-8-clean by + constructing a new unescaped string and passing it to grub_xputs in + one go, rather than passing characters to grub_printf one at a time. + +2010-12-21 Colin Watson + + * grub-core/fs/udf.c (read_string): Pacify GCC warning by + initialising utf16. + +2010-12-21 Colin Watson + + * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying + comment. Add an extra layer of quotation, requiring the output of + this function to be used in a printf format string. + (gettext_printf): New function. + * util/grub.d/10_hurd.in: Use gettext_printf where appropriate. + Extract translatable strings from here-documents and use a temporary + variable instead, so that xgettext can find them. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + * util/grub.d/20_linux_xen.in: Likewise. + + * po/grub.d.sed: New file. + * po/Makefile.in.in ($(DOMAIN).pot-update): Extract gettext_printf + arguments. Set c-format flags on all strings extracted from + util/grub.d/ (xgettext refuses to include these itself for strings + it extracted from a shell file, but these really are c-format). + +2010-12-20 Vladimir Serbinenko + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_add_module): + Avoid next pointing to nowhere. + +2010-12-19 Vladimir Serbinenko + + * grub-core/fs/affs.c (grub_affs_mount): Read data->bblock.rootblock + rather than assuming than rootblock is exactly in the middle. + (grub_affs_label): Likewise. + +2010-12-19 Vladimir Serbinenko + + * grub-core/fs/affs.c (grub_affs_fs) [GRUB_UTIL]: Explicitly set + reserved_first_sector to 0. + * grub-core/fs/cpio.c (grub_cpio_fs) [GRUB_UTIL]: Likewise. + * grub-core/fs/sfs.c (grub_sfs_fs) [GRUB_UTIL]: Likewise. + * grub-core/fs/xfs.c (grub_xfs_fs) [GRUB_UTIL]: Likewise. + +2010-12-19 Vladimir Serbinenko + + Fix handling of UTF-16 UDF labels. + + * grub-core/fs/udf.c (grub_udf_iterate_dir): Move string-parsing part + (read_string): .. here. + (grub_udf_label): Use read_string. + +2010-12-19 BVK Chaitanya + + * grub-core/normal/menu_entry.c (run): Execute commands from menu + editor under argument scope. + Reported by: Jordan Uggla + +2010-12-18 Vladimir Serbinenko + + * util/grub-mkfont.c (main): Handle errors from FT_Set_Pixel_Sizes. + +2010-12-18 Colin Watson + + * grub-core/normal/term.c (print_more): Make \r or \n scroll one + line, and other keys scroll an entire page (previous handling was + for \r and \n to scroll a page and other keys to scroll two lines). + +2010-12-18 Vladimir Serbinenko + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi): + Set ptrdest to correct get_physical_target_address rather than + incorrect get_virtual_current_address. + +2010-12-18 kashyap garimella + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_load): Use + correct cat to grub_uint8_t * rather than grub_uint32_t *. + +2010-12-10 Colin Watson + + * .bzrignore: Ignore grub-core/rs_decoder.S. + +2010-12-10 Colin Watson + + * grub-core/gettext/gettext.c (grub_gettext_init_ext): Factor out + .mo/.mo.gz opening sequence to ... + (grub_mofile_open_lang): ... here. + (grub_gettext_init_ext): If opening ll_CC fails, try ll. + * util/grub.d/00_header.in (grub_lang): Include country part of + locale. + Reported by: Mario Limonciello. + +2010-12-09 Robert Millan + + * NEWS: Document addition of ZFS support. + +2010-12-04 Colin Watson + + * grub-core/kern/i386/pc/startup.S (grub_console_getkey): Use `>> 1' + rather than `/ 2', as the latter requires -Wa,--divide which would + require bumping our minimum binutils version. + +2010-12-03 BVK Chaitanya + + * util/grub-script-check.c (main): Print script line number on + error. + +2010-12-01 Robert Millan + + * grub-core/fs/zfs/zfs.c: New file. + * grub-core/fs/zfs/zfs_fletcher.c: Likewise. + * grub-core/fs/zfs/zfs_lzjb.c: Likewise. + * grub-core/fs/zfs/zfs_sha256.c: Likewise. + * grub-core/fs/zfs/zfsinfo.c: Likewise. + + * include/grub/zfs/dmu.h: Likewise. + * include/grub/zfs/dmu_objset.h: Likewise. + * include/grub/zfs/dnode.h: Likewise. + * include/grub/zfs/dsl_dataset.h: Likewise. + * include/grub/zfs/dsl_dir.h: Likewise. + * include/grub/zfs/sa_impl.h: Likewise. + * include/grub/zfs/spa.h: Likewise. + * include/grub/zfs/uberblock_impl.h: Likewise. + * include/grub/zfs/vdev_impl.h: Likewise. + * include/grub/zfs/zap_impl.h: Likewise. + * include/grub/zfs/zap_leaf.h: Likewise. + * include/grub/zfs/zfs.h: Likewise. + * include/grub/zfs/zfs_acl.h: Likewise. + * include/grub/zfs/zfs_znode.h: Likewise. + * include/grub/zfs/zil.h: Likewise. + * include/grub/zfs/zio.h: Likewise. + * include/grub/zfs/zio_checksum.h: Likewise. + + * Makefile.util.def: Build ZFS into libgrubmods. + * grub-core/Makefile.core.def: Build zfs.mod. + +2010-11-30 Szymon Janc + + * grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused + variable. + * grub-core/commands/wildcard.c (match_files): Likewise. + +2010-11-30 Robert Millan + + * grub-core/loader/i386/bsd.c + (grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module_elf): Check + whether kernel is loaded using grub_loader_is_loaded(), rather + than `kernel_type', which may still be `KERNEL_TYPE_NONE' under + certain error conditions. + +2010-11-30 Robert Millan + + * grub-core/commands/echo.c: Include `'. + (grub_cmd_echo): Call grub_refresh() after printing a message. + +2010-11-26 Vladimir Serbinenko + + Avoid using tricks for initialising endian variables. + + * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot): + Make const. + (GRUB_MOD_INIT): Don't byte-swap. + * include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT): + Use grub_cpu_to_le16_compile_time and grub_cpu_to_le32_compile_time. + * include/grub/types.h (grub_swap_bytes16_compile_time): New macro. + (grub_swap_bytes32_compile_time): Likewise. + (grub_cpu_to_le32_compile_time): Likewise. + (grub_cpu_to_le16_compile_time): Likewise. + +2010-11-26 Vladimir Serbinenko + + * util/grub-setup.c (setup): Stop recommending --force. People who + understand the dangers of blocklists are able to find this option + anyway and the ones who don't shouldn't use it anyway. + +2010-11-26 Robert Millan + + * grub-core/term/i386/pc/vga_text.c (VGA_TEXT_SCREEN): Beautify. + Update all users. + +2010-11-26 Colin Watson + + Fix LVM-on-RAID probing. + + * util/grub-probe.c (probe): Remember which disk was detected as + RAID (perhaps an LVM physical volume). Use that disk's raidname + rather than that of the top-level disk. + +2010-11-25 BVK Chaitanya + + Fix cmdline argument quotes for setparams command of menuentry + definitions. + + * grub-core/commands/menuentry.c (setparams_prefix): Use single + quotes for arguments. + * grub-core/lib/legacy_parse.c (grub_legacy_escape): Use + grub_strchrsub function instead. + + * include/grub/misc.h (grub_strchrsub): New function. + +2010-11-24 Colin Watson + + * util/deviceiter.c (grub_util_iterate_devices): Save a bit of + effort by skipping "." and ".." entries up-front. + Suggested by: Michael Lazarev. + +2010-11-24 Colin Watson + + * grub-core/Makefile.core.def (xz_decompress): Move -lgcc from + ldflags to ldadd, to fix link line ordering. + (none_decompress): Likewise. + +2010-11-24 Colin Watson + + * grub-core/Makefile.core.def (kernel): Add kern/emu/cache.S for emu + platforms. + (grub-emu-lite): Remove kern/emu/cache.S. + +2010-11-23 Colin Watson + + * util/deviceiter.c (compare_devices): If the by-id link for a + device couldn't be resolved, fall back to sorting by the by-id link + rather than segfaulting. + Reported and tested by: Daniel Mierswa. + +2010-11-23 Colin Watson + + * Makefile.util.def (grub-menulst2cfg): List libraries in ldadd, not + ldflags, to fix link line ordering. + +2010-11-23 Colin Watson + + * grub-core/Makefile.am (gentrigtables): Put -lm after $<; some + linkers are picky about this. + +2010-11-23 Colin Watson + + * grub-core/Makefile.am (command.lst): Adjust sed expression + ordering so that extended and priority commands aren't treated as + ordinary commands. + +2010-11-23 Colin Watson + + * include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_BIOS_BOOT): + Remove byte-swapping function calls, which are not valid in + structure initialisers. + * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot): Make + non-const. + (GRUB_MOD_INIT): Byte-swap data1, data2, and data3 fields of + grub_gpt_partition_type_bios_boot. + +2010-11-22 Colin Watson + + Fix test program build on GNU/kFreeBSD. + + * Makefile.util.def (example_unit_test): Add `$(LIBZFS) + $(LIBNVPAIR)' library dependencies. + +2010-11-22 Colin Watson + + * util/grub-install.in: Fix parsing of --grub-mkrelpath= option. + +2010-11-22 Colin Watson + + * util/grub-install.in: Remove excessive quoting that broke + installations to RAID devices. + +2010-11-19 Vladimir Serbinenko + + * grub-core/loader/i386/linux.c (grub_cmd_linux): Pass correctly the + bootloader version instead of 0. + +2010-11-19 Vladimir Serbinenko + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Fix spurious + warning. + +2010-11-19 Vladimir Serbinenko + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Don't try to + retrieve the metadat sector if size isn't known. + * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise. + +2010-11-18 Robert Millan + + * grub-core/fs/btrfs.c (grub_btrfs_mount): Replace grub_strncmp() + with grub_memcmp(). + +2010-11-18 Vladimir Serbinenko + + * grub-core/normal/menu_entry.c (print_up): Fix displacement of up + arrow. + Reported by: Jordan Uggla. + +2010-11-16 Vladimir Serbinenko + + Make better UTF compliant. + + * grub-core/normal/charset.c (grub_utf8_to_utf16): Handle 6- and 7-byte + sequences as incorrect. + (grub_is_valid_utf8): Likewise. + (grub_utf8_to_ucs4): Likewise. + (grub_ucs4_to_utf8): Handle codepoints outside of BMP. + (grub_ucs4_to_utf8_alloc): Likewise. + * include/grub/charset.h (grub_utf16_to_utf8): Likewise. + +2010-11-16 Vladimir Serbinenko + + Make legacy_source behave like source. + + * grub-core/commands/legacycfg.c (legacy_file): Don't call + grub_show_menu. + (grub_cmd_legacy_source): Call grub_show_menu if needed. + +2010-11-16 Colin Watson + + * conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter. + (-Wunused implies -Wunused-parameter, but not vice versa). + +2010-11-16 Colin Watson + + * configure.ac: Make error messages less confusing by testing for + -Wtrampolines rather than -Wno-trampolines (since -Wno-* is always + accepted, but produces a diagnostic if something else is wrong). + +2010-11-15 Vladimir Serbinenko + + * grub-core/term/at_keyboard.c (grub_keyboard_controller_read) + [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: ifdef-ed out + (now unused). + (grub_keyboard_controller_init) + [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_QEMU]: Don't attempt to + read the initial state since controller isn't inited yet. + +2010-11-15 Vladimir Serbinenko + + * grub-core/lib/relocator.c (malloc_in_range): Take into account that + allocate_regbeg may need to create new chunk header. + +2010-11-14 Vladimir Serbinenko + + Fix quoting in legacy parser. + + * grub-core/lib/legacy_parse.c (grub_legacy_escape): Correctly handle + single quotes. + (grub_legacy_parse): Likewise. + Reported by: Jordan Uggla. + Tested by: Jordan Uggla. + +2010-11-14 Vladimir Serbinenko + + Don't add -lgcc on i386 and x86_64. + + * configure.ac (LIBS): Don't add -lgcc on i386 and x86_64. + * conf/Makefile.common (LDADD_KERNEL): Likewise. + * grub-core/Makefile.core.def (kernel): Use LDADD_KERNEL. + +2010-11-14 Vladimir Serbinenko + + * configure.ac: Add -Wno-trampolines when supported. + +2010-11-14 Modestas Vainius + + * grub-core/kern/emu/getroot.c (grub_util_is_dmraid): Recognise ddf1_ + fakeraid. + +2010-11-14 Giuseppe Caizzone + + Add generic logical block size support for UDF. + + * grub-core/fs/udf.c (GRUB_UDF_LOG2_BLKSIZE): Removed. + (GRUB_UDF_BLKSZ): Removed. + (struct grub_udf_data): New field "lbshift" to hold the logical block + size of the file system in log2 format. All users updated. + (sblocklist): Change type to unsigned. + (grub_udf_mount): Change type of "sblklist" to unsigned. + Move AVDP search before VRS recognition, because the latter requires + knowledge of the logical block size, which is detected during the + former. + Detect and validate logical block size during AVDP search, adding + support for block sizes 512, 1024 and 4096. + Make VRS recognition independent of block size. + +2010-11-14 Giuseppe Caizzone + + Properly handle deleted files on UDF. + + * grub-core/fs/udf.c (grub_udf_iterate_dir): Skip directory entries + whose "characteristics" field has the bit GRUB_UDF_FID_CHAR_DELETED + set. + +2010-11-14 Giuseppe Caizzone + + Support reading files larger than 2 GiB. + + * grub-core/fs/udf.c (grub_udf_iterate_dir): Change type of variable + "offset" to grub_off_t. + (grub_udf_read_file): Likewise for parameter "pos". + +2010-11-14 Vladimir Serbinenko + + * docs/grub.texi (Changes from GRUB Legacy): Note when save_env is + unavailable. + (Simple configuration): Refer to Changes from GRUB Legacy about + save_env availability. + +2010-11-14 Vladimir Serbinenko + + * util/grub-install.in: Ignore empty partition table detection + instead of trying to include part_ module. + +2010-11-14 Vladimir Serbinenko + + * grub-core/disk/lvm.c (GRUB_MOD_FINI): Reset the vg_list. Fixes + LVM on RAID support. + +2010-11-14 Vladimir Serbinenko + + Properly define WORDS_BIGENDIAN in wrapped environments. + + * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): New + definition. + * grub-core/lib/posix_wrap/sys/types.h (WORDS_BIGENDIAN): Likewise. + + Reported by: Manoel Rebelo Abranches. + Tested by: Manoel Rebelo Abranches. + +2010-11-13 Vladimir Serbinenko + + * util/grub-mkconfig.in: Fix quoting. + +2010-11-13 Vladimir Serbinenko + + Support big ext2 files. + + * grub-core/fs/ext2.c (grub_ext2_inode): Rename dir_acl to size_high. + (grub_ext2_read_block): Support triple indirect blocks. + (grub_ext2_read_file): Use 64-bit types and read size_high. + (grub_ext2_open): Read size_high. + Reported by: Ximin Luo. + Tested by: Manoel Rebelo Abranches. + +2010-11-13 Vladimir Serbinenko + + * util/grub-install.in: Handle filenames containing spaces. + Reported by: Jordan Uggla. + Tested by: Jordan Uggla. + +2010-11-13 Vladimir Serbinenko + + * util/grub-mkconfig.in (grub_script_check): New variable. + Use grub_script_check instead of grub-script-check. + Reported by: Barry Jackson. + +2010-11-13 Vladimir Serbinenko + + * docs/grub.texi (menu): Correct the order. + Reported by: D. Hugh Redelmeier. + +2010-11-12 Vladimir Serbinenko + + * grub-core/kern/i386/pc/startup.S (multiboot_trampoline): Add missing + jump. + +2010-11-08 Manoel Rebelo Abranches + + * include/grub/elfload.h (grub_elf32_size): New parameter. + All users updated. + Return maximum segments alignment. + (grub_elf64_size): Likewise. + * kern/elf.c (grub_elf32_size): New parameter. All users updated. + Return maximum segments alignment. + (grub_elf64_size): Likewise. + * grub-core/loader/powerpc/ieee1275/linux.c: + (grub_linux_claimmap_iterate): New function. Uses the + "available" property in the "memory" node for memory allocation + for kernel in the PowerPC loader. + (grub_linux_load32): Correctly find linux entry point offset. + (grub_linux_load64): Likewise. + +2010-11-07 Robert Millan + + On mips-yeeloong, build with -march=loongson2f when this flag is + available (GCC >= 4.4). + * conf/Makefile.common [COND_mips_yeeloong] (CFLAGS_PLATFORM): Remove + `-march=mips3'. + * configure.ac: For mips-yeeloong, add -march=loongson2f if available, + or otherwise add -march=mips3. + +2010-11-07 BVK Chaitanya + + Suppress shell expansion on echo '*' and echo "*" like cases. + Reported by: Jordan Uggla. + + * grub-core/script/execute.c (grub_script_arglist_to_argv): Escape + string arguments before shell expansion. + * tests/grub_cmd_echo.in: New testcases. + +2010-11-07 Robert Millan + + * conf/mips-qemu-mips.rmk: Remove stale file from previous + transition. + +2010-11-07 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c + (convert_system_partition_to_system_disk): Handle devices like "sdaa1". + +2010-11-06 Vladimir Serbinenko + + * include/grub/emu/misc.h: Don't include grub/util/libzfs.h. + * include/grub/emu/misc.h (grub_get_libzfs_handle): Move from here ... + * include/grub/util/libzfs.h (grub_get_libzfs_handle): ... here. + +2010-11-06 Vladimir Serbinenko + + * grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase. + +2010-11-06 Vladimir Serbinenko + + * util/grub-install.in: Replace useless recomendation to pass + --modules with a recomendation to report a bug. + +2010-11-06 Vladimir Serbinenko + + Properly register serial terminfo. + Reported by: Jordan Uggla + + * grub-core/term/serial.c (grub_serial_terminfo_input_template): New + const. + (grub_serial_terminfo_output_template): Likewise. + (grub_cmd_serial): Register "serial" with terminfo. + (GRUB_MOD_INIT(serial)): Fill grub_serial_terminfo_input and + grub_serial_terminfo_output. + +2010-11-05 Robert Millan + + * util/grub-mkconfig.in: Remove gfxterm.mod probe (no longer + needed). + +2010-11-05 Robert Millan + + On Yeeloong, pass machine type information to Linux. + + * grub-core/loader/mips/linux.c [GRUB_MACHINE_MIPS_YEELOONG] + (LOONGSON_MACHTYPE): New macro, set to + "machtype=lemote-yeeloong-2f-8.9inches". + [LOONGSON_MACHTYPE] (grub_cmd_linux): Pass LOONGSON_MACHTYPE as + additional argument to Linux. + +2010-11-04 Robert Millan + + * util/deviceiter.c (grub_util_iterate_devices): Increase SCSI + limit to 48 (to cope with Sun Fire X4500), and IDE limit to 96 + (its SATA disks are detected as slaveless IDE master drives on + kFreeBSD). + Reported by Carsten Aulbert. + +2010-11-02 Colin Watson + + * util/bin2h.c (main): Fix spelling error in generated output. + +2010-11-01 Grégoire Sutre + + * grub-core/partmap/bsdlabel.c (iterate_real): Fix an integer overflow. + +2010-11-01 Vladimir Serbinenko + + * grub-core/loader/i386/linux.c (grub_cmd_linux): Autoload vbe.mod if + vga= option is supplied. + +2010-11-01 Vladimir Serbinenko + + * util/grub.d/10_hurd.in: Don't call savedefault on recovery entries. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + * util/grub.d/20_linux_xen.in: Likewise. + +2010-11-01 Vladimir Serbinenko + + * grub-core/lib/arg.c (grub_arg_parse): Avoid interpreting direct + argument as an argument to no-argument option. + +2010-11-01 Vladimir Serbinenko + + * util/grub.d/10_linux.in: Add missing load_video with explicit + GRUB_GFXPAYLOAD_LINUX. + +2010-11-01 Vladimir Serbinenko + + * Makefile.am (libgrub.pp): Propagate the libgrub.a split. + +2010-11-01 Vladimir Serbinenko + + * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Do not put + elements with invlid index. + * grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise. + * grub-core/disk/raid.c (insert_array): Automatically reallocate + members. + * include/grub/raid.h (grub_raid_member): New struct. + (grub_raid_array): Transform devices and start_sector into usage of + grub_raid_member. All users updated + (allocated_devs): New member. + +2010-11-01 Vladimir Serbinenko + + * docs/man/grub-set-default.h2m: Clarify that only saved default entry + is modified + +2010-10-29 BVK Chaitanya + + NetBSD build fix for getline function conflict from gnulib. + + * Makefile.util.def (libgrubkern.a): New library for grub kernel + components that depend on gnulib headers. + (libgrubmods.a): Renamed from earlier libgrub.a. + * conf/Makefile.common: Remove gnulib from *_LIBRARY flags. + +2010-10-26 Vladimir Serbinenko + + * util/grub-setup.c (setup): Refuse to do a cross-disk embeddingless + install rather than creating a broken install. + +2010-10-26 Vladimir Serbinenko + + * util/grub-setup.c (argp): Remove misleading example of installing to + a partition. + +2010-10-26 Vladimir Serbinenko + + * util/grub-setup.c (setup): Clarify the error message. + +2010-10-26 Vladimir Serbinenko + + * include/grub/types.h (grub_target_off_t): Removed no longer used type. + +2010-10-23 Vladimir Serbinenko + + * grub-core/kern/emu/misc.c + (grub_make_system_path_relative_to_its_root) + [HAVE_LIBZFS && HAVE_LIBNVPAIR]: Fix mountpoint return on ZFS. + +2010-10-23 Vladimir Serbinenko + + * grub-core/kern/emu/misc.c + (grub_make_system_path_relative_to_its_root): Revert r2882. + +2010-10-22 Vladimir Serbinenko + + * grub-core/lib/relocator.c (grub_relocator_subchunk): Remove now + useless field head. All users updated. + (free_subchunk): Correct handling of IN_REGION subchunk. + +2010-10-22 Colin Watson + + * docs/grub.texi (Installing GRUB using grub-install): Proofread. + (Supported kernels): Likewise. + +2010-10-18 Grégoire Sutre + + Make mktemp invocations portable. + + * grub-core/genmod.sh.in: Use mktemp with an explicit template, and + exit if mktemp fails. + * tests/grub_script_blockarg.in: Likewise. + * tests/partmap_test.in: Likewise. + * tests/util/grub-shell-tester.in: Likewise. + * tests/util/grub-shell.in: Likewise. + * util/powerpc/ieee1275/grub-mkrescue.in: Likewise. + * Makefile.am: Likewise, and chain shell commands with `&&' + instead of ';'. + * util/grub-mkrescue.in: Use the same explicit template as above, and + exit if mktemp fails. + +2010-10-18 BVK Chaitanya + + * util/grub.d/10_linux.in: Fix built-in initramfs image mode for + Linux kernel, reported by Dennis Schridde. + +2010-10-17 Szymon Janc + + * grub-core/normal/auth.c (grub_auth_check_authentication): + Set-but-not-used variable removed. + +2010-10-17 Vladimir Serbinenko + + * docs/grub.texi (GNU/Linux): Document APM unavailability with + 32-bit linux protocol. + +2010-10-17 Vladimir Serbinenko + + * grub-core/kern/i386/pc/startup.S (grub_console_setcursor): Check + cursor shape for sanity. + +2010-10-17 Vladimir Serbinenko + + * docs/grub.texi (Installation): Document buggy BIOS install. + +2010-10-17 Vladimir Serbinenko + + * docs/grub.texi (Installation): Indent. + +2010-10-17 Vladimir Serbinenko + + * util/grub-setup.c (setup): New parameter allow_floppy. + (arguments): New member allow_floppy. + (argp_parser): Handle --allow-floppy. + (main): Pass allow_floppy. + * util/grub-install.in: New option --allow-floppy passed though to + grub-setup. + +2010-10-17 Vladimir Serbinenko + + * util/grub-install.in: Handle partitionless disks. + +2010-10-17 Vladimir Serbinenko + + * util/grub-setup.c (setup): Don't clean blocklists before readability + verfification. + +2010-10-16 Vladimir Serbinenko + + * docs/grub.texi (Installation): Document embedding zone. Remove + obsolete grub-install example. + +2010-10-16 Szymon Janc + + * grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): + Set-but-not-used variable ifdef'ed. + * grub-core/lib/legacy_parse.c (grub_legacy_parse): Likewise. + * grub-core/bus/usb/ohci.c (grub_ohci_pci_iter): Set-but-not-used + variable removed. + * grub-core/disk/lvm.c (grub_lvm_scan_device): Likewise. + * grub-core/fs/jfs.c (grub_jfs_find_file): Likewise. + * grub-core/fs/minix.c (grub_minix_dir): Likewise. + * grub-core/fs/sfs.c (grub_sfs_read_extent): Likewise. + * grub-core/fs/ufs.c (grub_ufs_dir): Likewise. + * grub-core/gfxmenu/gui_list.c (grub_gui_list_new): Likewise. + * grub-core/gfxmenu/view.c (redraw_menu_visit): Likewise. + * grub-core/gfxmenu/widget-box.c (draw): Likewise. + * grub-core/lib/relocator.c (malloc_in_range): Likewise. + * grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta): Likewise. + * grub-core/loader/i386/bsd_pagetable.c (fill_bsd64_pagetable): + Likewise. + +2010-10-16 Vladimir Serbinenko + + * grub-core/commands/acpihalt.c (skip_ext_op): Skip index field op. + * include/grub/acpi.h (GRUB_ACPI_EXTOPCODE_INDEX_FIELD_OP): New + enum value. + +2010-10-16 Vladimir Serbinenko + + * grub-core/commands/acpihalt.c (get_sleep_type): Accept \_S5_ as + synonym to _S5_. Needed for some DSDTs. + +2010-10-16 Vladimir Serbinenko + + Userspace ACPI parser debugging. + + * grub-core/commands/acpihalt.c [GRUB_DSDT_TEST]: Include userspace + headers and add relevant defines. Don't include standard headers. + (main) [GRUB_DSDT_TEST]: New function. + * include/grub/acpi.h [GRUB_DSDT_TEST]: Don't include standard headers. + Don't declare functions. + +2010-10-16 Vladimir Serbinenko + + Remove dead grub_efi_mm_fini. + + * grub-core/kern/efi/mm.c (allocated_page): Removed. + (ALLOCATED_PAGES_SIZE): Likewise. + (MAX_ALLOCATED_PAGES): Likewise. + (allocated_pages): Likewise. + (grub_efi_allocate_pages): Don't record allocated pages. + (grub_efi_free_pages): Likewise. + (grub_efi_mm_init): Likewise. + (grub_efi_mm_fini): Removed. + +2010-10-16 Vladimir Serbinenko + + * grub-core/kern/efi/mm.c (BYTES_TO_PAGES): Round up instead of down. + (grub_efi_mm_init): Take into account the memory map size increase. + +2010-10-16 Vladimir Serbinenko + + * grub-core/term/ns8250.c (do_real_config): Set port->broken to 0. + (serial_hw_put): Wait based on real time rather than port reads. Don't + roken ports. + * include/grub/serial.h (grub_serial_port): New field broken. + +2010-10-16 Robert Millan + + * grub-core/kern/emu/misc.c + (grub_make_system_path_relative_to_its_root): Fix premature return + when processing non-root ZFS filesystems. + Reported by Sergio Talens-Oliag. + +2010-10-15 Robert Millan + + * util/grub.d/10_linux.in (list): Expand "vmlinu[zx]" instances to + guarantee compressed ones are processed first. + +2010-10-14 Vladimir Serbinenko + + * grub-core/efiemu/main.c (grub_efiemu_prepare): Handle errors from + grub_efiemu_autocore. + +2010-10-14 Vladimir Serbinenko + + * grub-core/kern/i386/pc/startup.S (bypass_table): Use 0x1b explicitly + rather than 0x1b. + (grub_console_getkey): Use correct jae opcode rather than ja. + +2010-10-12 Robert Millan + + * util/grub-mkconfig.in: Merge `GRUB_DISABLE_LINUX_RECOVERY' and + `GRUB_DISABLE_NETBSD_RECOVERY' into a single `GRUB_DISABLE_RECOVERY' + variable. All references updated. + + * util/grub.d/10_kfreebsd.in: Support recovery boot entries. + +2010-10-08 Vladimir Serbinenko + + Correctly distinguish mdraid flavours. + + * grub-core/disk/raid.c (grub_raid_getname) [GRUB_UTIL]: New function. + (insert_array): New argument raid. + * include/grub/disk.h (grub_disk_dev) [GRUB_UTIL]: New member raidname. + * include/grub/raid.h (grub_raid_array) [GRUB_UTIL]: New member driver. + * util/grub-probe.c (probe): PRint raidname instead of plainly "mdraid". + +2010-10-09 Vladimir Serbinenko + + * grub-core/kern/i386/pc/startup.S (grub_console_getkey): Fix incorrect + handling of special keys. + +2010-10-02 Aleš Nesrsta + + * include/grub/scsi.h (grub_make_scsi_id): Fix incorrect usgae of + GRUB_SCSI_ID_BUS_SHIFT instead of GRUB_SCSI_ID_LUN_SHIFT. + +2010-10-02 Aleš Nesrsta + + * grub-core/bus/usb/ohci.c (GRUB_OHCI_TDS): Increase. + * grub-core/bus/usb/uhci.c (N_TD): New definition. All previous implicit + users updated. + * grub-core/bus/usb/usbtrans.c (grub_usb_bulk_setup_readwrite): + Use right endpoint when querying descriptor. + +2010-10-01 Vladimir Serbinenko + + Clear out 0x80 color bit on EFI. + Tested by: decoder + Reported by: decoder and meta tech. + + * grub-core/term/efi/console.c (grub_console_standard_color): Removed. + (grub_console_setcolorstate): Clear out 0x80 bit. + Use GRUB_TERM_DEFAULT_STANDARD_COLOR. + (grub_console_output): Use GRUB_TERM_DEFAULT_NORMAL_COLOR. + Use GRUB_TERM_DEFAULT_HIGHLIGHT_COLOR. + +2010-10-01 Vladimir Serbinenko + + * grub-core/loader/i386/linux.c (DEFAULT_VIDEO_MODE) [GRUB_MACHINE_EFI]: + Set to "auto". + +2010-09-30 Vladimir Serbinenko + + * grub-core/gettext/gettext.c (grub_gettext_init_ext): Avoid using + mo_file after freeing. + +2010-09-30 Vladimir Serbinenko + + * grub-core/normal/term.c (read_terminal_list): Free in a right order. + +2010-09-30 Vladimir Serbinenko + + * grub-core/script/execute.c (grub_script_execute_sourcecode): Set + flags. + +2010-09-30 Vladimir Serbinenko + + * util/grub-setup.c (main) [GRUB_MACHINE_IEEE1275]: Propagate argp + usage. + +2010-09-30 Vladimir Serbinenko + + Put terminfo into core on ieee1275 and yeeloong (needed for console). + + * gentpl.py: New groups terminfoinkernel and terminfomodule. + * grub-core/Makefile.am (KERNEL_HEADER_FILES): Include extcmd.h, arg.h + and terminfo.h when needed. + * grub-core/Makefile.core.def (kernel): Include term/terminfo.c, + term/tparm.c, commands/extcmd.c, lib/arg.c on terminfokernel. + (terminfo): Enable only on terminfokernel. + (extcmd): Likewise. + * include/grub/extcmd.h: Add missing EXPORT_FUNC. + * include/grub/lib/arg.h: Likewise. + * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_dimensions): Fix + incorrect usage of ->. + +2010-09-29 Vladimir Serbinenko + + * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi] + [GRUB_MACHINE_EFI && __i386__]: Fix typo. + +2010-09-29 Vladimir Serbinenko + + Fix coreboot compilation. + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_get_mbi_size): + Take VBE info into account even if only text is supported. + (fill_vbe_info): Take into account the case when only VGA text + is supported. + * include/grub/multiboot.h (GRUB_MACHINE_HAS_VBE): Set to zero + on coreboot, multiboot and qemu. + +2010-09-29 Vladimir Serbinenko + + * grub-core/lib/relocator.c (malloc_in_range): Trim too verbose + debug messages. + (grub_relocator_prepare_relocs): Set movers_chunk.srcv. + +2010-09-29 Vladimir Serbinenko + + * grub-core/loader/i386/bsd.c (grub_cmd_netbsd): Provide default serial + parameters. + +2010-09-29 Vladimir Serbinenko + + * grub-core/lib/arg.c (grub_arg_parse): Fix treating of all commands as + if they were BSD-style. + +2010-09-29 Vladimir Serbinenko + + * grub-core/boot/i386/pc/lnxboot.S: Replace + GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE with + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART. + +2010-09-29 Vladimir Serbinenko + + Write embedding zone using Reed-Solomon. + + * Makefile.util.def (grub-setup): Add grub-core/lib/reed_solomon.c. + * grub-core/Makefile.am (rs_decoder.S): New target. + (kern/i386/pc/startup.S): Depend on rs_decoder.S. + * grub-core/kern/i386/pc/startup.S (reed_solomon_redundancy): New field. + (multiboot): Move to RS part. + (post_reed_solomon): New label. + (grub_boot_drive): Move to non-RS part since it's modified in memory + on boot. + Include rs_decoder.S. + * grub-core/lib/reed_solomon.c: New file. + * include/grub/offsets.h (GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY): + New definition. + (GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE): Removed. + (GRUB_KERNEL_I386_PC_RAW_SIZE): Updated. + (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART): New definition. + * include/grub/partition.h (grub_partition_map): Change prototype of + embed to allow returning additional sectors. + * include/grub/reed_solomon.h: New file. + * util/grub-setup.c (setup): Handle Reed-Solomon. + +2010-09-28 Colin Watson + + * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix + i386 and x86-64 definedness tests. + +2010-09-27 Yves Blusseau + + Fix generation of kernel_syms.lst + + * grub-core/Makefile.am (kernel_syms.lst): Fix value and position of + ASM_PREFIX + +2010-09-26 Robert Millan + + Support degraded ZFS arrays in "grub-probe -t device" resolution. + + * grub-core/kern/emu/getroot.c (find_root_device_from_libzfs): When + the pool is an array of devices, iterate through it and return the + first device that passes a stat() test (instead of blindly returning + the first one). + +2010-09-26 Robert Millan + + Build fixes for GNU/kFreeBSD. + + * Makefile.util.def: Add `$(LIBZFS) $(LIBNVPAIR)' library dependencies + to programs that require ZFS conversion. + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): Support + kernels that don't have FLOPPY_MAJOR. + +2010-09-25 BVK Chaitanya + + * grub-core/kern/emu/full.c (grub_emu_post_init): Fix typo. + +2010-09-25 BVK Chaitanya + + Fix grub-emu build. + + * grub-core/kern/emu/main.c: Remove #include . + * grub-core/kern/emu/full.c: Split grub_mdraid_{init,fini} into + mdraid09 and mdraid1x. + +2010-09-24 Colin Watson + + Re-enable grub-extras. + + * autogen.sh: Create symlinks to ${GRUB_CONTRIB} if necessary to + avoid confusing Automake. Run autogen only twice, once for the top + level and once for grub-core. Add Makefile.util.def and + Makefile.core.def from extra modules to the appropriate autogen + invocations. If Makefile.common exists in an extra module, include + it in both Makefile.util.am and grub-core/Makefile.core.am; + similarly, include any Makefile.util.common file in Makefile.util.am + and any Makefile.core.common file in grub-core/Makefile.core.am. + * conf/Makefile.common ($(top_srcdir)/grub-core/Makefile.core.am): + Depend on $(top_srcdir)/grub-core/Makefile.gcry.def. + ($(top_srcdir)/grub-core/Makefile.gcry.def): Remove. + * grub-core/Makefile.am: Remove inclusion of Makefile.gcry.am. + + * gentpl.py (gvar_add): Turn GVARS into a set. + (global_variable_initializers): Sort global variables on output. + (vars_init): New function. + (first_time): Likewise. + (library): Ensure that non-global variable initialisations are + emitted before the first time we emit code for a library block. + Append to variables rather than setting them. Only emit + noinst_LIBRARIES, BUILT_SOURCES, and CLEANFILES the first time for + each conditional path. + (program): installdir() emits an Autogen macro, so must be passed to + var_add rather than gvar_add. + (data): Likewise. + (script): Likewise. + (rules): New function, centralising handling for different target + types. Set up Guile association lists for first_time and vars_init, + and send most output to a diversion so that variable initialisations + can be emitted first. + (module_rules): Use new rules function. + (kernel_rules): Likewise. + (image_rules): Likewise. + (library_rules): Likewise. + (program_rules): Likewise. + (script_rules): Likewise. + (data_rules): Likewise. + + * configure.ac: Add AC_PROG_LN_S, for the benefit of ntldr-img. + + * .bzrignore: Add contrib and grub-core/contrib. Remove + grub-core/Makefile.gcry.am. + +2010-09-24 Yves Blusseau + + * grub-core/lib/LzFind.c: Add missing include. + * grub-core/lib/LzmaEnc.c: Likewise. + * grub-core/script/lexer.c: Likewise. + * grub-core/script/yylex.l: Likewise. + * util/grub-macho2img.c: Likewise. + * util/grub-menulst2cfg.c: Likewise. + * util/grub-mklayout.c: Likewise. + * util/grub-mkpasswd-pbkdf2.c + * util/grub-mkrelpath.c: Likewise. + * util/resolve.c: Likewise. + +2010-09-24 BVK Chaitanya + + * Makefile.util.def (example_unit_test): Add + grub-core/gnulib/libgnu.a. + +2010-09-23 Grégoire Sutre + + * grub-core/commands/acpihalt.c (get_sleep_type): Initialize prev. + +2010-09-23 Vladimir Serbinenko + + Support xz compression on yeeloong. + + * Makefile.util.def (grub-mkimage): Add $(LIBLZMA). + * configure.ac: Check for LZMA. + * grub-core/Makefile.core.def (xz_decompress): New target. + (none_decompress): Likewise. + * grub-core/boot/decompressor/minilib.c: New file. + * grub-core/boot/decompressor/none.c: Likewise. + * grub-core/boot/decompressor/xz.c: Likewise. + * grub-core/kern/mips/cache.S: Change to noreorder nomacro. + * grub-core/kern/mips/cache_flush.S: Likewise. + * grub-core/kern/i386/pc/lzma_decode.S: Remove dead code. + * grub-core/kern/mips/startup.S: Move first stage to ... + * grub-core/boot/mips/startup_raw.S: ...here. Change to noreorder + nomacro. + * grub-core/kern/mips/startup.S: Change to noreorder nomacro. + * grub-core/lib/mips/relocator_asm.S: Change to noreorder nomacro. + * grub-core/lib/xzembed/xz_dec_bcj.c [GRUB_EMBED_DECOMPRESSOR]: + Allocate statically. + * grub-core/lib/xzembed/xz_dec_lzma2.c [GRUB_EMBED_DECOMPRESSOR]: + Allocate statically or use scratch. Don't check CRC32. + * grub-core/lib/xzembed/xz_dec_stream.c [GRUB_EMBED_DECOMPRESSOR]: + Allocate statically. Don't check CRC32. + * include/grub/decompressor.h: New file. + * include/grub/offsets.h (GRUB_KERNEL_MIPS_YEELOONG_RAW_SIZE): + Removed. + (GRUB_KERNEL_MIPS_YEELOONG_UNCOMPRESSED_SIZE): New field. + (GRUB_KERNEL_MIPS_YEELOONG_TOTAL_MODULE_SIZE): Adjusted. + (GRUB_KERNEL_MIPS_YEELOONG_PREFIX): Likewise. + (GRUB_KERNEL_MIPS_YEELOONG_PREFIX_END): Likewise. + (GRUB_KERNEL_MACHINE_UNCOMPRESSED_SIZE): New define. + * util/grub-mkimage.c (grub_compression_t): New type. + (PLATFORM_FLAGS_DECOMPRESSORS): New flag. + (image_target_desc): New field default_compression. + (image_targets): Adjust yeeloong targets. + (compress_kernel_xz) [HAVE_LIBLZMA]: New function. + (compress_kernel): New parameter comp. + (generate_image): Likewise. Handle new compression case. + (options): New option --compression + (help): Likewise. + (main): Handle new option. + +2010-09-22 Grégoire Sutre + + * grub-core/kern/emu/hostdisk.c [__NetBSD__]: Define FLOPPY_MAJOR. + +2010-09-22 Colin Watson + + * grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix + typo in __i386__ conditional. + +2010-09-22 Vladimir Serbinenko + + * grub-core/loader/multiboot_mbi2.c (GRUB_MACHINE_EFI): Add missing + include. + +2010-09-22 Vladimir Serbinenko + + Implement EFI and ACPI multiboot2 extensions. + + * grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Declare + new tags as supported. + (acpiv2_size): New function. + (grub_multiboot_get_mbi_size): Take new tags into account. + (grub_multiboot_make_mbi): Add new tags. + * include/grub/multiboot.h (GRUB_MACHINE_HAS_ACPI): New definition. + +2010-09-21 Aleš Nesrsta + + * grub-core/bus/usb/serial/common.c (grub_usbserial_attach): + Added missing configuration of USB device. + +2010-09-21 Colin Watson + + * grub-core/normal/menu_entry.c (run): Make sure we always return + a value. + +2010-09-21 Colin Watson + + * grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap): + NumberOfPages is UINT64 according to the UEFI specification, not + UINTN. Fix printf format. + +2010-09-21 Colin Watson + + * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Change type of + `err' to grub_usb_err_t. + Reported and tested by: KESHAV P.R. + +2010-09-21 Colin Watson + + * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Make + tpart non-const, so that we can assign to it. (Since this is a + typedef, the constness refers to the pointer rather than what it + points to.) + +2010-09-21 Colin Watson + + * conf/Makefile.common (CPPFLAGS_GNULIB): Add + $(top_srcdir)/grub-core/gnulib as well as + $(top_builddir)/grub-core/gnulib. + Reported by: KESHAV P.R. + +2010-09-21 Colin Watson + + * util/grub-install.in: Fix the bootloader ID option to be + consistently --bootloader-id, not --bootloader_id. + Reported by: KESHAV P.R. + +2010-09-21 Colin Watson + + * grub-core/commands/hashsum.c (GRUB_MOD_INIT): Make "Compute or + check hash checksum." consistently translatable. + +2010-09-21 Yves Blusseau + + * conf/Makefile.common (CPPFLAGS_GNULIB): Replace $(top_srcdir) with + $(top_builddir). + +2010-09-21 Colin Watson + + * grub-core/commands/hashsum.c (aliases): Add sha1sum alias. + (GRUB_MOD_INIT): Register sha1sum command. + (GRUB_MOD_FINI): Unregister sha1sum command. + +2010-09-21 Yves Blusseau + + Keep boot and grub directory names in sync with utils scripts + + * configure.ac: Define GRUB_BOOT_DIR_NAME and GRUB_DIR_NAME macros. + * config.h.in: Add previous macros. + * include/grub/emu/misc.h (DEFAULT_DIRECTORY): Use previous macros. + * util/grub-install.in: Use $bootdir and $grubdir variables. + +2010-09-21 Colin Watson + + * grub-core/kern/emu/hostdisk.c (find_system_device): Only try to + convert partition names to disk names if the new `convert' parameter + is set. + (grub_util_biosdisk_get_grub_dev): If opening the disk device + returns GRUB_ERR_UNKNOWN_DEVICE, treat the partition device as a + disk in its own right. This can happen with Xen disk images. + +2010-09-21 Yves Blusseau + + * util/grub-editenv.c: Update strings to avoid warnings when generating + grub.pot file. + * util/grub-setup.c: Likewise. + +2010-09-21 Vladimir Serbinenko + + * configure.ac: Change version to 1.99~beta0. + +2010-09-21 Vladimir Serbinenko + + * grub-core/loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap): + Add BADRAM. + * grub-core/loader/multiboot_mbi2.c (grub_fill_multiboot_mmap): + Likewise. + * include/multiboot.h: Resynced with specification. + * include/multiboot2.h: Likewise. + +2010-09-21 Colin Watson + + Fix po directory handling. + + * configure.ac: Create po/Makefile.in rather than po/Makefile. + * grub-core/gnulib/Makefile.am: Import gettext module. + * m4/gnulib-cache.m4: Likewise. + * m4/gnulib-comp.m4: Likewise. + * m4/gettext.m4: New file, from gnulib. + * m4/glibc2.m4: Likewise. + * m4/iconv.m4: Likewise. + * m4/intdiv0.m4: Likewise. + * m4/intl.m4: Likewise. + * m4/intldir.m4: Likewise. + * m4/intlmacosx.m4: Likewise. + * m4/intmax.m4: Likewise. + * m4/inttypes-pri.m4: Likewise. + * m4/lcmessage.m4: Likewise. + * m4/lib-ld.m4: Likewise. + * m4/lib-link.m4: Likewise. + * m4/lib-prefix.m4: Likewise. + * m4/lock.m4: Likewise. + * m4/nls.m4: Likewise. + * m4/po.m4: Likewise. + * m4/printf-posix.m4: Likewise. + * m4/progtest.m4: Likewise. + * m4/threadlib.m4: Likewise. + * m4/uintmax_t.m4: Likewise. + * m4/visibility.m4: Likewise. + * po/Makefile.am: Remove. + * po/Makefile.in.in: New file, from gettext. + ($(DOMAIN).pot-update): Support POTFILES-shell. + * po/Makevars: New file. + * po/POTFILES-shell: Rename to ... + * po/POTFILES-shell.in: ... this. Update. + * po/POTFILES: Rename to ... + * po/POTFILES.in: ... this. Update. + * po/Rules-quot: New file, from gettext. + * po/boldquot.sed: Likewise. + * po/en@boldquot.header: Likewise. + * po/en@quot.header: Likewise. + * po/insert-header.sin: Likewise. + * po/quot.sed: Likewise. + * po/remove-potcdate.sin: Likewise. + +2010-09-20 Vladimir Serbinenko + + * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Use UUID when possible. + +2010-09-20 Vladimir Serbinenko + + * util/grub.d/20_linux_xen.in: Use submenus. + +2010-09-20 Vladimir Serbinenko + + Support submenus. + + * grub-core/commands/menuentry.c (grub_normal_add_menu_entry): New + parameter submenu. All users updated. + * grub-core/normal/main.c (free_menu): Rename to ... + (grub_normal_free_menu): ... this. Made global. + * grub-core/normal/menu.c (grub_menu_execute_entry): Open new context + if requested. + * grub-core/normal/menu_entry.c (screen): New field submenu. + (make_screen): Set submenu. + (run): Open new context if requested. + * include/grub/menu.h (grub_menu_entry): New field submenu. + * include/grub/normal.h (grub_normal_free_menu): New proto. + +2010-09-20 Vladimir Serbinenko + + Menu entries extractor. + + * grub-core/commands/configfile.c (grub_cmd_source): Implement extractor + variants. + (GRUB_MOD_INIT): Register new variants. + (GRUB_MOD_FINI): Unregister new variants. + * grub-core/commands/legacycfg.c (grub_cmd_legacy_configfile): Merge + into grub_cmd_legacy_source. + (grub_cmd_legacy_source): Implement extractor variants. + (GRUB_MOD_INIT): Register new variants. + (GRUB_MOD_FINI): Unregister new variants. + * grub-core/commands/menuentry.c (grub_menu_init): Declare menuentry + as an extractor. + * grub-core/commands/search_wrap.c (GRUB_MOD_INIT): Declare + search as an extractor. + * grub-core/commands/test.c (GRUB_MOD_INIT): Declare + test as an extractor. + * grub-core/kern/corecmd.c (grub_register_core_commands): Declare set + as an extractor. + * grub-core/normal/context.c (grub_env_context_open): Reorganised. + (grub_env_new_context): New function. + (grub_env_context_open): Likewise. + (grub_env_extractor_open): Likewise. + (grub_env_extractor_close): Likewise. + * grub-core/script/execute.c (grub_script_execute_cmdline): Handle + grub_extractor_level. + * include/grub/command.h (GRUB_COMMAND_FLAG_EXTRACTOR): New flag. + * include/grub/env.h (grub_env_extractor_open): New proto. + (grub_env_extractor_close): Likewise. + * include/grub/normal.h (grub_extractor_level): New external variable. + +2010-09-20 Vladimir Serbinenko + + Make cutmem accept a region specification. + Suggested by: Samuel Thibault + + * grub-core/mmap/mmap.c (parsemem): New function. + (grub_cmd_cutmem): Handle new arguments. + +2010-09-20 Vladimir Serbinenko + + New command cutmem. + + * grub-core/mmap/mmap.c (grub_cmd_cutmem): New function. + (GRUB_MOD_INIT): Register new command. + (GRUB_MOD_FINI): Unregister new command. + +2010-09-20 Vladimir Serbinenko + + Support some annoying BSD and Minix subpartitions. + + * Makefile.util.def (libgrub.a): Add grub-core/partmap/bsdlabel.c. + * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): + Properly handle concatenation. + * grub-core/kern/device.c (grub_device_iterate): Likewise. + * grub-core/normal/completion.c (iterate_partition): Likewise. + * grub-core/kern/disk.c (grub_disk_open): Make disk->name not + contain partition. All users updated. + * grub-core/partmap/bsdlabel.c (grub_netbsdlabel_partition_map): New + struct. + (grub_openbsdlabel_partition_map): Likewise. + (bsdlabel_partition_map_iterate): Rename to .. + (iterate_real): ... this. New arguments sector, freebsd and pmap. + (bsdlabel_partition_map_iterate): New function. + (netopenbsdlabel_partition_map_iterate): Likewise. + (netbsdlabel_partition_map_iterate): Likewise. + (openbsdlabel_partition_map_iterate): Likewise. + (GRUB_MOD_INIT): Register new partmaps. + (GRUB_MOD_FINI): Unregister new partmaps. + * grub-core/partmap/msdos.c (pc_partition_map_iterate): Rename to ... + (grub_partition_msdos_iterate): ... this. All users updated. + Don't support embedding other than in a minix partition. + * include/grub/msdos_partition.h (grub_partition_msdos_iterate): New + proto. + * include/grub/partition.h (grub_partition): New field msdostype. + * util/grub-install.in: Handle openbsd and netbsd types being in + part_bsd module. + +2010-09-20 Vladimir Serbinenko + + Split mdraid.mod into mdraid09.mod and mdraid1x.mod. + + * Makefile.util.def (libgrub.a): Add grub-core/disk/mdraid1x_linux.c. + * grub-core/Makefile.core.def (mdraid): Renamed to ... + (mdraid09): ... this. + (mdraid1x): New module. + * grub-core/disk/mdraid_linux.c: Move 1.x parts ... + * grub-core/disk/mdraid1x_linux.c: ...here. All users updated. + +2010-09-20 Vladimir Serbinenko + + * grub-core/kern/emu/misc.c (asprintf): Use vsnprintf instead of + vsprintf. + +2010-09-20 Colin Watson + + * grub-core/commands/efi/lsefimmap.c: Correct header. + * NEWS: Update. + +2010-09-20 Colin Watson + + * util/grub-editenv.c (argp_parser): Don't pass translated strings + as printf format strings; the translations might contain '%' which + could cause a crash. + (main): Likewise. + * util/grub-fstest.c (argp_parser): Likewise. + * util/grub-setup.c (argp_parser): Likewise. + (main): Likewise. + +2010-09-20 Vladimir Serbinenko + + Use argp in grub-fstest. + + * util/grub-fstest.c: Don't include getopt.h. + Include argp.h. + (root): New variable. + (args_count): Likewise. + (nparm): Likewise. + (num_disks): Likewise. + (images): Likewise. + (cmd): Likewise. + (debug_str): Likewise. + (args): Likewise. + (options): Transformed to argp. + (usage): Removed. + (main): Split argument parsing into ... + (argp_parser): ... this. Changed to argp format. + (argp): New variable. + (main): Use argp_parse. + +2010-09-20 Tristan Gingold +2010-09-20 Robert Millan +2010-09-20 Vladimir Serbinenko + + * grub-core/commands/efi/lsefimmap.c: New file. + * grub-core/Makefile.core.def (lsefimmap): New module. + * include/grub/efi/api.h (PRIxGRUB_EFI_UINTN_T): New definition. + +2010-09-20 Vladimir Serbinenko + + Pause the execution (10s max) if any errors are displayed so the user + has a chance to see them. + + * grub-core/kern/err.c (grub_err_printed_errors): New variable. + (grub_print_error): Increment grub_err_printed_errors. + * grub-core/normal/menu.c (grub_menu_execute_entry): Pause the + execution if any errors were displayed. + (show_menu): Remove old code for pause. + * grub-core/normal/menu_entry.c (run): Likewise. + * grub-core/normal/term.c (grub_normal_char_counter): Removed. All + users updated. + (grub_normal_get_char_counter): Likewise. + * include/grub/err.h (grub_err_printed_errors): New external variable. + * include/grub/normal.h (grub_normal_get_char_counter): Removed. + +2010-09-20 Vladimir Serbinenko + + Support multiboot VBE info. + + * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_get_mbi_size): + Take VBE info into account. + (fill_vbe_info) [GRUB_MACHINE_HAS_VBE]: New function. + (retrieve_video_parameters) [GRUB_MACHINE_HAS_VBE]: + Call fill_vbe_info when appropriate. + (grub_multiboot_make_mbi): Account for the size occupied by VBE info. + * grub-core/loader/multiboot_mbi2.c (grub_multiboot_load): Declare tags + as supported. + (grub_multiboot_get_mbi_size): Take new tags into account. + (fill_vbe_tag) [GRUB_MACHINE_HAS_VBE]: New function. + (retrieve_video_parameters) [GRUB_MACHINE_HAS_VBE]: + Call fill_vbe_tag when appropriate. + (grub_multiboot_make_mbi): Properly align tags. + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_pm_interface): New + function. + * include/grub/i386/pc/vbe.h (grub_vbe_bios_get_pm_interface): New + proto. + * include/grub/multiboot.h (GRUB_MACHINE_HAS_VBE): New definition. + +2010-09-20 Vladimir Serbinenko + + Suport manual terminal geometry specification. + + * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_dimensions): + Save state in grub_ofconsole_terminfo_output. + (grub_ofconsole_term): Use grub_terminfo_getwh. + (grub_ofconsole_getwh): Removed. + * grub-core/term/serial.c (grub_serial_getwh): Removed. + (grub_serial_term): Use grub_terminfo_getwh. + * grub-core/term/terminfo.c (grub_terminfo_getwh): New function. + (options): New struct. + (OPTION_*): New enum. + (grub_cmd_terminfo): Transform into extcmd and handle new parameters. + * include/grub/terminfo.h (grub_terminfo_output_state): New fields + width and height. + (grub_terminfo_getwh): New proto. + * grub-core/lib/legacy_parse.c (grub_legacy_parse): Handle --lines. + +2010-09-20 Vladimir Serbinenko + + Handle legacy "terminal" command. + + * grub-core/lib/legacy_parse.c (legacy_command): New flags FLAG_TITLE + and FLAG_TERMINAL. + (legacy_commands): Add terminal and title. + (grub_legacy_parse): Handle terminal. Simplify title handling. + +2010-09-20 Vladimir Serbinenko + + * grub-core/lib/arg.c (grub_arg_show_help): Correctly handle + parameters overflow. + +2010-09-20 Colin Watson + + * .bzrignore: Add grub-core/gnulib/sys, widthspec.bin, and + widthspec.h. + + * docs/grub.texi (Shell-like scripting): Document `!'. + (Network): Simplify using new i386-pc-pxe format. Mention + grub-mknetdir. + + * NEWS: Update. + +2010-09-20 Colin Watson + + * Makefile.am (SUBDIRS): Restore "."; it's important to force + ordering, so that e.g. ascii.h is built before grub-core/font/font.c + when needed. + +2010-09-20 Colin Watson + + * grub-core/commands/efi/lsefisystab.c: Correct header. + * grub-core/commands/efi/lssal.c: Likewise. + * grub-core/commands/testload.c: Likewise. + +2010-09-20 Colin Watson + + * util/grub-mkrescue.in: Add explicit root argument to --set to + prevent the UUID being interpreted as an argument to --set (matches + previous change to prepare_grub_to_access_device). + +2010-09-20 Colin Watson + + * kern/emu/hostdisk.c: Include and + on FreeBSD. Define HAVE_DIOCGDINFO on NetBSD and FreeBSD to reduce + the verbosity of later #ifs. + (find_partition_start): Define this function on FreeBSD too. + (device_is_wholedisk) [__FreeBSD__ || __FreeBSD_kernel__]: New + function. + (grub_util_biosdisk_get_grub_dev): Use partition-start-sector logic + on FreeBSD. + +2010-09-20 Yves Blusseau + + * util/grub-editenv.c: Use argp instead of getopt. + +2010-09-20 Yves Blusseau + + * util/grub-setup.c: Use argp instead of getopt. + +2010-09-20 Yves Blusseau + + Use gnulib-tool to create gnulib source files. + + * Add gnulib files generated by gnulib-tool in build-aux, m4 and + grub-core/gnulib directories + * .bzignore: Add **/.deps and autogenerated gnulib files + * configure.ac: Assign auxiliary directory to build-aux, add invocation + of gnulib macros, add grub-core/gnulib/Makefile + * Makefile.am: Add gnulib directory in SUBDIRS (removing unnecessary .), + include m4 directory to aclocal. + * Makefile.util.def: Remove direct compilation of gnulib source files + and use the new grub-core/gnulib/libgnu.a. + * build-aux/config.rpath: move config.rpath from top directory to + build-aux + * conf/Makefile.common: Remove the macro _GL_UNUSED already defined + in gnulib headers + * conf/Makefile.extra-dist: Add m4/gnulib-cache.m4 + * grub-core/Makefile.core.def: Remove unnecessary extra_dist + * grub-core/lib/posix_wrap/localcharset.h (locale_charset): Update + header. + * grub-core/lib/posix_wrap/langinfo.h (nl_langinfo): Return static + string. + +2010-09-20 Yves Blusseau + + * .bzrignore: Add grub-kbdcomp, grub-menulst2cfg, *.marker, + grub-core/genmod.sh and grub-core/gensyminfo.sh + +2010-09-20 BVK Chaitanya + + Add a test for echo command options. + + * tests/grub_cmd_echo.in: New test. + * Makefile.util.def: Rules for new test. + +2010-09-20 Szymon Janc + + Remove crc.mod and move crc command to hashsum.mod. + Remove lib/crc.c - users updated to use gcrypt implementation. + + * grub-core/commands/crc.c: Removed. + * grub-core/Makefile.core.def (crc): Module removed. + * grub-core/commands/hashsum.c (aliases[]): Add crc alias. + * grub-core/commands/hashsum.c (GRUB_MOD_INIT): Register crc command. + * grub-core/commands/hashsum.c (GRUB_MOD_FINI): Unregister crc command. + * grub-core/lib/crc.c: Removed. + * include/grub/lib/crc.h: Removed. + * Makefile.util.def (crc): Remove lib/crc.c + * grub-core/Makefile.core.def (libgrub.a): Remove grub-core/lib/crc.c. + * util/grub-fstest.c (cmd_crd): Use libgcrypt crc implementation. + * Makefile.util.def (libgrub.a): Add grub-core/lib/libgcrypt-grub/cipher/crc.c. + * Makefile.util.def (grub-fstest): Add CFLAGS_GCRY to cflags. + * Makefile.util.def (grub-fstest): Add CPPFLAGS_GCRY to cppflags. + * grub-core/efiemu/prepare.c (grub_efiemu_crc): Use libgcrypt crc implementation. + +2010-09-20 Vladimir Serbinenko + + * grub-core/boot/i386/pc/boot.S: Ignore %dl if it's not in a sane range. + +2010-09-19 Vladimir Serbinenko + + Split config.h for util and core. + + * acinclude.m4 (HAVE_ASM_USCORE): Transformed into a variable. + (ADDR32): Likewise. + (DATA32): Likewise. + (BSS_START_SYMBOL): Likewise. + (END_SYMBOL): Likewise. + (NEED_ENABLE_EXECUTE_STACK): Likewise. All users updated. + (grub_I386_ASM_ABSOLUTE_WITHOUT_ASTERISK): Removed. + * config.h.in: New file. + * configure.ac: Use config-util.h as config define file. + Rename MACHINE into GRUB_MACHINE. All users updated. + (NEED_REGISTER_FRAME_INFO): Transformed into a variable. All users + updated. + (NESTED_FUNC_ATTR): Likewise. + Substitue new variables. + (COND_HAVE_ASM_USCORE): New conditional. + * grub-core/Makefile.am (ASM_PREFIX): New variable. + (kernel_syms.lst): Use ASM_PREFIX. + * grub-core/kern/emu/console.c: Include config-util.h. + * grub-core/kern/emu/misc.c: Likewise. + * grub-core/kern/emu/mm.c: Likewise. + * include/grub/emu/misc.h: Likewise. + * include/grub/libgcc.h: Likewise. + +2010-09-19 Vladimir Serbinenko + + * grub-core/term/efi/console.c (efi_codes): Fix GRUB_TERM_KEY_* + constants usage. + * grub-core/kern/emu/console.c (grub_ncurses_getkey): + Fix GRUB_TERM_KEY_* constants usage. + * grub-core/kern/emu/misc.c (asprintf): Fix vasprintf usage. + +2010-09-19 Vladimir Serbinenko + + * grub-core/bus/usb/ohci.c (grub_ohci_cancel_transfer): Use %p to + print pointer. + * grub-core/bus/usb/uhci.c: Remove empty define. + (grub_uhci_check_transfer): Add missing cast. + * grub-core/bus/usb/usbhub.c (poll_nonroot_hub): Use %p to + print pointer. + * grub-core/term/usb_keyboard.c (grub_usb_keyboard_getkey): Use + PRIuGRUB_SIZE. + * include/grub/types.h (PRIuGRUB_SIZE): New definition. + +2010-09-19 Vladimir Serbinenko + + * grub-core/Makefile.core.def (legacycfg): Add + lib/i386/pc/vesa_modes_table.c on emu. + +2010-09-19 BVK Chaitanya + + Reduce number of temporary files generated by build system. + + * grub-core/gencmdlist.sh: Removed. + * grub-core/genfslist.sh: Removed. + * grub-core/genhandlerlist.sh: Removed. + * grub-core/genmodsrc.sh: Removed. + * grub-core/genpartmaplist.sh: Removed. + * grub-core/genparttoollist.sh: Removed. + * grub-core/gentermiinallist.sh: Removed. + * grub-core/genvideolist.sh: Removed. + + * grub-core/genmod.sh.in: New file. + * grub-core/gensyminfo.sh.in: New file. + + * conf/Makefile.common (CPPFLAGS_*_LIST): New marker flags. + * conf/Makefile.extra-dist: Update with new files. + * gentpl.py: Remove rules related to unnecessary temporary files. + * grub-core/Makefile.am (syminfo.lst): New replacement for def-* + and und-* files. + * grub-core/Makefile.core.def: New rules for gensyminfo.sh and + genmod.sh scripts. + * grub-core/bus/usb/uhci.c: Remove empty #define. + * grub-core/genmoddep.awk: Updated with new syminfo format. + * util/bash-completion.d/Makefile.am: Add config.log to + CLEANFILES. + +2010-09-19 Yves Blusseau + + * Makefile.util.def: Add forgotten $(LIBINTL) library. + +2010-09-19 BVK Chaitanya + + * util/grub-mkconfig.in: Check the config script for syntax errors + before saving. + +2010-09-19 Colin Watson +2010-09-19 Vladimir Serbinenko + + * Makefile.util.def (grub-install): Use util/grub-install.in on all + platforms. + * util/grub-install.in: Add EFI and IEEE1275 support. + * util/i386/efi/grub-install.in: Removed. + * util/ieee1275/grub-install.in: Likewise. + +2010-09-19 Vladimir Serbinenko + + * grub-core/commands/i386/cmostest.c (+parse_args): New function. + (grub_cmd_cmosclean): Likewise. + (GRUB_MOD_INIT): Register command cmosclean. + * util/grub-mkconfig.in: Export GRUB_BUTTON_CMOS_CLEAN. + * util/grub.d/00_header.in: Handle GRUB_BUTTON_CMOS_CLEAN. + +2010-09-18 Carles Pina i Estany +2010-09-18 Aleš Nesrsta +2010-09-18 Vladimir Serbinenko + + Add keyboard layouts support. + + * Makefile.util.def (grub-mklayout): New file. + (grub-kbdcomp): New script. + * grub-core/Makefile.am (KERNEL_HEADER_FILES) [COND_mips_yeeloong]: + Add keyboard_layouts.h. + * grub-core/Makefile.core.def (kernel): Add commands/keylayouts.c and + commands/boot.c on yeeloong. + (keylayouts): New module. + * grub-core/bus/usb/ohci.c + * grub-core/bus/usb/uhci.c + * grub-core/bus/usb/usbhub.c (rescan): New variable. + (grub_usb_add_hub): Poll interrupt pipe for device handling. + (attach_root_port): Likewise. + (poll_nonroot_hub): Likewise. + (grub_usb_poll_devices): Likewise. + (detach_device): Close transfer. + * grub-core/bus/usb/usbtrans.c (grub_usb_execute_and_wait_transfer): New + function. + (grub_usb_bulk_setup_readwrite): Likewise. + (grub_usb_bulk_finish_readwrite): Likewise. + * grub-core/commands/keylayouts.c: New file. + * grub-core/commands/keystatus.c (grub_getkeystatus): New function. + * grub-core/commands/menuentry.c (hotkey_aliases): All several new + aliases. + * grub-core/term/at_keyboard.c: Restructured to use keylayouts and + support scancode 2. + * grub-core/term/usb_keyboard.c: Restructured to use keylayouts. + * include/grub/keyboard_layouts.h: New file. + * util/grub-mklayout.c: New file. + * util/grub-kbdcomp.in: Likewise. + +2010-09-18 Vladimir Serbinenko + + Unify memory types. + + * grub-core/Makefile.am (KERNEL_HEADER_FILES): Include memory.h. + * grub-core/commands/lsmmap.c (grub_cmd_lsmmap): Output user-readable + types. + * grub-core/kern/i386/multiboot_mmap.c (grub_lower_mem): Removed. + (grub_upper_mem): Likewise. + * grub-core/kern/ieee1275/init.c (grub_upper_mem): Likewise. + * include/grub/memory.h (grub_memory_type_t): New enum. + All users updated. + +2010-09-18 Vladimir Serbinenko + + * grub-core/Makefile.core.def (lsapm): New module. + * grub-core/commands/i386/pc/lsapm.c: New file. + * grub-core/loader/i386/multiboot_mbi.c (make_mbi) [GRUB_MACHINE_PCBIOS]: Pass APM info. + * grub-core/loader/multiboot_mbi2.c (make_mbi) [GRUB_MACHINE_PCBIOS]: + Likewise. + * include/grub/i386/pc/apm.h: New file. + * include/multiboot.h (multiboot_apm_info): New struct. + +2010-09-18 Vladimir Serbinenko + + GRUB-legacy configuration file support. + + * Makefile.util.def (grub-menulst2cfg): New util. + * docs/man/grub-menulst2cfg.h2m: New file. + * grub-core/Makefile.core.def (legacycfg): New module. + * grub-core/commands/legacycfg.c: New file. + * grub-core/commands/menuentry.c (append_menu_entry): Rename to ... + (grub_normal_add_menu_entry): ... this. + * grub-core/commands/password.c (grub_cmd_password): Split main part to ... + (grub_normal_set_password): ...this. + * grub-core/commands/videoinfo.c (grub_cmd_videoinfo): Support MODE. + * grub-core/loader/i386/linux.c (linux_vesafb_res): Move to .., + * grub-core/lib/i386/pc/vesa_modes_table.c: ... here. + * grub-core/lib/legacy_parse.c: New file. + * grub-core/normal/auth.c (grub_cmd_authenticate): New command. + * include/grub/i386/pc/vesa_modes_table.h: New file. + * include/grub/legacy_parse.h: Likewise. + * include/grub/normal.h (grub_normal_add_menu_entry): New proto. + * util/grub-menulst2cfg.c: New file. + +2010-09-17 Colin Watson + + * grub-core/kern/emu/hostdisk.c + (convert_system_partition_to_system_disk): Initialise node. + +2010-09-17 Colin Watson + + * grub-core/kern/emu/hostdisk.c + (convert_system_partition_to_system_disk): Fix devmapper memory pool + leak. + Reported and based on patch by: Modestas Vainius. + +2010-09-17 Colin Watson + + Fix DM-RAID probing with recent versions of device-mapper udev + rules. + + * grub-core/kern/emu/hostdisk.c (read_device_map): Don't + canonicalise device paths under /dev/mapper/. + (convert_system_partition_to_system_disk): Compare the + uncanonicalised path to /dev/mapper/ rather than the canonicalised + path, since device nodes under /dev/mapper/ are often symlinks. + +2010-09-17 Yves Blusseau + + * .bzrignore: *.d removed (old rule), add *.image and symlist.h. + +2010-09-16 Yves Blusseau + + * configure.ac: Avoid some annoying error messages if freetype-config + program is not found. + +2010-09-16 Colin Watson + + Support RAID on virtio devices, and others. + + * grub-core/kern/emu/getroot.c [__MINGW32__] (find_root_device): + Rename to ... + [__MINGW32__] (grub_find_device): ... this. + [! __MINGW32__ && ! __CYGWIN__] (find_root_device): Rename to ... + [! __MINGW32__ && ! __CYGWIN__] (grub_find_device): ... this. Use a + reasonable default if dir is NULL. + [! __MINGW32__ && __CYGWIN__] (find_cygwin_root_device): Rename to + ... + [! __MINGW32__ && __CYGWIN__] (grub_find_device): ... this. + (grub_guess_root_device): Update callers. + * include/grub/emu/getroot.h (grub_find_device): Add prototype. + + * util/raid.c (grub_util_getdiskname): Remove. + (grub_util_raid_getmembers): Use grub_find_device rather than + grub_util_getdiskname. + +2010-09-16 Colin Watson + + * docs/grub.texi (serial): Remove obsolete comment about GRUB + needing to be compiled with serial support. + (ls): Indicate that multiple files are accepted. + * grub-core/commands/ls.c (GRUB_MOD_INIT): Update help text to + indicate that multiple files are accepted. + +2010-09-16 Colin Watson + + * .bzrignore: Add *.1, *.8, grub-shell, grub-shell-tester, + libgrub_a_init.c, and util/bash-completion.d/grub. + +2010-09-15 Vladimir Serbinenko + + * util/grub-setup.c (setup): Fix incorrect container semantics. + +2010-09-15 Vladimir Serbinenko + + * grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable + misusage. + Reported by: J. Nick Terry + +2010-09-15 Vladimir Serbinenko + + Move embedding routines to partmap sources files. + + * grub-core/partmap/gpt.c (grub_gpt_partition_type_bios_boot) + [GRUB_UTIL]: New variable. + (gpt_partition_map_iterate): Set part.parent. + (gpt_partition_map_embed) [GRUB_UTIL]: New function. + (grub_gpt_partition_map) [GRUB_UTIL]: Set .embed. + * grub-core/partmap/msdos.c (pc_partition_map_embed) [GRUB_UTIL]: + New function. + (grub_msdos_partition_map) [GRUB_UTIL]: Set .embed. + * include/grub/partition.h (grub_embed_type_t) [GRUB_UTIL]: New type. + (grub_partition_map) [GRUB_UTIL]: New field embed. + * util/grub-setup.c (grub_gpt_partition_type_bios_boot): Removed. + (setup): Use ->embed. + +2010-09-15 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): New + function. + * include/grub/emu/hostdisk.h (grub_util_biosdisk_is_floppy): New proto. + * util/grub-setup.c (setup): Use grub_util_biosdisk_is_floppy. + +2010-09-15 Yves Blusseau + + Add function to get completions from usage. + + * util/bash-completion.d/grub-completion.bash.in: Add function to get + completions from usage. Use LC_ALL=C to get options properly. + +2010-09-15 Vladimir Serbinenko + + * grub-core/gnulib/basename-lgpl.c: Imported. + * grub-core/gnulib/basename.c: Likewise. + * grub-core/gnulib/dirname-lgpl.c: Likewise. + * grub-core/gnulib/dirname.c: Likewise. + * grub-core/gnulib/dirname.h: Likewise. + * grub-core/gnulib/stripslash.c: Likewise. + +2010-09-15 Vladimir Serbinenko + + * grub-core/gnulib/error.c: Resynced. + * grub-core/gnulib/getopt.c: Likewise. + * grub-core/gnulib/getopt_int.h: Likewise. + * grub-core/gnulib/regex.h: Likewise. + * grub-core/gnulib/regex_internal.c: Likewise. + * grub-core/gnulib/regex_internal.h: Likewise. + +2010-09-15 Szymon Janc + + * grub-core/lib/xzembed/xz_dec_stream.c (dec_main): Fix index and block + CRC calculations and validity checks. + * grub-core/lib/xzembed/xz_dec_stream.c (dec_index): Fix index CRC + calculations. + +2010-09-15 Szymon Janc + + * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_end): Fix memory leak. + +2010-09-14 Vladimir Serbinenko + + Fix incorrect echo options handling. + Reported by: Yves Blusseau. + + * include/grub/command.h (grub_command_flags_t): New flags + GRUB_COMMAND_ACCEPT_DASH and GRUB_COMMAND_OPTIONS_AT_START. + * grub-core/lib/arg.c (grub_arg_parse): Handle new flags. + * grub-core/commands/echo.c (GRUB_MOD_INIT): Use new flags. + +2010-09-14 Vladimir Serbinenko + + * include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All + users updated. + (GRUB_COMMAND_FLAG_MENU): Likewise. + (GRUB_COMMAND_FLAG_BOTH): Likewise. + (GRUB_COMMAND_FLAG_TITLE): Removed. + (GRUB_COMMAND_FLAG_NO_ECHO): Likewise. + (GRUB_COMMAND_FLAG_EXTCMD): Moved into enum. + (GRUB_COMMAND_FLAG_DYNCMD): Likewise. + (GRUB_COMMAND_FLAG_BLOCKS): Likewise. + (grub_command_flags_t): New enum. All users updated. + +2010-09-14 Seth Goldberg + + Fix solaris compilation. + + * grub-core/Makefile.core.def (kernel): Include gnulib/error.c on emu. + (grub-emu): Add LIBZFS and LIBNVPAIR to ldadd. + (grub-emu-list): Likewise. + +2010-09-14 Vladimir Serbinenko + + Remove deprecated root command. + + * grub-core/commands/minicmd.c (grub_mini_cmd_root): Removed. All users + updated. + +2010-09-14 Vladimir Serbinenko + + * util/i386/pc/grub-setup.c: Merge this ... + * util/sparc64/ieee1275/grub-setup.c: ... and this ... + * util/grub-setup.c: ... into this. + * include/grub/sparc64/ieee1275/boot.h (grub_boot_blocklist) [ASM_FILE]: + New struct. + +2010-09-14 Vladimir Serbinenko + + * grub-core/fs/ext2.c (grub_ext2_open): Use return error value when + possible. + +2010-09-14 Vladimir Serbinenko + + * grub-core/partmap/sun.c (sun_partition_map_iterate): Don't needlesly + allocate p. + +2010-09-14 Vladimir Serbinenko + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add + explicit root argument to set to prevent UUID to be interpreted as + argument to set. + +2010-09-14 Vladimir Serbinenko + + * grub-core/kern/sparc64/ieee1275/crt0.S: Align stack. + +2010-09-14 Vladimir Serbinenko + + Don't export grub_gate_a20. + + * grub-core/kern/i386/pc/init.c: Remove leftovers. + * grub-core/kern/i386/pc/startup.S (FUNCTION(grub_gate_a20)): Rename + to ... + (grub_gate_a20): ... this. All users updated. + * include/grub/i386/pc/init.h: Removed. All users updated. + +2010-09-14 Vladimir Serbinenko + + Create euro.pf2 which supports most European languages. + + * Makefile.am (grubdata_DATA): Add euro.pf2. + (euro.pf2): New target. + (CLEANFILES): Add euro.pf2. + +2010-09-14 Vladimir Serbinenko + + * configure.ac: Disable emu-usb by default to prevent inadvertent + device takeover. + +2010-09-13 Vladimir Serbinenko + + Disable usbserial on grub-emu since our libusb code isn't good enough + yet. + + * grub-core/Makefile.core.def (usbserial_common): Disable on emu. + (usbserial_pl2303): Likewise. + (usbserial_ftdi): Likewise. + +2010-09-13 Vladimir Serbinenko + + * include/grub/disk.h (grub_disk): Remove has_partitions. + All users updated. + * disk/loopback.c (grub_loopback): Remove has_partitions. + All users updated. + (options): Remove partitions. All users updated. + * util/grub-fstest.c (fstest): Don't pass "-p" to loopback. + * util/i386/pc/grub-setup.c (setup): copy partition table only when + actual partition table is found. + +2010-09-13 Vladimir Serbinenko + + Remove readability checks (too many false negatives). + + * util/grub-install.in: Remove readability checks. + * util/grub-mkconfig.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Revert to old + way. + +2010-09-13 Vladimir Serbinenko + + Enable acpi shutdown on all ACPI platforms. + + * grub-core/Makefile.core.def (halt): Inlude commands/acpihalt.c + on coreboo, multiboot and EFI. + * grub-core/commands/acpihalt.c (get_sleep_type): Add missing casts. + (grub_acpi_halt): Likewise. + * grub-core/commands/i386/pc/halt.c (grub_halt): Call grub_acpi_halt. + (grub_cmd_halt): Don't call grub_acpi_halt directly. + * grub-core/lib/efi/halt.c (grub_halt): Call grub_acpi_halt. + * grub-core/lib/i386/halt.c (grub_halt) + [GRUB_MACHINE_COREBOOT || GRUB_MACHINE_MULTIBOOT]: Likewise. + +2010-09-13 Vladimir Serbinenko + + * grub-core/commands/iorw.c (grub_cmd_read): Declare buf in smallest + context. + +2010-09-13 Vladimir Serbinenko + + * grub-core/video/efi_gop.c: Fix over-80-chars line. + * grub-core/video/efi_uga.c: Likewise. + +2010-09-13 Vladimir Serbinenko + + Filter devaliases and never open same device twice. + + * grub-core/disk/ieee1275/ofdisk.c (last_devpath): New variable. + (last_ihandle): Likewise. + (ofdisk_hash_ent): New member shortest. + (ofdisk_hash_add): Add canonical path too. + (scan): New function. + (grub_ofdisk_iterate): Iterate over hashed entries. + (compute_dev_path): Don't add :0. + (grub_ofdisk_open): Don't really open the disk. + (grub_ofdisk_close): Avoid closing unrelated disk. + (grub_ofdisk_read): Implement reopen logic. + * grub-core/kern/ieee1275/openfw.c (grub_ieee1275_canonicalise_devname): + New function. + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_canonicalise_devname): + New proto. + +2010-09-13 Vladimir Serbinenko + + Fix sparc64. + + * configure.ac (GRUB_KERNEL_MACHINE_LINK_ADDR): Removed. + * grub-core/Makefile.core.def (kernel): Make ldflags just use the + right address. Add sparc64_ieee1275_ldflags. + * grub-core/loader/sparc64/ieee1275/linux.c: Remove leftover include. + * util/grub-mkimagexx.c (locate_sections): Correct grub_host_to_target32 + to grub_host_to_target_addr + (load_image): Likewise. + +2010-09-13 Vladimir Serbinenko + + * grub-core/normal/completion.c (complete_file): Handle device + containing slash. + Fix based on patch by Doug Nazar. + +2010-09-13 Vladimir Serbinenko + + grub-mknetdir script. + + * Makefile.util.def (grub-mknetdir): New module. + * tests/util/grub-shell.in: Support boot=net + * util/grub-mknetdir.in: New file. + +2010-09-13 Vladimir Serbinenko + + videoinfo on non-vbe. + + * grub-core/Makefile.core.def (vbeinfo): Removed. + (vbetest): Removed. + (videoinfo): New module. + * grub-core/commands/i386/pc/vbeinfo.c: Removed. + * grub-core/commands/i386/pc/vbetest.c: Removed. + * grub-core/commands/videoinfo.c: New file. + * grub-core/commands/videotest.c (grub_cmd_videotest): Support mode + specification. + (grub_cmd_videotest) [GRUB_MACHINE_PCBIOS]: Load vbe.mod when invoked + as vbetest. + (GRUB_MOD_INIT) [GRUB_MACHINE_PCBIOS]: New command vbetest. + (GRUB_MOD_FINI) [GRUB_MACHINE_PCBIOS]: Unregister vbetest. + * grub-core/video/efi_gop.c (grub_video_gop_fill_mode_info): Fill + mode_number. New parameter mode. All users updated. + (grub_video_gop_iterate): New function. + (grub_video_efi_gop): New member iterate. + * grub-core/video/i386/pc/vbe.c (framebuffer): Removed leftover fields. + (grub_vbe_set_video_mode): Remove setting useless fields. + (vbe2videoinfo): New function. + (grub_video_vbe_iterate): Likewise. + (grub_video_vbe_setup): Use vbe2videoinfo. + (grub_video_vbe_print_adapter_specific_info): New function. + (grub_video_vbe_adapter): New fields iterate and + print_adapter_specific_info. + * include/grub/video.h (GRUB_VIDEO_MODE_*): Transform into enum. + All users updated. + (grub_video_mode_info): New field mode_number. + (grub_video_adapter): New fields iterate and + print_adapter_specific_info. + +2010-09-13 Tristan Gingold +2010-09-13 Robert Millan +2010-09-13 Vladimir Serbinenko + + * grub-core/commands/efi/lsefisystab.c: New file. + * grub-core/commands/efi/lssal.c: Likewise. + * grub-core/Makefile.core.def (lsacpi): New module. + (lsefisystab): Likewise. + * include/grub/efi/api.h (GRUB_EFI_SAL_TABLE_GUID): New definition. + (GRUB_EFI_HCDP_TABLE_GUID): Likewise. + (grub_efi_sal_system_table): New struct. + (grub_efi_sal_system_table_entrypoint_descriptor): Likewise. + (grub_efi_sal_system_table_memory_descriptor): Likewise. + (grub_efi_sal_system_table_platform_features): Likewise. + (grub_efi_sal_system_table_translation_register_descriptor): Likewise. + (grub_efi_sal_system_table_purge_translation_coherence): Likewise. + (grub_efi_sal_system_table_ap_wakeup): Likewise. + * include/grub/types.h (PRIuGRUB_UINT64_T): New definition. + +2010-09-13 Vladimir Serbinenko + + Support explicit user claim that a device is BIOS-visible. + + * grub-core/kern/emu/getroot.c (grub_util_get_dev_abstraction): + Return GRUB_DEV_ABSTRACTION_NONE if device is in device.map. + * grub-core/kern/emu/hostdisk.c + (convert_system_partition_to_system_disk): Support mdX. + (find_system_device): New parameter add. All users updated. + (grub_util_biosdisk_is_present): New function. + * include/grub/emu/hostdisk.h (grub_util_biosdisk_is_present): New + proto. + +2010-09-13 Vladimir Serbinenko + + Search hints support. + + * commands/search.c (FUNC_NAME): New arguments hints and nhints. + All users updated. + +2010-09-13 Yves Blusseau + + Bash completion script for util commands + + * Makefile.am: Add util/bash-completion.d directory + * configure.ac: Likewise. + * util/bash-completion.d/Makefile.am: New file. + * util/bash-completion.d/grub-completion.bash.in: Likewise. + +2010-09-12 Vladimir Serbinenko + + * grub-core/normal/term.c (put_glyphs_terminal): Correct sign. + (print_backlog): set backlog_ucs4 and backlog_glyphs. + Reported by: Yves Blusseau. + +2010-09-12 Vladimir Serbinenko + + * grub-core/normal/misc.c (grub_normal_print_device_info): Show + partition size and offset. + +2010-09-12 Vladimir Serbinenko + + * grub-core/commands/wildcard.c (make_regex): Escape brackets. + +2010-09-12 Vladimir Serbinenko + + * grub-core/commands/ls.c (grub_cmd_ls): Accept multiple files. + +2010-09-12 Vladimir Serbinenko + + * grub-core/kern/misc.c (grub_vprintf): Use va_copy when necessary. + (grub_xvasprintf): Likewise. + +2010-09-12 Vladimir Serbinenko + + * grub-core/kern/emu/main.c (main): Call hostfs_init only after init_all. + +2010-09-12 Vladimir Serbinenko + + * grub-core/commands/menuentry.c (append_menu_entry): Don't rely on + args ending with NULL. + +2010-09-12 Vladimir Serbinenko + + * grub-core/lib/xzembed/xz_dec_stream.c (xz_dec_reset): Preserve context + pointer. + +2010-09-11 Szymon Janc + + * grub-core/commands/lsacpi.c (grub_cmd_lsacpi): Fix prototype. + +2010-09-11 Vladimir Serbinenko + + Shutdown using ACPI. + + * grub-core/Makefile.core.def (halt): Add commands/acpihalt.c on i386-pc. + * grub-core/commands/acpihalt.c: New file. + * grub-core/commands/i386/pc/halt.c (grub_cmd_halt): Call grub_acpi_halt. + * include/grub/acpi.h (grub_acpi_fadt): New member pm1a. + (grub_acpi_halt): New proto. + (GRUB_ACPI_SLP_EN): New const. + (GRUB_ACPI_SLP_TYP_OFFSET): Likewise. + (GRUB_ACPI_OPCODE_*): New enum. + (GRUB_ACPI_EXTOPCODE_*): Likewise. + +2010-09-11 Tristan Gingold +2010-09-11 Robert Millan +2010-09-11 Vladimir Serbinenko + + * commands/lsacpi.c: New file. + * grub-core/Makefile.core.def (lsacpi): New module. + * include/grub/acpi.h (GRUB_ACPI_FADT_SIGNATURE): New definition. + (GRUB_ACPI_MADT_SIGNATURE): Likewise. + (grub_acpi_madt_entry_header): New struct. + (grub_acpi_madt): Likewise. + (grub_acpi_madt_entry_interrupt_override): Likewise. + (grub_acpi_madt_entry_sapic): Likewise. + (grub_acpi_madt_entry_lsapic): Likewise. + (grub_acpi_madt_entry_platform_int_source): Likewise. + * include/grub/types.h (PRIxGRUB_UINT32_T): New definition. + (PRIuGRUB_UINT32_T): Likewise. + (PRIxGRUB_UINT64_T): Likewise. + +2010-09-11 Vladimir Serbinenko + + Implement loading palette on ieee1275_fb. + + * grub-core/video/ieee1275.c (stdout_ihandle): New variable. + (have_setcolors): Likewise. + (grub_video_ieee1275_init): Fill stdout_ihandle and have_setcolors. + (grub_video_ieee1275_setup): Use grub_video_ieee1275_set_palette. + (grub_video_ieee1275_set_palette): Implement. + +2010-09-11 Vladimir Serbinenko +2010-09-11 Colin Watson + + * util/grub-install.in (grub_partition): New variable. + Set prefix_drive on EFI and PC to (,$grub_partition) as last resort. + * util/i386/pc/grub-setup.c (setup): Don't touch prefix. + Fixes a bug reported by Yves Blusseau. + +2010-09-11 Vladimir Serbinenko + + Fix emu on mipsel. + + * conf/Makefile.common (CFLAGS_PLATFORM): Add -mflush-func + =grub_cpu_flush_cache on all mips and not only yeeloong. + * configure.ac (COND_mips): New conditional. + * grub-core/Makefile.am (KERNEL_HEADER_FILES): Add libgcc on all + platforms. + * grub-core/kern/emu/cache.S (__mips__): Use _flush_cache. + * grub-core/kern/emu/full.c (grub_arch_dl_init_linker) + [GRUB_LINKER_HAVE_INIT]: New function. + (grub_emu_post_init): Likewise. + * grub-core/kern/emu/lite.c (grub_emu_post_init): Likewise. + * grub-core/kern/emu/main.c: Use grub_emu_post_init. + * include/grub/cache.h (_mips): Include mips/cache.h. + * include/grub/disk.h [GRUB_UTIL || GRUB_MACHINE_EMU]: Add missing + LVM and RAID prototypes. + * include/grub/emu/misc.h (grub_emu_post_init): New proto. + * include/grub/mips/time.h (grub_cpu_idle) [GRUB_MACHINE_EMU]: New + function. + +2010-09-10 Colin Watson + + * util/grub-install.in: Don't try to verify core.img until after + running grub-mkimage to create it. + +2010-09-10 Robert Millan + + * util/grub.d/10_hurd.in: Add misc readability checks. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + +2010-09-10 Colin Watson + + * util/grub-install.in: ${imgext} won't be defined here until the + install branch is merged. For the meantime, only verify core.img on + i386-pc and sparc64-ieee1275 platforms. + +2010-09-10 Robert Millan + + Solaris support in grub_find_zpool_from_dir(). Thanks + Seth Goldberg for referring to getextmntent() facility. + + * configure.ac: Check for getextmntent(), `sys/mnttab.h' and + `sys/mkdev.h'. + * grub-core/kern/emu/misc.c [HAVE_SYS_MNTTAB_H]: Include + `'. + [HAVE_SYS_MKDEV_H]: Include `'. + [HAVE_GETEXTMNTENT] (grub_find_zpool_from_dir): Add getextmntent() + method for finding zpool name. + +2010-09-10 Colin Watson + + grub-fstest needs the host and hostfs modules while other utilities + actively require those modules to be absent, so grub-fstest needs + its own initialisation and finalisation code. + + * Makefile.am (grub_fstest.pp): New target. + (grub_fstest_init.lst): Likewise. + (grub_fstest_init.c): Likewise. + * Makefile.util.def (grub-fstest): Add grub_fstest_init.c. + +2010-09-10 Robert Millan + + * configure.ac: Check for `struct statfs.f_fstypename' and + `struct statfs.f_mntfromname'. + + * grub-core/kern/emu/misc.c (grub_find_zpool_from_dir): Conditionalize + kFreeBSD-specific code. + +2010-09-10 Robert Millan + + * util/grub.d/10_kfreebsd.in: Fix ${kfreebsd_device} initialization + on ZFS. Now non-main filesystems are supported as / too. + +2010-09-09 Colin Watson + + * Makefile.util.def (libgrub.a): Move grub-core/kern/emu/hostfs.c + and grub-core/disk/host.c to ... + (grub-fstest): ... here. Having the host disk implementation + present confuses grub-probe and other utility programs. + + * util/grub-mkconfig.in: Only verify readability of grub.cfg.new + when writing to a file, not when writing to stdout. + +2010-09-09 BVK Chaitanya + + * tests/partmap_test.in: New test for partitions. + * Makefile.util.def: Rules for new test. + +2010-09-09 Robert Millan + + * util/grub-probe.c (probe): Fix a pair of unhandled error + conditions. + +2010-09-09 Robert Millan + + Basic Btrfs support (detection and UUID). + + * grub-core/fs/btrfs.c: New file. + * Makefile.util.def (library): Register btrfs.c. + * grub-core/Makefile.core.def: Likewise. + +2010-09-08 Robert Millan + + * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Improve + with (optional) parameters to specify device and relative path. + * util/grub-install.in: Use is_path_readable_by_grub() to + verify readability of a few critical files. + * util/grub-mkconfig.in: Use is_path_readable_by_grub() to + verify readability of grub.cfg.new. + +2010-09-08 Vladimir Serbinenko + + Split minix.mod into minix.mod and minix2.mod. + + * Makefile.util.def (libgrub.a): Add grub-core/fs/minix2.c. + * grub-core/Makefile.core.def (minix2): New module. + * grub-core/fs/minix.c: Use definitions instead of runtime version + checking. + * grub-core/fs/minix2.c: New file. + +2010-09-08 Yves Blusseau + + Add new --boot-directory option to replace --root-directory + + * util/grub-install.in: Add new --boot-directory option + * util/grub-reboot.in: Likewise. + * util/grub-set-default.in: Likewise. + +2010-09-08 Yves Blusseau + + * util/grub-mkconfig.in: Use new variable. + +2010-09-08 Yves Blusseau + + * configure.ac: Define some useful variables. + +2010-09-08 Vladimir Serbinenko + + * grub-core/kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set + GRUB_IEEE1275_FLAG_HAS_CURSORONOFF when appropriate. + * grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_setcursor): + Use terminfo and don't use cursor-on/cursor-off unless it's known + to work. + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New element + GRUB_IEEE1275_FLAG_HAS_CURSORONOFF. + +2010-09-08 Colin Watson + + * grub-core/kern/efi/init.c (grub_efi_set_prefix): If the prefix + starts with "(,", fill the drive containing the loaded image in + between those two characters, but expect that a full partition + specification including partition map names will follow. + +2010-09-08 Robert Millan + + * configure.ac: Remove `--enable-grub-fstest' option. + * Makefile.util.def (grub-fstest): Remove COND_GRUB_FSTEST condition. + + * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Use + `grub-fstest' instead of `grub-probe' for readability verification. + * util/grub-probe.c (probe): Remove readability verification kludge. + +2010-09-08 Robert Millan + + * util/grub-mkconfig.in: Pass `--device ${GRUB_DEVICE}' when + initializing `GRUB_FS'. + +2010-09-08 BVK Chaitanya + + Not command (!) support to GRUB script. + + * tests/grub_script_not.in: New test. + * Makefile.util.def: Rules for new test. + + * grub-core/script/execute.c (grub_script_execute_cmdline): Handle + ! command as a special case. + * grub-core/script/yylex.l (GRUB_PARSER_TOKEN_NOT): Removed. + +2010-09-07 BVK Chaitanya + + * grub-core/commands/wildcard.c (wildcard_expand): Fix wrong + grub_free. + +2010-09-07 BVK Chaitanya + + * docs/grub.texi (Shell-like scripting): Fix @dots to @dots{}. + +2010-09-07 BVK Chaitanya + + * docs/grub.texi (Shell-like scripting): Documentation for break, + continue, shift and return commands. + +2010-09-06 Vladimir Serbinenko + + Rename CD-ROM to cd on BIOS. + + * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_get_drive): Recognise + "cd". + (grub_biosdisk_call_hook): Call with "cd" instead of arbitrary hdX. + +2010-09-05 Vladimir Serbinenko + + * grub-core/kern/emu/main.c (main): Reinit LVM and RAID. + * util/grub-probe.c (main): Likewise. + * util/i386/pc/grub-setup.c (main): Likewise. + * util/sparc64/ieee1275/grub-setup.c (main): Likewise. + Reported and debugged by: alexxy + +2010-09-05 Vladimir Serbinenko + + * grub-core/disk/lvm.c (grub_lvm_scan_device) [GRUB_UTIL]: Output more + diagnostic info. + +2010-09-05 Jo Shields + + * util/grub.d/30_os-prober.in: Add missing classes. + +2010-09-05 Vladimir Serbinenko + + * docs/grub.texi (Theme file format): Document new position format. + +2010-09-05 Vladimir Serbinenko + + * docs/grub.texi (Theme file format): Replace Box_slice_names.png with + a table. Use @code instead of @verbatim. + +2010-09-05 Colin D Bennett + + Gfxmenu documentation. + + * docs/grub.texi (Theme file format): New chapter. + +2010-09-05 Szymon Janc + + * grub-core/Makefile.core.def (xzio): New module. + * grub-core/io/xzio.c: New file. + * grub-core/lib/xzembed/xz.h: New file (from xembed). + * grub-core/lib/xzembed/xz_config.h: Likewise. + * grub-core/lib/xzembed/xz_dec_bcj.c: Likewise. + * grub-core/lib/xzembed/xz_dec_lzma2.c: Likewise. + * grub-core/lib/xzembed/xz_dec_stream.c: Likewise. + * grub-core/lib/xzembed/xz_lzma2.h: Likewise. + * grub-core/lib/xzembed/xz_private.h: Likewise. + * grub-core/lib/xzembed/xz_stream.h: Likewise. + * include/grub/file.h (grub_file_filter_id): New compression filter + GRUB_FILE_FILTER_XZIO. + +2010-09-05 Vladimir Serbinenko + + * include/grub/file.h (GRUB_FILE_SIZE_UNKNOWN): New definition. + * grub-core/disk/loopback.c (grub_loopback_open): Handle unknown file + size. + +2010-09-05 Vladimir Serbinenko + + * include/grub/err.h (grub_err_t): Replace GRUB_ERR_BAD_GZIP_DATA with + GRUB_ERR_BAD_COMPRESSED_DATA. All users updated. + +2010-09-05 Vladimir Serbinenko + + Uncompressed checksum support. + + * grub-core/commands/hashsum.c (options): Add option --uncompress. + (check_list): New parameter uncompress. + (grub_cmd_hashsum): Handle --uncompress. + +2010-09-05 Vladimir Serbinenko + + Reintroduce testload. + + * grub-core/commands/minicmd.c (grub_rescue_cmd_testload) [0]: Moved + from here ... + * grub-core/commands/testload.c (grub_cmd_testload): ... here. + (GRUB_MOD_INIT): New function. + (GRUB_MOD_FINI): Likewise. + * grub-core/Makefile.core.def (testload): New module. + +2010-09-05 Szymon Janc + + * grub-core/lib/posix_wrap/sys/types.h (bool): Transform into an enum. + (uint8_t): New type. + (uint16_t): Likewise. + (uint32_t): Likewise. + (uint64_t): Likewise. + +2010-09-05 Szymon Janc + + * include/grub/crypto.h (GRUB_MD_CRC32): New definition. + +2010-09-05 Vladimir Serbinenko + + * grub-core/io/gzio.c (grub_gzio_open): Removed "transparent" parameter. + Made static. + (grub_gzfile_open): Removed. All users updated. + (GRUB_MOD_INIT): New function. + (GRUB_MOD_FINI): Likewise. + * grub-core/kern/file.c (grub_file_filters_all): New variable. + (grub_file_filters_enabled): Likewise. + (grub_file_open): Handle filters. + * grub-core/loader/i386/bsd.c (GRUB_MOD_INIT): Load gzio. + * grub-core/normal/main.c (GRUB_MOD_INIT): Likewise. + * include/grub/file.h (grub_file_filter_id_t): New type. + (grub_file_filter_t): Likewise. + (grub_file_filters_all): New extern variable. + (grub_file_filters_enabled): Likewise. + (grub_file_filter_register): New inline function. + (grub_file_filter_unregister): Likewise. + (grub_file_filter_disable): Likewise. + (grub_file_filter_disable_compression): Likewise. + * include/grub/gzio.h: Removed. + +2010-09-04 BVK Chaitanya + + Filename expansion support for wildcards in GRUB script. + + * tests/grub_script_expansion.in: New test. + * Makefile.util.def: Rule for new test. + + * grub-core/commands/wildcard.c: New file, implements filename + expansion support for GRUB script. + * grub-core/Makefile.core.def: Rule update for regexp.mod. + * grub-core/script/argv.c: Cosmetic changes. + * grub-core/script/execute.c (grub_script_arglist_to_argv): + Refactored to perform wildcard expansion on arguments. + * include/grub/script_sh.h (grub_script_wildcard_translator): New + struct. + + * tests/util/grub-shell.in: Fix quoting for read input. + +2010-09-04 BVK Chaitanya + + Support for updating environment variables with matched substrings + of regexp. + + * tests/grub_cmd_regexp.in: New test. + * Makefile.util.def: Rule for new test. + + * grub-core/commands/regexp.c: New option -s to update environment + variables with regexp matches. + +2010-09-04 Szymon Janc + + * include/grub/file.h (grub_file): New member not_easly_seekable. + (grub_file_seekable): New inline function. + * grub-core/io/gzio.c (test_header): Don't test end magic if file isn't + easily seekable. + (grub_gzio_open): Set not_easly_seekable. + * grub-core/fs/i386/pc/pxe.c (grub_pxefs_open): Set not_easily_seekable. + * grub-core/io/bufio.c (grub_bufio_open): Propagate not_easily_seekable. + +2010-09-04 BVK Chaitanya + + Support for options to appear multiple times on cmdline. + + * include/grub/lib/arg.h (grub_arg_list_alloc): New prototype. + * grub-core/commands/extcmd.c: Support for repeatable option. + * grub-core/lib/arg.c (grub_arg_list_alloc): New function for + repeatable option support. + + Refactor menuentry into a regular command. + + * grub-core/commands/menuentry.c: New file, menuentry command + implementation. + * grub-core/Makefile.core.def: Rule update for normal.mod. + * grub-core/normal/main.c: Moved menuentry creation to + grub-core/commands/menuentry.c. + * grub-core/normal/menu.c (grub_menu_execute_entry): Removed. + (grub_menu_execute_entry_real): Removed. + * grub-core/script/execute.c (grub_script_execute_sourcecode): New + function. + (grub_script_execute_menuentry): Removed. + * grub-core/script/parser.y (menuentry): Removed. + * grub-core/script/script.c (grub_script_create_cmdmenu): Removed. + * grub-core/script/yylex.l (menuentry): Removed. + * include/grub/menu.h (grub_menu_init): New prototype. + (grub_menu_fini): New prototype. + * include/grub/normal.h (grub_normal_add_menu_entry): Removed. + * include/grub/script_sh.h (grub_script_cmd_menuentry): Removed. + (grub_script_execute_sourcecode): New prototype. + +2010-09-04 BVK Chaitanya + + "return" command for GRUB script functions. + + * tests/grub_script_return.in: New test. + * Makefile.util.def: Rules for new test. + + * grub-core/script/execute.c (grub_script_return): New function. + * grub-core/script/main.c: Register/unregister return commaond. + * include/grub/script_sh.h (grub_script_return): New prototype. + +2010-09-04 BVK Chaitanya + + "setparams" command to update positional parameters. + + * tests/grub_script_setparams.in: New test. + * Makefile.util.def: Rules for new test. + + * grub-core/script/argv.c (grub_script_argv_make): New function. + * grub-core/script/execute.c (replace_scope): New function. + (grub_script_setparams): New function. + * grub-core/script/lexer.c: Remove unused variables. + * grub-core/script/main.c: Register/unregister setparams command. + * include/grub/script_sh.h (grub_script_argv_make): New prototype. + (grub_script_setparams): New prototype. + +2010-09-04 BVK Chaitanya + + * grub-core/normal/completion.c (grub_normal_do_completion): Fix + grub_free order. + +2010-09-04 BVK Chaitanya + + Support for passing block of commands as an argument to extcmds. + + * Makefile.util.def: Rules for new test. + * tests/grub_script_blockarg.in: New test. + * grub-core/tests/test_blockarg.c: New file, block argument + command used in the test. + + * include/grub/extcmd.h (grub_extcmd_context): New struct. + (grub_register_extcmd_prio): New function prototype. + (grub_extcmd_dispatcher): New function prototype. + * include/grub/command.h (GRUB_COMMAND_FLAG_BLOCKS): New command + type. + * include/grub/script_sh.h (struct grub_script): New members + `children', `next_siblings' and `refcnt' for block arguments and + reference counting. + (GRUB_SCRIPT_ARG_TYPE_BLOCK): New argument type. + (grub_script_arg): New member `script' for block argument. + (grub_script_argv): New member `script' for block argument. + (grub_parser_param): New member `scripts' for block argument. + (grub_script_mem_free): New extern function prototype. + (grub_script_ref): New function prototype. + (grub_script_unref): New function prototype. + + * grub-core/normal/dyncmd.c (grub_dyncmd_dispatcher): Moved to + extcmd form to support block arguments. + * grub-core/script/argv.c: Block arguments support. + * grub-core/script/execute.c: Likewise. + * grub-core/script/lexer.c: Likewise. + * grub-core/script/main.c: Likewise. + * grub-core/script/script.c: Likewise. + * grub-core/script/parser.y: Likewise. New `block' and `block0' + non-terminals. + + * grub-core/commands/acpi.c: Update extcmd implementations with + grub_extcmd_context_t. + * grub-core/commands/cat.c: Likewise. + * grub-core/commands/echo.c: Likewise. + * grub-core/commands/extcmd.c: Likewise. + * grub-core/commands/hashsum.c: Likewise. + * grub-core/commands/hdparm.c: Likewise. + * grub-core/commands/help.c: Likewise. + * grub-core/commands/hexdump.c: Likewise. + * grub-core/commands/i386/cpuid.c: Likewise. + * grub-core/commands/i386/pc/drivemap.c: Likewise. + * grub-core/commands/i386/pc/halt.c: Likewise. + * grub-core/commands/i386/pc/sendkey.c: Likewise. + * grub-core/commands/iorw.c: Likewise. + * grub-core/commands/keystatus.c: Likewise. + * grub-core/commands/loadenv.c: Likewise. + * grub-core/commands/ls.c: Likewise. + * grub-core/commands/lspci.c: Likewise. + * grub-core/commands/memrw.c: Likewise. + * grub-core/commands/probe.c: Likewise. + * grub-core/commands/search_wrap.c: Likewise. + * grub-core/commands/setpci.c: Likewise. + * grub-core/commands/sleep.c: Likewise. + * grub-core/disk/loopback.c: Likewise. + * grub-core/hello/hello.c: Likewise. + * grub-core/loader/i386/bsd.c: Likewise. + * grub-core/loader/xnu.c: Likewise. + * grub-core/term/gfxterm.c: Likewise. + * grub-core/term/serial.c: Likewise. + * grub-core/tests/lib/functional_test.c: Likewise. + +2010-09-04 BVK Chaitanya + + Multi-line quoted strings support. + + * grub-core/script/lexer.c (append_newline): Removed. + (grub_script_lexer_yywrap): Refactored. + (grub_script_lexer_init): Refactored. + * grub-core/script/yylex.l (yywrap): New function. + (grub_lexer_resplit): New function. + (grub_lexer_unput): New function. + * include/grub/script_sh.h (grub_lexer_param): New members, unput + and resplit. + * tests/grub_script_echo1.in: Added few more testcases. + +2010-09-04 Vladimir Serbinenko + + * grub-core/kern/misc.c: Don't add abort alias in utils. + Reported by: echoline. + +2010-09-03 BVK Chaitanya + + Add missing files into "make dist" tarball for other platforms. + + * gentpl.py (script): Use dist_noinst_DATA instead of EXTRA_DIST. + * conf/Makefile.common (dist_noinst_DATA): New variable. + * conf/Makefile.extra-dist: Added missing make dist files. + * grub-core/Makefile.core.def: Likewise. + +2010-09-03 Vladimir Serbinenko + + Compress grub_prefix. + + * grub-core/boot/i386/pc/lnxboot.S: Use + GRUB_KERNEL_I386_PC_MULTIBOOT_SIGNATURE. + * grub-core/kern/i386/pc/startup.S: Move grub_prefix to compressed part. + * include/grub/offsets.h: Rename GRUB_MACHINE_DATA_END to + GRUB_MACHINE_PREFIX_END. All users updated. + (GRUB_KERNEL_I386_PC_PREFIX): Set to GRUB_KERNEL_I386_PC_RAW_SIZE. + (GRUB_KERNEL_I386_PC_PREFIX_END): Set to GRUB_KERNEL_I386_PC_PREFIX + + 0x40. + (GRUB_KERNEL_I386_PC_RAW_SIZE): Decrease. + * util/grub-mkimage.c (image_target_desc): Change data_end to + prefix_end. All users updated. + +2010-09-03 Vladimir Serbinenko + + * grub-core/loader/i386/bsd.c (grub_freebsd_boot): Set %ebp to sane + value. + (grub_openbsd_boot): Likewise. + (grub_netbsd_boot): Likewise. + * grub-core/loader/i386/xnu.c (grub_xnu_boot_resume): Likewise. + (grub_xnu_boot): Likewise. + +2010-09-02 Vladimir Serbinenko + + * configure.ac: Clean LIBS variable after tests. + +2010-09-02 Colin Watson + + * INSTALL: Document that libdevmapper needs to be 1.02.34 or later. + +2010-09-02 Vladimir Serbinenko + + * configure.ac: Check for dm_log_with_errno_init in libdevmapper and + echo if libdevmapper will be used. + +2010-09-02 Ian Turner + + * grub-core/fs/i386/pc/pxe.c (grub_pxefs_read): Keep the blocksize + constant for the same file. + +2010-09-02 Vladimir Serbinenko + + * grub-core/kern/i386/multiboot_mmap.c: Remove leftover include. + +2010-09-02 Colin Watson + + * .bzrignore: Add *.pp, **/.dirstamp, grub-core/*.module, and + grub-core/*.pp. + +2010-09-02 Colin Watson + + Zero %ebp and %edi when entering Linux's 32-bit entry point, as + required by the boot protocol. + + * include/grub/i386/relocator.h (struct grub_relocator32_state): Add + ebp and edi members. + * grub-core/lib/i386/relocator.c (grub_relocator_boot): Handle + state.ebp and state.edi. + * grub-core/lib/i386/relocator32.S (grub_relocator32_start): Set + %ebp and %edi according to grub_relocator32_ebp and + grub_relocator32_edi respectively. + * grub-core/loader/i386/linux.c (grub_linux_boot): Zero state.ebp + and state.edi. + +2010-09-02 Vladimir Serbinenko + + Add i386-pc-pxe image target. + + * util/grub-mkimage.c (image_target_desc): New enum value + IMAGE_I386_PC_PXE. + (image_targets): New target i386-pc-pxe. + (generate_image): Handle i386-pc-pxe image. + +2010-09-02 Vladimir Serbinenko + + Fix grub_pxe_scan. + + * grub-core/fs/i386/pc/pxe.c (grub_pxe_pxenv): Put correct type bangpxe. + (grub_pxe_scan): Fix types and pxe_rm_entry computation. + All users updated. + * include/grub/i386/pc/pxe.h (grub_pxe_bangpxe): New struct. + (grub_pxe_pxenv): Correct type. + +2010-09-01 Colin Watson + + * NEWS: Document most of the important changes since 1.98. + +2010-09-01 Colin Watson + + * util/grub-mkrescue.in (usage): Tidy up usage output (and hence + generated manual page) a little. + +2010-09-01 Colin Watson + + * docs/grub.texi: Add myself as an author. + +2010-09-01 Vladimir Serbinenko + + * Makefile.util.def (libgrub.a): Add missing sunpc. + Reported by: Seth Goldberg. + +2010-08-30 Vladimir Serbinenko + + Interrupt wrapping and code simplifications. + + * Makefile.util.def (grub-mkrescue): Use x86 tg instead of + x86_noieee1275 which are functionaly equivalent in this case. + (grub-install): Make source on each platform explicit. Enable on + all noemu. + * gentpl.py (x86_efi_pc): Removed group. + (x86_noefi): Likewise. + (i386_noefi): Likewise. + (x86_noieee1275): Likewise. + (i386_noieee1275): Likewise. + (i386_noefi_noieee1275): Likewise. + (i386_pc_qemu_coreboot): Likewise. + (i386_coreboot_multiboot): Likewise. + (i386_pc_coreboot_multiboot_qemu): Likewise. + (x86_noefi_mips): Likewise. + (noieee1275): Likewise. + (ieee1275_mips): Likewise. + (noemu_noieee1275): Likewise. + (cmos): New group. + (usb): Likewise. + (videoinkernel): Likewise. + (videomodules): Likewise. + * grub-core/Makefile.am (KERNEL_HEADER_FILES): Remove + include/grub/elf.h, include/grub/elfload.h, include/grub/net.h, + include/grub/reader.h, include/grub/symbol.h, include/grub/types.h, + include/grub/loader.h, include/grub/msdos_partition.h, + include/grub/machine/biosdisk.h, include/grub/machine/boot.h, + include/grub/machine/console.h, include/grub/machine/vga.h, + include/grub/machine/vbe.h, include/grub/machine/init.h, + include/grub/machine/kernel.h, include/grub/cpu/time.h, + include/grub/cpu/types.h, include/grub/gzio.h and include/grub/menu.h + (KERNEL_HEADER_FILES) [i386-pc]: Add include/grub/machine/int.h. + (KERNEL_HEADER_FILES) [i386-ieee1275]: Add include/grub/i386/pit.h + * grub-core/Makefile.core.def (kernel): Explicit the source for + startup. Explicit the platforms using kern/generic/rtc_get_time_ms.c. + Split ieee1275_mips. Remove kern/i386/halt.c. Remove kern/i386/misc.S. + Enable kern/i386/pit.c on all x86. Remove kern/i386/ieee1275/init.c. + Use videoinkernel tag. + (usb): Enable on all usb. + (usbserial_common): Likewise. + (usbserial_pl2303): Likewise. + (usbserial_ftdi): Likewise. + (uhci): Enable on all x86. + (ohci): Enable on all pci. + (cmostest): Enable on all CMOS. + (acpi): Include commands/acpi.c on all platforms. + (halt): Add relevant lib/*/halt.c. + (hdparm): Enable on all pci. + (lspci): Likewise. + (usbtest): Enable on all usb. + (ata): Enable on all pci. + (ata_pthru): Likewise. + (usbms): Enable on all usb. + (usb_keyboard): Likewise. + (font): Use tag videomodules. + (bufio): Likewise. + (datetime): Use tag cmos. Enable on all noemu. + (mmap): Use tags common and x86. + (gfxterm): Use tag videomodules. + (bitmap): Likewise. + (bitmap_scale): Likewise. + (video_fb): Likewise. + (video): Likewise. + * grub-core/bus/usb/ohci.c (grub_ohci_td): Make link_td a pointer and + adjust padding accordingly. All users updated. + (grub_ohci_transaction): Fix bad format specification. + (GRUB_MOD_INIT): Add asserts for struct size. + * grub-core/bus/usb/uhci.c (grub_uhci_pci_iter): Add explicit casts. + (grub_alloc_td): Likewise. + (grub_free_queue): Likewise. + (grub_uhci_transfer): Likewise. + (grub_uhci_transaction): Fix bad format specification. + * grub-core/bus/usb/usbtrans.c (grub_usb_control_msg): Likewise. + (grub_usb_bulk_readwrite): Likewise. + * grub-core/kern/i386/misc.S (grub_stop): Moved from here ... + * grub-core/commands/i386/pc/halt.c (stop): ...here. Transformed into C. + Made static. + * grub-core/lib/i386/halt.c (stop): ... and here. Transformed into C. + Made static. + * grub-core/kern/i386/pc/startup.S (grub_halt): Moved from here ... + * grub-core/commands/i386/pc/halt.c (grub_halt): ...here. + Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_biosdisk_rw_int13_extensions): + Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_rw_int13_extensions): + ... here. Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_biosdisk_rw_standard): + Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_rw_standard): + ... here. Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S + (grub_biosdisk_check_int13_extensions): Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c + (grub_biosdisk_check_int13_extensions): ... here. Transformed into C. + Made static. + * grub-core/kern/i386/pc/startup.S + (grub_biosdisk_get_cdinfo_int13_extensions): Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c + (grub_biosdisk_get_cdinfo_int13_extensions): ... here. + Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S + (grub_biosdisk_get_diskinfo_int13_extensions): Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c + (grub_biosdisk_get_diskinfo_int13_extensions): ... here. + Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S + (grub_biosdisk_get_diskinfo_standard): Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c + (grub_biosdisk_get_diskinfo_standard): ... here. + Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S + (grub_biosdisk_get_num_floppies): Moved from here ... + * grub-core/disk/i386/pc/biosdisk.c + (grub_biosdisk_get_num_floppies): ... here. + Transformed into C. Made static. + * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_get_diskinfo_real): + New function. + * grub-core/kern/i386/pc/startup.S (grub_pxe_scan): Moved from here ... + * grub-core/fs/i386/pc/pxe.c (grub_pxe_scan): ... here. + Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_rm_entry): Moved from here ... + * grub-core/fs/i386/pc/pxe.c (grub_rm_entry): ... here. + Transformed into C. Made static. + * grub-core/kern/i386/ieee1275/init.c: Removed. + * grub-core/kern/i386/misc.S: Likewise. + * grub-core/kern/i386/pc/startup.S (grub_get_memsize): + Splitted from here ... + * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): ... here. + Transformed into C. Made static. All users updated. + * grub-core/kern/i386/pc/mmap.c (grub_get_ext_memsize): ... and here. + Transformed into C. Made static. All users updated. + * grub-core/kern/i386/pc/startup.S (grub_get_eisa_mmap): + Moved from here... + * grub-core/kern/i386/pc/mmap.c (grub_get_eisa_mmap): ... here. + Transformed into C. Made static. All users updated. + * grub-core/kern/i386/pc/startup.S (grub_get_mmap_entry): + Moved from here... + * grub-core/kern/i386/pc/mmap.c (grub_get_mmap_entry): ... here. + Transformed into C. Made static. All users updated. + * grub-core/kern/i386/pc/startup.S (grub_stop_floppy): + Removed (replaced by C version). + * grub-core/kern/i386/pc/startup.S (grub_vga_set_mode): + Moved from here... + * grub-core/video/i386/pc/vga.c (grub_vga_set_mode): ...here. + Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_controller_info): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_controller_info): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_mode_info): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_mode_info): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_mode): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_mode): + ... here. Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_mode): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_mode): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S + (grub_vbe_bios_getset_dac_palette_width):Moved from here... + * grub-core/video/i386/pc/vbe.c + (grub_vbe_bios_getset_dac_palette_width):... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_memory_window): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_memory_window): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_memory_window): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_memory_window): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_scanline_length): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_scanline_length): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_scanline_length): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_scanline_length): + ... here. Transformed into C. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_display_start): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_display_start): + ... here. Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_get_display_start): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_display_start): + ... here. Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_vbe_bios_set_palette_data): + Moved from here... + * grub-core/video/i386/pc/vbe.c (grub_vbe_bios_set_palette_data): + ... here. Transformed into C. Made static. + * grub-core/kern/i386/pc/startup.S (grub_pxe_call): Receive + pxe_rm_entry as third argument. + (grub_bios_interrupt): New function. + * grub-core/kern/i386/qemu/mmap.c: Remove useless include. + * grub-core/kern/i386/qemu/startup.S (codestart): Do cli;hlt instead + of calling grub_stop. + * grub-core/kern/efi/efi.c (grub_halt): Moved from here ... + * grub-core/lib/efi/halt.c (grub_halt): ...here. + * grub-core/kern/emu/main.c (grub_halt): Moved from here ... + * grub-core/lib/emu/halt.c (grub_halt): ... here. + * grub-core/lib/i386/halt.c: Moved from here ... + * grub-core/lib/i386/halt.c: ... here. + * grub-core/kern/ieee1275/openfw.c (grub_halt): Moved from here ... + * grub-core/lib/ieee1275/halt.c (grub_halt): ... here. + * grub-core/loader/i386/pc/linux.c (grub_linux16_boot): Call + grub_stop_floppy. + * grub-core/loader/i386/xnu.c (guessfsb) [IEEE1275]: Enable. + * include/grub/i386/coreboot/init.h: Removed. + * include/grub/i386/multiboot/init.h: Likewise. + * include/grub/i386/pc/biosdisk.h: Removed all function prototypes. + * include/grub/i386/pc/init.h: Likewise except grub_gate_a20. + * include/grub/i386/pc/int.h: New file. + * include/grub/i386/pc/pxe.h (GRUB_PXE_SIGNATURE): New definition. + (grub_pxe_scan): Removed. + (grub_pxe_call): Update prototype. + * include/grub/i386/pc/vbe.h: Removed EXPORT_FUNC and useless + prototypes. + * include/grub/i386/pc/vga.h (grub_vga_set_mode): Removed. + * include/grub/i386/qemu/init.h: Removed. + * include/grub/mips/yeeloong/kernel.h (grub_reboot): Add missing + noreturn. + (grub_halt): Likewise. + * include/grub/misc.h (grub_halt): Removed EXPORT_FUNC. + (grub_reboot): Likewise. + * grub-core/kern/i386/coreboot/init.c (grub_stop_floppy): Moved from here... + * include/grub/i386/floppy.h (grub_stop_floppy): ...here. Inlined. + * grub-core/kern/i386/pc/startup.S (grub_hard_stop): Removed. + +2010-08-30 Robert Millan + + * NEWS: Document addition of ZFS support in `grub-install' and + `grub-mkconfig'. + +2010-08-30 BVK Chaitanya + + * conf/Makefile.common (CPPFLAGS_DEFAULT): Remove leading / from + dprintf output. + +2010-08-30 Vladimir Serbinenko + + Remove leftover embedding of font objects. + + * include/grub/kernel.h (OBJ_TYPE_FONT): Removed. + * util/grub-install.in (font): Removed. + * util/grub-mkimage.c (generate_image): Remove font support. All users + updated. + +2010-08-30 Vladimir Serbinenko + + Remove leftover embedding of font objects. + + * include/grub/kernel.h (OBJ_TYPE_FONT): Removed. + * util/grub-install.in (font): Removed. + * util/grub-mkimage.c (generate_image): Remove font support. All users + updated. + +2010-08-30 Vladimir Serbinenko + + * docs/grub.texi (Network): Fix reference to pxe_blksize. + Reported by: Ian Turner + +2010-08-30 Vladimir Serbinenko + + * grub-core/normal/menu.c (grub_wait_after_message): Add a 10 second + timeout to avoid indefinite boot stalling. + +2010-08-30 Vladimir Serbinenko + + * grub-core/normal/color.c (grub_env_write_color_normal): Fix a warning. + (grub_env_write_color_highlight): Likewise. + +2010-08-30 Vladimir Serbinenko + + * grub-core/normal/term.c (print_more): Return to normal and not + to standard state after printing "---MORE---". + +2010-08-30 Vladimir Serbinenko + + * grub-core/term/i386/vga_common.c (grub_console_setcolorstate): + Mask out the bit 0x80 since it has other meaning that specifiing color. + +2010-08-29 Vladimir Serbinenko + + New relocator. Allows for more kernel support and more straightforward + loader writing. + + * Makefile.am (BOOTTARGET): New variable. + (QEMU32): Likewise. + (linux.init.x86_64): New target. + (linux.init.i386): Likewise. + (multiboot.elf): Likewise. + (kfreebsd.elf): Likewise. + (kfreebsd.aout): Likewise. + (pc-chainloader.elf): Likewise. + (pc-chainloader.bin): Likewise. + (ntldr.elf): Likewise. + (ntldr.bin): Likewise. + (multiboot2.elf): Likewise. + (kfreebsd.init.x86_64): Likewise. + (kfreebsd.init.i386): Likewise. + (knetbsd.init.i386): Likewise. + (kopenbsd.init.i386): Likewise. + (knetbsd.init.x86_64): Likewise. + (kopenbsd.init.x86_64): Likewise. + (linux-initramfs.i386): Likewise. + (linux-initramfs.x86_64): Likewise. + (kfreebsd-mfsroot.i386.img): Likewise. + (knetbsd.image.i386): Likewise. + (kopenbsd.image.i386): Likewise. + (kopenbsd.image.x86_64): Likewise. + (knetbsd.miniroot-image.i386.img): Likewise. + (kfreebsd-mfsroot.x86_64.img): Likewise. + (knetbsd.image.x86_64): Likewise. + (knetbsd.miniroot-image.x86_64.img): Likewise. + (kfreebsd-mfsroot.i386.gz): Likewise. + (bootcheck-kfreebsd-i386): Likewise. + (kfreebsd-mfsroot.x86_64.gz): Likewise. + (bootcheck-kfreebsd-x86_64): Likewise. + (knetbsd.miniroot-image.i386.gz): Likewise. + (bootcheck-knetbsd-i386): Likewise. + (bootcheck-kopenbsd-i386): Likewise. + (bootcheck-kopenbsd-x86_64): Likewise. + (knetbsd.miniroot-image.x86_64.gz): Likewise. + (bootcheck-knetbsd-x86_64): Likewise. + (bootcheck-linux-i386): Likewise. + (bootcheck-linux-x86_64): Likewise. + (bootcheck-linux16-i386): Likewise. + (bootcheck-linux16-x86_64): Likewise. + (bootcheck-multiboot): Likewise. + (bootcheck-multiboot2): Likewise. + (bootcheck-kfreebsd-aout): Likewise. + (bootcheck-pc-chainloader): Likewise. + (bootcheck-ntldr): Likewise. + (CLEANFILES): Add new targets. + (BOOTCHECKS): New variable. + (.PHONY): Add bootchecks. + (SUCCESSFUL_BOOT_STRING): New variable. + (BOOTCHECK_TIMEOUT): Likewise. + (bootcheck): New target + * Makefile.util.def (grub-mkrescue): Enable on i386-multiboot. + * configure.ac: Correct efiemu excuse. + * docs/grub.texi (Supported kernels): New chapter. + * grub-core/Makefile.am (KERNEL_HEADER_FILES): Add + include/grub/mm_private.h. Simplify inclusion of + include/grub/boot.h, include/grub/loader.h + and include/grub/msdos_partition.h + (KERNEL_HEADER_FILES) [i386_coreboot]: + Remove include/grub/machine/loader.h. Add include/grub/i386/pit.h. + (KERNEL_HEADER_FILES) [i386_multiboot]: Likewise. + (KERNEL_HEADER_FILES) [i386_qemu]: Likewise. + (KERNEL_HEADER_FILES) [i386_ieee1275]: Remove + include/grub/machine/loader.h. + (KERNEL_HEADER_FILES) [x86_64-efi]: Likewise. + * grub-core/Makefile.core.def (kernel): Remove kern/i386/loader.S from + extra_dist. + (pci.mod): Enable on i386-multiboot. + (acpi.mod): Enable on i386-multiboot and i386-coreboot. + (efiemu.mod): Enable on i386-coreboot, i386-ieee1275, i386-multiboot and + i386-qemu. + (relocator.mod): Rewritten. + (aout.mod): Enable on all x86. + (bsd.mod): Likewise. + (ntldr.mod): New module. + (linux.mod): Use loader/i386/linux.c on all x86. + (xnu.mod): Enable on all x86. + (vga_text.mod): disable on EFI and QEMU. + * grub-core/efiemu/i386/coredetect.c: Remove useless include. + * grub-core/efiemu/i386/pc/cfgtables.c: Likewise. + * grub-core/efiemu/loadcore.c: Likewise. + * grub-core/efiemu/main.c: Likewise. + (grub_efiemu_exit_boot_services): Removed. + (grub_efiemu_finish_boot_services): Likewise. + * grub-core/efiemu/mm.c (grub_efiemu_finish_boot_services): New + function. + * grub-core/efiemu/i386/nocfgtables.c: New file. + * grub-core/kern/dl.c (grub_dl_unload_all): Removed. + * grub-core/kern/efi/efi.c (grub_efi_exit_boot_services): Removed. + (grub_efi_finish_boot_services): Moved from here ... + * grub-core/kern/efi/mm.c (grub_efi_finish_boot_services): ...here. + Fille finish memory map and related data. + (finish_mmap_buf): New variable. + (grub_efi_uintn_t finish_mmap_size): Likewise. + (grub_efi_uintn_t finish_key): Likewise. + (grub_efi_uintn_t finish_desc_size): Likewise. + (grub_efi_uint32_t finish_desc_version): Likewise. + (grub_efi_is_finished): Likewise. + (grub_efi_get_memory_map): Use saved memory map if EFI is already + finished. + * grub-core/kern/elf.c (grub_elf32_phdr_iterate): Make global. + (grub_elf64_phdr_iterate): Likewise. + * grub-core/kern/i386/coreboot/init.c (grub_os_area_addr): Removed. + (grub_os_area_size): Likewise. + (grub_machine_init): Don't reserve os area. + * grub-core/kern/i386/coreboot/startup.S: Don't include loader.S. + * grub-core/kern/i386/ieee1275/startup.S: Likewise. + * grub-core/kern/i386/loader.S: Removed. + * grub-core/kern/i386/pc/init.c (grub_os_area_addr): Removed. + (grub_os_area_size): Likewise. + (grub_machine_init): Don't reserve os area. + * grub-core/kern/i386/pc/startup.S (grub_chainloader_real_boot): + Don't call grub_dl_unload_all. + Don't include loader.S. + * grub-core/kern/i386/qemu/mmap.c (grub_machine_mmap_iterate): + Declare the memory after _end as available. + * grub-core/kern/mm.c (GRUB_MM_FREE_MAGIC): Moved from here... + * include/grub/mm_private.h (GRUB_MM_FREE_MAGIC): ... here. + (GRUB_MM_ALLOC_MAGIC): Moved from here... + * include/grub/mm_private.h (GRUB_MM_ALLOC_MAGIC): ... here. + * grub-core/kern/mm.c (grub_mm_header): Moved from here... + * include/grub/mm_private.h (grub_mm_header): ... here. + * grub-core/kern/mm.c (GRUB_MM_ALIGN): Moved from here... + * include/grub/mm_private.h (GRUB_MM_ALIGN): ... here. + * grub-core/kern/mm.c (grub_mm_region): Moved from here ... + (grub_mm_region): ..here. Removed addr. Added pre_size. + All users updated. + * grub-core/kern/mm.c (base): Renamed to ... + (grub_mm_base): ... this. Made global. + (grub_real_malloc): Alloc from end of region. + (grub_memalign): Don't attempt to malloc if grub_mm_base is NULL. + * grub-core/kern/powerpc/cache.S (grub_arch_sync_caches): Move to ... + * grub-core/kern/powerpc/cache_flush.S: ... here. + * grub-core/lib/efi/relocator.c: New file. + * grub-core/lib/i386/relocator.c: Rewritten. + * grub-core/lib/i386/relocator16.S: New file. + * grub-core/lib/i386/relocator32.S: Likewise. + * grub-core/lib/i386/relocator64.S: Likewise. + * grub-core/lib/i386/relocator_asm.S: Rewritten. + * grub-core/lib/i386/relocator_common.S: New file. + * grub-core/lib/ieee1275/relocator.c: Likewise. + * grub-core/lib/mips/relocator.c: Rewritten. + * grub-core/lib/mips/relocator_asm.S: Renamed variables and minor + stylistic adjustments. + * grub-core/lib/powerpc/relocator.c: New file. + * grub-core/lib/powerpc/relocator_asm.S: Likewise. + * grub-core/lib/relocator.c: Rewritten. + * grub-core/lib/x86_64/relocator_asm.S: New file. + * grub-core/loader/aout.c (grub_aout_load): Make load_addr a void *. + * grub-core/loader/i386/bsd.c (NETBSD_DEFAULT_VIDEO_MODE): New const. + (bsd_tag): New struct. + (tags): New variable. + (tags_last): Likewise. + (netbsd_module): New struct. + (netbsd_mods): New variable. + (netbsd_mods_last): Likewise. + (openbsd_opts): New parameter "serial". + (OPENBSD_SERIAL_ARG): New definition. + (netbsd_opts): New parameter "serial". + (NETBSD_SERIAL_ARG): New definition. + (grub_freebsd_add_meta): Reorganised into ... + (grub_bsd_add_meta): ...this. All users updated. + (grub_freebsd_add_mmap): Reorganised into ... + (generate_e820_mmap): ...this... + (grub_bsd_add_mmap): ...and this. All users updated. + (grub_freebsd_list_modules): Use tags. + (grub_netbsd_add_meta_module): New function. + (grub_netbsd_list_modules): Likewise. + (grub_freebsd_boot): Use relocator and finish EFI. + (grub_openbsd_boot): Likewise. + (grub_netbsd_setup_video): New function. + (grub_netbsd_add_modules): Likewise. + (grub_netbsd_boot): Use grub_netbsd_add_modules, relocator, netbsd_tags + and finish EFI. + (grub_bsd_unload): Unload tags. + (grub_bsd_load_aout): Use relocator. + (grub_bsd_elf32_size_hook): New function. + (grub_bsd_elf32_hook): Use relocator. + (grub_bsd_elf64_size_hook): New function. + (grub_bsd_elf64_hook): Use relocator. + (grub_bsd_load_elf): Use relocator and call grub_openbsd_find_ramdisk. + (grub_bsd_load): Zero-out openbsd_ramdisk. + (grub_bsd_load): Use relocator. + (grub_cmd_openbsd): Support serial. + (grub_cmd_netbsd): Support modules. + (grub_cmd_freebsd_module): Use relocator. + (grub_netbsd_module_load): New function. + (grub_cmd_netbsd_module): Likewise. + (grub_cmd_openbsd_ramdisk): Likewise. + (GRUB_MOD_INIT): Register knetbsd_module, knetbsd_module_elf and + kopenbsd_ramdisk. + (GRUB_MOD_FINI): Unregister new commands. + * grub-core/loader/i386/bsdXX.c (load): Remove useless checks. + (grub_freebsd_load_elfmodule_obj): Use relocator. + (grub_freebsd_load_elfmodule): Likewise. + (grub_freebsd_load_elf_meta): Likewise. + (grub_netbsd_load_elf_meta): New function. + (grub_openbsd_find_ramdisk): Likewise. + * grub-core/loader/i386/bsd_helper.S: Removed. + * grub-core/loader/i386/bsd_pagetable.c: Support relocator. + * grub-core/loader/i386/bsd_trampoline.S: Removed. + * grub-core/loader/i386/efi/linux.c: Likewise. + * grub-core/loader/i386/ieee1275/linux.c: Likewise. + * grub-core/loader/i386/linux.c (HAS_VGA_TEXT): New const. + (DEFAULT_VIDEO_MODE): Likewise. + (real_mode_target): New variable. + (prot_mode_target): Likewise. + (initrd_mem_target): Likewise. + (relocator): Likewise. + (efi_mmap_buf): Likewise. + (efi_mmap_size): Likewise. + (find_efi_mmap_size): Moved from grub-core/loader/i386/efi/linux.c. + (free_pages): Use relocator. + (allocate_pages): Account for efi_mmap and use relocator. Return error. + (grub_linux_setup_video): Return error. + (grub_linux_trampoline_start): Removed. + (grub_linux_trampoline_end): Likewise. + (grub_linux_boot): Use relocator and DEFAULT_VIDEO_MODE. Pass console + andd video parameters depending on firmware. + [GRUB_MACHINE_IEEE1275]: Pass OFW parameters. + [GRUB_MACHINE_EFI]: Pass EFI parameters. + (grub_cmd_linux) [GRUB_MACHINE_EFI]: Likewise. + (grub_cmd_initrd): Use relocator. + * grub-core/loader/i386/linux_trampoline.S: Removed. + * grub-core/loader/i386/multiboot_mbi.c (elf_sec_num): New variable. + (elf_sec_entsize): Likewise. + (elf_sec_shstrndx): Likewise. + (elf_sections): Likewise. + (grub_multiboot_load): Use relocator. + (grub_multiboot_get_mbi_size): Account for sections. + (grub_multiboot_make_mbi): Use relocator and support sections. + (grub_multiboot_add_elfsyms): New function. + (grub_multiboot_free_mbi): Free sections. + * grub-core/loader/i386/pc/linux.c (relocator): New variable. + (grub_linux_real_target): Likewise. + (grub_linux_real_chunk): Likewise. + (grub_linux16_prot_size): Likewise. + (grub_linux16_boot): Use relocator. + (grub_linux_unload): Unload relocator. + (grub_cmd_linux): Use relocator. + (grub_cmd_initrd): Likewise. + * grub-core/loader/i386/pc/ntldr.c: New file. + * grub-core/loader/i386/xnu.c (guessfsb) [GRUB_MACHINE_IEEE1275]: + Don't try to guess CPU frequency. + (grub_xnu_set_video): Stretch bitmap. + (grub_xnu_boot): Use relocator. + * grub-core/loader/mips/linux.c (grub_linux_boot): Use relocator. + (grub_linux_unload): Free relocator. + (grub_linux_load32): Use relocator. + (grub_linux_load64): Likewise. + (grub_cmd_initrd): Likewise. + * grub-core/loader/multiboot.c (grub_multiboot_boot): Use relocator. + (grub_multiboot_unload): Unload relocator. + (grub_cmd_multiboot): Use relocator. + (grub_cmd_module): Likewise. + * grub-core/loader/multiboot_elfxx.c (grub_multiboot_load_elfXX): + Use relocator and support sections. + * grub-core/loader/multiboot_mbi2.c(elf_sec_num): New variable. + (elf_sec_entsize): Likewise. + (elf_sec_shstrndx): Likewise. + (elf_sections): Likewise. + (grub_multiboot_load): Use relocator. + (grub_multiboot_get_mbi_size): Account for sections. + (grub_multiboot_make_mbi): Use relocator and support sections. + (grub_multiboot_add_elfsyms): New function. + * grub-core/loader/powerpc/ieee1275/linux.c: Remove useless include. + * grub-core/loader/sparc64/ieee1275/linux.c: Likewise. + * grub-core/loader/xnu.c (grub_xnu_heap_malloc): Use relocator. + Prototype changed. All users updated. + (grub_xnu_align_heap): Simplified. + (grub_xnu_writetree_toheap): Likewise. + (grub_xnu_unload): Unload relocator. + (grub_cmd_xnu_kernel): Use relocator. + (grub_cmd_xnu_kernel64): Likewise. + (grub_xnu_register_memory): Simplified. + * grub-core/loader/xnu_resume.c (grub_xnu_resume): Use relocator. + * grub-core/term/efi/console.c (grub_console_putchar): Abort if + EFI is finished. + (grub_console_checkkey): Likewise. + (grub_console_getkey): Likewise. + (grub_console_getwh): Likewise. + (grub_console_getxy): Likewise. + (grub_console_gotoxy): Likewise. + (grub_console_cls): Likewise. + (grub_console_setcolorstate): Likewise. + (grub_console_setcursor): Likewise. + * grub-core/term/ns8250.c (grub_ns8250_hw_get_port): New function. + * grub-core/tests/boot/kbsd.init-i386.S: New file. + * grub-core/tests/boot/kbsd.init-x86_64.S: Likewise. + * grub-core/tests/boot/kbsd.spec.txt: Likewise. + * grub-core/tests/boot/kernel-8086.S: Likewise. + * grub-core/tests/boot/kernel-i386.S: Likewise. + * grub-core/tests/boot/kfreebsd-aout.cfg: Likewise. + * grub-core/tests/boot/kfreebsd.cfg: Likewise. + * grub-core/tests/boot/kfreebsd.init-i386.S: Likewise. + * grub-core/tests/boot/kfreebsd.init-x86_64.S: Likewise. + * grub-core/tests/boot/knetbsd.cfg: Likewise. + * grub-core/tests/boot/kopenbsd.cfg: Likewise. + * grub-core/tests/boot/kopenbsdlabel.txt: Likewise. + * grub-core/tests/boot/linux.cfg: Likewise. + * grub-core/tests/boot/linux.init-i386.S: Likewise. + * grub-core/tests/boot/linux.init-x86_64.S: Likewise. + * grub-core/tests/boot/linux16.cfg: Likewise. + * grub-core/tests/boot/multiboot.cfg: Likewise. + * grub-core/tests/boot/multiboot2.cfg: Likewise. + * grub-core/tests/boot/ntldr.cfg: Likewise. + * grub-core/tests/boot/pc-chainloader.cfg: Likewise. + * include/grub/aout.h (grub_aout_load): Make load_addr a void *. + * include/grub/autoefi.h (grub_autoefi_finish_boot_services): + New definition. + * include/grub/dl.h (grub_dl_unload_all): Removed. + * include/grub/efi/efi.h (grub_efi_exit_boot_services): Likewise. + (grub_efi_finish_boot_services): Change prototype. + (grub_efi_is_finished): New variable. + * include/grub/efiemu/efiemu.h (grub_efiemu_finish_boot_services): + Changed prototype. + (grub_efiemu_finish_boot_services): Removed. + (grub_machine_efiemu_init_tables): New prototype. + * include/grub/elfload.h (grub_elf32_phdr_iterate): Likewise. + (grub_elf64_phdr_iterate): Likewise. + * include/grub/i386/bsd.h: Include relocator.h. + (freebsd_tag_header): New struct. + (grub_openbsd_bios_mmap): Removed. + (grub_unix_real_boot): Removed. + (grub_freebsd_load_elfmodule32): Changed prototype. + (grub_freebsd_load_elfmodule_obj64): Likewise. + (grub_freebsd_load_elf_meta32): Likewise. + (grub_freebsd_load_elf_meta64): Likewise. + (grub_freebsd_add_meta): Removed. + (grub_netbsd_load_elf_meta32): New prototype. + (grub_netbsd_load_elf_meta64): Likewise. + (grub_bsd_add_meta): Likewise. + (grub_openbsd_ramdisk_descriptor): New struct. + (grub_openbsd_find_ramdisk32): New prototype. + (grub_openbsd_find_ramdisk64): Likewise. + * include/grub/i386/coreboot/loader.h: Removed. + * include/grub/i386/efi/loader.h: Likewise. + * include/grub/i386/ieee1275/loader.h: Likewise. + * include/grub/i386/linux.h (linux_kernel_header): Change void * + to grub_uint32_t. + * include/grub/i386/loader.h: Removed. + * include/grub/i386/memory.h (GRUB_MEMORY_CPU_CR4_PAE_ON): Correct the + value. + (GRUB_MEMORY_CPU_CR4_PSE_ON): New definition. + (grub_phys_addr_t): New type. + (grub_vtop): New inline function. + (grub_map_memory): Likewise. + (grub_unmap_memory): Likewise. + * include/grub/i386/multiboot/loader.h: Removed. + * include/grub/i386/netbsd_bootinfo.h (NETBSD_BTINFO_BOOTDISK): Removed. + (NETBSD_BTINFO_CONSOLE): New definition. + (NETBSD_BTINFO_SYMTAB): Likewise. + (NETBSD_BTINFO_MODULES): Likewise. + (NETBSD_BTINFO_FRAMEBUF): Likewise. + (grub_netbsd_bootinfo): New struct. + (grub_netbsd_btinfo_common): Use explicit bitsize. + (grub_netbsd_btinfo_mmap_entry): Removed. + (GRUB_NETBSD_MAX_BOOTPATH_LEN): New definition. + (grub_netbsd_btinfo_bootdisk): New struct. + (grub_netbsd_btinfo_symtab): Likewise. + (grub_netbsd_btinfo_serial): Likewise. + (grub_netbsd_btinfo_modules): Likewise. + (grub_netbsd_btinfo_framebuf): Likewise. + (GRUB_NETBSD_MAX_ROOTDEVICE_LEN): New definition. + * include/grub/i386/openbsd_bootarg.h (OPENBSD_BOOTARG_CONSOLE): + Likewise. + (grub_openbsd_bootargs): Use explicit bitsize. + (grub_openbsd_bootarg_console): New struct. + (GRUB_OPENBSD_COM_MAJOR): New definition. + (GRUB_OPENBSD_VGA_MAJOR): Likewise. + * include/grub/i386/pc/efiemu.h: Removed. + * include/grub/i386/pc/loader.h: Don't include cpu/loader.h. + * include/grub/i386/qemu/loader.h: Removed. + * include/grub/i386/relocator.h: Rewritten. + * include/grub/i386/xnu.h (grub_xnu_heap_will_be_at): Removed. + * include/grub/mips/memory.h: New file. + * include/grub/mips/multiboot.h: Rewritten. + * include/grub/mips/relocator.h: Rewritten. + * include/grub/mips/yeeloong/memory.h (grub_phys_addr_t): New type. + (grub_vtop): New function. + (grub_map_memory): Likewise. + (grub_unmap_memory): Likewise. + * include/grub/misc.h (ALIGN_DOWN): New definition. + * include/grub/mm.h (grub_mm_check_real): New proto. + (GRUB_MM_CHECK): New definition. + * include/grub/mm_private.h: New file. + * include/grub/multiboot.h (grub_multiboot_relocator): New variable. + (grub_multiboot_get_mbi_size): Removed. + (grub_multiboot_make_mbi): Change prottype. + (grub_multiboot_set_accepts_video): New proto. + (grub_multiboot_add_elfsyms): Likewise. + (grub_multiboot_payload_eip): New variable. + * include/grub/ns8250.h (grub_ns8250_hw_get_port) [!ASM_FILE]: + New prototype. + * include/grub/offsets.h (GRUB_KERNEL_I386_MULTIBOOT_PREFIX): + New definition. + (GRUB_KERNEL_I386_MULTIBOOT_DATA_END): Likewise. + (GRUB_KERNEL_I386_MULTIBOOT_MOD_ALIGN): Likewise. + * include/grub/powerpc/ieee1275/loader.h: Removed. + * include/grub/powerpc/memory.h: New file. + * include/grub/powerpc/relocator.h: Likewise. + * include/grub/relocator.h: Likewise. + * include/grub/relocator_private.h: Likewise. + * include/grub/sparc64/ieee1275/loader.h: Removed. + * include/grub/x86_64/memory.h: New file. + * include/grub/xnu.h (grub_xnu_writetree_toheap): Changed prototype. + (grub_xnu_heap_malloc): Likewise. + (grub_xnu_heap_real_start): Removed. + (grub_xnu_heap_start): Likewise. + (grub_xnu_relocator): New variable. + (grub_xnu_heap_target_start): Likewise. + * tests/util/grub-shell.in: Support non-pc. + * util/grub-mkimage.c (image_targets): Fix multiboot target. + +2010-08-29 Vladimir Serbinenko + + * grub-core/normal/charset.c (grub_utf8_to_ucs4_alloc): Avoid deadloop + on malloc error. + (grub_bidi_logical_to_visual): Check that malloc succeded. + * grub-core/normal/term.c (grub_puts_terminal): Fix fallback to dumb + puts. + (grub_xputs_normal): Likewise. + +2010-08-29 Vladimir Serbinenko + + * grub-core/Makefile.core.def (kernel): Add kern/mips/cache_flush.S to + extra_dist. + +2010-08-29 Vladimir Serbinenko + + * grub-core/efiemu/runtime/efiemu.sh: Removed. + +2010-08-29 Vladimir Serbinenko + + * Makefile.util.def (grub-ofpathname): Add missing ldadd. + +2010-08-29 Vladimir Serbinenko + + * grub-core/kern/misc.c (grub_real_dprintf): Always refresh after + dprintf. + +2010-08-29 BVK Chaitanya + + * Makefile.util.def: Use ldadd instead of ldflags for libraries. + +2010-08-28 Vladimir Serbinenko + + * grub-core/normal/term.c (print_more): Fix a memory leak. + (grub_puts_terminal): Revert to dumb puts if memory allocation fails. + (grub_xputs_normal): Likewise. + +2010-08-28 Vladimir Serbinenko + + * grub-core/script/lexer.c (grub_script_lexer_init): Don't look before + the begining of the string + +2010-08-28 Vladimir Serbinenko + + * grub-core/script/script.c (grub_script_parse): Free parsed on + failure. + +2010-08-28 Vladimir Serbinenko + + * grub-core/normal/completion.c (grub_normal_do_completion): Free argv + on failure. + +2010-08-28 Vladimir Serbinenko + + * grub-core/normal/cmdline.c (grub_cmdline_get): Free cl_terms on + return. + +2010-08-28 Vladimir Serbinenko + + * grub-core/term/gfxterm.c (grub_gfxterm_term_fini): Free the text buffer. + (scroll_up): Fix a memory leak. + +2010-08-28 Vladimir Serbinenko + + * grub-core/fs/nilfs2.c (grub_nilfs2_load_sb): Handle grub_disk_read + errors. + +2010-08-27 Vladimir Serbinenko + + Handle USB pendrives exposed as floppies. + + * grub-core/boot/i386/pc/boot.S: Check LBA even on what appears to be + floppy. + * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Likewise. + Check for partitions on all devices. + +2010-08-25 Vladimir Serbinenko + + * grub-core/term/ieee1275/ofconsole.c (put): Correct prototype. + (readkey): Likewise. + +2010-08-25 BVK Chaitanya + + Multiple variable names support to "export" command. + + * normal/context.c (grub_cmd_export): "export" command supports + multiple variable names. + +2010-08-23 Samuel Thibault + + * util/grub.d/30_os-prober.in: Fix conversion from grub-probe + --target=drive output to Mach device name. + +2010-08-23 BVK Chaitanya + + New Automake based build system for GRUB. + + * ABOUT-NLS: New file. + * Makefile.am: New file. GRUB host utils' rules that doesn't fit + in Makefile.util.def file. + * Makefile.util.def: New file. Autogen build definitions file for + GRUB host utils. + * conf/Makefile.common: New file. Common variables for GRUB host + utils and target modules. + * conf/Makefile.extra-dist: New file. Extra files for make dist. + * docs/Makefile.am: New file. Automake file for docs. + * gentpl.py: New file. Python script to generate Autogen + template. + * grub-core/Makefile.am: New file. GRUB target modules' rules + that doesn't fit in Makefile.core.def file. + * grub-core/Makefile.core.def: New file. Autogen build + definitions file for GRUB target modules. + * grub-core/lib/setjmp.S: New file. Wrapper for target_cpu + specific setjmp.S file. + * po/Makefile.am: New file. + + * .bzrignore: New ignores. + * INSTALL: New requirements, without Ruby. + * acinclude.m4: Use TARGET_IMG_BASE_LDOPT variable instead. + * autogen.sh: Updated to invoke autogen as necessary. + * configure.ac: Separate *FLAGS with HOST_ and TARGET_ prefixes, + and defines for Automake conditionals. + * geninit.sh: Refactoring. + + * include/grub/dl.h: Allow build rules to define GRUB_MOD_* if + necessary. + * include/grub/emu/getroot.h (grub_make_system_path_relative_to_its_root): + New prototype. + + * include/grub/test.h: Fix functional test modules' naming. + * grub-core/tests/example_functional_test.c: Fix test module name. + + * util/misc.c: Hosted versions' of grub functions for libgrub.a + * tests/lib/unit_test.c: Remove hosted versions of grub functions. + * util/grub-editenv.c: Likewise. + * util/grub-fstest.c: Likewise. + * util/grub-mkdevicemap.c: Likewise. + * util/grub-mkfont.c: Likewise. + * util/grub-mkimage.c: Likewise. + * util/grub-mkpasswd-pbkdf2.c: Likewise. + * util/grub-probe.c: Likewise. + * util/grub-script-check.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/sparc64/ieee1275/grub-setup.c: Likewise. + + * tests/util/grub-shell.in: Fix override directory path. + * util/grub-mkrescue.in: Replace @pkglib_DATA@ with files. + * util/import_gcry.py: Create Makefile.gcry.def file instead. + + * util/lvm.c: Update #includes. + * util/raid.c: Likewise. + * util/resolve.c: Likewise. + * grub-core/bus/emu/pci.c: Likewise. + * grub-core/lib/posix_wrap/stdlib.h: Likewise. + * grub-core/lib/posix_wrap/string.h: Likewise. + * grub-core/kern/emu/main.c: Likewise. + + * grub-core/gensymlist.sh: New file. Script for generating kernel + symbols file. + * grub-core/genmoddep.awk: Support new kernel_syms.lst format. + + * grub-core/gentrigtables.c: Fix unused variable warnings. + + * Makefile.in: Removed. + * conf/any-emu.rmk: Removed. + * conf/common.rmk: Removed. + * conf/i386-coreboot.rmk: Removed. + * conf/i386-efi.rmk: Removed. + * conf/i386-ieee1275.rmk: Removed. + * conf/i386-multiboot.rmk: Removed. + * conf/i386-pc.rmk: Removed. + * conf/i386-qemu.rmk: Removed. + * conf/i386.rmk: Removed. + * conf/mips-yeeloong.rmk: Removed. + * conf/mips.rmk: Removed. + * conf/powerpc-ieee1275.rmk: Removed. + * conf/sparc64-ieee1275.rmk: Removed. + * conf/tests.rmk: Removed. + * conf/x86-efi.rmk: Removed. + * conf/x86_64-efi.rmk: Removed. + * gendistlist.sh: Removed. + * geninitheader.sh: Removed. + * genkernsyms.sh.in: Removed. + * genmk.rb: Removed. + * gensymlist.sh.in: Removed. + * mkinstalldirs: Removed. + * boot: Moved ... + * grub-core/boot: ... to here. + * bus: Moved ... + * grub-core/bus: ... to here. + * commands: Moved ... + * grub-core/commands: ... to here. + * disk: Moved ... + * grub-core/disk: ... to here. + * efiemu: Moved ... + * grub-core/efiemu: ... to here. + * font: Moved ... + * grub-core/font: ... to here. + * fs: Moved ... + * grub-core/fs: ... to here. + * gencmdlist.sh: Moved ... + * grub-core/gencmdlist.sh: ... to here. + * genemuinit.sh: Moved ... + * grub-core/genemuinit.sh: ... to here. + * genemuinitheader.sh: Moved ... + * grub-core/genemuinitheader.sh: ... to here. + * genfslist.sh: Moved ... + * grub-core/genfslist.sh: ... to here. + * genhandlerlist.sh: Moved ... + * grub-core/genhandlerlist.sh: ... to here. + * genmoddep.awk: Moved ... + * grub-core/genmoddep.awk: ... to here. + * genmodsrc.sh: Moved ... + * grub-core/genmodsrc.sh: ... to here. + * genpartmaplist.sh: Moved ... + * grub-core/genpartmaplist.sh: ... to here. + * genparttoollist.sh: Moved ... + * grub-core/genparttoollist.sh: ... to here. + * genterminallist.sh: Moved ... + * grub-core/genterminallist.sh: ... to here. + * gentrigtables.c: Moved ... + * grub-core/gentrigtables.c: ... to here. + * genvideolist.sh: Moved ... + * grub-core/genvideolist.sh: ... to here. + * gettext: Moved ... + * grub-core/gettext: ... to here. + * gfxmenu: Moved ... + * grub-core/gfxmenu: ... to here. + * gnulib: Moved ... + * grub-core/gnulib: ... to here. + * hello: Moved ... + * grub-core/hello: ... to here. + * hook: Moved ... + * grub-core/hook: ... to here. + * io: Moved ... + * grub-core/io: ... to here. + * kern: Moved ... + * grub-core/kern: ... to here. + * lib: Moved ... + * grub-core/lib: ... to here. + * loader: Moved ... + * grub-core/loader: ... to here. + * mmap: Moved ... + * grub-core/mmap: ... to here. + * normal: Moved ... + * grub-core/normal: ... to here. + * partmap: Moved ... + * grub-core/partmap: ... to here. + * parttool: Moved ... + * grub-core/parttool: ... to here. + * script: Moved ... + * grub-core/script: ... to here. + * term: Moved ... + * grub-core/term: ... to here + * tests/example_functional_test.c: Moved ... + * grub-core/tests/example_functional_test.c: ... to here. + * tests/lib/functional_test.c: Moved ... + * grub-core/tests/lib/functional_test.c: ... to here. + * tests/lib/test.c: Moved ... + * grub-core/tests/lib/test.c: ... to here. + * video: Moved ... + * grub-core/video: ... to here. + +2010-08-23 BVK Chaitanya + + Replace --enable-grub-emu-modules with grub-emu-lite. + + * kern/emu/cache.S: New file. Wrapper for $target_cpu specific + cache.S. + + * include/grub/emu/misc.h (grub_emu_init): New prototype. + * kern/emu/full.c: New file. For grub-emu specific initialization. + * kern/emu/lite.c: New file. For grub-emu-lite initialization. + * kern/emu/main.c: Call initialization function grub_emu_init. + + * Makefile.in: Include grub-emu-lite in install. + * commands/parttool.c: Use grub_no_autoload to differentiate + between grub-emu and grub-emu-lite. + * include/grub/misc.h: New variable grub_no_autoload. + + * conf/any-emu.rmk: New rules for grub-emu-lite. + * configure.ac: Remove --enable-grub-emu-modules. + * genmk.rb: Cleanup unnecessary rules. + * include/grub/dl.h: Remove GRUB_NO_MODULES macro. + + * normal/main.c: Don't load list files on grub-emu-lite. + * util/misc.c (grub_arch_sync_caches): Removed. + +2010-08-23 Colin Watson + + * kern/mips/startup.S (grub_prefix): Update comment to refer to + grub-mkimage rather than grub-mkelfimage. + * kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise. + +2010-08-22 Vladimir Serbinenko + + * term/at_keyboard.c (grub_at_keyboard_getkey_noblock): Don't discard + a key after CapsLock or NumLock. It's just a qemu bug. + +2010-08-21 Vladimir Serbinenko + + * include/grub/usb.h (grub_usb_device): Add 'data' field back. It's + needed by libusb wrapper. + +2010-08-21 Samuel Thibault + + * docs/grub.texi (GNU/Hurd): Document booting GNU/Hurd. + +2010-08-21 Vladimir Serbinenko + + * loader/multiboot.c (grub_cmd_module): Don't unzip module if + --nounzip is passed. + +2010-08-20 Vladimir Serbinenko + + USB hotunplugging and USB serial support. + + * bus/usb/ohci.c (grub_ohci_transfer): Fill *actual and respect timeout. + * bus/usb/uhci.c (grub_free_queue): Compute *actual. + (grub_uhci_transfer): Respect timeout and set *actual. + * bus/usb/usb.c (grub_usb_device_initialize): Correctly skip fields of + non-standard length. + (grub_usb_device_attach): Autoload modules. + (GRUB_MOD_INIT): Set grub_term_poll_usb. + (GRUB_MOD_FINI): Unset grub_term_poll_usb. + * bus/usb/usbhub.c (grub_usb_hub): Replace speed with devices. All + users updated. + (grub_usb_add_hub): Fill nports and children. + (attach_root_port): Receive hub instead of controller. + All users updated. Fill hub->devices. + (grub_usb_root_hub): Allocate hub->devices. + (detach_device): New function. + (poll_nonroot_hub): Fill children and detach devices. + * bus/usb/usbtrans.c (grub_usb_bulk_readwrite): Accept timeout and + actual arguments. All users updated. + (grub_usb_bulk_read_extended): New function. + * bus/usb/serial/common.c: New file. + * bus/usb/serial/ftdi.c: Likewise. + * bus/usb/serial/pl2303.c: Likewise. + * commands/terminal.c (handle_command): Support wildcard. + * commands/usbtest.c: Output "Unknown" instead of empty string. + * conf/any-emu.rmk (pkglib_MODULES): Add usbserial_common.mod. + (usbserial_common_mod_SOURCES): New variable. + (usbserial_common_mod_CFLAGS): Likewise. + (usbserial_common_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add usbserial_pl2303.mod. + (usbserial_pl2303_mod_SOURCES): New variable. + (usbserial_pl2303_mod_CFLAGS): Likewise. + (usbserial_pl2303_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add usbserial_ftdi.mod. + (usbserial_ftdi_mod_SOURCES): New variable. + (usbserial_ftdi_mod_CFLAGS): Likewise. + (usbserial_ftdi_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add serial.mod. + (serial_mod_SOURCES): New variable. + (serial_mod_CFLAGS): Likewise. + (serial_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/mips-yeeloong.rmk: Likewise. + * conf/i386.rmk (serial_mod_SOURCES): Add term/ns8250.c. + * conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise. + * disk/usbms.c (first_available_slot): New variable. + (grub_usbms_attach): Don't reuse free slots due to potential cache + problems. + * include/grub/serial.h: Moved to .. + * include/grub/ns8250.h: ...this. + * include/grub/serial.h: New file. + * include/grub/term.h (grub_term_poll_usb): New variable. + * include/grub/terminfo.h (grub_terminfo_input_state): Pass term to + readkey. All users updated. + (grub_terminfo_output_state): Pass term to put. + * include/grub/usb.h (GRUB_USB_REQTYPE): New enum. + (grub_usb_controller_dev): Add timeout and actual arguments to + transfer. All users updated. + (grub_usb_interface): New field detach_data. + (grub_usb_device): New fields children and nports. + (grub_usb_ep_type_t): New type. + (grub_usb_get_ep_type): New function. + (grub_usb_bulk_read_extended): Likewise. + * include/grub/usbdesc.h (grub_usb_desc): New type. + * include/grub/usbserial.h: New file. + * include/grub/usbtrans.h (grub_usb_transaction): New field preceding. + * kern/term.c (grub_term_poll_usb): New variable. + (grub_getkey): Call grub_term_poll_usb if set. + (grub_checkkey): Likewise. + (grub_getkeystatus): Likewise. + * term/serial.c: Moved controller-specific parts to ... + * term/ns8250.c: ... here. + * term/serial.c: Mostly rewritten. + * term/usb_keyboard.c: Reorganised to use GET_REPORT only on attaching + according to spec. + +2010-08-20 Robert Millan + + Make kFreeBSD code more generic to support ext2fs as root, ufs as + a separate module and maybe other interesting combinations. + + * util/grub.d/10_kfreebsd.in (load_kfreebsd_module): New function. + (kfreebsd_entry): Use load_kfreebsd_module() to load modules. + (kfreebsd_entry): Add generic filesystem module load routine. + Map GRUB `ext2' to kFreeBSD `ext2fs'. + +2010-08-20 Colin Watson + + * commands/i386/pc/sendkey.c (keysym_table): Rename "numlock" to + "numcenter" (I misunderstood the purpose of this entry). + * docs/grub.texi (sendkey): Likewise. + +2010-08-20 Colin Watson + + * commands/i386/pc/sendkey.c (options): Remove "keep" from all + status flag options; simply omitting the option is equivalent and + simpler. Rename "wait" to "pause". Rename "sysreq" to "sysrq". + (keysym_table): Rename "num5numlock" to "numlock". + (grub_cmd_sendkey): Reinitialise `andmask' and `ormask', so that we + can uniformly say that only the last of multiple `sendkey' + invocations has any effect. + * docs/grub.texi (sendkey): New section. + +2010-08-19 Colin Watson + + * commands/i386/pc/sendkey.c (options): Fix three typos. + +2010-08-19 Vladimir Serbinenko + + Implement sendkey support. + + * commands/i386/pc/sendkey.c: New file. + * conf/i386-pc.rmk (pkglib_MODULES): Add sendkey.mod. + (sendkey_mod_SOURCES): New variable. + (sendkey_mod_CFLAGS): Likewise. + (sendkey_mod_LDFLAGS): Likewise. + +2010-08-18 Colin Watson + + * configure.ac: Move AM_INIT_AUTOMAKE after AC_CANONICAL_TARGET to + fix warnings from Autoconf. + +2010-08-18 Colin Watson + + * acinclude.m4 (grub_ASM_USCORE): Use a more accurate grep pattern, + to avoid false positives with some assemblers that output things + like "someprefix_func" as part of their output. + +2010-08-15 Robert Millan + + * kern/emu/misc.c (grub_get_libzfs_handle): Handle libzfs_init() + errors. + * kern/emu/getroot.c (find_root_device_from_libzfs): Handle + grub_get_libzfs_handle() errors. + +2010-08-14 Robert Millan + + * kern/emu/misc.c (grub_find_zpool_from_dir): Abort function if + filesystem is not ZFS. + +2010-08-12 BVK Chaitanya + + Fix for misspelled color names defaulting to black/black (bug + reported by Doug Nazar) + + * include/grub/normal.h (grub_parse_color_name_pair): Add return + status to prototype. + * normal/color.c (grub_parse_color_name_pair): Return failure + status. + (grub_env_write_color_normal): Ignore bad color names. + (grub_env_write_color_highlight): Likewise. + * normal/main.c (GRUB_MOD_INIT): Set default color names. + +2010-08-12 BVK Chaitanya + + "shift" command support to GRUB script. + + * include/grub/script_sh.h (grub_script_shift): New prototype. + * script/execute.c (grub_script_shift): New function. + * script/main.c (grub_script_init): Register shift command. + (grub_script_fini): Unregister shift command. + * util/grub-script-check.c (grub_script_cmd_shift): New function. + + * tests/grub_script_shift.in: New testcase. + * conf/tests.rmk: Rules for new testcase. + +2010-08-12 BVK Chaitanya + + "continue" command support to GRUB script. + + * script/execute.c (grub_script_execute_cmdwhile): Continue support. + (grub_script_break): Continue support. + * script/main.c (grub_script_init): Register continue command. + (grub_script_fini): Unregister continue command. + + * tests/grub_script_continue.in: New testcase. + * conf/tests.rmk: Rules for new testcase. + +2010-08-12 BVK Chaitanya + + "break" command support to GRUB script. + + * conf/common.rmk: Rule updates to grub-script-check. + * include/grub/misc.h (grub_min): New function. + * include/grub/script_sh.h (grub_script_init): New prototype. + (grub_script_fini): New prototype. + (grub_script_break): New prototype. + * script/main.c (grub_script_init): New function. + (grub_script_fini): New function. + * script/execute.c (grub_script_break): New function. + * normal/main.c: Calls to grub_script_{init,fini}. + * util/grub-script-check.c (grub_script_break): New function. + + * tests/grub_script_break.in: New testcase. + * conf/tests.rmk: Rules for new test case. + +2010-08-12 BVK Chaitanya + + Function parameters support to GRUB script. + + * script/yylex.l (VARIABLE): Regular expression update. + * script/function.c (grub_script_function_call): Moved ... + * script/execute.c (grub_script_function_call): ... to here. + (grub_script_execute_arglist_to_argv): Removed. + (grub_script_arglist_to_argv): New function. + * script/argv.c: New file. + (grub_script_argv_free): New function. + (grub_script_argv_next): Likewise. + (grub_script_argv_append): Likewise. + (grub_script_argv_split_append): Likewise. + * include/grub/script_sh.h (grub_script_argv): New struct. + (grub_script_argv_free): New function. + (grub_script_argv_next): Likewise. + (grub_script_argv_append): Likewise. + (grub_script_argv_split_append): Likewise. + + * conf/common.rmk (normal.mod): New source script/argv.c. + + * tests/grub_script_echo1.in: More tests. + * tests/grub_script_vars1.in: Likewise. + * tests/grub_script_functions.in: New test case. + * conf/tests.rmk: Rules for new testcase. + +2010-08-12 BVK Chaitanya + + Remove grub_script_cmdblock struct. + + * include/grub/script_sh.h: Remove grub_script_cmdblock. + * script/parser.y: Likewise. + * script/execute.c: Rename cmdblock suffix to cmdlist. + * script/script.c: Likewise. + * util/grub-script-check.c: Likewise. + +2010-08-11 Yves Blusseau + + * .bzrignore: add grub-macho2img + +2010-08-11 Vladimir Serbinenko + + * kern/i386/qemu/init.c (grub_qemu_init_cirrus): Fix compilation error. + +2010-08-11 Vladimir Serbinenko + + Remove the dump of sm712 initialisation sequence. + + * include/grub/pci.h (GRUB_PCI_CLASS_SUBCLASS_VGA): New const. + * include/grub/vga.h (GRUB_VGA_IO_ARX_READ): New register. + (GRUB_VGA_IO_MISC_WRITE): Likewise. + (GRUB_VGA_CR_*): Added many registers. + (GRUB_VGA_SR_*): Likewise. + (GRUB_VGA_GR_*): Likewise. + (grub_vga_write_arx): New function. + (grub_video_hw_config): New struct. + (grub_vga_set_geometry): New function. + * kern/i386/qemu/init.c (load_palette): Use grub_vga_write_arx and + GRUB_PCI_CLASS_SUBCLASS_VGA. + * video/cirrus.c (grub_video_cirrus_setup): Use grub_vga_set_geometry. + * video/sm712.c (grub_sm712_write_reg): New function + (grub_sm712_read_reg): Likewise. + (grub_sm712_sr_write): Likewise. + (grub_sm712_gr_write): Likewise. + (grub_sm712_cr_write): Likewise. + (grub_sm712_write_arx): Likewise. + (grub_sm712_cr_shadow_write): Likewise. + (grub_sm712_write_dda_lookup): Likewise. + (grub_video_sm712_setup): Initialise the video rather then + blindly replay the dump. + (main) [TEST]: Add a routine to be able to compile as standalone for + tests. + * video/sm712_init.c (sm712_init): Removed. + (sm712_sr_seq1): New array. + (sm712_sr_seq2): Likewise. + +2010-08-10 Vladimir Serbinenko + + * include/grub/vga.h: Add missing grub/pci.h include. + +2010-08-10 Yves Blusseau + + * util/grub-macho2img.c (main): fix typo + +2010-08-10 Vladimir Serbinenko + + * include/grub/vga.h (grub_vga_gr_write): Add GRUB_MACHINE_PCI_IO_BASE. + (grub_vga_gr_read): Likewise. + (grub_vga_cr_write): Likewise. + (grub_vga_cr_read): Likewise. + (grub_vga_sr_write): Likewise. + (grub_vga_sr_read): Likewise. + (grub_vga_palette_read): Likewise. + (grub_vga_palette_write): Likewise. + * video/sm712.c (GRUB_SM712_REG_BASE): New definition. + (grub_sm712_sr_read): New function. + (grub_video_sm712_setup): Use grub_vga_sr_write and grub_sm712_sr_read. + * video/sm712_init.c (sm712_init): Substract GRUB_MACHINE_PCI_IO_BASE. + +2010-08-09 Robert Millan + + * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): Filter + out unused variables on non-ZFS build. + +2010-08-08 Robert Millan + + Fix path generation for sub-filesystems in ZFS. + + * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): Add + missing slash. + +2010-08-08 Robert Millan + + * util/grub-fstest.c (read_file, cmd_cmp): Improve error message. + +2010-08-08 Robert Millan + + * util/grub.d/10_kfreebsd.in: When files required for ZFS do not + exist, issue a proper error message (rely on `ls' for translated + strings). + +2010-08-08 Robert Millan + + Fix grub-probe invocation. + + * util/grub.d/10_kfreebsd.in: s/label/fs_label/g. + +2010-08-04 Robert Millan + + * configure.ac: Remove checks for getfsstat() and getmntany(). + Add checks for `' and `'. + * kern/emu/misc.c [HAVE_GETMNTANY]: Remove `'. + [HAVE_SYS_PARAM_H]: Include `'. + [HAVE_SYS_MOUNT_H]: Include `'. + [HAVE_LIBZFS && HAVE_LIBNVPAIR] (find_mount_point_from_dir): Remove + function. + (grub_find_zpool_from_dir): Use statfs() instead of indirect matching + via find_mount_point_from_dir() and getfsstat() / getmntany(). + +2010-08-04 Robert Millan + + * include/grub/emu/misc.h (grub_find_mount_point_from_dir) + (grub_find_zpool_from_mount_point): Merge into ... + (grub_find_zpool_from_dir): ... this. + * kern/emu/misc.c: Likewise. + + * kern/emu/misc.c + (grub_make_system_path_relative_to_its_root): Replace + grub_find_mount_point_from_dir() / grub_find_zpool_from_mount_point() + with grub_find_zpool_from_dir(). + * kern/emu/getroot.c (find_root_device_from_libzfs): Likewise. + +2010-08-04 Robert Millan + + Support OpenSolaris in ZFS device resolution. + + * configure.ac: Check for getmntany(). + * kern/emu/misc.c [HAVE_GETMNTANY]: Include `'. + [HAVE_GETMNTANY] (grub_find_zpool_from_mount_point): Add OpenSolaris + support. + +2010-08-03 Robert Millan + + Fix grub-emu build. + + * include/grub/util/misc.h: Move `' to ... + * include/grub/emu/misc.h: ... here. + + * include/grub/util/misc.h (grub_get_libzfs_handle): Move function ... + * include/grub/emu/misc.h (grub_get_libzfs_handle): ... here. + + * util/misc.c: Remove `'. + [HAVE_LIBZFS] (libzfs_handle, fini_libzfs) + (grub_get_libzfs_handle): Move to ... + * kern/emu/misc.c [HAVE_LIBZFS] (__libzfs_handle, fini_libzfs) + (grub_get_libzfs_handle): ... here. + +2010-08-03 BVK Chaitanya + + * script/execute.c (grub_script_execute_cmdline): Check for NULL + as command name case. + +2010-08-02 Colin Watson + + * disk/raid.c (insert_array): Select unique numbers for named arrays + as well, for use as keys in the disk cache. + +2010-08-01 Robert Millan + + * util/grub.d/10_kfreebsd.in: Initialize ${kfreebsd_device} as the + kFreeBSD device name, except on ZFS where the filesystem label is + used. + (kfreebsd_entry): On ZFS root, load `opensolaris.ko', `zfs.ko' and + `/boot/zfs/zpool.cache'. + Set mountfrom kernel variable using ${kfreebsd_device}. + +2010-08-01 Robert Millan + + Make it even harder to use uninitialized `libzfs_handle' (and + make the interface a bit simpler). + + * include/grub/util/misc.h (grub_util_init_libzfs) + (libzfs_handle): Remove. + (grub_get_libzfs_handle): New prototype. + + * util/misc.c [HAVE_LIBZFS] (libzfs_handle): Add `static' + attribute. + (grub_util_init_libzfs): Remove. + (grub_get_libzfs_handle): New function. + + * kern/emu/getroot.c (find_root_device_from_libzfs): Use + grub_get_libzfs_handle() to obtain a libzfs handle instead of + accessing `libzfs_handle' directly. + +2010-08-01 Robert Millan + + * include/grub/emu/misc.h (grub_find_mount_point_from_dir) + (grub_find_zpool_from_mount_point): New function prototypes. + + * kern/emu/getroot.c [HAVE_GETFSSTAT]: Move `' to ... + * kern/emu/misc.c [HAVE_GETFSSTAT]: ... here. + + * kern/emu/getroot.c (find_mount_point_from_dir): Move to ... + * kern/emu/misc.c (grub_find_mount_point_from_dir): ... this. Remove + `static' attribute. + + * kern/emu/getroot.c (find_root_device_from_libzfs): Split code for + finding zpool from mount point into ... + * kern/emu/misc.c (grub_find_zpool_from_mount_point): ... this. + + * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): When + requested path is part of a ZFS pool, use + grub_find_zpool_from_mount_point() to detect its filesystem name, + and generate a path with `/fsname@path' syntax. + +2010-08-01 Colin Watson + + * include/grub/util/libzfs.h (libzfs_init): Set argument list to + (void) rather than () so that this is a proper prototype. + +2010-08-01 Vladimir Serbinenko + + * lib/arg.c (grub_arg_show_help): Add the necessary spacing. + +2010-08-01 Vladimir Serbinenko + + * kern/emu/getroot.c (find_mount_point_from_dir): Compile only if + [HAVE_LIBZFS && HAVE_LIBNVPAIR] + +2010-08-01 Colin Watson + + * util/grub-mkrescue.in: Remove ${efi_dir} after building efi.img. + +2010-08-01 Colin Watson + + * script/yylex.l (NAME): Remove [:digit:], redundant with [:alnum:]. + +2010-08-01 Colin Watson + + * docs/grub.texi (Simple configuration): Document GRUB_CMDLINE_XEN + and GRUB_CMDLINE_XEN_DEFAULT. Recommend setting + GRUB_GFXPAYLOAD_LINUX=text rather than unsetting it in order to + disable gfxpayload. + (Shell-like scripting): Add real content. + (Serial terminal): Suggest `terminal_input serial; terminal_output + serial' rather than putting the two commands on separate lines, + since console input will be inoperative after the first command. + (menuentry): Document --class, --users, and --hotkey options. + (terminfo): Describe what `visually-ordered UTF-8' means (thanks, + Vladimir Serbinenko). + +2010-08-01 Vladimir Serbinenko +2010-08-01 Colin Watson + + * kern/misc.c (grub_memset): Optimise to reduce cache stalls. + +2010-08-01 Robert Millan + + * include/grub/emu/misc.h (grub_find_mount_point_from_dir) + (grub_find_zpool_from_mount_point): New function prototypes. + + * kern/emu/getroot.c [HAVE_GETFSSTAT]: Move `' to ... + * kern/emu/misc.c [HAVE_GETFSSTAT]: ... here. + + * kern/emu/getroot.c (find_mount_point_from_dir): Move to ... + * kern/emu/misc.c (grub_find_mount_point_from_dir): ... this. Remove + `static' attribute. + + * kern/emu/getroot.c (find_root_device_from_libzfs): Split code for + finding zpool from mount point into ... + * kern/emu/misc.c (grub_find_zpool_from_mount_point): ... this. + + * kern/emu/misc.c (grub_make_system_path_relative_to_its_root): When + requested path is part of a ZFS pool, use + grub_find_zpool_from_mount_point() to detect its filesystem name, + and generate a path with `/fsname@path' syntax. + +2010-08-01 Robert Millan + + Prevent accidental use of uninitialized libzfs_handle. + + * util/grub-probe.c (main): Move grub_util_init_libzfs() call to ... + * kern/emu/getroot.c (find_root_device_from_libzfs): ... here. + * util/misc.c (grub_util_init_libzfs): Make this function idempotent. + +2010-08-01 Colin Watson + + * util/grub.d/20_linux_xen.in: Don't use UUID for LVM root (matching + util/grub.d/10_linux.in). Fixes Debian bug #591093. + +2010-08-01 Robert Millan + + * kern/emu/getroot.c: Include `'. + +2010-07-31 Robert Millan + + * util/grub.d/10_kfreebsd.in: Make module handling more generic. + +2010-07-31 Robert Millan + + * kern/emu/misc.c: Add missing license header. + +2010-07-31 Robert Millan + + * configure.ac: Check for `libzfs.h' and `libnvpair.h'. + + * include/grub/util/libnvpair.h: Include `'. + [HAVE_LIBNVPAIR_H]: Include `' instead of + declaring libnvpair prototypes ourselves. + * include/grub/util/libzfs.h: Include `'. + [HAVE_LIBZFS_H]: Include `' instead of + declaring libzfs prototypes ourselves. + + (libzfs_handle): Moved to ... + * include/grub/util/misc.h (libzfs_handle): ... here. + Include `'. + +2010-07-30 Robert Millan + + * include/grub/emu/misc.h: Add missing license header. + +2010-07-30 Robert Millan + + Enable `grub-probe -t device' resolution on ZFS. + + * configure.ac: Check for getfsstat(), libzfs and libnvpair. + * include/grub/util/libnvpair.h: New file. + * include/grub/util/libzfs.h: New file. + + * kern/emu/getroot.c: Include `' and `'. + [HAVE_LIBZFS && HAVE_LIBNVPAIR]: Include `' and + `'. + [HAVE_GETFSSTAT]: Include `'. + + (find_mount_point_from_dir): New static function. + [HAVE_LIBZFS && HAVE_LIBNVPAIR] (find_root_device_from_libzfs): New + function. + [HAVE_LIBZFS && HAVE_LIBNVPAIR] (grub_guess_root_device): Use + find_root_device_from_libzfs() before ressorting to find_root_device(). + + * include/grub/util/misc.h (grub_util_init_libzfs): New function + prototype. + * util/misc.c: Include `'. + (grub_util_init_libzfs): New function. + [HAVE_LIBZFS] (libzfs_handle): New global variable. + [HAVE_LIBZFS] (fini_libzfs): New static function. + (grub_util_init_libzfs): New function. + * util/grub-probe.c (main): Call grub_util_init_libzfs(). + +2010-07-30 Robert Millan + + * include/grub/emu/misc.h (grub_make_system_path_relative_to_its_root) + (xmalloc, xrealloc, xstrdup, xasprintf): Add + `warn_unused_result' attribute. + * include/grub/misc.h (grub_strdup, grub_strndup, grub_strlen) + (grub_xasprintf, grub_xvasprintf): Likewise. + * include/grub/emu/misc.h (xasprintf): Remove duplicate prototype. + +2010-07-29 Robert Millan + + * util/grub-probe.c (PRINT_FS_LABEL): New enum value. + (probe): Handle `PRINT_FS_LABEL'. + (main): Handle `-t fs_label'. + +2010-07-29 Robert Millan + + * configure.ac: Remove grub-mkisofs checks. + +2010-07-28 Vladimir Serbinenko + + * util/ieee1275/grub-install.in: Don't use empty grub_device. + Reported by: Lennart Sorensen. + +2010-07-20 Vladimir Serbinenko + + * util/grub.d/00_header.in: Remove compatibility with terminal.mod + prior to terminal_input/terminal_output separation. It's been over 1.5 + years and those versions weren't widely deployed. + +2010-07-22 Colin Watson + + * disk/raid.c (insert_array): Don't count named arrays when looking + for unused array numbers. + Reported and tested by: Michael Guntsche. + +2010-07-20 Colin Watson + + * bus/usb/emu/usb.c (grub_usb_poll_devices): Add a dummy + implementation of this so that grub-emu links again, with a note + that this should support hotplugging in the future. + +2010-07-20 Colin Watson + + * kern/emu/getroot.c (grub_util_get_grub_dev): Use xasprintf. + +2010-07-20 Colin Watson + + * disk/loopback.c (grub_cmd_loopback): Don't leak a grub_file_t + handle on failure. + (grub_loopback_close): Remove empty function. + (grub_loopback_dev): Remove close method. + +2010-07-20 Colin Watson + + Disable EFI cursor when the EFI console becomes inactive. + + * term/efi/console.c (grub_efi_console_init): New function. + (grub_efi_console_fini): New function. + (grub_console_term_output): Register init and fini methods. + +2010-07-20 Vladimir Serbinenko + + * tests/util/grub-shell-tester.in: Remove bashism and declare as + sh script. + +2010-07-20 Vladimir Serbinenko + + * disk/loopback.c (grub_loopback): Replace filename with file. + (delete_loopback): Handle new semantics. + (grub_cmd_loopback): Likewise. + (grub_loopback_iterate): Likewise. + (grub_loopback_close): Likewise. + +2010-07-20 Vladimir Serbinenko + + * util/i386/efi/grub-install.in: Revert to platform-specific behaviour + with -p "". + Reported by: Tito Keitel. + +2010-07-20 Vladimir Serbinenko + + * docs/grub.texi (Naming convention): Document new naming convention. + +2010-07-20 Vadim Solomin +2010-07-20 Colin Watson + + Generate device.map in something closer to the old ordering. + + * util/deviceiter.c (struct device): New declaration. + (compare_file_names): Rename to ... + (compare_devices): ... this. Sort by kernel name in preference to + the stable by-id name, but keep the latter as a fallback comparison. + Update header comment. + (grub_util_iterate_devices) [__linux__]: Construct and sort an array + of `struct device' rather than of plain file names. + +2010-07-20 Thomas Frauendorfer + + * lib/i386/relocator_asm.S [! __x86_64__]: Don't try to disable amd64 + on i386. + +2010-07-20 Vladimir Serbinenko + + * commands/acpi.c (setup_common_tables): Use sizeof instead of + hardcoding size. + (setv1table): Likewise. + +2010-07-20 Colin Watson + + * disk/raid.c (insert_array): Use md/%s to name mdadm 1.x devices, + removing the homehost if present. + * kern/emu/getroot.c (get_mdadm_name) [__linux__]: New function. + (grub_util_get_grub_dev): Use md/%s to name mdadm 1.x devices, + removing the homehost if present. + (grub_util_get_grub_dev) [__linux__]: Get the array name from mdadm + if possible. + * util/i386/pc/grub-setup.c (main): Handle md/* devices. + + * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Add start_sector + parameter. Set its pointer target to 0. + * disk/mdraid_linux.c (grub_mdraid_detect): Add start_sector + parameter. Set its pointer target to 0 for 0.9 metadata, or to the + `data_offset' value from the superblock for 1.x metadata. + * disk/raid.c (grub_raid_read): Offset reads by the start sector of + data on the device. + (insert_array): Record the start sector of data on the device. + (grub_raid_register): Pass start_sector parameters to + grub_raid_list->detect and insert_array. + * include/grub/raid.h (struct grub_raid_array): Add start_sector + member. + (struct grub_raid): Add start_sector parameter to `detect'. + + * disk/mdraid_linux.c (struct grub_raid_super_1x): Remove + __attribute__ ((packed)), leaving a comment. + (grub_mdraid_detect): Split out 0.9 and 1.x detection to ... + (grub_mdraid_detect_09): ... here and ... + (grub_mdraid_detect_1x): ... here. + +2010-07-20 Peter Henn + + * disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x + chunk size and disk size, which are already given as sector counts + as distinct from the 0.90 units. Fetch the correct device number + from the role table instead of using the table index. + +2010-07-20 Felix Zielcke + + * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Set array->name to NULL. + * disk/mdraid_linux.c (grub_raid_super_1x): New structure. + (WriteMostly1): New macro. + Set array->name to NULL for metadata format 0.90. Add support for + metadata 1.x. Fix some comments. + * disk/raid.c (): Add support for name based RAID arrays. Fix a + few comments. + * util/getroot.c (grub_util_get_grub_dev): Add support for + /dev/md/name style devices. + +2010-07-20 Colin Watson + + * .bzrignore: Ignore 20_linux_xen. + +2010-07-17 Colin Watson + + * util/import_unicode.py: Remove unnecessary imports. + +2010-07-17 Aleš Nesrsta + + Hotplugging and USB hub support. + + * bus/usb/ohci.c (grub_ohci_td): Add convenience fields. + (grub_ohci): Likewise. + (GRUB_OHCI_REG_CONTROL_BULK_ENABLE): New definition. + (GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE): Likewise. + (GRUB_OHCI_RESET_CONNECT_CHANGE): Likewise. + (GRUB_OHCI_CTRL_EDS): Likewise. + (GRUB_OHCI_BULK_EDS): Likewise. + (GRUB_OHCI_TDS): Likewise. + (GRUB_OHCI_ED_ADDR_MASK): Likewise. + (grub_ohci_ed_phys2virt): New function. + (grub_ohci_virt_to_phys): Likewise. + (grub_ohci_td_phys2virt): Likewise. + (grub_ohci_td_virt2phys): Likewise. + (grub_ohci_pci_iter): Allocate memory and don't wait for stable + attachment. + (grub_ohci_find_ed): New function. + (grub_ohci_alloc_td): Likewise. + (grub_ohci_free_td): Likewise. + (grub_ohci_free_tds): Likewise. + (grub_ohci_transfer): Use previously allocated memory. + (grub_ohci_portstatus): Reset status changed bit. + (grub_ohci_detect_dev): Supply status changed. + (grub_ohci_fini_hw): Free memory. + (grub_ohci_restore_hw): Reallocate memory. + * bus/usb/uhci.c (grub_uhci_portstatus): Don't reset on disable. + Reset status change. + (grub_uhci_detect_dev): Supply status_change. + * bus/usb/usb.c (attach_hooks): New var. + (grub_usb_device_attach): New function. + (grub_usb_register_attach_hook_class): Likewise. + (grub_usb_unregister_attach_hook_class): Likewise. + * bus/usb/usbhub.c (grub_usb_hub_add_dev): Handle errors correctly. + (grub_usb_add_hub): Reset connection changed bit. + (attach_root_port): New function. + (grub_usb_root_hub): Likewise. + (poll_nonroot_hub): Likewise. + (grub_usb_poll_devices): Likewise. + * commands/usbtest.c (grub_cmd_usbtest): Poll devices before listing. + * disk/usbms.c (grub_usbms_open): Use device hooks. + (grub_usbms_iterate) :Poll devices. + (grub_usbms_finddevs): Split into ... + (grub_usbms_attach): ... this ... + (grub_usbms_attach): ... and this. + * include/grub/usb.h (grub_usb_controller_dev): Supply status_changed + in detect_dev. + (grub_usb_interface): New fields attached and detach_hook. + (grub_usb_attach_hook_class): New type. + (grub_usb_attach_desc): New struct. + (grub_usb_register_attach_hook_class): New function. + (grub_usb_unregister_attach_hook_class): Likewise. + (grub_usb_poll_devices): Likewise. + (grub_usb_device_attach): Likewise. + * include/grub/usbtrans.h (GRUB_USB_HUB_FEATURE_C_CONNECTED): New const. + (GRUB_USB_HUB_STATUS_C_CONNECTED): Likewise. + +2010-07-17 Vladimir Serbinenko + + * include/grub/bsdlabel.h (GRUB_PC_PARTITION_BSD_LABEL_WHOLE_DISK_PARTITION): New definition. + * partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Use FreeBSD + delta determination style. Works with most NetBSD partitions too. + +2010-07-17 Vladimir Serbinenko + + * kern/partition.c [GRUB_UTIL]: Add missing util/misc.h inclusion. + * partmap/bsdlabel.c [GRUB_UTIL]: Likewise. + +2010-07-17 Vladimir Serbinenko + + * disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference. + +2010-07-14 Anton Blanchard + + * loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject + ET_DYN files. + +2010-07-14 Grégoire Sutre + + * Makefile.in: Use the substituted @USE_NLS@ instead of ENABLE_NLS. + +2010-07-14 Grégoire Sutre + + * kern/partition.c (grub_partition_check_containment): New function to + check that a partition is physically contained in a parent. Since + offsets are relative (and non-negative), this reduces to checking that + the partition ends before its parent. + (grub_partition_map_probe): Discard out-of-range sub-partitions. + (grub_partition_iterate): Likewise. + * include/grub/partition.h (grub_partition_map): Slightly more detailed + comments. + * partmap/bsdlabel.c (bsdlabel_partition_map_iterate): Discard + partitions that start before their parent, and add debug printfs. + +2010-07-13 Colin Watson + + * Makefile.in (.SUFFIX): Spell correctly, as ... + (.SUFFIXES): ... this. Fixes bug where `make foo' (where foo is a + bare module name without `.mod', e.g. `test') tried to invoke a + Modula-2 compiler. + +2010-07-13 Colin Watson + + * README: Point to the Info manual. + +2010-07-13 Jiro SEKIBA + + * fs/nilfs2.c: fix macro NILFS_2ND_SUPER_BLOCK to calculate + 2nd superblock position from partition size. + +2010-07-10 Colin Watson + + * Makefile.in (MAINTAINER_CLEANFILES): Remove + unicode/UnicodeData.txt, unicode/BidiMirroring.txt, and + unicode/ArabicShaping.txt again; these are inputs to autogen.sh, not + outputs. + +2010-07-10 Vladimir Serbinenko + + Restructure SCSI .id handling. + Reported and tested by: Aleš Nesrsta. + + * disk/ata.c (grub_atapi_close): Removed. All users updated. + (grub_atapi_dev): Changed .name to "ata". New field .id. + * disk/usbms.c (grub_usbms_close): Removed. All users updated. + (grub_usbms_dev): New field .id. + * disk/scsi.c (grub_scsi_iterate): Generate name. + (grub_scsi_open): Parse name. + * include/grub/scsi.h (grub_make_scsi_id): New function. + (grub_scsi_dev): Change iterate and open to number instead of naming + busses. All users updated. + (grub_scsi): Remove name. Add .bus. + +2010-07-10 Vladimir Serbinenko + + * commands/help.c (grub_cmd_help): Fix a typo. + +2010-07-10 Vladimir Serbinenko + + * normal/term.c (put_glyphs_terminal): Fix state->num_lines counting. + Reported and tested by: Colin Watson. + +2010-07-10 Vladimir Serbinenko + + * util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary + in this context. + +2010-07-07 Vladimir Serbinenko + + * tests/util/grub-shell.in: Remove bashisms and declare as sh script. + +2010-07-07 Colin Watson + + * term/gfxterm.c (grub_gfxterm_background_image_cmd): Fix + indentation. + +2010-07-06 Colin Watson + + * conf/common.rmk (grub_probe_SOURCES): Add disk/raid5_recover.c + and disk/raid6_recover.c. + * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Likewise. + +2010-07-06 Colin Watson + + * term/gfxterm.c (repaint_schedulded): Rename to ... + (repaint_scheduled): ... this. Update all callers. + (repaint_was_schedulded): Rename to ... + (repaint_was_scheduled): ... this. Update all callers. + +2010-07-06 Colin Watson + + * util/deviceiter.c (grub_util_iterate_devices): Skip MD devices, + which we expect to be handled by upper layers. + +2010-07-06 BVK Chaitanya + + * bus/usb/usbhub.c: #include time.h header. + +2010-07-06 Colin Watson + + * fs/reiserfs.c (grub_reiserfs_iterate_dir): Zero out first byte of + entry_name also for entries without stat blocks (e.g. ".."); fixes + corruption of the first entry in a directory. + +2010-07-06 Colin Watson + + * util/grub.d/00_header.in: Process GRUB_THEME and GRUB_BACKGROUND + after setting gfxterm as the active terminal. GRUB_BACKGROUND + doesn't work otherwise. + +2010-07-05 Colin Watson + + * docs/grub.texi (Features): Update list of supported file systems. + (GNU/Linux): Update for GRUB 2. + (Serial terminal): Remove mention of --disable-serial, which was a + GRUB Legacy configure option. Update instructions to use + `terminal_input' and `terminal_output' rather than `terminal'. + (Vendor power-on keys): Copy-edit. Add cross-references to `Simple + configuration' and `Installing GRUB using grub-install'. + (Menu entry editor): Update for GRUB 2. + (terminfo): Add vt100-color, ieee1275, and dumb terminal types. + Document new -a, -u, and -v options. + (initrd): New section. + (initrd16): New section. + (linux): New section. + (linux16): New section. + (search): The `var' argument to `--set' is optional. + (GRUB only offers a rescue shell): Go into a little more detail on + drive ordering. + +2010-07-05 Colin Watson + + * Makefile.in: Set LINGUAS to empty if ENABLE_NLS is undefined. + +2010-07-05 Colin Watson + + * Makefile.in (MAINTAINER_CLEANFILES): Add unicode/UnicodeData.txt, + unicode/BidiMirroring.txt, unicode/ArabicShaping.txt, and unidata.c. + +2010-07-05 Colin Watson + + * util/i386/pc/grub-setup.c (setup): Rename prefix to + install_prefix, in line with install_dos_part and install_bsd_part. + Add new prefix variable, which is copied to install_prefix after + comparing core.img in memory with the one read from disk in the + no-embedding case, and use that rather than overwriting + install_prefix immediately when installing to a partition. + Fixes Debian bug #586621; based on patches by Matt Kraai and M. Vefa + Bicakci. + +2010-07-04 Grégoire Sutre + + * configure.ac: Avoid == in test command, it's not portable. + * util/grub.d/30_os-prober.in: Likewise. + +2010-07-04 Colin Watson + + * kern/emu/getroot.c [__GNU__]: Include for munmap. + +2010-07-04 Grégoire Sutre + + * util/i386/pc/grub-setup.c (setup): Do not embed when there are + multiple (top-level) partmaps. + +2010-07-02 Vladimir Serbinenko + + * util/i386/efi/grub-install.in: Don't use empty grub_device. + Reported by: Tino Keitel. + +2010-07-02 Vladimir Serbinenko + + Bidi and diacritics support. + + * Makefile.in (widthspec.bin): New target. + (widthspec.h): Likewise. + (TARGET_CFLAGS): Add -DHAVE_UNIFONT_WIDTHSPEC=1 if font was available. + * autogen.sh: Generate unidata.c. + * commands/cat.c (grub_cmd_cat): Don't use grub_putchar. + * commands/ls.c (grub_ls_list_devices): Likewise. + (grub_ls_list_files): Likewise. + * commands/minicmd.c (grub_mini_cmd_cat): Likewise. + (grub_mini_cmd_lsmod): Likewise. + * commands/read.c: Likewise. + * kern/corecmd.c (grub_core_cmd_ls): Likewise. + * kern/rescue_reader.c (grub_rescue_read_line): Likewise. + * lib/arg.c (grub_arg_show_help): Likewise. + * lib/crypto.c (grub_password_get): Likewise. + * normal/auth.c (grub_username_get): Likewise. + * normal/misc.c (grub_normal_print_device_info): Likewise. + * commands/help.c (grub_cmd_help): Use grub_unicode_aglomerate_comb. + * conf/common.rmk (grub_mkfont_SOURCES): Add unidata.c. + (gfxmenu_mod_SOURCES): Add gfxmenu/font.c. + (normal/charset.c_DEPENDENCIES): New variable. + (normal_mod_SOURCES): Add normal/charset.c and unidata.c. + (pkglib_MODULES): Remove charset.mod. + (charset_mod_SOURCES): Removed. + (charset_mod_CFLAGS): Likewise. + (charset_mod_LDFLAGS): Likewise. + (pkglib_MODULES) [ieee1275]: Remove terminfo.mod. + * conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Add term/terminfo.c + and term/tparm.c. + * conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise. + (kernel_img_HEADERS): Add terminfo.h. + * font/font.c (ascii_glyph_lookup): Return NULL on failure. + Fill ->font. Reverse ascii bitmaps. + (grub_font_get_xheight): New function. + * font/font.c (grub_font_get_string_width): Moved from here ... + * gfxmenu/font.c (grub_font_get_string_width): ... here. + * font/font.c (grub_font_draw_string): Moved from here ... + * gfxmenu/font.c (grub_font_draw_string): ... here. + * font/font.c (grub_font_dup_glyph): New function. + (grub_font_blit_glyph): Likewise. + (grub_font_blit_glyph_mirror): Likewise. + (blit_comb): Likewise. + (grub_font_construct_dry_run): Likewise. + (grub_font_get_constructed_device_width): Likewise. + (grub_font_construct_glyph): Likewise. + * include/grub/charset.h (grub_ucs4_to_utf8): New proto. + * include/grub/misc.h (grub_utf8_to_ucs4): Moved from here ... + * include/grub/charset.h (grub_utf8_to_ucs4): ... here. + * include/grub/font.h (GRUB_FONT_CODE_CHAR_MASK): New constant. + (GRUB_FONT_CODE_RIGHT_JOINED): Likewise. + (GRUB_FONT_CODE_LEFT_JOINED): Likewise. + (grub_font_get_xheight): New proto. + (grub_font_get_constructed_device_width): Likewise. + (grub_font_construct_glyph): Likewise. + * include/grub/font.h (grub_font_get_string_width): Moved from here ... + * include/grub/gfxmenu_view.h (grub_font_get_string_width): ... here. + * include/grub/font.h (grub_font_draw_string): Moved from here ... + * include/grub/gfxmenu_view.h (grub_font_draw_string): ... here. + * include/grub/i386/vga_common.h (grub_console_putchar): Moved from here.. + * include/grub/i386/pc/console.h (grub_console_putchar): ... here. + * include/grub/i386/vga_common.h (grub_console_real_putchar): Removed. + (grub_console_getcharwidth): Likewise. + * include/grub/misc.h (grub_xputs): New proto. + (grub_puts): Inlined. + * include/grub/normal.h (grub_print_ucs4): Add margin specification. + (grub_normal_get_line_counter): Removed. + (grub_install_newline_hook): Likewise. + (grub_normal_get_char_counter): New proto. + (grub_normal_reset_more): Likewise. + (grub_xputs_normal): Likewise. + * include/grub/powerpc/ieee1275/console.h: Removed. + * include/grub/sparc64/ieee1275/console.h: Likewise. + * include/grub/term.h (GRUB_TERM_CODE_TYPE_MASK): New definition. + (GRUB_TERM_CODE_TYPE_ASCII): Likewise. + (GRUB_TERM_CODE_TYPE_CP437): Likewise. + (GRUB_TERM_CODE_TYPE_UTF8_LOGICAL): Likewise. + (GRUB_TERM_CODE_TYPE_UTF8_VISUAL): Likewise. + (GRUB_TERM_CODE_TYPE_VISUAL_GLYPHS): Likewise. + (grub_term_input): Pass reference to self. All users updated. + (grub_term_output): Pass grub_unicode_glyph to putchar and getcharwidth. + Pass reference to self. New fields normal_color, highlight_color and + data. All users updated. + (grub_putchar): Removed. + (grub_putcode): Remove EXPORT_FUNC since it's not in kernel anymore. + (grub_unicode_estimate_width): New function. + (grub_term_getcharwidth): Add defaults. + (GRUB_TERM_DEFAULT_NORMAL_COLOR): New definition. + (GRUB_TERM_DEFAULT_HIGHLIGHT_COLOR): Likewise. + (GRUB_TERM_DEFAULT_STANDARD_COLOR): Likewise. + (grub_cls): Remove EXPORT_FUNC. + (grub_setcolorstate): Inline. + (grub_newline_hook): Removed. + * include/grub/terminfo.h: Rewritten. All users updated. + * include/grub/unicode.h: New file. + * include/grub/video.h (grub_video_signed_rect): New type. + * kern/emu/console.c (grub_console_highlight_color): Removed. + (grub_console_normal_color): Likewise. + (grub_console_standard_color): Made static. + (grub_ncurses_putchar): Remove mapping. + (grub_ncurses_getcharwidth): Removed. + (grub_ncurses_term_output): Declare as GRUB_TERM_CODE_TYPE_ASCII. + (grub_ncurses_setcolor): Removed. + (grub_ncurses_getcolor): Likewise. + * kern/i386/pc/startup.S (grub_console_real_putchar): Renamed to ... + (grub_console_putchar): ... this. + (grub_console_putchar): Handle argument difference. + * kern/ieee1275/init.c (grub_machine_init): Split console_init into + console_init_early and console_init_lately. + * kern/sparc64/ieee1275/init.c (grub_machine_init): Likewise. + * kern/misc.c (grub_puts): Removed. + (grub_vprintf): Store UTF-8 string instead of outputting it directly. + (grub_vsnprintf_real): Remove str = NULL support. + * kern/misc.c (grub_utf8_to_ucs4): Move from here ... + * normal/charset.c (grub_utf8_to_ucs4): ... here. + * kern/term.c (grub_putcode): Renamed to ... + (grub_putcode_dumb): ... this. Pass grub_unicode_glyph instead of code. + (grub_putchar): Removed. + (grub_xputs_dumb): New function. + (grub_xputs): New variable. + * lib/charset.c: Move from here ... + * normal/charset.c: ... to here. + (grub_ucs4_to_utf8): New function. + (grub_ucs4_to_utf8_alloc): Use grub_ucs4_to_utf8. + (join_types): New variable. + (unpack_join): New function. + (bidi_types): New variable. + (unpack_bidi): New function. + (get_bidi_type): Likewise. + (get_join_type): Likewise. + (is_mirrored): Likewise. + (grub_unicode_get_comb_type): Likewise. + (grub_unicode_estimate_width) [HAVE_UNIFONT_WIDTHSPEC]: Likewise. + (is_type_after): Likewise. + (grub_unicode_aglomerate_comb): Likewise. + (bidi_line_wrap): Likewise. + (grub_bidi_line_logical_to_visual): Likewise. + (grub_bidi_logical_to_visual): Likewise. + (grub_unicode_mirror_code): Likewise. + (grub_unicode_shape_code): Likewise. + * normal/cmdline.c (grub_cmdline_get): Reset more counter. + Don't use grub_putchar. + * normal/main.c (grub_normal_init_page): Use grub_putcode. + (grub_normal_reader_init): Likewise. + (grub_xputs_saved): New variable. + (GRUB_MOD_INIT): Set grub_xputs. + (GRUB_MOD_FINI): Restore grub_xputs. + * normal/menu.c (grub_wait_after_message): Don't use grub_putchar. + (menu_init): Avoid printing gfxmenu error. + (show_menu): Use grub_normal_get_char_counter. + * normal/menu_entry.c (update_screen): Fix out-of-array. + (complete): Avoid NULL dereferencing. + * grub_menu_entry_run (grub_menu_entry_run): Don't use putchar. + * normal/menu_text.c (print_spaces): Removed. + (grub_print_ucs4): Likewise. + (grub_print_message_indented): Use grub_print_ucs4. + (print_message): Use grub_putcode. + (print_entry): Hanlde diacritics. + * normal/term.c (term_state): New type. + (grub_more_lines): Removed. + (term_states): New variable. + (grub_normal_line_counter): Renamed to .. + (grub_normal_char_counter): ...this. All users updated. + (grub_normal_get_line_counter): Renamed to ... + (grub_normal_get_char_counter): ... this. + (grub_normal_reset_more): New function. + (process_newline): Removed. + (print_more): New function. + (grub_install_newline_hook): Removed. + (map_code): New function. + (grub_puts_terminal): Use grub_print_ucs4. + (putglyph): New function. + (putcode_real): Likewise. + (grub_putcode): Use putcode_real. + (get_maxwidth): New function. + (get_startwidth): Likewise. + (print_ucs4_terminal): Likewise. + (find_term_state): Likewise. + (put_glyphs_terminal): Likewise. + (print_backlog): Likewise. + (print_ucs4_real): Likewise. + (grub_print_ucs4): Likewise. + (grub_xputs_normal): Likewise. + * term/efi/console.c (grub_console_putchar): Output diacritics. + (grub_console_getcharwidth): Removed. + (grub_console_term_output): Declare as GRUB_TERM_CODE_TYPE_UCS4_VISUAL. + * term/gfxterm.c (clear_char): Free chars. + (scroll_up): Avoid leaking memory. + (grub_gfxterm_putchar): Support diacritics. + (grub_video_term): Declare as GRUB_TERM_CODE_TYPE_UCS4_VISUAL. + * term/i386/pc/console.c (grub_console_term_output): Declare as + GRUB_TERM_CODE_TYPE_VGA. + * term/i386/pc/vga.c (grub_vga_term): Declare as + GRUB_TERM_CODE_TYPE_VISUAL_GLYPHS. + * term/i386/pc/vga_text.c (grub_vga_text_term): Declare as + GRUB_TERM_CODE_TYPE_VGA. + * term/i386/vga_common.c (map_char): Removed. + (grub_console_putchar): Likewise. + (grub_console_getcharwidth): Likewise. + * term/ieee1275/ofconsole.c: Simplify using terminfo. + (colors): Reordered to match terminfo. + (grub_ofconsole_normal_color): Removed. + (grub_ofconsole_writeesc): Likewise. + (grub_ofconsole_highlight_color): Likewise. + (grub_ofconsole_getcharwidth): Likewise. + (grub_ofconsole_setcolorstate): Likewise. + (grub_ofconsole_setcolor): Likewise. + (grub_ofconsole_getcolor): Likewise. + (grub_ofconsole_readkey): Renamed to ... + (readkey): ... this. Remove escape sequence handling. Return -1 on no + key. + (grub_ofconsole_checkkey): Removed. + (grub_ofconsole_getkey): Likewise. + (grub_ofconsole_getxy): Likewise. + (grub_ofconsole_gotoxy): Likewise. + (grub_ofconsole_cls): Likewise. + (grub_ofconsole_refresh): Likewise. + (grub_ofconsole_terminfo_input): New struct. + (grub_ofconsole_terminfo_output): Likewise. + (grub_ofconsole_term_input): Use terminfo. + (grub_ofconsole_term_output): Likewise. + (grub_console_init): Split into ... + (grub_console_init_early): ...this and ... + (grub_console_init_lately): ...this. Use terminfo. + (grub_ofconsole_putchar): Renamed to ... + (put): ... this. Remove mapping. + (grub_ofconsole_term_output): Declare as GRUB_TERM_CODE_TYPE_ASCII. + * term/serial.c: Simplify using terminfo. + (xpos): Removed. + (ypos): Likewise. + (keep_track): Likewise. + (registered): Likewise. + (input_buf): Likewise. + (npending): Likewise. + (serial_translate_key_sequence): Likewise. + (fill_input_buf): Likewise. + (grub_serial_checkkey): Likewise. + (grub_serial_getkey): Likewise. + (grub_serial_getxy): Likewise. + (grub_serial_gotoxy): Likewise. + (grub_serial_putchar): Likewise. + (grub_serial_cls): Likewise. + (grub_serial_setcolorstate): Likewise. + (grub_serial_setcursor): Likewise. + (serial_hw_init): Use serial_hw_fetch. + (grub_serial_terminfo_input): New variable. + (grub_serial_terminfo_output): Likewise. + (grub_serial_term_input): Use terminfo. + (grub_serial_term_output): Likewise. + * term/terminfo.c (putstr): Use put. + (grub_terminfo_all_free): New function + (grub_terminfo_set_current): New types vt100-color, ieee1275 and dumb. + (grub_terminfo_output_register): New function. + (grub_terminfo_output_unregister): Likewise. + (grub_terminfo_getxy): Likewise. + (grub_terminfo_readkey): Likewise. + (grub_terminfo_checkkey): Likewise. + (grub_terminfo_getkey): Likewise. + (grub_terminfo_input_init): Likewise. + (print_terminfo): Likewise. + (grub_cmd_terminfo): Handle encoding. + (grub_terminfo_gotoxy): Track position. + (grub_terminfo_cls): Likewise. + (grub_terminfo_putchar): Likewise. + (grub_terminfo_setcolorstate): Handle colors + (grub_terminfo_cursor_on): This ... + (grub_terminfo_cursor_off): ... and this merged into ... + (grub_terminfo_setcursor): ... this. + * term/tparm.c (grub_terminfo_tparm): Avoid NULL dereferencing. + * unicode/ArabicShaping.txt: New file (imported from Unicode). + * unicode/BidiMirroring.txt: Likewise. + * unicode/UnicodeData.txt: Likewise. + * unicode/COPYING: Likewise. + * util/grub-editenv.c (grub_putchar): Removed. + (grub_xputs_real): New function. + (grub_xputs): New variable. + * util/grub-fstest.c (grub_putchar): Removed. + (grub_xputs_real): New function. + (grub_xputs): New variable. + * util/grub-mkdevicemap.c (grub_putchar): Removed. + (grub_xputs_real): New function. + (grub_xputs): New variable. + * util/grub-probe.c (grub_putchar): Removed. + (grub_xputs_real): New function. + (grub_xputs): New variable. + * util/grub-script-check.c (grub_putchar): Removed. + (grub_xputs_real): New function. + (grub_xputs): New variable. + * util/i386/pc/grub-setup.c (grub_putchar): Removed. + (grub_xputs_real): New function. + (grub_xputs): New variable. + * util/import_unicode.py: New file. + * util/grub-mkfont.c (ft_errmsgs): New array. + (grub_glyph_info): Make bitmap a pointer. + (file_formats): New type WIDTH_SPEC. + (grub_font_info): New members glyphs_unsorted, glyphs_sorted, num_glyphs. + (options): Add width-spec. + (help): Likewise. + (add_char): Renamed to ... + (add_glyph): ... this. + (add_glyph): Use index. Show freetype errors. Cut blank space at borders. + (glyph_replace): New type. + (subst_rightjoin), (subst_leftjoin), (subst_medijoin): New variables. + (add_char): New function. + (add_subst): Likewise. + (process_cursive): Likewise. + (add_font): Handle GSUB. + (write_font_width_spec): New function. + (main): Sort glyphs. + * commands/minicmd.c (grub_mini_cmd_clear): Moved from here ... + * normal/main.c (grub_mini_cmd_clear): ..here. All users updated. + * kern/term.c (grub_cls): Moved from here... + * normal/term.c (grub_cls): ... here. + +2010-07-02 Colin Watson + + * include/grub/types.h: Define the C99-style PRIxGRUB_SIZE macro, + suitable for using within the format argument of printf when + converting grub_size_t. + * disk/usbms.c (grub_usbms_transfer): Use PRIxGRUB_SIZE rather than + "x" to convert grub_size_t arguments. + +2010-07-02 Vladimir Serbinenko + + * gfxmenu/gui_list.c (draw_menu): Use viewport to simplify code and fix + too long captions. + (list_get_minimal_size): Take selection box into account. + +2010-07-02 Vladimir Serbinenko + + * font/font.c (grub_font_get_glyph_with_fallback): Avoid dereferencing + NULL font. + +2010-07-02 Colin Watson + + * util/deviceiter.c (grub_util_iterate_devices): Skip device-mapper + devices when iterating over /dev/disk/by-id; they will be handled + later if appropriate, which they aren't always (e.g. LVM). + +2010-07-02 Colin Watson + + * include/grub/misc.h (grub_reboot): Declare as noreturn. + * kern/efi/efi.c (grub_reboot): Don't return, even if reset_system + fails. + (grub_halt): Likewise. + * kern/ieee1275/openfw.c (grub_reboot): Don't return, even if + reset-all fails. + (grub_halt): Don't return, even if all of shut-down, power-off, and + poweroff fail. + +2010-07-02 Colin Watson + + * kern/efi/init.c (grub_efi_init): set_watchdog_timer takes four + arguments, not three. + +2010-07-02 Colin Watson + + * util/grub-mkconfig_lib.in (uses_abstraction): New function. + * util/grub.d/10_linux.in: Use it to check for LVM, so that + LVM-on-RAID is handled correctly. + +2010-07-02 Colin Watson + + * docs/grub.texi (Changes from GRUB Legacy): New section. + (Future): Fix typo. + +2010-07-02 Colin Watson + + * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Sometimes + grub.d/README accidentally ends up executable for one reason or + another. Ignore it. + +2010-07-02 Vladimir Serbinenko + + * partmap/gpt.c (MAX_SECTOR_LOG): New definition. + (gpt_partition_map_iterate): Support non-512B sectors. + +2010-07-02 Vladimir Serbinenko + + * kern/efi/init.c (grub_efi_init): Disable watchdog. + Tested by: Seth Goldberg. + +2010-07-02 Vladimir Serbinenko + + * loader/multiboot.c (grub_multiboot_boot) [GRUB_USE_MULTIBOOT2]: + Properly align mbi. + Reported by: Seth Goldberg. + +2010-07-01 Vladimir Serbinenko + + * util/grub-mkrescue.in: Avoid module duplication. + +2010-07-01 Sean Finney + + * util/grub.d/10_linux.in: Don't use UUID for LVM root. + +2010-07-01 Sean Finney + + * disk/lvm.c (grub_lvm_scan_device): Skip snapshots. + +2010-07-01 Vladimir Serbinenko + + * disk/lvm.c (grub_lvm_checkvalue): New function. + (grub_lvm_check_flag): Likewise. + +2010-07-01 Robert Millan + + * kern/emu/hostdisk.c (convert_system_partition_to_system_disk): + Support 'p' as partition separator on kernel of FreeBSD (used + with GPT labels). + (grub_util_biosdisk_get_grub_dev): Likewise. + +2010-07-01 Vladimir Serbinenko + + Yeeloong firmware port. + + * boot/mips/yeeloong/fwstart.S: New file. + * bus/cs5536.c (gpiodump): New const. + (set_io_space): New function. + (set_iod): Likewise. + (set_p2d): Likewise. + (grub_cs5536_init_geode): Likewise. + * commands/mips/yeeloong/lsspd.c: New file. + * conf/mips-qemu-mips.rmk (pkglib_MODULES): Add serial.mod. + (serial_mod_SOURCES): New variable. + (serial_mod_CFLAGS): Likewise. + (serial_mod_LDFLAGS): Likewise. + * conf/mips-yeeloong.rmk (kernel_img_SOURCES): Add term/serial.c, + term/terminfo.c and term/tparm.c. + (pkglib_IMAGES): Add fwstart.img. + (fwstart_img_SOURCES): New variable. + (fwstart_img_CFLAGS): Likewise. + (fwstart_img_ASFLAGS): Likewise. + (fwstart_img_LDFLAGS): Likewise. + (fwstart_img_FORMAT): Likewise. + (pkglib_MODULES): Add lsspd.mod. + (lsspd_mod_SOURCES): New variable. + (lsspd_mod_CFLAGS): Likewise. + (lsspd_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add halt.mod. + (halt_mod_SOURCES): New variable. + (halt_mod_CFLAGS): Likewise. + (halt_mod_LDFLAGS): Likewise. + * conf/mips.rmk (pkglib_MODULES): Remove serial.mod. + (serial_mod_SOURCES): Removed. + (serial_mod_CFLAGS): Likewise. + (serial_mod_LDFLAGS): Likewise. + * disk/ata.c (check_device): New function. + (grub_ata_device_initialize): Use check_device. + (grub_ata_iterate): Recheck devices. + (grub_ata_open): Likewise. + (grub_atapi_iterate): Likewise. + (grub_atapi_open): Likewise. + * include/grub/ata.h (GRUB_ATA_CH0_PORT1): New macro. + (GRUB_ATA_CH1_PORT1): Likewise. + (GRUB_ATA_CH0_PORT2): Likewise. + (GRUB_ATA_CH1_PORT2): Likewise. + * include/grub/mips/loongson.h: New file. + * include/grub/mips/yeeloong/ec.h: Likewise. + * include/grub/mips/yeeloong/serial.h (GRUB_MACHINE_SERIAL_PORT): New definition. + (GRUB_MACHINE_SERIAL_DIVISOR_115200): Likewise. + (GRUB_MACHINE_SERIAL_PORTS) [ASM_FILE]: Remove. + * include/grub/misc.h (grub_halt): Declare as noreturn. + * include/grub/serial.h (UART_ENABLE_FIFO): Renamed to ... + (UART_ENABLE_FIFO_TRIGGER14): ... this. All users updated. + (UART_ENABLE_FIFO_TRIGGER1): New definition. + (UART_ENABLE_DTRRTS): Likewise. + (UART_ENABLE_MODEM): Removed. + (UART_ENABLE_OUT2): New const. + * include/grub/term.h (grub_term_register_input_active): New function. + (grub_term_register_output_active): Likewise. + * kern/mips/startup.S [GRUB_MACHINE_MIPS_YEELOONG]: Handle 0xffffffff + argument. + * kern/mips/yeeloong/init.c (grub_get_rtc): Macroify. + (init_pci): New function. + (grub_machine_init): Execute platform init when firmware. Init serial. + (grub_halt): Implement. + (grub_exit): Likewise. + (grub_reboot): Likewise. + * term/serial.c (serial_hw_init): Update macros. + [GRUB_MACHINE_MIPS_YEELOONG]: Init on startup. + * util/grub-mkimage.c (image_target_desc): New id IMAGE_YEELOONG_FLASH. + (image_targets): New target mipsel-yeeloong-flash. + (generate_image): Support IMAGE_YEELOONG_FLASH. + * video/sm712.c (GRUB_SM712_TOTAL_MEMORY_SPACE): New definition. + (grub_video_sm712_setup): Init card. + (grub_video_sm712_set_palette): Removed. + * video/sm712_init.c: New file. + +2010-06-30 Colin Watson + + * Makefile.in (install-local): Temporarily prepend $(builddir) to + PATH when running help2man and then run it on the unadorned + executable names, rather than passing $(builddir)/* paths to + help2man. This avoids the build directory ending up in generated + manual pages. + +2010-06-29 Colin Watson + + * util/grub-mkconfig.in: Use 'set -e' rather than '#! /bin/sh -e', + to avoid accidents when debugging with 'sh -x'. + * util/grub-mkrescue.in: Likewise. + * util/grub.d/00_header.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + * util/grub.d/10_netbsd.in: Likewise. + * util/grub.d/10_windows.in: Likewise. + * util/grub.d/20_linux_xen.in: Likewise. + * util/grub.d/30_os-prober.in: Likewise. + * util/powerpc/ieee1275/grub-mkrescue.in: Likewise. + +2010-06-29 Colin Watson + + * commands/cat.c (grub_cmd_cat): Fix buffer overrun if '\r' is the + last character in the buffer. + Reported by: Vladimir Serbinenko. + +2010-06-29 Robert Millan + + * docs/grub.texi (Simple configuration): Document ${GRUB_BADRAM}. + (Command-line and menu entry commands): Document `badram' command. + +2010-06-28 Robert Millan + + * util/grub-mkconfig.in: Export `GRUB_BADRAM' variable. + * util/grub.d/00_header.in: When `GRUB_BADRAM' is set, issue badram + command using ${GRUB_BADRAM} as parameter. + +2010-06-28 Colin Watson + + * docs/grub.texi (Device map): New section. + (Themes): New section (stub). + * Makefile.in (docs/grub.info): The info documentation now builds + without errors. Make sure it stays that way. + +2010-06-28 Vladimir Serbinenko + + Use normal parser for menu entries. + Reported by: Thomas Frauendorfer + + * include/grub/parser.h (grub_parser_execute): Don't export. + * normal/menu.c (grub_menu_execute_entry_real): New function. + (grub_menu_execute_entry): Use grub_menu_execute_entry_real. + +2010-06-28 Colin Watson + + * docs/grub.texi (Embedded configuration): New section (replacing + old "Preset Menu" stub). + (Images): New section. + (configfile): Note that any menu entries defined in `file' are shown + immediately. + +2010-06-28 Josh Triplett + + * mmap/i386/pc/mmap_helper.S: Set CF on return. + +2010-06-28 Colin Watson + + * util/grub-install.in: Add --debug-image= option. + +2010-06-28 Colin Watson + + Change grub-mkdevicemap to emit /dev/disk/by-id/ names where + possible on Linux. + + * util/deviceiter.c (check_device): Rename to ... + (check_device_readable_unique): ... this. Update all callers. + Maintain and check a list of which devices (by canonicalized name) + have already been seen. + (clear_seen_devices): New function. + (compare_file_names) [__linux__]: New function. + (grub_util_iterate_devices): Clear the list of seen devices on exit + and (just in case) on entry. + (grub_util_iterate_devices) [__linux__]: Iterate over non-partition + devices in /dev/disk/by-id/, in sorted order. Remove DM-RAID + seen-devices list, superseded by general code in check_device. + +2010-06-28 Colin Watson + + * commands/cat.c (options): New variable. + (grub_cmd_cat): Parse options. If the --dos option is given, print + DOS-style "\r\n" line endings as simple newlines (Debian bug + #586358). + (GRUB_MOD_INIT): Use extcmd. + (GRUB_MOD_FINI): Likewise. + * docs/grub.texi (cat): Document --dos. + +2010-06-28 Vladimir Serbinenko + + XEN with Linux grub-mkconfig support. + + * conf/common.rmk (grub-mkconfig_SCRIPTS) [linux]: Add 20_linux_xen. + * util/grub-mkconfig.in: Export GRUB_CMDLINE_XEN and + GRUB_CMDLINE_XEN_DEFAULT. + * util/grub.d/20_linux_xen.in: New file. + +2010-06-28 Vladimir Serbinenko + + Initialise VGA video on qemu ourselves. + + * boot/i386/qemu/boot.S: Don't call 0xc000. + * conf/i386-qemu.rmk (kern/i386/qemu/init.c_DEPENDENCIES): New variable. + (kernel_img_SOURCES): Add kern/i386/qemu/init.c and bus/pci.c. + (kernel_img_HEADERS): Add pci.h. + * conf/i386.rmk (pkglib_MODULES) [qemu]: Remove pci.mod. + * configure.ac: Force unifont on qemu and yeeloong. + * include/grub/i386/qemu/kernel.h (grub_qemu_init_cirrus): New proto. + (grub_vga_palette_write): Use correct register. + * kern/i386/coreboot/init.c (grub_machine_init) [GRUB_MACHINE_QEMU]: + Call grub_qemu_init_cirrus. + * kern/i386/qemu/init.c: New file. + * term/i386/pc/vga_text.c (inc_y): Never read outside the screen. + + * commands/videotest.c (grub_cmd_videotest): Handle double buffering. + +2010-06-26 Pavel Roskin + + * util/grub.d/10_linux.in: Add support for initrd images on Fedora + 13. + +2010-06-26 Colin Watson + + * docs/grub.texi (Simple configuration): Explain that + GRUB_DISABLE_LINUX_RECOVERY and GRUB_DISABLE_NETBSD_RECOVERY must be + set to `true' to disable their respective recovery entries, not + merely set. + +2010-06-26 Colin Watson + + Make the `source' command slightly faster. + + * normal/main.c (grub_normal_execute): Don't re-read list files when + nested. + +2010-06-23 Colin Watson + + * loader/i386/multiboot_mbi.c (retrieve_video_parameters): Set red + field position and mask size to red fields from mode_info, not + green. + * loader/multiboot_mbi2.c (retrieve_video_parameters): Likewise. + Remove redundant tag->common.framebuffer_type assignment. + Reported by: Seth Goldberg. + +2010-06-23 Colin Watson + + Sync up other versions of the Linux loader with Robert Millan's + change of 2010-01-09, "Make loader output a bit more user-friendly". + + * loader/i386/efi/linux.c (grub_linux_boot): Move debug info to + grub_dprintf(). + (grub_cmd_linux): Likewise. + (grub_cmd_initrd): Likewise. + * loader/i386/ieee1275/linux.c (grub_cmd_linux): Likewise. + * loader/i386/pc/linux.c (grub_cmd_linux): Likewise. + +2010-06-21 Colin Watson + + * kern/efi/mm.c (grub_efi_mm_init): Handle systems with memory maps + larger than MEMORY_MAP_SIZE. + +2010-06-21 BVK Chaitanya + + Fix parallel build. + + * conf/common.rmk: Add grub_script.tab.h as a grub-script-check + dependency. + * script/parser.y: #include grub_script.tab.h header. + +2010-06-20 Vladimir Serbinenko + + Support >3GiB and <16MiB RAM in i386-qemu. + + * kern/i386/qemu/mmap.c (QEMU_CMOS_MEMSIZE2_HIGH): New const. + (QEMU_CMOS_MEMSIZE2_LOW): Likewise. + (grub_lower_mem): Removed. + (grub_upper_mem): Likewise. + (mem_size): Made static. + (above_4g): New variable. + (grub_machine_mmap_init): Detect small mem_size and above_4g. + (grub_machine_mmap_iterate): Order in ascending order and add above_4g + support. + +2010-06-20 Vladimir Serbinenko + + Cirrus 5446 and Bochs video cards support. + + * conf/i386.rmk (pkglib_MODULES): Add video_cirrus.mod and + video_bochs.mod + (video_cirrus_mod_SOURCES): New variable. + (video_cirrus_mod_CFLAGS): Likewise. + (video_cirrus_mod_LDFLAGS): Likewise. + (video_bochs_mod_SOURCES): Likewise. + (video_bochs_mod_CFLAGS): Likewise. + (video_bochs_mod_LDFLAGS): Likewise. + * include/grub/vga.h: New file. + * include/grub/video_fb.h (grub_video_fb_doublebuf_blit_init): Removed. + (grub_video_fb_set_page_t): New type. + (grub_video_fb_setup): New prototype. + (grub_video_fb_swap_buffers): Likewise. + (grub_video_fb_get_info_and_fini): Likewise. + * term/i386/pc/vga_text.c (CRTC_ADDR_PORT): Moved to include/grub/vga.h. + (CRTC_DATA_PORT): Likewise. + (CRTC_CURSOR): Likewise. + (CRTC_CURSOR_ADDR_HIGH): Likewise. + (CRTC_CURSOR_ADDR_LOW): Likewise. + (CRTC_CURSOR_DISABLE): Likewise. + (update_cursor): Use grub_vga_cr_write. + (grub_vga_text_setcursor): Likewise. + * video/bochs.c: New file. + * video/fb/video_fb.c (render_target): Moved into framebuffer variable. + (palette): Likewise. + (palette_size): Likewise. + (framebuffer): New variable. + (grub_video_fb_init): Use 'framebuffer'. + (grub_video_fb_fini): Likewise. + (grub_video_fb_get_info): Likewise. + (grub_video_fb_get_palette): Likewise. + (grub_video_fb_set_palette): Likewise. + (grub_video_fb_set_viewport): Likewise. + (grub_video_fb_get_viewport): Likewise. + (grub_video_fb_map_color): Likewise. + (grub_video_fb_map_rgb): Likewise. + (grub_video_fb_map_rgba): Likewise. + (grub_video_fb_unmap_color): Likewise. + (grub_video_fb_unmap_color_int): Likewise. + (grub_video_fb_fill_rect): Likewise. + (grub_video_fb_blit_bitmap): Likewise. + (grub_video_fb_blit_render_target): Likewise. + (grub_video_fb_scroll): Likewise. + (grub_video_fb_create_render_target): Likewise. + (grub_video_fb_doublebuf_blit_init): Likewise. + (grub_video_fb_set_active_render_target): Handle doublebuffering. + (doublebuf_pageflipping_update_screen): New function. + (doublebuf_pageflipping_init): Likewise. + (grub_video_fb_setup): Likewise. + (grub_video_fb_swap_buffers): Likewise. + (grub_video_fb_get_info_and_fini): Likewise. + * video/i386/pc/vbe.c (framebuffer): Remove all doublebuffering fields. + All users updated. + (doublebuf_pageflipping_commit): Restructured into ... + (doublebuf_pageflipping_set_page): ... this. + (doublebuf_pageflipping_update_screen): Removed. + (doublebuf_pageflipping_init): Likewise. + (double_buffering_init): Likewise. + (grub_video_vbe_setup): Use grub_video_fb_setup. + (grub_video_vbe_swap_buffers): Removed. + (grub_video_vbe_set_active_render_target): Likewise. + (grub_video_vbe_get_active_render_target): Likewise. + (grub_video_vbe_get_info_and_fini): Use grub_video_fb_get_info_and_fini. + (grub_video_vbe_adapter): Use grub_video_fb_swap_buffers, + grub_video_fb_set_active_render_target and + grub_video_fb_get_active_render_target. + * video/i386/pc/vga.c (SEQUENCER_ADDR_PORT): Move to include/grub/vga.h. + (SEQUENCER_DATA_PORT): Likewise. + (MAP_MASK_REGISTER): Likewise. + (CRTC_ADDR_PORT): Likewise. + (CRTC_DATA_PORT): Likewise. + (START_ADDR_HIGH_REGISTER): Likewise. + (START_ADDR_LOW_REGISTER): Likewise. + (GRAPHICS_ADDR_PORT): Likewise. + (GRAPHICS_DATA_PORT): Likewise. + (READ_MAP_REGISTER): Likewise. + (INPUT_STATUS1_REGISTER): Likewise. + (INPUT_STATUS1_VERTR_BIT): Likewise. + (get_map_mask): Use grub_vga_sr_read. + (set_map_mask): Use grub_vga_sr_write. + (set_read_map): Use grub_vga_gr_write. + (set_start_address): Use grub_vga_cr_write. + * video/sm712.c (framebuffer): Remove leftover fields. + +2010-06-20 Colin Watson + + * util/grub-mkconfig.in: Capitalise and export GRUB_PREFIX. Stop + setting GRUB_VIDEO_BACKEND. Make it available as a user override + instead. Replace the gfxterm backend check with a check that + ${GRUB_PREFIX}/video.lst is non-empty. + * util/grub.d/00_header.in: Use GRUB_PREFIX rather than computing it + again. + (load_video): New generated function. Call it before loading + gfxterm rather than loading ${GRUB_VIDEO_BACKEND}. + * util/grub.d/10_linux.in (linux_entry): Call load_video. + * util/grub.d/30_os-prober.in (osx_entry): Likewise. + * docs/grub.texi (Simple configuration): Document + GRUB_VIDEO_BACKEND. + +2010-06-20 Vladimir Serbinenko + + Use video functions in linux and xnu loaders. + + * conf/i386-pc.rmk (xnu_mod_SOURCES): Remove loader/i386/pc/xnu.c. + * conf/x86-efi.rmk (xnu_mod_SOURCES): Remove loader/i386/efi/xnu.c. + * include/grub/i386/xnu.h (grub_xnu_set_video): Removed. + * loader/i386/efi/linux.c (grub_linux_setup_video): Copied from + loader/i386/pc/linux.c. + (grub_linux_boot): Resynced with loader/i386/pc/linux.c. + (find_line_len): Removed. + (find_framebuf): Likewise. + (grub_cmd_linux): Declare grub_linux_boot as possibly returning. + * loader/i386/efi/xnu.c: Removed. + * loader/i386/pc/xnu.c: Moved from here... + * loader/i386/xnu.c: ...here. + + Enable priorities in video drivers. + + * include/grub/video.h (grub_video_adapter_prio_t): New type. + (grub_video_adapter): New field prio. + (grub_video_register): Respect prio when inserting. + * video/efi_gop.c (grub_video_gop_adapter): Add prio. + * video/efi_uga.c (grub_video_uga_adapter): Likewise. + * video/emu/sdl.c (grub_video_sdl_adapter): Likewise. + * video/i386/pc/vbe.c (grub_video_vbe_adapter): Likewise. + * video/i386/pc/vga.c (grub_video_vga_adapter): Likewise. + * video/ieee1275.c (grub_video_ieee1275_adapter): Likewise. + * video/sm712.c (grub_video_sm712_adapter): Likewise. + + Fix SDL driver ID. + + * include/grub/video.h (grub_video_driver_id_t): New value + GRUB_VIDEO_DRIVER_SDL. + * video/emu/sdl.c (grub_video_sdl_adapter): Add id. + +2010-06-17 Colin Watson + + * util/i386/pc/grub-setup.c (usage): Pass an extra `program_name' + argument to printf. + * util/sparc64/ieee1275/grub-setup.c (usage): Likewise. + +2010-06-17 Colin Watson + + * util/i386/pc/grub-setup.c (usage): Fix syntax error. + * util/sparc64/ieee1275/grub-setup.c (usage): Likewise. + +2010-06-17 Colin Watson + + * util/i386/pc/grub-setup.c (usage): Warn against running grub-setup + directly, and recommend grub-install instead. + * util/sparc64/ieee1275/grub-setup.c (usage): Likewise. + +2010-06-17 Colin Watson + + Fix i386-pc prefix handling with nested partitions (Debian bug + #585068). Note that the case where the core image is booted using + multiboot and relocated from its original location still requires + more work. + + * kern/i386/pc/init.c (make_install_device): If the prefix starts + with "(,", fill the boot drive in between those two characters, but + expect that a full partition specification including partition map + names will follow. + * util/i386/pc/grub-setup.c (setup): Unless an explicit prefix was + specified, write a prefix without the drive name but including a + full partition specification. + +2010-06-16 Colin Watson + + * util/grub-mkconfig.in: Ignore non-option arguments, for + compatibility with older versions (before 2010-06-12) which did the + same. In particular, this makes it easier to ship an update-grub + wrapper which is compatible with that used with GRUB Legacy (Debian + bug #586056). + +2010-06-14 Grégoire Sutre + + * Makefile.in (install-local): Use $$file.h2m instead of $$dest.h2m + for manual page generation. + +2010-06-14 Grégoire Sutre + + * po/POTFILES: Remove leftover commands/handler.c. + +2010-06-14 Colin Watson + + * util/grub-mkconfig.in: Remove vestige of old argument parsing that + left this script non-functional. + +2010-06-14 Colin Watson + + * docs/man/grub-emu.h2m: New file. + +2010-06-13 Colin Watson + + * docs/grub.texi (Commands): Document reduced command set in rescue + mode. + (cpuid): New section. + +2010-06-13 Grégoire Sutre + + * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Use the + new partition naming style. + * util/grub-install.in: Adapt sed subtitutions in grub-probe calls. + +2010-06-12 BVK Chaitanya + + Add "-o grub.iso" like cmdline options support. + + * util/grub-install.in: Improve cmdline option parsing. + * util/grub-mkconfig.in: Likewise. + * util/grub-mkrescue.in: Likewise. + * util/grub-reboot.in: Likewise. + * util/grub-set-default.in: Likewise. + * util/i386/efi/grub-install.in: Likewise. + * util/ieee1275/grub-install.in: Likewise. + * util/powerpc/ieee1275/grub-mkrescue.in: Likewise. + +2010-06-12 Colin Watson + + * .bzrignore: Ignore 41_custom. + +2010-06-12 Thomas Schmitt + + * util/grub-mkrescue.in: Pass unrecognized options to xorriso. + +2010-06-12 Colin Watson + + Avoid false positives in fs.lst, partmap.lst, and video.lst due to + prototype declarations. + + * genmk.rb (PModule::rule): Define GRUB_LST_GENERATOR when + generating fs, partmap, and video lists. + * include/grub/fs.h (grub_fs_register): Omit prototype if + GRUB_LST_GENERATOR is defined. + * include/grub/partition.h (grub_partition_map_register): Likewise. + * include/grub/video.h (grub_video_register): Likewise. + +2010-06-12 Javier Martín + + * include/grub/types.h: Check for GRUB_CPU_SIZEOF_LONG when appropriate. + +2010-06-12 Thomas Schmitt + + * util/grub-mkrescue.in: Support --xorriso argument. + +2010-06-12 Vladimir Serbinenko + + * util/grub-mkrescue.in: Use -graft-points instead of -pathspecs. + Suggested by: Thomas Schmitt. + +2010-06-12 Vladimir Serbinenko + + * util/grub-mkrescue.in: Add --sort-weight arguments to xorriso. + Suggested by: Thomas Schmitt. + +2010-06-12 Vladimir Serbinenko + + custom.cfg support. + + * conf/common.rmk (grub-mkconfig_SCRIPTS): Add 41_custom. + * util/grub.d/41_custom.in: New file. + +2010-06-12 Colin Watson + + * util/grub-mkrescue.in (make_image): Remove sh module, which has + been merged back into normal. + +2010-06-11 Colin Watson + + * include/grub/efi/uga_draw.h (GRUB_EFI_UGA_GLT_MAX): Rename to ... + (GRUB_EFI_UGA_BLT_MAX): ... this (typo fix). + +2010-06-11 Colin Watson + + * Makefile.in (install-local): Include $(srcdir)/docs/man/$$dest.h2m + when generating manual pages. + * docs/man/grub-bin2h.h2m: New file. + * docs/man/grub-editenv.h2m: New file. + * docs/man/grub-fstest.h2m: New file. + * docs/man/grub-install.h2m: New file. + * docs/man/grub-macho2img.h2m: New file. + * docs/man/grub-mkconfig.h2m: New file. + * docs/man/grub-mkdevicemap.h2m: New file. + * docs/man/grub-mkfont.h2m: New file. + * docs/man/grub-mkimage.h2m: New file. + * docs/man/grub-mkpasswd-pbkdf2.h2m: New file. + * docs/man/grub-mkrelpath.h2m: New file. + * docs/man/grub-mkrescue.h2m: New file. + * docs/man/grub-ofpathname.h2m: New file. + * docs/man/grub-pe2elf.h2m: New file. + * docs/man/grub-probe.h2m: New file. + * docs/man/grub-reboot.h2m: New file. + * docs/man/grub-script-check.h2m: New file. + * docs/man/grub-set-default.h2m: New file. + * docs/man/grub-setup.h2m: New file. + +2010-06-10 Vladimir Serbinenko + + Use FOR_* macros instead of *_iterate whenever possible. + + * commands/handler.c: Removed. + * commands/help.c (grub_cmd_help): Use FOR_COMMANDS. + * commands/minicmd.c (grub_mini_cmd_lsmod): Use FOR_DL_MODULES. + * conf/any-emu.rmk (kernel_img_SOURCES): Remove kern/handler.c. + * conf/common.rmk (script/lexer.c_DEPENDENCIES): Add grub_script.yy.h. + (grub_probe_SOURCES): Remove kern/parser.c. + (util/grub-script-check.c_DEPENDENCIES): Removed. + (grub_script_check_SOURCES): Remove kern/handler.c, kern/parser.c + and grub_script_check_init.c. + (grub_script_check_init.lst): Removed. + (grub_script_check_init.h): Likewise. + (grub_script_check_init.c): Likewise. + (pkglib_MODULES): Remove handler.mod and sh.mod. + (handler_mod_SOURCES): Removed. + (handler_mod_CFLAGS): Likewise. + (handler_mod_LDFLAGS): Likewise. + (normal_mod_SOURCES): Remove normal/handler.c. + Add script/main.c, script/script.c, script/execute.c, + script/function.c, script/lexer.c, grub_script.tab.c + and grub_script.yy.c. + * conf/i386-coreboot.rmk (kernel_img_SOURCES): Remove kern/handler.c. + * conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise. + * conf/i386-pc.rmk (kernel_img_SOURCES): Likewise. + (grub_setup_SOURCES): Remove kern/parser.c. + * conf/i386-qemu.rmk (kernel_img_SOURCES): Remove kern/handler.c. + * conf/mips-qemu-mips.rmk (kernel_img_SOURCES): Likewise. + * conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise. + (grub_setup_SOURCES): Remove kern/parser.c. + * conf/x86-efi.rmk (kernel_img_SOURCES): Remove kern/handler.c. + * gettext/gettext.c (grub_gettext_delete_list): Don't use grub_list_pop. + * include/grub/command.h (grub_command_iterate): Removed. + (FOR_COMMANDS): New macro. + * include/grub/dl.h (grub_dl): New member next. + (grub_dl_iterate): Removed. + (grub_dl_head): New variable declaration. + (FOR_DL_MODULES): New macro. + * include/grub/fs.h: Include list.h. + (grub_fs): Make next first element. + (grub_fs_list): New variable declaration. + (grub_fs_register): Make inline. + (grub_fs_unregister): Likewise. + (grub_fs_iterate): Removed. + (FOR_FILESYSTEMS): New macro. + * include/grub/handler.h: Removed. + * include/grub/list.h (grub_list_hook_t): Removed. + (grub_list_test_t): Likewise. + (grub_list_pop): Likewise. + (grub_list_iterate): Likewise. + (grub_list_insert): Likewise. + (FOR_LIST_ELEMENTS): New macro. + * include/grub/parser.h (grub_parser_class): Removed. + (grub_parser_register): Likewise. + (grub_parser_unregister): Likewise. + (grub_parser_get_current): Likewise. + (grub_parser_set_current): Likewise. + (grub_register_rescue_parser): Likewise. + (grub_rescue_parse_line): New function. + * include/grub/partition.h (FOR_PARTITION_MAPS): Use FOR_LIST_ELEMENTS. + * include/grub/script_sh.h (grub_script_function_list): New variable + declaration. + (FOR_SCRIPT_FUNCTIONS): New macro. + (grub_script_function_iterate): Removed. + (grub_normal_parse_line): New prototype. + * include/grub/term.h (FOR_ACTIVE_TERM_INPUTS): Use FOR_LIST_ELEMENTS. + (FOR_DISABLED_TERM_INPUTS): Likewise. + (FOR_ACTIVE_TERM_OUTPUTS): Likewise. + (FOR_DISABLED_TERM_OUTPUTS): Likewise. + * include/grub/video.h (grub_video_adapter): Move 'next' to first + element. + (grub_video_register): Inline. + (grub_video_unregister): Likewise. + (grub_video_adapter_list): New variable declaration. + (grub_video_iterate): Removed. + (FOR_VIDEO_ADAPTERS): New macro. + * kern/dl.c (grub_dl_list): Removed. All users updated. + (grub_dl_iterate): Removed. + * kern/fs.c (grub_fs_list): Make global. + (grub_fs_register): Removed. + (grub_fs_unregister): Likewise. + (grub_fs_iterate): Likewise. + * kern/handler.c: Removed. + * kern/list.c (grub_list_pop): Removed. + (grub_list_iterate): Likewise. + (grub_list_insert): Likewise. + (grub_named_list_find): Use FOR_LIST_ELEMENTS. + (grub_prio_list_insert): Don't use grub_list_insert. + * kern/main.c (grub_register_rescue_parser): Don't call + grub_register_rescue_parser. + * kern/parser.c (grub_parser_class): Removed. + (grub_parser_execute): Use grub_rescue_parse_line. + * kern/rescue_parser.c (grub_rescue_parse_line): Make global. + (grub_rescue_parser): Removed. + (grub_register_rescue_parser): Likewise. + * kern/rescue_reader.c (grub_rescue_run): Use grub_rescue_parse_line. + * normal/auth.c (is_authenticated): Use FOR_LIST_ELEMENTS. + (grub_auth_check_authentication): Likewise. + * normal/completion.c (iterate_command): Removed. + (grub_normal_do_completion): Use FOR_COMMANDS. + * normal/handler.c: Removed. + * normal/main.c (read_config_file): Remove parser changing. + (grub_normal_execute): Don't call read_handler_list. + (grub_normal_read_line_real): Statically allocate prompt. + (grub_cmdline_run): Use grub_normal_parse_line. + (GRUB_MOD_FINI): Don't call free_handler_list. + * normal/menu_entry.c (run): Likewise. + * script/function.c (grub_script_function_list): Make global. + (grub_script_function_iterate): Removed. + * script/main.c (grub_normal_parse_line): Make global. + (grub_sh_parser): Removed. + (GRUB_MOD_INIT): Likewise. + (GRUB_MOD_FINI): Likewise. + * tests/lib/functional_test.c (grub_functional_test): Use + FOR_LIST_ELEMENTS. + * tests/lib/test.c (free_failures): Don't use grub_list_pop. + (grub_test_run): Use FOR_LIST_ELEMENTS. + * tests/lib/unit_test.c (main): Likewise. + * util/deviceiter.c (grub_util_iterate_devices): Don't use + grub_list_pop. + * util/grub-fstest.c (grub_term_input_class): Removed. + (grub_term_output_class): Likewise. + * util/grub-probe.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/sparc64/ieee1275/grub-setup.c: Likewise. + * util/grub-script-check.c (main): Don't call grub_init_all and + grub_fini_all. + * video/video.c (grub_video_adapter_list): Make global. + (grub_video_register): Removed. + (grub_video_unregister): Likewise. + (grub_video_iterate): Likewise. + +2010-06-09 Vladimir Serbinenko + + * docs/grub.texi (Vendor power-on button): Add Asus EeePC 1005PE as + reported by Henrique Ferreiro. + +2010-06-09 Robert Millan + + * util/grub.d/10_linux.in: Prefer compressed images over non-compressed + ones, when both are available. + +2010-06-08 Grégoire Sutre + + Make --version uniform and avoid hard-coded program name. + + * util/grub-mkimage.c (main): Use `program_name' instead of + hard-coded string. + * util/i386/pc/grub-setup.c (main): Likewise. + * util/sparc64/ieee1275/grub-setup.c (parse_options): Likewise. + * util/grub-install.in: Save the basename of $0 in $self, and use the + latter in informational messages. Use the same format for --version + as the binary programs. + * util/grub-mkconfig.in: Likewise. + * util/grub-mkrescue.in: Likewise. + * util/grub-reboot.in: Likewise. + * util/grub-set-default.in: Likewise. + * util/i386/efi/grub-install.in: Likewise. + * util/ieee1275/grub-install.in: Likewise. + * util/powerpc/ieee1275/grub-mkrescue.in: Likewise. + +2010-06-08 Grégoire Sutre + + * util/i386/pc/grub-setup.c (setup): Use absolute offsets for start of + embedding area. Use <= instead of == when checking for non-emptiness. + +2010-06-08 Grégoire Sutre + + * configure.ac: Add `.' to the directories searched for unifont. + +2010-06-08 Colin Watson + + * .bzrignore: Add ascii.bitmaps, ascii.h, grub_script.yy.c, and + grub_script.yy.h. + +2010-06-08 Colin Watson + + * docs/grub.texi (History): Expand to cover GRUB 2. + (Serial terminal): Refer to `terminal_input' and `terminal_output' + commands, not `terminal'. + (serial): Likewise. + (terminal_input): New section. + (terminal_output): New section. + (uppermem): New section (stub). + (Obtaining and Building GRUB): Refer to Bazaar, not Subversion. + +2010-06-08 Colin Watson + + * docs/grub.texi (Security): Menu entries are unrestricted by + default, not restricted to superusers as I had previously thought. + Reword to account for this. + +2010-06-07 Colin Watson + + * kern/emu/misc.c (device_mapper_null_log): New function. + (grub_device_mapper_supported): New function. + * include/grub/emu/misc.h (grub_device_mapper_supported): Add + prototype. + * kern/emu/hostdisk.c (find_partition_start): Check whether + device-mapper is supported before trying to use it. + * util/deviceiter.c (grub_util_iterate_devices): Likewise. + +2010-06-07 Colin Watson + + * docs/grub.texi (Naming convention): Use GRUB 2 syntax. + (File name syntax): Likewise. + (help): --all is no longer supported in GRUB 2. Be more precise + about pattern matching. + +2010-06-07 Colin Watson + + * normal/completion.c (grub_normal_do_completion): When completing + arguments to "set" and the current word contains an equals sign, + skip to after the equals sign before starting completion. + +2010-06-07 Colin Watson + + * fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip. + +2010-06-07 Colin Watson + + * docs/grub.texi (Network): New section. + (Device syntax): The network device is called `(pxe)' in GRUB 2, not + `(nd)' as in GRUB Legacy. + (pxe_unload): New section. + +2010-06-07 Colin Watson + + * docs/grub.texi (Troubleshooting): `echo' is not usually available + in the rescue shell, so recommend using `set' instead. Thanks, + Jordan Uggla. + +2010-06-07 Colin Watson + + * docs/grub.texi (Filesystem): Refer to `search' instead of `find'. + (password): New section. + (password_pbkdf2): New section. + (search): New section. + (Security): New section. + (Troubleshooting): New section, currently very incomplete. + (Invoking grub-mkpasswd-pbkdf2): New section. + (Internals): New section, currently very incomplete. + +2010-06-07 Colin Watson + + * util/grub.d/00_header.in: Add some more quoting (of + "${prev_saved_entry}" and "${boot_once}") needed to make savedefault + work again. + Reported by: Mario 'BitKoenig' Holbe (Debian bug #584812). + +2010-06-07 Colin Watson + + * util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable + to `count', fixing variable shadowing that broke the -c option. + +2010-06-05 Colin Watson + + * util/grub.d/00_header.in: Quote values assigned to `saved_entry', + in case they contain spaces. + +2010-06-04 Colin Watson + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend + "part_" to partmap module names, in line with grub-install. + Reported by: Jindřich Makovička (Debian bug #584426). + +2010-06-04 Colin Watson + + * util/grub-mkimage.c: Make target-related error messages slightly + more helpful; -O talks about "format". Explicitly point to the use + of -O if no target is specified. + Reported by: Didier Raboud (Debian bug #584415). + +2010-06-03 Colin Watson + + * INSTALL: Document several build requirements for optional features + (libdevmapper, ncurses, libusb, SDL, FreeType, GNU Unifont). + +2010-06-02 Grégoire Sutre + + * kern/emu/hostdisk.c (convert_system_partition_to_system_disk) + [__NetBSD__]: Handle all device names matching /dev/r[a-z]+[0-9][a-z]. + (find_partition_start) [__NetBSD__]: Correct error messages for NetBSD. + +2010-06-02 Colin Watson + + * docs/grub.texi (Simple configuration): Fix copy-and-paste typo. + Thanks to Jordan Uggla for spotting this. + +2010-06-02 Aleš Nesrsta + + Finally make USB usable. + + * bus/usb/ohci.c (grub_ohci_reg_t): Add missing values. + (GRUB_OHCI_RHUB_PORT_POWER_MASK): New macro. + (GRUB_OHCI_RHUB_PORT_ALL_POWERED): Likewise. + (GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_MASK): Likewise. + (GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_SHIFT): Likewise. + (GRUB_OHCI_REG_FRAME_INTERVAL_FI_SHIFT): Likewise. + (GRUB_OHCI_FSMPS): Likewise. + (GRUB_OHCI_PERIODIC_START): Likewise. + (GRUB_OHCI_FRAME_INTERVAL): Likewise. + (GRUB_OHCI_SET_PORT_ENABLE): Likewise. + (GRUB_OHCI_CLEAR_PORT_ENABLE): Likewise. + (GRUB_OHCI_SET_PORT_RESET): Likewise. + (GRUB_OHCI_SET_PORT_RESET_STATUS_CHANGE): Likewise. + * bus/usb/ohci.c (grub_ohci_pci_iter): Various important fixups. + (grub_ohci_transaction): Likewise. + (grub_ohci_transfer): Improve condition detection algorithms. + Handle toggle property. Program the transactions correctly. + Improve error handling. Various important fixups. + (grub_ohci_portstatus): Put register writes in right order. + * bus/usb/uhci.c (grub_free_queue): Compute last_trans. + (grub_uhci_transfer): Don't show "failed" message on success. + * bus/usb/usb.c (grub_usb_set_configuration): Zero-fill whole "toggle" + array. + (grub_usb_device_initialize): Read first 8 bytes of descriptor to + determine its size. + * bus/usb/usbtrans.c (grub_usb_control_msg): Use descdev.maxsize0 even + before initialization is completed. Use IN direction for empty + transfers. Use last_trans and compute toggle. + * include/grub/usbtrans.h (grub_usb_transfer): New field last_trans. + (GRUB_USB_FEATURE_ENDP_HALT): Correct the value. + (GRUB_USB_FEATURE_DEV_REMOTE_WU): Likewise. + (GRUB_USB_FEATURE_TEST_MODE): Likewise. + * include/grub/usb.h (grub_usb_err_t): New value GRUB_USB_ERR_UNRECOVERABLE. + (grub_usb_device): Increase toggle to 256. + (grub_usbms_subclass_t): New values GRUB_USBMS_SUBCLASS_RBC, + GRUB_USBMS_SUBCLASS_MMC2, GRUB_USBMS_SUBCLASS_UFI and + GRUB_USBMS_SUBCLASS_SFF8070. + * include/grub/scsicmd.h (grub_scsi_test_unit_ready): New structure. + (grub_scsi_inquiry): New member page and alloc_length. + (grub_scsi_request_sense): New structure. + (grub_scsi_request_sense_data): Likewise. + (grub_scsi_read_capacity): New fields logical_block_addr, PMI and + control. + * disk/scsi.c (grub_scsi_request_sense): New function. + (grub_scsi_test_unit_ready): Likewise. + (grub_scsi_inquiry): Fill new fields. + (grub_scsi_read_capacity): Likewise. + (grub_scsi_read10): Add request sense at the end. + (grub_scsi_read12): Likewise. + (grub_scsi_write10): Likewise. + (grub_scsi_write12): Likewise. + (grub_scsi_open): Add Test Unit Ready. + * disk/usbms.c (grub_usbms_finddevs): Check configcnt. + Support additional subclasses. Con't clear halt yet. Activate the + proper config. Calculate LUNs correctly. + (grub_usbms_transfer): Various important fixups. + +2010-06-02 Vladimir Serbinenko + + * bus/pci.c (grub_pci_iterate) [GRUB_MACHINE_MIPS_YEELOONG]: Skip ghosts. + * bus/usb/ohci.c (grub_ohci_portstatus): Handle R/WC correctly. + (grub_ohci_fini_hw): New function. + (grub_ohci_restore_hw): Likewise. + (GRUB_MOD_INIT(ohci)): Register preboot hook. + (GRUB_MOD_FINI(ohci)): Shutdown OHCI. + * term/usb_keyboard.c: Remove include of grub/machine/console.h. + +2010-06-02 Vladimir Serbinenko + + Dedicated DMA allocations. + + * bus/pci.c (grub_memalign_dma32): New function + (grub_dma_free): Likewise. + (grub_dma_get_virt): Likewise. + (grub_dma_get_phys): Likewise. + * bus/usb/ohci.c (grub_ohci): New members hcca_addr and hcca_chunk. + (grub_ohci_pci_iter): Use dma32_alloc. + (grub_ohci_transfer): Likewise. + * bus/usb/usbtrans.c (grub_usb_control_msg): Likewise. + (grub_usb_bulk_readwrite): Likewise. + * include/grub/pci.h: Add declarations. + +2010-06-02 Vladimir Serbinenko + + CS5536 support. + + * bus/cs5536.c: New file. + * bus/usb/ohci.c (grub_ohci_pci_iter): Check for CS5536. + * conf/i386.rmk (pkglib_MODULES): Add cs5536.mod. + (cs5536_mod_SOURCES): New variable. + (cs5536_mod_CFLAGS): Likewise. + (cs5536_mod_LDFLAGS): Likewise. + * conf/mips-yeeloong.rmk (kernel_img_HEADERS): Add cs5536.h and + machine/pci.h. + (kernel_img_SOURCES): Add bus/cs5536.c. + (pkglib_MODULES): Add usb.mod, usbtest.mod, ohci.mod, usbms.mod and + usb_keyboard.mod. + (usb_mod_SOURCES): New variable. + (usb_mod_CFLAGS): New variable. + (usb_mod_LDFLAGS): New variable. + (usbtest_mod_SOURCES): New variable. + (usbtest_mod_CFLAGS): New variable. + (usbtest_mod_LDFLAGS): New variable. + (ohci_mod_SOURCES): New variable. + (ohci_mod_CFLAGS): New variable. + (ohci_mod_LDFLAGS): New variable. + (usbms_mod_SOURCES): New variable. + (usbms_mod_CFLAGS): New variable. + (usbms_mod_LDFLAGS): New variable. + (usb_keyboard_mod_SOURCES): New variable. + (usb_keyboard_mod_CFLAGS): New variable. + (usb_keyboard_mod_LDFLAGS): New variable. + * include/grub/smbus.h: New file. + * include/grub/cs5536.h: New file. + +2010-06-02 Colin Watson + + * util/grub.d/00_header.in: Add safety check to make sure that + ${locale_dir} exists before trying to probe it. + +2010-06-02 Colin Watson + + * docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and + per the GNU Coding Standards; this is now too obscure to be worth + documenting. + (QNX): Likewise. + (chainloader): Remove cross-reference to `SCO UnixWare'. + +2010-06-02 Colin Watson + + * docs/grub.texi (Chain-loading): New section. + (DOS/Windows): New section, borrowed from GRUB Legacy with details + adjusted for GRUB 2. + (SCO UnixWare): Likewise. + (QNX): Likewise. + (chainloader): Add reference to `Block list syntax'. + (drivemap): New section. + (parttool): New section. + +2010-06-02 Colin Watson + + * docs/grub.texi (GNU GRUB manual): Remove reference to `Invoking + the grub shell'. + (Installation): Add reference to `Making a GRUB bootable CD-ROM'. + (Installing GRUB using grub-install): Remove reference to the grub + shell; mention `grub-mkimage' and `grub-setup' instead. + (Invoking grub-install): Likewise. + (Interface): Add reference to `Menu entry editor'. + (serial): Remove `--device' option. + +2010-06-02 Colin Watson + + * docs/grub.texi (Configuration): New section, documenting + configuration file generation using grub-mkconfig. I've left a slot + for documenting the full shell scripting format but have not yet + started on writing that up. + (Invoking grub-mkconfig): New section. + +2010-06-02 Colin Watson + + * docs/grub.texi (direntry): Remove grub-terminfo reference. + (GNU GRUB manual): Likewise. + (General commands): Update description of `terminfo' for GRUB 2. + +2010-06-02 Colin Watson + + * commands/gptsync.c (grub_cmd_gptsync): Fix typos. + (GRUB_MOD_INIT): Fix capitalisation. + * docs/grub.texi (Command-line and menu entry commands): Document + gettext and gptsync commands. + +2010-06-02 Colin Watson + + * conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include + kern/$(target_cpu)/cache.S even if TARGET_NO_MODULES = yes. + +2010-06-01 Colin Watson + + Add btrfs probing support, currently only in the single-device case. + + * kern/emu/getroot.c (find_root_device_from_mountinfo): New + function. + (grub_guess_root_device): Call find_root_device_from_mountinfo + before looking in /dev. + +2010-05-31 Vladimir Serbinenko + + * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use + GRUB_DISK_SIZE_UNKNOWN. + * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Likewise. + +2010-05-31 Jiro SEKIBA + + * include/grub/disk.h (GRUB_DISK_SIZE_UNKNOWN): New macro. + * fs/nilfs.c: Support 2nd super block in case 1st one is accidently + corrupted or not synced properly. + +2010-05-31 Vladimir Serbinenko + + * normal/main.c (grub_normal_add_menu_entry): Avoid going out of args. + Reported by: Seth Goldberg. + +2010-05-31 Vladimir Serbinenko + + * loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect + addition of dest. + Reported by: Seth Goldberg. + +2010-05-31 Vladimir Serbinenko + + * commands/setpci.c (grub_setpci_iter): Fix an incorrect function check. + Reported by: Seth Goldberg. + +2010-05-31 Vladimir Serbinenko + + * loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check + 64-bit address as signed on MIPS. + +2010-05-28 Colin Watson + + * configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not + to the empty string. + +2010-05-28 BVK Chaitanya + + Fix grub-emu issues on NetBSD, with gcc 4.1.3. + + * conf/any-emu.rmk: Remove unnecessary COMMON_CFLAGS. + * include/grub/emu/misc.h (canonicalize_file_name): New Prototype. + * kern/misc.c (__enable_execute_stack): Disable on + GRUB_MACHINE_EMU. + +2010-05-28 Colin Watson + + Make grub-probe work with symbolic links under /dev/mapper as well + as with real block devices. The Linux world seems to be (at best) + in transition here, and GRUB shouldn't get caught in the middle. + + * kern/emu/getroot.c (find_root_device): Follow symbolic links under + /dev/mapper. + +2010-05-27 Colin Watson + + * util/grub-script-check.c (main): Ensure defined behaviour on empty + input files (in which case exit zero). + +2010-05-27 Colin Watson + + * kern/emu/misc.c (canonicalize_file_name): realpath can still + return NULL for various reasons even if it has a maximum-length + buffer: for example, there might be a symlink loop, or the path + might exceed PATH_MAX. If this happens, return NULL. + +2010-05-27 Robert Millan + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Insert + partmap module to handle cross-partmap setups. + Reported by Orestes Mas. Gràcies! + +2010-05-27 Colin Watson + + * util/grub-mkrescue.in: Initialise override_dir rather than + assuming that it's unset or empty in the environment. + +2010-05-26 Grégoire Sutre + + * kern/emu/hostdisk.c (find_partition_start) [__NetBSD__]: Renamed + variable index into p_index to suppress a warning with -Wshadow. + +2010-05-25 BVK Chaitanya + + * INSTALL: Added flex >= 2.5.35 requirement. + +2010-05-23 Vladimir Serbinenko + + * commands/usbtest.c (grub_usb_get_string): Properly support UTF-16. + +2010-05-23 Vladimir Serbinenko + + cmostest support. + + * commands/i386/cmostest.c: New file. + * conf/i386-coreboot.rmk (pkglib_MODULES): Add cmostest.mod. + (cmostest_mod_SOURCES): New variable. + (cmostest_mod_CFLAGS): Likewise. + (cmostest_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk: Likewise. + * docs/grub.texi (Vendor power-on keys): New section. + * util/grub-mkconfig.in: export GRUB_DEFAULT_BUTTON, + GRUB_HIDDEN_TIMEOUT_BUTTON, GRUB_TIMEOUT_BUTTON + and GRUB_BUTTON_CMOS_ADDRESS. + * util/grub.d/00_header.in: Handle powering-on by separate button. + +2010-05-23 Vladimir Serbinenko + + * gfxmenu/gui_list.c (draw_menu): Don't add scrollbar width to padding. + Removed drawing_scrollbar argument. All users updated + Fixes #29792. + Reported by Jo Shields + +2010-05-23 Vladimir Serbinenko + + * gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current + buffer since gfxterm handles double repaint. + +2010-05-23 Vladimir Serbinenko + + * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers. + * term/gfxterm.c (real_scroll): Likewise. + +2010-05-21 Vladimir Serbinenko + + * kern/i386/pc/mmap.c (grub_machine_mmap_iterate): Zero-fill entry + before calling BIOS. + +2010-05-21 Vladimir Serbinenko + + * include/grub/i18n.h: Always enable grub_gettext. + +2010-05-21 Vladimir Serbinenko + + * kern/i386/pc/init.c (make_install_device): Fix a leftover usage of old + partition naming style. + +2010-05-21 Colin Watson + + * util/grub-mkconfig.in: Fix handling of -o so that it works when + not the first option. + +2010-05-20 Colin Watson + + * util/grub-mkrelpath.c (usage): Remove excess apostrophe. + +2010-05-20 Colin Watson + + * util/misc.c: Move inclusion of to ... + * kern/emu/misc.c: ... here. Needed for canonicalize_file_name. + +2010-05-20 Grégoire Sutre + + * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev) [__NetBSD__]: + Fix merge error in NetBSD code. + (find_partition_start) [__NetBSD__]: Likewise. + +2010-05-19 BVK Chaitanya + + Fix grub-mkrescue usage unit testing. + + * tests/util/grub-shell.in: Use --grub-mkimage with grub-mkrescue. + +2010-05-18 Christian Franke + + * util/grub.d/10_windows.in: Use path names instead of + drive letters to prevent warning from Cygwin 1.7. + Add drivemap command to menuentry if needed. + +2010-05-18 Justus Winter <4winter@informatik.uni-hamburg.de> + + * util/grub.d/10_hurd.in: Include all gnumach* kernels, not only + gnumach and gnumach.gz. + +2010-05-18 Vladimir Serbinenko + + * include/grub/i18n.h (gettext): Inline instead of using #define. + (grub_gettext): Likewise. + (_): Likewise. + +2010-05-18 Vladimir Serbinenko + + * Makefile.in (CPPFLAGS): Replace -DGRUB_LIBDIR with + -DGRUB_PKGLIBROOTDIR= and prepend @PACKAGE_TARNAME@. All users updated. + * util/grub-mkimage.c (image_targets): Add i386-multiboot. + (main): Add a slash after pkglibdirroot. + +2010-05-18 Vladimir Serbinenko + + * util/grub-install.in: Add missing "in" keyword. + +2010-05-18 Vladimir Serbinenko + + * util/grub-mkrescue.in: Remove -O i386-pc duplication. + Reported by: Seth Goldberg. + +2010-05-18 Vladimir Serbinenko + + * po/POTFILES: Rename util/grub-mkrawimage.c to util/grub-mkimage.c. + +2010-05-18 Colin Watson + + * configure.ac: Check for Linux device-mapper support. + + * util/hostdisk.c (device_is_mapped): New function. + (find_partition_start): New function, partly broken out from + linux_find_partition and grub_util_biosdisk_get_grub_dev but with + device-mapper support added. + (linux_find_partition): Use find_partition_start. + (convert_system_partition_to_system_disk): Add `st' argument. + Support Linux /dev/mapper/* devices if device-mapper support is + available; only DM-RAID devices are understood at present. + (find_system_device): Add `st' argument. Pass it to + convert_system_partition_to_system_disk. + (grub_util_biosdisk_get_grub_dev): Pass stat result to + find_system_device and convert_system_partition_to_system_disk. Use + find_partition_start. + + * conf/common.rmk (grub_mkdevicemap_SOURCES): Add kern/env.c, + kern/err.c, kern/list.c, kern/misc.c, and kern/emu/mm.c. + * util/deviceiter.c [__linux__]: Define MINOR. + (grub_util_iterate_devices): Add support for DM-RAID disk devices. + * util/mkdevicemap.c (grub_putchar): New function. + (grub_getkey): New function. + (grub_refresh): New function. + (main): Set debug=all if -v -v is used. + +2010-05-18 Colin Watson + + Fix build with non-GNU libcs. + + * util/misc.c (canonicalize_file_name): Move to ... + * kern/emu/misc.c (canonicalize_file_name): ... here. Needed by + grub_make_system_path_relative_to_its_root. + +2010-05-18 Colin Watson + + * util/grub-mkrescue.in: Sync up with grub-install in terms of how + we handle finding grub-mkimage. Default to finding grub-mkimage in + ${bindir} with program_transform_name applied, and provide a + --grub-mkimage option to override this. + +2010-05-17 Vladimir Serbinenko + + Remove grub-mkisofs. + + * conf/common.rmk (bin_UTILITIES): Remove grub-mkisofs. + (grub_mkisofs_SOURCES): Removed. + (grub_mkisofs_CFLAGS): Removed. + * util/mkisofs/defaults.h: Removed. + * util/mkisofs/eltorito.c: Likewise. + * util/mkisofs/exclude.h: Likewise. + * util/mkisofs/hash.c: Likewise. + * util/mkisofs/include/: Likewise. + * util/mkisofs/include/fctldefs.h: Likewise. + * util/mkisofs/include/mconfig.h: Likewise. + * util/mkisofs/include/prototyp.h: Likewise. + * util/mkisofs/include/statdefs.h: Likewise. + * util/mkisofs/iso9660.h: Likewise. + * util/mkisofs/joliet.c: Likewise. + * util/mkisofs/match.c: Likewise. + * util/mkisofs/match.h: Likewise. + * util/mkisofs/mkisofs.c: Likewise. + * util/mkisofs/mkisofs.h: Likewise. + * util/mkisofs/msdos_partition.h: Likewise. + * util/mkisofs/multi.c: Likewise. + * util/mkisofs/name.c: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/tree.c: Likewise. + * util/mkisofs/write.c: Likewise. + +2010-05-17 Vladimir Serbinenko + + Unify grub-mkimage accross platforms. + + * Makefile.in (CPPFLAGS): Set GRUB_LIBDIR to $(libdir). + * conf/common.rmk (bin_UTILITIES): Removed grub-mkelfimage. + (grub_mkelfimage_SOURCES): Removed. + (util/elf/grub-mkimage.c_DEPENDENCIES): Renamed to .. + (util/grub-mkimage.c_DEPENDENCIES): .. this. + (bin_UTILITIES): Add grub-mkimage. + (grub_mkimage_SOURCES): New variable. + (kernel_img_HEADERS): Remove machine/kernel.h. + * conf/i386-pc.rmk (pkglib_IMAGES): Remove kernel.img. + (pkglib_PROGRAMS): Add kernel.img. + (kernel_img_HEADERS): Add machine/kernel.h. + (kernel_img_FORMAT): Removed. + (bin_UTILITIES): Remove grub-mkimage. + (grub_mkimage_SOURCES): Removed. + (grub_mkimage_CFLAGS): Likewise. + (util/grub-mkrawimage.c_DEPENDENCIES): Likewise. + * conf/i386-qemu.rmk (pkglib_IMAGES): Remove kernel.img. + (pkglib_PROGRAMS): Add kernel.img. + (bin_UTILITIES): Remove grub-mkimage. + (grub_mkimage_SOURCES): Removed. + (grub_mkimage_CFLAGS): Likewise. + (util/grub-mkrawimage.c_DEPENDENCIES): Likewise. + * conf/mips-qemu-mips.rmk (pkglib_IMAGES): Remove kernel.img. + (pkglib_PROGRAMS): Add kernel.img. + * conf/mips-yeeloong.rmk (pkglib_IMAGES): Remove kernel.img. + (pkglib_PROGRAMS): Add kernel.img. + * conf/mips.rmk (bin_UTILITIES): Remove grub-mkimage. + (grub_mkimage_SOURCES): Removed. + (grub_mkimage_CFLAGS): Likewise. + (util/grub-mkrawimage.c_DEPENDENCIES): Likewise. + * conf/sparc64-ieee1275.rmk (pkglib_IMAGES): Remove kernel.img. + (pkglib_PROGRAMS): Add kernel.img. + (bin_UTILITIES): Remove grub-mkimage. + (grub_mkimage_SOURCES): Removed. + (grub_mkimage_CFLAGS): Likewise. + (util/grub-mkrawimage.c_DEPENDENCIES): Likewise. + * conf/x86-efi.rmk (bin_UTILITIES): Remove grub-mkimage. + (grub_mkimage_SOURCES): Removed. + (grub_mkimage_CFLAGS): Likewise. + (util/grub-mkrawimage.c_DEPENDENCIES): Likewise. + * configure.ac (machine_CFLAGS): Add "-DMACHINE". + * include/grub/efi/pe32.h (grub_pe32_optional_header): Split into ... + (grub_pe32_optional_header): ... this. + (grub_pe64_optional_header): ... and this. All users updated. + (GRUB_PE32_PE32_MAGIC): Split into .. + (GRUB_PE32_PE32_MAGIC): .. this. + (GRUB_PE32_PE64_MAGIC): .. and this. + (GRUB_PE32_SIGNATURE_SIZE): New definition. + * include/grub/elf.h (PT_GNU_STACK): New definition. + * include/grub/i386/coreboot/kernel.h: Merged into include/grub/offsets.h. All users updated. + * include/grub/i386/efi/kernel.h: Likewise. + * include/grub/i386/kernel.h: Likewise. + * include/grub/i386/pc/kernel.h: Likewise. + * include/grub/i386/qemu/boot.h: Likewise. + * include/grub/mips/kernel.h: Likewise. + * include/grub/mips/qemu-mips/kernel.h: Likewise. + * include/grub/powerpc/ieee1275/kernel.h: Likewise. + * include/grub/powerpc/kernel.h: Likewise. + * include/grub/sparc64/ieee1275/boot.h: Likewise. + * include/grub/sparc64/ieee1275/kernel.h: Likewise. + * include/grub/sparc64/kernel.h: Likewise. + * include/grub/x86_64/efi/kernel.h: Likewise. + * include/grub/x86_64/kernel.h: Likewise. + * include/grub/offsets.h: New file. + * include/grub/kernel.h (grub_module_info): Split into ... + (grub_module_info32): ... this. + (grub_module_info64): ... and this. + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_KERNEL_SEG): Moved from here ... + * include/grub/offsets.h (GRUB_BOOT_I386_PC_KERNEL_SEG): ... here. + (grub_boot_blocklist): Moved from here ... + * include/grub/offsets.h (grub_pc_bios_boot_blocklist): ... here. + * include/grub/i386/pc/memory.h (GRUB_MEMORY_MACHINE_UPPER): Moved from here. + * include/grub/offsets.h (GRUB_MEMORY_I386_PC_UPPER): .. here. + * include/grub/types.h (grub_target_to_host16): Removed. + (grub_target_to_host32): Likewise. + (grub_target_to_host64): Likewise. + (grub_host_to_target16): Likewise. + (grub_host_to_target32): Likewise. + (grub_host_to_target64): Likewise. + (grub_host_to_target_addr): Likewise. + + Support grub-mkrescue for efi, coreboot and qemu. + + * conf/x86-efi.rmk (bin_SCRIPTS): Add grub-mkrescue. + * kern/efi/init.c (grub_efi_set_prefix): Handle baked in prefix. + * util/elf/grub-mkimage.c: Merged into util/grub-mkimage.c. + * util/grub-mkrawimage.c: Moved from here ... + * util/grub-mkimage.c: ... here. All users updated. + (ALIGN_ADDR): Use image_target. + (TARGET_NO_FIELD): New const. + (image_target_desc): New type. + (image_targets): New array. + (grub_target_to_host64): Use image_target. + (grub_target_to_host32): Likewise. + (grub_target_to_host16): Likewise. + (grub_host_to_target64): Likewise. + (grub_host_to_target32): Likewise. + (grub_host_to_target16): Likewise. + (grub_host_to_target_addr): Likewise. + (generate_image): Handle multiimage. + (main): Require -O parameter. All users updated. + * util/grub-mkimagexx.c: New file. Based on util/grub-mkrawimage.c and + util/efi/grub-mkimage.c + * util/grub-mkrescue.in: Handle coreboot, efi and qemu. + New option --rom-directory. + Use xorriso. + * util/i386/efi/grub-mkimage.c: Removed. + * util/i386/pc/grub-setup.c (grub_target_to_host16): New definition. + (grub_target_to_host32): Likewise. + (grub_target_to_host64): Likewise. + (grub_host_to_target16): Likewise. + (grub_host_to_target32): Likewise. + (grub_host_to_target64): Likewise. + * util/sparc64/ieee1275/grub-setup.c (grub_target_to_host16): New definition. + (grub_target_to_host32): Likewise. + (grub_target_to_host64): Likewise. + (grub_host_to_target16): Likewise. + (grub_host_to_target32): Likewise. + (grub_host_to_target64): Likewise. + +2010-05-17 BVK Chaitanya + + Source tree is reorganized for emu build. + + * include/grub/util/console.h: Move from here... + * include/grub/emu/console.h: ...to here. + * include/grub/util/getroot.h: Move from here... + * include/grub/emu/getroot.h: ...to here. + * include/grub/util/hostdisk.h: Move from here... + * include/grub/emu/hostdisk.h: ...to here. + * util/console.c: Move from here... + * kern/emu/console.c: ...to here. + * util/getroot.c: Move from here... + * kern/emu/getroot.c: ...to here. + * util/grub-emu.c: Move from here... + * kern/emu/main.c: ...to here. + * util/hostdisk.c: Move from here... + * kern/emu/hostdisk.c: ...to here. + * util/hostfs.c: Move from here... + * kern/emu/hostfs.c: ...to here. + * util/mm.c: Move from here... + * kern/emu/mm.c: ...to here. + * util/pci.c: Move from here... + * bus/emu/pci.c: ...to here. + * util/sdl.c: Move from here... + * video/emu/sdl.c: ...to here. + * util/time.c: Move from here... + * kern/emu/time.c: ...to here. + * util/usb.c: Move from here... + * bus/usb/emu/usb.c: ...to here. + + * include/grub/emu/misc.h: New header for grub-emu functions. + * kern/emu/misc.c: grub-emu functions separated from util/misc.c + + * conf/any-emu.rmk: Rule updates for above renames. + * conf/common.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/i386-qemu.rmk: Likewise. + * conf/mips.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86-efi.rmk: Likewise. + + * disk/lvm.h: #include updates for above renames. + * util/grub-mkrelpath.c: Likewise. + * util/grub-probe.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/sparc64/ieee1275/grub-setup.c: Likewise. + * kern/emu/console.c: Likewise. + * kern/emu/getroot.c: Likewise. + * kern/emu/hostdisk.c: Likewise. + * kern/emu/main.c: Likewise. (was grub-emu.c earlier) + + * include/grub/dl.h: Remove grub_dl_{ref,unref}. + * include/grub/util/misc.h: Move grub-emu functions to emu/misc.h. + * kern/dl.c: Handle null mod in grub_dl_{ref,unref}. + * util/misc.c: Remove grub-emu functions. + +2010-05-13 Vladimir Serbinenko + + Fix gfxmenu crash. + Reported by: Thorsten Grützmacher. + + * gfxmenu/gui_circular_progress.c (circprog_destroy): Unregister + timeout hook. + (circprog_set_property): Register and unregister timeout hook. + * gfxmenu/gui_label.c (grub_gui_label): New fields template and value. + (label_destroy): Free template. and unregister hook. + (label_set_state): New function. + (label_set_property): Handle templates and hooks. + * gfxmenu/gui_progress_bar.c (progress_bar_destroy): Unregister + timeout hook. + (progress_bar_set_property): Register and unregister timeout hook. + * gfxmenu/view.c (TIMEOUT_COMPONENT_ID): Move from here ... + * include/grub/gui.h (GRUB_GFXMENU_TIMEOUT_COMPONENT_ID): ...to here + * gfxmenu/view.c (grub_gfxmenu_timeout_notifications): New variable. + (update_timeout_visit): Removed. + (update_timeouts): New function. + (redraw_timeouts): Likewise. + (grub_gfxmenu_print_timeout): Use update_timeouts and redraw_timeouts. + (grub_gfxmenu_clear_timeout): Likewise. + * include/grub/gui.h (grub_gfxmenu_set_state_t): New type. + (grub_gfxmenu_timeout_notify): Likewise. + (grub_gfxmenu_timeout_notifications): New external variable. + (grub_gfxmenu_timeout_register): New function. + (grub_gfxmenu_timeout_unregister): Likewise. + +2010-05-09 Vladimir Serbinenko + + Transform (broken) vga terminal into (working) vga video driver. + + * conf/i386-pc.rmk (vga_mod_SOURCES): Change term/i386/pc/vga.c to + video/i386/pc/vga.c. + * include/grub/video.h (grub_video_driver_id): + Add GRUB_VIDEO_DRIVER_VGA. + * term/i386/pc/vga.c: Renamed to ... + * video/i386/pc/vga.c: ...this + (DEBUG_VGA): Removed. + (CHAR_WIDTH): Likewise. + (CHAR_HEIGHT): Likewise. + (TEXT_WIDTH): Likewise. + (TEXT_HEIGHT): Likewise. + (DEFAULT_FG_COLOR): Likewise. + (DEFAULT_BG_COLOR): Likewise. + (colored_char): Likewise. + (xpos): Likewise. + (ypos): Likewise. + (cursor_state): Likewise. + (fg_color): Likewise. + (bg_color): Likewise. + (text_buf): Likewise. + (page): Likewise. + (font): Likewise. + (framebuffer): New variable. + (set_read_map): Disabled. + (setup): New variable. + (is_target): Likewise. + (grub_vga_mod_init): Likewise. + (grub_vga_mod_fini): Likewise. + (check_vga_mem): Likewise. + (write_char): Likewise. + (write_cursor): Likewise. + (scroll_up): Likewise. + (grub_vga_putchar): Likewise. + (grub_vga_getcharwidth): Likewise. + (grub_vga_getwh): Likewise. + (grub_vga_getxy): Likewise. + (grub_vga_gotoxy): Likewise. + (grub_vga_cls): Likewise. + (grub_vga_setcolorstate): Likewise. + (grub_vga_setcursor): Likewise. + (grub_video_vga_init): New function. + (grub_video_vga_setup): Likewise. + (grub_video_vga_fini): Likewise. + (update_target): Likewise. + (grub_video_vga_blit_bitmap): Likewise. + (grub_video_vga_blit_render_target): Likewise. + (grub_video_vga_set_active_render_target): Likewise. + (grub_video_vga_get_active_render_target): Likewise. + (grub_video_vga_swap_buffers): Likewise. + (grub_video_vga_set_palette): Likewise. + (grub_video_vga_get_info_and_fini): Likewise. + (grub_vga_term): Removed. + (grub_video_vga_adapter): New variable. + (GRUB_MOD_INIT): Register a video driver instead of terminal. + (GRUB_MOD_FINI): Unrefister a video driver instead of terminal. + +2010-05-05 Vladimir Serbinenko + + * video/readers/jpeg.c: Indented. + +2010-05-05 Vladimir Serbinenko + + Various jpeg cleanups. + + * video/readers/jpeg.c (grub_jpeg_get_huff_code): Use ARRAY_SIZE. + (grub_jpeg_decode_quan_table): Use sizeof. + (grub_jpeg_decode_du): Use ARRAY_SIZE. + +2010-05-05 Peter Hurley (tiny change) + + * video/readers/jpeg.c (grub_jpeg_decode_huff_table): Loop over all + tables. Ignore non-last ac bit. + (grub_jpeg_decode_quan_table): Likewise. + +2010-05-05 Vladimir Serbinenko + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value + GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM. + * kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set + GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM on qemu. + * kern/ieee1275/init.c (grub_claim_heap): Don0t allocate below + 1.5MiB if GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM is set. + +2010-05-05 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_getkey): Fix off-by-one + error. + +2010-05-05 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Support C0 code. + +2010-05-03 Vladimir Serbinenko + + * commands/parttool.c (grub_cmd_parttool): Fix #if !GRUB_NO_MODULES + condition. + +2010-05-03 Vladimir Serbinenko + + * kern/mm.c (grub_real_malloc): Put magic and size assignment in common + part. + +2010-05-03 Vladimir Serbinenko + + * kern/mm.c (grub_mm_init_region): Check for region size after aligning + pointers. + +2010-05-03 Vladimir Serbinenko + + * kern/mm.c (grub_real_malloc): Fix size calculation when extra == 0. + +2010-05-01 Christian Franke + + * util/grub-mkconfig_lib.in (make_system_path_relative_to_its_root): + Remove broken Cygwin path conversion. + * util/misc.c: [__CYGWIN__] Add include and define. + [__CYGWIN__] (get_win32_path): Copy function from getroot.c, modify + for Cygwin 1.7. + (make_system_path_relative_to_its_root): Simplify loop, replace early + return by break. + [__CYGWIN__] Add conversion to win32 path. + Include "/" case in trailing slash removal. + +2010-05-01 Vladimir Serbinenko + + * kern/main.c (grub_load_config): Fix copy-pasted comment. + Reported by: Seth Goldberg + +2010-05-01 Vladimir Serbinenko + + * commands/help.c (grub_cmd_help): Fix a typo. + Reported by: Seth Goldberg + +2010-05-01 Vladimir Serbinenko + + * commands/hashsum.c (GRUB_MOD_INIT): Remove duplication of command + name and add N_. + * commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Likewise. + * commands/iorw.c (GRUB_MOD_INIT): Likewise. + * commands/password_pbkdf2.c (GRUB_MOD_INIT): Likewise. + * commands/regexp.c (GRUB_MOD_INIT): Likewise. + * commands/setpci.c (GRUB_MOD_INIT): Likewise. + * commands/terminal.c (GRUB_MOD_INIT): Likewise. + * efiemu/main.c (GRUB_MOD_INIT): Likewise. + * font/font_cmd.c (GRUB_MOD_INIT): Likewise. + * kern/corecmd.c (GRUB_MOD_INIT): Likewise. + * mmap/mmap.c (GRUB_MOD_INIT): Likewise. + * normal/context.c (GRUB_MOD_INIT): Likewise. + * normal/main.c (GRUB_MOD_INIT): Likewise. + * term/gfxterm.c (GRUB_MOD_INIT): Likewise. + * term/serial.c (GRUB_MOD_INIT): Likewise. + * term/terminfo.c (GRUB_MOD_INIT): Likewise. + +2010-05-01 Vladimir Serbinenko + + * kern/mm.c (grub_real_malloc): Satisfy alignment requirement when + extra == 0. + +2010-05-01 Vladimir Serbinenko + + * commands/iorw.c: New file. + * conf/i386.rmk (pkglib_MODULES): Add iorw.mod. + (iorw_mod_SOURCES): New variable. + (iorw_mod_CFLAGS): Likewise. + (iorw_mod_LDFLAGS): Likewise. + +2010-05-01 Vladimir Serbinenko + + Hotkey support + + * include/grub/menu.h (grub_menu_entry): New field 'hotkey'. + * normal/main.c (hotkey_aliases): New variable. + (grub_normal_add_menu_entry): Parse "--hotkey". + * normal/menu_text.c (run_menu): Handle hotkeys. + +2010-05-01 Vladimir Serbinenko + + * kern/i386/coreboot/init.c (grub_machine_init): Call + grub_machine_mmap_init on qemu. + +2010-05-01 Vladimir Serbinenko + + * boot/i386/qemu/boot.S: Add a missing .code16. + +2010-05-01 Vladimir Serbinenko + + Use LBIO on coreboot. + + * conf/i386-coreboot.rmk (kernel_img_SOURCES): Change + kern/i386/multiboot_mmap.c to kern/i386/coreboot/mmap.c. + * include/grub/i386/coreboot/memory.h (GRUB_LINUXBIOS_MEMBER_LINK): + New declaration. + * kern/i386/coreboot/init.c (grub_machine_init): Don't call + grub_machine_mmap_init on coreboot. + * kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate): Handle + GRUB_LINUXBIOS_MEMBER_LINK. + (grub_machine_mmap_iterate): Fix declaration. + * kern/i386/coreboot/startup.S: Don't save mbi location on coreboot. + +2010-05-01 Vladimir Serbinenko + + Split coreboot and multiboot ports. + + * conf/i386-multiboot.rmk: New file. + * configure.ac: Add multiboot port. + * include/grub/i386/multiboot/boot.h: New file. + * include/grub/i386/multiboot/console.h: Likewise. + * include/grub/i386/multiboot/init.h: Likewise. + * include/grub/i386/multiboot/kernel.h: Likewise. + * include/grub/i386/multiboot/loader.h: Likewise. + * include/grub/i386/multiboot/memory.h: Likewise. + * include/grub/i386/multiboot/serial.h: Likewise. + * include/grub/i386/multiboot/time.h: Likewise. + * include/grub/multiboot.h: Add GRUB_MACHINE_MULTIBOOT to ifdef. + * loader/multiboot.c: Likewise. + * loader/multiboot_mbi2.c: Likewise. + * util/grub-mkrescue.in: Generate multiboot rescue. + +2010-05-01 Vladimir Serbinenko + + * kern/parser.c (grub_parser_execute): Cope with read-only config. + +2010-05-01 Vladimir Serbinenko + + Merge handling of input and output terminals. Fix a hang. + + * commands/terminal.c (abstract_terminal): New struct. + (handle_command): New function. Based on grub_cmd_terminal_input. + (grub_cmd_terminal_input): Use handle_command. + (grub_cmd_terminal_output): Use handle_command. + +2010-05-01 BVK Chaitanya + + Fix comment handling. + + * tests/grub_script_comments.in: New testcase. + * conf/tests.rmk: Rules for new testcase. + * script/yylex.l: Updated flex rules. + +2010-04-28 Samuel Thibault + + * docs/grub.texi (play): Document that zero pitches produce rests. + * commands/i386/pc/play.c (grub_cmd_play): Call 'grub_file_open' only + if argc is 1. + +2010-04-27 Vladimir Serbinenko + + * conf/x86-efi.rmk (linux_mod_SOURCES): Write explicitly to avoid + autogen issues. + +2010-04-26 Christian Franke + + * include/grub/util/getroot.h (grub_get_prefix): Remove prototype. + * util/getroot.c [__CYGWIN__] (get_win32_path): Remove function. + (grub_get_prefix): Remove function. + * util/grub-emu.c (main): Replace grub_get_prefix () call by + make_system_path_relative_to_its_root (). + * util/sparc64/ieee1275/grub-setup.c (main): Likewise. + +2010-04-24 Christian Franke + + * Makefile.in (TARGET_LDFLAGS): Add -static-libgcc. + (kernel_img_LDFLAGS): Remove -static-libgcc. + +2010-04-24 Christian Franke + + * configure.ac: Do not CHECK_BSS_START_SYMBOL + and CHECK_END_SYMBOL if grub-emu is built. + Unset TARGET_OBJ2ELF if grub-emu is built + without module support. + +2010-04-24 Jiro SEKIBA + + Nilfs2 support. + + * conf/common.rmk (grub_probe_SOURCES): Add fs/nilfs2.c. + (grub_fstest_SOURCES): Likewise. + (pkglib_MODULES): Add nilfs2.mod. + (nilfs2_mod_SOURCES): New variable. + (nilfs2_mod_CFLAGS): Likewise. + (nilfs2_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/nilfs2.c. + * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Add fs/nilfs2.c. + * fs/nilfs2.c: New file. + +2010-04-21 Vladimir Serbinenko + + * configure.ac: Refuse to compile for x86_64-efi is mcmodel=large + is not supported. + +2010-04-19 Grégoire Sutre + + Add grub-mkconfig support for NetBSD. + + * util/grub.d/10_netbsd.in: grub-mkconfig helper script for NetBSD. + * util/grub-mkconfig.in: export new NetBSD specific variables. + * po/POTFILES-shell: added 10_netbsd.in. + * util/grub-mkconfig_lib.in: check for gettext binary, default to echo. + +2010-04-19 BVK Chaitanya + + Fix emu build with grub-emu-pci and grub-emu-modules. + + * include/grub/util/misc.h: Export grub_util_{info,error,warn} + functions. + * include/grub/libpciaccess.h: New file. + * conf/any-emu.rmk: Update kernel headers for emu build. + +2010-04-19 Vladimir Serbinenko + + * fs/udf.c (grub_udf_iterate_dir): Silence a spurious warning. + +2010-04-19 Vladimir Serbinenko + + * fs/udf.c (grub_udf_iterate_dir): Decode the Unicode filenames. + +2010-04-18 Vladimir Serbinenko + + * boot/sparc64/ieee1275/boot.S: Various size-reducing changes. + Retrieve chosen/bootpath if bootpath isn't hardcoded. + * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Add + util/ieee1275/ofpath.c. + * util/sparc64/ieee1275/grub-ofpathname.c: Renamed to ... + * util/ieee1275/grub-ofpathname.c: ... this. All users updated + * include/grub/sparc64/ieee1275/boot.h + (GRUB_BOOT_MACHINE_KERNEL_SECTOR): Renamed to ... + (GRUB_BOOT_MACHINE_KERNEL_BYTE): ...this. Moved 8 bytes lower. + * util/hostdisk.c (grub_util_biosdisk_get_osdev): New function. + * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Make argument + const char *. + * util/sparc64/ieee1275/grub-setup.c (compute_dest_ofpath): Removed. + (setup): Use KERNEL_BYTE instead of KERNEL_SECTOR. + Use grub_util_devname_to_ofpath. Zero-fill boot_devpath on same disk + install. + +2010-04-18 Grégoire Sutre + + * util/grub-mkconfig.in: Corrected two == equality tests. + Set grub_prefix as in grub-install for NetBSD and OpenBSD. + * configure.ac: All definitions and uses of TARGET_IMG_LDFLAGS_AC now + expect a number appended to it. + * acinclude.m4 (grub_PROG_OBJCOPY_ABSOLUTE): ${TARGET_IMG_LDFLAGS_AC} + expects a number appended to it. + +2010-04-18 Vladimir Serbinenko + + * po/POTFILES: Renamed multiboot_loader.c to multiboot.c + +2010-04-18 Vladimir Serbinenko + + * util/hostdisk.c (make_device_name): Change to new partition naming. + +2010-04-17 Vladimir Serbinenko + + * disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0. + +2010-04-17 Christian Franke + + * Makefile.in: Add missing localedir setting. + +2010-04-14 Colin Watson + + Restore TEXTDOMAINDIR correction from r1889, lost apparently by + mistake in r2156. Noticed by Anthony Fok. + + * util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased + @localedir@. + * util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise. + +2010-04-14 BVK Chaitanya + + Fix a spurious, uninitialized variable warning. + + * loader/i386/bsdXX.c (grub_freebsd_load_elfmodule_obj): + Initialize variable, shdr. + (grub_freebsd_load_elfmodule): Likewise. + (grub_freebsd_load_elf_meta): Likewise. + +2010-04-13 BVK Chaitanya + + Fix for escaped dollar in double quoted strings. + + * script/yylex.l: Updated flex rules. + * conf/tests.rmk: Rule for new testcase. + * tests/grub_script_dollar.in: New testcase. + +2010-04-13 Carles Pina i Estany +2010-04-13 Colin Watson + + Enclose all translated strings in grub.cfg in single quotes, and + escape them appropriately (Ubuntu bug #552921). + + * util/grub-mkconfig_lib.in (gettext_quoted): New function. + * util/grub.d/10_hurd.in: Use it. + * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise. + * util/grub.d/10_linux.in (linux_entry): Likewise. + +2010-04-11 Vladimir Serbinenko + + Fix cygwin compilation. + + * configure.ac: Define NEED_REGISTER_FRAME_INFO. + * include/grub/misc.h (__register_frame_info) + [NEED_REGISTER_FRAME_INFO && !UTIL]: New export. + (__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise. + * kern/misc.c (__register_frame_info) + [NEED_REGISTER_FRAME_INFO && !UTIL]: New empty function. + (__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise. + +2010-04-11 Vladimir Serbinenko + + * configure.ac: Respect grub_cv_asm_uscore when defining dummy symbols. + +2010-04-11 Vladimir Serbinenko + + Unify libgcc processing. + + * Makefile.in (kernel_img_LDFLAGS): New variable. + * conf/common.rmk (kernel_img_HEADERS): Add libgcc.h. + * conf/i386-coreboot.rmk (kernel_img_LDFLAGS): Append instead of + overwriting. + * conf/i386-ieee1275.rmk (kernel_img_LDFLAGS): Likewise. + * conf/i386-pc.rmk (kernel_img_LDFLAGS): Likewise. + * conf/i386-qemu.rmk (kernel_img_LDFLAGS): Likewise. + * conf/x86-efi.rmk (kernel_img_LDFLAGS): Likewise. + * conf/mips-qemu-mips.rmk (kernel_img_LDFLAGS): Append instead of + overwriting. Remove -lgcc and -static-libgcc + * conf/mips-yeeloong.rmk (kernel_img_LDFLAGS): Likewise. + * conf/mips.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h + * conf/powerpc-ieee1275.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h + (kernel_img_LDFLAGS): Append instead of overwriting. + Remove -lgcc and -static-libgcc + * conf/sparc64-ieee1275.rmk: Likewise. + * include/grub/powerpc/libgcc.h: Move to ... + * include/grub/libgcc.h: .. this. + * include/grub/libgcc.h: Don't export most of the function on x86. + (__bswapsi2): New export. + (__bswapdi2): Likewise. + * include/grub/mips/libgcc.h: Removed. + * include/grub/sparc64/libgcc.h: Likewise. + +2010-04-10 Vladimir Serbinenko + + * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Remove + disk_info_msg (conflicts with gettexting into languages with cases). + +2010-04-10 Grégoire Sutre + + Add grub-probe support for NetBSD. + + * util/getroot.c (find_root_device): Convert block device to + character device on NetBSD. + * util/probe.c (probe): Require character device on NetBSD. + * util/hostdisk.c: NetBSD specific headers. + (configure_device_driver): new function to tune device driver + parameters (currently only for NetBSD floppy driver). + (grub_util_biosdisk_open): NetBSD specific code (get disk size + via disklabel ioctl). + (open_device): call configure_device_driver on NetBSD. + (convert_system_partition_to_system_disk): NetBSD specific code. + (device_is_wholedisk): Likewise. + (grub_util_biosdisk_get_grub_dev): Likewise. + (make_device_name): Fixed a typo in bsd_part_str. + * configure.ac: check for opendisk() and getrawpartition() on + NetBSD and set LIBUTIL. + * Makefile.in: add LIBUTIL to LIBS. + +2010-04-10 BVK Chaitanya + + Documentation fix. + + * util/grub-script-check.c: Better help message. + +2010-04-10 BVK Chaitanya + + Fix FreeBSD build. + + * configure.ac: Flex version check. + * conf/common.rmk: Add -Wno-error to sh.mod. + * script/yylex.l: Remove all #pragma. + +2010-04-10 Vladimir Serbinenko + + * include/grub/util/misc.h (canonicalise_file_name): Add missing + prototype. + Reported by: Seth Goldberg. + +2010-04-10 Vladimir Serbinenko + + * loader/multiboot.c (GRUB_MOD_INIT) [GRUB_USE_MULTIBOOT2]: + Rename "module" to "module2". + Reported by: Seth Goldberg. + +2010-04-10 Vladimir Serbinenko + + * include/grub/efi/memory.h (grub_machine_mmap_iterate): Remove + EXPORT_FUNC. + Reported by: Seth Goldberg. + +2010-04-10 Vladimir Serbinenko + + * lib/posix_wrap/locale.h: Add missing file. + Reported by: Seth Goldberg. + +2010-04-10 Vladimir Serbinenko + + grub-emu module load support. + + * Makefile.in (TARGET_NO_MODULES): New variable. All users of + NO_DYNAMIC_MODULES switched to this. + (TARGET_CFLAGS): Add -DGRUB_TARGET_NO_MODULES=1 if applicable. + (CFLAGS): Likewise. + * conf/any-emu.rmk: Generate symlist. + (kernel_img_HEADERS): Add util/datetime.h. + (kernel_img_HEADERS) [sdl]: Add sdl.h. + (kernel_img_HEADERS) [libusb]: Add libusb.h. + (kernel_img_SOURCES) [TARGET_NO_MODULES = no && !x86]: Add + kern/$(target_cpu)/cache.S. + * configure.ac (grub-emu-modules): New option. + * genmk.rb: Handle multiple source lists. + * include/grub/sdl.h: New file. + * include/grub/libusb.h: Likewise. + * util/grub-emu.c (main): Hanle (host) root. + * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Error with + GRUB_ERR_UNKNOWN_DEVICE. + * util/misc.c: Move mm functions to ... + * util/mm.c: ... here. All users updated. + +2010-04-09 Vladimir Serbinenko + + * Makefile.in (RMKFILES): Search in srcdir and not current directory. + (MAINTAINER_CLEANFILES): Don't add $(srcdir) to MKFILES. Add few + missing files. + (maintainer-clean): Remove libgcrypt-grub. + +2010-04-09 Vladimir Serbinenko + + * term/efi/console.c (grub_console_checkkey): Macroify key contants. + +2010-04-09 EFI Coder + + * normal/menu_text.c (print_message): Clean up the message and show + the Fn information when on EFI + * term/efi/console.c (grub_console_checkkey): Add F4 support. + +2010-04-09 Vladimir Serbinenko + + * normal/autofs.c (read_fs_list): New parameter 'prefix'. + All users updated. + * normal/crypto.c (read_crypto_list): Likewise. + * normal/dyncmd.c (read_command_list): Likewise. + * normal/term.c (read_terminal_list): Likewise. + * normal/main.c (read_lists): Use explicit prefix. + (read_lists_hook): Use read_lists. + (grub_normal_execute): Likewise. + +2010-04-09 Vladimir Serbinenko + + * util/grub-mkrescue.in: Fix incorrect path in coreboot part. + Reported by: Thomas Schmitt. + Add -no-emul-boot to grub-mkisofs parameters. + +2010-04-09 Vladimir Serbinenko + + * font/font.c: Indented. + +2010-04-09 BVK Chaitanya + + Elif support to GRUB script (by Deepak Vankadaru). + + * tests/grub_script_if.in: New testcase. + * conf/tests.rmk: Rule for new testcase. + * script/parser.y: Grammar rules for elif. + +2010-04-09 BVK Chaitanya + + While and until loops support to GRUB script. + + * include/grub/script_sh.h (grub_script_cmdwhile): New struct. + (grub_script_create_cmdwhile): New function prototype. + (grub_script_execute_cmdwhile): New function prototype. + * script/execute.c (grub_script_execute_cmdwhile): New function. + * script/parser.y (command): New commands. + (whilecmd): New grammar rule. + (untilcmd): New grammar rule. + * script/script.c (grub_script_create_cmdwhile): New function. + * util/grub-script-check.c (grub_script_execute_cmdwhile): New + function. + + * tests/grub_script_while1.in: New testcase. + * conf/tests.rmk: Rule for new testcase. + +2010-04-09 Vladimir Serbinenko + + * util/grub.d/00_header.in: Add few missing quotes. Recognise *.jpeg + as *.jpg. + +2010-04-09 Mario Vazquez + + GRUB_BACKGROUND support. + + * util/grub-mkconfig.in: Export GRUB_BACKGROUND. + * util/grub.d/00_header.in: Parse GRUB_BACKGROUND. + +2010-04-09 Vladimir Serbinenko + + Load fonts and modules for gfxmenu in grub-mkconfig. + Idea by: Mario Vazquez + + * util/grub.d/00_header.in: Load pf2 and image modules. + +2010-04-09 Vladimir Serbinenko + + grub-mkconfig multiple terminal support. + + * util/grub-mkconfig.in: Handle multiple terminals correctly. + * util/grub.d/00_header.in: Likewise. + +2010-04-09 Vladimir Serbinenko + + * Makefile.in: Specify files explicitly instead of using $< and $@ since + we use cd $(srcdir). + +2010-04-08 Colin Watson + + * util/grub.d/10_linux.in: Only use the first word of + GRUB_DISTRIBUTOR for --class, to avoid problems if somebody puts + spaces in GRUB_DISTRIBUTOR. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + +2010-04-06 BVK Chaitanya + + Fix unit testing framework for Qemu 0.12. + + * tests/util/grub-shell.in: Remove -serial stdio option. + +2010-04-06 Vladimir Serbinenko + + POSIX header file wrappers. + + * lib/posix_wrap/assert.h: New file. Wrapper for its POSIX + equivalents. + * lib/posix_wrap/ctype.h: Likewise. + * lib/posix_wrap/errno.h: Likewise. + * lib/posix_wrap/langinfo.h: Likewise. + * lib/posix_wrap/limits.h: Likewise. + * lib/posix_wrap/localcharset.h: Likewise. + * lib/posix_wrap/stdint.h: Likewise. + * lib/posix_wrap/stdio.h: Likewise. + * lib/posix_wrap/stdlib.h: Likewise. + * lib/posix_wrap/string.h: Likewise. + * lib/posix_wrap/sys/types.h: Likewise. + * lib/posix_wrap/unistd.h: Likewise. + * lib/posix_wrap/wchar.h: Likewise. + * lib/posix_wrap/wctype.h: Likewise. + * conf/common.rmk (grub_script.yy.c): Remove #include elimination. + (grub_script.yy.h): Likewise. + * script/yylex.l: Remove POSIX emulation #defines. + * Makefile.in (POSIX_CFLAGS): New variable. + (GNULIB_UTIL_CFLAGS): Likewise. + + Regexp support. + + * conf/common.rmk (pkglib_MODULES): Add regexp.mod. + (regexp_mod_SOURCES): New variable. + (regexp_mod_CFLAGS): Likewise. + (regexp_mod_LDFLAGS): Likewise. + * commands/regexp.c: New file. + * gnulib/regcomp.c: New file. Imported from gnulib. + * gnulib/regex.c: Likewise. + * gnulib/regex_internal.c: Likewise. + * gnulib/regex_internal.h: Likewise. + * gnulib/regexec.c: Likewise. + * gnulib/regex.h: Likewise. + +2010-04-05 Vladimir Serbinenko + + * loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report + unsupported video mode types. + +2010-04-05 Vladimir Serbinenko + + * kern/i386/pc/startup.S (grub_getrtsecs): Removed (dead code). + +2010-04-05 Vladimir Serbinenko + + * include/grub/i386/pc/init.h (grub_get_mmap_entry): Don't export. + * conf/i386-pc.rmk (kernel_img_HEADERS): Remove machine/init.h. + +2010-04-04 Vladimir Serbinenko + + Remove unused grub_vga_get_font. + + * kern/i386/pc/startup.S (grub_vga_get_font): Removed. + * include/grub/i386/pc/vga.h (grub_vga_get_font): Likewise. + +2010-04-03 Grégoire Sutre + + * kern/misc.c: Disable the __enable_execute_stack hack for utilities. + * include/grub/misc.h: Likewise. + +2010-04-03 Grégoire Sutre + + * util/grub-install.in: Add `|| exit 1' to all grub-probe calls + for which failure is fatal. + +2010-04-03 Grégoire Sutre + + * util/grub-install.in: Use mkdir -p to create grub directory. + * util/i386/efi/grub-install.in: Likewise. + * util/ieee1275/grub-install.in: Likewise. + +2010-04-03 Grégoire Sutre + + * Makefile.in (LEX): new variable. + +2010-04-03 Grégoire Sutre + + * util/i386/efi/grub-dumpdevtree: replaced the non-portable `==' by + `=' and added double quotes on operands of this equality test. + +2010-04-03 Vladimir Serbinenko + + * Makefile.in (uninstall): Remove a leftover debug echo. + Reported by: Grégoire Sutre + +2010-04-03 Vladimir Serbinenko + + MIPS multiboot2 support. + + * conf/mips.rmk (pkglib_MODULES): Add multiboot2.mod. + (multiboot2_mod_SOURCES): New variable. + (multiboot2_mod_CFLAGS): Likewise. + (multiboot2_mod_LDFLAGS): Likewise. + (multiboot2_mod_ASFLAGS): Likewise. + * include/grub/i386/multiboot.h (MULTIBOOT_INITIAL_STATE): New + definition. + (MULTIBOOT_ENTRY_REGISTER): Likewise. + (MULTIBOOT_MBI_REGISTER): Likewise. + (MULTIBOOT_ARCHITECTURE_CURRENT): Likewise. + (MULTIBOOT_ELF32_MACHINE): Likewise. + (MULTIBOOT_ELF64_MACHINE): Likewise. + * include/grub/mips/multiboot.h: New file. + * include/grub/video.h (grub_video_driver_id): New type + GRUB_VIDEO_DRIVER_SM712. + (grub_video_get_info_and_fini): Export. + (grub_video_get_palette): Likewise. + (grub_video_get_driver_id): Likewise. + * include/multiboot2.h: Resynced with spec. + * loader/i386/multiboot.c: Moved from here ... + * loader/multiboot.c: ... here. All users updated. + (grub_multiboot_boot): Use platform-specific macros. + * loader/i386/multiboot_elfxx.c: Moved from here ... + * loader/multiboot_elfxx.c: ... here. All users updated. + (E_MACHINE): Use MULTIBOOT_ELF32_MACHINE and MULTIBOOT_ELF64_MACHINE. + * loader/i386/multiboot_mbi2.c (grub_multiboot_load): Check arcitecture. + * video/sm712.c (grub_video_sm712_adapter): Add missing id field. + +2010-04-02 Vladimir Serbinenko + + Import gnulib argp module. + + * gnulib/argp-ba.c: New file. + * gnulib/argp-eexst.c: Likewise. + * gnulib/argp-fmtstream.c: Likewise. + * gnulib/argp-fmtstream.h: Likewise. + * gnulib/argp-fs-xinl.c: Likewise. + * gnulib/argp-help.c: Likewise. + * gnulib/argp-namefrob.h: Likewise. + * gnulib/argp-parse.c: Likewise. + * gnulib/argp-pin.c: Likewise. + * gnulib/argp-pv.c: Likewise. + * gnulib/argp-pvh.c: Likewise. + * gnulib/argp-version-etc.c: Likewise. + * gnulib/argp-version-etc.h: Likewise. + * gnulib/argp-xinl.c: Likewise. + * gnulib/argp.h: Likewise. + +2010-03-31 Vladimir Serbinenko + + * kern/device.c (grub_device_iterate): Clear errors after failed + opening device. + +2010-03-31 Vladimir Serbinenko + + * kern/ieee1275/openfw.c (grub_children_iterate): Skip device itself if + returned by firmware. + +2010-03-30 Vladimir Serbinenko + + * loader/i386/multiboot_mbi2.c (retrieve_video_parameters): Fix + compilation on coreboot and qemu + +2010-03-28 Vladimir Serbinenko + + * include/multiboot2.h: Resync with spec. + +2010-03-28 Vladimir Serbinenko + + Multiboot2 tag support + + * conf/i386.rmk (multiboot2_mod_SOURCES): Replace + loader/i386/multiboot_mbi.c with loader/i386/multiboot_mbi2.c. + Remove loader/multiboot_loader.c. + * include/grub/i386/multiboot.h (grub_multiboot_real_boot): Removed. + (grub_multiboot2_real_boot): Likewise. + * include/grub/multiboot.h (grub_multiboot_set_accepts_video): Removed. + (grub_get_multiboot_mmap_count): New proto. + (grub_fill_multiboot_mmap): Likewise. + (grub_multiboot_set_video_mode): Likewise. + (grub_multiboot_set_console): Likewise. + (grub_multiboot_load): Likewise. + (grub_multiboot_load_elf): Likewise. + (GRUB_MULTIBOOT_CONSOLE_EGA_TEXT): New definition. + (GRUB_MULTIBOOT_CONSOLE_FRAMEBUFFER): Likewise. + * include/multiboot.h: Resynced with specification. + * include/multiboot2.h: Resynced with specification. + * loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): Moved from here... + * loader/i386/multiboot.c (DEFAULT_VIDEO_MODE): ... here. + * loader/i386/multiboot_mbi.c (HAS_VGA_TEXT): Moved from here .. + * include/grub/multiboot.h (GRUB_MACHINE_HAS_VGA_TEXT): ... here. All + users updated. + * loader/i386/multiboot_mbi.c (accepts_video): Moved from here... + * loader/i386/multiboot.c (accepts_video): ... here. All users updated. + * loader/i386/multiboot_mbi.c (grub_multiboot_set_accepts_video): + Removed. + * loader/i386/multiboot_mbi.c (grub_get_multiboot_mmap_len): + Moved from here... + * loader/i386/multiboot.c (grub_get_multiboot_mmap_len): ... here. + * loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap): + Moved from here... + * loader/i386/multiboot.c (grub_fill_multiboot_mmap): ... here. + * loader/i386/multiboot_mbi.c (set_video_mode): Moved from here... + * loader/i386/multiboot.c (grub_multiboot_set_video_mode): ... here. + All users updated. + * loader/i386/multiboot_mbi2.c: New file. + +2010-03-27 Vladimir Serbinenko + + Resync with gnulib. + + * Makefile.in (GNULIB_CFLAGS): New variable. + * conf/common.rmk (grub_mkisofs_CFLAGS): Add GNULIB_CFLAGS. + (grub_script_check_CFLAGS): New variable. + * gnulib/alloca.h: Resync with gnulib. + * gnulib/error.c: Likewise. + * gnulib/error.h: Likewise. + * gnulib/fnmatch.c: Likewise. + * gnulib/fnmatch_loop.c: Likewise. + * gnulib/getdelim.c: Likewise. + * gnulib/getline.c: Likewise. + * gnulib/getopt.c: Likewise. + * gnulib/getopt1.c: Likewise. + * gnulib/getopt_int.h: Likewise. + * gnulib/gettext.h: Likewise. + * gnulib/progname.c: Likewise. + * gnulib/progname.h: Likewise. + +2010-03-27 Grégoire Sutre + + Fix a build failure (-Wundef -Werror) when ENABLE_NLS is not defined, + which is the case with --disabled-nls. + + * include/grub/i18n.h: Use (defined(ENABLE_NLS) + && ENABLE_NLS) instead of ENABLE_NLS in all #if preprocessor macros. + * util/misc.c: Likewise. + * util/mkisofs/mkisofs.c: Likewise. + * util/mkisofs/mkisofs.h: Likewise. + +2010-03-27 Vladimir Serbinenko + + Simplify Apple CC support. + + * commands/i386/pc/drivemap_int13h.S: Use LOCAL when possible. + Add 0 byte at the end not to have a symbol with empty target. + * mmap/i386/pc/mmap_helper.S: Likewise. + * genmk.rb: Ignore errors 2030 and 2050. + * kern/i386/pc/startup.S: Use LOCAL when possible. + +2010-03-26 BVK Chaitanya + + Testcase and the fix for final semicolon on cmdline. + + * tests/grub_script_final_semicolon.in: New testcase. + * conf/tests.rmk: Rules for the new testcase. + * script/parser.y: Grammar fix. + +2010-03-26 BVK Chaitanya + + Blank lines testcase for GRUB script. + + * tests/grub_script_blanklines.in: New testcase. + * conf/tests.rmk: Rules for the new testcase. + +2010-03-26 Vladimir Serbinenko + + Don't use __FILE__. + + * genmk.rb: Add -DGRUB_FILE to all C targets. + * fs/reiserfs.c: Replace __FILE__ with GRUB_FILE. + * include/grub/list.h: Likewise. + * include/grub/misc.h: Likewise. + * include/grub/mm.h: Likewise. + * include/grub/test.h: Likewise. + * kern/mm.c: Likewise. + * lib/libgcrypt_wrap/cipher_wrap.h: Likewise. + +2010-03-26 Vladimir Serbinenko + + Sunpc partitions support. + + * conf/common.rmk (grub_probe_SOURCES): Add partmap/sunpc.c. + (grub_fstest_SOURCES): Likewise. + (pkglib_MODULES): Add part_sunpc.mod. + (part_sunpc_mod_SOURCES): New variable. + (part_sunpc_mod_CFLAGS): Likewise. + (part_sunpc_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/sunpc.c. + * partmap/sunpc.c: New file. + +2010-03-26 BVK Chaitanya + + For loop support to GRUB script. + + * include/grub/script_sh.h (grub_script_cmdfor): New struct. + (grub_script_create_cmdfor): New function prototype. + (grub_script_execute_cmdfor): New function prototype. + * script/execute.c (grub_script_execute_cmdfor): New function. + * script/parser.y (command): New for command. + (forcmd): New grammar rule. + * script/script.c (grub_script_create_cmdfor): New function. + * util/grub-script-check.c (grub_script_execute_cmdfor): New + function. + * tests/grub_script_for1.in: New testcase. + * conf/tests.rmk: Rules for new testcase. + +2010-03-26 Vladimir Serbinenko + + Nested partitions + + * commands/blocklist.c (grub_cmd_blocklist): Don't check whether + 'partition' is NULL, grub_partition_get_start already does that. + * commands/loadenv.c (check_blocklists): Likewise. + (write_blocklists): Likewise. + * conf/common.rmk (grub_probe_SOURCES): Add partmap/bsdlabel.c. + (grub_fstest_SOURCES): Likewise. + (pkglib_MODULES): Add part_bsd.mod. + (part_bsd_mod_SOURCES): New variable. + (part_bsd_mod_CFLAGS): Likewise. + (part_bsd_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/bsdlabel.c. + (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * include/grub/bsdlabel.h: New file. + * include/grub/partition.h (grub_partition_map): Remove 'probe' and + 'get_name'. + (grub_partition): Add 'parent' and 'number'. Remove 'data'. + (grub_partition_map_list): New variable. + (grub_partition_map_register): Inline. + (grub_partition_map_unregister): Likewise. + (FOR_PARTITION_MAPS): New macro. + (grub_partition_map_iterate): Removed. + (grub_partition_get_start): Handle nested partitions. + * include/grub/msdos_partition.h: Remove bsd-related entries. + (grub_pc_partition): Remove. + * kern/disk.c (grub_disk_close): Free partition data. + (grub_disk_adjust_range): Handle nested partitions. + * kern/partition.c (grub_partition_map_probe): New function. + (grub_partition_probe): Parse name to number, handle subpartitions. + (get_partmap): New function. + (grub_partition_iterate): Handle subpartitions. + (grub_partition_get_name): Likewise. + * loader/i386/pc/bsd.c (grub_bsd_get_device): Likewise. + * loader/i386/multiboot.c (grub_multiboot_get_bootdev): Likewise. + * loader/i386/pc/chainloader.c (grub_chainloader_cmd): Likewise. + * partmap/acorn.c (acorn_partition_map_iterate): Don't force raw access. + Set 'number'. + (acorn_partition_map_probe): Remove. + (acorn_partition_map_get_name): Likewise. + * partmap/amiga.c (amiga_partition_map_iterate): Don't force raw access. + Set 'number'. + Set 'index' to 0 since there can be only one partition entry per sector. + (amiga_partition_map_probe): Remove. + (amiga_partition_map_get_name): Likewise. + * partmap/apple.c (apple_partition_map_iterate): Don't force raw access. + Set 'number'. + Set 'offset' and 'index' to real positions of partitions. + (apple_partition_map_probe): Remove. + (apple_partition_map_get_name): Likewise. + * partmap/bsdlabel.c: New file. + * partmap/gpt.c (gpt_partition_map_iterate): Don't force raw access. + Set 'number'. + Allocate 'data' so it can be correctly freed. + Set 'index' to offset inside sector. + (gpt_partition_map_probe): Remove. + (gpt_partition_map_get_name): Likewise. + * partmap/msdos.c (grub_partition_parse): Remove. + (pc_partition_map_iterate): Don't force raw access. + Set 'number'. + Make 'ext_offset' a local variable. + (pc_partition_map_probe): Remove. + (pc_partition_map_get_name): Remove. + * partmap/sun.c (sun_partition_map_iterate): Don't force raw access. + Set 'number'. + (sun_partition_map_probe): Remove. + (sun_partition_map_get_name): Likewise. + * parttool/msdospart.c (grub_pcpart_boot): Handle nested partitions. + (grub_pcpart_type): Likewise. + * util/hostdisk.c (open_device): Handle new numbering scheme. + (grub_util_biosdisk_get_grub_dev): Handle nested partitions. + * util/i386/pc/grub-setup.c (setup): Handle new numbering scheme. + * util/grub-probe.c (probe_partmap): Handle nested paritions. + * util/grub-install.in: Insert all subpartition modules. + * util/ieee1275/grub-install.in: Likewise. + +2010-03-24 Adrian Glaubitz + + * kern/dl.c (grub_dl_resolve_symbols): Improve error message + grammar. + +2010-03-24 Colin Watson + + * .bzrignore: Add grub-bin2h, grub-reboot, and grub-set-default. + +2010-03-21 Colin Watson + + * util/grub-install.in: Copy .mo files from @datadir@/locale, to + match where 'make install' puts them. + * util/i386/efi/grub-install.in: Likewise. + +2010-03-19 Colin Watson + + * .bzrignore: Add gentrigtables, grub-script-check, + grub_script_check_init.c, grub_script_check_init.h, and + trigtables.c. + +2010-03-18 Vladimir Serbinenko + + * kern/parser.c: Indented. + +2010-03-17 Vladimir Serbinenko + + * term/i386/pc/vesafb.c: Removed (orphaned, deprecated and broken). + +2010-03-17 Vladimir Serbinenko + + * video/fb/fbblit.c (grub_video_fbblit_blend_XXXA8888_1bit): Handle + alpha_mask_size == 0 case. + +2010-03-14 BVK Chaitanya + + GRUB shell lexer and parser improvements. + + * conf/any-emu.rmk: Build rule updates. + * conf/common.rmk: Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + + * configure.ac: Configure check for flex. + + * include/grub/script_sh.h (grub_script_arg_type_t): More argument + types. + (grub_lexer_param): Struct member updates. + (grub_parser_param): Likewise. + (GRUB_LEXER_TOKEN_MAX): Maximum token size. + (GRUB_LEXER_RECORD_INCREMENT): Memory increments' size. + (grub_script_lexer_init): Prototype update. + (grub_script_lexer_record_start): Likewise. + (grub_script_lexer_record_stop): Likewise. + (grub_script_lexer_yywrap): New function prototype. + (grub_script_lexer_fini): Likewise. + (grub_script_execute_argument_to_string): Removed by... + (grub_script_execute_argument_to_argv): ...better version. + + * script/execute.c (ROUND_UPTO): New macro. + (grub_script_execute_cmdline): Out of memory fixes. + (grub_script_execute_menuentry): Likewise. + (grub_script_execute_argument_to_string): Removed. Update all + users by... + (grub_script_execute_argument_to_argv): ...better version. + * script/function.c (grub_script_function_create): Use + grub_script_execute_argument_to_argv instead of + grub_script_execute_argument_to_string. + + * script/lexer.c (check_varstate): Removed. + (check_textstate): Removed. + (grub_script_lexer_record_start): Likewise. + (grub_script_lexer_record_stop): Likewise. + (recordchar): Replaced with... + (grub_script_lexer_record): ...new function. + (nextchar): Removed. + (grub_script_lexer_init): Rewritten. + (grub_script_yylex): Rewritten. + (append_newline): New function. + (grub_script_lexer_yywrap): New function. + (grub_script_lexer_fini): New function. + (grub_script_yyerror): Sets error flag. + + * script/yylex.l: New file. + (grub_lexer_yyfree): Wrapper for flex yyffre. + (grub_lexer_yyalloc): Likewise. + (grub_lexer_yyrealloc): Likewise. + * script/parser.y: Refactored. + + * script/script.c (grub_script_arg_add): Out of memory fixes. + (grub_script_add_arglist): Likewise. + (grub_script_create_cmdline): Likewise. + (grub_script_create_cmdmenu): Likewise. + (grub_script_add_cmd): Likewise. + (grub_script_parse): Use grub_script_lexer_fini to deallocated. + * util/grub-script-check.c (grub_script_execute_menuentry): Remove + unnecessary code. + + * tests/grub_script_echo1.in: New testcase. + * tests/grub_script_vars1.in: New testcase. + * tests/grub_script_echo_keywords.in: New testcase. + +2010-03-14 Vladimir Serbinenko + + Remove some redundancy in build system. + + * Makefile.in (TARGET_CFLAGS): Add -ffreestanding. + (TARGET_ASFLAGS): Add -nostdinc -fno-builtin. + (TARGET_LDFLAGS): Add -nostdlib. + (TARGET_IMG_LDFLAGS): Likewise. + * commands/lsmmap.c (grub_cmd_lsmmap) [GRUB_MACHINE_EMU]: Don't do + anything since mmap isn't available. + * conf/any-emu.rmk (kernel_img_SOURCES): Remove commands/boot.c. + Add util/time.c. + (pkglib_MODULES): Remove reboot.mod. + (reboot_mod_SOURCES): Removed. + (reboot_mod_CFLAGS): Likewise. + (reboot_mod_LDFLAGS): Likewise. + * conf/common.rmk (script/lexer.c_DEPENDENCIES): New variable. + (MOSTLYCLEANFILES): Add symlist.c kernel_syms.lst. + (DEFSYMFILES): Add kernel_syms.lst. + (kernel_img_HEADERS): Add common headers. + (symlist.c): New target. + (kernel_syms.lst): Likewise. + (pkglib_MODULES): Add memdisk.mod. + (memdisk_mod_SOURCES): New variable. + (memdisk_mod_CFLAGS): Likewise. + (memdisk_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add reboot.mod. + (reboot_mod_SOURCES): New variable. + (reboot_mod_CFLAGS): Likewise. + (reboot_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add date.mod. + (date_mod_SOURCES): New variable. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add datehook.mod. + (datehook_mod_SOURCES): New variable. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add lsmmap.mod. + (lsmmap_mod_SOURCES): New variable. + (lsmmap_mod_CFLAGS): Likewise. + (lsmmap_mod_LDFLAGS): Likewise. + (pkglib_MODULES): Add boot.mod. + (boot_mod_SOURCES): New variable. + (boot_mod_CFLAGS): Likewise. + (boot_mod_LDFLAGS): Likewise. + * conf/i386-coreboot.rmk: Removed redundant parts. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/mips-yeeloong.rmk: Likewise. + * conf/mips.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * conf/i386-coreboot.rmk: Moved qemu parts .. + * conf/i386-qemu.rmk: ... here + * conf/i386-efi.rmk: Moved common parts to... + * conf/x86-efi.rmk: ... here. + * conf/i386.rmk: Added modules common to all x86 variants. + * configure.ac: Add -m32/-m64 to TARGET_ASFLAGS. + * disk/memdisk.c: Remove grub/machine/kernel.h. + * gensymlist.sh.in: Include symbol.h. + * hook/datehook.c: Correct module name. + * include/grub/datetime.h (grub_get_datetime) [GRUB_MACHINE_EMU]: Export. + (grub_set_datetime) [GRUB_MACHINE_EMU]: Likewise. + * include/grub/i386/efi/serial.h: New file. + * include/grub/x86_64/efi/serial.h: Likewise. + * util/time.c: Likewise. + * video/ieee1275.c (grub_video_ieee1275_setup): Handle 64-bit void *. + +2010-03-14 Colin King +2010-03-14 Colin Watson + + Shrink the pre-partition-table part of boot.img by eight bytes. + + * boot/i386/pc/boot.S (ERR): New macro. + (chs_mode): Use ERR. + (geometry_error): Likewise. + (hd_probe_error): Remove. This is only used once, so we wrwite + it inline instead. + (read_error): Instead of printing read_error_string, just set up + %si and fall through to ... + (error_message): ... this new function, also used by ERR. + +2010-03-14 Colin Watson + + Speed up consecutive hostdisk operations on the same device. + + * util/hostdisk.c (struct grub_util_biosdisk_data): New structure. + (grub_util_biosdisk_open): Initialise disk->data. + (struct linux_partition_cache): New structure. + (linux_find_partition): Cache partition start positions; these are + expensive to compute on every read and write. + (open_device): Cache open file descriptor in disk->data, so that we + don't have to reopen it and flush the buffer cache for consecutive + operations on the same device. + (grub_util_biosdisk_close): New function. + (grub_util_biosdisk_dev): Set `close' member. + + * conf/common.rmk (grub_probe_SOURCES): Add kern/list.c. + * conf/i386-efi.rmk (grub_setup_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_setup_SOURCES): Likewise. + +2010-03-14 Vladimir Serbinenko + + Compile parts of grub-emu as modules. + + * Makefile.in (TARGET_CPPFLAGS) [emu]: Remove -nostdinc -isystem. + (pkglib_DATA) [emu]: Remove moddep.lst command.lst fs.lst + partmap.lst parttool.lst handler.lst video.lst crypto.lst terminal.lst. + (all-local): Add $(GRUB_EMU). + (install-local): Install $(GRUB_EMU). + (uninstall): Uninstall $(GRUB_EMU). + * commands/parttool.c: Replace GRUB_UTIL with GRUB_NO_MODULES. + * kern/dl.c: Likewise. + * commands/sleep.c: Not include machine/time.h. + * conf/any-emu.rmk (COMMON_LDFLAGS): New variable. + (COMMON_CFLAGS): Likewise. + (sbin_UTILITIES): Remove grub-emu. + (grub_emu_SOURCES): Removed. + (kernel_img_RELOCATABLE): New variable. + (pkglib_PROGRAMS): Add kernel.img. + (kernel_img_SOURCES): New variable + (kernel_img_CFLAGS): Likewise. + (kernel_img_LDFLAGS): Likewise. + (TARGET_NO_STRIP): Likewise. + (TARGET_NO_DYNAMIC_MODULES): Likewise. + (pkglib_MODULES): Add progname.mod, hostfs.mod, host.mod, reboot.mod, + halt.mod, cpuid.mod, usb.mod, sdl.mod and pci.mod. + (grub-emu): New target. + (GRUB_EMU): New variable. + * configure.ac: Whitelist -emu as possible x86_64 architecture. + * efiemu/main.c: Replace GRUB_UTIL with GRUB_MACHINE_EMU. + * loader/xnu.c: Likewise. + * include/grub/pci.h: Likewise. + * genemuinit.sh: New file. + * genemuinitheader.sh: Likewise. + * genmk.rb: Don't strip if TARGET_NO_STRIP is yes. + Support TARGET_NO_DYNAMIC_MODULES. + * include/grub/dl.h (GRUB_NO_MODULES): New variable. + * commands/search.c: Fix GRUB_MOD_INIT and GRUB_MOD_FINI arguments. + * disk/loopback.c: Likewise. + * font/font_cmd.c: Likewise. + * partmap/acorn.c: Likewise. + * partmap/amiga.c: Likewise. + * partmap/apple.c: Likewise. + * partmap/gpt.c: Likewise. + * partmap/msdos.c: Likewise. + * partmap/sun.c: Likewise. + * parttool/msdospart.c: Likewise. + * term/gfxterm.c: Likewise. + * video/bitmap.c: Likewise. + * video/readers/jpeg.c: Likewise. + * video/readers/png.c: Likewise. + * video/readers/tga.c: Likewise. + * video/video.c: Likewise. + * util/grub-emu.c (read_command_list): Removed. + (main): Don't call util_init_nls. + * util/misc.c (grub_err_printf) [!GRUB_UTIL]: Removed. + (grub_util_init_nls) [!GRUB_UTIL]: Likewise. + +2010-03-14 Vladimir Serbinenko + + * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add datetime.mod, + date.mod, datehook.mod. + (datetime_mod_SOURCES): New variable. + (datetime_mod_CFLAGS): Likewise. + (datetime_mod_LDFLAGS): Likewise. + (date_mod_SOURCES): Likewise. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (datehook_mod_SOURCES): Likewise. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * lib/ieee1275/datetime.c: New file. + +2010-03-14 Vladimir Serbinenko + + * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add ieee1275_fb.mod. + (ieee1275_fb_mod_SOURCES): New variable. + (ieee1275_fb_mod_CFLAGS): Likewise. + (ieee1275_fb_mod_LDFLAGS): Likewise. + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_devices_iterate): + New proto. + * kern/ieee1275/init.c (HEAP_MAX_SIZE): Increased. + (HEAP_MAX_ADDR): Likewise. + * kern/ieee1275/openfw.c (grub_children_iterate): Don't skip empty + type. + Correct stop condition. + (grub_ieee1275_devices_iterate): New function. + * video/ieee1275.c: New file. + +2010-03-14 Vladimir Serbinenko + + Merge sparc grub-mkimage into generic grub-mkimage and a.out support. + + * boot/sparc64/ieee1275/boot.S (boot_continue): Use SCRATCH_PAD_BOOT + as scratch. + * boot/sparc64/ieee1275/diskboot.S (after_info_block): Use + SCRATCH_PAD_DISKBOOT as scratch. + (bootit): Pass Openfirmware pointer in %o4. + * conf/sparc64-ieee1275.rmk (kernel_img_LDFLAGS): Link at 0x4400 instead + of 0x200000. + (grub_mkimage_SOURCES): Replace util/sparc64/ieee1275/grub-mkimage.c + with util/grub-mkrawimage.c. + * configure.ac: Handle GRUB_MACHINE_SPARC64 and GRUB_MACHINE_MIPS. + * include/grub/aout.h (AOUT_MID_SUN): New definition. + (grub_aout_get_type) [GRUB_UTIL]: Removed. + (grub_aout_load) [GRUB_UTIL]: Likewise. + * include/grub/kernel.h (grub_modules_get_end): New proto. + * include/grub/sparc64/ieee1275/boot.h (SCRATCH_PAD): Removed. + (SCRATCH_PAD_BOOT): New definition. + (SCRATCH_PAD_DISKBOOT): Likewise. + (GRUB_BOOT_MACHINE_IMAGE_ADDRESS): Set to 0x4400. + * include/grub/sparc64/ieee1275/ieee1275.h + (grub_ieee1275_original_stack): New variable + * include/grub/sparc64/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): + New definition + (GRUB_KERNEL_MACHINE_STACK_SIZE): Likewise. + (GRUB_PLATFORM_IMAGE_FORMATS): Likewise. + (GRUB_PLATFORM_IMAGE_DEFAULT_FORMAT): Likewise. + (GRUB_PLATFORM_IMAGE_DEFAULT): Likewise. + (GRUB_PLATFORM_IMAGE_RAW): Likewise. + (GRUB_PLATFORM_IMAGE_AOUT): Likewise. + (grub_platform_image_format_t): New type. + * kern/mips/yeeloong/init.c (grub_modules_get_end): Move from here ... + * kern/main.c (grub_modules_get_end) + [GRUB_MACHINE_MIPS_YEELOONG || GRUB_MACHINE_SPARC64]: ... here. + * kern/sparc64/ieee1275/crt0.S: Store firmware entry point in %o0. + (codestart): Switch stacks. + * kern/sparc64/ieee1275/init.c (grub_ieee1275_original_stack): New + variable. + (grub_heap_init): Use grub_modules_get_end. + * loader/sparc64/ieee1275/linux.c (grub_linux_boot): Restore original + stack. + * util/grub-mkrawimage.c (generate_image): Support sparc64. + (main): Likewise. + * util/sparc64/ieee1275/grub-mkimage.c: Removed. + +2010-03-14 Thorsten Glaser + + * util/grub-mkrescue.in: Base ISO UUID on UTC. + +2010-03-08 Matt Kraai + + * util/i386/pc/grub-setup.c (setup): Fix a grammatical error (Debian + bug #559005). + +2010-03-07 Vladimir Serbinenko + + * genmoddep.awk: Output all missing symbols and not only first. + +2010-03-06 Vladimir Serbinenko + + * NEWS: Put the date of 1.98 release. + +2010-03-06 Vladimir Serbinenko + + * configure.ac: Update CPPFLAGS and not CFLAGS when checking for + ft2build.h. + +2010-03-06 Vladimir Serbinenko + + * normal/cmdline.c (grub_cmdline_get): Fix gabled line after + completition in the middle of string. + +2010-03-06 Vladimir Serbinenko + + * util/grub-mkrescue.in: Use mktemp with explicit template. + +2010-03-06 Vladimir Serbinenko + + * loader/i386/bsd.c (grub_bsd_get_device): Fix a memory leak. + +2010-03-06 Vladimir Serbinenko + + * loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Free the + right pointer. + +2010-03-05 Vladimir Serbinenko + + Fix FreeBSD compilation. + + * Makefile.in (TARGET_CPPFLAGS): Remove -nostdinc -isystem. + * configure.ac: Add -nostdinc -isystem to TARGET_CPPFLAGS if it works. + +2010-03-05 Vladimir Serbinenko + + * util/import_gcry.py: Add autogenerated files to MAINTAINER_CLEANFILES. + +2010-03-04 Vladimir Serbinenko + + * gettext/gettext.c (grub_gettext_init_ext): Fix a memory leak. + +2010-03-04 Vladimir Serbinenko + + * disk/scsi.c (grub_scsi_iterate): Fix a memory leak. + +2010-03-04 Robert Millan + + Support relative image path in theme file. + + * gfxmenu/gui_image.c (grub_gui_image): New member theme_dir. + (image_set_property): Handle theme_dir and relative path. + +2010-03-04 Vladimir Serbinenko + + * configure.ac: Alias amd64 to x86_64. + +2010-03-04 Vladimir Serbinenko + + * NEWS: mention multiboot on EFI. + +2010-03-04 Vladimir Serbinenko + + * kern/main.c (grub_load_modules): Handle errors from init functions of + embeded modules. + +2010-03-04 Vladimir Serbinenko + + * normal/autofs.c (autoload_fs_module): Handle errors. + +2010-03-04 Vladimir Serbinenko + + Disable linux.mod on qemu-mips since it's not functional and leads + to compilation failure. + + * conf/mips.rmk (pkglib_MODULES): Remove linux.mod. + * conf/mips-yeeloong.rmk (pkglib_MODULES): Add linux.mod. + * conf/mips.rmk (linux_mod_SOURCES): Move from here ... + * conf/mips-yeeloong.rmk (linux_mod_SOURCES): ... here + * conf/mips.rmk (linux_mod_CFLAGS): Move from here ... + * conf/mips-yeeloong.rmk (linux_mod_CFLAGS): ... here + * conf/mips.rmk (linux_mod_ASFLAGS): Move from here ... + * conf/mips-yeeloong.rmk (linux_mod_ASFLAGS): ... here + * conf/mips.rmk (linux_mod_LDFLAGS): Move from here ... + * conf/mips-yeeloong.rmk (linux_mod_LDFLAGS): ... here + Reported by: BVK Chaitanya + +2010-03-04 Jordan Uggla + + * INSTALL: Add gettext as a dependency and add qemu to a new section + "Prerequisites for make-check". + +2010-03-04 Christian Franke + + * util/grub-pe2elf.c: Add missing include "progname.h". + +2010-03-04 Vladimir Serbinenko + + * normal/crypto.c (read_crypto_list): Fix a typo. + Reported by: Seth Goldberg. + +2010-03-04 Vladimir Serbinenko + + * Makefile.in (DISTCLEANFILES): Add stamp-h1. + Reported by: Seth Goldberg. + +2010-03-04 Vladimir Serbinenko + + * Makefile.in (CLEANFILES) [FONT_SOURCE && grub_mkfont]: Add + ascii.bitmaps. + +2010-03-04 Vladimir Serbinenko + + * genmk.rb: Remove terminal*.lst in make clean. + Reported by: Seth Goldberg. + +2010-03-04 Vladimir Serbinenko + + * util/i386/efi/grub-install.in: Copy gettext files. + +2010-03-01 Vladimir Serbinenko + + * fs/ext2.c (grub_ext2_read_block): Fix an integer overflow. + +2010-03-01 Vladimir Serbinenko + + Wait for user entry basing on presence of output rather than on errors. + + * include/grub/normal.h (grub_normal_get_line_counter): New proto. + (grub_install_newline_hook): Likewise. + * normal/main.c (GRUB_MOD_INIT): Call grub_install_newline_hook. + * normal/menu.c (show_menu): Check line_counter to determine presence + of output. + * normal/term.c (grub_normal_line_counter): New variable. + (grub_normal_get_line_counter): New function. + (grub_install_newline_hook): Likewise. + +2010-03-01 Vladimir Serbinenko + + * commands/cat.c (grub_cmd_cat): Propagate grub_gzfile_open error. + +2010-03-01 Vladimir Serbinenko + + * configure.ac: Update version to 1.98. + +2010-02-26 Vladimir Serbinenko + + * util/grub.d/10_linux.in (linux_entry): Don't default to + gfxpayload=keep if Linux doesn't support video handover. + +2010-02-25 Vladimir Serbinenko + + Don't compile video modules on yeeloong since video subsystem is part + of kernel. + + * conf/common.rmk (pkglib_MODULES) [yeeloong]: Remove video.mod, + video_fb.mod, bitmap.mod, font.mod, gfxterm.mod and bufio.mod + * conf/mips-yeeloong.rmk (kernel_img_HEADERS): Add bitmap.h, + video.h, gfxterm.h, font.h, bitmap_scale.h and bufio.h. + * conf/mips.rmk (kernel_img_HEADERS): Add values instead of overwriting. + * include/grub/bitmap.h: Add EXPORT_FUNC and EXPORT_VAR. + * include/grub/bitmap_scale.h: Likewise. + * include/grub/bufio.h: Likewise. + * include/grub/font.h: Likewise. + * include/grub/gfxterm.h: Likewise. + * include/grub/video.h: Likewise. + * include/grub/vbe.h: Don't include video_fb.h. + * video/i386/pc/vbe.c: Include video_fb.h. + * commands/i386/pc/vbetest.c: Include video.h. + +2010-02-25 Jordan Uggla + + * util/grub-mkconfig.in (GRUB_SAVEDEFAULT): Export new variable. + * util/grub-mkconfig_lib.in (save_default_entry): Only save a new + default entry if GRUB_SAVEDEFAULT=true. This allows using + GRUB_DEFAULT=saved on its own to let grub-reboot work, without + saving a new default on every boot. + +2010-02-24 Vladimir Serbinenko + + * normal/crypto.c (read_crypto_list): Fix a memory leak. + * normal/term.c (read_terminal_list): Likewise. + * normal/main.c (grub_normal_init_page): Likewise. + (grub_normal_read_line_real): Likewise. + +2010-02-24 Vladimir Serbinenko + + * loader/i386/multiboot_mbi.c (grub_multiboot_set_bootdev): Fix a + memory leak. + Reported by: Seth Goldberg. + +2010-02-24 Joey Korkames + + * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Remove + duplicate declaration of `start'. + +2010-02-20 Vladimir Serbinenko + + * fs/iso9660.c (grub_iso9660_iterate_dir): Strip version from joliet + filename. + Reported by: Georgy Buranov + +2010-02-20 Carles Pina i Estany + + * util/grub-mkrawimage.c (usage): Change string formatting to + improve gettext. + +2010-02-20 Manoel Rebelo Abranches + + * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Add delete and + backspace keys. + +2010-02-20 Vladimir Serbinenko + + * video/fb/video_fb.c (grub_video_fb_scroll): Fix a pixel size bug. + Reported by: Michael Suchanek. + +2010-02-18 Samuel Thibault + + * util/grub-mkconfig.in: Export GRUB_INIT_TUNE. + * util/grub.d/00_header.in: Handle GRUB_INIT_TUNE. + +2010-02-16 Vladimir Serbinenko + + Remove any reference to non-free fonts. + + * commands/videotest.c (grub_cmd_videotest): Use unifont by default. + * docs/gfxmenu-theme-example.txt: Removed. It's both outdated and + uses non-free components. + * font/font.c (grub_font_get_name): Remove example name. + * gfxmenu/gui_label.c (grub_gui_label_new): Use unifont by default. + * gfxmenu/gui_list.c (grub_gui_list_new): Likewise. + * gfxmenu/gui_progress_bar.c (grub_gui_progress_bar_new): Likewise. + * gfxmenu/view.c (grub_gfxmenu_view_new): Likewise. + +2010-02-16 Georgy Buranov + + * disk/efi/efidisk.c (grub_efidisk_get_device_name): Fix a typo. + +2010-02-15 Vladimir Serbinenko + + * term/serial.c (serial_get_divisor) [GRUB_MACHINE_MIPS_YEELOONG]: + Double divisor. + (serial_hw_init) [GRUB_MACHINE_MIPS_YEELOONG]: Don't enable advanced + features. + (GRUB_MOD_INIT) [GRUB_MACHINE_MIPS_YEELOONG]: Default to 115200. + +2010-02-15 Vladimir Serbinenko + + * gensymlist.sh.in: Use TARGET_CC instead of CC. + +2010-02-14 Samuel Thibault + + * commands/i386/pc/play.c (GRUB_MOD_INIT(play)): Fix help. + * docs/grub.texi (Command-line and menu entry commands): Document play + command. + +2010-02-14 Samuel Thibault + + * commands/i386/pc/play.c (grub_cmd_play): If grub_file_open fails, + parse arguments as inline tempo and notes. Move code for playing notes + to... + (play): ... new function. + +2010-02-14 Samuel Thibault + + * commands/i386/pc/play.c (T_REST, T_FINE, struct note, beep_on): Use + grub_uint16_t instead of short. + (grub_cmd_play): Use grub_uint32_t instead of int, convert data from + disk from little endian to cpu endianness. + +2010-02-07 Samuel Thibault + + * commands/i386/pc/play.c (BASE_TEMPO): Set to 60 * + GRUB_TICKS_PER_SECOND instead of 120. + +2010-02-14 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Wait for possible + escape sequence after \e. + +2010-02-14 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_putchar): Don't output + non-ASCII characters. + +2010-02-14 Vladimir Serbinenko + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Enclose + set root in single quotes to prevent \, from being unescaped. + +2010-02-14 Vladimir Serbinenko + + Prevent unknown commands from stopping menuentry execution. + + * script/execute.c (grub_script_execute_cmdline): Print error after + unknown command. + +2010-02-14 Vladimir Serbinenko + + * fs/i386/pc/pxe.c (GRUB_MOD_INIT): Fix typo. + Reported by: Pavel Pisa. + +2010-02-13 Vladimir Serbinenko + + * io/gzio.c (grub_gzio_open): Use grub_zalloc. + +2010-02-13 Vladimir Serbinenko + + Merge grub_ieee1275_map_physical into grub_map and rename to + grub_ieee1275_map + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_map): New proto. + * include/grub/sparc64/ieee1275/ieee1275.h (grub_ieee1275_map_physical): + Remove. + * kern/ieee1275/openfw.c (grub_map): Rename to ... + (grub_ieee1275_map): ... this. All users updated. Add phys_lo when + necessary. + * kern/sparc64/ieee1275/ieee1275.c (grub_ieee1275_map_physical): Remove. + +2010-02-13 Vladimir Serbinenko + + * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Check device type before + opening and not after. + +2010-02-13 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Macroify + constants. + +2010-02-13 Vladimir Serbinenko + + * loader/sparc64/ieee1275/linux.c (align_addr): Remove. + (alloc_phys): Use ALIGN_UP instead of align_addr. + +2010-02-13 Vladimir Serbinenko + + * loader/sparc64/ieee1275/linux.c (alloc_phys): Correct bounds checking. + +2010-02-13 Vladimir Serbinenko + + * kern/sparc64/ieee1275/crt0.S (codestart): Move modules backwards. + +2010-02-13 Vladimir Serbinenko + + * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Remove excessively + verbose dprintf. + +2010-02-13 Vladimir Serbinenko + + Fix over-4GiB seek on sparc64. + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_seek): + Replace pos_i and pos_lo with pos. All users updated. + * include/grub/powerpc/ieee1275/ieee1275.h (GRUB_IEEE1275_CELL_SIZEOF): + New constant. + * include/grub/sparc64/ieee1275/ieee1275.h (GRUB_IEEE1275_CELL_SIZEOF): + Likewise. + * kern/ieee1275/ieee1275.c (grub_ieee1275_seek): Split pos into pos_hi + and pos_lo. + +2010-02-13 Vladimir Serbinenko + + * util/grub-mkrawimage.c (main): Call set_program_name. + +2010-02-13 Vladimir Serbinenko + + Properly align 64-bit targets. + + * util/grub-mkrawimage.c (ALIGN_ADDR): New macro. + (generate_image): Use ALIGN_ADDR. + +2010-02-13 Vladimir Serbinenko + + Properly create cross-endian images. + + * include/grub/types.h (grub_host_to_target_addr): New macro + * util/grub-mkrawimage.c (generate_image): Add missing host_to_target. + +2010-02-13 Vladimir Serbinenko + + * util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP. + +2010-02-10 Vladimir Serbinenko + + Pass SIMPLE framebuffer size in bytes and not 64K blocks. + + * loader/i386/efi/linux.c (grub_linux_setup_video): Don't divide by 64K. + * loader/i386/linux.c (grub_linux_setup_video): Likewise. + (grub_linux_boot): Divide by 64K when on VESA. + +2010-02-10 Vladimir Serbinenko + + Support GRUB_GFXPAYLOAD_LINUX. + + * util/grub-mkconfig.in: Export GRUB_GFXPAYLOAD_LINUX. + * util/grub.d/10_linux.in (linux_entry): Handle GRUB_GFXPAYLOAD_LINUX. + +2010-02-10 Vladimir Serbinenko + + * script/execute.c (grub_script_execute_cmdline): Use grub_print_error + to show messages instead of discarding them. + Process errors after executing command and not before. Keep old method + too as precaution. + +2010-02-09 Vladimir Serbinenko + + * configure.ac: Check for ft2build.h. + +2010-02-07 Vladimir Serbinenko + + * kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff". + +2010-02-07 Vladimir Serbinenko + + * genkernsyms.sh.in: Use TARGET_CC. + +2010-02-07 Colin Watson + + * NEWS: Update. + +2010-02-07 Vladimir Serbinenko + + * include/grub/multiboot2.h: Remove leftover file. + * include/grub/normal.h [GRUB_UTIL]: Remove leftover declarations. + * include/grub/partition.h [GRUB_UTIL]: Likewise. + +2010-02-07 Yves Blusseau + + * gnulib/getdelim.c: add missing header (type ssize_t must be defined). + +2010-02-07 Vladimir Serbinenko + + Fix warnings in grub-emu when compiling with maximum warning options. + + * util/grub-emu.c (ENABLE_RELOCATABLE): New definition. + (grub_arch_modules_addr): Return 0 and not NULL. + * util/misc.c (ENABLE_RELOCATABLE): New definition. + (xstrdup): Use newstr instead of dup. + * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Rename one instance + of disk to dsk to avoid shadowing. + (find_free_slot): Fix prototype. + * util/getroot.c (grub_util_is_dmraid): Make static. + * include/grub/time.h (grub_get_rtc) [GRUB_MACHINE_EMU || GRUB_UTIL]: + Add missing prototype. + * util/sdl.c (grub_video_sdl_set_viewport): Remove. + +2010-02-07 Vladimir Serbinenko + + * loader/i386/linux.c (grub_linux_setup_video): Handle error + appropriately. + +2010-02-07 Vladimir Serbinenko + + * fs/reiserfs.c (grub_reiserfs_read): Use #if 0 instead of commenting + code out. + +2010-02-07 Vladimir Serbinenko + + * include/grub/cache.h (grub_arch_sync_caches) [i386 || x86_64]: Inline. + * kern/i386/coreboot/init.c (grub_arch_sync_caches): Remove. + * kern/i386/efi/init.c (grub_arch_sync_caches): Likewise. + * kern/i386/ieee1275/init.c (grub_arch_sync_caches): Likewise. + * kern/i386/pc/init.c (grub_arch_sync_caches): Likewise. + * util/misc.c (grub_arch_sync_caches) [i386 || x86_64]: Likewise. + +2010-02-07 Vladimir Serbinenko + + * include/grub/err.h (grub_err_printf): Don't export. + +2010-02-07 Vladimir Serbinenko + + * include/grub/dl.h (grub_dl_register_symbol): Don't export. + +2010-02-07 Vladimir Serbinenko + + * include/grub/i18n.h (grub_gettext_dummy): Removed. + * kern/misc.c (grub_gettext_dummy): Make static. + +2010-02-06 Vladimir Serbinenko + + * kern/misc.c (grub_utf8_to_ucs4): Don't eat valid characters preceeded + by non-valid ones. + * kern/term.c (grub_putchar): Likewise. + +2010-02-06 Vladimir Serbinenko + + * partmap/sun.c (sun_partition_map_iterate): Restructure flow to fix + buggy hook call and memory leak. + +2010-02-06 Vladimir Serbinenko + + * commands/ls.c (grub_ls_list_files): Free pathname on exit. + +2010-02-06 Vladimir Serbinenko + + * fs/fat.c (grub_fat_iterate_dir): Free unibuf at exit. + +2010-02-06 Vladimir Serbinenko + + * loader/i386/pc/xnu.c (grub_xnu_set_video): Add const qualifier to + modevar. + Return grub_errno on allocation error. + +2010-02-06 Vladimir Serbinenko + + * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Correct error handling. + +2010-02-06 Yves Blusseau + + * conf/common.rmk (grub_script_check_SOURCES): add missing dependencies. + (grub_mkpasswd_pbkdf2_SOURCES): Likewise. + +2010-02-06 Vladimir Serbinenko + + * fs/i386/pc/pxe.c (grub_pxefs_dir): Return with failure on + non-pxe disk. + (grub_pxefs_open): Likewise. + +2010-02-06 Robert Millan + + * util/grub.d/10_hurd.in: Add --class information to menuentries. + * util/grub.d/10_kfreebsd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + +2010-02-06 Colin D Bennett + + * conf/common.rmk (pkglib_MODULES): Add gfxmenu.mod. + (gfxmenu_mod_SOURCES): New variable. + (gfxmenu_mod_CFLAGS): Likewise. + (gfxmenu_mod_LDFLAGS): Likewise. + * include/grub/term.h (grub_term_set_current_output): Declare + argument as const. + * docs/gfxmenu-theme-example.txt: New file. + * gfxmenu/gfxmenu.c: Likewise. + * gfxmenu/gui_box.c: Likewise. + * gfxmenu/gui_canvas.c: Likewise. + * gfxmenu/gui_circular_progress.c: Likewise. + * gfxmenu/gui_image.c: Likewise. + * gfxmenu/gui_label.c: Likewise. + * gfxmenu/gui_list.c: Likewise. + * gfxmenu/gui_progress_bar.c: Likewise. + * gfxmenu/gui_string_util.c: Likewise. + * gfxmenu/gui_util.c: Likewise. + * gfxmenu/icon_manager.c: Likewise. + * gfxmenu/model.c: Likewise. + * gfxmenu/named_colors.c: Likewise. + * gfxmenu/theme_loader.c: Likewise. + * gfxmenu/view.c: Likewise. + * gfxmenu/widget-box.c: Likewise. + * include/grub/gfxmenu_model.h: Likewise. + * include/grub/gfxmenu_view.h: Likewise. + * include/grub/gfxwidgets.h: Likewise. + * include/grub/gui.h: Likewise. + * include/grub/gui_string_util.h: Likewise. + * include/grub/icon_manager.h: Likewise. + +2010-02-06 Vladimir Serbinenko + + Agglomerate scrolling in gfxterm. + + * term/gfxterm.c (grub_virtual_screen): New member 'total_screen'. + (grub_virtual_screen_setup): Initialise 'total_screen'. + (write_char): Split to ... + (paint_char): ... this ... + (write_char): ... and this. + (paint_char): Handle delayed scrolling. + (draw_cursor): Likewise. + (scroll_up): Split to ... + (real_scroll): ... this ... + (scroll_up): ... and this. + (real_scroll): Handle multi-line scroll and draw below-the-bottom + characters. + (grub_gfxterm_refresh): Call real_scroll. + +2010-02-06 Colin D Bennett + + * include/grub/misc.h (grub_iscntrl): New inline function. + (grub_isalnum): Likewise. + (grub_strtol): Likewise. + +2010-02-06 Colin D Bennett + + * normal/menu_text.c (get_entry_number): Move from here ... + * normal/menu.c (get_entry_number): ... moved here. + * include/grub/menu.h (grub_menu_get_default_entry_index): + New prototype. + * normal/menu.c (grub_menu_get_default_entry_index): New function. + * normal/menu_text.c (run_menu): Use grub_menu_get_default_entry_index. + * include/grub/menu_viewer.h (grub_menu_viewer_init): New prototype. + (grub_menu_viewer_should_return): Likewise. + * normal/main.c (GRUB_MOD_INIT (normal)): Call grub_menu_viewer_init. + * normal/menu_text.c (run_menu): Enable menu switching. + * normal/menu_viewer.c (should_return): New variable. + (menu_viewer_changed): Likewise. + (grub_menu_viewer_show_menu): Handle menu viewer changes. + (grub_menu_viewer_should_return): New function. + (menuviewer_write_hook): Likewise. + (grub_menu_viewer_init): Likewise. + +2010-02-06 Colin D Bennet +2010-02-06 Vladimir Serbinenko + + Support for gfxterm in a window. + + * include/grub/gfxterm.h: New file. + * include/grub/video.h (struct grub_video_rect): New declaration. + (grub_video_rect_t): Likewise. + * term/gfxterm.c (struct grub_gfxterm_window): New type. + (refcount): New variable. + (render_target): Likewise. + (window): Likewise. + (repaint_callback): Likewise. + (grub_virtual_screen_setup): Use 'render_target'. + (init_window): New function. + (grub_gfxterm_init_window): Likewise. + (grub_gfxterm_init): Check reference counter. + Use init_window. + (destroy_window): New function. + (grub_gfxterm_destroy_window): Likewise. + (grub_gfxterm_fini): Check reference counter. + Use destroy_window. + (redraw_screen_rect): Restore viewport. + Use 'render_target' and 'window'. + Call 'repaint_callback'. + (write_char): Use 'render_target'. + (draw_cursor): Likewise. + (scroll_up): Restore viewport. + Use 'render_target' and 'window'. + Call 'repaint_callback'. + (grub_gfxterm_cls): Likewise. + (grub_gfxterm_refresh): Use 'window'. + (grub_gfxterm_set_repaint_callback): New function. + (grub_gfxterm_background_image_cmd): Use 'window'. + (grub_gfxterm_get_term): New function. + (GRUB_MOD_INIT(term_gfxterm)): Set 'refcount' to 0. + +2010-02-06 Colin D Bennett + + Bitmap scaling support. + + * conf/common.rmk (pkglib_MODULES): Add bitmap_scale.mod. + (bitmap_scale_mod_SOURCES): New variable. + (bitmap_scale_mod_CFLAGS): Likewise. + (bitmap_scale_mod_LDFLAGS): Likewise. + * include/grub/bitmap_scale.h: New file. + * term/gfxterm.c (BACKGROUND_CMD_ARGINDEX_MODE): New definiton. + (background_image_cmd_options): New variable. + (grub_gfxterm_background_image_cmd): Support bitmap stretching. + (cmd): Rename and change type to ... + (background_image_cmd_handle): ... this. All users updated. + (GRUB_MOD_INIT(term_gfxterm)): Make background_image extended command. + * video/bitmap_scale.c: New file. + +2010-02-06 Vladimir Serbinenko + + SDL support. + + * Makefile.in (LIBSDL): New variable. + (enable_grub_emu_sdl): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Add video files. + (grub_emu_SOURCES) [enable_grub_emu_sdl]: Add util/sdl.c. + (grub_emu_LDFLAGS) [enable_grub_emu_sdl]: Add $(LIBSDL). + * configure.ac: Detect SDL availability and add --enable-grub-emu-sdl + * util/sdl.c: New file. + +2010-02-06 Colin D Bennett +2010-02-06 Vladimir Serbinenko + + Double buffering support. + + * commands/i386/pc/videotest.c (grub_cmd_videotest): Swap doublebuffers. + * include/grub/video.h: Update comment. + * include/grub/video_fb.h (grub_video_fb_doublebuf_update_screen_t): + New type. + (grub_video_fb_doublebuf_blit_init): New prototype. + * term/gfxterm.c (scroll_up): Support double buffering. + (grub_gfxterm_refresh): Likewise. + * video/fb/video_fb.c (doublebuf_blit_update_screen): New function. + (grub_video_fb_doublebuf_blit_init): Likewise. + * video/i386/pc/vbe.c (framebuffer): Remove 'render_target'. Add + 'front_target', 'back_target', 'offscreen_buffer', 'page_size', + 'displayed_page', 'render_page' and 'update_screen'. + (grub_video_vbe_fini): Free offscreen buffer. + (doublebuf_pageflipping_commit): New function. + (doublebuf_pageflipping_update_screen): Likewise. + (doublebuf_pageflipping_init): Likewise. + (double_buffering_init): Likewise. + (grub_video_vbe_setup): Enable doublebuffering. + (grub_video_vbe_swap_buffers): Implement. + (grub_video_vbe_set_active_render_target): Handle double buffering. + (grub_video_vbe_get_active_render_target): Likewise. + (grub_video_vbe_get_info_and_fini): Likewise. Free offscreen_buffer. + (grub_video_vbe_adapter): Use grub_video_vbe_get_active_render_target. + (grub_video_vbe_enable_double_buffering): Likewise. + (grub_video_vbe_swap_buffers): Use update_screen. + (grub_video_set_mode): Use double buffering. + +2010-02-06 Robert Millan + + * maintainance/gentrigtables.py: Remove. + * lib/trig.c: Likewise. + + * gentrigtables.c: New file. C rewrite of gentrigtables.py. + + * conf/common.rmk (trig_mod_SOURCES): Replace `lib/trig.c' with + `trigtables.c'. + (trigtables.c): New rule. + (gentrigtables): Likewise. + (DISTCLEANFILES): Add `trigtables.c' and `gentrigtables'. + +2010-02-06 Robert Millan + + * maintainance/gentrigtables.py: Avoid duplicate hardcoding of + integer constants. + +2010-02-06 Colin D Bennet + + Trigonometry support. + + * include/grub/trig.h: New file. + * lib/trig.c: Likewise. + * maintainance/gentrigtables.py: Likewise. + * conf/common.rmk (pkglib_MODULES): Add trig.mod. + (trig_mod_SOURCES): New variable. + (trig_mod_CFLAGS): Likewise. + (trig_mod_LDFLAGS): Likewise. + +2010-02-06 Vladimir Serbinenko + + * kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Support whole + disk devices. + +2010-02-06 Vladimir Serbinenko + + * kern/ieee1275/openfw.c (grub_devalias_iterate): Stop iterating on + error. + +2010-02-03 Vladimir Serbinenko + + * util/hostdisk.c (open_device): Don't use partition device when reading + before the partition. + (grub_util_biosdisk_read): Don't read from partition and before the + partition in single operation. + (grub_util_biosdisk_write): Don't write to partition and before the + partition in single operation. + +2010-02-03 Torsten Landschoff + + * kern/disk.c (grub_disk_read): Fix offset computation when reading + last sectors. + +2010-02-03 Vladimir Serbinenko + + * disk/i386/pc/biosdisk.c (grub_biosdisk_read): Handle non-2048 aligned + CDROM reads. + (grub_biosdisk_write): Refuse to write to CDROM. + +2010-01-31 Vladimir Serbinenko + + * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error. + +2010-01-31 Vladimir Serbinenko + + * font/font.c (find_glyph): Check that bmp_idx is available before + using it. + (grub_font_get_string_width): Never call grub_font_get_glyph_internal + with (font == NULL). + +2010-01-28 Christian Schmitt + + * util/ieee1275/grub-install.in: Fix nvsetenv arguments. + +2010-01-28 BVK Chaitanya + + * include/grub/script_sh.h (sourcecode): Add const qualifier. + * util/grub-script-check.c (getline): Fix empty lines case. + +2010-01-28 Robert Millan + + * Makefile.in (check): Exit with fail status when one of the tests + fails. + * tests/example_functional_test.c (example_test): Fix reversed assert. + * tests/example_unit_test.c (example_test): Likewise. + +2010-01-28 Colin Watson + + * util/grub.d/10_linux.in: This script does not use any of the + contents of gettext.sh, only the external command `gettext', so stop + sourcing it. (Moreover, gettext.sh isn't necessarily installed in + the same prefix as GRUB.) + * util/grub.d/10_kfreebsd.in: Likewise. + +2010-01-27 Vladimir Serbinenko + + * normal/cmdline.c (grub_cmdline_get): Fix completion in the middle + of the line. + +2010-01-27 Vladimir Serbinenko + + * kern/disk.c (grub_disk_read): Fix offset computation when reading + last sectors. + +2010-01-27 Vladimir Serbinenko + + * commands/hashsum.c (hash_file): Avoid possible stack overflow by + having a 4KiB and not 32KiB buffer size. + +2010-01-27 Robert Millan + + * util/hostfs.c: Include `'. + (grub_hostfs_read): Handle errors from fseeko() and fread(). + +2010-01-27 Robert Millan + + * kern/disk.c (grub_disk_read): Fix bug that would cause infinite + loop when using read hooks on files whose size isn't sector-aligned. + +2010-01-27 Robert Millan + + Remove unused parameter. + + * fs/iso9660.c (struct grub_iso9660_data): Remove `length' parameter. + (grub_iso9660_open): Remove initialization of `data->length'. + +2010-01-27 Robert Millan + + * util/grub-fstest.c (fstest): Rewrite allocation, fixing a few + memleak conditions. + +2010-01-27 Carles Pina i Estany + + * util/lvm.c: New macro LVM_DEV_MAPPER_STRING. + (grub_util_lvm_isvolume): Use LVM_DEV_MAPPER_STRING. + +2010-01-26 Carles Pina i Estany + + * util/bin2h.c (usage): Fix warning (space after backslash). + +2010-01-26 Carles Pina i Estany + + * font/font.c: Include `grub/fontformat.h. + Remove font file format constants. + (grub_font_load): Use the new macros. + * include/grub/fontformat.h: New file. + * util/grub-mkfont.c: Include `grub/fontformat.c'. + (write_font_pf2): Use the new macros. + +2010-01-26 Robert Millan + + * util/bin2h.c (usage): Make --help actually explain what `grub-bin2h' + does. + +2010-01-26 Robert Millan + + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_PXE_DL): New macro. + + * boot/i386/pc/pxeboot.S: Include `'. + (_start): Macroify `0x7F'. + + * kern/i386/pc/init.c: Include `'. + (make_install_device): Use "(pxe)" as fallback prefix when booting + via PXE. + +2010-01-26 Vladimir Serbinenko + + * configure.ac: Reset LIBS after check for libgcc symbols. + +2010-01-25 Colin Watson + + * util/hostdisk.c (open_device): Add trailing newline to debug + message. + +2010-01-25 Grégoire Sutre + + * configure.ac: Check for `limits.h'. + * util/misc.c: Include `' (for PATH_MAX). + +2010-01-24 Robert Millan + + * loader/mips/linux.c (grub_cmd_linux, grub_cmd_initrd): Don't + capitalize error strings. + +2010-01-24 Samuel Thibault + + * util/grub.d/10_hurd.in: Add a recovery mode. + +2010-01-23 Vladimir Serbinenko + + * configure.ac: Check for libgcc symbols with -nostdlib. + +2010-01-23 BVK Chaitanya + + * acinclude.m4: Quote underquoted AC_DEFUN parameters. + +2010-01-22 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_setcolorstate): Allocate on + stack since heap may be unavailable at that point. + (grub_ofconsole_gotoxy): Likewise. + +2010-01-22 Vladimir Serbinenko + + * configure.ac: Check for _restgpr_14_x. + * include/grub/powerpc/libgcc.h [HAVE__RESTGPR_14_X]: Add _restgpr_*_x + and _savegpr_* prototypes. + +2010-01-22 Robert Millan + + Use generic grub_reboot() for i386-efi. + + * kern/efi/efi.c [__i386__] (grub_reboot): Remove. + * kern/i386/efi/startup.S: Include `"../realmode.S"'. + * kern/i386/realmode.S: Include `'. + +2010-01-22 Vladimir Serbinenko + + * kern/ieee1275/init.c (grub_machine_set_prefix): Don't check for + presence of "prefix" variable as it breaks when normal.mod is + embedded. + +2010-01-21 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_dimensions): Allocate on + stack since heap is unavailable at that point. + +2010-01-21 Vladimir Serbinenko + + * include/grub/i386/bsd.h (FREEBSD_N_BIOS_GEOM): Removed. + (grub_freebsd_bootinfo): Rewritten. + * loader/i386/bsd.c (grub_freebsd_boot): Use new grub_freebsd_bootinfo. + +2010-01-21 Vladimir Serbinenko + + * util/misc.c (make_system_path_relative_to_its_root): Fix typo. + +2010-01-21 Robert Millan + + * po/POTFILES: Remove mkisofs-related files. They have their own TLP + domain now. + +2010-01-20 Felix Zielcke + + * util/misc.c (make_system_path_relative_to_its_root): Change the work + around for handling "/" to the correct fix. Fix a memory leak. Use + xstrdup instead of strdup. + +2010-01-20 Vladimir Serbinenko + + * conf/mips.rmk (kernel_img_HEADERS): Add env_private.h + +2010-01-20 Vladimir Serbinenko + + Optimise glyph lookup by Basic Multilingual Plane lookup array. + + * font/font.c (struct grub_font): New member 'bmp_idx'. + (font_init): Initialise 'bmp_idx'. + (load_font_index): Fill 'bmp_idx'. + (find_glyph): Make inline. Use bmp_idx for BMP characters. + +2010-01-20 Vladimir Serbinenko + + * video/fb/video_fb.c (grub_video_fb_scroll): Optimise by avoiding + unnecessary calls. + +2010-01-20 Vladimir Serbinenko + + Move context handling out of the kernel. + + * conf/any-emu.rmk (grub_emu_SOURCES): Add normal/context.c. + * conf/common.rmk (normal_mod_SOURCES): Add normal/context.c. + * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add env_private.h. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * include/grub/env.h: Include grub/menu.h. + (grub_env_var_type): Removed. + (grub_env_var): Replaced field 'type' with 'global'. + (grub_env_find): New prototype. + (grub_env_context_open): Remove EXPORT_FUNC. + (grub_env_context_close): Likewise. + (grub_env_export): Likewise. + (grub_env_set_data_slot): Removed. + (grub_env_get_data_slot): Likewise. + (grub_env_unset_data_slot): Likewise. + (grub_env_unset_menu): New prototype. + (grub_env_set_menu): Likewise. + (grub_env_get_menu): Likewise. + * include/grub/env_private.h: New file. + * include/grub/normal.h (grub_context_init): New prototype. + (grub_context_fini): Likewise. + * kern/corecmd.c (grub_core_cmd_export): Moved from here ... + * normal/context.c (grub_cmd_export): ... to here. + * kern/env.c: Include env_private.h. + (HASHSZ): Moved to include/grub/env_private.h. + (grub_env_context): Likewise. + (grub_env_sorted_var): Likewise. + (current_context): Renamed from this ... + (grub_current_context): ...to this. 'static' removed. All users updated. + (grub_env_find): Removed 'static'. + (grub_env_context_open): Moved to normal/context.c. + (grub_env_context_close): Likewise. + (grub_env_export): Likewise. + (mangle_data_slot_name): Removed. + (grub_env_set_data_slot): Likewise. + (grub_env_get_data_slot): Likewise. + (grub_env_unset_data_slot): Likewise. + * kern/main.c (grub_set_root_dev): Don't export root. + It will be done later. + (grub_main): Don't export prefix. + It will be done later. + * normal/context.c: New file. + * normal/main.c (free_menu): Use grub_env_unset_menu. + (grub_normal_add_menu_entry): Use grub_env_get_menu. + (read_config_file): Use grub_env_get_menu and grub_env_set_menu. + (GRUB_MOD_INIT(normal)): Call grub_context_init. + (GRUB_MOD_FINI(normal)): Call grub_context_fini. + +2010-01-20 Vladimir Serbinenko + + setpci support. + + * commands/setpci.c: New file. + * conf/i386.rmk (pkglib_MODULES): Add setpci.mod. + (setpci_mod_SOURCES): New variable. + (setpci_mod_CFLAGS): Likewise. + (setpci_mod_LDFLAGS): Likewise. + +2010-01-20 Vladimir Serbinenko + + Byte-addressable PCI configuration space. + + * bus/pci.c (grub_pci_make_address): Use byte address instead of + dword address. + (grub_pci_iterate): Use macroses GRUB_PCI_REG_PCI_ID and + GRUB_PCI_REG_CACHELINE. + * bus/usb/ohci.c (grub_ohci_pci_iter): Use macroses + GRUB_PCI_REG_CLASS and GRUB_PCI_REG_ADDRESS_REG0. + * bus/usb/uhci.c (grub_ohci_pci_iter): Use macroses + GRUB_PCI_REG_CLASS and GRUB_PCI_REG_ADDRESS_REG4. + * commands/efi/fixvideo.c (scan_card): Use macros GRUB_PCI_REG_CLASS. + * commands/efi/loadbios.c (enable_rom_area): Pass byte-address to + grub_pci_make_address. + (lock_rom_area): Likewise. + * commands/lspci.c (grub_lspci_iter): Use macroses + GRUB_PCI_REG_CLASS and GRUB_PCI_REG_ADDRESSES. Handle byte-addressing + of grub_pci_make_address. + * disk/ata.c (grub_ata_pciinit): Likewise. + * include/grub/pci.h (GRUB_PCI_REG_PCI_ID): New macro. + (GRUB_PCI_REG_VENDOR): Likewise. + (GRUB_PCI_REG_DEVICE): Likewise. + (GRUB_PCI_REG_COMMAND): Likewise. + (GRUB_PCI_REG_STATUS): Likewise. + (GRUB_PCI_REG_REVISION): Likewise. + (GRUB_PCI_REG_CLASS): Likewise. + (GRUB_PCI_REG_CACHELINE): Likewise. + (GRUB_PCI_REG_LAT_TIMER): Likewise. + (GRUB_PCI_REG_HEADER_TYPE): Likewise. + (GRUB_PCI_REG_BIST): Likewise. + (GRUB_PCI_REG_ADDRESSES): Likewise. + (GRUB_PCI_REG_ADDRESS_REG): Likewise. + (GRUB_PCI_REG_ADDRESS_REG): Likewise. + (GRUB_PCI_REG_ADDRESS_REG): Likewise. + (GRUB_PCI_REG_ADDRESS_REG): Likewise. + (GRUB_PCI_REG_ADDRESS_REG): Likewise. + (GRUB_PCI_REG_ADDRESS_REG): Likewise. + (GRUB_PCI_REG_CIS_POINTER): Likewise. + (GRUB_PCI_REG_SUBVENDOR): Likewise. + (GRUB_PCI_REG_SUBSYSTEM): Likewise. + (GRUB_PCI_REG_ROM_ADDRESS): Likewise. + (GRUB_PCI_REG_CAP_POINTER): Likewise. + (GRUB_PCI_REG_IRQ_LINE): Likewise. + (GRUB_PCI_REG_IRQ_PIN): Likewise. + (GRUB_PCI_REG_MIN_GNT): Likewise. + (GRUB_PCI_REG_MAX_LAT): Likewise. + * loader/i386/efi/linux.c (find_framebuf): Use GRUB_PCI_REG_CLASS. + * loader/i386/efi/xnu.c (find_framebuf): Likewise. + * video/efi_uga.c (find_framebuf): Likewise. + * video/sm712.c (grub_video_sm712_setup): Likewise. + * util/pci.c (grub_pci_make_address): Use byte-addressed configuration + space. + +2010-01-20 Robert Millan + + * util/grub.d/10_linux.in (linux_entry): Set gfxpayload=keep when it + can be reliably determined to be supported. + +2010-01-20 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): If `vga=' was used, write down + that VESA is supported. + (grub_linux_boot): Use generic framebuffer unless VESA is known to be + supported. + +2010-01-20 Vladimir Serbinenko + + * conf/common.rmk (font/font.c_DEPENDENCIES): Condition on FONT_SOURCE. + +2010-01-20 Robert Millan + + * util/misc.c (make_system_path_relative_to_its_root): Work around + special-casing of "/", as previous incarnation of this routine did. + +2010-01-20 Vladimir Serbinenko + + Fix any-emu compilation. + + * conf/any-emu.rmk (bin_UTILITIES): Add grub-bin2h. + * grub_bin2h_SOURCES: New variable. + +2010-01-20 Robert Millan + + * util/grub.d/00_header.in: Fix stupid mistake from last commit. + +2010-01-20 Robert Millan + + * util/grub.d/00_header.in: Fix handling of locale_dir. + +2010-01-20 Vladimir Serbinenko + + * configure.ac: Add /usr/share/fonts/unifont/unifont.pcf.gz + as possible unifont location (Gentoo). + Reported by: Alexander Brüning + +2010-01-20 Vladimir Serbinenko + + Don't try to generate lists for kernel.img. + + * conf/i386-efi.rmk (pkglib_PROGRAMS): New variable. + (pkglib_MODULES): Remove kernel.img. + (kernel_img_EXPORTS): Removed. + (kernel_img_RELOCATABLE): New variable. + * conf/x86_64-efi.rmk: Likewise. + * genmk.rb: Remove *_EXPORTS support and add *_RELOCATABLE support. + +2010-01-20 Vladimir Serbinenko + + * include/grub/misc.h (grub_sprintf): Removed. All users switched to + grub_xasprintf or grub_snprintf. + (grub_vsprintf): Likewise. + (grub_snprintf): New proto. + (grub_vsnprintf): Likewise. + (grub_xasprintf): Likewise. + (grub_xvasprintf): Likewise. + * kern/misc.c (grub_vprintf): Use grub_vsnprintf_real. + (grub_sprintf): Removed. + (grub_vsnprintf): New function. + (grub_snprintf): Likewise. + (grub_xvasprintf): Likewise. + (grub_xasprintf): Likewise. + (grub_vsprintf): Renamed to ... + (grub_vsnprintf_real): ...this. New argument max_len. + +2010-01-20 BVK Chaitanya + + * include/grub/script_sh.h (sourcecode): Remove const qualifier to + fix grub-script-check warning. + +2010-01-20 Vladimir Serbinenko + + * include/grub/font.h (grub_font_load): Fix prototype. + +2010-01-20 Vladimir Serbinenko + + * conf/mips.rmk (kernel_img_HEADERS) [yeeloong]: Add pci.h. + +2010-01-20 Vladimir Serbinenko + + * include/grub/x86_64/at_keyboard.h: New file. + +2010-01-20 Vladimir Serbinenko + + * loader/mips/linux.c: Include missing grub/i18n.h. + +2009-12-20 Robert Millan + + * normal/menu.c (notify_execution_failure): Clarify error message. + +2009-12-20 Robert Millan + + * commands/loadenv.c (check_blocklists): Use `grub_err_t' as + return value (and revert all return statements). Update users. + +2010-01-20 Dan Merillat + + * kern/device.c (grub_device_iterate): Allocate new part_ent + structure based on sizeof (*p) rather than sizeof (p->next), to + account for structure padding. + + * util/grub-probe.c (probe_raid_level): Return -1 immediately if + disk is NULL, which might happen for LVM physical volumes with no + LVM signature. + +2009-12-20 Robert Millan + + * loader/mips/linux.c (grub_cmd_initrd) + (GRUB_MOD_INIT(linux)): Adjust and gettextize a few strings. + +2009-12-20 Robert Millan + + * kern/mips/yeeloong/init.c (grub_video_sm712_init) + (grub_video_video_init, grub_video_bitmap_init) + (grub_font_manager_init, grub_term_gfxterm_init) + (grub_at_keyboard_init): New extern declarations. + (grub_machine_init): Initialize gfxterm and at_keyboard. + + * kern/main.c (grub_main): Revert grub_printf delay kludge. + + * util/grub-install.in: Revert embed of `at_keyboard.mod' and + `gfxterm.mod' into core image. + + * conf/mips.rmk (pkglib_IMAGES, kernel_img_SOURCES) + (kernel_img_CFLAGS, kernel_img_ASFLAGS, kernel_img_LDFLAGS) + (kernel_img_FORMAT): Copy to ... + + * conf/mips-qemu-mips.rmk (pkglib_IMAGES, kernel_img_SOURCES) + (kernel_img_CFLAGS, kernel_img_ASFLAGS, kernel_img_LDFLAGS) + (kernel_img_FORMAT): ... here, and ... + + * conf/mips-yeeloong.rmk (pkglib_IMAGES, kernel_img_SOURCES) + (kernel_img_CFLAGS, kernel_img_ASFLAGS, kernel_img_LDFLAGS) + (kernel_img_FORMAT): ... here. + + (kernel_img_SOURCES): Add files necessary for output (gfxterm) + and input (at_keyboard) terminals in kernel. + (kernel_img_CFLAGS): Add `-DUSE_ASCII_FAILBACK'. + + (pkglib_MODULES): Remove `pci.mod'. + (pci_mod_SOURCES, pci_mod_CFLAGS, pci_mod_LDFLAGS) + (sm712_mod_SOURCES, sm712_mod_CFLAGS, sm712_mod_LDFLAGS) + (at_keyboard_mod_SOURCES, at_keyboard_mod_CFLAGS) + (at_keyboard_mod_LDFLAGS): Remove variables. + +2010-01-11 Felix Zielcke + + * po/POTFILES: Replace `term/i386/pc/serial.c' with `term/serial.c'. + +2009-12-10 Robert Millan + + * include/grub/mips/libgcc.h: Only export symbols for functions + that libgcc provides. + +2009-12-02 Vladimir Serbinenko + + MIPS support. + + * bus/bonito.c: New file. + * bus/pci.c (grub_pci_iterate): Use GRUB_PCI_NUM_BUS and + GRUB_PCI_NUM_DEVICES. + * term/i386/pc/serial.c: Move to ... + * term/serial.c: ... here. All users updated. + * util/i386/pc/grub-mkimage.c: Move to ... + * util/grub-mkrawimage.c: ... here. All users updated. + * term/i386/pc/at_keyboard.c: Move to ... + * term/at_keyboard.c: ... here. All users updated. + * conf/mips-qemu-mips.rmk: New file. + * conf/mips-yeeloong.rmk: Likewise. + * conf/mips.rmk: Likewise. + * configure.ac: New platforms mipsel-yeeloong, mips-qemu-mips and + mipsel-qemu-mips. + * disk/ata.c (grub_ata_device_initialize): Add GRUB_MACHINE_PCI_IO_BASE + to port addresses. + (grub_ata_pciinit): Support CS5536. + * font/font.c (grub_font_load): Use grub_file_t instead of filename. + * font/font_cmd.c (loadfont_command): Open file before passing it to + grub_font_load. + (pseudo_file_read): New function. + (pseudo_file_close): Likewise. + (pseudo_fs): New structure. + (load_font_module): New function. + (GRUB_MOD_INIT(font_manager)): Load embedded font. + * fs/cpio.c (grub_cpio_open): Handle partial matches correctly. + * genmk.rb: Strip .rel.dyn, .reginfo, .note and .comment. + * genmoddep.awk: Ignore __gnu_local_gp. It's defined by linker. + * include/grub/i386/at_keyboard.h: Split into ... + * include/grub/at_keyboard.h: ... this ... + * include/grub/i386/at_keyboard.h: ... and this. + * include/grub/dl.h (grub_arch_dl_init_linker) [_mips && !GRUB_UTIL]: + New prototype. + * include/grub/elfload.h (grub_elf32_size): New parameter. All users + updated. + (grub_elf64_size): Likewise. + * include/grub/font.h (grub_font_load): Use grub_file_t instead of + filename. + * include/grub/i386/io.h (grub_port_t): New type. All users updated. + * include/grub/i386/coreboot/serial.h: Rewritten. + * include/grub/i386/ieee1275/serial.h: Include + grub/i386/coreboot/serial.h instead of grub/i386/pc/serial.h. + * include/grub/i386/pc/serial.h: Moved from here ... + * include/grub/serial.h: ... to here. All users updated. + * include/grub/i386/pci.h (GRUB_MACHINE_PCI_IO_BASE): New definition. + (GRUB_PCI_NUM_BUS): Likewise. + (GRUB_PCI_NUM_DEVICES): Likewise. + (grub_pci_device_map_range): Add missing volatile keyword. + * include/grub/kernel.h (OBJ_TYPE_FONT): New enum value. + * include/grub/mips/at_keyboard.h: New file. + * include/grub/mips/cache.h: Likewise. + * include/grub/mips/io.h: Likewise. + * include/grub/mips/kernel.h: Likewise. + * include/grub/mips/libgcc.h: Likewise. + * include/grub/mips/pci.h: Likewise. + * include/grub/mips/qemu-mips/boot.h: Likewise. + * include/grub/mips/qemu-mips/kernel.h: Likewise. + * include/grub/mips/qemu-mips/loader.h: Likewise. + * include/grub/mips/qemu-mips/memory.h: Likewise. + * include/grub/mips/qemu-mips/serial.h: Likewise. + * include/grub/mips/qemu-mips/time.h: Likewise. + * include/grub/mips/relocator.h: Likewise. + * include/grub/mips/time.h: Likewise. + * include/grub/mips/types.h: Likewise. + * include/grub/mips/yeeloong/at_keyboard.h: Likewise. + * include/grub/mips/yeeloong/boot.h: Likewise. + * include/grub/mips/yeeloong/kernel.h: Likewise. + * include/grub/mips/yeeloong/loader.h: Likewise. + * include/grub/mips/yeeloong/memory.h: Likewise. + * include/grub/mips/yeeloong/pci.h: Likewise. + * include/grub/mips/yeeloong/serial.h: Likewise. + * include/grub/mips/yeeloong/time.h: Likewise. + * kern/dl.c (grub_dl_resolve_symbols): Handle STT_OBJECT correctly. + * kern/elf.c (grub_elf32_size): New parameter. All users + updated. + (grub_elf64_size): Likewise. + * kern/main.c (grub_main): Call grub_arch_dl_init_linker if necessary. + Load modules before saying "Welcome to GRUB!". + Call grub_refresh after saying "Welcome to GRUB!". + * kern/mips/cache.S: New file. + * kern/mips/cache_flush.S: Likewise. + * kern/mips/dl.c: Likewise. + * kern/mips/init.c: Likewise. + * kern/mips/qemu-mips/init.c: Likewise. + * kern/mips/startup.S: Likewise. + * kern/mips/yeeloong/init.c: Likewise. + * kern/term.c (grub_putcode): Handle NULL terminal. + (grub_getcharwidth): Likewise. + (grub_getkey): Likewise. + (grub_checkkey): Likewise. + (grub_getkeystatus): Likewise. + (grub_getxy): Likewise. + (grub_getwh): Likewise. + (grub_gotoxy): Likewise. + (grub_cls): Likewise. + (grub_setcolorstate): Likewise. + (grub_setcolor): Likewise. + (grub_getcolor): Likewise. + (grub_refresh): Likewise. + * lib/mips/relocator.c (JUMP_SIZEOF): Fix incorrect value. + (write_jump): Add hatch nop. + * lib/mips/relocator_asm.S: Use kern/mips/cache_flush.S. + * lib/mips/setjmp.S: New file. + * loader/mips/linux.c: Likewise. + * term/i386/pc/at_keyboard.c: Move from here ... + * term/at_keyboard.c: ... to here. + * term/i386/pc/serial.c: Moved from here ... + * term/serial.c: ... to here. All users updated. + (TEXT_HEIGHT): Set to 24 to fit linux terminal. + (serial_hw_io_addr): Use GRUB_MACHINE_SERIAL_PORTS. + (serial_translate_key_sequence): Avoid deadlock. + (grub_serial_getkey): Handle backspace. + (grub_serial_putchar): Fix newline handling. + * util/i386/pc/grub-mkimage.c: Move from here ... + * util/grub-mkrawimage.c: ... to here. All users updated. + (generate_image): New parameters 'font_path' and 'format'. + Support embedding font. + Use grub_host_to_target* instead of grub_cpu_to_le*. + (generate_image) [GRUB_MACHINE_MIPS]: Support ELF encapsulation. + (options) [GRUB_PLATFORM_IMAGE_DEFAULT]: New option "--format". + (options): New option "--font". + (usage): Likewise. + (main) [GRUB_PLATFORM_IMAGE_DEFAULT]: Handle "--format". + (main): Handle "--font". + * term/gfxterm.c (grub_virtual_screen): New member bg_color_display. + (grub_virtual_screen_setup): Set bg_color_display. + (redraw_screen_rect): Use bg_color_display instead of incorrect + bg_color. + (grub_gfxterm_cls): Likewise. + * util/elf/grub-mkimage.c (load_modules): New parameter 'config_path'. + Support embedding config file. + (add_segments): Likewise. + (options): New option "--config". + (main): Handle "--config". + * video/sm712.c: New file. + +2010-01-18 Robert Millan + + Fix parallel builds. + + * conf/common.rmk (font/font.c_DEPENDENCIES): New variable (makes + font.c depend on ascii.h). + +2010-01-12 Carles Pina i Estany + + * Makefile.in (DUSE_ASCII_FAILBACK): New macro. + +2010-01-11 Carles Pina i Estany + + * font/font.c (GENERATE_ASCII): Change the name to USE_ASCII_FAILBACK. + By default: disabled. + * Makefile.in (ascii.h): Remove the non-needed grub/bin2h size + parameter. + +2010-01-10 Carles Pina i Estany + + * font/font.c: Update copyright years. + * util/grub-mkfont.c (write_font_ascii_bitmap): Change comment format. + +2010-01-10 Carles Pina i Estany + + * font/font.c: Include `ascii.h'. + (ASCII_BITMAP_SIZE): New macro. + (ascii_font_glyph): Define. + (ascii_glyph_lookup): New function. + (grub_font_get_string_width): Change comment. If glyph not found, use + ascii_glyph_lookup. + (grub_font_get_glyph_with_fallback): If glyph not available returns + ascii_glyph_lookup. + * util/grub-mkfont.c (file_formats): New enum. + (options): Add `ascii-bitmaps' new option. + (usage): Add `asii-bitmaps' new option. + (write_font_ascii_bitmap): New function. + (write_font): Rename to ... + (write_font_p2): ... this. Remove print_glyphs call. + (main): Use file_format. Implement code for ranges if ascii-bitmaps is + used. Call print_glyphs. + * Makefile.in (pkgdata_DATA): Add `ascii.h'. + +2010-01-14 Robert Millan + + * conf/common.rmk (bin_UTILITIES): Add `grub-bin2h'. + (grub_bin2h_SOURCES): New variable. + * util/bin2h.c: New file. + +2010-01-20 Vladimir Serbinenko + + * include/multiboot.h: Resynced with spec. + * include/multiboot2.h: Likewise. + * loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap): Handle + GRUB_MACHINE_MEMORY_ACPI_RECLAIMABLE and GRUB_MACHINE_MEMORY_NVS. + +2010-01-18 Robert Millan + + * include/grub/term.h (grub_term_register_input, + grub_term_register_output): Check return of terminal init() + routines, and abort if errors are raised. + + * commands/terminal.c: Update copyright year. + +2010-01-18 Robert Millan + + * commands/terminal.c (grub_cmd_terminal_input) + (grub_cmd_terminal_output): Check return of terminal init() + routines, and abort if errors are raised. + +2010-01-18 Vladimir Serbinenko + + * include/grub/i386/bsd.h: Fix include pathes. + +2010-01-18 Vladimir Serbinenko + + Add missing *BSD copyright headers. + + * include/grub/aout.h: Add BSD licence. + * include/grub/i386/bsd.h: Parts under different licences moved to ... + * include/grub/i386/freebsd_linker.h: ... here, + * include/grub/i386/freebsd_reboot.h: ... here, + * include/grub/i386/netbsd_bootinfo.h: ... here, + * include/grub/i386/netbsd_reboot.h: ... here, + * include/grub/i386/openbsd_bootarg.h: ... here, + * include/grub/i386/openbsd_reboot.h: ... and here. Added appropriate + licence to each file. + +2010-01-18 Robert Millan + + * acinclude.m4: Remove `nop' assembly instruction; it's not + implemented by all architectures. + +2010-01-18 Robert Millan + + * loader/i386/efi/linux.c (grub_cmd_linux): Stop pretending we're + ELILO. This is no longer necessary. + +2010-01-18 BVK Chaitanya + + Added new tool, grub-scrit-check to verify grub.cfg syntax. + + * util/grub-script-check.c: grub-script-check tool. + * conf/common.rmk: Make rules for grub-script-check. + +2010-01-18 Robert Millan + + Fix annoying UI bug in rescue mode. Thanks to Tristan Gingold for + spotting it back in 2008. Shame on me for forgetting he did. + + * kern/rescue_reader.c (grub_rescue_run): Skip zero-length lines. + +2010-01-18 Robert Millan + + * include/grub/i386/linux.h (GRUB_VIDEO_TYPE_TEXT): Rename to ... + (GRUB_VIDEO_LINUX_TYPE_TEXT): ... this. Update all users. + (GRUB_VIDEO_TYPE_VLFB): Rename to ... + (GRUB_VIDEO_LINUX_TYPE_VESA): ... this. Update all users. + (GRUB_VIDEO_TYPE_EFI): Rename to ... + (GRUB_VIDEO_LINUX_TYPE_SIMPLE): ... this. Update all users. + +2010-01-17 Robert Millan + + * include/grub/test.h: Add license header. + * tests/example_functional_test.c: Likewise. + * tests/example_unit_test.c: Likewise. + * tests/lib/functional_test.c: Likewise. + * tests/lib/test.c: Likewise. + * tests/lib/unit_test.c: Likewise. + +2010-01-17 Vladimir Serbinenko + + Use flag-based instead of hook-based video mode selection and "auto" + keyword. + + * include/grub/video.h (grub_video_adapter): Changed 'setup' member. + (grub_video_set_mode): Changed prototype. All users updated. + (grub_video_check_mode_flag): New inline function. + * video/video.c (parse_modespec): New function. + (grub_video_set_mode): Parse flags and keywords. + +2010-01-17 Carles Pina i Estany + + * util/misc.c (grub_util_info): Fix the order of the parameters in a + fprintf call. + +2010-01-16 Grégoire Sutre + + * genmk.rb (class SCRIPT): Replace option -i of sed by a pipe. + +2010-01-16 Carles Pina i Estany + + * util/grub-editenv.c (usage): Use `program_name' instead of hardcoded + string. + * util/grub-emu.c (usage): Likewise. + * util/grub-mkpasswd-pbkdf2.c (usage): Likewise. + * util/i386/efi/grub-mkimage.c (usage): Likewise. + * util/i386/pc/grub-mkimage.c (usage): Likewise. + * util/i386/pc/grub-setup.c (usage): Likewise. + +2010-01-16 Carles Pina i Estany + + * util/misc.c (grub_util_warn): Gettextizze, print full stop after + the message. + (grub_util_info): Likewise. + (grub_util_error): Likewise. + * util/elf/grub-mkimage.c: Fix capitalisation, quotes, full stops + and/or new lines in `grub_util_warna', `grub_util_info', + `grub_util_error' calls. + * util/getroot.c: Likewise. + * util/grub-editenv.c: Likewise. + * util/grub-emu.c: Likewise. + * util/grub-fstest.c: Likewise. + * util/grub-mkdevicemap.c: Likewise. + * util/grub-mkfont.c: Likewise. + * util/grub-mkpasswd-pbkdf2.c: Likewise. + * util/grub-mkrelpath.c: Likewise. + * util/grub-pe2elf.c: Likewise. + * util/grub-probe.c: Likewise. + * util/hostdisk.c: Likewise. + * util/i386/efi/grub-mkimage.c: Likewise. + * util/i386/pc/grub-mkimage.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/ieee1275/ofpath.c: Likewise. + * util/mkisofs/eltorito.c: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/write.c: Likewise. + * util/raid.c: Likewise. + * util/sparc64/ieee1275/grub-mkimage.c: Likewise. + * util/sparc64/ieee1275/grub-setup.c: Likewise. + +2010-01-15 Vladimir Serbinenko + + Enable multiboot on non-pc. + + * conf/i386-coreboot.rmk, conf/i386-pc.rmk (pkglib_MODULES): Move + multiboot.mod and multiboot2.mod to ... + * conf/i386.rmk (pkglib_MODULES): ... here. + * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_SOURCES): + Moved to ... + * conf/i386.rmk (multiboot_mod_SOURCES): .. here. + * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_CFLAGS): + Moved to ... + * conf/i386.rmk (multiboot_mod_CFLAGS): .. here. + * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_ASFLAGS): + Moved to ... + * conf/i386.rmk (multiboot_mod_ASFLAGS): .. here. + * conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_LDFLAGS): + Moved to ... + * conf/i386.rmk (multiboot_mod_LDFLAGS): .. here. + * conf/x86_64-efi.rmk (pkglib_MODULES): Remove ata.mod and + relocator.mod. + (ata_mod_SOURCES): Removed. + (ata_mod_CFLAGS): Likewise. + (ata_mod_LDFLAGS): Likewise. + (relocator_mod_SOURCES): Removed. + (relocator_mod_CFLAGS): Likewise. + (relocator_mod_ASFLAGS): Likewise. + (relocator_mod_LDFLAGS): Likewise. + Include i386.mk. + * include/grub/x86_64/multiboot.h: New file. + * loader/i386/multiboot.c (grub_multiboot_boot) [GRUB_MACHINE_EFI]: + Terminate EFI. + +2010-01-15 Vladimir Serbinenko + + Video multiboot support. + + * include/grub/multiboot.h (grub_multiboot_set_accepts_video): + New prototype. + * include/multiboot.h: Resynced with multiboot specification. + * include/multiboot2.h: Likewise. + * loader/i386/multiboot.c (UNSUPPORTED_FLAGS): Support video flags. + (grub_multiboot): Parse MULTIBOOT_VIDEO_MODE fields. + * loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): New constant. + (HAS_VGA_TEXT): Likewise. + (accepts_video): New variable. + (grub_multiboot_set_accepts_video): New function. + (grub_multiboot_get_mbi_size): Account for video structures. + (set_video_mode): New function. + (retrieve_video_parameters): Likewise. + (grub_multiboot_make_mbi): Fill video fields. + +2010-01-15 Vladimir Serbinenko + + Video driver ids. + + * include/grub/video.h (grub_video_driver_id): New type. + (grub_video_adapter): New member 'id'. All users updated. + (grub_video_get_driver_id): New proto. + * video/video.c (grub_video_get_driver_id): New function. + +2010-01-14 Carles Pina i Estany + + * util/grub.d/30_os-prober.in: Use `set var=val' rather than plain + `var=val'. + +2010-01-14 Carles Pina i Estany + + * normal/cmdline.c (print_completion): Gettextizze. + +2001-01-14 Carles Pina i Estany + + * loader/i386/pc/chainloader.c: Include `'. + +2010-01-14 Carles Pina i Estany + + * gettext/gettext.c (grub_gettext_translate): Push and pop + grub_errno. + (grub_gettext_delete_list): Change comment style. + * kern/err.c (grub_error): Gettextizze. + (grub_fatal): Gettextizze. + +2010-01-14 Robert Millan + + * include/grub/i386/loader.h (grub_linux16_boot): Renamed to ... + (grub_linux16_real_boot): ... this. + * kern/i386/loader.S: Likewise. + * loader/i386/pc/linux.c: Include `' and `'. + (grub_linux16_boot): New function. Switches to text mode and calls + grub_linux16_real_boot(). + + * loader/i386/bsd.c: Include `'. + (grub_freebsd_boot, grub_openbsd_boot, grub_netbsd_boot): Switch to + text mode before calling grub_unix_real_boot(). + + * loader/i386/multiboot.c: Include `'. + (grub_multiboot_boot): Switch to text mode before calling + grub_relocator32_boot(). + + * loader/i386/pc/chainloader.c: Include `'. + (grub_chainloader_boot): Switch to text mode before calling + grub_chainloader_real_boot(). + +2010-01-05 Jordan Uggla +2010-01-05 Colin Watson + + * util/grub-reboot.in: Make sure prev_saved_entry always gets a + non-empty value. + +2010-01-05 Jordan Uggla +2010-01-05 Colin Watson + + * util/grub.d/00_header.in: Define a "savedefault" function for use + in menu entries. + * util/grub-mkconfig_lib.in (save_default_entry): Use it. + +2010-01-05 Jordan Uggla +2010-01-05 Colin Watson + + * util/grub-mkconfig_lib.in (save_default_entry): Only set + saved_entry if boot_once is unset. + * util/grub.d/00_header.in: Set boot_once to "true" if there was a + previous saved entry (i.e. grub-reboot). + +2009-12-08 Colin Watson + + * util/grub.d/30_os-prober.in: Call save_default_entry for hurd. + +2009-12-08 Colin Watson + + * util/grub.d/00_header.in: Use `set var=val' rather than plain + `var=val'. + * util/grub-mkconfig_lib.in (save_default_entry): Likewise. + +2009-12-08 Colin Watson + + * util/grub-reboot.in: Fix --version output. + * util/grub-set-default.in: Likewise. + +2009-12-08 Colin Watson + + * util/grub.d/00_header.in: Silently ignore zero-sized environment + blocks. + +2009-12-08 Colin Watson + + * util/grub.d/00_header.in: Quote the value assigned to `default', + in case it contains spaces. + +2009-12-08 Colin Watson + + * util/grub.d/30_os-prober.in: Fix merge error that moved a + `save_default_entry' call from the macosx case to the linux case. + +2009-10-25 Vladimir Serbinenko +2009-10-25 Colin Watson + + * normal/menu.c (grub_menu_execute_entry): Save selected entry title + in `chosen' environment variable. + * normal/menu_text.c (get_entry_number): Check if the variable + matches the title of a menu entry. + (run_menu): Pass menu to get_entry_number. + + * util/grub-reboot.in: New file. + * util/grub-set-default.in: New file. + * conf/common.rmk (grub-reboot): New utility. + (grub-set-default): New utility. + + * util/grub-mkconfig_lib.in (save_default_entry): New function. + * util/grub.d/00_header.in: If GRUB_DEFAULT is `saved', set + default to `${saved_entry}'. If `${prev_saved_entry}' is non-empty, + move it to `saved_entry' for the next boot. Load environment on + initialisation. + * util/grub.d/10_kfreebsd.in: Call save_default_entry. + * util/grub.d/10_hurd.in: Likewise. + * util/grub.d/10_linux.in (linux_entry): Likewise. + * util/grub.d/10_windows.in: Likewise. + * util/grub.d/30_os-prober.in: Likewise. + + * util/grub-install.in: Create environment block. + * util/i386/efi/grub-install.in: Likewise. + * util/ieee1275/grub-install.in: Likewise. + * util/sparc64/ieee1275/grub-install.in: Likewise. + +2010-01-14 BVK Chaitanya + + Unit testing framework for GRUB. + + * Makefile.in: Test framework build rules for 'make check'. + * conf/tests.rmk: Build rules for individual tests and framework. + + * include/grub/test.h: Header file for whitebox tests. + * tests/lib/functional_test.c: Framework support for whitebox + functional tests. + * tests/lib/test.c: Common whitebox testing code for unit and + functional tests. + * tests/lib/unit_test.c: Framework support for whitebox unit + tests. + + * tests/util/grub-shell-tester.in: Support utility for grub-script + tests. + * tests/util/grub-shell.in: Utility to execute grub-script + commands in a Qemu instance. + + * tests/example_functional_test.c: Example whitebox functional + test. + * tests/example_grub_script_test.in: Example grub-script test. + * tests/example_scripted_test.in: Example scripted test. + * tests/example_unit_test.c: Example whitebox unit test. + +2010-01-14 Vladimir Serbinenko + + * conf/i386-coreboot.rmk (multiboot_mod_SOURCES): + Add loader/i386/multiboot_mbi.c. + (multiboot2_mod_SOURCES): Likewise. + * conf/i386-pc.rmk (multiboot_mod_SOURCES): Likewise. + (multiboot2_mod_SOURCES): Likewise. + * include/grub/multiboot.h (grub_multiboot_get_mbi_size): New proto. + (grub_multiboot_make_mbi): Likewise. + (grub_multiboot_free_mbi): Likewise. + (grub_multiboot_init_mbi): Likewise. + (grub_multiboot_add_module): Likewise. + (grub_multiboot_set_bootdev): Likewise. + * loader/i386/multiboot.c (mbi): Removed. + (mbi_dest): Likewise. + (alloc_mbi): New variable. + (grub_multiboot_payload_size): Removed. All users updated. + (grub_multiboot_pure_size): New variable. + (grub_multiboot_boot): Use grub_multiboot_make_mbi. + (grub_multiboot_unload): Use grub_multiboot_free_mbi. + (grub_get_multiboot_mmap_len): Moved to loader/i386/multiboot_mbi.c. + (grub_fill_multiboot_mmap): Likewise. + (grub_multiboot_get_bootdev): Likewise. + (grub_multiboot): Use multiboot_mbi functions. + * loader/i386/multiboot_mbi.c: New file. + +2010-01-13 Vladimir Serbinenko + + * kern/efi/init.c (grub_efi_fini): Don't call grub_efi_mm_fini as + it would result in module crash. + +2010-01-13 Vladimir Serbinenko + + * term/ieee1275/ofconsole.c (grub_ofconsole_putchar): Handle '\r'. + (grub_ofconsole_getwh): Split to ... + (grub_ofconsole_getwh): ... this. + (grub_ofconsole_dimensions): ...and this. + (grub_ofconsole_init_output): Call grub_ofconsole_dimensions. + +2010-01-13 Robert Millan + + * util/mkisofs/rock.c (generate_rock_ridge_attributes): Fix a typo. + +2010-01-12 Vladimir Serbinenko + + * loader/i386/pc/multiboot2.c: Removed stalled file. + +2010-01-12 Vladimir Serbinenko + + * util/grub-mkpasswd-pbkdf2.c (main): Use grub_util_init_nls. + Reported by: Grégoire Sutre + +2010-01-11 Robert Millan + + * util/misc.c (canonicalize_file_name): New function. + (make_system_path_relative_to_its_root): Use canonicalize_file_name() + instead of realpath(). + +2010-01-11 Colin Watson + + * util/grub-install.in (usage): Clarify meaning of --root-directory, + and make it clearer that it's optional. Based on confusion + witnessed on IRC. + +2010-01-10 Vladimir Serbinenko + + * term/i386/pc/vga_text.c (inc_y): Fix off-by-one error which resulted + in premature implicit newline. + +2010-01-10 Vladimir Serbinenko + + * normal/cmdline.c (grub_cmdline_get): Fix off-by-one error + which resulted in garbled command line at the end of screen. + +2010-01-10 Robert Millan + + * loader/i386/ieee1275/linux.c (grub_linux_boot): Rework video position + initialization with similar approach as with other Linux loaders. + +2010-01-10 Robert Millan + + Fix i386-ieee1275 build. + + * loader/i386/ieee1275/linux.c (grub_linux_boot): Use grub_term_width() + and grub_term_height() for video_{width,height} initialization. + +2010-01-10 Robert Millan + + Fix grub-emu build. + + * conf/any-emu.rmk (grub_emu_SOURCES): Remove `kern/reader.c'. + +2010-01-07 Vladimir Serbinenko +2010-01-09 Robert Millan + + Support for multiple terminals. + + * Makefile.in (pkglib_DATA): terminal.lst. + (terminal.lst): New target. + * commands/handler.c (grub_cmd_handler): Don't handle terminals. + (GRUB_MOD_INIT(handler)): Likewise. + (GRUB_MOD_FINI(handler)): Likewise. + * commands/help.c (grub_cmd_help): Handle multiple terminals. + * commands/keystatus.c (grub_cmd_keystatus): Likewise. + * commands/sleep.c (do_print): Use grub_term_restore_pos. + (grub_cmd_sleep): Use grub_term_save_pos. + * commands/terminal.c: New file. + * conf/any-emu.rmk (grub_emu_SOURCES): Add normal/term.c + commands/terminal.c and lib/charset.c. + * conf/common.rmk (normal_mod_SOURCES): Add normal/term.c. + (pkglib_MODULES): Add terminal.mod. + (terminal_mod_SOURCES): New variable. + (terminal_mod_CFLAGS): Likewise. + (terminal_mod_LDFLAGS): Likewise. + * genhandlerlist.sh: Don't handle terminals. + * genmk.rb: Generate terminal-*.lst. + * genterminallist.sh: New file. + * include/grub/charset.h (grub_ucs4_to_utf8_alloc): New proto. + (grub_is_valid_utf8): Likewise. + (grub_utf8_to_ucs4_alloc): Likewise. + * include/grub/menu_viewer.h (grub_menu_viewer): Rewritten. + (grub_menu_register_viewer): Changed argument. + (grub_menu_try_text): New proto. + (grub_gfxmenu_try_hook): New declaration. + * include/grub/normal.h (grub_normal_exit_level): New declaration. + (grub_menu_init_page): Additional argument term. + (grub_normal_init_page): Likewise. + (grub_cmdline_get): Arguments simplified. + (grub_utf8_to_ucs4_alloc): Removed. + (grub_print_ucs4): Additional argument term. + (grub_getstringwidth): Likewise. + (grub_print_message_indented): Likewise. + (grub_menu_text_register_instances): New proto. + (grub_show_menu): Likewise. + (read_terminal_list): Likewise. + (grub_set_more): Likewise. + * include/grub/parser.h: Include handler.h. + * include/grub/reader.h: Rewritten. + * include/grub/term.h (GRUB_TERM_NEED_INIT): Removed. + (GRUB_TERM_WIDTH): Changed to function. + (GRUB_TERM_HEIGHT): Likewise. + (GRUB_TERM_BORDER_WIDTH): Likewise. + (GRUB_TERM_BORDER_HEIGHT): Likewise. + (GRUB_TERM_NUM_ENTRIES): Likewise. + (GRUB_TERM_ENTRY_WIDTH): Likewise. + (GRUB_TERM_CURSOR_X): Likewise. + (grub_term_input_class): Likewise. + (grub_term_output_class): Likewise. + (grub_term_outputs_disabled): New declaration. + (grub_term_inputs_disabled): Likewise. + (grub_term_outputs): Likewise. + (grub_term_inputs): Likewise. + (grub_term_register_input): Rewritten. + (grub_term_register_output): Likewise. + (grub_term_unregister_input): Likewise. + (grub_term_unregister_output): Likewise. + (FOR_ACTIVE_TERM_INPUTS): New macro. + (FOR_DISABLED_TERM_INPUTS): Likewise. + (FOR_ACTIVE_TERM_OUTPUTS): Likewise. + (FOR_DISABLED_TERM_OUTPUTS): Likewise. + * include/grub/terminfo.h: Add oterm argument to all protypes. + * kern/main.c (grub_main): Don't call grub_register_rescue_reader. + Use grub_rescue_run. + * kern/misc.c (grub_utf8_to_ucs4): Put '?' for invalid characters. + All users updated. + * kern/reader.c: Removed. All users updated. + * kern/rescue_reader.c (grub_rescue_init): Removed. + (grub_rescue_reader): Likewise. + (grub_register_rescue_reader): Likewise. + (grub_rescue_run): New function based on kern/reader.c. + * kern/term.c: Adapted for multiterm. + * lib/charset.c (grub_ucs4_to_utf8_alloc): New function. + (grub_is_valid_utf8): Likewise. + (grub_utf8_to_ucs4_alloc): Moved from normal/menu_text.c. + * loader/i386/efi/linux.c (grub_cmd_linux): Retrieve parameters of + right terminal. + * loader/i386/linux.c (grub_linux_boot): Likewise. + * normal/auth.c (grub_username_get): New function. + (grub_auth_check_authentication): Use grub_username_get. + * normal/cmdline.c: Changed to UCS4. Adapted for multiterm. + * normal/color.c: Adapt for multiterm. + * normal/main.c (read_config_file): Don't use grub_reader_loop. + (grub_normal_init_page): Additional argument term. + (read_lists): Call read_terminal_lists. + (grub_enter_normal_mode): Call grub_cmdline_run. + Handle grub_normal_exit_level. + (grub_cmd_normal): Make reentrant. + (grub_cmd_normal_exit): New function. + (grub_normal_reader_init): Additional argument nested. Handle multiterm. + * normal/menu.c: Adapt for multiterm. + * normal/menu_entry.c: Likewise. + * normal/menu_text.c: Likewise. + * normal/menu_viewer.c: Removed. All users updated. + * normal/term.c: New file. + * util/console.c: Change order of includes to workaround a bug in + ncurses headers. + * term/terminfo.c: New argument oterm on all exported functions. + All users updated. + * util/grub-editenv.c (grub_term_input_class): Removed. + (grub_term_output_class): Likewise. + +2010-01-09 Robert Millan + + Make loader output a bit more user-friendly. + + * util/grub.d/10_hurd.in: Print message indicating that GNU Mach + is being loaded. Likewise for the Hurd. + + * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Print message indicating + that kernel of FreeBSD ${version} is being loaded. + + * loader/i386/linux.c (grub_cmd_linux): Move debug info to + grub_dprintf(). + (grub_cmd_initrd): Likewise. + * util/grub.d/10_linux.in (linux_entry): Print message indicating + that Linux ${version} is being loaded. Likewise for initrd. + +2010-01-09 Carles Pina i Estany + + * gettext/gettext.c (GRUB_MOD_INIT): Gettextizze. + +2010-01-08 Carles Pina i Estany + + * loader/efi/appleloader.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * loader/efi/chainloader.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * loader/i386/efi/linux.c: Include `'. + (grub_cmd_linux): Capitalise Linux. + (GRUB_MOD_INIT): Gettextizze. + * loader/i386/ieee1275/linux.c: Include `'. + (grub_cmd_linux): Capitalise Linux. + (GRUB_MOD_INIT): Gettextizze. + * loader/i386/linux.c: Include `'. + (grub_cmd_linux): Capitalise Linux. + (GRUB_MOD_INIT): Gettextizze. + * loader/i386/pc/chainloader.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * loader/i386/pc/linux.c: Include `'. + (grub_cmd_linux): Capitalise Linux. + (GRUB_MOD_INIT): Gettextizze. + * loader/i386/xnu.c: Include `'. + (grub_cpu_xnu_init): Gettextizze. + * loader/multiboot_loader.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * loader/powerpc/ieee1275/linux.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * loader/sparc64/ieee1275/linux.c: Include `'. + (grub_linux_load64): Capitalise Linux. + (GRUB_MOD_INIT): Gettextizze. + * loader/xnu.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * po/POTFILES: Add `loader/efi/appleloader.c', + `loader/efi/chainloader.c', `loader/i386/efi/linux.c', + `loader/i386/ieee1275/linux.c', `loader/i386/linux.c', + `loader/i386/pc/chainloader.c', `loader/i386/pc/linux.c', + `loader/i386/xnu.c', `loader/multiboot_loader.c', + `loader/powerpc/ieee1275/linux.c', `loader/sparc64/ieee1275/linux.c' + and `loader/xnu.c'. + +2010-01-08 Robert Millan + + * src/mkisofs.c: Remove `ifdef linux' portability kludge. + +2010-01-08 Robert Millan + + * util/mkisofs/defaults.h (APPID_DEFAULT): Redefine using PACKAGE_NAME. + (SYSTEM_ID_DEFAULT): Set to "GNU" unconditionally. + * util/mkisofs/mkisofs.c (main): Readjust --version output. + +2010-01-07 Robert Millan + + Reset Multiboot 2 support. New loader implements the draft in + /branches/multiboot2 and shares as much code as possible with the + production Multiboot 1 implementation. + + * loader/ieee1275/multiboot2.c: Remove file. Update all users. + * loader/multiboot2.c: Likewise. + * loader/i386/multiboot_helper.S: Likewise. + * include/multiboot2.h: Replace with latest version from the draft + in /branches/multiboot2. + + * conf/i386-coreboot.rmk (multiboot_mod_SOURCES): Remove + `loader/i386/multiboot_helper.S', `loader/i386/pc/multiboot2.c' + and `loader/multiboot2.c'. + (pkglib_MODULES): Add `multiboot2.mod'. + (multiboot2_mod_SOURCES): New variable. + (multiboot2_mod_LDFLAGS): Likewise. + (multiboot2_mod_CFLAGS): Likewise. Define `GRUB_USE_MULTIBOOT2'. + + * conf/i386-pc.rmk: Likewise. + + * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'. + (multiboot_mod_SOURCES): Remove variable. + (multiboot_mod_LDFLAGS): Likewise. + (multiboot_mod_CFLAGS): Likewise. + + * include/grub/multiboot.h [GRUB_USE_MULTIBOOT2]: Include + `' instead of `'. + [GRUB_USE_MULTIBOOT2] (MULTIBOOT_BOOTLOADER_MAGIC) + (MULTIBOOT_HEADER_MAGIC): New macros. + + * loader/multiboot_loader.c (module_version_status): Remove variable. + (find_multi_boot2_header): Remove function. + (grub_cmd_multiboot_loader): Remove Multiboot 2 / Multiboot 1 selection + logic. Always check for the Multiboot version we're compiling for. + (grub_cmd_module_loader): Likewise. + [GRUB_USE_MULTIBOOT2] (GRUB_MOD_INIT(multiboot)): Register `multiboot2' + command instead of `multiboot'. + +2010-01-07 Robert Millan + + * include/multiboot.h (MULTIBOOT_UNSUPPORTED): Moved from here ... + * loader/i386/multiboot.c (UNSUPPORTED_FLAGS): ... to here. Update + all users. + +2010-01-07 Robert Millan +2010-01-07 Vladimir Serbinenko + + Fix breakage introduced with previous commit. + + * normal/dyncmd.c (read_command_list): Avoid unregistering kernel + commands. + * normal/handler.c (read_handler_list): Revert part of previous commit + affecting this file. + * normal/main.c (read_lists): Move read_handler_list() call back to ... + (grub_normal_execute): ... here. + +2010-01-07 Robert Millan + + Merge prefix-redefinition-fix branch. + + * normal/autofs.c (read_fs_list): Make function capable of being + run multiple times, gracefuly replacing the previous data + structures. + * normal/dyncmd.c (read_command_list): Likewise. + * normal/handler.c (read_handler_list): Likewise. + * normal/main.c (read_lists): New function. Calls all the + list reading functions. + (grub_normal_execute): Use read_lists() instead of calling all + list reading functions explicitly. Register read_lists() as a + variable hook attached to ${prefix}. + +2010-01-07 Vladimir Serbinenko + + Merge crypto branch. + + * Makefile.in (pkglib_DATA): Add crypto.lst. + (crypto.lst): New target. + * commands/hashsum.c: New file. + * commands/password.c (check_password): Use grub_crypto_memcmp. + * commands/password_pbkdf2.c: New file. + * commands/xnu_uuid.c: Remove MD5. Use GRUB_MD_MD5. + * conf/any-emu.rmk (grub_emu_SOURCES): Add lib/crypto.c, + normal/crypto.c and lib/libgcrypt-grub/cipher/md5.c. + (grub_emu_CFLAGS): Add -Wno-missing-field-initializers -Wno-error + -I$(srcdir)/lib/libgcrypt_wrap. + * conf/common.rmk (normal_mod_SOURCES): Add normal/crypto.c. + (pkglib_MODULES): Add crypto.mod, hashsum.mod, pbkdf2.mod and + password_pbkdf2.mod. + (crypto_mod_SOURCES): New variable. + (crypto_mod_CFLAGS): Likewise. + (crypto_mod_LDFLAGS): Likewise. + (hashsum_mod_SOURCES): New variable. + (hashsum_mod_CFLAGS): Likewise. + (hashsum_mod_LDFLAGS): Likewise. + (pbkdf2_mod_SOURCES): New variable. + (pbkdf2_mod_CFLAGS): Likewise. + (pbkdf2_mod_LDFLAGS): Likewise. + (password_pbkdf2_mod_SOURCES): New variable. + (password_pbkdf2_mod_CFLAGS): Likewise. + (password_pbkdf2_mod_LDFLAGS): Likewise. + (bin_UTILITIES): Add grub-mkpasswd-pbkdf2. + (grub_mkpasswd_pbkdf2_SOURCES): New variable. + (grub_mkpasswd_pbkdf2_CFLAGS): Likewise. + Include conf/gcry.rmk. + * include/grub/auth.h: Rewritten. + * include/grub/crypto.h: New file. + * include/grub/disk.h (grub_disk_dev_id): Add GRUB_DISK_DEVICE_LUKS_ID. + * include/grub/normal.h (read_crypto_list): New prototype. + * lib/crypto.c: New file. + * lib/libgcrypt_wrap/cipher_wrap.h: Likewise. + * lib/pbkdf2.c: Likewise. + * normal/auth.c (grub_auth_strcmp): Removed. + (grub_iswordseparator): Likewise. + (grub_auth_strword): Likewise. + (is_authenticated): Use grub_strword. + (grub_auth_check_authentication): Use grub_strcmp, grub_password_get + and grub_strword. Pass entered password to authentication callback. + * normal/crypto.c: New file. + * normal/main.c: Call read_crypto_list. + * util/grub-mkpasswd-pbkdf2.c: New file. + * util/import_gcry.py: Generate crypto.lst. Add hash blocklen. + +2010-01-06 Vladimir Serbinenko + + Fix descent and ascent calculation. + + * util/grub-mkfont.c (grub_font_info): New fields 'asce' and 'max_y'. + (options): New option "asce". + (usage): Likewise. + (add_char): Ignore invalid glyphs for descent calculation. + Calculate ascent from actual content. + (print_glyphs): Use 'asce'. + (write_font): Likewise. Allow ascent override. + (main): Handle "asce" option. + +2010-01-06 Carles Pina i Estany + + * kern/err.c: Include `'. + (grub_print_error): Add full stop. Gettextizze. + * loader/i386/bsd.c (grub_netbsd_boot): Change grub_error description. + (grub_bsd_load_elf): Capitalise ELF. + (grub_cmd_freebsd_loadenv): Add `s' in error string. + (grub_cmd_freebsd_module): Likewise. + (grub_cmd_freebsd_module_elf): Likewise. + * loader/i386/bsdXX.c (SUFFIX): Capitalise ELF. + +2010-01-06 Carles Pina i Estany + + * commands/search.c (GRUB_MOD_INIT): Use HELP_MESSAGE. + * commands/search_file.c (HELP_MESSAGE): New macro. + * commands/search_label.c (HELP_MESSAGE): Likewise. + * commands/search_uuid.c (HELP_MESSAGE): Likewise. + * po/POTFILES: Add `commands/search_file.c', + `commands/search_label.c', `commands_uuid.c'. Remove duplicate + `commands/search.c'. + +2010-01-05 Robert Millan + + * config.rpath: Update from Gnulib. + +2010-01-05 Yves Blusseau + + * commands/acpi.c (grub_acpi_create_ebda): fix incorrect message. + +2010-01-05 Yves Blusseau + + * util/sparc64/ieee1275/grub-mkimage.c (main): Typo fix. + +2010-01-05 Colin Watson + + * util/mkisofs/write.c (padblock_write): Switch size and nmemb + arguments to fread so that we get a return value in bytes, rather + than something that will normally be rounded down to 0. + Adjust error handling to avoid producing garbage when size_t is not + the same size as long long. + +2010-01-05 Colin Watson + + * util/mkisofs/write.c (padblock_write): Check return value of + fread. + +2010-01-05 Robert Millan + + Remove grub-mkfloppy. Images produced by grub-mkrescue are valid + floppy images now. + + * util/i386/pc/grub-mkfloppy.in: Remove. Update all users. + +2010-01-04 Robert Millan + + * disk/i386/pc/biosdisk.c (grub_biosdisk_rw): Use ALIGN_UP macro + instead of manual alignment. + * kern/disk.c (grub_disk_read): Remove grub_dprintf call (excessively + verbose). Avoid attempts to read past end of the device + (grub_disk_adjust_range() guarantees that we can read `size' bytes, + but GRUB_DISK_CACHE_SIZE may exceed that). + +2010-01-04 Robert Millan + + * commands/crc.c (grub_cmd_crc): Abort on read errors. + * fs/iso9660.c (grub_iso9660_read): Check for read error and pass + it to upper layer. + +2010-01-04 Vladimir Serbinenko + + * include/grub/efi/api.h (GRUB_EFI_PIWG_DEVICE_PATH_SUBTYPE): + New constant. + (grub_efi_piwg_device_path): New structure + (grub_efi_piwg_device_path_t): New type. + * loader/efi/appleloader.c (piwg_full_device_path): New structure. + (devpath_1): Transform to a structure. All users updated. + (devpath_2): Likewise. + (devpath_3): Likewise. + (devpath_4): Likewise. + (devpath_5): Likewise. + +2010-01-04 Vladimir Serbinenko + + * loader/efi/appleloader.c: Restored. Update all users. + +2010-01-03 Robert Millan + + * boot/i386/pc/diskboot.S: Fix inaccurate comment. + + * util/i386/pc/grub-setup.c: Include `'. + (struct boot_blocklist): Move from here ... + * include/grub/i386/pc/boot.h [ASM_FILE] + (struct grub_boot_blocklist): ... to here. Update all users. + (setup): Only initialize `start' member of `first_block' + structure. Add assert() calls to verify the other members. + + * util/i386/pc/grub-mkimage.c: Include `'. + (generate_image): Fix broken blocklist length initialization. + Add assert() call to verify blocklist `segment' field. + +2010-01-03 Robert Millan + + * loader/efi/appleloader.c: Remove. Update all users. + +2010-01-03 Robert Millan + + * boot/i386/pc/boot.S: Update copyright year. + * boot/i386/pc/cdboot.S: Likewise. + * boot/i386/pc/diskboot.S: Likewise. + * boot/i386/pc/lnxboot.S: Likewise. + * boot/i386/pc/pxeboot.S: Likewise. + * bus/pci.c: Likewise. + * commands/cmp.c: Likewise. + * commands/help.c: Likewise. + * commands/hexdump.c: Likewise. + * commands/i386/pc/halt.c: Likewise. + * commands/i386/pc/play.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/ls.c: Likewise. + * commands/test.c: Likewise. + * disk/dmraid_nvidia.c: Likewise. + * disk/i386/pc/biosdisk.c: Likewise. + * disk/ieee1275/nand.c: Likewise. + * disk/ieee1275/ofdisk.c: Likewise. + * disk/lvm.c: Likewise. + * disk/raid.c: Likewise. + * disk/raid6_recover.c: Likewise. + * disk/scsi.c: Likewise. + * fs/affs.c: Likewise. + * fs/cpio.c: Likewise. + * fs/ext2.c: Likewise. + * fs/hfs.c: Likewise. + * fs/iso9660.c: Likewise. + * fs/ntfs.c: Likewise. + * fs/sfs.c: Likewise. + * fs/udf.c: Likewise. + * fs/ufs.c: Likewise. + * fs/xfs.c: Likewise. + * gencmdlist.sh: Likewise. + * genmk.rb: Likewise. + * include/grub/disk.h: Likewise. + * include/grub/efi/api.h: Likewise. + * include/grub/efi/efi.h: Likewise. + * include/grub/efi/pe32.h: Likewise. + * include/grub/elf.h: Likewise. + * include/grub/fs.h: Likewise. + * include/grub/i386/at_keyboard.h: Likewise. + * include/grub/i386/pc/memory.h: Likewise. + * include/grub/i386/pc/vbe.h: Likewise. + * include/grub/i386/pci.h: Likewise. + * include/grub/i386/tsc.h: Likewise. + * include/grub/ieee1275/ieee1275.h: Likewise. + * include/grub/ntfs.h: Likewise. + * include/grub/sparc64/ieee1275/ieee1275.h: Likewise. + * include/grub/sparc64/libgcc.h: Likewise. + * include/grub/symbol.h: Likewise. + * include/grub/types.h: Likewise. + * include/multiboot2.h: Likewise. + * io/gzio.c: Likewise. + * kern/device.c: Likewise. + * kern/disk.c: Likewise. + * kern/efi/efi.c: Likewise. + * kern/efi/mm.c: Likewise. + * kern/elf.c: Likewise. + * kern/file.c: Likewise. + * kern/i386/dl.c: Likewise. + * kern/i386/pc/init.c: Likewise. + * kern/i386/pc/startup.S: Likewise. + * kern/ieee1275/ieee1275.c: Likewise. + * kern/ieee1275/init.c: Likewise. + * kern/main.c: Likewise. + * kern/mm.c: Likewise. + * kern/powerpc/dl.c: Likewise. + * kern/sparc64/dl.c: Likewise. + * kern/x86_64/dl.c: Likewise. + * lib/hexdump.c: Likewise. + * loader/efi/appleloader.c: Likewise. + * loader/i386/ieee1275/linux.c: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * loader/i386/pc/linux.c: Likewise. + * loader/i386/pc/multiboot2.c: Likewise. + * loader/ieee1275/multiboot2.c: Likewise. + * loader/multiboot2.c: Likewise. + * loader/multiboot_loader.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Likewise. + * normal/completion.c: Likewise. + * normal/menu_entry.c: Likewise. + * partmap/apple.c: Likewise. + * util/grub.d/10_hurd.in: Likewise. + * util/hostfs.c: Likewise. + * video/readers/png.c: Likewise. + +2010-01-03 Colin Watson + + * include/grub/misc.h (GNUC_PREREQ): New macro. + (ATTRIBUTE_ERROR): New macro. + * include/grub/list.h (grub_bad_type_cast_real): Use + ATTRIBUTE_ERROR. + +2010-01-03 Carles Pina i Estany + + * normal/menu_text.c (print_message): Change messages. + +2010-01-03 Carles Pina i Estany + + * normal/menu_entry.c (store_completion): Gettextizze. + +2010-01-03 Carles Pina i Estany + + * kern/env.c (grub_env_unset): Set the variable to "" if has hooks. + +2010-01-03 Carles Pina i Estany + + * po/POTFILES: Sort correctly. + +2010-01-03 Carles Pina i Estany + + * commands/acpi.c (GRUB_MOD_INIT): Capitalise some words from help. + * commands/efi/loadbios.c (GRUB_MOD_INIT): Capitalise BIOS. + * commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Remove space. Add + full stop. + * commands/loadenv.c (GRUB_MOD_INIT): Remove command name from + summary. Gettextizze the strings. + * commands/probe.c (grub_cmd_probe): Capitalise UUID and FS. + * commands/xnu_uuid.c (GRUB_MOD_INIT): Capitalise XNU. + * disk/loopback.c (grub_arg_options): Capitalise first letter. Add + full stop. + (GRUB_MOD_INIT): Remove command name from summary. + * hello/hello.c (GRUD_MOT_INIT): Add missing full stop. Improve the + summary. + * loader/i386/bsd.c (grub_arg_option): Capitalise CDROM. + * term/i386/pc/serial.c (options): Add full stops. + (GRUB_MOD_INIT): Remove command name from the summary. + +2010-01-03 Carles Pina i Estany + + * commands/acpi.c: Gettextizze help strings and/or options. Include + `grub/i18n.h' if needed. + * commands/blocklist.c: Likewise. + * commands/boot.c: Likewise. + * commands/cat.c: Likewise. + * commands/cmp.c: Likewise. + * commands/configfile.c: Likewise. + * commands/crc.c: Likewise. + * commands/date.c: Likewise. + * commands/echo.c: Likewise. + * commands/efi/fixvideo.c: Likewise. + * commands/efi/loadbios.c: Likewise. + * commands/gptsync.c: Likewise. + * commands/halt.c: Likewise. + * commands/handler.c: Likewise. + * commands/hdparm.c: Likewise. + * commands/hexdump.c: Likewise. + * commands/i386/cpuid.c: Likewise. + * commands/i386/pc/drivemap.c: Likewise. + * commands/i386/pc/halt.c: Likewise. + * commands/i386/pc/pxecmd.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/i386/pc/vbetest.c: Likewise. + * commands/ieee1275/suspend.c: Likewise. + * commands/keystatus.c: Likewise. + * commands/loadenv.c: Likewise. + * commands/ls.c: Likewise. + * commands/lsmmap.c: Likewise. + * commands/lspci.c: Likewise. + * commands/memrw.c: Likewise. + * commands/minicmd.c: Likewise. + * commands/parttool.c: Likewise. + * commands/password.c: Likewise. + * commands/probe.c: Likewise. + * commands/read.c: Likewise. + * commands/reboot.c: Likewise. + * commands/search.c: Likewise. + * commands/sleep.c: Likewise. + * commands/test.c: Likewise. + * commands/true.c: Likewise. + * commands/usbtest.c: Likewise. + * commands/videotest.c: Likewise. + * commands/xnu_uuid.c: Likewise. + * disk/loopback.c: Likewise. + * hello/hello.c: Likewise. + * loader/i386/bsd.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * po/POTFILES: Add new files. + +2010-01-02 Colin Watson + + * term/i386/pc/at_keyboard.c + (keyboard_controller_wait_untill_ready): Rename to ... + (keyboard_controller_wait_until_ready): ... this. Update all users. + +2010-01-01 Carles Pina i Estany + + * commands/help.c: Include `grub/mm.h' and `grub/normal.h'. + (grub_cmd_help): Print the cmd->name before the cmd->summary. Cut the + string using string width. + * normal/menu_text.c (grub_print_message_indented): Use + grub_print_spaces and not print_spaces. + (print_timeout): Likewise. + (print_spaces): Move to... + * include/grub/term.h: ... here. Change the name to grub_print_spaces. + +2010-01-01 Robert Millan + + Import from Gnulib. + + * gnulib/getdelim.c: New file. + * gnulib/getline.c: Likewise. + +2009-12-31 BVK Chaitanya + + * include/grub/list.h (grub_assert_fail): Removed. + (grub_bad_type_cast_real): New function. + (grub_bad_type_cast): New macro. + (GRUB_AS_LIST): Use grub_bad_type_cast. + (GRUB_AS_LIST_P): Likewise. + (GRUB_AS_NAMED_LIST): Likewise. + (GRUB_AS_NAMED_LIST_P): Likewise. + (GRUB_AS_PRIO_LIST): Likewise. + (GRUB_AS_PRIO_LIST_P): Likewise. + * include/grub/handler.h (GRUB_AS_HANDLER): Likewise. + +2009-12-29 Vladimir Serbinenko + + * loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT (linux)): + Fix syntax error. + +2009-12-29 Robert Millan + + * configure.ac: Check for TARGET_CFLAGS initialization before we + initialize it ourselves (sigh). + Move a few modifications to TARGET_CFLAGS to be unconditional + (extra warning flags, loop alignment, i386 CPU extensions, GCC 4.4 + eh_frame) + + * gettext/gettext.c (grub_gettext_delete_list): Add `void' argument. + * term/i386/pc/at_keyboard.c + (keyboard_controller_wait_untill_ready): Likewise. + (keyboard_controller_led): Rename `led_status' paramter to avoid + name conflict. + +2009-12-28 Carles Pina i Estany + + * normal/misc.c (grub_normal_print_device_info): Add spaces and double + quotes. + +2009-12-27 Vladimir Serbinenko + + * kern/parser.c (grub_parser_split_cmdline): Don't dereference NULL. + +2009-12-27 Vladimir Serbinenko + + * normal/menu_text.c (grub_print_message_indented): Prevent + past-the-end-of-array dereference. + +2009-12-27 Vladimir Serbinenko + + * video/readers/jpeg.c (GRUB_MOD_FINI (grub_cmd_jpegtest)): Rename to .. + (GRUB_MOD_FINI (video_reader_jpeg)): ...this + +2009-12-27 Carles Pina i Estany + + * normal/cmdline.c (grub_cmdline_get): Print a space after prompt. + * normal/main.c (grub_normal_read_line): Remove a space from the + default prompt. + +2009-12-27 Carles Pina i Estany + + * loader/i386/efi/linux.c (GRUB_MOD_INIT): Improve command summary. + * loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise. + * loader/i386/linux.c (GRUB_MOD_INIT): Likewise. + * loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise. + * loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise. + * loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise. + * loader/xnu.c (GRUB_MOD_INIT): Likewise. + +2009-12-26 Carles Pina i Estany + + * video/readers/jpeg.c (cmd): Declare. + (grub_cmd_jpegtest): Use `grub_command_t' type. + (GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'. + Assign to `cmd'. + (GRUB_MOD_FINI): Use `cmd' to unregister. + * video/readers/png.c (cmd): Declare. + (grub_cmd_pngtest): Use `grub_command_t' type. + (GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'. + Assign to `cmd'. + (GRUB_MOD_FINI): Use `cmd' to unregister. + * video/readers/tga.c (cmd): Declare. + (grub_cmd_tgatest): Use `grub_command_t' type. + (GRUB_MOD_INIT): Fix arguments passed to `grub_register_command'. + Assign to `cmd'. + (GRUB_MOD_FINI): Use `cmd' to unregister. + +2009-12-26 Carles Pina i Estany + + * efiemu/main.c (GRUB_MOD_INIT): Fix capitalizations and/or full + stops. + * kern/corecmd.c (grub_register_core_commands): Likewise. + * loader/efi/chainloader.c (GRUB_MOD_INIT): Likewise. + * loader/i386/bsd.c (GRUB_MOD_INIT): Likewise. + * loader/i386/efi/linux.c (GRUB_MOD_INIT): Likewise. + * loader/i386/ieee1275/linux.c (GRUB_MOD_INIT): Likewise. + * loader/i386/linux.c (GRUB_MOD_INIT): Likewise. + * loader/i386/pc/chainloader.c (GRUB_MOD_INIT): Likewise. + * loader/i386/pc/linux.c (GRUB_MOD_INIT): Likewise. + * loader/multiboot_loader.c (GRUB_MOD_INIT): Likewise. + * loader/powerpc/ieee1275/linux.c (GRUB_MOD_INIT): Likewise. + * loader/sparc64/ieee1275/linux.c (GRUB_MOD_INIT): Likewise. + * loader/xnu.c (GRUB_MOD_INIT): Likewise. + * mmap/mmap.c (GRUB_MOD_INIT): Likewise. + * normal/handler.c (insert_handler): Likewise. + * normal/main.c (GRUB_MOD_INIT): Likewise. + * term/gfxterm.c (GRUB_MOD_INIT): Likewise. + +2009-12-26 Carles Pina i Estany + + * commands/help.c (grub_cmd_help): Print the command name before the + summary. + (GRUB_MOD_INIT): Remove command name from the summary. + * kern/command.c (GRUB_MOD_INIT): If summary is null assign an empty + string as summary. + * lib/arg.c (find_long): Print the command name before the summary. + * commands/acpi.c (GRUB_MOD_INIT): Remove command name from the + summary. + * commands/blocklist.c (GRUB_MOD_INIT): Likewise. + * commands/cat.c (GRUB_MOD_INIT): Likewise. + * commands/cmp.c (GRUB_MOD_INIT): Likewise. + * commands/configfile.c (GRUB_MOD_INIT): Likewise. + * commands/crc.c (GRUB_MOD_INIT): Likewise. + * commands/date.c (GRUB_MOD_INIT): Likewise. + * commands/echo.c (GRUB_MOD_INIT): Likewise. + * commands/efi/loadbios.c (GRUB_MOD_INIT): Likewise. + * commands/gptsync.c (GRUB_MOD_INIT): Likewise. + * commands/handler.c (GRUB_MOD_INIT): Likewise. + * commands/hdparm.c (GRUB_MOD_INIT): Likewise. + * commands/hexdump.c (GRUB_MOD_INIT): Likewise. + * commands/i386/cpuid.c (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/halt.c (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/pxecmd.c (GRUB_MOD_INIT): Likewise. + * commands/keystatus.c (GRUB_MOD_INIT): Likewise. + * commands/loadenv.c (GRUB_MOD_INIT): Likewise. + * commands/ls.c (GRUB_MOD_INIT): Likewise. + * commands/lspci.c (GRUB_MOD_INIT): Likewise. + * commands/memrw.c (GRUB_MOD_INIT): Likewise. + * commands/minicmd.c (GRUB_MOD_INIT): Likewise. + * commands/parttool.c (GRUB_MOD_INIT): Likewise. + * commands/password.c (GRUB_MOD_INIT): Likewise. + * commands/probe.c (GRUB_MOD_INIT): Likewise. + * commands/read.c (GRUB_MOD_INIT): Likewise. + * commands/search.c (GRUB_MOD_INIT): Likewise. + * commands/sleep.c (GRUB_MOD_INIT): Likewise. + * commands/test.c (GRUB_MOD_INIT): Likewise. + * commands/xnu_uuid.c (GRUB_MOD_INIT): Likewise. + * efiemu/main.c (GRUB_MOD_INIT): Likewise. + * font/font_cmd.c (GRUB_MOD_INIT): Likewise. + * gettext/gettext.c (GRUB_MOD_INIT): Likewise. + * kern/corecmd.c (GRUB_MOD_INIT): Likewise. + * lib/arg.c (GRUB_MOD_INIT): Likewise. + * loader/efi/appleloader.c (GRUB_MOD_INIT): Likewise. + * loader/i386/bsd.c (GRUB_MOD_INIT): Likewise. + * loader/xnu.c (GRUB_MOD_INIT): Likewise. + * mmap/mmap.c (GRUB_MOD_INIT): Likewise. + * term/terminfo.c (GRUB_MOD_INIT): Likewise. + * video/readers/jpeg.c (GRUB_MOD_INIT): Likewise. + * video/readers/png.c (GRUB_MOD_INIT): Likewise. + * video/readers/tga.c (GRUB_MOD_INIT): Likewise. + +2009-12-25 Vladimir Serbinenko + + Use search command for preliminar UUID search. + + * commands/search.c: Split into ... + * commands/search_wrap.c: ...this + * commands/search.c: ...and this. + * commands/search_file.c: New file. + * commands/search_label.c: New file. + * commands/search_uuid.c: New file. + * conf/any-emu.rmk (grub_emu_SOURCES): Remove commands/search.c. + Add commands/search_wrap.c, commands/search_file.c, + commands/search_label.c and commands/search_uuid.c. + * conf/common.rmk (pkglib_MODULES): Remove fs_uuid.mod and fs_file.mod. + (search_mod_SOURCES): Set to commands/search_wrap.c. + (pkglib_MODULES): Add search_fs_file.mod, search_fs_uuid.mod and + search_label.mod. + (search_fs_file_mod_SOURCES): New variable. + (search_fs_file_mod_CFLAGS): Likewise. + (search_fs_file_mod_LDFLAGS): Likewise. + (search_label_mod_SOURCES): Likewise. + (search_label_mod_CFLAGS): Likewise. + (search_label_mod_LDFLAGS): Likewise. + (search_fs_uuid_mod_SOURCES): New variable. + (search_fs_uuid_mod_CFLAGS): Likewise. + (search_fs_uuid_mod_LDFLAGS): Likewise. + (fs_file_mod_SOURCES): Removed. + (fs_file_mod_CFLAGS): Likewise. + (fs_file_mod_LDFLAGS): Likewise. + (fs_uuid_mod_SOURCES): Removed. + (fs_uuid_mod_CFLAGS): Likewise. + (fs_uuid_mod_LDFLAGS): Likewise. + * conf/sparc64-ieee1275.rmk (grub_install_SOURCES): + Set to util/grub-install.in. + * disk/fs_file.c: Removed. + * disk/fs_uuid.c: Likewise. + * include/grub/search.h: New file. + * util/grub-install.in: Handle sparc64. + Create and use load.cfg. + * util/sparc64/ieee1275/grub-install.in: Removed. + +2009-12-25 Vladimir Serbinenko + + * kern/i386/pc/startup.S (grub_biosdisk_get_diskinfo_int13_extensions): + Ignore return status if CF is cleared. + (grub_biosdisk_get_diskinfo_standard): Likewise. + +2009-12-25 Robert Millan + + * term/i386/pc/at_keyboard.c + (keyboard_controller_wait_untill_ready): New function. + (grub_keyboard_controller_write, grub_keyboard_controller_read) + (keyboard_controller_led): Use keyboard_controller_wait_untill_ready() + for keyboard polling, rather than duplicate the same loop. This + saves a few bytes in code size. + +2009-12-25 Vladimir Serbinenko + + Support for (pxe[:server[:gateway]]) syntax and + use environment variable for PXE. + + * commands/i386/pc/pxecmd.c (options): Removed. + (print_ip): Removed. + (grub_cmd_pxe): Removed + (grub_cmd_pxe_unload): New function. + * fs/i386/pc/pxe.c (grub_pxe_disk_data): New structure. + (grub_pxe_your_ip): Made static. + (grub_pxe_default_server_ip): Likewise. + (grub_pxe_default_gateway_ip): Likewise. + (grub_pxe_blksize): Likewise. + (parse_ip): New function. + (grub_pxe_open): Support server and gateway specification. + (grub_pxe_close): Free disk->data. + (grub_pxefs_open): Use disk->data. + (grub_pxefs_read): Likewise. + (grub_env_write_readonly): New function. + (set_mac_env): Likewise. + (set_env_limn_ro): Likewise. + (parse_dhcp_vendor): Likewise. + (grub_pxe_detect): Set the environment variables. + (set_ip_env): New function. + (write_ip_env): Likewise. + (grub_env_write_pxe_default_server): Likewise. + (grub_env_write_pxe_default_gateway): Likewise. + (grub_env_write_pxe_blocksize): Likewise. + (GRUB_MOD_INIT(pxe)): Set environment variables. + * include/grub/i386/pc/pxe.h (grub_pxe_mac_addr): Rename to ... + (grub_pxe_mac_addr_t): ... this. All users updated. + (grub_pxe_your_ip): Removed. + (grub_pxe_server_ip): Likewise. + (grub_pxe_gateway_ip): Likewise. + (grub_pxe_blksize): Likewise. + +2009-12-25 Carles Pina i Estany + + * commands/help.c: Include `'. + (grub_cmd_help): Gettextizze. + (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/play.c: Include `'. + (GRUB_MOD_INIT): Gettextizze. + * commands/search.c: Include `'. + (options): Gettextizze. + (GRUB_MOD_INIT): Gettextizze. + * lib/arg.c: Include `'. + (help_options): Gettextizze. + (find_long): Likewise. + (grub_arg_show_help): Likewise. + * normal/dyncmd.c: Include `'. + (read_command_list): Gettextizze. + * po/POTFILES: Add `commands/i386/pc/play.c', `commands/search.c', + `commands/help.c', `lib/arg.c' and `normal/dyncmd.c'. + +2009-12-25 Robert Millan + + * include/grub/i386/at_keyboard.h (NUM_LOCK, SCROLL_LOCK): New macros. + * term/i386/pc/at_keyboard.c (KEYBOARD_STATUS_NUM_LOCK) + (KEYBOARD_LED_SCROLL, KEYBOARD_LED_NUM, KEYBOARD_LED_CAPS): New macros. + (led_status): New variable. + (keyboard_controller_led): New function. + (grub_at_keyboard_getkey_noblock): Handle num lock and scroll lock, + update led status for caps lock, num lock and scroll lock. + +2009-12-25 Felix Zielcke + + * util/hostdisk.c (open_device): Fix a comment. + +2009-12-24 Robert Millan + + * util/grub-install.in (host_os): New variable. + * util/i386/efi/grub-install.in (host_os): Likewise. + +2009-12-24 Robert Millan + + * util/mkisofs/write.c (padblock_write): Abort when given an + excedingly large embed image, instead of silently truncating it. + +2009-12-24 Robert Millan + + * include/multiboot.h: Indentation fixes. + +2009-12-24 Robert Millan + + * include/multiboot.h (struct multiboot_aout_symbol_table) + (struct multiboot_elf_section_header_table): New structure + declarations (stolen from GRUB Legacy). + (struct multiboot_info): Replace opaque `syms' with a.out and ELF + table information. + + (multiboot_aout_symbol_table_t, multiboot_elf_section_header_table_t) + (multiboot_info_t, multiboot_memory_map_t, multiboot_module_t): New + type aliases. + +2009-12-24 Robert Millan + + * include/multiboot.h: Make comments src2texi-friendly. + +2009-12-24 Robert Millan + + For consistency with [multiboot]/docs/boot.S. + + * include/multiboot.h (MULTIBOOT_MAGIC): Rename from this ... + (MULTIBOOT_HEADER_MAGIC): ... to this. Update all users. + (MULTIBOOT_MAGIC2): Rename from this ... + (MULTIBOOT_BOOTLOADER_MAGIC): ... to this. Update all users. + +2009-12-24 Robert Millan + + * include/multiboot.h: Remove `'. + (multiboot_uint16_t, multiboot_uint32_t, multiboot_uint64_t): New + types. Update all users. + +2009-12-25 Carles Pina i Estany + + * commands/efi/loadbios.c: Capitalize acronyms, replace `could not' by + `couldn't' and `can not' by `cannot'. + * commands/i386/pc/drivemap.c: Likewise. + * disk/ata.c: Likewise. + * disk/ieee1275/nand.c: Likewise. + * fs/affs.c: Likewise. + * fs/fat.c: Likewise. + * fs/hfs.c: Likewise. + * fs/hfsplus.c: Likewise. + * fs/iso9660.c: Likewise. + * fs/jfs.c: Likewise. + * fs/minix.c: Likewise. + * fs/reiserfs.c: Likewise. + * fs/sfs.c: Likewise. + * fs/udf.c: Likewise. + * fs/ufs.c: Likewise. + * fs/xfs.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Likewise. + * loader/sparc64/ieee1275/linux.c: Likewise. + * util/grub-probe.c: Likewise. + * util/misc.c: Likewise. + +2009-12-24 Carles Pina i Estany + + * bus/usb/usbhub.c: Fix capitalization, fullstop and newlines in + grub_errno calls. + * commands/acpi.c: Likewise. + * commands/blocklist.c: Likewise. + * commands/efi/loadbios.c: Likewise. + * commands/i386/pc/drivemap.c: Likewise. + * commands/loadenv.c: Likewise. + * commands/memrw.c: Likewise. + * commands/password.c: Likewise. + * commands/videotest.c: Likewise. + * disk/ata.c: Likewise. + * disk/ata_pthru.c: Likewise. + * disk/dmraid_nvidia.c: Likewise. + * disk/ieee1275/nand.c: Likewise. + * disk/ieee1275/ofdisk.c: Likewise. + * disk/loopback.c: Likewise. + * disk/lvm.c: Likewise. + * disk/mdraid_linux.c: Likewise. + * disk/raid.c: Likewise. + * disk/raid6_recover.c: Likewise. + * disk/scsi.c: Likewise. + * efiemu/main.c: Likewise. + * efiemu/mm.c: Likewise. + * efiemu/pnvram.c: Likewise. + * efiemu/symbols.c: Likewise. + * font/font.c: Likewise. + * fs/cpio.c: Likewise. + * fs/hfsplus.c: Likewise. + * fs/iso9660.c: Likewise. + * fs/jfs.c: Likewise. + * fs/minix.c: Likewise. + * fs/ntfs.c: Likewise. + * fs/ntfscomp.c: Likewise. + * fs/reiserfs.c: Likewise. + * fs/ufs.c: Likewise. + * fs/xfs.c: Likewise. + * gettext/gettext.c: Likewise. + * include/grub/auth.h: Likewise. + * kern/elf.c: Likewise. + * kern/file.c: Likewise. + * kern/ieee1275/init.c: Likewise. + * kern/ieee1275/mmap.c: Likewise. + * kern/ieee1275/openfw.c: Likewise. + * kern/powerpc/dl.c: Likewise. + * kern/sparc64/dl.c: Likewise. + * lib/arg.c: Likewise. + * loader/i386/bsd.c: Likewise. + * loader/i386/bsdXX.c: Likewise. + * loader/i386/efi/linux.c: Likewise. + * loader/i386/efi/xnu.c: Likewise. + * loader/i386/ieee1275/linux.c: Likewise. + * loader/i386/linux.c: Likewise. + * loader/i386/multiboot.c: Likewise. + * loader/i386/pc/linux.c: Likewise. + * loader/i386/pc/multiboot2.c: Likewise. + * loader/i386/xnu.c: Likewise. + * loader/ieee1275/multiboot2.c: Likewise. + * loader/macho.c: Likewise. + * loader/machoXX.c: Likewise. + * loader/multiboot2.c: Likewise. + * loader/multiboot_loader.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Likewise. + * loader/sparc64/ieee1275/linux.c: Likewise. + * loader/xnu.c: Likewise. + * loader/xnu_resume.c: Likewise. + * mmap/i386/pc/mmap.c: Likewise. + * normal/menu_viewer.c: Likewise. + * partmap/acorn.c: Likewise. + * partmap/amiga.c: Likewise. + * partmap/apple.c: Likewise. + * script/lexer.c: Likewise. + * term/gfxterm.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/i386/pc/vga.c: Likewise. + * term/ieee1275/ofconsole.c: Likewise. + * term/terminfo.c: Likewise. + * video/bitmap.c: Likewise. + * video/efi_gop.c: Likewise. + * video/efi_uga.c: Likewise. + * video/fb/video_fb.c: Likewise. + * video/i386/pc/vbe.c: Likewise. + * video/readers/tga.c: Likewise. + * video/video.c: Likewise. + +2009-12-23 Felix Zielcke + + * commands/i386/pc/drivemap.c: Remove all trailing whitespace. + * commands/lspci.c: Likewise. + * commands/probe.c: Likewise. + * commands/xnu_uuid.c: Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * fs/i386/pc/pxe.c: Likewise. + * gettext/gettext.c: Likewise. + * include/grub/efi/graphics_output.h: Likewise. + * include/grub/i386/pc/memory.h: Likewise. + * kern/env.c: Likewise. + * kern/i386/qemu/startup.S: Likewise. + * lib/i386/pc/biosnum.c: Likewise. + * lib/i386/relocator.c: Likewise. + * lib/i386/relocator_asm.S: Likewise. + * lib/relocator.c: Likewise. + * loader/i386/bsd.c: Likewise. + * loader/i386/multiboot.c: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * loader/i386/xnu.c: Likewise. + * loader/xnu.c: Likewise. + * normal/main.c: Likewise. + * normal/menu_text.c: Likewise. + * util/getroot.c: Likewise. + * util/grub-mkconfig_lib.in: Likewise. + * util/grub.d/00_header.in: Likewise. + * util/i386/pc/grub-mkimage.c: Likewise. + * util/mkisofs/eltorito.c: Likewise. + * util/mkisofs/exclude.h: Likewise. + * util/mkisofs/hash.c: Likewise. + * util/mkisofs/iso9660.h: Likewise. + * util/mkisofs/joliet.c: Likewise. + * util/mkisofs/mkisofs.c: Likewise. + * util/mkisofs/mkisofs.h: Likewise. + * util/mkisofs/multi.c: Likewise. + * util/mkisofs/name.c: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/tree.c: Likewise. + * util/mkisofs/write.c: Likewise. + * video/efi_gop.c: Likewise. + +2009-12-23 Vladimir Serbinenko + + * video/efi_gop.c (grub_video_gop_get_bitmask): Fix off-by-one in mask + size counting. + +2009-12-22 Felix Zielcke + + * util/grub-mkrescue.in (pkglib_DATA): Set to @pkglib_DATA@. + * genmk.rb (class SCRIPT): Modify the target file instead of source. + +2009-12-22 Vladimir Serbinenko + + * commands/memrw.c (grub_cmd_write): Support for mask parameter. + (GRUB_MOD_INIT(memrw)): Update help line. + +2009-12-22 Vladimir Serbinenko + + * commands/memrw.c (cmd_read_byte, cmd_read_word, cmd_read_dword): + Use grub_extcmd_t. All users updated. + (options): New variable. + (grub_cmd_read): Restructure for readability. Support "-v" option. + (grub_cmd_write): Restructure for readability. + +2009-12-22 Felix Zielcke + + * genmk.rb (class SCRIPT): Prepend #{src} path with $(srcdir). + +2009-12-22 Felix Zielcke + + * genmk.rb (class SCRIPT): Use sed to substitute @pkglib_DATA@ + with the actual contents of the correspondending make variable. + * util/grub-mkrescue.in (pkglib_DATA): New variable. + (process_input_dir): Copy all $pkglib_DATA files instead of explicitly + specifying `*.lst' and `efiemu??.o' + +2009-12-22 Felix Zielcke + + * util/grub.d/30_os-prober.in (osx_entry): Add round brackets + after function name. + Noticed by Rene Engelhard . + +2009-12-22 Vladimir Serbinenko + + * commands/lspci.c (grub_pci_classes): Add "USB Controller". + (options): New variable. + (iospace): Likewise. + (grub_lspci_iter): List IO spaces if "-i" was given. + (grub_cmd_lspci): Parse options. + (GRUB_MOD_INIT(lspci)): Use extcmd. + (GRUB_MOD_FINI(lspci)): Likewise. + +2009-12-22 Felix Zielcke + + * util/grub.d/30_os-prober.in (osx_entry): Remove non POSIX compliant + `function' keyword. + Patch by Tony Mancill . + +2009-12-22 Vladimir Serbinenko + + * bus/usb/uhci.c (grub_uhci_transfer): Set a limit transaction time. + (grub_uhci_portstatus): Likewise. + (grub_uhci_portstatus): Add necessary delay. + * bus/usb/usbhub.c (grub_usb_hub_add_dev): Fix loop-break condition. + +2009-12-21 Carles Pina i Estany + + * commands/acpi.c (options): Fix capitalizations and/or full stops. + (GRUB_MOD_INIT): Likewise. + * commands/boot.c (GRUB_MOD_INIT): Likewise. + * commands/cmp.c (grub_cmd_cmp): Improve the help message. + * commands/echo.c (options): Fix capitalizations and/or full stops. + * commands/efi/loadbios.c (enable_rom_area): Likewise. + (enable_rom_area): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/gptsync.c (GRUB_MOD_INIT): Likewise. + * commands/halt.c (GRUB_MOD_INIT): Improve the help message. + * commands/handler.c (GRUB_MOD_INIT): Likewise. + * commands/hdparm.c (options): Fix capitalizations and/or full stops. + * commands/hexdump.c (options): Likewise. + * commands/i386/cpuid.c (options): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/drivemap.c (options): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/halt (options): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/pxecmd.c (options): Likewise. + * commands/i386/pc/vbetest.c (GRUB_MOD_INIT): Likewise. + * commands/ieee1275/suspend.c (GRUB_MOD_INIT): Likewise. + * commands/keystatus.c (options): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/loadenv.c (options): Likewise. + * commands/ls.c (options): Likewise. + * commands/lspci.c (GRUB_MOD_INIT): Likewise. + * commands/memrw.c (GRUB_MOD_INIT): Likewise. + * commands/minicmd.c (GRUB_MOD_INIT): Likewise. + * commands/parttool.c (helpmsg): Likewise. + * commands/probe.c (options): Likewise. + * commands/read.c (GRUB_MOD_INIT): Likewise. + * commands/reboot.c (GRUB_MOD_INIT): Likewise. + * commands/search.c (options): Likewise. + * commands/sleep.c (options): Likewise. + * commands/test.c (GRUB_MOD_INIT): Likewise. + * commands/true.c (GRUB_MOD_INIT): Likewise. + * commands/usbtest.c (GRUB_MOD_INIT): Likewise. + * commands/videotest.c (GRUB_MOD_INIT): Likewise. + * lib/arg.c (help_options): Likewise. + * Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass -ctranslate to + `$(XGETTEXT)'. + * po/POTFILES: Add `commands/loadenv.c'. + +2009-12-21 Felix Zielcke + + * util/grub-mkrescue.in (process_input_dir): Copy `*.lst' files + instead of specifying them explicit. + +2009-12-21 Robert Millan + + * NEWS: Add grub-probe support for GNU/Hurd. + +2009-12-21 Robert Millan + + * NEWS: gettext was added after 1.97. + +2009-12-21 Robert Millan + + * util/mkisofs/msdos_partition.h: New file (based on + include/grub/msdos_partition.h). + * util/mkisofs/mkisofs.c (use_protective_msdos_label): New variable. + (OPTION_PROTECTIVE_MSDOS_LABEL): New macro. + (ld_options, main): Recognize --protective-msdos-label. + * util/mkisofs/mkisofs.h (use_protective_msdos_label): New declaration. + * util/mkisofs/write.c: Include `"msdos_partition.h"'. + (padblock_write): If `use_protective_msdos_label' is set, patch a + protective DOS-style label in the output image. + + * util/grub-mkrescue.in: Use --protective-msdos-label. + +2009-12-21 Robert Millan + + * util/grub-mkrescue.in: Do not zero-pad image for BIOS-based disk + boot. + +2009-12-21 Robert Millan + + * util/mkisofs/mkisofs.c (use_embedded_boot, boot_image_embed): New + variables. + (ld_options, main): Recognize `--embedded-boot'. + * util/mkisofs/mkisofs.h (use_embedded_boot, boot_image_embed): New + declarations. + * util/mkisofs/write.c (PADBLOCK_SIZE): New variable. + (padblock_size): Use `PADBLOCK_SIZE' instead of hardcoding 16. + (padblock_write): Likewise. Rewrite to support embedded boot image. + + * util/grub-mkrescue.in: When building i386-pc images, embed core.img + for BIOS-based disk boot instead of only ElTorito. + +2009-12-21 Robert Millan + + * util/grub-mkrescue.in: Remove `configfile' and `sh' from i386-pc + build (not needed for bootstrap). + +2009-12-21 Robert Millan + + * util/grub-mkrescue.in: Remove `memdisk', `tar' and `search' modules + from i386-pc build (not needed for bootstrap). + Rewrite a pair of strings. + +2009-12-21 Robert Millan + + * normal/main.c (grub_normal_reader_init): Set left margin back to 3. + +2009-12-21 Vladimir Serbinenko + + * video/i386/pc/vbe.c (grub_video_vbe_fini): Set 'last_set_mode'. + +2009-12-21 Andreas Born + + * kern/env.c (grub_env_context_open): Mark exported variable for + reexport. + +2009-12-21 Andreas Born + + * kern/env.c (grub_env_export): Create nonexistent variables before + exporting. + +2009-12-20 Carles Pina i Estany + + * include/grub/auth.h: Include `'. + (GRUB_GET_PASSWORD): Gettextizze string. + * include/grub/normal.h (STANDARD_MARGIN): New macro, moved from + menu_text.c. + (grub_utf8_to_ucs4_alloc): Fix indentation. + (grub_print_ucs4): Likewise. + (grub_getstringwidth): Likewise. + (print_message_indented): New declaration. + * normal/auth.c: Include `'. + (grub_auth_check_authentication): Gettexttize string. + * normal/cmdline.c: Include `'. + (grub_cmdline_get): Gettextizze. + * normal/color.c: Include `'. + (grub_parse_color_name_pair): Gettexttize strings. + * normal/main.c (grub_normal_reader_init): Cleanup gettexttized + string (use `print_message_indented'). + * normal/menu_text.c (STANDARD_MARGIN): Moved from here to + `include/grub/normal.h'. + (print_message_indented): Renamed to ... + (grub_print_message_indented): ... this. Remove `static' qualifer (now + used in normal/main.c). + (print_message): Use `grub_print_message_indented' instead of + `print_message_indented'. + (print_timeout): Likewise. + * normal/misc.c: Include `' and `'. + (grub_normal_print_device_info): Gettexttize strings. + * po/POTFILES: Add `auth.c', `color.c' and `misc.c'. + +2009-12-20 Vladimir Serbinenko + + * kern/parser.c (grub_parser_split_cmdline): Fix incorrect counting + of arguments. Return number of tokens and not arguments. All users + updated. + +2009-12-20 Vladimir Serbinenko + + * util/i386/pc/grub-setup.c (setup): Don't install on non-GPT, + non-MSDOS paritions. + +2009-12-19 Vladimir Serbinenko + + * include/grub/types.h (UNUSED): Removed since it conflicts with + NetBSD headers. All users changed to direct __attribute__ ((unused)). + Reported by Grégoire Sutre. + +2009-12-19 Carles Pina i Estany + + * include/grub/normal.h (grub_utf8_to_ucs4): New declaration. + (grub_print_ucs4_alloc): Likewise. + (grub_getstringwidth): Likewise. + * normal/main.c (grub_normal_init_page): Gettextize version string. + * normal/menu_text.c (grub_utf8_to_ucs4_alloc): New definition. + (getstringwidth): Renamed to ... + (grub_getstringwidth): ... this. Remove `static' qualifier (now used + in normal/main.c). Use `grub_utf8_to_ucs4_alloc'. + (grub_print_ucs4): Remove `static' qualifer (now used in + normal/main.c). + * po/POTFILES: Add normal/main.c. + +2009-12-19 Carles Pina i Estany + + * normal/menu_text.c (STANDARD_MARGIN): New macro. + (print_message_indented): Add `margin_left' and `margin_right' + parameters. + (print_message): Update `print_message_indented' calls. Adds '\n' to the + strings. + (print_timeout): Use `print_message_indented' to print the message. + Deletes `second_stage' parameter. + (run_menu): Update `print_timeout' calls. + +2009-12-18 Vladimir Serbinenko + + Fix console palette on OpenFirmware. + + * term/ieee1275/ofconsole.c (MAX): Removed. + (colors): Redone based on VGA palette. + (grub_ofconsole_setcolor): Discard brightness bit since only 8 + colors are supported. + (grub_ofconsole_init_output): Use ARRAY_SIZE instead of hardcoded size. + +2009-12-18 Vladimir Serbinenko + + Fix potential EfiEmu double prepare. + + * efiemu/main.c (prepared): New variable + (grub_efiemu_unload): Set prepare to '0'. + (grub_efiemu_prepare): Return if already prepared. Set prepared. + + set_virtual_address_map support. + + * include/grub/efi/efi.h (grub_efi_set_virtual_address_map): New + prototype. + * include/grub/efiemu/efiemu.h (grub_efiemu_write_sym_markers): New + prototype. + (grub_efiemu_crc32): Likewise. + (grub_efiemu_crc64): Likewise. + (grub_efiemu_set_virtual_address_map): Likewise. + * include/grub/autoefi.h (grub_autoefi_exit_boot_services): + New definition. + (grub_autoefi_set_virtual_address_map): Likewise. + * kern/efi/efi.c (grub_efi_set_virtual_address_map): New function. + * loader/i386/xnu.c (grub_xnu_boot): Call set_virtual_address_map. + Restructure flow to accomodate it. + * efiemu/prepare.c (grub_efiemu_prepare): Support set_virtual_address_map. + (grub_efiemu_crc): Recompute CRC32. + * efiemu/runtime/efiemu.c (ptv_relocated): Renamed to ... + (efiemu_ptv_relocated): ... this. Made global. All users updated. + * efiemu/symbols.c (relocated_handle): New variable. + (grub_efiemu_free_syms): Free relocated_handle. + (grub_efiemu_alloc_syms): Allocate relocated_handle. + (grub_efiemu_write_sym_markers): New function. + (grub_efiemu_set_virtual_address_map): Likewise. + + Newer XNU parameters. + + * include/grub/i386/xnu.h (GRUB_XNU_BOOTARGS_VERMINOR): Change to 5. + * include/grub/xnu.h (grub_xnu_extheader): Add nameaddr and namesize. + (grub_xnu_fill_devicetree): New prototype. + (grub_xnu_heap_real_start): New variable. + * loader/xnu.c (get_name_ptr): New function. + (grub_xnu_load_driver): Fill namelen and name. + + 64-bit xnu support. + + * conf/i386-efi.rmk (xnu_mod_SOURCES): Add 'loader/macho32.c' + and 'loader/macho64.c'. + * conf/i386-pc.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * include/grub/i386/macho.h (grub_macho_thread64): New structure. + * include/grub/xnu.h (grub_xnu_is_64bit): New variable. + * include/grub/macho.h (grub_macho_segment64): New structure. + * include/grub/machoload.h (grub_macho32_size): Renamed from ... + (grub_macho_size32): ... to this. + (grub_macho32_get_entry_point): Renamed from ... + (grub_macho_get_entry_point32): ... to this. + (grub_macho_contains_macho64): New prototype. + (grub_macho_size64): Likewise. + (grub_macho_get_entry_point64): Likewise. + (grub_macho32_load): Renamed from ... + (grub_macho_load32): ... to this. + (grub_macho32_filesize): Renamed from ... + (grub_macho_filesize32): ... to this. + (grub_macho32_readfile): Renamed from ... + (grub_macho_readfile32): ... to this. + (grub_macho_filesize64): New prototype. + (grub_macho_readfile64): Likewise. + (grub_macho_parse32): Likewise. + (grub_macho_parse64): Likewise. + * loader/macho.c: Split into ... + * loader/machoXX.c: ... and this. Replace 32 with XX. + * loader/macho32.c: New file. + * loader/macho64.c: Likewise. + * loader/xnu.c (grub_xnu_is_64bit): New variable. + (grub_cmd_xnu_kernel): Make 32-bit only. + (grub_cmd_xnu_kernel64): New function. + (grub_xnu_load_driver): Support Mach-O 64. + (grub_cmd_xnu_mkext): Likewise. + * util/grub.d/30_os-prober.in (osx_entry): New function. + Generate entries for 64-bit boot too. + + Eliminate ad-hoc tree format in XNU and EfiEmu. + + * efiemu/main.c (grub_efiemu_prepare): Update comment. + * efiemu/pnvram.c: Rewritten to use environment variables. + All users updated. + + Inline utf16_to_utf8. + + * kern/misc.c (grub_utf16_to_utf8): Move from here ... + * include/grub/charset.h (grub_utf16_to_utf8): ... to here. Inlined. + All users updated. + * include/grub/misc.h (grub_utf16_to_utf8): Removed. + + * bus/usb/usb.c (grub_usb_get_string): Move from here ... + * commands/usbtest.c (grub_usb_get_string): ... move here. + (usb_print_str): Fix error handling. + * include/grub/usb.h (grub_usb_get_string): Remove. + + UTF-8 to UTF-16 transformation. + + * conf/common.rmk (pkglib_MODULES): Add charset.mod + (charset_mod_SOURCES): New variable. + (charset_mod_CFLAGS): Likewise. + (charset_mod_LDFLAGS): Likewise. + * include/grub/utf.h: New file. + * lib/utf.c: New file. (Based on grub_utf8_to_ucs4 from kern/misc.c) + + Support for device properties. + + * include/grub/i386/xnu.h (grub_xnu_devprop_header): New structure. + (grub_xnu_devprop_device_header): Likewise. + (grub_xnu_devprop_device_descriptor): Likewise. + (grub_xnu_devprop_add_device): New prototype. + (grub_xnu_devprop_remove_device): Likewise. + (grub_xnu_devprop_remove_property): Likewise. + (grub_xnu_devprop_add_property_utf8): Likewise. + (grub_xnu_devprop_add_property_utf16): Likewise. + (grub_cpu_xnu_init): Likewise. + (grub_cpu_xnu_fini): Likewise. + (grub_cpu_xnu_unload): Likewise. + * loader/i386/xnu.c (grub_xnu_devprop_device_descriptor): New structure. + (property_descriptor): Likewise. + (devices): New variable. + (grub_xnu_devprop_remove_property): New function. + (grub_xnu_devprop_add_device): Likewise. + (grub_xnu_devprop_remove_device): Likewise. + (grub_xnu_devprop_add_property): Likewise. + (grub_xnu_devprop_add_property_utf8): Likewise. + (grub_xnu_devprop_add_property_utf16): Likewise. + (hextoval): Likewise. + (grub_cpu_xnu_fill_devprop): Likewise. + (grub_cmd_devprop_load): Likewise. + (grub_xnu_boot): Call grub_cpu_xnu_fill_devprop, + grub_xnu_fill_devicetree, grub_xnu_fill_devicetree + (cmd_devprop_load): New variable. + (grub_cpu_xnu_init): New function. + (grub_cpu_xnu_fini): Likewise. + * loader/i386/xnu.c (grub_xnu_unload): Call grub_cpu_xnu_unload. + * loader/xnu.c (grub_xnu_parse_devtree): Remove. + (grub_cmd_xnu_devtree): Likewise. + (hextoval): New function. + (unescape): Likewise. + (grub_xnu_fill_devicetree): Likewise. + + * util/grub.d/30_os-prober.in: Load devprop.bin. Don't load devtree.txt. + * util/i386/efi/grub-dumpdevtree: Generate devprop.bin. + +2009-12-18 Vladimir Serbinenko + + Workaround for broken ATI VBE. + + * video/i386/pc/vbe.c (last_set_mode): New variable. + (grub_vbe_set_video_mode): Set 'last_set_mode'. + (grub_vbe_get_video_mode): Use 'last_set_mode' if get_mode fails. + (grub_video_vbe_setup): Don't check for reserved flag. + +2009-12-17 Felix Zielcke + + * gendistlist.sh: Use POSIX compliant `!' instead of `-not' in + the `find' command. + +2009-12-16 Vladimir Serbinenko + + UUID support for HFS. + + * fs/hfs.c (grub_hfs_uuid): New function. + (grub_hfs_fs): New value .uuid. + * include/grub/hfs.h (grub_hfs_sblock): New field 'num_serial'. + +2009-12-14 Felix Zielcke + + Fix a segfault with parsing unknown long options. + + * util/grub-mkrelpath.c (options): Zero terminate it. + +2009-12-13 Carles Pina i Estany + + * include/grub/misc.h (grub_puts): New declaration. + (grub_puts_): Likewise. + * kern/misc.c (grub_puts): New definition. + (grub_puts_): Likewise. + +2009-12-13 Robert Millan + + * util/grub-probe.c (probe): Improve error message. + +2009-12-13 Robert Millan + + * loader/i386/multiboot_elfxx.c + (CONCAT(grub_multiboot_load_elf, XX)): Fix `grub_multiboot_payload_eip' + initialization. + +2009-12-13 Vladimir Serbinenko + + Relocator framework + + * loader/i386/xnu_helper.S: Removed. All users updated. + * conf/i386.rmk (pkglib_MODULES): Add relocator.mod. + (relocator_mod_SOURCES): New variable. + (relocator_mod_CFLAGS): Likewise. + (relocator_mod_LDFLAGS): Likewise. + (relocator_mod_ASFLAGS): Likewise. + * conf/x86_64.rmk: Likewise. + * include/grub/i386/multiboot.h (grub_multiboot_payload_orig): Removed. + (grub_multiboot_payload_entry_offset): Likewise. + (grub_multiboot_forward_relocator): Likewise. + (grub_multiboot_forward_relocator_end): Likewise. + (grub_multiboot_backward_relocator): Likewise. + (grub_multiboot_backward_relocator_end): Likewise. + (grub_multiboot_payload_eip): New variable. + (grub_multiboot_payload_orig): Likewise. + * include/grub/i386/pc/memory.h: Include grub/i386/memory.h. + (GRUB_MEMORY_MACHINE_CR0_PE_ON): Move from here ... + * include/grub/i386/memory.h + (GRUB_MEMORY_CPU_CR0_PE_ON): ... to here + (GRUB_MEMORY_CPU_CR4_PAE_ON): New definition. + (GRUB_MEMORY_CPU_CR0_PAGING_ON): Likewise. + (GRUB_MEMORY_CPU_AMD64_MSR): Likewise. + (GRUB_MEMORY_CPU_AMD64_MSR_ON): Likewise. + * include/grub/i386/relocator.h: New file. + * include/grub/x86_64/relocator.h: Likewise. + * include/grub/i386/xnu.h: Include grub/cpu/relocator.h. + (XNU_RELOCATOR): New macro. + (grub_xnu_launcher_start): Remove. + (grub_xnu_launcher_end): Likewise. + * include/grub/xnu.h (grub_xnu_boot_resume): New prototype. + (grub_xnu_heap_real_start): Remove. + (grub_xnu_heap_start): Change to void *. All users updated. + * kern/i386/realmode.S (real_to_prot): Use GRUB_MEMORY_CPU_CR0_PE_ON. + * lib/i386/relocator.c: New file. + * lib/i386/relocator_asm.S: Likewise. + * lib/i386/relocator_backward.S: Likewise. + * lib/mips/relocator.c: Likewise. + * lib/mips/relocator_asm.S: Likewise. + * lib/relocator.c: Likewise. + * loader/i386/multiboot.c: Include grub/i386/relocator.h. + (entry): Removed. + (playground): Likewise. + (grub_multiboot_payload_orig): New variable. + (grub_multiboot_payload_dest): Likewise. + (grub_multiboot_payload_size): Likewise. + (grub_multiboot_payload_eip): Likewise. + (grub_multiboot_payload_esp): Likewise. + (grub_multiboot_boot): Use grub_relocator32_boot. + (grub_multiboot_unload): Free relocators. + (grub_multiboot): Setup stack. Use relocators. + * loader/i386/multiboot_elfxx.c: Include grub/i386/relocator.h. + (grub_multiboot_load_elfXX): Use relocators. + * loader/i386/multiboot_helper.S (grub_multiboot_payload_orig): Removed. + (grub_multiboot_payload_size): Likewise. + (grub_multiboot_payload_dest): Likewise. + (grub_multiboot_payload_entry_offset): Likewise. + (grub_multiboot_forward_relocator): Likewise. + (grub_multiboot_backward_relocator): Likewise. + (grub_multiboot_real_boot): Likewise. + * loader/i386/xnu.c (grub_xnu_heap_will_be_at): New variable. + (grub_xnu_entry_point): Likewise. + (grub_xnu_arg1): Likewise. + (grub_xnu_stack): Likewise. + (grub_xnu_launch): Removed. + (grub_xnu_boot_resume): New function. + (grub_xnu_boot): Use relocators. + * loader/i386/xnu_helper.S: Removed. + * loader/xnu.c (grub_xnu_heap_start): New variable. + (grub_xnu_heap_size): Likewise. + (grub_xnu_heap_malloc): Use relocators. + * loader/xnu_resume.c (grub_xnu_resume): Use relocators. + +2009-12-13 Vladimir Serbinenko + + * kern/i386/pc/startup.S (multiboot_entry): Setup stack before calling + anything. + +2009-12-13 Carles Pina i Estany + + * script/execute.c (grub_script_execute_cmdline): Set grub_errno to + GRUB_ERR_NONE before calling grub_env_set. + +2009-12-12 Robert Millan + + * gendistlist.sh (EXTRA_DISTFILES): Add `genvideolist.sh'. + * genmk.rb (video): New variable. + (CLEANFILES, VIDEOFILES): Add #{video}. + (#{video}): New target rule. + * genvideolist.sh: New file. + * Makefile.in (pkglib_DATA): Add video.lst. + (video.lst): New target rule. + * util/grub-mkconfig.in: Initialize ${GRUB_VIDEO_BACKEND} using + `video.lst'. + * util/grub.d/30_os-prober.in: Replace `vbe' with + ${GRUB_VIDEO_BACKEND}. + +2009-12-11 Robert Millan + + * THANKS: Add David Miller. + +2009-12-11 Vladimir Serbinenko + + libpciaccess support. + + * Makefile.in (LIBPCIACCESS): New variable. + (enable_grub_emu_pci): Likewise. + * conf/any-emu.rmk (grub_emu_SOURCES) [enable_grub_emu_pci]: Add + util/pci.c and commands/lspci.c. + (grub_emu_LDFLAGS) [enable_grub_emu_pci]: Add $(LIBPCIACCESS). + * configure.ac (grub-emu-pci): New option. + * include/grub/i386/pci.h (grub_pci_device_map_range): New function. + (grub_pci_device_unmap_range): Likewise. + * include/grub/pci.h [GRUB_UTIL]: Include grub/pciutils.h. + (grub_pci_device) [!GRUB_UTIL]: New structure. All users updated. + (grub_pci_address_t) [!GRUB_UTIL]: New type. + (grub_pci_device_t) [!GRUB_UTIL]: Likewise. + (grub_pci_get_bus) [!GRUB_UTIL]: New function. + (grub_pci_get_device) [!GRUB_UTIL]: Likewise. + (grub_pci_get_function) [!GRUB_UTIL]: Likewise. + * include/grub/pciutils.h: New file. + * util/pci.c: Likewise. + +2009-12-11 Felix Zielcke + + * util/misc.c: Don't include twice. + +2009-12-10 Felix Zielcke + + * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Show the disk + name in an error message. + (grub_biosdisk_rw): Likewise. + +2009-12-10 Vladimir Serbinenko + + Eliminate NTFS 4Gib barrier. + + * fs/ntfs.c (read_attr): Use grub_disk_addr_t and grub_size_t. + (read_run_data): Likewise. + (grub_ntfs_read_run_list): Likewise. + (grub_ntfs_read_block): Likewise. + (grub_ntfs_iterate_dir): Likewise. + (read_mft): Likewise. + (read_data): Likewise. + Use COM_LOG_LEN. + * fs/ntfscomp.c (read_block): Cast ctx->target_vcn & 0xF to unsigned + to avoid 64-bit division + * include/grub/ntfs.h (COM_LOG_LEN): New definition. + (grub_ntfs_rlst): Use grub_disk_addr_t. + +2009-12-10 Vladimir Serbinenko + + Eliminate grub-fstest 4Gib barrier. + + * util/grub-fstest.c (skip, leng): Use grub_disk_addr_t. + (read_file): Fix error reporting. + +2009-12-10 Vladimir Serbinenko + + Eliminate hexdump 4Gib barrier. + + * commands/hexdump.c (grub_cmd_hexdump): Use grub_disk_addr_t. + * lib/arg.c (grub_arg_parse): Use grub_strtoull. + +2009-12-10 Vladimir Serbinenko + + * kern/device.c (grub_device_iterate): Ignore errors during first scan. + Fixes amarsh bug. + +2009-12-09 Bruce Dubbs + + Remove miscellaneous files in distclean target. + + * Makefile.in: Remove docs/{grub.info,version.texi,stamp-vti} + +2009-12-09 Colin Watson + + * util/grub-mkconfig_lib.in: Don't set grub_probe or grub_mkrelpath + if they're already set. This resolves the conflict between my + grub-install change on 2009-10-06 and Felix' change on 2009-11-11, + fixing the --grub-probe option again. + * util/sparc64/ieee1275/grub-install.in: Revert the last piece of my + change on 2009-10-06, so that we now once again source + `${libdir}/grub/grub-mkconfig_lib' after options have been parsed. + +2009-12-08 Robert Millan + + * conf/common.rmk [sparc64-ieee1275] (grub_mkdevicemap_SOURCES): Use + `util/ieee1275/ofpath.c' and `util/ieee1275/devicemap.c' instead of + `util/devicemap.c'. + +2009-12-08 Carles Pina i Estany + + * include/grub/misc.h (grub_printf_): New declaration. + * kern/misc.c (grub_printf_): New definition. + * normal/main.c (grub_normal_reader_init): Use `grub_printf_' and `N_' + instead of `grub_printf' and `_'. + * normal/menu_entry.c (store_completion): Likewise. + (run): Likewise. + (grub_menu_entry_run): Likewise. + * normal/menu_text.c (grub_wait_after_message): Likewise. + (notify_booting): Likewise. + (notify_fallback): Likewise. + (notify_execution_failure): Likewise. + +2009-12-07 Colin Watson + + * configure.ac: Check for vasprintf. + * util/misc.c (asprintf): Move allocation from here ... + (vasprintf): ... to here. New function. + (xasprintf): New function. + * include/grub/util/misc.h (vasprintf, xasprintf): Add + prototypes. + * util/getroot.c (grub_util_get_grub_dev): Use xasprintf. + * util/grub-mkfont.c (write_font): Likewise. + * util/grub-probe.c (probe): Likewise. + * util/hostdisk.c (make_device_name): Likewise. + +2009-12-06 David S. Miller + + * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Recognize + anything even prefixed with 'cdrom' as a cdrom. + +2009-12-06 Felix Zielcke + + * util/misc.c (make_system_path_relative_to_its_root): Correctly cope with + mount points. + +2009-12-05 Carles Pina i Estany + + * gettext/gettext.c: Include `'. Define grub_gettext_msg, + grub_gettext_msg_list. + (grub_gettext_gettranslation_from_position): Return const char * + and not char *. + (grub_gettext_translate): Add the translated strings into a list, + returns from the list if existing there. + (grub_gettext_init_ext): Add \n at the end of grub_dprintf string. + (grub_gettext_delete_list): Delete the list. + (grub_gettext_env_write_lang): Call grub_gettext_delete_list when + lang environment variable is changed. + (GRUB_MOD_FINI): Call grub_gettext_delete_list. + +2009-12-05 Vladimir Serbinenko + + Rename kernel.mod to kernel.img. + + * conf/i386-efi.rmk (pkglib_MODULES): Change kernel.mod to kernel.img. + (kernel_mod_EXPORTS): Rename to ... + (kernel_img_EXPORTS): ... this. + (kernel_mod_SOURCES): Rename to ... + (kernel_img_SOURCES): ... this. + (kernel_mod_HEADERS): Rename to ... + (kernel_img_HEADERS): ... this. All users updated. + (kernel_mod_CFLAGS): Rename to ... + (kernel_img_CFLAGS): ... this. + (kernel_mod_ASFLAGS): Rename to ... + (kernel_img_ASFLAGS): ... this. + (kernel_mod_LDFLAGS): Rename to ... + (kernel_img_LDFLAGS): ... this. + * conf/x86_64-efi.rmk: Likewise. + * util/i386/efi/grub-mkimage.c (read_kernel_module): Rename to ... + (read_kernel_image): ... this. All users updated. + (read_kernel_image): Read "kernel.img" instead of "kernel.mod". + +2009-12-05 Carles Pina i Estany + + * normal/menu_text.c (grub_color_menu_high): Gettexttize string. + (print_spaces): New function. + (grub_print_ucs4): New function. + (getstringwidth): New function. + (print_message_indented): New function. + (print_message): Gettexttize strings using print_message_indented. + (run_menu): Replaces grub_printf by print_spaces and dynamic terminal + width. + (get_entry_number): Gettextize and uses dynamic terminal width. + (notify_booting, notify_fallback, notify_execution_failure): + Gettextize. + * normal/menu_entry.c (store_completion): Cleanup the gettextized + string. + (run): Likewise. + (grub_menu_entry_run): Likewise. + * PO/POTFILES: Add normal/menu_entry.c. + +2009-12-05 Vladimir Serbinenko + + * configure.ac (TARGET_ASFLAGS): Add "-D". + +2009-12-05 Carles Pina i Estany + + * util/grub-install.in: Install gettext .mo files. + * util/grub-mkrescue.in (process_input_dir): Copy gettext .mo files. + +2009-12-05 Carles Pina i Estany + + * gettext/gettext.c (grub_gettext_init_ext): Replace grub_printf with + grub_dprintf. + +2009-12-05 Robert Millan + + * kern/ieee1275/openfw.c (grub_reboot): Disable for i386. The + non-firmware-dependant one in realmode.S takes precedence. + +2009-12-04 Robert Millan + + * commands/halt.c: Replace misc arch-specific headers with + `'. + * commands/reboot.c: Likewise. + * commands/i386/pc/halt.c: Replace `' with + `'. + * conf/i386-coreboot.rmk (kernel_img_HEADERS): Remove `cpu/reboot.h'. + (halt_mod_SOURCES): Move `kern/i386/halt.c' from here ... + (kernel_img_SOURCES): ... to here. + + * include/grub/efi/efi.h (grub_reboot, grub_halt): Remove prototypes. + * include/grub/i386/pc/init.h: Likewise. + * include/grub/powerpc/ieee1275/kernel.h: Likewise. + * include/grub/sparc64/ieee1275/kernel.h: Likewise. + + * include/grub/misc.h (grub_reboot, grub_halt): New prototypes. + + * include/grub/i386/halt.h: Remove. + * include/grub/i386/reboot.h: Likewise. + + * kern/i386/halt.c: Remove `'. + +2009-12-03 David S. Miller + + * conf/sparc64-ieee1275.rmk (grub_mkimage_SOURCES, + grub_setup_SOURCES, grub_ofpathname_SOURCES): Add gnulib/progname.c + * util/sparc64/ieee1275/grub-mkimage.c: Include and + "progname.h" + * util/sparc64/ieee1275/grub-ofpathname.c: Likewise. + * util/sparc64/ieee1275/grub-setup.c: Likewise. + (usage): Add missing comma in printf. + +2009-12-02 Robert Millan + + Use the same reboot approach on i386 coreboot and qemu as we do on + BIOS. + + * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add `cpu/reboot.h'. + (reboot_mod_SOURCES): Remove `kern/i386/reboot.c'. + * kern/i386/reboot.c: Remove. + * include/grub/i386/reboot.h (grub_reboot): Export function. + * kern/i386/pc/startup.S (grub_reboot): Move from here ... + * kern/i386/realmode.S (grub_reboot): ... to here. Jump to + 0xf000:0xfff0 instead of 0xffff:0x0000. + [!GRUB_MACHINE_PCBIOS] (prot_to_real): Do not restore interrupts. + * kern/i386/qemu/startup.S: Include `"../realmode.S"'. + +2009-11-30 Robert Millan + + Fix $srcdir != $objdir build. + + * Makefile.in (po/%.po): Rewrite as ... + ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): ... this. + +2009-11-29 Samuel Thibault + + Fix GNU/Hurd grub-install crash. + * util/grub-probe.c (probe): Try to access `path' only when it is not + NULL. + +2009-11-28 Vladimir Serbinenko + + Correct module naming. + + * video/efi_uga.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ... + (GRUB_MOD_INIT(efi_uga)): ... to this + (GRUB_MOD_FINI(efi_fb)): Renamed from this ... + (GRUB_MOD_FINI(efi_uga)): ... to this + * video/efi_gop.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ... + (GRUB_MOD_INIT(efi_gop)): ... to this + (GRUB_MOD_FINI(efi_fb)): Renamed from this ... + (GRUB_MOD_FINI(efi_gop)): ... to this + +2009-11-28 Robert Millan + + * util/mkisofs/mkisofs.c (ld_options): Mark all `arg' strings as + translatable. + (usage): Translate `arg' strings using gettext(). + Thanks to Jordi Mallach for the suggestion. + +2009-11-28 Vladimir Serbinenko + + GOP support. Based on patch from Bean + (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html) + + * video/efi_gop.c: New file. + * include/grub/efi/graphics_output.h: Likewise. + * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_gop.mod'. + (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New + variables. + * conf/x86_64-efi.rmk: Likewise. + +2009-11-28 Vladimir Serbinenko + + Rename efi_fb to efi_uga. + + * conf/i386-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to + 'efi_uga.mod'. + (efi_fb_mod_SOURCES): Rename this ... + (efi_uga_mod_SOURCES): ... to this. + (efi_fb_mod_CFLAGS): Rename this ... + (efi_uga_mod_CFLAGS): ... to this. + (efi_fb_mod_LDFLAGS): Rename this ... + (efi_uga_mod_LDFLAGS): ... to this. + * conf/x86_64-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to + 'efi_uga.mod'. + (efi_fb_mod_SOURCES): Rename this ... + (efi_uga_mod_SOURCES): ... to this. + (efi_fb_mod_CFLAGS): Rename this ... + (efi_uga_mod_CFLAGS): ... to this. + (efi_fb_mod_LDFLAGS): Rename this ... + (efi_uga_mod_LDFLAGS): ... to this. + * video/efi_fb.c: Move this ... + * video/efi_uga.c: ... to this. Change prefix to 'grub_video_uga_'. + +2009-11-27 Robert Millan + + * po/README: New file. Explain our PO file workflow. + +2009-11-27 Robert Millan + + * po/ChangeLog: Remove. Move relevant entries back to ... + * ChangeLog: ... here. + * po/ca.po: Remove (now handled by TLP). + * po/id.po: Likewise. + * po/zh_CN.po: Likewise. + * Makefile.in (LINGUAS): Initialize in a way that supports + empty set. + +2009-11-27 Robert Millan + + * Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of + reliing on po/LINGUAS. + ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ... + (po/%.po): ... this. + +2009-11-26 Felix Zielcke + + * util/i386/efi/grub-mkimage.c: Include "progname.h". + (main): Use `program_name' instead of nonexistent `progname'. + +2009-11-26 Felix Zielcke + + * conf/i386-efi.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'. + * conf/x86_64-efi.rmk (grub_mkimage_SOURCES): Likewise. + +2009-11-26 Robert Millan + + * conf/i386-coreboot.rmk: Cleanup stale filenames from my previous + commit. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + +2009-11-26 Felix Zielcke + + * conf/any-emu.rmk (grub_emu_SOURCES): Add `gnulib/progname.c'. + +2009-11-26 Felix Zielcke + + * conf/any-emu.rmk (grub_mkfont_SOURCES): Add `gnulib/progname.c'. + +2009-11-26 Robert Millan + + * conf/common.rmk (sbin_UTILITIES): Add `grub-mkdevicemap'. + (grub_mkdevicemap_SOURCES): New variable. + (grub_probe_SOURCES, grub_fstest_SOURCES, grub_mkfont_SOURCES) + (grub_mkrelpath_SOURCES, grub_editenv_SOURCES) + (grub_pe2elf_SOURCES): Add `gnulib/progname.c'. + * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-mkdevicemap'. + (grub_mkdevicemap_SOURCES): Remove. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * util/elf/grub-mkimage.c: Include `' and `"progname.h"'. + (usage): Fix strings to use `program_name'. + (main): Initialize gettext. + * util/grub-editenv.c: Likewise. + * util/grub-emu.c: Likewise. + * util/grub-fstest.c: Likewise. + * util/grub-mkdevicemap.c: Likewise. + * util/grub-mkfont.c: Likewise. + * util/grub-mkrelpath.c: Likewise. + * util/grub-pe2elf.c: Likewise. + * util/grub-probe.c: Likewise. + * util/sparc64/ieee1275/grub-mkimage.c: Likewise. + * util/sparc64/ieee1275/grub-ofpathname.c: Likewise. + * util/sparc64/ieee1275/grub-setup.c: Likewise. + + * util/misc.c: Include `"progname.h"'. + (progname): Remove variable. + (grub_util_warn, grub_util_info, grub_util_error): Use `program_name'. + +2009-11-25 Felix Zielcke + + * util/grub.d/10_linux.in (linux_entry): Quote the arguments to + printf and print a newline after the menuentry header line. + * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise. + +2009-11-25 Felix Zielcke + + autoconf >= 2.60 support $(localedir). + + * INSTALL: Note that autoconf 2.60 is required. + * configure.ac (AC_PREREQ): Bump to 2.60. + * util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased @localedir@. + * util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise. + +2009-11-25 Yves Blusseau + + * configure.ac: move the call to AM_GNU_GETTEXT to avoid warnings when + aclocal is run. + +2009-11-25 Robert Millan + + * normal/main.c (grub_normal_read_line): Fix off-by-one + buffer overflow. + +2009-11-25 Robert Millan + + * normal/main.c (grub_normal_execute): Replace "parser.sh" with + "parser.grub" in grub_command_execute() call. + +2009-11-24 Carles Pina i Estany + + * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add i18n.h. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * gettext/gettex.c: Include . + * include/grub/misc.h (grub_gettext_dummy, grub_gettext): Move from + here ... + * include/grub/i18n.h: ... to here + * include/grub/i18n.h: ... to here. + * kern/misc.c: Include + (grub_gettext_dummy): Move above user. + +2009-11-24 Felix Zielcke + + * util/Makefile.in (install-local): Convert a `for' into a normal + shell expansion. + +2009-11-24 Robert Millan + + * autogen.sh: Add automake call. + * config.guess: Remove. + * config.sub: Likewise. + * install-sh: Likewise. + +2009-11-24 Felix Zielcke + + * util/Makefile.in (install-local): Fix the use of $lang shell variable. + +2009-11-24 Felix Zielcke + + * util/Makefile.in (install-local): Convert a make `$(foreach)' + function to a normal shell `for'. + +2009-11-24 Felix Zielcke + + * conf/i386-coreboot.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'. + +2009-11-24 Felix Zielcke + + * util/grub-mkrelpath.c: New file. + * conf/common.rmk (bin_UTILITIES): Add grub-mkrelpath. + (grub_mkrelpath_SOURCES): New variable. + * include/grub/util/misc.h: New function prototype. + * util/misc.c (make_system_path_relative_to_its_root): New function. + + * util/grub-mkconfig_lib.in (bindir): New variable. + (grub_mkrelpath): Likewise. + (make_system_path_relative_to_its_root): Use grub-mkrelpath. + + * util/probe.c (probe): Make the file path relative to its root. + Change a info message to use the GRUB path. Enable again the + check if we can read the file with GRUB facilities. + + * util/i386/pc/grub-setup.c (setup): Make core.img path relative + to its root. + +2009-11-24 Felix Zielcke + + * Makefile.in: Don't include GRUB_CONTRIB makefiles with emu + platform. + +2009-11-24 Felix Zielcke + + * util/getroot.c (grub_util_get_dev_abstraction): Properly use + strncmp(). + +2009-11-24 Felix Zielcke + + * util/getroot.c (grub_util_is_dmraid): New function. + (grub_util_get_dev_abstraction): Treat dmraid and multipath + devices as normal ones, not as LVM. + +2009-11-23 Carles Pina i Estany + + * conf/common.rmk: Add grub-gettext_lib target and updates + lib_DATA and CLEANFILES. Adds gettext.mod SOURCES, CFLAGS, + LDFLAGS. + * gettext/gettext.c: New file. (Reads mo files). + * include/grub/file.h (grub_file_pread): New prototype. + * include/grub/i18n.h (_): New prototype. + * include/grub/misc.h (grub_gettext_dummy, grub_gettext): New + prototypes. + * kern/misc.c (grub_gettext_dummy): New function. + * normal/menu_text.c: Include . + * normal/menu_text.c (print_timeout): Gettexttize string. + * normal/menu_text.c (print_message): Gettexttize string. + * po/POTFILES: Add `normal/menu_text.c'. + * po/ca.po: Add new translations. + * util/grub.d/00_header.in: Define locale_dir and lang. insmod + gettext module and defines locale_dir and lang in grub.cfg. + * NEWS: Add gettext support. + +2009-11-23 Robert Millan + + * util/hostdisk.c: Include `'. + (find_grub_drive): Use ARRAY_SIZE for map size calculation. + (make_device_name): Rewrite using asprintf. + (convert_system_partition_to_system_disk): Replace 0 with NULL. + (find_system_device): If a device is not found, generate one just + by reusing the OS path name. + (read_device_map): Make it permissible for device.map not to exist. + +2009-11-23 Robert Millan + + * script/sh/execute.c: Move from here ... + * script/execute.c: ... to here. Update all users. + * script/sh/function.c: Move from here ... + * script/function.c: ... to here. Update all users. + * script/sh/lexer.c: Move from here ... + * script/lexer.c: ... to here. Update all users. + * script/sh/main.c: Move from here ... + * script/main.c: ... to here. Update all users. + * script/sh/parser.y: Move from here ... + * script/parser.y: ... to here. Update all users. + * script/sh/script.c: Move from here ... + * script/script.c: ... to here. Update all users. + +2009-11-23 Robert Millan + + * configure.ac: Detect all `emu' platforms. Define + GRUB_MACHINE_* macros in TARGET_CFLAGS. Remove + --enable-grub-emu logic. Disable include/grub/machine + symlink on `emu' platforms. + + * genkernsyms.sh.in: Use @TARGET_CFLAGS@ during symbol generation. + * gensymlist.sh.in: Likewise. + + * include/grub/i386/coreboot/machine.h: Remove file. + * include/grub/i386/efi/machine.h: Likewise. + * include/grub/i386/ieee1275/machine.h: Likewise. + * include/grub/i386/pc/machine.h: Likewise. + * include/grub/i386/qemu/machine.h: Likewise. + * include/grub/powerpc/ieee1275/machine.h: Likewise. + * include/grub/sparc64/ieee1275/machine.h: Likewise. + * include/grub/x86_64/efi/machine.h: Likewise. + + * commands/acpi.c: Remove `'. + * commands/halt.c: Likewise. + * commands/reboot.c: Likewise. + * include/grub/autoefi.h: Likewise. + * include/grub/i386/at_keyboard.h: Likewise. + * include/grub/i386/kernel.h: Likewise. + * include/grub/i386/loader.h: Likewise. + * include/grub/i386/pc/memory.h: Likewise. + * kern/dl.c: Likewise. + * kern/i386/coreboot/init.c: Likewise. + * loader/i386/bsd.c: Likewise. + * loader/i386/linux.c: Likewise. + * loader/multiboot_loader.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/usb_keyboard.c: Likewise. + + * include/grub/time.h [!GRUB_MACHINE_EMU]: Remove + `' + [!GRUB_MACHINE_EMU] (GRUB_TICKS_PER_SECOND): New macro. + * util/misc.c: Remove `' and + `'. + + * Makefile.in (enable_grub_emu): Remove variable. + Include $(srcdir)/conf/any-emu.mk for the `emu' platform. + + * conf/any-emu.rmk: New file. + * conf/common.rmk (grub_emu_init.lst, grub_emu_init.h) + (grub_emu_init.c): Move from here ... + * conf/any-emu.rmk: ... to here. + + * conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-emu'. + (grub_emu_SOURCES, grub_emu_LDFLAGS): Move from here ... + * conf/any-emu.rmk: ... to here. + +2009-11-23 Robert Millan + + * include/grub/parser.h (grub_parser_register): Document need + of `name' parameter. + * normal/main.c (grub_normal_read_line): Simplify prompt string. + * script/sh/main.c (grub_sh_parser, GRUB_MOD_INIT(sh)): Rename + "sh" to "grub". + +2009-11-23 Robert Millan + + * Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass --keyword=N_ to + `$(XGETTEXT)'. + * include/grub/i18n.h (N_): New macro. + * util/mkisofs/mkisofs.h: Likewise. + * util/mkisofs/mkisofs.c (ld_options): Wrap all translatable strings + around N_(). + (usage): Use gettext() to translate help strings when printing them. + +2009-11-23 Robert Millan + + Based on patch from Bean + (http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html) + + * video/efi_fb.c: New file. + * conf/i386-efi.rmk (pkglib_MODULES): Add `efi_fb.mod'. + (efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New + variables. + * conf/x86_64-efi.rmk: Likewise. + +2009-11-22 Robert Millan + + * util/i386/pc/grub-mkimage.c: Ungettextize grub_util_info() strings. + * util/i386/pc/grub-setup.c: Likewise. + +2009-11-21 Samuel Thibault + + * util/getroot.c [__GNU__]: Include , , and + + [__GNU__] (grub_guess_root_device): Call file_name_lookup and + file_get_storage_info to implement grub_guess_root_device. + +2009-11-21 Felix Zielcke + + * Makefile.in (target): Use make's builtin $(shell) function + instead of calling directly $(SHELL) to create the locale directories, + inside the $(foreach) function. + +2009-11-21 Felix Zielcke + + * util/grub-mkrescue.in: Print an error and usage if output option + has not been given. + +2009-11-21 Felix Zielcke + + Patch from Loïc Minier . + * util/grub.d/30_os-prober.in: Cope with Linux entries where + root and /boot are on different devices. + +2009-11-21 Robert Millan + + Fix build for srcdir != objdir. + + * Makefile.in (po/$(PACKAGE).pot): Rename to ... + ($(srcdir)/po/$(PACKAGE).pot): ... this. Run $(XGETTEXT) from + $(srcdir). + ($(foreach lang, $(LINGUAS), po/$(lang).po)): Rename to ... + ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): ... this. Use $^ + reference for input. + +2009-11-21 Robert Millan + + * util/grub-mkrescue.in: Use source directory direcly (without copiing + or hardlinking it). Remove -J option, Joliet is not compatible with + multiple source directories. + +2009-11-21 Carles Pina i Estany +2009-11-21 Robert Millan + + * util/grub-mkrescue.in: Recognize `--override-directory' option. + (process_input_dir): New function. Process an arbitrary input + directory. + Misc adjustments to support both "override mode" and system-wide mode. + +2009-11-20 Felix Zielcke + + * configure.ac (UNIFONT_BDF): Rename to ... + (FONT_SOURCE): ... this. Update all users. + +2009-11-20 Felix Zielcke + + * configure.ac: Add `/usr/share/fonts/X11/misc/unifont.pcf.gz' + to the list of unifont files to look for. + +2009-11-19 Robert Millan + + Patch from Joe Auricchio + * commands/minicmd.c (grub_mini_cmd_clear): New function. + (GRUB_MOD_INIT(minicmd)): Register grub_mini_cmd_clear(). + (GRUB_MOD_FINI(minicmd)): Unregister grub_mini_cmd_clear(). + +2009-11-19 Felix Zielcke + + * Makefile.in (install-local): Add a missing backslash. + +2009-11-19 Felix Zielcke + + * include/grub/x86_64/io.h: New file. + +2009-11-19 Robert Millan + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add `gnulib/progname.c'. + * util/i386/pc/grub-setup.c: Include `'. + Include `"progname.h"'. + (main): Initialize gettext. + * util/i386/pc/grub-setup.c: Gettexttize. + * util/i386/pc/grub-mkimage.c: Likewise. + + * Makefile.in (po/*.po): Redefine as ... + ($(foreach lang, $(LINGUAS), po/$(lang).po)): ... this. + + * po/POTFILES: Add `util/i386/pc/grub-setup.c'. + +2009-11-19 Robert Millan + + * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/progname.c'. + * util/mkisofs/mkisofs.c: Include `"progname.h"'. + (program_name): Remove. + (main): Initialize gettext support. + * util/mkisofs/mkisofs.h: Include `'. + Include `'. + (_): New macro. + + * util/mkisofs/eltorito.c: Gettexttize. + * util/mkisofs/joliet.c: Likewise. + * util/mkisofs/mkisofs.c: Likewise. + * util/mkisofs/multi.c: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/tree.c: Likewise. + * util/mkisofs/write.c: Likewise. + + * po/POTFILES: Update with new files. + +2009-11-18 Robert Millan + + * util/mkisofs/eltorito.c: Fix minor mistake in license text. + * util/mkisofs/iso9660.h: Likewise. + * util/mkisofs/joliet.c: Likewise. + * util/mkisofs/mkisofs.c: Likewise. + * util/mkisofs/mkisofs.h: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/tree.c: Likewise. + * util/mkisofs/write.c: Likewise. + + * util/mkisofs/eltorito.c (rcsid): Remove. + * util/mkisofs/hash.c: Likewise. + * util/mkisofs/joliet.c: Likewise. + * util/mkisofs/name.c: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/tree.c: Likewise. + * util/mkisofs/write.c: Likewise. + +2009-11-18 Robert Millan + + * util/mkisofs/match.c: Rewrite from scratch, using a linked list + instead of static allocation. + * util/mkisofs/match.h: Likewise. + +2009-11-18 Robert Millan + + * po/POTFILES-shell: New file. List `util/grub.d/10_kfreebsd.in' + and `util/grub.d/10_linux.in'. + * Makefile.in (po/$(PACKAGE).pot): Process `po/POTFILES-shell' for + translatable Shell files. + +2009-11-18 Robert Millan + + * Makefile.in ($(srcdir)/aclocal.m4): New target. + +2009-11-17 Robert Millan + + * INSTALL: Document Automake is needed for bootstrap. + * po/ca.po: Fix PO-Revision-Date and Language-Team fields. + * util/grub.d/10_kfreebsd.in (bindir): New variable. + Add gettext initialization. + (kfreebsd_entry): Make menuentry output translatable. + +2009-11-17 Robert Millan + + * Makefile.in (XGETTEXT, MSGMERGE, MSGFMT): New variables. + (po/$(PACKAGE).pot): Replace `xgettext' with `$(XGETTEXT)'. + (po/*.po): Replace `msgmerge' with `$(MSGMERGE)'. + (po/%.mo): Replace `msgfmt' with `$(MSGFMT)'. + (LINGUAS): Auto-generate using `po/LINGUAS'. + * po/LINGUAS: New file. + +2009-11-17 Robert Millan + + * configure.ac: Call AM_GNU_GETTEXT() (defines localedir, among + other things). + * Makefile.in (CPPFLAGS): Add `-DLOCALEDIR=\"$(localedir)\"'. + * util/i386/pc/grub-mkimage.c (main): Issue setlocale() and + bindtextdomain() calls for gettext initialization. + +2009-11-17 Robert Millan + + * gnulib/progname.c: New file (imported from Gnulib). + * gnulib/progname.h: Likewise. + * conf/i386-pc.rmk (grub_mkimage_SOURCES): Add `gnulib/progname.c'. + * util/i386/pc/grub-mkimage.c: Include `"progname.h"'. + (usage): Replace `progname' with `program_name'. + (main): Use set_program_name() for program name initialization. + +2009-11-17 Robert Millan + + * conf/common.rmk (grub_mkisofs_CFLAGS): Move `-I$(srcdir)/gnulib' + from here ... + * Makefile.in (CPPFLAGS): ... to here. + +2009-11-16 Robert Millan + + * aclocal.m4: Move from here ... + * acinclude.m4: ... to here. + * autogen.sh: Add call to `aclocal'. + * configure.ac: Add AM_INIT_AUTOMAKE() after AC_INIT() call. + +2009-11-16 Robert Millan + + * Makefile.in (CLEANFILES): Add `po/*.mo'. + (LINGUAS): New variable. + (all-local): Add `$(foreach lang, $(LINGUAS), po/$(lang).mo)'. + (install-local): Install MO files. + (po/$(PACKAGE).pot, po/*.po, po/%.mo): New rules. + * include/grub/i18n.h: New file. + * po/POTFILES: New file. + * po/ca.po: New file. + * util/grub.d/10_linux.in (bindir): New variable. + Add gettext initialization. + (linux_entry): Make menuentry output translatable. + * util/i386/pc/grub-mkimage.c: Include `'. + (usage): Make --help output translatable. + (main): Initialize gettext. + +2009-11-17 Robert Millan + + * import_gcry.py: New file (written by Vladimir with minor + adjustments). + * autogen.sh: Use import_gcry.py to auto-generate GRUB-ified + ciphers. + * INSTALL: Document that Python is required for bootstrap. + +2009-11-17 Robert Millan + + Import ciphers from libgcrypt 1.4.4. + + * lib/libgcrypt/cipher/ChangeLog + * lib/libgcrypt/cipher/ac.c + * lib/libgcrypt/cipher/arcfour.c + * lib/libgcrypt/cipher/bithelp.h + * lib/libgcrypt/cipher/blowfish.c + * lib/libgcrypt/cipher/camellia-glue.c + * lib/libgcrypt/cipher/camellia.c + * lib/libgcrypt/cipher/camellia.h + * lib/libgcrypt/cipher/cast5.c + * lib/libgcrypt/cipher/cipher.c + * lib/libgcrypt/cipher/crc.c + * lib/libgcrypt/cipher/des.c + * lib/libgcrypt/cipher/dsa.c + * lib/libgcrypt/cipher/ecc.c + * lib/libgcrypt/cipher/elgamal.c + * lib/libgcrypt/cipher/hash-common.c + * lib/libgcrypt/cipher/hash-common.h + * lib/libgcrypt/cipher/hmac-tests.c + * lib/libgcrypt/cipher/md.c + * lib/libgcrypt/cipher/md4.c + * lib/libgcrypt/cipher/md5.c + * lib/libgcrypt/cipher/primegen.c + * lib/libgcrypt/cipher/pubkey.c + * lib/libgcrypt/cipher/rfc2268.c + * lib/libgcrypt/cipher/rijndael-tables.h + * lib/libgcrypt/cipher/rijndael.c + * lib/libgcrypt/cipher/rmd.h + * lib/libgcrypt/cipher/rmd160.c + * lib/libgcrypt/cipher/rsa.c + * lib/libgcrypt/cipher/seed.c + * lib/libgcrypt/cipher/serpent.c + * lib/libgcrypt/cipher/sha1.c + * lib/libgcrypt/cipher/sha256.c + * lib/libgcrypt/cipher/sha512.c + * lib/libgcrypt/cipher/tiger.c + * lib/libgcrypt/cipher/twofish.c + * lib/libgcrypt/cipher/whirlpool.c + +2009-11-16 Robert Millan + + Fix build for systems without error(). + + * gnulib/error.c: New file (imported from Gnulib). + * gnulib/error.h: Likewise. + * conf/common.rmk (grub_mkisofs_SOURCES): Add `gnulib/error.c'. + * util/mkisofs/mkisofs.c (program_name): Remove `static' qualifier + (this variable is now used by error()). + +2009-11-16 Felix Zielcke + + * util/mkisofs/name.c (iso9660_file_length): Use isascii macro + instead of relying that char is signed. + +2009-11-16 Vladimir Serbinenko + + * fs/i386/pc/pxe.c (grub_pxefs_open): Correctly handle PXE choosing + blocksize different from specified. + (grub_pxefs_read): Likewise. + +2009-11-16 Felix Zielcke + + Enable ata.mod on x86_64-efi, i386-efi and i386-ieee1275. + + * disk/ata.c (grub_ata_dumpinfo): Add a cast. + (grub_ata_readwrite): Likewise. Update 2 format strings. + (grub_atapi_read): Likewise. + + * conf/i386-coreboot.rmk (pkglib_MODULES): Move `ata.mod' from here ... + * conf/i386.rmk (pkglib_MODULES): ... to here ... + * conf/x86_64-efi.rmk (pkglib_MODULES): ... and here. + * conf/i386-coreboot.rmk (ata_mod_SOURCES, ata_mod_CFLAGS) + (ata_mod_LDFLAGS): Move from here ... + * conf/i386.rmk: ... to here ... + * conf/x86_64-efi.rmk: ... and here. + * conf/i386-pc.rmk (pkglib_MODULES): Remove `ata.mod' + (ata_mod_SOURCES, ata_mod_CFLAGS, ata_mod_LDFLAGS): Remove. + +2009-11-16 Robert Millan + + Relicense multiboot.h, with RMS' blessing. + + * include/multiboot.h: Change to X11 license. + +2009-11-15 Robert Millan + + Support --version in grub-mkisofs. + + * util/mkisofs/mkisofs.c (rcsid): Remove variable. + (OPTION_VERSION): New macro. + (ld_options): Recognize --version. + (usage): Move `program_name' from here ... + (program_name): ... to here. Add `static' qualifier. + (main): Recognize `OPTION_VERSION'. + +2009-11-15 Felix Zielcke + + * Makefile.in (TARGET_CPPFLAGS): Replace `-isystem=$(srcdir)/include' + with `-nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)'. + +2009-11-14 Robert Millan + + Fix help2man generation for mkisofs. + + * util/mkisofs/mkisofs.c (ld_options): Recognize --help. + (usage): Send output to stdout (rather than stderr). + +2009-11-14 Robert Millan + + * conf/i386-coreboot.rmk (grub_mkrescue_SOURCES): Replace + `util/i386/coreboot/grub-mkrescue.in' with `util/grub-mkrescue.in'. + * conf/i386-pc.rmk (grub_mkrescue_SOURCES): Replace + `util/i386/pc/grub-mkrescue.in' with `util/grub-mkrescue.in'. + (bin_SCRIPTS): Add `grub-mkfloppy'. + (grub_mkfloppy_SOURCES): New variable. + + * util/grub-mkrescue.in: New file. + * util/i386/pc/grub-mkfloppy.in: New file. + + * util/i386/coreboot/grub-mkrescue.in: Remove. + * util/i386/pc/grub-mkrescue.in: Remove. + +2009-11-13 Robert Millan + + * include/grub/multiboot.h (struct grub_multiboot_header): Move + from here ... + * include/multiboot.h (struct multiboot_header): ... to here. Update + all users. + * include/grub/multiboot.h (struct grub_multiboot_info): Move + from here ... + * include/multiboot.h (struct multiboot_info): ... to here. Update + all users. + * include/grub/multiboot.h (struct grub_multiboot_mmap_entry): Move + from here ... + * include/multiboot.h (struct multiboot_mmap_entry): ... to here. + Update all users. + * include/grub/multiboot.h (struct grub_mod_list): Move + from here ... + * include/multiboot.h (struct multiboot_mod_list): ... to here. + Update all users. + +2009-11-13 Robert Millan + + * include/multiboot2.h (multiboot_word): Rename from this ... + (multiboot2_word): ... to this. Update all users. + (multiboot_header): Rename from this ... + (multiboot2_header): ... to this. Update all users. + (multiboot_tag_header): Rename from this ... + (multiboot2_tag_header): ... to this. Update all users. + (multiboot_tag_start): Rename from this ... + (multiboot2_tag_start): ... to this. Update all users. + (multiboot_tag_name): Rename from this ... + (multiboot2_tag_name): ... to this. Update all users. + (multiboot_tag_module): Rename from this ... + (multiboot2_tag_module): ... to this. Update all users. + (multiboot_tag_memory): Rename from this ... + (multiboot2_tag_memory): ... to this. Update all users. + (multiboot_tag_unused): Rename from this ... + (multiboot2_tag_unused): ... to this. Update all users. + (multiboot_tag_end): Rename from this ... + (multiboot2_tag_end): ... to this. Update all users. + +2009-11-13 Robert Millan + + Disable Multiboot2 in i386-ieee1275. It didn't actually work, and on + this platform we should support Multiboot1 first. + + * conf/i386-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'. + (multiboot_mod_SOURCES, multiboot_mod_CFLAGS) + (multiboot_mod_LDFLAGS, multiboot_mod_ASFLAGS): Remove. + +2009-11-12 Robert Millan + + * util/mkisofs/eltorito.c (init_boot_catalog): Handle return code + of write calls (converting them to fwrite() if they aren't already). + (get_torito_desc): Likewise. + * util/mkisofs/rock.c (generate_rock_ridge_attributes): Likewise. + +2009-11-12 Robert Millan + + * util/i386/pc/grub-install.in: Move from here ... + * util/grub-install.in: ... to here. Update all users. + +2009-11-11 Colin Watson + + * util/powerpc/ieee1275/grub-mkrescue.in: Fix --version output. + +2009-11-11 Robert Millan + + Support for El Torito without floppy emulation. + + * util/mkisofs/eltorito.c: Include `'. + (init_boot_catalog): Improve error handling. + (get_torito_desc): Don't use floppy emulation unless requested by + user. Patch boot information table when requested via + `-boot-info-table'. + * util/mkisofs/iso9660.h (struct eltorito_boot_info): New struct. + * util/mkisofs/mkisofs.c (use_eltorito_emul_floppy) + (use_boot_info_table): New variables. + (OPTION_BOOT_INFO_TABLE, OPTION_NO_EMUL_BOOT) + (OPTION_ELTORITO_EMUL_FLOPPY): New macros. + (ld_options): Handle `-boot-info-table', `-no-emul-boot' and + `--eltorito-emul-floppy'. + (main): Handle `OPTION_BOOT_INFO_TABLE', `OPTION_NO_EMUL_BOOT' + and `OPTION_ELTORITO_EMUL_FLOPPY'. + * util/mkisofs/mkisofs.h (use_eltorito_emul_floppy) + (use_boot_info_table, get_731): New prototypes. + * util/mkisofs/write.c (get_731): New function. + +2009-11-11 Felix Zielcke + + Fix the generation of the man page. + + * util/pc/i386/grub-install.in: Source + `${libdir}/grub/grub-mkconfig_lib' after options have been parsed. + +2009-11-11 Robert Millan + + Large file support for grub-mkisofs. + + * conf/common.rmk (grub_mkisofs_CFLAGS): Add `-D_FILE_OFFSET_BITS=64'. + * util/mkisofs/mkisofs.c (next_extent, last_extent) + (session_start): Upgrade type to `uint64_t'. Update all users. + * util/mkisofs/mkisofs.h: Include `'. + (struct directory_entry): Upgrade type of `starting_block' and + `size' to `uint64_t'. Update all users. + (struct deferred): Remove unused structure. + (xfwrite): Upgrade type of `count' and `size' to `uint64_t'. + Update all users. + * util/mkisofs/tree.c (stat_filter, lstat_filter): Return -1 when + file is larger than `UINT32_MAX'. + * util/mkisofs/write.c (xfwrite): Upgrade type of `count' and + `size' to `uint64_t'. Update all users. Fix handling of fwrite() + return value. + (struct deferred_write): Upgrade type of `extent' and `size' to + `uint64_t'. Update all users. + (last_extent_written): Upgrade type to `uint64_t'. Update all + users. + (write_one_file): Upgrade type of `count' and `size' to `uint64_t'. + Update all users. Upgrade type of `remain' to `int64_t' and + `use' to `size_t'. Use error() to handle fread() errors. + (write_files): Rely on write_one_file() rather than calling + xfwrite() directly. + +2009-11-09 Felix Zielcke + + * util/mkisofs/mkisofs.c (ld_options): Fix a spelling mistake. + +2009-11-09 Robert Millan + + * util/mkisofs/fnmatch.c: Remove. + * util/mkisofs/getopt1.c: Likewise. + * util/mkisofs/getopt.c: Likewise. + * conf/common.rmk (grub_mkisofs_SOURCES): Replace + `util/mkisofs/fnmatch.c', `util/mkisofs/getopt1.c' and + `util/mkisofs/getopt.c' with `gnulib/fnmatch.c', + `gnulib/getopt1.c' and `gnulib/getopt.c'. + (grub_mkisofs_CFLAGS): Add `-I$(srcdir)/gnulib'. + + * configure.ac: Detect `mingw32msvc' host_os. + Check for lstat(), getuid() and getgid(). + + * util/mkisofs/joliet.c: Include `'. Replace all + instances of `u_char' with `uint8_t'. + + * util/mkisofs/mkisofs.h: Include `'. + [!HAVE_GETUID] (getuid): New function (stub). + [!HAVE_GETGID] (getgid): Likewise. + [!HAVE_LSTAT] (lstat): Likewise. + [!S_IROTH] (S_IROTH): New macro (dummy). + [!S_IRGRP] (S_IRGRP): Likewise. + +2009-11-09 Robert Millan + + * gnulib/fnmatch_loop.c (EXT): Fix warning (signed and unsigned type in + conditional expression). + +2009-11-09 Robert Millan + + Import from Gnulib. + + * gnulib/fnmatch.c: New file. + * gnulib/fnmatch.h: Likewise. + * gnulib/fnmatch_loop.c: Likewise. + * gnulib/getopt.c: Likewise. + * gnulib/getopt.h: Likewise. + * gnulib/getopt1.c: Likewise. + * gnulib/getopt_int.h: Likewise. + * gnulib/gettext.h: Likewise. + +2009-11-09 Robert Millan + + * normal/dyncmd.c (read_command_list): Replace `0' with `NULL'. + * normal/handler.c (read_handler_list): Likewise. + +2009-11-09 Robert Millan + + Misc cleanup. + + * kern/command.c (grub_register_command_prio): Use + grub_zalloc() instead of explicitly zeroing data. + * kern/list.c: Include `'. + (grub_named_list_find): Replace `0' with `NULL'. + * normal/autofs.c (struct grub_fs_module_list): Remove ad-hoc type. + (fs_module_list): Change type to `grub_named_list_t'. Update all + users. + * normal/dyncmd.c (read_command_list): Add space between function + call and parenthesis. + * normal/handler.c (read_handler_list): Likewise. + +2009-11-09 Robert Millan + + * normal/auth.c (punishment_delay): Moved from here ... + (grub_auth_strcmp): ... to here (inside function). + +2009-11-09 Robert Millan + + * include/grub/list.h (struct grub_named_list): Remove `const' + qualifier from `name'. + (struct grub_prio_list): Likewise. + +2009-11-09 Robert Millan + + * normal/auth.c: Include `'. + (grub_auth_strcmp): Replace `strcmp' with `grub_strcmp'. + +2009-11-09 Robert Millan + + * normal/auth.c (punishment_delay): New variable. + (grub_auth_strcmp): Rewrite using grub_get_time_ms (). + (grub_auth_check_authentication): Punish failed login attempts with + an incremental (2^N) delay. + +2009-11-09 Robert Millan + + * conf/common.rmk (grub_mkisofs_CFLAGS): Prefix include + path with $(srcdir). + +2009-11-09 Vladimir Serbinenko + + * normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage. + +2009-11-09 Robert Millan + + * util/i386/coreboot/grub-mkrescue.in: New file. + * conf/i386-coreboot.rmk (bin_SCRIPTS, grub_mkrescue_SOURCES): New + variables. + + * conf/common.rmk (bin_UTILITIES): Add `grub-mkisofs'. + (grub_mkisofs_SOURCES, grub_mkisofs_CFLAGS): New variables. + * configure.ac: Add header and function checks to satisfy grub-mkisofs + requirements. + * util/mkisofs/defaults.h: New file. + * util/mkisofs/eltorito.c: Likewise. + * util/mkisofs/exclude.h: Likewise. + * util/mkisofs/fnmatch.c: Likewise. + * util/mkisofs/getopt.c: Likewise. + * util/mkisofs/getopt1.c: Likewise. + * util/mkisofs/hash.c: Likewise. + * util/mkisofs/include/fctldefs.h: Likewise. + * util/mkisofs/include/mconfig.h: Likewise. + * util/mkisofs/include/prototyp.h: Likewise. + * util/mkisofs/include/statdefs.h: Likewise. + * util/mkisofs/iso9660.h: Likewise. + * util/mkisofs/joliet.c: Likewise. + * util/mkisofs/match.c: Likewise. + * util/mkisofs/match.h: Likewise. + * util/mkisofs/mkisofs.c: Likewise. + * util/mkisofs/mkisofs.h: Likewise. + * util/mkisofs/multi.c: Likewise. + * util/mkisofs/name.c: Likewise. + * util/mkisofs/rock.c: Likewise. + * util/mkisofs/tree.c: Likewise. + * util/mkisofs/write.c: Likewise. + +2009-11-09 Vladimir Serbinenko + + * normal/auth.c (grub_auth_strcmp): Fix bug which resulted in function + being insecure. + +2009-11-08 Robert Millan + + * util/i386/pc/grub-mkrescue.in: Fix miss-identification as + `grub-mkimage' (and use $0 when possible). + +2009-11-08 Robert Millan + + * kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve + error message for excessively large memory map. + +2009-11-08 Robert Millan + + * autogen.sh: Use `sh gendistlist.sh' to avoid reliing on + executable bit. + +2009-11-08 Robert Millan + + * kern/i386/multiboot_mmap.c (grub_machine_mmap_init): Improve error + message for coreboot users. + +2009-11-07 Robert Millan + + Fix build with GNU gold. + + * conf/i386-pc.rmk (boot_img_LDFLAGS, pxeboot_img_LDFLAGS) + (diskboot_img_LDFLAGS, lnxboot_img_LDFLAGS) + (cdboot_img_LDFLAGS): Prepend `0x' qualifier to hexadecimal + link addresses. + * aclocal.m4: Likewise. + +2009-11-04 Felix Zielcke + + * configure.ac (AC_PREREQ): Bump to 2.59d. + * INSTALL: Make it more clear when Autoconf and Ruby are + needed and when to run `./autogen.sh'. + +2009-11-03 Samuel Thibault + + * util/grub.d/30_os-prober.in: Restore default behavior for unsupported + OSes. + +2009-11-02 Samuel Thibault + + * util/grub.d/30_os-prober.in: Add GNU/Hurd support + +2009-11-02 Samuel Thibault + + * util/grub.d/10_hurd.in: Drop /dev/ prefix from root device path before + giving it to GNU Mach. + +2009-11-02 Samuel Thibault + + * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Subtract 1 from + GNU partition number to get internal GRUB partition number. + +2009-11-02 Samuel Thibault + + * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device + ${GRUB_DEVICE_BOOT} before loading /boot kernel. + +2009-11-01 Robert Millan + + Based on patch from BVK Chaitanya + * kern/misc.c (grub_strchr, grub_strrchr): Fix to handle c == '\0' + case. + +2009-11-01 Felix Zielcke + + * Makefile.in (TARGET_CPPFLAGS): Add `-I$(srcdir)/include'. + +2009-10-30 Robert Millan + + Fix build problem. + + * Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with + `-isystem=$(srcdir)/include'. + +2009-10-30 Robert Millan + + * util/i386/pc/grub-install.in: Remove hint that device.map should be + checked (grub-install doesn't currently rely on it). + +2009-10-29 Robert Millan + + Revert SVN r2660. + + * conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): Moved from here ... + * conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here. + * conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): ... and here. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + +2009-10-28 Robert Millan + + * Makefile.in (TARGET_CPPFLAGS): Add `-nostdinc'. + +2009-10-28 Robert Millan + + * include/grub/misc.h: Stop checking for APPLE_CC. + +2009-10-28 Robert Millan + + * kern/i386/coreboot/init.c (grub_exit): Reimplement in a way that + doesn't cause an infinite call loop. + +2009-10-28 Felix Zielcke + + * commands/acpi.c (grub_cmd_acpi): Fix the out of memory error + strings. + +2009-10-26 Robert Millan + + * autogen.sh: Support addition of external modules via `GRUB_CONTRIB' + variable. + * Makefile.in: Likewise. + +2009-10-26 Robert Millan + + * gendistlist.sh: Simplify .svn check. Skip .bzr as well. + +2009-10-26 Robert Millan + + * Makefile.in (RMKFILES): Rewrite using $(wildcard). + +2009-10-26 Robert Millan + + * disk/scsi.c: Remove `' (not needed). + +2009-10-26 Robert Millan + + * gensymlist.sh.in (COMPILE_TIME_ASSERT): Copy macro declaration + from here ... + * include/grub/misc.h (COMPILE_TIME_ASSERT): ... to here. + +2009-10-26 Robert Millan + + * Makefile.in (docs/grub.info): Use make syntax to ignore errors + in $(MAKEINFO) invocation. This makes it clear in output that + errors are being ignored. + +2009-10-26 Robert Millan + + * conf/i386-coreboot.rmk (script/sh/lexer.c_DEPENDENCIES): Moved + from here ... + * conf/common.rmk (script/sh/lexer.c_DEPENDENCIES): ... to here. + * conf/i386-efi.rmk (script/sh/lexer.c_DEPENDENCIES): Remove. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + +2009-10-26 Colin Watson + + * util/grub-editenv.c (main): If only a command is given, use + DEFAULT_DIRECTORY "/" GRUB_ENVBLK_DEFCFG as a default file name. + (usage): FILENAME is now optional and has a default. + +2009-10-26 Colin Watson + + Improve grub-mkconfig performance when there are several menu + entries on a single filesystem. + + * util/grub.d/10_linux.in (linux_entry): Cache the output of + prepare_grub_to_access_device. + * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise. + * util/grub.d/30_os-prober.in: Likewise. + +2009-10-26 Robert Millan + + * util/grub.d/10_freebsd.in: Remove. + * util/grub.d/10_kfreebsd.in: New file (based on 10_linux.in). + * configure.ac: Set host_kernel=kfreebsd for FreeBSD and GNU/kFreeBSD. + +2009-10-26 Robert Millan + + * docs/grub.cfg: Fix example usage of *BSD loaders. + +2009-10-25 Robert Millan + + * util/i386/pc/grub-setup.c (setup): Add missing parameter to + grub_util_error() call. + +2009-10-25 Robert Millan + + * include/grub/fs.h [GRUB_UTIL] (struct grub_fs): Add + `reserved_first_sector' member. + * fs/ext2.c [GRUB_UTIL] (grub_ext2_fs): Initialize + `reserved_first_sector' to 1. + * fs/fat.c [GRUB_UTIL] (grub_fat_fs): Likewise. + * fs/ntfs.c [GRUB_UTIL] (grub_ntfs_fs): Likewise. + * fs/hfsplus.c [GRUB_UTIL] (grub_hfsplus_fs): Likewise. + * util/i386/pc/grub-setup.c (setup): Add safety check that probes for + filesystems which begin at first sector. + (options): New option --skip-fs-probe. + (main): Handle --skip-fs-probe and pass it to setup(). + +2009-10-25 Robert Millan + + * include/grub/misc.h: Fix wrong evaluation of APPLE_CC. + (memset): Fix function prototype. + +2009-10-25 Robert Millan +2009-10-25 Vasily Averin + + * fs/ext2.c (grub_ext2_iterate_dir): Avoid infinite loop when + `dirent.direntlen == 0'. + +2009-10-25 Robert Millan + + * fs/cpio.c [MODE_USTAR]: Initialize `tar' module instead of + `cpio'. + [! MODE_USTAR]: Initialize `cpio' module instead of `tar'. + +2009-10-25 Robert Millan + + * configure.ac: Check for `__ashldi3', `__ashrdi3', `__lshrdi3', + `__trampoline_setup' and `__ucmpdi2'. + * include/grub/powerpc/libgcc.h: Only export symbols for functions + that libgcc provides. + +2009-10-25 Robert Millan + + * include/grub/powerpc/libgcc.h (memset): Remove function prototype. + * include/grub/sparc64/libgcc.h (memset): Likewise. + * include/grub/misc.h (memset, memcmp): New function prototypes. + +2009-10-25 Robert Millan + + * fs/cpio.c [MODE_USTAR]: Finish `tar' module instead of + `cpio'. + [! MODE_USTAR]: Finish `cpio' module instead of `tar'. + +2009-10-25 Robert Millan + + Patch from Samuel Thibault + * docs/grub.cfg: Compensate for recent change in multiboot + loader (since 2009-08-14 it won't pass filename to payload). + * util/grub.d/10_hurd.in: Likewise. + +2009-10-21 Felix Zielcke + + * config.guess: Update to latest version from config git + repository. + * config.sub: Likewise. + +2009-10-20 Robert Millan + + Fix build on sparc64. + + * configure.ac: Perform checks for libgcc symbols before + adding `-nostdlib' to LDFLAGS. + +2009-10-16 Vladimir Serbinenko + + Let user specify OpenBSD root device. + + * loader/i386/bsd.c (openbsd_root): New variable. + (openbsd_opts): New option 'root'. + (OPENBSD_ROOT_ARG): New macro. + (grub_openbsd_boot): Use 'openbsd_root'. + (grub_cmd_openbsd): Fill 'openbsd_root'. + +2009-10-16 Robert Millan + + * NEWS: Misc adjustments. + +2009-10-16 Vladimir Serbinenko + + * NEWS: Mentioned XNU, ACPI, gptsync, password and parttool. + +2009-10-16 Robert Millan + + * configure.ac: Bump version to 1.97. + +2009-10-16 Colin Watson + + * configure.ac (TARGET_CFLAGS): Add -mno-mmx -mno-sse -mno-sse2 + -mno-3dnow on x86 architectures. Some toolchains enable these + features by default, but they rely on registers that aren't enabled + in GRUB. Thanks to Vladimir Serbinenko for the suggestion. + +2009-10-15 Robert Millan + + Make entry text a bit more readable. + + * util/grub.d/10_linux.in: Add `with' before `Linux'. + +2009-10-15 Vladimir Serbinenko + + * loader/i386/pc/xnu.c (grub_xnu_set_video): Fix loading splash image. + +2009-10-15 Vladimir Serbinenko + + * commands/xnu_uuid.c (grub_cmd_xnu_uuid): Remove duplicated bitwise + operations. + +2009-10-15 Vladimir Serbinenko + + * configure.ac: Add missing dollar. + +2009-10-15 Vladimir Serbinenko + + Revert 2009-06-10 Pavel Roskin + + * configure.ac: Put checks for __bswapsi2 and __bswapdi2. + * include/grub/powerpc/libgcc.h: Don't use weak attribute for all + exports. + * include/grub/sparc64/libgcc.h: Likewise. Use + preprocessor conditionals. + +2009-10-14 Robert Millan + + * conf/common.rmk (grub-dumpbios): Remove rule. + (sbin_SCRIPTS, CLEANFILES): Remove `grub-dumpbios'. + * util/grub-dumpbios.in: Remove file. + +2009-10-14 Robert Millan + + Refer to kernel of FreeBSD "kFreeBSD" to avoid confusion between + the Operating System (FreeBSD) and its kernel (kernel of FreeBSD). + + * loader/i386/bsd.c (grub_freebsd_boot): Read kernel environment + from "kFreeBSD" namespace (rather than "FreeBSD"). Update all + users. + + (GRUB_MOD_INIT (bsd)): Rename "freebsd" command to "kfreebsd", + "openbsd" to "kopenbsd", "netbsd" to "knetbsd", "freebsd_loadenv" + to "kfreebsd_loadenv", "freebsd_module" to "kfreebsd_module", + and "freebsd_module_elf" to "kfreebsd_module_elf". Update all + users. + +2009-10-12 Robert Millan + + * term/tparm.c: Switch to GPLv3. + +2009-10-09 Robert Millan + + * include/grub/i386/cpuid.h: Add header protection. + +2009-10-09 Robert Millan + + Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU. + + * include/grub/i386/cpuid.h: New file. + * commands/i386/cpuid.c: Include `'. + (has_longmode): Rename to ... + (grub_cpuid_has_longmode): ... this. Update all users. Remove + `static' attribute. + * loader/i386/bsd.c: Include `'. + (grub_bsd_load_elf): Fail if load of 64-bit kernel was requested + on a CPU that doesn't implement AMD64 instruction set. + +2009-10-06 Colin Watson + + * Makefile.in (docs/stamp-vti): Depend on configure.ac as well, so + that version.texi is rebuilt on version number changes. + +2009-10-06 Colin Watson + + * Makefile.in: Don't set info_INFOS unless makeinfo was found. + Fixes bug #27602. + +2009-10-06 Colin Watson + + * util/i386/pc/grub-install.in: Source + ${libdir}/grub/grub-mkconfig_lib before option processing, in order + that the --grub-probe option will work. + * util/sparc64/ieee1275/grub-install.in: Likewise. + +2009-10-05 Robert Millan + + * configure.ac: Bump version to 1.97~beta4. + +2009-10-03 Robert Millan + + Resync grub-mkdevicemap in x86_64-efi. + + * conf/x86_64-efi.rmk (sbin_UTILITIES): Enable `grub-mkdevicemap'. + (grub_mkdevicemap_SOURCES): Add missing `util/deviceiter.c' and + `util/devicemap.c'. + +2009-10-01 Colin Watson + + * util/grub-editenv.c (create_envblk_file): Write new block with a + .new suffix and then rename it into place, to ensure atomic + creation. + +2009-09-28 Robert Millan + + Do not automatically install headers. + + * Makefile.in (include_DATA): Remove. Update all users. + +2009-09-26 Robert Millan + + * conf/common.rmk (pkglib_MODULES): Remove `lua.mod'. + (lua_mod_SOURCES, lua_mod_CFLAGS, lua_mod_LDFLAGS): Remove. + + * util/osdetect.lua: Remove. + * script/lua/lauxlib.c: Likewise. + * script/lua/ldebug.c: Likewise. + * script/lua/grub_main.c: Likewise. + * script/lua/lauxlib.h: Likewise. + * script/lua/ldebug.h: Likewise. + * script/lua/ltablib.c: Likewise. + * script/lua/liolib.c: Likewise. + * script/lua/lstrlib.c: Likewise. + * script/lua/lualib.h: Likewise. + * script/lua/ldo.c: Likewise. + * script/lua/ldump.c: Likewise. + * script/lua/ldo.h: Likewise. + * script/lua/loslib.c: Likewise. + * script/lua/lundump.c: Likewise. + * script/lua/grub_lib.c: Likewise. + * script/lua/ldblib.c: Likewise. + * script/lua/lundump.h: Likewise. + * script/lua/lmem.c: Likewise. + * script/lua/grub_lib.h: Likewise. + * script/lua/lmathlib.c: Likewise. + * script/lua/lstate.c: Likewise. + * script/lua/ltm.c: Likewise. + * script/lua/lvm.c: Likewise. + * script/lua/lmem.h: Likewise. + * script/lua/lstate.h: Likewise. + * script/lua/ltm.h: Likewise. + * script/lua/ltable.c: Likewise. + * script/lua/lvm.h: Likewise. + * script/lua/llex.c: Likewise. + * script/lua/lgc.c: Likewise. + * script/lua/grub_lua.h: Likewise. + * script/lua/loadlib.c: Likewise. + * script/lua/lfunc.c: Likewise. + * script/lua/lopcodes.c: Likewise. + * script/lua/lparser.c: Likewise. + * script/lua/ltable.h: Likewise. + * script/lua/llex.h: Likewise. + * script/lua/lgc.h: Likewise. + * script/lua/lfunc.h: Likewise. + * script/lua/lbaselib.c: Likewise. + * script/lua/lopcodes.h: Likewise. + * script/lua/lparser.h: Likewise. + * script/lua/lzio.c: Likewise. + * script/lua/linit.c: Likewise. + * script/lua/lobject.c: Likewise. + * script/lua/llimits.h: Likewise. + * script/lua/lstring.c: Likewise. + * script/lua/lzio.h: Likewise. + * script/lua/lapi.c: Likewise. + * script/lua/lcode.c: Likewise. + * script/lua/lua.h: Likewise. + * script/lua/lobject.h: Likewise. + * script/lua/lstring.h: Likewise. + * script/lua/lapi.h: Likewise. + * script/lua/lcode.h: Likewise. + * script/lua/luaconf.h: Likewise. + +2009-09-26 Colin Watson + + * docs/grub.texi (Command-line and menu entry commands): Document + date and echo commands. + +2009-09-24 Pavel Roskin + + * include/grub/kernel.h (struct grub_module_header): Remove + `grub_module_header_types'. Make `type' unsigned. Make `size' + 32-bit on all platforms. + * util/elf/grub-mkimage.c (load_modules): Treat `type' as an + 8-bit field. Use grub_host_to_target32() for `size'. + * util/i386/efi/grub-mkimage.c (make_mods_section): Likewise. + * util/i386/pc/grub-mkimage.c (generate_image): Likewise. + * util/sparc64/ieee1275/grub-mkimage.c (generate_image): Likewise. + +2009-09-24 Robert Millan + + Fix "lost keypress" bug in at_keyboard. + + * term/i386/pc/at_keyboard.c (grub_at_keyboard_checkkey): New function. + Checks for readyness of input buffer (without flushing it). + (grub_at_keyboard_term): Use grub_at_keyboard_checkkey() rather + than grub_at_keyboard_getkey_noblock() for `checkkey' struct member. + +2009-09-24 Robert Millan + + * util/i386/pc/grub-mkimage.c (generate_image): Enclose BIOS-specific + size check within GRUB_MACHINE_PCBIOS section. + +2009-09-24 Robert Millan + + * include/grub/i386/at_keyboard.h (KEYBOARD_ISREADY): Negate + return value. + * term/i386/pc/at_keyboard.c (grub_keyboard_getkey): Negate + KEYBOARD_ISREADY check. + (grub_at_keyboard_checkkey): Rename to ... + (grub_at_keyboard_getkey_noblock): ... this. Update all users. + Remove gratuitous cast. + +2009-09-23 Colin Watson + + * configure.ac: Call AC_PROG_MKDIR_P. + * Makefile.in (docs/stamp-vti): Create docs directory. Create + version.texi in $(builddir) rather than $(srcdir). + (docs/grub.info): Create docs directory. Prepend $(builddir)/docs + to makeinfo's @include search path. + +2009-09-23 Felix Zielcke + + * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Cope with `*.dpkg-*' + +2009-09-23 Felix Zielcke + + * util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Add support + for `*.dpkg-new'. + +2009-09-21 Colin Watson + + Build info documentation. Some code borrowed from Automake. + + * configure.ac: Check for makeinfo. + * Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables. + (MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and + docs/version.texi. + (MOSTLYCLEANFILES): Add vti.tmp. + (docs/version.texi, docs/stamp-vti): Update automatically. + (docs/grub.info): Build info documentation. Use --force and ignore + errors for now. + (all-local): Add $(INFOS). + (install-local): Install info files. + (uninstall): Uninstall info files. + * docs/version.texi: Remove from revision control. This file is + automatically generated on build now. + * gendistlist.sh: Add `*.info'. + +2009-09-21 Felix Zielcke + + * kern/term.c: Fix indentation. + +2009-09-21 Felix Zielcke + + * util/hostdisk.c: Fix a comment. + +2009-09-20 Robert Millan + + Fix regression introduced in r2539. + + * term/usb_keyboard.c (USB_HID_DEVICE_TO_HOST): Change from 0x61 + to 0xA1. + +2009-09-19 Colin Watson + + * util/grub.d/30_os-prober.in: Don't throw away stderr from + os-prober. Under normal operation, it does not print anything to + stderr; if it does, we need to debug it, and throwing away stderr + makes that excessively difficult. + +2009-09-16 Vladimir Serbinenko + + * mmap/mmap.c (grub_cmd_badram): Fix off-by-one error. + +2009-09-16 Robert Millan + + * aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock + AC_LANG_PROGRAM from autoconf. + (grub_ASM_USCORE, grub_PROG_OBJCOPY_ABSOLUTE): Add missing + prototypes (fixes warning). + + * configure.ac: Add `-Werror' to TARGET_CFLAGS unless + `--disable-werror' was used. + +2009-09-16 Robert Millan + + * partmap/msdos.c (pc_partition_map_iterate): Fix possible use of + uninitialized `lastaddr'. + +2009-09-15 Vladimir Serbinenko + + * partmap/msdos.c (pc_partition_map_iterate): Detect and break loops. + +2009-09-14 Colin Watson + + * commands/test.c (get_fileinfo): Return immediately if + grub_fs_probe fails. + +2009-09-14 José Martínez + + * commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file. + +2009-09-14 Colin Watson + + * util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober + output. + +2009-09-13 Robert Millan + + * configure.ac: Remove --enable-grub-pe2elf. Only build + grub-pe2elf when needed by the build system itself. + * conf/common.rmk: Remove $(enable_grub_pe2elf) check. + +2009-09-12 Robert Millan + + * configure.ac: Bump version to 1.97~beta3. + * docs/version.texi: Likewise. + +2009-09-12 Robert Millan + + * video/i386/pc/vbe.c (grub_vbe_get_video_mode_info): Move packed + mode special handling (grub_vbe_bios_set_dac_palette_width() call) + from here ... + * loader/i386/linux.c [GRUB_MACHINE_PCBIOS] + (grub_linux_setup_video): ... to here (with some adjustments). + +2009-09-12 Robert Millan + + Fix memory corruption issue (spotted by Colin Watson). + + * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette): Fix bug + causing returned size to be stored in an incorrect memory location. + Fix use of uninitialized value when storing the returned size. + +2009-09-12 Yves Blusseau + + Change clean rules to properly remove files + + * genmk.rb: add new clean rules + * Makefile.in (clean): add the new targets + (mostlyclean): likewise + +2009-09-11 Colin Watson + + * include/grub/ntfs.h (struct grub_fshelp_node): Change `size' + to grub_uint64_t. + * fs/ntfs.c (init_file): Understand 64-bit sizes for + non-resident files. + +2009-09-11 Colin Watson + + * configure.ac: Don't look for help2man when cross-compiling. Fixes + part of bug #27349. + +2009-09-10 Felix Zielcke + + * util/grub-mkconfig.in: Make the created config mode 400 and + print a warning if it fails. + +2009-09-10 Robert Millan + + * util/grub.d/40_custom.in: Ask user to type custom entries below + comment, rather than below 'exec tail' line. + +2009-09-10 Colin Watson + + * util/grub.d/40_custom.in: Make sure that the explanatory text is + visible in grub.cfg. + +2009-09-10 Colin Watson + + * util/grub.d/40_custom.in: Make it a little clearer how to use this + file. + +2009-09-10 Felix Zielcke + + * docs/grub.cfg: Add an example menu entry for memtest86+. + +2009-09-09 Felix Zielcke + + * config.guess: Update to latest version from config git. + * config.sub: Likewise. + +2009-09-08 Colin Watson + + * script/sh/execute.c (grub_script_execute_cmdline): Set "?" in + unknown-command case. Fixes bug #27320. + +2009-09-08 Felix Zielcke + + * kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try + `help' if the command exists. + +2009-09-06 Robert Millan + + * INSTALL: Require GCC 4.1.3 or later. + +2009-09-06 Yves Blusseau + + * Makefile.in (RMKFILES): add i386-qemu.rmk + (MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in + $(srcdir)/stamp-h.in + +2009-09-05 Robert Millan + + * util/grub-probe.c (probe): Comment out buggy codepath, which + was unexpectedly enabled by Colin Watson's 2009-09-02 fix. This + should be re-enabled after 1.97. + +2009-09-05 Felix Zielcke + + * gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list + find searches for. + +2009-09-04 Vladimir Serbinenko + + * loader/i386/xnu.c (grub_cpu_xnu_fill_devicetree): Remove + unnecessary calls to grub_error. + +2009-09-04 Colin Watson + + * NEWS: Mention `keystatus' and Unicode fonts. + +2009-09-04 Robert Millan + + * configure.ac: Bump version to 1.97~beta2. + * docs/version.texi: Likewise. + +2009-09-03 Colin Watson + + * configure.ac: By default, GCC 4.4 generates .eh_frame sections + containing unwind information in some cases where it previously did + not. Use -fno-dwarf2-cfi-asm if available to restore the old + behaviour. See http://patchwork.kernel.org/patch/8555/ for related + discussion. + +2009-09-02 Yves BLUSSEAU + + Embedding loadenv module into grub-emu + + * conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and + commands/loadenv.c + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise + +2009-09-03 Magnus Granberg + + * aclocal.m4: Add grub_CHECK_PIE. It check if the compiler + include -fPIE in the default specs. + * configure.ac: Check if pie_possible is yes and add -fno-PIE + to TARGET_CFLAGS. + +2009-09-03 Felix Zielcke + + * INSTALL: Note that GNU Bison 2.3 or later is required. + +2009-09-03 Colin Watson + + * kern/i386/pc/startup.S: Fix typo. + +2009-09-02 Vladimir Serbinenko + + * efiemu/loadcore.c (SUFFIX (grub_efiemu_loadcore_load)): Fix style + according to GCS. + +2009-09-02 Colin Watson + + * docs/grub.texi (Naming convention): Describe one-based partition + numbering. + (Device syntax): Likewise. + (File name syntax): Likewise. + (Block list syntax): Likewise. + (Making a GRUB bootable CD-ROM): Talk about grub.cfg rather than + menu.lst. + (File name syntax): Likewise. + (Command-line and menu entry commands): Document acpi, blocklist, + crc, export, insmod, keystatus, ls, set, and unset commands. + +2009-09-02 Colin Watson + + * commands/keystatus.c (GRUB_MOD_INIT (keystatus)): Adjust summary + to avoid implying that only one of --shift, --ctrl, or --alt may be + used. + +2009-09-02 Colin Watson + + * util/grub-probe.c (probe): Test st.st_mode using S_ISREG macro + rather than comparing against S_IFREG, which will almost never work. + +2009-09-01 Vladimir Serbinenko + + * commands/loadenv.c (check_blocklists): Fix off-by-one error. + (write_blocklists): Likewise. + +2009-09-01 Colin Watson + + * script/lua/grub_lua.h (fputs): Supply a format string as the first + argument to grub_printf. + +2009-09-01 Felix Zielcke + + * genmk.rb: Add quotes around $(TARGET_OBJ2ELF) to cope with + non GNU test. + +2009-08-30 Vladimir Serbinenko + + * kern/file.c (grub_file_read): Spelling fix + +2009-08-30 Vladimir Serbinenko + + * loader/i386/bsdXX.c (SUFFIX (grub_freebsd_load_elfmodule)): Fix + loading of headers in some cases. + +2009-08-30 Robert Millan + + * configure.ac: Bump version to 1.97~beta1. + * docs/version.texi: Likewise. + +2009-08-29 Vladimir Serbinenko + + * include/grub/i386/xnu.h: Add license header. + include grub/err.h explicitly. + +2009-08-29 Robert Millan + + * util/grub.d/10_freebsd.in: Detect `ufs1' and `ufs2' and map them + to `ufs' in the vfs.root.mountfrom kernel parameter. + +2009-08-29 Robert Millan + + * term/i386/pc/serial.c: Include `'. + + [GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Macroify initialization + value (0x0400 -> GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR). + + [! GRUB_MACHINE_PCBIOS] (GRUB_SERIAL_PORT_NUM): Calculate using + `ARRAY_SIZE' macro. + +2009-08-28 Vladimir Serbinenko + + * kern/file.c (grub_file_read): Check offset. + * fs/hfs.c (grub_hfs_read_file): Remove unnecessary offset check. + * fs/jfs.c (grub_jfs_read_file): Likewise. + * fs/ntfs.c (grub_ntfs_read): Likewise. + * fs/reiserfs.c (grub_reiserfs_read): Likewise. + * fs/minix.c (grub_minix_read_file): Correct offset check. + * fs/ufs.c (grub_ufs_read_file): Likewise. + +2009-08-28 Colin Watson + + * term/i386/pc/console.c (bios_data_area): Cast + GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR explicitly. + +2009-08-28 Vladimir Serbinenko + + 1-bit optimised blitters. + + * include/grub/fbblit.h (grub_video_fbblit_replace_32bit_1bit): New + prototype. + (grub_video_fbblit_replace_24bit_1bit): Likewise. + (grub_video_fbblit_replace_16bit_1bit): Likewise. + (grub_video_fbblit_replace_8bit_1bit): Likewise. + (grub_video_fbblit_blend_XXXA8888_1bit): Likewise. + (grub_video_fbblit_blend_XXX888_1bit): Likewise. + (grub_video_fbblit_blend_XXX565_1bit): Likewise. + * video/fb/fbblit.c (grub_video_fbblit_replace_32bit_1bit): New + function. + (grub_video_fbblit_replace_24bit_1bit): Likewise. + (grub_video_fbblit_replace_16bit_1bit): Likewise. + (grub_video_fbblit_replace_8bit_1bit): Likewise. + (grub_video_fbblit_blend_XXXA8888_1bit): Likewise. + (grub_video_fbblit_blend_XXX888_1bit): Likewise. + (grub_video_fbblit_blend_XXX565_1bit): Likewise. + * video/fb/video_fb.c (common_blitter): Use 1-bit optimised blitters + when possible. + * video/video.c (grub_video_get_blit_format): Return + GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED if bpp = 1. + +2009-08-28 Colin Watson + + * normal/cmdline.c (grub_cmdline_get): Supply a format string as + the first argument to grub_printf. + +2009-08-28 Colin Watson +2009-08-28 Robert Millan + + Add `getkeystatus' terminal method. Add a new `keystatus' command + to query it. + + * include/grub/term.h (GRUB_TERM_STATUS_SHIFT, + GRUB_TERM_STATUS_CTRL, GRUB_TERM_STATUS_ALT): Definitions for + modifier key bitmasks. + (struct grub_term_input): Add `getkeystatus' member. + (grub_getkeystatus): Add prototype. + * kern/term.c (grub_getkeystatus): New function. + + * include/grub/i386/pc/memory.h + (GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR): New macro. + (struct grub_machine_bios_data_area): Define necessary parts of BIOS + Data Area layout. + * term/i386/pc/console.c (grub_console_getkeystatus): New function. + (grub_console_term_input): Set `getkeystatus' member. + * term/usb_keyboard.c (grub_usb_hid): Macroify HID protocol + constants. + (grub_usb_keyboard_getreport): Likewise. + (grub_usb_keyboard_checkkey): Likewise. + (grub_usb_keyboard_getkeystatus): New function. + (grub_usb_keyboard_term): Set `getkeystatus' member. + + * commands/keystatus.c: New file. + * conf/common.rmk (pkglib_MODULES): Add keystatus.mod. + (keystatus_mod_SOURCES): New variable. + (keystatus_mod_CFLAGS): Likewise. + (keystatus_mod_LDFLAGS): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add + commands/keystatus.c. + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + +2009-08-28 Vladimir Serbinenko + + Split befs.mod and afs.mod into *_be.mod and *.mod + + * conf/common.rmk (grub_probe_SOURCES): Add afs_be.c and befs_be.c. + (grub_fstest_SOURCES): Likewise. + (pkglib_MODULES): Add afs_be.mod and befs_be.mod. + (afs_be_mod_SOURCES): New variable. + (afs_be_mod_CFLAGS): Likewise. + (afs_be_mod_LDFLAGS): Likewise. + (befs_be_mod_SOURCES): Likewise. + (befs_be_mod_CFLAGS): Likewise. + (befs_be_mod_LDFLAGS): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add afs_be.c and befs_be.c. + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + * fs/afs_be.c: New file. + * fs/befs_be.c: New file. + * fs/afs.c (GRUB_AFS_FSNAME_SUFFIX): New definition. + (GRUB_AFS_FSNAME): Use GRUB_AFS_FSNAME_SUFFIX. + (U16): Replaced with ... + (grub_afs_to_cpu16): ...this. All users updated. + (U32): Replaced with ... + (grub_afs_to_cpu32): ...this. All users updated. + (U64): Replaced with ... + (grub_afs_to_cpu64): ...this. All users updated. + (GRUB_AFS_BO_LITTLE_ENDIAN): Remove. + (GRUB_AFS_BO_BIG_ENDIAN): Likewise. + (grub_afs_validate_sblock): Check only one endianness. + (GRUB_MOD_INIT (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to .. + (GRUB_MOD_INIT (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this. + (GRUB_MOD_INIT (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to .. + (GRUB_MOD_INIT (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this. + (GRUB_MOD_FINI (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to .. + (GRUB_MOD_FINI (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this. + (GRUB_MOD_FINI (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to .. + (GRUB_MOD_FINI (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this. + +2009-08-26 Bean + + * fs/xfs.c (GRUB_XFS_INO_INOINAG): Replace 1L with 1LL to support + 64-bit number. + (GRUB_XFS_FSB_TO_BLOCK): Likewise. + (grub_xfs_inode_block): Change return type to grub_uint64_t. + (grub_xfs_read_inode): Change type of block to grub_uint64_t. + +2009-08-25 Vladimir Serbinenko + + NetBSD memory map support. + + * include/grub/i386/bsd.h (NETBSD_BTINFO_MEMMAP): New definition. + (grub_netbsd_btinfo_mmap_header): New structure. + (grub_netbsd_btinfo_mmap_entry): Likewise. + * loader/i386/bsd.c (grub_netbsd_boot): Pass memory map. + +2009-08-25 Vladimir Serbinenko + + Enable bsd.mod on coreboot. + + * conf/i386-coreboot.rmk (pkglib_MODULES): Add bsd.mod. + (bsd_mod_SOURCES): New variable. + (bsd_mod_CFLAGS): Likewise. + (bsd_mod_LDFLAGS): Likewise. + (bsd_mod_ASFLAGS): Likewise. + * loader/i386/bsd.c [!GRUB_MACHINE_PCBIOS]: Fix includes. + (grub_bsd_get_device) [!GRUB_MACHINE_PCBIOS]: Set *biosdev to 0xff. + +2009-08-25 Vladimir Serbinenko + + Cleanup NetBSD root support. + + * loader/i386/bsd.c (grub_netbsd_boot): Remove call to + grub_bsd_get_device. + Fix typo. + +2009-08-25 Felix Zielcke + + * util/grub.d/00_header.in: Move check for the video backend of + gfxterm from here ... + * util/grub-mkconfig.in: ... to here. Enable gfxterm if there's + a suitable video backend. + +2009-08-25 Vladimir Serbinenko + + Fix breakage in grub-setup. + + * util/i386/pc/grub-setup.c (setup): Use "part_msdos" instead of + "msdos_partition_map". + +2009-08-25 Vladimir Serbinenko + + Fix breakage in normal/auth.c. + + * normal/auth.c (grub_iswordseparator): New function. + +2009-08-25 Vladimir Serbinenko + + Authentication support. + + * commands/password.c: New file. + * conf/common.rmk (pkglib_MODULES): Add password.mod. + (password_mod_SOURCES): New variable. + (password_mod_CFLAGS): Likewise. + (password_mod_LDFLAGS): Likewise. + (normal_mod_SOURCES): Add normal/auth.c. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add commands/password.c and + normal/auth.c. + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + * include/grub/auth.h: New file. + * include/grub/err.h (grub_err_t): New enum value + GRUB_ERR_ACCESS_DENIED. + * include/grub/menu.h (grub_menu_entry): New fields 'restricted' and + 'users'. + * include/grub/normal.h (grub_cmdline_get): New argument 'history'. + * normal/cmdline.c (grub_cmdline_get): New argument 'history'. All + users updated. + * normal/auth.c: New file. + * normal/main.c (grub_normal_add_menu_entry): Handle --users option. + (grub_cmdline_run): Don't allow to go to command line without + authentication. + * normal/menu.c (grub_menu_execute_entry): Handle restricted entries. + * normal/menu_entry.c (grub_menu_entry_run): Don't allow editing + menuentry without superuser rights. + * normal/menu_viewer.c (grub_menu_viewer_show_menu): Don't exit if + user isn't a superuser. + +2009-08-24 Vladimir Serbinenko + + Save space by inlining misc.c functions. + + * kern/misc.c (grub_iswordseparator): Made static. + * kern/misc.c (grub_strcat): Moved from here ... + * include/grub/misc.h (grub_strcat): ... here. Inlined. + * kern/misc.c (grub_strncat): Moved from here ... + * include/grub/misc.h (grub_strncat): ... here. Inlined. + * kern/misc.c (grub_strcasecmp): Moved from here ... + * include/grub/misc.h (grub_strcasecmp): ... here. Inlined. + * kern/misc.c (grub_strncasecmp): Moved from here ... + * include/grub/misc.h (grub_strncasecmp): ... here. Inlined. + * kern/misc.c (grub_isalpha): Moved from here ... + * include/grub/misc.h (grub_isalpha): ... here. Inlined. + * kern/misc.c (grub_isdigit): Moved from here ... + * include/grub/misc.h (grub_isdigit): ... here. Inlined. + * kern/misc.c (grub_isgraph): Moved from here ... + * include/grub/misc.h (grub_isgraph): ... here. Inlined. + * kern/misc.c (grub_tolower): Moved from here ... + * include/grub/misc.h (grub_tolower): ... here. Inlined. + +2009-08-24 Vladimir Serbinenko + + * script/sh/function.c (grub_script_function_find): Cut error message + not to flood terminal. + * script/sh/lexer.c (grub_script_yylex): Remove command line length + limit. + * script/sh/script.c (grub_script_arg_add): Duplicate string. + +2009-08-24 Colin Watson + + * term/usb_keyboard.c (grub_usb_keyboard_getreport): Make + `report' grub_uint8_t *. + (grub_usb_keyboard_checkkey): Make `data' elements grub_uint8_t. + Use a 50-millisecond timeout rather than just repeating + grub_usb_keyboard_getreport 50 times. + (grub_usb_keyboard_getkey): Make `data' elements grub_uint8_t. + +2009-08-24 Vladimir Serbinenko + + Rename *_partition_map to part_* + + * partmap/acorn.c (grub_acorn_partition_map): Set name to 'part_acorn'. + * partmap/amiga.c (grub_amiga_partition_map): Set name to 'part_amiga'. + * partmap/apple.c (grub_apple_partition_map): Set name to 'part_apple'. + * partmap/gpt.c (grub_gpt_partition_map): Set name to 'part_gpt'. + All users updated. + * partmap/msdos.c (grub_msdos_partition_map): Set name to 'part_msdos'. + All users updated. + * partmap/sun.c (grub_sun_partition_map): Set name to 'part_sun'. + * util/grub-probe.c (probe_partmap): Don't transform partition name + to get module name. + +2009-08-24 Vladimir Serbinenko + + Fix OpenBSD and NetBSD support. + + * include/grub/i386/bsd.h (GRUB_BSD_TEMP_BUFFER): Change to resolve + memory address conflict. + (OPENBSD_MMAP_ACPI): New definition. + (OPENBSD_MMAP_NVS): Likewise. + * loader/i386/bsd.c (grub_openbsd_boot): Support OPENBSD_MMAP_ACPI + and OPENBSD_MMAP_NVS. + Add memory map terminator + Explicit cast when calling grub_unix_real_boot. + (grub_netbsd_boot): Explicit cast when calling grub_unix_real_boot. + +2009-08-24 Vladimir Serbinenko + + Let user specify NetBSD root device. + + * loader/i386/bsd.c (netbsd_root): New variable. + (netbsd_opts): New option 'root'. + (NETBSD_ROOT_ARG): New macro. + (grub_netbsd_boot): Use 'netbsd_root'. + (grub_bsd_unload): Free 'netbsd_root'. + (grub_cmd_netbsd): Fill 'netbsd_root'. + +2009-08-24 Vladimir Serbinenko + + Support for 64-bit NetBSD. + + * loader/i386/bsd.c (grub_bsd_load_elf): Apply correct mask to entry + point when booting non-FreeBSD. + +2009-08-24 Vladimir Serbinenko + + Support --no-smp and --no-acpi for NetBSD. + + * include/grub/i386/bsd.h (NETBSD_AB_NOSMP): New definition. + (NETBSD_AB_NOACPI): Likewise. + * loader/i386/bsd.c (netbsd_opts): New entries no-smp and no-acpi. + (netbsd_flags): Add NETBSD_AB_NOSMP, NETBSD_AB_NOACPI. + +2009-08-23 Vladimir Serbinenko + + * fs/hfsplus.c (grub_hfsplus_mount): Don't ignore grub_hfsplus_read_file + errors. + (grub_hfsplus_btree_iterate_node): Don't ignore grub_hfsplus_read_file + errors. Call grub_error when needed. + +2009-08-23 Vladimir Serbinenko + + * commands/search.c (search_fs): Try searching without autoload first. + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load + filesystem module explicitly for faster booting. + +2009-08-23 Colin Watson + + * util/grub-mkconfig.in: Export GRUB_DISABLE_OS_PROBER. + +2009-08-23 Colin Watson + + * util/grub.d/30_os-prober.in: Disable os-prober if + `GRUB_DISABLE_OS_PROBER' was set to true. + +2009-08-23 Robert Millan + + * partmap/pc.c: Rename to ... + * partmap/msdos.c: ... this. Update all users. + (grub_pc_partition_map): Rename to ... + (grub_msdos_partition_map): ... this. Update all users. + + * parttool/pcpart.c: Rename to ... + * parttool/msdospart.c: ... this. Update all users. + + * include/grub/pc_partition.h: Rename to ... + * include/grub/msdos_partition.h: ... this. Update all users. + (grub_pc_partition_bsd_entry): Rename to ... + (grub_msdos_partition_bsd_entry): ... this. Update all users. + (grub_pc_partition_disk_label): Rename to ... + (grub_msdos_partition_disk_label): ... this. Update all users. + (grub_pc_partition_entry): Rename to ... + (grub_msdos_partition_entry): ... this. Update all users. + (grub_pc_partition_mbr): Rename to ... + (grub_msdos_partition_mbr): ... this. Update all users. + (grub_pc_partition): Rename to ... + (grub_msdos_partition): ... this. Update all users. + (grub_pc_partition_is_empty): Rename to ... + (grub_msdos_partition_is_empty): ... this. Update all users. + (grub_pc_partition_is_extended): Rename to ... + (grub_msdos_partition_is_extended): ... this. Update all users. + (grub_pc_partition_is_bsd): Rename to ... + (grub_msdos_partition_is_bsd): ... this. Update all users. + + * conf/common.rmk (amiga_mod_SOURCES, amiga_mod_CFLAGS) + (amiga_mod_LDFLAGS, apple_mod_SOURCES, apple_mod_CFLAGS) + (apple_mod_LDFLAGS, msdos_mod_SOURCES, msdos_mod_CFLAGS) + (msdos_mod_LDFLAGS, sun_mod_SOURCES, sun_mod_CFLAGS) + (sun_mod_LDFLAGS, acorn_mod_SOURCES, acorn_mod_CFLAGS) + (acorn_mod_LDFLAGS, gpt_mod_SOURCES, gpt_mod_CFLAGS) + (gpt_mod_LDFLAGS): Rename to ... + (part_amiga_mod_SOURCES, part_amiga_mod_CFLAGS, part_amiga_mod_LDFLAGS) + (part_apple_mod_SOURCES, part_apple_mod_CFLAGS, part_apple_mod_LDFLAGS) + (part_msdos_mod_SOURCES, part_msdos_mod_CFLAGS, part_msdos_mod_LDFLAGS) + (part_sun_mod_SOURCES, part_sun_mod_CFLAGS, part_sun_mod_LDFLAGS) + (part_acorn_mod_SOURCES, part_acorn_mod_CFLAGS, part_acorn_mod_LDFLAGS) + (part_gpt_mod_SOURCES, part_gpt_mod_CFLAGS) + (part_gpt_mod_LDFLAGS): ... this. + (pkglib_MODULES): Prefix partition modules with `part_'. Rename + `pcpart.mod' to `msdospart.mod'. + (pcpart_mod_SOURCES, pcpart_mod_CFLAGS, pcpart_mod_LDFLAGS): Rename + to ... + (msdospart_mod_SOURCES, msdospart_mod_CFLAGS) + (msdospart_mod_LDFLAGS): ... this. + +2009-08-23 Vladimir Serbinenko + + * loader/i386/bsd.c (freebsd_opts): Rewritten to use extcmd. + (openbsd_opts): Likewise. + (netbsd_opts): Likewise. + (freebsd_flags): Added 0 terminator. + (openbsd_flags): Likewise. + (netbsd_flags): Likewise. + (grub_bsd_parse_flags): Rewritten to use extcmd. All users updated. + (grub_cmd_freebsd): Transformed into extended command. + (grub_cmd_openbsd): Likewise. + (grub_cmd_netbsd): Likewise. + (cmd_freebsd): Changed type to grub_extcmd_t. + (cmd_openbsd): Likewise. + (cmd_netbsd): Likewise. + (GRUB_MOD_INIT (bsd)): Register grub_cmd_freebsd, grub_cmd_netbsd and + grub_cmd_openbsd as extended commands. + (GRUB_MOD_FINI (bsd)): Use grub_unregister_extcmd for cmd_freebsd, + cmd_netbsd and cmd_openbsd + +2009-08-22 Vladimir Serbinenko + + * commands/xnu_uuid.c (transform): Use grub_memcpy instead of memcpy. + +2009-08-21 Pavel Roskin + + * Makefile.in (install-local): When checking if a file is in the + build directory, use "test -e" to detect symlinks. + + * Makefile.in (install-local): Remove all files in + $(DESTDIR)$(pkglibdir) before installing new files there. + +2009-08-18 Felix Zielcke + + * util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Use + grub-mkelfimage. + +2009-08-18 Felix Zielcke + + * util/grub-mkconfig.in: Don't use gfxterm by default if not + explicitly specified by the user. + +2009-08-18 Pavel Roskin + + * include/grub/fbfill.h (struct grub_video_fbrender_target): Use + grub_uint8_t pointer for data. + * include/grub/fbutil.h (struct grub_video_fbblit_info): + Likewise. + * video/fb/fbutil.c: Remove unnecessary casts. + +2009-08-17 Michal Suchanek + + VBE cleanup. + + * video/i386/pc/vbe.c (vbe_mode_in_use): Removed (duplicate). + (grub_vbe_set_video_mode): Save active mode info + only after setting the mode. + (grub_video_vbe_setup): Call 'grub_vbe_set_video_mode' with NULL as + second argument. + +2009-08-17 Michal Suchanek + + Rename variables for clarity. + + * video/i386/pc/vbe.c (active_mode_info): Renamed to ... + (active_vbe_mode_info): ... this. All users updated. + (framebuffer): Rename 'active_mode' to 'active_vbe_mode'. + All users updated. + (initial_mode): Rename to ... + (initial_vbe_mode): ... this. All users updated. + (mode_in_use): Rename to .. + (vbe_mode_in_use): ... this. All users updated. + (mode_list): Rename to .. + (vbe_mode_list): ... this. All users updated. + (grub_vbe_set_video_mode): Rename 'mode' to 'vbe_mode', 'mode_info' to + 'vbe_mode_info' and 'old_mode' to 'old_vbe_mode'. + (grub_video_vbe_init): Rename 'rm_mode_list' to 'rm_vbe_mode_list' and + 'mode_list_size' to 'vbe_mode_list_size'. + (grub_video_vbe_setup): Rename 'mode_info' to 'vbe_mode_info', + 'best_mode_info' to 'best_vbe_mode_info' and + 'best_mode' to 'best_vbe_mode' + +2009-08-17 Michal Suchanek + + Remove duplicate grub_video_fb_get_video_ptr. + + * include/grub/fbutil.h (get_data_ptr): Rename to ... + (grub_video_fb_get_video_ptr): ... this. + * include/grub/video_fb.h (grub_video_fb_get_video_ptr): Removed. + * video/fb/fbutil.c: Add comment about addressing. + (get_data_ptr): Rename to ... + (grub_video_fb_get_video_ptr): ... this. All users updated. + * video/fb/video_fb.c (grub_video_fb_get_video_ptr): Remove. + +2009-08-17 Robert Millan + + * fs/fat.c (grub_fat_read_data): Remove `#if 0' braces around the + grub_dprintf() that was just added. + +2009-08-17 Robert Millan + + * loader/i386/linux.c (GRUB_ASSUME_LINUX_HAS_FB_SUPPORT) + (DEFAULT_VIDEO_MODE): Remove macros. + (grub_linux_boot): Remove assumption that Linux has FB support, + and use "text" as default video mode. + +2009-08-15 Vladimir Serbinenko + + * fs/affs.c (grub_affs_read_symlink): Change leftover grub_printf into + grub_dprintf. + * fs/fat.c (grub_fat_read_data): Likewise. + +2009-08-14 Vladimir Serbinenko + + * loader/i386/multiboot.c (grub_multiboot): Don't pass filename to + payload. + (grub_module): Likewise. + +2009-08-14 Vladimir Serbinenko + + * loader/i386/multiboot.c (grub_multiboot_unload): Don't free mbi and + mbi->cmdline but free playground. + +2009-08-14 Vladimir Serbinenko + + Handle group offset on UFS1. + + * fs/ufs.c (grub_ufs_sblock): New field 'cylg_mask'. + (grub_ufs_read_inode) [!MODE_UFS2]: handle cylg_offset and cylg_mask. + +2009-08-14 Vladimir Serbinenko + + Split ufs.mod into ufs1.mod and ufs2.mod. + + * conf/common.rmk (grub_probe_SOURCES): Add fs/ufs2.c. + (grub_fstest_SOURCES): Likewise. + (pkglib_MODULES): Remove ufs.mod. Add ufs1.mod and ufs2.mod. + (ufs_mod_SOURCES): Remove. + (ufs_mod_CFLAGS): Likewise. + (ufs_mod_LDFLAGS): Likewise. + (ufs1_mod_SOURCES): New variable. + (ufs1_mod_CFLAGS): Likewise. + (ufs1_mod_LDFLAGS): Likewise. + (ufs2_mod_SOURCES): New variable. + (ufs2_mod_CFLAGS): Likewise. + (ufs2_mod_LDFLAGS): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add fs/ufs2.c. + * conf/i386-efi.rmk (util/i386/efi/grub-mkimage.c_DEPENDENCIES): + Likewise. + (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + (grub_setup_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64.rmk (grub_emu_SOURCES): Likewise. + (grub_setup_SOURCES): Likewise. + * conf/x86_64-efi.rmk (util/i386/efi/grub-mkimage.c_DEPENDENCIES): + Likewise. + * fs/ufs2.c: New file. + * fs/ufs.c: Separate UFS1 from UFS2 by using preprocessor. + +2009-08-14 Vladimir Serbinenko + + Framebuffer split. + + * commands/i386/pc/vbetest.c (grub_cmd_vbetest): Restore video + subsystem at the end. + * conf/common.rmk (pkglib_MODULES): Add video_fb.mod. + (video_fb_mod_SOURCES): New variable. + (video_fb_mod_CFLAGS): Likewise. + (video_fb_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk (vbe_mod_SOURCES): Remove video/i386/pc/vbeblit.c, + video/i386/pc/vbefill.c and video/i386/pc/vbeutil.c. + * video/i386/pc/vbeblit.c: Moved from here ... + * video/fb/fbblit.c: ..here. Replaced 'vbe' with 'fb'. + * video/i386/pc/vbefill.c: Moved from here ... + * video/fb/fbfill.c: ..here. Replaced 'vbe' with 'fb'. + * video/i386/pc/vbeutil.c: Moved from here ... + * video/fb/fbutil.c: ..here. Replaced 'vbe' with 'fb'. + * include/grub/i386/pc/vbeblit.h: Moved from here ... + * include/grub/fbblit.h: ... here. Replaced 'vbe' with 'fb'. + * include/grub/i386/pc/vbefill.h: Moved from here ... + * include/grub/fbfill.h: ... here. Replaced 'vbe' with 'fb'. + * include/grub/i386/pc/vbeutil.h: Moved from here ... + * include/grub/fbutil.h: ... here. Replaced 'vbe' with 'fb'. + * include/grub/i386/pc/vbe.h: Moved framebuffer part ... + * include/grub/video_fb.h: ... here. Replaced 'vbe' with 'fb'. + * include/grub/video.h (GRUB_VIDEO_RENDER_TARGET_FRONT_BUFFER): Removed. + (GRUB_VIDEO_RENDER_TARGET_BACK_BUFFER): Likewise. + (grub_video_adapter): Added 'get_info_and_fini'. + (grub_video_get_info_and_fini): New prototype. + (grub_video_set_mode): make modestring const char *. + * loader/i386/linux.c (grub_linux_setup_video): Use + grub_video_get_info_and_fini. + (grub_linux_boot): Move modesetting just before booting. + * loader/i386/pc/xnu.c (grub_xnu_set_video): Use + grub_video_get_info_and_fini. + * video/i386/pc/vbe.c: Moved framebuffer part ... + * video/fb/video_fb.c: ... here. Replaced 'vbe' with 'fb'. + * video/i386/pc/vbe.c (grub_vbe_set_video_mode): Use + grub_video_fbstd_colors and grub_video_fb_set_palette. + (grub_video_vbe_init): Clear 'framebuffer' variable and use + grub_video_fb_init. + (grub_video_vbe_fini): Use grub_video_fb_fini. + (grub_video_vbe_setup): Use framebuffer.render_target instead of + render_target and use grub_video_fb_set_active_render_target and + grub_video_fb_set_palette. + (grub_video_vbe_set_palette): Use grub_video_fb_set_palette. + (grub_video_vbe_set_viewport): Use grub_video_fb_set_viewport. + (grub_video_vbe_adapter): Use framebuffer. + * video/video.c (grub_video_get_info_and_fini): New function. + (grub_video_set_mode): Make modestring const char *. + (GRUB_MOD_INIT(video_video)): Don't set variables to 0 since these + values are already initialised. + +2009-08-14 Pavel Roskin + + * boot/i386/pc/cdboot.S: Use LOCAL for local labels. Eliminate + ABS and APPLE_CC. + * boot/i386/pc/diskboot.S: Likewise. + * boot/i386/pc/lnxboot.S: Likewise. Hardcode the number of code + sectors allow compilation on MacOSX. + * conf/i386-pc.rmk: Enable unconditional compilation of + lnxboot.img. + +2009-08-13 Colin Watson + + * util/grub-mkconfig.in: Export GRUB_HIDDEN_TIMEOUT. + * util/grub.d/00_header.in: Enter interruptible sleep if + GRUB_HIDDEN_TIMEOUT is set. + +2009-08-13 Yves Blusseau + + * include/grub/symbol.h: Add the LOCAL macro. + * boot/i386/pc/boot.S: Use the LOCAL macro for all labels + starting with "L_". + +2009-08-13 Pavel Roskin + + * boot/i386/pc/boot.S: Remove ABS macro, it's not required by + any modern compilers we support. + + * boot/i386/pc/boot.S: Remove all code dependent on APPLE_CC. + Use local labels starting with "L_" so that Apple assembler + knows they are local. + +2009-08-10 Robert Millan + + * include/grub/i386/bsd.h (KERNEL_TYPE_NONE, KERNEL_TYPE_FREEBSD) + (KERNEL_TYPE_OPENBSD, KERNEL_TYPE_NETBSD): Convert to ... + (bsd_kernel_types): ... this enum. + + * loader/i386/bsd.c (grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module) + (grub_cmd_freebsd_module_elf): Abort with "You need to load the + kernel first." when `kernel_type' is set to KERNEL_TYPE_NONE. + + (grub_bsd_load_aout, grub_bsd_load, grub_cmd_freebsd_loadenv) + (grub_cmd_freebsd_module, grub_cmd_freebsd_module_elf) + (GRUB_MOD_INIT (bsd)): Fix capitalization in a few error + messages. + +2009-08-08 Robert Millan + + * util/grub-dumpdevtree: Moved from here ... + * util/i386/efi/grub-dumpdevtree: ... to here. + (hexify): New function. Converts a string to its hex version. + Generate hex versions of "efi" and "device-properties" by calling + hexify() on the ASCII strings rather than by hardcoding numbers. + +2009-08-08 Robert Millan + + * fs/jfs.c: Update copyright year. + +2009-08-08 Felix Zielcke + + * util/grub.d/00_header.in: Fix a comment. + * util/grub.d/10_linux.in: Likewise. + * util/grub.d/10_windows.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + +2009-08-08 Felix Zielcke + + * util/grub-mkconfig.in: Allow the user to specify the used font + with GRUB_FONT. + +2009-08-08 Pavel Roskin + + * include/grub/powerpc/libgcc.h: Export __ashrdi3() if + available, xfs.mod needs it now. + + * util/grub-mkconfig_lib.in (version_test_numeric): Don't use + the "g" modifier in sed when the intention is to strip something + once. This fixes comparison of kernels with multiple dashes. + + * util/grub-mkconfig.in: Define datarootdir, datadir may depend + on it. Add missing space before closing bracket. Fix + misleading formatting. + +2009-08-07 Robert Millan + + * docs/grub.texi: Major overhaul. Remove all sections that are + specific to GRUB Legacy, or mostly composed of Legacy-specific + information. + +2009-08-07 Robert Millan + + * docs/version.texi: New file. Provides version information for + grub.texi. + +2009-08-07 Robert Millan + + * docs/grub.texi: Update CVS information to SVN. + Replace outdated "GRUB 2 will include" phrase with "GRUB 2 includes". + +2009-08-07 Felix Zielcke + + * util/grub-mkconfig.in: Remove a wrong `fi'. + +2009-08-07 Felix Zielcke + + * fs/uuid.c (grub_jfs_superblock): New fields unused2 and uuid. + (grub_jfs_uuid): New function. + (grub_jfs_fs): Set uuid field to grub_jfs_uuid. + +2009-08-07 Felix Zielcke + + * util/grub-mkconfig_lib.in (font_path): Move the functionality + of it to ... + * util/grub-mkconfig.in: ... here. Prefer unicode.pf2 and + unifont.pf2 over ascii.pf2. Export LANG=C in case ascii.pf2 gets used. + +2009-08-07 Robert Millan + + * util/grub.d/10_linux.in (test_numeric): Moved from here ... + * util/grub-mkconfig_lib.in (version_test_numeric): ... to here. + Update all users. + + * util/grub.d/10_linux.in (test_gt): Strip any basename prefix, + not just "vmlinu[zx]". + Moved from here ... + * util/grub-mkconfig_lib.in (version_test_gt): ... to here. Update + all users. + + * util/grub.d/10_linux.in (find_latest): Moved from here ... + * util/grub-mkconfig_lib.in (version_find_latest): ... to here. Update + all users. + +2009-08-07 Robert Millan + + * util/grub.d/10_freebsd.in: Use an absolute device path for + `vfs.root.mountfrom'. Set `vfs.root.mountfrom.options=rw'. + +2009-08-06 Felix Zielcke + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix + handling of multiple abstraction modules. + +2009-08-04 Robert Millan + + Fix a bug resulting in black screen when loading Linux using a + packed video mode. + + * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette_width): New + function. + + * include/grub/i386/pc/vbe.h (GRUB_VBE_CAPABILITY_DACWIDTH): New macro. + (grub_vbe_bios_getset_dac_palette_width): New function. + (grub_vbe_bios_get_dac_palette_width) + (grub_vbe_bios_set_dac_palette_width): New macros (act as wrappers for + grub_vbe_bios_getset_dac_palette_width()). + + * video/i386/pc/vbe.c (grub_vbe_probe): Use `GRUB_VBE_STATUS_OK' to + check for return status. + (grub_vbe_get_video_mode_info): When getting information for a packed + mode (<= 8 bpp), obtain DAC palette width using + grub_vbe_bios_getset_dac_palette_width(), and use that for initializing + {red,green,blue}_mark_size. + +2009-08-04 Felix Zielcke + + * commands/search.c (options): Fix help output to match actual code. + +2009-08-02 Vladimir Serbinenko + + * commands/hexdump.c (grub_cmd_hexdump): Use grub_disk_read instead + of homegrown code. + +2009-08-01 Vladimir Serbinenko + + * util/hostfs.c (grub_hostfs_dir): Don't use DT_DIR: It doesn't work + on XFS or ReiserFS. + +2009-08-01 Vladimir Serbinenko + + Support Apple partition map with sector size different from 512 bytes. + + * partmap/apple.c (grub_apple_header): New field 'blocksize'. + (apple_partition_map_iterate): Respect 'aheader.blocksize' + and 'apart.partmap_size'. + +2009-08-01 Vladimir Serbinenko +2009-08-01 Robert Millan + + Fix cpuid command. + + * commands/i386/cpuid.c (options): New variable. + (grub_cmd_cpuid): Return real error. + (GRUB_MOD_INIT(cpuid)): Declare options. + +2009-07-31 Vladimir Serbinenko + + * partmap/pc.c (pc_partition_map_iterate): Check that boot flags are + valid. + +2009-07-31 Bean + + * fs/xfs.c (grub_xfs_sblock): Change unused5 field to log2_sect and + log2_inode. + (grub_fshelp_node): Move inode field to the end. + (grub_xfs_data): Remove inode field. + (grub_xfs_inode_block): Calculate inode size using sblock. + (grub_xfs_inode_offset): Likewise. + (grub_xfs_read_inode): Calculate inode size using sblock. + (grub_xfs_read_block): Replace XFS_INODE_EXTENTS with nrec. + (grub_xfs_iterate_dir): Calculate inode size using sblock. + (grub_xfs_mount): Use grub_zalloc instead of grub_malloc. Realloc data + to match inode size. + (grub_xfs_dir): goto mount_fail when mount fails, as data->diropen is + not accessible when data is null. + (grub_xfs_open): Likewise. + +2009-07-31 Bean + + * disk/lvm.c (grub_lvm_scan_device): Ignore extra copy of metadata. + Don't change pv->disk if it's already set. + + * disk/raid.c (grub_raid_scan_device): Merge this function into ... + (grub_raid_register): ... here. + (grub_raid_rescan): Removed. + + * include/grub/raid.h (grub_raid_rescan): Removed. + + * util/grub-fstest.c: Remove include file . + (fstest): Replace grub_raid_rescan with module fini function followed + by init function. + + * util/grub-probe.c: Add include file . + (probe_raid_level): New function. + (probe): Detect abstraction by walking the disk device, support two + level of abstraction (LVM on RAID) when detecting partition map. + +2009-07-31 Pavel Roskin + + * disk/raid5_recover.c (grub_raid5_recover): Revert conversion + to grub_zalloc(), it was erroneous. + Reported by Bean + +2009-07-30 Vladimir Serbinenko + + * util/i386/pc/grub-setup.c (setup): Check that no partition is in + embedding zone, not only the first one. + +2009-07-29 Joe Auricchio + + * term/gfxterm.c (clear_char): New function. + (grub_virtual_screen_setup): Use clear_char. + (scroll_up): Likewise. + (grub_virtual_screen_cls): Likewise. + +2009-07-29 Felix Zielcke + + * util/deviceiter.c (get_acceleraid_disk_name): New static + function. + (grub_util_iterate_devices): Handle Accelraid devices. + * util/hostdisk.c (convert_system_partition_to_system_disk): Likewise. + +2009-07-28 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): Use ',' rather than ';' as + separator for the suggested gfxpayload string (';' collides with the + parser and needs escaping). + +2009-07-28 Vladimir Serbinenko + + * loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator): + Clear direction flag before jumping to OS. + (grub_multiboot2_real_boot): Likewise. + +2009-07-28 Felix Zielcke + + * util/i386/pc/grub-install: Fix parsing of --disk-module + option. + +2009-07-28 Felix Zielcke + + * util/i386/pc/grub-setup.c (setup): Fix 2 incorrect checks + when embedding. + +2009-07-26 Felix Zielcke + + * util/grub-mkconfig.in (package_version): New variable. + Use it do display the version. + +2009-07-25 Felix Zielcke + + * kern/file.c (grub_file_open): Revert to previous check with + grub_errno. + +2009-07-25 Vladimir Serbinenko + + * commands/probe.c (GRUB_MOD_INIT (probe)): Remove "[--target=target]" + from help line. It's out of sync with code. + +2009-07-25 Vladimir Serbinenko + + * kern/parser.c (grub_parser_execute): Fix a bug causing truncated + entries on failed boot. + +2009-07-25 Felix Zielcke + + * kern/file.c (grub_file_open): Fix an error check. + +2009-07-24 Vladimir Serbinenko + + * util/i386/pc/grub-setup.c (setup): Fix segmentation fault when + partition map couldn't be identified. + +2009-07-23 Pavel Roskin + + * commands/xnu_uuid.c (transform): Use GRUB_CPU_WORDS_BIGENDIAN + instead of WORDS_BIGENDIAN. Use grub_le_to_cpu32(), so that the + case of little endian words becomes just an optimization. + Respect const modifier. + (md5_final): Use code that doesn't depend on endianness. + + * include/grub/misc.h (ALIGN_UP): Cast align to the type of addr + to avoid loss of upper bits if align is unsigned and shorter + than addr. + +2009-07-21 Vladimir Serbinenko + + UUID support for UFS + + * fs/ufs.c (grub_ufs_sblock): Add uuidhi and uuidlow. + (grub_ufs_uuid): New function. + (grub_ufs_fs): add .uuid + +2009-07-21 Pavel Roskin + + * kern/dl.c (grub_dl_check_header): Make static. + +2009-07-21 Felix Zielcke + + * util/grub.d/30_os-prober.in: Remove unused CHAINROOT. Don't + add drivemap for Vista. It breaks Windows 7. + +2009-07-21 Vladimir Serbinenko + + * fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by + 128 bytes + +2009-07-20 Vladimir Serbinenko + + Add BFS support + + * conf/common.rmk (grub_probe_SOURCES): Add fs/befs.c. + (grub_fstest_SOURCES): Likewise. + (pkglib_MODULES): Add befs.mod. + (befs_mod_SOURCES): New variable. + (befs_mod_CFLAGS): Likewise. + (befs_mod_LDFLAGS): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + (grub_setup_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (grub_setup_SOURCES): Likewise. + * fs/befs.c: New file. + * fs/afs.c (GRUB_AFS_FSNAME): New declaration. + (GRUB_AFS_SBLOCK_SECTOR): Likewise. + (GRUB_AFS_SBLOCK_MAGIC1) [MODE_BFS]: New conditional declaration. + (GRUB_AFS_BTREE_MAGIC) [MODE_BFS]: Likewise + (B_KEY_INDEX_ALIGN): New declaration. + (B_KEY_INDEX_OFFSET): Use B_KEY_INDEX_ALIGN. + (grub_afs_bnode) [MODE_BFS]: Make key_count and key_size 16-bit + (grub_afs_btree) [MODE_BFS]: New conditional declaration. + (grub_afs_sblock) [MODE_BFS]: Remove link_count. + (grub_afs_validate_sblock) [MODE_BFS]: Support BFS + (grub_afs_mount) [MODE_BFS]: Likewise. + (grub_afs_dir) [MODE_BFS]: Divide mtime by 65536 and not 1000000. + (grub_afs_fs): Use GRUB_AFS_FSNAME + (GRUB_MOD_INIT (afs)) [MODE_BFS]: Rename to ... + (GRUB_MOD_INIT (befs)) [MODE_BFS]: ... this + (GRUB_MOD_FINI (afs)) [MODE_BFS]: Rename to ... + (GRUB_MOD_FINI (befs)) [MODE_BFS]: ... this + +2009-07-19 Yves BLUSSEAU + + * util/getroot.c (find_root_device): Add support for MacOSX. + * util/hostdisk.c: Likewise. + +2009-07-20 Vladimir Serbinenko + + * font/font.c (find_glyph): Check whether a font is present to avoid + segmentation fault. + +2009-07-20 Joe Auricchio + + * term/gfxterm.c (grub_virtual_screen_setup): Clear virtual_screen. + +2009-07-20 Pavel Roskin + + * configure.ac: Trim excessively wordy excuses. + +2009-07-20 Vladimir Serbinenko + + Add symlink, mtime and label support to AtheFS. + + * fs/afs.c (grub_afs_sblock): Declare `name' as char. + (grub_afs_iterate_dir): Handle symlinks. + (grub_afs_open): Use grub_afs_read_symlink. + (grub_afs_dir): Likewise. + Pass mtime. + (grub_afs_label): New function. + (grub_afs_fs): Add grub_afs_label. + (grub_afs_read_symlink): New function. + +2009-07-20 Vladimir Serbinenko + + Fix AtheFS support. + + * fs/afs.c: Fix comments style. + (grub_afs_blockrun): Declare as packed. + (grub_afs_datastream): Likewise. + (grub_afs_bnode): Likewise. + (grub_afs_btree): Likewise. + (grub_afs_sblock): Likewise. + Declare `name' as char. + (grub_afs_inode): Declare as packed. + Change void *vnode to grub_uint32_t unused. + (grub_afs_iterate_dir): Check that key_size is positive. + (grub_afs_mount): Don't read superblock twice. + (grub_afs_dir): Don't free node in case of error, + grub_fshelp_find_file already handles this. + (grub_afs_open): Likewise. + +2009-07-19 Pavel Roskin + + * Makefile.in: Remove LIBLZO and enable_lzo. + * conf/i386-pc.rmk: Remove lzo support. + * configure.ac: Remove checks for lzo, don't define ENABLE_LZMA. + * include/grub/i386/pc/kernel.h: Define ENABLE_LZMA. Remove lzo + support. + * kern/i386/pc/lzo1x.S: Remove. + * kern/i386/pc/startup.S: Remove lzo support. + * util/i386/pc/grub-mkimage.c: Likewise. + +2009-07-19 Vladimir Serbinenko + + * disk/usbms.c (grub_usbms_transfer): Fix double semicolon. + * fs/xfs.c (grub_xfs_dir): Likewise. + * fs/afs.c (grub_afs_dir): Likewise. + * fs/iso9660.c (grub_iso9660_iterate_dir): Likewise. + (grub_iso9660_open): Likewise. + * fs/jfs.c (grub_jfs_open): Likewise. + * fs/ext2.c (grub_ext2_dir): Likewise. + * include/grub/macho.h (grub_macho_fat_arch): Likewise. + * script/sh/lexer.c (grub_script_yylex): Likewise. + +2009-07-16 Pavel Roskin + + * configure.ac: Never add "-c" to CFLAGS. + + * configure.ac: Fix incorrect comparison for grub_cv_cc_efiemu. + + * configure.ac: Fix wrong use of grub_cv_cc_no_red_zone where + grub_cv_cc_efiemu should be used. + + * configure.ac: Typo fixes. + + * kern/mm.c (grub_zalloc): New function. + (grub_debug_zalloc): Likewise. + * include/grub/mm.h: Declare grub_zalloc() and + grub_debug_zalloc(). + * util/misc.c (grub_zalloc): New function. + * bus/usb/uhci.c (grub_uhci_pci_iter): Use grub_zalloc() + instead of grub_malloc(), remove unneeded initializations. + * bus/usb/usbhub.c (grub_usb_hub_add_dev): Likewise. + * commands/extcmd.c (grub_extcmd_dispatcher): Likewise. + * commands/parttool.c (grub_cmd_parttool): Likewise. + * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Likewise. + * disk/raid5_recover.c (grub_raid5_recover): Likewise. + * disk/raid6_recover.c (grub_raid6_recover): Likewise. + * disk/usbms.c (grub_usbms_finddevs): Likewise. + * efiemu/mm.c (grub_efiemu_request_memalign): Likewise. + * efiemu/pnvram.c (grub_efiemu_pnvram): Likewise. + (grub_cmd_efiemu_pnvram): Likewise. + * fs/i386/pc/pxe.c (grub_pxefs_open): Likewise. + * fs/iso9660.c (grub_iso9660_mount): Likewise. + (grub_iso9660_iterate_dir): Likewise. + * fs/jfs.c (grub_jfs_opendir): Likewise. + * fs/ntfs.c (list_file): Likewise. + (grub_ntfs_mount): Likewise. + * kern/disk.c (grub_disk_open): Likewise. + * kern/dl.c (grub_dl_load_core): Likewise. + * kern/elf.c (grub_elf_file): Likewise. + * kern/env.c (grub_env_context_open): Likewise. + (grub_env_set): Likewise. + (grub_env_set_data_slot): Likewise. + * kern/file.c (grub_file_open): Likewise. + * kern/fs.c (grub_fs_blocklist_open): Likewise. + * loader/i386/multiboot.c (grub_module): Likewise. + * loader/xnu.c (grub_xnu_create_key): Likewise. + (grub_xnu_create_value): Likewise. + * normal/main.c (grub_normal_add_menu_entry): Likewise. + (read_config_file): Likewise. + * normal/menu_entry.c (make_screen): Likewise. + * partmap/sun.c (sun_partition_map_iterate): Likewise. + * script/sh/lexer.c (grub_script_lexer_init): Likewise. + * script/sh/script.c (grub_script_parse): Likewise. + * video/bitmap.c (grub_video_bitmap_create): Likewise. + * video/readers/jpeg.c (grub_video_reader_jpeg): Likewise. + * video/readers/png.c (grub_png_output_byte): Likewise. + (grub_video_reader_png): Likewise. + +2009-07-16 Vladimir Serbinenko + + Enable all targets that can be built by default + + * configure.ac: enable efiemu runtime, grub-emu, grub-emu-usb, + grub-mkfont and grub-fstest if they can be built + +2009-07-16 Vladimir Serbinenko + + Fix hang and segmentation fault in grub-emu-usb + + * disk/scsi.c (grub_scsi_open): return err and not grub_errno + * util/usb.c (grub_libusb_devices): likewise + (grub_libusb_init): rename to ... + (GRUB_MOD_INIT (libusb)):...this + (grub_libusb_fini): rename to .. + (GRUB_MOD_FINI (libusb)):...this + * disk/usbms.c (grub_usbms_transfer): fix retry logic + * include/grub/disk.h (grub_raid_init): removed, it's useless + (grub_raid_fini): likewise + (grub_lvm_init): likewise + (grub_lvm_fini): likewise + * util/grub-emu.c (main): don't call grub_libusb_init, it's done + by grub_init_all + +2009-07-16 Vladimir Serbinenko + + Fix libusb + + * Makefile.in (LIBUSB): new macro + * genmk.rb (Utility/print_tail): new method + (Utility/rule): use intermediary variable #{prefix}_OBJECTS + (top level): call util.print_tail at the end. + +2009-07-16 Vladimir Serbinenko + + Make FreeBSD accept zpool.cache + + * loader/i386/bsd.c (grub_freebsd_add_meta_module): spoof filename if + type is /boot/zfs/zpool.cache + +2009-07-16 Vladimir Serbinenko + + Fix 64-bit efiemu + + * include/grub/efiemu/efiemu.h (grub_efiemu_configuration_table64_t): + correct wrong typedef + * efiemu/prepare.c (SUFFIX (grub_efiemu_prepare)): minor style fixes + +2009-07-15 Pavel Roskin + + * include/grub/disk.h (struct grub_disk_dev): Use enum for id. + * kern/disk.c (struct grub_disk_cache): Likewise. + + * commands/probe.c (options): Typo fix. + + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END): + Increase to 0x5a to accommodate FAT32. Adjust other offsets + accordingly. + Original patch by Yves Blusseau + + * boot/i386/pc/boot.S (general_error_string): Add DOS newline at + the end of "Error" to make the message more readable. + + * boot/i386/pc/boot.S (kernel_segment): Remove. + (copy_buffer): Use GRUB_BOOT_MACHINE_KERNEL_ADDR in segment 0 + for destination. + + * boot/i386/pc/boot.S (boot_version): Remove. + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_VER_MAJ): + Remove. + + * include/grub/i386/pc/boot.h: Sort all offsets. + (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Remove, it's unused. + (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Likewise. + * boot/i386/pc/boot.S: Assert location of every offset listed in + include/grub/i386/pc/boot.h. + +2009-07-13 Pavel Roskin + + * include/grub/i386/coreboot/machine.h: Rename + GRUB_MACHINE_LINUXBIOS to GRUB_MACHINE_COREBOOT. + * loader/multiboot_loader.c (grub_cmd_multiboot_loader): Allow + multiboot 1 for GRUB_MACHINE_COREBOOT and GRUB_MACHINE_QEMU. + + * kern/dl.c: Force native word size to suppress warnings when + compiling grub-emu. + + * kern/device.c (grub_device_iterate): Change struct part_ent to + hold the name, not a pointer to it. Use one grub_malloc() per + partition, not two. Free partition_name if grub_malloc() fails. + Set ents to NULL only before grub_partition_iterate() is called. + +2009-07-11 Bean + + * kern/ieee1275/openfw.c (grub_children_iterate): Fix size of + childname. + +2009-07-10 Bean +2009-07-10 Robert Millan + + * kern/ieee1275/openfw.c (grub_children_iterate) + (grub_devalias_iterate): Fix size evaluation for property or path + strings, which was broken since r2132. + +2009-07-07 Pavel Roskin + + * commands/search.c (search_file): Merge into ... + (search_fs): ... this. Accept search type as argument. + (grub_cmd_search): Pass search type to search_fs(). + + * include/grub/util/console.h: New file. + * util/console.c: Use it instead of grub/machine/console.h. + * util/grub-emu.c: Likewise. + + * lib/arg.c (find_long_option): Remove. + (find_long): Add `len' argument, make `s' const char *. + (grub_arg_parse): Parse long options in place, not in a + temporary buffer. + +2009-07-06 Pavel Roskin + + * commands/search.c (search_fs): Fix potential NULL pointer + dereference. + + * commands/search.c (search_fs): Replace QUID macro with quid_fn + function pointer. + +2009-07-06 Daniel Mierswa + + * commands/search.c (search_fs): Use grub_strcasecmp() for UUID + comparison. + +2009-07-05 Pavel Roskin + + * include/grub/i386/linux.h (struct linux_kernel_params): + Restore padding3, it's still needed. + + * util/grub.d/10_freebsd.in: Fix spelling of `device.hints' on + FreeBSD. + * util/osdetect.lua: Likewise. + +2009-07-05 Bean + + * conf/common.rmk (lua_mode_SOURCES): Add script/lua/lstrlib.c. + + * script/lua/grub_lib.c (grub_lua_run): Check input parameter. + (grub_lua_getenv): Likewise. + (grub_lua_setenv): Likewise. + (save_errno): New function. + (push_result): Likewise. + (grub_lua_enum_device): Likewise. + (grub_lua_enum_file): Likewise. + (grub_lua_file_open): Likewise. + (grub_lua_file_close): Likewise. + (grub_lua_file_seek): Likewise. + (grub_lua_file_read): Likewise. + (grub_lua_file_getline): Likewise. + (grub_lua_file_getsize): Likewise. + (grub_lua_file_getpos): Likewise. + (grub_lua_file_eof): Likewise. + (grub_lua_file_exist): Likewise. + (grub_lua_add_menu): Likewise. + + * script/lua/grub_lua.h (isupper): New inline function. + (islower): Likewise. + (ispunct): Likewise. + (isxdigit): Likewise. + (strcspn): Change to normal function. + (strpbkr): New function declaration. + (memchr): Likewise. + + * script/lua/grub_main.c (scan_str): New function. + (strcspn): Likewise. + (strpbrk): Likewise. + (memchr): Likewise. + + * script/lua/linit.c (lualibs): Enable the string library. + + * util/osdetect.lua: New file. + +2009-07-04 Robert Millan + + * include/grub/i386/linux.h (struct linux_kernel_params): Add + `capabilities' member. + +2009-07-02 Pavel Roskin + + * genparttoollist.sh: Add missing newline at the end. + +2009-07-01 Pavel Roskin + + * kern/x86_64/efi/callwrap.S: Add missing newline at the end. + + * util/hostdisk.c (open_device): Remove `const' from + `sysctl_size', as sysctlbyname() can change it (in this case it + doesn't actually happen). + + * include/grub/types.h: Define GRUB_LONG_MAX and GRUB_LONG_MIN + using signed long int constants. + + * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Make `p' + constant to avoid a warning on FreeBSD. + + * util/hostdisk.c (device_is_wholedisk): Compile only on systems + where it's needed. + + * Makefile.in: Install include/grub/machine symlink. + + * Makefile.in: When installing symlinks, use "cp -fR", which + works on FreeBSD and MacOSX. + From Yves Blusseau + + * kern/dl.c (grub_dl_resolve_symbol): Make static. + * include/grub/dl.h: Remove grub_dl_resolve_symbol(). + + * util/misc.c: Move grub_reboot() and grub_halt() ... + * util/grub-emu.c: ... here. Make main_env static. + * include/grub/util/misc.h: Remove main_env. + + * kern/mm.c: Use correct format to print size_t. + + * include/grub/elf.h: Define Elf_Sword and Elf_Xword. + * kern/i386/dl.c: Use ELF symbols without "32" or "64". + * kern/powerpc/dl.c: Likewise. + * kern/sparc64/dl.c: Likewise. + * kern/x86_64/dl.c: Likewise. + +2009-07-01 Robert Millan + + Fix grub-emu build on sparc64-ieee1275. + + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Synchronize with ... + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): ... this. + +2009-07-01 Robert Millan + + * util/misc.c: Include `' and `'. + (grub_reboot, grub_halt): New functions. + + * util/i386/pc/misc.c: Delete. Update all users. + * util/sparc64/ieee1275/misc.c: Likewise. + * util/powerpc/ieee1275/misc.c: Likewise. + +2009-07-01 Robert Millan + + * conf/i386.rmk (setjmp_mod_SOURCES) + (setjmp_mod_ASFLAGS, setjmp_mod_LDFLAGS): Move to ... + * conf/common.rmk (setjmp_mod_SOURCES) + (setjmp_mod_ASFLAGS, setjmp_mod_LDFLAGS): ... here, and modify + to use $(target_cpu). + * conf/x86_64-efi.rmk (setjmp_mod_SOURCES) + (setjmp_mod_ASFLAGS, setjmp_mod_LDFLAGS): Remove. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + + * conf/i386-pc.rmk (kernel_img_SOURCES): Use + $(target_cpu) for kern/$(target_cpu)/dl.c. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Use + $(target_cpu) for kern/$(target_cpu)/dl.c and for + kern/$(target_cpu)/cache.S. + * conf/sparc64-ieee1275.rmk: Likewise. + +2009-07-01 Robert Millan + + * include/grub/i386/linux.h (linux_kernel_params): Change `mmap_size' + type to `grub_uint8_t', and adjust `padding9' accordingly. + +2009-06-29 Robert Millan + + * include/grub/i386/linux.h (GRUB_VIDEO_TYPE_TEXT): New macro. + + * loader/i386/linux.c [__i386__] (grub_linux_boot): Simplify inline + assembly in final jump, using register constraints. + + (grub_linux_boot): For text mode, initialize `have_vga' using + GRUB_VIDEO_TYPE_TEXT rather than 0 (this changes its value to 1). + + Initialize `video_cursor_x' and `video_cursor_y' as late as possible, + right before the final jump. + + Set `video_mode' to 0x3. + + Document initialization of `video_page', `video_mode' and + `video_ega_bx'. + +2009-06-29 Robert Millan + + * include/grub/i386/linux.h (GRUB_LINUX_FLAG_QUIET): New macro. + * loader/i386/linux.c (grub_cmd_linux): Recognize "quiet" option, + and set GRUB_LINUX_FLAG_QUIET appropriately. + +2009-06-29 Robert Millan + + Fix build on Debian / sparc. + + * configure.ac: Recognize `sparc' target_cpu (as sparc64). + +2009-06-28 Pavel Roskin + + * kern/i386/qemu/mmap.c (grub_machine_mmap_iterate): Use cast to + fix a warning. + + * util/grub.d/10_linux.in: Match SUSE style initrd names. + +2009-06-27 Robert Millan + + * loader/i386/linux.c (grub_linux_boot): Fix uninitialized use of + `err'. + +2009-06-27 Robert Millan + + Revert r2338. + + * loader/i386/linux.c (grub_cmd_linux): Don't call grub_error when + file can't be opened. grub_file_open() is already supposed to set + grub_errno / grub_errmsg appropriately. + * loader/i386/pc/linux.c (grub_cmd_linux): Likewise. + +2009-06-27 Pavel Roskin +2009-06-27 Robert Millan + + * include/grub/dl.h: Include grub/elf.h. + (struct grub_dl): Add symtab field. + * kern/dl.c [GRUB_MACHINE_QEMU]: Define + GRUB_MODULES_MACHINE_READONLY. + (grub_dl_resolve_symbols): Populate mod->symtab, making a copy + of the header for read-only modules. + (grub_dl_unload): Free mod->symtab for read-only modules. + * kern/i386/dl.c: Use mod->symtab. + * kern/powerpc/dl.c: Likewise. + * kern/sparc64/dl.c: Likewise. + * kern/x86_64/dl.c: Likewise. + + * conf/i386-qemu.rmk: New file. + * kern/i386/qemu/startup.S: Likewise. + * kern/i386/qemu/mmap.c: Likewise. + * boot/i386/qemu/boot.S: Likewise. + * include/grub/i386/qemu/time.h: Likewise. + * include/grub/i386/qemu/serial.h: Likewise. + * include/grub/i386/qemu/kernel.h: Likewise. + * include/grub/i386/qemu/console.h: Likewise. + * include/grub/i386/qemu/boot.h: Likewise. + * include/grub/i386/qemu/init.h: Likewise. + * include/grub/i386/qemu/machine.h: Likewise. + * include/grub/i386/qemu/loader.h: Likewise. + * include/grub/i386/qemu/memory.h: Likewise. + + * conf/i386-coreboot.rmk (GRUB_BOOT_MACHINE_LINK_ADDR) + (GRUB_KERNEL_MACHINE_LINK_ADDR): New variables. + [qemu] (pkglib_IMAGES): Add `boot.img'. + [qemu] (boot_img_SOURCES, boot_img_ASFLAGS, boot_img_LDFLAGS) + [qemu] (boot_img_FORMAT): New variables. + [qemu] (bin_UTILITIES): Add `grub-mkimage'. + [qemu] (grub_mkimage_SOURCES, grub_mkimage_CFLAGS): New variables. + [qemu] (kernel_img_SOURCES, kernel_img_HEADERS, kernel_img_CFLAGS) + [qemu] (kernel_img_ASFLAGS, kernel_img_LDFLAGS) + [qemu] (kernel_img_FORMAT): New variables. + + * configure.ac: Recognise `i386-qemu'. + + * util/i386/pc/grub-mkimage.c (compress_kernel): Add dummy variant + (for no compression). + [GRUB_MACHINE_QEMU] (generate_image): Misc adjustments to produce + a valid i386 ROM image. Make `GRUB_KERNEL_MACHINE_COMPRESSED_SIZE', + `GRUB_KERNEL_MACHINE_INSTALL_DOS_PART' and + `GRUB_KERNEL_MACHINE_INSTALL_BSD_PART' optional features (with + ifdefs). + +2009-06-27 Pavel Roskin + + * efiemu/prepare.c: Eliminate TYPE macro, it makes code hard to + read. + * efiemu/prepare32.c: Likewise. + * efiemu/prepare64.c: Likewise. + +2009-06-26 Pavel Roskin + + * include/grub/types.h: Define GRUB_TARGET_WORDSIZE. + * include/grub/elf.h: Define symbols without "32" or "64" based + on GRUB_TARGET_WORDSIZE. + * include/grub/multiboot2.h: Use GRUB_TARGET_WORDSIZE. + * efiemu/loadcore32.c: Redefine GRUB_TARGET_WORDSIZE, remove own + ELF definitions. + * efiemu/loadcore64.c: Likewise. + * loader/i386/bsd32.c: Likewise. + * loader/i386/bsd64.c: Likewise. + * kern/dl.c: Remove own ELF definitions. + * util/i386/efi/grub-mkimage.c: Likewise. + +2009-06-23 Robert Millan + + * kern/i386/pc/startup.S (real_to_prot): Access `gdtdesc' using + segment 0x0 unconditionally, because the reference generated by + GAS is an absolute address. + +2009-06-22 Robert Millan + + * include/grub/i386/kernel.h: Include `'. + [! GRUB_MACHINE_IEEE1275]: Set `GRUB_MOD_ALIGN' to 0x1. + +2009-06-22 Robert Millan + + * commands/search.c (grub_cmd_search): Macroify hardcoded args[] + indexes. Check for -f explicitly. + (search_file): Improve error message. + (GRUB_MOD_INIT(search)): Add missing `-n' to help output. + +2009-06-22 Robert Millan + + * conf/i386-pc.rmk (GRUB_MEMORY_MACHINE_LINK_ADDR): Rename to ... + (GRUB_KERNEL_MACHINE_LINK_ADDR): ... this. Update all users. + +2009-06-22 Robert Millan + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/misc.S'. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-coreboot.rmk: Likewise. + + * kern/i386/pc/startup.S (grub_stop): Remove function. + * kern/i386/ieee1275/startup.S: Likewise. + * kern/i386/coreboot/startup.S: Likewise. + * kern/i386/misc.S (grub_stop): New function. + +2009-06-22 Robert Millan + + * kern/i386/pc/startup.S (real_to_prot): Move from here ... + * kern/i386/realmode.S (real_to_prot): ... to here. + +2009-06-22 Robert Millan + + * conf/i386-ieee1275.rmk (pkglib_PROGRAMS): Replace `kernel.elf' + with `kernel.img'. + (kernel_elf_SOURCES): Rename to ... + (kernel_img_SOURCES): ... this. + (kernel_elf_HEADERS): Rename to ... + (kernel_img_HEADERS): ... this. Update all users. + (kernel_elf_ASFLAGS): Rename to ... + (kernel_img_ASFLAGS): ... this. + (kernel_elf_CFLAGS): Rename to ... + (kernel_img_CFLAGS): ... this. + (kernel_elf_LDFLAGS): Rename to ... + (kernel_img_LDFLAGS): ... this. + * conf/i386-coreboot.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + + * util/elf/grub-mkimage.c (add_segments): Replace "kernel.elf" + with "kernel.img". + +2009-06-21 Pavel Roskin + + * loader/powerpc/ieee1275/linux.c (offset_phdr): Fix prototypes + to match nested functions. + * loader/sparc64/ieee1275/linux.c: Likewise. + + * conf/i386-ieee1275.rmk: Define kernel_elf_ASFLAGS. + +2009-06-21 Robert Millan + + * configure.ac: Enable `END_SYMBOL' / `BSS_START_SYMBOL' test on + all i386 platforms. + +2009-06-21 Robert Millan + + Fix asm file handling on ELF, and remove workarounds. + + * genmk.rb (class Programs): Detect assembly files, and set ASFLAGS + and -DASM_FILE=1 appropriately (copied from `class Images' stanza). + * kern/i386/ieee1275/startup.S (ASM_FILE): Remove macro. + * kern/i386/coreboot/startup.S (ASM_FILE): Likewise. + +2009-06-21 Vladimir Serbinenko + + Load BSD ELF modules + + * conf/i386-pc.rmk (bsd_mod_SOURCES): Add loader/i386/bsd32.c + and loader/i386/bsd64.c + * include/grub/i386/bsd.h (FREEBSD_MODTYPE_MODULE): Remove + (FREEBSD_MODTYPE_ELF_MODULE): New definition + (FREEBSD_MODTYPE_ELF_MODULE_OBJ): Likewise + (grub_freebsd_load_elfmodule32): New declaration + (grub_freebsd_load_elfmoduleobj64): Likewise + (grub_freebsd_load_elf_meta32): Likewise + (grub_freebsd_load_elf_meta64): Likewise + (grub_freebsd_add_meta): Likewise + (grub_freebsd_add_meta_module): Likewise + * loader/i386/bsd.c (grub_freebsd_add_meta): Make global + (grub_freebsd_add_meta_module): Likewise and move module-specific + parts to grub_cmd_freebsd and grub_cmd_freebsd_module + (grub_cmd_freebsd): Add elf-kernel specific parts + based on grub_freebsd_add_meta_module + (grub_cmd_freebsd_module): Add type parsing moved from + grub_freebsd_add_meta_module + (grub_cmd_freebsd_module_elf): New function + (cmd_freebsd_module_elf): New variable + (GRUB_MOD_INIT): Register freebsd_module_elf + * loader/i386/bsd32.c: New file + * loader/i386/bsd64.c: Likewise + * loader/i386/bsdXX.c: Likewise + * kern/elf.c (grub_elf32_load): Let hook decide which pheaders to load + (grub_elf64_load): Likewise + * include/grub/elfload.h (grub_elf32_load_hook_t): New parameter do_load + All users updated + (grub_elf64_load_hook_t): Likewise + +2009-06-21 Colin Watson + + * util/grub-mkconfig.in (GRUB_DISABLE_LINUX_RECOVERY): Export + variable. + * util/grub.d/10_linux.in: If GRUB_DISABLE_LINUX_RECOVERY is true, + don't write a menu entry for recovery mode. + +2009-06-20 Robert Millan + + * util/i386/pc/grub-mkimage.c (main): Oops, free `output' only + after it's no longer needed. + +2009-06-20 Robert Millan + + * include/grub/i386/loader.h (grub_linux_prot_size) + (grub_linux_tmp_addr, grub_linux_real_addr) + (grub_linux_is_bzimage, grub_linux16_boot): Declare only on + GRUB_MACHINE_PCBIOS. + * util/i386/pc/grub-mkimage.c (compress_kernel): Move + common grub_util_info() call to ... + (generate_image): ... here. + Fix use of uninitialized memory, comparison of signed with + unsigned integers and memory leak. + Remove bogus module address message. + +2009-06-20 Vladimir Serbinenko + + * disk/mdraid_linux.c (GRUB_MOD_FINI): use grub_raid_unregister and not + grub_raid_register + * disk/dmraid_nvidia.c (GRUB_MOD_FINI): likewise + +2009-06-19 Pavel Roskin + + * configure.ac: Remove stray AC_MSG_CHECKING. + +2009-06-19 Vladimir Serbinenko + + * disk/scsi.c (grub_scsi_open): use continue instead of big if + +2009-06-18 Pavel Roskin + + * conf/common.rmk: Add fs_file.mod. + * disk/fs_file.c: New file. + * include/grub/disk.h (enum grub_disk_dev_id): Add + GRUB_DISK_DEVICE_FILE_ID. + +2009-06-18 Vladimir Serbinenko + + Fix build with Apple's toolchain. Part 2 + + * aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and + a fake start + +2009-06-18 Vladimir Serbinenko + + Fix build with Apple's toolchain. Part 1 + + * commands/i386/pc/drivemap_int13h.S: use assembly-time constants + for long calls + * configure.ac: remove a leftover AC_MSG_RESULT + (CFLAGS): don't add -Wl,--defsym,___main=0x8100 when building with + Apple's toolchain + +2009-06-18 Vladimir Serbinenko + + Fix warnings + + * fs/ntfscomp.c (decomp_get16): initialize c1 and c2 + (decomp_block): initialize ch + use grub_memcpy instead of memcpy + +2009-06-17 Pavel Roskin + + * include/grub/i386/coreboot/console.h: Don't use the i386-pc + version, use declarations needed to use vga_text as the startup + console. + + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Remove + term/i386/pc/at_keyboard.c, it doesn't need to be compiled into + the kernel. + * kern/i386/coreboot/init.c: Don't call grub_at_keyboard_init() + and grub_at_keyboard_fini(), it's done on module load and + unload. + +2009-06-17 Felix Zielcke + + * loader/i386/linux.c (grub_cmd_linux): Set grub_error if the + file can't be found. + * loader/i386/pc/linux.c (grub_cmd_linux): Likewise. + +2009-06-17 Vladimir Serbinenko + + Fix newline handling + + * include/grub/script_sh.h (grub_lexer_param): new field was_newline + * script/sh/lexer.c (grub_script_lexer_init): initialize was_newline + (grub_script_yylex): don't segfault on unterminated script + newline terminates command and variable + +2009-06-17 Vladimir Serbinenko + + avoid double grub_adjust_range call. Bug reported by David Simner + + * kern/disk.c (grub_disk_write): change to raw disk access before + calling disk_read + +2009-06-17 Colin Watson + + * util/elf/grub-mkimage.c (usage): Prefix each option line with two + spaces, for the benefit of help2man. + * util/i386/efi/grub-mkimage.c (usage): Likewise. + +2009-06-16 Pavel Roskin + + * kern/i386/halt.c: Include grub/machine/init.h. + * kern/i386/reboot.c: Include grub/cpu/reboot.h. + +2009-06-16 Felix Zielcke + + * util/grub.d/30_os-prober.in: Use ${root} in the generated + drivemap menuentry. + +2009-06-16 James Jarvis + + * commands/help.c GRUB_MOD_INIT(echo): Fix the help output of + `echo' command. + +2009-06-16 Pavel Roskin + + * boot/i386/pc/boot.S: Remove root_drive. Assert offset of + boot_drive_check by using GRUB_BOOT_MACHINE_DRIVE_CHECK. Don't + save %dx, we only need %dl and we never change it. + * boot/i386/pc/cdboot.S: Don't set the root drive. + * boot/i386/pc/pxeboot.S: Likewise. + * include/grub/i386/pc/boot.h: Remove + GRUB_BOOT_MACHINE_ROOT_DRIVE, adjust + GRUB_BOOT_MACHINE_DRIVE_CHECK. + * include/grub/i386/pc/kernel.h: Remove grub_root_drive. + * kern/i386/pc/init.c (make_install_device): Remove references + to grub_root_drive. + * kern/i386/pc/startup.S: Likewise. + * util/i386/pc/grub-setup.c (setup): Don't set root_drive. + +2009-06-16 Vladimir Serbinenko + + xnu_uuid command + + * commands/xnu_uuid.c: new file + * conf/common.rmk (pkglib_MODULES): add xnu_uuid.mod + (xnu_uuid_mod_SOURCES): new variable + (xnu_uuid_mod_CFLAGS): likewise + (xnu_uuid_mod_LDFLAGS): likewise + * conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/probe.c + * conf/i386-ieee1275.rmk: likewise + * conf/i386-pc.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + * conf/sparc64-ieee1275.rmk: likewise + * util/grub.d/30_os-prober.in: use UUID for Mac OS X/Darwin + +2009-06-16 Pavel Roskin + + * configure.ac: Avoid '==' in test command, it's not portable. + +2009-06-16 Vladimir Serbinenko + + Probe command + + * commands/probe.c: new file + * conf/common.rmk (pkglib_MODULES): add probe.mod + (probe_mod_SOURCES): new variable + (probe_mod_CFLAGS): likewise + (probe_mod_LDFLAGS): likewise + * conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/probe.c + * conf/i386-ieee1275.rmk: likewise + * conf/i386-pc.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + * conf/sparc64-ieee1275.rmk: likewise + +2009-06-15 Vladimir Serbinenko + + Fix handling of string like \"hello\" and "a + b" + + * script/sh/lexer.c (check_textstate): accept GRUB_PARSER_STATE_ESC + (grub_script_yylex): fix parsing of quoting, escaping and newline + +2009-06-13 Vladimir Serbinenko + + * loader/i386/multiboot.c (grub_multiboot_get_bootdev): fix partition + handling + +2009-06-13 Jun Inoue + + * util/grub-mkconfig.in: Fix parsing of --output option. + +2009-06-12 Pavel Roskin + + * Makefile.in (pkgdata_SRCDIR): Remove. genmodsrc.sh and + genmk.rb don't need to be generated or installed. + +2009-06-12 Vladimir Serbinenko + + * commands/i386/pc/drivemap_int13h.S: add more comments + +2009-06-11 Pavel Roskin + + * Makefile.in (uninstall): Uninstall manuals. + + * Makefile.in: Rename lib_DATA to lib_SCRIPTS, move it from + PKGLIB to SCRIPTS. This fixes installation of grub-mkconfig_lib + and update-grub_lib in two places. + * conf/common.rmk: Rename lib_DATA to lib_SCRIPTS. + + * disk/usbms.c (grub_usbms_transfer): Initialize `err' to fix + a compiler warning. + + * loader/i386/bsd.c (grub_freebsd_boot): Rename `entry' to + `entry_lo' to fix variable shadowing. + +2009-06-11 Christian Franke + + * kern/misc.c (__enable_execute_stack): Add missing return type + to prevent gcc warning. + +2009-06-11 Felix Zielcke + + * conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'. + +2009-06-11 Pavel Roskin + + * Makefile.in: Don't rely on any scripts being executable. + Always use $(SHELL) to run shell scripts. + + * configure.ac: Always define ___main if using -nostdlib. This + fixes tests on Cygwin. + +2009-06-11 Giuseppe Caizzone + + UDF fix + + * fs/udf.c (grub_udf_read_block): handle the fact that ad->length + is in bytes and not in blocks + +2009-06-11 Pavel Roskin + + * kern/i386/halt.c (grub_halt): Make `i' unsigned to fix a + warning. + +2009-06-11 Felix Zielcke + + * util/grub.d/30_os-prober.in: Fix a comment. Source + ${libdir}/grub/grub-mkconfig_lib. Use prepare_grub_to_access_device + to set the root device. Place drivemap command in the generated + chain entry. + +2009-06-11 Pavel Roskin + + * configure.ac: Remove host_m32. Issues with 64-bit utilities + have long been resolved. + +2009-06-11 Colin Watson + + * util/grub.d/10_linux.in: Capitalise "Linux". + + * util/grub-pe2elf.c (usage): Fix references to grub-editenv. + +2009-06-11 Pavel Roskin + + * kern/efi/efi.c (grub_exit): Add infinite loop at the end to + fix a gcc warning and ensure that the function won't ever exit. + + * kern/i386/ieee1275/init.c: Add missing prototype for + grub_stop_floppy(). + + * loader/ieee1275/multiboot2.c [__i386__]: Include + grub/cpu/multiboot.h. + + * term/i386/pc/serial.c (serial_translate_key_sequence): Avoid + casts to short - they are not portable and cause warnings. Fix + use of uninitialized values in input_buf. Use ARRAY_SIZE. + +2009-06-11 Vladimir Serbinenko + + Drivemap fixes + + * commands/i386/pc/drivemap.c (grub_get_root_biosnumber_drivemap): + new function + (grub_get_root_biosnumber_saved): new variable + (GRUB_MOD_INIT): register grub_get_root_biosnumber_drivemap + (GRUB_MOD_FINI): unregister grub_get_root_biosnumber_drivemap + * commands/i386/pc/drivemap_int13h.S (grub_drivemap_handler): restore + %dx after the call if necessary + * conf/common.rmk (pkglib_MODULES): remove boot.mod + (boot_mod_SOURCES): remove + (boot_mod_CFLAGS): remove + (boot_mod_LDFLAGS): remove + * conf/i386-coreboot.rmk (pkglib_MODULES): add boot.mod + (boot_mod_SOURCES): new variable + (boot_mod_CFLAGS): likewise + (boot_mod_LDFLAGS): likewise + * conf/i386-efi.rmk: likewise + * conf/i386-ieee1275.rmk: likewise + * conf/i386-pc.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + * conf/sparc64-ieee1275.rmk: likewise + * conf/x86_64-efi.rmk: likewise + * include/grub/i386/pc/biosnum.h: new file + * lib/i386/pc/biosnum.c: likewise + * loader/i386/bsd.c (grub_bsd_get_device): use grub_get_root_biosnumber + * loader/i386/multiboot.c (grub_multiboot_get_bootdev): likewise + * loader/i386/pc/chainloader.c (grub_chainloader_cmd): likewise + +2009-06-10 Pavel Roskin + + * io/gzio.c (test_header): Don't reuse one buffer for all data. + Use separate variables. Read only the file size at the end, but + not the checksum that we don't use. + + * kern/file.c (grub_file_read): Use void pointer for the buffer. + Adjust all callers. + + * kern/ieee1275/openfw.c: Remove libc includes. + * kern/ieee1275/cmain.c: Likewise. + * include/grub/ieee1275/ieee1275.h: Likewise. + + * kern/i386/coreboot/init.c: Include grub/cpu/tsc.h to fix + compiler warnings. + +2009-06-10 Felix Zielcke + + * Makefile.in: Remove all trailing whitespace. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * docs/grub.texi: Likewise. + * docs/texinfo.tex: Likewise. + * disk/fs_uuid.c: Likewise. + * disk/lvm.c: Likewise. + * disk/scsi.c: Likewise. + * disk/ata.c: Likewise. + * disk/ieee1275/ofdisk.c: Likewise. + * disk/i386/pc/biosdisk.c: Likewise. + * disk/host.c: Likewise. + * disk/raid.c: Likewise. + * disk/efi/efidisk.c: Likewise. + * disk/usbms.c: Likewise. + * disk/memdisk.c: Likewise. + * disk/loopback.c: Likewise. + * kern/powerpc/dl.c: Likewise. + * kern/device.c: Likewise. + * kern/dl.c: Likewise. + * kern/sparc64/dl.c: Likewise. + * kern/ieee1275/ieee1275.c: Likewise. + * kern/term.c: Likewise. + * kern/fs.c: Likewise. + * kern/i386/dl.c: Likewise. + * kern/i386/pc/startup.S: Likewise. + * kern/i386/pc/init.c: Likewise. + * kern/i386/pc/mmap.c: Likewise. + * kern/i386/pc/lzo1x.S: Likewise. + * kern/i386/ieee1275/init.c: Likewise. + * kern/i386/realmode.S: Likewise. + * kern/i386/tsc.c: Likewise. + * kern/partition.c: Likewise. + * kern/corecmd.c: Likewise. + * kern/file.c: Likewise. + * kern/efi/efi.c: Likewise. + * kern/efi/init.c: Likewise. + * kern/efi/mm.c: Likewise. + * kern/main.c: Likewise. + * kern/err.c: Likewise. + * kern/env.c: Likewise. + * kern/disk.c: Likewise. + * kern/generic/millisleep.c: Likewise. + * kern/generic/rtc_get_time_ms.c: Likewise. + * kern/misc.c: Likewise. + * kern/parser.c: Likewise. + * genmk.rb: Likewise. + * configure.ac: Likewise. + * boot/i386/pc/diskboot.S: Likewise. + * boot/i386/pc/pxeboot.S: Likewise. + * boot/i386/pc/boot.S: Likewise. + * boot/i386/pc/lnxboot.S: Likewise. + * boot/i386/pc/cdboot.S: Likewise. + * parttool/pcpart.c: Likewise. + * video/readers/tga.c: Likewise. + * video/video.c: Likewise. + * video/bitmap.c: Likewise. + * lib/envblk.c: Likewise. + * lib/i386/setjmp.S: Likewise. + * fs/xfs.c: Likewise. + * fs/afs.c: Likewise. + * fs/fat.c: Likewise. + * fs/ntfs.c: Likewise. + * fs/udf.c: Likewise. + * fs/affs.c: Likewise. + * fs/iso9660.c: Likewise. + * fs/hfs.c: Likewise. + * fs/fshelp.c: Likewise. + * fs/ext2.c: Likewise. + * fs/jfs.c: Likewise. + * fs/reiserfs.c: Likewise. + * fs/hfsplus.c: Likewise. + * fs/minix.c: Likewise. + * fs/cpio.c: Likewise. + * fs/sfs.c: Likewise. + * fs/ufs.c: Likewise. + * efiemu/prepare.c: Likewise. + * efiemu/loadcore_common.c: Likewise. + * efiemu/runtime/efiemu.sh: Likewise. + * efiemu/runtime/efiemu.S: Likewise. + * efiemu/runtime/efiemu.c: Likewise. + * efiemu/pnvram.c: Likewise. + * efiemu/main.c: Likewise. + * efiemu/i386/pc/cfgtables.c: Likewise. + * efiemu/i386/loadcore64.c: Likewise. + * efiemu/i386/loadcore32.c: Likewise. + * efiemu/loadcore.c: Likewise. + * efiemu/symbols.c: Likewise. + * efiemu/mm.c: Likewise. + * include/grub/autoefi.h: Likewise. + * include/grub/datetime.h: Likewise. + * include/grub/term.h: Likewise. + * include/grub/hfs.h: Likewise. + * include/grub/lvm.h: Likewise. + * include/grub/i386/tsc.h: Likewise. + * include/grub/i386/linux.h: Likewise. + * include/grub/i386/xnu.h: Likewise. + * include/grub/i386/efiemu.h: Likewise. + * include/grub/i386/pc/biosdisk.h: Likewise. + * include/grub/i386/pc/memory.h: Likewise. + * include/grub/i386/pc/vbe.h: Likewise. + * include/grub/parttool.h: Likewise. + * include/grub/video.h: Likewise. + * include/grub/memory.h: Likewise. + * include/grub/fs.h: Likewise. + * include/grub/partition.h: Likewise. + * include/grub/xnu.h: Likewise. + * include/grub/efi/api.h: Likewise. + * include/grub/efi/pe32.h: Likewise. + * include/grub/efi/memory.h: Likewise. + * include/grub/multiboot.h: Likewise. + * include/grub/usbdesc.h: Likewise. + * include/grub/multiboot2.h: Likewise. + * include/grub/acpi.h: Likewise. + * include/grub/efiemu/efiemu.h: Likewise. + * include/grub/disk.h: Likewise. + * include/grub/ieee1275/ieee1275.h: Likewise. + * include/grub/net.h: Likewise. + * include/grub/machoload.h: Likewise. + * include/grub/macho.h: Likewise. + * include/multiboot.h: Likewise. + * genmoddep.awk: Likewise. + * normal/main.c: Likewise. + * normal/menu_entry.c: Likewise. + * normal/menu_viewer.c: Likewise. + * normal/completion.c: Likewise. + * normal/cmdline.c: Likewise. + * normal/misc.c: Likewise. + * normal/datetime.c: Likewise. + * bus/usb/usbtrans.c: Likewise. + * bus/usb/ohci.c: Likewise. + * bus/usb/uhci.c: Likewise. + * bus/usb/usb.c: Likewise. + * mmap/efi/mmap.c: Likewise. + * mmap/i386/pc/mmap_helper.S: Likewise. + * mmap/i386/pc/mmap.c: Likewise. + * mmap/i386/mmap.c: Likewise. + * mmap/i386/uppermem.c: Likewise. + * mmap/mmap.c: Likewise. + * commands/acpi.c: Likewise. + * commands/echo.c: Likewise. + * commands/blocklist.c: Likewise. + * commands/loadenv.c: Likewise. + * commands/usbtest.c: Likewise. + * commands/boot.c: Likewise. + * commands/parttool.c: Likewise. + * commands/search.c: Likewise. + * commands/cat.c: Likewise. + * commands/i386/pc/play.c: Likewise. + * commands/i386/pc/drivemap.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/i386/pc/acpi.c: Likewise. + * commands/i386/pc/vbetest.c: Likewise. + * commands/ls.c: Likewise. + * commands/cmp.c: Likewise. + * commands/test.c: Likewise. + * commands/efi/acpi.c: Likewise. + * commands/gptsync.c: Likewise. + * commands/help.c: Likewise. + * partmap/amiga.c: Likewise. + * partmap/apple.c: Likewise. + * partmap/acorn.c: Likewise. + * partmap/pc.c: Likewise. + * partmap/sun.c: Likewise. + * partmap/gpt.c: Likewise. + * script/sh/lexer.c: Likewise. + * script/sh/function.c: Likewise. + * font/font.c: Likewise. + * font/font_cmd.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Likewise. + * loader/efi/chainloader.c: Likewise. + * loader/multiboot_loader.c: Likewise. + * loader/macho.c: Likewise. + * loader/i386/multiboot.c: Likewise. + * loader/i386/linux.c: Likewise. + * loader/i386/pc/linux.c: Likewise. + * loader/i386/pc/multiboot2.c: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * loader/i386/pc/xnu.c: Likewise. + * loader/i386/bsd_trampoline.S: Likewise. + * loader/i386/efi/linux.c: Likewise. + * loader/i386/multiboot_elfxx.c: Likewise. + * loader/i386/bsd_helper.S: Likewise. + * loader/i386/bsd.c: Likewise. + * loader/i386/linux_trampoline.S: Likewise. + * loader/i386/xnu_helper.S: Likewise. + * loader/i386/xnu.c: Likewise. + * loader/i386/bsd_pagetable.c: Likewise. + * loader/i386/multiboot_helper.S: Likewise. + * loader/xnu.c: Likewise. + * loader/xnu_resume.c: Likewise. + * io/gzio.c: Likewise. + * term/efi/console.c: Likewise. + * term/terminfo.c: Likewise. + * term/ieee1275/ofconsole.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * term/i386/pc/vga.c: Likewise. + * term/usb_keyboard.c: Likewise. + * term/gfxterm.c: Likewise. + * aclocal.m4: Likewise. + * util/lvm.c: Likewise. + * util/grub.d/30_os-prober.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + * util/console.c: Likewise. + * util/grub-macho2img.c: Likewise. + * util/grub-probe.c: Likewise. + * util/hostfs.c: Likewise. + * util/i386/pc/grub-mkimage.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/i386/efi/grub-mkimage.c: Likewise. + * util/grub-mkconfig.in: Likewise. + * util/raid.c: Likewise. + * util/resolve.c: Likewise. + * util/grub-mkdevicemap.c: Likewise. + * util/grub-emu.c: Likewise. + * util/getroot.c: Likewise. + * util/hostdisk.c: Likewise. + * util/usb.c: Likewise. + * util/grub-editenv.c: Likewise. + * util/misc.c: Likewise. + +2009-06-10 Felix Zielcke + + * gendistlist.sh (EXTRA_DISTFILES): Add `genhandlerlist.sh' and + `genparttoollist.sh'. + (DISTDIRS): Add `efiemu', `mmap', `parttool' and `script'. + Add `*.sh' to the list find searches for and change `mdate.sh' + to `mdate-sh'. + +2009-06-10 Pavel Roskin + + * include/grub/multiboot2.h: Provide compatibility defines for + multiboot2.h. + * include/multiboot2.h: Include stdint.h only if needed, using + angle brackets. + * loader/i386/pc/multiboot2.c: Include multiboot2.h after + grub/multiboot2.h. + * loader/ieee1275/multiboot2.c: Likewise. + * loader/multiboot2.c: Likewise. + * loader/multiboot_loader.c: Likewise. + + * configure.ac: Use -nostdlib when probing for the target. It + should not be required to have libc for the target. + + * configure.ac: Remove checks for __bswapsi2 and __bswapdi2, + they fail without libc headers for the target. + * include/grub/powerpc/libgcc.h: Use weak attribute for all + exports. + * include/grub/sparc64/libgcc.h: Likewise. Don't use + preprocessor conditionals. + + * conf/common.rmk: Compile tar.mod from tar.c, not cpio.c. The + build system doesn't need to be aware of the tar.c internals. + +2009-06-09 Michel Hermier + + * fs/i386/pc/pxe.c (grub_pxefs_read): Fix returned values. + +2009-06-09 Robert Millan + + * util/deviceiter.c (grub_util_iterate_devices): Increase number of + disk limit to 26 for IDE, Virtio, Xen and SCSI. + +2009-06-09 Felix Zielcke + + * util/i386/pc/grub-install.in: Change the error message if UUIDs + aren't available if ata.mod gets used. + +2009-06-09 Oliver Henshaw + + * bus/usb/ohci.c (grub_ohci_pci_iter): Link struct only after + initialising controller. + * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise. + +2009-06-08 Felix Zielcke + + * util/i386/pc/grub-install.in: Add a parameter --disk-module + to choose between ata and biosdisk module on i386-pc. + +2009-06-08 Oliver Henshaw + + * bus/usb/ohci.c (grub_ohci_pci_iter): Define the Class, + Subclass and Programming Interface fields in terms of the 3 byte + Class Code register. + * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise. + + * bus/usb/ohci.c (grub_ohci_pci_iter): Check that programming + interface is OHCI. Add grub_dprintf for symmetry with + bus/usb/uhci.c. + * bus/usb/uhci.c (grub_uhci_pci_iter): Check that programming + interface is UHCI. Add interf variable for programming + interface. Print interface with class/subclass. + + * bus/usb/ohci.c: Set interf with correct field. + + * bus/usb/uhci.c: Remove unneeded doubled lines. + * bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t. + Remove whitespace inside comment. + +2009-06-08 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): When processing `vga=', use + as fallback an equivalent option without depth. + +2009-06-08 Vladimir Serbinenko + + Not fail if unable to retrieve C/H/S on LBA disks + + * disk/i386/pc/biosdisk.c (grub_biosdisk_open): behave gracefully + if unable to retrieve C/H/S on LBA disks + +2009-06-08 Pavel Roskin + + * fs/hfs.c (grub_hfs_find_dir): Use union to avoid a warning + about aliasing. + +2009-06-08 Felix Zielcke + + * Makefile.in (uninstall): Remove all $lib_DATA files. + +2009-06-08 Vladimir Serbinenko + + Bugfix: install on partitionless device + + * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): check if os_dev + is a whole disk + +2009-06-08 Felix Zielcke + + * Makefile.in (uninstall): Remove all $include_DATA files. + +2009-06-08 Felix Zielcke + + * commands/true.c: New file. Implement the true and false commands. + * conf/common.rmk.c (pkglib_MODULES): Add `true.mod'. + (true_mod_SOURCES): New variable. + (true_mod_CFLAGS): Likewise. + (true_mod_LDFLAGS): Likewise. + +2009-06-05 Colin D Bennett + + Optimized font character lookup using binary search instead of linear + search. Fonts now are required to have the character index ordered by + code point. + + * font/font.c (load_font_index): Verify that fonts have ordered + character indices. + (find_glyph): Use binary search instead of linear search to find a + character in a font. + +2009-06-05 Michael Scherer + + * fs/hfsplus.c (grub_hfsplus_mount): Determine if the filesystem + uses case sensitive btree. + (grub_hfsplus_iterate_dir): Use GRUB_FSHELP_CASE_INSENSITIVE + only for case insensitive filesystems. + +2009-06-05 Vladimir Serbinenko + + * conf/i386-pc.rmk (efiemu_mod_CFLAGS): remove -Werror -Wall + * conf/common.rmk (search_mod_CFLAGS): likewise + +2009-06-04 Vladimir Serbinenko + + * kern/i386/pc/startup.S [APPLE_CC]: block of nops to + compensate a compiler bug + +2009-06-04 Vladimir Serbinenko + + * include/grub/term.h (GRUB_TERM_BACKSPACE): explicitly define as 8 + instead of '\b' + +2009-06-04 Vladimir Serbinenko + + Definitions for creating asm symbols with Apple's CC + + * include/grub/symbol.h [APPLE_CC] (FUNCTION): new macro + [APPLE_CC] (VARIABLE): likewise + +2009-06-04 Vladimir Serbinenko + + Disable lnxboot.img when compiled + with Apple's CC + + * conf/i386-pc.rmk (pkglib_IMAGES): remove lnxboot.img + pkglib_IMAGES [! TARGET_APPLE_CC] (pkglib_IMAGES): add lnxboot.img + * boot/i386/pc/lnxboot.S [APPLE_CC]: define an #error + [! APPLE_CC] (CODE_LENG): skip + [! APPLE_CC] (setup_sects): likewise + [! APPLE_CC]: skip filling + +2009-06-04 Vladimir Serbinenko + + Address in trampolines based on 32-bit registers when compiled + with Apple's CC + + * loader/i386/xnu_helper.S [APPLE_CC]: use 32-bit registers + for addresses + * loader/i386/linux_trampoline.S [APPLE_CC]: likewise + +2009-06-04 Vladimir Serbinenko + + Avoid aliases when compiling with Apple's CC for PCBIOS machine + + * kern/misc.c [APPLE_CC] (memcpy): new function + [APPLE_CC] (memmove): likewise + [APPLE_CC && !GRUB_UTIL] (grub_err_printf): likewise + (memcpy): define alias conditionally on !APPLE_CC + (memset): likewise + (abort): likewise + * include/grub/misc.h (memove): don't define when both GRUB_UTIL and + APPLE_CC are defined + * include/grub/list.h [APPLE_CC] (grub_assert_fail): new function + (grub_assert_fail): make prototype conditional + +2009-06-04 Vladimir Serbinenko + + Use grub-macho2img when compiling with Apple's CC for PCBIOS machine + + * conf/common.rmk (bin_UTILITIES): add (on false on condition) + grub-macho2img + (CLEANFILES): add grub-macho2img + (grub_macho2img_SOURCES): new variable + * kern/i386/pc/startup.S (bss_start): new variable + (bss_end): likewise + * genmk.rb: use grub-macho2img for *.img when compiled with Apple's CC + * util/grub-macho2img.c: new file + +2009-06-04 Vladimir Serbinenko + + Use objconv when compiling with Apple's CC + + * conf/i386-pc.rmk (efiemu32.o): use OBJCONV if defined + (efiemu64.o): likewise + (efiemu64_c.o): omit -mcmodel=large and add -DAPPLE_CC=1 + when compiling with Apple's CC + (efiemu64_s.o): likewise + * configure.ac: check for objconv when compiling with Apple's CC + * genmk.rb: use objconv for modules when compiled with Apple's CC + +2009-06-04 Vladimir Serbinenko + + Define segment as well as section when compiling with + Apple's CC + + * efiemu/runtime/efiemu.c (PHYSICAL_ATTRIBUTE): new definition + (efiemu_set_virtual_address_map): declare with PHYSICAL_ATTRIBUTE + (efiemu_convert_pointer): likewise + (efiemu_set_virtual_address_map): likewise + (efiemu_convert_pointer): likewise + (efiemu_getcrc32): likewise + (init_crc32_table): likewise + (reflect): likewise + * include/grub/dl.h (GRUB_MOD_NAME): define segment with Apple's CC + (GRUB_MOD_DEP): likewise + +2009-06-04 Vladimir Serbinenko + + Allow a compilation without -mcmodel=large + + * kern/efi/mm.c (grub_efi_allocate_pages): don't allocate >4GiB + when compiled without -mcmodel=large + (filter_memory_map): remove memory post 4 GiB when compiled + without -mcmodel=large + * configure.ac: fail gracefully and add -DMCMODEL_SMALL=1 to + TARGET_CFLAGS when -mcmodel=large isn't supported + +2009-06-04 Vladimir Serbinenko + + Remove nested functions in efiemu core + + * efiemu/runtime/efiemu.c (reflect): make static instead of nested + +2009-06-04 Vladimir Serbinenko + + Avoid clobbering %ebx/%rbx in inline assembly with Apple's CC + + * efiemu/runtime/efiemu.c (write_cmos): use %cl instead of %bl as + temporary storage + * include/grub/i386/tsc.h (grub_get_tsc): restore %rbx/%ebx when + using Apple's CC + (grub_cpu_is_tsc_supported): likewise + * loader/i386/xnu.c (guessfsb): restore %rbx/%ebx in inline assembly + +2009-06-04 Vladimir Serbinenko + + Absolute addressing through constant with Apple's cc + + * kern/i386/pc/startup.S: Define necessary constants + and address through it when using ABS with Apple's CC + * boot/i386/pc/diskboot.S: likewise + * boot/i386/pc/boot.S: likewise + * boot/i386/pc/lnxboot.S: likewise + * boot/i386/pc/cdboot.S: likewise + * mmap/i386/pc/mmap_helper.S: likewise + * commands/i386/pc/drivemap_int13h.S: likewise + +2009-06-04 Vladimir Serbinenko + + Check if compiler is apple cc + + * Makefile.in (ASFLAGS): new variable + (TARGET_ASFLAGS): likewise + (TARGET_MODULE_FORMAT): likewise + (TARGET_APPLE_CC): likewise + (OBJCONV): likewise + (TARGET_IMG_CFLAGS): likewise + (TARGET_CPPFLAGS): add includedir + * configure.ac: call grub_apple_cc and grub_apple_target_cc + (TARGET_IMG_LDFLAGS): Add -Wl,-Ttext,. All users updated + Check for linker script only if compiler isn't Apple's CC + (TARGET_MODULE_FORMAT): set + (TARGET_APPLE_CC): likewise + (TARGET_ASFLAGS): likewise + (ASFLAGS): likewise + Check for objcopy only if compiler isn't Apple's CC + Check for BSS symbol only if compiler isn't Apple's CC + * genmk.rb: adapt nm options if we use Apple's utils + * aclocal.m4 (grub_apple_cc): new test + (grub_apple_target_cc): likewise + +2009-06-04 Vladimir Serbinenko + + Simplify sed expressions and improve awk + + * Makefile.in (install-local): simplify sed expression + * gencmdlist.sh: likewise + * genmoddep.awk: avoid adding module as a dependency of itself + +2009-06-04 Vladimir Serbinenko + + Add missing start symbols + + * boot/i386/pc/boot.S: add start + * boot/i386/pc/pxeboot.S: likewise + +2009-06-04 Vladimir Serbinenko + + Fix wrong assumptions with grub-mkimage on EFI + + * i386/efi/grub-mkimage.c (read_kernel_module): don't write prefix here + (relocate_addresses): consider both r_addend and value at offset + (make_mods_section): zerofill modinfo and header + (convert_elf): write prefix here + +2009-06-04 Vladimir Serbinenko + + Use .asciz instead of .string + + * i386/pc/diskboot.S: use .asciz instead of .string + * i386/pc/boot.S: likewise + * include/grub/dl.h (GRUB_MOD_DEP): likewise + (GRUB_MOD_NAME): likewise + +2009-06-04 Vladimir Serbinenko + + gfxpayload support + + * commands/videotest.c (grub_cmd_videotest): use grub_video_set_mode + * include/grub/video.h (GRUB_VIDEO_MODE_TYPE_PURE_TEXT): new definition + (grub_video_setup): remove + (grub_video_set_mode): new prototype + * loader/i386/linux.c (DEFAULT_VIDEO_MODE): new definition + (vid_mode): remove + (linux_vesafb_res): compile only on PCBIOS + (grub_linux_boot): support gfxpayload + * loader/i386/pc/xnu.c (video_hook): new function + (grub_xnu_set_video): support gfxpayload + * term/gfxterm.c (DEFAULT_VIDEO_WIDTH): removed + (DEFAULT_VIDEO_HEIGHT): likewise + (DEFAULT_VIDEO_FLAGS): likewise + (DEFAULT_VIDEO_MODE): new definition + (video_hook): new function + (grub_gfxterm_init): use grub_video_set_mode + * util/grub.d/30_os-prober.in: remove explicit modesetting before + loading xnu + * video/video.c (grub_video_setup): removed + (grub_video_set_mode): new function based on grub_gfxterm_init and + grub_video_setup + +2009-06-04 Vladimir Serbinenko + + Avoid calling biosdisk in drivemap + + * commands/i386/pc/drivemap.c (parse_biosdisk): remove + (revparse_biosdisk): likewise + (list_mappings): derive name from id directly + (grub_cmd_drivemap): use tryparse_diskstring + +2009-06-04 Vladimir Serbinenko + + Script fixes + + * include/grub/script_sh.h (grub_script_cmdline): remove cmdline + (grub_lexer_param): add tokenonhold + (grub_script_create_cmdline): remove cmdline. All callers updated + (grub_script_function_create): make functionname + grub_script_arg. All callers updated + (grub_script_execute_argument_to_string): new prototype + * kern/parser.c (state_transitions): reorder + (grub_parser_cmdline_state): fix a bug and make more compact + * script/sh/execute.c (grub_script_execute_argument_to_string): + make global + (grub_script_execute_cmdline): use new format + * script/sh/function.c (grub_script_function_create): make functionname + grub_script_arg. All callers updated + * script/sh/lexer.c (grub_script_lexer_init): initialize tokenonhold + (grub_script_yylex): remove + (grub_script_yylex2): renamed to ... + (grub_script_yylex): ...renamed + parse the expressions like a${b}c + * script/sh/parser.y (GRUB_PARSER_TOKEN_ARG): new typed terminal + (GRUB_PARSER_TOKEN_VAR): remove + (GRUB_PARSER_TOKEN_NAME): likewise + ("if"): declare as typeless + ("while"): likewise + ("function"): likewise + ("else"): likewise + ("then"): likewise + ("fi"): likewise + (text): remove + (argument): likewise + (script): accept empty scripts and make exit on error + (arguments): use GRUB_PARSER_TOKEN_ARG + (function): likewise + (command): move error handling to script + (menuentry): move grub_script_lexer_ref before + * script/sh/script.c (grub_script_create_cmdline): remove cmdline + argument. All callers updated + +2009-06-04 Robert Millan + + Prevent GRUB from probing floppies during boot. + + * conf/common.rmk (search_mod_CFLAGS): Use `-Werror -Wall'. + * commands/search.c (options): Add --no-floppy. + (search_fs, search_file, grub_cmd_search): Support --no-floppy. + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Use + --no-floppy when searching for UUIDs. + +2009-06-04 Robert Millan + + Simplify the code duplication in commands/search.c. + + * commands/search.c (search_label, search_fs_uuid): Merge into ... + (search_fs): ... this. Update all users. + +2009-06-03 Felix Zielcke + + * util/grub-mkconfig.in (update_grub_dir): Rename to grub_mkconfig_dir. + +2009-05-28 Pavel Roskin + + * Makefile.in: Don't use "cp -d", it doesn't work on FreeBSD. + Remove the original symlink explicitly. + + * fs/hfs.c (grub_hfs_find_dir): Skip sequences of slashes, not + just one slash. That's how grub_fshelp_find_file() does it. + +2009-05-26 Pavel Roskin + + * genmk.rb: Avoid shadowing variable `s', rename the outer `s' + to `str'. + + * util/getroot.c (grub_util_get_dev_abstraction): Mark os_dev as + possibly unused. + +2009-05-25 Christian Franke + + * disk/ata.c (grub_ata_wait_not_busy): Add debug output of status + register. + (grub_atapi_identify): Add wait after drive select. + (grub_ata_identify): Do more strict status register check before + calling grub_atapi_identify (). Suppress error message if status + register is 0x00 after command failure. Add status register + check after PIO read to avoid bogus identify due to stuck DRQ. + Thanks to Pavel Roskin for testing. + (grub_device_initialize): Remove unsafe status register check. + Thanks to 'phcoder' for problem report and patch. + Prevent sign extension in debug message. + +2009-05-23 Colin D Bennett + + Cleaned up `include/grub/normal.h'. Grouped prototypes by + definition file, and functions defined in `normal/menu.c' have had + their prototypes moved to `include/grub/menu.h' for consistency. + + * include/grub/menu.h (grub_menu_execute_callback): Added; moved + from normal.h. + (grub_menu_get_entry): Likewise. + (grub_menu_get_timeout): Likewise. + (grub_menu_set_timeout): Likewise. + (grub_menu_execute_entry): Likewise. + (grub_menu_execute_with_fallback): Likewise. + (grub_menu_entry_run): Likewise. + + * include/grub/normal.h: Re-ordered and grouped function + prototypes by file that the function is defined in. + (grub_menu_execute_callback): Removed; moved to menu.h. + (grub_menu_get_entry): Likewise. + (grub_menu_get_timeout): Likewise. + (grub_menu_set_timeout): Likewise. + (grub_menu_execute_entry): Likewise. + (grub_menu_execute_with_fallback): Likewise. + (grub_menu_entry_run): Likewise. + (grub_menu_addentry): Renamed from this ... + (grub_normal_add_menu_entry): ... to this. + + * normal/main.c (grub_menu_addentry): Renamed from this ... + (grub_normal_add_menu_entry): ... to this. + + * script/sh/execute.c (grub_script_execute_menuentry): Update + reference to renamed grub_menu_addentry function. + +2009-05-23 Felix Zielcke + + * commands/i386/pc/drivemap.c (MODNAME): Remove. Update all users. + +2009-05-22 Pavel Roskin + + * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Remove. + * configure.ac: Don't call grub_I386_CHECK_REGPARM_BUG. Define + NESTED_FUNC_ATTR using AH_BOTTOM. Use regparm(1) only when + compiling for the i386 targets, but not for the utilities. + + * include/grub/i386/pc/kernel.h (grub_boot_drive): Change type + to grub_uint8_t. + (grub_root_drive): Likewise. + * kern/i386/pc/startup.S (grub_boot_drive): Change size to byte, + remove alignment. + (grub_root_drive): Change size to byte. + (grub_start_addr): Remove. + (grub_end_addr): Likewise. + (grub_apm_bios_info): Likewise. + +2009-05-21 Felix Zielcke + + * normal/i386: Remove. + * normal/powerpc: Likewise. + * normal/sparc64: Likewise. + * normal/x86_64: Likewise. + +2009-05-19 Vladimir Serbinenko + + * conf/x86_64-efi.rmk (linux_mod_ASFLAGS): Add missing variable + * loader/i386/linux_trampoline.S: Fix indentation + * loader/i386/xnu_helper.S: Likewise + +2009-05-18 Colin D Bennett + + Display error messages when parsing a Lua statement fails. + Previously, executing a syntactically invalid statement like + ")foo" or "bar;" would silently fail. + + * script/lua/grub_main.c (handle_lua_error): New function. + (grub_lua_parse_line): Improved reporting of Lua parser and + execution errors. + +2009-05-17 Vladimir Serbinenko + + Remove -Werror which causes build to fail on some systems + + * conf/i386-pc.rmk (xnu_mod_CFLAGS): Remove -Werror -Wall + * conf/i386-efi.rmk (xnu_mod_CFLAGS): Likewise + * conf/x86_64-efi.rmk (xnu_mod_CFLAGS): Likewise + +2009-05-17 Vladimir Serbinenko + + trampoline for linux on 64-bit platform + + * conf/x86_64-efi.rmk (linux_mod_SOURCES): added + loader/i386/efi/linux_trampoline.S + * include/grub/x86_64/efi/loader.h (grub_linux_real_boot): removed + declaration + * kern/x86_64/efi/startup.S (grub_linux_real_boot): moved from + here + * loader/i386/linux_trampoline.S: moved here + * loader/i386/efi/linux.c (allocate_pages): reserve space for + trampoline + (jumpvector): removed + (grub_linux_trampoline_start): new declaration + (grub_linux_trampoline_end): likewise + (grub_linux_boot): use trampoline when on 64-bit platform + * loader/i386/linux.c: likewise + +2009-05-16 Pavel Roskin + + * script/lua/grub_lib.c (grub_lua_getenv): Make name and value + const to avoid a warning. + (grub_lua_setenv): Likewise. + * script/lua/grub_main.c (grub_lua_parse_line): Use size_t for + lmsg to fix a warning. + +2009-05-16 Felix Zielcke + + * conf/i386.rmk (setjmp_mod_CFLAGS): Rename to ... + (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS). + * conf/x86_64-efi.rmk (setjmp_mod_CFLAGS): Rename to ... + (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS). + * conf/powerpc-ieee1275.rmk (setjmp_mod_CFLAGS): Rename to ... + (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS). + * conf/sparc64-ieee1275.rmk (setjmp_mod_CFLAGS): Rename to ... + (setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS). + +2009-05-16 Felix Zielcke + + * util/grub-mkconfig.in: Export GRUB_TERMINAL_INPUT. + +2009-05-16 Bean + + * conf/common.rmk (pkglib_MODULES): Add lua.mod. + (lua_mod_SOURCES): New variable. + (lua_mod_CFLAGS): Likewise. + (lua_mod_LDFLAGS): Likewise. + + * conf/i386.rmk (pkglib_MODULES): Add setjmp.mod. + (setjmp_mod_SOURCES): New variable. + (setjmp_mod_CFLAGS): Likewise. + (setjmp_LDFLAGS): Likewise. + + * conf/x86_64-efi.rmk (pkglib_MODULES): Add setjmp.mod. + (setjmp_mod_SOURCES): New variable. + (setjmp_mod_CFLAGS): Likewise. + (setjmp_LDFLAGS): Likewise. + + * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add setjmp.mod. + (setjmp_mod_SOURCES): New variable. + (setjmp_mod_CFLAGS): Likewise. + (setjmp_LDFLAGS): Likewise. + + * conf/sparc64-ieee1275.rmk (pkglib_MODULES): Add setjmp.mod. + (setjmp_mod_SOURCES): New variable. + (setjmp_mod_CFLAGS): Likewise. + (setjmp_LDFLAGS): Likewise. + + * normal/i386/setjmp.S: Moved from here ... + * lib/i386/setjmp.S: ... Moved here + * normal/x86_64/setjmp.S: Moved from here ... + * lib/x86_64/setjmp.S: ... Moved here + * normal/powerpc/setjmp.S: Moved from here ... + * lib/powerpc/setjmp.S: ... Moved here + * normal/sparc64/setjmp.S: Moved from here ... + * lib/sparc64/setjmp.S: ... Moved here + + * include/grub/i386/setjmp.h (grub_setjmp): Don't use attribute + returns_twice in mingw. + + * script/lua/grub_lib.c: New file. + * script/lua/grub_lib.h: Likewise. + * script/lua/grub_lua.h: Likewise. + * script/lua/grub_main.c: Likewise. + * script/lua/lapi.c: Likewise. + * script/lua/lapi.h: Likewise. + * script/lua/lauxlib.c: Likewise. + * script/lua/lauxlib.h: Likewise. + * script/lua/lbaselib.c: Likewise. + * script/lua/lcode.c: Likewise. + * script/lua/lcode.h: Likewise. + * script/lua/ldblib.c: Likewise. + * script/lua/ldebug.c: Likewise. + * script/lua/ldebug.h: Likewise. + * script/lua/ldo.c: Likewise. + * script/lua/ldo.h: Likewise. + * script/lua/ldump.c: Likewise. + * script/lua/lfunc.c: Likewise. + * script/lua/lfunc.h: Likewise. + * script/lua/lgc.c: Likewise. + * script/lua/lgc.h: Likewise. + * script/lua/linit.c: Likewise. + * script/lua/liolib.c: Likewise. + * script/lua/llex.c: Likewise. + * script/lua/llex.h: Likewise. + * script/lua/llimits.h: Likewise. + * script/lua/lmathlib.c: Likewise. + * script/lua/lmem.c: Likewise. + * script/lua/lmem.h: Likewise. + * script/lua/loadlib.c: Likewise. + * script/lua/lobject.c: Likewise. + * script/lua/lobject.h: Likewise. + * script/lua/lopcodes.c: Likewise. + * script/lua/lopcodes.h: Likewise. + * script/lua/loslib.c: Likewise. + * script/lua/lparser.c: Likewise. + * script/lua/lparser.h: Likewise. + * script/lua/lstate.c: Likewise. + * script/lua/lstate.h: Likewise. + * script/lua/lstring.c: Likewise. + * script/lua/lstring.h: Likewise. + * script/lua/lstrlib.c: Likewise. + * script/lua/ltable.c: Likewise. + * script/lua/ltable.h: Likewise. + * script/lua/ltablib.c: Likewise. + * script/lua/ltm.c: Likewise. + * script/lua/ltm.h: Likewise. + * script/lua/lua.h: Likewise. + * script/lua/luaconf.h: Likewise. + * script/lua/lualib.h: Likewise. + * script/lua/lundump.c: Likewise. + * script/lua/lundump.h: Likewise. + * script/lua/lvm.c: Likewise. + * script/lua/lvm.h: Likewise. + * script/lua/lzio.c: Likewise. + * script/lua/lzio.h: Likewise. + +2009-05-16 Bean + + * include/grub/kernel.h (grub_module_header_types): Add type + OBJ_TYPE_CONFIG. + + * kern/main.c (grub_load_config): New function. + (grub_main): Call grub_load_config to read boot config. + + * grub-mkimage (generate_image): New parameter config_path. + (options): New option --config. + (main): Parse --config option, and pass it to generate_image. + +2009-05-14 Christian Franke + + * commands/i386/pc/drivemap_int13h.S: Add missing EXT_C for symbols. + This fixes build on Cygwin. + +2009-05-14 Pavel Roskin + + * commands/i386/pc/drivemap_int13h.S: Eliminate unconditional + jump. This saves two bytes, so the typical case of 2 swapped + drives would fit 32 bytes. + +2009-05-13 Pavel Roskin + + * loader/i386/multiboot.c (grub_multiboot): Cast mmap_addr to + grub_uint32_t to avoid a warning. + + * loader/i386/linux.c (allocate_pages): When assigning + real_mode_mem, cast through grub_size_t to fix a warning. The + code already makes sure that the value would fit a pointer. + (grub_linux_setup_video): Cast render_target->data to + grub_size_t to fix a warning. + +2009-05-13 Javier Martín + + * commands/i386/pc/drivemap.c: New file - implement drivemap + command. + * commands/i386/pc/drivemap_int13h.S: New file - int13 handler. + * conf/i386-pc.rmk: Add drivemap.c and drivemap_int13h.S. + +2009-05-13 Pavel Roskin + + * util/i386/pc/grub-setup.c (setup): Remove unused variable + embedding_area_exists. + +2009-05-13 Robert Millan + + * util/i386/pc/grub-setup.c (setup): Restructure code flow to make + it easier to understand / work with. + Improve warning messages for cases where there's no embedding area, + or when it is too small (or core.img too large). + +2009-05-13 Pavel Roskin + + * loader/i386/pc/multiboot2.c: Add necessary includes for + grub_multiboot2_real_boot(). + + * fs/iso9660.c (grub_iso9660_iterate_dir): The file mode in the + PX record is always little-endian. We only need the lower 2 + bytes of the mode. + + * fs/cpio.c: Use the same name "struct head" for tar and cpio to + facilitate code reuse. + (grub_cpio_mount): Use "struct head", not a char buffer. This + fixes a warning reported by gcc 4.4. + + * kernel/disk.c (grub_disk_read): Use void pointer for the + buffer. + (grub_disk_write): Use const void pointer for the buffer. + Adjust all callers. Remove unnecessary casts. + +2009-05-10 Robert Millan + + * util/i386/pc/grub-install.in: Update copyright year. + +2009-05-09 Vladimir Serbinenko + + gptsync + + * commands/gptsync.c: new file + * conf/common.rmk (pkglib_MODULES): add gptsync.mod + (gptsync_mod_SOURCES): new variable + (gptsync_mod_CFLAGS): likewise + (gptsync_mod_LDFLAGS): likewise + * include/grub/pc_partition.h (GRUB_PC_PARTITION_TYPE_NTFS): + new definition + (GRUB_PC_PARTITION_TYPE_HFS): likewise + * conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/gptsync.c + * conf/i386-ieee1275.rmk: likewise + * conf/i386-pc.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + +2009-05-09 Vladimir Serbinenko + + Fixed grub-emu + + * kern/dl.c (grub_dl_ref): omit when compiling grub-emu + (grub_dl_ref): likewise + +2009-05-08 Robert Millan + + * util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(), + split in two functions (one for msdos and one for gpt). + +2009-05-08 Pavel Roskin + + * disk/raid.c (grub_raid_block_xor): Make buf2 constant, it's + not modified. + + * disk/raid6_recover.c (grub_raid6_recover): Fix warnings about + uninitialized err[0] and err[1]. Rename them to bad1 and bad2. + Initialize them with -1. Add sanity check for bad1. Eliminate + nerr variable. + +2009-05-08 David S. Miller + + * util/sparc64/ieee1275/grub-ofpathname.c (main): Set progname. + +2009-05-06 Robert Millan + + * util/i386/pc/grub-setup.c (setup): Fix check for embed region + existence. + +2009-05-05 Felix Zielcke + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add + `kern/rescue_reader.c', `kern/rescue_parser.c' and `normal/autofs.c'. + +2009-05-05 David S. Miller + + * util/sparc64/ieee1275/grub-install.in: Fix sed arg quoting. + +2009-05-05 Pavel Roskin + + * include/grub/dl.h [GRUB_UTIL]: Provide inline implementations + of grub_dl_ref() and grub_dl_unref(). + * commands/parttool.c: Remove preprocessor conditionals around + grub_dl_ref() and grub_dl_unref(). + * fs/affs.c: Likewise. + * fs/afs.c: Likewise. + * fs/cpio.c: Likewise. + * fs/ext2.c: Likewise. + * fs/fat.c: Likewise. + * fs/hfs.c: Likewise. + * fs/hfsplus.c: Likewise. + * fs/iso9660.c: Likewise. + * fs/jfs.c: Likewise. + * fs/minix.c: Likewise. + * fs/ntfs.c: Likewise. + * fs/reiserfs.c: Likewise. + * fs/sfs.c: Likewise. + * fs/udf.c: Likewise. + * fs/ufs.c: Likewise. + * fs/xfs.c: Likewise. + * include/grub/dl.h: Likewise. + * loader/xnu.c: Likewise. + +2009-05-04 Pavel Roskin + + * commands/acpi.c: Remove unused variable my_mod. + * partmap/amiga.c: Likewise. + * partmap/apple.c: Likewise. + * partmap/gpt.c: Likewise. + * partmap/pc.c: Likewise. + * partmap/sun.c: Likewise. + * term/gfxterm.c: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * term/i386/pc/vga.c: Likewise. + +2009-05-04 David S. Miller + + * kern/ieee1275/openfw.c (grub_children_iterate): Fix string + pointer args to grub_ieee1275_get_property(). + + * conf/sparc64-ieee1275.rmk: Fix build due to missing '\'. + + * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Bypass cdrom + devices, and do not traverse down under controller nodes. + + * disk/ieee1275/ofdisk.c (compute_dev_path): New. + (grub_ofdisk_open): Use it to un-escape "," characters. + * kern/disk.c (find_part_sep): New. + (grub_disk_open): Use it to find the first non-escaped ',' + character in the disk name. + * util/ieee1275/devicemap.c (escape_of_path): New. + (grub_util_emit_devicemap_entry): Use it. + * util/sparc64/ieee1275/grub-install.in: Update script to + strip partition specifiers properly by not triggering on + '\' escaped ',' characters. + +2009-05-04 Robert Millan + + * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set + to 0x300. + * loader/i386/linux.c (vga_modes, linux_vesafb_res): Add a few + resolutions. + (linux_vesafb_modes): Add a lot of additional modes to the list (based + on documentation from Wikipedia). + +2009-05-04 Pavel Roskin + + * disk/ata.c: Spelling fixes. + * disk/raid.c: Likewise. + * disk/usbms.c: Likewise. + * disk/dmraid_nvidia.c: Likewise. + * kern/ieee1275/openfw.c: Likewise. + * kern/ieee1275/init.c: Likewise. + * kern/ieee1275/cmain.c: Likewise. + * boot/i386/pc/cdboot.S: Likewise. + * video/readers/png.c: Likewise. + * video/i386/pc/vbe.c: Likewise. + * fs/udf.c: Likewise. + * fs/hfs.c: Likewise. + * fs/reiserfs.c: Likewise. + * efiemu/runtime/efiemu.c: Likewise. + * efiemu/main.c: Likewise. + * efiemu/mm.c: Likewise. + * include/grub/elf.h: Likewise. + * include/grub/xnu.h: Likewise. + * include/grub/usbdesc.h: Likewise. + * include/grub/usb.h: Likewise. + * include/grub/script_sh.h: Likewise. + * include/grub/lib/LzmaEnc.h: Likewise. + * include/grub/efiemu/efiemu.h: Likewise. + * include/grub/command.h: Likewise. + * normal/menu.c: Likewise. + * normal/main.c: Likewise. + * normal/datetime.c: Likewise. + * bus/usb/uhci.c: Likewise. + * mmap/i386/uppermem.c: Likewise. + * mmap/mmap.c: Likewise. + * commands/acpi.c: Likewise. + * commands/test.c: Likewise. + * partmap/apple.c: Likewise. + * font/font.c: Likewise. + * loader/sparc64/ieee1275/linux.c: Likewise. + * loader/macho.c: Likewise. + * loader/i386/bsd_trampoline.S: Likewise. + * loader/i386/bsd.c: Likewise. + * loader/xnu.c: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * term/usb_keyboard.c: Likewise. + * util/resolve.c: Likewise. + * util/getroot.c: Likewise. + +2009-05-04 Felix Zielcke + + * conf/i386-pc.rmk (libpkg_DATA): Rename to pkglib_DATA. + +2009-05-04 Robert Millan + + * loader/i386/linux.c [GRUB_MACHINE_PCBIOS] (grub_cmd_linux): Fix + build error. + +2009-05-04 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): Make "vga=" compatibility + parameter only available on BIOS. + +2009-05-04 Vladimir Serbinenko + + Removed wrong semicolon in declaration + + * grub/misc.h (grub_dprintf): remove semicolon + +2009-05-04 Robert Millan + + * loader/i386/linux.c (GRUB_ASSUME_LINUX_HAS_FB_SUPPORT): New macro. + (grub_linux_boot): Don't check for `linux_vesafb_modes' bounds (this + is done by grub_cmd_linux() now). + [! GRUB_ASSUME_LINUX_HAS_FB_SUPPORT]: If "vga=" parameter wasn't set, + restore video to text mode. + (grub_cmd_linux): Default `vid_mode' initialization to 0, which + indicates lack of "vga=" parameter. "vga=0" is mapped to + `GRUB_LINUX_VID_MODE_NORMAL'. + +2009-05-04 Felix Zielcke + + * conf/i386-efi.rmk (grub_emu_SOURCES): Remove `normal/execute.c', + `normal/lexer.c', `kern/rescue.c', `normal/function.c', `normal/misc.c' + and `normal/script.c'. Add `kern/rescue_reader.c', + `kern/rescue_parser.c', `script/sh/main.c', `script/sh/execute.c', + `script/sh/function.c', `script/sh/lexer.c', `script/sh/script.c' and + `grub_script.tab.c'. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * Makefile.in: Remove duplicated 2008 in Copyright line. + +2009-05-04 Robert Millan + + * util/misc.c (grub_util_warn): New function. Emits a warning + unconditionally. + * include/grub/util/misc.h (grub_util_warn): New declaration. + + * util/i386/pc/grub-install.in: Understand --force and pass it down + to grub-setup. + + * util/i386/pc/grub-setup.c (main): Understand --force and pass it + down to setup(). + (setup): Improve error messages and add warnings when requested to + install in odd layouts. Refuse to install using blocklists unless + --force was set. + +2009-05-04 martin f. krafft + + * disk/raid.c (grub_raid_scan_device): Improve debug message. + +2009-05-04 Vladimir Serbinenko + + Updated copyright year + + * fs/hfsplus.c: updated copyright year + +2009-05-04 Vladimir Serbinenko + + HFS+ UUID + + * fs/hfsplus.c (grub_hfsplus_volheader): added num_serial field + in the space previously used by unused3 + (grub_hfsplus_uuid): new function + (grub_hfsplus_fs): added uuid field + +2009-05-03 Pavel Roskin + + * disk/ata.c: Don't cast mod to void in GRUB_MOD_INIT to + suppress warnings. It's no longer needed. + * disk/host.c: Likewise. + * disk/ata_pthru.c: Likewise. + * disk/loopback.c: Likewise. + * hook/datehook.c: Likewise. + * parttool/pcpart.c: Likewise. + * fs/i386/pc/pxe.c: Likewise. + * fs/ntfscomp.c: Likewise. + * efiemu/main.c: Likewise. + * mmap/mmap.c: Likewise. + * commands/crc.c: Likewise. + * commands/hexdump.c: Likewise. + * commands/hdparm.c: Likewise. + * commands/acpi.c: Likewise. + * commands/echo.c: Likewise. + * commands/minicmd.c: Likewise. + * commands/blocklist.c: Likewise. + * commands/memrw.c: Likewise. + * commands/loadenv.c: Likewise. + * commands/usbtest.c: Likewise. + * commands/lsmmap.c: Likewise. + * commands/boot.c: Likewise. + * commands/parttool.c: Likewise. + * commands/configfile.c: Likewise. + * commands/search.c: Likewise. + * commands/ieee1275/suspend.c: Likewise. + * commands/cat.c: Likewise. + * commands/i386/pc/pxecmd.c: Likewise. + * commands/i386/pc/play.c: Likewise. + * commands/i386/pc/halt.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/i386/pc/vbetest.c: Likewise. + * commands/lspci.c: Likewise. + * commands/date.c: Likewise. + * commands/handler.c: Likewise. + * commands/ls.c: Likewise. + * commands/test.c: Likewise. + * commands/cmp.c: Likewise. + * commands/efi/loadbios.c: Likewise. + * commands/efi/fixvideo.c: Likewise. + * commands/halt.c: Likewise. + * commands/help.c: Likewise. + * commands/reboot.c: Likewise. + * hello/hello.c: Likewise. + * script/sh/main.c: Likewise. + * loader/xnu.c: Likewise. + * term/terminfo.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/usb_keyboard.c: Likewise. + +2009-05-03 David S. Miller + + * normal/menu.c: Include grub/parser.h + +2009-05-03 Pavel Roskin + + * mmap/efi/mmap.c (grub_mmap_malign_and_register): Return void*, + not char*. + * mmap/i386/mmap.c (grub_mmap_malign_and_register): Likewise. + Suggested by Javier Martín + + * util/i386/pc/grub-mkrescue.in: Allow for the case when + efiemu??.o doesn't exist. + * util/i386/pc/grub-install.in: Likewise. Use "cp -f" for + copying. + +2009-05-03 Bean Vladimir Serbinenko + + FreeBSD 64-bit support + + * conf/i386-pc.rmk (bsd_mod_SOURCES): add loader/i386/bsd_helper.S + and loader/i386/bsd_trampoline.S + (bsd_mod_ASFLAGS): new variable + * include/grub/i386/bsd.h (FREEBSD_MODINFOMD_SMAP): new definition + (FREEBSD_MODTYPE_KERNEL64): likewise + (grub_bsd64_trampoline_start): likewise + (grub_bsd64_trampoline_end): likewise + (grub_bsd64_trampoline_selfjump): likewise + (grub_bsd64_trampoline_gdt): likewise + * include/grub/i386/loader.h (grub_unix_real_boot): moved from here ... + * include/grub/i386/bsd.h (grub_unix_real_boot): ... moved here + * kern/i386/loader.S (grub_unix_real_boot): moved from here ... + * loader/i386/bsd_helper.S (grub_unix_real_boot): moved here + * include/grub/gpt_partition.h (grub_gpt_partentry): Corrected the type + of "attrib" member + * loader/i386/bsd_pagetable.c: new file + * loader/i386/bsd_trampoline.S: likewise + * loader/i386/bsd.c (ALIGN_QWORD): new macro + (ALIGN_VAR): likewise + (entry_hi): new variable + (kern_end_mdofs): likewise + (is_64bit): likewise + (grub_freebsd_add_meta): use ALIGN_VAR + (grub_e820_mmap): new declaration + (grub_freebsd_add_mmap): new function + (grub_freebsd_add_meta_module): support 64 bit kernels + (grub_freebsd_list_modules): use ALIGN_VAR + (gdt_descriptor): new declaration + (grub_freebsd_boot): support 64 bit kernels + (grub_bsd_elf64_hook): new function + (grub_bsd_load_elf): support elf64 + +2009-05-03 Bean + + * script/sh/execute.c (grub_script_execute_cmdif): Reset grub_errno + after we get the result of if statement. + +2009-05-03 Bean + + * Makefile.in (enable_efiemu): New variable. + + * conf/i386-pc.rmk: Only compile efiemu runtimes when enable_efiemu is + set. + (efiemu32.o): Use macro $< for source file, add $(srcdir) to include + path. + (efi64_c.o): Use macro $< for source file, add $(srcdir) to include + path, add -mno-red-zone option. + (efiemu64_s.o): Likewise. + (efiemu64.o): Use macro $^ for source file. + + * configure.ac (--enable-efiemu): New option. + +2009-05-03 Vladimir Serbinenko + + xnu support + + * conf/i386-efi.rmk (kernel_mod_HEADERS): added i386/pit.h + (pkglib_MODULES): add xnu.mod + (xnu_mod_SOURCES): new variable + (xnu_mod_CFLAGS): likewise + (xnu_mod_LDFLAGS): likewise + (xnu_mod_ASFLAGS): likewise + * conf/i386-pc.rmk: likewise + * conf/x86_64-efi.rmk: likewise + * include/grub/efi/efi.h (grub_efi_finish_boot_services): + new declaration + * include/grub/i386/macho.h: new file + * include/grub/i386/xnu.h: likewise + * include/grub/macho.h: likewise + * include/grub/machoload.h: likewise + * include/grub/x86_64/macho.h: likewise + * include/grub/x86_64/xnu.h: likewise + * include/grub/xnu.h: likewise + * kern/efi/efi.c (grub_efi_finish_boot_services): new function + * kern/efi/mm.c (MAX_HEAP_SIZE): increase + * loader/i386/efi/xnu.c: new file + * loader/i386/pc/xnu.c: likewise + * loader/i386/xnu.c: likewise + * loader/i386/xnu_helper.S: likewise + * loader/macho.c: likewise + * loader/xnu.c: likewise + * loader/xnu_resume.c: likewise + * util/grub-dumpdevtree: likewise + * include/grub/i386/pit.h: include grub/err.h + (grub_pit_wait): export + * util/grub.d/30_os-prober.in: support Darwin/Mac OS X + +2009-05-02 Vladimir Serbinenko + + Efiemu + + * conf/i386-pc.rmk: new modules efiemu, efiemu_acpi, efiemu_pnvram, + _linux_efi, linux_efi. + new files in grub-emu + new targets efiemu32.o and efiemu64.o + * loader/linux_normal_efiemu.c: likewise + * loader/i386/efi/linux.c: added preliminary efiemu support + * util/i386/pc/grub-install.in: add efiemu??.o to the list of + files to copy + * include/grub/autoefi.h: new file + * include/grub/i386/efiemu.h: likewise + * include/grub/i386/pc/efiemu.h: likewise + * include/grub/efi/api.h: add LL suffix when necessary + new definitions relating to tables + * include/grub/efiemu/efiemu.h: new file + * include/grub/efiemu/runtime.h: likewise + * efiemu/prepare.c: likewise + * efiemu/loadcore_common.c: likewise + * efiemu/loadcore64.c: likewise + * efiemu/runtime/efiemu.sh: likewise + * efiemu/runtime/efiemu.S: likewise + * efiemu/runtime/efiemu.c: likewise + * efiemu/runtime/config.h: likewise + * efiemu/prepare32.c: likewise + * efiemu/main.c: likewise + * efiemu/modules/pnvram.c: likewise + * efiemu/modules/i386: likewise + * efiemu/modules/i386/pc: likewise + * efiemu/modules/acpi.c: likewise + * efiemu/i386/pc/cfgtables.c: likewise + * efiemu/i386/loadcore64.c: likewise + * efiemu/i386/loadcore32.c: likewise + * efiemu/prepare64.c: likewise + * efiemu/loadcore.c: likewise + * efiemu/symbols.c: likewise + * efiemu/mm.c: likewise + * efiemu/loadcore32.c: likewise + +2009-05-02 Vladimir Serbinenko + + ACPI spoofing + + * commands/acpi.c: new file + * commands/i386/pc/acpi.c: likewise + * commands/efi/acpi.c: likewise + * include/grub/acpi.h: likewise + * conf/i386-pc.rmk (pkglib_MODULES): added acpi.mod + (acpi_mod_SOURCES): new variable + (acpi_mod_CFLAGS): likewise + (acpi_mod_LDFLAGS): likewise + * conf/i386-efi.rmk: likewise + * conf/x86_64-efi.rmk: likewise + +2009-05-02 Vladimir Serbinenko + + Missing part from mmap patch + + * mmap/efi/mmap.c (grub_machine_mmap_unregister): renamed to + (grub_mmap_unregister) + (grub_mmap_free_and_unregister): use grub_mmap_register + +2009-05-02 Vladimir Serbinenko + + Mmap services + + * loader/i386/efi/linux.c (grub_linux_boot): use grub_mmap_iterate + * loader/i386/linux.c (find_mmap_size): likewise + (allocate_pages): likewise + * loader/i386/multiboot.c (grub_get_multiboot_mmap_len): likewise + (grub_fill_multiboot_mmap): likewise + (grub_multiboot): use grub_mmap_get_lower and grub_mmap_get_upper + * loader/i386/pc/linux.c (grub_cmd_linux): use grub_mmap_get_lower + * include/grub/i386/bsd.h (OPENBSD_MMAP_AVAILABLE): new definition + (OPENBSD_MMAP_RESERVED): likewise + * include/grub/i386/pc/memory.h: include grub/memory.h + (grub_lower_mem): removed + (grub_upper_mem): likewise + (GRUB_MACHINE_MEMORY_ACPI): new definition + (GRUB_MACHINE_MEMORY_NVS): likewise + (GRUB_MACHINE_MEMORY_MAX_TYPE): likewise + (GRUB_MACHINE_MEMORY_HOLE): likewise + (grub_machine_mmap_register): likewise + (grub_machine_mmap_unregister): likewise + (grub_machine_get_upper): likewise + (grub_machine_get_lower): likewise + (grub_machine_get_post64): likewise + * include/grub/i386/efi/memory.h: new file + * include/grub/x86_64/efi/memory.h: likewise + * include/grub/efi/memory.h: likewise + * conf/i386-pc.rmk (pkglib_MODULES): added mmap.mod + (mmap_mod_SOURCES): new variable + (mmap_mod_LDFLAGS): likewise + (mmap_mod_ASFLAGS): likewise + * conf/i386-coreboot.rmk: likewise + * conf/i386-ieee1275.rmk: likewise + * conf/i386-efi.rmk: likewise + * conf/x86_64-efi.rmk: likewise + * include/grub/types.h (UINT_TO_PTR): new macro + (PTR_TO_UINT32): likewise + (PTR_TO_UINT64): likewise + * include/grub/memory.h: new file + * mmap/i386/pc/mmap.c: likewise + * mmap/i386/pc/mmap_helper.S: likewise + * mmap/i386/uppermem.c: likewise + * mmap/mmap.c: likewise + * mmap/efi/mmap.c: likewise + * kern/i386/coreboot/init.c (grub_machine_init): don't use + grub_upper_mem + * kern/i386/pc/init.c (grub_lower_mem): removed variable + (grub_upper_mem): likewise + (grub_machine_init): don't use grub_upper_mem, + make grub_lower_mem local + * loader/i386/bsd.c (grub_openbsd_boot): use grub_mmap_get_lower, + grub_mmap_iterate and grub_mmap_get_upper + (grub_netbsd_boot): use grub_mmap_get_lower and grub_mmap_get_upper + +2009-05-02 Bean + + * conf/common.rmk (grub_script.tab.c): Change normal/parser.y to + script/sh/parser.y. + (pkglib_MODULES): Add normal.mod and sh.mod. + (normal_SOURCES): New variable. + (normal_mod_CFLAGS): Likewise. + (normal_mod_LDFLAGS): Likewise. + (sh_mod_SOURCES): Likewise. + (sh_mod_CFLAGS): Likewise. + (sh_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (normal/lexer.c_DEPENDENCIES): Changed to + script/sh/lexer.c_DEPENDENCIES. + (kernel_img_SOURCES): Remove kern/rescue.c, and kern/reader.c, + kern/rescue_reader.c and kern/rescue_parser.c. + (kernel_img_HEADERS): Remove rescue.h, add reader.h. + (grub_emu_SOURCES): Change source files. + (pkglib_MODULES): Remove normal.mod. + (normal_SOURCES): Removed. + (normal_mod_CFLAGS): Likewise. + (normal_mod_LDFLAGS): Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1276.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + + * include/grub/command.h (grub_command_execute): New inline function. + + * include/grub/menu.h (grub_menu_entry): Removed commands field. + + * include/grub/normal.h: Remove . + (grub_fs_module_list): Moved to normal/autofs.c. + (grub_exit_env): Removed. + (grub_command_execute): Likewise. + (grub_normal_menu_addentry): Renamed to grub_menu_addentry, removed + parameter script. + (read_command_list): New function declaration. + (read_fs_list): Likewise. + + * include/parser.h: Include . + (grub_parser_split_cmdline): Change type of getline parameter. + (grub_parser): New structure. + (grub_parser_class): New variable. + (grub_parser_execute): New function declaration. + (grub_register_rescue_parser): Likewise. + (grub_parser_register): New inline function. + (grub_parser_unregister): Likewise. + (grub_parser_get_current): Likewise. + (grub_parser_set_current): Likewise. + + * include/grub/reader.h: New file. + * kern/reader.c: Likewise. + * kern/rescue_parser.c: Likewise. + * kern/rescue_reader.c: Likewise. + * normal/autofs.c: Likewise. + * normal/dyncmd.c: Likewise. + + * include/grub/rescue.h: Removed. + * normal/command.h: Likewise. + + * include/grub/script.h: Moved to ... + * include/grub/script_sh.h: ... Moved here. + * normal/execute.c: Moved to ... + * script/sh/execute.c: ... Moved here. + * normal/function.c: Moved to ... + * script/sh/function.c: ... Moved here. + * normal/lexer.c: Moved to ... + * script/sh/lexer.c: ... Moved here. + * normal/parser.y: Moved to ... + * script/sh/parser.y: ... Moved here. + * normal/script.c: Moved to ... + * script/sh/script.c: ... Moved here. + + * normal/main.c: Remove and , include + . + (grub_exit_env): Removed. + (fs_module_list): Moved to normal/autofs.c. + (grub_file_getline): Don't handle comment here. + (free_menu): Skip removed field entry->commands. + (grub_normal_menu_addentry): Removed as grub_menu_entry, removed + script parameter. + (read_config_file): Removed nested parameter, change getline function. + (grub_enter_normal_mode): Removed. + (grub_dyncmd_dispatcher): Moved to normal/dyncmd.c. + (read_command_list): Likewise. + (autoload_fs_module): Moved to normal/autofs.c. + (read_fs_list): Likewise. + (reader_nested): New variable. + (grub_normal_execute): Run parser.sh to switch to sh parser. + (grub_cmd_rescue): Removed. + (cmd_normal): Removed. + (grub_cmd_normal): Unregister itself at the beginning. Don't register + rescue command. + (grub_cmdline_run): New function. + (grub_normal_reader_init): Likewise. + (grub_normal_read_line): Likewise. + (grub_env_write_pager): Likewise. + (cmdline): New variable. + (grub_normal_reader): Likewise. + (GRUB_MOD_INIT): Register normal reader and set as current, register + pager hook, register normal command with grub_register_command_prio, + so that it won't show up in command.lst. + (GRUB_MOD_FINI): Unregister normal reader, unhook pager, clear + grub_fs_autoload_hook. + + * normal/menu.c: Remove , add . + (grub_menu_execute_entry): Replace grub_script_execute with + grub_parser_execute, change parameter to grub_command_execute. + + * normal/menu_text.c: Remove . + + * normal/menu_entry.c: Remove , add + and . + (run): Change editor_getline to use new parser interface. Change + parameter to grub_command_execute. + + * kern/main.c: Remove , include , + and . + (grub_load_normal_mode): Execute normal command. + (grub_main): Call grub_register_core_commands, + grub_register_rescue_parser and grub_register_rescue_reader, use + grub_reader_loop to enter input loop. + + * kern/parser.c (grub_parser_split_cmdline): Change type of + getline parameter. + (grub_parser_class): New variable. + (grub_parser_execute): New function. + + * loader/i386/multiboot.c: Remove . + * loader/multiboot2.c: Likewise. + * loader/sparc64/ieee1275/linux.c: Likewise. + + * util/grub-emu.c (read_command_list): New dummy function. + +2009-05-02 Robert Millan + + * util/deviceiter.c (grub_util_iterate_devices): Increase max drive + count to 16 for CCISS and IDA. + +2009-05-02 Robert Millan + + * normal/menu_text.c (grub_wait_after_message): Print a newline + after waiting for user input. + + * loader/i386/linux.c: Include `'. + (grub_cmd_linux): Improve the error message about `ask' mode, by + waiting for user input so it's not missed (we can do this, since + user requested interaction). + +2009-05-02 Vladimir Serbinenko + + Added missing lst to grub-mkrescue + + * util/i386/pc/grub-mkrescue.in: added ${input_dir}/handler.lst + and ${input_dir}/parttool.lst + +2009-04-30 David S. Miller + + * util/hostdisk.c (device_is_wholedisk): New function. + (grub_util_biosdisk_get_grub_dev): Shortcut when hdg.start is + zero only if device_is_wholedisk() returns true. + + * util/hostdisk.c (convert_system_partition_to_system_disk): + Handle virtual disk devices named /dev/vdiskX as found on sparc + and powerpc. + + * kern/sparc64/ieee1275/init.c (grub_machine_set_prefix): If + lettered partition specifier is found, convert to numbered. + +2009-04-29 David S. Miller + + * include/grub/powerpc/ieee1275/memory.h: Include ieee1275.h. + * include/grub/sparc64/ieee1275/memory.h: Likewise. + + * normal/command.c: Add missing newline at end of file. + + * commands/lsmmap.c (grub_cmd_lsmmap): Add casts to avoid printf + warnings. + * kern/ieee1275/openfw.c (grub_claimmap): Likewise. + * disk/ieee1275/ofdisk.c (grub_ofdisk_open, grub_ofdisk_close, + grub_ofdisk_read): Likewise, and deal similarly with the fact that + ihandles have a 32-bit type but need to be stored in a "void *". + +2009-04-28 Pavel Roskin + + * disk/fs_uuid.c (grub_fs_uuid_open): Use parent->data for dev, + not disk. Adjust all dependencies. + (grub_fs_uuid_close): Use grub_device_close(), not + grub_disk_close(). + + * disk/fs_uuid.c (grub_fs_uuid_open): Allocate memory to copy + parent's partition, don't copy it by reference, as it gets freed + on close. + +2009-04-27 Vladimir Serbinenko + + Preboot hooks support + + * commands/boot.c (struct grub_preboot_t): new declaration + (preboots_head): new variable + (preboots_tail): likewise + (grub_loader_register_preboot_hook): new function + (grub_loader_unregister_preboot_hook): likewise + (grub_loader_set): launch preboot hooks + * include/grub/loader.h (grub_loader_preboot_hook_prio_t): new type + (grub_loader_register_preboot_hook): new declaration + (grub_loader_unregister_preboot_hook): likewise + +2009-04-27 Vladimir Serbinenko + + Warning fix + + * disk/scsi.c (grub_scsi_open): added missing cast when + calling grub_dprintf + +2009-04-26 Vladimir Serbinenko + + Bug and warning fixes + + * include/grub/i386/pc/init.h (grub_stop_floppy): added missing + declaration + * commands/test.c (test_parse): fixed bug with file tests and corrected + declaration of find_file + +2009-04-26 Pavel Roskin + + * Makefile.in: Don't install empty manual pages if help2man is + missing. Use help2man option for output, not shell redirection. + +2009-04-26 David S. Miller + + * util/grub-mkdevicemap.c (make_device_map): Add missing + NESTED_FUNC_ATTR to process_device(). + +2009-04-25 Vladimir Serbinenko + + Test command + + * commands/test.c: rewritten to use bash-like test + +2009-04-25 Vladimir Serbinenko + + Parttool autoloading and improvements + + * Makefile.in (pkglib_DATA): add parttool.lst + (parttool.lst): new target + * genmk.rb: generate parttool-* + (CLEANFILES): add #{parttool} + (PARTTOOLFILES): new variable + * genparttoollist.sh: new file + * parttool/pcpart.c (grub_pcpart_boot): more feedback + (grub_pcpart_type): likewise + * commands/parttool.c (helpmsg): new variable + (grub_cmd_parttool): output help if not enough arguments are supplied + autoload modules + (GRUB_MOD_INIT(parttool)): use helpmsg + +2009-04-24 David S. Miller + + Avoiding opening same device multiple times in device iterator. + + * kern/device.c: (grub_device_iterate): Define struct part_ent, + and use it to build a list of partitions in iterate_disk() and + iterate_partition(). + + * disk/fs_uuid.c (grub_fs_uuid_close): Call grub_disk_close() + on disk->data. + + * disk/ieee1275/nand.c (grub_nand_iterate): Return + grub_devalias_iterate() result instead of unconditional 0. + * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Likewise. + Also, capture hook return value, either directly or via + grub_children_iterate(), and propagate to caller. + * include/grub/ieee1275/ieee1275.h (grub_devalias_iterate, + grub_children_iterate): Return value is now 'int' instead of + 'grub_err_t'. + * kern/ieee1275/openfw.c (grub_children_iterate): Fix to behave + like a proper iterator, stopping when hooks return non-zero. + (grub_devalias_iterate): Likewise. + +2009-04-23 David S. Miller + + * kern/sparc64/ieee1275/openfw.c: Unused, delete. + +2009-04-22 David S. Miller + + * kern/ieee1275/mmap.c (grub_machine_mmap_iterate): If size_cells + is larger than address_cells, use that value for address_cells too. + + * include/grub/ieee1275/ieee1275.h (IEEE1275_MAX_PROP_LEN, + IEEE1275_MAX_PATH_LEN): Define. + * kern/ieee1275/openfw.c (grub_children_iterate): Dynamically + allocate 'childtype', 'childpath', 'childname', and 'fullname'. + (grub_devalias_iterate): Dynamically allocate 'aliasname' and + 'devtype'. Explicitly NULL terminate devalias expansion. + + * util/sparc64/ieee1275/misc.c: New file. + * util/sparc64/ieee1275/grub-setup.c: New file. + * util/sparc64/ieee1275/grub-ofpathname.c: New file. + * util/sparc64/ieee1275/grub-mkimage.c: New file. + * util/sparc64/ieee1275/grub-install.in: New file. + * util/ieee1275/ofpath.c: New file. + * util/ieee1275/devicemap.c: New file. + * util/devicemap.c: New file. + * util/deviceiter.c: New file. + * kern/sparc64/ieee1275/init.c: New file. + * include/grub/util/ofpath.h: New file. + * include/grub/util/deviceiter.h: New file. + * util/grub-mkdevicemap.c: Include deviceiter.h. + Implement using grub_util_emit_devicemap_entry and + grub_util_iterate_devices. + * conf/i386-corebook.rmk: Build util/deviceiter.c and + util/devicemap.c into grub-mkdevicemap + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Add rules to build boot block + images and installation utilities. Build kernel as image + instead of as elf binary. Use common rules as much as possible. + +2009-04-19 Vladimir Serbinenko + + Correct GPT definition + + * include/grub/gpt_partition.h (grub_gpt_partentry): Corrected the type + of "attrib" member + +2009-04-19 Felix Zielcke + + * INSTALL: Replace `autogen.sh' with `./autogen.sh'. + +2009-04-19 David S. Miller + + * loader/sparc64/ieee1275/linux.c: Include grub/command.h + (grub_rescue_cmd_linux): Rename to... + (grub_cmd_linux): and fix prototype. + (grub_rescue_cmd_initrd): Rename to... + (grub_cmd_initrd): and fix prototype. + (cmd_linux, cmd_initrd): New. + (GRUB_MOD_INIT(linux)): Use grub_register_command(). + (GRUB_MOD_FINI(linux): Use grub_unregister_command(). + +2009-04-17 Pavel Roskin + + * bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf + format. + (grub_ohci_transfer): Likewise. + + * bus/usb/usbtrans.c (grub_usb_control_msg): Warning fix. + + * loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix + return without a value. Fix inconsistent indentation. + + * fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to + match struct grub_fs. + + * disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR. + * bus/usb/ohci.c (grub_ohci_pci_iter): Likewise. + * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise. + * commands/lspci.c (grub_lspci_iter): Likewise. + +2009-04-16 Bean + + * commands/efi/loadbios.c (grub_cmd_fakebios): Add missing return + value. + +2009-04-15 Pavel Roskin + + * include/grub/types.h: Rename ULONG_MAX to GRUB_ULONG_MAX and + LONG_MAX to GRUB_LONG_MAX. Introduce GRUB_LONG_MIN. Update all + users of ULONG_MAX, LONG_MAX and LONG_MIN to use the new + definitions. + +2009-04-15 Felix Zielcke + + * disk/lvm.c (grub_lvm_scan_device): Add `LVM' to the error messages, + that no multiple data or metadata areas are supported and `Unknown + metadata header'. + +2009-04-15 Vladimir Serbinenko + + Move loader out of the kernel + + * kern/loader.c: moved to ... + * commands/boot.c: ... moved here + * commands/minicmd.c (grub_mini_cmd_boot): moved to ... + * commands/boot.c (grub_cmd_boot): moved here. All users updated + * include/grub/kernel.h (grub_machine_fini): export + * include/grub/loader.h (grub_loader_is_loaded): update declaration + (grub_loader_set): likewise + (grub_loader_unset): likewise + (grub_loader_boot): likewise + * conf/common.rmk: new module boot.mod + (pkglib_MODULES): add boot.mod + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): remove kern/loader.c + (grub_emu_SOURCES): likewise + * conf/i386-efi.rmk (kernel_elf_SOURCES): likewise + (grub_emu_SOURCES): likewise + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): likewise + (grub_emu_SOURCES): likewise + * conf/i386-pc.rmk (kernel_elf_SOURCES): likewise + (grub_emu_SOURCES): likewise + * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): likewise + (grub_emu_SOURCES): likewise + * conf/sparc64-ieee1275.rmk (kernel_elf_SOURCES): likewise + (grub_emu_SOURCES): likewise + * conf/x86_64-efi.rmk (kernel_elf_SOURCES): likewise + (grub_emu_SOURCES): likewise + +2009-04-15 Vladimir Serbinenko + + use grub_lltoa instead of grub_itoa and grub_ltoa for all purposes + + * kern/misc.c (grub_itoa): Removed function + (grub_ltoa): likewise + (grub_vsprintf): use grub_lltoa + +2009-04-15 Vladimir Serbinenko + + Restore grub-emu + + * conf/i386-pc.rmk (grub_emu_SOURCES): add normal/handler.c + * conf/i386-coreboot.rmk: likewise + * conf/i386-ieee1275.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + +2009-04-15 Felix Zielcke + + * INSTALL: Add that `./autogen.sh' needs to be run before + `./configure.'. + +2009-04-14 Bean + + * Makefile.in (pkglib_DATA): Add handler.lst. + (handler.lst): New rule. + + * conf/i386-pc.rmk (normal_mod_SOURCES): Add normal/handler.c. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-efi.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + + * genhandlerlist.sh: New file. + + * genmk.rb: Add rules to generate handler.lst. + + * include/grub/normal.h (grub_file_getline): New function definition. + (read_handler_list): Likewise. + (free_handler_list): Likewise. + + * include/grub/term.h (grub_term_register_input): Add name parameter + for auto generation of handler.lst. + (grub_term_register_output): Likewise. + + * normal/handler.c: New file. + + * normal/main.c (get_line): Renamed to grub_file_getline. + (read_config_file): Use the newly renamed grub_file_getline. + (read_command_list): Likewise. + (read_fs_list): Likewise. + (grub_normal_execute): Call read_handler_list to parse handler.lst. + (GRUB_MOD_FINI): Call free_handler_list to free handler list. + + * term/efi/console.c (grub_console_init): Add name parameter for auto + generation of handler.lst. + * term/gfxterm.c: Likewise. + * term/i386/pc/at_keyboard.c: Likewise. + * term/i386/pc/console.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * term/i386/pc/vga.c: Likewise. + * term/i386/pc/vga_text.c: Likewise. + * term/ieee1275/ofconsole.c: Likewise. + * term/usb_keyboard.c: Likewise. + +2009-04-14 Bean + + * util/grub-pe2elf.c (write_symbol_table): Terminate short name symbol + properly with null character. + +2009-04-14 Felix Zielcke + + * configure: Remove. + * config.h.in: Likewise. + * stamp-h.in: Likewise. + * DISTLIST: Likewise. + * conf/common.mk: Likewise. + * conf/i386-coreboot.mk: Likewise. + * conf/i386-efi.mk: Likewise. + * conf/i386-ieee1275.mk: Likewise. + * conf/i386.mk: Likewise. + * conf/i386-pc.mk: Likewise. + * conf/powerpc-ieee1275.mk: Likewise. + * conf/sparc64-ieee1275.mk: Likewise. + * conf/x86_64-efi.mk: Likewise. + + * INSTALL: Remove the sentence that Ruby and autoconf are only required if you + develop on GRUB. + +2009-04-14 John Stanley + David S. Miller + + * util/hostdisk.c (make_device_name): Fix buffer length + calculations. + +2009-04-14 Felix Zielcke + + * util/hostdisk.c [__FreeBSD__ || __FreeBSD_kernel__]: Include + and . + (open_device) [__FreeBSD__ || __FreeBSD_kernel_]: Use sysctlgetbyname() + to add 0x10 to `kern.geom.debugflags' if it's not already set, before + opening the device and reset them afterwards. + +2009-04-13 Pavel Roskin + + * conf/common.rmk (grub_fstest_SOURCES): Add normal/datetime.c. + Reported by John Stanley + +2009-04-13 Robert Millan + + * util/grub.d/10_freebsd.in: Detect Debian GNU/kFreeBSD and use + that name for menuentries when appropriate. + +2009-04-13 Felix Zielcke + + * util/grub.d/10_freebsd.in: Add a missing `fi'. + +2009-04-13 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): Don't pass `vga=ask' parameter + to Linux, simply abort telling the user it's no longer supported. + +2009-04-13 Felix Zielcke + + * util/grub.d/10_freebsd.in: Don't exit if /boot/devices.hints + doesn't exist. Check also for /boot/kernel/kernel.gz. Print + `freebsd_loadenv' only when devices.hints exist. + +2009-04-13 Pavel Roskin + + * term/usb_keyboard.c (grub_usb_keyboard_getkey): Warning fixes. + +2009-04-13 Felix Zielcke + + * util/i386/pc/grub-install.in (install_drive): Remove the BSD + partition number. + (grub_drive): Likewise. + +2009-04-13 David S. Miller + + * kern/sparc64/ieee1275/ieee1275.c: New file. + * include/grub/sparc64/ieee1275/ieee1275.h (IEEE1275_MAP_WRITE, + IEEE1275_MAP_READ, IEEE1275_MAP_EXEC, IEEE1275_MAP_LOCKED, + IEEE1275_MAP_CACHED, IEEE1275_MAP_SE, IEEE1275_MAP_GLOBAL, + IEEE1275_MAP_IE, IEEE1275_MAP_DEFAULT): Define. + (grub_ieee1275_map_physical, grub_ieee1275_claim_vaddr, + grub_ieee1275_alloc_physmem): Declare new exported functions. + + * include/grub/sparc64/ieee1275/loader.h: New file. + * include/grub/sparc64/ieee1275/memory.h: Likewise. + * include/grub/sparc64/kernel.h: Likewise. + * loader/sparc64/ieee1275/linux.c: Likewise. + + * conf/common.rmk (grub_probe_SOURCES): Add Sun partition module. + (grub_fstest_SOURCES): Likewise. + + * util/hostdisk.c (make_device_name): Do not make any assumptions + about the length of drive names. + + * kern/dl.c (grub_dl_load_file): Close file immediately when + we are done using it. + +2009-04-12 David S. Miller + + * kern/misc.c (grub_ltoa): Fix cast when handling negative + values. Noticed by Pavel Roskin. + + * configure.ac: Check for __bswapsi2 and__bswapdi2 using + target compiler. + + * genmk.rb: Add more flexible image type specification, also + pass --strip-unneeded to objcopy. + * conf/i386-pc.rmk: Use *_FORMAT. + * conf/i386-pc.mk: Rebuilt. + + * disk/ieee1275/ofdisk.c (struct ofdisk_hash_ent): New struct. + (OFDISK_HASH_SZ): Define. + (ofdisk_hash): New hash table. + (ofdisk_hash_fn, ofdisk_hash_find, ofdisk_hash_add): New functions. + (grub_ofdisk_open): Use ofdisk_hash_ent address as disk->id + instead of device phandle which is not unique. + + * kern/sparc64/ieee1275/init.c: Delete, replace with... + * kern/sparc64/ieee1275/crt0.S: assembler implementation. + * include/grub/sparc64/ieee1275/kernel.h: Declare grub_prefix[]. + (GRUB_MOD_ALIGN, GRUB_MOD_GAP, GRUB_KERNEL_MACHINE_TOTAL_MODULE_SIZE, + GRUB_KERNEL_MACHINE_KERNEL_IMAGE_SIZE, + GRUB_KERNEL_MACHINE_COMPRESSED_SIZE, GRUB_KERNEL_MACHINE_PREFIX, + GRUB_KERNEL_MACHINE_DATA_END): Define. + (grub_kernel_image_size, grub_total_module_size): Declare. + +2009-04-12 Pavel Roskin + + * configure.ac: Change the logic when we check for target tools. + Do it when the target is specified and it's different from the + specified value of the host. + +2009-04-11 Felix Zielcke + + * util/hostdisk.c [__FreeBSD_kernel__]: Include sys/disk.h. + (grub_util_biosdisk_open) [__FreeBSD_kernel__]: Add support for + GNU/kFreeBSD. Check if a device is a character device. Use + DIOCGMEDIASIZE to get the size. + (convert_system_partition_to_system_disk) [__FreeBSD_kernel__]: Add + support for GNU/kFreeBSD. + (grub_util_biosdisk_get_grub_dev) [__FreeBSD_kernel__]: Check if OS_DEV + is a character device instead of a block device. Add support for + FreeBSD device names. + + * util/getroot.c (find_root_device) [__FreeBSD_kernel__]: Check if ENT + is a character device instead of a block device. + + * util/grub-probe.c (probe) [__FreeBSD_kernel__]: Check if DEVICE_NAME + is a character device instead of a block device. + +2009-04-11 Andrey Shuvikov + + * util/hostdisk.c [__FreeBSD__]: Include sys/disk.h. + (grub_util_biosdisk_open) [__FreeBSD__]: Add support for + FreeBSD. Check if a device is a character device. Use + DIOCGMEDIASIZE to get the size. + (convert_system_partition_to_system_disk) [__FreeBSD__]: Add + support for FreeBSD. + (grub_util_biosdisk_get_grub_dev) [__FreeBSD__]: Check if OS_DEV + is a character device instead of a block device. Add support for + FreeBSD device names. + + * util/getroot.c (find_root_device) [__FreeBSD__]: Check if ENT is + a character device instead of a block device. + (grub_util_check_char_device): New function. + + * util/grub-probe.c (probe) [__FreeBSD__]: Check if DEVICE_NAME is + a character device instead of a block device. + + * include/grub/util/getroot.h (grub_util_check_char_device): New + prototype. + +2009-04-11 David S. Miller + + * conf/sparc64-ieee1275.rmk (kernel_img_LDFLAGS): Link with + static libgcc. + * configure.ac: Check for __bswapsi2 and __bswapdi2 presence. + * include/grub/sparc64/libgcc.h (__bswapsi2): Export libgcc + function, if present. + (__bswapdi2): Likewise. + + * include/grub/sparc64/ieee1275/boot.h: New file. + * boot/sparc64/ieee1275/boot.S: Likewise. + * boot/sparc64/ieee1275/diskboot.S: Likewise. + + * kern/misc.c (grub_ltoa): New function. + (grub_vsprintf): Use it to format 'long' integers. + +2009-04-10 David S. Miller + + * disk/ieee1275/nand.c (grub_nand_open): All ieee1275 call arg + slots are of type grub_ieee1275_cell_t. + (grub_nand_read): Likewise. + * kern/ieee1275/ieee1275.c (IEEE1275_PHANDLE_INVALID, + IEEE1275_IHANDLE_INVALID): Use grub_ieee1275_cell_t since these + macros are used to compare values in arg/ret block of the call. + (grub_ieee1275_finddevice, grub_ieee1275_get_property, + grub_ieee1275_next_property, grub_ieee1275_get_property_length, + grub_ieee1275_instance_to_package, grub_ieee1275_package_to_path, + grub_ieee1275_instance_to_path, grub_ieee1275_write, + grub_ieee1275_read, grub_ieee1275_seek, grub_ieee1275_peer, + grub_ieee1275_child, grub_ieee1275_parent, grub_ieee1275_open, + grub_ieee1275_close, grub_ieee1275_set_property, + grub_ieee1275_set_color): All ieee1275 call arg slots are of type + grub_ieee1275_cell_t. + * kern/ieee1275/openfw.c (grub_map): Likewise. + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_ihandle_t, + grub_ieee1275_phandle_t): Define as grub_unit32_t type. + + * kern/ieee1275/init.c (grub_machine_init): Make 'actual' grub_ssize_t. + * kern/ieee1275/openfw.c (grub_children_iterate): Likewise. + (grub_devalias_iterate): Likewise. + +2009-04-10 Vladimir Serbinenko + + UFS improvements + + * fs/ufs.c (INODE_NBLOCKS): new definition + (struct grub_ufs_dirent): added fields for non-BSD dirents + (grub_ufs_get_file_block): fixed double indirect handling + (grub_ufs_lookup_symlink): use more robust way to determine whether + symlink is inline + (grub_ufs_find_file): support for non-BSD dirents + (grub_ufs_dir): support for non-BSD dirents + +2009-04-10 Bean + + * include/grub/efi/api.h (grub_efi_configuration_table): Add packed + attribute, otherwise the size would be wrong for i386 platform. + + * include/grub/pci.h (grub_pci_read_word): New inline function. + (grub_pci_read_byte): Likewise. + (grub_pci_write): Likewise. + (grub_pci_write_word): Likewise. + (grub_pci_write_byte): Likewise. + + * include/grub/pci.h (grub_pci_iteratefunc_t): Add NESTED_FUNC_ATTR. + + * loader/i386/efi/linux.c (fake_bios_data): Moved to loadbios module. + (find_framebuf): Scan pci to locate the frame buffer address. + + * commands/efi/fixvideo.c: New file. + + * commands/efi/loadbios.c: Likewise. + + * commands/memrw.c: Likewise. + + * util/grub-dumpbios.in: Likewise. + + * conf/common.rmk (grub-dumpbios): New utility. + (pkglib_MODULES): New module memrw.mod. + (memrw_mod_SOURCE): New macro. + (memrw_mod_CFLAGS): Likewise. + (memrw_mod_LDFLAGS): Likewise. + + * conf/i386-efi.rmk (pkglib_MODULES): New module loadbios.mod and + fixvideo.mod. + (loadbios_mod_SOURCE): New macro. + (loadbios_mod_CFLAGS): Likewise. + (loadbios_mod_LDFLAGS): Likewise. + (fixvideo_mod_SOURCE): Likewise. + (fixvideo_mod_CFLAGS): Likewise. + (fixvideo_mod_LDFLAGS): Likewise. + + * conf/x86_64.rmk (pkglib_MODULES): New module loadbios.mod and + fixvideo.mod. + (loadbios_mod_SOURCE): New macro. + (loadbios_mod_CFLAGS): Likewise. + (loadbios_mod_LDFLAGS): Likewise. + (fixvideo_mod_SOURCE): Likewise. + (fixvideo_mod_CFLAGS): Likewise. + (fixvideo_mod_LDFLAGS): Likewise. + +2009-04-08 Felix Zielcke + + * disk/lvm.c (grub_lvm_scan_device): Add a missing NULL check. + +2009-04-07 David S. Miller + + * kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add + support for R_SPARC_OLO10 relocations. Fix compile warning for + R_SPARC_WDISP30 case. + * kern/sparc64/cache.S: Fix grub_arch_sync_caches implementation. + +2009-04-06 Pavel Roskin + + * include/grub/misc.h (ARRAY_SIZE): New macro. + * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): + New macro. + * loader/i386/linux.c (allocate_pages): Use free_pages(). + (grub_linux_unload): Don't use free_pages(). + (grub_linux_boot): Prevent accessing linux_vesafb_modes with a + wrong index. Treat all other modes as text modes. + (grub_cmd_linux): Initialize vid_mode unconditionally to + GRUB_LINUX_VID_MODE_NORMAL. Recognize and support "vga=ask". + + * commands/help.c (print_command_help): Use cmd->prio, not + cmd->flags to check for GRUB_PRIO_LIST_FLAG_ACTIVE. + +2009-04-06 Vladimir Serbinenko + + Parttool + + * parttool/pcpart.c: new file + * commands/parttool.c: likewise + * conf/common.rmk (pkglib_MODULES): Added parttool.mod and pcpart.mod + (parttool_mod_SOURCES): new variable + (parttool_mod_CFLAGS): likewise + (parttool_mod_LDFLAGS): likewise + (pcpart_mod_SOURCES): likewise + (pcpart_mod_CFLAGS): likewise + (pcpart_mod_LDFLAGS): likewise + * conf/i386-coreboot.rmk (grub_emu_SOURCES): added commands/parttool.c + and parttool/pcpart.c + * conf/i386-efi.rmk: likewise + * conf/i386-ieee1275.rmk: likewise + * conf/i386-pc.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + * conf/sparc64-ieee1275.rmk: likewise + * conf/x86_64-ieee1275.rmk: likewise + +2009-04-05 Vladimir Serbinenko + + Support for mtime and further expandability of dir command + + * include/grub/lib/datetime.h: moved to ... + * include/grub/datetime.h: ... moved here and added + declaration of grub_unixtime2datetime. All users updated + * include/grub/fs.h: new syntax for dir and mtime functions in + struct grub_fs + * include/grub/fshelp.h: new declarations of GRUB_FSHELP_TYPE_MASK + and GRUB_FSHELP_FLAGS_MASK + * commands/ls.c (grub_ls_list_files): Write mtime in long format + * fs/ext2.c (grub_ext2_dir): use new dir syntax and supply mtime + (grub_ext2_mtime): new function + * fs/hfsplus.c (grub_hfsplus_dir): use new dir syntax and supply mtime + (grub_hfsplus_mtime): new function + * fs/ufs.c (GRUB_UFS_ATTR_TYPE): new definition + (GRUB_UFS_ATTR_FILE): likewise + (GRUB_UFS_ATTR_LNK): likewise + (struct grub_ufs_sblock): new fields mtime + (grub_ufs_read_inode): new parameter to read inode to a separate buffer + all users updated + (grub_ufs_dir): mtime support + (grub_ufs_mtime): new function + * fs/affs.c (grub_affs_dir): use new dir syntax + * fs/afs.c (grub_afs_dir): likewise + * fs/cpio.c (grub_cpio_dir): likewise + * fs/fat.c (grub_fat_find_dir): likewise + * fs/hfs.c (grub_hfs_dir): likewise + * fs/iso9660.c (grub_iso9660_dir): likewise + * fs/jfs.c (grub_jfs_dir): likewise + * fs/minix.c (grub_minix_dir): likewise + * fs/ntfs.c (grub_ntfs_dir): likewise + * fs/reiserfs.c (grub_reiserfs_dir): likewise + * fs/sfs.c (grub_sfs_dir): likewise + * fs/xfs.c (grub_xfs_dir): likewise + * util/hostfs.c (grub_hostfs_dir): likewise + * lib/datetime.c: moved to ... + * normal/datetime.c: ... moved here + (grub_unixtime2datetime): new function + * kern/rescue.c (grub_rescue_print_files): use new dir syntax + * normal/completion.c (iterate_dir): use new dir syntax + * normal/misc.c (grub_normal_print_device_info): tell the + last modification time of a volume + * kern/fs.c (grub_fs_probe): updated dummy function to use new syntax + * conf/common.rmk: added lib/datetime.c to ls.mod + * conf/i386-coreboot.rmk (grub_emu_SOURCES): add normal/datetime.c + (normal_mod_SOURCES): likewise + (datetime_mod_SOURCES): Removed lib/datetime.c + * conf/i386-efi.rmk: likewise + * conf/i386-ieee1275.rmk: likewise + * conf/i386-pc.rmk: likewise + * conf/powerpc-ieee1275.rmk: likewise + * conf/sparc64-ieee1275.rmk: likewise + * conf/x86_64-efi.rmk: likewise + +2009-04-05 Vladimir Serbinenko + + Trim trailing spaces in FAT label and support mtools-like labels + + * fs/fat.c (grub_fat_iterate_dir): New function based + on grub_fat_find_dir + (grub_fat_find_dir): use grub_fat_iterate_dir + (grub_fat_label): likewise + +2009-04-04 Vladimir Serbinenko + + * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): add list.h + and command.h + remove extraneous kernel_elf_HEADERS + +2009-04-04 Bean + + * include/grub/util/misc.h: Add dummy function fsync for mingw. + + * util/misc.c: Likewise. + +2009-04-04 Yoshinori K. Okuji + + * loader/i386/efi/linux.c (fake_bios_data): Use grub_dprintf + instead of grub_printf. + +2009-04-03 Robert Millan + + * loader/i386/linux.c (grub_linux_setup_video): Fill + `params->{red,green,blue,reserved}_{mask_size,field_pos}' with + values from `mode info' structure instead of hardcoded + values. + +2009-04-01 Pavel Roskin + + * Makefile.in: Remove all references to MODULE_LDFLAGS, it's + unused now. + * genmk.rb: Likewise. + * configure.ac: Likewise. + +2009-04-01 Manoel Abranches + + * aclocal.m4: Move --build-id=none from MODULE_LDFLAGS to + TARGET_LDFLAGS. This corrects a problem with grub-mkelfimage. + +2009-04-01 David S. Miller + + * normal/sparc64/setjmp.S: Fix setjmp implementation. + * include/grub/sparc64/setjmp.h (grub_jmp_buf): Update. + (grub_setjmp): Mark with 'returns_twice' attribute. + * include/grub/i386/setjmp.h (grub_setjmp): Likewise + * include/grub/powerpc/setjmp.h (grub_setjmp): Likewise. + * include/grub/x86_64/setjmp.h (grub_setjmp): Likewise. + +2009-04-01 Robert Millan + + Reapply fix from 2008-07-28 which was accidentally reverted; also + perform the same fix to a similar check in same function. + + * disk/raid.c (grub_raid_scan_device): Do not abort when two disks + with the same number are found, just use issue a warning with + grub_dprintf(), as this error has been reported to be non-fatal. + +2009-03-31 Pavel Roskin + + * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Provide safe default + for cross-compilation. + +2009-03-30 Robert Millan + + Fix i386-ieee1275 build. + + * include/grub/i386/ieee1275/loader.h (grub_multiboot2_real_boot): + Remove declaration. + +2009-03-30 Pavel Roskin + + * fs/hfs.c (grub_hfs_strncasecmp): Integrate into ... + (grub_hfs_cmp_catkeys): ... this. Don't assume strings to be + zero-terminated, rely only on the strlen value. Fix comparison + of strings differing in length. + +2009-03-30 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): Check for zImage before + checking for abi version. Improve error messages on BIOS to notify + user about `linux16' command. + +2009-03-29 Vladimir Serbinenko + + Leak fixes + + * kern/disk.c (grub_disk_cache_store): Invalidate previous cache + in case of collision + * disk/scsi.c (grub_scsi_open): free scsi in case of error + +2009-03-29 Robert Millan + + * loader/i386/linux.c (grub_cmd_linux): Parse "vga=" parameter and + set `vid_mode' accordingly. + (grub_linux_boot): Process `vid_mode' and set video mode. + +2009-03-29 Robert Millan + + * util/grub.d/10_linux.in (linux_entry): New function. + Factorize generation of Linux boot entries. + +2009-03-29 Yoshinori K. Okuji + + Make the format of Environment Block plain text. The boot loader + part is not tested well yet. + + * util/grub-editenv.c (DEFAULT_ENVBLK_SIZE): New macro. + (buffer): Removed. + (envblk): Likewise. + (usage): Remove "info" and "clear". Add "unset". Update the + description of "set", as this does not delete variables any + longer. + (create_envblk_file): Complete rewrite. + (open_envblk_file): Likewise. + (cmd_info): Removed. + (cmd_list): Likewise. + (cmd_set): Likewise. + (cmd_clear): Likewise. + (list_variables): New function. + (write_envblk): Likewise. + (set_variables): Likewise. + (unset_variables): Likewise. + (main): Complete rewrite. + + * commands/loadenv.c (buffer): Removed. + (envblk): Likewise. + (open_envblk_file): New function. + (read_envblk_file): Complete rewrite. + (grub_cmd_load_env): Likewise. + (grub_cmd_list_env): Likewise. + (struct blocklist): New struct. + (free_blocklists): New function. + (check_blocklists): Likewise. + (write_blocklists): Likewise. + (grub_cmd_save_env): Complete rewrite. + + * include/grub/lib/envblk.h (GRUB_ENVBLK_SIGNATURE): Replaced with + a plain text signature. + (GRUB_ENVBLK_MAXLEN): Removed. + (struct grub_envblk): Complete rewrite. + (grub_envblk_find): Removed. + (grub_envblk_insert): Likewise. + (grub_envblk_open): New prototype. + (grub_envblk_set): Likewise. + (grub_envblk_delete): Put const to VALUE. + (grub_envblk_iterate): Put const to NAME and VALUE. + (grub_envblk_close): New prototype. + (grub_envblk_buffer): New inline function. + (grub_envblk_size): Likewise. + + * lib/envblk.c: Include grub/mm.h. + (grub_env_find): Removed. + (grub_envblk_open): New function. + (grub_envblk_close): Likewise. + (escaped_value_len): Likewise. + (find_next_line): Likewise. + (grub_envblk_insert): Removed. + (grub_envblk_set): New function. + (grub_envblk_delete): Complete rewrite. + (grub_envblk_iterate): Likewise. + +2009-03-28 Robert Millan + + * conf/i386-pc.rmk (pkglib_MODULES): Add `linux16.mod'. + (linux16_mod_SOURCES, linux16_mod_CFLAGS, linux16_mod_LDFLAGS): New + variables. Use 16-bit loader. + (linux_mod_SOURCES, linux_mod_CFLAGS, linux_mod_LDFLAGS): Use 32-bit + loader. + * kern/i386/loader.S (grub_linux_boot): Rename to ... + (grub_linux16_boot): ... this. Update all users. + * loader/i386/linux.c (grub_linux32_boot): Rename to ... + (grub_linux_boot): ... this. Update all users. + + * loader/i386/pc/linux.c (GRUB_MOD_INIT(linux)): Rename to ... + (GRUB_MOD_INIT(linux16)): ... this. Rename `linux' and `initrd' + commands to `linux16' and `initrd16'. + (GRUB_MOD_FINI(linux)): Rename to ... + (GRUB_MOD_FINI(linux16)): ... this. + +2009-03-24 Pavel Roskin + + * genmk.rb: Define ASM_FILE for *.S files for *.lst generation, + not just for compilation. + +2009-03-22 Vladimir Serbinenko + + Move multiboot helper out of kernel + + * conf/i386-pc.rmk (multiboot_mod_SOURCES): Add + `loader/i386/multiboot_helper.S'. + * conf/i386-coreboot.rmk: Likewise + * conf/i386-ieee1275.rmk: Likewise + + * kern/i386/loader.S: Move multiboot helpers from here... + * loader/i386/multiboot_helper.S: ...moved here + * include/grub/i386/loader.h: Move declarations of multiboot + helpers from here... + * include/grub/i386/multiboot.h: ...moved here + * loader/i386/multiboot.c: Added include of grub/cpu/multiboot.h + +2009-03-22 Yoshinori K. Okuji + + * kern/env.c (grub_env_context_open): Added an argument to specify + whether a new context inherits exported variables from current + one. This is useful when making a sandbox to interpret a config + file. + All callers updated. + + * include/grub/env.h (grub_env_context_open): Updated the prototype. + +2009-03-22 Yoshinori K. Okuji + + * kern/env.c (grub_env_context_close): Fix memory leaks. + +2009-03-22 Yoshinori K. Okuji + + * normal/main.c (grub_normal_execute): Added an argument + BATCH to specify if an interactive interface should be provided + after reading a config file. + All callers updated. + (read_command_list): Prevent being executed twice. + (read_fs_list): Likewise. + + * include/grub/normal.h (grub_normal_execute): Updated the + prototype. + +2009-03-22 Pavel Roskin + + * kern/powerpc/ieee1275/startup.S: Replace EXT_C(start) with + _start. + * kern/i386/pc/startup.S: Likewise. + * kern/i386/efi/startup.S: Likewise. + * kern/i386/ieee1275/startup.S: Likewise. + * kern/i386/coreboot/startup.S: Likewise. + * kern/x86_64/efi/startup.S: Likewise. + + * aclocal.m4 (grub_CHECK_START_SYMBOL): Remove. + * configure.ac: Don't call grub_CHECK_START_SYMBOL. + * kern/i386/pc/startup.S: Use _start instead of START_SYMBOL. + +2009-03-21 Vladimir Serbinenko + + Bugfixes in multiboot for bugs uncovered by solaris kernel. + + * loader/i386/multiboot_elfxx.c (grub_multiboot_load_elf): Corrected + limit detection. + Use vaddr of correct segment for entry_point. + +2009-03-21 Bean + + * commands/blocklist.c: Add include file , remove + and . + (grub_cmd_blocklist): Use the new command interface. + (GRUB_MOD_INIT): Likewise. + (GRUB_MOD_FINI): Likewise. + * commands/boot.c: Likewise. + * commands/cat.c: Likewise. + * commands/cmp.c: Likewise. + * commands/configfile.c: Likewise. + * commands/crc.c: Likewise. + * commands/echo.c: Likewise. + * commands/halt.c: Likewise. + * commands/handler.c: Likewise. + * commands/hdparm.c: Likewise. + * commands/help.c: Likewise. + * commands/hexdump.c: Likewise. + * commands/loadenv.c: Likewise. + * commands/ls.c: Likewise. + * commands/lsmmap.c: Likewise. + * commands/lspci.c: Likewise. + * commands/loadenv.c: Likewise. + * commands/read.c: Likewise. + * commands/reboot.c: Likewise. + * commands/search.c: Likewise. + * commands/sleep.c: Likewise. + * commands/test.c: Likewise. + * commands/usbtest.c: Likewise. + * commands/videotest.c: Likewise. + * commands/i386/cpuid.c: Likewise. + * commands/i386/pc/halt.c: Likewise. + * commands/i386/pc/play.c: Likewise. + * commands/i386/pc/pxecmd.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/i386/pc/vbetest.c: Likewise. + * commands/ieee1275/suspend.c: Likewise. + * disk/loopback.c: Likewise. + * font/font_cmd.c: Likewise. + * hello/hello.c: Likewise. + * loader/efi/appleloader.c: Likewise. + * loader/efi/chainloader.c: Likewise. + * loader/i386/bsd.c: Likewise. + * loader/i386/efi/linux.c: Likewise. + * loader/i386/ieee1275/linux.c: Likewise. + * loader/i386/linux.c: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * loader/i386/pc/linux.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Likewise. + * loader/multiboot_loader.c: Likewise. + * term/gfxterm.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/terminfo.c: Likewise. + + * term/i386/pc/vesafb.c: Removed . + * term/i386/pc/vga.c: Likewise. + * video/readers/jpeg.c: Likewise. + * video/readers/png.c: Likewise. + * video/readers/tga.c: Likewise. + + * util/grub-fstest (cmd_loopback): Removed. + (cmd_blocklist): Likewise. + (cmd_ls): Likewise. + (grub_register_command): Likewise. + (grub_unregister_command): Likewise. + (execute_command): Use grub_command_find to locate command and execute + it. + + * include/grub/efi/chainloader.h: Removed. + * loader/efi/chainloader_normal.c: Likewise. + * loader/i386/bsd_normal.c: Likewise. + * loader/i386/pc/chainloader_normal.c: Likewise. + * loader/i386/pc/multiboot_normal.c: Likewise. + * loader/linux_normal.c: Likewise. + * loader/multiboot_loader_normal.c: Likewise. + * loader/powerpc/ieee1275/linux_normal.c: Likewise. + + * gencmdlist.sh: Scan new registration command grub_register_extcmd + and grub_register_command_p1. + + * conf/common.rmk (grub_fstest_SOURCES): Add kern/list.c, + kern/command.c, lib/arg.c and commands/extcmd.c. + (pkglib_MODULES): Remove boot.mod, and minicmd.mod and extcmd.mod. + (minicmd_mod_SOURCES): New variable. + (minicmd_mod_CFLAGS): Likewise. + (minicmd_mod_LDFLAGS): Likewise. + (extcmd_mod_SOURCES): Likewise. + (extcmd_mod_CFLAGS): Likewise. + (extcmd_mod_LDFLAGS): Likewise. + (boot_mod_SOURCES): Removed. + (boot_mod_CFLAGS): Likewise. + (boot_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add kern/command.c and + kern/corecmd.c. + (kernel_img_HEADERS): Add command.h. + (grub_emu_SOURCES): Remove commands/boot.c and normal/arg.c, add + commands/minicmd.c, kern/command.c, kern/corecmd.c, commands/extcmd.c + and lib/arg.c. + (pkglib_MODULES): Change _linux.mod, _chain.mod, _bsd.mod and + _multiboot.mod as linux.mod, chain.mod, bsd.mod and multiboot.mod, + remove the corresponding normal mode command. + (normal_mod_SOURCES): Remove normal/arg.c. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-efi.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + + * include/grub/arg.h: Move from here ... + * include/grub/lib/arg.h: ... to here. + + * normal/arg.c: Move from here ... + * lib/arg.c: ... to here. + + * commands/extcmd.c: New file. + * commands/minicmd.c: Likewise. + * include/grub/command.h: Likewise. + * include/grub/extcmd.h: Likewise. + * kern/command.c: Likewise. + * kern/corecmd.c: Likewise. + + * kern/list.c (grub_list_iterate): Return int instead of void. + (grub_list_insert): New function. + (grub_prio_list_insert): Likewise. + + * kern/rescue.c (grub_rescue_command): Removed. + (grub_rescue_command_list): Likewise. + (grub_rescue_register_command): Likewise. + (grub_rescue_unregister_command): Likewise. + (grub_rescue_cmd_boot): Move to minicmd.c + (grub_rescue_cmd_help): Likewise. + (grub_rescue_cmd_info): Likewise. + (grub_rescue_cmd_boot): Likewise. + (grub_rescue_cmd_testload): Likewise. + (grub_rescue_cmd_dump): Likewise. + (grub_rescue_cmd_rmmod): Likewise. + (grub_rescue_cmd_lsmod): Likewise. + (grub_rescue_cmd_exit): Likewise. + (grub_rescue_print_devices): Moved to corecmd.c. + (grub_rescue_print_files): Likewise. + (grub_rescue_cmd_ls): Likewise. + (grub_rescue_cmd_insmod): Likewise. + (grub_rescue_cmd_set): Likewise. + (grub_rescue_cmd_unset): Likewise. + (attempt_normal_mode): Use grub_command_find to get normal module. + (grub_enter_rescue_mode): Use grub_register_core_commands to register + commands, remove grub_rescue_register_command calls. + + * normal/command.c (grub_register_command): Removed. + (grub_unregister_command): Likewise. + (grub_command_find): Likewise. + (grub_iterate_commands): Likewise. + (rescue_command): Likewise. + (export_command): Moved to corecmd.c. + (set_command): Removed. + (unset_command): Likewise. + (insmod_command): Likewise. + (rmmod_command): Likewise. + (lsmod_command): Likewise. + (grub_command_init): Likewise. + + * normal/completion.c (iterate_command): Use cmd->prio to check for + active command. + (complete_arguments): Use grub_extcmd_t structure to find options. + (grub_normal_do_completion): Change function grub_iterate_commands to + grub_command_iterate. + + * normal/execute.c (grub_script_execute_cmd): No need to parse + argument here. + + * normal/main.c (grub_dyncmd_dispatcher): New function. + (read_command_list): Register unload commands as dyncmd. + (grub_cmd_normal): Use new command interface, register rescue, + unregister normal at entry, register normal, unregister rescue at exit. + + * include/grub/list.h (grub_list_test_t): New type. + (grub_list_iterate): Return int instead of void. + (grub_list_insert): New function. + (GRUB_AS_NAMED_LIST_P): New macro. + (GRUB_AS_PRIO_LIST): Likewise. + (GRUB_AS_PRIO_LIST_P): Likewise. + (GRUB_PRIO_LIST_PRIO_MASK): New constant. + (GRUB_PRIO_LIST_FLAG_ACTIVE): Likewise. + (grub_prio_list): New structure. + (grub_prio_list_insert): New function. + (grub_prio_list_remove): New inline function. + + * include/grub/normal.h: Remove , add . + (GRUB_COMMAND_FLAG_CMDLINE): Moved to command.h. + (GRUB_COMMAND_FLAG_MENU): Likewise. + (GRUB_COMMAND_FLAG_BOTH): Likewise. + (GRUB_COMMAND_FLAG_TITLE): Likewise. + (GRUB_COMMAND_FLAG_NO_ECHO): Likewise. + (GRUB_COMMAND_FLAG_NO_ARG_PARSE): Removed. + (GRUB_COMMAND_FLAG_NOT_LOADED): Likewise. + (grub_command): Likewise. + (grub_register_command): Likewise. + (grub_command_find): Likewise. + (grub_iterate_commands): Likewise. + (grub_command_init): Likewise. + (grub_arg_parse): Likewise. + (grub_arg_show_help): Likewise. + + * include/grub/rescue.h (grub_rescue_register_command): Removed. + (grub_rescue_unregister_command): Likewise. + + * include/grub/i386/bsd.h: Remove grub_rescue_cmd_freebsd, + grub_rescue_cmd_openbsd, grub_rescue_cmd_netbsd, + grub_rescue_cmd_freebsd_loadenv and grub_rescue_cmd_freebsd_module. + + * include/grub/i386/efi/loader.h: Remove grub_rescue_cmd_linux and + grub_rescue_cmd_initrd. + * include/grub/i386/loader.h: Likewise. + * include/grub/x86_64/loader.h: Likewise. + + * include/grub/i386/pc/chainloader.h: Remove grub_chainloader_cmd. + +2009-03-21 Bean + + * util/hostdisk.c (read_device_map): Use grub_util_get_disk_size + instead of stat in mingw environment. + + * util/misc.c (grub_millisleep): Use Sleep in mingw environment. + + * aclocal.m4 (grub_CHECK_LINK_DIR): New function. + + * configure.ac: Use grub_CHECK_LINK_DIR to determine whether to use + AC_CONFIG_LINKS. + +2009-03-21 Bean + + * fs/ext2.c (grub_ext2_mount): Change errno to GRUB_ERR_BAD_FS for + out of range error. + +2009-03-18 Michel Dänzer + + * fs/ext2.c (grub_ext2_read_block): Take endianness into account when + checking inode flags for EXT4_EXTENTS_FLAG. + +2009-03-18 Robert Millan + + * loader/i386/linux.c: Include `' and + `'.. + (grub_linux_setup_video): New function. Loosely based on the EFI one. + (grub_linux32_boot): Attempt to configure video settings with + grub_linux_setup_video(). + (grub_rescue_cmd_linux): Set noreturn=0 in grub_loader_set, in order + to avoid grub_console_fini() which would step out of graphical mode + unconditionally. + +2009-03-14 Robert Millan + + Fix build on powerpc. + * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Add `handler.h'. + +2009-03-12 Vladimir Serbinenko + + * term/gfxterm.c (GRUB_MOD_FINI(term_gfxterm)): Correct name of + background image command. + +2009-03-12 Colin D Bennett + + * term/gfxterm.c (draw_cursor): Ensure character is redrawn. + (grub_gfxterm_putchar): Extract pairs of identical calls to + draw_cursor out of conditional blocks. + +2009-03-11 Pavel Roskin + + * fs/hfs.c (grub_hfs_strncasecmp): New function. + (grub_hfs_cmp_catkeys): Use HFS specific string comparison. + +2009-03-11 Robert Millan + + * loader/i386/multiboot_elfxx.c + (CONCAT(grub_multiboot_load_elf, XX)): Do not reject ET_DYN files. + +2009-03-11 Felix Zielcke + + * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add `kern/list.c' and + `kern/handler.c'. + +2009-03-11 Robert Millan + + * loader/i386/multiboot.c (code_size): New variable. + (grub_multiboot): Define offsets by adding to `code_size' rather + than subtracting from `grub_multiboot_payload_size'. Provide + 4-byte alignment to MBI and others by increasing + `boot_loader_name_length' appropriately. + + * loader/i386/multiboot_elfxx.c + (CONCAT(grub_multiboot_load_elf, XX)): Initialize `code_size'. + +2009-03-09 Felix Zielcke + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Remove duplicated + `fs/ext2.c'. + +2009-03-08 Robert Millan + + Make loader/i386/linux.c usable on i386-pc again. + + * kern/i386/pc/init.c (grub_machine_init): Disable addition of low + memory to heap. + * loader/i386/linux.c [GRUB_MACHINE_PCBIOS] (allocate_pages): Remove + `#error' stanza. + +2009-03-07 Bean + + * loader/i386/efi/linux.c (grub_rescue_cmd_initrd): Fix a bug in initrd + allocation. + +2009-03-06 Robert Millan + + Fix display issue on terminals with screen size other than 80x25 + (e.g. gfxterm with resolution higher than 640x480). + + * normal/main.c (grub_normal_init_page): Display title text in a + position relative to the center of the terminal instead of relying + on a hardcoded offset. + +2009-03-04 Robert Millan + + Filter /etc/grub.d/10_* so that only add-ons for native kernels are + installed. + + * Makefile.in (host_kernel): New variable. + * conf/common.rmk (grub-mkconfig_SCRIPTS): Conditionalize all 10_*.in + scripts instead of just the windows one. + * configure.ac: Initialize and AC_SUBST `host_kernel'. + +2009-03-04 Felix Zielcke + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `kern/list.c' and + `kern/handler.c'. + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + +2009-03-04 Felix Zielcke + + * partmap/pc.c (pc_partition_map_iterate): Skip over invalid BSD partitions + or if there's no space for the disk label and print the partition number on a + invalid magic. + +2009-03-04 Felix Zielcke + + * util/misc.c: Include . + (grub_millisleep): New function. + +2009-03-04 Bean + + * configure.ac: Only test -mcmodel=large option in x86_64-efi, also add + another option -mno-red-zone. + + * commands/handler.c: Change module description. + + * kern/handler.c: Add missing space at the end of description line. + + * kern/list.c: Likewise. + +2009-03-03 Robert Millan + + Move more components to the relocation area, and fix mbi pointer + handling to use the destination rather than the origin (thanks to + Vladimir Serbinenko for spotting). + + * loader/i386/multiboot.c (mbi_dest): New variable. + (grub_multiboot_boot): Use `mbi_dest' instead of `mbi'. + (grub_multiboot): Put cmdline, boot_loader_name and mbi in the + relocation area. + +2009-03-01 Bean + + * include/grub/efi/api.h (GRUB_EFI_MPS_TABLE_GUID): New constant. + (GRUB_EFI_ACPI_TABLE_GUID): Likewise. + (GRUB_EFI_ACPI_20_TABLE_GUID): Likewise. + (GRUB_EFI_SMBIOS_TABLE_GUID): Likewise. + + * loader/i386/efi/linux.c (acpi_guid): New variable. + (acpi_guid): Likewise. + (EBDA_SEG_ADDR): New constant. + (LOW_MEM_ADDR): Likewise. + (FAKE_EBDA_SEG): Likewise. + (fake_bios_data): New function. + (grub_linux_boot): Call fake_bios_data. + +2009-03-01 Bean + + * commands/terminal.c: Removed. + + * commands/handler.c: New file. + + * include/grub/list.h: Likewise. + + * include/grub/handler.h: Likewise. + + * kern/list.c: Likewise. + + * kern/handler.c: Likewise. + + * kern/term.h: Include header file . + (grub_term_input): Move next field to the beginning. + (grub_term_output): Likewise. + (grub_term_input_class): New variable. + (grub_term_output_class): Likewise. + (grub_term_register_input): Changed to inline function. + (grub_term_register_output): Likewise. + (grub_term_unregister_input): Likewise. + (grub_term_unregister_output): Likewise. + (grub_term_set_current_input): Likewise. + (grub_term_set_current_output): Likewise. + (grub_term_get_current_input): Likewise. + (grub_term_get_current_output): Likewise. + (grub_term_iterate_input): Removed. + (grub_term_iterate_output): Likewise. + + * kern/term.c (grub_term_list_input): Removed. + (grub_term_list_output): Likewise. + (grub_term_input_class): New variable. + (grub_term_output_class): Likewise. + (grub_cur_term_input): Change variable as macro. + (grub_cur_term_output): Likewise. + (grub_term_register_input): Removed. + (grub_term_register_output): Likewise. + (grub_term_unregister_input): Likewise. + (grub_term_unregister_output): Likewise. + (grub_term_set_current_input): Likewise. + (grub_term_set_current_output): Likewise. + (grub_term_iterate_input): Likewise. + (grub_term_iterate_output): Likewise. + (grub_term_get_current_input): Likewise. + (grub_term_get_current_output): Likewise. + + * util/grub-editenv.c: Include header file . + (grub_term_get_current_input): Removed. + (grub_term_get_current_output): Likewise. + (grub_term_input_class): New variable. + (grub_term_output_class): Likewise. + + * util/grub-fstest.c (grub_term_get_current_input): Removed. + (grub_term_get_current_output): Likewise. + (grub_term_input_class): New variable. + (grub_term_output_class): Likewise. + + * util/grub-probe.c (grub_term_get_current_input): Removed. + (grub_term_get_current_output): Likewise. + (grub_term_input_class): New variable. + (grub_term_output_class): Likewise. + + * util/i386/pc/grub-setup.c (grub_term_get_current_input): Removed. + (grub_term_get_current_output): Likewise. + (grub_term_input_class): New variable. + (grub_term_output_class): Likewise. + + * conf/common.rmk (pkglib_MODULES): Replace terminal with handler. + (terminal_mod_SOURCES): Likewise. + (terminal_mod_CFLAGS): Likewise. + (terminal_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Replace terminal.c with + handler.c. + (kernel_img_SOURCES): Add list.c and handler.c. + (kernel_img_HEADERS): Add list.h and handler.h. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Replace terminal.c with + handler.c. + (kernel_mod_SOURCES): Add list.c and handler.c. + (kernel_mod_HEADERS): Add list.h and handler.h. + + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Replace terminal.c with + handler.c. + (kernel_elf_SOURCES): Add list.c and handler.c. + (kernel_elf_HEADERS): Add list.h and handler.h. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Replace terminal.c with + handler.c. + (kernel_elf_SOURCES): Add list.c and handler.c. + (kernel_elf_HEADERS): Add list.h and handler.h. + + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Replace terminal.c with + handler.c. + (kernel_mod_SOURCES): Add list.c and handler.c. + (kernel_mod_HEADERS): Add list.h and handler.h. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Replace terminal.c with + handler.c. + (kernel_elf_SOURCES): Add list.c and handler.c. + (kernel_elf_HEADERS): Add list.h and handler.h. + +2009-02-27 Robert Millan + + Factorize elf32 / elf64 code in Multiboot loader. This will + prevent it from getting out of sync again. + + * loader/i386/multiboot.c (grub_multiboot_is_elf32, + grub_multiboot_load_elf32, grub_multiboot_is_elf64, + grub_multiboot_load_elf64): Move from here ... + * loader/i386/multiboot_elfxx.c (grub_multiboot_is_elf, + grub_multiboot_load_elf): ... to here (new file). + +2009-02-27 Robert Millan + + * util/grub.d/10_linux.in: Rename "single-user mode" to + "recovery mode". + +2009-02-27 Vladimir Serbinenko + + Don't leak in SCSI code. + * disk/scsi.c (grub_scsi_close): free `scsi'. + +2009-02-27 Robert Millan + + * loader/i386/pc/multiboot.c: Move from here ... + * loader/i386/multiboot.c: ... to here. Update all users. + +2009-02-27 Robert Millan + + Patch from Alexandre Bique + * util/i386/pc/grub-setup.c (setup): Fix directory path. + +2009-02-27 Krzysztof Smiechowicz + + * fs/sfs.c (grub_sfs_read_extent): Correction to traversing extent + b-tree. + +2009-02-27 Robert Millan + + * kern/misc.c (grub_strtoull): Fix bug (it mistakenly parsed the + `0x' qualifier as 0 when base is specified as parameter). + +2009-02-24 Bean + + * configure.ac: Check for -mcmodel=large in x86_64 target. + + * include/grub/efi/api.h (efi_call_10): New macro. + (efi_wrap_10): New function. + + * include/grub/efi/pe32.h (GRUB_PE32_REL_BASE_HIGH): New macro. + (GRUB_PE32_REL_BASED_HIGH): Likewise. + (GRUB_PE32_REL_BASED_LOW): Likewise. + (GRUB_PE32_REL_BASED_HIGHLOW): Likewise. + (GRUB_PE32_REL_BASED_HIGHADJ): Likewise. + (GRUB_PE32_REL_BASED_MIPS_JMPADDR): Likewise. + (GRUB_PE32_REL_BASED_SECTION): Likewise. + (GRUB_PE32_REL_BASED_REL): Likewise. + (GRUB_PE32_REL_BASED_IA64_IMM64): Likewise. + (GRUB_PE32_REL_BASED_DIR64): Likewise. + (GRUB_PE32_REL_BASED_HIGH3ADJ): Likewise. + + * kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Fixed relocation + issue. + + * kern/x86_64/efi/callwrap.S (efi_wrap_6): Bug fix. + (efi_wrap_10): New function. + + * kern/x86_64/efi/startup.S (codestart): Use relative addressing. + + * loader/efi/appleloader.c (devpath_5): Add support for late 2008 + MB/MBP model (NV chipset). + (devdata_devs): Add devpath_5 to the list. + + * load/i386/efi/linux.c (video_base): Remove variable. + (RGB_MASK): New macro. + (RGB_MAGIC): Likewise. + (LINE_MIN): Likewise. + (LINE_MAX): Likewise. + (FBTEST_STEP): Likewise. + (FBTEST_COUNT): Likewise. + (fb_list): New variable. + (grub_find_video_card): Remove function. + (find_framebuf): New function. + (grub_linux_setup_video): Use find_framebuf to get frame buffer and + line length. + + * util/i386/efi/grub-mkimage.c (grub_reloc_section): Fix relocation + problem for x86_64. + +2009-02-22 Vesa Jääskeläinen + + Patch #25624 by Kevin Lacquement . + + * util/grub-mkconfig.in: Use ${grub_mkdevicemap} instead of hard + coding tool name. + +2009-02-22 Robert Millan + + * include/multiboot.h (MULTIBOOT_INFO_ALIGN): New macro. + * loader/i386/pc/multiboot.c (grub_multiboot): Include the MBI + in our relocation, instead of using it directly from heap. Also + use `MULTIBOOT_INFO_ALIGN' to ensure it is aligned. + +2009-02-21 Robert Millan + + Implement USB keyboard support (based on patch by Marco Gerards) + + * conf/i386-pc.rmk (pkglib_MODULES): Add `usb_keyboard.mod'. + (usb_keyboard_mod_SOURCES, usb_keyboard_mod_CFLAGS) + (usb_keyboard_mod_LDFLAGS): New variables. + + * term/usb_keyboard.c: New file. + +2009-02-14 Vladimir Serbinenko + + Corrected wrong declaration + + * kern/disk.c: corrected declaration of grub_disk_ata_pass_through. + +2009-02-14 Christian Franke + + * commands/lspci.c (grub_pci_classes): Add `SATA Controller'. + (grub_lspci_iter): Print class code and programming interface byte. + +2009-02-14 Christian Franke + + * gendistlist.sh: Ignore `.svn' directories. + +2009-02-14 Felix Zielcke + + * fs/fat.c: Add 2009 to Copyright line. + +2009-02-14 Christian Franke + + * commands/hdparm.c: New file. Provides `hdparm' command + which sends ATA commands via grub_disk_ata_pass_through (). + + * conf/i386-pc.rmk: Add ata_pthru.mod and hdparm.mod. + + * disk/ata.c: Include . Move + and to include/grub/ata.h. + (enum grub_ata_addressing_t): Move to include/grub/ata.h. + (GRUB_CDROM_SECTOR_SIZE): Remove. + (GRUB_ATA_*): Move to include/grub/ata.h. + (GRUB_ATAPI_*): Likewise. + (enum grub_ata_commands): Likewise. + (enum grub_ata_timeout_milliseconds): Likewise. + (struct grub_ata_device): Likewise. + (grub_ata_regset): Likewise. + (grub_ata_regget): Likewise. + (grub_ata_regset2): Likewise. + (grub_ata_regget2): Likewise. + (grub_ata_check_ready): Likewise. + (grub_ata_wait_not_busy): Remove static, exported in + include/grub/ata.h. + (grub_ata_wait_drq): Likewise. + (grub_ata_pio_read): Likewise. + + * disk/ata_pthru.c: New file. Provides grub_ata_pass_through () + function for hdparm.mod. + + * include/grub/ata.h: New file, contains declarations from + disk/ata.c. + (enum grub_ata_commands): Add new commands for commands/hdparm.c. + + * include/grub/disk.h (grub_disk_ata_pass_through_parms): New struct. + (grub_disk_ata_pass_through): New exported variable. + + * kern/disk.c (grub_disk_ata_pass_through): New variable. + +2009-02-13 Colin D Bennett + + Support multiple fallback entries, and provide an API to support + executing default+fallback menu entries. Renamed the `terminal' menu + viewer to `text'. + + * include/grub/normal.h (grub_normal_text_menu_viewer): New global + variable declaration. + (grub_menu_execute_callback): New structure declaration. + (grub_menu_execute_callback_t): New typedef. + (grub_menu_execute_with_fallback): New function declaration. + (grub_menu_get_entry): Likewise. + (grub_menu_get_timeout): Likewise. + (grub_menu_set_timeout): Likewise. + + * normal/main.c (GRUB_MOD_INIT(normal)): Refer to new variable name. + + * normal/menu.c (grub_wait_after_message): Moved to + `normal/menu_text.c'. + (draw_border): Likewise. + (print_message): Likewise. + (print_entry): Likewise. + (print_entries): Likewise. + (grub_menu_init_page): Likewise. + (get_entry_number): Likewise. + (print_timeout): Likewise. + (run_menu): Likewise. + (grub_menu_execute_entry): Likewise. + (show_text_menu): Likewise. + (get_and_remove_first_entry_number): New function. + (grub_menu_execute_with_fallback): Likewise. + (get_entry): Renamed to ... + (grub_menu_get_entry): .. this and made it global. + (get_timeout): Renamed to ... + (grub_menu_get_timeout): ... this and made it global. + (set_timeout): Renamed to ... + (grub_menu_set_timeout): ... this and made it global. + (grub_normal_terminal_menu_viewer): Renamed to ... + (grub_normal_text_menu_viewer): ... this. + + * normal/menu_text.c: New file. Extracted text-menu-specific code + from normal/menu.c. + + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add `normal/menu_text.c'. + (normal_mod_SOURCES): Likewise. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * conf/i386-pc.rmk, (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + +2009-02-11 Robert Millan + + * util/grub.d/00_header.in: Update old reference to `font' command. + +2009-02-10 Felix Zielcke + + * fs/fat.c (grub_fat_mount): Fix wrong comparison. + + Based on patch from Javier Martín. + +2009-02-09 Felix Zielcke + + * conf/common.rmk (grub_probe_SOURCES): Move fs/ext2.c before fs/fat.c + to avoid false positives with FAT. + (grub_fstest_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + +2009-02-09 Felix Zielcke + + * fs/fat.c (grub_fat_mount): Try to avoid false positives by checking + bpb.version_specific.fat12_or_fat16.fstype and + bpb.version_specific.fat32.fstype. + +2009-02-08 Robert Millan + + * fs/tar.c: Replace "fs/cpio.c" with "cpio.c". + +2009-02-08 Robert Millan + + * Makefile.in (host_os, host_cpu): New variables. + (target_os): Remove. Update all users. + +2009-02-08 Marco Gerards + + * Makefile.in (enable_grub_emu_usb): New variable. + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/scsi.c'. + (grub_emu_SOURCES) [grub_emu_SOURCES]: Add `disk/usbms.c', + `util/usb.c', `bus/usb/usb.c' and `commands/usbtest.c'. + (grub_emu_LDFLAGS): Add `$(LIBUSB)'. + (pkglib_MODULES): Add `usb.mod', `uhci.mod', `ohci.mod', + `usbtest.mod' and `usbms.mod'. + (usb_mod_SOURCES, usb_mod_CFLAGS, usb_mod_LDFLAGS) + (usbtest_mod_SOURCES, usbtest_mod_CFLAGS, usbtest_mod_LDFLAGS) + (uhci_mod_SOURCES, uhci_mod_CFLAGS, uhci_mod_LDFLAGS, + (ohci_mod_SOURCES, ohci_mod_CFLAGS, ohci_mod_LDFLAGS) + (usbms_mod_SOURCES, usbms_mod_CFLAGS, usbms_mod_LDFLAGS): New + variables. + + * disk/usbms.c: New file. + + * include/grub/usb.h: Likewise. + + * include/grub/usbtrans.h: Likewise. + + * include/grub/usbdesc.h: Likewise. + + * bus/usb/usbtrans.c: Likewise. + + * bus/usb/ohci.c: Likewise. + + * bus/usb/uhci.c: Likewise. + + * bus/usb/usbhub.c: Likewise. + + * bus/usb/usb.c: Likewise. + + * commands/usbtest.c: Likewise. + + * util/usb.c: Likewise. + + * include/grub/err.h (grub_err_t): Add `GRUB_ERR_IO'. + + * configure.ac: Test for libusb presence. + + * util/grub-emu.c (main) [HAVE_LIBUSB_H]: Call `grub_libusb_init'. + +2009-02-08 Vesa Jääskeläinen + + * kern/mm.c: Add more comments. + +2009-02-08 Robert Millan + + Patch from Javier Martín. + * fs/ext2.c (EXT2_DRIVER_SUPPORTED_INCOMPAT): Add + `EXT4_FEATURE_INCOMPAT_FLEX_BG'. + +2009-02-08 Robert Millan + + * fs/cpio.c: Split tar functionality to ... + * fs/tar.c: ... here (new file). Update all users. + +2009-02-07 Robert Millan + + * fs/ext2.c (grub_ext2_mount): Avoid mounting filesystems with + backward-incompatible features. + + Based on patch from Javier Martín, with some adjustments. + +2009-02-07 Michael Scherer + + * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive. + +2009-02-07 Robert Millan + + * conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move + position of `disk/lvm.c' to ensure grub_init_all() always picks it + after the RAID stuff. + +2009-02-05 Vesa Jääskeläinen + + Fixes problem when running vbetest command as reported by + Vladimir Serbinenko . + + * (grub_vbe_set_video_mode): Fixed problem with text modes. + +2009-02-04 Felix Zielcke + + util/getroot.c (grub_util_get_grub_dev): Add support for /dev/mdNpN and + /dev/md/NpN style mdraid devices. + +2009-02-03 Felix Zielcke + + * util/unifont2pff.rb: Remove. + +2009-02-03 Felix Zielcke + + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add a missing trailing + `#'. + +2009-02-03 Felix Zielcke + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `normal/menu_viewer.c'. + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + +2009-02-02 Christian Franke + + * lib/hexdump.c (hexdump): Print at most 3 lines if data is identical. + +2009-02-01 Felix Zielcke + + * INSTALL: Note that we now require at least autoconf 2.59 and + that LZO is optional. + +2009-02-01 Vesa Jääskeläinen + + Base on patch on bug #24154 created by Tomas Tintera + . + + * video/i386/pc/vbe.c (grub_video_vbe_scroll): Fix downward scrolling. + +2009-02-01 Vesa Jääskeläinen + + Based on patch on bug #25318 created by Bernhard Rosenkraenzer + . + + * normal/parser.y (script_init): Add missing semicolon. + +2009-01-31 Colin D Bennett + + * normal/main.c: Add include to grub/menu_viewer.h. + (free_menu_entry_classes): Added. + (grub_normal_menu_addentry): Added class property handling. + (grub_normal_execute): Changed to use new menu viewer for menu viewing. + (GRUB_MOD_INIT(normal)): Added register for text based menu viewer. + + * normal/menu_viewer.c: New file. + + * normal/menu.c (run_menu_entry): Renamed to ... + (grub_menu_execute_entry): ... this and made it as global. + (grub_menu_run): Renamed to ... + (show_text_menu): ... this and made it local. + (show_text_menu): Adapt to new function names. + (grub_normal_terminal_menu_viewer): New global variable. + + * include/grub/menu.h: New file. + + * include/grub/menu_viewer.h: New file. + + * include/grub/normal.h: Added include to grub/menu.h. + (grub_menu_entry): Moved to include/grub/menu.h. + (grub_menu_entry_t): Likewise. + (grub_menu): Likewise. + (grub_menu_t): Likewise. + (grub_normal_terminal_menu_viewer): Added. + (grub_menu_execute_entry): Likewise. + (grub_menu_run): Removed. + + * DISTLIST: Added include/grub/menu.h. + Added include/grub/menu_viewer.h. + Added normal/menu_viewer.c. + +2009-01-31 Vesa Jääskeläinen + + * normal/execute.c (grub_script_execute_menuentry): Changed to use + arglist for menutitle arguments. + + * normal/main.c (grub_normal_menu_addentry): Likewise. + + * normal/parser.y (menuentry): Likewise. + + * normal/script.c (grub_script_create_cmdmenu): Likewise. + + * include/grub/script.h (grub_script_cmd_menuentry): Likewise. + (grub_script_create_cmdmenu): Likewise. + + * include/grub/normal.h (grub_normal_menu_addentry): Likewise. + + * conf/i386-pc.rmk (normal_mod_SOURCES): Adapt Colin D Bennett's + changes. + + * conf/x86_64-efi.rmk (normal_mod_SOURCES): Likewise. + + * conf/i386-coreboot.rmk (normal_mod_SOURCES): Likewise. + + * conf/i386-efi.rmk (normal_mod_SOURCES): Likewise. + + * conf/i386-ieee1275.rmk (normal_mod_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (normal_mod_SOURCES): Likewise. + + * conf/sparc64-ieee1275.rmk (normal_mod_SOURCES): Likewise. + +2009-01-30 Christian Franke + + * normal/arg.c (grub_arg_show_help): Add indentation if '\n' appears + in option help text. + +2009-01-27 Pavel Roskin + + * disk/fs_uuid.c (search_fs_uuid): Ignore case of the UUID. + +2009-01-27 Vesa Jääskeläinen + + * commands/lsmmap.c: Add include to grub/machine/memory.h. + + * fs/i386/pc/pxe.c (grub_pxefs_open): Fix sign problem. + + * term/i386/pc/at_keyboard.c (GRUB_MOD_FINI(at_keyboard)): Use proper + unregister function. + +2009-01-27 Vesa Jääskeläinen + + * disk/scsi.c (grub_scsi_read): Fix sign problem. + + * term/i386/pc/vga_text.c (grub_vga_text_init_fini). Fix declaration. + + * util/grub-mkfont.c (usage): Fix typo. + + * util/elf/grub-mkimage.c (load_modules): Fix warning. + +2009-01-26 Daniel Mierswa + + * fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes. + + * commands/search.c (search_fs_uuid): Ignore case of the UUID. + + * kern/misc.c (grub_strcasecmp): New function. + (grub_strcasecmp): Use grub_size_t instead of int for length. + Fix return value. + * include/grub/misc.h: Update function prototypes. + +2009-01-26 Robert Millan + + * configure.ac: Fix cross-compilation check. + +2009-01-22 Christian Franke + + * kern/misc.c (grub_vsprintf): Fix size and termination of `format2' + (precision) digit string. Allow `.format2' without `format1' (width). + Limit input chars for `%s' output to `format2' if specified. This is + compatible with standard printf (). + +2009-01-22 Christian Franke + + * disk/ata.c (grub_ata_wait_status): Replace by ... + (grub_ata_wait_not_busy): ... this function. Checks only BSY bit, + other status bits may be invalid while BSY is asserted. + (grub_ata_check_ready): New function. + (grub_ata_cmd): Removed. + (grub_ata_wait_drq): New function. + (grub_ata_strncpy): Remove inline. + (grub_ata_pio_read): Reduce to actual block transfer. BSY wait + and error check now done by grub_ata_wait_drq (). + (grub_ata_pio_write): Likewise. + (grub_atapi_identify): Set DEV before check for !BSY. Use + grub_ata_wait_drq () to wait for data. + (grub_ata_device_initialize): Add status register check to + detect missing SATA slave devices. Add debug messages. + (grub_atapi_wait_drq): Use grub_ata_wait_not_busy (). + (grub_atapi_packet): Set DEV before check for !BSY. Replace + transfer loop by grub_ata_pio_write (). + (grub_ata_identify): Set DEV before check for !BSY. Use + grub_ata_wait_drq () to wait for data. + (grub_ata_setaddress): Set DEV before check for !BSY. + (grub_ata_readwrite): Remove duplicate code, handle batch/rest and + read/write in one loop. Fix invalid command on write. Fix incomplete + command on (size % batch) == 0. Add missing error check after write of + last block. Add debug messages. + (grub_atapi_read): Replace transfer loop by grub_ata_pio_read (). + +2009-01-19 Christian Franke + + * disk/ata.c (GRUB_ATAPI_REG_*): New defines. + (GRUB_ATAPI_IREASON_*): Likewise. + (grub_ata_pio_write): Fix timeout error return. + (grub_atapi_identify): Add grub_ata_wait () after cmd. + (grub_atapi_wait_drq): New function. + (grub_atapi_packet): New parameter `size'. + Use grub_atapi_wait_drq () and direct write instead of + grub_ata_pio_write (). + (grub_atapi_read): Replace grub_ata_pio_read () by a loop which + reads the number of bytes requested by the device for each DRQ + assertion. + (grub_atapi_write): Remove old implementation, return not + implemented instead. + +2009-01-19 Christian Franke + + * disk/scsi.c (grub_scsi_read10): Use scsi->blocksize instead + of 512 to calculate data size. + (grub_scsi_read12): Likewise. + (grub_scsi_write10): Likewise. + (grub_scsi_write12): Likewise. + (grub_scsi_read): Adjust size according to blocksize. + Add checks for invalid blocksize and unaligned transfer. + +2009-01-19 Vesa Jääskeläinen + + * font/font.c (grub_font_loader_init): Re-position unknown glyph. + + * term/gfxterm.c (write_char): Fix background rendering for wide + width glyphs. + +2009-01-19 Robert Millan + + * config.guess: Update to latest version from config git. + * config.sub: Likewise. + +2009-01-17 Felix Zielcke + + * Makefile.in: Change font compilation to use new grub-mkfont instead + of java version. + + * util/fonttool/src/org/gnu/grub/fonttool/BDFLoader.java: Remove. + * util/fonttool/src/org/gnu/grub/fonttool/CharDefs.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/Converter.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/Font.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/Glyph.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/PFF2Sections.java: Likewise. + * util/fonttool/src/org/gnu/grub/fonttool/PFF2Writer.java: Likewise. + +2009-01-16 Christian Franke + + * disk/ata.c (enum grub_ata_commands): Remove EXEC_DEV_DIAGNOSTICS. + (enum grub_ata_timeout_milliseconds): New enum. + (grub_ata_wait_status): Add parameter milliseconds. + (grub_ata_cmd): Remove variable `err'. Remove wait for !DRQ to allow + recovery from timed-out commands. + (grub_ata_pio_read): Add parameter milliseconds. Fix error return, + return grub_errno instead of REG_ERROR. + (grub_ata_pio_write): Add parameter milliseconds. + (grub_atapi_identify): Fix size of ATAPI IDENTIFY sector. + Pass milliseconds to grub_ata_wait_status () and + grub_ata_pio_read (). + (grub_atapi_packet): Pass milliseconds to grub_ata_pio_write (). + (grub_ata_identify): Remove variable `ataerr'. Pass milliseconds to + grub_ata_wait_status (). Fix IDENTIFY timeout check. + (grub_ata_device_initialize): Remove EXECUTE DEVICE DIAGNOSTICS. + It is not suitable for device detection, because DEV bit is ignored, + the command may run too long, and not all devices set the signature + properly. + (grub_ata_pciinit): Clear grub_errno before grub_ata_device_initialize (). + (grub_ata_setaddress): Pass milliseconds to grub_ata_wait_status (). + Fix device selection, DEV bit must be set first to address the registers + of the correct device. + (grub_ata_readwrite): Pass milliseconds to grub_ata_wait_status () and + grub_ata_pio_read/write (). + (grub_atapi_read): Pass milliseconds to grub_ata_pio_read (). + (grub_atapi_write): Pass milliseconds to grub_ata_pio_write (). + +2009-01-13 Carles Pina i Estany + + * util/grub-editenv.c (main): Use fseeko(), not fseek(). + +2009-01-13 Bean + + * util/grub-mkfont.c (write_font): forget to remove some debug code. + +2009-01-13 Bean + + * Makefile.in: (enable_grub_mkfont): New variable. + (freetype_cflags): Likewise. + (freetype_libs): Likewise. + + * common.rmk (bin_UTILITIES): Add `grub-mkfont' if requested. + (grub_mkfont_SOURCES): New variable. + (grub_mkfont_CFLAGS): Likewise. + (grub_mkfont_LDFLAGS): Likewise. + + * configure.ac (--enable-grub-mkfont): New option. Check for freetype2 + library if `--enable-grub-mkfont' is requested. + (enable_grub_mkfont): New variable. + (freetype_cflags): Likewise. + (freetype_libs): Likewise. + + * util/grub-mkfont.c: New file. + +2009-01-12 Christian Franke + + * disk/ata.c (grub_ata_pciinit): Fix bit numbers of compatibility + mode check. Fix setting of compat_use[]. + +2009-01-10 Robert Millan + + Update a few copyright years which we forgot to do in 2008 (only for + files whose changes made in 2008 were copyright-significant) + + * Makefile.in: Add 2008 to Copyright line. + * disk/ieee1275/ofdisk.c: Likewise. + * disk/efi/efidisk.c: Likewise. + * kern/dl.c: Likewise. + * kern/sparc64/ieee1275/init.c: Likewise. + * kern/mm.c: Likewise. + * kern/efi/mm.c: Likewise. + * boot/i386/pc/boot.S: Likewise. + * genfslist.sh: Likewise. + * fs/iso9660.c: Likewise. + * fs/hfs.c: Likewise. + * fs/jfs.c: Likewise. + * fs/minix.c: Likewise. + * fs/ufs.c: Likewise. + * gensymlist.sh.in: Likewise. + * genkernsyms.sh.in: Likewise. + * include/grub/misc.h: Likewise. + * include/grub/types.h: Likewise. + * include/grub/symbol.h: Likewise. + * include/grub/elf.h: Likewise. + * include/grub/kernel.h: Likewise. + * include/grub/disk.h: Likewise. + * include/grub/dl.h: Likewise. + * include/grub/i386/linux.h: Likewise. + * include/grub/i386/pc/biosdisk.h: Likewise. + * include/grub/efi/api.h: Likewise. + * include/grub/efi/pe32.h: Likewise. + * include/grub/util/misc.h: Likewise. + * normal/execute.c: Likewise. + * normal/arg.c: Likewise. + * normal/completion.c: Likewise. + * normal/lexer.c: Likewise. + * normal/parser.y: Likewise. + * normal/misc.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/hexdump.c: Likewise. + * commands/terminal.c: Likewise. + * commands/ls.c: Likewise. + * commands/help.c: Likewise. + * partmap/pc.c: Likewise. + * loader/efi/chainloader.c: Likewise. + * loader/multiboot_loader.c: Likewise. + * loader/i386/pc/multiboot2.c: Likewise. + * term/efi/console.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * util/lvm.c: Likewise. + * util/console.c: Likewise. + * util/i386/efi/grub-mkimage.c: Likewise. + * util/raid.c: Likewise. + +2009-01-06 Vesa Jääskeläinen + + * commands/videotest.c: Removed include to grub/machine/memory.h. + + * conf/i386-pc.rmk (pkglib_MODULES): Removed video.mod, gfxterm.mod, + videotest.mod, bitmap.mod, tga.mod, jpeg.mod, png.mod. + (video_mod_SOURCES): Removed. + (video_mod_CFLAGS): Likewise. + (video_mod_LDFLAGS): Likewise. + (gfxterm_mod_SOURCES): Likewise. + (gfxterm_mod_CFLAGS): Likewise. + (gfxterm_mod_LDFLAGS): Likewise. + (videotest_mod_SOURCES): Likewise. + (videotest_mod_CFLAGS): Likewise. + (videotest_mod_LDFLAGS): Likewise. + (bitmap_mod_SOURCES): Likewise. + (bitmap_mod_CFLAGS): Likewise. + (bitmap_mod_LDFLAGS): Likewise. + (tga_mod_SOURCES): Likewise. + (tga_mod_CFLAGS): Likewise. + (tga_mod_LDFLAGS): Likewise. + (jpeg_mod_SOURCES): Likewise. + (jpeg_mod_CFLAGS): Likewise. + (jpeg_mod_LDFLAGS): Likewise. + (png_mod_SOURCES): Likewise. + (png_mod_CFLAGS): Likewise. + (png_mod_LDFLAGS): Likewise. + + * conf/common.rmk (pkglib_MODULES): Added video.mod, videotest.mod, + bitmap.mod, tga.mod, jpeg.mod, png.mod, font.mod, gfxterm.mod + (video_mod_SOURCES): Added. + (video_mod_CFLAGS): Likewise. + (video_mod_LDFLAGS): Likewise. + (videotest_mod_SOURCES): Likewise. + (videotest_mod_CFLAGS): Likewise. + (videotest_mod_LDFLAGS): Likewise. + (bitmap_mod_SOURCES): Likewise. + (bitmap_mod_CFLAGS): Likewise. + (bitmap_mod_LDFLAGS): Likewise. + (tga_mod_SOURCES): Likewise. + (tga_mod_CFLAGS): Likewise. + (tga_mod_LDFLAGS): Likewise. + (jpeg_mod_SOURCES): Likewise. + (jpeg_mod_CFLAGS): Likewise. + (jpeg_mod_LDFLAGS): Likewise. + (png_mod_SOURCES): Likewise. + (png_mod_CFLAGS): Likewise. + (png_mod_LDFLAGS): Likewise. + (gfxterm_mod_SOURCES): Likewise. + (gfxterm_mod_CFLAGS): Likewise. + (gfxterm_mod_LDFLAGS): Likewise. + + * term/gfxterm.c: Removed include to grub/machine/memory.h, + grub/machine/console.h. + +2009-01-04 Jerone Young + + Make on screen instructions clearer + + Based on patch created by Jidanni + + * normal/menu.c: print clearer instructions on the screen + +2009-01-02 Colin D Bennett + + New font engine. + + Additional changes by Vesa Jääskeläinen to adapt to + build system and fixed gfxterm.c to work with different sized fonts. + + * configure.ac: Changed UNIFONT_HEX to UNIFONT_BDF. + + * configure: Re-generated. + + * DISTLIST: Removed font/manager.c. + Added font/font.c. + Added font/font_cmd.c. + + * Makefile.in: Changed UNIFONT_HEX to UNIFONT_BDF. Added Font tool + compilation. + + * include/grub/misc.h (grub_utf8_to_ucs4): Changed prototype. Changed users. + + * kern/misc.c (grub_utf8_to_ucs4): Changed prototype. + + * kern/term.c: Changed users of grub_utf8_to_ucs4. + + * normal/menu.c: Likewise. + + * conf/common.rmk (font_mod_SOURCES): Removed font/manager.c. + (font_mod_SOURCES): Added font/font_cmd.c, font/font.c. + + * include/grub/font.h: Replaced with new file. + + * include/grub/video.h (GRUB_VIDEO_MODE_TYPE_ALPHA): Changed value. + (GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED): Likewise. + (GRUB_VIDEO_MODE_TYPE_COLOR_MASK): Likewise. + (GRUB_VIDEO_MODE_TYPE_1BIT_BITMAP): Added. + (grub_video_blit_format): Added GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED. + (grub_video_mode_info): Added bg_red, bg_green, bg_blue, bg_alpha, + fg_red, fg_green, fg_blue, fg_alpha. + (grub_video_adapter): Removed blit_glyph. + (grub_video_blit_glyph): Removed. + + * font/manager.c: Removed file. + + * font/font.c: New file. + + * font/font_cmd.c: Likewise. + + * video/video.c (grub_video_blit_glyph): Removed. + + * video/i386/pc/vbe.c (grub_video_vbe_map_rgb): Added 1-bit support. + (grub_video_vbe_map_rgba): Likewise. + (grub_video_vbe_unmap_color_int): Likewise. + (grub_video_vbe_blit_glyph): Removed. + (grub_video_vbe_adapter): Removed blit_glyph. + + * video/i386/pc/vbeutil.c (get_data_ptr): Added 1-bit support. + (get_pixel): Likewise. + (set_pixel): Likewise. + + * commands/videotest.c (grub_cmd_videotest): Added more tests for fonts. + + * term/gfxterm.c: Adapted to new font engine. + + * term/i386/pc/vesafb.c: Marked as deprecated. Made it compile. + + * term/i386/pc/vga.c: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/BDFLoader.java: New file. + + * util/fonttool/src/org/gnu/grub/fonttool/CharDefs.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/CharacterRange.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/Converter.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/Font.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/Glyph.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/PFF2Sections.java: Likewise. + + * util/fonttool/src/org/gnu/grub/fonttool/PFF2Writer.java: Likewise. + + * util/grub.d/00_header.in: Changed to use new loadfont command. + + * util/grub-mkconfig_lib.in: Changed font extension. + +2008-12-28 Felix Zielcke + + * util/getroot.c (grub_util_get_grub_dev): Add support for + /dev/md/dNNpNN style partitionable mdraid devices. + +2008-12-12 Alex Smith + + * fs/i386/pc/pxe.c (grub_pxefs_open): Handle the one open connection + at a time limit of the PXE TFTP API correctly. + (grub_pxefs_close): Likewise. + +2008-11-29 Robert Millan + + * disk/ata.c (grub_ata_pciinit): Handle errors raised by + grub_ata_device_initialize() calls. + +2008-11-28 Krzysztof Smiechowicz + + * fs/affs.c (grub_affs_iterate_dir): Return failure when directory + iteration failed. + * fs/sfs.c (grub_sfs_iterate_dir): Likewise. + +2008-11-28 Robert Millan + + Fix build on powerpc-ieee1275. Based on patch created by + Manoel Abranches . + * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add + `kern/ieee1275/mmap.c'. + * include/grub/powerpc/ieee1275/memory.h: New file. + + Provide grub-install on coreboot. + * conf/i386-coreboot.rmk (sbin_SCRIPTS): Add `grub-install'. + (grub_install_SOURCES): New variable. + * util/i386/pc/grub-install.in: Add a few condition checks to make it + usable on coreboot. + +2008-11-25 Felix Zielcke + + * util/grub-fstest.c (grub_term_get_current_input): Change return type + to `grub_term_input_t'. + (grub_term_get_current_output): Change return type to + `grub_term_output_t'. + +2008-11-22 Robert Millan + + Fix breakage on coreboot due to declaration mismatch. + * term/i386/pc/vga_text.c (grub_vga_text_init_fini): New function. + (grub_vga_text_term): Use grub_vga_text_init_fini() instead of + grub_vga_text_cls(). + + * kern/i386/loader.S (grub_multiboot_backward_relocator): Improve + comments. Avoid copying one more byte than necessary (just in case). + + * conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Change link address + to 0x200000 (avoids trouble with some OFW implementations, and matches + with the one in Yaboot). + Reported by Manoel Abranches + +2008-11-20 Robert Millan + + * kern/i386/coreboot/init.c (grub_time_tics): Remove variable. + (grub_get_rtc, grub_exit): Abort with grub_fatal() if called. + + * util/grub-mkconfig_lib.in (grub_warn): New function. + (convert_system_path_to_grub_path): Use grub_warn() when issuing + warnings, to obtain consistent formatting. + * util/grub.d/00_header.in: Likewise. + * util/update-grub_lib.in: Likewise. + + * loader/i386/linux.c (allocate_pages): Fix a warning. + Move comment text to `#error' stanza. + + Harmonize ieee1275's grub_available_iterate() with the generic + grub_machine_mmap_iterate() interface (fixes a recently-introduced + build problem on i386-ieee1275): + * kern/ieee1275/openfw.c (grub_available_iterate): Moved from here ... + * kern/ieee1275/mmap.c (grub_machine_mmap_iterate): ... here. Add third + parameter `type'. Update all users of this function. + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add + `kern/ieee1275/mmap.c'. + * kern/ieee1275/init.c + * include/grub/ieee1275/ieee1275.h (grub_available_iterate): Replace + with ... + (grub_machine_mmap_iterate): ... this. + * include/grub/i386/pc/memory.h (grub_machine_mmap_iterate): Change + return type to `grub_err_t'. Update all implementations of this + function prototype. + * include/grub/i386/coreboot/memory.h (grub_machine_mmap_iterate): + Likewise. + + Add `lsmmap' command (lists firmware-provided memory map): + * commands/lsmmap.c: New file. + * conf/i386-pc.rmk (pkglib_MODULES): Add `lsmmap.mod'. + (lsmmap_mod_SOURCES, lsmmap_mod_CFLAGS, lsmmap_mod_LDFLAGS): New + variables. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + +2008-11-19 Robert Millan + + * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Fix a typo. + * loader/i386/linux.c (grub_rescue_cmd_initrd): Implement a few needed + constraints to initrd allocation (based on code from + loader/i386/pc/linux.c). Without them, initrd was allocated too high + for Linux to find it. + +2008-11-14 Robert Millan + + * fs/cpio.c (grub_cpio_open): Compare `name' and `fn' by hand in + order to cope with duplicate slashes. + +2008-11-14 Robert Millan + + * include/grub/i386/coreboot/memory.h (GRUB_MEMORY_MACHINE_LOWER_SIZE): + Redefine to match with GRUB_MEMORY_MACHINE_UPPER_START (0x100000). We + don't want to mess with lower memory, because it is used in the Linux + loader. + + * loader/i386/linux.c (allocate_pages): Allocate `real_mode_mem' in + an appropriate place in lower memory, between 0x10000 and 0x90000, + like loader/i386/efi/linux.c does. Linux often panics if real_mode_mem + is in our heap (probably as a result of it being corrupted during + decompression). Add #error instance with comment to explain why this + loader isn't currently usable on PC/BIOS. + +2008-11-14 Robert Millan + + * term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS] + (GRUB_SERIAL_PORT_NUM): Fix miscalculation. + +2008-11-12 Robert Millan + + Make loader/i386/linux.c buildable on i386-pc (although disabled). + + * include/grub/i386/pc/init.h: Include `'. + (struct grub_machine_mmap_entry, grub_machine_mmap_iterate): Move + from here ... + * include/grub/i386/pc/memory.h: ... to here. + +2008-11-12 Robert Millan + + Fix build problems on i386-ieee1275 and *-efi (introduced by vga_text + split). + + * include/grub/i386/pc/console.h: Include `'. + (grub_console_cur_color, grub_console_real_putchar) + (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh) + (grub_console_setcolorstate, grub_console_setcolor) + (grub_console_getcolor): Move from here ... + * include/grub/i386/vga_common.h: ... to here (new file). + + * term/i386/pc/vga_text.c: Replace `' with + `' and `' with + `'. + * term/i386/vga_common.c: Replace `' with + `'. + +2008-11-12 Robert Millan + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add `term/i386/vga_common.c'. + * conf/i386.rmk (pkglib_MODULES): Add `vga_text.mod'. + (vga_text_mod_SOURCES, vga_text_mod_CFLAGS, vga_text_mod_LDFLAGS): New + variables. + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace + `term/i386/pc/console.c' with `term/i386/vga_common.c'. + + * kern/i386/coreboot/init.c (grub_machine_init): Replace call to + grub_console_init() with call to grub_vga_text_init(). + (grub_machine_fini): Replace call to + grub_console_fini() with call to grub_vga_text_fini() and + grub_at_keyboard_fini(). + + * include/grub/i386/pc/console.h: Include `'. + (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh) + (grub_console_setcolorstate, grub_console_setcolor) + (grub_console_getcolor): New function prototypes. + + * term/i386/pc/vga_text.c: Include `'. + (grub_vga_text_getxy, grub_vga_text_gotoxy, grub_vga_text_cls) + (grub_vga_text_setcursor): Static-ize. + (grub_vga_text_term): New structure. + (GRUB_MOD_INIT(vga_text), GRUB_MOD_FINI(vga_text)): New functions. + + * term/i386/pc/console.c: Remove `'. + (grub_console_cur_color, grub_console_standard_color) + (grub_console_normal_color, grub_console_highlight_color) + (map_char, grub_console_putchar, grub_console_getcharwidth) + (grub_console_getwh, grub_console_setcolorstate, grub_console_setcolor) + (grub_console_getcolor): Move from here ... + * term/i386/vga_common.c: ... to here (same function names). + +2008-11-12 Robert Millan + + Use newly-added Multiboot support in coreboot. + + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace + `kern/i386/coreboot/mmap.c' with `kern/i386/multiboot_mmap.c'. + + * kern/i386/coreboot/startup.S: Enable Multiboot header, fix its + alignment, set `MULTIBOOT_MEMORY_INFO' flag. + (codestart): Store the MBI in `startup_multiboot_info' when we're + being loaded using Multiboot. + + * kern/i386/coreboot/init.c (grub_machine_init): Move + grub_at_keyboard_init() call to beginning of function (useful for + debugging). Call grub_machine_mmap_init() before attempting to use + grub_machine_mmap_iterate(). + (grub_lower_mem, grub_upper_mem): Move from here ... + * kern/i386/multiboot_mmap.c (grub_lower_mem, grub_upper_mem): ... to + here (new file). + + * include/grub/i386/coreboot/memory.h (grub_machine_mmap_init): New + function prototype. + +2008-11-12 Robert Millan + + Fix a regression introduced by the at_keyboard.mod split. Because + some terminals are default on some platforms and non-default on + others, the first terminal being registered determines which is + going to be default. + + * kern/term.c (grub_term_register_input): If this is the first + terminal being registered, set it as the current one. + (grub_term_register_output): Likewise. + + * term/efi/console.c (grub_console_init): Do not call + grub_term_set_current_output() or grub_term_set_current_input(). + * term/ieee1275/ofconsole.c (grub_console_init): Likewise. + * term/i386/pc/console.c (grub_console_init): Likewise. + (grub_console_fini): Do not call grub_term_set_current_input() + (but leave grub_term_set_current_output() to restore text mode). + +2008-11-10 Robert Millan + + * util/grub.d/00_header.in: Add backward compatibility check for + versions of terminal.mod that don't understand `terminal_input' or + `terminal_output'. + +2008-11-09 Robert Millan + + * commands/terminal.c (GRUB_MOD_FINI(terminal)): Unregister + `terminal_input' / `terminal_output', not `terminal'. + +2008-11-08 Robert Millan + + * Makefile.in (include_DATA): Fix srcdir=. assumption. + (DISTCLEANFILES): Add `build_env.mk'. + +2008-11-08 Robert Millan + + * term/i386/pc/vesafb.c (grub_vesafb_term): Change type to + `struct grub_term_output'. Remove `.checkkey' and `.getkey' + members. Update all users. + * util/console.c (grub_ncurses_term): Split in ... + (grub_ncurses_term_input): ... this, and ... + (grub_ncurses_term_output): ... this. Update all users. + * term/ieee1275/ofconsole.c: Remove stale `#endif'. + +2008-11-08 Robert Millan + + * Makefile.in (PKGLIB): Add $(pkglib_BUILDDIR). + (PKGDATA): Add $(pkgdata_SRCDIR). + (pkglib_BUILDDIR): New variable. + (pkgdata_SRCDIR): New variable. + (build_env.mk): New target. + (include_DATA): New variable. + (install-local): Install $(include_DATA) files in $(includedir). + +2008-11-07 Pavel Roskin + + * gendistlist.sh: Use C locale for sorting to ensure consistent + output on all systems. + + * util/grub.d/00_header.in: Remove incorrect space before + "serial". + +2008-11-07 Robert Millan + + * include/multiboot2.h (struct multiboot_header): Add `flags' member as + per specification. + * loader/multiboot2.c (grub_multiboot2): Fix Multiboot2 header check. + * loader/multiboot_loader.c (find_multi_boot2_header): New function + (based on find_multi_boot1_header). + (grub_rescue_cmd_multiboot_loader): Check for Multiboot2 header, + using find_multi_boot2_header(), and abort if neither Multiboot or + Multiboot headers were found. + +2008-11-07 Robert Millan + + Modularize at_keyboard.mod: + + * conf/i386.rmk (pkglib_MODULES): Add `at_keyboard.mod'. + (at_keyboard_mod_SOURCES, at_keyboard_mod_CFLAGS) + (at_keyboard_mod_LDFLAGS): New variables. + + Actual terminal split: + + * include/grub/term.h (struct grub_term): Split in ... + (struct grub_term_input): ... this, and ... + (struct grub_term_output): ... this. Update all users. + (grub_term_set_current): Split in ... + (grub_term_set_current_input): ... this, and ... + (grub_term_set_current_output): ... this. + (grub_term_get_current): Split in ... + (grub_term_get_current_input): ... this, and ... + (grub_term_get_current_output): ... this. + (grub_term_register): Split in ... + (grub_term_register_input): ... this, and ... + (grub_term_register_output): ... this. + (grub_term_unregister): Split in ... + (grub_term_unregister_input): ... this, and ... + (grub_term_unregister_output): ... this. + (grub_term_iterate): Split in ... + (grub_term_iterate_input): ... this, and ... + (grub_term_iterate_output): ... this. + + * kern/term.c (grub_term_list): Split in ... + (grub_term_list_input): ... this, and ... + (grub_term_list_output): ... this. Update all users. + (grub_cur_term): Split in ... + (grub_cur_term_input): ... this, and ... + (grub_cur_term_output): ... this. Update all users. + (grub_term_set_current): Split in ... + (grub_term_set_current_input): ... this, and ... + (grub_term_set_current_output): ... this. + (grub_term_get_current): Split in ... + (grub_term_get_current_input): ... this, and ... + (grub_term_get_current_output): ... this. + (grub_term_register): Split in ... + (grub_term_register_input): ... this, and ... + (grub_term_register_output): ... this. + (grub_term_unregister): Split in ... + (grub_term_unregister_input): ... this, and ... + (grub_term_unregister_output): ... this. + (grub_term_iterate): Split in ... + (grub_term_iterate_input): ... this, and ... + (grub_term_iterate_output): ... this. + + * kern/misc.c (grub_abort): Split use of grub_term_get_current() into + a check for input and one for output (and only attempt to get keys + from user when input works). + + * util/grub-probe.c (grub_term_get_current): Split in ... + (grub_term_get_current_input): ... this, and ... + (grub_term_get_current_output): ... this. + * util/grub-fstest.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/grub-editenv.c: Likewise. + + Portability adjustments: + + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Remove + `term/i386/pc/at_keyboard.c'. + * kern/ieee1275/init.c [__i386__] (grub_machine_init): Remove call to + grub_keyboard_controller_init() (now handled by terminal .init). + * kern/i386/coreboot/init.c (grub_machine_init): Add call to + grub_at_keyboard_init(). + * include/grub/i386/ieee1275/console.h (grub_keyboard_controller_init) + (grub_console_checkkey, grub_console_getkey): Remove (now provided by + at_keyboard.mod via input terminal interface). + * include/grub/i386/coreboot/console.h: Convert into a stub for + `'. + + Migrate full terminals to new API: + + * term/efi/console.c (grub_console_term): Split into ... + (grub_console_term_input): ... this, and ... + (grub_console_term_output): ... this. Update all users. + * term/ieee1275/ofconsole.c: Remove __i386__ hack. + (grub_ofconsole_init): Split into ... + (grub_ofconsole_init_input): ... this, and ... + (grub_ofconsole_init_output): ... this. + (grub_ofconsole_term): Split into ... + (grub_ofconsole_term_input): ... this, and ... + (grub_ofconsole_term_output): ... this. Update all users. + * term/i386/pc/serial.c (grub_serial_term): Split into ... + (grub_serial_term_input): ... this, and ... + (grub_serial_term_output): ... this. Update all users. + * term/i386/pc/console.c (grub_console_term): Split into ... + (grub_console_term_input): ... this, and ... + (grub_console_term_output): ... this. Update all users. + (grub_console_term_input): Only enable it on PC/BIOS platform. + (grub_console_init): Remove grub_keyboard_controller_init() call. + + Migrate input terminals to new API: + + * term/i386/pc/at_keyboard.c: Replace `cpu' and `machine' with + `i386' and `i386/pc' to enable build on x86_64 (this driver is + i386-specific anyway). + (grub_console_checkkey): Rename to ... + (grub_at_keyboard_checkkey): ... this. Static-ize. Update all + users. + (grub_keyboard_controller_orig): New variable. + (grub_console_getkey): Rename to ... + (grub_at_keyboard_getkey): ... this. Static-ize. Update all + users. + (grub_keyboard_controller_init): Static-ize. Save original + controller value so that it can be restored ... + (grub_keyboard_controller_fini): ... here (new function). + (grub_at_keyboard_term): New structure. + (GRUB_MOD_INIT(at_keyboard), GRUB_MOD_FINI(at_keyboard)): New + functions. + + Migrate output terminals to new API: + + * term/i386/pc/vga.c (grub_vga_term): Change type to + `struct grub_term_output'. Remove `.checkkey' and `.getkey' + members. Update all users. + * term/gfxterm.c (grub_video_term): Change type to + `struct grub_term_output'. Remove `.checkkey' and `.getkey' + members. Update all users. + * include/grub/i386/pc/console.h (grub_console_checkkey) + (grub_console_getkey): Do not export (no longer needed by gfxterm, + etc). + + Migrate `terminal' command and userland tools to new API: + + * commands/terminal.c (grub_cmd_terminal): Split into ... + (grub_cmd_terminal_input): ... this, and ... + (grub_cmd_terminal_output): ... this. + (GRUB_MOD_INIT(terminal)): Split `terminal' command in two commands: + `terminal_input' and `terminal_output'. + * util/grub.d/00_header.in: Adjust `terminal' calls to new + `terminal_input' / `terminal_output' API. + * util/grub-mkconfig.in: Export ${GRUB_TERMINAL_INPUT} and + ${GRUB_TERMINAL_OUTPUT} instead of ${GRUB_TERMINAL} (and if user + provided ${GRUB_TERMINAL}, convert it). + +2008-11-04 Robert Millan + + * util/grub.d/10_freebsd.in: New file. Generate grub configuration + for FreeBSD. + * conf/common.rmk (grub-mkconfig_SCRIPTS): Add 10_freebsd. + +2008-11-03 Bean + + * kern/elf.c (grub_elf32_load): Revert to previous code. + (grub_elf64_load): Likewise. + + * loader/i386/bsd.c (grub_bsd_elf32_hook): Change return address. + +2008-11-01 Robert Millan + + * Makefile.in (CPPFLAGS): Fix builddir=. assumption. + (TARGET_CPPFLAGS): Likewise. + * genmk.rb (mod_src): Fix builddir=. and srcdir=. assumptions. + +2008-11-01 Carles Pina i Estany + + * normal/menu.c (run_menu): Add Previous and Next Page keys in menu. + +2008-10-29 Guillem Jover + + * disk/lvm.c (grub_lvm_scan_device): Fix error recovery by delaying the + addition of objects until the code is not going to be able to fail. + +2008-10-29 Guillem Jover + + * disk/lvm.c (grub_lvm_scan_device): Fix possible NULL value handling + (add a missing NULL check, and correct them by moving the pointer + operations after the actual check). + +2008-10-29 Robert Millan + + * util/i386/pc/grub-install.in: Handle empty string as output from + make_system_path_relative_to_its_root(). + +2008-10-05 Hans Lambermont + + * disk/lvm.c (grub_lvm_scan_device): Allocate buffer space for the + circular metadata worst case scenario. If the metadata is circular + then copy the wrap in place. + * include/grub/lvm.h: Add GRUB_LVM_MDA_HEADER_SIZE, from the LVM2 + project lib/format_text/layout.h + Circular metadata bug found and patch debugged by Jan Derk Gerlings. + +2008-10-03 Felix Zielcke + + * util/i386/pc/grub-install.in: Source grub-mkconfig_lib instead of update-grub_lib. + +2008-10-03 Felix Zielcke + + * util/update-grub_lib.in: Mention filename in warning message. + +2008-09-29 Felix Zielcke + + * NEWS: Update for rename of update-grub to grub-mkconfig. + +2008-09-29 Felix Zielcke + + * util/update-grub_lib.in: Copy to ... + * util/grub-mkconfig_lib.in: ... this. Update all users. + * util/update-grub_lib.in: Make it a stub to `grub-mkconfig_lib.in'. + * util/update-grub.in: Rename to ... + * util/grub-mkconfig.in: ... this. Update all users. Remove `-y' + option. Add `--output' option to allow users to specify the generated + configuration file. Default to stdout. + (update_grub_dir): Rename to ... + (grub_mkconfig_dir): ... this. + (grub_cfg): Default to an empty string. + * conf/common.rmk (update-grub): Rename to ... + (grub-mkconfig): ... this. + (update-grub_lib): Copy to ... + (grub-mkconfig_lib): ... this. + (update-grub_SCRIPTS): Copy to ... + (grub-mkconfig_SCRIPTS): ... this. Update all users. + (update-grub_DATA): Rename to ... + (grub-mkconfig_DATA): ... this. + +2008-09-28 Robert Millan + + * fs/iso9660.c (struct grub_iso9660_primary_voldesc): Rename `created' + to `modified'. Add the real `created' field. + (grub_iso9660_uuid): Use `modified' rather than `created' for + constructing the UUID. + +2008-09-28 Felix Zielcke + + fs/jfs.c (grub_jfs_find_file): Treat multiple slashes like one. + Based on code from Tomas Ebenlendr . + +2008-09-28 Bean + + * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch. + Thanks to Christian Franke for finding this bug. + +2008-09-25 Robert Millan + + * util/grub-mkdevicemap.c (make_device_map): Actually replace all + instances of grub_util_get_disk_name() (see previous commit). + +2008-09-25 Robert Millan + + * conf/i386-pc.rmk (grub_mkdevicemap_SOURCES): Remove + `util/i386/get_disk_name.c'. + * conf/i386-efi.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/powerpc-ieee1275.rmk (grub_mkdevicemap_SOURCES): Remove + `util/ieee1275/get_disk_name.c'. + * include/grub/util/misc.h (grub_util_get_disk_name): Remove. + * util/ieee1275/get_disk_name.c: Remove file. + * util/i386/get_disk_name.c: Remove file. + * util/grub-mkdevicemap.c (make_device_map): Back to hardcoding + "hd%d" for device.map entries, rather than using + grub_util_get_disk_name(). + +2008-09-24 Carles Pina i Estany + + * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Fix `unused parameter' + warning. + * commands/i386/pc/pxecmd.c (dmraid_nvidia): Likewise. + +2008-09-24 Carles Pina i Estany + + * include/grub/i386/pc/console.h (GRUB_TERM_NPAGE): + Changed to 0x5100. + (GRUB_TERM_PPAGE): Changed to 0x4900. + +2008-09-24 Robert Millan + + * include/grub/powerpc/ieee1275/console.h (GRUB_CONSOLE_KEY_*): Remove + macros (they were i386-pc specific). + * include/grub/sparc64/ieee1275/console.h: Likewise. + * include/grub/efi/console.h: Likewise. + +2008-09-22 Bean + + * fs/ntfs.c (grub_ntfs_iterate_dir): Fix a rare case where $BITMAP is + resident and in attribute list. + + * include/grub/ntfs.h (BMP_LEN): Removed. + +2008-09-22 Bean + + * disk/ata.c (grub_atapi_open): Initialize devfnd, no need to set + scsi->name and scsi->luns, as they will be set in grub_scsi_open. + + * disk/scsi.c (grub_scsi_open): Don't call p->close (scsi) here when + error occurs, as grub_disk_open will call grub_disk_close, which will + call p->close (scsi). + +2008-09-21 Felix Zielcke + + * configure.ac (AC_INIT): Quote `GRUB' string and version number. + (AC_PREREQ): Bumped to 2.59. + (AC_TRY_COMPILE): Replace obsolete macro with ... + (AC_COMPILE_IFELSE): ... this. + * aclocal.m4 (AC_TRY_LINK): Replace obsolete macro with ... + (AC_LINK_IFELSE): ... this. + +2008-09-21 Felix Zielcke + + * autogen.sh: Add a call to `gendistlist.sh'. + +2008-09-19 Christian Franke + + * aclocal.m4 (grub_CHECK_ENABLE_EXECUTE_STACK): New function. + * configure.ac: Call grub_CHECK_ENABLE_EXECUTE_STACK. + * include/grub/misc.h [NEED_ENABLE_EXECUTE_STACK]: + Export __enable_execute_stack() to modules. + * kern/misc.c [NEED_ENABLE_EXECUTE_STACK] (__enable_execute_stack): + New function. + +2008-09-09 Felix Zielcke + + * Makefile.in (RMKFILES): Add `i386.rmk' and `x86_64-efi.rmk'. + Sort the list. + +2008-09-09 Felix Zielcke + + * util/hostdisk.c: Replace #include with + #include . + +2008-09-08 Robert Millan + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Skip + segments when their filesz is zero (grub_file_read() interprets + zero-size as "read until EOF", which results in memory corruption). + Use `lowest_segment' rather than 0 for calculating the current + segment load address. + +2008-09-08 Robert Millan + + * util/hostdisk.c (open_device): Replace a grub_util_info() call + with grub_dprintf("hostdisk", ...), as it was so verbose that it + clobbered useful information. + +2008-09-08 Robert Millan + + * include/grub/util/biosdisk.h: Move to ... + * include/grub/util/hostdisk.h: ... here. Update all users. + * util/biosdisk.c: Move to ... + * util/hostdisk.c: ... here. Update all users. + +2008-09-07 Robert Millan + + * loader/i386/pc/multiboot.c (mmap_addr, mmap_length): Remove + variables. + (grub_multiboot): Move `mbi' allocation upwards, so that mmap address + and length can be stored directly in the `mbi->mmap_addr' and + `mbi->mmap_length' struct fields. + +2008-09-07 Robert Millan + + * conf/i386.rmk: New file. Provides declaration for building + `cpuid.mod'. + * conf/i386-pc.rmk (pkglib_MODULES): Remove `cpuid.mod'. + (cpuid_mod_SOURCES, cpuid_mod_CFLAGS, cpuid_mod_LDFLAGS): Remove + variables. + Include `conf/i386.mk'. + * conf/i386-efi.rmk: Likewise. + * conf/x86_64-efi.rmk: Likewise. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + +2008-09-07 Vesa Jääskeläinen + + Based on patch created by Colin D Bennett . + Adds optimization support for BGR based modes. + + * include/grub/i386/pc/vbeblit.h (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8) Removed. + (grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8A8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8): Likewise. + (grub_video_i386_vbeblit_index_index): Likewise. + (grub_video_i386_vbeblit_replace_directN): Added. + (grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise. + (grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise. + (grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise. + (grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_index_RGB888): Likewise. + (grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise. + + * include/grub/i386/pc/vbefill.h (grub_video_i386_vbefill_R8G8B8A8) Removed. + (grub_video_i386_vbefill_R8G8B8): Likewise. + (grub_video_i386_vbefill_index): Likewise. + (grub_video_i386_vbefill_direct32): Added. + (grub_video_i386_vbefill_direct24): Likewise. + (grub_video_i386_vbefill_direct16): Likewise. + (grub_video_i386_vbefill_direct8): Likewise. + + * include/grub/video.h (grub_video_blit_format): Removed + GRUB_VIDEO_BLIT_FORMAT_R8G8B8A8, GRUB_VIDEO_BLIT_FORMAT_R8G8B8. + (grub_video_blit_format): Added GRUB_VIDEO_BLIT_FORMAT_RGBA_8888, + GRUB_VIDEO_BLIT_FORMAT_BGRA_8888, GRUB_VIDEO_BLIT_FORMAT_RGB_888, + GRUB_VIDEO_BLIT_FORMAT_BGR_888, GRUB_VIDEO_BLIT_FORMAT_RGB_565, + GRUB_VIDEO_BLIT_FORMAT_BGR_565. + + * video/video.c (grub_video_get_blit_format): Updated to use new + blit formats. Added handling for 16 bit color modes. + + * video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Updated to use new + fillers. + (common_blitter): Updated to use new blitters. + + * video/i386/pc/vbeblit.c (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8): + Removed. + (grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8A8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8): Likewise. + (grub_video_i386_vbeblit_index_index): Likewise. + (grub_video_i386_vbeblit_replace_directN): Added. + (grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise. + (grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise. + (grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise. + (grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise. + (grub_video_i386_vbeblit_replace_index_RGB888): Likewise. + (grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise. + (grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise. + + * video/i386/pc/vbefill.c (grub_video_i386_vbefill_R8G8B8A8): Removed. + (grub_video_i386_vbefill_R8G8B8): Likewise. + (grub_video_i386_vbefill_index): Likewise. + (grub_video_i386_vbefill_direct32): Added. + (grub_video_i386_vbefill_direct24): Likewise. + (grub_video_i386_vbefill_direct16): Likewise. + (grub_video_i386_vbefill_direct8): Likewise. + + * video/readers/jpeg.c (grub_jpeg_decode_sos): Adapt to new blitter + types. + + * video/readers/tga.c (grub_video_reader_tga): Adapt to new blitter + types. + + * video/readers/png.c (grub_png_decode_image_header): Adapt to new + blitter types. + + * video/bitmap.c (grub_video_bitmap_create): Adapt to new blitter + types. + +2008-09-06 Felix Zielcke + + * disk/raid.c (insert_array): Set `array->chunk_size' to 64 for + RAID level 1. + +2008-09-06 Felix Zielcke + + * fs/iso9660.c (grub_iso9660_date): New structure. + (grub_iso9660_primary_voldesc): Add `grub_iso9660_date' member. + (grub_iso9660_uuid): New function. + +2008-09-05 Bean + + * fs/fshelp.c (grub_fshelp_find_file): Handle case insensitive names. + + * fs/ntfs.c (list_file): Ignore names in DOS namespace, set the case + insensitive bit for names in Win32 and Win32 & DOS namespace. + + * include/grub/fshelp.h (GRUB_FSHELP_CASE_INSENSITIVE): New macro. + + * include/grub/types.h (LONG_MAX): Likewise. + +2008-09-04 Felix Zielcke + + * util/getroot.c: Include . + (grub_util_get_grub_dev): Rewrite to use asprintf for mdraid devices, + add support for /dev/md/N devices and handle LVM double dash escaping. + +2008-09-04 Felix Zielcke + + * config.guess: Update to latest version from config git. + * config.sub: Likewise. + +2008-09-03 Robert Millan + + * disk/scsi.c (grub_scsi_open): Remove size limit when printing + `disk->total_sectors'. + +2008-09-01 Colin D Bennett + + * include/grub/normal.h: Fixed incorrect comment for + GRUB_COMMAND_FLAG_NO_ARG_PARSE. + +2008-09-01 Colin D Bennett + + * commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Replaced constant + values with defines. + + * include/grub/i386/pc/vbe.h (GRUB_VBE_MODEATTR_SUPPORTED): Added. + (GRUB_VBE_MODEATTR_RESERVED_1): Likewise. + (GRUB_VBE_MODEATTR_BIOS_TTY_OUTPUT_SUPPORT): Likewise. + (GRUB_VBE_MODEATTR_COLOR): Likewise. + (GRUB_VBE_MODEATTR_GRAPHICS): Likewise. + (GRUB_VBE_MODEATTR_VGA_COMPATIBLE): Likewise. + (GRUB_VBE_MODEATTR_VGA_WINDOWED_AVAIL): Likewise. + (GRUB_VBE_MODEATTR_LFB_AVAIL): Likewise. + (GRUB_VBE_MODEATTR_DOUBLE_SCAN_AVAIL): Likewise. + (GRUB_VBE_MODEATTR_INTERLACED_AVAIL): Likewise. + (GRUB_VBE_MODEATTR_TRIPLE_BUF_AVAIL): Likewise. + (GRUB_VBE_MODEATTR_STEREO_AVAIL): Likewise. + (GRUB_VBE_MODEATTR_DUAL_DISPLAY_START): Likewise. + (GRUB_VBE_MEMORY_MODEL_TEXT): Likewise. + (GRUB_VBE_MEMORY_MODEL_CGA): Likewise. + (GRUB_VBE_MEMORY_MODEL_HERCULES): Likewise. + (GRUB_VBE_MEMORY_MODEL_PLANAR): Likewise. + (GRUB_VBE_MEMORY_MODEL_NONCHAIN4_256): Likewise. + (GRUB_VBE_MEMORY_MODEL_YUV): Likewise. + +2008-08-31 Robert Millan + + * loader/i386/pc/multiboot.c (grub_get_multiboot_mmap_len): Fix + declaration. + (grub_multiboot): Fix a few warnings. + +2008-08-31 Robert Millan + + * loader/i386/pc/multiboot.c: Update comment not to say that + boot_device support is unimplemented. + +2008-08-31 Robert Millan + + * loader/i386/pc/multiboot.c: Update comment not to say that a.out + or memory map support are unimplemented. + +2008-08-31 Colin D Bennett + + * util/i386/pc/grub-mkrescue.in: Support multiple overlay directories. + +2008-08-31 Colin D Bennett + + * commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Show VBE version and + total video memory in 'vbeinfo' output; show color format details for + each video mode. + +2008-08-30 Pavel Roskin + + * util/genmoddep.c: Remove for real this time. + * DISTLIST: Remove util/genmoddep.c. + +2008-08-30 Robert Millan + + * kern/i386/pc/startup.S (multiboot_header): Force 4-byte alignment + as required by Multiboot spec (it was already 4-byte aligned, but + only by chance). + +2008-08-29 Pavel Roskin + + * kern/powerpc/ieee1275/crt0.S: Rename to ... + * kern/powerpc/ieee1275/startup.S: ... this. + * conf/powerpc-ieee1275.rmk: Adjust for the above. + * DISTLIST: Likewise. + + * kern/powerpc/ieee1275/crt0.S: Include grub/symbol.h and + grub/cpu/kernel.h. Add start label for consistency with other + platforms. Add grub_prefix immediately after start. Add jump + to the code after grub_prefix. + * include/grub/powerpc/kernel.h: Provide valid values for + GRUB_KERNEL_CPU_PREFIX and GRUB_KERNEL_CPU_DATA_END. + +2008-08-29 Bean + + * configure.ac: Change host_os to cygwin for mingw. + (asprintf): New check for function. + + * include/grub/symbol.h: Replace #ifndef __CYGWIN__ with + #if ! defined (__CYGWIN__) && ! defined (__MINGW32__). + + * include/grub/util/misc.h: #include and , + declare asprintf if HAVE_ASPRINTF is not set, declare fseeko, ftello, + sync, sleep and grub_util_get_disk_size for mingw. + + * util/biosdisk.c (grub_util_biosdisk_open): Use grub_util_get_disk_size + to get size in mingw. + (open_device): Use flag O_BINARY if it's defined. + (find_root_device): Add dummy code for mingw. + + * util/grub-mkdevicemap.c (get_floppy_disk_name): Return 0 for mingw. + (get_ide_disk_name): Return //./PHYSICALDRIVE%d for mingw. + (get_scsi_disk_name): Return 0 for mingw. + + * util/hostfs.c: #include . + (grub_hostfs_open): Use "rb" flag to open file, use + grub_util_get_disk_size to get disk size for mingw. + + * util/misc.c: #include and in mingw. + (asprintf): New function if HAVE_ASPRINTF is not set. + (sync): New function for mingw. + (sleep): Likewise. + (grub_util_get_disk_size): Likewise. + +2008-08-28 Pavel Roskin + + * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add + kern/time.c. + +2008-08-28 Robert Millan + + * util/biosdisk.c (find_grub_drive): Declare missing `i' variable. + +2008-08-28 Robert Millan + + Change find_grub_drive() syntax so it doesn't prevent it from + detecting NULL names as errors. + + * util/biosdisk.c (find_grub_drive): Move free slot search code + from here ... + (find_free_slot): ... to here. + (read_device_map): Use find_free_slot() to search for free slots. + +2008-08-27 Marco Gerards + + * conf/common.rmk (pkglib_MODULES): Add scsi.mod. + (scsi_mod_SOURCES): New variable. + (scsi_mod_CFLAGS): Likewise + (scsi_mod_LDFLAGS): Likewise. + + * disk/scsi.c: New file. + + * include/grub/scsi.h: Likewise. + + * include/grub/scsicmd.h: Likewise. + + * disk/ata.c: Include . + (grub_atapi_packet): Do not use grub_ata_cmd, use registers + instead. + (grub_ata_iterate): Skip ATAPI devices. + (grub_ata_open): Only handle ATAPI devices. + (struct grub_atapi_read): Removed. + (grub_atapi_readsector): Likewise. + (grub_ata_read): No longer handle ATAPI devices. + (grub_ata_write): Likewise. + (grub_atapi_iterate): New function. + (grub_atapi_read): Likewise. + (grub_atapi_write): Likewise. + (grub_atapi_open): Likewise. + (grub_atapi_close): Likewise. + (grub_atapi_dev): New variable. + (GRUB_MOD_INIT(ata)): Register ATAPI as SCSI device. + (GRUB_MOD_FINI(ata)): Unregister ATAPI. + + * include/grub/disk.h (enum grub_disk_dev_id): Add + `GRUB_DISK_DEVICE_SCSI_ID'. + +2008-08-26 Robert Millan + + * util/biosdisk.c (grub_util_biosdisk_open, open_device) + (grub_util_biosdisk_get_grub_dev): Make error messages a bit more + descriptive. + +2008-08-23 Bean + + * conf/common.rmk (grub_probe_SOURCES): Add disk/mdraid_linux.c. + (grub_fstest_SOURCES): Add disk/raid5_recover.c, disk/raid6_recover.c, + disk/mdraid_linux.c and disk/dmraid_nvidia.c and lib/crc.c. + (pkglib_MODULES): Add raid5rec.mod, raid6rec.mod, mdraid.mod and + dm_nv.mod. + (raid5rec_mod_SOURCES): New macro. + (raid5rec_mod_CFLAGS): Likewise. + (raid5rec_mod_LDFLAGS): Likewise. + (raid6rec_mod_SOURCES): Likewise. + (raid6rec_mod_CFLAGS): Likewise. + (raid6rec_mod_LDFLAGS): Likewise. + (mdraid_mod_SOURCES): Likewise. + (mdraid_mod_CFLAGS): Likewise. + (mdraid_mod_LDFLAGS): Likewise. + (dm_nv_mod_SOURCES): Likewise. + (dm_nv_mod_CFLAGS): Likewise. + (dm_nv_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add disk/mdraid_linux.c. + (grub_emu_SOURCES): Add disk/raid5_recover.c, disk/raid6_recover.c, + disk/mdraid_linux.c and disk/dmraid_nvidia.c. + + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add disk/raid5_recover.c, + disk/raid6_recover.c, disk/mdraid_linux.c and disk/dmraid_nvidia.c. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * disk/raid5_recover.c: New file. + + * disk/raid6_recover.c: Likewise. + + * disk/mdraid_linux.c: Likewise. + + * disk/dmraid_nvidia.c: Likewise. + + * disk/i386/pc/biosdisk.c: Set total_sectors of cdrom device to + ULONG_MAX. + + * disk/raid.c (grub_raid_open): Use the size of the smallest disk to + calculate the size of raid device. + (grub_raid_read): Simplify raid0 code. Support raid4, raid6 and four + different layout of raid5. + (grub_raid_scan_device): Remove code specific to mdraid. + (grub_raid_list): New variable. + (free_array): New function. + (grub_raid_register): Likewise. + (grub_raid_unregister): Likewise. + (grub_raid_rescan): Likewise. + (GRUB_MOD_INIT): Don't iterate device here. + (GRUB_MOD_FINI): Use free_array to release resource. + + * include/grub/raid.h: Remove macro and structure specific to mdraid. + (grub_raid5_recover_func_t): New function variable type. + (grub_raid6_recover_func_t): Likewise. + (grub_raid5_recover_func): New variable. + (grub_raid6_recover_func): Likewise. + (grub_raid_register): New function. + (grub_raid_unregister): Likewise. + (grub_raid_rescan): Likewise. + (grub_raid_block_xor): Likewise. + + * util/grub-fstest.c: Add #include and . + (CMD_CRC): New macro. + (part): Removed. + (read_file): Handle device as well as file. + (cmd_crc): New function. + (fstest): Handle multiple disks. + (options): Remove part, raw and long, add root and diskcount. + (usage): Add crc, remove -p, -r, -l, add -r and -c. + (main): Find the first non option entry and ignore subsequent options, + add handling for the new options, support multiple disks. + + * util/grub-probe.c (probe): Add mdraid to abstraction_name. + +2008-08-23 Bean + + * normal/x86_64/setjmp.S (grub_longjmp): Return 1 when val = 0. + + * genfslist.sh: Ignore kernel.mod. + + * genpartmaplist.sh: Likewise. + +2008-08-23 Robert Millan + + * util/getroot.c (find_root_device): Skip anything that starts with + a dot, not just directories. This avoids things like /dev/.tmp.md0. + +2008-08-22 Felix Zielcke + + * util/update-grub.in (GRUB_GFXMODE): Export variable. + * util/grub.d/00_header.in: Allow the administrator to change default + gfxmode via ${GRUB_GFXMODE}. + +2008-08-21 Felix Zielcke + + * fs/ntfs.c (grub_ntfs_mount): Fix a memory leak. + +2008-08-21 Robert Millan + + * loader/i386/linux.c: New file. Implements generic 32-bit Linux + loader. + * conf/i386-coreboot.rmk (_linux_mod_SOURCES): Replace + `loader/i386/pc/linux.c' with `loader/i386/linux.c'. + +2008-08-20 Carles Pina i Estany + + * menu/normal.c (run_menu): Replace hardcoded numbers with macros + (16 for GRUB_TERM_UP and 14 for GRUB_TERM_DOWN) + +2008-08-19 Robert Millan + + * term/gfxterm.c (DEFAULT_CURSOR_COLOR): Remove. + (struct grub_virtual_screen): Remove `cursor_color'. + (grub_virtual_screen_setup): Remove `virtual_screen.cursor_color' + initialization. + (write_cursor): Use `virtual_screen.fg_color' to draw cursor. + +2008-08-18 Robert Millan + + Unify (identical) linux_normal.c files. + * loader/i386/efi/linux_normal.c: Move from here ... + * loader/linux_normal.c: ... to here. Update all users. + * loader/i386/pc/linux_normal.c: Delete. Update all users. + * loader/i386/ieee1275/linux_normal.c: Likewise. + +2008-08-18 Robert Millan + + * include/grub/i386/linux.h (LINUX_LOADER_ID_LILO) + (LINUX_LOADER_ID_LOADLIN, LINUX_LOADER_ID_BOOTSECT) + (LINUX_LOADER_ID_SYSLINUX, LINUX_LOADER_ID_ETHERBOOT) + (LINUX_LOADER_ID_ELILO, LINUX_LOADER_ID_GRUB, LINUX_LOADER_ID_UBOOT) + (LINUX_LOADER_ID_XEN, LINUX_LOADER_ID_GUJIN, LINUX_LOADER_ID_QEMU): + New macros. + (GRUB_LINUX_CL_OFFSET, GRUB_LINUX_CL_END_OFFSET): Move from here ... + * loader/i386/pc/linux.c (GRUB_LINUX_CL_OFFSET) + (GRUB_LINUX_CL_END_OFFSET): ... to here. + * loader/i386/efi/linux.c (GRUB_EFI_CL_OFFSET): Rename to ... + (GRUB_LINUX_CL_OFFSET): ... this. Update all users. + (GRUB_EFI_CL_END_OFFSET): Rename to ... + (GRUB_LINUX_CL_END_OFFSET): ... this. Update all users. + (grub_rescue_cmd_linux): Macroify `type_of_loader' initialization. + Initialize `params->video_cursor_x' and `params->video_cursor_y' + portably using grub_getxy(). + Replace `-EFI' with `-bzImage' in boot message. + +2008-08-17 Robert Millan + + * include/grub/x86_64/kernel.h: New file ( stub). + +2008-08-17 Robert Millan + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/pc/mmap.c'. + + * include/grub/i386/pc/init.h (GRUB_MACHINE_MEMORY_AVAILABLE) + (GRUB_MACHINE_MEMORY_RESERVED): New macros. + (grub_machine_mmap_iterate): New function declaration. + * include/grub/multiboot.h (struct grub_multiboot_mmap_entry): New + structure. + (GRUB_MMAP_MEMORY_AVAILABLE, GRUB_MMAP_MEMORY_RESERVED): New + macros. + + * kern/i386/pc/init.c (grub_machine_init): Replace hardcoded region + type check value with `GRUB_MACHINE_MEMORY_AVAILABLE'. + Move e820 parsing from here ... + * kern/i386/pc/mmap.c: New file. + (grub_machine_mmap_iterate): ... to here. + + * include/grub/i386/coreboot/memory.h: Remove `'. + (GRUB_LINUXBIOS_MEMORY_AVAILABLE): Rename (for consistency) to ... + (GRUB_MACHINE_MEMORY_AVAILABLE): ... this. Update all users. + (grub_available_iterate): Redeclare to return `void', and redeclare + its hook to use grub_uint64_t as addr and size parameters, and rename + to ... + (grub_machine_mmap_iterate): ... this. Update all users. + + * kern/i386/coreboot/mmap.c (grub_mmap_iterate): Simplify parser loop + to make it more readable. Rename to ... + (grub_machine_mmap_iterate): ... this. + + * loader/i386/pc/multiboot.c (mmap_addr, mmap_length): New variables. + (grub_get_multiboot_mmap_len, grub_fill_multiboot_mmap): New functions. + (grub_multiboot): Allocate an extra region after the payload, and fill + it with a Multiboot memory map. Adjust a.out loader to calculate size + with the extra space. + (grub_multiboot_load_elf32): Adjust elf32 loader to calculate size + with the extra space. + +2008-08-17 Carles Pina i Estany + + * menu/normal.c (run_menu): Add Home and End keys in grub-menu. + +2008-08-17 Felix Zielcke + + * gendistlist.sh: Add *.y, *.tex, *.texi, grub.cfg, README, *.sc, + mdate-sh to the list `find' searches for. + * DISTLIST: Regenerated. + +2008-08-16 Felix Zielcke + + * gendistlist.sh (EXTRA_DISTFILES): Remove gensymlist.sh, + genkernsyms.sh. Add geninit.sh, geninitheader.sh, genkernsyms.sh.in, + genmoddep.awk, gensymlist.sh.in. + (DISTDIRS): Add bus, docs, hook, lib. + * DISTLIST: Regenerated. + * NEWS: Add cygwin support and change the `os-prober' entry a bit. + +2008-08-16 Robert Millan + + * disk/raid.c (grub_raid_init): Handle/report errors set by + grub_device_iterate(). + * disk/lvm.c (grub_lvm_init): Likewise. + +2008-08-15 Bean + + * conf/i386-pc.rmk (pkglib_MODULES): Add datetime.mod, date.mod + and datehook.mod. + (datetime_mod_SOURCES): New macro. + (datetime_mod_CFLAGS): Likewise. + (datetime_mod_LDFLAGS): Likewise. + (date_mod_SOURCES): Likewise. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (datehook_mod_SOURCES): Likewise. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + + * conf/i386-coreboot.rmk (pkglib_MODULES): Add datetime.mod, date.mod + and datehook.mod. + (datetime_mod_SOURCES): New macro. + (datetime_mod_CFLAGS): Likewise. + (datetime_mod_LDFLAGS): Likewise. + (date_mod_SOURCES): Likewise. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (datehook_mod_SOURCES): Likewise. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + + * conf/i386-ieee1275.rmk (pkglib_MODULES): Add datetime.mod, date.mod + and datehook.mod. + (datetime_mod_SOURCES): New macro. + (datetime_mod_CFLAGS): Likewise. + (datetime_mod_LDFLAGS): Likewise. + (date_mod_SOURCES): Likewise. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (datehook_mod_SOURCES): Likewise. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + + * conf/i386-efi.rmk (pkglib_MODULES): Add datetime.mod, date.mod + and datehook.mod. + (datetime_mod_SOURCES): New macro. + (datetime_mod_CFLAGS): Likewise. + (datetime_mod_LDFLAGS): Likewise. + (date_mod_SOURCES): Likewise. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (datehook_mod_SOURCES): Likewise. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + + * conf/x86_64-efi.rmk (pkglib_MODULES): Add datetime.mod, date.mod + and datehook.mod. + (datetime_mod_SOURCES): New macro. + (datetime_mod_CFLAGS): Likewise. + (datetime_mod_LDFLAGS): Likewise. + (date_mod_SOURCES): Likewise. + (date_mod_CFLAGS): Likewise. + (date_mod_LDFLAGS): Likewise. + (datehook_mod_SOURCES): Likewise. + (datehook_mod_CFLAGS): Likewise. + (datehook_mod_LDFLAGS): Likewise. + + * kern/env.c (grub_env_insert): Fix a bug in prevp pointer. + + * commands/date.c: New file. + + * hook/datehook.c: Likewise. + + * include/grub/lib/datetime.h: Likewise. + + * include/grub/i386/cmos.h: Likewise. + + * lib/datetime.c: Likewise. + + * lib/i386/datetime.c: Likewise. + + * lib/efi/datetime.c: Likewise. + +2008-08-14 Robert Millan + + * conf/common.rmk (bin_UTILITIES): Add `grub-mkelfimage'. + (grub_mkelfimage_SOURCES): New variable. + (util/elf/grub-mkimage.c_DEPENDENCIES): Likewise. + + * conf/i386-coreboot.rmk (bin_UTILITIES, grub_mkimage_SOURCES) + (grub_mkimage_LDFLAGS, util/elf/grub-mkimage.c_DEPENDENCIES): Remove. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + + * kern/ieee1275/init.c: Include `'. + * kern/i386/coreboot/init.c: Likewise. + + * kern/i386/ieee1275/startup.S: Replace `' + with `'. + (GRUB_KERNEL_MACHINE_PREFIX, GRUB_KERNEL_MACHINE_DATA_END): Renamed + to ... + (GRUB_KERNEL_CPU_PREFIX, GRUB_KERNEL_CPU_DATA_END): ... this. + * kern/i386/coreboot/startup.S: Likewise. + + * include/grub/powerpc/ieee1275/kernel.h (GRUB_MOD_ALIGN) + (GRUB_MOD_GAP): Remove. + * include/grub/powerpc/kernel.h: New file. + * include/grub/i386/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_PREFIX) + (GRUB_KERNEL_MACHINE_DATA_END): Remove. + * include/grub/i386/kernel.h: New file. + * include/grub/i386/coreboot/kernel.h (GRUB_MOD_ALIGN) + (GRUB_MOD_GAP, GRUB_KERNEL_MACHINE_PREFIX) + (GRUB_KERNEL_MACHINE_DATA_END): Remove. + + * util/ieee1275/grub-install.in (grub_mkimage): Initialize to use + `grub-mkelfimage'. + Use --directory when invoking grub_mkimage. + + * util/elf/grub-mkimage.c: Include `'. + (add_segments): Replace GRUB_KERNEL_MACHINE_DATA_END and + GRUB_KERNEL_MACHINE_PREFIX with GRUB_KERNEL_CPU_DATA_END + and GRUB_KERNEL_CPU_PREFIX. + +2008-08-14 Felix Zielcke + + * include/grub/err.h (grub_err_printf): New function prototype. + * util/misc.c (grub_err_printf): New function. + * kern/misc.c [! GRUB_UTIL] (grub_err_printf): New alias for + grub_printf. + * kern/err.c (grub_print_error): Use grub_err_printf. + +2008-08-13 Robert Millan + + * docs/grub.cfg: Remove `/dev/' prefix in GNU/Hurd boot entry. + +2008-08-13 Robert Millan + + * docs/grub.cfg: Use the native device name for the example GNU/Hurd + boot entry. + +2008-08-12 Robert Millan + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Move part + of the relocation code from here ... + (grub_multiboot): ... to here. + (forward_relocator, backward_relocator): Move from here ... + * kern/i386/loader.S (grub_multiboot_forward_relocator) + (grub_multiboot_backward_relocator): ... to here. + (grub_multiboot_real_boot): Use %edx for entry offset. Put Multiboot + magic in %eax. Use %ebp for jumping (so %edx is not trashed). + * include/grub/i386/loader.h (grub_multiboot_forward_relocator) + (grub_multiboot_forward_relocator_end) + (grub_multiboot_backward_relocator) + (grub_multiboot_backward_relocator_end): New variables. + +2008-08-12 Bean + + * disk/raid.c (grub_raid_read): Fix a bug in raid0 code. + +2008-08-11 Robert Millan + + * kern/i386/linuxbios/startup.S: Move from here ... + * kern/i386/coreboot/startup.S: ... to here. + + * kern/i386/linuxbios/init.c: Move from here ... + * kern/i386/coreboot/init.c: ... to here. + + * kern/i386/linuxbios/table.c: Move from here ... + * kern/i386/coreboot/mmap.c: ... to here. + + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Update moved files. + +2008-08-11 Robert Millan + + * kern/device.c (grub_device_open): Do not handle grub_disk_open() + errors. Leave it to the upper layer to handle them. + +2008-08-09 Christian Franke + + * Makefile.in: Add `target_os' and `enable_grub_pe2elf'. + * conf/common.rmk: Install `grub-pe2elf' only if requested. + Install `grub.d/10_windows' only on Cygwin. + * configure.ac: Add subst of `target_os'. + Check `target_os' also before setting TARGET_OBJ2ELF. + Add `--enable-grub-pe2elf'. + +2008-08-08 Robert Millan + + * kern/disk.c: Replace `' with `'. + (grub_last_time): Change type to grub_uint64_t. + (grub_disk_open): Migrate code from to using grub_get_time_ms(). + (grub_disk_close): Likewise. + + * normal/menu.c: Replace `' with `'. + (run_menu): Migrate code from to using grub_get_time_ms(). + + * util/misc.c (grub_get_time_ms): New function. + +2008-08-08 Marco Gerards + + * disk/ata.c (grub_ata_regget): Change return type to + `grub_uint8_t'. + (grub_ata_regget2): Likewise. + (grub_ata_wait_status): New function. + (grub_ata_wait_busy): Removed function, updated all users to use + `grub_ata_wait_status'. + (grub_ata_wait_drq): Likewise. + (grub_ata_cmd): New function. + (grub_ata_pio_read): Change return type to `grub_uint8_t'. Add + error handling. + (grub_ata_pio_write): Add error handling. + (grub_atapi_identify): Likewise. + (grub_atapi_packet): Use `grub_ata_cmd' and improve error + handling. + (grub_ata_identify): Use `grub_ata_cmd' and improve error + handling. Actually use the detected registers. Reorder the + detection logic such that it is easier to read. + (grub_ata_pciinit): Do not assign the same ID to each controller. + (grub_ata_setaddress): Use `grub_ata_cmd' and improve error + handling. + (grub_atapi_readsector): Check the result of `grub_ata_pio_read'. + + * include/grub/err.h (grub_err_t): Add `GRUB_ERR_TIMEOUT'. + +2008-08-08 Marco Gerards + + * NEWS: Update. + +2008-08-07 Bean + + * include/grub/x86_64/pci.h: New file. + +2008-08-07 Christian Franke + + * kern/i386/pit.c (TIMER2_SPEAKER): New define. + (TIMER2_GATE): Likewise. + (grub_pit_wait): Add enable/disable of the timer2 gate + bit of port 0x61. This fixes a possible infinite loop. + +2008-08-07 Bean + + * conf/x86_64-efi.rmk (kernel_mod_SOURCES): Add kern/time.c, + kern/i386/tsc.c and kern/i386/pit.c. + + * include/grub/i386/tsc.h (grub_cpu_is_cpuid_supported): Handle + x86_64 platform. + + * kern/i386/efi/init.c: Replace with + . + + * kern/i386/pit.c: Replace with . + +2008-08-07 Bean + + * conf/i386-efi.rmk (kernel_mod_SOURCES): Add kern/time.c. + + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add kern/time.c, + + * include/grub/i386/pit.h: Use macro KERNEL_CPU_PIT_HEADER to avoid + multiple inclusion. Add #include . + +2008-08-06 Christian Franke + + * conf/common.rmk: Build and install `10_windows'. + * util/grub.d/10_windows.in: New script. + +2008-08-06 Pavel Roskin + + * kern/i386/pit.c: Include `'. + +2008-08-06 Robert Millan + + * conf/i386-coreboot.rmk (kernel_elf_ASFLAGS): New variable. + * kern/i386/tsc.c: Include `'. + +2008-08-06 Bean + + * fs/i386/pc/pxe.c (grub_pxe_data): New member block_size. + (grub_pxefs_fs_int): Remove dummy definition. + (grub_pxefs_open): Use data->block_size to store the current block + size setting. + (grub_pxefs_read): Use block size stored in data->block_size. As the + value of grub_pxe_blksize can be changed after the file is opened. + +2008-08-06 Bean + + * fs/i386/pc/pxe.c (curr_file): new variable. + (grub_pxefs_open): Simply the handling of pxe file system. Don't + require the dummy internal file system anymore. + (grub_pxefs_read): Removed. + (grub_pxefs_close): Likewise. + (grub_pxefs_fs_int): Likewise. + (grub_pxefs_read_int): Renamed to grub_pxefs_read. Reinitialize tftp + connection when we switch file. + (grub_pxefs_close_int): Renamed to grub_pxefs_close. + +2008-08-06 Robert Millan + + * conf/i386-coreboot.rmk (pkglib_MODULES): Add `reboot.mod' and + `halt.mod'. + (reboot_mod_SOURCES, reboot_mod_CFLAGS, reboot_mod_LDFLAGS) + (halt_mod_SOURCES, halt_mod_CFLAGS, halt_mod_LDFLAGS): New variables. + + * kern/i386/halt.c: New file. + * kern/i386/reboot.c: Likewise. + * include/grub/i386/reboot.h: Likewise. + * include/grub/i386/halt.h: Likewise. + + * commands/halt.c [! GRUB_MACHINE_IEEE1275 ! GRUB_MACHINE_EFI]: + Include `'. + * commands/reboot.c [! GRUB_MACHINE_IEEE1275 ! GRUB_MACHINE_EFI] + [! GRUB_MACHINE_PCBIOS]: Include `'. + + * term/i386/pc/at_keyboard.c: Include `'. + (SHIFT_L, SHIFT_R, CTRL, ALT, CAPS_LOCK, KEYBOARD_REG_DATA) + (KEYBOARD_REG_STATUS, KEYBOARD_COMMAND_ISREADY, KEYBOARD_COMMAND_READ) + (KEYBOARD_COMMAND_WRITE, KEYBOARD_COMMAND_REBOOT) + (KEYBOARD_SCANCODE_SET1, KEYBOARD_ISMAKE, KEYBOARD_ISREADY) + (KEYBOARD_SCANCODE, OLPC_UP, OLPC_DOWN, OLPC_LEFT, OLPC_RIGHT): Move + from here ... + * include/grub/i386/at_keyboard.h: ... to here. + +2008-08-05 Robert Millan + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/i386/pit.c'. + * conf/i386-efi.rmk (kernel_mod_SOURCES): Likewise. + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Likewise. Also add + `kern/i386/tsc.c', `kern/generic/rtc_get_time_ms.c' and + `kern/generic/millisleep.c'. + + * kern/i386/tsc.c (calibrate_tsc): Rewrite using grub_pit_wait() + instead of grub_get_rtc(). + (grub_tsc_init): Initialize `tsc_boot_time'. + + * kern/i386/linuxbios/init.c (grub_millisleep): Remove stub. + (grub_machine_init): Use grub_tsc_init() rather than + installing an RTC-based handler via grub_install_get_time_ms(). + + * kern/i386/pit.c: New file. + * include/grub/i386/pit.h: Likewise. + +2008-08-05 Bean + + * boot/i386/pc/pxeboot.S (_start): Use drive number 0x7F for pxe. + + * conf/i386-pc.rmk (kernel_img_HEADERS): Add machine/pxe.h. + (pkglib_MODULES): Add pxe.mod and pxecmd.mod. + (pxe_mod_SOURCES): New macro. + (pxe_mod_CFLAGS): Likewise. + (pxe_mod_LDFLAGS): Likewise. + (pxecmd_mod_SOURCES): Likewise. + (pxecmd_mod_CFLAGS): Likewise. + (pxecmd_mod_LDFLAGS): Likewise. + + * kern/i386/pc/startup.S (grub_pxe_scan): New function. + (grub_pxe_call): Likewise. + + * include/grub/disk.h (grub_disk_dev_id): Add GRUB_DISK_DEVICE_PXE_ID. + + * commands/i386/pc/pxecmd.c: New file. + + * fs/i386/pc/pxe.c: Likewise. + + * include/grub/i386/pc/pxe.h: Likewise. + +2008-08-05 Bean + + * util/console.c (grub_console_cur_color): New variable. + (grub_console_standard_color): Likewise. + (grub_console_normal_color): Likewise. + (grub_console_highlight_color): Likewise. + (color_map): Likewise. + (use_color): Likewise. + (NUM_COLORS): New macro. + (grub_ncurses_setcolorstate): Handle color properly. + (grub_ncurses_setcolor): Don't change color here, just remember the + settings, color will be set in grub_ncurses_setcolorstate. + (grub_ncurses_getcolor): New function. + (grub_ncurses_init): Initialize color pairs. + (grub_ncurses_term): New member grub_ncurses_getcolor. + +2008-08-05 Colin D Bennett + + High resolution timer support. Implemented for x86 CPUs using TSC. + Extracted generic grub_millisleep() so it's linked in only as needed. + This requires a Pentium compatible CPU; if the RDTSC instruction is + not supported, then it falls back on the generic grub_get_time_ms() + implementation that uses the machine's RTC. + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/time.c', + `kern/i386/tsc.c', `kern/generic/rtc_get_time_ms.c' and + `kern/generic/millisleep.c'. + + * conf/i386-efi.rmk (kernel_mod_SOURCES): Add `kern/i386/tsc.c', + `kern/generic/rtc_get_time_ms.c' and `kern/generic/millisleep.c'. + + * conf/x86_64-efi.rml (kernel_mod_SOURCES): Add + `kern/generic/millisleep.c' and `kern/generic/rtc_get_time_ms.c'. + + * conf/sparc64-ieee1275.rmk (kernel_elf_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add + `kern/generic/millisleep.c'. + + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Likewise. + + * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Add `kern/time.c'. + + * kern/generic/rtc_get_time_ms.c: New file. + + * kern/generic/millisleep.c: New file. + + * kern/misc.c: Don't include + anymore. + (grub_millisleep_generic): Removed. + + * commands/sleep.c (grub_interruptible_millisleep): Uses + grub_get_time_ms() instead of grub_get_rtc(). + + * include/grub/i386/tsc.h (grub_get_tsc): New file. New inline + function. + (grub_cpu_is_cpuid_supported): New inline function. + (grub_cpu_is_tsc_supported): New inline function. + (grub_tsc_init): New function prototype. + (grub_tsc_get_time_ms): New function prototype. + + * kern/i386/tsc.c (grub_get_time_ms): New file. + + * include/grub/time.h: Include . Don't include + anymore. + (grub_millisleep): Removed. + (grub_machine_init): Call grub_tsc_init. + + * kern/i386/linuxbios/init.c (grub_machine_init): Install the RTC + get_time_ms() implementation. + + * kern/sparc64/ieee1275/init.c (grub_millisleep): Removed. + (ieee1275_get_time_ms): New function. + (grub_machine_init): Install get_time_ms() implementation. + + * kern/i386/pc/init.c: Include . + (grub_machine_init): Call grub_tsc_init(). + (grub_millisleep): Removed. + + * kern/ieee1275/init.c (grub_millisleep): Removed. + (grub_machine_init): Install ieee1275_get_time_ms() + implementation. + (ieee1275_get_time_ms): New function. + (grub_get_rtc): Now calls ieee1275_get_time_ms(), which does the + real work. + +2008-08-05 Marco Gerards + + * disk/ata.c: Include . + (enum grub_ata_commands): Add `GRUB_ATA_CMD_EXEC_DEV_DIAGNOSTICS'. + (grub_ata_initialize): Rewritten. + (grub_ata_device_initialize): New function. + +2008-08-04 Pavel Roskin + + * kern/main.c: Include grub/mm.h. + +2008-08-04 Robert Millan + + * conf/i386-coreboot.rmk (COMMON_ASFLAGS, COMMON_CFLAGS) + (COMMON_LDFLAGS): Harmonize with i386-pc version (fixes a code + corruption problem). + +2008-08-04 Robert Millan + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Fix misc + warnings introduced in my last commit. + +2008-08-03 Robert Millan + + Make PCI available on all i386 architectures. + + * include/grub/i386/pc/pci.h: Move from here ... + * include/grub/i386/pci.h: ... to here. + + * include/grub/i386/pc/pci.h: Remove. + * include/grub/i386/efi/pci.h: Remove. + * include/grub/x86_64/efi/pci.h: Remove. + + * include/grub/pci.h: Replace `' with + `'. + + * conf/i386-coreboot.rmk (pkglib_MODULES): Add `pci' and `lspci'. + (pci_mod_SOURCES, pci_mod_CFLAGS, pci_mod_LDFLAGS, lspci_mod_SOURCES) + (lspci_mod_CFLAGS, lspci_mod_LDFLAGS): New variables. + + * conf/i386-ieee1275.rmk: Likewise. + +2008-08-03 Robert Millan + + * term/i386/pc/vga_text.c (CRTC_CURSOR_DISABLE): New macro. + (grub_console_setcursor): Make it possible to set cursor off. + +2008-08-03 Robert Millan + + * util/grub.d/00_header.in: Be platform-agnostic. Probe for existence + of modules instead of assuming which platform provides what. + * util/update-grub.in: Likewise. + +2008-08-03 Robert Millan + + * kern/i386/pc/init.c (make_install_device): Check for `grub_prefix' + instead of `grub_install_dos_part' to determine whether a drive needs + to be prepended to prefix (`grub_install_dos_part' is not reliable, + because it can be overridden when loading GRUB via Multiboot). + +2008-08-02 Robert Millan + + * util/i386/pc/grub-install.in: Remove trailing slash from prefix. + +2008-08-02 Robert Millan + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Add a pair + of informational grub_dprintf() calls. + +2008-08-02 Robert Millan + + * disk/memdisk.c (memdisk_size): Don't initialize. + (GRUB_MOD_INIT(memdisk)): Find memdisk using grub_module_iterate(). + + * include/grub/i386/pc/kernel.h + (GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE): Remove macro. + (GRUB_KERNEL_MACHINE_PREFIX, GRUB_KERNEL_MACHINE_DATA_END): Shift. + (grub_memdisk_image_size, grub_arch_memdisk_addr) + (grub_arch_memdisk_size): Remove. + + * include/grub/kernel.h (struct grub_module_header): Remove `offset' + field (was only used to transfer a constant). Add `type' field to + support multiple module types. + (grub_module_iterate): New function. + + * kern/device.c (grub_device_open): Do not hide error messages + when grub_disk_open() fails. Use grub_print_error() instead. + + * kern/i386/pc/init.c (grub_arch_modules_addr) + (grub_arch_memdisk_size): Remove functions. + (grub_arch_modules_addr): Return the module address in high memory + (now that it isn't copied anymore). + + * kern/i386/pc/startup.S (grub_memdisk_image_size): Remove variable. + (codestart): Don't add grub_memdisk_image_size to %ecx in LZMA + decompression routine (grub_total_module_size already includes that + now). Don't copy modules back to low memory. + + * kern/main.c: Include `'. + (grub_load_modules): Split out (and use) ... + (grub_module_iterate): ... this function, which iterates through + module objects and runs a hook. + Comment out grub_mm_init_region() call, as it would cause non-ELF + modules to be overwritten. + + * util/i386/pc/grub-mkimage.c (generate_image): Instead of appending + the memdisk image in its own region, make it part of the module list. + * util/elf/grub-mkimage.c (options): Add "memdisk"|'m' option. + (main): Parse --memdisk|-m option, and pass user-provided path as + parameter to generate_image(). + (add_segments): Pass `memdisk_path' down to load_modules(). + (load_modules): Embed memdisk image in module section when requested. + * util/i386/efi/grub-mkimage.c (make_mods_section): Initialize + `header.type' instead of `header.offset'. + + * conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add `memdisk.mod'. + (memdisk_mod_SOURCES, memdisk_mod_CFLAGS) + (memdisk_mod_LDFLAGS): New variables. + * conf/i386-coreboot.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + +2008-08-02 Robert Millan + + * loader/i386/pc/multiboot.c (playground, forward_relocator) + (backward_relocator): New variables. Used to allocate and relocate + the payload, respectively. + (grub_multiboot_load_elf32): Load into heap instead of requested + address, install the appropriate relocator code in each bound of + the payload, and set the entry point such that + grub_multiboot_real_boot() will jump to one of them. + + * kern/i386/loader.S (grub_multiboot_payload_size) + (grub_multiboot_payload_orig, grub_multiboot_payload_dest) + (grub_multiboot_payload_entry_offset): New variables. + (grub_multiboot_real_boot): Set cpu context to what the relocator + expects, and jump to the relocator instead of the payload. + + * include/grub/i386/loader.h (grub_multiboot_payload_size) + (grub_multiboot_payload_orig, grub_multiboot_payload_dest) + (grub_multiboot_payload_entry_offset): Export. + +2008-08-01 Bean + + * normal/menu_entry.c (editor_getline): Don't return the original + string as result, as it will be released by lexer once it has done + using it. + +2008-08-01 Robert Millan + + * util/grub.d/10_linux.in: Use prepare_grub_to_access_device() from + within menuentries, not before them. + util/grub.d/10_hurd.in: Likewise. + +2008-08-01 Bean + + * conf/common.rmk (pkglib_MODULES): Add bufio.mod. + (bufio_mod_SOURCES): New macro. + (bufio_mod_CFLAGS): Likewise. + (bufio_mod_LDFLAGS): Likewise. + + * include/grub/bufio.h: New file. + + * io/bufio.c: Likewise. + + * video/png.c: Replace with . + (grub_video_reader_png): Use grub_buffile_open to open file. + + * video/jpeg.c: Replace with . + (grub_video_reader_jpeg): Use grub_buffile_open to open file. + + * video/tga.c: Replace with . + (grub_video_reader_tga): Use grub_buffile_open to open file. + + * font/manager.c: Include . + (add_font): Use grub_buffile_open to open file. + +2008-07-31 Robert Millan + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): When loading + ELF segments, use a macro for arbitrarily accessing any of them instead + of preparing a pointer that allows access to one at a time. + (grub_multiboot_load_elf64): Likewise. + +2008-07-31 Bean + + * boot/i386/pc/lnxboot.S (real_code_2): Replace 0x50 with + GRUB_KERNEL_MACHINE_DATA_END. + +2008-07-30 Robert Millan + + * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_DATA_END): + Increase from 0x50 to 0x60. + * util/i386/pc/grub-install.in: Detect cross-disk installs, and + use UUIDs to identify the root drive for them. If that's not + possible, abort. + * util/i386/pc/grub-setup.c (setup): Do not special-case, or even + check, for cross-disk installs. + +2008-07-30 Robert Millan + + * kern/ieee1275/init.c (grub_machine_set_prefix): If `grub_prefix' + is non-empty, use it to set the `prefix' environment variable instead + of the usual approach. + * kern/i386/linuxbios/init.c (make_install_device): Remove function. + (grub_machine_set_prefix): Use `grub_prefix' to set the `prefix' + environment variable instead of dummy make_install_device(). + + * kern/i386/ieee1275/startup.S: Include `'. + (start): Insert a data section, with `grub_prefix' variable. + * kern/i386/linuxbios/startup.S: Likewise. + + * include/grub/powerpc/ieee1275/kernel.h [!ASM_FILE] (grub_prefix): + New variable reference. + * include/grub/i386/ieee1275/kernel.h (GRUB_KERNEL_MACHINE_PREFIX): + New macro. Defines offset of `grub_prefix' within startup.S (relative + to `start'). + (GRUB_KERNEL_MACHINE_DATA_END): New macro. Defines the end of data + section within startup.S (relative to `start'). + * include/grub/i386/coreboot/kernel.h: Likewise. + + * util/elf/grub-mkimage.c (add_segments): Receive `prefix' parameter. + Overwrite grub_prefix with its contents, at the beginning of the + first segment. + (main): Understand -p|--prefix. + +2008-07-30 Robert Millan + + * util/grub.d/10_hurd.in: Source ${libdir}/grub/update-grub_lib. + +2008-07-30 Robert Millan + + * term/i386/pc/vga_text.c (grub_console_cls): Use + grub_console_gotoxy() to go back to beginning of the screen. + Found by Patrick Georgi + +2008-07-29 Christian Franke + + * util/update-grub_lib.in (make_system_path_relative_to_its_root): + Add conversion of emulated mount points on Cygwin. + +2008-07-29 Christian Franke + + * util/update-grub.in: Add a check for admin + group on Cygwin. + Remove old `grub.cfg.new' before creation. + Add `-f' to `mv' to handle the different filesystem + semantics of Windows. + +2008-07-29 Bean + + * normal/main.c (get_line): Fix buffer overflow bug. + +2008-07-28 Robert Millan + + * partmap/apple.c (GRUB_APPLE_HEADER_MAGIC): New macro. + (struct grub_apple_header): New struct. Describes the layout of + the partmap header. + (apple_partition_map_iterate): Check the header magic as well as the + partition magic (which was already being checked). + +2008-07-28 Pavel Roskin + + * genmk.rb: Add a warning to the beginning of the output that + it's a generated file and should not be edited. + +2008-07-28 Robert Millan + + * disk/raid.c (grub_raid_scan_device): Do not abort when two disks + with the same number are found, just use issue a warning with + grub_dprintf(), as this error has been reported to be non-fatal. + +2008-07-27 Robert Millan + + * disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging + information. + +2008-07-27 Bean + + * fs/fat.c (GRUB_FAT_MAXFILE): New constant. + (grub_fat_find_dir): Ignore case when comparing filename. + +2008-07-27 Bean + + * fs/xfs.c (grub_xfs_dir_header): Change field i8count back to + smallino, as it's more descriptive, and i8count can be confused with + the other field count. + (grub_xfs_iterate_dir): Adjust grub_xfs_dir_entry pointer for small + inode type. + +2008-07-27 Bean + + * commands/crc.c: New file. + + * lib/crc.c: Likewise. + + * include/grub/lib/crc.h: Likewise. + + * util/grub-fstest.c: grub/hexdump.h => grub/lib/hexdump.h. + + * commands/hexdump.c: grub/hexdump.h => grub/lib/hexdump.h. + (hexdump): Move this function to ... + + * lib/hexdump.c: ... here. + + * include/grub/hexdump.h: Renamed to ... + + * include/grub/lib/hexdump.h: ... this. + + * commands/loadenv.c: grub/envblk.h => grub/lib/envblk.h + + * util/grub-editenv.c: Likewise. + + * include/envblk.h: Renamed to ... + + * include/lib/envblk.h: ... this. + + * util/envblk.c: Renamed to ... + + * lib/envblk.c: ... this. + + * conf/common.rmk (grub_fstest_SOURCES): commands/hexdump.c => + lib/hexdump.c. + (grub_editenv_SOURCES): util/envblk.c => lib/envblk.c + (pkglib_MODULES): Add crc.mod. + (hexdump_mod_SOURCES): Add lib/hexdump.c. + (loadenv_mod_SOURCES): util/envblk.c => lib/envblk.c. + (crc_mod_SOURCES): New macro. + (crc_mod_CFLAGS): Likewise. + (crc_mod_LDFLAGS): Likewise. + + * conf/i386-coreboot.rmk (grub_emu_SOURCES): Add lib/hexdump.c. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise. + +2008-07-27 Felix Zielcke + + * commands/help.c: Include . + (TERM_WIDTH): Removed. Updated all users. + +2008-07-27 Pavel Roskin + + * util/getroot.c (find_root_device): Rephrase a comment to avoid + spurious warnings about a comment within a comment. + +2008-07-25 Robert Millan + + * util/getroot.c (find_root_device): Skip devices that match + /dev/dm-[0-9]. This lets the real device be found for any type of + abstraction (LVM, EVMS, RAID..). + (grub_guess_root_device): Do not traverse /dev/mapper (for LVM) + and /dev/evms (for EVMS) before traversing /dev. If a /dev/dm-[0-9] + device is found first, find_root_device() will now skip it. + +2008-07-24 Pavel Roskin + + * include/grub/types.h: Use __builtin_bswap32() and + __builtin_bswap64() with gcc 4.3 and newer. + +2008-07-24 Christian Franke + + * util/i386/pc/grub-install.in: If `--debug' is specified, + pass `--verbose' to grub-setup. + Abort script if make_system_path_relative_to_its_root() fails. + +2008-07-24 Bean + + * configure.ac: Fixed a bug caused by the previous cygwin patch, + variable `target_platform' should be `platform'. + +2008-07-24 Bean + + * video/reader/png.c (DEFLATE_HLIT_MAX): Change value. + (grub_png_init_fixed_block): New function. + (grub_png_decode_image_data): Handle fixed huffman code compression. + +2008-07-24 Bean + + * common.rmk (bin_UTILITIES): Add grub-pe2elf. + (grub_pe2elf_SOURCES): New macro. + (CLEANFILES): Add grub-pe2elf. + + * include/grub/efi/pe32.h (GRUB_PE32_SCN_ALIGN_1BYTES): New constant. + (GRUB_PE32_SCN_ALIGN_2BYTES): Likewise. + (GRUB_PE32_SCN_ALIGN_4BYTES): Likewise. + (GRUB_PE32_SCN_ALIGN_8BYTES): Likewise. + (GRUB_PE32_SCN_ALIGN_16BYTES): Likewise. + (GRUB_PE32_SCN_ALIGN_32BYTES): Likewise. + (GRUB_PE32_SCN_ALIGN_64BYTES): Likewise. + (GRUB_PE32_SCN_ALIGN_SHIFT): Likewise. + (GRUB_PE32_SCN_ALIGN_MASK): Likewise. + (GRUB_PE32_SYM_CLASS_EXTERNAL): Likewise. + (GRUB_PE32_SYM_CLASS_STATIC): Likewise. + (GRUB_PE32_SYM_CLASS_FILE): Likewise. + (GRUB_PE32_DT_FUNCTION): Likewise. + (GRUB_PE32_REL_I386_DIR32): Likewise. + (GRUB_PE32_REL_I386_REL32): Likewise. + (grub_pe32_symbol): New structure. + (grub_pe32_reloc): Likewise. + + * util/grub-pe2elf.c: New file. + + * configure.ac: Set TARGET_OBJ2ELF if host os is cygwin. Don't test for + start symbol in non pc platform. + + * genmk.rb: Use TARGET_OBJ2ELF to convert native object format to elf. + + The following patches are from Christian Franke. + + * include/grub/dl.h: Remove .previous, gas supports this only + for ELF format. + + * include/grub/symbol.h [__CYGWIN__] (#define FUNCTION/VARIABLE): + Remove .type, gas supports this only for ELF format. + + * kern/dl.c (grub_dl_resolve_dependencies): Add check for trailing + nullbytes in symbol table. This fixes an infinite loop if table is + zero filled. + + * Makefile.in: Add autoconf replacements TARGET_IMG_LDSCRIPT, + TARGET_IMG_LDFLAGS and EXEEXT. + + * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Replace -Wl,-N by + TARGET_IMG_LDFLAGS_AC. + (grub_CHECK_STACK_ARG_PROBE): New function. + + * conf/i386-pc.rmk: Replace -Wl,-N by TARGET_IMG_LDFLAGS. + + * conf/i386-pc-cygwin-ld-img.sc: New linker script. + + * configure.ac: Add check for linker script "conf/${target}-img-ld.c" + to set TARGET_IMG_LD* accordingly. + Add check for Cygwin to set TARGET_MOD_OBJCOPY accordingly. + Add call to grub_CHECK_STACK_ARG_PROBE. + Use TARGET_IMG_LDFLAGS to check start, bss_start, end symbols. + + * genkernsyms.sh.in: Handle HAVE_ASM_USCORE case. + + * genmk.rb: Add EXEEXT to CLEANFILES. + +2008-07-23 Robert Millan + + * Makefile.in (UNICODE_ARROWS, UNICODE_LINES): New variables (they + define the codes for arrows and lines used for the menu). + (ascii.pff): Generate fonts for $(UNICODE_ARROWS) and $(UNICODE_LINES) + as well. + + * util/update-grub_lib.in (font_path): Prefer ascii.pff over complete + fonts, because the latter are too slow. + +2008-07-21 Bean + + * kern/i386/pc/startup.S (gate_a20_try_bios): Change test order for + a20. Run keyboard test last, as it will cause macbook to halt. + +2008-07-18 Pavel Roskin + + * kern/dl.c: Go back to using GRUB_CPU_SIZEOF_VOID_P. We cannot + load foreign architecture modules correctly anyway. Keep + support for loading host architecture modules, whether we + compile them or not. + +2008-07-17 Pavel Roskin + + * configure.ac: Use -m32 or -m64 regardless of whether we had to + change target_cpu. The compiler default can mismatch target_cpu + in any case. + + * disk/efi/efidisk.c: Fix format warnings on x86_64. + * kern/efi/efi.c: Likewise. + + * aclocal.m4 (grub_PROG_TARGET_CC): New macro. Check if the + target compiler is functional. + * configure.ac: Call grub_PROG_TARGET_CC once all target flags + are set up. + + * configure.ac: Default to efi platform for x86_64-apple. Allow + powerpc64 CPU, default to ieee1275 platform for it. Split CPU + adjustments from the rest, only do them if target is not + explicitly given. Merge other adjustments with the final sanity + check. Remove an extraneous check for supported CPU. Be + specific which CPU and which platform is not supported. + + * configure.ac: Default to pc platform for x86_64. + +2008-07-17 Robert Millan + + Partial LinuxBIOS -> Coreboot rename. + + * conf/i386-linuxbios.rmk: Renamed to ... + * conf/i386-coreboot.rmk: ... this. + * Makefile.in (RMKFILES): s/i386-linuxbios.rmk/i386-coreboot.rmk/g. + * configure.ac: Accept "coreboot" as input platform (but maintain + compatibility with "linuxbios"). + * include/grub/i386/linuxbios: Renamed to ... + * include/grub/i386/coreboot: ... this. + +2008-07-17 Bean + + * conf/i386/efi.rmk (pkglib_MODULES): add pci.mod and lspci.mod. + (appleldr_mod_SOURCE): New variable. + (appleldr_mod_CFLAGS): Likewise. + (appleldr_mod_LDFLAGS): Likewise. + (pci_mod_SOURCES): Likewise. + (pci_mod_CFLAGS): Likewise. + (pci_mod_LDFLAGS): Likewise. + (lspci_mod_SOURCES): Likewise. + (lspci_mod_CFLAGS): Likewise. + (lspci_mod_LDFLAGS): Likewise. + + * conf/x86_64-efi.rmk: New file. + + * disk/efi/efidisk.c (grub_efidisk_read): Wrap efi calls with efi_call_N + macro. + (grub_efidisk_write): Likewise. + + * include/efi/api.h (efi_call_0): New macro. + (efi_call_1): Likewise. + (efi_call_2): Likewise. + (efi_call_3): Likewise. + (efi_call_4): Likewise. + (efi_call_5): Likewise. + (efi_call_6): Likewise. + + * include/grub/efi/chainloader.h (grub_chainloader_cmd): Rename to + grub_rescue_cmd_chainloader. + + * include/grub/efi/pe32.h (GRUB_PE32_MACHINE_X86_64): New macro. + (grub_pe32_optional_header): Change some fields based on i386 or + x86_64 platform. + (GRUB_PE32_PE32_MAGIC): Likewise. + + * include/grub/efi/uga_draw.h: New file. + + * include/grub/elf.h (STN_ABS): New constant. + (R_X86_64_NONE): Relocation constant for x86_64. + (R_X86_64_64): Likewise. + (R_X86_64_PC32): Likewise. + (R_X86_64_GOT32): Likewise. + (R_X86_64_PLT32): Likewise. + (R_X86_64_COPY): Likewise. + (R_X86_64_GLOB_DAT): Likewise. + (R_X86_64_JUMP_SLOT): Likewise. + (R_X86_64_RELATIVE): Likewise. + (R_X86_64_GOTPCREL): Likewise. + (R_X86_64_32): Likewise. + (R_X86_64_32S): Likewise. + (R_X86_64_16): Likewise. + (R_X86_64_PC16): Likewise. + (R_X86_64_8): Likewise. + (R_X86_64_PC8): Likewise. + + * include/grub/i386/efi/pci.h: New file. + + * include/grub/i386/linux.h (GRUB_LINUX_EFI_SIGNATURE): + Change it value based on platform. + (GRUB_LINUX_EFI_SIGNATURE_0204): New constant. + (GRUB_E820_RAM): Likewise. + (GRUB_E820_RESERVED): Likewise. + (GRUB_E820_ACPI): Likewise. + (GRUB_E820_NVS): Likewise. + (GRUB_E820_EXEC_CODE): Likewise. + (GRUB_E820_MAX_ENTRY): Likewise. + (grub_e820_mmap): New structure. + (linux_kernel_header): Change the efi field according to different + kernel version, also field from linux_kernel_header. + + * include/grub/kernel.h (grub_module_info): Add padding for x86_64. + + * include/grub/pci.h (GRUB_PCI_ADDR_SPACE_MASK): New constant. + (GRUB_PCI_ADDR_SPACE_MEMORY): Likewise. + (GRUB_PCI_ADDR_SPACE_IO): Likewise. + (GRUB_PCI_ADDR_MEM_TYPE_MASK): Likewise. + (GRUB_PCI_ADDR_MEM_TYPE_32): Likewise. + (GRUB_PCI_ADDR_MEM_TYPE_1M): Likewise. + (GRUB_PCI_ADDR_MEM_TYPE_64): Likewise. + (GRUB_PCI_ADDR_MEM_PREFETCH): Likewise. + (GRUB_PCI_ADDR_MEM_MASK): Likewise. + (GRUB_PCI_ADDR_IO_MASK): Likewise. + + * include/grub/x86_64/efi/kernel.h: New file. + + * include/grub/x86_64/efi/loader.h: Likewise. + + * include/grub/x86_64/efi/machine.h: Likewise. + + * include/grub/x86_64/efi/pci.h: Likewise. + + * include/grub/x86_64/efi/time.h: Likewise. + + * include/grub/x86_64/linux.h: Likewise. + + * include/grub/x86_64/setjmp.h: Likewise. + + * include/grub/x86_64/time.h: Likewise. + + * include/grub/x86_64/types.h: Likewise. + + * kern/dl.c (GRUB_CPU_SIZEOF_VOID_P): Changed to + GRUB_TARGET_SIZEOF_VOID_P. + + * kern/efi/efi.c (grub_efi_locate_protocol): Wrap efi calls. + (grub_efi_locate_handle): Likewise. + (grub_efi_open_protocol): Likewise. + (grub_efi_set_text_mode): Likewise. + (grub_efi_stall): Likewise. + (grub_exit): Likewise. + (grub_reboot): Likewise. + (grub_halt): Likewise. + (grub_efi_exit_boot_services): Likewise. + (grub_get_rtc): Likewise. + + * kern/efi/mm.c (MEMORY_MAP_SIZE): Change to 0x3000 for new models. + (GRUB_CPU_SIZEOF_VOID_P): Changed to GRUB_TARGET_SIZEOF_VOID_P. + (grub_efi_allocate_pages): Wrap efi calls. + (grub_efi_free_pages): Wrap efi calls. + (grub_efi_get_memory_map): Wrap efi calls. + + * kern/x86_64/dl.c: New file. + + * kern/x86_64/efi/callwrap.S: Likewise. + + * kern/x86_64/efi/startup.S: Likewise. + + * loader/efi/appleloader.c: Likewise. + + * loader/efi/chainloader.c (cmdline): New variable. + (grub_chainloader_unload): Wrap efi calls. + (grub_chainloader_boot): Likewise. + (grub_rescue_cmd_chainloader): Wrap efi calls, handle + command line. + + * loader/efi/chainloader_normal.c (chainloader_command): + Change grub_chainloader_cmd to grub_rescue_cmd_chainloader, pass + command line. + + * loader/i386/efi/linux.c (allocate_pages): Change allocation + method. + (grub_e820_add_region): New function. + (grub_linux_boot): Construct e820 map from efi map, handle x86_64 + booting. + (grub_find_video_card): New function. + (grub_linux_setup_video): New function. + (grub_rescue_cmd_linux): Probe for video information. + + * normal/x86_64/setjmp.S: New file. + + * term/efi/console.c (map_char): New function. + (grub_console_putchar): Map unicode char. + (grub_console_checkkey): Wrap efi calls. + (grub_console_getkey): Likewise. + (grub_console_getwh): Likewise. + (grub_console_gotoxy): Likewise. + (grub_console_cls): Likewise. + (grub_console_setcolorstate): Likewise. + (grub_console_setcursor): Likewise. + + * util/i386/efi/grub-mkimage.c: Add support for x86_64. + +2008-07-16 Pavel Roskin + + * loader/i386/efi/linux.c (allocate_pages): Fix warnings in + format strings. + + * util/i386/efi/grub-mkimage.c (get_target_address): Return a + pointer, not an integer. This fixes a warning and prevents + precision loss on 64-bit systems. + (relocate_addresses): Remove unneeded cast. + +2008-07-15 Pavel Roskin + + * kern/i386/ieee1275/init.c: Include grub/cache.h. + + * term/ieee1275/ofconsole.c: Disable code unused on i386. + + * kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property): + Fix comparison between signed and unsigned. + + * include/grub/i386/ieee1275/console.h: Declare + grub_console_init() and grub_console_fini(). + + * loader/i386/ieee1275/linux.c (grub_set_bootpath): Remove. + It's empty and unused. + + * fs/ext2.c (grub_ext2_read_block): Initialize blknr in the + beginning to avoid warnings with some compilers. + + * loader/ieee1275/multiboot2.c: Include grub/machine/loader.h. + [__i386__] (grub_mb2_arch_boot): Avoid unnecessary cast. + +2008-07-14 Pavel Roskin + + * kern/env.c (grub_register_variable_hook): Don't copy empty + string, it leaks memory. Pass "" to grub_env_set(), it should + handle constant strings. + + * commands/blocklist.c (grub_cmd_blocklist): Fix format warning. + * commands/cmp.c (grub_cmd_cmp): Likewise. + * kern/dl.c (grub_dl_flush_cache): Likewise. + (grub_dl_load_core): Likewise. + * kern/elf.c (grub_elf32_load_phdrs): Likewise. + (grub_elf64_load_phdrs): Likewise. + +2008-07-13 Pavel Roskin + + * lib/LzmaEnc.c (LzmaEnc_SetProps): Fix warning about comparison + between signed and unsigned. + (LzmaEnc_Finish): Fix warning about an unused parameter. + +2008-07-13 Bean + + * Makefile.in (enable_lzo): New rule. + + * conf/i386-pc.rmk (grub_mkimage_SOURCES): New test with enable_lzo. + + * configure.ac (ENABLE_LZO): New option --enable-lzo. + + * boot/i386/pc/lnxboot.S: #include . + + * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): Change + its value according to the compression algorithm used, lzo or lzma. + + * util/i386/pc/grub-mkimage.c (compress_kernel): Use different + compression algorithm according to configure macro. + + * kern/i386/pc/startup.S (codestart): Likewise. + + * kern/i386/pc/lzma_decode.S: New file. + + * include/grub/lib/LzFind.h: Likewise. + + * include/grub/lib/LzHash.h: Likewise. + + * include/grub/lib/LzmaDec.h: Likewise. + + * include/grub/lib/LzmaEnc.h: Likewise. + + * include/grub/lib/LzmaTypes.h: Likewise. + + * lib/LzFind.c: Likewise. + + * lib/LzmaDec.c: Likewise. + + * lib/LzmaEnc.c: Likewise. + +2008-07-13 Bean + + * fs/ext2.c (EXT4_EXTENTS_FLAG): New macro. + (grub_ext4_extent_header): New structure. + (grub_ext4_extent): Likewise. + (grub_ext4_extent_idx): Likewise. + (grub_ext4_find_leaf): New function. + (grub_ext2_read_block): Handle extents. + +2008-07-12 Robert Millan + + * util/i386/pc/grub-mkrescue.in: s/grub-install/grub-mkrescue/g. + +2008-07-11 Robert Millan + + * util/grub.d/40_custom.in: New file. Example on how to add custom + entries to /etc/grub.d. + * conf/common.rmk (%, update-grub_SCRIPTS, CLEANFILES): Install + 40_custom (implicitly, by merging all the grub.d rules). + +2008-07-11 Pavel Roskin + + * commands/read.c (grub_getline): Fix invalid memory access. + Don't add newline to the variable value. + + * term/i386/pc/serial.c (GRUB_SERIAL_PORT_NUM): New constant. + [!GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Add COM2 and COM3. + (serial_hw_get_port): Check validity of the port number. + (grub_cmd_serial): Check return value of serial_hw_get_port(). + +2008-07-07 Pavel Roskin + + * boot/i386/pc/diskboot.S (notification_string): Replace + "Loading kernel" with just "loading". This is shorter, less + confusing and saves a few bytes for possible future changes. + +2008-07-05 Pavel Roskin + + * disk/ata.c (grub_ata_dumpinfo): Don't output addressing and + size for ATAPI devices, they are undefined. Output sector + number in decimal form. + + * disk/ata.c: Use named constants for status bits. + +2008-07-04 Pavel Roskin + + * kern/i386/linuxbios/init.c (grub_machine_init): Cast addr to + grub_addr_t before casting it to the void pointer to fix a + warning. Non-addressable regions are discarded earlier. + (grub_arch_modules_addr): Cast _end to grub_addr_t. + * kern/i386/linuxbios/table.c: Include grub/misc.h. + (check_signature): Don't shadow table_header. + (grub_linuxbios_table_iterate): Cast numeric constants to + grub_linuxbios_table_header_t. + * include/grub/i386/linuxbios/init.h: Add noreturn attribute to + grub_stop(). + + * kern/ieee1275/init.c: Cast _start and _end to grub_addr_t to + prevent warnings. + + * include/grub/misc.h (ALIGN_UP): Avoid unnecessary cast to a + pointer, which can cause warnings. Support 64-bit addresses. + + * util/elf/grub-mkimage.c: Use GRUB_TARGET_SIZEOF_LONG instead + of sizeof(long). This fixes PowerPC image generation on x86_64. + +2008-07-04 Robert Millan + + This fixes a performance issue when pc & gpt partmap iterators + didn't abort iteration even after our hook found what it was + looking for (often causing expensive probes of non-existent drives). + + Some callers relied on previous buggy behaviour, since they would + raise an error when their own hooks caused early abortion of its + iteration. + + * kern/device.c (grub_device_open): Improve error message. + * disk/lvm.c (grub_lvm_open): Likewise. + * disk/raid.c (grub_raid_open): Likewise. + + * partmap/pc.c (pc_partition_map_iterate): Abort parent iteration + when hook requests it, independently of grub_errno. + (pc_partition_map_probe): Do not fail when find_func() caused + early abortion of pc_partition_map_iterate(). + + * partmap/gpt.c (gpt_partition_map_iterate): Abort parent iteration + when hook requests it, independently of grub_errno. + (gpt_partition_map_probe): Do not fail when find_func() caused + early abortion of gpt_partition_map_iterate(). + + * kern/partition.c (grub_partition_iterate): Abort parent iteration + when hook requests it, independently of grub_errno. Do not fail when + part_map_iterate_hook() caused early abortion of p->iterate(). + + * util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Do not fail + when grub_partition_iterate() returned with non-zero. + +2008-07-03 Pavel Roskin + + * disk/ata.c (grub_ata_pio_write): Check status before writing, + like we do in grub_ata_pio_read(). + (grub_ata_readwrite): Always write individual sectors. Fix the + sector count for the remainder. + (grub_ata_write): Enable writing to ATA devices. Correctly + report error for ATAPI devices. + +2008-07-02 Pavel Roskin + + * boot/i386/pc/cdboot.S: Add _start entry to fix a linker + warning. + + * disk/ata.c (grub_ata_readwrite): Don't increment sector number + for every read sector, we already increment it for the whole + batch. This fixes reading more than 256 sectors at once. + + * util/grub-editenv.c (cmd_info): Cast argument to long + explicitly. ptrdiff_t reduces to int on i386. + + * util/grub-editenv.c (main): Be specific which parameter is + missing. + + * disk/memdisk.c (memdisk_addr): Make a pointer to fix warnings. + (memdisk): Make memdisk_orig_addr a pointer. + + * fs/reiserfs.c (grub_reiserfs_read): Fix misuse of grub_size_t + for file offsets, use grub_off_t instead. Fix printf format + warnings. + + * fs/reiserfs.c: Remove #warning, TODO list items don't belong + there. Real unexpected warnings should not drown in the noise + about known problems. + + * commands/hexdump.c (grub_cmd_hexdump): Fix misuse of + grub_disk_addr_t for memory addresses. + + * loader/aout.c (grub_aout_load): Cast load_addr to pointer + explicitly to fix a warning. + + * util/grub-editenv.c (cmd_info): Fix warning in printf format. + + * Makefile.in (MODULE_LDFLAGS): New variable. + * aclocal.m4 (grub_PROG_LD_BUILD_ID_NONE): New macro. Check if + the linker accepts --build-id=none. + * configure.ac: Call grub_PROG_LD_BUILD_ID_NONE. Substitute + MODULE_LDFLAGS. + * genmk.rb: Use MODULE_LDFLAGS when linking modules. + + * fs/xfs.c (struct grub_xfs_dir_header): Use names similar to + those in Linux XFS code. Provide a way to access 64-bit parent + inode. + (grub_xfs_iterate_dir): Use the new names. Avoid reading past + the end of struct grub_xfs_dir_header. + +2008-07-02 Bean + + * include/grub/ieee1275.h (grub_ieee1275_flag): New constant + GRUB_IEEE1275_FLAG_CANNOT_INTERPRET, GRUB_IEEE1275_FLAG_FORCE_CLAIM + and GRUB_IEEE1275_FLAG_NO_ANSI. + + * kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set flag + GRUB_IEEE1275_FLAG_CANNOT_INTERPRET, GRUB_IEEE1275_FLAG_FORCE_CLAIM + and GRUB_IEEE1275_FLAG_NO_ANSI for Open Hackware. + + * kern/ieee1275/ieee1275.c (grub_ieee1275_interpret): Return + immediately if GRUB_IEEE1275_FLAG_CANNOT_INTERPRET is set. + + * kern/ieee1275/init.c (grub_claim_heap): Claim memory directly if + GRUB_IEEE1275_FLAG_FORCE_CLAIM is set. + + * term/ieee1275/ofconsole.c (grub_ofconsole_writeesc): Don't output + esc sequence on non ANSI terminal. + (grub_ofconsole_gotoxy): Emulate backspace key on non ANSI terminal. + + * util/elf/grub-mkimage.c (add_segments): Move ELF header to the + beginning of file. + +2008-07-02 Bean + + * conf/common.rmk (bin_UTILITIES): Add grub-editenv. + (grub_editenv_SOURCES): New variable. + (pkglib_MODULES): Add loadenv.mod. + (loadenv_mod_SOURCES): New variable. + (loadenv_mod_CFLAGS): Likewise. + (loadenv_mod_LDFLAGS): Likewise. + + * include/grub/envblk.h: New file. + + * util/envblk.c: New file. + + * util/grub-editenv.c: New file. + + * commands/loadenv.c: New file. + +2008-07-01 Pavel Roskin + + * include/multiboot2.h (struct multiboot_tag_module): Use char, + not unsigned char. This fixes warnings and is consistent with + other tags. + + * disk/fs_uuid.c (search_fs_uuid): Correctly increment count. + + * normal/parser.y: Define YYENABLE_NLS as 0 to fix warnings. + + * term/tparm.c (analyze): Always set *popcount. + + * loader/i386/pc/linux.c (grub_rescue_cmd_linux): Remove useless + cast to fix a warning. + + * loader/i386/pc/multiboot2.c (grub_mb2_arch_module_alloc): Use + cast to suppress a warning. + + * fs/afs.c (grub_afs_read_block): Return grub_disk_addr_t, as + grub_fshelp_read_file() expects. + + * fs/fat.c: Fix UUID calculation on big-endian systems. We + write uuid as a 32-bit value in CPU byte order, so declare and + use it as such. + + * disk/raid.c: Cast grub_dprintf() arguments to unsigned long + long if the format specifier expects it. + * partmap/gpt.c (gpt_partition_map_iterate): Likewise. + * partmap/pc.c (pc_partition_map_iterate): Likewise. + * fs/ntfs.c (grub_ntfs_uuid): Cast data->uuid to unsigned long + long to fix a warning. + * fs/reiserfs.c (grub_reiserfs_read): Change casts in + grub_dprintf() arguments to fix warnings. + +2008-06-30 Pavel Roskin + + * util/i386/pc/grub-setup.c (setup): Write install_dos_part and + install_bsd_part immediately before core.img is embedded or + modified on disk. This fixes core.img verification if core.img + cannot be embedded. + + * util/i386/pc/grub-setup.c (setup): Use core_path_dev, not + core_path to calculate the blocklist. + Patch from Javier Martín + +2008-06-29 Robert Millan + + * fs/xfs.c (GRUB_XFS_FSB_TO_BLOCK): New macro. Maps filesystem + block to disk block. + (grub_xfs_read_block): Use GRUB_XFS_FSB_TO_BLOCK() on result. + Patch from Niels Böhm + +2008-06-29 Robert Millan + + * util/update-grub_lib.in (font_path): Search for fonts in + /boot/grub first, which is more likely to be readable (we aren't + deciding where fonts live, just looking for them). + +2008-06-26 Pavel Roskin + + * util/biosdisk.c (read_device_map): Don't leave dead map + entries for devices failing stat() check. + + * util/i386/pc/grub-setup.c (setup): Don't reuse core_path, use + core_path_dev for the core.img path on the target device. + +2008-06-26 Robert Millan + + * disk/fs_uuid.c: New file. + * conf/common.rmk (pkglib_MODULES): Add `fs_uuid.mod'. + (fs_uuid_mod_SOURCES, fs_uuid_mod_CFLAGS) + (fs_uuid_mod_LDFLAGS): New variables. + * include/grub/disk.h (grub_disk_dev_id): Add + `GRUB_DISK_DEVICE_UUID_ID'. + * kern/disk.c (grub_disk_dev_iterate): Allow disk devices not to + implement iterate(). + +2008-06-26 Robert Millan + + * util/grub.d/10_linux.in: Avoid passing UUIDs to Linux when either + "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" does not exist, or when a + Linux image includes no initrd. + +2008-06-21 Javier Martín + + * util/i386/pc/grub-setup.c (setup): Remove literal "core.img" in a + call to resolve the core image location that effectively appended the + name twice. + +2008-06-21 Robert Millan + + * util/grub.d/00_header.in: Move last prepare_grub_to_access_device() + call from here ... + + * util/grub.d/10_hurd.in: ... to here ... + * util/grub.d/10_linux.in: ... and here. + +2008-06-19 Robert Millan + + * kern/main.c (grub_main): Export `prefix' variable immediately + after it has been set by grub_machine_set_prefix(). + +2008-06-19 Robert Millan + + * commands/search.c (search_label, search_fs_uuid, search_file): Print + search result when not saving to variable, not the other way around. + When saving to variable, abort iteration as soon as a match is found. + +2008-06-19 Robert Millan + + * util/update-grub_lib.in (prepare_grub_to_access_device): Remove + check for partition that provides /boot/grub. Its logic is flawed, + as it prevents prepare_grub_to_access_device() from being called + multiple times. + +2008-06-19 Robert Millan + + * util/update-grub_lib.in (prepare_grub_to_access_device): Issue + "insmod" command directly when abstraction modules are needed, + instead of relying on GRUB_PRELOAD_MODULES (which had no effect + since it had already been processed). + +2008-06-19 Pavel Roskin + + * conf/i386-efi.rmk: Recompile grub-mkimage.c if Makefile has + changed. This is needed in case GRUB_LIBDIR changes. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-linuxbios.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + +2008-06-18 Pavel Roskin + + * conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Rename + kernel_elf_symlist.c to symlist.c for consistency with other + architectures. Update all users. + * conf/sparc64-ieee1275.rmk (kernel_elf_SOURCES): Likewise. + +2008-06-18 Robert Millan + + * util/i386/pc/grub-install.in: If the drive is LVM or RAID, prepend + it in prefix. + + * util/i386/pc/grub-setup.c (main): Don't handle prefix at all. Set + `must_embed' to 1 when root_dev is a RAID device. When dest_dev is + a RAID device, run setup() for all members independently on whether + LVM abstraction is being used. + (setup): Don't handle prefix at all; let grub-mkimage take care of it. + If grub-mkimage has set `*install_dos_part == -2', don't override this + value. + Perform *install_dos_part adjustments independently on whether + we're embedding or not. + Clarify error message when image is too big for embedding. + Remove duplicate *install_dos_part stanza. + +2008-06-17 Robert Millan + + * term/ieee1275/ofconsole.c (fgcolor, bgcolor): Remove variables. + (grub_ofconsole_normal_color, grub_ofconsole_highlight_color): New + variables. + (grub_ofconsole_setcolor, grub_ofconsole_getcolor): Load/store + values in grub_ofconsole_normal_color and + grub_ofconsole_highlight_color (they're not directly related to + background and foreground). + (grub_ofconsole_setcolorstate): Extract background and foreground + from grub_ofconsole_normal_color and grub_ofconsole_highlight_color. + +2008-06-17 Robert Millan + + * util/update-grub_lib.in (prepare_grub_to_access_device): Use + /boot/grub for the check in last commit, not /boot (they could be + different partitions). + +2008-06-16 Robert Millan + + * util/update-grub_lib.in (prepare_grub_to_access_device): If we were + asked to setup access for the same partition that provides /boot, + don't bother using UUIDs since our root already has the value we + want. + +2008-06-16 Robert Millan + + * util/biosdisk.c (convert_system_partition_to_system_disk): Detect + I2O devices. + Patch from Sven Mueller . + +2008-06-16 Robert Millan + + * util/update-grub.in: Check for $EUID instead of $UID. + Reported by Vincent Zweije. + +2008-06-16 Bean + + * fs/ext2.c (grub_ext2_blockgroup): Revert to pre-journal state. + (grub_ext2_read_block): Likewise. + (grub_ext2_read_inode): Likewise. + (grub_ext2_mount): Likewise. + (grub_ext2_close): Likewise. + (grub_ext3_get_journal): Removed. + + * fs/reiserfs.c (grub_reiserfs_get_item): Revert to pre-journal state. + (grub_reiserfs_read_symlink): Likewise. + (grub_reiserfs_mount): Likewise. + (grub_reiserfs_open): Likewise. + (grub_reiserfs_read): Likewise. + (grub_reiserfs_close): Likewise. + (grub_reiserfs_get_journal): Removed. + + * fs/fshelp.c (grub_fshelp_read): Removed. + (grub_fshelp_map_block): Likewise. + + * include/grub/fshelp.h (grub_fshelp_journal_type): Removed. + (grub_fshelp_journal): Likewise. + (grub_fshelp_read): Likewise. + (grub_fshelp_map_block): Likewise. + +2008-06-16 Pavel Roskin + + * conf/powerpc-ieee1275.rmk: Remove -msoft-float, we don't use + floating point anymore. + * include/grub/powerpc/libgcc.h: Leave only necessary exports. + +2008-06-15 Pavel Roskin + + * commands/ls.c (grub_ls_list_files): Use integer calculations + for human readable format, avoid floating point use. + * kern/misc.c (grub_ftoa): Remove. + (grub_vsprintf): Remove floating point support. + +2008-06-15 Robert Millan + + * util/grub.d/10_linux.in: Use the underlying device for loop-AES + devices. + Reported by Max Vozeler. + +2008-06-15 Robert Millan + + * util/i386/pc/grub-mkimage.c (generate_image): If we included a drive + in our prefix, set install_{dos,bsd}_part = -2 to indicate this can be + skipped later. + (main): If a memdisk was requested, add "(memdisk)" drive explicitly to + the beginning of the prefix. + + * kern/i386/pc/init.c (make_install_device): Remove memdisk check. + It is assumed that if we have a memdisk, grub-mkimage has set + grub_prefix to include the "(memdisk)" drive in it. + +2008-06-15 Robert Millan + + * term/i386/pc/console.c [GRUB_MACHINE_LINUXBIOS] (grub_console_init): + Initialize keyboard controller after registering the terminal, so that + grub_printf() can be called from grub_keyboard_controller_init(). + +2008-06-15 Robert Millan + + * fs/sfs.c (grub_sfs_read_extent): Fix the count of nodes in + extent-btree which is written as big endian on disk. + Reported by Alain Greppin . + +2008-06-14 Robert Millan + + * util/i386/efi/grub-install.in (modules): Remove `_chain'. + * util/i386/pc/grub-install.in (modules): Likewise. + +2008-06-13 Pavel Roskin + + * commands/ls.c (grub_ls_list_files): Fix format warnings. + +2008-06-13 Bean + + * commands/hexdump.c (grub_cmd_hexdump): Adjust offset for partition. + + * fs/ext2.c (grub_ext3_get_journal): Fix revoke block handling. + + * fs/fshelp.c (grub_fshelp_map_block): Don't map block 0 as it's used + to indicate sparse block. + +2008-06-12 Pavel Roskin + + * fs/ext2.c (grub_ext2_read_inode): Don't normalize block + number, grub_fshelp_read() does it for us. + + * fs/fshelp.c (grub_fshelp_read): New function. Implement + linear disk read with journal translation. + * fs/ext2.c: Use grub_fshelp_read() instead of grub_disk_read(). + * include/grub/fshelp.h: Declare grub_fshelp_read(). + +2008-06-09 Pavel Roskin + + * fs/minix.c (grub_minix_mount): Handle error reading + superblock. + +2008-06-08 Robert Millan + + * util/i386/pc/grub-setup.c (main): If install drive is an LVM, + don't append the RAID prefix afterwards. + Reported by Clint Adams. + +2008-06-08 Robert Millan + + Based on description from Pavel: + * kern/disk.c (grub_disk_check_range): Rename to ... + (grub_disk_adjust_range): ... this. Add a comment explaining the + tasks performed by this function. + +2008-06-08 Robert Millan + + * include/grub/ntfs.h (struct grub_ntfs_bpb): Rename `serial_number' to + `num_serial' (for consistency with other variables). + (struct grub_ntfs_data): Add `uuid' member. + * fs/ntfs.c (grub_ntfs_mount): Initialize `data->uuid'. + (grub_ntfs_uuid): New function. + (grub_ntfs_fs): Reference grub_ntfs_uuid() in `uuid' struct member. + +2008-06-07 Pavel Roskin + + * util/biosdisk.c (open_device): Revert last change to the + function, it broke installation. The sector needs to be + different dependent on which device is opened. + +2008-06-06 Robert Millan + + Ensure GRUB_KERNEL_MACHINE_DATA_END is always consistent with the + rest of GRUB, and breakage doesn't happen if its value were modified. + + * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): + Redefine as an offset from `GRUB_KERNEL_MACHINE_DATA_END' instead of + a constant (same value). + * kern/i386/pc/startup.S: Replace hardcoded `0x50' with + `GRUB_KERNEL_MACHINE_DATA_END' (same value). + +2008-06-06 Robert Millan + + * util/biosdisk.c (open_device): Do not modify sector offset when + accessing a partition. kern/disk.c already handles this for us. + +2008-06-06 Robert Millan + + * util/grub-emu.c (grub_machine_init): Move code in this function from + here ... + (main): ... to here (before grub_util_biosdisk_init() call, to prevent + segfault in case grub_printf() is called). + + * util/i386/pc/grub-install.in: Append `--device-map=${device_map}' to + grub_probe. Update all users not to explicitly add it again. + (grub_device): New variable; contains corresponding device for grubdir. + (fs_module, partmap_module, devabstraction_module): Pass + `--device ${grub_device}' to grub_probe to avoid traversing /dev + every time. + +2008-06-05 Robert Millan + + * normal/misc.c (grub_normal_print_device_info): When a filesystem UUID + is found, print it (same layout as with labels). + +2008-06-04 Robert Millan + + * util/biosdisk.c (get_drive): Rename to ... + (find_grub_drive): ... this. Update all users. + + (get_os_disk): Rename to ... + (convert_system_partition_to_system_disk): ... this. Update all users. + + (find_drive): Rename to ... + (find_system_device): ... this. Update all users. + +2008-06-04 Robert Millan + + * util/biosdisk.c (get_os_disk): Handle IDA devices. + * util/grub-mkdevicemap.c (get_mmc_disk_name) + (make_device_map): Likewise. + +2008-06-01 Robert Millan + + * util/biosdisk.c (get_drive): Verify that `map[i].drive' is non-NULL + before dereferencing it. + + * fs/fat.c (struct grub_fat_bpb): Move fat32-specific fields into a + union with fat12/fat16-specific ones. Add some new fields, including + `num_serial' for both versions. + (struct grub_fat_data): Add `uuid' member. + (grub_fat_mount): Refer to fat32-specific fields in `bpb' by their new + names. Initialize `data->uuid' using `num_serial'. + (grub_fat_uuid): New function. + (grub_fat_fs): Reference grub_fat_uuid() in `uuid' struct member. + + * fs/reiserfs.c (grub_reiserfs_superblock): Add `uuid' field. + (grub_reiserfs_uuid): New function. + (grub_reiserfs_fs): Reference grub_reiserfs_uuid() in `uuid' struct + member. + + * fs/xfs.c (grub_xfs_sblock): Add `uuid' field. + (grub_xfs_uuid): New function. + (grub_xfs_fs): Reference grub_reiserfs_uuid() in `uuid' struct member. + +2008-06-01 Robert Millan + + * util/update-grub_lib.in (prepare_grub_to_access_device): Generate + code that is backward compatible with pre-uuid search command. + +2008-05-31 Robert Millan + + * disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Iterate through + floppies after everything else, to ensure floppy drive isn't accessed + unnecessarily (patch from Bean). + +2008-05-31 Robert Millan + + * commands/search.c (search_label, search_fs_uuid, search_file): Do + not print device names when we were asked to set a variable. + +2008-05-31 Robert Millan + + * term/ieee1275/ofconsole.c (grub_ofconsole_setcursor): Implement + using "cursor-on" and "cursor-off" commands (understood at least by + the Open Firmware flavour on OLPC). + +2008-05-31 Michael Gorven + + * term/terminfo.c (grub_terminfo_set_current): Correct vt100 cursor + on and off sequences. + +2008-05-31 Robert Millan + + * util/update-grub_lib.in: Replace `grub-probe' with `${grub_probe}'. + * util/update-grub.in: Likewise. + +2008-05-30 Pavel Roskin + + * util/biosdisk.c (linux_find_partition): Simplify logic and + make the code more universal. Keep special processing for + devfs, but use a simple rule for all other devices. If the + device ends with a number, append 'p' and the partition number. + Otherwise, append only the partition number. + +2008-05-30 Robert Millan + + * util/update-grub.in (GRUB_DISABLE_LINUX_UUID): Export variable. + * util/grub.d/10_linux.in: If GRUB_DEVICE_UUID is set, and + GRUB_DISABLE_LINUX_UUID isn't true, use the filesystem UUIDs as + the `root' parameter to Linux. + +2008-05-30 Robert Millan + + * commands/search.c (options): Rename --fs_uuid to --fs-uuid. + * util/update-grub_lib.in (prepare_grub_to_access_device): Replace + --fs_uuid with --fs-uuid. + * util/update-grub.in: Allow filesystem UUID probes to fail (since not + all filesystems support them). + +2008-05-30 Robert Millan + + * fs/ext2.c (grub_ext2_uuid): Use `04x' instead of '02x' as + grub_printf() flags, since we're printing in units of 2 bytes. + +2008-05-30 Robert Millan + + * util/grub.d/00_header.in: Remove obsolete comment referencing + convert_system_path_to_grub_path(). + * util/update-grub.in: Likewise. + * util/update-grub_lib.in (is_path_readable_by_grub): New function. + (convert_system_path_to_grub_path): Add a warning message explaining + that this function is deprecated. Rely on is_path_readable_by_grub() + for the readability checks. + (font_path): Use is_path_readable_by_grub() for the readability + check rather than convert_system_path_to_grub_path(). + +2008-05-30 Robert Millan + + * util/update-grub_lib.in (prepare_grub_to_access_device): New function. + * util/update-grub.in: Set `GRUB_FONT_PATH' to the system path, without + converting it first. + * util/grub.d/00_header.in: Use prepare_grub_to_access_device() to setup + grub.cfg for access to font file, and afterwards call it again to set + the root device. + +2008-05-30 Robert Millan + + * commands/search.c (options): Add --fs_uuid option. + (search_fs_uuid): New function. + (grub_cmd_search): Fix --set argument passing. + Use search_fs_uuid() when requested via --fs_uuid. + (grub_search_init): Update help message. + * fs/ext2.c (struct grub_ext2_sblock): Rename `unique_id' to `uuid' + and redeclare it as an array of 16-bit words. + (grub_ext2_uuid): New function. + (grub_ext2_fs): Reference grub_ext2_uuid() in `uuid' struct member. + * include/grub/fs.h (struct grub_fs): Add `uuid' struct member. + * util/update-grub.in (GRUB_DEVICE_UUID, GRUB_DEVICE_BOOT) + (GRUB_DEVICE_BOOT_UUID): New variables. + (GRUB_DRIVE. GRUB_DRIVE_BOOT. GRUB_DRIVE_BOOT_GRUB): Remove. + * util/grub.d/00_header.in: Set root using `search --fs_uuid' command + whenever possible. + * util/grub.d/10_hurd.in: Avoid explicit use of root drive. Instead, + just assume `root' variable has the right value. + * util/grub.d/10_linux.in: Likewise. + * util/grub-probe.c (probe): Probe for filesystem UUID when requested + via PRINT_FS_UUID. + (main): Recognise `-t fs_uuid' argument. + +2008-05-30 Robert Millan + + * util/biosdisk.c (map): Redefine structure to hold information + about GRUB drive name. + (get_drive): Reimplement without assuming (and verifying) BIOS-like + drive names. + (call_hook): Remove. + (grub_util_biosdisk_iterate): Access drive names via `.drive' struct + member. Assume drive has partitions. + (grub_util_biosdisk_open): Access device names via `.device' struct + member. + (open_device): Likewise. + (find_drive): Likewise. + (read_device_map): Adjust map[] usage to match the new struct + definition. Don't check for duplicates (still possible, but not cheap + anymore). + (grub_util_biosdisk_fini): Free malloced buffers referenced by map[]. + (make_device_name): Remove assumption of BIOS-like drive names. + +2008-05-30 Pavel Roskin + + * conf/i386-efi.rmk (normal/execute.c_DEPENDENCIES): Remove, as + compiling execute.c doesn't need grub_script.tab.h anymore. + (normal/command.c_DEPENDENCIES): Likewise. + (normal/function.c_DEPENDENCIES): Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-linuxbios.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + +2008-05-29 Pavel Roskin + + * disk/lvm.c (grub_lvm_scan_device): Check for the buffer end + when scanning metadata for volume group name. + + * include/grub/script.h: Don't include grub_script.tab.h. It's + a generated file, which may only be included from the files with + DEPENDENCIES rules in the makefile. Don't use typedef YYSTYPE, + use union YYSTYPE, as the later allows forward declaration. + * normal/lexer.c: Don't use typedef YYSTYPE, use union YYSTYPE. + +2008-05-29 Robert Millan + + * term/i386/pc/at_keyboard.c: Include `grub/machine/machine.h'. + (OLPC_UP, OLPC_DOWN, OLPC_LEFT, OLPC_RIGHT): New macros. + [GRUB_MACHINE_IEEE1275] (keyboard_map): Add OLPC scan codes + (grub_console_checkkey): Add grub_dprintf() call to report unknown + scan codes. + +2008-05-29 Robert Millan + + * term/i386/pc/at_keyboard.c (grub_console_checkkey): Add support for + control key combinations. + +2008-05-29 Robert Millan + + * util/powerpc/ieee1275/grub-install.in: Move from here ... + * util/ieee1275/grub-install.in: ... to here. + * powerpc-ieee1275.rmk (grub_install_SOURCES): Update location. + * i386-ieee1275.rmk (sbin_SCRIPTS): New variable. + (grub_install_SOURCES): Likewise. + +2008-05-29 Robert Millan + + * fs/affs.c: Update copyright year. + * fs/ext2.c: Likewise. + * fs/fshelp.c: Likewise. + * fs/hfsplus.c: Likewise. + * fs/ntfs.c: Likewise. + * fs/xfs.c: Likewise. + * include/grub/fshelp.h: Likewise. + * util/grub-mkdevicemap.c: Likewise. + +2008-05-28 Robert Millan + + * util/update-grub.in: Allow chmod call to fail, since /boot/grub/ + might need to be fatfs to support some firmware implementations + (e.g. OFW or EFI). + +2008-05-28 Robert Millan + + * util/biosdisk.c (linux_find_partition, get_os_disk): Handle MMC + devices. + * util/grub-mkdevicemap.c (get_mmc_disk_name) + (make_device_map): Likewise. + +2008-05-20 Bean + + * fs/fshelp.c (grub_fshelp_map_block): New function. + (grub_fshelp_find_file): Use 64-bit type for pos and block address. + Use `>>' and `&' operator to avoid 64-bit divide and modulo. + + * include/grub/fshelp.h (grub_fshelp_journal_type): New enum. + (GRUB_FSHELP_JOURNAL_UNUSED_MAPPING): New macro. + (grub_fshelp_journal): New structure. + (grub_fshelp_map_block): New function prototype. + (grub_fshelp_read_file): Use grub_disk_addr_t as block type. + (grub_fshelp_map_block): Likewise. + + * fs/ext2.c (EXT3_FEATURE_COMPAT_HAS_JOURNAL): New macro. + (EXT3_JOURNAL_MAGIC_NUMBER): Likewise. + (EXT3_JOURNAL_DESCRIPTOR_BLOCK): Likewise. + (EXT3_JOURNAL_COMMIT_BLOCK): Likewise. + (EXT3_JOURNAL_SUPERBLOCK_V1): Likewise. + (EXT3_JOURNAL_SUPERBLOCK_V2): Likewise. + (EXT3_JOURNAL_REVOKE_BLOCK): Likewise. + (EXT3_JOURNAL_FLAG_ESCAPE): Likewise. + (EXT3_JOURNAL_FLAG_SAME_UUID): Likewise. + (EXT3_JOURNAL_FLAG_DELETED): Likewise. + (EXT3_JOURNAL_FLAG_LAST_TAG): Likewise. + (grub_ext2_sblock): New members for journal support. + (grub_ext3_journal_header): New structure. + (grub_ext3_journal_revoke_header): Likewise. + (grub_ext3_journal_block_tag): Likewise. + (grub_ext3_journal_sblock): Likewise. + (grub_fshelp_node): New members logfile and journal. + (grub_ext2_read_block): Change block type to grub_disk_addr_t. Use + grub_fshelp_map_block to get real block number. + (grub_ext2_blockgroup): Use grub_fshelp_map_block to get real block + number. + (grub_ext2_read_inode): Likewise. + (grub_ext3_get_journal): New function. + (grub_read_inode): Initialize journal using grub_ext3_get_journal. + (grub_ext2_close): Release memory used by journal. + + * fs/reiserfs.c (REISERFS_MAGIC_STRING): Changed to "ReIsEr". + (REISERFS_MAGIC_DESC_BLOCK): New macro. + (grub_reiserfs_transaction_header): Renamed to + grub_reiserfs_description_block, replace field data with real_blocks. + (grub_reiserfs_commit_block): New structure. + (grub_reiserfs_data): New member journal. + (grub_reiserfs_get_item): Use grub_fshelp_map_block to get real block + number. + (grub_reiserfs_read_symlink): Likewise. + (grub_reiserfs_iterate_dir): Likewise. + (grub_reiserfs_open): Likewise. + (grub_reiserfs_read): Likewise. + (grub_reiserfs_get_journal): New function. + (grub_reiserfs_mount): Use "ReIsEr" as super block magic, as there are + three varieties ReIsErFs, ReIsEr2Fs and ReIsEr3Fs. Initialize journal + using grub_reiserfs_get_journal. + (grub_reiserfs_close): Release memory used by journal. + + * fs/affs.c (grub_affs_read_block): Change block type to + grub_disk_addr_t. Use grub_divmod64 to do 64-bit division. + + * fs/afs.c (grub_afs_read_block): Change block type to grub_disk_addr_t. + + * fs/hfsplus.c (grub_hfsplus_read_block): Likewise. + + * fs/ntfs.c (grub_ntfs_read_block): Likewise. + + * fs/udf.c (grub_udf_read_block): Change block type to + grub_disk_addr_t. Use type cast to avoid warning. + + * fs/xfs.c (grub_xfs_read_block): Likewise. + +2008-05-16 Christian Franke + + * commands/cat.c (grub_cmd_cat): Remove non-ESC keys from keyboard queue + to ensure that break with ESC will always work. + * commands/sleep.c (grub_interruptible_millisleep): Likewise. + Remove ESC from keyboard queue. + +2008-05-16 Christian Franke + + * util/biosdisk.c: [__CYGWIN__] Add includes. + (grub_util_biosdisk_open): Use Linux code also for Cygwin. + (get_os_disk): Move variable declarations to OS specific + parts to avoid warning. + [__GNU__] (get_os_disk): Fix /dev/sdXsN case. + [__CYGWIN__] (get_os_disk): Add Cygwin /dev/sdXN device names. + (grub_util_biosdisk_get_grub_dev): Use Linux code also for + Cygwin. + * util/getroot.c: [__CYGWIN__] Add includes. + (strip_extra_slashes): Fix "/" case. + [__CYGWIN__] (get_win32_path): New function. + [__CYGWIN__] (grub_get_prefix): Add conversion to win32 path. + [__CYGWIN__] (find_root_device): Disable. + [__CYGWIN__] (get_bootsec_serial): New function. + [__CYGWIN__] (find_cygwin_root_device): Likewise. + [__linux__] (grub_guess_root_device): Add early returns to simplify + structure. + [__CYGWIN__] (grub_guess_root_device): Call find_cygwin_root_device. + [__linux__] (grub_util_get_dev_abstraction): Enable LVM and RAID + check for Linux only. + +2008-05-15 Bean + + * kern/i386/pc/startup.S (grub_console_getkey): Workaround for the + keyboard hang problem in apple's intel mac. + +2008-05-09 Robert Millan + + * util/biosdisk.c (linux_find_partition, get_os_disk): Handle Virtio + devices. + * util/grub-mkdevicemap.c (get_virtio_disk_name) + (make_device_map): Likewise. + Reported by Aurelien Jarno + +2008-05-07 Ian Campbell + + * util/biosdisk.c (get_os_disk): Recognise xvd type disks. + * util/grub-mkdevicemap.c (get_xvd_disk_name): New function. + (make_device_map): Output entries for xvd type disks. + +2008-05-07 Robert Millan + + * util/biosdisk.c (linux_find_partition, get_os_disk): Handle CCISS + devices. + * util/grub-mkdevicemap.c (get_cciss_disk_name) + (make_device_map): Likewise. + Reported by Roland Dreier + +2008-05-07 Robert Millan + + * disk/lvm.c (grub_lvm_scan_device): Detect errors in an additional + grub_strstr() call. Correct a few mistakes in failure path handling. + +2008-05-06 Robert Millan + + * util/update-grub_lib.in (make_system_path_relative_to_its_root): + Do not print a trailing slash (therefore, the root directory is an + empty string). + (convert_system_path_to_grub_path): Do not remove trailing slash + from make_system_path_relative_to_its_root() output. + + * util/i386/pc/grub-install.in: Add trailing slash to output from + make_system_path_relative_to_its_root(). + +2008-05-06 Robert Millan + + * util/grub-fstest.c (grub_refresh): Call `fflush (stdout)'. This + ensures that output lines aren't intermangled with those sent to + stderr (via grub_util_info()). + * util/grub-probe.c (grub_refresh): Likewise. + * util/i386/pc/grub-setup.c (grub_refresh): Likewise. + +2008-05-05 Christian Franke + + * util/grub-mkdevicemap.c (get_floppy_disk_name) [__CYGWIN__]: + Add Cygwin device names. + (get_ide_disk_name) [__CYGWIN__]: Likewise. + (get_scsi_disk_name) [__CYGWIN__]: Likewise. + (check_device): Return error instead of success on empty name. + (make_device_map): Move label inside linux specific code to + prevent compiler warning. + +2008-04-30 Robert Millan + + Based on patch from Fabian Greffrath + * util/grub.d/10_linux.in: Add ${GRUB_CMDLINE_LINUX_DEFAULT} to the + first boot option. + * util/update-grub.in: Export GRUB_CMDLINE_LINUX_DEFAULT. + +2008-04-29 Robert Millan + + * docs/grub.cfg: New file (example GRUB configuration). + +2008-04-26 Robert Millan + + * DISTLIST: Sort (sort -u < DISTLIST | sponge DISTLIST). Add + `loader/i386/ieee1275/linux.c', `loader/i386/ieee1275/linux_normal.c' + and `disk/ieee1275/nand.c'. + +2008-04-25 Bean + + * Makefile.in (RMKFILES): Add missing arch i386-ieee1275 and + i386-linuxbios. + + * commands/hexdump.c (grub_cmd_hexdump): Support dumping of device, + change the buffer size to 4096 for cdrom device. + + * conf/i386-ieee1275.rmk (pkglib_MODULES): Add _linux.mod, linux.mod + and nand.mod. + (_linux_mod_SOURCES): New variable. + (_linux_mod_CFLAGS): Likewise. + (_linux_mod_LDFLAGS): Likewise. + (linux_mod_SOURCES): Likewise. + (linux_mod_CFLAGS): Likewise. + (linux_mod_LDFLAGS): Likewise. + (nand_mod_SOURCES): Likewise. + (nand_mod_CFLAGS): Likewise. + (nand_mod_LDFLAGS): Likewise. + + * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Return + GRUB_ERR_UNKNOWN_DEVICE instead of GRUB_ERR_BAD_DEVICE if no device + type property. (nand device in olpc don't have this property) + + * include/grub/disk.h (grub_disk_dev_id): New macro + GRUB_DISK_DEVICE_NAND_ID. + + * include/grub/i386/ieee1275/loader.h (grub_rescue_cmd_linux): New + function prototype. + (grub_rescue_cmd_initrd): Likewise. + + * include/grub/i386/linux.h (GRUB_LINUX_OFW_SIGNATURE): New macro. + (linux_kernel_params): Add new member ofw_signature, ofw_num_items, + ofw_cif_handler and ofw_idt, adjust padding number. + + * include/grub/i386/pc/memory.h (grub_upper_mem): Export it if + GRUB_MACHINE_IEEE1275 is defined. + + * include/grub/ieee1275/ieee1275.h (grub_available_iterate): + Use NESTED_FUNC_ATTR attribute on the hook parameter. + + * kern/powerpc/ieee1275/init.c (grub_claim_heap): Use NESTED_FUNC_ATTR + on nested function heap_init. + (grub_upper_mem): New variable for i386-ieee1275. + (grub_get_extended_memory): New function for i386-ieee1275. + (grub_machine_init): Call grub_get_extended_memory for i386-ieee1275. + + * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Use + NESTED_FUNC_ATTR on the hook parameter. Don't quit if no device type + property. + + * loader/i386/ieee1275/linux.c: New file. + + * loader/i386/ieee1275/linux_normal.c: New file. + + * disk/ieee1275/nand.c: New file. + +2008-04-18 Thomas Schwinge + + * util/i386/pc/grub-mkrescue.in (grub_mkimage): Don't overwrite correct + value. + * util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Likewise. + +2008-04-18 Robert Millan + + Restructures early code path on ieee1275 to unify grub_main() as + the first C function that is executed in every platform. + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_init): New prototype. + * kern/i386/ieee1275/startup.S (_start): Jump to grub_main() instead of + cmain(). + * kern/powerpc/ieee1275/crt0.S (_start): Likewise. + * kern/ieee1275/cmain.c (cmain): Rename to ... + * kern/ieee1275/cmain.c (grub_ieee1275_init): ... this. + * kern/ieee1275/init.c (grub_machine_init): Call grub_ieee1275_init() + at the beginning. + +2008-04-18 Robert Millan + + * util/update-grub.in: Fix syntax error when setting + `GRUB_PRELOAD_MODULES'. + Reported by Stephane Chazelas + +2008-04-17 Lubomir Kundrak + + * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): take only .text + section into account, newer toolchains generate unique build ids + * configure.ac: remove the test for --build-id=none acceptance, + we want build ids to be preserved + * genmk.rb: add -R .note.gnu.build-id to objcopy, so build id + far from other sections don't cause the raw binary images grow + size + +2008-04-15 Robert Millan + + * disk/lvm.c: Update copyright year. + * kern/misc.c: Likewise. + +2008-04-14 Vesa Jaaskelainen + + * disk/lvm.c (grub_lvm_scan_device): Add forgotten failure path when + there is no memory left for physical volume name. + +2008-04-14 Vesa Jaaskelainen + + * disk/lvm.c (grub_lvm_scan_device): Fix logical volume's physical + volume name mapping to support bigger than 9 character names properly. + +2008-04-13 Robert Millan + + * disk/i386/pc/biosdisk.c (grub_biosdisk_rw): Fix CHS limit check, + as per http://www.allensmith.net/Storage/HDDlimit/Int13h.htm + +2008-04-13 Christian Franke + + * util/i386/pc/grub-mkrescue.in: Add --emulation=floppy + to create a floppy emulation boot CD when non emulation mode + does not work. + Enable Joliet CD filesystem extension. + +2008-04-13 Robert Millan + + * kern/misc.c (grub_strncat): Fix off-by-one error. + Reported by Zhang Huan + + * kern/env.c (grub_env_context_close): Clear current context, not + previous one. + Patch from Zhang Huan + + * kern/misc.c (grub_strcat): Minor speed optimization (same code size). + +2008-04-13 Robert Millan + + Improve robustness when handling LVM. + + * disk/lvm.c (grub_lvm_getvalue): Return 0 when `*p' is NULL + (and leave `*p' unmodified). + (grub_lvm_iterate): Don't assume `vg->lvs != NULL' when iterating + through it. + (grub_lvm_memberlist): Don't assume `lv->vg->pvs != NULL' when + iterating through it. + (grub_lvm_open): Don't assume `vg->lvs != NULL' when iterating + through it. + (grub_lvm_scan_device): Check the return value (and fail gracefully + when due) on each grub_lvm_getvalue() or grub_strstr() call. + Don't assume `vg->pvs != NULL' when iterating through it. + +2008-04-13 Robert Millan + + * gendistlist.sh (EXTRA_DISTFILES): Add `genpartmaplist.sh'. + * genmk.rb (partmap): New variable. + (CLEANFILES, PARTMAPFILES): Add #{partmap}. + (#{partmap}): New target rule. + * genpartmaplist.sh: New file. + * Makefile.in (pkglib_DATA): Add partmap.lst. + (partmap.lst): New target rule. + * util/i386/pc/grub-mkrescue.in: Generate grub.cfg that loads needed + modules (including all partition maps), instead of preloading them. + +2007-04-13 Fabian Greffrath + + * util/grub.d/30_os-prober.in: New script. Use `os-prober' and + `linux-boot-prober' (if installed) to detect other operating + systems which are installed on the computer and add them to + the boot menu. + * conf/common.rmk: Build and install 30_os-prober. + +2008-04-12 Robert Millan + + * kern/powerpc/ieee1275/init.c: Move from here ... + * kern/ieee1275/init.c: ... to here. Update all users. + + * kern/powerpc/ieee1275/cmain.c: Move from here ... + * kern/ieee1275/cmain.c: ... to here. Update all users. + + * kern/powerpc/ieee1275/openfw.c: Move from here ... + * kern/ieee1275/openfw.c: ... to here. Update all users. + + * loader/powerpc/ieee1275/multiboot2.c: Move from here ... + * loader/ieee1275/multiboot2.c: ... to here. Update all users. + +2008-04-10 Pavel Roskin + + * configure.ac: Always use "_cv_" in cache variables for + compatibility with Autoconf 2.62. + +2008-04-07 Robert Millan + + Revert grub/machine/init.h addition by Pavel (since it breaks on + i386-ieee1275 and others): + * util/i386/pc/misc.c: Remove grub/machine/init.h. + * util/powerpc/ieee1275/misc.c: Likewise. + +2008-04-07 Robert Millan + + * util/grub-probe.c (probe): Improve error message. + +2008-04-07 Robert Millan + + * util/biosdisk.c (read_device_map): Skip devices that don't exist + (this prevents the presence of a bogus entry from ruining the whole + thing). + +2008-04-06 Pavel Roskin + + * util/biosdisk.c: Include grub/util/biosdisk.h. + * util/grub-fstest.c (execute_command): Make static. + * util/grub-mkdevicemap.c (check_device): Likewise. + * util/i386/pc/misc.c: Include grub/machine/init.h. + * util/powerpc/ieee1275/misc.c: Likewise. + * util/lvm.c: Include grub/util/lvm.h. + * util/misc.c: Include grub/kernel.h, grub/misc.h and + grub/cache.h. + * util/raid.c: Include grub/util/raid.h. + (grub_util_getdiskname): Make static. + + * util/grub-emu.c (main): Remove calls to grub_hostfs_init() and + grub_hostfs_fini(), as they are called from grub_init_all() and + grub_fini_all() respectively. This fixes an infinite loop in + grub-fstest due to double registration of hostfs. + Reported by Christian Franke + +2008-04-05 Pavel Roskin + + * bus/pci.c (grub_pci_iterate): For multifunction devices, probe + all 8 functions. Otherwise, probe function 0 only. + +2008-04-04 Pavel Roskin + + * commands/lspci.c (grub_lspci_iter): Print the bus number + correctly. + + * commands/lspci.c (grub_pci_classes): Fix typos. + (grub_lspci_iter): Don't print func twice. Print vendor ID + before device ID, as it's normally done. + + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): + Fix signedness warnings. + * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): + Likewise. + * util/ieee1275/get_disk_name.c: Include config.h so that + _GNU_SOURCE is defined and getline() is declared. Mark an + unused argument as such. Fix a signedness warning. + +2008-04-02 Pavel Roskin + + * genkernsyms.sh.in: Use more robust assignments for CC and + srcdir. Quote srcdir. + * gensymlist.sh.in: Likewise. Assert at the compile time that + the symbol table is not empty. + + * disk/raid.c (grub_raid_memberlist): Fix a signedness warning. + * fs/cpio.c (grub_cpio_read): Likewise. + +2008-04-01 Pavel Roskin + + * disk/ata.c (grub_ata_open): Don't lose precision in disk->id. + * disk/host.c (grub_host_open): Likewise. + * disk/loopback.c (grub_loopback_open): Likewise. + * disk/memdisk.c (grub_memdisk_open): Use a string pointer for + disk->id as in disk/host.c, not a multi-character constant. + + * util/grub-fstest.c (cmd_cmp): Use fseeko(), not fseek(). The + later is obsolete, potentially dangerous and sets a bad example. + * util/i386/efi/grub-mkimage.c (make_header): Likewise. + * util/misc.c (grub_util_get_image_size): Likewise. + + * disk/loopback.c (options): Improve help for "--partitions". + + * normal/arg.c (grub_arg_show_help): Fix spacing of the long + options to align them with the short options, e.g. "echo -e". + +2008-03-31 Bean + + * video/reader/png.c (grub_png_data): New member is_16bit and + image_data. + (grub_png_decode_image_header): Detect 16 bit png image. + (grub_png_convert_image): New function to convert 16 bit image to 8 bit. + (grub_png_decode_png): Call grub_png_convert_image for 16 bit image. + (grub_video_reader_png): Release memory occupied by image_data. + + * fs/ntfs.c (find_attr): Handle non-resident attribute list larger than + 4096 bytes. + (grub_nfs_mount): Skip the test for sector per cluster. + + * include/grub/ntfs.h (MAX_SPC): Removed. + +2008-03-31 Bean + + * conf/common.rmk (pkgdata_MODULES): Add afs.mod. + (grub_probe_SOURCES): Add fs/afs.c. + (grub_fstest_SOURCES): Likewise. + (afs_mod_SOURCES): New variable. + (afs_mod_CFLAGS): Likewise. + (afs_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/afs.c. + (grub_emu_SOURCES): Likewise. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * fs/afs.c: New file. + +2008-03-30 Pavel Roskin + + * disk/host.c: Include grub/misc.h to fix a warning. + * util/hostfs.c: Use GRUB_MOD_INIT and GRUB_MOD_FINI to fix + warnings about implicit declarations. + + * fs/udf.c (grub_udf_mount): Fix warning about a shadowing a + variable. + * include/grub/i386/loader.h: Change declaration of + grub_linux_boot() to match what grub_loader_set() expects. + * util/getroot.c (grub_guess_root_device): Return const char* to + fix a warning. + * util/grub-probe.c (probe): Fix a warning about uninitialized + abstraction_name variable. + * util/i386/get_disk_name.c (grub_util_get_disk_name): Mark + second argument as unused to fix a warning. + + * loader/i386/pc/multiboot2.c (grub_mb2_arch_elf64_hook): Add + missing grub_error() call. + + * util/update-grub_lib.in: Define datarootdir, since Autoconf + 2.60 and newer uses it to define datadir. + + * commands/sleep.c: Fix warning about implicit declaration. + * disk/memdisk.c: Likewise. + * loader/aout.c: Likewise. + * loader/i386/bsd_normal.c: Likewise. + * util/grub-probe.c: Likewise. + + * commands/i386/cpuid.c (has_longmode): Make static. + * disk/i386/pc/biosdisk.c (cd_drive): Likewise. + * include/grub/i386/bsd.h (bios_memmap_t): Remove, it's unused. + + * kern/i386/pc/startup.S (real_to_prot): Use %cs prefix to load + GDT. This is more robust, as %ds can change. + (grub_biosdisk_rw_int13_extensions): Don't clear %ds before + calling real_to_prot(). + (grub_biosdisk_get_diskinfo_int13_extensions): Likewise. + +2008-03-28 Pavel Roskin + + * kern/i386/pc/startup.S: Assert that uncompressed functions + don't spill beyond GRUB_KERNEL_MACHINE_RAW_SIZE. + * kern/i386/pc/lzo1x.S: Remove all .align directives in the + code, as they push parts of the code (error handlers) beyond + GRUB_KERNEL_MACHINE_RAW_SIZE. Speed is not as important in this + code as correctness and size. + +2008-03-28 Pavel Roskin + + * kern/i386/pc/startup.S + (grub_biosdisk_get_diskinfo_int13_extensions): When converting + data block address to the real mode, keep offset minimal. This + works around a bug in AWARD BIOS on old Athlon systems, which + makes CD detection hang. + +2008-03-26 Pavel Roskin + + * normal/color.c (grub_parse_color_name_pair): Make `name' a + const. + * include/grub/normal.h: Add grub_parse_color_name_pair() + declaration. + +2008-03-24 Bean + + * disk/i386/pc/biosdisk.c (cd_start): Removed. + (cd_count): Removed. + (cd_drive): New variable. + (grub_biosdisk_get_drive): Don't check for (cdN) device. + (grub_biosdisk_call_hook): Likewise. + (grub_biosdisk_iterate): Change cdrom detection method. + (grub_biosdisk_open): Replace cd_start with cd_drive. + (GRUB_MOD_INIT): Use grub_biosdisk_get_cdinfo_int13_extension to + detect cdrom device. + + * include/grub/i386/pc/biosdisk.h (GRUB_BIOSDISK_MACHINE_CDROM_START): + Removed. + (GRUB_BIOSDISK_MACHINE_CDROM_END): Removed. + (GRUB_BIOSDISK_CDTYPE_NO_EMUL): New macro. + (GRUB_BIOSDISK_CDTYPE_1_2_M): Likewise. + (GRUB_BIOSDISK_CDTYPE_1_44_M): Likewise. + (GRUB_BIOSDISK_CDTYPE_2_88_M): Likewise. + (GRUB_BIOSDISK_CDTYPE_HARDDISK): Likewise. + (GRUB_BIOSDISK_CDTYPE_MASK): Likewise. + (grub_biosdisk_cdrp): New structure. + (grub_biosdisk_get_cdinfo_int13_extensions): New function. + + * include/grub/i386/pc/kernel.h (grub_boot_drive): Export this variable. + + * kern/i386/pc/init.c (make_install_device): Don't use (cdN) as root + device. + + * kern/i386/pc/startup.S (grub_biosdisk_get_cdinfo_int13_extensions): + New function. + +2008-03-20 Robert Millan + + Remove 2 TiB limit in ata.mod. + * disk/ata.c (grub_ata_device): Promote `size' to grub_uint64_t. + (grub_ata_dumpinfo): Print sector count with 0x%llx. + (grub_ata_identify): Interpret `&info16[100]' as a pointer to + grub_uint64_t instead of grub_uint32_t. + +2008-03-05 Bean + + * loader/i386/pc/multiboot.c (grub_multiboot_get_bootdev): New function. + (grub_multiboot): Set boot device. + + * boot/i386/pc/lnxboot.S (real_code_2): Set %dh to 0xFF. + +2008-03-02 Bean + + * fs/reiserfs.c (grub_reiserfs_read_symlink): Add 0 at the end of + symlink_buffer. + +2008-03-01 Yoshinori K. Okuji + + * DISTLIST: Added docs/fdl.texi, docs/grub.texi, docs/mdate-sh and + texinfo.tex. + + * docs/grub.texi: New file. Copied from GRUB Legacy, and slightly + modified. + + * docs/fdl.texi: New file. + + * docs/mdate-sh: New file. Copied from gnulib. + * docs/texinfo.tex: Likewise. + + * config.guess: Updated from gnulib. + * install-sh: Likewise. + +2008-02-28 Robert Millan + + * conf/i386-linuxbios.rmk (pkglib_MODULES): Add aout.mod. + (aout_mod_SOURCES): New variable. + (aout_mod_CFLAGS): Likewise. + (aout_mod_LDFLAGS): Likewise. + + * conf/i386-ieee1275.rmk: Likewise. + +2008-02-28 Robert Millan + + * util/update-grub.in: Reorganise terminal validity check. Accept + `ieee1275:console' (OLPC) and `*:gfxterm' as valid too. + Based on suggestion by Franklin PIAT. + +2008-02-28 Fabian Greffrath + + * include/grub/util/getroot.h (grub_util_check_block_device): Export new + function. + * util/getroot.c (grub_util_check_block_device): New function that + returns the given argument if it is a block device and returns NULL else. + * util/grub-probe.c (argument_is_device): New variable. + (probe): Promote device_name from a variable to an argument. Receive + device_name from grub_util_check_block_device() if path is NULL and from + grub_guess_root_device() else. Do not free() device_name anymore. + (options): Introduce new parameter '-d, --device'. + (main): Add description of the new parameter to the help screen. + Rename path variable to argument. Set argument_is_device if the '-d' + option is given. Pass argument to probe() depending on + argument_is_device. + +2008-02-24 Bean + + * fs/iso9660.c (GRUB_ISO9660_VOLDESC_BOOT): New macro. + (GRUB_ISO9660_VOLDESC_PRIMARY): Likewise. + (GRUB_ISO9660_VOLDESC_SUPP): Likewise. + (GRUB_ISO9660_VOLDESC_PART): Likewise. + (GRUB_ISO9660_VOLDESC_END): Likewise. + (grub_iso9660_primary_voldesc): New member escape. + (grub_iso9660_data): New member joliet. + (grub_iso9660_convert_string): New function. + (grub_iso9660_mount): Detect joliet extension. + (grub_iso9660_iterate_dir): Convert filename when joliet is detected. + (grub_iso9660_iso9660_label): Likewise. + + * conf/common.rmk (pkgdata_MODULES): Add udf.mod. + (grub_setup_SOURCES): Add fs/udf.c. + (grub_fstest_SOURCES): Likewise. + (udf_mod_SOURCES): New variable. + (udf_mod_CFLAGS): Likewise. + (udf_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/udf.c. + (grub_emu_SOURCES): Likewise. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * fs/udf.c: New file. + +2008-02-24 Robert Millan + + * conf/i386-efi.rmk (normal/function.c_DEPENDENCIES) + (normal/lexer.c_DEPENDENCIES): New variables. + * conf/i386-ieee1275.rmk (normal/function.c_DEPENDENCIES) + (normal/lexer.c_DEPENDENCIES): Likewise. + * conf/i386-linuxbios.rmk (normal/function.c_DEPENDENCIES) + (normal/lexer.c_DEPENDENCIES): Likewise. + * conf/i386-pc.rmk (normal/function.c_DEPENDENCIES) + (normal/lexer.c_DEPENDENCIES): Likewise. + * conf/powerpc-ieee1275.rmk (normal/function.c_DEPENDENCIES) + (normal/lexer.c_DEPENDENCIES): Likewise. + * conf/sparc64-ieee1275.rmk (normal/function.c_DEPENDENCIES) + (normal/lexer.c_DEPENDENCIES): Likewise. + +2008-02-23 Robert Millan + + * partmap/gpt.c (grub_gpt_magic): Add `0x' qualifier to each member, + since they were intended to be in hex. This didn't break previously + because of a bug in gpt_partition_map_iterate() (see below). + + (gpt_partition_map_iterate): Replace `grub_memcmp' with `! grub_memcmp' + when checking the validity of GPT header. + Remove `partno', since it always provides the same information as `i'. + +2008-02-21 Yoshinori K. Okuji + + * include/grub/efi/time.h: Fix a wrong comment. + +2008-02-19 Pavel Roskin + + * kern/rescue.c (grub_enter_rescue_mode): Improve initial + message. + +2008-02-19 Bean + + * conf/i386-pc.rmk (pkglib_MODULES): Add aout.mod _bsd.mod and bsd.mod. + (aout_mod_SOURCES): New variable. + (aout_mod_CFLAGS): Likewise. + (aout_mod_LDFLAGS): Likewise. + (_bsd_mod_SOURCES): New variable. + (_bsd_mod_CFLAGS): Likewise. + (_bsd_mod_LDFLAGS): Likewise. + (bsd_mod_SOURCES): New variable. + (bsd_mod_CFLAGS): Likewise. + (bsd_mod_LDFLAGS): Likewise. + + * include/grub/aout.h: New file. + + * include/grub/i386/loader.h (grub_unix_real_boot): New function. + + * include/grub/i386/bsd.h: New file. + + * include/grub/i386/pc/init.h (grub_get_mmap_entry): Use EXPORT_FUNC + to make it public. + + * kern/elf.c (grub_elf32_load): Get the physical address after the hook + function is called, so that it's possible to change it inside the hook. + (grub_elf64_load): Likewise. + (grub_elf_file): Don't close the file if elf header is not found. + (grub_elf_close): Close the file if grub_elf_file fails (The new + grub_elf_file won't close it). + (grub_elf32_size): Use NESTED_FUNC_ATTR for nested function calcsize. + (grub_elf64_size): Likewise. + + * kern/i386/loader.S (grub_unix_real_boot): New function. + + * loader/aout.c: New file. + + * loader/i386/bsd.c: New file. + + * loader/i386/bsd_normal.c: New file. + + * loader/i386/pc/multiboot.c (grub_multiboot): Handle a.out format. + + * loader/multiboot2.c (grub_multiboot2): Reset grub_errno so that it + can test other formats. + +2008-02-19 Robert Millan + + * partmap/gpt.c: Include `'. + (grub_gpt_partition_type_empty): Redefine with macro from + `'. + (gpt_partition_map_iterate): Adjust partition type comparison. + + Export `entry' as partmap-specific `part.data' struct. + (grub_gpt_header, grub_gpt_partentry): Move from here ... + + * include/grub/gpt_partition.h (grub_gpt_header) + (grub_gpt_partentry): ... to here (new file). + + * util/i386/pc/grub-setup.c: Include `'. + + (grub_gpt_partition_type_bios_boot): New const variable, defined + with macro from `'. + + (setup): Replace `first_start' with `embed_region', which keeps + track of the embed region (and is partmap-agnostic). + + Replace find_first_partition_start() with find_usable_region(), + which finds a usable region for embedding using partmap-specific + knowledge (supports PC/MSDOS and GPT). + + Fix all assumptions that the embed region start at sector 1, using + `embed_region.start' from now on. Similarly, use `embed_region.end' + rather than `first_start' to calculate available size. + + In grub_util_info() message, replace "into after the MBR" with an + indication of the specific sector our embed region starts at. + +2008-02-19 Robert Millan + + * DISTLIST: Replace `commands/ieee1275/halt.c' and + `commands/ieee1275/reboot.c' with `commands/halt.c' and + `commands/reboot.c'. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES, reboot_mod_SOURCES) + (halt_mod_SOURCES): Likewise. + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES, reboot_mod_SOURCES) + (halt_mod_SOURCES): Likewise. + +2008-02-17 Christian Franke + + * commands/cat.c (grub_cmd_cat): Add break on GRUB_TERM_ESC key. + +2008-02-17 Robert Millan + + * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(), + set `first_start' to 0 for non-PC/MSDOS partition maps. + +2008-02-16 Robert Millan + + * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(), + do not assume partition map is PC/MSDOS before performing checks that + are specific to that layout. + +2008-02-13 Robert Millan + + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Remove + `commands/i386/pc/halt.c' and `commands/i386/pc/reboot.c'. + * kern/i386/linuxbios/init.c (grub_halt, grub_reboot): Remove stubs. + +2008-02-13 Yoshinori K. Okuji + + * configure.ac: Only a cosmetic change on the handling of + -fno-stack-protector. + +2008-02-12 Alexandre Boeglin + + * conf/i386-efi.rmk (grub_emu_SOURCES): Replace + commands/i386/pc/halt.c and reboot.c by commands/halt.c and + reboot.c. + (grub_install_SOURCES): Add halt.mod and reboot.mod. + (halt_mod_SOURCES): New variable. + (halt_mod_CFLAGS): Likewise. + (halt_mod_LDFLAGS): Likewise. + (reboot_mod_SOURCES): Likewise. + (reboot_mod_CFLAGS): Likewise. + (reboot_mod_LDFLAGS): Likewise. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Replace + commands/ieee1275/halt.c and reboot.c by commands/halt.c and + reboot.c. + (halt_mod_SOURCES): Likewise. + (reboot_mod_SOURCES): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Replace + commands/i386/pc/reboot.c by commands/reboot.c. + (reboot_mod_SOURCES): Likewise. + + * commands/i386/pc/reboot.c: merge this file ... + + * commands/ieee1275/reboot.c: ... and this file ... + + * commands/reboot.c: ... to this file. + Add some precompiler directive to include the correct header for + each machine. + + * commands/ieee1275/halt.c: move this file ... + + * commands/halt.c: ... to here. + Add some precompiler directive to include the correct header for + each machine. + + * include/grub/efi/efi.h (grub_reboot): New function declaration. + (grub_halt): Likewise. + + * kern/efi/efi.c (grub_reboot): New function. + (grub_halt): Likewise. + +2008-02-12 Robert Millan + + * util/getroot.c (grub_guess_root_device): Inspect /dev/evms before + /dev (like it is done for /dev/mapper). This doesn't provide support + for EVMS, but at least it is now easy to identify the problem when it + arises. + +2008-02-11 Robert Millan + + * util/biosdisk.c (grub_util_biosdisk_open, linux_find_partition) + (grub_util_biosdisk_get_grub_dev): Check open() exit status by + comparing it with -1, not 0. + +2008-02-10 Robert Millan + + * conf/i386-efi.rmk (grub_emu_SOURCES): Add `disk/raid.c' and + `disk/lvm.c'. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Likewise. + + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Move `disk/raid.c' and + `disk/lvm.c' to the end of the list. + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + +2008-02-10 Robert Millan + + * kern/main.c (grub_load_normal_mode): Do not reset `grub_errno'. Call + grub_print_error() instead. This will let user know why we're entering + rescue mode. + Based on suggestions from Sam Morris. + +2008-02-10 Alexandre Boeglin + + * normal/arg.c (grub_arg_parse): If one of the args is "--", call add_arg() + on remaining N args, instead of "--" arg N times. + +2008-02-09 Vesa Jaaskelainen + + * font/manager.c (unknown_glyph): Added variable for unknown glyph. + (fill_with_default_glyph): Changed to use unknown_glyph for fill + pattern for unknown glyphs. + +2008-02-09 Robert Millan + + * configure.ac: Probe for `help2man'. + * Makefile.in (builddir): New variable. + (HELP2MAN): Likewise. Set to `true' when @HELP2MAN@ doesn't provide it, + or otherwise add a few flags/options to it. + (install-local): For every executable utility or script that is + installed, invoke $(HELP2MAN) to install a manpage based on --help + output. + + * util/i386/pc/grub-install.in: Move down `update-grub_lib' sourcing, so + that it doesn't prevent --help from working in build tree. + + * util/i386/pc/grub-mkrescue.in (usage): Replace `grub-devel@gnu.org' + with `bug-grub@gnu.org'. + * util/powerpc/ieee1275/grub-mkrescue.in (usage): Likewise. + * util/update-grub.in (usage): New function. + Implement proper argument check, with support for --help and --version + (as well as existing -y). + +2008-02-09 Christian Franke + + * commands/cat.c (grub_cmd_cat): Print '\r' as hex to + avoid overwriting previous output. + * kern/rescue.c (grub_rescue_cmd_cat): Likewise. + +2008-02-09 Robert Millan + + * normal/menu.c (run_menu): If timeout is set to zero, don't bother + drawing the menu. + +2008-02-09 Robert Millan + + * commands/sleep.c: New file. + * conf/common.rmk (pkglib_MODULES): Add `commands/sleep.c'. + (sleep_mod_SOURCES): New variable. + (sleep_mod_CFLAGS): Likewise. + (sleep_mod_LDFLAGS): Likewise. + +2008-02-09 Robert Millan + + * disk/raid.c (grub_raid_scan_device): Add a pair of sanity checks for + situations in which we can deduce the RAID size and the superblock + doesn't match it. + +2008-02-09 Robert Millan + + * disk/lvm.c [GRUB_UTIL] (grub_lvm_memberlist): New function. Construct + and return a grub_diskmemberlist_t composed of LVM physical volumes. + [GRUB_UTIL] (grub_lvm_dev): Add `memberlist' member. + + * disk/raid.c [GRUB_UTIL] (grub_raid_memberlist): New function. Construct + and return a grub_diskmemberlist_t composed of physical array members. + [GRUB_UTIL] (grub_raid_dev): Add `memberlist' member. + + * include/grub/disk.h [GRUB_UTIL] (grub_disk_memberlist): New struct + prototype. + [GRUB_UTIL] (struct grub_disk_dev): Add `memberlist' function pointer. + [GRUB_UTIL] (struct grub_disk_memberlist): New struct declaration. + [GRUB_UTIL] (grub_disk_memberlist_t): New typedef. + + * util/grub-probe.c (probe): Move partmap probing code from here ... + (probe_partmap): ... to here. + (probe): Use probe_partmap() once for the disk we're probing, and + additionally, when such disk contains a memberlist() struct member, + once for each disk that is contained in the structure returned by + memberlist(). + +2008-02-09 Robert Millan + + * util/grub-probe.c (main): When `verbosity > 1', set `debug' + environment variable to 'all' in order to obtain debug output from + non-util/ code. + * util/i386/pc/grub-setup.c (main): Likewise. + +2008-02-08 Robert Millan + + * disk/raid.c (grub_raid_scan_device): Check for + `array->device[sb.this_disk.number]' rather than for + `array->device[sb.this_disk.number]->name', since the latter is not + guaranteed to be accessible. + +2008-02-08 Robert Millan + + * disk/raid.c: Update copyright. + * fs/cpio.c: Likewise. + * include/grub/raid.h: Likewise. + * loader/i386/pc/multiboot.c: Likewise. + * util/hostfs.c: Likewise. + +2008-02-08 Robert Millan + + * include/grub/raid.h (struct grub_raid_array): Change type of `device' + to a grub_disk_t array. + * disk/raid.c (grub_raid_read): Replace `device[x].disk' accesses with + `device[x]'. + (grub_raid_scan_device): Replace `device[x].name' accesses with + `device[x]->name'. Simplify initialization of `array->device[x]'. + +2008-02-08 Robert Millan + + * disk/raid.c (grub_raid_open, grub_raid_scan_device): Add a few + grub_dprintf() calls. + * kern/disk.c (grub_disk_read): Include grub_errmsg in out of range + error message. + +2008-02-07 Christian Franke + + * util/hostfs.c (grub_hostfs_open): Use fseeko and ftello + instead of fseek and ftell to support large files. + (grub_hostfs_read): Likewise. + +2008-02-07 Robert Millan + + Patch from Jeroen Dekkers. + * disk/raid.c (grub_raid_scan_device): Reset `grub_errno' on disk + failure, since successfully reading all array members might not be + required. + +2008-02-06 Robert Millan + + * util/grub-probe.c (probe): Simplify partmap probing (with the + assumption that the first word up to the underscore equals to + the module name). + +2008-02-06 Christian Franke + + * fs/cpio.c (grub_cpio_find_file): Return GRUB_ERR_NONE + (and set *ofs = 0) instead of GRUB_ERR_FILE_NOT_FOUND on + last block of a cpio or tar stream. + Check for "TRAILER!!!" instead of any empty data + block to detect last block of a cpio stream. + (grub_cpio_dir): Fix constness of variable np. + (grub_cpio_open): Return GRUB_ERR_FILE_NOT_FOUND if + cpio or tar trailer is detected. This fixes a crash + on open of a non existing file. + +2008-02-05 Bean + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Get physical + address of entry. + (grub_multiboot_load_elf64): Likewise. + (grub_multiboot): Initialize mbi structure. + + * util/grub-fstest.c: Don't include unused header file script.h. + + * conf/common.rmk (grub-fstest.c_DEPENDENCIES): Move to the beginning + of file. + (grub_fstest_SOURCES): Likewise. + +2008-02-05 Robert Millan + + * include/grub/term.h (GRUB_TERM_LEFT, GRUB_TERM_RIGHT) + (GRUB_TERM_UP, GRUB_TERM_DOWN, GRUB_TERM_HOME, GRUB_TERM_END) + (GRUB_TERM_DC, GRUB_TERM_PPAGE, GRUB_TERM_NPAGE, GRUB_TERM_ESC) + (GRUB_TERM_TAB, GRUB_TERM_BACKSPACE): New macros. + + * kern/i386/pc/startup.S: Include `'. + (translation_table): Replace hardcoded values with macros + provided by `'. + + * term/i386/pc/at_keyboard.c: Include `'. + (keyboard_map): Correct/add a few values, with macros provided + by `'. + (keyboard_map_shift): Zero values that don't differ from their + `keyboard_map' equivalents. + (grub_console_checkkey): Optimize KEYBOARD_STATUS_CAPS_LOCK toggling. + Discard the second scan code that is always sent by Caps lock. + Only use `keyboard_map_shift' when it provides a non-zero value, + otherwise fallback to `keyboard_map'. + +2008-02-04 Bean + + * Makefile.in (enable_grub_fstest): New variable. + + * conf/common.rmk (grub_fstest_init.lst): New rule. + (grub_fstest_init.h): Likewise. + (grub_fstest_init.c): Likewise. + (util/grub-fstest.c_DEPENDENCIES): New variable. + (grub_fstest_SOURCES): Likewise. + + * configure.ac (enable_grub_fstest): Check for --enable-grub-fstest. + + * util/grub-fstest.c: New file. + +2008-02-03 Yoshinori K. Okuji + + Make grub-setup handle a separate root device. + + * util/i386/pc/grub-setup.c (setup): Always open the root device, + so that the root device can be compared with the destination + device. + When embedding the core image, if the root and destination devices + are different, set ROOT_DRIVE to ROOT_DEV->DISK->ID. Otherwise, to + 0xFF. + When not embedding, set ROOT_DRIVE to 0xFF. + +2008-02-03 Yoshinori K. Okuji + + Add support for having a grub directory in a different drive. This + is still only the data handling part. + + * kern/i386/pc/startup.S (multiboot_trampoline): Set %dh to 0xFF. + (codestart): Save %dh in GRUB_ROOT_DRIVE. + (grub_root_drive): New variable. + + * kern/i386/pc/init.c (make_install_device): Use GRUB_ROOT_DRIVE + instead of GRUB_BOOT_DRIVE to construct a device name. Set + GRUB_ROOT_DRIVE to GRUB_BOOT_DRIVE if it is 0xFF, otherwise use it + as it was. + + * include/grub/i386/pc/kernel.h (grub_root_drive): New prototype. + + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_ROOT_DRIVE): New + macro. + (GRUB_BOOT_MACHINE_DRIVE_CHECK): Set to 0x4f. + + * boot/i386/pc/pxeboot.S (_start): Set %dh to 0xFF. For now, this + is bogus, because PXE booting does not specify any drive + correctly. + + * boot/i386/pc/lnxboot.S (reg_edx): Set the second byte to 0xFF. I + am not sure if this is really correct. + + * boot/i386/pc/cdboot.S: Set %dh to 0xFF, because the root drive + is always identical to the boot drive when booting from a CD. + + * boot/i386/pc/boot.S (MOV_MEM_TO_AL): Removed. Not needed any + longer. + (root_drive): New variable. + (real_start): Unconditionally set %dh to ROOT_DRIVE. + (setup_sectors): Push %dx right after popping it, because %dh will + be modified later. + (copy_buffer): Restore %dx. + +2008-02-03 Robert Millan + + * util/i386/pc/grub-mkrescue.in: Rewrite most of image generation to + use `cdboot.img' for cdrom images. + +2008-02-03 Robert Millan + + * util/grub.d/00_header.in: Issue scripting commands for GRUB to + only setup gfxterm when `font' command has succeeded. + +2008-02-03 Robert Millan + + * loader/multiboot_loader.c [GRUB_MACHINE_LINUXBIOS] + (grub_rescue_cmd_multiboot_loader) + (grub_rescue_cmd_module_loader): Enable multiboot1 calls. + +2008-02-03 Pavel Roskin + + * kern/i386/pc/startup.S (grub_chainloader_real_boot): Pop + %edx and %esi from stack only after grub_gate_a20() is called. + grub_gate_a20() clobbers %edx. + +2008-02-03 Yoshinori K. Okuji + + * configure.ac (AC_INIT): Bumped to 1.96. + + * DISTLIST: Added boot/i386/pc/cdboot.S, bus/pci.c, + commands/lspci.c,disk/memdisk.c, include/grub/pci.h, + include/grub/i386/pc/pci.h, video/readers/jpeg.c, and + video/readers/png.c. + +2008-02-03 Bean + + * conf/i386-pc.rmk (pkglib_IMAGES): Add cdboot.img. + (cdboot_img_SOURCES): New variable. + (cdboot_img_ASFLAGS): New variable. + (cdboot_img_LDFLAGS): New variable. + + * boot/i386/pc/cdboot.S: New file. + + * disk/i386/pc/biosdisk.c (cd_start): New variable. + (cd_count): Likewise. + (grub_biosdisk_get_drive): Add support for cd device. + (grub_biosdisk_call_hook): Likewise. + (grub_biosdisk_iterate): Likewise. + (grub_biosdisk_open): Likewise. + (GRUB_BIOSDISK_CDROM_RETRY_COUNT): New macro. + (grub_biosdisk_rw): Support reading from cd device. + (GRUB_MOD_INIT): Iterate cd devices. + + * include/grub/i386/pc/biosdisk.h (GRUB_BIOSDISK_FLAG_CDROM): New macro. + (GRUB_BIOSDISK_MACHINE_CDROM_START): Likewise. + (GRUB_BIOSDISK_MACHINE_CDROM_END): Likewise. + + * kern/i386/pc/init.c (make_install_device): Check for cd device. + +2008-02-02 Robert Millan + + * commands/read.c: New file. + * conf/common.rmk (pkglib_MODULES): Add `commands/read.c'. + (read_mod_SOURCES): New variable. + (read_mod_CFLAGS): Likewise. + (read_mod_LDFLAGS): Likewise. + +2008-02-02 Robert Millan + + * normal/main.c (grub_normal_execute): Check for `menu->size' when + determining whether menu has to be displayed. + +2008-02-02 Marco Gerards + + * bus/pci.c: New file. + + * include/grub/pci.h: Likewise. + + * include/grub/i386/pc/pci.h: Likewise. + + * commands/lspci.c: Likewise. + + * conf/i386-pc.rmk (pkglib_MODULES): Add `pci.mod' and + `lspci.mod'. + (pci_mod_SOURCES): New variable. + (pci_mod_CFLAGS): Likewise. + (pci_mod_LDFLAGS): Likewise. + (lspci_mod_SOURCES): Likewise. + (lspci_mod_CFLAGS): Likewise. + (lspci_mod_LDFLAGS): Likewise. + +2008-02-02 Bean + + * fs/ufs.c (INODE_BLKSZ): Fix incorrect value. + (grub_ufs_get_file_block): Fix indirect block calculation problem. + + * fs/xfs.c (grub_xfs_sblock): New member log2_dirblk. + (grub_xfs_btree_node): New structure. + (grub_xfs_btree_root): New structure. + (grub_xfs_inode): New members nblocks, extsize, nextents and btree. + (GRUB_XFS_EXTENT_OFFSET): Use exts instead of inode->data.extents. + (GRUB_XFS_EXTENT_BLOCK): Likewise. + (GRUB_XFS_EXTENT_SIZE): Likewise. + (grub_xfs_read_block): Support btree format type. + (grub_xfs_iterate_dir): Use NESTED_FUNC_ATTR in call_hook. + Use directory block as basic unit. + + * fs/fshelp.c (grub_fshelp_read_file): Bug fix for sparse block. + + * aclocal.m4 (grub_i386_CHECK_REGPARM_BUG): Define NESTED_FUNC_ATTR as + __attribute__ ((__regparm__ (1))). + +2008-02-01 Robert Millan + + Correct a mistake in previous commit. + + * conf/i386-pc.rmk (normal/execute.c_DEPENDENCIES): Move to the + top. + (normal/command.c_DEPENDENCIES): New variable. + +2008-02-01 Robert Millan + + * conf/i386-efi.rmk (normal/execute.c_DEPENDENCIES): Move to the + top. + (normal/command.c_DEPENDENCIES): New variable. + (grub-emu_DEPENDENCIES, normal_mod_DEPENDENCIES): Remove variables. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-linuxbios.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + (grub_emu_SOURCES): Add `fs/fshelp.c'. + + * genmk.rb: Add `$(#{src}_DEPENDENCIES)' in targets that require it. + +2008-02-01 Robert Millan + + * kern/disk.c (grub_disk_read, grub_disk_write): Add grub_dprintf() + call at beginning of function. + +2008-01-31 Pavel Roskin + + * util/powerpc/ieee1275/grub-mkrescue.in: New file. + * conf/powerpc-ieee1275.rmk (bin_SCRIPTS): New variable. + (grub_mkrescue_SOURCES): Likewise. + * DISTLIST: Add util/powerpc/ieee1275/grub-mkrescue.in. + +2008-01-30 Robert Millan + + * conf/i386-pc.rmk (sbin_UTILITIES): Remove `grub-probe'. + (util/grub-probe.c_DEPENDENCIES, grub_probe_SOURCES): Moved from here ... + * conf/common.rmk (util/grub-probe.c_DEPENDENCIES) + (grub_probe_SOURCES): ... to here. + + * conf/i386-efi.rmk (sbin_UTILITIES): Remove `grub-probe'. + (util/grub-probe.c_DEPENDENCIES, grub_probe_SOURCES): Remove. + * conf/i386-ieee1275.rmk: Likewise. + * conf/i386-linuxbios.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + +2008-01-30 Tristan Gingold + + * kern/rescue.c: Silently accept empty lines. + +2008-01-29 Bean + + * boot/i386/pc/lnxboot.S (data_start): Code cleanup. + (real_code_2): Code cleanup and change comment style. + (move_memory): Avoid using 32-bit address mode. + +2008-01-29 Bean + + * conf/i386-pc.rmk (pkglib_MODULES): Add `png.mod'. + (png_mod_SOURCES): New variable. + (png_mod_CFLAGS): Likewise. + (png_mod_LDFLAGS): Likewise. + + * video/readers/png.c: New file. + +2008-01-28 Robert Millan + + * include/grub/i386/linuxbios/kernel.h (GRUB_MOD_GAP): New macro. + * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Remove + `ifndef GRUB_MOD_GAP' hack. + * util/elf/grub-mkimage.c (add_segments): Likewise. + +2008-01-27 Robert Millan + + * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip + `GRUB_MOD_GAP' for platforms in which it's not defined. + * util/elf/grub-mkimage.c (add_segments): Likewise. + +2008-01-27 Robert Millan + + Get grub-emu to build again (including parallel builds). + + * conf/i386-pc.rmk (util/grub-emu.c_DEPENDENCIES): Remove variable. + Split into ... + (util/grub-emu.c_DEPENDENCIES): ... this, ... + (normal/execute.c_DEPENDENCIES): ... this, ... + (grub-emu_DEPENDENCIES): ... and this. + + * conf/i386-efi.rmk: Likewise. + * conf/i386-linuxbios.rmk: Likewise. + * conf/i386-ieee1275.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + (grub_emu_SOURCES): Remove duplicated `kern/file.c'. + +2008-01-27 Robert Millan + + * NEWS: Add a few items. + +2008-01-27 Robert Millan + + Fix parallel builds with grub-emu. Based on earlier commit for + grub-probe and grub-setup. + + * conf/i386-pc.rmk (grub-emu_DEPENDENCIES): Renamed to ... + (util/grub-emu.c_DEPENDENCIES): ... this. + * conf/i386-efi.rmk (grub-emu_DEPENDENCIES): Renamed to ... + (util/grub-emu.c_DEPENDENCIES): ... this. + * conf/i386-linuxbios.rmk (grub-emu_DEPENDENCIES): Renamed to ... + (util/grub-emu.c_DEPENDENCIES): ... this. + * conf/i386-ieee1275.rmk (grub-emu_DEPENDENCIES): Renamed to ... + (util/grub-emu.c_DEPENDENCIES): ... this. + * conf/powerpc-ieee1275.rmk (grub-emu_DEPENDENCIES): Renamed to ... + (util/grub-emu.c_DEPENDENCIES): ... this. + +2008-01-27 Pavel Roskin + + * include/grub/powerpc/ieee1275/kernel.h: Introduce GRUB_MOD_GAP + to create a gap between _end and the modules added to the image + with grub-mkrescue. That fixes "CLAIM failed" on PowerMAC. + * kern/powerpc/ieee1275/init.c: Use GRUB_MOD_GAP. + * util/elf/grub-mkimage.c (add_segments): Likewise. + +2008-01-26 Pavel Roskin + + * kern/dl.c (grub_dl_load): Don't abort if prefix is not set, + just return an error. + +2008-01-26 Bean + + * fs/reiserfs.c (grub_fshelp_node): New member next_offset. + (grub_reiserfs_get_item): Save offset of the next item. + (grub_reiserfs_iterate_dir): Use next_offset to find next item. + +2008-01-25 Robert Millan + + * conf/i386-pc.rmk (grub_setup_SOURCES, grub_emu_SOURCES): Regroup to + make all filesystem sources appear together (possibly fixing omissions + while at it). + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise. + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-pc.rmk (grub_probe_SOURCES): Likewise. Additionally, + add `kern/file.c'. + * conf/i386-efi.rmk (grub_probe_SOURCES): Likewise. + * conf/i386-ieee1275.rmk (grub_probe_SOURCES): Likewise. + * conf/i386-linuxbios.rmk (grub_probe_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Likewise. + + * util/grub-probe.c: Include `' and `'. + (probe): Add a sanity check to make sure of our ability to read + requested files when probing for filesystem type. + + * genmk.rb: Update copyright year (2007). + + * include/grub/fs.h (grub_fat_init, grub_fat_fini, grub_ext2_init) + (grub_ext2_fini, grub_ufs_init, grub_ufs_fini, grub_minix_init) + (grub_minix_fini, grub_hfs_init, grub_hfs_fini, grub_jfs_init) + (grub_jfs_fini, grub_xfs_init, grub_xfs_fini, grub_affs_init) + (grub_affs_fini, grub_sfs_init, grub_sfs_fini, grub_iso9660_init) + : Remove function prototypes. + +2008-01-25 Robert Millan + + Revert my previous commits (based on wrong assumption of how grub_errno + works). + + * kern/disk.c (grub_disk_open): Stop resetting grub_errno. + * kern/file.c (grub_file_open): Likewise. + +2008-01-24 Pavel Roskin + + * include/grub/ieee1275/ieee1275.h: Introduce flag for firmwares + that hang if GRUB tries to setup colors. + * term/ieee1275/ofconsole.c (grub_ofconsole_init): Don't set + colors for firmwares that don't support it. + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_set_flag): + Recognize Open Hack'Ware, set flags to work around its + limitations. + +2008-01-24 Robert Millan + + * kern/file.c (grub_file_open): Do not account previous failures of + unrelated functions when grub_errno is checked for. + Reported by Oleg Strikov. + +2008-01-24 Bean + + * fs/ufs.c (GRUB_UFS_VOLNAME_LEN): New macro. + (grub_ufs_sblock): New member volume name. + (grub_ufs_find_file): Fix string copy bug. + (grub_ufs_label): Implement this function properly. + + * fs/hfs.c (grub_hfs_cnid_type): New enum. + (grub_hfs_iterate_records): Use the correct file number for extents + and catalog file. Fix problem in next index calculation. + (grub_hfs_find_node): Replace recursive function call with loop. + (grub_hfs_iterate_dir): Replace recursive function call with loop. + +2008-01-23 Robert Millan + + * include/grub/i386/ieee1275/loader.h: Include `', + `' and `'. + (grub_multiboot2_real_boot): New function prototype. + + * include/grub/i386/pc/memory.h: Include `'. + [!GRUB_MACHINE_IEEE1275] (grub_lower_mem, grub_upper_mem): Disable. + + * kern/i386/ieee1275/init.c (grub_os_area_addr) + (grub_os_area_size, grub_lower_mem, grub_upper_mem): Remove variables. + +2008-01-23 Robert Millan + + * kern/mm.c (grub_mm_init_region): Replace grub_dprintf() call with + #ifdef'ed out grub_printf(). + +2008-01-23 Robert Millan + + * term/i386/pc/at_keyboard.c (grub_keyboard_isr): #ifdef out + grub_dprintf calls, since they make "debug=all" mode unusable. + (grub_console_checkkey): Likewise. + +2008-01-23 Robert Millan + + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add + `term/i386/pc/at_keyboard.c'. + (pkglib_MODULES): Add `serial.mod'. + (serial_mod_SOURCES): New variable. + (serial_mod_CFLAGS): Likewise. + (serial_mod_LDFLAGS): Likewise. + + * include/grub/i386/ieee1275/console.h: Add `'. Remove + `'. + (grub_keyboard_controller_init): New function prototype. + (grub_console_checkkey): Likewise. + (grub_console_getkey): Likewise. + + * kern/powerpc/ieee1275/init.c (grub_machine_init): Initialize AT + keyboard on i386. + + * term/ieee1275/ofconsole.c (grub_ofconsole_term): On i386, use + grub_ofconsole_checkkey() and grub_ofconsole_getkey() for input. + +2008-01-23 Robert Millan + + * kern/i386/pc/init.c (make_install_device): When memdisk image is + present, "(memdisk)/boot/grub" becomes the default prefix. + + * util/i386/pc/grub-mkrescue.in: Switch to a minimal core.img plus + a memdisk tarball with all the modules. Add --overlay=DIR option that + allows users to overlay additional files into the image. + +2008-01-23 Robert Millan + + * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add `machine/loader.h' + and `machine/memory.h'. + (pkglib_MODULES): Add `multiboot.mod' and `_multiboot.mod'. + (_multiboot_mod_SOURCES): New variable. + (_multiboot_mod_CFLAGS): Likewise. + (_multiboot_mod_LDFLAGS): Likewise. + (multiboot_mod_SOURCES): Likewise. + (multiboot_mod_CFLAGS): Likewise. + (multiboot_mod_LDFLAGS): Likewise. + + * include/grub/i386/ieee1275/loader.h: New file. + + * include/grub/i386/ieee1275/machine.h: Likewise. + + * include/grub/i386/ieee1275/memory.h: Likewise. + + * include/grub/i386/pc/init.h (grub_os_area_addr): Remove (redundant) + variable declaration. + (grub_os_area_size): Likewise. + + * kern/i386/ieee1275/init.c (grub_os_area_addr, grub_os_area_size) + (grub_lower_mem, grub_upper_mem): New variables. + (grub_stop_floppy): New function (just to make + grub_multiboot2_real_boot() happy). + + * kern/i386/ieee1275/startup.S: Include `', + `', `' and `'. + (grub_stop): New function. + Include `"../realmode.S"' and `"../loader.S"'. + + * loader/multiboot_loader.c: Include `'. + Replace `__i386__' #ifdefs with `GRUB_MACHINE_PCBIOS'. + + * loader/powerpc/ieee1275/multiboot2.c (grub_mb2_arch_boot): On i386, + rely on grub_multiboot2_real_boot() for final boot. + +2008-01-22 Robert Millan + + * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): When + `GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY' flag is set, skip any + device that doesn't look like an SD card. + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): Add + `GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY' flag. + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_set_flag): Detect + OLPC laptop, and set `GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY' when + found. + +2008-01-22 Robert Millan + + * kern/powerpc/ieee1275/init.c (grub_claim_heap): Add sanity check to + avoid claiming over our own code. + +2008-01-22 Bean + + * conf/i386-pc.rmk (pkglib_MODULES): Add `jpeg.mod'. + (jpeg_mod_SOURCES): New variable. + (jpeg_mod_CFLAGS): Likewise. + (jpeg_mod_LDFLAGS): Likewise. + + * video/readers/jpeg.c : New file. + +2008-01-22 Bean + + * fs/cpio.c (grub_cpio_find_file): Return GRUB_ERR_FILE_NOT_FOUND when + there are no more items. + +2008-01-21 Robert Millan + + * kern/mm.c (grub_mm_init_region): Improve debug message. + +2008-01-21 Robert Millan + + * conf/i386-pc.rmk (GRUB_MEMORY_MACHINE_LINK_ADDR): New variable. + (kernel_img_LDFLAGS): Use `GRUB_MEMORY_MACHINE_LINK_ADDR' as link + address. + (grub_mkimage_CFLAGS): Propagate `GRUB_MEMORY_MACHINE_LINK_ADDR' as + a C macro. + * include/grub/i386/pc/memory.h (GRUB_MEMORY_MACHINE_UPPER): New macro. + Indicates start of upper memory. + * util/i386/pc/grub-mkimage.c: Include `'. + (generate_image): Abort when image size is big enough to corrupt + upper memory. + + * include/grub/i386/pc/vga.h: Include `'. + (GRUB_MEMORY_MACHINE_VGA_ADDR): Alias for `GRUB_MEMORY_MACHINE_UPPER'. + * term/i386/pc/vga.c (VGA_MEM): Use `GRUB_MEMORY_MACHINE_VGA_ADDR' + instead of hardcoding 0xA0000. + * video/i386/pc/vbe.c: Include `'. + (grub_vbe_set_video_mode): Use `GRUB_MEMORY_MACHINE_VGA_ADDR' + instead of hardcoding 0xA0000. + +2008-01-21 Robert Millan + + * disk/memdisk.c (memdisk_size): New variable. + (grub_memdisk_open): Replace grub_arch_memdisk_size() call with + `memdisk_size'. + (grub_memdisk_init): Initialize `memdisk_size'. Reallocate memdisk + image to dynamic memory. + (grub_memdisk_fini): Replace grub_arch_memdisk_size() call with + `memdisk_size'. Free memdisk block. + +2008-01-21 Robert Millan + + Fix detection of very small filesystems (like tar). + + * fs/reiserfs.c (grub_reiserfs_mount): When disk is too small to + contain a ReiserFS, abort with GRUB_ERR_BAD_FS rather than + GRUB_ERR_OUT_OF_RANGE (which made the upper layer think there's + a problem with this disk). + +2008-01-21 Robert Millan + + * disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Add debug message + on grub_biosdisk_rw_standard() error. + +2008-01-21 Robert Millan + + * include/grub/ieee1275/ieee1275.h: Add 2008 to Copyright line for + recent changes. + * kern/elf.c: Likewise. + * kern/ieee1275/ieee1275.c: Likewise. + * kern/powerpc/ieee1275/openfw.c: Likewise. + * term/ieee1275/ofconsole.c: Likewise. + +2008-01-21 Robert Millan + + * include/grub/i386/pc/kernel.h: Include `'. + + * include/grub/kernel.h (grub_arch_memdisk_addr) + (grub_arch_memdisk_size): Moved from here ... + + * include/grub/i386/pc/kernel.h (grub_arch_memdisk_addr) + (grub_arch_memdisk_size): ... to here. + +2008-01-21 Robert Millan + + Mostly based on bugfix from Bean. + + * kern/elf.c (grub_elf32_phdr_iterate): Use `NESTED_FUNC_ATTR' + attribute with hook() parameter. + (grub_elf32_load): Use `NESTED_FUNC_ATTR' with grub_elf32_load_segment() + declaration. + (grub_elf64_phdr_iterate): Use `NESTED_FUNC_ATTR' + attribute with hook() parameter. + (grub_elf64_load): Use `NESTED_FUNC_ATTR' with grub_elf64_load_segment() + declaration. + +2008-01-21 Robert Millan + + * conf/i386-pc.rmk (kernel_img_HEADERS): Add `machine/kernel.h'. + (pkglib_MODULES): Add `memdisk.mod'. + (memdisk_mod_SOURCES): New variable. + (memdisk_mod_CFLAGS): Likewise. + (memdisk_mod_LDFLAGS): Likewise. + + * disk/memdisk.c: New file. + + * include/grub/disk.h (grub_disk_dev_id): Add + `GRUB_DISK_DEVICE_MEMDISK_ID'. + + * include/grub/i386/pc/kernel.h + (GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE): New macro. + (GRUB_KERNEL_MACHINE_PREFIX): Increment by 4. + (grub_kernel_image_size): New variable declaration. + (grub_total_module_size): Likewise. + (grub_memdisk_image_size): Likewise. + + * include/grub/i386/pc/memory.h + (GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR): New macro. + + * include/grub/kernel.h: Include `'. + (grub_arch_memdisk_addr): New variable declaration. + (grub_arch_memdisk_size): Likewise. + + * kern/i386/pc/init.c (grub_arch_memdisk_addr): New function. + (grub_arch_memdisk_size): Likewise. + + * kern/i386/pc/startup.S (grub_memdisk_image_size): New variable. + (codestart): Replace hardcoded `0x100000' with + `GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR' macro. + + * util/i386/pc/grub-mkimage.c: Include `'. + (generate_image): Add `memdisk_path' parameter. When `memdisk_path' is + not NULL, append the contents of the file it refers to, at the end of + the compressed kernel image. Initialize `grub_memdisk_image_size' + variable (at `GRUB_KERNEL_MACHINE_MEMDISK_IMAGE_SIZE' offset). + (options): Add "memdisk"|'m' option. + (main): Parse --memdisk|-m option, and pass user-provided path as + parameter to generate_image(). + +2008-01-20 Robert Millan + + * kern/sparc64/ieee1275/openfw.c (grub_devalias_iterate): Copy debug + grub_dprintf() calls from here ... + * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): ... to here. + +2008-01-20 Robert Millan + + Fix detection of "real mode" when /options/real-mode? doesn't exist. + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_mmu): New variable + declaration. + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_mmu): New variable. + (grub_ieee1275_find_options): If `grub_ieee1275_mmu' is 0, set + `GRUB_IEEE1275_FLAG_REAL_MODE'. + (cmain): Initialize `grub_ieee1275_mmu' (using /chosen/mmu integer + property). + * kern/powerpc/ieee1275/openfw.c (grub_map): Rely on pre-initialized + `grub_ieee1275_mmu' rather than obtaining a handler on every call. + +2008-01-19 Robert Millan + + Get rid of confusing function (superseded by + `grub_ieee1275_get_integer_property') + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_decode_int_4): Remove + prototype. + * kern/ieee1275/ieee1275.c (grub_ieee1275_decode_int_4): Remove + function. + * term/ieee1275/ofconsole.c (grub_ofconsole_init): Avoid use of + grub_ieee1275_decode_int_4(), by obtaining integer properties directly + in native endianness from grub_ieee1275_get_integer_property(). + +2008-01-19 Robert Millan + + * kern/powerpc/ieee1275/openfw.c (grub_halt): Issue "power-off" + command after "shut-down", since implementations differ on which + the command for halt is. + +2008-01-19 Robert Millan + + * include/grub/i386/linuxbios/console.h: Add header protection. + (grub_keyboard_controller_init): New function prototype. + * term/i386/pc/at_keyboard.c (KEYBOARD_COMMAND_ISREADY): New macro. + (KEYBOARD_COMMAND_READ): Likewise. + (KEYBOARD_COMMAND_WRITE): Likewise. + (KEYBOARD_SCANCODE_SET1): Likewise. + (grub_keyboard_controller_write): New function. + (grub_keyboard_controller_read): Likewise. + (grub_keyboard_controller_init): Likewise. + + * term/i386/pc/console.c: Include `'. + (grub_console_init): On coreboot/LinuxBIOS, call + grub_keyboard_controller_init(). + +2008-01-19 Robert Millan + + PowerPC changes provided by Pavel Roskin. + + * kern/powerpc/ieee1275/cmain.c (cmain): Don't take any arguments. + * kern/powerpc/ieee1275/crt0.S: Store r5 in grub_ieee1275_entry_fn, + don't rely on cmain() doing it. + * kern/i386/ieee1275/startup.S (_start): Store %eax in + grub_ieee1275_entry_fn, don't rely on cmain() doing it. + +2008-01-16 Robert Millan + + * include/grub/i386/linuxbios/memory.h + (GRUB_MEMORY_MACHINE_LINUXBIOS_TABLE_ADDR): Remove macro. + * kern/i386/linuxbios/table.c (grub_linuxbios_table_iterate): Do not + receive `table_header' as argument. Instead, probe for it in the + known memory ranges where it can be present. + (grub_available_iterate): Do not pass a fixed `table_header' address + to grub_linuxbios_table_iterate(). + +2008-01-15 Robert Millan + + * configure.ac: Add `i386-ieee1275' to the list of supported targets. + * conf/i386-ieee1275.rmk: New file. + * include/grub/i386/ieee1275/console.h: Likewise. + * include/grub/i386/ieee1275/ieee1275.h: Likewise. + * include/grub/i386/ieee1275/kernel.h: Likewise. + * include/grub/i386/ieee1275/time.h: Likewise. + * kern/i386/ieee1275/init.c: Likewise. + * kern/i386/ieee1275/startup.S: Likewise. + +2008-01-15 Robert Millan + + * kern/misc.c (grub_vsprintf): Do not reset `longlongfmt' to zero + when pointers are 32-bit (but still do set it to one when they are + 64-bit). + +2008-01-15 Robert Millan + + * include/grub/ieee1275/ieee1275.h + (grub_ieee1275_get_integer_property): New function prototype. + + * kern/ieee1275/ieee1275.c: Include `'. + (grub_ieee1275_get_integer_property): New function. Wraps around + grub_ieee1275_get_property() to handle endianness. + + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Replace + grub_ieee1275_get_property() with grub_ieee1275_get_integer_property() + where appropriate. + * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Likewise. + (grub_map): Likewise. + * kern/sparc64/ieee1275/openfw.c (grub_map): Likewise. + +2008-01-15 Bean + + * normal/execute.c (grub_script_exec_argument_to_string): Check for undefined variable. + (grub_script_execute_cmdline): Reset grub_errno. + + * normal/main.c (read_config_file): Reset grub_errno. + + * normal/parse.y (script_init): New. + (script): Move function and menuentry here. + (delimiter): New. + (command): Add delimiter at the end of command. + (commands): Adjust to match the new command. + (commandblock): Remove grub_script_lexer_record_start. + (menuentry): Add grub_script_lexer_record_start, use the new commands. + (if): Use the new commands. + + * conf/common.rmk (pkgdata_MODULES): Add echo.mod. + +2008-01-15 Robert Millan + + * normal/menu.c (run_menu): Move timeout message from here ... + (print_timeout): ... to here. + (run_menu): Use print_timeout() once during initial draw to print + the whole message, and again in every clock tick to update only + the number of seconds. + +2008-01-15 Robert Millan + + * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Obtain + actual size of `available' from grub_ieee1275_get_property(), and + restrict parsing to that bound. + +2008-01-15 Christian Franke + + * util/grub-emu.c: Replace by . + (argp_program_version): Remove variable. + (argp_program_bug_address): Likewise. + (options): Convert from struct argp_option to struct option. + (struct arguments): Remove. + (parse_opt): Remove. + (usage): New function. + (main): Replace struct args members by simple variables. + Replace argp_parse() by getopt_long(). + Add switch to evaluate options. + Add missing "(...)" around root_dev in prefix string. + +2008-01-14 Robert Millan + + * kern/powerpc/ieee1275/init.c (grub_exit): Reimplement as a wrapper + for grub_ieee1275_exit(), in order to improve portability. + +2008-01-14 Robert Millan + + * util/grub.d/10_linux.in (prefix): Define. + (exec_prefix): Likewise. Both definitions are later used by `libdir'. + +2008-01-13 Pavel Roskin + + * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Don't use + grub_errno if no errors have been detected. + +2008-01-12 Robert Millan + + * include/grub/util/getroot.h (grub_dev_abstraction_types): New enum. + (grub_util_get_dev_abstraction): New function prototype. + + * util/getroot.c: Include `' + (grub_util_get_grub_dev): Move detection of abstraction type to ... + (grub_util_get_dev_abstraction): ... here (new function). + + * util/grub-probe.c: Convert PRINT_* to an enum. Add + `PRINT_ABSTRACTION'. + (probe): Probe for abstraction type when requested. + (main): Understand `--target=abstraction'. + + * util/i386/efi/grub-install.in: Add abstraction module to core + image when it is found to be necessary. + * util/i386/pc/grub-install.in: Likewise. + * util/powerpc/ieee1275/grub-install.in: Likewise. + + * util/update-grub_lib.in (font_path): Return system path without + converting to GRUB path. + * util/update-grub.in: Convert system path returned by font_path() + to a GRUB path. Use `grub-probe -t abstraction' to determine what + abstraction module is needed for loading fonts (if any). Export + that as `GRUB_PRELOAD_MODULES'. + * util/grub.d/00_header.in: Process `GRUB_PRELOAD_MODULES' (print + insmod commands). + +2008-01-12 Yoshinori K. Okuji + + Remove some unused code from reiserfs. + + * fs/reiserfs.c (struct grub_reiserfs_key) + [GRUB_REISERFS_KEYV2_BITFIELD]: Removed offset and type. + (struct grub_reiserfs_node_body): Removed. + (grub_reiserfs_get_key_v2_type) [GRUB_REISERFS_KEYV2_BITFIELD]: + Likewise. + (grub_reiserfs_get_key_offset) [GRUB_REISERFS_KEYV2_BITFIELD]: + Likewise. + (grub_reiserfs_set_key_offset) [GRUB_REISERFS_KEYV2_BITFIELD]: + Likewise. + (grub_reiserfs_set_key_offset) [GRUB_REISERFS_KEYV2_BITFIELD]: + Likewise. + (grub_reiserfs_set_key_type) [GRUB_REISERFS_KEYV2_BITFIELD]: + Likewise. + (grub_reiserfs_iterate_dir) [GRUB_REISERFS_KEYV2_BITFIELD]: + Likewise. + (grub_reiserfs_open) [GRUB_REISERFS_KEYV2_BITFIELD]: Likewise. + (grub_reiserfs_read) [GRUB_REISERFS_KEYV2_BITFIELD]: Likewise. + (grub_reiserfs_dir) [GRUB_REISERFS_KEYV2_BITFIELD]: Likewise. + +2008-01-10 Robert Millan + + * util/update-grub_lib.in (grub_file_is_not_garbage): New function. + Determines if a file is garbage left by packaging systems, etc. + * util/update-grub.in: Use grub_file_is_not_garbage() as a condition + for processing /etc/grub.d scripts. + * util/grub.d/10_hurd.in: Fix `GRUB_DISTRIBUTOR' comparison. + * util/grub.d/10_linux.in: Likewise. Use grub_file_is_not_garbage() + as a condition for processing Linux images. + +2008-01-10 Pavel Roskin + + * include/grub/powerpc/libgcc.h (__ucmpdi2): New export. Needed + to compile reiserfs.c on PowerPC. + +2008-01-10 Robert Millan + + * kern/device.c (grub_device_iterate): Do not abort device iteration + when one of the devices cannot be opened. + * kern/disk.c (grub_disk_open): Do not account previous failures of + unrelated functions when grub_errno is checked for. + +2008-01-08 Robert Millan + + * loader/i386/pc/linux.c (grub_rescue_cmd_linux): For + `! grub_linux_is_bzimage', change order of address comparison to make + it more intuitive, and improve "too big zImage" error message. + +2008-01-08 Robert Millan + + * Makefile.in (uninstall): Handle `$(update-grub_SCRIPTS)' and + `$(update-grub_DATA)'. + (distcheck): Fix race condition when invoking `$(MAKE)' on multiple + targets. + +2008-01-07 Robert Millan + + * boot/i386/pc/boot.S (boot_drive_check): Add a comment indicating + which instruction is modified by grub-setup during installation + (since it wasn't obvious by only looking at this file). + +2008-01-07 Robert Millan + + * TODO: Rewrite. Just refer to the wiki and the BTS instead of + listing actual TODO items. + +2008-01-06 Yoshinori K. Okuji + + * fs/reiserfs.c (grub_reiserfs_get_key_v2_type): Handle endianness + correctly. + (grub_reiserfs_get_key_offset): Likewise. + (grub_reiserfs_set_key_offset): Likewise. + (grub_reiserfs_set_key_type): Likewise. + (grub_reiserfs_iterate_dir): Return 1 if found, otherwise 0. + + (GRUB_REISERFS_KEYV2_BITFIELD): Undefined. Probably it would be + better to remove the bitfield version completely. + +2008-01-06 Yoshinori K. Okuji + + * fs/reiserfs.c (grub_reiserfs_iterate_dir): ENTRY_ITEM must be + allocated from the heap, due to the fshelp implementation. + (grub_reiserfs_dir): Free NODE, due to the same reason. + +2008-01-06 Yoshinori K. Okuji + + Mostly from Vincent Pelletier: + + * fs/reiserfs.c: New file. + + * conf/common.rmk (pkglib_MODULES): Added reiserfs.mod. + (reiserfs_mod_SOURCES): New variable. + (reiserfs_mod_CFLAGS): Likewise. + (reiserfs_mod_LDFLAGS): Likewise. + + * DISTLIST: Added boot/i386/pc/lnxboot.S, commands/hexdump.c, + disk/ata.c, fs/cpio.c, fs/ntfscomp.c, fs/reiserfs.c, + include/grub/ntfs.h, include/grub/i386/pc/machine.h, and + normal/color.c. + +2008-01-06 Robert Millan + + * normal/color.c: Remove `'. + +2008-01-05 Jeroen Dekkers + + * include/grub/normal.h: Include . + +2008-01-05 Robert Millan + + * util/i386/pc/grub-setup.c (usage): Replace obsolete `(hd0,0)' in + usage example with `(hd0,1)'. + Reported by Samuel Thibault. + +2008-01-05 Robert Millan + + * kern/i386/loader.S (grub_linux_is_bzimage): New variable. + (grub_linux_boot_zimage): Rename to ... + (grub_linux_boot): ... this. + (grub_linux_boot_bzimage): Merge with `grub_linux_boot_zimage'. + (grub_linux_boot_zimage): Conditionalize zImage copy. + + * include/grub/i386/loader.h (grub_linux_is_bzimage): Add prototype. + (grub_linux_boot_bzimage): Remove prototype. + (grub_linux_boot_zimage): Rename to ... + (grub_linux_boot): ... this. + + * loader/i386/pc/linux.c (big_linux): Replace with `grub_linux_is_bzimage'. + (grub_linux_boot): Remove function. + +2008-01-05 Robert Millan + + * include/grub/normal.h (grub_env_write_color_normal): New prototype. + (grub_env_write_color_highlight): Likewise. + (grub_wait_after_message): Likewise. + + * normal/color.c: New file. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `normal/color.c'. + (normal_mod_DEPENDENCIES): Likewise. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Add `normal/color.c'. + (normal_mod_DEPENDENCIES): Likewise. + + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Add `normal/color.c'. + (normal_mod_DEPENDENCIES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `normal/color.c'. + (normal_mod_DEPENDENCIES): Likewise. + + * normal/menu_entry.c (run): Rely on grub_wait_after_message() + for waiting after a message is printed. + * normal/main.c (read_config_file): Likewise. + (grub_normal_init): Register grub_env_write_color_normal() and + grub_env_write_color_highlight() hooks. Mark `color_normal' and + `color_highlight' variables as global. + + * normal/menu.c (grub_wait_after_message): New function. + (grub_color_menu_normal): New variable. Replaces ... + (GRUB_COLOR_MENU_NORMAL): ... this macro. + (grub_color_menu_highlight): New variable. Replaces ... + (GRUB_COLOR_MENU_HIGHLIGHT): ... this macro. + (draw_border): Set color state to `GRUB_TERM_COLOR_NORMAL' instead of + `GRUB_TERM_COLOR_STANDARD'. + (print_message): Use `grub_setcolorstate' to reload colors. Rename + `normal_code' and `highlight_code' to `old_color_normal' and + `old_color_highlight', respectively. + (grub_menu_init_page): Update colors when drawing the menu, based on + `menu_color_normal' and `menu_color_highlight' variables. + (grub_menu_run): Rely on grub_wait_after_message() for waiting after + a message is printed. + +2008-01-05 Robert Millan + + * kern/env.c (grub_env_context_open): Propagate hooks for global + variables to new context. + + * kern/main.c (grub_set_root_dev): Export `root' variable. + +2008-01-05 Robert Millan + + * util/biosdisk.c (get_os_disk): Check for devfs-style IDE and SCSI + discs unconditionally, since udev and others have options to provide + them. + +2008-01-05 Robert Millan + + * normal/completion.c (iterate_dir): Skip `.' and `..' directories. + +2008-01-04 Christian Franke + + * kern/i386/pc/init.c (grub_machine_init): Fix evaluation + of eisa_mmap. + +2008-01-03 Pavel Roskin + + * kern/i386/linuxbios/init.c: Put "void" to all function + declarations with no arguments. + * kern/powerpc/ieee1275/init.c: Likewise. + * term/i386/pc/at_keyboard.c: Likewise. + * term/i386/pc/vga_text.c: Likewise. + * util/grub-mkdevicemap.c: Likewise. + +2008-01-02 Robert Millan + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Improve error + message when loaded image is out of bounds. + (grub_multiboot_load_elf64): Likewise. + +2008-01-02 Pavel Roskin + + * util/grub.d/10_linux.in: Try version without ".old" when + looking for initrd. It's better to use initrd from the newer + kernel of the same version than no initrd at all. + +2008-01-01 Robert Millan + + * util/biosdisk.c (get_os_disk): Fix check for IDE or SCSI discs. + +2008-01-01 Vesa Jaaskelainen + + * include/grub/video.h: Added grub_video_unmap_color and + grub_video_get_active_render_target. + (grub_video_adapter): Added unmap_color and get_active_render_target. + + * video/video.c: Added grub_video_unmap_color and + grub_video_get_active_render_target. + (grub_video_get_info): Changed method to accept NULL pointer as an + argument to allow detection of active video adapter. + + * video/i386/pc/vbe.c: Renamed grub_video_vbe_unmap_color as + grub_video_vbe_unmap_color_int. + Added grub_video_vbe_unmap_color and + grub_video_vbe_get_active_render_target. + (grub_video_vbe_adapter): Added unmap_color and + get_active_render_target. + + * video/i386/pc/vbeblit.c: Replaced grub_video_vbe_unmap_color usage + with grub_video_vbe_unmap_color_int. + + * term/gfxterm.c (DEFAULT_STANDARD_COLOR): Added. + (DEFAULT_NORMAL_COLOR): Likewise. + (DEFAULT_HIGHLIGHT_COLOR) Likewise. + (DEFAULT_FG_COLOR): Removed. + (DEFAULT_BG_COLOR): Likewise. + (DEFAULT_CURSOR_COLOR): Changed value. + (grub_virtual_screen): Added standard_color_setting, + normal_color_setting, highlight_color_setting and term_color. + (grub_virtual_screen): Removed fg_color_setting and bg_color_setting. + (bitmap_width): Added. + (bitmap_height): Likewise. + (bitmap): Likewise. + (set_term_color): Likewise. + (grub_virtual_screen_setup): Changed to use new terminal coloring + settings. + (grub_gfxterm_init): Added init for bitmap. + (grub_gfxterm_fini): Added destroy for bitmap. + (redraw_screen_rect): Updated to use background bitmap and new + terminal coloring. + (scroll_up): Added optimization for case when there is no bitmap. + (grub_gfxterm_cls): Fixed to use correct background color. + (grub_virtual_screen_setcolorstate): Changed to use new terminal + coloring. + (grub_virtual_screen_setcolor): Likewise. + (grub_virtual_screen_getcolor): Added. + (grub_gfxterm_background_image_cmd): Likewise. + (grub_video_term): Added setcolor and getcolor. + (MOD_INIT): Added registration of background_image command. + (MOD_TERM): Added unregistration for background_image command. + +2007-12-30 Pavel Roskin + + * loader/multiboot_loader.c: Fix multiboot command + unregistration. Fix all typos in the word "multiboot". + +2007-12-29 Pavel Roskin + + * util/grub.d/10_linux.in: Refactor search for initrd. Add + support for initrd names used in Fedora. + +2007-12-26 Bean + + * conf/common.rmk (pkgdata_MODULES): Add cpio.mod. + (cpio_mod_SOURCES): New variable. + (cpio_mod_CFLAGS): Likewise. + (cpio_mod_LDFLAGS): Likewise. + + * fs/cpio.c: New file. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add cpio.c. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise. + + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + +2007-12-25 Robert Millan + + * include/grub/term.h (struct grub_term): Add `getcolor' function. + (grub_getcolor): New function. + + * kern/term.c (grub_getcolor): New function. + * normal/menu.c (GRUB_COLOR_MENU_NORMAL): New macro. + (GRUB_COLOR_MENU_HIGHLIGHT): New macro. + (print_entry): Set normal and highlight colors to + `GRUB_COLOR_MENU_NORMAL' and `GRUB_COLOR_MENU_HIGHLIGHT', + respectively, before printing and restore them to old + values afterwards. + (grub_menu_init_page): Likewise. Fill an additional colored space + that would otherwise be left blank. + + * term/efi/console.c (grub_console_getcolor): New function. + (struct grub_console_term.getcolor): New variable. + * term/i386/pc/console.c (grub_console_getcolor): New function. + (struct grub_console_term.getcolor): New variable. + * term/ieee1275/ofconsole.c (grub_ofconsole_getcolor): New function. + (struct grub_console_term.getcolor): New variable. + + * term/i386/pc/serial.c (grub_serial_setcolor): Remove function. + (struct grub_console_term.setcolor): Remove variable. + * term/i386/pc/vesafb.c (grub_virtual_screen_setcolor): Remove function. + (struct grub_console_term.setcolor): Remove variable. + * term/i386/pc/vga.c (grub_vga_setcolor): Remove function. + (struct grub_console_term.setcolor): Remove variable. + * term/gfxterm.c (grub_virtual_screen_setcolor): Remove function. + (struct grub_console_term.setcolor): Remove variable. + +2007-12-25 Robert Millan + + * configure.ac: Search for possible unifont.hex locations, and + define UNIFONT_HEX if found. + + * Makefile.in (UNIFONT_HEX): Define variable. + (DATA): Rename to ... + (PKGLIB): ... this. Update all users. + (PKGDATA): New variable. + (pkgdata_IMAGES): Rename to ... + (pkglib_IMAGES): ... this. Update all users. + (pkgdata_MODULES): Rename to ... + (pkglib_MODULES): ... this. Update all users. + (pkgdata_PROGRAMS): Rename to ... + (pkglib_PROGRAMS): ... this. Update all users. + (pkgdata_DATA): Rename to ... + (pkglib_DATA): ... this. Update all users. + (CLEANFILES): Redefine to `$(pkglib_DATA) $(pkgdata_DATA)'. + (unicode.pff, ascii.pff): New rules. + (all-local): Add `$(PKGDATA)' dependency. + (install-local): Process `$(PKGDATA)'. + + * util/update-grub_lib.in (font_path): Search for *.pff files in + a few more locations, including `${pkgdata}'. + +2007-12-23 Robert Millan + + Patch from Bean : + * disk/loopback.c (grub_loopback_read): Add missing bit shift to + `size'. + +2007-12-21 Bean + + * conf/common.rmk (pkgdata_MODULES): Add ntfscomp.mod. + (ntfscomp_mod_SOURCES): New variable. + (ntfscomp_mod_CFLAGS): Likewise. + (ntfscomp_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ntfscomp.c. + (grub_probe_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + + * conf/i386-efi.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c. + (grub_emu_SOURCES): Likewise. + + * conf/i386-linuxbios.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c. + (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c. + (grub_emu_SOURCES): Likewise. + + * fs/ntfs.c (grub_ntfscomp_func): New variable. + (read_run_list): Renamed to grub_ntfs_read_run_list. + (decomp_nextvcn): Moved to ntfscomp.c. + (decomp_getch): Likewise. + (decomp_get16): Likewise. + (decomp_block): Likewise. + (read_block): Likewise. + (read_data): Partially moved to ntfscomp.c. + (fixup): Change unsigned to grub_uint16_t. + (read_mft): Change unsigned long to grub_uint32_t. + (read_attr): Likewise. + (read_data): Likewise. + (read_run_data): Likewise. + (read_run_list): Likewise. + (read_mft): Likewise. + + * fs/ntfscomp.c: New file. + + * include/grub/ntfs.h: New file. + +2007-12-16 Robert Millan + + * util/grub-mkdevicemap.c (make_device_map): Iterate up to 20 for + IDE disk check, since Linux is known to support 20 IDE disks. + Reported by Colin Watson. + +2007-12-15 Bean + + * conf/i386-pc.rmk (pkgdata_IMAGES): Add lnxboot.img. + (lnxboot_img_SOURCES): New variable. + (lnxboot_img_ASFLAGS): Likewise. + (lnxboot_img_LDFLAGS): Likewise. + + * boot/i386/pc/lnxboot.S: New file. + +2007-11-24 Pavel Roskin + + * configure.ac: Test if '--build-id=none' is supported by the + linker. If yes, add it to TARGET_LDFLAGS. Build ID causes + objcopy to generate incorrect binary files (binutils + 2.17.50.0.18-1 as shipped by Fedora 8). + * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Use LDFLAGS when + linking, so that build ID doesn't break the test. + +2007-11-24 Pavel Roskin + + * include/grub/i386/time.h: use "void" in the argument list + of grub_cpu_idle(). + * include/grub/powerpc/time.h: Likewise. + * include/grub/sparc64/time.h: Likewise. + +2007-11-18 Christian Franke + + * util/console.c (grub_ncurses_getkey): Change curses KEY_* mapping, + now return control chars instead of GRUB_CONSOLE_KEY_* constants. + This fixes the problem that function keys did not work in grub-emu. + +2007-11-18 Christian Franke + + * disk/host.c (grub_host_open): Remove attribute unused from + name parameter. Add check for "host". This fixes the problem + that grub-emu does not find partitions. + +2007-11-18 Christian Franke + + * util/hostfs.c (is_dir): New function. + (grub_hostfs_dir): Handle missing dirent.d_type case. + (grub_hostfs_read): Add missing fseek(). + (grub_hostfs_label): Clear label pointer. This fixes a crash + of grub-emu on "ls (host)". + +2007-11-18 Christian Franke + + * include/grub/i386/pc/init.h (struct grub_machine_mmap_entry): + Add attribute packed, gcc 3.4.4 on Cygwin aligns this + to 64 bit boundary by default. + +2007-11-18 Bean + + * conf/common.rmk (pkgdata_MODULES): Add hexdump.mod. + (hexdump_mod_SOURCES): New variable. + (hexdump_mod_CFLAGS): Likewise. + (hexdump_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add command/hexdump.c. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Add command/hexdump.c. + + * conf/i386-linuxbios.rmk (grub_emu_SOURCES): Add command/hexdump.c. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add command/hexdump.c. + + * include/grub/hexdump.h: New file. + + * commands/hexdump.c: New file. + +2007-11-10 Robert Millan + + * commands/i386/pc/play.c (beep_off): Switch order of arguments + in grub_outb() calls. + (beep_on): Likewise. + +2007-11-10 Christian Franke + + * normal/menu.c (run_menu): Check for empty menu to avoid crash. + (grub_menu_run): Likewise. + +2007-11-10 Robert Millan + + * include/grub/i386/efi/machine.h: New file. + * include/grub/i386/linuxbios/machine.h: Likewise. + * include/grub/i386/pc/machine.h: Likewise. + * include/grub/powerpc/ieee1275/machine.h: Likewise. + * include/grub/sparc64/ieee1275/machine.h: Likewise. + + * term/i386/pc/serial.c: Include . + (serial_hw_io_addr): New variable. + (serial_hw_get_port): Obtain port address from `serial_hw_io_addr' + instead of `(unsigned short *) 0x400'. + +2007-11-10 Bean + + * fs/ntfs.c (read_block): Fix a bug caused by adjacent blocks. + +2007-11-10 Vesa Jaaskelainen + + * conf/i386-pc.rmk (pkgdata_MODULES): Added vga.mod. + (vga_mod_SOURCES): Added. + (vga_mod_CFLAGS): Likewise. + (vga_mod_LDFLAGS): Likewise. + + * term/i386/pc/vga.c (get_map_mask): Switch order of arguments in + grub_outb() calls. + (set_map_mask): Likewise. + (set_read_map): Likewise. + (set_read_address): Likewise. + (vga_font): Removed variable. + (get_vga_glyph): Removed function. + (invalidate_char): Likewise. + (write_char): Changed to use grub_font_get_glyph() for font + information. + (grub_vga_putchar): Likewise. + (grub_vga_getcharwidth): Likewise. + +2007-11-10 Vesa Jaaskelainen + + * conf/i386-pc.rmk (boot_img_LDFLAGS): Use COMMON_LDFLAGS for target + flags. + (pxeboot_img_LDFLAGS): Likewise. + (diskboot_img_LDFLAGS): Likewise. + (kernel_img_LDFLAGS): Likewise. + +2007-11-06 Robert Millan + + * term/i386/pc/serial.c (serial_hw_put): Switch order of arguments + in grub_outb() calls. + (serial_hw_init): Likewise. + +2007-11-05 Robert Millan + + * util/update-grub.in: Allow files in ${update_grub_dir} to contain + spaces. Skip non-regular files. + +2007-11-05 Robert Millan + + * kern/disk.c (grub_disk_firmware_fini) + (grub_disk_firmware_is_tainted): New variables. + + * include/grub/disk.h (grub_disk_firmware_fini) + (grub_disk_firmware_is_tainted): Likewise. + + * disk/i386/pc/biosdisk.c (GRUB_MOD_FINI(biosdisk)): Moved from here ... + (grub_disk_biosdisk_fini): ... to here. + (GRUB_MOD_FINI(biosdisk)): Implement using grub_disk_biosdisk_fini(). + (GRUB_MOD_INIT(biosdisk)): Abort when `grub_disk_firmware_is_tainted' + is set. Register grub_disk_biosdisk_fini() in + `grub_disk_firmware_fini'. + + * disk/ata.c: Remove `'. + (GRUB_MOD_INIT(ata)): Remove grub_biosdisk_fini() call. + Use `grub_disk_firmware_is_tainted' and `grub_disk_firmware_fini' + to finish existing firmware disk interface. + + * conf/i386-linuxbios.rmk (pkgdata_MODULES): Add `ata.mod'. + (ata_mod_SOURCES): New variable. + (ata_mod_CFLAGS): Likewise. + (ata_mod_LDFLAGS): Likewise. + +2007-11-05 Robert Millan + + * disk/ata.c: Remove `'. Include `'. + (grub_ata_wait): Reimplement using grub_millisleep(). + + * include/grub/misc.h (grub_div_roundup): Fix parenthesization. + * include/grub/i386/time.h (grub_cpu_idle): Disable `hlt' instruction. + +2007-11-03 Marco Gerards + + * term/i386/pc/vga_text.c: Include . + (CRTC_ADDR_PORT): New macro. + (CRTC_DATA_PORT): Likewise. + (CRTC_CURSOR): Likewise. + (CRTC_CURSOR_ADDR_HIGH): Likewise. + (CRTC_CURSOR_ADDR_LOW): Likewise. + (update_cursor): New function. + (grub_console_real_putchar): Call `update_cursor'. + (grub_console_gotoxy): Likewise. + (grub_console_cls): Set the default color when clearing the + screen. + (grub_console_setcursor): Implemented. + +2007-11-03 Marco Gerards + + * disk/ata.c (grub_ata_pio_read): Don't wait for the command to + become activate. + (grub_ata_pio_write): Likewise. + + (grub_atapi_identify): Wait after issuing an ATA command. + (grub_atapi_packet): Likewise. + (grub_ata_identify): Likewise. + (grub_ata_readwrite): Likewise. + +2007-11-03 Marco Gerards + + * disk/ata.c (grub_ata_pio_read): Detect and return the error code. + (grub_ata_pio_write): Likewise. + (grub_ata_readwrite): Use `grub_error', instead of + returning `grub_errno'. + +2007-11-03 Marco Gerards + + * disk/ata.c (grub_ata_readwrite): Call grub_ata_pio_read and + grub_ata_pio_write once for every single sector, instead of for + multiple sectors. + +2007-10-31 Robert Millan + + * configure.ac: Add `i386-linuxbios' to the list of supported targets. + + * conf/i386-linuxbios.rmk: New file. + + * kern/i386/pc/hardware.c: Likewise. + * term/i386/pc/at_keyboard.c: Likewise. + * term/i386/pc/vga_text.c: Likewise. + + * include/grub/i386/linuxbios/boot.h: Likewise. + * include/grub/i386/linuxbios/console.h: Likewise. + * include/grub/i386/linuxbios/init.h: Likewise. + * include/grub/i386/linuxbios/kernel.h: Likewise. + * include/grub/i386/linuxbios/loader.h: Likewise. + * include/grub/i386/linuxbios/memory.h: Likewise. + * include/grub/i386/linuxbios/serial.h: Likewise. + * include/grub/i386/linuxbios/time.h: Likewise. + + * kern/i386/linuxbios/init.c: Likewise. + * kern/i386/linuxbios/startup.S: Likewise. + * kern/i386/linuxbios/table.c: Likewise. + +2007-10-31 Marco Gerards + + * conf/i386-pc.rmk (pkgdata_MODULES): Add `ata.mod'. + (ata_mod_SOURCES): New variable. + (ata_mod_CFLAGS): Likewise. + (ata_mod_LDFLAGS): Likewise. + + * disk/ata.c: New file. + + * include/grub/disk.h (grub_disk_dev_id): Add + `GRUB_DISK_DEV_ATA_ID'. + +2007-10-31 Robert Millan + + * include/grub/i386/pc/init.h (grub_lower_mem): Moved from here ... + * include/grub/i386/pc/memory.h (grub_lower_mem): ... to here. + + * include/grub/i386/pc/init.h (grub_upper_mem): Moved from here ... + * include/grub/i386/pc/memory.h (grub_upper_mem): ... to here. + + * include/grub/i386/pc/memory.h: Include `' and + `'. + + * loader/i386/pc/multiboot.c: Include `'. + +2007-10-27 Robert Millan + + * include/grub/types.h (ULONG_MAX): Define macro. + +2007-10-22 Robert Millan + + * kern/i386/pc/startup.S: Remove `"kern/i386/realmode.S"'. Include + `"../realmode.S"'. + Remove `"kern/i386/loader.S"'. Include `"../loader.S"'. + +2007-10-22 Robert Millan + + * conf/i386-pc.rmk (kernel_img_SOURCES): Remove `disk/i386/pc/biosdisk.c'. + (pkgdata_MODULES): Add `biosdisk.mod'. + (biosdisk_mod_SOURCES, biosdisk_mod_CFLAGS, biosdisk_mod_LDFLAGS): New + variables. + + * disk/i386/pc/biosdisk.c: Include `'. + (grub_biosdisk_init): Replace with ... + (GRUB_MOD_INIT(biosdisk)): ... this. + (grub_biosdisk_fini): Replace with ... + (GRUB_MOD_FINI(biosdisk)): ... this. + + * kern/i386/pc/init.c: Remove `'. + (grub_machine_init): Remove call to grub_biosdisk_init(). + (grub_machine_fini): Remove call to grub_machine_fini(). + + * util/i386/pc/grub-install.in (modules): Add `biosdisk'. + +2007-10-22 Robert Millan + + * include/grub/time.h: New file. + * include/grub/i386/time.h: Likewise. + * include/grub/powerpc/time.h: Likewise. + * include/grub/sparc64/time.h: Likewise. + + * include/grub/i386/pc/time.h (KERNEL_TIME_HEADER): Rename all + instances to ... + (KERNEL_MACHINE_TIME_HEADER): ... this. + * include/grub/powerpc/ieee1275/time.h (KERNEL_TIME_HEADER): Rename all + instances to ... + (KERNEL_MACHINE_TIME_HEADER): ... this. + * include/grub/sparc64/ieee1275/time.h (KERNEL_TIME_HEADER): Rename all + instances to ... + (KERNEL_MACHINE_TIME_HEADER): ... this. + + * kern/i386/efi/init.c: Include `'. + (grub_millisleep): New function. + * kern/i386/pc/init.c: Include `'. + (grub_millisleep): New function. + * kern/powerpc/ieee1275/init.c: Include `'. + Remove `grub/machine/time.h' include. + (grub_millisleep): New function. + * kern/sparc64/ieee1275/init.c: Include `'. + Remove `grub/machine/time.h' include. + (grub_millisleep): New function. + + * include/grub/misc.h (grub_div_roundup): New function. + + * kern/misc.c: Include `'. + (grub_millisleep_generic): New function. + + * conf/i386-efi.rmk (kernel_mod_HEADERS): Remove `i386/efi/time.h'. + Add `time.h'. + * conf/i386-pc.rmk (kernel_img_HEADERS): Remove `machine/time.h'. + Add `time.h'. + * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Remove + `machine/time.h'. Add `time.h'. + * conf/sparc64-ieee1275.rmk (kernel_elf_HEADERS): Likewise. + +2007-10-21 Robert Millan + + * include/grub/misc.h (grub_max): New function. + +2007-10-21 Robert Millan + + * util/misc.c (grub_util_info): Call fflush() before returning. + +2007-10-20 Robert Millan + + * genmk.rb (Image): Copy `extra_flags' from here ... + (PModule): ... to here. Use it in `#{obj}: #{src}' rule. + + * commands/i386/cpuid.c (grub_cmd_cpuid): Add __attribute__ ((unused)) + to `argc' and `args' arguments. + +2007-10-17 Robert Millan + + * kern/i386/loader.S: New file. + + * kern/i386/pc/startup.S (grub_linux_prot_size): Moved from here ... + * kern/i386/loader.S (grub_linux_prot_size)... to here. + * kern/i386/pc/startup.S (grub_linux_tmp_addr): Moved from here ... + * kern/i386/loader.S (grub_linux_tmp_addr)... to here. + * kern/i386/pc/startup.S (grub_linux_real_addr): Moved from here ... + * kern/i386/loader.S (grub_linux_real_addr)... to here. + * kern/i386/pc/startup.S (grub_linux_boot_zimage): Moved from here ... + * kern/i386/loader.S (grub_linux_boot_zimage)... to here. + * kern/i386/pc/startup.S (grub_linux_boot_bzimage): Moved from here ... + * kern/i386/loader.S (grub_linux_boot_bzimage)... to here. + * kern/i386/pc/startup.S (grub_multiboot_real_boot): Moved from here ... + * kern/i386/loader.S (grub_multiboot_real_boot)... to here. + * kern/i386/pc/startup.S (grub_multiboot2_real_boot): Moved from here ... + * kern/i386/loader.S (grub_multiboot2_real_boot)... to here. + + * kern/i386/realmode.S: New file. + + * kern/i386/pc/startup.S (protstack): Moved from here ... + * kern/i386/realmode.S (protstack)... to here. + * kern/i386/pc/startup.S (gdt): Moved from here ... + * kern/i386/realmode.S (gdt)... to here. + * kern/i386/pc/startup.S (prot_to_real): Moved from here ... + * kern/i386/realmode.S (prot_to_real)... to here. + + * kern/i386/pc/startup.S: Include `kern/i386/loader.S' and + `kern/i386/realmode.S'. + +2007-10-17 Robert Millan + + * include/grub/i386/loader.h: New file. + + * include/grub/i386/pc/loader.h (grub_linux_prot_size) + (grub_linux_tmp_addr, grub_linux_real_addr, grub_os_area_addr) + (grub_os_area_size, grub_linux_boot_zimage, grub_linux_boot_bzimage) + (grub_multiboot_real_boot, grub_multiboot2_real_boot) + (grub_rescue_cmd_linux, grub_rescue_cmd_initrd): Moved from here ... + * include/grub/i386/loader.h (grub_linux_prot_size) + (grub_linux_tmp_addr, grub_linux_real_addr, grub_os_area_addr) + (grub_os_area_size, grub_linux_boot_zimage, grub_linux_boot_bzimage) + (grub_multiboot_real_boot, grub_multiboot2_real_boot) + (grub_rescue_cmd_linux, grub_rescue_cmd_initrd): ... to here. + + * include/grub/i386/pc/loader.h: Include `grub/cpu/loader.h'. + +2007-10-15 Robert Millan + + * normal/misc.c (grub_normal_print_device_info): Do not probe for + filesystem when dev->disk is unset. + Do probe for filesystem even when dev->disk->has_partitions is set. + In case a filesystem is found, always report it. + In case it isn't, if dev->disk->has_partitions is set, report that + a partition table was found instead of reporting that no filesystem + could be identified. + +2007-10-12 Robert Millan + + * conf/powerpc-ieee1275.rmk (grub_mkimage_SOURCES): Replace reference + to util/powerpc/ieee1275/grub-mkimage.c with util/elf/grub-mkimage.c. + + * include/grub/types.h (grub_host_to_target16): New macro. + (grub_host_to_target32): Likewise. + (grub_host_to_target64): Likewise. + (grub_target_to_host16): Likewise. + (grub_target_to_host32): Likewise. + (grub_target_to_host64): Likewise. + + * include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MOD_ALIGN): + Renamed from to ... + (GRUB_MOD_ALIGN): ...this. Update all users. + + * util/elf/grub-mkimage.c (load_note): Replace grub_cpu_to_be32 with + grub_host_to_target32. + Replace grub_be_to_cpu32 with grub_target_to_host32. + (load_modules): Likewise. + (add_segments): Replace grub_be_to_cpu16 with grub_target_to_host16. + Replace grub_be_to_cpu32 with grub_target_to_host32. + Replace grub_cpu_to_be16 with grub_host_to_target16. + Replace grub_cpu_to_be32 grub_host_to_target32. + +2007-10-12 Robert Millan + + * util/powerpc/ieee1275/grub-mkimage.c: Moved to ... + * util/elf/grub-mkimage.c: ... here. + + * DISTLIST: Add `util/elf/grub-mkimage.c'. Remove + `util/powerpc/ieee1275/grub-mkimage.c'. + +2007-10-07 Robert Millan + + * kern/powerpc/ieee1275/init.c: Rename HEAP_LIMIT to HEAP_MAX_ADDR, + and make it easier to figure out. + Add HEAP_MIN_SIZE and HEAP_MAX_ADDR definitions. + (grub_claim_heap): Use HEAP_MAX_ADDR rather than taking a parameter. + Do not avoid claiming a region above HEAP_MAX_ADDR if that would + leave us with less than HEAP_MIN_SIZE total heap. + Avoid our total amount of heap to surpass HEAP_MAX_SIZE. + +2007-10-03 Robert Millan + + * include/grub/i386/io.h: New file. + * commands/i386/pc/play.c (inb): Removed. + (outb): Removed. + Include grub/cpu/io.h. Replace inb() with grub_inb() and outb() + with grub_outb(). + * term/i386/pc/serial.c (inb): Removed. + (outb): Removed. + Include grub/cpu/io.h. Replace inb() with grub_inb() and outb() + with grub_outb(). + * term/i386/pc/vga.c (inb): Removed. + (outb): Removed. + Include grub/cpu/io.h. Replace inb() with grub_inb() and outb() + with grub_outb(). + +2007-10-02 Robert Millan + + * conf/i386-efi.rmk (grub_emu_SOURCES): Add util/hostfs.c. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + Reported by Marcin Kurek. + +2007-09-07 Robert Millan + + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_test_flag): Detect + SmartFirmware version updates (as released by Sven Luther), and avoid + setting GRUB_IEEE1275_FLAG_NO_PARTITION_0 or + GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS unless the running version is + known broken. + +2007-09-03 Yoshinori K. Okuji + + From Hitoshi Ozeki: + * kern/i386/pc/init.c (compact_mem_regions): Decrease NUM_REGIONS + when merging two regions. + +2007-09-03 Yoshinori K. Okuji + + * kern/rescue.c (grub_enter_rescue_mode): Free ARGS. + * normal/completion.c (grub_normal_do_completion): Likewise. + Reported by Hitoshi Ozeki. + +2007-09-03 Yoshinori K. Okuji + + Do not use devices at boot in chainloading. + + * loader/i386/pc/chainloader.c (boot_drive): New variable. + (boot_part_addr): Likewise. + (grub_chainloader_boot): Simply call grub_chainloader_real_boot + with BOOT_DRIVE and BOOT_PART_ADDR. + (grub_chainloader_cmd): Set BOOT_DRIVE and BOOT_PART_ADDR. + Reported by Hitoshi Ozeki . + +2007-08-29 Robert Millan + + Patch from Simon Peter : + * genmk.rb (Utility): Append $(#{src}_DEPENDENCIES) to #{obj} targets. + * conf/i386-pc.rmk: Replace grub-probe_DEPENDENCIES with + util/grub-probe.c_DEPENDENCIES. Replace grub-setup_DEPENDENCIES with + util/i386/pc/grub-setup.c_DEPENDENCIES. + * conf/i386-efi.rmk: Replace grub-probe_DEPENDENCIES with + util/grub-probe.c_DEPENDENCIES. + * conf/powerpc-ieee1275.rmk: Likewise. + +2007-08-28 Robert Millan + + * util/i386/get_disk_name.c: New. Implement grub_util_get_disk_name() + to tell grub-mkdevicemap how to name devices. + * util/ieee1275/get_disk_name.c: Likewise (using "ofpathname -a" + feature). + + * conf/i386-efi.rmk (grub_mkdevicemap_SOURCES): Add + util/i386/get_disk_name.c. + * conf/i386-pc.rmk (grub_mkdevicemap_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_mkdevicemap_SOURCES): Add + util/ieee1275/get_disk_name.c. + + * include/grub/util/misc.h: grub_util_get_disk_name() declaration. + + * DISTLIST: Add util/i386/get_disk_name.c and + util/ieee1275/get_disk_name.c. + + * util/grub-mkdevicemap.c: Replace device naming logic with + grub_util_get_disk_name() calls. + +2007-08-20 Robert Millan + + * normal/menu.c (run_menu): Refer to seconds as "s" not "seconds" + (so that it works for both plural and singular quantities). + +2007-08-05 Robert Millan + + * util/grub.d/10_linux.in (test_gt): Strip out vmlinu[xz]- prefix + so that [xz] isn't taken into account when determining order. + +2007-08-02 Marco Gerards + + * DISTLIST: Add `disk/host.c', `fs/ntfs.c', `include/multiboot.h', + `include/multiboot2.h', `include/grub/elfload.h', + `include/multiboot.h', `include/grub/multiboot.h', + `include/grub/multiboot_loader.h', `include/grub/multiboot2.h', + `include/grub/i386/pc/biosdisk.h', `include/grub/util/biosdisk.h', + `kern/elf.c', `loader/multiboot_loader.c', + `loader/multiboot_loader_normal.c', `loader/multiboot2.c', + `loader/i386/pc/multiboot2.c', + `loader/powerpc/ieee1275/multiboot2.c', `util/hostfs.c' and + `util/i386/pc/grub-mkrescue.in'. Remove + `include/grub/biosdisk.h', `include/grub/i386/pc/multiboot.h', + `include/grub/i386/pc/util/biosdisk.h' and + `include/grub/powerpc/ieee1275/multiboot.h'. + +2007-08-02 Bean + + * conf/common.rmk (pkgdata_MODULES): Add ntfs.mod. + (ntfs_mod_SOURCES): New variable. + (ntfs_mod_CFLAGS): Likewise. + (ntfs_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ntfs.c. + (grub_probe_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + + * conf/i386-efi.rmk (grub_probe_SOURCES): Add fs/ntfs.c. + (grub_emu_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add fs/ntfs.c. + (grub_emu_SOURCES): Likewise. + + * conf/misc.c (grub_utf16_to_utf8): Fix unicode conversion bug. + + * fs/ntfs.c: New file. + +2007-08-02 Bean + + * disk.h (grub_disk): Use NESTED_FUNC_ATTR. + + * file.h (grub_file): Likewise. + + * fshelp.h (grub_fshelp_read_file): Likewise. + + * util/i386/pc/grub-setup.c (setup): Likewise. + (save_first_sector): Likewise. + (save_blocklists): Likewise. + + * fs/affs.c (grub_affs_read_file): Likewise. + + * fs/ext2.c (grub_ext2_read_file): Likewise. + + * fs/fat.c (grub_fat_read_data): Likewise. + + * fs/fshelp.c (grub_fshelp_read_file): Likewise. + + * fs/hfs.c (grub_hfs_read_file): Likewise. + + * fs/hfsplus.c (grub_hfsplus_read_file): Likewise. + + * fs/jfs.c (grub_jfs_read_file): Likewise. + + * fs/minix.c (grub_minix_read_file): Likewise. + + * fs/sfs.c (grub_sfs_read_file): Likewise. + + * fs/ufs.c (grub_ufs_read_file): Likewise. + + * fs/xfs.c (grub_xfs_read_file): Likewise. + + * command/blocklist.c (read_blocklist): Likewise. + (print_blocklist): Likewise. + +2007-08-02 Marco Gerards + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/host.c' and + `util/hostfs.c'. + + * disk/host.c: New file. + + * util/hostfs.c: Likewise. + + * fs/hfsplus.c (grub_hfsplus_mount): When reading out of disk, + return `GRUB_ERR_BAD_FS'. + * fs/sfs.c (grub_sfs_mount): Likewise. + * fs/xfs.c (grub_xfs_mount): Likewise. + + * include/grub/disk.h (enum grub_disk_dev_id): Add + `GRUB_DISK_DEVICE_HOST_ID'. + + * util/grub-emu.c (main): Initialize and de-initialize hostfs. + +2007-07-24 Jerone Young + + * conf/i386-pc.rmk: Add Multiboot loader and multiboot 2 to multiboot + modules for compilation. + * conf/powerpc-ieee1275.rmk: Likewise. + + * include/multiboot.h: Move multiboot definitions to one file. Rename + many definitions to not get grub specific. + * include/multiboot2.h: Create header with multiboot 2 definitions. + * include/grub/multiboot.h: Header for grub specific function + prototypes and definitions. + * include/grub/multiboot2.h: Likewise. + * include/grub/multiboot_loader.h: Likewise. + * include/grub/i386/pc/multiboot.h: Removed. + * include/grub/powerpc/ieee1275/multiboot.h: Removed. + + * loader/multiboot_loader.c: Created to act as a proxy for multiboot 1 + and 2 to allow for one multiboot and module commands. + * loader/multiboot2.c: Add multiboot2 functionality. + * loader/i386/pc/multiboot.c: Modify for new multiboot header location + and definition names. + * loader/i386/pc/multiboot2.c: Created to add i386 specific multiboot + 2 functions. + * loader/powerpc/ieee1275/multiboot2.c: Created to add powerpc + ieee1275 specific multiboot2 code. + + * kern/i386/pc/startup.S: Change headers and definition names for + multiboot. Add function grub_multiboot2_real_boot for multiboot 2. + +2007-07-22 Robert Millan + + * geninitheader.sh: Process file specified in first parameter rather + than hardcoding grub_modules_init.lst. + * geninit.sh: Likewise. Also, construct header name dynamically rather + than hardcoding grub_modules_init.h. + + * conf/common.rmk: Rename grub_modules_init.[ch] files associated with + grub-emu to grub_emu_init.[ch]. Add rules to build analogous + grub_probe_init.[ch] and grub_setup_init.[ch]. + + * conf/powerpc-ieee1275.rmk (grub_emu_DEPENDENCIES): Replace + grub_modules_init.h with grub_emu_init.h. + (grub_probe_DEPENDENCIES, grub_probe_SOURCES): Add new + grub_probe_init.[ch] files. + * conf/i386-efi.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + (grub_setup_DEPENDENCIES, grub_setup_SOURCES): Add new + grub_setup_init.[ch] files. + + * util/grub-emu.c: Replace grub_modules_init.h with grub_emu_init.h. + * util/grub-probe.c: Include grub_probe_init.h. Use grub_init_all() + to initialize modules rather than a list of hardcoded functions. + * util/i386/pc/grub-setup.c: Include grub_setup_init.h. Use + grub_init_all() to initialize modules rather than a list of hardcoded + functions. + +2007-07-22 Robert Millan + + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set + GRUB_IEEE1275_FLAG_NO_PARTITION_0 flag when running on SmartFirmware. + +2007-07-22 Robert Millan + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): Add + GRUB_IEEE1275_FLAG_BROKEN_OUTPUT flag. + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set this + flag when running on SmartFirmware. + * term/ieee1275/ofconsole.c (grub_ofconsole_init): Avoid running + "output-device output" command when GRUB_IEEE1275_FLAG_BROKEN_OUTPUT + was set. + + * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname): + Increase partno when GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS flag is set, + rather than decreasing it. + + * util/i386/pc/grub-setup.c (setup): When embedding is required, but + there's not enough space to do it, fail in the same way as when it + can't be done because there are no partitions. + + * util/powerpc/ieee1275/grub-install.in: Improve error message shown + when nvsetenv failed. + +2007-07-22 Yoshinori K. Okuji + + * conf/i386-pc.rmk (CLEANFILES): Removed for grub-mkrescue, + because this rule is automatically generated. + (grub-mkrescue): Removed for the same reason as above. + +2007-07-22 Yoshinori K. Okuji + + Migrate to GNU General Public License Version 3. + + * COPYING: Replaced with the plain text version of GPLv3. + + * config.guess: Updated from gnulib. + * config.sub: Likewise. + + * geninit.sh: Output a GPLv3 copyright notice. + * geninitheader.sh: Likewise. + * genmodsrc.sh: Likewise. + * gensymlist.sh.in: Likewise. + + * boot/i386/pc/boot.S: Upgraded to GPLv3. + * boot/i386/pc/diskboot.S: Likewise. + * boot/i386/pc/pxeboot.S: Likewise. + * commands/blocklist.c: Likewise. + * commands/boot.c: Likewise. + * commands/cat.c: Likewise. + * commands/cmp.c: Likewise. + * commands/configfile.c: Likewise. + * commands/echo.c: Likewise. + * commands/help.c: Likewise. + * commands/ls.c: Likewise. + * commands/search.c: Likewise. + * commands/terminal.c: Likewise. + * commands/test.c: Likewise. + * commands/videotest.c: Likewise. + * commands/i386/cpuid.c: Likewise. + * commands/i386/pc/halt.c: Likewise. + * commands/i386/pc/play.c: Likewise. + * commands/i386/pc/reboot.c: Likewise. + * commands/i386/pc/vbeinfo.c: Likewise. + * commands/i386/pc/vbetest.c: Likewise. + * commands/ieee1275/halt.c: Likewise. + * commands/ieee1275/reboot.c: Likewise. + * commands/ieee1275/suspend.c: Likewise. + * disk/loopback.c: Likewise. + * disk/lvm.c: Likewise. + * disk/raid.c: Likewise. + * disk/efi/efidisk.c: Likewise. + * disk/i386/pc/biosdisk.c: Likewise. + * disk/ieee1275/ofdisk.c: Likewise. + * font/manager.c: Likewise. + * fs/affs.c: Likewise. + * fs/ext2.c: Likewise. + * fs/fat.c: Likewise. + * fs/fshelp.c: Likewise. + * fs/hfs.c: Likewise. + * fs/hfsplus.c: Likewise. + * fs/iso9660.c: Likewise. + * fs/jfs.c: Likewise. + * fs/minix.c: Likewise. + * fs/sfs.c: Likewise. + * fs/ufs.c: Likewise. + * fs/xfs.c: Likewise. + * hello/hello.c: Likewise. + * include/grub/acorn_filecore.h: Likewise. + * include/grub/arg.h: Likewise. + * include/grub/bitmap.h: Likewise. + * include/grub/boot.h: Likewise. + * include/grub/cache.h: Likewise. + * include/grub/device.h: Likewise. + * include/grub/disk.h: Likewise. + * include/grub/dl.h: Likewise. + * include/grub/elfload.h: Likewise. + * include/grub/env.h: Likewise. + * include/grub/err.h: Likewise. + * include/grub/file.h: Likewise. + * include/grub/font.h: Likewise. + * include/grub/fs.h: Likewise. + * include/grub/fshelp.h: Likewise. + * include/grub/gzio.h: Likewise. + * include/grub/hfs.h: Likewise. + * include/grub/kernel.h: Likewise. + * include/grub/loader.h: Likewise. + * include/grub/lvm.h: Likewise. + * include/grub/misc.h: Likewise. + * include/grub/mm.h: Likewise. + * include/grub/net.h: Likewise. + * include/grub/normal.h: Likewise. + * include/grub/parser.h: Likewise. + * include/grub/partition.h: Likewise. + * include/grub/pc_partition.h: Likewise. + * include/grub/raid.h: Likewise. + * include/grub/rescue.h: Likewise. + * include/grub/script.h: Likewise. + * include/grub/setjmp.h: Likewise. + * include/grub/symbol.h: Likewise. + * include/grub/term.h: Likewise. + * include/grub/terminfo.h: Likewise. + * include/grub/tparm.h: Likewise. + * include/grub/types.h: Likewise. + * include/grub/video.h: Likewise. + * include/grub/efi/api.h: Likewise. + * include/grub/efi/chainloader.h: Likewise. + * include/grub/efi/console.h: Likewise. + * include/grub/efi/console_control.h: Likewise. + * include/grub/efi/disk.h: Likewise. + * include/grub/efi/efi.h: Likewise. + * include/grub/efi/pe32.h: Likewise. + * include/grub/efi/time.h: Likewise. + * include/grub/i386/linux.h: Likewise. + * include/grub/i386/setjmp.h: Likewise. + * include/grub/i386/types.h: Likewise. + * include/grub/i386/efi/kernel.h: Likewise. + * include/grub/i386/efi/loader.h: Likewise. + * include/grub/i386/efi/time.h: Likewise. + * include/grub/i386/pc/biosdisk.h: Likewise. + * include/grub/i386/pc/boot.h: Likewise. + * include/grub/i386/pc/chainloader.h: Likewise. + * include/grub/i386/pc/console.h: Likewise. + * include/grub/i386/pc/init.h: Likewise. + * include/grub/i386/pc/kernel.h: Likewise. + * include/grub/i386/pc/loader.h: Likewise. + * include/grub/i386/pc/memory.h: Likewise. + * include/grub/i386/pc/multiboot.h: Likewise. + * include/grub/i386/pc/serial.h: Likewise. + * include/grub/i386/pc/time.h: Likewise. + * include/grub/i386/pc/vbe.h: Likewise. + * include/grub/i386/pc/vbeblit.h: Likewise. + * include/grub/i386/pc/vbefill.h: Likewise. + * include/grub/i386/pc/vbeutil.h: Likewise. + * include/grub/i386/pc/vga.h: Likewise. + * include/grub/ieee1275/ieee1275.h: Likewise. + * include/grub/ieee1275/ofdisk.h: Likewise. + * include/grub/powerpc/libgcc.h: Likewise. + * include/grub/powerpc/setjmp.h: Likewise. + * include/grub/powerpc/types.h: Likewise. + * include/grub/powerpc/ieee1275/biosdisk.h: Likewise. + * include/grub/powerpc/ieee1275/console.h: Likewise. + * include/grub/powerpc/ieee1275/ieee1275.h: Likewise. + * include/grub/powerpc/ieee1275/kernel.h: Likewise. + * include/grub/powerpc/ieee1275/loader.h: Likewise. + * include/grub/powerpc/ieee1275/multiboot.h: Likewise. + * include/grub/powerpc/ieee1275/time.h: Likewise. + * include/grub/powerpc/ieee1275/util/biosdisk.h: Likewise. + * include/grub/sparc64/libgcc.h: Likewise. + * include/grub/sparc64/setjmp.h: Likewise. + * include/grub/sparc64/types.h: Likewise. + * include/grub/sparc64/ieee1275/console.h: Likewise. + * include/grub/sparc64/ieee1275/ieee1275.h: Likewise. + * include/grub/sparc64/ieee1275/kernel.h: Likewise. + * include/grub/sparc64/ieee1275/time.h: Likewise. + * include/grub/util/biosdisk.h: Likewise. + * include/grub/util/getroot.h: Likewise. + * include/grub/util/lvm.h: Likewise. + * include/grub/util/misc.h: Likewise. + * include/grub/util/raid.h: Likewise. + * include/grub/util/resolve.h: Likewise. + * io/gzio.c: Likewise. + * kern/device.c: Likewise. + * kern/disk.c: Likewise. + * kern/dl.c: Likewise. + * kern/elf.c: Likewise. + * kern/env.c: Likewise. + * kern/err.c: Likewise. + * kern/file.c: Likewise. + * kern/fs.c: Likewise. + * kern/loader.c: Likewise. + * kern/main.c: Likewise. + * kern/misc.c: Likewise. + * kern/mm.c: Likewise. + * kern/parser.c: Likewise. + * kern/partition.c: Likewise. + * kern/rescue.c: Likewise. + * kern/term.c: Likewise. + * kern/efi/efi.c: Likewise. + * kern/efi/init.c: Likewise. + * kern/efi/mm.c: Likewise. + * kern/i386/dl.c: Likewise. + * kern/i386/efi/init.c: Likewise. + * kern/i386/efi/startup.S: Likewise. + * kern/i386/pc/init.c: Likewise. + * kern/i386/pc/lzo1x.S: Likewise. + * kern/i386/pc/startup.S: Likewise. + * kern/ieee1275/ieee1275.c: Likewise. + * kern/powerpc/cache.S: Likewise. + * kern/powerpc/dl.c: Likewise. + * kern/powerpc/ieee1275/cmain.c: Likewise. + * kern/powerpc/ieee1275/crt0.S: Likewise. + * kern/powerpc/ieee1275/init.c: Likewise. + * kern/powerpc/ieee1275/openfw.c: Likewise. + * kern/sparc64/cache.S: Likewise. + * kern/sparc64/dl.c: Likewise. + * kern/sparc64/ieee1275/init.c: Likewise. + * kern/sparc64/ieee1275/openfw.c: Likewise. + * loader/efi/chainloader.c: Likewise. + * loader/efi/chainloader_normal.c: Likewise. + * loader/i386/efi/linux.c: Likewise. + * loader/i386/efi/linux_normal.c: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * loader/i386/pc/chainloader_normal.c: Likewise. + * loader/i386/pc/linux.c: Likewise. + * loader/i386/pc/linux_normal.c: Likewise. + * loader/i386/pc/multiboot.c: Likewise. + * loader/i386/pc/multiboot_normal.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Likewise. + * loader/powerpc/ieee1275/linux_normal.c: Likewise. + * normal/arg.c: Likewise. + * normal/cmdline.c: Likewise. + * normal/command.c: Likewise. + * normal/completion.c: Likewise. + * normal/execute.c: Likewise. + * normal/function.c: Likewise. + * normal/lexer.c: Likewise. + * normal/main.c: Likewise. + * normal/menu.c: Likewise. + * normal/menu_entry.c: Likewise. + * normal/misc.c: Likewise. + * normal/parser.y: Likewise. + * normal/script.c: Likewise. + * normal/i386/setjmp.S: Likewise. + * normal/powerpc/setjmp.S: Likewise. + * normal/sparc64/setjmp.S: Likewise. + * partmap/acorn.c: Likewise. + * partmap/amiga.c: Likewise. + * partmap/apple.c: Likewise. + * partmap/gpt.c: Likewise. + * partmap/pc.c: Likewise. + * partmap/sun.c: Likewise. + * term/gfxterm.c: Likewise. + * term/terminfo.c: Likewise. + * term/efi/console.c: Likewise. + * term/i386/pc/console.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * term/i386/pc/vga.c: Likewise. + * term/ieee1275/ofconsole.c: Likewise. + * util/biosdisk.c: Likewise. + * util/console.c: Likewise. + * util/genmoddep.c: Likewise. + * util/getroot.c: Likewise. + * util/grub-emu.c: Likewise. + * util/grub-mkdevicemap.c: Likewise. + * util/grub-probe.c: Likewise. + * util/lvm.c: Likewise. + * util/misc.c: Likewise. + * util/raid.c: Likewise. + * util/resolve.c: Likewise. + * util/update-grub.in: Likewise. + * util/update-grub_lib.in: Likewise. + * util/grub.d/00_header.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + * util/i386/efi/grub-install.in: Likewise. + * util/i386/efi/grub-mkimage.c: Likewise. + * util/i386/pc/grub-install.in: Likewise. + * util/i386/pc/grub-mkimage.c: Likewise. + * util/i386/pc/grub-mkrescue.in: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/i386/pc/misc.c: Likewise. + * util/powerpc/ieee1275/grub-install.in: Likewise. + * util/powerpc/ieee1275/grub-mkimage.c: Likewise. + * util/powerpc/ieee1275/misc.c: Likewise. + * video/bitmap.c: Likewise. + * video/video.c: Likewise. + * video/i386/pc/vbe.c: Likewise. + * video/i386/pc/vbeblit.c: Likewise. + * video/i386/pc/vbefill.c: Likewise. + * video/i386/pc/vbeutil.c: Likewise. + * video/readers/tga.c: Likewise. + +2007-07-02 Robert Millan + + * conf/i386-efi.rmk: Replace obsolete reference to + util/i386/pc/biosdisk.c with util/biosdisk.c, and util/i386/pc/getroot.c + with util/getroot.c. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk: Likewise. + + * util/grub-emu.c (main): Fix unchecked pointer handling. + +2007-07-02 Robert Millan + + * util/i386/efi/grub-install.in: Allow `grub_probe --target=partmap' + invocation to fail, in order to support partition-less media. + + * util/i386/pc/grub-install.in: Likewise. + + * util/powerpc/ieee1275/grub-install.in: Use grub-probe to determine + which fs or partmap modules are needed (akin to its sister scripts). + + Also use grub-probe to get rid of unportable /proc/mounts check. + + Print the same informational message that the other scripts do, before + exiting. + +2007-06-23 Robert Millan + + * util/update-grub_lib.in (font_path): New function. Determine whether + a font file can be found and, if so, echo the GRUB path to it. + + * util/update-grub.in: Handle multiple terminals depending on user + input, platform availability and font file presence. Propagate + variables of our findings to /etc/grub.d/ children. + + * util/grub.d/00_header.in: Handle multiple terminals, based on + environment setup by update-grub. + +2007-06-23 Robert Millan + + * conf/i386-pc.rmk (pkgdata_MODULES): Add serial.mod. + +2007-06-21 Robert Millan + + * include/grub/i386/pc/kernel.h: Define GRUB_KERNEL_MACHINE_DATA_END to + indicate end of data section in kernel image. + * include/grub/i386/efi/kernel.h: Define GRUB_KERNEL_MACHINE_PREFIX and + GRUB_KERNEL_MACHINE_DATA_END. + + * kern/i386/pc/startup.S: Do not initialize grub_prefix, only reserve + space for it. + * kern/i386/efi/startup.S: Likewise. + + * util/i386/pc/grub-mkimage.c: Initialize grub_prefix to /boot/grub + during image generation. Implement --prefix option to override this + patch. + * util/i386/efi/grub-mkimage.c: Likewise. + + * util/update-grub_lib.in (convert_system_path_to_grub_path): Split + code to make path relative to its root into a separate function. + + * util/i386/pc/grub-install.in: Use newly provided + make_system_path_relative_to_its_root() to convert ${grubdir}, then + pass the result to grub-install --prefix. + +2007-06-13 Robert Millan + + * include/grub/util/misc.h: Define DEFAULT_DIRECTORY and + DEFAULT_DEVICE_MAP. + * util/grub-emu.c: Use above definitions from misc.h instead of + defining them. + * util/grub-mkdevicemap.c: Likewise. + * util/i386/pc/grub-setup.c: Likewise. + * util/grub-probe.c: Likewise. + (probe): Abort with grub_util_error() when either + grub_guess_root_device or grub_util_get_grub_dev fails. + +2007-06-12 Robert Millan + + * normal/command.c (grub_command_execute): Use NULL rather than 0 for + "pager" assignment. + * util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Likewise for + "pcdata". + * util/grub-probe.c (probe): Likewise for "drive_name". + +2007-06-11 Robert Millan + + * util/i386/pc/grub-mkrescue.in: Pad both floppy images with zeroes, + not just the cdrom one. + +2007-06-11 Robert Millan + + * util/i386/pc/grub-mkrescue.in: Add "set -e". + Add --pkglibdir=DIR option to override pkglibdir. + Mention --image-type=TYPE in help output. + Fix --grub-mkimage (it was a no-op). + Abort gracefully when no parameter is given. + +2007-06-11 Robert Millan + + * util/i386/pc/grub-mkrescue.in: New file. + * conf/i386-pc.rmk: Add its build declarations. Put it in bin_SCRIPTS. + * Makefile.in: Handle bin_SCRIPTS. + +2007-06-10 Vesa Jaaskelainen + + * term/gfxterm.c (grub_gfxterm_init): Added support for specifying + list of video modes. + +2007-06-06 Robert Millan + + * util/update-grub_lib.in (convert_system_path_to_grub_path): Abort if + file doesn't exist, or if it is in a filesystem grub can't read. + + * util/update-grub.in: Set fallback for GRUB_FS check to "unknown". Do + not abort if GRUB_DRIVE could not be defined. Rearrange generated + header comment to fit in 80 columns when the variables are resolved. + + * util/grub.d/00_header.in: Only set root variable when GRUB_DRIVE + could be identified by update-grub. Remove redundant check for + unifont.pff existence (since convert_system_path_to_grub_path now + handles that). + +2007-06-04 Robert Millan + + * conf/i386-efi.rmk (grub_probe_SOURCES): Add partmap/apple.c. + + * conf/i386-pc.rmk (grub_probe_SOURCES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add partmap/pc.c. + +2007-06-04 Robert Millan + + * conf/powerpc-ieee1275.rmk: Enable grub-mkdevicemap and grub-probe. + + * include/grub/partition.h: Declare grub_apple_partition_map_init and + grub_apple_partition_map_fini. + + * util/biosdisk.c + (grub_util_biosdisk_open): Replace BLKGETSIZE with BLKGETSIZE64 (needed + to access >2 TiB disks). + + Print disk->total_sectors with %llu instead of %lu, since this + variable is always 64-bit (prevents wrong disk size from being displayed + on either >2 TiB disk or big-endian CPU). + + (grub_util_biosdisk_get_grub_dev): Convert gpt_partition_map handling + into a generic case that supports all (sane) partition maps. + + Stop using grub_cpu_to_le32() on dos_part / bsd_part since it actually + breaks big-endian. + + * util/grub-probe.c: Call grub_apple_partition_map_init() before probe() + and grub_apple_partition_map_fini() after that. + +2007-06-01 Robert Millan + + * util/update-grub.in: Export GRUB_CMDLINE_LINUX. + + * util/grub.d/00_header.in: Only enable gfxterm when + convert_system_path_to_grub_path() succeeds. + +2007-05-20 Robert Millan + + * util/update-grub_lib.in: New file. + * DISTLIST: Add update-grub_lib.in. + * conf/common.rmk: Generate update-grub_lib and install it in + $(lib_DATA). + * Makefile.in: Add install routine for $(lib_DATA). + + * util/grub.d/00_header.in: Use convert_system_path_to_grub_path() + function provided by update-grub_lib to support arbitrary paths of + unifont.pff. + * util/update-grub.in: Use convert_system_path_to_grub_path() to + initialize GRUB_DRIVE_BOOT and GRUB_DRIVE_BOOT_GRUB variables. + +2007-05-19 Robert Millan + + * commands/i386/cpuid.c: New module. + * DISTLIST: Add it. + * conf/i386-efi.rmk: Enable cpuid.mod. + * conf/i386-pc.rmk: Likewise. + +2007-05-18 Jeroen Dekkers + + * kern/disk.c (grub_disk_read): Check return value of + grub_realloc(). + +2007-05-18 Jeroen Dekkers + + * util/getroot.c (grub_util_get_grub_dev): Support partitionable + arrays. + * disk/raid.c (grub_raid_open): Likewise. + +2007-05-17 Jeroen Dekkers + + * util/biosdisk.c (linux_find_partition): Allocate real_dev on the + stack instead of on the heap. + + * kern/disk.c (grub_disk_read): Make sure tmp_buf is big enough + before doing a read on it. + + * configure.ac: Only use -fno-stack-protector for the target + environment. + +2007-05-17 Jeroen Dekkers + + * video/i386/pc/vbe.c (grub_video_vbe_create_render_target): Add + __attribute_ ((unused)) to mode_type argument. + + * util/getroot.c (grub_guess_root_device): Fix #endif. + + * kern/misc.c (memcmp): Fix prototype. + + * include/grub/partition.h [GRUB_UTIL] + (grub_gpt_partition_map_init): Add prototype. + (grub_gpt_partition_map_fini): Likewise. + + * fs/jfs.c (struct grub_jfs_inode): Put __attribute__ ((packed) + at the right place. + + * fs/fat.c (grub_fat_mount): Replace ~0UL with ~0U. + (grub_fat_read_data): Likewise. + (grub_fat_find_dir): Likewise. + + * font/manager.c (find_glyph): Make table a const. + (grub_font_get_glyph): Remove bitmap from if statement. + +2007-05-16 Jeroen Dekkers + + * util/getroot.c (grub_guess_root_device): Remove RAID and LVM + code, first search for device in /dev/mapper, then in /dev. + (grub_util_get_grub_dev): New function. + * include/grub/util/getroot.h (grub_util_get_grub_dev): Add + prototype. + * util/grub-probe.c (probe): Remove check for RAID, call + grub_util_get_grub_dev() instead of + grub_util_biosdisk_get_grub_dev(). + * util/grub-emu.c (main): Call grub_util_get_grub_dev() instead of + grub_util_biosdisk_get_grub_dev(). + * util/i386/pc/grub-setup.c (main): Likewise. + +2007-05-16 Robert Millan + + * DISTLIST: Update for the latest changes. + * conf/i386-pc.rmk: Use the new paths for util/getroot.c, + util/grub-mkdevicemap.c, util/grub-probe.c and util/biosdisk.c. + * util/grub-emu.c: Replace grub/i386/pc/util/biosdisk.h with + grub/util/biosdisk.h. + * util/i386/pc/grub-setup.c: Replace grub/machine/util/biosdisk.h with + grub/util/biosdisk.h. + +2007-05-16 Robert Millan + + * util/grub.d/00_header.in: Set default gfxmode to `640x480'. + +2007-05-16 Robert Millan + + * util/i386/efi/grub-install.in: New. + * conf/i386-efi.rmk: Enable grub-mkdevicemap, grub-probe and the + newly added grub-install. + * util/biosdisk.c: Remove unnecessary grub/machine/biosdisk.h + include. + * util/getroot.c: Replace grub/i386/pc/util/biosdisk.h with + grub/util/biosdisk.h. + * util/grub-probe.c: Replace grub/machine/util/biosdisk.h with + grub/util/biosdisk.h. + +2007-05-16 Robert Millan + + * include/grub/i386/pc/util/biosdisk.h: Moved to ... + * include/grub/util/biosdisk.h: ... here. + * util/i386/pc/biosdisk.c: Moved to ... + * util/biosdisk.c: ... here. + * util/i386/pc/getroot.c: Moved to ... + * util/getroot.c: ... here. + * util/i386/pc/grub-mkdevicemap.c: Moved to ... + * util/grub-mkdevicemap.c: ... here. + * util/i386/pc/grub-probe.c: Moved to ... + * util/grub-probe.c: ... here. + +2007-05-15 Robert Millan + + * util/update-grub.in: Remove duplicated line in grub.cfg header + message. + +2007-05-13 Robert Millan + + * util/update-grub.in: Fix a few assumptions about the devices holding + /, /boot and /boot/grub being the same. + * util/grub.d/00_header.in: Likewise. + * util/grub.d/10_hurd.in: Likewise. + * util/grub.d/10_linux.in: Likewise. + + * util/grub.d/10_linux.in: Implement Linux image sorting with arbitrary + patterns. Use that to define the `.old' suffix as older than `'. + + * util/grub.d/00_header.in: Set default gfxmode to `800x600x16'. + + * util/update-grub.in: Add a reference to ${sysconfdir}/default/grub in + the grub.cfg header message. + +2007-05-11 Robert Millan + + * util/update-grub.in: Create device.map if it doesn't already exist, + before attempting to run grub-probe. + Check for grub-probe and grub-mkdevicemap with the same code + grub-install is using. + Remove test mode. + +2007-05-09 Jeroen Dekkers + + * Makefile.in: Add the datarootdir autoconf variable. + +2007-05-09 Robert Millan + + * util/i386/pc/grub-probe.c (probe): When detecting partition map, + fail gracefully if dev->disk->partition == NULL. + +2007-05-07 Robert Millan + + * util/i386/pc/grub-probe.c: Add `grub-probe -t partmap' parameter to + determine partition map module. + * util/i386/pc/grub-install.in: Use this feature to decide which + partition module to load, instead of hardcoding pc and gpt. + +2007-05-07 Robert Millan + + * Makefile.in: Fix assumption that $(srcdir) has a trailing slash when + source directory differs from build directory. + +2007-05-05 Robert Millan + + * util/powerpc/ieee1275/grub-install.in: Fix syntax error in pkglibdir + initialisation. + +2007-05-05 Robert Millan + + * util/update-grub.in: Create ${grub_prefix} if it doesn't exist. + +2007-05-05 Robert Millan + + * util/grub.d/10_linux.in: Allow the administrator to insert Linux + command-line arguments via ${GRUB_CMDLINE_LINUX}. + +2007-05-05 Robert Millan + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c. + (grub_probe_SOURCES): Likewise. + * util/i386/pc/biosdisk.c (grub_util_biosdisk_get_grub_dev): Detect + GPT and initialize dos_part and bsd_part accordingly. + * util/i386/pc/grub-setup.c (setup): Ditto for install_dos_part and + install_bsd_part. + (main): Activate gpt module for use during partition identification, + and deactivate it afterwards. + * util/i386/pc/grub-install.in: Add gpt module to core.img. + * util/i386/pc/grub-probe.c (main): Activate gpt module for use during + partition identification, and deactivate it afterwards. + +2007-05-05 Robert Millan + + * term/i386/pc/console.c (grub_console_fini): Call + grub_term_set_current() before grub_term_unregister(). + +2007-05-04 Robert Millan + + * DISTLIST: Add util/update-grub.in, util/grub.d/00_header.in, + util/grub.d/10_hurd.in, util/grub.d/10_linux.in and util/grub.d/README. + * Makefile.in: Build update-grub_SCRIPTS. Install update-grub_SCRIPTS + and update-grub_DATA. + * conf/common.rmk: Build and install update-grub components. + * conf/common.mk: Regenerate. + * util/update-grub.in: New. Core of update-grub. + * util/grub.d/00_header.in: New. Generates grub.cfg header. + * util/grub.d/10_hurd.in: New. Generates boot entries for the Hurd. + * util/grub.d/10_linux.in: New. Generates boot entries for Linux. + * util/grub.d/README: New. Document grub.d directory layout. + +2007-05-01 Robert Millan + + * util/grub-emu.c: Move initialization functions + grub_util_biosdisk_init() and grub_init_all() before + grub_util_biosdisk_get_grub_dev(), which relies on them. + +2007-04-19 Robert Millan + + * util/powerpc/ieee1275/grub-install.in: Initialize ${bindir}, since + it is used later. + +2007-04-18 Jerone Young + + * kernel/elf.c: Add missing parenthesis for conditional statement + stanza. + +2007-04-10 Jerone Young + + * util/i386/pc/getroot.c: Update so that if root device is /dev/root , + continue on and look for device node with real device name. + +2007-04-10 Jerone Young + + * configure.ac: Add argument for autoconf to use transformation + ability. + * Makefile.in: Add autoconf package transformation code. + * util/i386/pc/grub-install.in: Likewise. + * util/powerpc/ieee1275/grub-install.in: Likewise. + +2007-03-19 Yoshinori K. Okuji + + * fs/ext2.c (EXT2_GOOD_OLD_REVISION): New macro. + (EXT2_GOOD_OLD_INODE_SIZE): Likewise. + (EXT2_REVISION): Likewise. + (EXT2_INODE_SIZE): Likewise. + (struct grub_ext2_block_group): Added a missing member + "used_dirs". + (grub_ext2_read_inode): Divide by the inode size in a superblock + instead of 128 to obtain INODES_PER_BLOCK. + Use the macro EXT2_INODE_SIZE instead of directly using + SBLOCK->INODE_SIZE. + +2007-03-18 Yoshinori K. Okuji + + * fs/ext2.c (grub_ext2_read_inode): Use the inode size in a + superblock instead of the structure size to compute an + offset. This fixes the problem that GRUB could not read a + filesystem when inode size is different from 128-byte. + +2007-03-05 Marco Gerards + + * normal/main.c (read_config_file): When "menu" is not set, create + an initial context. + +2007-02-21 Hollis Blanchard + + * kern/powerpc/ieee1275/init.c (HEAP_SIZE): Removed. + (HEAP_LIMIT): New macro. + (grub_claim_heap): Claim memory up to `heaplimit'. + +2007-02-21 Hollis Blanchard + + * conf/powerpc-ieee1275.rmk (kernel_elf_LDFLAGS): Link at 64KB. + * kern/powerpc/ieee1275/init.c (_end): Add declaration. + (_start): Likewise. + (grub_arch_modules_addr): Return address after `_end'. + * util/powerpc/ieee1275/grub-mkimage.c: Include grub/misc.h. + (load_modules): Use new parameter as `p_paddr' and `p_vaddr'. + (add_segments): Calculate `_end' from phdr size and location. + (ALIGN_UP): Moved to ... + * include/grub/misc.h: here. + * include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MOD_ALIGN): + New macro. + (GRUB_IEEE1275_MODULE_BASE): Removed. + +2007-02-20 Hollis Blanchard + + * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Correct + loop boundary. + +2007-02-20 Hollis Blanchard + + * include/grub/elfload.h (grub_elf32_load_hook_t): Return grub_err_t. + All users updated. + (grub_elf64_load_hook_t): Likewise. + * kern/elf.c: Call `grub_error_push' before `grub_error'. Improve + debug output. + +2007-02-20 Hollis Blanchard + + * kern/mm.c: Update copyright. + (grub_mm_debug): Correct syntax error. + (grub_mm_dump_free): New function. + (grub_debug_free): Call `grub_free'. + * include/grub/mm.h: Update copyright. + (grub_mm_dump_free): Add declaration. + +2007-02-12 Hollis Blanchard + + * include/grub/ieee1275/ieee1275.h: Update copyright. + * kern/powerpc/ieee1275/init.c: Likewise. + * kern/powerpc/ieee1275/openfw.c: Likewise. + + * loader/powerpc/ieee1275/linux.c: Likewise. + * include/grub/elfload.h: Likewise. + * kern/elf.c: Likewise. + (grub_elf32_load): Pass `base' and `size' parameters. Update all + callers. + (grub_elf64_load): Likewise. + (grub_elf32_load_segment): Move to a nested function. + (grub_elf64_load_segment): Likewise. + +2007-02-12 Hollis Blanchard + + * include/grub/ieee1275/ieee1275.h (grub_available_iterate): New + prototype. + * kern/powerpc/ieee1275/init.c (grub_heap_start): Removed. + (grub_heap_len): Likewise. + (HEAP_SIZE): New macro. + (grub_claim_heap): New function. + (grub_machine_init): Don't claim heap directly. Call + `grub_claim_heap'. + * kern/powerpc/ieee1275/openfw.c: Include alloca.h. + (grub_available_iterate): New function. + +2007-02-03 Thomas Schwinge + + * aclocal.m4 (grub_CHECK_STACK_PROTECTOR): New definition. + * configure.ac: Use it for testing the HOST and TARGET compilers. + +2006-12-13 Thomas Schwinge + + * Makefile.in (enable_grub_emu): New variable. + * configure.ac (--enable-grub-emu): New option. + Do the checks for (n)curses only if `--enable-grub-emu' is requested. + * conf/i386-efi.rmk (sbin_UTILITIES): Add `grub-emu' only if requested. + * conf/i386-pc.rmk: Likewise. + * conf/powerpc-ieee1275.rmk: Likewise. + * conf/sparc64-ieee1275.rmk (bin_UTILITIES): Likewise. + +2006-12-12 Marco Gerards + + * include/grub/err.h (grub_err_t): Add `GRUB_ERR_MENU'. + + * kern/env.c (grub_env_unset): Don't free the member `value' when + the type is GRUB_ENV_VAR_DATA, in this case it's a user defined + pointer. + + * normal/main.c (current_menu): Removed. + (free_menu): Unset the `menu' environment variable. + (grub_normal_menu_addentry): Make use of the environment variable + `menu', instead of using the global `current_menu'. Allocate + memory for the sourcecode of this entry. + (read_config_file): New argument `nested', changed all callers. + Only in the case of a new context, initialize a new menu. Set the + `menu' environment variable. + (grub_normal_execute): Don't set and unset the environment + variable `menu' here anymore. Only free the menu when leaving the + context. + + * util/i386/pc/biosdisk.c (linux_find_partition): Fixed a memory + leak. + +2006-12-11 Marco Gerards + + * normal/menu_entry.c (run): Fix off by one bug so the last line + is executed. Move the loader check to outside the loop. + +2006-12-08 Hollis Blanchard + + * kern/powerpc/ieee1275/cmain.c (cmain): Mark r3 and r4 as `UNUSED'. + +2006-11-25 Yoshinori K. Okuji + + * util/i386/pc/grub-mkimage.c (generate_image): Fix the offset of + the number of sectors. Reported by Andrey Shuvikov + . + +2006-11-11 Jeroen Dekkers + + * kern/disk.c (grub_disk_read): When there is a read error, always + try to read only the necessary data. + + * conf/i386-pc.rmk (grub_probe_SOURCES): Add disk/lvm.c and + disk/raid.c. + * include/grub/disk.h [GRUB_UTIL] (grub_raid_init): New + prototype. + [GRUB_UTIL] (grub_raid_fini): Likewise. + [GRUB_UTIL] (grub_lvm_init): Likewise. + [GRUB_UTIL] (grub_lvm_fini): Likewise. + * util/i386/pc/grub-probe.c (probe): Check whether DEVICE_NAME is + RAID device and copy DEVICE_NAME to DRIVE_NAME in that case. + (main): Call grub_raid_init(), grub_lvm_init(), grub_lvm_fini() + and grub_raid_fini(). + +2006-11-09 Jeroen Dekkers + + * include/grub/types.h (__unused): Rename to UNUSED. + * kern/elf.c (grub_elf32_size): Use UNUSED instead of __unused. + (grub_elf64_size): Likewise. + +2006-11-03 Hollis Blanchard + + * kern/elf.c (grub_elf_file): Call grub_file_seek. Call + grub_error_push and grub_error_pop in the error-handling path. + (grub_elf32_load_segment): Only call grub_file_read with non-zero + length. + +2006-11-03 Hollis Blanchard + + * conf/i386-efi.rmk (grub_emu_SOURCES): Add kern/elf.c. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (kernel_elf_SOURCES): Likewise. + * conf/i386-efi.rmk (kernel_mod_HEADERS): Add elfload.h and cache.h. + * conf/i386-pc.rmk (kernel_mod_HEADERS): Likewise. + * conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Likewise. + * conf/sparc64-ieee1275.rmk (kernel_elf_HEADERS): Likewise. + * conf/common.rmk (pkgdata_MODULES): Add elf.mod. + (elf_mod_SOURCES): New variable. + (elf_mod_CFLAGS): Likewise. + (elf_mod_LDFLAGS): Likewise. + * include/grub/types.h (__unused): New macro. + * include/grub/elfload.h: New file. + * kern/elf.c: Likewise. + * loader/powerpc/ieee1275/linux.c: Include elfload.h. + (ELF32_LOADMASK): New macro. + (ELF64_LOADMASK): Likewise. + (vmlinux): Removed. + (grub_linux_load32): New function. + (grub_linux_load64): Likewise. + (grub_rescue_cmd_linux): Call grub_linux_load32 or grub_linux_load64. + Use grub_elf_t instead of grub_file_t. + +2006-11-02 Hollis Blanchard + + * kern/ieee1275/ieee1275.c (grub_ieee1275_set_color): Add + `catch_result' to struct set_color_args. + +2006-10-28 Yoshinori K. Okuji + + * normal/menu.c: Include grub/script.h. + * normal/menu_entry.c: Likewise. + * include/grub/normal.h: Do not include grub/script.h. + +2006-10-27 Hollis Blanchard + + * kern/disk.c (grub_disk_read): Correct debug printf formatting. + +2006-10-27 Hollis Blanchard + + * kern/disk.c (grub_disk_open): Print debug messages when opening a + disk. + (grub_disk_close): Print debug messages when closing a disk. + (grub_disk_read): Print debug messages when disk read fails. + * kern/fs.c (grub_fs_probe): Print debug messages when detecting + filesystem type. + * kern/partition.c: Include misc.h. + (grub_partition_iterate): Print debug messages when detecting + partition type. + +2006-10-27 Hollis Blanchard + + * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Return error if `status' + is negative. + * kern/ieee1275/ieee1275.c (IEEE1275_IHANDLE_INVALID): Change to 0. + +2006-10-26 Hollis Blanchard + + * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname): + Reverse GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS test. + +2006-10-25 Jeroen Dekkers + + * disk/lvm.c (grub_lvm_scan_device): Malloc sizeof(*lv) bytes + instead of sizeof(lv). Patch by Michael Guntsche. + +2006-10-18 Jeroen Dekkers + + * disk/lvm.c: Rename VGS to VG_LIST. + (grub_lvm_iterate): Change VGS->LV to VG-LV. + (grub_lvm_open): Likewise. + Thanks to Michael Guntsche for finding this bug. + +2006-10-15 Yoshinori K. Okuji + + * configure.ac (AC_INIT): Bumped to 1.95. + +2006-10-14 Robert Millan + + * util/i386/pc/getroot.c (grub_guess_root_device): Don't compare os_dev + with "/dev/.static/dev/md". + +2006-10-14 Yoshinori K. Okuji + + * util/i386/pc/grub-probe.c (probe): Print DEVICE_NAME instead of + DRIVE_NAME when grub_util_biosdisk_get_grub_dev fails. Open + DRIVE_NAME instead of DEVICE_NAME. Make sure that DEVICE_NAME and + DRIVE_NAME are always freed. + + * util/i386/pc/biosdisk.c (make_device_name): Add one into + DOS_PART, as a DOS partition is counted from one instead of zero + now. Reported by Robert Millan. + +2006-10-14 Robert Millan + + * util/i386/pc/getroot.c (grub_guess_root_device): Stop using + grub_util_biosdisk_get_grub_dev to convert system device to GRUB device. + * util/grub-emu.c (main): Use grub_util_biosdisk_get_grub_dev with the + string returned by grub_guess_root_device. + * util/i386/pc/grub-setup.c: Likewise. + * util/i386/pc/grub-probefs.c: Likewise. + + * util/i386/pc/grub-probefs.c: Rename to ... + * util/i386/pc/grub-probe.c: ... this. + * DISTLIST: Remove grub-probefs, add grub-probe. + * conf/i386-efi.rmk: Likewise. + * conf/i386-pc.rmk: Likewise. + * util/i386/pc/grub-install.in: Likewise. + + * util/i386/pc/grub-probe.c: Add --target=(fs|device|drive) option to + choose which information we want to print. + +2006-10-14 Yoshinori K. Okuji + + * DISTLIST: Added commands/echo.c, disk/lvm.c, disk/raid.c, + include/grub/bitmap.h, include/grub/lvm.h, include/grub/raid.h, + include/grub/i386/pc/vbeutil.h, include/grub/util/lvm.h, + include/grub/util/raid.h, util/lvm.c, util/raid.c, video/bitmap.c, + video/readers/tga.c and video/i386/pc/vbeutil.c. + +2006-10-14 Jeroen Dekkers + + Added support for RAID and LVM. + + * disk/lvm.c: New file. + * disk/raid.c: Likewise. + * include/grub/lvm.h: Likewise. + * include/grub/raid.h: Likewise. + * include/grub/util/lvm.h: Likewise. + * include/grub/util/raid.h: Likewise. + * util/lvm.c: Likewise. + * util/raid.c: Likewise. + + * include/grub/disk.h (grub_disk_dev_id): Add + GRUB_DISK_DEVICE_RAID_ID and GRUB_DISK_DEVICE_LVM_ID. + (grub_disk_get_size): New prototype. + * kern/disk.c (grub_disk_open): Check whether grub_partition_probe() + returns a partition. + (grub_disk_get_size): New function. + + * kern/i386/pc/init.c (make_install_device): Copy the prefix + verbatim if grub_install_dos_part is -2. + + * util/i386/pc/getroot.c (grub_guess_root_device): Support RAID + and LVM devices. + + * util/i386/pc/grub-setup.c (setup): New argument + MUST_EMBED. Force embedding of GRUB when the argument is + true. Close FILE before returning. + (main): Add support for RAID and LVM. + + * conf/common.rmk: Add RAID and LVM modules. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add util/raid.c and + util/lvm.c. + (grub_emu_SOURCES): Add disk/raid.c and disk/lvm.c. + + * kern/misc.c (grub_strstr): New function. + * include/grub/misc.h (grub_strstr): New prototype. + +2006-10-10 Tristan Gingold + + * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant. + +2006-10-05 Tristan Gingold + + * kern/misc.c (grub_strtoull): Guess the base only if not + specified. + +2006-10-01 Hollis Blanchard + + * kern/powerpc/ieee1275/cmain.c (cmain): Remove incomplete Old World + PowerMac support. + +2006-10-01 Hollis Blanchard + + * disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Cast `size' to long. + + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_next_property): + Remove `flags' argument. All callers changed. + * kern/ieee1275/ieee1275.c (IEEE1275_PHANDLE_ROOT): Removed. + (IEEE1275_IHANDLE_INVALID): New variable. + (IEEE1275_CELL_INVALID): New variable. + (grub_ieee1275_finddevice, grub_ieee1275_get_property, + grub_ieee1275_get_property_length, grub_ieee1275_instance_to_package, + grub_ieee1275_package_to_path, grub_ieee1275_instance_to_path, + grub_ieee1275_peer, grub_ieee1275_child, grub_ieee1275_open, + grub_ieee1275_claim, grub_ieee1275_set_property): Error-check return + codes from Open Firmware. All callers updated. + (grub_ieee1275_next_property): Directly return Open Firmware return + code. + * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): + Standardize error checking from `grub_ieee1275_get_property'. + * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Rename + `devalias' to `aliases'. Correct comments. Consolidate error paths. + +2006-10-01 Hollis Blanchard + + * kern/ieee1275/ieee1275.c (grub_ieee1275_instance_to_path): Rename + `instance_to_package_args' to `instance_to_path_args'. + + * kern/powerpc/ieee1275/init.c (grub_machine_init): Use + `grub_ieee1275_chosen'. + + * term/ieee1275/ofconsole.c (grub_ofconsole_init): Call + `grub_ieee1275_interpret'. + +2006-09-25 Hollis Blanchard + + * util/powerpc/ieee1275/grub-mkimage.c: Include config.h. + +2006-09-25 Hollis Blanchard + + * include/grub/powerpc/libgcc.h (__floatdisf): New prototype. + (__cmpdi): Likewise. + + * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Pass 0 as + `flags' to `grub_ieee1275_next_property'. Change `pathlen' to type + `grub_ssize_t'. + + * kern/powerpc/ieee1275/cmain.c: Include grub/misc.h. + + * loader/powerpc/ieee1275/linux.c (grub_linux_boot): Change `actual' + to type `grub_ssize_t'. + (grub_rescue_cmd_linux): Cast -1 to `grub_off_t'. + +2006-09-22 Marco Gerards + + * normal/script.c (grub_script_create_cmdmenu): Skip leading + newlines. + +2006-09-22 Marco Gerards + + * commands/echo.c: New file. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/echo.c'. + + * conf/common.rmk (echo_mod_SOURCES): New variable. + (echo_mod_CFLAGS): Likewise. + (echo_mod_LDFLAGS): Likewise. + +2006-09-22 Marco Gerards + + * normal/main.c (get_line): Malloc memory instead of using + preallocated memory. Removed the arguments `cmdline' and + `max_len'. Updated all callers. + +2006-09-22 Marco Gerards + + * conf/i386-efi.rmk (grub_emu_DEPENDENCIES): New variable. + (normal_mod_DEPENDENCIES): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_DEPENDENCIES): Likewise. + (normal_mod_DEPENDENCIES): Likewise. + + * conf/sparc64-ieee1275.rmk (normal_mod_DEPENDENCIES): Likewise. + +2006-09-22 Johan Rydberg + + * genmk.rb: Add DEPENDENCIES variables to modules, utilities, and + programs. + * conf/i386-pc.rmk (grub_emu_DEPENDENCIES): Declare. + (normal_mod_DEPENDENCIES): Likewise. + * conf/i386-pc.mk: Regenerate. + * conf/i386-efi.mk: Likewise + * conf/common.mk: Likewise. + * conf/powerpc-ieee1275.mk: Likewise. + * conf/sparc64-ieee1275.mk: Likewise. + +2006-09-22 Robert Millan + + Sync with i386 version. + * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Remove grub-emu, add grub-mkimage. + * conf/powerpc-ieee1275.rmk (sbin_UTILITIES): Remove grub-mkimage, add grub-emu. + +2006-09-21 Robert Millan + + Import from GRUB Legacy (lib/device.c): + * util/i386/pc/grub-mkdevicemap.c (get_i2o_disk_name): New function. + (init_device_map) [__linux__]: Add support for I2O devices. + +2006-09-14 Marco Gerards + + * conf/i386-pc.rmk (COMMON_LDFLAGS): Use `-m32' instead of + `-melf_i386'. + +2006-09-14 Robert Millan + + * util/i386/pc/grub-install.in: Skip menu.lst when removing + /boot/grub/*.lst. + + * util/i386/pc/getroot.c: Don't recurse into dotdirs (e.g. ".static"). + + * util/i386/pc/grub-mkdevicemap.c: Make sure the floppy device exists + before adding it to device.map. + +2006-08-15 Johan Rydberg + + * genmk.rb: Let GCC generate dependencies the first time it + compiles a file; using the -MD option. + * conf/common.mk: Regenerate. + * conf/i386-pc.mk: Likewise. + * conf/i386-efi.mk: Likewise. + * conf/powerpc-ieee1275.mk: Likewise. + * conf/sparc64-ieee1275.mk: Likewise. + +2006-08-04 Yoshinori K. Okuji + + Move the prototypes of grub_setjmp and grub_longjmp to + cpu/setjmp.h, so that each architecture may specify different + attributes. + + * include/grub/i386/setjmp.h (grub_setjmp): New prototype. + (grub_longjmp): Likewise. + * include/grub/powerpc/setjmp.h (grub_setjmp): Likewise.. + (grub_longjmp): Likewise. + * include/grub/sparc64/setjmp.h (grub_setjmp): Likewise.. + (grub_longjmp): Likewise. + + * include/grub/setjmp.h [!GRUB_UTIL] (grub_setjmp): Removed. + [!GRUB_UTIL] (grub_longjmp): Removed. + +2006-08-01 Pelletier Vincent + + * kern/ieee1275/ieee1275.c (grub_ieee1275_set_color): IEEE1275 + "color!" method does not return any value. + +2006-07-29 Vesa Jaaskelainen + + * include/grub/bitmap.h: New file. + + * include/grub/i386/pc/vbeutil.h: Likewise. + + * video/bitmap.c: Likewise. + + * video/readers/tga.c: Likewise. + + * video/i386/pc/vbeutil.c: Likewise. + + * commands/videotest.c: Code cleanup and updated to reflect to new + video API. + + * term/gfxterm.c: Likewise. + + * video/video.c: Likewise. + + * conf/i386-pc.rmk (pkgdata_MODULES): Added tga.mod and bitmap.mod. + (vbe_mod_SOURCES): Added video/i386/pc/vbeutil.c. + (bitmap_mod_SOURCES): New entry. + (bitmap_mod_CFLAGS): Likewise. + (bitmap_mod_LDFLAGS): Likewise. + (tga_mod_SOURCES): Likewise. + (tga_mod_CFLAGS): Likewise. + (tga_mod_LDFLAGS): Likewise. + + * include/grub/video.h (grub_video_blit_operators): New enum type. + (grub_video_render_target): Changed as forward declaration and moved + actual definition to be video driver specific. + (grub_video_adapter.blit_bitmap): Added blitting operator. + (grub_video_adapter.blit_render_target): Likewise. + (grub_video_blit_bitmap): Likewise. + (grub_video_blit_render_target): Likewise. + + * include/grub/i386/pc/vbe.h (grub_video_render_target): Added + driver specific render target definition. + (grub_video_vbe_map_rgba): Added driver internal helper. + (grub_video_vbe_unmap_color): Updated to use + grub_video_i386_vbeblit_info. + (grub_video_vbe_get_video_ptr): Likewise. + + * include/grub/i386/pc/vbeblit.h + (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8): Updated to use + grub_video_i386_vbeblit_info. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8A8): Likewise. + (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8): Likewise. + (grub_video_i386_vbeblit_index_index): Likewise. + (grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): New blitter function. + (grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_index_R8G8B8X8): Likewise. + (grub_video_i386_vbeblit_blend): Added generic blitter for blend + operator. + (grub_video_i386_vbeblit_replace): Added generic blitter for replace + operator. + + * video/i386/pc/vbeblit.c: Updated to reflect changes on + include/grub/i386/pc/vbeblit.h. + + * include/grub/i386/pc/vbefill.h (grub_video_i386_vbefill_R8G8B8A8): + Updated to use grub_video_i386_vbeblit_info. + (grub_video_i386_vbefill_R8G8B8): Likewise. + (grub_video_i386_vbefill_index): Likewise. + (grub_video_i386_vbefill): Added generic filler. + + * video/i386/pc/vbefill.c: Updated to reflect changes on + include/grub/i386/pc/vbefill.h. + + * video/i386/pc/vbe.c (grub_video_vbe_get_video_ptr): Updated to use + grub_video_i386_vbeblit_info. + (grub_video_vbe_unmap_color): Likewise. + (grub_video_vbe_blit_glyph): Likewise. + (grub_video_vbe_scroll): Likewise. + (grub_video_vbe_draw_pixel): Removed function. + (grub_video_vbe_get_pixel): Likewise. + (grub_video_vbe_fill_rect): Moved all blitters to vbefill.c and + updated code to use it. + (common_blitter): Added common blitter for render target and bitmap. + (grub_video_vbe_blit_bitmap): Updated to use common_blitter. + (grub_video_vbe_blit_render_target): Likewise. + +2006-07-30 Johan Rydberg + + * kern/efi/efi.c (grub_efi_set_text_mode): Assume console already + is in text mode if there is no console control protocol instance + available. + +2006-07-29 Vesa Jaaskelainen + + * include/grub/video.h: Code cleanup. + + * include/grub/i386/pc/vbe.h: Likewise. + + * video/i386/pc/vbe.c: Likewise. + + * video/i386/pc/vbeblit.c: Likewise. + + * video/i386/pc/vbefill.c: Likewise. + + * video/video.c: Likewise. Also added more comments. + +2006-07-29 Vesa Jaaskelainen + + * disk/i386/pc/biosdisk.c (struct grub_biosdisk_drp): Moved to ... + (struct grub_biosdisk_dap): Likewise. + + * include/grub/i386/pc/biosdisk.h: ... to here. Also corrected + linkage settings for all functions. + +2006-07-12 Marco Gerards + + * configure.ac (--enable-mm-debug): Fix typo. + + * genkernsyms.sh.in: Use proper quoting for `CC'. + +2006-07-02 Jeroen Dekkers + + * conf/i386-pc.rmk (COMMON_ASFLAGS): Add "-m32". + (normal_mod_ASFLAGS): Remove "-m32". + +2006-06-14 Yoshinori K. Okuji + + * util/misc.c: Include config.h. + [!HAVE_MEMALIGN]: Do not include malloc.h. + (grub_memalign): Use posix_memalign, if present. Then, use + memalign, if present. Otherwise, emit an error. + + * util/grub-emu.c: Do not include malloc.h. + + * include/grub/util/misc.h: Include unistd.h. This is required for + FreeBSD, because off_t is defined in unistd.h. Reported by Harley + D. Eades III . + + * configure.ac (AC_GNU_SOURCE): Added. + (AC_CHECK_FUNCS): Check posix_memalign and memalign for the host + type. + +2006-06-09 Yoshinori K. Okuji + + * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Make sure that + ADDR_MAX does not exceed GRUB_LINUX_INITRD_MAX_ADDRESS. + +2006-06-07 Jeroen Dekkers + + * include/grub/types.h (grub_host_addr_t): Rename to + grub_target_addr_t. + (grub_host_off_t): Rename to grub_target_off_t. + (grub_host_size_t): Rename to grub_target_size_t. + (grub_host_ssize_t): Rename to grub_target_ssize_t. + Refer to GRUB_TARGET_SIZEOF_VOID_P to define those variables. + + * include/grub/kernel.h (struct grub_module_header): Change type + of OFFSET to grub_target_off_t and type of SIZE to grub_target_size_t. + (grub_module_info): Likewise. + +2006-06-05 Yoshinori K. Okuji + + * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): The conditional + of checking LINUX_MEM_SIZE was reverse. Reported by Jesus + Velazquez . + +2006-06-05 Yoshinori K. Okuji + + Count partitions from 1 instead of 0 in the string representation + of partitions. Still use 0-based internally. + + * partmap/sun.c (grub_sun_is_valid): A cosmetic change. + (sun_partition_map_iterate): Use grub_partition_t instead of + struct grub_partition *. Cast DESC->START_CYLINDER to + grub_uint64_t after converting the endian. + (sun_partition_map_probe): Subtract 1 for PARTNUM. + (sun_partition_map_get_name): Add 1 to P->INDEX. + + * partmap/pc.c (grub_partition_parse): Subtract 1 for + PCDATA->DOS_PART. + (pc_partition_map_get_name): Add 1 into PCDATA->DOS_PART. + + * partmap/gpt.c (gpt_partition_map_iterate): Initialize PARTNO to + zero instead of one. + (gpt_partition_map_probe): Subtract 1 for PARTNUM. + (gpt_partition_map_get_name): Add 1 into P->INDEX. + + * partmap/apple.c (apple_partition_map_iterate): Change the type + of POS to unsigned. + (apple_partition_map_probe): Subtract 1 for PARTNUM. + (apple_partition_map_get_name): Add 1 into P->INDEX. + + * partmap/amiga.c (amiga_partition_map_iterate): Change the type + of POS to unsigned. + (amiga_partition_map_iterate): Cast NEXT to grub_off_t to + calculate the offset of a partition. + (amiga_partition_map_probe): Subtract 1 for PARTNUM. + (amiga_partition_map_get_name): Add 1 into P->INDEX. + + * partmap/acorn.c (acorn_partition_map_find): Change the type of + SECTOR to grub_disk_addr_t. + (acorn_partition_map_iterate): Likewise. + (acorn_partition_map_probe): Subtract 1 for PARTNUM. + Change the type of SECTOR to grub_disk_addr_t. Declare P on the + top. + (acorn_partition_map_get_name): Add 1 into P->INDEX. + + * kern/i386/pc/init.c (make_install_device): Add 1 into + GRUB_INSTALL_DOS_PART. + + * fs/iso9660.c (grub_iso9660_mount): Fixed a reversed + conditional. + +2006-06-04 Yoshinori K. Okuji + + Clean up the code to support 64-bit addressing in disks and + files. This change is not enough for filesystems yet. + + * util/i386/pc/grub-setup.c (struct boot_blocklist): Change the + type of "start" to grub_uint64_t. + (setup): Change the types of KERNEL_SECTOR and FIRST_SECTOR to + grub_disk_addr_t * and grub_disk_addr_t. Fix the format string in + save_first_sector and save_blocklists. Use grub_le_to_cpu64 to + convert addresses. + + * util/i386/pc/biosdisk.c (open_device): Change the type of SECTOR + to grub_disk_addr_t. + + * partmap/gpt.c (gpt_partition_map_iterate): Fix the format + string. + + * partmap/pc.c (pc_partition_map_iterate): Likewise. + + * partmap/amiga.c (amiga_partition_map_iterate): Cast RDSK.MAGIC + to char *. + + * normal/script.c (grub_script_parse): Remove unused MEMFREE. + + * normal/parser.y (YYLTYPE_IS_TRIVIAL): New macro. + + * normal/lexer.c (grub_script_yyerror): Specify unused to LEX. + + * loader/i386/pc/multiboot.c (grub_multiboot_load_elf64): Cast -1 + to grub_off_t, to detect an error from grub_file_seek. + (grub_multiboot_load_elf32): Likewise. + + * kern/misc.c (grub_strtoul): Use grub_strtoull. Return the + maximum unsigned long value when an overflow is detected. + (grub_strtoull): New function. + (grub_divmod64): Likewise. + (grub_lltoa): use grub_divmod64. + + * kern/fs.c (struct grub_fs_block): Change the type of "offset" to + grub_disk_addr_t. + (grub_fs_blocklist_open): Increase P if P is not NULL to advance + the pointer to next character. Use grub_strtoull instead of + grub_strtoul. + (grub_fs_blocklist_read): Change the types of SECTOR, OFFSET and + SIZE to grub_disk_addr_t, grub_off_t and grub_size_t, + respectively. + + * kern/file.c (grub_file_read): Prevent an overflow of LEN, as the + return value is signed. + (grub_file_seek): Change the type of OLD to grub_off_t. Do not + test if OFFSET is less than zero, as OFFSET is unsigned now. + + * kern/disk.c (struct grub_disk_cache): Change the type of + "sector" to grub_disk_addr_t. + (grub_disk_cache_get_index): Change the type of SECTOR to + grub_disk_addr_t. Calculate the hash with SECTOR casted to + unsigned after shifting. + (grub_disk_cache_invalidate): Change the type of SECTOR to + grub_disk_addr_t. + (grub_disk_cache_unlock): Likewise. + (grub_disk_cache_store): Likewise. + (grub_disk_check_range): Change the types of SECTOR, OFFSET, SIZE, + START and LEN to grub_disk_addr_t *, grub_off_t *, grub_size_t, + grub_disk_addr_t and grub_uint64_t, respectively. + (grub_disk_read): Use an unsigned variable REAL_OFFSET for the + body, as the value of OFFSET is tweaked by + grub_disk_check_range. Change the types of START_SECTOR, LEN and + POS to grub_disk_addr_t, grub_size_t and grub_size_t, + respectively. + (grub_disk_write): Use an unsigned variable REAL_OFFSET for the + body, as the value of OFFSET is tweaked by + grub_disk_check_range. Change the types of LEN and N to + grub_size_t. + + * io/gzio.c (struct grub_gzio): Change the types of "data_offset" + and "saved_offset" to grub_off_t. + (test_header): Cast BUF to char *. + (get_byte): Cast GZIO->DATA_OFFSET to grub_off_t. Cast GZIO->INBUF + to char *. + (grub_gzio_read): Change the types of OFFSET and SIZE to + grub_off_t and grub_size_t, respectively. + + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_FORCE_LBA): + Removed. + (GRUB_BOOT_MACHINE_BOOT_DRIVE): Changed to 0x4c. + (GRUB_BOOT_MACHINE_KERNEL_ADDRESS): Changed to 0x40. + (GRUB_BOOT_MACHINE_KERNEL_SEGMENT): Changed to 0x42. + (GRUB_BOOT_MACHINE_DRIVE_CHECK): Changed to 0x4e. + (GRUB_BOOT_MACHINE_LIST_SIZE): Increased to 12. + + * include/grub/types.h (grub_off_t): Unconditionally set to + grub_uint64_t. + (grub_disk_addr_t): Changed to grub_uint64_t. + + * include/grub/partition.h (struct grub_partition): Change the + types of "start", "len" and "offset" to grub_disk_addr_t, + grub_uint64_t and grub_disk_addr_t, respectively. + (grub_partition_get_start): Return grub_disk_addr_t. + (grub_partition_get_len): Return grub_uint64_t. + + * include/grub/misc.h (grub_strtoull): New prototype. + (grub_divmod64): Likewise. + + * include/grub/fshelp.h (grub_fshelp_read_file): Change the types + of SECTOR, LEN and FILESIZE to grub_disk_addr_t, grub_size_t and + grub_off_t, respectively. + All callers and references changed. + + * include/grub/fs.h (struct grub_fs): Change the type of LEN to + grub_size_t in "read". + All callers and references changed. + + * include/grub/file.h (struct grub_file): Change the types of + "offset" and "size" to grub_off_t and grub_off_t, + respectively. Change the type of SECTOR to grub_disk_addr_t in + "read_hook". + (grub_file_read): Change the type of LEN to grub_size_t. + (grub_file_seek): Return grub_off_t. Change the type of OFFSET to + grub_off_t. + (grub_file_size): Return grub_off_t. + (grub_file_tell): Likewise. + All callers and references changed. + + * include/grub/disk.h (struct grub_disk_dev): Change the types of + SECTOR and SIZE to grub_disk_addr_t and grub_size_t in "read" and + "write". + (struct grub_disk): Change the type of "total_sectors" to + grub_uint64_t. Change the type of SECTOR to grub_disk_addr_t in + "read_hook". + (grub_disk_read): Change the types of SECTOR, OFFSET and SIZE to + grub_disk_addr_t, grub_off_t and grub_size_t, respectively. + (grub_disk_write): Likewise. + All callers and references changed. + + * fs/iso9660.c (grub_iso9660_susp_iterate): Cast parameters to + char * for grub_strncmp to silence gcc. + (grub_iso9660_mount): Likewise. + (grub_iso9660_mount): Likewise. + (grub_iso9660_read_symlink): Likewise. Also, remove the nonsense + return statement. + (grub_iso9660_iterate_dir): Likewise. + (grub_iso9660_label): Cast DATA->VOLDESC.VOLNAME to char *. + + * fs/hfs.c (grub_hfs_read_file): Change the types of SECTOR and + LEN to grub_disk_addr_t and grub_size_t, respectively. + + * fs/hfsplus.c (grub_hfsplus_read_file): Likewise. + + * fs/jfs.c (grub_jfs_read_file): Likewise. + + * fs/minix.c (grub_jfs_read_file): Likewise. + + * fs/sfs.c (grub_jfs_read_file): Likewise. + + * fs/ufs.c (grub_jfs_read_file): Likewise. + + * fs/xfs.c (grub_jfs_read_file): Likewise. + + * fs/fat.c (grub_fat_read_data): Change the types of SECTOR, LEN + and SIZE to grub_disk_addr_t, grub_size_t and grub_size_t, + respectively. + + * fs/ext2.c (grub_ext2_read_block): When an error happens, set + BLKNR to -1 instead of returning GRUB_ERRNO. + (grub_ext2_read_file): Change the types of SECTOR and + LEN to grub_disk_addr_t and grub_size_t, respectively. + + * fs/affs.c (grub_affs_read_file): Change the types of SECTOR and + LEN to grub_disk_addr_t and grub_size_t, respectively. + + * font/manager.c (grub_font_get_glyph): Cast BITMAP to char * for + grub_file_read. + + * disk/ieee1275/ofdisk.c (grub_ofdisk_read): Fix the format + string. Do not cast SECTOR explicitly. + + * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Change the type of + TOTAL_SECTORS to grub_uint64_t. Do not mask DRP->TOTAL_SECTORS. + (grub_biosdisk_rw): Change the types of SECTOR and SIZE to + grub_disk_addr_t and grub_size_t, respectively. If the sector is + over 2TB and LBA mode is not supported, raise an error. + (get_safe_sectors): New function. + (grub_biosdisk_read): Use get_safe_sectors. + (grub_biosdisk_write): Likewise. + + * disk/efi/efidisk.c (grub_efidisk_read): Fix the format string. + (grub_efidisk_write): Likewise. + + * disk/loopback.c (delete_loopback): Cosmetic changes. + (grub_cmd_loopback): Likewise. Also, test NEWDEV->FILENAME + correctly. + (grub_loopback_open): Likewise. + (grub_loopback_read): Likewise. Also, change the type of POS to + grub_off_t, and fix the usage of grub_memset. + + * commands/i386/pc/play.c: Include grub/machine/time.h. + + * commands/ls.c (grub_ls_list_files): Use "llu" instead of "d" to + print FILE->SIZE. + + * commands/configfile.c: Include grub/env.h. + + * commands/cmp.c (grub_cmd_cmp): Do not use ERR, but use + GRUB_ERRNO directly instead. Change the type of POS to + grub_off_t. Follow the coding standard. + + * commands/blocklist.c: Include grub/partition.h. + (grub_cmd_blocklist): Return an error if the underlying device is + not a disk. Take the starting sector of a partition into account, + if a partition is used. + + * boot/i386/pc/diskboot.S (bootloop): Adapted to the new offset of + a length field. + (lba_mode): Support 64-bit addresses. + (chs_mode): Likewise. + (copy_buffer): Adapted to the new offsets of a length field and a + segment field. + (blocklist_default_start): Allocate 64-bit space. + + * boot/i386/pc/boot.S (force_lba): Removed. + (boot_drive): Moved to under KERNEL_SECTOR. + (kernel_sector): Moved to under KERNEL_SEGMENT. Allocate 64-bit + space. + (real_start): Set %si earlier. Remove code for FORCE_LBA, since it + is useless. + (lba_mode): Refactored to support a 64-bit address. More size + optimization. + (setup_sectors): Likewise. + +2006-06-04 Yoshinori K. Okuji + + * DISTLIST: Added include/grub/i386/linux.h. Removed + include/grub/i386/pc/linux.h + + * configure.ac (AC_INIT): Bumped to 1.94. + + * config.guess: Updated from gnulib. + * config.sub: Likewise. + * install-sh: Likewise. + * mkinstalldirs: Likewise. + +2006-06-02 Yoshinori K. Okuji + + * conf/common.rmk (grub_modules_init.lst): Depended on + grub_emu_SOURCES, excluding grub_emu_init.c, instead of + MODSRCFILES. + + * genmk.rb (PModule::rule): Reverted the previous change. + +2006-06-02 Yoshinori K. Okuji + + * conf/common.rmk (grub_modules_init.lst): Depends on + $(MODSRCFILES). Grep only the files in $(MODSRCFILES). Make sure + that the target does not exist before producing. + (grub_modules_init.h): Remove the target before generating. + (grub_emu_init.c): Likewise. + + * genmk.rb (PModule::rule): Add source files into MODSRCFILES. + +2006-05-31 Jeroen Dekkers + + * configure.ac: Don't set host_m32 for x86_64. Also reset LIBS + for the target-specific tests. Make sure that we also have the + up-to-date target variables for those tests. + +2006-05-31 Yoshinori K. Okuji + + * genmk.rb (Image::rule): Prefix CFLAGS or ASFLAGS with TARGET_. + (PModule::rule): Likewise. + +2006-05-31 Yoshinori K. Okuji + + * genmk.rb (Image::rule): Set FLAG to CFLAGS or ASFLAGS instead of + TARGET_CFLAGS or TARGET_ASFLAGS. There is no reason why + target-specific flags should be prefixed. + (PModule::rule): Likewise. + +2006-05-30 Yoshinori K. Okuji + + * configure.ac (CMP): Check if cmp is available explicitly. + +2006-05-29 Yoshinori K. Okuji + + * util/powerpc/ieee1275/grub-install.in (host_cpu): Removed. + (target_cpu): New variable. + (pkglibdir): Use target_cpu instead of host_cpu. + + * util/i386/pc/grub-install.in (host_cpu): Removed. + (target_cpu): New variable. + (pkglibdir): Use target_cpu instead of host_cpu. + + * util/genmoddep.c: Removed. + + * kern/efi/mm.c (filter_memory_map): Use GRUB_CPU_SIZEOF_VOID_P + instead of GRUB_HOST_SIZEOF_VOID_P. + * kern/dl.c: Likewise. + + * include/grub/i386/types.h (GRUB_HOST_SIZEOF_VOID_P): Renamed to + ... + (GRUB_TARGET_SIZEOF_VOID_P): ... this. + (GRUB_HOST_SIZEOF_LONG): Renamed to ... + (GRUB_TARGET_SIZEOF_LONG): ... this. + (GRUB_HOST_WORDS_BIGENDIAN): Renamed to ... + (GRUB_TARGET_WORDS_BIGENDIAN): ... this. + * include/grub/powerpc/types.h (GRUB_HOST_SIZEOF_VOID_P): Renamed + to ... + (GRUB_TARGET_SIZEOF_VOID_P): ... this. + (GRUB_HOST_SIZEOF_LONG): Renamed to ... + (GRUB_TARGET_SIZEOF_LONG): ... this. + (GRUB_HOST_WORDS_BIGENDIAN): Renamed to ... + (GRUB_TARGET_WORDS_BIGENDIAN): ... this. + * include/grub/sparc64/types.h (GRUB_HOST_SIZEOF_VOID_P): Renamed + to ... + (GRUB_TARGET_SIZEOF_VOID_P): ... this. + (GRUB_HOST_SIZEOF_LONG): Renamed to ... + (GRUB_TARGET_SIZEOF_LONG): ... this. + (GRUB_HOST_WORDS_BIGENDIAN): Renamed to ... + (GRUB_TARGET_WORDS_BIGENDIAN): ... this. + + * include/grub/types.h [!GRUB_UTIL] (GRUB_CPU_SIZEOF_VOID_P): Use + GRUB_TARGET_SIZEOF_VOID_P instead of GRUB_HOST_SIZEOF_VOID_P. + [!GRUB_UTIL] (GRUB_CPU_SIZEOF_LONG): Use GRUB_TARGET_SIZEOF_LONG + instead of GRUB_HOST_SIZEOF_LONG. + [!GRUB_UTIL]: Refer to GRUB_TARGET_WORDS_BIGENDIAN instead of + GRUB_HOST_WORDS_BIGENDIAN to define or undefine + GRUB_CPU_WORDS_BIGENDIAN. + Refer to SIZEOF_VOID_P instead of GRUB_HOST_SIZEOF_VOID_P to + define grub_host_addr_t, grub_host_off_t, grub_host_size_t and + grub_host_ssize_t. + + * conf/i386-efi.rmk (noinst_UTILITIES): Removed. + (genmoddep_SOURCES): Likewise. + * conf/i386-pc.rmk (noinst_UTILITIES): Likewise. + (genmoddep_SOURCES): Likewise. + * conf/conf/powerpc-ieee1275.rmk (noinst_UTILITIES): Likewise. + (genmoddep_SOURCES): Likewise. + * conf/conf/conf/sparc64-ieee1275.rmk (noinst_UTILITIES): + Likewise. + (genmoddep_SOURCES): Likewise. + + * genmoddep.awk: New file. + + * genmk.rb (Image::rule): Use TARGET_CC, TARGET_CPPFLAGS, + TARGET_CFLAGS, TARGET_ASFLAGS and TARGET_LDFLAGS instead of CC, + CPPFLAGS, CFLAGS, ASFLAGS and LDFLAGS, respectively. + (PModule::rule): Likewise. + (Program::rule): Likewise. + (Utility::rule): Use CC, CPPFLAGS, CFLAGS and LDFLAGS instead of + BUILD_CC, BUILD_CPPFLAGS, BUILD_CFLAGS and BUILD_LDFLAGS, + respectively. + + * configure.ac: Rewritten intensively to use host and target + instead of build and host, respectively. + + * Makefile.in (pkglibdir): Use target_cpu instead of host_cpu. + (host_cpu): Removed. + (target_cpu): New variable. + (CPPFLAGS): Added @CPPFLAGS@ and -DGRUB_LIBDIR=\"$(pkglibdir)\". + (BUILD_CC): Removed. + (BUILD_CFLAGS): Likewise. + (BUILD_CPPFLAGS): Likewise. + (TARGET_CC): New variable. + (TARGET_CFLAGS): Likewise. + (TARGET_CPPFLAGS): Likewise. + (TARGET_LDFLAGS): Likewise. + (AWK): Likewise. + (include): Use target_cpu instead of host_cpu. + (moddep.lst:): Use genmoddep.awk instead of genmoddep. + + * DISTLIST: Added genmoddep.awk. Removed util/genmoddep.c. + +2006-05-29 Vesa Jaaskelainen + + * include/grub/script.h (grub_script_cmdif): Renamed field 'bool' to + 'exec_to_evaluate'. Renamed field 'true' to 'exec_on_true'. Renamed + field 'false' to 'exec_on_false'. + (grub_script_create_cmdif): Renamed argument names to reflect above + changes. + + * normal/execute.c (grub_script_execute_cmdif): Likewise. + + * normal/script.c (grub_script_create_cmdif): Likewise. + +2006-05-28 Yoshinori K. Okuji + + * fs/hfsplus.c (grub_hfsplus_btree_recoffset): Moved to near the + top. + (grub_hfsplus_btree_recptr): Likewise. + (grub_hfsplus_find_block): Do not take RETRY any longer. Use + FILEBLOCK both to pass a block number and store next block + number. + (grub_hfsplus_read_block): Rewritten heavily to support an extent + overflow file correctly. Specify errors appropriately, because + fshelp expects that GRUB_ERRNO is set when fails. Reuse + grub_hfsplus_btree_recptr to get the pointer to a found key. + (grub_hfsplus_btree_search): Return 1 instead of 0 when no match + is found. + + * conf/i386-efi.rmk (pkgdata_MODULES): Added _linux.mod and + linux.mod. + (_linux_mod_SOURCES): New variable. + (_linux_mod_CFLAGS): Likewise. + (_linux_mod_LDFLAGS): Likewise. + (linux_mod_SOURCES): Likewise. + (linux_mod_CFLAGS): Likewise. + (linux_mod_LDFLAGS): Likewise. + + * DISTLIST: Added loader/i386/efi/linux.c, + loader/i386/efi/linux_normal.c and + include/grub/i386/efi/loader.h. + + * loader/i386/efi/linux.c: New file. + * loader/i386/efi/linux_normal.c: Likewise. + * include/grub/i386/efi/loader.h: Likewise. + +2006-05-27 Yoshinori K. Okuji + + * commands/blocklist.c: New file. + + * DISTLIST: Added commands/blocklist.c. + + * term/efi/console.c (grub_console_highlight_color): Use a lighter + color for the background, and a darker color for the foreground. + (grub_console_checkkey): Return READ_KEY. + (grub_console_cls): Set the background to + GRUB_EFI_BACKGROUND_BLACK temporarily to clean out the screen. + + * kern/efi/efi.c (grub_efi_exit_boot_services): New function. + + * include/grub/i386/linux.h (struct linux_kernel_params): Fixed + the size of "padding5", "hd0_drive_info" and "hd1_drive_info". + + * include/grub/efi/efi.h (grub_efi_exit_boot_services): New + prototype. + + * include/grub/efi/api.h (GRUB_EFI_TEXT_ATTR): Do not shift + BG. The spec is wrong again. + + * include/grub/normal.h [GRUB_UTIL] (grub_blocklist_init): New + prototype. + [GRUB_UTIL] (grub_blocklist_fini): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added + commands/blocklist.c. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * conf/common.rmk (pkgdata_MODULES): Added blocklist.mod. + (blocklist_mod_SOURCES): New variable. + (blocklist_mod_CFLAGS): Likewise. + (blocklist_mod_LDFLAGS): Likewise. + +2006-05-20 Yoshinori K. Okuji + + * boot/i386/pc/boot.S (real_start): Set %si earlier to eliminate + duplication. + (lba_mode): Use %eax more intensively to reduce the code size. + +2006-05-20 Marco Gerards + + * normal/lexer.c (grub_script_yylex): Don't filter out newlines. + + * normal/parser.y (commandblock): Defined as . A subroutine + for `menuentry'. + (script): Accept leading newlines. + (newlines): New rule to describe 0 or more newlines. + (commands): Accept `command' with trailing newline. Fixed the + order in which arguments were passed to `grub_script_add_cmd'. + Accept commands separated by newlines. + (function): Changed to accept newlines. + (menuentry) Rewritten. + + * normal/script.c (grub_script_create_cmdmenu): Add new entries in + front of the list, instead of to the end. + +2006-05-19 Yoshinori K. Okuji + + * util/i386/pc/grub-install.in (bindir): New variable. + (grub_mkimage): Use BINDIR instead of SBINDIR. Reported by Lee + Shaver . + +2006-05-14 Yoshinori K. Okuji + + * kern/i386/pc/startup.S: Include grub/cpu/linux.h instead of + grub/machine/linux.h + * loader/i386/pc/linux.c: Likewise. + + * include/grub/i386/pc/linux.h: Moved to ... + * include/grub/i386/linux.h: ... here. + + * include/grub/i386/linux.h (struct linux_kernel_params): New + struct. + +2006-05-09 Vesa Jaaskelainen + + * video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Corrected bounds + checking. + (grub_video_vbe_blit_glyph): Likewise. + (grub_video_vbe_blit_bitmap): Likewise. + (grub_video_vbe_blit_render_target): Likewise. + +2006-05-09 Yoshinori K. Okuji + + * configure.ac (--with-platform): Properly quote the square + brackets. + +2006-05-08 Marco Gerards + + * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Renamed from + this... + (kernel_elf_HEADERS): ...to this. Updated all users. + (grubof_symlist.c): Renamed from this... + (kernel_elf_symlist.c): ...to this. Updated all users. + (pkgdata_PROGRAMS): Changed `grubof' to `kernel.elf'. + (grubof_SOURCES): Renamed from this... + (kernel_elf_SOURCES): ...to this. + (grubof_HEADERS): Renamed from this... + (kernel_elf_HEADERS): ...to this. + (grubof_CFLAGS): Renamed from this... + (kernel_elf_CFLAGS): ...to this. + (grubof_ASFLAGS): Renamed from this... + (kernel_elf_ASFLAGS): ...to this. + (grubof_LDFLAGS): Renamed from this... + (kernel_elf_LDFLAGS): ...to this. + + * conf/sparc64-ieee1275.rmk (grubof_HEADERS): Renamed from + this... + (kernel_elf_HEADERS): ...to this. Updated all users. + (grubof_symlist.c): Renamed from this... + (kernel_elf_symlist.c): ...to this. Updated all users. + (pkgdata_PROGRAMS): Changed `grubof' to `kernel.elf'. + (grubof_SOURCES): Renamed from this... + (kernel_elf_SOURCES): ...to this. + (grubof_HEADERS): Renamed from this... + (kernel_elf_HEADERS): ...to this. + (grubof_CFLAGS): Renamed from this... + (kernel_elf_CFLAGS): ...to this. + (grubof_ASFLAGS): Renamed from this... + (kernel_elf_ASFLAGS): ...to this. + (grubof_LDFLAGS): Renamed from this... + (kernel_elf_LDFLAGS): ...to this. + + * util/powerpc/ieee1275/grub-mkimage.c (add_segments): Use + `kernel.elf' instead of `grubof'. + +2006-05-08 Yoshinori K. Okuji + + Add --with-platform to configure. Use pkglibdir instead of + pkgdatadir. This is reported by Roger Leigh. + + * util/powerpc/ieee1275/grub-install.in (datadir): Removed. + (host_vendor): Likewise. + (host_os): Likewise. + (pkgdatadir): Likewise. + (platform): New variable. + (pkglibdir): Likewise. + Use PKGLIBDIR instead of PKGDATADIR. + + * util/i386/pc/grub-install.in (datadir): Removed. + (host_vendor): Likewise. + (host_os): Likewise. + (pkgdatadir): Likewise. + (platform): New variable. + (pkglibdir): Likewise. + Use PKGLIBDIR instead of PKGDATADIR. + + * util/powerpc/ieee1275/grub-mkimage.c (usage): Use GRUB_LIBDIR + instead of GRUB_DATADIR. + (main): Likewise. + * util/i386/pc/grub-mkimage.c (usage): Likewise. + (main): Likewise. + * util/i386/efi/grub-mkimage.c (usage): Likewise. + (main): Likewise. + + * configure.ac (--with-platform): New option. + Use PLATFORM instead of HOST_VENDOR to specify a platform. + + * Makefile.in: Include a makefile based on PLATFORM instead of + HOST_VENDOR. + (pkgdatadir): Not appended by the machine type. + (pkglibdir): Appended by the machine type. + (host_vendor): Removed. + (platform): New variable. + (BUILD_CPPFLAGS): Specify GRUB_LIBDIR instead of GRUB_DATADIR. + (install-local): Use PKGLIBDIR instead of PKGDATADIR. + (uninstall): Likewise. + +2006-05-07 Yoshinori K. Okuji + + Use the environment context in the menu. Remove the commands + "default" and "timeout", and use variables instead. + + * normal/menu.c: Include grub/env.h. + (print_entry): Cast TITLE to silence gcc. + (get_timeout): New function. + (set_timeout): Likewise. + (get_entry_number): Likewise. + (run_menu): Use a default entry, a fallback entry and a timeout + in the environment variables "default", "fallback" and + "timeout". Also, tweak the default entry if it is not within the + current menu entries. + (grub_menu_run): Use a fallback entry in the environment variable + "fallback". + + * normal/main.c (read_config_file): Do not initialize + NEWMENU->DEFAULT_ENTRY, NEWMENU->FALLBACK_ENTRY or + NEWMENU->TIMEOUT. + (grub_normal_execute): Use a data slot to store the menu. + + * include/grub/normal.h (struct grub_menu): Removed default_entry, + fallback_entry and timeout. + (struct grub_menu_list): Removed. + (grub_menu_list_t): Likewise. + (struct grub_context): Likewise. + (grub_context_t): Likewise. + (grub_context_get): Likewise. + (grub_context_get_current_menu): Likewise. + (grub_context_push_menu): Likewise. + (grub_context_pop_menu): Likewise. + (grub_default_init): Likewise. + (grub_default_fini): Likewise. + (grub_timeout_init): Likewise. + (grub_timeout_fini): Likewise. + + * conf/sparc64-ieee1275.rmk (pkgdata_MODULES): Removed default.mod + and timeout.mod. + (normal_mod_SOURCES): Removed normal/context.c. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Removed + commands/default.c, commands/timeout.c and normal/context.c. + (normal_mod_SOURCES): Removed normal/context.c. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Removed commands/default.c, + commands/timeout.c and normal/context.c. + (normal_mod_SOURCES): Removed normal/context.c. + + * conf/i386-efi.rmk (grub_emu_SOURCES): Removed + commands/default.c, commands/timeout.c and normal/context.c. + (normal_mod_SOURCES): Removed normal/context.c. + + * conf/common.rmk (pkgdata_MODULES): Removed default.mod and + timeout.mod. + (default_mod_SOURCES): Removed. + (default_mod_CFLAGS): Likewise. + (default_mod_LDFLAGS): Likewise. + (timeout_mod_SOURCES): Removed. + (timeout_mod_CFLAGS): Likewise. + (timeout_mod_LDFLAGS): Likewise. + + * DISTLIST: Removed commands/default.c, commands/timeout.c and + normal/context.c. + + * commands/default.c: Removed. + * commands/timeout.c: Likewise. + * normal/context.c: Likewise. + +2006-05-07 Vesa Jaaskelainen + + * kern/i386/pc/startup.S (grub_exit): Added missing .code32 tag. + +2006-05-02 Yoshinori K. Okuji + + * kern/env.c (struct grub_env_context): Removed "sorted". Renamed + "next" to "prev" for readability. + (struct grub_env_sorted_var): New struct. + (grub_env_context): Renamed to ... + (initial_context): ... this. + (grub_env_var_context): Renamed to ... + (current_context): ... this. + (grub_env_find): Look only at CURRENT_CONTEXT. + (grub_env_context_open): Rewritten to copy exported variables from + previous context. + (grub_env_context_close): Rewritten according to the new + scheme. Also, add an assertion to prevent the initial context from + removed. + (grub_env_insert): Removed the code for the sorted list. + (grub_env_remove): Likewise. + (grub_env_export): Simply mark the variable with + GRUB_ENV_VAR_GLOBAL. + (grub_env_set): A cosmetic change for naming consistency. + (grub_env_get): Likewise. + (grub_env_unset): Likewise. + (grub_env_iterate): Rewritten to sort variables within this + function. + (grub_register_variable_hook): Fixed for naming consistency. Call + grub_env_find again, only if NAME is not found at the first time. + (mangle_data_slot_name): New function. + (grub_env_set_data_slot): Likewise. + (grub_env_get_data_slot): Likewise. + (grub_env_unset_data_slot): Likewise. + + * include/grub/env.h (grub_env_var_type): New enum. + (GRUB_ENV_VAR_LOCAL): New constant. + (GRUB_ENV_VAR_GLOBAL): Likewise. + (GRUB_ENV_VAR_DATA): Likewise. + (struct grub_env_var): Removed "sort_next" and "sort_prevp". Added + "type". + (grub_env_set): Replace VAR with NAME for consistency. + (grub_register_variable_hook): Likewise. + (grub_env_export): Specify the name of the argument. + (grub_env_set_data_slot): New prototype. + (grub_env_get_data_slot): Likewise. + (grub_env_unset_data_slot): Likewise. + +2006-04-30 Yoshinori K. Okuji + + Extend the loader so that GRUB can accept a loader which comes + back to GRUB when a loaded image exits. Also, this change adds + support for a chainloader on EFI. + + * term/efi/console.c: Include grub/misc.h. + (grub_console_checkkey): Display a scan code on the top for + debugging. This will be removed once the EFI port gets stable. + Correct the scan code mapping. + + * kern/efi/mm.c (sort_memory_map): Sort in a descending order to + allocate memory from larger regions, in order to reduce the number + of allocated regions. Otherwise, the MacOSX loader panics. + (filter_memory_map): Avoid less than 1MB for compatibility with + other loaders. + (add_memory_regions): Allocate from the tail of a region, if + possible, to avoid allocating a region near to 1MB, for the MacOSX + loader. + + * kern/efi/init.c (grub_efi_set_prefix): Specify + GRUB_EFI_IMAGE_HANDLE to grub_efi_get_loaded_image. + + * kern/efi/efi.c (grub_efi_get_loaded_image): Accept a new + argument IMAGE_HANDLE and specify it to get a loaded image. + (grub_arch_modules_addr): Specify GRUB_EFI_IMAGE_HANDLE to + grub_efi_get_loaded_image. + (grub_efi_get_filename): Divide the length by the size of + grub_efi_char16_t. + (grub_efi_get_device_path): New function. + (grub_efi_print_device_path): Print End Device Path nodes. Divide + the length by the size of grub_efi_char16_t for a file path device + path node. + + * kern/loader.c (grub_loader_noreturn): New variable. + (grub_loader_set): Accept a new argument NORETURN. Set + GRUB_LOADER_NORETURN to NORETURN. + All callers changed. + (grub_loader_boot): If GRUB_LOADER_NORETURN is false, do not call + grub_machine_fini. + + * include/grub/efi/efi.h (grub_efi_get_device_path): New + prototype. + (grub_efi_get_loaded_image): Take an argument to specify an image + handle. + + * include/grub/loader.h (grub_loader_set): Added one more argument + NORETURN. + + * disk/efi/efidisk.c (make_devices): Use grub_efi_get_device_path + instead of grub_efi_open_protocol. + (grub_efidisk_get_device_name): Likewise. + (grub_efidisk_close): Print a newline. + (grub_efidisk_get_device_handle): Fixed to use + GRUB_EFI_DEVICE_PATH_SUBTYPE instead of + GRUB_EFI_DEVICE_PATH_TYPE. + + * disk/efi/efidisk.c (device_path_guid): Moved to ... + * kern/efi/efi.c (device_path_guid): ... here. + + * conf/i386-efi.rmk (pkgdata_MODULES): Added _chain.mod and + chain.mod. + (kernel_mod_HEADERS): Added efi/disk.h. + (_chain_mod_SOURCES): New variable. + (_chain_mod_CFLAGS): Likewise. + (_chain_mod_LDFLAGS): Likewise. + (chain_mod_SOURCES): Likewise. + (chain_mod_CFLAGS): Likewise. + (chain_mod_LDFLAGS): Likewise. + + * DISTLIST: Added include/grub/efi/chainloader.h, + loader/efi/chainloader.c and loader/efi/chainloader_normal.c. + + * include/grub/efi/chainloader.h: New file. + * loader/efi/chainloader.c: Likewise. + * loader/efi/chainloader_normal.c: Likewise. + +2006-04-30 Marco Gerards + + * commands/configfile.c (grub_cmd_source): New function. + (GRUB_MOD_INIT): Register the commands `source' and `.'. + (GRUB_MOD_FINI): De-register the commands `source' and `.'. + +2006-04-30 Marco Gerards + + * normal/execute.c (grub_script_execute_cmd): Change the return + type to `grub_err_t'. Correctly return the error. + (grub_script_execute_cmdline): In case a command line is not a + command or a function, try to interpret it as an assignment. + +2006-04-30 Yoshinori K. Okuji + + * fs/hfsplus.c (grub_hfsplus_read_block): Fixed a memory leak. + (grub_hfsplus_iterate_dir): Reordered to skip unknown nodes. Also, + skip a node whose name is obviously invalid as UTF-16, + i.e. contains a NUL character. Stop the iteration when the last + directory entry is found. Instead of using the return value of + grub_hfsplus_btree_iterate_node, store the value in RET and use + it, because the iterator can be stopped by the last directory + entry. + +2006-04-30 Marco Gerards + + * include/grub/env.h (grub_env_export): New prototype. Reported + by Jan C. Kleinsorge . + +2006-04-30 Marco Gerards + + * fs/hfsplus.c (grub_hfsplus_iterate_dir): Correctly calculate the + size of the extents in a catalog file record. + +2006-04-29 Marco Gerards + + * commands/configfile.c (grub_cmd_configfile): Execute the + configfile within its own context. + + * include/grub/env.h (grub_env_context_open): New prototype. + (grub_env_context_close): Likewise. + + * kern/env.c (grub_env): Removed. + (grub_env_sorted): Likewise. + (grub_env_context): New variable. + (grub_env_var_context): Likewise. + (grub_env_find): Search both the active context and the global + context. + (grub_env_context_open): New function. + (grub_env_context_close): Likewise. + (grub_env_insert): Likewise. + (grub_env_remove): Likewise. + (grub_env_export): Likewise. + (grub_env_set): Changed to use helper functions to avoid code + duplication. + (grub_env_iterate): Rewritten so both the current context and the + global context are being used. + + * normal/command.c (export_command): New function. + (grub_command_init): Register the `export' function. + +2006-04-26 Yoshinori K. Okuji + + * util/i386/pc/grub-mkimage.c (compress_kernel): Cast arguments + explicitly to suppress gcc's warnings. + * fs/fat.c (grub_fat_find_dir): Likewise. + (grub_fat_label): Likewise. + * fs/xfs.c (grub_xfs_read_inode): Likewise. + (grub_xfs_mount): Likewise. + (grub_xfs_label): Likewise. + * fs/affs.c (grub_affs_mount): Likewise. + (grub_affs_label): Likewise. + (grub_affs_iterate_dir): Likewise. + * fs/sfs.c (grub_sfs_mount): Likewise. + (grub_sfs_iterate_dir): Likewise. + * fs/ufs.c (grub_ufs_lookup_symlink): Likewise. + * fs/hfs.c (grub_hfs_mount): Likewise. + (grub_hfs_cmp_catkeys): Likewise. + (grub_hfs_find_dir): Likewise. + (grub_hfs_dir): Likewise. + (grub_hfs_label): Likewise. + * fs/jfs.c (grub_jfs_mount): Likewise. + (grub_jfs_opendir): Likewise. + (grub_jfs_getent): Likewise. + (grub_jfs_lookup_symlink): Likewise. + (grub_jfs_label): Likewise. + * fs/hfsplus.c (grub_hfsplus_cmp_catkey): Likewise. + (grub_hfsplus_iterate_dir): Likewise. + (grub_hfsplus_btree_iterate_node): Made static. + + * util/grub-emu.c (prefix): New variable. + (grub_machine_set_prefix): New function. + (main): Do not set the environment variable "prefix" here. Only + set PREFIX, which is used later by grub_machine_set_prefix. + + * include/grub/video.h: Do not include grub/symbol.h. + (grub_video_register): Not exported. This symbol is not defined in + the kernel. + (grub_video_unregister): Likewise. + (grub_video_iterate): Likewise. + (grub_video_setup): Likewise. + (grub_video_restore): Likewise. + (grub_video_get_info): Likewise. + (grub_video_get_blit_format): Likewise. + (grub_video_set_palette): Likewise. + (grub_video_get_palette): Likewise. + (grub_video_set_viewport): Likewise. + (grub_video_get_viewport): Likewise. + (grub_video_map_color): Likewise. + (grub_video_map_rgb): Likewise. + (grub_video_map_rgba): Likewise. + (grub_video_fill_rect): Likewise. + (grub_video_blit_glyph): Likewise. + (grub_video_blit_bitmap): Likewise. + (grub_video_blit_render_target): Likewise. + (grub_video_scroll): Likewise. + (grub_video_swap_buffers): Likewise. + (grub_video_create_render_target): Likewise. + (grub_video_delete_render_target): Likewise. + (grub_video_set_active_render_target): Likewise. + + * include/grub/symbol.h [GRUB_SYMBOL_GENERATOR] (EXPORT_FUNC): + Undefined. + [GRUB_SYMBOL_GENERATOR] (EXPORT_VAR): Likewise. + + * conf/sparc64-ieee1275.rmk (grubof_symlist.c): Depended on + config.h. Use gensymlist.sh instead of $(srcdir)/gensymlist.sh. + (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh + instead of $(srcdir)/genkernsyms.sh. + + * conf/powerpc-ieee1275.rmk (grubof_symlist.c): Depended on + config.h. Use gensymlist.sh instead of $(srcdir)/gensymlist.sh. + (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh + instead of $(srcdir)/genkernsyms.sh. + + * conf/i386-pc.rmk (symlist.c): Depended on config.h. Use + gensymlist.sh instead of $(srcdir)/gensymlist.sh. + (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh + instead of $(srcdir)/genkernsyms.sh. + + * conf/i386-efi.rmk (symlist.c): Depended on config.h. Use + gensymlist.sh instead of $(srcdir)/gensymlist.sh. + (kernel_syms.lst): Depended on config.h. Use genkernsyms.sh + instead of $(srcdir)/genkernsyms.sh. + + * configure.ac (AC_CONFIG_FILES): Added gensymlist.sh and + genkernsyms.sh. + + * Makefile.in (DISTCLEANFILES): Added gensymlist.sh and + genkernsyms.sh. + (gensymlist.sh): New target. + (genkernsyms.sh): Likewise. + + * DISTLIST: Removed genkernsyms.sh and gensymlist.sh. Added + genkernsyms.sh.in and gensymlist.sh.in. + + * genkernsyms.sh: Removed. + * gensymlist.sh: Likewise. + + * genkernsyms.sh.in: New file. + * gensymlist.sh.in: Likewise. + +2006-04-25 Hollis Blanchard + + * kern/powerpc/ieee1275/init.c (grub_machine_set_prefix): Do not + clobber "prefix", since we may have already set it manually. + +2006-04-25 Hollis Blanchard + + * kern/misc.c (abort): New alias for grub_abort. + +2006-04-25 Yoshinori K. Okuji + + A new machine-specific function "grub_machine_set_prefix" is + defined. This is called after loading modules, so that a prefix + initialization can use modules. Also, this change adds an + intensive debugging feature for the memory manager via the + configure option "--enable-mm-debug". + + * partmap/gpt.c (gpt_partition_map_iterate): Add one more into + PART.LEN. + + * kern/sparc64/ieee1275/init.c (abort): Removed. + (grub_stop): Likewise. + (grub_exit): New function. + (grub_set_prefix): Renamed to ... + (grub_machine_set_prefix): ... this. + (grub_machine_init): Do not call grub_set_prefix. + + * kern/powerpc/ieee1275/init.c (grub_set_prefix): Renamed to ... + (grub_machine_set_prefix): ... this. + (grub_machine_init): Do not call grub_set_prefix. + + * kern/i386/pc/init.c (grub_machine_set_prefix): New function. + (grub_machine_init): Do not set the prefix here. + + * kern/i386/efi/init.c (grub_machine_set_prefix): New function. + + * kern/efi/init.c: Include grub/mm.h. + (grub_efi_set_prefix): New function. + + * kern/efi/efi.c (grub_exit): Call grub_efi_fini. + (grub_efi_get_filename): New function. + (grub_print_device_path): Renamed to ... + (grub_efi_print_device_path): ... this. + + * kern/mm.c [MM_DEBUG] (grub_malloc): Undefined. + [MM_DEBUG] (grub_realloc): Likewise. + [MM_DEBUG] (grub_free): Likewise. + [MM_DEBUG] (grub_memalign): Likewise. + [MM_DEBUG] (grub_mm_debug): New variable. + [MM_DEBUG] (grub_debug_malloc): New function. + [MM_DEBUG] (grub_debug_free): New function. + [MM_DEBUG] (grub_debug_realloc): New function. + [MM_DEBUG] (grub_debug_memalign): New function. + + * kern/misc.c (grub_abort): Print a newline to distinguish + the message. + + * kern/main.c (grub_main): Call grub_machine_set_prefix and + grub_set_root_dev after loading modules. This is necessary when + setting a prefix depends on modules. + + * include/grub/efi/efi.h (grub_print_device_path): Renamed to ... + (grub_efi_print_device_path): ... this. + (grub_efi_get_filename): New prototype. + (grub_efi_set_prefix): Likewise. + + * include/grub/efi/disk.h: Include grub/efi/api.h, grub/symbol.h + and grub/disk.h. + (grub_efidisk_get_device_handle): New prototype. + (grub_efidisk_get_device_name): Likewise. + + * include/grub/mm.h: Include config.h. + (MM_DEBUG): Removed. + [MM_DEBUG && !GRUB_UTIL] (grub_mm_debug): New prototype. + [MM_DEBUG && !GRUB_UTIL] (grub_malloc): New macro. + [MM_DEBUG && !GRUB_UTIL] (grub_realloc): Likewise. + [MM_DEBUG && !GRUB_UTIL] (grub_memalign): Likewise. + [MM_DEBUG && !GRUB_UTIL] (grub_free): Likewise. + [MM_DEBUG && !GRUB_UTIL] (grub_debug_malloc): New prototype. + [MM_DEBUG && !GRUB_UTIL] (grub_debug_realloc): New prototype. + [MM_DEBUG && !GRUB_UTIL] (grub_debug_memalign): New prototype. + [MM_DEBUG && !GRUB_UTIL] (grub_debug_free): New prototype. + + * include/grub/kernel.h (grub_machine_set_prefix): New prototype. + + * disk/efi/efidisk.c: Include grub/partition.h. + (iterate_child_devices): New function. + (add_device): First, compare only last device path nodes, so that + devices are sorted by the types. + (grub_efidisk_get_device_handle): New function. + (grub_efidisk_get_device_name): Likewise. + + * configure.ac (--enable-mm-debug): New option to enable the + memory manager debugging feature. This makes the binary much + bigger, so is disabled by default. + +2006-04-23 Yoshinori K. Okuji + + Use grub_abort instead of grub_stop, and grub_exit must be + define in each architecture now. Also, this change adds support + for EFI disks. + + * util/i386/pc/grub-probefs.c: Include grub/term.h. + (grub_getkey): New function. + (grub_term_get_current): Likewise. + + * util/i386/pc/grub-setup.c: Include grub/term.h. + (grub_getkey): New function. + (grub_term_get_current): Likewise. + + * util/misc.c (grub_stop): Renamed to ... + (grub_exit): ... this. + + * kern/powerpc/ieee1275/init.c (abort): Renamed to ... + (grub_exit): ... this. + (grub_machine_init): Use grub_abort instead of abort. + (grub_stop): Removed. + + * kern/powerpc/ieee1275/cmain.c (cmain): Use grub_abort instead of + abort. + + * kern/i386/pc/startup.S (grub_exit): New function. + (cold_reboot): New label. + + * kern/efi/init.c: Include grub/efi/disk.h and grub/env.h. + (grub_efi_init): Call grub_efidisk_init. + (grub_efi_fini): Call grub_efidisk_fini. + + * kern/efi/efi.c: Include grub/mm.h. + (grub_efi_console_control_guid): Renamed to ... + (console_control_guid): ... this. + (grub_efi_loaded_image_guid): Renamed to ... + (loaded_image_guid): ... this. + (grub_efi_locate_handle): New function. + (grub_efi_open_protocol): Likewise. + (grub_efi_set_text_mode): Use CONSOLE_CONTROL_GUID instead of + GRUB_EFI_CONSOLE_CONTROL_GUID. + (grub_efi_exit): Removed. + (grub_stop): Likewise. + (grub_efi_get_loaded_image): Use grub_efi_open_protocol. + (grub_exit): New function. + (grub_print_device_path): Likewise. + + * kern/rescue.c (grub_rescue_cmd_exit): New function. + (grub_enter_rescue_mode): Register "exit". + + * kern/misc.c (grub_real_dprintf): A cosmetic change. + (grub_abort): New function. + + * kern/err.c (grub_fatal): Use grub_abort instead of grub_stop. + + * include/grub/sparc64/ieee1275/kernel.h (abort): Removed. + + * include/grub/powerpc/ieee1275/kernel.h (abort): Removed. + + * include/grub/efi/efi.h (grub_efi_exit): Removed. + (grub_print_device_path): New prototype. + (grub_efi_locate_handle): Likewise. + (grub_efi_open_protocol): Likewise. + + * include/grub/efi/disk.h (grub_efidisk_fini): New file. + * disk/efi/efidisk.c: Likewise. + + * DISTLIST: Added disk/efi/efidisk.c and include/grub/efi/disk.h. + + * include/grub/efi/console_control.h + (GRUB_EFI_CONSOLE_CONTROL_GUID): Use an array for the last 8 bytes. + + * include/grub/efi/api.h (GRUB_EFI_LOADED_IMAGE_GUID): Specify the + last 8 bytes as an array. + (GRUB_EFI_DISK_IO_GUID): New macro. + (GRUB_EFI_BLOCK_IO_GUID): Likewise. + (GRUB_EFI_DEVICE_PATH_GUID): Likewise. + (grub_efi_ipv6_address_t): Change the type to grub_uint16_t from + grub_uint8_t. + (struct grub_efi_guid): Use an array to specify the last 8 bytes. + (struct grub_efi_device_path): Rename the member "sub_type" to + "subtype". + (GRUB_EFI_DEVICE_PATH_TYPE): New macro. + (GRUB_EFI_DEVICE_PATH_SUBTYPE): Likewise. + (GRUB_EFI_DEVICE_PATH_LENGTH): Likewise. + (GRUB_EFI_END_DEVICE_PATH_TYPE): Likewise. + (GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE): Likewise. + (GRUB_EFI_END_THIS_DEVICE_PATH_SUBTYPE): Likewise. + (GRUB_EFI_END_ENTIRE_DEVICE_PATH): Likewise. + (GRUB_EFI_NEXT_DEVICE_PATH): Likewise. + (GRUB_EFI_HARDWARE_DEVICE_PATH_TYPE): Likewise. + (GRUB_EFI_PCI_DEVICE_PATH_SUBTYPE): Likewise. + (struct grub_efi_pci_device_path): New structure. + (grub_efi_pci_device_path_t): New type. + (GRUB_EFI_PCCARD_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_pccard_device_path): New structure. + (grub_efi_pccard_device_path_t): New type. + (GRUB_EFI_MEMORY_MAPPED_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_memory_mapped_device_path): New structure. + (grub_efi_memory_mapped_device_path_t): New type. + (GRUB_EFI_VENDOR_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_vendor_device_path): New structure. + (grub_efi_vendor_device_path_t): New type. + (GRUB_EFI_CONTROLLER_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_controller_device_path): New structure. + (grub_efi_controller_device_path_t): New type. + (GRUB_EFI_ACPI_DEVICE_PATH_TYPE): New macro. + (GRUB_EFI_ACPI_DEVICE_PATH_SUBTYPE): Likewise. + (struct grub_efi_acpi_device_path): New structure. + (grub_efi_acpi_device_path_t): New type. + (GRUB_EFI_EXPANDED_ACPI_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_expanded_acpi_device_path): New structure. + (grub_efi_expanded_acpi_device_path_t): New type. + (GRUB_EFI_EXPANDED_ACPI_HIDSTR): New macro. + (GRUB_EFI_EXPANDED_ACPI_UIDSTR): Likewise. + (GRUB_EFI_EXPANDED_ACPI_CIDSTR): Likewise. + (GRUB_EFI_MESSAGING_DEVICE_PATH_TYPE): Likewise. + (GRUB_EFI_ATAPI_DEVICE_PATH_SUBTYPE): Likewise. + (struct grub_efi_atapi_device_path): New structure. + (grub_efi_atapi_device_path_t): New type. + (GRUB_EFI_FIBRE_CHANNEL_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_fibre_channel_device_path): New structure. + (grub_efi_fibre_channel_device_path_t): New type. + (GRUB_EFI_1394_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_1394_device_path): New structure. + (grub_efi_1394_device_path_t): New type. + (GRUB_EFI_USB_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_usb_device_path): New structure. + (grub_efi_usb_device_path_t): New type. + (GRUB_EFI_USB_CLASS_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_usb_class_device_path): New structure. + (grub_efi_usb_class_device_path_t): New type. + (GRUB_EFI_I2O_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_i2o_device_path): New structure. + (grub_efi_i2o_device_path_t): New type. + (GRUB_EFI_MAC_ADDRESS_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_mac_address_device_path): New structure. + (grub_efi_mac_address_device_path_t): New type. + (GRUB_EFI_IPV4_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_ipv4_device_path): New structure. + (grub_efi_ipv4_device_path_t): New type. + (GRUB_EFI_IPV6_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_ipv6_device_path): New structure. + (grub_efi_ipv6_device_path_t): New type. + (GRUB_EFI_INFINIBAND_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_infiniband_device_path): New structure. + (grub_efi_infiniband_device_path_t): New type. + (GRUB_EFI_UART_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_uart_device_path): New structure. + (grub_efi_uart_device_path_t): New type. + (GRUB_EFI_VENDOR_MESSAGING_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_vendor_messaging_device_path): New structure. + (grub_efi_vendor_messaging_device_path_t): New type. + (GRUB_EFI_MEDIA_DEVICE_PATH_TYPE): New macro. + (GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE): Likewise. + (struct grub_efi_hard_drive_device_path): New structure. + (grub_efi_hard_drive_device_path_t): New type. + (GRUB_EFI_CDROM_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_cdrom_device_path): New structure. + (grub_efi_cdrom_device_path_t): New type. + (GRUB_EFI_VENDOR_MEDIA_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_vendor_media_device_path): New structure. + (grub_efi_vendor_media_device_path_t): New type. + (GRUB_EFI_FILE_PATH_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_file_path_device_path): New structure. + (grub_efi_file_path_device_path_t): New type. + (GRUB_EFI_PROTOCOL_DEVICE_PATH_SUBTYPE): New macro. + (struct grub_efi_protocol_device_path): New structure. + (grub_efi_protocol_device_path_t): New type. + (GRUB_EFI_BIOS_DEVICE_PATH_TYPE): New macro. + (GRUB_EFI_BIOS_DEVICE_PATH_SUBTYPE): Likewise. + (struct grub_efi_bios_device_path): New structure. + (grub_efi_bios_device_path_t): New type. + (struct grub_efi_disk_io): New structure. + (grub_efi_disk_io_t): New type. + (struct grub_efi_block_io_media): New structure. + (grub_efi_block_io_media_t): New type. + (struct grub_efi_block_io): New structure. + (grub_efi_block_io_t): New type. + + * include/grub/misc.h (grub_stop): Removed. + (grub_exit): New prototype. + (grub_abort): Likewise. + + * include/grub/disk.h (enum grub_disk_dev_id): Added + GRUB_DISK_DEVICE_EFIDISK_ID. + + * conf/i386-efi.rmk (kernel_mod_SOURCES): Added + disk/efi/efidisk.c. + (kernel_syms.lst): Remove the target if an error occurs. + +2006-04-22 Yoshinori K. Okuji + + * kern/misc.c (grub_lltoa): Rewritten the decimal conversion part, + as it was simply too buggy. + +2006-04-21 Yoshinori K. Okuji + + * kern/misc.c (grub_lltoa): New function. + (grub_vsprintf): Added support for the long long suffix, + i.e. "ll". + +2006-04-20 Hollis Blanchard + + * Makefile.in (LDFLAGS): Add variable. + (LD): Remove variable. + * configure.ac: Add -m32 to LDFLAGS. + * genmk.rb (PModule#rule): Use $(CC) instead of $(LD). + * conf/powerpc-ieee1275.rmk (COMMON_LDFLAGS): Add variable. + (grubof_LDFLAGS): Use $(COMMON_LDFLAGS). + (_linux_mod_LDFLAGS, linux_mod_LDFLAGS, normal_mod_LDFLAGS, + suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS): New + variables. + * conf/sparc64-ieee1275.rmk (COMMON_LDFLAGS): Add -nostdlib. + * conf/i386-pc.rmk (COMMON_LDFLAGS): Add -nostdlib. + * conf/i386-efi.rmk (COMMON_LDFLAGS): Add -nostdlib. + +2006-04-20 Vesa Jaaskelainen + + * term/gfxterm.c (grub_gfxterm_getcharwidth): Fixed character + length for unknown glyph. + +2006-04-20 Yoshinori K. Okuji + + Add support for pre-loaded modules into the EFI port. + + * util/i386/efi/grub-mkimage.c (make_mods_section): Rewritten + completely. Accept one more argument DIR. The caller has changed. + + * kern/i386/efi/init.c (grub_arch_modules_addr): Removed. + + * kern/efi/efi.c: Include grub/efi/pe32.h and grub/kernel.h. + (grub_efi_loaded_image_guid): New variable. + (grub_efi_get_loaded_image): New function. + (grub_arch_modules_addr): Likewise. + + * include/grub/efi/efi.h (grub_efi_get_loaded_image): New + prototype. + + * include/grub/efi/api.h (GRUB_EFI_LOADED_IMAGE_GUID): New macro. + (struct grub_efi_loaded_image): New structure. + (grub_efi_loaded_image_t): New type. + +2006-04-20 Yoshinori K. Okuji + + * loader/i386/pc/linux.c (grub_rescue_cmd_linux): Compare the file + size with GRUB_OS_AREA_SIZE as grub_size_t instead of + grub_ssize_t. Reported by Jeff Chua . + +2006-04-19 Roger Leigh + + * DISTLIST: Added `util/powerpc/ieee1275/grub-install.in'. + +2006-04-19 Yoshinori K. Okuji + + * DISTLIST: Added include/grub/efi/console.h, + include/grub/efi/time.h, include/grub/i386/efi/kernel.h, + kern/efi/init.c, kern/efi/mm.c, and term/efi/console.c. + + * include/grub/efi/console.h: New file. + * include/grub/efi/time.h: Likewise. + * include/grub/i386/efi/kernel.h: Likewise. + * kern/efi/init.c: Likewise. + * kern/efi/mm.c: Likewise. + * term/efi/console.c: Likewise. + + * kern/i386/efi/init.c: Do not include grub/machine/time.h. + (grub_stop): Removed. + (grub_get_rtc): Likewise. + (grub_machine_init): Simply call grub_efi_init. + (grub_machine_fini): Call grub_efi_fini. + + * kern/efi/efi.c: Include grub/machine/time.h and grub/term.h. + (grub_efi_output_string): Removed. + (grub_efi_stall): New function. + (grub_stop): Likewise. + (grub_get_rtc): Likewise. + + * include/grub/efi/efi.h (grub_efi_output_string): Removed. + (grub_efi_stall): New prototype. + (grub_efi_allocate_pages): Likewise. + (grub_efi_free_pages): Likewise. + (grub_efi_get_memory_map): Likewise. + (grub_efi_mm_init): Likewise. + (grub_efi_mm_fini): Likewise. + (grub_efi_init): Likewise. + (grub_efi_fini): Likewise. + + * include/grub/i386/efi/time.h: Do not include + grub/symbol.h. Include grub/efi/time.h. + (GRUB_TICKS_PER_SECOND): Removed. + (grub_get_rtc): Likewise. + + * include/grub/efi/api.h (struct grub_efi_memory_descriptor): + Added padding. The EFI spec is buggy. + (GRUB_EFI_BLACK): New macro. + (GRUB_EFI_BLUE): Likewise. + (GRUB_EFI_GREEN): Likewise. + (GRUB_EFI_CYAN): Likewise. + (GRUB_EFI_RED): Likewise. + (GRUB_EFI_MAGENTA): Likewise. + (GRUB_EFI_BROWN): Likewise. + (GRUB_EFI_LIGHTGRAY): Likewise. + (GRUB_EFI_BRIGHT): Likewise. + (GRUB_EFI_DARKGRAY): Likewise. + (GRUB_EFI_LIGHTBLUE): Likewise. + (GRUB_EFI_LIGHTGREEN): Likewise. + (GRUB_EFI_LIGHTCYAN): Likewise. + (GRUB_EFI_LIGHTRED): Likewise. + (GRUB_EFI_LIGHTMAGENTA): Likewise. + (GRUB_EFI_YELLOW): Likewise. + (GRUB_EFI_WHITE): Likewise. + (GRUB_EFI_BACKGROUND_BLACK): Likewise. + (GRUB_EFI_BACKGROUND_BLUE): Likewise. + (GRUB_EFI_BACKGROUND_GREEN): Likewise. + (GRUB_EFI_BACKGROUND_CYAN): Likewise. + (GRUB_EFI_BACKGROUND_RED): Likewise. + (GRUB_EFI_BACKGROUND_MAGENTA): Likewise. + (GRUB_EFI_BACKGROUND_BROWN): Likewise. + (GRUB_EFI_BACKGROUND_LIGHTGRAY): Likewise. + (GRUB_EFI_TEXT_ATTR): Likewise. + + * conf/i386-efi.rmk (kernel_mod_SOURCES): Added kern/efi/efi.c, + kern/efi/init.c, kern/efi/mm.c, and term/efi/console.c. + (kernel_mod_HEADERS): Added efi/time.h. + +2006-04-18 Yoshinori K. Okuji + + * DISTLIST: Added conf/i386-efi.mk, conf/i386-efi.rmk, + include/grub/efi/api.h, include/grub/efi/console_control.h, + include/grub/efi/efi.h, include/grub/efi/pe32.h, + include/grub/i386/efi/time.h, kern/efi/efi.c, + kern/i386/efi/init.c, kern/i386/efi/startup.S, + and util/i386/efi/grub-mkimage.c. + + * Makefile.in (RMKFILES): Added i386-efi.rmk. + + * genmk.rb (PModule#rule): Do not export symbols if + #{prefix}_EXPORTS is set to "no". + + * conf/i386-efi.mk: New file. + * conf/i386-efi.rmk: Likewise. + * include/grub/efi/api.h: Likewise. + * include/grub/efi/console_control.h: Likewise. + * include/grub/efi/efi.h: Likewise. + * include/grub/efi/pe32.h: Likewise. + * include/grub/i386/efi/time.h: Likewise. + * kern/efi/efi.c: Likewise. + * kern/i386/efi/init.c: Likewise. + * kern/i386/efi/startup.S: Likewise. + * util/i386/efi/grub-mkimage.c: Likewise. + +2006-04-17 Marco Gerards + + * include/grub/script.h: Include and + "grub_script.tab.h". + (struct grub_lexer_param): New struct. + (struct grub_parser_param): Likewise. + (grub_script_create_arglist): Pass the state in an argument. + (grub_script_add_arglist): Likewise. + (grub_script_create_cmdline): Likewise. + (grub_script_create_cmdblock): Likewise. + (grub_script_create_cmdif): Likewise. + (grub_script_create_cmdmenu): Likewise. + (grub_script_add_cmd): Likewise. + (grub_script_arg_add): Likewise. + (grub_script_lexer_ref): Likewise. + (grub_script_lexer_deref): Likewise. + (grub_script_lexer_record_start): Likewise. + (grub_script_lexer_record_stop): Likewise. + (grub_script_mem_record): Likewise. + (grub_script_mem_record_stop): Likewise. + (grub_script_malloc): Likewise. + (grub_script_yylex): Likewise. + (grub_script_yyparse): Likewise. + (grub_script_yyerror): Likewise. + (grub_script_yylex): Likewise. + (grub_script_lexer_init): Return the state. + + * normal/lexer.c (grub_script_lexer_state): Removed variable. + (grub_script_lexer_done): Likewise. + (grub_script_lexer_getline): Likewise. + (grub_script_lexer_refs): Likewise. + (script): Likewise. + (newscript): Likewise. + (record): Likewise. + (recording): Likewise. + (recordpos): Likewise. + (recordlen): Likewise. + (grub_script_lexer_init): Return the state instead of setting + global variables. + (grub_script_lexer_ref): Use the newly added argument for state + instead of globals. + (grub_script_lexer_deref): Likewise. + (grub_script_lexer_record_start): Likewise. + (grub_script_lexer_record_stop): Likewise. + (recordchar): Likewise. + (nextchar): Likewise. + (grub_script_yylex2): Likewise. + (grub_script_yylex): Likewise. + (grub_script_yyerror): Likewise. + + * normal/parser.y (func_mem): Removed variable. + (menu_entry): Likewise. + (err): Likewise. + (%lex-param): New parser option. + (%parse-param): Likewise. + (script): Always return the AST. + (argument): Pass the state around. + (arguments): Likewise. + (grubcmd): Likewise. + (commands): Likewise. + (function): Likewise. + (menuentry): Likewise. + (if_statement): Likewise. + (if): Likewise. + + * normal/script.c (grub_script_memused): Removed variable. + (grub_script_parsed): Likewise. + (grub_script_malloc): Added a state argument. Use that instead of + global variables. + (grub_script_mem_record): Likewise. + (grub_script_mem_record_stop): Likewise. + (grub_script_arg_add): Likewise. + (grub_script_add_arglist): Likewise. + (grub_script_create_cmdline): Likewise. + (grub_script_create_cmdif): Likewise. + (grub_script_create_cmdmenu): Likewise. + (grub_script_add_cmd): Likewise. + (grub_script_parse): Setup the state before calling the parser. + +2006-04-16 Marco Gerards + + * normal/command.c (grub_command_init): Remove the title command. + + * normal/lexer.c (grub_script_yylex): Renamed from this... + (grub_script_yylex2): ... to this. + (grub_script_yylex): New function. Temporary + introduced to filter some tokens. + (grub_script_yyerror): Print a newline. + + * normal/main.c (read_config_file): Output information about the + lines that contain errors. Wait for a key after all lines have + been processed. Don't return an empty menu. + + * normal/parser.y (func_mem): Don't initialize. + (menu_entry): Likewise. + (err): New variable. + (script): Don't return anything when an error was encountered. + (ws, returns): Removed rules. + (argument): Disabled concatenated variable support. + (arguments): Remove explicit separators. + (grubcmd): Likewise. + (function): Likewise. + (menuentry): Likewise. + (if): Likewise. + (commands): Likewise. Add error handling. + + * normal/script.c (grub_script_create_cmdline): If + `grub_script_parsed' is 0, assume the parser encountered an error. + +2006-04-02 Yoshinori K. Okuji + + * configure.ac: Add support for EFI. Fix the typo + BUILD_LDDFLAGS. Restore the LDFLAGS after testing. + +2006-04-01 Vesa Jaaskelainen + + * util/unifont2pff.rb: Removed unnecessary byte ordering. Now + foreign multibyte characters should be shown correctly. + +2006-04-01 Vesa Jaaskelainen + + * normal/main.c (grub_normal_menu_addentry): Fixed menu size + calculation. + (read_config_file): Made it to close file before returning. + +2006-03-31 Vesa Jaaskelainen + + * DISTLIST: Added include/grub/i386/pc/vbeblit.h, + include/grub/i386/pc/vbefill.h, video/i386/pc/vbeblit.c, + video/i386/pc/vbefill.c. + + * conf/i386-pc.rmk (vbe_mod_SOURCES): Added video/i386/pc/vbeblit.c, + video/i386/pc/vbefill.c. + + * include/grub/video.h (grub_video_blit_format): New enum. + (grub_video_mode_info): Added new member blit_format. + (grub_video_get_blit_format): New function prototype. + + * include/grub/i386/pc/vbe.h (grub_video_vbe_get_video_ptr): New + function prototype. + (grub_video_vbe_map_rgb): Likewise. + (grub_video_vbe_unmap_color): Likewise. + + * include/grub/i386/pc/vbeblit.h: New file. + + * include/grub/i386/pc/vbefill.h: New file. + + * video/video.c (grub_video_get_blit_format): New function. + (grub_video_vbe_get_video_ptr): Re-declared as non-static. + (grub_video_vbe_map_rgb): Likewise. + (grub_video_vbe_unmap_color): Likewise. + + * video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Changed to use more + optimized fills. + (grub_video_vbe_blit_render_target): Changed to use more optimized + blits. + (grub_video_vbe_setup): Added detection for optimized settings. + (grub_video_vbe_create_render_target): Likewise. + + * video/i386/pc/vbeblit.c: New file. + + * video/i386/pc/vbefill.c: New file. + +2006-03-30 Vesa Jaaskelainen + + * font/manager.c (grub_font_get_glyph): Removed font fixup from + here... + + * util/unifont2pff.rb: ... and moved it to here. Improved argument + parsing to support both hex and dec ranges. If filename was missing + show usage information. + +2006-03-14 Vesa Jaaskelainen + + * DISTLIST: Added include/grub/video.h, term/gfxterm.c, + video/video.c, commands/videotest.c. Removed term/i386/pc/vesafb.c. + + * conf/i386-pc.rmk (pkgdata_MODULES): Added video.mod, + gfxterm.mod, videotest.mod. Removed vga.mod, vesafb.mod. + (video_mod_SOURCES): Added. + (video_mod_CFLAGS): Likewise. + (video_mod_LDFLAGS): Likewise. + (gfxterm_mod_SOURCES): Likewise. + (gfxterm_mod_CFLAGS): Likewise. + (gfxterm_mod_LDFLAGS): Likewise. + (videotest_mod_SOURCES): Likewise. + (videotest_mod_CFLAGS): Likewise. + (videotest_mod_LDFLAGS): Likewise. + (vesafb_mod_SOURCES): Removed. + (vesafb_mod_CFLAGS): Likewise. + (vesafb_mod_LDFLAGS): Likewise. + (vga_mod_SOURCES): Likewise. + (vga_mod_CFLAGS): Likewise. + (vga_mod_LDFLAGS): Likewise. + + * commands/videotest.c: New file. + + * font/manager.c (fill_with_default_glyph): Modified to use + grub_font_glyph. + (grub_font_get_glyph): Likewise. + (fontmanager): Renamed from this... + (font_manager): ... to this. + + * include/grub/font.h (grub_font_glyph): Added new structure. + (grub_font_get_glyph): Modified to use grub_font_glyph. + + * include/grub/misc.h (grub_abs): Added as inline function. + + * include/grub/video.h: New file. + + * include/grub/i386/pc/vbe.h (GRUB_VBE_STATUS_OK): New macro. + (GRUB_VBE_MEMORY_MODEL_PACKED_PIXEL): Likewise. + (GRUB_VBE_MEMORY_MODEL_DIRECT_COLOR): Likewise. + (grub_vbe_get_controller_info): Renamed from this... + (grub_vbe_bios_get_controller_info): ... to this. + (grub_vbe_get_mode_info): Renamed from this... + (grub_vbe_bios_get_mode_info): ... to this. + (grub_vbe_set_mode): Renamed from this... + (grub_vbe_bios_set_mode): ... to this. + (grub_vbe_get_mode): Renamed from this... + (grub_vbe_bios_get_mode): ... to this. + (grub_vbe_set_memory_window): Renamed from this... + (grub_vbe_bios_set_memory_window): ... to this. + (grub_vbe_get_memory_window): Renamed from this... + (grub_vbe_bios_get_memory_window): ... to this. + (grub_vbe_set_scanline_length): Renamed from this... + (grub_vbe_set_scanline_length): ... to this. + (grub_vbe_get_scanline_length): Renamed from this... + (grub_vbe_bios_get_scanline_length): ... to this. + (grub_vbe_set_display_start): Renamed from this... + (grub_vbe_bios_set_display_start): ... to this. + (grub_vbe_get_display_start): Renamed from this... + (grub_vbe_bios_get_display_start): ... to this. + (grub_vbe_set_palette_data): Renamed from this... + (grub_vbe_bios_set_palette_data): ... to this. + (grub_vbe_set_pixel_rgb): Removed. + (grub_vbe_set_pixel_index): Likewise. + + * kern/i386/pc/startup.S (grub_vbe_get_controller_info): Renamed + from this... + (grub_vbe_bios_get_controller_info): ... to this. + (grub_vbe_get_mode_info): Renamed from this... + (grub_vbe_bios_get_mode_info): ... to this. + (grub_vbe_set_mode): Renamed from this... + (grub_vbe_bios_set_mode): ... to this. + (grub_vbe_get_mode): Renamed from this... + (grub_vbe_bios_get_mode): ... to this. + (grub_vbe_set_memory_window): Renamed from this... + (grub_vbe_bios_set_memory_window): ... to this. + (grub_vbe_get_memory_window): Renamed from this... + (grub_vbe_bios_get_memory_window): ... to this. + (grub_vbe_set_scanline_length): Renamed from this... + (grub_vbe_set_scanline_length): ... to this. + (grub_vbe_get_scanline_length): Renamed from this... + (grub_vbe_bios_get_scanline_length): ... to this. + (grub_vbe_set_display_start): Renamed from this... + (grub_vbe_bios_set_display_start): ... to this. + (grub_vbe_get_display_start): Renamed from this... + (grub_vbe_bios_get_display_start): ... to this. + (grub_vbe_set_palette_data): Renamed from this... + (grub_vbe_bios_set_palette_data): ... to this. + (grub_vbe_bios_get_controller_info): Fixed problem with registers + getting corrupted after calling it. Added more pushes and pops. + (grub_vbe_bios_set_mode): Likewise. + (grub_vbe_bios_get_mode): Likewise. + (grub_vbe_bios_get_memory_window): Likewise. + (grub_vbe_bios_set_scanline_length): Likewise. + (grub_vbe_bios_get_scanline_length): Likewise. + (grub_vbe_bios_get_display_start): Likewise. + (grub_vbe_bios_set_palette_data): Likewise. + + * normal/cmdline.c (cl_set_pos): Refresh the screen. + (cl_insert): Likewise. + (cl_delete): Likewise. + + * term/gfxterm.c: New file. + + * term/i386/pc/vesafb.c: Removed file. + + * video/video.c: New file. + + * video/i386/pc/vbe.c (real2pm): Added new function. + (grub_video_vbe_draw_pixel): Likewise. + (grub_video_vbe_get_video_ptr): Likewise. + (grub_video_vbe_get_pixel): Likewise + (grub_video_vbe_init): Likewise. + (grub_video_vbe_fini): Likewise. + (grub_video_vbe_setup): Likewise. + (grub_video_vbe_get_info): Likewise. + (grub_video_vbe_set_palette): Likewise. + (grub_video_vbe_get_palette): Likewise. + (grub_video_vbe_set_viewport): Likewise. + (grub_video_vbe_get_viewport): Likewise. + (grub_video_vbe_map_color): Likewise. + (grub_video_vbe_map_rgb): Likewise. + (grub_video_vbe_map_rgba): Likewise. + (grub_video_vbe_unmap_color): Likewise. + (grub_video_vbe_fill_rect): Likewise. + (grub_video_vbe_blit_glyph): Likewise. + (grub_video_vbe_blit_bitmap): Likewise. + (grub_video_vbe_blit_render_target): Likewise. + (grub_video_vbe_scroll): Likewise. + (grub_video_vbe_swap_buffers): Likewise. + (grub_video_vbe_create_render_target): Likewise. + (grub_video_vbe_delete_render_target): Likewise. + (grub_video_vbe_set_active_render_target): Likewise. + (grub_vbe_set_pixel_rgb): Remove function. + (grub_vbe_set_pixel_index): Likewise. + (index_color_mode): Remove static variable. + (active_mode): Likewise. + (framebuffer): Likewise. + (bytes_per_scan_line): Likewise. + (grub_video_vbe_adapter): Added new static variable. + (framebuffer): Likewise. + (render_target): Likewise. + (initial_mode): Likewise. + (mode_in_use): Likewise. + (mode_list): Likewise. + +2006-03-10 Marco Gerards + + * configure.ac (AC_INIT): Bumped to 1.93. + + * DISTLIST: Added `include/grub/hfs.h'. + +2006-02-01 Yoshinori K. Okuji + + * boot/i386/pc/boot.S (general_error): Before looping, try INT + 18H, which might help the BIOS falling back to next boot media. + +2006-01-25 Yoshinori K. Okuji + + * util/i386/pc/grub-install.in: Escape a backslash. Reported by + Poe Chen . + +2006-01-17 Marco Gerards + + * include/grub/normal.h: Include . + (grub_command_list): Removed struct. + (grub_command_list_t): Removed type. + (grub_menu_entry): Remove members `num' and `command_list'. Add + members `commands' and `sourcecode'. + * include/grub/script.h: Add inclusion guards. + (grub_script_cmd_menuentry): New struct. + (grub_script_execute_menuentry): New prototype. + (grub_script_lexer_record_start): Likewise. + (grub_script_lexer_record_stop): Likewise. + * normal/execute.c (grub_script_execute_menuentry): New function. + * normal/lexer.c (record, recording, recordpos, recordlen): New + variables. + (grub_script_lexer_record_start): New function. + (grub_script_lexer_record_stop): Likewise. + (recordchar): Likewise. + (nextchar): Likewise. + (grub_script_yylex): Use `nextchar' to fetch new characters. Use + 2048 as the buffer size. Add the tokens `menuentry' and `@'. + * normal/main.c: Include and + (current_menu): New variable. + (free_menu): Mainly rewritten. + (grub_normal_menu_addentry): New function. + (read_config_file): Rewritten. + * normal/menu.c (run_menu_entry): Mainly rewritten. + * normal/menu_entry.c (make_screen): Rewritten the code to insert + the menu entry. + (run): Mainly rewritten. + * normal/parser.y (menu_entry): New variable. + (GRUB_PARSER_TOKEN_MENUENTRY): New token. + (menuentry): New rule. + (command): Add `menuentry'. + (if_statement): Allow additional returns before `fi'. + * normal/script.c (grub_script_create_cmdmenu): New function. + +2006-01-03 Marco Gerards + + * INSTALL: GNU Bison is required. + * configure.ac: Rewritten the test to detect Bison. + * Makefile.in (YACC): New variable. Reported by Xun Sun + . + +2006-01-03 Marco Gerards + + * fs/hfsplus.c (grub_hfsplus_read_block): Convert the offset of + the HFS+ filesystem to filesystem blocks. + (grub_hfsplus_iterate_dir): Cast the `fileinfo' assignment so a + GCC warning is silenced. + +2006-01-03 Marco Gerards + + * partmap/apple.c (apple_partition_map_iterate): Convert the data + read from disk from big endian to host byte order. + +2006-01-03 Hollis Blanchard + + * fs/hfs.c: Include . Added reference to the official + documentation. + (GRUB_HFS_EMBED_HFSPLUS_SIG): New macro. + (grub_hfs_mount): Grammar fix in error. Make sure this is not an + embedded HFS+ filesystem. + (GRUB_HFS_MAGIC, grub_hfs_extent, grub_hfs_datarecord_t) + (grub_hfs_sblock): Move from here... + * include/grub/hfs.h: To here... New file. + * fs/hfsplus.c: Include . Added reference to the official + documentation. + (GRUB_HFSPLUS_MAGIC, GRUB_HFSPLUSX_MAGIC, GRUB_HFSPLUS_SBLOCK): + New macros. + (grub_hfsplus_volheader): Change type of member `magic' to + `grub_uint16_t'. + (grub_hfsplus_data): Add new member `embedded_offset'. + (grub_hfsplus_read_block): Add the HFS+ wrapper offset to the + returned block. + (grub_hfsplus_mount): Read the HFS+ wrapper if it exists. + Calculate the offset. + +2005-12-25 Yoshinori K. Okuji + + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_DRP_ADDR): + Removed. + (GRUB_BOOT_MACHINE_DRP_SIZE): Likewise. + +2005-12-25 Yoshinori K. Okuji + + * kern/env.c (grub_env_set): Check if ENV->VALUE instead of + ENV->NAME is NULL after allocating ENV->VALUE. + +2005-12-25 Marco Gerards + + * kern/env.c (grub_env_set): Rewritten the error handling code. + +2005-12-25 Yoshinori K. Okuji + + * geninit.sh: Made more robust, and more portable. + +2005-12-25 Marco Gerards + + Add support for Apple HFS+ filesystems. + + * fs/hfsplus.c: New file. + + * DISTLIST: Added `fs/hfsplus.c'. + + * conf/common.rmk (pkgdata_MODULES): Add `hfsplus.mod'. + (hfsplus_mod_SOURCES): New variable. + (hfsplus_mod_CFLAGS): Likewise. + (hfsplus_mod_LDFLAGS): Likewise. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/hfsplus.c'. + (grub_setup_SOURCES): Likewise. + (grub_mkdevicemap_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + + * fs/fshelp.c (grub_fshelp_log2blksize): New function. + + * include/grub/fshelp.h (grub_fshelp_log2blksize): new prototype. + +2005-12-25 Yoshinori K. Okuji + + * DISTLIST: Added geninitheader.sh, geninit.sh, commands/test.c, + commands/i386/pc/play.c, conf/common.mk, conf/common.rmk, + include/grub/parser.h, include/grub/script.h, kern/parser.c, + kern/sparc64/cache.S, normal/execute.c, normal/function.c, + normal/lexer.c, normal/parser.y, normal/script.c, and + partmap/gpt.c. + Removed kern/sparc64/cache.c. + + * conf/common.rmk (DISTCLEANFILES): Added grub_script.tab.c, + grub_script.tab.h, grub_modules_init.lst, grub_modules_init.h, + grub_emu_init.c. + + * configure.ac (AC_INIT): Bumped to 1.92. + +2005-12-24 Vesa Jaaskelainen + + * kern/err.c (grub_error_push): Added new function to support error + stacks. + (grub_error_pop): Likewise. + (grub_error_stack_items): New local variable to support error stacks. + (grub_error_stack_pos): Likewise. + (grub_error_stack_assert): Likewise. + (GRUB_ERROR_STACK_SIZE): Added new define to configure maximum error + stack depth. + (grub_print_error): Added support to print errors from error stack. + + * include/grub/err.h (grub_error_push): Added function prototype. + (grub_error_pop): Likewise. + +2005-12-09 Hollis Blanchard + + * configure.ac: Accept `powerpc64' as host_cpu. + (amd64): Rename to `biarch32'. + + * kern/powerpc/cache.S (grub_arch_sync_caches): Handle + non-cacheline-aligned addresses. + + * kern/dl.c (grub_dl_load_core): Add grub_dprintf messages. + (grub_dl_flush_cache): Likewise. Only call `grub_arch_sync_caches' + if `size' is non-zero. + +2005-12-03 Marco Gerards + + * conf/common.rmk (grub_modules_init.lst): Use `-printf "%P\n"' + and `cd' to make sure the filename is not prefixed with a + directory name. + (pkgdata_MODULES): Add `gpt.mod'. + (gpt_mod_SOURCES): New variable. + (gpt_mod_CFLAGS): Likewise. + (gpt_mod_LDFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `partmap/gpt.c'. + + * include/grub/pc_partition.h (GRUB_PC_PARTITION_TYPE_GPT_DISK): + New macro. + + * partmap/gpt.c: New file. + + * partmap/pc.c (pc_partition_map_iterate): Don't continue when a + GPT partition map is detected. + +2005-12-03 Vincent Pelletier + + * commands/i386/pc/play.c: New file. + * conf/i386-pc.rmk (pkgdata_MODULES): Added play.mod. + (play_mod_SOURCES, play_mod_CFLAGS, play_mod_LDFLAGS): New + macros. + +2005-11-27 Marco Gerards + + * include/grub/dl.h (GRUB_MOD_INIT): Use `__attribute__ + ((unused))' to silence gcc warning. + +2005-11-26 Hollis Blanchard + + * configure.ac: Correct `AC_PROG_YACC' test. + +2005-11-22 Hollis Blanchard + + * util/powerpc/ieee1275/grub-install.in: Run the mount point + check before installing files. + +2005-11-22 Mike Small + + * util/powerpc/ieee1275/grub-install.in (grubdir): Fixed partition + number regex so multidigit numbers are recognized correctly. + +2005-11-22 Mike Small + + * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Add a + debugging message before attempting to claim memory. + (grub_rescue_cmd_initrd): Add a claim debugging message and try + multiple addresses in case of failure. + +2005-11-22 Hollis Blanchard + + * term/tparm.c (get_space): Remove empty `if' statement. + + * fs/ufs.c (grub_ufs_find_file): Remove `grub_le_to_cpu32'. + + * kern/parser.c (check_varstate): Rename `state' to 's'. + +2005-11-22 Hollis Blanchard + + * partmap/acorn.c: Change `unsigned' to `unsigned int'. Move all + variable definitions to the beginning of each function. Sort stack + variables by size. + (find): Rename to `acorn_partition_map_find'. Cast `grub_disk_read' + `buf' argument to `char *'. + +2005-11-22 Hollis Blanchard + + * conf/powerpc-ieee1275.rmk: Include conf/common.mk. + (pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod, + minix.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod, + hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod, + help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod, + sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod, + configfile.mod, search.mod, gzio.mod and test.mod. + (symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst) + (grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c) + (fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS) + (fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS) + (ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS) + (ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS) + (minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS) + (hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES) + (jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES) + (iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES) + (xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES) + (affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES) + (sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES) + (hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES) + (boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES) + (terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES) + (ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS) + (cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS) + (help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS) + (font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS) + (terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS) + (amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS) + (apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Removed. + + * conf/common.mk (grub_modules_init.lst): Use `find' instead of + `grep --include'. + (pkgdata_MODULES): Add test.mod. + +2005-11-18 Timothy Baldwin + + * genmk.rb: Fixed list rules moved to Makefile.in. Recognise + appending to variables with "+=". + (PModule): Use full pathname to generate *.lst filenames. + + * Makefile.in: Fixed list rules moved from genmk.rb. + (.DELETE_ON_ERROR): New special target. + (RMKFILES): Add common.rmk and sparc64-ieee1275.rmk. + + * conf/i386-pc.rmk: Include conf/common.mk. + (pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod, + minix.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod, + hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod, + help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod, + sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod, + configfile.mod, search.mod, gzio.mod and test.mod. + (symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst) + (grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c) + (fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS) + (fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS) + (ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS) + (ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS) + (minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS) + (hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES) + (jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES) + (iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES) + (xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES) + (affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES) + (sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES) + (hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES) + (boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES) + (terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES) + (ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS) + (cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS) + (help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS) + (font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS) + (terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS) + (amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS) + (apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Move from + here... + * conf/common.rmk: ... to here. New file. + + * conf/common.mk: New file. + +2005-11-18 Yoshinori K. Okuji + + * conf/powerpc-ieee1275.rmk (grub_script.tab.h): Unified to ... + (grub_script.tab.c): ... here. + + * conf/sparc64-ieee1275.rmk (grub_script.tab.h): Unified to ... + (grub_script.tab.c): ... here. + + * conf/i386-pc.rmk (grub_script.tab.h): Unified to ... + (grub_script.tab.c): ... here. + + * normal/command.c (grub_command_find): Fixed a memory leak of + MODULE_NAME. Reported by Mike Small . + +2005-11-13 Timothy Baldwin + + * include/grub/symbol.h: (FUNCTION): Use double quotes instead of + "@" which marks the start of a comment on ARM. + (VARIABLE): Likewise. + +2005-11-13 Timothy Baldwin + + Add support for Linux/ADFS partition tables. + + * partmap/acorn.c: New file. + + * include/grub/acorn_filecore.h: Likewise. + + * DISTLIST: Added `partmap/acorn.c' and + `include/grub/acorn_filecore.h'. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add + `partmap/acorn.c'. + (pkgdata_MODULES): Add `acorn.mod'. + (acorn_mod_SOURCES): New variable. + (acorn_mod_CFLAGS): Likewise. + + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add + `partmap/acorn.c'. + (pkgdata_MODULES): Add `acorn.mod'. + (acorn_mod_SOURCES): New variable. + (acorn_mod_CFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `partmap/acorn.c'. + (pkgdata_MODULES): Add `acorn.mod'. + (acorn_mod_SOURCES): New variable. + (acorn_mod_CFLAGS): Likewise. + (acorn_mod_LDFLAGS): Likewise. + + * include/types.h (grub_disk_addr_t): New typedef. + +2005-11-13 Marco Gerards + + * geninit.sh: New file. + + * geninitheader.sh: Likewise. + + * commands/boot.c (grub_boot_init, grub_boot_fini): Removed. + * commands/cat.c (grub_cat_init, grub_cat_fini): Likewise. + * commands/cmp.c (grub_cmp_init, grub_cmp_fini): Likewise. + * commands/configfile.c (grub_configfile_init) + (grub_configfile_fini): Likewise. + * commands/default.c (grub_default_init, grub_default_fini): + Likewise. + * commands/help.c (grub_help_init, grub_help_fini): Likewise. + * commands/ls.c (grub_ls_init, grub_ls_fini): Likewise. + * commands/search.c (grub_search_init, grub_search_fini): Likewise. + * commands/terminal.c (grub_terminal_init, grub_terminal_fini): + Likewise. + * commands/test.c (grub_test_init, grub_test_fini): Likewise. + * commands/timeout.c (grub_timeout_init, grub_timeout_fini): + Likewise. + * commands/i386/pc/halt.c (grub_halt_init, grub_halt_fini): Likewise. + * commands/ieee1275/halt.c (grub_halt_init, grub_halt_fini): + Likewise. + * commands/i386/pc/reboot.c (grub_reboot_init, grub_reboot_fini): + Likewise. + * commands/ieee1275/reboot.c (grub_reboot_init, grub_reboot_fini): + Likewise. + * disk/loopback.c (grub_loop_init, grub_loop_fini): Likewise. + * fs/affs.c (grub_affs_init, grub_affs_fini): Likewise. + * fs/ext2.c (grub_ext2_init, grub_ext2_fini): Likewise. + * fs/fat.c (grub_fat_init, grub_fat_fini): Likewise. + * fs/hfs.c (grub_hfs_init, grub_hfs_fini): Likewise. + * fs/iso9660.c (grub_iso9660_init, grub_iso9660_fini): Likewise. + * fs/jfs.c (grub_jfs_init, grub_jfs_fini): Likewise. + * fs/minix.c (grub_minix_init, grub_minix_fini): Likewise. + * fs/sfs.c (grub_sfs_init, grub_sfs_fini): Likewise. + * fs/ufs.c (grub_ufs_init, grub_ufs_fini): Likewise. + * fs/xfs.c (grub_xfs_init, grub_xfs_fini): Likewise. + * normal/main.c (grub_normal_init, grub_normal_fini): Likewise. + * partmap/amiga.c (grub_amiga_partition_map_init) + (grub_amiga_partition_map_fini): Likewise. + * partmap/apple.c (grub_apple_partition_map_init) + (grub_apple_partition_map_fini): Likewise. + * partmap/pc.c (grub_pc_partition_map_init) + (grub_pc_partition_map_fini): Likewise. + * partmap/sun.c (grub_sun_partition_map_init, + grub_sun_partition_map_fini): Likewise. + * term/terminfo.c (grub_terminal_init, grub_terminal_fini): + Likewise. + + * util/grub-emu.c: Include . + (main): Don't initialize and de-initialize any modules directly, + use `grub_init_all' and `grub_fini_all' instead. + + * term/i386/pc/vesafb.c (grub_vesafb_init): Renamed to + `grub_vesafb_mod_init'. + (grub_vesafb_fini): Renamed to `grub_vesafb_mod_fini'. Updated + all users. + * term/i386/pc/vga.c (grub_vga_init): Renamed to + `grub_vga_mod_init'. Updated all users. + (grub_vga_fini): Renamed to `grub_vga_mod_fini'. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `grub_emu_init.c'. + (grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c): New + rules. + + * include/grub/dl.h (GRUB_MOD_INIT): Add argument `name'. + Generate a function to initialize the module in utilities. + Updated all callers. + (GRUB_MOD_FINI): Add argument `name'. Generate a function to + initialize the module in utilities. Updated all callers. + +2005-11-09 Hollis Blanchard + + * term/ieee1275/ofconsole.c (grub_ofconsole_cls): Use both the ANSI + escape sequence and a literal ^L to clear the screen. + + * commands/ieee1275/suspend.c (grub_cmd_suspend): Clear the screen + when returning from Open Firmware. + +2005-11-09 Hollis Blanchard + + * term/ieee1275/ofconsole.c (grub_ofconsole_width): New variable. + (grub_ofconsole_height): Likewise. + (grub_ofconsole_putchar): If `grub_curr_x' exceeds console width, + manually insert a '\n'. + (grub_ofconsole_getwh): Set and return `grub_ofconsole_width' and + `grub_ofconsole_height'. Return early if these are already set. + +2005-11-07 Vincent Pelletier + + * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add + `commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c', + `normal/execute.c', `normal/lexer.c', `io/gzio.c', + `kern/parser.c', `grub_script.tab.c', `normal/function.c' + and `normal/script.c'. + (normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c', + `grub_script.tab.c', `normal/function.c' and `normal/script.c'. + (test_mod_SOURCES): New variable. + (test_mod_CFLAGS): Likewise. + (test_mod_LDFLAGS): Likewise. + (pkgdata_MODULES): Add `test.mod'. + (grub_script.tab.c): New rule. + (grub_script.tab.h): Likewise. + +2005-11-07 Marco Gerards + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add + `commands/test.c', `normal/execute.c', `normal/lexer.c', + `grub_script.tab.c', `normal/function.c' and `normal/script.c'. + (normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c', + `grub_script.tab.c', `normal/function.c' and `normal/script.c'. + (test_mod_SOURCES): New variable. + (test_mod_CFLAGS): Likewise. + (pkgdata_MODULES): Add `test.mod'. + (grub_script.tab.c): New rule. + (grub_script.tab.h): Likewise. + +2005-11-06 Marco Gerards + + Add initial scripting support. + + * commands/test.c: New file. + * include/grub/script.h: Likewise. + * normal/execute.c: Likewise. + * normal/function.c: Likewise. + * normal/lexer.c: Likewise. + * normal/parser.y: Likewise. + * normal/script.c: Likewise. + + * configure.ac: Add `AC_PROG_YACC' test. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/test.c', + `normal/execute.c', `normal/lexer.c', `grub_script.tab.c', + `normal/function.c' and `normal/script.c'. + (normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c', + `grub_script.tab.c', `normal/function.c' and `normal/script.c'. + (test_mod_SOURCES, test_mod_CFLAGS, test_mod_LDFLAGS): New + variables. + (pkgdata_MODULES): Add `test.mod'. + (grub_script.tab.c): New rule. + (grub_script.tab.h): Likewise. + + * include/grub/err.h (grub_err_t): Add `GRUB_ERR_TEST_FAILURE'. + + * include/grub/normal.h (grub_test_init): New prototype. + (grub_test_fini): Likewise. + + * normal/command.c: Include . + (grub_command_execute): Rewritten. + + * util/grub-emu.c (main): Call `grub_test_init' and + `grub_test_fini'. + +2005-11-03 Hollis Blanchard + + * kern/powerpc/ieee1275/init.c (grub_get_rtc): Initialize `msecs' + to 0. + * term/ieee1275/ofconsole.c (grub_ofconsole_checkkey): Return -1 if + there are no pending characters. + +2005-11-03 Hollis Blanchard + + * kern/powerpc/ieee1275/openfw.c (grub_ieee1275_get_devname): Use + `grub_strndup' to drop device arguments. Replace unnecessary + `grub_strndup' with `grub_strdup'. + +2005-11-03 Hollis Blanchard + + * kern/term.c (grub_cls): Do not call grub_cur_term->cls() if the + `debug' environment variable has been set. + +2005-11-02 Hollis Blanchard + + * Makefile.in (install-local): Use $(DATA). + (uninstall): Likewise. + * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Move grub-mkimage... + (sbin_UTILITIES): ... to here. + (sbin_SCRIPTS): New variable. + (grub_install_SOURCES): New variable. + * util/powerpc/ieee1275/grub-install.in: New file. + * util/powerpc/ieee1275/grub-mkimage.c (kernel_path): Remove + variable. + (add_segments): Call `grub_util_get_path'. + +2005-10-28 Yoshinori K. Okuji + + From Timothy Baldwin: + * commands/ls.c (grub_ls_list_files): Close FILE with + grub_file_close. + * kern/misc.c (grub_vsprintf): Terminate the string S with NUL. + +2005-10-24 Marco Gerards + + * include/grub/parser.h: New file. + + * kern/parser.c: Likewise. + + * conf/i386-pc.rmk (kernel_img_SOURCES): Add `kern/parser.c'. + (grub_setup_SOURCES): Likewise. + (grub_probefs_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + (kernel_img_HEADERS): Add `parser.h'. + + * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Add `parser.h'. + (grub_emu_SOURCES): Add `kern/parser.c'. + (grubof_SOURCES): Likewise. + + * conf/sparc64-ieee1275.rmk (grubof_HEADERS): Add `parser.h'. + (grubof_SOURCES): Add `kern/parser.c'. + + * include/grub/misc.h (grub_split_cmdline): Removed prototype. + + * kern/misc.c (grub_split_cmdline): Removed function. + + * kern/rescue.c: Include . + (grub_enter_rescue_mode): Use `grub_parser_split_cmdline' instead + of `grub_split_cmdline'. + + * normal/command.c: Include . + (grub_command_execute): Use `grub_parser_split_cmdline' instead + of `grub_split_cmdline'. + + * normal/completion.c: Include . + (cmdline_state): New variable. + (iterate_dir): End the filename with a quote depending on the + command line state. + (get_state): new function. + (grub_normal_do_completion): Use `grub_parser_split_cmdline' to + split the arguments and determine the current argument. When the + argument string is not quoted, escape all spaces. + +2005-10-23 Vincent Pelletier + + * normal/sparc64/setjmp.S: New file. + +2005-10-23 Vincent Pelletier + + * include/grub/sparc64/libgcc.h: New file. + * conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Remove -Av9. + (normal_mod_SOURCES): Use normal/sparc64/setjmp.S instead of + normal/sparc64/setjmp.c. + +2005-10-23 Vincent Pelletier + + * kern/sparc64/dl.c: Rewritten for SPARCV9 ELF. + * kern/sparc64/cache.S: New file. + * kern/sparc64/cache.c: Removed. + * conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9. + (COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and + -mtune=ultrasparc. + (COMMON_LDFLAGS): Add -melf64_sparc. + (grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h. + (grubof_SOURCES): Use cache.S instead of cache.c. + (grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker + --oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc". + (pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod + commented though. + (normal_mod_SOURCES): Add normal/completion.c and normal/misc.c. + (_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES) + (linux_mod_CFLAGS): Commented out. + (_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented + out because module isn't built. + (fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS) + (ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS) + (jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS) + (hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS) + (ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS) + (font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS) + (pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS) + (suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS) + (help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS) + (configfile_mod_LDFLAGS, search_mod_LDFLAGS, xfs_mod_SOURCES) + (xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES) + (affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES) + (sfs_mod_CFLAGS, sfs_mod_LDFLAGS, gzio_mod_SOURCES) + (gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro. + +2005-10-20 Yoshinori K. Okuji + + * util/i386/pc/grub-probefs.c (main): Call grub_xfs_init and + grub_xfs_fini. Do not call grub_hfs_init or grub_hfs_fini any + longer, because HFS should not be used on PC. + +2005-10-20 Timothy Baldwin + + * io/gzio.c (grub_gzio_read): Use OFFSET instead of FILE->OFFSET + consistently within the loop. + +2005-10-15 Marco Gerards + + * fs/xfs.c (grub_xfs_iterate_dir): Detect an error if part of a + directory can not be read. + +2005-10-15 Yoshinori K. Okuji + + * configure.ac (AC_INIT): Increase the version number to 1.91. + + * DISTLIST: Added include/grub/terminfo.h, include/grub/tparm.h, + include/grub/i386/pc/serial.h, term/terminfo.c, term/tparm.c and + term/i386/pc/serial.c. + +2005-10-15 Yoshinori K. Okuji + + * kern/file.c (grub_file_seek): Seeking to an offset equal to a + file size must be permitted. + + * kern/i386/pc/startup.S (multiboot_trampoline): Fix a mistake + between %ah and %al. + +2005-10-15 Yoshinori K. Okuji + + * fs/xfs.c (grub_xfs_iterate_dir): Change the type of BLK to + grub_uint64_t. + Call the hook with a NUL-terminated filename. + (grub_xfs_mount): Use grub_be_to_cpu32 instead of + grub_cpu_to_be32. + + * kern/term.c (cursor_state): New variable. + (grub_term_set_current): Reset the cursor state on a new + terminal. + (grub_setcursor): Rewritten to use CURSOR_STATE. + (grub_getcursor): New function. + + * include/grub/term.h (grub_getcursor): New prototype. + + * io/gzio.c (test_header): Align BUF for accessing it as 32-bit + integers on ARM. Reported by Timothy Baldwin + . + +2005-10-11 Marco Gerards + + * fs/sfs.c (grub_sfs_open): Don't free `data->label' if it is not + allocated. + (grub_sfs_dir): Likewise. + +2005-10-09 Marco Gerards + + Add support for the SFS filesystem. + + * fs/sfs.c: New file. + + * DISTLIST: Added `fs/sfs.c'. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/sfs.c'. + (grub_probefs_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add `sfs.mod'. + (sfs_mod_SOURCES): New variable. + (sfs_mod_CFLAGS): Likewise. + (sfs_mod_LDFLAGS): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/sfs.c'. + (pkgdata_MODULES): Add `sfs.mod'. + (sfs_mod_SOURCES): New variable. + (sfs_mod_CFLAGS): Likewise. + + * util/grub-emu.c (main): Call `grub_sfs_init' and + `grub_sfs_fini'. + + * include/grub/fs.h (grub_sfs_init): New prototype. + (grub_sfs_fini): Likewise. + +2005-10-07 Marco Gerards + + Add support for the AFFS filesystem. + + * fs/affs.c: New file. + + * DISTLIST: Added `fs/affs.c'. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/affs.c'. + (grub_probefs_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add `affs.mod'. + (affs_mod_SOURCES): New variable. + (affs_mod_CFLAGS): Likewise. + (affs_mod_LDFLAGS): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/affs.c'. + (pkgdata_MODULES): Add `affs.mod'. + (affs_mod_SOURCES): New variable. + (affs_mod_CFLAGS): Likewise. + + * util/grub-emu.c (main): Call `grub_affs_init' and + `grub_affs_fini'. + + * include/grub/fs.h (grub_affs_init): New prototype. + (grub_affs_fini): Likewise. + +2005-10-01 Marco Gerards + + * fs/xfs.c (grub_xfs_iterate_dir): Add parentheses. + +2005-10-01 Marco Gerards + + * configure.ac: Accept `x86_64' as host_cpu. In that case add + `-m32' to CFLAGS. + + * genmk.rb (class PModule): Always use `$(#{prefix}_LDFLAGS)' when + linking. + + * conf/i386-pc.rmk (COMMON_CFLAGS): Add `-m32'. + (COMMON_LDFLAGS): New variable. + (kernel_img_LDFLAGS): Include `COMMON_FLAGS'. + (_chain_mod_LDFLAGS, fshelp_mod_LDFLAGS, fat_mod_LDFLAGS) + (ext2_mod_LDFLAGS, ufs_mod_LDFLAGS, minix_mod_LDFLAGS) + (hfs_mod_LDFLAGS, jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS) + (xfs_mod_LDFLAGS, _linux_mod_LDFLAGS, linux_mod_LDFLAGS) + (normal_mod_LDFLAGS, hello_mod_LDFLAGS, boot_mod_LDFLAGS) + (terminal_mod_LDFLAGS, ls_mod_LDFLAGS, cmp_mod_LDFLAGS) + (cat_mod_LDFLAGS, help_mod_LDFLAGS, reboot_mod_LDFLAGS) + (halt_mod_LDFLAGS, vga_mod_LDFLAGS, font_mod_LDFLAGS) + (terminfo_mod_LDFLAGS, serial_mod_LDFLAGS, _multiboot_mod_LDFLAGS) + (multiboot_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS) + (pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS) + (default_mod_LDFLAGS, timeout_mod_LDFLAGS, configfile_mod_LDFLAGS) + (vbe_mod_LDFLAGS, vesafb_mod_LDFLAGS, vbeinfo_mod_LDFLAGS) + (vbetest_mod_LDFLAGS, search_mod_LDFLAGS, gzio_mod_LDFLAGS): New + variables. + (normal_mod_ASFLAGS): Add `-m32'. + + * include/grub/types.h (grub_host_addr_t, grub_host_off_t) + (grub_host_size_t, grub_host_ssize_t): New types. + (grub_addr_t, grub_off_t, grub_size_t, grub_ssize_t): Make type + dependent of `GRUB_CPU_SIZEOF_VOID_P' instead on + `GRUB_HOST_SIZEOF_VOID_P'. + + * include/grub/kernel.h (struct grub_module_header): Type of + member offset changed to `grub_host_off_t'. Type of member size + changed to `grub_host_size_t'. + (struct grub_module_info): Type of member offset changed to + `grub_host_off_t'. Type of member size changed to + `grub_host_size_t'. + +2005-09-29 Yoshinori K. Okuji + + Make GRUB's kernel compliant to Multiboot Specification. + + * kern/i386/pc/startup.S (multiboot_header): New label. + (multiboot_entry): Likewise. + (multiboot_trampoline): Likewise. + + * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): + Increased to 0x4A0. + + * fs/xfs.c (grub_xfs_iterate_dir): Fix a syntax error. You may not + put parentheses after a question mark. + [!GRUB_UTIL] (my_mod): New variable. + + * util/grub-emu.c (main): Call grub_xfs_init and grub_xfs_fini. + +2005-09-28 Marco Gerards + + Adds support for the XFS filesystem. Btrees are not supported + yet. + + * fs/xfs.c: New file. + + * DISTLIST: Added `fs/xfs.c'. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/xfs.c'. + (grub_probefs_SOURCES): Likewise. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add `xfs.mod'. + (xfs_mod_SOURCES): New variable. + (xfs_mod_CFLAGS): Likewise. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/xfs.c'. + (pkgdata_MODULES): Add `xfs.mod'. + (xfs_mod_SOURCES): New variable. + (xfs_mod_CFLAGS): Likewise. + + * util/grub-emu.c (main): Call `grub_xfs_init' and + `grub_xfs_fini'. + + * include/grub/fs.h (grub_xfs_init): New prototype. + (grub_xfs_fini): Likewise. + + +2005-09-18 Vesa Jaaskelainen + + * video/i386/pc/vbe.c (grub_vbe_set_video_mode): In indexed + color modes, allow greater than 16 colors to be configured as + a default palette. + +2005-09-03 Yoshinori K. Okuji + + * normal/completion.c (complete_arguments): Add the qualifier + const into OPTIONS. + + From Omniflux : + * include/grub/terminfo.h: New file. + * include/grub/tparm.h: Likewise. + * include/grub/i386/pc/serial.h: Likewise. + * term/terminfo.c: Likewise. + * term/tparm.c: Likewise. + * term/i386/pc/serial.c: Likewise. + * conf/i386-pc.rmk (pkgdata_MODULES): Added terminfo.mod and + serial.mod. + (terminfo_mod_SOURCES): New variable. + (terminfo_mod_CFLAGS): Likewise. + (serial_mod_SOURCES): Likewise. + (serial_mod_CFLAGS): Likewise. + +2005-08-31 Yoshinori K. Okuji + + * DISTLIST: Replaced boot/powerpc/ieee1275/crt0.S and + boot/powerpc/ieee1275/cmain.c with kern/powerpc/ieee1275/crt0.S + and kern/powerpc/ieee1275/cmain.c, respectively. + + * boot/powerpc/ieee1275/crt0.S: Moved to ... + * kern/powerpc/ieee1275/crt0.S: ... here. + + * boot/powerpc/ieee1275/cmain.c: Moved to ... + * kern/powerpc/ieee1275/cmain.c: ... here. + + * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Use + kern/powerpc/ieee1275/crt0.S and kern/powerpc/ieee1275/cmain.c + instead of boot/powerpc/ieee1275/crt0.S and + boot/powerpc/ieee1275/cmain.c, respectively. + + * boot/i386/pc/boot.S (lba_mode): Do not store the total number of + sectors. It was not used anyway. + +2005-08-30 Hollis Blanchard + + * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): Fix + `unused parameter' warning. + +2005-08-30 Hollis Blanchard + + * term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): New + function. + (grub_ofconsole_term): Specify grub_ofconsole_getcharwidth as + getcharwidth. + +2005-08-28 Marco Gerards + + * include/grub/normal.h (enum grub_completion_type): Added + `GRUB_COMPLETION_TYPE_ARGUMENT'. + + * normal/cmdline.c (print_completion): Handle + the `GRUB_COMPLETION_TYPE_ARGUMENT' type. + * normal/menu_entry.c (store_completion): Likewise. + + * normal/completion.c (complete_arguments): New function. + (grub_normal_do_completion): Call `complete_arguments' when the + current words start with a dash. + +2005-08-27 Marco Gerards + + * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Fix typo (use + `gzio.mod' instead of `io.mod'). + +2005-08-22 Yoshinori K. Okuji + + * gendistlist.sh (EXTRA_DISTFILES): Added genfslist.sh. + (DISTDIRS): Added io and video. + Rewrite the search routine to make an output consistently. + + * DISTLIST: Added conf/sparc64-ieee1275.mk, + conf/sparc64-ieee1275.rmk, include/grub/gzio.h, + include/grub/ieee1275/ieee1275.h, include/grub/ieee1275/ofdisk.h, + io/gzio.c, kern/sparc64/cache.c, kern/sparc64/dl.c, + kern/sparc64/ieee1275/init.c, kern/sparc64/ieee1275/openfw.c and + util/powerpc/ieee1275/misc.c. + + * include/grub/gzio.h: New file. + * io/gzio.c: Likewise. + + * kern/file.c (grub_file_close): Call grub_device_close only if + FILE->DEVICE is not NULL. + + * include/grub/mm.h [!NULL] (NULL): New macro. + + * include/grub/err.h (GRUB_ERR_BAD_GZIP_DATA): New constant. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added io/gzip.c. + (pkgdata_MODULES): Added gzio.mod. + (gzio_mod_SOURCES): New variable. + (gzio_mod_CFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added io/gzip.c. + (pkgdata_MODULES): Added gzio.mod. + (gzio_mod_SOURCES): New variable. + (gzio_mod_CFLAGS): Likewise. + + * commands/cat.c: Include grub/gzio.h. + (grub_cmd_cat): Use grub_gzfile_open instead of + grub_file_open. + + * commands/cmp.c: Include grub/gzio.h. + (grub_cmd_cmp): Use grub_gzfile_open instead of + grub_file_open. + + * loader/i386/pc/multiboot.c: Include grub/gzio.h. + (grub_rescue_cmd_multiboot): Use grub_gzfile_open instead of + grub_file_open. + (grub_rescue_cmd_module): Likewise. + +2005-08-21 Vincent Pelletier + + * conf/sparc64-ieee1275.rmk (grubof_SOURCES): The first file must be + kern/sparc64/ieee1275/init.c because it contains _start. + * conf/sparc64-ieee1275.mk: Generated from conf/sparc64-ieee1275.rmk. + +2005-08-21 Vincent Pelletier + + * configure.ac: Add support for sparc64 host with ieee1275 + firmware. + * configure: Generated from configure.ac. + * disk/ieee1275/ofdisk.c (grub_ofdisk_open): Use grub_ssize_t + instead of int. + (grub_ofdisk_read): Likewise. + (grub_ofdisk_open): Use %p to print pointer values, and cast the + pointers as (void *) to remove a warning. + (grub_ofdisk_close): Likewise. + (grub_ofdisk_read): Likewise. + * kern/ieee1275/ieee1275.c (grub_ieee1275_exit): This never + returns, so make it return void to remove a warning. + * include/grub/ieee1275/ieee1275.h (grub_ieee1275_exit): + Corresponding prototype change. + * kern/mm.c (grub_mm_init_region): Use %p to print pointer + values, and cast the pointers as (void *) to remove a warning. + (grub_mm_dump): Likewise. + * conf/sparc64-ieee1275.mk: New file. + * conf/sparc64-ieee1275.rmk: Likewise. + * include/grub/sparc64/setjmp.h: Likewise. + * include/grub/sparc64/types.h: Likewise. + * include/grub/sparc64/ieee1275/console.h: Likewise. + * include/grub/sparc64/ieee1275/ieee1275.h: Likewise. + * include/grub/sparc64/ieee1275/kernel.h: Likewise. + * include/grub/sparc64/ieee1275/time.h: Likewise. + * kern/sparc64/cache.c: Likewise. + * kern/sparc64/dl.c: Likewise. + * kern/sparc64/ieee1275/init.c: Likewise. + * kern/sparc64/ieee1275/openfw.c: Likewise. + +2005-08-21 Yoshinori K. Okuji + + * util/console.c (grub_ncurses_putchar): If C is greater than + 0x7f, set C to a question mark. + (grub_ncurses_getcharwidth): New function. + (grub_ncurses_term): Specify grub_ncurses_getcharwidth as + getcharwidth. + + * normal/menu.c (print_entry): Made aware of Unicode. First, + convert TITLE to UCS-4, and predict the cursor position by + grub_getcharwidth. + + * include/grub/misc.h (grub_utf8_to_ucs4): Specify the qualifier + const to SRC. + * kern/misc.c (grub_utf16_to_utf8): Likewise. + +2005-08-20 Yoshinori K. Okuji + + * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Specify + the boot file by the option BOOT_IMAGE. Use grub_stpcpy instead of + grub_strcat. + + * loader/i386/pc/linux.c (grub_rescue_cmd_linux): Specify the boot + file by the option BOOT_IMAGE. Use grub_stpcpy instead of + grub_strcpy and grub_strlen. Take it into account that a space + character is inserted as a delimiter. + +2005-08-20 Yoshinori K. Okuji + + * partmap/pc.c (pc_partition_map_iterate): Include the value of an + invalid magic in the error. + + * commands/search.c: New file. + + * util/grub-emu.c (main): Call grub_search_init and + grub_search_fini. + + * kern/rescue.c (grub_rescue_print_disks): Removed. + (grub_rescue_print_devices): New function. + (grub_rescue_cmd_ls): Use grub_device_iterate with + grub_rescue_print_devices instead of grub_disk_dev_iterate with + grub_rescue_print_disks. + + * kern/partition.c (grub_partition_iterate): Return the result of + PARTMAP->ITERATE instead of GRUB_ERRNO. + + * kern/device.c: Include grub/partition.h. + (grub_device_iterate): New function. + + * include/grub/partition.h (grub_partition_iterate): Return int + instead of grub_err_t. + + * include/grub/normal.h [GRUB_UTIL] (grub_search_init): New + prototype. + [GRUB_UTIL] (grub_search_fini): Likewise. + + * include/grub/device.h (grub_device_iterate): New prototype. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added + commands/search.c. + (pkgdata_MODULES): Added search.mod. + (search_mod_SOURCES): New variable. + (search_mod_CFLAGS): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added commands/search.c. + (pkgdata_MODULES): Added search.mod. + (search_mod_SOURCES): New variable. + (search_mod_CFLAGS): Likewise. + + * commands/ls.c (grub_ls_list_disks): Renamed to ... + (grub_ls_list_devices): ... this, and use grub_device_iterate. + All callers changed. + + * DISTLIST: Added commands/search.c. + +2005-08-20 Yoshinori K. Okuji + + * kern/term.c (grub_putchar): Use grub_utf8_to_ucs4 for the + conversion. + (grub_getcharwidth): New function. + + * kern/misc.c (grub_utf8_to_ucs4): New function. + + * include/grub/term.h (struct grub_term): Added a new member + "getcharwidth". + (grub_getcharwidth): New prototype. + + * include/grub/misc.h (grub_utf8_to_ucs4): New prototype. + + * term/i386/pc/console.c (map_char): New function. Segregated from + grub_console_putchar. + (grub_console_putchar): Use map_char. + (grub_console_getcharwidth): New function. + (grub_console_term): Specified grub_console_getcharwidth as + getcharwidth. + + * term/i386/pc/vga.c (grub_vga_getcharwidth): New function. + (grub_vga_term): Specified grub_vga_getcharwidth as getcharwidth. + + * term/i386/pc/vesafb.c (grub_virtual_screen_setup): Return + GRUB_ERRNO. + (grub_vesafb_init): Do not use RC. Instead, use GRUB_ERRNO. Rely + on grub_strtoul completely. + (write_char): Declare local variables in the beginning of the + function. + (grub_vesafb_getcharwidth): New function. + (grub_vesafb_term): Specified grub_vesafb_getcharwidth as + getcharwidth. + +2005-08-19 Yoshinori K. Okuji + + * DISTLIST: Replace commands/i386/pc/vbe_list_modes.c and + commands/i386/pc/vbe_test.c with commands/i386/pc/vbeinfo.c and + commands/i386/pc/vbetest.c. + + * video/i386/pc/vbe.c (grub_vbe_probe): If INFOBLOCK is not NULL, + call grub_vbe_get_controller_info again, because the returned + information is volatile. + (grub_vbe_set_video_mode): Mostly rewritten. + (grub_vbe_get_video_mode): Use grub_vbe_probe and use + grub_vbe_status_t correctly. + (grub_vbe_get_video_mode_info): Likewise. + (grub_vbe_set_pixel_rgb): Use a switch statement rather than + several if statements. + + * commands/i386/pc/vbe_list_modes.c: Renamed to ... + * commands/i386/pc/vbeinfo.c: ... this. + + * commands/i386/pc/vbe_test.c: Renamed to ... + * commands/i386/pc/vbetest.c: ... this. + + * commands/i386/pc/vbeinfo.c (grub_cmd_vbe_list_modes): Renamed to + ... + (grub_cmd_vbeinfo): ... this. Save video modes before + iterating. Skip a video mode, if it is not available, not enough + information is given or it is monochrome. Show the memory + model. Leave the interpretation of MODEVAR to grub_strtoul + completely. + (GRUB_MOD_INIT): Rename vbe_list_modes to vbeinfo. + (GRUB_MOD_FINI): Likewise. + + * commands/i386/pc/vbetest.c (grub_cmd_vbe_test): Renamed to ... + (grub_cmd_vbetest): ... this. Don't print unnecessarily. Use + grub_err_t instead of grub_uint32_t. Don't use SPTR. Remove a + duplicated grub_env_get. Leave the interpretation of MODEVAR to + grub_strtoul completely. + (real2pm): Removed. + (GRUB_MOD_INIT): Rename vbe_test to vbetest. + (GRUB_MOD_FINI): Likewise. + + * normal/misc.c: Include grub/mm.h. + + * conf/i386-pc.rmk (pkgdata_MODULES): Replaced vbe_test.mod and + vbe_list_modes with vbetest.mod and vbeinfo.mod. + (vbe_list_modes_mod_SOURCES): Removed. + (vbe_list_modes_mod_CFLAGS): Likewise. + (vbe_test_mod_SOURCES): Likewise. + (vbe_test_mod_CFLAGS): Likewise. + (vbeinfo_mod_SOURCES): New variable. + (vbeinfo_mod_CFLAGS): Likewise. + (vbetest_mod_SOURCES): Likewise. + (vbetest_mod_CFLAGS): Likewise. + +2005-08-18 Yoshinori K. Okuji + + * normal/misc.c: New file. + + * DISTLIST: Added normal/misc.c. + + * partmap/amiga.c (amiga_partition_map_iterate): Add an argument + DISK to HOOK. Call HOOK with DISK. + * partmap/apple.c (apple_partition_map_iterate): Likewise. + * partmap/pc.c (pc_partition_map_iterate): Likewise. + * partmap/sun.c (sun_partition_map_iterate): Likewise. + + * normal/menu_entry.c (struct screen): Added a new member + "completion_shown". + (completion_buffer): New global variable. + (make_screen): Set SCREEN->COMPLETION_SHOWN to zero. + (store_completion): New function. + (complete): Likewise. + (clear_completions): Likewise. + (grub_menu_entry_run): If SCREEN->COMPLETION_SHOWN is non-zero, + call clear_completions and reset SCREEN->COMPLETION_SHOWN. If C is + a tab, call complete. + + * normal/completion.c (disk_dev): Removed. + (print_simple_completion): Likewise. + (print_partition_completion): Likewise. + (print_func): New global variable. + (add_completion): Do not take the arguments WHAT or PRINT any + longer. Added a new argument TYPE. Instead of printing directly, + call PRINT_FUNC if not NULL. + All callers changed. + (complete_device): Use a local variable DEV instead of + DISK_DEV. Do not move CURRENT_WORD to the end of a device name. + (grub_normal_do_completion): Take a new argument HOOK. Do not + initialize DISK_DEV. Initialize PRINT_FUNC to HOOK. If RET is an + empty string, return NULL instead. + All callers changed. + + * normal/cmdline.c (print_completion): New function. + + * kern/partition.c (grub_partition_iterate): Add an argument DISK + to HOOK. + All callers changed. + + * kern/disk.c (grub_print_partinfo): Removed. + + * include/grub/partition.h (struct grub_partition_map): Add a new + argument DISK into HOOK of ITERATE. + (grub_partition_iterate): Add a new argument DISK to HOOK. + + * include/grub/normal.h (enum grub_completion_type): New enum. + (grub_completion_type_t): New type. + (GRUB_COMPLETION_TYPE_COMMAND): New constant. + (GRUB_COMPLETION_TYPE_DEVICE): Likewise. + (GRUB_COMPLETION_TYPE_PARTITION): Likewise. + (GRUB_COMPLETION_TYPE_FILE): Likewise. + (grub_normal_do_completion): Added a new argument HOOK. + (grub_normal_print_device_info): New prototype. + + * include/grub/disk.h (grub_print_partinfo): Removed. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added normal/misc.c. + (normal_mod_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * commands/ls.c (grub_ls_list_disks): Use + grub_normal_print_device_info instead of grub_print_partinfo. Free + PNAME. + (grub_ls_list_files): Use grub_normal_print_device_info instead of + duplicating the code. + +2005-08-16 Vesa Jaaskelainen + + * commands/i386/pc/vbe_list_modes.c: Update source formatting to + follow GCS more precisely. + * commands/i386/pc/vbe_test.c: Likewise. + * include/grub/i386/pc/vbe.h: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * video/i386/pc/vbe.c: Likewise. + +2005-08-16 Vesa Jaaskelainen + + * DISTLIST: Added term/i386/pc/vesafb.c + DISTLIST: Added video/i386/pc/vbe.c + DISTLIST: Added commands/i386/pc/vbe_list_modes.c. + DISTLIST: Added commands/i386/pc/vbe_test.c. + * commands/i386/pc/vbe_list_modes.c: New file. + * commands/i386/pc/vbe_test.c: Likewise. + * term/i386/pc/vesafb.c: Likewise. + * video/i386/pc/vbe.c: Likewise. + * include/grub/i386/pc/vbe.h (GRUB_VBE_DEFAULT_VIDEO_MODE): Added define. + (grub_vbe_probe) Added prototype. + (grub_vbe_set_video_mode) Likewise. + (grub_vbe_get_video_mode) Likewise. + (grub_vbe_get_video_mode_info) Likewise. + (grub_vbe_set_pixel_rgb) Likewise. + (grub_vbe_set_pixel_index) Likewise. + * conf/i386-pc.rmk (pkgdata_MODULES): Added vbe.mod. + (pkgdata_MODULES): Added vesafb.mod. + (pkgdata_MODULES): Added vbe_list_modes.mod. + (pkgdata_MODULES): Added vbe_test.mod. + (vbe_mod_SOURCES): Added. + (vbe_mod_CFLAGS): Likewise. + (vesafb_mod_SOURCES): Likewise. + (vesafb_mod_CFLAGS): Likewise. + (vbe_list_modes_mod_SOURCES): Likewise. + (vbe_list_modes_mod_CFLAGS): Likewise. + (vbe_test_mod_SOURCES): Likewise. + (vbe_test_mod_CFLAGS): Likewise. + +2005-08-14 Yoshinori K. Okuji + + * normal/command.c (grub_command_execute): If INTERACTIVE is + false and GRUB_COMMAND_FLAG_NO_ECHO is not specified, print + CMDLINE. Disable the pager if INTERACTIVE is true. + All callers are changed. + + * normal/main.c (grub_normal_execute): Read command.lst and fs.lst + before reading a config file. + * normal/main.c (read_config_file): Even if a command is not + found, register it if it is within an entry. + + * util/grub-emu.c: Include sys/types.h and unistd.h. + (options): Added --hold. + (struct arguments): Added a new member "hold". + (parse_opt): If KEY is 'H', set ARGS->HOLD to ARG or -1 if ARG is + missing. + (main): Initialize ARGS.HOLD to zero. Wait until ARGS.HOLD is + cleared by a debugger, if it is not zero. + + * include/grub/normal.h (grub_command_execute): Add an argument + INTERACTIVE. + +2005-08-14 Vesa Jaaskelainen + + * DISTLIST: Added include/grub/i386/pc/vbe.h. + +2005-08-13 Yoshinori K. Okuji + + * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Replace the test + program with another one, because the old one didn't detect a bug + in gcc-3.4. Always use regparm 2, because the new test is still + not enough for gcc-4.0. Someone must investigate a simple test + case which detects a bug in gcc-4.0. + +2005-08-12 Yoshinori K. Okuji + + * DISTLIST: Added normal/completion.c. + + * normal/completion.c: New file. + + * term/i386/pc/console.c (grub_console_getwh): New function. + (grub_console_term): Assign grub_console_getwh to getwh. + + * normal/cmdline.c (grub_tab_complete): Removed. Now the same + function is defined in normal/completion.c as + grub_normal_do_completion. + (grub_cmdline_get): Use grub_normal_do_completion instead of + grub_tab_complete. + + * kern/partition.c (grub_partition_map_iterate): Return 1 if HOOK + returns non-zero, otherwise return 0. + (grub_partition_iterate): First, probe the partition map. Then, + call ITERATE only for this partition map. + + * kern/misc.c (grub_strncmp): Rewritten. + + * kern/disk.c (grub_disk_dev_iterate): Return 1 if P->ITERATE + returns non-zero. Otherwise return 0. + + * include/grub/partition.h (grub_partition_map_iterate): Return + int instead of void. + + * include/grub/normal.h (grub_normal_do_completion): New prototype. + + * include/grub/misc.h (grub_strncmp): Change the type of N to + grub_size_t. + + * include/grub/disk.h (grub_disk_dev_iterate): Return int instead + of void. + + * normal/menu.c (draw_border): Cast GRUB_TERM_BORDER_WIDTH to + unsigned explicitly before comparing it with I. + + * kern/main.c (grub_env_write_root): Add the attribute unused into + VAR. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added + normal/completion.c. + (normal_mod_SOURCES): Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + + * normal/command.c (grub_iterate_commands): If ITERATE returns + non-zero, return one immediately. + +2005-08-09 Vesa Jaaskelainen + + * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/vbe.h. + * kern/i386/pc/startup.S: Updated Global Descriptor table's + descriptions. + (grub_vbe_get_controller_info): New function. + (grub_vbe_get_mode_info): Likewise. + (grub_vbe_set_mode): Likewise. + (grub_vbe_get_mode): Likewise. + (grub_vbe_set_memory_window): Likewise. + (grub_vbe_get_memory_window): Likewise. + (grub_vbe_set_scanline_length): Likewise. + (grub_vbe_get_scanline_length): Likewise. + (grub_vbe_set_display_start): Likewise. + (grub_vbe_get_display_start): Likewise. + (grub_vbe_set_palette_data): Likewise. + * include/grub/i386/pc/vbe.h: New file. + +2005-08-08 Hollis Blanchard + + * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Replaced + kern/ieee1275/of.c with kern/ieee1275/ieee1275.c. + * DISTLIST: Likewise. + * kern/ieee1275/of.c: Moved to ... + * kern/ieee1275/ieee1275.c: ... here. + +2005-08-08 Hollis Blanchard + + * term/ieee1275/ofconsole.c: Include . + (grub_ofconsole_getwh): Cast -1 to type grub_ieee1275_ihandle_t. + Pass 0 as `end' parameter to grub_strtoul(). + +2005-08-08 Hollis Blanchard + + * include/grub/powerpc/ieee1275/console.h: Do not include + . Do not include . Remove ASM_FILE + ifdef. + (grub_console_cur_color): Remove i386-specific prototype. + (grub_console_real_putchar): Likewise. + (grub_console_checkkey): Likewise. + (grub_console_getkey): Likewise. + (grub_console_getxy): Likewise. + (grub_console_gotoxy): Likewise. + (grub_console_cls): Likewise. + (grub_console_setcursor): Likewise. + * kern/powerpc/ieee1275/init.c: Don't include . + Include . + * term/ieee1275/ofconsole.c: Likewise. + +2005-08-08 Yoshinori K. Okuji + + * Makefile.in (LIBLZO): New variable. + + * configure.ac: Check for LZO version 2. + + * util/i386/pc/grub-mkimage.c [HAVE_LZO_LZO1X_H]: Include + lzo/lzo1x.h instead of lzo1x.h. + + * conf/i386-pc.rmk (grub_mkimage_LDFLAGS): Use $(LIBLZO) instead + of -llzo. + + * util/i386/pc/grub-setup.c (main): Do not free PREFIX + twice. Reported by Vladimir Serbinenko . + + * partmap/pc.c (pc_partition_map_probe): Restore P->DATA after + copying the data from PARTITION to P. + +2005-08-07 Yoshinori K. Okuji + + * kern/rescue.c (grub_rescue_cmd_rmmod): If the reference count is + negative, unload the module. + + * util/i386/pc/grub-setup.c (setup): The name of the PC partition + map is "pc_partition_map" but not "pc". + (usage): Fix the description. The options are --boot-image and + --core-image but not --boot-file or --core-file. + (main): If not specified explicitly, make BOOT_FILE and CORE_FILE + based on DEFAULT_BOOT_FILE and DEFAULT_CORE_FILE with DIR or + DEFAULT_DIRECTORY. + + * util/i386/pc/grub-install.in: Do not specify --boot-file or + --core-file. Specify INSTALL_DEVICE as an argument. + + * util/console.c: Include config.h. + [HAVE_NCURSeS_CURSES_H]: Include ncurses/curses.h. + [HAVE_NCURSES_H]: Include ncurses.h. + [HAVE_CURSES_H]: Include curses.h. + [!A_NORMAL] (A_NORMAL): Defined as zero. + [!A_STANDOUT] (A_STANDOUT): Likewise. + + * conf/i386-pc.rmk (grub_emu_LDFLAGS): Use $(LIBCURSES) instead of + -lncurses. + * conf/powerpc-ieee1275.rmk (grub_emu_LDFLAGS): Likewise. + + * configure.ac: Check for curses libraries and headers. + + * Makefile.in (LIBCURSES): New variable. + + * genmk.rb (Script::rule): Set the executable bits. + + * util/i386/pc/biosdisk.c (grub_util_biosdisk_get_grub_dev): The + name of the PC partition map is "pc_partition_map" but not "pc". + +2005-08-07 Yoshinori K. Okuji + + * util/i386/pc/grub-install.in (grub_probefs): New variable. + (modules): Likewise. + (usage): Added descriptions for --modules and --grub-probefs. + Handle --modules and --grub-probefs. Save the arguments in MODULES + and GRUB_PROBEFS, respectively. + Auto-detect a filesystem module against GRUBDIR. If the result is + empty and modules are not specified explicitly, abort the + installation. Add the result to MODULES. + + * DISTLIST: Removed boot/powerpc/ieee1275/ieee1275.c, + disk/powerpc/ieee1275/ofdisk.c, + include/grub/powerpc/ieee1275/init.h and + term/powerpc/ieee1275/ofconsole.c. + Added disk/ieee1275/ofdisk.c, kern/ieee1275/of.c and + term/ieee1275/ofconsole.c. + + * include/grub/powerpc/ieee1275/console.h: Resurrected. + + * COPYING: Upgraded to the latest version. Only the address of the + FSF office has changed. + +2005-08-07 Yoshinori K. Okuji + + * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Replaced + kern/ieee1275.c with kern/ieee1275/of.c. + + * kern/ieee1275.c: Moved to ... + * kern/ieee1275/of.c: ... here. + +2005-08-06 Yoshinori K. Okuji + + * conf/i386-pc.rmk (kernel_img_HEADERS): Reordered for + readability. + + * config.guess: Updated to the latest version from gnulib. + * config.sub: Likewise. + * install.sh: Likewise. + * mkinstalldirs: Likewise. + + * include/grub/console.h: Removed. This file is arch-specific. Do + not put this in include/grub. + + * include/grub/i386/pc/console.h: Resurrected. + + * util/console.c: Include grub/machine/console.h instead of + grub/console.h. + * util/grub-emu.c: Likewise. + +2005-08-04 Marco Gerards + + * kern/term.c (grub_putcode): Use `grub_getwh' instead of + hardcoded value. + + From Vincent Pelletier + * include/grub/term.h (GRUB_TERM_WIDTH, GRUB_TERM_HEIGHT): + Redefined to use grub_getwh. + (grub_term): New member named getwh. + (grub_getwh): New prototype. + * kern/term.c (grub_getwh): New function. + * term/i386/pc/console.c (grub_console_getwh): New function. + (grub_console_term): New member `getwh'. + * term/i386/pc/vga.c (grub_vga_getwh): New function. + (grub_vga_term): New member `getwh'. + * term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Use + grub_ssize_t. + (grub_ofconsole_getw): New function. + (grub_ofconsole_init): Use grub_ssize_t and unsigned char. + (grub_ofconsole_term): New field named getwh and new initial + value. + +2005-08-03 Hollis Blanchard + + * include/grub/powerpc/ieee1275/ieee1275.h: Move ... + * include/grub/ieee1275/ieee1275.h: ... to here. All users updated. + Move `abort', `grub_reboot', and `grub_halt' prototypes ... + * include/grub/powerpc/ieee1275/kernel.h: ... to here. + * commands/ieee1275/halt.c: Include instead + of . + * commands/ieee1275/reboot.c: Likewise. + * boot/powerpc/ieee1275/ieee1275.c: Move ... + * kern/ieee1275.c: ... to here. All users updated. Change all + parameter structs to use new type `grub_ieee1275_cell_t'. + * term/powerpc/ieee1275/ofconsole.c: Move ... + * term/ieee1275/ofconsole.c: ... to here. All users updated. + * disk/powerpc/ieee1275/ofdisk.c: Move ... + * disk/ieee1275/ofdisk.c: ... to here. All users updated. + * boot/powerpc/ieee1275/cmain.c: Change `grub_ieee1275_entry_fn' type + to return int. + * include/grub/i386/pc/console.h: Move to include/grub/console.h. + Remove unused prototypes. All users updated. + * include/grub/powerpc/ieee1275/console.h: Removed. + * include/grub/powerpc/ieee1275/ieee1275.h: Define + `grub_ieee1275_cell_t'. + * kern/powerpc/ieee1275/openfw.c: Include . + Cast comparisons with -1 to the correct type. + * loader/powerpc/ieee1275/linux.c (kernel_entry_t): Change parameter + type to match `grub_ieee1275_entry_fn'. + +2005-08-01 Yoshinori K. Okuji + + * DISTLIST: Added util/i386/pc/grub-probefs.c. + + * conf/i386-pc.rmk (sbin_UTILITIES): Added grub-probefs. + (grub_setup_SOURCES): Removed partmap/amiga.c, partmap/apple.c and + partmap/sun.c. + (grub_probefs_SOURCES): New variable. + + * util/i386/pc/grub-probefs.c: New file. + + * util/i386/pc/grub-setup.c (main): Call + grub_pc_partition_map_init, grub_ufs_init, grub_minix_init, + grub_hfs_init and grub_jfs_init to initialize the system. Call + grub_ufs_fini, grub_minix_fini, grub_hfs_fini, grub_jfs_init and + grub_pc_partition_map_fini to finish the system. + +2005-07-31 Yoshinori K. Okuji + + * loader/i386/pc/multiboot.c (grub_multiboot_is_elf32): New + function. + (grub_multiboot_load_elf32): Likewise. + (grub_multiboot_is_elf64): Likewise. + (grub_multiboot_load_elf64): Likewise. + (grub_multiboot_load_elf): Likewise. + (grub_rescue_cmd_multiboot): Call grub_multiboot_load_elf to load + an ELF32 or ELF64 file. + This is based on a patch from Ruslan Nikolaev . + + From Serbinenko Vladimir : + * kern/disk.c (grub_print_partinfo): Check if FS->LABEL is not + NULL before calling FS->LABEL. + * fs/fat.c (grub_fat_dir): Initialize DIRNAME to NULL. + * commands/ls.c (grub_ls_list_files): Show labels, if possible. + (grub_ls_list_disks): Check if FS and FS->LABEL are not NULL + before calling FS->LABEL. + +2005-07-26 Yoshinori K. Okuji + + * util/i386/pc/grub-install.in (datadir): New variable. + (libdir): Removed. + (pkgdatadir): New variable. + (pkglibdir): Removed. + +2005-07-24 Yoshinori K. Okuji + + * DISTLIST: Added util/i386/pc/grub-install.in. + + * util/i386/pc/grub-install.in: New file. + + * conf/i386-pc.rmk (sbin_SCRIPTS): New variable. + (grub_install_SOURCES): Likewise. + + * genmk.rb: Added support for scripts. + (Script): New class. + (scripts): New variable. + + * Makefile.in (install-local): Install sbin_SCRIPTS by + INSTALL_SCRIPT. + (uninstall): Remove sbin_SCRIPTS. + + * util/i386/pc/grub-setup.c (main): If the argument is not a GRUB + device, try to get a GRUB device by + grub_util_biosdisk_get_grub_dev. + Free DEST_DEV. + + * util/i386/pc/grub-mkdevicemap.c (usage): Remove a duplicated + description for --device-map. + +2005-07-20 Yoshinori K. Okuji + + Change the semantics of variable hooks. They now return strings + instead of error values. + + * util/i386/pc/grub-setup.c: Include grub/env.h. + (setup): Use grub_device_set_root instead of grub_env_set. + + * kern/rescue.c (grub_rescue_cmd_root): Use grub_env_set and + grub_env_get instead of grub_device_set_root and + grub_device_get_root, respectively. + + * kern/main.c (grub_env_write_root): New function. + (grub_set_root_dev): Register grub_env_write_hook for "root". Use + grub_env_set instead of grub_device_set_root. + + * kern/env.c (HASHSZ): Reduced to 13, because GRUB does not need + many variables. + (grub_env_set): Set ENV->VALUE to the result of ENV->WRITE_HOOK + rather than calling ENV->WRITE_HOOK afterwards. + (grub_env_get): Return the result of ENV->READ_HOOK rather than + passing a pointer of a pointer. + (grub_register_variable_hook): Change the types of "read_hook" and + "write_hook" to grub_env_read_hook_t and grub_env_write_hook_t, + respectively. + Allocate the default empty string on the heap, because this string + may be freed later. + + * kern/device.c: Include grub/env.h. + (grub_device_set_root): Removed. + (grub_device_get_root): Likewise. + (grub_device_open): Use grub_env_get instead of + grub_device_get_root. + + * include/grub/env.h (grub_env_read_hook_t): New type. + (grub_env_write_hook_t): Likewise. + (grub_env_var): Change the types of "read_hook" and "write_hook" + to grub_env_read_hook_t and grub_env_write_hook_t, respectively. + (grub_register_variable_hook): Likewise. + + * include/grub/device.h (grub_device_set_root): Removed. + (grub_device_set_root): Likewise. + + * fs/fat.c (grub_fat_dir): Make a copy of PATH in DIRNAME, and + make sure that DIRNAME terminates with '/', so that + grub_fat_find_dir will fail if PATH is not a directory. + + * commands/ls.c (grub_ls_list_files): Remove the qualifier const + from DIRNAME. + Use the qualifier auto for print_files and print_files_long. + If FS->DIR sets GRUB_ERRNO to GRUB_ERR_BAD_FILE_TYPE, try DIRNAME + as a regular file. + Put a newline only if there is no error. + (grub_cmd_ls): Remove grub_ls_print_files, because this is not + used. + +2005-07-20 Yoshinori K. Okuji + + * kern/partition.c (grub_partition_probe): Initialize PART to + NULL. Otherwise, when no partition map is registered, this returns + a garbage. + +2005-07-19 Yoshinori K. Okuji + + * partmap/apple.c (apple_partition_map_iterate): Check if POS + equals GRUB_DISK_SECTOR_SIZE to see if the partition table is + valid. + +2005-07-18 Yoshinori K. Okuji + + * commands/ls.c (grub_ls_list_disks): Print the filesystem + information on each device, if it does not have partitions. Print + "Device" instead of "Disk", because this function is not specific + to disk devices. + + * normal/main.c (grub_rescue_cmd_normal): Make the variable CONFIG + static to ensure that it is put on the memory rather than a + register. + +2005-07-17 Yoshinori Okuji + + * commands/cat.c (GRUB_MOD_INIT): Use better documentation. + (grub_cat_init): Likewise. + * loader/i386/pc/chainloader_normal.c (GRUB_MOD_INIT): Likewise. + (options): Likewise. + * commands/configfile.c (GRUB_MOD_INIT): Likewise. + (grub_configfile_init): Likewise. + * font/manager.c (GRUB_MOD_INIT): Likewise. + * commands/help.c (GRUB_MOD_INIT): Likewise. + (grub_help_init): Likewise. + * normal/command.c (grub_command_init): Likewise. + * loader/i386/pc/linux_normal.c (GRUB_MOD_INIT): Likewise. + * disk/loopback.c (grub_loop_init): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/ls.c (grub_ls_init): Likewise. + (GRUB_MOD_INIT): Likewise. + (options): Likewise. + * commands/boot.c (grub_boot_init): Likewise. + (GRUB_MOD_INIT): Likewise. + * loader/i386/pc/multiboot_normal.c (GRUB_MOD_INIT): Likewise. + * commands/i386/pc/reboot.c (grub_reboot_init): Likewise. + (GRUB_MOD_INIT): Likewise. + * commands/cmp.c (grub_cmp_init): Likewise. + (GRUB_MOD_INIT): Likewise. + + * normal/arg.c: Use <> instead of "" to include header files. + (SHORT_ARG_HELP): New macro. + (SHORT_ARG_USAGE): Likewise. + (help_options): Specify SHORT_ARG_HELP and SHORT_ARG_USAGE instead + of 'h' and 'u' for help and usage, respectively. Use more GNU-like + descriptions. + (find_short): Check if C is 'h' or 'u' explicitly. + (grub_arg_show_help): Use space characters instead of tabs. Treat + SHORT_ARG_HELP and SHORT_ARG_USAGE exceptionally so that -h and -u + are shown with --help and --usage only if they are not used for + the command itself. + (parse_option): Use SHORT_ARG_HELP and SHORT_ARG_USAGE instead of + 'h' and 'u'. + + * include/grub/arg.h (struct grub_arg_option): Add the qualifier + const into "longarg". Change the type of "shortarg" to int. + +2005-07-17 Yoshinori Okuji + + * boot/i386/pc/boot.S (boot_drive_check): New label. + + * include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_DRIVE_CHECK): New + macro. + + * util/i386/pc/grub-setup.c (setup): Added a workaround for BIOSes + which do not pass a boot drive correctly. Copied from GRUB Legacy. + +2005-07-17 Yoshinori Okuji + + * kern/i386/pc/startup.S (gate_a20_try_system_control_port_a): + When turning off Gate A20, skip the check and return immediately, + because this is not fatal usually. + +2005-07-17 Yoshinori Okuji + + * conf/i386-pc.rmk (pxeboot_img_LDFLAGS): The text address should + be 0x7C00 instead of 0x8000. + + * boot/i386/pc/pxeboot.S: Rewritten. + + * kern/i386/pc/startup.S (gate_a20_try_bios): No need to specify + EXT_C. + (gate_a20_check_state): Read a byte from 0x108000. Invert the + result. + +2005-07-16 Yoshinori K. Okuji + + * kern/i386/pc/startup.S (grub_gate_a20): Rewritten for + robustness. This routine now supports a BIOS call and System + Control Port A to modify the gate A20. + + * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): + Increased to 0x440. + +2005-07-12 Hollis Blanchard + + * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): dprintf the + device path and resulting ihandle. + (grub_ofdisk_close): dprintf the ihandle being closed. + (grub_ofdisk_read): dprintf function parameters. + * kern/mm.c (grub_mm_init_region): Likewise. + * loader/powerpc/ieee1275/linux.c: Remove extra whitespace. + (grub_linux_boot): dprintf the Linux entry point, initrd address and + size, and boot arguments. + (grub_rescue_cmd_linux): dprintf each ELF segment's address and size + before loading into memory. + (grub_rescue_cmd_initrd): dprintf the initrd's address and size + before loading into memory. + +2005-07-12 Yoshinori K. Okuji + + * kern/mm.c: Added much documentation. + (GRUB_MM_ALIGN_LOG2): When GRUB_CPU_SIZEOF_VOID_P is + 8, set to 5 instead of 8. + +2005-07-10 Yoshinori Okuji + + * DISTLIST: Added util/i386/pc/grub-mkimage.c. + + * conf/i386-pc.rmk (sbin_UTILITIES): Added grub-mkdevicemap. + (grub_mkdevicemap_SOURCES): New variable. + + * util/i386/pc/grub-mkdevicemap.c: New file. Mostly copied from + lib/device.c of GRUB Legacy. + +2005-07-10 Yoshinori Okuji + + * commands/ls.c (grub_ls_list_files): Check if *PATH is NUL + instead of PATH is NULL. + +2005-07-09 Vincent Pelletier + + * commands/cmp.c (BUFFER_SIZE): New macro. + (grub_cmd_cmp): Close the right file at the right time. Compare + only data just read. Don't report files of different size as + identical. Dynamically allocate buffers. Move variable + declarations at the beginning of function. + +2005-07-09 Yoshinori Okuji + + * aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): The return value was + reverse. + +2004-07-04 Vincent Pelletier + + * normal/cmdline.c (grub_cmdline_get): Don't fallback on ctrl-d + when backspace is pressed at beginning of line. + +2005-07-03 Yoshinori Okuji + + * DISTLIST: Added genfslist.sh. + + * normal/main.c (fs_module_list): New variable. + (autoload_fs_module): New function. + (read_fs_list): Likewise. + (grub_normal_execute): Call read_fs_list. + + * kern/fs.c (grub_fs_autoload_hook): New variable. + (grub_fs_probe): Added support for auto-loading. + + * include/grub/normal.h (struct grub_fs_module_list): New struct. + (grub_fs_module_list_t): New type. + + * include/grub/fs.h (grub_fs_autoload_hook_t): New type. + (grub_fs_autoload_hook): New prototype. + + * genfslist.sh: New file. + + * genmk.rb: Added a rule to generate a filesystem list. + +2005-06-30 Marco Gerards + + * configure.ac: Fix the test for cross-compiling. + + * genmk.rb (Program): Use `$(CC)' instead of `$(BUILD_CC)'. Don't + define GRUB_UTIL anymore. + + * util/powerpc/ieee1275/grub-mkimage.c (load_note): Endian fixes + so this function works on other systems than just big endian. + (load_modules): Likewise. + (add_segments): Likewise. + +2005-06-23 Hollis Blanchard + + * kern/misc.c (grub_vsprintf): Add `longfmt'. If format string + contains `l' modifier, get a long from va_arg(). + +2005-06-23 Yoshinori K. Okuji + + * kern/mm.c (grub_free): If the next free block which is being + merged is the first free block, set the first block to the block + being freed. + Reported by Vincent Guffens . + +2005-05-08 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c (cmain): Initialize + `grub_ieee1275_chosen'. + +2005-05-08 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c (module_info): Remove definition. + (grub_ieee1275_chosen): New variable. + (cmain): Initialize and use `grub_ieee1275_chosen' instead of + `chosen'. + * boot/powerpc/ieee1275/crt0.S (init_stack): Remove stack space. + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property): + Rename first argument to `phandle' for consistency. + (grub_ieee1275_get_property_length): Likewise. + (grub_ieee1275_next_property): Likewise. Change type of first argument + to grub_ieee1275_phandle_t. + * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_entry_fn): + Move export next to declaration. + (grub_ieee1275_chosen): New variable. + * include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MODULE_BASE): + Correct cosmetic typo. + * kern/powerpc/ieee1275/init.c (grub_set_prefix): Use + `grub_ieee1275_chosen'. + * kern/powerpc/ieee1275/openfw.c (grub_map): Likewise. + * loader/powerpc/ieee1275/linux.c (grub_linux_boot): Likewise. + (grub_rescue_cmd_linux): Set `initrd_addr' to 0. + * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_refresh): Use + `grub_ieee1275_chosen'. + +2005-05-10 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c (cmain): Remove code to parse + /chosen/bootargs. + * kern/powerpc/ieee1275/init.c (grub_machine_init): Parse + /chosen/bootargs as "variable=value" pairs. + +2005-05-08 Vincent Pelletier + + * include/grub/misc.h (grub_dprintf): New macro. + (grub_real_dprintf): New prototype. + (grub_strword): Likewise. + (grub_iswordseparator): Likewise. + * kern/misc.c (grub_real_dprintf): New function. + (grub_strword): Likewise. + (grub_iswordseparator): Likewise. + +2005-04-30 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c: Don't include grub/machine/init.h. + (roundup): Remove macro. + (grub_ieee1275_flags): Make static. + (grub_ieee1275_realmode): Remove. + (grub_ieee1275_test_flag): New function. + (grub_ieee1275_set_flag): Likewise. + (find_options): Rename to `grub_ieee1275_find_options'; update + callers. Set GRUB_IEEE1275_FLAG_REAL_MODE and + GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS. + (cmain): New prototype. + (cmain): Use `grub_ieee1275_set_flag' instead of accessing + `grub_ieee1275_flags' directly. + * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Remove + machine/biosdisk.h. + * disk/powerpc/ieee1275/ofdisk.c: Include grub/machine/ofdisk.h. + Don't include grub/machine/init.h. + (grub_ofdisk_open): Call `grub_ieee1275_test_flag'. + * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_flags): + Remove prototype. + (grub_ieee1275_realmode): Likewise. + (grub_ieee1275_flag): New enum. + (grub_ieee1275_test_flag): New prototype. + (grub_ieee1275_set_flag): New prototype. + * include/grub/powerpc/ieee1275/init.h: Remove file. + * include/grub/powerpc/ieee1275/ofdisk.h: New file. + * kern/powerpc/ieee1275/init.c: Don't include grub/machine/init.h. + Include grub/machine/console.h. Include grub/machine/ofdisk.h. + (grub_machine_fini): Don't call `grub_ieee1275_release'. Remove + comment. + * kern/powerpc/ieee1275/openfw.c (grub_claimmap): Call + `grub_ieee1275_test_flag'. + (grub_ieee1275_encode_devname): Likewise. + +2005-04-21 Hollis Blanchard + + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_encode_devname): New prototype. + (grub_ieee1275_get_filename): Likewise. + * kern/powerpc/ieee1275/init.c (grub_translate_ieee175_path): New + function. + (grub_set_prefix): Likewise. + (grub_machine_init): Call grub_set_prefix. + * kern/powerpc/ieee1275/openfw.c: Fix typos. + (grub_parse_type): New enum. + (grub_ieee1275_get_devargs): New function. + (grub_ieee1275_get_devname): Likewise. + (grub_ieee1275_parse_args): Likewise. + (grub_ieee1275_get_filename): Likewise. + (grub_ieee1275_encode_devname): Likewise. + +2005-03-30 Marco Gerards + + * kern/powerpc/ieee1275/init.c (grub_machine_fini): Don't call + `grub_loader_unset'. + +2005-03-26 Hollis Blanchard + + * commands/ieee1275/halt.c (grub_cmd_halt): Call grub_halt + instead of grub_ieee1275_interpret. + (grub_halt_init): New function. + (grub_halt_fini): Likewise. + (GRUB_MOD_INIT): Correct message grammar. + * commands/ieee1275/reboot.c (grub_cmd_reboot): Call grub_reboot + instead of grub_ieee1275_interpret. + (grub_reboot_init): New function. + (grub_reboot_fini): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Replace + commands/i386/pc/halt.c, commands/i386/pc/reboot.c, and + util/i386/pc/misc.c with commands/ieee1275/halt.c, + commands/ieee1275/reboot.c, and util/powerpc/ieee1275/misc.c. + * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_fini): New + function. + * include/grub/powerpc/ieee1275/console.h (grub_console_fini): + Add prototype. + * include/grub/powerpc/ieee1275/ieee1275.h (grub_reboot): Add + prototype. + (grub_halt): Likewise. + * include/grub/powerpc/ieee1275/init.h: Remove inaccurate comment. + (cmain): Remove __attribute__((unused)). + * kern/powerpc/ieee1275/init.c (grub_heap_start): New variable. + (grub_heap_len): Likewise. + (grub_machine_fini): New function. + * kern/powerpc/ieee1275/openfw.c (grub_reboot): New function. + (grub_halt): Likewise. + * term/powerpc/ieee1275/ofconsole.c (grub_console_fini): New + function. + * util/powerpc/ieee1275/misc.c: New file. + +2005-03-19 Yoshinori K. Okuji + + * DISTLIST: New file. + * gendistlist.sh: Likewise. + + * Makefile.in (COMMON_DISTFILES): Removed. + (BOOT_DISTFILES): Likewise. + (CONF_DISTFILES): Likewise. + (DISK_DISTFILES): Likewise. + (FS_DISTFILES): Likewise. + (INCLUDE_DISTFILES): Likewise. + (KERN_DISTFILES): Likewise. + (LOADER_DISTFILES): Likewise. + (TERM_DISTFILES): Likewise. + (UTIL_DISTFILES): Likewise. + (DISTFILES): Likewise. + (uninstall): Uninstall files in $(pkgdata_DATA). + (DISTLIST): New target. + (distdir): Use the contents of the file DISTLIST to get a list of + distributed files. + +2005-03-18 Yoshinori K. Okuji + + * fs/fat.c (grub_fat_mount): Ignore the 3rd bit of a media + descriptor. This is ported from GRUB Legacy. + + * gencmdlist.sh: Added an extra semicolon to make it work with + old sed versions. Reported by Robert Bihlmeyer + . + +2005-03-08 Yoshinori Okuji + + Automatic loading of commands is supported. + + * normal/main.c (read_command_list): New function. + (grub_normal_execute): Call read_command_list. + + * normal/command.c (grub_register_command): Return zero or CMD. + Allocate CMD->NAME from the heap. + Initialize CMD->MODULE_NAME to zero. + Find the same name as well. If the same command is found and it is + a dummy command, overwrite members. If it is not a dummy command, + return zero. + (grub_unregister_command): Free Q->NAME and Q->MODULE_NAME. + (grub_command_find): If a dummy command is found, load a module + and retry to find a command only once. + + * normal/cmdline.c (grub_tab_complete): Call grub_command_find to + make sure that each command is loaded. + + * include/grub/normal.h (GRUB_COMMAND_FLAG_NOT_LOADED): New + macro. + (struct grub_command): Remove const from the member `name'. + Add a new member `module_name'. + (grub_register_command): Return grub_command_t. + + * commands/help.c (grub_cmd_help): Call grub_command_find to make + sure that each command is loaded. + + * genmk.rb (PModule::rule): Specify a module name without the + suffix ".mod" to gencmdlist.sh. + +2005-03-02 Yoshinori K. Okuji + + * gencmdlist.sh: New file. + + * genmk.rb (PModule::rule): Generate a rule for a command list. + Clean command.lst. + Generate command.lst from $(COMMANDFILES). + + * Makefile.in (COMMON_DISTFILES): Added gencmdlist.sh. + (DATA): Added $(pkgdata_DATA). + (install-local): Install files in $(pkgdata_DATA). + +2005-03-02 Yoshinori K. Okuji + + * term/i386/pc/vga.c (debug_command): Removed. + (GRUB_MOD_INIT): Do not register the command "debug". + + From Hollis Blanchard: + * commands/configfile.c: New file. + * conf/i386-pc.rmk (grub_emu_SOURCES): Added + commands/configfile.c. + (pkgdata_MODULES): Added configfile.mod. + (configfile_mod_SOURCES): New variable. + (configfile_mod_CFLAGS): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Added + commands/configfile.c. + (pkgdata_MODULES): Added configfile.mod. + (configfile_mod_SOURCES): New variable. + (configfile_mod_CFLAGS): Likewise. + * util/grub-emu.c (main): Call grub_configfile_init and + grub_configfile_fini. + * include/grub/normal.h [GRUB_UTIL] (grub_configfile_init): New + prototype. + [GRUB_UTIL] (grub_configfile_fini): Likewise. + +2005-02-27 Yoshinori K. Okuji + + * normal/arg.c (grub_arg_show_help): Do not show the bug report + address. + + * commands/help.c (grub_cmd_help): Do not print newlines after + the last command in print_command_help. + +2005-02-27 Yoshinori K. Okuji + + * commands/default.h: New file. + * commands/timeout.h: Likewise. + * normal/context.c: Likewise. + + * util/misc.c: Do not include sys/times.h. + Include sys/time.h and grub/machine/time.h. + (grub_get_rtc): Rewritten with gettimeofday. + + * util/grub-emu.c (main): Call grub_default_init and + grub_timeout_init before grub_normal_init, and call + grub_timeout_fini and grub_default_fini after grub_main. + + * util/console.c (grub_ncurses_checkkey): Return the read + character or -1. + + * normal/menu.c (run_menu): Set MENU->TIMEOUT to -1 once it + timeouts. + + * normal/main.c (read_config_file): Push MENU. If this fails, + print an error and wait for a user input. + Print an error only if GRUB_ERRNO is not GRUB_ERR_NONE. + If a menu is empty or an error occurs, pop MENU. + (grub_normal_execute): Pop and free MENU after grub_menu_run + returns. + + * kern/loader.c (grub_loader_boot): Call grub_machine_fini. + + * include/grub/powerpc/ieee1275/time.h [GRUB_UTIL]: Do not + include time.h. + [GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as + without GRUB_UTIL. + * include/grub/i386/pc/time.h [GRUB_UTIL]: Do not include + time.h. + [GRUB_UTIL] (GRUB_TICKS_PER_SECOND): Use the same definition as + without GRUB_UTIL. + + * include/grub/normal.h (struct grub_menu_list): New struct. + (grub_menu_list_t): New type. + (struct grub_context): New struct. + (grub_context_t): New type. + (grub_register_command): Got rid of EXPORT_FUNC. + (grub_unregister_command): Likewise. + (grub_context_get): New prototype. + (grub_context_get_current_menu): Likewise. + (grub_context_push_menu): Likewise. + (grub_context_pop_menu): Likewise. + [GRUB_UTIL] (grub_default_init): Likewise. + [GRUB_UTIL] (grub_default_fini): Likewise. + [GRUB_UTIL] (grub_timeout_init): Likewise. + [GRUB_UTIL] (grub_timeout_fini): Likewise. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added commands/default.c, + commands/timeout.c and normal/context.c. + (pkgdata_MODULES): Added default.mod and timeout.mod. + (normal_mod_SOURCES): Added normal/context.c. + (default_mod_SOURCES): New variable. + (default_mod_CFLAGS): Likewise. + (timeout_mod_SOURCES): Likewise. + (timeout_mod_CFLAGS): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Copied from + conf/i386-pc.rmk. + (pkgdata_MODULES): Added default.mod and timeout.mod. + (normal_mod_SOURCES): Added normal/context.c. + (default_mod_SOURCES): New variable. + (default_mod_CFLAGS): Likewise. + (timeout_mod_SOURCES): Likewise. + (timeout_mod_CFLAGS): Likewise. + + * Makefile.in (all-local): Added $(MKFILES). + +2005-02-21 Vincent Pelletier + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add `partmap/sun.c'. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add `sun.mod'. + (sun_mod_SOURCES, sun_mod_CFLAGS): New variables. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add + `partmap/sun.c'. + (pkgdata_MODULES): Add `sun.mod'. + (sun_mod_SOURCES, sun_mod_CFLAGS): New variables. + * include/grub/partition.h (grub_sun_partition_map_init): New + prototype. + (grub_sun_partition_map_fini): Likewise. + * partmap/sun.c: New file. + * util/grub-emu.c (main): Initialize and de-initialize the sun + partitionmap support. + +2005-02-19 Yoshinori K. Okuji + + This implements an Emacs-like menu entry editor. + + * normal/menu_entry.c: New file. + + * util/console.c (grub_ncurses_putchar): Translate some Unicode + characters to ASCII. + (saved_char): New variable. + (grub_ncurses_checkkey): Rewritten completely. + (grub_ncurses_getkey): Likewise. + (grub_ncurses_init): Call raw instead of cbreak. + + * normal/menu.c (print_entry): Do not put a space. + (init_page): Renamed to ... + (grub_menu_init_page): ... this. All callers changed. + (edit_menu_entry): Removed. + (run_menu): Call grub_menu_entry_run instead of edit_menu_entry. + + * normal/cmdline.c (grub_cmdline_run): Call grub_setcursor. + + * kern/misc.c (grub_vprintf): Call grub_refresh. + + * normal/menu.c (DISP_LEFT): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_LEFT): ... this. + * normal/menu.c (DISP_UP): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_UP): ... this. + * normal/menu.c (DISP_RIGHT): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_RIGHT): ... this. + * normal/menu.c (DISP_DOWN): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_DOWN): ... this. + * normal/menu.c (DISP_HLINE): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_HLINE): ... this. + * normal/menu.c (DISP_VLINE): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_VLINE): ... this. + * normal/menu.c (DISP_UL): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_UL): ... this. + * normal/menu.c (DISP_UR): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_UR): ... this. + * normal/menu.c (DISP_LL): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_LL): ... this. + * normal/menu.c (DISP_LR): Renamed to ... + * include/grub/term.h (GRUB_TERM_DISP_LR): ... this. + * normal/menu.c (TERM_WIDTH): Renamed to ... + * include/grub/term.h (GRUB_TERM_WIDTH): ... this. + * normal/menu.c (TERM_HEIGHT): Renamed to ... + * include/grub/term.h (GRUB_TERM_HEIGHT): ... this. + * normal/menu.c (TERM_INFO_HEIGHT): Renamed to ... + * include/grub/term.h (GRUB_TERM_INFO_HEIGHT): ... this. + * normal/menu.c (TERM_MARGIN): Renamed to ... + * include/grub/term.h (GRUB_TERM_MARGIN): ... this. + * normal/menu.c (TERM_SCROLL_WIDTH): Renamed to ... + * include/grub/term.h (GRUB_TERM_SCROLL_WIDTH): ... this. + * normal/menu.c (TERM_TOP_BORDER_Y): Renamed to ... + * include/grub/term.h (GRUB_TERM_TOP_BORDER_Y): ... this. + * normal/menu.c (TERM_LEFT_BORDER_X): Renamed to ... + * include/grub/term.h (GRUB_TERM_LEFT_BORDER_X): ... this. + * normal/menu.c (TERM_BORDER_WIDTH): Renamed to ... + * include/grub/term.h (GRUB_TERM_BORDER_WIDTH): ... this. + * normal/menu.c (TERM_MESSAGE_HEIGHT): Renamed to ... + * include/grub/term.h (GRUB_TERM_MESSAGE_HEIGHT): ... this. + * normal/menu.c (TERM_BORDER_HEIGHT): Renamed to ... + * include/grub/term.h (GRUB_TERM_BORDER_HEIGHT): ... this. + * normal/menu.c (TERM_NUM_ENTRIES): Renamed to ... + * include/grub/term.h (GRUB_TERM_NUM_ENTRIES): ... this. + * normal/menu.c (TERM_FIRST_ENTRY_Y): Renamed to ... + * include/grub/term.h (GRUB_TERM_FIRST_ENTRY_Y): ... this. + * normal/menu.c (TERM_ENTRY_WIDTH): Renamed to ... + * include/grub/term.h (GRUB_TERM_ENTRY_WIDTH): ... this. + * normal/menu.c (TERM_CURSOR_X): Renamed to ... + * include/grub/term.h (GRUB_TERM_CURSOR_X): ... this. + All callers changed. + + * include/grub/normal.h: New prototype. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added + normal/menu_entry.c. + (normal_mod_SOURCES): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise. + (normal_mod_SOURCES): Likewise. + +2005-02-15 Yoshinori K. Okuji + + * include/grub/normal.h (grub_halt_init): New prototype. + (grub_halt_fini): Likewise. + (grub_reboot_init): Likewise. + (grub_reboot_fini): Likewise. + + * util/grub-emu.c: Include signal.h. + (main_env): New global variable. + (grub_machine_init): Ignore SIGINT. Otherwise grub-emu cannot + catch C-c. + (grub_machine_fini): New function. + (main): Call grub_halt_init and grub_reboot_init before + grub_main, and grub_reboot_fini and grub_halt_fini after it. + Call setjmp with MAIN_ENV to go back afterwards. + Call grub_machine_fini right before return. + + * include/grub/util/misc.h: Include setjmp.h. + (main_env): New prototype. + + * include/grub/kernel.h (grub_machine_fini): New prototype. + * include/grub/i386/pc/biosdisk.h (grub_biosdisk_fini): Likewise. + * include/grub/i386/pc/console.h (grub_console_fini): Likewise. + + * disk/i386/pc/biosdisk.c (grub_biosdisk_fini): New function. + * kern/i386/pc/init.c (grub_machine_fini): Likewise. + * term/i386/pc/console.c (grub_console_fini): Likewise. + + * util/i386/pc/misc.c: New file. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Added + util/i386/pc/misc.c, commands/i386/pc/halt.c and + commands/i386/pc/reboot.c. + +2005-02-14 Guillem Jover + + * include/grub/dl.h (grub_dl_check_header): New prototype. + (grub_arch_dl_check_header): Change return type to grub_err_t, + remove size parameter and export function. Update all callers. + * kern/dl.c (grub_dl_check_header): New function. + (grub_dl_load_core): Use `grub_dl_check_header' instead of + `grub_arch_dl_check_header'. Check ELF type. Check if sections + are inside the core. + * kern/i386/dl.c (grub_arch_dl_check_header): Remove arch + independent ELF header checks. + * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise. + * loader/i386/pc/multiboot.c (grub_rescue_cmd_multiboot): Use + `grub_dl_check_header' instead of explicit checks. Check for the + ELF type. + * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Use + `grub_dl_check_header' instead of explicit checks. Remove arch + specific ELF header checks. + + * util/grub-emu.c (grub_arch_dl_check_header): Remove the + argument SIZE. + +2005-02-13 Hollis Blanchard + + * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add ls.mod. + * include/grub/powerpc/libgcc.h (__mulsf3): New prototype. + +2005-02-12 Hollis Blanchard + + * kern/partition.c (grub_partition_probe): Clear `grub_errno' and + return 0 if `grub_errno' is GRUB_ERR_BAD_PART_TABLE. + (part_map_iterate): Clear `grub_errno' and return 0 if + `partmap->iterate' returns GRUB_ERR_BAD_PART_TABLE. + * partmap/amiga.c (amiga_partition_map_iterate): Return + GRUB_ERR_BAD_PART_TABLE if no partition map magic is found. + * partmap/apple.c (apple_partition_map_iterate): Likewise. + +2005-02-01 Guillem Jover + + * loader/i386/pc/multiboot_normal.c (GRUB_MOD_INIT): Fix module + help info. + +2005-01-31 Marco Gerards + + * include/grub/powerpc/ieee1275/loader.h (grub_load_linux): + Removed prototype. + (grub_rescue_cmd_linux): New prototype. + (grub_rescue_cmd_initrd): Likewise. + * powerpc/ieee1275/linux.c (grub_linux_boot): Remove struct + `bi_rec'. + (grub_linux_release_mem): Release the memory for the initrd. + (grub_load_linux): Renamed from this... + (grub_rescue_cmd_linux): ...To this. Changed all callers. + Changed `entry' not to be static. Loop over memory regions to + find another one when the default fails. + (grub_rescue_cmd_initrd): New function. + (grub_linux_init): Remove function. + (grub_linux_fini): Likewise. + (GRUB_MOD_INIT): Register `initrd'. + (GRUB_MOD_FINI): Unregister `initrd'. + * powerpc/ieee1275/linux_normal.c (grub_linux_normal_init): + Function removed. + (grub_linux_normal_fini): Likewise. + (GRUB_MOD_INIT): Register `initrd'. + (GRUB_MOD_FINI): Unregister `initrd'. + +2005-01-31 Marco Gerards + + * commands/help.c: New file. + * normal/arg.c (show_help): Renamed to... + (grub_arg_show_help): ... this. + * commands/i386/pc/halt.c: New file. + * commands/i386/pc/reboot.c: Likewise. + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `commands/help.c'. + (pkgdata_MODULES): Add `reboot.mod', `halt.mod' and `help.mod'. + (help_mod_SOURCES, help_mod_CFLAGS, reboot_mod_SOURCES) + (reboot_mod_CFLAGS, halt_mod_SOURCES, halt_mod_CFLAGS): New + variables. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add + `commands/help.c'. + (pkgdata_MODULES): Add `help.mod'. + (help_mod_SOURCES, help_mod_CFLAGS): New variables. + * grub/i386/pc/init.h (grub_reboot): New prototype. + (grub_halt): Likewise. + * include/grub/normal.h (grub_arg_show_help): New prototype. + (grub_help_init): Likewise. + (grub_help_fini): Likewise. + * util/grub-emu.c (main): Initialize and deinitialize the help + command. + + * normal/cmdline.c (grub_cmdline_get): Doc fix. + + * normal/command.c (grub_command_init): Fixed the description of + the `set' and `unset' commands. + +2005-01-31 Marco Gerards + + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_interpret): New + function. + * commands/ieee1275/halt.c: New file. + * commands/ieee1275/reboot.c: Likewise. + * commands/ieee1275/suspend.c (grub_cmd_suspend): Use + `__attribute__ ((unused))'. Some GCS related fixed. + (grub_suspend_init) [GRUB_UTIL]: Function removed. + (grub_suspend_fini): Likewise. + * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add `reboot.mod' + and `halt.mod'. + (reboot_mod_SOURCES, reboot_mod_CFLAGS, halt_mod_SOURCES) + (halt_mod_CFLAGS): New variables. + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_interpret): New prototype. + +2005-01-29 Yoshinori K. Okuji + + * include/grub/misc.h (memmove): New prototype. + (memcpy): Likewise. + +2005-01-22 Hollis Blanchard + + * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): Don't initialize + `devpath' to 0. Use `name' instead of `devpath' with `grub_strndup'. + +2005-01-22 Marco Gerards + + * kern/misc.c (grub_strndup): Function rewritten. + +2005-01-22 Vincent Pelletier + + * normal/menu.c (TERM_WIDTH): Macro redefined. + (TERM_TOP_BORDER_Y): Likewise. + (draw_border): Replaced while-loop by a for-loop. Make the number + of lines consistent with the number of lines displayed in + print_entries. Added a margin below the rectangle. + (print_entry): Make the entry fit in the rectangle. + (print_entries): Display the scroll arrows next to the right + border. + +2005-01-21 Marco Gerards + + * fs/minix.c (grub_minix_find_file): Reserve more space for + `fpath' so the \0 can be stored. Use `grub_strcpy' instead of + `grub_strncpy' to copy `path' into it. + +2005-01-21 Marco Gerards + + Add the loopback device, a device via which files can be accessed + as devices. + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/loopback.c'. + (pkgdata_MODULES): Add loopback.mod. + (loopback_mod_SOURCES): New variable. + (loopback_mod_CFLAGS): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add + `disk/loopback.c'. + (pkgdata_MODULES): Add loopback.mod. + (loopback_mod_SOURCES): New variable. + (loopback_mod_CFLAGS): Likewise. + * disk/loopback.c: new file. + * include/grub/normal.h (grub_loop_init): New prototype. + (grub_loop_fini): New prototype. + * util/grub-emu.c (main): Initialize and de-initialize loopback + support. + * include/grub/disk.h (grub_disk_dev_id): Add + `GRUB_DISK_DEVICE_LOOPBACK_ID'. + +2005-01-20 Hollis Blanchard + + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_enter): New + function. + * conf/powerpc-ieee1275.rmk (pkgdata_MODULES): Add suspend.mod. + (suspend_mod_SOURCES): New variable. + (suspend_mod_CFLAGS): Likewise. + * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_enter): + New prototype. + * commands/ieee1275/suspend.c: New file. + +2005-01-20 Timothy Baldwin + + * include/grub/dl.h (GRUB_MOD_INIT): Changed `__attribute__ + ((unused))' to `__attribute__ ((used))'. + (GRUB_MOD_FINI): Likewise. + * kern/dl.c (grub_dl_load_file): Fix null pointer dereference. + * genmk.rb (PModule): Assign space to common symbols when linking + modules. + +2005-01-20 Marco Gerards + + * include/grub/mm.h (grub_mm_init_region): Change the type of the + `unsigned' arguments to `grub_size_t'. + (grub_malloc): Likewise. + (grub_realloc): Likewise. + (grub_memalign): Likewise. + * kern/i386/dl.c (grub_arch_dl_check_header): Likewise. + * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise. + * util/misc.c (grub_malloc): Likewise. + (grub_realloc): Likewise. + * kern/mm.c (get_header_from_pointer): Change the casts to + `unsigned' into a cast to `grub_size_t'. + + * fs/fshelp.c (grub_fshelp_find_file): The `oldnode' should always + point to `currnode' when `currnode' is changed. + + * util/grub-emu.c (main): Initialize `progname'. Reported by Nico + Schottelius . + +2005-01-09 Hollis Blanchard + + * util/powerpc/ieee1275/grub-mkimage.c: Include . + (note_path): Remove variable. + (GRUB_IEEE1275_NOTE_NAME): New macro. + (GRUB_IEEE1275_NOTE_TYPE): Likewise. + (grub_ieee1275_note_hdr): New structure. + (grub_ieee1275_note_desc): Likewise. + (grub_ieee1275_note): Likewise. + (load_note): Remove `dir' argument. All callers updated. Remove + `note_img' and `path'. Do not load a file from `note_path'. + Initialize a struct grub_ieee1275_note and write that to `out'. + Use GRUB_IEEE1275_MODULE_BASE instead of MODULE_BASE. + +2005-01-05 Marco Gerards + + * util/misc.c (grub_util_read_image): Revert last change. It + called `grub_util_read_at', which seeks from the beginning of the + file. + +2005-01-04 Hollis Blanchard + + * TODO: Add note about endianness in grub-mkimage. + * boot/powerpc/ieee1275/crt0.S (note): Remove unused .note + section. + * conf/powerpc-ieee1275.rmk (bin_UTILITIES): Add grub-mkimage. + (grub_mkimage_SOURCES): New target. + * include/grub/kernel.h (grub_start_addr): Remove variable. + (grub_end_addr): Likewise. + (grub_total_module_size): Likewise. + (grub_kernel_image_size): Likewise. + (GRUB_MODULE_MAGIC): New constant. + (grub_module_info): New structure. + (grub_arch_modules_addr): New prototype. + (grub_get_end_addr): Remove prototype. + * include/grub/i386/pc/kernel.h (grub_end_addr): New prototype. + * include/grub/powerpc/ieee1275/kernel.h: New file. + * include/grub/util/misc.h (grub_util_get_fp_size): New + prototype. + (grub_util_read_at): Likewise. + (grub_util_write_image_at): Likewise. + * kern/main.c (grub_get_end_addr): Remove function. + (grub_load_modules): Call grub_arch_modules_addr instead of using + grub_end_addr. Look for a grub_module_info struct in memory. Use + the grub_module_info fields instead of calling grub_get_end_addr + as loop conditions. Move grub_add_unused_region code here. + (grub_add_unused_region): Remove function. + * kern/i386/pc/init.c: Include grub/cache.h. + (grub_machine_init): Remove call to grub_get_end_addr. Remove + one call to add_mem_region. + (grub_arch_modules_addr): New function. + * kern/powerpc/ieee1275/init.c (grub_end_addr): Remove variable. + (grub_total_module_size): Likewise. + Include grub/machine/kernel.h. + (grub_arch_modules_addr): New function. + * util/grub-emu.c (grub_end_addr): Remove variable. + (grub_total_module_size): Likewise. + (grub_arch_modules_addr): New function. + * util/misc.c: Include unistd.h. + (grub_util_get_fp_size): New function. + (grub_util_read_at): Likewise. + (grub_util_write_image_at): Likewise. + (grub_util_read_image): Call grub_util_read_at. + (grub_util_write_image): Call grub_util_write_image_at. + * util/i386/pc/grub-mkimage.c (generate_image): Allocate + additional memory in kernel_img for a struct grub_module_info. + Fill in that grub_module_info. + * util/powerpc/ieee1275/grub-mkimage.c: New file. + +2005-01-03 Hollis Blanchard + + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_milliseconds): + New function. + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_milliseconds): New prototype. + * include/grub/powerpc/ieee1275/time.h (GRUB_TICKS_PER_SECOND): + Change to 1000. + * kern/powerpc/ieee1275/init.c (grub_get_rtc): Call + grub_ieee1275_milliseconds. + +2005-01-03 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c (grub_ieee1275_realmode): New + variable. + (find_options): New function. + (cmain): Call find_options. + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_realmode): New extern variable. + * kern/powerpc/ieee1275/openfw.c (grub_claimmap): Only call + grub_map if grub_ieee1275_realmode is false. + +2004-12-29 Marco Gerards + + * normal/cmdline.c (grub_cmdline_get): Redone logic so no empty + lines are inserted and make it work like readline. Reported by + Vincent Pelletier . + +2004-12-28 Marco Gerards + + * boot/powerpc/ieee1275/crt0.S (_start): Don't set up the stack. + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCE): Remove + `kern/powerpc/cache.S'. + +2004-12-27 Marco Gerards + + * genmk.rb: Handle the `Program' class in the main loop. Written + by Johan Rydberg . + (Program): New class. + (programs): New variable. + * boot/powerpc/ieee1275/cmain.c: Include + instead of "grub/machine/ieee1275.h". Include + instead of "grub/kernel.h". Include . + (help_arch): Function removed. + * conf/powerpc-ieee1275.rmk (grubof_HEADERS): Add + `powerpc/libgcc.h' and `loader.h'. + (pkgdata_PROGRAMS): New variable. + (sbin_UTILITIES): Variable removed. + (grub_emu_SOURCES): Added kern/powerpc/cache.S. + (grubof_SOURCES): Variable re-defined so it only includes the + core functionality. + (grubof_CFLAGS): Remove `-DGRUBOF'. + (pkgdata_MODULES, fshelp_mod_SOURCES, fshelp_mod_CFLAGS, + (fat_mod_SOURCES, fat_mod_CFLAGS, ext2_mod_SOURCES) + (ext2_mod_CFLAGS, ufs_mod_SOURCES, ufs_mod_CFLAGS) + (minix_mod_SOURCES, minix_mod_CFLAGS, hfs_mod_SOURCES) + (hfs_mod_CFLAGS, jfs_mod_SOURCES, jfs_mod_CFLAGS) + (iso9660_mod_SOURCES, iso9660_mod_CFLAGS, _linux_mod_SOURCES) + (_linux_mod_CFLAGS, linux_mod_SOURCES, linux_mod_CFLAGS) + (normal_mod_SOURCES, normal_mod_CFLAGS, normal_mod_ASFLAGS) + (hello_mod_SOURCES, hello_mod_CFLAGS, boot_mod_SOURCES) + (boot_mod_CFLAGS, terminal_mod_SOURCES, terminal_mod_CFLAGS) + (ls_mod_SOURCES, ls_mod_CFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS) + (cat_mod_SOURCES, cat_mod_CFLAGS, font_mod_SOURCES) + (font_mod_CFLAGS, amiga_mod_SOURCES, amiga_mod_CFLAGS) + (apple_mod_SOURCES, apple_mod_CFLAGS, pc_mod_SOURCES) + (pc_mod_CFLAGS): New variables. + * disk/powerpc/ieee1275/ofdisk.c: Include . + (grub_ofdisk_iterate): Add a prototype for `dev_iterate'. + * include/grub/dl.h (grub_arch_dl_sync_caches): New prototype. + * include/grub/loader.h (grub_os_area_addr, grub_os_area_size): + Moved from here... + * include/grub/i386/pc/init.h (grub_os_area_addr) + (rub_os_area_size): ... to here. + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_entry_fn): Export symbol. + * include/grub/powerpc/ieee1275/init.h: New file. + * include/grub/powerpc/libgcc.h: Likewise. + * include/grub/cache.h: Likewise. + * kern/powerpc/cache.S: Likewise. Written by Hollis Blanchard + . + * kern/dl.c: Include . + (grub_dl_flush_cache): New function. + (grub_dl_load_core): Call `grub_dl_flush_cache' to flush the cache + for this module. + * kern/powerpc/ieee1275/init.c (grub_ofdisk_init) + (grub_console_init): Removed prototypes. + (grub_machine_init): Don't initialize the modules anymore. + * kern/powerpc/ieee1275/openfw.c (grub_map): Make the function + static. + * include/grub/powerpc/types.h (GRUB_HOST_WORDS_LITTLEENDIAN): + Macro undef removed. + (GRUB_HOST_WORDS_BIGENDIAN): New macro. + * kern/powerpc/dl.c (grub_arch_dl_relocate_symbols): Add + relocation `R_PPC_REL32'. Return an error when the relocation is + unknown. + * Makefile.in (DATA): Add `$(pkgdata_PROGRAMS)'. + * kern/i386/pc/init.c (grub_arch_sync_caches): New function. + * util/misc.c (grub_arch_sync_caches): Likewise. + +2004-12-19 Marco Gerards + + * conf/powerpc-ieee1275.rmk (MOSTLYCLEANFILES): Remove + `symlist.c', add `grubof_symlist.c'. + (symlist.c): Variable removed. + (grubof_HEADERS): Variable added. + (grubof_symlist.c): New target. + (kernel_syms.lst): Use `grubof_HEADERS' instead of + `kernel_img_HEADERS'. + (grubof_SOURCES): Add `kern/powerpc/dl.c' and `grubof_symlist.c'. + * kern/powerpc/dl.c: New file. + * kern/powerpc/ieee1275/init.c (grub_arch_dl_check_header): + Function removed. + (grub_arch_dl_relocate_symbols): Likewise. + (grub_register_exported_symbols): Likewise. + +2004-12-13 Marco Gerards + + * fs/ext2.c (grub_ext2_open): Don't use data after freeing it. + (grub_ext2_dir): Likewise. Don't return in case of an error, jump + to fail instead. Reported by Vincent Pelletier + . + + * fs/fshelp.c (grub_fshelp_find_file): Don't free `oldnode' when + it is not allocated. Reported by Vincent Pelletier + . + + * normal/cmdline.c (grub_tab_complete): Add a blank line to the + output so the output looks better. + +2004-12-04 Marco Gerards + + Modulize the partition map support and add support for the amiga + partition map. + + * commands/ls.c: Include instead of + . + * kern/disk.c: Likewise. + * kern/rescue.c: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * normal/cmdline.c: Likewise. + * kern/powerpc/ieee1275/init.c: Likewise. + (grub_machine_init): Call `grub_pc_partition_map_init', + `grub_amiga_partition_map_init' and + `grub_apple_partition_map_init'. + * conf/i386-pc.rmk (kernel_img_SOURCES): Remove + `disk/i386/pc/partition.c'. Add `kern/partition.c'. + (kernel_img_HEADERS): Remove `machine/partition.h'. Add + `partition.h' and `pc_partition.h'. + (grub_setup_SOURCES): Remove + `disk/i386/pc/partition.c'. Add `kern/partition.c', + `partmap/amiga.c', `partmap/apple.c' and `partmap/pc.c'. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add `amiga.mod', `apple.mod' and `pc.mod'. + (amiga_mod_SOURCES, amiga_mod_CFLAGS, apple_mod_SOURCES) + (apple_mod_CFLAGS, pc_mod_SOURCES, pc_mod_CFLAGS): New variables. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Remove + `disk/powerpc/ieee1275/partition.c'. Add `kern/partition.c', + `partmap/amiga.c', `partmap/apple.c' and `partmap/pc.c'. + (grubof_SOURCES): Likewise. + * disk/i386/pc/partition.c: File removed. + * disk/powerpc/ieee1275/partition.c: Likewise. + * include/grub/powerpc/ieee1275/partition.h: Likewise. + * include/grub/i386/pc/partition.h: Likewise. + * kern/partition.c: New file. + * partmap/amiga.c: Likewise. + * partmap/apple.c: Likewise. + * partmap/pc.c: Likewise. + * include/grub/partition.h: Likewise.. + * include/grub/pc_partition.h: Likewise. + * util/grub-emu.c: Include instead of + . + (main): Call `grub_pc_partition_map_init', + `grub_amiga_partition_map_init' and + `grub_apple_partition_map_init' and deinitialize afterwards. + * util/i386/pc/biosdisk.c: Include `#include + ' and `include ' instead of + `'. + * util/i386/pc/grub-setup.c: Likewise. + * util/i386/pc/biosdisk.c: Likewise. + (grub_util_biosdisk_get_grub_dev): Only access the PC specific + partition information in case of a PC partition. + * util/i386/pc/grub-setup.c: Include `#include + ' and `include ' instead of + `'. + (setup): Only access the PC specific partition information in case + of a PC partition. + +2004-11-17 Hollis Blanchard + + * kern/powerpc/ieee1275/init.c (grub_setjmp): Remove function. + (grub_longjmp): Likewise. + * include/grub/powerpc/setjmp.h (grub_jmp_buf): Set array size to + 20. + * normal/powerpc/setjmp.S: New file. + * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Add + `normal/powerpc/setjmp.S'. + (grubof_CFLAGS): Add `-DGRUBOF'. + * include/grub/setjmp.h [GRUB_UTIL]: Changed condition to + [GRUB_UTIL && !GRUBOF]. + +2004-11-16 Marco Gerards + + * kern/powerpc/ieee1275/openfw.c (grub_devalias_iterate): Skip any + property named `name'. Correctly handle the error returned by + `grub_ieee1275_finddevice' if a device can not be opened. + +2004-11-02 Hollis Blanchard + + * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_readkey): Test + `actual' for negativity. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Remove + kern/fshelp.c. + +2004-11-01 Marco Gerards + + * term/i386/pc/vga.c (VGA_HEIGHT): Changed to 350. + (PAGE_OFFSET): New macro. + (CRTC_ADDR_PORT): Likewise. + (CRTC_DATA_PORT): Likewise. + (START_ADDR_HIGH_REGISTER): Likewise. + (START_ADDR_LOW_REGISTER): Likewise. + (GRAPHICS_ADDR_PORT): Likewise. + (GRAPHICS_DATA_PORT): Likewise. + (READ_MAP_REGISTER): Likewise. + (INPUT_STATUS1_REGISTER): Likewise. + (INPUT_STATUS1_VERTR_BIT): Likewise. + (page): New variable. + (wait_vretrace): New function. + (set_read_map): Likewise. + (set_start_address): Likewise. + (grub_vga_init): Use mode 0x10 instead of mode 0x12. Switch to + the right page. + (check_vga_mem): Take the page into account. + (write_char): Likewise. + (write_cursor): Likewise. + (scroll_up): Likewise. Copy the page to the page that is not + shown and switch between both pages. + (grub_vga_putchar): Fix off by one error. + (grub_vga_cls): Wait for the vertical retrace. Take the page into + account. + +2004-11-01 Marco Gerards + + Add support for iso9660 (including rockridge). + + * conf/i386-pc.rmk (grub_emu_SOURCES): Add fs/iso9660.c. + (iso9660_mod_SOURCES): New variable. + (iso9660_mod_CFLAGS): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs/iso9660.c. + * include/grub/fs.h (grub_iso9660_init): New prototype. + * util/grub-emu.c (main): Call `grub_iso9660_init'. + * fs/iso9660.c: New file. + + * include/grub/misc.h (grub_strncat): New prototype. + * kern/misc.c (grub_strncat): New function. + + * fs/hfs.c (grub_hfs_mount): Translate the error + `GRUB_ERR_OUT_OF_RANGE' to `GRUB_ERR_BAD_FS'. + * fs/jfs.c (grub_jfs_mount): Likewise. + * fs/ufs.c (grub_ufs_mount): Likewise. + +2004-10-28 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c (cmain): Remove asm statements + which initialized BAT registers. + * boot/powerpc/ieee1275/ieee1275.c (IEEE1275_CALL_ENTRY_FN, + grub_ieee1275_common_hdr, INIT_IEEE1275_COMMON): + Move from here... + * include/grub/powerpc/ieee1275/ieee1275.h (IEEE1275_CALL_ENTRY_FN, + grub_ieee1275_common_hdr, INIT_IEEE1275_COMMON): + ... to here. + * kern/powerpc/ieee1275/openfw.c (grub_map): New function. + (grub_mapclaim): Likewise. + * loader/powerpc/ieee1275/linux.c (grub_load_linux): Use + grub_mapclaim instead of grub_ieee1275_claim. Assign linux_addr by + hand. + +2004-10-19 Hollis Blanchard + + * conf/powerpc-ieee1275.rmk (COMMON_ASFLAGS): Remove -fno-builtin. + (COMMON_CFLAGS): Remove -fno-builtin and -D__ASSEMBLY__. Add + -ffreestanding and -msoft-float. + +2004-10-15 Hollis Blanchard + + * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_open): Do not + append ":0" to devpath if the GRUB_IEEE1275_NO_PARTITION_0 flag is + set in grub_ieee1275_flags. + +2004-10-14 Hollis Blanchard + + * include/grub/powerpc/ieee1275/ieee1275.h (abort): Add function + prototype. + * kern/powerpc/ieee1275/init.c (grub_machine_init): Call + grub_console_init first. + Change the memory range used for grub_ieee1275_claim and + grub_mm_init_region. + Print an error message if the claim fails. + Include . + +2004-10-13 Hollis Blanchard + + * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_iterate): + Call grub_children_iterate for device nodes of type `scsi', + `ide', or `ata'. + (grub_ofdisk_open): Remove manual device alias resolution. + Fix memory leak when device cannot be opened. + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_children_iterate): New prototype. + * kern/powerpc/ieee1275/openfw.c (grub_children_iterate): + New function. + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property): + Return -1 if args.size was -1. + +2004-10-11 Hollis Blanchard + + * boot/powerpc/ieee1275/cmain.c (grub_ieee1275_flags): New global. + (cmain): Accept 3 parameters. Test for 0xdeadbeef, indicating Old + World Macintosh. If Old Wold, set flag in grub_ieee1275_flags; claim + Open Firmware's memory for it; claim memory from _start to _end. + * boot/powerpc/ieee1275/crt0.S (__bss_start): New extern. + (_end): New extern. + (_start): Zero BSS from __bss_start to _end. + * include/grub/powerpc/ieee1275/ieee1275.h (grub_ieee1275_flags): + New extern. + (GRUB_IEEE1275_NO_PARTITION_0): New #define. + +2004-10-11 Hollis Blanchard + + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim): Return + -1 if args.base was -1. + +2004-10-08 Hollis Blanchard + + * term/powerpc/ieee1275/ieee1275.c (grub_ofconsole_cls): Use an ANSI + escape sequence instead of a literal ^L. Also call + grub_ofconsole_gotoxy. + +2004-10-03 Hollis Blanchard + + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_claim): change + void * arguments to grub_addr_t. All callers updated. Also make + the `result' argument optional. + (grub_ieee1275_release): change void * arguments to grub_addr_t. + All callers updated. + +2004-09-22 Hollis Blanchard + + * commands/ls.c (grub_ls_list_files): Use the string following the + initial ')', if present, as the filesystem path. + * kern/rescue.c (grub_rescue_cmd_ls): Likewise. + + * conf/powerpc-ieee1275.rmk (grubof_SOURCES): List crt0.S first. + +2004-09-18 Yoshinori K. Okuji + + Make the source code of the menu interface more readable. + + * normal/menu.c: Include grub/mm.h. + (TERM_WIDTH): New macro. + (TERM_HEIGHT): Likewise. + (TERM_INFO_HEIGHT): Likewise. + (TERM_MARGIN): Likewise. + (TERM_SCROLL_WIDTH): Likewise. + (TERM_TOP_BORDER_Y): Likewise. + (TERM_LEFT_BORDER_X): Likewise. + (TERM_BORDER_WIDTH): Likewise. + (TERM_MESSAGE_HEIGHT): Likewise. + (TERM_BORDER_HEIGHT): Likewise. + (TERM_NUM_ENTRIES): Likewise. + (TERM_FIRST_ENTRY_Y): Likewise. + (TERM_ENTRY_WIDTH): Likewise. + (TERM_CURSOR_X): Likewise. + (draw_border): Use macros instead of magic numbers. + (print_entry): Likewise. + (print_entries): Likewise. + (run_menu): Likewise. Also, handle the key 'e'. + (run_menu_entry): Ignore empty command lines. + (print_message): Added a new argument EDIT. If EDIT is true, + print a different message. + (init_page): Likewise. + (edit_menu_entry): New function. Not implemented yet. + +2004-09-17 Marco Gerards + + Add `linux.mod' and `multiboot.mod' so linux and multiboot kernels + can be loaded from normal mode. + + * conf/i386-pc.rmk (pkgdata_MODULES): Add `linux.mod' and + `multiboot.mod'. + (linux_mod_SOURCES, linux_mod_CFLAGS, multiboot_mod_SOURCES) + (multiboot_mod_CFLAGS): New variables. + * loader/i386/pc/linux_normal.c: New file. + * loader/i386/pc/multiboot_normal.c: Likewise. + + * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Don't use the + attribute `unused'. + + * fs/ext2.c (grub_ext2_iterate_dir): Fix typos in inode type. Use + `fdiro' to read the mode information from instead of `diro'. + + * fs/fshelp.c (grub_fshelp_find_file): Set type to foundtype after + looking up a symlink. + + * include/grub/normal.h (GRUB_COMMAND_FLAG_NO_ARG_PARSE): New + macro. + * normal/command.c (grub_command_execute): Don't parse the + arguments when `GRUB_COMMAND_FLAG_NO_ARG_PARSE' is set in the + flags of the command. + + * normal/menu.c (grub_menu_run): Fix typo. + +2004-09-14 Hollis Blanchard + + * kern/powerpc/ieee1275/init.c (abort): Trap into Open Firmware. + + * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_gotoxy): Use + `y + 1' instead of `y - 1'. + + * conf/powerpc-ieee1275.rmk (grubof_LDFLAGS): Add `-N' and `-S'. + +2004-09-14 Yoshinori K. Okuji + + From Hollis Blanchard : + * kern/misc.c (memmove): New alias for grub_memmove. + (memcmp): New alias for grub_memcmp. + (memset): New alias for grub_memset. + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_get_property): + Change "int handle" to "grub_ieee1275_phandle_t handle". + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_get_property): Likewise. + +2004-09-12 Tomas Ebenlendr + + Added normal mode command `chainloader' as module chain.mod, which + depends on normal.mod and _chain.mod. + + * conf/i386-pc.rmk (pkgdata_MODULES): Add `chain.mod'. + (chain_mod_SOURCES, chain_mod_CFLAGS): Variables added. + * include/grub/i386/pc/loader.h (grub_rescue_cmd_chainloader): + Deleted prototype. + * loader/i386/pc/chainloader.c (grub_rescue_cmd_chainloader): All + but arguments parsing moved to ... + (grub_chainloader_cmd): ... here. New function. + * include/grub/i386/pc/chainloader.h: New file. + * loader/i386/pc/chainloader_normal.c: Likewise. + +2004-09-11 Marco Gerards + + * conf/i386-pc.rmk (kernel_img_SOURCES): Added kern/fshelp.c. + (grub_mkimage_LDFLAGS): Likewise. + (grub_emu_SOURCES): Likewise. + (kernel_img_HEADERS): Added fshelp.h. + * fs/ext2.c: Include . + (FILETYPE_REG): New macro. + (FILETYPE_INO_REG): Likewise. + (grub_ext_sblock): Renamed to `grub_ext2_sblock'. + Changed all users. + (ext2_block_group): Renamed to `grub_ext2_block_group'. Changed + all users. + (grub_fshelp_node): New struct. + (grub_ext2_data): Added member `diropen'. Changed member `inode' + to a pointer. + (grub_ext2_get_file_block): Removed function. + (grub_ext2_read_block): New function. + (grub_ext2_read_file): Replaced parameter `data' by `node'. + This function was written. + (grub_ext2_mount): Read the root inode. Create a diropen struct. + (grub_ext2_find_file): Removed function. + (grub_ext2_read_symlink): New function. + (grub_ext2_iterate_dir): Likewise. + (grub_ext2_open): Rewritten. + (grub_ext2_dir): Rewritten. + * include/grub/fshelp.h: New file. + * fs/fshelp.c: Likewise. + +2004-09-10 Yoshinori K. Okuji + + * normal/menu.c: Include grub/loader.h and grub/machine/time.h. + (print_message): Add a missing newline. + (run_menu): Added timeout support. + (run_menu_entry): New local function. + (grub_menu_run): Added support for booting. + + * kern/loader.c (grub_loader_is_loaded): New function. + + * include/grub/powerpc/ieee1275/time.h: Include grub/symbol.h. + (grub_get_rtc): Exported. + + * include/grub/i386/pc/time.h: Include grub/symbol.h. + (grub_get_rtc): Exported. + + * include/grub/normal.h (struct grub_command_list): Remove + constant from the member `command'. + + * include/grub/loader.h (grub_loader_is_loaded): Declared. + + * include/grub/err.h (GRUB_ERR_INVALID_COMMAND): New constant. + + * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/time.h. + +2004-08-28 Marco Gerards + + Add support for the JFS filesystem. + + * fs/jfs.c: New file. + * include/grub/fs.h (grub_jfs_init): New prototype. + (grub_jfs_fini): New prototype. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/jfs.c. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add jfs.mod. + (jfs_mod_SOURCES): New variable. + (jfs_mod_CFLAGS): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs.jfs.c. + (grubof_SOURCES): Likewise. + * util/grub-emu.c (main): Initialize and deinitialize JFS support. + + * fs/fat.c (grub_fat_find_dir): Convert the filename little + endian to the host endian. + (grub_fat_utf16_to_utf8): Move function from there... + * kern/misc.c (grub_utf16_to_utf8): ...to here. Do not convert + the endianness of the source string anymore. + * include/grub/misc.h (grub_utf16_to_utf8): New prototype. + +2004-08-24 Marco Gerards + + * commands/boot.c (grub_boot_init) [GRUB_UTIL]: Make conditional. + (grub_boot_fini) [GRUB_UTIL]: Likewise. + (GRUB_MOD_INIT) [!GRUB_UTIL]: Likewise. + (GRUB_MOD_FINI) [!GRUB_UTIL]: Likewise. + + * fs/hfs.c (grub_hfs_find_node): Add a prototype for `node_found'. + (grub_hfs_iterate_dir): Make the function static. Add prototypes + for `node_found' and `it_dir'. + (grub_hfs_dir): Add prototype for `dir_hook'. + + * fs/minix.c (grub_minix_get_file_block): Add prototype for + `grub_get_indir'. Rename `indir' in two blocks to `indir16' + and `indir32' to silence a gcc warning. + + * include/grub/fs.h (grub_hfs_init): New prototype. + (grub_hfs_fini): Likewise. + + +2004-08-21 Yoshinori K. Okuji + + Each disk device has its own id now. This is useful to make use + of multiple disk devices. + + * include/grub/disk.h (grub_disk_dev_id): New enum. + (GRUB_DISK_DEVICE_BIOSDISK_ID): New constant. + (GRUB_DISK_DEVICE_OFDISK_ID): Likewise. + + * disk/i386/pc/biosdisk.c (grub_biosdisk_dev): Specify + GRUB_DISK_DEVICE_BIOSDISK_ID as an id. + + * disk/powerpc/ieee1275/ofdisk.c (grub_ofdisk_dev): Specify + GRUB_DISK_DEVICE_OFDISK_ID as an id. + + * util/i386/pc/biosdisk.c (grub_util_biosdisk_dev): Specify + GRUB_DISK_DEVICE_BIOSDISK_ID as an id. + + * include/grub/disk.h (struct grub_disk_dev): Added a new member + "id" which is used by the cache manager. + + * normal/main.c (grub_normal_init_page): Use "GNU GRUB" instead + of just "GRUB". + +2004-08-18 Marco Gerards + + * fs/hfs.c: New file. + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/hfs.c. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add hfs.mod. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs/hfs.c. + (grubof_SOURCES): Likewise. + * util/grub-emu.c (main): Initialize and deinitialize HFS support. + + * include/grub/misc.h (grub_strncasecmp): Add prototype. + * kern/misc.c (grub_strncasecmp): Add function. + +2004-08-14 Marco Gerards + + * include/grub/arg.h (GRUB_ARG_OPTION_OPTIONAL): Surround macro + with parentheses. + + * fs/ext2.c (FILETYPE_UNKNOWN): New macro. + (grub_ext2_dir): In case the directory entry type is unknown, read + it from the inode. + +2004-08-02 Peter Bruin + + * loader/powerpc/ieee1275/linux.c (grub_linux_init): Pass + grub_load_linux instead of grub_rescue_cmd_linux as second + argument of grub_rescue_register_command. + + * Makefile.in (RMKFILES): Add conf/powerpc-ieee1275.rmk. + +2004-07-27 Marco Gerards + + * boot/powerpc/ieee1275/ieee1275.c (grub_ieee1275_release): New + function. + * commands/boot.c: Remove the check for `GRUB_UTIL'. + * conf/powerpc-ieee1275.rmk (grubof_SOURCES): Add + `loader/powerpc/ieee1275/linux.c', + `loader/powerpc/ieee1275/linux_normal.c' and `commands/boot.c'. + * include/grub/powerpc/ieee1275/ieee1275.h + (grub_ieee1275_release): New prototype. + * include/grub/powerpc/ieee1275/loader.h: Rewritten. + * kern/powerpc/ieee1275/init.c (grub_machine_init): Initialize + normal, boot, linux and linux_normal. + * loader/powerpc/ieee1275/linux.c: New file. + * loader/powerpc/ieee1275/linux_normal.c: Likewise. + +2004-07-12 Marco Gerards + + * normal/arg.c (grub_arg_parse): Correct error handling after + reallocating the argumentlist (check if `argl' is not null instead + of checking if `args' is not null). + * kern/mm.c (grub_realloc): Return the same pointer when using the + same region, instead of returning the header address. + +2004-07-11 Marco Gerards + + * disk/powerpc/ieee1275/partition.c (grub_partition_iterate): Skip + one block instead of two when looking for the initial partition. + (grub_partition_probe): Initialize the local variable `p' with 0. + Use base 10 for the grub_strtoul call. + * kern/misc.c (grub_strncpy): Fix off by one bug. Eliminated the + need for one local variable. + (grub_strtoul): Don't add the new value to `num', instead of that + just assign it. + +2004-07-11 Marco Gerards + + * conf/i386-pc.rmk (pkgdata_IMAGE): Add pxeboot.img. + (pxeboot_img_SOURCES): New variable. + (pxeboot_img_ASFLAGS): Likewise. + (pxeboot_img_LDFLAGS): Likewise. + * boot/i386/pc/pxeboot.S: New file. Based on pxeloader.S from + GRUB Legacy and boot.S. Adopted for GRUB 2 by lode leroy + . + +2004-06-27 Tomas Ebenlendr + + * kern/rescue.c (grub_enter_rescue_mode): Don't continue when + there was no input. + +2004-06-27 Tomas Ebenlendr + + * normal/cmdline.c (grub_set_history): Fix off by one bug. Fixed + the history buffer logic. + +2004-06-27 Tomas Ebenlendr + + * fs/ext2.c (FILETYPE_INO_MASK, FILETYPE_INO_DIRECTORY) + (FILETYPE_INO_SYMLINK): New macros. + (grub_ext2_find_file): Check if the node is a directory using the + inode stat information instead of using the filetype in the + dirent. Exclude the first character of an absolute symlink. + (grub_ext2_dir): Mask out the filetype part of the mode member of + the inode. + +2004-05-24 Marco Gerards + + Add support for UFS version 1 and 2. Add support for the minix + filesystem version 1 and 2, both the variants with 14 and 30 long + filenames. + + * conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ufs.c and + fs/minix.c. + (grub_emu_SOURCES): Likewise. + (pkgdata_MODULES): Add ufs.mod and minix.mod. + (ufs_mod_SOURCES): New variable. + (ufs_mod_CFLAGS): Likewise. + (minix_mod_SOURCES): Likewise. + (minix_mod_CFLAGS): Likewise. + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add fs/ufs.c and + fs/minix.c. + (grubof_SOURCES): Likewise. + * fs/ufs.c: New file. + * fs/minix.c: New file. + * include/grub/fs.h (grub_ufs_init): New prototype. + (grub_ufs_fini): Likewise. + (grub_minix_init): Likewise. + (grub_minix_fini): Likewise. + * util/grub-emu.c (main): Initialize and deinitialize UFS and + minix fs. + +2004-04-30 Jeroen Dekkers + + * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add normal/arg.c, + commands/ls.c, commands/terminal.c, commands/boot.c, + commands/cmp.c and commands/cat.c. + (grubof_LDFLAGS): Add -nostdlib -static-libgcc -lgcc. + + * kern/powerpc/ieee1275/init.c: Include "grub/env.h" instead of + "env.h" + +2004-04-04 Yoshinori K. Okuji + + All symbols prefixed with PUPA_ and pupa_ are renamed to GRUB_ + and grub_, respectively. Because the conversion is trivial and + mechanical, I omit the details here. Please refer to the CVS + if you need more information. + +2004-04-04 Yoshinori K. Okuji + + * include/pupa: Renamed to ... + * include/grub: ... this. + * util/i386/pc/pupa-mkimage.c: Renamed to ... + * util/i386/pc/grub-mkimage.c: ... this. + * util/i386/pc/pupa-setup.c: Renamed to ... + * util/i386/pc/grub-setup.c: ... this. + * util/pupa-emu.c: Renamed to ... + * util/grub-emu.c: ... this. + +2004-03-29 Marco Gerards + + Add support for the newworld apple macintosh (PPC). This has been + tested on the powerbook 2000 only. It only adds support for + generic ieee1275 functions, console and disk support. This should + be easy to port to other architectures with support for Open + Firmware. + + * configure.ac: Accept the powerpc as host_cpu. In the case of + the powerpc cpu set the host_vendor to ieee1275. Make sure the i386 + specific tests are only executed while building for the i386. + Inverse test for crosscompile. + * genmk.rb (Utility): Allow assembler files. + * normal/cmdline.c (pupa_tab_complete): Reset pupa_errno. + * conf/powerpc-ieee1275.rmk: New file. + * disk/powerpc/ieee1275/ofdisk.c: Likewise. + * disk/powerpc/ieee1275/partition.c: Likewise. + * include/pupa/powerpc/ieee1275/biosdisk.h: Likewise. + * include/pupa/powerpc/ieee1275/console.h: Likewise. + * include/pupa/powerpc/ieee1275/partition.h: Likewise. + * include/pupa/powerpc/ieee1275/time.h: Likewise. + * include/pupa/powerpc/ieee1275/util/biosdisk.h: Likewise. + * include/pupa/powerpc/ieee1275/multiboot.h: Likewise. + * include/pupa/powerpc/ieee1275/loader.h + * include/pupa/powerpc/setjmp.h: Likewise. + * include/pupa/powerpc/types.h: Likewise. + * kern/powerpc/ieee1275/init.c: Likewise. + * kern/powerpc/ieee1275/openfw.c: Likewise. + * term/powerpc/ieee1275/ofconsole.c: Likewise. + + These files were written by Johan Rydberg + (jrydberg@night.trouble.net) and I only modified them slightly. + + * boot/powerpc/ieee1275/cmain.c: New file. + * boot/powerpc/ieee1275/crt0.S: Likewise. + * boot/powerpc/ieee1275/ieee1275.c: Likewise. + * include/pupa/powerpc/ieee1275/ieee1275.h: Likewise. + +2004-03-14 Jeroen Dekkers + + * Makefile.in: Update copyright. + * genmodsrc.sh: Likewise. + * gensymlist.sh: Likewise. + * term/i386/pc/vga.c: Indent correctly. + + * util/i386/pc/pupa-mkimage.c (usage): Use PACKAGE_BUGREPORT as + bugreporting address. + * util/i386/pc/pupa-setup.c (usage): Likewise, + (main): Call pupa_ext2_init and pupa_ext2_fini. + + * fs/fat.c (log2): Renamed to ... + (fat_log2): ... this. + All callers changed. + * kern/misc.c (memcpy): Alias to pupa_memmove. + * loader/i386/pc/multiboot.c (pupa_rescue_cmd_multiboot): Fix + lvalue cast. + * util/console.c (pupa_ncurses_fini): Return 0. + + * util/i386/pc/biosdisk.c (pupa_util_biosdisk_open)[__linux__]: + Move fail label here. + [__GNU__]: Don't warn when using stat. + (open_device)[!__linux__]: Check if FD < 0 instead of !FD. + (pupa_util_biosdisk_get_pupa_dev)[__GNU__]: Change type of N to + long int. Use strtol instead of strtoul. + +2004-03-14 Marco Gerards + + * commands/boot.c: New file. + * commands/cat.c: Likewise. + * commands/cmp.c: Likewise. + * commands/ls.c: Likewise. + * commands/terminal.c: Likewise. + * normal/command.c: Include and . + (pupa_register_command): Changed interface to match the new + argument parser. + (pupa_command_execute): Changed (almost rewritten) so it uses + pupa_split_command. Added support for setting variables using the + syntax `foo=bar'. + (rescue_command): Changed to work with the new argument parser. + (terminal_command): Moved from here to commands/terminal.c. + (set_command): New function. + (unset_command): New function. + (insmod_command): New function. + (rmmod_command): New function. + (lsmod_command): New function. + (pupa_command_init): Don't initialize the command terminal + anymore. Initialize the commands set, unset, insmod, rmmod and + lsmod. + * conf/i386-pc.rmk (kernel_img_SOURCES): Add kern/env.c. + (kernel_img_HEADERS): Add arg.h and env.h. + (pupa_mkimage_LDFLAGS): Add kern/env.c. + (pupa_emu_SOURCES): Add kern/env.c, commands/ls.c, + commands/terminal.c commands/boot.c commands/cmp.c commands/cat.c, + normal/arg.c. + (pkgdata_MODULES): Add ls.mod, boot.mod, cmp.mod, cat.mod and + terminal.mod. + (normal_mod_SOURCES): Add normal/arg.c and normal/arg.c. + (boot_mod_SOURCES): New variable. + (terminal_mod_SOURCES): Likewise. + (ls_mod_SOURCES): Likewise. + (cmp_mod_SOURCES): Likewise. + (cat_mod_SOURCES): Likewise. + + * normal/arg.c: New file. + * kern/env.c: Likewise. + * include/pupa/arg.h: Likewise. + * include/pupa/env.h: Likewise. + * font/manager.c (font_command): Changed to match argument parsing + interface changes. + (PUPA_MOD_INIT): Likewise. + * hello/hello.c (pupa_cmd_hello): Likewise. + (PUPA_MOD_INIT): Likewise. + * include/pupa/disk.h: Include . + (pupa_print_partinfo): New prototype. + * include/pupa/dl.h (pupa_dl_set_prefix): Prototype removed. + (pupa_dl_get_prefix): Likewise. + * include/pupa/misc.h: Include . + (pupa_isgraph): New prototype. + (pupa_isdigit): Likewise. + (pupa_split_cmdline): Likewise. + * include/pupa/normal.h: Include . + (pupa_command): Changed the prototype of the member `func' to + match the argument parsing interface. Added member `options'. + (pupa_register_command): Updated to match function. + (pupa_arg_parse): New prototype. + (pupa_hello_init) [PUPA_UTIL]: New prototype. + (pupa_hello_fini) [PUPA_UTIL]: Likewise. + (pupa_ls_init) [PUPA_UTIL]: Likewise. + (pupa_ls_fini) [PUPA_UTIL]: Likewise. + (pupa_cat_init) [PUPA_UTIL]: Likewise. + (pupa_cat_fini) [PUPA_UTIL]: Likewise. + (pupa_boot_init) [PUPA_UTIL]: Likewise. + (pupa_boot_fini) [PUPA_UTIL]: Likewise. + (pupa_cmp_init) [PUPA_UTIL]: Likewise. + (pupa_cmp_fini) [PUPA_UTIL]: Likewise. + (pupa_terminal_init) [PUPA_UTIL]: Likewise. + (pupa_terminal_fini) [PUPA_UTIL]: Likewise. + * kern/disk.c: Include . + (pupa_print_partinfo): New function. + * kern/dl.c: Include . + (pupa_dl_dir): Variable removed. + (pupa_dl_load): Use the environment variable `prefix' instead of + the variable pupa_dl_dir. + (pupa_dl_set_prefix): Function removed. + (pupa_dl_get_prefix): Likewise. + * kern/i386/pc/init.c: Include . + (pupa_machine_init): Use the environment variable `prefix' instead of + using pupa_dl_set_prefix to set the prefix. + * kern/main.c: Include . + (pupa_set_root_dev): Use the environment variable `prefix' instead of + using pupa_dl_get_prefix to get the prefix. + * kern/misc.c: Include . + (pupa_isdigit): New function. + (pupa_isgraph): Likewise. + (pupa_ftoa): Likewise. + (pupa_vsprintf): Added support for printing values of the type + `double'. Make it possible to format variable output when using + formatting like `%1.2%f'. + (pupa_split_cmdline): New function. + * kern/rescue.c: Include . + (next_word): Removed function. + (pupa_rescue_cmd_prefix): Likewise. + (pupa_rescue_cmd_set): New function. + (pupa_rescue_cmd_unset): New function. + (pupa_enter_rescue_mode): Use the `pupa_split_cmdline' function to + split the command line instead of splitting it here. Added + support for setting variables using the syntax `foo=bar'. Don't + initialize the prefix command anymore. Initialized the set and + unset commands. + * normal/cmdline.c: Include . + (pupa_tab_complete): Added prototypes for print_simple_completion, + print_partition_completion, add_completion, iterate_commands, + iterate_dev, iterate_part and iterate_dir. Moved code to print + partition information from here to kern/disk.c. + (pupa_cmdline_run): Don't check if the function exists anymore. + * normal/main.c: Include . + (pupa_rescue_cmd_normal): Use the environment variable `prefix' + instead of using pupa_dl_get_prefix to get the prefix. + * term/i386/pc/vga.c: Include . + (check_vga_mem): Cast pointers to `void *' to silence a gcc + warning. + (pupa_vga_putchar) [! DEBUG_VGA]: Removed for this case. + (pupa_vga_setcolor): Declare unused variables with `__attribute__ + ((unused))' to silence a gcc warning. + (pupa_vga_setcolor): Likewise. + (debug_command): Changed to match argument parsing + interface changes. + * util/pupa-emu.c: Include . + (options): Added 0's for unused fields to silence a gcc warning. + (argp): Likewise. + (main): Use the environment variable `prefix' instead of using + pupa_dl_set_prefix to set the prefix. Initialize the commands ls, + boot, cmp, cat and terminal. Finish the commands boot, cmp, cat + and terminal. + + * util/i386/pc/getroot.c: Include . + * util/misc.c: Include . + (pupa_malloc): Rewritten so errors are correctly reported. + (pupa_realloc): Likewise. + (pupa_memalign): Likewise. + (pupa_mm_init_region): Declare unused variables with + `__attribute__ ((unused))' to silence a gcc warning. + * normal/i386/setjmp.S: Remove tab at the end of the file to + silence a gcc warning. + * loader/i386/pc/linux.c (pupa_rescue_cmd_initrd): Declare unused + variables with `__attribute__ ((unused))' to silence a gcc + warning. + * loader/i386/pc/multiboot.c (pupa_multiboot_unload): Make the + local variable i unsigned to silence a gcc warning. + + * kern/term.c: Include . + (pupa_more_lines): New variable. + (pupa_more): Likewise. + (pupa_putcode): When the pager is active pause at the end of every + screen. + (pupa_set_more): New function. + * include/pupa/term.h (pupa_set_more): New prototype. + + +2004-03-07 Yoshinori K. Okuji + + Now this project is GRUB 2 rather than PUPA. The location of + the CVS repository was moved to GRUB's. + + * configure.ac: Use bug-grub as the reporting address. + Use GRUB instead of PUPA. + Change the version number to 1.90. + +2004-02-24 Yoshinori K. Okuji + + * genkernsyms.sh: Updated copyright information. + * genmk.rb: Likewise. + * genmodsrc.sh: Likewise. + * gensymlist.sh: Likewise. + * boot/i386/pc/boot.S: Likewise. + * boot/i386/pc/diskboot.S: Likewise. + * disk/i386/pc/biosdisk.c: Likewise. + * disk/i386/pc/partition.c: Likewise. + * font/manager.c: Likewise. + * fs/ext2.c: Likewise. + * fs/fat.c: Likewise. + * include/pupa/boot.h: Likewise. + * include/pupa/device.h: Likewise. + * include/pupa/disk.h: Likewise. + * include/pupa/dl.h: Likewise. + * include/pupa/elf.h: Likewise. + * include/pupa/err.h: Likewise. + * include/pupa/file.h: Likewise. + * include/pupa/font.h: Likewise. + * include/pupa/fs.h: Likewise. + * include/pupa/kernel.h: Likewise. + * include/pupa/loader.h: Likewise. + * include/pupa/misc.h: Likewise. + * include/pupa/mm.h: Likewise. + * include/pupa/net.h: Likewise. + * include/pupa/normal.h: Likewise. + * include/pupa/rescue.h: Likewise. + * include/pupa/setjmp.h: Likewise. + * include/pupa/symbol.h: Likewise. + * include/pupa/term.h: Likewise. + * include/pupa/types.h: Likewise. + * include/pupa/i386/setjmp.h: Likewise. + * include/pupa/i386/types.h: Likewise. + * include/pupa/i386/pc/biosdisk.h: Likewise. + * include/pupa/i386/pc/boot.h: Likewise. + * include/pupa/i386/pc/console.h: Likewise. + * include/pupa/i386/pc/init.h: Likewise. + * include/pupa/i386/pc/kernel.h: Likewise. + * include/pupa/i386/pc/linux.h: Likewise. + * include/pupa/i386/pc/loader.h: Likewise. + * include/pupa/i386/pc/memory.h: Likewise. + * include/pupa/i386/pc/multiboot.h: Likewise. + * include/pupa/i386/pc/partition.h: Likewise. + * include/pupa/i386/pc/time.h: Likewise. + * include/pupa/i386/pc/vga.h: Likewise. + * include/pupa/i386/pc/util/biosdisk.h: Likewise. + * include/pupa/util/getroot.h: Likewise. + * include/pupa/util/misc.h: Likewise. + * include/pupa/util/resolve.h: Likewise. + * kern/device.c: Likewise. + * kern/disk.c: Likewise. + * kern/dl.c: Likewise. + * kern/err.c: Likewise. + * kern/file.c: Likewise. + * kern/fs.c: Likewise. + * kern/loader.c: Likewise. + * kern/main.c: Likewise. + * kern/misc.c: Likewise. + * kern/mm.c: Likewise. + * kern/rescue.c: Likewise. + * kern/term.c: Likewise. + * kern/i386/dl.c: Likewise. + * kern/i386/pc/init.c: Likewise. + * kern/i386/pc/lzo1x.S: Likewise. + * kern/i386/pc/startup.S: Likewise. + * loader/i386/pc/chainloader.c: Likewise. + * loader/i386/pc/linux.c: Likewise. + * loader/i386/pc/multiboot.c: Likewise. + * normal/cmdline.c: Likewise. + * normal/command.c: Likewise. + * normal/main.c: Likewise. + * normal/menu.c: Likewise. + * normal/i386/setjmp.S: Likewise. + * term/i386/pc/console.c: Likewise. + * term/i386/pc/vga.c: Likewise. + * util/console.c: Likewise. + * util/genmoddep.c: Likewise. + * util/misc.c: Likewise. + * util/pupa-emu.c: Likewise. + * util/resolve.c: Likewise. + * util/unifont2pff.rb: Likewise. + * util/i386/pc/biosdisk.c: Likewise. + * util/i386/pc/getroot.c: Likewise. + * util/i386/pc/pupa-mkimage.c: Likewise. + * util/i386/pc/pupa-setup.c: Likewise. + +2004-02-15 Jeroen Dekkers + + * fs/ext2.c (pupa_ext2_read_file): Correct the value of BLOCKEND + when it is EXT2_BLOCK_SIZE (data). New argument READ_HOOK, all + callers changed. Set DATA->DISK->READ_HOOK to READ_HOOK before + reading and reset it after reading. + (pupa_ext2_close): Return PUPA_ERR_NONE. + + * include/pupa/i386/pc/linux.h (PUPA_LINUX_INITRD_MAX_ADDRESS): + Correct value. + (struct linux_kernel_header): Add kernel_version and + initrd_addr_max. + * loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Check whether + pupa_file_read succeeds. + (pupa_rescue_cmd_initrd): Implement. + +2003-12-03 Marco Gerards + + * fs/ext2.c (pupa_ext2_label): New function. + (pupa_ext2_fs): Added label. + * fs/fat.c (pupa_fat_label): New function. + (pupa_fat_fs): Added label. + * include/pupa/fs.h (struct pupa_fs): Added prototype label. + + * kern/misc.c (pupa_strndup): New function. + * include/pupa/misc.h (pupa_strndup): New prototype. + + * include/pupa/normal.h: Include . + (pupa_set_history): New prototype. + (pupa_iterate_commands): New prototype. + * normal/cmdline.c: Include , + , . + (hist_size): New variable. + (hist_lines): Likewise. + (hist_end): Likewise. + (hist_used): Likewise. + (pupa_set_history): New function. + (pupa_history_get): Likewise. + (pupa_history_add): Likewise. + (pupa_history_replace): Likewise. + (pupa_tab_complete): Likewise. + (pupa_cmdline_run): Added tab completion and history buffer. Tab + completion shows partitionnames while completing partitions, this + feature was suggested by Jeff Bailey. + * normal/command.c (pupa_iterate_commands): New function. + * normal/main.c (PUPA_DEFAULT_HISTORY_SIZE): New macro. + (pupa_normal_init): Initialize history buffer. + (PUPA_MOD_INIT): Likewise. + (pupa_normal_fini): Free the history buffer. + (PUPA_MOD_FINI): Likewise. + + * util/console.c (pupa_ncurses_getkey): Accept 127 as backspace + key. + + * aclocal.m4 (pupa_I386_CHECK_REGPARM_BUG): New DEFUN. + * configure.ac [i386]: Check for regparam bug. + (NESTED_FUNC_ATTR) [! i386]: Defined. + +2003-11-17 Marco Gerards + + * conf/i386-pc.rmk (sbin_UTILITIES): Added pupa-emu. + (pupa_setup_SOURCES): Added util/i386/pc/getroot.c. + (pupa_emu_SOURCES): New variable. + (pupa_emu_LDFLAGS): Likewise. + * include/pupa/fs.h (pupa_ext2_init) [PUPA_UTIL]: New prototype. + (pupa_ext2_fini) [PUPA_UTIL]: Likewise. + * include/pupa/normal.h (pupa_normal_init) [PUPA_UTIL]: Likewise. + (pupa_normal_fini) [PUPA_UTIL]: Likewise. + * include/pupa/setjmp.h [PUPA_UTIL]: Include . + (pupa_jmp_buf): New typedef. + (pupa_setjmp) [PUPA_UTIL]: New macro. + (pupa_longjmp) [PUPA_UTIL]: Likewise. + * include/pupa/term.h (struct pupa_term): New member `refresh'. + (pupa_refresh): New prototype. + * include/pupa/util/getroot.h: New file. + * kern/misc.c (pupa_vsprintf): Refresh the screen after updating + it. + * kern/rescue.c (pupa_rescue_get_command_line): Likewise. + (pupa_rescue_cmd_cat): Likewise. + (pupa_rescue_cmd_ls): Likewise. + (pupa_rescue_cmd_testload): Likewise. + (pupa_rescue_cmd_lsmod): Likewise. + * normal/cmdline.c (pupa_cmdline_get): Likewise. + * normal/menu.c (run_menu): Likewise. + * kern/term.c (pupa_cls): Likewise. + (pupa_refresh): New function. + * normal/normal.c (pupa_normal_init) [PUPA_UTIL]: New function. + (pupa_normal_fini) [PUPA_UTIL]: Likewise. + * util/console.c: New file. + + * util/i386/pc/getroot.c: New file. + * util/i386/pc/pupa-setup.c: Include . + (pupa_putchar): New function. + (pupa_refresh): Likewise. + (xgetcwd): Function moved to ... + (strip_extra_slashes): Likewise. + (get_prefix): Likewise. + * util/i386/pc/getroot.c: ... here. + (find_root_device): Function moved and renamed to... + * util/i386/pc/getroot.c (pupa_find_root_device): ... here. + Changed all callers. + * util/i386/pc/pupa-setup.c (guess_root_device): Function moved + and renamed to... + * util/i386/pc/getroot.c (pupa_guess_root_device): ... here. + Changed all callers. + * util/misc.c (pupa_memalign): New function. + (pupa_mm_init_region): Likewise. + (pupa_register_exported_symbols): Likewise. + (pupa_putchar): Function removed. + * util/pupa-emu.c: New file. + +2003-11-16 Jeroen Dekkers + + * conf/i386-pc.rmk (pkgdata_MODULES): Add _multiboot.mod. + (_multiboot_mod_SOURCES): New variable. + (_multiboot_mod_CFLAGS): Likewise. + * loader/i386/pc/multiboot.c: New file. + * include/pupa/i386/pc/multiboot.h: Likewise. + * kern/i386/pc/startup.S: Include pupa/machine/multiboot.h. + (pupa_multiboot_real_boot): New function. + * include/pupa/i386/pc/loader.h: Include pupa/machine/multiboot.h. + (pupa_multiboot_real_boot): New prototype. + (pupa_rescue_cmd_multiboot): Likewise + (pupa_rescue_cmd_module): Likewise. + + * kern/loader.c (pupa_loader_set): Continue when + pupa_loader_unload_func() fails. + (pupa_loader_unset): New function. + * include/pupa/loader.h (pupa_loader_unset): New prototype. + + * kern/misc.c (pupa_stpcpy): New function. + * include/pupa/misc.h (pupa_stpcpy): New prototype. + +2003-11-12 Marco Gerards + + * disk/i386/pc/biosdisk.c (pupa_biosdisk_open): Correctly check + for available extensions. + + * include/pupa/i386/pc/time.h: New file. + * kern/disk.c: Include . + (PUPA_CACHE_TIMEOUT): New macro. + (pupa_last_time): New variable. + (pupa_disk_open): Flush the cache when there was a timeout. + (pupa_disk_close): Reset the timer. + * kern/i386/pc/startup.S (pupa_get_rtc): Renamed from + pupa_currticks. + * util/misc.c: Include + (pupa_get_rtc): New function. + +2003-11-09 Jeroen Dekkers + + * fs/ext2.c (struct pupa_ext2_inode): Declare struct datablocks + as blocks. + (pupa_ext2_get_file_block): Use blocks member. + + * fs/ext2.c (pupa_ext2_read_file): Only set skipfirst for the + first block. Return -1 instead of pupa_errno on error. + +2003-10-27 Marco Gerards + + * README: In the pupa-mkimage example use _chain instead of chain + and ext2 instead of fat. + * TODO: Replace ext2fs with jfs as an example. Add an item for + adding journal playback for ext2fs. + * conf/i386-pc.rmk (pupa_setup_SOURCES): Added fs/ext2.c. + (pkgdata_MODULES): Added ext2.mod. + (ext2_mod_SOURCES): New variable. + (ext2_mod_CFLAGS): Likewise. + * include/pupa/err.h (pupa_err_t): Added PUPA_ERR_SYMLINK_LOOP. + * include/pupa/misc.h (pupa_strncpy): New prototype. + (pupa_strcat): Likewise. + (pupa_strncmp): Likewise. + * kern/misc.c (pupa_strcat): Enable function. + (pupa_strncpy): New function. + (pupa_strncmp): Likewise. + * fs/ext2.c: New file. + + * kern/disk.c (pupa_disk_read): Set pupa_errno to PUPA_ERR_NONE + when the read failed before retrying. + * util/i386/pc/biosdisk.c (_LARGEFILE_SOURCE): Removed. + (_FILE_OFFSET_BITS): Likewise. + * configure.ac: Added AC_SYS_LARGEFILE. + +2003-09-25 Yoshinori K. Okuji + + * genmk.rb (PModule#rule): Make sure to get only symbol names + from the output of nm. + Reported by Robert Millan . + +2003-09-25 Yoshinori K. Okuji + + I forgot to check in these changes for a long time. This adds + incomplete support for VGA console, and this is still very + buggy. Also, a lot of consideration is required for I18N, + UNICODE, and VGA font issues. Therefore, assume that this is + such that "better than nothing". + + * font/manager.c: New file. + * include/pupa/font.h: Likewise. + * include/pupa/i386/pc/vga.h: Likewise. + * term/i386/pc/vga.c: Likewise. + * util/unifont2pff.rb: Likewise. + + * conf/i386-pc.rmk (kernel_img_HEADERS): Added machine/vga.h. + (pkgdata_MODULES): Added vga.mod and font.mod. + (vga_mod_SOURCES): New variables. + (vga_mod_CFLAGS): Likewise. + (font_mod_SOURCES): Likewise. + (font_mod_CFLAGS): Likewise. + + * include/pupa/err.h (PUPA_ERR_BAD_FONT): New constant. + + * include/pupa/term.h: Include pupa/err.h. + (struct pupa_term): Added init and fini. + Changed the argument of putchar to pupa_uint32_t. + + * include/pupa/i386/pc/console.h: Include pupa/symbol.h. + (pupa_console_real_putchar): New prototype. + (pupa_console_putchar): Removed. + (pupa_console_checkkey): Exported. + (pupa_console_getkey): Likewise. + + * kern/misc.c (pupa_vsprintf): Add support for UNICODE + characters. + + * kern/term.c (pupa_term_set_current): Rewritten. + (pupa_putchar): Likewise. + (pupa_putcode): New function. + + * kern/i386/pc/startup.S (pupa_console_putchar): Renamed to ... + (pupa_console_real_putchar): ... this. + (pupa_vga_set_mode): New function. + (pupa_vga_get_font): Likewise. + + * normal/command.c: Include pupa/term.h. + (terminal_command): New function. + (pupa_command_init): Register the command "terminal". + + * normal/menu.c (DISP_LEFT): Changed to a UNICODE value. + (DISP_UP): Likewise. + (DISP_RIGHT): Likewise. + (DISP_DOWN): Likewise. + (DISP_HLINE): Likewise. + (DISP_VLINE): Likewise. + (DISP_UL): Likewise. + (DISP_UR): Likewise. + (DISP_LL): Likewise. + (DISP_LR): Likewise. + + * term/i386/pc/console.c (pupa_console_putchar): New function. + +2003-02-08 NIIBE Yutaka + + * util/resolve.c (pupa_util_resolve_dependencies): BUG + FIX. Reverse the path_list. + + * include/pupa/normal.h: Export pupa_register_command and + pupa_unregister_command. + + * hello/hello.c (pupa_cmd_hello): New module. + * conf/i386-pc.rmk: Added hello.mod. + +2003-01-31 Yoshinori K. Okuji + + * kern/i386/pc/lzo1x.S: New file. + + * util/i386/pc/pupa-mkimage.c: Include lzo1x.h. + (compress_kernel): New variable. + (generate_image): Heavily modified to support compressing a + large part of the core image. + + * util/misc.c (pupa_util_read_image): Fix a file descriptor + leak. + (pupa_util_load_image): New function. + + * kern/i386/pc/startup.S: Include pupa/machine/kernel.h. + (pupa_compressed_size): New variable. + (codestart): Enable Gate A20 here. + Decompress the compressed part of the core image. + Rearrange the code to put functions and variables which are + required for initialization in the non-compressed part. + Include lzo1x.S. + + * kern/i386/pc/init.c (pupa_machine_init): Don't enable Gate A20 + here. + + * include/pupa/util/misc.h (pupa_util_write_image): Declared. + + * include/pupa/i386/pc/kernel.h + (PUPA_KERNEL_MACHINE_COMPRESSED_SIZE): New macro. + (PUPA_KERNEL_MACHINE_INSTALL_DOS_PART): Increased by 4. + (PUPA_KERNEL_MACHINE_INSTALL_BSD_PART): Likewise. + (PUPA_KERNEL_MACHINE_PREFIX): Likewise. + (PUPA_KERNEL_MACHINE_RAW_SIZE): New macro. + + * conf/i386-pc.rmk (pupa_mkimage_LDFLAGS): New variable. + + * genmk.rb (Image#rule): Put LDFLAGS at the end of a line. + (Utility#rule): Likewise. + + * configure.ac: Check if LZO is available. + +2003-01-20 Yoshinori K. Okuji + + * include/pupa/normal.h: New file. + * include/pupa/setjmp.h: Likewise. + * include/pupa/i386/setjmp.h: Likewise. + * normal/cmdline.c: Likewise. + * normal/command.c: Likewise. + * normal/main.c: Likewise. + * normal/menu.c: Likewise. + * normal/i386/setjmp.S: Likewise. + + * loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Made global. + (pupa_rescue_cmd_initrd): Likewise. + + * loader/i386/pc/chainloader.c (pupa_rescue_cmd_chainloader): + Likewise. + + * kern/i386/pc/startup.S (translation_table): New variable. + (translate_keycode): New function. + (pupa_console_getkey): Call translate_keycode. + + * kern/rescue.c (attempt_normal_mode): New function. + (pupa_enter_rescue_mode): Attempt to execute the normal mode. If + it failed, print a message. + + * kern/mm.c (pupa_real_malloc): Print more information when a + free magic is broken. + (pupa_free): If the first free header is not free actually, set + it to P. + + * kern/main.c (pupa_load_normal_mode): Just load the module + "normal". + (pupa_main): Don't print the message + "Entering into rescue mode..." here. + + * include/pupa/i386/pc/loader.h (pupa_rescue_cmd_initrd): + Declared. + (pupa_rescue_cmd_initrd): Likewise. + (pupa_rescue_cmd_initrd): Likewise. + + * include/pupa/symbol.h (FUNCTION): Specify the type. + (VARIABLE): Likewise. + + * include/pupa/err.h (pupa_err_t): Added + PUPA_ERR_UNKNOWN_COMMAND. + + * include/pupa/dl.h (pupa_dl_set_prefix): Exported. + (pupa_dl_get_prefix): Likewise. + + * conf/i386-pc.rmk (pkgdata_MODULES): Added normal.mod. + Added _chain.mod and _linux.mod instead of chain.mod and + linux.mod. + (chain_mod_SOURCES): Renamed to ... + (_chain_mod_SOURCES): ... this. + (chain_mod_CFLAGS): Renamed to ... + (_chain_mod_CFLAGS): ... this. + (linux_mod_SOURCES): Renamed to ... + (_linux_mod_SOURCES): ... this. + (linux_mod_CFLAGS): Renamed to ... + (_linux_mod_CFLAGS): ... this. + (normal_mod_SOURCES): New variable. + (normal_mod_CFLAGS): Likewise. + (normal_mod_ASFLAGS): Likewise. + +2003-01-18 Yoshinori K. Okuji + + * kern/rescue.c (pupa_rescue_cmd_rmmod): Call pupa_dl_unload, if + possible. + + * kern/dl.c (pupa_dl_ref): Refer depending modules + recursively. + (pupa_dl_unref): Unrefer depending modules recursively. + Don't call pupa_dl_unload implicitly, because PUPA can crash if + a module is unloaded before one depending on that module is + unloaded. + (pupa_dl_unload): Unload depending modules explicitly, + if possible. + +2003-01-17 Yoshinori K. Okuji + + * include/pupa/i386/pc/linux.h: New file. + * loader/i386/pc/linux.c: Likewise. + + * loader/i386/pc/chainloader.c (pupa_chainloader_boot_sector): + Removed. + (pupa_chainloader_unload): Return PUPA_ERR_NONE. + (pupa_rescue_cmd_chainloader): Read the image to 0x7C00 instead + of PUPA_CHAINLOADER_BOOT_SECTOR. + + * kern/i386/pc/startup.S: Include pupa/machine/linux.h. + (pupa_linux_prot_size): New variable. + (pupa_linux_tmp_addr): Likewise. + (pupa_linux_real_addr): Likewise. + (pupa_linux_boot_zimage): New function. + (pupa_linux_boot_bzimage): Likewise. + + * kern/i386/pc/init.c (struct mem_region): New structure. + (MAX_REGIONS): New macro. + (mem_regions): New variable. + (num_regions): Likewise. + (pupa_os_area_addr): Likewise. + (pupa_os_area_size): Likewise. + (pupa_lower_mem): Likewise. + (pupa_upper_mem): Likewise. + (add_mem_region): New function. + (compact_mem_regions): Likewise. + (pupa_machine_init): Set PUPA_LOWER_MEM and PUPA_UPPER_MEM to + the size of the conventional memory and that of so-called upper + memory (before the first memory hole). + Instead of adding each found region to free memory, use + add_mem_region and add them after removing overlaps. + Also, add only 1/4 of the upper memory to free memory. The rest + is used for loading OS images. Maybe this is ad hoc, but this + makes it much easier to relocate OS images when booting. + + * kern/rescue.c (pupa_rescue_cmd_module): Removed. + (pupa_enter_rescue_mode): Don't register initrd and module. + + * kern/mm.c: Include pupa/dl.h. + + * kern/main.c: Include pupa/file.h and pupa/device.h. + + * kern/loader.c (pupa_loader_load_module_func): Removed. + (pupa_loader_load_module): Likewise. + + * kern/dl.c (pupa_dl_load): Use the suffix ``.mod'' instead of + ``.o''. + + * include/pupa/i386/pc/loader.h (pupa_linux_prot_size): Declared. + (pupa_linux_tmp_addr): Likewise. + (pupa_linux_real_addr): Likewise. + (pupa_linux_boot_zimage): Likewise. + (pupa_linux_boot_bzimage): Likewise. + + * include/pupa/i386/pc/init.h (pupa_lower_mem): Declared. + (pupa_upper_mem): Likewise. + (pupa_gate_a20): Don't export, because turning off Gate A20 in a + module is too dangerous. + + * include/pupa/loader.h (pupa_os_area_addr): Declared. + (pupa_os_area_size): Likewise. + (pupa_loader_set): Remove the first argument. Loader doesn't + manage modules or initrd any longer. + (pupa_loader_load_module): Removed. + + * conf/i386-pc.rmk (pkgdata_MODULES): Added linux.mod. + (linux_mod_SOURCES): New variable. + (linux_mod_CFLAGS): Likewise. + +2003-01-07 Yoshinori K. Okuji + + * util/i386/pc/pupa-setup.c (setup): Convert the endianness of + the length of a blocklist correctly. + + * util/i386/pc/biosdisk.c (pupa_util_biosdisk_open) [__linux__]: + Use ioctl only if the OS file is a block device. + (pupa_util_biosdisk_open): Don't use ST.ST_BLOCKS, because it is + not very useful for normal files. + + * kern/main.c (pupa_set_root_dev): New function. + (pupa_load_normal_mode): Likewise. + (pupa_main): Call those above. + + * include/pupa/types.h (pupa_swap_bytes16): Cast the result to + pupa_uint16_t. + + * include/pupa/kernel.h (pupa_enter_normal_mode): Removed. + +2003-01-06 Yoshinori K. Okuji + + * util/i386/pc/pupa-setup.c: Include pupa/machine/kernel.h. + (setup): Configure the installed partition information and the + dl prefix. + + * loader/i386/pc/chainloader.c (my_mod): New variable. + (pupa_chainloader_unload): New function. + (pupa_rescue_cmd_chainloader): Refer itself. + (PUPA_MOD_INIT): Save its own module in MY_MOD. + + * kern/i386/pc/startup.S (install_partition): Removed. + (version_string): Likewise. + (config_file): Likewise. + (pupa_install_dos_part): New variable. + (pupa_install_bsd_part): Likewise. + (pupa_prefix): Likewise. + (pupa_chainloader_real_boot): Call pupa_dl_unload_all. + + * kern/i386/pc/init.c: Include pupa/machine/kernel.h, pupa/dl.h + and pupa/misc.h. + (make_install_device): New function. + (pupa_machine_init): Set the dl prefix. + + * kern/rescue.c: Include pupa/rescue.h and pupa/dl.h. + (buf): Renamed to ... + (linebuf): ... this. + (pupa_rescue_cmd_prefix): New function. + (pupa_rescue_cmd_insmod): Likewise. + (pupa_rescue_cmd_rmmod): Likewise. + (pupa_rescue_cmd_lsmod): Likewise. + (pupa_enter_rescue_mode): Register new commands: prefix, insmod, + rmmod and lsmod. + + * kern/mm.c (pupa_memalign): If failed even after invalidating + disk caches, unload unneeded modules and retry. + + * kern/misc.c (pupa_memmove): New function. + (pupa_memcpy): Removed. + (pupa_strcpy): New function. + (pupa_itoa): Made static. + + * kern/dl.c (pupa_dl_iterate): New function. + (pupa_dl_ref): Likewise. + (pupa_dl_unref): Likewise. + (pupa_dl_unload): Return if succeeded or not. + (pupa_dl_unload_unneeded): New function. + (pupa_dl_unload_all): Likewise. + (pupa_dl_init): Renamed to ... + (pupa_dl_set_prefix): ... this. + (pupa_dl_get_prefix): New function. + + * include/pupa/i386/pc/kernel.h: Include pupa/types.h. + (PUPA_KERNEL_MACHINE_INSTALL_DOS_PART): New macro. + (PUPA_KERNEL_MACHINE_INSTALL_BSD_PART): Likewise. + (PUPA_KERNEL_MACHINE_PREFIX): Likewise. + (pupa_install_dos_part): Declared. + (pupa_install_bsd_part): Likewise. + (pupa_prefix): Likewise. + (pupa_boot_drive): Likewise. + + * include/pupa/types.h: Fix a typo. + + * include/pupa/misc.h (pupa_memcpy): New macro. Just an alias to + pupa_memmove. + (pupa_memmove): Declared. + (pupa_strcpy): Likewise. + + * include/pupa/dl.h (PUPA_MOD_INIT): Change the prototype. Now + pupa_mod_init takes one argument, its own module. + (pupa_dl_unload_unneeded): Declared. + (pupa_dl_unload_all): Likewise. + (pupa_dl_ref): Likewise. + (pupa_dl_unref): Likewise. + (pupa_dl_iterate): Likewise. + (pupa_dl_init): Renamed to ... + (pupa_dl_set_prefix): ... this. + (pupa_dl_get_prefix): Declared. + + * fs/fat.c [!PUPA_UTIL] (my_mod): New variable. + (pupa_fat_dir) [!PUPA_UTIL]: Prevent the fat module from being + unloaded. + (pupa_fat_open) [!PUPA_UTIL]: Refer itself if succeeded. + (pupa_fat_close) [!PUPA_UTIL]: Unrefer itself. + + * configure.ac (tmp_CFLAGS): Added -Wshadow, -Wpointer-arith, + -Wmissing-prototypes, -Wundef and -Wstrict-prototypes. + +2003-01-03 Yoshinori K. Okuji + + * util/i386/pc/pupa-setup.c (setup): Define the internal + function find_first_partition_start at the top level, because GCC + 3.0.x cannot compile internal functions in deeper scopes + correctly. + (find_root_device): Use lstat instead of stat. + Don't follow symbolic links. + Fix the path-constructing code. + + * util/i386/pc/biosdisk.c [__linux__] (BLKFLSBUF): New macro. + (pupa_util_biosdisk_open) [__linux__]: Get the size of a device + by a BLKGETSIZE ioctl first, because block devices don't fill + the member st_mode of the structure stat on Linux. + [__linux__] (linux_find_partition): Use a temporary buffer + REAL_DEV for the working space. Copy it to DEV before returning. + (open_device) [__linux__]: Call ioctl with BLKFLSBUF to make the + buffer cache consistent. + (get_os_disk) [__linux__]: Use the length 5 instead of 4 for + strncmp. The previous value was merely wrong. + (pupa_util_biosdisk_get_pupa_dev): Use stat instead of lstat. + + * fs/fat.c (pupa_fat_read_data): Shift 4 instead of 12 when the + FAT size is 12. The previous value was merely wrong. + + * kern/main.c (pupa_main): Don't split the starting message from + newlines. + + * kern/term.c (pupa_putchar): Put CR after LF instead of before + LF, because BIOS goes crazy about character attributes in this + case. + +2003-01-03 Yoshinori K. Okuji + + * include/i386/pc/util/biosdisk.h: New file. + * util/i386/pc/biosdisk.c: Likewise. + * util/i386/pc/pupa-setup.c: Likewise. + + * Makefile.in (INCLUDE_DISTFILES): Added + include/pupa/i386/pc/util/biosdisk.h. + (UTIL_DISTFILES): Added biosdisk.c and pupa-setup.c under the + directory util/i386/pc. + (install-local): Added a rule for sbin_UTILITIES. + (uninstall): Likewise. + + * util/i386/pc/pupa-mkimage.c (usage): Fix a typo in the doc. + + * util/misc.c (xrealloc): New function. + (pupa_malloc): Likewise. + (pupa_free): Likewise. + (pupa_realloc): Likewise. + (pupa_stop): Likewise. + (pupa_putchar): Likewise. + + * kern/disk.c (pupa_disk_read): Prevent L from underflowing. + + * include/pupa/util/misc.h (xrealloc): Declared. + + * include/pupa/i386/pc/boot.h (PUPA_BOOT_MACHINE_BPB_START): New + macro. + (PUPA_BOOT_MACHINE_BPBEND): Renamed to ... + (PUPA_BOOT_MACHINE_BPB_END): ... this. + + * include/pupa/fs.h [PUPA_UTIL] (pupa_fat_init): Declared. + [PUPA_UTIL] (pupa_fat_fini): Likewise. + + * fs/fat.c [PUPA_UTIL] (pupa_fat_init): Defined. Maybe a better + way should be implemented. + [PUPA_UTIL] (pupa_fat_fini): Likewise. + + * disk/i386/pc/biosdisk.c (pupa_biosdisk_call_hook): Increase + the size of NAME for safety. + (pupa_biosdisk_iterate): Search hard disks to 0x90 instead of + 0x88. + + * conf/i386-pc.rmk (sbin_UTILITIES): New variable. + (pupa_setup_SOURCES): Likewise. + + * genmk.rb (Utility#rule): Add $(BUILD_CFLAGS) into the rules. + +2002-12-28 Yoshinori K. Okuji + + * kern/i386/pc/startup.S (push_get_mmap_entry): Revert to a + bunch of pushl's from pusha, because this destroys the return + value. + +2002-12-28 Yoshinori K. Okuji + + Use -mrtd and -mregparm=3 to reduce the generated code sizes. + This means that any missing prototypes could be fatal. Also, you + must take care when writing assembly code. See the comments at + the beginning of startup.S, for more details. + + * kern/i386/pc/startup.S (pupa_halt): Modified for the new + compilation mechanism. + (pupa_chainloader_real_boot): Likewise. + (pupa_biosdisk_rw_int13_extensions): Likewise. + (pupa_biosdisk_rw_standard): Likewise. + (pupa_biosdisk_check_int13_extensions): Likewise. + (pupa_biosdisk_get_diskinfo_int13_extensions): Likewise. + (pupa_biosdisk_get_diskinfo_standard): Likewise. + (pupa_get_memsize): Likewise. + (pupa_get_mmap_entry): Likewise. + (pupa_console_putchar): Likewise. + (pupa_console_setcursor): Likewise. + (pupa_getrtsecs): Use pushl instead of push. + + * kern/i386/pc/init.c (pupa_machine_init): Use the scratch + memory instead of the stack for a mmap entry, because some + BIOSes may ignore the maximum size and overflow. + + * conf/i386-pc.rmk (COMMON_CFLAGS): Added -mrtd and -mregparm=3. + + * genmk.rb (PModule#rule): Compile automatically generated + sources with module-specific CFLAGS as well as other sources. + +2002-12-27 Yoshinori K. Okuji + + * configure.ac: Check ld. + Replace CFLAGS and CPPFLAGS with BUILD_CFLAGS and BUILD_CPPFLAGS + respectively, before checking endianness and sizes. + + * Makefile.in (LD): New variable. + +2002-12-27 Yoshinori K. Okuji + + * Makefile.in (BUILD_CC): CC -> BUILD_CC. + +2002-12-27 Yoshinori K. Okuji + + * Changelog: New file. + diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..e325fa2 --- /dev/null +++ b/INSTALL @@ -0,0 +1,183 @@ +-*- Text -*- + +This is the GRUB. Welcome. + +This file contains instructions for compiling and installing the GRUB. + +The Requirements +================ + +GRUB depends on some software packages installed into your system. If +you don't have any of them, please obtain and install them before +configuring the GRUB. + +* GCC 4.1.3 or later +* GNU Make +* GNU Bison 2.3 or later +* GNU gettext 0.17 or later +* GNU binutils 2.9.1.0.23 or later +* Flex 2.5.35 or later +* Other standard GNU/Unix tools + +On GNU/Linux, you also need: + +* libdevmapper 1.02.34 or later (recommended) + +To build grub-emu, you need: + +* ncurses +* libusb (recommended) +* SDL (recommended) + +To build GRUB's graphical terminal (gfxterm), you need: + +* FreeType 2 or later +* GNU Unifont + +If you use a development snapshot or want to hack on GRUB you may +need the following. + +* Python 2.5.2 or later +* Autoconf 2.60 or later +* Automake 1.10.1 or later +* Autogen 5.10 or later + +Prerequisites for make-check: + +* qemu, specifically the binary 'qemu-system-i386' + +Configuring the GRUB +==================== + +The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a +file `config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + +If you need to do unusual things to compile the package, please try to +figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + +The file `configure.ac' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + + +Building the GRUB +================= + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code. If + you don't use a release tarball you have to type `./autogen.sh'. + Type `./configure' to configure the package for your system. + If you're using `csh' on an old version of System V, you might + need to type `sh ./configure' instead to prevent `csh' from trying + to execute `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + +Compiling For Multiple Architectures +==================================== + +You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. `cd' to the directory where you want the object files +and executables to go and run the `configure' script. `configure' +automatically checks for the source code in the directory that +`configure' is in and in `..'. + + +Installation Names +================== + +By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix by giving `configure' the option `--prefix=PATH'. + +You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If +you give `configure' the option `--exec-prefix=PATH', the package will +use PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + +In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for +particular kinds of files. Run `configure --help' for a list of the +directories you can set and what kinds of files go in them. + +If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' +the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Please note, however, that the GRUB knows where it is located in the +filesystem. If you have installed it in an unusual location, the +system might not work properly, or at all. The chief utility of these +options for the GRUB is to allow you to "install" in some alternate +location, and then copy these to the actual root filesystem later. + + +Sharing Defaults +================ + +If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..9301c91 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,324 @@ +AUTOMAKE_OPTIONS = subdir-objects + +DEPDIR = .deps-util +SUBDIRS = grub-core/gnulib . grub-core po docs util/bash-completion.d + +include $(top_srcdir)/conf/Makefile.common +include $(top_srcdir)/conf/Makefile.extra-dist + +AM_CFLAGS = $(HOST_CFLAGS) +AM_LDFLAGS = $(HOST_LDFLAGS) +AM_CPPFLAGS = $(HOST_CPPFLAGS) $(CPPFLAGS_DEFAULT) +AM_CCASFLAGS = $(HOST_CCASFLAGS) $(CCASFLAGS_DEFAULT) + +ACLOCAL_AMFLAGS = -I m4 + +CFLAGS_PROGRAM += $(CFLAGS_GNULIB) +LDFLAGS_PROGRAM += $(LDFLAGS_GNULIB) +CPPFLAGS_PROGRAM += $(CPPFLAGS_GNULIB) +CCASFLAGS_PROGRAM += $(CCASFLAGS_GNULIB) + +include $(srcdir)/Makefile.util.am + +# XXX Use Automake's LEX & YACC support +grub_script.tab.h: $(top_srcdir)/grub-core/script/parser.y + $(YACC) -d -p grub_script_yy -b grub_script $(top_srcdir)/grub-core/script/parser.y +grub_script.tab.c: grub_script.tab.h +CLEANFILES += grub_script.tab.c grub_script.tab.h + +# For the lexer. +grub_script.yy.h: $(top_srcdir)/grub-core/script/yylex.l + $(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $(top_srcdir)/grub-core/script/yylex.l +grub_script.yy.c: grub_script.yy.h +CLEANFILES += grub_script.yy.c grub_script.yy.h + +# For libgrub.a +libgrub.pp: grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) +CLEANFILES += libgrub.pp + +libgrub_a_init.lst: libgrub.pp + cat $< | grep '@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) +CLEANFILES += libgrub_a_init.lst + +libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh + sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) +CLEANFILES += libgrub_a_init.c + +# For grub-fstest +grub_fstest.pp: $(grub_fstest_SOURCES) + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) +CLEANFILES += grub_fstest.pp + +grub_fstest_init.lst: libgrub.pp grub_fstest.pp + cat $^ | grep '@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) +CLEANFILES += grub_fstest_init.lst + +grub_fstest_init.c: grub_fstest_init.lst $(top_srcdir)/geninit.sh + sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) +CLEANFILES += grub_fstest_init.c + +if COND_GRUB_MKFONT +if COND_HAVE_FONT_SOURCE +grubdata_DATA = unicode.pf2 ascii.pf2 euro.pf2 ascii.h widthspec.h +endif +endif + +unicode.pf2: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont -o $@ $(FONT_SOURCE) +CLEANFILES += unicode.pf2 + +# Arrows and lines are needed to draw the menu, so always include them +UNICODE_ARROWS=0x2190-0x2193 +UNICODE_LINES=0x2501-0x251B + +ascii.pf2: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont -o $@ $(FONT_SOURCE) -r 0x0-0x7f,$(UNICODE_ARROWS),$(UNICODE_LINES) +CLEANFILES += ascii.pf2 + +euro.pf2: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont -o $@ $(FONT_SOURCE) -r 0x0-0x4ff,0x1e00-0x1fff,$(UNICODE_ARROWS),$(UNICODE_LINES) +CLEANFILES += euro.pf2 + +ascii.bitmaps: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont --ascii-bitmaps -o $@ $(FONT_SOURCE) +CLEANFILES += ascii.bitmaps + +ascii.h: ascii.bitmaps grub-bin2h + $(builddir)/grub-bin2h ascii_bitmaps < $< > $@ +CLEANFILES += ascii.h $(top_builddir)/grub-core/include/ascii.h + +widthspec.bin: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont --width-spec -o $@ $(FONT_SOURCE) +CLEANFILES += widthspec.bin + +widthspec.h: widthspec.bin grub-bin2h + $(builddir)/grub-bin2h widthspec < $< > $@ +CLEANFILES += widthspec.h + +# Install config.h into platformdir +platform_HEADERS = config.h + +pkglib_DATA += grub-mkconfig_lib +pkglib_DATA += update-grub_lib + + +if COND_i386_coreboot +BOOTTARGET=coreboot +QEMU32=qemu-system-i386 +endif + +if COND_i386_multiboot +BOOTTARGET=cd +QEMU32=qemu-system-i386 +endif + +if COND_i386_ieee1275 +BOOTTARGET=cd +QEMU32=qemu-system-i386 +endif + +if COND_i386_qemu +BOOTTARGET=qemu +QEMU32=qemu-system-i386 +endif + +if COND_i386_pc +BOOTTARGET=cd +QEMU32=qemu-system-i386 +endif + +if COND_i386_efi +QEMU32=qemu-system-i386 +BOOTTARGET=cd +endif + +if COND_x86_64_efi +QEMU32=qemu-system-x86_64 +BOOTTARGET=cd +endif + +linux.init.x86_64: $(srcdir)/grub-core/tests/boot/linux.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +linux.init.i386: $(srcdir)/grub-core/tests/boot/linux.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +multiboot.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -DTARGET_MULTIBOOT=1 -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include + +kfreebsd.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include + +kfreebsd.aout: kfreebsd.elf + $(OBJCOPY) -O a.out-i386-linux $< $@ -R .note.gnu.build-id + +pc-chainloader.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S + $(TARGET_CC) -o $@ $< -DTARGET_CHAINLOADER=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x7c00 -m32 + +pc-chainloader.bin: pc-chainloader.elf + $(OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; + +ntldr.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S + $(TARGET_CC) -o $@ $< -DTARGET_NTLDR=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0 -m32 + +ntldr.bin: ntldr.elf + $(OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; + +multiboot2.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include -DTARGET_MULTIBOOT2=1 + +kfreebsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kfreebsd.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ + +kfreebsd.init.i386: $(srcdir)/grub-core/tests/boot/kfreebsd.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ + +knetbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DTARGET_NETBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +kopenbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DTARGET_OPENBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +knetbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -DTARGET_NETBSD=1 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +kopenbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -DTARGET_OPENBSD=1 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +linux-initramfs.i386: linux.init.i386 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR + +linux-initramfs.x86_64: linux.init.x86_64 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR + +kfreebsd-mfsroot.i386.img: kfreebsd.init.i386 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +knetbsd.image.i386: knetbsd.init.i386 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +kopenbsd.image.i386: kopenbsd.init.i386 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ + +kopenbsd.image.x86_64: kopenbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ + +knetbsd.miniroot-image.i386.img: knetbsd.image.i386 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 + $(OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 $@ + +kfreebsd-mfsroot.x86_64.img: kfreebsd.init.x86_64 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +knetbsd.image.x86_64: knetbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +knetbsd.miniroot-image.x86_64.img: knetbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 + $(OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 $@ + +CLEANFILES += linux.init.i386 kfreebsd.init.i386 linux.init.x86_64 linux-initramfs.i386 linux-initramfs.x86_64 + +kfreebsd-mfsroot.i386.gz: kfreebsd-mfsroot.i386.img + gzip < $< > $@ + +bootcheck-kfreebsd-i386: kfreebsd-mfsroot.i386.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.i386 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/mfsroot.gz=kfreebsd-mfsroot.i386.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.i386 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +kfreebsd-mfsroot.x86_64.gz: kfreebsd-mfsroot.x86_64.img + gzip < $< > $@ + +bootcheck-kfreebsd-x86_64: kfreebsd-mfsroot.x86_64.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/mfsroot.gz=kfreebsd-mfsroot.x86_64.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +knetbsd.miniroot-image.i386.gz: knetbsd.miniroot-image.i386.img + gzip < $< > $@ + +bootcheck-knetbsd-i386: knetbsd.miniroot-image.i386.gz $(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/miniroot.gz=knetbsd.miniroot-image.i386.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-kopenbsd-i386: kopenbsd.image.i386 $(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/ramdisk=kopenbsd.image.i386 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-kopenbsd-x86_64: kopenbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/ramdisk=kopenbsd.image.x86_64 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +knetbsd.miniroot-image.x86_64.gz: knetbsd.miniroot-image.x86_64.img + gzip < $< > $@ + +bootcheck-knetbsd-x86_64: knetbsd.miniroot-image.x86_64.gz $(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/miniroot.gz=knetbsd.miniroot-image.x86_64.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux16-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux16-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-multiboot: multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/multiboot.elf=multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-multiboot2: multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/multiboot2.elf=multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-kfreebsd-aout: kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/kfreebsd.aout=kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-pc-chainloader: pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/pc-chainloader.bin=pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-ntldr: ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/ntldr.bin=ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +BOOTCHECKS= + +if COND_i386_pc +#pc chainloader by definition is only for i386-pc +BOOTCHECKS += bootcheck-pc-chainloader +#ntldr and bootmgr require BIOS. +BOOTCHECKS += bootcheck-ntldr +#legacy protocol makes early BIOS calls. +BOOTCHECKS += bootcheck-linux16-i386 bootcheck-linux16-x86_64 +# Crashes early on non-BIOS +BOOTCHECKS += bootcheck-knetbsd-i386 +endif + +if !COND_i386_coreboot +# Crashes because memory at 0-0x1000 is occupied +BOOTCHECKS += bootcheck-knetbsd-x86_64 + +# Likewise and require ACPI. +if !COND_i386_multiboot +if !COND_i386_qemu +BOOTCHECKS += bootcheck-kfreebsd-x86_64 +BOOTCHECKS += bootcheck-kfreebsd-i386 +endif +endif +endif + +BOOTCHECKS += bootcheck-kfreebsd-aout + +BOOTCHECKS += bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 + +BOOTCHECKS += bootcheck-multiboot bootcheck-multiboot2 + +BOOTCHECKS += bootcheck-linux-i386 bootcheck-linux-x86_64 + + +.PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \ + bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \ + bootcheck-knetbsd-i386 bootcheck-knetbsd-x86_64 + +# Randomly generated +SUCCESSFUL_BOOT_STRING=3e49994fd5d82b7c9298d672d774080d +# tianocore cd access is very slow +BOOTCHECK_TIMEOUT=180 + +bootcheck: $(BOOTCHECKS) diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..f0f3d2d --- /dev/null +++ b/Makefile.in @@ -0,0 +1,16415 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# -*- makefile -*- + + + + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = README $(am__configure_deps) \ + $(am__dist_noinst_DATA_DIST) $(platform_HEADERS) \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.util.am $(srcdir)/config-util.h.in \ + $(srcdir)/config.h.in $(srcdir)/stamp-h.in \ + $(top_srcdir)/conf/Makefile.common \ + $(top_srcdir)/conf/Makefile.extra-dist $(top_srcdir)/configure \ + ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS THANKS TODO \ + build-aux/compile build-aux/config.guess \ + build-aux/config.rpath build-aux/config.sub build-aux/depcomp \ + build-aux/install-sh build-aux/mdate-sh build-aux/missing \ + build-aux/texinfo.tex + +# Platform specific options +@COND_i386_pc_TRUE@am__append_1 = -mrtd -mregparm=3 +@COND_i386_qemu_TRUE@am__append_2 = -mrtd -mregparm=3 +@COND_i386_coreboot_TRUE@am__append_3 = -mrtd -mregparm=3 +@COND_i386_ieee1275_TRUE@am__append_4 = -mrtd -mregparm=3 +@COND_mips_yeeloong_TRUE@am__append_5 = -mexplicit-relocs +@COND_mips_TRUE@am__append_6 = -mflush-func=grub_cpu_flush_cache +@COND_sparc64_ieee1275_TRUE@am__append_7 = -mno-app-regs +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_FALSE@am__append_8 = -lgcc +bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ + $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \ + $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \ + $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \ + $(am__EXEEXT_13) $(am__EXEEXT_14) $(am__EXEEXT_15) \ + $(am__EXEEXT_16) $(am__EXEEXT_17) $(am__EXEEXT_18) \ + $(am__EXEEXT_19) $(am__EXEEXT_20) $(am__EXEEXT_21) \ + $(am__EXEEXT_22) $(am__EXEEXT_23) $(am__EXEEXT_24) \ + $(am__EXEEXT_25) $(am__EXEEXT_26) $(am__EXEEXT_27) \ + $(am__EXEEXT_28) $(am__EXEEXT_29) $(am__EXEEXT_30) \ + $(am__EXEEXT_31) $(am__EXEEXT_32) $(am__EXEEXT_33) \ + $(am__EXEEXT_34) $(am__EXEEXT_35) $(am__EXEEXT_36) \ + $(am__EXEEXT_37) $(am__EXEEXT_38) $(am__EXEEXT_39) \ + $(am__EXEEXT_40) $(am__EXEEXT_41) $(am__EXEEXT_42) \ + $(am__EXEEXT_43) $(am__EXEEXT_44) $(am__EXEEXT_45) \ + $(am__EXEEXT_46) $(am__EXEEXT_47) $(am__EXEEXT_48) \ + $(am__EXEEXT_49) $(am__EXEEXT_50) $(am__EXEEXT_51) \ + $(am__EXEEXT_52) $(am__EXEEXT_53) $(am__EXEEXT_54) \ + $(am__EXEEXT_55) $(am__EXEEXT_56) $(am__EXEEXT_57) \ + $(am__EXEEXT_58) $(am__EXEEXT_59) $(am__EXEEXT_60) \ + $(am__EXEEXT_61) $(am__EXEEXT_62) $(am__EXEEXT_63) \ + $(am__EXEEXT_64) $(am__EXEEXT_65) $(am__EXEEXT_66) \ + $(am__EXEEXT_67) $(am__EXEEXT_68) $(am__EXEEXT_69) \ + $(am__EXEEXT_70) $(am__EXEEXT_71) $(am__EXEEXT_72) \ + $(am__EXEEXT_73) $(am__EXEEXT_74) $(am__EXEEXT_75) \ + $(am__EXEEXT_76) $(am__EXEEXT_77) $(am__EXEEXT_78) \ + $(am__EXEEXT_79) $(am__EXEEXT_80) $(am__EXEEXT_81) \ + $(am__EXEEXT_82) $(am__EXEEXT_83) $(am__EXEEXT_84) \ + $(am__EXEEXT_85) $(am__EXEEXT_86) $(am__EXEEXT_87) \ + $(am__EXEEXT_88) $(am__EXEEXT_89) $(am__EXEEXT_90) \ + $(am__EXEEXT_91) $(am__EXEEXT_92) $(am__EXEEXT_93) \ + $(am__EXEEXT_94) $(am__EXEEXT_95) $(am__EXEEXT_96) \ + $(am__EXEEXT_97) $(am__EXEEXT_98) $(am__EXEEXT_99) \ + $(am__EXEEXT_100) $(am__EXEEXT_101) $(am__EXEEXT_102) \ + $(am__EXEEXT_103) $(am__EXEEXT_104) $(am__EXEEXT_105) \ + $(am__EXEEXT_106) $(am__EXEEXT_107) $(am__EXEEXT_108) \ + $(am__EXEEXT_109) $(am__EXEEXT_110) $(am__EXEEXT_111) \ + $(am__EXEEXT_112) $(am__EXEEXT_113) $(am__EXEEXT_114) \ + $(am__EXEEXT_115) $(am__EXEEXT_116) $(am__EXEEXT_117) \ + $(am__EXEEXT_118) $(am__EXEEXT_119) $(am__EXEEXT_120) \ + $(am__EXEEXT_121) $(am__EXEEXT_122) $(am__EXEEXT_123) \ + $(am__EXEEXT_124) $(am__EXEEXT_125) $(am__EXEEXT_126) \ + $(am__EXEEXT_127) $(am__EXEEXT_128) $(am__EXEEXT_129) \ + $(am__EXEEXT_130) $(am__EXEEXT_131) $(am__EXEEXT_132) +sbin_PROGRAMS = $(am__EXEEXT_144) $(am__EXEEXT_145) $(am__EXEEXT_146) \ + $(am__EXEEXT_147) $(am__EXEEXT_148) $(am__EXEEXT_149) \ + $(am__EXEEXT_150) $(am__EXEEXT_151) $(am__EXEEXT_152) \ + $(am__EXEEXT_153) $(am__EXEEXT_154) $(am__EXEEXT_155) \ + $(am__EXEEXT_156) $(am__EXEEXT_157) $(am__EXEEXT_158) \ + $(am__EXEEXT_159) $(am__EXEEXT_160) $(am__EXEEXT_161) \ + $(am__EXEEXT_162) $(am__EXEEXT_163) $(am__EXEEXT_164) \ + $(am__EXEEXT_165) $(am__EXEEXT_166) $(am__EXEEXT_167) +check_PROGRAMS = $(am__EXEEXT_133) $(am__EXEEXT_134) $(am__EXEEXT_135) \ + $(am__EXEEXT_136) $(am__EXEEXT_137) $(am__EXEEXT_138) \ + $(am__EXEEXT_139) $(am__EXEEXT_140) $(am__EXEEXT_141) \ + $(am__EXEEXT_142) $(am__EXEEXT_143) +noinst_PROGRAMS = +TESTS = $(am__EXEEXT_133) $(am__EXEEXT_134) $(am__EXEEXT_135) \ + $(am__EXEEXT_136) $(am__EXEEXT_137) $(am__EXEEXT_138) \ + $(am__EXEEXT_139) $(am__EXEEXT_140) $(am__EXEEXT_141) \ + $(am__EXEEXT_142) $(am__EXEEXT_143) $(am__append_1999) \ + $(am__append_2003) $(am__append_2007) $(am__append_2011) \ + $(am__append_2015) $(am__append_2019) $(am__append_2023) \ + $(am__append_2027) $(am__append_2031) $(am__append_2035) \ + $(am__append_2039) $(am__append_2043) $(am__append_2047) \ + $(am__append_2051) $(am__append_2055) $(am__append_2059) \ + $(am__append_2063) $(am__append_2067) $(am__append_2071) \ + $(am__append_2075) $(am__append_2079) $(am__append_2083) \ + $(am__append_2087) $(am__append_2091) $(am__append_2095) \ + $(am__append_2099) $(am__append_2103) $(am__append_2107) \ + $(am__append_2111) $(am__append_2115) $(am__append_2119) \ + $(am__append_2123) $(am__append_2127) $(am__append_2131) \ + $(am__append_2135) $(am__append_2139) $(am__append_2143) \ + $(am__append_2147) $(am__append_2151) $(am__append_2155) \ + $(am__append_2159) $(am__append_2163) $(am__append_2167) \ + $(am__append_2171) $(am__append_2175) $(am__append_2179) \ + $(am__append_2183) $(am__append_2187) $(am__append_2191) \ + $(am__append_2195) $(am__append_2199) $(am__append_2203) \ + $(am__append_2207) $(am__append_2211) $(am__append_2215) \ + $(am__append_2219) $(am__append_2223) $(am__append_2227) \ + $(am__append_2231) $(am__append_2235) $(am__append_2239) \ + $(am__append_2243) $(am__append_2247) $(am__append_2251) \ + $(am__append_2255) $(am__append_2259) $(am__append_2263) \ + $(am__append_2267) $(am__append_2271) $(am__append_2275) \ + $(am__append_2279) $(am__append_2283) $(am__append_2287) \ + $(am__append_2291) $(am__append_2295) $(am__append_2299) \ + $(am__append_2303) $(am__append_2307) $(am__append_2311) \ + $(am__append_2315) $(am__append_2319) $(am__append_2323) \ + $(am__append_2327) $(am__append_2331) $(am__append_2335) \ + $(am__append_2339) $(am__append_2343) $(am__append_2347) \ + $(am__append_2351) $(am__append_2355) $(am__append_2359) \ + $(am__append_2363) $(am__append_2367) $(am__append_2371) \ + $(am__append_2375) $(am__append_2379) $(am__append_2383) \ + $(am__append_2387) $(am__append_2391) $(am__append_2395) \ + $(am__append_2399) $(am__append_2403) $(am__append_2407) \ + $(am__append_2411) $(am__append_2415) $(am__append_2419) \ + $(am__append_2423) $(am__append_2427) $(am__append_2431) \ + $(am__append_2435) $(am__append_2439) $(am__append_2443) \ + $(am__append_2447) $(am__append_2451) $(am__append_2455) \ + $(am__append_2459) $(am__append_2463) $(am__append_2467) \ + $(am__append_2471) $(am__append_2475) $(am__append_2479) \ + $(am__append_2483) $(am__append_2487) $(am__append_2491) \ + $(am__append_2495) $(am__append_2499) $(am__append_2503) \ + $(am__append_2507) $(am__append_2511) $(am__append_2515) \ + $(am__append_2519) $(am__append_2523) $(am__append_2527) \ + $(am__append_2531) $(am__append_2535) $(am__append_2539) \ + $(am__append_2543) $(am__append_2547) $(am__append_2551) \ + $(am__append_2555) $(am__append_2559) $(am__append_2563) \ + $(am__append_2567) $(am__append_2571) $(am__append_2575) \ + $(am__append_2579) $(am__append_2583) $(am__append_2587) \ + $(am__append_2591) $(am__append_2595) $(am__append_2599) \ + $(am__append_2603) $(am__append_2607) $(am__append_2611) \ + $(am__append_2615) $(am__append_2619) $(am__append_2623) \ + $(am__append_2627) $(am__append_2631) $(am__append_2635) \ + $(am__append_2639) $(am__append_2643) $(am__append_2647) \ + $(am__append_2651) $(am__append_2655) $(am__append_2659) \ + $(am__append_2663) $(am__append_2667) $(am__append_2671) \ + $(am__append_2675) $(am__append_2679) $(am__append_2683) \ + $(am__append_2687) $(am__append_2691) $(am__append_2695) \ + $(am__append_2699) $(am__append_2703) $(am__append_2707) \ + $(am__append_2711) $(am__append_2715) $(am__append_2719) \ + $(am__append_2723) $(am__append_2727) $(am__append_2731) \ + $(am__append_2735) $(am__append_2739) $(am__append_2743) \ + $(am__append_2747) $(am__append_2751) $(am__append_2755) \ + $(am__append_2759) $(am__append_2763) $(am__append_2767) \ + $(am__append_2771) $(am__append_2775) $(am__append_2779) \ + $(am__append_2783) $(am__append_2787) $(am__append_2791) \ + $(am__append_2795) $(am__append_2799) $(am__append_2803) \ + $(am__append_2807) $(am__append_2811) $(am__append_2815) \ + $(am__append_2819) $(am__append_2823) $(am__append_2827) \ + $(am__append_2831) $(am__append_2835) $(am__append_2839) \ + $(am__append_2843) $(am__append_2847) $(am__append_2851) \ + $(am__append_2855) $(am__append_2859) $(am__append_2863) \ + $(am__append_2867) $(am__append_2871) $(am__append_2875) \ + $(am__append_2879) $(am__append_2883) $(am__append_2887) \ + $(am__append_2891) $(am__append_2895) $(am__append_2899) \ + $(am__append_2903) $(am__append_2907) $(am__append_2911) \ + $(am__append_2915) $(am__append_2919) $(am__append_2923) \ + $(am__append_2927) $(am__append_2931) $(am__append_2935) \ + $(am__append_2939) $(am__append_2943) $(am__append_2947) \ + $(am__append_2951) $(am__append_2955) $(am__append_2959) \ + $(am__append_2963) $(am__append_2967) $(am__append_2971) \ + $(am__append_2975) $(am__append_2979) $(am__append_2983) \ + $(am__append_2987) $(am__append_2991) $(am__append_2995) \ + $(am__append_2999) $(am__append_3003) $(am__append_3007) \ + $(am__append_3011) $(am__append_3015) $(am__append_3019) \ + $(am__append_3023) $(am__append_3027) $(am__append_3031) \ + $(am__append_3035) $(am__append_3039) $(am__append_3043) \ + $(am__append_3047) $(am__append_3051) +@COND_emu_TRUE@am__append_9 = libgrubkern.a +@COND_emu_TRUE@am__append_10 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_emu_TRUE@am__append_11 = +@COND_emu_TRUE@am__append_12 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_emu_TRUE@am__append_13 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_emu_TRUE@am__append_14 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_emu_TRUE@am__append_15 = +@COND_emu_TRUE@am__append_16 = $(nodist_libgrubkern_a_SOURCES) +@COND_emu_TRUE@am__append_17 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_pc_TRUE@am__append_18 = libgrubkern.a +@COND_i386_pc_TRUE@am__append_19 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_i386_pc_TRUE@am__append_20 = +@COND_i386_pc_TRUE@am__append_21 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_i386_pc_TRUE@am__append_22 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_i386_pc_TRUE@am__append_23 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_pc_TRUE@am__append_24 = +@COND_i386_pc_TRUE@am__append_25 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_pc_TRUE@am__append_26 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_efi_TRUE@am__append_27 = libgrubkern.a +@COND_i386_efi_TRUE@am__append_28 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_i386_efi_TRUE@am__append_29 = +@COND_i386_efi_TRUE@am__append_30 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_i386_efi_TRUE@am__append_31 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_i386_efi_TRUE@am__append_32 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_efi_TRUE@am__append_33 = +@COND_i386_efi_TRUE@am__append_34 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_efi_TRUE@am__append_35 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_qemu_TRUE@am__append_36 = libgrubkern.a +@COND_i386_qemu_TRUE@am__append_37 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_i386_qemu_TRUE@am__append_38 = +@COND_i386_qemu_TRUE@am__append_39 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_i386_qemu_TRUE@am__append_40 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_i386_qemu_TRUE@am__append_41 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_qemu_TRUE@am__append_42 = +@COND_i386_qemu_TRUE@am__append_43 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_qemu_TRUE@am__append_44 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_coreboot_TRUE@am__append_45 = libgrubkern.a +@COND_i386_coreboot_TRUE@am__append_46 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_i386_coreboot_TRUE@am__append_47 = +@COND_i386_coreboot_TRUE@am__append_48 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@am__append_49 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@am__append_50 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_coreboot_TRUE@am__append_51 = +@COND_i386_coreboot_TRUE@am__append_52 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_coreboot_TRUE@am__append_53 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_multiboot_TRUE@am__append_54 = libgrubkern.a +@COND_i386_multiboot_TRUE@am__append_55 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_i386_multiboot_TRUE@am__append_56 = +@COND_i386_multiboot_TRUE@am__append_57 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_i386_multiboot_TRUE@am__append_58 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_i386_multiboot_TRUE@am__append_59 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_multiboot_TRUE@am__append_60 = +@COND_i386_multiboot_TRUE@am__append_61 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_multiboot_TRUE@am__append_62 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_63 = libgrubkern.a +@COND_i386_ieee1275_TRUE@am__append_64 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_i386_ieee1275_TRUE@am__append_65 = +@COND_i386_ieee1275_TRUE@am__append_66 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_i386_ieee1275_TRUE@am__append_67 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_i386_ieee1275_TRUE@am__append_68 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_ieee1275_TRUE@am__append_69 = +@COND_i386_ieee1275_TRUE@am__append_70 = $(nodist_libgrubkern_a_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_71 = $(nodist_libgrubkern_a_SOURCES) +@COND_x86_64_efi_TRUE@am__append_72 = libgrubkern.a +@COND_x86_64_efi_TRUE@am__append_73 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_x86_64_efi_TRUE@am__append_74 = +@COND_x86_64_efi_TRUE@am__append_75 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_x86_64_efi_TRUE@am__append_76 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_x86_64_efi_TRUE@am__append_77 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_x86_64_efi_TRUE@am__append_78 = +@COND_x86_64_efi_TRUE@am__append_79 = $(nodist_libgrubkern_a_SOURCES) +@COND_x86_64_efi_TRUE@am__append_80 = $(nodist_libgrubkern_a_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_81 = libgrubkern.a +@COND_mips_yeeloong_TRUE@am__append_82 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_mips_yeeloong_TRUE@am__append_83 = +@COND_mips_yeeloong_TRUE@am__append_84 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_mips_yeeloong_TRUE@am__append_85 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_mips_yeeloong_TRUE@am__append_86 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_mips_yeeloong_TRUE@am__append_87 = +@COND_mips_yeeloong_TRUE@am__append_88 = $(nodist_libgrubkern_a_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_89 = $(nodist_libgrubkern_a_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_90 = libgrubkern.a +@COND_sparc64_ieee1275_TRUE@am__append_91 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_sparc64_ieee1275_TRUE@am__append_92 = +@COND_sparc64_ieee1275_TRUE@am__append_93 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_sparc64_ieee1275_TRUE@am__append_94 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_sparc64_ieee1275_TRUE@am__append_95 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_sparc64_ieee1275_TRUE@am__append_96 = +@COND_sparc64_ieee1275_TRUE@am__append_97 = $(nodist_libgrubkern_a_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_98 = $(nodist_libgrubkern_a_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_99 = libgrubkern.a +@COND_powerpc_ieee1275_TRUE@am__append_100 = util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +@COND_powerpc_ieee1275_TRUE@am__append_101 = +@COND_powerpc_ieee1275_TRUE@am__append_102 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +@COND_powerpc_ieee1275_TRUE@am__append_103 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +@COND_powerpc_ieee1275_TRUE@am__append_104 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_powerpc_ieee1275_TRUE@am__append_105 = +@COND_powerpc_ieee1275_TRUE@am__append_106 = $(nodist_libgrubkern_a_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_107 = $(nodist_libgrubkern_a_SOURCES) +@COND_emu_TRUE@am__append_108 = libgrubmods.a +@COND_emu_TRUE@am__append_109 = grub-core/commands/blocklist.c \ +@COND_emu_TRUE@ grub-core/commands/extcmd.c \ +@COND_emu_TRUE@ grub-core/commands/ls.c \ +@COND_emu_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_emu_TRUE@ grub-core/disk/loopback.c grub-core/disk/lvm.c \ +@COND_emu_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_emu_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_emu_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_emu_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_emu_TRUE@ grub-core/disk/raid.c grub-core/fs/affs.c \ +@COND_emu_TRUE@ grub-core/fs/afs_be.c grub-core/fs/afs.c \ +@COND_emu_TRUE@ grub-core/fs/befs_be.c grub-core/fs/befs.c \ +@COND_emu_TRUE@ grub-core/fs/btrfs.c grub-core/fs/cpio.c \ +@COND_emu_TRUE@ grub-core/fs/ext2.c grub-core/fs/fat.c \ +@COND_emu_TRUE@ grub-core/fs/fshelp.c grub-core/fs/hfs.c \ +@COND_emu_TRUE@ grub-core/fs/hfsplus.c grub-core/fs/iso9660.c \ +@COND_emu_TRUE@ grub-core/fs/jfs.c grub-core/fs/minix.c \ +@COND_emu_TRUE@ grub-core/fs/minix2.c grub-core/fs/nilfs2.c \ +@COND_emu_TRUE@ grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c \ +@COND_emu_TRUE@ grub-core/fs/reiserfs.c grub-core/fs/sfs.c \ +@COND_emu_TRUE@ grub-core/fs/tar.c grub-core/fs/udf.c \ +@COND_emu_TRUE@ grub-core/fs/ufs2.c grub-core/fs/ufs.c \ +@COND_emu_TRUE@ grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c \ +@COND_emu_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_emu_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_emu_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_emu_TRUE@ grub-core/lib/arg.c grub-core/lib/crypto.c \ +@COND_emu_TRUE@ grub-core/lib/envblk.c grub-core/lib/hexdump.c \ +@COND_emu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_emu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_emu_TRUE@ grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c \ +@COND_emu_TRUE@ grub-core/lib/pbkdf2.c grub-core/lib/crc.c \ +@COND_emu_TRUE@ grub-core/normal/datetime.c \ +@COND_emu_TRUE@ grub-core/normal/misc.c \ +@COND_emu_TRUE@ grub-core/partmap/acorn.c \ +@COND_emu_TRUE@ grub-core/partmap/amiga.c \ +@COND_emu_TRUE@ grub-core/partmap/apple.c \ +@COND_emu_TRUE@ grub-core/partmap/gpt.c \ +@COND_emu_TRUE@ grub-core/partmap/msdos.c \ +@COND_emu_TRUE@ grub-core/partmap/sun.c \ +@COND_emu_TRUE@ grub-core/partmap/sunpc.c \ +@COND_emu_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_emu_TRUE@ grub-core/script/function.c \ +@COND_emu_TRUE@ grub-core/script/lexer.c \ +@COND_emu_TRUE@ grub-core/script/main.c \ +@COND_emu_TRUE@ grub-core/script/script.c \ +@COND_emu_TRUE@ grub-core/script/argv.c grub-core/io/gzio.c +@COND_emu_TRUE@am__append_110 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_emu_TRUE@am__append_111 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_emu_TRUE@am__append_112 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@am__append_113 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_emu_TRUE@am__append_114 = +@COND_emu_TRUE@am__append_115 = $(nodist_libgrubmods_a_SOURCES) +@COND_emu_TRUE@am__append_116 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_pc_TRUE@am__append_117 = libgrubmods.a +@COND_i386_pc_TRUE@am__append_118 = grub-core/commands/blocklist.c \ +@COND_i386_pc_TRUE@ grub-core/commands/extcmd.c \ +@COND_i386_pc_TRUE@ grub-core/commands/ls.c \ +@COND_i386_pc_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_i386_pc_TRUE@ grub-core/disk/loopback.c \ +@COND_i386_pc_TRUE@ grub-core/disk/lvm.c \ +@COND_i386_pc_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_i386_pc_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_i386_pc_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_i386_pc_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_i386_pc_TRUE@ grub-core/disk/raid.c grub-core/fs/affs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/afs_be.c grub-core/fs/afs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/befs_be.c grub-core/fs/befs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/btrfs.c grub-core/fs/cpio.c \ +@COND_i386_pc_TRUE@ grub-core/fs/ext2.c grub-core/fs/fat.c \ +@COND_i386_pc_TRUE@ grub-core/fs/fshelp.c grub-core/fs/hfs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/hfsplus.c \ +@COND_i386_pc_TRUE@ grub-core/fs/iso9660.c grub-core/fs/jfs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/minix.c grub-core/fs/minix2.c \ +@COND_i386_pc_TRUE@ grub-core/fs/nilfs2.c grub-core/fs/ntfs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_i386_pc_TRUE@ grub-core/fs/reiserfs.c grub-core/fs/sfs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/tar.c grub-core/fs/udf.c \ +@COND_i386_pc_TRUE@ grub-core/fs/ufs2.c grub-core/fs/ufs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_i386_pc_TRUE@ grub-core/lib/arg.c grub-core/lib/crypto.c \ +@COND_i386_pc_TRUE@ grub-core/lib/envblk.c \ +@COND_i386_pc_TRUE@ grub-core/lib/hexdump.c \ +@COND_i386_pc_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_i386_pc_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_i386_pc_TRUE@ grub-core/lib/LzFind.c \ +@COND_i386_pc_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_i386_pc_TRUE@ grub-core/lib/pbkdf2.c grub-core/lib/crc.c \ +@COND_i386_pc_TRUE@ grub-core/normal/datetime.c \ +@COND_i386_pc_TRUE@ grub-core/normal/misc.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/acorn.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/amiga.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/apple.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/gpt.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/msdos.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/sun.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/sunpc.c \ +@COND_i386_pc_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_i386_pc_TRUE@ grub-core/script/function.c \ +@COND_i386_pc_TRUE@ grub-core/script/lexer.c \ +@COND_i386_pc_TRUE@ grub-core/script/main.c \ +@COND_i386_pc_TRUE@ grub-core/script/script.c \ +@COND_i386_pc_TRUE@ grub-core/script/argv.c grub-core/io/gzio.c +@COND_i386_pc_TRUE@am__append_119 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_i386_pc_TRUE@am__append_120 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@am__append_121 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@am__append_122 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_pc_TRUE@am__append_123 = +@COND_i386_pc_TRUE@am__append_124 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_pc_TRUE@am__append_125 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_efi_TRUE@am__append_126 = libgrubmods.a +@COND_i386_efi_TRUE@am__append_127 = grub-core/commands/blocklist.c \ +@COND_i386_efi_TRUE@ grub-core/commands/extcmd.c \ +@COND_i386_efi_TRUE@ grub-core/commands/ls.c \ +@COND_i386_efi_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_i386_efi_TRUE@ grub-core/disk/loopback.c \ +@COND_i386_efi_TRUE@ grub-core/disk/lvm.c \ +@COND_i386_efi_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_i386_efi_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_i386_efi_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_i386_efi_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_i386_efi_TRUE@ grub-core/disk/raid.c grub-core/fs/affs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/afs_be.c grub-core/fs/afs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/befs_be.c grub-core/fs/befs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/btrfs.c grub-core/fs/cpio.c \ +@COND_i386_efi_TRUE@ grub-core/fs/ext2.c grub-core/fs/fat.c \ +@COND_i386_efi_TRUE@ grub-core/fs/fshelp.c grub-core/fs/hfs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/hfsplus.c \ +@COND_i386_efi_TRUE@ grub-core/fs/iso9660.c grub-core/fs/jfs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/minix.c grub-core/fs/minix2.c \ +@COND_i386_efi_TRUE@ grub-core/fs/nilfs2.c grub-core/fs/ntfs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_i386_efi_TRUE@ grub-core/fs/reiserfs.c grub-core/fs/sfs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/tar.c grub-core/fs/udf.c \ +@COND_i386_efi_TRUE@ grub-core/fs/ufs2.c grub-core/fs/ufs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_i386_efi_TRUE@ grub-core/lib/arg.c grub-core/lib/crypto.c \ +@COND_i386_efi_TRUE@ grub-core/lib/envblk.c \ +@COND_i386_efi_TRUE@ grub-core/lib/hexdump.c \ +@COND_i386_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_i386_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_i386_efi_TRUE@ grub-core/lib/LzFind.c \ +@COND_i386_efi_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_i386_efi_TRUE@ grub-core/lib/pbkdf2.c grub-core/lib/crc.c \ +@COND_i386_efi_TRUE@ grub-core/normal/datetime.c \ +@COND_i386_efi_TRUE@ grub-core/normal/misc.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/acorn.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/amiga.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/apple.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/gpt.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/msdos.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/sun.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/sunpc.c \ +@COND_i386_efi_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_i386_efi_TRUE@ grub-core/script/function.c \ +@COND_i386_efi_TRUE@ grub-core/script/lexer.c \ +@COND_i386_efi_TRUE@ grub-core/script/main.c \ +@COND_i386_efi_TRUE@ grub-core/script/script.c \ +@COND_i386_efi_TRUE@ grub-core/script/argv.c \ +@COND_i386_efi_TRUE@ grub-core/io/gzio.c +@COND_i386_efi_TRUE@am__append_128 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_i386_efi_TRUE@am__append_129 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@am__append_130 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@am__append_131 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_efi_TRUE@am__append_132 = +@COND_i386_efi_TRUE@am__append_133 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_efi_TRUE@am__append_134 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_qemu_TRUE@am__append_135 = libgrubmods.a +@COND_i386_qemu_TRUE@am__append_136 = grub-core/commands/blocklist.c \ +@COND_i386_qemu_TRUE@ grub-core/commands/extcmd.c \ +@COND_i386_qemu_TRUE@ grub-core/commands/ls.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/loopback.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/lvm.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_i386_qemu_TRUE@ grub-core/disk/raid.c grub-core/fs/affs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/afs_be.c grub-core/fs/afs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/befs_be.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/befs.c grub-core/fs/btrfs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/cpio.c grub-core/fs/ext2.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/fat.c grub-core/fs/fshelp.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/hfs.c grub-core/fs/hfsplus.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/iso9660.c grub-core/fs/jfs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/minix.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/minix2.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/nilfs2.c grub-core/fs/ntfs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/reiserfs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/sfs.c grub-core/fs/tar.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/udf.c grub-core/fs/ufs2.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/ufs.c grub-core/fs/xfs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/arg.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/crypto.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/envblk.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/hexdump.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/LzFind.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_i386_qemu_TRUE@ grub-core/lib/crc.c \ +@COND_i386_qemu_TRUE@ grub-core/normal/datetime.c \ +@COND_i386_qemu_TRUE@ grub-core/normal/misc.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/acorn.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/amiga.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/apple.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/gpt.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/msdos.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/sun.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/sunpc.c \ +@COND_i386_qemu_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_i386_qemu_TRUE@ grub-core/script/function.c \ +@COND_i386_qemu_TRUE@ grub-core/script/lexer.c \ +@COND_i386_qemu_TRUE@ grub-core/script/main.c \ +@COND_i386_qemu_TRUE@ grub-core/script/script.c \ +@COND_i386_qemu_TRUE@ grub-core/script/argv.c \ +@COND_i386_qemu_TRUE@ grub-core/io/gzio.c +@COND_i386_qemu_TRUE@am__append_137 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_i386_qemu_TRUE@am__append_138 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@am__append_139 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@am__append_140 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_qemu_TRUE@am__append_141 = +@COND_i386_qemu_TRUE@am__append_142 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_qemu_TRUE@am__append_143 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_coreboot_TRUE@am__append_144 = libgrubmods.a +@COND_i386_coreboot_TRUE@am__append_145 = \ +@COND_i386_coreboot_TRUE@ grub-core/commands/blocklist.c \ +@COND_i386_coreboot_TRUE@ grub-core/commands/extcmd.c \ +@COND_i386_coreboot_TRUE@ grub-core/commands/ls.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/loopback.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/lvm.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_i386_coreboot_TRUE@ grub-core/disk/raid.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/affs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/afs_be.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/afs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/befs_be.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/befs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/btrfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/cpio.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/ext2.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/fat.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/fshelp.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/hfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/hfsplus.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/iso9660.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/jfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/minix.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/minix2.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/nilfs2.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/ntfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/reiserfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/sfs.c grub-core/fs/tar.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/udf.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/ufs2.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/ufs.c grub-core/fs/xfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/arg.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/crypto.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/envblk.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/hexdump.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/LzFind.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_i386_coreboot_TRUE@ grub-core/lib/crc.c \ +@COND_i386_coreboot_TRUE@ grub-core/normal/datetime.c \ +@COND_i386_coreboot_TRUE@ grub-core/normal/misc.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/acorn.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/amiga.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/apple.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/gpt.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/msdos.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/sun.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/sunpc.c \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_i386_coreboot_TRUE@ grub-core/script/function.c \ +@COND_i386_coreboot_TRUE@ grub-core/script/lexer.c \ +@COND_i386_coreboot_TRUE@ grub-core/script/main.c \ +@COND_i386_coreboot_TRUE@ grub-core/script/script.c \ +@COND_i386_coreboot_TRUE@ grub-core/script/argv.c \ +@COND_i386_coreboot_TRUE@ grub-core/io/gzio.c +@COND_i386_coreboot_TRUE@am__append_146 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_i386_coreboot_TRUE@am__append_147 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@am__append_148 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@am__append_149 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_coreboot_TRUE@am__append_150 = +@COND_i386_coreboot_TRUE@am__append_151 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_coreboot_TRUE@am__append_152 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_multiboot_TRUE@am__append_153 = libgrubmods.a +@COND_i386_multiboot_TRUE@am__append_154 = \ +@COND_i386_multiboot_TRUE@ grub-core/commands/blocklist.c \ +@COND_i386_multiboot_TRUE@ grub-core/commands/extcmd.c \ +@COND_i386_multiboot_TRUE@ grub-core/commands/ls.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/loopback.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/lvm.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_i386_multiboot_TRUE@ grub-core/disk/raid.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/affs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/afs_be.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/afs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/befs_be.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/befs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/btrfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/cpio.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/ext2.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/fat.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/fshelp.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/hfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/hfsplus.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/iso9660.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/jfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/minix.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/minix2.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/nilfs2.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/ntfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/reiserfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/sfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/tar.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/udf.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/ufs2.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/ufs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/xfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/arg.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/crypto.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/envblk.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/hexdump.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/LzFind.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_i386_multiboot_TRUE@ grub-core/lib/crc.c \ +@COND_i386_multiboot_TRUE@ grub-core/normal/datetime.c \ +@COND_i386_multiboot_TRUE@ grub-core/normal/misc.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/acorn.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/amiga.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/apple.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/gpt.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/msdos.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/sun.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/sunpc.c \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_i386_multiboot_TRUE@ grub-core/script/function.c \ +@COND_i386_multiboot_TRUE@ grub-core/script/lexer.c \ +@COND_i386_multiboot_TRUE@ grub-core/script/main.c \ +@COND_i386_multiboot_TRUE@ grub-core/script/script.c \ +@COND_i386_multiboot_TRUE@ grub-core/script/argv.c \ +@COND_i386_multiboot_TRUE@ grub-core/io/gzio.c +@COND_i386_multiboot_TRUE@am__append_155 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_i386_multiboot_TRUE@am__append_156 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@am__append_157 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@am__append_158 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_multiboot_TRUE@am__append_159 = +@COND_i386_multiboot_TRUE@am__append_160 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_multiboot_TRUE@am__append_161 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_162 = libgrubmods.a +@COND_i386_ieee1275_TRUE@am__append_163 = \ +@COND_i386_ieee1275_TRUE@ grub-core/commands/blocklist.c \ +@COND_i386_ieee1275_TRUE@ grub-core/commands/extcmd.c \ +@COND_i386_ieee1275_TRUE@ grub-core/commands/ls.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/loopback.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/lvm.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/raid.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/affs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/afs_be.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/afs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/befs_be.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/befs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/btrfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/cpio.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/ext2.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/fat.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/fshelp.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/hfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/hfsplus.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/iso9660.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/jfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/minix.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/minix2.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/nilfs2.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/ntfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/reiserfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/sfs.c grub-core/fs/tar.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/udf.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/ufs2.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/ufs.c grub-core/fs/xfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/arg.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/crypto.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/envblk.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/hexdump.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/LzFind.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/crc.c \ +@COND_i386_ieee1275_TRUE@ grub-core/normal/datetime.c \ +@COND_i386_ieee1275_TRUE@ grub-core/normal/misc.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/acorn.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/amiga.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/apple.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/gpt.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/msdos.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/sun.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/sunpc.c \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_i386_ieee1275_TRUE@ grub-core/script/function.c \ +@COND_i386_ieee1275_TRUE@ grub-core/script/lexer.c \ +@COND_i386_ieee1275_TRUE@ grub-core/script/main.c \ +@COND_i386_ieee1275_TRUE@ grub-core/script/script.c \ +@COND_i386_ieee1275_TRUE@ grub-core/script/argv.c \ +@COND_i386_ieee1275_TRUE@ grub-core/io/gzio.c +@COND_i386_ieee1275_TRUE@am__append_164 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_i386_ieee1275_TRUE@am__append_165 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@am__append_166 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@am__append_167 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_ieee1275_TRUE@am__append_168 = +@COND_i386_ieee1275_TRUE@am__append_169 = $(nodist_libgrubmods_a_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_170 = $(nodist_libgrubmods_a_SOURCES) +@COND_x86_64_efi_TRUE@am__append_171 = libgrubmods.a +@COND_x86_64_efi_TRUE@am__append_172 = grub-core/commands/blocklist.c \ +@COND_x86_64_efi_TRUE@ grub-core/commands/extcmd.c \ +@COND_x86_64_efi_TRUE@ grub-core/commands/ls.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/loopback.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/lvm.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_x86_64_efi_TRUE@ grub-core/disk/raid.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/affs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/afs_be.c grub-core/fs/afs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/befs_be.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/befs.c grub-core/fs/btrfs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/cpio.c grub-core/fs/ext2.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/fat.c grub-core/fs/fshelp.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/hfs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/hfsplus.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/iso9660.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/jfs.c grub-core/fs/minix.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/minix2.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/nilfs2.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/ntfs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/reiserfs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/sfs.c grub-core/fs/tar.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/udf.c grub-core/fs/ufs2.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/ufs.c grub-core/fs/xfs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/arg.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/crypto.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/envblk.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/hexdump.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/LzFind.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_x86_64_efi_TRUE@ grub-core/lib/crc.c \ +@COND_x86_64_efi_TRUE@ grub-core/normal/datetime.c \ +@COND_x86_64_efi_TRUE@ grub-core/normal/misc.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/acorn.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/amiga.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/apple.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/gpt.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/msdos.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/sun.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/sunpc.c \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_x86_64_efi_TRUE@ grub-core/script/function.c \ +@COND_x86_64_efi_TRUE@ grub-core/script/lexer.c \ +@COND_x86_64_efi_TRUE@ grub-core/script/main.c \ +@COND_x86_64_efi_TRUE@ grub-core/script/script.c \ +@COND_x86_64_efi_TRUE@ grub-core/script/argv.c \ +@COND_x86_64_efi_TRUE@ grub-core/io/gzio.c +@COND_x86_64_efi_TRUE@am__append_173 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_x86_64_efi_TRUE@am__append_174 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@am__append_175 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@am__append_176 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_x86_64_efi_TRUE@am__append_177 = +@COND_x86_64_efi_TRUE@am__append_178 = $(nodist_libgrubmods_a_SOURCES) +@COND_x86_64_efi_TRUE@am__append_179 = $(nodist_libgrubmods_a_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_180 = libgrubmods.a +@COND_mips_yeeloong_TRUE@am__append_181 = \ +@COND_mips_yeeloong_TRUE@ grub-core/commands/blocklist.c \ +@COND_mips_yeeloong_TRUE@ grub-core/commands/extcmd.c \ +@COND_mips_yeeloong_TRUE@ grub-core/commands/ls.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/loopback.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/lvm.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/raid.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/affs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/afs_be.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/afs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/befs_be.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/befs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/btrfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/cpio.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/ext2.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/fat.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/fshelp.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/hfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/hfsplus.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/iso9660.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/jfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/minix.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/minix2.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/nilfs2.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/ntfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/reiserfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/sfs.c grub-core/fs/tar.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/udf.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/ufs2.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/ufs.c grub-core/fs/xfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/arg.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/crypto.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/envblk.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/hexdump.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/LzFind.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/crc.c \ +@COND_mips_yeeloong_TRUE@ grub-core/normal/datetime.c \ +@COND_mips_yeeloong_TRUE@ grub-core/normal/misc.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/acorn.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/amiga.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/apple.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/gpt.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/msdos.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/sun.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/sunpc.c \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_mips_yeeloong_TRUE@ grub-core/script/function.c \ +@COND_mips_yeeloong_TRUE@ grub-core/script/lexer.c \ +@COND_mips_yeeloong_TRUE@ grub-core/script/main.c \ +@COND_mips_yeeloong_TRUE@ grub-core/script/script.c \ +@COND_mips_yeeloong_TRUE@ grub-core/script/argv.c \ +@COND_mips_yeeloong_TRUE@ grub-core/io/gzio.c +@COND_mips_yeeloong_TRUE@am__append_182 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_mips_yeeloong_TRUE@am__append_183 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@am__append_184 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@am__append_185 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_mips_yeeloong_TRUE@am__append_186 = +@COND_mips_yeeloong_TRUE@am__append_187 = $(nodist_libgrubmods_a_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_188 = $(nodist_libgrubmods_a_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_189 = libgrubmods.a +@COND_sparc64_ieee1275_TRUE@am__append_190 = \ +@COND_sparc64_ieee1275_TRUE@ grub-core/commands/blocklist.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/commands/extcmd.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/commands/ls.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/loopback.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/lvm.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/raid.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/affs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/afs_be.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/afs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/befs_be.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/befs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/btrfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/cpio.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/ext2.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/fat.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/fshelp.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/hfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/hfsplus.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/iso9660.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/jfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/minix.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/minix2.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/nilfs2.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/ntfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/reiserfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/sfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/tar.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/udf.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/ufs2.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/ufs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/xfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/arg.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/crypto.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/envblk.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/hexdump.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/LzFind.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/crc.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/normal/datetime.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/normal/misc.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/acorn.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/amiga.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/apple.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/gpt.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/msdos.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/sun.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/sunpc.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/function.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/lexer.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/main.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/script.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/argv.c \ +@COND_sparc64_ieee1275_TRUE@ grub-core/io/gzio.c +@COND_sparc64_ieee1275_TRUE@am__append_191 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_sparc64_ieee1275_TRUE@am__append_192 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@am__append_193 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@am__append_194 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_sparc64_ieee1275_TRUE@am__append_195 = +@COND_sparc64_ieee1275_TRUE@am__append_196 = $(nodist_libgrubmods_a_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_197 = $(nodist_libgrubmods_a_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_198 = libgrubmods.a +@COND_powerpc_ieee1275_TRUE@am__append_199 = \ +@COND_powerpc_ieee1275_TRUE@ grub-core/commands/blocklist.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/commands/extcmd.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/commands/ls.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/dmraid_nvidia.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/loopback.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/lvm.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/mdraid_linux.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/mdraid1x_linux.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/raid5_recover.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/raid6_recover.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/raid.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/affs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/afs_be.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/afs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/befs_be.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/befs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/btrfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/cpio.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/ext2.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/fat.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/fshelp.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/hfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/hfsplus.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/iso9660.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/jfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/minix.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/minix2.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/nilfs2.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/ntfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/ntfscomp.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/reiserfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/sfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/tar.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/udf.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/ufs2.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/ufs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/xfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/zfs.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/zfs_lzjb.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/zfs_sha256.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/zfs_fletcher.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/arg.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/crypto.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/envblk.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/hexdump.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/sha512.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/crc.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/LzFind.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/LzmaEnc.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/pbkdf2.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/crc.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/normal/datetime.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/normal/misc.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/acorn.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/amiga.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/apple.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/gpt.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/msdos.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/sun.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/sunpc.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/bsdlabel.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/function.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/lexer.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/main.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/script.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/argv.c \ +@COND_powerpc_ieee1275_TRUE@ grub-core/io/gzio.c +@COND_powerpc_ieee1275_TRUE@am__append_200 = grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +@COND_powerpc_ieee1275_TRUE@am__append_201 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@am__append_202 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@am__append_203 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_powerpc_ieee1275_TRUE@am__append_204 = +@COND_powerpc_ieee1275_TRUE@am__append_205 = $(nodist_libgrubmods_a_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_206 = $(nodist_libgrubmods_a_SOURCES) +@COND_emu_TRUE@am__append_207 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_208 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_209 = grub-bin2h.1 +@COND_emu_TRUE@am__append_210 = +@COND_emu_TRUE@am__append_211 = $(nodist_grub_bin2h_SOURCES) +@COND_emu_TRUE@am__append_212 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_pc_TRUE@am__append_213 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_214 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_215 = grub-bin2h.1 +@COND_i386_pc_TRUE@am__append_216 = +@COND_i386_pc_TRUE@am__append_217 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_pc_TRUE@am__append_218 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_efi_TRUE@am__append_219 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_220 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_221 = grub-bin2h.1 +@COND_i386_efi_TRUE@am__append_222 = +@COND_i386_efi_TRUE@am__append_223 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_efi_TRUE@am__append_224 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_qemu_TRUE@am__append_225 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_226 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_227 = grub-bin2h.1 +@COND_i386_qemu_TRUE@am__append_228 = +@COND_i386_qemu_TRUE@am__append_229 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_qemu_TRUE@am__append_230 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_coreboot_TRUE@am__append_231 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_232 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_233 = grub-bin2h.1 +@COND_i386_coreboot_TRUE@am__append_234 = +@COND_i386_coreboot_TRUE@am__append_235 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_coreboot_TRUE@am__append_236 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_multiboot_TRUE@am__append_237 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_238 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_239 = grub-bin2h.1 +@COND_i386_multiboot_TRUE@am__append_240 = +@COND_i386_multiboot_TRUE@am__append_241 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_multiboot_TRUE@am__append_242 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_243 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_244 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_245 = grub-bin2h.1 +@COND_i386_ieee1275_TRUE@am__append_246 = +@COND_i386_ieee1275_TRUE@am__append_247 = $(nodist_grub_bin2h_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_248 = $(nodist_grub_bin2h_SOURCES) +@COND_x86_64_efi_TRUE@am__append_249 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_250 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_251 = grub-bin2h.1 +@COND_x86_64_efi_TRUE@am__append_252 = +@COND_x86_64_efi_TRUE@am__append_253 = $(nodist_grub_bin2h_SOURCES) +@COND_x86_64_efi_TRUE@am__append_254 = $(nodist_grub_bin2h_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_255 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_256 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_257 = grub-bin2h.1 +@COND_mips_yeeloong_TRUE@am__append_258 = +@COND_mips_yeeloong_TRUE@am__append_259 = $(nodist_grub_bin2h_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_260 = $(nodist_grub_bin2h_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_261 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_262 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_263 = grub-bin2h.1 +@COND_sparc64_ieee1275_TRUE@am__append_264 = +@COND_sparc64_ieee1275_TRUE@am__append_265 = $(nodist_grub_bin2h_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_266 = $(nodist_grub_bin2h_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_267 = grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_268 = grub-bin2h.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_269 = grub-bin2h.1 +@COND_powerpc_ieee1275_TRUE@am__append_270 = +@COND_powerpc_ieee1275_TRUE@am__append_271 = $(nodist_grub_bin2h_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_272 = $(nodist_grub_bin2h_SOURCES) +@COND_emu_TRUE@am__append_273 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_274 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_275 = grub-mkimage.1 +@COND_emu_TRUE@am__append_276 = util/grub-mkimagexx.c +@COND_emu_TRUE@am__append_277 = $(nodist_grub_mkimage_SOURCES) +@COND_emu_TRUE@am__append_278 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_pc_TRUE@am__append_279 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_280 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_281 = grub-mkimage.1 +@COND_i386_pc_TRUE@am__append_282 = util/grub-mkimagexx.c +@COND_i386_pc_TRUE@am__append_283 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_pc_TRUE@am__append_284 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_efi_TRUE@am__append_285 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_286 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_287 = grub-mkimage.1 +@COND_i386_efi_TRUE@am__append_288 = util/grub-mkimagexx.c +@COND_i386_efi_TRUE@am__append_289 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_efi_TRUE@am__append_290 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_qemu_TRUE@am__append_291 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_292 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_293 = grub-mkimage.1 +@COND_i386_qemu_TRUE@am__append_294 = util/grub-mkimagexx.c +@COND_i386_qemu_TRUE@am__append_295 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_qemu_TRUE@am__append_296 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_coreboot_TRUE@am__append_297 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_298 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_299 = grub-mkimage.1 +@COND_i386_coreboot_TRUE@am__append_300 = util/grub-mkimagexx.c +@COND_i386_coreboot_TRUE@am__append_301 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_coreboot_TRUE@am__append_302 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_multiboot_TRUE@am__append_303 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_304 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_305 = grub-mkimage.1 +@COND_i386_multiboot_TRUE@am__append_306 = util/grub-mkimagexx.c +@COND_i386_multiboot_TRUE@am__append_307 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_multiboot_TRUE@am__append_308 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_309 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_310 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_311 = grub-mkimage.1 +@COND_i386_ieee1275_TRUE@am__append_312 = util/grub-mkimagexx.c +@COND_i386_ieee1275_TRUE@am__append_313 = $(nodist_grub_mkimage_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_314 = $(nodist_grub_mkimage_SOURCES) +@COND_x86_64_efi_TRUE@am__append_315 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_316 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_317 = grub-mkimage.1 +@COND_x86_64_efi_TRUE@am__append_318 = util/grub-mkimagexx.c +@COND_x86_64_efi_TRUE@am__append_319 = $(nodist_grub_mkimage_SOURCES) +@COND_x86_64_efi_TRUE@am__append_320 = $(nodist_grub_mkimage_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_321 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_322 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_323 = grub-mkimage.1 +@COND_mips_yeeloong_TRUE@am__append_324 = util/grub-mkimagexx.c +@COND_mips_yeeloong_TRUE@am__append_325 = $(nodist_grub_mkimage_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_326 = $(nodist_grub_mkimage_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_327 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_328 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_329 = grub-mkimage.1 +@COND_sparc64_ieee1275_TRUE@am__append_330 = util/grub-mkimagexx.c +@COND_sparc64_ieee1275_TRUE@am__append_331 = $(nodist_grub_mkimage_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_332 = $(nodist_grub_mkimage_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_333 = grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_334 = grub-mkimage.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_335 = grub-mkimage.1 +@COND_powerpc_ieee1275_TRUE@am__append_336 = util/grub-mkimagexx.c +@COND_powerpc_ieee1275_TRUE@am__append_337 = $(nodist_grub_mkimage_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_338 = $(nodist_grub_mkimage_SOURCES) +@COND_emu_TRUE@am__append_339 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_340 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_341 = grub-mkrelpath.1 +@COND_emu_TRUE@am__append_342 = +@COND_emu_TRUE@am__append_343 = $(nodist_grub_mkrelpath_SOURCES) +@COND_emu_TRUE@am__append_344 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_pc_TRUE@am__append_345 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_346 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_347 = grub-mkrelpath.1 +@COND_i386_pc_TRUE@am__append_348 = +@COND_i386_pc_TRUE@am__append_349 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_pc_TRUE@am__append_350 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_efi_TRUE@am__append_351 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_352 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_353 = grub-mkrelpath.1 +@COND_i386_efi_TRUE@am__append_354 = +@COND_i386_efi_TRUE@am__append_355 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_efi_TRUE@am__append_356 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_qemu_TRUE@am__append_357 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_358 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_359 = grub-mkrelpath.1 +@COND_i386_qemu_TRUE@am__append_360 = +@COND_i386_qemu_TRUE@am__append_361 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_qemu_TRUE@am__append_362 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_coreboot_TRUE@am__append_363 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_364 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_365 = grub-mkrelpath.1 +@COND_i386_coreboot_TRUE@am__append_366 = +@COND_i386_coreboot_TRUE@am__append_367 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_coreboot_TRUE@am__append_368 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_multiboot_TRUE@am__append_369 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_370 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_371 = grub-mkrelpath.1 +@COND_i386_multiboot_TRUE@am__append_372 = +@COND_i386_multiboot_TRUE@am__append_373 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_multiboot_TRUE@am__append_374 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_375 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_376 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_377 = grub-mkrelpath.1 +@COND_i386_ieee1275_TRUE@am__append_378 = +@COND_i386_ieee1275_TRUE@am__append_379 = $(nodist_grub_mkrelpath_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_380 = $(nodist_grub_mkrelpath_SOURCES) +@COND_x86_64_efi_TRUE@am__append_381 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_382 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_383 = grub-mkrelpath.1 +@COND_x86_64_efi_TRUE@am__append_384 = +@COND_x86_64_efi_TRUE@am__append_385 = $(nodist_grub_mkrelpath_SOURCES) +@COND_x86_64_efi_TRUE@am__append_386 = $(nodist_grub_mkrelpath_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_387 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_388 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_389 = grub-mkrelpath.1 +@COND_mips_yeeloong_TRUE@am__append_390 = +@COND_mips_yeeloong_TRUE@am__append_391 = $(nodist_grub_mkrelpath_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_392 = $(nodist_grub_mkrelpath_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_393 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_394 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_395 = grub-mkrelpath.1 +@COND_sparc64_ieee1275_TRUE@am__append_396 = +@COND_sparc64_ieee1275_TRUE@am__append_397 = $(nodist_grub_mkrelpath_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_398 = $(nodist_grub_mkrelpath_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_399 = grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_400 = grub-mkrelpath.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_401 = grub-mkrelpath.1 +@COND_powerpc_ieee1275_TRUE@am__append_402 = +@COND_powerpc_ieee1275_TRUE@am__append_403 = $(nodist_grub_mkrelpath_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_404 = $(nodist_grub_mkrelpath_SOURCES) +@COND_emu_TRUE@am__append_405 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_406 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_407 = grub-script-check.1 +@COND_emu_TRUE@am__append_408 = +@COND_emu_TRUE@am__append_409 = $(nodist_grub_script_check_SOURCES) +@COND_emu_TRUE@am__append_410 = $(nodist_grub_script_check_SOURCES) +@COND_i386_pc_TRUE@am__append_411 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_412 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_413 = grub-script-check.1 +@COND_i386_pc_TRUE@am__append_414 = +@COND_i386_pc_TRUE@am__append_415 = $(nodist_grub_script_check_SOURCES) +@COND_i386_pc_TRUE@am__append_416 = $(nodist_grub_script_check_SOURCES) +@COND_i386_efi_TRUE@am__append_417 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_418 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_419 = grub-script-check.1 +@COND_i386_efi_TRUE@am__append_420 = +@COND_i386_efi_TRUE@am__append_421 = $(nodist_grub_script_check_SOURCES) +@COND_i386_efi_TRUE@am__append_422 = $(nodist_grub_script_check_SOURCES) +@COND_i386_qemu_TRUE@am__append_423 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_424 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_425 = grub-script-check.1 +@COND_i386_qemu_TRUE@am__append_426 = +@COND_i386_qemu_TRUE@am__append_427 = $(nodist_grub_script_check_SOURCES) +@COND_i386_qemu_TRUE@am__append_428 = $(nodist_grub_script_check_SOURCES) +@COND_i386_coreboot_TRUE@am__append_429 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_430 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_431 = grub-script-check.1 +@COND_i386_coreboot_TRUE@am__append_432 = +@COND_i386_coreboot_TRUE@am__append_433 = $(nodist_grub_script_check_SOURCES) +@COND_i386_coreboot_TRUE@am__append_434 = $(nodist_grub_script_check_SOURCES) +@COND_i386_multiboot_TRUE@am__append_435 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_436 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_437 = grub-script-check.1 +@COND_i386_multiboot_TRUE@am__append_438 = +@COND_i386_multiboot_TRUE@am__append_439 = $(nodist_grub_script_check_SOURCES) +@COND_i386_multiboot_TRUE@am__append_440 = $(nodist_grub_script_check_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_441 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_442 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_443 = grub-script-check.1 +@COND_i386_ieee1275_TRUE@am__append_444 = +@COND_i386_ieee1275_TRUE@am__append_445 = $(nodist_grub_script_check_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_446 = $(nodist_grub_script_check_SOURCES) +@COND_x86_64_efi_TRUE@am__append_447 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_448 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_449 = grub-script-check.1 +@COND_x86_64_efi_TRUE@am__append_450 = +@COND_x86_64_efi_TRUE@am__append_451 = $(nodist_grub_script_check_SOURCES) +@COND_x86_64_efi_TRUE@am__append_452 = $(nodist_grub_script_check_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_453 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_454 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_455 = grub-script-check.1 +@COND_mips_yeeloong_TRUE@am__append_456 = +@COND_mips_yeeloong_TRUE@am__append_457 = $(nodist_grub_script_check_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_458 = $(nodist_grub_script_check_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_459 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_460 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_461 = grub-script-check.1 +@COND_sparc64_ieee1275_TRUE@am__append_462 = +@COND_sparc64_ieee1275_TRUE@am__append_463 = $(nodist_grub_script_check_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_464 = $(nodist_grub_script_check_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_465 = grub-script-check +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_466 = grub-script-check.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_467 = grub-script-check.1 +@COND_powerpc_ieee1275_TRUE@am__append_468 = +@COND_powerpc_ieee1275_TRUE@am__append_469 = $(nodist_grub_script_check_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_470 = $(nodist_grub_script_check_SOURCES) +@COND_emu_TRUE@am__append_471 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_472 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_473 = grub-editenv.1 +@COND_emu_TRUE@am__append_474 = +@COND_emu_TRUE@am__append_475 = $(nodist_grub_editenv_SOURCES) +@COND_emu_TRUE@am__append_476 = $(nodist_grub_editenv_SOURCES) +@COND_i386_pc_TRUE@am__append_477 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_478 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_479 = grub-editenv.1 +@COND_i386_pc_TRUE@am__append_480 = +@COND_i386_pc_TRUE@am__append_481 = $(nodist_grub_editenv_SOURCES) +@COND_i386_pc_TRUE@am__append_482 = $(nodist_grub_editenv_SOURCES) +@COND_i386_efi_TRUE@am__append_483 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_484 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_485 = grub-editenv.1 +@COND_i386_efi_TRUE@am__append_486 = +@COND_i386_efi_TRUE@am__append_487 = $(nodist_grub_editenv_SOURCES) +@COND_i386_efi_TRUE@am__append_488 = $(nodist_grub_editenv_SOURCES) +@COND_i386_qemu_TRUE@am__append_489 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_490 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_491 = grub-editenv.1 +@COND_i386_qemu_TRUE@am__append_492 = +@COND_i386_qemu_TRUE@am__append_493 = $(nodist_grub_editenv_SOURCES) +@COND_i386_qemu_TRUE@am__append_494 = $(nodist_grub_editenv_SOURCES) +@COND_i386_coreboot_TRUE@am__append_495 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_496 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_497 = grub-editenv.1 +@COND_i386_coreboot_TRUE@am__append_498 = +@COND_i386_coreboot_TRUE@am__append_499 = $(nodist_grub_editenv_SOURCES) +@COND_i386_coreboot_TRUE@am__append_500 = $(nodist_grub_editenv_SOURCES) +@COND_i386_multiboot_TRUE@am__append_501 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_502 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_503 = grub-editenv.1 +@COND_i386_multiboot_TRUE@am__append_504 = +@COND_i386_multiboot_TRUE@am__append_505 = $(nodist_grub_editenv_SOURCES) +@COND_i386_multiboot_TRUE@am__append_506 = $(nodist_grub_editenv_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_507 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_508 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_509 = grub-editenv.1 +@COND_i386_ieee1275_TRUE@am__append_510 = +@COND_i386_ieee1275_TRUE@am__append_511 = $(nodist_grub_editenv_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_512 = $(nodist_grub_editenv_SOURCES) +@COND_x86_64_efi_TRUE@am__append_513 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_514 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_515 = grub-editenv.1 +@COND_x86_64_efi_TRUE@am__append_516 = +@COND_x86_64_efi_TRUE@am__append_517 = $(nodist_grub_editenv_SOURCES) +@COND_x86_64_efi_TRUE@am__append_518 = $(nodist_grub_editenv_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_519 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_520 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_521 = grub-editenv.1 +@COND_mips_yeeloong_TRUE@am__append_522 = +@COND_mips_yeeloong_TRUE@am__append_523 = $(nodist_grub_editenv_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_524 = $(nodist_grub_editenv_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_525 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_526 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_527 = grub-editenv.1 +@COND_sparc64_ieee1275_TRUE@am__append_528 = +@COND_sparc64_ieee1275_TRUE@am__append_529 = $(nodist_grub_editenv_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_530 = $(nodist_grub_editenv_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_531 = grub-editenv +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_532 = grub-editenv.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_533 = grub-editenv.1 +@COND_powerpc_ieee1275_TRUE@am__append_534 = +@COND_powerpc_ieee1275_TRUE@am__append_535 = $(nodist_grub_editenv_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_536 = $(nodist_grub_editenv_SOURCES) +@COND_emu_TRUE@am__append_537 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_538 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_539 = grub-mkpasswd-pbkdf2.1 +@COND_emu_TRUE@am__append_540 = +@COND_emu_TRUE@am__append_541 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_emu_TRUE@am__append_542 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_pc_TRUE@am__append_543 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_544 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_545 = grub-mkpasswd-pbkdf2.1 +@COND_i386_pc_TRUE@am__append_546 = +@COND_i386_pc_TRUE@am__append_547 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_pc_TRUE@am__append_548 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_efi_TRUE@am__append_549 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_550 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_551 = grub-mkpasswd-pbkdf2.1 +@COND_i386_efi_TRUE@am__append_552 = +@COND_i386_efi_TRUE@am__append_553 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_efi_TRUE@am__append_554 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_qemu_TRUE@am__append_555 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_556 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_557 = grub-mkpasswd-pbkdf2.1 +@COND_i386_qemu_TRUE@am__append_558 = +@COND_i386_qemu_TRUE@am__append_559 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_qemu_TRUE@am__append_560 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_coreboot_TRUE@am__append_561 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_562 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_563 = grub-mkpasswd-pbkdf2.1 +@COND_i386_coreboot_TRUE@am__append_564 = +@COND_i386_coreboot_TRUE@am__append_565 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_coreboot_TRUE@am__append_566 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_multiboot_TRUE@am__append_567 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_568 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_569 = grub-mkpasswd-pbkdf2.1 +@COND_i386_multiboot_TRUE@am__append_570 = +@COND_i386_multiboot_TRUE@am__append_571 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_multiboot_TRUE@am__append_572 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_573 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_574 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_575 = grub-mkpasswd-pbkdf2.1 +@COND_i386_ieee1275_TRUE@am__append_576 = +@COND_i386_ieee1275_TRUE@am__append_577 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_578 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_x86_64_efi_TRUE@am__append_579 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_580 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_581 = grub-mkpasswd-pbkdf2.1 +@COND_x86_64_efi_TRUE@am__append_582 = +@COND_x86_64_efi_TRUE@am__append_583 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_x86_64_efi_TRUE@am__append_584 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_585 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_586 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_587 = grub-mkpasswd-pbkdf2.1 +@COND_mips_yeeloong_TRUE@am__append_588 = +@COND_mips_yeeloong_TRUE@am__append_589 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_590 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_591 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_592 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_593 = grub-mkpasswd-pbkdf2.1 +@COND_sparc64_ieee1275_TRUE@am__append_594 = +@COND_sparc64_ieee1275_TRUE@am__append_595 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_596 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_597 = grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_598 = grub-mkpasswd-pbkdf2.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_599 = grub-mkpasswd-pbkdf2.1 +@COND_powerpc_ieee1275_TRUE@am__append_600 = +@COND_powerpc_ieee1275_TRUE@am__append_601 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_602 = $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@am__append_603 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_604 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_605 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@am__append_606 = +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@am__append_607 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@am__append_608 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@am__append_609 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_610 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_611 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@am__append_612 = +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@am__append_613 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@am__append_614 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@am__append_615 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_616 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_617 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@am__append_618 = +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@am__append_619 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@am__append_620 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@am__append_621 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_622 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_623 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@am__append_624 = +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@am__append_625 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@am__append_626 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@am__append_627 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_628 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_629 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@am__append_630 = +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@am__append_631 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@am__append_632 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@am__append_633 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_634 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_635 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@am__append_636 = +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@am__append_637 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@am__append_638 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@am__append_639 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_640 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_641 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@am__append_642 = +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@am__append_643 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@am__append_644 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@am__append_645 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_646 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_647 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@am__append_648 = +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@am__append_649 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@am__append_650 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@am__append_651 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_652 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_653 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@am__append_654 = +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@am__append_655 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@am__append_656 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_657 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_658 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_659 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_660 = +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_661 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_662 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_663 = grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_664 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_665 = grub-macho2img.1 +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_666 = +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_667 = $(nodist_grub_macho2img_SOURCES) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_668 = $(nodist_grub_macho2img_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@am__append_669 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_670 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_671 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@am__append_672 = +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@am__append_673 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@am__append_674 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@am__append_675 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_676 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_677 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@am__append_678 = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@am__append_679 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@am__append_680 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@am__append_681 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_682 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_683 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@am__append_684 = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@am__append_685 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@am__append_686 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@am__append_687 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_688 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_689 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@am__append_690 = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@am__append_691 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@am__append_692 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@am__append_693 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_694 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_695 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@am__append_696 = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@am__append_697 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@am__append_698 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@am__append_699 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_700 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_701 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@am__append_702 = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@am__append_703 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@am__append_704 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@am__append_705 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_706 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_707 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@am__append_708 = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@am__append_709 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@am__append_710 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@am__append_711 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_712 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_713 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@am__append_714 = +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@am__append_715 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@am__append_716 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@am__append_717 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_718 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_719 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@am__append_720 = +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@am__append_721 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@am__append_722 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_723 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_724 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_725 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_726 = +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_727 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_728 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_729 = grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_730 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_731 = grub-pe2elf.1 +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_732 = +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_733 = $(nodist_grub_pe2elf_SOURCES) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_734 = $(nodist_grub_pe2elf_SOURCES) +@COND_emu_TRUE@am__append_735 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_736 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_737 = grub-fstest.1 +@COND_emu_TRUE@am__append_738 = +@COND_emu_TRUE@am__append_739 = $(nodist_grub_fstest_SOURCES) +@COND_emu_TRUE@am__append_740 = $(nodist_grub_fstest_SOURCES) +@COND_i386_pc_TRUE@am__append_741 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_742 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_743 = grub-fstest.1 +@COND_i386_pc_TRUE@am__append_744 = +@COND_i386_pc_TRUE@am__append_745 = $(nodist_grub_fstest_SOURCES) +@COND_i386_pc_TRUE@am__append_746 = $(nodist_grub_fstest_SOURCES) +@COND_i386_efi_TRUE@am__append_747 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_748 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_749 = grub-fstest.1 +@COND_i386_efi_TRUE@am__append_750 = +@COND_i386_efi_TRUE@am__append_751 = $(nodist_grub_fstest_SOURCES) +@COND_i386_efi_TRUE@am__append_752 = $(nodist_grub_fstest_SOURCES) +@COND_i386_qemu_TRUE@am__append_753 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_754 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_755 = grub-fstest.1 +@COND_i386_qemu_TRUE@am__append_756 = +@COND_i386_qemu_TRUE@am__append_757 = $(nodist_grub_fstest_SOURCES) +@COND_i386_qemu_TRUE@am__append_758 = $(nodist_grub_fstest_SOURCES) +@COND_i386_coreboot_TRUE@am__append_759 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_760 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_761 = grub-fstest.1 +@COND_i386_coreboot_TRUE@am__append_762 = +@COND_i386_coreboot_TRUE@am__append_763 = $(nodist_grub_fstest_SOURCES) +@COND_i386_coreboot_TRUE@am__append_764 = $(nodist_grub_fstest_SOURCES) +@COND_i386_multiboot_TRUE@am__append_765 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_766 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_767 = grub-fstest.1 +@COND_i386_multiboot_TRUE@am__append_768 = +@COND_i386_multiboot_TRUE@am__append_769 = $(nodist_grub_fstest_SOURCES) +@COND_i386_multiboot_TRUE@am__append_770 = $(nodist_grub_fstest_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_771 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_772 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_773 = grub-fstest.1 +@COND_i386_ieee1275_TRUE@am__append_774 = +@COND_i386_ieee1275_TRUE@am__append_775 = $(nodist_grub_fstest_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_776 = $(nodist_grub_fstest_SOURCES) +@COND_x86_64_efi_TRUE@am__append_777 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_778 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_779 = grub-fstest.1 +@COND_x86_64_efi_TRUE@am__append_780 = +@COND_x86_64_efi_TRUE@am__append_781 = $(nodist_grub_fstest_SOURCES) +@COND_x86_64_efi_TRUE@am__append_782 = $(nodist_grub_fstest_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_783 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_784 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_785 = grub-fstest.1 +@COND_mips_yeeloong_TRUE@am__append_786 = +@COND_mips_yeeloong_TRUE@am__append_787 = $(nodist_grub_fstest_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_788 = $(nodist_grub_fstest_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_789 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_790 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_791 = grub-fstest.1 +@COND_sparc64_ieee1275_TRUE@am__append_792 = +@COND_sparc64_ieee1275_TRUE@am__append_793 = $(nodist_grub_fstest_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_794 = $(nodist_grub_fstest_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_795 = grub-fstest +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_796 = grub-fstest.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_797 = grub-fstest.1 +@COND_powerpc_ieee1275_TRUE@am__append_798 = +@COND_powerpc_ieee1275_TRUE@am__append_799 = $(nodist_grub_fstest_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_800 = $(nodist_grub_fstest_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@am__append_801 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_802 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_803 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@am__append_804 = +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@am__append_805 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@am__append_806 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@am__append_807 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_808 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_809 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@am__append_810 = +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@am__append_811 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@am__append_812 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@am__append_813 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_814 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_815 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@am__append_816 = +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@am__append_817 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@am__append_818 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@am__append_819 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_820 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_821 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@am__append_822 = +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@am__append_823 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@am__append_824 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@am__append_825 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_826 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_827 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@am__append_828 = +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@am__append_829 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@am__append_830 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@am__append_831 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_832 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_833 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@am__append_834 = +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@am__append_835 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@am__append_836 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@am__append_837 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_838 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_839 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@am__append_840 = +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@am__append_841 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@am__append_842 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@am__append_843 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_844 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_845 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@am__append_846 = +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@am__append_847 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@am__append_848 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@am__append_849 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_850 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_851 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@am__append_852 = +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@am__append_853 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@am__append_854 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_855 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_856 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_857 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_858 = +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_859 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_860 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_861 = grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_862 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_863 = grub-mkfont.1 +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_864 = +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_865 = $(nodist_grub_mkfont_SOURCES) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_866 = $(nodist_grub_mkfont_SOURCES) +@COND_emu_TRUE@am__append_867 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_868 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_869 = grub-mkdevicemap.8 +@COND_emu_TRUE@am__append_870 = +@COND_emu_TRUE@am__append_871 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_emu_TRUE@am__append_872 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_pc_TRUE@am__append_873 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_874 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_875 = grub-mkdevicemap.8 +@COND_i386_pc_TRUE@am__append_876 = +@COND_i386_pc_TRUE@am__append_877 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_pc_TRUE@am__append_878 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_efi_TRUE@am__append_879 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_880 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_881 = grub-mkdevicemap.8 +@COND_i386_efi_TRUE@am__append_882 = +@COND_i386_efi_TRUE@am__append_883 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_efi_TRUE@am__append_884 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_qemu_TRUE@am__append_885 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_886 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_887 = grub-mkdevicemap.8 +@COND_i386_qemu_TRUE@am__append_888 = +@COND_i386_qemu_TRUE@am__append_889 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_qemu_TRUE@am__append_890 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_coreboot_TRUE@am__append_891 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_892 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_893 = grub-mkdevicemap.8 +@COND_i386_coreboot_TRUE@am__append_894 = +@COND_i386_coreboot_TRUE@am__append_895 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_coreboot_TRUE@am__append_896 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_multiboot_TRUE@am__append_897 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_898 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_899 = grub-mkdevicemap.8 +@COND_i386_multiboot_TRUE@am__append_900 = +@COND_i386_multiboot_TRUE@am__append_901 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_multiboot_TRUE@am__append_902 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_903 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_904 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_905 = grub-mkdevicemap.8 +@COND_i386_ieee1275_TRUE@am__append_906 = +@COND_i386_ieee1275_TRUE@am__append_907 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_908 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_x86_64_efi_TRUE@am__append_909 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_910 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_911 = grub-mkdevicemap.8 +@COND_x86_64_efi_TRUE@am__append_912 = +@COND_x86_64_efi_TRUE@am__append_913 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_x86_64_efi_TRUE@am__append_914 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_915 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_916 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_917 = grub-mkdevicemap.8 +@COND_mips_yeeloong_TRUE@am__append_918 = +@COND_mips_yeeloong_TRUE@am__append_919 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_920 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_921 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_922 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_923 = grub-mkdevicemap.8 +@COND_sparc64_ieee1275_TRUE@am__append_924 = +@COND_sparc64_ieee1275_TRUE@am__append_925 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_926 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_927 = grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_928 = grub-mkdevicemap.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_929 = grub-mkdevicemap.8 +@COND_powerpc_ieee1275_TRUE@am__append_930 = +@COND_powerpc_ieee1275_TRUE@am__append_931 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_932 = $(nodist_grub_mkdevicemap_SOURCES) +@COND_emu_TRUE@am__append_933 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_934 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_935 = grub-probe.8 +@COND_emu_TRUE@am__append_936 = +@COND_emu_TRUE@am__append_937 = $(nodist_grub_probe_SOURCES) +@COND_emu_TRUE@am__append_938 = $(nodist_grub_probe_SOURCES) +@COND_i386_pc_TRUE@am__append_939 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_940 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_941 = grub-probe.8 +@COND_i386_pc_TRUE@am__append_942 = +@COND_i386_pc_TRUE@am__append_943 = $(nodist_grub_probe_SOURCES) +@COND_i386_pc_TRUE@am__append_944 = $(nodist_grub_probe_SOURCES) +@COND_i386_efi_TRUE@am__append_945 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_946 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_947 = grub-probe.8 +@COND_i386_efi_TRUE@am__append_948 = +@COND_i386_efi_TRUE@am__append_949 = $(nodist_grub_probe_SOURCES) +@COND_i386_efi_TRUE@am__append_950 = $(nodist_grub_probe_SOURCES) +@COND_i386_qemu_TRUE@am__append_951 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_952 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_953 = grub-probe.8 +@COND_i386_qemu_TRUE@am__append_954 = +@COND_i386_qemu_TRUE@am__append_955 = $(nodist_grub_probe_SOURCES) +@COND_i386_qemu_TRUE@am__append_956 = $(nodist_grub_probe_SOURCES) +@COND_i386_coreboot_TRUE@am__append_957 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_958 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_959 = grub-probe.8 +@COND_i386_coreboot_TRUE@am__append_960 = +@COND_i386_coreboot_TRUE@am__append_961 = $(nodist_grub_probe_SOURCES) +@COND_i386_coreboot_TRUE@am__append_962 = $(nodist_grub_probe_SOURCES) +@COND_i386_multiboot_TRUE@am__append_963 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_964 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_965 = grub-probe.8 +@COND_i386_multiboot_TRUE@am__append_966 = +@COND_i386_multiboot_TRUE@am__append_967 = $(nodist_grub_probe_SOURCES) +@COND_i386_multiboot_TRUE@am__append_968 = $(nodist_grub_probe_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_969 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_970 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_971 = grub-probe.8 +@COND_i386_ieee1275_TRUE@am__append_972 = +@COND_i386_ieee1275_TRUE@am__append_973 = $(nodist_grub_probe_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_974 = $(nodist_grub_probe_SOURCES) +@COND_x86_64_efi_TRUE@am__append_975 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_976 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_977 = grub-probe.8 +@COND_x86_64_efi_TRUE@am__append_978 = +@COND_x86_64_efi_TRUE@am__append_979 = $(nodist_grub_probe_SOURCES) +@COND_x86_64_efi_TRUE@am__append_980 = $(nodist_grub_probe_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_981 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_982 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_983 = grub-probe.8 +@COND_mips_yeeloong_TRUE@am__append_984 = +@COND_mips_yeeloong_TRUE@am__append_985 = $(nodist_grub_probe_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_986 = $(nodist_grub_probe_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_987 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_988 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_989 = grub-probe.8 +@COND_sparc64_ieee1275_TRUE@am__append_990 = +@COND_sparc64_ieee1275_TRUE@am__append_991 = $(nodist_grub_probe_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_992 = $(nodist_grub_probe_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_993 = grub-probe +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_994 = grub-probe.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_995 = grub-probe.8 +@COND_powerpc_ieee1275_TRUE@am__append_996 = +@COND_powerpc_ieee1275_TRUE@am__append_997 = $(nodist_grub_probe_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_998 = $(nodist_grub_probe_SOURCES) +@COND_i386_pc_TRUE@am__append_999 = grub-setup +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1000 = grub-setup.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1001 = grub-setup.8 +@COND_i386_pc_TRUE@am__append_1002 = +@COND_i386_pc_TRUE@am__append_1003 = $(nodist_grub_setup_SOURCES) +@COND_i386_pc_TRUE@am__append_1004 = $(nodist_grub_setup_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1005 = grub-setup \ +@COND_sparc64_ieee1275_TRUE@ grub-ofpathname +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1006 = grub-setup.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1007 = grub-setup.8 +@COND_sparc64_ieee1275_TRUE@am__append_1008 = +@COND_sparc64_ieee1275_TRUE@am__append_1009 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_grub_setup_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_grub_ofpathname_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1010 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_grub_setup_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_grub_ofpathname_SOURCES) +@COND_emu_TRUE@am__append_1011 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1012 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1013 = grub-mklayout.1 +@COND_emu_TRUE@am__append_1014 = +@COND_emu_TRUE@am__append_1015 = $(nodist_grub_mklayout_SOURCES) +@COND_emu_TRUE@am__append_1016 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_pc_TRUE@am__append_1017 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1018 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1019 = grub-mklayout.1 +@COND_i386_pc_TRUE@am__append_1020 = +@COND_i386_pc_TRUE@am__append_1021 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_pc_TRUE@am__append_1022 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_efi_TRUE@am__append_1023 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1024 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1025 = grub-mklayout.1 +@COND_i386_efi_TRUE@am__append_1026 = +@COND_i386_efi_TRUE@am__append_1027 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_efi_TRUE@am__append_1028 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_qemu_TRUE@am__append_1029 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1030 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1031 = grub-mklayout.1 +@COND_i386_qemu_TRUE@am__append_1032 = +@COND_i386_qemu_TRUE@am__append_1033 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_qemu_TRUE@am__append_1034 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1035 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1036 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1037 = grub-mklayout.1 +@COND_i386_coreboot_TRUE@am__append_1038 = +@COND_i386_coreboot_TRUE@am__append_1039 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1040 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1041 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1042 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1043 = grub-mklayout.1 +@COND_i386_multiboot_TRUE@am__append_1044 = +@COND_i386_multiboot_TRUE@am__append_1045 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1046 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1047 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1048 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1049 = grub-mklayout.1 +@COND_i386_ieee1275_TRUE@am__append_1050 = +@COND_i386_ieee1275_TRUE@am__append_1051 = $(nodist_grub_mklayout_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1052 = $(nodist_grub_mklayout_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1053 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1054 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1055 = grub-mklayout.1 +@COND_x86_64_efi_TRUE@am__append_1056 = +@COND_x86_64_efi_TRUE@am__append_1057 = $(nodist_grub_mklayout_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1058 = $(nodist_grub_mklayout_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1059 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1060 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1061 = grub-mklayout.1 +@COND_mips_yeeloong_TRUE@am__append_1062 = +@COND_mips_yeeloong_TRUE@am__append_1063 = $(nodist_grub_mklayout_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1064 = $(nodist_grub_mklayout_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1065 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1066 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1067 = grub-mklayout.1 +@COND_sparc64_ieee1275_TRUE@am__append_1068 = +@COND_sparc64_ieee1275_TRUE@am__append_1069 = $(nodist_grub_mklayout_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1070 = $(nodist_grub_mklayout_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1071 = grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1072 = grub-mklayout.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1073 = grub-mklayout.1 +@COND_powerpc_ieee1275_TRUE@am__append_1074 = +@COND_powerpc_ieee1275_TRUE@am__append_1075 = $(nodist_grub_mklayout_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1076 = $(nodist_grub_mklayout_SOURCES) +@COND_emu_TRUE@am__append_1077 = example_unit_test +@COND_emu_TRUE@am__append_1078 = example_unit_test +@COND_emu_TRUE@am__append_1079 = +@COND_emu_TRUE@am__append_1080 = $(nodist_example_unit_test_SOURCES) +@COND_emu_TRUE@am__append_1081 = $(nodist_example_unit_test_SOURCES) +@COND_i386_pc_TRUE@am__append_1082 = example_unit_test +@COND_i386_pc_TRUE@am__append_1083 = example_unit_test +@COND_i386_pc_TRUE@am__append_1084 = +@COND_i386_pc_TRUE@am__append_1085 = $(nodist_example_unit_test_SOURCES) +@COND_i386_pc_TRUE@am__append_1086 = $(nodist_example_unit_test_SOURCES) +@COND_i386_efi_TRUE@am__append_1087 = example_unit_test +@COND_i386_efi_TRUE@am__append_1088 = example_unit_test +@COND_i386_efi_TRUE@am__append_1089 = +@COND_i386_efi_TRUE@am__append_1090 = $(nodist_example_unit_test_SOURCES) +@COND_i386_efi_TRUE@am__append_1091 = $(nodist_example_unit_test_SOURCES) +@COND_i386_qemu_TRUE@am__append_1092 = example_unit_test +@COND_i386_qemu_TRUE@am__append_1093 = example_unit_test +@COND_i386_qemu_TRUE@am__append_1094 = +@COND_i386_qemu_TRUE@am__append_1095 = $(nodist_example_unit_test_SOURCES) +@COND_i386_qemu_TRUE@am__append_1096 = $(nodist_example_unit_test_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1097 = example_unit_test +@COND_i386_coreboot_TRUE@am__append_1098 = example_unit_test +@COND_i386_coreboot_TRUE@am__append_1099 = +@COND_i386_coreboot_TRUE@am__append_1100 = $(nodist_example_unit_test_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1101 = $(nodist_example_unit_test_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1102 = example_unit_test +@COND_i386_multiboot_TRUE@am__append_1103 = example_unit_test +@COND_i386_multiboot_TRUE@am__append_1104 = +@COND_i386_multiboot_TRUE@am__append_1105 = $(nodist_example_unit_test_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1106 = $(nodist_example_unit_test_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1107 = example_unit_test +@COND_i386_ieee1275_TRUE@am__append_1108 = example_unit_test +@COND_i386_ieee1275_TRUE@am__append_1109 = +@COND_i386_ieee1275_TRUE@am__append_1110 = $(nodist_example_unit_test_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1111 = $(nodist_example_unit_test_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1112 = example_unit_test +@COND_x86_64_efi_TRUE@am__append_1113 = example_unit_test +@COND_x86_64_efi_TRUE@am__append_1114 = +@COND_x86_64_efi_TRUE@am__append_1115 = $(nodist_example_unit_test_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1116 = $(nodist_example_unit_test_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1117 = example_unit_test +@COND_mips_yeeloong_TRUE@am__append_1118 = example_unit_test +@COND_mips_yeeloong_TRUE@am__append_1119 = +@COND_mips_yeeloong_TRUE@am__append_1120 = $(nodist_example_unit_test_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1121 = $(nodist_example_unit_test_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1122 = example_unit_test +@COND_sparc64_ieee1275_TRUE@am__append_1123 = example_unit_test +@COND_sparc64_ieee1275_TRUE@am__append_1124 = +@COND_sparc64_ieee1275_TRUE@am__append_1125 = $(nodist_example_unit_test_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1126 = $(nodist_example_unit_test_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1127 = example_unit_test +@COND_powerpc_ieee1275_TRUE@am__append_1128 = example_unit_test +@COND_powerpc_ieee1275_TRUE@am__append_1129 = +@COND_powerpc_ieee1275_TRUE@am__append_1130 = $(nodist_example_unit_test_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1131 = $(nodist_example_unit_test_SOURCES) +@COND_emu_TRUE@am__append_1132 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1133 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1134 = grub-menulst2cfg.1 +@COND_emu_TRUE@am__append_1135 = +@COND_emu_TRUE@am__append_1136 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_emu_TRUE@am__append_1137 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_pc_TRUE@am__append_1138 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1139 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1140 = grub-menulst2cfg.1 +@COND_i386_pc_TRUE@am__append_1141 = +@COND_i386_pc_TRUE@am__append_1142 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_pc_TRUE@am__append_1143 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_efi_TRUE@am__append_1144 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1145 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1146 = grub-menulst2cfg.1 +@COND_i386_efi_TRUE@am__append_1147 = +@COND_i386_efi_TRUE@am__append_1148 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_efi_TRUE@am__append_1149 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_qemu_TRUE@am__append_1150 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1151 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1152 = grub-menulst2cfg.1 +@COND_i386_qemu_TRUE@am__append_1153 = +@COND_i386_qemu_TRUE@am__append_1154 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_qemu_TRUE@am__append_1155 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1156 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1157 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1158 = grub-menulst2cfg.1 +@COND_i386_coreboot_TRUE@am__append_1159 = +@COND_i386_coreboot_TRUE@am__append_1160 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1161 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1162 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1163 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1164 = grub-menulst2cfg.1 +@COND_i386_multiboot_TRUE@am__append_1165 = +@COND_i386_multiboot_TRUE@am__append_1166 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1167 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1168 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1169 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1170 = grub-menulst2cfg.1 +@COND_i386_ieee1275_TRUE@am__append_1171 = +@COND_i386_ieee1275_TRUE@am__append_1172 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1173 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1174 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1175 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1176 = grub-menulst2cfg.1 +@COND_x86_64_efi_TRUE@am__append_1177 = +@COND_x86_64_efi_TRUE@am__append_1178 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1179 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1180 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1181 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1182 = grub-menulst2cfg.1 +@COND_mips_yeeloong_TRUE@am__append_1183 = +@COND_mips_yeeloong_TRUE@am__append_1184 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1185 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1186 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1187 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1188 = grub-menulst2cfg.1 +@COND_sparc64_ieee1275_TRUE@am__append_1189 = +@COND_sparc64_ieee1275_TRUE@am__append_1190 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1191 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1192 = grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1193 = grub-menulst2cfg.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1194 = grub-menulst2cfg.1 +@COND_powerpc_ieee1275_TRUE@am__append_1195 = +@COND_powerpc_ieee1275_TRUE@am__append_1196 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1197 = $(nodist_grub_menulst2cfg_SOURCES) +@COND_emu_TRUE@am__append_1198 = 00_header +@COND_emu_TRUE@am__append_1199 = 00_header +@COND_emu_TRUE@am__append_1200 = util/grub.d/00_header.in +@COND_i386_pc_TRUE@am__append_1201 = 00_header +@COND_i386_pc_TRUE@am__append_1202 = 00_header +@COND_i386_pc_TRUE@am__append_1203 = util/grub.d/00_header.in +@COND_i386_efi_TRUE@am__append_1204 = 00_header +@COND_i386_efi_TRUE@am__append_1205 = 00_header +@COND_i386_efi_TRUE@am__append_1206 = util/grub.d/00_header.in +@COND_i386_qemu_TRUE@am__append_1207 = 00_header +@COND_i386_qemu_TRUE@am__append_1208 = 00_header +@COND_i386_qemu_TRUE@am__append_1209 = util/grub.d/00_header.in +@COND_i386_coreboot_TRUE@am__append_1210 = 00_header +@COND_i386_coreboot_TRUE@am__append_1211 = 00_header +@COND_i386_coreboot_TRUE@am__append_1212 = util/grub.d/00_header.in +@COND_i386_multiboot_TRUE@am__append_1213 = 00_header +@COND_i386_multiboot_TRUE@am__append_1214 = 00_header +@COND_i386_multiboot_TRUE@am__append_1215 = util/grub.d/00_header.in +@COND_i386_ieee1275_TRUE@am__append_1216 = 00_header +@COND_i386_ieee1275_TRUE@am__append_1217 = 00_header +@COND_i386_ieee1275_TRUE@am__append_1218 = util/grub.d/00_header.in +@COND_x86_64_efi_TRUE@am__append_1219 = 00_header +@COND_x86_64_efi_TRUE@am__append_1220 = 00_header +@COND_x86_64_efi_TRUE@am__append_1221 = util/grub.d/00_header.in +@COND_mips_yeeloong_TRUE@am__append_1222 = 00_header +@COND_mips_yeeloong_TRUE@am__append_1223 = 00_header +@COND_mips_yeeloong_TRUE@am__append_1224 = util/grub.d/00_header.in +@COND_sparc64_ieee1275_TRUE@am__append_1225 = 00_header +@COND_sparc64_ieee1275_TRUE@am__append_1226 = 00_header +@COND_sparc64_ieee1275_TRUE@am__append_1227 = util/grub.d/00_header.in +@COND_powerpc_ieee1275_TRUE@am__append_1228 = 00_header +@COND_powerpc_ieee1275_TRUE@am__append_1229 = 00_header +@COND_powerpc_ieee1275_TRUE@am__append_1230 = util/grub.d/00_header.in +@COND_HOST_WINDOWS_TRUE@@COND_emu_TRUE@am__append_1231 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_emu_TRUE@am__append_1232 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_emu_TRUE@am__append_1233 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_i386_pc_TRUE@am__append_1234 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_pc_TRUE@am__append_1235 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_pc_TRUE@am__append_1236 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_i386_efi_TRUE@am__append_1237 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_efi_TRUE@am__append_1238 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_efi_TRUE@am__append_1239 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_i386_qemu_TRUE@am__append_1240 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_qemu_TRUE@am__append_1241 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_qemu_TRUE@am__append_1242 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_i386_coreboot_TRUE@am__append_1243 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_coreboot_TRUE@am__append_1244 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_coreboot_TRUE@am__append_1245 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_i386_multiboot_TRUE@am__append_1246 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_multiboot_TRUE@am__append_1247 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_multiboot_TRUE@am__append_1248 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_i386_ieee1275_TRUE@am__append_1249 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_ieee1275_TRUE@am__append_1250 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_i386_ieee1275_TRUE@am__append_1251 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_x86_64_efi_TRUE@am__append_1252 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_x86_64_efi_TRUE@am__append_1253 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_x86_64_efi_TRUE@am__append_1254 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_mips_yeeloong_TRUE@am__append_1255 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_mips_yeeloong_TRUE@am__append_1256 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_mips_yeeloong_TRUE@am__append_1257 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1258 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1259 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1260 = util/grub.d/10_windows.in +@COND_HOST_WINDOWS_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1261 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1262 = 10_windows +@COND_HOST_WINDOWS_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1263 = util/grub.d/10_windows.in +@COND_HOST_HURD_TRUE@@COND_emu_TRUE@am__append_1264 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_emu_TRUE@am__append_1265 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_emu_TRUE@am__append_1266 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_i386_pc_TRUE@am__append_1267 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_pc_TRUE@am__append_1268 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_pc_TRUE@am__append_1269 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_i386_efi_TRUE@am__append_1270 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_efi_TRUE@am__append_1271 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_efi_TRUE@am__append_1272 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_i386_qemu_TRUE@am__append_1273 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_qemu_TRUE@am__append_1274 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_qemu_TRUE@am__append_1275 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_i386_coreboot_TRUE@am__append_1276 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_coreboot_TRUE@am__append_1277 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_coreboot_TRUE@am__append_1278 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_i386_multiboot_TRUE@am__append_1279 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_multiboot_TRUE@am__append_1280 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_multiboot_TRUE@am__append_1281 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1282 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1283 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1284 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_x86_64_efi_TRUE@am__append_1285 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_x86_64_efi_TRUE@am__append_1286 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_x86_64_efi_TRUE@am__append_1287 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1288 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1289 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1290 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1291 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1292 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1293 = util/grub.d/10_hurd.in +@COND_HOST_HURD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1294 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1295 = 10_hurd +@COND_HOST_HURD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1296 = util/grub.d/10_hurd.in +@COND_HOST_KFREEBSD_TRUE@@COND_emu_TRUE@am__append_1297 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_emu_TRUE@am__append_1298 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_emu_TRUE@am__append_1299 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_i386_pc_TRUE@am__append_1300 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_pc_TRUE@am__append_1301 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_pc_TRUE@am__append_1302 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_i386_efi_TRUE@am__append_1303 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_efi_TRUE@am__append_1304 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_efi_TRUE@am__append_1305 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_i386_qemu_TRUE@am__append_1306 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_qemu_TRUE@am__append_1307 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_qemu_TRUE@am__append_1308 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_i386_coreboot_TRUE@am__append_1309 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_coreboot_TRUE@am__append_1310 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_coreboot_TRUE@am__append_1311 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_i386_multiboot_TRUE@am__append_1312 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_multiboot_TRUE@am__append_1313 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_multiboot_TRUE@am__append_1314 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1315 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1316 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1317 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_x86_64_efi_TRUE@am__append_1318 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_x86_64_efi_TRUE@am__append_1319 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_x86_64_efi_TRUE@am__append_1320 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1321 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1322 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1323 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1324 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1325 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1326 = util/grub.d/10_kfreebsd.in +@COND_HOST_KFREEBSD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1327 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1328 = 10_kfreebsd +@COND_HOST_KFREEBSD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1329 = util/grub.d/10_kfreebsd.in +@COND_HOST_NETBSD_TRUE@@COND_emu_TRUE@am__append_1330 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_emu_TRUE@am__append_1331 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_emu_TRUE@am__append_1332 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_i386_pc_TRUE@am__append_1333 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_pc_TRUE@am__append_1334 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_pc_TRUE@am__append_1335 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_i386_efi_TRUE@am__append_1336 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_efi_TRUE@am__append_1337 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_efi_TRUE@am__append_1338 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_i386_qemu_TRUE@am__append_1339 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_qemu_TRUE@am__append_1340 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_qemu_TRUE@am__append_1341 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_i386_coreboot_TRUE@am__append_1342 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_coreboot_TRUE@am__append_1343 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_coreboot_TRUE@am__append_1344 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_i386_multiboot_TRUE@am__append_1345 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_multiboot_TRUE@am__append_1346 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_multiboot_TRUE@am__append_1347 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1348 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1349 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_i386_ieee1275_TRUE@am__append_1350 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_x86_64_efi_TRUE@am__append_1351 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_x86_64_efi_TRUE@am__append_1352 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_x86_64_efi_TRUE@am__append_1353 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1354 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1355 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_mips_yeeloong_TRUE@am__append_1356 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1357 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1358 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1359 = util/grub.d/10_netbsd.in +@COND_HOST_NETBSD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1360 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1361 = 10_netbsd +@COND_HOST_NETBSD_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1362 = util/grub.d/10_netbsd.in +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@am__append_1363 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@am__append_1364 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@am__append_1365 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@am__append_1366 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@am__append_1367 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@am__append_1368 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@am__append_1369 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@am__append_1370 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@am__append_1371 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@am__append_1372 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@am__append_1373 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@am__append_1374 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@am__append_1375 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@am__append_1376 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@am__append_1377 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@am__append_1378 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@am__append_1379 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@am__append_1380 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@am__append_1381 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@am__append_1382 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@am__append_1383 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@am__append_1384 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@am__append_1385 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@am__append_1386 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@am__append_1387 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@am__append_1388 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@am__append_1389 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1390 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1391 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1392 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1393 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1394 = 10_linux +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1395 = util/grub.d/10_linux.in +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@am__append_1396 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@am__append_1397 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@am__append_1398 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@am__append_1399 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@am__append_1400 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@am__append_1401 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@am__append_1402 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@am__append_1403 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@am__append_1404 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@am__append_1405 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@am__append_1406 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@am__append_1407 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@am__append_1408 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@am__append_1409 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@am__append_1410 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@am__append_1411 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@am__append_1412 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@am__append_1413 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@am__append_1414 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@am__append_1415 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@am__append_1416 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@am__append_1417 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@am__append_1418 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@am__append_1419 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@am__append_1420 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@am__append_1421 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@am__append_1422 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1423 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1424 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1425 = util/grub.d/20_linux_xen.in +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1426 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1427 = 20_linux_xen +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1428 = util/grub.d/20_linux_xen.in +@COND_emu_TRUE@am__append_1429 = 30_os-prober +@COND_emu_TRUE@am__append_1430 = 30_os-prober +@COND_emu_TRUE@am__append_1431 = util/grub.d/30_os-prober.in +@COND_i386_pc_TRUE@am__append_1432 = 30_os-prober +@COND_i386_pc_TRUE@am__append_1433 = 30_os-prober +@COND_i386_pc_TRUE@am__append_1434 = util/grub.d/30_os-prober.in +@COND_i386_efi_TRUE@am__append_1435 = 30_os-prober +@COND_i386_efi_TRUE@am__append_1436 = 30_os-prober +@COND_i386_efi_TRUE@am__append_1437 = util/grub.d/30_os-prober.in +@COND_i386_qemu_TRUE@am__append_1438 = 30_os-prober +@COND_i386_qemu_TRUE@am__append_1439 = 30_os-prober +@COND_i386_qemu_TRUE@am__append_1440 = util/grub.d/30_os-prober.in +@COND_i386_coreboot_TRUE@am__append_1441 = 30_os-prober +@COND_i386_coreboot_TRUE@am__append_1442 = 30_os-prober +@COND_i386_coreboot_TRUE@am__append_1443 = util/grub.d/30_os-prober.in +@COND_i386_multiboot_TRUE@am__append_1444 = 30_os-prober +@COND_i386_multiboot_TRUE@am__append_1445 = 30_os-prober +@COND_i386_multiboot_TRUE@am__append_1446 = util/grub.d/30_os-prober.in +@COND_i386_ieee1275_TRUE@am__append_1447 = 30_os-prober +@COND_i386_ieee1275_TRUE@am__append_1448 = 30_os-prober +@COND_i386_ieee1275_TRUE@am__append_1449 = util/grub.d/30_os-prober.in +@COND_x86_64_efi_TRUE@am__append_1450 = 30_os-prober +@COND_x86_64_efi_TRUE@am__append_1451 = 30_os-prober +@COND_x86_64_efi_TRUE@am__append_1452 = util/grub.d/30_os-prober.in +@COND_mips_yeeloong_TRUE@am__append_1453 = 30_os-prober +@COND_mips_yeeloong_TRUE@am__append_1454 = 30_os-prober +@COND_mips_yeeloong_TRUE@am__append_1455 = util/grub.d/30_os-prober.in +@COND_sparc64_ieee1275_TRUE@am__append_1456 = 30_os-prober +@COND_sparc64_ieee1275_TRUE@am__append_1457 = 30_os-prober +@COND_sparc64_ieee1275_TRUE@am__append_1458 = util/grub.d/30_os-prober.in +@COND_powerpc_ieee1275_TRUE@am__append_1459 = 30_os-prober +@COND_powerpc_ieee1275_TRUE@am__append_1460 = 30_os-prober +@COND_powerpc_ieee1275_TRUE@am__append_1461 = util/grub.d/30_os-prober.in +@COND_emu_TRUE@am__append_1462 = 40_custom +@COND_emu_TRUE@am__append_1463 = 40_custom +@COND_emu_TRUE@am__append_1464 = util/grub.d/40_custom.in +@COND_i386_pc_TRUE@am__append_1465 = 40_custom +@COND_i386_pc_TRUE@am__append_1466 = 40_custom +@COND_i386_pc_TRUE@am__append_1467 = util/grub.d/40_custom.in +@COND_i386_efi_TRUE@am__append_1468 = 40_custom +@COND_i386_efi_TRUE@am__append_1469 = 40_custom +@COND_i386_efi_TRUE@am__append_1470 = util/grub.d/40_custom.in +@COND_i386_qemu_TRUE@am__append_1471 = 40_custom +@COND_i386_qemu_TRUE@am__append_1472 = 40_custom +@COND_i386_qemu_TRUE@am__append_1473 = util/grub.d/40_custom.in +@COND_i386_coreboot_TRUE@am__append_1474 = 40_custom +@COND_i386_coreboot_TRUE@am__append_1475 = 40_custom +@COND_i386_coreboot_TRUE@am__append_1476 = util/grub.d/40_custom.in +@COND_i386_multiboot_TRUE@am__append_1477 = 40_custom +@COND_i386_multiboot_TRUE@am__append_1478 = 40_custom +@COND_i386_multiboot_TRUE@am__append_1479 = util/grub.d/40_custom.in +@COND_i386_ieee1275_TRUE@am__append_1480 = 40_custom +@COND_i386_ieee1275_TRUE@am__append_1481 = 40_custom +@COND_i386_ieee1275_TRUE@am__append_1482 = util/grub.d/40_custom.in +@COND_x86_64_efi_TRUE@am__append_1483 = 40_custom +@COND_x86_64_efi_TRUE@am__append_1484 = 40_custom +@COND_x86_64_efi_TRUE@am__append_1485 = util/grub.d/40_custom.in +@COND_mips_yeeloong_TRUE@am__append_1486 = 40_custom +@COND_mips_yeeloong_TRUE@am__append_1487 = 40_custom +@COND_mips_yeeloong_TRUE@am__append_1488 = util/grub.d/40_custom.in +@COND_sparc64_ieee1275_TRUE@am__append_1489 = 40_custom +@COND_sparc64_ieee1275_TRUE@am__append_1490 = 40_custom +@COND_sparc64_ieee1275_TRUE@am__append_1491 = util/grub.d/40_custom.in +@COND_powerpc_ieee1275_TRUE@am__append_1492 = 40_custom +@COND_powerpc_ieee1275_TRUE@am__append_1493 = 40_custom +@COND_powerpc_ieee1275_TRUE@am__append_1494 = util/grub.d/40_custom.in +@COND_emu_TRUE@am__append_1495 = 41_custom +@COND_emu_TRUE@am__append_1496 = 41_custom +@COND_emu_TRUE@am__append_1497 = util/grub.d/41_custom.in +@COND_i386_pc_TRUE@am__append_1498 = 41_custom +@COND_i386_pc_TRUE@am__append_1499 = 41_custom +@COND_i386_pc_TRUE@am__append_1500 = util/grub.d/41_custom.in +@COND_i386_efi_TRUE@am__append_1501 = 41_custom +@COND_i386_efi_TRUE@am__append_1502 = 41_custom +@COND_i386_efi_TRUE@am__append_1503 = util/grub.d/41_custom.in +@COND_i386_qemu_TRUE@am__append_1504 = 41_custom +@COND_i386_qemu_TRUE@am__append_1505 = 41_custom +@COND_i386_qemu_TRUE@am__append_1506 = util/grub.d/41_custom.in +@COND_i386_coreboot_TRUE@am__append_1507 = 41_custom +@COND_i386_coreboot_TRUE@am__append_1508 = 41_custom +@COND_i386_coreboot_TRUE@am__append_1509 = util/grub.d/41_custom.in +@COND_i386_multiboot_TRUE@am__append_1510 = 41_custom +@COND_i386_multiboot_TRUE@am__append_1511 = 41_custom +@COND_i386_multiboot_TRUE@am__append_1512 = util/grub.d/41_custom.in +@COND_i386_ieee1275_TRUE@am__append_1513 = 41_custom +@COND_i386_ieee1275_TRUE@am__append_1514 = 41_custom +@COND_i386_ieee1275_TRUE@am__append_1515 = util/grub.d/41_custom.in +@COND_x86_64_efi_TRUE@am__append_1516 = 41_custom +@COND_x86_64_efi_TRUE@am__append_1517 = 41_custom +@COND_x86_64_efi_TRUE@am__append_1518 = util/grub.d/41_custom.in +@COND_mips_yeeloong_TRUE@am__append_1519 = 41_custom +@COND_mips_yeeloong_TRUE@am__append_1520 = 41_custom +@COND_mips_yeeloong_TRUE@am__append_1521 = util/grub.d/41_custom.in +@COND_sparc64_ieee1275_TRUE@am__append_1522 = 41_custom +@COND_sparc64_ieee1275_TRUE@am__append_1523 = 41_custom +@COND_sparc64_ieee1275_TRUE@am__append_1524 = util/grub.d/41_custom.in +@COND_powerpc_ieee1275_TRUE@am__append_1525 = 41_custom +@COND_powerpc_ieee1275_TRUE@am__append_1526 = 41_custom +@COND_powerpc_ieee1275_TRUE@am__append_1527 = util/grub.d/41_custom.in +@COND_i386_pc_TRUE@am__append_1528 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1529 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1530 = grub-mkrescue.1 +@COND_i386_pc_TRUE@am__append_1531 = grub-mkrescue +@COND_i386_pc_TRUE@am__append_1532 = util/grub-mkrescue.in +@COND_i386_efi_TRUE@am__append_1533 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1534 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1535 = grub-mkrescue.1 +@COND_i386_efi_TRUE@am__append_1536 = grub-mkrescue +@COND_i386_efi_TRUE@am__append_1537 = util/grub-mkrescue.in +@COND_i386_qemu_TRUE@am__append_1538 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1539 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1540 = grub-mkrescue.1 +@COND_i386_qemu_TRUE@am__append_1541 = grub-mkrescue +@COND_i386_qemu_TRUE@am__append_1542 = util/grub-mkrescue.in +@COND_i386_coreboot_TRUE@am__append_1543 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1544 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1545 = grub-mkrescue.1 +@COND_i386_coreboot_TRUE@am__append_1546 = grub-mkrescue +@COND_i386_coreboot_TRUE@am__append_1547 = util/grub-mkrescue.in +@COND_i386_multiboot_TRUE@am__append_1548 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1549 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1550 = grub-mkrescue.1 +@COND_i386_multiboot_TRUE@am__append_1551 = grub-mkrescue +@COND_i386_multiboot_TRUE@am__append_1552 = util/grub-mkrescue.in +@COND_x86_64_efi_TRUE@am__append_1553 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1554 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1555 = grub-mkrescue.1 +@COND_x86_64_efi_TRUE@am__append_1556 = grub-mkrescue +@COND_x86_64_efi_TRUE@am__append_1557 = util/grub-mkrescue.in +@COND_powerpc_ieee1275_TRUE@am__append_1558 = grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1559 = grub-mkrescue.1 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1560 = grub-mkrescue.1 +@COND_powerpc_ieee1275_TRUE@am__append_1561 = grub-mkrescue +@COND_powerpc_ieee1275_TRUE@am__append_1562 = util/powerpc/ieee1275/grub-mkrescue.in +@COND_i386_pc_TRUE@am__append_1563 = grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1564 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1565 = grub-install.8 +@COND_i386_pc_TRUE@am__append_1566 = grub-install +@COND_i386_pc_TRUE@am__append_1567 = util/grub-install.in +@COND_i386_efi_TRUE@am__append_1568 = grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1569 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1570 = grub-install.8 +@COND_i386_efi_TRUE@am__append_1571 = grub-install +@COND_i386_efi_TRUE@am__append_1572 = util/grub-install.in +@COND_i386_qemu_TRUE@am__append_1573 = grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1574 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1575 = grub-install.8 +@COND_i386_qemu_TRUE@am__append_1576 = grub-install +@COND_i386_qemu_TRUE@am__append_1577 = util/grub-install.in +@COND_i386_coreboot_TRUE@am__append_1578 = grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1579 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1580 = grub-install.8 +@COND_i386_coreboot_TRUE@am__append_1581 = grub-install +@COND_i386_coreboot_TRUE@am__append_1582 = util/grub-install.in +@COND_i386_multiboot_TRUE@am__append_1583 = grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1584 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1585 = grub-install.8 +@COND_i386_multiboot_TRUE@am__append_1586 = grub-install +@COND_i386_multiboot_TRUE@am__append_1587 = util/grub-install.in +@COND_i386_ieee1275_TRUE@am__append_1588 = grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1589 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1590 = grub-install.8 +@COND_i386_ieee1275_TRUE@am__append_1591 = grub-install +@COND_i386_ieee1275_TRUE@am__append_1592 = util/grub-install.in +@COND_x86_64_efi_TRUE@am__append_1593 = grub-install +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1594 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1595 = grub-install.8 +@COND_x86_64_efi_TRUE@am__append_1596 = grub-install +@COND_x86_64_efi_TRUE@am__append_1597 = util/grub-install.in +@COND_mips_yeeloong_TRUE@am__append_1598 = grub-install +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1599 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1600 = grub-install.8 +@COND_mips_yeeloong_TRUE@am__append_1601 = grub-install +@COND_mips_yeeloong_TRUE@am__append_1602 = util/grub-install.in +@COND_sparc64_ieee1275_TRUE@am__append_1603 = grub-install +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1604 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1605 = grub-install.8 +@COND_sparc64_ieee1275_TRUE@am__append_1606 = grub-install +@COND_sparc64_ieee1275_TRUE@am__append_1607 = util/grub-install.in +@COND_powerpc_ieee1275_TRUE@am__append_1608 = grub-install +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1609 = grub-install.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1610 = grub-install.8 +@COND_powerpc_ieee1275_TRUE@am__append_1611 = grub-install +@COND_powerpc_ieee1275_TRUE@am__append_1612 = util/grub-install.in +@COND_emu_TRUE@am__append_1613 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1614 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1615 = grub-mknetdir.8 +@COND_emu_TRUE@am__append_1616 = grub-mknetdir +@COND_emu_TRUE@am__append_1617 = util/grub-mknetdir.in +@COND_i386_pc_TRUE@am__append_1618 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1619 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1620 = grub-mknetdir.8 +@COND_i386_pc_TRUE@am__append_1621 = grub-mknetdir +@COND_i386_pc_TRUE@am__append_1622 = util/grub-mknetdir.in +@COND_i386_efi_TRUE@am__append_1623 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1624 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1625 = grub-mknetdir.8 +@COND_i386_efi_TRUE@am__append_1626 = grub-mknetdir +@COND_i386_efi_TRUE@am__append_1627 = util/grub-mknetdir.in +@COND_i386_qemu_TRUE@am__append_1628 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1629 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1630 = grub-mknetdir.8 +@COND_i386_qemu_TRUE@am__append_1631 = grub-mknetdir +@COND_i386_qemu_TRUE@am__append_1632 = util/grub-mknetdir.in +@COND_i386_coreboot_TRUE@am__append_1633 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1634 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1635 = grub-mknetdir.8 +@COND_i386_coreboot_TRUE@am__append_1636 = grub-mknetdir +@COND_i386_coreboot_TRUE@am__append_1637 = util/grub-mknetdir.in +@COND_i386_multiboot_TRUE@am__append_1638 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1639 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1640 = grub-mknetdir.8 +@COND_i386_multiboot_TRUE@am__append_1641 = grub-mknetdir +@COND_i386_multiboot_TRUE@am__append_1642 = util/grub-mknetdir.in +@COND_i386_ieee1275_TRUE@am__append_1643 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1644 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1645 = grub-mknetdir.8 +@COND_i386_ieee1275_TRUE@am__append_1646 = grub-mknetdir +@COND_i386_ieee1275_TRUE@am__append_1647 = util/grub-mknetdir.in +@COND_x86_64_efi_TRUE@am__append_1648 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1649 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1650 = grub-mknetdir.8 +@COND_x86_64_efi_TRUE@am__append_1651 = grub-mknetdir +@COND_x86_64_efi_TRUE@am__append_1652 = util/grub-mknetdir.in +@COND_mips_yeeloong_TRUE@am__append_1653 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1654 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1655 = grub-mknetdir.8 +@COND_mips_yeeloong_TRUE@am__append_1656 = grub-mknetdir +@COND_mips_yeeloong_TRUE@am__append_1657 = util/grub-mknetdir.in +@COND_sparc64_ieee1275_TRUE@am__append_1658 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1659 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1660 = grub-mknetdir.8 +@COND_sparc64_ieee1275_TRUE@am__append_1661 = grub-mknetdir +@COND_sparc64_ieee1275_TRUE@am__append_1662 = util/grub-mknetdir.in +@COND_powerpc_ieee1275_TRUE@am__append_1663 = grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1664 = grub-mknetdir.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1665 = grub-mknetdir.8 +@COND_powerpc_ieee1275_TRUE@am__append_1666 = grub-mknetdir +@COND_powerpc_ieee1275_TRUE@am__append_1667 = util/grub-mknetdir.in +@COND_emu_TRUE@am__append_1668 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1669 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1670 = grub-mkconfig.8 +@COND_emu_TRUE@am__append_1671 = grub-mkconfig +@COND_emu_TRUE@am__append_1672 = util/grub-mkconfig.in +@COND_i386_pc_TRUE@am__append_1673 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1674 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1675 = grub-mkconfig.8 +@COND_i386_pc_TRUE@am__append_1676 = grub-mkconfig +@COND_i386_pc_TRUE@am__append_1677 = util/grub-mkconfig.in +@COND_i386_efi_TRUE@am__append_1678 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1679 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1680 = grub-mkconfig.8 +@COND_i386_efi_TRUE@am__append_1681 = grub-mkconfig +@COND_i386_efi_TRUE@am__append_1682 = util/grub-mkconfig.in +@COND_i386_qemu_TRUE@am__append_1683 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1684 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1685 = grub-mkconfig.8 +@COND_i386_qemu_TRUE@am__append_1686 = grub-mkconfig +@COND_i386_qemu_TRUE@am__append_1687 = util/grub-mkconfig.in +@COND_i386_coreboot_TRUE@am__append_1688 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1689 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1690 = grub-mkconfig.8 +@COND_i386_coreboot_TRUE@am__append_1691 = grub-mkconfig +@COND_i386_coreboot_TRUE@am__append_1692 = util/grub-mkconfig.in +@COND_i386_multiboot_TRUE@am__append_1693 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1694 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1695 = grub-mkconfig.8 +@COND_i386_multiboot_TRUE@am__append_1696 = grub-mkconfig +@COND_i386_multiboot_TRUE@am__append_1697 = util/grub-mkconfig.in +@COND_i386_ieee1275_TRUE@am__append_1698 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1699 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1700 = grub-mkconfig.8 +@COND_i386_ieee1275_TRUE@am__append_1701 = grub-mkconfig +@COND_i386_ieee1275_TRUE@am__append_1702 = util/grub-mkconfig.in +@COND_x86_64_efi_TRUE@am__append_1703 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1704 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1705 = grub-mkconfig.8 +@COND_x86_64_efi_TRUE@am__append_1706 = grub-mkconfig +@COND_x86_64_efi_TRUE@am__append_1707 = util/grub-mkconfig.in +@COND_mips_yeeloong_TRUE@am__append_1708 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1709 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1710 = grub-mkconfig.8 +@COND_mips_yeeloong_TRUE@am__append_1711 = grub-mkconfig +@COND_mips_yeeloong_TRUE@am__append_1712 = util/grub-mkconfig.in +@COND_sparc64_ieee1275_TRUE@am__append_1713 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1714 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1715 = grub-mkconfig.8 +@COND_sparc64_ieee1275_TRUE@am__append_1716 = grub-mkconfig +@COND_sparc64_ieee1275_TRUE@am__append_1717 = util/grub-mkconfig.in +@COND_powerpc_ieee1275_TRUE@am__append_1718 = grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1719 = grub-mkconfig.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1720 = grub-mkconfig.8 +@COND_powerpc_ieee1275_TRUE@am__append_1721 = grub-mkconfig +@COND_powerpc_ieee1275_TRUE@am__append_1722 = util/grub-mkconfig.in +@COND_emu_TRUE@am__append_1723 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1724 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1725 = grub-set-default.8 +@COND_emu_TRUE@am__append_1726 = grub-set-default +@COND_emu_TRUE@am__append_1727 = util/grub-set-default.in +@COND_i386_pc_TRUE@am__append_1728 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1729 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1730 = grub-set-default.8 +@COND_i386_pc_TRUE@am__append_1731 = grub-set-default +@COND_i386_pc_TRUE@am__append_1732 = util/grub-set-default.in +@COND_i386_efi_TRUE@am__append_1733 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1734 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1735 = grub-set-default.8 +@COND_i386_efi_TRUE@am__append_1736 = grub-set-default +@COND_i386_efi_TRUE@am__append_1737 = util/grub-set-default.in +@COND_i386_qemu_TRUE@am__append_1738 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1739 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1740 = grub-set-default.8 +@COND_i386_qemu_TRUE@am__append_1741 = grub-set-default +@COND_i386_qemu_TRUE@am__append_1742 = util/grub-set-default.in +@COND_i386_coreboot_TRUE@am__append_1743 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1744 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1745 = grub-set-default.8 +@COND_i386_coreboot_TRUE@am__append_1746 = grub-set-default +@COND_i386_coreboot_TRUE@am__append_1747 = util/grub-set-default.in +@COND_i386_multiboot_TRUE@am__append_1748 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1749 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1750 = grub-set-default.8 +@COND_i386_multiboot_TRUE@am__append_1751 = grub-set-default +@COND_i386_multiboot_TRUE@am__append_1752 = util/grub-set-default.in +@COND_i386_ieee1275_TRUE@am__append_1753 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1754 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1755 = grub-set-default.8 +@COND_i386_ieee1275_TRUE@am__append_1756 = grub-set-default +@COND_i386_ieee1275_TRUE@am__append_1757 = util/grub-set-default.in +@COND_x86_64_efi_TRUE@am__append_1758 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1759 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1760 = grub-set-default.8 +@COND_x86_64_efi_TRUE@am__append_1761 = grub-set-default +@COND_x86_64_efi_TRUE@am__append_1762 = util/grub-set-default.in +@COND_mips_yeeloong_TRUE@am__append_1763 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1764 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1765 = grub-set-default.8 +@COND_mips_yeeloong_TRUE@am__append_1766 = grub-set-default +@COND_mips_yeeloong_TRUE@am__append_1767 = util/grub-set-default.in +@COND_sparc64_ieee1275_TRUE@am__append_1768 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1769 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1770 = grub-set-default.8 +@COND_sparc64_ieee1275_TRUE@am__append_1771 = grub-set-default +@COND_sparc64_ieee1275_TRUE@am__append_1772 = util/grub-set-default.in +@COND_powerpc_ieee1275_TRUE@am__append_1773 = grub-set-default +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1774 = grub-set-default.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1775 = grub-set-default.8 +@COND_powerpc_ieee1275_TRUE@am__append_1776 = grub-set-default +@COND_powerpc_ieee1275_TRUE@am__append_1777 = util/grub-set-default.in +@COND_emu_TRUE@am__append_1778 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1779 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_1780 = grub-reboot.8 +@COND_emu_TRUE@am__append_1781 = grub-reboot +@COND_emu_TRUE@am__append_1782 = util/grub-reboot.in +@COND_i386_pc_TRUE@am__append_1783 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1784 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@am__append_1785 = grub-reboot.8 +@COND_i386_pc_TRUE@am__append_1786 = grub-reboot +@COND_i386_pc_TRUE@am__append_1787 = util/grub-reboot.in +@COND_i386_efi_TRUE@am__append_1788 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1789 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@am__append_1790 = grub-reboot.8 +@COND_i386_efi_TRUE@am__append_1791 = grub-reboot +@COND_i386_efi_TRUE@am__append_1792 = util/grub-reboot.in +@COND_i386_qemu_TRUE@am__append_1793 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1794 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@am__append_1795 = grub-reboot.8 +@COND_i386_qemu_TRUE@am__append_1796 = grub-reboot +@COND_i386_qemu_TRUE@am__append_1797 = util/grub-reboot.in +@COND_i386_coreboot_TRUE@am__append_1798 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1799 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@am__append_1800 = grub-reboot.8 +@COND_i386_coreboot_TRUE@am__append_1801 = grub-reboot +@COND_i386_coreboot_TRUE@am__append_1802 = util/grub-reboot.in +@COND_i386_multiboot_TRUE@am__append_1803 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1804 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@am__append_1805 = grub-reboot.8 +@COND_i386_multiboot_TRUE@am__append_1806 = grub-reboot +@COND_i386_multiboot_TRUE@am__append_1807 = util/grub-reboot.in +@COND_i386_ieee1275_TRUE@am__append_1808 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1809 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@am__append_1810 = grub-reboot.8 +@COND_i386_ieee1275_TRUE@am__append_1811 = grub-reboot +@COND_i386_ieee1275_TRUE@am__append_1812 = util/grub-reboot.in +@COND_x86_64_efi_TRUE@am__append_1813 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1814 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@am__append_1815 = grub-reboot.8 +@COND_x86_64_efi_TRUE@am__append_1816 = grub-reboot +@COND_x86_64_efi_TRUE@am__append_1817 = util/grub-reboot.in +@COND_mips_yeeloong_TRUE@am__append_1818 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1819 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@am__append_1820 = grub-reboot.8 +@COND_mips_yeeloong_TRUE@am__append_1821 = grub-reboot +@COND_mips_yeeloong_TRUE@am__append_1822 = util/grub-reboot.in +@COND_sparc64_ieee1275_TRUE@am__append_1823 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1824 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@am__append_1825 = grub-reboot.8 +@COND_sparc64_ieee1275_TRUE@am__append_1826 = grub-reboot +@COND_sparc64_ieee1275_TRUE@am__append_1827 = util/grub-reboot.in +@COND_powerpc_ieee1275_TRUE@am__append_1828 = grub-reboot +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1829 = grub-reboot.8 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@am__append_1830 = grub-reboot.8 +@COND_powerpc_ieee1275_TRUE@am__append_1831 = grub-reboot +@COND_powerpc_ieee1275_TRUE@am__append_1832 = util/grub-reboot.in +@COND_emu_TRUE@am__append_1833 = grub-mkconfig_lib +@COND_emu_TRUE@am__append_1834 = grub-mkconfig_lib +@COND_emu_TRUE@am__append_1835 = util/grub-mkconfig_lib.in +@COND_i386_pc_TRUE@am__append_1836 = grub-mkconfig_lib +@COND_i386_pc_TRUE@am__append_1837 = grub-mkconfig_lib +@COND_i386_pc_TRUE@am__append_1838 = util/grub-mkconfig_lib.in +@COND_i386_efi_TRUE@am__append_1839 = grub-mkconfig_lib +@COND_i386_efi_TRUE@am__append_1840 = grub-mkconfig_lib +@COND_i386_efi_TRUE@am__append_1841 = util/grub-mkconfig_lib.in +@COND_i386_qemu_TRUE@am__append_1842 = grub-mkconfig_lib +@COND_i386_qemu_TRUE@am__append_1843 = grub-mkconfig_lib +@COND_i386_qemu_TRUE@am__append_1844 = util/grub-mkconfig_lib.in +@COND_i386_coreboot_TRUE@am__append_1845 = grub-mkconfig_lib +@COND_i386_coreboot_TRUE@am__append_1846 = grub-mkconfig_lib +@COND_i386_coreboot_TRUE@am__append_1847 = util/grub-mkconfig_lib.in +@COND_i386_multiboot_TRUE@am__append_1848 = grub-mkconfig_lib +@COND_i386_multiboot_TRUE@am__append_1849 = grub-mkconfig_lib +@COND_i386_multiboot_TRUE@am__append_1850 = util/grub-mkconfig_lib.in +@COND_i386_ieee1275_TRUE@am__append_1851 = grub-mkconfig_lib +@COND_i386_ieee1275_TRUE@am__append_1852 = grub-mkconfig_lib +@COND_i386_ieee1275_TRUE@am__append_1853 = util/grub-mkconfig_lib.in +@COND_x86_64_efi_TRUE@am__append_1854 = grub-mkconfig_lib +@COND_x86_64_efi_TRUE@am__append_1855 = grub-mkconfig_lib +@COND_x86_64_efi_TRUE@am__append_1856 = util/grub-mkconfig_lib.in +@COND_mips_yeeloong_TRUE@am__append_1857 = grub-mkconfig_lib +@COND_mips_yeeloong_TRUE@am__append_1858 = grub-mkconfig_lib +@COND_mips_yeeloong_TRUE@am__append_1859 = util/grub-mkconfig_lib.in +@COND_sparc64_ieee1275_TRUE@am__append_1860 = grub-mkconfig_lib +@COND_sparc64_ieee1275_TRUE@am__append_1861 = grub-mkconfig_lib +@COND_sparc64_ieee1275_TRUE@am__append_1862 = util/grub-mkconfig_lib.in +@COND_powerpc_ieee1275_TRUE@am__append_1863 = grub-mkconfig_lib +@COND_powerpc_ieee1275_TRUE@am__append_1864 = grub-mkconfig_lib +@COND_powerpc_ieee1275_TRUE@am__append_1865 = util/grub-mkconfig_lib.in +@COND_emu_TRUE@am__append_1866 = update-grub_lib +@COND_emu_TRUE@am__append_1867 = update-grub_lib +@COND_emu_TRUE@am__append_1868 = util/update-grub_lib.in +@COND_i386_pc_TRUE@am__append_1869 = update-grub_lib +@COND_i386_pc_TRUE@am__append_1870 = update-grub_lib +@COND_i386_pc_TRUE@am__append_1871 = util/update-grub_lib.in +@COND_i386_efi_TRUE@am__append_1872 = update-grub_lib +@COND_i386_efi_TRUE@am__append_1873 = update-grub_lib +@COND_i386_efi_TRUE@am__append_1874 = util/update-grub_lib.in +@COND_i386_qemu_TRUE@am__append_1875 = update-grub_lib +@COND_i386_qemu_TRUE@am__append_1876 = update-grub_lib +@COND_i386_qemu_TRUE@am__append_1877 = util/update-grub_lib.in +@COND_i386_coreboot_TRUE@am__append_1878 = update-grub_lib +@COND_i386_coreboot_TRUE@am__append_1879 = update-grub_lib +@COND_i386_coreboot_TRUE@am__append_1880 = util/update-grub_lib.in +@COND_i386_multiboot_TRUE@am__append_1881 = update-grub_lib +@COND_i386_multiboot_TRUE@am__append_1882 = update-grub_lib +@COND_i386_multiboot_TRUE@am__append_1883 = util/update-grub_lib.in +@COND_i386_ieee1275_TRUE@am__append_1884 = update-grub_lib +@COND_i386_ieee1275_TRUE@am__append_1885 = update-grub_lib +@COND_i386_ieee1275_TRUE@am__append_1886 = util/update-grub_lib.in +@COND_x86_64_efi_TRUE@am__append_1887 = update-grub_lib +@COND_x86_64_efi_TRUE@am__append_1888 = update-grub_lib +@COND_x86_64_efi_TRUE@am__append_1889 = util/update-grub_lib.in +@COND_mips_yeeloong_TRUE@am__append_1890 = update-grub_lib +@COND_mips_yeeloong_TRUE@am__append_1891 = update-grub_lib +@COND_mips_yeeloong_TRUE@am__append_1892 = util/update-grub_lib.in +@COND_sparc64_ieee1275_TRUE@am__append_1893 = update-grub_lib +@COND_sparc64_ieee1275_TRUE@am__append_1894 = update-grub_lib +@COND_sparc64_ieee1275_TRUE@am__append_1895 = util/update-grub_lib.in +@COND_powerpc_ieee1275_TRUE@am__append_1896 = update-grub_lib +@COND_powerpc_ieee1275_TRUE@am__append_1897 = update-grub_lib +@COND_powerpc_ieee1275_TRUE@am__append_1898 = util/update-grub_lib.in +@COND_emu_TRUE@am__append_1899 = grub-kbdcomp +@COND_emu_TRUE@am__append_1900 = grub-kbdcomp +@COND_emu_TRUE@am__append_1901 = util/grub-kbdcomp.in +@COND_i386_pc_TRUE@am__append_1902 = grub-kbdcomp +@COND_i386_pc_TRUE@am__append_1903 = grub-kbdcomp +@COND_i386_pc_TRUE@am__append_1904 = util/grub-kbdcomp.in +@COND_i386_efi_TRUE@am__append_1905 = grub-kbdcomp +@COND_i386_efi_TRUE@am__append_1906 = grub-kbdcomp +@COND_i386_efi_TRUE@am__append_1907 = util/grub-kbdcomp.in +@COND_i386_qemu_TRUE@am__append_1908 = grub-kbdcomp +@COND_i386_qemu_TRUE@am__append_1909 = grub-kbdcomp +@COND_i386_qemu_TRUE@am__append_1910 = util/grub-kbdcomp.in +@COND_i386_coreboot_TRUE@am__append_1911 = grub-kbdcomp +@COND_i386_coreboot_TRUE@am__append_1912 = grub-kbdcomp +@COND_i386_coreboot_TRUE@am__append_1913 = util/grub-kbdcomp.in +@COND_i386_multiboot_TRUE@am__append_1914 = grub-kbdcomp +@COND_i386_multiboot_TRUE@am__append_1915 = grub-kbdcomp +@COND_i386_multiboot_TRUE@am__append_1916 = util/grub-kbdcomp.in +@COND_i386_ieee1275_TRUE@am__append_1917 = grub-kbdcomp +@COND_i386_ieee1275_TRUE@am__append_1918 = grub-kbdcomp +@COND_i386_ieee1275_TRUE@am__append_1919 = util/grub-kbdcomp.in +@COND_x86_64_efi_TRUE@am__append_1920 = grub-kbdcomp +@COND_x86_64_efi_TRUE@am__append_1921 = grub-kbdcomp +@COND_x86_64_efi_TRUE@am__append_1922 = util/grub-kbdcomp.in +@COND_mips_yeeloong_TRUE@am__append_1923 = grub-kbdcomp +@COND_mips_yeeloong_TRUE@am__append_1924 = grub-kbdcomp +@COND_mips_yeeloong_TRUE@am__append_1925 = util/grub-kbdcomp.in +@COND_sparc64_ieee1275_TRUE@am__append_1926 = grub-kbdcomp +@COND_sparc64_ieee1275_TRUE@am__append_1927 = grub-kbdcomp +@COND_sparc64_ieee1275_TRUE@am__append_1928 = util/grub-kbdcomp.in +@COND_powerpc_ieee1275_TRUE@am__append_1929 = grub-kbdcomp +@COND_powerpc_ieee1275_TRUE@am__append_1930 = grub-kbdcomp +@COND_powerpc_ieee1275_TRUE@am__append_1931 = util/grub-kbdcomp.in +@COND_emu_TRUE@am__append_1932 = grub-shell +@COND_emu_TRUE@am__append_1933 = grub-shell +@COND_emu_TRUE@am__append_1934 = tests/util/grub-shell.in +@COND_i386_pc_TRUE@am__append_1935 = grub-shell +@COND_i386_pc_TRUE@am__append_1936 = grub-shell +@COND_i386_pc_TRUE@am__append_1937 = tests/util/grub-shell.in +@COND_i386_efi_TRUE@am__append_1938 = grub-shell +@COND_i386_efi_TRUE@am__append_1939 = grub-shell +@COND_i386_efi_TRUE@am__append_1940 = tests/util/grub-shell.in +@COND_i386_qemu_TRUE@am__append_1941 = grub-shell +@COND_i386_qemu_TRUE@am__append_1942 = grub-shell +@COND_i386_qemu_TRUE@am__append_1943 = tests/util/grub-shell.in +@COND_i386_coreboot_TRUE@am__append_1944 = grub-shell +@COND_i386_coreboot_TRUE@am__append_1945 = grub-shell +@COND_i386_coreboot_TRUE@am__append_1946 = tests/util/grub-shell.in +@COND_i386_multiboot_TRUE@am__append_1947 = grub-shell +@COND_i386_multiboot_TRUE@am__append_1948 = grub-shell +@COND_i386_multiboot_TRUE@am__append_1949 = tests/util/grub-shell.in +@COND_i386_ieee1275_TRUE@am__append_1950 = grub-shell +@COND_i386_ieee1275_TRUE@am__append_1951 = grub-shell +@COND_i386_ieee1275_TRUE@am__append_1952 = tests/util/grub-shell.in +@COND_x86_64_efi_TRUE@am__append_1953 = grub-shell +@COND_x86_64_efi_TRUE@am__append_1954 = grub-shell +@COND_x86_64_efi_TRUE@am__append_1955 = tests/util/grub-shell.in +@COND_mips_yeeloong_TRUE@am__append_1956 = grub-shell +@COND_mips_yeeloong_TRUE@am__append_1957 = grub-shell +@COND_mips_yeeloong_TRUE@am__append_1958 = tests/util/grub-shell.in +@COND_sparc64_ieee1275_TRUE@am__append_1959 = grub-shell +@COND_sparc64_ieee1275_TRUE@am__append_1960 = grub-shell +@COND_sparc64_ieee1275_TRUE@am__append_1961 = tests/util/grub-shell.in +@COND_powerpc_ieee1275_TRUE@am__append_1962 = grub-shell +@COND_powerpc_ieee1275_TRUE@am__append_1963 = grub-shell +@COND_powerpc_ieee1275_TRUE@am__append_1964 = tests/util/grub-shell.in +@COND_emu_TRUE@am__append_1965 = grub-shell-tester +@COND_emu_TRUE@am__append_1966 = grub-shell-tester +@COND_emu_TRUE@am__append_1967 = tests/util/grub-shell-tester.in +@COND_i386_pc_TRUE@am__append_1968 = grub-shell-tester +@COND_i386_pc_TRUE@am__append_1969 = grub-shell-tester +@COND_i386_pc_TRUE@am__append_1970 = tests/util/grub-shell-tester.in +@COND_i386_efi_TRUE@am__append_1971 = grub-shell-tester +@COND_i386_efi_TRUE@am__append_1972 = grub-shell-tester +@COND_i386_efi_TRUE@am__append_1973 = tests/util/grub-shell-tester.in +@COND_i386_qemu_TRUE@am__append_1974 = grub-shell-tester +@COND_i386_qemu_TRUE@am__append_1975 = grub-shell-tester +@COND_i386_qemu_TRUE@am__append_1976 = tests/util/grub-shell-tester.in +@COND_i386_coreboot_TRUE@am__append_1977 = grub-shell-tester +@COND_i386_coreboot_TRUE@am__append_1978 = grub-shell-tester +@COND_i386_coreboot_TRUE@am__append_1979 = tests/util/grub-shell-tester.in +@COND_i386_multiboot_TRUE@am__append_1980 = grub-shell-tester +@COND_i386_multiboot_TRUE@am__append_1981 = grub-shell-tester +@COND_i386_multiboot_TRUE@am__append_1982 = tests/util/grub-shell-tester.in +@COND_i386_ieee1275_TRUE@am__append_1983 = grub-shell-tester +@COND_i386_ieee1275_TRUE@am__append_1984 = grub-shell-tester +@COND_i386_ieee1275_TRUE@am__append_1985 = tests/util/grub-shell-tester.in +@COND_x86_64_efi_TRUE@am__append_1986 = grub-shell-tester +@COND_x86_64_efi_TRUE@am__append_1987 = grub-shell-tester +@COND_x86_64_efi_TRUE@am__append_1988 = tests/util/grub-shell-tester.in +@COND_mips_yeeloong_TRUE@am__append_1989 = grub-shell-tester +@COND_mips_yeeloong_TRUE@am__append_1990 = grub-shell-tester +@COND_mips_yeeloong_TRUE@am__append_1991 = tests/util/grub-shell-tester.in +@COND_sparc64_ieee1275_TRUE@am__append_1992 = grub-shell-tester +@COND_sparc64_ieee1275_TRUE@am__append_1993 = grub-shell-tester +@COND_sparc64_ieee1275_TRUE@am__append_1994 = tests/util/grub-shell-tester.in +@COND_powerpc_ieee1275_TRUE@am__append_1995 = grub-shell-tester +@COND_powerpc_ieee1275_TRUE@am__append_1996 = grub-shell-tester +@COND_powerpc_ieee1275_TRUE@am__append_1997 = tests/util/grub-shell-tester.in +@COND_emu_TRUE@am__append_1998 = example_scripted_test +@COND_emu_TRUE@am__append_1999 = example_scripted_test +@COND_emu_TRUE@am__append_2000 = example_scripted_test +@COND_emu_TRUE@am__append_2001 = tests/example_scripted_test.in +@COND_i386_pc_TRUE@am__append_2002 = example_scripted_test +@COND_i386_pc_TRUE@am__append_2003 = example_scripted_test +@COND_i386_pc_TRUE@am__append_2004 = example_scripted_test +@COND_i386_pc_TRUE@am__append_2005 = tests/example_scripted_test.in +@COND_i386_efi_TRUE@am__append_2006 = example_scripted_test +@COND_i386_efi_TRUE@am__append_2007 = example_scripted_test +@COND_i386_efi_TRUE@am__append_2008 = example_scripted_test +@COND_i386_efi_TRUE@am__append_2009 = tests/example_scripted_test.in +@COND_i386_qemu_TRUE@am__append_2010 = example_scripted_test +@COND_i386_qemu_TRUE@am__append_2011 = example_scripted_test +@COND_i386_qemu_TRUE@am__append_2012 = example_scripted_test +@COND_i386_qemu_TRUE@am__append_2013 = tests/example_scripted_test.in +@COND_i386_coreboot_TRUE@am__append_2014 = example_scripted_test +@COND_i386_coreboot_TRUE@am__append_2015 = example_scripted_test +@COND_i386_coreboot_TRUE@am__append_2016 = example_scripted_test +@COND_i386_coreboot_TRUE@am__append_2017 = tests/example_scripted_test.in +@COND_i386_multiboot_TRUE@am__append_2018 = example_scripted_test +@COND_i386_multiboot_TRUE@am__append_2019 = example_scripted_test +@COND_i386_multiboot_TRUE@am__append_2020 = example_scripted_test +@COND_i386_multiboot_TRUE@am__append_2021 = tests/example_scripted_test.in +@COND_i386_ieee1275_TRUE@am__append_2022 = example_scripted_test +@COND_i386_ieee1275_TRUE@am__append_2023 = example_scripted_test +@COND_i386_ieee1275_TRUE@am__append_2024 = example_scripted_test +@COND_i386_ieee1275_TRUE@am__append_2025 = tests/example_scripted_test.in +@COND_x86_64_efi_TRUE@am__append_2026 = example_scripted_test +@COND_x86_64_efi_TRUE@am__append_2027 = example_scripted_test +@COND_x86_64_efi_TRUE@am__append_2028 = example_scripted_test +@COND_x86_64_efi_TRUE@am__append_2029 = tests/example_scripted_test.in +@COND_mips_yeeloong_TRUE@am__append_2030 = example_scripted_test +@COND_mips_yeeloong_TRUE@am__append_2031 = example_scripted_test +@COND_mips_yeeloong_TRUE@am__append_2032 = example_scripted_test +@COND_mips_yeeloong_TRUE@am__append_2033 = tests/example_scripted_test.in +@COND_sparc64_ieee1275_TRUE@am__append_2034 = example_scripted_test +@COND_sparc64_ieee1275_TRUE@am__append_2035 = example_scripted_test +@COND_sparc64_ieee1275_TRUE@am__append_2036 = example_scripted_test +@COND_sparc64_ieee1275_TRUE@am__append_2037 = tests/example_scripted_test.in +@COND_powerpc_ieee1275_TRUE@am__append_2038 = example_scripted_test +@COND_powerpc_ieee1275_TRUE@am__append_2039 = example_scripted_test +@COND_powerpc_ieee1275_TRUE@am__append_2040 = example_scripted_test +@COND_powerpc_ieee1275_TRUE@am__append_2041 = tests/example_scripted_test.in +@COND_emu_TRUE@am__append_2042 = example_grub_script_test +@COND_emu_TRUE@am__append_2043 = example_grub_script_test +@COND_emu_TRUE@am__append_2044 = example_grub_script_test +@COND_emu_TRUE@am__append_2045 = tests/example_grub_script_test.in +@COND_i386_pc_TRUE@am__append_2046 = example_grub_script_test +@COND_i386_pc_TRUE@am__append_2047 = example_grub_script_test +@COND_i386_pc_TRUE@am__append_2048 = example_grub_script_test +@COND_i386_pc_TRUE@am__append_2049 = tests/example_grub_script_test.in +@COND_i386_efi_TRUE@am__append_2050 = example_grub_script_test +@COND_i386_efi_TRUE@am__append_2051 = example_grub_script_test +@COND_i386_efi_TRUE@am__append_2052 = example_grub_script_test +@COND_i386_efi_TRUE@am__append_2053 = tests/example_grub_script_test.in +@COND_i386_qemu_TRUE@am__append_2054 = example_grub_script_test +@COND_i386_qemu_TRUE@am__append_2055 = example_grub_script_test +@COND_i386_qemu_TRUE@am__append_2056 = example_grub_script_test +@COND_i386_qemu_TRUE@am__append_2057 = tests/example_grub_script_test.in +@COND_i386_coreboot_TRUE@am__append_2058 = example_grub_script_test +@COND_i386_coreboot_TRUE@am__append_2059 = example_grub_script_test +@COND_i386_coreboot_TRUE@am__append_2060 = example_grub_script_test +@COND_i386_coreboot_TRUE@am__append_2061 = tests/example_grub_script_test.in +@COND_i386_multiboot_TRUE@am__append_2062 = example_grub_script_test +@COND_i386_multiboot_TRUE@am__append_2063 = example_grub_script_test +@COND_i386_multiboot_TRUE@am__append_2064 = example_grub_script_test +@COND_i386_multiboot_TRUE@am__append_2065 = tests/example_grub_script_test.in +@COND_i386_ieee1275_TRUE@am__append_2066 = example_grub_script_test +@COND_i386_ieee1275_TRUE@am__append_2067 = example_grub_script_test +@COND_i386_ieee1275_TRUE@am__append_2068 = example_grub_script_test +@COND_i386_ieee1275_TRUE@am__append_2069 = tests/example_grub_script_test.in +@COND_x86_64_efi_TRUE@am__append_2070 = example_grub_script_test +@COND_x86_64_efi_TRUE@am__append_2071 = example_grub_script_test +@COND_x86_64_efi_TRUE@am__append_2072 = example_grub_script_test +@COND_x86_64_efi_TRUE@am__append_2073 = tests/example_grub_script_test.in +@COND_mips_yeeloong_TRUE@am__append_2074 = example_grub_script_test +@COND_mips_yeeloong_TRUE@am__append_2075 = example_grub_script_test +@COND_mips_yeeloong_TRUE@am__append_2076 = example_grub_script_test +@COND_mips_yeeloong_TRUE@am__append_2077 = tests/example_grub_script_test.in +@COND_sparc64_ieee1275_TRUE@am__append_2078 = example_grub_script_test +@COND_sparc64_ieee1275_TRUE@am__append_2079 = example_grub_script_test +@COND_sparc64_ieee1275_TRUE@am__append_2080 = example_grub_script_test +@COND_sparc64_ieee1275_TRUE@am__append_2081 = tests/example_grub_script_test.in +@COND_powerpc_ieee1275_TRUE@am__append_2082 = example_grub_script_test +@COND_powerpc_ieee1275_TRUE@am__append_2083 = example_grub_script_test +@COND_powerpc_ieee1275_TRUE@am__append_2084 = example_grub_script_test +@COND_powerpc_ieee1275_TRUE@am__append_2085 = tests/example_grub_script_test.in +@COND_emu_TRUE@am__append_2086 = grub_script_echo1 +@COND_emu_TRUE@am__append_2087 = grub_script_echo1 +@COND_emu_TRUE@am__append_2088 = grub_script_echo1 +@COND_emu_TRUE@am__append_2089 = tests/grub_script_echo1.in +@COND_i386_pc_TRUE@am__append_2090 = grub_script_echo1 +@COND_i386_pc_TRUE@am__append_2091 = grub_script_echo1 +@COND_i386_pc_TRUE@am__append_2092 = grub_script_echo1 +@COND_i386_pc_TRUE@am__append_2093 = tests/grub_script_echo1.in +@COND_i386_efi_TRUE@am__append_2094 = grub_script_echo1 +@COND_i386_efi_TRUE@am__append_2095 = grub_script_echo1 +@COND_i386_efi_TRUE@am__append_2096 = grub_script_echo1 +@COND_i386_efi_TRUE@am__append_2097 = tests/grub_script_echo1.in +@COND_i386_qemu_TRUE@am__append_2098 = grub_script_echo1 +@COND_i386_qemu_TRUE@am__append_2099 = grub_script_echo1 +@COND_i386_qemu_TRUE@am__append_2100 = grub_script_echo1 +@COND_i386_qemu_TRUE@am__append_2101 = tests/grub_script_echo1.in +@COND_i386_coreboot_TRUE@am__append_2102 = grub_script_echo1 +@COND_i386_coreboot_TRUE@am__append_2103 = grub_script_echo1 +@COND_i386_coreboot_TRUE@am__append_2104 = grub_script_echo1 +@COND_i386_coreboot_TRUE@am__append_2105 = tests/grub_script_echo1.in +@COND_i386_multiboot_TRUE@am__append_2106 = grub_script_echo1 +@COND_i386_multiboot_TRUE@am__append_2107 = grub_script_echo1 +@COND_i386_multiboot_TRUE@am__append_2108 = grub_script_echo1 +@COND_i386_multiboot_TRUE@am__append_2109 = tests/grub_script_echo1.in +@COND_i386_ieee1275_TRUE@am__append_2110 = grub_script_echo1 +@COND_i386_ieee1275_TRUE@am__append_2111 = grub_script_echo1 +@COND_i386_ieee1275_TRUE@am__append_2112 = grub_script_echo1 +@COND_i386_ieee1275_TRUE@am__append_2113 = tests/grub_script_echo1.in +@COND_x86_64_efi_TRUE@am__append_2114 = grub_script_echo1 +@COND_x86_64_efi_TRUE@am__append_2115 = grub_script_echo1 +@COND_x86_64_efi_TRUE@am__append_2116 = grub_script_echo1 +@COND_x86_64_efi_TRUE@am__append_2117 = tests/grub_script_echo1.in +@COND_mips_yeeloong_TRUE@am__append_2118 = grub_script_echo1 +@COND_mips_yeeloong_TRUE@am__append_2119 = grub_script_echo1 +@COND_mips_yeeloong_TRUE@am__append_2120 = grub_script_echo1 +@COND_mips_yeeloong_TRUE@am__append_2121 = tests/grub_script_echo1.in +@COND_sparc64_ieee1275_TRUE@am__append_2122 = grub_script_echo1 +@COND_sparc64_ieee1275_TRUE@am__append_2123 = grub_script_echo1 +@COND_sparc64_ieee1275_TRUE@am__append_2124 = grub_script_echo1 +@COND_sparc64_ieee1275_TRUE@am__append_2125 = tests/grub_script_echo1.in +@COND_powerpc_ieee1275_TRUE@am__append_2126 = grub_script_echo1 +@COND_powerpc_ieee1275_TRUE@am__append_2127 = grub_script_echo1 +@COND_powerpc_ieee1275_TRUE@am__append_2128 = grub_script_echo1 +@COND_powerpc_ieee1275_TRUE@am__append_2129 = tests/grub_script_echo1.in +@COND_emu_TRUE@am__append_2130 = grub_script_echo_keywords +@COND_emu_TRUE@am__append_2131 = grub_script_echo_keywords +@COND_emu_TRUE@am__append_2132 = grub_script_echo_keywords +@COND_emu_TRUE@am__append_2133 = tests/grub_script_echo_keywords.in +@COND_i386_pc_TRUE@am__append_2134 = grub_script_echo_keywords +@COND_i386_pc_TRUE@am__append_2135 = grub_script_echo_keywords +@COND_i386_pc_TRUE@am__append_2136 = grub_script_echo_keywords +@COND_i386_pc_TRUE@am__append_2137 = tests/grub_script_echo_keywords.in +@COND_i386_efi_TRUE@am__append_2138 = grub_script_echo_keywords +@COND_i386_efi_TRUE@am__append_2139 = grub_script_echo_keywords +@COND_i386_efi_TRUE@am__append_2140 = grub_script_echo_keywords +@COND_i386_efi_TRUE@am__append_2141 = tests/grub_script_echo_keywords.in +@COND_i386_qemu_TRUE@am__append_2142 = grub_script_echo_keywords +@COND_i386_qemu_TRUE@am__append_2143 = grub_script_echo_keywords +@COND_i386_qemu_TRUE@am__append_2144 = grub_script_echo_keywords +@COND_i386_qemu_TRUE@am__append_2145 = tests/grub_script_echo_keywords.in +@COND_i386_coreboot_TRUE@am__append_2146 = grub_script_echo_keywords +@COND_i386_coreboot_TRUE@am__append_2147 = grub_script_echo_keywords +@COND_i386_coreboot_TRUE@am__append_2148 = grub_script_echo_keywords +@COND_i386_coreboot_TRUE@am__append_2149 = tests/grub_script_echo_keywords.in +@COND_i386_multiboot_TRUE@am__append_2150 = grub_script_echo_keywords +@COND_i386_multiboot_TRUE@am__append_2151 = grub_script_echo_keywords +@COND_i386_multiboot_TRUE@am__append_2152 = grub_script_echo_keywords +@COND_i386_multiboot_TRUE@am__append_2153 = tests/grub_script_echo_keywords.in +@COND_i386_ieee1275_TRUE@am__append_2154 = grub_script_echo_keywords +@COND_i386_ieee1275_TRUE@am__append_2155 = grub_script_echo_keywords +@COND_i386_ieee1275_TRUE@am__append_2156 = grub_script_echo_keywords +@COND_i386_ieee1275_TRUE@am__append_2157 = tests/grub_script_echo_keywords.in +@COND_x86_64_efi_TRUE@am__append_2158 = grub_script_echo_keywords +@COND_x86_64_efi_TRUE@am__append_2159 = grub_script_echo_keywords +@COND_x86_64_efi_TRUE@am__append_2160 = grub_script_echo_keywords +@COND_x86_64_efi_TRUE@am__append_2161 = tests/grub_script_echo_keywords.in +@COND_mips_yeeloong_TRUE@am__append_2162 = grub_script_echo_keywords +@COND_mips_yeeloong_TRUE@am__append_2163 = grub_script_echo_keywords +@COND_mips_yeeloong_TRUE@am__append_2164 = grub_script_echo_keywords +@COND_mips_yeeloong_TRUE@am__append_2165 = tests/grub_script_echo_keywords.in +@COND_sparc64_ieee1275_TRUE@am__append_2166 = grub_script_echo_keywords +@COND_sparc64_ieee1275_TRUE@am__append_2167 = grub_script_echo_keywords +@COND_sparc64_ieee1275_TRUE@am__append_2168 = grub_script_echo_keywords +@COND_sparc64_ieee1275_TRUE@am__append_2169 = tests/grub_script_echo_keywords.in +@COND_powerpc_ieee1275_TRUE@am__append_2170 = grub_script_echo_keywords +@COND_powerpc_ieee1275_TRUE@am__append_2171 = grub_script_echo_keywords +@COND_powerpc_ieee1275_TRUE@am__append_2172 = grub_script_echo_keywords +@COND_powerpc_ieee1275_TRUE@am__append_2173 = tests/grub_script_echo_keywords.in +@COND_emu_TRUE@am__append_2174 = grub_script_vars1 +@COND_emu_TRUE@am__append_2175 = grub_script_vars1 +@COND_emu_TRUE@am__append_2176 = grub_script_vars1 +@COND_emu_TRUE@am__append_2177 = tests/grub_script_vars1.in +@COND_i386_pc_TRUE@am__append_2178 = grub_script_vars1 +@COND_i386_pc_TRUE@am__append_2179 = grub_script_vars1 +@COND_i386_pc_TRUE@am__append_2180 = grub_script_vars1 +@COND_i386_pc_TRUE@am__append_2181 = tests/grub_script_vars1.in +@COND_i386_efi_TRUE@am__append_2182 = grub_script_vars1 +@COND_i386_efi_TRUE@am__append_2183 = grub_script_vars1 +@COND_i386_efi_TRUE@am__append_2184 = grub_script_vars1 +@COND_i386_efi_TRUE@am__append_2185 = tests/grub_script_vars1.in +@COND_i386_qemu_TRUE@am__append_2186 = grub_script_vars1 +@COND_i386_qemu_TRUE@am__append_2187 = grub_script_vars1 +@COND_i386_qemu_TRUE@am__append_2188 = grub_script_vars1 +@COND_i386_qemu_TRUE@am__append_2189 = tests/grub_script_vars1.in +@COND_i386_coreboot_TRUE@am__append_2190 = grub_script_vars1 +@COND_i386_coreboot_TRUE@am__append_2191 = grub_script_vars1 +@COND_i386_coreboot_TRUE@am__append_2192 = grub_script_vars1 +@COND_i386_coreboot_TRUE@am__append_2193 = tests/grub_script_vars1.in +@COND_i386_multiboot_TRUE@am__append_2194 = grub_script_vars1 +@COND_i386_multiboot_TRUE@am__append_2195 = grub_script_vars1 +@COND_i386_multiboot_TRUE@am__append_2196 = grub_script_vars1 +@COND_i386_multiboot_TRUE@am__append_2197 = tests/grub_script_vars1.in +@COND_i386_ieee1275_TRUE@am__append_2198 = grub_script_vars1 +@COND_i386_ieee1275_TRUE@am__append_2199 = grub_script_vars1 +@COND_i386_ieee1275_TRUE@am__append_2200 = grub_script_vars1 +@COND_i386_ieee1275_TRUE@am__append_2201 = tests/grub_script_vars1.in +@COND_x86_64_efi_TRUE@am__append_2202 = grub_script_vars1 +@COND_x86_64_efi_TRUE@am__append_2203 = grub_script_vars1 +@COND_x86_64_efi_TRUE@am__append_2204 = grub_script_vars1 +@COND_x86_64_efi_TRUE@am__append_2205 = tests/grub_script_vars1.in +@COND_mips_yeeloong_TRUE@am__append_2206 = grub_script_vars1 +@COND_mips_yeeloong_TRUE@am__append_2207 = grub_script_vars1 +@COND_mips_yeeloong_TRUE@am__append_2208 = grub_script_vars1 +@COND_mips_yeeloong_TRUE@am__append_2209 = tests/grub_script_vars1.in +@COND_sparc64_ieee1275_TRUE@am__append_2210 = grub_script_vars1 +@COND_sparc64_ieee1275_TRUE@am__append_2211 = grub_script_vars1 +@COND_sparc64_ieee1275_TRUE@am__append_2212 = grub_script_vars1 +@COND_sparc64_ieee1275_TRUE@am__append_2213 = tests/grub_script_vars1.in +@COND_powerpc_ieee1275_TRUE@am__append_2214 = grub_script_vars1 +@COND_powerpc_ieee1275_TRUE@am__append_2215 = grub_script_vars1 +@COND_powerpc_ieee1275_TRUE@am__append_2216 = grub_script_vars1 +@COND_powerpc_ieee1275_TRUE@am__append_2217 = tests/grub_script_vars1.in +@COND_emu_TRUE@am__append_2218 = grub_script_for1 +@COND_emu_TRUE@am__append_2219 = grub_script_for1 +@COND_emu_TRUE@am__append_2220 = grub_script_for1 +@COND_emu_TRUE@am__append_2221 = tests/grub_script_for1.in +@COND_i386_pc_TRUE@am__append_2222 = grub_script_for1 +@COND_i386_pc_TRUE@am__append_2223 = grub_script_for1 +@COND_i386_pc_TRUE@am__append_2224 = grub_script_for1 +@COND_i386_pc_TRUE@am__append_2225 = tests/grub_script_for1.in +@COND_i386_efi_TRUE@am__append_2226 = grub_script_for1 +@COND_i386_efi_TRUE@am__append_2227 = grub_script_for1 +@COND_i386_efi_TRUE@am__append_2228 = grub_script_for1 +@COND_i386_efi_TRUE@am__append_2229 = tests/grub_script_for1.in +@COND_i386_qemu_TRUE@am__append_2230 = grub_script_for1 +@COND_i386_qemu_TRUE@am__append_2231 = grub_script_for1 +@COND_i386_qemu_TRUE@am__append_2232 = grub_script_for1 +@COND_i386_qemu_TRUE@am__append_2233 = tests/grub_script_for1.in +@COND_i386_coreboot_TRUE@am__append_2234 = grub_script_for1 +@COND_i386_coreboot_TRUE@am__append_2235 = grub_script_for1 +@COND_i386_coreboot_TRUE@am__append_2236 = grub_script_for1 +@COND_i386_coreboot_TRUE@am__append_2237 = tests/grub_script_for1.in +@COND_i386_multiboot_TRUE@am__append_2238 = grub_script_for1 +@COND_i386_multiboot_TRUE@am__append_2239 = grub_script_for1 +@COND_i386_multiboot_TRUE@am__append_2240 = grub_script_for1 +@COND_i386_multiboot_TRUE@am__append_2241 = tests/grub_script_for1.in +@COND_i386_ieee1275_TRUE@am__append_2242 = grub_script_for1 +@COND_i386_ieee1275_TRUE@am__append_2243 = grub_script_for1 +@COND_i386_ieee1275_TRUE@am__append_2244 = grub_script_for1 +@COND_i386_ieee1275_TRUE@am__append_2245 = tests/grub_script_for1.in +@COND_x86_64_efi_TRUE@am__append_2246 = grub_script_for1 +@COND_x86_64_efi_TRUE@am__append_2247 = grub_script_for1 +@COND_x86_64_efi_TRUE@am__append_2248 = grub_script_for1 +@COND_x86_64_efi_TRUE@am__append_2249 = tests/grub_script_for1.in +@COND_mips_yeeloong_TRUE@am__append_2250 = grub_script_for1 +@COND_mips_yeeloong_TRUE@am__append_2251 = grub_script_for1 +@COND_mips_yeeloong_TRUE@am__append_2252 = grub_script_for1 +@COND_mips_yeeloong_TRUE@am__append_2253 = tests/grub_script_for1.in +@COND_sparc64_ieee1275_TRUE@am__append_2254 = grub_script_for1 +@COND_sparc64_ieee1275_TRUE@am__append_2255 = grub_script_for1 +@COND_sparc64_ieee1275_TRUE@am__append_2256 = grub_script_for1 +@COND_sparc64_ieee1275_TRUE@am__append_2257 = tests/grub_script_for1.in +@COND_powerpc_ieee1275_TRUE@am__append_2258 = grub_script_for1 +@COND_powerpc_ieee1275_TRUE@am__append_2259 = grub_script_for1 +@COND_powerpc_ieee1275_TRUE@am__append_2260 = grub_script_for1 +@COND_powerpc_ieee1275_TRUE@am__append_2261 = tests/grub_script_for1.in +@COND_emu_TRUE@am__append_2262 = grub_script_while1 +@COND_emu_TRUE@am__append_2263 = grub_script_while1 +@COND_emu_TRUE@am__append_2264 = grub_script_while1 +@COND_emu_TRUE@am__append_2265 = tests/grub_script_while1.in +@COND_i386_pc_TRUE@am__append_2266 = grub_script_while1 +@COND_i386_pc_TRUE@am__append_2267 = grub_script_while1 +@COND_i386_pc_TRUE@am__append_2268 = grub_script_while1 +@COND_i386_pc_TRUE@am__append_2269 = tests/grub_script_while1.in +@COND_i386_efi_TRUE@am__append_2270 = grub_script_while1 +@COND_i386_efi_TRUE@am__append_2271 = grub_script_while1 +@COND_i386_efi_TRUE@am__append_2272 = grub_script_while1 +@COND_i386_efi_TRUE@am__append_2273 = tests/grub_script_while1.in +@COND_i386_qemu_TRUE@am__append_2274 = grub_script_while1 +@COND_i386_qemu_TRUE@am__append_2275 = grub_script_while1 +@COND_i386_qemu_TRUE@am__append_2276 = grub_script_while1 +@COND_i386_qemu_TRUE@am__append_2277 = tests/grub_script_while1.in +@COND_i386_coreboot_TRUE@am__append_2278 = grub_script_while1 +@COND_i386_coreboot_TRUE@am__append_2279 = grub_script_while1 +@COND_i386_coreboot_TRUE@am__append_2280 = grub_script_while1 +@COND_i386_coreboot_TRUE@am__append_2281 = tests/grub_script_while1.in +@COND_i386_multiboot_TRUE@am__append_2282 = grub_script_while1 +@COND_i386_multiboot_TRUE@am__append_2283 = grub_script_while1 +@COND_i386_multiboot_TRUE@am__append_2284 = grub_script_while1 +@COND_i386_multiboot_TRUE@am__append_2285 = tests/grub_script_while1.in +@COND_i386_ieee1275_TRUE@am__append_2286 = grub_script_while1 +@COND_i386_ieee1275_TRUE@am__append_2287 = grub_script_while1 +@COND_i386_ieee1275_TRUE@am__append_2288 = grub_script_while1 +@COND_i386_ieee1275_TRUE@am__append_2289 = tests/grub_script_while1.in +@COND_x86_64_efi_TRUE@am__append_2290 = grub_script_while1 +@COND_x86_64_efi_TRUE@am__append_2291 = grub_script_while1 +@COND_x86_64_efi_TRUE@am__append_2292 = grub_script_while1 +@COND_x86_64_efi_TRUE@am__append_2293 = tests/grub_script_while1.in +@COND_mips_yeeloong_TRUE@am__append_2294 = grub_script_while1 +@COND_mips_yeeloong_TRUE@am__append_2295 = grub_script_while1 +@COND_mips_yeeloong_TRUE@am__append_2296 = grub_script_while1 +@COND_mips_yeeloong_TRUE@am__append_2297 = tests/grub_script_while1.in +@COND_sparc64_ieee1275_TRUE@am__append_2298 = grub_script_while1 +@COND_sparc64_ieee1275_TRUE@am__append_2299 = grub_script_while1 +@COND_sparc64_ieee1275_TRUE@am__append_2300 = grub_script_while1 +@COND_sparc64_ieee1275_TRUE@am__append_2301 = tests/grub_script_while1.in +@COND_powerpc_ieee1275_TRUE@am__append_2302 = grub_script_while1 +@COND_powerpc_ieee1275_TRUE@am__append_2303 = grub_script_while1 +@COND_powerpc_ieee1275_TRUE@am__append_2304 = grub_script_while1 +@COND_powerpc_ieee1275_TRUE@am__append_2305 = tests/grub_script_while1.in +@COND_emu_TRUE@am__append_2306 = grub_script_if +@COND_emu_TRUE@am__append_2307 = grub_script_if +@COND_emu_TRUE@am__append_2308 = grub_script_if +@COND_emu_TRUE@am__append_2309 = tests/grub_script_if.in +@COND_i386_pc_TRUE@am__append_2310 = grub_script_if +@COND_i386_pc_TRUE@am__append_2311 = grub_script_if +@COND_i386_pc_TRUE@am__append_2312 = grub_script_if +@COND_i386_pc_TRUE@am__append_2313 = tests/grub_script_if.in +@COND_i386_efi_TRUE@am__append_2314 = grub_script_if +@COND_i386_efi_TRUE@am__append_2315 = grub_script_if +@COND_i386_efi_TRUE@am__append_2316 = grub_script_if +@COND_i386_efi_TRUE@am__append_2317 = tests/grub_script_if.in +@COND_i386_qemu_TRUE@am__append_2318 = grub_script_if +@COND_i386_qemu_TRUE@am__append_2319 = grub_script_if +@COND_i386_qemu_TRUE@am__append_2320 = grub_script_if +@COND_i386_qemu_TRUE@am__append_2321 = tests/grub_script_if.in +@COND_i386_coreboot_TRUE@am__append_2322 = grub_script_if +@COND_i386_coreboot_TRUE@am__append_2323 = grub_script_if +@COND_i386_coreboot_TRUE@am__append_2324 = grub_script_if +@COND_i386_coreboot_TRUE@am__append_2325 = tests/grub_script_if.in +@COND_i386_multiboot_TRUE@am__append_2326 = grub_script_if +@COND_i386_multiboot_TRUE@am__append_2327 = grub_script_if +@COND_i386_multiboot_TRUE@am__append_2328 = grub_script_if +@COND_i386_multiboot_TRUE@am__append_2329 = tests/grub_script_if.in +@COND_i386_ieee1275_TRUE@am__append_2330 = grub_script_if +@COND_i386_ieee1275_TRUE@am__append_2331 = grub_script_if +@COND_i386_ieee1275_TRUE@am__append_2332 = grub_script_if +@COND_i386_ieee1275_TRUE@am__append_2333 = tests/grub_script_if.in +@COND_x86_64_efi_TRUE@am__append_2334 = grub_script_if +@COND_x86_64_efi_TRUE@am__append_2335 = grub_script_if +@COND_x86_64_efi_TRUE@am__append_2336 = grub_script_if +@COND_x86_64_efi_TRUE@am__append_2337 = tests/grub_script_if.in +@COND_mips_yeeloong_TRUE@am__append_2338 = grub_script_if +@COND_mips_yeeloong_TRUE@am__append_2339 = grub_script_if +@COND_mips_yeeloong_TRUE@am__append_2340 = grub_script_if +@COND_mips_yeeloong_TRUE@am__append_2341 = tests/grub_script_if.in +@COND_sparc64_ieee1275_TRUE@am__append_2342 = grub_script_if +@COND_sparc64_ieee1275_TRUE@am__append_2343 = grub_script_if +@COND_sparc64_ieee1275_TRUE@am__append_2344 = grub_script_if +@COND_sparc64_ieee1275_TRUE@am__append_2345 = tests/grub_script_if.in +@COND_powerpc_ieee1275_TRUE@am__append_2346 = grub_script_if +@COND_powerpc_ieee1275_TRUE@am__append_2347 = grub_script_if +@COND_powerpc_ieee1275_TRUE@am__append_2348 = grub_script_if +@COND_powerpc_ieee1275_TRUE@am__append_2349 = tests/grub_script_if.in +@COND_emu_TRUE@am__append_2350 = grub_script_blanklines +@COND_emu_TRUE@am__append_2351 = grub_script_blanklines +@COND_emu_TRUE@am__append_2352 = grub_script_blanklines +@COND_emu_TRUE@am__append_2353 = tests/grub_script_blanklines.in +@COND_i386_pc_TRUE@am__append_2354 = grub_script_blanklines +@COND_i386_pc_TRUE@am__append_2355 = grub_script_blanklines +@COND_i386_pc_TRUE@am__append_2356 = grub_script_blanklines +@COND_i386_pc_TRUE@am__append_2357 = tests/grub_script_blanklines.in +@COND_i386_efi_TRUE@am__append_2358 = grub_script_blanklines +@COND_i386_efi_TRUE@am__append_2359 = grub_script_blanklines +@COND_i386_efi_TRUE@am__append_2360 = grub_script_blanklines +@COND_i386_efi_TRUE@am__append_2361 = tests/grub_script_blanklines.in +@COND_i386_qemu_TRUE@am__append_2362 = grub_script_blanklines +@COND_i386_qemu_TRUE@am__append_2363 = grub_script_blanklines +@COND_i386_qemu_TRUE@am__append_2364 = grub_script_blanklines +@COND_i386_qemu_TRUE@am__append_2365 = tests/grub_script_blanklines.in +@COND_i386_coreboot_TRUE@am__append_2366 = grub_script_blanklines +@COND_i386_coreboot_TRUE@am__append_2367 = grub_script_blanklines +@COND_i386_coreboot_TRUE@am__append_2368 = grub_script_blanklines +@COND_i386_coreboot_TRUE@am__append_2369 = tests/grub_script_blanklines.in +@COND_i386_multiboot_TRUE@am__append_2370 = grub_script_blanklines +@COND_i386_multiboot_TRUE@am__append_2371 = grub_script_blanklines +@COND_i386_multiboot_TRUE@am__append_2372 = grub_script_blanklines +@COND_i386_multiboot_TRUE@am__append_2373 = tests/grub_script_blanklines.in +@COND_i386_ieee1275_TRUE@am__append_2374 = grub_script_blanklines +@COND_i386_ieee1275_TRUE@am__append_2375 = grub_script_blanklines +@COND_i386_ieee1275_TRUE@am__append_2376 = grub_script_blanklines +@COND_i386_ieee1275_TRUE@am__append_2377 = tests/grub_script_blanklines.in +@COND_x86_64_efi_TRUE@am__append_2378 = grub_script_blanklines +@COND_x86_64_efi_TRUE@am__append_2379 = grub_script_blanklines +@COND_x86_64_efi_TRUE@am__append_2380 = grub_script_blanklines +@COND_x86_64_efi_TRUE@am__append_2381 = tests/grub_script_blanklines.in +@COND_mips_yeeloong_TRUE@am__append_2382 = grub_script_blanklines +@COND_mips_yeeloong_TRUE@am__append_2383 = grub_script_blanklines +@COND_mips_yeeloong_TRUE@am__append_2384 = grub_script_blanklines +@COND_mips_yeeloong_TRUE@am__append_2385 = tests/grub_script_blanklines.in +@COND_sparc64_ieee1275_TRUE@am__append_2386 = grub_script_blanklines +@COND_sparc64_ieee1275_TRUE@am__append_2387 = grub_script_blanklines +@COND_sparc64_ieee1275_TRUE@am__append_2388 = grub_script_blanklines +@COND_sparc64_ieee1275_TRUE@am__append_2389 = tests/grub_script_blanklines.in +@COND_powerpc_ieee1275_TRUE@am__append_2390 = grub_script_blanklines +@COND_powerpc_ieee1275_TRUE@am__append_2391 = grub_script_blanklines +@COND_powerpc_ieee1275_TRUE@am__append_2392 = grub_script_blanklines +@COND_powerpc_ieee1275_TRUE@am__append_2393 = tests/grub_script_blanklines.in +@COND_emu_TRUE@am__append_2394 = grub_script_final_semicolon +@COND_emu_TRUE@am__append_2395 = grub_script_final_semicolon +@COND_emu_TRUE@am__append_2396 = grub_script_final_semicolon +@COND_emu_TRUE@am__append_2397 = tests/grub_script_final_semicolon.in +@COND_i386_pc_TRUE@am__append_2398 = grub_script_final_semicolon +@COND_i386_pc_TRUE@am__append_2399 = grub_script_final_semicolon +@COND_i386_pc_TRUE@am__append_2400 = grub_script_final_semicolon +@COND_i386_pc_TRUE@am__append_2401 = tests/grub_script_final_semicolon.in +@COND_i386_efi_TRUE@am__append_2402 = grub_script_final_semicolon +@COND_i386_efi_TRUE@am__append_2403 = grub_script_final_semicolon +@COND_i386_efi_TRUE@am__append_2404 = grub_script_final_semicolon +@COND_i386_efi_TRUE@am__append_2405 = tests/grub_script_final_semicolon.in +@COND_i386_qemu_TRUE@am__append_2406 = grub_script_final_semicolon +@COND_i386_qemu_TRUE@am__append_2407 = grub_script_final_semicolon +@COND_i386_qemu_TRUE@am__append_2408 = grub_script_final_semicolon +@COND_i386_qemu_TRUE@am__append_2409 = tests/grub_script_final_semicolon.in +@COND_i386_coreboot_TRUE@am__append_2410 = grub_script_final_semicolon +@COND_i386_coreboot_TRUE@am__append_2411 = grub_script_final_semicolon +@COND_i386_coreboot_TRUE@am__append_2412 = grub_script_final_semicolon +@COND_i386_coreboot_TRUE@am__append_2413 = tests/grub_script_final_semicolon.in +@COND_i386_multiboot_TRUE@am__append_2414 = grub_script_final_semicolon +@COND_i386_multiboot_TRUE@am__append_2415 = grub_script_final_semicolon +@COND_i386_multiboot_TRUE@am__append_2416 = grub_script_final_semicolon +@COND_i386_multiboot_TRUE@am__append_2417 = tests/grub_script_final_semicolon.in +@COND_i386_ieee1275_TRUE@am__append_2418 = grub_script_final_semicolon +@COND_i386_ieee1275_TRUE@am__append_2419 = grub_script_final_semicolon +@COND_i386_ieee1275_TRUE@am__append_2420 = grub_script_final_semicolon +@COND_i386_ieee1275_TRUE@am__append_2421 = tests/grub_script_final_semicolon.in +@COND_x86_64_efi_TRUE@am__append_2422 = grub_script_final_semicolon +@COND_x86_64_efi_TRUE@am__append_2423 = grub_script_final_semicolon +@COND_x86_64_efi_TRUE@am__append_2424 = grub_script_final_semicolon +@COND_x86_64_efi_TRUE@am__append_2425 = tests/grub_script_final_semicolon.in +@COND_mips_yeeloong_TRUE@am__append_2426 = grub_script_final_semicolon +@COND_mips_yeeloong_TRUE@am__append_2427 = grub_script_final_semicolon +@COND_mips_yeeloong_TRUE@am__append_2428 = grub_script_final_semicolon +@COND_mips_yeeloong_TRUE@am__append_2429 = tests/grub_script_final_semicolon.in +@COND_sparc64_ieee1275_TRUE@am__append_2430 = grub_script_final_semicolon +@COND_sparc64_ieee1275_TRUE@am__append_2431 = grub_script_final_semicolon +@COND_sparc64_ieee1275_TRUE@am__append_2432 = grub_script_final_semicolon +@COND_sparc64_ieee1275_TRUE@am__append_2433 = tests/grub_script_final_semicolon.in +@COND_powerpc_ieee1275_TRUE@am__append_2434 = grub_script_final_semicolon +@COND_powerpc_ieee1275_TRUE@am__append_2435 = grub_script_final_semicolon +@COND_powerpc_ieee1275_TRUE@am__append_2436 = grub_script_final_semicolon +@COND_powerpc_ieee1275_TRUE@am__append_2437 = tests/grub_script_final_semicolon.in +@COND_emu_TRUE@am__append_2438 = grub_script_dollar +@COND_emu_TRUE@am__append_2439 = grub_script_dollar +@COND_emu_TRUE@am__append_2440 = grub_script_dollar +@COND_emu_TRUE@am__append_2441 = tests/grub_script_dollar.in +@COND_i386_pc_TRUE@am__append_2442 = grub_script_dollar +@COND_i386_pc_TRUE@am__append_2443 = grub_script_dollar +@COND_i386_pc_TRUE@am__append_2444 = grub_script_dollar +@COND_i386_pc_TRUE@am__append_2445 = tests/grub_script_dollar.in +@COND_i386_efi_TRUE@am__append_2446 = grub_script_dollar +@COND_i386_efi_TRUE@am__append_2447 = grub_script_dollar +@COND_i386_efi_TRUE@am__append_2448 = grub_script_dollar +@COND_i386_efi_TRUE@am__append_2449 = tests/grub_script_dollar.in +@COND_i386_qemu_TRUE@am__append_2450 = grub_script_dollar +@COND_i386_qemu_TRUE@am__append_2451 = grub_script_dollar +@COND_i386_qemu_TRUE@am__append_2452 = grub_script_dollar +@COND_i386_qemu_TRUE@am__append_2453 = tests/grub_script_dollar.in +@COND_i386_coreboot_TRUE@am__append_2454 = grub_script_dollar +@COND_i386_coreboot_TRUE@am__append_2455 = grub_script_dollar +@COND_i386_coreboot_TRUE@am__append_2456 = grub_script_dollar +@COND_i386_coreboot_TRUE@am__append_2457 = tests/grub_script_dollar.in +@COND_i386_multiboot_TRUE@am__append_2458 = grub_script_dollar +@COND_i386_multiboot_TRUE@am__append_2459 = grub_script_dollar +@COND_i386_multiboot_TRUE@am__append_2460 = grub_script_dollar +@COND_i386_multiboot_TRUE@am__append_2461 = tests/grub_script_dollar.in +@COND_i386_ieee1275_TRUE@am__append_2462 = grub_script_dollar +@COND_i386_ieee1275_TRUE@am__append_2463 = grub_script_dollar +@COND_i386_ieee1275_TRUE@am__append_2464 = grub_script_dollar +@COND_i386_ieee1275_TRUE@am__append_2465 = tests/grub_script_dollar.in +@COND_x86_64_efi_TRUE@am__append_2466 = grub_script_dollar +@COND_x86_64_efi_TRUE@am__append_2467 = grub_script_dollar +@COND_x86_64_efi_TRUE@am__append_2468 = grub_script_dollar +@COND_x86_64_efi_TRUE@am__append_2469 = tests/grub_script_dollar.in +@COND_mips_yeeloong_TRUE@am__append_2470 = grub_script_dollar +@COND_mips_yeeloong_TRUE@am__append_2471 = grub_script_dollar +@COND_mips_yeeloong_TRUE@am__append_2472 = grub_script_dollar +@COND_mips_yeeloong_TRUE@am__append_2473 = tests/grub_script_dollar.in +@COND_sparc64_ieee1275_TRUE@am__append_2474 = grub_script_dollar +@COND_sparc64_ieee1275_TRUE@am__append_2475 = grub_script_dollar +@COND_sparc64_ieee1275_TRUE@am__append_2476 = grub_script_dollar +@COND_sparc64_ieee1275_TRUE@am__append_2477 = tests/grub_script_dollar.in +@COND_powerpc_ieee1275_TRUE@am__append_2478 = grub_script_dollar +@COND_powerpc_ieee1275_TRUE@am__append_2479 = grub_script_dollar +@COND_powerpc_ieee1275_TRUE@am__append_2480 = grub_script_dollar +@COND_powerpc_ieee1275_TRUE@am__append_2481 = tests/grub_script_dollar.in +@COND_emu_TRUE@am__append_2482 = grub_script_comments +@COND_emu_TRUE@am__append_2483 = grub_script_comments +@COND_emu_TRUE@am__append_2484 = grub_script_comments +@COND_emu_TRUE@am__append_2485 = tests/grub_script_comments.in +@COND_i386_pc_TRUE@am__append_2486 = grub_script_comments +@COND_i386_pc_TRUE@am__append_2487 = grub_script_comments +@COND_i386_pc_TRUE@am__append_2488 = grub_script_comments +@COND_i386_pc_TRUE@am__append_2489 = tests/grub_script_comments.in +@COND_i386_efi_TRUE@am__append_2490 = grub_script_comments +@COND_i386_efi_TRUE@am__append_2491 = grub_script_comments +@COND_i386_efi_TRUE@am__append_2492 = grub_script_comments +@COND_i386_efi_TRUE@am__append_2493 = tests/grub_script_comments.in +@COND_i386_qemu_TRUE@am__append_2494 = grub_script_comments +@COND_i386_qemu_TRUE@am__append_2495 = grub_script_comments +@COND_i386_qemu_TRUE@am__append_2496 = grub_script_comments +@COND_i386_qemu_TRUE@am__append_2497 = tests/grub_script_comments.in +@COND_i386_coreboot_TRUE@am__append_2498 = grub_script_comments +@COND_i386_coreboot_TRUE@am__append_2499 = grub_script_comments +@COND_i386_coreboot_TRUE@am__append_2500 = grub_script_comments +@COND_i386_coreboot_TRUE@am__append_2501 = tests/grub_script_comments.in +@COND_i386_multiboot_TRUE@am__append_2502 = grub_script_comments +@COND_i386_multiboot_TRUE@am__append_2503 = grub_script_comments +@COND_i386_multiboot_TRUE@am__append_2504 = grub_script_comments +@COND_i386_multiboot_TRUE@am__append_2505 = tests/grub_script_comments.in +@COND_i386_ieee1275_TRUE@am__append_2506 = grub_script_comments +@COND_i386_ieee1275_TRUE@am__append_2507 = grub_script_comments +@COND_i386_ieee1275_TRUE@am__append_2508 = grub_script_comments +@COND_i386_ieee1275_TRUE@am__append_2509 = tests/grub_script_comments.in +@COND_x86_64_efi_TRUE@am__append_2510 = grub_script_comments +@COND_x86_64_efi_TRUE@am__append_2511 = grub_script_comments +@COND_x86_64_efi_TRUE@am__append_2512 = grub_script_comments +@COND_x86_64_efi_TRUE@am__append_2513 = tests/grub_script_comments.in +@COND_mips_yeeloong_TRUE@am__append_2514 = grub_script_comments +@COND_mips_yeeloong_TRUE@am__append_2515 = grub_script_comments +@COND_mips_yeeloong_TRUE@am__append_2516 = grub_script_comments +@COND_mips_yeeloong_TRUE@am__append_2517 = tests/grub_script_comments.in +@COND_sparc64_ieee1275_TRUE@am__append_2518 = grub_script_comments +@COND_sparc64_ieee1275_TRUE@am__append_2519 = grub_script_comments +@COND_sparc64_ieee1275_TRUE@am__append_2520 = grub_script_comments +@COND_sparc64_ieee1275_TRUE@am__append_2521 = tests/grub_script_comments.in +@COND_powerpc_ieee1275_TRUE@am__append_2522 = grub_script_comments +@COND_powerpc_ieee1275_TRUE@am__append_2523 = grub_script_comments +@COND_powerpc_ieee1275_TRUE@am__append_2524 = grub_script_comments +@COND_powerpc_ieee1275_TRUE@am__append_2525 = tests/grub_script_comments.in +@COND_emu_TRUE@am__append_2526 = grub_script_functions +@COND_emu_TRUE@am__append_2527 = grub_script_functions +@COND_emu_TRUE@am__append_2528 = grub_script_functions +@COND_emu_TRUE@am__append_2529 = tests/grub_script_functions.in +@COND_i386_pc_TRUE@am__append_2530 = grub_script_functions +@COND_i386_pc_TRUE@am__append_2531 = grub_script_functions +@COND_i386_pc_TRUE@am__append_2532 = grub_script_functions +@COND_i386_pc_TRUE@am__append_2533 = tests/grub_script_functions.in +@COND_i386_efi_TRUE@am__append_2534 = grub_script_functions +@COND_i386_efi_TRUE@am__append_2535 = grub_script_functions +@COND_i386_efi_TRUE@am__append_2536 = grub_script_functions +@COND_i386_efi_TRUE@am__append_2537 = tests/grub_script_functions.in +@COND_i386_qemu_TRUE@am__append_2538 = grub_script_functions +@COND_i386_qemu_TRUE@am__append_2539 = grub_script_functions +@COND_i386_qemu_TRUE@am__append_2540 = grub_script_functions +@COND_i386_qemu_TRUE@am__append_2541 = tests/grub_script_functions.in +@COND_i386_coreboot_TRUE@am__append_2542 = grub_script_functions +@COND_i386_coreboot_TRUE@am__append_2543 = grub_script_functions +@COND_i386_coreboot_TRUE@am__append_2544 = grub_script_functions +@COND_i386_coreboot_TRUE@am__append_2545 = tests/grub_script_functions.in +@COND_i386_multiboot_TRUE@am__append_2546 = grub_script_functions +@COND_i386_multiboot_TRUE@am__append_2547 = grub_script_functions +@COND_i386_multiboot_TRUE@am__append_2548 = grub_script_functions +@COND_i386_multiboot_TRUE@am__append_2549 = tests/grub_script_functions.in +@COND_i386_ieee1275_TRUE@am__append_2550 = grub_script_functions +@COND_i386_ieee1275_TRUE@am__append_2551 = grub_script_functions +@COND_i386_ieee1275_TRUE@am__append_2552 = grub_script_functions +@COND_i386_ieee1275_TRUE@am__append_2553 = tests/grub_script_functions.in +@COND_x86_64_efi_TRUE@am__append_2554 = grub_script_functions +@COND_x86_64_efi_TRUE@am__append_2555 = grub_script_functions +@COND_x86_64_efi_TRUE@am__append_2556 = grub_script_functions +@COND_x86_64_efi_TRUE@am__append_2557 = tests/grub_script_functions.in +@COND_mips_yeeloong_TRUE@am__append_2558 = grub_script_functions +@COND_mips_yeeloong_TRUE@am__append_2559 = grub_script_functions +@COND_mips_yeeloong_TRUE@am__append_2560 = grub_script_functions +@COND_mips_yeeloong_TRUE@am__append_2561 = tests/grub_script_functions.in +@COND_sparc64_ieee1275_TRUE@am__append_2562 = grub_script_functions +@COND_sparc64_ieee1275_TRUE@am__append_2563 = grub_script_functions +@COND_sparc64_ieee1275_TRUE@am__append_2564 = grub_script_functions +@COND_sparc64_ieee1275_TRUE@am__append_2565 = tests/grub_script_functions.in +@COND_powerpc_ieee1275_TRUE@am__append_2566 = grub_script_functions +@COND_powerpc_ieee1275_TRUE@am__append_2567 = grub_script_functions +@COND_powerpc_ieee1275_TRUE@am__append_2568 = grub_script_functions +@COND_powerpc_ieee1275_TRUE@am__append_2569 = tests/grub_script_functions.in +@COND_emu_TRUE@am__append_2570 = grub_script_break +@COND_emu_TRUE@am__append_2571 = grub_script_break +@COND_emu_TRUE@am__append_2572 = grub_script_break +@COND_emu_TRUE@am__append_2573 = tests/grub_script_break.in +@COND_i386_pc_TRUE@am__append_2574 = grub_script_break +@COND_i386_pc_TRUE@am__append_2575 = grub_script_break +@COND_i386_pc_TRUE@am__append_2576 = grub_script_break +@COND_i386_pc_TRUE@am__append_2577 = tests/grub_script_break.in +@COND_i386_efi_TRUE@am__append_2578 = grub_script_break +@COND_i386_efi_TRUE@am__append_2579 = grub_script_break +@COND_i386_efi_TRUE@am__append_2580 = grub_script_break +@COND_i386_efi_TRUE@am__append_2581 = tests/grub_script_break.in +@COND_i386_qemu_TRUE@am__append_2582 = grub_script_break +@COND_i386_qemu_TRUE@am__append_2583 = grub_script_break +@COND_i386_qemu_TRUE@am__append_2584 = grub_script_break +@COND_i386_qemu_TRUE@am__append_2585 = tests/grub_script_break.in +@COND_i386_coreboot_TRUE@am__append_2586 = grub_script_break +@COND_i386_coreboot_TRUE@am__append_2587 = grub_script_break +@COND_i386_coreboot_TRUE@am__append_2588 = grub_script_break +@COND_i386_coreboot_TRUE@am__append_2589 = tests/grub_script_break.in +@COND_i386_multiboot_TRUE@am__append_2590 = grub_script_break +@COND_i386_multiboot_TRUE@am__append_2591 = grub_script_break +@COND_i386_multiboot_TRUE@am__append_2592 = grub_script_break +@COND_i386_multiboot_TRUE@am__append_2593 = tests/grub_script_break.in +@COND_i386_ieee1275_TRUE@am__append_2594 = grub_script_break +@COND_i386_ieee1275_TRUE@am__append_2595 = grub_script_break +@COND_i386_ieee1275_TRUE@am__append_2596 = grub_script_break +@COND_i386_ieee1275_TRUE@am__append_2597 = tests/grub_script_break.in +@COND_x86_64_efi_TRUE@am__append_2598 = grub_script_break +@COND_x86_64_efi_TRUE@am__append_2599 = grub_script_break +@COND_x86_64_efi_TRUE@am__append_2600 = grub_script_break +@COND_x86_64_efi_TRUE@am__append_2601 = tests/grub_script_break.in +@COND_mips_yeeloong_TRUE@am__append_2602 = grub_script_break +@COND_mips_yeeloong_TRUE@am__append_2603 = grub_script_break +@COND_mips_yeeloong_TRUE@am__append_2604 = grub_script_break +@COND_mips_yeeloong_TRUE@am__append_2605 = tests/grub_script_break.in +@COND_sparc64_ieee1275_TRUE@am__append_2606 = grub_script_break +@COND_sparc64_ieee1275_TRUE@am__append_2607 = grub_script_break +@COND_sparc64_ieee1275_TRUE@am__append_2608 = grub_script_break +@COND_sparc64_ieee1275_TRUE@am__append_2609 = tests/grub_script_break.in +@COND_powerpc_ieee1275_TRUE@am__append_2610 = grub_script_break +@COND_powerpc_ieee1275_TRUE@am__append_2611 = grub_script_break +@COND_powerpc_ieee1275_TRUE@am__append_2612 = grub_script_break +@COND_powerpc_ieee1275_TRUE@am__append_2613 = tests/grub_script_break.in +@COND_emu_TRUE@am__append_2614 = grub_script_continue +@COND_emu_TRUE@am__append_2615 = grub_script_continue +@COND_emu_TRUE@am__append_2616 = grub_script_continue +@COND_emu_TRUE@am__append_2617 = tests/grub_script_continue.in +@COND_i386_pc_TRUE@am__append_2618 = grub_script_continue +@COND_i386_pc_TRUE@am__append_2619 = grub_script_continue +@COND_i386_pc_TRUE@am__append_2620 = grub_script_continue +@COND_i386_pc_TRUE@am__append_2621 = tests/grub_script_continue.in +@COND_i386_efi_TRUE@am__append_2622 = grub_script_continue +@COND_i386_efi_TRUE@am__append_2623 = grub_script_continue +@COND_i386_efi_TRUE@am__append_2624 = grub_script_continue +@COND_i386_efi_TRUE@am__append_2625 = tests/grub_script_continue.in +@COND_i386_qemu_TRUE@am__append_2626 = grub_script_continue +@COND_i386_qemu_TRUE@am__append_2627 = grub_script_continue +@COND_i386_qemu_TRUE@am__append_2628 = grub_script_continue +@COND_i386_qemu_TRUE@am__append_2629 = tests/grub_script_continue.in +@COND_i386_coreboot_TRUE@am__append_2630 = grub_script_continue +@COND_i386_coreboot_TRUE@am__append_2631 = grub_script_continue +@COND_i386_coreboot_TRUE@am__append_2632 = grub_script_continue +@COND_i386_coreboot_TRUE@am__append_2633 = tests/grub_script_continue.in +@COND_i386_multiboot_TRUE@am__append_2634 = grub_script_continue +@COND_i386_multiboot_TRUE@am__append_2635 = grub_script_continue +@COND_i386_multiboot_TRUE@am__append_2636 = grub_script_continue +@COND_i386_multiboot_TRUE@am__append_2637 = tests/grub_script_continue.in +@COND_i386_ieee1275_TRUE@am__append_2638 = grub_script_continue +@COND_i386_ieee1275_TRUE@am__append_2639 = grub_script_continue +@COND_i386_ieee1275_TRUE@am__append_2640 = grub_script_continue +@COND_i386_ieee1275_TRUE@am__append_2641 = tests/grub_script_continue.in +@COND_x86_64_efi_TRUE@am__append_2642 = grub_script_continue +@COND_x86_64_efi_TRUE@am__append_2643 = grub_script_continue +@COND_x86_64_efi_TRUE@am__append_2644 = grub_script_continue +@COND_x86_64_efi_TRUE@am__append_2645 = tests/grub_script_continue.in +@COND_mips_yeeloong_TRUE@am__append_2646 = grub_script_continue +@COND_mips_yeeloong_TRUE@am__append_2647 = grub_script_continue +@COND_mips_yeeloong_TRUE@am__append_2648 = grub_script_continue +@COND_mips_yeeloong_TRUE@am__append_2649 = tests/grub_script_continue.in +@COND_sparc64_ieee1275_TRUE@am__append_2650 = grub_script_continue +@COND_sparc64_ieee1275_TRUE@am__append_2651 = grub_script_continue +@COND_sparc64_ieee1275_TRUE@am__append_2652 = grub_script_continue +@COND_sparc64_ieee1275_TRUE@am__append_2653 = tests/grub_script_continue.in +@COND_powerpc_ieee1275_TRUE@am__append_2654 = grub_script_continue +@COND_powerpc_ieee1275_TRUE@am__append_2655 = grub_script_continue +@COND_powerpc_ieee1275_TRUE@am__append_2656 = grub_script_continue +@COND_powerpc_ieee1275_TRUE@am__append_2657 = tests/grub_script_continue.in +@COND_emu_TRUE@am__append_2658 = grub_script_shift +@COND_emu_TRUE@am__append_2659 = grub_script_shift +@COND_emu_TRUE@am__append_2660 = grub_script_shift +@COND_emu_TRUE@am__append_2661 = tests/grub_script_shift.in +@COND_i386_pc_TRUE@am__append_2662 = grub_script_shift +@COND_i386_pc_TRUE@am__append_2663 = grub_script_shift +@COND_i386_pc_TRUE@am__append_2664 = grub_script_shift +@COND_i386_pc_TRUE@am__append_2665 = tests/grub_script_shift.in +@COND_i386_efi_TRUE@am__append_2666 = grub_script_shift +@COND_i386_efi_TRUE@am__append_2667 = grub_script_shift +@COND_i386_efi_TRUE@am__append_2668 = grub_script_shift +@COND_i386_efi_TRUE@am__append_2669 = tests/grub_script_shift.in +@COND_i386_qemu_TRUE@am__append_2670 = grub_script_shift +@COND_i386_qemu_TRUE@am__append_2671 = grub_script_shift +@COND_i386_qemu_TRUE@am__append_2672 = grub_script_shift +@COND_i386_qemu_TRUE@am__append_2673 = tests/grub_script_shift.in +@COND_i386_coreboot_TRUE@am__append_2674 = grub_script_shift +@COND_i386_coreboot_TRUE@am__append_2675 = grub_script_shift +@COND_i386_coreboot_TRUE@am__append_2676 = grub_script_shift +@COND_i386_coreboot_TRUE@am__append_2677 = tests/grub_script_shift.in +@COND_i386_multiboot_TRUE@am__append_2678 = grub_script_shift +@COND_i386_multiboot_TRUE@am__append_2679 = grub_script_shift +@COND_i386_multiboot_TRUE@am__append_2680 = grub_script_shift +@COND_i386_multiboot_TRUE@am__append_2681 = tests/grub_script_shift.in +@COND_i386_ieee1275_TRUE@am__append_2682 = grub_script_shift +@COND_i386_ieee1275_TRUE@am__append_2683 = grub_script_shift +@COND_i386_ieee1275_TRUE@am__append_2684 = grub_script_shift +@COND_i386_ieee1275_TRUE@am__append_2685 = tests/grub_script_shift.in +@COND_x86_64_efi_TRUE@am__append_2686 = grub_script_shift +@COND_x86_64_efi_TRUE@am__append_2687 = grub_script_shift +@COND_x86_64_efi_TRUE@am__append_2688 = grub_script_shift +@COND_x86_64_efi_TRUE@am__append_2689 = tests/grub_script_shift.in +@COND_mips_yeeloong_TRUE@am__append_2690 = grub_script_shift +@COND_mips_yeeloong_TRUE@am__append_2691 = grub_script_shift +@COND_mips_yeeloong_TRUE@am__append_2692 = grub_script_shift +@COND_mips_yeeloong_TRUE@am__append_2693 = tests/grub_script_shift.in +@COND_sparc64_ieee1275_TRUE@am__append_2694 = grub_script_shift +@COND_sparc64_ieee1275_TRUE@am__append_2695 = grub_script_shift +@COND_sparc64_ieee1275_TRUE@am__append_2696 = grub_script_shift +@COND_sparc64_ieee1275_TRUE@am__append_2697 = tests/grub_script_shift.in +@COND_powerpc_ieee1275_TRUE@am__append_2698 = grub_script_shift +@COND_powerpc_ieee1275_TRUE@am__append_2699 = grub_script_shift +@COND_powerpc_ieee1275_TRUE@am__append_2700 = grub_script_shift +@COND_powerpc_ieee1275_TRUE@am__append_2701 = tests/grub_script_shift.in +@COND_emu_TRUE@am__append_2702 = grub_script_blockarg +@COND_emu_TRUE@am__append_2703 = grub_script_blockarg +@COND_emu_TRUE@am__append_2704 = grub_script_blockarg +@COND_emu_TRUE@am__append_2705 = tests/grub_script_blockarg.in +@COND_i386_pc_TRUE@am__append_2706 = grub_script_blockarg +@COND_i386_pc_TRUE@am__append_2707 = grub_script_blockarg +@COND_i386_pc_TRUE@am__append_2708 = grub_script_blockarg +@COND_i386_pc_TRUE@am__append_2709 = tests/grub_script_blockarg.in +@COND_i386_efi_TRUE@am__append_2710 = grub_script_blockarg +@COND_i386_efi_TRUE@am__append_2711 = grub_script_blockarg +@COND_i386_efi_TRUE@am__append_2712 = grub_script_blockarg +@COND_i386_efi_TRUE@am__append_2713 = tests/grub_script_blockarg.in +@COND_i386_qemu_TRUE@am__append_2714 = grub_script_blockarg +@COND_i386_qemu_TRUE@am__append_2715 = grub_script_blockarg +@COND_i386_qemu_TRUE@am__append_2716 = grub_script_blockarg +@COND_i386_qemu_TRUE@am__append_2717 = tests/grub_script_blockarg.in +@COND_i386_coreboot_TRUE@am__append_2718 = grub_script_blockarg +@COND_i386_coreboot_TRUE@am__append_2719 = grub_script_blockarg +@COND_i386_coreboot_TRUE@am__append_2720 = grub_script_blockarg +@COND_i386_coreboot_TRUE@am__append_2721 = tests/grub_script_blockarg.in +@COND_i386_multiboot_TRUE@am__append_2722 = grub_script_blockarg +@COND_i386_multiboot_TRUE@am__append_2723 = grub_script_blockarg +@COND_i386_multiboot_TRUE@am__append_2724 = grub_script_blockarg +@COND_i386_multiboot_TRUE@am__append_2725 = tests/grub_script_blockarg.in +@COND_i386_ieee1275_TRUE@am__append_2726 = grub_script_blockarg +@COND_i386_ieee1275_TRUE@am__append_2727 = grub_script_blockarg +@COND_i386_ieee1275_TRUE@am__append_2728 = grub_script_blockarg +@COND_i386_ieee1275_TRUE@am__append_2729 = tests/grub_script_blockarg.in +@COND_x86_64_efi_TRUE@am__append_2730 = grub_script_blockarg +@COND_x86_64_efi_TRUE@am__append_2731 = grub_script_blockarg +@COND_x86_64_efi_TRUE@am__append_2732 = grub_script_blockarg +@COND_x86_64_efi_TRUE@am__append_2733 = tests/grub_script_blockarg.in +@COND_mips_yeeloong_TRUE@am__append_2734 = grub_script_blockarg +@COND_mips_yeeloong_TRUE@am__append_2735 = grub_script_blockarg +@COND_mips_yeeloong_TRUE@am__append_2736 = grub_script_blockarg +@COND_mips_yeeloong_TRUE@am__append_2737 = tests/grub_script_blockarg.in +@COND_sparc64_ieee1275_TRUE@am__append_2738 = grub_script_blockarg +@COND_sparc64_ieee1275_TRUE@am__append_2739 = grub_script_blockarg +@COND_sparc64_ieee1275_TRUE@am__append_2740 = grub_script_blockarg +@COND_sparc64_ieee1275_TRUE@am__append_2741 = tests/grub_script_blockarg.in +@COND_powerpc_ieee1275_TRUE@am__append_2742 = grub_script_blockarg +@COND_powerpc_ieee1275_TRUE@am__append_2743 = grub_script_blockarg +@COND_powerpc_ieee1275_TRUE@am__append_2744 = grub_script_blockarg +@COND_powerpc_ieee1275_TRUE@am__append_2745 = tests/grub_script_blockarg.in +@COND_emu_TRUE@am__append_2746 = grub_script_setparams +@COND_emu_TRUE@am__append_2747 = grub_script_setparams +@COND_emu_TRUE@am__append_2748 = grub_script_setparams +@COND_emu_TRUE@am__append_2749 = tests/grub_script_setparams.in +@COND_i386_pc_TRUE@am__append_2750 = grub_script_setparams +@COND_i386_pc_TRUE@am__append_2751 = grub_script_setparams +@COND_i386_pc_TRUE@am__append_2752 = grub_script_setparams +@COND_i386_pc_TRUE@am__append_2753 = tests/grub_script_setparams.in +@COND_i386_efi_TRUE@am__append_2754 = grub_script_setparams +@COND_i386_efi_TRUE@am__append_2755 = grub_script_setparams +@COND_i386_efi_TRUE@am__append_2756 = grub_script_setparams +@COND_i386_efi_TRUE@am__append_2757 = tests/grub_script_setparams.in +@COND_i386_qemu_TRUE@am__append_2758 = grub_script_setparams +@COND_i386_qemu_TRUE@am__append_2759 = grub_script_setparams +@COND_i386_qemu_TRUE@am__append_2760 = grub_script_setparams +@COND_i386_qemu_TRUE@am__append_2761 = tests/grub_script_setparams.in +@COND_i386_coreboot_TRUE@am__append_2762 = grub_script_setparams +@COND_i386_coreboot_TRUE@am__append_2763 = grub_script_setparams +@COND_i386_coreboot_TRUE@am__append_2764 = grub_script_setparams +@COND_i386_coreboot_TRUE@am__append_2765 = tests/grub_script_setparams.in +@COND_i386_multiboot_TRUE@am__append_2766 = grub_script_setparams +@COND_i386_multiboot_TRUE@am__append_2767 = grub_script_setparams +@COND_i386_multiboot_TRUE@am__append_2768 = grub_script_setparams +@COND_i386_multiboot_TRUE@am__append_2769 = tests/grub_script_setparams.in +@COND_i386_ieee1275_TRUE@am__append_2770 = grub_script_setparams +@COND_i386_ieee1275_TRUE@am__append_2771 = grub_script_setparams +@COND_i386_ieee1275_TRUE@am__append_2772 = grub_script_setparams +@COND_i386_ieee1275_TRUE@am__append_2773 = tests/grub_script_setparams.in +@COND_x86_64_efi_TRUE@am__append_2774 = grub_script_setparams +@COND_x86_64_efi_TRUE@am__append_2775 = grub_script_setparams +@COND_x86_64_efi_TRUE@am__append_2776 = grub_script_setparams +@COND_x86_64_efi_TRUE@am__append_2777 = tests/grub_script_setparams.in +@COND_mips_yeeloong_TRUE@am__append_2778 = grub_script_setparams +@COND_mips_yeeloong_TRUE@am__append_2779 = grub_script_setparams +@COND_mips_yeeloong_TRUE@am__append_2780 = grub_script_setparams +@COND_mips_yeeloong_TRUE@am__append_2781 = tests/grub_script_setparams.in +@COND_sparc64_ieee1275_TRUE@am__append_2782 = grub_script_setparams +@COND_sparc64_ieee1275_TRUE@am__append_2783 = grub_script_setparams +@COND_sparc64_ieee1275_TRUE@am__append_2784 = grub_script_setparams +@COND_sparc64_ieee1275_TRUE@am__append_2785 = tests/grub_script_setparams.in +@COND_powerpc_ieee1275_TRUE@am__append_2786 = grub_script_setparams +@COND_powerpc_ieee1275_TRUE@am__append_2787 = grub_script_setparams +@COND_powerpc_ieee1275_TRUE@am__append_2788 = grub_script_setparams +@COND_powerpc_ieee1275_TRUE@am__append_2789 = tests/grub_script_setparams.in +@COND_emu_TRUE@am__append_2790 = grub_script_return +@COND_emu_TRUE@am__append_2791 = grub_script_return +@COND_emu_TRUE@am__append_2792 = grub_script_return +@COND_emu_TRUE@am__append_2793 = tests/grub_script_return.in +@COND_i386_pc_TRUE@am__append_2794 = grub_script_return +@COND_i386_pc_TRUE@am__append_2795 = grub_script_return +@COND_i386_pc_TRUE@am__append_2796 = grub_script_return +@COND_i386_pc_TRUE@am__append_2797 = tests/grub_script_return.in +@COND_i386_efi_TRUE@am__append_2798 = grub_script_return +@COND_i386_efi_TRUE@am__append_2799 = grub_script_return +@COND_i386_efi_TRUE@am__append_2800 = grub_script_return +@COND_i386_efi_TRUE@am__append_2801 = tests/grub_script_return.in +@COND_i386_qemu_TRUE@am__append_2802 = grub_script_return +@COND_i386_qemu_TRUE@am__append_2803 = grub_script_return +@COND_i386_qemu_TRUE@am__append_2804 = grub_script_return +@COND_i386_qemu_TRUE@am__append_2805 = tests/grub_script_return.in +@COND_i386_coreboot_TRUE@am__append_2806 = grub_script_return +@COND_i386_coreboot_TRUE@am__append_2807 = grub_script_return +@COND_i386_coreboot_TRUE@am__append_2808 = grub_script_return +@COND_i386_coreboot_TRUE@am__append_2809 = tests/grub_script_return.in +@COND_i386_multiboot_TRUE@am__append_2810 = grub_script_return +@COND_i386_multiboot_TRUE@am__append_2811 = grub_script_return +@COND_i386_multiboot_TRUE@am__append_2812 = grub_script_return +@COND_i386_multiboot_TRUE@am__append_2813 = tests/grub_script_return.in +@COND_i386_ieee1275_TRUE@am__append_2814 = grub_script_return +@COND_i386_ieee1275_TRUE@am__append_2815 = grub_script_return +@COND_i386_ieee1275_TRUE@am__append_2816 = grub_script_return +@COND_i386_ieee1275_TRUE@am__append_2817 = tests/grub_script_return.in +@COND_x86_64_efi_TRUE@am__append_2818 = grub_script_return +@COND_x86_64_efi_TRUE@am__append_2819 = grub_script_return +@COND_x86_64_efi_TRUE@am__append_2820 = grub_script_return +@COND_x86_64_efi_TRUE@am__append_2821 = tests/grub_script_return.in +@COND_mips_yeeloong_TRUE@am__append_2822 = grub_script_return +@COND_mips_yeeloong_TRUE@am__append_2823 = grub_script_return +@COND_mips_yeeloong_TRUE@am__append_2824 = grub_script_return +@COND_mips_yeeloong_TRUE@am__append_2825 = tests/grub_script_return.in +@COND_sparc64_ieee1275_TRUE@am__append_2826 = grub_script_return +@COND_sparc64_ieee1275_TRUE@am__append_2827 = grub_script_return +@COND_sparc64_ieee1275_TRUE@am__append_2828 = grub_script_return +@COND_sparc64_ieee1275_TRUE@am__append_2829 = tests/grub_script_return.in +@COND_powerpc_ieee1275_TRUE@am__append_2830 = grub_script_return +@COND_powerpc_ieee1275_TRUE@am__append_2831 = grub_script_return +@COND_powerpc_ieee1275_TRUE@am__append_2832 = grub_script_return +@COND_powerpc_ieee1275_TRUE@am__append_2833 = tests/grub_script_return.in +@COND_emu_TRUE@am__append_2834 = grub_cmd_regexp +@COND_emu_TRUE@am__append_2835 = grub_cmd_regexp +@COND_emu_TRUE@am__append_2836 = grub_cmd_regexp +@COND_emu_TRUE@am__append_2837 = tests/grub_cmd_regexp.in +@COND_i386_pc_TRUE@am__append_2838 = grub_cmd_regexp +@COND_i386_pc_TRUE@am__append_2839 = grub_cmd_regexp +@COND_i386_pc_TRUE@am__append_2840 = grub_cmd_regexp +@COND_i386_pc_TRUE@am__append_2841 = tests/grub_cmd_regexp.in +@COND_i386_efi_TRUE@am__append_2842 = grub_cmd_regexp +@COND_i386_efi_TRUE@am__append_2843 = grub_cmd_regexp +@COND_i386_efi_TRUE@am__append_2844 = grub_cmd_regexp +@COND_i386_efi_TRUE@am__append_2845 = tests/grub_cmd_regexp.in +@COND_i386_qemu_TRUE@am__append_2846 = grub_cmd_regexp +@COND_i386_qemu_TRUE@am__append_2847 = grub_cmd_regexp +@COND_i386_qemu_TRUE@am__append_2848 = grub_cmd_regexp +@COND_i386_qemu_TRUE@am__append_2849 = tests/grub_cmd_regexp.in +@COND_i386_coreboot_TRUE@am__append_2850 = grub_cmd_regexp +@COND_i386_coreboot_TRUE@am__append_2851 = grub_cmd_regexp +@COND_i386_coreboot_TRUE@am__append_2852 = grub_cmd_regexp +@COND_i386_coreboot_TRUE@am__append_2853 = tests/grub_cmd_regexp.in +@COND_i386_multiboot_TRUE@am__append_2854 = grub_cmd_regexp +@COND_i386_multiboot_TRUE@am__append_2855 = grub_cmd_regexp +@COND_i386_multiboot_TRUE@am__append_2856 = grub_cmd_regexp +@COND_i386_multiboot_TRUE@am__append_2857 = tests/grub_cmd_regexp.in +@COND_i386_ieee1275_TRUE@am__append_2858 = grub_cmd_regexp +@COND_i386_ieee1275_TRUE@am__append_2859 = grub_cmd_regexp +@COND_i386_ieee1275_TRUE@am__append_2860 = grub_cmd_regexp +@COND_i386_ieee1275_TRUE@am__append_2861 = tests/grub_cmd_regexp.in +@COND_x86_64_efi_TRUE@am__append_2862 = grub_cmd_regexp +@COND_x86_64_efi_TRUE@am__append_2863 = grub_cmd_regexp +@COND_x86_64_efi_TRUE@am__append_2864 = grub_cmd_regexp +@COND_x86_64_efi_TRUE@am__append_2865 = tests/grub_cmd_regexp.in +@COND_mips_yeeloong_TRUE@am__append_2866 = grub_cmd_regexp +@COND_mips_yeeloong_TRUE@am__append_2867 = grub_cmd_regexp +@COND_mips_yeeloong_TRUE@am__append_2868 = grub_cmd_regexp +@COND_mips_yeeloong_TRUE@am__append_2869 = tests/grub_cmd_regexp.in +@COND_sparc64_ieee1275_TRUE@am__append_2870 = grub_cmd_regexp +@COND_sparc64_ieee1275_TRUE@am__append_2871 = grub_cmd_regexp +@COND_sparc64_ieee1275_TRUE@am__append_2872 = grub_cmd_regexp +@COND_sparc64_ieee1275_TRUE@am__append_2873 = tests/grub_cmd_regexp.in +@COND_powerpc_ieee1275_TRUE@am__append_2874 = grub_cmd_regexp +@COND_powerpc_ieee1275_TRUE@am__append_2875 = grub_cmd_regexp +@COND_powerpc_ieee1275_TRUE@am__append_2876 = grub_cmd_regexp +@COND_powerpc_ieee1275_TRUE@am__append_2877 = tests/grub_cmd_regexp.in +@COND_emu_TRUE@am__append_2878 = grub_script_expansion +@COND_emu_TRUE@am__append_2879 = grub_script_expansion +@COND_emu_TRUE@am__append_2880 = grub_script_expansion +@COND_emu_TRUE@am__append_2881 = tests/grub_script_expansion.in +@COND_i386_pc_TRUE@am__append_2882 = grub_script_expansion +@COND_i386_pc_TRUE@am__append_2883 = grub_script_expansion +@COND_i386_pc_TRUE@am__append_2884 = grub_script_expansion +@COND_i386_pc_TRUE@am__append_2885 = tests/grub_script_expansion.in +@COND_i386_efi_TRUE@am__append_2886 = grub_script_expansion +@COND_i386_efi_TRUE@am__append_2887 = grub_script_expansion +@COND_i386_efi_TRUE@am__append_2888 = grub_script_expansion +@COND_i386_efi_TRUE@am__append_2889 = tests/grub_script_expansion.in +@COND_i386_qemu_TRUE@am__append_2890 = grub_script_expansion +@COND_i386_qemu_TRUE@am__append_2891 = grub_script_expansion +@COND_i386_qemu_TRUE@am__append_2892 = grub_script_expansion +@COND_i386_qemu_TRUE@am__append_2893 = tests/grub_script_expansion.in +@COND_i386_coreboot_TRUE@am__append_2894 = grub_script_expansion +@COND_i386_coreboot_TRUE@am__append_2895 = grub_script_expansion +@COND_i386_coreboot_TRUE@am__append_2896 = grub_script_expansion +@COND_i386_coreboot_TRUE@am__append_2897 = tests/grub_script_expansion.in +@COND_i386_multiboot_TRUE@am__append_2898 = grub_script_expansion +@COND_i386_multiboot_TRUE@am__append_2899 = grub_script_expansion +@COND_i386_multiboot_TRUE@am__append_2900 = grub_script_expansion +@COND_i386_multiboot_TRUE@am__append_2901 = tests/grub_script_expansion.in +@COND_i386_ieee1275_TRUE@am__append_2902 = grub_script_expansion +@COND_i386_ieee1275_TRUE@am__append_2903 = grub_script_expansion +@COND_i386_ieee1275_TRUE@am__append_2904 = grub_script_expansion +@COND_i386_ieee1275_TRUE@am__append_2905 = tests/grub_script_expansion.in +@COND_x86_64_efi_TRUE@am__append_2906 = grub_script_expansion +@COND_x86_64_efi_TRUE@am__append_2907 = grub_script_expansion +@COND_x86_64_efi_TRUE@am__append_2908 = grub_script_expansion +@COND_x86_64_efi_TRUE@am__append_2909 = tests/grub_script_expansion.in +@COND_mips_yeeloong_TRUE@am__append_2910 = grub_script_expansion +@COND_mips_yeeloong_TRUE@am__append_2911 = grub_script_expansion +@COND_mips_yeeloong_TRUE@am__append_2912 = grub_script_expansion +@COND_mips_yeeloong_TRUE@am__append_2913 = tests/grub_script_expansion.in +@COND_sparc64_ieee1275_TRUE@am__append_2914 = grub_script_expansion +@COND_sparc64_ieee1275_TRUE@am__append_2915 = grub_script_expansion +@COND_sparc64_ieee1275_TRUE@am__append_2916 = grub_script_expansion +@COND_sparc64_ieee1275_TRUE@am__append_2917 = tests/grub_script_expansion.in +@COND_powerpc_ieee1275_TRUE@am__append_2918 = grub_script_expansion +@COND_powerpc_ieee1275_TRUE@am__append_2919 = grub_script_expansion +@COND_powerpc_ieee1275_TRUE@am__append_2920 = grub_script_expansion +@COND_powerpc_ieee1275_TRUE@am__append_2921 = tests/grub_script_expansion.in +@COND_emu_TRUE@am__append_2922 = grub_script_not +@COND_emu_TRUE@am__append_2923 = grub_script_not +@COND_emu_TRUE@am__append_2924 = grub_script_not +@COND_emu_TRUE@am__append_2925 = tests/grub_script_not.in +@COND_i386_pc_TRUE@am__append_2926 = grub_script_not +@COND_i386_pc_TRUE@am__append_2927 = grub_script_not +@COND_i386_pc_TRUE@am__append_2928 = grub_script_not +@COND_i386_pc_TRUE@am__append_2929 = tests/grub_script_not.in +@COND_i386_efi_TRUE@am__append_2930 = grub_script_not +@COND_i386_efi_TRUE@am__append_2931 = grub_script_not +@COND_i386_efi_TRUE@am__append_2932 = grub_script_not +@COND_i386_efi_TRUE@am__append_2933 = tests/grub_script_not.in +@COND_i386_qemu_TRUE@am__append_2934 = grub_script_not +@COND_i386_qemu_TRUE@am__append_2935 = grub_script_not +@COND_i386_qemu_TRUE@am__append_2936 = grub_script_not +@COND_i386_qemu_TRUE@am__append_2937 = tests/grub_script_not.in +@COND_i386_coreboot_TRUE@am__append_2938 = grub_script_not +@COND_i386_coreboot_TRUE@am__append_2939 = grub_script_not +@COND_i386_coreboot_TRUE@am__append_2940 = grub_script_not +@COND_i386_coreboot_TRUE@am__append_2941 = tests/grub_script_not.in +@COND_i386_multiboot_TRUE@am__append_2942 = grub_script_not +@COND_i386_multiboot_TRUE@am__append_2943 = grub_script_not +@COND_i386_multiboot_TRUE@am__append_2944 = grub_script_not +@COND_i386_multiboot_TRUE@am__append_2945 = tests/grub_script_not.in +@COND_i386_ieee1275_TRUE@am__append_2946 = grub_script_not +@COND_i386_ieee1275_TRUE@am__append_2947 = grub_script_not +@COND_i386_ieee1275_TRUE@am__append_2948 = grub_script_not +@COND_i386_ieee1275_TRUE@am__append_2949 = tests/grub_script_not.in +@COND_x86_64_efi_TRUE@am__append_2950 = grub_script_not +@COND_x86_64_efi_TRUE@am__append_2951 = grub_script_not +@COND_x86_64_efi_TRUE@am__append_2952 = grub_script_not +@COND_x86_64_efi_TRUE@am__append_2953 = tests/grub_script_not.in +@COND_mips_yeeloong_TRUE@am__append_2954 = grub_script_not +@COND_mips_yeeloong_TRUE@am__append_2955 = grub_script_not +@COND_mips_yeeloong_TRUE@am__append_2956 = grub_script_not +@COND_mips_yeeloong_TRUE@am__append_2957 = tests/grub_script_not.in +@COND_sparc64_ieee1275_TRUE@am__append_2958 = grub_script_not +@COND_sparc64_ieee1275_TRUE@am__append_2959 = grub_script_not +@COND_sparc64_ieee1275_TRUE@am__append_2960 = grub_script_not +@COND_sparc64_ieee1275_TRUE@am__append_2961 = tests/grub_script_not.in +@COND_powerpc_ieee1275_TRUE@am__append_2962 = grub_script_not +@COND_powerpc_ieee1275_TRUE@am__append_2963 = grub_script_not +@COND_powerpc_ieee1275_TRUE@am__append_2964 = grub_script_not +@COND_powerpc_ieee1275_TRUE@am__append_2965 = tests/grub_script_not.in +@COND_emu_TRUE@am__append_2966 = partmap_test +@COND_emu_TRUE@am__append_2967 = partmap_test +@COND_emu_TRUE@am__append_2968 = partmap_test +@COND_emu_TRUE@am__append_2969 = tests/partmap_test.in +@COND_i386_pc_TRUE@am__append_2970 = partmap_test +@COND_i386_pc_TRUE@am__append_2971 = partmap_test +@COND_i386_pc_TRUE@am__append_2972 = partmap_test +@COND_i386_pc_TRUE@am__append_2973 = tests/partmap_test.in +@COND_i386_efi_TRUE@am__append_2974 = partmap_test +@COND_i386_efi_TRUE@am__append_2975 = partmap_test +@COND_i386_efi_TRUE@am__append_2976 = partmap_test +@COND_i386_efi_TRUE@am__append_2977 = tests/partmap_test.in +@COND_i386_qemu_TRUE@am__append_2978 = partmap_test +@COND_i386_qemu_TRUE@am__append_2979 = partmap_test +@COND_i386_qemu_TRUE@am__append_2980 = partmap_test +@COND_i386_qemu_TRUE@am__append_2981 = tests/partmap_test.in +@COND_i386_coreboot_TRUE@am__append_2982 = partmap_test +@COND_i386_coreboot_TRUE@am__append_2983 = partmap_test +@COND_i386_coreboot_TRUE@am__append_2984 = partmap_test +@COND_i386_coreboot_TRUE@am__append_2985 = tests/partmap_test.in +@COND_i386_multiboot_TRUE@am__append_2986 = partmap_test +@COND_i386_multiboot_TRUE@am__append_2987 = partmap_test +@COND_i386_multiboot_TRUE@am__append_2988 = partmap_test +@COND_i386_multiboot_TRUE@am__append_2989 = tests/partmap_test.in +@COND_i386_ieee1275_TRUE@am__append_2990 = partmap_test +@COND_i386_ieee1275_TRUE@am__append_2991 = partmap_test +@COND_i386_ieee1275_TRUE@am__append_2992 = partmap_test +@COND_i386_ieee1275_TRUE@am__append_2993 = tests/partmap_test.in +@COND_x86_64_efi_TRUE@am__append_2994 = partmap_test +@COND_x86_64_efi_TRUE@am__append_2995 = partmap_test +@COND_x86_64_efi_TRUE@am__append_2996 = partmap_test +@COND_x86_64_efi_TRUE@am__append_2997 = tests/partmap_test.in +@COND_mips_yeeloong_TRUE@am__append_2998 = partmap_test +@COND_mips_yeeloong_TRUE@am__append_2999 = partmap_test +@COND_mips_yeeloong_TRUE@am__append_3000 = partmap_test +@COND_mips_yeeloong_TRUE@am__append_3001 = tests/partmap_test.in +@COND_sparc64_ieee1275_TRUE@am__append_3002 = partmap_test +@COND_sparc64_ieee1275_TRUE@am__append_3003 = partmap_test +@COND_sparc64_ieee1275_TRUE@am__append_3004 = partmap_test +@COND_sparc64_ieee1275_TRUE@am__append_3005 = tests/partmap_test.in +@COND_powerpc_ieee1275_TRUE@am__append_3006 = partmap_test +@COND_powerpc_ieee1275_TRUE@am__append_3007 = partmap_test +@COND_powerpc_ieee1275_TRUE@am__append_3008 = partmap_test +@COND_powerpc_ieee1275_TRUE@am__append_3009 = tests/partmap_test.in +@COND_emu_TRUE@am__append_3010 = grub_cmd_echo +@COND_emu_TRUE@am__append_3011 = grub_cmd_echo +@COND_emu_TRUE@am__append_3012 = grub_cmd_echo +@COND_emu_TRUE@am__append_3013 = tests/grub_cmd_echo.in +@COND_i386_pc_TRUE@am__append_3014 = grub_cmd_echo +@COND_i386_pc_TRUE@am__append_3015 = grub_cmd_echo +@COND_i386_pc_TRUE@am__append_3016 = grub_cmd_echo +@COND_i386_pc_TRUE@am__append_3017 = tests/grub_cmd_echo.in +@COND_i386_efi_TRUE@am__append_3018 = grub_cmd_echo +@COND_i386_efi_TRUE@am__append_3019 = grub_cmd_echo +@COND_i386_efi_TRUE@am__append_3020 = grub_cmd_echo +@COND_i386_efi_TRUE@am__append_3021 = tests/grub_cmd_echo.in +@COND_i386_qemu_TRUE@am__append_3022 = grub_cmd_echo +@COND_i386_qemu_TRUE@am__append_3023 = grub_cmd_echo +@COND_i386_qemu_TRUE@am__append_3024 = grub_cmd_echo +@COND_i386_qemu_TRUE@am__append_3025 = tests/grub_cmd_echo.in +@COND_i386_coreboot_TRUE@am__append_3026 = grub_cmd_echo +@COND_i386_coreboot_TRUE@am__append_3027 = grub_cmd_echo +@COND_i386_coreboot_TRUE@am__append_3028 = grub_cmd_echo +@COND_i386_coreboot_TRUE@am__append_3029 = tests/grub_cmd_echo.in +@COND_i386_multiboot_TRUE@am__append_3030 = grub_cmd_echo +@COND_i386_multiboot_TRUE@am__append_3031 = grub_cmd_echo +@COND_i386_multiboot_TRUE@am__append_3032 = grub_cmd_echo +@COND_i386_multiboot_TRUE@am__append_3033 = tests/grub_cmd_echo.in +@COND_i386_ieee1275_TRUE@am__append_3034 = grub_cmd_echo +@COND_i386_ieee1275_TRUE@am__append_3035 = grub_cmd_echo +@COND_i386_ieee1275_TRUE@am__append_3036 = grub_cmd_echo +@COND_i386_ieee1275_TRUE@am__append_3037 = tests/grub_cmd_echo.in +@COND_x86_64_efi_TRUE@am__append_3038 = grub_cmd_echo +@COND_x86_64_efi_TRUE@am__append_3039 = grub_cmd_echo +@COND_x86_64_efi_TRUE@am__append_3040 = grub_cmd_echo +@COND_x86_64_efi_TRUE@am__append_3041 = tests/grub_cmd_echo.in +@COND_mips_yeeloong_TRUE@am__append_3042 = grub_cmd_echo +@COND_mips_yeeloong_TRUE@am__append_3043 = grub_cmd_echo +@COND_mips_yeeloong_TRUE@am__append_3044 = grub_cmd_echo +@COND_mips_yeeloong_TRUE@am__append_3045 = tests/grub_cmd_echo.in +@COND_sparc64_ieee1275_TRUE@am__append_3046 = grub_cmd_echo +@COND_sparc64_ieee1275_TRUE@am__append_3047 = grub_cmd_echo +@COND_sparc64_ieee1275_TRUE@am__append_3048 = grub_cmd_echo +@COND_sparc64_ieee1275_TRUE@am__append_3049 = tests/grub_cmd_echo.in +@COND_powerpc_ieee1275_TRUE@am__append_3050 = grub_cmd_echo +@COND_powerpc_ieee1275_TRUE@am__append_3051 = grub_cmd_echo +@COND_powerpc_ieee1275_TRUE@am__append_3052 = grub_cmd_echo +@COND_powerpc_ieee1275_TRUE@am__append_3053 = tests/grub_cmd_echo.in +@COND_emu_TRUE@am__append_3054 = util/grub.d/README +@COND_emu_TRUE@am__append_3055 = util/grub.d/README +@COND_i386_pc_TRUE@am__append_3056 = util/grub.d/README +@COND_i386_pc_TRUE@am__append_3057 = util/grub.d/README +@COND_i386_efi_TRUE@am__append_3058 = util/grub.d/README +@COND_i386_efi_TRUE@am__append_3059 = util/grub.d/README +@COND_i386_qemu_TRUE@am__append_3060 = util/grub.d/README +@COND_i386_qemu_TRUE@am__append_3061 = util/grub.d/README +@COND_i386_coreboot_TRUE@am__append_3062 = util/grub.d/README +@COND_i386_coreboot_TRUE@am__append_3063 = util/grub.d/README +@COND_i386_multiboot_TRUE@am__append_3064 = util/grub.d/README +@COND_i386_multiboot_TRUE@am__append_3065 = util/grub.d/README +@COND_i386_ieee1275_TRUE@am__append_3066 = util/grub.d/README +@COND_i386_ieee1275_TRUE@am__append_3067 = util/grub.d/README +@COND_x86_64_efi_TRUE@am__append_3068 = util/grub.d/README +@COND_x86_64_efi_TRUE@am__append_3069 = util/grub.d/README +@COND_mips_yeeloong_TRUE@am__append_3070 = util/grub.d/README +@COND_mips_yeeloong_TRUE@am__append_3071 = util/grub.d/README +@COND_sparc64_ieee1275_TRUE@am__append_3072 = util/grub.d/README +@COND_sparc64_ieee1275_TRUE@am__append_3073 = util/grub.d/README +@COND_powerpc_ieee1275_TRUE@am__append_3074 = util/grub.d/README +@COND_powerpc_ieee1275_TRUE@am__append_3075 = util/grub.d/README + +#pc chainloader by definition is only for i386-pc +#ntldr and bootmgr require BIOS. +#legacy protocol makes early BIOS calls. +# Crashes early on non-BIOS +@COND_i386_pc_TRUE@am__append_3076 = bootcheck-pc-chainloader \ +@COND_i386_pc_TRUE@ bootcheck-ntldr bootcheck-linux16-i386 \ +@COND_i386_pc_TRUE@ bootcheck-linux16-x86_64 \ +@COND_i386_pc_TRUE@ bootcheck-knetbsd-i386 + +# Crashes because memory at 0-0x1000 is occupied +@COND_i386_coreboot_FALSE@am__append_3077 = bootcheck-knetbsd-x86_64 + +# Likewise and require ACPI. +@COND_i386_coreboot_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_qemu_FALSE@am__append_3078 = bootcheck-kfreebsd-x86_64 \ +@COND_i386_coreboot_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_qemu_FALSE@ bootcheck-kfreebsd-i386 +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/argp.m4 \ + $(top_srcdir)/m4/asm-underscore.m4 $(top_srcdir)/m4/btowc.m4 \ + $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/dirname.m4 \ + $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \ + $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ + $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fcntl-o.m4 \ + $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fnmatch.m4 \ + $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getline.m4 \ + $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gnulib-common.m4 \ + $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/include_next.m4 \ + $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ + $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/langinfo_h.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ + $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/malloc.m4 \ + $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ + $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \ + $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/rawmemchr.m4 \ + $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ + $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stdbool.m4 \ + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ + $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ + $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \ + $(top_srcdir)/m4/strchrnul.m4 $(top_srcdir)/m4/strerror.m4 \ + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ + $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ + $(top_srcdir)/m4/sys_wait_h.m4 $(top_srcdir)/m4/sysexits.m4 \ + $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/vasnprintf.m4 \ + $(top_srcdir)/m4/vsnprintf.m4 $(top_srcdir)/m4/warn-on-use.m4 \ + $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ + $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ + $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config-util.h +CONFIG_CLEAN_FILES = stamp-h config.h include/grub/cpu \ + include/grub/machine +CONFIG_CLEAN_VPATH_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +libgrubkern_a_AR = $(AR) $(ARFLAGS) +libgrubkern_a_LIBADD = +am__libgrubkern_a_SOURCES_DIST = util/misc.c grub-core/kern/command.c \ + grub-core/kern/device.c grub-core/kern/disk.c \ + grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c \ + grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c \ + grub-core/kern/env.c grub-core/kern/err.c \ + grub-core/kern/file.c grub-core/kern/fs.c \ + grub-core/kern/list.c grub-core/kern/misc.c \ + grub-core/kern/partition.c +am__dirstamp = $(am__leading_dot)dirstamp +@COND_emu_TRUE@am__objects_1 = util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_i386_pc_TRUE@am__objects_2 = util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_i386_efi_TRUE@am__objects_3 = util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_i386_qemu_TRUE@am__objects_4 = \ +@COND_i386_qemu_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_i386_coreboot_TRUE@am__objects_5 = \ +@COND_i386_coreboot_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_i386_multiboot_TRUE@am__objects_6 = \ +@COND_i386_multiboot_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_i386_ieee1275_TRUE@am__objects_7 = \ +@COND_i386_ieee1275_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_x86_64_efi_TRUE@am__objects_8 = \ +@COND_x86_64_efi_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_mips_yeeloong_TRUE@am__objects_9 = \ +@COND_mips_yeeloong_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_sparc64_ieee1275_TRUE@am__objects_10 = \ +@COND_sparc64_ieee1275_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +@COND_powerpc_ieee1275_TRUE@am__objects_11 = \ +@COND_powerpc_ieee1275_TRUE@ util/libgrubkern_a-misc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-command.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-device.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-disk.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-env.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-err.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-file.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-fs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-list.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-misc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/kern/libgrubkern_a-partition.$(OBJEXT) +am_libgrubkern_a_OBJECTS = $(am__objects_1) $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ + $(am__objects_9) $(am__objects_10) $(am__objects_11) +am__objects_12 = +nodist_libgrubkern_a_OBJECTS = $(am__objects_12) $(am__objects_12) \ + $(am__objects_12) $(am__objects_12) $(am__objects_12) \ + $(am__objects_12) $(am__objects_12) $(am__objects_12) \ + $(am__objects_12) $(am__objects_12) $(am__objects_12) +libgrubkern_a_OBJECTS = $(am_libgrubkern_a_OBJECTS) \ + $(nodist_libgrubkern_a_OBJECTS) +libgrubmods_a_AR = $(AR) $(ARFLAGS) +libgrubmods_a_LIBADD = +am__libgrubmods_a_SOURCES_DIST = grub-core/commands/blocklist.c \ + grub-core/commands/extcmd.c grub-core/commands/ls.c \ + grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c \ + grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c \ + grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c \ + grub-core/disk/raid6_recover.c grub-core/disk/raid.c \ + grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c \ + grub-core/fs/befs_be.c grub-core/fs/befs.c \ + grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c \ + grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c \ + grub-core/fs/hfsplus.c grub-core/fs/iso9660.c \ + grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c \ + grub-core/fs/nilfs2.c grub-core/fs/ntfs.c \ + grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c \ + grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c \ + grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c \ + grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c \ + grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c \ + grub-core/lib/arg.c grub-core/lib/crypto.c \ + grub-core/lib/envblk.c grub-core/lib/hexdump.c \ + grub-core/lib/libgcrypt-grub/cipher/sha512.c \ + grub-core/lib/libgcrypt-grub/cipher/crc.c \ + grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c \ + grub-core/lib/pbkdf2.c grub-core/lib/crc.c \ + grub-core/normal/datetime.c grub-core/normal/misc.c \ + grub-core/partmap/acorn.c grub-core/partmap/amiga.c \ + grub-core/partmap/apple.c grub-core/partmap/gpt.c \ + grub-core/partmap/msdos.c grub-core/partmap/sun.c \ + grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c \ + grub-core/script/function.c grub-core/script/lexer.c \ + grub-core/script/main.c grub-core/script/script.c \ + grub-core/script/argv.c grub-core/io/gzio.c +@COND_emu_TRUE@am__objects_13 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_i386_pc_TRUE@am__objects_14 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_i386_efi_TRUE@am__objects_15 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_i386_efi_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_i386_qemu_TRUE@am__objects_16 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_i386_coreboot_TRUE@am__objects_17 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_i386_multiboot_TRUE@am__objects_18 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_i386_ieee1275_TRUE@am__objects_19 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_x86_64_efi_TRUE@am__objects_20 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_mips_yeeloong_TRUE@am__objects_21 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_sparc64_ieee1275_TRUE@am__objects_22 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +@COND_powerpc_ieee1275_TRUE@am__objects_23 = grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/commands/libgrubmods_a-ls.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/disk/libgrubmods_a-raid.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-affs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-afs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-befs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-fat.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-minix.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-tar.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-udf.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-arg.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/lib/libgrubmods_a-crc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/normal/libgrubmods_a-misc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/libgrubmods_a-function.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/libgrubmods_a-lexer.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/libgrubmods_a-main.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/libgrubmods_a-script.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/script/libgrubmods_a-argv.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ grub-core/io/libgrubmods_a-gzio.$(OBJEXT) +am_libgrubmods_a_OBJECTS = $(am__objects_13) $(am__objects_14) \ + $(am__objects_15) $(am__objects_16) $(am__objects_17) \ + $(am__objects_18) $(am__objects_19) $(am__objects_20) \ + $(am__objects_21) $(am__objects_22) $(am__objects_23) +@COND_emu_TRUE@am__objects_24 = \ +@COND_emu_TRUE@ libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_emu_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_emu_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_i386_pc_TRUE@am__objects_25 = \ +@COND_i386_pc_TRUE@ libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_i386_pc_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_i386_pc_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_i386_efi_TRUE@am__objects_26 = \ +@COND_i386_efi_TRUE@ libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_i386_efi_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_i386_efi_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_i386_qemu_TRUE@am__objects_27 = \ +@COND_i386_qemu_TRUE@ libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_i386_qemu_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_i386_coreboot_TRUE@am__objects_28 = libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_i386_multiboot_TRUE@am__objects_29 = libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_i386_multiboot_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_i386_ieee1275_TRUE@am__objects_30 = libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_i386_ieee1275_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_x86_64_efi_TRUE@am__objects_31 = \ +@COND_x86_64_efi_TRUE@ libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_x86_64_efi_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_mips_yeeloong_TRUE@am__objects_32 = libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_sparc64_ieee1275_TRUE@am__objects_33 = libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +@COND_powerpc_ieee1275_TRUE@am__objects_34 = libgrubmods_a-grub_script.tab.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ libgrubmods_a-grub_script.yy.$(OBJEXT) \ +@COND_powerpc_ieee1275_TRUE@ libgrubmods_a-libgrub_a_init.$(OBJEXT) +nodist_libgrubmods_a_OBJECTS = $(am__objects_24) $(am__objects_25) \ + $(am__objects_26) $(am__objects_27) $(am__objects_28) \ + $(am__objects_29) $(am__objects_30) $(am__objects_31) \ + $(am__objects_32) $(am__objects_33) $(am__objects_34) +libgrubmods_a_OBJECTS = $(am_libgrubmods_a_OBJECTS) \ + $(nodist_libgrubmods_a_OBJECTS) +@COND_emu_TRUE@am__EXEEXT_1 = grub-bin2h$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_2 = grub-bin2h$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_3 = grub-bin2h$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_4 = grub-bin2h$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_5 = grub-bin2h$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_6 = grub-bin2h$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_7 = grub-bin2h$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_8 = grub-bin2h$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_9 = grub-bin2h$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_10 = grub-bin2h$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_11 = grub-bin2h$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_12 = grub-mkimage$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_13 = grub-mkimage$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_14 = grub-mkimage$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_15 = grub-mkimage$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_16 = grub-mkimage$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_17 = grub-mkimage$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_18 = grub-mkimage$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_19 = grub-mkimage$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_20 = grub-mkimage$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_21 = grub-mkimage$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_22 = grub-mkimage$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_23 = grub-mkrelpath$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_24 = grub-mkrelpath$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_25 = grub-mkrelpath$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_26 = grub-mkrelpath$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_27 = grub-mkrelpath$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_28 = grub-mkrelpath$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_29 = grub-mkrelpath$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_30 = grub-mkrelpath$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_31 = grub-mkrelpath$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_32 = grub-mkrelpath$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_33 = grub-mkrelpath$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_34 = grub-script-check$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_35 = grub-script-check$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_36 = grub-script-check$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_37 = grub-script-check$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_38 = grub-script-check$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_39 = grub-script-check$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_40 = grub-script-check$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_41 = grub-script-check$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_42 = grub-script-check$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_43 = \ +@COND_sparc64_ieee1275_TRUE@ grub-script-check$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_44 = \ +@COND_powerpc_ieee1275_TRUE@ grub-script-check$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_45 = grub-editenv$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_46 = grub-editenv$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_47 = grub-editenv$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_48 = grub-editenv$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_49 = grub-editenv$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_50 = grub-editenv$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_51 = grub-editenv$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_52 = grub-editenv$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_53 = grub-editenv$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_54 = grub-editenv$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_55 = grub-editenv$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_56 = grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_57 = grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_58 = grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_59 = grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_60 = \ +@COND_i386_coreboot_TRUE@ grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_61 = \ +@COND_i386_multiboot_TRUE@ grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_62 = \ +@COND_i386_ieee1275_TRUE@ grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_63 = grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_64 = \ +@COND_mips_yeeloong_TRUE@ grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_65 = \ +@COND_sparc64_ieee1275_TRUE@ grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_66 = \ +@COND_powerpc_ieee1275_TRUE@ grub-mkpasswd-pbkdf2$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@am__EXEEXT_67 = \ +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@ grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@am__EXEEXT_68 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@am__EXEEXT_69 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@am__EXEEXT_70 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@am__EXEEXT_71 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@am__EXEEXT_72 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@am__EXEEXT_73 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@am__EXEEXT_74 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@am__EXEEXT_75 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@am__EXEEXT_76 = grub-macho2img$(EXEEXT) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@am__EXEEXT_77 = grub-macho2img$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@am__EXEEXT_78 = \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@ grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@am__EXEEXT_79 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@am__EXEEXT_80 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@am__EXEEXT_81 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@am__EXEEXT_82 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@am__EXEEXT_83 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@am__EXEEXT_84 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@am__EXEEXT_85 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@am__EXEEXT_86 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@am__EXEEXT_87 = grub-pe2elf$(EXEEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@am__EXEEXT_88 = grub-pe2elf$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_89 = grub-fstest$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_90 = grub-fstest$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_91 = grub-fstest$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_92 = grub-fstest$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_93 = grub-fstest$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_94 = grub-fstest$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_95 = grub-fstest$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_96 = grub-fstest$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_97 = grub-fstest$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_98 = grub-fstest$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_99 = grub-fstest$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@am__EXEEXT_100 = \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@am__EXEEXT_101 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@am__EXEEXT_102 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@am__EXEEXT_103 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@am__EXEEXT_104 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@am__EXEEXT_105 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@am__EXEEXT_106 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@am__EXEEXT_107 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@am__EXEEXT_108 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@am__EXEEXT_109 = grub-mkfont$(EXEEXT) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@am__EXEEXT_110 = grub-mkfont$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_111 = grub-mklayout$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_112 = grub-mklayout$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_113 = grub-mklayout$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_114 = grub-mklayout$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_115 = grub-mklayout$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_116 = grub-mklayout$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_117 = grub-mklayout$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_118 = grub-mklayout$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_119 = grub-mklayout$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_120 = grub-mklayout$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_121 = grub-mklayout$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_122 = grub-menulst2cfg$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_123 = grub-menulst2cfg$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_124 = grub-menulst2cfg$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_125 = grub-menulst2cfg$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_126 = grub-menulst2cfg$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_127 = grub-menulst2cfg$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_128 = grub-menulst2cfg$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_129 = grub-menulst2cfg$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_130 = grub-menulst2cfg$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_131 = \ +@COND_sparc64_ieee1275_TRUE@ grub-menulst2cfg$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_132 = \ +@COND_powerpc_ieee1275_TRUE@ grub-menulst2cfg$(EXEEXT) +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \ + "$(DESTDIR)$(bindir)" "$(DESTDIR)$(grubconfdir)" \ + "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)" \ + "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" \ + "$(DESTDIR)$(grubconfdir)" "$(DESTDIR)$(grubdatadir)" \ + "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(platformdir)" \ + "$(DESTDIR)$(platformdir)" +@COND_emu_TRUE@am__EXEEXT_133 = example_unit_test$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_134 = example_unit_test$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_135 = example_unit_test$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_136 = example_unit_test$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_137 = example_unit_test$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_138 = example_unit_test$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_139 = example_unit_test$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_140 = example_unit_test$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_141 = example_unit_test$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_142 = \ +@COND_sparc64_ieee1275_TRUE@ example_unit_test$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_143 = \ +@COND_powerpc_ieee1275_TRUE@ example_unit_test$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_144 = grub-mkdevicemap$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_145 = grub-mkdevicemap$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_146 = grub-mkdevicemap$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_147 = grub-mkdevicemap$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_148 = grub-mkdevicemap$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_149 = grub-mkdevicemap$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_150 = grub-mkdevicemap$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_151 = grub-mkdevicemap$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_152 = grub-mkdevicemap$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_153 = \ +@COND_sparc64_ieee1275_TRUE@ grub-mkdevicemap$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_154 = \ +@COND_powerpc_ieee1275_TRUE@ grub-mkdevicemap$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_155 = grub-probe$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_156 = grub-probe$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_157 = grub-probe$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_158 = grub-probe$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_159 = grub-probe$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_160 = grub-probe$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_161 = grub-probe$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_162 = grub-probe$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_163 = grub-probe$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_164 = grub-probe$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_165 = grub-probe$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_166 = grub-setup$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_167 = grub-setup$(EXEEXT) \ +@COND_sparc64_ieee1275_TRUE@ grub-ofpathname$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS) +am__example_unit_test_SOURCES_DIST = tests/example_unit_test.c \ + tests/lib/unit_test.c grub-core/kern/list.c \ + grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +@COND_emu_TRUE@am_example_unit_test_OBJECTS = tests/example_unit_test-example_unit_test.$(OBJEXT) \ +@COND_emu_TRUE@ tests/lib/example_unit_test-unit_test.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/example_unit_test-list.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/example_unit_test-misc.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/tests/lib/example_unit_test-test.$(OBJEXT) +nodist_example_unit_test_OBJECTS = +example_unit_test_OBJECTS = $(am_example_unit_test_OBJECTS) \ + $(nodist_example_unit_test_OBJECTS) +am__DEPENDENCIES_1 = +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@example_unit_test_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@example_unit_test_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +example_unit_test_LINK = $(CCLD) $(example_unit_test_CFLAGS) $(CFLAGS) \ + $(example_unit_test_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_bin2h_SOURCES_DIST = util/bin2h.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_bin2h_OBJECTS = util/grub_bin2h-bin2h.$(OBJEXT) +@COND_emu_TRUE@am_grub_bin2h_OBJECTS = \ +@COND_emu_TRUE@ util/grub_bin2h-bin2h.$(OBJEXT) +nodist_grub_bin2h_OBJECTS = +grub_bin2h_OBJECTS = $(am_grub_bin2h_OBJECTS) \ + $(nodist_grub_bin2h_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_bin2h_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_bin2h_DEPENDENCIES = libgrubmods.a libgrubkern.a \ +@COND_emu_TRUE@ grub-core/gnulib/libgnu.a $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_bin2h_LINK = $(CCLD) $(grub_bin2h_CFLAGS) $(CFLAGS) \ + $(grub_bin2h_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_editenv_SOURCES_DIST = util/grub-editenv.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_editenv_OBJECTS = util/grub_editenv-grub-editenv.$(OBJEXT) +@COND_emu_TRUE@am_grub_editenv_OBJECTS = \ +@COND_emu_TRUE@ util/grub_editenv-grub-editenv.$(OBJEXT) +nodist_grub_editenv_OBJECTS = +grub_editenv_OBJECTS = $(am_grub_editenv_OBJECTS) \ + $(nodist_grub_editenv_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_editenv_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_editenv_DEPENDENCIES = libgrubmods.a libgrubkern.a \ +@COND_emu_TRUE@ grub-core/gnulib/libgnu.a $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +grub_editenv_LINK = $(CCLD) $(grub_editenv_CFLAGS) $(CFLAGS) \ + $(grub_editenv_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_fstest_SOURCES_DIST = util/grub-fstest.c \ + grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_fstest_OBJECTS = util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_TRUE@am_grub_fstest_OBJECTS = \ +@COND_emu_TRUE@ util/grub_fstest-grub-fstest.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/disk/grub_fstest-host.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@nodist_grub_fstest_OBJECTS = grub_fstest-grub_fstest_init.$(OBJEXT) +@COND_emu_TRUE@nodist_grub_fstest_OBJECTS = \ +@COND_emu_TRUE@ grub_fstest-grub_fstest_init.$(OBJEXT) +grub_fstest_OBJECTS = $(am_grub_fstest_OBJECTS) \ + $(nodist_grub_fstest_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_fstest_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_fstest_DEPENDENCIES = libgrubmods.a libgrubkern.a \ +@COND_emu_TRUE@ grub-core/gnulib/libgnu.a $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +grub_fstest_LINK = $(CCLD) $(grub_fstest_CFLAGS) $(CFLAGS) \ + $(grub_fstest_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_macho2img_SOURCES_DIST = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@am_grub_macho2img_OBJECTS = util/grub_macho2img-grub-macho2img.$(OBJEXT) +nodist_grub_macho2img_OBJECTS = +grub_macho2img_OBJECTS = $(am_grub_macho2img_OBJECTS) \ + $(nodist_grub_macho2img_OBJECTS) +grub_macho2img_DEPENDENCIES = +grub_macho2img_LINK = $(CCLD) $(grub_macho2img_CFLAGS) $(CFLAGS) \ + $(grub_macho2img_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_menulst2cfg_SOURCES_DIST = util/grub-menulst2cfg.c \ + grub-core/lib/legacy_parse.c \ + grub-core/lib/i386/pc/vesa_modes_table.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +@COND_emu_TRUE@am_grub_menulst2cfg_OBJECTS = util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) \ +@COND_emu_TRUE@ grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) +nodist_grub_menulst2cfg_OBJECTS = +grub_menulst2cfg_OBJECTS = $(am_grub_menulst2cfg_OBJECTS) \ + $(nodist_grub_menulst2cfg_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_menulst2cfg_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_menulst2cfg_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_menulst2cfg_LINK = $(CCLD) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) \ + $(grub_menulst2cfg_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_mkdevicemap_SOURCES_DIST = util/devicemap.c \ + util/grub-mkdevicemap.c util/deviceiter.c \ + util/ieee1275/ofpath.c util/ieee1275/devicemap.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_mkdevicemap_OBJECTS = util/ieee1275/grub_mkdevicemap-ofpath.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ util/ieee1275/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_mkdevicemap_OBJECTS = util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +@COND_emu_TRUE@am_grub_mkdevicemap_OBJECTS = \ +@COND_emu_TRUE@ util/grub_mkdevicemap-devicemap.$(OBJEXT) \ +@COND_emu_TRUE@ util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) \ +@COND_emu_TRUE@ util/grub_mkdevicemap-deviceiter.$(OBJEXT) +nodist_grub_mkdevicemap_OBJECTS = +grub_mkdevicemap_OBJECTS = $(am_grub_mkdevicemap_OBJECTS) \ + $(nodist_grub_mkdevicemap_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_mkdevicemap_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_mkdevicemap_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +grub_mkdevicemap_LINK = $(CCLD) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) \ + $(grub_mkdevicemap_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_mkfont_SOURCES_DIST = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@am_grub_mkfont_OBJECTS = util/grub_mkfont-grub-mkfont.$(OBJEXT) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ grub-core/grub_mkfont-unidata.$(OBJEXT) +nodist_grub_mkfont_OBJECTS = +grub_mkfont_OBJECTS = $(am_grub_mkfont_OBJECTS) \ + $(nodist_grub_mkfont_OBJECTS) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_mkfont_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_DEPENDENCIES = \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ libgrubmods.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ libgrubkern.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_mkfont_LINK = $(CCLD) $(grub_mkfont_CFLAGS) $(CFLAGS) \ + $(grub_mkfont_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_mkimage_SOURCES_DIST = util/grub-mkimage.c util/resolve.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_mkimage_OBJECTS = util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +@COND_emu_TRUE@am_grub_mkimage_OBJECTS = \ +@COND_emu_TRUE@ util/grub_mkimage-grub-mkimage.$(OBJEXT) \ +@COND_emu_TRUE@ util/grub_mkimage-resolve.$(OBJEXT) +nodist_grub_mkimage_OBJECTS = +grub_mkimage_OBJECTS = $(am_grub_mkimage_OBJECTS) \ + $(nodist_grub_mkimage_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_mkimage_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_mkimage_DEPENDENCIES = libgrubmods.a libgrubkern.a \ +@COND_emu_TRUE@ grub-core/gnulib/libgnu.a $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_mkimage_LINK = $(CCLD) $(grub_mkimage_CFLAGS) $(CFLAGS) \ + $(grub_mkimage_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_mklayout_SOURCES_DIST = util/grub-mklayout.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_mklayout_OBJECTS = util/grub_mklayout-grub-mklayout.$(OBJEXT) +@COND_emu_TRUE@am_grub_mklayout_OBJECTS = \ +@COND_emu_TRUE@ util/grub_mklayout-grub-mklayout.$(OBJEXT) +nodist_grub_mklayout_OBJECTS = +grub_mklayout_OBJECTS = $(am_grub_mklayout_OBJECTS) \ + $(nodist_grub_mklayout_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_mklayout_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_mklayout_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_mklayout_LINK = $(CCLD) $(grub_mklayout_CFLAGS) $(CFLAGS) \ + $(grub_mklayout_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_mkpasswd_pbkdf2_SOURCES_DIST = util/grub-mkpasswd-pbkdf2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +@COND_emu_TRUE@am_grub_mkpasswd_pbkdf2_OBJECTS = util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) +nodist_grub_mkpasswd_pbkdf2_OBJECTS = +grub_mkpasswd_pbkdf2_OBJECTS = $(am_grub_mkpasswd_pbkdf2_OBJECTS) \ + $(nodist_grub_mkpasswd_pbkdf2_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_mkpasswd_pbkdf2_LINK = $(CCLD) $(grub_mkpasswd_pbkdf2_CFLAGS) \ + $(CFLAGS) $(grub_mkpasswd_pbkdf2_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_mkrelpath_SOURCES_DIST = util/grub-mkrelpath.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_mkrelpath_OBJECTS = util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +@COND_emu_TRUE@am_grub_mkrelpath_OBJECTS = \ +@COND_emu_TRUE@ util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) +nodist_grub_mkrelpath_OBJECTS = +grub_mkrelpath_OBJECTS = $(am_grub_mkrelpath_OBJECTS) \ + $(nodist_grub_mkrelpath_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_mkrelpath_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_mkrelpath_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_mkrelpath_LINK = $(CCLD) $(grub_mkrelpath_CFLAGS) $(CFLAGS) \ + $(grub_mkrelpath_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_ofpathname_SOURCES_DIST = util/ieee1275/grub-ofpathname.c \ + util/ieee1275/ofpath.c +@COND_sparc64_ieee1275_TRUE@am_grub_ofpathname_OBJECTS = util/ieee1275/grub_ofpathname-grub-ofpathname.$(OBJEXT) \ +@COND_sparc64_ieee1275_TRUE@ util/ieee1275/grub_ofpathname-ofpath.$(OBJEXT) +nodist_grub_ofpathname_OBJECTS = +grub_ofpathname_OBJECTS = $(am_grub_ofpathname_OBJECTS) \ + $(nodist_grub_ofpathname_OBJECTS) +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_DEPENDENCIES = \ +@COND_sparc64_ieee1275_TRUE@ libgrubmods.a libgrubkern.a \ +@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +grub_ofpathname_LINK = $(CCLD) $(grub_ofpathname_CFLAGS) $(CFLAGS) \ + $(grub_ofpathname_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_pe2elf_SOURCES_DIST = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@am_grub_pe2elf_OBJECTS = util/grub_pe2elf-grub-pe2elf.$(OBJEXT) +nodist_grub_pe2elf_OBJECTS = +grub_pe2elf_OBJECTS = $(am_grub_pe2elf_OBJECTS) \ + $(nodist_grub_pe2elf_OBJECTS) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_pe2elf_DEPENDENCIES = libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_DEPENDENCIES = \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@ libgrubmods.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@ libgrubkern.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_pe2elf_LINK = $(CCLD) $(grub_pe2elf_CFLAGS) $(CFLAGS) \ + $(grub_pe2elf_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_probe_SOURCES_DIST = util/grub-probe.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_probe_OBJECTS = util/grub_probe-grub-probe.$(OBJEXT) +@COND_emu_TRUE@am_grub_probe_OBJECTS = \ +@COND_emu_TRUE@ util/grub_probe-grub-probe.$(OBJEXT) +nodist_grub_probe_OBJECTS = +grub_probe_OBJECTS = $(am_grub_probe_OBJECTS) \ + $(nodist_grub_probe_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_probe_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_probe_DEPENDENCIES = libgrubmods.a libgrubkern.a \ +@COND_emu_TRUE@ grub-core/gnulib/libgnu.a $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_probe_LINK = $(CCLD) $(grub_probe_CFLAGS) $(CFLAGS) \ + $(grub_probe_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_script_check_SOURCES_DIST = util/grub-script-check.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +@COND_emu_TRUE@am_grub_script_check_OBJECTS = util/grub_script_check-grub-script-check.$(OBJEXT) +nodist_grub_script_check_OBJECTS = +grub_script_check_OBJECTS = $(am_grub_script_check_OBJECTS) \ + $(nodist_grub_script_check_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@grub_script_check_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubmods.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgrubkern.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ $(am__DEPENDENCIES_1) +@COND_emu_TRUE@grub_script_check_DEPENDENCIES = libgrubmods.a \ +@COND_emu_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_script_check_LINK = $(CCLD) $(grub_script_check_CFLAGS) $(CFLAGS) \ + $(grub_script_check_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_setup_SOURCES_DIST = util/grub-setup.c util/raid.c util/lvm.c \ + grub-core/lib/reed_solomon.c util/ieee1275/ofpath.c +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@am_grub_setup_OBJECTS = util/ieee1275/grub_setup-ofpath.$(OBJEXT) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ util/grub_setup-grub-setup.$(OBJEXT) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ util/grub_setup-raid.$(OBJEXT) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ util/grub_setup-lvm.$(OBJEXT) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/lib/grub_setup-reed_solomon.$(OBJEXT) +@COND_i386_pc_TRUE@am_grub_setup_OBJECTS = \ +@COND_i386_pc_TRUE@ util/grub_setup-grub-setup.$(OBJEXT) \ +@COND_i386_pc_TRUE@ util/grub_setup-raid.$(OBJEXT) \ +@COND_i386_pc_TRUE@ util/grub_setup-lvm.$(OBJEXT) \ +@COND_i386_pc_TRUE@ grub-core/lib/grub_setup-reed_solomon.$(OBJEXT) +nodist_grub_setup_OBJECTS = +grub_setup_OBJECTS = $(am_grub_setup_OBJECTS) \ + $(nodist_grub_setup_OBJECTS) +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@grub_setup_DEPENDENCIES = \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubmods.a \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ libgrubkern.a \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ grub-core/gnulib/libgnu.a \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) \ +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@ $(am__DEPENDENCIES_1) +@COND_i386_pc_TRUE@grub_setup_DEPENDENCIES = libgrubmods.a \ +@COND_i386_pc_TRUE@ libgrubkern.a grub-core/gnulib/libgnu.a \ +@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_i386_pc_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +grub_setup_LINK = $(CCLD) $(grub_setup_CFLAGS) $(CFLAGS) \ + $(grub_setup_LDFLAGS) $(LDFLAGS) -o $@ +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +SCRIPTS = $(bin_SCRIPTS) $(grubconf_SCRIPTS) $(noinst_SCRIPTS) \ + $(pkglib_SCRIPTS) $(sbin_SCRIPTS) +DEFAULT_INCLUDES = -I.@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libgrubkern_a_SOURCES) $(nodist_libgrubkern_a_SOURCES) \ + $(libgrubmods_a_SOURCES) $(nodist_libgrubmods_a_SOURCES) \ + $(example_unit_test_SOURCES) \ + $(nodist_example_unit_test_SOURCES) $(grub_bin2h_SOURCES) \ + $(nodist_grub_bin2h_SOURCES) $(grub_editenv_SOURCES) \ + $(nodist_grub_editenv_SOURCES) $(grub_fstest_SOURCES) \ + $(nodist_grub_fstest_SOURCES) $(grub_macho2img_SOURCES) \ + $(nodist_grub_macho2img_SOURCES) $(grub_menulst2cfg_SOURCES) \ + $(nodist_grub_menulst2cfg_SOURCES) $(grub_mkdevicemap_SOURCES) \ + $(nodist_grub_mkdevicemap_SOURCES) $(grub_mkfont_SOURCES) \ + $(nodist_grub_mkfont_SOURCES) $(grub_mkimage_SOURCES) \ + $(nodist_grub_mkimage_SOURCES) $(grub_mklayout_SOURCES) \ + $(nodist_grub_mklayout_SOURCES) \ + $(grub_mkpasswd_pbkdf2_SOURCES) \ + $(nodist_grub_mkpasswd_pbkdf2_SOURCES) \ + $(grub_mkrelpath_SOURCES) $(nodist_grub_mkrelpath_SOURCES) \ + $(grub_ofpathname_SOURCES) $(nodist_grub_ofpathname_SOURCES) \ + $(grub_pe2elf_SOURCES) $(nodist_grub_pe2elf_SOURCES) \ + $(grub_probe_SOURCES) $(nodist_grub_probe_SOURCES) \ + $(grub_script_check_SOURCES) \ + $(nodist_grub_script_check_SOURCES) $(grub_setup_SOURCES) \ + $(nodist_grub_setup_SOURCES) +DIST_SOURCES = $(am__libgrubkern_a_SOURCES_DIST) \ + $(am__libgrubmods_a_SOURCES_DIST) \ + $(am__example_unit_test_SOURCES_DIST) \ + $(am__grub_bin2h_SOURCES_DIST) \ + $(am__grub_editenv_SOURCES_DIST) \ + $(am__grub_fstest_SOURCES_DIST) \ + $(am__grub_macho2img_SOURCES_DIST) \ + $(am__grub_menulst2cfg_SOURCES_DIST) \ + $(am__grub_mkdevicemap_SOURCES_DIST) \ + $(am__grub_mkfont_SOURCES_DIST) \ + $(am__grub_mkimage_SOURCES_DIST) \ + $(am__grub_mklayout_SOURCES_DIST) \ + $(am__grub_mkpasswd_pbkdf2_SOURCES_DIST) \ + $(am__grub_mkrelpath_SOURCES_DIST) \ + $(am__grub_ofpathname_SOURCES_DIST) \ + $(am__grub_pe2elf_SOURCES_DIST) $(am__grub_probe_SOURCES_DIST) \ + $(am__grub_script_check_SOURCES_DIST) \ + $(am__grub_setup_SOURCES_DIST) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +man1dir = $(mandir)/man1 +man8dir = $(mandir)/man8 +NROFF = nroff +MANS = $(man_MANS) +am__dist_noinst_DATA_DIST = util/grub.d/00_header.in \ + util/grub.d/10_windows.in util/grub.d/10_hurd.in \ + util/grub.d/10_kfreebsd.in util/grub.d/10_netbsd.in \ + util/grub.d/10_linux.in util/grub.d/20_linux_xen.in \ + util/grub.d/30_os-prober.in util/grub.d/40_custom.in \ + util/grub.d/41_custom.in util/grub-mkrescue.in \ + util/powerpc/ieee1275/grub-mkrescue.in util/grub-install.in \ + util/grub-mknetdir.in util/grub-mkconfig.in \ + util/grub-set-default.in util/grub-reboot.in \ + util/grub-mkconfig_lib.in util/update-grub_lib.in \ + util/grub-kbdcomp.in tests/util/grub-shell.in \ + tests/util/grub-shell-tester.in tests/example_scripted_test.in \ + tests/example_grub_script_test.in tests/grub_script_echo1.in \ + tests/grub_script_echo_keywords.in tests/grub_script_vars1.in \ + tests/grub_script_for1.in tests/grub_script_while1.in \ + tests/grub_script_if.in tests/grub_script_blanklines.in \ + tests/grub_script_final_semicolon.in \ + tests/grub_script_dollar.in tests/grub_script_comments.in \ + tests/grub_script_functions.in tests/grub_script_break.in \ + tests/grub_script_continue.in tests/grub_script_shift.in \ + tests/grub_script_blockarg.in tests/grub_script_setparams.in \ + tests/grub_script_return.in tests/grub_cmd_regexp.in \ + tests/grub_script_expansion.in tests/grub_script_not.in \ + tests/partmap_test.in tests/grub_cmd_echo.in +DATA = $(dist_noinst_DATA) $(grubconf_DATA) $(grubdata_DATA) \ + $(noinst_DATA) $(pkglib_DATA) $(platform_DATA) +HEADERS = $(platform_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir dist dist-all distcheck +ETAGS = etags +CTAGS = ctags +am__tty_colors = \ +red=; grn=; lgn=; blu=; std= +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d "$(distdir)" \ + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr "$(distdir)"; }; } +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ADDR32 = @ADDR32@ +ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ +AMTAR = @AMTAR@ +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ +ASM_SYMBOL_PREFIX = @ASM_SYMBOL_PREFIX@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +BSS_START_SYMBOL = @BSS_START_SYMBOL@ +BUILD_CC = @BUILD_CC@ +CC = @CC@ +CCAS = @CCAS@ +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CMP = @CMP@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATA32 = @DATA32@ +DEFS = @DEFS@ +DEPDIR = .deps-util +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ +EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ +END_SYMBOL = @END_SYMBOL@ +ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ +ENOLINK_VALUE = @ENOLINK_VALUE@ +EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ +EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ +ERRNO_H = @ERRNO_H@ +EXEEXT = @EXEEXT@ +FLOAT_H = @FLOAT_H@ +FNMATCH_H = @FNMATCH_H@ +FONT_SOURCE = @FONT_SOURCE@ +FREETYPE = @FREETYPE@ +GETOPT_H = @GETOPT_H@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GNULIB_ATOLL = @GNULIB_ATOLL@ +GNULIB_BTOWC = @GNULIB_BTOWC@ +GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ +GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ +GNULIB_CHOWN = @GNULIB_CHOWN@ +GNULIB_CLOSE = @GNULIB_CLOSE@ +GNULIB_DPRINTF = @GNULIB_DPRINTF@ +GNULIB_DUP2 = @GNULIB_DUP2@ +GNULIB_DUP3 = @GNULIB_DUP3@ +GNULIB_ENVIRON = @GNULIB_ENVIRON@ +GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ +GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ +GNULIB_FCHDIR = @GNULIB_FCHDIR@ +GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ +GNULIB_FCLOSE = @GNULIB_FCLOSE@ +GNULIB_FFLUSH = @GNULIB_FFLUSH@ +GNULIB_FOPEN = @GNULIB_FOPEN@ +GNULIB_FPRINTF = @GNULIB_FPRINTF@ +GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ +GNULIB_FPURGE = @GNULIB_FPURGE@ +GNULIB_FPUTC = @GNULIB_FPUTC@ +GNULIB_FPUTS = @GNULIB_FPUTS@ +GNULIB_FREOPEN = @GNULIB_FREOPEN@ +GNULIB_FSEEK = @GNULIB_FSEEK@ +GNULIB_FSEEKO = @GNULIB_FSEEKO@ +GNULIB_FSYNC = @GNULIB_FSYNC@ +GNULIB_FTELL = @GNULIB_FTELL@ +GNULIB_FTELLO = @GNULIB_FTELLO@ +GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ +GNULIB_FWRITE = @GNULIB_FWRITE@ +GNULIB_GETCWD = @GNULIB_GETCWD@ +GNULIB_GETDELIM = @GNULIB_GETDELIM@ +GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ +GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ +GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ +GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ +GNULIB_GETLINE = @GNULIB_GETLINE@ +GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ +GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ +GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ +GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ +GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ +GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ +GNULIB_GRANTPT = @GNULIB_GRANTPT@ +GNULIB_LCHOWN = @GNULIB_LCHOWN@ +GNULIB_LINK = @GNULIB_LINK@ +GNULIB_LINKAT = @GNULIB_LINKAT@ +GNULIB_LSEEK = @GNULIB_LSEEK@ +GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ +GNULIB_MBRLEN = @GNULIB_MBRLEN@ +GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ +GNULIB_MBSCHR = @GNULIB_MBSCHR@ +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ +GNULIB_MBSINIT = @GNULIB_MBSINIT@ +GNULIB_MBSLEN = @GNULIB_MBSLEN@ +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ +GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ +GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ +GNULIB_MBSSEP = @GNULIB_MBSSEP@ +GNULIB_MBSSPN = @GNULIB_MBSSPN@ +GNULIB_MBSSTR = @GNULIB_MBSSTR@ +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ +GNULIB_MEMCHR = @GNULIB_MEMCHR@ +GNULIB_MEMMEM = @GNULIB_MEMMEM@ +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ +GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ +GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ +GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ +GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ +GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ +GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ +GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ +GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ +GNULIB_PERROR = @GNULIB_PERROR@ +GNULIB_PIPE2 = @GNULIB_PIPE2@ +GNULIB_POPEN = @GNULIB_POPEN@ +GNULIB_PREAD = @GNULIB_PREAD@ +GNULIB_PRINTF = @GNULIB_PRINTF@ +GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ +GNULIB_PTSNAME = @GNULIB_PTSNAME@ +GNULIB_PUTC = @GNULIB_PUTC@ +GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ +GNULIB_PUTENV = @GNULIB_PUTENV@ +GNULIB_PUTS = @GNULIB_PUTS@ +GNULIB_PWRITE = @GNULIB_PWRITE@ +GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ +GNULIB_READLINK = @GNULIB_READLINK@ +GNULIB_READLINKAT = @GNULIB_READLINKAT@ +GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ +GNULIB_REALPATH = @GNULIB_REALPATH@ +GNULIB_REMOVE = @GNULIB_REMOVE@ +GNULIB_RENAME = @GNULIB_RENAME@ +GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ +GNULIB_RMDIR = @GNULIB_RMDIR@ +GNULIB_RPMATCH = @GNULIB_RPMATCH@ +GNULIB_SETENV = @GNULIB_SETENV@ +GNULIB_SLEEP = @GNULIB_SLEEP@ +GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ +GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ +GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ +GNULIB_STPCPY = @GNULIB_STPCPY@ +GNULIB_STPNCPY = @GNULIB_STPNCPY@ +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ +GNULIB_STRDUP = @GNULIB_STRDUP@ +GNULIB_STRERROR = @GNULIB_STRERROR@ +GNULIB_STRNCAT = @GNULIB_STRNCAT@ +GNULIB_STRNDUP = @GNULIB_STRNDUP@ +GNULIB_STRNLEN = @GNULIB_STRNLEN@ +GNULIB_STRPBRK = @GNULIB_STRPBRK@ +GNULIB_STRSEP = @GNULIB_STRSEP@ +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ +GNULIB_STRSTR = @GNULIB_STRSTR@ +GNULIB_STRTOD = @GNULIB_STRTOD@ +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ +GNULIB_STRTOLL = @GNULIB_STRTOLL@ +GNULIB_STRTOULL = @GNULIB_STRTOULL@ +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ +GNULIB_SYMLINK = @GNULIB_SYMLINK@ +GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ +GNULIB_TMPFILE = @GNULIB_TMPFILE@ +GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ +GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@ +GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ +GNULIB_UNLINK = @GNULIB_UNLINK@ +GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ +GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ +GNULIB_UNSETENV = @GNULIB_UNSETENV@ +GNULIB_USLEEP = @GNULIB_USLEEP@ +GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ +GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ +GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ +GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ +GNULIB_VPRINTF = @GNULIB_VPRINTF@ +GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ +GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ +GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ +GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ +GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ +GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ +GNULIB_WCTOB = @GNULIB_WCTOB@ +GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ +GNULIB_WRITE = @GNULIB_WRITE@ +GNULIB__EXIT = @GNULIB__EXIT@ +GREP = @GREP@ +GRUB_BOOT_MACHINE_LINK_ADDR = @GRUB_BOOT_MACHINE_LINK_ADDR@ +HAVE_ASM_USCORE = @HAVE_ASM_USCORE@ +HAVE_ATOLL = @HAVE_ATOLL@ +HAVE_BTOWC = @HAVE_BTOWC@ +HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ +HAVE_CHOWN = @HAVE_CHOWN@ +HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ +HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ +HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ +HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ +HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ +HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ +HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ +HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ +HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ +HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ +HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ +HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ +HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ +HAVE_DPRINTF = @HAVE_DPRINTF@ +HAVE_DUP2 = @HAVE_DUP2@ +HAVE_DUP3 = @HAVE_DUP3@ +HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ +HAVE_FACCESSAT = @HAVE_FACCESSAT@ +HAVE_FCHDIR = @HAVE_FCHDIR@ +HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ +HAVE_FSEEKO = @HAVE_FSEEKO@ +HAVE_FSYNC = @HAVE_FSYNC@ +HAVE_FTELLO = @HAVE_FTELLO@ +HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ +HAVE_GETDOMAINNAME = @HAVE_GETDOMAINNAME@ +HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ +HAVE_GETGROUPS = @HAVE_GETGROUPS@ +HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ +HAVE_GETLOGIN = @HAVE_GETLOGIN@ +HAVE_GETOPT_H = @HAVE_GETOPT_H@ +HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ +HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ +HAVE_GRANTPT = @HAVE_GRANTPT@ +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ +HAVE_ISWBLANK = @HAVE_ISWBLANK@ +HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ +HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ +HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ +HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ +HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ +HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ +HAVE_LCHOWN = @HAVE_LCHOWN@ +HAVE_LINK = @HAVE_LINK@ +HAVE_LINKAT = @HAVE_LINKAT@ +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ +HAVE_MBRLEN = @HAVE_MBRLEN@ +HAVE_MBRTOWC = @HAVE_MBRTOWC@ +HAVE_MBSINIT = @HAVE_MBSINIT@ +HAVE_MBSLEN = @HAVE_MBSLEN@ +HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ +HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ +HAVE_MEMCHR = @HAVE_MEMCHR@ +HAVE_MEMPCPY = @HAVE_MEMPCPY@ +HAVE_MKDTEMP = @HAVE_MKDTEMP@ +HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ +HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ +HAVE_MKSTEMP = @HAVE_MKSTEMP@ +HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ +HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ +HAVE_OS_H = @HAVE_OS_H@ +HAVE_PIPE2 = @HAVE_PIPE2@ +HAVE_PREAD = @HAVE_PREAD@ +HAVE_PTSNAME = @HAVE_PTSNAME@ +HAVE_PWRITE = @HAVE_PWRITE@ +HAVE_RANDOM_H = @HAVE_RANDOM_H@ +HAVE_RANDOM_R = @HAVE_RANDOM_R@ +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ +HAVE_READLINK = @HAVE_READLINK@ +HAVE_READLINKAT = @HAVE_READLINKAT@ +HAVE_REALPATH = @HAVE_REALPATH@ +HAVE_RENAMEAT = @HAVE_RENAMEAT@ +HAVE_RPMATCH = @HAVE_RPMATCH@ +HAVE_SETENV = @HAVE_SETENV@ +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ +HAVE_SLEEP = @HAVE_SLEEP@ +HAVE_STDINT_H = @HAVE_STDINT_H@ +HAVE_STPCPY = @HAVE_STPCPY@ +HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STRCASECMP = @HAVE_STRCASECMP@ +HAVE_STRCASESTR = @HAVE_STRCASESTR@ +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ +HAVE_STRPBRK = @HAVE_STRPBRK@ +HAVE_STRSEP = @HAVE_STRSEP@ +HAVE_STRTOD = @HAVE_STRTOD@ +HAVE_STRTOLL = @HAVE_STRTOLL@ +HAVE_STRTOULL = @HAVE_STRTOULL@ +HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ +HAVE_SYMLINK = @HAVE_SYMLINK@ +HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ +HAVE_SYSEXITS_H = @HAVE_SYSEXITS_H@ +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ +HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ +HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ +HAVE_TTYNAME_R = @HAVE_TTYNAME_R@ +HAVE_UNISTD_H = @HAVE_UNISTD_H@ +HAVE_UNLINKAT = @HAVE_UNLINKAT@ +HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ +HAVE_UNSETENV = @HAVE_UNSETENV@ +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ +HAVE_USLEEP = @HAVE_USLEEP@ +HAVE_VASPRINTF = @HAVE_VASPRINTF@ +HAVE_VDPRINTF = @HAVE_VDPRINTF@ +HAVE_WCHAR_H = @HAVE_WCHAR_H@ +HAVE_WCHAR_T = @HAVE_WCHAR_T@ +HAVE_WCRTOMB = @HAVE_WCRTOMB@ +HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ +HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ +HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ +HAVE_WINT_T = @HAVE_WINT_T@ +HAVE__BOOL = @HAVE__BOOL@ +HAVE__EXIT = @HAVE__EXIT@ +HELP2MAN = @HELP2MAN@ +HOST_CC = @HOST_CC@ +HOST_CCASFLAGS = @HOST_CCASFLAGS@ +HOST_CFLAGS = @HOST_CFLAGS@ +HOST_CPPFLAGS = @HOST_CPPFLAGS@ +HOST_LDFLAGS = @HOST_LDFLAGS@ +INCLUDE_NEXT = @INCLUDE_NEXT@ +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBCURSES = @LIBCURSES@ +LIBDEVMAPPER = @LIBDEVMAPPER@ +LIBGEOM = @LIBGEOM@ +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@ +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBLZMA = @LIBLZMA@ +LIBNVPAIR = @LIBNVPAIR@ +LIBOBJS = @LIBOBJS@ +LIBPCIACCESS = @LIBPCIACCESS@ +LIBS = @LIBS@ +LIBSDL = @LIBSDL@ +LIBUSB = @LIBUSB@ +LIBUTIL = @LIBUTIL@ +LIBZFS = @LIBZFS@ +LN_S = @LN_S@ +LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ +LOCALE_FR = @LOCALE_FR@ +LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ +LOCALE_JA = @LOCALE_JA@ +LOCALE_ZH_CN = @LOCALE_ZH_CN@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NEED_ENABLE_EXECUTE_STACK = @NEED_ENABLE_EXECUTE_STACK@ +NEED_REGISTER_FRAME_INFO = @NEED_REGISTER_FRAME_INFO@ +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ +NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H = @NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H@ +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H@ +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ +NEXT_ERRNO_H = @NEXT_ERRNO_H@ +NEXT_FLOAT_H = @NEXT_FLOAT_H@ +NEXT_GETOPT_H = @NEXT_GETOPT_H@ +NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ +NEXT_STDDEF_H = @NEXT_STDDEF_H@ +NEXT_STDINT_H = @NEXT_STDINT_H@ +NEXT_STDIO_H = @NEXT_STDIO_H@ +NEXT_STDLIB_H = @NEXT_STDLIB_H@ +NEXT_STRINGS_H = @NEXT_STRINGS_H@ +NEXT_STRING_H = @NEXT_STRING_H@ +NEXT_SYSEXITS_H = @NEXT_SYSEXITS_H@ +NEXT_SYS_WAIT_H = @NEXT_SYS_WAIT_H@ +NEXT_UNISTD_H = @NEXT_UNISTD_H@ +NEXT_WCHAR_H = @NEXT_WCHAR_H@ +NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ +NM = @NM@ +OBJCONV = @OBJCONV@ +OBJCOPY = @OBJCOPY@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ +RANLIB = @RANLIB@ +REPLACE_BTOWC = @REPLACE_BTOWC@ +REPLACE_CALLOC = @REPLACE_CALLOC@ +REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ +REPLACE_CHOWN = @REPLACE_CHOWN@ +REPLACE_CLOSE = @REPLACE_CLOSE@ +REPLACE_DPRINTF = @REPLACE_DPRINTF@ +REPLACE_DUP = @REPLACE_DUP@ +REPLACE_DUP2 = @REPLACE_DUP2@ +REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ +REPLACE_FCLOSE = @REPLACE_FCLOSE@ +REPLACE_FFLUSH = @REPLACE_FFLUSH@ +REPLACE_FOPEN = @REPLACE_FOPEN@ +REPLACE_FPRINTF = @REPLACE_FPRINTF@ +REPLACE_FPURGE = @REPLACE_FPURGE@ +REPLACE_FREOPEN = @REPLACE_FREOPEN@ +REPLACE_FSEEK = @REPLACE_FSEEK@ +REPLACE_FSEEKO = @REPLACE_FSEEKO@ +REPLACE_FTELL = @REPLACE_FTELL@ +REPLACE_FTELLO = @REPLACE_FTELLO@ +REPLACE_GETCWD = @REPLACE_GETCWD@ +REPLACE_GETDELIM = @REPLACE_GETDELIM@ +REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ +REPLACE_GETLINE = @REPLACE_GETLINE@ +REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ +REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ +REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ +REPLACE_LCHOWN = @REPLACE_LCHOWN@ +REPLACE_LINK = @REPLACE_LINK@ +REPLACE_LINKAT = @REPLACE_LINKAT@ +REPLACE_LSEEK = @REPLACE_LSEEK@ +REPLACE_MALLOC = @REPLACE_MALLOC@ +REPLACE_MBRLEN = @REPLACE_MBRLEN@ +REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ +REPLACE_MBSINIT = @REPLACE_MBSINIT@ +REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ +REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ +REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ +REPLACE_MEMCHR = @REPLACE_MEMCHR@ +REPLACE_MEMMEM = @REPLACE_MEMMEM@ +REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ +REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ +REPLACE_NULL = @REPLACE_NULL@ +REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ +REPLACE_PERROR = @REPLACE_PERROR@ +REPLACE_POPEN = @REPLACE_POPEN@ +REPLACE_PREAD = @REPLACE_PREAD@ +REPLACE_PRINTF = @REPLACE_PRINTF@ +REPLACE_PUTENV = @REPLACE_PUTENV@ +REPLACE_PWRITE = @REPLACE_PWRITE@ +REPLACE_READLINK = @REPLACE_READLINK@ +REPLACE_REALLOC = @REPLACE_REALLOC@ +REPLACE_REALPATH = @REPLACE_REALPATH@ +REPLACE_REMOVE = @REPLACE_REMOVE@ +REPLACE_RENAME = @REPLACE_RENAME@ +REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ +REPLACE_RMDIR = @REPLACE_RMDIR@ +REPLACE_SETENV = @REPLACE_SETENV@ +REPLACE_SLEEP = @REPLACE_SLEEP@ +REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ +REPLACE_SPRINTF = @REPLACE_SPRINTF@ +REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ +REPLACE_STPNCPY = @REPLACE_STPNCPY@ +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ +REPLACE_STRDUP = @REPLACE_STRDUP@ +REPLACE_STRERROR = @REPLACE_STRERROR@ +REPLACE_STRNCAT = @REPLACE_STRNCAT@ +REPLACE_STRNDUP = @REPLACE_STRNDUP@ +REPLACE_STRNLEN = @REPLACE_STRNLEN@ +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ +REPLACE_STRSTR = @REPLACE_STRSTR@ +REPLACE_STRTOD = @REPLACE_STRTOD@ +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ +REPLACE_SYMLINK = @REPLACE_SYMLINK@ +REPLACE_TMPFILE = @REPLACE_TMPFILE@ +REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ +REPLACE_UNLINK = @REPLACE_UNLINK@ +REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ +REPLACE_UNSETENV = @REPLACE_UNSETENV@ +REPLACE_USLEEP = @REPLACE_USLEEP@ +REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ +REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ +REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ +REPLACE_VPRINTF = @REPLACE_VPRINTF@ +REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ +REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ +REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ +REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ +REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ +REPLACE_WCTOB = @REPLACE_WCTOB@ +REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ +REPLACE_WRITE = @REPLACE_WRITE@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ +STDBOOL_H = @STDBOOL_H@ +STDDEF_H = @STDDEF_H@ +STDINT_H = @STDINT_H@ +STRIP = @STRIP@ +SYSEXITS_H = @SYSEXITS_H@ +TARGET_APPLE_CC = @TARGET_APPLE_CC@ +TARGET_CC = @TARGET_CC@ +TARGET_CCAS = @TARGET_CCAS@ +TARGET_CCASFLAGS = @TARGET_CCASFLAGS@ +TARGET_CFLAGS = @TARGET_CFLAGS@ +TARGET_CPP = @TARGET_CPP@ +TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ +TARGET_IMG_BASE_LDOPT = @TARGET_IMG_BASE_LDOPT@ +TARGET_IMG_CFLAGS = @TARGET_IMG_CFLAGS@ +TARGET_IMG_LDFLAGS = @TARGET_IMG_LDFLAGS@ +TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@ +TARGET_LDFLAGS = @TARGET_LDFLAGS@ +TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@ +TARGET_OBJ2ELF = @TARGET_OBJ2ELF@ +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ +UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ +USE_APPLE_CC_FIXES = @USE_APPLE_CC_FIXES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ +WINT_T_SUFFIX = @WINT_T_SUFFIX@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_TARGET_CC = @ac_ct_TARGET_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +bootdirname = @bootdirname@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_efiemu = @enable_efiemu@ +enable_grub_emu_pci = @enable_grub_emu_pci@ +enable_grub_emu_sdl = @enable_grub_emu_sdl@ +enable_grub_emu_usb = @enable_grub_emu_usb@ +enable_grub_mkfont = @enable_grub_mkfont@ +exec_prefix = @exec_prefix@ +freetype_cflags = @freetype_cflags@ +freetype_libs = @freetype_libs@ +gl_LIBOBJS = @gl_LIBOBJS@ +gl_LTLIBOBJS = @gl_LTLIBOBJS@ +gltests_LIBOBJS = @gltests_LIBOBJS@ +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ +gltests_WITNESS = @gltests_WITNESS@ +grubdirname = @grubdirname@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_kernel = @host_kernel@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkglibrootdir = @pkglibrootdir@ +platform = @platform@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AUTOMAKE_OPTIONS = subdir-objects +SUBDIRS = grub-core/gnulib . grub-core po docs util/bash-completion.d +CFLAGS_PLATFORM = $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) $(am__append_6) \ + $(am__append_7) +@COND_i386_efi_TRUE@LDFLAGS_PLATFORM = -melf_i386 +@COND_sparc64_ieee1275_TRUE@LDFLAGS_PLATFORM = -melf64_sparc -mno-relax +@COND_x86_64_efi_TRUE@LDFLAGS_PLATFORM = -melf_x86_64 +@COND_mips_yeeloong_TRUE@CPPFLAGS_PLATFORM = -DUSE_ASCII_FAILBACK +@COND_mips_yeeloong_TRUE@CCASFLAGS_PLATFORM = -march=mips3 + +# Other options +CPPFLAGS_DEFAULT = -DGRUB_FILE=\"$(subst $(srcdir)/,,$<)\" \ + -I$(builddir) -I$(srcdir) -I$(top_builddir) -I$(top_srcdir) \ + -I$(top_srcdir)/include -I$(top_builddir)/include +CCASFLAGS_DEFAULT = -DASM_FILE=1 +LDADD_KERNEL = $(am__append_8) +CFLAGS_KERNEL = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding +LDFLAGS_KERNEL = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N -static-libgcc +CPPFLAGS_KERNEL = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_KERNEL = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +@COND_CYGWIN_FALSE@STRIPFLAGS_KERNEL = -R .rel.dyn -R .reginfo -R .note -R .comment +@COND_CYGWIN_TRUE@STRIPFLAGS_KERNEL = -F elf32-i386 -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve +CFLAGS_MODULE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding +LDFLAGS_MODULE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N,-r,-d +CPPFLAGS_MODULE = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_MODULE = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +CFLAGS_IMAGE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -fno-builtin +LDFLAGS_IMAGE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N,-S +CPPFLAGS_IMAGE = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_IMAGE = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +CFLAGS_PROGRAM = $(CFLAGS_GNULIB) +LDFLAGS_PROGRAM = $(LDFLAGS_GNULIB) +CPPFLAGS_PROGRAM = $(CPPFLAGS_GNULIB) +CCASFLAGS_PROGRAM = $(CCASFLAGS_GNULIB) +CFLAGS_LIBRARY = +CPPFLAGS_LIBRARY = +CCASFLAGS_LIBRARY = + +# Other variables +grubconfdir = $(sysconfdir)/grub.d +grubdatadir = $(datadir)/`echo @PACKAGE_TARNAME@ | sed '$(transform)'` +platformdir = $(pkglibrootdir)/$(target_cpu)-$(platform) +CFLAGS_GCRY = -Wno-error -Wno-missing-field-initializers +CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap +CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter +CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib +CFLAGS_POSIX = -fno-builtin +CPPFLAGS_POSIX = -I$(top_srcdir)/grub-core/lib/posix_wrap +CPPFLAGS_EFIEMU = -I$(top_srcdir)/grub-core/efiemu/runtime + +# List file macros for recognizing /interesting/ modules +CPPFLAGS_FS_LIST = -Dgrub_fs_register=FS_LIST_MARKER +CPPFLAGS_VIDEO_LIST = -Dgrub_video_register=VIDEO_LIST_MARKER +CPPFLAGS_PARTMAP_LIST = -Dgrub_partition_map_register=PARTMAP_LIST_MARKER +CPPFLAGS_PARTTOOL_LIST = -Dgrub_parttool_register=PARTTOOL_LIST_MARKER +CPPFLAGS_TERMINAL_LIST = '-Dgrub_term_register_input(...)=INPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' \ + '-Dgrub_term_register_output(...)=OUTPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_COMMAND_LIST = '-Dgrub_register_command(...)=COMMAND_LIST_MARKER(__VA_ARGS__)' \ + '-Dgrub_register_extcmd(...)=EXTCOMMAND_LIST_MARKER(__VA_ARGS__)' \ + '-Dgrub_register_command_p1(...)=P1COMMAND_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_MARKER = $(CPPFLAGS_FS_LIST) $(CPPFLAGS_VIDEO_LIST) \ + $(CPPFLAGS_PARTTOOL_LIST) $(CPPFLAGS_PARTMAP_LIST) \ + $(CPPFLAGS_TERMINAL_LIST) $(CPPFLAGS_COMMAND_LIST) + + +# Define these variables to calm down automake +IMG_FILES = +MOD_FILES = +MODULE_FILES = +MARKER_FILES = +KERNEL_HEADER_FILES = +man_MANS = $(am__append_208) $(am__append_214) $(am__append_220) \ + $(am__append_226) $(am__append_232) $(am__append_238) \ + $(am__append_244) $(am__append_250) $(am__append_256) \ + $(am__append_262) $(am__append_268) $(am__append_274) \ + $(am__append_280) $(am__append_286) $(am__append_292) \ + $(am__append_298) $(am__append_304) $(am__append_310) \ + $(am__append_316) $(am__append_322) $(am__append_328) \ + $(am__append_334) $(am__append_340) $(am__append_346) \ + $(am__append_352) $(am__append_358) $(am__append_364) \ + $(am__append_370) $(am__append_376) $(am__append_382) \ + $(am__append_388) $(am__append_394) $(am__append_400) \ + $(am__append_406) $(am__append_412) $(am__append_418) \ + $(am__append_424) $(am__append_430) $(am__append_436) \ + $(am__append_442) $(am__append_448) $(am__append_454) \ + $(am__append_460) $(am__append_466) $(am__append_472) \ + $(am__append_478) $(am__append_484) $(am__append_490) \ + $(am__append_496) $(am__append_502) $(am__append_508) \ + $(am__append_514) $(am__append_520) $(am__append_526) \ + $(am__append_532) $(am__append_538) $(am__append_544) \ + $(am__append_550) $(am__append_556) $(am__append_562) \ + $(am__append_568) $(am__append_574) $(am__append_580) \ + $(am__append_586) $(am__append_592) $(am__append_598) \ + $(am__append_604) $(am__append_610) $(am__append_616) \ + $(am__append_622) $(am__append_628) $(am__append_634) \ + $(am__append_640) $(am__append_646) $(am__append_652) \ + $(am__append_658) $(am__append_664) $(am__append_670) \ + $(am__append_676) $(am__append_682) $(am__append_688) \ + $(am__append_694) $(am__append_700) $(am__append_706) \ + $(am__append_712) $(am__append_718) $(am__append_724) \ + $(am__append_730) $(am__append_736) $(am__append_742) \ + $(am__append_748) $(am__append_754) $(am__append_760) \ + $(am__append_766) $(am__append_772) $(am__append_778) \ + $(am__append_784) $(am__append_790) $(am__append_796) \ + $(am__append_802) $(am__append_808) $(am__append_814) \ + $(am__append_820) $(am__append_826) $(am__append_832) \ + $(am__append_838) $(am__append_844) $(am__append_850) \ + $(am__append_856) $(am__append_862) $(am__append_868) \ + $(am__append_874) $(am__append_880) $(am__append_886) \ + $(am__append_892) $(am__append_898) $(am__append_904) \ + $(am__append_910) $(am__append_916) $(am__append_922) \ + $(am__append_928) $(am__append_934) $(am__append_940) \ + $(am__append_946) $(am__append_952) $(am__append_958) \ + $(am__append_964) $(am__append_970) $(am__append_976) \ + $(am__append_982) $(am__append_988) $(am__append_994) \ + $(am__append_1000) $(am__append_1006) $(am__append_1012) \ + $(am__append_1018) $(am__append_1024) $(am__append_1030) \ + $(am__append_1036) $(am__append_1042) $(am__append_1048) \ + $(am__append_1054) $(am__append_1060) $(am__append_1066) \ + $(am__append_1072) $(am__append_1133) $(am__append_1139) \ + $(am__append_1145) $(am__append_1151) $(am__append_1157) \ + $(am__append_1163) $(am__append_1169) $(am__append_1175) \ + $(am__append_1181) $(am__append_1187) $(am__append_1193) \ + $(am__append_1529) $(am__append_1534) $(am__append_1539) \ + $(am__append_1544) $(am__append_1549) $(am__append_1554) \ + $(am__append_1559) $(am__append_1564) $(am__append_1569) \ + $(am__append_1574) $(am__append_1579) $(am__append_1584) \ + $(am__append_1589) $(am__append_1594) $(am__append_1599) \ + $(am__append_1604) $(am__append_1609) $(am__append_1614) \ + $(am__append_1619) $(am__append_1624) $(am__append_1629) \ + $(am__append_1634) $(am__append_1639) $(am__append_1644) \ + $(am__append_1649) $(am__append_1654) $(am__append_1659) \ + $(am__append_1664) $(am__append_1669) $(am__append_1674) \ + $(am__append_1679) $(am__append_1684) $(am__append_1689) \ + $(am__append_1694) $(am__append_1699) $(am__append_1704) \ + $(am__append_1709) $(am__append_1714) $(am__append_1719) \ + $(am__append_1724) $(am__append_1729) $(am__append_1734) \ + $(am__append_1739) $(am__append_1744) $(am__append_1749) \ + $(am__append_1754) $(am__append_1759) $(am__append_1764) \ + $(am__append_1769) $(am__append_1774) $(am__append_1779) \ + $(am__append_1784) $(am__append_1789) $(am__append_1794) \ + $(am__append_1799) $(am__append_1804) $(am__append_1809) \ + $(am__append_1814) $(am__append_1819) $(am__append_1824) \ + $(am__append_1829) +noinst_DATA = +pkglib_DATA = grub-mkconfig_lib update-grub_lib +bin_SCRIPTS = $(am__append_1528) $(am__append_1533) $(am__append_1538) \ + $(am__append_1543) $(am__append_1548) $(am__append_1553) \ + $(am__append_1558) $(am__append_1899) $(am__append_1902) \ + $(am__append_1905) $(am__append_1908) $(am__append_1911) \ + $(am__append_1914) $(am__append_1917) $(am__append_1920) \ + $(am__append_1923) $(am__append_1926) $(am__append_1929) +sbin_SCRIPTS = $(am__append_1563) $(am__append_1568) \ + $(am__append_1573) $(am__append_1578) $(am__append_1583) \ + $(am__append_1588) $(am__append_1593) $(am__append_1598) \ + $(am__append_1603) $(am__append_1608) $(am__append_1613) \ + $(am__append_1618) $(am__append_1623) $(am__append_1628) \ + $(am__append_1633) $(am__append_1638) $(am__append_1643) \ + $(am__append_1648) $(am__append_1653) $(am__append_1658) \ + $(am__append_1663) $(am__append_1668) $(am__append_1673) \ + $(am__append_1678) $(am__append_1683) $(am__append_1688) \ + $(am__append_1693) $(am__append_1698) $(am__append_1703) \ + $(am__append_1708) $(am__append_1713) $(am__append_1718) \ + $(am__append_1723) $(am__append_1728) $(am__append_1733) \ + $(am__append_1738) $(am__append_1743) $(am__append_1748) \ + $(am__append_1753) $(am__append_1758) $(am__append_1763) \ + $(am__append_1768) $(am__append_1773) $(am__append_1778) \ + $(am__append_1783) $(am__append_1788) $(am__append_1793) \ + $(am__append_1798) $(am__append_1803) $(am__append_1808) \ + $(am__append_1813) $(am__append_1818) $(am__append_1823) \ + $(am__append_1828) +platform_DATA = +check_SCRIPTS = $(am__append_1998) $(am__append_2002) \ + $(am__append_2006) $(am__append_2010) $(am__append_2014) \ + $(am__append_2018) $(am__append_2022) $(am__append_2026) \ + $(am__append_2030) $(am__append_2034) $(am__append_2038) \ + $(am__append_2042) $(am__append_2046) $(am__append_2050) \ + $(am__append_2054) $(am__append_2058) $(am__append_2062) \ + $(am__append_2066) $(am__append_2070) $(am__append_2074) \ + $(am__append_2078) $(am__append_2082) $(am__append_2086) \ + $(am__append_2090) $(am__append_2094) $(am__append_2098) \ + $(am__append_2102) $(am__append_2106) $(am__append_2110) \ + $(am__append_2114) $(am__append_2118) $(am__append_2122) \ + $(am__append_2126) $(am__append_2130) $(am__append_2134) \ + $(am__append_2138) $(am__append_2142) $(am__append_2146) \ + $(am__append_2150) $(am__append_2154) $(am__append_2158) \ + $(am__append_2162) $(am__append_2166) $(am__append_2170) \ + $(am__append_2174) $(am__append_2178) $(am__append_2182) \ + $(am__append_2186) $(am__append_2190) $(am__append_2194) \ + $(am__append_2198) $(am__append_2202) $(am__append_2206) \ + $(am__append_2210) $(am__append_2214) $(am__append_2218) \ + $(am__append_2222) $(am__append_2226) $(am__append_2230) \ + $(am__append_2234) $(am__append_2238) $(am__append_2242) \ + $(am__append_2246) $(am__append_2250) $(am__append_2254) \ + $(am__append_2258) $(am__append_2262) $(am__append_2266) \ + $(am__append_2270) $(am__append_2274) $(am__append_2278) \ + $(am__append_2282) $(am__append_2286) $(am__append_2290) \ + $(am__append_2294) $(am__append_2298) $(am__append_2302) \ + $(am__append_2306) $(am__append_2310) $(am__append_2314) \ + $(am__append_2318) $(am__append_2322) $(am__append_2326) \ + $(am__append_2330) $(am__append_2334) $(am__append_2338) \ + $(am__append_2342) $(am__append_2346) $(am__append_2350) \ + $(am__append_2354) $(am__append_2358) $(am__append_2362) \ + $(am__append_2366) $(am__append_2370) $(am__append_2374) \ + $(am__append_2378) $(am__append_2382) $(am__append_2386) \ + $(am__append_2390) $(am__append_2394) $(am__append_2398) \ + $(am__append_2402) $(am__append_2406) $(am__append_2410) \ + $(am__append_2414) $(am__append_2418) $(am__append_2422) \ + $(am__append_2426) $(am__append_2430) $(am__append_2434) \ + $(am__append_2438) $(am__append_2442) $(am__append_2446) \ + $(am__append_2450) $(am__append_2454) $(am__append_2458) \ + $(am__append_2462) $(am__append_2466) $(am__append_2470) \ + $(am__append_2474) $(am__append_2478) $(am__append_2482) \ + $(am__append_2486) $(am__append_2490) $(am__append_2494) \ + $(am__append_2498) $(am__append_2502) $(am__append_2506) \ + $(am__append_2510) $(am__append_2514) $(am__append_2518) \ + $(am__append_2522) $(am__append_2526) $(am__append_2530) \ + $(am__append_2534) $(am__append_2538) $(am__append_2542) \ + $(am__append_2546) $(am__append_2550) $(am__append_2554) \ + $(am__append_2558) $(am__append_2562) $(am__append_2566) \ + $(am__append_2570) $(am__append_2574) $(am__append_2578) \ + $(am__append_2582) $(am__append_2586) $(am__append_2590) \ + $(am__append_2594) $(am__append_2598) $(am__append_2602) \ + $(am__append_2606) $(am__append_2610) $(am__append_2614) \ + $(am__append_2618) $(am__append_2622) $(am__append_2626) \ + $(am__append_2630) $(am__append_2634) $(am__append_2638) \ + $(am__append_2642) $(am__append_2646) $(am__append_2650) \ + $(am__append_2654) $(am__append_2658) $(am__append_2662) \ + $(am__append_2666) $(am__append_2670) $(am__append_2674) \ + $(am__append_2678) $(am__append_2682) $(am__append_2686) \ + $(am__append_2690) $(am__append_2694) $(am__append_2698) \ + $(am__append_2702) $(am__append_2706) $(am__append_2710) \ + $(am__append_2714) $(am__append_2718) $(am__append_2722) \ + $(am__append_2726) $(am__append_2730) $(am__append_2734) \ + $(am__append_2738) $(am__append_2742) $(am__append_2746) \ + $(am__append_2750) $(am__append_2754) $(am__append_2758) \ + $(am__append_2762) $(am__append_2766) $(am__append_2770) \ + $(am__append_2774) $(am__append_2778) $(am__append_2782) \ + $(am__append_2786) $(am__append_2790) $(am__append_2794) \ + $(am__append_2798) $(am__append_2802) $(am__append_2806) \ + $(am__append_2810) $(am__append_2814) $(am__append_2818) \ + $(am__append_2822) $(am__append_2826) $(am__append_2830) \ + $(am__append_2834) $(am__append_2838) $(am__append_2842) \ + $(am__append_2846) $(am__append_2850) $(am__append_2854) \ + $(am__append_2858) $(am__append_2862) $(am__append_2866) \ + $(am__append_2870) $(am__append_2874) $(am__append_2878) \ + $(am__append_2882) $(am__append_2886) $(am__append_2890) \ + $(am__append_2894) $(am__append_2898) $(am__append_2902) \ + $(am__append_2906) $(am__append_2910) $(am__append_2914) \ + $(am__append_2918) $(am__append_2922) $(am__append_2926) \ + $(am__append_2930) $(am__append_2934) $(am__append_2938) \ + $(am__append_2942) $(am__append_2946) $(am__append_2950) \ + $(am__append_2954) $(am__append_2958) $(am__append_2962) \ + $(am__append_2966) $(am__append_2970) $(am__append_2974) \ + $(am__append_2978) $(am__append_2982) $(am__append_2986) \ + $(am__append_2990) $(am__append_2994) $(am__append_2998) \ + $(am__append_3002) $(am__append_3006) $(am__append_3010) \ + $(am__append_3014) $(am__append_3018) $(am__append_3022) \ + $(am__append_3026) $(am__append_3030) $(am__append_3034) \ + $(am__append_3038) $(am__append_3042) $(am__append_3046) \ + $(am__append_3050) +grubconf_DATA = $(am__append_3055) $(am__append_3057) \ + $(am__append_3059) $(am__append_3061) $(am__append_3063) \ + $(am__append_3065) $(am__append_3067) $(am__append_3069) \ + $(am__append_3071) $(am__append_3073) $(am__append_3075) +noinst_SCRIPTS = $(am__append_1833) $(am__append_1836) \ + $(am__append_1839) $(am__append_1842) $(am__append_1845) \ + $(am__append_1848) $(am__append_1851) $(am__append_1854) \ + $(am__append_1857) $(am__append_1860) $(am__append_1863) \ + $(am__append_1866) $(am__append_1869) $(am__append_1872) \ + $(am__append_1875) $(am__append_1878) $(am__append_1881) \ + $(am__append_1884) $(am__append_1887) $(am__append_1890) \ + $(am__append_1893) $(am__append_1896) $(am__append_1932) \ + $(am__append_1935) $(am__append_1938) $(am__append_1941) \ + $(am__append_1944) $(am__append_1947) $(am__append_1950) \ + $(am__append_1953) $(am__append_1956) $(am__append_1959) \ + $(am__append_1962) $(am__append_1965) $(am__append_1968) \ + $(am__append_1971) $(am__append_1974) $(am__append_1977) \ + $(am__append_1980) $(am__append_1983) $(am__append_1986) \ + $(am__append_1989) $(am__append_1992) $(am__append_1995) +pkglib_SCRIPTS = +grubconf_SCRIPTS = $(am__append_1198) $(am__append_1201) \ + $(am__append_1204) $(am__append_1207) $(am__append_1210) \ + $(am__append_1213) $(am__append_1216) $(am__append_1219) \ + $(am__append_1222) $(am__append_1225) $(am__append_1228) \ + $(am__append_1231) $(am__append_1234) $(am__append_1237) \ + $(am__append_1240) $(am__append_1243) $(am__append_1246) \ + $(am__append_1249) $(am__append_1252) $(am__append_1255) \ + $(am__append_1258) $(am__append_1261) $(am__append_1264) \ + $(am__append_1267) $(am__append_1270) $(am__append_1273) \ + $(am__append_1276) $(am__append_1279) $(am__append_1282) \ + $(am__append_1285) $(am__append_1288) $(am__append_1291) \ + $(am__append_1294) $(am__append_1297) $(am__append_1300) \ + $(am__append_1303) $(am__append_1306) $(am__append_1309) \ + $(am__append_1312) $(am__append_1315) $(am__append_1318) \ + $(am__append_1321) $(am__append_1324) $(am__append_1327) \ + $(am__append_1330) $(am__append_1333) $(am__append_1336) \ + $(am__append_1339) $(am__append_1342) $(am__append_1345) \ + $(am__append_1348) $(am__append_1351) $(am__append_1354) \ + $(am__append_1357) $(am__append_1360) $(am__append_1363) \ + $(am__append_1366) $(am__append_1369) $(am__append_1372) \ + $(am__append_1375) $(am__append_1378) $(am__append_1381) \ + $(am__append_1384) $(am__append_1387) $(am__append_1390) \ + $(am__append_1393) $(am__append_1396) $(am__append_1399) \ + $(am__append_1402) $(am__append_1405) $(am__append_1408) \ + $(am__append_1411) $(am__append_1414) $(am__append_1417) \ + $(am__append_1420) $(am__append_1423) $(am__append_1426) \ + $(am__append_1429) $(am__append_1432) $(am__append_1435) \ + $(am__append_1438) $(am__append_1441) $(am__append_1444) \ + $(am__append_1447) $(am__append_1450) $(am__append_1453) \ + $(am__append_1456) $(am__append_1459) $(am__append_1462) \ + $(am__append_1465) $(am__append_1468) $(am__append_1471) \ + $(am__append_1474) $(am__append_1477) $(am__append_1480) \ + $(am__append_1483) $(am__append_1486) $(am__append_1489) \ + $(am__append_1492) $(am__append_1495) $(am__append_1498) \ + $(am__append_1501) $(am__append_1504) $(am__append_1507) \ + $(am__append_1510) $(am__append_1513) $(am__append_1516) \ + $(am__append_1519) $(am__append_1522) $(am__append_1525) +noinst_LIBRARIES = $(am__append_9) $(am__append_18) $(am__append_27) \ + $(am__append_36) $(am__append_45) $(am__append_54) \ + $(am__append_63) $(am__append_72) $(am__append_81) \ + $(am__append_90) $(am__append_99) $(am__append_108) \ + $(am__append_117) $(am__append_126) $(am__append_135) \ + $(am__append_144) $(am__append_153) $(am__append_162) \ + $(am__append_171) $(am__append_180) $(am__append_189) \ + $(am__append_198) +dist_noinst_DATA = $(am__append_1200) $(am__append_1203) \ + $(am__append_1206) $(am__append_1209) $(am__append_1212) \ + $(am__append_1215) $(am__append_1218) $(am__append_1221) \ + $(am__append_1224) $(am__append_1227) $(am__append_1230) \ + $(am__append_1233) $(am__append_1236) $(am__append_1239) \ + $(am__append_1242) $(am__append_1245) $(am__append_1248) \ + $(am__append_1251) $(am__append_1254) $(am__append_1257) \ + $(am__append_1260) $(am__append_1263) $(am__append_1266) \ + $(am__append_1269) $(am__append_1272) $(am__append_1275) \ + $(am__append_1278) $(am__append_1281) $(am__append_1284) \ + $(am__append_1287) $(am__append_1290) $(am__append_1293) \ + $(am__append_1296) $(am__append_1299) $(am__append_1302) \ + $(am__append_1305) $(am__append_1308) $(am__append_1311) \ + $(am__append_1314) $(am__append_1317) $(am__append_1320) \ + $(am__append_1323) $(am__append_1326) $(am__append_1329) \ + $(am__append_1332) $(am__append_1335) $(am__append_1338) \ + $(am__append_1341) $(am__append_1344) $(am__append_1347) \ + $(am__append_1350) $(am__append_1353) $(am__append_1356) \ + $(am__append_1359) $(am__append_1362) $(am__append_1365) \ + $(am__append_1368) $(am__append_1371) $(am__append_1374) \ + $(am__append_1377) $(am__append_1380) $(am__append_1383) \ + $(am__append_1386) $(am__append_1389) $(am__append_1392) \ + $(am__append_1395) $(am__append_1398) $(am__append_1401) \ + $(am__append_1404) $(am__append_1407) $(am__append_1410) \ + $(am__append_1413) $(am__append_1416) $(am__append_1419) \ + $(am__append_1422) $(am__append_1425) $(am__append_1428) \ + $(am__append_1431) $(am__append_1434) $(am__append_1437) \ + $(am__append_1440) $(am__append_1443) $(am__append_1446) \ + $(am__append_1449) $(am__append_1452) $(am__append_1455) \ + $(am__append_1458) $(am__append_1461) $(am__append_1464) \ + $(am__append_1467) $(am__append_1470) $(am__append_1473) \ + $(am__append_1476) $(am__append_1479) $(am__append_1482) \ + $(am__append_1485) $(am__append_1488) $(am__append_1491) \ + $(am__append_1494) $(am__append_1497) $(am__append_1500) \ + $(am__append_1503) $(am__append_1506) $(am__append_1509) \ + $(am__append_1512) $(am__append_1515) $(am__append_1518) \ + $(am__append_1521) $(am__append_1524) $(am__append_1527) \ + $(am__append_1532) $(am__append_1537) $(am__append_1542) \ + $(am__append_1547) $(am__append_1552) $(am__append_1557) \ + $(am__append_1562) $(am__append_1567) $(am__append_1572) \ + $(am__append_1577) $(am__append_1582) $(am__append_1587) \ + $(am__append_1592) $(am__append_1597) $(am__append_1602) \ + $(am__append_1607) $(am__append_1612) $(am__append_1617) \ + $(am__append_1622) $(am__append_1627) $(am__append_1632) \ + $(am__append_1637) $(am__append_1642) $(am__append_1647) \ + $(am__append_1652) $(am__append_1657) $(am__append_1662) \ + $(am__append_1667) $(am__append_1672) $(am__append_1677) \ + $(am__append_1682) $(am__append_1687) $(am__append_1692) \ + $(am__append_1697) $(am__append_1702) $(am__append_1707) \ + $(am__append_1712) $(am__append_1717) $(am__append_1722) \ + $(am__append_1727) $(am__append_1732) $(am__append_1737) \ + $(am__append_1742) $(am__append_1747) $(am__append_1752) \ + $(am__append_1757) $(am__append_1762) $(am__append_1767) \ + $(am__append_1772) $(am__append_1777) $(am__append_1782) \ + $(am__append_1787) $(am__append_1792) $(am__append_1797) \ + $(am__append_1802) $(am__append_1807) $(am__append_1812) \ + $(am__append_1817) $(am__append_1822) $(am__append_1827) \ + $(am__append_1832) $(am__append_1835) $(am__append_1838) \ + $(am__append_1841) $(am__append_1844) $(am__append_1847) \ + $(am__append_1850) $(am__append_1853) $(am__append_1856) \ + $(am__append_1859) $(am__append_1862) $(am__append_1865) \ + $(am__append_1868) $(am__append_1871) $(am__append_1874) \ + $(am__append_1877) $(am__append_1880) $(am__append_1883) \ + $(am__append_1886) $(am__append_1889) $(am__append_1892) \ + $(am__append_1895) $(am__append_1898) $(am__append_1901) \ + $(am__append_1904) $(am__append_1907) $(am__append_1910) \ + $(am__append_1913) $(am__append_1916) $(am__append_1919) \ + $(am__append_1922) $(am__append_1925) $(am__append_1928) \ + $(am__append_1931) $(am__append_1934) $(am__append_1937) \ + $(am__append_1940) $(am__append_1943) $(am__append_1946) \ + $(am__append_1949) $(am__append_1952) $(am__append_1955) \ + $(am__append_1958) $(am__append_1961) $(am__append_1964) \ + $(am__append_1967) $(am__append_1970) $(am__append_1973) \ + $(am__append_1976) $(am__append_1979) $(am__append_1982) \ + $(am__append_1985) $(am__append_1988) $(am__append_1991) \ + $(am__append_1994) $(am__append_1997) $(am__append_2001) \ + $(am__append_2005) $(am__append_2009) $(am__append_2013) \ + $(am__append_2017) $(am__append_2021) $(am__append_2025) \ + $(am__append_2029) $(am__append_2033) $(am__append_2037) \ + $(am__append_2041) $(am__append_2045) $(am__append_2049) \ + $(am__append_2053) $(am__append_2057) $(am__append_2061) \ + $(am__append_2065) $(am__append_2069) $(am__append_2073) \ + $(am__append_2077) $(am__append_2081) $(am__append_2085) \ + $(am__append_2089) $(am__append_2093) $(am__append_2097) \ + $(am__append_2101) $(am__append_2105) $(am__append_2109) \ + $(am__append_2113) $(am__append_2117) $(am__append_2121) \ + $(am__append_2125) $(am__append_2129) $(am__append_2133) \ + $(am__append_2137) $(am__append_2141) $(am__append_2145) \ + $(am__append_2149) $(am__append_2153) $(am__append_2157) \ + $(am__append_2161) $(am__append_2165) $(am__append_2169) \ + $(am__append_2173) $(am__append_2177) $(am__append_2181) \ + $(am__append_2185) $(am__append_2189) $(am__append_2193) \ + $(am__append_2197) $(am__append_2201) $(am__append_2205) \ + $(am__append_2209) $(am__append_2213) $(am__append_2217) \ + $(am__append_2221) $(am__append_2225) $(am__append_2229) \ + $(am__append_2233) $(am__append_2237) $(am__append_2241) \ + $(am__append_2245) $(am__append_2249) $(am__append_2253) \ + $(am__append_2257) $(am__append_2261) $(am__append_2265) \ + $(am__append_2269) $(am__append_2273) $(am__append_2277) \ + $(am__append_2281) $(am__append_2285) $(am__append_2289) \ + $(am__append_2293) $(am__append_2297) $(am__append_2301) \ + $(am__append_2305) $(am__append_2309) $(am__append_2313) \ + $(am__append_2317) $(am__append_2321) $(am__append_2325) \ + $(am__append_2329) $(am__append_2333) $(am__append_2337) \ + $(am__append_2341) $(am__append_2345) $(am__append_2349) \ + $(am__append_2353) $(am__append_2357) $(am__append_2361) \ + $(am__append_2365) $(am__append_2369) $(am__append_2373) \ + $(am__append_2377) $(am__append_2381) $(am__append_2385) \ + $(am__append_2389) $(am__append_2393) $(am__append_2397) \ + $(am__append_2401) $(am__append_2405) $(am__append_2409) \ + $(am__append_2413) $(am__append_2417) $(am__append_2421) \ + $(am__append_2425) $(am__append_2429) $(am__append_2433) \ + $(am__append_2437) $(am__append_2441) $(am__append_2445) \ + $(am__append_2449) $(am__append_2453) $(am__append_2457) \ + $(am__append_2461) $(am__append_2465) $(am__append_2469) \ + $(am__append_2473) $(am__append_2477) $(am__append_2481) \ + $(am__append_2485) $(am__append_2489) $(am__append_2493) \ + $(am__append_2497) $(am__append_2501) $(am__append_2505) \ + $(am__append_2509) $(am__append_2513) $(am__append_2517) \ + $(am__append_2521) $(am__append_2525) $(am__append_2529) \ + $(am__append_2533) $(am__append_2537) $(am__append_2541) \ + $(am__append_2545) $(am__append_2549) $(am__append_2553) \ + $(am__append_2557) $(am__append_2561) $(am__append_2565) \ + $(am__append_2569) $(am__append_2573) $(am__append_2577) \ + $(am__append_2581) $(am__append_2585) $(am__append_2589) \ + $(am__append_2593) $(am__append_2597) $(am__append_2601) \ + $(am__append_2605) $(am__append_2609) $(am__append_2613) \ + $(am__append_2617) $(am__append_2621) $(am__append_2625) \ + $(am__append_2629) $(am__append_2633) $(am__append_2637) \ + $(am__append_2641) $(am__append_2645) $(am__append_2649) \ + $(am__append_2653) $(am__append_2657) $(am__append_2661) \ + $(am__append_2665) $(am__append_2669) $(am__append_2673) \ + $(am__append_2677) $(am__append_2681) $(am__append_2685) \ + $(am__append_2689) $(am__append_2693) $(am__append_2697) \ + $(am__append_2701) $(am__append_2705) $(am__append_2709) \ + $(am__append_2713) $(am__append_2717) $(am__append_2721) \ + $(am__append_2725) $(am__append_2729) $(am__append_2733) \ + $(am__append_2737) $(am__append_2741) $(am__append_2745) \ + $(am__append_2749) $(am__append_2753) $(am__append_2757) \ + $(am__append_2761) $(am__append_2765) $(am__append_2769) \ + $(am__append_2773) $(am__append_2777) $(am__append_2781) \ + $(am__append_2785) $(am__append_2789) $(am__append_2793) \ + $(am__append_2797) $(am__append_2801) $(am__append_2805) \ + $(am__append_2809) $(am__append_2813) $(am__append_2817) \ + $(am__append_2821) $(am__append_2825) $(am__append_2829) \ + $(am__append_2833) $(am__append_2837) $(am__append_2841) \ + $(am__append_2845) $(am__append_2849) $(am__append_2853) \ + $(am__append_2857) $(am__append_2861) $(am__append_2865) \ + $(am__append_2869) $(am__append_2873) $(am__append_2877) \ + $(am__append_2881) $(am__append_2885) $(am__append_2889) \ + $(am__append_2893) $(am__append_2897) $(am__append_2901) \ + $(am__append_2905) $(am__append_2909) $(am__append_2913) \ + $(am__append_2917) $(am__append_2921) $(am__append_2925) \ + $(am__append_2929) $(am__append_2933) $(am__append_2937) \ + $(am__append_2941) $(am__append_2945) $(am__append_2949) \ + $(am__append_2953) $(am__append_2957) $(am__append_2961) \ + $(am__append_2965) $(am__append_2969) $(am__append_2973) \ + $(am__append_2977) $(am__append_2981) $(am__append_2985) \ + $(am__append_2989) $(am__append_2993) $(am__append_2997) \ + $(am__append_3001) $(am__append_3005) $(am__append_3009) \ + $(am__append_3013) $(am__append_3017) $(am__append_3021) \ + $(am__append_3025) $(am__append_3029) $(am__append_3033) \ + $(am__append_3037) $(am__append_3041) $(am__append_3045) \ + $(am__append_3049) $(am__append_3053) +EXTRA_DIST = autogen.sh geninit.sh gentpl.py Makefile.tpl \ + Makefile.util.def unicode util/import_gcry.py \ + util/import_unicode.py docs/man docs/grub.cfg \ + conf/i386-pc-cygwin-img-ld.sc grub-core/Makefile.core.def \ + grub-core/Makefile.gcry.def grub-core/genmoddep.awk \ + grub-core/genmod.sh.in grub-core/gensyminfo.sh.in \ + grub-core/gensymlist.sh grub-core/genemuinit.sh \ + grub-core/genemuinitheader.sh grub-core/lib/libgcrypt/cipher \ + $(shell find $(top_srcdir)/include -name '*.h') $(shell find \ + $(top_srcdir)/grub-core/lib -name '*.h') $(shell find \ + $(top_srcdir)/grub-core/gnulib -name '*.h') $(shell find \ + $(top_srcdir)/grub-core/efiemu -name '*.h') m4/gnulib-cache.m4 \ + $(am__append_15) $(am__append_24) $(am__append_33) \ + $(am__append_42) $(am__append_51) $(am__append_60) \ + $(am__append_69) $(am__append_78) $(am__append_87) \ + $(am__append_96) $(am__append_105) $(am__append_114) \ + $(am__append_123) $(am__append_132) $(am__append_141) \ + $(am__append_150) $(am__append_159) $(am__append_168) \ + $(am__append_177) $(am__append_186) $(am__append_195) \ + $(am__append_204) $(am__append_210) $(am__append_216) \ + $(am__append_222) $(am__append_228) $(am__append_234) \ + $(am__append_240) $(am__append_246) $(am__append_252) \ + $(am__append_258) $(am__append_264) $(am__append_270) \ + $(am__append_276) $(am__append_282) $(am__append_288) \ + $(am__append_294) $(am__append_300) $(am__append_306) \ + $(am__append_312) $(am__append_318) $(am__append_324) \ + $(am__append_330) $(am__append_336) $(am__append_342) \ + $(am__append_348) $(am__append_354) $(am__append_360) \ + $(am__append_366) $(am__append_372) $(am__append_378) \ + $(am__append_384) $(am__append_390) $(am__append_396) \ + $(am__append_402) $(am__append_408) $(am__append_414) \ + $(am__append_420) $(am__append_426) $(am__append_432) \ + $(am__append_438) $(am__append_444) $(am__append_450) \ + $(am__append_456) $(am__append_462) $(am__append_468) \ + $(am__append_474) $(am__append_480) $(am__append_486) \ + $(am__append_492) $(am__append_498) $(am__append_504) \ + $(am__append_510) $(am__append_516) $(am__append_522) \ + $(am__append_528) $(am__append_534) $(am__append_540) \ + $(am__append_546) $(am__append_552) $(am__append_558) \ + $(am__append_564) $(am__append_570) $(am__append_576) \ + $(am__append_582) $(am__append_588) $(am__append_594) \ + $(am__append_600) $(am__append_606) $(am__append_612) \ + $(am__append_618) $(am__append_624) $(am__append_630) \ + $(am__append_636) $(am__append_642) $(am__append_648) \ + $(am__append_654) $(am__append_660) $(am__append_666) \ + $(am__append_672) $(am__append_678) $(am__append_684) \ + $(am__append_690) $(am__append_696) $(am__append_702) \ + $(am__append_708) $(am__append_714) $(am__append_720) \ + $(am__append_726) $(am__append_732) $(am__append_738) \ + $(am__append_744) $(am__append_750) $(am__append_756) \ + $(am__append_762) $(am__append_768) $(am__append_774) \ + $(am__append_780) $(am__append_786) $(am__append_792) \ + $(am__append_798) $(am__append_804) $(am__append_810) \ + $(am__append_816) $(am__append_822) $(am__append_828) \ + $(am__append_834) $(am__append_840) $(am__append_846) \ + $(am__append_852) $(am__append_858) $(am__append_864) \ + $(am__append_870) $(am__append_876) $(am__append_882) \ + $(am__append_888) $(am__append_894) $(am__append_900) \ + $(am__append_906) $(am__append_912) $(am__append_918) \ + $(am__append_924) $(am__append_930) $(am__append_936) \ + $(am__append_942) $(am__append_948) $(am__append_954) \ + $(am__append_960) $(am__append_966) $(am__append_972) \ + $(am__append_978) $(am__append_984) $(am__append_990) \ + $(am__append_996) $(am__append_1002) $(am__append_1008) \ + $(am__append_1014) $(am__append_1020) $(am__append_1026) \ + $(am__append_1032) $(am__append_1038) $(am__append_1044) \ + $(am__append_1050) $(am__append_1056) $(am__append_1062) \ + $(am__append_1068) $(am__append_1074) $(am__append_1079) \ + $(am__append_1084) $(am__append_1089) $(am__append_1094) \ + $(am__append_1099) $(am__append_1104) $(am__append_1109) \ + $(am__append_1114) $(am__append_1119) $(am__append_1124) \ + $(am__append_1129) $(am__append_1135) $(am__append_1141) \ + $(am__append_1147) $(am__append_1153) $(am__append_1159) \ + $(am__append_1165) $(am__append_1171) $(am__append_1177) \ + $(am__append_1183) $(am__append_1189) $(am__append_1195) \ + $(am__append_3054) $(am__append_3056) $(am__append_3058) \ + $(am__append_3060) $(am__append_3062) $(am__append_3064) \ + $(am__append_3066) $(am__append_3068) $(am__append_3070) \ + $(am__append_3072) $(am__append_3074) +CLEANFILES = $(am__append_17) $(am__append_26) $(am__append_35) \ + $(am__append_44) $(am__append_53) $(am__append_62) \ + $(am__append_71) $(am__append_80) $(am__append_89) \ + $(am__append_98) $(am__append_107) $(am__append_116) \ + $(am__append_125) $(am__append_134) $(am__append_143) \ + $(am__append_152) $(am__append_161) $(am__append_170) \ + $(am__append_179) $(am__append_188) $(am__append_197) \ + $(am__append_206) $(am__append_209) $(am__append_212) \ + $(am__append_215) $(am__append_218) $(am__append_221) \ + $(am__append_224) $(am__append_227) $(am__append_230) \ + $(am__append_233) $(am__append_236) $(am__append_239) \ + $(am__append_242) $(am__append_245) $(am__append_248) \ + $(am__append_251) $(am__append_254) $(am__append_257) \ + $(am__append_260) $(am__append_263) $(am__append_266) \ + $(am__append_269) $(am__append_272) $(am__append_275) \ + $(am__append_278) $(am__append_281) $(am__append_284) \ + $(am__append_287) $(am__append_290) $(am__append_293) \ + $(am__append_296) $(am__append_299) $(am__append_302) \ + $(am__append_305) $(am__append_308) $(am__append_311) \ + $(am__append_314) $(am__append_317) $(am__append_320) \ + $(am__append_323) $(am__append_326) $(am__append_329) \ + $(am__append_332) $(am__append_335) $(am__append_338) \ + $(am__append_341) $(am__append_344) $(am__append_347) \ + $(am__append_350) $(am__append_353) $(am__append_356) \ + $(am__append_359) $(am__append_362) $(am__append_365) \ + $(am__append_368) $(am__append_371) $(am__append_374) \ + $(am__append_377) $(am__append_380) $(am__append_383) \ + $(am__append_386) $(am__append_389) $(am__append_392) \ + $(am__append_395) $(am__append_398) $(am__append_401) \ + $(am__append_404) $(am__append_407) $(am__append_410) \ + $(am__append_413) $(am__append_416) $(am__append_419) \ + $(am__append_422) $(am__append_425) $(am__append_428) \ + $(am__append_431) $(am__append_434) $(am__append_437) \ + $(am__append_440) $(am__append_443) $(am__append_446) \ + $(am__append_449) $(am__append_452) $(am__append_455) \ + $(am__append_458) $(am__append_461) $(am__append_464) \ + $(am__append_467) $(am__append_470) $(am__append_473) \ + $(am__append_476) $(am__append_479) $(am__append_482) \ + $(am__append_485) $(am__append_488) $(am__append_491) \ + $(am__append_494) $(am__append_497) $(am__append_500) \ + $(am__append_503) $(am__append_506) $(am__append_509) \ + $(am__append_512) $(am__append_515) $(am__append_518) \ + $(am__append_521) $(am__append_524) $(am__append_527) \ + $(am__append_530) $(am__append_533) $(am__append_536) \ + $(am__append_539) $(am__append_542) $(am__append_545) \ + $(am__append_548) $(am__append_551) $(am__append_554) \ + $(am__append_557) $(am__append_560) $(am__append_563) \ + $(am__append_566) $(am__append_569) $(am__append_572) \ + $(am__append_575) $(am__append_578) $(am__append_581) \ + $(am__append_584) $(am__append_587) $(am__append_590) \ + $(am__append_593) $(am__append_596) $(am__append_599) \ + $(am__append_602) $(am__append_605) $(am__append_608) \ + $(am__append_611) $(am__append_614) $(am__append_617) \ + $(am__append_620) $(am__append_623) $(am__append_626) \ + $(am__append_629) $(am__append_632) $(am__append_635) \ + $(am__append_638) $(am__append_641) $(am__append_644) \ + $(am__append_647) $(am__append_650) $(am__append_653) \ + $(am__append_656) $(am__append_659) $(am__append_662) \ + $(am__append_665) $(am__append_668) $(am__append_671) \ + $(am__append_674) $(am__append_677) $(am__append_680) \ + $(am__append_683) $(am__append_686) $(am__append_689) \ + $(am__append_692) $(am__append_695) $(am__append_698) \ + $(am__append_701) $(am__append_704) $(am__append_707) \ + $(am__append_710) $(am__append_713) $(am__append_716) \ + $(am__append_719) $(am__append_722) $(am__append_725) \ + $(am__append_728) $(am__append_731) $(am__append_734) \ + $(am__append_737) $(am__append_740) $(am__append_743) \ + $(am__append_746) $(am__append_749) $(am__append_752) \ + $(am__append_755) $(am__append_758) $(am__append_761) \ + $(am__append_764) $(am__append_767) $(am__append_770) \ + $(am__append_773) $(am__append_776) $(am__append_779) \ + $(am__append_782) $(am__append_785) $(am__append_788) \ + $(am__append_791) $(am__append_794) $(am__append_797) \ + $(am__append_800) $(am__append_803) $(am__append_806) \ + $(am__append_809) $(am__append_812) $(am__append_815) \ + $(am__append_818) $(am__append_821) $(am__append_824) \ + $(am__append_827) $(am__append_830) $(am__append_833) \ + $(am__append_836) $(am__append_839) $(am__append_842) \ + $(am__append_845) $(am__append_848) $(am__append_851) \ + $(am__append_854) $(am__append_857) $(am__append_860) \ + $(am__append_863) $(am__append_866) $(am__append_869) \ + $(am__append_872) $(am__append_875) $(am__append_878) \ + $(am__append_881) $(am__append_884) $(am__append_887) \ + $(am__append_890) $(am__append_893) $(am__append_896) \ + $(am__append_899) $(am__append_902) $(am__append_905) \ + $(am__append_908) $(am__append_911) $(am__append_914) \ + $(am__append_917) $(am__append_920) $(am__append_923) \ + $(am__append_926) $(am__append_929) $(am__append_932) \ + $(am__append_935) $(am__append_938) $(am__append_941) \ + $(am__append_944) $(am__append_947) $(am__append_950) \ + $(am__append_953) $(am__append_956) $(am__append_959) \ + $(am__append_962) $(am__append_965) $(am__append_968) \ + $(am__append_971) $(am__append_974) $(am__append_977) \ + $(am__append_980) $(am__append_983) $(am__append_986) \ + $(am__append_989) $(am__append_992) $(am__append_995) \ + $(am__append_998) $(am__append_1001) $(am__append_1004) \ + $(am__append_1007) $(am__append_1010) $(am__append_1013) \ + $(am__append_1016) $(am__append_1019) $(am__append_1022) \ + $(am__append_1025) $(am__append_1028) $(am__append_1031) \ + $(am__append_1034) $(am__append_1037) $(am__append_1040) \ + $(am__append_1043) $(am__append_1046) $(am__append_1049) \ + $(am__append_1052) $(am__append_1055) $(am__append_1058) \ + $(am__append_1061) $(am__append_1064) $(am__append_1067) \ + $(am__append_1070) $(am__append_1073) $(am__append_1076) \ + $(am__append_1081) $(am__append_1086) $(am__append_1091) \ + $(am__append_1096) $(am__append_1101) $(am__append_1106) \ + $(am__append_1111) $(am__append_1116) $(am__append_1121) \ + $(am__append_1126) $(am__append_1131) $(am__append_1134) \ + $(am__append_1137) $(am__append_1140) $(am__append_1143) \ + $(am__append_1146) $(am__append_1149) $(am__append_1152) \ + $(am__append_1155) $(am__append_1158) $(am__append_1161) \ + $(am__append_1164) $(am__append_1167) $(am__append_1170) \ + $(am__append_1173) $(am__append_1176) $(am__append_1179) \ + $(am__append_1182) $(am__append_1185) $(am__append_1188) \ + $(am__append_1191) $(am__append_1194) $(am__append_1197) \ + $(am__append_1199) $(am__append_1202) $(am__append_1205) \ + $(am__append_1208) $(am__append_1211) $(am__append_1214) \ + $(am__append_1217) $(am__append_1220) $(am__append_1223) \ + $(am__append_1226) $(am__append_1229) $(am__append_1232) \ + $(am__append_1235) $(am__append_1238) $(am__append_1241) \ + $(am__append_1244) $(am__append_1247) $(am__append_1250) \ + $(am__append_1253) $(am__append_1256) $(am__append_1259) \ + $(am__append_1262) $(am__append_1265) $(am__append_1268) \ + $(am__append_1271) $(am__append_1274) $(am__append_1277) \ + $(am__append_1280) $(am__append_1283) $(am__append_1286) \ + $(am__append_1289) $(am__append_1292) $(am__append_1295) \ + $(am__append_1298) $(am__append_1301) $(am__append_1304) \ + $(am__append_1307) $(am__append_1310) $(am__append_1313) \ + $(am__append_1316) $(am__append_1319) $(am__append_1322) \ + $(am__append_1325) $(am__append_1328) $(am__append_1331) \ + $(am__append_1334) $(am__append_1337) $(am__append_1340) \ + $(am__append_1343) $(am__append_1346) $(am__append_1349) \ + $(am__append_1352) $(am__append_1355) $(am__append_1358) \ + $(am__append_1361) $(am__append_1364) $(am__append_1367) \ + $(am__append_1370) $(am__append_1373) $(am__append_1376) \ + $(am__append_1379) $(am__append_1382) $(am__append_1385) \ + $(am__append_1388) $(am__append_1391) $(am__append_1394) \ + $(am__append_1397) $(am__append_1400) $(am__append_1403) \ + $(am__append_1406) $(am__append_1409) $(am__append_1412) \ + $(am__append_1415) $(am__append_1418) $(am__append_1421) \ + $(am__append_1424) $(am__append_1427) $(am__append_1430) \ + $(am__append_1433) $(am__append_1436) $(am__append_1439) \ + $(am__append_1442) $(am__append_1445) $(am__append_1448) \ + $(am__append_1451) $(am__append_1454) $(am__append_1457) \ + $(am__append_1460) $(am__append_1463) $(am__append_1466) \ + $(am__append_1469) $(am__append_1472) $(am__append_1475) \ + $(am__append_1478) $(am__append_1481) $(am__append_1484) \ + $(am__append_1487) $(am__append_1490) $(am__append_1493) \ + $(am__append_1496) $(am__append_1499) $(am__append_1502) \ + $(am__append_1505) $(am__append_1508) $(am__append_1511) \ + $(am__append_1514) $(am__append_1517) $(am__append_1520) \ + $(am__append_1523) $(am__append_1526) $(am__append_1530) \ + $(am__append_1531) $(am__append_1535) $(am__append_1536) \ + $(am__append_1540) $(am__append_1541) $(am__append_1545) \ + $(am__append_1546) $(am__append_1550) $(am__append_1551) \ + $(am__append_1555) $(am__append_1556) $(am__append_1560) \ + $(am__append_1561) $(am__append_1565) $(am__append_1566) \ + $(am__append_1570) $(am__append_1571) $(am__append_1575) \ + $(am__append_1576) $(am__append_1580) $(am__append_1581) \ + $(am__append_1585) $(am__append_1586) $(am__append_1590) \ + $(am__append_1591) $(am__append_1595) $(am__append_1596) \ + $(am__append_1600) $(am__append_1601) $(am__append_1605) \ + $(am__append_1606) $(am__append_1610) $(am__append_1611) \ + $(am__append_1615) $(am__append_1616) $(am__append_1620) \ + $(am__append_1621) $(am__append_1625) $(am__append_1626) \ + $(am__append_1630) $(am__append_1631) $(am__append_1635) \ + $(am__append_1636) $(am__append_1640) $(am__append_1641) \ + $(am__append_1645) $(am__append_1646) $(am__append_1650) \ + $(am__append_1651) $(am__append_1655) $(am__append_1656) \ + $(am__append_1660) $(am__append_1661) $(am__append_1665) \ + $(am__append_1666) $(am__append_1670) $(am__append_1671) \ + $(am__append_1675) $(am__append_1676) $(am__append_1680) \ + $(am__append_1681) $(am__append_1685) $(am__append_1686) \ + $(am__append_1690) $(am__append_1691) $(am__append_1695) \ + $(am__append_1696) $(am__append_1700) $(am__append_1701) \ + $(am__append_1705) $(am__append_1706) $(am__append_1710) \ + $(am__append_1711) $(am__append_1715) $(am__append_1716) \ + $(am__append_1720) $(am__append_1721) $(am__append_1725) \ + $(am__append_1726) $(am__append_1730) $(am__append_1731) \ + $(am__append_1735) $(am__append_1736) $(am__append_1740) \ + $(am__append_1741) $(am__append_1745) $(am__append_1746) \ + $(am__append_1750) $(am__append_1751) $(am__append_1755) \ + $(am__append_1756) $(am__append_1760) $(am__append_1761) \ + $(am__append_1765) $(am__append_1766) $(am__append_1770) \ + $(am__append_1771) $(am__append_1775) $(am__append_1776) \ + $(am__append_1780) $(am__append_1781) $(am__append_1785) \ + $(am__append_1786) $(am__append_1790) $(am__append_1791) \ + $(am__append_1795) $(am__append_1796) $(am__append_1800) \ + $(am__append_1801) $(am__append_1805) $(am__append_1806) \ + $(am__append_1810) $(am__append_1811) $(am__append_1815) \ + $(am__append_1816) $(am__append_1820) $(am__append_1821) \ + $(am__append_1825) $(am__append_1826) $(am__append_1830) \ + $(am__append_1831) $(am__append_1834) $(am__append_1837) \ + $(am__append_1840) $(am__append_1843) $(am__append_1846) \ + $(am__append_1849) $(am__append_1852) $(am__append_1855) \ + $(am__append_1858) $(am__append_1861) $(am__append_1864) \ + $(am__append_1867) $(am__append_1870) $(am__append_1873) \ + $(am__append_1876) $(am__append_1879) $(am__append_1882) \ + $(am__append_1885) $(am__append_1888) $(am__append_1891) \ + $(am__append_1894) $(am__append_1897) $(am__append_1900) \ + $(am__append_1903) $(am__append_1906) $(am__append_1909) \ + $(am__append_1912) $(am__append_1915) $(am__append_1918) \ + $(am__append_1921) $(am__append_1924) $(am__append_1927) \ + $(am__append_1930) $(am__append_1933) $(am__append_1936) \ + $(am__append_1939) $(am__append_1942) $(am__append_1945) \ + $(am__append_1948) $(am__append_1951) $(am__append_1954) \ + $(am__append_1957) $(am__append_1960) $(am__append_1963) \ + $(am__append_1966) $(am__append_1969) $(am__append_1972) \ + $(am__append_1975) $(am__append_1978) $(am__append_1981) \ + $(am__append_1984) $(am__append_1987) $(am__append_1990) \ + $(am__append_1993) $(am__append_1996) $(am__append_2000) \ + $(am__append_2004) $(am__append_2008) $(am__append_2012) \ + $(am__append_2016) $(am__append_2020) $(am__append_2024) \ + $(am__append_2028) $(am__append_2032) $(am__append_2036) \ + $(am__append_2040) $(am__append_2044) $(am__append_2048) \ + $(am__append_2052) $(am__append_2056) $(am__append_2060) \ + $(am__append_2064) $(am__append_2068) $(am__append_2072) \ + $(am__append_2076) $(am__append_2080) $(am__append_2084) \ + $(am__append_2088) $(am__append_2092) $(am__append_2096) \ + $(am__append_2100) $(am__append_2104) $(am__append_2108) \ + $(am__append_2112) $(am__append_2116) $(am__append_2120) \ + $(am__append_2124) $(am__append_2128) $(am__append_2132) \ + $(am__append_2136) $(am__append_2140) $(am__append_2144) \ + $(am__append_2148) $(am__append_2152) $(am__append_2156) \ + $(am__append_2160) $(am__append_2164) $(am__append_2168) \ + $(am__append_2172) $(am__append_2176) $(am__append_2180) \ + $(am__append_2184) $(am__append_2188) $(am__append_2192) \ + $(am__append_2196) $(am__append_2200) $(am__append_2204) \ + $(am__append_2208) $(am__append_2212) $(am__append_2216) \ + $(am__append_2220) $(am__append_2224) $(am__append_2228) \ + $(am__append_2232) $(am__append_2236) $(am__append_2240) \ + $(am__append_2244) $(am__append_2248) $(am__append_2252) \ + $(am__append_2256) $(am__append_2260) $(am__append_2264) \ + $(am__append_2268) $(am__append_2272) $(am__append_2276) \ + $(am__append_2280) $(am__append_2284) $(am__append_2288) \ + $(am__append_2292) $(am__append_2296) $(am__append_2300) \ + $(am__append_2304) $(am__append_2308) $(am__append_2312) \ + $(am__append_2316) $(am__append_2320) $(am__append_2324) \ + $(am__append_2328) $(am__append_2332) $(am__append_2336) \ + $(am__append_2340) $(am__append_2344) $(am__append_2348) \ + $(am__append_2352) $(am__append_2356) $(am__append_2360) \ + $(am__append_2364) $(am__append_2368) $(am__append_2372) \ + $(am__append_2376) $(am__append_2380) $(am__append_2384) \ + $(am__append_2388) $(am__append_2392) $(am__append_2396) \ + $(am__append_2400) $(am__append_2404) $(am__append_2408) \ + $(am__append_2412) $(am__append_2416) $(am__append_2420) \ + $(am__append_2424) $(am__append_2428) $(am__append_2432) \ + $(am__append_2436) $(am__append_2440) $(am__append_2444) \ + $(am__append_2448) $(am__append_2452) $(am__append_2456) \ + $(am__append_2460) $(am__append_2464) $(am__append_2468) \ + $(am__append_2472) $(am__append_2476) $(am__append_2480) \ + $(am__append_2484) $(am__append_2488) $(am__append_2492) \ + $(am__append_2496) $(am__append_2500) $(am__append_2504) \ + $(am__append_2508) $(am__append_2512) $(am__append_2516) \ + $(am__append_2520) $(am__append_2524) $(am__append_2528) \ + $(am__append_2532) $(am__append_2536) $(am__append_2540) \ + $(am__append_2544) $(am__append_2548) $(am__append_2552) \ + $(am__append_2556) $(am__append_2560) $(am__append_2564) \ + $(am__append_2568) $(am__append_2572) $(am__append_2576) \ + $(am__append_2580) $(am__append_2584) $(am__append_2588) \ + $(am__append_2592) $(am__append_2596) $(am__append_2600) \ + $(am__append_2604) $(am__append_2608) $(am__append_2612) \ + $(am__append_2616) $(am__append_2620) $(am__append_2624) \ + $(am__append_2628) $(am__append_2632) $(am__append_2636) \ + $(am__append_2640) $(am__append_2644) $(am__append_2648) \ + $(am__append_2652) $(am__append_2656) $(am__append_2660) \ + $(am__append_2664) $(am__append_2668) $(am__append_2672) \ + $(am__append_2676) $(am__append_2680) $(am__append_2684) \ + $(am__append_2688) $(am__append_2692) $(am__append_2696) \ + $(am__append_2700) $(am__append_2704) $(am__append_2708) \ + $(am__append_2712) $(am__append_2716) $(am__append_2720) \ + $(am__append_2724) $(am__append_2728) $(am__append_2732) \ + $(am__append_2736) $(am__append_2740) $(am__append_2744) \ + $(am__append_2748) $(am__append_2752) $(am__append_2756) \ + $(am__append_2760) $(am__append_2764) $(am__append_2768) \ + $(am__append_2772) $(am__append_2776) $(am__append_2780) \ + $(am__append_2784) $(am__append_2788) $(am__append_2792) \ + $(am__append_2796) $(am__append_2800) $(am__append_2804) \ + $(am__append_2808) $(am__append_2812) $(am__append_2816) \ + $(am__append_2820) $(am__append_2824) $(am__append_2828) \ + $(am__append_2832) $(am__append_2836) $(am__append_2840) \ + $(am__append_2844) $(am__append_2848) $(am__append_2852) \ + $(am__append_2856) $(am__append_2860) $(am__append_2864) \ + $(am__append_2868) $(am__append_2872) $(am__append_2876) \ + $(am__append_2880) $(am__append_2884) $(am__append_2888) \ + $(am__append_2892) $(am__append_2896) $(am__append_2900) \ + $(am__append_2904) $(am__append_2908) $(am__append_2912) \ + $(am__append_2916) $(am__append_2920) $(am__append_2924) \ + $(am__append_2928) $(am__append_2932) $(am__append_2936) \ + $(am__append_2940) $(am__append_2944) $(am__append_2948) \ + $(am__append_2952) $(am__append_2956) $(am__append_2960) \ + $(am__append_2964) $(am__append_2968) $(am__append_2972) \ + $(am__append_2976) $(am__append_2980) $(am__append_2984) \ + $(am__append_2988) $(am__append_2992) $(am__append_2996) \ + $(am__append_3000) $(am__append_3004) $(am__append_3008) \ + $(am__append_3012) $(am__append_3016) $(am__append_3020) \ + $(am__append_3024) $(am__append_3028) $(am__append_3032) \ + $(am__append_3036) $(am__append_3040) $(am__append_3044) \ + $(am__append_3048) $(am__append_3052) grub_script.tab.c \ + grub_script.tab.h grub_script.yy.c grub_script.yy.h libgrub.pp \ + libgrub_a_init.lst libgrub_a_init.c grub_fstest.pp \ + grub_fstest_init.lst grub_fstest_init.c unicode.pf2 ascii.pf2 \ + euro.pf2 ascii.bitmaps ascii.h \ + $(top_builddir)/grub-core/include/ascii.h widthspec.bin \ + widthspec.h linux.init.i386 kfreebsd.init.i386 \ + linux.init.x86_64 linux-initramfs.i386 linux-initramfs.x86_64 +BUILT_SOURCES = $(am__append_16) $(am__append_25) $(am__append_34) \ + $(am__append_43) $(am__append_52) $(am__append_61) \ + $(am__append_70) $(am__append_79) $(am__append_88) \ + $(am__append_97) $(am__append_106) $(am__append_115) \ + $(am__append_124) $(am__append_133) $(am__append_142) \ + $(am__append_151) $(am__append_160) $(am__append_169) \ + $(am__append_178) $(am__append_187) $(am__append_196) \ + $(am__append_205) $(am__append_211) $(am__append_217) \ + $(am__append_223) $(am__append_229) $(am__append_235) \ + $(am__append_241) $(am__append_247) $(am__append_253) \ + $(am__append_259) $(am__append_265) $(am__append_271) \ + $(am__append_277) $(am__append_283) $(am__append_289) \ + $(am__append_295) $(am__append_301) $(am__append_307) \ + $(am__append_313) $(am__append_319) $(am__append_325) \ + $(am__append_331) $(am__append_337) $(am__append_343) \ + $(am__append_349) $(am__append_355) $(am__append_361) \ + $(am__append_367) $(am__append_373) $(am__append_379) \ + $(am__append_385) $(am__append_391) $(am__append_397) \ + $(am__append_403) $(am__append_409) $(am__append_415) \ + $(am__append_421) $(am__append_427) $(am__append_433) \ + $(am__append_439) $(am__append_445) $(am__append_451) \ + $(am__append_457) $(am__append_463) $(am__append_469) \ + $(am__append_475) $(am__append_481) $(am__append_487) \ + $(am__append_493) $(am__append_499) $(am__append_505) \ + $(am__append_511) $(am__append_517) $(am__append_523) \ + $(am__append_529) $(am__append_535) $(am__append_541) \ + $(am__append_547) $(am__append_553) $(am__append_559) \ + $(am__append_565) $(am__append_571) $(am__append_577) \ + $(am__append_583) $(am__append_589) $(am__append_595) \ + $(am__append_601) $(am__append_607) $(am__append_613) \ + $(am__append_619) $(am__append_625) $(am__append_631) \ + $(am__append_637) $(am__append_643) $(am__append_649) \ + $(am__append_655) $(am__append_661) $(am__append_667) \ + $(am__append_673) $(am__append_679) $(am__append_685) \ + $(am__append_691) $(am__append_697) $(am__append_703) \ + $(am__append_709) $(am__append_715) $(am__append_721) \ + $(am__append_727) $(am__append_733) $(am__append_739) \ + $(am__append_745) $(am__append_751) $(am__append_757) \ + $(am__append_763) $(am__append_769) $(am__append_775) \ + $(am__append_781) $(am__append_787) $(am__append_793) \ + $(am__append_799) $(am__append_805) $(am__append_811) \ + $(am__append_817) $(am__append_823) $(am__append_829) \ + $(am__append_835) $(am__append_841) $(am__append_847) \ + $(am__append_853) $(am__append_859) $(am__append_865) \ + $(am__append_871) $(am__append_877) $(am__append_883) \ + $(am__append_889) $(am__append_895) $(am__append_901) \ + $(am__append_907) $(am__append_913) $(am__append_919) \ + $(am__append_925) $(am__append_931) $(am__append_937) \ + $(am__append_943) $(am__append_949) $(am__append_955) \ + $(am__append_961) $(am__append_967) $(am__append_973) \ + $(am__append_979) $(am__append_985) $(am__append_991) \ + $(am__append_997) $(am__append_1003) $(am__append_1009) \ + $(am__append_1015) $(am__append_1021) $(am__append_1027) \ + $(am__append_1033) $(am__append_1039) $(am__append_1045) \ + $(am__append_1051) $(am__append_1057) $(am__append_1063) \ + $(am__append_1069) $(am__append_1075) $(am__append_1080) \ + $(am__append_1085) $(am__append_1090) $(am__append_1095) \ + $(am__append_1100) $(am__append_1105) $(am__append_1110) \ + $(am__append_1115) $(am__append_1120) $(am__append_1125) \ + $(am__append_1130) $(am__append_1136) $(am__append_1142) \ + $(am__append_1148) $(am__append_1154) $(am__append_1160) \ + $(am__append_1166) $(am__append_1172) $(am__append_1178) \ + $(am__append_1184) $(am__append_1190) $(am__append_1196) +AM_CFLAGS = $(HOST_CFLAGS) +AM_LDFLAGS = $(HOST_LDFLAGS) +AM_CPPFLAGS = $(HOST_CPPFLAGS) $(CPPFLAGS_DEFAULT) +AM_CCASFLAGS = $(HOST_CCASFLAGS) $(CCASFLAGS_DEFAULT) +ACLOCAL_AMFLAGS = -I m4 +libgrubkern_a_SOURCES = $(am__append_10) $(am__append_19) \ + $(am__append_28) $(am__append_37) $(am__append_46) \ + $(am__append_55) $(am__append_64) $(am__append_73) \ + $(am__append_82) $(am__append_91) $(am__append_100) +nodist_libgrubkern_a_SOURCES = $(am__append_11) $(am__append_20) \ + $(am__append_29) $(am__append_38) $(am__append_47) \ + $(am__append_56) $(am__append_65) $(am__append_74) \ + $(am__append_83) $(am__append_92) $(am__append_101) +libgrubkern_a_CFLAGS = $(am__append_12) $(am__append_21) \ + $(am__append_30) $(am__append_39) $(am__append_48) \ + $(am__append_57) $(am__append_66) $(am__append_75) \ + $(am__append_84) $(am__append_93) $(am__append_102) +libgrubkern_a_CPPFLAGS = $(am__append_13) $(am__append_22) \ + $(am__append_31) $(am__append_40) $(am__append_49) \ + $(am__append_58) $(am__append_67) $(am__append_76) \ + $(am__append_85) $(am__append_94) $(am__append_103) +libgrubkern_a_CCASFLAGS = $(am__append_14) $(am__append_23) \ + $(am__append_32) $(am__append_41) $(am__append_50) \ + $(am__append_59) $(am__append_68) $(am__append_77) \ + $(am__append_86) $(am__append_95) $(am__append_104) +libgrubmods_a_SOURCES = $(am__append_109) $(am__append_118) \ + $(am__append_127) $(am__append_136) $(am__append_145) \ + $(am__append_154) $(am__append_163) $(am__append_172) \ + $(am__append_181) $(am__append_190) $(am__append_199) +nodist_libgrubmods_a_SOURCES = $(am__append_110) $(am__append_119) \ + $(am__append_128) $(am__append_137) $(am__append_146) \ + $(am__append_155) $(am__append_164) $(am__append_173) \ + $(am__append_182) $(am__append_191) $(am__append_200) +libgrubmods_a_CFLAGS = $(am__append_111) $(am__append_120) \ + $(am__append_129) $(am__append_138) $(am__append_147) \ + $(am__append_156) $(am__append_165) $(am__append_174) \ + $(am__append_183) $(am__append_192) $(am__append_201) +libgrubmods_a_CPPFLAGS = $(am__append_112) $(am__append_121) \ + $(am__append_130) $(am__append_139) $(am__append_148) \ + $(am__append_157) $(am__append_166) $(am__append_175) \ + $(am__append_184) $(am__append_193) $(am__append_202) +libgrubmods_a_CCASFLAGS = $(am__append_113) $(am__append_122) \ + $(am__append_131) $(am__append_140) $(am__append_149) \ + $(am__append_158) $(am__append_167) $(am__append_176) \ + $(am__append_185) $(am__append_194) $(am__append_203) +@COND_emu_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_i386_coreboot_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_i386_efi_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_i386_ieee1275_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_i386_multiboot_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_i386_pc_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_i386_qemu_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_mips_yeeloong_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_powerpc_ieee1275_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_sparc64_ieee1275_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_x86_64_efi_TRUE@grub_bin2h_SOURCES = util/bin2h.c +@COND_emu_TRUE@nodist_grub_bin2h_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_bin2h_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_bin2h_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_bin2h_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_bin2h_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_bin2h_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_bin2h_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_bin2h_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_bin2h_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_bin2h_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_bin2h_SOURCES = +@COND_emu_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_i386_coreboot_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_i386_efi_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_i386_ieee1275_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_i386_multiboot_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_i386_pc_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_i386_qemu_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_mips_yeeloong_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_powerpc_ieee1275_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_sparc64_ieee1275_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_x86_64_efi_TRUE@grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +@COND_emu_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_i386_coreboot_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_i386_efi_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_i386_ieee1275_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_i386_multiboot_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_i386_pc_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_i386_qemu_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_mips_yeeloong_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_powerpc_ieee1275_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_sparc64_ieee1275_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_x86_64_efi_TRUE@grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +@COND_emu_TRUE@nodist_grub_mkimage_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_mkimage_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_mkimage_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_mkimage_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_mkimage_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_mkimage_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_mkimage_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_mkimage_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_mkimage_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_mkimage_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_mkimage_SOURCES = +@COND_emu_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_i386_coreboot_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_i386_efi_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_i386_ieee1275_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_i386_multiboot_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_i386_pc_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_i386_qemu_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_mips_yeeloong_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_powerpc_ieee1275_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_sparc64_ieee1275_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_x86_64_efi_TRUE@grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +@COND_emu_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_i386_coreboot_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_i386_efi_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_i386_ieee1275_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_i386_multiboot_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_i386_pc_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_i386_qemu_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_mips_yeeloong_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_x86_64_efi_TRUE@grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +@COND_emu_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_mkrelpath_SOURCES = +@COND_emu_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_i386_coreboot_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_i386_efi_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_i386_ieee1275_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_i386_multiboot_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_i386_pc_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_i386_qemu_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_mips_yeeloong_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_powerpc_ieee1275_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_sparc64_ieee1275_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_x86_64_efi_TRUE@grub_script_check_SOURCES = util/grub-script-check.c +@COND_emu_TRUE@nodist_grub_script_check_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_script_check_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_script_check_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_script_check_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_script_check_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_script_check_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_script_check_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_script_check_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_script_check_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_script_check_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_script_check_SOURCES = +@COND_emu_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_i386_coreboot_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_i386_efi_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_i386_ieee1275_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_i386_multiboot_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_i386_pc_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_i386_qemu_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_mips_yeeloong_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_powerpc_ieee1275_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_sparc64_ieee1275_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_x86_64_efi_TRUE@grub_editenv_SOURCES = util/grub-editenv.c +@COND_emu_TRUE@nodist_grub_editenv_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_editenv_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_editenv_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_editenv_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_editenv_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_editenv_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_editenv_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_editenv_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_editenv_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_editenv_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_editenv_SOURCES = +@COND_emu_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +@COND_emu_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_mkpasswd_pbkdf2_SOURCES = +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@grub_macho2img_SOURCES = util/grub-macho2img.c +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@nodist_grub_macho2img_SOURCES = +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@grub_macho2img_LDADD = +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_emu_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_coreboot_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_efi_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_ieee1275_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_multiboot_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_pc_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_i386_qemu_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_mips_yeeloong_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_powerpc_ieee1275_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_sparc64_ieee1275_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_APPLE_CC_TRUE@@COND_x86_64_efi_TRUE@grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@grub_pe2elf_SOURCES = util/grub-pe2elf.c +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@nodist_grub_pe2elf_SOURCES = +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_emu_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_coreboot_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_efi_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_ieee1275_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_multiboot_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_pc_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_i386_qemu_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_mips_yeeloong_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_powerpc_ieee1275_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_sparc64_ieee1275_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_PE2ELF_TRUE@@COND_x86_64_efi_TRUE@grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_i386_coreboot_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_i386_efi_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_i386_ieee1275_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_i386_multiboot_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_i386_pc_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_i386_qemu_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_mips_yeeloong_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_powerpc_ieee1275_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_sparc64_ieee1275_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_x86_64_efi_TRUE@grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +@COND_emu_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_i386_coreboot_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_i386_efi_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_i386_ieee1275_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_i386_multiboot_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_i386_pc_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_i386_qemu_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_mips_yeeloong_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_powerpc_ieee1275_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_sparc64_ieee1275_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_x86_64_efi_TRUE@nodist_grub_fstest_SOURCES = grub_fstest_init.c +@COND_emu_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +@COND_emu_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@nodist_grub_mkfont_SOURCES = +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_emu_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_coreboot_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_efi_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_ieee1275_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_multiboot_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_pc_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_i386_qemu_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_mips_yeeloong_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_powerpc_ieee1275_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_sparc64_ieee1275_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_x86_64_efi_TRUE@grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_i386_coreboot_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_i386_efi_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_i386_ieee1275_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_i386_multiboot_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_i386_pc_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_i386_qemu_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_mips_yeeloong_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_SOURCES = util/ieee1275/ofpath.c util/ieee1275/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_x86_64_efi_TRUE@grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +@COND_emu_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_mkdevicemap_SOURCES = +@COND_emu_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_i386_coreboot_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_i386_efi_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_i386_ieee1275_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_i386_multiboot_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_i386_pc_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_i386_qemu_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_mips_yeeloong_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_powerpc_ieee1275_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_sparc64_ieee1275_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_x86_64_efi_TRUE@grub_probe_SOURCES = util/grub-probe.c +@COND_emu_TRUE@nodist_grub_probe_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_probe_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_probe_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_probe_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_probe_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_probe_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_probe_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_probe_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_probe_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_probe_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_probe_SOURCES = +@COND_emu_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_setup_SOURCES = util/grub-setup.c util/raid.c util/lvm.c grub-core/lib/reed_solomon.c +@COND_sparc64_ieee1275_TRUE@grub_setup_SOURCES = util/ieee1275/ofpath.c util/grub-setup.c util/raid.c util/lvm.c grub-core/lib/reed_solomon.c +@COND_i386_pc_TRUE@nodist_grub_setup_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_setup_SOURCES = +@COND_i386_pc_TRUE@grub_setup_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_setup_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_setup_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_setup_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_setup_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_setup_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_setup_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_setup_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_setup_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_setup_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_SOURCES = util/ieee1275/grub-ofpathname.c util/ieee1275/ofpath.c +@COND_sparc64_ieee1275_TRUE@nodist_grub_ofpathname_SOURCES = +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_ofpathname_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_i386_coreboot_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_i386_efi_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_i386_ieee1275_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_i386_multiboot_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_i386_pc_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_i386_qemu_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_mips_yeeloong_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_powerpc_ieee1275_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_sparc64_ieee1275_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_x86_64_efi_TRUE@grub_mklayout_SOURCES = util/grub-mklayout.c +@COND_emu_TRUE@nodist_grub_mklayout_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_mklayout_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_mklayout_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_mklayout_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_mklayout_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_mklayout_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_mklayout_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_mklayout_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_mklayout_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_mklayout_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_mklayout_SOURCES = +@COND_emu_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_i386_coreboot_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_i386_efi_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_i386_ieee1275_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_i386_multiboot_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_i386_pc_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_i386_qemu_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_mips_yeeloong_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_powerpc_ieee1275_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_sparc64_ieee1275_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_x86_64_efi_TRUE@example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +@COND_emu_TRUE@nodist_example_unit_test_SOURCES = +@COND_i386_coreboot_TRUE@nodist_example_unit_test_SOURCES = +@COND_i386_efi_TRUE@nodist_example_unit_test_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_example_unit_test_SOURCES = +@COND_i386_multiboot_TRUE@nodist_example_unit_test_SOURCES = +@COND_i386_pc_TRUE@nodist_example_unit_test_SOURCES = +@COND_i386_qemu_TRUE@nodist_example_unit_test_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_example_unit_test_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_example_unit_test_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_example_unit_test_SOURCES = +@COND_x86_64_efi_TRUE@nodist_example_unit_test_SOURCES = +@COND_emu_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_i386_coreboot_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_i386_efi_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_i386_ieee1275_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_i386_multiboot_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_i386_pc_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_i386_qemu_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_mips_yeeloong_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_powerpc_ieee1275_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_sparc64_ieee1275_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_x86_64_efi_TRUE@example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +@COND_emu_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_i386_coreboot_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_i386_efi_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_i386_ieee1275_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_i386_multiboot_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_i386_pc_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_i386_qemu_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_mips_yeeloong_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_x86_64_efi_TRUE@grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +@COND_emu_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_i386_coreboot_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_i386_efi_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_i386_ieee1275_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_i386_multiboot_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_i386_pc_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_i386_qemu_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_mips_yeeloong_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_powerpc_ieee1275_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_sparc64_ieee1275_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_x86_64_efi_TRUE@nodist_grub_menulst2cfg_SOURCES = +@COND_emu_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_coreboot_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_efi_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_ieee1275_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_multiboot_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_pc_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_i386_qemu_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_mips_yeeloong_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_x86_64_efi_TRUE@grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_coreboot_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_efi_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_ieee1275_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_multiboot_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_pc_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_i386_qemu_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_mips_yeeloong_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_powerpc_ieee1275_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_sparc64_ieee1275_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_x86_64_efi_TRUE@grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_GRUB_MKFONT_TRUE@@COND_HAVE_FONT_SOURCE_TRUE@grubdata_DATA = unicode.pf2 ascii.pf2 euro.pf2 ascii.h widthspec.h + +# Arrows and lines are needed to draw the menu, so always include them +UNICODE_ARROWS = 0x2190-0x2193 +UNICODE_LINES = 0x2501-0x251B + +# Install config.h into platformdir +platform_HEADERS = config.h +@COND_i386_coreboot_TRUE@BOOTTARGET = coreboot +@COND_i386_efi_TRUE@BOOTTARGET = cd +@COND_i386_ieee1275_TRUE@BOOTTARGET = cd +@COND_i386_multiboot_TRUE@BOOTTARGET = cd +@COND_i386_pc_TRUE@BOOTTARGET = cd +@COND_i386_qemu_TRUE@BOOTTARGET = qemu +@COND_x86_64_efi_TRUE@BOOTTARGET = cd +@COND_i386_coreboot_TRUE@QEMU32 = qemu-system-i386 +@COND_i386_efi_TRUE@QEMU32 = qemu-system-i386 +@COND_i386_ieee1275_TRUE@QEMU32 = qemu-system-i386 +@COND_i386_multiboot_TRUE@QEMU32 = qemu-system-i386 +@COND_i386_pc_TRUE@QEMU32 = qemu-system-i386 +@COND_i386_qemu_TRUE@QEMU32 = qemu-system-i386 +@COND_x86_64_efi_TRUE@QEMU32 = qemu-system-x86_64 +BOOTCHECKS = $(am__append_3076) $(am__append_3077) $(am__append_3078) \ + bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 \ + bootcheck-kopenbsd-x86_64 bootcheck-multiboot \ + bootcheck-multiboot2 bootcheck-linux-i386 \ + bootcheck-linux-x86_64 + +# Randomly generated +SUCCESSFUL_BOOT_STRING = 3e49994fd5d82b7c9298d672d774080d +# tianocore cd access is very slow +BOOTCHECK_TIMEOUT = 180 +all: $(BUILT_SOURCES) config-util.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .o .obj +am--refresh: + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/conf/Makefile.common $(top_srcdir)/conf/Makefile.extra-dist $(srcdir)/Makefile.util.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config-util.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config-util.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config-util.h +$(srcdir)/config-util.h.in: $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config-util.h stamp-h1 +stamp-h: $(top_builddir)/config.status $(srcdir)/stamp-h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +config.h: $(top_builddir)/config.status $(srcdir)/config.h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +util/$(am__dirstamp): + @$(MKDIR_P) util + @: > util/$(am__dirstamp) +util/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) util/$(DEPDIR) + @: > util/$(DEPDIR)/$(am__dirstamp) +util/libgrubkern_a-misc.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/$(am__dirstamp): + @$(MKDIR_P) grub-core/kern + @: > grub-core/kern/$(am__dirstamp) +grub-core/kern/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/kern/$(DEPDIR) + @: > grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-command.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-device.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-disk.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/emu/$(am__dirstamp): + @$(MKDIR_P) grub-core/kern/emu + @: > grub-core/kern/emu/$(am__dirstamp) +grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/kern/emu/$(DEPDIR) + @: > grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT): \ + grub-core/kern/emu/$(am__dirstamp) \ + grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT): \ + grub-core/kern/emu/$(am__dirstamp) \ + grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT): \ + grub-core/kern/emu/$(am__dirstamp) \ + grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT): \ + grub-core/kern/emu/$(am__dirstamp) \ + grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-env.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-err.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-file.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-fs.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-list.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-misc.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/libgrubkern_a-partition.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +libgrubkern.a: $(libgrubkern_a_OBJECTS) $(libgrubkern_a_DEPENDENCIES) + -rm -f libgrubkern.a + $(libgrubkern_a_AR) libgrubkern.a $(libgrubkern_a_OBJECTS) $(libgrubkern_a_LIBADD) + $(RANLIB) libgrubkern.a +grub-core/commands/$(am__dirstamp): + @$(MKDIR_P) grub-core/commands + @: > grub-core/commands/$(am__dirstamp) +grub-core/commands/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/commands/$(DEPDIR) + @: > grub-core/commands/$(DEPDIR)/$(am__dirstamp) +grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT): \ + grub-core/commands/$(am__dirstamp) \ + grub-core/commands/$(DEPDIR)/$(am__dirstamp) +grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT): \ + grub-core/commands/$(am__dirstamp) \ + grub-core/commands/$(DEPDIR)/$(am__dirstamp) +grub-core/commands/libgrubmods_a-ls.$(OBJEXT): \ + grub-core/commands/$(am__dirstamp) \ + grub-core/commands/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/$(am__dirstamp): + @$(MKDIR_P) grub-core/disk + @: > grub-core/disk/$(am__dirstamp) +grub-core/disk/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/disk/$(DEPDIR) + @: > grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-loopback.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-lvm.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/libgrubmods_a-raid.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/$(am__dirstamp): + @$(MKDIR_P) grub-core/fs + @: > grub-core/fs/$(am__dirstamp) +grub-core/fs/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/fs/$(DEPDIR) + @: > grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-affs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-afs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-befs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-cpio.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-ext2.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-fat.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-hfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-jfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-minix.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-minix2.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-sfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-tar.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-udf.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-ufs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/libgrubmods_a-xfs.$(OBJEXT): \ + grub-core/fs/$(am__dirstamp) \ + grub-core/fs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/zfs/$(am__dirstamp): + @$(MKDIR_P) grub-core/fs/zfs + @: > grub-core/fs/zfs/$(am__dirstamp) +grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/fs/zfs/$(DEPDIR) + @: > grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT): \ + grub-core/fs/zfs/$(am__dirstamp) \ + grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT): \ + grub-core/fs/zfs/$(am__dirstamp) \ + grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT): \ + grub-core/fs/zfs/$(am__dirstamp) \ + grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp) +grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT): \ + grub-core/fs/zfs/$(am__dirstamp) \ + grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/$(am__dirstamp): + @$(MKDIR_P) grub-core/lib + @: > grub-core/lib/$(am__dirstamp) +grub-core/lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/lib/$(DEPDIR) + @: > grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-arg.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-crypto.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-envblk.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgcrypt-grub/cipher/$(am__dirstamp): + @$(MKDIR_P) grub-core/lib/libgcrypt-grub/cipher + @: > grub-core/lib/libgcrypt-grub/cipher/$(am__dirstamp) +grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR) + @: > grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT): \ + grub-core/lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT): \ + grub-core/lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/libgrubmods_a-crc.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/normal/$(am__dirstamp): + @$(MKDIR_P) grub-core/normal + @: > grub-core/normal/$(am__dirstamp) +grub-core/normal/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/normal/$(DEPDIR) + @: > grub-core/normal/$(DEPDIR)/$(am__dirstamp) +grub-core/normal/libgrubmods_a-datetime.$(OBJEXT): \ + grub-core/normal/$(am__dirstamp) \ + grub-core/normal/$(DEPDIR)/$(am__dirstamp) +grub-core/normal/libgrubmods_a-misc.$(OBJEXT): \ + grub-core/normal/$(am__dirstamp) \ + grub-core/normal/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/$(am__dirstamp): + @$(MKDIR_P) grub-core/partmap + @: > grub-core/partmap/$(am__dirstamp) +grub-core/partmap/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/partmap/$(DEPDIR) + @: > grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-apple.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-sun.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT): \ + grub-core/partmap/$(am__dirstamp) \ + grub-core/partmap/$(DEPDIR)/$(am__dirstamp) +grub-core/script/$(am__dirstamp): + @$(MKDIR_P) grub-core/script + @: > grub-core/script/$(am__dirstamp) +grub-core/script/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/script/$(DEPDIR) + @: > grub-core/script/$(DEPDIR)/$(am__dirstamp) +grub-core/script/libgrubmods_a-function.$(OBJEXT): \ + grub-core/script/$(am__dirstamp) \ + grub-core/script/$(DEPDIR)/$(am__dirstamp) +grub-core/script/libgrubmods_a-lexer.$(OBJEXT): \ + grub-core/script/$(am__dirstamp) \ + grub-core/script/$(DEPDIR)/$(am__dirstamp) +grub-core/script/libgrubmods_a-main.$(OBJEXT): \ + grub-core/script/$(am__dirstamp) \ + grub-core/script/$(DEPDIR)/$(am__dirstamp) +grub-core/script/libgrubmods_a-script.$(OBJEXT): \ + grub-core/script/$(am__dirstamp) \ + grub-core/script/$(DEPDIR)/$(am__dirstamp) +grub-core/script/libgrubmods_a-argv.$(OBJEXT): \ + grub-core/script/$(am__dirstamp) \ + grub-core/script/$(DEPDIR)/$(am__dirstamp) +grub-core/io/$(am__dirstamp): + @$(MKDIR_P) grub-core/io + @: > grub-core/io/$(am__dirstamp) +grub-core/io/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/io/$(DEPDIR) + @: > grub-core/io/$(DEPDIR)/$(am__dirstamp) +grub-core/io/libgrubmods_a-gzio.$(OBJEXT): \ + grub-core/io/$(am__dirstamp) \ + grub-core/io/$(DEPDIR)/$(am__dirstamp) +libgrubmods.a: $(libgrubmods_a_OBJECTS) $(libgrubmods_a_DEPENDENCIES) + -rm -f libgrubmods.a + $(libgrubmods_a_AR) libgrubmods.a $(libgrubmods_a_OBJECTS) $(libgrubmods_a_LIBADD) + $(RANLIB) libgrubmods.a +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +clean-checkPROGRAMS: + -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) + +clean-noinstPROGRAMS: + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +clean-sbinPROGRAMS: + -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) +tests/$(am__dirstamp): + @$(MKDIR_P) tests + @: > tests/$(am__dirstamp) +tests/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tests/$(DEPDIR) + @: > tests/$(DEPDIR)/$(am__dirstamp) +tests/example_unit_test-example_unit_test.$(OBJEXT): \ + tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) +tests/lib/$(am__dirstamp): + @$(MKDIR_P) tests/lib + @: > tests/lib/$(am__dirstamp) +tests/lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tests/lib/$(DEPDIR) + @: > tests/lib/$(DEPDIR)/$(am__dirstamp) +tests/lib/example_unit_test-unit_test.$(OBJEXT): \ + tests/lib/$(am__dirstamp) tests/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/example_unit_test-list.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/example_unit_test-misc.$(OBJEXT): \ + grub-core/kern/$(am__dirstamp) \ + grub-core/kern/$(DEPDIR)/$(am__dirstamp) +grub-core/tests/lib/$(am__dirstamp): + @$(MKDIR_P) grub-core/tests/lib + @: > grub-core/tests/lib/$(am__dirstamp) +grub-core/tests/lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/tests/lib/$(DEPDIR) + @: > grub-core/tests/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/tests/lib/example_unit_test-test.$(OBJEXT): \ + grub-core/tests/lib/$(am__dirstamp) \ + grub-core/tests/lib/$(DEPDIR)/$(am__dirstamp) +example_unit_test$(EXEEXT): $(example_unit_test_OBJECTS) $(example_unit_test_DEPENDENCIES) + @rm -f example_unit_test$(EXEEXT) + $(example_unit_test_LINK) $(example_unit_test_OBJECTS) $(example_unit_test_LDADD) $(LIBS) +util/grub_bin2h-bin2h.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-bin2h$(EXEEXT): $(grub_bin2h_OBJECTS) $(grub_bin2h_DEPENDENCIES) + @rm -f grub-bin2h$(EXEEXT) + $(grub_bin2h_LINK) $(grub_bin2h_OBJECTS) $(grub_bin2h_LDADD) $(LIBS) +util/grub_editenv-grub-editenv.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-editenv$(EXEEXT): $(grub_editenv_OBJECTS) $(grub_editenv_DEPENDENCIES) + @rm -f grub-editenv$(EXEEXT) + $(grub_editenv_LINK) $(grub_editenv_OBJECTS) $(grub_editenv_LDADD) $(LIBS) +util/grub_fstest-grub-fstest.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT): \ + grub-core/kern/emu/$(am__dirstamp) \ + grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-core/disk/grub_fstest-host.$(OBJEXT): \ + grub-core/disk/$(am__dirstamp) \ + grub-core/disk/$(DEPDIR)/$(am__dirstamp) +grub-fstest$(EXEEXT): $(grub_fstest_OBJECTS) $(grub_fstest_DEPENDENCIES) + @rm -f grub-fstest$(EXEEXT) + $(grub_fstest_LINK) $(grub_fstest_OBJECTS) $(grub_fstest_LDADD) $(LIBS) +util/grub_macho2img-grub-macho2img.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-macho2img$(EXEEXT): $(grub_macho2img_OBJECTS) $(grub_macho2img_DEPENDENCIES) + @rm -f grub-macho2img$(EXEEXT) + $(grub_macho2img_LINK) $(grub_macho2img_OBJECTS) $(grub_macho2img_LDADD) $(LIBS) +util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT): \ + util/$(am__dirstamp) util/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/i386/pc/$(am__dirstamp): + @$(MKDIR_P) grub-core/lib/i386/pc + @: > grub-core/lib/i386/pc/$(am__dirstamp) +grub-core/lib/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/lib/i386/pc/$(DEPDIR) + @: > grub-core/lib/i386/pc/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT): \ + grub-core/lib/i386/pc/$(am__dirstamp) \ + grub-core/lib/i386/pc/$(DEPDIR)/$(am__dirstamp) +grub-menulst2cfg$(EXEEXT): $(grub_menulst2cfg_OBJECTS) $(grub_menulst2cfg_DEPENDENCIES) + @rm -f grub-menulst2cfg$(EXEEXT) + $(grub_menulst2cfg_LINK) $(grub_menulst2cfg_OBJECTS) $(grub_menulst2cfg_LDADD) $(LIBS) +util/grub_mkdevicemap-devicemap.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT): \ + util/$(am__dirstamp) util/$(DEPDIR)/$(am__dirstamp) +util/grub_mkdevicemap-deviceiter.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +util/ieee1275/$(am__dirstamp): + @$(MKDIR_P) util/ieee1275 + @: > util/ieee1275/$(am__dirstamp) +util/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) util/ieee1275/$(DEPDIR) + @: > util/ieee1275/$(DEPDIR)/$(am__dirstamp) +util/ieee1275/grub_mkdevicemap-ofpath.$(OBJEXT): \ + util/ieee1275/$(am__dirstamp) \ + util/ieee1275/$(DEPDIR)/$(am__dirstamp) +util/ieee1275/grub_mkdevicemap-devicemap.$(OBJEXT): \ + util/ieee1275/$(am__dirstamp) \ + util/ieee1275/$(DEPDIR)/$(am__dirstamp) +grub-mkdevicemap$(EXEEXT): $(grub_mkdevicemap_OBJECTS) $(grub_mkdevicemap_DEPENDENCIES) + @rm -f grub-mkdevicemap$(EXEEXT) + $(grub_mkdevicemap_LINK) $(grub_mkdevicemap_OBJECTS) $(grub_mkdevicemap_LDADD) $(LIBS) +util/grub_mkfont-grub-mkfont.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-core/$(am__dirstamp): + @$(MKDIR_P) grub-core + @: > grub-core/$(am__dirstamp) +grub-core/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) grub-core/$(DEPDIR) + @: > grub-core/$(DEPDIR)/$(am__dirstamp) +grub-core/grub_mkfont-unidata.$(OBJEXT): grub-core/$(am__dirstamp) \ + grub-core/$(DEPDIR)/$(am__dirstamp) +grub-mkfont$(EXEEXT): $(grub_mkfont_OBJECTS) $(grub_mkfont_DEPENDENCIES) + @rm -f grub-mkfont$(EXEEXT) + $(grub_mkfont_LINK) $(grub_mkfont_OBJECTS) $(grub_mkfont_LDADD) $(LIBS) +util/grub_mkimage-grub-mkimage.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +util/grub_mkimage-resolve.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-mkimage$(EXEEXT): $(grub_mkimage_OBJECTS) $(grub_mkimage_DEPENDENCIES) + @rm -f grub-mkimage$(EXEEXT) + $(grub_mkimage_LINK) $(grub_mkimage_OBJECTS) $(grub_mkimage_LDADD) $(LIBS) +util/grub_mklayout-grub-mklayout.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-mklayout$(EXEEXT): $(grub_mklayout_OBJECTS) $(grub_mklayout_DEPENDENCIES) + @rm -f grub-mklayout$(EXEEXT) + $(grub_mklayout_LINK) $(grub_mklayout_OBJECTS) $(grub_mklayout_LDADD) $(LIBS) +util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT): \ + util/$(am__dirstamp) util/$(DEPDIR)/$(am__dirstamp) +grub-mkpasswd-pbkdf2$(EXEEXT): $(grub_mkpasswd_pbkdf2_OBJECTS) $(grub_mkpasswd_pbkdf2_DEPENDENCIES) + @rm -f grub-mkpasswd-pbkdf2$(EXEEXT) + $(grub_mkpasswd_pbkdf2_LINK) $(grub_mkpasswd_pbkdf2_OBJECTS) $(grub_mkpasswd_pbkdf2_LDADD) $(LIBS) +util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-mkrelpath$(EXEEXT): $(grub_mkrelpath_OBJECTS) $(grub_mkrelpath_DEPENDENCIES) + @rm -f grub-mkrelpath$(EXEEXT) + $(grub_mkrelpath_LINK) $(grub_mkrelpath_OBJECTS) $(grub_mkrelpath_LDADD) $(LIBS) +util/ieee1275/grub_ofpathname-grub-ofpathname.$(OBJEXT): \ + util/ieee1275/$(am__dirstamp) \ + util/ieee1275/$(DEPDIR)/$(am__dirstamp) +util/ieee1275/grub_ofpathname-ofpath.$(OBJEXT): \ + util/ieee1275/$(am__dirstamp) \ + util/ieee1275/$(DEPDIR)/$(am__dirstamp) +grub-ofpathname$(EXEEXT): $(grub_ofpathname_OBJECTS) $(grub_ofpathname_DEPENDENCIES) + @rm -f grub-ofpathname$(EXEEXT) + $(grub_ofpathname_LINK) $(grub_ofpathname_OBJECTS) $(grub_ofpathname_LDADD) $(LIBS) +util/grub_pe2elf-grub-pe2elf.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-pe2elf$(EXEEXT): $(grub_pe2elf_OBJECTS) $(grub_pe2elf_DEPENDENCIES) + @rm -f grub-pe2elf$(EXEEXT) + $(grub_pe2elf_LINK) $(grub_pe2elf_OBJECTS) $(grub_pe2elf_LDADD) $(LIBS) +util/grub_probe-grub-probe.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-probe$(EXEEXT): $(grub_probe_OBJECTS) $(grub_probe_DEPENDENCIES) + @rm -f grub-probe$(EXEEXT) + $(grub_probe_LINK) $(grub_probe_OBJECTS) $(grub_probe_LDADD) $(LIBS) +util/grub_script_check-grub-script-check.$(OBJEXT): \ + util/$(am__dirstamp) util/$(DEPDIR)/$(am__dirstamp) +grub-script-check$(EXEEXT): $(grub_script_check_OBJECTS) $(grub_script_check_DEPENDENCIES) + @rm -f grub-script-check$(EXEEXT) + $(grub_script_check_LINK) $(grub_script_check_OBJECTS) $(grub_script_check_LDADD) $(LIBS) +util/grub_setup-grub-setup.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +util/grub_setup-raid.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +util/grub_setup-lvm.$(OBJEXT): util/$(am__dirstamp) \ + util/$(DEPDIR)/$(am__dirstamp) +grub-core/lib/grub_setup-reed_solomon.$(OBJEXT): \ + grub-core/lib/$(am__dirstamp) \ + grub-core/lib/$(DEPDIR)/$(am__dirstamp) +util/ieee1275/grub_setup-ofpath.$(OBJEXT): \ + util/ieee1275/$(am__dirstamp) \ + util/ieee1275/$(DEPDIR)/$(am__dirstamp) +grub-setup$(EXEEXT): $(grub_setup_OBJECTS) $(grub_setup_DEPENDENCIES) + @rm -f grub-setup$(EXEEXT) + $(grub_setup_LINK) $(grub_setup_OBJECTS) $(grub_setup_LDADD) $(LIBS) +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files +install-grubconfSCRIPTS: $(grubconf_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(grubconfdir)" || $(MKDIR_P) "$(DESTDIR)$(grubconfdir)" + @list='$(grubconf_SCRIPTS)'; test -n "$(grubconfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(grubconfdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(grubconfdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-grubconfSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(grubconf_SCRIPTS)'; test -n "$(grubconfdir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(grubconfdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(grubconfdir)" && rm -f $$files +install-pkglibSCRIPTS: $(pkglib_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_SCRIPTS)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkglibdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkglibdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-pkglibSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_SCRIPTS)'; test -n "$(pkglibdir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files +install-sbinSCRIPTS: $(sbin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f grub-core/commands/libgrubmods_a-blocklist.$(OBJEXT) + -rm -f grub-core/commands/libgrubmods_a-extcmd.$(OBJEXT) + -rm -f grub-core/commands/libgrubmods_a-ls.$(OBJEXT) + -rm -f grub-core/disk/grub_fstest-host.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-dmraid_nvidia.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-loopback.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-lvm.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-mdraid1x_linux.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-mdraid_linux.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-raid.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-raid5_recover.$(OBJEXT) + -rm -f grub-core/disk/libgrubmods_a-raid6_recover.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-affs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-afs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-afs_be.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-befs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-befs_be.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-btrfs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-cpio.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-ext2.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-fat.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-fshelp.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-hfs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-hfsplus.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-iso9660.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-jfs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-minix.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-minix2.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-nilfs2.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-ntfs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-ntfscomp.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-reiserfs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-sfs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-tar.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-udf.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-ufs.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-ufs2.$(OBJEXT) + -rm -f grub-core/fs/libgrubmods_a-xfs.$(OBJEXT) + -rm -f grub-core/fs/zfs/libgrubmods_a-zfs.$(OBJEXT) + -rm -f grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.$(OBJEXT) + -rm -f grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.$(OBJEXT) + -rm -f grub-core/fs/zfs/libgrubmods_a-zfs_sha256.$(OBJEXT) + -rm -f grub-core/grub_mkfont-unidata.$(OBJEXT) + -rm -f grub-core/io/libgrubmods_a-gzio.$(OBJEXT) + -rm -f grub-core/kern/emu/grub_fstest-hostfs.$(OBJEXT) + -rm -f grub-core/kern/emu/libgrubkern_a-getroot.$(OBJEXT) + -rm -f grub-core/kern/emu/libgrubkern_a-hostdisk.$(OBJEXT) + -rm -f grub-core/kern/emu/libgrubkern_a-misc.$(OBJEXT) + -rm -f grub-core/kern/emu/libgrubkern_a-mm.$(OBJEXT) + -rm -f grub-core/kern/example_unit_test-list.$(OBJEXT) + -rm -f grub-core/kern/example_unit_test-misc.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-command.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-device.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-disk.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-env.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-err.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-file.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-fs.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-list.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-misc.$(OBJEXT) + -rm -f grub-core/kern/libgrubkern_a-partition.$(OBJEXT) + -rm -f grub-core/lib/grub_menulst2cfg-legacy_parse.$(OBJEXT) + -rm -f grub-core/lib/grub_setup-reed_solomon.$(OBJEXT) + -rm -f grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.$(OBJEXT) + -rm -f grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.$(OBJEXT) + -rm -f grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-LzFind.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-LzmaEnc.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-arg.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-crc.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-crypto.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-envblk.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-hexdump.$(OBJEXT) + -rm -f grub-core/lib/libgrubmods_a-pbkdf2.$(OBJEXT) + -rm -f grub-core/normal/libgrubmods_a-datetime.$(OBJEXT) + -rm -f grub-core/normal/libgrubmods_a-misc.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-acorn.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-amiga.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-apple.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-bsdlabel.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-gpt.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-msdos.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-sun.$(OBJEXT) + -rm -f grub-core/partmap/libgrubmods_a-sunpc.$(OBJEXT) + -rm -f grub-core/script/libgrubmods_a-argv.$(OBJEXT) + -rm -f grub-core/script/libgrubmods_a-function.$(OBJEXT) + -rm -f grub-core/script/libgrubmods_a-lexer.$(OBJEXT) + -rm -f grub-core/script/libgrubmods_a-main.$(OBJEXT) + -rm -f grub-core/script/libgrubmods_a-script.$(OBJEXT) + -rm -f grub-core/tests/lib/example_unit_test-test.$(OBJEXT) + -rm -f tests/example_unit_test-example_unit_test.$(OBJEXT) + -rm -f tests/lib/example_unit_test-unit_test.$(OBJEXT) + -rm -f util/grub_bin2h-bin2h.$(OBJEXT) + -rm -f util/grub_editenv-grub-editenv.$(OBJEXT) + -rm -f util/grub_fstest-grub-fstest.$(OBJEXT) + -rm -f util/grub_macho2img-grub-macho2img.$(OBJEXT) + -rm -f util/grub_menulst2cfg-grub-menulst2cfg.$(OBJEXT) + -rm -f util/grub_mkdevicemap-deviceiter.$(OBJEXT) + -rm -f util/grub_mkdevicemap-devicemap.$(OBJEXT) + -rm -f util/grub_mkdevicemap-grub-mkdevicemap.$(OBJEXT) + -rm -f util/grub_mkfont-grub-mkfont.$(OBJEXT) + -rm -f util/grub_mkimage-grub-mkimage.$(OBJEXT) + -rm -f util/grub_mkimage-resolve.$(OBJEXT) + -rm -f util/grub_mklayout-grub-mklayout.$(OBJEXT) + -rm -f util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.$(OBJEXT) + -rm -f util/grub_mkrelpath-grub-mkrelpath.$(OBJEXT) + -rm -f util/grub_pe2elf-grub-pe2elf.$(OBJEXT) + -rm -f util/grub_probe-grub-probe.$(OBJEXT) + -rm -f util/grub_script_check-grub-script-check.$(OBJEXT) + -rm -f util/grub_setup-grub-setup.$(OBJEXT) + -rm -f util/grub_setup-lvm.$(OBJEXT) + -rm -f util/grub_setup-raid.$(OBJEXT) + -rm -f util/ieee1275/grub_mkdevicemap-devicemap.$(OBJEXT) + -rm -f util/ieee1275/grub_mkdevicemap-ofpath.$(OBJEXT) + -rm -f util/ieee1275/grub_ofpathname-grub-ofpathname.$(OBJEXT) + -rm -f util/ieee1275/grub_ofpathname-ofpath.$(OBJEXT) + -rm -f util/ieee1275/grub_setup-ofpath.$(OBJEXT) + -rm -f util/libgrubkern_a-misc.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/grub_fstest-grub_fstest_init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgrubmods_a-grub_script.tab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgrubmods_a-grub_script.yy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgrubmods_a-libgrub_a_init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/$(DEPDIR)/grub_mkfont-unidata.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/grub_fstest-host.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/example_unit_test-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/example_unit_test-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/script/$(DEPDIR)/libgrubmods_a-function.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/script/$(DEPDIR)/libgrubmods_a-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/script/$(DEPDIR)/libgrubmods_a-script.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/example_unit_test-example_unit_test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/lib/$(DEPDIR)/example_unit_test-unit_test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_bin2h-bin2h.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_editenv-grub-editenv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_fstest-grub-fstest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_macho2img-grub-macho2img.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkdevicemap-devicemap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkfont-grub-mkfont.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkimage-grub-mkimage.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkimage-resolve.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mklayout-grub-mklayout.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_probe-grub-probe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_script_check-grub-script-check.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_setup-grub-setup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_setup-lvm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/grub_setup-raid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/libgrubkern_a-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +util/libgrubkern_a-misc.o: util/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT util/libgrubkern_a-misc.o -MD -MP -MF util/$(DEPDIR)/libgrubkern_a-misc.Tpo -c -o util/libgrubkern_a-misc.o `test -f 'util/misc.c' || echo '$(srcdir)/'`util/misc.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/libgrubkern_a-misc.Tpo util/$(DEPDIR)/libgrubkern_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/misc.c' object='util/libgrubkern_a-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o util/libgrubkern_a-misc.o `test -f 'util/misc.c' || echo '$(srcdir)/'`util/misc.c + +util/libgrubkern_a-misc.obj: util/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT util/libgrubkern_a-misc.obj -MD -MP -MF util/$(DEPDIR)/libgrubkern_a-misc.Tpo -c -o util/libgrubkern_a-misc.obj `if test -f 'util/misc.c'; then $(CYGPATH_W) 'util/misc.c'; else $(CYGPATH_W) '$(srcdir)/util/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/libgrubkern_a-misc.Tpo util/$(DEPDIR)/libgrubkern_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/misc.c' object='util/libgrubkern_a-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o util/libgrubkern_a-misc.obj `if test -f 'util/misc.c'; then $(CYGPATH_W) 'util/misc.c'; else $(CYGPATH_W) '$(srcdir)/util/misc.c'; fi` + +grub-core/kern/libgrubkern_a-command.o: grub-core/kern/command.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-command.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Tpo -c -o grub-core/kern/libgrubkern_a-command.o `test -f 'grub-core/kern/command.c' || echo '$(srcdir)/'`grub-core/kern/command.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/command.c' object='grub-core/kern/libgrubkern_a-command.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-command.o `test -f 'grub-core/kern/command.c' || echo '$(srcdir)/'`grub-core/kern/command.c + +grub-core/kern/libgrubkern_a-command.obj: grub-core/kern/command.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-command.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Tpo -c -o grub-core/kern/libgrubkern_a-command.obj `if test -f 'grub-core/kern/command.c'; then $(CYGPATH_W) 'grub-core/kern/command.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/command.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-command.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/command.c' object='grub-core/kern/libgrubkern_a-command.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-command.obj `if test -f 'grub-core/kern/command.c'; then $(CYGPATH_W) 'grub-core/kern/command.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/command.c'; fi` + +grub-core/kern/libgrubkern_a-device.o: grub-core/kern/device.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-device.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Tpo -c -o grub-core/kern/libgrubkern_a-device.o `test -f 'grub-core/kern/device.c' || echo '$(srcdir)/'`grub-core/kern/device.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/device.c' object='grub-core/kern/libgrubkern_a-device.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-device.o `test -f 'grub-core/kern/device.c' || echo '$(srcdir)/'`grub-core/kern/device.c + +grub-core/kern/libgrubkern_a-device.obj: grub-core/kern/device.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-device.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Tpo -c -o grub-core/kern/libgrubkern_a-device.obj `if test -f 'grub-core/kern/device.c'; then $(CYGPATH_W) 'grub-core/kern/device.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/device.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-device.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/device.c' object='grub-core/kern/libgrubkern_a-device.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-device.obj `if test -f 'grub-core/kern/device.c'; then $(CYGPATH_W) 'grub-core/kern/device.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/device.c'; fi` + +grub-core/kern/libgrubkern_a-disk.o: grub-core/kern/disk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-disk.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Tpo -c -o grub-core/kern/libgrubkern_a-disk.o `test -f 'grub-core/kern/disk.c' || echo '$(srcdir)/'`grub-core/kern/disk.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/disk.c' object='grub-core/kern/libgrubkern_a-disk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-disk.o `test -f 'grub-core/kern/disk.c' || echo '$(srcdir)/'`grub-core/kern/disk.c + +grub-core/kern/libgrubkern_a-disk.obj: grub-core/kern/disk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-disk.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Tpo -c -o grub-core/kern/libgrubkern_a-disk.obj `if test -f 'grub-core/kern/disk.c'; then $(CYGPATH_W) 'grub-core/kern/disk.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/disk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-disk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/disk.c' object='grub-core/kern/libgrubkern_a-disk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-disk.obj `if test -f 'grub-core/kern/disk.c'; then $(CYGPATH_W) 'grub-core/kern/disk.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/disk.c'; fi` + +grub-core/kern/emu/libgrubkern_a-getroot.o: grub-core/kern/emu/getroot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-getroot.o -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Tpo -c -o grub-core/kern/emu/libgrubkern_a-getroot.o `test -f 'grub-core/kern/emu/getroot.c' || echo '$(srcdir)/'`grub-core/kern/emu/getroot.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/getroot.c' object='grub-core/kern/emu/libgrubkern_a-getroot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-getroot.o `test -f 'grub-core/kern/emu/getroot.c' || echo '$(srcdir)/'`grub-core/kern/emu/getroot.c + +grub-core/kern/emu/libgrubkern_a-getroot.obj: grub-core/kern/emu/getroot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-getroot.obj -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Tpo -c -o grub-core/kern/emu/libgrubkern_a-getroot.obj `if test -f 'grub-core/kern/emu/getroot.c'; then $(CYGPATH_W) 'grub-core/kern/emu/getroot.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/getroot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-getroot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/getroot.c' object='grub-core/kern/emu/libgrubkern_a-getroot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-getroot.obj `if test -f 'grub-core/kern/emu/getroot.c'; then $(CYGPATH_W) 'grub-core/kern/emu/getroot.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/getroot.c'; fi` + +grub-core/kern/emu/libgrubkern_a-hostdisk.o: grub-core/kern/emu/hostdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-hostdisk.o -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Tpo -c -o grub-core/kern/emu/libgrubkern_a-hostdisk.o `test -f 'grub-core/kern/emu/hostdisk.c' || echo '$(srcdir)/'`grub-core/kern/emu/hostdisk.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/hostdisk.c' object='grub-core/kern/emu/libgrubkern_a-hostdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-hostdisk.o `test -f 'grub-core/kern/emu/hostdisk.c' || echo '$(srcdir)/'`grub-core/kern/emu/hostdisk.c + +grub-core/kern/emu/libgrubkern_a-hostdisk.obj: grub-core/kern/emu/hostdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-hostdisk.obj -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Tpo -c -o grub-core/kern/emu/libgrubkern_a-hostdisk.obj `if test -f 'grub-core/kern/emu/hostdisk.c'; then $(CYGPATH_W) 'grub-core/kern/emu/hostdisk.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/hostdisk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-hostdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/hostdisk.c' object='grub-core/kern/emu/libgrubkern_a-hostdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-hostdisk.obj `if test -f 'grub-core/kern/emu/hostdisk.c'; then $(CYGPATH_W) 'grub-core/kern/emu/hostdisk.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/hostdisk.c'; fi` + +grub-core/kern/emu/libgrubkern_a-misc.o: grub-core/kern/emu/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-misc.o -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Tpo -c -o grub-core/kern/emu/libgrubkern_a-misc.o `test -f 'grub-core/kern/emu/misc.c' || echo '$(srcdir)/'`grub-core/kern/emu/misc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/misc.c' object='grub-core/kern/emu/libgrubkern_a-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-misc.o `test -f 'grub-core/kern/emu/misc.c' || echo '$(srcdir)/'`grub-core/kern/emu/misc.c + +grub-core/kern/emu/libgrubkern_a-misc.obj: grub-core/kern/emu/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-misc.obj -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Tpo -c -o grub-core/kern/emu/libgrubkern_a-misc.obj `if test -f 'grub-core/kern/emu/misc.c'; then $(CYGPATH_W) 'grub-core/kern/emu/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/misc.c' object='grub-core/kern/emu/libgrubkern_a-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-misc.obj `if test -f 'grub-core/kern/emu/misc.c'; then $(CYGPATH_W) 'grub-core/kern/emu/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/misc.c'; fi` + +grub-core/kern/emu/libgrubkern_a-mm.o: grub-core/kern/emu/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-mm.o -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Tpo -c -o grub-core/kern/emu/libgrubkern_a-mm.o `test -f 'grub-core/kern/emu/mm.c' || echo '$(srcdir)/'`grub-core/kern/emu/mm.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/mm.c' object='grub-core/kern/emu/libgrubkern_a-mm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-mm.o `test -f 'grub-core/kern/emu/mm.c' || echo '$(srcdir)/'`grub-core/kern/emu/mm.c + +grub-core/kern/emu/libgrubkern_a-mm.obj: grub-core/kern/emu/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/libgrubkern_a-mm.obj -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Tpo -c -o grub-core/kern/emu/libgrubkern_a-mm.obj `if test -f 'grub-core/kern/emu/mm.c'; then $(CYGPATH_W) 'grub-core/kern/emu/mm.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/mm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Tpo grub-core/kern/emu/$(DEPDIR)/libgrubkern_a-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/mm.c' object='grub-core/kern/emu/libgrubkern_a-mm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/libgrubkern_a-mm.obj `if test -f 'grub-core/kern/emu/mm.c'; then $(CYGPATH_W) 'grub-core/kern/emu/mm.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/mm.c'; fi` + +grub-core/kern/libgrubkern_a-env.o: grub-core/kern/env.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-env.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Tpo -c -o grub-core/kern/libgrubkern_a-env.o `test -f 'grub-core/kern/env.c' || echo '$(srcdir)/'`grub-core/kern/env.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/env.c' object='grub-core/kern/libgrubkern_a-env.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-env.o `test -f 'grub-core/kern/env.c' || echo '$(srcdir)/'`grub-core/kern/env.c + +grub-core/kern/libgrubkern_a-env.obj: grub-core/kern/env.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-env.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Tpo -c -o grub-core/kern/libgrubkern_a-env.obj `if test -f 'grub-core/kern/env.c'; then $(CYGPATH_W) 'grub-core/kern/env.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/env.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-env.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/env.c' object='grub-core/kern/libgrubkern_a-env.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-env.obj `if test -f 'grub-core/kern/env.c'; then $(CYGPATH_W) 'grub-core/kern/env.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/env.c'; fi` + +grub-core/kern/libgrubkern_a-err.o: grub-core/kern/err.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-err.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Tpo -c -o grub-core/kern/libgrubkern_a-err.o `test -f 'grub-core/kern/err.c' || echo '$(srcdir)/'`grub-core/kern/err.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/err.c' object='grub-core/kern/libgrubkern_a-err.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-err.o `test -f 'grub-core/kern/err.c' || echo '$(srcdir)/'`grub-core/kern/err.c + +grub-core/kern/libgrubkern_a-err.obj: grub-core/kern/err.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-err.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Tpo -c -o grub-core/kern/libgrubkern_a-err.obj `if test -f 'grub-core/kern/err.c'; then $(CYGPATH_W) 'grub-core/kern/err.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/err.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-err.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/err.c' object='grub-core/kern/libgrubkern_a-err.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-err.obj `if test -f 'grub-core/kern/err.c'; then $(CYGPATH_W) 'grub-core/kern/err.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/err.c'; fi` + +grub-core/kern/libgrubkern_a-file.o: grub-core/kern/file.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-file.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Tpo -c -o grub-core/kern/libgrubkern_a-file.o `test -f 'grub-core/kern/file.c' || echo '$(srcdir)/'`grub-core/kern/file.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/file.c' object='grub-core/kern/libgrubkern_a-file.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-file.o `test -f 'grub-core/kern/file.c' || echo '$(srcdir)/'`grub-core/kern/file.c + +grub-core/kern/libgrubkern_a-file.obj: grub-core/kern/file.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-file.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Tpo -c -o grub-core/kern/libgrubkern_a-file.obj `if test -f 'grub-core/kern/file.c'; then $(CYGPATH_W) 'grub-core/kern/file.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/file.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-file.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/file.c' object='grub-core/kern/libgrubkern_a-file.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-file.obj `if test -f 'grub-core/kern/file.c'; then $(CYGPATH_W) 'grub-core/kern/file.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/file.c'; fi` + +grub-core/kern/libgrubkern_a-fs.o: grub-core/kern/fs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-fs.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Tpo -c -o grub-core/kern/libgrubkern_a-fs.o `test -f 'grub-core/kern/fs.c' || echo '$(srcdir)/'`grub-core/kern/fs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/fs.c' object='grub-core/kern/libgrubkern_a-fs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-fs.o `test -f 'grub-core/kern/fs.c' || echo '$(srcdir)/'`grub-core/kern/fs.c + +grub-core/kern/libgrubkern_a-fs.obj: grub-core/kern/fs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-fs.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Tpo -c -o grub-core/kern/libgrubkern_a-fs.obj `if test -f 'grub-core/kern/fs.c'; then $(CYGPATH_W) 'grub-core/kern/fs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/fs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-fs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/fs.c' object='grub-core/kern/libgrubkern_a-fs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-fs.obj `if test -f 'grub-core/kern/fs.c'; then $(CYGPATH_W) 'grub-core/kern/fs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/fs.c'; fi` + +grub-core/kern/libgrubkern_a-list.o: grub-core/kern/list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-list.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Tpo -c -o grub-core/kern/libgrubkern_a-list.o `test -f 'grub-core/kern/list.c' || echo '$(srcdir)/'`grub-core/kern/list.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/list.c' object='grub-core/kern/libgrubkern_a-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-list.o `test -f 'grub-core/kern/list.c' || echo '$(srcdir)/'`grub-core/kern/list.c + +grub-core/kern/libgrubkern_a-list.obj: grub-core/kern/list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-list.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Tpo -c -o grub-core/kern/libgrubkern_a-list.obj `if test -f 'grub-core/kern/list.c'; then $(CYGPATH_W) 'grub-core/kern/list.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/list.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/list.c' object='grub-core/kern/libgrubkern_a-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-list.obj `if test -f 'grub-core/kern/list.c'; then $(CYGPATH_W) 'grub-core/kern/list.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/list.c'; fi` + +grub-core/kern/libgrubkern_a-misc.o: grub-core/kern/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-misc.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Tpo -c -o grub-core/kern/libgrubkern_a-misc.o `test -f 'grub-core/kern/misc.c' || echo '$(srcdir)/'`grub-core/kern/misc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/misc.c' object='grub-core/kern/libgrubkern_a-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-misc.o `test -f 'grub-core/kern/misc.c' || echo '$(srcdir)/'`grub-core/kern/misc.c + +grub-core/kern/libgrubkern_a-misc.obj: grub-core/kern/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-misc.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Tpo -c -o grub-core/kern/libgrubkern_a-misc.obj `if test -f 'grub-core/kern/misc.c'; then $(CYGPATH_W) 'grub-core/kern/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/misc.c' object='grub-core/kern/libgrubkern_a-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-misc.obj `if test -f 'grub-core/kern/misc.c'; then $(CYGPATH_W) 'grub-core/kern/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/misc.c'; fi` + +grub-core/kern/libgrubkern_a-partition.o: grub-core/kern/partition.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-partition.o -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Tpo -c -o grub-core/kern/libgrubkern_a-partition.o `test -f 'grub-core/kern/partition.c' || echo '$(srcdir)/'`grub-core/kern/partition.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/partition.c' object='grub-core/kern/libgrubkern_a-partition.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-partition.o `test -f 'grub-core/kern/partition.c' || echo '$(srcdir)/'`grub-core/kern/partition.c + +grub-core/kern/libgrubkern_a-partition.obj: grub-core/kern/partition.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -MT grub-core/kern/libgrubkern_a-partition.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Tpo -c -o grub-core/kern/libgrubkern_a-partition.obj `if test -f 'grub-core/kern/partition.c'; then $(CYGPATH_W) 'grub-core/kern/partition.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/partition.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Tpo grub-core/kern/$(DEPDIR)/libgrubkern_a-partition.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/partition.c' object='grub-core/kern/libgrubkern_a-partition.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) $(libgrubkern_a_CFLAGS) $(CFLAGS) -c -o grub-core/kern/libgrubkern_a-partition.obj `if test -f 'grub-core/kern/partition.c'; then $(CYGPATH_W) 'grub-core/kern/partition.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/partition.c'; fi` + +grub-core/commands/libgrubmods_a-blocklist.o: grub-core/commands/blocklist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/commands/libgrubmods_a-blocklist.o -MD -MP -MF grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Tpo -c -o grub-core/commands/libgrubmods_a-blocklist.o `test -f 'grub-core/commands/blocklist.c' || echo '$(srcdir)/'`grub-core/commands/blocklist.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Tpo grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/commands/blocklist.c' object='grub-core/commands/libgrubmods_a-blocklist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/commands/libgrubmods_a-blocklist.o `test -f 'grub-core/commands/blocklist.c' || echo '$(srcdir)/'`grub-core/commands/blocklist.c + +grub-core/commands/libgrubmods_a-blocklist.obj: grub-core/commands/blocklist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/commands/libgrubmods_a-blocklist.obj -MD -MP -MF grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Tpo -c -o grub-core/commands/libgrubmods_a-blocklist.obj `if test -f 'grub-core/commands/blocklist.c'; then $(CYGPATH_W) 'grub-core/commands/blocklist.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/commands/blocklist.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Tpo grub-core/commands/$(DEPDIR)/libgrubmods_a-blocklist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/commands/blocklist.c' object='grub-core/commands/libgrubmods_a-blocklist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/commands/libgrubmods_a-blocklist.obj `if test -f 'grub-core/commands/blocklist.c'; then $(CYGPATH_W) 'grub-core/commands/blocklist.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/commands/blocklist.c'; fi` + +grub-core/commands/libgrubmods_a-extcmd.o: grub-core/commands/extcmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/commands/libgrubmods_a-extcmd.o -MD -MP -MF grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Tpo -c -o grub-core/commands/libgrubmods_a-extcmd.o `test -f 'grub-core/commands/extcmd.c' || echo '$(srcdir)/'`grub-core/commands/extcmd.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Tpo grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/commands/extcmd.c' object='grub-core/commands/libgrubmods_a-extcmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/commands/libgrubmods_a-extcmd.o `test -f 'grub-core/commands/extcmd.c' || echo '$(srcdir)/'`grub-core/commands/extcmd.c + +grub-core/commands/libgrubmods_a-extcmd.obj: grub-core/commands/extcmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/commands/libgrubmods_a-extcmd.obj -MD -MP -MF grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Tpo -c -o grub-core/commands/libgrubmods_a-extcmd.obj `if test -f 'grub-core/commands/extcmd.c'; then $(CYGPATH_W) 'grub-core/commands/extcmd.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/commands/extcmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Tpo grub-core/commands/$(DEPDIR)/libgrubmods_a-extcmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/commands/extcmd.c' object='grub-core/commands/libgrubmods_a-extcmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/commands/libgrubmods_a-extcmd.obj `if test -f 'grub-core/commands/extcmd.c'; then $(CYGPATH_W) 'grub-core/commands/extcmd.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/commands/extcmd.c'; fi` + +grub-core/commands/libgrubmods_a-ls.o: grub-core/commands/ls.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/commands/libgrubmods_a-ls.o -MD -MP -MF grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Tpo -c -o grub-core/commands/libgrubmods_a-ls.o `test -f 'grub-core/commands/ls.c' || echo '$(srcdir)/'`grub-core/commands/ls.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Tpo grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/commands/ls.c' object='grub-core/commands/libgrubmods_a-ls.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/commands/libgrubmods_a-ls.o `test -f 'grub-core/commands/ls.c' || echo '$(srcdir)/'`grub-core/commands/ls.c + +grub-core/commands/libgrubmods_a-ls.obj: grub-core/commands/ls.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/commands/libgrubmods_a-ls.obj -MD -MP -MF grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Tpo -c -o grub-core/commands/libgrubmods_a-ls.obj `if test -f 'grub-core/commands/ls.c'; then $(CYGPATH_W) 'grub-core/commands/ls.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/commands/ls.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Tpo grub-core/commands/$(DEPDIR)/libgrubmods_a-ls.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/commands/ls.c' object='grub-core/commands/libgrubmods_a-ls.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/commands/libgrubmods_a-ls.obj `if test -f 'grub-core/commands/ls.c'; then $(CYGPATH_W) 'grub-core/commands/ls.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/commands/ls.c'; fi` + +grub-core/disk/libgrubmods_a-dmraid_nvidia.o: grub-core/disk/dmraid_nvidia.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-dmraid_nvidia.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Tpo -c -o grub-core/disk/libgrubmods_a-dmraid_nvidia.o `test -f 'grub-core/disk/dmraid_nvidia.c' || echo '$(srcdir)/'`grub-core/disk/dmraid_nvidia.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/dmraid_nvidia.c' object='grub-core/disk/libgrubmods_a-dmraid_nvidia.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-dmraid_nvidia.o `test -f 'grub-core/disk/dmraid_nvidia.c' || echo '$(srcdir)/'`grub-core/disk/dmraid_nvidia.c + +grub-core/disk/libgrubmods_a-dmraid_nvidia.obj: grub-core/disk/dmraid_nvidia.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-dmraid_nvidia.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Tpo -c -o grub-core/disk/libgrubmods_a-dmraid_nvidia.obj `if test -f 'grub-core/disk/dmraid_nvidia.c'; then $(CYGPATH_W) 'grub-core/disk/dmraid_nvidia.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/dmraid_nvidia.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-dmraid_nvidia.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/dmraid_nvidia.c' object='grub-core/disk/libgrubmods_a-dmraid_nvidia.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-dmraid_nvidia.obj `if test -f 'grub-core/disk/dmraid_nvidia.c'; then $(CYGPATH_W) 'grub-core/disk/dmraid_nvidia.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/dmraid_nvidia.c'; fi` + +grub-core/disk/libgrubmods_a-loopback.o: grub-core/disk/loopback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-loopback.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Tpo -c -o grub-core/disk/libgrubmods_a-loopback.o `test -f 'grub-core/disk/loopback.c' || echo '$(srcdir)/'`grub-core/disk/loopback.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/loopback.c' object='grub-core/disk/libgrubmods_a-loopback.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-loopback.o `test -f 'grub-core/disk/loopback.c' || echo '$(srcdir)/'`grub-core/disk/loopback.c + +grub-core/disk/libgrubmods_a-loopback.obj: grub-core/disk/loopback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-loopback.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Tpo -c -o grub-core/disk/libgrubmods_a-loopback.obj `if test -f 'grub-core/disk/loopback.c'; then $(CYGPATH_W) 'grub-core/disk/loopback.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/loopback.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-loopback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/loopback.c' object='grub-core/disk/libgrubmods_a-loopback.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-loopback.obj `if test -f 'grub-core/disk/loopback.c'; then $(CYGPATH_W) 'grub-core/disk/loopback.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/loopback.c'; fi` + +grub-core/disk/libgrubmods_a-lvm.o: grub-core/disk/lvm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-lvm.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Tpo -c -o grub-core/disk/libgrubmods_a-lvm.o `test -f 'grub-core/disk/lvm.c' || echo '$(srcdir)/'`grub-core/disk/lvm.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/lvm.c' object='grub-core/disk/libgrubmods_a-lvm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-lvm.o `test -f 'grub-core/disk/lvm.c' || echo '$(srcdir)/'`grub-core/disk/lvm.c + +grub-core/disk/libgrubmods_a-lvm.obj: grub-core/disk/lvm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-lvm.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Tpo -c -o grub-core/disk/libgrubmods_a-lvm.obj `if test -f 'grub-core/disk/lvm.c'; then $(CYGPATH_W) 'grub-core/disk/lvm.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/lvm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-lvm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/lvm.c' object='grub-core/disk/libgrubmods_a-lvm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-lvm.obj `if test -f 'grub-core/disk/lvm.c'; then $(CYGPATH_W) 'grub-core/disk/lvm.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/lvm.c'; fi` + +grub-core/disk/libgrubmods_a-mdraid_linux.o: grub-core/disk/mdraid_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-mdraid_linux.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Tpo -c -o grub-core/disk/libgrubmods_a-mdraid_linux.o `test -f 'grub-core/disk/mdraid_linux.c' || echo '$(srcdir)/'`grub-core/disk/mdraid_linux.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/mdraid_linux.c' object='grub-core/disk/libgrubmods_a-mdraid_linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-mdraid_linux.o `test -f 'grub-core/disk/mdraid_linux.c' || echo '$(srcdir)/'`grub-core/disk/mdraid_linux.c + +grub-core/disk/libgrubmods_a-mdraid_linux.obj: grub-core/disk/mdraid_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-mdraid_linux.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Tpo -c -o grub-core/disk/libgrubmods_a-mdraid_linux.obj `if test -f 'grub-core/disk/mdraid_linux.c'; then $(CYGPATH_W) 'grub-core/disk/mdraid_linux.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/mdraid_linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/mdraid_linux.c' object='grub-core/disk/libgrubmods_a-mdraid_linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-mdraid_linux.obj `if test -f 'grub-core/disk/mdraid_linux.c'; then $(CYGPATH_W) 'grub-core/disk/mdraid_linux.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/mdraid_linux.c'; fi` + +grub-core/disk/libgrubmods_a-mdraid1x_linux.o: grub-core/disk/mdraid1x_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-mdraid1x_linux.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Tpo -c -o grub-core/disk/libgrubmods_a-mdraid1x_linux.o `test -f 'grub-core/disk/mdraid1x_linux.c' || echo '$(srcdir)/'`grub-core/disk/mdraid1x_linux.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/mdraid1x_linux.c' object='grub-core/disk/libgrubmods_a-mdraid1x_linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-mdraid1x_linux.o `test -f 'grub-core/disk/mdraid1x_linux.c' || echo '$(srcdir)/'`grub-core/disk/mdraid1x_linux.c + +grub-core/disk/libgrubmods_a-mdraid1x_linux.obj: grub-core/disk/mdraid1x_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-mdraid1x_linux.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Tpo -c -o grub-core/disk/libgrubmods_a-mdraid1x_linux.obj `if test -f 'grub-core/disk/mdraid1x_linux.c'; then $(CYGPATH_W) 'grub-core/disk/mdraid1x_linux.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/mdraid1x_linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-mdraid1x_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/mdraid1x_linux.c' object='grub-core/disk/libgrubmods_a-mdraid1x_linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-mdraid1x_linux.obj `if test -f 'grub-core/disk/mdraid1x_linux.c'; then $(CYGPATH_W) 'grub-core/disk/mdraid1x_linux.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/mdraid1x_linux.c'; fi` + +grub-core/disk/libgrubmods_a-raid5_recover.o: grub-core/disk/raid5_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-raid5_recover.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Tpo -c -o grub-core/disk/libgrubmods_a-raid5_recover.o `test -f 'grub-core/disk/raid5_recover.c' || echo '$(srcdir)/'`grub-core/disk/raid5_recover.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/raid5_recover.c' object='grub-core/disk/libgrubmods_a-raid5_recover.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-raid5_recover.o `test -f 'grub-core/disk/raid5_recover.c' || echo '$(srcdir)/'`grub-core/disk/raid5_recover.c + +grub-core/disk/libgrubmods_a-raid5_recover.obj: grub-core/disk/raid5_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-raid5_recover.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Tpo -c -o grub-core/disk/libgrubmods_a-raid5_recover.obj `if test -f 'grub-core/disk/raid5_recover.c'; then $(CYGPATH_W) 'grub-core/disk/raid5_recover.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/raid5_recover.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-raid5_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/raid5_recover.c' object='grub-core/disk/libgrubmods_a-raid5_recover.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-raid5_recover.obj `if test -f 'grub-core/disk/raid5_recover.c'; then $(CYGPATH_W) 'grub-core/disk/raid5_recover.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/raid5_recover.c'; fi` + +grub-core/disk/libgrubmods_a-raid6_recover.o: grub-core/disk/raid6_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-raid6_recover.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Tpo -c -o grub-core/disk/libgrubmods_a-raid6_recover.o `test -f 'grub-core/disk/raid6_recover.c' || echo '$(srcdir)/'`grub-core/disk/raid6_recover.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/raid6_recover.c' object='grub-core/disk/libgrubmods_a-raid6_recover.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-raid6_recover.o `test -f 'grub-core/disk/raid6_recover.c' || echo '$(srcdir)/'`grub-core/disk/raid6_recover.c + +grub-core/disk/libgrubmods_a-raid6_recover.obj: grub-core/disk/raid6_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-raid6_recover.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Tpo -c -o grub-core/disk/libgrubmods_a-raid6_recover.obj `if test -f 'grub-core/disk/raid6_recover.c'; then $(CYGPATH_W) 'grub-core/disk/raid6_recover.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/raid6_recover.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-raid6_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/raid6_recover.c' object='grub-core/disk/libgrubmods_a-raid6_recover.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-raid6_recover.obj `if test -f 'grub-core/disk/raid6_recover.c'; then $(CYGPATH_W) 'grub-core/disk/raid6_recover.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/raid6_recover.c'; fi` + +grub-core/disk/libgrubmods_a-raid.o: grub-core/disk/raid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-raid.o -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Tpo -c -o grub-core/disk/libgrubmods_a-raid.o `test -f 'grub-core/disk/raid.c' || echo '$(srcdir)/'`grub-core/disk/raid.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/raid.c' object='grub-core/disk/libgrubmods_a-raid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-raid.o `test -f 'grub-core/disk/raid.c' || echo '$(srcdir)/'`grub-core/disk/raid.c + +grub-core/disk/libgrubmods_a-raid.obj: grub-core/disk/raid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/disk/libgrubmods_a-raid.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Tpo -c -o grub-core/disk/libgrubmods_a-raid.obj `if test -f 'grub-core/disk/raid.c'; then $(CYGPATH_W) 'grub-core/disk/raid.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/raid.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Tpo grub-core/disk/$(DEPDIR)/libgrubmods_a-raid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/raid.c' object='grub-core/disk/libgrubmods_a-raid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/disk/libgrubmods_a-raid.obj `if test -f 'grub-core/disk/raid.c'; then $(CYGPATH_W) 'grub-core/disk/raid.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/raid.c'; fi` + +grub-core/fs/libgrubmods_a-affs.o: grub-core/fs/affs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-affs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Tpo -c -o grub-core/fs/libgrubmods_a-affs.o `test -f 'grub-core/fs/affs.c' || echo '$(srcdir)/'`grub-core/fs/affs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/affs.c' object='grub-core/fs/libgrubmods_a-affs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-affs.o `test -f 'grub-core/fs/affs.c' || echo '$(srcdir)/'`grub-core/fs/affs.c + +grub-core/fs/libgrubmods_a-affs.obj: grub-core/fs/affs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-affs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Tpo -c -o grub-core/fs/libgrubmods_a-affs.obj `if test -f 'grub-core/fs/affs.c'; then $(CYGPATH_W) 'grub-core/fs/affs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/affs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-affs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/affs.c' object='grub-core/fs/libgrubmods_a-affs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-affs.obj `if test -f 'grub-core/fs/affs.c'; then $(CYGPATH_W) 'grub-core/fs/affs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/affs.c'; fi` + +grub-core/fs/libgrubmods_a-afs_be.o: grub-core/fs/afs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-afs_be.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Tpo -c -o grub-core/fs/libgrubmods_a-afs_be.o `test -f 'grub-core/fs/afs_be.c' || echo '$(srcdir)/'`grub-core/fs/afs_be.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/afs_be.c' object='grub-core/fs/libgrubmods_a-afs_be.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-afs_be.o `test -f 'grub-core/fs/afs_be.c' || echo '$(srcdir)/'`grub-core/fs/afs_be.c + +grub-core/fs/libgrubmods_a-afs_be.obj: grub-core/fs/afs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-afs_be.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Tpo -c -o grub-core/fs/libgrubmods_a-afs_be.obj `if test -f 'grub-core/fs/afs_be.c'; then $(CYGPATH_W) 'grub-core/fs/afs_be.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/afs_be.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-afs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/afs_be.c' object='grub-core/fs/libgrubmods_a-afs_be.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-afs_be.obj `if test -f 'grub-core/fs/afs_be.c'; then $(CYGPATH_W) 'grub-core/fs/afs_be.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/afs_be.c'; fi` + +grub-core/fs/libgrubmods_a-afs.o: grub-core/fs/afs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-afs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Tpo -c -o grub-core/fs/libgrubmods_a-afs.o `test -f 'grub-core/fs/afs.c' || echo '$(srcdir)/'`grub-core/fs/afs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/afs.c' object='grub-core/fs/libgrubmods_a-afs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-afs.o `test -f 'grub-core/fs/afs.c' || echo '$(srcdir)/'`grub-core/fs/afs.c + +grub-core/fs/libgrubmods_a-afs.obj: grub-core/fs/afs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-afs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Tpo -c -o grub-core/fs/libgrubmods_a-afs.obj `if test -f 'grub-core/fs/afs.c'; then $(CYGPATH_W) 'grub-core/fs/afs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/afs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-afs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/afs.c' object='grub-core/fs/libgrubmods_a-afs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-afs.obj `if test -f 'grub-core/fs/afs.c'; then $(CYGPATH_W) 'grub-core/fs/afs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/afs.c'; fi` + +grub-core/fs/libgrubmods_a-befs_be.o: grub-core/fs/befs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-befs_be.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Tpo -c -o grub-core/fs/libgrubmods_a-befs_be.o `test -f 'grub-core/fs/befs_be.c' || echo '$(srcdir)/'`grub-core/fs/befs_be.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/befs_be.c' object='grub-core/fs/libgrubmods_a-befs_be.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-befs_be.o `test -f 'grub-core/fs/befs_be.c' || echo '$(srcdir)/'`grub-core/fs/befs_be.c + +grub-core/fs/libgrubmods_a-befs_be.obj: grub-core/fs/befs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-befs_be.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Tpo -c -o grub-core/fs/libgrubmods_a-befs_be.obj `if test -f 'grub-core/fs/befs_be.c'; then $(CYGPATH_W) 'grub-core/fs/befs_be.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/befs_be.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-befs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/befs_be.c' object='grub-core/fs/libgrubmods_a-befs_be.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-befs_be.obj `if test -f 'grub-core/fs/befs_be.c'; then $(CYGPATH_W) 'grub-core/fs/befs_be.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/befs_be.c'; fi` + +grub-core/fs/libgrubmods_a-befs.o: grub-core/fs/befs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-befs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Tpo -c -o grub-core/fs/libgrubmods_a-befs.o `test -f 'grub-core/fs/befs.c' || echo '$(srcdir)/'`grub-core/fs/befs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/befs.c' object='grub-core/fs/libgrubmods_a-befs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-befs.o `test -f 'grub-core/fs/befs.c' || echo '$(srcdir)/'`grub-core/fs/befs.c + +grub-core/fs/libgrubmods_a-befs.obj: grub-core/fs/befs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-befs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Tpo -c -o grub-core/fs/libgrubmods_a-befs.obj `if test -f 'grub-core/fs/befs.c'; then $(CYGPATH_W) 'grub-core/fs/befs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/befs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-befs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/befs.c' object='grub-core/fs/libgrubmods_a-befs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-befs.obj `if test -f 'grub-core/fs/befs.c'; then $(CYGPATH_W) 'grub-core/fs/befs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/befs.c'; fi` + +grub-core/fs/libgrubmods_a-btrfs.o: grub-core/fs/btrfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-btrfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Tpo -c -o grub-core/fs/libgrubmods_a-btrfs.o `test -f 'grub-core/fs/btrfs.c' || echo '$(srcdir)/'`grub-core/fs/btrfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/btrfs.c' object='grub-core/fs/libgrubmods_a-btrfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-btrfs.o `test -f 'grub-core/fs/btrfs.c' || echo '$(srcdir)/'`grub-core/fs/btrfs.c + +grub-core/fs/libgrubmods_a-btrfs.obj: grub-core/fs/btrfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-btrfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Tpo -c -o grub-core/fs/libgrubmods_a-btrfs.obj `if test -f 'grub-core/fs/btrfs.c'; then $(CYGPATH_W) 'grub-core/fs/btrfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/btrfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-btrfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/btrfs.c' object='grub-core/fs/libgrubmods_a-btrfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-btrfs.obj `if test -f 'grub-core/fs/btrfs.c'; then $(CYGPATH_W) 'grub-core/fs/btrfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/btrfs.c'; fi` + +grub-core/fs/libgrubmods_a-cpio.o: grub-core/fs/cpio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-cpio.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Tpo -c -o grub-core/fs/libgrubmods_a-cpio.o `test -f 'grub-core/fs/cpio.c' || echo '$(srcdir)/'`grub-core/fs/cpio.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/cpio.c' object='grub-core/fs/libgrubmods_a-cpio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-cpio.o `test -f 'grub-core/fs/cpio.c' || echo '$(srcdir)/'`grub-core/fs/cpio.c + +grub-core/fs/libgrubmods_a-cpio.obj: grub-core/fs/cpio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-cpio.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Tpo -c -o grub-core/fs/libgrubmods_a-cpio.obj `if test -f 'grub-core/fs/cpio.c'; then $(CYGPATH_W) 'grub-core/fs/cpio.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/cpio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-cpio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/cpio.c' object='grub-core/fs/libgrubmods_a-cpio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-cpio.obj `if test -f 'grub-core/fs/cpio.c'; then $(CYGPATH_W) 'grub-core/fs/cpio.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/cpio.c'; fi` + +grub-core/fs/libgrubmods_a-ext2.o: grub-core/fs/ext2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ext2.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Tpo -c -o grub-core/fs/libgrubmods_a-ext2.o `test -f 'grub-core/fs/ext2.c' || echo '$(srcdir)/'`grub-core/fs/ext2.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ext2.c' object='grub-core/fs/libgrubmods_a-ext2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ext2.o `test -f 'grub-core/fs/ext2.c' || echo '$(srcdir)/'`grub-core/fs/ext2.c + +grub-core/fs/libgrubmods_a-ext2.obj: grub-core/fs/ext2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ext2.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Tpo -c -o grub-core/fs/libgrubmods_a-ext2.obj `if test -f 'grub-core/fs/ext2.c'; then $(CYGPATH_W) 'grub-core/fs/ext2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ext2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ext2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ext2.c' object='grub-core/fs/libgrubmods_a-ext2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ext2.obj `if test -f 'grub-core/fs/ext2.c'; then $(CYGPATH_W) 'grub-core/fs/ext2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ext2.c'; fi` + +grub-core/fs/libgrubmods_a-fat.o: grub-core/fs/fat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-fat.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Tpo -c -o grub-core/fs/libgrubmods_a-fat.o `test -f 'grub-core/fs/fat.c' || echo '$(srcdir)/'`grub-core/fs/fat.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/fat.c' object='grub-core/fs/libgrubmods_a-fat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-fat.o `test -f 'grub-core/fs/fat.c' || echo '$(srcdir)/'`grub-core/fs/fat.c + +grub-core/fs/libgrubmods_a-fat.obj: grub-core/fs/fat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-fat.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Tpo -c -o grub-core/fs/libgrubmods_a-fat.obj `if test -f 'grub-core/fs/fat.c'; then $(CYGPATH_W) 'grub-core/fs/fat.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/fat.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-fat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/fat.c' object='grub-core/fs/libgrubmods_a-fat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-fat.obj `if test -f 'grub-core/fs/fat.c'; then $(CYGPATH_W) 'grub-core/fs/fat.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/fat.c'; fi` + +grub-core/fs/libgrubmods_a-fshelp.o: grub-core/fs/fshelp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-fshelp.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Tpo -c -o grub-core/fs/libgrubmods_a-fshelp.o `test -f 'grub-core/fs/fshelp.c' || echo '$(srcdir)/'`grub-core/fs/fshelp.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/fshelp.c' object='grub-core/fs/libgrubmods_a-fshelp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-fshelp.o `test -f 'grub-core/fs/fshelp.c' || echo '$(srcdir)/'`grub-core/fs/fshelp.c + +grub-core/fs/libgrubmods_a-fshelp.obj: grub-core/fs/fshelp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-fshelp.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Tpo -c -o grub-core/fs/libgrubmods_a-fshelp.obj `if test -f 'grub-core/fs/fshelp.c'; then $(CYGPATH_W) 'grub-core/fs/fshelp.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/fshelp.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-fshelp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/fshelp.c' object='grub-core/fs/libgrubmods_a-fshelp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-fshelp.obj `if test -f 'grub-core/fs/fshelp.c'; then $(CYGPATH_W) 'grub-core/fs/fshelp.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/fshelp.c'; fi` + +grub-core/fs/libgrubmods_a-hfs.o: grub-core/fs/hfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-hfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Tpo -c -o grub-core/fs/libgrubmods_a-hfs.o `test -f 'grub-core/fs/hfs.c' || echo '$(srcdir)/'`grub-core/fs/hfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/hfs.c' object='grub-core/fs/libgrubmods_a-hfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-hfs.o `test -f 'grub-core/fs/hfs.c' || echo '$(srcdir)/'`grub-core/fs/hfs.c + +grub-core/fs/libgrubmods_a-hfs.obj: grub-core/fs/hfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-hfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Tpo -c -o grub-core/fs/libgrubmods_a-hfs.obj `if test -f 'grub-core/fs/hfs.c'; then $(CYGPATH_W) 'grub-core/fs/hfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/hfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-hfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/hfs.c' object='grub-core/fs/libgrubmods_a-hfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-hfs.obj `if test -f 'grub-core/fs/hfs.c'; then $(CYGPATH_W) 'grub-core/fs/hfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/hfs.c'; fi` + +grub-core/fs/libgrubmods_a-hfsplus.o: grub-core/fs/hfsplus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-hfsplus.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Tpo -c -o grub-core/fs/libgrubmods_a-hfsplus.o `test -f 'grub-core/fs/hfsplus.c' || echo '$(srcdir)/'`grub-core/fs/hfsplus.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/hfsplus.c' object='grub-core/fs/libgrubmods_a-hfsplus.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-hfsplus.o `test -f 'grub-core/fs/hfsplus.c' || echo '$(srcdir)/'`grub-core/fs/hfsplus.c + +grub-core/fs/libgrubmods_a-hfsplus.obj: grub-core/fs/hfsplus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-hfsplus.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Tpo -c -o grub-core/fs/libgrubmods_a-hfsplus.obj `if test -f 'grub-core/fs/hfsplus.c'; then $(CYGPATH_W) 'grub-core/fs/hfsplus.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/hfsplus.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-hfsplus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/hfsplus.c' object='grub-core/fs/libgrubmods_a-hfsplus.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-hfsplus.obj `if test -f 'grub-core/fs/hfsplus.c'; then $(CYGPATH_W) 'grub-core/fs/hfsplus.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/hfsplus.c'; fi` + +grub-core/fs/libgrubmods_a-iso9660.o: grub-core/fs/iso9660.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-iso9660.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Tpo -c -o grub-core/fs/libgrubmods_a-iso9660.o `test -f 'grub-core/fs/iso9660.c' || echo '$(srcdir)/'`grub-core/fs/iso9660.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/iso9660.c' object='grub-core/fs/libgrubmods_a-iso9660.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-iso9660.o `test -f 'grub-core/fs/iso9660.c' || echo '$(srcdir)/'`grub-core/fs/iso9660.c + +grub-core/fs/libgrubmods_a-iso9660.obj: grub-core/fs/iso9660.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-iso9660.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Tpo -c -o grub-core/fs/libgrubmods_a-iso9660.obj `if test -f 'grub-core/fs/iso9660.c'; then $(CYGPATH_W) 'grub-core/fs/iso9660.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/iso9660.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-iso9660.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/iso9660.c' object='grub-core/fs/libgrubmods_a-iso9660.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-iso9660.obj `if test -f 'grub-core/fs/iso9660.c'; then $(CYGPATH_W) 'grub-core/fs/iso9660.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/iso9660.c'; fi` + +grub-core/fs/libgrubmods_a-jfs.o: grub-core/fs/jfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-jfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Tpo -c -o grub-core/fs/libgrubmods_a-jfs.o `test -f 'grub-core/fs/jfs.c' || echo '$(srcdir)/'`grub-core/fs/jfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/jfs.c' object='grub-core/fs/libgrubmods_a-jfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-jfs.o `test -f 'grub-core/fs/jfs.c' || echo '$(srcdir)/'`grub-core/fs/jfs.c + +grub-core/fs/libgrubmods_a-jfs.obj: grub-core/fs/jfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-jfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Tpo -c -o grub-core/fs/libgrubmods_a-jfs.obj `if test -f 'grub-core/fs/jfs.c'; then $(CYGPATH_W) 'grub-core/fs/jfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/jfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-jfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/jfs.c' object='grub-core/fs/libgrubmods_a-jfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-jfs.obj `if test -f 'grub-core/fs/jfs.c'; then $(CYGPATH_W) 'grub-core/fs/jfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/jfs.c'; fi` + +grub-core/fs/libgrubmods_a-minix.o: grub-core/fs/minix.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-minix.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Tpo -c -o grub-core/fs/libgrubmods_a-minix.o `test -f 'grub-core/fs/minix.c' || echo '$(srcdir)/'`grub-core/fs/minix.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/minix.c' object='grub-core/fs/libgrubmods_a-minix.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-minix.o `test -f 'grub-core/fs/minix.c' || echo '$(srcdir)/'`grub-core/fs/minix.c + +grub-core/fs/libgrubmods_a-minix.obj: grub-core/fs/minix.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-minix.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Tpo -c -o grub-core/fs/libgrubmods_a-minix.obj `if test -f 'grub-core/fs/minix.c'; then $(CYGPATH_W) 'grub-core/fs/minix.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/minix.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-minix.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/minix.c' object='grub-core/fs/libgrubmods_a-minix.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-minix.obj `if test -f 'grub-core/fs/minix.c'; then $(CYGPATH_W) 'grub-core/fs/minix.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/minix.c'; fi` + +grub-core/fs/libgrubmods_a-minix2.o: grub-core/fs/minix2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-minix2.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Tpo -c -o grub-core/fs/libgrubmods_a-minix2.o `test -f 'grub-core/fs/minix2.c' || echo '$(srcdir)/'`grub-core/fs/minix2.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/minix2.c' object='grub-core/fs/libgrubmods_a-minix2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-minix2.o `test -f 'grub-core/fs/minix2.c' || echo '$(srcdir)/'`grub-core/fs/minix2.c + +grub-core/fs/libgrubmods_a-minix2.obj: grub-core/fs/minix2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-minix2.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Tpo -c -o grub-core/fs/libgrubmods_a-minix2.obj `if test -f 'grub-core/fs/minix2.c'; then $(CYGPATH_W) 'grub-core/fs/minix2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/minix2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-minix2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/minix2.c' object='grub-core/fs/libgrubmods_a-minix2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-minix2.obj `if test -f 'grub-core/fs/minix2.c'; then $(CYGPATH_W) 'grub-core/fs/minix2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/minix2.c'; fi` + +grub-core/fs/libgrubmods_a-nilfs2.o: grub-core/fs/nilfs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-nilfs2.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Tpo -c -o grub-core/fs/libgrubmods_a-nilfs2.o `test -f 'grub-core/fs/nilfs2.c' || echo '$(srcdir)/'`grub-core/fs/nilfs2.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/nilfs2.c' object='grub-core/fs/libgrubmods_a-nilfs2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-nilfs2.o `test -f 'grub-core/fs/nilfs2.c' || echo '$(srcdir)/'`grub-core/fs/nilfs2.c + +grub-core/fs/libgrubmods_a-nilfs2.obj: grub-core/fs/nilfs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-nilfs2.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Tpo -c -o grub-core/fs/libgrubmods_a-nilfs2.obj `if test -f 'grub-core/fs/nilfs2.c'; then $(CYGPATH_W) 'grub-core/fs/nilfs2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/nilfs2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-nilfs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/nilfs2.c' object='grub-core/fs/libgrubmods_a-nilfs2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-nilfs2.obj `if test -f 'grub-core/fs/nilfs2.c'; then $(CYGPATH_W) 'grub-core/fs/nilfs2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/nilfs2.c'; fi` + +grub-core/fs/libgrubmods_a-ntfs.o: grub-core/fs/ntfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ntfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Tpo -c -o grub-core/fs/libgrubmods_a-ntfs.o `test -f 'grub-core/fs/ntfs.c' || echo '$(srcdir)/'`grub-core/fs/ntfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ntfs.c' object='grub-core/fs/libgrubmods_a-ntfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ntfs.o `test -f 'grub-core/fs/ntfs.c' || echo '$(srcdir)/'`grub-core/fs/ntfs.c + +grub-core/fs/libgrubmods_a-ntfs.obj: grub-core/fs/ntfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ntfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Tpo -c -o grub-core/fs/libgrubmods_a-ntfs.obj `if test -f 'grub-core/fs/ntfs.c'; then $(CYGPATH_W) 'grub-core/fs/ntfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ntfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ntfs.c' object='grub-core/fs/libgrubmods_a-ntfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ntfs.obj `if test -f 'grub-core/fs/ntfs.c'; then $(CYGPATH_W) 'grub-core/fs/ntfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ntfs.c'; fi` + +grub-core/fs/libgrubmods_a-ntfscomp.o: grub-core/fs/ntfscomp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ntfscomp.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Tpo -c -o grub-core/fs/libgrubmods_a-ntfscomp.o `test -f 'grub-core/fs/ntfscomp.c' || echo '$(srcdir)/'`grub-core/fs/ntfscomp.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ntfscomp.c' object='grub-core/fs/libgrubmods_a-ntfscomp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ntfscomp.o `test -f 'grub-core/fs/ntfscomp.c' || echo '$(srcdir)/'`grub-core/fs/ntfscomp.c + +grub-core/fs/libgrubmods_a-ntfscomp.obj: grub-core/fs/ntfscomp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ntfscomp.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Tpo -c -o grub-core/fs/libgrubmods_a-ntfscomp.obj `if test -f 'grub-core/fs/ntfscomp.c'; then $(CYGPATH_W) 'grub-core/fs/ntfscomp.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ntfscomp.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ntfscomp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ntfscomp.c' object='grub-core/fs/libgrubmods_a-ntfscomp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ntfscomp.obj `if test -f 'grub-core/fs/ntfscomp.c'; then $(CYGPATH_W) 'grub-core/fs/ntfscomp.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ntfscomp.c'; fi` + +grub-core/fs/libgrubmods_a-reiserfs.o: grub-core/fs/reiserfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-reiserfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Tpo -c -o grub-core/fs/libgrubmods_a-reiserfs.o `test -f 'grub-core/fs/reiserfs.c' || echo '$(srcdir)/'`grub-core/fs/reiserfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/reiserfs.c' object='grub-core/fs/libgrubmods_a-reiserfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-reiserfs.o `test -f 'grub-core/fs/reiserfs.c' || echo '$(srcdir)/'`grub-core/fs/reiserfs.c + +grub-core/fs/libgrubmods_a-reiserfs.obj: grub-core/fs/reiserfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-reiserfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Tpo -c -o grub-core/fs/libgrubmods_a-reiserfs.obj `if test -f 'grub-core/fs/reiserfs.c'; then $(CYGPATH_W) 'grub-core/fs/reiserfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/reiserfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-reiserfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/reiserfs.c' object='grub-core/fs/libgrubmods_a-reiserfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-reiserfs.obj `if test -f 'grub-core/fs/reiserfs.c'; then $(CYGPATH_W) 'grub-core/fs/reiserfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/reiserfs.c'; fi` + +grub-core/fs/libgrubmods_a-sfs.o: grub-core/fs/sfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-sfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Tpo -c -o grub-core/fs/libgrubmods_a-sfs.o `test -f 'grub-core/fs/sfs.c' || echo '$(srcdir)/'`grub-core/fs/sfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/sfs.c' object='grub-core/fs/libgrubmods_a-sfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-sfs.o `test -f 'grub-core/fs/sfs.c' || echo '$(srcdir)/'`grub-core/fs/sfs.c + +grub-core/fs/libgrubmods_a-sfs.obj: grub-core/fs/sfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-sfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Tpo -c -o grub-core/fs/libgrubmods_a-sfs.obj `if test -f 'grub-core/fs/sfs.c'; then $(CYGPATH_W) 'grub-core/fs/sfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/sfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-sfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/sfs.c' object='grub-core/fs/libgrubmods_a-sfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-sfs.obj `if test -f 'grub-core/fs/sfs.c'; then $(CYGPATH_W) 'grub-core/fs/sfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/sfs.c'; fi` + +grub-core/fs/libgrubmods_a-tar.o: grub-core/fs/tar.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-tar.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Tpo -c -o grub-core/fs/libgrubmods_a-tar.o `test -f 'grub-core/fs/tar.c' || echo '$(srcdir)/'`grub-core/fs/tar.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/tar.c' object='grub-core/fs/libgrubmods_a-tar.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-tar.o `test -f 'grub-core/fs/tar.c' || echo '$(srcdir)/'`grub-core/fs/tar.c + +grub-core/fs/libgrubmods_a-tar.obj: grub-core/fs/tar.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-tar.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Tpo -c -o grub-core/fs/libgrubmods_a-tar.obj `if test -f 'grub-core/fs/tar.c'; then $(CYGPATH_W) 'grub-core/fs/tar.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/tar.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-tar.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/tar.c' object='grub-core/fs/libgrubmods_a-tar.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-tar.obj `if test -f 'grub-core/fs/tar.c'; then $(CYGPATH_W) 'grub-core/fs/tar.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/tar.c'; fi` + +grub-core/fs/libgrubmods_a-udf.o: grub-core/fs/udf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-udf.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Tpo -c -o grub-core/fs/libgrubmods_a-udf.o `test -f 'grub-core/fs/udf.c' || echo '$(srcdir)/'`grub-core/fs/udf.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/udf.c' object='grub-core/fs/libgrubmods_a-udf.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-udf.o `test -f 'grub-core/fs/udf.c' || echo '$(srcdir)/'`grub-core/fs/udf.c + +grub-core/fs/libgrubmods_a-udf.obj: grub-core/fs/udf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-udf.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Tpo -c -o grub-core/fs/libgrubmods_a-udf.obj `if test -f 'grub-core/fs/udf.c'; then $(CYGPATH_W) 'grub-core/fs/udf.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/udf.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-udf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/udf.c' object='grub-core/fs/libgrubmods_a-udf.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-udf.obj `if test -f 'grub-core/fs/udf.c'; then $(CYGPATH_W) 'grub-core/fs/udf.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/udf.c'; fi` + +grub-core/fs/libgrubmods_a-ufs2.o: grub-core/fs/ufs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ufs2.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Tpo -c -o grub-core/fs/libgrubmods_a-ufs2.o `test -f 'grub-core/fs/ufs2.c' || echo '$(srcdir)/'`grub-core/fs/ufs2.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ufs2.c' object='grub-core/fs/libgrubmods_a-ufs2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ufs2.o `test -f 'grub-core/fs/ufs2.c' || echo '$(srcdir)/'`grub-core/fs/ufs2.c + +grub-core/fs/libgrubmods_a-ufs2.obj: grub-core/fs/ufs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ufs2.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Tpo -c -o grub-core/fs/libgrubmods_a-ufs2.obj `if test -f 'grub-core/fs/ufs2.c'; then $(CYGPATH_W) 'grub-core/fs/ufs2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ufs2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ufs2.c' object='grub-core/fs/libgrubmods_a-ufs2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ufs2.obj `if test -f 'grub-core/fs/ufs2.c'; then $(CYGPATH_W) 'grub-core/fs/ufs2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ufs2.c'; fi` + +grub-core/fs/libgrubmods_a-ufs.o: grub-core/fs/ufs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ufs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Tpo -c -o grub-core/fs/libgrubmods_a-ufs.o `test -f 'grub-core/fs/ufs.c' || echo '$(srcdir)/'`grub-core/fs/ufs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ufs.c' object='grub-core/fs/libgrubmods_a-ufs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ufs.o `test -f 'grub-core/fs/ufs.c' || echo '$(srcdir)/'`grub-core/fs/ufs.c + +grub-core/fs/libgrubmods_a-ufs.obj: grub-core/fs/ufs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-ufs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Tpo -c -o grub-core/fs/libgrubmods_a-ufs.obj `if test -f 'grub-core/fs/ufs.c'; then $(CYGPATH_W) 'grub-core/fs/ufs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ufs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-ufs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/ufs.c' object='grub-core/fs/libgrubmods_a-ufs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-ufs.obj `if test -f 'grub-core/fs/ufs.c'; then $(CYGPATH_W) 'grub-core/fs/ufs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/ufs.c'; fi` + +grub-core/fs/libgrubmods_a-xfs.o: grub-core/fs/xfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-xfs.o -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Tpo -c -o grub-core/fs/libgrubmods_a-xfs.o `test -f 'grub-core/fs/xfs.c' || echo '$(srcdir)/'`grub-core/fs/xfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/xfs.c' object='grub-core/fs/libgrubmods_a-xfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-xfs.o `test -f 'grub-core/fs/xfs.c' || echo '$(srcdir)/'`grub-core/fs/xfs.c + +grub-core/fs/libgrubmods_a-xfs.obj: grub-core/fs/xfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/libgrubmods_a-xfs.obj -MD -MP -MF grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Tpo -c -o grub-core/fs/libgrubmods_a-xfs.obj `if test -f 'grub-core/fs/xfs.c'; then $(CYGPATH_W) 'grub-core/fs/xfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/xfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Tpo grub-core/fs/$(DEPDIR)/libgrubmods_a-xfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/xfs.c' object='grub-core/fs/libgrubmods_a-xfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/libgrubmods_a-xfs.obj `if test -f 'grub-core/fs/xfs.c'; then $(CYGPATH_W) 'grub-core/fs/xfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/xfs.c'; fi` + +grub-core/fs/zfs/libgrubmods_a-zfs.o: grub-core/fs/zfs/zfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs.o -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs.o `test -f 'grub-core/fs/zfs/zfs.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs.c' object='grub-core/fs/zfs/libgrubmods_a-zfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs.o `test -f 'grub-core/fs/zfs/zfs.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs.c + +grub-core/fs/zfs/libgrubmods_a-zfs.obj: grub-core/fs/zfs/zfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs.obj -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs.obj `if test -f 'grub-core/fs/zfs/zfs.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs.c' object='grub-core/fs/zfs/libgrubmods_a-zfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs.obj `if test -f 'grub-core/fs/zfs/zfs.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs.c'; fi` + +grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.o: grub-core/fs/zfs/zfs_lzjb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.o -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.o `test -f 'grub-core/fs/zfs/zfs_lzjb.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs_lzjb.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs_lzjb.c' object='grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.o `test -f 'grub-core/fs/zfs/zfs_lzjb.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs_lzjb.c + +grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.obj: grub-core/fs/zfs/zfs_lzjb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.obj -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.obj `if test -f 'grub-core/fs/zfs/zfs_lzjb.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs_lzjb.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs_lzjb.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_lzjb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs_lzjb.c' object='grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs_lzjb.obj `if test -f 'grub-core/fs/zfs/zfs_lzjb.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs_lzjb.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs_lzjb.c'; fi` + +grub-core/fs/zfs/libgrubmods_a-zfs_sha256.o: grub-core/fs/zfs/zfs_sha256.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs_sha256.o -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs_sha256.o `test -f 'grub-core/fs/zfs/zfs_sha256.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs_sha256.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs_sha256.c' object='grub-core/fs/zfs/libgrubmods_a-zfs_sha256.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs_sha256.o `test -f 'grub-core/fs/zfs/zfs_sha256.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs_sha256.c + +grub-core/fs/zfs/libgrubmods_a-zfs_sha256.obj: grub-core/fs/zfs/zfs_sha256.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs_sha256.obj -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs_sha256.obj `if test -f 'grub-core/fs/zfs/zfs_sha256.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs_sha256.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs_sha256.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_sha256.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs_sha256.c' object='grub-core/fs/zfs/libgrubmods_a-zfs_sha256.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs_sha256.obj `if test -f 'grub-core/fs/zfs/zfs_sha256.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs_sha256.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs_sha256.c'; fi` + +grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.o: grub-core/fs/zfs/zfs_fletcher.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.o -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.o `test -f 'grub-core/fs/zfs/zfs_fletcher.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs_fletcher.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs_fletcher.c' object='grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.o `test -f 'grub-core/fs/zfs/zfs_fletcher.c' || echo '$(srcdir)/'`grub-core/fs/zfs/zfs_fletcher.c + +grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.obj: grub-core/fs/zfs/zfs_fletcher.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.obj -MD -MP -MF grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Tpo -c -o grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.obj `if test -f 'grub-core/fs/zfs/zfs_fletcher.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs_fletcher.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs_fletcher.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Tpo grub-core/fs/zfs/$(DEPDIR)/libgrubmods_a-zfs_fletcher.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/fs/zfs/zfs_fletcher.c' object='grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/fs/zfs/libgrubmods_a-zfs_fletcher.obj `if test -f 'grub-core/fs/zfs/zfs_fletcher.c'; then $(CYGPATH_W) 'grub-core/fs/zfs/zfs_fletcher.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/fs/zfs/zfs_fletcher.c'; fi` + +grub-core/lib/libgrubmods_a-arg.o: grub-core/lib/arg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-arg.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Tpo -c -o grub-core/lib/libgrubmods_a-arg.o `test -f 'grub-core/lib/arg.c' || echo '$(srcdir)/'`grub-core/lib/arg.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/arg.c' object='grub-core/lib/libgrubmods_a-arg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-arg.o `test -f 'grub-core/lib/arg.c' || echo '$(srcdir)/'`grub-core/lib/arg.c + +grub-core/lib/libgrubmods_a-arg.obj: grub-core/lib/arg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-arg.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Tpo -c -o grub-core/lib/libgrubmods_a-arg.obj `if test -f 'grub-core/lib/arg.c'; then $(CYGPATH_W) 'grub-core/lib/arg.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/arg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-arg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/arg.c' object='grub-core/lib/libgrubmods_a-arg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-arg.obj `if test -f 'grub-core/lib/arg.c'; then $(CYGPATH_W) 'grub-core/lib/arg.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/arg.c'; fi` + +grub-core/lib/libgrubmods_a-crypto.o: grub-core/lib/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-crypto.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Tpo -c -o grub-core/lib/libgrubmods_a-crypto.o `test -f 'grub-core/lib/crypto.c' || echo '$(srcdir)/'`grub-core/lib/crypto.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/crypto.c' object='grub-core/lib/libgrubmods_a-crypto.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-crypto.o `test -f 'grub-core/lib/crypto.c' || echo '$(srcdir)/'`grub-core/lib/crypto.c + +grub-core/lib/libgrubmods_a-crypto.obj: grub-core/lib/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-crypto.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Tpo -c -o grub-core/lib/libgrubmods_a-crypto.obj `if test -f 'grub-core/lib/crypto.c'; then $(CYGPATH_W) 'grub-core/lib/crypto.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/crypto.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/crypto.c' object='grub-core/lib/libgrubmods_a-crypto.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-crypto.obj `if test -f 'grub-core/lib/crypto.c'; then $(CYGPATH_W) 'grub-core/lib/crypto.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/crypto.c'; fi` + +grub-core/lib/libgrubmods_a-envblk.o: grub-core/lib/envblk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-envblk.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Tpo -c -o grub-core/lib/libgrubmods_a-envblk.o `test -f 'grub-core/lib/envblk.c' || echo '$(srcdir)/'`grub-core/lib/envblk.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/envblk.c' object='grub-core/lib/libgrubmods_a-envblk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-envblk.o `test -f 'grub-core/lib/envblk.c' || echo '$(srcdir)/'`grub-core/lib/envblk.c + +grub-core/lib/libgrubmods_a-envblk.obj: grub-core/lib/envblk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-envblk.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Tpo -c -o grub-core/lib/libgrubmods_a-envblk.obj `if test -f 'grub-core/lib/envblk.c'; then $(CYGPATH_W) 'grub-core/lib/envblk.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/envblk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-envblk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/envblk.c' object='grub-core/lib/libgrubmods_a-envblk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-envblk.obj `if test -f 'grub-core/lib/envblk.c'; then $(CYGPATH_W) 'grub-core/lib/envblk.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/envblk.c'; fi` + +grub-core/lib/libgrubmods_a-hexdump.o: grub-core/lib/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-hexdump.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Tpo -c -o grub-core/lib/libgrubmods_a-hexdump.o `test -f 'grub-core/lib/hexdump.c' || echo '$(srcdir)/'`grub-core/lib/hexdump.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/hexdump.c' object='grub-core/lib/libgrubmods_a-hexdump.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-hexdump.o `test -f 'grub-core/lib/hexdump.c' || echo '$(srcdir)/'`grub-core/lib/hexdump.c + +grub-core/lib/libgrubmods_a-hexdump.obj: grub-core/lib/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-hexdump.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Tpo -c -o grub-core/lib/libgrubmods_a-hexdump.obj `if test -f 'grub-core/lib/hexdump.c'; then $(CYGPATH_W) 'grub-core/lib/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/hexdump.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/hexdump.c' object='grub-core/lib/libgrubmods_a-hexdump.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-hexdump.obj `if test -f 'grub-core/lib/hexdump.c'; then $(CYGPATH_W) 'grub-core/lib/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/hexdump.c'; fi` + +grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.o: grub-core/lib/libgcrypt-grub/cipher/sha512.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.o -MD -MP -MF grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Tpo -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.o `test -f 'grub-core/lib/libgcrypt-grub/cipher/sha512.c' || echo '$(srcdir)/'`grub-core/lib/libgcrypt-grub/cipher/sha512.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Tpo grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/libgcrypt-grub/cipher/sha512.c' object='grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.o `test -f 'grub-core/lib/libgcrypt-grub/cipher/sha512.c' || echo '$(srcdir)/'`grub-core/lib/libgcrypt-grub/cipher/sha512.c + +grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.obj: grub-core/lib/libgcrypt-grub/cipher/sha512.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.obj -MD -MP -MF grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Tpo -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.obj `if test -f 'grub-core/lib/libgcrypt-grub/cipher/sha512.c'; then $(CYGPATH_W) 'grub-core/lib/libgcrypt-grub/cipher/sha512.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/libgcrypt-grub/cipher/sha512.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Tpo grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-sha512.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/libgcrypt-grub/cipher/sha512.c' object='grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-sha512.obj `if test -f 'grub-core/lib/libgcrypt-grub/cipher/sha512.c'; then $(CYGPATH_W) 'grub-core/lib/libgcrypt-grub/cipher/sha512.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/libgcrypt-grub/cipher/sha512.c'; fi` + +grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.o: grub-core/lib/libgcrypt-grub/cipher/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.o -MD -MP -MF grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Tpo -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.o `test -f 'grub-core/lib/libgcrypt-grub/cipher/crc.c' || echo '$(srcdir)/'`grub-core/lib/libgcrypt-grub/cipher/crc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Tpo grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/libgcrypt-grub/cipher/crc.c' object='grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.o `test -f 'grub-core/lib/libgcrypt-grub/cipher/crc.c' || echo '$(srcdir)/'`grub-core/lib/libgcrypt-grub/cipher/crc.c + +grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.obj: grub-core/lib/libgcrypt-grub/cipher/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.obj -MD -MP -MF grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Tpo -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.obj `if test -f 'grub-core/lib/libgcrypt-grub/cipher/crc.c'; then $(CYGPATH_W) 'grub-core/lib/libgcrypt-grub/cipher/crc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/libgcrypt-grub/cipher/crc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Tpo grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/libgrubmods_a-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/libgcrypt-grub/cipher/crc.c' object='grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgcrypt-grub/cipher/libgrubmods_a-crc.obj `if test -f 'grub-core/lib/libgcrypt-grub/cipher/crc.c'; then $(CYGPATH_W) 'grub-core/lib/libgcrypt-grub/cipher/crc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/libgcrypt-grub/cipher/crc.c'; fi` + +grub-core/lib/libgrubmods_a-LzFind.o: grub-core/lib/LzFind.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-LzFind.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Tpo -c -o grub-core/lib/libgrubmods_a-LzFind.o `test -f 'grub-core/lib/LzFind.c' || echo '$(srcdir)/'`grub-core/lib/LzFind.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/LzFind.c' object='grub-core/lib/libgrubmods_a-LzFind.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-LzFind.o `test -f 'grub-core/lib/LzFind.c' || echo '$(srcdir)/'`grub-core/lib/LzFind.c + +grub-core/lib/libgrubmods_a-LzFind.obj: grub-core/lib/LzFind.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-LzFind.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Tpo -c -o grub-core/lib/libgrubmods_a-LzFind.obj `if test -f 'grub-core/lib/LzFind.c'; then $(CYGPATH_W) 'grub-core/lib/LzFind.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/LzFind.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-LzFind.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/LzFind.c' object='grub-core/lib/libgrubmods_a-LzFind.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-LzFind.obj `if test -f 'grub-core/lib/LzFind.c'; then $(CYGPATH_W) 'grub-core/lib/LzFind.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/LzFind.c'; fi` + +grub-core/lib/libgrubmods_a-LzmaEnc.o: grub-core/lib/LzmaEnc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-LzmaEnc.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Tpo -c -o grub-core/lib/libgrubmods_a-LzmaEnc.o `test -f 'grub-core/lib/LzmaEnc.c' || echo '$(srcdir)/'`grub-core/lib/LzmaEnc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/LzmaEnc.c' object='grub-core/lib/libgrubmods_a-LzmaEnc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-LzmaEnc.o `test -f 'grub-core/lib/LzmaEnc.c' || echo '$(srcdir)/'`grub-core/lib/LzmaEnc.c + +grub-core/lib/libgrubmods_a-LzmaEnc.obj: grub-core/lib/LzmaEnc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-LzmaEnc.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Tpo -c -o grub-core/lib/libgrubmods_a-LzmaEnc.obj `if test -f 'grub-core/lib/LzmaEnc.c'; then $(CYGPATH_W) 'grub-core/lib/LzmaEnc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/LzmaEnc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-LzmaEnc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/LzmaEnc.c' object='grub-core/lib/libgrubmods_a-LzmaEnc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-LzmaEnc.obj `if test -f 'grub-core/lib/LzmaEnc.c'; then $(CYGPATH_W) 'grub-core/lib/LzmaEnc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/LzmaEnc.c'; fi` + +grub-core/lib/libgrubmods_a-pbkdf2.o: grub-core/lib/pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-pbkdf2.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Tpo -c -o grub-core/lib/libgrubmods_a-pbkdf2.o `test -f 'grub-core/lib/pbkdf2.c' || echo '$(srcdir)/'`grub-core/lib/pbkdf2.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/pbkdf2.c' object='grub-core/lib/libgrubmods_a-pbkdf2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-pbkdf2.o `test -f 'grub-core/lib/pbkdf2.c' || echo '$(srcdir)/'`grub-core/lib/pbkdf2.c + +grub-core/lib/libgrubmods_a-pbkdf2.obj: grub-core/lib/pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-pbkdf2.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Tpo -c -o grub-core/lib/libgrubmods_a-pbkdf2.obj `if test -f 'grub-core/lib/pbkdf2.c'; then $(CYGPATH_W) 'grub-core/lib/pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/pbkdf2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/pbkdf2.c' object='grub-core/lib/libgrubmods_a-pbkdf2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-pbkdf2.obj `if test -f 'grub-core/lib/pbkdf2.c'; then $(CYGPATH_W) 'grub-core/lib/pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/pbkdf2.c'; fi` + +grub-core/lib/libgrubmods_a-crc.o: grub-core/lib/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-crc.o -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Tpo -c -o grub-core/lib/libgrubmods_a-crc.o `test -f 'grub-core/lib/crc.c' || echo '$(srcdir)/'`grub-core/lib/crc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/crc.c' object='grub-core/lib/libgrubmods_a-crc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-crc.o `test -f 'grub-core/lib/crc.c' || echo '$(srcdir)/'`grub-core/lib/crc.c + +grub-core/lib/libgrubmods_a-crc.obj: grub-core/lib/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/lib/libgrubmods_a-crc.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Tpo -c -o grub-core/lib/libgrubmods_a-crc.obj `if test -f 'grub-core/lib/crc.c'; then $(CYGPATH_W) 'grub-core/lib/crc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/crc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Tpo grub-core/lib/$(DEPDIR)/libgrubmods_a-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/crc.c' object='grub-core/lib/libgrubmods_a-crc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/lib/libgrubmods_a-crc.obj `if test -f 'grub-core/lib/crc.c'; then $(CYGPATH_W) 'grub-core/lib/crc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/crc.c'; fi` + +grub-core/normal/libgrubmods_a-datetime.o: grub-core/normal/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/normal/libgrubmods_a-datetime.o -MD -MP -MF grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Tpo -c -o grub-core/normal/libgrubmods_a-datetime.o `test -f 'grub-core/normal/datetime.c' || echo '$(srcdir)/'`grub-core/normal/datetime.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Tpo grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/normal/datetime.c' object='grub-core/normal/libgrubmods_a-datetime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/normal/libgrubmods_a-datetime.o `test -f 'grub-core/normal/datetime.c' || echo '$(srcdir)/'`grub-core/normal/datetime.c + +grub-core/normal/libgrubmods_a-datetime.obj: grub-core/normal/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/normal/libgrubmods_a-datetime.obj -MD -MP -MF grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Tpo -c -o grub-core/normal/libgrubmods_a-datetime.obj `if test -f 'grub-core/normal/datetime.c'; then $(CYGPATH_W) 'grub-core/normal/datetime.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/normal/datetime.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Tpo grub-core/normal/$(DEPDIR)/libgrubmods_a-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/normal/datetime.c' object='grub-core/normal/libgrubmods_a-datetime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/normal/libgrubmods_a-datetime.obj `if test -f 'grub-core/normal/datetime.c'; then $(CYGPATH_W) 'grub-core/normal/datetime.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/normal/datetime.c'; fi` + +grub-core/normal/libgrubmods_a-misc.o: grub-core/normal/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/normal/libgrubmods_a-misc.o -MD -MP -MF grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Tpo -c -o grub-core/normal/libgrubmods_a-misc.o `test -f 'grub-core/normal/misc.c' || echo '$(srcdir)/'`grub-core/normal/misc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Tpo grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/normal/misc.c' object='grub-core/normal/libgrubmods_a-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/normal/libgrubmods_a-misc.o `test -f 'grub-core/normal/misc.c' || echo '$(srcdir)/'`grub-core/normal/misc.c + +grub-core/normal/libgrubmods_a-misc.obj: grub-core/normal/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/normal/libgrubmods_a-misc.obj -MD -MP -MF grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Tpo -c -o grub-core/normal/libgrubmods_a-misc.obj `if test -f 'grub-core/normal/misc.c'; then $(CYGPATH_W) 'grub-core/normal/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/normal/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Tpo grub-core/normal/$(DEPDIR)/libgrubmods_a-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/normal/misc.c' object='grub-core/normal/libgrubmods_a-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/normal/libgrubmods_a-misc.obj `if test -f 'grub-core/normal/misc.c'; then $(CYGPATH_W) 'grub-core/normal/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/normal/misc.c'; fi` + +grub-core/partmap/libgrubmods_a-acorn.o: grub-core/partmap/acorn.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-acorn.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Tpo -c -o grub-core/partmap/libgrubmods_a-acorn.o `test -f 'grub-core/partmap/acorn.c' || echo '$(srcdir)/'`grub-core/partmap/acorn.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/acorn.c' object='grub-core/partmap/libgrubmods_a-acorn.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-acorn.o `test -f 'grub-core/partmap/acorn.c' || echo '$(srcdir)/'`grub-core/partmap/acorn.c + +grub-core/partmap/libgrubmods_a-acorn.obj: grub-core/partmap/acorn.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-acorn.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Tpo -c -o grub-core/partmap/libgrubmods_a-acorn.obj `if test -f 'grub-core/partmap/acorn.c'; then $(CYGPATH_W) 'grub-core/partmap/acorn.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/acorn.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-acorn.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/acorn.c' object='grub-core/partmap/libgrubmods_a-acorn.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-acorn.obj `if test -f 'grub-core/partmap/acorn.c'; then $(CYGPATH_W) 'grub-core/partmap/acorn.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/acorn.c'; fi` + +grub-core/partmap/libgrubmods_a-amiga.o: grub-core/partmap/amiga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-amiga.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Tpo -c -o grub-core/partmap/libgrubmods_a-amiga.o `test -f 'grub-core/partmap/amiga.c' || echo '$(srcdir)/'`grub-core/partmap/amiga.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/amiga.c' object='grub-core/partmap/libgrubmods_a-amiga.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-amiga.o `test -f 'grub-core/partmap/amiga.c' || echo '$(srcdir)/'`grub-core/partmap/amiga.c + +grub-core/partmap/libgrubmods_a-amiga.obj: grub-core/partmap/amiga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-amiga.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Tpo -c -o grub-core/partmap/libgrubmods_a-amiga.obj `if test -f 'grub-core/partmap/amiga.c'; then $(CYGPATH_W) 'grub-core/partmap/amiga.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/amiga.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-amiga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/amiga.c' object='grub-core/partmap/libgrubmods_a-amiga.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-amiga.obj `if test -f 'grub-core/partmap/amiga.c'; then $(CYGPATH_W) 'grub-core/partmap/amiga.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/amiga.c'; fi` + +grub-core/partmap/libgrubmods_a-apple.o: grub-core/partmap/apple.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-apple.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Tpo -c -o grub-core/partmap/libgrubmods_a-apple.o `test -f 'grub-core/partmap/apple.c' || echo '$(srcdir)/'`grub-core/partmap/apple.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/apple.c' object='grub-core/partmap/libgrubmods_a-apple.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-apple.o `test -f 'grub-core/partmap/apple.c' || echo '$(srcdir)/'`grub-core/partmap/apple.c + +grub-core/partmap/libgrubmods_a-apple.obj: grub-core/partmap/apple.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-apple.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Tpo -c -o grub-core/partmap/libgrubmods_a-apple.obj `if test -f 'grub-core/partmap/apple.c'; then $(CYGPATH_W) 'grub-core/partmap/apple.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/apple.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-apple.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/apple.c' object='grub-core/partmap/libgrubmods_a-apple.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-apple.obj `if test -f 'grub-core/partmap/apple.c'; then $(CYGPATH_W) 'grub-core/partmap/apple.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/apple.c'; fi` + +grub-core/partmap/libgrubmods_a-gpt.o: grub-core/partmap/gpt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-gpt.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Tpo -c -o grub-core/partmap/libgrubmods_a-gpt.o `test -f 'grub-core/partmap/gpt.c' || echo '$(srcdir)/'`grub-core/partmap/gpt.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/gpt.c' object='grub-core/partmap/libgrubmods_a-gpt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-gpt.o `test -f 'grub-core/partmap/gpt.c' || echo '$(srcdir)/'`grub-core/partmap/gpt.c + +grub-core/partmap/libgrubmods_a-gpt.obj: grub-core/partmap/gpt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-gpt.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Tpo -c -o grub-core/partmap/libgrubmods_a-gpt.obj `if test -f 'grub-core/partmap/gpt.c'; then $(CYGPATH_W) 'grub-core/partmap/gpt.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/gpt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-gpt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/gpt.c' object='grub-core/partmap/libgrubmods_a-gpt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-gpt.obj `if test -f 'grub-core/partmap/gpt.c'; then $(CYGPATH_W) 'grub-core/partmap/gpt.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/gpt.c'; fi` + +grub-core/partmap/libgrubmods_a-msdos.o: grub-core/partmap/msdos.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-msdos.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Tpo -c -o grub-core/partmap/libgrubmods_a-msdos.o `test -f 'grub-core/partmap/msdos.c' || echo '$(srcdir)/'`grub-core/partmap/msdos.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/msdos.c' object='grub-core/partmap/libgrubmods_a-msdos.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-msdos.o `test -f 'grub-core/partmap/msdos.c' || echo '$(srcdir)/'`grub-core/partmap/msdos.c + +grub-core/partmap/libgrubmods_a-msdos.obj: grub-core/partmap/msdos.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-msdos.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Tpo -c -o grub-core/partmap/libgrubmods_a-msdos.obj `if test -f 'grub-core/partmap/msdos.c'; then $(CYGPATH_W) 'grub-core/partmap/msdos.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/msdos.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-msdos.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/msdos.c' object='grub-core/partmap/libgrubmods_a-msdos.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-msdos.obj `if test -f 'grub-core/partmap/msdos.c'; then $(CYGPATH_W) 'grub-core/partmap/msdos.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/msdos.c'; fi` + +grub-core/partmap/libgrubmods_a-sun.o: grub-core/partmap/sun.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-sun.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Tpo -c -o grub-core/partmap/libgrubmods_a-sun.o `test -f 'grub-core/partmap/sun.c' || echo '$(srcdir)/'`grub-core/partmap/sun.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/sun.c' object='grub-core/partmap/libgrubmods_a-sun.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-sun.o `test -f 'grub-core/partmap/sun.c' || echo '$(srcdir)/'`grub-core/partmap/sun.c + +grub-core/partmap/libgrubmods_a-sun.obj: grub-core/partmap/sun.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-sun.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Tpo -c -o grub-core/partmap/libgrubmods_a-sun.obj `if test -f 'grub-core/partmap/sun.c'; then $(CYGPATH_W) 'grub-core/partmap/sun.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/sun.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-sun.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/sun.c' object='grub-core/partmap/libgrubmods_a-sun.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-sun.obj `if test -f 'grub-core/partmap/sun.c'; then $(CYGPATH_W) 'grub-core/partmap/sun.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/sun.c'; fi` + +grub-core/partmap/libgrubmods_a-sunpc.o: grub-core/partmap/sunpc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-sunpc.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Tpo -c -o grub-core/partmap/libgrubmods_a-sunpc.o `test -f 'grub-core/partmap/sunpc.c' || echo '$(srcdir)/'`grub-core/partmap/sunpc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/sunpc.c' object='grub-core/partmap/libgrubmods_a-sunpc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-sunpc.o `test -f 'grub-core/partmap/sunpc.c' || echo '$(srcdir)/'`grub-core/partmap/sunpc.c + +grub-core/partmap/libgrubmods_a-sunpc.obj: grub-core/partmap/sunpc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-sunpc.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Tpo -c -o grub-core/partmap/libgrubmods_a-sunpc.obj `if test -f 'grub-core/partmap/sunpc.c'; then $(CYGPATH_W) 'grub-core/partmap/sunpc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/sunpc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-sunpc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/sunpc.c' object='grub-core/partmap/libgrubmods_a-sunpc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-sunpc.obj `if test -f 'grub-core/partmap/sunpc.c'; then $(CYGPATH_W) 'grub-core/partmap/sunpc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/sunpc.c'; fi` + +grub-core/partmap/libgrubmods_a-bsdlabel.o: grub-core/partmap/bsdlabel.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-bsdlabel.o -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Tpo -c -o grub-core/partmap/libgrubmods_a-bsdlabel.o `test -f 'grub-core/partmap/bsdlabel.c' || echo '$(srcdir)/'`grub-core/partmap/bsdlabel.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/bsdlabel.c' object='grub-core/partmap/libgrubmods_a-bsdlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-bsdlabel.o `test -f 'grub-core/partmap/bsdlabel.c' || echo '$(srcdir)/'`grub-core/partmap/bsdlabel.c + +grub-core/partmap/libgrubmods_a-bsdlabel.obj: grub-core/partmap/bsdlabel.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/partmap/libgrubmods_a-bsdlabel.obj -MD -MP -MF grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Tpo -c -o grub-core/partmap/libgrubmods_a-bsdlabel.obj `if test -f 'grub-core/partmap/bsdlabel.c'; then $(CYGPATH_W) 'grub-core/partmap/bsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/bsdlabel.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Tpo grub-core/partmap/$(DEPDIR)/libgrubmods_a-bsdlabel.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/partmap/bsdlabel.c' object='grub-core/partmap/libgrubmods_a-bsdlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/partmap/libgrubmods_a-bsdlabel.obj `if test -f 'grub-core/partmap/bsdlabel.c'; then $(CYGPATH_W) 'grub-core/partmap/bsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/partmap/bsdlabel.c'; fi` + +grub-core/script/libgrubmods_a-function.o: grub-core/script/function.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-function.o -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-function.Tpo -c -o grub-core/script/libgrubmods_a-function.o `test -f 'grub-core/script/function.c' || echo '$(srcdir)/'`grub-core/script/function.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-function.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-function.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/function.c' object='grub-core/script/libgrubmods_a-function.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-function.o `test -f 'grub-core/script/function.c' || echo '$(srcdir)/'`grub-core/script/function.c + +grub-core/script/libgrubmods_a-function.obj: grub-core/script/function.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-function.obj -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-function.Tpo -c -o grub-core/script/libgrubmods_a-function.obj `if test -f 'grub-core/script/function.c'; then $(CYGPATH_W) 'grub-core/script/function.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/function.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-function.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-function.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/function.c' object='grub-core/script/libgrubmods_a-function.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-function.obj `if test -f 'grub-core/script/function.c'; then $(CYGPATH_W) 'grub-core/script/function.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/function.c'; fi` + +grub-core/script/libgrubmods_a-lexer.o: grub-core/script/lexer.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-lexer.o -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Tpo -c -o grub-core/script/libgrubmods_a-lexer.o `test -f 'grub-core/script/lexer.c' || echo '$(srcdir)/'`grub-core/script/lexer.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/lexer.c' object='grub-core/script/libgrubmods_a-lexer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-lexer.o `test -f 'grub-core/script/lexer.c' || echo '$(srcdir)/'`grub-core/script/lexer.c + +grub-core/script/libgrubmods_a-lexer.obj: grub-core/script/lexer.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-lexer.obj -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Tpo -c -o grub-core/script/libgrubmods_a-lexer.obj `if test -f 'grub-core/script/lexer.c'; then $(CYGPATH_W) 'grub-core/script/lexer.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/lexer.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-lexer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/lexer.c' object='grub-core/script/libgrubmods_a-lexer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-lexer.obj `if test -f 'grub-core/script/lexer.c'; then $(CYGPATH_W) 'grub-core/script/lexer.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/lexer.c'; fi` + +grub-core/script/libgrubmods_a-main.o: grub-core/script/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-main.o -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-main.Tpo -c -o grub-core/script/libgrubmods_a-main.o `test -f 'grub-core/script/main.c' || echo '$(srcdir)/'`grub-core/script/main.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-main.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/main.c' object='grub-core/script/libgrubmods_a-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-main.o `test -f 'grub-core/script/main.c' || echo '$(srcdir)/'`grub-core/script/main.c + +grub-core/script/libgrubmods_a-main.obj: grub-core/script/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-main.obj -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-main.Tpo -c -o grub-core/script/libgrubmods_a-main.obj `if test -f 'grub-core/script/main.c'; then $(CYGPATH_W) 'grub-core/script/main.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/main.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-main.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/main.c' object='grub-core/script/libgrubmods_a-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-main.obj `if test -f 'grub-core/script/main.c'; then $(CYGPATH_W) 'grub-core/script/main.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/main.c'; fi` + +grub-core/script/libgrubmods_a-script.o: grub-core/script/script.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-script.o -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-script.Tpo -c -o grub-core/script/libgrubmods_a-script.o `test -f 'grub-core/script/script.c' || echo '$(srcdir)/'`grub-core/script/script.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-script.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/script.c' object='grub-core/script/libgrubmods_a-script.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-script.o `test -f 'grub-core/script/script.c' || echo '$(srcdir)/'`grub-core/script/script.c + +grub-core/script/libgrubmods_a-script.obj: grub-core/script/script.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-script.obj -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-script.Tpo -c -o grub-core/script/libgrubmods_a-script.obj `if test -f 'grub-core/script/script.c'; then $(CYGPATH_W) 'grub-core/script/script.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/script.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-script.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/script.c' object='grub-core/script/libgrubmods_a-script.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-script.obj `if test -f 'grub-core/script/script.c'; then $(CYGPATH_W) 'grub-core/script/script.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/script.c'; fi` + +grub-core/script/libgrubmods_a-argv.o: grub-core/script/argv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-argv.o -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Tpo -c -o grub-core/script/libgrubmods_a-argv.o `test -f 'grub-core/script/argv.c' || echo '$(srcdir)/'`grub-core/script/argv.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/argv.c' object='grub-core/script/libgrubmods_a-argv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-argv.o `test -f 'grub-core/script/argv.c' || echo '$(srcdir)/'`grub-core/script/argv.c + +grub-core/script/libgrubmods_a-argv.obj: grub-core/script/argv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/script/libgrubmods_a-argv.obj -MD -MP -MF grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Tpo -c -o grub-core/script/libgrubmods_a-argv.obj `if test -f 'grub-core/script/argv.c'; then $(CYGPATH_W) 'grub-core/script/argv.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/argv.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Tpo grub-core/script/$(DEPDIR)/libgrubmods_a-argv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/script/argv.c' object='grub-core/script/libgrubmods_a-argv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/script/libgrubmods_a-argv.obj `if test -f 'grub-core/script/argv.c'; then $(CYGPATH_W) 'grub-core/script/argv.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/script/argv.c'; fi` + +grub-core/io/libgrubmods_a-gzio.o: grub-core/io/gzio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/io/libgrubmods_a-gzio.o -MD -MP -MF grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Tpo -c -o grub-core/io/libgrubmods_a-gzio.o `test -f 'grub-core/io/gzio.c' || echo '$(srcdir)/'`grub-core/io/gzio.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Tpo grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/io/gzio.c' object='grub-core/io/libgrubmods_a-gzio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/io/libgrubmods_a-gzio.o `test -f 'grub-core/io/gzio.c' || echo '$(srcdir)/'`grub-core/io/gzio.c + +grub-core/io/libgrubmods_a-gzio.obj: grub-core/io/gzio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT grub-core/io/libgrubmods_a-gzio.obj -MD -MP -MF grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Tpo -c -o grub-core/io/libgrubmods_a-gzio.obj `if test -f 'grub-core/io/gzio.c'; then $(CYGPATH_W) 'grub-core/io/gzio.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/io/gzio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Tpo grub-core/io/$(DEPDIR)/libgrubmods_a-gzio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/io/gzio.c' object='grub-core/io/libgrubmods_a-gzio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o grub-core/io/libgrubmods_a-gzio.obj `if test -f 'grub-core/io/gzio.c'; then $(CYGPATH_W) 'grub-core/io/gzio.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/io/gzio.c'; fi` + +libgrubmods_a-grub_script.tab.o: grub_script.tab.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT libgrubmods_a-grub_script.tab.o -MD -MP -MF $(DEPDIR)/libgrubmods_a-grub_script.tab.Tpo -c -o libgrubmods_a-grub_script.tab.o `test -f 'grub_script.tab.c' || echo '$(srcdir)/'`grub_script.tab.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libgrubmods_a-grub_script.tab.Tpo $(DEPDIR)/libgrubmods_a-grub_script.tab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.tab.c' object='libgrubmods_a-grub_script.tab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o libgrubmods_a-grub_script.tab.o `test -f 'grub_script.tab.c' || echo '$(srcdir)/'`grub_script.tab.c + +libgrubmods_a-grub_script.tab.obj: grub_script.tab.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT libgrubmods_a-grub_script.tab.obj -MD -MP -MF $(DEPDIR)/libgrubmods_a-grub_script.tab.Tpo -c -o libgrubmods_a-grub_script.tab.obj `if test -f 'grub_script.tab.c'; then $(CYGPATH_W) 'grub_script.tab.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.tab.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libgrubmods_a-grub_script.tab.Tpo $(DEPDIR)/libgrubmods_a-grub_script.tab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.tab.c' object='libgrubmods_a-grub_script.tab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o libgrubmods_a-grub_script.tab.obj `if test -f 'grub_script.tab.c'; then $(CYGPATH_W) 'grub_script.tab.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.tab.c'; fi` + +libgrubmods_a-grub_script.yy.o: grub_script.yy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT libgrubmods_a-grub_script.yy.o -MD -MP -MF $(DEPDIR)/libgrubmods_a-grub_script.yy.Tpo -c -o libgrubmods_a-grub_script.yy.o `test -f 'grub_script.yy.c' || echo '$(srcdir)/'`grub_script.yy.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libgrubmods_a-grub_script.yy.Tpo $(DEPDIR)/libgrubmods_a-grub_script.yy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.yy.c' object='libgrubmods_a-grub_script.yy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o libgrubmods_a-grub_script.yy.o `test -f 'grub_script.yy.c' || echo '$(srcdir)/'`grub_script.yy.c + +libgrubmods_a-grub_script.yy.obj: grub_script.yy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT libgrubmods_a-grub_script.yy.obj -MD -MP -MF $(DEPDIR)/libgrubmods_a-grub_script.yy.Tpo -c -o libgrubmods_a-grub_script.yy.obj `if test -f 'grub_script.yy.c'; then $(CYGPATH_W) 'grub_script.yy.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.yy.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libgrubmods_a-grub_script.yy.Tpo $(DEPDIR)/libgrubmods_a-grub_script.yy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.yy.c' object='libgrubmods_a-grub_script.yy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o libgrubmods_a-grub_script.yy.obj `if test -f 'grub_script.yy.c'; then $(CYGPATH_W) 'grub_script.yy.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.yy.c'; fi` + +libgrubmods_a-libgrub_a_init.o: libgrub_a_init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT libgrubmods_a-libgrub_a_init.o -MD -MP -MF $(DEPDIR)/libgrubmods_a-libgrub_a_init.Tpo -c -o libgrubmods_a-libgrub_a_init.o `test -f 'libgrub_a_init.c' || echo '$(srcdir)/'`libgrub_a_init.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libgrubmods_a-libgrub_a_init.Tpo $(DEPDIR)/libgrubmods_a-libgrub_a_init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libgrub_a_init.c' object='libgrubmods_a-libgrub_a_init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o libgrubmods_a-libgrub_a_init.o `test -f 'libgrub_a_init.c' || echo '$(srcdir)/'`libgrub_a_init.c + +libgrubmods_a-libgrub_a_init.obj: libgrub_a_init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -MT libgrubmods_a-libgrub_a_init.obj -MD -MP -MF $(DEPDIR)/libgrubmods_a-libgrub_a_init.Tpo -c -o libgrubmods_a-libgrub_a_init.obj `if test -f 'libgrub_a_init.c'; then $(CYGPATH_W) 'libgrub_a_init.c'; else $(CYGPATH_W) '$(srcdir)/libgrub_a_init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libgrubmods_a-libgrub_a_init.Tpo $(DEPDIR)/libgrubmods_a-libgrub_a_init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libgrub_a_init.c' object='libgrubmods_a-libgrub_a_init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(CPPFLAGS) $(libgrubmods_a_CFLAGS) $(CFLAGS) -c -o libgrubmods_a-libgrub_a_init.obj `if test -f 'libgrub_a_init.c'; then $(CYGPATH_W) 'libgrub_a_init.c'; else $(CYGPATH_W) '$(srcdir)/libgrub_a_init.c'; fi` + +tests/example_unit_test-example_unit_test.o: tests/example_unit_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT tests/example_unit_test-example_unit_test.o -MD -MP -MF tests/$(DEPDIR)/example_unit_test-example_unit_test.Tpo -c -o tests/example_unit_test-example_unit_test.o `test -f 'tests/example_unit_test.c' || echo '$(srcdir)/'`tests/example_unit_test.c +@am__fastdepCC_TRUE@ $(am__mv) tests/$(DEPDIR)/example_unit_test-example_unit_test.Tpo tests/$(DEPDIR)/example_unit_test-example_unit_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/example_unit_test.c' object='tests/example_unit_test-example_unit_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o tests/example_unit_test-example_unit_test.o `test -f 'tests/example_unit_test.c' || echo '$(srcdir)/'`tests/example_unit_test.c + +tests/example_unit_test-example_unit_test.obj: tests/example_unit_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT tests/example_unit_test-example_unit_test.obj -MD -MP -MF tests/$(DEPDIR)/example_unit_test-example_unit_test.Tpo -c -o tests/example_unit_test-example_unit_test.obj `if test -f 'tests/example_unit_test.c'; then $(CYGPATH_W) 'tests/example_unit_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/example_unit_test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) tests/$(DEPDIR)/example_unit_test-example_unit_test.Tpo tests/$(DEPDIR)/example_unit_test-example_unit_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/example_unit_test.c' object='tests/example_unit_test-example_unit_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o tests/example_unit_test-example_unit_test.obj `if test -f 'tests/example_unit_test.c'; then $(CYGPATH_W) 'tests/example_unit_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/example_unit_test.c'; fi` + +tests/lib/example_unit_test-unit_test.o: tests/lib/unit_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT tests/lib/example_unit_test-unit_test.o -MD -MP -MF tests/lib/$(DEPDIR)/example_unit_test-unit_test.Tpo -c -o tests/lib/example_unit_test-unit_test.o `test -f 'tests/lib/unit_test.c' || echo '$(srcdir)/'`tests/lib/unit_test.c +@am__fastdepCC_TRUE@ $(am__mv) tests/lib/$(DEPDIR)/example_unit_test-unit_test.Tpo tests/lib/$(DEPDIR)/example_unit_test-unit_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/lib/unit_test.c' object='tests/lib/example_unit_test-unit_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o tests/lib/example_unit_test-unit_test.o `test -f 'tests/lib/unit_test.c' || echo '$(srcdir)/'`tests/lib/unit_test.c + +tests/lib/example_unit_test-unit_test.obj: tests/lib/unit_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT tests/lib/example_unit_test-unit_test.obj -MD -MP -MF tests/lib/$(DEPDIR)/example_unit_test-unit_test.Tpo -c -o tests/lib/example_unit_test-unit_test.obj `if test -f 'tests/lib/unit_test.c'; then $(CYGPATH_W) 'tests/lib/unit_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/lib/unit_test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) tests/lib/$(DEPDIR)/example_unit_test-unit_test.Tpo tests/lib/$(DEPDIR)/example_unit_test-unit_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/lib/unit_test.c' object='tests/lib/example_unit_test-unit_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o tests/lib/example_unit_test-unit_test.obj `if test -f 'tests/lib/unit_test.c'; then $(CYGPATH_W) 'tests/lib/unit_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/lib/unit_test.c'; fi` + +grub-core/kern/example_unit_test-list.o: grub-core/kern/list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT grub-core/kern/example_unit_test-list.o -MD -MP -MF grub-core/kern/$(DEPDIR)/example_unit_test-list.Tpo -c -o grub-core/kern/example_unit_test-list.o `test -f 'grub-core/kern/list.c' || echo '$(srcdir)/'`grub-core/kern/list.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/example_unit_test-list.Tpo grub-core/kern/$(DEPDIR)/example_unit_test-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/list.c' object='grub-core/kern/example_unit_test-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o grub-core/kern/example_unit_test-list.o `test -f 'grub-core/kern/list.c' || echo '$(srcdir)/'`grub-core/kern/list.c + +grub-core/kern/example_unit_test-list.obj: grub-core/kern/list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT grub-core/kern/example_unit_test-list.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/example_unit_test-list.Tpo -c -o grub-core/kern/example_unit_test-list.obj `if test -f 'grub-core/kern/list.c'; then $(CYGPATH_W) 'grub-core/kern/list.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/list.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/example_unit_test-list.Tpo grub-core/kern/$(DEPDIR)/example_unit_test-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/list.c' object='grub-core/kern/example_unit_test-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o grub-core/kern/example_unit_test-list.obj `if test -f 'grub-core/kern/list.c'; then $(CYGPATH_W) 'grub-core/kern/list.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/list.c'; fi` + +grub-core/kern/example_unit_test-misc.o: grub-core/kern/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT grub-core/kern/example_unit_test-misc.o -MD -MP -MF grub-core/kern/$(DEPDIR)/example_unit_test-misc.Tpo -c -o grub-core/kern/example_unit_test-misc.o `test -f 'grub-core/kern/misc.c' || echo '$(srcdir)/'`grub-core/kern/misc.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/example_unit_test-misc.Tpo grub-core/kern/$(DEPDIR)/example_unit_test-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/misc.c' object='grub-core/kern/example_unit_test-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o grub-core/kern/example_unit_test-misc.o `test -f 'grub-core/kern/misc.c' || echo '$(srcdir)/'`grub-core/kern/misc.c + +grub-core/kern/example_unit_test-misc.obj: grub-core/kern/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT grub-core/kern/example_unit_test-misc.obj -MD -MP -MF grub-core/kern/$(DEPDIR)/example_unit_test-misc.Tpo -c -o grub-core/kern/example_unit_test-misc.obj `if test -f 'grub-core/kern/misc.c'; then $(CYGPATH_W) 'grub-core/kern/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/$(DEPDIR)/example_unit_test-misc.Tpo grub-core/kern/$(DEPDIR)/example_unit_test-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/misc.c' object='grub-core/kern/example_unit_test-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o grub-core/kern/example_unit_test-misc.obj `if test -f 'grub-core/kern/misc.c'; then $(CYGPATH_W) 'grub-core/kern/misc.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/misc.c'; fi` + +grub-core/tests/lib/example_unit_test-test.o: grub-core/tests/lib/test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT grub-core/tests/lib/example_unit_test-test.o -MD -MP -MF grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Tpo -c -o grub-core/tests/lib/example_unit_test-test.o `test -f 'grub-core/tests/lib/test.c' || echo '$(srcdir)/'`grub-core/tests/lib/test.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Tpo grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/tests/lib/test.c' object='grub-core/tests/lib/example_unit_test-test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o grub-core/tests/lib/example_unit_test-test.o `test -f 'grub-core/tests/lib/test.c' || echo '$(srcdir)/'`grub-core/tests/lib/test.c + +grub-core/tests/lib/example_unit_test-test.obj: grub-core/tests/lib/test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -MT grub-core/tests/lib/example_unit_test-test.obj -MD -MP -MF grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Tpo -c -o grub-core/tests/lib/example_unit_test-test.obj `if test -f 'grub-core/tests/lib/test.c'; then $(CYGPATH_W) 'grub-core/tests/lib/test.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/tests/lib/test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Tpo grub-core/tests/lib/$(DEPDIR)/example_unit_test-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/tests/lib/test.c' object='grub-core/tests/lib/example_unit_test-test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_unit_test_CPPFLAGS) $(CPPFLAGS) $(example_unit_test_CFLAGS) $(CFLAGS) -c -o grub-core/tests/lib/example_unit_test-test.obj `if test -f 'grub-core/tests/lib/test.c'; then $(CYGPATH_W) 'grub-core/tests/lib/test.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/tests/lib/test.c'; fi` + +util/grub_bin2h-bin2h.o: util/bin2h.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_bin2h_CPPFLAGS) $(CPPFLAGS) $(grub_bin2h_CFLAGS) $(CFLAGS) -MT util/grub_bin2h-bin2h.o -MD -MP -MF util/$(DEPDIR)/grub_bin2h-bin2h.Tpo -c -o util/grub_bin2h-bin2h.o `test -f 'util/bin2h.c' || echo '$(srcdir)/'`util/bin2h.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_bin2h-bin2h.Tpo util/$(DEPDIR)/grub_bin2h-bin2h.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/bin2h.c' object='util/grub_bin2h-bin2h.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_bin2h_CPPFLAGS) $(CPPFLAGS) $(grub_bin2h_CFLAGS) $(CFLAGS) -c -o util/grub_bin2h-bin2h.o `test -f 'util/bin2h.c' || echo '$(srcdir)/'`util/bin2h.c + +util/grub_bin2h-bin2h.obj: util/bin2h.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_bin2h_CPPFLAGS) $(CPPFLAGS) $(grub_bin2h_CFLAGS) $(CFLAGS) -MT util/grub_bin2h-bin2h.obj -MD -MP -MF util/$(DEPDIR)/grub_bin2h-bin2h.Tpo -c -o util/grub_bin2h-bin2h.obj `if test -f 'util/bin2h.c'; then $(CYGPATH_W) 'util/bin2h.c'; else $(CYGPATH_W) '$(srcdir)/util/bin2h.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_bin2h-bin2h.Tpo util/$(DEPDIR)/grub_bin2h-bin2h.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/bin2h.c' object='util/grub_bin2h-bin2h.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_bin2h_CPPFLAGS) $(CPPFLAGS) $(grub_bin2h_CFLAGS) $(CFLAGS) -c -o util/grub_bin2h-bin2h.obj `if test -f 'util/bin2h.c'; then $(CYGPATH_W) 'util/bin2h.c'; else $(CYGPATH_W) '$(srcdir)/util/bin2h.c'; fi` + +util/grub_editenv-grub-editenv.o: util/grub-editenv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_editenv_CPPFLAGS) $(CPPFLAGS) $(grub_editenv_CFLAGS) $(CFLAGS) -MT util/grub_editenv-grub-editenv.o -MD -MP -MF util/$(DEPDIR)/grub_editenv-grub-editenv.Tpo -c -o util/grub_editenv-grub-editenv.o `test -f 'util/grub-editenv.c' || echo '$(srcdir)/'`util/grub-editenv.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_editenv-grub-editenv.Tpo util/$(DEPDIR)/grub_editenv-grub-editenv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-editenv.c' object='util/grub_editenv-grub-editenv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_editenv_CPPFLAGS) $(CPPFLAGS) $(grub_editenv_CFLAGS) $(CFLAGS) -c -o util/grub_editenv-grub-editenv.o `test -f 'util/grub-editenv.c' || echo '$(srcdir)/'`util/grub-editenv.c + +util/grub_editenv-grub-editenv.obj: util/grub-editenv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_editenv_CPPFLAGS) $(CPPFLAGS) $(grub_editenv_CFLAGS) $(CFLAGS) -MT util/grub_editenv-grub-editenv.obj -MD -MP -MF util/$(DEPDIR)/grub_editenv-grub-editenv.Tpo -c -o util/grub_editenv-grub-editenv.obj `if test -f 'util/grub-editenv.c'; then $(CYGPATH_W) 'util/grub-editenv.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-editenv.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_editenv-grub-editenv.Tpo util/$(DEPDIR)/grub_editenv-grub-editenv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-editenv.c' object='util/grub_editenv-grub-editenv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_editenv_CPPFLAGS) $(CPPFLAGS) $(grub_editenv_CFLAGS) $(CFLAGS) -c -o util/grub_editenv-grub-editenv.obj `if test -f 'util/grub-editenv.c'; then $(CYGPATH_W) 'util/grub-editenv.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-editenv.c'; fi` + +util/grub_fstest-grub-fstest.o: util/grub-fstest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT util/grub_fstest-grub-fstest.o -MD -MP -MF util/$(DEPDIR)/grub_fstest-grub-fstest.Tpo -c -o util/grub_fstest-grub-fstest.o `test -f 'util/grub-fstest.c' || echo '$(srcdir)/'`util/grub-fstest.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_fstest-grub-fstest.Tpo util/$(DEPDIR)/grub_fstest-grub-fstest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-fstest.c' object='util/grub_fstest-grub-fstest.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o util/grub_fstest-grub-fstest.o `test -f 'util/grub-fstest.c' || echo '$(srcdir)/'`util/grub-fstest.c + +util/grub_fstest-grub-fstest.obj: util/grub-fstest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT util/grub_fstest-grub-fstest.obj -MD -MP -MF util/$(DEPDIR)/grub_fstest-grub-fstest.Tpo -c -o util/grub_fstest-grub-fstest.obj `if test -f 'util/grub-fstest.c'; then $(CYGPATH_W) 'util/grub-fstest.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-fstest.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_fstest-grub-fstest.Tpo util/$(DEPDIR)/grub_fstest-grub-fstest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-fstest.c' object='util/grub_fstest-grub-fstest.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o util/grub_fstest-grub-fstest.obj `if test -f 'util/grub-fstest.c'; then $(CYGPATH_W) 'util/grub-fstest.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-fstest.c'; fi` + +grub-core/kern/emu/grub_fstest-hostfs.o: grub-core/kern/emu/hostfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/grub_fstest-hostfs.o -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Tpo -c -o grub-core/kern/emu/grub_fstest-hostfs.o `test -f 'grub-core/kern/emu/hostfs.c' || echo '$(srcdir)/'`grub-core/kern/emu/hostfs.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Tpo grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/hostfs.c' object='grub-core/kern/emu/grub_fstest-hostfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/grub_fstest-hostfs.o `test -f 'grub-core/kern/emu/hostfs.c' || echo '$(srcdir)/'`grub-core/kern/emu/hostfs.c + +grub-core/kern/emu/grub_fstest-hostfs.obj: grub-core/kern/emu/hostfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT grub-core/kern/emu/grub_fstest-hostfs.obj -MD -MP -MF grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Tpo -c -o grub-core/kern/emu/grub_fstest-hostfs.obj `if test -f 'grub-core/kern/emu/hostfs.c'; then $(CYGPATH_W) 'grub-core/kern/emu/hostfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/hostfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Tpo grub-core/kern/emu/$(DEPDIR)/grub_fstest-hostfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/kern/emu/hostfs.c' object='grub-core/kern/emu/grub_fstest-hostfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o grub-core/kern/emu/grub_fstest-hostfs.obj `if test -f 'grub-core/kern/emu/hostfs.c'; then $(CYGPATH_W) 'grub-core/kern/emu/hostfs.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/kern/emu/hostfs.c'; fi` + +grub-core/disk/grub_fstest-host.o: grub-core/disk/host.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT grub-core/disk/grub_fstest-host.o -MD -MP -MF grub-core/disk/$(DEPDIR)/grub_fstest-host.Tpo -c -o grub-core/disk/grub_fstest-host.o `test -f 'grub-core/disk/host.c' || echo '$(srcdir)/'`grub-core/disk/host.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/grub_fstest-host.Tpo grub-core/disk/$(DEPDIR)/grub_fstest-host.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/host.c' object='grub-core/disk/grub_fstest-host.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o grub-core/disk/grub_fstest-host.o `test -f 'grub-core/disk/host.c' || echo '$(srcdir)/'`grub-core/disk/host.c + +grub-core/disk/grub_fstest-host.obj: grub-core/disk/host.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT grub-core/disk/grub_fstest-host.obj -MD -MP -MF grub-core/disk/$(DEPDIR)/grub_fstest-host.Tpo -c -o grub-core/disk/grub_fstest-host.obj `if test -f 'grub-core/disk/host.c'; then $(CYGPATH_W) 'grub-core/disk/host.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/host.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/disk/$(DEPDIR)/grub_fstest-host.Tpo grub-core/disk/$(DEPDIR)/grub_fstest-host.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/disk/host.c' object='grub-core/disk/grub_fstest-host.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o grub-core/disk/grub_fstest-host.obj `if test -f 'grub-core/disk/host.c'; then $(CYGPATH_W) 'grub-core/disk/host.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/disk/host.c'; fi` + +grub_fstest-grub_fstest_init.o: grub_fstest_init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT grub_fstest-grub_fstest_init.o -MD -MP -MF $(DEPDIR)/grub_fstest-grub_fstest_init.Tpo -c -o grub_fstest-grub_fstest_init.o `test -f 'grub_fstest_init.c' || echo '$(srcdir)/'`grub_fstest_init.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/grub_fstest-grub_fstest_init.Tpo $(DEPDIR)/grub_fstest-grub_fstest_init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_fstest_init.c' object='grub_fstest-grub_fstest_init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o grub_fstest-grub_fstest_init.o `test -f 'grub_fstest_init.c' || echo '$(srcdir)/'`grub_fstest_init.c + +grub_fstest-grub_fstest_init.obj: grub_fstest_init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -MT grub_fstest-grub_fstest_init.obj -MD -MP -MF $(DEPDIR)/grub_fstest-grub_fstest_init.Tpo -c -o grub_fstest-grub_fstest_init.obj `if test -f 'grub_fstest_init.c'; then $(CYGPATH_W) 'grub_fstest_init.c'; else $(CYGPATH_W) '$(srcdir)/grub_fstest_init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/grub_fstest-grub_fstest_init.Tpo $(DEPDIR)/grub_fstest-grub_fstest_init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_fstest_init.c' object='grub_fstest-grub_fstest_init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) $(grub_fstest_CFLAGS) $(CFLAGS) -c -o grub_fstest-grub_fstest_init.obj `if test -f 'grub_fstest_init.c'; then $(CYGPATH_W) 'grub_fstest_init.c'; else $(CYGPATH_W) '$(srcdir)/grub_fstest_init.c'; fi` + +util/grub_macho2img-grub-macho2img.o: util/grub-macho2img.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_macho2img_CPPFLAGS) $(CPPFLAGS) $(grub_macho2img_CFLAGS) $(CFLAGS) -MT util/grub_macho2img-grub-macho2img.o -MD -MP -MF util/$(DEPDIR)/grub_macho2img-grub-macho2img.Tpo -c -o util/grub_macho2img-grub-macho2img.o `test -f 'util/grub-macho2img.c' || echo '$(srcdir)/'`util/grub-macho2img.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_macho2img-grub-macho2img.Tpo util/$(DEPDIR)/grub_macho2img-grub-macho2img.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-macho2img.c' object='util/grub_macho2img-grub-macho2img.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_macho2img_CPPFLAGS) $(CPPFLAGS) $(grub_macho2img_CFLAGS) $(CFLAGS) -c -o util/grub_macho2img-grub-macho2img.o `test -f 'util/grub-macho2img.c' || echo '$(srcdir)/'`util/grub-macho2img.c + +util/grub_macho2img-grub-macho2img.obj: util/grub-macho2img.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_macho2img_CPPFLAGS) $(CPPFLAGS) $(grub_macho2img_CFLAGS) $(CFLAGS) -MT util/grub_macho2img-grub-macho2img.obj -MD -MP -MF util/$(DEPDIR)/grub_macho2img-grub-macho2img.Tpo -c -o util/grub_macho2img-grub-macho2img.obj `if test -f 'util/grub-macho2img.c'; then $(CYGPATH_W) 'util/grub-macho2img.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-macho2img.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_macho2img-grub-macho2img.Tpo util/$(DEPDIR)/grub_macho2img-grub-macho2img.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-macho2img.c' object='util/grub_macho2img-grub-macho2img.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_macho2img_CPPFLAGS) $(CPPFLAGS) $(grub_macho2img_CFLAGS) $(CFLAGS) -c -o util/grub_macho2img-grub-macho2img.obj `if test -f 'util/grub-macho2img.c'; then $(CYGPATH_W) 'util/grub-macho2img.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-macho2img.c'; fi` + +util/grub_menulst2cfg-grub-menulst2cfg.o: util/grub-menulst2cfg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -MT util/grub_menulst2cfg-grub-menulst2cfg.o -MD -MP -MF util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Tpo -c -o util/grub_menulst2cfg-grub-menulst2cfg.o `test -f 'util/grub-menulst2cfg.c' || echo '$(srcdir)/'`util/grub-menulst2cfg.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Tpo util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-menulst2cfg.c' object='util/grub_menulst2cfg-grub-menulst2cfg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -c -o util/grub_menulst2cfg-grub-menulst2cfg.o `test -f 'util/grub-menulst2cfg.c' || echo '$(srcdir)/'`util/grub-menulst2cfg.c + +util/grub_menulst2cfg-grub-menulst2cfg.obj: util/grub-menulst2cfg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -MT util/grub_menulst2cfg-grub-menulst2cfg.obj -MD -MP -MF util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Tpo -c -o util/grub_menulst2cfg-grub-menulst2cfg.obj `if test -f 'util/grub-menulst2cfg.c'; then $(CYGPATH_W) 'util/grub-menulst2cfg.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-menulst2cfg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Tpo util/$(DEPDIR)/grub_menulst2cfg-grub-menulst2cfg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-menulst2cfg.c' object='util/grub_menulst2cfg-grub-menulst2cfg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -c -o util/grub_menulst2cfg-grub-menulst2cfg.obj `if test -f 'util/grub-menulst2cfg.c'; then $(CYGPATH_W) 'util/grub-menulst2cfg.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-menulst2cfg.c'; fi` + +grub-core/lib/grub_menulst2cfg-legacy_parse.o: grub-core/lib/legacy_parse.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -MT grub-core/lib/grub_menulst2cfg-legacy_parse.o -MD -MP -MF grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Tpo -c -o grub-core/lib/grub_menulst2cfg-legacy_parse.o `test -f 'grub-core/lib/legacy_parse.c' || echo '$(srcdir)/'`grub-core/lib/legacy_parse.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Tpo grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/legacy_parse.c' object='grub-core/lib/grub_menulst2cfg-legacy_parse.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -c -o grub-core/lib/grub_menulst2cfg-legacy_parse.o `test -f 'grub-core/lib/legacy_parse.c' || echo '$(srcdir)/'`grub-core/lib/legacy_parse.c + +grub-core/lib/grub_menulst2cfg-legacy_parse.obj: grub-core/lib/legacy_parse.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -MT grub-core/lib/grub_menulst2cfg-legacy_parse.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Tpo -c -o grub-core/lib/grub_menulst2cfg-legacy_parse.obj `if test -f 'grub-core/lib/legacy_parse.c'; then $(CYGPATH_W) 'grub-core/lib/legacy_parse.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/legacy_parse.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Tpo grub-core/lib/$(DEPDIR)/grub_menulst2cfg-legacy_parse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/legacy_parse.c' object='grub-core/lib/grub_menulst2cfg-legacy_parse.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -c -o grub-core/lib/grub_menulst2cfg-legacy_parse.obj `if test -f 'grub-core/lib/legacy_parse.c'; then $(CYGPATH_W) 'grub-core/lib/legacy_parse.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/legacy_parse.c'; fi` + +grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.o: grub-core/lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -MT grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.o -MD -MP -MF grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Tpo -c -o grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.o `test -f 'grub-core/lib/i386/pc/vesa_modes_table.c' || echo '$(srcdir)/'`grub-core/lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Tpo grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/i386/pc/vesa_modes_table.c' object='grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -c -o grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.o `test -f 'grub-core/lib/i386/pc/vesa_modes_table.c' || echo '$(srcdir)/'`grub-core/lib/i386/pc/vesa_modes_table.c + +grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.obj: grub-core/lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -MT grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.obj -MD -MP -MF grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Tpo -c -o grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.obj `if test -f 'grub-core/lib/i386/pc/vesa_modes_table.c'; then $(CYGPATH_W) 'grub-core/lib/i386/pc/vesa_modes_table.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/i386/pc/vesa_modes_table.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Tpo grub-core/lib/i386/pc/$(DEPDIR)/grub_menulst2cfg-vesa_modes_table.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/i386/pc/vesa_modes_table.c' object='grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_menulst2cfg_CPPFLAGS) $(CPPFLAGS) $(grub_menulst2cfg_CFLAGS) $(CFLAGS) -c -o grub-core/lib/i386/pc/grub_menulst2cfg-vesa_modes_table.obj `if test -f 'grub-core/lib/i386/pc/vesa_modes_table.c'; then $(CYGPATH_W) 'grub-core/lib/i386/pc/vesa_modes_table.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/i386/pc/vesa_modes_table.c'; fi` + +util/grub_mkdevicemap-devicemap.o: util/devicemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/grub_mkdevicemap-devicemap.o -MD -MP -MF util/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo -c -o util/grub_mkdevicemap-devicemap.o `test -f 'util/devicemap.c' || echo '$(srcdir)/'`util/devicemap.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo util/$(DEPDIR)/grub_mkdevicemap-devicemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/devicemap.c' object='util/grub_mkdevicemap-devicemap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/grub_mkdevicemap-devicemap.o `test -f 'util/devicemap.c' || echo '$(srcdir)/'`util/devicemap.c + +util/grub_mkdevicemap-devicemap.obj: util/devicemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/grub_mkdevicemap-devicemap.obj -MD -MP -MF util/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo -c -o util/grub_mkdevicemap-devicemap.obj `if test -f 'util/devicemap.c'; then $(CYGPATH_W) 'util/devicemap.c'; else $(CYGPATH_W) '$(srcdir)/util/devicemap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo util/$(DEPDIR)/grub_mkdevicemap-devicemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/devicemap.c' object='util/grub_mkdevicemap-devicemap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/grub_mkdevicemap-devicemap.obj `if test -f 'util/devicemap.c'; then $(CYGPATH_W) 'util/devicemap.c'; else $(CYGPATH_W) '$(srcdir)/util/devicemap.c'; fi` + +util/grub_mkdevicemap-grub-mkdevicemap.o: util/grub-mkdevicemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/grub_mkdevicemap-grub-mkdevicemap.o -MD -MP -MF util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Tpo -c -o util/grub_mkdevicemap-grub-mkdevicemap.o `test -f 'util/grub-mkdevicemap.c' || echo '$(srcdir)/'`util/grub-mkdevicemap.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Tpo util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkdevicemap.c' object='util/grub_mkdevicemap-grub-mkdevicemap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/grub_mkdevicemap-grub-mkdevicemap.o `test -f 'util/grub-mkdevicemap.c' || echo '$(srcdir)/'`util/grub-mkdevicemap.c + +util/grub_mkdevicemap-grub-mkdevicemap.obj: util/grub-mkdevicemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/grub_mkdevicemap-grub-mkdevicemap.obj -MD -MP -MF util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Tpo -c -o util/grub_mkdevicemap-grub-mkdevicemap.obj `if test -f 'util/grub-mkdevicemap.c'; then $(CYGPATH_W) 'util/grub-mkdevicemap.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkdevicemap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Tpo util/$(DEPDIR)/grub_mkdevicemap-grub-mkdevicemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkdevicemap.c' object='util/grub_mkdevicemap-grub-mkdevicemap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/grub_mkdevicemap-grub-mkdevicemap.obj `if test -f 'util/grub-mkdevicemap.c'; then $(CYGPATH_W) 'util/grub-mkdevicemap.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkdevicemap.c'; fi` + +util/grub_mkdevicemap-deviceiter.o: util/deviceiter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/grub_mkdevicemap-deviceiter.o -MD -MP -MF util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Tpo -c -o util/grub_mkdevicemap-deviceiter.o `test -f 'util/deviceiter.c' || echo '$(srcdir)/'`util/deviceiter.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Tpo util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/deviceiter.c' object='util/grub_mkdevicemap-deviceiter.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/grub_mkdevicemap-deviceiter.o `test -f 'util/deviceiter.c' || echo '$(srcdir)/'`util/deviceiter.c + +util/grub_mkdevicemap-deviceiter.obj: util/deviceiter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/grub_mkdevicemap-deviceiter.obj -MD -MP -MF util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Tpo -c -o util/grub_mkdevicemap-deviceiter.obj `if test -f 'util/deviceiter.c'; then $(CYGPATH_W) 'util/deviceiter.c'; else $(CYGPATH_W) '$(srcdir)/util/deviceiter.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Tpo util/$(DEPDIR)/grub_mkdevicemap-deviceiter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/deviceiter.c' object='util/grub_mkdevicemap-deviceiter.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/grub_mkdevicemap-deviceiter.obj `if test -f 'util/deviceiter.c'; then $(CYGPATH_W) 'util/deviceiter.c'; else $(CYGPATH_W) '$(srcdir)/util/deviceiter.c'; fi` + +util/ieee1275/grub_mkdevicemap-ofpath.o: util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_mkdevicemap-ofpath.o -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Tpo -c -o util/ieee1275/grub_mkdevicemap-ofpath.o `test -f 'util/ieee1275/ofpath.c' || echo '$(srcdir)/'`util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Tpo util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/ofpath.c' object='util/ieee1275/grub_mkdevicemap-ofpath.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_mkdevicemap-ofpath.o `test -f 'util/ieee1275/ofpath.c' || echo '$(srcdir)/'`util/ieee1275/ofpath.c + +util/ieee1275/grub_mkdevicemap-ofpath.obj: util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_mkdevicemap-ofpath.obj -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Tpo -c -o util/ieee1275/grub_mkdevicemap-ofpath.obj `if test -f 'util/ieee1275/ofpath.c'; then $(CYGPATH_W) 'util/ieee1275/ofpath.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/ofpath.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Tpo util/ieee1275/$(DEPDIR)/grub_mkdevicemap-ofpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/ofpath.c' object='util/ieee1275/grub_mkdevicemap-ofpath.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_mkdevicemap-ofpath.obj `if test -f 'util/ieee1275/ofpath.c'; then $(CYGPATH_W) 'util/ieee1275/ofpath.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/ofpath.c'; fi` + +util/ieee1275/grub_mkdevicemap-devicemap.o: util/ieee1275/devicemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_mkdevicemap-devicemap.o -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo -c -o util/ieee1275/grub_mkdevicemap-devicemap.o `test -f 'util/ieee1275/devicemap.c' || echo '$(srcdir)/'`util/ieee1275/devicemap.c +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/devicemap.c' object='util/ieee1275/grub_mkdevicemap-devicemap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_mkdevicemap-devicemap.o `test -f 'util/ieee1275/devicemap.c' || echo '$(srcdir)/'`util/ieee1275/devicemap.c + +util/ieee1275/grub_mkdevicemap-devicemap.obj: util/ieee1275/devicemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_mkdevicemap-devicemap.obj -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo -c -o util/ieee1275/grub_mkdevicemap-devicemap.obj `if test -f 'util/ieee1275/devicemap.c'; then $(CYGPATH_W) 'util/ieee1275/devicemap.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/devicemap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Tpo util/ieee1275/$(DEPDIR)/grub_mkdevicemap-devicemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/devicemap.c' object='util/ieee1275/grub_mkdevicemap-devicemap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkdevicemap_CPPFLAGS) $(CPPFLAGS) $(grub_mkdevicemap_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_mkdevicemap-devicemap.obj `if test -f 'util/ieee1275/devicemap.c'; then $(CYGPATH_W) 'util/ieee1275/devicemap.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/devicemap.c'; fi` + +util/grub_mkfont-grub-mkfont.o: util/grub-mkfont.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -MT util/grub_mkfont-grub-mkfont.o -MD -MP -MF util/$(DEPDIR)/grub_mkfont-grub-mkfont.Tpo -c -o util/grub_mkfont-grub-mkfont.o `test -f 'util/grub-mkfont.c' || echo '$(srcdir)/'`util/grub-mkfont.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkfont-grub-mkfont.Tpo util/$(DEPDIR)/grub_mkfont-grub-mkfont.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkfont.c' object='util/grub_mkfont-grub-mkfont.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -c -o util/grub_mkfont-grub-mkfont.o `test -f 'util/grub-mkfont.c' || echo '$(srcdir)/'`util/grub-mkfont.c + +util/grub_mkfont-grub-mkfont.obj: util/grub-mkfont.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -MT util/grub_mkfont-grub-mkfont.obj -MD -MP -MF util/$(DEPDIR)/grub_mkfont-grub-mkfont.Tpo -c -o util/grub_mkfont-grub-mkfont.obj `if test -f 'util/grub-mkfont.c'; then $(CYGPATH_W) 'util/grub-mkfont.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkfont.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkfont-grub-mkfont.Tpo util/$(DEPDIR)/grub_mkfont-grub-mkfont.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkfont.c' object='util/grub_mkfont-grub-mkfont.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -c -o util/grub_mkfont-grub-mkfont.obj `if test -f 'util/grub-mkfont.c'; then $(CYGPATH_W) 'util/grub-mkfont.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkfont.c'; fi` + +grub-core/grub_mkfont-unidata.o: grub-core/unidata.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -MT grub-core/grub_mkfont-unidata.o -MD -MP -MF grub-core/$(DEPDIR)/grub_mkfont-unidata.Tpo -c -o grub-core/grub_mkfont-unidata.o `test -f 'grub-core/unidata.c' || echo '$(srcdir)/'`grub-core/unidata.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/$(DEPDIR)/grub_mkfont-unidata.Tpo grub-core/$(DEPDIR)/grub_mkfont-unidata.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/unidata.c' object='grub-core/grub_mkfont-unidata.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -c -o grub-core/grub_mkfont-unidata.o `test -f 'grub-core/unidata.c' || echo '$(srcdir)/'`grub-core/unidata.c + +grub-core/grub_mkfont-unidata.obj: grub-core/unidata.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -MT grub-core/grub_mkfont-unidata.obj -MD -MP -MF grub-core/$(DEPDIR)/grub_mkfont-unidata.Tpo -c -o grub-core/grub_mkfont-unidata.obj `if test -f 'grub-core/unidata.c'; then $(CYGPATH_W) 'grub-core/unidata.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/unidata.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/$(DEPDIR)/grub_mkfont-unidata.Tpo grub-core/$(DEPDIR)/grub_mkfont-unidata.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/unidata.c' object='grub-core/grub_mkfont-unidata.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkfont_CPPFLAGS) $(CPPFLAGS) $(grub_mkfont_CFLAGS) $(CFLAGS) -c -o grub-core/grub_mkfont-unidata.obj `if test -f 'grub-core/unidata.c'; then $(CYGPATH_W) 'grub-core/unidata.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/unidata.c'; fi` + +util/grub_mkimage-grub-mkimage.o: util/grub-mkimage.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -MT util/grub_mkimage-grub-mkimage.o -MD -MP -MF util/$(DEPDIR)/grub_mkimage-grub-mkimage.Tpo -c -o util/grub_mkimage-grub-mkimage.o `test -f 'util/grub-mkimage.c' || echo '$(srcdir)/'`util/grub-mkimage.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkimage-grub-mkimage.Tpo util/$(DEPDIR)/grub_mkimage-grub-mkimage.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkimage.c' object='util/grub_mkimage-grub-mkimage.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -c -o util/grub_mkimage-grub-mkimage.o `test -f 'util/grub-mkimage.c' || echo '$(srcdir)/'`util/grub-mkimage.c + +util/grub_mkimage-grub-mkimage.obj: util/grub-mkimage.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -MT util/grub_mkimage-grub-mkimage.obj -MD -MP -MF util/$(DEPDIR)/grub_mkimage-grub-mkimage.Tpo -c -o util/grub_mkimage-grub-mkimage.obj `if test -f 'util/grub-mkimage.c'; then $(CYGPATH_W) 'util/grub-mkimage.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkimage.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkimage-grub-mkimage.Tpo util/$(DEPDIR)/grub_mkimage-grub-mkimage.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkimage.c' object='util/grub_mkimage-grub-mkimage.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -c -o util/grub_mkimage-grub-mkimage.obj `if test -f 'util/grub-mkimage.c'; then $(CYGPATH_W) 'util/grub-mkimage.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkimage.c'; fi` + +util/grub_mkimage-resolve.o: util/resolve.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -MT util/grub_mkimage-resolve.o -MD -MP -MF util/$(DEPDIR)/grub_mkimage-resolve.Tpo -c -o util/grub_mkimage-resolve.o `test -f 'util/resolve.c' || echo '$(srcdir)/'`util/resolve.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkimage-resolve.Tpo util/$(DEPDIR)/grub_mkimage-resolve.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/resolve.c' object='util/grub_mkimage-resolve.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -c -o util/grub_mkimage-resolve.o `test -f 'util/resolve.c' || echo '$(srcdir)/'`util/resolve.c + +util/grub_mkimage-resolve.obj: util/resolve.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -MT util/grub_mkimage-resolve.obj -MD -MP -MF util/$(DEPDIR)/grub_mkimage-resolve.Tpo -c -o util/grub_mkimage-resolve.obj `if test -f 'util/resolve.c'; then $(CYGPATH_W) 'util/resolve.c'; else $(CYGPATH_W) '$(srcdir)/util/resolve.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkimage-resolve.Tpo util/$(DEPDIR)/grub_mkimage-resolve.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/resolve.c' object='util/grub_mkimage-resolve.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkimage_CPPFLAGS) $(CPPFLAGS) $(grub_mkimage_CFLAGS) $(CFLAGS) -c -o util/grub_mkimage-resolve.obj `if test -f 'util/resolve.c'; then $(CYGPATH_W) 'util/resolve.c'; else $(CYGPATH_W) '$(srcdir)/util/resolve.c'; fi` + +util/grub_mklayout-grub-mklayout.o: util/grub-mklayout.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mklayout_CPPFLAGS) $(CPPFLAGS) $(grub_mklayout_CFLAGS) $(CFLAGS) -MT util/grub_mklayout-grub-mklayout.o -MD -MP -MF util/$(DEPDIR)/grub_mklayout-grub-mklayout.Tpo -c -o util/grub_mklayout-grub-mklayout.o `test -f 'util/grub-mklayout.c' || echo '$(srcdir)/'`util/grub-mklayout.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mklayout-grub-mklayout.Tpo util/$(DEPDIR)/grub_mklayout-grub-mklayout.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mklayout.c' object='util/grub_mklayout-grub-mklayout.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mklayout_CPPFLAGS) $(CPPFLAGS) $(grub_mklayout_CFLAGS) $(CFLAGS) -c -o util/grub_mklayout-grub-mklayout.o `test -f 'util/grub-mklayout.c' || echo '$(srcdir)/'`util/grub-mklayout.c + +util/grub_mklayout-grub-mklayout.obj: util/grub-mklayout.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mklayout_CPPFLAGS) $(CPPFLAGS) $(grub_mklayout_CFLAGS) $(CFLAGS) -MT util/grub_mklayout-grub-mklayout.obj -MD -MP -MF util/$(DEPDIR)/grub_mklayout-grub-mklayout.Tpo -c -o util/grub_mklayout-grub-mklayout.obj `if test -f 'util/grub-mklayout.c'; then $(CYGPATH_W) 'util/grub-mklayout.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mklayout.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mklayout-grub-mklayout.Tpo util/$(DEPDIR)/grub_mklayout-grub-mklayout.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mklayout.c' object='util/grub_mklayout-grub-mklayout.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mklayout_CPPFLAGS) $(CPPFLAGS) $(grub_mklayout_CFLAGS) $(CFLAGS) -c -o util/grub_mklayout-grub-mklayout.obj `if test -f 'util/grub-mklayout.c'; then $(CYGPATH_W) 'util/grub-mklayout.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mklayout.c'; fi` + +util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.o: util/grub-mkpasswd-pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkpasswd_pbkdf2_CPPFLAGS) $(CPPFLAGS) $(grub_mkpasswd_pbkdf2_CFLAGS) $(CFLAGS) -MT util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.o -MD -MP -MF util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Tpo -c -o util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.o `test -f 'util/grub-mkpasswd-pbkdf2.c' || echo '$(srcdir)/'`util/grub-mkpasswd-pbkdf2.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Tpo util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkpasswd-pbkdf2.c' object='util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkpasswd_pbkdf2_CPPFLAGS) $(CPPFLAGS) $(grub_mkpasswd_pbkdf2_CFLAGS) $(CFLAGS) -c -o util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.o `test -f 'util/grub-mkpasswd-pbkdf2.c' || echo '$(srcdir)/'`util/grub-mkpasswd-pbkdf2.c + +util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.obj: util/grub-mkpasswd-pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkpasswd_pbkdf2_CPPFLAGS) $(CPPFLAGS) $(grub_mkpasswd_pbkdf2_CFLAGS) $(CFLAGS) -MT util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.obj -MD -MP -MF util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Tpo -c -o util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.obj `if test -f 'util/grub-mkpasswd-pbkdf2.c'; then $(CYGPATH_W) 'util/grub-mkpasswd-pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkpasswd-pbkdf2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Tpo util/$(DEPDIR)/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkpasswd-pbkdf2.c' object='util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkpasswd_pbkdf2_CPPFLAGS) $(CPPFLAGS) $(grub_mkpasswd_pbkdf2_CFLAGS) $(CFLAGS) -c -o util/grub_mkpasswd_pbkdf2-grub-mkpasswd-pbkdf2.obj `if test -f 'util/grub-mkpasswd-pbkdf2.c'; then $(CYGPATH_W) 'util/grub-mkpasswd-pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkpasswd-pbkdf2.c'; fi` + +util/grub_mkrelpath-grub-mkrelpath.o: util/grub-mkrelpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkrelpath_CPPFLAGS) $(CPPFLAGS) $(grub_mkrelpath_CFLAGS) $(CFLAGS) -MT util/grub_mkrelpath-grub-mkrelpath.o -MD -MP -MF util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Tpo -c -o util/grub_mkrelpath-grub-mkrelpath.o `test -f 'util/grub-mkrelpath.c' || echo '$(srcdir)/'`util/grub-mkrelpath.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Tpo util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkrelpath.c' object='util/grub_mkrelpath-grub-mkrelpath.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkrelpath_CPPFLAGS) $(CPPFLAGS) $(grub_mkrelpath_CFLAGS) $(CFLAGS) -c -o util/grub_mkrelpath-grub-mkrelpath.o `test -f 'util/grub-mkrelpath.c' || echo '$(srcdir)/'`util/grub-mkrelpath.c + +util/grub_mkrelpath-grub-mkrelpath.obj: util/grub-mkrelpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkrelpath_CPPFLAGS) $(CPPFLAGS) $(grub_mkrelpath_CFLAGS) $(CFLAGS) -MT util/grub_mkrelpath-grub-mkrelpath.obj -MD -MP -MF util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Tpo -c -o util/grub_mkrelpath-grub-mkrelpath.obj `if test -f 'util/grub-mkrelpath.c'; then $(CYGPATH_W) 'util/grub-mkrelpath.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkrelpath.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Tpo util/$(DEPDIR)/grub_mkrelpath-grub-mkrelpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-mkrelpath.c' object='util/grub_mkrelpath-grub-mkrelpath.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_mkrelpath_CPPFLAGS) $(CPPFLAGS) $(grub_mkrelpath_CFLAGS) $(CFLAGS) -c -o util/grub_mkrelpath-grub-mkrelpath.obj `if test -f 'util/grub-mkrelpath.c'; then $(CYGPATH_W) 'util/grub-mkrelpath.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-mkrelpath.c'; fi` + +util/ieee1275/grub_ofpathname-grub-ofpathname.o: util/ieee1275/grub-ofpathname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_ofpathname-grub-ofpathname.o -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Tpo -c -o util/ieee1275/grub_ofpathname-grub-ofpathname.o `test -f 'util/ieee1275/grub-ofpathname.c' || echo '$(srcdir)/'`util/ieee1275/grub-ofpathname.c +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Tpo util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/grub-ofpathname.c' object='util/ieee1275/grub_ofpathname-grub-ofpathname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_ofpathname-grub-ofpathname.o `test -f 'util/ieee1275/grub-ofpathname.c' || echo '$(srcdir)/'`util/ieee1275/grub-ofpathname.c + +util/ieee1275/grub_ofpathname-grub-ofpathname.obj: util/ieee1275/grub-ofpathname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_ofpathname-grub-ofpathname.obj -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Tpo -c -o util/ieee1275/grub_ofpathname-grub-ofpathname.obj `if test -f 'util/ieee1275/grub-ofpathname.c'; then $(CYGPATH_W) 'util/ieee1275/grub-ofpathname.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/grub-ofpathname.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Tpo util/ieee1275/$(DEPDIR)/grub_ofpathname-grub-ofpathname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/grub-ofpathname.c' object='util/ieee1275/grub_ofpathname-grub-ofpathname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_ofpathname-grub-ofpathname.obj `if test -f 'util/ieee1275/grub-ofpathname.c'; then $(CYGPATH_W) 'util/ieee1275/grub-ofpathname.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/grub-ofpathname.c'; fi` + +util/ieee1275/grub_ofpathname-ofpath.o: util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_ofpathname-ofpath.o -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Tpo -c -o util/ieee1275/grub_ofpathname-ofpath.o `test -f 'util/ieee1275/ofpath.c' || echo '$(srcdir)/'`util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Tpo util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/ofpath.c' object='util/ieee1275/grub_ofpathname-ofpath.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_ofpathname-ofpath.o `test -f 'util/ieee1275/ofpath.c' || echo '$(srcdir)/'`util/ieee1275/ofpath.c + +util/ieee1275/grub_ofpathname-ofpath.obj: util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_ofpathname-ofpath.obj -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Tpo -c -o util/ieee1275/grub_ofpathname-ofpath.obj `if test -f 'util/ieee1275/ofpath.c'; then $(CYGPATH_W) 'util/ieee1275/ofpath.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/ofpath.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Tpo util/ieee1275/$(DEPDIR)/grub_ofpathname-ofpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/ofpath.c' object='util/ieee1275/grub_ofpathname-ofpath.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_ofpathname_CPPFLAGS) $(CPPFLAGS) $(grub_ofpathname_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_ofpathname-ofpath.obj `if test -f 'util/ieee1275/ofpath.c'; then $(CYGPATH_W) 'util/ieee1275/ofpath.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/ofpath.c'; fi` + +util/grub_pe2elf-grub-pe2elf.o: util/grub-pe2elf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_pe2elf_CPPFLAGS) $(CPPFLAGS) $(grub_pe2elf_CFLAGS) $(CFLAGS) -MT util/grub_pe2elf-grub-pe2elf.o -MD -MP -MF util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Tpo -c -o util/grub_pe2elf-grub-pe2elf.o `test -f 'util/grub-pe2elf.c' || echo '$(srcdir)/'`util/grub-pe2elf.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Tpo util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-pe2elf.c' object='util/grub_pe2elf-grub-pe2elf.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_pe2elf_CPPFLAGS) $(CPPFLAGS) $(grub_pe2elf_CFLAGS) $(CFLAGS) -c -o util/grub_pe2elf-grub-pe2elf.o `test -f 'util/grub-pe2elf.c' || echo '$(srcdir)/'`util/grub-pe2elf.c + +util/grub_pe2elf-grub-pe2elf.obj: util/grub-pe2elf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_pe2elf_CPPFLAGS) $(CPPFLAGS) $(grub_pe2elf_CFLAGS) $(CFLAGS) -MT util/grub_pe2elf-grub-pe2elf.obj -MD -MP -MF util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Tpo -c -o util/grub_pe2elf-grub-pe2elf.obj `if test -f 'util/grub-pe2elf.c'; then $(CYGPATH_W) 'util/grub-pe2elf.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-pe2elf.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Tpo util/$(DEPDIR)/grub_pe2elf-grub-pe2elf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-pe2elf.c' object='util/grub_pe2elf-grub-pe2elf.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_pe2elf_CPPFLAGS) $(CPPFLAGS) $(grub_pe2elf_CFLAGS) $(CFLAGS) -c -o util/grub_pe2elf-grub-pe2elf.obj `if test -f 'util/grub-pe2elf.c'; then $(CYGPATH_W) 'util/grub-pe2elf.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-pe2elf.c'; fi` + +util/grub_probe-grub-probe.o: util/grub-probe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_probe_CPPFLAGS) $(CPPFLAGS) $(grub_probe_CFLAGS) $(CFLAGS) -MT util/grub_probe-grub-probe.o -MD -MP -MF util/$(DEPDIR)/grub_probe-grub-probe.Tpo -c -o util/grub_probe-grub-probe.o `test -f 'util/grub-probe.c' || echo '$(srcdir)/'`util/grub-probe.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_probe-grub-probe.Tpo util/$(DEPDIR)/grub_probe-grub-probe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-probe.c' object='util/grub_probe-grub-probe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_probe_CPPFLAGS) $(CPPFLAGS) $(grub_probe_CFLAGS) $(CFLAGS) -c -o util/grub_probe-grub-probe.o `test -f 'util/grub-probe.c' || echo '$(srcdir)/'`util/grub-probe.c + +util/grub_probe-grub-probe.obj: util/grub-probe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_probe_CPPFLAGS) $(CPPFLAGS) $(grub_probe_CFLAGS) $(CFLAGS) -MT util/grub_probe-grub-probe.obj -MD -MP -MF util/$(DEPDIR)/grub_probe-grub-probe.Tpo -c -o util/grub_probe-grub-probe.obj `if test -f 'util/grub-probe.c'; then $(CYGPATH_W) 'util/grub-probe.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-probe.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_probe-grub-probe.Tpo util/$(DEPDIR)/grub_probe-grub-probe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-probe.c' object='util/grub_probe-grub-probe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_probe_CPPFLAGS) $(CPPFLAGS) $(grub_probe_CFLAGS) $(CFLAGS) -c -o util/grub_probe-grub-probe.obj `if test -f 'util/grub-probe.c'; then $(CYGPATH_W) 'util/grub-probe.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-probe.c'; fi` + +util/grub_script_check-grub-script-check.o: util/grub-script-check.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_script_check_CPPFLAGS) $(CPPFLAGS) $(grub_script_check_CFLAGS) $(CFLAGS) -MT util/grub_script_check-grub-script-check.o -MD -MP -MF util/$(DEPDIR)/grub_script_check-grub-script-check.Tpo -c -o util/grub_script_check-grub-script-check.o `test -f 'util/grub-script-check.c' || echo '$(srcdir)/'`util/grub-script-check.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_script_check-grub-script-check.Tpo util/$(DEPDIR)/grub_script_check-grub-script-check.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-script-check.c' object='util/grub_script_check-grub-script-check.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_script_check_CPPFLAGS) $(CPPFLAGS) $(grub_script_check_CFLAGS) $(CFLAGS) -c -o util/grub_script_check-grub-script-check.o `test -f 'util/grub-script-check.c' || echo '$(srcdir)/'`util/grub-script-check.c + +util/grub_script_check-grub-script-check.obj: util/grub-script-check.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_script_check_CPPFLAGS) $(CPPFLAGS) $(grub_script_check_CFLAGS) $(CFLAGS) -MT util/grub_script_check-grub-script-check.obj -MD -MP -MF util/$(DEPDIR)/grub_script_check-grub-script-check.Tpo -c -o util/grub_script_check-grub-script-check.obj `if test -f 'util/grub-script-check.c'; then $(CYGPATH_W) 'util/grub-script-check.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-script-check.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_script_check-grub-script-check.Tpo util/$(DEPDIR)/grub_script_check-grub-script-check.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-script-check.c' object='util/grub_script_check-grub-script-check.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_script_check_CPPFLAGS) $(CPPFLAGS) $(grub_script_check_CFLAGS) $(CFLAGS) -c -o util/grub_script_check-grub-script-check.obj `if test -f 'util/grub-script-check.c'; then $(CYGPATH_W) 'util/grub-script-check.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-script-check.c'; fi` + +util/grub_setup-grub-setup.o: util/grub-setup.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/grub_setup-grub-setup.o -MD -MP -MF util/$(DEPDIR)/grub_setup-grub-setup.Tpo -c -o util/grub_setup-grub-setup.o `test -f 'util/grub-setup.c' || echo '$(srcdir)/'`util/grub-setup.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_setup-grub-setup.Tpo util/$(DEPDIR)/grub_setup-grub-setup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-setup.c' object='util/grub_setup-grub-setup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/grub_setup-grub-setup.o `test -f 'util/grub-setup.c' || echo '$(srcdir)/'`util/grub-setup.c + +util/grub_setup-grub-setup.obj: util/grub-setup.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/grub_setup-grub-setup.obj -MD -MP -MF util/$(DEPDIR)/grub_setup-grub-setup.Tpo -c -o util/grub_setup-grub-setup.obj `if test -f 'util/grub-setup.c'; then $(CYGPATH_W) 'util/grub-setup.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-setup.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_setup-grub-setup.Tpo util/$(DEPDIR)/grub_setup-grub-setup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/grub-setup.c' object='util/grub_setup-grub-setup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/grub_setup-grub-setup.obj `if test -f 'util/grub-setup.c'; then $(CYGPATH_W) 'util/grub-setup.c'; else $(CYGPATH_W) '$(srcdir)/util/grub-setup.c'; fi` + +util/grub_setup-raid.o: util/raid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/grub_setup-raid.o -MD -MP -MF util/$(DEPDIR)/grub_setup-raid.Tpo -c -o util/grub_setup-raid.o `test -f 'util/raid.c' || echo '$(srcdir)/'`util/raid.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_setup-raid.Tpo util/$(DEPDIR)/grub_setup-raid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/raid.c' object='util/grub_setup-raid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/grub_setup-raid.o `test -f 'util/raid.c' || echo '$(srcdir)/'`util/raid.c + +util/grub_setup-raid.obj: util/raid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/grub_setup-raid.obj -MD -MP -MF util/$(DEPDIR)/grub_setup-raid.Tpo -c -o util/grub_setup-raid.obj `if test -f 'util/raid.c'; then $(CYGPATH_W) 'util/raid.c'; else $(CYGPATH_W) '$(srcdir)/util/raid.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_setup-raid.Tpo util/$(DEPDIR)/grub_setup-raid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/raid.c' object='util/grub_setup-raid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/grub_setup-raid.obj `if test -f 'util/raid.c'; then $(CYGPATH_W) 'util/raid.c'; else $(CYGPATH_W) '$(srcdir)/util/raid.c'; fi` + +util/grub_setup-lvm.o: util/lvm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/grub_setup-lvm.o -MD -MP -MF util/$(DEPDIR)/grub_setup-lvm.Tpo -c -o util/grub_setup-lvm.o `test -f 'util/lvm.c' || echo '$(srcdir)/'`util/lvm.c +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_setup-lvm.Tpo util/$(DEPDIR)/grub_setup-lvm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/lvm.c' object='util/grub_setup-lvm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/grub_setup-lvm.o `test -f 'util/lvm.c' || echo '$(srcdir)/'`util/lvm.c + +util/grub_setup-lvm.obj: util/lvm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/grub_setup-lvm.obj -MD -MP -MF util/$(DEPDIR)/grub_setup-lvm.Tpo -c -o util/grub_setup-lvm.obj `if test -f 'util/lvm.c'; then $(CYGPATH_W) 'util/lvm.c'; else $(CYGPATH_W) '$(srcdir)/util/lvm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/$(DEPDIR)/grub_setup-lvm.Tpo util/$(DEPDIR)/grub_setup-lvm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/lvm.c' object='util/grub_setup-lvm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/grub_setup-lvm.obj `if test -f 'util/lvm.c'; then $(CYGPATH_W) 'util/lvm.c'; else $(CYGPATH_W) '$(srcdir)/util/lvm.c'; fi` + +grub-core/lib/grub_setup-reed_solomon.o: grub-core/lib/reed_solomon.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT grub-core/lib/grub_setup-reed_solomon.o -MD -MP -MF grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Tpo -c -o grub-core/lib/grub_setup-reed_solomon.o `test -f 'grub-core/lib/reed_solomon.c' || echo '$(srcdir)/'`grub-core/lib/reed_solomon.c +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Tpo grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/reed_solomon.c' object='grub-core/lib/grub_setup-reed_solomon.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o grub-core/lib/grub_setup-reed_solomon.o `test -f 'grub-core/lib/reed_solomon.c' || echo '$(srcdir)/'`grub-core/lib/reed_solomon.c + +grub-core/lib/grub_setup-reed_solomon.obj: grub-core/lib/reed_solomon.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT grub-core/lib/grub_setup-reed_solomon.obj -MD -MP -MF grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Tpo -c -o grub-core/lib/grub_setup-reed_solomon.obj `if test -f 'grub-core/lib/reed_solomon.c'; then $(CYGPATH_W) 'grub-core/lib/reed_solomon.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/reed_solomon.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Tpo grub-core/lib/$(DEPDIR)/grub_setup-reed_solomon.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub-core/lib/reed_solomon.c' object='grub-core/lib/grub_setup-reed_solomon.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o grub-core/lib/grub_setup-reed_solomon.obj `if test -f 'grub-core/lib/reed_solomon.c'; then $(CYGPATH_W) 'grub-core/lib/reed_solomon.c'; else $(CYGPATH_W) '$(srcdir)/grub-core/lib/reed_solomon.c'; fi` + +util/ieee1275/grub_setup-ofpath.o: util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_setup-ofpath.o -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Tpo -c -o util/ieee1275/grub_setup-ofpath.o `test -f 'util/ieee1275/ofpath.c' || echo '$(srcdir)/'`util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Tpo util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/ofpath.c' object='util/ieee1275/grub_setup-ofpath.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_setup-ofpath.o `test -f 'util/ieee1275/ofpath.c' || echo '$(srcdir)/'`util/ieee1275/ofpath.c + +util/ieee1275/grub_setup-ofpath.obj: util/ieee1275/ofpath.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -MT util/ieee1275/grub_setup-ofpath.obj -MD -MP -MF util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Tpo -c -o util/ieee1275/grub_setup-ofpath.obj `if test -f 'util/ieee1275/ofpath.c'; then $(CYGPATH_W) 'util/ieee1275/ofpath.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/ofpath.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Tpo util/ieee1275/$(DEPDIR)/grub_setup-ofpath.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util/ieee1275/ofpath.c' object='util/ieee1275/grub_setup-ofpath.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_setup_CPPFLAGS) $(CPPFLAGS) $(grub_setup_CFLAGS) $(CFLAGS) -c -o util/ieee1275/grub_setup-ofpath.obj `if test -f 'util/ieee1275/ofpath.c'; then $(CYGPATH_W) 'util/ieee1275/ofpath.c'; else $(CYGPATH_W) '$(srcdir)/util/ieee1275/ofpath.c'; fi` +install-man1: $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" + @list=''; test -n "$(man1dir)" || exit 0; \ + { for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } +install-man8: $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" + @list=''; test -n "$(man8dir)" || exit 0; \ + { for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.8[a-z]*$$/p'; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ + done; } + +uninstall-man8: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man8dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.8[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; } +install-grubconfDATA: $(grubconf_DATA) + @$(NORMAL_INSTALL) + test -z "$(grubconfdir)" || $(MKDIR_P) "$(DESTDIR)$(grubconfdir)" + @list='$(grubconf_DATA)'; test -n "$(grubconfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(grubconfdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(grubconfdir)" || exit $$?; \ + done + +uninstall-grubconfDATA: + @$(NORMAL_UNINSTALL) + @list='$(grubconf_DATA)'; test -n "$(grubconfdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(grubconfdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(grubconfdir)" && rm -f $$files +install-grubdataDATA: $(grubdata_DATA) + @$(NORMAL_INSTALL) + test -z "$(grubdatadir)" || $(MKDIR_P) "$(DESTDIR)$(grubdatadir)" + @list='$(grubdata_DATA)'; test -n "$(grubdatadir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(grubdatadir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(grubdatadir)" || exit $$?; \ + done + +uninstall-grubdataDATA: + @$(NORMAL_UNINSTALL) + @list='$(grubdata_DATA)'; test -n "$(grubdatadir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(grubdatadir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(grubdatadir)" && rm -f $$files +install-pkglibDATA: $(pkglib_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkglibdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkglibdir)" || exit $$?; \ + done + +uninstall-pkglibDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files +install-platformDATA: $(platform_DATA) + @$(NORMAL_INSTALL) + test -z "$(platformdir)" || $(MKDIR_P) "$(DESTDIR)$(platformdir)" + @list='$(platform_DATA)'; test -n "$(platformdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(platformdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(platformdir)" || exit $$?; \ + done + +uninstall-platformDATA: + @$(NORMAL_UNINSTALL) + @list='$(platform_DATA)'; test -n "$(platformdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(platformdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(platformdir)" && rm -f $$files +install-platformHEADERS: $(platform_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(platformdir)" || $(MKDIR_P) "$(DESTDIR)$(platformdir)" + @list='$(platform_HEADERS)'; test -n "$(platformdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(platformdir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(platformdir)" || exit $$?; \ + done + +uninstall-platformHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(platform_HEADERS)'; test -n "$(platformdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(platformdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(platformdir)" && rm -f $$files + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config-util.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config-util.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config-util.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) config-util.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + echo "$$grn$$dashes"; \ + else \ + echo "$$red$$dashes"; \ + fi; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes$$std"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @list='$(MANS)'; if test -n "$$list"; then \ + list=`for p in $$list; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ + if test -n "$$list" && \ + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ + echo " typically \`make maintainer-clean' will remove them" >&2; \ + exit 1; \ + else :; fi; \ + else :; fi + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @$(am__cd) '$(distuninstallcheck_dir)' \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \ + $(HEADERS) config-util.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(grubconfdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(grubconfdir)" "$(DESTDIR)$(grubdatadir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(platformdir)" "$(DESTDIR)$(platformdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f grub-core/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/$(am__dirstamp) + -rm -f grub-core/commands/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/commands/$(am__dirstamp) + -rm -f grub-core/disk/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/disk/$(am__dirstamp) + -rm -f grub-core/fs/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/fs/$(am__dirstamp) + -rm -f grub-core/fs/zfs/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/fs/zfs/$(am__dirstamp) + -rm -f grub-core/io/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/io/$(am__dirstamp) + -rm -f grub-core/kern/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/kern/$(am__dirstamp) + -rm -f grub-core/kern/emu/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/kern/emu/$(am__dirstamp) + -rm -f grub-core/lib/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/lib/$(am__dirstamp) + -rm -f grub-core/lib/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/lib/i386/pc/$(am__dirstamp) + -rm -f grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/lib/libgcrypt-grub/cipher/$(am__dirstamp) + -rm -f grub-core/normal/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/normal/$(am__dirstamp) + -rm -f grub-core/partmap/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/partmap/$(am__dirstamp) + -rm -f grub-core/script/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/script/$(am__dirstamp) + -rm -f grub-core/tests/lib/$(DEPDIR)/$(am__dirstamp) + -rm -f grub-core/tests/lib/$(am__dirstamp) + -rm -f tests/$(DEPDIR)/$(am__dirstamp) + -rm -f tests/$(am__dirstamp) + -rm -f tests/lib/$(DEPDIR)/$(am__dirstamp) + -rm -f tests/lib/$(am__dirstamp) + -rm -f util/$(DEPDIR)/$(am__dirstamp) + -rm -f util/$(am__dirstamp) + -rm -f util/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f util/ieee1275/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ + clean-noinstLIBRARIES clean-noinstPROGRAMS clean-sbinPROGRAMS \ + mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf ./$(DEPDIR) grub-core/$(DEPDIR) grub-core/commands/$(DEPDIR) grub-core/disk/$(DEPDIR) grub-core/fs/$(DEPDIR) grub-core/fs/zfs/$(DEPDIR) grub-core/io/$(DEPDIR) grub-core/kern/$(DEPDIR) grub-core/kern/emu/$(DEPDIR) grub-core/lib/$(DEPDIR) grub-core/lib/i386/pc/$(DEPDIR) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR) grub-core/normal/$(DEPDIR) grub-core/partmap/$(DEPDIR) grub-core/script/$(DEPDIR) grub-core/tests/lib/$(DEPDIR) tests/$(DEPDIR) tests/lib/$(DEPDIR) util/$(DEPDIR) util/ieee1275/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-grubconfDATA install-grubconfSCRIPTS \ + install-grubdataDATA install-man install-platformDATA \ + install-platformHEADERS + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-binSCRIPTS \ + install-pkglibDATA install-pkglibSCRIPTS install-sbinPROGRAMS \ + install-sbinSCRIPTS + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: install-man1 install-man8 + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf ./$(DEPDIR) grub-core/$(DEPDIR) grub-core/commands/$(DEPDIR) grub-core/disk/$(DEPDIR) grub-core/fs/$(DEPDIR) grub-core/fs/zfs/$(DEPDIR) grub-core/io/$(DEPDIR) grub-core/kern/$(DEPDIR) grub-core/kern/emu/$(DEPDIR) grub-core/lib/$(DEPDIR) grub-core/lib/i386/pc/$(DEPDIR) grub-core/lib/libgcrypt-grub/cipher/$(DEPDIR) grub-core/normal/$(DEPDIR) grub-core/partmap/$(DEPDIR) grub-core/script/$(DEPDIR) grub-core/tests/lib/$(DEPDIR) tests/$(DEPDIR) tests/lib/$(DEPDIR) util/$(DEPDIR) util/ieee1275/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ + uninstall-grubconfDATA uninstall-grubconfSCRIPTS \ + uninstall-grubdataDATA uninstall-man uninstall-pkglibDATA \ + uninstall-pkglibSCRIPTS uninstall-platformDATA \ + uninstall-platformHEADERS uninstall-sbinPROGRAMS \ + uninstall-sbinSCRIPTS + +uninstall-man: uninstall-man1 uninstall-man8 + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ + check-am ctags-recursive install install-am install-strip \ + tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-TESTS check-am clean \ + clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ + clean-noinstLIBRARIES clean-noinstPROGRAMS clean-sbinPROGRAMS \ + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ + dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ + distclean distclean-compile distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS install-binSCRIPTS install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-grubconfDATA install-grubconfSCRIPTS \ + install-grubdataDATA install-html install-html-am install-info \ + install-info-am install-man install-man1 install-man8 \ + install-pdf install-pdf-am install-pkglibDATA \ + install-pkglibSCRIPTS install-platformDATA \ + install-platformHEADERS install-ps install-ps-am \ + install-sbinPROGRAMS install-sbinSCRIPTS install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-binPROGRAMS uninstall-binSCRIPTS \ + uninstall-grubconfDATA uninstall-grubconfSCRIPTS \ + uninstall-grubdataDATA uninstall-man uninstall-man1 \ + uninstall-man8 uninstall-pkglibDATA uninstall-pkglibSCRIPTS \ + uninstall-platformDATA uninstall-platformHEADERS \ + uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS + + +export LC_COLLATE := C +export LC_CTYPE := C +unexport LC_ALL + +# Rules for autogen definition files + +.PRECIOUS: $(top_srcdir)/Makefile.tpl +$(top_srcdir)/Makefile.tpl: $(top_srcdir)/gentpl.py + python $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +.PRECIOUS: $(top_srcdir)/Makefile.util.am +$(top_srcdir)/Makefile.util.am: $(top_srcdir)/Makefile.util.def $(top_srcdir)/Makefile.tpl + autogen -T $(top_srcdir)/Makefile.tpl $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +.PRECIOUS: $(top_srcdir)/grub-core/Makefile.core.am +$(top_srcdir)/grub-core/Makefile.core.am: $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def $(top_srcdir)/Makefile.tpl + if [ "x$$GRUB_CONTRIB" != x ]; then echo "You need to run ./autogen.sh manually." >&2; exit 1; fi + autogen -T $(top_srcdir)/Makefile.tpl $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-bin2h.1: grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-bin2h +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkimage.1: grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkimage +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkrelpath.1: grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkrelpath +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-script-check.1: grub-script-check +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-script-check +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-editenv.1: grub-editenv +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-editenv +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkpasswd-pbkdf2 +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-macho2img.1: grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-macho2img +@COND_APPLE_CC_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-pe2elf.1: grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-pe2elf +@COND_GRUB_PE2ELF_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-fstest.1: grub-fstest +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-fstest +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkfont.1: grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkfont +@COND_GRUB_MKFONT_TRUE@@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkdevicemap.8: grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkdevicemap +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-probe.8: grub-probe +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-probe +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-setup.8: grub-setup +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-setup +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-setup.h2m -o $@ grub-setup + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-setup.8: grub-setup +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-setup +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-setup.h2m -o $@ grub-setup + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mklayout.1: grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mklayout +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-menulst2cfg.1: grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-menulst2cfg +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +@COND_emu_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x 00_header + +@COND_i386_pc_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x 00_header + +@COND_i386_efi_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x 00_header + +@COND_i386_qemu_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x 00_header + +@COND_i386_coreboot_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x 00_header + +@COND_i386_multiboot_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x 00_header + +@COND_i386_ieee1275_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x 00_header + +@COND_x86_64_efi_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x 00_header + +@COND_mips_yeeloong_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x 00_header + +@COND_sparc64_ieee1275_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x 00_header + +@COND_powerpc_ieee1275_TRUE@00_header: util/grub.d/00_header.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x 00_header + +@COND_HOST_WINDOWS_TRUE@@COND_emu_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_emu_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_i386_pc_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_i386_pc_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_i386_efi_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_i386_efi_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_i386_qemu_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_i386_qemu_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_i386_coreboot_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_i386_multiboot_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_i386_ieee1275_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_x86_64_efi_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_mips_yeeloong_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_sparc64_ieee1275_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x 10_windows + +@COND_HOST_WINDOWS_TRUE@@COND_powerpc_ieee1275_TRUE@10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status +@COND_HOST_WINDOWS_TRUE@@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_WINDOWS_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x 10_windows + +@COND_HOST_HURD_TRUE@@COND_emu_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_emu_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_i386_pc_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_i386_pc_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_i386_efi_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_i386_efi_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_i386_qemu_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_i386_qemu_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_i386_coreboot_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_i386_multiboot_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_i386_ieee1275_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_x86_64_efi_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_mips_yeeloong_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_sparc64_ieee1275_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x 10_hurd + +@COND_HOST_HURD_TRUE@@COND_powerpc_ieee1275_TRUE@10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status +@COND_HOST_HURD_TRUE@@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_HURD_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x 10_hurd + +@COND_HOST_KFREEBSD_TRUE@@COND_emu_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_emu_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_i386_pc_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_i386_pc_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_i386_efi_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_i386_efi_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_i386_qemu_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_i386_qemu_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_i386_coreboot_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_i386_multiboot_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_i386_ieee1275_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_x86_64_efi_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_mips_yeeloong_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_sparc64_ieee1275_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_KFREEBSD_TRUE@@COND_powerpc_ieee1275_TRUE@10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status +@COND_HOST_KFREEBSD_TRUE@@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_KFREEBSD_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x 10_kfreebsd + +@COND_HOST_NETBSD_TRUE@@COND_emu_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_emu_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_i386_pc_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_i386_pc_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_i386_efi_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_i386_efi_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_i386_qemu_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_i386_qemu_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_i386_coreboot_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_i386_multiboot_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_i386_ieee1275_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_x86_64_efi_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_mips_yeeloong_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_sparc64_ieee1275_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_NETBSD_TRUE@@COND_powerpc_ieee1275_TRUE@10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status +@COND_HOST_NETBSD_TRUE@@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_NETBSD_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x 10_netbsd + +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x 10_linux + +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_emu_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_pc_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_efi_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_qemu_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x 20_linux_xen + +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_HOST_LINUX_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x 20_linux_xen + +@COND_emu_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x 30_os-prober + +@COND_i386_pc_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x 30_os-prober + +@COND_i386_efi_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x 30_os-prober + +@COND_i386_qemu_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x 30_os-prober + +@COND_i386_coreboot_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x 30_os-prober + +@COND_i386_multiboot_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x 30_os-prober + +@COND_i386_ieee1275_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x 30_os-prober + +@COND_x86_64_efi_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x 30_os-prober + +@COND_mips_yeeloong_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x 30_os-prober + +@COND_sparc64_ieee1275_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x 30_os-prober + +@COND_powerpc_ieee1275_TRUE@30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x 30_os-prober + +@COND_emu_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x 40_custom + +@COND_i386_pc_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x 40_custom + +@COND_i386_efi_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x 40_custom + +@COND_i386_qemu_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x 40_custom + +@COND_i386_coreboot_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x 40_custom + +@COND_i386_multiboot_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x 40_custom + +@COND_i386_ieee1275_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x 40_custom + +@COND_x86_64_efi_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x 40_custom + +@COND_mips_yeeloong_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x 40_custom + +@COND_sparc64_ieee1275_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x 40_custom + +@COND_powerpc_ieee1275_TRUE@40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x 40_custom + +@COND_emu_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x 41_custom + +@COND_i386_pc_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x 41_custom + +@COND_i386_efi_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x 41_custom + +@COND_i386_qemu_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x 41_custom + +@COND_i386_coreboot_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x 41_custom + +@COND_i386_multiboot_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x 41_custom + +@COND_i386_ieee1275_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x 41_custom + +@COND_x86_64_efi_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x 41_custom + +@COND_mips_yeeloong_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x 41_custom + +@COND_sparc64_ieee1275_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x 41_custom + +@COND_powerpc_ieee1275_TRUE@41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x 41_custom + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_i386_pc_TRUE@grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_i386_efi_TRUE@grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_i386_qemu_TRUE@grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_i386_coreboot_TRUE@grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_i386_multiboot_TRUE@grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_x86_64_efi_TRUE@grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkrescue.1: grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkrescue +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +@COND_powerpc_ieee1275_TRUE@grub-mkrescue: util/powerpc/ieee1275/grub-mkrescue.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkrescue + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_i386_pc_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_i386_efi_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_i386_qemu_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_i386_coreboot_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_i386_multiboot_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_i386_ieee1275_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_x86_64_efi_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_mips_yeeloong_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_sparc64_ieee1275_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-install.8: grub-install +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-install +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +@COND_powerpc_ieee1275_TRUE@grub-install: util/grub-install.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-install + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_emu_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_i386_pc_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_i386_efi_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_i386_qemu_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_i386_coreboot_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_i386_multiboot_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_i386_ieee1275_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_x86_64_efi_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_mips_yeeloong_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_sparc64_ieee1275_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mknetdir.8: grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mknetdir +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +@COND_powerpc_ieee1275_TRUE@grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mknetdir + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_emu_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_i386_pc_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_i386_efi_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_i386_qemu_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_i386_coreboot_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_i386_multiboot_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_i386_ieee1275_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_x86_64_efi_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_mips_yeeloong_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_sparc64_ieee1275_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-mkconfig.8: grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkconfig +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +@COND_powerpc_ieee1275_TRUE@grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkconfig + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_emu_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_i386_pc_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_i386_efi_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_i386_qemu_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_i386_coreboot_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_i386_multiboot_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_i386_ieee1275_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_x86_64_efi_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_mips_yeeloong_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_sparc64_ieee1275_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-set-default.8: grub-set-default +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-set-default +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +@COND_powerpc_ieee1275_TRUE@grub-set-default: util/grub-set-default.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-set-default + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_emu_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_pc_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_i386_pc_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_i386_efi_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_qemu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_i386_qemu_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_coreboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_i386_coreboot_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_multiboot_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_i386_multiboot_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_i386_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_i386_ieee1275_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_x86_64_efi_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_x86_64_efi_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_mips_yeeloong_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_mips_yeeloong_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_sparc64_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_sparc64_ieee1275_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-reboot + +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@grub-reboot.8: grub-reboot +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-reboot +@COND_MAN_PAGES_TRUE@@COND_powerpc_ieee1275_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +@COND_powerpc_ieee1275_TRUE@grub-reboot: util/grub-reboot.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-reboot + +@COND_emu_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_i386_pc_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_i386_efi_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_i386_qemu_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_i386_coreboot_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_i386_multiboot_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_i386_ieee1275_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_x86_64_efi_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_mips_yeeloong_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_sparc64_ieee1275_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_powerpc_ieee1275_TRUE@grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-mkconfig_lib + +@COND_emu_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x update-grub_lib + +@COND_i386_pc_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x update-grub_lib + +@COND_i386_efi_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x update-grub_lib + +@COND_i386_qemu_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x update-grub_lib + +@COND_i386_coreboot_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x update-grub_lib + +@COND_i386_multiboot_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x update-grub_lib + +@COND_i386_ieee1275_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x update-grub_lib + +@COND_x86_64_efi_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x update-grub_lib + +@COND_mips_yeeloong_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x update-grub_lib + +@COND_sparc64_ieee1275_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x update-grub_lib + +@COND_powerpc_ieee1275_TRUE@update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x update-grub_lib + +@COND_emu_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-kbdcomp + +@COND_i386_pc_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-kbdcomp + +@COND_i386_efi_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-kbdcomp + +@COND_i386_qemu_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-kbdcomp + +@COND_i386_coreboot_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-kbdcomp + +@COND_i386_multiboot_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-kbdcomp + +@COND_i386_ieee1275_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-kbdcomp + +@COND_x86_64_efi_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-kbdcomp + +@COND_mips_yeeloong_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-kbdcomp + +@COND_sparc64_ieee1275_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-kbdcomp + +@COND_powerpc_ieee1275_TRUE@grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-kbdcomp + +@COND_emu_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-shell + +@COND_i386_pc_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-shell + +@COND_i386_efi_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-shell + +@COND_i386_qemu_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-shell + +@COND_i386_coreboot_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-shell + +@COND_i386_multiboot_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-shell + +@COND_i386_ieee1275_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-shell + +@COND_x86_64_efi_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-shell + +@COND_mips_yeeloong_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-shell + +@COND_sparc64_ieee1275_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-shell + +@COND_powerpc_ieee1275_TRUE@grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-shell + +@COND_emu_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub-shell-tester + +@COND_i386_pc_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub-shell-tester + +@COND_i386_efi_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub-shell-tester + +@COND_i386_qemu_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub-shell-tester + +@COND_i386_coreboot_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub-shell-tester + +@COND_i386_multiboot_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub-shell-tester + +@COND_i386_ieee1275_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub-shell-tester + +@COND_x86_64_efi_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub-shell-tester + +@COND_mips_yeeloong_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub-shell-tester + +@COND_sparc64_ieee1275_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub-shell-tester + +@COND_powerpc_ieee1275_TRUE@grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub-shell-tester + +@COND_emu_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x example_scripted_test + +@COND_i386_pc_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x example_scripted_test + +@COND_i386_efi_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x example_scripted_test + +@COND_i386_qemu_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x example_scripted_test + +@COND_i386_coreboot_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x example_scripted_test + +@COND_i386_multiboot_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x example_scripted_test + +@COND_i386_ieee1275_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x example_scripted_test + +@COND_x86_64_efi_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x example_scripted_test + +@COND_mips_yeeloong_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x example_scripted_test + +@COND_sparc64_ieee1275_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x example_scripted_test + +@COND_powerpc_ieee1275_TRUE@example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x example_scripted_test + +@COND_emu_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x example_grub_script_test + +@COND_i386_pc_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x example_grub_script_test + +@COND_i386_efi_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x example_grub_script_test + +@COND_i386_qemu_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x example_grub_script_test + +@COND_i386_coreboot_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x example_grub_script_test + +@COND_i386_multiboot_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x example_grub_script_test + +@COND_i386_ieee1275_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x example_grub_script_test + +@COND_x86_64_efi_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x example_grub_script_test + +@COND_mips_yeeloong_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x example_grub_script_test + +@COND_sparc64_ieee1275_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x example_grub_script_test + +@COND_powerpc_ieee1275_TRUE@example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x example_grub_script_test + +@COND_emu_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_echo1 + +@COND_i386_pc_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_echo1 + +@COND_i386_efi_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_echo1 + +@COND_i386_qemu_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_echo1 + +@COND_i386_coreboot_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_echo1 + +@COND_i386_multiboot_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_echo1 + +@COND_i386_ieee1275_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_echo1 + +@COND_x86_64_efi_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_echo1 + +@COND_mips_yeeloong_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_echo1 + +@COND_sparc64_ieee1275_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_echo1 + +@COND_powerpc_ieee1275_TRUE@grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_echo1 + +@COND_emu_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_i386_pc_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_i386_efi_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_i386_qemu_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_i386_coreboot_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_i386_multiboot_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_i386_ieee1275_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_x86_64_efi_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_mips_yeeloong_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_sparc64_ieee1275_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_powerpc_ieee1275_TRUE@grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_echo_keywords + +@COND_emu_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_vars1 + +@COND_i386_pc_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_vars1 + +@COND_i386_efi_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_vars1 + +@COND_i386_qemu_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_vars1 + +@COND_i386_coreboot_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_vars1 + +@COND_i386_multiboot_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_vars1 + +@COND_i386_ieee1275_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_vars1 + +@COND_x86_64_efi_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_vars1 + +@COND_mips_yeeloong_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_vars1 + +@COND_sparc64_ieee1275_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_vars1 + +@COND_powerpc_ieee1275_TRUE@grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_vars1 + +@COND_emu_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_for1 + +@COND_i386_pc_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_for1 + +@COND_i386_efi_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_for1 + +@COND_i386_qemu_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_for1 + +@COND_i386_coreboot_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_for1 + +@COND_i386_multiboot_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_for1 + +@COND_i386_ieee1275_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_for1 + +@COND_x86_64_efi_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_for1 + +@COND_mips_yeeloong_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_for1 + +@COND_sparc64_ieee1275_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_for1 + +@COND_powerpc_ieee1275_TRUE@grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_for1 + +@COND_emu_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_while1 + +@COND_i386_pc_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_while1 + +@COND_i386_efi_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_while1 + +@COND_i386_qemu_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_while1 + +@COND_i386_coreboot_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_while1 + +@COND_i386_multiboot_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_while1 + +@COND_i386_ieee1275_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_while1 + +@COND_x86_64_efi_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_while1 + +@COND_mips_yeeloong_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_while1 + +@COND_sparc64_ieee1275_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_while1 + +@COND_powerpc_ieee1275_TRUE@grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_while1 + +@COND_emu_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_if + +@COND_i386_pc_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_if + +@COND_i386_efi_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_if + +@COND_i386_qemu_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_if + +@COND_i386_coreboot_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_if + +@COND_i386_multiboot_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_if + +@COND_i386_ieee1275_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_if + +@COND_x86_64_efi_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_if + +@COND_mips_yeeloong_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_if + +@COND_sparc64_ieee1275_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_if + +@COND_powerpc_ieee1275_TRUE@grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_if + +@COND_emu_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_blanklines + +@COND_i386_pc_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_blanklines + +@COND_i386_efi_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_blanklines + +@COND_i386_qemu_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_blanklines + +@COND_i386_coreboot_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_blanklines + +@COND_i386_multiboot_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_blanklines + +@COND_i386_ieee1275_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_blanklines + +@COND_x86_64_efi_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_blanklines + +@COND_mips_yeeloong_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_blanklines + +@COND_sparc64_ieee1275_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_blanklines + +@COND_powerpc_ieee1275_TRUE@grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_blanklines + +@COND_emu_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_i386_pc_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_i386_efi_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_i386_qemu_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_i386_coreboot_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_i386_multiboot_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_i386_ieee1275_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_x86_64_efi_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_mips_yeeloong_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_sparc64_ieee1275_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_powerpc_ieee1275_TRUE@grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_final_semicolon + +@COND_emu_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_dollar + +@COND_i386_pc_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_dollar + +@COND_i386_efi_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_dollar + +@COND_i386_qemu_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_dollar + +@COND_i386_coreboot_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_dollar + +@COND_i386_multiboot_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_dollar + +@COND_i386_ieee1275_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_dollar + +@COND_x86_64_efi_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_dollar + +@COND_mips_yeeloong_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_dollar + +@COND_sparc64_ieee1275_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_dollar + +@COND_powerpc_ieee1275_TRUE@grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_dollar + +@COND_emu_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_comments + +@COND_i386_pc_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_comments + +@COND_i386_efi_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_comments + +@COND_i386_qemu_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_comments + +@COND_i386_coreboot_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_comments + +@COND_i386_multiboot_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_comments + +@COND_i386_ieee1275_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_comments + +@COND_x86_64_efi_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_comments + +@COND_mips_yeeloong_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_comments + +@COND_sparc64_ieee1275_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_comments + +@COND_powerpc_ieee1275_TRUE@grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_comments + +@COND_emu_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_functions + +@COND_i386_pc_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_functions + +@COND_i386_efi_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_functions + +@COND_i386_qemu_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_functions + +@COND_i386_coreboot_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_functions + +@COND_i386_multiboot_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_functions + +@COND_i386_ieee1275_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_functions + +@COND_x86_64_efi_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_functions + +@COND_mips_yeeloong_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_functions + +@COND_sparc64_ieee1275_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_functions + +@COND_powerpc_ieee1275_TRUE@grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_functions + +@COND_emu_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_break + +@COND_i386_pc_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_break + +@COND_i386_efi_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_break + +@COND_i386_qemu_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_break + +@COND_i386_coreboot_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_break + +@COND_i386_multiboot_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_break + +@COND_i386_ieee1275_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_break + +@COND_x86_64_efi_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_break + +@COND_mips_yeeloong_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_break + +@COND_sparc64_ieee1275_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_break + +@COND_powerpc_ieee1275_TRUE@grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_break + +@COND_emu_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_continue + +@COND_i386_pc_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_continue + +@COND_i386_efi_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_continue + +@COND_i386_qemu_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_continue + +@COND_i386_coreboot_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_continue + +@COND_i386_multiboot_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_continue + +@COND_i386_ieee1275_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_continue + +@COND_x86_64_efi_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_continue + +@COND_mips_yeeloong_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_continue + +@COND_sparc64_ieee1275_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_continue + +@COND_powerpc_ieee1275_TRUE@grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_continue + +@COND_emu_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_shift + +@COND_i386_pc_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_shift + +@COND_i386_efi_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_shift + +@COND_i386_qemu_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_shift + +@COND_i386_coreboot_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_shift + +@COND_i386_multiboot_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_shift + +@COND_i386_ieee1275_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_shift + +@COND_x86_64_efi_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_shift + +@COND_mips_yeeloong_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_shift + +@COND_sparc64_ieee1275_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_shift + +@COND_powerpc_ieee1275_TRUE@grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_shift + +@COND_emu_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_blockarg + +@COND_i386_pc_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_blockarg + +@COND_i386_efi_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_blockarg + +@COND_i386_qemu_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_blockarg + +@COND_i386_coreboot_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_blockarg + +@COND_i386_multiboot_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_blockarg + +@COND_i386_ieee1275_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_blockarg + +@COND_x86_64_efi_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_blockarg + +@COND_mips_yeeloong_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_blockarg + +@COND_sparc64_ieee1275_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_blockarg + +@COND_powerpc_ieee1275_TRUE@grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_blockarg + +@COND_emu_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_setparams + +@COND_i386_pc_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_setparams + +@COND_i386_efi_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_setparams + +@COND_i386_qemu_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_setparams + +@COND_i386_coreboot_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_setparams + +@COND_i386_multiboot_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_setparams + +@COND_i386_ieee1275_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_setparams + +@COND_x86_64_efi_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_setparams + +@COND_mips_yeeloong_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_setparams + +@COND_sparc64_ieee1275_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_setparams + +@COND_powerpc_ieee1275_TRUE@grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_setparams + +@COND_emu_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_return + +@COND_i386_pc_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_return + +@COND_i386_efi_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_return + +@COND_i386_qemu_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_return + +@COND_i386_coreboot_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_return + +@COND_i386_multiboot_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_return + +@COND_i386_ieee1275_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_return + +@COND_x86_64_efi_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_return + +@COND_mips_yeeloong_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_return + +@COND_sparc64_ieee1275_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_return + +@COND_powerpc_ieee1275_TRUE@grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_return + +@COND_emu_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_cmd_regexp + +@COND_i386_pc_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_cmd_regexp + +@COND_i386_efi_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_cmd_regexp + +@COND_i386_qemu_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_cmd_regexp + +@COND_i386_coreboot_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_cmd_regexp + +@COND_i386_multiboot_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_cmd_regexp + +@COND_i386_ieee1275_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_cmd_regexp + +@COND_x86_64_efi_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_cmd_regexp + +@COND_mips_yeeloong_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_cmd_regexp + +@COND_sparc64_ieee1275_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_cmd_regexp + +@COND_powerpc_ieee1275_TRUE@grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_cmd_regexp + +@COND_emu_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_expansion + +@COND_i386_pc_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_expansion + +@COND_i386_efi_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_expansion + +@COND_i386_qemu_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_expansion + +@COND_i386_coreboot_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_expansion + +@COND_i386_multiboot_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_expansion + +@COND_i386_ieee1275_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_expansion + +@COND_x86_64_efi_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_expansion + +@COND_mips_yeeloong_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_expansion + +@COND_sparc64_ieee1275_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_expansion + +@COND_powerpc_ieee1275_TRUE@grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_expansion + +@COND_emu_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_script_not + +@COND_i386_pc_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_script_not + +@COND_i386_efi_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_script_not + +@COND_i386_qemu_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_script_not + +@COND_i386_coreboot_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_script_not + +@COND_i386_multiboot_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_script_not + +@COND_i386_ieee1275_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_script_not + +@COND_x86_64_efi_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_script_not + +@COND_mips_yeeloong_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_script_not + +@COND_sparc64_ieee1275_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_script_not + +@COND_powerpc_ieee1275_TRUE@grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_script_not + +@COND_emu_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x partmap_test + +@COND_i386_pc_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x partmap_test + +@COND_i386_efi_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x partmap_test + +@COND_i386_qemu_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x partmap_test + +@COND_i386_coreboot_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x partmap_test + +@COND_i386_multiboot_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x partmap_test + +@COND_i386_ieee1275_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x partmap_test + +@COND_x86_64_efi_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x partmap_test + +@COND_mips_yeeloong_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x partmap_test + +@COND_sparc64_ieee1275_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x partmap_test + +@COND_powerpc_ieee1275_TRUE@partmap_test: tests/partmap_test.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x partmap_test + +@COND_emu_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x grub_cmd_echo + +@COND_i386_pc_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x grub_cmd_echo + +@COND_i386_efi_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x grub_cmd_echo + +@COND_i386_qemu_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x grub_cmd_echo + +@COND_i386_coreboot_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x grub_cmd_echo + +@COND_i386_multiboot_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x grub_cmd_echo + +@COND_i386_ieee1275_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x grub_cmd_echo + +@COND_x86_64_efi_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x grub_cmd_echo + +@COND_mips_yeeloong_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x grub_cmd_echo + +@COND_sparc64_ieee1275_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x grub_cmd_echo + +@COND_powerpc_ieee1275_TRUE@grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x grub_cmd_echo + +# XXX Use Automake's LEX & YACC support +grub_script.tab.h: $(top_srcdir)/grub-core/script/parser.y + $(YACC) -d -p grub_script_yy -b grub_script $(top_srcdir)/grub-core/script/parser.y +grub_script.tab.c: grub_script.tab.h + +# For the lexer. +grub_script.yy.h: $(top_srcdir)/grub-core/script/yylex.l + $(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $(top_srcdir)/grub-core/script/yylex.l +grub_script.yy.c: grub_script.yy.h + +# For libgrub.a +libgrub.pp: grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) + +libgrub_a_init.lst: libgrub.pp + cat $< | grep '@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) + +libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh + sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) + +# For grub-fstest +grub_fstest.pp: $(grub_fstest_SOURCES) + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) + +grub_fstest_init.lst: libgrub.pp grub_fstest.pp + cat $^ | grep '@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) + +grub_fstest_init.c: grub_fstest_init.lst $(top_srcdir)/geninit.sh + sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) + +unicode.pf2: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont -o $@ $(FONT_SOURCE) + +ascii.pf2: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont -o $@ $(FONT_SOURCE) -r 0x0-0x7f,$(UNICODE_ARROWS),$(UNICODE_LINES) + +euro.pf2: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont -o $@ $(FONT_SOURCE) -r 0x0-0x4ff,0x1e00-0x1fff,$(UNICODE_ARROWS),$(UNICODE_LINES) + +ascii.bitmaps: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont --ascii-bitmaps -o $@ $(FONT_SOURCE) + +ascii.h: ascii.bitmaps grub-bin2h + $(builddir)/grub-bin2h ascii_bitmaps < $< > $@ + +widthspec.bin: $(FONT_SOURCE) grub-mkfont + $(builddir)/grub-mkfont --width-spec -o $@ $(FONT_SOURCE) + +widthspec.h: widthspec.bin grub-bin2h + $(builddir)/grub-bin2h widthspec < $< > $@ + +linux.init.x86_64: $(srcdir)/grub-core/tests/boot/linux.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +linux.init.i386: $(srcdir)/grub-core/tests/boot/linux.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +multiboot.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -DTARGET_MULTIBOOT=1 -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include + +kfreebsd.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include + +kfreebsd.aout: kfreebsd.elf + $(OBJCOPY) -O a.out-i386-linux $< $@ -R .note.gnu.build-id + +pc-chainloader.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S + $(TARGET_CC) -o $@ $< -DTARGET_CHAINLOADER=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x7c00 -m32 + +pc-chainloader.bin: pc-chainloader.elf + $(OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; + +ntldr.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S + $(TARGET_CC) -o $@ $< -DTARGET_NTLDR=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0 -m32 + +ntldr.bin: ntldr.elf + $(OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; + +multiboot2.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S + $(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include -DTARGET_MULTIBOOT2=1 + +kfreebsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kfreebsd.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ + +kfreebsd.init.i386: $(srcdir)/grub-core/tests/boot/kfreebsd.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ + +knetbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DTARGET_NETBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +kopenbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S + $(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DTARGET_OPENBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +knetbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -DTARGET_NETBSD=1 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +kopenbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S + $(TARGET_CC) -o $@ $< -m64 -DTARGET_OPENBSD=1 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" + +linux-initramfs.i386: linux.init.i386 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR + +linux-initramfs.x86_64: linux.init.x86_64 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR + +kfreebsd-mfsroot.i386.img: kfreebsd.init.i386 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +knetbsd.image.i386: knetbsd.init.i386 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +kopenbsd.image.i386: kopenbsd.init.i386 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ + +kopenbsd.image.x86_64: kopenbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ + +knetbsd.miniroot-image.i386.img: knetbsd.image.i386 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 + $(OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 $@ + +kfreebsd-mfsroot.x86_64.img: kfreebsd.init.x86_64 Makefile + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +knetbsd.image.x86_64: knetbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt + TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR + +knetbsd.miniroot-image.x86_64.img: knetbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 + $(OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 $@ + +kfreebsd-mfsroot.i386.gz: kfreebsd-mfsroot.i386.img + gzip < $< > $@ + +bootcheck-kfreebsd-i386: kfreebsd-mfsroot.i386.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.i386 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/mfsroot.gz=kfreebsd-mfsroot.i386.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.i386 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +kfreebsd-mfsroot.x86_64.gz: kfreebsd-mfsroot.x86_64.img + gzip < $< > $@ + +bootcheck-kfreebsd-x86_64: kfreebsd-mfsroot.x86_64.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/mfsroot.gz=kfreebsd-mfsroot.x86_64.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +knetbsd.miniroot-image.i386.gz: knetbsd.miniroot-image.i386.img + gzip < $< > $@ + +bootcheck-knetbsd-i386: knetbsd.miniroot-image.i386.gz $(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/miniroot.gz=knetbsd.miniroot-image.i386.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-kopenbsd-i386: kopenbsd.image.i386 $(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/ramdisk=kopenbsd.image.i386 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-kopenbsd-x86_64: kopenbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/ramdisk=kopenbsd.image.x86_64 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +knetbsd.miniroot-image.x86_64.gz: knetbsd.miniroot-image.x86_64.img + gzip < $< > $@ + +bootcheck-knetbsd-x86_64: knetbsd.miniroot-image.x86_64.gz $(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/miniroot.gz=knetbsd.miniroot-image.x86_64.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux16-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-linux16-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-multiboot: multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/multiboot.elf=multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-multiboot2: multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/multiboot2.elf=multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-kfreebsd-aout: kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/kfreebsd.aout=kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-pc-chainloader: pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/pc-chainloader.bin=pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +bootcheck-ntldr: ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg grub-shell + timeout -s KILL $(BOOTCHECK_TIMEOUT) ./grub-shell --qemu-opts="$(GRUB_QEMU_OPTS)" --boot=$(BOOTTARGET) --qemu=$(QEMU32) --files=/ntldr.bin=ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null + +.PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \ + bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \ + bootcheck-knetbsd-i386 bootcheck-knetbsd-x86_64 + +bootcheck: $(BOOTCHECKS) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Makefile.tpl b/Makefile.tpl new file mode 100644 index 0000000..a7d7a88 --- /dev/null +++ b/Makefile.tpl @@ -0,0 +1,40657 @@ +[+ AutoGen5 template +] + +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR module +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.module | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].module +MODULE_FILES += [+ name +].module$(EXEEXT) +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] ## platform sources +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +MOD_FILES += [+ name +].mod +MARKER_FILES += [+ name +].marker +CLEANFILES += [+ name +].marker + +[+ name +].marker: $([+ % name `echo $cname` +]_SOURCES) $(nodist_[+ % name `echo $cname` +]_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $([+ % name `echo $cname` +]_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR kernel +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF emu_startup +][+ FOR emu_startup +][+ .emu_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF emu_stripflags +][+ FOR emu_stripflags +][+ .emu_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "emu" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_startup +][+ FOR i386_pc_startup +][+ .i386_pc_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_pc_stripflags +][+ FOR i386_pc_stripflags +][+ .i386_pc_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_pc" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_startup +][+ FOR i386_efi_startup +][+ .i386_efi_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_efi_stripflags +][+ FOR i386_efi_stripflags +][+ .i386_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_efi" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_startup +][+ FOR i386_qemu_startup +][+ .i386_qemu_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_qemu_stripflags +][+ FOR i386_qemu_stripflags +][+ .i386_qemu_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_qemu" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_startup +][+ FOR i386_coreboot_startup +][+ .i386_coreboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_coreboot_stripflags +][+ FOR i386_coreboot_stripflags +][+ .i386_coreboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_coreboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_startup +][+ FOR i386_multiboot_startup +][+ .i386_multiboot_startup +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_startup +][+ FOR i386_coreboot_multiboot_qemu_startup +][+ .i386_coreboot_multiboot_qemu_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_multiboot_stripflags +][+ FOR i386_multiboot_stripflags +][+ .i386_multiboot_stripflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_stripflags +][+ FOR i386_coreboot_multiboot_qemu_stripflags +][+ .i386_coreboot_multiboot_qemu_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_multiboot" +]cp $< $@[+ = "i386_coreboot_multiboot_qemu" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_startup +][+ FOR i386_ieee1275_startup +][+ .i386_ieee1275_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF i386_startup +][+ FOR i386_startup +][+ .i386_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF i386_ieee1275_stripflags +][+ FOR i386_ieee1275_stripflags +][+ .i386_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF i386_stripflags +][+ FOR i386_stripflags +][+ .i386_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "i386_ieee1275" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "i386" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_startup +][+ FOR x86_64_efi_startup +][+ .x86_64_efi_startup +] [+ ENDFOR +][+ ELIF x86_64_startup +][+ FOR x86_64_startup +][+ .x86_64_startup +] [+ ENDFOR +][+ ELIF x86_efi_startup +][+ FOR x86_efi_startup +][+ .x86_efi_startup +] [+ ENDFOR +][+ ELIF terminfomodule_startup +][+ FOR terminfomodule_startup +][+ .terminfomodule_startup +] [+ ENDFOR +][+ ELIF x86_startup +][+ FOR x86_startup +][+ .x86_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF x86_64_efi_stripflags +][+ FOR x86_64_efi_stripflags +][+ .x86_64_efi_stripflags +] [+ ENDFOR +][+ ELIF x86_64_stripflags +][+ FOR x86_64_stripflags +][+ .x86_64_stripflags +] [+ ENDFOR +][+ ELIF x86_efi_stripflags +][+ FOR x86_efi_stripflags +][+ .x86_efi_stripflags +] [+ ENDFOR +][+ ELIF terminfomodule_stripflags +][+ FOR terminfomodule_stripflags +][+ .terminfomodule_stripflags +] [+ ENDFOR +][+ ELIF x86_stripflags +][+ FOR x86_stripflags +][+ .x86_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "x86_64_efi" +]cp $< $@[+ = "x86_64" +]cp $< $@[+ = "x86_efi" +]cp $< $@[+ = "terminfomodule" +]cp $< $@[+ = "x86" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_startup +][+ FOR mips_yeeloong_startup +][+ .mips_yeeloong_startup +] [+ ENDFOR +][+ ELIF videoinkernel_startup +][+ FOR videoinkernel_startup +][+ .videoinkernel_startup +] [+ ENDFOR +][+ ELIF mips_startup +][+ FOR mips_startup +][+ .mips_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF cmos_startup +][+ FOR cmos_startup +][+ .cmos_startup +] [+ ENDFOR +][+ ELIF usb_startup +][+ FOR usb_startup +][+ .usb_startup +] [+ ENDFOR +][+ ELIF pci_startup +][+ FOR pci_startup +][+ .pci_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF mips_yeeloong_stripflags +][+ FOR mips_yeeloong_stripflags +][+ .mips_yeeloong_stripflags +] [+ ENDFOR +][+ ELIF videoinkernel_stripflags +][+ FOR videoinkernel_stripflags +][+ .videoinkernel_stripflags +] [+ ENDFOR +][+ ELIF mips_stripflags +][+ FOR mips_stripflags +][+ .mips_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF cmos_stripflags +][+ FOR cmos_stripflags +][+ .cmos_stripflags +] [+ ENDFOR +][+ ELIF usb_stripflags +][+ FOR usb_stripflags +][+ .usb_stripflags +] [+ ENDFOR +][+ ELIF pci_stripflags +][+ FOR pci_stripflags +][+ .pci_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "mips_yeeloong" +]cp $< $@[+ = "videoinkernel" +]cp $< $@[+ = "mips" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "cmos" +]cp $< $@[+ = "usb" +]cp $< $@[+ = "pci" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_startup +][+ FOR sparc64_ieee1275_startup +][+ .sparc64_ieee1275_startup +] [+ ENDFOR +][+ ELIF sparc64_startup +][+ FOR sparc64_startup +][+ .sparc64_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF sparc64_ieee1275_stripflags +][+ FOR sparc64_ieee1275_stripflags +][+ .sparc64_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF sparc64_stripflags +][+ FOR sparc64_stripflags +][+ .sparc64_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "sparc64_ieee1275" +]cp $< $@[+ = "sparc64" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.exec | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].exec +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_startup +][+ FOR powerpc_ieee1275_startup +][+ .powerpc_ieee1275_startup +] [+ ENDFOR +][+ ELIF powerpc_startup +][+ FOR powerpc_startup +][+ .powerpc_startup +] [+ ENDFOR +][+ ELIF ieee1275_startup +][+ FOR ieee1275_startup +][+ .ieee1275_startup +] [+ ENDFOR +][+ ELIF terminfoinkernel_startup +][+ FOR terminfoinkernel_startup +][+ .terminfoinkernel_startup +] [+ ENDFOR +][+ ELIF nosparc64_startup +][+ FOR nosparc64_startup +][+ .nosparc64_startup +] [+ ENDFOR +][+ ELIF nopc_startup +][+ FOR nopc_startup +][+ .nopc_startup +] [+ ENDFOR +][+ ELIF noemu_startup +][+ FOR noemu_startup +][+ .noemu_startup +] [+ ENDFOR +][+ ELIF videomodules_startup +][+ FOR videomodules_startup +][+ .videomodules_startup +] [+ ENDFOR +][+ ELIF common_startup +][+ FOR common_startup +][+ .common_startup +] [+ ENDFOR +][+ ELSE +][+ FOR startup +][+ .startup +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] ## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) [+ IF powerpc_ieee1275_stripflags +][+ FOR powerpc_ieee1275_stripflags +][+ .powerpc_ieee1275_stripflags +] [+ ENDFOR +][+ ELIF powerpc_stripflags +][+ FOR powerpc_stripflags +][+ .powerpc_stripflags +] [+ ENDFOR +][+ ELIF ieee1275_stripflags +][+ FOR ieee1275_stripflags +][+ .ieee1275_stripflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_stripflags +][+ FOR terminfoinkernel_stripflags +][+ .terminfoinkernel_stripflags +] [+ ENDFOR +][+ ELIF nosparc64_stripflags +][+ FOR nosparc64_stripflags +][+ .nosparc64_stripflags +] [+ ENDFOR +][+ ELIF nopc_stripflags +][+ FOR nopc_stripflags +][+ .nopc_stripflags +] [+ ENDFOR +][+ ELIF noemu_stripflags +][+ FOR noemu_stripflags +][+ .noemu_stripflags +] [+ ENDFOR +][+ ELIF videomodules_stripflags +][+ FOR videomodules_stripflags +][+ .videomodules_stripflags +] [+ ENDFOR +][+ ELIF common_stripflags +][+ FOR common_stripflags +][+ .common_stripflags +] [+ ENDFOR +][+ ELSE +][+ FOR stripflags +][+ .stripflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].exec$(EXEEXT) + [+ IF nostrip defined +][+ FOR nostrip +][+ CASE nostrip +][+ = "powerpc_ieee1275" +]cp $< $@[+ = "powerpc" +]cp $< $@[+ = "ieee1275" +]cp $< $@[+ = "terminfoinkernel" +]cp $< $@[+ = "nosparc64" +]cp $< $@[+ = "nopc" +]cp $< $@[+ = "noemu" +]cp $< $@[+ = "videomodules" +]cp $< $@[+ = "common" +]cp $< $@[+ * +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ESAC +][+ ENDFOR +][+ ELSE +]$(STRIP) $([+ % name `echo $cname` +]_STRIPFLAGS) -o $@ $<[+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR image +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF emu_objcopyflags +][+ FOR emu_objcopyflags +][+ .emu_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_pc_objcopyflags +][+ FOR i386_pc_objcopyflags +][+ .i386_pc_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_efi_objcopyflags +][+ FOR i386_efi_objcopyflags +][+ .i386_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_qemu_objcopyflags +][+ FOR i386_qemu_objcopyflags +][+ .i386_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_coreboot_objcopyflags +][+ FOR i386_coreboot_objcopyflags +][+ .i386_coreboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_multiboot_objcopyflags +][+ FOR i386_multiboot_objcopyflags +][+ .i386_multiboot_objcopyflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_objcopyflags +][+ FOR i386_coreboot_multiboot_qemu_objcopyflags +][+ .i386_coreboot_multiboot_qemu_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF i386_ieee1275_objcopyflags +][+ FOR i386_ieee1275_objcopyflags +][+ .i386_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF i386_objcopyflags +][+ FOR i386_objcopyflags +][+ .i386_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF x86_64_efi_objcopyflags +][+ FOR x86_64_efi_objcopyflags +][+ .x86_64_efi_objcopyflags +] [+ ENDFOR +][+ ELIF x86_64_objcopyflags +][+ FOR x86_64_objcopyflags +][+ .x86_64_objcopyflags +] [+ ENDFOR +][+ ELIF x86_efi_objcopyflags +][+ FOR x86_efi_objcopyflags +][+ .x86_efi_objcopyflags +] [+ ENDFOR +][+ ELIF terminfomodule_objcopyflags +][+ FOR terminfomodule_objcopyflags +][+ .terminfomodule_objcopyflags +] [+ ENDFOR +][+ ELIF x86_objcopyflags +][+ FOR x86_objcopyflags +][+ .x86_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF mips_yeeloong_objcopyflags +][+ FOR mips_yeeloong_objcopyflags +][+ .mips_yeeloong_objcopyflags +] [+ ENDFOR +][+ ELIF videoinkernel_objcopyflags +][+ FOR videoinkernel_objcopyflags +][+ .videoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF mips_objcopyflags +][+ FOR mips_objcopyflags +][+ .mips_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF cmos_objcopyflags +][+ FOR cmos_objcopyflags +][+ .cmos_objcopyflags +] [+ ENDFOR +][+ ELIF usb_objcopyflags +][+ FOR usb_objcopyflags +][+ .usb_objcopyflags +] [+ ENDFOR +][+ ELIF pci_objcopyflags +][+ FOR pci_objcopyflags +][+ .pci_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF sparc64_ieee1275_objcopyflags +][+ FOR sparc64_ieee1275_objcopyflags +][+ .sparc64_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF sparc64_objcopyflags +][+ FOR sparc64_objcopyflags +][+ .sparc64_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s.image | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]noinst_PROGRAMS += [+ name +].image +[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +]## platform nodist sources +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) [+ IF powerpc_ieee1275_objcopyflags +][+ FOR powerpc_ieee1275_objcopyflags +][+ .powerpc_ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF powerpc_objcopyflags +][+ FOR powerpc_objcopyflags +][+ .powerpc_objcopyflags +] [+ ENDFOR +][+ ELIF ieee1275_objcopyflags +][+ FOR ieee1275_objcopyflags +][+ .ieee1275_objcopyflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_objcopyflags +][+ FOR terminfoinkernel_objcopyflags +][+ .terminfoinkernel_objcopyflags +] [+ ENDFOR +][+ ELIF nosparc64_objcopyflags +][+ FOR nosparc64_objcopyflags +][+ .nosparc64_objcopyflags +] [+ ENDFOR +][+ ELIF nopc_objcopyflags +][+ FOR nopc_objcopyflags +][+ .nopc_objcopyflags +] [+ ENDFOR +][+ ELIF noemu_objcopyflags +][+ FOR noemu_objcopyflags +][+ .noemu_objcopyflags +] [+ ENDFOR +][+ ELIF videomodules_objcopyflags +][+ FOR videomodules_objcopyflags +][+ .videomodules_objcopyflags +] [+ ENDFOR +][+ ELIF common_objcopyflags +][+ FOR common_objcopyflags +][+ .common_objcopyflags +] [+ ENDFOR +][+ ELSE +][+ FOR objcopyflags +][+ .objcopyflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +platform_DATA += [+ name +].img +CLEANFILES += [+ name +].img + +[+ name +].img: [+ name +].image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $([+ % name `echo $cname` +]_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR library +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +][+ IF (if (not (assoc-ref seen-vars (get ".name"))) "seen") +][+ (out-suspend "v") +][+ % name `echo $cname` +]_SOURCES = +nodist_[+ % name `echo $cname` +]_SOURCES = +[+ % name `echo $cname` +]_CFLAGS = +[+ % name `echo $cname` +]_CPPFLAGS = +[+ % name `echo $cname` +]_CCASFLAGS = +[+ (out-resume "v") +][+ (set! seen-vars (assoc-set! seen-vars (get ".name") 0)) +][+ ENDIF +][+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]noinst_LIBRARIES += [+ name +] +[+ ENDIF +][+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES += [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CFLAGS) $(CFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS += [+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) [+ ENDIF +][+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF (if (not (assoc-ref seen-target (get ".name"))) "seen") +]CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ ENDIF +][+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR program +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF emu_nodist +][+ FOR emu_nodist +][+ .emu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF emu_ldadd +][+ FOR emu_ldadd +][+ .emu_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF emu_cflags +][+ FOR emu_cflags +][+ .emu_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF emu_ldflags +][+ FOR emu_ldflags +][+ .emu_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF emu_cppflags +][+ FOR emu_cppflags +][+ .emu_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF emu_ccasflags +][+ FOR emu_ccasflags +][+ .emu_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_pc_nodist +][+ FOR i386_pc_nodist +][+ .i386_pc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_pc_ldadd +][+ FOR i386_pc_ldadd +][+ .i386_pc_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_pc_cflags +][+ FOR i386_pc_cflags +][+ .i386_pc_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_pc_ldflags +][+ FOR i386_pc_ldflags +][+ .i386_pc_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_pc_cppflags +][+ FOR i386_pc_cppflags +][+ .i386_pc_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_pc_ccasflags +][+ FOR i386_pc_ccasflags +][+ .i386_pc_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_efi_nodist +][+ FOR i386_efi_nodist +][+ .i386_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_efi_ldadd +][+ FOR i386_efi_ldadd +][+ .i386_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_efi_cflags +][+ FOR i386_efi_cflags +][+ .i386_efi_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_efi_ldflags +][+ FOR i386_efi_ldflags +][+ .i386_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_efi_cppflags +][+ FOR i386_efi_cppflags +][+ .i386_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_efi_ccasflags +][+ FOR i386_efi_ccasflags +][+ .i386_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_qemu_nodist +][+ FOR i386_qemu_nodist +][+ .i386_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_qemu_ldadd +][+ FOR i386_qemu_ldadd +][+ .i386_qemu_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_qemu_cflags +][+ FOR i386_qemu_cflags +][+ .i386_qemu_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_qemu_ldflags +][+ FOR i386_qemu_ldflags +][+ .i386_qemu_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_qemu_cppflags +][+ FOR i386_qemu_cppflags +][+ .i386_qemu_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_qemu_ccasflags +][+ FOR i386_qemu_ccasflags +][+ .i386_qemu_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_coreboot_nodist +][+ FOR i386_coreboot_nodist +][+ .i386_coreboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_coreboot_ldadd +][+ FOR i386_coreboot_ldadd +][+ .i386_coreboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_coreboot_cflags +][+ FOR i386_coreboot_cflags +][+ .i386_coreboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_coreboot_ldflags +][+ FOR i386_coreboot_ldflags +][+ .i386_coreboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_coreboot_cppflags +][+ FOR i386_coreboot_cppflags +][+ .i386_coreboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_coreboot_ccasflags +][+ FOR i386_coreboot_ccasflags +][+ .i386_coreboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_multiboot_nodist +][+ FOR i386_multiboot_nodist +][+ .i386_multiboot_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu_nodist +][+ FOR i386_coreboot_multiboot_qemu_nodist +][+ .i386_coreboot_multiboot_qemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_multiboot_ldadd +][+ FOR i386_multiboot_ldadd +][+ .i386_multiboot_ldadd +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldadd +][+ FOR i386_coreboot_multiboot_qemu_ldadd +][+ .i386_coreboot_multiboot_qemu_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_multiboot_cflags +][+ FOR i386_multiboot_cflags +][+ .i386_multiboot_cflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cflags +][+ FOR i386_coreboot_multiboot_qemu_cflags +][+ .i386_coreboot_multiboot_qemu_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_multiboot_ldflags +][+ FOR i386_multiboot_ldflags +][+ .i386_multiboot_ldflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ldflags +][+ FOR i386_coreboot_multiboot_qemu_ldflags +][+ .i386_coreboot_multiboot_qemu_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_multiboot_cppflags +][+ FOR i386_multiboot_cppflags +][+ .i386_multiboot_cppflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_cppflags +][+ FOR i386_coreboot_multiboot_qemu_cppflags +][+ .i386_coreboot_multiboot_qemu_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_multiboot_ccasflags +][+ FOR i386_multiboot_ccasflags +][+ .i386_multiboot_ccasflags +] [+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_ccasflags +][+ FOR i386_coreboot_multiboot_qemu_ccasflags +][+ .i386_coreboot_multiboot_qemu_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF i386_ieee1275_nodist +][+ FOR i386_ieee1275_nodist +][+ .i386_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF i386_nodist +][+ FOR i386_nodist +][+ .i386_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF i386_ieee1275_ldadd +][+ FOR i386_ieee1275_ldadd +][+ .i386_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF i386_ldadd +][+ FOR i386_ldadd +][+ .i386_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF i386_ieee1275_cflags +][+ FOR i386_ieee1275_cflags +][+ .i386_ieee1275_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF i386_cflags +][+ FOR i386_cflags +][+ .i386_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF i386_ieee1275_ldflags +][+ FOR i386_ieee1275_ldflags +][+ .i386_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF i386_ldflags +][+ FOR i386_ldflags +][+ .i386_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF i386_ieee1275_cppflags +][+ FOR i386_ieee1275_cppflags +][+ .i386_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF i386_cppflags +][+ FOR i386_cppflags +][+ .i386_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF i386_ieee1275_ccasflags +][+ FOR i386_ieee1275_ccasflags +][+ .i386_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF i386_ccasflags +][+ FOR i386_ccasflags +][+ .i386_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF x86_64_efi_nodist +][+ FOR x86_64_efi_nodist +][+ .x86_64_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64_nodist +][+ FOR x86_64_nodist +][+ .x86_64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi_nodist +][+ FOR x86_efi_nodist +][+ .x86_efi_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule_nodist +][+ FOR terminfomodule_nodist +][+ .terminfomodule_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF x86_nodist +][+ FOR x86_nodist +][+ .x86_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF x86_64_efi_ldadd +][+ FOR x86_64_efi_ldadd +][+ .x86_64_efi_ldadd +] [+ ENDFOR +][+ ELIF x86_64_ldadd +][+ FOR x86_64_ldadd +][+ .x86_64_ldadd +] [+ ENDFOR +][+ ELIF x86_efi_ldadd +][+ FOR x86_efi_ldadd +][+ .x86_efi_ldadd +] [+ ENDFOR +][+ ELIF terminfomodule_ldadd +][+ FOR terminfomodule_ldadd +][+ .terminfomodule_ldadd +] [+ ENDFOR +][+ ELIF x86_ldadd +][+ FOR x86_ldadd +][+ .x86_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF x86_64_efi_cflags +][+ FOR x86_64_efi_cflags +][+ .x86_64_efi_cflags +] [+ ENDFOR +][+ ELIF x86_64_cflags +][+ FOR x86_64_cflags +][+ .x86_64_cflags +] [+ ENDFOR +][+ ELIF x86_efi_cflags +][+ FOR x86_efi_cflags +][+ .x86_efi_cflags +] [+ ENDFOR +][+ ELIF terminfomodule_cflags +][+ FOR terminfomodule_cflags +][+ .terminfomodule_cflags +] [+ ENDFOR +][+ ELIF x86_cflags +][+ FOR x86_cflags +][+ .x86_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF x86_64_efi_ldflags +][+ FOR x86_64_efi_ldflags +][+ .x86_64_efi_ldflags +] [+ ENDFOR +][+ ELIF x86_64_ldflags +][+ FOR x86_64_ldflags +][+ .x86_64_ldflags +] [+ ENDFOR +][+ ELIF x86_efi_ldflags +][+ FOR x86_efi_ldflags +][+ .x86_efi_ldflags +] [+ ENDFOR +][+ ELIF terminfomodule_ldflags +][+ FOR terminfomodule_ldflags +][+ .terminfomodule_ldflags +] [+ ENDFOR +][+ ELIF x86_ldflags +][+ FOR x86_ldflags +][+ .x86_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF x86_64_efi_cppflags +][+ FOR x86_64_efi_cppflags +][+ .x86_64_efi_cppflags +] [+ ENDFOR +][+ ELIF x86_64_cppflags +][+ FOR x86_64_cppflags +][+ .x86_64_cppflags +] [+ ENDFOR +][+ ELIF x86_efi_cppflags +][+ FOR x86_efi_cppflags +][+ .x86_efi_cppflags +] [+ ENDFOR +][+ ELIF terminfomodule_cppflags +][+ FOR terminfomodule_cppflags +][+ .terminfomodule_cppflags +] [+ ENDFOR +][+ ELIF x86_cppflags +][+ FOR x86_cppflags +][+ .x86_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF x86_64_efi_ccasflags +][+ FOR x86_64_efi_ccasflags +][+ .x86_64_efi_ccasflags +] [+ ENDFOR +][+ ELIF x86_64_ccasflags +][+ FOR x86_64_ccasflags +][+ .x86_64_ccasflags +] [+ ENDFOR +][+ ELIF x86_efi_ccasflags +][+ FOR x86_efi_ccasflags +][+ .x86_efi_ccasflags +] [+ ENDFOR +][+ ELIF terminfomodule_ccasflags +][+ FOR terminfomodule_ccasflags +][+ .terminfomodule_ccasflags +] [+ ENDFOR +][+ ELIF x86_ccasflags +][+ FOR x86_ccasflags +][+ .x86_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF mips_yeeloong_nodist +][+ FOR mips_yeeloong_nodist +][+ .mips_yeeloong_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel_nodist +][+ FOR videoinkernel_nodist +][+ .videoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF mips_nodist +][+ FOR mips_nodist +][+ .mips_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF cmos_nodist +][+ FOR cmos_nodist +][+ .cmos_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF usb_nodist +][+ FOR usb_nodist +][+ .usb_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF pci_nodist +][+ FOR pci_nodist +][+ .pci_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF mips_yeeloong_ldadd +][+ FOR mips_yeeloong_ldadd +][+ .mips_yeeloong_ldadd +] [+ ENDFOR +][+ ELIF videoinkernel_ldadd +][+ FOR videoinkernel_ldadd +][+ .videoinkernel_ldadd +] [+ ENDFOR +][+ ELIF mips_ldadd +][+ FOR mips_ldadd +][+ .mips_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF cmos_ldadd +][+ FOR cmos_ldadd +][+ .cmos_ldadd +] [+ ENDFOR +][+ ELIF usb_ldadd +][+ FOR usb_ldadd +][+ .usb_ldadd +] [+ ENDFOR +][+ ELIF pci_ldadd +][+ FOR pci_ldadd +][+ .pci_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF mips_yeeloong_cflags +][+ FOR mips_yeeloong_cflags +][+ .mips_yeeloong_cflags +] [+ ENDFOR +][+ ELIF videoinkernel_cflags +][+ FOR videoinkernel_cflags +][+ .videoinkernel_cflags +] [+ ENDFOR +][+ ELIF mips_cflags +][+ FOR mips_cflags +][+ .mips_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF cmos_cflags +][+ FOR cmos_cflags +][+ .cmos_cflags +] [+ ENDFOR +][+ ELIF usb_cflags +][+ FOR usb_cflags +][+ .usb_cflags +] [+ ENDFOR +][+ ELIF pci_cflags +][+ FOR pci_cflags +][+ .pci_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF mips_yeeloong_ldflags +][+ FOR mips_yeeloong_ldflags +][+ .mips_yeeloong_ldflags +] [+ ENDFOR +][+ ELIF videoinkernel_ldflags +][+ FOR videoinkernel_ldflags +][+ .videoinkernel_ldflags +] [+ ENDFOR +][+ ELIF mips_ldflags +][+ FOR mips_ldflags +][+ .mips_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF cmos_ldflags +][+ FOR cmos_ldflags +][+ .cmos_ldflags +] [+ ENDFOR +][+ ELIF usb_ldflags +][+ FOR usb_ldflags +][+ .usb_ldflags +] [+ ENDFOR +][+ ELIF pci_ldflags +][+ FOR pci_ldflags +][+ .pci_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF mips_yeeloong_cppflags +][+ FOR mips_yeeloong_cppflags +][+ .mips_yeeloong_cppflags +] [+ ENDFOR +][+ ELIF videoinkernel_cppflags +][+ FOR videoinkernel_cppflags +][+ .videoinkernel_cppflags +] [+ ENDFOR +][+ ELIF mips_cppflags +][+ FOR mips_cppflags +][+ .mips_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF cmos_cppflags +][+ FOR cmos_cppflags +][+ .cmos_cppflags +] [+ ENDFOR +][+ ELIF usb_cppflags +][+ FOR usb_cppflags +][+ .usb_cppflags +] [+ ENDFOR +][+ ELIF pci_cppflags +][+ FOR pci_cppflags +][+ .pci_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF mips_yeeloong_ccasflags +][+ FOR mips_yeeloong_ccasflags +][+ .mips_yeeloong_ccasflags +] [+ ENDFOR +][+ ELIF videoinkernel_ccasflags +][+ FOR videoinkernel_ccasflags +][+ .videoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF mips_ccasflags +][+ FOR mips_ccasflags +][+ .mips_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF cmos_ccasflags +][+ FOR cmos_ccasflags +][+ .cmos_ccasflags +] [+ ENDFOR +][+ ELIF usb_ccasflags +][+ FOR usb_ccasflags +][+ .usb_ccasflags +] [+ ENDFOR +][+ ELIF pci_ccasflags +][+ FOR pci_ccasflags +][+ .pci_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF sparc64_ieee1275_nodist +][+ FOR sparc64_ieee1275_nodist +][+ .sparc64_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64_nodist +][+ FOR sparc64_nodist +][+ .sparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF sparc64_ieee1275_ldadd +][+ FOR sparc64_ieee1275_ldadd +][+ .sparc64_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF sparc64_ldadd +][+ FOR sparc64_ldadd +][+ .sparc64_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cflags +][+ FOR sparc64_ieee1275_cflags +][+ .sparc64_ieee1275_cflags +] [+ ENDFOR +][+ ELIF sparc64_cflags +][+ FOR sparc64_cflags +][+ .sparc64_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ldflags +][+ FOR sparc64_ieee1275_ldflags +][+ .sparc64_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF sparc64_ldflags +][+ FOR sparc64_ldflags +][+ .sparc64_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF sparc64_ieee1275_cppflags +][+ FOR sparc64_ieee1275_cppflags +][+ .sparc64_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF sparc64_cppflags +][+ FOR sparc64_cppflags +][+ .sparc64_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF sparc64_ieee1275_ccasflags +][+ FOR sparc64_ieee1275_ccasflags +][+ .sparc64_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF sparc64_ccasflags +][+ FOR sparc64_ccasflags +][+ .sparc64_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ % name `export cname=$(echo %s | sed -e 's/[^0-9A-Za-z@_]/_/g')` +][+ IF testcase defined +]check_PROGRAMS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_PROGRAMS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +][+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +nodist_[+ % name `echo $cname` +]_SOURCES = [+ IF powerpc_ieee1275_nodist +][+ FOR powerpc_ieee1275_nodist +][+ .powerpc_ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc_nodist +][+ FOR powerpc_nodist +][+ .powerpc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275_nodist +][+ FOR ieee1275_nodist +][+ .ieee1275_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel_nodist +][+ FOR terminfoinkernel_nodist +][+ .terminfoinkernel_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64_nodist +][+ FOR nosparc64_nodist +][+ .nosparc64_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF nopc_nodist +][+ FOR nopc_nodist +][+ .nopc_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF noemu_nodist +][+ FOR noemu_nodist +][+ .noemu_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules_nodist +][+ FOR videomodules_nodist +][+ .videomodules_nodist +] [+ ENDFOR +][+ ENDIF +][+ IF common_nodist +][+ FOR common_nodist +][+ .common_nodist +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDADD = [+ IF powerpc_ieee1275_ldadd +][+ FOR powerpc_ieee1275_ldadd +][+ .powerpc_ieee1275_ldadd +] [+ ENDFOR +][+ ELIF powerpc_ldadd +][+ FOR powerpc_ldadd +][+ .powerpc_ldadd +] [+ ENDFOR +][+ ELIF ieee1275_ldadd +][+ FOR ieee1275_ldadd +][+ .ieee1275_ldadd +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldadd +][+ FOR terminfoinkernel_ldadd +][+ .terminfoinkernel_ldadd +] [+ ENDFOR +][+ ELIF nosparc64_ldadd +][+ FOR nosparc64_ldadd +][+ .nosparc64_ldadd +] [+ ENDFOR +][+ ELIF nopc_ldadd +][+ FOR nopc_ldadd +][+ .nopc_ldadd +] [+ ENDFOR +][+ ELIF noemu_ldadd +][+ FOR noemu_ldadd +][+ .noemu_ldadd +] [+ ENDFOR +][+ ELIF videomodules_ldadd +][+ FOR videomodules_ldadd +][+ .videomodules_ldadd +] [+ ENDFOR +][+ ELIF common_ldadd +][+ FOR common_ldadd +][+ .common_ldadd +] [+ ENDFOR +][+ ELSE +][+ FOR ldadd +][+ .ldadd +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cflags +][+ FOR powerpc_ieee1275_cflags +][+ .powerpc_ieee1275_cflags +] [+ ENDFOR +][+ ELIF powerpc_cflags +][+ FOR powerpc_cflags +][+ .powerpc_cflags +] [+ ENDFOR +][+ ELIF ieee1275_cflags +][+ FOR ieee1275_cflags +][+ .ieee1275_cflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cflags +][+ FOR terminfoinkernel_cflags +][+ .terminfoinkernel_cflags +] [+ ENDFOR +][+ ELIF nosparc64_cflags +][+ FOR nosparc64_cflags +][+ .nosparc64_cflags +] [+ ENDFOR +][+ ELIF nopc_cflags +][+ FOR nopc_cflags +][+ .nopc_cflags +] [+ ENDFOR +][+ ELIF noemu_cflags +][+ FOR noemu_cflags +][+ .noemu_cflags +] [+ ENDFOR +][+ ELIF videomodules_cflags +][+ FOR videomodules_cflags +][+ .videomodules_cflags +] [+ ENDFOR +][+ ELIF common_cflags +][+ FOR common_cflags +][+ .common_cflags +] [+ ENDFOR +][+ ELSE +][+ FOR cflags +][+ .cflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ldflags +][+ FOR powerpc_ieee1275_ldflags +][+ .powerpc_ieee1275_ldflags +] [+ ENDFOR +][+ ELIF powerpc_ldflags +][+ FOR powerpc_ldflags +][+ .powerpc_ldflags +] [+ ENDFOR +][+ ELIF ieee1275_ldflags +][+ FOR ieee1275_ldflags +][+ .ieee1275_ldflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ldflags +][+ FOR terminfoinkernel_ldflags +][+ .terminfoinkernel_ldflags +] [+ ENDFOR +][+ ELIF nosparc64_ldflags +][+ FOR nosparc64_ldflags +][+ .nosparc64_ldflags +] [+ ENDFOR +][+ ELIF nopc_ldflags +][+ FOR nopc_ldflags +][+ .nopc_ldflags +] [+ ENDFOR +][+ ELIF noemu_ldflags +][+ FOR noemu_ldflags +][+ .noemu_ldflags +] [+ ENDFOR +][+ ELIF videomodules_ldflags +][+ FOR videomodules_ldflags +][+ .videomodules_ldflags +] [+ ENDFOR +][+ ELIF common_ldflags +][+ FOR common_ldflags +][+ .common_ldflags +] [+ ENDFOR +][+ ELSE +][+ FOR ldflags +][+ .ldflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) [+ IF powerpc_ieee1275_cppflags +][+ FOR powerpc_ieee1275_cppflags +][+ .powerpc_ieee1275_cppflags +] [+ ENDFOR +][+ ELIF powerpc_cppflags +][+ FOR powerpc_cppflags +][+ .powerpc_cppflags +] [+ ENDFOR +][+ ELIF ieee1275_cppflags +][+ FOR ieee1275_cppflags +][+ .ieee1275_cppflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_cppflags +][+ FOR terminfoinkernel_cppflags +][+ .terminfoinkernel_cppflags +] [+ ENDFOR +][+ ELIF nosparc64_cppflags +][+ FOR nosparc64_cppflags +][+ .nosparc64_cppflags +] [+ ENDFOR +][+ ELIF nopc_cppflags +][+ FOR nopc_cppflags +][+ .nopc_cppflags +] [+ ENDFOR +][+ ELIF noemu_cppflags +][+ FOR noemu_cppflags +][+ .noemu_cppflags +] [+ ENDFOR +][+ ELIF videomodules_cppflags +][+ FOR videomodules_cppflags +][+ .videomodules_cppflags +] [+ ENDFOR +][+ ELIF common_cppflags +][+ FOR common_cppflags +][+ .common_cppflags +] [+ ENDFOR +][+ ELSE +][+ FOR cppflags +][+ .cppflags +] [+ ENDFOR +][+ ENDIF +] +[+ % name `echo $cname` +]_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) [+ IF powerpc_ieee1275_ccasflags +][+ FOR powerpc_ieee1275_ccasflags +][+ .powerpc_ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF powerpc_ccasflags +][+ FOR powerpc_ccasflags +][+ .powerpc_ccasflags +] [+ ENDFOR +][+ ELIF ieee1275_ccasflags +][+ FOR ieee1275_ccasflags +][+ .ieee1275_ccasflags +] [+ ENDFOR +][+ ELIF terminfoinkernel_ccasflags +][+ FOR terminfoinkernel_ccasflags +][+ .terminfoinkernel_ccasflags +] [+ ENDFOR +][+ ELIF nosparc64_ccasflags +][+ FOR nosparc64_ccasflags +][+ .nosparc64_ccasflags +] [+ ENDFOR +][+ ELIF nopc_ccasflags +][+ FOR nopc_ccasflags +][+ .nopc_ccasflags +] [+ ENDFOR +][+ ELIF noemu_ccasflags +][+ FOR noemu_ccasflags +][+ .noemu_ccasflags +] [+ ENDFOR +][+ ELIF videomodules_ccasflags +][+ FOR videomodules_ccasflags +][+ .videomodules_ccasflags +] [+ ENDFOR +][+ ELIF common_ccasflags +][+ FOR common_ccasflags +][+ .common_ccasflags +] [+ ENDFOR +][+ ELSE +][+ FOR ccasflags +][+ .ccasflags +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +BUILT_SOURCES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +CLEANFILES += $(nodist_[+ % name `echo $cname` +]_SOURCES) +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR script +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +][+ IF testcase defined +]check_SCRIPTS += [+ name +] +TESTS += [+ name +] +[+ ELSE +][+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_SCRIPTS += [+ name +] +[+ IF mansection +]if COND_MAN_PAGES +man_MANS += [+ name +].[+ mansection +] + +[+ name +].[+ mansection +]: [+ name +] + chmod a+x [+ name +] + PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] + +CLEANFILES += [+ name +].[+ mansection +] +endif +[+ ENDIF +][+ ENDIF +] +[+ name +]: [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x [+ name +] + +CLEANFILES += [+ name +] +dist_noinst_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] +[+ (define seen-target '()) +][+ (define seen-vars '()) +][+ (out-push-new) +][+ FOR data +][+ IF - enable undefined +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif + +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ELSE +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "emu" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_emu +[+ IF emu_condition +][+ FOR emu_condition +]if [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF emu +][+ FOR emu +][+ .emu +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF emu_condition +][+ FOR emu_condition +]endif [+ .emu_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_pc" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_pc +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]if [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_pc +][+ FOR i386_pc +][+ .i386_pc +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_pc_condition +][+ FOR i386_pc_condition +]endif [+ .i386_pc_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_efi +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]if [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_efi +][+ FOR i386_efi +][+ .i386_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_efi_condition +][+ FOR i386_efi_condition +]endif [+ .i386_efi_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_qemu +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]if [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_qemu +][+ FOR i386_qemu +][+ .i386_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_qemu_condition +][+ FOR i386_qemu_condition +]endif [+ .i386_qemu_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_coreboot" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_coreboot +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]if [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_coreboot +][+ FOR i386_coreboot +][+ .i386_coreboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_coreboot_condition +][+ FOR i386_coreboot_condition +]endif [+ .i386_coreboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_multiboot" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386_coreboot_multiboot_qemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_multiboot +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]if [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]if [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_multiboot +][+ FOR i386_multiboot +][+ .i386_multiboot +] [+ ENDFOR +][+ ENDIF +][+ IF i386_coreboot_multiboot_qemu +][+ FOR i386_coreboot_multiboot_qemu +][+ .i386_coreboot_multiboot_qemu +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_multiboot_condition +][+ FOR i386_multiboot_condition +]endif [+ .i386_multiboot_condition +] +[+ ENDFOR +][+ ELIF i386_coreboot_multiboot_qemu_condition +][+ FOR i386_coreboot_multiboot_qemu_condition +]endif [+ .i386_coreboot_multiboot_qemu_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "i386_ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "i386" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_i386_ieee1275 +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]if [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]if [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF i386_ieee1275 +][+ FOR i386_ieee1275 +][+ .i386_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF i386 +][+ FOR i386 +][+ .i386 +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF i386_ieee1275_condition +][+ FOR i386_ieee1275_condition +]endif [+ .i386_ieee1275_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF i386_condition +][+ FOR i386_condition +]endif [+ .i386_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "x86_64_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86_efi" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfomodule" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "x86" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_x86_64_efi +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]if [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]if [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]if [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]if [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]if [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF x86_64_efi +][+ FOR x86_64_efi +][+ .x86_64_efi +] [+ ENDFOR +][+ ENDIF +][+ IF x86_64 +][+ FOR x86_64 +][+ .x86_64 +] [+ ENDFOR +][+ ENDIF +][+ IF x86_efi +][+ FOR x86_efi +][+ .x86_efi +] [+ ENDFOR +][+ ENDIF +][+ IF terminfomodule +][+ FOR terminfomodule +][+ .terminfomodule +] [+ ENDFOR +][+ ENDIF +][+ IF x86 +][+ FOR x86 +][+ .x86 +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF x86_64_efi_condition +][+ FOR x86_64_efi_condition +]endif [+ .x86_64_efi_condition +] +[+ ENDFOR +][+ ELIF x86_64_condition +][+ FOR x86_64_condition +]endif [+ .x86_64_condition +] +[+ ENDFOR +][+ ELIF x86_efi_condition +][+ FOR x86_efi_condition +]endif [+ .x86_efi_condition +] +[+ ENDFOR +][+ ELIF terminfomodule_condition +][+ FOR terminfomodule_condition +]endif [+ .terminfomodule_condition +] +[+ ENDFOR +][+ ELIF x86_condition +][+ FOR x86_condition +]endif [+ .x86_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "mips_yeeloong" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "mips" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "cmos" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "usb" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "pci" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_mips_yeeloong +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]if [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]if [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]if [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]if [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]if [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]if [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF mips_yeeloong +][+ FOR mips_yeeloong +][+ .mips_yeeloong +] [+ ENDFOR +][+ ENDIF +][+ IF videoinkernel +][+ FOR videoinkernel +][+ .videoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF mips +][+ FOR mips +][+ .mips +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF cmos +][+ FOR cmos +][+ .cmos +] [+ ENDFOR +][+ ENDIF +][+ IF usb +][+ FOR usb +][+ .usb +] [+ ENDFOR +][+ ENDIF +][+ IF pci +][+ FOR pci +][+ .pci +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF mips_yeeloong_condition +][+ FOR mips_yeeloong_condition +]endif [+ .mips_yeeloong_condition +] +[+ ENDFOR +][+ ELIF videoinkernel_condition +][+ FOR videoinkernel_condition +]endif [+ .videoinkernel_condition +] +[+ ENDFOR +][+ ELIF mips_condition +][+ FOR mips_condition +]endif [+ .mips_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF cmos_condition +][+ FOR cmos_condition +]endif [+ .cmos_condition +] +[+ ENDFOR +][+ ELIF usb_condition +][+ FOR usb_condition +]endif [+ .usb_condition +] +[+ ENDFOR +][+ ELIF pci_condition +][+ FOR pci_condition +]endif [+ .pci_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "sparc64_ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "sparc64" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_sparc64_ieee1275 +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]if [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]if [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF sparc64_ieee1275 +][+ FOR sparc64_ieee1275 +][+ .sparc64_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF sparc64 +][+ FOR sparc64 +][+ .sparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF sparc64_ieee1275_condition +][+ FOR sparc64_ieee1275_condition +]endif [+ .sparc64_ieee1275_condition +] +[+ ENDFOR +][+ ELIF sparc64_condition +][+ FOR sparc64_condition +]endif [+ .sparc64_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ IF enable defined +][+ FOR enable +][+ CASE enable +][+ = "powerpc_ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "powerpc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "ieee1275" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "terminfoinkernel" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nosparc64" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "nopc" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "noemu" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "videomodules" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ = "common" +] +if COND_powerpc_ieee1275 +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]if [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]if [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]if [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]if [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]if [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]if [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]if [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]if [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]if [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]if [+ .condition +] +[+ ENDFOR +][+ ENDIF +]EXTRA_DIST += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +EXTRA_DIST += [+ FOR extra_dist +][+ .extra_dist +] [+ ENDFOR +] +[+ IF installdir +][+ installdir +][+ ELSE +]bin[+ ENDIF +]_DATA += [+ IF powerpc_ieee1275 +][+ FOR powerpc_ieee1275 +][+ .powerpc_ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF powerpc +][+ FOR powerpc +][+ .powerpc +] [+ ENDFOR +][+ ENDIF +][+ IF ieee1275 +][+ FOR ieee1275 +][+ .ieee1275 +] [+ ENDFOR +][+ ENDIF +][+ IF terminfoinkernel +][+ FOR terminfoinkernel +][+ .terminfoinkernel +] [+ ENDFOR +][+ ENDIF +][+ IF nosparc64 +][+ FOR nosparc64 +][+ .nosparc64 +] [+ ENDFOR +][+ ENDIF +][+ IF nopc +][+ FOR nopc +][+ .nopc +] [+ ENDFOR +][+ ENDIF +][+ IF noemu +][+ FOR noemu +][+ .noemu +] [+ ENDFOR +][+ ENDIF +][+ IF videomodules +][+ FOR videomodules +][+ .videomodules +] [+ ENDFOR +][+ ENDIF +][+ IF common +][+ FOR common +][+ .common +] [+ ENDFOR +][+ ENDIF +] +[+ IF powerpc_ieee1275_condition +][+ FOR powerpc_ieee1275_condition +]endif [+ .powerpc_ieee1275_condition +] +[+ ENDFOR +][+ ELIF powerpc_condition +][+ FOR powerpc_condition +]endif [+ .powerpc_condition +] +[+ ENDFOR +][+ ELIF ieee1275_condition +][+ FOR ieee1275_condition +]endif [+ .ieee1275_condition +] +[+ ENDFOR +][+ ELIF terminfoinkernel_condition +][+ FOR terminfoinkernel_condition +]endif [+ .terminfoinkernel_condition +] +[+ ENDFOR +][+ ELIF nosparc64_condition +][+ FOR nosparc64_condition +]endif [+ .nosparc64_condition +] +[+ ENDFOR +][+ ELIF nopc_condition +][+ FOR nopc_condition +]endif [+ .nopc_condition +] +[+ ENDFOR +][+ ELIF noemu_condition +][+ FOR noemu_condition +]endif [+ .noemu_condition +] +[+ ENDFOR +][+ ELIF videomodules_condition +][+ FOR videomodules_condition +]endif [+ .videomodules_condition +] +[+ ENDFOR +][+ ELIF common_condition +][+ FOR common_condition +]endif [+ .common_condition +] +[+ ENDFOR +][+ ELSE +][+ FOR condition +]endif [+ .condition +] +[+ ENDFOR +][+ ENDIF +]endif +[+ ESAC +][+ ENDFOR +][+ ENDIF +][+ ENDIF +][+ (set! seen-target (assoc-set! seen-target (get ".name") 0)) +][+ ENDFOR +][+ (out-pop #t) +] diff --git a/Makefile.util.am b/Makefile.util.am new file mode 100644 index 0000000..22464b8 --- /dev/null +++ b/Makefile.util.am @@ -0,0 +1,10510 @@ + +libgrubkern_a_SOURCES = +nodist_libgrubkern_a_SOURCES = +libgrubkern_a_CFLAGS = +libgrubkern_a_CPPFLAGS = +libgrubkern_a_CCASFLAGS = +libgrubmods_a_SOURCES = +nodist_libgrubmods_a_SOURCES = +libgrubmods_a_CFLAGS = +libgrubmods_a_CPPFLAGS = +libgrubmods_a_CCASFLAGS = + +if COND_emu +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_i386_pc +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_i386_efi +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_i386_qemu +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_i386_coreboot +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_i386_multiboot +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_i386_ieee1275 +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_x86_64_efi +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_mips_yeeloong +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_sparc64_ieee1275 +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_powerpc_ieee1275 +noinst_LIBRARIES += libgrubkern.a +libgrubkern_a_SOURCES += util/misc.c grub-core/kern/command.c grub-core/kern/device.c grub-core/kern/disk.c grub-core/kern/emu/getroot.c grub-core/kern/emu/hostdisk.c grub-core/kern/emu/misc.c grub-core/kern/emu/mm.c grub-core/kern/env.c grub-core/kern/err.c grub-core/kern/file.c grub-core/kern/fs.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/kern/partition.c +nodist_libgrubkern_a_SOURCES += +libgrubkern_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GNULIB) +libgrubkern_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GNULIB) +libgrubkern_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubkern_a_SOURCES) +CLEANFILES += $(nodist_libgrubkern_a_SOURCES) +endif + +if COND_emu +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_i386_pc +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_i386_efi +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_i386_qemu +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_i386_coreboot +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_i386_multiboot +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_i386_ieee1275 +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_x86_64_efi +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_mips_yeeloong +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_sparc64_ieee1275 +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_powerpc_ieee1275 +noinst_LIBRARIES += libgrubmods.a +libgrubmods_a_SOURCES += grub-core/commands/blocklist.c grub-core/commands/extcmd.c grub-core/commands/ls.c grub-core/disk/dmraid_nvidia.c grub-core/disk/loopback.c grub-core/disk/lvm.c grub-core/disk/mdraid_linux.c grub-core/disk/mdraid1x_linux.c grub-core/disk/raid5_recover.c grub-core/disk/raid6_recover.c grub-core/disk/raid.c grub-core/fs/affs.c grub-core/fs/afs_be.c grub-core/fs/afs.c grub-core/fs/befs_be.c grub-core/fs/befs.c grub-core/fs/btrfs.c grub-core/fs/cpio.c grub-core/fs/ext2.c grub-core/fs/fat.c grub-core/fs/fshelp.c grub-core/fs/hfs.c grub-core/fs/hfsplus.c grub-core/fs/iso9660.c grub-core/fs/jfs.c grub-core/fs/minix.c grub-core/fs/minix2.c grub-core/fs/nilfs2.c grub-core/fs/ntfs.c grub-core/fs/ntfscomp.c grub-core/fs/reiserfs.c grub-core/fs/sfs.c grub-core/fs/tar.c grub-core/fs/udf.c grub-core/fs/ufs2.c grub-core/fs/ufs.c grub-core/fs/xfs.c grub-core/fs/zfs/zfs.c grub-core/fs/zfs/zfs_lzjb.c grub-core/fs/zfs/zfs_sha256.c grub-core/fs/zfs/zfs_fletcher.c grub-core/lib/arg.c grub-core/lib/crypto.c grub-core/lib/envblk.c grub-core/lib/hexdump.c grub-core/lib/libgcrypt-grub/cipher/sha512.c grub-core/lib/libgcrypt-grub/cipher/crc.c grub-core/lib/LzFind.c grub-core/lib/LzmaEnc.c grub-core/lib/pbkdf2.c grub-core/lib/crc.c grub-core/normal/datetime.c grub-core/normal/misc.c grub-core/partmap/acorn.c grub-core/partmap/amiga.c grub-core/partmap/apple.c grub-core/partmap/gpt.c grub-core/partmap/msdos.c grub-core/partmap/sun.c grub-core/partmap/sunpc.c grub-core/partmap/bsdlabel.c grub-core/script/function.c grub-core/script/lexer.c grub-core/script/main.c grub-core/script/script.c grub-core/script/argv.c grub-core/io/gzio.c +nodist_libgrubmods_a_SOURCES += grub_script.tab.c grub_script.yy.c libgrub_a_init.c grub_script.yy.h grub_script.tab.h +libgrubmods_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_GCRY) +libgrubmods_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_GCRY) +libgrubmods_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgrubmods_a_SOURCES) +CLEANFILES += $(nodist_libgrubmods_a_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-bin2h +if COND_MAN_PAGES +man_MANS += grub-bin2h.1 + +grub-bin2h.1: grub-bin2h + chmod a+x grub-bin2h + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-bin2h.h2m -o $@ grub-bin2h + +CLEANFILES += grub-bin2h.1 +endif +grub_bin2h_SOURCES = util/bin2h.c +nodist_grub_bin2h_SOURCES = +grub_bin2h_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) +grub_bin2h_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_bin2h_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_bin2h_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_bin2h_SOURCES) +CLEANFILES += $(nodist_grub_bin2h_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-mkimage +if COND_MAN_PAGES +man_MANS += grub-mkimage.1 + +grub-mkimage.1: grub-mkimage + chmod a+x grub-mkimage + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkimage.h2m -o $@ grub-mkimage + +CLEANFILES += grub-mkimage.1 +endif +grub_mkimage_SOURCES = util/grub-mkimage.c util/resolve.c +nodist_grub_mkimage_SOURCES = +grub_mkimage_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBLZMA) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkimage_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkimage_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkimage_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) -DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\" +grub_mkimage_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += util/grub-mkimagexx.c +BUILT_SOURCES += $(nodist_grub_mkimage_SOURCES) +CLEANFILES += $(nodist_grub_mkimage_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-mkrelpath +if COND_MAN_PAGES +man_MANS += grub-mkrelpath.1 + +grub-mkrelpath.1: grub-mkrelpath + chmod a+x grub-mkrelpath + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrelpath.h2m -o $@ grub-mkrelpath + +CLEANFILES += grub-mkrelpath.1 +endif +grub_mkrelpath_SOURCES = util/grub-mkrelpath.c +nodist_grub_mkrelpath_SOURCES = +grub_mkrelpath_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkrelpath_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkrelpath_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkrelpath_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkrelpath_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkrelpath_SOURCES) +CLEANFILES += $(nodist_grub_mkrelpath_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-script-check +if COND_MAN_PAGES +man_MANS += grub-script-check.1 + +grub-script-check.1: grub-script-check + chmod a+x grub-script-check + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-script-check.h2m -o $@ grub-script-check + +CLEANFILES += grub-script-check.1 +endif +grub_script_check_SOURCES = util/grub-script-check.c +nodist_grub_script_check_SOURCES = +grub_script_check_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_script_check_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_script_check_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_script_check_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_script_check_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_script_check_SOURCES) +CLEANFILES += $(nodist_grub_script_check_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-editenv +if COND_MAN_PAGES +man_MANS += grub-editenv.1 + +grub-editenv.1: grub-editenv + chmod a+x grub-editenv + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-editenv.h2m -o $@ grub-editenv + +CLEANFILES += grub-editenv.1 +endif +grub_editenv_SOURCES = util/grub-editenv.c +nodist_grub_editenv_SOURCES = +grub_editenv_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_editenv_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_editenv_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_editenv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_editenv_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_editenv_SOURCES) +CLEANFILES += $(nodist_grub_editenv_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-mkpasswd-pbkdf2 +if COND_MAN_PAGES +man_MANS += grub-mkpasswd-pbkdf2.1 + +grub-mkpasswd-pbkdf2.1: grub-mkpasswd-pbkdf2 + chmod a+x grub-mkpasswd-pbkdf2 + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkpasswd-pbkdf2.h2m -o $@ grub-mkpasswd-pbkdf2 + +CLEANFILES += grub-mkpasswd-pbkdf2.1 +endif +grub_mkpasswd_pbkdf2_SOURCES = util/grub-mkpasswd-pbkdf2.c +nodist_grub_mkpasswd_pbkdf2_SOURCES = +grub_mkpasswd_pbkdf2_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkpasswd_pbkdf2_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_mkpasswd_pbkdf2_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkpasswd_pbkdf2_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_mkpasswd_pbkdf2_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +CLEANFILES += $(nodist_grub_mkpasswd_pbkdf2_SOURCES) +endif + +if COND_emu +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_i386_pc +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_i386_efi +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_i386_qemu +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_i386_coreboot +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_i386_multiboot +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_i386_ieee1275 +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_x86_64_efi +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_mips_yeeloong +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_sparc64_ieee1275 +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_powerpc_ieee1275 +if COND_APPLE_CC +bin_PROGRAMS += grub-macho2img +if COND_MAN_PAGES +man_MANS += grub-macho2img.1 + +grub-macho2img.1: grub-macho2img + chmod a+x grub-macho2img + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-macho2img.h2m -o $@ grub-macho2img + +CLEANFILES += grub-macho2img.1 +endif +grub_macho2img_SOURCES = util/grub-macho2img.c +nodist_grub_macho2img_SOURCES = +grub_macho2img_LDADD = +grub_macho2img_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_macho2img_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_macho2img_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_macho2img_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_macho2img_SOURCES) +CLEANFILES += $(nodist_grub_macho2img_SOURCES) +endif COND_APPLE_CC +endif + +if COND_emu +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_i386_pc +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_i386_efi +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_i386_qemu +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_i386_coreboot +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_i386_multiboot +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_i386_ieee1275 +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_x86_64_efi +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_mips_yeeloong +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_sparc64_ieee1275 +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_powerpc_ieee1275 +if COND_GRUB_PE2ELF +bin_PROGRAMS += grub-pe2elf +if COND_MAN_PAGES +man_MANS += grub-pe2elf.1 + +grub-pe2elf.1: grub-pe2elf + chmod a+x grub-pe2elf + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-pe2elf.h2m -o $@ grub-pe2elf + +CLEANFILES += grub-pe2elf.1 +endif +grub_pe2elf_SOURCES = util/grub-pe2elf.c +nodist_grub_pe2elf_SOURCES = +grub_pe2elf_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) +grub_pe2elf_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_pe2elf_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_pe2elf_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_pe2elf_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_pe2elf_SOURCES) +CLEANFILES += $(nodist_grub_pe2elf_SOURCES) +endif COND_GRUB_PE2ELF +endif + +if COND_emu +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-fstest +if COND_MAN_PAGES +man_MANS += grub-fstest.1 + +grub-fstest.1: grub-fstest + chmod a+x grub-fstest + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-fstest.h2m -o $@ grub-fstest + +CLEANFILES += grub-fstest.1 +endif +grub_fstest_SOURCES = util/grub-fstest.c grub-core/kern/emu/hostfs.c grub-core/disk/host.c +nodist_grub_fstest_SOURCES = grub_fstest_init.c +grub_fstest_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_fstest_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(CFLAGS_GCRY) +grub_fstest_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_fstest_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) $(CPPFLAGS_GCRY) +grub_fstest_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_fstest_SOURCES) +CLEANFILES += $(nodist_grub_fstest_SOURCES) +endif + +if COND_emu +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_i386_pc +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_i386_efi +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_i386_qemu +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_i386_coreboot +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_i386_multiboot +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_i386_ieee1275 +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_x86_64_efi +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_mips_yeeloong +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_sparc64_ieee1275 +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_powerpc_ieee1275 +if COND_GRUB_MKFONT +bin_PROGRAMS += grub-mkfont +if COND_MAN_PAGES +man_MANS += grub-mkfont.1 + +grub-mkfont.1: grub-mkfont + chmod a+x grub-mkfont + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkfont.h2m -o $@ grub-mkfont + +CLEANFILES += grub-mkfont.1 +endif +grub_mkfont_SOURCES = util/grub-mkfont.c grub-core/unidata.c +nodist_grub_mkfont_SOURCES = +grub_mkfont_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(freetype_libs) $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkfont_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) $(freetype_cflags) +grub_mkfont_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkfont_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkfont_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkfont_SOURCES) +CLEANFILES += $(nodist_grub_mkfont_SOURCES) +endif COND_GRUB_MKFONT +endif + +if COND_emu +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_i386_pc +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_i386_efi +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_i386_qemu +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_i386_coreboot +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_i386_multiboot +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_i386_ieee1275 +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_x86_64_efi +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_mips_yeeloong +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_sparc64_ieee1275 +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/ieee1275/ofpath.c util/ieee1275/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_powerpc_ieee1275 +sbin_PROGRAMS += grub-mkdevicemap +if COND_MAN_PAGES +man_MANS += grub-mkdevicemap.8 + +grub-mkdevicemap.8: grub-mkdevicemap + chmod a+x grub-mkdevicemap + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkdevicemap.h2m -o $@ grub-mkdevicemap + +CLEANFILES += grub-mkdevicemap.8 +endif +grub_mkdevicemap_SOURCES = util/devicemap.c util/grub-mkdevicemap.c util/deviceiter.c +nodist_grub_mkdevicemap_SOURCES = +grub_mkdevicemap_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mkdevicemap_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mkdevicemap_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mkdevicemap_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mkdevicemap_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mkdevicemap_SOURCES) +CLEANFILES += $(nodist_grub_mkdevicemap_SOURCES) +endif + +if COND_emu +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_pc +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_efi +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_qemu +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_coreboot +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_multiboot +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_ieee1275 +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_x86_64_efi +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_mips_yeeloong +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_sparc64_ieee1275 +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_powerpc_ieee1275 +sbin_PROGRAMS += grub-probe +if COND_MAN_PAGES +man_MANS += grub-probe.8 + +grub-probe.8: grub-probe + chmod a+x grub-probe + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-probe.h2m -o $@ grub-probe + +CLEANFILES += grub-probe.8 +endif +grub_probe_SOURCES = util/grub-probe.c +nodist_grub_probe_SOURCES = +grub_probe_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_probe_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_probe_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_probe_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_probe_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_probe_SOURCES) +CLEANFILES += $(nodist_grub_probe_SOURCES) +endif + +if COND_i386_pc +sbin_PROGRAMS += grub-setup +if COND_MAN_PAGES +man_MANS += grub-setup.8 + +grub-setup.8: grub-setup + chmod a+x grub-setup + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-setup.h2m -o $@ grub-setup + +CLEANFILES += grub-setup.8 +endif +grub_setup_SOURCES = util/grub-setup.c util/raid.c util/lvm.c grub-core/lib/reed_solomon.c +nodist_grub_setup_SOURCES = +grub_setup_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_setup_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_setup_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_setup_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_setup_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_setup_SOURCES) +CLEANFILES += $(nodist_grub_setup_SOURCES) +endif + +if COND_sparc64_ieee1275 +sbin_PROGRAMS += grub-setup +if COND_MAN_PAGES +man_MANS += grub-setup.8 + +grub-setup.8: grub-setup + chmod a+x grub-setup + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-setup.h2m -o $@ grub-setup + +CLEANFILES += grub-setup.8 +endif +grub_setup_SOURCES = util/ieee1275/ofpath.c util/grub-setup.c util/raid.c util/lvm.c grub-core/lib/reed_solomon.c +nodist_grub_setup_SOURCES = +grub_setup_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_setup_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_setup_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_setup_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_setup_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_setup_SOURCES) +CLEANFILES += $(nodist_grub_setup_SOURCES) +endif + +if COND_sparc64_ieee1275 +sbin_PROGRAMS += grub-ofpathname +grub_ofpathname_SOURCES = util/ieee1275/grub-ofpathname.c util/ieee1275/ofpath.c +nodist_grub_ofpathname_SOURCES = +grub_ofpathname_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM) +grub_ofpathname_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_ofpathname_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_ofpathname_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_ofpathname_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_ofpathname_SOURCES) +CLEANFILES += $(nodist_grub_ofpathname_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-mklayout +if COND_MAN_PAGES +man_MANS += grub-mklayout.1 + +grub-mklayout.1: grub-mklayout + chmod a+x grub-mklayout + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mklayout.h2m -o $@ grub-mklayout + +CLEANFILES += grub-mklayout.1 +endif +grub_mklayout_SOURCES = util/grub-mklayout.c +nodist_grub_mklayout_SOURCES = +grub_mklayout_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_mklayout_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_mklayout_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_mklayout_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_mklayout_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_mklayout_SOURCES) +CLEANFILES += $(nodist_grub_mklayout_SOURCES) +endif + +if COND_emu +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_i386_pc +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_i386_efi +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_i386_qemu +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_i386_coreboot +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_i386_multiboot +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_i386_ieee1275 +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_x86_64_efi +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_mips_yeeloong +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_sparc64_ieee1275 +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_powerpc_ieee1275 +check_PROGRAMS += example_unit_test +TESTS += example_unit_test +example_unit_test_SOURCES = tests/example_unit_test.c tests/lib/unit_test.c grub-core/kern/list.c grub-core/kern/misc.c grub-core/tests/lib/test.c +nodist_example_unit_test_SOURCES = +example_unit_test_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +example_unit_test_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) -Wno-format +example_unit_test_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +example_unit_test_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +example_unit_test_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_unit_test_SOURCES) +CLEANFILES += $(nodist_example_unit_test_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_i386_pc +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_i386_efi +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_i386_qemu +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_i386_coreboot +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_i386_multiboot +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_i386_ieee1275 +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_x86_64_efi +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_mips_yeeloong +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_sparc64_ieee1275 +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_powerpc_ieee1275 +bin_PROGRAMS += grub-menulst2cfg +if COND_MAN_PAGES +man_MANS += grub-menulst2cfg.1 + +grub-menulst2cfg.1: grub-menulst2cfg + chmod a+x grub-menulst2cfg + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-menulst2cfg.h2m -o $@ grub-menulst2cfg + +CLEANFILES += grub-menulst2cfg.1 +endif +grub_menulst2cfg_SOURCES = util/grub-menulst2cfg.c grub-core/lib/legacy_parse.c grub-core/lib/i386/pc/vesa_modes_table.c +nodist_grub_menulst2cfg_SOURCES = +grub_menulst2cfg_LDADD = libgrubmods.a libgrubkern.a grub-core/gnulib/libgnu.a $(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_menulst2cfg_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_menulst2cfg_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_menulst2cfg_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_menulst2cfg_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_menulst2cfg_SOURCES) +CLEANFILES += $(nodist_grub_menulst2cfg_SOURCES) +endif + +if COND_emu +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_i386_pc +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_i386_efi +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_i386_qemu +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_i386_coreboot +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_i386_multiboot +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_i386_ieee1275 +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_x86_64_efi +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_mips_yeeloong +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_sparc64_ieee1275 +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_powerpc_ieee1275 +grubconf_SCRIPTS += 00_header + +00_header: util/grub.d/00_header.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 00_header + +CLEANFILES += 00_header +dist_noinst_DATA += util/grub.d/00_header.in +endif + +if COND_emu +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_i386_pc +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_i386_efi +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_i386_qemu +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_i386_coreboot +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_i386_multiboot +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_i386_ieee1275 +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_x86_64_efi +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_mips_yeeloong +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_sparc64_ieee1275 +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_powerpc_ieee1275 +if COND_HOST_WINDOWS +grubconf_SCRIPTS += 10_windows + +10_windows: util/grub.d/10_windows.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_windows + +CLEANFILES += 10_windows +dist_noinst_DATA += util/grub.d/10_windows.in +endif COND_HOST_WINDOWS +endif + +if COND_emu +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_i386_pc +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_i386_efi +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_i386_qemu +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_i386_coreboot +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_i386_multiboot +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_i386_ieee1275 +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_x86_64_efi +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_mips_yeeloong +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_sparc64_ieee1275 +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_powerpc_ieee1275 +if COND_HOST_HURD +grubconf_SCRIPTS += 10_hurd + +10_hurd: util/grub.d/10_hurd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_hurd + +CLEANFILES += 10_hurd +dist_noinst_DATA += util/grub.d/10_hurd.in +endif COND_HOST_HURD +endif + +if COND_emu +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_i386_pc +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_i386_efi +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_i386_qemu +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_i386_coreboot +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_i386_multiboot +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_i386_ieee1275 +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_x86_64_efi +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_mips_yeeloong +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_sparc64_ieee1275 +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_powerpc_ieee1275 +if COND_HOST_KFREEBSD +grubconf_SCRIPTS += 10_kfreebsd + +10_kfreebsd: util/grub.d/10_kfreebsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_kfreebsd + +CLEANFILES += 10_kfreebsd +dist_noinst_DATA += util/grub.d/10_kfreebsd.in +endif COND_HOST_KFREEBSD +endif + +if COND_emu +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_i386_pc +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_i386_efi +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_i386_qemu +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_i386_coreboot +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_i386_multiboot +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_i386_ieee1275 +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_x86_64_efi +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_mips_yeeloong +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_sparc64_ieee1275 +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_powerpc_ieee1275 +if COND_HOST_NETBSD +grubconf_SCRIPTS += 10_netbsd + +10_netbsd: util/grub.d/10_netbsd.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_netbsd + +CLEANFILES += 10_netbsd +dist_noinst_DATA += util/grub.d/10_netbsd.in +endif COND_HOST_NETBSD +endif + +if COND_emu +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_i386_pc +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_i386_efi +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_i386_qemu +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_i386_coreboot +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_i386_multiboot +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_i386_ieee1275 +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_x86_64_efi +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_mips_yeeloong +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_sparc64_ieee1275 +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_powerpc_ieee1275 +if COND_HOST_LINUX +grubconf_SCRIPTS += 10_linux + +10_linux: util/grub.d/10_linux.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 10_linux + +CLEANFILES += 10_linux +dist_noinst_DATA += util/grub.d/10_linux.in +endif COND_HOST_LINUX +endif + +if COND_emu +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_i386_pc +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_i386_efi +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_i386_qemu +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_i386_coreboot +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_i386_multiboot +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_i386_ieee1275 +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_x86_64_efi +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_mips_yeeloong +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_sparc64_ieee1275 +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_powerpc_ieee1275 +if COND_HOST_LINUX +grubconf_SCRIPTS += 20_linux_xen + +20_linux_xen: util/grub.d/20_linux_xen.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 20_linux_xen + +CLEANFILES += 20_linux_xen +dist_noinst_DATA += util/grub.d/20_linux_xen.in +endif COND_HOST_LINUX +endif + +if COND_emu +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_i386_pc +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_i386_efi +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_i386_qemu +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_i386_coreboot +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_i386_multiboot +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_i386_ieee1275 +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_x86_64_efi +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_mips_yeeloong +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_sparc64_ieee1275 +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_powerpc_ieee1275 +grubconf_SCRIPTS += 30_os-prober + +30_os-prober: util/grub.d/30_os-prober.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 30_os-prober + +CLEANFILES += 30_os-prober +dist_noinst_DATA += util/grub.d/30_os-prober.in +endif + +if COND_emu +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_i386_pc +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_i386_efi +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_i386_qemu +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_i386_coreboot +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_i386_multiboot +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_i386_ieee1275 +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_x86_64_efi +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_mips_yeeloong +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_sparc64_ieee1275 +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_powerpc_ieee1275 +grubconf_SCRIPTS += 40_custom + +40_custom: util/grub.d/40_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 40_custom + +CLEANFILES += 40_custom +dist_noinst_DATA += util/grub.d/40_custom.in +endif + +if COND_emu +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_pc +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_efi +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_qemu +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_coreboot +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_multiboot +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_ieee1275 +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_x86_64_efi +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_mips_yeeloong +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_sparc64_ieee1275 +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_powerpc_ieee1275 +grubconf_SCRIPTS += 41_custom + +41_custom: util/grub.d/41_custom.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x 41_custom + +CLEANFILES += 41_custom +dist_noinst_DATA += util/grub.d/41_custom.in +endif + +if COND_i386_pc +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/grub-mkrescue.in +endif + +if COND_i386_efi +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/grub-mkrescue.in +endif + +if COND_i386_qemu +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/grub-mkrescue.in +endif + +if COND_i386_coreboot +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/grub-mkrescue.in +endif + +if COND_i386_multiboot +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/grub-mkrescue.in +endif + +if COND_x86_64_efi +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/grub-mkrescue.in +endif + +if COND_powerpc_ieee1275 +bin_SCRIPTS += grub-mkrescue +if COND_MAN_PAGES +man_MANS += grub-mkrescue.1 + +grub-mkrescue.1: grub-mkrescue + chmod a+x grub-mkrescue + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-mkrescue.h2m -o $@ grub-mkrescue + +CLEANFILES += grub-mkrescue.1 +endif + +grub-mkrescue: util/powerpc/ieee1275/grub-mkrescue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkrescue + +CLEANFILES += grub-mkrescue +dist_noinst_DATA += util/powerpc/ieee1275/grub-mkrescue.in +endif + +if COND_i386_pc +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_i386_efi +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_i386_qemu +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_i386_coreboot +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_i386_multiboot +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_i386_ieee1275 +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_x86_64_efi +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_mips_yeeloong +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_sparc64_ieee1275 +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_powerpc_ieee1275 +sbin_SCRIPTS += grub-install +if COND_MAN_PAGES +man_MANS += grub-install.8 + +grub-install.8: grub-install + chmod a+x grub-install + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-install.h2m -o $@ grub-install + +CLEANFILES += grub-install.8 +endif + +grub-install: util/grub-install.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-install + +CLEANFILES += grub-install +dist_noinst_DATA += util/grub-install.in +endif + +if COND_emu +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_i386_pc +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_i386_efi +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_i386_qemu +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_i386_coreboot +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_i386_multiboot +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_i386_ieee1275 +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_x86_64_efi +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_mips_yeeloong +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_sparc64_ieee1275 +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_powerpc_ieee1275 +sbin_SCRIPTS += grub-mknetdir +if COND_MAN_PAGES +man_MANS += grub-mknetdir.8 + +grub-mknetdir.8: grub-mknetdir + chmod a+x grub-mknetdir + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mknetdir.h2m -o $@ grub-mknetdir + +CLEANFILES += grub-mknetdir.8 +endif + +grub-mknetdir: util/grub-mknetdir.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mknetdir + +CLEANFILES += grub-mknetdir +dist_noinst_DATA += util/grub-mknetdir.in +endif + +if COND_emu +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_i386_pc +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_i386_efi +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_i386_qemu +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_i386_coreboot +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_i386_multiboot +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_i386_ieee1275 +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_x86_64_efi +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_mips_yeeloong +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_sparc64_ieee1275 +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_powerpc_ieee1275 +sbin_SCRIPTS += grub-mkconfig +if COND_MAN_PAGES +man_MANS += grub-mkconfig.8 + +grub-mkconfig.8: grub-mkconfig + chmod a+x grub-mkconfig + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-mkconfig.h2m -o $@ grub-mkconfig + +CLEANFILES += grub-mkconfig.8 +endif + +grub-mkconfig: util/grub-mkconfig.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig + +CLEANFILES += grub-mkconfig +dist_noinst_DATA += util/grub-mkconfig.in +endif + +if COND_emu +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_i386_pc +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_i386_efi +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_i386_qemu +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_i386_coreboot +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_i386_multiboot +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_i386_ieee1275 +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_x86_64_efi +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_mips_yeeloong +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_sparc64_ieee1275 +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_powerpc_ieee1275 +sbin_SCRIPTS += grub-set-default +if COND_MAN_PAGES +man_MANS += grub-set-default.8 + +grub-set-default.8: grub-set-default + chmod a+x grub-set-default + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-set-default.h2m -o $@ grub-set-default + +CLEANFILES += grub-set-default.8 +endif + +grub-set-default: util/grub-set-default.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-set-default + +CLEANFILES += grub-set-default +dist_noinst_DATA += util/grub-set-default.in +endif + +if COND_emu +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_i386_pc +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_i386_efi +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_i386_qemu +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_i386_coreboot +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_i386_multiboot +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_i386_ieee1275 +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_x86_64_efi +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_mips_yeeloong +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_sparc64_ieee1275 +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_powerpc_ieee1275 +sbin_SCRIPTS += grub-reboot +if COND_MAN_PAGES +man_MANS += grub-reboot.8 + +grub-reboot.8: grub-reboot + chmod a+x grub-reboot + PATH=$(builddir):$$PATH $(HELP2MAN) --section=8 -i $(top_srcdir)/docs/man/grub-reboot.h2m -o $@ grub-reboot + +CLEANFILES += grub-reboot.8 +endif + +grub-reboot: util/grub-reboot.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-reboot + +CLEANFILES += grub-reboot +dist_noinst_DATA += util/grub-reboot.in +endif + +if COND_emu +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_i386_pc +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_i386_efi +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_i386_qemu +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_i386_coreboot +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_i386_multiboot +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_i386_ieee1275 +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_x86_64_efi +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_mips_yeeloong +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_sparc64_ieee1275 +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_powerpc_ieee1275 +noinst_SCRIPTS += grub-mkconfig_lib + +grub-mkconfig_lib: util/grub-mkconfig_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-mkconfig_lib + +CLEANFILES += grub-mkconfig_lib +dist_noinst_DATA += util/grub-mkconfig_lib.in +endif + +if COND_emu +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_i386_pc +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_i386_efi +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_i386_qemu +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_i386_coreboot +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_i386_multiboot +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_i386_ieee1275 +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_x86_64_efi +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_mips_yeeloong +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_sparc64_ieee1275 +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_powerpc_ieee1275 +noinst_SCRIPTS += update-grub_lib + +update-grub_lib: util/update-grub_lib.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x update-grub_lib + +CLEANFILES += update-grub_lib +dist_noinst_DATA += util/update-grub_lib.in +endif + +if COND_emu +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_i386_pc +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_i386_efi +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_i386_qemu +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_i386_coreboot +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_i386_multiboot +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_i386_ieee1275 +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_x86_64_efi +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_mips_yeeloong +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_sparc64_ieee1275 +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_powerpc_ieee1275 +bin_SCRIPTS += grub-kbdcomp + +grub-kbdcomp: util/grub-kbdcomp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-kbdcomp + +CLEANFILES += grub-kbdcomp +dist_noinst_DATA += util/grub-kbdcomp.in +endif + +if COND_emu +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_i386_pc +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_i386_efi +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_i386_qemu +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_i386_coreboot +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_i386_multiboot +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_i386_ieee1275 +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_x86_64_efi +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_mips_yeeloong +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_sparc64_ieee1275 +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_powerpc_ieee1275 +noinst_SCRIPTS += grub-shell + +grub-shell: tests/util/grub-shell.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell + +CLEANFILES += grub-shell +dist_noinst_DATA += tests/util/grub-shell.in +endif + +if COND_emu +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_i386_pc +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_i386_efi +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_i386_qemu +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_i386_coreboot +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_i386_multiboot +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_i386_ieee1275 +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_x86_64_efi +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_mips_yeeloong +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_sparc64_ieee1275 +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_powerpc_ieee1275 +noinst_SCRIPTS += grub-shell-tester + +grub-shell-tester: tests/util/grub-shell-tester.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub-shell-tester + +CLEANFILES += grub-shell-tester +dist_noinst_DATA += tests/util/grub-shell-tester.in +endif + +if COND_emu +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_i386_pc +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_i386_efi +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_i386_qemu +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_i386_coreboot +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_i386_multiboot +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_x86_64_efi +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += example_scripted_test +TESTS += example_scripted_test + +example_scripted_test: tests/example_scripted_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_scripted_test + +CLEANFILES += example_scripted_test +dist_noinst_DATA += tests/example_scripted_test.in +endif + +if COND_emu +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_i386_pc +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_i386_efi +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_i386_qemu +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_i386_coreboot +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_i386_multiboot +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_x86_64_efi +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += example_grub_script_test +TESTS += example_grub_script_test + +example_grub_script_test: tests/example_grub_script_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x example_grub_script_test + +CLEANFILES += example_grub_script_test +dist_noinst_DATA += tests/example_grub_script_test.in +endif + +if COND_emu +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_echo1 +TESTS += grub_script_echo1 + +grub_script_echo1: tests/grub_script_echo1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo1 + +CLEANFILES += grub_script_echo1 +dist_noinst_DATA += tests/grub_script_echo1.in +endif + +if COND_emu +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_echo_keywords +TESTS += grub_script_echo_keywords + +grub_script_echo_keywords: tests/grub_script_echo_keywords.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_echo_keywords + +CLEANFILES += grub_script_echo_keywords +dist_noinst_DATA += tests/grub_script_echo_keywords.in +endif + +if COND_emu +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_vars1 +TESTS += grub_script_vars1 + +grub_script_vars1: tests/grub_script_vars1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_vars1 + +CLEANFILES += grub_script_vars1 +dist_noinst_DATA += tests/grub_script_vars1.in +endif + +if COND_emu +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_for1 +TESTS += grub_script_for1 + +grub_script_for1: tests/grub_script_for1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_for1 + +CLEANFILES += grub_script_for1 +dist_noinst_DATA += tests/grub_script_for1.in +endif + +if COND_emu +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_while1 +TESTS += grub_script_while1 + +grub_script_while1: tests/grub_script_while1.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_while1 + +CLEANFILES += grub_script_while1 +dist_noinst_DATA += tests/grub_script_while1.in +endif + +if COND_emu +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_if +TESTS += grub_script_if + +grub_script_if: tests/grub_script_if.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_if + +CLEANFILES += grub_script_if +dist_noinst_DATA += tests/grub_script_if.in +endif + +if COND_emu +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_blanklines +TESTS += grub_script_blanklines + +grub_script_blanklines: tests/grub_script_blanklines.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blanklines + +CLEANFILES += grub_script_blanklines +dist_noinst_DATA += tests/grub_script_blanklines.in +endif + +if COND_emu +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_final_semicolon +TESTS += grub_script_final_semicolon + +grub_script_final_semicolon: tests/grub_script_final_semicolon.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_final_semicolon + +CLEANFILES += grub_script_final_semicolon +dist_noinst_DATA += tests/grub_script_final_semicolon.in +endif + +if COND_emu +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_dollar +TESTS += grub_script_dollar + +grub_script_dollar: tests/grub_script_dollar.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_dollar + +CLEANFILES += grub_script_dollar +dist_noinst_DATA += tests/grub_script_dollar.in +endif + +if COND_emu +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_comments +TESTS += grub_script_comments + +grub_script_comments: tests/grub_script_comments.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_comments + +CLEANFILES += grub_script_comments +dist_noinst_DATA += tests/grub_script_comments.in +endif + +if COND_emu +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_functions +TESTS += grub_script_functions + +grub_script_functions: tests/grub_script_functions.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_functions + +CLEANFILES += grub_script_functions +dist_noinst_DATA += tests/grub_script_functions.in +endif + +if COND_emu +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_break +TESTS += grub_script_break + +grub_script_break: tests/grub_script_break.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_break + +CLEANFILES += grub_script_break +dist_noinst_DATA += tests/grub_script_break.in +endif + +if COND_emu +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_continue +TESTS += grub_script_continue + +grub_script_continue: tests/grub_script_continue.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_continue + +CLEANFILES += grub_script_continue +dist_noinst_DATA += tests/grub_script_continue.in +endif + +if COND_emu +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_shift +TESTS += grub_script_shift + +grub_script_shift: tests/grub_script_shift.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_shift + +CLEANFILES += grub_script_shift +dist_noinst_DATA += tests/grub_script_shift.in +endif + +if COND_emu +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_blockarg +TESTS += grub_script_blockarg + +grub_script_blockarg: tests/grub_script_blockarg.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_blockarg + +CLEANFILES += grub_script_blockarg +dist_noinst_DATA += tests/grub_script_blockarg.in +endif + +if COND_emu +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_setparams +TESTS += grub_script_setparams + +grub_script_setparams: tests/grub_script_setparams.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_setparams + +CLEANFILES += grub_script_setparams +dist_noinst_DATA += tests/grub_script_setparams.in +endif + +if COND_emu +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_return +TESTS += grub_script_return + +grub_script_return: tests/grub_script_return.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_return + +CLEANFILES += grub_script_return +dist_noinst_DATA += tests/grub_script_return.in +endif + +if COND_emu +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_cmd_regexp +TESTS += grub_cmd_regexp + +grub_cmd_regexp: tests/grub_cmd_regexp.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_regexp + +CLEANFILES += grub_cmd_regexp +dist_noinst_DATA += tests/grub_cmd_regexp.in +endif + +if COND_emu +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_expansion +TESTS += grub_script_expansion + +grub_script_expansion: tests/grub_script_expansion.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_expansion + +CLEANFILES += grub_script_expansion +dist_noinst_DATA += tests/grub_script_expansion.in +endif + +if COND_emu +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_script_not +TESTS += grub_script_not + +grub_script_not: tests/grub_script_not.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_script_not + +CLEANFILES += grub_script_not +dist_noinst_DATA += tests/grub_script_not.in +endif + +if COND_emu +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_i386_pc +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_i386_efi +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_i386_qemu +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_i386_coreboot +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_i386_multiboot +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_x86_64_efi +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += partmap_test +TESTS += partmap_test + +partmap_test: tests/partmap_test.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x partmap_test + +CLEANFILES += partmap_test +dist_noinst_DATA += tests/partmap_test.in +endif + +if COND_emu +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_i386_pc +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_i386_efi +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_i386_qemu +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_i386_coreboot +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_i386_multiboot +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_i386_ieee1275 +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_x86_64_efi +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_mips_yeeloong +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_sparc64_ieee1275 +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_powerpc_ieee1275 +check_SCRIPTS += grub_cmd_echo +TESTS += grub_cmd_echo + +grub_cmd_echo: tests/grub_cmd_echo.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x grub_cmd_echo + +CLEANFILES += grub_cmd_echo +dist_noinst_DATA += tests/grub_cmd_echo.in +endif + +if COND_emu +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_i386_pc +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_i386_efi +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_i386_qemu +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_i386_coreboot +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_i386_multiboot +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_i386_ieee1275 +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_x86_64_efi +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_mips_yeeloong +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_sparc64_ieee1275 +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + +if COND_powerpc_ieee1275 +EXTRA_DIST += util/grub.d/README +EXTRA_DIST += +grubconf_DATA += util/grub.d/README +endif + diff --git a/Makefile.util.def b/Makefile.util.def new file mode 100644 index 0000000..058572f --- /dev/null +++ b/Makefile.util.def @@ -0,0 +1,630 @@ +AutoGen definitions Makefile.tpl; + +library = { + name = libgrubkern.a; + cflags = '$(CFLAGS_GNULIB)'; + cppflags = '$(CPPFLAGS_GNULIB)'; + + common = util/misc.c; + common = grub-core/kern/command.c; + common = grub-core/kern/device.c; + common = grub-core/kern/disk.c; + common = grub-core/kern/emu/getroot.c; + common = grub-core/kern/emu/hostdisk.c; + common = grub-core/kern/emu/misc.c; + common = grub-core/kern/emu/mm.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/misc.c; + common = grub-core/kern/partition.c; +}; + +library = { + name = libgrubmods.a; + 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/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/loopback.c; + common = grub-core/disk/lvm.c; + common = grub-core/disk/mdraid_linux.c; + common = grub-core/disk/mdraid1x_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/btrfs.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/minix2.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/fs/zfs/zfs.c; + common = grub-core/fs/zfs/zfs_lzjb.c; + common = grub-core/fs/zfs/zfs_sha256.c; + common = grub-core/fs/zfs/zfs_fletcher.c; + common = grub-core/lib/arg.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/libgcrypt-grub/cipher/crc.c; + common = grub-core/lib/LzFind.c; + common = grub-core/lib/LzmaEnc.c; + common = grub-core/lib/pbkdf2.c; + common = grub-core/lib/crc.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/partmap/sunpc.c; + common = grub-core/partmap/bsdlabel.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; + common = grub-core/io/gzio.c; +}; + +program = { + name = grub-bin2h; + common = util/bin2h.c; + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER)'; + mansection = 1; +}; + +program = { + name = grub-mkimage; + mansection = 1; + + common = util/grub-mkimage.c; + common = util/resolve.c; + extra_dist = util/grub-mkimagexx.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBLZMA)'; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + cppflags = '-DGRUB_PKGLIBROOTDIR=\"$(pkglibrootdir)\"'; +}; + +program = { + name = grub-mkrelpath; + mansection = 1; + + common = util/grub-mkrelpath.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-script-check; + mansection = 1; + + common = util/grub-script-check.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-editenv; + mansection = 1; + + common = util/grub-editenv.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-mkpasswd-pbkdf2; + mansection = 1; + + common = util/grub-mkpasswd-pbkdf2.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +program = { + name = grub-macho2img; + mansection = 1; + common = util/grub-macho2img.c; + condition = COND_APPLE_CC; +}; + +program = { + name = grub-pe2elf; + mansection = 1; + common = util/grub-pe2elf.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL)'; + condition = COND_GRUB_PE2ELF; +}; + +program = { + name = grub-fstest; + mansection = 1; + common_nodist = grub_fstest_init.c; + common = util/grub-fstest.c; + common = grub-core/kern/emu/hostfs.c; + common = grub-core/disk/host.c; + + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-mkfont; + mansection = 1; + common = util/grub-mkfont.c; + common = grub-core/unidata.c; + + cflags = '$(freetype_cflags)'; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(freetype_libs)'; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + condition = COND_GRUB_MKFONT; +}; + +program = { + name = grub-mkdevicemap; + installdir = sbin; + mansection = 8; + + common = util/grub-mkdevicemap.c; + common = util/deviceiter.c; + nosparc64 = util/devicemap.c; + + sparc64_ieee1275 = util/ieee1275/ofpath.c; + sparc64_ieee1275 = util/ieee1275/devicemap.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-probe; + installdir = sbin; + mansection = 8; + common = util/grub-probe.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-setup; + installdir = sbin; + mansection = 8; + common = util/grub-setup.c; + common = util/raid.c; + common = util/lvm.c; + common = grub-core/lib/reed_solomon.c; + + sparc64_ieee1275 = util/ieee1275/ofpath.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + + enable = i386_pc; + enable = sparc64_ieee1275; +}; + +program = { + name = grub-ofpathname; + installdir = sbin; + ieee1275 = util/ieee1275/grub-ofpathname.c; + ieee1275 = util/ieee1275/ofpath.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBGEOM)'; + + enable = sparc64_ieee1275; +}; + +program = { + name = grub-mklayout; + mansection = 1; + + common = util/grub-mklayout.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +data = { + common = util/grub.d/README; + installdir = grubconf; +}; + +script = { + name = '00_header'; + common = util/grub.d/00_header.in; + installdir = grubconf; +}; + +script = { + name = '10_windows'; + common = util/grub.d/10_windows.in; + installdir = grubconf; + condition = COND_HOST_WINDOWS; +}; + +script = { + name = '10_hurd'; + common = util/grub.d/10_hurd.in; + installdir = grubconf; + condition = COND_HOST_HURD; +}; + +script = { + name = '10_kfreebsd'; + common = util/grub.d/10_kfreebsd.in; + installdir = grubconf; + condition = COND_HOST_KFREEBSD; +}; + +script = { + name = '10_netbsd'; + common = util/grub.d/10_netbsd.in; + installdir = grubconf; + condition = COND_HOST_NETBSD; +}; + +script = { + name = '10_linux'; + common = util/grub.d/10_linux.in; + installdir = grubconf; + condition = COND_HOST_LINUX; +}; + +script = { + name = '20_linux_xen'; + common = util/grub.d/20_linux_xen.in; + installdir = grubconf; + condition = COND_HOST_LINUX; +}; + +script = { + name = '30_os-prober'; + common = util/grub.d/30_os-prober.in; + installdir = grubconf; +}; + +script = { + name = '40_custom'; + common = util/grub.d/40_custom.in; + installdir = grubconf; +}; + +script = { + name = '41_custom'; + common = util/grub.d/41_custom.in; + installdir = grubconf; +}; + +script = { + mansection = 1; + name = grub-mkrescue; + x86 = util/grub-mkrescue.in; + powerpc_ieee1275 = util/powerpc/ieee1275/grub-mkrescue.in; + enable = i386_pc; + enable = x86_efi; + enable = i386_qemu; + enable = i386_multiboot; + enable = i386_coreboot; + enable = powerpc_ieee1275; +}; + +script = { + mansection = 8; + installdir = sbin; + name = grub-install; + + common = util/grub-install.in; + enable = noemu; +}; + +script = { + mansection = 8; + installdir = sbin; + name = grub-mknetdir; + + common = util/grub-mknetdir.in; +}; + +script = { + name = grub-mkconfig; + common = util/grub-mkconfig.in; + mansection = 8; + installdir = sbin; +}; + +script = { + name = grub-set-default; + common = util/grub-set-default.in; + mansection = 8; + installdir = sbin; +}; + +script = { + name = grub-reboot; + common = util/grub-reboot.in; + mansection = 8; + installdir = sbin; +}; + +script = { + name = grub-mkconfig_lib; + common = util/grub-mkconfig_lib.in; + installdir = noinst; +}; + +script = { + name = update-grub_lib; + common = util/update-grub_lib.in; + installdir = noinst; +}; + +script = { + name = grub-kbdcomp; + common = util/grub-kbdcomp.in; +}; + +script = { + name = grub-shell; + common = tests/util/grub-shell.in; + installdir = noinst; +}; + +script = { + name = grub-shell-tester; + common = tests/util/grub-shell-tester.in; + installdir = noinst; +}; + +script = { + testcase; + name = example_scripted_test; + common = tests/example_scripted_test.in; +}; + +script = { + testcase; + name = example_grub_script_test; + common = tests/example_grub_script_test.in; +}; + +script = { + testcase; + name = grub_script_echo1; + common = tests/grub_script_echo1.in; +}; + +script = { + testcase; + name = grub_script_echo_keywords; + common = tests/grub_script_echo_keywords.in; +}; + +script = { + testcase; + name = grub_script_vars1; + common = tests/grub_script_vars1.in; +}; + +script = { + testcase; + name = grub_script_for1; + common = tests/grub_script_for1.in; +}; + +script = { + testcase; + name = grub_script_while1; + common = tests/grub_script_while1.in; +}; + +script = { + testcase; + name = grub_script_if; + common = tests/grub_script_if.in; +}; + +script = { + testcase; + name = grub_script_blanklines; + common = tests/grub_script_blanklines.in; +}; + +script = { + testcase; + name = grub_script_final_semicolon; + common = tests/grub_script_final_semicolon.in; +}; + +script = { + testcase; + name = grub_script_dollar; + common = tests/grub_script_dollar.in; +}; + +script = { + testcase; + name = grub_script_comments; + common = tests/grub_script_comments.in; +}; + +script = { + testcase; + name = grub_script_functions; + common = tests/grub_script_functions.in; +}; + +script = { + testcase; + name = grub_script_break; + common = tests/grub_script_break.in; +}; + +script = { + testcase; + name = grub_script_continue; + common = tests/grub_script_continue.in; +}; + +script = { + testcase; + name = grub_script_shift; + common = tests/grub_script_shift.in; +}; + +script = { + testcase; + name = grub_script_blockarg; + common = tests/grub_script_blockarg.in; +}; + +script = { + testcase; + name = grub_script_setparams; + common = tests/grub_script_setparams.in; +}; + +script = { + testcase; + name = grub_script_return; + common = tests/grub_script_return.in; +}; + +script = { + testcase; + name = grub_cmd_regexp; + common = tests/grub_cmd_regexp.in; +}; + +script = { + testcase; + name = grub_script_expansion; + common = tests/grub_script_expansion.in; +}; + +script = { + testcase; + name = grub_script_not; + common = tests/grub_script_not.in; +}; + +script = { + testcase; + name = partmap_test; + common = tests/partmap_test.in; +}; + +script = { + testcase; + name = grub_cmd_echo; + common = tests/grub_cmd_echo.in; +}; + +program = { + testcase; + 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; + cflags = -Wno-format; + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; + +program = { + name = grub-menulst2cfg; + mansection = 1; + common = util/grub-menulst2cfg.c; + common = grub-core/lib/legacy_parse.c; + common = grub-core/lib/i386/pc/vesa_modes_table.c; + + ldadd = libgrubmods.a; + ldadd = libgrubkern.a; + ldadd = grub-core/gnulib/libgnu.a; + ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; +}; diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..2a93c25 --- /dev/null +++ b/NEWS @@ -0,0 +1,399 @@ +New in 1.99: + +* Keyboard layouts support. + +* New `lsapm' command (i386-pc only). + +* Parser for GRUB Legacy configuration files. + +* Support RAID on virtio devices. + +* Remove deprecated `root' command. + +* New `euro.pf2' font which supports most European languages. + +* Avoid opening the same device twice on Open Firmware platforms. + +* Extend `vbeinfo' and `vbetest' commands to non-VBE graphics, as + `videoinfo' and `videotest'. + +* New `lsefisystab', `lssal', and `lsefimmap' commands on EFI platforms. + +* Support explicit user claim that a device is BIOS-visible. Devices + listed in device.map will be assumed to be readable using only BIOS + facilities, rather than anything more complex such as LVM or RAID. + +* New bash-completion script for GRUB utilities. + +* Use ACPI to shut down if possible. + +* New `lsacpi' command. + +* Btrfs support. + +* New `--boot-directory' option to `grub-install', `grub-reboot', and + `grub-set-default', with clearer semantics than the previous + `--root-directory' option. + +* Rename CD-ROM device to "cd" on BIOS platforms. + +* Transparent decompression filters. + +* Simpler PXE image generation. New `grub-mknetdir' utility to generate + netboot directory trees. + +* New relocator. Allows for more kernel support and more + straightforward loader writing. + +* Handle USB pendrives exposed as floppies. + +* New Automake-based build system. + +* Add `sendkey' command (i386-pc only). + +* ZFS support. + +* Support 1.x versions of mdadm metadata. + +* Fix corruption when reading Reiserfs directory entries. + +* Bidirectional text and diacritics support. + +* Skip LVM snapshots. + +* MIPS Yeeloong firmware port. + +* Change grub-mkdevicemap to emit /dev/disk/by-id/ names where possible + on GNU/Linux. + +* Add `grub-mkconfig' support for Xen with Linux. + +* Add `grub-mkconfig' support for initrd images on Fedora 13. + +* Support >3GiB and <16MiB RAM in i386-qemu. + +* Add support for Cirrus 5446 and Bochs video cards. + +* Load more appropriate video drivers automatically in `grub-mkconfig'. + +* USB improvements, including hotplugging/hotunplugging, hub support, + and USB serial support. + +* AMD Geode CS5536 support. + +* Extensive updates to the Texinfo documentation. + +* Handle symbolic links under /dev/mapper on GNU/Linux. + +* Handle installation across multiple partition table types. + +* Add `cmostest' command (i386/x86_64 only). + +* Add support for DM-RAID disk devices on GNU/Linux. + +* Remove `grub-mkisofs'. `grub-mkrescue' now uses GNU xorriso to build + CD images. + +* `grub-mkrescue' support for EFI, coreboot, and QEMU platforms. + +* Unify `grub-mkimage', `grub-setup', and `grub-install' source code + across platforms. + +* Fix VGA (as opposed to VBE) video driver, formerly a terminal driver. + +* Add menu hotkey support. + +* Add support for the nilfs2 filesystem. + +* `grub-probe' and `grub-mkconfig' support for NetBSD. + +* Support setting a background image in `grub-mkconfig'. + +* Support multiple terminals in `grub-mkconfig'. + +* Regexp support. + +* MIPS multiboot2 support. + +* Multiboot2 tag support. + +* sunpc partition table support. + +* Add a number of new language features to GRUB script: `for', `while', + `until', `elif', function parameters, `break', `continue', `shift', + multi-line quoted strings, positional parameters with `setparams', + `return', filename wildcard expansion, and `!'. + +* Support nested partition tables. GRUB now prefers to name partitions + in the form `(hd0,msdos1,bsd1)' rather than `(hd0,1,a)'. + +* Speed up consecutive hostdisk operations on the same device. + +* Compile parts of `grub-emu' as modules. + +New in 1.98 - 2010-03-06: + +* Multiboot on EFI support. + +* Graphical menu support. + +* MIPS support. + +* Saved default menu entry support, with new utilities `grub-reboot' and + `grub-set-default'. + +* Unit testing framework. + +* Support for multiple terminals. + +* Encrypted password support, with a new utility `grub-mkpasswd-pbkdf2'. + +* `grub-mkfloppy' removed; use `grub-mkrescue' to create floppy images. + +* Add grub-probe support for GNU/Hurd. + +* Add support for gettext. + +New in 1.97: + +* Add support for loading XNU (MacOS X kernel). + +* ACPI override support. + +* Integrated gptsync. + +* Password protection support. + +* Partition manipulation tool. + +* Add `keystatus' command. + +* Unicode fonts are now used by default. + +* Add `hdparm' command. + +* Add support for getting the current date and time from CMOS as variables. + +* Add `drivemap' command. + +* Add support for RAID levels 4,6 and 10. + +* update-grub is replaced by grub-mkconfig. + +* When booting from PXE, PXE can be used to load files. + +* High resolution timer support. + +* Image loaders now support IO buffering. + +* Add `crc' command. + +* Add Cygwin support. + +* Add x86_64 EFI support. + +* Use LZMA compression instead of LZO. + +* Support for saving the environment from and loading the environment + from a file. + +* Allow the UUID to be used as device name. + +* The `search' command can use UUIDs now. + +* Add support for IEEE 1275 on i386. + +* Create partmap.lst and use it to automatically load partition map + modules. + +* grub-mkconfig supports os-prober to add operating systems to the + boot menu. + +* The ATA driver supports devices bigger than 2 TiB. + +* Add support for the UDF, AFS and EXT4 filesystems. + +* The ISO9660 filesystem supports the Joliet extension + +* Add support for loading kernels of FreeBSD, NetBSD and OpenBSD. + +* Add new command `sleep'. + +* Support for direct access to AT keyboards. + +* New utility `grub-fstest'. + +New in 1.96 - 2008-02-03: + +* The license term is changed to GNU General Public License Version 3. + +* grub-emu is made optional. Now you have to use + `--enable-grub-emu' to enable it. + +* Add Multiboot2 support. + +* grub-emu can access the host filesystem now. + +* Add support for the NTFS, cpio/tar and Reiserfs filesystems. + +* Add support for ATA/ATAPI. + +* Add update-grub script to generate grub.cfg. + +* Add grub-mkrescue script to generate floppy or ElTorito images + (i386-pc only). + +* Add support for background images in gfxterm (background_image command). + +* Add support for detection of 64-bit support in CPU (cpuid command). + +* GPT is now enabled in i386-pc target. + +* Add grub-install for EFI. + +* Ported to the following new platforms: Efika, coreboot (a.k.a. LinuxBIOS), + OLPC XO. + +* Add support for colored menu (menu_color_normal and menu_color_highlight + variables). + +* Fix support for loading Linux zImages (such as memtest86). + +New in 1.95 - 2006-10-15: + +* Number partitions from 1 instead of 0. For instance, the first + partition of "hd0" is now "hd0,1" but not "hd0,0". + +* grub-probefs is renamed to grub-probe, and supports printing a + guessed OS device name and a GRUB drive name. + +* RAID and LVM support is added. + +* New command, echo. + +* The disk API is changed to support 64-bit addressing. + +* A TGA loader is added for the video API. + +New in 1.94 - 2006-06-04: + +* Fix several serious bugs in HFS+. + +* Add experimental EFI support. Chainloading and Linux loading are + supported at the moment. + +* Add a new command "blocklist" to show a block list. + +* Use --with-platform to specify a boot environment. For now, efi, + ieee1275 and pc are supported. + +* Use the filename "kernel.elf" instead of "grubof" on ieee1275. + +* Install GRUB into pkglibdir instead of pkgdatadir. + +* Support environmental variables. You can export variables by the + command "export". + +* Remove the commands "default" and "timeout". They are now variables. + +* Add the commands "source" and "." to include a file. + +* Implement experimental Video API and a new terminal "gfxterm" based + on the Video API. + + +New in 1.93 - 2006-03-10: + +* Add support for the HFS+ wrapper. + +* Major improvements to scripting support. + +* Menu entries are now scriptable. + + +New in 1.92 - 2005-12-25: + +* Add support for GPT partition table format. + +* Add a new command "play" to play an audio file on PC. + +* Add support for Linux/ADFS partition table format. + +* Add support for BASH-like scripting. + +* Add support for Apple HFS+ filesystems. + + +New in 1.91 - 2005-10-15: + +* Add support for LZO version 2. + +* Support completion in the entry editor. + +* Add VBE support. + +* New commands, "search", "vbetest" and "vbeinfo". + +* The option BOOT_IMAGE is passed to Linux. + +* Add support for automatic decompression for gzip. + +* Add support for terminfo and serial. + +* Add support for x86_64. + +* GRUB itself is a Multiboot-compliant kernel. + +* Add new filesystems: XFS, SFS, and AFFS. + + +New in 1.90 - 2005-08-07: + +* Rename the project name PUPA to GRUB. Now this version is the + developmental version of GRUB officially. + +* The GRUB emulator ``grub-emu'' is added. + +* Add support for newworld Mac. This should work with other + PowerPC-based machines as well, if they use IEEE 1275 + (Open Firmware). + +* Too many changes to describe. Look at ChangeLog for more details. + + +New in 0.7: + +* Problems in cross-compiling PUPA are fixed. + +* Use -mrtd and -mregparm=3 to reduce the generated code sizes. This + means that any missing prototypes could be fatal. Also, you must take + care when writing assembly code. See the comments at the beginning of + startup.S, for more details. + +* New utility, ``pupa-setup''. This sets up PUPA to make it bootable + from a real disk. + +* New commands, "prefix", "insmod", "rmmod" and "lsmod" are added into + the rescue mode to manipulate PUPA modules. + +* Linux support is added. Initrd is not support yet. + +* Reduce the size of a core image significantly by compressing a large + part of the core image and decompressing itself at boot time. The + currently used algorithm is LZO (more precisely, LZO1X-999). So you + have to install LZO to build PUPA. See + , for more information. + + +New in 0.6 - 2002-12-27, Yoshinori K. Okuji: + +* The chainloader and the FAT filesystem are modularized. + +* The structure of the source tree is a bit changed. + +* Support for building loadable modules is added. + +* Some generic parts of pupa-mkimage are segregated. + +* Some documentation files are added, according to the GNU Coding + Standards. diff --git a/README b/README new file mode 100644 index 0000000..b30a4b6 --- /dev/null +++ b/README @@ -0,0 +1,22 @@ +This is GRUB 2, the second version of the GRand Unified Bootloader. +GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more +robust, more powerful, and more portable. + +See the file NEWS for a description of recent changes to GRUB 2. + +See the file INSTALL for instructions on how to build and install the +GRUB 2 data and program files. + +Please visit the official web page of GRUB 2, for more information. +The URL is . + +More extensive documentation is available in the Info manual, +accessible using 'info grub' after building and installing GRUB 2. +Please look at the GRUB Wiki for testing +procedures. + +There are a number of important user-visible differences from the +first version of GRUB, now known as GRUB Legacy. For a summary, please +see: + + info grub Introduction 'Changes from GRUB Legacy' diff --git a/THANKS b/THANKS new file mode 100644 index 0000000..82b4bc8 --- /dev/null +++ b/THANKS @@ -0,0 +1,38 @@ +GRUB 2 would not be what it is today without the invaluable help of +everybody who was kind enough to spend time testing it and reporting +bugs. + +The following people made especially gracious contributions of their +time and energy in helping to track down bugs, add new features, and +generally assist in the GRUB 2 maintainership process: + +Andrey Shuvikov +Bibo Mao +David Miller +Guillem Jover +Harley D. Eades III +Hitoshi Ozeki +Hollis Blanchard +Jeroen Dekkers +Johan Rydberg +Marco Gerards +Michael Guntsche +NIIBE Yutaka +Omniflux +Robert Bihlmeyer +Roger Leigh +Ruslan Nikolaev +Timothy Baldwin +Tomas Ebenlendr +Tristan Gingold +Tsuneyoshi Yasuo +Vesa Jaaskelainen +Vincent Guffens +Vincent Pelletier +Vladimir Serbinenko + +Also, we thank the projects GNU Automake and LZMA. Some code +was stolen from them. + +This project was supported by Information-technology Promotion Agency, +Japan. diff --git a/TODO b/TODO new file mode 100644 index 0000000..6ec1521 --- /dev/null +++ b/TODO @@ -0,0 +1,13 @@ + +Before working on improving GRUB, it's very important that you +make contact with the core GRUB developers. Things herein might be +slightly out of date or otherwise not easy to understand at first +glance. So write to first. + +For bug tracking, refer to: + + http://savannah.gnu.org/bugs/?group=grub + +Our wiki also lists some areas that need work: + + http://grub.enbug.org/ diff --git a/acinclude.m4 b/acinclude.m4 new file mode 100644 index 0000000..7c38155 --- /dev/null +++ b/acinclude.m4 @@ -0,0 +1,422 @@ +dnl Redefine AC_LANG_PROGRAM with a "-Wstrict-prototypes -Werror"-friendly +dnl version. Patch submitted to bug-autoconf in 2009-09-16. +m4_define([AC_LANG_PROGRAM(C)], +[$1 +int +main (void) +{ +dnl Do *not* indent the following line: there may be CPP directives. +dnl Don't move the `;' right after for the same reason. +$2 + ; + return 0; +}]) + + +dnl Check whether target compiler is working +AC_DEFUN([grub_PROG_TARGET_CC], +[AC_MSG_CHECKING([whether target compiler is working]) +AC_CACHE_VAL(grub_cv_prog_target_cc, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +asm (".globl start; start:"); +int main (void); +]], [[]])], + [grub_cv_prog_target_cc=yes], + [grub_cv_prog_target_cc=no]) +]) +AC_MSG_RESULT([$grub_cv_prog_target_cc]) + +if test "x$grub_cv_prog_target_cc" = xno; then + AC_MSG_ERROR([cannot compile for the target]) +fi +]) + + +dnl grub_ASM_USCORE checks if C symbols get an underscore after +dnl compiling to assembler. +dnl Written by Pavel Roskin. Based on grub_ASM_EXT_C written by +dnl Erich Boleyn and modified by Yoshinori K. Okuji. +AC_DEFUN([grub_ASM_USCORE], +[AC_REQUIRE([AC_PROG_CC]) +AC_REQUIRE([AC_PROG_EGREP]) +AC_MSG_CHECKING([if C symbols get an underscore after compilation]) +AC_CACHE_VAL(grub_cv_asm_uscore, +[cat > conftest.c <<\EOF +int func (int *); +int +func (int *list) +{ + *list = 0; + return *list; +} +EOF + +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -S conftest.c]) && test -s conftest.s; then + true +else + AC_MSG_ERROR([${CC-cc} failed to produce assembly code]) +fi + +if $EGREP '(^|[^_[:alnum]])_func' conftest.s >/dev/null 2>&1; then + HAVE_ASM_USCORE=1 + grub_cv_asm_uscore=yes +else + HAVE_ASM_USCORE=0 + grub_cv_asm_uscore=no +fi + +rm -f conftest*]) + +AC_MSG_RESULT([$grub_cv_asm_uscore]) +]) + + +dnl Some versions of `objcopy -O binary' vary their output depending +dnl on the link address. +AC_DEFUN([grub_PROG_OBJCOPY_ABSOLUTE], +[AC_MSG_CHECKING([whether ${OBJCOPY} works for absolute addresses]) +AC_CACHE_VAL(grub_cv_prog_objcopy_absolute, +[cat > conftest.c <<\EOF +void cmain (void); +void +cmain (void) +{ + *((int *) 0x1000) = 2; +} +EOF + +if AC_TRY_EVAL(ac_compile) && test -s conftest.o; then : +else + AC_MSG_ERROR([${CC-cc} cannot compile C source code]) +fi +grub_cv_prog_objcopy_absolute=yes +for link_addr in 0x2000 0x8000 0x7C00; do + if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},$link_addr conftest.o -o conftest.exec]); then : + else + AC_MSG_ERROR([${CC-cc} cannot link at address $link_addr]) + fi + if AC_TRY_COMMAND([${OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest]); then : + else + AC_MSG_ERROR([${OBJCOPY-objcopy} cannot create binary files]) + fi + if test ! -f conftest.old || AC_TRY_COMMAND([cmp -s conftest.old conftest]); then + mv -f conftest conftest.old + else + grub_cv_prog_objcopy_absolute=no + break + fi +done +rm -f conftest*]) +AC_MSG_RESULT([$grub_cv_prog_objcopy_absolute]) + +if test "x$grub_cv_prog_objcopy_absolute" = xno; then + AC_MSG_ERROR([GRUB requires a working absolute objcopy; upgrade your binutils]) +fi +]) + + +dnl Supply --build-id=none to ld if building modules. +dnl This suppresses warnings from ld on some systems +AC_DEFUN([grub_PROG_LD_BUILD_ID_NONE], +[AC_MSG_CHECKING([whether linker accepts --build-id=none]) +AC_CACHE_VAL(grub_cv_prog_ld_build_id_none, +[save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS -Wl,--build-id=none" +AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_prog_ld_build_id_none=yes], + [grub_cv_prog_ld_build_id_none=no]) +LDFLAGS="$save_LDFLAGS" +]) +AC_MSG_RESULT([$grub_cv_prog_ld_build_id_none]) + +if test "x$grub_cv_prog_ld_build_id_none" = xyes; then + TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=none" +fi +]) + + +dnl Mass confusion! +dnl Older versions of GAS interpret `.code16' to mean ``generate 32-bit +dnl instructions, but implicitly insert addr32 and data32 bytes so +dnl that the code works in real mode''. +dnl +dnl Newer versions of GAS interpret `.code16' to mean ``generate 16-bit +dnl instructions,'' which seems right. This requires the programmer +dnl to explicitly insert addr32 and data32 instructions when they want +dnl them. +dnl +dnl We only support the newer versions, because the old versions cause +dnl major pain, by requiring manual assembly to get 16-bit instructions into +dnl asm files. +AC_DEFUN([grub_I386_ASM_ADDR32], +[AC_REQUIRE([AC_PROG_CC]) +AC_REQUIRE([grub_I386_ASM_PREFIX_REQUIREMENT]) +AC_MSG_CHECKING([for .code16 addr32 assembler support]) +AC_CACHE_VAL(grub_cv_i386_asm_addr32, +[cat > conftest.s.in <<\EOF + .code16 +l1: @ADDR32@ movb %al, l1 +EOF + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + sed -e s/@ADDR32@/addr32/ < conftest.s.in > conftest.s +else + sed -e s/@ADDR32@/addr32\;/ < conftest.s.in > conftest.s +fi + +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -c conftest.s]) && test -s conftest.o; then + grub_cv_i386_asm_addr32=yes +else + grub_cv_i386_asm_addr32=no +fi + +rm -f conftest*]) + +AC_MSG_RESULT([$grub_cv_i386_asm_addr32])]) + +dnl check if our compiler is apple cc +dnl because it requires numerous workarounds +AC_DEFUN([grub_apple_cc], +[AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([whether our compiler is apple cc]) +AC_CACHE_VAL(grub_cv_apple_cc, +[if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_cc=yes +else + grub_cv_apple_cc=no +fi +]) + +AC_MSG_RESULT([$grub_cv_apple_cc])]) + +dnl check if our target compiler is apple cc +dnl because it requires numerous workarounds +AC_DEFUN([grub_apple_target_cc], +[AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([whether our target compiler is apple cc]) +AC_CACHE_VAL(grub_cv_apple_target_cc, +[if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_target_cc=yes +else + grub_cv_apple_target_cc=no +fi +]) + +AC_MSG_RESULT([$grub_cv_apple_target_cc])]) + + +dnl Later versions of GAS requires that addr32 and data32 prefixes +dnl appear in the same lines as the instructions they modify, while +dnl earlier versions requires that they appear in separate lines. +AC_DEFUN([grub_I386_ASM_PREFIX_REQUIREMENT], +[AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING(dnl +[whether addr32 must be in the same line as the instruction]) +AC_CACHE_VAL(grub_cv_i386_asm_prefix_requirement, +[cat > conftest.s <<\EOF + .code16 +l1: addr32 movb %al, l1 +EOF + +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -c conftest.s]) && test -s conftest.o; then + grub_cv_i386_asm_prefix_requirement=yes +else + grub_cv_i386_asm_prefix_requirement=no +fi + +rm -f conftest*]) + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + grub_tmp_addr32="addr32" + grub_tmp_data32="data32" +else + grub_tmp_addr32="addr32;" + grub_tmp_data32="data32;" +fi + +ADDR32=$grub_tmp_addr32 +DATA32=$grub_tmp_data32 + +AC_MSG_RESULT([$grub_cv_i386_asm_prefix_requirement])]) + + +dnl Check what symbol is defined as a bss start symbol. +dnl Written by Michael Hohmoth and Yoshinori K. Okuji. +AC_DEFUN([grub_CHECK_BSS_START_SYMBOL], +[AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([if __bss_start is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_uscore_uscore_bss_start_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl __bss_start")]])], + [grub_cv_check_uscore_uscore_bss_start_symbol=yes], + [grub_cv_check_uscore_uscore_bss_start_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_uscore_uscore_bss_start_symbol]) + +AC_MSG_CHECKING([if edata is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_edata_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl edata")]])], + [grub_cv_check_edata_symbol=yes], + [grub_cv_check_edata_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_edata_symbol]) + +AC_MSG_CHECKING([if _edata is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_uscore_edata_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl _edata")]])], + [grub_cv_check_uscore_edata_symbol=yes], + [grub_cv_check_uscore_edata_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_uscore_edata_symbol]) + +if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then + BSS_START_SYMBOL=__bss_start +elif test "x$grub_cv_check_edata_symbol" = xyes; then + BSS_START_SYMBOL=edata +elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then + BSS_START_SYMBOL=_edata +else + AC_MSG_ERROR([none of __bss_start, edata or _edata is defined]) +fi +]) + +dnl Check what symbol is defined as an end symbol. +dnl Written by Yoshinori K. Okuji. +AC_DEFUN([grub_CHECK_END_SYMBOL], +[AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([if end is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_end_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl end")]])], + [grub_cv_check_end_symbol=yes], + [grub_cv_check_end_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_end_symbol]) + +AC_MSG_CHECKING([if _end is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_uscore_end_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl _end")]])], + [grub_cv_check_uscore_end_symbol=yes], + [grub_cv_check_uscore_end_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_uscore_end_symbol]) + +if test "x$grub_cv_check_end_symbol" = xyes; then + END_SYMBOL=end +elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then + END_SYMBOL=_end +else + AC_MSG_ERROR([neither end nor _end is defined]) +fi +]) + +dnl Check if the C compiler generates calls to `__enable_execute_stack()'. +AC_DEFUN([grub_CHECK_ENABLE_EXECUTE_STACK],[ +AC_MSG_CHECKING([whether `$CC' generates calls to `__enable_execute_stack()']) +AC_LANG_CONFTEST([[ +void f (int (*p) (void)); +void g (int i) +{ + int nestedfunc (void) { return i; } + f (nestedfunc); +} +]]) +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -S conftest.c]) && test -s conftest.s; then + true +else + AC_MSG_ERROR([${CC-cc} failed to produce assembly code]) +fi +if grep __enable_execute_stack conftest.s >/dev/null 2>&1; then + NEED_ENABLE_EXECUTE_STACK=1 + AC_MSG_RESULT([yes]) +else + NEED_ENABLE_EXECUTE_STACK=0 + AC_MSG_RESULT([no]) +fi +rm -f conftest* +]) + + +dnl Check if the C compiler supports `-fstack-protector'. +AC_DEFUN([grub_CHECK_STACK_PROTECTOR],[ +[# Smashing stack protector. +ssp_possible=yes] +AC_MSG_CHECKING([whether `$CC' accepts `-fstack-protector']) +# Is this a reliable test case? +AC_LANG_CONFTEST([[void foo (void) { volatile char a[8]; a[3]; }]]) +[# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then] + AC_MSG_RESULT([yes]) + [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + ssp_possible=no] + AC_MSG_RESULT([no]) +[fi] +]) + +dnl Check if the C compiler supports `-mstack-arg-probe' (Cygwin). +AC_DEFUN([grub_CHECK_STACK_ARG_PROBE],[ +[# Smashing stack arg probe. +sap_possible=yes] +AC_MSG_CHECKING([whether `$CC' accepts `-mstack-arg-probe']) +AC_LANG_CONFTEST([[void foo (void) { volatile char a[8]; a[3]; }]]) +[if eval "$ac_compile -S -mstack-arg-probe -o conftest.s" 2> /dev/null; then] + AC_MSG_RESULT([yes]) + [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + sap_possible=no] + AC_MSG_RESULT([no]) +[fi] +]) + +dnl Check if ln can handle directories properly (mingw). +AC_DEFUN([grub_CHECK_LINK_DIR],[ +AC_MSG_CHECKING([whether ln can handle directories properly]) +[mkdir testdir 2>/dev/null +case $srcdir in +[\\/$]* | ?:[\\/]* ) reldir=$srcdir/include/grub/util ;; + *) reldir=../$srcdir/include/grub/util ;; +esac +if ln -s $reldir testdir/util 2>/dev/null ; then] + AC_MSG_RESULT([yes]) + [link_dir=yes +else + link_dir=no] + AC_MSG_RESULT([no]) +[fi +rm -rf testdir] +]) + +dnl Check if the C compiler supports `-fPIE'. +AC_DEFUN([grub_CHECK_PIE],[ +[# Position independent executable. +pie_possible=yes] +AC_MSG_CHECKING([whether `$CC' has `-fPIE' as default]) +# Is this a reliable test case? +AC_LANG_CONFTEST([[ +#ifdef __PIE__ +int main() { + return 0; +} +#else +#error NO __PIE__ DEFINED +#endif +]]) + +[# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then] + AC_MSG_RESULT([yes]) + [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + pie_possible=no] + AC_MSG_RESULT([no]) +[fi] +]) diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..6b62ce0 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,1090 @@ +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.11' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.11.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.11.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# Figure out how to run the assembler. -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_PROG_AS +# ---------- +AC_DEFUN([AM_PROG_AS], +[# By default we simply use the C compiler to build assembly code. +AC_REQUIRE([AC_PROG_CC]) +test "${CCAS+set}" = set || CCAS=$CC +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)]) +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)]) +_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl +]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 9 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 10 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +#serial 5 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 16 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.62])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) + +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 6 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 6 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/00gnulib.m4]) +m4_include([m4/alloca.m4]) +m4_include([m4/argp.m4]) +m4_include([m4/asm-underscore.m4]) +m4_include([m4/btowc.m4]) +m4_include([m4/codeset.m4]) +m4_include([m4/dirname.m4]) +m4_include([m4/dos.m4]) +m4_include([m4/double-slash-root.m4]) +m4_include([m4/errno_h.m4]) +m4_include([m4/error.m4]) +m4_include([m4/extensions.m4]) +m4_include([m4/fcntl-o.m4]) +m4_include([m4/float_h.m4]) +m4_include([m4/fnmatch.m4]) +m4_include([m4/getdelim.m4]) +m4_include([m4/getline.m4]) +m4_include([m4/getopt.m4]) +m4_include([m4/gettext.m4]) +m4_include([m4/glibc21.m4]) +m4_include([m4/gnulib-common.m4]) +m4_include([m4/gnulib-comp.m4]) +m4_include([m4/iconv.m4]) +m4_include([m4/include_next.m4]) +m4_include([m4/intlmacosx.m4]) +m4_include([m4/intmax_t.m4]) +m4_include([m4/inttypes_h.m4]) +m4_include([m4/langinfo_h.m4]) +m4_include([m4/lib-ld.m4]) +m4_include([m4/lib-link.m4]) +m4_include([m4/lib-prefix.m4]) +m4_include([m4/localcharset.m4]) +m4_include([m4/locale-fr.m4]) +m4_include([m4/locale-ja.m4]) +m4_include([m4/locale-zh.m4]) +m4_include([m4/longlong.m4]) +m4_include([m4/malloc.m4]) +m4_include([m4/mbrtowc.m4]) +m4_include([m4/mbsinit.m4]) +m4_include([m4/mbsrtowcs.m4]) +m4_include([m4/mbstate_t.m4]) +m4_include([m4/memchr.m4]) +m4_include([m4/mempcpy.m4]) +m4_include([m4/mmap-anon.m4]) +m4_include([m4/multiarch.m4]) +m4_include([m4/nl_langinfo.m4]) +m4_include([m4/nls.m4]) +m4_include([m4/po.m4]) +m4_include([m4/printf.m4]) +m4_include([m4/progtest.m4]) +m4_include([m4/rawmemchr.m4]) +m4_include([m4/realloc.m4]) +m4_include([m4/regex.m4]) +m4_include([m4/size_max.m4]) +m4_include([m4/sleep.m4]) +m4_include([m4/ssize_t.m4]) +m4_include([m4/stdbool.m4]) +m4_include([m4/stddef_h.m4]) +m4_include([m4/stdint.m4]) +m4_include([m4/stdint_h.m4]) +m4_include([m4/stdio_h.m4]) +m4_include([m4/stdlib_h.m4]) +m4_include([m4/strcase.m4]) +m4_include([m4/strchrnul.m4]) +m4_include([m4/strerror.m4]) +m4_include([m4/string_h.m4]) +m4_include([m4/strings_h.m4]) +m4_include([m4/strndup.m4]) +m4_include([m4/strnlen.m4]) +m4_include([m4/sys_wait_h.m4]) +m4_include([m4/sysexits.m4]) +m4_include([m4/unistd_h.m4]) +m4_include([m4/vasnprintf.m4]) +m4_include([m4/vsnprintf.m4]) +m4_include([m4/warn-on-use.m4]) +m4_include([m4/wchar_h.m4]) +m4_include([m4/wchar_t.m4]) +m4_include([m4/wcrtomb.m4]) +m4_include([m4/wctype_h.m4]) +m4_include([m4/wint_t.m4]) +m4_include([m4/xsize.m4]) +m4_include([acinclude.m4]) diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..d14707a --- /dev/null +++ b/autogen.sh @@ -0,0 +1,71 @@ +#! /usr/bin/env bash + +set -e + +export LC_CTYPE=C +export LC_COLLATE=C +unset LC_ALL + +autogen --version >/dev/null || exit 1 + +echo "Importing unicode..." +python util/import_unicode.py unicode/UnicodeData.txt unicode/BidiMirroring.txt unicode/ArabicShaping.txt grub-core/unidata.c + +echo "Importing libgcrypt..." +python util/import_gcry.py grub-core/lib/libgcrypt/ grub-core + +echo "Creating Makefile.tpl..." +python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl + +echo "Running autogen..." + +# Automake doesn't like including files from a path outside the project. +rm -f contrib grub-core/contrib +if [ "x${GRUB_CONTRIB}" != x ]; then + [ "${GRUB_CONTRIB}" = contrib ] || ln -s "${GRUB_CONTRIB}" contrib + [ "${GRUB_CONTRIB}" = grub-core/contrib ] || ln -s ../contrib grub-core/contrib +fi + +UTIL_DEFS=Makefile.util.def +CORE_DEFS='grub-core/Makefile.core.def grub-core/Makefile.gcry.def' + +for extra in contrib/*/Makefile.util.def; do + if test -e "$extra"; then + UTIL_DEFS="$UTIL_DEFS $extra" + fi +done + +for extra in contrib/*/Makefile.core.def; do + if test -e "$extra"; then + CORE_DEFS="$CORE_DEFS $extra" + fi +done + +cat $UTIL_DEFS | autogen -T Makefile.tpl | sed -e '/^$/{N;/^\n$/D;}' > Makefile.util.am +cat $CORE_DEFS | autogen -T Makefile.tpl | sed -e '/^$/{N;/^\n$/D;}' > grub-core/Makefile.core.am + +for extra in contrib/*/Makefile.common; do + if test -e "$extra"; then + echo "include $extra" >> Makefile.util.am + echo "include $extra" >> grub-core/Makefile.core.am + fi +done + +for extra in contrib/*/Makefile.util.common; do + if test -e "$extra"; then + echo "include $extra" >> Makefile.util.am + fi +done + +for extra in contrib/*/Makefile.core.common; do + if test -e "$extra"; then + echo "include $extra" >> grub-core/Makefile.core.am + fi +done + +echo "Saving timestamps..." +echo timestamp > stamp-h.in + +echo "Running autoreconf..." +autoreconf -vi +exit 0 diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 new file mode 100644 index 0000000..541aa52 --- /dev/null +++ b/autom4te.cache/output.0 @@ -0,0 +1,24052 @@ +@%:@! /bin/sh +@%:@ Guess values for system-dependent variables and create Makefiles. +@%:@ Generated by GNU Autoconf 2.68 for GRUB 1.99. +@%:@ +@%:@ Report bugs to . +@%:@ +@%:@ +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +@%:@ Foundation, Inc. +@%:@ +@%:@ +@%:@ This configure script is free software; the Free Software Foundation +@%:@ gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in @%:@( + *posix*) : + set -o posix ;; @%:@( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in @%:@( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in @%:@(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in @%:@( + *posix*) : + set -o posix ;; @%:@( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in @%:@( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + case $- in @%:@ (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-grub@gnu.org +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +@%:@ as_fn_unset VAR +@%:@ --------------- +@%:@ Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +@%:@ as_fn_set_status STATUS +@%:@ ----------------------- +@%:@ Set @S|@? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} @%:@ as_fn_set_status + +@%:@ as_fn_exit STATUS +@%:@ ----------------- +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} @%:@ as_fn_exit + +@%:@ as_fn_mkdir_p +@%:@ ------------- +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} @%:@ as_fn_mkdir_p +@%:@ as_fn_append VAR VALUE +@%:@ ---------------------- +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take +@%:@ advantage of any shell optimizations that allow amortized linear growth over +@%:@ repeated appends, instead of the typical quadratic growth present in naive +@%:@ implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +@%:@ as_fn_arith ARG... +@%:@ ------------------ +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments +@%:@ must be portable across @S|@(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] +@%:@ ---------------------------------------- +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the +@%:@ script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} @%:@ as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in @%:@((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in @%:@( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIB@&t@OBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='GRUB' +PACKAGE_TARNAME='grub' +PACKAGE_VERSION='1.99' +PACKAGE_STRING='GRUB 1.99' +PACKAGE_BUGREPORT='bug-grub@gnu.org' +PACKAGE_URL='' + +ac_unique_file="include/grub/dl.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +gt_needs= +ac_func_list= +ac_header_list= +gl_fnmatch_required=POSIX +gl_getopt_required=POSIX +gl_getopt_required=POSIX +ac_subst_vars='gltests_LTLIBOBJS +gltests_LIBOBJS +gl_LTLIBOBJS +gl_LIBOBJS +am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIB@&t@OBJS +COND_CYGWIN_FALSE +COND_CYGWIN_TRUE +COND_HAVE_ASM_USCORE_FALSE +COND_HAVE_ASM_USCORE_TRUE +COND_ENABLE_EFIEMU_FALSE +COND_ENABLE_EFIEMU_TRUE +COND_APPLE_CC_FALSE +COND_APPLE_CC_TRUE +COND_GRUB_PE2ELF_FALSE +COND_GRUB_PE2ELF_TRUE +COND_HAVE_FONT_SOURCE_FALSE +COND_HAVE_FONT_SOURCE_TRUE +COND_GRUB_MKFONT_FALSE +COND_GRUB_MKFONT_TRUE +COND_GRUB_EMU_PCI_FALSE +COND_GRUB_EMU_PCI_TRUE +COND_GRUB_EMU_SDL_FALSE +COND_GRUB_EMU_SDL_TRUE +COND_GRUB_EMU_USB_FALSE +COND_GRUB_EMU_USB_TRUE +COND_MAN_PAGES_FALSE +COND_MAN_PAGES_TRUE +COND_HOST_KFREEBSD_FALSE +COND_HOST_KFREEBSD_TRUE +COND_HOST_WINDOWS_FALSE +COND_HOST_WINDOWS_TRUE +COND_HOST_NETBSD_FALSE +COND_HOST_NETBSD_TRUE +COND_HOST_LINUX_FALSE +COND_HOST_LINUX_TRUE +COND_HOST_HURD_FALSE +COND_HOST_HURD_TRUE +COND_mips_FALSE +COND_mips_TRUE +COND_powerpc_ieee1275_FALSE +COND_powerpc_ieee1275_TRUE +COND_sparc64_ieee1275_FALSE +COND_sparc64_ieee1275_TRUE +COND_mips_qemu_mips_FALSE +COND_mips_qemu_mips_TRUE +COND_mips_yeeloong_FALSE +COND_mips_yeeloong_TRUE +COND_x86_64_efi_FALSE +COND_x86_64_efi_TRUE +COND_i386_multiboot_FALSE +COND_i386_multiboot_TRUE +COND_i386_coreboot_FALSE +COND_i386_coreboot_TRUE +COND_i386_ieee1275_FALSE +COND_i386_ieee1275_TRUE +COND_i386_qemu_FALSE +COND_i386_qemu_TRUE +COND_i386_efi_FALSE +COND_i386_efi_TRUE +COND_i386_pc_FALSE +COND_i386_pc_TRUE +COND_emu_FALSE +COND_emu_TRUE +NEED_REGISTER_FRAME_INFO +NEED_ENABLE_EXECUTE_STACK +END_SYMBOL +BSS_START_SYMBOL +DATA32 +ADDR32 +HAVE_ASM_USCORE +USE_APPLE_CC_FIXES +GRUB_BOOT_MACHINE_LINK_ADDR +pkglibrootdir +LIBNVPAIR +LIBZFS +LIBLZMA +LIBGEOM +LIBDEVMAPPER +freetype_libs +freetype_cflags +enable_grub_mkfont +FREETYPE +enable_grub_emu_pci +enable_grub_emu_usb +enable_grub_emu_sdl +LIBPCIACCESS +LIBSDL +LIBUSB +LIBCURSES +enable_efiemu +HOST_CCASFLAGS +HOST_CPPFLAGS +HOST_LDFLAGS +HOST_CFLAGS +TARGET_IMG_BASE_LDOPT +TARGET_IMG_CFLAGS +TARGET_IMG_LDFLAGS +TARGET_IMG_LDSCRIPT +TARGET_CCASFLAGS +TARGET_CPPFLAGS +TARGET_LDFLAGS +TARGET_CFLAGS +TARGET_MODULE_FORMAT +TARGET_APPLE_CC +TARGET_OBJ2ELF +TARGET_CCAS +TARGET_CPP +OBJCONV +HOST_CC +NM +OBJCOPY +ac_ct_TARGET_CC +TARGET_CC +LIBGNU_LTLIBDEPS +LIBGNU_LIBDEPS +gltests_WITNESS +REPLACE_ISWCNTRL +HAVE_WCTYPE_H +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H +NEXT_WCTYPE_H +REPLACE_ISWBLANK +HAVE_ISWBLANK +HAVE_ISWCNTRL +HAVE_WINT_T +HAVE_WCHAR_H +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H +NEXT_WCHAR_H +HAVE_UNISTD_H +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H +NEXT_UNISTD_H +SYSEXITS_H +HAVE_SYSEXITS_H +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H +NEXT_SYSEXITS_H +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H +NEXT_SYS_WAIT_H +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H +NEXT_STRINGS_H +NEXT_AS_FIRST_DIRECTIVE_STRING_H +NEXT_STRING_H +HAVE_DECL_STRNCASECMP +HAVE_STRCASECMP +HAVE_RANDOM_H +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H +NEXT_STDLIB_H +NEXT_AS_FIRST_DIRECTIVE_STDIO_H +NEXT_STDIO_H +ASM_SYMBOL_PREFIX +STDINT_H +WINT_T_SUFFIX +WCHAR_T_SUFFIX +SIG_ATOMIC_T_SUFFIX +SIZE_T_SUFFIX +PTRDIFF_T_SUFFIX +HAVE_SIGNED_WINT_T +HAVE_SIGNED_WCHAR_T +HAVE_SIGNED_SIG_ATOMIC_T +BITSIZEOF_WINT_T +BITSIZEOF_WCHAR_T +BITSIZEOF_SIG_ATOMIC_T +BITSIZEOF_SIZE_T +BITSIZEOF_PTRDIFF_T +HAVE_SYS_BITYPES_H +HAVE_SYS_INTTYPES_H +HAVE_STDINT_H +NEXT_AS_FIRST_DIRECTIVE_STDINT_H +NEXT_STDINT_H +HAVE_SYS_TYPES_H +HAVE_INTTYPES_H +HAVE_UNSIGNED_LONG_LONG_INT +HAVE_LONG_LONG_INT +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H +NEXT_STDDEF_H +STDDEF_H +HAVE_WCHAR_T +REPLACE_NULL +HAVE__BOOL +STDBOOL_H +APPLE_UNIVERSAL_BUILD +UNDEFINE_STRTOK_R +REPLACE_STRTOK_R +REPLACE_STRSIGNAL +REPLACE_STRNLEN +REPLACE_STRNDUP +REPLACE_STRNCAT +REPLACE_STRERROR +REPLACE_STRCASESTR +REPLACE_STRSTR +REPLACE_STRDUP +REPLACE_STPNCPY +REPLACE_MEMMEM +REPLACE_MEMCHR +HAVE_STRVERSCMP +HAVE_DECL_STRSIGNAL +HAVE_DECL_STRTOK_R +HAVE_STRCASESTR +HAVE_STRSEP +HAVE_STRPBRK +HAVE_DECL_STRNLEN +HAVE_DECL_STRNDUP +HAVE_DECL_STRDUP +HAVE_STRCHRNUL +HAVE_STPNCPY +HAVE_STPCPY +HAVE_RAWMEMCHR +HAVE_DECL_MEMRCHR +HAVE_MEMPCPY +HAVE_DECL_MEMMEM +HAVE_MEMCHR +HAVE_MBSLEN +GNULIB_STRVERSCMP +GNULIB_STRSIGNAL +GNULIB_STRERROR +GNULIB_MBSTOK_R +GNULIB_MBSSEP +GNULIB_MBSSPN +GNULIB_MBSPBRK +GNULIB_MBSCSPN +GNULIB_MBSCASESTR +GNULIB_MBSPCASECMP +GNULIB_MBSNCASECMP +GNULIB_MBSCASECMP +GNULIB_MBSSTR +GNULIB_MBSRCHR +GNULIB_MBSCHR +GNULIB_MBSNLEN +GNULIB_MBSLEN +GNULIB_STRTOK_R +GNULIB_STRCASESTR +GNULIB_STRSTR +GNULIB_STRSEP +GNULIB_STRPBRK +GNULIB_STRNLEN +GNULIB_STRNDUP +GNULIB_STRNCAT +GNULIB_STRDUP +GNULIB_STRCHRNUL +GNULIB_STPNCPY +GNULIB_STPCPY +GNULIB_RAWMEMCHR +GNULIB_MEMRCHR +GNULIB_MEMPCPY +GNULIB_MEMMEM +GNULIB_MEMCHR +LOCALE_FR_UTF8 +LOCALE_ZH_CN +LOCALE_JA +REPLACE_UNSETENV +REPLACE_STRTOD +REPLACE_SETENV +REPLACE_REALPATH +REPLACE_REALLOC +REPLACE_PUTENV +REPLACE_MKSTEMP +REPLACE_MALLOC +REPLACE_CANONICALIZE_FILE_NAME +REPLACE_CALLOC +HAVE_UNSETENV +HAVE_UNLOCKPT +HAVE_SYS_LOADAVG_H +HAVE_STRUCT_RANDOM_DATA +HAVE_STRTOULL +HAVE_STRTOLL +HAVE_STRTOD +HAVE_SETENV +HAVE_RPMATCH +HAVE_REALPATH +HAVE_RANDOM_R +HAVE_PTSNAME +HAVE_MKSTEMPS +HAVE_MKSTEMP +HAVE_MKOSTEMPS +HAVE_MKOSTEMP +HAVE_MKDTEMP +HAVE_GRANTPT +HAVE_GETSUBOPT +HAVE_DECL_GETLOADAVG +HAVE_CANONICALIZE_FILE_NAME +HAVE_ATOLL +HAVE__EXIT +GNULIB_UNSETENV +GNULIB_UNLOCKPT +GNULIB_STRTOULL +GNULIB_STRTOLL +GNULIB_STRTOD +GNULIB_SETENV +GNULIB_RPMATCH +GNULIB_REALPATH +GNULIB_REALLOC_POSIX +GNULIB_RANDOM_R +GNULIB_PUTENV +GNULIB_PTSNAME +GNULIB_MKSTEMPS +GNULIB_MKSTEMP +GNULIB_MKOSTEMPS +GNULIB_MKOSTEMP +GNULIB_MKDTEMP +GNULIB_MALLOC_POSIX +GNULIB_GRANTPT +GNULIB_GETSUBOPT +GNULIB_GETLOADAVG +GNULIB_CANONICALIZE_FILE_NAME +GNULIB_CALLOC_POSIX +GNULIB_ATOLL +GNULIB__EXIT +LOCALCHARSET_TESTS_ENVIRONMENT +GLIBC21 +HAVE_LANGINFO_YESEXPR +HAVE_LANGINFO_ERA +HAVE_LANGINFO_T_FMT_AMPM +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_H +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H +NEXT_LANGINFO_H +REPLACE_NL_LANGINFO +HAVE_NL_LANGINFO +GNULIB_NL_LANGINFO +HAVE_GETOPT_H +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H +NEXT_GETOPT_H +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS +UNISTD_H_HAVE_WINSOCK2_H +REPLACE_WRITE +REPLACE_USLEEP +REPLACE_UNLINKAT +REPLACE_UNLINK +REPLACE_TTYNAME_R +REPLACE_SYMLINK +REPLACE_SLEEP +REPLACE_RMDIR +REPLACE_READLINK +REPLACE_PWRITE +REPLACE_PREAD +REPLACE_LSEEK +REPLACE_LINKAT +REPLACE_LINK +REPLACE_LCHOWN +REPLACE_GETPAGESIZE +REPLACE_GETGROUPS +REPLACE_GETCWD +REPLACE_FCHOWNAT +REPLACE_DUP2 +REPLACE_DUP +REPLACE_CLOSE +REPLACE_CHOWN +HAVE_SYS_PARAM_H +HAVE_OS_H +HAVE_DECL_GETUSERSHELL +HAVE_DECL_GETPAGESIZE +HAVE_DECL_GETLOGIN_R +HAVE_DECL_ENVIRON +HAVE_USLEEP +HAVE_UNLINKAT +HAVE_TTYNAME_R +HAVE_SYMLINKAT +HAVE_SYMLINK +HAVE_SLEEP +HAVE_READLINKAT +HAVE_READLINK +HAVE_PWRITE +HAVE_PREAD +HAVE_PIPE2 +HAVE_LINKAT +HAVE_LINK +HAVE_LCHOWN +HAVE_GETPAGESIZE +HAVE_GETLOGIN +HAVE_GETHOSTNAME +HAVE_GETGROUPS +HAVE_GETDTABLESIZE +HAVE_GETDOMAINNAME +HAVE_FTRUNCATE +HAVE_FSYNC +HAVE_FCHOWNAT +HAVE_FCHDIR +HAVE_FACCESSAT +HAVE_EUIDACCESS +HAVE_DUP3 +HAVE_DUP2 +HAVE_CHOWN +GNULIB_WRITE +GNULIB_USLEEP +GNULIB_UNLINKAT +GNULIB_UNLINK +GNULIB_UNISTD_H_SIGPIPE +GNULIB_UNISTD_H_GETOPT +GNULIB_TTYNAME_R +GNULIB_SYMLINKAT +GNULIB_SYMLINK +GNULIB_SLEEP +GNULIB_RMDIR +GNULIB_READLINKAT +GNULIB_READLINK +GNULIB_PWRITE +GNULIB_PREAD +GNULIB_PIPE2 +GNULIB_LSEEK +GNULIB_LINKAT +GNULIB_LINK +GNULIB_LCHOWN +GNULIB_GETUSERSHELL +GNULIB_GETPAGESIZE +GNULIB_GETLOGIN_R +GNULIB_GETLOGIN +GNULIB_GETHOSTNAME +GNULIB_GETGROUPS +GNULIB_GETDTABLESIZE +GNULIB_GETDOMAINNAME +GNULIB_GETCWD +GNULIB_FTRUNCATE +GNULIB_FSYNC +GNULIB_FCHOWNAT +GNULIB_FCHDIR +GNULIB_FACCESSAT +GNULIB_EUIDACCESS +GNULIB_ENVIRON +GNULIB_DUP3 +GNULIB_DUP2 +GNULIB_CLOSE +GNULIB_CHOWN +REPLACE_VSPRINTF +REPLACE_VSNPRINTF +REPLACE_VPRINTF +REPLACE_VFPRINTF +REPLACE_VDPRINTF +REPLACE_VASPRINTF +REPLACE_TMPFILE +REPLACE_STDIO_WRITE_FUNCS +REPLACE_SPRINTF +REPLACE_SNPRINTF +REPLACE_RENAMEAT +REPLACE_RENAME +REPLACE_REMOVE +REPLACE_PRINTF +REPLACE_POPEN +REPLACE_PERROR +REPLACE_OBSTACK_PRINTF +REPLACE_GETLINE +REPLACE_GETDELIM +REPLACE_FTELLO +REPLACE_FTELL +REPLACE_FSEEKO +REPLACE_FSEEK +REPLACE_FREOPEN +REPLACE_FPURGE +REPLACE_FPRINTF +REPLACE_FOPEN +REPLACE_FFLUSH +REPLACE_FCLOSE +REPLACE_DPRINTF +HAVE_VDPRINTF +HAVE_VASPRINTF +HAVE_RENAMEAT +HAVE_FTELLO +HAVE_FSEEKO +HAVE_DPRINTF +HAVE_DECL_VSNPRINTF +HAVE_DECL_SNPRINTF +HAVE_DECL_OBSTACK_PRINTF +HAVE_DECL_GETLINE +HAVE_DECL_GETDELIM +HAVE_DECL_FPURGE +GNULIB_VSPRINTF_POSIX +GNULIB_VSNPRINTF +GNULIB_VPRINTF_POSIX +GNULIB_VPRINTF +GNULIB_VFPRINTF_POSIX +GNULIB_VFPRINTF +GNULIB_VDPRINTF +GNULIB_VASPRINTF +GNULIB_TMPFILE +GNULIB_STDIO_H_SIGPIPE +GNULIB_SPRINTF_POSIX +GNULIB_SNPRINTF +GNULIB_RENAMEAT +GNULIB_RENAME +GNULIB_REMOVE +GNULIB_PUTS +GNULIB_PUTCHAR +GNULIB_PUTC +GNULIB_PRINTF_POSIX +GNULIB_PRINTF +GNULIB_POPEN +GNULIB_PERROR +GNULIB_OBSTACK_PRINTF_POSIX +GNULIB_OBSTACK_PRINTF +GNULIB_GETLINE +GNULIB_GETDELIM +GNULIB_FWRITE +GNULIB_FTELLO +GNULIB_FTELL +GNULIB_FSEEKO +GNULIB_FSEEK +GNULIB_FREOPEN +GNULIB_FPUTS +GNULIB_FPUTC +GNULIB_FPURGE +GNULIB_FPRINTF_POSIX +GNULIB_FPRINTF +GNULIB_FOPEN +GNULIB_FFLUSH +GNULIB_FCLOSE +GNULIB_DPRINTF +FNMATCH_H +FLOAT_H +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H +NEXT_FLOAT_H +EOVERFLOW_VALUE +EOVERFLOW_HIDDEN +ENOLINK_VALUE +ENOLINK_HIDDEN +EMULTIHOP_VALUE +EMULTIHOP_HIDDEN +ERRNO_H +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H +NEXT_ERRNO_H +PRAGMA_SYSTEM_HEADER +INCLUDE_NEXT_AS_FIRST_DIRECTIVE +INCLUDE_NEXT +LOCALE_FR +REPLACE_WCWIDTH +REPLACE_WCSNRTOMBS +REPLACE_WCSRTOMBS +REPLACE_WCRTOMB +REPLACE_MBSNRTOWCS +REPLACE_MBSRTOWCS +REPLACE_MBRLEN +REPLACE_MBRTOWC +REPLACE_MBSINIT +REPLACE_WCTOB +REPLACE_BTOWC +REPLACE_MBSTATE_T +HAVE_DECL_WCWIDTH +HAVE_DECL_WCTOB +HAVE_WCSNRTOMBS +HAVE_WCSRTOMBS +HAVE_WCRTOMB +HAVE_MBSNRTOWCS +HAVE_MBSRTOWCS +HAVE_MBRLEN +HAVE_MBRTOWC +HAVE_MBSINIT +HAVE_BTOWC +GNULIB_WCWIDTH +GNULIB_WCSNRTOMBS +GNULIB_WCSRTOMBS +GNULIB_WCRTOMB +GNULIB_MBSNRTOWCS +GNULIB_MBSRTOWCS +GNULIB_MBRLEN +GNULIB_MBRTOWC +GNULIB_MBSINIT +GNULIB_WCTOB +GNULIB_BTOWC +GETOPT_H +ALLOCA_H +ALLOCA +GL_COND_LIBTOOL_FALSE +GL_COND_LIBTOOL_TRUE +BUILD_CC +LIBUTIL +HELP2MAN +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +XGETTEXT_EXTRA_OPTIONS +MSGMERGE +XGETTEXT_015 +XGETTEXT +GMSGFMT_015 +MSGFMT_015 +GMSGFMT +MSGFMT +GETTEXT_MACRO_VERSION +USE_NLS +am__fastdepCCAS_FALSE +am__fastdepCCAS_TRUE +CCASDEPMODE +CCASFLAGS +CCAS +EGREP +GREP +CPP +LN_S +YFLAGS +LEXLIB +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +LEX_OUTPUT_ROOT +LEX +RANLIB +FONT_SOURCE +YACC +CMP +grubdirname +bootdirname +platform +host_kernel +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_os +target_vendor +target_cpu +target +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +with_platform +enable_dependency_tracking +enable_nls +with_gnu_ld +enable_rpath +with_libiconv_prefix +with_libintl_prefix +enable_largefile +with_included_regex +enable_werror +enable_efiemu +enable_mm_debug +enable_grub_emu_usb +enable_grub_emu_sdl +enable_grub_emu_pci +enable_grub_mkfont +enable_device_mapper +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +YACC +YFLAGS +CPP +CCAS +CCASFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures GRUB 1.99 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + @<:@@S|@ac_default_prefix@:>@ + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + @<:@PREFIX@:>@ + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/grub@:>@ + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of GRUB 1.99:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + --disable-largefile omit support for large files + --disable-werror do not use -Werror when building GRUB + --enable-efiemu build and install the efiemu runtimes + (default=guessed) + --enable-mm-debug include memory manager debugging + --enable-grub-emu-usb build and install the `grub-emu' debugging utility + with USB support (default=guessed) + --enable-grub-emu-sdl build and install the `grub-emu' debugging utility + with SDL support (default=guessed) + --enable-grub-emu-pci build and install the `grub-emu' debugging utility + with PCI support (potentially dangerous) + (default=no) + --enable-grub-mkfont build and install the `grub-mkfont' utility + (default=guessed) + --enable-device-mapper enable Linux device-mapper support (default=guessed) + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-platform=PLATFORM + select the host platform @<:@@<:@guessed@:>@@:>@ + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --without-included-regex + don't compile regex; this is the default on systems + with recent-enough versions of the GNU C Library + (use with caution on other systems). + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + YACC The `Yet Another Compiler Compiler' implementation to use. + Defaults to the first program found out of: `bison -y', `byacc', + `yacc'. + YFLAGS The list of arguments that will be passed by default to @S|@YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. + CPP C preprocessor + CCAS assembler compiler command (defaults to CC) + CCASFLAGS assembler compiler flags (defaults to CFLAGS) + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +GRUB configure 1.99 +generated by GNU Autoconf 2.68 + +Copyright (C) 2010 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +@%:@ ac_fn_c_try_compile LINENO +@%:@ -------------------------- +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_compile + +@%:@ ac_fn_c_try_link LINENO +@%:@ ----------------------- +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_link + +@%:@ ac_fn_c_try_cpp LINENO +@%:@ ---------------------- +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_cpp + +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +@%:@ ------------------------------------------------------- +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using +@%:@ the include files in INCLUDES and setting the cache variable VAR +@%:@ accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +@%:@include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------- ## +## Report this to bug-grub@gnu.org ## +## ------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_header_mongrel + +@%:@ ac_fn_c_try_run LINENO +@%:@ ---------------------- +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes +@%:@ that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_run + +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +@%:@ ------------------------------------------------------- +@%:@ Tests whether HEADER exists and can be compiled using the include files in +@%:@ INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +@%:@include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_header_compile + +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +@%:@ -------------------------------------------- +@%:@ Tries to find the compile-time value of EXPR in a program that includes +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be +@%:@ computed +ac_fn_c_compute_int () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=0 ac_mid=0 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid; break +else + as_fn_arith $ac_mid + 1 && ac_lo=$as_val + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=-1 ac_mid=-1 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=$ac_mid; break +else + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + ac_lo= ac_hi= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid +else + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in @%:@(( +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +'') ac_retval=1 ;; +esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } +@%:@include +@%:@include +int +main (void) +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (($2) < 0) + { + long int i = longval (); + if (i != ($2)) + return 1; + fprintf (f, "%ld", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ($2)) + return 1; + fprintf (f, "%lu", i); + } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + echo >>conftest.val; read $3 &5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main (void) +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_func + +@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES +@%:@ ---------------------------------------------------- +@%:@ Tries to find if the field MEMBER exists in type AGGR, after including +@%:@ INCLUDES, setting cache variable VAR accordingly. +ac_fn_c_check_member () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +$as_echo_n "checking for $2.$3... " >&6; } +if eval \${$4+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main (void) +{ +static $2 ac_aggr; +if (ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main (void) +{ +static $2 ac_aggr; +if (sizeof ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + eval "$4=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_member + +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES +@%:@ ------------------------------------------- +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache +@%:@ variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_type + +@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +@%:@ --------------------------------------------- +@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +@%:@ accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +@%:@ifndef $as_decl_name +@%:@ifdef __cplusplus + (void) $as_decl_use; +@%:@else + (void) $as_decl_name; +@%:@endif +@%:@endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_decl +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by GRUB $as_me 1.99, which was +generated by GNU Autoconf 2.68. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in @%:@(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +gt_needs="$gt_needs " +as_fn_append ac_func_list " flockfile" +as_fn_append ac_func_list " funlockfile" +as_fn_append ac_header_list " features.h" +as_fn_append ac_header_list " linewrap.h" +as_fn_append ac_func_list " btowc" +as_fn_append ac_header_list " errno.h" +as_fn_append ac_header_list " float.h" +as_fn_append ac_func_list " isblank" +as_fn_append ac_func_list " iswctype" +as_fn_append ac_func_list " mbsrtowcs" +as_fn_append ac_func_list " mempcpy" +as_fn_append ac_func_list " wmemchr" +as_fn_append ac_func_list " wmemcpy" +as_fn_append ac_func_list " wmempcpy" +as_fn_append ac_header_list " wctype.h" +as_fn_append ac_func_list " getdelim" +gl_getopt_required=GNU +as_fn_append ac_header_list " getopt.h" +as_fn_append ac_header_list " langinfo.h" +as_fn_append ac_func_list " mbsinit" +as_fn_append ac_func_list " mbrtowc" +as_fn_append ac_header_list " sys/mman.h" +as_fn_append ac_func_list " mprotect" +as_fn_append ac_func_list " memchr" +as_fn_append ac_func_list " nl_langinfo" +as_fn_append ac_header_list " locale.h" +as_fn_append ac_func_list " wcscoll" +as_fn_append ac_func_list " sleep" +as_fn_append ac_header_list " stddef.h" +as_fn_append ac_header_list " stdint.h" +as_fn_append ac_header_list " wchar.h" +as_fn_append ac_header_list " stdio.h" +as_fn_append ac_header_list " stdlib.h" +as_fn_append ac_header_list " sys/socket.h" +as_fn_append ac_header_list " string.h" +as_fn_append ac_header_list " strings.h" +as_fn_append ac_func_list " strndup" +as_fn_append ac_header_list " sys/wait.h" +as_fn_append ac_header_list " sysexits.h" +as_fn_append ac_header_list " unistd.h" +as_fn_append ac_func_list " vasnprintf" +as_fn_append ac_func_list " wcrtomb" +as_fn_append ac_func_list " iswcntrl" +as_fn_append ac_func_list " iswblank" +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_aux_dir= +for ac_dir in build-aux "$srcdir"/build-aux; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +# We don't want -g -O2 by default in CFLAGS +: ${CFLAGS=""} + +# Checks for host and target systems. +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 +$as_echo_n "checking target system type... " >&6; } +if ${ac_cv_target+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$target_alias" = x; then + ac_cv_target=$ac_cv_host +else + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 +$as_echo "$ac_cv_target" >&6; } +case $ac_cv_target in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; +esac +target=$ac_cv_target +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_target +shift +target_cpu=$1 +target_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +target_os=$* +IFS=$ac_save_IFS +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac + + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- + +am__api_version='1.11' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in @%:@(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='grub' + VERSION='1.99' + + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +@%:@define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + + + +ac_config_headers="$ac_config_headers config-util.h" + + +# Program name transformations + + +# Optimization flag. Allow user to override. +if test "x$TARGET_CFLAGS" = x; then + TARGET_CFLAGS="$TARGET_CFLAGS -Os" +fi + +# Default HOST_CPPFLAGS +HOST_CPPFLAGS="$HOST_CPPFLAGS -Wall -W" +HOST_CPPFLAGS="$HOST_CPPFLAGS -I\$(top_builddir)/include" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_UTIL=1" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_LIBDIR=\\\"\$(pkglibdir)\\\"" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DLOCALEDIR=\\\"\$(localedir)\\\"" + +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -Wall -W" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_srcdir)/include" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include" + +case "$target_cpu" in + i[3456]86) target_cpu=i386 ;; + amd64) target_cpu=x86_64 ;; + sparc) target_cpu=sparc64 ;; + mipsel|mips64el) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPSEL=1"; + ;; + mips|mips64) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPS=1"; + ;; +esac + +# Specify the platform (such as firmware). + +@%:@ Check whether --with-platform was given. +if test "${with_platform+set}" = set; then : + withval=$with_platform; +fi + + +# Guess the platform if not specified. +if test "x$with_platform" = x; then + case "$target_cpu"-"$target_vendor" in + i386-apple) platform=efi ;; + i386-*) platform=pc ;; + x86_64-apple) platform=efi ;; + x86_64-*) platform=pc ;; + powerpc-*) platform=ieee1275 ;; + powerpc64-*) platform=ieee1275 ;; + sparc64-*) platform=ieee1275 ;; + mips-*) platform=yeeloong ;; + *) as_fn_error $? "unsupported CPU: \"$target_cpu\"" "$LINENO" 5 ;; + esac +else + platform="$with_platform" +fi + +case "$target_cpu"-"$platform" in + x86_64-efi) ;; + x86_64-emu) ;; + x86_64-*) target_cpu=i386 ;; + powerpc64-ieee1275) target_cpu=powerpc ;; +esac + +# Check if the platform is supported, make final adjustments. +case "$target_cpu"-"$platform" in + i386-efi) ;; + x86_64-efi) ;; + i386-pc) ;; + i386-multiboot) ;; + i386-coreboot) ;; + i386-linuxbios) platform=coreboot ;; + i386-ieee1275) ;; + i386-qemu) ;; + powerpc-ieee1275) ;; + sparc64-ieee1275) ;; + mips-qemu-mips) ;; + mips-yeeloong) ;; + *-emu) ;; + *) as_fn_error $? "platform \"$platform\" is not supported for target CPU \"$target_cpu\"" "$LINENO" 5 ;; +esac + +case "$target_cpu" in + i386 | powerpc) target_m32=1 ;; + x86_64 | sparc64) target_m64=1 ;; +esac + +case "$host_os" in + mingw32*) host_os=cygwin ;; +esac + +# This normalizes the names, and creates a new variable ("host_kernel") +# while at it, since the mapping is not always 1:1 (e.g. different OSes +# using the same kernel type). +case "$host_os" in + gnu*) host_kernel=hurd ;; + linux*) host_kernel=linux ;; + freebsd* | kfreebsd*-gnu) host_kernel=kfreebsd ;; + netbsd*) host_kernel=netbsd ;; + cygwin) host_kernel=windows ;; +esac + +case "$platform" in + coreboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_COREBOOT=1" ;; + multiboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MULTIBOOT=1" ;; + efi) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EFI=1" ;; + ieee1275) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_IEEE1275=1" ;; + qemu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_QEMU=1" ;; + pc) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_PCBIOS=1" ;; + emu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EMU=1" ;; + yeeloong) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_YEELOONG=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; + qemu-mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_QEMU_MIPS=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; +esac +case "$target_cpu" in + mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS=1" ;; + sparc64) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_SPARC64=1" ;; +esac +machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE=`echo ${target_cpu}_$platform | sed y,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,`" + +HOST_CPPFLAGS="$HOST_CPPFLAGS $machine_CPPFLAGS" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS $machine_CPPFLAGS" + + + + + + + + +# Define default variables +case "$host_os" in + netbsd* | openbsd*) + # Because /boot is used for the boot block in NetBSD and OpenBSD, + bootdirname='' ;; + *) bootdirname='boot' ;; +esac +bootdirname=`echo "$bootdirname" | sed "$program_transform_name"` + + +cat >>confdefs.h <<_ACEOF +@%:@define GRUB_BOOT_DIR_NAME "$bootdirname" +_ACEOF + + +grubdirname=`echo "$PACKAGE" | sed "$program_transform_name"` + + +cat >>confdefs.h <<_ACEOF +@%:@define GRUB_DIR_NAME "$grubdirname" +_ACEOF + + +# +# Checks for build programs. +# + +# Although cmp is listed in the GNU Coding Standards as a command which +# can used directly, OpenBSD lacks cmp in the default installation. +for ac_prog in cmp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CMP"; then + ac_cv_prog_CMP="$CMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CMP="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CMP=$ac_cv_prog_CMP +if test -n "$CMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5 +$as_echo "$CMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CMP" && break +done + +if test "x$CMP" = x; then + as_fn_error $? "cmp is not found" "$LINENO" 5 +fi + +for ac_prog in bison +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done + +if test "x$YACC" = x; then + as_fn_error $? "bison is not found" "$LINENO" 5 +fi + +FONT_SOURCE= + +for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do + for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont; do + if test -f "$dir/unifont.$ext"; then + FONT_SOURCE="$dir/unifont.$ext" + break 2 + fi + done +done + +if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then + as_fn_error $? "qemu and yeeloong ports need unifont" "$LINENO" 5 +fi + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +@%:@ Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $@%:@ != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +int +main (void) +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +for ac_prog in flex lex +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LEX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LEX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LEX=$ac_cv_prog_LEX +if test -n "$LEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 +$as_echo "$LEX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$LEX" && break +done +test -n "$LEX" || LEX=":" + +if test "x$LEX" != "x:"; then + cat >conftest.l <<_ACEOF +%% +a { ECHO; } +b { REJECT; } +c { yymore (); } +d { yyless (1); } +e { yyless (input () != 0); } +f { unput (yytext[0]); } +. { BEGIN INITIAL; } +%% +#ifdef YYTEXT_POINTER +extern char *yytext; +#endif +int +main (void) +{ + return ! yylex () + ! yywrap (); +} +_ACEOF +{ { ac_try="$LEX conftest.l" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$LEX conftest.l") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 +$as_echo_n "checking lex output file root... " >&6; } +if ${ac_cv_prog_lex_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + +if test -f lex.yy.c; then + ac_cv_prog_lex_root=lex.yy +elif test -f lexyy.c; then + ac_cv_prog_lex_root=lexyy +else + as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 +$as_echo "$ac_cv_prog_lex_root" >&6; } +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root + +if test -z "${LEXLIB+set}"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 +$as_echo_n "checking lex library... " >&6; } +if ${ac_cv_lib_lex+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_save_LIBS=$LIBS + ac_cv_lib_lex='none needed' + for ac_lib in '' -lfl -ll; do + LIBS="$ac_lib $ac_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +`cat $LEX_OUTPUT_ROOT.c` +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_lex=$ac_lib +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + test "$ac_cv_lib_lex" != 'none needed' && break + done + LIBS=$ac_save_LIBS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 +$as_echo "$ac_cv_lib_lex" >&6; } + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 +$as_echo_n "checking whether yytext is a pointer... " >&6; } +if ${ac_cv_prog_lex_yytext_pointer+:} false; then : + $as_echo_n "(cached) " >&6 +else + # POSIX says lex can declare yytext either as a pointer or an array; the +# default is implementation-dependent. Figure out which it is, since +# not all implementations provide the %pointer and %array declarations. +ac_cv_prog_lex_yytext_pointer=no +ac_save_LIBS=$LIBS +LIBS="$LEXLIB $ac_save_LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define YYTEXT_POINTER 1 +`cat $LEX_OUTPUT_ROOT.c` +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_prog_lex_yytext_pointer=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_save_LIBS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 +$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } +if test $ac_cv_prog_lex_yytext_pointer = yes; then + +$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h + +fi +rm -f conftest.l $LEX_OUTPUT_ROOT.c + +fi +for ac_prog in 'bison -y' byacc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done +test -n "$YACC" || YACC="yacc" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + + +if test "x$LEX" = "x:"; then + as_fn_error $? "flex is not found" "$LINENO" 5 +else + version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }'` + if test -n "$version" -a "$version" -ge 20535; then + : + else + as_fn_error $? "flex is too old. GRUB requires 2.5.35 or above" "$LINENO" 5 + fi +fi + +# These are not a "must". +for ac_prog in makeinfo true +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MAKEINFO+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAKEINFO in + [\\/]* | ?:[\\/]*) + ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MAKEINFO=$ac_cv_path_MAKEINFO +if test -n "$MAKEINFO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 +$as_echo "$MAKEINFO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$MAKEINFO" && break +done + + +# +# Checks for host programs. +# + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $@%:@ != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@ifdef __STDC__ +@%:@ include +@%:@else +@%:@ include +@%:@endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@ifdef __STDC__ +@%:@ include +@%:@else +@%:@ include +@%:@endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = xyes; then : + MINIX=yes +else + MINIX= +fi + + + if test "$MINIX" = yes; then + +$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h + + +$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h + + +$as_echo "@%:@define _MINIX 1" >>confdefs.h + + fi + + case "$host_os" in + hpux*) + +$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if ${ac_cv_safe_to_define___extensions__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes +else + ac_cv_safe_to_define___extensions__=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h + + $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h + + $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h + + $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h + + + + + + + + + + + # Code from module alloca: + # Code from module alloca-opt: + # Code from module arg-nonnull: + # Code from module argp: + # Code from module btowc: + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + # Code from module double-slash-root: + # Code from module errno: + # Code from module error: + # Code from module extensions: + + # Code from module float: + # Code from module fnmatch: + # Code from module getdelim: + # Code from module getline: + # Code from module getopt-gnu: + # Code from module getopt-posix: + # Code from module gettext: + # Code from module gettext-h: + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + # Code from module localcharset: + # Code from module malloc-gnu: + # Code from module malloc-posix: + # Code from module mbrtowc: + # Code from module mbsinit: + # Code from module mbsrtowcs: + # Code from module memchr: + # Code from module mempcpy: + # Code from module multiarch: + # Code from module nl_langinfo: + # Code from module progname: + # Code from module rawmemchr: + # Code from module realloc-posix: + # Code from module regex: + # Code from module size_max: + # Code from module sleep: + # Code from module ssize_t: + # Code from module stdbool: + # Code from module stddef: + # Code from module stdint: + # Code from module stdio: + # Code from module stdlib: + # Code from module strcase: + # Code from module strchrnul: + # Code from module streq: + # Code from module strerror: + # Code from module string: + # Code from module strings: + # Code from module strndup: + # Code from module strnlen: + # Code from module strnlen1: + # Code from module sys_wait: + # Code from module sysexits: + # Code from module unistd: + # Code from module vasnprintf: + # Code from module verify: + # Code from module vsnprintf: + # Code from module warn-on-use: + # Code from module wchar: + # Code from module wcrtomb: + # Code from module wctype: + # Code from module xsize: + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" = set || CCAS=$CC +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS + + + +depcc="$CCAS" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CCAS_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CCAS_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CCAS_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } +CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then + am__fastdepCCAS_TRUE= + am__fastdepCCAS_FALSE='#' +else + am__fastdepCCAS_TRUE='#' + am__fastdepCCAS_FALSE= +fi + + + +# Must be GCC. +test "x$GCC" = xyes || as_fn_error $? "GCC is required" "$LINENO" 5 + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + @%:@ Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + GETTEXT_MACRO_VERSION=0.18 + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; + *) MSGFMT_015=$MSGFMT ;; + esac + + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; + *) GMSGFMT_015=$GMSGFMT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; + *) XGETTEXT_015=$XGETTEXT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$localedir" || localedir='${datadir}/locale' + + + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= + + + ac_config_commands="$ac_config_commands po-directories" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +@%:@ Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + @%:@ Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + acl_libdirstem=lib + acl_libdirstem2= + case "$host_os" in + solaris*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +$as_echo_n "checking for 64-bit host... " >&6; } +if ${gl_cv_solaris_64bit+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef _LP64 +sixtyfour bits +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + gl_cv_solaris_64bit=yes +else + gl_cv_solaris_64bit=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +$as_echo "$gl_cv_solaris_64bit" >&6; } + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; + esac + fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" + + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +@%:@ Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + LIBICONV_PREFIX= + HAVE_LIBICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + if test "$cross_compiling" = yes; then : + + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +int main () +{ + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful + returns. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + const char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + return 1; + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + return 1; + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + if (/* Try standardized names. */ + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) + /* Try IRIX, OSF/1 names. */ + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) + /* Try AIX names. */ + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) + /* Try HP-UX names. */ + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +else + am_cv_func_iconv_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +@%:@ Check whether --with-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + LIBINTL_PREFIX= + HAVE_LIBINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +@%:@ Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@define _FILE_OFFSET_BITS 64 +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@define _LARGE_FILES 1 +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +@%:@define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi +fi + + +# Identify characteristics of the host architecture. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main (void) +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +$as_echo_n "checking size of void *... " >&6; } +if ${ac_cv_sizeof_void_p+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_void_p" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (void *) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_void_p=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +$as_echo "$ac_cv_sizeof_void_p" >&6; } + + + +cat >>confdefs.h <<_ACEOF +@%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +$as_echo_n "checking size of long... " >&6; } +if ${ac_cv_sizeof_long+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +@%:@define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler is apple cc" >&5 +$as_echo_n "checking whether our compiler is apple cc... " >&6; } +if ${grub_cv_apple_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_cc=yes +else + grub_cv_apple_cc=no +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_apple_cc" >&5 +$as_echo "$grub_cv_apple_cc" >&6; } +if test x$grub_cv_apple_cc = xyes ; then + HOST_CPPFLAGS="$HOST_CPPFLAGS -DAPPLE_CC=1" + HOST_CFLAGS="$HOST_CFLAGS -fnested-functions" +fi + +if test "x$cross_compiling" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot generate manual pages while cross compiling" >&5 +$as_echo "$as_me: WARNING: cannot generate manual pages while cross compiling" >&2;} +else + # Extract the first word of "help2man", so it can be a program name with args. +set dummy help2man; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_HELP2MAN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $HELP2MAN in + [\\/]* | ?:[\\/]*) + ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +HELP2MAN=$ac_cv_path_HELP2MAN +if test -n "$HELP2MAN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5 +$as_echo "$HELP2MAN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi + +# Check for functions and headers. +for ac_func in posix_memalign memalign asprintf vasprintf getextmntent +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +for ac_header in libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "$ac_includes_default +#include +#include +" +if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 +_ACEOF + + +fi + + +ac_fn_c_check_member "$LINENO" "struct statfs" "f_mntfromname" "ac_cv_member_struct_statfs_f_mntfromname" "$ac_includes_default +#include +#include +" +if test "x$ac_cv_member_struct_statfs_f_mntfromname" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRUCT_STATFS_F_MNTFROMNAME 1 +_ACEOF + + +fi + + +# For opendisk() and getrawpartition() on NetBSD. +# Used in util/deviceiter.c and in util/hostdisk.c. +ac_fn_c_check_header_mongrel "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default" +if test "x$ac_cv_header_util_h" = xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendisk in -lutil" >&5 +$as_echo_n "checking for opendisk in -lutil... " >&6; } +if ${ac_cv_lib_util_opendisk+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char opendisk (); +int +main (void) +{ +return opendisk (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_opendisk=yes +else + ac_cv_lib_util_opendisk=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_opendisk" >&5 +$as_echo "$ac_cv_lib_util_opendisk" >&6; } +if test "x$ac_cv_lib_util_opendisk" = xyes; then : + + LIBUTIL="-lutil" + +$as_echo "@%:@define HAVE_OPENDISK 1" >>confdefs.h + + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5 +$as_echo_n "checking for getrawpartition in -lutil... " >&6; } +if ${ac_cv_lib_util_getrawpartition+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getrawpartition (); +int +main (void) +{ +return getrawpartition (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_getrawpartition=yes +else + ac_cv_lib_util_getrawpartition=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getrawpartition" >&5 +$as_echo "$ac_cv_lib_util_getrawpartition" >&6; } +if test "x$ac_cv_lib_util_getrawpartition" = xyes; then : + + LIBUTIL="-lutil" + +$as_echo "@%:@define HAVE_GETRAWPARTITION 1" >>confdefs.h + + +fi + + +fi + + + + +# +# Check for host and build compilers. +# +HOST_CC=$CC +for ac_prog in gcc egcs cc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_BUILD_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$BUILD_CC"; then + ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_BUILD_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +BUILD_CC=$ac_cv_prog_BUILD_CC +if test -n "$BUILD_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 +$as_echo "$BUILD_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$BUILD_CC" && break +done +test -n "$BUILD_CC" || BUILD_CC="as_fn_error $? "none of gcc, egcs and cc is found. set BUILD_CC manually." "$LINENO" 5" + + +# For gnulib. + + + + + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +@%:@define size_t unsigned int +_ACEOF + +fi + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +$as_echo_n "checking for working alloca.h... " >&6; } +if ${ac_cv_working_alloca_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +int +main (void) +{ +char *p = (char *) alloca (2 * sizeof (int)); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_working_alloca_h=yes +else + ac_cv_working_alloca_h=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +$as_echo "$ac_cv_working_alloca_h" >&6; } +if test $ac_cv_working_alloca_h = yes; then + +$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +$as_echo_n "checking for alloca... " >&6; } +if ${ac_cv_func_alloca_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# ifdef HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +void *alloca (size_t); +# endif +# endif +# endif +# endif +#endif + +int +main (void) +{ +char *p = (char *) alloca (1); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_alloca_works=yes +else + ac_cv_func_alloca_works=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +$as_echo "$ac_cv_func_alloca_works" >&6; } + +if test $ac_cv_func_alloca_works = yes; then + +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + + + + + +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +if ${ac_cv_os_cray+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined CRAY && ! defined CRAY2 +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then : + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 +$as_echo "$ac_cv_os_cray" >&6; } +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + +cat >>confdefs.h <<_ACEOF +@%:@define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +$as_echo_n "checking stack direction for C alloca... " >&6; } +if ${ac_cv_c_stack_direction+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + return find_stack_direction () < 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_stack_direction=1 +else + ac_cv_c_stack_direction=-1 +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +$as_echo "$ac_cv_c_stack_direction" >&6; } +cat >>confdefs.h <<_ACEOF +@%:@define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 +$as_echo_n "checking for C/C++ restrict keyword... " >&6; } +if ${ac_cv_c_restrict+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_restrict=no + # The order here caters to the fact that C++ does not require restrict. + for ac_kw in __restrict __restrict__ _Restrict restrict; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +typedef int * int_ptr; + int foo (int_ptr $ac_kw ip) { + return ip[0]; + } +int +main (void) +{ +int s[1]; + int * $ac_kw t = s; + t[0] = 0; + return foo(t) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_restrict=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_restrict" != no && break + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 +$as_echo "$ac_cv_c_restrict" >&6; } + + case $ac_cv_c_restrict in + restrict) ;; + no) $as_echo "@%:@define restrict /**/" >>confdefs.h + ;; + *) cat >>confdefs.h <<_ACEOF +@%:@define restrict $ac_cv_c_restrict +_ACEOF + ;; + esac + +ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" +if test "x$ac_cv_have_decl_getenv" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETENV $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl +_ACEOF + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + for ac_header in $ac_header_list +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + XGETTEXT_EXTRA_OPTIONS= + + + GNULIB_BTOWC=0; + GNULIB_WCTOB=0; + GNULIB_MBSINIT=0; + GNULIB_MBRTOWC=0; + GNULIB_MBRLEN=0; + GNULIB_MBSRTOWCS=0; + GNULIB_MBSNRTOWCS=0; + GNULIB_WCRTOMB=0; + GNULIB_WCSRTOMBS=0; + GNULIB_WCSNRTOMBS=0; + GNULIB_WCWIDTH=0; + HAVE_BTOWC=1; + HAVE_MBSINIT=1; + HAVE_MBRTOWC=1; + HAVE_MBRLEN=1; + HAVE_MBSRTOWCS=1; + HAVE_MBSNRTOWCS=1; + HAVE_WCRTOMB=1; + HAVE_WCSRTOMBS=1; + HAVE_WCSNRTOMBS=1; + HAVE_DECL_WCTOB=1; + HAVE_DECL_WCWIDTH=1; + REPLACE_MBSTATE_T=0; + REPLACE_BTOWC=0; + REPLACE_WCTOB=0; + REPLACE_MBSINIT=0; + REPLACE_MBRTOWC=0; + REPLACE_MBRLEN=0; + REPLACE_MBSRTOWCS=0; + REPLACE_MBSNRTOWCS=0; + REPLACE_WCRTOMB=0; + REPLACE_WCSRTOMBS=0; + REPLACE_WCSNRTOMBS=0; + REPLACE_WCWIDTH=0; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 +$as_echo_n "checking whether uses 'inline' correctly... " >&6; } +if ${gl_cv_header_wchar_h_correct_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + gl_cv_header_wchar_h_correct_inline=yes + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define wcstod renamed_wcstod +#include +extern int zero (void); +int main () { return zero(); } + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + mv conftest.$ac_objext conftest1.$ac_objext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define wcstod renamed_wcstod +#include +int zero (void) { return 0; } + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + mv conftest.$ac_objext conftest2.$ac_objext + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then + : + else + gl_cv_header_wchar_h_correct_inline=no + fi + fi + fi + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 +$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } + if test $gl_cv_header_wchar_h_correct_inline = no; then + as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in +C99 mode. You have four options: + - Add the flag -fgnu89-inline to CC and reconfigure, or + - Fix your include files, using parts of + , or + - Use a gcc version older than 4.3, or + - Don't use the flags -std=c99 or -std=gnu99. +Configuration aborted." "$LINENO" 5 + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 +$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } +if ${am_cv_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +char* cs = nl_langinfo(CODESET); return !cs; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_langinfo_codeset=yes +else + am_cv_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 +$as_echo "$am_cv_langinfo_codeset" >&6; } + if test $am_cv_langinfo_codeset = yes; then + +$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 +$as_echo_n "checking for a traditional french locale... " >&6; } +if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only + one byte long. This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO-8859-1 + else + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO8859-1 + else + # Test for the HP-UX locale name. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.iso88591 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr + else + # None found. + gt_cv_locale_fr=none + fi + fi + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 +$as_echo "$gt_cv_locale_fr" >&6; } + LOCALE_FR=$gt_cv_locale_fr + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system is Windows or MSDOS" >&5 +$as_echo_n "checking whether system is Windows or MSDOS... " >&6; } +if ${ac_cv_win_or_dos+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + +#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__ +neither MSDOS nor Windows +#endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_win_or_dos=yes +else + ac_cv_win_or_dos=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_win_or_dos" >&5 +$as_echo "$ac_cv_win_or_dos" >&6; } + + if test x"$ac_cv_win_or_dos" = xyes; then + ac_fs_accepts_drive_letter_prefix=1 + ac_fs_backslash_is_file_name_separator=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether drive letter can start relative path" >&5 +$as_echo_n "checking whether drive letter can start relative path... " >&6; } +if ${ac_cv_drive_letter_can_be_relative+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + +#if defined __CYGWIN__ +drive letters are always absolute +#endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_drive_letter_can_be_relative=yes +else + ac_cv_drive_letter_can_be_relative=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_drive_letter_can_be_relative" >&5 +$as_echo "$ac_cv_drive_letter_can_be_relative" >&6; } + if test x"$ac_cv_drive_letter_can_be_relative" = xyes; then + ac_fs_drive_letter_can_be_relative=1 + else + ac_fs_drive_letter_can_be_relative=0 + fi + else + ac_fs_accepts_drive_letter_prefix=0 + ac_fs_backslash_is_file_name_separator=0 + ac_fs_drive_letter_can_be_relative=0 + fi + + +cat >>confdefs.h <<_ACEOF +@%:@define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix +_ACEOF + + + + + +cat >>confdefs.h <<_ACEOF +@%:@define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator +_ACEOF + + + +cat >>confdefs.h <<_ACEOF +@%:@define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE $ac_fs_drive_letter_can_be_relative +_ACEOF + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +$as_echo_n "checking whether // is distinct from /... " >&6; } +if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +$as_echo "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then + +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } +if ${gl_cv_have_include_next+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -rf conftestd1a conftestd1b conftestd2 + mkdir conftestd1a conftestd1b conftestd2 + cat < conftestd1a/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd1b/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd2/conftest.h +#ifndef DEFINED_IN_CONFTESTD1 +#error "include_next test doesn't work" +#endif +#define DEFINED_IN_CONFTESTD2 +EOF + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=yes +else + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=buggy +else + gl_cv_have_include_next=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + rm -rf conftestd1a conftestd1b conftestd2 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 +$as_echo "$gl_cv_have_include_next" >&6; } + PRAGMA_SYSTEM_HEADER= + if test $gl_cv_have_include_next = yes; then + INCLUDE_NEXT=include_next + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + if test -n "$GCC"; then + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' + fi + else + if test $gl_cv_have_include_next = buggy; then + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + else + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include + fi + fi + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 +$as_echo_n "checking for complete errno.h... " >&6; } +if ${gl_cv_header_errno_h_complete+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if !defined ENOMSG +booboo +#endif +#if !defined EIDRM +booboo +#endif +#if !defined ENOLINK +booboo +#endif +#if !defined EPROTO +booboo +#endif +#if !defined EMULTIHOP +booboo +#endif +#if !defined EBADMSG +booboo +#endif +#if !defined EOVERFLOW +booboo +#endif +#if !defined ENOTSUP +booboo +#endif +#if !defined ESTALE +booboo +#endif +#if !defined ECANCELED +booboo +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "booboo" >/dev/null 2>&1; then : + gl_cv_header_errno_h_complete=no +else + gl_cv_header_errno_h_complete=yes +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 +$as_echo "$gl_cv_header_errno_h_complete" >&6; } + if test $gl_cv_header_errno_h_complete = yes; then + ERRNO_H='' + else + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_errno_h='<'errno.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_errno_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_errno_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/errno.h#{ + s#.*"\(.*/errno.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_errno_h='<'errno.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 +$as_echo "$gl_cv_next_errno_h" >&6; } + fi + NEXT_ERRNO_H=$gl_cv_next_errno_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'errno.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_errno_h + fi + NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive + + + + ERRNO_H='errno.h' + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 +$as_echo_n "checking for EMULTIHOP value... " >&6; } +if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef EMULTIHOP +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=yes +else + gl_cv_header_errno_h_EMULTIHOP=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef EMULTIHOP +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then + if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 +$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } + case $gl_cv_header_errno_h_EMULTIHOP in + yes | no) + EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= + ;; + *) + EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" + ;; + esac + + + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 +$as_echo_n "checking for ENOLINK value... " >&6; } +if ${gl_cv_header_errno_h_ENOLINK+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef ENOLINK +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_ENOLINK=yes +else + gl_cv_header_errno_h_ENOLINK=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_ENOLINK = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef ENOLINK +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_ENOLINK=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_ENOLINK = hidden; then + if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 +$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } + case $gl_cv_header_errno_h_ENOLINK in + yes | no) + ENOLINK_HIDDEN=0; ENOLINK_VALUE= + ;; + *) + ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" + ;; + esac + + + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 +$as_echo_n "checking for EOVERFLOW value... " >&6; } +if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef EOVERFLOW +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EOVERFLOW=yes +else + gl_cv_header_errno_h_EOVERFLOW=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EOVERFLOW = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef EOVERFLOW +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EOVERFLOW=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then + if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 +$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } + case $gl_cv_header_errno_h_EOVERFLOW in + yes | no) + EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= + ;; + *) + EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" + ;; + esac + + + fi + + +ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" +if test "x$ac_cv_have_decl_strerror_r" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRERROR_R $ac_have_decl +_ACEOF + +for ac_func in strerror_r +do : + ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" +if test "x$ac_cv_func_strerror_r" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRERROR_R 1 +_ACEOF + +fi +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 +$as_echo_n "checking whether strerror_r returns char *... " >&6; } +if ${ac_cv_func_strerror_r_char_p+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + return !p || x; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_func_strerror_r_char_p=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + extern char *strerror_r (); +int +main (void) +{ +char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + return ! isalpha (x); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strerror_r_char_p=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 +$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } +if test $ac_cv_func_strerror_r_char_p = yes; then + +$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h + +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 +$as_echo_n "checking for mbstate_t... " >&6; } +if ${ac_cv_type_mbstate_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +# include +int +main (void) +{ +mbstate_t x; return sizeof x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_type_mbstate_t=yes +else + ac_cv_type_mbstate_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 +$as_echo "$ac_cv_type_mbstate_t" >&6; } + if test $ac_cv_type_mbstate_t = yes; then + +$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h + + else + +$as_echo "@%:@define mbstate_t int" >>confdefs.h + + fi + + + + + + + + + + + + + + + + + + + GNULIB_DPRINTF=0; + GNULIB_FCLOSE=0; + GNULIB_FFLUSH=0; + GNULIB_FOPEN=0; + GNULIB_FPRINTF=0; + GNULIB_FPRINTF_POSIX=0; + GNULIB_FPURGE=0; + GNULIB_FPUTC=0; + GNULIB_FPUTS=0; + GNULIB_FREOPEN=0; + GNULIB_FSEEK=0; + GNULIB_FSEEKO=0; + GNULIB_FTELL=0; + GNULIB_FTELLO=0; + GNULIB_FWRITE=0; + GNULIB_GETDELIM=0; + GNULIB_GETLINE=0; + GNULIB_OBSTACK_PRINTF=0; + GNULIB_OBSTACK_PRINTF_POSIX=0; + GNULIB_PERROR=0; + GNULIB_POPEN=0; + GNULIB_PRINTF=0; + GNULIB_PRINTF_POSIX=0; + GNULIB_PUTC=0; + GNULIB_PUTCHAR=0; + GNULIB_PUTS=0; + GNULIB_REMOVE=0; + GNULIB_RENAME=0; + GNULIB_RENAMEAT=0; + GNULIB_SNPRINTF=0; + GNULIB_SPRINTF_POSIX=0; + GNULIB_STDIO_H_SIGPIPE=0; + GNULIB_TMPFILE=0; + GNULIB_VASPRINTF=0; + GNULIB_VDPRINTF=0; + GNULIB_VFPRINTF=0; + GNULIB_VFPRINTF_POSIX=0; + GNULIB_VPRINTF=0; + GNULIB_VPRINTF_POSIX=0; + GNULIB_VSNPRINTF=0; + GNULIB_VSPRINTF_POSIX=0; + HAVE_DECL_FPURGE=1; + HAVE_DECL_GETDELIM=1; + HAVE_DECL_GETLINE=1; + HAVE_DECL_OBSTACK_PRINTF=1; + HAVE_DECL_SNPRINTF=1; + HAVE_DECL_VSNPRINTF=1; + HAVE_DPRINTF=1; + HAVE_FSEEKO=1; + HAVE_FTELLO=1; + HAVE_RENAMEAT=1; + HAVE_VASPRINTF=1; + HAVE_VDPRINTF=1; + REPLACE_DPRINTF=0; + REPLACE_FCLOSE=0; + REPLACE_FFLUSH=0; + REPLACE_FOPEN=0; + REPLACE_FPRINTF=0; + REPLACE_FPURGE=0; + REPLACE_FREOPEN=0; + REPLACE_FSEEK=0; + REPLACE_FSEEKO=0; + REPLACE_FTELL=0; + REPLACE_FTELLO=0; + REPLACE_GETDELIM=0; + REPLACE_GETLINE=0; + REPLACE_OBSTACK_PRINTF=0; + REPLACE_PERROR=0; + REPLACE_POPEN=0; + REPLACE_PRINTF=0; + REPLACE_REMOVE=0; + REPLACE_RENAME=0; + REPLACE_RENAMEAT=0; + REPLACE_SNPRINTF=0; + REPLACE_SPRINTF=0; + REPLACE_STDIO_WRITE_FUNCS=0; + REPLACE_TMPFILE=0; + REPLACE_VASPRINTF=0; + REPLACE_VDPRINTF=0; + REPLACE_VFPRINTF=0; + REPLACE_VPRINTF=0; + REPLACE_VSNPRINTF=0; + REPLACE_VSPRINTF=0; + +ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" +if test "x$ac_cv_have_decl_getdelim" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETDELIM $ac_have_decl +_ACEOF + + + +ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" +if test "x$ac_cv_have_decl_getline" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETLINE $ac_have_decl +_ACEOF + + + GNULIB_CHOWN=0; + GNULIB_CLOSE=0; + GNULIB_DUP2=0; + GNULIB_DUP3=0; + GNULIB_ENVIRON=0; + GNULIB_EUIDACCESS=0; + GNULIB_FACCESSAT=0; + GNULIB_FCHDIR=0; + GNULIB_FCHOWNAT=0; + GNULIB_FSYNC=0; + GNULIB_FTRUNCATE=0; + GNULIB_GETCWD=0; + GNULIB_GETDOMAINNAME=0; + GNULIB_GETDTABLESIZE=0; + GNULIB_GETGROUPS=0; + GNULIB_GETHOSTNAME=0; + GNULIB_GETLOGIN=0; + GNULIB_GETLOGIN_R=0; + GNULIB_GETPAGESIZE=0; + GNULIB_GETUSERSHELL=0; + GNULIB_LCHOWN=0; + GNULIB_LINK=0; + GNULIB_LINKAT=0; + GNULIB_LSEEK=0; + GNULIB_PIPE2=0; + GNULIB_PREAD=0; + GNULIB_PWRITE=0; + GNULIB_READLINK=0; + GNULIB_READLINKAT=0; + GNULIB_RMDIR=0; + GNULIB_SLEEP=0; + GNULIB_SYMLINK=0; + GNULIB_SYMLINKAT=0; + GNULIB_TTYNAME_R=0; + GNULIB_UNISTD_H_GETOPT=0; + GNULIB_UNISTD_H_SIGPIPE=0; + GNULIB_UNLINK=0; + GNULIB_UNLINKAT=0; + GNULIB_USLEEP=0; + GNULIB_WRITE=0; + HAVE_CHOWN=1; + HAVE_DUP2=1; + HAVE_DUP3=1; + HAVE_EUIDACCESS=1; + HAVE_FACCESSAT=1; + HAVE_FCHDIR=1; + HAVE_FCHOWNAT=1; + HAVE_FSYNC=1; + HAVE_FTRUNCATE=1; + HAVE_GETDOMAINNAME=1; + HAVE_GETDTABLESIZE=1; + HAVE_GETGROUPS=1; + HAVE_GETHOSTNAME=1; + HAVE_GETLOGIN=1; + HAVE_GETPAGESIZE=1; + HAVE_LCHOWN=1; + HAVE_LINK=1; + HAVE_LINKAT=1; + HAVE_PIPE2=1; + HAVE_PREAD=1; + HAVE_PWRITE=1; + HAVE_READLINK=1; + HAVE_READLINKAT=1; + HAVE_SLEEP=1; + HAVE_SYMLINK=1; + HAVE_SYMLINKAT=1; + HAVE_TTYNAME_R=1; + HAVE_UNLINKAT=1; + HAVE_USLEEP=1; + HAVE_DECL_ENVIRON=1; + HAVE_DECL_GETLOGIN_R=1; + HAVE_DECL_GETPAGESIZE=1; + HAVE_DECL_GETUSERSHELL=1; + HAVE_OS_H=0; + HAVE_SYS_PARAM_H=0; + REPLACE_CHOWN=0; + REPLACE_CLOSE=0; + REPLACE_DUP=0; + REPLACE_DUP2=0; + REPLACE_FCHOWNAT=0; + REPLACE_GETCWD=0; + REPLACE_GETGROUPS=0; + REPLACE_GETPAGESIZE=0; + REPLACE_LCHOWN=0; + REPLACE_LINK=0; + REPLACE_LINKAT=0; + REPLACE_LSEEK=0; + REPLACE_PREAD=0; + REPLACE_PWRITE=0; + REPLACE_READLINK=0; + REPLACE_RMDIR=0; + REPLACE_SLEEP=0; + REPLACE_SYMLINK=0; + REPLACE_TTYNAME_R=0; + REPLACE_UNLINK=0; + REPLACE_UNLINKAT=0; + REPLACE_USLEEP=0; + REPLACE_WRITE=0; + UNISTD_H_HAVE_WINSOCK2_H=0; + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_getopt_h='<'getopt.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_getopt_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_getopt_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/getopt.h#{ + s#.*"\(.*/getopt.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_getopt_h='<'getopt.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 +$as_echo "$gl_cv_next_getopt_h" >&6; } + fi + NEXT_GETOPT_H=$gl_cv_next_getopt_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'getopt.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_getopt_h + fi + NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive + + + + + if test $ac_cv_header_getopt_h = yes; then + HAVE_GETOPT_H=1 + else + HAVE_GETOPT_H=0 + fi + + + gl_replace_getopt= + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + for ac_header in getopt.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" +if test "x$ac_cv_header_getopt_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_GETOPT_H 1 +_ACEOF + +else + gl_replace_getopt=yes +fi + +done + + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + for ac_func in getopt_long_only +do : + ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" +if test "x$ac_cv_func_getopt_long_only" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_GETOPT_LONG_ONLY 1 +_ACEOF + +else + gl_replace_getopt=yes +fi +done + + fi + + if test -z "$gl_replace_getopt"; then + ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include +" +if test "x$ac_cv_have_decl_optreset" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_OPTRESET $ac_have_decl +_ACEOF +if test $ac_have_decl = 1; then : + +else + ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include +" +if test "x$ac_cv_have_decl_getopt_clip" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETOPT_CLIP $ac_have_decl +_ACEOF + + +fi + + fi + + if test -z "$gl_replace_getopt"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 +$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } +if ${gl_cv_func_getopt_posix+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + case "$host_os" in + mingw*) gl_cv_func_getopt_posix="guessing no";; + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; + *) gl_cv_func_getopt_posix="guessing yes";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include + +#if !HAVE_DECL_OPTRESET && !HAVE_DECL_GETOPT_CLIP +# define OPTIND_MIN 0 +#else +# define OPTIND_MIN 1 +#endif + +int +main () +{ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "-a"; + argv[argc++] = "foo"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "ab"); + if (!(c == 'a')) + return 1; + c = getopt (argc, argv, "ab"); + if (!(c == -1)) + return 2; + if (!(optind == 2)) + return 3; + } + /* Some internal state exists at this point. */ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "donald"; + argv[argc++] = "-p"; + argv[argc++] = "billy"; + argv[argc++] = "duck"; + argv[argc++] = "-a"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "+abp:q:"); + if (!(c == -1)) + return 4; + if (!(strcmp (argv[0], "program") == 0)) + return 5; + if (!(strcmp (argv[1], "donald") == 0)) + return 6; + if (!(strcmp (argv[2], "-p") == 0)) + return 7; + if (!(strcmp (argv[3], "billy") == 0)) + return 8; + if (!(strcmp (argv[4], "duck") == 0)) + return 9; + if (!(strcmp (argv[5], "-a") == 0)) + return 10; + if (!(strcmp (argv[6], "bar") == 0)) + return 11; + if (!(optind == 1)) + return 12; + } + /* Detect MacOS 10.5, AIX 7.1 bug. */ + { + char *argv[3] = { "program", "-ab", NULL }; + optind = OPTIND_MIN; + opterr = 0; + if (getopt (2, argv, "ab:") != 'a') + return 13; + if (getopt (2, argv, "ab:") != '?') + return 14; + if (optopt != 'b') + return 15; + if (optind != 2) + return 16; + } + + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_getopt_posix=yes +else + gl_cv_func_getopt_posix=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 +$as_echo "$gl_cv_func_getopt_posix" >&6; } + case "$gl_cv_func_getopt_posix" in + *no) gl_replace_getopt=yes ;; + esac + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 +$as_echo_n "checking for working GNU getopt function... " >&6; } +if ${gl_cv_func_getopt_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the + # optstring is necessary for programs like m4 that have POSIX-mandated + # semantics for supporting options interspersed with files. + # Also, since getopt_long is a GNU extension, we require optind=0. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; + # so take care to revert to the correct (non-)export state. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + +int +main (void) +{ + + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, + OSF/1 5.1, Solaris 10. */ + { + char *myargv[3]; + myargv[0] = "conftest"; + myargv[1] = "-+"; + myargv[2] = 0; + opterr = 0; + if (getopt (2, myargv, "+a") != '?') + return 1; + } + /* This code succeeds on glibc 2.8, mingw, + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ + { + char *argv[] = { "program", "-p", "foo", "bar", NULL }; + + optind = 1; + if (getopt (4, argv, "p::") != 'p') + return 2; + if (optarg != NULL) + return 3; + if (getopt (4, argv, "p::") != -1) + return 4; + if (optind != 2) + return 5; + } + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ + { + char *argv[] = { "program", "foo", "-p", NULL }; + optind = 0; + if (getopt (3, argv, "-p") != 1) + return 6; + if (getopt (3, argv, "-p") != 'p') + return 7; + } + /* This code fails on glibc 2.11. */ + { + char *argv[] = { "program", "-b", "-a", NULL }; + optind = opterr = 0; + if (getopt (3, argv, "+:a:b") != 'b') + return 8; + if (getopt (3, argv, "+:a:b") != ':') + return 9; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_getopt_gnu=yes +else + gl_cv_func_getopt_gnu=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + case $gl_had_POSIXLY_CORRECT in + exported) ;; + yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; + *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 +$as_echo "$gl_cv_func_getopt_gnu" >&6; } + if test "$gl_cv_func_getopt_gnu" = "no"; then + gl_replace_getopt=yes + fi + fi + + + + + + + if test -n "$gl_replace_getopt"; then : + + + + GETOPT_H=getopt.h + +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + +fi + + + + GNULIB_NL_LANGINFO=0; + HAVE_NL_LANGINFO=1; + REPLACE_NL_LANGINFO=0; + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 +$as_echo_n "checking for working fcntl.h... " >&6; } +if ${gl_cv_header_working_fcntl_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_header_working_fcntl_h=cross-compiling +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + #include + #ifndef O_NOATIME + #define O_NOATIME 0 + #endif + #ifndef O_NOFOLLOW + #define O_NOFOLLOW 0 + #endif + static int const constants[] = + { + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY + }; + +int +main (void) +{ + + int status = !constants; + { + static char const sym[] = "conftest.sym"; + if (symlink (".", sym) != 0 + || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) + status |= 32; + unlink (sym); + } + { + static char const file[] = "confdefs.h"; + int fd = open (file, O_RDONLY | O_NOATIME); + char c; + struct stat st0, st1; + if (fd < 0 + || fstat (fd, &st0) != 0 + || sleep (1) != 0 + || read (fd, &c, 1) != 1 + || close (fd) != 0 + || stat (file, &st1) != 0 + || st0.st_atime != st1.st_atime) + status |= 64; + } + return status; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_header_working_fcntl_h=yes +else + case $? in #( + 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( + 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( + *) gl_cv_header_working_fcntl_h='no';; + esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 +$as_echo "$gl_cv_header_working_fcntl_h" >&6; } + + case $gl_cv_header_working_fcntl_h in #( + *O_NOATIME* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_WORKING_O_NOATIME $ac_val +_ACEOF + + + case $gl_cv_header_working_fcntl_h in #( + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val +_ACEOF + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 +$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } +if ${ac_cv_gnu_library_2_1+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + ac_cv_gnu_library_2_1=yes +else + ac_cv_gnu_library_2_1=no +fi +rm -f conftest* + + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 +$as_echo "$ac_cv_gnu_library_2_1" >&6; } + + GLIBC21="$ac_cv_gnu_library_2_1" + + + + GNULIB__EXIT=0; + GNULIB_ATOLL=0; + GNULIB_CALLOC_POSIX=0; + GNULIB_CANONICALIZE_FILE_NAME=0; + GNULIB_GETLOADAVG=0; + GNULIB_GETSUBOPT=0; + GNULIB_GRANTPT=0; + GNULIB_MALLOC_POSIX=0; + GNULIB_MKDTEMP=0; + GNULIB_MKOSTEMP=0; + GNULIB_MKOSTEMPS=0; + GNULIB_MKSTEMP=0; + GNULIB_MKSTEMPS=0; + GNULIB_PTSNAME=0; + GNULIB_PUTENV=0; + GNULIB_RANDOM_R=0; + GNULIB_REALLOC_POSIX=0; + GNULIB_REALPATH=0; + GNULIB_RPMATCH=0; + GNULIB_SETENV=0; + GNULIB_STRTOD=0; + GNULIB_STRTOLL=0; + GNULIB_STRTOULL=0; + GNULIB_UNLOCKPT=0; + GNULIB_UNSETENV=0; + HAVE__EXIT=1; + HAVE_ATOLL=1; + HAVE_CANONICALIZE_FILE_NAME=1; + HAVE_DECL_GETLOADAVG=1; + HAVE_GETSUBOPT=1; + HAVE_GRANTPT=1; + HAVE_MKDTEMP=1; + HAVE_MKOSTEMP=1; + HAVE_MKOSTEMPS=1; + HAVE_MKSTEMP=1; + HAVE_MKSTEMPS=1; + HAVE_PTSNAME=1; + HAVE_RANDOM_R=1; + HAVE_REALPATH=1; + HAVE_RPMATCH=1; + HAVE_SETENV=1; + HAVE_STRTOD=1; + HAVE_STRTOLL=1; + HAVE_STRTOULL=1; + HAVE_STRUCT_RANDOM_DATA=1; + HAVE_SYS_LOADAVG_H=0; + HAVE_UNLOCKPT=1; + HAVE_UNSETENV=1; + REPLACE_CALLOC=0; + REPLACE_CANONICALIZE_FILE_NAME=0; + REPLACE_MALLOC=0; + REPLACE_MKSTEMP=0; + REPLACE_PUTENV=0; + REPLACE_REALLOC=0; + REPLACE_REALPATH=0; + REPLACE_SETENV=0; + REPLACE_STRTOD=0; + REPLACE_UNSETENV=0; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 +$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } +if ${gl_cv_func_malloc_posix+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + choke me + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_malloc_posix=yes +else + gl_cv_func_malloc_posix=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 +$as_echo "$gl_cv_func_malloc_posix" >&6; } + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 +$as_echo_n "checking for a traditional japanese locale... " >&6; } +if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales + on Cygwin 1.5.x. */ + if (MB_CUR_MAX == 1) + return 1; + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the AIX locale name. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC-JP + else + # Test for the HP-UX, OSF/1, NetBSD locale name. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.eucJP + else + # Test for the IRIX, FreeBSD locale name. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC + else + # Test for the Solaris 7 locale name. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja + else + # Special test for NetBSD 1.6. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then + gt_cv_locale_ja=ja_JP.eucJP + else + # None found. + gt_cv_locale_ja=none + fi + fi + fi + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 +$as_echo "$gt_cv_locale_ja" >&6; } + LOCALE_JA=$gt_cv_locale_ja + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 +$as_echo_n "checking for a transitional chinese locale... " >&6; } +if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + /* Check whether a typical GB18030 multibyte sequence is recognized as a + single wide character. This excludes the GB2312 and GBK encodings. */ + if (mblen ("\203\062\332\066", 5) != 4) + return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the locale name without encoding suffix. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN.GB18030 + else + # None found. + gt_cv_locale_zh_CN=none + fi + fi + else + # If there was a link error, due to mblen(), the system is so old that + # it certainly doesn't have a chinese locale. + gt_cv_locale_zh_CN=none + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 +$as_echo "$gt_cv_locale_zh_CN" >&6; } + LOCALE_ZH_CN=$gt_cv_locale_zh_CN + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 +$as_echo_n "checking for a french Unicode locale... " >&6; } +if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl + imitates locale dependent behaviour by looking at the environment + variables, and all locales use the UTF-8 encoding. */ +#if !(defined __BEOS__ || defined __HAIKU__) + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +# if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +# endif +# ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +# endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is + two bytes long, with UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 4 + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') + return 1; +#endif + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR.UTF-8 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr.UTF-8 + else + # None found. + gt_cv_locale_fr_utf8=none + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 +$as_echo "$gt_cv_locale_fr_utf8" >&6; } + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 + + + + + + + + GNULIB_MEMCHR=0; + GNULIB_MEMMEM=0; + GNULIB_MEMPCPY=0; + GNULIB_MEMRCHR=0; + GNULIB_RAWMEMCHR=0; + GNULIB_STPCPY=0; + GNULIB_STPNCPY=0; + GNULIB_STRCHRNUL=0; + GNULIB_STRDUP=0; + GNULIB_STRNCAT=0; + GNULIB_STRNDUP=0; + GNULIB_STRNLEN=0; + GNULIB_STRPBRK=0; + GNULIB_STRSEP=0; + GNULIB_STRSTR=0; + GNULIB_STRCASESTR=0; + GNULIB_STRTOK_R=0; + GNULIB_MBSLEN=0; + GNULIB_MBSNLEN=0; + GNULIB_MBSCHR=0; + GNULIB_MBSRCHR=0; + GNULIB_MBSSTR=0; + GNULIB_MBSCASECMP=0; + GNULIB_MBSNCASECMP=0; + GNULIB_MBSPCASECMP=0; + GNULIB_MBSCASESTR=0; + GNULIB_MBSCSPN=0; + GNULIB_MBSPBRK=0; + GNULIB_MBSSPN=0; + GNULIB_MBSSEP=0; + GNULIB_MBSTOK_R=0; + GNULIB_STRERROR=0; + GNULIB_STRSIGNAL=0; + GNULIB_STRVERSCMP=0; + HAVE_MBSLEN=0; + HAVE_MEMCHR=1; + HAVE_DECL_MEMMEM=1; + HAVE_MEMPCPY=1; + HAVE_DECL_MEMRCHR=1; + HAVE_RAWMEMCHR=1; + HAVE_STPCPY=1; + HAVE_STPNCPY=1; + HAVE_STRCHRNUL=1; + HAVE_DECL_STRDUP=1; + HAVE_DECL_STRNDUP=1; + HAVE_DECL_STRNLEN=1; + HAVE_STRPBRK=1; + HAVE_STRSEP=1; + HAVE_STRCASESTR=1; + HAVE_DECL_STRTOK_R=1; + HAVE_DECL_STRSIGNAL=1; + HAVE_STRVERSCMP=1; + REPLACE_MEMCHR=0; + REPLACE_MEMMEM=0; + REPLACE_STPNCPY=0; + REPLACE_STRDUP=0; + REPLACE_STRSTR=0; + REPLACE_STRCASESTR=0; + REPLACE_STRERROR=0; + REPLACE_STRNCAT=0; + REPLACE_STRNDUP=0; + REPLACE_STRNLEN=0; + REPLACE_STRSIGNAL=0; + REPLACE_STRTOK_R=0; + UNDEFINE_STRTOK_R=0; + + + + + + + + + + + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes +else + gl_have_mmap=no +fi + + + # Try to allow MAP_ANONYMOUS. + gl_have_mmap_anonymous=no + if test $gl_have_mmap = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef MAP_ANONYMOUS + I cant identify this map. +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "I cant identify this map." >/dev/null 2>&1; then : + gl_have_mmap_anonymous=yes +fi +rm -f conftest* + + if test $gl_have_mmap_anonymous != yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef MAP_ANON + I cant identify this map. +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "I cant identify this map." >/dev/null 2>&1; then : + +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h + + gl_have_mmap_anonymous=yes +fi +rm -f conftest* + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 +$as_echo "$gl_have_mmap_anonymous" >&6; } + if test $gl_have_mmap_anonymous = yes; then + +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h + + fi + fi + + + + + + + if test $ac_cv_func_memchr = yes; then + # Detect platform-specific bugs in some versions of glibc: + # memchr should not dereference anything with length 0 + # http://bugzilla.redhat.com/499689 + # memchr should not dereference overestimated length after a match + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 + # Assume that memchr works on platforms that lack mprotect. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 +$as_echo_n "checking whether memchr works... " >&6; } +if ${gl_cv_func_memchr_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_memchr_works="guessing no" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_SYS_MMAN_H +# include +# include +# include +# include +# ifndef MAP_FILE +# define MAP_FILE 0 +# endif +#endif + +int +main (void) +{ + + char *fence = NULL; +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT +# if HAVE_MAP_ANONYMOUS + const int flags = MAP_ANONYMOUS | MAP_PRIVATE; + const int fd = -1; +# else /* !HAVE_MAP_ANONYMOUS */ + const int flags = MAP_FILE | MAP_PRIVATE; + int fd = open ("/dev/zero", O_RDONLY, 0666); + if (fd >= 0) +# endif + { + int pagesize = getpagesize (); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + flags, fd, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } +#endif + if (fence) + { + if (memchr (fence, 0, 0)) + return 1; + strcpy (fence - 9, "12345678"); + if (memchr (fence - 9, 0, 79) != fence - 1) + return 2; + if (memchr (fence - 1, 0, 3) != fence - 1) + return 3; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_memchr_works=yes +else + gl_cv_func_memchr_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 +$as_echo "$gl_cv_func_memchr_works" >&6; } + if test "$gl_cv_func_memchr_works" != yes; then + REPLACE_MEMCHR=1 + fi + else + HAVE_MEMCHR=0 + fi + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" + + + for ac_header in bp-sym.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" +if test "x$ac_cv_header_bp_sym_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_BP_SYM_H 1 +_ACEOF + +fi + +done + + + fi + + + gl_cv_c_multiarch=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + arch= + prev= + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do + if test -n "$prev"; then + case $word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$arch" || test "$arch" = "$word"; then + arch="$word" + else + gl_cv_c_multiarch=yes + fi + ;; + esac + prev= + else + if test "x$word" = "x-arch"; then + prev=arch + fi + fi + done + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $gl_cv_c_multiarch = yes; then + +$as_echo "@%:@define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + APPLE_UNIVERSAL_BUILD=1 + else + APPLE_UNIVERSAL_BUILD=0 + fi + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +if ${ac_cv_header_stdbool_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; + +int +main (void) +{ + + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdbool_h=yes +else + ac_cv_header_stdbool_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +$as_echo "$ac_cv_header_stdbool_h" >&6; } + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE__BOOL 1 +_ACEOF + + +fi + + if test $ac_cv_header_stdbool_h = yes; then + +$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h + + fi + + REPLACE_NULL=0; + HAVE_WCHAR_T=1; + STDDEF_H=''; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 +$as_echo_n "checking for wchar_t... " >&6; } +if ${gt_cv_c_wchar_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + wchar_t foo = (wchar_t)'\0'; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wchar_t=yes +else + gt_cv_c_wchar_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 +$as_echo "$gt_cv_c_wchar_t" >&6; } + if test $gt_cv_c_wchar_t = yes; then + +$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 +$as_echo_n "checking for long long int... " >&6; } +if ${ac_cv_type_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main (void) +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + ac_cv_type_long_long_int=yes +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + @%:@ifndef LLONG_MAX + @%:@ define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + @%:@ define LLONG_MAX (HALF - 1 + HALF) + @%:@endif +int +main (void) +{ +long long int n = 1; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_type_long_long_int=yes +else + ac_cv_type_long_long_int=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +else + ac_cv_type_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 +$as_echo "$ac_cv_type_long_long_int" >&6; } + if test $ac_cv_type_long_long_int = yes; then + +$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 +$as_echo_n "checking for unsigned long long int... " >&6; } +if ${ac_cv_type_unsigned_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main (void) +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_type_unsigned_long_long_int=yes +else + ac_cv_type_unsigned_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } + if test $ac_cv_type_unsigned_long_long_int = yes; then + +$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h + + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5 +$as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; } +if ${gl_cv_prog_as_underscore+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } >/dev/null 2>&1 + if grep _foo conftest.s >/dev/null ; then + gl_cv_prog_as_underscore=yes + else + gl_cv_prog_as_underscore=no + fi + rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_as_underscore" >&5 +$as_echo "$gl_cv_prog_as_underscore" >&6; } + if test $gl_cv_prog_as_underscore = yes; then + USER_LABEL_PREFIX=_ + else + USER_LABEL_PREFIX= + fi + +cat >>confdefs.h <<_ACEOF +@%:@define USER_LABEL_PREFIX $USER_LABEL_PREFIX +_ACEOF + + ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' + + + + + + + + HAVE_STRCASECMP=1; + HAVE_DECL_STRNCASECMP=1; + + + + + + + if test -z "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 +$as_echo_n "checking for working strerror function... " >&6; } +if ${gl_cv_func_working_strerror+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return !*strerror (-2); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_working_strerror=yes +else + gl_cv_func_working_strerror=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return !*strerror (-2); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_strerror=yes +else + gl_cv_func_working_strerror=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 +$as_echo "$gl_cv_func_working_strerror" >&6; } + if test $gl_cv_func_working_strerror = no; then + REPLACE_STRERROR=1 + fi + else + REPLACE_STRERROR=1 + fi + if test $REPLACE_STRERROR = 1; then + + ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" +if test "x$ac_cv_have_decl_strerror" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRERROR $ac_have_decl +_ACEOF + + + if test $ac_cv_header_sys_socket_h != yes; then + for ac_header in winsock2.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_WINSOCK2_H 1 +_ACEOF + +fi + +done + + fi + + fi + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_string_h='<'string.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_string_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_string_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/string.h#{ + s#.*"\(.*/string.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_string_h='<'string.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 +$as_echo "$gl_cv_next_string_h" >&6; } + fi + NEXT_STRING_H=$gl_cv_next_string_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'string.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_string_h + fi + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive + + + + + + for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal strverscmp; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_strings_h='<'strings.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_strings_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_strings_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_strings_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/strings.h#{ + s#.*"\(.*/strings.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_strings_h='<'strings.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 +$as_echo "$gl_cv_next_strings_h" >&6; } + fi + NEXT_STRINGS_H=$gl_cv_next_strings_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'strings.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_strings_h + fi + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive + + + + + + for gl_func in strcasecmp strncasecmp; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + +ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" +if test "x$ac_cv_have_decl_strndup" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRNDUP $ac_have_decl +_ACEOF + + + +ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" +if test "x$ac_cv_have_decl_strnlen" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRNLEN $ac_have_decl +_ACEOF + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 +$as_echo_n "checking for wint_t... " >&6; } +if ${gt_cv_c_wint_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be included + before . */ +#include +#include +#include +#include + wint_t foo = (wchar_t)'\0'; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wint_t=yes +else + gt_cv_c_wint_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 +$as_echo "$gt_cv_c_wint_t" >&6; } + if test $gt_cv_c_wint_t = yes; then + +$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 +$as_echo_n "checking for inttypes.h... " >&6; } +if ${gl_cv_header_inttypes_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_inttypes_h=yes +else + gl_cv_header_inttypes_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 +$as_echo "$gl_cv_header_inttypes_h" >&6; } + if test $gl_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 +$as_echo_n "checking for stdint.h... " >&6; } +if ${gl_cv_header_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include +int +main (void) +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_stdint_h=yes +else + gl_cv_header_stdint_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 +$as_echo "$gl_cv_header_stdint_h" >&6; } + if test $gl_cv_header_stdint_h = yes; then + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDINT_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 +$as_echo_n "checking for intmax_t... " >&6; } +if ${gt_cv_c_intmax_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif + +int +main (void) +{ +intmax_t x = -1; return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_intmax_t=yes +else + gt_cv_c_intmax_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 +$as_echo "$gt_cv_c_intmax_t" >&6; } + if test $gt_cv_c_intmax_t = yes; then + +$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h + + else + + test $ac_cv_type_long_long_int = yes \ + && ac_type='long long' \ + || ac_type='long' + +cat >>confdefs.h <<_ACEOF +@%:@define intmax_t $ac_type +_ACEOF + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 +$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } +if ${gl_cv_func_snprintf_retval_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on OpenBSD >= 3.9. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) + gl_cv_func_snprintf_retval_c99="guessing no";; + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_snprintf_retval_c99="guessing no";; + solaris*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_snprintf_retval_c99="guessing no";; + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_snprintf_retval_c99="guessing no";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +static char buf[100]; +int main () +{ + strcpy (buf, "ABCDEF"); + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_retval_c99=yes +else + gl_cv_func_snprintf_retval_c99=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 +$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } + + + + + + + + for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include +" +if test "x$ac_cv_have_decl__snprintf" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL__SNPRINTF $ac_have_decl +_ACEOF + + + case "$gl_cv_func_snprintf_retval_c99" in + *yes) + +$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h + + ;; + esac + +ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" +if test "x$ac_cv_have_decl_vsnprintf" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_VSNPRINTF $ac_have_decl +_ACEOF + + + + + + + +ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "$ac_includes_default" +if test "x$ac_cv_have_decl_iswblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_ISWBLANK $ac_have_decl +_ACEOF + + + if false; then + GL_COND_LIBTOOL_TRUE= + GL_COND_LIBTOOL_FALSE='#' +else + GL_COND_LIBTOOL_TRUE='#' + GL_COND_LIBTOOL_FALSE= +fi + + gl_cond_libtool=false + gl_libdeps= + gl_ltlibdeps= + gl_m4_base='m4' + + + + + + + + + + gl_source_base='grub-core/gnulib' + # Code from module alloca: + # Code from module alloca-opt: + + + + + + if test $ac_cv_func_alloca_works = no; then + : + fi + + # Define an additional variable used in the Makefile substitution. + if test $ac_cv_working_alloca_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 +$as_echo_n "checking for alloca as a compiler built-in... " >&6; } +if ${gl_cv_rpl_alloca+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#if defined __GNUC__ || defined _AIX || defined _MSC_VER + Need own alloca +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Need own alloca" >/dev/null 2>&1; then : + gl_cv_rpl_alloca=yes +else + gl_cv_rpl_alloca=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 +$as_echo "$gl_cv_rpl_alloca" >&6; } + if test $gl_cv_rpl_alloca = yes; then + +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h + + ALLOCA_H=alloca.h + else + ALLOCA_H= + fi + else + ALLOCA_H=alloca.h + fi + + + # Code from module arg-nonnull: + # Code from module argp: + + + + + + + GETOPT_H=getopt.h + +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + +$as_echo "@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + +else + +$as_echo "@%:@define GNULIB_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + +fi + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + +$as_echo "@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + +else + +$as_echo "@%:@define GNULIB_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + +fi + + + # Check if program_invocation_name and program_invocation_short_name + # are defined elsewhere. It is improbable that only one of them will + # be defined and other not, I prefer to stay on the safe side and to + # test each one separately. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is defined" >&5 +$as_echo_n "checking whether program_invocation_name is defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +program_invocation_name = "test"; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "@%:@define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_short_name is defined" >&5 +$as_echo_n "checking whether program_invocation_short_name is defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +program_invocation_short_name = "test"; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "@%:@define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + + + + + + + + + + + + + + + + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_error:2:c-format" + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_failure:4:c-format" + + # Code from module btowc: + + + + + + + if test $ac_cv_func_btowc = no; then + HAVE_BTOWC=0 + else + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 +$as_echo_n "checking whether btowc(0) is correct... " >&6; } +if ${gl_cv_func_btowc_nul+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + # Guess no on Cygwin. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_nul="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (btowc ('\0') != 0) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_btowc_nul=yes +else + gl_cv_func_btowc_nul=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 +$as_echo "$gl_cv_func_btowc_nul" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 +$as_echo_n "checking whether btowc(EOF) is correct... " >&6; } +if ${gl_cv_func_btowc_eof+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on IRIX. + irix*) gl_cv_func_btowc_eof="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_eof="guessing yes" ;; + esac + if test $LOCALE_FR != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (btowc (EOF) != WEOF) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_btowc_eof=yes +else + gl_cv_func_btowc_eof=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 +$as_echo "$gl_cv_func_btowc_eof" >&6; } + + case "$gl_cv_func_btowc_nul" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + case "$gl_cv_func_btowc_eof" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + fi + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS btowc.$ac_objext" + + + : + + fi + + + + + GNULIB_BTOWC=1 + + + +$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h + + + + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS basename-lgpl.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS dirname-lgpl.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS stripslash.$ac_objext" + + + + + + + # Code from module double-slash-root: + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +$as_echo_n "checking whether // is distinct from /... " >&6; } +if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +$as_echo "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then + +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h + + fi + + # Code from module errno: + + # Code from module error: + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 +$as_echo_n "checking for error_at_line... " >&6; } +if ${ac_cv_lib_error_at_line+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +error_at_line (0, 0, "", 0, "an error occurred"); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_error_at_line=yes +else + ac_cv_lib_error_at_line=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 +$as_echo "$ac_cv_lib_error_at_line" >&6; } + if test $ac_cv_lib_error_at_line = no; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" + + fi + + + + + : + + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" + + # Code from module extensions: + # Code from module float: + + + + FLOAT_H= + case "$host_os" in + beos* | openbsd* | mirbsd*) + FLOAT_H=float.h + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_float_h='<'float.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_float_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_float_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/float.h#{ + s#.*"\(.*/float.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_float_h='<'float.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 +$as_echo "$gl_cv_next_float_h" >&6; } + fi + NEXT_FLOAT_H=$gl_cv_next_float_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'float.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_float_h + fi + NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive + + + + ;; + esac + + + # Code from module fnmatch: + + + + + + FNMATCH_H= + gl_fnmatch_required_lowercase=`echo $gl_fnmatch_required | tr 'A-Z' 'a-z'` + gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5 +$as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; } +if eval \${$gl_fnmatch_cache_var+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test $gl_fnmatch_required = GNU; then + gl_fnmatch_gnu_start= + gl_fnmatch_gnu_end= + else + gl_fnmatch_gnu_start='#if 0' + gl_fnmatch_gnu_end='#endif' + fi + if test "$cross_compiling" = yes; then : + eval "$gl_fnmatch_cache_var=\"guessing no\"" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + static int + y (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == 0; + } + static int + n (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == FNM_NOMATCH; + } + +int +main (void) +{ +char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]"; + char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]"; + static char const A_1[] = { 'A' - 1, 0 }; + static char const A01[] = { 'A' + 1, 0 }; + static char const a_1[] = { 'a' - 1, 0 }; + static char const a01[] = { 'a' + 1, 0 }; + static char const bs_1[] = { '\\\\' - 1, 0 }; + static char const bs01[] = { '\\\\' + 1, 0 }; + return + !(n ("a*", "", 0) + && y ("a*", "abc", 0) + && n ("d*/*1", "d/s/1", FNM_PATHNAME) + && y ("a\\\\bc", "abc", 0) + && n ("a\\\\bc", "abc", FNM_NOESCAPE) + && y ("*x", ".x", 0) + && n ("*x", ".x", FNM_PERIOD) + && y (Apat, "\\\\", 0) && y (Apat, "A", 0) + && y (apat, "\\\\", 0) && y (apat, "a", 0) + && n (Apat, A_1, 0) == ('A' < '\\\\') + && n (apat, a_1, 0) == ('a' < '\\\\') + && y (Apat, A01, 0) == ('A' < '\\\\') + && y (apat, a01, 0) == ('a' < '\\\\') + && y (Apat, bs_1, 0) == ('A' < '\\\\') + && y (apat, bs_1, 0) == ('a' < '\\\\') + && n (Apat, bs01, 0) == ('A' < '\\\\') + && n (apat, bs01, 0) == ('a' < '\\\\') + $gl_fnmatch_gnu_start + && y ("xxXX", "xXxX", FNM_CASEFOLD) + && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH) + && n ("d*/*1", "d/s/1", FNM_FILE_NAME) + && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) + $gl_fnmatch_gnu_end + ); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + eval "$gl_fnmatch_cache_var=yes" +else + eval "$gl_fnmatch_cache_var=no" +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +eval ac_res=\$$gl_fnmatch_cache_var + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\"" + if test "$gl_fnmatch_result" = yes; then + rm -f "$gl_source_base/fnmatch.h" + else + FNMATCH_H=fnmatch.h + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext" + + +cat >>confdefs.h <<_ACEOF +@%:@define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch +_ACEOF + + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" +if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_ISBLANK $ac_have_decl +_ACEOF + + + + fi + + + # Code from module getdelim: + + + + + + + + + if test $ac_cv_func_getdelim = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 +$as_echo_n "checking for working getdelim function... " >&6; } +if ${gl_cv_func_working_getdelim+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 +$as_echo "$gl_cv_func_working_getdelim" >&6; } + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" + + + for ac_func in flockfile funlockfile +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + + + fi + + + + + GNULIB_GETDELIM=1 + + + +$as_echo "@%:@define GNULIB_TEST_GETDELIM 1" >>confdefs.h + + + + # Code from module getline: + + + + + + + + gl_getline_needs_run_time_check=no + ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" +if test "x$ac_cv_func_getline" = xyes; then : + gl_getline_needs_run_time_check=yes +else + am_cv_func_working_getline=no +fi + + if test $gl_getline_needs_run_time_check = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 +$as_echo_n "checking for working getline function... " >&6; } +if ${am_cv_func_working_getline+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + am_cv_func_working_getline=yes +else + am_cv_func_working_getline=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getline (&line, &siz, in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getline (&line, &siz, in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_working_getline=yes +else + am_cv_func_working_getline=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 +$as_echo "$am_cv_func_working_getline" >&6; } + fi + + if test $ac_cv_have_decl_getline = no; then + HAVE_DECL_GETLINE=0 + fi + + if test $am_cv_func_working_getline = no; then + REPLACE_GETLINE=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" + + + + + + + + + + + + if test $ac_cv_func_getdelim = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 +$as_echo_n "checking for working getdelim function... " >&6; } +if ${gl_cv_func_working_getdelim+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 +$as_echo "$gl_cv_func_working_getdelim" >&6; } + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" + + + for ac_func in flockfile funlockfile +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + + + fi + + + fi + + + + + GNULIB_GETLINE=1 + + + +$as_echo "@%:@define GNULIB_TEST_GETLINE 1" >>confdefs.h + + + + # Code from module getopt-gnu: + + + + + + + +$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h + + + # Code from module getopt-posix: + + + + + + if test -n "$gl_replace_getopt"; then : + + + + GETOPT_H=getopt.h + +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + +fi + + + # Code from module gettext: + + # Code from module gettext-h: + + + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_langinfo_h='<'langinfo.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_langinfo_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_langinfo_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/langinfo.h#{ + s#.*"\(.*/langinfo.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_langinfo_h='<'langinfo.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 +$as_echo "$gl_cv_next_langinfo_h" >&6; } + fi + NEXT_LANGINFO_H=$gl_cv_next_langinfo_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'langinfo.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_langinfo_h + fi + NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive + + + + + HAVE_LANGINFO_CODESET=0 + HAVE_LANGINFO_T_FMT_AMPM=0 + HAVE_LANGINFO_ERA=0 + HAVE_LANGINFO_YESEXPR=0 + + if test $ac_cv_header_langinfo_h = yes; then + HAVE_LANGINFO_H=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 +$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } +if ${gl_cv_header_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = CODESET; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_codeset=yes +else + gl_cv_header_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5 +$as_echo "$gl_cv_header_langinfo_codeset" >&6; } + if test $gl_cv_header_langinfo_codeset = yes; then + HAVE_LANGINFO_CODESET=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 +$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } +if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = T_FMT_AMPM; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_t_fmt_ampm=yes +else + gl_cv_header_langinfo_t_fmt_ampm=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5 +$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then + HAVE_LANGINFO_T_FMT_AMPM=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 +$as_echo_n "checking whether langinfo.h defines ERA... " >&6; } +if ${gl_cv_header_langinfo_era+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = ERA; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_era=yes +else + gl_cv_header_langinfo_era=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5 +$as_echo "$gl_cv_header_langinfo_era" >&6; } + if test $gl_cv_header_langinfo_era = yes; then + HAVE_LANGINFO_ERA=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 +$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } +if ${gl_cv_header_langinfo_yesexpr+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = YESEXPR; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_yesexpr=yes +else + gl_cv_header_langinfo_yesexpr=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5 +$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } + if test $gl_cv_header_langinfo_yesexpr = yes; then + HAVE_LANGINFO_YESEXPR=1 + fi + else + HAVE_LANGINFO_H=0 + fi + + + + + + + + for gl_func in nl_langinfo; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module localcharset: + + + + + + + + + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" + + # Code from module malloc-gnu: + + + for ac_header in stdlib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDLIB_H 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 +$as_echo_n "checking for GNU libc compatible malloc... " >&6; } +if ${ac_cv_func_malloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_malloc_0_nonnull=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined STDC_HEADERS || defined HAVE_STDLIB_H +# include +#else +char *malloc (); +#endif + +int +main (void) +{ +return ! malloc (0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_malloc_0_nonnull=yes +else + ac_cv_func_malloc_0_nonnull=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } +if test $ac_cv_func_malloc_0_nonnull = yes; then : + +$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h + +else + $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + + REPLACE_MALLOC=1 + + +fi + + + + +cat >>confdefs.h <<_ACEOF +@%:@define GNULIB_MALLOC_GNU 1 +_ACEOF + + + # Code from module malloc-posix: + + + + if test $gl_cv_func_malloc_posix = yes; then + +$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h + + else + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + + REPLACE_MALLOC=1 + + fi + + + + + GNULIB_MALLOC_POSIX=1 + + + +$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h + + + + # Code from module mbrtowc: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbrtowc = no; then + HAVE_MBRTOWC=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBRTOWC=1 + else + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 +$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } +if ${gl_cv_func_mbrtowc_null_arg+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on OSF/1. + osf*) gl_cv_func_mbrtowc_null_arg="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_null_arg="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + mbstate_t state; + wchar_t wc; + int ret; + + memset (&state, '\0', sizeof (mbstate_t)); + wc = (wchar_t) 0xBADFACE; + mbrtowc (&wc, NULL, 5, &state); + /* Check that wc was not modified. */ + if (wc != (wchar_t) 0xBADFACE) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_null_arg=yes +else + gl_cv_func_mbrtowc_null_arg=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg" >&5 +$as_echo "$gl_cv_func_mbrtowc_null_arg" >&6; } + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 +$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } +if ${gl_cv_func_mbrtowc_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbrtowc_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* This fails on Solaris. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + char input[] = "B\303\274\303\237er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 1) + return 1; + } + } + /* This fails on HP-UX 11.11. */ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 2) + return 1; + } + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_retval=yes +else + gl_cv_func_mbrtowc_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 +$as_echo "$gl_cv_func_mbrtowc_retval" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 +$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } +if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8 and 9. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* This fails on Solaris 8 and 9. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, "", 1, &state) != 0) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_nul_retval=yes +else + gl_cv_func_mbrtowc_nul_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 +$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } + + case "$gl_cv_func_mbrtowc_null_arg" in + *yes) ;; + *) +$as_echo "@%:@define MBRTOWC_NULL_ARG_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_retval" in + *yes) ;; + *) +$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_nul_retval" in + *yes) ;; + *) +$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + fi + fi + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext" + + + : + + fi + + + + + GNULIB_MBRTOWC=1 + + + +$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h + + + + # Code from module mbsinit: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbsinit = no; then + HAVE_MBSINIT=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSINIT=1 + fi + fi + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext" + + + : + + fi + + + + + GNULIB_MBSINIT=1 + + + +$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h + + + + # Code from module mbsrtowcs: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbsrtowcs = no; then + HAVE_MBSRTOWCS=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSRTOWCS=1 + else + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5 +$as_echo_n "checking whether mbsrtowcs works... " >&6; } +if ${gl_cv_func_mbsrtowcs_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbsrtowcs_works="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbsrtowcs_works="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* Test whether the function works when started with a conversion state + in non-initial state. This fails on HP-UX 11.11 and Solaris 10. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + const char input[] = "B\303\274\303\237er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "<\306\374\313\334\270\354>"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 4; + if (mbsrtowcs (NULL, &src, 10, &state) != 3) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + const char input[] = "B\250\271\201\060\211\070er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbsrtowcs_works=yes +else + gl_cv_func_mbsrtowcs_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbsrtowcs_works" >&5 +$as_echo "$gl_cv_func_mbsrtowcs_works" >&6; } + + case "$gl_cv_func_mbsrtowcs_works" in + *yes) ;; + *) REPLACE_MBSRTOWCS=1 ;; + esac + fi + fi + if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs-state.$ac_objext" + + + : + + fi + + + + + GNULIB_MBSRTOWCS=1 + + + +$as_echo "@%:@define GNULIB_TEST_MBSRTOWCS 1" >>confdefs.h + + + + # Code from module memchr: + + + + + GNULIB_MEMCHR=1 + + + +$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h + + + + # Code from module mempcpy: + + + + + + + + + + + + + + + for ac_func in mempcpy +do : + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_MEMPCPY 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_mempcpy = no; then + HAVE_MEMPCPY=0 + + : + + fi + + + + + GNULIB_MEMPCPY=1 + + + +$as_echo "@%:@define GNULIB_TEST_MEMPCPY 1" >>confdefs.h + + + + # Code from module multiarch: + + # Code from module nl_langinfo: + + + + + if test $ac_cv_func_nl_langinfo = yes; then + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then + : + else + REPLACE_NL_LANGINFO=1 + +$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext" + + fi + else + HAVE_NL_LANGINFO=0 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext" + + fi + + + + + GNULIB_NL_LANGINFO=1 + + + +$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h + + + + # Code from module progname: + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl +_ACEOF + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl +_ACEOF + + # Code from module rawmemchr: + + + + + + + + + + + + + for ac_func in rawmemchr +do : + ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr" +if test "x$ac_cv_func_rawmemchr" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_RAWMEMCHR 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_rawmemchr = no; then + HAVE_RAWMEMCHR=0 + : + fi + + + + + GNULIB_RAWMEMCHR=1 + + + +$as_echo "@%:@define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h + + + + # Code from module realloc-posix: + + + + if test $gl_cv_func_malloc_posix = yes; then + +$as_echo "@%:@define HAVE_REALLOC_POSIX 1" >>confdefs.h + + else + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" + + REPLACE_REALLOC=1 + + fi + + + + + GNULIB_REALLOC_POSIX=1 + + + +$as_echo "@%:@define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h + + + + # Code from module regex: + + + + +@%:@ Check whether --with-included-regex was given. +if test "${with_included_regex+set}" = set; then : + withval=$with_included_regex; +fi + + + case $with_included_regex in #( + yes|no) ac_use_included_regex=$with_included_regex + ;; + '') + # If the system regex support is good enough that it passes the + # following run test, then default to *not* using the included regex.c. + # If cross compiling, assume the test would fail and use the included + # regex.c. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 +$as_echo_n "checking for working re_compile_pattern... " >&6; } +if ${gl_cv_func_re_compile_pattern_working+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_re_compile_pattern_working=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + #if HAVE_LOCALE_H + #include + #endif + #include + #include + +int +main (void) +{ +static struct re_pattern_buffer regex; + unsigned char folded_chars[UCHAR_MAX + 1]; + int i; + const char *s; + struct re_registers regs; + + #if HAVE_LOCALE_H + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html + This test needs valgrind to catch the bug on Debian + GNU/Linux 3.1 x86, but it might catch the bug better + on other platforms and it shouldn't hurt to try the + test here. */ + if (setlocale (LC_ALL, "en_US.UTF-8")) + { + static char const pat[] = "insert into"; + static char const data[] = + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE + | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern (pat, sizeof pat - 1, ®ex); + if (s) + return 1; + if (re_search (®ex, data, sizeof data - 1, + 0, sizeof data - 1, ®s) + != -1) + return 1; + if (! setlocale (LC_ALL, "C")) + return 1; + } + #endif + + /* This test is from glibc bug 3957, reported by Andrew Mackey. */ + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[^x]b", 6, ®ex); + if (s) + return 1; + + /* This should fail, but succeeds for glibc-2.5. */ + if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) + return 1; + + /* This regular expression is from Spencer ere test number 75 + in grep-2.3. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof regex); + for (i = 0; i <= UCHAR_MAX; i++) + folded_chars[i] = i; + regex.translate = folded_chars; + s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, ®ex); + /* This should fail with _Invalid character class name_ error. */ + if (!s) + return 1; + + /* Ensure that [b-a] is diagnosed as invalid, when + using RE_NO_EMPTY_RANGES. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[b-a]", 6, ®ex); + if (s == 0) + return 1; + + /* This should succeed, but does not for glibc-2.1.3. */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("{1", 2, ®ex); + + if (s) + return 1; + + /* The following example is derived from a problem report + against gawk from Jorge Stolfi . */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[an\371]*n", 7, ®ex); + if (s) + return 1; + + /* This should match, but does not for glibc-2.2.1. */ + if (re_match (®ex, "an", 2, 0, ®s) != 2) + return 1; + + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + /* glibc-2.2.93 does not work with a negative RANGE argument. */ + if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) + return 1; + + /* The version of regex.c in older versions of gnulib + ignored RE_ICASE. Detect that problem too. */ + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) + return 1; + + /* Catch a bug reported by Vin Shelton in + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html + */ + re_set_syntax (RE_SYNTAX_POSIX_BASIC + & ~RE_CONTEXT_INVALID_DUP + & ~RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); + if (s) + return 1; + + /* REG_STARTEND was added to glibc on 2004-01-15. + Reject older versions. */ + if (! REG_STARTEND) + return 1; + +#if 0 + /* It would be nice to reject hosts whose regoff_t values are too + narrow (including glibc on hosts with 64-bit ptrdiff_t and + 32-bit int), but we should wait until glibc implements this + feature. Otherwise, support for equivalence classes and + multibyte collation symbols would always be broken except + when compiling --without-included-regex. */ + if (sizeof (regoff_t) < sizeof (ptrdiff_t) + || sizeof (regoff_t) < sizeof (ssize_t)) + return 1; +#endif + + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_re_compile_pattern_working=yes +else + gl_cv_func_re_compile_pattern_working=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5 +$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } + case $gl_cv_func_re_compile_pattern_working in #( + yes) ac_use_included_regex=no;; #( + no) ac_use_included_regex=yes;; + esac + ;; + *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5 + ;; + esac + + if test $ac_use_included_regex = yes; then + +$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h + + +$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h + + +$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h + + +$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h + + +$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h + + +$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h + + +$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h + + +$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h + + +$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h + + +$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h + + +$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h + + +$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h + + +$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h + + +$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h + + +$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h + + +$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext" + + + + + + + for ac_header in libintl.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBINTL_H 1 +_ACEOF + +fi + +done + + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" +if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_ISBLANK $ac_have_decl +_ACEOF + + + fi + + # Code from module size_max: + + for ac_header in stdint.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDINT_H 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 +$as_echo_n "checking for SIZE_MAX... " >&6; } +if ${gl_cv_size_max+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_cv_size_max= + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_STDINT_H +#include +#endif +#ifdef SIZE_MAX +Found it +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Found it" >/dev/null 2>&1; then : + gl_cv_size_max=yes +fi +rm -f conftest* + + if test -z "$gl_cv_size_max"; then + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include +#include "; then : + +else + size_t_bits_minus_1= +fi + + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : + +else + fits_in_uint= +fi + + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then + if test $fits_in_uint = 1; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + extern size_t foo; + extern unsigned long foo; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + fits_in_uint=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $fits_in_uint = 1; then + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" + else + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" + fi + else + gl_cv_size_max='((size_t)~(size_t)0)' + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 +$as_echo "$gl_cv_size_max" >&6; } + if test "$gl_cv_size_max" != yes; then + +cat >>confdefs.h <<_ACEOF +@%:@define SIZE_MAX $gl_cv_size_max +_ACEOF + + fi + + + # Code from module sleep: + + + ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include +" +if test "x$ac_cv_have_decl_sleep" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_SLEEP $ac_have_decl +_ACEOF + + + if test $ac_cv_have_decl_sleep != yes; then + HAVE_SLEEP=0 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext" + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5 +$as_echo_n "checking for working sleep... " >&6; } +if ${gl_cv_func_sleep_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_sleep_works="guessing no" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +static void +handle_alarm (int sig) +{ + if (sig != SIGALRM) + _exit (2); +} + +int +main (void) +{ + + /* Failure to compile this test due to missing alarm is okay, + since all such platforms (mingw) also lack sleep. */ + unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ + unsigned int remaining; + signal (SIGALRM, handle_alarm); + alarm (1); + remaining = sleep (pentecost); + return !(pentecost - 10 < remaining && remaining <= pentecost); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_sleep_works=yes +else + gl_cv_func_sleep_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5 +$as_echo "$gl_cv_func_sleep_works" >&6; } + if test "$gl_cv_func_sleep_works" != yes; then + REPLACE_SLEEP=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext" + + fi + fi + + + + + GNULIB_SLEEP=1 + + + +$as_echo "@%:@define GNULIB_TEST_SLEEP 1" >>confdefs.h + + + + # Code from module ssize_t: + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 +$as_echo_n "checking for ssize_t... " >&6; } +if ${gt_cv_ssize_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +int x = sizeof (ssize_t *) + sizeof (ssize_t); + return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_ssize_t=yes +else + gt_cv_ssize_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 +$as_echo "$gt_cv_ssize_t" >&6; } + if test $gt_cv_ssize_t = no; then + +$as_echo "@%:@define ssize_t int" >>confdefs.h + + fi + + # Code from module stdbool: + + + + # Define two additional variables used in the Makefile substitution. + + if test "$ac_cv_header_stdbool_h" = yes; then + STDBOOL_H='' + else + STDBOOL_H='stdbool.h' + fi + + + if test "$ac_cv_type__Bool" = yes; then + HAVE__BOOL=1 + else + HAVE__BOOL=0 + fi + + + # Code from module stddef: + + + + if test $gt_cv_c_wchar_t = no; then + HAVE_WCHAR_T=0 + STDDEF_H=stddef.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } +if ${gl_cv_decl_null_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int test[2 * (sizeof NULL == sizeof (void *)) -1]; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_decl_null_works=yes +else + gl_cv_decl_null_works=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 +$as_echo "$gl_cv_decl_null_works" >&6; } + if test $gl_cv_decl_null_works = no; then + REPLACE_NULL=1 + STDDEF_H=stddef.h + fi + if test -n "$STDDEF_H"; then + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stddef_h='<'stddef.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stddef_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stddef_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stddef.h#{ + s#.*"\(.*/stddef.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stddef_h='<'stddef.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 +$as_echo "$gl_cv_next_stddef_h" >&6; } + fi + NEXT_STDDEF_H=$gl_cv_next_stddef_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stddef.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stddef_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive + + + + fi + + # Code from module stdint: + + + + if test $ac_cv_type_long_long_int = yes; then + HAVE_LONG_LONG_INT=1 + else + HAVE_LONG_LONG_INT=0 + fi + + + if test $ac_cv_type_unsigned_long_long_int = yes; then + HAVE_UNSIGNED_LONG_LONG_INT=1 + else + HAVE_UNSIGNED_LONG_LONG_INT=0 + fi + + + if test $ac_cv_header_inttypes_h = yes; then + HAVE_INTTYPES_H=1 + else + HAVE_INTTYPES_H=0 + fi + + + if test $ac_cv_header_sys_types_h = yes; then + HAVE_SYS_TYPES_H=1 + else + HAVE_SYS_TYPES_H=0 + fi + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdint_h='<'stdint.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdint_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdint.h#{ + s#.*"\(.*/stdint.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdint_h='<'stdint.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 +$as_echo "$gl_cv_next_stdint_h" >&6; } + fi + NEXT_STDINT_H=$gl_cv_next_stdint_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdint.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdint_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive + + + + if test $ac_cv_header_stdint_h = yes; then + HAVE_STDINT_H=1 + else + HAVE_STDINT_H=0 + fi + + + if test $ac_cv_header_stdint_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } +if ${gl_cv_header_working_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + gl_cv_header_working_stdint_h=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ +#if !(defined WCHAR_MIN && defined WCHAR_MAX) +#error "WCHAR_MIN, WCHAR_MAX not defined in " +#endif + + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + +#ifdef INT8_MAX +int8_t a1 = INT8_MAX; +int8_t a1min = INT8_MIN; +#endif +#ifdef INT16_MAX +int16_t a2 = INT16_MAX; +int16_t a2min = INT16_MIN; +#endif +#ifdef INT32_MAX +int32_t a3 = INT32_MAX; +int32_t a3min = INT32_MIN; +#endif +#ifdef INT64_MAX +int64_t a4 = INT64_MAX; +int64_t a4min = INT64_MIN; +#endif +#ifdef UINT8_MAX +uint8_t b1 = UINT8_MAX; +#else +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; +#endif +#ifdef UINT16_MAX +uint16_t b2 = UINT16_MAX; +#endif +#ifdef UINT32_MAX +uint32_t b3 = UINT32_MAX; +#endif +#ifdef UINT64_MAX +uint64_t b4 = UINT64_MAX; +#endif +int_least8_t c1 = INT8_C (0x7f); +int_least8_t c1max = INT_LEAST8_MAX; +int_least8_t c1min = INT_LEAST8_MIN; +int_least16_t c2 = INT16_C (0x7fff); +int_least16_t c2max = INT_LEAST16_MAX; +int_least16_t c2min = INT_LEAST16_MIN; +int_least32_t c3 = INT32_C (0x7fffffff); +int_least32_t c3max = INT_LEAST32_MAX; +int_least32_t c3min = INT_LEAST32_MIN; +int_least64_t c4 = INT64_C (0x7fffffffffffffff); +int_least64_t c4max = INT_LEAST64_MAX; +int_least64_t c4min = INT_LEAST64_MIN; +uint_least8_t d1 = UINT8_C (0xff); +uint_least8_t d1max = UINT_LEAST8_MAX; +uint_least16_t d2 = UINT16_C (0xffff); +uint_least16_t d2max = UINT_LEAST16_MAX; +uint_least32_t d3 = UINT32_C (0xffffffff); +uint_least32_t d3max = UINT_LEAST32_MAX; +uint_least64_t d4 = UINT64_C (0xffffffffffffffff); +uint_least64_t d4max = UINT_LEAST64_MAX; +int_fast8_t e1 = INT_FAST8_MAX; +int_fast8_t e1min = INT_FAST8_MIN; +int_fast16_t e2 = INT_FAST16_MAX; +int_fast16_t e2min = INT_FAST16_MIN; +int_fast32_t e3 = INT_FAST32_MAX; +int_fast32_t e3min = INT_FAST32_MIN; +int_fast64_t e4 = INT_FAST64_MAX; +int_fast64_t e4min = INT_FAST64_MIN; +uint_fast8_t f1 = UINT_FAST8_MAX; +uint_fast16_t f2 = UINT_FAST16_MAX; +uint_fast32_t f3 = UINT_FAST32_MAX; +uint_fast64_t f4 = UINT_FAST64_MAX; +#ifdef INTPTR_MAX +intptr_t g = INTPTR_MAX; +intptr_t gmin = INTPTR_MIN; +#endif +#ifdef UINTPTR_MAX +uintptr_t h = UINTPTR_MAX; +#endif +intmax_t i = INTMAX_MAX; +uintmax_t j = UINTMAX_MAX; + +#include /* for CHAR_BIT */ +#define TYPE_MINIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) +#define TYPE_MAXIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) +struct s { + int check_PTRDIFF: + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) + ? 1 : -1; + /* Detect bug in FreeBSD 6.0 / ia64. */ + int check_SIG_ATOMIC: + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) + ? 1 : -1; + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; + int check_WCHAR: + WCHAR_MIN == TYPE_MINIMUM (wchar_t) + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) + ? 1 : -1; + /* Detect bug in mingw. */ + int check_WINT: + WINT_MIN == TYPE_MINIMUM (wint_t) + && WINT_MAX == TYPE_MAXIMUM (wint_t) + ? 1 : -1; + + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ + int check_UINT8_C: + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; + int check_UINT16_C: + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; + + /* Detect bugs in OpenBSD 3.9 stdint.h. */ +#ifdef UINT8_MAX + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; +#endif +#ifdef UINT16_MAX + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; +#endif +#ifdef UINT32_MAX + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; +#endif +#ifdef UINT64_MAX + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; +#endif + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; +}; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if test "$cross_compiling" = yes; then : + gl_cv_header_working_stdint_h=yes + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include + + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + +#include +#include +#define MVAL(macro) MVAL1(macro) +#define MVAL1(expression) #expression +static const char *macro_values[] = + { +#ifdef INT8_MAX + MVAL (INT8_MAX), +#endif +#ifdef INT16_MAX + MVAL (INT16_MAX), +#endif +#ifdef INT32_MAX + MVAL (INT32_MAX), +#endif +#ifdef INT64_MAX + MVAL (INT64_MAX), +#endif +#ifdef UINT8_MAX + MVAL (UINT8_MAX), +#endif +#ifdef UINT16_MAX + MVAL (UINT16_MAX), +#endif +#ifdef UINT32_MAX + MVAL (UINT32_MAX), +#endif +#ifdef UINT64_MAX + MVAL (UINT64_MAX), +#endif + NULL + }; + +int +main (void) +{ + + const char **mv; + for (mv = macro_values; *mv != NULL; mv++) + { + const char *value = *mv; + /* Test whether it looks like a cast expression. */ + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 + || strncmp (value, "((int)"/*)*/, 6) == 0 + || strncmp (value, "((signed short)"/*)*/, 15) == 0 + || strncmp (value, "((signed char)"/*)*/, 14) == 0) + return 1; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_header_working_stdint_h=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 +$as_echo "$gl_cv_header_working_stdint_h" >&6; } + fi + if test "$gl_cv_header_working_stdint_h" = yes; then + STDINT_H= + else + for ac_header in sys/inttypes.h sys/bitypes.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_sys_inttypes_h = yes; then + HAVE_SYS_INTTYPES_H=1 + else + HAVE_SYS_INTTYPES_H=0 + fi + + if test $ac_cv_header_sys_bitypes_h = yes; then + HAVE_SYS_BITYPES_H=1 + else + HAVE_SYS_BITYPES_H=0 + fi + + + + + + + if test $APPLE_UNIVERSAL_BUILD = 0; then + + + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +$as_echo_n "checking for bit size of $gltype... " >&6; } +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + +#include "; then : + +else + result=unknown +fi + + eval gl_cv_bitsizeof_${gltype}=\$result + +fi +eval ac_res=\$gl_cv_bitsizeof_${gltype} + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + cat >>confdefs.h <<_ACEOF +@%:@define BITSIZEOF_${GLTYPE} $result +_ACEOF + + eval BITSIZEOF_${GLTYPE}=\$result + done + + + fi + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +$as_echo_n "checking for bit size of $gltype... " >&6; } +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + +#include "; then : + +else + result=unknown +fi + + eval gl_cv_bitsizeof_${gltype}=\$result + +fi +eval ac_res=\$gl_cv_bitsizeof_${gltype} + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + cat >>confdefs.h <<_ACEOF +@%:@define BITSIZEOF_${GLTYPE} $result +_ACEOF + + eval BITSIZEOF_${GLTYPE}=\$result + done + + + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 +$as_echo_n "checking whether $gltype is signed... " >&6; } +if eval \${gl_cv_type_${gltype}_signed+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + result=yes +else + result=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval gl_cv_type_${gltype}_signed=\$result + +fi +eval ac_res=\$gl_cv_type_${gltype}_signed + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_type_${gltype}_signed + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + if test "$result" = yes; then + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_SIGNED_${GLTYPE} 1 +_ACEOF + + eval HAVE_SIGNED_${GLTYPE}=1 + else + eval HAVE_SIGNED_${GLTYPE}=0 + fi + done + + + gl_cv_type_ptrdiff_t_signed=yes + gl_cv_type_size_t_signed=no + if test $APPLE_UNIVERSAL_BUILD = 0; then + + + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +$as_echo_n "checking for $gltype integer literal suffix... " >&6; } +if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + extern $gltype foo; + extern $gltype1 foo; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done +fi +eval ac_res=\$gl_cv_type_${gltype}_suffix + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + cat >>confdefs.h <<_ACEOF +@%:@define ${GLTYPE}_SUFFIX $result +_ACEOF + + done + + + fi + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +$as_echo_n "checking for $gltype integer literal suffix... " >&6; } +if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + extern $gltype foo; + extern $gltype1 foo; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done +fi +eval ac_res=\$gl_cv_type_${gltype}_suffix + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + cat >>confdefs.h <<_ACEOF +@%:@define ${GLTYPE}_SUFFIX $result +_ACEOF + + done + + + + STDINT_H=stdint.h + fi + + + # Code from module stdio: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdio_h='<'stdio.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdio_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdio_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdio.h#{ + s#.*"\(.*/stdio.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdio_h='<'stdio.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 +$as_echo "$gl_cv_next_stdio_h" >&6; } + fi + NEXT_STDIO_H=$gl_cv_next_stdio_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdio.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdio_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive + + + + GNULIB_FPRINTF=1 + GNULIB_PRINTF=1 + GNULIB_VFPRINTF=1 + GNULIB_VPRINTF=1 + GNULIB_FPUTC=1 + GNULIB_PUTC=1 + GNULIB_PUTCHAR=1 + GNULIB_FPUTS=1 + GNULIB_PUTS=1 + GNULIB_FWRITE=1 + + + + for gl_func in dprintf fpurge fseeko ftello getdelim getline popen renameat snprintf tmpfile vdprintf vsnprintf; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module stdlib: + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdlib_h='<'stdlib.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdlib_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdlib_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdlib.h#{ + s#.*"\(.*/stdlib.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdlib_h='<'stdlib.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 +$as_echo "$gl_cv_next_stdlib_h" >&6; } + fi + NEXT_STDLIB_H=$gl_cv_next_stdlib_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdlib.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdlib_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive + + + + for ac_header in random.h +do : + ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default +" +if test "x$ac_cv_header_random_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_RANDOM_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_random_h = yes; then + HAVE_RANDOM_H=1 + else + HAVE_RANDOM_H=0 + fi + + ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include + #if HAVE_RANDOM_H + # include + #endif + +" +if test "x$ac_cv_type_struct_random_data" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRUCT_RANDOM_DATA 1 +_ACEOF + + +else + HAVE_STRUCT_RANDOM_DATA=0 +fi + + + + for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt unsetenv; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#if HAVE_SYS_LOADAVG_H +# include +#endif +#if HAVE_RANDOM_H +# include +#endif + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module strcase: + + + + + + + + + + + + for ac_func in strcasecmp +do : + ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" +if test "x$ac_cv_func_strcasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRCASECMP 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strcasecmp = no; then + HAVE_STRCASECMP=0 + + : + + fi + + + + + + + + + + + + for ac_func in strncasecmp +do : + ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" +if test "x$ac_cv_func_strncasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRNCASECMP 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strncasecmp = no; then + + : + + fi + ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" +if test "x$ac_cv_have_decl_strncasecmp" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRNCASECMP $ac_have_decl +_ACEOF + + if test $ac_cv_have_decl_strncasecmp = no; then + HAVE_DECL_STRNCASECMP=0 + fi + + + # Code from module strchrnul: + + + + + + + + + + + + + for ac_func in strchrnul +do : + ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" +if test "x$ac_cv_func_strchrnul" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRCHRNUL 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strchrnul = no; then + HAVE_STRCHRNUL=0 + : + fi + + + + + GNULIB_STRCHRNUL=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h + + + + # Code from module streq: + # Code from module strerror: + + + if test $REPLACE_STRERROR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" + + +cat >>confdefs.h <<_ACEOF +@%:@define REPLACE_STRERROR $REPLACE_STRERROR +_ACEOF + + fi + + + + + GNULIB_STRERROR=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h + + + + # Code from module string: + + + + # Code from module strings: + + + + # Code from module strndup: + + + + + + + if test $ac_cv_have_decl_strndup = no; then + HAVE_DECL_STRNDUP=0 + fi + + if test $ac_cv_func_strndup = yes; then + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 +$as_echo_n "checking for working strndup... " >&6; } +if ${gl_cv_func_strndup_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + + case $host_os in + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; + *) gl_cv_func_strndup_works="guessing yes";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include +int +main (void) +{ + +#ifndef HAVE_DECL_STRNDUP + extern char *strndup (const char *, size_t); +#endif + char *s; + s = strndup ("some longer string", 15); + free (s); + s = strndup ("shorter string", 13); + return s[13] != '\0'; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_strndup_works=yes +else + gl_cv_func_strndup_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5 +$as_echo "$gl_cv_func_strndup_works" >&6; } + case $gl_cv_func_strndup_works in + *no) + REPLACE_STRNDUP=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" + + ;; + esac + else + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" + + fi + + + + + GNULIB_STRNDUP=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h + + + + # Code from module strnlen: + + + + + + + if test $ac_cv_have_decl_strnlen = no; then + HAVE_DECL_STRNLEN=0 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 +$as_echo_n "checking for working strnlen... " >&6; } +if ${ac_cv_func_strnlen_working+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + # Guess no on AIX systems, yes otherwise. + case "$host_os" in + aix*) ac_cv_func_strnlen_working=no;; + *) ac_cv_func_strnlen_working=yes;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + +#define S "foobar" +#define S_LEN (sizeof S - 1) + + /* At least one implementation is buggy: that of AIX 4.3 would + give strnlen (S, 1) == 3. */ + + int i; + for (i = 0; i < S_LEN + 1; ++i) + { + int expected = i <= S_LEN ? i : S_LEN; + if (strnlen (S, i) != expected) + return 1; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strnlen_working=yes +else + ac_cv_func_strnlen_working=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 +$as_echo "$ac_cv_func_strnlen_working" >&6; } +test $ac_cv_func_strnlen_working = no && + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" + + + if test $ac_cv_func_strnlen_working = no; then + REPLACE_STRNLEN=1 + fi + fi + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" + + : + fi + + + + + GNULIB_STRNLEN=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h + + + + # Code from module strnlen1: + # Code from module sys_wait: + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_wait_h='<'sys/wait.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_sys_wait_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_sys_wait_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/sys/wait.h#{ + s#.*"\(.*/sys/wait.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_sys_wait_h='<'sys/wait.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5 +$as_echo "$gl_cv_next_sys_wait_h" >&6; } + fi + NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sys/wait.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sys_wait_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive + + + + + + # Code from module sysexits: + + + if test $ac_cv_header_sysexits_h = yes; then + HAVE_SYSEXITS_H=1 + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sysexits_h='<'sysexits.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_sysexits_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_sysexits_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_sysexits_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/sysexits.h#{ + s#.*"\(.*/sysexits.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_sysexits_h='<'sysexits.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sysexits_h" >&5 +$as_echo "$gl_cv_next_sysexits_h" >&6; } + fi + NEXT_SYSEXITS_H=$gl_cv_next_sysexits_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sysexits.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sysexits_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H=$gl_next_as_first_directive + + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +switch (0) + { + case EX_OK: + case EX_USAGE: + case EX_DATAERR: + case EX_NOINPUT: + case EX_NOUSER: + case EX_NOHOST: + case EX_UNAVAILABLE: + case EX_SOFTWARE: + case EX_OSERR: + case EX_OSFILE: + case EX_CANTCREAT: + case EX_IOERR: + case EX_TEMPFAIL: + case EX_PROTOCOL: + case EX_NOPERM: + case EX_CONFIG: + break; + } + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + SYSEXITS_H= +else + SYSEXITS_H=sysexits.h +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + HAVE_SYSEXITS_H=0 + SYSEXITS_H=sysexits.h + fi + + + + # Code from module unistd: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_unistd_h='<'unistd.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_unistd_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_unistd_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/unistd.h#{ + s#.*"\(.*/unistd.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_unistd_h='<'unistd.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 +$as_echo "$gl_cv_next_unistd_h" >&6; } + fi + NEXT_UNISTD_H=$gl_cv_next_unistd_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'unistd.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_unistd_h + fi + NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive + + + + + + if test $ac_cv_header_unistd_h = yes; then + HAVE_UNISTD_H=1 + else + HAVE_UNISTD_H=0 + fi + + + + for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell lchown link linkat lseek pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +/* Some systems declare various items in the wrong headers. */ +#ifndef __GLIBC__ +# include +# include +# include +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +# include +# endif +#endif + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module vasnprintf: + + + if test $ac_cv_func_vasnprintf = no; then + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" + + if test $ac_cv_func_vasnprintf = yes; then + +$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h + + fi + + + + + + + + + + + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" +if test "x$ac_cv_type_ptrdiff_t" = xyes; then : + +else + +$as_echo "@%:@define ptrdiff_t long" >>confdefs.h + + +fi + + + + + + + + fi + + # Code from module verify: + # Code from module vsnprintf: + + + gl_cv_func_vsnprintf_usable=no + for ac_func in vsnprintf +do : + ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" +if test "x$ac_cv_func_vsnprintf" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_VSNPRINTF 1 +_ACEOF + +fi +done + + if test $ac_cv_func_vsnprintf = yes; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 +$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } +if ${gl_cv_func_snprintf_size1+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + gl_cv_func_snprintf_size1="guessing yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +int main() +{ + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; + snprintf (buf, 1, "%d", 12345); + return buf[1] != 'E'; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_size1=yes +else + gl_cv_func_snprintf_size1=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 +$as_echo "$gl_cv_func_snprintf_size1" >&6; } + + case "$gl_cv_func_snprintf_size1" in + *yes) + gl_cv_func_vsnprintf_usable=yes + ;; + esac + fi + if test $gl_cv_func_vsnprintf_usable = no; then + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS vsnprintf.$ac_objext" + + if test $ac_cv_func_vsnprintf = yes; then + REPLACE_VSNPRINTF=1 + fi + : + + fi + + if test $ac_cv_have_decl_vsnprintf = no; then + HAVE_DECL_VSNPRINTF=0 + fi + + + + + GNULIB_VSNPRINTF=1 + + + +$as_echo "@%:@define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h + + + + # Code from module warn-on-use: + # Code from module wchar: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wchar_h='<'wchar.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_wchar_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_wchar_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/wchar.h#{ + s#.*"\(.*/wchar.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_wchar_h='<'wchar.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 +$as_echo "$gl_cv_next_wchar_h" >&6; } + fi + NEXT_WCHAR_H=$gl_cv_next_wchar_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'wchar.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_wchar_h + fi + NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive + + + + if test $ac_cv_header_wchar_h = yes; then + HAVE_WCHAR_H=1 + else + HAVE_WCHAR_H=0 + fi + + + + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + + + + for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Some systems require additional headers. */ +#ifndef __GLIBC__ +# include +# include +# include +#endif +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module wcrtomb: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_wcrtomb = no; then + HAVE_WCRTOMB=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_WCRTOMB=1 + else + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 +$as_echo_n "checking whether wcrtomb return value is correct... " >&6; } +if ${gl_cv_func_wcrtomb_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX 4, OSF/1 and Solaris. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;; + esac + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_wcrtomb_retval=yes +else + gl_cv_func_wcrtomb_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 +$as_echo "$gl_cv_func_wcrtomb_retval" >&6; } + case "$gl_cv_func_wcrtomb_retval" in + *yes) ;; + *) REPLACE_WCRTOMB=1 ;; + esac + fi + fi + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS wcrtomb.$ac_objext" + + + : + + fi + + + + + GNULIB_WCRTOMB=1 + + + +$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h + + + + # Code from module wctype: + + + + + if test $ac_cv_func_iswcntrl = yes; then + HAVE_ISWCNTRL=1 + else + HAVE_ISWCNTRL=0 + fi + + + + if test $ac_cv_func_iswblank = yes; then + HAVE_ISWBLANK=1 + REPLACE_ISWBLANK=0 + else + HAVE_ISWBLANK=0 + if test $ac_cv_have_decl_iswblank = yes; then + REPLACE_ISWBLANK=1 + else + REPLACE_ISWBLANK=0 + fi + fi + + + + + + + + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + + + if test $ac_cv_header_wctype_h = yes; then + if test $ac_cv_func_iswcntrl = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 +$as_echo_n "checking whether iswcntrl works... " >&6; } +if ${gl_cv_func_iswcntrl_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #if __GNU_LIBRARY__ == 1 + Linux libc5 i18n is broken. + #endif +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_iswcntrl_works=yes +else + gl_cv_func_iswcntrl_works=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + #include + #include + int main () { return iswprint ('x') == 0; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_iswcntrl_works=yes +else + gl_cv_func_iswcntrl_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 +$as_echo "$gl_cv_func_iswcntrl_works" >&6; } + fi + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wctype_h='<'wctype.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_wctype_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_wctype_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/wctype.h#{ + s#.*"\(.*/wctype.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_wctype_h='<'wctype.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 +$as_echo "$gl_cv_next_wctype_h" >&6; } + fi + NEXT_WCTYPE_H=$gl_cv_next_wctype_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'wctype.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_wctype_h + fi + NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive + + + + HAVE_WCTYPE_H=1 + else + HAVE_WCTYPE_H=0 + fi + + + if test "$gl_cv_func_iswcntrl_works" = no; then + REPLACE_ISWCNTRL=1 + else + REPLACE_ISWCNTRL=0 + fi + + + # Code from module xsize: + + + + for ac_header in stdint.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDINT_H 1 +_ACEOF + +fi + +done + + + # End of code from modules + + + + + + + + + + gltests_libdeps= + gltests_ltlibdeps= + + + + + + + + + + gl_source_base='tests' + gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS + + gl_module_indicator_condition=$gltests_WITNESS + + + + + + + + + + LIBGNU_LIBDEPS="$gl_libdeps" + + LIBGNU_LTLIBDEPS="$gl_ltlibdeps" + + + +# +# Check for target programs. +# + +# Find tools for the target. +if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then + tmp_ac_tool_prefix="$ac_tool_prefix" + ac_tool_prefix=$target_alias- + + if test -n "$ac_tool_prefix"; then + for ac_prog in gcc egcs cc + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_TARGET_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$TARGET_CC"; then + ac_cv_prog_TARGET_CC="$TARGET_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_TARGET_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +TARGET_CC=$ac_cv_prog_TARGET_CC +if test -n "$TARGET_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_CC" >&5 +$as_echo "$TARGET_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$TARGET_CC" && break + done +fi +if test -z "$TARGET_CC"; then + ac_ct_TARGET_CC=$TARGET_CC + for ac_prog in gcc egcs cc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_TARGET_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_TARGET_CC"; then + ac_cv_prog_ac_ct_TARGET_CC="$ac_ct_TARGET_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_TARGET_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_TARGET_CC=$ac_cv_prog_ac_ct_TARGET_CC +if test -n "$ac_ct_TARGET_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_CC" >&5 +$as_echo "$ac_ct_TARGET_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_TARGET_CC" && break +done + + if test "x$ac_ct_TARGET_CC" = x; then + TARGET_CC="as_fn_error $? "none of gcc, egcs and cc is found. set TARGET_CC manually." "$LINENO" 5" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + TARGET_CC=$ac_ct_TARGET_CC + fi +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. +set dummy ${ac_tool_prefix}objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +$as_echo "$OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJCOPY"; then + ac_ct_OBJCOPY=$OBJCOPY + # Extract the first word of "objcopy", so it can be a program name with args. +set dummy objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJCOPY"; then + ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJCOPY="objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY +if test -n "$ac_ct_OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +$as_echo "$ac_ct_OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJCOPY" = x; then + OBJCOPY="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJCOPY=$ac_ct_OBJCOPY + fi +else + OBJCOPY="$ac_cv_prog_OBJCOPY" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. +set dummy ${ac_tool_prefix}nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NM="${ac_tool_prefix}nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NM"; then + ac_ct_NM=$NM + # Extract the first word of "nm", so it can be a program name with args. +set dummy nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NM"; then + ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NM="nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NM=$ac_cv_prog_ac_ct_NM +if test -n "$ac_ct_NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NM" = x; then + NM="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NM=$ac_ct_NM + fi +else + NM="$ac_cv_prog_NM" +fi + + + ac_tool_prefix="$tmp_ac_tool_prefix" +else + if test "x$TARGET_CC" = x; then + TARGET_CC=$CC + fi + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. +set dummy ${ac_tool_prefix}objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +$as_echo "$OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJCOPY"; then + ac_ct_OBJCOPY=$OBJCOPY + # Extract the first word of "objcopy", so it can be a program name with args. +set dummy objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJCOPY"; then + ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJCOPY="objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY +if test -n "$ac_ct_OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +$as_echo "$ac_ct_OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJCOPY" = x; then + OBJCOPY="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJCOPY=$ac_ct_OBJCOPY + fi +else + OBJCOPY="$ac_cv_prog_OBJCOPY" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. +set dummy ${ac_tool_prefix}nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NM="${ac_tool_prefix}nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NM"; then + ac_ct_NM=$NM + # Extract the first word of "nm", so it can be a program name with args. +set dummy nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NM"; then + ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NM="nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NM=$ac_cv_prog_ac_ct_NM +if test -n "$ac_ct_NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NM" = x; then + NM="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NM=$ac_ct_NM + fi +else + NM="$ac_cv_prog_NM" +fi + +fi + + + + +# Test the C compiler for the target environment. +tmp_CC="$CC" +tmp_CFLAGS="$CFLAGS" +tmp_LDFLAGS="$LDFLAGS" +tmp_CPPFLAGS="$CPPFLAGS" +tmp_LIBS="$LIBS" +CC="$TARGET_CC" +CFLAGS="$TARGET_CFLAGS" +CPPFLAGS="$TARGET_CPPFLAGS" +LDFLAGS="$TARGET_LDFLAGS" +LIBS="" + +# debug flags. +TARGET_CFLAGS="$TARGET_CFLAGS -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g" +TARGET_CCASFLAGS="$TARGET_CCASFLAGS -g" + +# Force no alignment to save space on i386. +if test "x$target_cpu" = xi386; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -falign-loops works" >&5 +$as_echo_n "checking whether -falign-loops works... " >&6; } +if ${grub_cv_cc_falign_loop+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -falign-loops=1" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_falign_loop=yes +else + grub_cv_cc_falign_loop=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_falign_loop" >&5 +$as_echo "$grub_cv_cc_falign_loop" >&6; } + + if test "x$grub_cv_cc_falign_loop" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1" + else + TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1" + fi + + # Some toolchains enable these features by default, but they need + # registers that aren't set up properly in GRUB. + TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow" +fi + +# By default, GCC 4.4 generates .eh_frame sections containing unwind +# information in some cases where it previously did not. GRUB doesn't need +# these and they just use up vital space. Restore the old compiler +# behaviour. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-dwarf2-cfi-asm works" >&5 +$as_echo_n "checking whether -fno-dwarf2-cfi-asm works... " >&6; } +if ${grub_cv_cc_fno_dwarf2_cfi_asm+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fno-dwarf2-cfi-asm" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_fno_dwarf2_cfi_asm=yes +else + grub_cv_cc_fno_dwarf2_cfi_asm=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_fno_dwarf2_cfi_asm" >&5 +$as_echo "$grub_cv_cc_fno_dwarf2_cfi_asm" >&6; } + +if test "x$grub_cv_cc_fno_dwarf2_cfi_asm" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm" +fi + +if test "${target_cpu}-${platform}" = mips-yeeloong; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -march=loongson2f works" >&5 +$as_echo_n "checking whether -march=loongson2f works... " >&6; } +if ${grub_cv_cc_march_loongson2f+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -march=loongson2f" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_march_loongson2f=yes +else + grub_cv_cc_march_loongson2f=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_march_loongson2f" >&5 +$as_echo "$grub_cv_cc_march_loongson2f" >&6; } + + if test "x$grub_cv_cc_march_loongson2f" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -march=loongson2f" + else + TARGET_CFLAGS="$TARGET_CFLAGS -march=mips3" + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our target compiler is apple cc" >&5 +$as_echo_n "checking whether our target compiler is apple cc... " >&6; } +if ${grub_cv_apple_target_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_target_cc=yes +else + grub_cv_apple_target_cc=no +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_apple_target_cc" >&5 +$as_echo "$grub_cv_apple_target_cc" >&6; } +if test x$grub_cv_apple_target_cc = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -DAPPLE_CC=1" + TARGET_CFLAGS="$TARGET_CFLAGS -fnested-functions" + + CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" + TARGET_APPLE_CC=1 + # Extract the first word of "objconv", so it can be a program name with args. +set dummy objconv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCONV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCONV"; then + ac_cv_prog_OBJCONV="$OBJCONV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCONV="objconv" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCONV=$ac_cv_prog_OBJCONV +if test -n "$OBJCONV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCONV" >&5 +$as_echo "$OBJCONV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "x$OBJCONV" = x ; then + # Extract the first word of "objconv", so it can be a program name with args. +set dummy objconv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCONV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCONV"; then + ac_cv_prog_OBJCONV="$OBJCONV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in . +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCONV="./objconv" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCONV=$ac_cv_prog_OBJCONV +if test -n "$OBJCONV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCONV" >&5 +$as_echo "$OBJCONV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + if test "x$OBJCONV" = x ; then + as_fn_error $? "objconv not found which is required when building with apple compiler" "$LINENO" 5 + fi + TARGET_IMG_LDSCRIPT= + TARGET_IMG_CFLAGS="-static" + TARGET_IMG_LDFLAGS='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_LDFLAGS_AC='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_BASE_LDOPT="-Wl,-image_base" +else + TARGET_APPLE_CC=0 +# Use linker script if present, otherwise use builtin -N script. +if test -f "${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc"; then + TARGET_IMG_LDSCRIPT='$(top_srcdir)'"/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_LDFLAGS="-Wl,-T${TARGET_IMG_LDSCRIPT}" + TARGET_IMG_LDFLAGS_AC="-Wl,-T${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +else + TARGET_IMG_LDSCRIPT= + TARGET_IMG_LDFLAGS='-Wl,-N' + TARGET_IMG_LDFLAGS_AC='-Wl,-N' + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +fi +TARGET_IMG_CFLAGS= +fi + +# For platforms where ELF is not the default link format. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for command to convert module to ELF format" >&5 +$as_echo_n "checking for command to convert module to ELF format... " >&6; } +case "${host_os}" in + cygwin) TARGET_OBJ2ELF='$(top_builddir)/grub-pe2elf'; +# FIXME: put proper test here + NEED_REGISTER_FRAME_INFO=1 + ;; + *) NEED_REGISTER_FRAME_INFO=0 ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJ2ELF" >&5 +$as_echo "$TARGET_OBJ2ELF" >&6; } + +if test "x$target_m32" = x1; then + # Force 32-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m32" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m32" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m32" + TARGET_MODULE_FORMAT="elf32" +fi + +if test "x$target_m64" = x1; then + # Force 64-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m64" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m64" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m64" + TARGET_MODULE_FORMAT="elf64" +fi + +if test "$target_cpu"-"$platform" = x86_64-efi; then + # Use large model to support 4G memory + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mcmodel=large works" >&5 +$as_echo_n "checking whether option -mcmodel=large works... " >&6; } +if ${grub_cv_cc_mcmodel+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -m64 -mcmodel=large" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_mcmodel=yes +else + grub_cv_cc_mcmodel=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_mcmodel" >&5 +$as_echo "$grub_cv_cc_mcmodel" >&6; } + if test "x$grub_cv_cc_mcmodel" = xno; then + as_fn_error $? "-mcmodel=large not supported. Upgrade your gcc." "$LINENO" 5 + else + TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" + fi + + # EFI writes to stack below %rsp, we must not use the red zone + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mno-red-zone works" >&5 +$as_echo_n "checking whether option -mno-red-zone works... " >&6; } +if ${grub_cv_cc_no_red_zone+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -m64 -mno-red-zone" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_no_red_zone=yes +else + grub_cv_cc_no_red_zone=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_no_red_zone" >&5 +$as_echo "$grub_cv_cc_no_red_zone" >&6; } + if test "x$grub_cv_cc_no_red_zone" = xno; then + as_fn_error $? "-mno-red-zone not supported, upgrade your gcc" "$LINENO" 5 + fi + + TARGET_CFLAGS="$TARGET_CFLAGS -mno-red-zone" +fi + +# +# Compiler features. +# + +# Need __enable_execute_stack() for nested function trampolines? + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' generates calls to \`__enable_execute_stack()'" >&5 +$as_echo_n "checking whether \`$CC' generates calls to \`__enable_execute_stack()'... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +void f (int (*p) (void)); +void g (int i) +{ + int nestedfunc (void) { return i; } + f (nestedfunc); +} + +_ACEOF +if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.s; then + true +else + as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 +fi +if grep __enable_execute_stack conftest.s >/dev/null 2>&1; then + NEED_ENABLE_EXECUTE_STACK=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + NEED_ENABLE_EXECUTE_STACK=0 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f conftest* + + +# Position independent executable. + +# Position independent executable. +pie_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' has \`-fPIE' as default" >&5 +$as_echo_n "checking whether \`$CC' has \`-fPIE' as default... " >&6; } +# Is this a reliable test case? +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef __PIE__ +int main() { + return 0; +} +#else +#error NO __PIE__ DEFINED +#endif + +_ACEOF + +# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + pie_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Need that, because some distributions ship compilers that include +# `-fPIE' in the default specs. +if [ x"$pie_possible" = xyes ]; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE" +fi + +# Smashing stack protector. + +# Smashing stack protector. +ssp_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-fstack-protector'" >&5 +$as_echo_n "checking whether \`$CC' accepts \`-fstack-protector'... " >&6; } +# Is this a reliable test case? +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void foo (void) { volatile char a[8]; a[3]; } +_ACEOF +# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + ssp_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Need that, because some distributions ship compilers that include +# `-fstack-protector' in the default specs. +if test "x$ssp_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-stack-protector" +fi + +# Smashing stack arg probe. +sap_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-mstack-arg-probe'" >&5 +$as_echo_n "checking whether \`$CC' accepts \`-mstack-arg-probe'... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void foo (void) { volatile char a[8]; a[3]; } +_ACEOF +if eval "$ac_compile -S -mstack-arg-probe -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + sap_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Cygwin's GCC uses alloca() to probe the stackframe on static +# stack allocations above some threshold. +if test x"$sap_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe" +fi + +@%:@ Check whether --enable-werror was given. +if test "${enable_werror+set}" = set; then : + enableval=$enable_werror; +fi + +if test x"$enable_werror" != xno ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Werror" +fi + +TARGET_CPP="$TARGET_CC -E" +TARGET_CCAS=$TARGET_CC + + + + + + + + + + + + + + + + + + + + + + + +# Set them to their new values for the tests below. +CC="$TARGET_CC" +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100 -Wno-error" +fi +CPPFLAGS="$TARGET_CPPFLAGS" +if test x$target_cpu = xi386 || test x$target_cpu = xx86_64 ; then +LIBS= +else +LIBS=-lgcc +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C symbols get an underscore after compilation" >&5 +$as_echo_n "checking if C symbols get an underscore after compilation... " >&6; } +if ${grub_cv_asm_uscore+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <<\EOF +int func (int *); +int +func (int *list) +{ + *list = 0; + return *list; +} +EOF + +if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.s; then + true +else + as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 +fi + +if $EGREP '(^|^_[:alnum])_func' conftest.s >/dev/null 2>&1; then + HAVE_ASM_USCORE=1 + grub_cv_asm_uscore=yes +else + HAVE_ASM_USCORE=0 + grub_cv_asm_uscore=no +fi + +rm -f conftest* +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_asm_uscore" >&5 +$as_echo "$grub_cv_asm_uscore" >&6; } + +if test x$grub_cv_asm_uscore = xyes; then +CFLAGS="$CFLAGS -Wl,--defsym,_abort=_main" +else +CFLAGS="$CFLAGS -Wl,--defsym,abort=main" +fi + +# Check for libgcc symbols +for ac_func in __bswapsi2 __bswapdi2 __ashldi3 __ashrdi3 __lshrdi3 __trampoline_setup __ucmpdi2 _restgpr_14_x +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100" +fi +LIBS="" + +# Defined in aclocal.m4. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether target compiler is working" >&5 +$as_echo_n "checking whether target compiler is working... " >&6; } +if ${grub_cv_prog_target_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +asm (".globl start; start:"); +int main (void); + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_prog_target_cc=yes +else + grub_cv_prog_target_cc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_target_cc" >&5 +$as_echo "$grub_cv_prog_target_cc" >&6; } + +if test "x$grub_cv_prog_target_cc" = xno; then + as_fn_error $? "cannot compile for the target" "$LINENO" 5 +fi + +if test "x$TARGET_APPLE_CC" != x1 ; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${OBJCOPY} works for absolute addresses" >&5 +$as_echo_n "checking whether ${OBJCOPY} works for absolute addresses... " >&6; } +if ${grub_cv_prog_objcopy_absolute+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <<\EOF +void cmain (void); +void +cmain (void) +{ + *((int *) 0x1000) = 2; +} +EOF + +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest.o; then : +else + as_fn_error $? "${CC-cc} cannot compile C source code" "$LINENO" 5 +fi +grub_cv_prog_objcopy_absolute=yes +for link_addr in 0x2000 0x8000 0x7C00; do + if { ac_try='${CC-cc} ${CFLAGS} -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},$link_addr conftest.o -o conftest.exec' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + else + as_fn_error $? "${CC-cc} cannot link at address $link_addr" "$LINENO" 5 + fi + if { ac_try='${OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + else + as_fn_error $? "${OBJCOPY-objcopy} cannot create binary files" "$LINENO" 5 + fi + if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + mv -f conftest conftest.old + else + grub_cv_prog_objcopy_absolute=no + break + fi +done +rm -f conftest* +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_objcopy_absolute" >&5 +$as_echo "$grub_cv_prog_objcopy_absolute" >&6; } + +if test "x$grub_cv_prog_objcopy_absolute" = xno; then + as_fn_error $? "GRUB requires a working absolute objcopy; upgrade your binutils" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts --build-id=none" >&5 +$as_echo_n "checking whether linker accepts --build-id=none... " >&6; } +if ${grub_cv_prog_ld_build_id_none+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS -Wl,--build-id=none" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_prog_ld_build_id_none=yes +else + grub_cv_prog_ld_build_id_none=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LDFLAGS="$save_LDFLAGS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_ld_build_id_none" >&5 +$as_echo "$grub_cv_prog_ld_build_id_none" >&6; } + +if test "x$grub_cv_prog_ld_build_id_none" = xyes; then + TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=none" +fi + +if test "x$target_cpu" = xi386; then + if test "$platform" != emu && test "x$TARGET_APPLE_CC" != x1 ; then + if test ! -z "$TARGET_IMG_LDSCRIPT"; then + # Check symbols provided by linker script. + CFLAGS="$TARGET_CFLAGS -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},8000 -Wl,--defsym,___main=0x8100" + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __bss_start is defined by the compiler" >&5 +$as_echo_n "checking if __bss_start is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_uscore_bss_start_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl __bss_start") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_uscore_bss_start_symbol=yes +else + grub_cv_check_uscore_uscore_bss_start_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5 +$as_echo "$grub_cv_check_uscore_uscore_bss_start_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if edata is defined by the compiler" >&5 +$as_echo_n "checking if edata is defined by the compiler... " >&6; } +if ${grub_cv_check_edata_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl edata") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_edata_symbol=yes +else + grub_cv_check_edata_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_edata_symbol" >&5 +$as_echo "$grub_cv_check_edata_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _edata is defined by the compiler" >&5 +$as_echo_n "checking if _edata is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_edata_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl _edata") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_edata_symbol=yes +else + grub_cv_check_uscore_edata_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_edata_symbol" >&5 +$as_echo "$grub_cv_check_uscore_edata_symbol" >&6; } + +if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then + BSS_START_SYMBOL=__bss_start +elif test "x$grub_cv_check_edata_symbol" = xyes; then + BSS_START_SYMBOL=edata +elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then + BSS_START_SYMBOL=_edata +else + as_fn_error $? "none of __bss_start, edata or _edata is defined" "$LINENO" 5 +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if end is defined by the compiler" >&5 +$as_echo_n "checking if end is defined by the compiler... " >&6; } +if ${grub_cv_check_end_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl end") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_end_symbol=yes +else + grub_cv_check_end_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_end_symbol" >&5 +$as_echo "$grub_cv_check_end_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _end is defined by the compiler" >&5 +$as_echo_n "checking if _end is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_end_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl _end") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_end_symbol=yes +else + grub_cv_check_uscore_end_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_end_symbol" >&5 +$as_echo "$grub_cv_check_uscore_end_symbol" >&6; } + +if test "x$grub_cv_check_end_symbol" = xyes; then + END_SYMBOL=end +elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then + END_SYMBOL=_end +else + as_fn_error $? "neither end nor _end is defined" "$LINENO" 5 +fi + + fi + CFLAGS="$TARGET_CFLAGS" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether addr32 must be in the same line as the instruction" >&5 +$as_echo_n "checking whether addr32 must be in the same line as the instruction... " >&6; } +if ${grub_cv_i386_asm_prefix_requirement+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.s <<\EOF + .code16 +l1: addr32 movb %al, l1 +EOF + +if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.o; then + grub_cv_i386_asm_prefix_requirement=yes +else + grub_cv_i386_asm_prefix_requirement=no +fi + +rm -f conftest* +fi + + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + grub_tmp_addr32="addr32" + grub_tmp_data32="data32" +else + grub_tmp_addr32="addr32;" + grub_tmp_data32="data32;" +fi + +ADDR32=$grub_tmp_addr32 +DATA32=$grub_tmp_data32 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_i386_asm_prefix_requirement" >&5 +$as_echo "$grub_cv_i386_asm_prefix_requirement" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .code16 addr32 assembler support" >&5 +$as_echo_n "checking for .code16 addr32 assembler support... " >&6; } +if ${grub_cv_i386_asm_addr32+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.s.in <<\EOF + .code16 +l1: @ADDR32@ movb %al, l1 +EOF + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + sed -e s/@ADDR32@/addr32/ < conftest.s.in > conftest.s +else + sed -e s/@ADDR32@/addr32\;/ < conftest.s.in > conftest.s +fi + +if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.o; then + grub_cv_i386_asm_addr32=yes +else + grub_cv_i386_asm_addr32=no +fi + +rm -f conftest* +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_i386_asm_addr32" >&5 +$as_echo "$grub_cv_i386_asm_addr32" >&6; } +fi + +@%:@ Check whether --enable-efiemu was given. +if test "${enable_efiemu+set}" = set; then : + enableval=$enable_efiemu; +fi + +if test x"$enable_efiemu" = xno ; then + efiemu_excuse="explicitly disabled" +fi +if test x"$target_cpu" != xi386 ; then + efiemu_excuse="only available on i386" +fi +if test x"$platform" = xefi ; then + efiemu_excuse="not available on efi" +fi +if test x"$efiemu_excuse" = x ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether options required for efiemu work" >&5 +$as_echo_n "checking whether options required for efiemu work... " >&6; } +if ${grub_cv_cc_efiemu+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_efiemu=yes +else + grub_cv_cc_efiemu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_efiemu" >&5 +$as_echo "$grub_cv_cc_efiemu" >&6; } + if test x$grub_cv_cc_efiemu = xno; then + efiemu_excuse="cannot compile with -m64 -mcmodel=large -mno-red-zone -nostdlib" + fi +fi +if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then + as_fn_error $? "efiemu runtime was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$efiemu_excuse" = x ; then +enable_efiemu=yes +else +enable_efiemu=no +fi + + +if test "$platform" != emu; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -nostdinc -isystem works" >&5 +$as_echo_n "checking whether -nostdinc -isystem works... " >&6; } +if ${grub_cv_cc_isystem+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int va_arg_func (int fixed, va_list args); +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_isystem=yes +else + grub_cv_cc_isystem=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$SAVED_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_isystem" >&5 +$as_echo "$grub_cv_cc_isystem" >&6; } + +if test x"$grub_cv_cc_isystem" = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" +fi +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-trampolines work" >&5 +$as_echo_n "checking whether -Wno-trampolines work... " >&6; } +if ${grub_cv_cc_wnotrampolines+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CFLAGS="$CFLAGS" + # Test for -Wtrampolines rather than -Wno-trampolines to reduce confusion + # in the event of later failures (since -Wno-* is always accepted, but + # produces a diagnostic if something else is wrong). + CFLAGS="$TARGET_CFLAGS -Wtrampolines" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int va_arg_func (int fixed, va_list args); +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_wnotrampolines=yes +else + grub_cv_cc_wnotrampolines=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVED_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_wnotrampolines" >&5 +$as_echo "$grub_cv_cc_wnotrampolines" >&6; } + +if test x"$grub_cv_cc_wnotrampolines" = xyes ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Wno-trampolines" +fi + +# Restore the flags. +CC="$tmp_CC" +CFLAGS="$tmp_CFLAGS" +CPPFLAGS="$tmp_CPPFLAGS" +LDFLAGS="$tmp_LDFLAGS" +LIBS="$tmp_LIBS" + +# +# Check for options. +# + +# Memory manager debugging. +@%:@ Check whether --enable-mm-debug was given. +if test "${enable_mm_debug+set}" = set; then : + enableval=$enable_mm_debug; +$as_echo "@%:@define MM_DEBUG 1" >>confdefs.h + +fi + + +@%:@ Check whether --enable-grub-emu-usb was given. +if test "${enable_grub_emu_usb+set}" = set; then : + enableval=$enable_grub_emu_usb; +fi + + +@%:@ Check whether --enable-grub-emu-sdl was given. +if test "${enable_grub_emu_sdl+set}" = set; then : + enableval=$enable_grub_emu_sdl; +fi + + +@%:@ Check whether --enable-grub-emu-pci was given. +if test "${enable_grub_emu_pci+set}" = set; then : + enableval=$enable_grub_emu_pci; +fi + + +if test "$platform" = emu; then + missing_ncurses= +# Check for curses libraries. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5 +$as_echo_n "checking for wgetch in -lncurses... " >&6; } +if ${ac_cv_lib_ncurses_wgetch+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char wgetch (); +int +main (void) +{ +return wgetch (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncurses_wgetch=yes +else + ac_cv_lib_ncurses_wgetch=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5 +$as_echo "$ac_cv_lib_ncurses_wgetch" >&6; } +if test "x$ac_cv_lib_ncurses_wgetch" = xyes; then : + LIBCURSES="-lncurses" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lcurses" >&5 +$as_echo_n "checking for wgetch in -lcurses... " >&6; } +if ${ac_cv_lib_curses_wgetch+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char wgetch (); +int +main (void) +{ +return wgetch (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_curses_wgetch=yes +else + ac_cv_lib_curses_wgetch=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_wgetch" >&5 +$as_echo "$ac_cv_lib_curses_wgetch" >&6; } +if test "x$ac_cv_lib_curses_wgetch" = xyes; then : + LIBCURSES="-lcurses" +else + missing_ncurses=true +fi + +fi + + +if [ x"$missing_ncurses" = x ]; then + # Check for headers. + for ac_header in ncurses/curses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_curses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_NCURSES_CURSES_H 1 +_ACEOF + +else + for ac_header in ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_NCURSES_H 1 +_ACEOF + +else + for ac_header in curses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" +if test "x$ac_cv_header_curses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_CURSES_H 1 +_ACEOF + +else + missing_ncurses=true +fi + +done + +fi + +done + +fi + +done + +fi +if test x"$missing_ncurses" = xtrue ; then + as_fn_error $? "grub-emu can't be compiled without ncurses" "$LINENO" 5 +fi + +if test x"$enable_grub_emu_usb" != xyes ; then + grub_emu_usb_excuse="not enabled" +fi + +if test x"$enable_grub_emu_pci" = xyes ; then + grub_emu_usb_excuse="conflicts with PCI support" +fi + +if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for libusb libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_claim_interface in -lusb" >&5 +$as_echo_n "checking for usb_claim_interface in -lusb... " >&6; } +if ${ac_cv_lib_usb_usb_claim_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lusb $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char usb_claim_interface (); +int +main (void) +{ +return usb_claim_interface (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_usb_usb_claim_interface=yes +else + ac_cv_lib_usb_usb_claim_interface=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_claim_interface" >&5 +$as_echo "$ac_cv_lib_usb_usb_claim_interface" >&6; } +if test "x$ac_cv_lib_usb_usb_claim_interface" = xyes; then : + LIBUSB="-lusb" +else + grub_emu_usb_excuse="need libusb library" +fi + + +fi +if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for headers. + for ac_header in usb.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default" +if test "x$ac_cv_header_usb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_USB_H 1 +_ACEOF + +else + grub_emu_usb_excuse="need libusb headers" +fi + +done + +fi +if test x"$enable_grub_emu_usb" = xyes && test x"$grub_emu_usb_excuse" != x ; then + as_fn_error $? "USB support for grub-emu was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_emu_usb_excuse" = x ; then +enable_grub_emu_usb=yes +else +enable_grub_emu_usb=no +fi + +if test x"$enable_grub_emu_sdl" = xno ; then + grub_emu_sdl_excuse="explicitely disabled" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for libSDL libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL" >&5 +$as_echo_n "checking for SDL_Init in -lSDL... " >&6; } +if ${ac_cv_lib_SDL_SDL_Init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lSDL $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char SDL_Init (); +int +main (void) +{ +return SDL_Init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_SDL_SDL_Init=yes +else + ac_cv_lib_SDL_SDL_Init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_SDL_Init" >&5 +$as_echo "$ac_cv_lib_SDL_SDL_Init" >&6; } +if test "x$ac_cv_lib_SDL_SDL_Init" = xyes; then : + LIBSDL="-lSDL" +else + grub_emu_sdl_excuse="libSDL libraries are required to build \`grub-emu' with SDL support" +fi + + +fi + +if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for headers. + for ac_header in SDL/SDL.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default" +if test "x$ac_cv_header_SDL_SDL_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_SDL_SDL_H 1 +_ACEOF + +else + grub_emu_sdl_excuse="libSDL header file is required to build \`grub-emu' with SDL support" +fi + +done + +fi + +if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; then + as_fn_error $? "SDL support for grub-emu was explicitely requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_emu_sdl_excuse" = x ; then +enable_grub_emu_sdl=yes +else +enable_grub_emu_sdl=no +fi + +if test x"$enable_grub_emu_pci" != xyes ; then + grub_emu_pci_excuse="not enabled" +fi + +if test x"$enable_grub_emu_usb" = xyes ; then + grub_emu_pci_excuse="conflicts with USB support" +fi + +if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for libpci libraries. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_system_init in -lpciaccess" >&5 +$as_echo_n "checking for pci_system_init in -lpciaccess... " >&6; } +if ${ac_cv_lib_pciaccess_pci_system_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpciaccess $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char pci_system_init (); +int +main (void) +{ +return pci_system_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pciaccess_pci_system_init=yes +else + ac_cv_lib_pciaccess_pci_system_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pciaccess_pci_system_init" >&5 +$as_echo "$ac_cv_lib_pciaccess_pci_system_init" >&6; } +if test "x$ac_cv_lib_pciaccess_pci_system_init" = xyes; then : + LIBPCIACCESS="-lpciaccess" +else + grub_emu_pci_excuse="need libpciaccess library" +fi + + +fi +if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for headers. + for ac_header in pci/pci.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default" +if test "x$ac_cv_header_pci_pci_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_PCI_PCI_H 1 +_ACEOF + +else + grub_emu_pci_excuse="need libpciaccess headers" +fi + +done + +fi + +if test x"$grub_emu_pci_excuse" = x ; then +enable_grub_emu_pci=yes +else + +enable_grub_emu_pci=no +fi + + + + +fi + +@%:@ Check whether --enable-grub-mkfont was given. +if test "${enable_grub_mkfont+set}" = set; then : + enableval=$enable_grub_mkfont; +fi + +if test x"$enable_grub_mkfont" = xno ; then + grub_mkfont_excuse="explicitly disabled" +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + for ac_prog in freetype-config +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_FREETYPE+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$FREETYPE"; then + ac_cv_prog_FREETYPE="$FREETYPE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_FREETYPE="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +FREETYPE=$ac_cv_prog_FREETYPE +if test -n "$FREETYPE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE" >&5 +$as_echo "$FREETYPE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$FREETYPE" && break +done + + if test "x$FREETYPE" = x ; then + grub_mkfont_excuse="need freetype2 library" + fi +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + freetype_cflags=`freetype-config --cflags` + freetype_libs=`freetype-config --libs` + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $freetype_cflags" + for ac_header in ft2build.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default" +if test "x$ac_cv_header_ft2build_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_FT2BUILD_H 1 +_ACEOF + +else + grub_mkfont_excuse="need freetype2 headers" +fi + +done + + CPPFLAGS="$SAVED_CPPFLAGS" +fi + +if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then + as_fn_error $? "grub-mkfont was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_mkfont_excuse" = x ; then +enable_grub_mkfont=yes +else +enable_grub_mkfont=no +fi + + + + +@%:@ Check whether --enable-device-mapper was given. +if test "${enable_device_mapper+set}" = set; then : + enableval=$enable_device_mapper; +fi + +if test x"$enable_device_mapper" = xno ; then + device_mapper_excuse="explicitly disabled" +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper header. + ac_fn_c_check_header_mongrel "$LINENO" "libdevmapper.h" "ac_cv_header_libdevmapper_h" "$ac_includes_default" +if test "x$ac_cv_header_libdevmapper_h" = xyes; then : + +else + device_mapper_excuse="need libdevmapper header" +fi + + +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_task_create in -ldevmapper" >&5 +$as_echo_n "checking for dm_task_create in -ldevmapper... " >&6; } +if ${ac_cv_lib_devmapper_dm_task_create+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldevmapper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dm_task_create (); +int +main (void) +{ +return dm_task_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_devmapper_dm_task_create=yes +else + ac_cv_lib_devmapper_dm_task_create=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_task_create" >&5 +$as_echo "$ac_cv_lib_devmapper_dm_task_create" >&6; } +if test "x$ac_cv_lib_devmapper_dm_task_create" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBDEVMAPPER 1 +_ACEOF + + LIBS="-ldevmapper $LIBS" + +else + device_mapper_excuse="need devmapper library" +fi + +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_log_with_errno_init in -ldevmapper" >&5 +$as_echo_n "checking for dm_log_with_errno_init in -ldevmapper... " >&6; } +if ${ac_cv_lib_devmapper_dm_log_with_errno_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldevmapper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dm_log_with_errno_init (); +int +main (void) +{ +return dm_log_with_errno_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_devmapper_dm_log_with_errno_init=yes +else + ac_cv_lib_devmapper_dm_log_with_errno_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_log_with_errno_init" >&5 +$as_echo "$ac_cv_lib_devmapper_dm_log_with_errno_init" >&6; } +if test "x$ac_cv_lib_devmapper_dm_log_with_errno_init" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBDEVMAPPER 1 +_ACEOF + + LIBS="-ldevmapper $LIBS" + +else + device_mapper_excuse="need devmapper library" +fi + +fi + +if test x"$device_mapper_excuse" = x ; then + LIBDEVMAPPER="-ldevmapper"; + +$as_echo "@%:@define HAVE_DEVICE_MAPPER 1" >>confdefs.h + +fi + + + +LIBGEOM= +if test x$host_kernel = xkfreebsd; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geom_gettree in -lgeom" >&5 +$as_echo_n "checking for geom_gettree in -lgeom... " >&6; } +if ${ac_cv_lib_geom_geom_gettree+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgeom $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char geom_gettree (); +int +main (void) +{ +return geom_gettree (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_geom_geom_gettree=yes +else + ac_cv_lib_geom_geom_gettree=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_geom_geom_gettree" >&5 +$as_echo "$ac_cv_lib_geom_geom_gettree" >&6; } +if test "x$ac_cv_lib_geom_geom_gettree" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBGEOM 1 +_ACEOF + + LIBS="-lgeom $LIBS" + +else + as_fn_error $? "Your platform requires libgeom" "$LINENO" 5 +fi + + LIBGEOM="-lgeom" +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 +$as_echo_n "checking for lzma_code in -llzma... " >&6; } +if ${ac_cv_lib_lzma_lzma_code+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-llzma $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char lzma_code (); +int +main (void) +{ +return lzma_code (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_lzma_lzma_code=yes +else + ac_cv_lib_lzma_lzma_code=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 +$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } +if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : + LIBLZMA="-llzma" + +$as_echo "@%:@define HAVE_LIBLZMA 1" >>confdefs.h + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzfs_init in -lzfs" >&5 +$as_echo_n "checking for libzfs_init in -lzfs... " >&6; } +if ${ac_cv_lib_zfs_libzfs_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lzfs $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char libzfs_init (); +int +main (void) +{ +return libzfs_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_zfs_libzfs_init=yes +else + ac_cv_lib_zfs_libzfs_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zfs_libzfs_init" >&5 +$as_echo "$ac_cv_lib_zfs_libzfs_init" >&6; } +if test "x$ac_cv_lib_zfs_libzfs_init" = xyes; then : + LIBZFS="-lzfs" + +$as_echo "@%:@define HAVE_LIBZFS 1" >>confdefs.h + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nvlist_print in -lnvpair" >&5 +$as_echo_n "checking for nvlist_print in -lnvpair... " >&6; } +if ${ac_cv_lib_nvpair_nvlist_print+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnvpair $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char nvlist_print (); +int +main (void) +{ +return nvlist_print (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nvpair_nvlist_print=yes +else + ac_cv_lib_nvpair_nvlist_print=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nvpair_nvlist_print" >&5 +$as_echo "$ac_cv_lib_nvpair_nvlist_print" >&6; } +if test "x$ac_cv_lib_nvpair_nvlist_print" = xyes; then : + LIBNVPAIR="-lnvpair" + +$as_echo "@%:@define HAVE_LIBNVPAIR 1" >>confdefs.h + +fi + + + +LIBS="" + +pkglibrootdir='$(libdir)'/`echo $PACKAGE | sed "$program_transform_name"` + + + +if test x$target_cpu = xi386 -a x$platform = xqemu; then : + GRUB_BOOT_MACHINE_LINK_ADDR=0xffe00 + +fi +if test x$TARGET_APPLE_CC = x1; then : + USE_APPLE_CC_FIXES=yes + +fi + + + + + + + + + + + +# +# Automake conditionals +# + + if test x$platform = xemu; then + COND_emu_TRUE= + COND_emu_FALSE='#' +else + COND_emu_TRUE='#' + COND_emu_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xpc; then + COND_i386_pc_TRUE= + COND_i386_pc_FALSE='#' +else + COND_i386_pc_TRUE='#' + COND_i386_pc_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xefi; then + COND_i386_efi_TRUE= + COND_i386_efi_FALSE='#' +else + COND_i386_efi_TRUE='#' + COND_i386_efi_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xqemu; then + COND_i386_qemu_TRUE= + COND_i386_qemu_FALSE='#' +else + COND_i386_qemu_TRUE='#' + COND_i386_qemu_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xieee1275; then + COND_i386_ieee1275_TRUE= + COND_i386_ieee1275_FALSE='#' +else + COND_i386_ieee1275_TRUE='#' + COND_i386_ieee1275_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xcoreboot; then + COND_i386_coreboot_TRUE= + COND_i386_coreboot_FALSE='#' +else + COND_i386_coreboot_TRUE='#' + COND_i386_coreboot_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xmultiboot; then + COND_i386_multiboot_TRUE= + COND_i386_multiboot_FALSE='#' +else + COND_i386_multiboot_TRUE='#' + COND_i386_multiboot_FALSE= +fi + + if test x$target_cpu = xx86_64 -a x$platform = xefi; then + COND_x86_64_efi_TRUE= + COND_x86_64_efi_FALSE='#' +else + COND_x86_64_efi_TRUE='#' + COND_x86_64_efi_FALSE= +fi + + if test x$target_cpu = xmips -a x$platform = xyeeloong; then + COND_mips_yeeloong_TRUE= + COND_mips_yeeloong_FALSE='#' +else + COND_mips_yeeloong_TRUE='#' + COND_mips_yeeloong_FALSE= +fi + + if test x$target_cpu = xmips -a x$platform = xqemu_mips; then + COND_mips_qemu_mips_TRUE= + COND_mips_qemu_mips_FALSE='#' +else + COND_mips_qemu_mips_TRUE='#' + COND_mips_qemu_mips_FALSE= +fi + + if test x$target_cpu = xsparc64 -a x$platform = xieee1275; then + COND_sparc64_ieee1275_TRUE= + COND_sparc64_ieee1275_FALSE='#' +else + COND_sparc64_ieee1275_TRUE='#' + COND_sparc64_ieee1275_FALSE= +fi + + if test x$target_cpu = xpowerpc -a x$platform = xieee1275; then + COND_powerpc_ieee1275_TRUE= + COND_powerpc_ieee1275_FALSE='#' +else + COND_powerpc_ieee1275_TRUE='#' + COND_powerpc_ieee1275_FALSE= +fi + + if test x$target_cpu = xmips; then + COND_mips_TRUE= + COND_mips_FALSE='#' +else + COND_mips_TRUE='#' + COND_mips_FALSE= +fi + + + if test x$host_kernel = xhurd; then + COND_HOST_HURD_TRUE= + COND_HOST_HURD_FALSE='#' +else + COND_HOST_HURD_TRUE='#' + COND_HOST_HURD_FALSE= +fi + + if test x$host_kernel = xlinux; then + COND_HOST_LINUX_TRUE= + COND_HOST_LINUX_FALSE='#' +else + COND_HOST_LINUX_TRUE='#' + COND_HOST_LINUX_FALSE= +fi + + if test x$host_kernel = xnetbsd; then + COND_HOST_NETBSD_TRUE= + COND_HOST_NETBSD_FALSE='#' +else + COND_HOST_NETBSD_TRUE='#' + COND_HOST_NETBSD_FALSE= +fi + + if test x$host_kernel = xwindows; then + COND_HOST_WINDOWS_TRUE= + COND_HOST_WINDOWS_FALSE='#' +else + COND_HOST_WINDOWS_TRUE='#' + COND_HOST_WINDOWS_FALSE= +fi + + if test x$host_kernel = xkfreebsd; then + COND_HOST_KFREEBSD_TRUE= + COND_HOST_KFREEBSD_FALSE='#' +else + COND_HOST_KFREEBSD_TRUE='#' + COND_HOST_KFREEBSD_FALSE= +fi + + + if test x$cross_compiling = xno -a x$HELP2MAN != x; then + COND_MAN_PAGES_TRUE= + COND_MAN_PAGES_FALSE='#' +else + COND_MAN_PAGES_TRUE='#' + COND_MAN_PAGES_FALSE= +fi + + if test x$enable_grub_emu_usb = xyes; then + COND_GRUB_EMU_USB_TRUE= + COND_GRUB_EMU_USB_FALSE='#' +else + COND_GRUB_EMU_USB_TRUE='#' + COND_GRUB_EMU_USB_FALSE= +fi + + if test x$enable_grub_emu_sdl = xyes; then + COND_GRUB_EMU_SDL_TRUE= + COND_GRUB_EMU_SDL_FALSE='#' +else + COND_GRUB_EMU_SDL_TRUE='#' + COND_GRUB_EMU_SDL_FALSE= +fi + + if test x$enable_grub_emu_pci = xyes; then + COND_GRUB_EMU_PCI_TRUE= + COND_GRUB_EMU_PCI_FALSE='#' +else + COND_GRUB_EMU_PCI_TRUE='#' + COND_GRUB_EMU_PCI_FALSE= +fi + + if test x$enable_grub_mkfont = xyes; then + COND_GRUB_MKFONT_TRUE= + COND_GRUB_MKFONT_FALSE='#' +else + COND_GRUB_MKFONT_TRUE='#' + COND_GRUB_MKFONT_FALSE= +fi + + if test x$FONT_SOURCE != x; then + COND_HAVE_FONT_SOURCE_TRUE= + COND_HAVE_FONT_SOURCE_FALSE='#' +else + COND_HAVE_FONT_SOURCE_TRUE='#' + COND_HAVE_FONT_SOURCE_FALSE= +fi + + if test x$TARGET_OBJ2ELF != x; then + COND_GRUB_PE2ELF_TRUE= + COND_GRUB_PE2ELF_FALSE='#' +else + COND_GRUB_PE2ELF_TRUE='#' + COND_GRUB_PE2ELF_FALSE= +fi + + if test x$TARGET_APPLE_CC = x1; then + COND_APPLE_CC_TRUE= + COND_APPLE_CC_FALSE='#' +else + COND_APPLE_CC_TRUE='#' + COND_APPLE_CC_FALSE= +fi + + if test x$enable_efiemu = xyes; then + COND_ENABLE_EFIEMU_TRUE= + COND_ENABLE_EFIEMU_FALSE='#' +else + COND_ENABLE_EFIEMU_TRUE='#' + COND_ENABLE_EFIEMU_FALSE= +fi + + + if test x$HAVE_ASM_USCORE = x1; then + COND_HAVE_ASM_USCORE_TRUE= + COND_HAVE_ASM_USCORE_FALSE='#' +else + COND_HAVE_ASM_USCORE_TRUE='#' + COND_HAVE_ASM_USCORE_FALSE= +fi + + if test x$host_os = xcygwin; then + COND_CYGWIN_TRUE= + COND_CYGWIN_FALSE='#' +else + COND_CYGWIN_TRUE='#' + COND_CYGWIN_FALSE= +fi + + +# Output files. + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln can handle directories properly" >&5 +$as_echo_n "checking whether ln can handle directories properly... " >&6; } +mkdir testdir 2>/dev/null +case $srcdir in +[\\/$]* | ?:[\\/]* ) reldir=$srcdir/include/grub/util ;; + *) reldir=../$srcdir/include/grub/util ;; +esac +if ln -s $reldir testdir/util 2>/dev/null ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + link_dir=yes +else + link_dir=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -rf testdir + +if test x"$link_dir" = xyes ; then + ac_config_links="$ac_config_links include/grub/cpu:include/grub/$target_cpu" + + if test "$platform" != emu ; then + ac_config_links="$ac_config_links include/grub/machine:include/grub/$target_cpu/$platform" + + fi +else + mkdir -p include/grub 2>/dev/null + rm -rf include/grub/cpu + cp -rp $srcdir/include/grub/$target_cpu include/grub/cpu 2>/dev/null + if test "$platform" != emu ; then + rm -rf include/grub/machine + cp -rp $srcdir/include/grub/$target_cpu/$platform include/grub/machine 2>/dev/null + fi +fi + +ac_config_files="$ac_config_files Makefile" + +ac_config_files="$ac_config_files grub-core/Makefile" + +ac_config_files="$ac_config_files grub-core/gnulib/Makefile" + +ac_config_files="$ac_config_files po/Makefile.in" + +ac_config_files="$ac_config_files docs/Makefile" + +ac_config_files="$ac_config_files util/bash-completion.d/Makefile" + +ac_config_files="$ac_config_files stamp-h" + +ac_config_files="$ac_config_files config.h" + + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIB@&t@OBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + gl_libobjs= + gl_ltlibobjs= + if test -n "$gl_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gl_libobjs="$gl_libobjs $i.$ac_objext" + gl_ltlibobjs="$gl_ltlibobjs $i.lo" + done + fi + gl_LIBOBJS=$gl_libobjs + + gl_LTLIBOBJS=$gl_ltlibobjs + + + + gltests_libobjs= + gltests_ltlibobjs= + if test -n "$gltests_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gltests_libobjs="$gltests_libobjs $i.$ac_objext" + gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" + done + fi + gltests_LIBOBJS=$gltests_libobjs + + gltests_LTLIBOBJS=$gltests_ltlibobjs + + +if test -z "${COND_emu_TRUE}" && test -z "${COND_emu_FALSE}"; then + as_fn_error $? "conditional \"COND_emu\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_pc_TRUE}" && test -z "${COND_i386_pc_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_pc\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_efi_TRUE}" && test -z "${COND_i386_efi_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_efi\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_qemu_TRUE}" && test -z "${COND_i386_qemu_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_qemu\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_ieee1275_TRUE}" && test -z "${COND_i386_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_coreboot_TRUE}" && test -z "${COND_i386_coreboot_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_coreboot\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_multiboot_TRUE}" && test -z "${COND_i386_multiboot_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_multiboot\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_x86_64_efi_TRUE}" && test -z "${COND_x86_64_efi_FALSE}"; then + as_fn_error $? "conditional \"COND_x86_64_efi\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_yeeloong_TRUE}" && test -z "${COND_mips_yeeloong_FALSE}"; then + as_fn_error $? "conditional \"COND_mips_yeeloong\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_qemu_mips_TRUE}" && test -z "${COND_mips_qemu_mips_FALSE}"; then + as_fn_error $? "conditional \"COND_mips_qemu_mips\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_sparc64_ieee1275_TRUE}" && test -z "${COND_sparc64_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_sparc64_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_powerpc_ieee1275_TRUE}" && test -z "${COND_powerpc_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_powerpc_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_TRUE}" && test -z "${COND_mips_FALSE}"; then + as_fn_error $? "conditional \"COND_mips\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_HURD_TRUE}" && test -z "${COND_HOST_HURD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_HURD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_LINUX_TRUE}" && test -z "${COND_HOST_LINUX_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_LINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_NETBSD_TRUE}" && test -z "${COND_HOST_NETBSD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_NETBSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_WINDOWS_TRUE}" && test -z "${COND_HOST_WINDOWS_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_WINDOWS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_KFREEBSD_TRUE}" && test -z "${COND_HOST_KFREEBSD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_KFREEBSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then + as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_USB_TRUE}" && test -z "${COND_GRUB_EMU_USB_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_USB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_SDL_TRUE}" && test -z "${COND_GRUB_EMU_SDL_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_SDL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_PCI_TRUE}" && test -z "${COND_GRUB_EMU_PCI_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_PCI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_MKFONT_TRUE}" && test -z "${COND_GRUB_MKFONT_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_MKFONT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HAVE_FONT_SOURCE_TRUE}" && test -z "${COND_HAVE_FONT_SOURCE_FALSE}"; then + as_fn_error $? "conditional \"COND_HAVE_FONT_SOURCE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_PE2ELF_TRUE}" && test -z "${COND_GRUB_PE2ELF_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_PE2ELF\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_APPLE_CC_TRUE}" && test -z "${COND_APPLE_CC_FALSE}"; then + as_fn_error $? "conditional \"COND_APPLE_CC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_ENABLE_EFIEMU_TRUE}" && test -z "${COND_ENABLE_EFIEMU_FALSE}"; then + as_fn_error $? "conditional \"COND_ENABLE_EFIEMU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HAVE_ASM_USCORE_TRUE}" && test -z "${COND_HAVE_ASM_USCORE_FALSE}"; then + as_fn_error $? "conditional \"COND_HAVE_ASM_USCORE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_CYGWIN_TRUE}" && test -z "${COND_CYGWIN_FALSE}"; then + as_fn_error $? "conditional \"COND_CYGWIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in @%:@( + *posix*) : + set -o posix ;; @%:@( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in @%:@( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in @%:@(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] +@%:@ ---------------------------------------- +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the +@%:@ script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} @%:@ as_fn_error + + +@%:@ as_fn_set_status STATUS +@%:@ ----------------------- +@%:@ Set @S|@? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} @%:@ as_fn_set_status + +@%:@ as_fn_exit STATUS +@%:@ ----------------- +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} @%:@ as_fn_exit + +@%:@ as_fn_unset VAR +@%:@ --------------- +@%:@ Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +@%:@ as_fn_append VAR VALUE +@%:@ ---------------------- +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take +@%:@ advantage of any shell optimizations that allow amortized linear growth over +@%:@ repeated appends, instead of the typical quadratic growth present in naive +@%:@ implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +@%:@ as_fn_arith ARG... +@%:@ ------------------ +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments +@%:@ must be portable across @S|@(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in @%:@((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +@%:@ as_fn_mkdir_p +@%:@ ------------- +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} @%:@ as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in @%:@( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by GRUB $as_me 1.99, which was +generated by GNU Autoconf 2.68. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_links="$ac_config_links" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +GRUB config.status 1.99 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX +@%:@@%:@ Running $as_me. @%:@@%:@ +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake < 1.5. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config-util.h") CONFIG_HEADERS="$CONFIG_HEADERS config-util.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; + "include/grub/cpu") CONFIG_LINKS="$CONFIG_LINKS include/grub/cpu:include/grub/$target_cpu" ;; + "include/grub/machine") CONFIG_LINKS="$CONFIG_LINKS include/grub/machine:include/grub/$target_cpu/$platform" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "grub-core/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/Makefile" ;; + "grub-core/gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/gnulib/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "util/bash-completion.d/Makefile") CONFIG_FILES="$CONFIG_FILES util/bash-completion.d/Makefile" ;; + "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;; + "config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + :L) + # + # CONFIG_LINK + # + + if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then + : + else + # Prefer the file from the source tree if names are identical. + if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then + ac_source=$srcdir/$ac_source + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 +$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} + + if test ! -r "$ac_source"; then + as_fn_error $? "$ac_source: file not found" "$LINENO" 5 + fi + rm -f "$ac_file" + + # Try a relative symlink, then a hard link, then a copy. + case $ac_source in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; + *) ac_rel_source=$ac_top_build_prefix$ac_source ;; + esac + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || + ln "$ac_source" "$ac_file" 2>/dev/null || + cp -p "$ac_source" "$ac_file" || + as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 + fi + ;; + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "po-directories":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + # Treat a directory as a PO directory if and only if it has a + # POTFILES.in file. This allows packages to have multiple PO + # directories under different names or in different locations. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + "stamp-h":F) echo timestamp > stamp-h ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +echo "*******************************************************" +echo GRUB2 will be compiled with following components: +echo Platform: "$target_cpu"-"$platform" +if [ x"$platform" = xemu ]; then +if [ x"$grub_emu_usb_excuse" = x ]; then +echo USB support for grub-emu: Yes +else +echo USB support for grub-emu: No "($grub_emu_usb_excuse)" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then +echo SDL support for grub-emu: Yes +else +echo SDL support for grub-emu: No "($grub_emu_sdl_excuse)" +fi +if [ x"$grub_emu_pci_excuse" = x ]; then +echo PCI support for grub-emu: Yes +else +echo PCI support for grub-emu: No "($grub_emu_pci_excuse)" +fi +fi +if test x"$device_mapper_excuse" = x ; then +echo With devmapper support: Yes +else +echo With devmapper support: No "($device_mapper_excuse)" +fi +if [ x"$enable_mm_debug" = xyes ]; then +echo With memory debugging: Yes +else +echo With memory debugging: No +fi +if [ x"$efiemu_excuse" = x ]; then +echo efiemu runtime: Yes +else +echo efiemu runtime: No "($efiemu_excuse)" +fi +if [ x"$grub_mkfont_excuse" = x ]; then +echo grub-mkfont: Yes +else +echo grub-mkfont: No "($grub_mkfont_excuse)" +fi +echo "*******************************************************" + diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1 new file mode 100644 index 0000000..541aa52 --- /dev/null +++ b/autom4te.cache/output.1 @@ -0,0 +1,24052 @@ +@%:@! /bin/sh +@%:@ Guess values for system-dependent variables and create Makefiles. +@%:@ Generated by GNU Autoconf 2.68 for GRUB 1.99. +@%:@ +@%:@ Report bugs to . +@%:@ +@%:@ +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +@%:@ Foundation, Inc. +@%:@ +@%:@ +@%:@ This configure script is free software; the Free Software Foundation +@%:@ gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in @%:@( + *posix*) : + set -o posix ;; @%:@( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in @%:@( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in @%:@(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in @%:@( + *posix*) : + set -o posix ;; @%:@( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in @%:@( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + case $- in @%:@ (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-grub@gnu.org +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +@%:@ as_fn_unset VAR +@%:@ --------------- +@%:@ Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +@%:@ as_fn_set_status STATUS +@%:@ ----------------------- +@%:@ Set @S|@? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} @%:@ as_fn_set_status + +@%:@ as_fn_exit STATUS +@%:@ ----------------- +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} @%:@ as_fn_exit + +@%:@ as_fn_mkdir_p +@%:@ ------------- +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} @%:@ as_fn_mkdir_p +@%:@ as_fn_append VAR VALUE +@%:@ ---------------------- +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take +@%:@ advantage of any shell optimizations that allow amortized linear growth over +@%:@ repeated appends, instead of the typical quadratic growth present in naive +@%:@ implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +@%:@ as_fn_arith ARG... +@%:@ ------------------ +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments +@%:@ must be portable across @S|@(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] +@%:@ ---------------------------------------- +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the +@%:@ script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} @%:@ as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in @%:@((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in @%:@( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIB@&t@OBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='GRUB' +PACKAGE_TARNAME='grub' +PACKAGE_VERSION='1.99' +PACKAGE_STRING='GRUB 1.99' +PACKAGE_BUGREPORT='bug-grub@gnu.org' +PACKAGE_URL='' + +ac_unique_file="include/grub/dl.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +gt_needs= +ac_func_list= +ac_header_list= +gl_fnmatch_required=POSIX +gl_getopt_required=POSIX +gl_getopt_required=POSIX +ac_subst_vars='gltests_LTLIBOBJS +gltests_LIBOBJS +gl_LTLIBOBJS +gl_LIBOBJS +am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIB@&t@OBJS +COND_CYGWIN_FALSE +COND_CYGWIN_TRUE +COND_HAVE_ASM_USCORE_FALSE +COND_HAVE_ASM_USCORE_TRUE +COND_ENABLE_EFIEMU_FALSE +COND_ENABLE_EFIEMU_TRUE +COND_APPLE_CC_FALSE +COND_APPLE_CC_TRUE +COND_GRUB_PE2ELF_FALSE +COND_GRUB_PE2ELF_TRUE +COND_HAVE_FONT_SOURCE_FALSE +COND_HAVE_FONT_SOURCE_TRUE +COND_GRUB_MKFONT_FALSE +COND_GRUB_MKFONT_TRUE +COND_GRUB_EMU_PCI_FALSE +COND_GRUB_EMU_PCI_TRUE +COND_GRUB_EMU_SDL_FALSE +COND_GRUB_EMU_SDL_TRUE +COND_GRUB_EMU_USB_FALSE +COND_GRUB_EMU_USB_TRUE +COND_MAN_PAGES_FALSE +COND_MAN_PAGES_TRUE +COND_HOST_KFREEBSD_FALSE +COND_HOST_KFREEBSD_TRUE +COND_HOST_WINDOWS_FALSE +COND_HOST_WINDOWS_TRUE +COND_HOST_NETBSD_FALSE +COND_HOST_NETBSD_TRUE +COND_HOST_LINUX_FALSE +COND_HOST_LINUX_TRUE +COND_HOST_HURD_FALSE +COND_HOST_HURD_TRUE +COND_mips_FALSE +COND_mips_TRUE +COND_powerpc_ieee1275_FALSE +COND_powerpc_ieee1275_TRUE +COND_sparc64_ieee1275_FALSE +COND_sparc64_ieee1275_TRUE +COND_mips_qemu_mips_FALSE +COND_mips_qemu_mips_TRUE +COND_mips_yeeloong_FALSE +COND_mips_yeeloong_TRUE +COND_x86_64_efi_FALSE +COND_x86_64_efi_TRUE +COND_i386_multiboot_FALSE +COND_i386_multiboot_TRUE +COND_i386_coreboot_FALSE +COND_i386_coreboot_TRUE +COND_i386_ieee1275_FALSE +COND_i386_ieee1275_TRUE +COND_i386_qemu_FALSE +COND_i386_qemu_TRUE +COND_i386_efi_FALSE +COND_i386_efi_TRUE +COND_i386_pc_FALSE +COND_i386_pc_TRUE +COND_emu_FALSE +COND_emu_TRUE +NEED_REGISTER_FRAME_INFO +NEED_ENABLE_EXECUTE_STACK +END_SYMBOL +BSS_START_SYMBOL +DATA32 +ADDR32 +HAVE_ASM_USCORE +USE_APPLE_CC_FIXES +GRUB_BOOT_MACHINE_LINK_ADDR +pkglibrootdir +LIBNVPAIR +LIBZFS +LIBLZMA +LIBGEOM +LIBDEVMAPPER +freetype_libs +freetype_cflags +enable_grub_mkfont +FREETYPE +enable_grub_emu_pci +enable_grub_emu_usb +enable_grub_emu_sdl +LIBPCIACCESS +LIBSDL +LIBUSB +LIBCURSES +enable_efiemu +HOST_CCASFLAGS +HOST_CPPFLAGS +HOST_LDFLAGS +HOST_CFLAGS +TARGET_IMG_BASE_LDOPT +TARGET_IMG_CFLAGS +TARGET_IMG_LDFLAGS +TARGET_IMG_LDSCRIPT +TARGET_CCASFLAGS +TARGET_CPPFLAGS +TARGET_LDFLAGS +TARGET_CFLAGS +TARGET_MODULE_FORMAT +TARGET_APPLE_CC +TARGET_OBJ2ELF +TARGET_CCAS +TARGET_CPP +OBJCONV +HOST_CC +NM +OBJCOPY +ac_ct_TARGET_CC +TARGET_CC +LIBGNU_LTLIBDEPS +LIBGNU_LIBDEPS +gltests_WITNESS +REPLACE_ISWCNTRL +HAVE_WCTYPE_H +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H +NEXT_WCTYPE_H +REPLACE_ISWBLANK +HAVE_ISWBLANK +HAVE_ISWCNTRL +HAVE_WINT_T +HAVE_WCHAR_H +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H +NEXT_WCHAR_H +HAVE_UNISTD_H +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H +NEXT_UNISTD_H +SYSEXITS_H +HAVE_SYSEXITS_H +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H +NEXT_SYSEXITS_H +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H +NEXT_SYS_WAIT_H +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H +NEXT_STRINGS_H +NEXT_AS_FIRST_DIRECTIVE_STRING_H +NEXT_STRING_H +HAVE_DECL_STRNCASECMP +HAVE_STRCASECMP +HAVE_RANDOM_H +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H +NEXT_STDLIB_H +NEXT_AS_FIRST_DIRECTIVE_STDIO_H +NEXT_STDIO_H +ASM_SYMBOL_PREFIX +STDINT_H +WINT_T_SUFFIX +WCHAR_T_SUFFIX +SIG_ATOMIC_T_SUFFIX +SIZE_T_SUFFIX +PTRDIFF_T_SUFFIX +HAVE_SIGNED_WINT_T +HAVE_SIGNED_WCHAR_T +HAVE_SIGNED_SIG_ATOMIC_T +BITSIZEOF_WINT_T +BITSIZEOF_WCHAR_T +BITSIZEOF_SIG_ATOMIC_T +BITSIZEOF_SIZE_T +BITSIZEOF_PTRDIFF_T +HAVE_SYS_BITYPES_H +HAVE_SYS_INTTYPES_H +HAVE_STDINT_H +NEXT_AS_FIRST_DIRECTIVE_STDINT_H +NEXT_STDINT_H +HAVE_SYS_TYPES_H +HAVE_INTTYPES_H +HAVE_UNSIGNED_LONG_LONG_INT +HAVE_LONG_LONG_INT +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H +NEXT_STDDEF_H +STDDEF_H +HAVE_WCHAR_T +REPLACE_NULL +HAVE__BOOL +STDBOOL_H +APPLE_UNIVERSAL_BUILD +UNDEFINE_STRTOK_R +REPLACE_STRTOK_R +REPLACE_STRSIGNAL +REPLACE_STRNLEN +REPLACE_STRNDUP +REPLACE_STRNCAT +REPLACE_STRERROR +REPLACE_STRCASESTR +REPLACE_STRSTR +REPLACE_STRDUP +REPLACE_STPNCPY +REPLACE_MEMMEM +REPLACE_MEMCHR +HAVE_STRVERSCMP +HAVE_DECL_STRSIGNAL +HAVE_DECL_STRTOK_R +HAVE_STRCASESTR +HAVE_STRSEP +HAVE_STRPBRK +HAVE_DECL_STRNLEN +HAVE_DECL_STRNDUP +HAVE_DECL_STRDUP +HAVE_STRCHRNUL +HAVE_STPNCPY +HAVE_STPCPY +HAVE_RAWMEMCHR +HAVE_DECL_MEMRCHR +HAVE_MEMPCPY +HAVE_DECL_MEMMEM +HAVE_MEMCHR +HAVE_MBSLEN +GNULIB_STRVERSCMP +GNULIB_STRSIGNAL +GNULIB_STRERROR +GNULIB_MBSTOK_R +GNULIB_MBSSEP +GNULIB_MBSSPN +GNULIB_MBSPBRK +GNULIB_MBSCSPN +GNULIB_MBSCASESTR +GNULIB_MBSPCASECMP +GNULIB_MBSNCASECMP +GNULIB_MBSCASECMP +GNULIB_MBSSTR +GNULIB_MBSRCHR +GNULIB_MBSCHR +GNULIB_MBSNLEN +GNULIB_MBSLEN +GNULIB_STRTOK_R +GNULIB_STRCASESTR +GNULIB_STRSTR +GNULIB_STRSEP +GNULIB_STRPBRK +GNULIB_STRNLEN +GNULIB_STRNDUP +GNULIB_STRNCAT +GNULIB_STRDUP +GNULIB_STRCHRNUL +GNULIB_STPNCPY +GNULIB_STPCPY +GNULIB_RAWMEMCHR +GNULIB_MEMRCHR +GNULIB_MEMPCPY +GNULIB_MEMMEM +GNULIB_MEMCHR +LOCALE_FR_UTF8 +LOCALE_ZH_CN +LOCALE_JA +REPLACE_UNSETENV +REPLACE_STRTOD +REPLACE_SETENV +REPLACE_REALPATH +REPLACE_REALLOC +REPLACE_PUTENV +REPLACE_MKSTEMP +REPLACE_MALLOC +REPLACE_CANONICALIZE_FILE_NAME +REPLACE_CALLOC +HAVE_UNSETENV +HAVE_UNLOCKPT +HAVE_SYS_LOADAVG_H +HAVE_STRUCT_RANDOM_DATA +HAVE_STRTOULL +HAVE_STRTOLL +HAVE_STRTOD +HAVE_SETENV +HAVE_RPMATCH +HAVE_REALPATH +HAVE_RANDOM_R +HAVE_PTSNAME +HAVE_MKSTEMPS +HAVE_MKSTEMP +HAVE_MKOSTEMPS +HAVE_MKOSTEMP +HAVE_MKDTEMP +HAVE_GRANTPT +HAVE_GETSUBOPT +HAVE_DECL_GETLOADAVG +HAVE_CANONICALIZE_FILE_NAME +HAVE_ATOLL +HAVE__EXIT +GNULIB_UNSETENV +GNULIB_UNLOCKPT +GNULIB_STRTOULL +GNULIB_STRTOLL +GNULIB_STRTOD +GNULIB_SETENV +GNULIB_RPMATCH +GNULIB_REALPATH +GNULIB_REALLOC_POSIX +GNULIB_RANDOM_R +GNULIB_PUTENV +GNULIB_PTSNAME +GNULIB_MKSTEMPS +GNULIB_MKSTEMP +GNULIB_MKOSTEMPS +GNULIB_MKOSTEMP +GNULIB_MKDTEMP +GNULIB_MALLOC_POSIX +GNULIB_GRANTPT +GNULIB_GETSUBOPT +GNULIB_GETLOADAVG +GNULIB_CANONICALIZE_FILE_NAME +GNULIB_CALLOC_POSIX +GNULIB_ATOLL +GNULIB__EXIT +LOCALCHARSET_TESTS_ENVIRONMENT +GLIBC21 +HAVE_LANGINFO_YESEXPR +HAVE_LANGINFO_ERA +HAVE_LANGINFO_T_FMT_AMPM +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_H +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H +NEXT_LANGINFO_H +REPLACE_NL_LANGINFO +HAVE_NL_LANGINFO +GNULIB_NL_LANGINFO +HAVE_GETOPT_H +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H +NEXT_GETOPT_H +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS +UNISTD_H_HAVE_WINSOCK2_H +REPLACE_WRITE +REPLACE_USLEEP +REPLACE_UNLINKAT +REPLACE_UNLINK +REPLACE_TTYNAME_R +REPLACE_SYMLINK +REPLACE_SLEEP +REPLACE_RMDIR +REPLACE_READLINK +REPLACE_PWRITE +REPLACE_PREAD +REPLACE_LSEEK +REPLACE_LINKAT +REPLACE_LINK +REPLACE_LCHOWN +REPLACE_GETPAGESIZE +REPLACE_GETGROUPS +REPLACE_GETCWD +REPLACE_FCHOWNAT +REPLACE_DUP2 +REPLACE_DUP +REPLACE_CLOSE +REPLACE_CHOWN +HAVE_SYS_PARAM_H +HAVE_OS_H +HAVE_DECL_GETUSERSHELL +HAVE_DECL_GETPAGESIZE +HAVE_DECL_GETLOGIN_R +HAVE_DECL_ENVIRON +HAVE_USLEEP +HAVE_UNLINKAT +HAVE_TTYNAME_R +HAVE_SYMLINKAT +HAVE_SYMLINK +HAVE_SLEEP +HAVE_READLINKAT +HAVE_READLINK +HAVE_PWRITE +HAVE_PREAD +HAVE_PIPE2 +HAVE_LINKAT +HAVE_LINK +HAVE_LCHOWN +HAVE_GETPAGESIZE +HAVE_GETLOGIN +HAVE_GETHOSTNAME +HAVE_GETGROUPS +HAVE_GETDTABLESIZE +HAVE_GETDOMAINNAME +HAVE_FTRUNCATE +HAVE_FSYNC +HAVE_FCHOWNAT +HAVE_FCHDIR +HAVE_FACCESSAT +HAVE_EUIDACCESS +HAVE_DUP3 +HAVE_DUP2 +HAVE_CHOWN +GNULIB_WRITE +GNULIB_USLEEP +GNULIB_UNLINKAT +GNULIB_UNLINK +GNULIB_UNISTD_H_SIGPIPE +GNULIB_UNISTD_H_GETOPT +GNULIB_TTYNAME_R +GNULIB_SYMLINKAT +GNULIB_SYMLINK +GNULIB_SLEEP +GNULIB_RMDIR +GNULIB_READLINKAT +GNULIB_READLINK +GNULIB_PWRITE +GNULIB_PREAD +GNULIB_PIPE2 +GNULIB_LSEEK +GNULIB_LINKAT +GNULIB_LINK +GNULIB_LCHOWN +GNULIB_GETUSERSHELL +GNULIB_GETPAGESIZE +GNULIB_GETLOGIN_R +GNULIB_GETLOGIN +GNULIB_GETHOSTNAME +GNULIB_GETGROUPS +GNULIB_GETDTABLESIZE +GNULIB_GETDOMAINNAME +GNULIB_GETCWD +GNULIB_FTRUNCATE +GNULIB_FSYNC +GNULIB_FCHOWNAT +GNULIB_FCHDIR +GNULIB_FACCESSAT +GNULIB_EUIDACCESS +GNULIB_ENVIRON +GNULIB_DUP3 +GNULIB_DUP2 +GNULIB_CLOSE +GNULIB_CHOWN +REPLACE_VSPRINTF +REPLACE_VSNPRINTF +REPLACE_VPRINTF +REPLACE_VFPRINTF +REPLACE_VDPRINTF +REPLACE_VASPRINTF +REPLACE_TMPFILE +REPLACE_STDIO_WRITE_FUNCS +REPLACE_SPRINTF +REPLACE_SNPRINTF +REPLACE_RENAMEAT +REPLACE_RENAME +REPLACE_REMOVE +REPLACE_PRINTF +REPLACE_POPEN +REPLACE_PERROR +REPLACE_OBSTACK_PRINTF +REPLACE_GETLINE +REPLACE_GETDELIM +REPLACE_FTELLO +REPLACE_FTELL +REPLACE_FSEEKO +REPLACE_FSEEK +REPLACE_FREOPEN +REPLACE_FPURGE +REPLACE_FPRINTF +REPLACE_FOPEN +REPLACE_FFLUSH +REPLACE_FCLOSE +REPLACE_DPRINTF +HAVE_VDPRINTF +HAVE_VASPRINTF +HAVE_RENAMEAT +HAVE_FTELLO +HAVE_FSEEKO +HAVE_DPRINTF +HAVE_DECL_VSNPRINTF +HAVE_DECL_SNPRINTF +HAVE_DECL_OBSTACK_PRINTF +HAVE_DECL_GETLINE +HAVE_DECL_GETDELIM +HAVE_DECL_FPURGE +GNULIB_VSPRINTF_POSIX +GNULIB_VSNPRINTF +GNULIB_VPRINTF_POSIX +GNULIB_VPRINTF +GNULIB_VFPRINTF_POSIX +GNULIB_VFPRINTF +GNULIB_VDPRINTF +GNULIB_VASPRINTF +GNULIB_TMPFILE +GNULIB_STDIO_H_SIGPIPE +GNULIB_SPRINTF_POSIX +GNULIB_SNPRINTF +GNULIB_RENAMEAT +GNULIB_RENAME +GNULIB_REMOVE +GNULIB_PUTS +GNULIB_PUTCHAR +GNULIB_PUTC +GNULIB_PRINTF_POSIX +GNULIB_PRINTF +GNULIB_POPEN +GNULIB_PERROR +GNULIB_OBSTACK_PRINTF_POSIX +GNULIB_OBSTACK_PRINTF +GNULIB_GETLINE +GNULIB_GETDELIM +GNULIB_FWRITE +GNULIB_FTELLO +GNULIB_FTELL +GNULIB_FSEEKO +GNULIB_FSEEK +GNULIB_FREOPEN +GNULIB_FPUTS +GNULIB_FPUTC +GNULIB_FPURGE +GNULIB_FPRINTF_POSIX +GNULIB_FPRINTF +GNULIB_FOPEN +GNULIB_FFLUSH +GNULIB_FCLOSE +GNULIB_DPRINTF +FNMATCH_H +FLOAT_H +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H +NEXT_FLOAT_H +EOVERFLOW_VALUE +EOVERFLOW_HIDDEN +ENOLINK_VALUE +ENOLINK_HIDDEN +EMULTIHOP_VALUE +EMULTIHOP_HIDDEN +ERRNO_H +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H +NEXT_ERRNO_H +PRAGMA_SYSTEM_HEADER +INCLUDE_NEXT_AS_FIRST_DIRECTIVE +INCLUDE_NEXT +LOCALE_FR +REPLACE_WCWIDTH +REPLACE_WCSNRTOMBS +REPLACE_WCSRTOMBS +REPLACE_WCRTOMB +REPLACE_MBSNRTOWCS +REPLACE_MBSRTOWCS +REPLACE_MBRLEN +REPLACE_MBRTOWC +REPLACE_MBSINIT +REPLACE_WCTOB +REPLACE_BTOWC +REPLACE_MBSTATE_T +HAVE_DECL_WCWIDTH +HAVE_DECL_WCTOB +HAVE_WCSNRTOMBS +HAVE_WCSRTOMBS +HAVE_WCRTOMB +HAVE_MBSNRTOWCS +HAVE_MBSRTOWCS +HAVE_MBRLEN +HAVE_MBRTOWC +HAVE_MBSINIT +HAVE_BTOWC +GNULIB_WCWIDTH +GNULIB_WCSNRTOMBS +GNULIB_WCSRTOMBS +GNULIB_WCRTOMB +GNULIB_MBSNRTOWCS +GNULIB_MBSRTOWCS +GNULIB_MBRLEN +GNULIB_MBRTOWC +GNULIB_MBSINIT +GNULIB_WCTOB +GNULIB_BTOWC +GETOPT_H +ALLOCA_H +ALLOCA +GL_COND_LIBTOOL_FALSE +GL_COND_LIBTOOL_TRUE +BUILD_CC +LIBUTIL +HELP2MAN +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +XGETTEXT_EXTRA_OPTIONS +MSGMERGE +XGETTEXT_015 +XGETTEXT +GMSGFMT_015 +MSGFMT_015 +GMSGFMT +MSGFMT +GETTEXT_MACRO_VERSION +USE_NLS +am__fastdepCCAS_FALSE +am__fastdepCCAS_TRUE +CCASDEPMODE +CCASFLAGS +CCAS +EGREP +GREP +CPP +LN_S +YFLAGS +LEXLIB +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +LEX_OUTPUT_ROOT +LEX +RANLIB +FONT_SOURCE +YACC +CMP +grubdirname +bootdirname +platform +host_kernel +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_os +target_vendor +target_cpu +target +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +with_platform +enable_dependency_tracking +enable_nls +with_gnu_ld +enable_rpath +with_libiconv_prefix +with_libintl_prefix +enable_largefile +with_included_regex +enable_werror +enable_efiemu +enable_mm_debug +enable_grub_emu_usb +enable_grub_emu_sdl +enable_grub_emu_pci +enable_grub_mkfont +enable_device_mapper +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +YACC +YFLAGS +CPP +CCAS +CCASFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures GRUB 1.99 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + @<:@@S|@ac_default_prefix@:>@ + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + @<:@PREFIX@:>@ + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/grub@:>@ + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of GRUB 1.99:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + --disable-largefile omit support for large files + --disable-werror do not use -Werror when building GRUB + --enable-efiemu build and install the efiemu runtimes + (default=guessed) + --enable-mm-debug include memory manager debugging + --enable-grub-emu-usb build and install the `grub-emu' debugging utility + with USB support (default=guessed) + --enable-grub-emu-sdl build and install the `grub-emu' debugging utility + with SDL support (default=guessed) + --enable-grub-emu-pci build and install the `grub-emu' debugging utility + with PCI support (potentially dangerous) + (default=no) + --enable-grub-mkfont build and install the `grub-mkfont' utility + (default=guessed) + --enable-device-mapper enable Linux device-mapper support (default=guessed) + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-platform=PLATFORM + select the host platform @<:@@<:@guessed@:>@@:>@ + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --without-included-regex + don't compile regex; this is the default on systems + with recent-enough versions of the GNU C Library + (use with caution on other systems). + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + YACC The `Yet Another Compiler Compiler' implementation to use. + Defaults to the first program found out of: `bison -y', `byacc', + `yacc'. + YFLAGS The list of arguments that will be passed by default to @S|@YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. + CPP C preprocessor + CCAS assembler compiler command (defaults to CC) + CCASFLAGS assembler compiler flags (defaults to CFLAGS) + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +GRUB configure 1.99 +generated by GNU Autoconf 2.68 + +Copyright (C) 2010 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +@%:@ ac_fn_c_try_compile LINENO +@%:@ -------------------------- +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_compile + +@%:@ ac_fn_c_try_link LINENO +@%:@ ----------------------- +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_link + +@%:@ ac_fn_c_try_cpp LINENO +@%:@ ---------------------- +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_cpp + +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +@%:@ ------------------------------------------------------- +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using +@%:@ the include files in INCLUDES and setting the cache variable VAR +@%:@ accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +@%:@include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------- ## +## Report this to bug-grub@gnu.org ## +## ------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_header_mongrel + +@%:@ ac_fn_c_try_run LINENO +@%:@ ---------------------- +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes +@%:@ that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} @%:@ ac_fn_c_try_run + +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +@%:@ ------------------------------------------------------- +@%:@ Tests whether HEADER exists and can be compiled using the include files in +@%:@ INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +@%:@include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_header_compile + +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +@%:@ -------------------------------------------- +@%:@ Tries to find the compile-time value of EXPR in a program that includes +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be +@%:@ computed +ac_fn_c_compute_int () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=0 ac_mid=0 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid; break +else + as_fn_arith $ac_mid + 1 && ac_lo=$as_val + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=-1 ac_mid=-1 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=$ac_mid; break +else + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + ac_lo= ac_hi= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@; +test_array @<:@0@:>@ = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid +else + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in @%:@(( +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +'') ac_retval=1 ;; +esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } +@%:@include +@%:@include +int +main (void) +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (($2) < 0) + { + long int i = longval (); + if (i != ($2)) + return 1; + fprintf (f, "%ld", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ($2)) + return 1; + fprintf (f, "%lu", i); + } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + echo >>conftest.val; read $3 &5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main (void) +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_func + +@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES +@%:@ ---------------------------------------------------- +@%:@ Tries to find if the field MEMBER exists in type AGGR, after including +@%:@ INCLUDES, setting cache variable VAR accordingly. +ac_fn_c_check_member () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +$as_echo_n "checking for $2.$3... " >&6; } +if eval \${$4+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main (void) +{ +static $2 ac_aggr; +if (ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main (void) +{ +static $2 ac_aggr; +if (sizeof ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + eval "$4=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_member + +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES +@%:@ ------------------------------------------- +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache +@%:@ variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_type + +@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +@%:@ --------------------------------------------- +@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +@%:@ accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +@%:@ifndef $as_decl_name +@%:@ifdef __cplusplus + (void) $as_decl_use; +@%:@else + (void) $as_decl_name; +@%:@endif +@%:@endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} @%:@ ac_fn_c_check_decl +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by GRUB $as_me 1.99, which was +generated by GNU Autoconf 2.68. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in @%:@(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +gt_needs="$gt_needs " +as_fn_append ac_func_list " flockfile" +as_fn_append ac_func_list " funlockfile" +as_fn_append ac_header_list " features.h" +as_fn_append ac_header_list " linewrap.h" +as_fn_append ac_func_list " btowc" +as_fn_append ac_header_list " errno.h" +as_fn_append ac_header_list " float.h" +as_fn_append ac_func_list " isblank" +as_fn_append ac_func_list " iswctype" +as_fn_append ac_func_list " mbsrtowcs" +as_fn_append ac_func_list " mempcpy" +as_fn_append ac_func_list " wmemchr" +as_fn_append ac_func_list " wmemcpy" +as_fn_append ac_func_list " wmempcpy" +as_fn_append ac_header_list " wctype.h" +as_fn_append ac_func_list " getdelim" +gl_getopt_required=GNU +as_fn_append ac_header_list " getopt.h" +as_fn_append ac_header_list " langinfo.h" +as_fn_append ac_func_list " mbsinit" +as_fn_append ac_func_list " mbrtowc" +as_fn_append ac_header_list " sys/mman.h" +as_fn_append ac_func_list " mprotect" +as_fn_append ac_func_list " memchr" +as_fn_append ac_func_list " nl_langinfo" +as_fn_append ac_header_list " locale.h" +as_fn_append ac_func_list " wcscoll" +as_fn_append ac_func_list " sleep" +as_fn_append ac_header_list " stddef.h" +as_fn_append ac_header_list " stdint.h" +as_fn_append ac_header_list " wchar.h" +as_fn_append ac_header_list " stdio.h" +as_fn_append ac_header_list " stdlib.h" +as_fn_append ac_header_list " sys/socket.h" +as_fn_append ac_header_list " string.h" +as_fn_append ac_header_list " strings.h" +as_fn_append ac_func_list " strndup" +as_fn_append ac_header_list " sys/wait.h" +as_fn_append ac_header_list " sysexits.h" +as_fn_append ac_header_list " unistd.h" +as_fn_append ac_func_list " vasnprintf" +as_fn_append ac_func_list " wcrtomb" +as_fn_append ac_func_list " iswcntrl" +as_fn_append ac_func_list " iswblank" +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_aux_dir= +for ac_dir in build-aux "$srcdir"/build-aux; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +# We don't want -g -O2 by default in CFLAGS +: ${CFLAGS=""} + +# Checks for host and target systems. +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 +$as_echo_n "checking target system type... " >&6; } +if ${ac_cv_target+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$target_alias" = x; then + ac_cv_target=$ac_cv_host +else + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 +$as_echo "$ac_cv_target" >&6; } +case $ac_cv_target in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; +esac +target=$ac_cv_target +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_target +shift +target_cpu=$1 +target_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +target_os=$* +IFS=$ac_save_IFS +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac + + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- + +am__api_version='1.11' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in @%:@(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='grub' + VERSION='1.99' + + +cat >>confdefs.h <<_ACEOF +@%:@define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +@%:@define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + + + +ac_config_headers="$ac_config_headers config-util.h" + + +# Program name transformations + + +# Optimization flag. Allow user to override. +if test "x$TARGET_CFLAGS" = x; then + TARGET_CFLAGS="$TARGET_CFLAGS -Os" +fi + +# Default HOST_CPPFLAGS +HOST_CPPFLAGS="$HOST_CPPFLAGS -Wall -W" +HOST_CPPFLAGS="$HOST_CPPFLAGS -I\$(top_builddir)/include" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_UTIL=1" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_LIBDIR=\\\"\$(pkglibdir)\\\"" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DLOCALEDIR=\\\"\$(localedir)\\\"" + +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -Wall -W" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_srcdir)/include" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include" + +case "$target_cpu" in + i[3456]86) target_cpu=i386 ;; + amd64) target_cpu=x86_64 ;; + sparc) target_cpu=sparc64 ;; + mipsel|mips64el) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPSEL=1"; + ;; + mips|mips64) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPS=1"; + ;; +esac + +# Specify the platform (such as firmware). + +@%:@ Check whether --with-platform was given. +if test "${with_platform+set}" = set; then : + withval=$with_platform; +fi + + +# Guess the platform if not specified. +if test "x$with_platform" = x; then + case "$target_cpu"-"$target_vendor" in + i386-apple) platform=efi ;; + i386-*) platform=pc ;; + x86_64-apple) platform=efi ;; + x86_64-*) platform=pc ;; + powerpc-*) platform=ieee1275 ;; + powerpc64-*) platform=ieee1275 ;; + sparc64-*) platform=ieee1275 ;; + mips-*) platform=yeeloong ;; + *) as_fn_error $? "unsupported CPU: \"$target_cpu\"" "$LINENO" 5 ;; + esac +else + platform="$with_platform" +fi + +case "$target_cpu"-"$platform" in + x86_64-efi) ;; + x86_64-emu) ;; + x86_64-*) target_cpu=i386 ;; + powerpc64-ieee1275) target_cpu=powerpc ;; +esac + +# Check if the platform is supported, make final adjustments. +case "$target_cpu"-"$platform" in + i386-efi) ;; + x86_64-efi) ;; + i386-pc) ;; + i386-multiboot) ;; + i386-coreboot) ;; + i386-linuxbios) platform=coreboot ;; + i386-ieee1275) ;; + i386-qemu) ;; + powerpc-ieee1275) ;; + sparc64-ieee1275) ;; + mips-qemu-mips) ;; + mips-yeeloong) ;; + *-emu) ;; + *) as_fn_error $? "platform \"$platform\" is not supported for target CPU \"$target_cpu\"" "$LINENO" 5 ;; +esac + +case "$target_cpu" in + i386 | powerpc) target_m32=1 ;; + x86_64 | sparc64) target_m64=1 ;; +esac + +case "$host_os" in + mingw32*) host_os=cygwin ;; +esac + +# This normalizes the names, and creates a new variable ("host_kernel") +# while at it, since the mapping is not always 1:1 (e.g. different OSes +# using the same kernel type). +case "$host_os" in + gnu*) host_kernel=hurd ;; + linux*) host_kernel=linux ;; + freebsd* | kfreebsd*-gnu) host_kernel=kfreebsd ;; + netbsd*) host_kernel=netbsd ;; + cygwin) host_kernel=windows ;; +esac + +case "$platform" in + coreboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_COREBOOT=1" ;; + multiboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MULTIBOOT=1" ;; + efi) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EFI=1" ;; + ieee1275) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_IEEE1275=1" ;; + qemu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_QEMU=1" ;; + pc) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_PCBIOS=1" ;; + emu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EMU=1" ;; + yeeloong) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_YEELOONG=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; + qemu-mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_QEMU_MIPS=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; +esac +case "$target_cpu" in + mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS=1" ;; + sparc64) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_SPARC64=1" ;; +esac +machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE=`echo ${target_cpu}_$platform | sed y,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,`" + +HOST_CPPFLAGS="$HOST_CPPFLAGS $machine_CPPFLAGS" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS $machine_CPPFLAGS" + + + + + + + + +# Define default variables +case "$host_os" in + netbsd* | openbsd*) + # Because /boot is used for the boot block in NetBSD and OpenBSD, + bootdirname='' ;; + *) bootdirname='boot' ;; +esac +bootdirname=`echo "$bootdirname" | sed "$program_transform_name"` + + +cat >>confdefs.h <<_ACEOF +@%:@define GRUB_BOOT_DIR_NAME "$bootdirname" +_ACEOF + + +grubdirname=`echo "$PACKAGE" | sed "$program_transform_name"` + + +cat >>confdefs.h <<_ACEOF +@%:@define GRUB_DIR_NAME "$grubdirname" +_ACEOF + + +# +# Checks for build programs. +# + +# Although cmp is listed in the GNU Coding Standards as a command which +# can used directly, OpenBSD lacks cmp in the default installation. +for ac_prog in cmp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CMP"; then + ac_cv_prog_CMP="$CMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CMP="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CMP=$ac_cv_prog_CMP +if test -n "$CMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5 +$as_echo "$CMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CMP" && break +done + +if test "x$CMP" = x; then + as_fn_error $? "cmp is not found" "$LINENO" 5 +fi + +for ac_prog in bison +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done + +if test "x$YACC" = x; then + as_fn_error $? "bison is not found" "$LINENO" 5 +fi + +FONT_SOURCE= + +for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do + for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont; do + if test -f "$dir/unifont.$ext"; then + FONT_SOURCE="$dir/unifont.$ext" + break 2 + fi + done +done + +if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then + as_fn_error $? "qemu and yeeloong ports need unifont" "$LINENO" 5 +fi + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +@%:@ Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $@%:@ != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +int +main (void) +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +for ac_prog in flex lex +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LEX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LEX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LEX=$ac_cv_prog_LEX +if test -n "$LEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 +$as_echo "$LEX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$LEX" && break +done +test -n "$LEX" || LEX=":" + +if test "x$LEX" != "x:"; then + cat >conftest.l <<_ACEOF +%% +a { ECHO; } +b { REJECT; } +c { yymore (); } +d { yyless (1); } +e { yyless (input () != 0); } +f { unput (yytext[0]); } +. { BEGIN INITIAL; } +%% +#ifdef YYTEXT_POINTER +extern char *yytext; +#endif +int +main (void) +{ + return ! yylex () + ! yywrap (); +} +_ACEOF +{ { ac_try="$LEX conftest.l" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$LEX conftest.l") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 +$as_echo_n "checking lex output file root... " >&6; } +if ${ac_cv_prog_lex_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + +if test -f lex.yy.c; then + ac_cv_prog_lex_root=lex.yy +elif test -f lexyy.c; then + ac_cv_prog_lex_root=lexyy +else + as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 +$as_echo "$ac_cv_prog_lex_root" >&6; } +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root + +if test -z "${LEXLIB+set}"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 +$as_echo_n "checking lex library... " >&6; } +if ${ac_cv_lib_lex+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_save_LIBS=$LIBS + ac_cv_lib_lex='none needed' + for ac_lib in '' -lfl -ll; do + LIBS="$ac_lib $ac_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +`cat $LEX_OUTPUT_ROOT.c` +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_lex=$ac_lib +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + test "$ac_cv_lib_lex" != 'none needed' && break + done + LIBS=$ac_save_LIBS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 +$as_echo "$ac_cv_lib_lex" >&6; } + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 +$as_echo_n "checking whether yytext is a pointer... " >&6; } +if ${ac_cv_prog_lex_yytext_pointer+:} false; then : + $as_echo_n "(cached) " >&6 +else + # POSIX says lex can declare yytext either as a pointer or an array; the +# default is implementation-dependent. Figure out which it is, since +# not all implementations provide the %pointer and %array declarations. +ac_cv_prog_lex_yytext_pointer=no +ac_save_LIBS=$LIBS +LIBS="$LEXLIB $ac_save_LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define YYTEXT_POINTER 1 +`cat $LEX_OUTPUT_ROOT.c` +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_prog_lex_yytext_pointer=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_save_LIBS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 +$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } +if test $ac_cv_prog_lex_yytext_pointer = yes; then + +$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h + +fi +rm -f conftest.l $LEX_OUTPUT_ROOT.c + +fi +for ac_prog in 'bison -y' byacc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done +test -n "$YACC" || YACC="yacc" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + + +if test "x$LEX" = "x:"; then + as_fn_error $? "flex is not found" "$LINENO" 5 +else + version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }'` + if test -n "$version" -a "$version" -ge 20535; then + : + else + as_fn_error $? "flex is too old. GRUB requires 2.5.35 or above" "$LINENO" 5 + fi +fi + +# These are not a "must". +for ac_prog in makeinfo true +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MAKEINFO+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAKEINFO in + [\\/]* | ?:[\\/]*) + ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MAKEINFO=$ac_cv_path_MAKEINFO +if test -n "$MAKEINFO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 +$as_echo "$MAKEINFO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$MAKEINFO" && break +done + + +# +# Checks for host programs. +# + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $@%:@ != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@ifdef __STDC__ +@%:@ include +@%:@else +@%:@ include +@%:@endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@ifdef __STDC__ +@%:@ include +@%:@else +@%:@ include +@%:@endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = xyes; then : + MINIX=yes +else + MINIX= +fi + + + if test "$MINIX" = yes; then + +$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h + + +$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h + + +$as_echo "@%:@define _MINIX 1" >>confdefs.h + + fi + + case "$host_os" in + hpux*) + +$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if ${ac_cv_safe_to_define___extensions__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes +else + ac_cv_safe_to_define___extensions__=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h + + $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h + + $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h + + $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h + + + + + + + + + + + # Code from module alloca: + # Code from module alloca-opt: + # Code from module arg-nonnull: + # Code from module argp: + # Code from module btowc: + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + # Code from module double-slash-root: + # Code from module errno: + # Code from module error: + # Code from module extensions: + + # Code from module float: + # Code from module fnmatch: + # Code from module getdelim: + # Code from module getline: + # Code from module getopt-gnu: + # Code from module getopt-posix: + # Code from module gettext: + # Code from module gettext-h: + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + # Code from module localcharset: + # Code from module malloc-gnu: + # Code from module malloc-posix: + # Code from module mbrtowc: + # Code from module mbsinit: + # Code from module mbsrtowcs: + # Code from module memchr: + # Code from module mempcpy: + # Code from module multiarch: + # Code from module nl_langinfo: + # Code from module progname: + # Code from module rawmemchr: + # Code from module realloc-posix: + # Code from module regex: + # Code from module size_max: + # Code from module sleep: + # Code from module ssize_t: + # Code from module stdbool: + # Code from module stddef: + # Code from module stdint: + # Code from module stdio: + # Code from module stdlib: + # Code from module strcase: + # Code from module strchrnul: + # Code from module streq: + # Code from module strerror: + # Code from module string: + # Code from module strings: + # Code from module strndup: + # Code from module strnlen: + # Code from module strnlen1: + # Code from module sys_wait: + # Code from module sysexits: + # Code from module unistd: + # Code from module vasnprintf: + # Code from module verify: + # Code from module vsnprintf: + # Code from module warn-on-use: + # Code from module wchar: + # Code from module wcrtomb: + # Code from module wctype: + # Code from module xsize: + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" = set || CCAS=$CC +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS + + + +depcc="$CCAS" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CCAS_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CCAS_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CCAS_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } +CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then + am__fastdepCCAS_TRUE= + am__fastdepCCAS_FALSE='#' +else + am__fastdepCCAS_TRUE='#' + am__fastdepCCAS_FALSE= +fi + + + +# Must be GCC. +test "x$GCC" = xyes || as_fn_error $? "GCC is required" "$LINENO" 5 + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + @%:@ Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + GETTEXT_MACRO_VERSION=0.18 + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; + *) MSGFMT_015=$MSGFMT ;; + esac + + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; + *) GMSGFMT_015=$GMSGFMT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; + *) XGETTEXT_015=$XGETTEXT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$localedir" || localedir='${datadir}/locale' + + + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= + + + ac_config_commands="$ac_config_commands po-directories" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +@%:@ Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + @%:@ Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + acl_libdirstem=lib + acl_libdirstem2= + case "$host_os" in + solaris*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +$as_echo_n "checking for 64-bit host... " >&6; } +if ${gl_cv_solaris_64bit+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef _LP64 +sixtyfour bits +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + gl_cv_solaris_64bit=yes +else + gl_cv_solaris_64bit=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +$as_echo "$gl_cv_solaris_64bit" >&6; } + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; + esac + fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" + + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +@%:@ Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + LIBICONV_PREFIX= + HAVE_LIBICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + if test "$cross_compiling" = yes; then : + + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +int main () +{ + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful + returns. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + const char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + return 1; + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + return 1; + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + if (/* Try standardized names. */ + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) + /* Try IRIX, OSF/1 names. */ + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) + /* Try AIX names. */ + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) + /* Try HP-UX names. */ + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +else + am_cv_func_iconv_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +@%:@ Check whether --with-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + LIBINTL_PREFIX= + HAVE_LIBINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +$as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +@%:@ Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@define _FILE_OFFSET_BITS 64 +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@define _LARGE_FILES 1 +@%:@include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +@%:@define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi +fi + + +# Identify characteristics of the host architecture. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main (void) +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +$as_echo_n "checking size of void *... " >&6; } +if ${ac_cv_sizeof_void_p+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_void_p" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (void *) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_void_p=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +$as_echo "$ac_cv_sizeof_void_p" >&6; } + + + +cat >>confdefs.h <<_ACEOF +@%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +$as_echo_n "checking size of long... " >&6; } +if ${ac_cv_sizeof_long+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +@%:@define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler is apple cc" >&5 +$as_echo_n "checking whether our compiler is apple cc... " >&6; } +if ${grub_cv_apple_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_cc=yes +else + grub_cv_apple_cc=no +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_apple_cc" >&5 +$as_echo "$grub_cv_apple_cc" >&6; } +if test x$grub_cv_apple_cc = xyes ; then + HOST_CPPFLAGS="$HOST_CPPFLAGS -DAPPLE_CC=1" + HOST_CFLAGS="$HOST_CFLAGS -fnested-functions" +fi + +if test "x$cross_compiling" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot generate manual pages while cross compiling" >&5 +$as_echo "$as_me: WARNING: cannot generate manual pages while cross compiling" >&2;} +else + # Extract the first word of "help2man", so it can be a program name with args. +set dummy help2man; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_HELP2MAN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $HELP2MAN in + [\\/]* | ?:[\\/]*) + ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +HELP2MAN=$ac_cv_path_HELP2MAN +if test -n "$HELP2MAN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5 +$as_echo "$HELP2MAN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi + +# Check for functions and headers. +for ac_func in posix_memalign memalign asprintf vasprintf getextmntent +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +for ac_header in libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "$ac_includes_default +#include +#include +" +if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 +_ACEOF + + +fi + + +ac_fn_c_check_member "$LINENO" "struct statfs" "f_mntfromname" "ac_cv_member_struct_statfs_f_mntfromname" "$ac_includes_default +#include +#include +" +if test "x$ac_cv_member_struct_statfs_f_mntfromname" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRUCT_STATFS_F_MNTFROMNAME 1 +_ACEOF + + +fi + + +# For opendisk() and getrawpartition() on NetBSD. +# Used in util/deviceiter.c and in util/hostdisk.c. +ac_fn_c_check_header_mongrel "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default" +if test "x$ac_cv_header_util_h" = xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendisk in -lutil" >&5 +$as_echo_n "checking for opendisk in -lutil... " >&6; } +if ${ac_cv_lib_util_opendisk+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char opendisk (); +int +main (void) +{ +return opendisk (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_opendisk=yes +else + ac_cv_lib_util_opendisk=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_opendisk" >&5 +$as_echo "$ac_cv_lib_util_opendisk" >&6; } +if test "x$ac_cv_lib_util_opendisk" = xyes; then : + + LIBUTIL="-lutil" + +$as_echo "@%:@define HAVE_OPENDISK 1" >>confdefs.h + + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5 +$as_echo_n "checking for getrawpartition in -lutil... " >&6; } +if ${ac_cv_lib_util_getrawpartition+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getrawpartition (); +int +main (void) +{ +return getrawpartition (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_getrawpartition=yes +else + ac_cv_lib_util_getrawpartition=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getrawpartition" >&5 +$as_echo "$ac_cv_lib_util_getrawpartition" >&6; } +if test "x$ac_cv_lib_util_getrawpartition" = xyes; then : + + LIBUTIL="-lutil" + +$as_echo "@%:@define HAVE_GETRAWPARTITION 1" >>confdefs.h + + +fi + + +fi + + + + +# +# Check for host and build compilers. +# +HOST_CC=$CC +for ac_prog in gcc egcs cc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_BUILD_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$BUILD_CC"; then + ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_BUILD_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +BUILD_CC=$ac_cv_prog_BUILD_CC +if test -n "$BUILD_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 +$as_echo "$BUILD_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$BUILD_CC" && break +done +test -n "$BUILD_CC" || BUILD_CC="as_fn_error $? "none of gcc, egcs and cc is found. set BUILD_CC manually." "$LINENO" 5" + + +# For gnulib. + + + + + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +@%:@define size_t unsigned int +_ACEOF + +fi + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +$as_echo_n "checking for working alloca.h... " >&6; } +if ${ac_cv_working_alloca_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include +int +main (void) +{ +char *p = (char *) alloca (2 * sizeof (int)); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_working_alloca_h=yes +else + ac_cv_working_alloca_h=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +$as_echo "$ac_cv_working_alloca_h" >&6; } +if test $ac_cv_working_alloca_h = yes; then + +$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +$as_echo_n "checking for alloca... " >&6; } +if ${ac_cv_func_alloca_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# ifdef HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +void *alloca (size_t); +# endif +# endif +# endif +# endif +#endif + +int +main (void) +{ +char *p = (char *) alloca (1); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_alloca_works=yes +else + ac_cv_func_alloca_works=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +$as_echo "$ac_cv_func_alloca_works" >&6; } + +if test $ac_cv_func_alloca_works = yes; then + +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + + + + + +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +if ${ac_cv_os_cray+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined CRAY && ! defined CRAY2 +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then : + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 +$as_echo "$ac_cv_os_cray" >&6; } +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + +cat >>confdefs.h <<_ACEOF +@%:@define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +$as_echo_n "checking stack direction for C alloca... " >&6; } +if ${ac_cv_c_stack_direction+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + return find_stack_direction () < 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_stack_direction=1 +else + ac_cv_c_stack_direction=-1 +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +$as_echo "$ac_cv_c_stack_direction" >&6; } +cat >>confdefs.h <<_ACEOF +@%:@define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 +$as_echo_n "checking for C/C++ restrict keyword... " >&6; } +if ${ac_cv_c_restrict+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_restrict=no + # The order here caters to the fact that C++ does not require restrict. + for ac_kw in __restrict __restrict__ _Restrict restrict; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +typedef int * int_ptr; + int foo (int_ptr $ac_kw ip) { + return ip[0]; + } +int +main (void) +{ +int s[1]; + int * $ac_kw t = s; + t[0] = 0; + return foo(t) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_restrict=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_restrict" != no && break + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 +$as_echo "$ac_cv_c_restrict" >&6; } + + case $ac_cv_c_restrict in + restrict) ;; + no) $as_echo "@%:@define restrict /**/" >>confdefs.h + ;; + *) cat >>confdefs.h <<_ACEOF +@%:@define restrict $ac_cv_c_restrict +_ACEOF + ;; + esac + +ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" +if test "x$ac_cv_have_decl_getenv" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETENV $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl +_ACEOF + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + for ac_header in $ac_header_list +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + XGETTEXT_EXTRA_OPTIONS= + + + GNULIB_BTOWC=0; + GNULIB_WCTOB=0; + GNULIB_MBSINIT=0; + GNULIB_MBRTOWC=0; + GNULIB_MBRLEN=0; + GNULIB_MBSRTOWCS=0; + GNULIB_MBSNRTOWCS=0; + GNULIB_WCRTOMB=0; + GNULIB_WCSRTOMBS=0; + GNULIB_WCSNRTOMBS=0; + GNULIB_WCWIDTH=0; + HAVE_BTOWC=1; + HAVE_MBSINIT=1; + HAVE_MBRTOWC=1; + HAVE_MBRLEN=1; + HAVE_MBSRTOWCS=1; + HAVE_MBSNRTOWCS=1; + HAVE_WCRTOMB=1; + HAVE_WCSRTOMBS=1; + HAVE_WCSNRTOMBS=1; + HAVE_DECL_WCTOB=1; + HAVE_DECL_WCWIDTH=1; + REPLACE_MBSTATE_T=0; + REPLACE_BTOWC=0; + REPLACE_WCTOB=0; + REPLACE_MBSINIT=0; + REPLACE_MBRTOWC=0; + REPLACE_MBRLEN=0; + REPLACE_MBSRTOWCS=0; + REPLACE_MBSNRTOWCS=0; + REPLACE_WCRTOMB=0; + REPLACE_WCSRTOMBS=0; + REPLACE_WCSNRTOMBS=0; + REPLACE_WCWIDTH=0; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 +$as_echo_n "checking whether uses 'inline' correctly... " >&6; } +if ${gl_cv_header_wchar_h_correct_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + gl_cv_header_wchar_h_correct_inline=yes + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define wcstod renamed_wcstod +#include +extern int zero (void); +int main () { return zero(); } + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + mv conftest.$ac_objext conftest1.$ac_objext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define wcstod renamed_wcstod +#include +int zero (void) { return 0; } + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + mv conftest.$ac_objext conftest2.$ac_objext + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then + : + else + gl_cv_header_wchar_h_correct_inline=no + fi + fi + fi + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 +$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } + if test $gl_cv_header_wchar_h_correct_inline = no; then + as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in +C99 mode. You have four options: + - Add the flag -fgnu89-inline to CC and reconfigure, or + - Fix your include files, using parts of + , or + - Use a gcc version older than 4.3, or + - Don't use the flags -std=c99 or -std=gnu99. +Configuration aborted." "$LINENO" 5 + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 +$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } +if ${am_cv_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +char* cs = nl_langinfo(CODESET); return !cs; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_langinfo_codeset=yes +else + am_cv_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 +$as_echo "$am_cv_langinfo_codeset" >&6; } + if test $am_cv_langinfo_codeset = yes; then + +$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 +$as_echo_n "checking for a traditional french locale... " >&6; } +if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only + one byte long. This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO-8859-1 + else + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO8859-1 + else + # Test for the HP-UX locale name. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.iso88591 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr + else + # None found. + gt_cv_locale_fr=none + fi + fi + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 +$as_echo "$gt_cv_locale_fr" >&6; } + LOCALE_FR=$gt_cv_locale_fr + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system is Windows or MSDOS" >&5 +$as_echo_n "checking whether system is Windows or MSDOS... " >&6; } +if ${ac_cv_win_or_dos+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + +#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__ +neither MSDOS nor Windows +#endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_win_or_dos=yes +else + ac_cv_win_or_dos=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_win_or_dos" >&5 +$as_echo "$ac_cv_win_or_dos" >&6; } + + if test x"$ac_cv_win_or_dos" = xyes; then + ac_fs_accepts_drive_letter_prefix=1 + ac_fs_backslash_is_file_name_separator=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether drive letter can start relative path" >&5 +$as_echo_n "checking whether drive letter can start relative path... " >&6; } +if ${ac_cv_drive_letter_can_be_relative+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + +#if defined __CYGWIN__ +drive letters are always absolute +#endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_drive_letter_can_be_relative=yes +else + ac_cv_drive_letter_can_be_relative=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_drive_letter_can_be_relative" >&5 +$as_echo "$ac_cv_drive_letter_can_be_relative" >&6; } + if test x"$ac_cv_drive_letter_can_be_relative" = xyes; then + ac_fs_drive_letter_can_be_relative=1 + else + ac_fs_drive_letter_can_be_relative=0 + fi + else + ac_fs_accepts_drive_letter_prefix=0 + ac_fs_backslash_is_file_name_separator=0 + ac_fs_drive_letter_can_be_relative=0 + fi + + +cat >>confdefs.h <<_ACEOF +@%:@define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix +_ACEOF + + + + + +cat >>confdefs.h <<_ACEOF +@%:@define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator +_ACEOF + + + +cat >>confdefs.h <<_ACEOF +@%:@define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE $ac_fs_drive_letter_can_be_relative +_ACEOF + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +$as_echo_n "checking whether // is distinct from /... " >&6; } +if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +$as_echo "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then + +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } +if ${gl_cv_have_include_next+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -rf conftestd1a conftestd1b conftestd2 + mkdir conftestd1a conftestd1b conftestd2 + cat < conftestd1a/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd1b/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd2/conftest.h +#ifndef DEFINED_IN_CONFTESTD1 +#error "include_next test doesn't work" +#endif +#define DEFINED_IN_CONFTESTD2 +EOF + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=yes +else + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=buggy +else + gl_cv_have_include_next=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + rm -rf conftestd1a conftestd1b conftestd2 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 +$as_echo "$gl_cv_have_include_next" >&6; } + PRAGMA_SYSTEM_HEADER= + if test $gl_cv_have_include_next = yes; then + INCLUDE_NEXT=include_next + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + if test -n "$GCC"; then + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' + fi + else + if test $gl_cv_have_include_next = buggy; then + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + else + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include + fi + fi + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 +$as_echo_n "checking for complete errno.h... " >&6; } +if ${gl_cv_header_errno_h_complete+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if !defined ENOMSG +booboo +#endif +#if !defined EIDRM +booboo +#endif +#if !defined ENOLINK +booboo +#endif +#if !defined EPROTO +booboo +#endif +#if !defined EMULTIHOP +booboo +#endif +#if !defined EBADMSG +booboo +#endif +#if !defined EOVERFLOW +booboo +#endif +#if !defined ENOTSUP +booboo +#endif +#if !defined ESTALE +booboo +#endif +#if !defined ECANCELED +booboo +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "booboo" >/dev/null 2>&1; then : + gl_cv_header_errno_h_complete=no +else + gl_cv_header_errno_h_complete=yes +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 +$as_echo "$gl_cv_header_errno_h_complete" >&6; } + if test $gl_cv_header_errno_h_complete = yes; then + ERRNO_H='' + else + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_errno_h='<'errno.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_errno_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_errno_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/errno.h#{ + s#.*"\(.*/errno.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_errno_h='<'errno.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 +$as_echo "$gl_cv_next_errno_h" >&6; } + fi + NEXT_ERRNO_H=$gl_cv_next_errno_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'errno.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_errno_h + fi + NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive + + + + ERRNO_H='errno.h' + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 +$as_echo_n "checking for EMULTIHOP value... " >&6; } +if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef EMULTIHOP +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=yes +else + gl_cv_header_errno_h_EMULTIHOP=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef EMULTIHOP +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then + if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 +$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } + case $gl_cv_header_errno_h_EMULTIHOP in + yes | no) + EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= + ;; + *) + EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" + ;; + esac + + + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 +$as_echo_n "checking for ENOLINK value... " >&6; } +if ${gl_cv_header_errno_h_ENOLINK+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef ENOLINK +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_ENOLINK=yes +else + gl_cv_header_errno_h_ENOLINK=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_ENOLINK = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef ENOLINK +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_ENOLINK=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_ENOLINK = hidden; then + if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 +$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } + case $gl_cv_header_errno_h_ENOLINK in + yes | no) + ENOLINK_HIDDEN=0; ENOLINK_VALUE= + ;; + *) + ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" + ;; + esac + + + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 +$as_echo_n "checking for EOVERFLOW value... " >&6; } +if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef EOVERFLOW +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EOVERFLOW=yes +else + gl_cv_header_errno_h_EOVERFLOW=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EOVERFLOW = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef EOVERFLOW +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EOVERFLOW=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then + if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 +$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } + case $gl_cv_header_errno_h_EOVERFLOW in + yes | no) + EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= + ;; + *) + EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" + ;; + esac + + + fi + + +ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" +if test "x$ac_cv_have_decl_strerror_r" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRERROR_R $ac_have_decl +_ACEOF + +for ac_func in strerror_r +do : + ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" +if test "x$ac_cv_func_strerror_r" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRERROR_R 1 +_ACEOF + +fi +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 +$as_echo_n "checking whether strerror_r returns char *... " >&6; } +if ${ac_cv_func_strerror_r_char_p+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + return !p || x; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_func_strerror_r_char_p=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + extern char *strerror_r (); +int +main (void) +{ +char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + return ! isalpha (x); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strerror_r_char_p=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 +$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } +if test $ac_cv_func_strerror_r_char_p = yes; then + +$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h + +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 +$as_echo_n "checking for mbstate_t... " >&6; } +if ${ac_cv_type_mbstate_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +# include +int +main (void) +{ +mbstate_t x; return sizeof x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_type_mbstate_t=yes +else + ac_cv_type_mbstate_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 +$as_echo "$ac_cv_type_mbstate_t" >&6; } + if test $ac_cv_type_mbstate_t = yes; then + +$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h + + else + +$as_echo "@%:@define mbstate_t int" >>confdefs.h + + fi + + + + + + + + + + + + + + + + + + + GNULIB_DPRINTF=0; + GNULIB_FCLOSE=0; + GNULIB_FFLUSH=0; + GNULIB_FOPEN=0; + GNULIB_FPRINTF=0; + GNULIB_FPRINTF_POSIX=0; + GNULIB_FPURGE=0; + GNULIB_FPUTC=0; + GNULIB_FPUTS=0; + GNULIB_FREOPEN=0; + GNULIB_FSEEK=0; + GNULIB_FSEEKO=0; + GNULIB_FTELL=0; + GNULIB_FTELLO=0; + GNULIB_FWRITE=0; + GNULIB_GETDELIM=0; + GNULIB_GETLINE=0; + GNULIB_OBSTACK_PRINTF=0; + GNULIB_OBSTACK_PRINTF_POSIX=0; + GNULIB_PERROR=0; + GNULIB_POPEN=0; + GNULIB_PRINTF=0; + GNULIB_PRINTF_POSIX=0; + GNULIB_PUTC=0; + GNULIB_PUTCHAR=0; + GNULIB_PUTS=0; + GNULIB_REMOVE=0; + GNULIB_RENAME=0; + GNULIB_RENAMEAT=0; + GNULIB_SNPRINTF=0; + GNULIB_SPRINTF_POSIX=0; + GNULIB_STDIO_H_SIGPIPE=0; + GNULIB_TMPFILE=0; + GNULIB_VASPRINTF=0; + GNULIB_VDPRINTF=0; + GNULIB_VFPRINTF=0; + GNULIB_VFPRINTF_POSIX=0; + GNULIB_VPRINTF=0; + GNULIB_VPRINTF_POSIX=0; + GNULIB_VSNPRINTF=0; + GNULIB_VSPRINTF_POSIX=0; + HAVE_DECL_FPURGE=1; + HAVE_DECL_GETDELIM=1; + HAVE_DECL_GETLINE=1; + HAVE_DECL_OBSTACK_PRINTF=1; + HAVE_DECL_SNPRINTF=1; + HAVE_DECL_VSNPRINTF=1; + HAVE_DPRINTF=1; + HAVE_FSEEKO=1; + HAVE_FTELLO=1; + HAVE_RENAMEAT=1; + HAVE_VASPRINTF=1; + HAVE_VDPRINTF=1; + REPLACE_DPRINTF=0; + REPLACE_FCLOSE=0; + REPLACE_FFLUSH=0; + REPLACE_FOPEN=0; + REPLACE_FPRINTF=0; + REPLACE_FPURGE=0; + REPLACE_FREOPEN=0; + REPLACE_FSEEK=0; + REPLACE_FSEEKO=0; + REPLACE_FTELL=0; + REPLACE_FTELLO=0; + REPLACE_GETDELIM=0; + REPLACE_GETLINE=0; + REPLACE_OBSTACK_PRINTF=0; + REPLACE_PERROR=0; + REPLACE_POPEN=0; + REPLACE_PRINTF=0; + REPLACE_REMOVE=0; + REPLACE_RENAME=0; + REPLACE_RENAMEAT=0; + REPLACE_SNPRINTF=0; + REPLACE_SPRINTF=0; + REPLACE_STDIO_WRITE_FUNCS=0; + REPLACE_TMPFILE=0; + REPLACE_VASPRINTF=0; + REPLACE_VDPRINTF=0; + REPLACE_VFPRINTF=0; + REPLACE_VPRINTF=0; + REPLACE_VSNPRINTF=0; + REPLACE_VSPRINTF=0; + +ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" +if test "x$ac_cv_have_decl_getdelim" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETDELIM $ac_have_decl +_ACEOF + + + +ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" +if test "x$ac_cv_have_decl_getline" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETLINE $ac_have_decl +_ACEOF + + + GNULIB_CHOWN=0; + GNULIB_CLOSE=0; + GNULIB_DUP2=0; + GNULIB_DUP3=0; + GNULIB_ENVIRON=0; + GNULIB_EUIDACCESS=0; + GNULIB_FACCESSAT=0; + GNULIB_FCHDIR=0; + GNULIB_FCHOWNAT=0; + GNULIB_FSYNC=0; + GNULIB_FTRUNCATE=0; + GNULIB_GETCWD=0; + GNULIB_GETDOMAINNAME=0; + GNULIB_GETDTABLESIZE=0; + GNULIB_GETGROUPS=0; + GNULIB_GETHOSTNAME=0; + GNULIB_GETLOGIN=0; + GNULIB_GETLOGIN_R=0; + GNULIB_GETPAGESIZE=0; + GNULIB_GETUSERSHELL=0; + GNULIB_LCHOWN=0; + GNULIB_LINK=0; + GNULIB_LINKAT=0; + GNULIB_LSEEK=0; + GNULIB_PIPE2=0; + GNULIB_PREAD=0; + GNULIB_PWRITE=0; + GNULIB_READLINK=0; + GNULIB_READLINKAT=0; + GNULIB_RMDIR=0; + GNULIB_SLEEP=0; + GNULIB_SYMLINK=0; + GNULIB_SYMLINKAT=0; + GNULIB_TTYNAME_R=0; + GNULIB_UNISTD_H_GETOPT=0; + GNULIB_UNISTD_H_SIGPIPE=0; + GNULIB_UNLINK=0; + GNULIB_UNLINKAT=0; + GNULIB_USLEEP=0; + GNULIB_WRITE=0; + HAVE_CHOWN=1; + HAVE_DUP2=1; + HAVE_DUP3=1; + HAVE_EUIDACCESS=1; + HAVE_FACCESSAT=1; + HAVE_FCHDIR=1; + HAVE_FCHOWNAT=1; + HAVE_FSYNC=1; + HAVE_FTRUNCATE=1; + HAVE_GETDOMAINNAME=1; + HAVE_GETDTABLESIZE=1; + HAVE_GETGROUPS=1; + HAVE_GETHOSTNAME=1; + HAVE_GETLOGIN=1; + HAVE_GETPAGESIZE=1; + HAVE_LCHOWN=1; + HAVE_LINK=1; + HAVE_LINKAT=1; + HAVE_PIPE2=1; + HAVE_PREAD=1; + HAVE_PWRITE=1; + HAVE_READLINK=1; + HAVE_READLINKAT=1; + HAVE_SLEEP=1; + HAVE_SYMLINK=1; + HAVE_SYMLINKAT=1; + HAVE_TTYNAME_R=1; + HAVE_UNLINKAT=1; + HAVE_USLEEP=1; + HAVE_DECL_ENVIRON=1; + HAVE_DECL_GETLOGIN_R=1; + HAVE_DECL_GETPAGESIZE=1; + HAVE_DECL_GETUSERSHELL=1; + HAVE_OS_H=0; + HAVE_SYS_PARAM_H=0; + REPLACE_CHOWN=0; + REPLACE_CLOSE=0; + REPLACE_DUP=0; + REPLACE_DUP2=0; + REPLACE_FCHOWNAT=0; + REPLACE_GETCWD=0; + REPLACE_GETGROUPS=0; + REPLACE_GETPAGESIZE=0; + REPLACE_LCHOWN=0; + REPLACE_LINK=0; + REPLACE_LINKAT=0; + REPLACE_LSEEK=0; + REPLACE_PREAD=0; + REPLACE_PWRITE=0; + REPLACE_READLINK=0; + REPLACE_RMDIR=0; + REPLACE_SLEEP=0; + REPLACE_SYMLINK=0; + REPLACE_TTYNAME_R=0; + REPLACE_UNLINK=0; + REPLACE_UNLINKAT=0; + REPLACE_USLEEP=0; + REPLACE_WRITE=0; + UNISTD_H_HAVE_WINSOCK2_H=0; + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_getopt_h='<'getopt.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_getopt_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_getopt_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/getopt.h#{ + s#.*"\(.*/getopt.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_getopt_h='<'getopt.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 +$as_echo "$gl_cv_next_getopt_h" >&6; } + fi + NEXT_GETOPT_H=$gl_cv_next_getopt_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'getopt.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_getopt_h + fi + NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive + + + + + if test $ac_cv_header_getopt_h = yes; then + HAVE_GETOPT_H=1 + else + HAVE_GETOPT_H=0 + fi + + + gl_replace_getopt= + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + for ac_header in getopt.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" +if test "x$ac_cv_header_getopt_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_GETOPT_H 1 +_ACEOF + +else + gl_replace_getopt=yes +fi + +done + + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + for ac_func in getopt_long_only +do : + ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" +if test "x$ac_cv_func_getopt_long_only" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_GETOPT_LONG_ONLY 1 +_ACEOF + +else + gl_replace_getopt=yes +fi +done + + fi + + if test -z "$gl_replace_getopt"; then + ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include +" +if test "x$ac_cv_have_decl_optreset" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_OPTRESET $ac_have_decl +_ACEOF +if test $ac_have_decl = 1; then : + +else + ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include +" +if test "x$ac_cv_have_decl_getopt_clip" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETOPT_CLIP $ac_have_decl +_ACEOF + + +fi + + fi + + if test -z "$gl_replace_getopt"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 +$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } +if ${gl_cv_func_getopt_posix+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + case "$host_os" in + mingw*) gl_cv_func_getopt_posix="guessing no";; + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; + *) gl_cv_func_getopt_posix="guessing yes";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include + +#if !HAVE_DECL_OPTRESET && !HAVE_DECL_GETOPT_CLIP +# define OPTIND_MIN 0 +#else +# define OPTIND_MIN 1 +#endif + +int +main () +{ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "-a"; + argv[argc++] = "foo"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "ab"); + if (!(c == 'a')) + return 1; + c = getopt (argc, argv, "ab"); + if (!(c == -1)) + return 2; + if (!(optind == 2)) + return 3; + } + /* Some internal state exists at this point. */ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "donald"; + argv[argc++] = "-p"; + argv[argc++] = "billy"; + argv[argc++] = "duck"; + argv[argc++] = "-a"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "+abp:q:"); + if (!(c == -1)) + return 4; + if (!(strcmp (argv[0], "program") == 0)) + return 5; + if (!(strcmp (argv[1], "donald") == 0)) + return 6; + if (!(strcmp (argv[2], "-p") == 0)) + return 7; + if (!(strcmp (argv[3], "billy") == 0)) + return 8; + if (!(strcmp (argv[4], "duck") == 0)) + return 9; + if (!(strcmp (argv[5], "-a") == 0)) + return 10; + if (!(strcmp (argv[6], "bar") == 0)) + return 11; + if (!(optind == 1)) + return 12; + } + /* Detect MacOS 10.5, AIX 7.1 bug. */ + { + char *argv[3] = { "program", "-ab", NULL }; + optind = OPTIND_MIN; + opterr = 0; + if (getopt (2, argv, "ab:") != 'a') + return 13; + if (getopt (2, argv, "ab:") != '?') + return 14; + if (optopt != 'b') + return 15; + if (optind != 2) + return 16; + } + + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_getopt_posix=yes +else + gl_cv_func_getopt_posix=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 +$as_echo "$gl_cv_func_getopt_posix" >&6; } + case "$gl_cv_func_getopt_posix" in + *no) gl_replace_getopt=yes ;; + esac + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 +$as_echo_n "checking for working GNU getopt function... " >&6; } +if ${gl_cv_func_getopt_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the + # optstring is necessary for programs like m4 that have POSIX-mandated + # semantics for supporting options interspersed with files. + # Also, since getopt_long is a GNU extension, we require optind=0. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; + # so take care to revert to the correct (non-)export state. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + +int +main (void) +{ + + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, + OSF/1 5.1, Solaris 10. */ + { + char *myargv[3]; + myargv[0] = "conftest"; + myargv[1] = "-+"; + myargv[2] = 0; + opterr = 0; + if (getopt (2, myargv, "+a") != '?') + return 1; + } + /* This code succeeds on glibc 2.8, mingw, + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ + { + char *argv[] = { "program", "-p", "foo", "bar", NULL }; + + optind = 1; + if (getopt (4, argv, "p::") != 'p') + return 2; + if (optarg != NULL) + return 3; + if (getopt (4, argv, "p::") != -1) + return 4; + if (optind != 2) + return 5; + } + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ + { + char *argv[] = { "program", "foo", "-p", NULL }; + optind = 0; + if (getopt (3, argv, "-p") != 1) + return 6; + if (getopt (3, argv, "-p") != 'p') + return 7; + } + /* This code fails on glibc 2.11. */ + { + char *argv[] = { "program", "-b", "-a", NULL }; + optind = opterr = 0; + if (getopt (3, argv, "+:a:b") != 'b') + return 8; + if (getopt (3, argv, "+:a:b") != ':') + return 9; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_getopt_gnu=yes +else + gl_cv_func_getopt_gnu=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + case $gl_had_POSIXLY_CORRECT in + exported) ;; + yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; + *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 +$as_echo "$gl_cv_func_getopt_gnu" >&6; } + if test "$gl_cv_func_getopt_gnu" = "no"; then + gl_replace_getopt=yes + fi + fi + + + + + + + if test -n "$gl_replace_getopt"; then : + + + + GETOPT_H=getopt.h + +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + +fi + + + + GNULIB_NL_LANGINFO=0; + HAVE_NL_LANGINFO=1; + REPLACE_NL_LANGINFO=0; + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 +$as_echo_n "checking for working fcntl.h... " >&6; } +if ${gl_cv_header_working_fcntl_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_header_working_fcntl_h=cross-compiling +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + #include + #ifndef O_NOATIME + #define O_NOATIME 0 + #endif + #ifndef O_NOFOLLOW + #define O_NOFOLLOW 0 + #endif + static int const constants[] = + { + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY + }; + +int +main (void) +{ + + int status = !constants; + { + static char const sym[] = "conftest.sym"; + if (symlink (".", sym) != 0 + || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) + status |= 32; + unlink (sym); + } + { + static char const file[] = "confdefs.h"; + int fd = open (file, O_RDONLY | O_NOATIME); + char c; + struct stat st0, st1; + if (fd < 0 + || fstat (fd, &st0) != 0 + || sleep (1) != 0 + || read (fd, &c, 1) != 1 + || close (fd) != 0 + || stat (file, &st1) != 0 + || st0.st_atime != st1.st_atime) + status |= 64; + } + return status; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_header_working_fcntl_h=yes +else + case $? in #( + 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( + 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( + *) gl_cv_header_working_fcntl_h='no';; + esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 +$as_echo "$gl_cv_header_working_fcntl_h" >&6; } + + case $gl_cv_header_working_fcntl_h in #( + *O_NOATIME* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_WORKING_O_NOATIME $ac_val +_ACEOF + + + case $gl_cv_header_working_fcntl_h in #( + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val +_ACEOF + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 +$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } +if ${ac_cv_gnu_library_2_1+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + ac_cv_gnu_library_2_1=yes +else + ac_cv_gnu_library_2_1=no +fi +rm -f conftest* + + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 +$as_echo "$ac_cv_gnu_library_2_1" >&6; } + + GLIBC21="$ac_cv_gnu_library_2_1" + + + + GNULIB__EXIT=0; + GNULIB_ATOLL=0; + GNULIB_CALLOC_POSIX=0; + GNULIB_CANONICALIZE_FILE_NAME=0; + GNULIB_GETLOADAVG=0; + GNULIB_GETSUBOPT=0; + GNULIB_GRANTPT=0; + GNULIB_MALLOC_POSIX=0; + GNULIB_MKDTEMP=0; + GNULIB_MKOSTEMP=0; + GNULIB_MKOSTEMPS=0; + GNULIB_MKSTEMP=0; + GNULIB_MKSTEMPS=0; + GNULIB_PTSNAME=0; + GNULIB_PUTENV=0; + GNULIB_RANDOM_R=0; + GNULIB_REALLOC_POSIX=0; + GNULIB_REALPATH=0; + GNULIB_RPMATCH=0; + GNULIB_SETENV=0; + GNULIB_STRTOD=0; + GNULIB_STRTOLL=0; + GNULIB_STRTOULL=0; + GNULIB_UNLOCKPT=0; + GNULIB_UNSETENV=0; + HAVE__EXIT=1; + HAVE_ATOLL=1; + HAVE_CANONICALIZE_FILE_NAME=1; + HAVE_DECL_GETLOADAVG=1; + HAVE_GETSUBOPT=1; + HAVE_GRANTPT=1; + HAVE_MKDTEMP=1; + HAVE_MKOSTEMP=1; + HAVE_MKOSTEMPS=1; + HAVE_MKSTEMP=1; + HAVE_MKSTEMPS=1; + HAVE_PTSNAME=1; + HAVE_RANDOM_R=1; + HAVE_REALPATH=1; + HAVE_RPMATCH=1; + HAVE_SETENV=1; + HAVE_STRTOD=1; + HAVE_STRTOLL=1; + HAVE_STRTOULL=1; + HAVE_STRUCT_RANDOM_DATA=1; + HAVE_SYS_LOADAVG_H=0; + HAVE_UNLOCKPT=1; + HAVE_UNSETENV=1; + REPLACE_CALLOC=0; + REPLACE_CANONICALIZE_FILE_NAME=0; + REPLACE_MALLOC=0; + REPLACE_MKSTEMP=0; + REPLACE_PUTENV=0; + REPLACE_REALLOC=0; + REPLACE_REALPATH=0; + REPLACE_SETENV=0; + REPLACE_STRTOD=0; + REPLACE_UNSETENV=0; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 +$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } +if ${gl_cv_func_malloc_posix+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + choke me + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_malloc_posix=yes +else + gl_cv_func_malloc_posix=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 +$as_echo "$gl_cv_func_malloc_posix" >&6; } + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 +$as_echo_n "checking for a traditional japanese locale... " >&6; } +if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales + on Cygwin 1.5.x. */ + if (MB_CUR_MAX == 1) + return 1; + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the AIX locale name. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC-JP + else + # Test for the HP-UX, OSF/1, NetBSD locale name. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.eucJP + else + # Test for the IRIX, FreeBSD locale name. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC + else + # Test for the Solaris 7 locale name. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja + else + # Special test for NetBSD 1.6. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then + gt_cv_locale_ja=ja_JP.eucJP + else + # None found. + gt_cv_locale_ja=none + fi + fi + fi + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 +$as_echo "$gt_cv_locale_ja" >&6; } + LOCALE_JA=$gt_cv_locale_ja + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 +$as_echo_n "checking for a transitional chinese locale... " >&6; } +if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + /* Check whether a typical GB18030 multibyte sequence is recognized as a + single wide character. This excludes the GB2312 and GBK encodings. */ + if (mblen ("\203\062\332\066", 5) != 4) + return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the locale name without encoding suffix. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN.GB18030 + else + # None found. + gt_cv_locale_zh_CN=none + fi + fi + else + # If there was a link error, due to mblen(), the system is so old that + # it certainly doesn't have a chinese locale. + gt_cv_locale_zh_CN=none + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 +$as_echo "$gt_cv_locale_zh_CN" >&6; } + LOCALE_ZH_CN=$gt_cv_locale_zh_CN + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 +$as_echo_n "checking for a french Unicode locale... " >&6; } +if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl + imitates locale dependent behaviour by looking at the environment + variables, and all locales use the UTF-8 encoding. */ +#if !(defined __BEOS__ || defined __HAIKU__) + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +# if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +# endif +# ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +# endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is + two bytes long, with UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 4 + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') + return 1; +#endif + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR.UTF-8 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr.UTF-8 + else + # None found. + gt_cv_locale_fr_utf8=none + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 +$as_echo "$gt_cv_locale_fr_utf8" >&6; } + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 + + + + + + + + GNULIB_MEMCHR=0; + GNULIB_MEMMEM=0; + GNULIB_MEMPCPY=0; + GNULIB_MEMRCHR=0; + GNULIB_RAWMEMCHR=0; + GNULIB_STPCPY=0; + GNULIB_STPNCPY=0; + GNULIB_STRCHRNUL=0; + GNULIB_STRDUP=0; + GNULIB_STRNCAT=0; + GNULIB_STRNDUP=0; + GNULIB_STRNLEN=0; + GNULIB_STRPBRK=0; + GNULIB_STRSEP=0; + GNULIB_STRSTR=0; + GNULIB_STRCASESTR=0; + GNULIB_STRTOK_R=0; + GNULIB_MBSLEN=0; + GNULIB_MBSNLEN=0; + GNULIB_MBSCHR=0; + GNULIB_MBSRCHR=0; + GNULIB_MBSSTR=0; + GNULIB_MBSCASECMP=0; + GNULIB_MBSNCASECMP=0; + GNULIB_MBSPCASECMP=0; + GNULIB_MBSCASESTR=0; + GNULIB_MBSCSPN=0; + GNULIB_MBSPBRK=0; + GNULIB_MBSSPN=0; + GNULIB_MBSSEP=0; + GNULIB_MBSTOK_R=0; + GNULIB_STRERROR=0; + GNULIB_STRSIGNAL=0; + GNULIB_STRVERSCMP=0; + HAVE_MBSLEN=0; + HAVE_MEMCHR=1; + HAVE_DECL_MEMMEM=1; + HAVE_MEMPCPY=1; + HAVE_DECL_MEMRCHR=1; + HAVE_RAWMEMCHR=1; + HAVE_STPCPY=1; + HAVE_STPNCPY=1; + HAVE_STRCHRNUL=1; + HAVE_DECL_STRDUP=1; + HAVE_DECL_STRNDUP=1; + HAVE_DECL_STRNLEN=1; + HAVE_STRPBRK=1; + HAVE_STRSEP=1; + HAVE_STRCASESTR=1; + HAVE_DECL_STRTOK_R=1; + HAVE_DECL_STRSIGNAL=1; + HAVE_STRVERSCMP=1; + REPLACE_MEMCHR=0; + REPLACE_MEMMEM=0; + REPLACE_STPNCPY=0; + REPLACE_STRDUP=0; + REPLACE_STRSTR=0; + REPLACE_STRCASESTR=0; + REPLACE_STRERROR=0; + REPLACE_STRNCAT=0; + REPLACE_STRNDUP=0; + REPLACE_STRNLEN=0; + REPLACE_STRSIGNAL=0; + REPLACE_STRTOK_R=0; + UNDEFINE_STRTOK_R=0; + + + + + + + + + + + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes +else + gl_have_mmap=no +fi + + + # Try to allow MAP_ANONYMOUS. + gl_have_mmap_anonymous=no + if test $gl_have_mmap = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef MAP_ANONYMOUS + I cant identify this map. +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "I cant identify this map." >/dev/null 2>&1; then : + gl_have_mmap_anonymous=yes +fi +rm -f conftest* + + if test $gl_have_mmap_anonymous != yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef MAP_ANON + I cant identify this map. +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "I cant identify this map." >/dev/null 2>&1; then : + +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h + + gl_have_mmap_anonymous=yes +fi +rm -f conftest* + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 +$as_echo "$gl_have_mmap_anonymous" >&6; } + if test $gl_have_mmap_anonymous = yes; then + +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h + + fi + fi + + + + + + + if test $ac_cv_func_memchr = yes; then + # Detect platform-specific bugs in some versions of glibc: + # memchr should not dereference anything with length 0 + # http://bugzilla.redhat.com/499689 + # memchr should not dereference overestimated length after a match + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 + # Assume that memchr works on platforms that lack mprotect. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 +$as_echo_n "checking whether memchr works... " >&6; } +if ${gl_cv_func_memchr_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_memchr_works="guessing no" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_SYS_MMAN_H +# include +# include +# include +# include +# ifndef MAP_FILE +# define MAP_FILE 0 +# endif +#endif + +int +main (void) +{ + + char *fence = NULL; +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT +# if HAVE_MAP_ANONYMOUS + const int flags = MAP_ANONYMOUS | MAP_PRIVATE; + const int fd = -1; +# else /* !HAVE_MAP_ANONYMOUS */ + const int flags = MAP_FILE | MAP_PRIVATE; + int fd = open ("/dev/zero", O_RDONLY, 0666); + if (fd >= 0) +# endif + { + int pagesize = getpagesize (); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + flags, fd, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } +#endif + if (fence) + { + if (memchr (fence, 0, 0)) + return 1; + strcpy (fence - 9, "12345678"); + if (memchr (fence - 9, 0, 79) != fence - 1) + return 2; + if (memchr (fence - 1, 0, 3) != fence - 1) + return 3; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_memchr_works=yes +else + gl_cv_func_memchr_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 +$as_echo "$gl_cv_func_memchr_works" >&6; } + if test "$gl_cv_func_memchr_works" != yes; then + REPLACE_MEMCHR=1 + fi + else + HAVE_MEMCHR=0 + fi + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" + + + for ac_header in bp-sym.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" +if test "x$ac_cv_header_bp_sym_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_BP_SYM_H 1 +_ACEOF + +fi + +done + + + fi + + + gl_cv_c_multiarch=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + arch= + prev= + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do + if test -n "$prev"; then + case $word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$arch" || test "$arch" = "$word"; then + arch="$word" + else + gl_cv_c_multiarch=yes + fi + ;; + esac + prev= + else + if test "x$word" = "x-arch"; then + prev=arch + fi + fi + done + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $gl_cv_c_multiarch = yes; then + +$as_echo "@%:@define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + APPLE_UNIVERSAL_BUILD=1 + else + APPLE_UNIVERSAL_BUILD=0 + fi + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +if ${ac_cv_header_stdbool_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; + +int +main (void) +{ + + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdbool_h=yes +else + ac_cv_header_stdbool_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +$as_echo "$ac_cv_header_stdbool_h" >&6; } + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE__BOOL 1 +_ACEOF + + +fi + + if test $ac_cv_header_stdbool_h = yes; then + +$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h + + fi + + REPLACE_NULL=0; + HAVE_WCHAR_T=1; + STDDEF_H=''; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 +$as_echo_n "checking for wchar_t... " >&6; } +if ${gt_cv_c_wchar_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + wchar_t foo = (wchar_t)'\0'; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wchar_t=yes +else + gt_cv_c_wchar_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 +$as_echo "$gt_cv_c_wchar_t" >&6; } + if test $gt_cv_c_wchar_t = yes; then + +$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 +$as_echo_n "checking for long long int... " >&6; } +if ${ac_cv_type_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main (void) +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + ac_cv_type_long_long_int=yes +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +@%:@include + @%:@ifndef LLONG_MAX + @%:@ define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + @%:@ define LLONG_MAX (HALF - 1 + HALF) + @%:@endif +int +main (void) +{ +long long int n = 1; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_type_long_long_int=yes +else + ac_cv_type_long_long_int=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +else + ac_cv_type_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 +$as_echo "$ac_cv_type_long_long_int" >&6; } + if test $ac_cv_type_long_long_int = yes; then + +$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 +$as_echo_n "checking for unsigned long long int... " >&6; } +if ${ac_cv_type_unsigned_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main (void) +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_type_unsigned_long_long_int=yes +else + ac_cv_type_unsigned_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } + if test $ac_cv_type_unsigned_long_long_int = yes; then + +$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h + + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5 +$as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; } +if ${gl_cv_prog_as_underscore+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } >/dev/null 2>&1 + if grep _foo conftest.s >/dev/null ; then + gl_cv_prog_as_underscore=yes + else + gl_cv_prog_as_underscore=no + fi + rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_as_underscore" >&5 +$as_echo "$gl_cv_prog_as_underscore" >&6; } + if test $gl_cv_prog_as_underscore = yes; then + USER_LABEL_PREFIX=_ + else + USER_LABEL_PREFIX= + fi + +cat >>confdefs.h <<_ACEOF +@%:@define USER_LABEL_PREFIX $USER_LABEL_PREFIX +_ACEOF + + ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' + + + + + + + + HAVE_STRCASECMP=1; + HAVE_DECL_STRNCASECMP=1; + + + + + + + if test -z "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 +$as_echo_n "checking for working strerror function... " >&6; } +if ${gl_cv_func_working_strerror+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return !*strerror (-2); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_working_strerror=yes +else + gl_cv_func_working_strerror=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return !*strerror (-2); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_strerror=yes +else + gl_cv_func_working_strerror=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 +$as_echo "$gl_cv_func_working_strerror" >&6; } + if test $gl_cv_func_working_strerror = no; then + REPLACE_STRERROR=1 + fi + else + REPLACE_STRERROR=1 + fi + if test $REPLACE_STRERROR = 1; then + + ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" +if test "x$ac_cv_have_decl_strerror" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRERROR $ac_have_decl +_ACEOF + + + if test $ac_cv_header_sys_socket_h != yes; then + for ac_header in winsock2.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_WINSOCK2_H 1 +_ACEOF + +fi + +done + + fi + + fi + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_string_h='<'string.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_string_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_string_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/string.h#{ + s#.*"\(.*/string.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_string_h='<'string.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 +$as_echo "$gl_cv_next_string_h" >&6; } + fi + NEXT_STRING_H=$gl_cv_next_string_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'string.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_string_h + fi + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive + + + + + + for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal strverscmp; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_strings_h='<'strings.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_strings_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_strings_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_strings_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/strings.h#{ + s#.*"\(.*/strings.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_strings_h='<'strings.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 +$as_echo "$gl_cv_next_strings_h" >&6; } + fi + NEXT_STRINGS_H=$gl_cv_next_strings_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'strings.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_strings_h + fi + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive + + + + + + for gl_func in strcasecmp strncasecmp; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + +ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" +if test "x$ac_cv_have_decl_strndup" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRNDUP $ac_have_decl +_ACEOF + + + +ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" +if test "x$ac_cv_have_decl_strnlen" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRNLEN $ac_have_decl +_ACEOF + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 +$as_echo_n "checking for wint_t... " >&6; } +if ${gt_cv_c_wint_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be included + before . */ +#include +#include +#include +#include + wint_t foo = (wchar_t)'\0'; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wint_t=yes +else + gt_cv_c_wint_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 +$as_echo "$gt_cv_c_wint_t" >&6; } + if test $gt_cv_c_wint_t = yes; then + +$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 +$as_echo_n "checking for inttypes.h... " >&6; } +if ${gl_cv_header_inttypes_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_inttypes_h=yes +else + gl_cv_header_inttypes_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 +$as_echo "$gl_cv_header_inttypes_h" >&6; } + if test $gl_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 +$as_echo_n "checking for stdint.h... " >&6; } +if ${gl_cv_header_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include +int +main (void) +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_stdint_h=yes +else + gl_cv_header_stdint_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 +$as_echo "$gl_cv_header_stdint_h" >&6; } + if test $gl_cv_header_stdint_h = yes; then + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDINT_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 +$as_echo_n "checking for intmax_t... " >&6; } +if ${gt_cv_c_intmax_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif + +int +main (void) +{ +intmax_t x = -1; return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_intmax_t=yes +else + gt_cv_c_intmax_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 +$as_echo "$gt_cv_c_intmax_t" >&6; } + if test $gt_cv_c_intmax_t = yes; then + +$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h + + else + + test $ac_cv_type_long_long_int = yes \ + && ac_type='long long' \ + || ac_type='long' + +cat >>confdefs.h <<_ACEOF +@%:@define intmax_t $ac_type +_ACEOF + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 +$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } +if ${gl_cv_func_snprintf_retval_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on OpenBSD >= 3.9. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) + gl_cv_func_snprintf_retval_c99="guessing no";; + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_snprintf_retval_c99="guessing no";; + solaris*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_snprintf_retval_c99="guessing no";; + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_snprintf_retval_c99="guessing no";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +static char buf[100]; +int main () +{ + strcpy (buf, "ABCDEF"); + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_retval_c99=yes +else + gl_cv_func_snprintf_retval_c99=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 +$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } + + + + + + + + for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include +" +if test "x$ac_cv_have_decl__snprintf" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL__SNPRINTF $ac_have_decl +_ACEOF + + + case "$gl_cv_func_snprintf_retval_c99" in + *yes) + +$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h + + ;; + esac + +ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" +if test "x$ac_cv_have_decl_vsnprintf" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_VSNPRINTF $ac_have_decl +_ACEOF + + + + + + + +ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "$ac_includes_default" +if test "x$ac_cv_have_decl_iswblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_ISWBLANK $ac_have_decl +_ACEOF + + + if false; then + GL_COND_LIBTOOL_TRUE= + GL_COND_LIBTOOL_FALSE='#' +else + GL_COND_LIBTOOL_TRUE='#' + GL_COND_LIBTOOL_FALSE= +fi + + gl_cond_libtool=false + gl_libdeps= + gl_ltlibdeps= + gl_m4_base='m4' + + + + + + + + + + gl_source_base='grub-core/gnulib' + # Code from module alloca: + # Code from module alloca-opt: + + + + + + if test $ac_cv_func_alloca_works = no; then + : + fi + + # Define an additional variable used in the Makefile substitution. + if test $ac_cv_working_alloca_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 +$as_echo_n "checking for alloca as a compiler built-in... " >&6; } +if ${gl_cv_rpl_alloca+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#if defined __GNUC__ || defined _AIX || defined _MSC_VER + Need own alloca +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Need own alloca" >/dev/null 2>&1; then : + gl_cv_rpl_alloca=yes +else + gl_cv_rpl_alloca=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 +$as_echo "$gl_cv_rpl_alloca" >&6; } + if test $gl_cv_rpl_alloca = yes; then + +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h + + ALLOCA_H=alloca.h + else + ALLOCA_H= + fi + else + ALLOCA_H=alloca.h + fi + + + # Code from module arg-nonnull: + # Code from module argp: + + + + + + + GETOPT_H=getopt.h + +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + +$as_echo "@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + +else + +$as_echo "@%:@define GNULIB_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + +fi + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + +$as_echo "@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + +else + +$as_echo "@%:@define GNULIB_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + +fi + + + # Check if program_invocation_name and program_invocation_short_name + # are defined elsewhere. It is improbable that only one of them will + # be defined and other not, I prefer to stay on the safe side and to + # test each one separately. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is defined" >&5 +$as_echo_n "checking whether program_invocation_name is defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +program_invocation_name = "test"; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "@%:@define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_short_name is defined" >&5 +$as_echo_n "checking whether program_invocation_short_name is defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +program_invocation_short_name = "test"; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "@%:@define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + + + + + + + + + + + + + + + + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_error:2:c-format" + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_failure:4:c-format" + + # Code from module btowc: + + + + + + + if test $ac_cv_func_btowc = no; then + HAVE_BTOWC=0 + else + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 +$as_echo_n "checking whether btowc(0) is correct... " >&6; } +if ${gl_cv_func_btowc_nul+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + # Guess no on Cygwin. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_nul="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (btowc ('\0') != 0) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_btowc_nul=yes +else + gl_cv_func_btowc_nul=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 +$as_echo "$gl_cv_func_btowc_nul" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 +$as_echo_n "checking whether btowc(EOF) is correct... " >&6; } +if ${gl_cv_func_btowc_eof+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on IRIX. + irix*) gl_cv_func_btowc_eof="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_eof="guessing yes" ;; + esac + if test $LOCALE_FR != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (btowc (EOF) != WEOF) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_btowc_eof=yes +else + gl_cv_func_btowc_eof=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 +$as_echo "$gl_cv_func_btowc_eof" >&6; } + + case "$gl_cv_func_btowc_nul" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + case "$gl_cv_func_btowc_eof" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + fi + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS btowc.$ac_objext" + + + : + + fi + + + + + GNULIB_BTOWC=1 + + + +$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h + + + + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS basename-lgpl.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS dirname-lgpl.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS stripslash.$ac_objext" + + + + + + + # Code from module double-slash-root: + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +$as_echo_n "checking whether // is distinct from /... " >&6; } +if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +$as_echo "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then + +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h + + fi + + # Code from module errno: + + # Code from module error: + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 +$as_echo_n "checking for error_at_line... " >&6; } +if ${ac_cv_lib_error_at_line+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +error_at_line (0, 0, "", 0, "an error occurred"); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_error_at_line=yes +else + ac_cv_lib_error_at_line=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 +$as_echo "$ac_cv_lib_error_at_line" >&6; } + if test $ac_cv_lib_error_at_line = no; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" + + fi + + + + + : + + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" + + # Code from module extensions: + # Code from module float: + + + + FLOAT_H= + case "$host_os" in + beos* | openbsd* | mirbsd*) + FLOAT_H=float.h + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_float_h='<'float.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_float_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_float_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/float.h#{ + s#.*"\(.*/float.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_float_h='<'float.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 +$as_echo "$gl_cv_next_float_h" >&6; } + fi + NEXT_FLOAT_H=$gl_cv_next_float_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'float.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_float_h + fi + NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive + + + + ;; + esac + + + # Code from module fnmatch: + + + + + + FNMATCH_H= + gl_fnmatch_required_lowercase=`echo $gl_fnmatch_required | tr 'A-Z' 'a-z'` + gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5 +$as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; } +if eval \${$gl_fnmatch_cache_var+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test $gl_fnmatch_required = GNU; then + gl_fnmatch_gnu_start= + gl_fnmatch_gnu_end= + else + gl_fnmatch_gnu_start='#if 0' + gl_fnmatch_gnu_end='#endif' + fi + if test "$cross_compiling" = yes; then : + eval "$gl_fnmatch_cache_var=\"guessing no\"" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + static int + y (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == 0; + } + static int + n (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == FNM_NOMATCH; + } + +int +main (void) +{ +char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]"; + char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]"; + static char const A_1[] = { 'A' - 1, 0 }; + static char const A01[] = { 'A' + 1, 0 }; + static char const a_1[] = { 'a' - 1, 0 }; + static char const a01[] = { 'a' + 1, 0 }; + static char const bs_1[] = { '\\\\' - 1, 0 }; + static char const bs01[] = { '\\\\' + 1, 0 }; + return + !(n ("a*", "", 0) + && y ("a*", "abc", 0) + && n ("d*/*1", "d/s/1", FNM_PATHNAME) + && y ("a\\\\bc", "abc", 0) + && n ("a\\\\bc", "abc", FNM_NOESCAPE) + && y ("*x", ".x", 0) + && n ("*x", ".x", FNM_PERIOD) + && y (Apat, "\\\\", 0) && y (Apat, "A", 0) + && y (apat, "\\\\", 0) && y (apat, "a", 0) + && n (Apat, A_1, 0) == ('A' < '\\\\') + && n (apat, a_1, 0) == ('a' < '\\\\') + && y (Apat, A01, 0) == ('A' < '\\\\') + && y (apat, a01, 0) == ('a' < '\\\\') + && y (Apat, bs_1, 0) == ('A' < '\\\\') + && y (apat, bs_1, 0) == ('a' < '\\\\') + && n (Apat, bs01, 0) == ('A' < '\\\\') + && n (apat, bs01, 0) == ('a' < '\\\\') + $gl_fnmatch_gnu_start + && y ("xxXX", "xXxX", FNM_CASEFOLD) + && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH) + && n ("d*/*1", "d/s/1", FNM_FILE_NAME) + && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) + $gl_fnmatch_gnu_end + ); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + eval "$gl_fnmatch_cache_var=yes" +else + eval "$gl_fnmatch_cache_var=no" +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +eval ac_res=\$$gl_fnmatch_cache_var + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\"" + if test "$gl_fnmatch_result" = yes; then + rm -f "$gl_source_base/fnmatch.h" + else + FNMATCH_H=fnmatch.h + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext" + + +cat >>confdefs.h <<_ACEOF +@%:@define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch +_ACEOF + + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" +if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_ISBLANK $ac_have_decl +_ACEOF + + + + fi + + + # Code from module getdelim: + + + + + + + + + if test $ac_cv_func_getdelim = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 +$as_echo_n "checking for working getdelim function... " >&6; } +if ${gl_cv_func_working_getdelim+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 +$as_echo "$gl_cv_func_working_getdelim" >&6; } + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" + + + for ac_func in flockfile funlockfile +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + + + fi + + + + + GNULIB_GETDELIM=1 + + + +$as_echo "@%:@define GNULIB_TEST_GETDELIM 1" >>confdefs.h + + + + # Code from module getline: + + + + + + + + gl_getline_needs_run_time_check=no + ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" +if test "x$ac_cv_func_getline" = xyes; then : + gl_getline_needs_run_time_check=yes +else + am_cv_func_working_getline=no +fi + + if test $gl_getline_needs_run_time_check = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 +$as_echo_n "checking for working getline function... " >&6; } +if ${am_cv_func_working_getline+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + am_cv_func_working_getline=yes +else + am_cv_func_working_getline=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getline (&line, &siz, in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getline (&line, &siz, in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_working_getline=yes +else + am_cv_func_working_getline=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 +$as_echo "$am_cv_func_working_getline" >&6; } + fi + + if test $ac_cv_have_decl_getline = no; then + HAVE_DECL_GETLINE=0 + fi + + if test $am_cv_func_working_getline = no; then + REPLACE_GETLINE=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" + + + + + + + + + + + + if test $ac_cv_func_getdelim = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 +$as_echo_n "checking for working getdelim function... " >&6; } +if ${gl_cv_func_working_getdelim+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 +$as_echo "$gl_cv_func_working_getdelim" >&6; } + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" + + + for ac_func in flockfile funlockfile +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + + + fi + + + fi + + + + + GNULIB_GETLINE=1 + + + +$as_echo "@%:@define GNULIB_TEST_GETLINE 1" >>confdefs.h + + + + # Code from module getopt-gnu: + + + + + + + +$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h + + + # Code from module getopt-posix: + + + + + + if test -n "$gl_replace_getopt"; then : + + + + GETOPT_H=getopt.h + +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + +fi + + + # Code from module gettext: + + # Code from module gettext-h: + + + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_langinfo_h='<'langinfo.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_langinfo_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_langinfo_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/langinfo.h#{ + s#.*"\(.*/langinfo.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_langinfo_h='<'langinfo.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 +$as_echo "$gl_cv_next_langinfo_h" >&6; } + fi + NEXT_LANGINFO_H=$gl_cv_next_langinfo_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'langinfo.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_langinfo_h + fi + NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive + + + + + HAVE_LANGINFO_CODESET=0 + HAVE_LANGINFO_T_FMT_AMPM=0 + HAVE_LANGINFO_ERA=0 + HAVE_LANGINFO_YESEXPR=0 + + if test $ac_cv_header_langinfo_h = yes; then + HAVE_LANGINFO_H=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 +$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } +if ${gl_cv_header_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = CODESET; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_codeset=yes +else + gl_cv_header_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5 +$as_echo "$gl_cv_header_langinfo_codeset" >&6; } + if test $gl_cv_header_langinfo_codeset = yes; then + HAVE_LANGINFO_CODESET=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 +$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } +if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = T_FMT_AMPM; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_t_fmt_ampm=yes +else + gl_cv_header_langinfo_t_fmt_ampm=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5 +$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then + HAVE_LANGINFO_T_FMT_AMPM=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 +$as_echo_n "checking whether langinfo.h defines ERA... " >&6; } +if ${gl_cv_header_langinfo_era+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = ERA; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_era=yes +else + gl_cv_header_langinfo_era=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5 +$as_echo "$gl_cv_header_langinfo_era" >&6; } + if test $gl_cv_header_langinfo_era = yes; then + HAVE_LANGINFO_ERA=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 +$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } +if ${gl_cv_header_langinfo_yesexpr+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = YESEXPR; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_yesexpr=yes +else + gl_cv_header_langinfo_yesexpr=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5 +$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } + if test $gl_cv_header_langinfo_yesexpr = yes; then + HAVE_LANGINFO_YESEXPR=1 + fi + else + HAVE_LANGINFO_H=0 + fi + + + + + + + + for gl_func in nl_langinfo; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module localcharset: + + + + + + + + + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" + + # Code from module malloc-gnu: + + + for ac_header in stdlib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDLIB_H 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 +$as_echo_n "checking for GNU libc compatible malloc... " >&6; } +if ${ac_cv_func_malloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_malloc_0_nonnull=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined STDC_HEADERS || defined HAVE_STDLIB_H +# include +#else +char *malloc (); +#endif + +int +main (void) +{ +return ! malloc (0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_malloc_0_nonnull=yes +else + ac_cv_func_malloc_0_nonnull=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } +if test $ac_cv_func_malloc_0_nonnull = yes; then : + +$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h + +else + $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + + REPLACE_MALLOC=1 + + +fi + + + + +cat >>confdefs.h <<_ACEOF +@%:@define GNULIB_MALLOC_GNU 1 +_ACEOF + + + # Code from module malloc-posix: + + + + if test $gl_cv_func_malloc_posix = yes; then + +$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h + + else + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + + REPLACE_MALLOC=1 + + fi + + + + + GNULIB_MALLOC_POSIX=1 + + + +$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h + + + + # Code from module mbrtowc: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbrtowc = no; then + HAVE_MBRTOWC=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBRTOWC=1 + else + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 +$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } +if ${gl_cv_func_mbrtowc_null_arg+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on OSF/1. + osf*) gl_cv_func_mbrtowc_null_arg="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_null_arg="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + mbstate_t state; + wchar_t wc; + int ret; + + memset (&state, '\0', sizeof (mbstate_t)); + wc = (wchar_t) 0xBADFACE; + mbrtowc (&wc, NULL, 5, &state); + /* Check that wc was not modified. */ + if (wc != (wchar_t) 0xBADFACE) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_null_arg=yes +else + gl_cv_func_mbrtowc_null_arg=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg" >&5 +$as_echo "$gl_cv_func_mbrtowc_null_arg" >&6; } + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 +$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } +if ${gl_cv_func_mbrtowc_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbrtowc_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* This fails on Solaris. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + char input[] = "B\303\274\303\237er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 1) + return 1; + } + } + /* This fails on HP-UX 11.11. */ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 2) + return 1; + } + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_retval=yes +else + gl_cv_func_mbrtowc_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 +$as_echo "$gl_cv_func_mbrtowc_retval" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 +$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } +if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8 and 9. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* This fails on Solaris 8 and 9. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, "", 1, &state) != 0) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_nul_retval=yes +else + gl_cv_func_mbrtowc_nul_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 +$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } + + case "$gl_cv_func_mbrtowc_null_arg" in + *yes) ;; + *) +$as_echo "@%:@define MBRTOWC_NULL_ARG_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_retval" in + *yes) ;; + *) +$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_nul_retval" in + *yes) ;; + *) +$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + fi + fi + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext" + + + : + + fi + + + + + GNULIB_MBRTOWC=1 + + + +$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h + + + + # Code from module mbsinit: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbsinit = no; then + HAVE_MBSINIT=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSINIT=1 + fi + fi + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext" + + + : + + fi + + + + + GNULIB_MBSINIT=1 + + + +$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h + + + + # Code from module mbsrtowcs: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbsrtowcs = no; then + HAVE_MBSRTOWCS=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSRTOWCS=1 + else + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5 +$as_echo_n "checking whether mbsrtowcs works... " >&6; } +if ${gl_cv_func_mbsrtowcs_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbsrtowcs_works="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbsrtowcs_works="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* Test whether the function works when started with a conversion state + in non-initial state. This fails on HP-UX 11.11 and Solaris 10. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + const char input[] = "B\303\274\303\237er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "<\306\374\313\334\270\354>"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 4; + if (mbsrtowcs (NULL, &src, 10, &state) != 3) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + const char input[] = "B\250\271\201\060\211\070er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbsrtowcs_works=yes +else + gl_cv_func_mbsrtowcs_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbsrtowcs_works" >&5 +$as_echo "$gl_cv_func_mbsrtowcs_works" >&6; } + + case "$gl_cv_func_mbsrtowcs_works" in + *yes) ;; + *) REPLACE_MBSRTOWCS=1 ;; + esac + fi + fi + if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs-state.$ac_objext" + + + : + + fi + + + + + GNULIB_MBSRTOWCS=1 + + + +$as_echo "@%:@define GNULIB_TEST_MBSRTOWCS 1" >>confdefs.h + + + + # Code from module memchr: + + + + + GNULIB_MEMCHR=1 + + + +$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h + + + + # Code from module mempcpy: + + + + + + + + + + + + + + + for ac_func in mempcpy +do : + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_MEMPCPY 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_mempcpy = no; then + HAVE_MEMPCPY=0 + + : + + fi + + + + + GNULIB_MEMPCPY=1 + + + +$as_echo "@%:@define GNULIB_TEST_MEMPCPY 1" >>confdefs.h + + + + # Code from module multiarch: + + # Code from module nl_langinfo: + + + + + if test $ac_cv_func_nl_langinfo = yes; then + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then + : + else + REPLACE_NL_LANGINFO=1 + +$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext" + + fi + else + HAVE_NL_LANGINFO=0 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext" + + fi + + + + + GNULIB_NL_LANGINFO=1 + + + +$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h + + + + # Code from module progname: + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl +_ACEOF + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl +_ACEOF + + # Code from module rawmemchr: + + + + + + + + + + + + + for ac_func in rawmemchr +do : + ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr" +if test "x$ac_cv_func_rawmemchr" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_RAWMEMCHR 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_rawmemchr = no; then + HAVE_RAWMEMCHR=0 + : + fi + + + + + GNULIB_RAWMEMCHR=1 + + + +$as_echo "@%:@define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h + + + + # Code from module realloc-posix: + + + + if test $gl_cv_func_malloc_posix = yes; then + +$as_echo "@%:@define HAVE_REALLOC_POSIX 1" >>confdefs.h + + else + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" + + REPLACE_REALLOC=1 + + fi + + + + + GNULIB_REALLOC_POSIX=1 + + + +$as_echo "@%:@define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h + + + + # Code from module regex: + + + + +@%:@ Check whether --with-included-regex was given. +if test "${with_included_regex+set}" = set; then : + withval=$with_included_regex; +fi + + + case $with_included_regex in #( + yes|no) ac_use_included_regex=$with_included_regex + ;; + '') + # If the system regex support is good enough that it passes the + # following run test, then default to *not* using the included regex.c. + # If cross compiling, assume the test would fail and use the included + # regex.c. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 +$as_echo_n "checking for working re_compile_pattern... " >&6; } +if ${gl_cv_func_re_compile_pattern_working+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_re_compile_pattern_working=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + #if HAVE_LOCALE_H + #include + #endif + #include + #include + +int +main (void) +{ +static struct re_pattern_buffer regex; + unsigned char folded_chars[UCHAR_MAX + 1]; + int i; + const char *s; + struct re_registers regs; + + #if HAVE_LOCALE_H + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html + This test needs valgrind to catch the bug on Debian + GNU/Linux 3.1 x86, but it might catch the bug better + on other platforms and it shouldn't hurt to try the + test here. */ + if (setlocale (LC_ALL, "en_US.UTF-8")) + { + static char const pat[] = "insert into"; + static char const data[] = + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE + | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern (pat, sizeof pat - 1, ®ex); + if (s) + return 1; + if (re_search (®ex, data, sizeof data - 1, + 0, sizeof data - 1, ®s) + != -1) + return 1; + if (! setlocale (LC_ALL, "C")) + return 1; + } + #endif + + /* This test is from glibc bug 3957, reported by Andrew Mackey. */ + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[^x]b", 6, ®ex); + if (s) + return 1; + + /* This should fail, but succeeds for glibc-2.5. */ + if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) + return 1; + + /* This regular expression is from Spencer ere test number 75 + in grep-2.3. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof regex); + for (i = 0; i <= UCHAR_MAX; i++) + folded_chars[i] = i; + regex.translate = folded_chars; + s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, ®ex); + /* This should fail with _Invalid character class name_ error. */ + if (!s) + return 1; + + /* Ensure that [b-a] is diagnosed as invalid, when + using RE_NO_EMPTY_RANGES. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[b-a]", 6, ®ex); + if (s == 0) + return 1; + + /* This should succeed, but does not for glibc-2.1.3. */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("{1", 2, ®ex); + + if (s) + return 1; + + /* The following example is derived from a problem report + against gawk from Jorge Stolfi . */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[an\371]*n", 7, ®ex); + if (s) + return 1; + + /* This should match, but does not for glibc-2.2.1. */ + if (re_match (®ex, "an", 2, 0, ®s) != 2) + return 1; + + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + /* glibc-2.2.93 does not work with a negative RANGE argument. */ + if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) + return 1; + + /* The version of regex.c in older versions of gnulib + ignored RE_ICASE. Detect that problem too. */ + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) + return 1; + + /* Catch a bug reported by Vin Shelton in + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html + */ + re_set_syntax (RE_SYNTAX_POSIX_BASIC + & ~RE_CONTEXT_INVALID_DUP + & ~RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); + if (s) + return 1; + + /* REG_STARTEND was added to glibc on 2004-01-15. + Reject older versions. */ + if (! REG_STARTEND) + return 1; + +#if 0 + /* It would be nice to reject hosts whose regoff_t values are too + narrow (including glibc on hosts with 64-bit ptrdiff_t and + 32-bit int), but we should wait until glibc implements this + feature. Otherwise, support for equivalence classes and + multibyte collation symbols would always be broken except + when compiling --without-included-regex. */ + if (sizeof (regoff_t) < sizeof (ptrdiff_t) + || sizeof (regoff_t) < sizeof (ssize_t)) + return 1; +#endif + + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_re_compile_pattern_working=yes +else + gl_cv_func_re_compile_pattern_working=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5 +$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } + case $gl_cv_func_re_compile_pattern_working in #( + yes) ac_use_included_regex=no;; #( + no) ac_use_included_regex=yes;; + esac + ;; + *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5 + ;; + esac + + if test $ac_use_included_regex = yes; then + +$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h + + +$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h + + +$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h + + +$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h + + +$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h + + +$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h + + +$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h + + +$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h + + +$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h + + +$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h + + +$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h + + +$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h + + +$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h + + +$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h + + +$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h + + +$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext" + + + + + + + for ac_header in libintl.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBINTL_H 1 +_ACEOF + +fi + +done + + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" +if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_ISBLANK $ac_have_decl +_ACEOF + + + fi + + # Code from module size_max: + + for ac_header in stdint.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDINT_H 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 +$as_echo_n "checking for SIZE_MAX... " >&6; } +if ${gl_cv_size_max+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_cv_size_max= + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_STDINT_H +#include +#endif +#ifdef SIZE_MAX +Found it +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Found it" >/dev/null 2>&1; then : + gl_cv_size_max=yes +fi +rm -f conftest* + + if test -z "$gl_cv_size_max"; then + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include +#include "; then : + +else + size_t_bits_minus_1= +fi + + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : + +else + fits_in_uint= +fi + + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then + if test $fits_in_uint = 1; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + extern size_t foo; + extern unsigned long foo; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + fits_in_uint=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $fits_in_uint = 1; then + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" + else + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" + fi + else + gl_cv_size_max='((size_t)~(size_t)0)' + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 +$as_echo "$gl_cv_size_max" >&6; } + if test "$gl_cv_size_max" != yes; then + +cat >>confdefs.h <<_ACEOF +@%:@define SIZE_MAX $gl_cv_size_max +_ACEOF + + fi + + + # Code from module sleep: + + + ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include +" +if test "x$ac_cv_have_decl_sleep" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_SLEEP $ac_have_decl +_ACEOF + + + if test $ac_cv_have_decl_sleep != yes; then + HAVE_SLEEP=0 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext" + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5 +$as_echo_n "checking for working sleep... " >&6; } +if ${gl_cv_func_sleep_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_sleep_works="guessing no" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +static void +handle_alarm (int sig) +{ + if (sig != SIGALRM) + _exit (2); +} + +int +main (void) +{ + + /* Failure to compile this test due to missing alarm is okay, + since all such platforms (mingw) also lack sleep. */ + unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ + unsigned int remaining; + signal (SIGALRM, handle_alarm); + alarm (1); + remaining = sleep (pentecost); + return !(pentecost - 10 < remaining && remaining <= pentecost); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_sleep_works=yes +else + gl_cv_func_sleep_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5 +$as_echo "$gl_cv_func_sleep_works" >&6; } + if test "$gl_cv_func_sleep_works" != yes; then + REPLACE_SLEEP=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext" + + fi + fi + + + + + GNULIB_SLEEP=1 + + + +$as_echo "@%:@define GNULIB_TEST_SLEEP 1" >>confdefs.h + + + + # Code from module ssize_t: + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 +$as_echo_n "checking for ssize_t... " >&6; } +if ${gt_cv_ssize_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +int x = sizeof (ssize_t *) + sizeof (ssize_t); + return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_ssize_t=yes +else + gt_cv_ssize_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 +$as_echo "$gt_cv_ssize_t" >&6; } + if test $gt_cv_ssize_t = no; then + +$as_echo "@%:@define ssize_t int" >>confdefs.h + + fi + + # Code from module stdbool: + + + + # Define two additional variables used in the Makefile substitution. + + if test "$ac_cv_header_stdbool_h" = yes; then + STDBOOL_H='' + else + STDBOOL_H='stdbool.h' + fi + + + if test "$ac_cv_type__Bool" = yes; then + HAVE__BOOL=1 + else + HAVE__BOOL=0 + fi + + + # Code from module stddef: + + + + if test $gt_cv_c_wchar_t = no; then + HAVE_WCHAR_T=0 + STDDEF_H=stddef.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } +if ${gl_cv_decl_null_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int test[2 * (sizeof NULL == sizeof (void *)) -1]; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_decl_null_works=yes +else + gl_cv_decl_null_works=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 +$as_echo "$gl_cv_decl_null_works" >&6; } + if test $gl_cv_decl_null_works = no; then + REPLACE_NULL=1 + STDDEF_H=stddef.h + fi + if test -n "$STDDEF_H"; then + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stddef_h='<'stddef.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stddef_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stddef_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stddef.h#{ + s#.*"\(.*/stddef.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stddef_h='<'stddef.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 +$as_echo "$gl_cv_next_stddef_h" >&6; } + fi + NEXT_STDDEF_H=$gl_cv_next_stddef_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stddef.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stddef_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive + + + + fi + + # Code from module stdint: + + + + if test $ac_cv_type_long_long_int = yes; then + HAVE_LONG_LONG_INT=1 + else + HAVE_LONG_LONG_INT=0 + fi + + + if test $ac_cv_type_unsigned_long_long_int = yes; then + HAVE_UNSIGNED_LONG_LONG_INT=1 + else + HAVE_UNSIGNED_LONG_LONG_INT=0 + fi + + + if test $ac_cv_header_inttypes_h = yes; then + HAVE_INTTYPES_H=1 + else + HAVE_INTTYPES_H=0 + fi + + + if test $ac_cv_header_sys_types_h = yes; then + HAVE_SYS_TYPES_H=1 + else + HAVE_SYS_TYPES_H=0 + fi + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdint_h='<'stdint.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdint_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdint.h#{ + s#.*"\(.*/stdint.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdint_h='<'stdint.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 +$as_echo "$gl_cv_next_stdint_h" >&6; } + fi + NEXT_STDINT_H=$gl_cv_next_stdint_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdint.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdint_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive + + + + if test $ac_cv_header_stdint_h = yes; then + HAVE_STDINT_H=1 + else + HAVE_STDINT_H=0 + fi + + + if test $ac_cv_header_stdint_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } +if ${gl_cv_header_working_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + gl_cv_header_working_stdint_h=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ +#if !(defined WCHAR_MIN && defined WCHAR_MAX) +#error "WCHAR_MIN, WCHAR_MAX not defined in " +#endif + + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + +#ifdef INT8_MAX +int8_t a1 = INT8_MAX; +int8_t a1min = INT8_MIN; +#endif +#ifdef INT16_MAX +int16_t a2 = INT16_MAX; +int16_t a2min = INT16_MIN; +#endif +#ifdef INT32_MAX +int32_t a3 = INT32_MAX; +int32_t a3min = INT32_MIN; +#endif +#ifdef INT64_MAX +int64_t a4 = INT64_MAX; +int64_t a4min = INT64_MIN; +#endif +#ifdef UINT8_MAX +uint8_t b1 = UINT8_MAX; +#else +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; +#endif +#ifdef UINT16_MAX +uint16_t b2 = UINT16_MAX; +#endif +#ifdef UINT32_MAX +uint32_t b3 = UINT32_MAX; +#endif +#ifdef UINT64_MAX +uint64_t b4 = UINT64_MAX; +#endif +int_least8_t c1 = INT8_C (0x7f); +int_least8_t c1max = INT_LEAST8_MAX; +int_least8_t c1min = INT_LEAST8_MIN; +int_least16_t c2 = INT16_C (0x7fff); +int_least16_t c2max = INT_LEAST16_MAX; +int_least16_t c2min = INT_LEAST16_MIN; +int_least32_t c3 = INT32_C (0x7fffffff); +int_least32_t c3max = INT_LEAST32_MAX; +int_least32_t c3min = INT_LEAST32_MIN; +int_least64_t c4 = INT64_C (0x7fffffffffffffff); +int_least64_t c4max = INT_LEAST64_MAX; +int_least64_t c4min = INT_LEAST64_MIN; +uint_least8_t d1 = UINT8_C (0xff); +uint_least8_t d1max = UINT_LEAST8_MAX; +uint_least16_t d2 = UINT16_C (0xffff); +uint_least16_t d2max = UINT_LEAST16_MAX; +uint_least32_t d3 = UINT32_C (0xffffffff); +uint_least32_t d3max = UINT_LEAST32_MAX; +uint_least64_t d4 = UINT64_C (0xffffffffffffffff); +uint_least64_t d4max = UINT_LEAST64_MAX; +int_fast8_t e1 = INT_FAST8_MAX; +int_fast8_t e1min = INT_FAST8_MIN; +int_fast16_t e2 = INT_FAST16_MAX; +int_fast16_t e2min = INT_FAST16_MIN; +int_fast32_t e3 = INT_FAST32_MAX; +int_fast32_t e3min = INT_FAST32_MIN; +int_fast64_t e4 = INT_FAST64_MAX; +int_fast64_t e4min = INT_FAST64_MIN; +uint_fast8_t f1 = UINT_FAST8_MAX; +uint_fast16_t f2 = UINT_FAST16_MAX; +uint_fast32_t f3 = UINT_FAST32_MAX; +uint_fast64_t f4 = UINT_FAST64_MAX; +#ifdef INTPTR_MAX +intptr_t g = INTPTR_MAX; +intptr_t gmin = INTPTR_MIN; +#endif +#ifdef UINTPTR_MAX +uintptr_t h = UINTPTR_MAX; +#endif +intmax_t i = INTMAX_MAX; +uintmax_t j = UINTMAX_MAX; + +#include /* for CHAR_BIT */ +#define TYPE_MINIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) +#define TYPE_MAXIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) +struct s { + int check_PTRDIFF: + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) + ? 1 : -1; + /* Detect bug in FreeBSD 6.0 / ia64. */ + int check_SIG_ATOMIC: + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) + ? 1 : -1; + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; + int check_WCHAR: + WCHAR_MIN == TYPE_MINIMUM (wchar_t) + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) + ? 1 : -1; + /* Detect bug in mingw. */ + int check_WINT: + WINT_MIN == TYPE_MINIMUM (wint_t) + && WINT_MAX == TYPE_MAXIMUM (wint_t) + ? 1 : -1; + + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ + int check_UINT8_C: + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; + int check_UINT16_C: + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; + + /* Detect bugs in OpenBSD 3.9 stdint.h. */ +#ifdef UINT8_MAX + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; +#endif +#ifdef UINT16_MAX + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; +#endif +#ifdef UINT32_MAX + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; +#endif +#ifdef UINT64_MAX + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; +#endif + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; +}; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if test "$cross_compiling" = yes; then : + gl_cv_header_working_stdint_h=yes + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include + + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + +#include +#include +#define MVAL(macro) MVAL1(macro) +#define MVAL1(expression) #expression +static const char *macro_values[] = + { +#ifdef INT8_MAX + MVAL (INT8_MAX), +#endif +#ifdef INT16_MAX + MVAL (INT16_MAX), +#endif +#ifdef INT32_MAX + MVAL (INT32_MAX), +#endif +#ifdef INT64_MAX + MVAL (INT64_MAX), +#endif +#ifdef UINT8_MAX + MVAL (UINT8_MAX), +#endif +#ifdef UINT16_MAX + MVAL (UINT16_MAX), +#endif +#ifdef UINT32_MAX + MVAL (UINT32_MAX), +#endif +#ifdef UINT64_MAX + MVAL (UINT64_MAX), +#endif + NULL + }; + +int +main (void) +{ + + const char **mv; + for (mv = macro_values; *mv != NULL; mv++) + { + const char *value = *mv; + /* Test whether it looks like a cast expression. */ + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 + || strncmp (value, "((int)"/*)*/, 6) == 0 + || strncmp (value, "((signed short)"/*)*/, 15) == 0 + || strncmp (value, "((signed char)"/*)*/, 14) == 0) + return 1; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_header_working_stdint_h=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 +$as_echo "$gl_cv_header_working_stdint_h" >&6; } + fi + if test "$gl_cv_header_working_stdint_h" = yes; then + STDINT_H= + else + for ac_header in sys/inttypes.h sys/bitypes.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_sys_inttypes_h = yes; then + HAVE_SYS_INTTYPES_H=1 + else + HAVE_SYS_INTTYPES_H=0 + fi + + if test $ac_cv_header_sys_bitypes_h = yes; then + HAVE_SYS_BITYPES_H=1 + else + HAVE_SYS_BITYPES_H=0 + fi + + + + + + + if test $APPLE_UNIVERSAL_BUILD = 0; then + + + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +$as_echo_n "checking for bit size of $gltype... " >&6; } +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + +#include "; then : + +else + result=unknown +fi + + eval gl_cv_bitsizeof_${gltype}=\$result + +fi +eval ac_res=\$gl_cv_bitsizeof_${gltype} + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + cat >>confdefs.h <<_ACEOF +@%:@define BITSIZEOF_${GLTYPE} $result +_ACEOF + + eval BITSIZEOF_${GLTYPE}=\$result + done + + + fi + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +$as_echo_n "checking for bit size of $gltype... " >&6; } +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + +#include "; then : + +else + result=unknown +fi + + eval gl_cv_bitsizeof_${gltype}=\$result + +fi +eval ac_res=\$gl_cv_bitsizeof_${gltype} + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + cat >>confdefs.h <<_ACEOF +@%:@define BITSIZEOF_${GLTYPE} $result +_ACEOF + + eval BITSIZEOF_${GLTYPE}=\$result + done + + + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 +$as_echo_n "checking whether $gltype is signed... " >&6; } +if eval \${gl_cv_type_${gltype}_signed+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + result=yes +else + result=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval gl_cv_type_${gltype}_signed=\$result + +fi +eval ac_res=\$gl_cv_type_${gltype}_signed + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_type_${gltype}_signed + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + if test "$result" = yes; then + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_SIGNED_${GLTYPE} 1 +_ACEOF + + eval HAVE_SIGNED_${GLTYPE}=1 + else + eval HAVE_SIGNED_${GLTYPE}=0 + fi + done + + + gl_cv_type_ptrdiff_t_signed=yes + gl_cv_type_size_t_signed=no + if test $APPLE_UNIVERSAL_BUILD = 0; then + + + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +$as_echo_n "checking for $gltype integer literal suffix... " >&6; } +if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + extern $gltype foo; + extern $gltype1 foo; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done +fi +eval ac_res=\$gl_cv_type_${gltype}_suffix + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + cat >>confdefs.h <<_ACEOF +@%:@define ${GLTYPE}_SUFFIX $result +_ACEOF + + done + + + fi + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +$as_echo_n "checking for $gltype integer literal suffix... " >&6; } +if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + extern $gltype foo; + extern $gltype1 foo; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done +fi +eval ac_res=\$gl_cv_type_${gltype}_suffix + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + cat >>confdefs.h <<_ACEOF +@%:@define ${GLTYPE}_SUFFIX $result +_ACEOF + + done + + + + STDINT_H=stdint.h + fi + + + # Code from module stdio: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdio_h='<'stdio.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdio_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdio_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdio.h#{ + s#.*"\(.*/stdio.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdio_h='<'stdio.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 +$as_echo "$gl_cv_next_stdio_h" >&6; } + fi + NEXT_STDIO_H=$gl_cv_next_stdio_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdio.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdio_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive + + + + GNULIB_FPRINTF=1 + GNULIB_PRINTF=1 + GNULIB_VFPRINTF=1 + GNULIB_VPRINTF=1 + GNULIB_FPUTC=1 + GNULIB_PUTC=1 + GNULIB_PUTCHAR=1 + GNULIB_FPUTS=1 + GNULIB_PUTS=1 + GNULIB_FWRITE=1 + + + + for gl_func in dprintf fpurge fseeko ftello getdelim getline popen renameat snprintf tmpfile vdprintf vsnprintf; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module stdlib: + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdlib_h='<'stdlib.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdlib_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdlib_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdlib.h#{ + s#.*"\(.*/stdlib.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdlib_h='<'stdlib.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 +$as_echo "$gl_cv_next_stdlib_h" >&6; } + fi + NEXT_STDLIB_H=$gl_cv_next_stdlib_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdlib.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdlib_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive + + + + for ac_header in random.h +do : + ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default +" +if test "x$ac_cv_header_random_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_RANDOM_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_random_h = yes; then + HAVE_RANDOM_H=1 + else + HAVE_RANDOM_H=0 + fi + + ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include + #if HAVE_RANDOM_H + # include + #endif + +" +if test "x$ac_cv_type_struct_random_data" = xyes; then : + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRUCT_RANDOM_DATA 1 +_ACEOF + + +else + HAVE_STRUCT_RANDOM_DATA=0 +fi + + + + for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt unsetenv; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#if HAVE_SYS_LOADAVG_H +# include +#endif +#if HAVE_RANDOM_H +# include +#endif + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module strcase: + + + + + + + + + + + + for ac_func in strcasecmp +do : + ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" +if test "x$ac_cv_func_strcasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRCASECMP 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strcasecmp = no; then + HAVE_STRCASECMP=0 + + : + + fi + + + + + + + + + + + + for ac_func in strncasecmp +do : + ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" +if test "x$ac_cv_func_strncasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRNCASECMP 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strncasecmp = no; then + + : + + fi + ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" +if test "x$ac_cv_have_decl_strncasecmp" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +@%:@define HAVE_DECL_STRNCASECMP $ac_have_decl +_ACEOF + + if test $ac_cv_have_decl_strncasecmp = no; then + HAVE_DECL_STRNCASECMP=0 + fi + + + # Code from module strchrnul: + + + + + + + + + + + + + for ac_func in strchrnul +do : + ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" +if test "x$ac_cv_func_strchrnul" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STRCHRNUL 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strchrnul = no; then + HAVE_STRCHRNUL=0 + : + fi + + + + + GNULIB_STRCHRNUL=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h + + + + # Code from module streq: + # Code from module strerror: + + + if test $REPLACE_STRERROR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" + + +cat >>confdefs.h <<_ACEOF +@%:@define REPLACE_STRERROR $REPLACE_STRERROR +_ACEOF + + fi + + + + + GNULIB_STRERROR=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h + + + + # Code from module string: + + + + # Code from module strings: + + + + # Code from module strndup: + + + + + + + if test $ac_cv_have_decl_strndup = no; then + HAVE_DECL_STRNDUP=0 + fi + + if test $ac_cv_func_strndup = yes; then + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 +$as_echo_n "checking for working strndup... " >&6; } +if ${gl_cv_func_strndup_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + + case $host_os in + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; + *) gl_cv_func_strndup_works="guessing yes";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include +int +main (void) +{ + +#ifndef HAVE_DECL_STRNDUP + extern char *strndup (const char *, size_t); +#endif + char *s; + s = strndup ("some longer string", 15); + free (s); + s = strndup ("shorter string", 13); + return s[13] != '\0'; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_strndup_works=yes +else + gl_cv_func_strndup_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5 +$as_echo "$gl_cv_func_strndup_works" >&6; } + case $gl_cv_func_strndup_works in + *no) + REPLACE_STRNDUP=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" + + ;; + esac + else + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" + + fi + + + + + GNULIB_STRNDUP=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h + + + + # Code from module strnlen: + + + + + + + if test $ac_cv_have_decl_strnlen = no; then + HAVE_DECL_STRNLEN=0 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 +$as_echo_n "checking for working strnlen... " >&6; } +if ${ac_cv_func_strnlen_working+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + # Guess no on AIX systems, yes otherwise. + case "$host_os" in + aix*) ac_cv_func_strnlen_working=no;; + *) ac_cv_func_strnlen_working=yes;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + +#define S "foobar" +#define S_LEN (sizeof S - 1) + + /* At least one implementation is buggy: that of AIX 4.3 would + give strnlen (S, 1) == 3. */ + + int i; + for (i = 0; i < S_LEN + 1; ++i) + { + int expected = i <= S_LEN ? i : S_LEN; + if (strnlen (S, i) != expected) + return 1; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strnlen_working=yes +else + ac_cv_func_strnlen_working=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 +$as_echo "$ac_cv_func_strnlen_working" >&6; } +test $ac_cv_func_strnlen_working = no && + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" + + + if test $ac_cv_func_strnlen_working = no; then + REPLACE_STRNLEN=1 + fi + fi + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" + + : + fi + + + + + GNULIB_STRNLEN=1 + + + +$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h + + + + # Code from module strnlen1: + # Code from module sys_wait: + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_wait_h='<'sys/wait.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_sys_wait_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_sys_wait_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/sys/wait.h#{ + s#.*"\(.*/sys/wait.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_sys_wait_h='<'sys/wait.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5 +$as_echo "$gl_cv_next_sys_wait_h" >&6; } + fi + NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sys/wait.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sys_wait_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive + + + + + + # Code from module sysexits: + + + if test $ac_cv_header_sysexits_h = yes; then + HAVE_SYSEXITS_H=1 + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sysexits_h='<'sysexits.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_sysexits_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_sysexits_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_sysexits_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/sysexits.h#{ + s#.*"\(.*/sysexits.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_sysexits_h='<'sysexits.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sysexits_h" >&5 +$as_echo "$gl_cv_next_sysexits_h" >&6; } + fi + NEXT_SYSEXITS_H=$gl_cv_next_sysexits_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sysexits.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sysexits_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H=$gl_next_as_first_directive + + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +switch (0) + { + case EX_OK: + case EX_USAGE: + case EX_DATAERR: + case EX_NOINPUT: + case EX_NOUSER: + case EX_NOHOST: + case EX_UNAVAILABLE: + case EX_SOFTWARE: + case EX_OSERR: + case EX_OSFILE: + case EX_CANTCREAT: + case EX_IOERR: + case EX_TEMPFAIL: + case EX_PROTOCOL: + case EX_NOPERM: + case EX_CONFIG: + break; + } + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + SYSEXITS_H= +else + SYSEXITS_H=sysexits.h +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + HAVE_SYSEXITS_H=0 + SYSEXITS_H=sysexits.h + fi + + + + # Code from module unistd: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_unistd_h='<'unistd.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_unistd_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_unistd_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/unistd.h#{ + s#.*"\(.*/unistd.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_unistd_h='<'unistd.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 +$as_echo "$gl_cv_next_unistd_h" >&6; } + fi + NEXT_UNISTD_H=$gl_cv_next_unistd_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'unistd.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_unistd_h + fi + NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive + + + + + + if test $ac_cv_header_unistd_h = yes; then + HAVE_UNISTD_H=1 + else + HAVE_UNISTD_H=0 + fi + + + + for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell lchown link linkat lseek pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +/* Some systems declare various items in the wrong headers. */ +#ifndef __GLIBC__ +# include +# include +# include +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +# include +# endif +#endif + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module vasnprintf: + + + if test $ac_cv_func_vasnprintf = no; then + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" + + if test $ac_cv_func_vasnprintf = yes; then + +$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h + + fi + + + + + + + + + + + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" +if test "x$ac_cv_type_ptrdiff_t" = xyes; then : + +else + +$as_echo "@%:@define ptrdiff_t long" >>confdefs.h + + +fi + + + + + + + + fi + + # Code from module verify: + # Code from module vsnprintf: + + + gl_cv_func_vsnprintf_usable=no + for ac_func in vsnprintf +do : + ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" +if test "x$ac_cv_func_vsnprintf" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_VSNPRINTF 1 +_ACEOF + +fi +done + + if test $ac_cv_func_vsnprintf = yes; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 +$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } +if ${gl_cv_func_snprintf_size1+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + gl_cv_func_snprintf_size1="guessing yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +int main() +{ + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; + snprintf (buf, 1, "%d", 12345); + return buf[1] != 'E'; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_size1=yes +else + gl_cv_func_snprintf_size1=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 +$as_echo "$gl_cv_func_snprintf_size1" >&6; } + + case "$gl_cv_func_snprintf_size1" in + *yes) + gl_cv_func_vsnprintf_usable=yes + ;; + esac + fi + if test $gl_cv_func_vsnprintf_usable = no; then + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS vsnprintf.$ac_objext" + + if test $ac_cv_func_vsnprintf = yes; then + REPLACE_VSNPRINTF=1 + fi + : + + fi + + if test $ac_cv_have_decl_vsnprintf = no; then + HAVE_DECL_VSNPRINTF=0 + fi + + + + + GNULIB_VSNPRINTF=1 + + + +$as_echo "@%:@define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h + + + + # Code from module warn-on-use: + # Code from module wchar: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wchar_h='<'wchar.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_wchar_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_wchar_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/wchar.h#{ + s#.*"\(.*/wchar.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_wchar_h='<'wchar.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 +$as_echo "$gl_cv_next_wchar_h" >&6; } + fi + NEXT_WCHAR_H=$gl_cv_next_wchar_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'wchar.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_wchar_h + fi + NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive + + + + if test $ac_cv_header_wchar_h = yes; then + HAVE_WCHAR_H=1 + else + HAVE_WCHAR_H=0 + fi + + + + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + + + + for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Some systems require additional headers. */ +#ifndef __GLIBC__ +# include +# include +# include +#endif +#include + +int +main (void) +{ +@%:@undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module wcrtomb: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_wcrtomb = no; then + HAVE_WCRTOMB=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_WCRTOMB=1 + else + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 +$as_echo_n "checking whether wcrtomb return value is correct... " >&6; } +if ${gl_cv_func_wcrtomb_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX 4, OSF/1 and Solaris. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;; + esac + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_wcrtomb_retval=yes +else + gl_cv_func_wcrtomb_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 +$as_echo "$gl_cv_func_wcrtomb_retval" >&6; } + case "$gl_cv_func_wcrtomb_retval" in + *yes) ;; + *) REPLACE_WCRTOMB=1 ;; + esac + fi + fi + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS wcrtomb.$ac_objext" + + + : + + fi + + + + + GNULIB_WCRTOMB=1 + + + +$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h + + + + # Code from module wctype: + + + + + if test $ac_cv_func_iswcntrl = yes; then + HAVE_ISWCNTRL=1 + else + HAVE_ISWCNTRL=0 + fi + + + + if test $ac_cv_func_iswblank = yes; then + HAVE_ISWBLANK=1 + REPLACE_ISWBLANK=0 + else + HAVE_ISWBLANK=0 + if test $ac_cv_have_decl_iswblank = yes; then + REPLACE_ISWBLANK=1 + else + REPLACE_ISWBLANK=0 + fi + fi + + + + + + + + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + + + if test $ac_cv_header_wctype_h = yes; then + if test $ac_cv_func_iswcntrl = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 +$as_echo_n "checking whether iswcntrl works... " >&6; } +if ${gl_cv_func_iswcntrl_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #if __GNU_LIBRARY__ == 1 + Linux libc5 i18n is broken. + #endif +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_iswcntrl_works=yes +else + gl_cv_func_iswcntrl_works=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + #include + #include + int main () { return iswprint ('x') == 0; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_iswcntrl_works=yes +else + gl_cv_func_iswcntrl_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 +$as_echo "$gl_cv_func_iswcntrl_works" >&6; } + fi + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wctype_h='<'wctype.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_wctype_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_wctype_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/wctype.h#{ + s#.*"\(.*/wctype.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_wctype_h='<'wctype.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 +$as_echo "$gl_cv_next_wctype_h" >&6; } + fi + NEXT_WCTYPE_H=$gl_cv_next_wctype_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'wctype.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_wctype_h + fi + NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive + + + + HAVE_WCTYPE_H=1 + else + HAVE_WCTYPE_H=0 + fi + + + if test "$gl_cv_func_iswcntrl_works" = no; then + REPLACE_ISWCNTRL=1 + else + REPLACE_ISWCNTRL=0 + fi + + + # Code from module xsize: + + + + for ac_header in stdint.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_STDINT_H 1 +_ACEOF + +fi + +done + + + # End of code from modules + + + + + + + + + + gltests_libdeps= + gltests_ltlibdeps= + + + + + + + + + + gl_source_base='tests' + gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS + + gl_module_indicator_condition=$gltests_WITNESS + + + + + + + + + + LIBGNU_LIBDEPS="$gl_libdeps" + + LIBGNU_LTLIBDEPS="$gl_ltlibdeps" + + + +# +# Check for target programs. +# + +# Find tools for the target. +if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then + tmp_ac_tool_prefix="$ac_tool_prefix" + ac_tool_prefix=$target_alias- + + if test -n "$ac_tool_prefix"; then + for ac_prog in gcc egcs cc + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_TARGET_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$TARGET_CC"; then + ac_cv_prog_TARGET_CC="$TARGET_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_TARGET_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +TARGET_CC=$ac_cv_prog_TARGET_CC +if test -n "$TARGET_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_CC" >&5 +$as_echo "$TARGET_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$TARGET_CC" && break + done +fi +if test -z "$TARGET_CC"; then + ac_ct_TARGET_CC=$TARGET_CC + for ac_prog in gcc egcs cc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_TARGET_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_TARGET_CC"; then + ac_cv_prog_ac_ct_TARGET_CC="$ac_ct_TARGET_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_TARGET_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_TARGET_CC=$ac_cv_prog_ac_ct_TARGET_CC +if test -n "$ac_ct_TARGET_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_CC" >&5 +$as_echo "$ac_ct_TARGET_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_TARGET_CC" && break +done + + if test "x$ac_ct_TARGET_CC" = x; then + TARGET_CC="as_fn_error $? "none of gcc, egcs and cc is found. set TARGET_CC manually." "$LINENO" 5" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + TARGET_CC=$ac_ct_TARGET_CC + fi +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. +set dummy ${ac_tool_prefix}objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +$as_echo "$OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJCOPY"; then + ac_ct_OBJCOPY=$OBJCOPY + # Extract the first word of "objcopy", so it can be a program name with args. +set dummy objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJCOPY"; then + ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJCOPY="objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY +if test -n "$ac_ct_OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +$as_echo "$ac_ct_OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJCOPY" = x; then + OBJCOPY="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJCOPY=$ac_ct_OBJCOPY + fi +else + OBJCOPY="$ac_cv_prog_OBJCOPY" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. +set dummy ${ac_tool_prefix}nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NM="${ac_tool_prefix}nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NM"; then + ac_ct_NM=$NM + # Extract the first word of "nm", so it can be a program name with args. +set dummy nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NM"; then + ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NM="nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NM=$ac_cv_prog_ac_ct_NM +if test -n "$ac_ct_NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NM" = x; then + NM="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NM=$ac_ct_NM + fi +else + NM="$ac_cv_prog_NM" +fi + + + ac_tool_prefix="$tmp_ac_tool_prefix" +else + if test "x$TARGET_CC" = x; then + TARGET_CC=$CC + fi + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. +set dummy ${ac_tool_prefix}objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +$as_echo "$OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJCOPY"; then + ac_ct_OBJCOPY=$OBJCOPY + # Extract the first word of "objcopy", so it can be a program name with args. +set dummy objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJCOPY"; then + ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJCOPY="objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY +if test -n "$ac_ct_OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +$as_echo "$ac_ct_OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJCOPY" = x; then + OBJCOPY="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJCOPY=$ac_ct_OBJCOPY + fi +else + OBJCOPY="$ac_cv_prog_OBJCOPY" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. +set dummy ${ac_tool_prefix}nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NM="${ac_tool_prefix}nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NM"; then + ac_ct_NM=$NM + # Extract the first word of "nm", so it can be a program name with args. +set dummy nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NM"; then + ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NM="nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NM=$ac_cv_prog_ac_ct_NM +if test -n "$ac_ct_NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NM" = x; then + NM="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NM=$ac_ct_NM + fi +else + NM="$ac_cv_prog_NM" +fi + +fi + + + + +# Test the C compiler for the target environment. +tmp_CC="$CC" +tmp_CFLAGS="$CFLAGS" +tmp_LDFLAGS="$LDFLAGS" +tmp_CPPFLAGS="$CPPFLAGS" +tmp_LIBS="$LIBS" +CC="$TARGET_CC" +CFLAGS="$TARGET_CFLAGS" +CPPFLAGS="$TARGET_CPPFLAGS" +LDFLAGS="$TARGET_LDFLAGS" +LIBS="" + +# debug flags. +TARGET_CFLAGS="$TARGET_CFLAGS -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g" +TARGET_CCASFLAGS="$TARGET_CCASFLAGS -g" + +# Force no alignment to save space on i386. +if test "x$target_cpu" = xi386; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -falign-loops works" >&5 +$as_echo_n "checking whether -falign-loops works... " >&6; } +if ${grub_cv_cc_falign_loop+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -falign-loops=1" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_falign_loop=yes +else + grub_cv_cc_falign_loop=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_falign_loop" >&5 +$as_echo "$grub_cv_cc_falign_loop" >&6; } + + if test "x$grub_cv_cc_falign_loop" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1" + else + TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1" + fi + + # Some toolchains enable these features by default, but they need + # registers that aren't set up properly in GRUB. + TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow" +fi + +# By default, GCC 4.4 generates .eh_frame sections containing unwind +# information in some cases where it previously did not. GRUB doesn't need +# these and they just use up vital space. Restore the old compiler +# behaviour. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-dwarf2-cfi-asm works" >&5 +$as_echo_n "checking whether -fno-dwarf2-cfi-asm works... " >&6; } +if ${grub_cv_cc_fno_dwarf2_cfi_asm+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fno-dwarf2-cfi-asm" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_fno_dwarf2_cfi_asm=yes +else + grub_cv_cc_fno_dwarf2_cfi_asm=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_fno_dwarf2_cfi_asm" >&5 +$as_echo "$grub_cv_cc_fno_dwarf2_cfi_asm" >&6; } + +if test "x$grub_cv_cc_fno_dwarf2_cfi_asm" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm" +fi + +if test "${target_cpu}-${platform}" = mips-yeeloong; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -march=loongson2f works" >&5 +$as_echo_n "checking whether -march=loongson2f works... " >&6; } +if ${grub_cv_cc_march_loongson2f+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -march=loongson2f" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_march_loongson2f=yes +else + grub_cv_cc_march_loongson2f=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_march_loongson2f" >&5 +$as_echo "$grub_cv_cc_march_loongson2f" >&6; } + + if test "x$grub_cv_cc_march_loongson2f" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -march=loongson2f" + else + TARGET_CFLAGS="$TARGET_CFLAGS -march=mips3" + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our target compiler is apple cc" >&5 +$as_echo_n "checking whether our target compiler is apple cc... " >&6; } +if ${grub_cv_apple_target_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_target_cc=yes +else + grub_cv_apple_target_cc=no +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_apple_target_cc" >&5 +$as_echo "$grub_cv_apple_target_cc" >&6; } +if test x$grub_cv_apple_target_cc = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -DAPPLE_CC=1" + TARGET_CFLAGS="$TARGET_CFLAGS -fnested-functions" + + CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" + TARGET_APPLE_CC=1 + # Extract the first word of "objconv", so it can be a program name with args. +set dummy objconv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCONV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCONV"; then + ac_cv_prog_OBJCONV="$OBJCONV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCONV="objconv" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCONV=$ac_cv_prog_OBJCONV +if test -n "$OBJCONV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCONV" >&5 +$as_echo "$OBJCONV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "x$OBJCONV" = x ; then + # Extract the first word of "objconv", so it can be a program name with args. +set dummy objconv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCONV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCONV"; then + ac_cv_prog_OBJCONV="$OBJCONV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in . +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCONV="./objconv" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCONV=$ac_cv_prog_OBJCONV +if test -n "$OBJCONV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCONV" >&5 +$as_echo "$OBJCONV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + if test "x$OBJCONV" = x ; then + as_fn_error $? "objconv not found which is required when building with apple compiler" "$LINENO" 5 + fi + TARGET_IMG_LDSCRIPT= + TARGET_IMG_CFLAGS="-static" + TARGET_IMG_LDFLAGS='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_LDFLAGS_AC='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_BASE_LDOPT="-Wl,-image_base" +else + TARGET_APPLE_CC=0 +# Use linker script if present, otherwise use builtin -N script. +if test -f "${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc"; then + TARGET_IMG_LDSCRIPT='$(top_srcdir)'"/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_LDFLAGS="-Wl,-T${TARGET_IMG_LDSCRIPT}" + TARGET_IMG_LDFLAGS_AC="-Wl,-T${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +else + TARGET_IMG_LDSCRIPT= + TARGET_IMG_LDFLAGS='-Wl,-N' + TARGET_IMG_LDFLAGS_AC='-Wl,-N' + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +fi +TARGET_IMG_CFLAGS= +fi + +# For platforms where ELF is not the default link format. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for command to convert module to ELF format" >&5 +$as_echo_n "checking for command to convert module to ELF format... " >&6; } +case "${host_os}" in + cygwin) TARGET_OBJ2ELF='$(top_builddir)/grub-pe2elf'; +# FIXME: put proper test here + NEED_REGISTER_FRAME_INFO=1 + ;; + *) NEED_REGISTER_FRAME_INFO=0 ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJ2ELF" >&5 +$as_echo "$TARGET_OBJ2ELF" >&6; } + +if test "x$target_m32" = x1; then + # Force 32-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m32" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m32" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m32" + TARGET_MODULE_FORMAT="elf32" +fi + +if test "x$target_m64" = x1; then + # Force 64-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m64" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m64" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m64" + TARGET_MODULE_FORMAT="elf64" +fi + +if test "$target_cpu"-"$platform" = x86_64-efi; then + # Use large model to support 4G memory + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mcmodel=large works" >&5 +$as_echo_n "checking whether option -mcmodel=large works... " >&6; } +if ${grub_cv_cc_mcmodel+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -m64 -mcmodel=large" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_mcmodel=yes +else + grub_cv_cc_mcmodel=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_mcmodel" >&5 +$as_echo "$grub_cv_cc_mcmodel" >&6; } + if test "x$grub_cv_cc_mcmodel" = xno; then + as_fn_error $? "-mcmodel=large not supported. Upgrade your gcc." "$LINENO" 5 + else + TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" + fi + + # EFI writes to stack below %rsp, we must not use the red zone + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mno-red-zone works" >&5 +$as_echo_n "checking whether option -mno-red-zone works... " >&6; } +if ${grub_cv_cc_no_red_zone+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -m64 -mno-red-zone" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_no_red_zone=yes +else + grub_cv_cc_no_red_zone=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_no_red_zone" >&5 +$as_echo "$grub_cv_cc_no_red_zone" >&6; } + if test "x$grub_cv_cc_no_red_zone" = xno; then + as_fn_error $? "-mno-red-zone not supported, upgrade your gcc" "$LINENO" 5 + fi + + TARGET_CFLAGS="$TARGET_CFLAGS -mno-red-zone" +fi + +# +# Compiler features. +# + +# Need __enable_execute_stack() for nested function trampolines? + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' generates calls to \`__enable_execute_stack()'" >&5 +$as_echo_n "checking whether \`$CC' generates calls to \`__enable_execute_stack()'... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +void f (int (*p) (void)); +void g (int i) +{ + int nestedfunc (void) { return i; } + f (nestedfunc); +} + +_ACEOF +if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.s; then + true +else + as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 +fi +if grep __enable_execute_stack conftest.s >/dev/null 2>&1; then + NEED_ENABLE_EXECUTE_STACK=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + NEED_ENABLE_EXECUTE_STACK=0 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f conftest* + + +# Position independent executable. + +# Position independent executable. +pie_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' has \`-fPIE' as default" >&5 +$as_echo_n "checking whether \`$CC' has \`-fPIE' as default... " >&6; } +# Is this a reliable test case? +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef __PIE__ +int main() { + return 0; +} +#else +#error NO __PIE__ DEFINED +#endif + +_ACEOF + +# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + pie_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Need that, because some distributions ship compilers that include +# `-fPIE' in the default specs. +if [ x"$pie_possible" = xyes ]; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE" +fi + +# Smashing stack protector. + +# Smashing stack protector. +ssp_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-fstack-protector'" >&5 +$as_echo_n "checking whether \`$CC' accepts \`-fstack-protector'... " >&6; } +# Is this a reliable test case? +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void foo (void) { volatile char a[8]; a[3]; } +_ACEOF +# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + ssp_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Need that, because some distributions ship compilers that include +# `-fstack-protector' in the default specs. +if test "x$ssp_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-stack-protector" +fi + +# Smashing stack arg probe. +sap_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-mstack-arg-probe'" >&5 +$as_echo_n "checking whether \`$CC' accepts \`-mstack-arg-probe'... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void foo (void) { volatile char a[8]; a[3]; } +_ACEOF +if eval "$ac_compile -S -mstack-arg-probe -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + sap_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Cygwin's GCC uses alloca() to probe the stackframe on static +# stack allocations above some threshold. +if test x"$sap_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe" +fi + +@%:@ Check whether --enable-werror was given. +if test "${enable_werror+set}" = set; then : + enableval=$enable_werror; +fi + +if test x"$enable_werror" != xno ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Werror" +fi + +TARGET_CPP="$TARGET_CC -E" +TARGET_CCAS=$TARGET_CC + + + + + + + + + + + + + + + + + + + + + + + +# Set them to their new values for the tests below. +CC="$TARGET_CC" +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100 -Wno-error" +fi +CPPFLAGS="$TARGET_CPPFLAGS" +if test x$target_cpu = xi386 || test x$target_cpu = xx86_64 ; then +LIBS= +else +LIBS=-lgcc +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C symbols get an underscore after compilation" >&5 +$as_echo_n "checking if C symbols get an underscore after compilation... " >&6; } +if ${grub_cv_asm_uscore+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <<\EOF +int func (int *); +int +func (int *list) +{ + *list = 0; + return *list; +} +EOF + +if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.s; then + true +else + as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 +fi + +if $EGREP '(^|^_[:alnum])_func' conftest.s >/dev/null 2>&1; then + HAVE_ASM_USCORE=1 + grub_cv_asm_uscore=yes +else + HAVE_ASM_USCORE=0 + grub_cv_asm_uscore=no +fi + +rm -f conftest* +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_asm_uscore" >&5 +$as_echo "$grub_cv_asm_uscore" >&6; } + +if test x$grub_cv_asm_uscore = xyes; then +CFLAGS="$CFLAGS -Wl,--defsym,_abort=_main" +else +CFLAGS="$CFLAGS -Wl,--defsym,abort=main" +fi + +# Check for libgcc symbols +for ac_func in __bswapsi2 __bswapdi2 __ashldi3 __ashrdi3 __lshrdi3 __trampoline_setup __ucmpdi2 _restgpr_14_x +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100" +fi +LIBS="" + +# Defined in aclocal.m4. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether target compiler is working" >&5 +$as_echo_n "checking whether target compiler is working... " >&6; } +if ${grub_cv_prog_target_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +asm (".globl start; start:"); +int main (void); + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_prog_target_cc=yes +else + grub_cv_prog_target_cc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_target_cc" >&5 +$as_echo "$grub_cv_prog_target_cc" >&6; } + +if test "x$grub_cv_prog_target_cc" = xno; then + as_fn_error $? "cannot compile for the target" "$LINENO" 5 +fi + +if test "x$TARGET_APPLE_CC" != x1 ; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${OBJCOPY} works for absolute addresses" >&5 +$as_echo_n "checking whether ${OBJCOPY} works for absolute addresses... " >&6; } +if ${grub_cv_prog_objcopy_absolute+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <<\EOF +void cmain (void); +void +cmain (void) +{ + *((int *) 0x1000) = 2; +} +EOF + +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest.o; then : +else + as_fn_error $? "${CC-cc} cannot compile C source code" "$LINENO" 5 +fi +grub_cv_prog_objcopy_absolute=yes +for link_addr in 0x2000 0x8000 0x7C00; do + if { ac_try='${CC-cc} ${CFLAGS} -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},$link_addr conftest.o -o conftest.exec' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + else + as_fn_error $? "${CC-cc} cannot link at address $link_addr" "$LINENO" 5 + fi + if { ac_try='${OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + else + as_fn_error $? "${OBJCOPY-objcopy} cannot create binary files" "$LINENO" 5 + fi + if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + mv -f conftest conftest.old + else + grub_cv_prog_objcopy_absolute=no + break + fi +done +rm -f conftest* +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_objcopy_absolute" >&5 +$as_echo "$grub_cv_prog_objcopy_absolute" >&6; } + +if test "x$grub_cv_prog_objcopy_absolute" = xno; then + as_fn_error $? "GRUB requires a working absolute objcopy; upgrade your binutils" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts --build-id=none" >&5 +$as_echo_n "checking whether linker accepts --build-id=none... " >&6; } +if ${grub_cv_prog_ld_build_id_none+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS -Wl,--build-id=none" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_prog_ld_build_id_none=yes +else + grub_cv_prog_ld_build_id_none=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LDFLAGS="$save_LDFLAGS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_ld_build_id_none" >&5 +$as_echo "$grub_cv_prog_ld_build_id_none" >&6; } + +if test "x$grub_cv_prog_ld_build_id_none" = xyes; then + TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=none" +fi + +if test "x$target_cpu" = xi386; then + if test "$platform" != emu && test "x$TARGET_APPLE_CC" != x1 ; then + if test ! -z "$TARGET_IMG_LDSCRIPT"; then + # Check symbols provided by linker script. + CFLAGS="$TARGET_CFLAGS -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},8000 -Wl,--defsym,___main=0x8100" + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __bss_start is defined by the compiler" >&5 +$as_echo_n "checking if __bss_start is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_uscore_bss_start_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl __bss_start") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_uscore_bss_start_symbol=yes +else + grub_cv_check_uscore_uscore_bss_start_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5 +$as_echo "$grub_cv_check_uscore_uscore_bss_start_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if edata is defined by the compiler" >&5 +$as_echo_n "checking if edata is defined by the compiler... " >&6; } +if ${grub_cv_check_edata_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl edata") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_edata_symbol=yes +else + grub_cv_check_edata_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_edata_symbol" >&5 +$as_echo "$grub_cv_check_edata_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _edata is defined by the compiler" >&5 +$as_echo_n "checking if _edata is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_edata_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl _edata") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_edata_symbol=yes +else + grub_cv_check_uscore_edata_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_edata_symbol" >&5 +$as_echo "$grub_cv_check_uscore_edata_symbol" >&6; } + +if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then + BSS_START_SYMBOL=__bss_start +elif test "x$grub_cv_check_edata_symbol" = xyes; then + BSS_START_SYMBOL=edata +elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then + BSS_START_SYMBOL=_edata +else + as_fn_error $? "none of __bss_start, edata or _edata is defined" "$LINENO" 5 +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if end is defined by the compiler" >&5 +$as_echo_n "checking if end is defined by the compiler... " >&6; } +if ${grub_cv_check_end_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl end") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_end_symbol=yes +else + grub_cv_check_end_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_end_symbol" >&5 +$as_echo "$grub_cv_check_end_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _end is defined by the compiler" >&5 +$as_echo_n "checking if _end is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_end_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl _end") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_end_symbol=yes +else + grub_cv_check_uscore_end_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_end_symbol" >&5 +$as_echo "$grub_cv_check_uscore_end_symbol" >&6; } + +if test "x$grub_cv_check_end_symbol" = xyes; then + END_SYMBOL=end +elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then + END_SYMBOL=_end +else + as_fn_error $? "neither end nor _end is defined" "$LINENO" 5 +fi + + fi + CFLAGS="$TARGET_CFLAGS" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether addr32 must be in the same line as the instruction" >&5 +$as_echo_n "checking whether addr32 must be in the same line as the instruction... " >&6; } +if ${grub_cv_i386_asm_prefix_requirement+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.s <<\EOF + .code16 +l1: addr32 movb %al, l1 +EOF + +if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.o; then + grub_cv_i386_asm_prefix_requirement=yes +else + grub_cv_i386_asm_prefix_requirement=no +fi + +rm -f conftest* +fi + + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + grub_tmp_addr32="addr32" + grub_tmp_data32="data32" +else + grub_tmp_addr32="addr32;" + grub_tmp_data32="data32;" +fi + +ADDR32=$grub_tmp_addr32 +DATA32=$grub_tmp_data32 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_i386_asm_prefix_requirement" >&5 +$as_echo "$grub_cv_i386_asm_prefix_requirement" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .code16 addr32 assembler support" >&5 +$as_echo_n "checking for .code16 addr32 assembler support... " >&6; } +if ${grub_cv_i386_asm_addr32+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.s.in <<\EOF + .code16 +l1: @ADDR32@ movb %al, l1 +EOF + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + sed -e s/@ADDR32@/addr32/ < conftest.s.in > conftest.s +else + sed -e s/@ADDR32@/addr32\;/ < conftest.s.in > conftest.s +fi + +if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.o; then + grub_cv_i386_asm_addr32=yes +else + grub_cv_i386_asm_addr32=no +fi + +rm -f conftest* +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_i386_asm_addr32" >&5 +$as_echo "$grub_cv_i386_asm_addr32" >&6; } +fi + +@%:@ Check whether --enable-efiemu was given. +if test "${enable_efiemu+set}" = set; then : + enableval=$enable_efiemu; +fi + +if test x"$enable_efiemu" = xno ; then + efiemu_excuse="explicitly disabled" +fi +if test x"$target_cpu" != xi386 ; then + efiemu_excuse="only available on i386" +fi +if test x"$platform" = xefi ; then + efiemu_excuse="not available on efi" +fi +if test x"$efiemu_excuse" = x ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether options required for efiemu work" >&5 +$as_echo_n "checking whether options required for efiemu work... " >&6; } +if ${grub_cv_cc_efiemu+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_efiemu=yes +else + grub_cv_cc_efiemu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_efiemu" >&5 +$as_echo "$grub_cv_cc_efiemu" >&6; } + if test x$grub_cv_cc_efiemu = xno; then + efiemu_excuse="cannot compile with -m64 -mcmodel=large -mno-red-zone -nostdlib" + fi +fi +if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then + as_fn_error $? "efiemu runtime was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$efiemu_excuse" = x ; then +enable_efiemu=yes +else +enable_efiemu=no +fi + + +if test "$platform" != emu; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -nostdinc -isystem works" >&5 +$as_echo_n "checking whether -nostdinc -isystem works... " >&6; } +if ${grub_cv_cc_isystem+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int va_arg_func (int fixed, va_list args); +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_isystem=yes +else + grub_cv_cc_isystem=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$SAVED_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_isystem" >&5 +$as_echo "$grub_cv_cc_isystem" >&6; } + +if test x"$grub_cv_cc_isystem" = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" +fi +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-trampolines work" >&5 +$as_echo_n "checking whether -Wno-trampolines work... " >&6; } +if ${grub_cv_cc_wnotrampolines+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CFLAGS="$CFLAGS" + # Test for -Wtrampolines rather than -Wno-trampolines to reduce confusion + # in the event of later failures (since -Wno-* is always accepted, but + # produces a diagnostic if something else is wrong). + CFLAGS="$TARGET_CFLAGS -Wtrampolines" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int va_arg_func (int fixed, va_list args); +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_wnotrampolines=yes +else + grub_cv_cc_wnotrampolines=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVED_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_wnotrampolines" >&5 +$as_echo "$grub_cv_cc_wnotrampolines" >&6; } + +if test x"$grub_cv_cc_wnotrampolines" = xyes ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Wno-trampolines" +fi + +# Restore the flags. +CC="$tmp_CC" +CFLAGS="$tmp_CFLAGS" +CPPFLAGS="$tmp_CPPFLAGS" +LDFLAGS="$tmp_LDFLAGS" +LIBS="$tmp_LIBS" + +# +# Check for options. +# + +# Memory manager debugging. +@%:@ Check whether --enable-mm-debug was given. +if test "${enable_mm_debug+set}" = set; then : + enableval=$enable_mm_debug; +$as_echo "@%:@define MM_DEBUG 1" >>confdefs.h + +fi + + +@%:@ Check whether --enable-grub-emu-usb was given. +if test "${enable_grub_emu_usb+set}" = set; then : + enableval=$enable_grub_emu_usb; +fi + + +@%:@ Check whether --enable-grub-emu-sdl was given. +if test "${enable_grub_emu_sdl+set}" = set; then : + enableval=$enable_grub_emu_sdl; +fi + + +@%:@ Check whether --enable-grub-emu-pci was given. +if test "${enable_grub_emu_pci+set}" = set; then : + enableval=$enable_grub_emu_pci; +fi + + +if test "$platform" = emu; then + missing_ncurses= +# Check for curses libraries. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5 +$as_echo_n "checking for wgetch in -lncurses... " >&6; } +if ${ac_cv_lib_ncurses_wgetch+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char wgetch (); +int +main (void) +{ +return wgetch (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncurses_wgetch=yes +else + ac_cv_lib_ncurses_wgetch=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5 +$as_echo "$ac_cv_lib_ncurses_wgetch" >&6; } +if test "x$ac_cv_lib_ncurses_wgetch" = xyes; then : + LIBCURSES="-lncurses" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lcurses" >&5 +$as_echo_n "checking for wgetch in -lcurses... " >&6; } +if ${ac_cv_lib_curses_wgetch+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char wgetch (); +int +main (void) +{ +return wgetch (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_curses_wgetch=yes +else + ac_cv_lib_curses_wgetch=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_wgetch" >&5 +$as_echo "$ac_cv_lib_curses_wgetch" >&6; } +if test "x$ac_cv_lib_curses_wgetch" = xyes; then : + LIBCURSES="-lcurses" +else + missing_ncurses=true +fi + +fi + + +if [ x"$missing_ncurses" = x ]; then + # Check for headers. + for ac_header in ncurses/curses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_curses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_NCURSES_CURSES_H 1 +_ACEOF + +else + for ac_header in ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_NCURSES_H 1 +_ACEOF + +else + for ac_header in curses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" +if test "x$ac_cv_header_curses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_CURSES_H 1 +_ACEOF + +else + missing_ncurses=true +fi + +done + +fi + +done + +fi + +done + +fi +if test x"$missing_ncurses" = xtrue ; then + as_fn_error $? "grub-emu can't be compiled without ncurses" "$LINENO" 5 +fi + +if test x"$enable_grub_emu_usb" != xyes ; then + grub_emu_usb_excuse="not enabled" +fi + +if test x"$enable_grub_emu_pci" = xyes ; then + grub_emu_usb_excuse="conflicts with PCI support" +fi + +if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for libusb libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_claim_interface in -lusb" >&5 +$as_echo_n "checking for usb_claim_interface in -lusb... " >&6; } +if ${ac_cv_lib_usb_usb_claim_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lusb $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char usb_claim_interface (); +int +main (void) +{ +return usb_claim_interface (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_usb_usb_claim_interface=yes +else + ac_cv_lib_usb_usb_claim_interface=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_claim_interface" >&5 +$as_echo "$ac_cv_lib_usb_usb_claim_interface" >&6; } +if test "x$ac_cv_lib_usb_usb_claim_interface" = xyes; then : + LIBUSB="-lusb" +else + grub_emu_usb_excuse="need libusb library" +fi + + +fi +if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for headers. + for ac_header in usb.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default" +if test "x$ac_cv_header_usb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_USB_H 1 +_ACEOF + +else + grub_emu_usb_excuse="need libusb headers" +fi + +done + +fi +if test x"$enable_grub_emu_usb" = xyes && test x"$grub_emu_usb_excuse" != x ; then + as_fn_error $? "USB support for grub-emu was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_emu_usb_excuse" = x ; then +enable_grub_emu_usb=yes +else +enable_grub_emu_usb=no +fi + +if test x"$enable_grub_emu_sdl" = xno ; then + grub_emu_sdl_excuse="explicitely disabled" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for libSDL libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL" >&5 +$as_echo_n "checking for SDL_Init in -lSDL... " >&6; } +if ${ac_cv_lib_SDL_SDL_Init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lSDL $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char SDL_Init (); +int +main (void) +{ +return SDL_Init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_SDL_SDL_Init=yes +else + ac_cv_lib_SDL_SDL_Init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_SDL_Init" >&5 +$as_echo "$ac_cv_lib_SDL_SDL_Init" >&6; } +if test "x$ac_cv_lib_SDL_SDL_Init" = xyes; then : + LIBSDL="-lSDL" +else + grub_emu_sdl_excuse="libSDL libraries are required to build \`grub-emu' with SDL support" +fi + + +fi + +if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for headers. + for ac_header in SDL/SDL.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default" +if test "x$ac_cv_header_SDL_SDL_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_SDL_SDL_H 1 +_ACEOF + +else + grub_emu_sdl_excuse="libSDL header file is required to build \`grub-emu' with SDL support" +fi + +done + +fi + +if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; then + as_fn_error $? "SDL support for grub-emu was explicitely requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_emu_sdl_excuse" = x ; then +enable_grub_emu_sdl=yes +else +enable_grub_emu_sdl=no +fi + +if test x"$enable_grub_emu_pci" != xyes ; then + grub_emu_pci_excuse="not enabled" +fi + +if test x"$enable_grub_emu_usb" = xyes ; then + grub_emu_pci_excuse="conflicts with USB support" +fi + +if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for libpci libraries. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_system_init in -lpciaccess" >&5 +$as_echo_n "checking for pci_system_init in -lpciaccess... " >&6; } +if ${ac_cv_lib_pciaccess_pci_system_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpciaccess $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char pci_system_init (); +int +main (void) +{ +return pci_system_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pciaccess_pci_system_init=yes +else + ac_cv_lib_pciaccess_pci_system_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pciaccess_pci_system_init" >&5 +$as_echo "$ac_cv_lib_pciaccess_pci_system_init" >&6; } +if test "x$ac_cv_lib_pciaccess_pci_system_init" = xyes; then : + LIBPCIACCESS="-lpciaccess" +else + grub_emu_pci_excuse="need libpciaccess library" +fi + + +fi +if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for headers. + for ac_header in pci/pci.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default" +if test "x$ac_cv_header_pci_pci_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_PCI_PCI_H 1 +_ACEOF + +else + grub_emu_pci_excuse="need libpciaccess headers" +fi + +done + +fi + +if test x"$grub_emu_pci_excuse" = x ; then +enable_grub_emu_pci=yes +else + +enable_grub_emu_pci=no +fi + + + + +fi + +@%:@ Check whether --enable-grub-mkfont was given. +if test "${enable_grub_mkfont+set}" = set; then : + enableval=$enable_grub_mkfont; +fi + +if test x"$enable_grub_mkfont" = xno ; then + grub_mkfont_excuse="explicitly disabled" +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + for ac_prog in freetype-config +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_FREETYPE+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$FREETYPE"; then + ac_cv_prog_FREETYPE="$FREETYPE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_FREETYPE="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +FREETYPE=$ac_cv_prog_FREETYPE +if test -n "$FREETYPE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE" >&5 +$as_echo "$FREETYPE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$FREETYPE" && break +done + + if test "x$FREETYPE" = x ; then + grub_mkfont_excuse="need freetype2 library" + fi +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + freetype_cflags=`freetype-config --cflags` + freetype_libs=`freetype-config --libs` + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $freetype_cflags" + for ac_header in ft2build.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default" +if test "x$ac_cv_header_ft2build_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_FT2BUILD_H 1 +_ACEOF + +else + grub_mkfont_excuse="need freetype2 headers" +fi + +done + + CPPFLAGS="$SAVED_CPPFLAGS" +fi + +if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then + as_fn_error $? "grub-mkfont was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_mkfont_excuse" = x ; then +enable_grub_mkfont=yes +else +enable_grub_mkfont=no +fi + + + + +@%:@ Check whether --enable-device-mapper was given. +if test "${enable_device_mapper+set}" = set; then : + enableval=$enable_device_mapper; +fi + +if test x"$enable_device_mapper" = xno ; then + device_mapper_excuse="explicitly disabled" +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper header. + ac_fn_c_check_header_mongrel "$LINENO" "libdevmapper.h" "ac_cv_header_libdevmapper_h" "$ac_includes_default" +if test "x$ac_cv_header_libdevmapper_h" = xyes; then : + +else + device_mapper_excuse="need libdevmapper header" +fi + + +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_task_create in -ldevmapper" >&5 +$as_echo_n "checking for dm_task_create in -ldevmapper... " >&6; } +if ${ac_cv_lib_devmapper_dm_task_create+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldevmapper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dm_task_create (); +int +main (void) +{ +return dm_task_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_devmapper_dm_task_create=yes +else + ac_cv_lib_devmapper_dm_task_create=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_task_create" >&5 +$as_echo "$ac_cv_lib_devmapper_dm_task_create" >&6; } +if test "x$ac_cv_lib_devmapper_dm_task_create" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBDEVMAPPER 1 +_ACEOF + + LIBS="-ldevmapper $LIBS" + +else + device_mapper_excuse="need devmapper library" +fi + +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_log_with_errno_init in -ldevmapper" >&5 +$as_echo_n "checking for dm_log_with_errno_init in -ldevmapper... " >&6; } +if ${ac_cv_lib_devmapper_dm_log_with_errno_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldevmapper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dm_log_with_errno_init (); +int +main (void) +{ +return dm_log_with_errno_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_devmapper_dm_log_with_errno_init=yes +else + ac_cv_lib_devmapper_dm_log_with_errno_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_log_with_errno_init" >&5 +$as_echo "$ac_cv_lib_devmapper_dm_log_with_errno_init" >&6; } +if test "x$ac_cv_lib_devmapper_dm_log_with_errno_init" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBDEVMAPPER 1 +_ACEOF + + LIBS="-ldevmapper $LIBS" + +else + device_mapper_excuse="need devmapper library" +fi + +fi + +if test x"$device_mapper_excuse" = x ; then + LIBDEVMAPPER="-ldevmapper"; + +$as_echo "@%:@define HAVE_DEVICE_MAPPER 1" >>confdefs.h + +fi + + + +LIBGEOM= +if test x$host_kernel = xkfreebsd; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geom_gettree in -lgeom" >&5 +$as_echo_n "checking for geom_gettree in -lgeom... " >&6; } +if ${ac_cv_lib_geom_geom_gettree+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgeom $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char geom_gettree (); +int +main (void) +{ +return geom_gettree (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_geom_geom_gettree=yes +else + ac_cv_lib_geom_geom_gettree=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_geom_geom_gettree" >&5 +$as_echo "$ac_cv_lib_geom_geom_gettree" >&6; } +if test "x$ac_cv_lib_geom_geom_gettree" = xyes; then : + cat >>confdefs.h <<_ACEOF +@%:@define HAVE_LIBGEOM 1 +_ACEOF + + LIBS="-lgeom $LIBS" + +else + as_fn_error $? "Your platform requires libgeom" "$LINENO" 5 +fi + + LIBGEOM="-lgeom" +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 +$as_echo_n "checking for lzma_code in -llzma... " >&6; } +if ${ac_cv_lib_lzma_lzma_code+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-llzma $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char lzma_code (); +int +main (void) +{ +return lzma_code (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_lzma_lzma_code=yes +else + ac_cv_lib_lzma_lzma_code=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 +$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } +if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : + LIBLZMA="-llzma" + +$as_echo "@%:@define HAVE_LIBLZMA 1" >>confdefs.h + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzfs_init in -lzfs" >&5 +$as_echo_n "checking for libzfs_init in -lzfs... " >&6; } +if ${ac_cv_lib_zfs_libzfs_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lzfs $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char libzfs_init (); +int +main (void) +{ +return libzfs_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_zfs_libzfs_init=yes +else + ac_cv_lib_zfs_libzfs_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zfs_libzfs_init" >&5 +$as_echo "$ac_cv_lib_zfs_libzfs_init" >&6; } +if test "x$ac_cv_lib_zfs_libzfs_init" = xyes; then : + LIBZFS="-lzfs" + +$as_echo "@%:@define HAVE_LIBZFS 1" >>confdefs.h + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nvlist_print in -lnvpair" >&5 +$as_echo_n "checking for nvlist_print in -lnvpair... " >&6; } +if ${ac_cv_lib_nvpair_nvlist_print+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnvpair $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char nvlist_print (); +int +main (void) +{ +return nvlist_print (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nvpair_nvlist_print=yes +else + ac_cv_lib_nvpair_nvlist_print=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nvpair_nvlist_print" >&5 +$as_echo "$ac_cv_lib_nvpair_nvlist_print" >&6; } +if test "x$ac_cv_lib_nvpair_nvlist_print" = xyes; then : + LIBNVPAIR="-lnvpair" + +$as_echo "@%:@define HAVE_LIBNVPAIR 1" >>confdefs.h + +fi + + + +LIBS="" + +pkglibrootdir='$(libdir)'/`echo $PACKAGE | sed "$program_transform_name"` + + + +if test x$target_cpu = xi386 -a x$platform = xqemu; then : + GRUB_BOOT_MACHINE_LINK_ADDR=0xffe00 + +fi +if test x$TARGET_APPLE_CC = x1; then : + USE_APPLE_CC_FIXES=yes + +fi + + + + + + + + + + + +# +# Automake conditionals +# + + if test x$platform = xemu; then + COND_emu_TRUE= + COND_emu_FALSE='#' +else + COND_emu_TRUE='#' + COND_emu_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xpc; then + COND_i386_pc_TRUE= + COND_i386_pc_FALSE='#' +else + COND_i386_pc_TRUE='#' + COND_i386_pc_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xefi; then + COND_i386_efi_TRUE= + COND_i386_efi_FALSE='#' +else + COND_i386_efi_TRUE='#' + COND_i386_efi_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xqemu; then + COND_i386_qemu_TRUE= + COND_i386_qemu_FALSE='#' +else + COND_i386_qemu_TRUE='#' + COND_i386_qemu_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xieee1275; then + COND_i386_ieee1275_TRUE= + COND_i386_ieee1275_FALSE='#' +else + COND_i386_ieee1275_TRUE='#' + COND_i386_ieee1275_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xcoreboot; then + COND_i386_coreboot_TRUE= + COND_i386_coreboot_FALSE='#' +else + COND_i386_coreboot_TRUE='#' + COND_i386_coreboot_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xmultiboot; then + COND_i386_multiboot_TRUE= + COND_i386_multiboot_FALSE='#' +else + COND_i386_multiboot_TRUE='#' + COND_i386_multiboot_FALSE= +fi + + if test x$target_cpu = xx86_64 -a x$platform = xefi; then + COND_x86_64_efi_TRUE= + COND_x86_64_efi_FALSE='#' +else + COND_x86_64_efi_TRUE='#' + COND_x86_64_efi_FALSE= +fi + + if test x$target_cpu = xmips -a x$platform = xyeeloong; then + COND_mips_yeeloong_TRUE= + COND_mips_yeeloong_FALSE='#' +else + COND_mips_yeeloong_TRUE='#' + COND_mips_yeeloong_FALSE= +fi + + if test x$target_cpu = xmips -a x$platform = xqemu_mips; then + COND_mips_qemu_mips_TRUE= + COND_mips_qemu_mips_FALSE='#' +else + COND_mips_qemu_mips_TRUE='#' + COND_mips_qemu_mips_FALSE= +fi + + if test x$target_cpu = xsparc64 -a x$platform = xieee1275; then + COND_sparc64_ieee1275_TRUE= + COND_sparc64_ieee1275_FALSE='#' +else + COND_sparc64_ieee1275_TRUE='#' + COND_sparc64_ieee1275_FALSE= +fi + + if test x$target_cpu = xpowerpc -a x$platform = xieee1275; then + COND_powerpc_ieee1275_TRUE= + COND_powerpc_ieee1275_FALSE='#' +else + COND_powerpc_ieee1275_TRUE='#' + COND_powerpc_ieee1275_FALSE= +fi + + if test x$target_cpu = xmips; then + COND_mips_TRUE= + COND_mips_FALSE='#' +else + COND_mips_TRUE='#' + COND_mips_FALSE= +fi + + + if test x$host_kernel = xhurd; then + COND_HOST_HURD_TRUE= + COND_HOST_HURD_FALSE='#' +else + COND_HOST_HURD_TRUE='#' + COND_HOST_HURD_FALSE= +fi + + if test x$host_kernel = xlinux; then + COND_HOST_LINUX_TRUE= + COND_HOST_LINUX_FALSE='#' +else + COND_HOST_LINUX_TRUE='#' + COND_HOST_LINUX_FALSE= +fi + + if test x$host_kernel = xnetbsd; then + COND_HOST_NETBSD_TRUE= + COND_HOST_NETBSD_FALSE='#' +else + COND_HOST_NETBSD_TRUE='#' + COND_HOST_NETBSD_FALSE= +fi + + if test x$host_kernel = xwindows; then + COND_HOST_WINDOWS_TRUE= + COND_HOST_WINDOWS_FALSE='#' +else + COND_HOST_WINDOWS_TRUE='#' + COND_HOST_WINDOWS_FALSE= +fi + + if test x$host_kernel = xkfreebsd; then + COND_HOST_KFREEBSD_TRUE= + COND_HOST_KFREEBSD_FALSE='#' +else + COND_HOST_KFREEBSD_TRUE='#' + COND_HOST_KFREEBSD_FALSE= +fi + + + if test x$cross_compiling = xno -a x$HELP2MAN != x; then + COND_MAN_PAGES_TRUE= + COND_MAN_PAGES_FALSE='#' +else + COND_MAN_PAGES_TRUE='#' + COND_MAN_PAGES_FALSE= +fi + + if test x$enable_grub_emu_usb = xyes; then + COND_GRUB_EMU_USB_TRUE= + COND_GRUB_EMU_USB_FALSE='#' +else + COND_GRUB_EMU_USB_TRUE='#' + COND_GRUB_EMU_USB_FALSE= +fi + + if test x$enable_grub_emu_sdl = xyes; then + COND_GRUB_EMU_SDL_TRUE= + COND_GRUB_EMU_SDL_FALSE='#' +else + COND_GRUB_EMU_SDL_TRUE='#' + COND_GRUB_EMU_SDL_FALSE= +fi + + if test x$enable_grub_emu_pci = xyes; then + COND_GRUB_EMU_PCI_TRUE= + COND_GRUB_EMU_PCI_FALSE='#' +else + COND_GRUB_EMU_PCI_TRUE='#' + COND_GRUB_EMU_PCI_FALSE= +fi + + if test x$enable_grub_mkfont = xyes; then + COND_GRUB_MKFONT_TRUE= + COND_GRUB_MKFONT_FALSE='#' +else + COND_GRUB_MKFONT_TRUE='#' + COND_GRUB_MKFONT_FALSE= +fi + + if test x$FONT_SOURCE != x; then + COND_HAVE_FONT_SOURCE_TRUE= + COND_HAVE_FONT_SOURCE_FALSE='#' +else + COND_HAVE_FONT_SOURCE_TRUE='#' + COND_HAVE_FONT_SOURCE_FALSE= +fi + + if test x$TARGET_OBJ2ELF != x; then + COND_GRUB_PE2ELF_TRUE= + COND_GRUB_PE2ELF_FALSE='#' +else + COND_GRUB_PE2ELF_TRUE='#' + COND_GRUB_PE2ELF_FALSE= +fi + + if test x$TARGET_APPLE_CC = x1; then + COND_APPLE_CC_TRUE= + COND_APPLE_CC_FALSE='#' +else + COND_APPLE_CC_TRUE='#' + COND_APPLE_CC_FALSE= +fi + + if test x$enable_efiemu = xyes; then + COND_ENABLE_EFIEMU_TRUE= + COND_ENABLE_EFIEMU_FALSE='#' +else + COND_ENABLE_EFIEMU_TRUE='#' + COND_ENABLE_EFIEMU_FALSE= +fi + + + if test x$HAVE_ASM_USCORE = x1; then + COND_HAVE_ASM_USCORE_TRUE= + COND_HAVE_ASM_USCORE_FALSE='#' +else + COND_HAVE_ASM_USCORE_TRUE='#' + COND_HAVE_ASM_USCORE_FALSE= +fi + + if test x$host_os = xcygwin; then + COND_CYGWIN_TRUE= + COND_CYGWIN_FALSE='#' +else + COND_CYGWIN_TRUE='#' + COND_CYGWIN_FALSE= +fi + + +# Output files. + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln can handle directories properly" >&5 +$as_echo_n "checking whether ln can handle directories properly... " >&6; } +mkdir testdir 2>/dev/null +case $srcdir in +[\\/$]* | ?:[\\/]* ) reldir=$srcdir/include/grub/util ;; + *) reldir=../$srcdir/include/grub/util ;; +esac +if ln -s $reldir testdir/util 2>/dev/null ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + link_dir=yes +else + link_dir=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -rf testdir + +if test x"$link_dir" = xyes ; then + ac_config_links="$ac_config_links include/grub/cpu:include/grub/$target_cpu" + + if test "$platform" != emu ; then + ac_config_links="$ac_config_links include/grub/machine:include/grub/$target_cpu/$platform" + + fi +else + mkdir -p include/grub 2>/dev/null + rm -rf include/grub/cpu + cp -rp $srcdir/include/grub/$target_cpu include/grub/cpu 2>/dev/null + if test "$platform" != emu ; then + rm -rf include/grub/machine + cp -rp $srcdir/include/grub/$target_cpu/$platform include/grub/machine 2>/dev/null + fi +fi + +ac_config_files="$ac_config_files Makefile" + +ac_config_files="$ac_config_files grub-core/Makefile" + +ac_config_files="$ac_config_files grub-core/gnulib/Makefile" + +ac_config_files="$ac_config_files po/Makefile.in" + +ac_config_files="$ac_config_files docs/Makefile" + +ac_config_files="$ac_config_files util/bash-completion.d/Makefile" + +ac_config_files="$ac_config_files stamp-h" + +ac_config_files="$ac_config_files config.h" + + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIB@&t@OBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + gl_libobjs= + gl_ltlibobjs= + if test -n "$gl_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gl_libobjs="$gl_libobjs $i.$ac_objext" + gl_ltlibobjs="$gl_ltlibobjs $i.lo" + done + fi + gl_LIBOBJS=$gl_libobjs + + gl_LTLIBOBJS=$gl_ltlibobjs + + + + gltests_libobjs= + gltests_ltlibobjs= + if test -n "$gltests_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gltests_libobjs="$gltests_libobjs $i.$ac_objext" + gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" + done + fi + gltests_LIBOBJS=$gltests_libobjs + + gltests_LTLIBOBJS=$gltests_ltlibobjs + + +if test -z "${COND_emu_TRUE}" && test -z "${COND_emu_FALSE}"; then + as_fn_error $? "conditional \"COND_emu\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_pc_TRUE}" && test -z "${COND_i386_pc_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_pc\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_efi_TRUE}" && test -z "${COND_i386_efi_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_efi\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_qemu_TRUE}" && test -z "${COND_i386_qemu_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_qemu\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_ieee1275_TRUE}" && test -z "${COND_i386_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_coreboot_TRUE}" && test -z "${COND_i386_coreboot_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_coreboot\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_multiboot_TRUE}" && test -z "${COND_i386_multiboot_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_multiboot\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_x86_64_efi_TRUE}" && test -z "${COND_x86_64_efi_FALSE}"; then + as_fn_error $? "conditional \"COND_x86_64_efi\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_yeeloong_TRUE}" && test -z "${COND_mips_yeeloong_FALSE}"; then + as_fn_error $? "conditional \"COND_mips_yeeloong\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_qemu_mips_TRUE}" && test -z "${COND_mips_qemu_mips_FALSE}"; then + as_fn_error $? "conditional \"COND_mips_qemu_mips\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_sparc64_ieee1275_TRUE}" && test -z "${COND_sparc64_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_sparc64_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_powerpc_ieee1275_TRUE}" && test -z "${COND_powerpc_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_powerpc_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_TRUE}" && test -z "${COND_mips_FALSE}"; then + as_fn_error $? "conditional \"COND_mips\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_HURD_TRUE}" && test -z "${COND_HOST_HURD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_HURD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_LINUX_TRUE}" && test -z "${COND_HOST_LINUX_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_LINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_NETBSD_TRUE}" && test -z "${COND_HOST_NETBSD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_NETBSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_WINDOWS_TRUE}" && test -z "${COND_HOST_WINDOWS_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_WINDOWS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_KFREEBSD_TRUE}" && test -z "${COND_HOST_KFREEBSD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_KFREEBSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then + as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_USB_TRUE}" && test -z "${COND_GRUB_EMU_USB_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_USB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_SDL_TRUE}" && test -z "${COND_GRUB_EMU_SDL_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_SDL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_PCI_TRUE}" && test -z "${COND_GRUB_EMU_PCI_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_PCI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_MKFONT_TRUE}" && test -z "${COND_GRUB_MKFONT_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_MKFONT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HAVE_FONT_SOURCE_TRUE}" && test -z "${COND_HAVE_FONT_SOURCE_FALSE}"; then + as_fn_error $? "conditional \"COND_HAVE_FONT_SOURCE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_PE2ELF_TRUE}" && test -z "${COND_GRUB_PE2ELF_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_PE2ELF\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_APPLE_CC_TRUE}" && test -z "${COND_APPLE_CC_FALSE}"; then + as_fn_error $? "conditional \"COND_APPLE_CC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_ENABLE_EFIEMU_TRUE}" && test -z "${COND_ENABLE_EFIEMU_FALSE}"; then + as_fn_error $? "conditional \"COND_ENABLE_EFIEMU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HAVE_ASM_USCORE_TRUE}" && test -z "${COND_HAVE_ASM_USCORE_FALSE}"; then + as_fn_error $? "conditional \"COND_HAVE_ASM_USCORE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_CYGWIN_TRUE}" && test -z "${COND_CYGWIN_FALSE}"; then + as_fn_error $? "conditional \"COND_CYGWIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in @%:@( + *posix*) : + set -o posix ;; @%:@( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in @%:@( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in @%:@(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] +@%:@ ---------------------------------------- +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the +@%:@ script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} @%:@ as_fn_error + + +@%:@ as_fn_set_status STATUS +@%:@ ----------------------- +@%:@ Set @S|@? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} @%:@ as_fn_set_status + +@%:@ as_fn_exit STATUS +@%:@ ----------------- +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} @%:@ as_fn_exit + +@%:@ as_fn_unset VAR +@%:@ --------------- +@%:@ Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +@%:@ as_fn_append VAR VALUE +@%:@ ---------------------- +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take +@%:@ advantage of any shell optimizations that allow amortized linear growth over +@%:@ repeated appends, instead of the typical quadratic growth present in naive +@%:@ implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +@%:@ as_fn_arith ARG... +@%:@ ------------------ +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments +@%:@ must be portable across @S|@(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in @%:@((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +@%:@ as_fn_mkdir_p +@%:@ ------------- +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} @%:@ as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in @%:@( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by GRUB $as_me 1.99, which was +generated by GNU Autoconf 2.68. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_links="$ac_config_links" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +GRUB config.status 1.99 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX +@%:@@%:@ Running $as_me. @%:@@%:@ +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake < 1.5. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config-util.h") CONFIG_HEADERS="$CONFIG_HEADERS config-util.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; + "include/grub/cpu") CONFIG_LINKS="$CONFIG_LINKS include/grub/cpu:include/grub/$target_cpu" ;; + "include/grub/machine") CONFIG_LINKS="$CONFIG_LINKS include/grub/machine:include/grub/$target_cpu/$platform" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "grub-core/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/Makefile" ;; + "grub-core/gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/gnulib/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "util/bash-completion.d/Makefile") CONFIG_FILES="$CONFIG_FILES util/bash-completion.d/Makefile" ;; + "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;; + "config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + :L) + # + # CONFIG_LINK + # + + if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then + : + else + # Prefer the file from the source tree if names are identical. + if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then + ac_source=$srcdir/$ac_source + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 +$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} + + if test ! -r "$ac_source"; then + as_fn_error $? "$ac_source: file not found" "$LINENO" 5 + fi + rm -f "$ac_file" + + # Try a relative symlink, then a hard link, then a copy. + case $ac_source in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; + *) ac_rel_source=$ac_top_build_prefix$ac_source ;; + esac + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || + ln "$ac_source" "$ac_file" 2>/dev/null || + cp -p "$ac_source" "$ac_file" || + as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 + fi + ;; + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "po-directories":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + # Treat a directory as a PO directory if and only if it has a + # POTFILES.in file. This allows packages to have multiple PO + # directories under different names or in different locations. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + "stamp-h":F) echo timestamp > stamp-h ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +echo "*******************************************************" +echo GRUB2 will be compiled with following components: +echo Platform: "$target_cpu"-"$platform" +if [ x"$platform" = xemu ]; then +if [ x"$grub_emu_usb_excuse" = x ]; then +echo USB support for grub-emu: Yes +else +echo USB support for grub-emu: No "($grub_emu_usb_excuse)" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then +echo SDL support for grub-emu: Yes +else +echo SDL support for grub-emu: No "($grub_emu_sdl_excuse)" +fi +if [ x"$grub_emu_pci_excuse" = x ]; then +echo PCI support for grub-emu: Yes +else +echo PCI support for grub-emu: No "($grub_emu_pci_excuse)" +fi +fi +if test x"$device_mapper_excuse" = x ; then +echo With devmapper support: Yes +else +echo With devmapper support: No "($device_mapper_excuse)" +fi +if [ x"$enable_mm_debug" = xyes ]; then +echo With memory debugging: Yes +else +echo With memory debugging: No +fi +if [ x"$efiemu_excuse" = x ]; then +echo efiemu runtime: Yes +else +echo efiemu runtime: No "($efiemu_excuse)" +fi +if [ x"$grub_mkfont_excuse" = x ]; then +echo grub-mkfont: Yes +else +echo grub-mkfont: No "($grub_mkfont_excuse)" +fi +echo "*******************************************************" + diff --git a/autom4te.cache/requests b/autom4te.cache/requests new file mode 100644 index 0000000..c62c222 --- /dev/null +++ b/autom4te.cache/requests @@ -0,0 +1,573 @@ +# This file was generated by Autom4te Sat Apr 9 10:01:39 PDT 2011. +# It contains the lists of macros which have been traced. +# It can be safely removed. + +@request = ( + bless( [ + '0', + 1, + [ + '/usr/share/autoconf' + ], + [ + '/usr/share/autoconf/autoconf/autoconf.m4f', + '/usr/share/aclocal/lt~obsolete.m4', + '/usr/share/aclocal-1.11/amversion.m4', + '/usr/share/aclocal-1.11/as.m4', + '/usr/share/aclocal-1.11/auxdir.m4', + '/usr/share/aclocal-1.11/cond.m4', + '/usr/share/aclocal-1.11/depend.m4', + '/usr/share/aclocal-1.11/depout.m4', + '/usr/share/aclocal-1.11/init.m4', + '/usr/share/aclocal-1.11/install-sh.m4', + '/usr/share/aclocal-1.11/lead-dot.m4', + '/usr/share/aclocal-1.11/make.m4', + '/usr/share/aclocal-1.11/minuso.m4', + '/usr/share/aclocal-1.11/missing.m4', + '/usr/share/aclocal-1.11/mkdirp.m4', + '/usr/share/aclocal-1.11/options.m4', + '/usr/share/aclocal-1.11/runlog.m4', + '/usr/share/aclocal-1.11/sanity.m4', + '/usr/share/aclocal-1.11/silent.m4', + '/usr/share/aclocal-1.11/strip.m4', + '/usr/share/aclocal-1.11/substnot.m4', + '/usr/share/aclocal-1.11/tar.m4', + 'm4/00gnulib.m4', + 'm4/alloca.m4', + 'm4/argp.m4', + 'm4/asm-underscore.m4', + 'm4/btowc.m4', + 'm4/codeset.m4', + 'm4/dirname.m4', + 'm4/dos.m4', + 'm4/double-slash-root.m4', + 'm4/errno_h.m4', + 'm4/error.m4', + 'm4/extensions.m4', + 'm4/fcntl-o.m4', + 'm4/float_h.m4', + 'm4/fnmatch.m4', + 'm4/getdelim.m4', + 'm4/getline.m4', + 'm4/getopt.m4', + 'm4/gettext.m4', + 'm4/glibc2.m4', + 'm4/glibc21.m4', + 'm4/gnulib-common.m4', + 'm4/gnulib-comp.m4', + 'm4/iconv.m4', + 'm4/include_next.m4', + 'm4/intdiv0.m4', + 'm4/intl.m4', + 'm4/intlmacosx.m4', + 'm4/intmax.m4', + 'm4/intmax_t.m4', + 'm4/inttypes-pri.m4', + 'm4/inttypes_h.m4', + 'm4/langinfo_h.m4', + 'm4/lcmessage.m4', + 'm4/lib-ld.m4', + 'm4/lib-link.m4', + 'm4/lib-prefix.m4', + 'm4/localcharset.m4', + 'm4/locale-fr.m4', + 'm4/locale-ja.m4', + 'm4/locale-zh.m4', + 'm4/lock.m4', + 'm4/longlong.m4', + 'm4/malloc.m4', + 'm4/mbrtowc.m4', + 'm4/mbsinit.m4', + 'm4/mbsrtowcs.m4', + 'm4/mbstate_t.m4', + 'm4/memchr.m4', + 'm4/mempcpy.m4', + 'm4/mmap-anon.m4', + 'm4/multiarch.m4', + 'm4/nl_langinfo.m4', + 'm4/nls.m4', + 'm4/po.m4', + 'm4/printf-posix.m4', + 'm4/printf.m4', + 'm4/progtest.m4', + 'm4/rawmemchr.m4', + 'm4/realloc.m4', + 'm4/regex.m4', + 'm4/size_max.m4', + 'm4/sleep.m4', + 'm4/ssize_t.m4', + 'm4/stdbool.m4', + 'm4/stddef_h.m4', + 'm4/stdint.m4', + 'm4/stdint_h.m4', + 'm4/stdio_h.m4', + 'm4/stdlib_h.m4', + 'm4/strcase.m4', + 'm4/strchrnul.m4', + 'm4/strerror.m4', + 'm4/string_h.m4', + 'm4/strings_h.m4', + 'm4/strndup.m4', + 'm4/strnlen.m4', + 'm4/sys_wait_h.m4', + 'm4/sysexits.m4', + 'm4/threadlib.m4', + 'm4/uintmax_t.m4', + 'm4/unistd_h.m4', + 'm4/vasnprintf.m4', + 'm4/visibility.m4', + 'm4/vsnprintf.m4', + 'm4/warn-on-use.m4', + 'm4/wchar_h.m4', + 'm4/wchar_t.m4', + 'm4/wcrtomb.m4', + 'm4/wctype_h.m4', + 'm4/wint_t.m4', + 'm4/xsize.m4', + 'acinclude.m4', + 'configure.ac' + ], + { + 'grub_ASM_USCORE' => 1, + 'AM_XGETTEXT_OPTION_INIT' => 1, + 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, + 'gt_TYPE_SSIZE_T' => 1, + 'gl_STDDEF_H_DEFAULTS' => 1, + 'gl_PREREQ_STRCASECMP' => 1, + 'gl_DOUBLE_SLASH_ROOT' => 1, + 'gl_PREREQ_PRINTF_ARGS' => 1, + '_LT_AC_LANG_CXX_CONFIG' => 1, + 'gl_AC_HEADER_STDINT_H' => 1, + 'gl_UNISTD_MODULE_INDICATOR' => 1, + 'gl_MBRTOWC_NULL_ARG' => 1, + 'AM_SUBST_NOTMAKE' => 1, + 'gl_GETOPT_SUBSTITUTE_HEADER' => 1, + '_m4_warn' => 1, + 'gl_FUNC_MBSINIT' => 1, + 'gl_FUNC_STRNDUP' => 1, + 'AM_SANITY_CHECK' => 1, + 'LTOBSOLETE_VERSION' => 1, + 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, + 'gl_DIRNAME' => 1, + 'gl_CACHE_VAL_SILENT' => 1, + '_LT_PROG_LTMAIN' => 1, + 'gl_LIBOBJ' => 1, + 'AC_LIB_ARG_WITH' => 1, + 'AC_LIBTOOL_CONFIG' => 1, + 'gl_PREREQ_ASNPRINTF' => 1, + 'gl_FUNC_FNMATCH_GNU' => 1, + 'gl_FUNC_BTOWC' => 1, + 'gl_WCHAR_H_DEFAULTS' => 1, + '_AM_AUTOCONF_VERSION' => 1, + 'gl_THREADLIB_EARLY_BODY' => 1, + '_LT_AC_LANG_CXX' => 1, + 'gl_SYSEXITS' => 1, + 'gt_INTL_MACOSX' => 1, + '_AC_TYPE_LONG_LONG_SNIPPET' => 1, + 'gl_REGEX' => 1, + 'AC_LIB_PREPARE_MULTILIB' => 1, + 'gl_PREREQ_STRNCASECMP' => 1, + 'AC_PROG_LD_GNU' => 1, + 'gltests_LIBSOURCES' => 1, + 'gl_FUNC_STRNLEN' => 1, + 'gl_ARGP' => 1, + 'gt_AC_TYPE_INTMAX_T' => 1, + 'grub_I386_ASM_ADDR32' => 1, + 'gl_HEADER_STRING_H_DEFAULTS' => 1, + 'AC_LIBTOOL_PROG_CC_C_O' => 1, + 'gl_FLOAT_H' => 1, + 'AC_LIB_PREFIX' => 1, + 'gl_REPLACE_WCHAR_H' => 1, + 'gl_STDLIB_MODULE_INDICATOR' => 1, + 'gl_PREREQ_VASNPRINTF_FLAG_GROUPING' => 1, + 'gl_STDBOOL_H' => 1, + 'gl_PREREQ_VASNPRINTF_DIRECTIVE_LS' => 1, + 'AC_DEFUN_ONCE' => 1, + 'gl_SYS_WAIT_H_DEFAULTS' => 1, + 'AC_C_RESTRICT' => 1, + 'gl_FUNC_VSNPRINTF' => 1, + 'gl_EARLY' => 1, + '_LT_AC_LANG_GCJ' => 1, + 'AC_' => 1, + 'grub_CHECK_STACK_ARG_PROBE' => 1, + 'gl_PRINTF_PRECISION' => 1, + 'AC_LTDL_OBJDIR' => 1, + 'gl_REPLACE_GETOPT' => 1, + 'gl_REPLACE_FUNCS' => 1, + 'AM_ICONV' => 1, + 'gl_STDIO_H_DEFAULTS' => 1, + '_LT_AC_PROG_ECHO_BACKSLASH' => 1, + '_LT_AC_TRY_DLOPEN_SELF' => 1, + 'LT_AC_PROG_SED' => 1, + 'AM_GNU_GETTEXT' => 1, + '_LT_AC_LANG_GCJ_CONFIG' => 1, + 'gl_MBRTOWC_SANITYCHECK' => 1, + 'gl_STRINGS_MODULE_INDICATOR' => 1, + 'AC_LIB_WITH_FINAL_PREFIX' => 1, + 'gl_HEADER_STRINGS_H' => 1, + 'gt_TYPE_WINT_T' => 1, + 'gl_PREREQ_VASNPRINTF' => 1, + 'AM_PROG_CC_C_O' => 1, + '_LT_AC_TAGVAR' => 1, + 'gl_INIT' => 1, + 'gl_MBRTOWC_NUL_RETVAL' => 1, + 'm4_include' => 1, + 'gl_PREREQ_MEMPCPY' => 1, + 'gl_PREREQ_BTOWC' => 1, + '_AC_AM_CONFIG_HEADER_HOOK' => 1, + 'gl_PREREQ_LOCK' => 1, + 'grub_PROG_LD_BUILD_ID_NONE' => 1, + 'gl_PRINTF_LONG_DOUBLE' => 1, + 'gl_FUNC_NL_LANGINFO' => 1, + 'AM_MAKE_INCLUDE' => 1, + 'gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE' => 1, + '_LT_AC_TAGCONFIG' => 1, + 'gl_INTEGER_TYPE_SUFFIX' => 1, + 'gt_INTTYPES_PRI' => 1, + 'grub_PROG_OBJCOPY_ABSOLUTE' => 1, + 'gl_PREREQ_VASNPRINTF_WITH_EXTRAS' => 1, + '_LT_COMPILER_BOILERPLATE' => 1, + 'AC_LIBTOOL_SETUP' => 1, + 'AC_PROG_LD_RELOAD_FLAG' => 1, + 'AM_MISSING_HAS_RUN' => 1, + 'gl_PREREQ_MEMCHR' => 1, + 'gl_PREREQ_GETOPT' => 1, + 'AC_TYPE_LONG_LONG_INT' => 1, + 'gl_FUNC_WCRTOMB' => 1, + 'AC_LIB_PROG_LD_GNU' => 1, + 'gl_CHECK_NEXT_HEADERS' => 1, + 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, + 'gl_STDIO_MODULE_INDICATOR' => 1, + 'gl_STDINT_H' => 1, + 'AC_LIBTOOL_LINKER_OPTION' => 1, + 'grub_CHECK_ENABLE_EXECUTE_STACK' => 1, + 'gl_FUNC_STRNCASECMP' => 1, + 'gl_REPLACE_VSNPRINTF' => 1, + 'gl_PREREQ_ALLOCA' => 1, + 'AC_FUNC_ERROR_AT_LINE' => 1, + 'gl_MODULE_INDICATOR_FOR_TESTS' => 1, + '_LT_AC_PROG_CXXCPP' => 1, + 'AC_FUNC_MBRTOWC' => 1, + '_AC_PROG_LIBTOOL' => 1, + 'AC_COMPUTE_INT' => 1, + 'gl_PRINTF_SIZES_C99' => 1, + '_AM_IF_OPTION' => 1, + 'm4_pattern_allow' => 1, + 'gl_CHECK_TYPES_SIGNED' => 1, + 'gl_HEADER_STRING_H_BODY' => 1, + 'AM_SET_LEADING_DOT' => 1, + 'gl_VSNPRINTF_ZEROSIZE_C99' => 1, + 'gl_WARN_ON_USE_PREPARE' => 1, + 'gt_CHECK_DECL' => 1, + 'AC_LIB_LINKFLAGS' => 1, + '_LT_AC_SYS_COMPILER' => 1, + 'gl_PREREQ_STRNLEN' => 1, + 'gl_MBSTATE_T_BROKEN' => 1, + 'gl_STDLIB_H' => 1, + 'grub_CHECK_BSS_START_SYMBOL' => 1, + 'gl_PRINTF_ENOMEM' => 1, + 'gl_STDDEF_MODULE_INDICATOR' => 1, + 'gl_PREREQ_MBRTOWC' => 1, + 'AC_DEPLIBS_CHECK_METHOD' => 1, + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, + 'gl_WCHAR_H_INLINE_OK' => 1, + 'AC_LTDL_ENABLE_INSTALL' => 1, + 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, + 'gl_STRING_MODULE_INDICATOR' => 1, + 'gt_GLIBC2' => 1, + 'gl_PREREQ_STRERROR' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'gl_AC_TYPE_UINTMAX_T' => 1, + 'gl_LOCK' => 1, + 'gl_SNPRINTF_RETVAL_C99' => 1, + 'gt_TYPE_WCHAR_T' => 1, + 'gl_FUNC_SLEEP' => 1, + 'gl_PREREQ_GETDELIM' => 1, + '_LT_AC_LOCK' => 1, + 'gl_PREREQ_MBSRTOWCS' => 1, + 'gl_WCHAR_H' => 1, + '_LT_AC_LANG_RC_CONFIG' => 1, + 'gl_COMMON' => 1, + 'gl_FUNC_ALLOCA' => 1, + 'gl_WCTYPE_H' => 1, + 'AC_HEADER_STDBOOL' => 1, + 'gl_FUNC_GETOPT_GNU' => 1, + 'grub_I386_ASM_PREFIX_REQUIREMENT' => 1, + 'gl_LIBSOURCES' => 1, + 'gltests_LIBOBJ' => 1, + 'AM_PROG_AS' => 1, + 'AM_AUX_DIR_EXPAND' => 1, + 'AC_LIB_LINKFLAGS_FROM_LIBS' => 1, + 'gl_GLIBC21' => 1, + 'gl_WCHAR_MODULE_INDICATOR' => 1, + 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, + 'gl_FUNC_STRCASECMP' => 1, + '_AM_SET_OPTIONS' => 1, + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, + 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, + 'gl_PREREQ_STRCHRNUL' => 1, + 'AC_LIB_LINKFLAGS_BODY' => 1, + 'gl_FUNC_RAWMEMCHR' => 1, + 'gl_GETOPT_CHECK_HEADERS' => 1, + 'gl_PRINTF_DIRECTIVE_LS' => 1, + 'gl_FUNC_FNMATCH_POSIX' => 1, + 'gl_STDINT_INCLUDES' => 1, + 'AC_TYPE_UNSIGNED_LONG_LONG_INT' => 1, + '_AM_MANGLE_OPTION' => 1, + 'gl_PRINTF_FLAG_GROUPING' => 1, + 'AM_SET_DEPDIR' => 1, + 'gl_FUNC_STRCHRNUL' => 1, + '_LT_CC_BASENAME' => 1, + 'grub_CHECK_LINK_DIR' => 1, + 'gl_HEADER_STRINGS_H_BODY' => 1, + 'gl_PREREQ_VASNPRINTF_PRECISION' => 1, + '_LT_AC_SHELL_INIT' => 1, + 'AC_DEFUN' => 1, + 'AM_PROG_MKDIR_P' => 1, + 'AM_AUTOMAKE_VERSION' => 1, + 'gl_SIZE_MAX' => 1, + 'AC_LIB_RPATH' => 1, + 'AM_MISSING_PROG' => 1, + 'gt_PRINTF_POSIX' => 1, + 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, + 'gl_PRINTF_DIRECTIVE_A' => 1, + '_LT_AC_LANG_C_CONFIG' => 1, + 'grub_CHECK_PIE' => 1, + 'grub_apple_target_cc' => 1, + 'gl_INCLUDE_NEXT' => 1, + 'AM_PROG_INSTALL_STRIP' => 1, + 'AC_LIBTOOL_OBJDIR' => 1, + 'gl_MULTIARCH' => 1, + 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, + 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, + '_LT_AC_CHECK_DLFCN' => 1, + '_AM_PROG_TAR' => 1, + 'gl_HEADER_ERRNO_H' => 1, + 'gl_FUNC_REALLOC_POSIX' => 1, + 'gl_FUNC_STRERROR_SEPARATE' => 1, + 'gl_SNPRINTF_TRUNCATION_C99' => 1, + 'gl_SYS_WAIT_H' => 1, + 'gl_ASM_SYMBOL_PREFIX' => 1, + 'gl_STRCASE' => 1, + '_LT_AC_LANG_F77' => 1, + 'gl_ERROR' => 1, + '_AM_SUBST_NOTMAKE' => 1, + 'gl_00GNULIB' => 1, + '_LT_PROG_ECHO_BACKSLASH' => 1, + '_LT_AC_FILE_LTDLL_C' => 1, + 'AC_USE_SYSTEM_EXTENSIONS' => 1, + 'AM_ICONV_LINK' => 1, + 'AU_DEFUN' => 1, + 'gl_THREADLIB_BODY' => 1, + 'gl_MBRTOWC_RETVAL' => 1, + 'gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST' => 1, + 'gt_TYPE_INTMAX_T' => 1, + 'AC_LIB_HAVE_LINKFLAGS' => 1, + 'gl_HEADER_STRINGS_H_DEFAULTS' => 1, + 'AM_ICONV_LINKFLAGS_BODY' => 1, + 'gltests_REPLACE_FUNCS' => 1, + '_AM_SET_OPTION' => 1, + 'gl_FUNC_GETOPT_POSIX' => 1, + 'AC_LTDL_PREOPEN' => 1, + 'gl_PREREQ_VASNPRINTF_FLAG_ZERO' => 1, + '_LT_LINKER_BOILERPLATE' => 1, + '_LT_PREPARE_SED_QUOTE_VARS' => 1, + 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, + 'AM_STDBOOL_H' => 1, + 'gl_HEADER_STRING_H' => 1, + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, + 'gl_COMMON_BODY' => 1, + 'gl_PREREQ_ERROR' => 1, + 'gl_PREREQ_PRINTF_PARSE' => 1, + 'gl_PRINTF_FLAG_ZERO' => 1, + 'gl_FUNC_MBRTOWC' => 1, + 'gl_STDIN_LARGE_OFFSET' => 1, + 'gl_STDINT_BITSIZEOF' => 1, + 'gl_FUNC_GETDELIM' => 1, + 'gl_BIGENDIAN' => 1, + 'gt_INTDIV0' => 1, + 'AC_DISABLE_FAST_INSTALL' => 1, + 'AM_SILENT_RULES' => 1, + 'grub_CHECK_STACK_PROTECTOR' => 1, + 'gt_LOCALE_JA' => 1, + 'include' => 1, + '_LT_AC_SYS_LIBPATH_AIX' => 1, + 'gl_STDIO_H' => 1, + 'gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE' => 1, + 'gl_MODULE_INDICATOR_CONDITION' => 1, + 'AC_LIB_APPENDTOVAR' => 1, + 'gl_PREREQ_VASNPRINTF_LONG_DOUBLE' => 1, + 'AM_POSTPROCESS_PO_MAKEFILE' => 1, + 'gl_AC_TYPE_INTMAX_T' => 1, + '_LT_REQUIRED_DARWIN_CHECKS' => 1, + 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, + 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, + 'AM_CONDITIONAL' => 1, + 'AC_TYPE_MBSTATE_T' => 1, + 'AM_LANGINFO_CODESET' => 1, + 'gl_AC_HEADER_INTTYPES_H' => 1, + '_LT_PROG_CXX' => 1, + '_LT_PROG_F77' => 1, + 'AM_PROG_INSTALL_SH' => 1, + 'AC_PROG_EGREP' => 1, + 'AC_PATH_MAGIC' => 1, + 'gl_STDDEF_H' => 1, + 'gl_FUNC_MMAP_ANON' => 1, + 'm4_pattern_forbid' => 1, + 'AM_PO_SUBDIRS' => 1, + 'gl_DIRNAME_LGPL' => 1, + 'AC_LIB_PREPARE_PREFIX' => 1, + 'gl_FUNC_REALLOC_GNU' => 1, + 'grub_CHECK_END_SYMBOL' => 1, + 'gl_FUNC_GETLINE' => 1, + 'gl_SNPRINTF_PRESENCE' => 1, + 'gl_FUNC_MALLOC_POSIX' => 1, + 'gl_FUNC_VASNPRINTF' => 1, + 'grub_apple_cc' => 1, + 'gl_AC_DOS' => 1, + 'gl_SYS_WAIT_MODULE_INDICATOR' => 1, + 'AM_GNU_GETTEXT_VERSION' => 1, + 'gl_FUNC_MEMPCPY' => 1, + 'gl_THREADLIB' => 1, + 'AM_NLS' => 1, + 'gl_FUNC_STRERROR' => 1, + 'grub_PROG_TARGET_CC' => 1, + 'gl_LANGINFO_MODULE_INDICATOR' => 1, + 'gl_PRINTF_INFINITE_LONG_DOUBLE' => 1, + 'gl_FUNC_MALLOC_GNU' => 1, + 'gt_INTL_SUBDIR_CORE' => 1, + 'gl_FILE_LIST' => 1, + 'gl_PREREQ_VASNPRINTF_DIRECTIVE_F' => 1, + 'gl_MODULE_INDICATOR_SET_VARIABLE' => 1, + 'gl_USE_SYSTEM_EXTENSIONS' => 1, + 'AM_DEP_TRACK' => 1, + 'gl_THREADLIB_EARLY' => 1, + 'gl_REPLACE_REALLOC' => 1, + 'gl_PRINTF_POSITIONS' => 1, + 'gl_STDINT_TYPE_PROPERTIES' => 1, + 'gl_PREREQ_VASNPRINTF_DIRECTIVE_A' => 1, + 'AM_PATH_PROG_WITH_TEST' => 1, + 'gl_MBSRTOWCS_WORKS' => 1, + 'gl_FCNTL_O_FLAGS' => 1, + 'gl_PREREQ_WCRTOMB' => 1, + 'gl_PRINTF_DIRECTIVE_N' => 1, + '_LT_PROG_FC' => 1, + 'LT_AC_PROG_EGREP' => 1, + 'gl_UNISTD_H_DEFAULTS' => 1, + 'gl_PREREQ_VSNPRINTF' => 1, + '_AM_DEPENDENCIES' => 1, + 'AC_LIBTOOL_LANG_C_CONFIG' => 1, + 'gl_PREREQ_MBSINIT' => 1, + 'gl_LANGINFO_H_DEFAULTS' => 1, + 'gl_REPLACE_VASNPRINTF' => 1, + 'gl_PREREQ_RAWMEMCHR' => 1, + 'AM_GNU_GETTEXT_NEED' => 1, + 'gl_XSIZE' => 1, + 'gl_FUNC_MEMCHR' => 1, + 'gl_PREREQ_REGEX' => 1, + 'AM_INTL_SUBDIR' => 1, + 'AC_PROG_MKDIR_P' => 1, + 'gl_PRINTF_DIRECTIVE_F' => 1, + 'gl_REPLACE_ERRNO_VALUE' => 1, + 'gl_VISIBILITY' => 1, + 'gt_LOCALE_FR' => 1, + 'gl_PRINTF_FLAG_LEFTADJUST' => 1, + 'gl_FUNC_MBSRTOWCS' => 1, + 'gl_GETOPT_IFELSE' => 1, + 'gl_MBRTOWC_INCOMPLETE_STATE' => 1, + 'gl_MODULE_INDICATOR' => 1, + 'gl_DISABLE_THREADS' => 1, + 'gl_CHECK_MALLOC_POSIX' => 1, + 'gl_UNISTD_H' => 1, + 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, + 'gl_STDLIB_H_DEFAULTS' => 1, + 'gl_SNPRINTF_SIZE1' => 1, + 'gl_PREREQ_GETLINE' => 1, + '_LT_AC_LANG_F77_CONFIG' => 1, + 'AM_RUN_LOG' => 1, + 'gt_LOCALE_FR_UTF8' => 1, + 'gt_LOCALE_ZH_CN' => 1, + 'gl_REPLACE_MALLOC' => 1, + 'gl_PREREQ_VASNPRINTF_ENOMEM' => 1, + 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, + 'AC_LIB_FROMPACKAGE' => 1, + 'gt_LC_MESSAGES' => 1, + 'AM_XGETTEXT_OPTION' => 1, + 'gl_LANGINFO_H' => 1, + 'gl_PRINTF_INFINITE' => 1, + 'AC_LIB_PROG_LD' => 1, + 'gl_LOCALCHARSET' => 1, + 'gl_SNPRINTF_DIRECTIVE_N' => 1 + } + ], 'Autom4te::Request' ), + bless( [ + '1', + 1, + [ + '/usr/share/autoconf' + ], + [ + '/usr/share/autoconf/autoconf/autoconf.m4f', + 'aclocal.m4', + 'configure.ac' + ], + { + 'AM_PROG_F77_C_O' => 1, + '_LT_AC_TAGCONFIG' => 1, + 'AC_INIT' => 1, + 'm4_pattern_forbid' => 1, + 'AC_CANONICAL_TARGET' => 1, + '_AM_COND_IF' => 1, + 'AC_CONFIG_LIBOBJ_DIR' => 1, + 'AC_SUBST' => 1, + 'AC_CANONICAL_HOST' => 1, + 'AC_FC_SRCEXT' => 1, + 'AC_PROG_LIBTOOL' => 1, + 'AM_INIT_AUTOMAKE' => 1, + 'AC_CONFIG_SUBDIRS' => 1, + 'AM_PATH_GUILE' => 1, + 'AM_AUTOMAKE_VERSION' => 1, + 'LT_CONFIG_LTDL_DIR' => 1, + 'AC_CONFIG_LINKS' => 1, + 'AC_REQUIRE_AUX_FILE' => 1, + 'LT_SUPPORTED_TAG' => 1, + 'm4_sinclude' => 1, + 'AM_MAINTAINER_MODE' => 1, + 'AM_NLS' => 1, + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, + '_m4_warn' => 1, + 'AM_MAKEFILE_INCLUDE' => 1, + 'AM_PROG_CXX_C_O' => 1, + '_AM_MAKEFILE_INCLUDE' => 1, + '_AM_COND_ENDIF' => 1, + 'AM_ENABLE_MULTILIB' => 1, + 'AM_SILENT_RULES' => 1, + 'AM_PROG_MOC' => 1, + 'AC_CONFIG_FILES' => 1, + 'include' => 1, + 'LT_INIT' => 1, + 'AM_GNU_GETTEXT' => 1, + 'AM_PROG_AR' => 1, + 'AC_LIBSOURCE' => 1, + 'AC_CANONICAL_BUILD' => 1, + 'AM_PROG_FC_C_O' => 1, + 'AC_FC_FREEFORM' => 1, + 'AH_OUTPUT' => 1, + 'AC_CONFIG_AUX_DIR' => 1, + '_AM_SUBST_NOTMAKE' => 1, + 'm4_pattern_allow' => 1, + 'AM_PROG_CC_C_O' => 1, + 'sinclude' => 1, + 'AM_CONDITIONAL' => 1, + 'AC_CANONICAL_SYSTEM' => 1, + 'AM_XGETTEXT_OPTION' => 1, + 'AC_CONFIG_HEADERS' => 1, + 'AC_DEFINE_TRACE_LITERAL' => 1, + 'AM_POT_TOOLS' => 1, + 'm4_include' => 1, + '_AM_COND_ELSE' => 1, + 'AC_SUBST_TRACE' => 1 + } + ], 'Autom4te::Request' ) + ); + diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 new file mode 100644 index 0000000..372ea9c --- /dev/null +++ b/autom4te.cache/traces.0 @@ -0,0 +1,12390 @@ +m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:38: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_PROG_LTMAIN]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_SED]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:68: -1- AC_DEFUN([_LT_CC_BASENAME]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:69: -1- AC_DEFUN([_LT_COMPILER_BOILERPLATE]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:70: -1- AC_DEFUN([_LT_LINKER_BOILERPLATE]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:76: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:95: -1- AC_DEFUN([_LT_PROG_ECHO_BACKSLASH]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC]) +m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX]) +m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.11.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) +m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) +m4trace:/usr/share/aclocal-1.11/as.m4:13: -1- AC_DEFUN([AM_PROG_AS], [# By default we simply use the C compiler to build assembly code. +AC_REQUIRE([AC_PROG_CC]) +test "${CCAS+set}" = set || CCAS=$CC +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS +AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)]) +AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)]) +_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl +]) +m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) +m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) +m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) +m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) +m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +]) +m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +]) +m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) +m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) +m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) +m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST(install_sh)]) +m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) +m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) +m4trace:/usr/share/aclocal-1.11/minuso.m4:14: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) +m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) +m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) +m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) +m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) +m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) +m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) +m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) +m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) +m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) +m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], +[ --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0')]) +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) +m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) +m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) +m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) +m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) +m4trace:m4/00gnulib.m4:30: -1- AC_DEFUN([gl_00GNULIB]) +m4trace:m4/alloca.m4:8: -1- AC_DEFUN([gl_FUNC_ALLOCA], [ + dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. + AC_REQUIRE([AC_PROG_CPP]) + AC_REQUIRE([AC_PROG_EGREP]) + + AC_REQUIRE([AC_FUNC_ALLOCA]) + if test $ac_cv_func_alloca_works = no; then + gl_PREREQ_ALLOCA + fi + + # Define an additional variable used in the Makefile substitution. + if test $ac_cv_working_alloca_h = yes; then + AC_CACHE_CHECK([for alloca as a compiler built-in], [gl_cv_rpl_alloca], [ + AC_EGREP_CPP([Need own alloca], [ +#if defined __GNUC__ || defined _AIX || defined _MSC_VER + Need own alloca +#endif + ], [gl_cv_rpl_alloca=yes], [gl_cv_rpl_alloca=no]) + ]) + if test $gl_cv_rpl_alloca = yes; then + dnl OK, alloca can be implemented through a compiler built-in. + AC_DEFINE([HAVE_ALLOCA], [1], + [Define to 1 if you have 'alloca' after including , + a header that may be supplied by this distribution.]) + ALLOCA_H=alloca.h + else + dnl alloca exists as a library function, i.e. it is slow and probably + dnl a memory leak. Don't define HAVE_ALLOCA in this case. + ALLOCA_H= + fi + else + ALLOCA_H=alloca.h + fi + AC_SUBST([ALLOCA_H]) +]) +m4trace:m4/alloca.m4:47: -1- AC_DEFUN([gl_PREREQ_ALLOCA], [:]) +m4trace:m4/argp.m4:7: -1- AC_DEFUN([gl_ARGP], [ + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + dnl argp-parse.c depends on GNU getopt internals, therefore use GNU getopt + dnl always. + gl_REPLACE_GETOPT + dnl Note: gl_REPLACE_GETOPT does AC_LIBOBJ([getopt]), AC_LIBOBJ([getopt1]). + + AC_CHECK_DECL([program_invocation_name], + [AC_DEFINE([HAVE_DECL_PROGRAM_INVOCATION_NAME], [1], + [Define if program_invocation_name is declared])], + [AC_DEFINE([GNULIB_PROGRAM_INVOCATION_NAME], [1], + [Define to 1 to add extern declaration of program_invocation_name to argp.h])], + [#include ]) + AC_CHECK_DECL([program_invocation_short_name], + [AC_DEFINE([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME], [1], + [Define if program_invocation_short_name is declared])], + [AC_DEFINE([GNULIB_PROGRAM_INVOCATION_SHORT_NAME], [1], + [Define to 1 to add extern declaration of program_invocation_short_name to argp.h])], + [#include ]) + + # Check if program_invocation_name and program_invocation_short_name + # are defined elsewhere. It is improbable that only one of them will + # be defined and other not, I prefer to stay on the safe side and to + # test each one separately. + AC_MSG_CHECKING([whether program_invocation_name is defined]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], + [[program_invocation_name = "test";]])], + [AC_DEFINE([HAVE_PROGRAM_INVOCATION_NAME], [1], + [Define if program_invocation_name is defined]) + AC_MSG_RESULT([yes])], + [AC_MSG_RESULT([no])]) + + AC_MSG_CHECKING([whether program_invocation_short_name is defined]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], + [[program_invocation_short_name = "test";]])], + [AC_DEFINE([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [1], + [Define if program_invocation_short_name is defined]) + AC_MSG_RESULT([yes])], + [AC_MSG_RESULT([no])]) + + AC_CHECK_DECLS_ONCE([clearerr_unlocked]) + AC_CHECK_DECLS_ONCE([feof_unlocked]) + AC_CHECK_DECLS_ONCE([ferror_unlocked]) + AC_CHECK_DECLS_ONCE([fflush_unlocked]) + AC_CHECK_DECLS_ONCE([fgets_unlocked]) + AC_CHECK_DECLS_ONCE([fputc_unlocked]) + AC_CHECK_DECLS_ONCE([fputs_unlocked]) + AC_CHECK_DECLS_ONCE([fread_unlocked]) + AC_CHECK_DECLS_ONCE([fwrite_unlocked]) + AC_CHECK_DECLS_ONCE([getc_unlocked]) + AC_CHECK_DECLS_ONCE([getchar_unlocked]) + AC_CHECK_DECLS_ONCE([putc_unlocked]) + AC_CHECK_DECLS_ONCE([putchar_unlocked]) + AC_CHECK_FUNCS_ONCE([flockfile funlockfile]) + AC_CHECK_HEADERS_ONCE([features.h linewrap.h]) +]) +m4trace:m4/asm-underscore.m4:15: -1- AC_DEFUN([gl_ASM_SYMBOL_PREFIX], [ + dnl We don't use GCC's __USER_LABEL_PREFIX__ here, because + dnl 1. It works only for GCC. + dnl 2. It is incorrectly defined on some platforms, in some GCC versions. + AC_CACHE_CHECK( + [whether C symbols are prefixed with underscore at the linker level], + [gl_cv_prog_as_underscore], + [cat > conftest.c </dev/null 2>&1 + if grep _foo conftest.s >/dev/null ; then + gl_cv_prog_as_underscore=yes + else + gl_cv_prog_as_underscore=no + fi + rm -f conftest* + ]) + if test $gl_cv_prog_as_underscore = yes; then + USER_LABEL_PREFIX=_ + else + USER_LABEL_PREFIX= + fi + AC_DEFINE_UNQUOTED([USER_LABEL_PREFIX], [$USER_LABEL_PREFIX], + [Define to the prefix of C symbols at the assembler and linker level, + either an underscore or empty.]) + ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' + AC_SUBST([ASM_SYMBOL_PREFIX]) +]) +m4trace:m4/btowc.m4:7: -1- AC_DEFUN([gl_FUNC_BTOWC], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + dnl Check whether is usable at all, first. Otherwise the test + dnl program below may lead to an endless loop. See + dnl . + AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) + + AC_CHECK_FUNCS_ONCE([btowc]) + if test $ac_cv_func_btowc = no; then + HAVE_BTOWC=0 + else + + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_FR]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + + dnl Cygwin 1.7.2 btowc('\0') is WEOF, not 0. + AC_CACHE_CHECK([whether btowc(0) is correct], + [gl_cv_func_btowc_nul], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +int main () +{ + if (btowc ('\0') != 0) + return 1; + return 0; +}]])], + [gl_cv_func_btowc_nul=yes], + [gl_cv_func_btowc_nul=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess no on Cygwin. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_nul="guessing yes" ;; + esac +changequote([,])dnl + ]) + ]) + + dnl IRIX 6.5 btowc(EOF) is 0xFF, not WEOF. + AC_CACHE_CHECK([whether btowc(EOF) is correct], + [gl_cv_func_btowc_eof], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on IRIX. + irix*) gl_cv_func_btowc_eof="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_eof="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_FR != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (btowc (EOF) != WEOF) + return 1; + } + return 0; +}]])], + [gl_cv_func_btowc_eof=yes], + [gl_cv_func_btowc_eof=no], + [:]) + fi + ]) + + case "$gl_cv_func_btowc_nul" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + case "$gl_cv_func_btowc_eof" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + fi + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + gl_REPLACE_WCHAR_H + AC_LIBOBJ([btowc]) + gl_PREREQ_BTOWC + fi +]) +m4trace:m4/btowc.m4:107: -1- AC_DEFUN([gl_PREREQ_BTOWC], [ + : +]) +m4trace:m4/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [ + AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[char* cs = nl_langinfo(CODESET); return !cs;]])], + [am_cv_langinfo_codeset=yes], + [am_cv_langinfo_codeset=no]) + ]) + if test $am_cv_langinfo_codeset = yes; then + AC_DEFINE([HAVE_LANGINFO_CODESET], [1], + [Define if you have and nl_langinfo(CODESET).]) + fi +]) +m4trace:m4/dirname.m4:7: -1- AC_DEFUN([gl_DIRNAME], [ + AC_REQUIRE([gl_DIRNAME_LGPL]) + AC_LIBOBJ([basename]) + AC_LIBOBJ([dirname]) +]) +m4trace:m4/dirname.m4:14: -1- AC_DEFUN([gl_DIRNAME_LGPL], [ + AC_LIBOBJ([basename-lgpl]) + AC_LIBOBJ([dirname-lgpl]) + AC_LIBOBJ([stripslash]) + + dnl Prerequisites of lib/dirname.h. + AC_REQUIRE([gl_AC_DOS]) + AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) + + dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c, + dnl lib/stripslash.c. +]) +m4trace:m4/dos.m4:13: -1- AC_DEFUN([gl_AC_DOS], [ + AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos], + [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[ +#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__ +neither MSDOS nor Windows +#endif]])], + [ac_cv_win_or_dos=yes], + [ac_cv_win_or_dos=no]) + ]) + + if test x"$ac_cv_win_or_dos" = xyes; then + ac_fs_accepts_drive_letter_prefix=1 + ac_fs_backslash_is_file_name_separator=1 + AC_CACHE_CHECK([whether drive letter can start relative path], + [ac_cv_drive_letter_can_be_relative], + [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[ +#if defined __CYGWIN__ +drive letters are always absolute +#endif]])], + [ac_cv_drive_letter_can_be_relative=yes], + [ac_cv_drive_letter_can_be_relative=no]) + ]) + if test x"$ac_cv_drive_letter_can_be_relative" = xyes; then + ac_fs_drive_letter_can_be_relative=1 + else + ac_fs_drive_letter_can_be_relative=0 + fi + else + ac_fs_accepts_drive_letter_prefix=0 + ac_fs_backslash_is_file_name_separator=0 + ac_fs_drive_letter_can_be_relative=0 + fi + + AC_DEFINE_UNQUOTED([FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX], + $ac_fs_accepts_drive_letter_prefix, + [Define on systems for which file names may have a so-called + `drive letter' prefix, define this to compute the length of that + prefix, including the colon.]) + + AH_VERBATIM(ISSLASH, + [#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#else +# define ISSLASH(C) ((C) == '/') +#endif]) + + AC_DEFINE_UNQUOTED([FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR], + $ac_fs_backslash_is_file_name_separator, + [Define if the backslash character may also serve as a file name + component separator.]) + + AC_DEFINE_UNQUOTED([FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE], + $ac_fs_drive_letter_can_be_relative, + [Define if a drive letter prefix denotes a relative path if it is + not followed by a file name component separator.]) + ]) +m4trace:m4/double-slash-root.m4:7: -1- AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [ + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root], + [ if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi]) + if test "$gl_cv_double_slash_root" = yes; then + AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1], + [Define to 1 if // is a file system root distinct from /.]) + fi +]) +m4trace:m4/errno_h.m4:7: -1- AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [ + AC_REQUIRE([AC_PROG_CC]) + AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ + AC_EGREP_CPP([booboo],[ +#include +#if !defined ENOMSG +booboo +#endif +#if !defined EIDRM +booboo +#endif +#if !defined ENOLINK +booboo +#endif +#if !defined EPROTO +booboo +#endif +#if !defined EMULTIHOP +booboo +#endif +#if !defined EBADMSG +booboo +#endif +#if !defined EOVERFLOW +booboo +#endif +#if !defined ENOTSUP +booboo +#endif +#if !defined ESTALE +booboo +#endif +#if !defined ECANCELED +booboo +#endif + ], + [gl_cv_header_errno_h_complete=no], + [gl_cv_header_errno_h_complete=yes]) + ]) + if test $gl_cv_header_errno_h_complete = yes; then + ERRNO_H='' + else + gl_CHECK_NEXT_HEADERS([errno.h]) + ERRNO_H='errno.h' + fi + AC_SUBST([ERRNO_H]) + gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) + gl_REPLACE_ERRNO_VALUE([ENOLINK]) + gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) +]) +m4trace:m4/errno_h.m4:65: -1- AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ + if test -n "$ERRNO_H"; then + AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ + AC_EGREP_CPP([yes],[ +#include +#ifdef ]$1[ +yes +#endif + ], + [gl_cv_header_errno_h_]$1[=yes], + [gl_cv_header_errno_h_]$1[=no]) + if test $gl_cv_header_errno_h_]$1[ = no; then + AC_EGREP_CPP([yes],[ +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef ]$1[ +yes +#endif + ], [gl_cv_header_errno_h_]$1[=hidden]) + if test $gl_cv_header_errno_h_]$1[ = hidden; then + dnl The macro exists but is hidden. + dnl Define it to the same value. + AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +]) + fi + fi + ]) + case $gl_cv_header_errno_h_$1 in + yes | no) + $1_HIDDEN=0; $1_VALUE= + ;; + *) + $1_HIDDEN=1; $1_VALUE="$gl_cv_header_errno_h_$1" + ;; + esac + AC_SUBST($1[_HIDDEN]) + AC_SUBST($1[_VALUE]) + fi +]) +m4trace:m4/error.m4:9: -1- AC_DEFUN([gl_ERROR], [ + AC_FUNC_ERROR_AT_LINE + dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]). + gl_PREREQ_ERROR +]) +m4trace:m4/error.m4:18: -1- AC_DEFUN([AC_FUNC_ERROR_AT_LINE], [ + AC_LIBSOURCES([error.h, error.c])dnl + AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line], + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[error_at_line (0, 0, "", 0, "an error occurred");]])], + [ac_cv_lib_error_at_line=yes], + [ac_cv_lib_error_at_line=no])]) + if test $ac_cv_lib_error_at_line = no; then + AC_LIBOBJ([error]) + fi +]) +m4trace:m4/error.m4:34: -1- AC_DEFUN([gl_PREREQ_ERROR], [ + AC_REQUIRE([AC_FUNC_STRERROR_R]) + AC_REQUIRE([AC_C_INLINE]) + : +]) +m4trace:m4/extensions.m4:37: -1- AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl +AC_BEFORE([$0], [AC_RUN_IFELSE])dnl + + AC_REQUIRE([AC_CANONICAL_HOST]) + + AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) + if test "$MINIX" = yes; then + AC_DEFINE([_POSIX_SOURCE], [1], + [Define to 1 if you need to in order for `stat' and other + things to work.]) + AC_DEFINE([_POSIX_1_SOURCE], [2], + [Define to 2 if the system does not provide POSIX.1 features + except with this defined.]) + AC_DEFINE([_MINIX], [1], + [Define to 1 if on MINIX.]) + fi + + dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500, + dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already + dnl provided. + case "$host_os" in + hpux*) + AC_DEFINE([_XOPEN_SOURCE], [500], + [Define to 500 only on HP-UX.]) + ;; + esac + + AH_VERBATIM([__EXTENSIONS__], +[/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +]) + AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], + [ac_cv_safe_to_define___extensions__], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[ +# define __EXTENSIONS__ 1 + ]AC_INCLUDES_DEFAULT])], + [ac_cv_safe_to_define___extensions__=yes], + [ac_cv_safe_to_define___extensions__=no])]) + test $ac_cv_safe_to_define___extensions__ = yes && + AC_DEFINE([__EXTENSIONS__]) + AC_DEFINE([_ALL_SOURCE]) + AC_DEFINE([_GNU_SOURCE]) + AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) + AC_DEFINE([_TANDEM_SOURCE]) +]) +m4trace:m4/extensions.m4:107: -1- AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [ + dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. + dnl gnulib does not need it. But if it gets required by third-party macros + dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a + dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". + dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, + dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. + AC_REQUIRE([AC_GNU_SOURCE]) + + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) +]) +m4trace:m4/fcntl-o.m4:12: -1- AC_DEFUN([gl_FCNTL_O_FLAGS], [ + dnl Persuade glibc to define O_NOATIME and O_NOFOLLOW. + dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes + dnl AC_GNU_SOURCE. + m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], + [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], + [AC_REQUIRE([AC_GNU_SOURCE])]) + AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[#include + #include + #include + #include + #ifndef O_NOATIME + #define O_NOATIME 0 + #endif + #ifndef O_NOFOLLOW + #define O_NOFOLLOW 0 + #endif + static int const constants[] = + { + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY + }; + ]], + [[ + int status = !constants; + { + static char const sym[] = "conftest.sym"; + if (symlink (".", sym) != 0 + || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) + status |= 32; + unlink (sym); + } + { + static char const file[] = "confdefs.h"; + int fd = open (file, O_RDONLY | O_NOATIME); + char c; + struct stat st0, st1; + if (fd < 0 + || fstat (fd, &st0) != 0 + || sleep (1) != 0 + || read (fd, &c, 1) != 1 + || close (fd) != 0 + || stat (file, &st1) != 0 + || st0.st_atime != st1.st_atime) + status |= 64; + } + return status;]])], + [gl_cv_header_working_fcntl_h=yes], + [case $? in #( + 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( + 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( + *) gl_cv_header_working_fcntl_h='no';; + esac], + [gl_cv_header_working_fcntl_h=cross-compiling])]) + + case $gl_cv_header_working_fcntl_h in #( + *O_NOATIME* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], + [Define to 1 if O_NOATIME works.]) + + case $gl_cv_header_working_fcntl_h in #( + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], + [Define to 1 if O_NOFOLLOW works.]) +]) +m4trace:m4/float_h.m4:7: -1- AC_DEFUN([gl_FLOAT_H], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + FLOAT_H= + case "$host_os" in + beos* | openbsd* | mirbsd*) + FLOAT_H=float.h + gl_CHECK_NEXT_HEADERS([float.h]) + ;; + esac + AC_SUBST([FLOAT_H]) +]) +m4trace:m4/fnmatch.m4:12: -1- AC_DEFUN([gl_FUNC_FNMATCH_POSIX], [ + m4_divert_text([DEFAULTS], [gl_fnmatch_required=POSIX]) + + dnl Persuade glibc to declare FNM_CASEFOLD etc. + dnl This is only needed if gl_fnmatch_required = GNU. It would be possible + dnl to avoid this dependency for gl_FUNC_FNMATCH_POSIX by putting + dnl gl_FUNC_FNMATCH_GNU into a separate .m4 file. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + FNMATCH_H= + gl_fnmatch_required_lowercase=`echo $gl_fnmatch_required | tr 'A-Z' 'a-z'` + gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}" + AC_CACHE_CHECK([for working $gl_fnmatch_required fnmatch], + [$gl_fnmatch_cache_var], + [dnl Some versions of Solaris, SCO, and the GNU C Library + dnl have a broken or incompatible fnmatch. + dnl So we run a test program. If we are cross-compiling, take no chance. + dnl Thanks to John Oleynick, François Pinard, and Paul Eggert for this + dnl test. + if test $gl_fnmatch_required = GNU; then + gl_fnmatch_gnu_start= + gl_fnmatch_gnu_end= + else + gl_fnmatch_gnu_start='#if 0' + gl_fnmatch_gnu_end='#endif' + fi + AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[#include + static int + y (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == 0; + } + static int + n (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == FNM_NOMATCH; + } + ]], + [[char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]"; + char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]"; + static char const A_1[] = { 'A' - 1, 0 }; + static char const A01[] = { 'A' + 1, 0 }; + static char const a_1[] = { 'a' - 1, 0 }; + static char const a01[] = { 'a' + 1, 0 }; + static char const bs_1[] = { '\\\\' - 1, 0 }; + static char const bs01[] = { '\\\\' + 1, 0 }; + return + !(n ("a*", "", 0) + && y ("a*", "abc", 0) + && n ("d*/*1", "d/s/1", FNM_PATHNAME) + && y ("a\\\\bc", "abc", 0) + && n ("a\\\\bc", "abc", FNM_NOESCAPE) + && y ("*x", ".x", 0) + && n ("*x", ".x", FNM_PERIOD) + && y (Apat, "\\\\", 0) && y (Apat, "A", 0) + && y (apat, "\\\\", 0) && y (apat, "a", 0) + && n (Apat, A_1, 0) == ('A' < '\\\\') + && n (apat, a_1, 0) == ('a' < '\\\\') + && y (Apat, A01, 0) == ('A' < '\\\\') + && y (apat, a01, 0) == ('a' < '\\\\') + && y (Apat, bs_1, 0) == ('A' < '\\\\') + && y (apat, bs_1, 0) == ('a' < '\\\\') + && n (Apat, bs01, 0) == ('A' < '\\\\') + && n (apat, bs01, 0) == ('a' < '\\\\') + $gl_fnmatch_gnu_start + && y ("xxXX", "xXxX", FNM_CASEFOLD) + && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH) + && n ("d*/*1", "d/s/1", FNM_FILE_NAME) + && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) + $gl_fnmatch_gnu_end + ); + ]])], + [eval "$gl_fnmatch_cache_var=yes"], + [eval "$gl_fnmatch_cache_var=no"], + [eval "$gl_fnmatch_cache_var=\"guessing no\""]) + ]) + eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\"" + if test "$gl_fnmatch_result" = yes; then + dnl Not strictly necessary. Only to avoid spurious leftover files if people + dnl don't do "make distclean". + rm -f "$gl_source_base/fnmatch.h" + else + FNMATCH_H=fnmatch.h + AC_LIBOBJ([fnmatch]) + dnl We must choose a different name for our function, since on ELF systems + dnl a broken fnmatch() in libc.so would override our fnmatch() if it is + dnl compiled into a shared library. + AC_DEFINE_UNQUOTED([fnmatch], [${gl_fnmatch_required_lowercase}_fnmatch], + [Define to a replacement function name for fnmatch().]) + dnl Prerequisites of lib/fnmatch.c. + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + AC_CHECK_DECLS([isblank], [], [], [#include ]) + AC_CHECK_FUNCS_ONCE([btowc isblank iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy]) + AC_CHECK_HEADERS_ONCE([wctype.h]) + fi + AC_SUBST([FNMATCH_H]) +]) +m4trace:m4/fnmatch.m4:116: -1- AC_DEFUN([gl_FUNC_FNMATCH_GNU], [ + m4_divert_text([INIT_PREPARE], [gl_fnmatch_required=GNU]) + + AC_REQUIRE([gl_FUNC_FNMATCH_POSIX]) +]) +m4trace:m4/getdelim.m4:11: -1- AC_DEFUN([gl_FUNC_GETDELIM], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + + dnl Persuade glibc to declare getdelim(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + AC_CHECK_DECLS_ONCE([getdelim]) + + AC_CHECK_FUNCS_ONCE([getdelim]) + if test $ac_cv_func_getdelim = yes; then + dnl Found it in some library. Verify that it works. + AC_CACHE_CHECK([for working getdelim function], [gl_cv_func_working_getdelim], + [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + ]])], [gl_cv_func_working_getdelim=yes] dnl The library version works. + , [gl_cv_func_working_getdelim=no] dnl The library version does NOT work. + , dnl We're cross compiling. Assume it works on glibc2 systems. + [AC_EGREP_CPP([Lucky GNU user], + [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + ], + [gl_cv_func_working_getdelim=yes], + [gl_cv_func_working_getdelim=no])] + )]) + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + AC_LIBOBJ([getdelim]) + gl_PREREQ_GETDELIM + fi +]) +m4trace:m4/getdelim.m4:86: -1- AC_DEFUN([gl_PREREQ_GETDELIM], [ + AC_CHECK_FUNCS([flockfile funlockfile]) + AC_CHECK_DECLS([getc_unlocked]) +]) +m4trace:m4/getline.m4:16: -1- AC_DEFUN([gl_FUNC_GETLINE], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + + dnl Persuade glibc to declare getline(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + AC_CHECK_DECLS_ONCE([getline]) + + gl_getline_needs_run_time_check=no + AC_CHECK_FUNC([getline], + [dnl Found it in some library. Verify that it works. + gl_getline_needs_run_time_check=yes], + [am_cv_func_working_getline=no]) + if test $gl_getline_needs_run_time_check = yes; then + AC_CACHE_CHECK([for working getline function], [am_cv_func_working_getline], + [echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getline (&line, &siz, in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getline (&line, &siz, in) == -1) + return 1; + } + return 0; + } + ]])], [am_cv_func_working_getline=yes] dnl The library version works. + , [am_cv_func_working_getline=no] dnl The library version does NOT work. + , dnl We're cross compiling. Assume it works on glibc2 systems. + [AC_EGREP_CPP([Lucky GNU user], + [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + ], + [am_cv_func_working_getline=yes], + [am_cv_func_working_getline=no])] + )]) + fi + + if test $ac_cv_have_decl_getline = no; then + HAVE_DECL_GETLINE=0 + fi + + if test $am_cv_func_working_getline = no; then + dnl Set REPLACE_GETLINE always: Even if we have not found the broken + dnl getline function among $LIBS, it may exist in libinet and the + dnl executable may be linked with -linet. + REPLACE_GETLINE=1 + AC_LIBOBJ([getline]) + + gl_PREREQ_GETLINE + fi +]) +m4trace:m4/getline.m4:94: -1- AC_DEFUN([gl_PREREQ_GETLINE], [ + gl_FUNC_GETDELIM +]) +m4trace:m4/getopt.m4:8: -1- AC_DEFUN([gl_FUNC_GETOPT_POSIX], [ + m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX]) + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + gl_GETOPT_IFELSE([ + gl_REPLACE_GETOPT + ], + []) +]) +m4trace:m4/getopt.m4:21: -1- AC_DEFUN([gl_FUNC_GETOPT_GNU], [ + m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU]) + + AC_REQUIRE([gl_FUNC_GETOPT_POSIX]) +]) +m4trace:m4/getopt.m4:30: -1- AC_DEFUN([gl_REPLACE_GETOPT], [ + dnl Arrange for getopt.h to be created. + gl_GETOPT_SUBSTITUTE_HEADER + dnl Arrange for unistd.h to include getopt.h. + GNULIB_UNISTD_H_GETOPT=1 + dnl Arrange to compile the getopt implementation. + AC_LIBOBJ([getopt]) + AC_LIBOBJ([getopt1]) + gl_PREREQ_GETOPT +]) +m4trace:m4/getopt.m4:43: -1- AC_DEFUN([gl_GETOPT_IFELSE], [ + AC_REQUIRE([gl_GETOPT_CHECK_HEADERS]) + AS_IF([test -n "$gl_replace_getopt"], [$1], [$2]) +]) +m4trace:m4/getopt.m4:50: -1- AC_DEFUN([gl_GETOPT_CHECK_HEADERS], [ + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON + + dnl Persuade Solaris to declare optarg, optind, opterr, optopt. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + gl_CHECK_NEXT_HEADERS([getopt.h]) + AC_CHECK_HEADERS_ONCE([getopt.h]) + if test $ac_cv_header_getopt_h = yes; then + HAVE_GETOPT_H=1 + else + HAVE_GETOPT_H=0 + fi + AC_SUBST([HAVE_GETOPT_H]) + + gl_replace_getopt= + + dnl Test whether is available. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes]) + fi + + dnl Test whether the function getopt_long is available. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes]) + fi + + dnl BSD getopt_long uses an incompatible method to reset option processing. + dnl Existence of the variable, in and of itself, is not a reason to replace + dnl getopt, but knowledge of the variable is needed to determine how to + dnl reset and whether a reset reparses the environment. + dnl Solaris supports neither optreset nor optind=0, but keeps no state that + dnl needs a reset beyond setting optind=1; detect Solaris by getopt_clip. + if test -z "$gl_replace_getopt"; then + AC_CHECK_DECLS([optreset], [], + [AC_CHECK_DECLS([getopt_clip], [], [], + [[#include ]]) + ], + [[#include ]]) + fi + + dnl mingw's getopt (in libmingwex.a) does weird things when the options + dnl strings starts with '+' and it's not the first call. Some internal state + dnl is left over from earlier calls, and neither setting optind = 0 nor + dnl setting optreset = 1 get rid of this internal state. + dnl POSIX is silent on optind vs. optreset, so we allow either behavior. + dnl POSIX 2008 does not specify leading '+' behavior, but see + dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on + dnl the next version of POSIX. For now, we only guarantee leading '+' + dnl behavior with getopt-gnu. + if test -z "$gl_replace_getopt"; then + AC_CACHE_CHECK([whether getopt is POSIX compatible], + [gl_cv_func_getopt_posix], + [ + dnl This test fails on mingw and succeeds on many other platforms. + AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include +#include +#include + +#if !HAVE_DECL_OPTRESET && !HAVE_DECL_GETOPT_CLIP +# define OPTIND_MIN 0 +#else +# define OPTIND_MIN 1 +#endif + +int +main () +{ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "-a"; + argv[argc++] = "foo"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "ab"); + if (!(c == 'a')) + return 1; + c = getopt (argc, argv, "ab"); + if (!(c == -1)) + return 2; + if (!(optind == 2)) + return 3; + } + /* Some internal state exists at this point. */ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "donald"; + argv[argc++] = "-p"; + argv[argc++] = "billy"; + argv[argc++] = "duck"; + argv[argc++] = "-a"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "+abp:q:"); + if (!(c == -1)) + return 4; + if (!(strcmp (argv[0], "program") == 0)) + return 5; + if (!(strcmp (argv[1], "donald") == 0)) + return 6; + if (!(strcmp (argv[2], "-p") == 0)) + return 7; + if (!(strcmp (argv[3], "billy") == 0)) + return 8; + if (!(strcmp (argv[4], "duck") == 0)) + return 9; + if (!(strcmp (argv[5], "-a") == 0)) + return 10; + if (!(strcmp (argv[6], "bar") == 0)) + return 11; + if (!(optind == 1)) + return 12; + } + /* Detect MacOS 10.5, AIX 7.1 bug. */ + { + char *argv[3] = { "program", "-ab", NULL }; + optind = OPTIND_MIN; + opterr = 0; + if (getopt (2, argv, "ab:") != 'a') + return 13; + if (getopt (2, argv, "ab:") != '?') + return 14; + if (optopt != 'b') + return 15; + if (optind != 2) + return 16; + } + + return 0; +} +]])], + [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no], + [case "$host_os" in + mingw*) gl_cv_func_getopt_posix="guessing no";; + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; + *) gl_cv_func_getopt_posix="guessing yes";; + esac + ]) + ]) + case "$gl_cv_func_getopt_posix" in + *no) gl_replace_getopt=yes ;; + esac + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu], + [# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the + # optstring is necessary for programs like m4 that have POSIX-mandated + # semantics for supporting options interspersed with files. + # Also, since getopt_long is a GNU extension, we require optind=0. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; + # so take care to revert to the correct (non-)export state. +dnl GNU Coding Standards currently allow awk but not env; besides, env +dnl is ambiguous with environment values that contain newlines. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" + #include + #include + ]], [[ + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, + OSF/1 5.1, Solaris 10. */ + { + char *myargv[3]; + myargv[0] = "conftest"; + myargv[1] = "-+"; + myargv[2] = 0; + opterr = 0; + if (getopt (2, myargv, "+a") != '?') + return 1; + } + /* This code succeeds on glibc 2.8, mingw, + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ + { + char *argv[] = { "program", "-p", "foo", "bar", NULL }; + + optind = 1; + if (getopt (4, argv, "p::") != 'p') + return 2; + if (optarg != NULL) + return 3; + if (getopt (4, argv, "p::") != -1) + return 4; + if (optind != 2) + return 5; + } + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ + { + char *argv[] = { "program", "foo", "-p", NULL }; + optind = 0; + if (getopt (3, argv, "-p") != 1) + return 6; + if (getopt (3, argv, "-p") != 'p') + return 7; + } + /* This code fails on glibc 2.11. */ + { + char *argv[] = { "program", "-b", "-a", NULL }; + optind = opterr = 0; + if (getopt (3, argv, "+:a:b") != 'b') + return 8; + if (getopt (3, argv, "+:a:b") != ':') + return 9; + } + return 0; + ]])], + [gl_cv_func_getopt_gnu=yes], + [gl_cv_func_getopt_gnu=no], + [dnl Cross compiling. Guess based on host and declarations. + case $host_os:$ac_cv_have_decl_optreset in + *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;; + *:yes) gl_cv_func_getopt_gnu=no;; + *) gl_cv_func_getopt_gnu=yes;; + esac + ]) + case $gl_had_POSIXLY_CORRECT in + exported) ;; + yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;; + *) AS_UNSET([POSIXLY_CORRECT]) ;; + esac + ]) + if test "$gl_cv_func_getopt_gnu" = "no"; then + gl_replace_getopt=yes + fi + fi +]) +m4trace:m4/getopt.m4:304: -1- AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER], [ + GETOPT_H=getopt.h + AC_DEFINE([__GETOPT_PREFIX], [[rpl_]], + [Define to rpl_ if the getopt replacement functions and variables + should be used.]) + AC_SUBST([GETOPT_H]) +]) +m4trace:m4/getopt.m4:315: -1- AC_DEFUN([gl_PREREQ_GETOPT], [ + AC_CHECK_DECLS_ONCE([getenv]) +]) +m4trace:m4/gettext.m4:57: -1- AC_DEFUN([AM_GNU_GETTEXT], [ + dnl Argument checking. + ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , + [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT +])])])])]) + ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], + [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) + ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , + [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT +])])])]) + define([gt_included_intl], + ifelse([$1], [external], + ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), + [yes])) + define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) + gt_NEEDS_INIT + AM_GNU_GETTEXT_NEED([$2]) + + AC_REQUIRE([AM_PO_SUBDIRS])dnl + ifelse(gt_included_intl, yes, [ + AC_REQUIRE([AM_INTL_SUBDIR])dnl + ]) + + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Sometimes libintl requires libiconv, so first search for libiconv. + dnl Ideally we would do this search only after the + dnl if test "$USE_NLS" = "yes"; then + dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT + dnl the configure script would need to contain the same shell code + dnl again, outside any 'if'. There are two solutions: + dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. + dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. + dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not + dnl documented, we avoid it. + ifelse(gt_included_intl, yes, , [ + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + ]) + + dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. + gt_INTL_MACOSX + + dnl Set USE_NLS. + AC_REQUIRE([AM_NLS]) + + ifelse(gt_included_intl, yes, [ + BUILD_INCLUDED_LIBINTL=no + USE_INCLUDED_LIBINTL=no + ]) + LIBINTL= + LTLIBINTL= + POSUB= + + dnl Add a version number to the cache macros. + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + dnl If we use NLS figure out what method + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + ifelse(gt_included_intl, yes, [ + AC_MSG_CHECKING([whether included gettext is requested]) + AC_ARG_WITH([included-gettext], + [ --with-included-gettext use the GNU gettext library included here], + nls_cv_force_use_gnu_gettext=$withval, + nls_cv_force_use_gnu_gettext=no) + AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + ]) + dnl User does not insist on using GNU NLS library. Figure out what + dnl to use. If GNU gettext is available we use this. Else we have + dnl to fall back to GNU NLS library. + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; + ]], + [[ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings + ]])], + [eval "$gt_func_gnugettext_libc=yes"], + [eval "$gt_func_gnugettext_libc=no"])]) + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + dnl Sometimes libintl requires libiconv, so first search for libiconv. + ifelse(gt_included_intl, yes, , [ + AM_ICONV_LINK + ]) + dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL + dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) + dnl because that would add "-liconv" to LIBINTL and LTLIBINTL + dnl even if libiconv doesn't exist. + AC_LIB_LINKFLAGS_BODY([intl]) + AC_CACHE_CHECK([for GNU gettext in libintl], + [$gt_func_gnugettext_libintl], + [gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + dnl Now see whether libintl exists and does not depend on libiconv. + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + ]], + [[ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + ]])], + [eval "$gt_func_gnugettext_libintl=yes"], + [eval "$gt_func_gnugettext_libintl=no"]) + dnl Now see whether libintl exists and depends on libiconv. + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + ]], + [[ +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + ]])], + [LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + ]) + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS"]) + fi + + dnl If an already present or preinstalled GNU gettext() is found, + dnl use it. But if this macro is used in GNU gettext, and GNU + dnl gettext is already preinstalled in libintl, we update this + dnl libintl. (Cf. the install rule in intl/Makefile.in.) + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + dnl Reset the values set by searching for libintl. + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + ifelse(gt_included_intl, yes, [ + if test "$gt_use_preinstalled_gnugettext" != "yes"; then + dnl GNU gettext is not found in the C library. + dnl Fall back on included GNU gettext library. + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions used to generate GNU NLS library. + BUILD_INCLUDED_LIBINTL=yes + USE_INCLUDED_LIBINTL=yes + LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" + LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi + + CATOBJEXT= + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions to use GNU gettext tools. + CATOBJEXT=.gmo + fi + ]) + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Some extra flags are needed during linking. + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + AC_DEFINE([ENABLE_NLS], [1], + [Define to 1 if translation of program messages to the user's native language + is requested.]) + else + USE_NLS=no + fi + fi + + AC_MSG_CHECKING([whether to use NLS]) + AC_MSG_RESULT([$USE_NLS]) + if test "$USE_NLS" = "yes"; then + AC_MSG_CHECKING([where the gettext function comes from]) + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + AC_MSG_RESULT([$gt_source]) + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + AC_MSG_CHECKING([how to link with libintl]) + AC_MSG_RESULT([$LIBINTL]) + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) + fi + + dnl For backward compatibility. Some packages may be using this. + AC_DEFINE([HAVE_GETTEXT], [1], + [Define if the GNU gettext() function is already present or preinstalled.]) + AC_DEFINE([HAVE_DCGETTEXT], [1], + [Define if the GNU dcgettext() function is already present or preinstalled.]) + fi + + dnl We need to process the po/ directory. + POSUB=po + fi + + ifelse(gt_included_intl, yes, [ + dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL + dnl to 'yes' because some of the testsuite requires it. + if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then + BUILD_INCLUDED_LIBINTL=yes + fi + + dnl Make all variables we use known to autoconf. + AC_SUBST([BUILD_INCLUDED_LIBINTL]) + AC_SUBST([USE_INCLUDED_LIBINTL]) + AC_SUBST([CATOBJEXT]) + + dnl For backward compatibility. Some configure.ins may be using this. + nls_cv_header_intl= + nls_cv_header_libgt= + + dnl For backward compatibility. Some Makefiles may be using this. + DATADIRNAME=share + AC_SUBST([DATADIRNAME]) + + dnl For backward compatibility. Some Makefiles may be using this. + INSTOBJEXT=.mo + AC_SUBST([INSTOBJEXT]) + + dnl For backward compatibility. Some Makefiles may be using this. + GENCAT=gencat + AC_SUBST([GENCAT]) + + dnl For backward compatibility. Some Makefiles may be using this. + INTLOBJS= + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + AC_SUBST([INTLOBJS]) + + dnl Enable libtool support if the surrounding package wishes it. + INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix + AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) + ]) + + dnl For backward compatibility. Some Makefiles may be using this. + INTLLIBS="$LIBINTL" + AC_SUBST([INTLLIBS]) + + dnl Make all documented variables known to autoconf. + AC_SUBST([LIBINTL]) + AC_SUBST([LTLIBINTL]) + AC_SUBST([POSUB]) +]) +m4trace:m4/gettext.m4:394: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [ + m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) +]) +m4trace:m4/gettext.m4:401: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) +m4trace:m4/glibc2.m4:10: -1- AC_DEFUN([gt_GLIBC2], [ + AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer], + [ac_cv_gnu_library_2], + [AC_EGREP_CPP([Lucky GNU user], + [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + ], + [ac_cv_gnu_library_2=yes], + [ac_cv_gnu_library_2=no]) + ] + ) + AC_SUBST([GLIBC2]) + GLIBC2="$ac_cv_gnu_library_2" + +]) +m4trace:m4/glibc21.m4:10: -1- AC_DEFUN([gl_GLIBC21], [ + AC_CACHE_CHECK([whether we are using the GNU C Library 2.1 or newer], + [ac_cv_gnu_library_2_1], + [AC_EGREP_CPP([Lucky GNU user], + [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + ], + [ac_cv_gnu_library_2_1=yes], + [ac_cv_gnu_library_2_1=no]) + ] + ) + AC_SUBST([GLIBC21]) + GLIBC21="$ac_cv_gnu_library_2_1" + +]) +m4trace:m4/gnulib-common.m4:9: -1- AC_DEFUN([gl_COMMON], [ + dnl Use AC_REQUIRE here, so that the code is expanded once only. + AC_REQUIRE([gl_00GNULIB]) + AC_REQUIRE([gl_COMMON_BODY]) +]) +m4trace:m4/gnulib-common.m4:14: -1- AC_DEFUN([gl_COMMON_BODY], [ + AH_VERBATIM([isoc99_inline], +[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. + __APPLE__ && __MACH__ test for MacOS X. + __APPLE_CC__ tests for the Apple compiler and its version. + __STDC_VERSION__ tests for the C99 mode. */ +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ +# define __GNUC_STDC_INLINE__ 1 +#endif]) + AH_VERBATIM([unused_parameter], +[/* Define as a marker that can be attached to declarations that might not + be used. This helps to reduce warnings, such as from + GCC -Wunused-parameter. */ +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) +# define _GL_UNUSED __attribute__ ((__unused__)) +#else +# define _GL_UNUSED +#endif +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name + is a misnomer outside of parameter lists. */ +#define _UNUSED_PARAMETER_ _GL_UNUSED +]) + dnl Preparation for running test programs: + dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not + dnl to /dev/tty, so they can be redirected to log files. Such diagnostics + dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ +]) +m4trace:m4/gnulib-common.m4:50: -1- AC_DEFUN([gl_MODULE_INDICATOR_CONDITION], [1]) +m4trace:m4/gnulib-common.m4:55: -1- AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [ + GNULIB_[]m4_translit([[$1]], + [abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=gl_MODULE_INDICATOR_CONDITION +]) +m4trace:m4/gnulib-common.m4:74: -1- AC_DEFUN([gl_MODULE_INDICATOR], [ + AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]], + [abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), + [gl_MODULE_INDICATOR_CONDITION], + [Define to a C preprocessor expression that evaluates to 1 or 0, + depending whether the gnulib module $1 shall be considered present.]) +]) +m4trace:m4/gnulib-common.m4:97: -1- AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [ + AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]], + [abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], + [Define to 1 when the gnulib module $1 should be tested.]) +]) +m4trace:m4/gnulib-common.m4:185: -1- AC_DEFUN([gl_BIGENDIAN], [ + AC_C_BIGENDIAN +]) +m4trace:m4/gnulib-common.m4:195: -1- AC_DEFUN([gl_CACHE_VAL_SILENT], [ + saved_as_echo_n="$as_echo_n" + as_echo_n=':' + AC_CACHE_VAL([$1], [$2]) + as_echo_n="$saved_as_echo_n" +]) +m4trace:m4/gnulib-comp.m4:22: -1- AC_DEFUN([gl_EARLY], [ + m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace + m4_pattern_allow([^gl_ES$])dnl a valid locale name + m4_pattern_allow([^gl_LIBOBJS$])dnl a variable + m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable + AC_REQUIRE([AC_PROG_RANLIB]) + # Code from module alloca: + # Code from module alloca-opt: + # Code from module arg-nonnull: + # Code from module argp: + # Code from module btowc: + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + # Code from module double-slash-root: + # Code from module errno: + # Code from module error: + # Code from module extensions: + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + # Code from module float: + # Code from module fnmatch: + # Code from module getdelim: + # Code from module getline: + # Code from module getopt-gnu: + # Code from module getopt-posix: + # Code from module gettext: + # Code from module gettext-h: + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + # Code from module localcharset: + # Code from module malloc-gnu: + # Code from module malloc-posix: + # Code from module mbrtowc: + # Code from module mbsinit: + # Code from module mbsrtowcs: + # Code from module memchr: + # Code from module mempcpy: + # Code from module multiarch: + # Code from module nl_langinfo: + # Code from module progname: + # Code from module rawmemchr: + # Code from module realloc-posix: + # Code from module regex: + # Code from module size_max: + # Code from module sleep: + # Code from module ssize_t: + # Code from module stdbool: + # Code from module stddef: + # Code from module stdint: + # Code from module stdio: + # Code from module stdlib: + # Code from module strcase: + # Code from module strchrnul: + # Code from module streq: + # Code from module strerror: + # Code from module string: + # Code from module strings: + # Code from module strndup: + # Code from module strnlen: + # Code from module strnlen1: + # Code from module sys_wait: + # Code from module sysexits: + # Code from module unistd: + # Code from module vasnprintf: + # Code from module verify: + # Code from module vsnprintf: + # Code from module warn-on-use: + # Code from module wchar: + # Code from module wcrtomb: + # Code from module wctype: + # Code from module xsize: +]) +m4trace:m4/gnulib-comp.m4:100: -1- AC_DEFUN([gl_INIT], [ + AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) + gl_cond_libtool=false + gl_libdeps= + gl_ltlibdeps= + gl_m4_base='m4' + m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) + m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) + m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) + m4_pushdef([gl_LIBSOURCES_LIST], []) + m4_pushdef([gl_LIBSOURCES_DIR], []) + gl_COMMON + gl_source_base='grub-core/gnulib' + # Code from module alloca: + # Code from module alloca-opt: + gl_FUNC_ALLOCA + # Code from module arg-nonnull: + # Code from module argp: + gl_ARGP + m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=argp_error:2:c-format]) + AM_][XGETTEXT_OPTION([--flag=argp_failure:4:c-format])]) + # Code from module btowc: + gl_FUNC_BTOWC + gl_WCHAR_MODULE_INDICATOR([btowc]) + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + gl_DIRNAME_LGPL + # Code from module double-slash-root: + gl_DOUBLE_SLASH_ROOT + # Code from module errno: + gl_HEADER_ERRNO_H + # Code from module error: + gl_ERROR + m4_ifdef([AM_XGETTEXT_OPTION], + [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) + AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) + # Code from module extensions: + # Code from module float: + gl_FLOAT_H + # Code from module fnmatch: + gl_FUNC_FNMATCH_POSIX + # Code from module getdelim: + gl_FUNC_GETDELIM + gl_STDIO_MODULE_INDICATOR([getdelim]) + # Code from module getline: + gl_FUNC_GETLINE + gl_STDIO_MODULE_INDICATOR([getline]) + # Code from module getopt-gnu: + gl_FUNC_GETOPT_GNU + gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) + # Code from module getopt-posix: + gl_FUNC_GETOPT_POSIX + # Code from module gettext: + dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. + AM_GNU_GETTEXT_VERSION([0.18.1]) + # Code from module gettext-h: + AC_SUBST([LIBINTL]) + AC_SUBST([LTLIBINTL]) + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + gl_LANGINFO_H + # Code from module localcharset: + gl_LOCALCHARSET + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" + AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) + # Code from module malloc-gnu: + gl_FUNC_MALLOC_GNU + gl_MODULE_INDICATOR([malloc-gnu]) + # Code from module malloc-posix: + gl_FUNC_MALLOC_POSIX + gl_STDLIB_MODULE_INDICATOR([malloc-posix]) + # Code from module mbrtowc: + gl_FUNC_MBRTOWC + gl_WCHAR_MODULE_INDICATOR([mbrtowc]) + # Code from module mbsinit: + gl_FUNC_MBSINIT + gl_WCHAR_MODULE_INDICATOR([mbsinit]) + # Code from module mbsrtowcs: + gl_FUNC_MBSRTOWCS + gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) + # Code from module memchr: + gl_FUNC_MEMCHR + gl_STRING_MODULE_INDICATOR([memchr]) + # Code from module mempcpy: + gl_FUNC_MEMPCPY + gl_STRING_MODULE_INDICATOR([mempcpy]) + # Code from module multiarch: + gl_MULTIARCH + # Code from module nl_langinfo: + gl_FUNC_NL_LANGINFO + gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) + # Code from module progname: + AC_CHECK_DECLS([program_invocation_name], [], [], [#include ]) + AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include ]) + # Code from module rawmemchr: + gl_FUNC_RAWMEMCHR + gl_STRING_MODULE_INDICATOR([rawmemchr]) + # Code from module realloc-posix: + gl_FUNC_REALLOC_POSIX + gl_STDLIB_MODULE_INDICATOR([realloc-posix]) + # Code from module regex: + gl_REGEX + # Code from module size_max: + gl_SIZE_MAX + # Code from module sleep: + gl_FUNC_SLEEP + gl_UNISTD_MODULE_INDICATOR([sleep]) + # Code from module ssize_t: + gt_TYPE_SSIZE_T + # Code from module stdbool: + AM_STDBOOL_H + # Code from module stddef: + gl_STDDEF_H + # Code from module stdint: + gl_STDINT_H + # Code from module stdio: + gl_STDIO_H + # Code from module stdlib: + gl_STDLIB_H + # Code from module strcase: + gl_STRCASE + # Code from module strchrnul: + gl_FUNC_STRCHRNUL + gl_STRING_MODULE_INDICATOR([strchrnul]) + # Code from module streq: + # Code from module strerror: + gl_FUNC_STRERROR + gl_STRING_MODULE_INDICATOR([strerror]) + # Code from module string: + gl_HEADER_STRING_H + # Code from module strings: + gl_HEADER_STRINGS_H + # Code from module strndup: + gl_FUNC_STRNDUP + gl_STRING_MODULE_INDICATOR([strndup]) + # Code from module strnlen: + gl_FUNC_STRNLEN + gl_STRING_MODULE_INDICATOR([strnlen]) + # Code from module strnlen1: + # Code from module sys_wait: + gl_SYS_WAIT_H + AC_PROG_MKDIR_P + # Code from module sysexits: + gl_SYSEXITS + # Code from module unistd: + gl_UNISTD_H + # Code from module vasnprintf: + gl_FUNC_VASNPRINTF + # Code from module verify: + # Code from module vsnprintf: + gl_FUNC_VSNPRINTF + gl_STDIO_MODULE_INDICATOR([vsnprintf]) + # Code from module warn-on-use: + # Code from module wchar: + gl_WCHAR_H + # Code from module wcrtomb: + gl_FUNC_WCRTOMB + gl_WCHAR_MODULE_INDICATOR([wcrtomb]) + # Code from module wctype: + gl_WCTYPE_H + # Code from module xsize: + gl_XSIZE + # End of code from modules + m4_ifval(gl_LIBSOURCES_LIST, [ + m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || + for gl_file in ]gl_LIBSOURCES_LIST[ ; do + if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then + echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 + exit 1 + fi + done])dnl + m4_if(m4_sysval, [0], [], + [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) + ]) + m4_popdef([gl_LIBSOURCES_DIR]) + m4_popdef([gl_LIBSOURCES_LIST]) + m4_popdef([AC_LIBSOURCES]) + m4_popdef([AC_REPLACE_FUNCS]) + m4_popdef([AC_LIBOBJ]) + AC_CONFIG_COMMANDS_PRE([ + gl_libobjs= + gl_ltlibobjs= + if test -n "$gl_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gl_libobjs="$gl_libobjs $i.$ac_objext" + gl_ltlibobjs="$gl_ltlibobjs $i.lo" + done + fi + AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) + AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) + ]) + gltests_libdeps= + gltests_ltlibdeps= + m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) + m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) + m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) + m4_pushdef([gltests_LIBSOURCES_LIST], []) + m4_pushdef([gltests_LIBSOURCES_DIR], []) + gl_COMMON + gl_source_base='tests' +changequote(,)dnl + gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS +changequote([, ])dnl + AC_SUBST([gltests_WITNESS]) + gl_module_indicator_condition=$gltests_WITNESS + m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) + m4_popdef([gl_MODULE_INDICATOR_CONDITION]) + m4_ifval(gltests_LIBSOURCES_LIST, [ + m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || + for gl_file in ]gltests_LIBSOURCES_LIST[ ; do + if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then + echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 + exit 1 + fi + done])dnl + m4_if(m4_sysval, [0], [], + [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) + ]) + m4_popdef([gltests_LIBSOURCES_DIR]) + m4_popdef([gltests_LIBSOURCES_LIST]) + m4_popdef([AC_LIBSOURCES]) + m4_popdef([AC_REPLACE_FUNCS]) + m4_popdef([AC_LIBOBJ]) + AC_CONFIG_COMMANDS_PRE([ + gltests_libobjs= + gltests_ltlibobjs= + if test -n "$gltests_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gltests_libobjs="$gltests_libobjs $i.$ac_objext" + gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" + done + fi + AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) + AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) + ]) + LIBGNU_LIBDEPS="$gl_libdeps" + AC_SUBST([LIBGNU_LIBDEPS]) + LIBGNU_LTLIBDEPS="$gl_ltlibdeps" + AC_SUBST([LIBGNU_LTLIBDEPS]) +]) +m4trace:m4/gnulib-comp.m4:352: -1- AC_DEFUN([gl_LIBOBJ], [ + AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl + gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" +]) +m4trace:m4/gnulib-comp.m4:359: -1- AC_DEFUN([gl_REPLACE_FUNCS], [ + m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl + AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) +]) +m4trace:m4/gnulib-comp.m4:368: -1- AC_DEFUN([gl_LIBSOURCES], [ + m4_foreach([_gl_NAME], [$1], [ + m4_if(_gl_NAME, [alloca.c], [], [ + m4_define([gl_LIBSOURCES_DIR], [grub-core/gnulib]) + m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) + ]) + ]) +]) +m4trace:m4/gnulib-comp.m4:379: -1- AC_DEFUN([gltests_LIBOBJ], [ + AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl + gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" +]) +m4trace:m4/gnulib-comp.m4:386: -1- AC_DEFUN([gltests_REPLACE_FUNCS], [ + m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl + AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) +]) +m4trace:m4/gnulib-comp.m4:395: -1- AC_DEFUN([gltests_LIBSOURCES], [ + m4_foreach([_gl_NAME], [$1], [ + m4_if(_gl_NAME, [alloca.c], [], [ + m4_define([gltests_LIBSOURCES_DIR], [tests]) + m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) + ]) + ]) +]) +m4trace:m4/gnulib-comp.m4:406: -1- AC_DEFUN([gl_FILE_LIST], [ + build-aux/arg-nonnull.h + build-aux/c++defs.h + build-aux/config.rpath + build-aux/warn-on-use.h + lib/alloca.c + lib/alloca.in.h + lib/argp-ba.c + lib/argp-eexst.c + lib/argp-fmtstream.c + lib/argp-fmtstream.h + lib/argp-fs-xinl.c + lib/argp-help.c + lib/argp-namefrob.h + lib/argp-parse.c + lib/argp-pin.c + lib/argp-pv.c + lib/argp-pvh.c + lib/argp-xinl.c + lib/argp.h + lib/asnprintf.c + lib/basename-lgpl.c + lib/btowc.c + lib/config.charset + lib/dirname-lgpl.c + lib/dirname.h + lib/errno.in.h + lib/error.c + lib/error.h + lib/float+.h + lib/float.in.h + lib/fnmatch.c + lib/fnmatch.in.h + lib/fnmatch_loop.c + lib/getdelim.c + lib/getline.c + lib/getopt.c + lib/getopt.in.h + lib/getopt1.c + lib/getopt_int.h + lib/gettext.h + lib/intprops.h + lib/langinfo.in.h + lib/localcharset.c + lib/localcharset.h + lib/malloc.c + lib/mbrtowc.c + lib/mbsinit.c + lib/mbsrtowcs-state.c + lib/mbsrtowcs.c + lib/memchr.c + lib/memchr.valgrind + lib/mempcpy.c + lib/nl_langinfo.c + lib/printf-args.c + lib/printf-args.h + lib/printf-parse.c + lib/printf-parse.h + lib/progname.c + lib/progname.h + lib/rawmemchr.c + lib/rawmemchr.valgrind + lib/realloc.c + lib/ref-add.sin + lib/ref-del.sin + lib/regcomp.c + lib/regex.c + lib/regex.h + lib/regex_internal.c + lib/regex_internal.h + lib/regexec.c + lib/size_max.h + lib/sleep.c + lib/stdbool.in.h + lib/stddef.in.h + lib/stdint.in.h + lib/stdio-write.c + lib/stdio.in.h + lib/stdlib.in.h + lib/strcasecmp.c + lib/strchrnul.c + lib/strchrnul.valgrind + lib/streq.h + lib/strerror.c + lib/string.in.h + lib/strings.in.h + lib/stripslash.c + lib/strncasecmp.c + lib/strndup.c + lib/strnlen.c + lib/strnlen1.c + lib/strnlen1.h + lib/sys_wait.in.h + lib/sysexits.in.h + lib/unistd.in.h + lib/vasnprintf.c + lib/vasnprintf.h + lib/verify.h + lib/vsnprintf.c + lib/wchar.in.h + lib/wcrtomb.c + lib/wctype.in.h + lib/xsize.h + m4/00gnulib.m4 + m4/alloca.m4 + m4/argp.m4 + m4/asm-underscore.m4 + m4/btowc.m4 + m4/codeset.m4 + m4/dirname.m4 + m4/dos.m4 + m4/double-slash-root.m4 + m4/errno_h.m4 + m4/error.m4 + m4/extensions.m4 + m4/fcntl-o.m4 + m4/float_h.m4 + m4/fnmatch.m4 + m4/getdelim.m4 + m4/getline.m4 + m4/getopt.m4 + m4/gettext.m4 + m4/glibc2.m4 + m4/glibc21.m4 + m4/gnulib-common.m4 + m4/iconv.m4 + m4/include_next.m4 + m4/intdiv0.m4 + m4/intl.m4 + m4/intldir.m4 + m4/intlmacosx.m4 + m4/intmax.m4 + m4/intmax_t.m4 + m4/inttypes-pri.m4 + m4/inttypes_h.m4 + m4/langinfo_h.m4 + m4/lcmessage.m4 + m4/lib-ld.m4 + m4/lib-link.m4 + m4/lib-prefix.m4 + m4/localcharset.m4 + m4/locale-fr.m4 + m4/locale-ja.m4 + m4/locale-zh.m4 + m4/lock.m4 + m4/longlong.m4 + m4/malloc.m4 + m4/mbrtowc.m4 + m4/mbsinit.m4 + m4/mbsrtowcs.m4 + m4/mbstate_t.m4 + m4/memchr.m4 + m4/mempcpy.m4 + m4/mmap-anon.m4 + m4/multiarch.m4 + m4/nl_langinfo.m4 + m4/nls.m4 + m4/po.m4 + m4/printf-posix.m4 + m4/printf.m4 + m4/progtest.m4 + m4/rawmemchr.m4 + m4/realloc.m4 + m4/regex.m4 + m4/size_max.m4 + m4/sleep.m4 + m4/ssize_t.m4 + m4/stdbool.m4 + m4/stddef_h.m4 + m4/stdint.m4 + m4/stdint_h.m4 + m4/stdio_h.m4 + m4/stdlib_h.m4 + m4/strcase.m4 + m4/strchrnul.m4 + m4/strerror.m4 + m4/string_h.m4 + m4/strings_h.m4 + m4/strndup.m4 + m4/strnlen.m4 + m4/sys_wait_h.m4 + m4/sysexits.m4 + m4/threadlib.m4 + m4/uintmax_t.m4 + m4/unistd_h.m4 + m4/vasnprintf.m4 + m4/visibility.m4 + m4/vsnprintf.m4 + m4/warn-on-use.m4 + m4/wchar_h.m4 + m4/wchar_t.m4 + m4/wcrtomb.m4 + m4/wctype_h.m4 + m4/wint_t.m4 + m4/xsize.m4 +]) +m4trace:m4/iconv.m4:9: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([iconv]) +]) +m4trace:m4/iconv.m4:20: -1- AC_DEFUN([AM_ICONV_LINK], [ + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and + dnl those with the standalone portable GNU libiconv installed). + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + + dnl Add $INCICONV to CPPFLAGS before performing the following checks, + dnl because if the user has installed libiconv and not disabled its use + dnl via --without-libiconv-prefix, he wants to use it. The first + dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. + am_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) + + AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include + ]], + [[iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);]])], + [am_cv_func_iconv=yes]) + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include + ]], + [[iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);]])], + [am_cv_lib_iconv=yes] + [am_cv_func_iconv=yes]) + LIBS="$am_save_LIBS" + fi + ]) + if test "$am_cv_func_iconv" = yes; then + AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ + dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, + dnl Solaris 10. + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +int main () +{ + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful + returns. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + const char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + return 1; + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + return 1; + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + if (/* Try standardized names. */ + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) + /* Try IRIX, OSF/1 names. */ + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) + /* Try AIX names. */ + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) + /* Try HP-UX names. */ + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + return 1; + return 0; +}]])], + [am_cv_func_iconv_works=yes], + [am_cv_func_iconv_works=no], + [ +changequote(,)dnl + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac +changequote([,])dnl + ]) + LIBS="$am_save_LIBS" + ]) + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + AC_DEFINE([HAVE_ICONV], [1], + [Define if you have the iconv() function and it works.]) + fi + if test "$am_cv_lib_iconv" = yes; then + AC_MSG_CHECKING([how to link with libiconv]) + AC_MSG_RESULT([$LIBICONV]) + else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + AC_SUBST([LIBICONV]) + AC_SUBST([LTLIBICONV]) +]) +m4trace:m4/iconv.m4:225: -1- AC_DEFUN_ONCE([AM_ICONV], [ + AM_ICONV_LINK + if test "$am_cv_func_iconv" = yes; then + AC_MSG_CHECKING([for iconv declaration]) + AC_CACHE_VAL([am_cv_proto_iconv], [ + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + ]], + [[]])], + [am_cv_proto_iconv_arg1=""], + [am_cv_proto_iconv_arg1="const"]) + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + AC_MSG_RESULT([ + $am_cv_proto_iconv]) + AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], + [Define as const if the declaration of iconv() needs const.]) + fi +]) +m4trace:m4/include_next.m4:28: -1- AC_DEFUN([gl_INCLUDE_NEXT], [ + AC_LANG_PREPROC_REQUIRE() + AC_CACHE_CHECK([whether the preprocessor supports include_next], + [gl_cv_have_include_next], + [rm -rf conftestd1a conftestd1b conftestd2 + mkdir conftestd1a conftestd1b conftestd2 + dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on + dnl AIX 6.1 support include_next when used as first preprocessor directive + dnl in a file, but not when preceded by another include directive. Check + dnl for this bug by including . + dnl Additionally, with this same compiler, include_next is a no-op when + dnl used in a header file that was included by specifying its absolute + dnl file name. Despite these two bugs, include_next is used in the + dnl compiler's . By virtue of the second bug, we need to use + dnl include_next as well in this case. + cat < conftestd1a/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd1b/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd2/conftest.h +#ifndef DEFINED_IN_CONFTESTD1 +#error "include_next test doesn't work" +#endif +#define DEFINED_IN_CONFTESTD2 +EOF + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" +dnl We intentionally avoid using AC_LANG_SOURCE here. + AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], + [gl_cv_have_include_next=yes], + [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" + AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], + [gl_cv_have_include_next=buggy], + [gl_cv_have_include_next=no]) + ]) + CPPFLAGS="$gl_save_CPPFLAGS" + rm -rf conftestd1a conftestd1b conftestd2 + ]) + PRAGMA_SYSTEM_HEADER= + if test $gl_cv_have_include_next = yes; then + INCLUDE_NEXT=include_next + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + if test -n "$GCC"; then + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' + fi + else + if test $gl_cv_have_include_next = buggy; then + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + else + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include + fi + fi + AC_SUBST([INCLUDE_NEXT]) + AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) + AC_SUBST([PRAGMA_SYSTEM_HEADER]) +]) +m4trace:m4/include_next.m4:125: -1- AC_DEFUN([gl_CHECK_NEXT_HEADERS], [ + AC_REQUIRE([gl_INCLUDE_NEXT]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_CHECK_HEADERS_ONCE([$1]) + + m4_foreach_w([gl_HEADER_NAME], [$1], + [AS_VAR_PUSHDEF([gl_next_header], + [gl_cv_next_]m4_defn([gl_HEADER_NAME])) + if test $gl_cv_have_include_next = yes; then + AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) + else + AC_CACHE_CHECK( + [absolute name of <]m4_defn([gl_HEADER_NAME])[>], + m4_defn([gl_next_header]), + [AS_VAR_PUSHDEF([gl_header_exists], + [ac_cv_header_]m4_defn([gl_HEADER_NAME])) + if test AS_VAR_GET(gl_header_exists) = yes; then + AC_LANG_CONFTEST( + [AC_LANG_SOURCE( + [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]] + )]) + dnl AIX "xlc -E" and "cc -E" omit #line directives for header files + dnl that contain only a #include of other header files and no + dnl non-comment tokens of their own. This leads to a failure to + dnl detect the absolute name of , , + dnl and others. The workaround is to force preservation of comments + dnl through option -C. This ensures all necessary #line directives + dnl are present. GCC supports option -C as well. + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + dnl eval is necessary to expand gl_absname_cpp. + dnl Ultrix and Pyramid sh refuse to redirect output of eval, + dnl so use subshell. + AS_VAR_SET([gl_next_header], + ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | + sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{ + s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"']) + else + AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>']) + fi + AS_VAR_POPDEF([gl_header_exists])]) + fi + AC_SUBST( + AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), + [AS_VAR_GET([gl_next_header])]) + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'gl_HEADER_NAME'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=AS_VAR_GET([gl_next_header]) + fi + AC_SUBST( + AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), + [$gl_next_as_first_directive]) + AS_VAR_POPDEF([gl_next_header])]) +]) +m4trace:m4/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [ + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + + AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], + gt_cv_int_divbyzero_sigfpe, + [ + gt_cv_int_divbyzero_sigfpe= +changequote(,)dnl + case "$host_os" in + macos* | darwin[6-9]* | darwin[1-9][0-9]*) + # On MacOS X 10.2 or newer, just assume the same as when cross- + # compiling. If we were to perform the real test, 1 Crash Report + # dialog window would pop up. + case "$host_cpu" in + i[34567]86 | x86_64) + gt_cv_int_divbyzero_sigfpe="guessing yes" ;; + esac + ;; + esac +changequote([,])dnl + if test -z "$gt_cv_int_divbyzero_sigfpe"; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include + +static void +sigfpe_handler (int sig) +{ + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ + exit (sig != SIGFPE); +} + +int x = 1; +int y = 0; +int z; +int nan; + +int main () +{ + signal (SIGFPE, sigfpe_handler); +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) + signal (SIGTRAP, sigfpe_handler); +#endif +/* Linux/SPARC yields signal SIGILL. */ +#if defined (__sparc__) && defined (__linux__) + signal (SIGILL, sigfpe_handler); +#endif + + z = x / y; + nan = y / y; + exit (1); +} +]])], + [gt_cv_int_divbyzero_sigfpe=yes], + [gt_cv_int_divbyzero_sigfpe=no], + [ + # Guess based on the CPU. +changequote(,)dnl + case "$host_cpu" in + alpha* | i[34567]86 | x86_64 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; + esac +changequote([,])dnl + ]) + fi + ]) + case "$gt_cv_int_divbyzero_sigfpe" in + *yes) value=1;; + *) value=0;; + esac + AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value], + [Define if integer division by zero raises signal SIGFPE.]) +]) +m4trace:m4/intl.m4:25: -1- AC_DEFUN([AM_INTL_SUBDIR], [ + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([gt_GLIBC2])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([gl_VISIBILITY])dnl + AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl + AC_REQUIRE([gt_TYPE_WCHAR_T])dnl + AC_REQUIRE([gt_TYPE_WINT_T])dnl + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([gt_TYPE_INTMAX_T]) + AC_REQUIRE([gt_PRINTF_POSIX]) + AC_REQUIRE([gl_GLIBC21])dnl + AC_REQUIRE([gl_XSIZE])dnl + AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl + AC_REQUIRE([gt_INTL_MACOSX])dnl + + dnl Support for automake's --enable-silent-rules. + case "$enable_silent_rules" in + yes) INTL_DEFAULT_VERBOSITY=0;; + no) INTL_DEFAULT_VERBOSITY=1;; + *) INTL_DEFAULT_VERBOSITY=1;; + esac + AC_SUBST([INTL_DEFAULT_VERBOSITY]) + + AC_CHECK_TYPE([ptrdiff_t], , + [AC_DEFINE([ptrdiff_t], [long], + [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) + ]) + AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) + AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \ + snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) + + dnl Use the _snprintf function only if it is declared (because on NetBSD it + dnl is defined as a weak alias of snprintf; we prefer to use the latter). + gt_CHECK_DECL(_snprintf, [#include ]) + gt_CHECK_DECL(_snwprintf, [#include ]) + + dnl Use the *_unlocked functions only if they are declared. + dnl (because some of them were defined without being declared in Solaris + dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built + dnl on Solaris 2.5.1 to run on Solaris 2.6). + dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. + gt_CHECK_DECL(getc_unlocked, [#include ]) + + case $gt_cv_func_printf_posix in + *yes) HAVE_POSIX_PRINTF=1 ;; + *) HAVE_POSIX_PRINTF=0 ;; + esac + AC_SUBST([HAVE_POSIX_PRINTF]) + if test "$ac_cv_func_asprintf" = yes; then + HAVE_ASPRINTF=1 + else + HAVE_ASPRINTF=0 + fi + AC_SUBST([HAVE_ASPRINTF]) + if test "$ac_cv_func_snprintf" = yes; then + HAVE_SNPRINTF=1 + else + HAVE_SNPRINTF=0 + fi + AC_SUBST([HAVE_SNPRINTF]) + if test "$ac_cv_func_newlocale" = yes; then + HAVE_NEWLOCALE=1 + else + HAVE_NEWLOCALE=0 + fi + AC_SUBST([HAVE_NEWLOCALE]) + if test "$ac_cv_func_wprintf" = yes; then + HAVE_WPRINTF=1 + else + HAVE_WPRINTF=0 + fi + AC_SUBST([HAVE_WPRINTF]) + + AM_LANGINFO_CODESET + gt_LC_MESSAGES + + dnl Compilation on mingw and Cygwin needs special Makefile rules, because + dnl 1. when we install a shared library, we must arrange to export + dnl auxiliary pointer variables for every exported variable, + dnl 2. when we install a shared library and a static library simultaneously, + dnl the include file specifies __declspec(dllimport) and therefore we + dnl must arrange to define the auxiliary pointer variables for the + dnl exported variables _also_ in the static library. + if test "$enable_shared" = yes; then + case "$host_os" in + mingw* | cygwin*) is_woe32dll=yes ;; + *) is_woe32dll=no ;; + esac + else + is_woe32dll=no + fi + WOE32DLL=$is_woe32dll + AC_SUBST([WOE32DLL]) + + dnl On mingw and Cygwin, we can activate special Makefile rules which add + dnl version information to the shared libraries and executables. + case "$host_os" in + mingw* | cygwin*) is_woe32=yes ;; + *) is_woe32=no ;; + esac + WOE32=$is_woe32 + AC_SUBST([WOE32]) + if test $WOE32 = yes; then + dnl Check for a program that compiles Windows resource files. + AC_CHECK_TOOL([WINDRES], [windres]) + fi + + dnl Determine whether when creating a library, "-lc" should be passed to + dnl libtool or not. On many platforms, it is required for the libtool option + dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool + dnl in the *.la files - makes it impossible to create multithreaded programs, + dnl because libtool also reorders the -lc to come before the -pthread, and + dnl this disables pthread_create() . + case "$host_os" in + hpux*) LTLIBC="" ;; + *) LTLIBC="-lc" ;; + esac + AC_SUBST([LTLIBC]) + + dnl Rename some macros and functions used for locking. + AH_BOTTOM([ +#define __libc_lock_t gl_lock_t +#define __libc_lock_define gl_lock_define +#define __libc_lock_define_initialized gl_lock_define_initialized +#define __libc_lock_init gl_lock_init +#define __libc_lock_lock gl_lock_lock +#define __libc_lock_unlock gl_lock_unlock +#define __libc_lock_recursive_t gl_recursive_lock_t +#define __libc_lock_define_recursive gl_recursive_lock_define +#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized +#define __libc_lock_init_recursive gl_recursive_lock_init +#define __libc_lock_lock_recursive gl_recursive_lock_lock +#define __libc_lock_unlock_recursive gl_recursive_lock_unlock +#define glthread_in_use libintl_thread_in_use +#define glthread_lock_init_func libintl_lock_init_func +#define glthread_lock_lock_func libintl_lock_lock_func +#define glthread_lock_unlock_func libintl_lock_unlock_func +#define glthread_lock_destroy_func libintl_lock_destroy_func +#define glthread_rwlock_init_multithreaded libintl_rwlock_init_multithreaded +#define glthread_rwlock_init_func libintl_rwlock_init_func +#define glthread_rwlock_rdlock_multithreaded libintl_rwlock_rdlock_multithreaded +#define glthread_rwlock_rdlock_func libintl_rwlock_rdlock_func +#define glthread_rwlock_wrlock_multithreaded libintl_rwlock_wrlock_multithreaded +#define glthread_rwlock_wrlock_func libintl_rwlock_wrlock_func +#define glthread_rwlock_unlock_multithreaded libintl_rwlock_unlock_multithreaded +#define glthread_rwlock_unlock_func libintl_rwlock_unlock_func +#define glthread_rwlock_destroy_multithreaded libintl_rwlock_destroy_multithreaded +#define glthread_rwlock_destroy_func libintl_rwlock_destroy_func +#define glthread_recursive_lock_init_multithreaded libintl_recursive_lock_init_multithreaded +#define glthread_recursive_lock_init_func libintl_recursive_lock_init_func +#define glthread_recursive_lock_lock_multithreaded libintl_recursive_lock_lock_multithreaded +#define glthread_recursive_lock_lock_func libintl_recursive_lock_lock_func +#define glthread_recursive_lock_unlock_multithreaded libintl_recursive_lock_unlock_multithreaded +#define glthread_recursive_lock_unlock_func libintl_recursive_lock_unlock_func +#define glthread_recursive_lock_destroy_multithreaded libintl_recursive_lock_destroy_multithreaded +#define glthread_recursive_lock_destroy_func libintl_recursive_lock_destroy_func +#define glthread_once_func libintl_once_func +#define glthread_once_singlethreaded libintl_once_singlethreaded +#define glthread_once_multithreaded libintl_once_multithreaded +]) +]) +m4trace:m4/intl.m4:211: -1- AC_DEFUN([gt_INTL_SUBDIR_CORE], [ + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([gl_AC_HEADER_STDINT_H]) + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([gt_INTDIV0])dnl + AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl + AC_REQUIRE([gt_INTTYPES_PRI])dnl + AC_REQUIRE([gl_LOCK])dnl + + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }]], + [[]])], + [AC_DEFINE([HAVE_BUILTIN_EXPECT], [1], + [Define to 1 if the compiler understands __builtin_expect.])]) + + AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h]) + AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \ + stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \ + argz_stringify argz_next __fsetlocking]) + + dnl Use the *_unlocked functions only if they are declared. + dnl (because some of them were defined without being declared in Solaris + dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built + dnl on Solaris 2.5.1 to run on Solaris 2.6). + dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. + gt_CHECK_DECL([feof_unlocked], [#include ]) + gt_CHECK_DECL([fgets_unlocked], [#include ]) + + AM_ICONV + + dnl intl/plural.c is generated from intl/plural.y. It requires bison, + dnl because plural.y uses bison specific features. It requires at least + dnl bison-1.26 because earlier versions generate a plural.c that doesn't + dnl compile. + dnl bison is only needed for the maintainer (who touches plural.y). But in + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put + dnl the rule in general Makefile. Now, some people carelessly touch the + dnl files or have a broken "make" program, hence the plural.c rule will + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not + dnl present or too old. + AC_CHECK_PROGS([INTLBISON], [bison]) + if test -z "$INTLBISON"; then + ac_verc_fail=yes + else + dnl Found it, now check the version. + AC_MSG_CHECKING([version of bison]) +changequote(<<,>>)dnl + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +changequote([,])dnl + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + esac + AC_MSG_RESULT([$ac_prog_version]) + fi + if test $ac_verc_fail = yes; then + INTLBISON=: + fi +]) +m4trace:m4/intl.m4:280: -1- AC_DEFUN([gt_CHECK_DECL], [ + AC_CACHE_CHECK([whether $1 is declared], [ac_cv_have_decl_$1], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[$2]], + [[ +#ifndef $1 + char *p = (char *) $1; +#endif + ]])], + [ac_cv_have_decl_$1=yes], + [ac_cv_have_decl_$1=no])]) + if test $ac_cv_have_decl_$1 = yes; then + gt_value=1 + else + gt_value=0 + fi + AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], + [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) +]) +m4trace:m4/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [ + dnl Check for API introduced in MacOS X 10.2. + AC_CACHE_CHECK([for CFPreferencesCopyAppValue], + [gt_cv_func_CFPreferencesCopyAppValue], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[CFPreferencesCopyAppValue(NULL, NULL)]])], + [gt_cv_func_CFPreferencesCopyAppValue=yes], + [gt_cv_func_CFPreferencesCopyAppValue=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], + [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) + fi + dnl Check for API introduced in MacOS X 10.3. + AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], + [gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[CFLocaleCopyCurrent();]])], + [gt_cv_func_CFLocaleCopyCurrent=yes], + [gt_cv_func_CFLocaleCopyCurrent=no]) + LIBS="$gt_save_LIBS"]) + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], + [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + AC_SUBST([INTL_MACOSX_LIBS]) +]) +m4trace:m4/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [ + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([gl_AC_HEADER_STDINT_H]) + AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif + ]], + [[intmax_t x = -1; + return !x;]])], + [gt_cv_c_intmax_t=yes], + [gt_cv_c_intmax_t=no])]) + if test $gt_cv_c_intmax_t = yes; then + AC_DEFINE([HAVE_INTMAX_T], [1], + [Define if you have the 'intmax_t' type in or .]) + fi +]) +m4trace:m4/intmax_t.m4:15: -1- AC_DEFUN([gl_AC_TYPE_INTMAX_T], [ + dnl For simplicity, we assume that a header file defines 'intmax_t' if and + dnl only if it defines 'uintmax_t'. + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([gl_AC_HEADER_STDINT_H]) + if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + test $ac_cv_type_long_long_int = yes \ + && ac_type='long long' \ + || ac_type='long' + AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], + [Define to long or long long if and don't define.]) + else + AC_DEFINE([HAVE_INTMAX_T], [1], + [Define if you have the 'intmax_t' type in or .]) + fi +]) +m4trace:m4/intmax_t.m4:36: -1- AC_DEFUN([gt_AC_TYPE_INTMAX_T], [ + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([gl_AC_HEADER_STDINT_H]) + AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif + ]], + [[intmax_t x = -1; return !x;]])], + [gt_cv_c_intmax_t=yes], + [gt_cv_c_intmax_t=no])]) + if test $gt_cv_c_intmax_t = yes; then + AC_DEFINE([HAVE_INTMAX_T], [1], + [Define if you have the 'intmax_t' type in or .]) + else + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + test $ac_cv_type_long_long_int = yes \ + && ac_type='long long' \ + || ac_type='long' + AC_DEFINE_UNQUOTED([intmax_t], [$ac_type], + [Define to long or long long if and don't define.]) + fi +]) +m4trace:m4/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [ + AC_CHECK_HEADERS([inttypes.h]) + if test $ac_cv_header_inttypes_h = yes; then + AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], + [gt_cv_inttypes_pri_broken], + [ + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#ifdef PRId32 +char *p = PRId32; +#endif + ]], + [[]])], + [gt_cv_inttypes_pri_broken=no], + [gt_cv_inttypes_pri_broken=yes]) + ]) + fi + if test "$gt_cv_inttypes_pri_broken" = yes; then + AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1], + [Define if exists and defines unusable PRI* macros.]) + PRI_MACROS_BROKEN=1 + else + PRI_MACROS_BROKEN=0 + fi + AC_SUBST([PRI_MACROS_BROKEN]) +]) +m4trace:m4/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ + AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include + ]], + [[uintmax_t i = (uintmax_t) -1; return !i;]])], + [gl_cv_header_inttypes_h=yes], + [gl_cv_header_inttypes_h=no])]) + if test $gl_cv_header_inttypes_h = yes; then + AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], + [Define if exists, doesn't clash with , + and declares uintmax_t. ]) + fi +]) +m4trace:m4/langinfo_h.m4:7: -1- AC_DEFUN([gl_LANGINFO_H], [ + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) + + dnl Persuade glibc-2.0.6 to define CODESET. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + dnl is always overridden, because of GNULIB_POSIXCHECK. + gl_CHECK_NEXT_HEADERS([langinfo.h]) + + dnl Determine whether exists. It is missing on mingw and BeOS. + HAVE_LANGINFO_CODESET=0 + HAVE_LANGINFO_T_FMT_AMPM=0 + HAVE_LANGINFO_ERA=0 + HAVE_LANGINFO_YESEXPR=0 + AC_CHECK_HEADERS_ONCE([langinfo.h]) + if test $ac_cv_header_langinfo_h = yes; then + HAVE_LANGINFO_H=1 + dnl Determine what defines. CODESET and ERA etc. are missing + dnl on OpenBSD 3.8. T_FMT_AMPM and YESEXPR, NOEXPR are missing on IRIX 5.3. + AC_CACHE_CHECK([whether langinfo.h defines CODESET], + [gl_cv_header_langinfo_codeset], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[#include +int a = CODESET; +]])], + [gl_cv_header_langinfo_codeset=yes], + [gl_cv_header_langinfo_codeset=no]) + ]) + if test $gl_cv_header_langinfo_codeset = yes; then + HAVE_LANGINFO_CODESET=1 + fi + AC_CACHE_CHECK([whether langinfo.h defines T_FMT_AMPM], + [gl_cv_header_langinfo_t_fmt_ampm], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[#include +int a = T_FMT_AMPM; +]])], + [gl_cv_header_langinfo_t_fmt_ampm=yes], + [gl_cv_header_langinfo_t_fmt_ampm=no]) + ]) + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then + HAVE_LANGINFO_T_FMT_AMPM=1 + fi + AC_CACHE_CHECK([whether langinfo.h defines ERA], + [gl_cv_header_langinfo_era], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[#include +int a = ERA; +]])], + [gl_cv_header_langinfo_era=yes], + [gl_cv_header_langinfo_era=no]) + ]) + if test $gl_cv_header_langinfo_era = yes; then + HAVE_LANGINFO_ERA=1 + fi + AC_CACHE_CHECK([whether langinfo.h defines YESEXPR], + [gl_cv_header_langinfo_yesexpr], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[#include +int a = YESEXPR; +]])], + [gl_cv_header_langinfo_yesexpr=yes], + [gl_cv_header_langinfo_yesexpr=no]) + ]) + if test $gl_cv_header_langinfo_yesexpr = yes; then + HAVE_LANGINFO_YESEXPR=1 + fi + else + HAVE_LANGINFO_H=0 + fi + AC_SUBST([HAVE_LANGINFO_H]) + AC_SUBST([HAVE_LANGINFO_CODESET]) + AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM]) + AC_SUBST([HAVE_LANGINFO_ERA]) + AC_SUBST([HAVE_LANGINFO_YESEXPR]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[#include + ]], [nl_langinfo]) +]) +m4trace:m4/langinfo_h.m4:90: -1- AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) +]) +m4trace:m4/langinfo_h.m4:99: -1- AC_DEFUN([gl_LANGINFO_H_DEFAULTS], [ + GNULIB_NL_LANGINFO=0; AC_SUBST([GNULIB_NL_LANGINFO]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_NL_LANGINFO=1; AC_SUBST([HAVE_NL_LANGINFO]) + REPLACE_NL_LANGINFO=0; AC_SUBST([REPLACE_NL_LANGINFO]) +]) +m4trace:m4/lcmessage.m4:22: -1- AC_DEFUN([gt_LC_MESSAGES], [ + AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], + [AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[return LC_MESSAGES]])], + [gt_cv_val_LC_MESSAGES=yes], + [gt_cv_val_LC_MESSAGES=no])]) + if test $gt_cv_val_LC_MESSAGES = yes; then + AC_DEFINE([HAVE_LC_MESSAGES], [1], + [Define if your file defines LC_MESSAGES.]) + fi +]) +m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 /dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL([acl_cv_path_LD], +[if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$acl_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT([$LD]) +else + AC_MSG_RESULT([no]) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_LIB_PROG_LD_GNU +]) +m4trace:m4/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + pushdef([Name],[m4_translit([$1],[./+-], [____])]) + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + AC_SUBST([LIB]NAME[_PREFIX]) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + popdef([NAME]) + popdef([Name]) +]) +m4trace:m4/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + pushdef([Name],[m4_translit([$1],[./+-], [____])]) + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, + dnl because these -l options might require -L options that are present in + dnl LIBS. -l options benefit only from the -L options listed before it. + dnl Otherwise, add it to the front of LIBS, because it may be a static + dnl library that depends on another static library that is present in LIBS. + dnl Static libraries benefit only from the static libraries listed after + dnl it. + case " $LIB[]NAME" in + *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; + *) LIBS="$LIB[]NAME $LIBS" ;; + esac + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[$3]], [[$4]])], + [ac_cv_lib[]Name=yes], + [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + LIB[]NAME[]_PREFIX= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + AC_SUBST([LIB]NAME[_PREFIX]) + popdef([NAME]) + popdef([Name]) +]) +m4trace:m4/lib-link.m4:123: -1- AC_DEFUN([AC_LIB_RPATH], [ + dnl Tell automake >= 1.10 to complain if config.rpath is missing. + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE([rpath], + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) +]) +m4trace:m4/lib-link.m4:159: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [ + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) + define([acl_frompackage_]NAME, [$2]) + popdef([NAME]) + pushdef([PACK],[$2]) + pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) + define([acl_libsinpackage_]PACKUP, + m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) + popdef([PACKUP]) + popdef([PACK]) +]) +m4trace:m4/lib-link.m4:179: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) + pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) + pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) + pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) + dnl Autoconf >= 2.61 supports dots in --with options. + pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_ARG_WITH(P_A_C_K[-prefix], +[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib + --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi +]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + LIB[]NAME[]_PREFIX= + dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been + dnl computed. So it has to be reset here. + HAVE_LIB[]NAME= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + dnl The same code as in the loop below: + dnl First look for a shared library. + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + dnl Then look for a static library. + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + dnl First look for a shared library. + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + dnl Then look for a static library. + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$acl_hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = '$1'; then + LIB[]NAME[]_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = '$1'; then + LIB[]NAME[]_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi + popdef([P_A_C_K]) + popdef([PACKLIBS]) + popdef([PACKUP]) + popdef([PACK]) + popdef([NAME]) +]) +m4trace:m4/lib-link.m4:682: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done +]) +m4trace:m4/lib-link.m4:706: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ + AC_REQUIRE([AC_LIB_RPATH]) + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) + $1= + if test "$enable_rpath" != no; then + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode directories into the resulting + dnl binary. + rpathdirs= + next= + for opt in $2; do + if test -n "$next"; then + dir="$next" + dnl No need to hardcode the standard /usr/lib. + if test "X$dir" != "X/usr/$acl_libdirstem" \ + && test "X$dir" != "X/usr/$acl_libdirstem2"; then + rpathdirs="$rpathdirs $dir" + fi + next= + else + case $opt in + -L) next=yes ;; + -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` + dnl No need to hardcode the standard /usr/lib. + if test "X$dir" != "X/usr/$acl_libdirstem" \ + && test "X$dir" != "X/usr/$acl_libdirstem2"; then + rpathdirs="$rpathdirs $dir" + fi + next= ;; + *) next= ;; + esac + fi + done + if test "X$rpathdirs" != "X"; then + if test -n ""$3""; then + dnl libtool is used for linking. Use -R options. + for dir in $rpathdirs; do + $1="${$1}${$1:+ }-R$dir" + done + else + dnl The linker is used for linking directly. + if test -n "$acl_hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user + dnl must pass all path elements in one option. + alldirs= + for dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + $1="$flag" + else + dnl The -rpath options are cumulative. + for dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + $1="${$1}${$1:+ }$flag" + done + fi + fi + fi + fi + fi + AC_SUBST([$1]) +]) +m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])]) +m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [ + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib-prefix], +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib + --without-lib-prefix don't search for libraries in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + fi + fi +]) + if test $use_additional = yes; then + dnl Potentially add $additional_includedir to $CPPFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's already present in $CPPFLAGS, + dnl 3. if it's /usr/local/include and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + for x in $CPPFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $CPPFLAGS. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" + fi + fi + fi + fi + dnl Potentially add $additional_libdir to $LDFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's already present in $LDFLAGS, + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then + haveit= + for x in $LDFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LDFLAGS. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" + fi + fi + fi + fi + fi +]) +m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ + dnl Unfortunately, prefix and exec_prefix get only finally determined + dnl at the end of configure. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" +]) +m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + $1 + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" +]) +m4trace:m4/lib-prefix.m4:162: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ + dnl There is no formal standard regarding lib and lib64. + dnl On glibc systems, the current practice is that on a system supporting + dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under + dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine + dnl the compiler's default mode by looking at the compiler's library search + dnl path. If at least one of its elements ends in /lib64 or points to a + dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. + dnl Otherwise we use the default, namely "lib". + dnl On Solaris systems, the current practice is that on a system supporting + dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under + dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or + dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. + AC_REQUIRE([AC_CANONICAL_HOST]) + acl_libdirstem=lib + acl_libdirstem2= + case "$host_os" in + solaris*) + dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment + dnl . + dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." + dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the + dnl symlink is missing, so we set acl_libdirstem2 too. + AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], + [AC_EGREP_CPP([sixtyfour bits], [ +#ifdef _LP64 +sixtyfour bits +#endif + ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) + ]) + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; + esac + fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" +]) +m4trace:m4/localcharset.m4:7: -1- AC_DEFUN([gl_LOCALCHARSET], [ + dnl Prerequisites of lib/localcharset.c. + AC_REQUIRE([AM_LANGINFO_CODESET]) + AC_REQUIRE([gl_FCNTL_O_FLAGS]) + AC_CHECK_DECLS_ONCE([getc_unlocked]) + + dnl Prerequisites of the lib/Makefile.am snippet. + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([gl_GLIBC21]) +]) +m4trace:m4/locale-fr.m4:10: -1- AC_DEFUN([gt_LOCALE_FR], [ + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AM_LANGINFO_CODESET]) + AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [ + AC_LANG_CONFTEST([AC_LANG_SOURCE([ +changequote(,)dnl +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only + one byte long. This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} +changequote([,])dnl + ])]) + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO-8859-1 + else + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO8859-1 + else + # Test for the HP-UX locale name. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.iso88591 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr + else + # None found. + gt_cv_locale_fr=none + fi + fi + fi + fi + fi + fi + rm -fr conftest* + ]) + LOCALE_FR=$gt_cv_locale_fr + AC_SUBST([LOCALE_FR]) +]) +m4trace:m4/locale-fr.m4:101: -1- AC_DEFUN([gt_LOCALE_FR_UTF8], [ + AC_REQUIRE([AM_LANGINFO_CODESET]) + AC_CACHE_CHECK([for a french Unicode locale], [gt_cv_locale_fr_utf8], [ + AC_LANG_CONFTEST([AC_LANG_SOURCE([ +changequote(,)dnl +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl + imitates locale dependent behaviour by looking at the environment + variables, and all locales use the UTF-8 encoding. */ +#if !(defined __BEOS__ || defined __HAIKU__) + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +# if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +# endif +# ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +# endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is + two bytes long, with UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 4 + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') + return 1; +#endif + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} +changequote([,])dnl + ])]) + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR.UTF-8 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr.UTF-8 + else + # None found. + gt_cv_locale_fr_utf8=none + fi + fi + fi + fi + rm -fr conftest* + ]) + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 + AC_SUBST([LOCALE_FR_UTF8]) +]) +m4trace:m4/locale-ja.m4:10: -1- AC_DEFUN([gt_LOCALE_JA], [ + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AM_LANGINFO_CODESET]) + AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [ + AC_LANG_CONFTEST([AC_LANG_SOURCE([ +changequote(,)dnl +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales + on Cygwin 1.5.x. */ + if (MB_CUR_MAX == 1) + return 1; + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + return 0; +} +changequote([,])dnl + ])]) + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the AIX locale name. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC-JP + else + # Test for the HP-UX, OSF/1, NetBSD locale name. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.eucJP + else + # Test for the IRIX, FreeBSD locale name. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC + else + # Test for the Solaris 7 locale name. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja + else + # Special test for NetBSD 1.6. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then + gt_cv_locale_ja=ja_JP.eucJP + else + # None found. + gt_cv_locale_ja=none + fi + fi + fi + fi + fi + fi + fi + rm -fr conftest* + ]) + LOCALE_JA=$gt_cv_locale_ja + AC_SUBST([LOCALE_JA]) +]) +m4trace:m4/locale-zh.m4:10: -1- AC_DEFUN([gt_LOCALE_ZH_CN], [ + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AM_LANGINFO_CODESET]) + AC_CACHE_CHECK([for a transitional chinese locale], [gt_cv_locale_zh_CN], [ + AC_LANG_CONFTEST([AC_LANG_SOURCE([ +changequote(,)dnl +#include +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + /* Check whether a typical GB18030 multibyte sequence is recognized as a + single wide character. This excludes the GB2312 and GBK encodings. */ + if (mblen ("\203\062\332\066", 5) != 4) + return 1; + return 0; +} +changequote([,])dnl + ])]) + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the locale name without encoding suffix. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN.GB18030 + else + # None found. + gt_cv_locale_zh_CN=none + fi + fi + else + # If there was a link error, due to mblen(), the system is so old that + # it certainly doesn't have a chinese locale. + gt_cv_locale_zh_CN=none + fi + rm -fr conftest* + ]) + LOCALE_ZH_CN=$gt_cv_locale_zh_CN + AC_SUBST([LOCALE_ZH_CN]) +]) +m4trace:m4/lock.m4:9: -1- AC_DEFUN([gl_LOCK], [ + AC_REQUIRE([gl_THREADLIB]) + if test "$gl_threads_api" = posix; then + # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the + # pthread_rwlock_* functions. + AC_CHECK_TYPE([pthread_rwlock_t], + [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], + [Define if the POSIX multithreading library has read/write locks.])], + [], + [#include ]) + # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM( + [[#include ]], + [[ +#if __FreeBSD__ == 4 +error "No, in FreeBSD 4.0 recursive mutexes actually don't work." +#else +int x = (int)PTHREAD_MUTEX_RECURSIVE; +return !x; +#endif + ]])], + [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], + [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) + fi + gl_PREREQ_LOCK +]) +m4trace:m4/lock.m4:39: -1- AC_DEFUN([gl_PREREQ_LOCK], [ + AC_REQUIRE([AC_C_INLINE]) +]) +m4trace:m4/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ + AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], + [AC_LINK_IFELSE( + [_AC_TYPE_LONG_LONG_SNIPPET], + [dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. + dnl If cross compiling, assume the bug isn't important, since + dnl nobody cross compiles for this platform as far as we know. + AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[@%:@include + @%:@ifndef LLONG_MAX + @%:@ define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + @%:@ define LLONG_MAX (HALF - 1 + HALF) + @%:@endif]], + [[long long int n = 1; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0;]])], + [ac_cv_type_long_long_int=yes], + [ac_cv_type_long_long_int=no], + [ac_cv_type_long_long_int=yes])], + [ac_cv_type_long_long_int=no])]) + if test $ac_cv_type_long_long_int = yes; then + AC_DEFINE([HAVE_LONG_LONG_INT], [1], + [Define to 1 if the system has the type `long long int'.]) + fi +]) +m4trace:m4/longlong.m4:63: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ + AC_CACHE_CHECK([for unsigned long long int], + [ac_cv_type_unsigned_long_long_int], + [AC_LINK_IFELSE( + [_AC_TYPE_LONG_LONG_SNIPPET], + [ac_cv_type_unsigned_long_long_int=yes], + [ac_cv_type_unsigned_long_long_int=no])]) + if test $ac_cv_type_unsigned_long_long_int = yes; then + AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], + [Define to 1 if the system has the type `unsigned long long int'.]) + fi +]) +m4trace:m4/longlong.m4:82: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ + AC_LANG_PROGRAM( + [[/* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63;]], + [[/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull));]]) +]) +m4trace:m4/malloc.m4:11: -1- AC_DEFUN([gl_FUNC_MALLOC_GNU], [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + dnl _AC_FUNC_MALLOC_IF is defined in Autoconf. + _AC_FUNC_MALLOC_IF( + [AC_DEFINE([HAVE_MALLOC_GNU], [1], + [Define to 1 if your system has a GNU libc compatible 'malloc' + function, and to 0 otherwise.])], + [AC_DEFINE([HAVE_MALLOC_GNU], [0]) + gl_REPLACE_MALLOC + ]) +]) +m4trace:m4/malloc.m4:28: -1- AC_DEFUN([gl_FUNC_MALLOC_POSIX], [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) + if test $gl_cv_func_malloc_posix = yes; then + AC_DEFINE([HAVE_MALLOC_POSIX], [1], + [Define if the 'malloc' function is POSIX compliant.]) + else + gl_REPLACE_MALLOC + fi +]) +m4trace:m4/malloc.m4:42: -1- AC_DEFUN([gl_CHECK_MALLOC_POSIX], [ + AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant], + [gl_cv_func_malloc_posix], + [ + dnl It is too dangerous to try to allocate a large amount of memory: + dnl some systems go to their knees when you do that. So assume that + dnl all Unix implementations of the function are POSIX compliant. + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[]], + [[#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + choke me + #endif + ]])], + [gl_cv_func_malloc_posix=yes], + [gl_cv_func_malloc_posix=no]) + ]) +]) +m4trace:m4/malloc.m4:62: -1- AC_DEFUN([gl_REPLACE_MALLOC], [ + AC_LIBOBJ([malloc]) + REPLACE_MALLOC=1 +]) +m4trace:m4/mbrtowc.m4:8: -1- AC_DEFUN([gl_FUNC_MBRTOWC], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + gl_MBSTATE_T_BROKEN + + AC_CHECK_FUNCS_ONCE([mbrtowc]) + if test $ac_cv_func_mbrtowc = no; then + HAVE_MBRTOWC=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBRTOWC=1 + else + gl_MBRTOWC_NULL_ARG + gl_MBRTOWC_RETVAL + gl_MBRTOWC_NUL_RETVAL + case "$gl_cv_func_mbrtowc_null_arg" in + *yes) ;; + *) AC_DEFINE([MBRTOWC_NULL_ARG_BUG], [1], + [Define if the mbrtowc function has the NULL string argument bug.]) + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_retval" in + *yes) ;; + *) AC_DEFINE([MBRTOWC_RETVAL_BUG], [1], + [Define if the mbrtowc function returns a wrong return value.]) + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_nul_retval" in + *yes) ;; + *) AC_DEFINE([MBRTOWC_NUL_RETVAL_BUG], [1], + [Define if the mbrtowc function does not return 0 for a NUL character.]) + REPLACE_MBRTOWC=1 + ;; + esac + fi + fi + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then + gl_REPLACE_WCHAR_H + AC_LIBOBJ([mbrtowc]) + gl_PREREQ_MBRTOWC + fi +]) +m4trace:m4/mbrtowc.m4:61: -1- AC_DEFUN([gl_MBSTATE_T_BROKEN], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + AC_CHECK_FUNCS_ONCE([mbsinit]) + AC_CHECK_FUNCS_ONCE([mbrtowc]) + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + gl_MBRTOWC_INCOMPLETE_STATE + gl_MBRTOWC_SANITYCHECK + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + gl_REPLACE_WCHAR_H + fi +]) +m4trace:m4/mbrtowc.m4:92: -1- AC_DEFUN([gl_MBRTOWC_INCOMPLETE_STATE], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_JA]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether mbrtowc handles incomplete characters], + [gl_cv_func_mbrtowc_incomplete_state], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_JA != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +}]])], + [gl_cv_func_mbrtowc_incomplete_state=yes], + [gl_cv_func_mbrtowc_incomplete_state=no], + [:]) + fi + ]) +]) +m4trace:m4/mbrtowc.m4:141: -1- AC_DEFUN([gl_MBRTOWC_SANITYCHECK], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_ZH_CN]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether mbrtowc works as well as mbtowc], + [gl_cv_func_mbrtowc_sanitycheck], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_ZH_CN != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +}]])], + [gl_cv_func_mbrtowc_sanitycheck=yes], + [gl_cv_func_mbrtowc_sanitycheck=no], + [:]) + fi + ]) +]) +m4trace:m4/mbrtowc.m4:194: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_FR_UTF8]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether mbrtowc handles a NULL string argument], + [gl_cv_func_mbrtowc_null_arg], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on OSF/1. + osf*) gl_cv_func_mbrtowc_null_arg="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_null_arg="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_FR_UTF8 != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + mbstate_t state; + wchar_t wc; + int ret; + + memset (&state, '\0', sizeof (mbstate_t)); + wc = (wchar_t) 0xBADFACE; + mbrtowc (&wc, NULL, 5, &state); + /* Check that wc was not modified. */ + if (wc != (wchar_t) 0xBADFACE) + return 1; + } + return 0; +}]])], + [gl_cv_func_mbrtowc_null_arg=yes], + [gl_cv_func_mbrtowc_null_arg=no], + [:]) + fi + ]) +]) +m4trace:m4/mbrtowc.m4:247: -1- AC_DEFUN([gl_MBRTOWC_RETVAL], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_FR_UTF8]) + AC_REQUIRE([gt_LOCALE_JA]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether mbrtowc has a correct return value], + [gl_cv_func_mbrtowc_retval], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbrtowc_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +int main () +{ + /* This fails on Solaris. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + char input[] = "B\303\274\303\237er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 1) + return 1; + } + } + /* This fails on HP-UX 11.11. */ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 2) + return 1; + } + } + return 0; +}]])], + [gl_cv_func_mbrtowc_retval=yes], + [gl_cv_func_mbrtowc_retval=no], + [:]) + fi + ]) +]) +m4trace:m4/mbrtowc.m4:316: -1- AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_ZH_CN]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether mbrtowc returns 0 when parsing a NUL character], + [gl_cv_func_mbrtowc_nul_retval], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on Solaris 8 and 9. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_ZH_CN != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +int main () +{ + /* This fails on Solaris 8 and 9. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, "", 1, &state) != 0) + return 1; + } + return 0; +}]])], + [gl_cv_func_mbrtowc_nul_retval=yes], + [gl_cv_func_mbrtowc_nul_retval=no], + [:]) + fi + ]) +]) +m4trace:m4/mbrtowc.m4:362: -1- AC_DEFUN([gl_PREREQ_MBRTOWC], [ + : +]) +m4trace:m4/mbsinit.m4:7: -1- AC_DEFUN([gl_FUNC_MBSINIT], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + gl_MBSTATE_T_BROKEN + + AC_CHECK_FUNCS_ONCE([mbsinit]) + if test $ac_cv_func_mbsinit = no; then + HAVE_MBSINIT=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSINIT=1 + fi + fi + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then + gl_REPLACE_WCHAR_H + AC_LIBOBJ([mbsinit]) + gl_PREREQ_MBSINIT + fi +]) +m4trace:m4/mbsinit.m4:30: -1- AC_DEFUN([gl_PREREQ_MBSINIT], [ + : +]) +m4trace:m4/mbsrtowcs.m4:7: -1- AC_DEFUN([gl_FUNC_MBSRTOWCS], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + gl_MBSTATE_T_BROKEN + + AC_CHECK_FUNCS_ONCE([mbsrtowcs]) + if test $ac_cv_func_mbsrtowcs = no; then + HAVE_MBSRTOWCS=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSRTOWCS=1 + else + gl_MBSRTOWCS_WORKS + case "$gl_cv_func_mbsrtowcs_works" in + *yes) ;; + *) REPLACE_MBSRTOWCS=1 ;; + esac + fi + fi + if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then + gl_REPLACE_WCHAR_H + AC_LIBOBJ([mbsrtowcs]) + AC_LIBOBJ([mbsrtowcs-state]) + gl_PREREQ_MBSRTOWCS + fi +]) +m4trace:m4/mbsrtowcs.m4:39: -1- AC_DEFUN([gl_MBSRTOWCS_WORKS], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_FR_UTF8]) + AC_REQUIRE([gt_LOCALE_JA]) + AC_REQUIRE([gt_LOCALE_ZH_CN]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether mbsrtowcs works], + [gl_cv_func_mbsrtowcs_works], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbsrtowcs_works="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbsrtowcs_works="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +int main () +{ + /* Test whether the function works when started with a conversion state + in non-initial state. This fails on HP-UX 11.11 and Solaris 10. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + const char input[] = "B\303\274\303\237er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "<\306\374\313\334\270\354>"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 4; + if (mbsrtowcs (NULL, &src, 10, &state) != 3) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + const char input[] = "B\250\271\201\060\211\070er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + return 0; +}]])], + [gl_cv_func_mbsrtowcs_works=yes], + [gl_cv_func_mbsrtowcs_works=no], + [:]) + fi + ]) +]) +m4trace:m4/mbsrtowcs.m4:121: -1- AC_DEFUN([gl_PREREQ_MBSRTOWCS], [ + : +]) +m4trace:m4/mbstate_t.m4:15: -1- AC_DEFUN([AC_TYPE_MBSTATE_T], [ + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11 + + AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [AC_INCLUDES_DEFAULT[ +# include ]], + [[mbstate_t x; return sizeof x;]])], + [ac_cv_type_mbstate_t=yes], + [ac_cv_type_mbstate_t=no])]) + if test $ac_cv_type_mbstate_t = yes; then + AC_DEFINE([HAVE_MBSTATE_T], [1], + [Define to 1 if declares mbstate_t.]) + else + AC_DEFINE([mbstate_t], [int], + [Define to a type if does not define.]) + fi +]) +m4trace:m4/memchr.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [ + dnl Check for prerequisites for memory fence checks. + gl_FUNC_MMAP_ANON + AC_CHECK_HEADERS_ONCE([sys/mman.h]) + AC_CHECK_FUNCS_ONCE([mprotect]) + + dnl These days, we assume memchr is present. But just in case... + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_CHECK_FUNCS_ONCE([memchr]) + if test $ac_cv_func_memchr = yes; then + # Detect platform-specific bugs in some versions of glibc: + # memchr should not dereference anything with length 0 + # http://bugzilla.redhat.com/499689 + # memchr should not dereference overestimated length after a match + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 + # Assume that memchr works on platforms that lack mprotect. + AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works], + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ +#include +#if HAVE_SYS_MMAN_H +# include +# include +# include +# include +# ifndef MAP_FILE +# define MAP_FILE 0 +# endif +#endif +]], [[ + char *fence = NULL; +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT +# if HAVE_MAP_ANONYMOUS + const int flags = MAP_ANONYMOUS | MAP_PRIVATE; + const int fd = -1; +# else /* !HAVE_MAP_ANONYMOUS */ + const int flags = MAP_FILE | MAP_PRIVATE; + int fd = open ("/dev/zero", O_RDONLY, 0666); + if (fd >= 0) +# endif + { + int pagesize = getpagesize (); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + flags, fd, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } +#endif + if (fence) + { + if (memchr (fence, 0, 0)) + return 1; + strcpy (fence - 9, "12345678"); + if (memchr (fence - 9, 0, 79) != fence - 1) + return 2; + if (memchr (fence - 1, 0, 3) != fence - 1) + return 3; + } + return 0; +]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no], + [dnl Be pessimistic for now. + gl_cv_func_memchr_works="guessing no"])]) + if test "$gl_cv_func_memchr_works" != yes; then + REPLACE_MEMCHR=1 + fi + else + HAVE_MEMCHR=0 + fi + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then + AC_LIBOBJ([memchr]) + gl_PREREQ_MEMCHR + fi +]) +m4trace:m4/memchr.m4:85: -1- AC_DEFUN([gl_PREREQ_MEMCHR], [ + AC_CHECK_HEADERS([bp-sym.h]) +]) +m4trace:m4/mempcpy.m4:8: -1- AC_DEFUN([gl_FUNC_MEMPCPY], [ + dnl Persuade glibc to declare mempcpy(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'. + AC_REQUIRE([AC_C_RESTRICT]) + + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_REPLACE_FUNCS([mempcpy]) + if test $ac_cv_func_mempcpy = no; then + HAVE_MEMPCPY=0 + gl_PREREQ_MEMPCPY + fi +]) +m4trace:m4/mempcpy.m4:25: -1- AC_DEFUN([gl_PREREQ_MEMPCPY], [ + : +]) +m4trace:m4/mmap-anon.m4:16: -1- AC_DEFUN([gl_FUNC_MMAP_ANON], [ + dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. + AC_REQUIRE([AC_PROG_CPP]) + AC_REQUIRE([AC_PROG_EGREP]) + + dnl Persuade glibc to define MAP_ANONYMOUS. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no]) + + # Try to allow MAP_ANONYMOUS. + gl_have_mmap_anonymous=no + if test $gl_have_mmap = yes; then + AC_MSG_CHECKING([for MAP_ANONYMOUS]) + AC_EGREP_CPP([I cant identify this map.], [ +#include +#ifdef MAP_ANONYMOUS + I cant identify this map. +#endif +], + [gl_have_mmap_anonymous=yes]) + if test $gl_have_mmap_anonymous != yes; then + AC_EGREP_CPP([I cant identify this map.], [ +#include +#ifdef MAP_ANON + I cant identify this map. +#endif +], + [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], + [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) + gl_have_mmap_anonymous=yes]) + fi + AC_MSG_RESULT([$gl_have_mmap_anonymous]) + if test $gl_have_mmap_anonymous = yes; then + AC_DEFINE([HAVE_MAP_ANONYMOUS], [1], + [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including + config.h and .]) + fi + fi +]) +m4trace:m4/multiarch.m4:22: -1- AC_DEFUN_ONCE([gl_MULTIARCH], [ + dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. + gl_cv_c_multiarch=no + AC_COMPILE_IFELSE( + [AC_LANG_SOURCE( + [[#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + ]])], + [ + dnl Check for potential -arch flags. It is not universal unless + dnl there are at least two -arch flags with different values. + arch= + prev= + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do + if test -n "$prev"; then + case $word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$arch" || test "$arch" = "$word"; then + arch="$word" + else + gl_cv_c_multiarch=yes + fi + ;; + esac + prev= + else + if test "x$word" = "x-arch"; then + prev=arch + fi + fi + done + ]) + if test $gl_cv_c_multiarch = yes; then + AC_DEFINE([AA_APPLE_UNIVERSAL_BUILD], [1], + [Define if the compiler is building for multiple architectures of Apple platforms at once.]) + APPLE_UNIVERSAL_BUILD=1 + else + APPLE_UNIVERSAL_BUILD=0 + fi + AC_SUBST([APPLE_UNIVERSAL_BUILD]) +]) +m4trace:m4/nl_langinfo.m4:7: -1- AC_DEFUN([gl_FUNC_NL_LANGINFO], [ + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) + AC_REQUIRE([gl_LANGINFO_H]) + AC_CHECK_FUNCS_ONCE([nl_langinfo]) + if test $ac_cv_func_nl_langinfo = yes; then + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then + : + else + REPLACE_NL_LANGINFO=1 + AC_DEFINE([REPLACE_NL_LANGINFO], [1], + [Define if nl_langinfo exists but is overridden by gnulib.]) + AC_LIBOBJ([nl_langinfo]) + fi + else + HAVE_NL_LANGINFO=0 + AC_LIBOBJ([nl_langinfo]) + fi +]) +m4trace:m4/nls.m4:23: -1- AC_DEFUN([AM_NLS], [ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE([nls], + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT([$USE_NLS]) + AC_SUBST([USE_NLS]) +]) +m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [ + AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake + AC_REQUIRE([AM_NLS])dnl + + dnl Release version of the gettext macros. This is used to ensure that + dnl the gettext macros and po/Makefile.in.in are in sync. + AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) + + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work. + + dnl Search for GNU msgfmt in the PATH. + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. + dnl The second test excludes FreeBSD msgfmt. + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + :) + AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) + + dnl Test whether it is GNU msgfmt >= 0.15. +changequote(,)dnl + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; + *) MSGFMT_015=$MSGFMT ;; + esac +changequote([,])dnl + AC_SUBST([MSGFMT_015]) +changequote(,)dnl + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; + *) GMSGFMT_015=$GMSGFMT ;; + esac +changequote([,])dnl + AC_SUBST([GMSGFMT_015]) + + dnl Search for GNU xgettext 0.12 or newer in the PATH. + dnl The first test excludes Solaris xgettext and early GNU xgettext versions. + dnl The second test excludes FreeBSD xgettext. + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + :) + dnl Remove leftover from FreeBSD xgettext call. + rm -f messages.po + + dnl Test whether it is GNU xgettext >= 0.15. +changequote(,)dnl + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; + *) XGETTEXT_015=$XGETTEXT ;; + esac +changequote([,])dnl + AC_SUBST([XGETTEXT_015]) + + dnl Search for GNU msgmerge 0.11 or newer in the PATH. + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, + [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) + + dnl Installation directories. + dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we + dnl have to define it here, so that it can be used in po/Makefile. + test -n "$localedir" || localedir='${datadir}/locale' + AC_SUBST([localedir]) + + dnl Support for AM_XGETTEXT_OPTION. + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= + AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) + + AC_CONFIG_COMMANDS([po-directories], [[ + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + # Treat a directory as a PO directory if and only if it has a + # POTFILES.in file. This allows packages to have multiple PO + # directories under different names or in different locations. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done]], + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake < 1.5. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + ]) +]) +m4trace:m4/po.m4:218: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ + # When this code is run, in config.status, two variables have already been + # set: + # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, + # - LINGUAS is the value of the environment variable LINGUAS at configure + # time. + +changequote(,)dnl + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + # Find a way to echo strings without interpreting backslash. + if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then + gt_echo='echo' + else + if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then + gt_echo='printf %s\n' + else + echo_func () { + cat < "$ac_file.tmp" + if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then + # Add dependencies that cannot be formulated as a simple suffix rule. + for lang in $ALL_LINGUAS; do + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` + cat >> "$ac_file.tmp" < /dev/null; then + # Add dependencies that cannot be formulated as a simple suffix rule. + for lang in $ALL_LINGUAS; do + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` + cat >> "$ac_file.tmp" <> "$ac_file.tmp" < +#include +/* The string "%2$d %1$d", with dollar characters protected from the shell's + dollar expansion (possibly an autoconf bug). */ +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; +static char buf[100]; +int main () +{ + sprintf (buf, format, 33, 55); + return (strcmp (buf, "55 33") != 0); +}]])], + [gt_cv_func_printf_posix=yes], + [gt_cv_func_printf_posix=no], + [ + AC_EGREP_CPP([notposix], [ +#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ + notposix +#endif + ], + [gt_cv_func_printf_posix="guessing no"], + [gt_cv_func_printf_posix="guessing yes"]) + ]) + ]) + case $gt_cv_func_printf_posix in + *yes) + AC_DEFINE([HAVE_POSIX_PRINTF], [1], + [Define if your printf() function supports format strings with positions.]) + ;; + esac +]) +m4trace:m4/printf.m4:11: -1- AC_DEFUN([gl_PRINTF_SIZES_C99], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gl_AC_HEADER_STDINT_H]) + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports size specifiers as in C99], + [gl_cv_func_printf_sizes_c99], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +# include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +# include +#endif +static char buf[100]; +int main () +{ +#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX + buf[0] = '\0'; + if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0 + || strcmp (buf, "12345671 33") != 0) + return 1; +#endif + buf[0] = '\0'; + if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0 + || strcmp (buf, "12345672 33") != 0) + return 1; + buf[0] = '\0'; + if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 + || strcmp (buf, "12345673 33") != 0) + return 1; + buf[0] = '\0'; + if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 + || strcmp (buf, "1.5 33") != 0) + return 1; + return 0; +}]])], + [gl_cv_func_printf_sizes_c99=yes], + [gl_cv_func_printf_sizes_c99=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";; + darwin*) gl_cv_func_printf_sizes_c99="guessing yes";; + # Guess yes on OpenBSD >= 3.9. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) + gl_cv_func_printf_sizes_c99="guessing no";; + openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; + # Guess yes on Solaris >= 2.10. + solaris2.[0-9]*) gl_cv_func_printf_sizes_c99="guessing no";; + solaris*) gl_cv_func_printf_sizes_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_printf_sizes_c99="guessing no";; + netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_printf_sizes_c99="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:91: -1- AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports 'long double' arguments], + [gl_cv_func_printf_long_double], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[10000]; +int main () +{ + buf[0] = '\0'; + if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0 + || strcmp (buf, "1.750000 33") != 0) + return 1; + buf[0] = '\0'; + if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0 + || strcmp (buf, "1.750000e+00 33") != 0) + return 1; + buf[0] = '\0'; + if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0 + || strcmp (buf, "1.75 33") != 0) + return 1; + return 0; +}]])], + [gl_cv_func_printf_long_double=yes], + [gl_cv_func_printf_long_double=no], + [ +changequote(,)dnl + case "$host_os" in + beos*) gl_cv_func_printf_long_double="guessing no";; + mingw* | pw*) gl_cv_func_printf_long_double="guessing no";; + *) gl_cv_func_printf_long_double="guessing yes";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:138: -1- AC_DEFUN([gl_PRINTF_INFINITE], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports infinite 'double' arguments], + [gl_cv_func_printf_infinite], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static int +strisnan (const char *string, size_t start_index, size_t end_index) +{ + if (start_index < end_index) + { + if (string[start_index] == '-') + start_index++; + if (start_index + 3 <= end_index + && memcmp (string + start_index, "nan", 3) == 0) + { + start_index += 3; + if (start_index == end_index + || (string[start_index] == '(' && string[end_index - 1] == ')')) + return 1; + } + } + return 0; +} +static int +have_minus_zero () +{ + static double plus_zero = 0.0; + double minus_zero = - plus_zero; + return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0; +} +static char buf[10000]; +static double zero = 0.0; +int main () +{ + if (sprintf (buf, "%f", 1.0 / 0.0) < 0 + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) + return 1; + if (sprintf (buf, "%f", -1.0 / 0.0) < 0 + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) + return 1; + if (sprintf (buf, "%f", zero / zero) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%e", 1.0 / 0.0) < 0 + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) + return 1; + if (sprintf (buf, "%e", -1.0 / 0.0) < 0 + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) + return 1; + if (sprintf (buf, "%e", zero / zero) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%g", 1.0 / 0.0) < 0 + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) + return 1; + if (sprintf (buf, "%g", -1.0 / 0.0) < 0 + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) + return 1; + if (sprintf (buf, "%g", zero / zero) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + /* This test fails on HP-UX 10.20. */ + if (have_minus_zero ()) + if (sprintf (buf, "%g", - zero) < 0 + || strcmp (buf, "-0") != 0) + return 1; + return 0; +}]])], + [gl_cv_func_printf_infinite=yes], + [gl_cv_func_printf_infinite=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_infinite="guessing yes";; + # Guess yes on FreeBSD >= 6. + freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";; + darwin*) gl_cv_func_printf_infinite="guessing yes";; + # Guess yes on HP-UX >= 11. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";; + hpux*) gl_cv_func_printf_infinite="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_printf_infinite="guessing no";; + netbsd*) gl_cv_func_printf_infinite="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_printf_infinite="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_printf_infinite="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:246: -1- AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [ + AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gl_BIGENDIAN]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + dnl The user can set or unset the variable gl_printf_safe to indicate + dnl that he wishes a safe handling of non-IEEE-754 'long double' values. + if test -n "$gl_printf_safe"; then + AC_DEFINE([CHECK_PRINTF_SAFE], [1], + [Define if you wish *printf() functions that have a safe handling of + non-IEEE-754 'long double' values.]) + fi + case "$gl_cv_func_printf_long_double" in + *yes) + AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments], + [gl_cv_func_printf_infinite_long_double], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +]GL_NOCRASH[ +#include +#include +#include +static int +strisnan (const char *string, size_t start_index, size_t end_index) +{ + if (start_index < end_index) + { + if (string[start_index] == '-') + start_index++; + if (start_index + 3 <= end_index + && memcmp (string + start_index, "nan", 3) == 0) + { + start_index += 3; + if (start_index == end_index + || (string[start_index] == '(' && string[end_index - 1] == ')')) + return 1; + } + } + return 0; +} +static char buf[10000]; +static long double zeroL = 0.0L; +int main () +{ + nocrash_init(); + if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0 + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) + return 1; + if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0 + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) + return 1; + if (sprintf (buf, "%Lf", zeroL / zeroL) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0 + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) + return 1; + if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0 + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) + return 1; + if (sprintf (buf, "%Le", zeroL / zeroL) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0 + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0)) + return 1; + if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0 + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0)) + return 1; + if (sprintf (buf, "%Lg", zeroL / zeroL) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; +#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) +/* Representation of an 80-bit 'long double' as an initializer for a sequence + of 'unsigned int' words. */ +# ifdef WORDS_BIGENDIAN +# define LDBL80_WORDS(exponent,manthi,mantlo) \ + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \ + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \ + (unsigned int) (mantlo) << 16 \ + } +# else +# define LDBL80_WORDS(exponent,manthi,mantlo) \ + { mantlo, manthi, exponent } +# endif + { /* Quiet NaN. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } + { + /* Signalling NaN. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } + { /* Pseudo-NaN. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } + { /* Pseudo-Infinity. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } + { /* Pseudo-Zero. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } + { /* Unnormalized number. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } + { /* Pseudo-Denormal. */ + static union { unsigned int word[4]; long double value; } x = + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) }; + if (sprintf (buf, "%Lf", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Le", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + if (sprintf (buf, "%Lg", x.value) < 0 + || !strisnan (buf, 0, strlen (buf))) + return 1; + } +#endif + return 0; +}]])], + [gl_cv_func_printf_infinite_long_double=yes], + [gl_cv_func_printf_infinite_long_double=no], + [ +changequote(,)dnl + case "$host_cpu" in + # Guess no on ia64, x86_64, i386. + ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; + *) + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";; + # Guess yes on FreeBSD >= 6. + freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_printf_infinite_long_double="guessing no";; + darwin*) gl_cv_func_printf_infinite_long_double="guessing yes";; + # Guess yes on HP-UX >= 11. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";; + hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_printf_infinite_long_double="guessing no";; + netbsd*) gl_cv_func_printf_infinite_long_double="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_printf_infinite_long_double="guessing no";; + esac + ;; + esac +changequote([,])dnl + ]) + ]) + ;; + *) + gl_cv_func_printf_infinite_long_double="irrelevant" + ;; + esac +]) +m4trace:m4/printf.m4:472: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], + [gl_cv_func_printf_directive_a], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 + || (strcmp (buf, "0x1.922p+1 33") != 0 + && strcmp (buf, "0x3.244p+0 33") != 0 + && strcmp (buf, "0x6.488p-1 33") != 0 + && strcmp (buf, "0xc.91p-2 33") != 0)) + return 1; + if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 + || (strcmp (buf, "-0X1.922P+1 33") != 0 + && strcmp (buf, "-0X3.244P+0 33") != 0 + && strcmp (buf, "-0X6.488P-1 33") != 0 + && strcmp (buf, "-0XC.91P-2 33") != 0)) + return 1; + /* This catches a FreeBSD 6.1 bug: it doesn't round. */ + if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 + || (strcmp (buf, "0x1.83p+0 33") != 0 + && strcmp (buf, "0x3.05p-1 33") != 0 + && strcmp (buf, "0x6.0ap-2 33") != 0 + && strcmp (buf, "0xc.14p-3 33") != 0)) + return 1; + /* This catches a FreeBSD 6.1 bug. See + */ + if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0 + || buf[0] == '0') + return 1; + /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */ + if (sprintf (buf, "%.1a", 1.999) < 0 + || (strcmp (buf, "0x1.0p+1") != 0 + && strcmp (buf, "0x2.0p+0") != 0 + && strcmp (buf, "0x4.0p-1") != 0 + && strcmp (buf, "0x8.0p-2") != 0)) + return 1; + /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a + glibc 2.4 bug . */ + if (sprintf (buf, "%.1La", 1.999L) < 0 + || (strcmp (buf, "0x1.0p+1") != 0 + && strcmp (buf, "0x2.0p+0") != 0 + && strcmp (buf, "0x4.0p-1") != 0 + && strcmp (buf, "0x8.0p-2") != 0)) + return 1; + return 0; +}]])], + [gl_cv_func_printf_directive_a=yes], + [gl_cv_func_printf_directive_a=no], + [ + case "$host_os" in + # Guess yes on glibc >= 2.5 systems. + *-gnu*) + AC_EGREP_CPP([BZ2908], [ + #include + #ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2) + BZ2908 + #endif + #endif + ], + [gl_cv_func_printf_directive_a="guessing yes"], + [gl_cv_func_printf_directive_a="guessing no"]) + ;; + # If we don't know, assume the worst. + *) gl_cv_func_printf_directive_a="guessing no";; + esac + ]) + ]) +]) +m4trace:m4/printf.m4:555: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the 'F' directive], + [gl_cv_func_printf_directive_f], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 + || strcmp (buf, "1234567.000000 33") != 0) + return 1; + if (sprintf (buf, "%F", 1.0 / 0.0) < 0 + || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0)) + return 1; + /* This catches a Cygwin 1.5.x bug. */ + if (sprintf (buf, "%.F", 1234.0) < 0 + || strcmp (buf, "1234") != 0) + return 1; + return 0; +}]])], + [gl_cv_func_printf_directive_f=yes], + [gl_cv_func_printf_directive_f=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_directive_f="guessing yes";; + # Guess yes on FreeBSD >= 6. + freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";; + darwin*) gl_cv_func_printf_directive_f="guessing yes";; + # Guess yes on Solaris >= 2.10. + solaris2.[0-9]*) gl_cv_func_printf_directive_f="guessing no";; + solaris*) gl_cv_func_printf_directive_f="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_printf_directive_f="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:609: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the 'n' directive], + [gl_cv_func_printf_directive_n], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char fmtstring[10]; +static char buf[100]; +int main () +{ + int count = -1; + /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) + support %n in format strings in read-only memory but not in writable + memory. */ + strcpy (fmtstring, "%d %n"); + if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 + || strcmp (buf, "123 ") != 0 + || count != 4) + return 1; + return 0; +}]])], + [gl_cv_func_printf_directive_n=yes], + [gl_cv_func_printf_directive_n=no], + [ +changequote(,)dnl + case "$host_os" in + *) gl_cv_func_printf_directive_n="guessing yes";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:654: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the 'ls' directive], + [gl_cv_func_printf_directive_ls], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ +#include +#include +#include +#include +#include +int main () +{ + char buf[100]; + /* Test whether %ls works at all. + This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on + Cygwin 1.5. */ + { + static const wchar_t wstring[] = { 'a', 'b', 'c', 0 }; + buf[0] = '\0'; + if (sprintf (buf, "%ls", wstring) < 0 + || strcmp (buf, "abc") != 0) + return 1; + } + /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an + assertion failure inside libc), but not on OpenBSD 4.0. */ + { + static const wchar_t wstring[] = { 'a', 0 }; + buf[0] = '\0'; + if (sprintf (buf, "%ls", wstring) < 0 + || strcmp (buf, "a") != 0) + return 1; + } + /* Test whether precisions in %ls are supported as specified in ISO C 99 + section 7.19.6.1: + "If a precision is specified, no more than that many bytes are written + (including shift sequences, if any), and the array shall contain a + null wide character if, to equal the multibyte character sequence + length given by the precision, the function would need to access a + wide character one past the end of the array." + This test fails on Solaris 10. */ + { + static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 }; + buf[0] = '\0'; + if (sprintf (buf, "%.2ls", wstring) < 0 + || strcmp (buf, "ab") != 0) + return 1; + } + return 0; +}]])], + [gl_cv_func_printf_directive_ls=yes], + [gl_cv_func_printf_directive_ls=no], + [ +changequote(,)dnl + case "$host_os" in + openbsd*) gl_cv_func_printf_directive_ls="guessing no";; + irix*) gl_cv_func_printf_directive_ls="guessing no";; + solaris*) gl_cv_func_printf_directive_ls="guessing no";; + cygwin*) gl_cv_func_printf_directive_ls="guessing no";; + beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";; + *) gl_cv_func_printf_directive_ls="guessing yes";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:732: -1- AC_DEFUN([gl_PRINTF_POSITIONS], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions], + [gl_cv_func_printf_positions], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +/* The string "%2$d %1$d", with dollar characters protected from the shell's + dollar expansion (possibly an autoconf bug). */ +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; +static char buf[100]; +int main () +{ + sprintf (buf, format, 33, 55); + return (strcmp (buf, "55 33") != 0); +}]])], + [gl_cv_func_printf_positions=yes], + [gl_cv_func_printf_positions=no], + [ +changequote(,)dnl + case "$host_os" in + netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*) + gl_cv_func_printf_positions="guessing no";; + beos*) gl_cv_func_printf_positions="guessing no";; + mingw* | pw*) gl_cv_func_printf_positions="guessing no";; + *) gl_cv_func_printf_positions="guessing yes";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:772: -1- AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the grouping flag], + [gl_cv_func_printf_flag_grouping], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + if (sprintf (buf, "%'d %d", 1234567, 99) < 0 + || buf[strlen (buf) - 1] != '9') + return 1; + return 0; +}]])], + [gl_cv_func_printf_flag_grouping=yes], + [gl_cv_func_printf_flag_grouping=no], + [ +changequote(,)dnl + case "$host_os" in + cygwin*) gl_cv_func_printf_flag_grouping="guessing no";; + netbsd*) gl_cv_func_printf_flag_grouping="guessing no";; + mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";; + *) gl_cv_func_printf_flag_grouping="guessing yes";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:811: -1- AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly], + [gl_cv_func_printf_flag_leftadjust], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + /* Check that a '-' flag is not annihilated by a negative width. */ + if (sprintf (buf, "a%-*sc", -3, "b") < 0 + || strcmp (buf, "ab c") != 0) + return 1; + return 0; +}]])], + [gl_cv_func_printf_flag_leftadjust=yes], + [gl_cv_func_printf_flag_leftadjust=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on HP-UX 11. + hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";; + # Guess no on HP-UX 10 and older. + hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";; + # Guess yes otherwise. + *) gl_cv_func_printf_flag_leftadjust="guessing yes";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:853: -1- AC_DEFUN([gl_PRINTF_FLAG_ZERO], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports the zero flag correctly], + [gl_cv_func_printf_flag_zero], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0 + || (strcmp (buf, " inf") != 0 + && strcmp (buf, " infinity") != 0)) + return 1; + return 0; +}]])], + [gl_cv_func_printf_flag_zero=yes], + [gl_cv_func_printf_flag_zero=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_printf_flag_zero="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_printf_flag_zero="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:896: -1- AC_DEFUN([gl_PRINTF_PRECISION], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf supports large precisions], + [gl_cv_func_printf_precision], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[5000]; +int main () +{ +#ifdef __BEOS__ + /* On BeOS, this would crash and show a dialog box. Avoid the crash. */ + return 1; +#endif + if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) + return 1; + return 0; +}]])], + [gl_cv_func_printf_precision=yes], + [gl_cv_func_printf_precision=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess no only on native Win32 and BeOS systems. + mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;; + beos*) gl_cv_func_printf_precision="guessing no" ;; + *) gl_cv_func_printf_precision="guessing yes" ;; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:937: -1- AC_DEFUN([gl_PRINTF_ENOMEM], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gl_MULTIARCH]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether printf survives out-of-memory conditions], + [gl_cv_func_printf_enomem], + [ + gl_cv_func_printf_enomem="guessing no" + if test "$cross_compiling" = no; then + if test $APPLE_UNIVERSAL_BUILD = 0; then + AC_LANG_CONFTEST([AC_LANG_SOURCE([ +]GL_NOCRASH[ +changequote(,)dnl +#include +#include +#include +#include +#include +int main() +{ + struct rlimit limit; + int ret; + nocrash_init (); + /* Some printf implementations allocate temporary space with malloc. */ + /* On BSD systems, malloc() is limited by RLIMIT_DATA. */ +#ifdef RLIMIT_DATA + if (getrlimit (RLIMIT_DATA, &limit) < 0) + return 77; + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) + limit.rlim_max = 5000000; + limit.rlim_cur = limit.rlim_max; + if (setrlimit (RLIMIT_DATA, &limit) < 0) + return 77; +#endif + /* On Linux systems, malloc() is limited by RLIMIT_AS. */ +#ifdef RLIMIT_AS + if (getrlimit (RLIMIT_AS, &limit) < 0) + return 77; + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) + limit.rlim_max = 5000000; + limit.rlim_cur = limit.rlim_max; + if (setrlimit (RLIMIT_AS, &limit) < 0) + return 77; +#endif + /* Some printf implementations allocate temporary space on the stack. */ +#ifdef RLIMIT_STACK + if (getrlimit (RLIMIT_STACK, &limit) < 0) + return 77; + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000) + limit.rlim_max = 5000000; + limit.rlim_cur = limit.rlim_max; + if (setrlimit (RLIMIT_STACK, &limit) < 0) + return 77; +#endif + ret = printf ("%.5000000f", 1.0); + return !(ret == 5000002 || (ret < 0 && errno == ENOMEM)); +} +changequote([,])dnl + ])]) + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then + (./conftest + result=$? + if test $result != 0 && test $result != 77; then result=1; fi + exit $result + ) >/dev/null 2>/dev/null + case $? in + 0) gl_cv_func_printf_enomem="yes" ;; + 77) gl_cv_func_printf_enomem="guessing no" ;; + *) gl_cv_func_printf_enomem="no" ;; + esac + else + gl_cv_func_printf_enomem="guessing no" + fi + rm -fr conftest* + else + dnl A universal build on Apple MacOS X platforms. + dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode. + dnl But we need a configuration result that is valid in both modes. + gl_cv_func_printf_enomem="guessing no" + fi + fi + if test "$gl_cv_func_printf_enomem" = "guessing no"; then +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_printf_enomem="guessing yes";; + # Guess yes on Solaris. + solaris*) gl_cv_func_printf_enomem="guessing yes";; + # Guess yes on AIX. + aix*) gl_cv_func_printf_enomem="guessing yes";; + # Guess yes on HP-UX/hppa. + hpux*) case "$host_cpu" in + hppa*) gl_cv_func_printf_enomem="guessing yes";; + *) gl_cv_func_printf_enomem="guessing no";; + esac + ;; + # Guess yes on IRIX. + irix*) gl_cv_func_printf_enomem="guessing yes";; + # Guess yes on OSF/1. + osf*) gl_cv_func_printf_enomem="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_printf_enomem="guessing yes";; + # Guess yes on Haiku. + haiku*) gl_cv_func_printf_enomem="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_printf_enomem="guessing no";; + esac +changequote([,])dnl + fi + ]) +]) +m4trace:m4/printf.m4:1053: -1- AC_DEFUN([gl_SNPRINTF_PRESENCE], [ + AC_CHECK_FUNCS_ONCE([snprintf]) +]) +m4trace:m4/printf.m4:1062: -1- AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether snprintf truncates the result as in C99], + [gl_cv_func_snprintf_truncation_c99], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + strcpy (buf, "ABCDEF"); + snprintf (buf, 3, "%d %d", 4567, 89); + if (memcmp (buf, "45\0DEF", 6) != 0) + return 1; + return 0; +}]])], + [gl_cv_func_snprintf_truncation_c99=yes], + [gl_cv_func_snprintf_truncation_c99=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";; + darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on OpenBSD >= 3.9. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) + gl_cv_func_snprintf_truncation_c99="guessing no";; + openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_snprintf_truncation_c99="guessing no";; + solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";; + aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on HP-UX >= 11. + hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";; + hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on IRIX >= 6.5. + irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on OSF/1 >= 5. + osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";; + osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_snprintf_truncation_c99="guessing no";; + netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_snprintf_truncation_c99="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:1142: -1- AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether snprintf returns a byte count as in C99], + [gl_cv_func_snprintf_retval_c99], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char buf[100]; +int main () +{ + strcpy (buf, "ABCDEF"); + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) + return 1; + return 0; +}]])], + [gl_cv_func_snprintf_retval_c99=yes], + [gl_cv_func_snprintf_retval_c99=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on OpenBSD >= 3.9. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) + gl_cv_func_snprintf_retval_c99="guessing no";; + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_snprintf_retval_c99="guessing no";; + solaris*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_snprintf_retval_c99="guessing no";; + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_snprintf_retval_c99="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:1202: -1- AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], + [gl_cv_func_snprintf_directive_n], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static char fmtstring[10]; +static char buf[100]; +int main () +{ + int count = -1; + /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) + support %n in format strings in read-only memory but not in writable + memory. */ + strcpy (fmtstring, "%d %n"); + snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55); + if (count != 6) + return 1; + return 0; +}]])], + [gl_cv_func_snprintf_directive_n=yes], + [gl_cv_func_snprintf_directive_n=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_snprintf_directive_n="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";; + darwin*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_snprintf_directive_n="guessing no";; + solaris*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";; + aix*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on IRIX >= 6.5. + irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on OSF/1 >= 5. + osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";; + osf*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_snprintf_directive_n="guessing no";; + netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_snprintf_directive_n="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_snprintf_directive_n="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/printf.m4:1270: -1- AC_DEFUN([gl_SNPRINTF_SIZE1], [ + AC_REQUIRE([AC_PROG_CC]) + AC_CACHE_CHECK([whether snprintf respects a size of 1], + [gl_cv_func_snprintf_size1], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +int main() +{ + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; + snprintf (buf, 1, "%d", 12345); + return buf[1] != 'E'; +}]])], + [gl_cv_func_snprintf_size1=yes], + [gl_cv_func_snprintf_size1=no], + [gl_cv_func_snprintf_size1="guessing yes"]) + ]) +]) +m4trace:m4/printf.m4:1327: -1- AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99], + [gl_cv_func_vsnprintf_zerosize_c99], + [ + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +static int my_snprintf (char *buf, int size, const char *format, ...) +{ + va_list args; + int ret; + va_start (args, format); + ret = vsnprintf (buf, size, format, args); + va_end (args); + return ret; +} +int main() +{ + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; + my_snprintf (buf, 0, "%d", 12345); + return buf[0] != 'D'; +}]])], + [gl_cv_func_vsnprintf_zerosize_c99=yes], + [gl_cv_func_vsnprintf_zerosize_c99=no], + [ +changequote(,)dnl + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; + darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on Cygwin. + cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; + solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; + aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on IRIX >= 6.5. + irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_vsnprintf_zerosize_c99="guessing no";; + netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # Guess yes on mingw. + mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_vsnprintf_zerosize_c99="guessing no";; + esac +changequote([,])dnl + ]) + ]) +]) +m4trace:m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL([ac_cv_path_$1], +[case "[$]$1" in + [[\\/]]* | ?:[[\\/]]*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in ifelse([$5], , $PATH, [$5]); do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$][$1]) +else + AC_MSG_RESULT([no]) +fi +AC_SUBST([$1])dnl +]) +m4trace:m4/rawmemchr.m4:7: -1- AC_DEFUN([gl_FUNC_RAWMEMCHR], [ + dnl Persuade glibc to declare rawmemchr(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_REPLACE_FUNCS([rawmemchr]) + if test $ac_cv_func_rawmemchr = no; then + HAVE_RAWMEMCHR=0 + gl_PREREQ_RAWMEMCHR + fi +]) +m4trace:m4/rawmemchr.m4:21: -1- AC_DEFUN([gl_PREREQ_RAWMEMCHR], [:]) +m4trace:m4/realloc.m4:11: -1- AC_DEFUN([gl_FUNC_REALLOC_GNU], [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + dnl _AC_FUNC_REALLOC_IF is defined in Autoconf. + _AC_FUNC_REALLOC_IF( + [AC_DEFINE([HAVE_REALLOC_GNU], [1], + [Define to 1 if your system has a GNU libc compatible 'realloc' + function, and to 0 otherwise.])], + [AC_DEFINE([HAVE_REALLOC_GNU], [0]) + gl_REPLACE_REALLOC + ]) +]) +m4trace:m4/realloc.m4:28: -1- AC_DEFUN([gl_FUNC_REALLOC_POSIX], [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) + if test $gl_cv_func_malloc_posix = yes; then + AC_DEFINE([HAVE_REALLOC_POSIX], [1], + [Define if the 'realloc' function is POSIX compliant.]) + else + gl_REPLACE_REALLOC + fi +]) +m4trace:m4/realloc.m4:40: -1- AC_DEFUN([gl_REPLACE_REALLOC], [ + AC_LIBOBJ([realloc]) + REPLACE_REALLOC=1 +]) +m4trace:m4/regex.m4:15: -1- AC_DEFUN([gl_REGEX], [ + AC_CHECK_HEADERS_ONCE([locale.h]) + + AC_ARG_WITH([included-regex], + [AS_HELP_STRING([--without-included-regex], + [don't compile regex; this is the default on systems + with recent-enough versions of the GNU C Library + (use with caution on other systems).])]) + + case $with_included_regex in #( + yes|no) ac_use_included_regex=$with_included_regex + ;; + '') + # If the system regex support is good enough that it passes the + # following run test, then default to *not* using the included regex.c. + # If cross compiling, assume the test would fail and use the included + # regex.c. + AC_CACHE_CHECK([for working re_compile_pattern], + [gl_cv_func_re_compile_pattern_working], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [AC_INCLUDES_DEFAULT[ + #if HAVE_LOCALE_H + #include + #endif + #include + #include + ]], + [[static struct re_pattern_buffer regex; + unsigned char folded_chars[UCHAR_MAX + 1]; + int i; + const char *s; + struct re_registers regs; + + #if HAVE_LOCALE_H + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html + This test needs valgrind to catch the bug on Debian + GNU/Linux 3.1 x86, but it might catch the bug better + on other platforms and it shouldn't hurt to try the + test here. */ + if (setlocale (LC_ALL, "en_US.UTF-8")) + { + static char const pat[] = "insert into"; + static char const data[] = + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE + | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern (pat, sizeof pat - 1, ®ex); + if (s) + return 1; + if (re_search (®ex, data, sizeof data - 1, + 0, sizeof data - 1, ®s) + != -1) + return 1; + if (! setlocale (LC_ALL, "C")) + return 1; + } + #endif + + /* This test is from glibc bug 3957, reported by Andrew Mackey. */ + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[^x]b", 6, ®ex); + if (s) + return 1; + + /* This should fail, but succeeds for glibc-2.5. */ + if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) + return 1; + + /* This regular expression is from Spencer ere test number 75 + in grep-2.3. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof regex); + for (i = 0; i <= UCHAR_MAX; i++) + folded_chars[i] = i; + regex.translate = folded_chars; + s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, ®ex); + /* This should fail with _Invalid character class name_ error. */ + if (!s) + return 1; + + /* Ensure that [b-a] is diagnosed as invalid, when + using RE_NO_EMPTY_RANGES. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[b-a]", 6, ®ex); + if (s == 0) + return 1; + + /* This should succeed, but does not for glibc-2.1.3. */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("{1", 2, ®ex); + + if (s) + return 1; + + /* The following example is derived from a problem report + against gawk from Jorge Stolfi . */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[an\371]*n", 7, ®ex); + if (s) + return 1; + + /* This should match, but does not for glibc-2.2.1. */ + if (re_match (®ex, "an", 2, 0, ®s) != 2) + return 1; + + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + /* glibc-2.2.93 does not work with a negative RANGE argument. */ + if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) + return 1; + + /* The version of regex.c in older versions of gnulib + ignored RE_ICASE. Detect that problem too. */ + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) + return 1; + + /* Catch a bug reported by Vin Shelton in + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html + */ + re_set_syntax (RE_SYNTAX_POSIX_BASIC + & ~RE_CONTEXT_INVALID_DUP + & ~RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); + if (s) + return 1; + + /* REG_STARTEND was added to glibc on 2004-01-15. + Reject older versions. */ + if (! REG_STARTEND) + return 1; + +#if 0 + /* It would be nice to reject hosts whose regoff_t values are too + narrow (including glibc on hosts with 64-bit ptrdiff_t and + 32-bit int), but we should wait until glibc implements this + feature. Otherwise, support for equivalence classes and + multibyte collation symbols would always be broken except + when compiling --without-included-regex. */ + if (sizeof (regoff_t) < sizeof (ptrdiff_t) + || sizeof (regoff_t) < sizeof (ssize_t)) + return 1; +#endif + + return 0;]])], + [gl_cv_func_re_compile_pattern_working=yes], + [gl_cv_func_re_compile_pattern_working=no], + dnl When crosscompiling, assume it is not working. + [gl_cv_func_re_compile_pattern_working=no])]) + case $gl_cv_func_re_compile_pattern_working in #( + yes) ac_use_included_regex=no;; #( + no) ac_use_included_regex=yes;; + esac + ;; + *) AC_MSG_ERROR([Invalid value for --with-included-regex: $with_included_regex]) + ;; + esac + + if test $ac_use_included_regex = yes; then + AC_DEFINE([_REGEX_LARGE_OFFSETS], [1], + [Define if you want regoff_t to be at least as wide POSIX requires.]) + AC_DEFINE([re_syntax_options], [rpl_re_syntax_options], + [Define to rpl_re_syntax_options if the replacement should be used.]) + AC_DEFINE([re_set_syntax], [rpl_re_set_syntax], + [Define to rpl_re_set_syntax if the replacement should be used.]) + AC_DEFINE([re_compile_pattern], [rpl_re_compile_pattern], + [Define to rpl_re_compile_pattern if the replacement should be used.]) + AC_DEFINE([re_compile_fastmap], [rpl_re_compile_fastmap], + [Define to rpl_re_compile_fastmap if the replacement should be used.]) + AC_DEFINE([re_search], [rpl_re_search], + [Define to rpl_re_search if the replacement should be used.]) + AC_DEFINE([re_search_2], [rpl_re_search_2], + [Define to rpl_re_search_2 if the replacement should be used.]) + AC_DEFINE([re_match], [rpl_re_match], + [Define to rpl_re_match if the replacement should be used.]) + AC_DEFINE([re_match_2], [rpl_re_match_2], + [Define to rpl_re_match_2 if the replacement should be used.]) + AC_DEFINE([re_set_registers], [rpl_re_set_registers], + [Define to rpl_re_set_registers if the replacement should be used.]) + AC_DEFINE([re_comp], [rpl_re_comp], + [Define to rpl_re_comp if the replacement should be used.]) + AC_DEFINE([re_exec], [rpl_re_exec], + [Define to rpl_re_exec if the replacement should be used.]) + AC_DEFINE([regcomp], [rpl_regcomp], + [Define to rpl_regcomp if the replacement should be used.]) + AC_DEFINE([regexec], [rpl_regexec], + [Define to rpl_regexec if the replacement should be used.]) + AC_DEFINE([regerror], [rpl_regerror], + [Define to rpl_regerror if the replacement should be used.]) + AC_DEFINE([regfree], [rpl_regfree], + [Define to rpl_regfree if the replacement should be used.]) + AC_LIBOBJ([regex]) + gl_PREREQ_REGEX + fi +]) +m4trace:m4/regex.m4:226: -1- AC_DEFUN([gl_PREREQ_REGEX], [ + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + AC_CHECK_HEADERS([libintl.h]) + AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll]) + AC_CHECK_DECLS([isblank], [], [], [#include ]) +]) +m4trace:m4/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [ + AC_CHECK_HEADERS([stdint.h]) + dnl First test whether the system already has SIZE_MAX. + AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ + gl_cv_size_max= + AC_EGREP_CPP([Found it], [ +#include +#if HAVE_STDINT_H +#include +#endif +#ifdef SIZE_MAX +Found it +#endif +], [gl_cv_size_max=yes]) + if test -z "$gl_cv_size_max"; then + dnl Define it ourselves. Here we assume that the type 'size_t' is not wider + dnl than the type 'unsigned long'. Try hard to find a definition that can + dnl be used in a preprocessor #if, i.e. doesn't contain a cast. + AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], + [#include +#include ], [size_t_bits_minus_1=]) + AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], + [#include ], [fits_in_uint=]) + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then + if test $fits_in_uint = 1; then + dnl Even though SIZE_MAX fits in an unsigned int, it must be of type + dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include + extern size_t foo; + extern unsigned long foo; + ]], + [[]])], + [fits_in_uint=0]) + fi + dnl We cannot use 'expr' to simplify this expression, because 'expr' + dnl works only with 'long' integers in the host environment, while we + dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. + if test $fits_in_uint = 1; then + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" + else + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" + fi + else + dnl Shouldn't happen, but who knows... + gl_cv_size_max='((size_t)~(size_t)0)' + fi + fi + ]) + if test "$gl_cv_size_max" != yes; then + AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], + [Define as the maximum value of type 'size_t', if the system doesn't define it.]) + fi + dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after + dnl . Remember that the #undef in AH_VERBATIM gets replaced with + dnl #define by AC_DEFINE_UNQUOTED. + AH_VERBATIM([SIZE_MAX], +[/* Define as the maximum value of type 'size_t', if the system doesn't define + it. */ +#ifndef SIZE_MAX +# undef SIZE_MAX +#endif]) +]) +m4trace:m4/sleep.m4:7: -1- AC_DEFUN([gl_FUNC_SLEEP], [ + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + dnl We expect to see the declaration of sleep() in a header file. + dnl Older versions of mingw have a sleep() function that is an alias to + dnl _sleep() in MSVCRT. It has a different signature than POSIX sleep(): + dnl it takes the number of milliseconds as argument and returns void. + dnl mingw does not declare this function. + AC_CHECK_DECLS([sleep], , , [#include ]) + AC_CHECK_FUNCS_ONCE([sleep]) + if test $ac_cv_have_decl_sleep != yes; then + HAVE_SLEEP=0 + AC_LIBOBJ([sleep]) + else + dnl Cygwin 1.5.x has a bug where sleep can't exceed 49.7 days. + AC_CACHE_CHECK([for working sleep], [gl_cv_func_sleep_works], + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ +#include +#include +#include +static void +handle_alarm (int sig) +{ + if (sig != SIGALRM) + _exit (2); +} +]], [[ + /* Failure to compile this test due to missing alarm is okay, + since all such platforms (mingw) also lack sleep. */ + unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ + unsigned int remaining; + signal (SIGALRM, handle_alarm); + alarm (1); + remaining = sleep (pentecost); + return !(pentecost - 10 < remaining && remaining <= pentecost);]])], + [gl_cv_func_sleep_works=yes], [gl_cv_func_sleep_works=no], + [gl_cv_func_sleep_works="guessing no"])]) + if test "$gl_cv_func_sleep_works" != yes; then + REPLACE_SLEEP=1 + AC_LIBOBJ([sleep]) + fi + fi +]) +m4trace:m4/ssize_t.m4:10: -1- AC_DEFUN([gt_TYPE_SSIZE_T], [ + AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[int x = sizeof (ssize_t *) + sizeof (ssize_t); + return !x;]])], + [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) + if test $gt_cv_ssize_t = no; then + AC_DEFINE([ssize_t], [int], + [Define as a signed type of the same size as size_t.]) + fi +]) +m4trace:m4/stdbool.m4:12: -1- AC_DEFUN([AM_STDBOOL_H], [ + AC_REQUIRE([AC_HEADER_STDBOOL]) + + # Define two additional variables used in the Makefile substitution. + + if test "$ac_cv_header_stdbool_h" = yes; then + STDBOOL_H='' + else + STDBOOL_H='stdbool.h' + fi + AC_SUBST([STDBOOL_H]) + + if test "$ac_cv_type__Bool" = yes; then + HAVE__BOOL=1 + else + HAVE__BOOL=0 + fi + AC_SUBST([HAVE__BOOL]) +]) +m4trace:m4/stdbool.m4:34: -1- AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) +m4trace:m4/stdbool.m4:40: -1- AC_DEFUN([AC_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99], + [ac_cv_header_stdbool_h], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; + ]], + [[ + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); + ]])], + [ac_cv_header_stdbool_h=yes], + [ac_cv_header_stdbool_h=no])]) + AC_CHECK_TYPES([_Bool]) + if test $ac_cv_header_stdbool_h = yes; then + AC_DEFINE([HAVE_STDBOOL_H], [1], [Define to 1 if stdbool.h conforms to C99.]) + fi]) +m4trace:m4/stddef_h.m4:8: -1- AC_DEFUN([gl_STDDEF_H], [ + AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) + if test $gt_cv_c_wchar_t = no; then + HAVE_WCHAR_T=0 + STDDEF_H=stddef.h + fi + AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions], + [gl_cv_decl_null_works], + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + int test[2 * (sizeof NULL == sizeof (void *)) -1]; +]])], + [gl_cv_decl_null_works=yes], + [gl_cv_decl_null_works=no])]) + if test $gl_cv_decl_null_works = no; then + REPLACE_NULL=1 + STDDEF_H=stddef.h + fi + if test -n "$STDDEF_H"; then + gl_CHECK_NEXT_HEADERS([stddef.h]) + fi +]) +m4trace:m4/stddef_h.m4:32: -1- AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) +]) +m4trace:m4/stddef_h.m4:39: -1- AC_DEFUN([gl_STDDEF_H_DEFAULTS], [ + dnl Assume proper GNU behavior unless another module says otherwise. + REPLACE_NULL=0; AC_SUBST([REPLACE_NULL]) + HAVE_WCHAR_T=1; AC_SUBST([HAVE_WCHAR_T]) + STDDEF_H=''; AC_SUBST([STDDEF_H]) +]) +m4trace:m4/stdint.m4:10: -1- AC_DEFUN([gl_STDINT_H], [ + AC_PREREQ([2.59])dnl + + dnl Check for long long int and unsigned long long int. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + if test $ac_cv_type_long_long_int = yes; then + HAVE_LONG_LONG_INT=1 + else + HAVE_LONG_LONG_INT=0 + fi + AC_SUBST([HAVE_LONG_LONG_INT]) + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + if test $ac_cv_type_unsigned_long_long_int = yes; then + HAVE_UNSIGNED_LONG_LONG_INT=1 + else + HAVE_UNSIGNED_LONG_LONG_INT=0 + fi + AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) + + dnl Check for . + dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h. + if test $ac_cv_header_inttypes_h = yes; then + HAVE_INTTYPES_H=1 + else + HAVE_INTTYPES_H=0 + fi + AC_SUBST([HAVE_INTTYPES_H]) + + dnl Check for . + dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h. + if test $ac_cv_header_sys_types_h = yes; then + HAVE_SYS_TYPES_H=1 + else + HAVE_SYS_TYPES_H=0 + fi + AC_SUBST([HAVE_SYS_TYPES_H]) + + gl_CHECK_NEXT_HEADERS([stdint.h]) + if test $ac_cv_header_stdint_h = yes; then + HAVE_STDINT_H=1 + else + HAVE_STDINT_H=0 + fi + AC_SUBST([HAVE_STDINT_H]) + + dnl Now see whether we need a substitute . + if test $ac_cv_header_stdint_h = yes; then + AC_CACHE_CHECK([whether stdint.h conforms to C99], + [gl_cv_header_working_stdint_h], + [gl_cv_header_working_stdint_h=no + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM([[ +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ +#if !(defined WCHAR_MIN && defined WCHAR_MAX) +#error "WCHAR_MIN, WCHAR_MAX not defined in " +#endif +] +gl_STDINT_INCLUDES +[ +#ifdef INT8_MAX +int8_t a1 = INT8_MAX; +int8_t a1min = INT8_MIN; +#endif +#ifdef INT16_MAX +int16_t a2 = INT16_MAX; +int16_t a2min = INT16_MIN; +#endif +#ifdef INT32_MAX +int32_t a3 = INT32_MAX; +int32_t a3min = INT32_MIN; +#endif +#ifdef INT64_MAX +int64_t a4 = INT64_MAX; +int64_t a4min = INT64_MIN; +#endif +#ifdef UINT8_MAX +uint8_t b1 = UINT8_MAX; +#else +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; +#endif +#ifdef UINT16_MAX +uint16_t b2 = UINT16_MAX; +#endif +#ifdef UINT32_MAX +uint32_t b3 = UINT32_MAX; +#endif +#ifdef UINT64_MAX +uint64_t b4 = UINT64_MAX; +#endif +int_least8_t c1 = INT8_C (0x7f); +int_least8_t c1max = INT_LEAST8_MAX; +int_least8_t c1min = INT_LEAST8_MIN; +int_least16_t c2 = INT16_C (0x7fff); +int_least16_t c2max = INT_LEAST16_MAX; +int_least16_t c2min = INT_LEAST16_MIN; +int_least32_t c3 = INT32_C (0x7fffffff); +int_least32_t c3max = INT_LEAST32_MAX; +int_least32_t c3min = INT_LEAST32_MIN; +int_least64_t c4 = INT64_C (0x7fffffffffffffff); +int_least64_t c4max = INT_LEAST64_MAX; +int_least64_t c4min = INT_LEAST64_MIN; +uint_least8_t d1 = UINT8_C (0xff); +uint_least8_t d1max = UINT_LEAST8_MAX; +uint_least16_t d2 = UINT16_C (0xffff); +uint_least16_t d2max = UINT_LEAST16_MAX; +uint_least32_t d3 = UINT32_C (0xffffffff); +uint_least32_t d3max = UINT_LEAST32_MAX; +uint_least64_t d4 = UINT64_C (0xffffffffffffffff); +uint_least64_t d4max = UINT_LEAST64_MAX; +int_fast8_t e1 = INT_FAST8_MAX; +int_fast8_t e1min = INT_FAST8_MIN; +int_fast16_t e2 = INT_FAST16_MAX; +int_fast16_t e2min = INT_FAST16_MIN; +int_fast32_t e3 = INT_FAST32_MAX; +int_fast32_t e3min = INT_FAST32_MIN; +int_fast64_t e4 = INT_FAST64_MAX; +int_fast64_t e4min = INT_FAST64_MIN; +uint_fast8_t f1 = UINT_FAST8_MAX; +uint_fast16_t f2 = UINT_FAST16_MAX; +uint_fast32_t f3 = UINT_FAST32_MAX; +uint_fast64_t f4 = UINT_FAST64_MAX; +#ifdef INTPTR_MAX +intptr_t g = INTPTR_MAX; +intptr_t gmin = INTPTR_MIN; +#endif +#ifdef UINTPTR_MAX +uintptr_t h = UINTPTR_MAX; +#endif +intmax_t i = INTMAX_MAX; +uintmax_t j = UINTMAX_MAX; + +#include /* for CHAR_BIT */ +#define TYPE_MINIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) +#define TYPE_MAXIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) +struct s { + int check_PTRDIFF: + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) + ? 1 : -1; + /* Detect bug in FreeBSD 6.0 / ia64. */ + int check_SIG_ATOMIC: + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) + ? 1 : -1; + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; + int check_WCHAR: + WCHAR_MIN == TYPE_MINIMUM (wchar_t) + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) + ? 1 : -1; + /* Detect bug in mingw. */ + int check_WINT: + WINT_MIN == TYPE_MINIMUM (wint_t) + && WINT_MAX == TYPE_MAXIMUM (wint_t) + ? 1 : -1; + + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ + int check_UINT8_C: + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; + int check_UINT16_C: + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; + + /* Detect bugs in OpenBSD 3.9 stdint.h. */ +#ifdef UINT8_MAX + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; +#endif +#ifdef UINT16_MAX + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; +#endif +#ifdef UINT32_MAX + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; +#endif +#ifdef UINT64_MAX + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; +#endif + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; +}; + ]])], + [dnl Determine whether the various *_MIN, *_MAX macros are usable + dnl in preprocessor expression. We could do it by compiling a test + dnl program for each of these macros. It is faster to run a program + dnl that inspects the macro expansion. + dnl This detects a bug on HP-UX 11.23/ia64. + AC_RUN_IFELSE([ + AC_LANG_PROGRAM([[ +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include +] +gl_STDINT_INCLUDES +[ +#include +#include +#define MVAL(macro) MVAL1(macro) +#define MVAL1(expression) #expression +static const char *macro_values[] = + { +#ifdef INT8_MAX + MVAL (INT8_MAX), +#endif +#ifdef INT16_MAX + MVAL (INT16_MAX), +#endif +#ifdef INT32_MAX + MVAL (INT32_MAX), +#endif +#ifdef INT64_MAX + MVAL (INT64_MAX), +#endif +#ifdef UINT8_MAX + MVAL (UINT8_MAX), +#endif +#ifdef UINT16_MAX + MVAL (UINT16_MAX), +#endif +#ifdef UINT32_MAX + MVAL (UINT32_MAX), +#endif +#ifdef UINT64_MAX + MVAL (UINT64_MAX), +#endif + NULL + }; +]], [[ + const char **mv; + for (mv = macro_values; *mv != NULL; mv++) + { + const char *value = *mv; + /* Test whether it looks like a cast expression. */ + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 + || strncmp (value, "((int)"/*)*/, 6) == 0 + || strncmp (value, "((signed short)"/*)*/, 15) == 0 + || strncmp (value, "((signed char)"/*)*/, 14) == 0) + return 1; + } + return 0; +]])], + [gl_cv_header_working_stdint_h=yes], + [], + [dnl When cross-compiling, assume it works. + gl_cv_header_working_stdint_h=yes + ]) + ]) + ]) + fi + if test "$gl_cv_header_working_stdint_h" = yes; then + STDINT_H= + else + dnl Check for , and for + dnl (used in Linux libc4 >= 4.6.7 and libc5). + AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) + if test $ac_cv_header_sys_inttypes_h = yes; then + HAVE_SYS_INTTYPES_H=1 + else + HAVE_SYS_INTTYPES_H=0 + fi + AC_SUBST([HAVE_SYS_INTTYPES_H]) + if test $ac_cv_header_sys_bitypes_h = yes; then + HAVE_SYS_BITYPES_H=1 + else + HAVE_SYS_BITYPES_H=0 + fi + AC_SUBST([HAVE_SYS_BITYPES_H]) + + dnl Check for (missing in Linux uClibc when built without wide + dnl character support). + AC_CHECK_HEADERS_ONCE([wchar.h]) + + gl_STDINT_TYPE_PROPERTIES + STDINT_H=stdint.h + fi + AC_SUBST([STDINT_H]) +]) +m4trace:m4/stdint.m4:305: -1- AC_DEFUN([gl_STDINT_BITSIZEOF], [ + dnl Use a shell loop, to avoid bloating configure, and + dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into + dnl config.h.in, + dnl - extra AC_SUBST calls, so that the right substitutions are made. + m4_foreach_w([gltype], [$1], + [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), + [Define to the number of bits in type ']gltype['.])]) + for gltype in $1 ; do + AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], + [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], + [$2 +#include ], [result=unknown]) + eval gl_cv_bitsizeof_${gltype}=\$result + ]) + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, + dnl do a syntax check even on unused #if conditions and give an error + dnl on valid C code like this: + dnl #if 0 + dnl # if > 32 + dnl # endif + dnl #endif + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) + eval BITSIZEOF_${GLTYPE}=\$result + done + m4_foreach_w([gltype], [$1], + [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) +]) +m4trace:m4/stdint.m4:343: -1- AC_DEFUN([gl_CHECK_TYPES_SIGNED], [ + dnl Use a shell loop, to avoid bloating configure, and + dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into + dnl config.h.in, + dnl - extra AC_SUBST calls, so that the right substitutions are made. + m4_foreach_w([gltype], [$1], + [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), + [Define to 1 if ']gltype[' is a signed integer type.])]) + for gltype in $1 ; do + AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([$2[ + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], + result=yes, result=no) + eval gl_cv_type_${gltype}_signed=\$result + ]) + eval result=\$gl_cv_type_${gltype}_signed + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + if test "$result" = yes; then + AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) + eval HAVE_SIGNED_${GLTYPE}=1 + else + eval HAVE_SIGNED_${GLTYPE}=0 + fi + done + m4_foreach_w([gltype], [$1], + [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) +]) +m4trace:m4/stdint.m4:376: -1- AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [ + dnl Use a shell loop, to avoid bloating configure, and + dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into + dnl config.h.in, + dnl - extra AC_SUBST calls, so that the right substitutions are made. + m4_foreach_w([gltype], [$1], + [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], + [Define to l, ll, u, ul, ull, etc., as suitable for + constants of type ']gltype['.])]) + for gltype in $1 ; do + AC_CACHE_CHECK([for $gltype integer literal suffix], + [gl_cv_type_${gltype}_suffix], + [eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([$2[ + extern $gltype foo; + extern $gltype1 foo;]])], + [eval gl_cv_type_${gltype}_suffix=\$glsuf]) + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done]) + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) + done + m4_foreach_w([gltype], [$1], + [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) +]) +m4trace:m4/stdint.m4:426: -1- AC_DEFUN([gl_STDINT_INCLUDES], [[ + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif +]]) +m4trace:m4/stdint.m4:442: -1- AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [ + AC_REQUIRE([gl_MULTIARCH]) + if test $APPLE_UNIVERSAL_BUILD = 0; then + gl_STDINT_BITSIZEOF([ptrdiff_t size_t], + [gl_STDINT_INCLUDES]) + fi + gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], + [gl_STDINT_INCLUDES]) + gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], + [gl_STDINT_INCLUDES]) + gl_cv_type_ptrdiff_t_signed=yes + gl_cv_type_size_t_signed=no + if test $APPLE_UNIVERSAL_BUILD = 0; then + gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], + [gl_STDINT_INCLUDES]) + fi + gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], + [gl_STDINT_INCLUDES]) +]) +m4trace:m4/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [ + AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include + #include ]], + [[uintmax_t i = (uintmax_t) -1; return !i;]])], + [gl_cv_header_stdint_h=yes], + [gl_cv_header_stdint_h=no])]) + if test $gl_cv_header_stdint_h = yes; then + AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], + [Define if exists, doesn't clash with , + and declares uintmax_t. ]) + fi +]) +m4trace:m4/stdio_h.m4:7: -1- AC_DEFUN([gl_STDIO_H], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([gl_ASM_SYMBOL_PREFIX]) + gl_CHECK_NEXT_HEADERS([stdio.h]) + dnl No need to create extra modules for these functions. Everyone who uses + dnl likely needs them. + GNULIB_FPRINTF=1 + GNULIB_PRINTF=1 + GNULIB_VFPRINTF=1 + GNULIB_VPRINTF=1 + GNULIB_FPUTC=1 + GNULIB_PUTC=1 + GNULIB_PUTCHAR=1 + GNULIB_FPUTS=1 + GNULIB_PUTS=1 + GNULIB_FWRITE=1 + dnl This ifdef is just an optimization, to avoid performing a configure + dnl check whose result is not used. It does not make the test of + dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant. + m4_ifdef([gl_SIGNAL_SIGPIPE], [ + gl_SIGNAL_SIGPIPE + if test $gl_cv_header_signal_h_SIGPIPE != yes; then + REPLACE_STDIO_WRITE_FUNCS=1 + AC_LIBOBJ([stdio-write]) + fi + ]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use, and which is not + dnl guaranteed by C89. + gl_WARN_ON_USE_PREPARE([[#include + ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat + snprintf tmpfile vdprintf vsnprintf]) +]) +m4trace:m4/stdio_h.m4:44: -1- AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) +]) +m4trace:m4/stdio_h.m4:53: -1- AC_DEFUN([gl_STDIO_H_DEFAULTS], [ + GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) + GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) + GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) + GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) + GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) + GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) + GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) + GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) + GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) + GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) + GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) + GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) + GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) + GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) + GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) + GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) + GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) + GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) + GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) + GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) + GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) + GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) + GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) + GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) + GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) + GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) + GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE]) + GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME]) + GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT]) + GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) + GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) + GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) + GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE]) + GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) + GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) + GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) + GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) + GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) + GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) + GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) + GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) + HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) + HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) + HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) + HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) + HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) + HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) + HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) + HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) + HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) + HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) + HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) + REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) + REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) + REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) + REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) + REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) + REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) + REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) + REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) + REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) + REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) + REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) + REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM]) + REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) + REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) + REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) + REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN]) + REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) + REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE]) + REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME]) + REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT]) + REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) + REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) + REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) + REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE]) + REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) + REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) + REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) + REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) + REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) + REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) +]) +m4trace:m4/stdio_h.m4:143: -1- AC_DEFUN([gl_STDIN_LARGE_OFFSET], [ + AC_CACHE_CHECK([whether stdin defaults to large file offsets], + [gl_cv_var_stdin_large_offset], + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], +[[#if defined __SL64 && defined __SCLE /* cygwin */ + /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making + fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and + it is easier to do a version check than building a runtime test. */ +# include +# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25) + choke me +# endif +#endif]])], + [gl_cv_var_stdin_large_offset=yes], + [gl_cv_var_stdin_large_offset=no])]) +]) +m4trace:m4/stdlib_h.m4:7: -1- AC_DEFUN([gl_STDLIB_H], [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + gl_CHECK_NEXT_HEADERS([stdlib.h]) + AC_CHECK_HEADERS([random.h], [], [], [AC_INCLUDES_DEFAULT]) + if test $ac_cv_header_random_h = yes; then + HAVE_RANDOM_H=1 + else + HAVE_RANDOM_H=0 + fi + AC_SUBST([HAVE_RANDOM_H]) + AC_CHECK_TYPES([struct random_data], + [], [HAVE_STRUCT_RANDOM_DATA=0], + [[#include + #if HAVE_RANDOM_H + # include + #endif + ]]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use, and which is not + dnl guaranteed by C89. + gl_WARN_ON_USE_PREPARE([[#include +#if HAVE_SYS_LOADAVG_H +# include +#endif +#if HAVE_RANDOM_H +# include +#endif + ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp + mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r + setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt + unsetenv]) +]) +m4trace:m4/stdlib_h.m4:42: -1- AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) +]) +m4trace:m4/stdlib_h.m4:51: -1- AC_DEFUN([gl_STDLIB_H_DEFAULTS], [ + GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT]) + GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) + GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) + GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) + GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) + GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) + GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) + GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) + GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) + GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) + GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) + GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) + GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS]) + GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME]) + GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) + GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) + GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) + GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH]) + GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) + GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) + GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) + GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) + GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) + GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) + GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) + HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) + HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) + HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) + HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) + HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT]) + HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) + HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP]) + HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS]) + HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP]) + HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS]) + HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME]) + HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) + HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH]) + HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) + HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) + HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) + HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) + HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) + HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) + HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) + HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT]) + HAVE_UNSETENV=1; AC_SUBST([HAVE_UNSETENV]) + REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) + REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) + REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) + REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) + REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) + REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) + REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) + REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) + REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) + REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) +]) +m4trace:m4/strcase.m4:7: -1- AC_DEFUN([gl_STRCASE], [ + gl_FUNC_STRCASECMP + gl_FUNC_STRNCASECMP +]) +m4trace:m4/strcase.m4:13: -1- AC_DEFUN([gl_FUNC_STRCASECMP], [ + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + AC_REPLACE_FUNCS([strcasecmp]) + if test $ac_cv_func_strcasecmp = no; then + HAVE_STRCASECMP=0 + gl_PREREQ_STRCASECMP + fi +]) +m4trace:m4/strcase.m4:23: -1- AC_DEFUN([gl_FUNC_STRNCASECMP], [ + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + AC_REPLACE_FUNCS([strncasecmp]) + if test $ac_cv_func_strncasecmp = no; then + gl_PREREQ_STRNCASECMP + fi + AC_CHECK_DECLS([strncasecmp]) + if test $ac_cv_have_decl_strncasecmp = no; then + HAVE_DECL_STRNCASECMP=0 + fi +]) +m4trace:m4/strcase.m4:37: -1- AC_DEFUN([gl_PREREQ_STRCASECMP], [ + : +]) +m4trace:m4/strcase.m4:42: -1- AC_DEFUN([gl_PREREQ_STRNCASECMP], [ + : +]) +m4trace:m4/strchrnul.m4:7: -1- AC_DEFUN([gl_FUNC_STRCHRNUL], [ + dnl Persuade glibc to declare strchrnul(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_REPLACE_FUNCS([strchrnul]) + if test $ac_cv_func_strchrnul = no; then + HAVE_STRCHRNUL=0 + gl_PREREQ_STRCHRNUL + fi +]) +m4trace:m4/strchrnul.m4:21: -1- AC_DEFUN([gl_PREREQ_STRCHRNUL], [:]) +m4trace:m4/strerror.m4:7: -1- AC_DEFUN([gl_FUNC_STRERROR], [ + AC_REQUIRE([gl_FUNC_STRERROR_SEPARATE]) + if test $REPLACE_STRERROR = 1; then + AC_LIBOBJ([strerror]) + AC_DEFINE_UNQUOTED([REPLACE_STRERROR], [$REPLACE_STRERROR], + [Define this to 1 if strerror is broken.]) + fi +]) +m4trace:m4/strerror.m4:18: -1- AC_DEFUN([gl_FUNC_STRERROR_SEPARATE], [ + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_REQUIRE([gl_HEADER_ERRNO_H]) + if test -z "$ERRNO_H"; then + AC_CACHE_CHECK([for working strerror function], + [gl_cv_func_working_strerror], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[#include + ]], + [[return !*strerror (-2);]])], + [gl_cv_func_working_strerror=yes], + [gl_cv_func_working_strerror=no], + [dnl Assume crossbuild works if it compiles. + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include + ]], + [[return !*strerror (-2);]])], + [gl_cv_func_working_strerror=yes], + [gl_cv_func_working_strerror=no]) + ]) + ]) + if test $gl_cv_func_working_strerror = no; then + dnl The system's strerror() fails to return a string for out-of-range + dnl integers. Replace it. + REPLACE_STRERROR=1 + fi + else + dnl The system's strerror() cannot know about the new errno values we add + dnl to . Replace it. + REPLACE_STRERROR=1 + fi + if test $REPLACE_STRERROR = 1; then + gl_PREREQ_STRERROR + fi +]) +m4trace:m4/strerror.m4:58: -1- AC_DEFUN([gl_PREREQ_STRERROR], [ + AC_CHECK_DECLS([strerror]) + AC_CHECK_HEADERS_ONCE([sys/socket.h]) + if test $ac_cv_header_sys_socket_h != yes; then + dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make + dnl the check for those headers unconditional; yet cygwin reports + dnl that the headers are present but cannot be compiled (since on + dnl cygwin, all socket information should come from sys/socket.h). + AC_CHECK_HEADERS([winsock2.h]) + fi +]) +m4trace:m4/string_h.m4:12: -1- AC_DEFUN([gl_HEADER_STRING_H], [ + dnl Use AC_REQUIRE here, so that the default behavior below is expanded + dnl once only, before all statements that occur in other macros. + AC_REQUIRE([gl_HEADER_STRING_H_BODY]) +]) +m4trace:m4/string_h.m4:19: -1- AC_DEFUN([gl_HEADER_STRING_H_BODY], [ + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + gl_CHECK_NEXT_HEADERS([string.h]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use, and which is not + dnl guaranteed by C89. + gl_WARN_ON_USE_PREPARE([[#include + ]], + [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup + strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal + strverscmp]) +]) +m4trace:m4/string_h.m4:35: -1- AC_DEFUN([gl_STRING_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) +]) +m4trace:m4/string_h.m4:44: -1- AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [ + GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) + GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) + GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) + GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) + GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) + GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) + GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) + GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) + GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) + GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT]) + GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) + GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) + GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) + GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) + GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) + GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) + GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) + GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) + GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) + GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) + GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) + GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) + GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) + GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) + GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) + GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) + GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) + GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) + GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) + GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) + GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) + GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) + GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) + GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) + HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR]) + HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) + HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) + HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) + HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) + HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) + HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) + HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) + HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) + HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) + HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) + HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) + HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) + HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) + HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) + HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) + HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) + REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) + REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) + REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY]) + REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) + REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) + REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) + REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) + REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT]) + REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP]) + REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN]) + REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) + REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R]) + UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R]) +]) +m4trace:m4/strings_h.m4:9: -1- AC_DEFUN([gl_HEADER_STRINGS_H], [ + dnl Use AC_REQUIRE here, so that the default behavior below is expanded + dnl once only, before all statements that occur in other macros. + AC_REQUIRE([gl_HEADER_STRINGS_H_BODY]) +]) +m4trace:m4/strings_h.m4:16: -1- AC_DEFUN([gl_HEADER_STRINGS_H_BODY], [ + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + gl_CHECK_NEXT_HEADERS([strings.h]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[#include + ]], [strcasecmp strncasecmp]) +]) +m4trace:m4/strings_h.m4:27: -1- AC_DEFUN([gl_STRINGS_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_HEADER_STRINGS_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) +]) +m4trace:m4/strings_h.m4:34: -1- AC_DEFUN([gl_HEADER_STRINGS_H_DEFAULTS], [ + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_STRCASECMP=1; AC_SUBST([HAVE_STRCASECMP]) + HAVE_DECL_STRNCASECMP=1; AC_SUBST([HAVE_DECL_STRNCASECMP]) +]) +m4trace:m4/strndup.m4:7: -1- AC_DEFUN([gl_FUNC_STRNDUP], [ + dnl Persuade glibc to declare strndup(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + AC_CHECK_DECLS_ONCE([strndup]) + AC_CHECK_FUNCS_ONCE([strndup]) + if test $ac_cv_have_decl_strndup = no; then + HAVE_DECL_STRNDUP=0 + fi + + if test $ac_cv_func_strndup = yes; then + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. + AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup_works], + [AC_RUN_IFELSE([ + AC_LANG_PROGRAM([[#include + #include ]], [[ +#ifndef HAVE_DECL_STRNDUP + extern char *strndup (const char *, size_t); +#endif + char *s; + s = strndup ("some longer string", 15); + free (s); + s = strndup ("shorter string", 13); + return s[13] != '\0';]])], + [gl_cv_func_strndup_works=yes], + [gl_cv_func_strndup_works=no], + [ +changequote(,)dnl + case $host_os in + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; + *) gl_cv_func_strndup_works="guessing yes";; + esac +changequote([,])dnl + ])]) + case $gl_cv_func_strndup_works in + *no) + REPLACE_STRNDUP=1 + AC_LIBOBJ([strndup]) + ;; + esac + else + AC_LIBOBJ([strndup]) + fi +]) +m4trace:m4/strnlen.m4:8: -1- AC_DEFUN([gl_FUNC_STRNLEN], [ + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) + + dnl Persuade glibc to declare strnlen(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + AC_CHECK_DECLS_ONCE([strnlen]) + if test $ac_cv_have_decl_strnlen = no; then + HAVE_DECL_STRNLEN=0 + else + AC_FUNC_STRNLEN + dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]). + if test $ac_cv_func_strnlen_working = no; then + REPLACE_STRNLEN=1 + fi + fi + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then + AC_LIBOBJ([strnlen]) + gl_PREREQ_STRNLEN + fi +]) +m4trace:m4/strnlen.m4:32: -1- AC_DEFUN([gl_PREREQ_STRNLEN], [:]) +m4trace:m4/sys_wait_h.m4:7: -1- AC_DEFUN([gl_SYS_WAIT_H], [ + AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS]) + + dnl is always overridden, because of GNULIB_POSIXCHECK. + gl_CHECK_NEXT_HEADERS([sys/wait.h]) +]) +m4trace:m4/sys_wait_h.m4:15: -1- AC_DEFUN([gl_SYS_WAIT_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) +]) +m4trace:m4/sys_wait_h.m4:22: -1- AC_DEFUN([gl_SYS_WAIT_H_DEFAULTS], [ + dnl Assume proper GNU behavior unless another module says otherwise. +]) +m4trace:m4/sysexits.m4:7: -1- AC_DEFUN([gl_SYSEXITS], [ + AC_CHECK_HEADERS_ONCE([sysexits.h]) + if test $ac_cv_header_sysexits_h = yes; then + HAVE_SYSEXITS_H=1 + gl_CHECK_NEXT_HEADERS([sysexits.h]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], + [[switch (0) + { + case EX_OK: + case EX_USAGE: + case EX_DATAERR: + case EX_NOINPUT: + case EX_NOUSER: + case EX_NOHOST: + case EX_UNAVAILABLE: + case EX_SOFTWARE: + case EX_OSERR: + case EX_OSFILE: + case EX_CANTCREAT: + case EX_IOERR: + case EX_TEMPFAIL: + case EX_PROTOCOL: + case EX_NOPERM: + case EX_CONFIG: + break; + } + ]])], + [SYSEXITS_H=], + [SYSEXITS_H=sysexits.h]) + else + HAVE_SYSEXITS_H=0 + SYSEXITS_H=sysexits.h + fi + AC_SUBST([HAVE_SYSEXITS_H]) + AC_SUBST([SYSEXITS_H]) +]) +m4trace:m4/threadlib.m4:24: -1- AC_DEFUN([gl_THREADLIB_EARLY], [ + AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) +]) +m4trace:m4/threadlib.m4:31: -1- AC_DEFUN([gl_THREADLIB_EARLY_BODY], [ + dnl Ordering constraints: This macro modifies CPPFLAGS in a way that + dnl influences the result of the autoconf tests that test for *_unlocked + dnl declarations, on AIX 5 at least. Therefore it must come early. + AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl + AC_BEFORE([$0], [gl_ARGP])dnl + + AC_REQUIRE([AC_CANONICAL_HOST]) + dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. + dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes + dnl AC_GNU_SOURCE. + m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], + [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], + [AC_REQUIRE([AC_GNU_SOURCE])]) + dnl Check for multithreading. + m4_divert_text([DEFAULTS], [gl_use_threads_default=]) + AC_ARG_ENABLE([threads], +AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API]) +AC_HELP_STRING([--disable-threads], [build without multithread safety]), + [gl_use_threads=$enableval], + [if test -n "$gl_use_threads_default"; then + gl_use_threads="$gl_use_threads_default" + else +changequote(,)dnl + case "$host_os" in + dnl Disable multithreading by default on OSF/1, because it interferes + dnl with fork()/exec(): When msgexec is linked with -lpthread, its + dnl child process gets an endless segmentation fault inside execvp(). + dnl Disable multithreading by default on Cygwin 1.5.x, because it has + dnl bugs that lead to endless loops or crashes. See + dnl . + osf*) gl_use_threads=no ;; + cygwin*) + case `uname -r` in + 1.[0-5].*) gl_use_threads=no ;; + *) gl_use_threads=yes ;; + esac + ;; + *) gl_use_threads=yes ;; + esac +changequote([,])dnl + fi + ]) + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then + # For using : + case "$host_os" in + osf*) + # On OSF/1, the compiler needs the flag -D_REENTRANT so that it + # groks . cc also understands the flag -pthread, but + # we don't use it because 1. gcc-2.95 doesn't understand -pthread, + # 2. putting a flag into CPPFLAGS that has an effect on the linker + # causes the AC_LINK_IFELSE test below to succeed unexpectedly, + # leading to wrong values of LIBTHREAD and LTLIBTHREAD. + CPPFLAGS="$CPPFLAGS -D_REENTRANT" + ;; + esac + # Some systems optimize for single-threaded programs by default, and + # need special flags to disable these optimizations. For example, the + # definition of 'errno' in . + case "$host_os" in + aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; + solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; + esac + fi +]) +m4trace:m4/threadlib.m4:100: -1- AC_DEFUN([gl_THREADLIB_BODY], [ + AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) + gl_threads_api=none + LIBTHREAD= + LTLIBTHREAD= + LIBMULTITHREAD= + LTLIBMULTITHREAD= + if test "$gl_use_threads" != no; then + dnl Check whether the compiler and linker support weak declarations. + AC_CACHE_CHECK([whether imported symbols can be declared weak], + [gl_cv_have_weak], + [gl_cv_have_weak=no + dnl First, test whether the compiler accepts it syntactically. + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[extern void xyzzy (); +#pragma weak xyzzy]], + [[xyzzy();]])], + [gl_cv_have_weak=maybe]) + if test $gl_cv_have_weak = maybe; then + dnl Second, test whether it actually works. On Cygwin 1.7.2, with + dnl gcc 4.3, symbols declared weak always evaluate to the address 0. + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#pragma weak fputs +int main () +{ + return (fputs == NULL); +}]])], + [gl_cv_have_weak=yes], + [gl_cv_have_weak=no], + [dnl When cross-compiling, assume that only ELF platforms support + dnl weak symbols. + AC_EGREP_CPP([Extensible Linking Format], + [#ifdef __ELF__ + Extensible Linking Format + #endif + ], + [gl_cv_have_weak="guessing yes"], + [gl_cv_have_weak="guessing no"]) + ]) + fi + ]) + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then + # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that + # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. + AC_CHECK_HEADER([pthread.h], + [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) + if test "$gl_have_pthread_h" = yes; then + # Other possible tests: + # -lpthreads (FSU threads, PCthreads) + # -lgthreads + gl_have_pthread= + # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist + # in libc. IRIX 6.5 has the first one in both libc and libpthread, but + # the second one only in libpthread, and lock.c needs it. + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[#include ]], + [[pthread_mutex_lock((pthread_mutex_t*)0); + pthread_mutexattr_init((pthread_mutexattr_t*)0);]])], + [gl_have_pthread=yes]) + # Test for libpthread by looking for pthread_kill. (Not pthread_self, + # since it is defined as a macro on OSF/1.) + if test -n "$gl_have_pthread"; then + # The program links fine without libpthread. But it may actually + # need to link with libpthread in order to create multiple threads. + AC_CHECK_LIB([pthread], [pthread_kill], + [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread + # On Solaris and HP-UX, most pthread functions exist also in libc. + # Therefore pthread_in_use() needs to actually try to create a + # thread: pthread_create from libc will fail, whereas + # pthread_create will actually create a thread. + case "$host_os" in + solaris* | hpux*) + AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], + [Define if the pthread_in_use() detection is hard.]) + esac + ]) + else + # Some library is needed. Try libpthread and libc_r. + AC_CHECK_LIB([pthread], [pthread_kill], + [gl_have_pthread=yes + LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) + if test -z "$gl_have_pthread"; then + # For FreeBSD 4. + AC_CHECK_LIB([c_r], [pthread_kill], + [gl_have_pthread=yes + LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r + LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) + fi + fi + if test -n "$gl_have_pthread"; then + gl_threads_api=posix + AC_DEFINE([USE_POSIX_THREADS], [1], + [Define if the POSIX multithreading library can be used.]) + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then + AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], + [Define if references to the POSIX multithreading library should be made weak.]) + LIBTHREAD= + LTLIBTHREAD= + fi + fi + fi + fi + fi + if test -z "$gl_have_pthread"; then + if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then + gl_have_solaristhread= + gl_save_LIBS="$LIBS" + LIBS="$LIBS -lthread" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ +#include +#include + ]], + [[thr_self();]])], + [gl_have_solaristhread=yes]) + LIBS="$gl_save_LIBS" + if test -n "$gl_have_solaristhread"; then + gl_threads_api=solaris + LIBTHREAD=-lthread + LTLIBTHREAD=-lthread + LIBMULTITHREAD="$LIBTHREAD" + LTLIBMULTITHREAD="$LTLIBTHREAD" + AC_DEFINE([USE_SOLARIS_THREADS], [1], + [Define if the old Solaris multithreading library can be used.]) + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then + AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1], + [Define if references to the old Solaris multithreading library should be made weak.]) + LIBTHREAD= + LTLIBTHREAD= + fi + fi + fi + fi + if test "$gl_use_threads" = pth; then + gl_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_LINKFLAGS([pth]) + gl_have_pth= + gl_save_LIBS="$LIBS" + LIBS="$LIBS -lpth" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[#include ]], [[pth_self();]])], + [gl_have_pth=yes]) + LIBS="$gl_save_LIBS" + if test -n "$gl_have_pth"; then + gl_threads_api=pth + LIBTHREAD="$LIBPTH" + LTLIBTHREAD="$LTLIBPTH" + LIBMULTITHREAD="$LIBTHREAD" + LTLIBMULTITHREAD="$LTLIBTHREAD" + AC_DEFINE([USE_PTH_THREADS], [1], + [Define if the GNU Pth multithreading library can be used.]) + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then + AC_DEFINE([USE_PTH_THREADS_WEAK], [1], + [Define if references to the GNU Pth multithreading library should be made weak.]) + LIBTHREAD= + LTLIBTHREAD= + fi + fi + else + CPPFLAGS="$gl_save_CPPFLAGS" + fi + fi + if test -z "$gl_have_pthread"; then + if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then + if { case "$host_os" in + mingw*) true;; + *) false;; + esac + }; then + gl_threads_api=win32 + AC_DEFINE([USE_WIN32_THREADS], [1], + [Define if the Win32 multithreading API can be used.]) + fi + fi + fi + fi + AC_MSG_CHECKING([for multithread API to use]) + AC_MSG_RESULT([$gl_threads_api]) + AC_SUBST([LIBTHREAD]) + AC_SUBST([LTLIBTHREAD]) + AC_SUBST([LIBMULTITHREAD]) + AC_SUBST([LTLIBMULTITHREAD]) +]) +m4trace:m4/threadlib.m4:293: -1- AC_DEFUN([gl_THREADLIB], [ + AC_REQUIRE([gl_THREADLIB_EARLY]) + AC_REQUIRE([gl_THREADLIB_BODY]) +]) +m4trace:m4/threadlib.m4:306: -1- AC_DEFUN([gl_DISABLE_THREADS], [ + m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) +]) +m4trace:m4/uintmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [ + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([gl_AC_HEADER_STDINT_H]) + if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) + test $ac_cv_type_unsigned_long_long_int = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + AC_DEFINE_UNQUOTED([uintmax_t], [$ac_type], + [Define to unsigned long or unsigned long long + if and don't define.]) + else + AC_DEFINE([HAVE_UINTMAX_T], [1], + [Define if you have the 'uintmax_t' type in or .]) + fi +]) +m4trace:m4/unistd_h.m4:9: -1- AC_DEFUN([gl_UNISTD_H], [ + dnl Use AC_REQUIRE here, so that the default behavior below is expanded + dnl once only, before all statements that occur in other macros. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + AC_REQUIRE([AC_C_INLINE]) + + gl_CHECK_NEXT_HEADERS([unistd.h]) + + AC_CHECK_HEADERS_ONCE([unistd.h]) + if test $ac_cv_header_unistd_h = yes; then + HAVE_UNISTD_H=1 + else + HAVE_UNISTD_H=0 + fi + AC_SUBST([HAVE_UNISTD_H]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[#include +/* Some systems declare various items in the wrong headers. */ +#ifndef __GLIBC__ +# include +# include +# include +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +# include +# endif +#endif + ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat + fsync ftruncate getcwd getdomainname getdtablesize getgroups + gethostname getlogin getlogin_r getpagesize getusershell setusershell + endusershell lchown link linkat lseek pipe2 pread pwrite readlink + readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat + usleep]) +]) +m4trace:m4/unistd_h.m4:46: -1- AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) +]) +m4trace:m4/unistd_h.m4:55: -1- AC_DEFUN([gl_UNISTD_H_DEFAULTS], [ + GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) + GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) + GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) + GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) + GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) + GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) + GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) + GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) + GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) + GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) + GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) + GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) + GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) + GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) + GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS]) + GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) + GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN]) + GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) + GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) + GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) + GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) + GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) + GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT]) + GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) + GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2]) + GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD]) + GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE]) + GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) + GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT]) + GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR]) + GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) + GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK]) + GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT]) + GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R]) + GNULIB_UNISTD_H_GETOPT=0; AC_SUBST([GNULIB_UNISTD_H_GETOPT]) + GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) + GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK]) + GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT]) + GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP]) + GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) + HAVE_DUP2=1; AC_SUBST([HAVE_DUP2]) + HAVE_DUP3=1; AC_SUBST([HAVE_DUP3]) + HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) + HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) + HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) + HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) + HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) + HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) + HAVE_GETDOMAINNAME=1; AC_SUBST([HAVE_GETDOMAINNAME]) + HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) + HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS]) + HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) + HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN]) + HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) + HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN]) + HAVE_LINK=1; AC_SUBST([HAVE_LINK]) + HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT]) + HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2]) + HAVE_PREAD=1; AC_SUBST([HAVE_PREAD]) + HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE]) + HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) + HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT]) + HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) + HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK]) + HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT]) + HAVE_TTYNAME_R=1; AC_SUBST([HAVE_TTYNAME_R]) + HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT]) + HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) + HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) + HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) + HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) + HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) + HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) + HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) + REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) + REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) + REPLACE_DUP=0; AC_SUBST([REPLACE_DUP]) + REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2]) + REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT]) + REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) + REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS]) + REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) + REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) + REPLACE_LINK=0; AC_SUBST([REPLACE_LINK]) + REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT]) + REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) + REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD]) + REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE]) + REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK]) + REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR]) + REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP]) + REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK]) + REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R]) + REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK]) + REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT]) + REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP]) + REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) + UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; + AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) +]) +m4trace:m4/vasnprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VASNPRINTF], [ + AC_CHECK_FUNCS_ONCE([vasnprintf]) + if test $ac_cv_func_vasnprintf = no; then + gl_REPLACE_VASNPRINTF + fi +]) +m4trace:m4/vasnprintf.m4:15: -1- AC_DEFUN([gl_REPLACE_VASNPRINTF], [ + AC_CHECK_FUNCS_ONCE([vasnprintf]) + AC_LIBOBJ([vasnprintf]) + AC_LIBOBJ([printf-args]) + AC_LIBOBJ([printf-parse]) + AC_LIBOBJ([asnprintf]) + if test $ac_cv_func_vasnprintf = yes; then + AC_DEFINE([REPLACE_VASNPRINTF], [1], + [Define if vasnprintf exists but is overridden by gnulib.]) + fi + gl_PREREQ_PRINTF_ARGS + gl_PREREQ_PRINTF_PARSE + gl_PREREQ_VASNPRINTF + gl_PREREQ_ASNPRINTF +]) +m4trace:m4/vasnprintf.m4:33: -1- AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) + AC_REQUIRE([gt_TYPE_WINT_T]) +]) +m4trace:m4/vasnprintf.m4:41: -1- AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) + AC_REQUIRE([gt_TYPE_WINT_T]) + AC_REQUIRE([AC_TYPE_SIZE_T]) + AC_CHECK_TYPE([ptrdiff_t], , + [AC_DEFINE([ptrdiff_t], [long], + [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) + ]) + AC_REQUIRE([gt_AC_TYPE_INTMAX_T]) +]) +m4trace:m4/vasnprintf.m4:55: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ + AC_REQUIRE([AC_C_INLINE]) + AC_REQUIRE([AC_FUNC_ALLOCA]) + AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) + AC_REQUIRE([gt_TYPE_WINT_T]) + AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) + dnl Use the _snprintf function only if it is declared (because on NetBSD it + dnl is defined as a weak alias of snprintf; we prefer to use the latter). + AC_CHECK_DECLS([_snprintf], , , [#include ]) + dnl We can avoid a lot of code by assuming that snprintf's return value + dnl conforms to ISO C99. So check that. + AC_REQUIRE([gl_SNPRINTF_RETVAL_C99]) + case "$gl_cv_func_snprintf_retval_c99" in + *yes) + AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1], + [Define if the return value of the snprintf function is the number of + of bytes (excluding the terminating NUL) that would have been produced + if the buffer had been large enough.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:81: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ + AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) + case "$gl_cv_func_printf_long_double" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + 'long double' arguments.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:97: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [ + AC_REQUIRE([gl_PRINTF_INFINITE]) + case "$gl_cv_func_printf_infinite" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + infinite 'double' arguments.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:113: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [ + AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE]) + dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if + dnl NEED_PRINTF_LONG_DOUBLE is already set. + AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE]) + case "$gl_cv_func_printf_long_double" in + *yes) + case "$gl_cv_func_printf_infinite_long_double" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + infinite 'long double' arguments.]) + ;; + esac + ;; + esac +]) +m4trace:m4/vasnprintf.m4:135: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [ + AC_REQUIRE([gl_PRINTF_DIRECTIVE_A]) + case "$gl_cv_func_printf_directive_a" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1], + [Define if the vasnprintf implementation needs special code for + the 'a' and 'A' directives.]) + AC_CHECK_FUNCS([nl_langinfo]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:151: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [ + AC_REQUIRE([gl_PRINTF_DIRECTIVE_F]) + case "$gl_cv_func_printf_directive_f" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1], + [Define if the vasnprintf implementation needs special code for + the 'F' directive.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:166: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [ + AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS]) + case "$gl_cv_func_printf_directive_ls" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1], + [Define if the vasnprintf implementation needs special code for + the 'ls' directive.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:181: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [ + AC_REQUIRE([gl_PRINTF_FLAG_GROUPING]) + case "$gl_cv_func_printf_flag_grouping" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1], + [Define if the vasnprintf implementation needs special code for the + ' flag.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:196: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [ + AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST]) + case "$gl_cv_func_printf_flag_leftadjust" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1], + [Define if the vasnprintf implementation needs special code for the + '-' flag.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:211: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [ + AC_REQUIRE([gl_PRINTF_FLAG_ZERO]) + case "$gl_cv_func_printf_flag_zero" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1], + [Define if the vasnprintf implementation needs special code for the + 0 flag.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:226: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [ + AC_REQUIRE([gl_PRINTF_PRECISION]) + case "$gl_cv_func_printf_precision" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1], + [Define if the vasnprintf implementation needs special code for + supporting large precisions without arbitrary bounds.]) + AC_DEFINE([NEED_PRINTF_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + 'double' arguments.]) + AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + 'long double' arguments.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:248: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [ + AC_REQUIRE([gl_PRINTF_ENOMEM]) + case "$gl_cv_func_printf_enomem" in + *yes) + ;; + *) + AC_DEFINE([NEED_PRINTF_ENOMEM], [1], + [Define if the vasnprintf implementation needs special code for + surviving out-of-memory conditions.]) + AC_DEFINE([NEED_PRINTF_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + 'double' arguments.]) + AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1], + [Define if the vasnprintf implementation needs special code for + 'long double' arguments.]) + ;; + esac +]) +m4trace:m4/vasnprintf.m4:269: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [ + AC_REQUIRE([gl_PREREQ_VASNPRINTF]) + gl_PREREQ_VASNPRINTF_LONG_DOUBLE + gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE + gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE + gl_PREREQ_VASNPRINTF_DIRECTIVE_A + gl_PREREQ_VASNPRINTF_DIRECTIVE_F + gl_PREREQ_VASNPRINTF_DIRECTIVE_LS + gl_PREREQ_VASNPRINTF_FLAG_GROUPING + gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST + gl_PREREQ_VASNPRINTF_FLAG_ZERO + gl_PREREQ_VASNPRINTF_PRECISION + gl_PREREQ_VASNPRINTF_ENOMEM +]) +m4trace:m4/vasnprintf.m4:286: -1- AC_DEFUN([gl_PREREQ_ASNPRINTF], [ +]) +m4trace:m4/visibility.m4:23: -1- AC_DEFUN([gl_VISIBILITY], [ + AC_REQUIRE([AC_PROG_CC]) + CFLAG_VISIBILITY= + HAVE_VISIBILITY=0 + if test -n "$GCC"; then + dnl First, check whether -Werror can be added to the command line, or + dnl whether it leads to an error because of some other option that the + dnl user has put into $CC $CFLAGS $CPPFLAGS. + AC_MSG_CHECKING([whether the -Werror option is usable]) + AC_CACHE_VAL([gl_cv_cc_vis_werror], [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Werror" + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[]], [[]])], + [gl_cv_cc_vis_werror=yes], + [gl_cv_cc_vis_werror=no]) + CFLAGS="$gl_save_CFLAGS"]) + AC_MSG_RESULT([$gl_cv_cc_vis_werror]) + dnl Now check whether visibility declarations are supported. + AC_MSG_CHECKING([for simple visibility declarations]) + AC_CACHE_VAL([gl_cv_cc_visibility], [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fvisibility=hidden" + dnl We use the option -Werror and a function dummyfunc, because on some + dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning + dnl "visibility attribute not supported in this configuration; ignored" + dnl at the first function definition in every compilation unit, and we + dnl don't want to use the option in this case. + if test $gl_cv_cc_vis_werror = yes; then + CFLAGS="$CFLAGS -Werror" + fi + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[extern __attribute__((__visibility__("hidden"))) int hiddenvar; + extern __attribute__((__visibility__("default"))) int exportedvar; + extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); + extern __attribute__((__visibility__("default"))) int exportedfunc (void); + void dummyfunc (void) {} + ]], + [[]])], + [gl_cv_cc_visibility=yes], + [gl_cv_cc_visibility=no]) + CFLAGS="$gl_save_CFLAGS"]) + AC_MSG_RESULT([$gl_cv_cc_visibility]) + if test $gl_cv_cc_visibility = yes; then + CFLAG_VISIBILITY="-fvisibility=hidden" + HAVE_VISIBILITY=1 + fi + fi + AC_SUBST([CFLAG_VISIBILITY]) + AC_SUBST([HAVE_VISIBILITY]) + AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], + [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) +]) +m4trace:m4/vsnprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VSNPRINTF], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + gl_cv_func_vsnprintf_usable=no + AC_CHECK_FUNCS([vsnprintf]) + if test $ac_cv_func_vsnprintf = yes; then + gl_SNPRINTF_SIZE1 + case "$gl_cv_func_snprintf_size1" in + *yes) + gl_cv_func_vsnprintf_usable=yes + ;; + esac + fi + if test $gl_cv_func_vsnprintf_usable = no; then + gl_REPLACE_VSNPRINTF + fi + AC_CHECK_DECLS_ONCE([vsnprintf]) + if test $ac_cv_have_decl_vsnprintf = no; then + HAVE_DECL_VSNPRINTF=0 + fi +]) +m4trace:m4/vsnprintf.m4:29: -1- AC_DEFUN([gl_REPLACE_VSNPRINTF], [ + AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + AC_LIBOBJ([vsnprintf]) + if test $ac_cv_func_vsnprintf = yes; then + REPLACE_VSNPRINTF=1 + fi + gl_PREREQ_VSNPRINTF +]) +m4trace:m4/vsnprintf.m4:40: -1- AC_DEFUN([gl_PREREQ_VSNPRINTF], [:]) +m4trace:m4/warn-on-use.m4:24: -1- AC_DEFUN([gl_WARN_ON_USE_PREPARE], [ + m4_foreach_w([gl_decl], [$2], + [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])), + [Define to 1 if ]m4_defn([gl_decl])[ is declared even after + undefining macros.])])dnl + for gl_func in m4_flatten([$2]); do + AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl + AC_CACHE_CHECK([whether $gl_func is declared without a macro], + gl_Symbol, + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1], +[@%:@undef $gl_func + (void) $gl_func;])], + [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])]) + AS_VAR_IF(gl_Symbol, [yes], + [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) + dnl shortcut - if the raw declaration exists, then set a cache + dnl variable to allow skipping any later AC_CHECK_DECL efforts + eval ac_cv_have_decl_$gl_func=yes]) + AS_VAR_POPDEF([gl_Symbol])dnl + done +]) +m4trace:m4/wchar_h.m4:12: -1- AC_DEFUN([gl_WCHAR_H], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) + dnl Prepare for creating substitute . + dnl Check for (missing in Linux uClibc when built without wide + dnl character support). + dnl is always overridden, because of GNULIB_POSIXCHECK. + AC_CHECK_HEADERS_ONCE([wchar.h]) + gl_CHECK_NEXT_HEADERS([wchar.h]) + if test $ac_cv_header_wchar_h = yes; then + HAVE_WCHAR_H=1 + else + HAVE_WCHAR_H=0 + fi + AC_SUBST([HAVE_WCHAR_H]) + + AC_REQUIRE([gt_TYPE_WINT_T]) + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + AC_SUBST([HAVE_WINT_T]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[ +/* Some systems require additional headers. */ +#ifndef __GLIBC__ +# include +# include +# include +#endif +#include + ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb + wcsrtombs wcsnrtombs wcwidth]) +]) +m4trace:m4/wchar_h.m4:52: -1- AC_DEFUN([gl_WCHAR_H_INLINE_OK], [ + dnl Test whether suffers due to the transition from '__inline' to + dnl 'gnu_inline'. See + dnl and . In summary, + dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and + dnl the option -std=c99 or -std=gnu99, leads to a broken . + AC_CACHE_CHECK([whether uses 'inline' correctly], + [gl_cv_header_wchar_h_correct_inline], + [gl_cv_header_wchar_h_correct_inline=yes + AC_LANG_CONFTEST([ + AC_LANG_SOURCE([[#define wcstod renamed_wcstod +#include +extern int zero (void); +int main () { return zero(); } +]])]) + if AC_TRY_EVAL([ac_compile]); then + mv conftest.$ac_objext conftest1.$ac_objext + AC_LANG_CONFTEST([ + AC_LANG_SOURCE([[#define wcstod renamed_wcstod +#include +int zero (void) { return 0; } +]])]) + if AC_TRY_EVAL([ac_compile]); then + mv conftest.$ac_objext conftest2.$ac_objext + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then + : + else + gl_cv_header_wchar_h_correct_inline=no + fi + fi + fi + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext + ]) + if test $gl_cv_header_wchar_h_correct_inline = no; then + AC_MSG_ERROR([ cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in +C99 mode. You have four options: + - Add the flag -fgnu89-inline to CC and reconfigure, or + - Fix your include files, using parts of + , or + - Use a gcc version older than 4.3, or + - Don't use the flags -std=c99 or -std=gnu99. +Configuration aborted.]) + fi +]) +m4trace:m4/wchar_h.m4:100: -1- AC_DEFUN([gl_REPLACE_WCHAR_H], [ + dnl This is a no-op, because is always overridden. + : +]) +m4trace:m4/wchar_h.m4:106: -1- AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [ + dnl Use AC_REQUIRE here, so that the default settings are expanded once only. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) +]) +m4trace:m4/wchar_h.m4:115: -1- AC_DEFUN([gl_WCHAR_H_DEFAULTS], [ + GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC]) + GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB]) + GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT]) + GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC]) + GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN]) + GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS]) + GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS]) + GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB]) + GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS]) + GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS]) + GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) + HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) + HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC]) + HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN]) + HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS]) + HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS]) + HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB]) + HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS]) + HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS]) + HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB]) + HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH]) + REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T]) + REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC]) + REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB]) + REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT]) + REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC]) + REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN]) + REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS]) + REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS]) + REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB]) + REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS]) + REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS]) + REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH]) +]) +m4trace:m4/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [ + AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#include + wchar_t foo = (wchar_t)'\0';]], + [[]])], + [gt_cv_c_wchar_t=yes], + [gt_cv_c_wchar_t=no])]) + if test $gt_cv_c_wchar_t = yes; then + AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) + fi +]) +m4trace:m4/wcrtomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCRTOMB], [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + + AC_REQUIRE([AC_TYPE_MBSTATE_T]) + gl_MBSTATE_T_BROKEN + + AC_CHECK_FUNCS_ONCE([wcrtomb]) + if test $ac_cv_func_wcrtomb = no; then + HAVE_WCRTOMB=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_WCRTOMB=1 + else + dnl On AIX 4.3, OSF/1 5.1 and Solaris 10, wcrtomb (NULL, 0, NULL) sometimes + dnl returns 0 instead of 1. + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([gt_LOCALE_FR]) + AC_REQUIRE([gt_LOCALE_FR_UTF8]) + AC_REQUIRE([gt_LOCALE_JA]) + AC_REQUIRE([gt_LOCALE_ZH_CN]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_CACHE_CHECK([whether wcrtomb return value is correct], + [gl_cv_func_wcrtomb_retval], + [ + dnl Initial guess, used when cross-compiling or when no suitable locale + dnl is present. +changequote(,)dnl + case "$host_os" in + # Guess no on AIX 4, OSF/1 and Solaris. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;; + esac +changequote([,])dnl + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + return 0; +}]])], + [gl_cv_func_wcrtomb_retval=yes], + [gl_cv_func_wcrtomb_retval=no], + [:]) + fi + ]) + case "$gl_cv_func_wcrtomb_retval" in + *yes) ;; + *) REPLACE_WCRTOMB=1 ;; + esac + fi + fi + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then + gl_REPLACE_WCHAR_H + AC_LIBOBJ([wcrtomb]) + gl_PREREQ_WCRTOMB + fi +]) +m4trace:m4/wcrtomb.m4:92: -1- AC_DEFUN([gl_PREREQ_WCRTOMB], [ + : +]) +m4trace:m4/wctype_h.m4:12: -1- AC_DEFUN([gl_WCTYPE_H], [ + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_CHECK_FUNCS_ONCE([iswcntrl]) + if test $ac_cv_func_iswcntrl = yes; then + HAVE_ISWCNTRL=1 + else + HAVE_ISWCNTRL=0 + fi + AC_SUBST([HAVE_ISWCNTRL]) + AC_CHECK_FUNCS_ONCE([iswblank]) + AC_CHECK_DECLS_ONCE([iswblank]) + if test $ac_cv_func_iswblank = yes; then + HAVE_ISWBLANK=1 + REPLACE_ISWBLANK=0 + else + HAVE_ISWBLANK=0 + if test $ac_cv_have_decl_iswblank = yes; then + REPLACE_ISWBLANK=1 + else + REPLACE_ISWBLANK=0 + fi + fi + AC_SUBST([HAVE_ISWBLANK]) + AC_SUBST([REPLACE_ISWBLANK]) + + AC_CHECK_HEADERS_ONCE([wctype.h]) + AC_REQUIRE([AC_C_INLINE]) + + AC_REQUIRE([gt_TYPE_WINT_T]) + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + AC_SUBST([HAVE_WINT_T]) + + if test $ac_cv_header_wctype_h = yes; then + if test $ac_cv_func_iswcntrl = yes; then + dnl Linux libc5 has an iswprint function that returns 0 for all arguments. + dnl The other functions are likely broken in the same way. + AC_CACHE_CHECK([whether iswcntrl works], [gl_cv_func_iswcntrl_works], + [ + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #include + #include + #include + #include + #include + int main () { return iswprint ('x') == 0; }]])], + [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no], + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + #if __GNU_LIBRARY__ == 1 + Linux libc5 i18n is broken. + #endif]], [])], + [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no]) + ]) + ]) + fi + gl_CHECK_NEXT_HEADERS([wctype.h]) + HAVE_WCTYPE_H=1 + else + HAVE_WCTYPE_H=0 + fi + AC_SUBST([HAVE_WCTYPE_H]) + + if test "$gl_cv_func_iswcntrl_works" = no; then + REPLACE_ISWCNTRL=1 + else + REPLACE_ISWCNTRL=0 + fi + AC_SUBST([REPLACE_ISWCNTRL]) +]) +m4trace:m4/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [ + AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be included + before . */ +#include +#include +#include +#include + wint_t foo = (wchar_t)'\0';]], + [[]])], + [gt_cv_c_wint_t=yes], + [gt_cv_c_wint_t=no])]) + if test $gt_cv_c_wint_t = yes; then + AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) + fi +]) +m4trace:m4/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [ + dnl Prerequisites of lib/xsize.h. + AC_REQUIRE([gl_SIZE_MAX]) + AC_REQUIRE([AC_C_INLINE]) + AC_CHECK_HEADERS([stdint.h]) +]) +m4trace:acinclude.m4:17: -1- AC_DEFUN([grub_PROG_TARGET_CC], [AC_MSG_CHECKING([whether target compiler is working]) +AC_CACHE_VAL(grub_cv_prog_target_cc, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +asm (".globl start; start:"); +int main (void); +]], [[]])], + [grub_cv_prog_target_cc=yes], + [grub_cv_prog_target_cc=no]) +]) +AC_MSG_RESULT([$grub_cv_prog_target_cc]) + +if test "x$grub_cv_prog_target_cc" = xno; then + AC_MSG_ERROR([cannot compile for the target]) +fi +]) +m4trace:acinclude.m4:39: -1- AC_DEFUN([grub_ASM_USCORE], [AC_REQUIRE([AC_PROG_CC]) +AC_REQUIRE([AC_PROG_EGREP]) +AC_MSG_CHECKING([if C symbols get an underscore after compilation]) +AC_CACHE_VAL(grub_cv_asm_uscore, +[cat > conftest.c <<\EOF +int func (int *); +int +func (int *list) +{ + *list = 0; + return *list; +} +EOF + +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -S conftest.c]) && test -s conftest.s; then + true +else + AC_MSG_ERROR([${CC-cc} failed to produce assembly code]) +fi + +if $EGREP '(^|[^_[:alnum]])_func' conftest.s >/dev/null 2>&1; then + HAVE_ASM_USCORE=1 + grub_cv_asm_uscore=yes +else + HAVE_ASM_USCORE=0 + grub_cv_asm_uscore=no +fi + +rm -f conftest*]) + +AC_MSG_RESULT([$grub_cv_asm_uscore]) +]) +m4trace:acinclude.m4:76: -1- AC_DEFUN([grub_PROG_OBJCOPY_ABSOLUTE], [AC_MSG_CHECKING([whether ${OBJCOPY} works for absolute addresses]) +AC_CACHE_VAL(grub_cv_prog_objcopy_absolute, +[cat > conftest.c <<\EOF +void cmain (void); +void +cmain (void) +{ + *((int *) 0x1000) = 2; +} +EOF + +if AC_TRY_EVAL(ac_compile) && test -s conftest.o; then : +else + AC_MSG_ERROR([${CC-cc} cannot compile C source code]) +fi +grub_cv_prog_objcopy_absolute=yes +for link_addr in 0x2000 0x8000 0x7C00; do + if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},$link_addr conftest.o -o conftest.exec]); then : + else + AC_MSG_ERROR([${CC-cc} cannot link at address $link_addr]) + fi + if AC_TRY_COMMAND([${OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest]); then : + else + AC_MSG_ERROR([${OBJCOPY-objcopy} cannot create binary files]) + fi + if test ! -f conftest.old || AC_TRY_COMMAND([cmp -s conftest.old conftest]); then + mv -f conftest conftest.old + else + grub_cv_prog_objcopy_absolute=no + break + fi +done +rm -f conftest*]) +AC_MSG_RESULT([$grub_cv_prog_objcopy_absolute]) + +if test "x$grub_cv_prog_objcopy_absolute" = xno; then + AC_MSG_ERROR([GRUB requires a working absolute objcopy; upgrade your binutils]) +fi +]) +m4trace:acinclude.m4:120: -1- AC_DEFUN([grub_PROG_LD_BUILD_ID_NONE], [AC_MSG_CHECKING([whether linker accepts --build-id=none]) +AC_CACHE_VAL(grub_cv_prog_ld_build_id_none, +[save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS -Wl,--build-id=none" +AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_prog_ld_build_id_none=yes], + [grub_cv_prog_ld_build_id_none=no]) +LDFLAGS="$save_LDFLAGS" +]) +AC_MSG_RESULT([$grub_cv_prog_ld_build_id_none]) + +if test "x$grub_cv_prog_ld_build_id_none" = xyes; then + TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=none" +fi +]) +m4trace:acinclude.m4:151: -1- AC_DEFUN([grub_I386_ASM_ADDR32], [AC_REQUIRE([AC_PROG_CC]) +AC_REQUIRE([grub_I386_ASM_PREFIX_REQUIREMENT]) +AC_MSG_CHECKING([for .code16 addr32 assembler support]) +AC_CACHE_VAL(grub_cv_i386_asm_addr32, +[cat > conftest.s.in <<\EOF + .code16 +l1: @ADDR32@ movb %al, l1 +EOF + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + sed -e s/@ADDR32@/addr32/ < conftest.s.in > conftest.s +else + sed -e s/@ADDR32@/addr32\;/ < conftest.s.in > conftest.s +fi + +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -c conftest.s]) && test -s conftest.o; then + grub_cv_i386_asm_addr32=yes +else + grub_cv_i386_asm_addr32=no +fi + +rm -f conftest*]) + +AC_MSG_RESULT([$grub_cv_i386_asm_addr32])]) +m4trace:acinclude.m4:179: -1- AC_DEFUN([grub_apple_cc], [AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([whether our compiler is apple cc]) +AC_CACHE_VAL(grub_cv_apple_cc, +[if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_cc=yes +else + grub_cv_apple_cc=no +fi +]) + +AC_MSG_RESULT([$grub_cv_apple_cc])]) +m4trace:acinclude.m4:194: -1- AC_DEFUN([grub_apple_target_cc], [AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([whether our target compiler is apple cc]) +AC_CACHE_VAL(grub_cv_apple_target_cc, +[if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_target_cc=yes +else + grub_cv_apple_target_cc=no +fi +]) + +AC_MSG_RESULT([$grub_cv_apple_target_cc])]) +m4trace:acinclude.m4:211: -1- AC_DEFUN([grub_I386_ASM_PREFIX_REQUIREMENT], [AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING(dnl +[whether addr32 must be in the same line as the instruction]) +AC_CACHE_VAL(grub_cv_i386_asm_prefix_requirement, +[cat > conftest.s <<\EOF + .code16 +l1: addr32 movb %al, l1 +EOF + +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -c conftest.s]) && test -s conftest.o; then + grub_cv_i386_asm_prefix_requirement=yes +else + grub_cv_i386_asm_prefix_requirement=no +fi + +rm -f conftest*]) + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + grub_tmp_addr32="addr32" + grub_tmp_data32="data32" +else + grub_tmp_addr32="addr32;" + grub_tmp_data32="data32;" +fi + +ADDR32=$grub_tmp_addr32 +DATA32=$grub_tmp_data32 + +AC_MSG_RESULT([$grub_cv_i386_asm_prefix_requirement])]) +m4trace:acinclude.m4:245: -1- AC_DEFUN([grub_CHECK_BSS_START_SYMBOL], [AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([if __bss_start is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_uscore_uscore_bss_start_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl __bss_start")]])], + [grub_cv_check_uscore_uscore_bss_start_symbol=yes], + [grub_cv_check_uscore_uscore_bss_start_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_uscore_uscore_bss_start_symbol]) + +AC_MSG_CHECKING([if edata is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_edata_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl edata")]])], + [grub_cv_check_edata_symbol=yes], + [grub_cv_check_edata_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_edata_symbol]) + +AC_MSG_CHECKING([if _edata is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_uscore_edata_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl _edata")]])], + [grub_cv_check_uscore_edata_symbol=yes], + [grub_cv_check_uscore_edata_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_uscore_edata_symbol]) + +if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then + BSS_START_SYMBOL=__bss_start +elif test "x$grub_cv_check_edata_symbol" = xyes; then + BSS_START_SYMBOL=edata +elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then + BSS_START_SYMBOL=_edata +else + AC_MSG_ERROR([none of __bss_start, edata or _edata is defined]) +fi +]) +m4trace:acinclude.m4:287: -1- AC_DEFUN([grub_CHECK_END_SYMBOL], [AC_REQUIRE([AC_PROG_CC]) +AC_MSG_CHECKING([if end is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_end_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl end")]])], + [grub_cv_check_end_symbol=yes], + [grub_cv_check_end_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_end_symbol]) + +AC_MSG_CHECKING([if _end is defined by the compiler]) +AC_CACHE_VAL(grub_cv_check_uscore_end_symbol, +[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], + [[asm ("incl _end")]])], + [grub_cv_check_uscore_end_symbol=yes], + [grub_cv_check_uscore_end_symbol=no])]) + +AC_MSG_RESULT([$grub_cv_check_uscore_end_symbol]) + +if test "x$grub_cv_check_end_symbol" = xyes; then + END_SYMBOL=end +elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then + END_SYMBOL=_end +else + AC_MSG_ERROR([neither end nor _end is defined]) +fi +]) +m4trace:acinclude.m4:317: -1- AC_DEFUN([grub_CHECK_ENABLE_EXECUTE_STACK], [ +AC_MSG_CHECKING([whether `$CC' generates calls to `__enable_execute_stack()']) +AC_LANG_CONFTEST([[ +void f (int (*p) (void)); +void g (int i) +{ + int nestedfunc (void) { return i; } + f (nestedfunc); +} +]]) +if AC_TRY_COMMAND([${CC-cc} ${CFLAGS} -S conftest.c]) && test -s conftest.s; then + true +else + AC_MSG_ERROR([${CC-cc} failed to produce assembly code]) +fi +if grep __enable_execute_stack conftest.s >/dev/null 2>&1; then + NEED_ENABLE_EXECUTE_STACK=1 + AC_MSG_RESULT([yes]) +else + NEED_ENABLE_EXECUTE_STACK=0 + AC_MSG_RESULT([no]) +fi +rm -f conftest* +]) +m4trace:acinclude.m4:344: -1- AC_DEFUN([grub_CHECK_STACK_PROTECTOR], [ +[# Smashing stack protector. +ssp_possible=yes] +AC_MSG_CHECKING([whether `$CC' accepts `-fstack-protector']) +# Is this a reliable test case? +AC_LANG_CONFTEST([[void foo (void) { volatile char a[8]; a[3]; }]]) +[# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then] + AC_MSG_RESULT([yes]) + [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + ssp_possible=no] + AC_MSG_RESULT([no]) +[fi] +]) +m4trace:acinclude.m4:363: -1- AC_DEFUN([grub_CHECK_STACK_ARG_PROBE], [ +[# Smashing stack arg probe. +sap_possible=yes] +AC_MSG_CHECKING([whether `$CC' accepts `-mstack-arg-probe']) +AC_LANG_CONFTEST([[void foo (void) { volatile char a[8]; a[3]; }]]) +[if eval "$ac_compile -S -mstack-arg-probe -o conftest.s" 2> /dev/null; then] + AC_MSG_RESULT([yes]) + [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + sap_possible=no] + AC_MSG_RESULT([no]) +[fi] +]) +m4trace:acinclude.m4:379: -1- AC_DEFUN([grub_CHECK_LINK_DIR], [ +AC_MSG_CHECKING([whether ln can handle directories properly]) +[mkdir testdir 2>/dev/null +case $srcdir in +[\\/$]* | ?:[\\/]* ) reldir=$srcdir/include/grub/util ;; + *) reldir=../$srcdir/include/grub/util ;; +esac +if ln -s $reldir testdir/util 2>/dev/null ; then] + AC_MSG_RESULT([yes]) + [link_dir=yes +else + link_dir=no] + AC_MSG_RESULT([no]) +[fi +rm -rf testdir] +]) +m4trace:acinclude.m4:397: -1- AC_DEFUN([grub_CHECK_PIE], [ +[# Position independent executable. +pie_possible=yes] +AC_MSG_CHECKING([whether `$CC' has `-fPIE' as default]) +# Is this a reliable test case? +AC_LANG_CONFTEST([[ +#ifdef __PIE__ +int main() { + return 0; +} +#else +#error NO __PIE__ DEFINED +#endif +]]) + +[# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then] + AC_MSG_RESULT([yes]) + [# Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + pie_possible=no] + AC_MSG_RESULT([no]) +[fi] +]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^_?A[CHUM]_]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([_AC_]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) +m4trace:configure.ac:35: -1- m4_pattern_allow([^AS_FLAGS$]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^_?m4_]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^dnl$]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^_?AS_]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^SHELL$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PATH_SEPARATOR$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_NAME$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_VERSION$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_STRING$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_URL$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^exec_prefix$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^prefix$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^program_transform_name$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^bindir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^sbindir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^libexecdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^datarootdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^datadir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^sysconfdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^sharedstatedir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^localstatedir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^includedir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^oldincludedir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^docdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^infodir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^htmldir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^dvidir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^pdfdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^psdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^libdir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^localedir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^mandir$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_NAME$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_VERSION$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_STRING$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_URL$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^DEFS$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^ECHO_C$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^ECHO_N$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^ECHO_T$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^LIBS$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_alias$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_alias$]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^target_alias$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build_cpu$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build_vendor$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build_os$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host_cpu$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host_vendor$]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host_os$]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target$]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target_cpu$]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target_vendor$]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target_os$]) +m4trace:configure.ac:46: -1- AM_INIT_AUTOMAKE([]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) +m4trace:configure.ac:46: -1- AM_SET_CURRENT_AUTOMAKE_VERSION +m4trace:configure.ac:46: -1- AM_AUTOMAKE_VERSION([1.11.1]) +m4trace:configure.ac:46: -1- _AM_AUTOCONF_VERSION([2.68]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_DATA$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__isrc$]) +m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([am__isrc]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^CYGPATH_W$]) +m4trace:configure.ac:46: -1- _AM_SET_OPTIONS([]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^PACKAGE$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^VERSION$]) +m4trace:configure.ac:46: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) +m4trace:configure.ac:46: -2- _AM_MANGLE_OPTION([no-define]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^PACKAGE$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^VERSION$]) +m4trace:configure.ac:46: -1- AM_SANITY_CHECK +m4trace:configure.ac:46: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +m4trace:configure.ac:46: -1- AM_MISSING_HAS_RUN +m4trace:configure.ac:46: -1- AM_AUX_DIR_EXPAND +m4trace:configure.ac:46: -1- m4_pattern_allow([^ACLOCAL$]) +m4trace:configure.ac:46: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AUTOCONF$]) +m4trace:configure.ac:46: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AUTOMAKE$]) +m4trace:configure.ac:46: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AUTOHEADER$]) +m4trace:configure.ac:46: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^MAKEINFO$]) +m4trace:configure.ac:46: -1- AM_PROG_INSTALL_SH +m4trace:configure.ac:46: -1- m4_pattern_allow([^install_sh$]) +m4trace:configure.ac:46: -1- AM_PROG_INSTALL_STRIP +m4trace:configure.ac:46: -1- m4_pattern_allow([^STRIP$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) +m4trace:configure.ac:46: -1- AM_PROG_MKDIR_P +m4trace:configure.ac:46: -1- AC_PROG_MKDIR_P +m4trace:configure.ac:46: -1- m4_pattern_allow([^MKDIR_P$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^MKDIR_P$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^mkdir_p$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AWK$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^SET_MAKE$]) +m4trace:configure.ac:46: -1- AM_SET_LEADING_DOT +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__leading_dot$]) +m4trace:configure.ac:46: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +m4trace:configure.ac:46: -2- _AM_MANGLE_OPTION([tar-ustar]) +m4trace:configure.ac:46: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) +m4trace:configure.ac:46: -2- _AM_MANGLE_OPTION([tar-pax]) +m4trace:configure.ac:46: -1- _AM_PROG_TAR([v7]) +m4trace:configure.ac:46: -1- AM_MISSING_PROG([AMTAR], [tar]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AMTAR$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__tar$]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__untar$]) +m4trace:configure.ac:46: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +m4trace:configure.ac:46: -2- _AM_MANGLE_OPTION([no-dependencies]) +m4trace:configure.ac:46: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) +m4trace:configure.ac:46: -2- _AM_MANGLE_OPTION([silent-rules]) +m4trace:configure.ac:171: -1- m4_pattern_allow([^host_cpu$]) +m4trace:configure.ac:172: -1- m4_pattern_allow([^host_os$]) +m4trace:configure.ac:173: -1- m4_pattern_allow([^host_kernel$]) +m4trace:configure.ac:175: -1- m4_pattern_allow([^target_cpu$]) +m4trace:configure.ac:176: -1- m4_pattern_allow([^platform$]) +m4trace:configure.ac:186: -1- m4_pattern_allow([^bootdirname$]) +m4trace:configure.ac:187: -1- m4_pattern_allow([^GRUB_BOOT_DIR_NAME$]) +m4trace:configure.ac:191: -1- m4_pattern_allow([^grubdirname$]) +m4trace:configure.ac:192: -1- m4_pattern_allow([^GRUB_DIR_NAME$]) +m4trace:configure.ac:201: -1- m4_pattern_allow([^CMP$]) +m4trace:configure.ac:206: -1- m4_pattern_allow([^YACC$]) +m4trace:configure.ac:226: -1- m4_pattern_allow([^FONT_SOURCE$]) +m4trace:configure.ac:228: -1- m4_pattern_allow([^RANLIB$]) +m4trace:configure.ac:230: -1- m4_pattern_allow([^AWK$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LEX$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CFLAGS$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LDFLAGS$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LIBS$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CPPFLAGS$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^ac_ct_CC$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^EXEEXT$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^OBJEXT$]) +m4trace:configure.ac:231: -1- _AM_DEPENDENCIES([CC]) +m4trace:configure.ac:231: -1- AM_SET_DEPDIR +m4trace:configure.ac:231: -1- m4_pattern_allow([^DEPDIR$]) +m4trace:configure.ac:231: -1- AM_OUTPUT_DEPENDENCY_COMMANDS +m4trace:configure.ac:231: -1- AM_MAKE_INCLUDE +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__include$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__quote$]) +m4trace:configure.ac:231: -1- AM_DEP_TRACK +m4trace:configure.ac:231: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^AMDEP_TRUE$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^AMDEP_FALSE$]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CCDEPMODE$]) +m4trace:configure.ac:231: -1- AM_CONDITIONAL([am__fastdepCC], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LEXLIB$]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^YYTEXT_POINTER$]) +m4trace:configure.ac:232: -1- m4_pattern_allow([^YACC$]) +m4trace:configure.ac:232: -1- m4_pattern_allow([^YACC$]) +m4trace:configure.ac:232: -1- m4_pattern_allow([^YFLAGS$]) +m4trace:configure.ac:233: -1- m4_pattern_allow([^SET_MAKE$]) +m4trace:configure.ac:234: -1- AC_PROG_MKDIR_P +m4trace:configure.ac:235: -1- m4_pattern_allow([^LN_S$]) +m4trace:configure.ac:249: -1- m4_pattern_allow([^MAKEINFO$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CFLAGS$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^LDFLAGS$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^LIBS$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CPPFLAGS$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^ac_ct_CC$]) +m4trace:configure.ac:255: -1- _AM_DEPENDENCIES([CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CCDEPMODE$]) +m4trace:configure.ac:255: -1- AM_CONDITIONAL([am__fastdepCC], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) +m4trace:configure.ac:256: -1- gl_EARLY +m4trace:configure.ac:256: -1- m4_pattern_forbid([^gl_[A-Z]]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^gl_ES$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^gl_LIBOBJS$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) +m4trace:configure.ac:256: -1- gl_USE_SYSTEM_EXTENSIONS +m4trace:configure.ac:256: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. +You should run autoupdate.], [../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from... +m4/gnulib-comp.m4:22: gl_EARLY is expanded from... +configure.ac:256: the top level]) +m4trace:configure.ac:256: -1- AC_USE_SYSTEM_EXTENSIONS +m4trace:configure.ac:256: -1- m4_pattern_allow([^CPP$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^CPPFLAGS$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^CPP$]) +m4trace:configure.ac:256: -1- AC_PROG_EGREP +m4trace:configure.ac:256: -1- m4_pattern_allow([^GREP$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^EGREP$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^STDC_HEADERS$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_POSIX_SOURCE$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_MINIX$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^__EXTENSIONS__$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_ALL_SOURCE$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_GNU_SOURCE$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) +m4trace:configure.ac:257: -1- AM_PROG_CC_C_O +m4trace:configure.ac:257: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$]) +m4trace:configure.ac:258: -1- AM_PROG_AS +m4trace:configure.ac:258: -1- m4_pattern_allow([^CCAS$]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^CCASFLAGS$]) +m4trace:configure.ac:258: -1- _AM_IF_OPTION([no-dependencies], [], [_AM_DEPENDENCIES([CCAS])]) +m4trace:configure.ac:258: -2- _AM_MANGLE_OPTION([no-dependencies]) +m4trace:configure.ac:258: -1- _AM_DEPENDENCIES([CCAS]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^CCASDEPMODE$]) +m4trace:configure.ac:258: -1- AM_CONDITIONAL([am__fastdepCCAS], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^am__fastdepCCAS_TRUE$]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^am__fastdepCCAS_FALSE$]) +m4trace:configure.ac:258: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_TRUE]) +m4trace:configure.ac:258: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_FALSE]) +m4trace:configure.ac:263: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. +You should run autoupdate.], [../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from... +configure.ac:263: the top level]) +m4trace:configure.ac:263: -1- AC_USE_SYSTEM_EXTENSIONS +m4trace:configure.ac:264: -1- AM_GNU_GETTEXT([external]) +m4trace:configure.ac:264: -1- AM_GNU_GETTEXT_NEED([]) +m4trace:configure.ac:264: -1- AM_PO_SUBDIRS +m4trace:configure.ac:264: -1- AM_NLS +m4trace:configure.ac:264: -1- m4_pattern_allow([^USE_NLS$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$]) +m4trace:configure.ac:264: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^MSGFMT$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^GMSGFMT$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^MSGFMT_015$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^GMSGFMT_015$]) +m4trace:configure.ac:264: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^XGETTEXT$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^XGETTEXT_015$]) +m4trace:configure.ac:264: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^MSGMERGE$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^localedir$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$]) +m4trace:configure.ac:264: -1- AC_LIB_PREPARE_PREFIX +m4trace:configure.ac:264: -1- AC_LIB_RPATH +m4trace:configure.ac:264: -1- AC_LIB_PROG_LD +m4trace:configure.ac:264: -1- AC_LIB_PROG_LD_GNU +m4trace:configure.ac:264: -1- AM_ICONV_LINKFLAGS_BODY +m4trace:configure.ac:264: -1- AC_LIB_LINKFLAGS_BODY([iconv]) +m4trace:configure.ac:264: -1- AC_LIB_PREPARE_MULTILIB +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- gt_INTL_MACOSX +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) +m4trace:configure.ac:264: -1- AM_ICONV_LINK +m4trace:configure.ac:264: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_ICONV$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LIBICONV$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LTLIBICONV$]) +m4trace:configure.ac:264: -1- AC_LIB_LINKFLAGS_BODY([intl]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^ENABLE_NLS$]) +m4trace:configure.ac:264: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) +m4trace:configure.ac:264: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_GETTEXT$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_DCGETTEXT$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^INTLLIBS$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LIBINTL$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LTLIBINTL$]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^POSUB$]) +m4trace:configure.ac:265: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) +m4trace:configure.ac:265: -1- m4_pattern_allow([^_LARGE_FILES$]) +m4trace:configure.ac:268: -1- m4_pattern_allow([^WORDS_BIGENDIAN$]) +m4trace:configure.ac:268: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) +m4trace:configure.ac:269: -1- AC_COMPUTE_INT([AS_TR_SH([ac_cv_sizeof_void *])], [(long int) (sizeof (void *))], [AC_INCLUDES_DEFAULT([])], [if test "$AS_TR_SH([ac_cv_type_void *])" = yes; then + AC_MSG_FAILURE([cannot compute sizeof (void *)], 77) + else + AS_TR_SH([ac_cv_sizeof_void *])=0 + fi]) +m4trace:configure.ac:269: -1- m4_pattern_allow([^SIZEOF_VOID_P$]) +m4trace:configure.ac:270: -1- AC_COMPUTE_INT([AS_TR_SH([ac_cv_sizeof_long])], [(long int) (sizeof (long))], [AC_INCLUDES_DEFAULT([])], [if test "$AS_TR_SH([ac_cv_type_long])" = yes; then + AC_MSG_FAILURE([cannot compute sizeof (long)], 77) + else + AS_TR_SH([ac_cv_sizeof_long])=0 + fi]) +m4trace:configure.ac:270: -1- m4_pattern_allow([^SIZEOF_LONG$]) +m4trace:configure.ac:272: -1- grub_apple_cc +m4trace:configure.ac:281: -1- m4_pattern_allow([^HELP2MAN$]) +m4trace:configure.ac:288: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_FSTYPENAME$]) +m4trace:configure.ac:292: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_MNTFROMNAME$]) +m4trace:configure.ac:298: -1- m4_pattern_allow([^HAVE_OPENDISK$]) +m4trace:configure.ac:298: -1- m4_pattern_allow([^HAVE_GETRAWPARTITION$]) +m4trace:configure.ac:308: -1- m4_pattern_allow([^LIBUTIL$]) +m4trace:configure.ac:314: -1- m4_pattern_allow([^BUILD_CC$]) +m4trace:configure.ac:318: -1- gl_INIT +m4trace:configure.ac:318: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$]) +m4trace:configure.ac:318: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE]) +m4trace:configure.ac:318: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE]) +m4trace:configure.ac:318: -1- gl_COMMON +m4trace:configure.ac:318: -1- gl_00GNULIB +m4trace:configure.ac:318: -1- gl_COMMON_BODY +m4trace:configure.ac:318: -1- gl_FUNC_ALLOCA +m4trace:configure.ac:318: -1- m4_pattern_allow([^size_t$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ALLOCA$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ALLOCA$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^C_ALLOCA$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STACK_DIRECTION$]) +m4trace:configure.ac:318: -1- gl_PREREQ_ALLOCA +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ALLOCA$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ALLOCA_H$]) +m4trace:configure.ac:318: -1- gl_ARGP +m4trace:configure.ac:318: -1- AC_C_RESTRICT +m4trace:configure.ac:318: -1- m4_pattern_allow([^restrict$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^restrict$]) +m4trace:configure.ac:318: -1- gl_REPLACE_GETOPT +m4trace:configure.ac:318: -1- gl_GETOPT_SUBSTITUTE_HEADER +m4trace:configure.ac:318: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GETOPT_H$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getopt.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getopt1.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_GETOPT +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_clearerr_unlocked], [_AC_CHECK_DECLS([clearerr_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_feof_unlocked], [_AC_CHECK_DECLS([feof_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_ferror_unlocked], [_AC_CHECK_DECLS([ferror_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_fflush_unlocked], [_AC_CHECK_DECLS([fflush_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_fgets_unlocked], [_AC_CHECK_DECLS([fgets_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_fputc_unlocked], [_AC_CHECK_DECLS([fputc_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_fputs_unlocked], [_AC_CHECK_DECLS([fputs_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_fread_unlocked], [_AC_CHECK_DECLS([fread_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_fwrite_unlocked], [_AC_CHECK_DECLS([fwrite_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getchar_unlocked], [_AC_CHECK_DECLS([getchar_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_putc_unlocked], [_AC_CHECK_DECLS([putc_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_putchar_unlocked], [_AC_CHECK_DECLS([putchar_unlocked])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_flockfile], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" flockfile"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_funlockfile], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" funlockfile"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_features_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" features.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_linewrap_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" linewrap.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=argp_error:2:c-format]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION_INIT +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=argp_failure:4:c-format]) +m4trace:configure.ac:318: -1- gl_FUNC_BTOWC +m4trace:configure.ac:318: -1- gl_WCHAR_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_BTOWC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCTOB$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSINIT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBRTOWC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBRLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCRTOMB$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCWIDTH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_BTOWC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSINIT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBRTOWC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBRLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCRTOMB$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_BTOWC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCTOB$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSINIT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBRTOWC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBRLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCRTOMB$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCWIDTH$]) +m4trace:configure.ac:318: -1- gl_WCHAR_H_INLINE_OK +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gt_LOCALE_FR +m4trace:configure.ac:318: -1- AM_LANGINFO_CODESET +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_FR$]) +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- gl_LIBSOURCES([btowc.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_BTOWC +m4trace:configure.ac:318: -1- gl_WCHAR_MODULE_INDICATOR([btowc]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([btowc]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([btowc]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$]) +m4trace:configure.ac:318: -1- gl_DIRNAME_LGPL +m4trace:configure.ac:318: -1- gl_LIBSOURCES([basename-lgpl.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([dirname-lgpl.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([stripslash.c]) +m4trace:configure.ac:318: -1- gl_AC_DOS +m4trace:configure.ac:318: -1- m4_pattern_allow([^FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE$]) +m4trace:configure.ac:318: -1- gl_DOUBLE_SLASH_ROOT +m4trace:configure.ac:318: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) +m4trace:configure.ac:318: -1- gl_DOUBLE_SLASH_ROOT +m4trace:configure.ac:318: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) +m4trace:configure.ac:318: -1- gl_HEADER_ERRNO_H +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([errno.h]) +m4trace:configure.ac:318: -1- gl_INCLUDE_NEXT +m4trace:configure.ac:318: -1- m4_pattern_allow([^INCLUDE_NEXT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_errno_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" errno.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_ERRNO_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ERRNO_H$]) +m4trace:configure.ac:318: -1- gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EMULTIHOP], [EMULTIHOP], [ +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EMULTIHOP_VALUE$]) +m4trace:configure.ac:318: -1- gl_REPLACE_ERRNO_VALUE([ENOLINK]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_ENOLINK], [ENOLINK], [ +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ENOLINK_HIDDEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ENOLINK_VALUE$]) +m4trace:configure.ac:318: -1- gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EOVERFLOW], [EOVERFLOW], [ +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EOVERFLOW_VALUE$]) +m4trace:configure.ac:318: -1- gl_ERROR +m4trace:configure.ac:318: -1- AC_FUNC_ERROR_AT_LINE +m4trace:configure.ac:318: -1- gl_LIBSOURCES([error.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_ERROR +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format]) +m4trace:configure.ac:318: -1- gl_FLOAT_H +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([float.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_float_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" float.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_FLOAT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FLOAT_H$]) +m4trace:configure.ac:318: -1- gl_FUNC_FNMATCH_POSIX +m4trace:configure.ac:318: -1- gl_LIBSOURCES([fnmatch.c]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^fnmatch$]) +m4trace:configure.ac:318: -1- AC_TYPE_MBSTATE_T +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSTATE_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^mbstate_t$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsrtowcs], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsrtowcs"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_wmemchr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmemchr"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_wmemcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmemcpy"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_wmempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wmempcpy"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FNMATCH_H$]) +m4trace:configure.ac:318: -1- gl_FUNC_GETDELIM +m4trace:configure.ac:318: -1- gl_STDIO_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_DPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FCLOSE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FFLUSH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FOPEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPURGE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPUTC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPUTS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FREOPEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FSEEK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FSEEKO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FTELL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FTELLO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FWRITE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETDELIM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLINE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PERROR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_POPEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTCHAR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_REMOVE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RENAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RENAMEAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TMPFILE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VASPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VDPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VFPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FSEEKO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FTELLO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RENAMEAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_VDPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_DPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FCLOSE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FFLUSH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FOPEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FPURGE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FREOPEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FSEEK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FSEEKO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FTELL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FTELLO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETDELIM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETLINE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PERROR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_POPEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_REMOVE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_RENAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_RENAMEAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SNPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_TMPFILE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VASPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VDPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VFPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VSPRINTF$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getdelim], [_AC_CHECK_DECLS([getdelim])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_getdelim], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getdelim"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getdelim.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_GETDELIM +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) +m4trace:configure.ac:318: -1- gl_STDIO_MODULE_INDICATOR([getdelim]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getdelim]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([getdelim]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_GETDELIM$]) +m4trace:configure.ac:318: -1- gl_FUNC_GETLINE +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getline], [_AC_CHECK_DECLS([getline])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getline.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_GETLINE +m4trace:configure.ac:318: -1- gl_FUNC_GETDELIM +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getdelim], [_AC_CHECK_DECLS([getdelim])]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_getdelim], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getdelim"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getdelim.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_GETDELIM +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) +m4trace:configure.ac:318: -1- gl_STDIO_MODULE_INDICATOR([getline]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getline]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([getline]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_GETLINE$]) +m4trace:configure.ac:318: -1- gl_FUNC_GETOPT_GNU +m4trace:configure.ac:318: -1- gl_FUNC_GETOPT_POSIX +m4trace:configure.ac:318: -1- gl_UNISTD_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CHOWN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CLOSE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_DUP2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_DUP3$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_ENVIRON$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FACCESSAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FCHDIR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FSYNC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETCWD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETGROUPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLOGIN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LCHOWN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LSEEK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PIPE2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PREAD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PWRITE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_READLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_READLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RMDIR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SLEEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SYMLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_USLEEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WRITE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_CHOWN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DUP2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DUP3$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_EUIDACCESS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FACCESSAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FCHDIR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FCHOWNAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FSYNC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETDOMAINNAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETGROUPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETLOGIN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LCHOWN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PIPE2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PREAD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PWRITE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_READLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_READLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SLEEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYMLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYMLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_TTYNAME_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_USLEEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_OS_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CHOWN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CLOSE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_DUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_DUP2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETCWD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETGROUPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LCHOWN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LSEEK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PREAD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PWRITE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_READLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_RMDIR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SLEEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SYMLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_UNLINK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_UNLINKAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_USLEEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WRITE$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$]) +m4trace:configure.ac:318: -1- gl_GETOPT_IFELSE([ + gl_REPLACE_GETOPT + ], []) +m4trace:configure.ac:318: -1- gl_GETOPT_CHECK_HEADERS +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([getopt.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_getopt_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" getopt.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_GETOPT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_getopt_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" getopt.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_OPTRESET$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETOPT_CLIP$]) +m4trace:configure.ac:318: -1- gl_REPLACE_GETOPT +m4trace:configure.ac:318: -1- gl_GETOPT_SUBSTITUTE_HEADER +m4trace:configure.ac:318: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GETOPT_H$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getopt.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getopt1.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_GETOPT +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$]) +m4trace:configure.ac:318: -1- gl_FUNC_GETOPT_POSIX +m4trace:configure.ac:318: -1- gl_GETOPT_IFELSE([ + gl_REPLACE_GETOPT + ], []) +m4trace:configure.ac:318: -1- gl_REPLACE_GETOPT +m4trace:configure.ac:318: -1- gl_GETOPT_SUBSTITUTE_HEADER +m4trace:configure.ac:318: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GETOPT_H$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getopt.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([getopt1.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_GETOPT +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])]) +m4trace:configure.ac:318: -1- AM_GNU_GETTEXT_VERSION([0.18.1]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LIBINTL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LTLIBINTL$]) +m4trace:configure.ac:318: -1- gl_LANGINFO_H +m4trace:configure.ac:318: -1- gl_LANGINFO_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([langinfo.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_LANGINFO_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[#include + ]], [nl_langinfo]) +m4trace:configure.ac:318: -1- gl_LOCALCHARSET +m4trace:configure.ac:318: -1- gl_FCNTL_O_FLAGS +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])]) +m4trace:configure.ac:318: -1- gl_GLIBC21 +m4trace:configure.ac:318: -1- m4_pattern_allow([^GLIBC21$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$]) +m4trace:configure.ac:318: -1- gl_FUNC_MALLOC_GNU +m4trace:configure.ac:318: -1- gl_STDLIB_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB__EXIT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_ATOLL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GRANTPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKDTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKSTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PTSNAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RANDOM_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_REALPATH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RPMATCH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOLL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOULL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNSETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE__EXIT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ATOLL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETSUBOPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GRANTPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKOSTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKSTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKSTEMPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PTSNAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_REALPATH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RPMATCH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRTOD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRTOLL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRTOULL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNLOCKPT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNSETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CALLOC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MALLOC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MKSTEMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PUTENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_REALLOC$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_REALPATH$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRTOD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_UNSETENV$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) +m4trace:configure.ac:318: -1- gl_REPLACE_MALLOC +m4trace:configure.ac:318: -1- gl_LIBSOURCES([malloc.c]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR([malloc-gnu]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$]) +m4trace:configure.ac:318: -4- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_FUNC_MALLOC_POSIX +m4trace:configure.ac:318: -1- gl_CHECK_MALLOC_POSIX +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) +m4trace:configure.ac:318: -1- gl_REPLACE_MALLOC +m4trace:configure.ac:318: -1- gl_LIBSOURCES([malloc.c]) +m4trace:configure.ac:318: -1- gl_STDLIB_MODULE_INDICATOR([malloc-posix]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([malloc-posix]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([malloc-posix]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$]) +m4trace:configure.ac:318: -1- gl_FUNC_MBRTOWC +m4trace:configure.ac:318: -1- gl_MBSTATE_T_BROKEN +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_INCOMPLETE_STATE +m4trace:configure.ac:318: -1- gt_LOCALE_JA +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_JA$]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_SANITYCHECK +m4trace:configure.ac:318: -1- gt_LOCALE_ZH_CN +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_NULL_ARG +m4trace:configure.ac:318: -1- gt_LOCALE_FR_UTF8 +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_RETVAL +m4trace:configure.ac:318: -1- gl_MBRTOWC_NUL_RETVAL +m4trace:configure.ac:318: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG_BUG$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$]) +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- gl_LIBSOURCES([mbrtowc.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_MBRTOWC +m4trace:configure.ac:318: -1- gl_WCHAR_MODULE_INDICATOR([mbrtowc]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbrtowc]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbrtowc]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$]) +m4trace:configure.ac:318: -1- gl_FUNC_MBSINIT +m4trace:configure.ac:318: -1- gl_MBSTATE_T_BROKEN +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_INCOMPLETE_STATE +m4trace:configure.ac:318: -1- gl_MBRTOWC_SANITYCHECK +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- gl_LIBSOURCES([mbsinit.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_MBSINIT +m4trace:configure.ac:318: -1- gl_WCHAR_MODULE_INDICATOR([mbsinit]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsinit]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsinit]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$]) +m4trace:configure.ac:318: -1- gl_FUNC_MBSRTOWCS +m4trace:configure.ac:318: -1- gl_MBSTATE_T_BROKEN +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_INCOMPLETE_STATE +m4trace:configure.ac:318: -1- gl_MBRTOWC_SANITYCHECK +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsrtowcs], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsrtowcs"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_MBSRTOWCS_WORKS +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- gl_LIBSOURCES([mbsrtowcs.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([mbsrtowcs-state.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_MBSRTOWCS +m4trace:configure.ac:318: -1- gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsrtowcs]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsrtowcs]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- gl_FUNC_MEMCHR +m4trace:configure.ac:318: -1- gl_FUNC_MMAP_ANON +m4trace:configure.ac:318: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_HEADER_STRING_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMMEM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMPCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMRCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STPCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STPNCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRDUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRNCAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRNDUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRNLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRPBRK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRSEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRSTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRCASESTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOK_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSNLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSRCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSSTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCSPN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSPBRK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSSPN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSSEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRERROR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MEMCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STPCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STPNCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRPBRK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRSEP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCASESTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRVERSCMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MEMCHR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MEMMEM$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STPNCPY$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRDUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRSTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRCASESTR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRERROR$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRNCAT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRNDUP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRNLEN$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRTOK_R$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_memchr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" memchr"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([memchr.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_MEMCHR +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([memchr]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([memchr]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([memchr]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$]) +m4trace:configure.ac:318: -1- gl_FUNC_MEMPCPY +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) +m4trace:configure.ac:318: -1- gl_LIBOBJ([$ac_func]) +m4trace:configure.ac:318: -1- gl_PREREQ_MEMPCPY +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([mempcpy]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mempcpy]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([mempcpy]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MEMPCPY$]) +m4trace:configure.ac:318: -1- gl_MULTIARCH +m4trace:configure.ac:318: -1- m4_pattern_allow([^AA_APPLE_UNIVERSAL_BUILD$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$]) +m4trace:configure.ac:318: -1- gl_FUNC_NL_LANGINFO +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_nl_langinfo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nl_langinfo"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([nl_langinfo.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([nl_langinfo.c]) +m4trace:configure.ac:318: -1- gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([nl_langinfo]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([nl_langinfo]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- gl_FUNC_RAWMEMCHR +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- gl_LIBOBJ([$ac_func]) +m4trace:configure.ac:318: -1- gl_PREREQ_RAWMEMCHR +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([rawmemchr]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rawmemchr]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([rawmemchr]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- gl_FUNC_REALLOC_POSIX +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) +m4trace:configure.ac:318: -1- gl_REPLACE_REALLOC +m4trace:configure.ac:318: -1- gl_LIBSOURCES([realloc.c]) +m4trace:configure.ac:318: -1- gl_STDLIB_MODULE_INDICATOR([realloc-posix]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([realloc-posix]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([realloc-posix]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_REALLOC_POSIX$]) +m4trace:configure.ac:318: -1- gl_REGEX +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_locale_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" locale.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_syntax_options$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_set_syntax$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_compile_pattern$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_compile_fastmap$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_search$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_search_2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_match$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_match_2$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_set_registers$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_comp$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_exec$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regcomp$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regexec$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regerror$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regfree$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([regex.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_REGEX +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LIBINTL_H$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_wcscoll], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcscoll"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$]) +m4trace:configure.ac:318: -1- gl_SIZE_MAX +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H$]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include +#include ], [size_t_bits_minus_1=]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], [fits_in_uint=]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SIZE_MAX$]) +m4trace:configure.ac:318: -1- gl_FUNC_SLEEP +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_SLEEP$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_sleep], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sleep"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([sleep.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([sleep.c]) +m4trace:configure.ac:318: -1- gl_UNISTD_MODULE_INDICATOR([sleep]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sleep]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([sleep]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_SLEEP$]) +m4trace:configure.ac:318: -1- gt_TYPE_SSIZE_T +m4trace:configure.ac:318: -1- m4_pattern_allow([^ssize_t$]) +m4trace:configure.ac:318: -1- AM_STDBOOL_H +m4trace:configure.ac:318: -1- AC_HEADER_STDBOOL +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE__BOOL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STDBOOL_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE__BOOL$]) +m4trace:configure.ac:318: -1- gl_STDDEF_H +m4trace:configure.ac:318: -1- gl_STDDEF_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_NULL$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STDDEF_H$]) +m4trace:configure.ac:318: -1- gt_TYPE_WCHAR_T +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([stddef.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_stddef_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stddef.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDDEF_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$]) +m4trace:configure.ac:318: -1- gl_STDINT_H +m4trace:configure.ac:318: -1- AC_TYPE_LONG_LONG_INT +m4trace:configure.ac:318: -1- _AC_TYPE_LONG_LONG_SNIPPET +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT +m4trace:configure.ac:318: -1- _AC_TYPE_LONG_LONG_SNIPPET +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([stdint.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdint.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDINT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H$]) +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_STDINT_TYPE_PROPERTIES +m4trace:configure.ac:318: -1- gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES +#include ], [result=unknown]) +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$]) +m4trace:configure.ac:318: -1- gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) +m4trace:configure.ac:318: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES +#include ], [result=unknown]) +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$]) +m4trace:configure.ac:318: -1- gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$]) +m4trace:configure.ac:318: -1- gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES]) +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SIZE_T_SUFFIX$]) +m4trace:configure.ac:318: -1- gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES]) +m4trace:configure.ac:318: -1- gl_STDINT_INCLUDES +m4trace:configure.ac:318: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^WINT_T_SUFFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STDINT_H$]) +m4trace:configure.ac:318: -1- gl_STDIO_H +m4trace:configure.ac:318: -1- gl_ASM_SYMBOL_PREFIX +m4trace:configure.ac:318: -1- m4_pattern_allow([^USER_LABEL_PREFIX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ASM_SYMBOL_PREFIX$]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([stdio.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_stdio_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdio.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDIO_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[#include + ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat + snprintf tmpfile vdprintf vsnprintf]) +m4trace:configure.ac:318: -1- gl_STDLIB_H +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([stdlib.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_stdlib_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdlib.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDLIB_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[#include +#if HAVE_SYS_LOADAVG_H +# include +#endif +#if HAVE_RANDOM_H +# include +#endif + ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp + mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r + setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt + unsetenv]) +m4trace:configure.ac:318: -1- gl_STRCASE +m4trace:configure.ac:318: -1- gl_FUNC_STRCASECMP +m4trace:configure.ac:318: -1- gl_HEADER_STRINGS_H_DEFAULTS +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNCASECMP$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +m4trace:configure.ac:318: -1- gl_LIBOBJ([$ac_func]) +m4trace:configure.ac:318: -1- gl_PREREQ_STRCASECMP +m4trace:configure.ac:318: -1- gl_FUNC_STRNCASECMP +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRNCASECMP$]) +m4trace:configure.ac:318: -1- gl_LIBOBJ([$ac_func]) +m4trace:configure.ac:318: -1- gl_PREREQ_STRNCASECMP +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNCASECMP$]) +m4trace:configure.ac:318: -1- gl_FUNC_STRCHRNUL +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) +m4trace:configure.ac:318: -1- gl_LIBOBJ([$ac_func]) +m4trace:configure.ac:318: -1- gl_PREREQ_STRCHRNUL +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([strchrnul]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strchrnul]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([strchrnul]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRCHRNUL$]) +m4trace:configure.ac:318: -1- gl_FUNC_STRERROR +m4trace:configure.ac:318: -1- gl_FUNC_STRERROR_SEPARATE +m4trace:configure.ac:318: -1- gl_PREREQ_STRERROR +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([strerror.c]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRERROR$]) +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([strerror]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strerror]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([strerror]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$]) +m4trace:configure.ac:318: -1- gl_HEADER_STRING_H +m4trace:configure.ac:318: -1- gl_HEADER_STRING_H_BODY +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([string.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_string_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" string.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STRING_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[#include + ]], [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup + strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal + strverscmp]) +m4trace:configure.ac:318: -1- gl_HEADER_STRINGS_H +m4trace:configure.ac:318: -1- gl_HEADER_STRINGS_H_BODY +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([strings.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_strings_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" strings.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STRINGS_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRINGS_H$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[#include + ]], [strcasecmp strncasecmp]) +m4trace:configure.ac:318: -1- gl_FUNC_STRNDUP +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_strndup], [_AC_CHECK_DECLS([strndup])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_strndup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strndup"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([strndup.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([strndup.c]) +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([strndup]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strndup]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([strndup]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$]) +m4trace:configure.ac:318: -1- gl_FUNC_STRNLEN +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_strnlen], [_AC_CHECK_DECLS([strnlen])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([strnlen.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([strnlen.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_STRNLEN +m4trace:configure.ac:318: -1- gl_STRING_MODULE_INDICATOR([strnlen]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strnlen]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([strnlen]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$]) +m4trace:configure.ac:318: -1- gl_SYS_WAIT_H +m4trace:configure.ac:318: -1- gl_SYS_WAIT_H_DEFAULTS +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([sys/wait.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_sys_wait_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/wait.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$]) +m4trace:configure.ac:318: -1- AC_PROG_MKDIR_P +m4trace:configure.ac:318: -1- gl_SYSEXITS +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_sysexits_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sysexits.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([sysexits.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_sysexits_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sysexits.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_SYSEXITS_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYSEXITS_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SYSEXITS_H$]) +m4trace:configure.ac:318: -1- gl_UNISTD_H +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([unistd.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_UNISTD_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[#include +/* Some systems declare various items in the wrong headers. */ +#ifndef __GLIBC__ +# include +# include +# include +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +# include +# endif +#endif + ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat + fsync ftruncate getcwd getdomainname getdtablesize getgroups + gethostname getlogin getlogin_r getpagesize getusershell setusershell + endusershell lchown link linkat lseek pipe2 pread pwrite readlink + readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat + usleep]) +m4trace:configure.ac:318: -1- gl_FUNC_VASNPRINTF +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_REPLACE_VASNPRINTF +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([vasnprintf.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([printf-args.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([printf-parse.c]) +m4trace:configure.ac:318: -1- gl_LIBSOURCES([asnprintf.c]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) +m4trace:configure.ac:318: -1- gl_PREREQ_PRINTF_ARGS +m4trace:configure.ac:318: -1- gt_TYPE_WINT_T +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINT_T$]) +m4trace:configure.ac:318: -1- gl_PREREQ_PRINTF_PARSE +m4trace:configure.ac:318: -1- m4_pattern_allow([^ptrdiff_t$]) +m4trace:configure.ac:318: -1- gt_AC_TYPE_INTMAX_T +m4trace:configure.ac:318: -1- gl_AC_HEADER_INTTYPES_H +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) +m4trace:configure.ac:318: -1- gl_AC_HEADER_STDINT_H +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^intmax_t$]) +m4trace:configure.ac:318: -1- gl_PREREQ_VASNPRINTF +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) +m4trace:configure.ac:318: -1- gl_SNPRINTF_RETVAL_C99 +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$]) +m4trace:configure.ac:318: -1- gl_PREREQ_ASNPRINTF +m4trace:configure.ac:318: -1- gl_FUNC_VSNPRINTF +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_VSNPRINTF$]) +m4trace:configure.ac:318: -1- gl_SNPRINTF_SIZE1 +m4trace:configure.ac:318: -1- gl_REPLACE_VSNPRINTF +m4trace:configure.ac:318: -1- gl_LIBSOURCES([vsnprintf.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_VSNPRINTF +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_vsnprintf], [_AC_CHECK_DECLS([vsnprintf])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) +m4trace:configure.ac:318: -1- gl_STDIO_MODULE_INDICATOR([vsnprintf]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([vsnprintf]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([vsnprintf]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_VSNPRINTF$]) +m4trace:configure.ac:318: -1- gl_WCHAR_H +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([wchar.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_WCHAR_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINT_T$]) +m4trace:configure.ac:318: -1- gl_WARN_ON_USE_PREPARE([[ +/* Some systems require additional headers. */ +#ifndef __GLIBC__ +# include +# include +# include +#endif +#include + ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb + wcsrtombs wcsnrtombs wcwidth]) +m4trace:configure.ac:318: -1- gl_FUNC_WCRTOMB +m4trace:configure.ac:318: -1- gl_MBSTATE_T_BROKEN +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_MBRTOWC_INCOMPLETE_STATE +m4trace:configure.ac:318: -1- gl_MBRTOWC_SANITYCHECK +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_wcrtomb], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcrtomb"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- gl_REPLACE_WCHAR_H +m4trace:configure.ac:318: -1- gl_LIBSOURCES([wcrtomb.c]) +m4trace:configure.ac:318: -1- gl_PREREQ_WCRTOMB +m4trace:configure.ac:318: -1- gl_WCHAR_MODULE_INDICATOR([wcrtomb]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wcrtomb]) +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_CONDITION +m4trace:configure.ac:318: -1- gl_MODULE_INDICATOR_FOR_TESTS([wcrtomb]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$]) +m4trace:configure.ac:318: -1- gl_WCTYPE_H +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_iswcntrl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswcntrl"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ISWCNTRL$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Func_iswblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswblank"])]) +_AC_FUNCS_EXPANSION]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Check_Decl_iswblank], [_AC_CHECK_DECLS([iswblank])]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ISWBLANK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ISWBLANK$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_ISWBLANK$]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINT_T$]) +m4trace:configure.ac:318: -1- gl_CHECK_NEXT_HEADERS([wctype.h]) +m4trace:configure.ac:318: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])]) +_AC_HEADERS_EXPANSION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_WCTYPE_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCTYPE_H$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$]) +m4trace:configure.ac:318: -1- gl_XSIZE +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H$]) +m4trace:configure.ac:318: -1- gl_COMMON +m4trace:configure.ac:318: -1- m4_pattern_allow([^gltests_WITNESS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LIBGNU_LIBDEPS$]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LIBGNU_LTLIBDEPS$]) +m4trace:configure.ac:329: -1- m4_pattern_allow([^TARGET_CC$]) +m4trace:configure.ac:329: -1- m4_pattern_allow([^ac_ct_TARGET_CC$]) +m4trace:configure.ac:331: -1- m4_pattern_allow([^OBJCOPY$]) +m4trace:configure.ac:332: -1- m4_pattern_allow([^STRIP$]) +m4trace:configure.ac:333: -1- m4_pattern_allow([^NM$]) +m4trace:configure.ac:340: -1- m4_pattern_allow([^OBJCOPY$]) +m4trace:configure.ac:341: -1- m4_pattern_allow([^STRIP$]) +m4trace:configure.ac:342: -1- m4_pattern_allow([^NM$]) +m4trace:configure.ac:344: -1- m4_pattern_allow([^HOST_CC$]) +m4trace:configure.ac:345: -1- m4_pattern_allow([^BUILD_CC$]) +m4trace:configure.ac:346: -1- m4_pattern_allow([^TARGET_CC$]) +m4trace:configure.ac:418: -1- grub_apple_target_cc +m4trace:configure.ac:425: -1- m4_pattern_allow([^OBJCONV$]) +m4trace:configure.ac:427: -1- m4_pattern_allow([^OBJCONV$]) +m4trace:configure.ac:515: -1- grub_CHECK_ENABLE_EXECUTE_STACK +m4trace:configure.ac:515: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... +configure.ac:515: the top level]) +m4trace:configure.ac:518: -1- grub_CHECK_PIE +m4trace:configure.ac:518: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:397: grub_CHECK_PIE is expanded from... +configure.ac:518: the top level]) +m4trace:configure.ac:526: -1- grub_CHECK_STACK_PROTECTOR +m4trace:configure.ac:526: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... +configure.ac:526: the top level]) +m4trace:configure.ac:532: -1- grub_CHECK_STACK_ARG_PROBE +m4trace:configure.ac:532: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... +configure.ac:532: the top level]) +m4trace:configure.ac:549: -1- m4_pattern_allow([^OBJCONV$]) +m4trace:configure.ac:550: -1- m4_pattern_allow([^TARGET_CPP$]) +m4trace:configure.ac:551: -1- m4_pattern_allow([^TARGET_CCAS$]) +m4trace:configure.ac:552: -1- m4_pattern_allow([^TARGET_OBJ2ELF$]) +m4trace:configure.ac:553: -1- m4_pattern_allow([^TARGET_APPLE_CC$]) +m4trace:configure.ac:554: -1- m4_pattern_allow([^TARGET_MODULE_FORMAT$]) +m4trace:configure.ac:556: -1- m4_pattern_allow([^TARGET_CFLAGS$]) +m4trace:configure.ac:557: -1- m4_pattern_allow([^TARGET_LDFLAGS$]) +m4trace:configure.ac:558: -1- m4_pattern_allow([^TARGET_CPPFLAGS$]) +m4trace:configure.ac:559: -1- m4_pattern_allow([^TARGET_CCASFLAGS$]) +m4trace:configure.ac:561: -1- m4_pattern_allow([^TARGET_IMG_LDSCRIPT$]) +m4trace:configure.ac:562: -1- m4_pattern_allow([^TARGET_IMG_LDFLAGS$]) +m4trace:configure.ac:563: -1- m4_pattern_allow([^TARGET_IMG_CFLAGS$]) +m4trace:configure.ac:564: -1- m4_pattern_allow([^TARGET_IMG_BASE_LDOPT$]) +m4trace:configure.ac:566: -1- m4_pattern_allow([^HOST_CFLAGS$]) +m4trace:configure.ac:567: -1- m4_pattern_allow([^HOST_LDFLAGS$]) +m4trace:configure.ac:568: -1- m4_pattern_allow([^HOST_CPPFLAGS$]) +m4trace:configure.ac:569: -1- m4_pattern_allow([^HOST_CCASFLAGS$]) +m4trace:configure.ac:585: -1- grub_ASM_USCORE +m4trace:configure.ac:603: -1- grub_PROG_TARGET_CC +m4trace:configure.ac:605: -1- grub_PROG_OBJCOPY_ABSOLUTE +m4trace:configure.ac:607: -1- grub_PROG_LD_BUILD_ID_NONE +m4trace:configure.ac:614: -1- grub_CHECK_BSS_START_SYMBOL +m4trace:configure.ac:615: -1- grub_CHECK_END_SYMBOL +m4trace:configure.ac:618: -1- grub_I386_ASM_PREFIX_REQUIREMENT +m4trace:configure.ac:619: -1- grub_I386_ASM_ADDR32 +m4trace:configure.ac:653: -1- m4_pattern_allow([^enable_efiemu$]) +m4trace:configure.ac:700: -1- m4_pattern_allow([^MM_DEBUG$]) +m4trace:configure.ac:724: -1- m4_pattern_allow([^LIBCURSES$]) +m4trace:configure.ac:727: -1- m4_pattern_allow([^HAVE_NCURSES_CURSES_H$]) +m4trace:configure.ac:727: -1- m4_pattern_allow([^HAVE_NCURSES_H$]) +m4trace:configure.ac:727: -1- m4_pattern_allow([^HAVE_CURSES_H$]) +m4trace:configure.ac:748: -1- m4_pattern_allow([^LIBUSB$]) +m4trace:configure.ac:752: -1- m4_pattern_allow([^HAVE_USB_H$]) +m4trace:configure.ac:771: -1- m4_pattern_allow([^LIBSDL$]) +m4trace:configure.ac:776: -1- m4_pattern_allow([^HAVE_SDL_SDL_H$]) +m4trace:configure.ac:801: -1- m4_pattern_allow([^LIBPCIACCESS$]) +m4trace:configure.ac:805: -1- m4_pattern_allow([^HAVE_PCI_PCI_H$]) +m4trace:configure.ac:816: -1- m4_pattern_allow([^enable_grub_emu_sdl$]) +m4trace:configure.ac:817: -1- m4_pattern_allow([^enable_grub_emu_usb$]) +m4trace:configure.ac:818: -1- m4_pattern_allow([^enable_grub_emu_pci$]) +m4trace:configure.ac:830: -1- m4_pattern_allow([^FREETYPE$]) +m4trace:configure.ac:842: -1- m4_pattern_allow([^HAVE_FT2BUILD_H$]) +m4trace:configure.ac:855: -1- m4_pattern_allow([^enable_grub_mkfont$]) +m4trace:configure.ac:856: -1- m4_pattern_allow([^freetype_cflags$]) +m4trace:configure.ac:857: -1- m4_pattern_allow([^freetype_libs$]) +m4trace:configure.ac:874: -1- m4_pattern_allow([^HAVE_LIBDEVMAPPER$]) +m4trace:configure.ac:880: -1- m4_pattern_allow([^HAVE_LIBDEVMAPPER$]) +m4trace:configure.ac:887: -1- m4_pattern_allow([^HAVE_DEVICE_MAPPER$]) +m4trace:configure.ac:891: -1- m4_pattern_allow([^LIBDEVMAPPER$]) +m4trace:configure.ac:895: -1- m4_pattern_allow([^HAVE_LIBGEOM$]) +m4trace:configure.ac:900: -1- m4_pattern_allow([^LIBGEOM$]) +m4trace:configure.ac:902: -1- m4_pattern_allow([^HAVE_LIBLZMA$]) +m4trace:configure.ac:906: -1- m4_pattern_allow([^LIBLZMA$]) +m4trace:configure.ac:908: -1- m4_pattern_allow([^HAVE_LIBZFS$]) +m4trace:configure.ac:912: -1- m4_pattern_allow([^LIBZFS$]) +m4trace:configure.ac:914: -1- m4_pattern_allow([^HAVE_LIBNVPAIR$]) +m4trace:configure.ac:918: -1- m4_pattern_allow([^LIBNVPAIR$]) +m4trace:configure.ac:923: -1- m4_pattern_allow([^pkglibrootdir$]) +m4trace:configure.ac:925: -1- m4_pattern_allow([^FONT_SOURCE$]) +m4trace:configure.ac:926: -1- m4_pattern_allow([^GRUB_BOOT_MACHINE_LINK_ADDR$]) +m4trace:configure.ac:928: -1- m4_pattern_allow([^USE_APPLE_CC_FIXES$]) +m4trace:configure.ac:931: -1- m4_pattern_allow([^HAVE_ASM_USCORE$]) +m4trace:configure.ac:932: -1- m4_pattern_allow([^ADDR32$]) +m4trace:configure.ac:933: -1- m4_pattern_allow([^DATA32$]) +m4trace:configure.ac:934: -1- m4_pattern_allow([^BSS_START_SYMBOL$]) +m4trace:configure.ac:935: -1- m4_pattern_allow([^END_SYMBOL$]) +m4trace:configure.ac:936: -1- m4_pattern_allow([^PACKAGE$]) +m4trace:configure.ac:937: -1- m4_pattern_allow([^VERSION$]) +m4trace:configure.ac:938: -1- m4_pattern_allow([^NEED_ENABLE_EXECUTE_STACK$]) +m4trace:configure.ac:939: -1- m4_pattern_allow([^NEED_REGISTER_FRAME_INFO$]) +m4trace:configure.ac:945: -1- AM_CONDITIONAL([COND_emu], [test x$platform = xemu]) +m4trace:configure.ac:945: -1- m4_pattern_allow([^COND_emu_TRUE$]) +m4trace:configure.ac:945: -1- m4_pattern_allow([^COND_emu_FALSE$]) +m4trace:configure.ac:945: -1- _AM_SUBST_NOTMAKE([COND_emu_TRUE]) +m4trace:configure.ac:945: -1- _AM_SUBST_NOTMAKE([COND_emu_FALSE]) +m4trace:configure.ac:946: -1- AM_CONDITIONAL([COND_i386_pc], [test x$target_cpu = xi386 -a x$platform = xpc]) +m4trace:configure.ac:946: -1- m4_pattern_allow([^COND_i386_pc_TRUE$]) +m4trace:configure.ac:946: -1- m4_pattern_allow([^COND_i386_pc_FALSE$]) +m4trace:configure.ac:946: -1- _AM_SUBST_NOTMAKE([COND_i386_pc_TRUE]) +m4trace:configure.ac:946: -1- _AM_SUBST_NOTMAKE([COND_i386_pc_FALSE]) +m4trace:configure.ac:947: -1- AM_CONDITIONAL([COND_i386_efi], [test x$target_cpu = xi386 -a x$platform = xefi]) +m4trace:configure.ac:947: -1- m4_pattern_allow([^COND_i386_efi_TRUE$]) +m4trace:configure.ac:947: -1- m4_pattern_allow([^COND_i386_efi_FALSE$]) +m4trace:configure.ac:947: -1- _AM_SUBST_NOTMAKE([COND_i386_efi_TRUE]) +m4trace:configure.ac:947: -1- _AM_SUBST_NOTMAKE([COND_i386_efi_FALSE]) +m4trace:configure.ac:948: -1- AM_CONDITIONAL([COND_i386_qemu], [test x$target_cpu = xi386 -a x$platform = xqemu]) +m4trace:configure.ac:948: -1- m4_pattern_allow([^COND_i386_qemu_TRUE$]) +m4trace:configure.ac:948: -1- m4_pattern_allow([^COND_i386_qemu_FALSE$]) +m4trace:configure.ac:948: -1- _AM_SUBST_NOTMAKE([COND_i386_qemu_TRUE]) +m4trace:configure.ac:948: -1- _AM_SUBST_NOTMAKE([COND_i386_qemu_FALSE]) +m4trace:configure.ac:949: -1- AM_CONDITIONAL([COND_i386_ieee1275], [test x$target_cpu = xi386 -a x$platform = xieee1275]) +m4trace:configure.ac:949: -1- m4_pattern_allow([^COND_i386_ieee1275_TRUE$]) +m4trace:configure.ac:949: -1- m4_pattern_allow([^COND_i386_ieee1275_FALSE$]) +m4trace:configure.ac:949: -1- _AM_SUBST_NOTMAKE([COND_i386_ieee1275_TRUE]) +m4trace:configure.ac:949: -1- _AM_SUBST_NOTMAKE([COND_i386_ieee1275_FALSE]) +m4trace:configure.ac:950: -1- AM_CONDITIONAL([COND_i386_coreboot], [test x$target_cpu = xi386 -a x$platform = xcoreboot]) +m4trace:configure.ac:950: -1- m4_pattern_allow([^COND_i386_coreboot_TRUE$]) +m4trace:configure.ac:950: -1- m4_pattern_allow([^COND_i386_coreboot_FALSE$]) +m4trace:configure.ac:950: -1- _AM_SUBST_NOTMAKE([COND_i386_coreboot_TRUE]) +m4trace:configure.ac:950: -1- _AM_SUBST_NOTMAKE([COND_i386_coreboot_FALSE]) +m4trace:configure.ac:951: -1- AM_CONDITIONAL([COND_i386_multiboot], [test x$target_cpu = xi386 -a x$platform = xmultiboot]) +m4trace:configure.ac:951: -1- m4_pattern_allow([^COND_i386_multiboot_TRUE$]) +m4trace:configure.ac:951: -1- m4_pattern_allow([^COND_i386_multiboot_FALSE$]) +m4trace:configure.ac:951: -1- _AM_SUBST_NOTMAKE([COND_i386_multiboot_TRUE]) +m4trace:configure.ac:951: -1- _AM_SUBST_NOTMAKE([COND_i386_multiboot_FALSE]) +m4trace:configure.ac:952: -1- AM_CONDITIONAL([COND_x86_64_efi], [test x$target_cpu = xx86_64 -a x$platform = xefi]) +m4trace:configure.ac:952: -1- m4_pattern_allow([^COND_x86_64_efi_TRUE$]) +m4trace:configure.ac:952: -1- m4_pattern_allow([^COND_x86_64_efi_FALSE$]) +m4trace:configure.ac:952: -1- _AM_SUBST_NOTMAKE([COND_x86_64_efi_TRUE]) +m4trace:configure.ac:952: -1- _AM_SUBST_NOTMAKE([COND_x86_64_efi_FALSE]) +m4trace:configure.ac:953: -1- AM_CONDITIONAL([COND_mips_yeeloong], [test x$target_cpu = xmips -a x$platform = xyeeloong]) +m4trace:configure.ac:953: -1- m4_pattern_allow([^COND_mips_yeeloong_TRUE$]) +m4trace:configure.ac:953: -1- m4_pattern_allow([^COND_mips_yeeloong_FALSE$]) +m4trace:configure.ac:953: -1- _AM_SUBST_NOTMAKE([COND_mips_yeeloong_TRUE]) +m4trace:configure.ac:953: -1- _AM_SUBST_NOTMAKE([COND_mips_yeeloong_FALSE]) +m4trace:configure.ac:954: -1- AM_CONDITIONAL([COND_mips_qemu_mips], [test x$target_cpu = xmips -a x$platform = xqemu_mips]) +m4trace:configure.ac:954: -1- m4_pattern_allow([^COND_mips_qemu_mips_TRUE$]) +m4trace:configure.ac:954: -1- m4_pattern_allow([^COND_mips_qemu_mips_FALSE$]) +m4trace:configure.ac:954: -1- _AM_SUBST_NOTMAKE([COND_mips_qemu_mips_TRUE]) +m4trace:configure.ac:954: -1- _AM_SUBST_NOTMAKE([COND_mips_qemu_mips_FALSE]) +m4trace:configure.ac:955: -1- AM_CONDITIONAL([COND_sparc64_ieee1275], [test x$target_cpu = xsparc64 -a x$platform = xieee1275]) +m4trace:configure.ac:955: -1- m4_pattern_allow([^COND_sparc64_ieee1275_TRUE$]) +m4trace:configure.ac:955: -1- m4_pattern_allow([^COND_sparc64_ieee1275_FALSE$]) +m4trace:configure.ac:955: -1- _AM_SUBST_NOTMAKE([COND_sparc64_ieee1275_TRUE]) +m4trace:configure.ac:955: -1- _AM_SUBST_NOTMAKE([COND_sparc64_ieee1275_FALSE]) +m4trace:configure.ac:956: -1- AM_CONDITIONAL([COND_powerpc_ieee1275], [test x$target_cpu = xpowerpc -a x$platform = xieee1275]) +m4trace:configure.ac:956: -1- m4_pattern_allow([^COND_powerpc_ieee1275_TRUE$]) +m4trace:configure.ac:956: -1- m4_pattern_allow([^COND_powerpc_ieee1275_FALSE$]) +m4trace:configure.ac:956: -1- _AM_SUBST_NOTMAKE([COND_powerpc_ieee1275_TRUE]) +m4trace:configure.ac:956: -1- _AM_SUBST_NOTMAKE([COND_powerpc_ieee1275_FALSE]) +m4trace:configure.ac:957: -1- AM_CONDITIONAL([COND_mips], [test x$target_cpu = xmips]) +m4trace:configure.ac:957: -1- m4_pattern_allow([^COND_mips_TRUE$]) +m4trace:configure.ac:957: -1- m4_pattern_allow([^COND_mips_FALSE$]) +m4trace:configure.ac:957: -1- _AM_SUBST_NOTMAKE([COND_mips_TRUE]) +m4trace:configure.ac:957: -1- _AM_SUBST_NOTMAKE([COND_mips_FALSE]) +m4trace:configure.ac:959: -1- AM_CONDITIONAL([COND_HOST_HURD], [test x$host_kernel = xhurd]) +m4trace:configure.ac:959: -1- m4_pattern_allow([^COND_HOST_HURD_TRUE$]) +m4trace:configure.ac:959: -1- m4_pattern_allow([^COND_HOST_HURD_FALSE$]) +m4trace:configure.ac:959: -1- _AM_SUBST_NOTMAKE([COND_HOST_HURD_TRUE]) +m4trace:configure.ac:959: -1- _AM_SUBST_NOTMAKE([COND_HOST_HURD_FALSE]) +m4trace:configure.ac:960: -1- AM_CONDITIONAL([COND_HOST_LINUX], [test x$host_kernel = xlinux]) +m4trace:configure.ac:960: -1- m4_pattern_allow([^COND_HOST_LINUX_TRUE$]) +m4trace:configure.ac:960: -1- m4_pattern_allow([^COND_HOST_LINUX_FALSE$]) +m4trace:configure.ac:960: -1- _AM_SUBST_NOTMAKE([COND_HOST_LINUX_TRUE]) +m4trace:configure.ac:960: -1- _AM_SUBST_NOTMAKE([COND_HOST_LINUX_FALSE]) +m4trace:configure.ac:961: -1- AM_CONDITIONAL([COND_HOST_NETBSD], [test x$host_kernel = xnetbsd]) +m4trace:configure.ac:961: -1- m4_pattern_allow([^COND_HOST_NETBSD_TRUE$]) +m4trace:configure.ac:961: -1- m4_pattern_allow([^COND_HOST_NETBSD_FALSE$]) +m4trace:configure.ac:961: -1- _AM_SUBST_NOTMAKE([COND_HOST_NETBSD_TRUE]) +m4trace:configure.ac:961: -1- _AM_SUBST_NOTMAKE([COND_HOST_NETBSD_FALSE]) +m4trace:configure.ac:962: -1- AM_CONDITIONAL([COND_HOST_WINDOWS], [test x$host_kernel = xwindows]) +m4trace:configure.ac:962: -1- m4_pattern_allow([^COND_HOST_WINDOWS_TRUE$]) +m4trace:configure.ac:962: -1- m4_pattern_allow([^COND_HOST_WINDOWS_FALSE$]) +m4trace:configure.ac:962: -1- _AM_SUBST_NOTMAKE([COND_HOST_WINDOWS_TRUE]) +m4trace:configure.ac:962: -1- _AM_SUBST_NOTMAKE([COND_HOST_WINDOWS_FALSE]) +m4trace:configure.ac:963: -1- AM_CONDITIONAL([COND_HOST_KFREEBSD], [test x$host_kernel = xkfreebsd]) +m4trace:configure.ac:963: -1- m4_pattern_allow([^COND_HOST_KFREEBSD_TRUE$]) +m4trace:configure.ac:963: -1- m4_pattern_allow([^COND_HOST_KFREEBSD_FALSE$]) +m4trace:configure.ac:963: -1- _AM_SUBST_NOTMAKE([COND_HOST_KFREEBSD_TRUE]) +m4trace:configure.ac:963: -1- _AM_SUBST_NOTMAKE([COND_HOST_KFREEBSD_FALSE]) +m4trace:configure.ac:965: -1- AM_CONDITIONAL([COND_MAN_PAGES], [test x$cross_compiling = xno -a x$HELP2MAN != x]) +m4trace:configure.ac:965: -1- m4_pattern_allow([^COND_MAN_PAGES_TRUE$]) +m4trace:configure.ac:965: -1- m4_pattern_allow([^COND_MAN_PAGES_FALSE$]) +m4trace:configure.ac:965: -1- _AM_SUBST_NOTMAKE([COND_MAN_PAGES_TRUE]) +m4trace:configure.ac:965: -1- _AM_SUBST_NOTMAKE([COND_MAN_PAGES_FALSE]) +m4trace:configure.ac:966: -1- AM_CONDITIONAL([COND_GRUB_EMU_USB], [test x$enable_grub_emu_usb = xyes]) +m4trace:configure.ac:966: -1- m4_pattern_allow([^COND_GRUB_EMU_USB_TRUE$]) +m4trace:configure.ac:966: -1- m4_pattern_allow([^COND_GRUB_EMU_USB_FALSE$]) +m4trace:configure.ac:966: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_USB_TRUE]) +m4trace:configure.ac:966: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_USB_FALSE]) +m4trace:configure.ac:967: -1- AM_CONDITIONAL([COND_GRUB_EMU_SDL], [test x$enable_grub_emu_sdl = xyes]) +m4trace:configure.ac:967: -1- m4_pattern_allow([^COND_GRUB_EMU_SDL_TRUE$]) +m4trace:configure.ac:967: -1- m4_pattern_allow([^COND_GRUB_EMU_SDL_FALSE$]) +m4trace:configure.ac:967: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_SDL_TRUE]) +m4trace:configure.ac:967: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_SDL_FALSE]) +m4trace:configure.ac:968: -1- AM_CONDITIONAL([COND_GRUB_EMU_PCI], [test x$enable_grub_emu_pci = xyes]) +m4trace:configure.ac:968: -1- m4_pattern_allow([^COND_GRUB_EMU_PCI_TRUE$]) +m4trace:configure.ac:968: -1- m4_pattern_allow([^COND_GRUB_EMU_PCI_FALSE$]) +m4trace:configure.ac:968: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_PCI_TRUE]) +m4trace:configure.ac:968: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_PCI_FALSE]) +m4trace:configure.ac:969: -1- AM_CONDITIONAL([COND_GRUB_MKFONT], [test x$enable_grub_mkfont = xyes]) +m4trace:configure.ac:969: -1- m4_pattern_allow([^COND_GRUB_MKFONT_TRUE$]) +m4trace:configure.ac:969: -1- m4_pattern_allow([^COND_GRUB_MKFONT_FALSE$]) +m4trace:configure.ac:969: -1- _AM_SUBST_NOTMAKE([COND_GRUB_MKFONT_TRUE]) +m4trace:configure.ac:969: -1- _AM_SUBST_NOTMAKE([COND_GRUB_MKFONT_FALSE]) +m4trace:configure.ac:970: -1- AM_CONDITIONAL([COND_HAVE_FONT_SOURCE], [test x$FONT_SOURCE != x]) +m4trace:configure.ac:970: -1- m4_pattern_allow([^COND_HAVE_FONT_SOURCE_TRUE$]) +m4trace:configure.ac:970: -1- m4_pattern_allow([^COND_HAVE_FONT_SOURCE_FALSE$]) +m4trace:configure.ac:970: -1- _AM_SUBST_NOTMAKE([COND_HAVE_FONT_SOURCE_TRUE]) +m4trace:configure.ac:970: -1- _AM_SUBST_NOTMAKE([COND_HAVE_FONT_SOURCE_FALSE]) +m4trace:configure.ac:971: -1- AM_CONDITIONAL([COND_GRUB_PE2ELF], [test x$TARGET_OBJ2ELF != x]) +m4trace:configure.ac:971: -1- m4_pattern_allow([^COND_GRUB_PE2ELF_TRUE$]) +m4trace:configure.ac:971: -1- m4_pattern_allow([^COND_GRUB_PE2ELF_FALSE$]) +m4trace:configure.ac:971: -1- _AM_SUBST_NOTMAKE([COND_GRUB_PE2ELF_TRUE]) +m4trace:configure.ac:971: -1- _AM_SUBST_NOTMAKE([COND_GRUB_PE2ELF_FALSE]) +m4trace:configure.ac:972: -1- AM_CONDITIONAL([COND_APPLE_CC], [test x$TARGET_APPLE_CC = x1]) +m4trace:configure.ac:972: -1- m4_pattern_allow([^COND_APPLE_CC_TRUE$]) +m4trace:configure.ac:972: -1- m4_pattern_allow([^COND_APPLE_CC_FALSE$]) +m4trace:configure.ac:972: -1- _AM_SUBST_NOTMAKE([COND_APPLE_CC_TRUE]) +m4trace:configure.ac:972: -1- _AM_SUBST_NOTMAKE([COND_APPLE_CC_FALSE]) +m4trace:configure.ac:973: -1- AM_CONDITIONAL([COND_ENABLE_EFIEMU], [test x$enable_efiemu = xyes]) +m4trace:configure.ac:973: -1- m4_pattern_allow([^COND_ENABLE_EFIEMU_TRUE$]) +m4trace:configure.ac:973: -1- m4_pattern_allow([^COND_ENABLE_EFIEMU_FALSE$]) +m4trace:configure.ac:973: -1- _AM_SUBST_NOTMAKE([COND_ENABLE_EFIEMU_TRUE]) +m4trace:configure.ac:973: -1- _AM_SUBST_NOTMAKE([COND_ENABLE_EFIEMU_FALSE]) +m4trace:configure.ac:975: -1- AM_CONDITIONAL([COND_HAVE_ASM_USCORE], [test x$HAVE_ASM_USCORE = x1]) +m4trace:configure.ac:975: -1- m4_pattern_allow([^COND_HAVE_ASM_USCORE_TRUE$]) +m4trace:configure.ac:975: -1- m4_pattern_allow([^COND_HAVE_ASM_USCORE_FALSE$]) +m4trace:configure.ac:975: -1- _AM_SUBST_NOTMAKE([COND_HAVE_ASM_USCORE_TRUE]) +m4trace:configure.ac:975: -1- _AM_SUBST_NOTMAKE([COND_HAVE_ASM_USCORE_FALSE]) +m4trace:configure.ac:976: -1- AM_CONDITIONAL([COND_CYGWIN], [test x$host_os = xcygwin]) +m4trace:configure.ac:976: -1- m4_pattern_allow([^COND_CYGWIN_TRUE$]) +m4trace:configure.ac:976: -1- m4_pattern_allow([^COND_CYGWIN_FALSE$]) +m4trace:configure.ac:976: -1- _AM_SUBST_NOTMAKE([COND_CYGWIN_TRUE]) +m4trace:configure.ac:976: -1- _AM_SUBST_NOTMAKE([COND_CYGWIN_FALSE]) +m4trace:configure.ac:979: -1- grub_CHECK_LINK_DIR +m4trace:configure.ac:1004: -1- m4_pattern_allow([^LIB@&t@OBJS$]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^LTLIBOBJS$]) +m4trace:configure.ac:1004: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) +m4trace:configure.ac:1004: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) +m4trace:configure.ac:1004: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gl_LIBOBJS$]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gltests_LIBOBJS$]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gltests_LTLIBOBJS$]) +m4trace:configure.ac:1004: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) +m4trace:configure.ac:1004: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1 new file mode 100644 index 0000000..c004e5e --- /dev/null +++ b/autom4te.cache/traces.1 @@ -0,0 +1,3860 @@ +m4trace:aclocal.m4:1009: -1- m4_include([m4/00gnulib.m4]) +m4trace:aclocal.m4:1010: -1- m4_include([m4/alloca.m4]) +m4trace:aclocal.m4:1011: -1- m4_include([m4/argp.m4]) +m4trace:aclocal.m4:1012: -1- m4_include([m4/asm-underscore.m4]) +m4trace:aclocal.m4:1013: -1- m4_include([m4/btowc.m4]) +m4trace:aclocal.m4:1014: -1- m4_include([m4/codeset.m4]) +m4trace:aclocal.m4:1015: -1- m4_include([m4/dirname.m4]) +m4trace:aclocal.m4:1016: -1- m4_include([m4/dos.m4]) +m4trace:aclocal.m4:1017: -1- m4_include([m4/double-slash-root.m4]) +m4trace:aclocal.m4:1018: -1- m4_include([m4/errno_h.m4]) +m4trace:aclocal.m4:1019: -1- m4_include([m4/error.m4]) +m4trace:aclocal.m4:1020: -1- m4_include([m4/extensions.m4]) +m4trace:aclocal.m4:1021: -1- m4_include([m4/fcntl-o.m4]) +m4trace:aclocal.m4:1022: -1- m4_include([m4/float_h.m4]) +m4trace:aclocal.m4:1023: -1- m4_include([m4/fnmatch.m4]) +m4trace:aclocal.m4:1024: -1- m4_include([m4/getdelim.m4]) +m4trace:aclocal.m4:1025: -1- m4_include([m4/getline.m4]) +m4trace:aclocal.m4:1026: -1- m4_include([m4/getopt.m4]) +m4trace:aclocal.m4:1027: -1- m4_include([m4/gettext.m4]) +m4trace:aclocal.m4:1028: -1- m4_include([m4/glibc21.m4]) +m4trace:aclocal.m4:1029: -1- m4_include([m4/gnulib-common.m4]) +m4trace:aclocal.m4:1030: -1- m4_include([m4/gnulib-comp.m4]) +m4trace:aclocal.m4:1031: -1- m4_include([m4/iconv.m4]) +m4trace:aclocal.m4:1032: -1- m4_include([m4/include_next.m4]) +m4trace:aclocal.m4:1033: -1- m4_include([m4/intlmacosx.m4]) +m4trace:aclocal.m4:1034: -1- m4_include([m4/intmax_t.m4]) +m4trace:aclocal.m4:1035: -1- m4_include([m4/inttypes_h.m4]) +m4trace:aclocal.m4:1036: -1- m4_include([m4/langinfo_h.m4]) +m4trace:aclocal.m4:1037: -1- m4_include([m4/lib-ld.m4]) +m4trace:aclocal.m4:1038: -1- m4_include([m4/lib-link.m4]) +m4trace:aclocal.m4:1039: -1- m4_include([m4/lib-prefix.m4]) +m4trace:aclocal.m4:1040: -1- m4_include([m4/localcharset.m4]) +m4trace:aclocal.m4:1041: -1- m4_include([m4/locale-fr.m4]) +m4trace:aclocal.m4:1042: -1- m4_include([m4/locale-ja.m4]) +m4trace:aclocal.m4:1043: -1- m4_include([m4/locale-zh.m4]) +m4trace:aclocal.m4:1044: -1- m4_include([m4/longlong.m4]) +m4trace:aclocal.m4:1045: -1- m4_include([m4/malloc.m4]) +m4trace:aclocal.m4:1046: -1- m4_include([m4/mbrtowc.m4]) +m4trace:aclocal.m4:1047: -1- m4_include([m4/mbsinit.m4]) +m4trace:aclocal.m4:1048: -1- m4_include([m4/mbsrtowcs.m4]) +m4trace:aclocal.m4:1049: -1- m4_include([m4/mbstate_t.m4]) +m4trace:aclocal.m4:1050: -1- m4_include([m4/memchr.m4]) +m4trace:aclocal.m4:1051: -1- m4_include([m4/mempcpy.m4]) +m4trace:aclocal.m4:1052: -1- m4_include([m4/mmap-anon.m4]) +m4trace:aclocal.m4:1053: -1- m4_include([m4/multiarch.m4]) +m4trace:aclocal.m4:1054: -1- m4_include([m4/nl_langinfo.m4]) +m4trace:aclocal.m4:1055: -1- m4_include([m4/nls.m4]) +m4trace:aclocal.m4:1056: -1- m4_include([m4/po.m4]) +m4trace:aclocal.m4:1057: -1- m4_include([m4/printf.m4]) +m4trace:aclocal.m4:1058: -1- m4_include([m4/progtest.m4]) +m4trace:aclocal.m4:1059: -1- m4_include([m4/rawmemchr.m4]) +m4trace:aclocal.m4:1060: -1- m4_include([m4/realloc.m4]) +m4trace:aclocal.m4:1061: -1- m4_include([m4/regex.m4]) +m4trace:aclocal.m4:1062: -1- m4_include([m4/size_max.m4]) +m4trace:aclocal.m4:1063: -1- m4_include([m4/sleep.m4]) +m4trace:aclocal.m4:1064: -1- m4_include([m4/ssize_t.m4]) +m4trace:aclocal.m4:1065: -1- m4_include([m4/stdbool.m4]) +m4trace:aclocal.m4:1066: -1- m4_include([m4/stddef_h.m4]) +m4trace:aclocal.m4:1067: -1- m4_include([m4/stdint.m4]) +m4trace:aclocal.m4:1068: -1- m4_include([m4/stdint_h.m4]) +m4trace:aclocal.m4:1069: -1- m4_include([m4/stdio_h.m4]) +m4trace:aclocal.m4:1070: -1- m4_include([m4/stdlib_h.m4]) +m4trace:aclocal.m4:1071: -1- m4_include([m4/strcase.m4]) +m4trace:aclocal.m4:1072: -1- m4_include([m4/strchrnul.m4]) +m4trace:aclocal.m4:1073: -1- m4_include([m4/strerror.m4]) +m4trace:aclocal.m4:1074: -1- m4_include([m4/string_h.m4]) +m4trace:aclocal.m4:1075: -1- m4_include([m4/strings_h.m4]) +m4trace:aclocal.m4:1076: -1- m4_include([m4/strndup.m4]) +m4trace:aclocal.m4:1077: -1- m4_include([m4/strnlen.m4]) +m4trace:aclocal.m4:1078: -1- m4_include([m4/sys_wait_h.m4]) +m4trace:aclocal.m4:1079: -1- m4_include([m4/sysexits.m4]) +m4trace:aclocal.m4:1080: -1- m4_include([m4/unistd_h.m4]) +m4trace:aclocal.m4:1081: -1- m4_include([m4/vasnprintf.m4]) +m4trace:aclocal.m4:1082: -1- m4_include([m4/vsnprintf.m4]) +m4trace:aclocal.m4:1083: -1- m4_include([m4/warn-on-use.m4]) +m4trace:aclocal.m4:1084: -1- m4_include([m4/wchar_h.m4]) +m4trace:aclocal.m4:1085: -1- m4_include([m4/wchar_t.m4]) +m4trace:aclocal.m4:1086: -1- m4_include([m4/wcrtomb.m4]) +m4trace:aclocal.m4:1087: -1- m4_include([m4/wctype_h.m4]) +m4trace:aclocal.m4:1088: -1- m4_include([m4/wint_t.m4]) +m4trace:aclocal.m4:1089: -1- m4_include([m4/xsize.m4]) +m4trace:aclocal.m4:1090: -1- m4_include([acinclude.m4]) +m4trace:configure.ac:35: -1- AC_INIT([GRUB], [1.99], [bug-grub@gnu.org]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^_?A[CHUM]_]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([_AC_]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) +m4trace:configure.ac:35: -1- m4_pattern_allow([^AS_FLAGS$]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^_?m4_]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^dnl$]) +m4trace:configure.ac:35: -1- m4_pattern_forbid([^_?AS_]) +m4trace:configure.ac:35: -1- AC_SUBST([SHELL]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([SHELL]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^SHELL$]) +m4trace:configure.ac:35: -1- AC_SUBST([PATH_SEPARATOR]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PATH_SEPARATOR$]) +m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE_NAME]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_NAME$]) +m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) +m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_VERSION$]) +m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE_STRING]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_STRING$]) +m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) +m4trace:configure.ac:35: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([PACKAGE_URL]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_URL$]) +m4trace:configure.ac:35: -1- AC_SUBST([exec_prefix], [NONE]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([exec_prefix]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^exec_prefix$]) +m4trace:configure.ac:35: -1- AC_SUBST([prefix], [NONE]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([prefix]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^prefix$]) +m4trace:configure.ac:35: -1- AC_SUBST([program_transform_name], [s,x,x,]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([program_transform_name]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^program_transform_name$]) +m4trace:configure.ac:35: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([bindir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^bindir$]) +m4trace:configure.ac:35: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([sbindir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^sbindir$]) +m4trace:configure.ac:35: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([libexecdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^libexecdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([datarootdir], ['${prefix}/share']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([datarootdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^datarootdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([datadir], ['${datarootdir}']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([datadir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^datadir$]) +m4trace:configure.ac:35: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([sysconfdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^sysconfdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([sharedstatedir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^sharedstatedir$]) +m4trace:configure.ac:35: -1- AC_SUBST([localstatedir], ['${prefix}/var']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([localstatedir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^localstatedir$]) +m4trace:configure.ac:35: -1- AC_SUBST([includedir], ['${prefix}/include']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([includedir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^includedir$]) +m4trace:configure.ac:35: -1- AC_SUBST([oldincludedir], ['/usr/include']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([oldincludedir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^oldincludedir$]) +m4trace:configure.ac:35: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], + ['${datarootdir}/doc/${PACKAGE_TARNAME}'], + ['${datarootdir}/doc/${PACKAGE}'])]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([docdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^docdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([infodir], ['${datarootdir}/info']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([infodir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^infodir$]) +m4trace:configure.ac:35: -1- AC_SUBST([htmldir], ['${docdir}']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([htmldir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^htmldir$]) +m4trace:configure.ac:35: -1- AC_SUBST([dvidir], ['${docdir}']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([dvidir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^dvidir$]) +m4trace:configure.ac:35: -1- AC_SUBST([pdfdir], ['${docdir}']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([pdfdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^pdfdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([psdir], ['${docdir}']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([psdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^psdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([libdir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^libdir$]) +m4trace:configure.ac:35: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([localedir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^localedir$]) +m4trace:configure.ac:35: -1- AC_SUBST([mandir], ['${datarootdir}/man']) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([mandir]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^mandir$]) +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_NAME$]) +m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ +@%:@undef PACKAGE_NAME]) +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) +m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ +@%:@undef PACKAGE_TARNAME]) +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_VERSION$]) +m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ +@%:@undef PACKAGE_VERSION]) +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_STRING$]) +m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ +@%:@undef PACKAGE_STRING]) +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) +m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ +@%:@undef PACKAGE_BUGREPORT]) +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^PACKAGE_URL$]) +m4trace:configure.ac:35: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ +@%:@undef PACKAGE_URL]) +m4trace:configure.ac:35: -1- AC_SUBST([DEFS]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([DEFS]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^DEFS$]) +m4trace:configure.ac:35: -1- AC_SUBST([ECHO_C]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([ECHO_C]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^ECHO_C$]) +m4trace:configure.ac:35: -1- AC_SUBST([ECHO_N]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([ECHO_N]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^ECHO_N$]) +m4trace:configure.ac:35: -1- AC_SUBST([ECHO_T]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([ECHO_T]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^ECHO_T$]) +m4trace:configure.ac:35: -1- AC_SUBST([LIBS]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([LIBS]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^LIBS$]) +m4trace:configure.ac:35: -1- AC_SUBST([build_alias]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_alias]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_alias$]) +m4trace:configure.ac:35: -1- AC_SUBST([host_alias]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_alias]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_alias$]) +m4trace:configure.ac:35: -1- AC_SUBST([target_alias]) +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([target_alias]) +m4trace:configure.ac:35: -1- m4_pattern_allow([^target_alias$]) +m4trace:configure.ac:37: -1- AC_CONFIG_AUX_DIR([build-aux]) +m4trace:configure.ac:43: -1- AC_CANONICAL_HOST +m4trace:configure.ac:43: -1- AC_CANONICAL_BUILD +m4trace:configure.ac:43: -1- AC_REQUIRE_AUX_FILE([config.sub]) +m4trace:configure.ac:43: -1- AC_REQUIRE_AUX_FILE([config.guess]) +m4trace:configure.ac:43: -1- AC_SUBST([build], [$ac_cv_build]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([build]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build$]) +m4trace:configure.ac:43: -1- AC_SUBST([build_cpu], [$[1]]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([build_cpu]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build_cpu$]) +m4trace:configure.ac:43: -1- AC_SUBST([build_vendor], [$[2]]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([build_vendor]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build_vendor$]) +m4trace:configure.ac:43: -1- AC_SUBST([build_os]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([build_os]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^build_os$]) +m4trace:configure.ac:43: -1- AC_SUBST([host], [$ac_cv_host]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([host]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host$]) +m4trace:configure.ac:43: -1- AC_SUBST([host_cpu], [$[1]]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([host_cpu]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host_cpu$]) +m4trace:configure.ac:43: -1- AC_SUBST([host_vendor], [$[2]]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([host_vendor]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host_vendor$]) +m4trace:configure.ac:43: -1- AC_SUBST([host_os]) +m4trace:configure.ac:43: -1- AC_SUBST_TRACE([host_os]) +m4trace:configure.ac:43: -1- m4_pattern_allow([^host_os$]) +m4trace:configure.ac:44: -1- AC_CANONICAL_TARGET +m4trace:configure.ac:44: -1- AC_SUBST([target], [$ac_cv_target]) +m4trace:configure.ac:44: -1- AC_SUBST_TRACE([target]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target$]) +m4trace:configure.ac:44: -1- AC_SUBST([target_cpu], [$[1]]) +m4trace:configure.ac:44: -1- AC_SUBST_TRACE([target_cpu]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target_cpu$]) +m4trace:configure.ac:44: -1- AC_SUBST([target_vendor], [$[2]]) +m4trace:configure.ac:44: -1- AC_SUBST_TRACE([target_vendor]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target_vendor$]) +m4trace:configure.ac:44: -1- AC_SUBST([target_os]) +m4trace:configure.ac:44: -1- AC_SUBST_TRACE([target_os]) +m4trace:configure.ac:44: -1- m4_pattern_allow([^target_os$]) +m4trace:configure.ac:46: -1- AM_INIT_AUTOMAKE([]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) +m4trace:configure.ac:46: -1- AM_AUTOMAKE_VERSION([1.11.1]) +m4trace:configure.ac:46: -1- AC_REQUIRE_AUX_FILE([install-sh]) +m4trace:configure.ac:46: -1- AC_SUBST([INSTALL_PROGRAM]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) +m4trace:configure.ac:46: -1- AC_SUBST([INSTALL_SCRIPT]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) +m4trace:configure.ac:46: -1- AC_SUBST([INSTALL_DATA]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([INSTALL_DATA]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_DATA$]) +m4trace:configure.ac:46: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([am__isrc]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__isrc$]) +m4trace:configure.ac:46: -1- _AM_SUBST_NOTMAKE([am__isrc]) +m4trace:configure.ac:46: -1- AC_SUBST([CYGPATH_W]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([CYGPATH_W]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^CYGPATH_W$]) +m4trace:configure.ac:46: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([PACKAGE]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^PACKAGE$]) +m4trace:configure.ac:46: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([VERSION]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^VERSION$]) +m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^PACKAGE$]) +m4trace:configure.ac:46: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ +@%:@undef PACKAGE]) +m4trace:configure.ac:46: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^VERSION$]) +m4trace:configure.ac:46: -1- AH_OUTPUT([VERSION], [/* Version number of package */ +@%:@undef VERSION]) +m4trace:configure.ac:46: -1- AC_REQUIRE_AUX_FILE([missing]) +m4trace:configure.ac:46: -1- AC_SUBST([ACLOCAL]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([ACLOCAL]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^ACLOCAL$]) +m4trace:configure.ac:46: -1- AC_SUBST([AUTOCONF]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([AUTOCONF]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AUTOCONF$]) +m4trace:configure.ac:46: -1- AC_SUBST([AUTOMAKE]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([AUTOMAKE]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AUTOMAKE$]) +m4trace:configure.ac:46: -1- AC_SUBST([AUTOHEADER]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([AUTOHEADER]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AUTOHEADER$]) +m4trace:configure.ac:46: -1- AC_SUBST([MAKEINFO]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([MAKEINFO]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^MAKEINFO$]) +m4trace:configure.ac:46: -1- AC_SUBST([install_sh]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([install_sh]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^install_sh$]) +m4trace:configure.ac:46: -1- AC_SUBST([STRIP]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([STRIP]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^STRIP$]) +m4trace:configure.ac:46: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) +m4trace:configure.ac:46: -1- AC_REQUIRE_AUX_FILE([install-sh]) +m4trace:configure.ac:46: -1- AC_SUBST([MKDIR_P]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([MKDIR_P]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^MKDIR_P$]) +m4trace:configure.ac:46: -1- AC_SUBST([MKDIR_P]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([MKDIR_P]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^MKDIR_P$]) +m4trace:configure.ac:46: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([mkdir_p]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^mkdir_p$]) +m4trace:configure.ac:46: -1- AC_SUBST([AWK]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([AWK]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AWK$]) +m4trace:configure.ac:46: -1- AC_SUBST([SET_MAKE]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([SET_MAKE]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^SET_MAKE$]) +m4trace:configure.ac:46: -1- AC_SUBST([am__leading_dot]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([am__leading_dot]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__leading_dot$]) +m4trace:configure.ac:46: -1- AC_SUBST([AMTAR]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([AMTAR]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^AMTAR$]) +m4trace:configure.ac:46: -1- AC_SUBST([am__tar]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([am__tar]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__tar$]) +m4trace:configure.ac:46: -1- AC_SUBST([am__untar]) +m4trace:configure.ac:46: -1- AC_SUBST_TRACE([am__untar]) +m4trace:configure.ac:46: -1- m4_pattern_allow([^am__untar$]) +m4trace:configure.ac:49: -1- AC_CONFIG_HEADERS([config-util.h]) +m4trace:configure.ac:171: -1- AC_SUBST([host_cpu]) +m4trace:configure.ac:171: -1- AC_SUBST_TRACE([host_cpu]) +m4trace:configure.ac:171: -1- m4_pattern_allow([^host_cpu$]) +m4trace:configure.ac:172: -1- AC_SUBST([host_os]) +m4trace:configure.ac:172: -1- AC_SUBST_TRACE([host_os]) +m4trace:configure.ac:172: -1- m4_pattern_allow([^host_os$]) +m4trace:configure.ac:173: -1- AC_SUBST([host_kernel]) +m4trace:configure.ac:173: -1- AC_SUBST_TRACE([host_kernel]) +m4trace:configure.ac:173: -1- m4_pattern_allow([^host_kernel$]) +m4trace:configure.ac:175: -1- AC_SUBST([target_cpu]) +m4trace:configure.ac:175: -1- AC_SUBST_TRACE([target_cpu]) +m4trace:configure.ac:175: -1- m4_pattern_allow([^target_cpu$]) +m4trace:configure.ac:176: -1- AC_SUBST([platform]) +m4trace:configure.ac:176: -1- AC_SUBST_TRACE([platform]) +m4trace:configure.ac:176: -1- m4_pattern_allow([^platform$]) +m4trace:configure.ac:186: -1- AC_SUBST([bootdirname]) +m4trace:configure.ac:186: -1- AC_SUBST_TRACE([bootdirname]) +m4trace:configure.ac:186: -1- m4_pattern_allow([^bootdirname$]) +m4trace:configure.ac:187: -1- AC_DEFINE_TRACE_LITERAL([GRUB_BOOT_DIR_NAME]) +m4trace:configure.ac:187: -1- m4_pattern_allow([^GRUB_BOOT_DIR_NAME$]) +m4trace:configure.ac:187: -1- AH_OUTPUT([GRUB_BOOT_DIR_NAME], [/* Default boot directory name" */ +@%:@undef GRUB_BOOT_DIR_NAME]) +m4trace:configure.ac:191: -1- AC_SUBST([grubdirname]) +m4trace:configure.ac:191: -1- AC_SUBST_TRACE([grubdirname]) +m4trace:configure.ac:191: -1- m4_pattern_allow([^grubdirname$]) +m4trace:configure.ac:192: -1- AC_DEFINE_TRACE_LITERAL([GRUB_DIR_NAME]) +m4trace:configure.ac:192: -1- m4_pattern_allow([^GRUB_DIR_NAME$]) +m4trace:configure.ac:192: -1- AH_OUTPUT([GRUB_DIR_NAME], [/* Default grub directory name */ +@%:@undef GRUB_DIR_NAME]) +m4trace:configure.ac:201: -1- AC_SUBST([CMP]) +m4trace:configure.ac:201: -1- AC_SUBST_TRACE([CMP]) +m4trace:configure.ac:201: -1- m4_pattern_allow([^CMP$]) +m4trace:configure.ac:206: -1- AC_SUBST([YACC]) +m4trace:configure.ac:206: -1- AC_SUBST_TRACE([YACC]) +m4trace:configure.ac:206: -1- m4_pattern_allow([^YACC$]) +m4trace:configure.ac:226: -1- AC_SUBST([FONT_SOURCE]) +m4trace:configure.ac:226: -1- AC_SUBST_TRACE([FONT_SOURCE]) +m4trace:configure.ac:226: -1- m4_pattern_allow([^FONT_SOURCE$]) +m4trace:configure.ac:228: -1- AC_SUBST([RANLIB]) +m4trace:configure.ac:228: -1- AC_SUBST_TRACE([RANLIB]) +m4trace:configure.ac:228: -1- m4_pattern_allow([^RANLIB$]) +m4trace:configure.ac:230: -1- AC_SUBST([AWK]) +m4trace:configure.ac:230: -1- AC_SUBST_TRACE([AWK]) +m4trace:configure.ac:230: -1- m4_pattern_allow([^AWK$]) +m4trace:configure.ac:231: -1- AC_SUBST([LEX]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([LEX]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LEX$]) +m4trace:configure.ac:231: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$]) +m4trace:configure.ac:231: -1- AC_SUBST([CC]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- AC_SUBST([CFLAGS]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CFLAGS]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CFLAGS$]) +m4trace:configure.ac:231: -1- AC_SUBST([LDFLAGS]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([LDFLAGS]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LDFLAGS$]) +m4trace:configure.ac:231: -1- AC_SUBST([LIBS]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([LIBS]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LIBS$]) +m4trace:configure.ac:231: -1- AC_SUBST([CPPFLAGS]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CPPFLAGS]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CPPFLAGS$]) +m4trace:configure.ac:231: -1- AC_SUBST([CC]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- AC_SUBST([CC]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- AC_SUBST([CC]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- AC_SUBST([CC]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:231: -1- AC_SUBST([ac_ct_CC]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([ac_ct_CC]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^ac_ct_CC$]) +m4trace:configure.ac:231: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([EXEEXT]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^EXEEXT$]) +m4trace:configure.ac:231: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([OBJEXT]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^OBJEXT$]) +m4trace:configure.ac:231: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([DEPDIR]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^DEPDIR$]) +m4trace:configure.ac:231: -1- AC_SUBST([am__include]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([am__include]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__include$]) +m4trace:configure.ac:231: -1- AC_SUBST([am__quote]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([am__quote]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__quote$]) +m4trace:configure.ac:231: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +m4trace:configure.ac:231: -1- AC_SUBST([AMDEP_TRUE]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([AMDEP_TRUE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^AMDEP_TRUE$]) +m4trace:configure.ac:231: -1- AC_SUBST([AMDEP_FALSE]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([AMDEP_FALSE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^AMDEP_FALSE$]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) +m4trace:configure.ac:231: -1- AC_SUBST([AMDEPBACKSLASH]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) +m4trace:configure.ac:231: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([CCDEPMODE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^CCDEPMODE$]) +m4trace:configure.ac:231: -1- AM_CONDITIONAL([am__fastdepCC], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) +m4trace:configure.ac:231: -1- AC_SUBST([am__fastdepCC_TRUE]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) +m4trace:configure.ac:231: -1- AC_SUBST([am__fastdepCC_FALSE]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) +m4trace:configure.ac:231: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) +m4trace:configure.ac:231: -1- AC_SUBST([LEXLIB]) +m4trace:configure.ac:231: -1- AC_SUBST_TRACE([LEXLIB]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^LEXLIB$]) +m4trace:configure.ac:231: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER]) +m4trace:configure.ac:231: -1- m4_pattern_allow([^YYTEXT_POINTER$]) +m4trace:configure.ac:231: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a + `char@<:@@:>@\'. */ +@%:@undef YYTEXT_POINTER]) +m4trace:configure.ac:232: -1- AC_SUBST([YACC]) +m4trace:configure.ac:232: -1- AC_SUBST_TRACE([YACC]) +m4trace:configure.ac:232: -1- m4_pattern_allow([^YACC$]) +m4trace:configure.ac:232: -1- AC_SUBST([YACC]) +m4trace:configure.ac:232: -1- AC_SUBST_TRACE([YACC]) +m4trace:configure.ac:232: -1- m4_pattern_allow([^YACC$]) +m4trace:configure.ac:232: -1- AC_SUBST([YFLAGS]) +m4trace:configure.ac:232: -1- AC_SUBST_TRACE([YFLAGS]) +m4trace:configure.ac:232: -1- m4_pattern_allow([^YFLAGS$]) +m4trace:configure.ac:233: -1- AC_SUBST([SET_MAKE]) +m4trace:configure.ac:233: -1- AC_SUBST_TRACE([SET_MAKE]) +m4trace:configure.ac:233: -1- m4_pattern_allow([^SET_MAKE$]) +m4trace:configure.ac:235: -1- AC_SUBST([LN_S], [$as_ln_s]) +m4trace:configure.ac:235: -1- AC_SUBST_TRACE([LN_S]) +m4trace:configure.ac:235: -1- m4_pattern_allow([^LN_S$]) +m4trace:configure.ac:249: -1- AC_SUBST([MAKEINFO]) +m4trace:configure.ac:249: -1- AC_SUBST_TRACE([MAKEINFO]) +m4trace:configure.ac:249: -1- m4_pattern_allow([^MAKEINFO$]) +m4trace:configure.ac:255: -1- AC_SUBST([CC]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- AC_SUBST([CFLAGS]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CFLAGS]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CFLAGS$]) +m4trace:configure.ac:255: -1- AC_SUBST([LDFLAGS]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([LDFLAGS]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^LDFLAGS$]) +m4trace:configure.ac:255: -1- AC_SUBST([LIBS]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([LIBS]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^LIBS$]) +m4trace:configure.ac:255: -1- AC_SUBST([CPPFLAGS]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CPPFLAGS]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CPPFLAGS$]) +m4trace:configure.ac:255: -1- AC_SUBST([CC]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- AC_SUBST([CC]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- AC_SUBST([CC]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- AC_SUBST([CC]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CC$]) +m4trace:configure.ac:255: -1- AC_SUBST([ac_ct_CC]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([ac_ct_CC]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^ac_ct_CC$]) +m4trace:configure.ac:255: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CCDEPMODE]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^CCDEPMODE$]) +m4trace:configure.ac:255: -1- AM_CONDITIONAL([am__fastdepCC], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) +m4trace:configure.ac:255: -1- AC_SUBST([am__fastdepCC_TRUE]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) +m4trace:configure.ac:255: -1- AC_SUBST([am__fastdepCC_FALSE]) +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) +m4trace:configure.ac:255: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) +m4trace:configure.ac:256: -1- m4_pattern_forbid([^gl_[A-Z]]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^gl_ES$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^gl_LIBOBJS$]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) +m4trace:configure.ac:256: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. +You should run autoupdate.], [../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from... +m4/gnulib-comp.m4:22: gl_EARLY is expanded from... +configure.ac:256: the top level]) +m4trace:configure.ac:256: -1- AC_SUBST([CPP]) +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([CPP]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^CPP$]) +m4trace:configure.ac:256: -1- AC_SUBST([CPPFLAGS]) +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([CPPFLAGS]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^CPPFLAGS$]) +m4trace:configure.ac:256: -1- AC_SUBST([CPP]) +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([CPP]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^CPP$]) +m4trace:configure.ac:256: -1- AC_SUBST([GREP]) +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([GREP]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^GREP$]) +m4trace:configure.ac:256: -1- AC_SUBST([EGREP]) +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([EGREP]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^EGREP$]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^STDC_HEADERS$]) +m4trace:configure.ac:256: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ +@%:@undef STDC_HEADERS]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_TYPES_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_STAT_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDLIB_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STRING_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_MEMORY_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STRINGS_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_INTTYPES_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDINT_H]) +m4trace:configure.ac:256: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_UNISTD_H]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_POSIX_SOURCE$]) +m4trace:configure.ac:256: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */ +@%:@undef _POSIX_SOURCE]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) +m4trace:configure.ac:256: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +@%:@undef _POSIX_1_SOURCE]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_MINIX]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_MINIX$]) +m4trace:configure.ac:256: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */ +@%:@undef _MINIX]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_XOPEN_SOURCE]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) +m4trace:configure.ac:256: -1- AH_OUTPUT([_XOPEN_SOURCE], [/* Define to 500 only on HP-UX. */ +@%:@undef _XOPEN_SOURCE]) +m4trace:configure.ac:256: -1- AH_OUTPUT([__EXTENSIONS__], [/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^__EXTENSIONS__$]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_ALL_SOURCE$]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_GNU_SOURCE$]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) +m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE]) +m4trace:configure.ac:256: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) +m4trace:configure.ac:257: -1- AM_PROG_CC_C_O +m4trace:configure.ac:257: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O]) +m4trace:configure.ac:257: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$]) +m4trace:configure.ac:257: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */ +@%:@undef NO_MINUS_C_MINUS_O]) +m4trace:configure.ac:257: -1- AC_REQUIRE_AUX_FILE([compile]) +m4trace:configure.ac:258: -1- AC_SUBST([CCAS]) +m4trace:configure.ac:258: -1- AC_SUBST_TRACE([CCAS]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^CCAS$]) +m4trace:configure.ac:258: -1- AC_SUBST([CCASFLAGS]) +m4trace:configure.ac:258: -1- AC_SUBST_TRACE([CCASFLAGS]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^CCASFLAGS$]) +m4trace:configure.ac:258: -1- AC_SUBST([CCASDEPMODE], [depmode=$am_cv_CCAS_dependencies_compiler_type]) +m4trace:configure.ac:258: -1- AC_SUBST_TRACE([CCASDEPMODE]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^CCASDEPMODE$]) +m4trace:configure.ac:258: -1- AM_CONDITIONAL([am__fastdepCCAS], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3]) +m4trace:configure.ac:258: -1- AC_SUBST([am__fastdepCCAS_TRUE]) +m4trace:configure.ac:258: -1- AC_SUBST_TRACE([am__fastdepCCAS_TRUE]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^am__fastdepCCAS_TRUE$]) +m4trace:configure.ac:258: -1- AC_SUBST([am__fastdepCCAS_FALSE]) +m4trace:configure.ac:258: -1- AC_SUBST_TRACE([am__fastdepCCAS_FALSE]) +m4trace:configure.ac:258: -1- m4_pattern_allow([^am__fastdepCCAS_FALSE$]) +m4trace:configure.ac:258: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_TRUE]) +m4trace:configure.ac:258: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_FALSE]) +m4trace:configure.ac:263: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. +You should run autoupdate.], [../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from... +configure.ac:263: the top level]) +m4trace:configure.ac:264: -1- AM_GNU_GETTEXT([external]) +m4trace:configure.ac:264: -1- AM_NLS +m4trace:configure.ac:264: -1- AC_SUBST([USE_NLS]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([USE_NLS]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^USE_NLS$]) +m4trace:configure.ac:264: -1- AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([GETTEXT_MACRO_VERSION]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$]) +m4trace:configure.ac:264: -1- AC_SUBST([MSGFMT]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([MSGFMT]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^MSGFMT$]) +m4trace:configure.ac:264: -1- AC_SUBST([GMSGFMT]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([GMSGFMT]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^GMSGFMT$]) +m4trace:configure.ac:264: -1- AC_SUBST([MSGFMT_015]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([MSGFMT_015]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^MSGFMT_015$]) +m4trace:configure.ac:264: -1- AC_SUBST([GMSGFMT_015]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([GMSGFMT_015]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^GMSGFMT_015$]) +m4trace:configure.ac:264: -1- AC_SUBST([XGETTEXT]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([XGETTEXT]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^XGETTEXT$]) +m4trace:configure.ac:264: -1- AC_SUBST([XGETTEXT_015]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([XGETTEXT_015]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^XGETTEXT_015$]) +m4trace:configure.ac:264: -1- AC_SUBST([MSGMERGE]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([MSGMERGE]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^MSGMERGE$]) +m4trace:configure.ac:264: -1- AC_SUBST([localedir]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([localedir]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^localedir$]) +m4trace:configure.ac:264: -1- AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([XGETTEXT_EXTRA_OPTIONS]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$]) +m4trace:configure.ac:264: -1- AC_REQUIRE_AUX_FILE([config.rpath]) +m4trace:configure.ac:264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFPREFERENCESCOPYAPPVALUE]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) +m4trace:configure.ac:264: -1- AH_OUTPUT([HAVE_CFPREFERENCESCOPYAPPVALUE], [/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +@%:@undef HAVE_CFPREFERENCESCOPYAPPVALUE]) +m4trace:configure.ac:264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFLOCALECOPYCURRENT]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) +m4trace:configure.ac:264: -1- AH_OUTPUT([HAVE_CFLOCALECOPYCURRENT], [/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +@%:@undef HAVE_CFLOCALECOPYCURRENT]) +m4trace:configure.ac:264: -1- AC_SUBST([INTL_MACOSX_LIBS]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([INTL_MACOSX_LIBS]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) +m4trace:configure.ac:264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_ICONV$]) +m4trace:configure.ac:264: -1- AH_OUTPUT([HAVE_ICONV], [/* Define if you have the iconv() function and it works. */ +@%:@undef HAVE_ICONV]) +m4trace:configure.ac:264: -1- AC_SUBST([LIBICONV]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([LIBICONV]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LIBICONV$]) +m4trace:configure.ac:264: -1- AC_SUBST([LTLIBICONV]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([LTLIBICONV]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LTLIBICONV$]) +m4trace:configure.ac:264: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^ENABLE_NLS$]) +m4trace:configure.ac:264: -1- AH_OUTPUT([ENABLE_NLS], [/* Define to 1 if translation of program messages to the user\'s native + language is requested. */ +@%:@undef ENABLE_NLS]) +m4trace:configure.ac:264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTEXT]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_GETTEXT$]) +m4trace:configure.ac:264: -1- AH_OUTPUT([HAVE_GETTEXT], [/* Define if the GNU gettext() function is already present or preinstalled. */ +@%:@undef HAVE_GETTEXT]) +m4trace:configure.ac:264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DCGETTEXT]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^HAVE_DCGETTEXT$]) +m4trace:configure.ac:264: -1- AH_OUTPUT([HAVE_DCGETTEXT], [/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +@%:@undef HAVE_DCGETTEXT]) +m4trace:configure.ac:264: -1- AC_SUBST([INTLLIBS]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([INTLLIBS]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^INTLLIBS$]) +m4trace:configure.ac:264: -1- AC_SUBST([LIBINTL]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([LIBINTL]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LIBINTL$]) +m4trace:configure.ac:264: -1- AC_SUBST([LTLIBINTL]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([LTLIBINTL]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^LTLIBINTL$]) +m4trace:configure.ac:264: -1- AC_SUBST([POSUB]) +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([POSUB]) +m4trace:configure.ac:264: -1- m4_pattern_allow([^POSUB$]) +m4trace:configure.ac:265: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) +m4trace:configure.ac:265: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) +m4trace:configure.ac:265: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ +@%:@undef _FILE_OFFSET_BITS]) +m4trace:configure.ac:265: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) +m4trace:configure.ac:265: -1- m4_pattern_allow([^_LARGE_FILES$]) +m4trace:configure.ac:265: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ +@%:@undef _LARGE_FILES]) +m4trace:configure.ac:268: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif]) +m4trace:configure.ac:268: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN]) +m4trace:configure.ac:268: -1- m4_pattern_allow([^WORDS_BIGENDIAN$]) +m4trace:configure.ac:268: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD]) +m4trace:configure.ac:268: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) +m4trace:configure.ac:268: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */ +@%:@undef AC_APPLE_UNIVERSAL_BUILD]) +m4trace:configure.ac:269: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P]) +m4trace:configure.ac:269: -1- m4_pattern_allow([^SIZEOF_VOID_P$]) +m4trace:configure.ac:269: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of `void *\', as computed by sizeof. */ +@%:@undef SIZEOF_VOID_P]) +m4trace:configure.ac:270: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG]) +m4trace:configure.ac:270: -1- m4_pattern_allow([^SIZEOF_LONG$]) +m4trace:configure.ac:270: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of `long\', as computed by sizeof. */ +@%:@undef SIZEOF_LONG]) +m4trace:configure.ac:281: -1- AC_SUBST([HELP2MAN]) +m4trace:configure.ac:281: -1- AC_SUBST_TRACE([HELP2MAN]) +m4trace:configure.ac:281: -1- m4_pattern_allow([^HELP2MAN$]) +m4trace:configure.ac:285: -1- AH_OUTPUT([HAVE_POSIX_MEMALIGN], [/* Define to 1 if you have the `posix_memalign\' function. */ +@%:@undef HAVE_POSIX_MEMALIGN]) +m4trace:configure.ac:285: -1- AH_OUTPUT([HAVE_MEMALIGN], [/* Define to 1 if you have the `memalign\' function. */ +@%:@undef HAVE_MEMALIGN]) +m4trace:configure.ac:285: -1- AH_OUTPUT([HAVE_ASPRINTF], [/* Define to 1 if you have the `asprintf\' function. */ +@%:@undef HAVE_ASPRINTF]) +m4trace:configure.ac:285: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */ +@%:@undef HAVE_VASPRINTF]) +m4trace:configure.ac:285: -1- AH_OUTPUT([HAVE_GETEXTMNTENT], [/* Define to 1 if you have the `getextmntent\' function. */ +@%:@undef HAVE_GETEXTMNTENT]) +m4trace:configure.ac:286: -1- AH_OUTPUT([HAVE_LIBZFS_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LIBZFS_H]) +m4trace:configure.ac:286: -1- AH_OUTPUT([HAVE_LIBNVPAIR_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LIBNVPAIR_H]) +m4trace:configure.ac:286: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_PARAM_H]) +m4trace:configure.ac:286: -1- AH_OUTPUT([HAVE_SYS_MOUNT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_MOUNT_H]) +m4trace:configure.ac:286: -1- AH_OUTPUT([HAVE_SYS_MNTTAB_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_MNTTAB_H]) +m4trace:configure.ac:286: -1- AH_OUTPUT([HAVE_SYS_MKDEV_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_MKDEV_H]) +m4trace:configure.ac:288: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATFS_F_FSTYPENAME]) +m4trace:configure.ac:288: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_FSTYPENAME$]) +m4trace:configure.ac:288: -1- AH_OUTPUT([HAVE_STRUCT_STATFS_F_FSTYPENAME], [/* Define to 1 if `f_fstypename\' is a member of `struct statfs\'. */ +@%:@undef HAVE_STRUCT_STATFS_F_FSTYPENAME]) +m4trace:configure.ac:292: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STATFS_F_MNTFROMNAME]) +m4trace:configure.ac:292: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_MNTFROMNAME$]) +m4trace:configure.ac:292: -1- AH_OUTPUT([HAVE_STRUCT_STATFS_F_MNTFROMNAME], [/* Define to 1 if `f_mntfromname\' is a member of `struct statfs\'. */ +@%:@undef HAVE_STRUCT_STATFS_F_MNTFROMNAME]) +m4trace:configure.ac:298: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OPENDISK]) +m4trace:configure.ac:298: -1- m4_pattern_allow([^HAVE_OPENDISK$]) +m4trace:configure.ac:298: -1- AH_OUTPUT([HAVE_OPENDISK], [/* Define if opendisk() in -lutil can be used */ +@%:@undef HAVE_OPENDISK]) +m4trace:configure.ac:298: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETRAWPARTITION]) +m4trace:configure.ac:298: -1- m4_pattern_allow([^HAVE_GETRAWPARTITION$]) +m4trace:configure.ac:298: -1- AH_OUTPUT([HAVE_GETRAWPARTITION], [/* Define if getrawpartition() in -lutil can be used */ +@%:@undef HAVE_GETRAWPARTITION]) +m4trace:configure.ac:308: -1- AC_SUBST([LIBUTIL]) +m4trace:configure.ac:308: -1- AC_SUBST_TRACE([LIBUTIL]) +m4trace:configure.ac:308: -1- m4_pattern_allow([^LIBUTIL$]) +m4trace:configure.ac:314: -1- AC_SUBST([BUILD_CC]) +m4trace:configure.ac:314: -1- AC_SUBST_TRACE([BUILD_CC]) +m4trace:configure.ac:314: -1- m4_pattern_allow([^BUILD_CC$]) +m4trace:configure.ac:318: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) +m4trace:configure.ac:318: -1- AC_SUBST([GL_COND_LIBTOOL_TRUE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_TRUE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GL_COND_LIBTOOL_FALSE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_FALSE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$]) +m4trace:configure.ac:318: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE]) +m4trace:configure.ac:318: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports + the ISO C 99 semantics of \'extern inline\' (unlike the GNU C semantics of + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. + __APPLE__ && __MACH__ test for MacOS X. + __APPLE_CC__ tests for the Apple compiler and its version. + __STDC_VERSION__ tests for the C99 mode. */ +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ +# define __GNUC_STDC_INLINE__ 1 +#endif]) +m4trace:configure.ac:318: -1- AH_OUTPUT([unused_parameter], [/* Define as a marker that can be attached to declarations that might not + be used. This helps to reduce warnings, such as from + GCC -Wunused-parameter. */ +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) +# define _GL_UNUSED __attribute__ ((__unused__)) +#else +# define _GL_UNUSED +#endif +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name + is a misnomer outside of parameter lists. */ +#define _UNUSED_PARAMETER_ _GL_UNUSED +]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([size_t]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^size_t$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ +@%:@undef size_t]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have and it should be used (not on Ultrix). + */ +@%:@undef HAVE_ALLOCA_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ALLOCA$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */ +@%:@undef HAVE_ALLOCA]) +m4trace:configure.ac:318: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([ALLOCA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ALLOCA$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^C_ALLOCA$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */ +@%:@undef C_ALLOCA]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c\' support on those systems. + */ +@%:@undef CRAY_STACKSEG_END]) +m4trace:configure.ac:318: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +@%:@undef STACK_DIRECTION]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STACK_DIRECTION$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ALLOCA$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have \'alloca\' after including , a header that + may be supplied by this distribution. */ +@%:@undef HAVE_ALLOCA]) +m4trace:configure.ac:318: -1- AC_SUBST([ALLOCA_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([ALLOCA_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ALLOCA_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler + calls it, or to nothing if \'inline\' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif]) +m4trace:configure.ac:318: -1- AH_OUTPUT([restrict], [/* Define to the equivalent of the C99 \'restrict\' keyword, or to + nothing if this is not supported. Do not define if restrict is + supported directly. */ +#undef restrict +/* Work around a bug in Sun C++: it does not support _Restrict or + __restrict__, even though the corresponding Sun C compiler ends up with + "#define restrict _Restrict" or "#define restrict __restrict__" in the + previous line. Perhaps some future version of Sun C++ will work with + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ +#if defined __SUNPRO_CC && !defined __RESTRICT +# define _Restrict +# define __restrict__ +#endif]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([restrict]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^restrict$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([restrict]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^restrict$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be + used. */ +@%:@undef __GETOPT_PREFIX]) +m4trace:configure.ac:318: -1- AC_SUBST([GETOPT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GETOPT_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETENV$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETENV], [/* Define to 1 if you have the declaration of `getenv\', and to 0 if you don\'t. + */ +@%:@undef HAVE_DECL_GETENV]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_NAME], [/* Define if program_invocation_name is declared */ +@%:@undef HAVE_DECL_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_PROGRAM_INVOCATION_NAME], [/* Define to 1 to add extern declaration of program_invocation_name to argp.h + */ +@%:@undef GNULIB_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME], [/* Define if program_invocation_short_name is declared */ +@%:@undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_PROGRAM_INVOCATION_SHORT_NAME], [/* Define to 1 to add extern declaration of program_invocation_short_name to + argp.h */ +@%:@undef GNULIB_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_PROGRAM_INVOCATION_NAME], [/* Define if program_invocation_name is defined */ +@%:@undef HAVE_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [/* Define if program_invocation_short_name is defined */ +@%:@undef HAVE_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_CLEARERR_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_CLEARERR_UNLOCKED], [/* Define to 1 if you have the declaration of `clearerr_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_CLEARERR_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FEOF_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FEOF_UNLOCKED], [/* Define to 1 if you have the declaration of `feof_unlocked\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_FEOF_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FERROR_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FERROR_UNLOCKED], [/* Define to 1 if you have the declaration of `ferror_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FERROR_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FFLUSH_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FFLUSH_UNLOCKED], [/* Define to 1 if you have the declaration of `fflush_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FFLUSH_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FGETS_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FGETS_UNLOCKED], [/* Define to 1 if you have the declaration of `fgets_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FGETS_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTC_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FPUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `fputc_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FPUTC_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTS_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FPUTS_UNLOCKED], [/* Define to 1 if you have the declaration of `fputs_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FPUTS_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREAD_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FREAD_UNLOCKED], [/* Define to 1 if you have the declaration of `fread_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FREAD_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FWRITE_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_FWRITE_UNLOCKED], [/* Define to 1 if you have the declaration of `fwrite_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_FWRITE_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_GETC_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETCHAR_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `getchar_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_GETCHAR_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTC_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_PUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `putc_unlocked\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_PUTC_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTCHAR_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_PUTCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `putchar_unlocked\', and to 0 if + you don\'t. */ +@%:@undef HAVE_DECL_PUTCHAR_UNLOCKED]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */ +@%:@undef HAVE_FLOCKFILE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */ +@%:@undef HAVE_FUNLOCKFILE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FEATURES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_FEATURES_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LINEWRAP_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LINEWRAP_H]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=argp_error:2:c-format]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=argp_failure:4:c-format]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_BTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_BTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_BTOWC$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_WCTOB]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_WCTOB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCTOB$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSINIT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSINIT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSINIT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBRTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBRTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBRTOWC$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBRLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBRLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBRLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_WCRTOMB]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_WCRTOMB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCRTOMB$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_WCSRTOMBS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_WCSRTOMBS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_WCWIDTH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_WCWIDTH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WCWIDTH$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_BTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_BTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_BTOWC$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSINIT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBRTOWC$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MBRLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MBRLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBRLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MBSRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WCRTOMB]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WCRTOMB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCRTOMB$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WCSRTOMBS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WCSRTOMBS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_WCTOB]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_WCTOB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_WCWIDTH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_WCWIDTH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MBSTATE_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MBSTATE_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_BTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_BTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_BTOWC$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_WCTOB]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_WCTOB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCTOB$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MBSINIT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MBSINIT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSINIT$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MBRTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MBRTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBRTOWC$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MBRLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MBRLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBRLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MBSRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_WCRTOMB]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_WCRTOMB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCRTOMB$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_WCSRTOMBS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_WCSRTOMBS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_WCWIDTH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_WCWIDTH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WCWIDTH$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */ +@%:@undef HAVE_BTOWC]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LANGINFO_CODESET]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LANGINFO_CODESET], [/* Define if you have and nl_langinfo(CODESET). */ +@%:@undef HAVE_LANGINFO_CODESET]) +m4trace:configure.ac:318: -1- AC_SUBST([LOCALE_FR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LOCALE_FR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_FR$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_BTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_BTOWC], [/* Define to 1 when the gnulib module btowc should be tested. */ +@%:@undef GNULIB_TEST_BTOWC]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX], [/* Define on systems for which file names may have a so-called `drive letter\' + prefix, define this to compute the length of that prefix, including the + colon. */ +@%:@undef FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([ISSLASH], [#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR +# define ISSLASH(C) ((C) == \'/\' || (C) == \'\\\\\') +#else +# define ISSLASH(C) ((C) == \'/\') +#endif]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR], [/* Define if the backslash character may also serve as a file name component + separator. */ +@%:@undef FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE], [/* Define if a drive letter prefix denotes a relative path if it is not + followed by a file name component separator. */ +@%:@undef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */ +@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */ +@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT]) +m4trace:configure.ac:318: -1- AC_SUBST([INCLUDE_NEXT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([INCLUDE_NEXT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^INCLUDE_NEXT$]) +m4trace:configure.ac:318: -1- AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$]) +m4trace:configure.ac:318: -1- AC_SUBST([PRAGMA_SYSTEM_HEADER]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([PRAGMA_SYSTEM_HEADER]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_ERRNO_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_ERRNO_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_ERRNO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_ERRNO_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([ERRNO_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([ERRNO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ERRNO_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([EMULTIHOP_HIDDEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([EMULTIHOP_HIDDEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([EMULTIHOP_VALUE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([EMULTIHOP_VALUE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EMULTIHOP_VALUE$]) +m4trace:configure.ac:318: -1- AC_SUBST([ENOLINK_HIDDEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([ENOLINK_HIDDEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ENOLINK_HIDDEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([ENOLINK_VALUE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([ENOLINK_VALUE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ENOLINK_VALUE$]) +m4trace:configure.ac:318: -1- AC_SUBST([EOVERFLOW_HIDDEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([EOVERFLOW_HIDDEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([EOVERFLOW_VALUE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([EOVERFLOW_VALUE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^EOVERFLOW_VALUE$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_STRERROR_R], [/* Define to 1 if you have the declaration of `strerror_r\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_STRERROR_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */ +@%:@undef HAVE_STRERROR_R]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([STRERROR_R_CHAR_P]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([STRERROR_R_CHAR_P], [/* Define to 1 if strerror_r returns char *. */ +@%:@undef STRERROR_R_CHAR_P]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format]) +m4trace:configure.ac:318: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FLOAT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_FLOAT_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_FLOAT_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_FLOAT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_FLOAT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([FLOAT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([FLOAT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FLOAT_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([fnmatch]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^fnmatch$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([fnmatch], [/* Define to a replacement function name for fnmatch(). */ +@%:@undef fnmatch]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MBSTATE_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSTATE_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSTATE_T], [/* Define to 1 if declares mbstate_t. */ +@%:@undef HAVE_MBSTATE_T]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([mbstate_t]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^mbstate_t$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([mbstate_t], [/* Define to a type if does not define. */ +@%:@undef mbstate_t]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_ISBLANK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */ +@%:@undef HAVE_BTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */ +@%:@undef HAVE_ISBLANK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */ +@%:@undef HAVE_ISWCTYPE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSRTOWCS], [/* Define to 1 if you have the `mbsrtowcs\' function. */ +@%:@undef HAVE_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */ +@%:@undef HAVE_MEMPCPY]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WMEMCHR], [/* Define to 1 if you have the `wmemchr\' function. */ +@%:@undef HAVE_WMEMCHR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WMEMCPY], [/* Define to 1 if you have the `wmemcpy\' function. */ +@%:@undef HAVE_WMEMCPY]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WMEMPCPY], [/* Define to 1 if you have the `wmempcpy\' function. */ +@%:@undef HAVE_WMEMPCPY]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WCTYPE_H]) +m4trace:configure.ac:318: -1- AC_SUBST([FNMATCH_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([FNMATCH_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^FNMATCH_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_DPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_DPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_DPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FCLOSE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FCLOSE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FCLOSE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FFLUSH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FFLUSH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FFLUSH$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FOPEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FOPEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FOPEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FPRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FPRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FPURGE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FPURGE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPURGE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FPUTC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FPUTC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPUTC$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FPUTS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FPUTS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FPUTS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FREOPEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FREOPEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FREOPEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FSEEK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FSEEK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FSEEK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FSEEKO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FSEEKO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FSEEKO$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FTELL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FTELL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FTELL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FTELLO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FTELLO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FTELLO$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FWRITE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FWRITE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FWRITE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETDELIM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETDELIM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETDELIM$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETLINE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETLINE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLINE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PERROR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PERROR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_POPEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_POPEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_POPEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PUTC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PUTC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTC$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PUTCHAR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PUTCHAR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTCHAR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PUTS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PUTS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_REMOVE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_REMOVE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_REMOVE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_RENAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_RENAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RENAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_RENAMEAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_RENAMEAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RENAMEAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_SNPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_SNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SNPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_SPRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_SPRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STDIO_H_SIGPIPE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_TMPFILE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_TMPFILE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TMPFILE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VASPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VASPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VASPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VDPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VDPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VDPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VFPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VFPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VFPRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VPRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VPRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VSNPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VSNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_VSPRINTF_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_VSPRINTF_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_FPURGE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_FPURGE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_GETDELIM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_GETDELIM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_GETLINE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_GETLINE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_OBSTACK_PRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_SNPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_SNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_VSNPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_VSNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FSEEKO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FSEEKO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FSEEKO$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FTELLO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FTELLO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FTELLO$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_RENAMEAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_RENAMEAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RENAMEAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_VASPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_VASPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_VASPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_VDPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_VDPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_VDPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_DPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_DPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_DPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FCLOSE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FCLOSE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FCLOSE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FFLUSH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FFLUSH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FFLUSH$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FOPEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FOPEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FOPEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FPURGE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FPURGE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FPURGE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FREOPEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FREOPEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FREOPEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FSEEK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FSEEK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FSEEK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FSEEKO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FSEEKO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FSEEKO$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FTELL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FTELL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FTELL$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FTELLO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FTELLO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FTELLO$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_GETDELIM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_GETDELIM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETDELIM$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_GETLINE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_GETLINE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETLINE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_OBSTACK_PRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_OBSTACK_PRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_PERROR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_PERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PERROR$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_POPEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_POPEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_POPEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_PRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_PRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_REMOVE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_REMOVE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_REMOVE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_RENAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_RENAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_RENAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_RENAMEAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_RENAMEAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_RENAMEAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_SNPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_SNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SNPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_SPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_SPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STDIO_WRITE_FUNCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_TMPFILE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_TMPFILE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_TMPFILE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_VASPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_VASPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VASPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_VDPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_VDPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VDPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_VFPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_VFPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VFPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_VPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_VPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_VSNPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_VSNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_VSPRINTF]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_VSPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VSPRINTF$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETDELIM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETDELIM], [/* Define to 1 if you have the declaration of `getdelim\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_GETDELIM]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_GETDELIM], [/* Define to 1 if you have the `getdelim\' function. */ +@%:@undef HAVE_GETDELIM]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */ +@%:@undef HAVE_FLOCKFILE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */ +@%:@undef HAVE_FUNLOCKFILE]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_GETC_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETDELIM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_GETDELIM$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_GETDELIM], [/* Define to 1 when the gnulib module getdelim should be tested. */ +@%:@undef GNULIB_TEST_GETDELIM]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETLINE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETLINE], [/* Define to 1 if you have the declaration of `getline\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_GETLINE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_GETDELIM], [/* Define to 1 if you have the `getdelim\' function. */ +@%:@undef HAVE_GETDELIM]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FLOCKFILE], [/* Define to 1 if you have the `flockfile\' function. */ +@%:@undef HAVE_FLOCKFILE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_FUNLOCKFILE], [/* Define to 1 if you have the `funlockfile\' function. */ +@%:@undef HAVE_FUNLOCKFILE]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_GETC_UNLOCKED]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETLINE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_GETLINE$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_GETLINE], [/* Define to 1 when the gnulib module getline should be tested. */ +@%:@undef GNULIB_TEST_GETLINE]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_CHOWN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_CHOWN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CHOWN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_CLOSE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_CLOSE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CLOSE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_DUP2]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_DUP2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_DUP2$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_DUP3]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_DUP3]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_DUP3$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_ENVIRON]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_ENVIRON]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_ENVIRON$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_EUIDACCESS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_EUIDACCESS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FACCESSAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FACCESSAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FACCESSAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FCHDIR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FCHDIR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FCHDIR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FCHOWNAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FCHOWNAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FSYNC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FSYNC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FSYNC$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_FTRUNCATE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_FTRUNCATE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETCWD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETCWD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETCWD$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETDOMAINNAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETDOMAINNAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETDTABLESIZE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETDTABLESIZE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETGROUPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETGROUPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETGROUPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETHOSTNAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETHOSTNAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETLOGIN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLOGIN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETLOGIN_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETPAGESIZE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETPAGESIZE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETUSERSHELL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETUSERSHELL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_LCHOWN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_LCHOWN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LCHOWN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_LINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_LINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_LINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_LINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_LSEEK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_LSEEK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_LSEEK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PIPE2]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PIPE2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PIPE2$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PREAD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PREAD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PREAD$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PWRITE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PWRITE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PWRITE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_READLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_READLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_READLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_READLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_READLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_READLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_RMDIR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_RMDIR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RMDIR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_SLEEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_SLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SLEEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_SYMLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_SYMLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SYMLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_SYMLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_SYMLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_TTYNAME_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_TTYNAME_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_UNISTD_H_GETOPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_GETOPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_SIGPIPE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_UNLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_UNLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_UNLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_UNLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_USLEEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_USLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_USLEEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_WRITE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_WRITE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_WRITE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_CHOWN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_CHOWN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_CHOWN$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DUP2]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DUP2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DUP2$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DUP3]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DUP3]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DUP3$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_EUIDACCESS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_EUIDACCESS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_EUIDACCESS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FACCESSAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FACCESSAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FACCESSAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FCHDIR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FCHDIR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FCHDIR$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FCHOWNAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FCHOWNAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FCHOWNAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FSYNC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FSYNC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FSYNC$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_FTRUNCATE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_FTRUNCATE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETDOMAINNAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETDOMAINNAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETDOMAINNAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETDTABLESIZE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETDTABLESIZE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETGROUPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETGROUPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETGROUPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETHOSTNAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETHOSTNAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETLOGIN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETLOGIN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETLOGIN$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETPAGESIZE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETPAGESIZE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LCHOWN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LCHOWN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LCHOWN$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_PIPE2]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_PIPE2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PIPE2$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_PREAD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_PREAD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PREAD$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_PWRITE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_PWRITE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PWRITE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_READLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_READLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_READLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_READLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_READLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_READLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SLEEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SLEEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYMLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYMLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYMLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYMLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYMLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYMLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_TTYNAME_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_TTYNAME_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_TTYNAME_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_UNLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_UNLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_USLEEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_USLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_USLEEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_ENVIRON]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_ENVIRON]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_GETLOGIN_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOGIN_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_GETPAGESIZE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_GETPAGESIZE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_GETUSERSHELL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_GETUSERSHELL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_OS_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_OS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_OS_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYS_PARAM_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYS_PARAM_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_CHOWN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_CHOWN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CHOWN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_CLOSE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_CLOSE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CLOSE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_DUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_DUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_DUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_DUP2]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_DUP2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_DUP2$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_FCHOWNAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_FCHOWNAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_GETCWD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_GETCWD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETCWD$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_GETGROUPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_GETGROUPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETGROUPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_GETPAGESIZE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_GETPAGESIZE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_LCHOWN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_LCHOWN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LCHOWN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_LINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_LINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_LINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_LINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_LSEEK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_LSEEK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_LSEEK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_PREAD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_PREAD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PREAD$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_PWRITE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_PWRITE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PWRITE$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_READLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_READLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_READLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_RMDIR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_RMDIR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_RMDIR$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_SLEEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_SLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SLEEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_SYMLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_SYMLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SYMLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_TTYNAME_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_TTYNAME_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_UNLINK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_UNLINK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_UNLINK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_UNLINKAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_UNLINKAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_UNLINKAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_USLEEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_USLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_USLEEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_WRITE]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_WRITE]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_WRITE$]) +m4trace:configure.ac:318: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_GETOPT_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_GETOPT_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_GETOPT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_GETOPT_H]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETOPT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_GETOPT_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETOPT_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_GETOPT_LONG_ONLY], [/* Define to 1 if you have the `getopt_long_only\' function. */ +@%:@undef HAVE_GETOPT_LONG_ONLY]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_LONG_ONLY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_OPTRESET]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_OPTRESET$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_OPTRESET], [/* Define to 1 if you have the declaration of `optreset\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_OPTRESET]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETOPT_CLIP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETOPT_CLIP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_GETOPT_CLIP], [/* Define to 1 if you have the declaration of `getopt_clip\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_GETOPT_CLIP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be + used. */ +@%:@undef __GETOPT_PREFIX]) +m4trace:configure.ac:318: -1- AC_SUBST([GETOPT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GETOPT_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETOPT_GNU]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_GETOPT_GNU], [/* Define to 1 when the gnulib module getopt-gnu should be tested. */ +@%:@undef GNULIB_TEST_GETOPT_GNU]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^__GETOPT_PREFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be + used. */ +@%:@undef __GETOPT_PREFIX]) +m4trace:configure.ac:318: -1- AC_SUBST([GETOPT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GETOPT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GETOPT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([LIBINTL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LIBINTL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LIBINTL$]) +m4trace:configure.ac:318: -1- AC_SUBST([LTLIBINTL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LTLIBINTL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LTLIBINTL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_NL_LANGINFO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LANGINFO_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_LANGINFO_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_LANGINFO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_LANGINFO_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LANGINFO_H]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LANGINFO_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LANGINFO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LANGINFO_CODESET]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LANGINFO_CODESET]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LANGINFO_T_FMT_AMPM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LANGINFO_ERA]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LANGINFO_ERA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LANGINFO_YESEXPR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LANGINFO_YESEXPR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_NL_LANGINFO], [/* Define to 1 if nl_langinfo is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOATIME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WORKING_O_NOATIME], [/* Define to 1 if O_NOATIME works. */ +@%:@undef HAVE_WORKING_O_NOATIME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOFOLLOW]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WORKING_O_NOFOLLOW], [/* Define to 1 if O_NOFOLLOW works. */ +@%:@undef HAVE_WORKING_O_NOFOLLOW]) +m4trace:configure.ac:318: -1- AC_SUBST([GLIBC21]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GLIBC21]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GLIBC21$]) +m4trace:configure.ac:318: -1- AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LOCALCHARSET_TESTS_ENVIRONMENT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB__EXIT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB__EXIT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB__EXIT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_ATOLL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_ATOLL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_ATOLL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_CALLOC_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_CALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETLOADAVG]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETLOADAVG]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GETSUBOPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GETSUBOPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_GRANTPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_GRANTPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_GRANTPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MALLOC_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MKDTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MKDTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKDTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MKOSTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MKOSTEMPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MKSTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MKSTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKSTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MKSTEMPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MKSTEMPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PTSNAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PTSNAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PTSNAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_PUTENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_PUTENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_PUTENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_RANDOM_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_RANDOM_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RANDOM_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_REALLOC_POSIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_REALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_REALPATH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_REALPATH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_REALPATH$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_RPMATCH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_RPMATCH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RPMATCH$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_SETENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_SETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_SETENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRTOD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRTOD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOD$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRTOLL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRTOLL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOLL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRTOULL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRTOULL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOULL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_UNLOCKPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_UNLOCKPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_UNSETENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_UNSETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_UNSETENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE__EXIT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE__EXIT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE__EXIT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_ATOLL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_ATOLL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ATOLL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_GETLOADAVG]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOADAVG]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GETSUBOPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GETSUBOPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GETSUBOPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_GRANTPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_GRANTPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_GRANTPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MKDTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MKDTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKDTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MKOSTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MKOSTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKOSTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MKOSTEMPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MKOSTEMPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MKSTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MKSTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKSTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MKSTEMPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MKSTEMPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MKSTEMPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_PTSNAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_PTSNAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_PTSNAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_RANDOM_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_RANDOM_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RANDOM_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_REALPATH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_REALPATH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_REALPATH$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_RPMATCH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_RPMATCH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RPMATCH$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SETENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SETENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRTOD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRTOD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRTOD$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRTOLL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRTOLL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRTOLL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRTOULL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRTOULL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRTOULL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRUCT_RANDOM_DATA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYS_LOADAVG_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYS_LOADAVG_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_UNLOCKPT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_UNLOCKPT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNLOCKPT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_UNSETENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_UNSETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNSETENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_CALLOC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_CALLOC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CALLOC$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MALLOC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MALLOC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MALLOC$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MKSTEMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MKSTEMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MKSTEMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_PUTENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_PUTENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_PUTENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_REALLOC]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_REALLOC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_REALLOC$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_REALPATH]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_REALPATH]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_REALPATH$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_SETENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_SETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_SETENV$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRTOD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRTOD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRTOD$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_UNSETENV]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_UNSETENV]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_UNSETENV$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDLIB_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MALLOC_GNU], [/* Define to 1 if your system has a GNU libc compatible \'malloc\' function, and + to 0 otherwise. */ +@%:@undef HAVE_MALLOC_GNU]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_MALLOC_GNU]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_MALLOC_GNU], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module malloc-gnu shall be considered present. */ +@%:@undef GNULIB_MALLOC_GNU]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MALLOC_POSIX], [/* Define if the \'malloc\' function is POSIX compliant. */ +@%:@undef HAVE_MALLOC_POSIX]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_MALLOC_POSIX], [/* Define to 1 when the gnulib module malloc-posix should be tested. */ +@%:@undef GNULIB_TEST_MALLOC_POSIX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ +@%:@undef HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ +@%:@undef HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST([LOCALE_JA]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LOCALE_JA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_JA$]) +m4trace:configure.ac:318: -1- AC_SUBST([LOCALE_ZH_CN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LOCALE_ZH_CN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_ZH_CN$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ +@%:@undef HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AC_SUBST([LOCALE_FR_UTF8]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LOCALE_FR_UTF8$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG_BUG]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG_BUG$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([MBRTOWC_NULL_ARG_BUG], [/* Define if the mbrtowc function has the NULL string argument bug. */ +@%:@undef MBRTOWC_NULL_ARG_BUG]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_RETVAL_BUG]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([MBRTOWC_RETVAL_BUG], [/* Define if the mbrtowc function returns a wrong return value. */ +@%:@undef MBRTOWC_RETVAL_BUG]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NUL_RETVAL_BUG]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([MBRTOWC_NUL_RETVAL_BUG], [/* Define if the mbrtowc function does not return 0 for a NUL character. */ +@%:@undef MBRTOWC_NUL_RETVAL_BUG]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBRTOWC]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_MBRTOWC], [/* Define to 1 when the gnulib module mbrtowc should be tested. */ +@%:@undef GNULIB_TEST_MBRTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ +@%:@undef HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ +@%:@undef HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ +@%:@undef HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSINIT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_MBSINIT], [/* Define to 1 when the gnulib module mbsinit should be tested. */ +@%:@undef GNULIB_TEST_MBSINIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ +@%:@undef HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ +@%:@undef HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSRTOWCS], [/* Define to 1 if you have the `mbsrtowcs\' function. */ +@%:@undef HAVE_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSRTOWCS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MBSRTOWCS$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_MBSRTOWCS], [/* Define to 1 when the gnulib module mbsrtowcs should be tested. */ +@%:@undef GNULIB_TEST_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^MAP_ANONYMOUS$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */ +@%:@undef MAP_ANONYMOUS]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including + config.h and . */ +@%:@undef HAVE_MAP_ANONYMOUS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_MMAN_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */ +@%:@undef HAVE_MPROTECT]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MEMCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MEMMEM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MEMMEM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMMEM$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MEMPCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MEMPCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMPCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MEMRCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MEMRCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MEMRCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_RAWMEMCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_RAWMEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STPCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STPCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STPCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STPNCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STPNCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STPNCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRCHRNUL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRCHRNUL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRDUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRDUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRNCAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRNCAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRNCAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRNDUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRNDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRNDUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRNLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRNLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRNLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRPBRK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRPBRK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRPBRK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRSEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRSEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRSEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRSTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRSTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRSTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRCASESTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRCASESTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRCASESTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRTOK_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRTOK_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRTOK_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSNLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSNLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSNLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSRCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSRCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSRCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSSTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSSTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSSTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSCASECMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSNCASECMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSNCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSPCASECMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSPCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSCASESTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSCASESTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSCSPN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSCSPN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSCSPN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSPBRK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSPBRK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSPBRK$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSSPN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSSPN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSSPN$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSSEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSSEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSSEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_MBSTOK_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_MBSTOK_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRERROR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRERROR$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRSIGNAL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRSIGNAL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$]) +m4trace:configure.ac:318: -1- AC_SUBST([GNULIB_STRVERSCMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([GNULIB_STRVERSCMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MBSLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MBSLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MBSLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MEMCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MEMCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_MEMMEM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_MEMMEM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_MEMPCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_MEMPCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_MEMRCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_MEMRCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_RAWMEMCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_RAWMEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STPCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STPCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STPCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STPNCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STPNCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STPNCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRCHRNUL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRCHRNUL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_STRDUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_STRDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_STRNDUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_STRNDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_STRNLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_STRNLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRPBRK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRPBRK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRPBRK$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRSEP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRSEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRSEP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRCASESTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRCASESTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCASESTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_STRTOK_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOK_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_STRSIGNAL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_STRSIGNAL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRVERSCMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRVERSCMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRVERSCMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MEMCHR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MEMCHR$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_MEMMEM]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_MEMMEM]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_MEMMEM$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STPNCPY]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STPNCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STPNCPY$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRDUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRDUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRSTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRSTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRSTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRCASESTR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRCASESTR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRCASESTR$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRERROR]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRERROR$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRNCAT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRNCAT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRNCAT$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRNDUP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRNDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRNDUP$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRNLEN]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRNLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRNLEN$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRSIGNAL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRSIGNAL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_STRTOK_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_STRTOK_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRTOK_R$]) +m4trace:configure.ac:318: -1- AC_SUBST([UNDEFINE_STRTOK_R]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([UNDEFINE_STRTOK_R]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MEMCHR], [/* Define to 1 if you have the `memchr\' function. */ +@%:@undef HAVE_MEMCHR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_BP_SYM_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_BP_SYM_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BP_SYM_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_BP_SYM_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_MEMCHR], [/* Define to 1 when the gnulib module memchr should be tested. */ +@%:@undef GNULIB_TEST_MEMCHR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */ +@%:@undef HAVE_MEMPCPY]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMPCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_MEMPCPY$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMPCPY]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_MEMPCPY$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_MEMPCPY], [/* Define to 1 when the gnulib module mempcpy should be tested. */ +@%:@undef GNULIB_TEST_MEMPCPY]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([AA_APPLE_UNIVERSAL_BUILD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^AA_APPLE_UNIVERSAL_BUILD$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([AA_APPLE_UNIVERSAL_BUILD], [/* Define if the compiler is building for multiple architectures of Apple + platforms at once. */ +@%:@undef AA_APPLE_UNIVERSAL_BUILD]) +m4trace:configure.ac:318: -1- AC_SUBST([APPLE_UNIVERSAL_BUILD]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([APPLE_UNIVERSAL_BUILD]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */ +@%:@undef HAVE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([REPLACE_NL_LANGINFO], [/* Define if nl_langinfo exists but is overridden by gnulib. */ +@%:@undef REPLACE_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_NL_LANGINFO]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_NL_LANGINFO], [/* Define to 1 when the gnulib module nl_langinfo should be tested. */ +@%:@undef GNULIB_TEST_NL_LANGINFO]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_NAME], [/* Define to 1 if you have the declaration of `program_invocation_name\', and + to 0 if you don\'t. */ +@%:@undef HAVE_DECL_PROGRAM_INVOCATION_NAME]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME], [/* Define to 1 if you have the declaration of `program_invocation_short_name\', + and to 0 if you don\'t. */ +@%:@undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAWMEMCHR], [/* Define to 1 if you have the `rawmemchr\' function. */ +@%:@undef HAVE_RAWMEMCHR]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RAWMEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RAWMEMCHR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_RAWMEMCHR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_RAWMEMCHR], [/* Define to 1 when the gnulib module rawmemchr should be tested. */ +@%:@undef GNULIB_TEST_RAWMEMCHR]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_REALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_REALLOC_POSIX], [/* Define if the \'realloc\' function is POSIX compliant. */ +@%:@undef HAVE_REALLOC_POSIX]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_REALLOC_POSIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_REALLOC_POSIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_REALLOC_POSIX], [/* Define to 1 when the gnulib module realloc-posix should be tested. */ +@%:@undef GNULIB_TEST_REALLOC_POSIX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LOCALE_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LOCALE_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([_REGEX_LARGE_OFFSETS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([_REGEX_LARGE_OFFSETS], [/* Define if you want regoff_t to be at least as wide POSIX requires. */ +@%:@undef _REGEX_LARGE_OFFSETS]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_syntax_options]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_syntax_options$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_syntax_options], [/* Define to rpl_re_syntax_options if the replacement should be used. */ +@%:@undef re_syntax_options]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_set_syntax]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_set_syntax$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_set_syntax], [/* Define to rpl_re_set_syntax if the replacement should be used. */ +@%:@undef re_set_syntax]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_compile_pattern]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_compile_pattern$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_compile_pattern], [/* Define to rpl_re_compile_pattern if the replacement should be used. */ +@%:@undef re_compile_pattern]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_compile_fastmap]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_compile_fastmap$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_compile_fastmap], [/* Define to rpl_re_compile_fastmap if the replacement should be used. */ +@%:@undef re_compile_fastmap]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_search]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_search$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_search], [/* Define to rpl_re_search if the replacement should be used. */ +@%:@undef re_search]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_search_2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_search_2$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_search_2], [/* Define to rpl_re_search_2 if the replacement should be used. */ +@%:@undef re_search_2]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_match]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_match$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_match], [/* Define to rpl_re_match if the replacement should be used. */ +@%:@undef re_match]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_match_2]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_match_2$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_match_2], [/* Define to rpl_re_match_2 if the replacement should be used. */ +@%:@undef re_match_2]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_set_registers]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_set_registers$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_set_registers], [/* Define to rpl_re_set_registers if the replacement should be used. */ +@%:@undef re_set_registers]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_comp]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_comp$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_comp], [/* Define to rpl_re_comp if the replacement should be used. */ +@%:@undef re_comp]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([re_exec]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^re_exec$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([re_exec], [/* Define to rpl_re_exec if the replacement should be used. */ +@%:@undef re_exec]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([regcomp]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regcomp$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([regcomp], [/* Define to rpl_regcomp if the replacement should be used. */ +@%:@undef regcomp]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([regexec]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regexec$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([regexec], [/* Define to rpl_regexec if the replacement should be used. */ +@%:@undef regexec]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([regerror]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regerror$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([regerror], [/* Define to rpl_regerror if the replacement should be used. */ +@%:@undef regerror]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([regfree]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^regfree$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([regfree], [/* Define to rpl_regfree if the replacement should be used. */ +@%:@undef regfree]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_LIBINTL_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBINTL_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LIBINTL_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */ +@%:@undef HAVE_ISBLANK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */ +@%:@undef HAVE_ISWCTYPE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCSCOLL], [/* Define to 1 if you have the `wcscoll\' function. */ +@%:@undef HAVE_WCSCOLL]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_ISBLANK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([SIZE_MAX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SIZE_MAX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define + it. */ +@%:@undef SIZE_MAX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define + it. */ +#ifndef SIZE_MAX +# undef SIZE_MAX +#endif]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_SLEEP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_SLEEP], [/* Define to 1 if you have the declaration of `sleep\', and to 0 if you don\'t. + */ +@%:@undef HAVE_DECL_SLEEP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SLEEP], [/* Define to 1 if you have the `sleep\' function. */ +@%:@undef HAVE_SLEEP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SLEEP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_SLEEP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_SLEEP], [/* Define to 1 when the gnulib module sleep should be tested. */ +@%:@undef GNULIB_TEST_SLEEP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([ssize_t]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ssize_t$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([ssize_t], [/* Define as a signed type of the same size as size_t. */ +@%:@undef ssize_t]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE__BOOL$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */ +@%:@undef HAVE__BOOL]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */ +@%:@undef HAVE_STDBOOL_H]) +m4trace:configure.ac:318: -1- AC_SUBST([STDBOOL_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([STDBOOL_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STDBOOL_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE__BOOL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE__BOOL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE__BOOL$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_NULL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_NULL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_NULL$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WCHAR_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WCHAR_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([STDDEF_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([STDDEF_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STDDEF_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */ +@%:@undef HAVE_WCHAR_T]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDDEF_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_STDDEF_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_STDDEF_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDDEF_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */ +@%:@undef HAVE_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */ +@%:@undef HAVE_UNSIGNED_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_UNSIGNED_LONG_LONG_INT]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_INTTYPES_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_INTTYPES_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYS_TYPES_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYS_TYPES_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_STDINT_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_STDINT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDINT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDINT_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDINT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYS_INTTYPES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_INTTYPES_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_BITYPES_H]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYS_INTTYPES_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYS_INTTYPES_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYS_BITYPES_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYS_BITYPES_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WCHAR_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([BITSIZEOF_PTRDIFF_T], [/* Define to the number of bits in type \'ptrdiff_t\'. */ +@%:@undef BITSIZEOF_PTRDIFF_T]) +m4trace:configure.ac:318: -1- AH_OUTPUT([BITSIZEOF_SIZE_T], [/* Define to the number of bits in type \'size_t\'. */ +@%:@undef BITSIZEOF_SIZE_T]) +m4trace:configure.ac:318: -1- AC_SUBST([BITSIZEOF_PTRDIFF_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([BITSIZEOF_PTRDIFF_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([BITSIZEOF_SIZE_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([BITSIZEOF_SIZE_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([BITSIZEOF_SIG_ATOMIC_T], [/* Define to the number of bits in type \'sig_atomic_t\'. */ +@%:@undef BITSIZEOF_SIG_ATOMIC_T]) +m4trace:configure.ac:318: -1- AH_OUTPUT([BITSIZEOF_WCHAR_T], [/* Define to the number of bits in type \'wchar_t\'. */ +@%:@undef BITSIZEOF_WCHAR_T]) +m4trace:configure.ac:318: -1- AH_OUTPUT([BITSIZEOF_WINT_T], [/* Define to the number of bits in type \'wint_t\'. */ +@%:@undef BITSIZEOF_WINT_T]) +m4trace:configure.ac:318: -1- AC_SUBST([BITSIZEOF_SIG_ATOMIC_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([BITSIZEOF_SIG_ATOMIC_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([BITSIZEOF_WCHAR_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([BITSIZEOF_WCHAR_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([BITSIZEOF_WINT_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([BITSIZEOF_WINT_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SIGNED_SIG_ATOMIC_T], [/* Define to 1 if \'sig_atomic_t\' is a signed integer type. */ +@%:@undef HAVE_SIGNED_SIG_ATOMIC_T]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SIGNED_WCHAR_T], [/* Define to 1 if \'wchar_t\' is a signed integer type. */ +@%:@undef HAVE_SIGNED_WCHAR_T]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SIGNED_WINT_T], [/* Define to 1 if \'wint_t\' is a signed integer type. */ +@%:@undef HAVE_SIGNED_WINT_T]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SIGNED_SIG_ATOMIC_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SIGNED_SIG_ATOMIC_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SIGNED_WCHAR_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SIGNED_WCHAR_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SIGNED_WINT_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SIGNED_WINT_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([PTRDIFF_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + \'ptrdiff_t\'. */ +@%:@undef PTRDIFF_T_SUFFIX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([SIZE_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + \'size_t\'. */ +@%:@undef SIZE_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST([PTRDIFF_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([PTRDIFF_T_SUFFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([SIZE_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([SIZE_T_SUFFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SIZE_T_SUFFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([SIG_ATOMIC_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + \'sig_atomic_t\'. */ +@%:@undef SIG_ATOMIC_T_SUFFIX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([WCHAR_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + \'wchar_t\'. */ +@%:@undef WCHAR_T_SUFFIX]) +m4trace:configure.ac:318: -1- AH_OUTPUT([WINT_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + \'wint_t\'. */ +@%:@undef WINT_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST([SIG_ATOMIC_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([SIG_ATOMIC_T_SUFFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([WCHAR_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([WCHAR_T_SUFFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([WINT_T_SUFFIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([WINT_T_SUFFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^WINT_T_SUFFIX$]) +m4trace:configure.ac:318: -1- AC_SUBST([STDINT_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([STDINT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^STDINT_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([USER_LABEL_PREFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^USER_LABEL_PREFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([USER_LABEL_PREFIX], [/* Define to the prefix of C symbols at the assembler and linker level, either + an underscore or empty. */ +@%:@undef USER_LABEL_PREFIX]) +m4trace:configure.ac:318: -1- AC_SUBST([ASM_SYMBOL_PREFIX]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([ASM_SYMBOL_PREFIX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ASM_SYMBOL_PREFIX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDIO_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_STDIO_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_STDIO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDIO_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDIO_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDIO_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_DPRINTF], [/* Define to 1 if dprintf is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_DPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FPURGE], [/* Define to 1 if fpurge is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FPURGE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FSEEKO], [/* Define to 1 if fseeko is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FSEEKO]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FTELLO], [/* Define to 1 if ftello is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FTELLO]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETDELIM], [/* Define to 1 if getdelim is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETDELIM]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLINE], [/* Define to 1 if getline is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETLINE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_POPEN], [/* Define to 1 if popen is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_POPEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_RENAMEAT], [/* Define to 1 if renameat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_RENAMEAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SNPRINTF], [/* Define to 1 if snprintf is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SNPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_TMPFILE], [/* Define to 1 if tmpfile is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_TMPFILE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_VDPRINTF], [/* Define to 1 if vdprintf is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_VDPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_VSNPRINTF], [/* Define to 1 if vsnprintf is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_VSNPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDLIB_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_STDLIB_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_STDLIB_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STDLIB_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RANDOM_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_RANDOM_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RANDOM_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_RANDOM_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_RANDOM_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_RANDOM_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_RANDOM_DATA]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRUCT_RANDOM_DATA], [/* Define to 1 if the system has the type `struct random_data\'. */ +@%:@undef HAVE_STRUCT_RANDOM_DATA]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL__EXIT], [/* Define to 1 if _Exit is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL__EXIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_ATOLL], [/* Define to 1 if atoll is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_ATOLL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_CANONICALIZE_FILE_NAME], [/* Define to 1 if canonicalize_file_name is declared even after undefining + macros. */ +@%:@undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLOADAVG], [/* Define to 1 if getloadavg is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETLOADAVG]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETSUBOPT], [/* Define to 1 if getsubopt is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETSUBOPT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GRANTPT], [/* Define to 1 if grantpt is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GRANTPT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MKDTEMP], [/* Define to 1 if mkdtemp is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MKDTEMP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MKOSTEMP], [/* Define to 1 if mkostemp is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MKOSTEMP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MKOSTEMPS], [/* Define to 1 if mkostemps is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MKOSTEMPS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MKSTEMP], [/* Define to 1 if mkstemp is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MKSTEMP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MKSTEMPS], [/* Define to 1 if mkstemps is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MKSTEMPS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_PTSNAME], [/* Define to 1 if ptsname is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_PTSNAME]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_RANDOM_R], [/* Define to 1 if random_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_RANDOM_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_INITSTAT_R], [/* Define to 1 if initstat_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_INITSTAT_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SRANDOM_R], [/* Define to 1 if srandom_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SRANDOM_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SETSTATE_R], [/* Define to 1 if setstate_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SETSTATE_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_REALPATH], [/* Define to 1 if realpath is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_REALPATH]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_RPMATCH], [/* Define to 1 if rpmatch is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_RPMATCH]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SETENV], [/* Define to 1 if setenv is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SETENV]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOD], [/* Define to 1 if strtod is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRTOD]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOLL], [/* Define to 1 if strtoll is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRTOLL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOULL], [/* Define to 1 if strtoull is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRTOULL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_UNLOCKPT], [/* Define to 1 if unlockpt is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_UNLOCKPT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_UNSETENV], [/* Define to 1 if unsetenv is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_UNSETENV]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_STRCASECMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_STRCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_DECL_STRNCASECMP]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_DECL_STRNCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNCASECMP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */ +@%:@undef HAVE_STRCASECMP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */ +@%:@undef HAVE_STRNCASECMP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRNCASECMP$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNCASECMP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNCASECMP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_STRNCASECMP], [/* Define to 1 if you have the declaration of `strncasecmp\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_STRNCASECMP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRCHRNUL], [/* Define to 1 if you have the `strchrnul\' function. */ +@%:@undef HAVE_STRCHRNUL]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCHRNUL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRCHRNUL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRCHRNUL$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_STRCHRNUL], [/* Define to 1 when the gnulib module strchrnul should be tested. */ +@%:@undef GNULIB_TEST_STRCHRNUL]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_STRERROR], [/* Define to 1 if you have the declaration of `strerror\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_STRERROR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_SOCKET_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WINSOCK2_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_STRERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_STRERROR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([REPLACE_STRERROR], [/* Define this to 1 if strerror is broken. */ +@%:@undef REPLACE_STRERROR]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRERROR]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_STRERROR], [/* Define to 1 when the gnulib module strerror should be tested. */ +@%:@undef GNULIB_TEST_STRERROR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STRING_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_STRING_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_STRING_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STRING_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STRING_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STRING_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MEMMEM], [/* Define to 1 if memmem is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MEMMEM]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MEMPCPY], [/* Define to 1 if mempcpy is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MEMPCPY]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MEMRCHR], [/* Define to 1 if memrchr is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MEMRCHR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_RAWMEMCHR], [/* Define to 1 if rawmemchr is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_RAWMEMCHR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STPCPY], [/* Define to 1 if stpcpy is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STPCPY]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STPNCPY], [/* Define to 1 if stpncpy is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STPNCPY]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRCHRNUL], [/* Define to 1 if strchrnul is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRCHRNUL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRDUP], [/* Define to 1 if strdup is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRDUP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNCAT], [/* Define to 1 if strncat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRNCAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNDUP], [/* Define to 1 if strndup is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRNDUP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNLEN], [/* Define to 1 if strnlen is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRNLEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRPBRK], [/* Define to 1 if strpbrk is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRPBRK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRSEP], [/* Define to 1 if strsep is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRSEP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRCASESTR], [/* Define to 1 if strcasestr is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRCASESTR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRTOK_R], [/* Define to 1 if strtok_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRTOK_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRSIGNAL], [/* Define to 1 if strsignal is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRSIGNAL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRVERSCMP], [/* Define to 1 if strverscmp is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRVERSCMP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STRINGS_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_STRINGS_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_STRINGS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_STRINGS_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STRINGS_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STRINGS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRINGS_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRCASECMP], [/* Define to 1 if strcasecmp is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRCASECMP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_STRNCASECMP], [/* Define to 1 if strncasecmp is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_STRNCASECMP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_STRNDUP], [/* Define to 1 if you have the declaration of `strndup\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_STRNDUP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */ +@%:@undef HAVE_STRNDUP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNDUP]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_STRNDUP], [/* Define to 1 when the gnulib module strndup should be tested. */ +@%:@undef GNULIB_TEST_STRNDUP]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_STRNLEN], [/* Define to 1 if you have the declaration of `strnlen\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_STRNLEN]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNLEN]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_STRNLEN], [/* Define to 1 when the gnulib module strnlen should be tested. */ +@%:@undef GNULIB_TEST_STRNLEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYS_WAIT_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_SYS_WAIT_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_SYS_WAIT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYSEXITS_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYSEXITS_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SYSEXITS_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SYSEXITS_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_SYSEXITS_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_SYSEXITS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_SYSEXITS_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_SYSEXITS_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_SYSEXITS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SYSEXITS_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([SYSEXITS_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([SYSEXITS_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^SYSEXITS_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_UNISTD_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_UNISTD_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_UNISTD_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_UNISTD_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_UNISTD_H]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_UNISTD_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_UNISTD_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_CHOWN], [/* Define to 1 if chown is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_CHOWN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_DUP2], [/* Define to 1 if dup2 is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_DUP2]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_DUP3], [/* Define to 1 if dup3 is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_DUP3]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_ENVIRON], [/* Define to 1 if environ is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_ENVIRON]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_EUIDACCESS], [/* Define to 1 if euidaccess is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_EUIDACCESS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FACCESSAT], [/* Define to 1 if faccessat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FACCESSAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FCHDIR], [/* Define to 1 if fchdir is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FCHDIR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FCHOWNAT], [/* Define to 1 if fchownat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FCHOWNAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FSYNC], [/* Define to 1 if fsync is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FSYNC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_FTRUNCATE], [/* Define to 1 if ftruncate is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_FTRUNCATE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETCWD], [/* Define to 1 if getcwd is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETCWD]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETDOMAINNAME], [/* Define to 1 if getdomainname is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETDOMAINNAME]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETDTABLESIZE], [/* Define to 1 if getdtablesize is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETDTABLESIZE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETGROUPS], [/* Define to 1 if getgroups is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETGROUPS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETHOSTNAME], [/* Define to 1 if gethostname is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETHOSTNAME]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLOGIN], [/* Define to 1 if getlogin is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETLOGIN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETLOGIN_R], [/* Define to 1 if getlogin_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETLOGIN_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETPAGESIZE], [/* Define to 1 if getpagesize is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETPAGESIZE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_GETUSERSHELL], [/* Define to 1 if getusershell is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_GETUSERSHELL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SETUSERSHELL], [/* Define to 1 if setusershell is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SETUSERSHELL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_ENDUSERSHELL], [/* Define to 1 if endusershell is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_ENDUSERSHELL]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_LCHOWN], [/* Define to 1 if lchown is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_LCHOWN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_LINK], [/* Define to 1 if link is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_LINK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_LINKAT], [/* Define to 1 if linkat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_LINKAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_LSEEK], [/* Define to 1 if lseek is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_LSEEK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_PIPE2], [/* Define to 1 if pipe2 is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_PIPE2]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_PREAD], [/* Define to 1 if pread is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_PREAD]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_PWRITE], [/* Define to 1 if pwrite is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_PWRITE]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_READLINK], [/* Define to 1 if readlink is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_READLINK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_READLINKAT], [/* Define to 1 if readlinkat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_READLINKAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_RMDIR], [/* Define to 1 if rmdir is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_RMDIR]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SLEEP], [/* Define to 1 if sleep is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SLEEP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SYMLINK], [/* Define to 1 if symlink is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SYMLINK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_SYMLINKAT], [/* Define to 1 if symlinkat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_SYMLINKAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_TTYNAME_R], [/* Define to 1 if ttyname_r is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_TTYNAME_R]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_UNLINK], [/* Define to 1 if unlink is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_UNLINK]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_UNLINKAT], [/* Define to 1 if unlinkat is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_UNLINKAT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_USLEEP], [/* Define to 1 if usleep is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_USLEEP]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */ +@%:@undef HAVE_VASNPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */ +@%:@undef HAVE_VASNPRINTF]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */ +@%:@undef REPLACE_VASNPRINTF]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINT_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */ +@%:@undef HAVE_WINT_T]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^ptrdiff_t$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system + doesn\'t define it. */ +@%:@undef ptrdiff_t]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H_WITH_UINTMAX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_INTTYPES_H_WITH_UINTMAX], [/* Define if exists, doesn\'t clash with , and + declares uintmax_t. */ +@%:@undef HAVE_INTTYPES_H_WITH_UINTMAX]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H_WITH_UINTMAX]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDINT_H_WITH_UINTMAX], [/* Define if exists, doesn\'t clash with , and declares + uintmax_t. */ +@%:@undef HAVE_STDINT_H_WITH_UINTMAX]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTMAX_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_INTMAX_T], [/* Define if you have the \'intmax_t\' type in or . */ +@%:@undef HAVE_INTMAX_T]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([intmax_t]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^intmax_t$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([intmax_t], [/* Define to long or long long if and don\'t define. */ +@%:@undef intmax_t]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ +@%:@undef HAVE_SNPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the `strnlen\' function. */ +@%:@undef HAVE_STRNLEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCSLEN], [/* Define to 1 if you have the `wcslen\' function. */ +@%:@undef HAVE_WCSLEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCSNLEN], [/* Define to 1 if you have the `wcsnlen\' function. */ +@%:@undef HAVE_WCSNLEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ +@%:@undef HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */ +@%:@undef HAVE_WCRTOMB]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL__SNPRINTF], [/* Define to 1 if you have the declaration of `_snprintf\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL__SNPRINTF]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF_RETVAL_C99]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_SNPRINTF_RETVAL_C99], [/* Define if the return value of the snprintf function is the number of of + bytes (excluding the terminating NUL) that would have been produced if the + buffer had been large enough. */ +@%:@undef HAVE_SNPRINTF_RETVAL_C99]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* Define to 1 if you have the `vsnprintf\' function. */ +@%:@undef HAVE_VSNPRINTF]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VSNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_VSNPRINTF$]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_VSNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_VSNPRINTF], [/* Define to 1 if you have the declaration of `vsnprintf\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_VSNPRINTF]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_VSNPRINTF]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_VSNPRINTF$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_VSNPRINTF], [/* Define to 1 when the gnulib module vsnprintf should be tested. */ +@%:@undef GNULIB_TEST_VSNPRINTF]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WCHAR_H]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WCHAR_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_WCHAR_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_WCHAR_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_WCHAR_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WCHAR_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WCHAR_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WINT_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WINT_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINT_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_BTOWC], [/* Define to 1 if btowc is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_BTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_WCTOB], [/* Define to 1 if wctob is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_WCTOB]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MBSINIT], [/* Define to 1 if mbsinit is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MBSINIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MBRTOWC], [/* Define to 1 if mbrtowc is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MBRTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MBRLEN], [/* Define to 1 if mbrlen is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MBRLEN]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MBSRTOWCS], [/* Define to 1 if mbsrtowcs is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MBSRTOWCS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_MBSNRTOWCS], [/* Define to 1 if mbsnrtowcs is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_MBSNRTOWCS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_WCRTOMB], [/* Define to 1 if wcrtomb is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_WCRTOMB]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSRTOMBS], [/* Define to 1 if wcsrtombs is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_WCSRTOMBS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_WCSNRTOMBS], [/* Define to 1 if wcsnrtombs is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_WCSNRTOMBS]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_RAW_DECL_WCWIDTH], [/* Define to 1 if wcwidth is declared even after undefining macros. */ +@%:@undef HAVE_RAW_DECL_WCWIDTH]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */ +@%:@undef HAVE_MBSINIT]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */ +@%:@undef HAVE_MBRTOWC]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */ +@%:@undef HAVE_WCRTOMB]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCRTOMB]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([GNULIB_TEST_WCRTOMB], [/* Define to 1 when the gnulib module wcrtomb should be tested. */ +@%:@undef GNULIB_TEST_WCRTOMB]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ISWCNTRL], [/* Define to 1 if you have the `iswcntrl\' function. */ +@%:@undef HAVE_ISWCNTRL]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_ISWCNTRL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_ISWCNTRL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ISWCNTRL$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_ISWBLANK], [/* Define to 1 if you have the `iswblank\' function. */ +@%:@undef HAVE_ISWBLANK]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISWBLANK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_DECL_ISWBLANK$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_DECL_ISWBLANK], [/* Define to 1 if you have the declaration of `iswblank\', and to 0 if you + don\'t. */ +@%:@undef HAVE_DECL_ISWBLANK]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_ISWBLANK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_ISWBLANK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_ISWBLANK$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_ISWBLANK]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_ISWBLANK]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_ISWBLANK$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WCTYPE_H]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WINT_T]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WINT_T]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WINT_T$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_WCTYPE_H]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_WCTYPE_H], [AS_VAR_GET([gl_next_header])]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_WCTYPE_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_WCTYPE_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H], [$gl_next_as_first_directive]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([HAVE_WCTYPE_H]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([HAVE_WCTYPE_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_WCTYPE_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([REPLACE_ISWCNTRL]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([REPLACE_ISWCNTRL]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$]) +m4trace:configure.ac:318: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^HAVE_STDINT_H$]) +m4trace:configure.ac:318: -1- AC_SUBST([gltests_WITNESS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([gltests_WITNESS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^gltests_WITNESS$]) +m4trace:configure.ac:318: -1- AC_SUBST([LIBGNU_LIBDEPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LIBGNU_LIBDEPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LIBGNU_LIBDEPS$]) +m4trace:configure.ac:318: -1- AC_SUBST([LIBGNU_LTLIBDEPS]) +m4trace:configure.ac:318: -1- AC_SUBST_TRACE([LIBGNU_LTLIBDEPS]) +m4trace:configure.ac:318: -1- m4_pattern_allow([^LIBGNU_LTLIBDEPS$]) +m4trace:configure.ac:329: -1- AC_SUBST([TARGET_CC]) +m4trace:configure.ac:329: -1- AC_SUBST_TRACE([TARGET_CC]) +m4trace:configure.ac:329: -1- m4_pattern_allow([^TARGET_CC$]) +m4trace:configure.ac:329: -1- AC_SUBST([ac_ct_TARGET_CC]) +m4trace:configure.ac:329: -1- AC_SUBST_TRACE([ac_ct_TARGET_CC]) +m4trace:configure.ac:329: -1- m4_pattern_allow([^ac_ct_TARGET_CC$]) +m4trace:configure.ac:331: -1- AC_SUBST([OBJCOPY]) +m4trace:configure.ac:331: -1- AC_SUBST_TRACE([OBJCOPY]) +m4trace:configure.ac:331: -1- m4_pattern_allow([^OBJCOPY$]) +m4trace:configure.ac:332: -1- AC_SUBST([STRIP]) +m4trace:configure.ac:332: -1- AC_SUBST_TRACE([STRIP]) +m4trace:configure.ac:332: -1- m4_pattern_allow([^STRIP$]) +m4trace:configure.ac:333: -1- AC_SUBST([NM]) +m4trace:configure.ac:333: -1- AC_SUBST_TRACE([NM]) +m4trace:configure.ac:333: -1- m4_pattern_allow([^NM$]) +m4trace:configure.ac:340: -1- AC_SUBST([OBJCOPY]) +m4trace:configure.ac:340: -1- AC_SUBST_TRACE([OBJCOPY]) +m4trace:configure.ac:340: -1- m4_pattern_allow([^OBJCOPY$]) +m4trace:configure.ac:341: -1- AC_SUBST([STRIP]) +m4trace:configure.ac:341: -1- AC_SUBST_TRACE([STRIP]) +m4trace:configure.ac:341: -1- m4_pattern_allow([^STRIP$]) +m4trace:configure.ac:342: -1- AC_SUBST([NM]) +m4trace:configure.ac:342: -1- AC_SUBST_TRACE([NM]) +m4trace:configure.ac:342: -1- m4_pattern_allow([^NM$]) +m4trace:configure.ac:344: -1- AC_SUBST([HOST_CC]) +m4trace:configure.ac:344: -1- AC_SUBST_TRACE([HOST_CC]) +m4trace:configure.ac:344: -1- m4_pattern_allow([^HOST_CC$]) +m4trace:configure.ac:345: -1- AC_SUBST([BUILD_CC]) +m4trace:configure.ac:345: -1- AC_SUBST_TRACE([BUILD_CC]) +m4trace:configure.ac:345: -1- m4_pattern_allow([^BUILD_CC$]) +m4trace:configure.ac:346: -1- AC_SUBST([TARGET_CC]) +m4trace:configure.ac:346: -1- AC_SUBST_TRACE([TARGET_CC]) +m4trace:configure.ac:346: -1- m4_pattern_allow([^TARGET_CC$]) +m4trace:configure.ac:425: -1- AC_SUBST([OBJCONV]) +m4trace:configure.ac:425: -1- AC_SUBST_TRACE([OBJCONV]) +m4trace:configure.ac:425: -1- m4_pattern_allow([^OBJCONV$]) +m4trace:configure.ac:427: -1- AC_SUBST([OBJCONV]) +m4trace:configure.ac:427: -1- AC_SUBST_TRACE([OBJCONV]) +m4trace:configure.ac:427: -1- m4_pattern_allow([^OBJCONV$]) +m4trace:configure.ac:515: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:317: grub_CHECK_ENABLE_EXECUTE_STACK is expanded from... +configure.ac:515: the top level]) +m4trace:configure.ac:518: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:397: grub_CHECK_PIE is expanded from... +configure.ac:518: the top level]) +m4trace:configure.ac:526: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:344: grub_CHECK_STACK_PROTECTOR is expanded from... +configure.ac:526: the top level]) +m4trace:configure.ac:532: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... +acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from... +configure.ac:532: the top level]) +m4trace:configure.ac:549: -1- AC_SUBST([OBJCONV]) +m4trace:configure.ac:549: -1- AC_SUBST_TRACE([OBJCONV]) +m4trace:configure.ac:549: -1- m4_pattern_allow([^OBJCONV$]) +m4trace:configure.ac:550: -1- AC_SUBST([TARGET_CPP]) +m4trace:configure.ac:550: -1- AC_SUBST_TRACE([TARGET_CPP]) +m4trace:configure.ac:550: -1- m4_pattern_allow([^TARGET_CPP$]) +m4trace:configure.ac:551: -1- AC_SUBST([TARGET_CCAS]) +m4trace:configure.ac:551: -1- AC_SUBST_TRACE([TARGET_CCAS]) +m4trace:configure.ac:551: -1- m4_pattern_allow([^TARGET_CCAS$]) +m4trace:configure.ac:552: -1- AC_SUBST([TARGET_OBJ2ELF]) +m4trace:configure.ac:552: -1- AC_SUBST_TRACE([TARGET_OBJ2ELF]) +m4trace:configure.ac:552: -1- m4_pattern_allow([^TARGET_OBJ2ELF$]) +m4trace:configure.ac:553: -1- AC_SUBST([TARGET_APPLE_CC]) +m4trace:configure.ac:553: -1- AC_SUBST_TRACE([TARGET_APPLE_CC]) +m4trace:configure.ac:553: -1- m4_pattern_allow([^TARGET_APPLE_CC$]) +m4trace:configure.ac:554: -1- AC_SUBST([TARGET_MODULE_FORMAT]) +m4trace:configure.ac:554: -1- AC_SUBST_TRACE([TARGET_MODULE_FORMAT]) +m4trace:configure.ac:554: -1- m4_pattern_allow([^TARGET_MODULE_FORMAT$]) +m4trace:configure.ac:556: -1- AC_SUBST([TARGET_CFLAGS]) +m4trace:configure.ac:556: -1- AC_SUBST_TRACE([TARGET_CFLAGS]) +m4trace:configure.ac:556: -1- m4_pattern_allow([^TARGET_CFLAGS$]) +m4trace:configure.ac:557: -1- AC_SUBST([TARGET_LDFLAGS]) +m4trace:configure.ac:557: -1- AC_SUBST_TRACE([TARGET_LDFLAGS]) +m4trace:configure.ac:557: -1- m4_pattern_allow([^TARGET_LDFLAGS$]) +m4trace:configure.ac:558: -1- AC_SUBST([TARGET_CPPFLAGS]) +m4trace:configure.ac:558: -1- AC_SUBST_TRACE([TARGET_CPPFLAGS]) +m4trace:configure.ac:558: -1- m4_pattern_allow([^TARGET_CPPFLAGS$]) +m4trace:configure.ac:559: -1- AC_SUBST([TARGET_CCASFLAGS]) +m4trace:configure.ac:559: -1- AC_SUBST_TRACE([TARGET_CCASFLAGS]) +m4trace:configure.ac:559: -1- m4_pattern_allow([^TARGET_CCASFLAGS$]) +m4trace:configure.ac:561: -1- AC_SUBST([TARGET_IMG_LDSCRIPT]) +m4trace:configure.ac:561: -1- AC_SUBST_TRACE([TARGET_IMG_LDSCRIPT]) +m4trace:configure.ac:561: -1- m4_pattern_allow([^TARGET_IMG_LDSCRIPT$]) +m4trace:configure.ac:562: -1- AC_SUBST([TARGET_IMG_LDFLAGS]) +m4trace:configure.ac:562: -1- AC_SUBST_TRACE([TARGET_IMG_LDFLAGS]) +m4trace:configure.ac:562: -1- m4_pattern_allow([^TARGET_IMG_LDFLAGS$]) +m4trace:configure.ac:563: -1- AC_SUBST([TARGET_IMG_CFLAGS]) +m4trace:configure.ac:563: -1- AC_SUBST_TRACE([TARGET_IMG_CFLAGS]) +m4trace:configure.ac:563: -1- m4_pattern_allow([^TARGET_IMG_CFLAGS$]) +m4trace:configure.ac:564: -1- AC_SUBST([TARGET_IMG_BASE_LDOPT]) +m4trace:configure.ac:564: -1- AC_SUBST_TRACE([TARGET_IMG_BASE_LDOPT]) +m4trace:configure.ac:564: -1- m4_pattern_allow([^TARGET_IMG_BASE_LDOPT$]) +m4trace:configure.ac:566: -1- AC_SUBST([HOST_CFLAGS]) +m4trace:configure.ac:566: -1- AC_SUBST_TRACE([HOST_CFLAGS]) +m4trace:configure.ac:566: -1- m4_pattern_allow([^HOST_CFLAGS$]) +m4trace:configure.ac:567: -1- AC_SUBST([HOST_LDFLAGS]) +m4trace:configure.ac:567: -1- AC_SUBST_TRACE([HOST_LDFLAGS]) +m4trace:configure.ac:567: -1- m4_pattern_allow([^HOST_LDFLAGS$]) +m4trace:configure.ac:568: -1- AC_SUBST([HOST_CPPFLAGS]) +m4trace:configure.ac:568: -1- AC_SUBST_TRACE([HOST_CPPFLAGS]) +m4trace:configure.ac:568: -1- m4_pattern_allow([^HOST_CPPFLAGS$]) +m4trace:configure.ac:569: -1- AC_SUBST([HOST_CCASFLAGS]) +m4trace:configure.ac:569: -1- AC_SUBST_TRACE([HOST_CCASFLAGS]) +m4trace:configure.ac:569: -1- m4_pattern_allow([^HOST_CCASFLAGS$]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___BSWAPSI2], [/* Define to 1 if you have the `__bswapsi2\' function. */ +@%:@undef HAVE___BSWAPSI2]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___BSWAPDI2], [/* Define to 1 if you have the `__bswapdi2\' function. */ +@%:@undef HAVE___BSWAPDI2]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___ASHLDI3], [/* Define to 1 if you have the `__ashldi3\' function. */ +@%:@undef HAVE___ASHLDI3]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___ASHRDI3], [/* Define to 1 if you have the `__ashrdi3\' function. */ +@%:@undef HAVE___ASHRDI3]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___LSHRDI3], [/* Define to 1 if you have the `__lshrdi3\' function. */ +@%:@undef HAVE___LSHRDI3]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___TRAMPOLINE_SETUP], [/* Define to 1 if you have the `__trampoline_setup\' function. */ +@%:@undef HAVE___TRAMPOLINE_SETUP]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE___UCMPDI2], [/* Define to 1 if you have the `__ucmpdi2\' function. */ +@%:@undef HAVE___UCMPDI2]) +m4trace:configure.ac:593: -1- AH_OUTPUT([HAVE__RESTGPR_14_X], [/* Define to 1 if you have the `_restgpr_14_x\' function. */ +@%:@undef HAVE__RESTGPR_14_X]) +m4trace:configure.ac:653: -1- AC_SUBST([enable_efiemu]) +m4trace:configure.ac:653: -1- AC_SUBST_TRACE([enable_efiemu]) +m4trace:configure.ac:653: -1- m4_pattern_allow([^enable_efiemu$]) +m4trace:configure.ac:700: -1- AC_DEFINE_TRACE_LITERAL([MM_DEBUG]) +m4trace:configure.ac:700: -1- m4_pattern_allow([^MM_DEBUG$]) +m4trace:configure.ac:700: -1- AH_OUTPUT([MM_DEBUG], [/* Define to 1 if you enable memory manager debugging. */ +@%:@undef MM_DEBUG]) +m4trace:configure.ac:724: -1- AC_SUBST([LIBCURSES]) +m4trace:configure.ac:724: -1- AC_SUBST_TRACE([LIBCURSES]) +m4trace:configure.ac:724: -1- m4_pattern_allow([^LIBCURSES$]) +m4trace:configure.ac:727: -1- AH_OUTPUT([HAVE_NCURSES_CURSES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_NCURSES_CURSES_H]) +m4trace:configure.ac:727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_CURSES_H]) +m4trace:configure.ac:727: -1- m4_pattern_allow([^HAVE_NCURSES_CURSES_H$]) +m4trace:configure.ac:727: -1- AH_OUTPUT([HAVE_NCURSES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_NCURSES_H]) +m4trace:configure.ac:727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_H]) +m4trace:configure.ac:727: -1- m4_pattern_allow([^HAVE_NCURSES_H$]) +m4trace:configure.ac:727: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_CURSES_H]) +m4trace:configure.ac:727: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CURSES_H]) +m4trace:configure.ac:727: -1- m4_pattern_allow([^HAVE_CURSES_H$]) +m4trace:configure.ac:748: -1- AC_SUBST([LIBUSB]) +m4trace:configure.ac:748: -1- AC_SUBST_TRACE([LIBUSB]) +m4trace:configure.ac:748: -1- m4_pattern_allow([^LIBUSB$]) +m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_USB_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_USB_H]) +m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_USB_H]) +m4trace:configure.ac:752: -1- m4_pattern_allow([^HAVE_USB_H$]) +m4trace:configure.ac:771: -1- AC_SUBST([LIBSDL]) +m4trace:configure.ac:771: -1- AC_SUBST_TRACE([LIBSDL]) +m4trace:configure.ac:771: -1- m4_pattern_allow([^LIBSDL$]) +m4trace:configure.ac:776: -1- AH_OUTPUT([HAVE_SDL_SDL_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_SDL_SDL_H]) +m4trace:configure.ac:776: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SDL_SDL_H]) +m4trace:configure.ac:776: -1- m4_pattern_allow([^HAVE_SDL_SDL_H$]) +m4trace:configure.ac:801: -1- AC_SUBST([LIBPCIACCESS]) +m4trace:configure.ac:801: -1- AC_SUBST_TRACE([LIBPCIACCESS]) +m4trace:configure.ac:801: -1- m4_pattern_allow([^LIBPCIACCESS$]) +m4trace:configure.ac:805: -1- AH_OUTPUT([HAVE_PCI_PCI_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_PCI_PCI_H]) +m4trace:configure.ac:805: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PCI_PCI_H]) +m4trace:configure.ac:805: -1- m4_pattern_allow([^HAVE_PCI_PCI_H$]) +m4trace:configure.ac:816: -1- AC_SUBST([enable_grub_emu_sdl]) +m4trace:configure.ac:816: -1- AC_SUBST_TRACE([enable_grub_emu_sdl]) +m4trace:configure.ac:816: -1- m4_pattern_allow([^enable_grub_emu_sdl$]) +m4trace:configure.ac:817: -1- AC_SUBST([enable_grub_emu_usb]) +m4trace:configure.ac:817: -1- AC_SUBST_TRACE([enable_grub_emu_usb]) +m4trace:configure.ac:817: -1- m4_pattern_allow([^enable_grub_emu_usb$]) +m4trace:configure.ac:818: -1- AC_SUBST([enable_grub_emu_pci]) +m4trace:configure.ac:818: -1- AC_SUBST_TRACE([enable_grub_emu_pci]) +m4trace:configure.ac:818: -1- m4_pattern_allow([^enable_grub_emu_pci$]) +m4trace:configure.ac:830: -1- AC_SUBST([FREETYPE]) +m4trace:configure.ac:830: -1- AC_SUBST_TRACE([FREETYPE]) +m4trace:configure.ac:830: -1- m4_pattern_allow([^FREETYPE$]) +m4trace:configure.ac:842: -1- AH_OUTPUT([HAVE_FT2BUILD_H], [/* Define to 1 if you have the header file. */ +@%:@undef HAVE_FT2BUILD_H]) +m4trace:configure.ac:842: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FT2BUILD_H]) +m4trace:configure.ac:842: -1- m4_pattern_allow([^HAVE_FT2BUILD_H$]) +m4trace:configure.ac:855: -1- AC_SUBST([enable_grub_mkfont]) +m4trace:configure.ac:855: -1- AC_SUBST_TRACE([enable_grub_mkfont]) +m4trace:configure.ac:855: -1- m4_pattern_allow([^enable_grub_mkfont$]) +m4trace:configure.ac:856: -1- AC_SUBST([freetype_cflags]) +m4trace:configure.ac:856: -1- AC_SUBST_TRACE([freetype_cflags]) +m4trace:configure.ac:856: -1- m4_pattern_allow([^freetype_cflags$]) +m4trace:configure.ac:857: -1- AC_SUBST([freetype_libs]) +m4trace:configure.ac:857: -1- AC_SUBST_TRACE([freetype_libs]) +m4trace:configure.ac:857: -1- m4_pattern_allow([^freetype_libs$]) +m4trace:configure.ac:874: -1- AH_OUTPUT([HAVE_LIBDEVMAPPER], [/* Define to 1 if you have the `devmapper\' library (-ldevmapper). */ +@%:@undef HAVE_LIBDEVMAPPER]) +m4trace:configure.ac:874: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDEVMAPPER]) +m4trace:configure.ac:874: -1- m4_pattern_allow([^HAVE_LIBDEVMAPPER$]) +m4trace:configure.ac:880: -1- AH_OUTPUT([HAVE_LIBDEVMAPPER], [/* Define to 1 if you have the `devmapper\' library (-ldevmapper). */ +@%:@undef HAVE_LIBDEVMAPPER]) +m4trace:configure.ac:880: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDEVMAPPER]) +m4trace:configure.ac:880: -1- m4_pattern_allow([^HAVE_LIBDEVMAPPER$]) +m4trace:configure.ac:887: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEVICE_MAPPER]) +m4trace:configure.ac:887: -1- m4_pattern_allow([^HAVE_DEVICE_MAPPER$]) +m4trace:configure.ac:887: -1- AH_OUTPUT([HAVE_DEVICE_MAPPER], [/* Define to 1 if you have the devmapper library. */ +@%:@undef HAVE_DEVICE_MAPPER]) +m4trace:configure.ac:891: -1- AC_SUBST([LIBDEVMAPPER]) +m4trace:configure.ac:891: -1- AC_SUBST_TRACE([LIBDEVMAPPER]) +m4trace:configure.ac:891: -1- m4_pattern_allow([^LIBDEVMAPPER$]) +m4trace:configure.ac:895: -1- AH_OUTPUT([HAVE_LIBGEOM], [/* Define to 1 if you have the `geom\' library (-lgeom). */ +@%:@undef HAVE_LIBGEOM]) +m4trace:configure.ac:895: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEOM]) +m4trace:configure.ac:895: -1- m4_pattern_allow([^HAVE_LIBGEOM$]) +m4trace:configure.ac:900: -1- AC_SUBST([LIBGEOM]) +m4trace:configure.ac:900: -1- AC_SUBST_TRACE([LIBGEOM]) +m4trace:configure.ac:900: -1- m4_pattern_allow([^LIBGEOM$]) +m4trace:configure.ac:902: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBLZMA]) +m4trace:configure.ac:902: -1- m4_pattern_allow([^HAVE_LIBLZMA$]) +m4trace:configure.ac:902: -1- AH_OUTPUT([HAVE_LIBLZMA], [/* Define to 1 if you have the LZMA library. */ +@%:@undef HAVE_LIBLZMA]) +m4trace:configure.ac:906: -1- AC_SUBST([LIBLZMA]) +m4trace:configure.ac:906: -1- AC_SUBST_TRACE([LIBLZMA]) +m4trace:configure.ac:906: -1- m4_pattern_allow([^LIBLZMA$]) +m4trace:configure.ac:908: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZFS]) +m4trace:configure.ac:908: -1- m4_pattern_allow([^HAVE_LIBZFS$]) +m4trace:configure.ac:908: -1- AH_OUTPUT([HAVE_LIBZFS], [/* Define to 1 if you have the ZFS library. */ +@%:@undef HAVE_LIBZFS]) +m4trace:configure.ac:912: -1- AC_SUBST([LIBZFS]) +m4trace:configure.ac:912: -1- AC_SUBST_TRACE([LIBZFS]) +m4trace:configure.ac:912: -1- m4_pattern_allow([^LIBZFS$]) +m4trace:configure.ac:914: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNVPAIR]) +m4trace:configure.ac:914: -1- m4_pattern_allow([^HAVE_LIBNVPAIR$]) +m4trace:configure.ac:914: -1- AH_OUTPUT([HAVE_LIBNVPAIR], [/* Define to 1 if you have the NVPAIR library. */ +@%:@undef HAVE_LIBNVPAIR]) +m4trace:configure.ac:918: -1- AC_SUBST([LIBNVPAIR]) +m4trace:configure.ac:918: -1- AC_SUBST_TRACE([LIBNVPAIR]) +m4trace:configure.ac:918: -1- m4_pattern_allow([^LIBNVPAIR$]) +m4trace:configure.ac:923: -1- AC_SUBST([pkglibrootdir]) +m4trace:configure.ac:923: -1- AC_SUBST_TRACE([pkglibrootdir]) +m4trace:configure.ac:923: -1- m4_pattern_allow([^pkglibrootdir$]) +m4trace:configure.ac:925: -1- AC_SUBST([FONT_SOURCE]) +m4trace:configure.ac:925: -1- AC_SUBST_TRACE([FONT_SOURCE]) +m4trace:configure.ac:925: -1- m4_pattern_allow([^FONT_SOURCE$]) +m4trace:configure.ac:926: -1- AC_SUBST([GRUB_BOOT_MACHINE_LINK_ADDR], [0xffe00]) +m4trace:configure.ac:926: -1- AC_SUBST_TRACE([GRUB_BOOT_MACHINE_LINK_ADDR]) +m4trace:configure.ac:926: -1- m4_pattern_allow([^GRUB_BOOT_MACHINE_LINK_ADDR$]) +m4trace:configure.ac:928: -1- AC_SUBST([USE_APPLE_CC_FIXES], [yes]) +m4trace:configure.ac:928: -1- AC_SUBST_TRACE([USE_APPLE_CC_FIXES]) +m4trace:configure.ac:928: -1- m4_pattern_allow([^USE_APPLE_CC_FIXES$]) +m4trace:configure.ac:931: -1- AC_SUBST([HAVE_ASM_USCORE]) +m4trace:configure.ac:931: -1- AC_SUBST_TRACE([HAVE_ASM_USCORE]) +m4trace:configure.ac:931: -1- m4_pattern_allow([^HAVE_ASM_USCORE$]) +m4trace:configure.ac:932: -1- AC_SUBST([ADDR32]) +m4trace:configure.ac:932: -1- AC_SUBST_TRACE([ADDR32]) +m4trace:configure.ac:932: -1- m4_pattern_allow([^ADDR32$]) +m4trace:configure.ac:933: -1- AC_SUBST([DATA32]) +m4trace:configure.ac:933: -1- AC_SUBST_TRACE([DATA32]) +m4trace:configure.ac:933: -1- m4_pattern_allow([^DATA32$]) +m4trace:configure.ac:934: -1- AC_SUBST([BSS_START_SYMBOL]) +m4trace:configure.ac:934: -1- AC_SUBST_TRACE([BSS_START_SYMBOL]) +m4trace:configure.ac:934: -1- m4_pattern_allow([^BSS_START_SYMBOL$]) +m4trace:configure.ac:935: -1- AC_SUBST([END_SYMBOL]) +m4trace:configure.ac:935: -1- AC_SUBST_TRACE([END_SYMBOL]) +m4trace:configure.ac:935: -1- m4_pattern_allow([^END_SYMBOL$]) +m4trace:configure.ac:936: -1- AC_SUBST([PACKAGE]) +m4trace:configure.ac:936: -1- AC_SUBST_TRACE([PACKAGE]) +m4trace:configure.ac:936: -1- m4_pattern_allow([^PACKAGE$]) +m4trace:configure.ac:937: -1- AC_SUBST([VERSION]) +m4trace:configure.ac:937: -1- AC_SUBST_TRACE([VERSION]) +m4trace:configure.ac:937: -1- m4_pattern_allow([^VERSION$]) +m4trace:configure.ac:938: -1- AC_SUBST([NEED_ENABLE_EXECUTE_STACK]) +m4trace:configure.ac:938: -1- AC_SUBST_TRACE([NEED_ENABLE_EXECUTE_STACK]) +m4trace:configure.ac:938: -1- m4_pattern_allow([^NEED_ENABLE_EXECUTE_STACK$]) +m4trace:configure.ac:939: -1- AC_SUBST([NEED_REGISTER_FRAME_INFO]) +m4trace:configure.ac:939: -1- AC_SUBST_TRACE([NEED_REGISTER_FRAME_INFO]) +m4trace:configure.ac:939: -1- m4_pattern_allow([^NEED_REGISTER_FRAME_INFO$]) +m4trace:configure.ac:945: -1- AM_CONDITIONAL([COND_emu], [test x$platform = xemu]) +m4trace:configure.ac:945: -1- AC_SUBST([COND_emu_TRUE]) +m4trace:configure.ac:945: -1- AC_SUBST_TRACE([COND_emu_TRUE]) +m4trace:configure.ac:945: -1- m4_pattern_allow([^COND_emu_TRUE$]) +m4trace:configure.ac:945: -1- AC_SUBST([COND_emu_FALSE]) +m4trace:configure.ac:945: -1- AC_SUBST_TRACE([COND_emu_FALSE]) +m4trace:configure.ac:945: -1- m4_pattern_allow([^COND_emu_FALSE$]) +m4trace:configure.ac:945: -1- _AM_SUBST_NOTMAKE([COND_emu_TRUE]) +m4trace:configure.ac:945: -1- _AM_SUBST_NOTMAKE([COND_emu_FALSE]) +m4trace:configure.ac:946: -1- AM_CONDITIONAL([COND_i386_pc], [test x$target_cpu = xi386 -a x$platform = xpc]) +m4trace:configure.ac:946: -1- AC_SUBST([COND_i386_pc_TRUE]) +m4trace:configure.ac:946: -1- AC_SUBST_TRACE([COND_i386_pc_TRUE]) +m4trace:configure.ac:946: -1- m4_pattern_allow([^COND_i386_pc_TRUE$]) +m4trace:configure.ac:946: -1- AC_SUBST([COND_i386_pc_FALSE]) +m4trace:configure.ac:946: -1- AC_SUBST_TRACE([COND_i386_pc_FALSE]) +m4trace:configure.ac:946: -1- m4_pattern_allow([^COND_i386_pc_FALSE$]) +m4trace:configure.ac:946: -1- _AM_SUBST_NOTMAKE([COND_i386_pc_TRUE]) +m4trace:configure.ac:946: -1- _AM_SUBST_NOTMAKE([COND_i386_pc_FALSE]) +m4trace:configure.ac:947: -1- AM_CONDITIONAL([COND_i386_efi], [test x$target_cpu = xi386 -a x$platform = xefi]) +m4trace:configure.ac:947: -1- AC_SUBST([COND_i386_efi_TRUE]) +m4trace:configure.ac:947: -1- AC_SUBST_TRACE([COND_i386_efi_TRUE]) +m4trace:configure.ac:947: -1- m4_pattern_allow([^COND_i386_efi_TRUE$]) +m4trace:configure.ac:947: -1- AC_SUBST([COND_i386_efi_FALSE]) +m4trace:configure.ac:947: -1- AC_SUBST_TRACE([COND_i386_efi_FALSE]) +m4trace:configure.ac:947: -1- m4_pattern_allow([^COND_i386_efi_FALSE$]) +m4trace:configure.ac:947: -1- _AM_SUBST_NOTMAKE([COND_i386_efi_TRUE]) +m4trace:configure.ac:947: -1- _AM_SUBST_NOTMAKE([COND_i386_efi_FALSE]) +m4trace:configure.ac:948: -1- AM_CONDITIONAL([COND_i386_qemu], [test x$target_cpu = xi386 -a x$platform = xqemu]) +m4trace:configure.ac:948: -1- AC_SUBST([COND_i386_qemu_TRUE]) +m4trace:configure.ac:948: -1- AC_SUBST_TRACE([COND_i386_qemu_TRUE]) +m4trace:configure.ac:948: -1- m4_pattern_allow([^COND_i386_qemu_TRUE$]) +m4trace:configure.ac:948: -1- AC_SUBST([COND_i386_qemu_FALSE]) +m4trace:configure.ac:948: -1- AC_SUBST_TRACE([COND_i386_qemu_FALSE]) +m4trace:configure.ac:948: -1- m4_pattern_allow([^COND_i386_qemu_FALSE$]) +m4trace:configure.ac:948: -1- _AM_SUBST_NOTMAKE([COND_i386_qemu_TRUE]) +m4trace:configure.ac:948: -1- _AM_SUBST_NOTMAKE([COND_i386_qemu_FALSE]) +m4trace:configure.ac:949: -1- AM_CONDITIONAL([COND_i386_ieee1275], [test x$target_cpu = xi386 -a x$platform = xieee1275]) +m4trace:configure.ac:949: -1- AC_SUBST([COND_i386_ieee1275_TRUE]) +m4trace:configure.ac:949: -1- AC_SUBST_TRACE([COND_i386_ieee1275_TRUE]) +m4trace:configure.ac:949: -1- m4_pattern_allow([^COND_i386_ieee1275_TRUE$]) +m4trace:configure.ac:949: -1- AC_SUBST([COND_i386_ieee1275_FALSE]) +m4trace:configure.ac:949: -1- AC_SUBST_TRACE([COND_i386_ieee1275_FALSE]) +m4trace:configure.ac:949: -1- m4_pattern_allow([^COND_i386_ieee1275_FALSE$]) +m4trace:configure.ac:949: -1- _AM_SUBST_NOTMAKE([COND_i386_ieee1275_TRUE]) +m4trace:configure.ac:949: -1- _AM_SUBST_NOTMAKE([COND_i386_ieee1275_FALSE]) +m4trace:configure.ac:950: -1- AM_CONDITIONAL([COND_i386_coreboot], [test x$target_cpu = xi386 -a x$platform = xcoreboot]) +m4trace:configure.ac:950: -1- AC_SUBST([COND_i386_coreboot_TRUE]) +m4trace:configure.ac:950: -1- AC_SUBST_TRACE([COND_i386_coreboot_TRUE]) +m4trace:configure.ac:950: -1- m4_pattern_allow([^COND_i386_coreboot_TRUE$]) +m4trace:configure.ac:950: -1- AC_SUBST([COND_i386_coreboot_FALSE]) +m4trace:configure.ac:950: -1- AC_SUBST_TRACE([COND_i386_coreboot_FALSE]) +m4trace:configure.ac:950: -1- m4_pattern_allow([^COND_i386_coreboot_FALSE$]) +m4trace:configure.ac:950: -1- _AM_SUBST_NOTMAKE([COND_i386_coreboot_TRUE]) +m4trace:configure.ac:950: -1- _AM_SUBST_NOTMAKE([COND_i386_coreboot_FALSE]) +m4trace:configure.ac:951: -1- AM_CONDITIONAL([COND_i386_multiboot], [test x$target_cpu = xi386 -a x$platform = xmultiboot]) +m4trace:configure.ac:951: -1- AC_SUBST([COND_i386_multiboot_TRUE]) +m4trace:configure.ac:951: -1- AC_SUBST_TRACE([COND_i386_multiboot_TRUE]) +m4trace:configure.ac:951: -1- m4_pattern_allow([^COND_i386_multiboot_TRUE$]) +m4trace:configure.ac:951: -1- AC_SUBST([COND_i386_multiboot_FALSE]) +m4trace:configure.ac:951: -1- AC_SUBST_TRACE([COND_i386_multiboot_FALSE]) +m4trace:configure.ac:951: -1- m4_pattern_allow([^COND_i386_multiboot_FALSE$]) +m4trace:configure.ac:951: -1- _AM_SUBST_NOTMAKE([COND_i386_multiboot_TRUE]) +m4trace:configure.ac:951: -1- _AM_SUBST_NOTMAKE([COND_i386_multiboot_FALSE]) +m4trace:configure.ac:952: -1- AM_CONDITIONAL([COND_x86_64_efi], [test x$target_cpu = xx86_64 -a x$platform = xefi]) +m4trace:configure.ac:952: -1- AC_SUBST([COND_x86_64_efi_TRUE]) +m4trace:configure.ac:952: -1- AC_SUBST_TRACE([COND_x86_64_efi_TRUE]) +m4trace:configure.ac:952: -1- m4_pattern_allow([^COND_x86_64_efi_TRUE$]) +m4trace:configure.ac:952: -1- AC_SUBST([COND_x86_64_efi_FALSE]) +m4trace:configure.ac:952: -1- AC_SUBST_TRACE([COND_x86_64_efi_FALSE]) +m4trace:configure.ac:952: -1- m4_pattern_allow([^COND_x86_64_efi_FALSE$]) +m4trace:configure.ac:952: -1- _AM_SUBST_NOTMAKE([COND_x86_64_efi_TRUE]) +m4trace:configure.ac:952: -1- _AM_SUBST_NOTMAKE([COND_x86_64_efi_FALSE]) +m4trace:configure.ac:953: -1- AM_CONDITIONAL([COND_mips_yeeloong], [test x$target_cpu = xmips -a x$platform = xyeeloong]) +m4trace:configure.ac:953: -1- AC_SUBST([COND_mips_yeeloong_TRUE]) +m4trace:configure.ac:953: -1- AC_SUBST_TRACE([COND_mips_yeeloong_TRUE]) +m4trace:configure.ac:953: -1- m4_pattern_allow([^COND_mips_yeeloong_TRUE$]) +m4trace:configure.ac:953: -1- AC_SUBST([COND_mips_yeeloong_FALSE]) +m4trace:configure.ac:953: -1- AC_SUBST_TRACE([COND_mips_yeeloong_FALSE]) +m4trace:configure.ac:953: -1- m4_pattern_allow([^COND_mips_yeeloong_FALSE$]) +m4trace:configure.ac:953: -1- _AM_SUBST_NOTMAKE([COND_mips_yeeloong_TRUE]) +m4trace:configure.ac:953: -1- _AM_SUBST_NOTMAKE([COND_mips_yeeloong_FALSE]) +m4trace:configure.ac:954: -1- AM_CONDITIONAL([COND_mips_qemu_mips], [test x$target_cpu = xmips -a x$platform = xqemu_mips]) +m4trace:configure.ac:954: -1- AC_SUBST([COND_mips_qemu_mips_TRUE]) +m4trace:configure.ac:954: -1- AC_SUBST_TRACE([COND_mips_qemu_mips_TRUE]) +m4trace:configure.ac:954: -1- m4_pattern_allow([^COND_mips_qemu_mips_TRUE$]) +m4trace:configure.ac:954: -1- AC_SUBST([COND_mips_qemu_mips_FALSE]) +m4trace:configure.ac:954: -1- AC_SUBST_TRACE([COND_mips_qemu_mips_FALSE]) +m4trace:configure.ac:954: -1- m4_pattern_allow([^COND_mips_qemu_mips_FALSE$]) +m4trace:configure.ac:954: -1- _AM_SUBST_NOTMAKE([COND_mips_qemu_mips_TRUE]) +m4trace:configure.ac:954: -1- _AM_SUBST_NOTMAKE([COND_mips_qemu_mips_FALSE]) +m4trace:configure.ac:955: -1- AM_CONDITIONAL([COND_sparc64_ieee1275], [test x$target_cpu = xsparc64 -a x$platform = xieee1275]) +m4trace:configure.ac:955: -1- AC_SUBST([COND_sparc64_ieee1275_TRUE]) +m4trace:configure.ac:955: -1- AC_SUBST_TRACE([COND_sparc64_ieee1275_TRUE]) +m4trace:configure.ac:955: -1- m4_pattern_allow([^COND_sparc64_ieee1275_TRUE$]) +m4trace:configure.ac:955: -1- AC_SUBST([COND_sparc64_ieee1275_FALSE]) +m4trace:configure.ac:955: -1- AC_SUBST_TRACE([COND_sparc64_ieee1275_FALSE]) +m4trace:configure.ac:955: -1- m4_pattern_allow([^COND_sparc64_ieee1275_FALSE$]) +m4trace:configure.ac:955: -1- _AM_SUBST_NOTMAKE([COND_sparc64_ieee1275_TRUE]) +m4trace:configure.ac:955: -1- _AM_SUBST_NOTMAKE([COND_sparc64_ieee1275_FALSE]) +m4trace:configure.ac:956: -1- AM_CONDITIONAL([COND_powerpc_ieee1275], [test x$target_cpu = xpowerpc -a x$platform = xieee1275]) +m4trace:configure.ac:956: -1- AC_SUBST([COND_powerpc_ieee1275_TRUE]) +m4trace:configure.ac:956: -1- AC_SUBST_TRACE([COND_powerpc_ieee1275_TRUE]) +m4trace:configure.ac:956: -1- m4_pattern_allow([^COND_powerpc_ieee1275_TRUE$]) +m4trace:configure.ac:956: -1- AC_SUBST([COND_powerpc_ieee1275_FALSE]) +m4trace:configure.ac:956: -1- AC_SUBST_TRACE([COND_powerpc_ieee1275_FALSE]) +m4trace:configure.ac:956: -1- m4_pattern_allow([^COND_powerpc_ieee1275_FALSE$]) +m4trace:configure.ac:956: -1- _AM_SUBST_NOTMAKE([COND_powerpc_ieee1275_TRUE]) +m4trace:configure.ac:956: -1- _AM_SUBST_NOTMAKE([COND_powerpc_ieee1275_FALSE]) +m4trace:configure.ac:957: -1- AM_CONDITIONAL([COND_mips], [test x$target_cpu = xmips]) +m4trace:configure.ac:957: -1- AC_SUBST([COND_mips_TRUE]) +m4trace:configure.ac:957: -1- AC_SUBST_TRACE([COND_mips_TRUE]) +m4trace:configure.ac:957: -1- m4_pattern_allow([^COND_mips_TRUE$]) +m4trace:configure.ac:957: -1- AC_SUBST([COND_mips_FALSE]) +m4trace:configure.ac:957: -1- AC_SUBST_TRACE([COND_mips_FALSE]) +m4trace:configure.ac:957: -1- m4_pattern_allow([^COND_mips_FALSE$]) +m4trace:configure.ac:957: -1- _AM_SUBST_NOTMAKE([COND_mips_TRUE]) +m4trace:configure.ac:957: -1- _AM_SUBST_NOTMAKE([COND_mips_FALSE]) +m4trace:configure.ac:959: -1- AM_CONDITIONAL([COND_HOST_HURD], [test x$host_kernel = xhurd]) +m4trace:configure.ac:959: -1- AC_SUBST([COND_HOST_HURD_TRUE]) +m4trace:configure.ac:959: -1- AC_SUBST_TRACE([COND_HOST_HURD_TRUE]) +m4trace:configure.ac:959: -1- m4_pattern_allow([^COND_HOST_HURD_TRUE$]) +m4trace:configure.ac:959: -1- AC_SUBST([COND_HOST_HURD_FALSE]) +m4trace:configure.ac:959: -1- AC_SUBST_TRACE([COND_HOST_HURD_FALSE]) +m4trace:configure.ac:959: -1- m4_pattern_allow([^COND_HOST_HURD_FALSE$]) +m4trace:configure.ac:959: -1- _AM_SUBST_NOTMAKE([COND_HOST_HURD_TRUE]) +m4trace:configure.ac:959: -1- _AM_SUBST_NOTMAKE([COND_HOST_HURD_FALSE]) +m4trace:configure.ac:960: -1- AM_CONDITIONAL([COND_HOST_LINUX], [test x$host_kernel = xlinux]) +m4trace:configure.ac:960: -1- AC_SUBST([COND_HOST_LINUX_TRUE]) +m4trace:configure.ac:960: -1- AC_SUBST_TRACE([COND_HOST_LINUX_TRUE]) +m4trace:configure.ac:960: -1- m4_pattern_allow([^COND_HOST_LINUX_TRUE$]) +m4trace:configure.ac:960: -1- AC_SUBST([COND_HOST_LINUX_FALSE]) +m4trace:configure.ac:960: -1- AC_SUBST_TRACE([COND_HOST_LINUX_FALSE]) +m4trace:configure.ac:960: -1- m4_pattern_allow([^COND_HOST_LINUX_FALSE$]) +m4trace:configure.ac:960: -1- _AM_SUBST_NOTMAKE([COND_HOST_LINUX_TRUE]) +m4trace:configure.ac:960: -1- _AM_SUBST_NOTMAKE([COND_HOST_LINUX_FALSE]) +m4trace:configure.ac:961: -1- AM_CONDITIONAL([COND_HOST_NETBSD], [test x$host_kernel = xnetbsd]) +m4trace:configure.ac:961: -1- AC_SUBST([COND_HOST_NETBSD_TRUE]) +m4trace:configure.ac:961: -1- AC_SUBST_TRACE([COND_HOST_NETBSD_TRUE]) +m4trace:configure.ac:961: -1- m4_pattern_allow([^COND_HOST_NETBSD_TRUE$]) +m4trace:configure.ac:961: -1- AC_SUBST([COND_HOST_NETBSD_FALSE]) +m4trace:configure.ac:961: -1- AC_SUBST_TRACE([COND_HOST_NETBSD_FALSE]) +m4trace:configure.ac:961: -1- m4_pattern_allow([^COND_HOST_NETBSD_FALSE$]) +m4trace:configure.ac:961: -1- _AM_SUBST_NOTMAKE([COND_HOST_NETBSD_TRUE]) +m4trace:configure.ac:961: -1- _AM_SUBST_NOTMAKE([COND_HOST_NETBSD_FALSE]) +m4trace:configure.ac:962: -1- AM_CONDITIONAL([COND_HOST_WINDOWS], [test x$host_kernel = xwindows]) +m4trace:configure.ac:962: -1- AC_SUBST([COND_HOST_WINDOWS_TRUE]) +m4trace:configure.ac:962: -1- AC_SUBST_TRACE([COND_HOST_WINDOWS_TRUE]) +m4trace:configure.ac:962: -1- m4_pattern_allow([^COND_HOST_WINDOWS_TRUE$]) +m4trace:configure.ac:962: -1- AC_SUBST([COND_HOST_WINDOWS_FALSE]) +m4trace:configure.ac:962: -1- AC_SUBST_TRACE([COND_HOST_WINDOWS_FALSE]) +m4trace:configure.ac:962: -1- m4_pattern_allow([^COND_HOST_WINDOWS_FALSE$]) +m4trace:configure.ac:962: -1- _AM_SUBST_NOTMAKE([COND_HOST_WINDOWS_TRUE]) +m4trace:configure.ac:962: -1- _AM_SUBST_NOTMAKE([COND_HOST_WINDOWS_FALSE]) +m4trace:configure.ac:963: -1- AM_CONDITIONAL([COND_HOST_KFREEBSD], [test x$host_kernel = xkfreebsd]) +m4trace:configure.ac:963: -1- AC_SUBST([COND_HOST_KFREEBSD_TRUE]) +m4trace:configure.ac:963: -1- AC_SUBST_TRACE([COND_HOST_KFREEBSD_TRUE]) +m4trace:configure.ac:963: -1- m4_pattern_allow([^COND_HOST_KFREEBSD_TRUE$]) +m4trace:configure.ac:963: -1- AC_SUBST([COND_HOST_KFREEBSD_FALSE]) +m4trace:configure.ac:963: -1- AC_SUBST_TRACE([COND_HOST_KFREEBSD_FALSE]) +m4trace:configure.ac:963: -1- m4_pattern_allow([^COND_HOST_KFREEBSD_FALSE$]) +m4trace:configure.ac:963: -1- _AM_SUBST_NOTMAKE([COND_HOST_KFREEBSD_TRUE]) +m4trace:configure.ac:963: -1- _AM_SUBST_NOTMAKE([COND_HOST_KFREEBSD_FALSE]) +m4trace:configure.ac:965: -1- AM_CONDITIONAL([COND_MAN_PAGES], [test x$cross_compiling = xno -a x$HELP2MAN != x]) +m4trace:configure.ac:965: -1- AC_SUBST([COND_MAN_PAGES_TRUE]) +m4trace:configure.ac:965: -1- AC_SUBST_TRACE([COND_MAN_PAGES_TRUE]) +m4trace:configure.ac:965: -1- m4_pattern_allow([^COND_MAN_PAGES_TRUE$]) +m4trace:configure.ac:965: -1- AC_SUBST([COND_MAN_PAGES_FALSE]) +m4trace:configure.ac:965: -1- AC_SUBST_TRACE([COND_MAN_PAGES_FALSE]) +m4trace:configure.ac:965: -1- m4_pattern_allow([^COND_MAN_PAGES_FALSE$]) +m4trace:configure.ac:965: -1- _AM_SUBST_NOTMAKE([COND_MAN_PAGES_TRUE]) +m4trace:configure.ac:965: -1- _AM_SUBST_NOTMAKE([COND_MAN_PAGES_FALSE]) +m4trace:configure.ac:966: -1- AM_CONDITIONAL([COND_GRUB_EMU_USB], [test x$enable_grub_emu_usb = xyes]) +m4trace:configure.ac:966: -1- AC_SUBST([COND_GRUB_EMU_USB_TRUE]) +m4trace:configure.ac:966: -1- AC_SUBST_TRACE([COND_GRUB_EMU_USB_TRUE]) +m4trace:configure.ac:966: -1- m4_pattern_allow([^COND_GRUB_EMU_USB_TRUE$]) +m4trace:configure.ac:966: -1- AC_SUBST([COND_GRUB_EMU_USB_FALSE]) +m4trace:configure.ac:966: -1- AC_SUBST_TRACE([COND_GRUB_EMU_USB_FALSE]) +m4trace:configure.ac:966: -1- m4_pattern_allow([^COND_GRUB_EMU_USB_FALSE$]) +m4trace:configure.ac:966: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_USB_TRUE]) +m4trace:configure.ac:966: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_USB_FALSE]) +m4trace:configure.ac:967: -1- AM_CONDITIONAL([COND_GRUB_EMU_SDL], [test x$enable_grub_emu_sdl = xyes]) +m4trace:configure.ac:967: -1- AC_SUBST([COND_GRUB_EMU_SDL_TRUE]) +m4trace:configure.ac:967: -1- AC_SUBST_TRACE([COND_GRUB_EMU_SDL_TRUE]) +m4trace:configure.ac:967: -1- m4_pattern_allow([^COND_GRUB_EMU_SDL_TRUE$]) +m4trace:configure.ac:967: -1- AC_SUBST([COND_GRUB_EMU_SDL_FALSE]) +m4trace:configure.ac:967: -1- AC_SUBST_TRACE([COND_GRUB_EMU_SDL_FALSE]) +m4trace:configure.ac:967: -1- m4_pattern_allow([^COND_GRUB_EMU_SDL_FALSE$]) +m4trace:configure.ac:967: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_SDL_TRUE]) +m4trace:configure.ac:967: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_SDL_FALSE]) +m4trace:configure.ac:968: -1- AM_CONDITIONAL([COND_GRUB_EMU_PCI], [test x$enable_grub_emu_pci = xyes]) +m4trace:configure.ac:968: -1- AC_SUBST([COND_GRUB_EMU_PCI_TRUE]) +m4trace:configure.ac:968: -1- AC_SUBST_TRACE([COND_GRUB_EMU_PCI_TRUE]) +m4trace:configure.ac:968: -1- m4_pattern_allow([^COND_GRUB_EMU_PCI_TRUE$]) +m4trace:configure.ac:968: -1- AC_SUBST([COND_GRUB_EMU_PCI_FALSE]) +m4trace:configure.ac:968: -1- AC_SUBST_TRACE([COND_GRUB_EMU_PCI_FALSE]) +m4trace:configure.ac:968: -1- m4_pattern_allow([^COND_GRUB_EMU_PCI_FALSE$]) +m4trace:configure.ac:968: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_PCI_TRUE]) +m4trace:configure.ac:968: -1- _AM_SUBST_NOTMAKE([COND_GRUB_EMU_PCI_FALSE]) +m4trace:configure.ac:969: -1- AM_CONDITIONAL([COND_GRUB_MKFONT], [test x$enable_grub_mkfont = xyes]) +m4trace:configure.ac:969: -1- AC_SUBST([COND_GRUB_MKFONT_TRUE]) +m4trace:configure.ac:969: -1- AC_SUBST_TRACE([COND_GRUB_MKFONT_TRUE]) +m4trace:configure.ac:969: -1- m4_pattern_allow([^COND_GRUB_MKFONT_TRUE$]) +m4trace:configure.ac:969: -1- AC_SUBST([COND_GRUB_MKFONT_FALSE]) +m4trace:configure.ac:969: -1- AC_SUBST_TRACE([COND_GRUB_MKFONT_FALSE]) +m4trace:configure.ac:969: -1- m4_pattern_allow([^COND_GRUB_MKFONT_FALSE$]) +m4trace:configure.ac:969: -1- _AM_SUBST_NOTMAKE([COND_GRUB_MKFONT_TRUE]) +m4trace:configure.ac:969: -1- _AM_SUBST_NOTMAKE([COND_GRUB_MKFONT_FALSE]) +m4trace:configure.ac:970: -1- AM_CONDITIONAL([COND_HAVE_FONT_SOURCE], [test x$FONT_SOURCE != x]) +m4trace:configure.ac:970: -1- AC_SUBST([COND_HAVE_FONT_SOURCE_TRUE]) +m4trace:configure.ac:970: -1- AC_SUBST_TRACE([COND_HAVE_FONT_SOURCE_TRUE]) +m4trace:configure.ac:970: -1- m4_pattern_allow([^COND_HAVE_FONT_SOURCE_TRUE$]) +m4trace:configure.ac:970: -1- AC_SUBST([COND_HAVE_FONT_SOURCE_FALSE]) +m4trace:configure.ac:970: -1- AC_SUBST_TRACE([COND_HAVE_FONT_SOURCE_FALSE]) +m4trace:configure.ac:970: -1- m4_pattern_allow([^COND_HAVE_FONT_SOURCE_FALSE$]) +m4trace:configure.ac:970: -1- _AM_SUBST_NOTMAKE([COND_HAVE_FONT_SOURCE_TRUE]) +m4trace:configure.ac:970: -1- _AM_SUBST_NOTMAKE([COND_HAVE_FONT_SOURCE_FALSE]) +m4trace:configure.ac:971: -1- AM_CONDITIONAL([COND_GRUB_PE2ELF], [test x$TARGET_OBJ2ELF != x]) +m4trace:configure.ac:971: -1- AC_SUBST([COND_GRUB_PE2ELF_TRUE]) +m4trace:configure.ac:971: -1- AC_SUBST_TRACE([COND_GRUB_PE2ELF_TRUE]) +m4trace:configure.ac:971: -1- m4_pattern_allow([^COND_GRUB_PE2ELF_TRUE$]) +m4trace:configure.ac:971: -1- AC_SUBST([COND_GRUB_PE2ELF_FALSE]) +m4trace:configure.ac:971: -1- AC_SUBST_TRACE([COND_GRUB_PE2ELF_FALSE]) +m4trace:configure.ac:971: -1- m4_pattern_allow([^COND_GRUB_PE2ELF_FALSE$]) +m4trace:configure.ac:971: -1- _AM_SUBST_NOTMAKE([COND_GRUB_PE2ELF_TRUE]) +m4trace:configure.ac:971: -1- _AM_SUBST_NOTMAKE([COND_GRUB_PE2ELF_FALSE]) +m4trace:configure.ac:972: -1- AM_CONDITIONAL([COND_APPLE_CC], [test x$TARGET_APPLE_CC = x1]) +m4trace:configure.ac:972: -1- AC_SUBST([COND_APPLE_CC_TRUE]) +m4trace:configure.ac:972: -1- AC_SUBST_TRACE([COND_APPLE_CC_TRUE]) +m4trace:configure.ac:972: -1- m4_pattern_allow([^COND_APPLE_CC_TRUE$]) +m4trace:configure.ac:972: -1- AC_SUBST([COND_APPLE_CC_FALSE]) +m4trace:configure.ac:972: -1- AC_SUBST_TRACE([COND_APPLE_CC_FALSE]) +m4trace:configure.ac:972: -1- m4_pattern_allow([^COND_APPLE_CC_FALSE$]) +m4trace:configure.ac:972: -1- _AM_SUBST_NOTMAKE([COND_APPLE_CC_TRUE]) +m4trace:configure.ac:972: -1- _AM_SUBST_NOTMAKE([COND_APPLE_CC_FALSE]) +m4trace:configure.ac:973: -1- AM_CONDITIONAL([COND_ENABLE_EFIEMU], [test x$enable_efiemu = xyes]) +m4trace:configure.ac:973: -1- AC_SUBST([COND_ENABLE_EFIEMU_TRUE]) +m4trace:configure.ac:973: -1- AC_SUBST_TRACE([COND_ENABLE_EFIEMU_TRUE]) +m4trace:configure.ac:973: -1- m4_pattern_allow([^COND_ENABLE_EFIEMU_TRUE$]) +m4trace:configure.ac:973: -1- AC_SUBST([COND_ENABLE_EFIEMU_FALSE]) +m4trace:configure.ac:973: -1- AC_SUBST_TRACE([COND_ENABLE_EFIEMU_FALSE]) +m4trace:configure.ac:973: -1- m4_pattern_allow([^COND_ENABLE_EFIEMU_FALSE$]) +m4trace:configure.ac:973: -1- _AM_SUBST_NOTMAKE([COND_ENABLE_EFIEMU_TRUE]) +m4trace:configure.ac:973: -1- _AM_SUBST_NOTMAKE([COND_ENABLE_EFIEMU_FALSE]) +m4trace:configure.ac:975: -1- AM_CONDITIONAL([COND_HAVE_ASM_USCORE], [test x$HAVE_ASM_USCORE = x1]) +m4trace:configure.ac:975: -1- AC_SUBST([COND_HAVE_ASM_USCORE_TRUE]) +m4trace:configure.ac:975: -1- AC_SUBST_TRACE([COND_HAVE_ASM_USCORE_TRUE]) +m4trace:configure.ac:975: -1- m4_pattern_allow([^COND_HAVE_ASM_USCORE_TRUE$]) +m4trace:configure.ac:975: -1- AC_SUBST([COND_HAVE_ASM_USCORE_FALSE]) +m4trace:configure.ac:975: -1- AC_SUBST_TRACE([COND_HAVE_ASM_USCORE_FALSE]) +m4trace:configure.ac:975: -1- m4_pattern_allow([^COND_HAVE_ASM_USCORE_FALSE$]) +m4trace:configure.ac:975: -1- _AM_SUBST_NOTMAKE([COND_HAVE_ASM_USCORE_TRUE]) +m4trace:configure.ac:975: -1- _AM_SUBST_NOTMAKE([COND_HAVE_ASM_USCORE_FALSE]) +m4trace:configure.ac:976: -1- AM_CONDITIONAL([COND_CYGWIN], [test x$host_os = xcygwin]) +m4trace:configure.ac:976: -1- AC_SUBST([COND_CYGWIN_TRUE]) +m4trace:configure.ac:976: -1- AC_SUBST_TRACE([COND_CYGWIN_TRUE]) +m4trace:configure.ac:976: -1- m4_pattern_allow([^COND_CYGWIN_TRUE$]) +m4trace:configure.ac:976: -1- AC_SUBST([COND_CYGWIN_FALSE]) +m4trace:configure.ac:976: -1- AC_SUBST_TRACE([COND_CYGWIN_FALSE]) +m4trace:configure.ac:976: -1- m4_pattern_allow([^COND_CYGWIN_FALSE$]) +m4trace:configure.ac:976: -1- _AM_SUBST_NOTMAKE([COND_CYGWIN_TRUE]) +m4trace:configure.ac:976: -1- _AM_SUBST_NOTMAKE([COND_CYGWIN_FALSE]) +m4trace:configure.ac:981: -1- AC_CONFIG_LINKS([include/grub/cpu:include/grub/$target_cpu]) +m4trace:configure.ac:983: -1- AC_CONFIG_LINKS([include/grub/machine:include/grub/$target_cpu/$platform]) +m4trace:configure.ac:995: -1- AC_CONFIG_FILES([Makefile]) +m4trace:configure.ac:996: -1- AC_CONFIG_FILES([grub-core/Makefile]) +m4trace:configure.ac:997: -1- AC_CONFIG_FILES([grub-core/gnulib/Makefile]) +m4trace:configure.ac:998: -1- AC_CONFIG_FILES([po/Makefile.in]) +m4trace:configure.ac:999: -1- AC_CONFIG_FILES([docs/Makefile]) +m4trace:configure.ac:1000: -1- AC_CONFIG_FILES([util/bash-completion.d/Makefile]) +m4trace:configure.ac:1001: -1- AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h]) +m4trace:configure.ac:1002: -1- AC_CONFIG_FILES([config.h]) +m4trace:configure.ac:1004: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^LIB@&t@OBJS$]) +m4trace:configure.ac:1004: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([LTLIBOBJS]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^LTLIBOBJS$]) +m4trace:configure.ac:1004: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) +m4trace:configure.ac:1004: -1- AC_SUBST([am__EXEEXT_TRUE]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) +m4trace:configure.ac:1004: -1- AC_SUBST([am__EXEEXT_FALSE]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) +m4trace:configure.ac:1004: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) +m4trace:configure.ac:1004: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) +m4trace:configure.ac:1004: -1- AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([gl_LIBOBJS]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gl_LIBOBJS$]) +m4trace:configure.ac:1004: -1- AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([gl_LTLIBOBJS]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gl_LTLIBOBJS$]) +m4trace:configure.ac:1004: -1- AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([gltests_LIBOBJS]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gltests_LIBOBJS$]) +m4trace:configure.ac:1004: -1- AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([gltests_LTLIBOBJS]) +m4trace:configure.ac:1004: -1- m4_pattern_allow([^gltests_LTLIBOBJS$]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([top_builddir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([top_build_prefix]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([srcdir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([abs_srcdir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([top_srcdir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([abs_top_srcdir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([builddir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([abs_builddir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([abs_top_builddir]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([INSTALL]) +m4trace:configure.ac:1004: -1- AC_SUBST_TRACE([MKDIR_P]) diff --git a/build-aux/arg-nonnull.h b/build-aux/arg-nonnull.h new file mode 100644 index 0000000..7e3e2db --- /dev/null +++ b/build-aux/arg-nonnull.h @@ -0,0 +1,26 @@ +/* A C macro for declaring that specific arguments must not be NULL. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools + that the values passed as arguments n, ..., m must be non-NULL pointers. + n = 1 stands for the first argument, n = 2 for the second argument etc. */ +#ifndef _GL_ARG_NONNULL +# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 +# define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) +# else +# define _GL_ARG_NONNULL(params) +# endif +#endif diff --git a/build-aux/c++defs.h b/build-aux/c++defs.h new file mode 100644 index 0000000..0c2fad7 --- /dev/null +++ b/build-aux/c++defs.h @@ -0,0 +1,271 @@ +/* C++ compatible function declaration macros. + Copyright (C) 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _GL_CXXDEFS_H +#define _GL_CXXDEFS_H + +/* The three most frequent use cases of these macros are: + + * For providing a substitute for a function that is missing on some + platforms, but is declared and works fine on the platforms on which + it exists: + + #if @GNULIB_FOO@ + # if !@HAVE_FOO@ + _GL_FUNCDECL_SYS (foo, ...); + # endif + _GL_CXXALIAS_SYS (foo, ...); + _GL_CXXALIASWARN (foo); + #elif defined GNULIB_POSIXCHECK + ... + #endif + + * For providing a replacement for a function that exists on all platforms, + but is broken/insufficient and needs to be replaced on some platforms: + + #if @GNULIB_FOO@ + # if @REPLACE_FOO@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef foo + # define foo rpl_foo + # endif + _GL_FUNCDECL_RPL (foo, ...); + _GL_CXXALIAS_RPL (foo, ...); + # else + _GL_CXXALIAS_SYS (foo, ...); + # endif + _GL_CXXALIASWARN (foo); + #elif defined GNULIB_POSIXCHECK + ... + #endif + + * For providing a replacement for a function that exists on some platforms + but is broken/insufficient and needs to be replaced on some of them and + is additionally either missing or undeclared on some other platforms: + + #if @GNULIB_FOO@ + # if @REPLACE_FOO@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef foo + # define foo rpl_foo + # endif + _GL_FUNCDECL_RPL (foo, ...); + _GL_CXXALIAS_RPL (foo, ...); + # else + # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ + _GL_FUNCDECL_SYS (foo, ...); + # endif + _GL_CXXALIAS_SYS (foo, ...); + # endif + _GL_CXXALIASWARN (foo); + #elif defined GNULIB_POSIXCHECK + ... + #endif +*/ + +/* _GL_EXTERN_C declaration; + performs the declaration with C linkage. */ +#if defined __cplusplus +# define _GL_EXTERN_C extern "C" +#else +# define _GL_EXTERN_C extern +#endif + +/* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); + declares a replacement function, named rpl_func, with the given prototype, + consisting of return type, parameters, and attributes. + Example: + _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) + _GL_ARG_NONNULL ((1))); + */ +#define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ + _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) +#define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ + _GL_EXTERN_C rettype rpl_func parameters_and_attributes + +/* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); + declares the system function, named func, with the given prototype, + consisting of return type, parameters, and attributes. + Example: + _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) + _GL_ARG_NONNULL ((1))); + */ +#define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ + _GL_EXTERN_C rettype func parameters_and_attributes + +/* _GL_CXXALIAS_RPL (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func + that redirects to rpl_func, if GNULIB_NAMESPACE is defined. + Example: + _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); + */ +#define _GL_CXXALIAS_RPL(func,rettype,parameters) \ + _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) +#if defined __cplusplus && defined GNULIB_NAMESPACE +# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + rettype (*const func) parameters = ::rpl_func; \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#else +# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +/* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); + is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); + except that the C function rpl_func may have a slightly different + declaration. A cast is used to silence the "invalid conversion" error + that would otherwise occur. */ +#if defined __cplusplus && defined GNULIB_NAMESPACE +# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + rettype (*const func) parameters = \ + reinterpret_cast(::rpl_func); \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#else +# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +/* _GL_CXXALIAS_SYS (func, rettype, parameters); + declares a C++ alias called GNULIB_NAMESPACE::func + that redirects to the system provided function func, if GNULIB_NAMESPACE + is defined. + Example: + _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); + */ +#if defined __cplusplus && defined GNULIB_NAMESPACE + /* If we were to write + rettype (*const func) parameters = ::func; + like above in _GL_CXXALIAS_RPL_1, the compiler could optimize calls + better (remove an indirection through a 'static' pointer variable), + but then the _GL_CXXALIASWARN macro below would cause a warning not only + for uses of ::func but also for uses of GNULIB_NAMESPACE::func. */ +# define _GL_CXXALIAS_SYS(func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + static rettype (*func) parameters = ::func; \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#else +# define _GL_CXXALIAS_SYS(func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +/* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); + is like _GL_CXXALIAS_SYS (func, rettype, parameters); + except that the C function func may have a slightly different declaration. + A cast is used to silence the "invalid conversion" error that would + otherwise occur. */ +#if defined __cplusplus && defined GNULIB_NAMESPACE +# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ + namespace GNULIB_NAMESPACE \ + { \ + static rettype (*func) parameters = \ + reinterpret_cast(::func); \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#else +# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +/* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); + is like _GL_CXXALIAS_SYS (func, rettype, parameters); + except that the C function is picked among a set of overloaded functions, + namely the one with rettype2 and parameters2. Two consecutive casts + are used to silence the "cannot find a match" and "invalid conversion" + errors that would otherwise occur. */ +#if defined __cplusplus && defined GNULIB_NAMESPACE + /* The outer cast must be a reinterpret_cast. + The inner cast: When the function is defined as a set of overloaded + functions, it works as a static_cast<>, choosing the designated variant. + When the function is defined as a single variant, it works as a + reinterpret_cast<>. The parenthesized cast syntax works both ways. */ +# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ + namespace GNULIB_NAMESPACE \ + { \ + static rettype (*func) parameters = \ + reinterpret_cast( \ + (rettype2(*)parameters2)(::func)); \ + } \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#else +# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +/* _GL_CXXALIASWARN (func); + causes a warning to be emitted when ::func is used but not when + GNULIB_NAMESPACE::func is used. func must be defined without overloaded + variants. */ +#if defined __cplusplus && defined GNULIB_NAMESPACE +# define _GL_CXXALIASWARN(func) \ + _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) +# define _GL_CXXALIASWARN_1(func,namespace) \ + _GL_CXXALIASWARN_2 (func, namespace) +/* To work around GCC bug , + we enable the warning only when not optimizing. */ +# if !__OPTIMIZE__ +# define _GL_CXXALIASWARN_2(func,namespace) \ + _GL_WARN_ON_USE (func, \ + "The symbol ::" #func " refers to the system function. " \ + "Use " #namespace "::" #func " instead.") +# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING +# define _GL_CXXALIASWARN_2(func,namespace) \ + extern __typeof__ (func) func +# else +# define _GL_CXXALIASWARN_2(func,namespace) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +# endif +#else +# define _GL_CXXALIASWARN(func) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +/* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); + causes a warning to be emitted when the given overloaded variant of ::func + is used but not when GNULIB_NAMESPACE::func is used. */ +#if defined __cplusplus && defined GNULIB_NAMESPACE +# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ + _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ + GNULIB_NAMESPACE) +# define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ + _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) +/* To work around GCC bug , + we enable the warning only when not optimizing. */ +# if !__OPTIMIZE__ +# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ + _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ + "The symbol ::" #func " refers to the system function. " \ + "Use " #namespace "::" #func " instead.") +# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING +# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ + extern __typeof__ (func) func +# else +# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +# endif +#else +# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ + _GL_EXTERN_C int _gl_cxxalias_dummy +#endif + +#endif /* _GL_CXXDEFS_H */ diff --git a/build-aux/compile b/build-aux/compile new file mode 100755 index 0000000..c0096a7 --- /dev/null +++ b/build-aux/compile @@ -0,0 +1,143 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2009-10-06.20; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software +# Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand `-c -o'. +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file `INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; +esac + +ofile= +cfile= +eat= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we strip `-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/build-aux/config.guess b/build-aux/config.guess new file mode 100755 index 0000000..187cd54 --- /dev/null +++ b/build-aux/config.guess @@ -0,0 +1,1511 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011 Free Software Foundation, Inc. + +timestamp='2011-02-02' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free +Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-tilera-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/build-aux/config.rpath b/build-aux/config.rpath new file mode 100755 index 0000000..c492a93 --- /dev/null +++ b/build-aux/config.rpath @@ -0,0 +1,614 @@ +#! /bin/sh +# Output a system dependent set of variables, describing how to set the +# run time search path of shared libraries in an executable. +# +# Copyright 1996-2006 Free Software Foundation, Inc. +# Taken from GNU libtool, 2001 +# Originally by Gordon Matzigkeit , 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld +# should be set by the caller. +# +# The set of defined variables is at the end of this script. + +# Known limitations: +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer +# than 256 bytes, otherwise the compiler driver will dump core. The only +# known workaround is to choose shorter directory names for the build +# directory and/or the installation directory. + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +shrext=.so + +host="$1" +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +# Code taken from libtool.m4's _LT_CC_BASENAME. + +for cc_temp in $CC""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. + +wl= +if test "$GCC" = yes; then + wl='-Wl,' +else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + darwin*) + case $cc_basename in + xlc*) + wl='-Wl,' + ;; + esac + ;; + mingw* | pw32* | os2*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + newsos6) + ;; + linux*) + case $cc_basename in + icc* | ecc*) + wl='-Wl,' + ;; + pgcc | pgf77 | pgf90) + wl='-Wl,' + ;; + ccc*) + wl='-Wl,' + ;; + como) + wl='-lopt=' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + wl='-Wl,' + ;; + esac + ;; + esac + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + sco3.2v5*) + ;; + solaris*) + wl='-Wl,' + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + unicos*) + wl='-Wl,' + ;; + uts4*) + ;; + esac +fi + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. + +hardcode_libdir_flag_spec= +hardcode_libdir_separator= +hardcode_direct=no +hardcode_minus_L=no + +case "$host_os" in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; +esac + +ld_shlibs=yes +if test "$with_gnu_ld" = yes; then + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + # Unlike libtool, we use -rpath here, not --rpath, since the documented + # option of GNU ld is called -rpath, not --rpath. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + case "$host_os" in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we cannot use + # them. + ld_shlibs=no + ;; + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32*) + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + interix3*) + hardcode_direct=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + netbsd*) + ;; + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + else + ld_shlibs=no + fi + ;; + esac + ;; + sunos4*) + hardcode_direct=yes + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + esac + if test "$ld_shlibs" = no; then + hardcode_libdir_flag_spec= + fi +else + case "$host_os" in + aix3*) + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + else + aix_use_runtimelinking=no + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + fi + hardcode_direct=yes + hardcode_libdir_separator=':' + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + fi + # Begin _LT_AC_SYS_LIBPATH_AIX. + echo 'int main () { return 0; }' > conftest.c + ${CC} ${LDFLAGS} conftest.c -o conftest + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + fi + if test -z "$aix_libpath"; then + aix_libpath="/usr/lib:/lib" + fi + rm -f conftest.c conftest + # End _LT_AC_SYS_LIBPATH_AIX. + if test "$aix_use_runtimelinking" = yes; then + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + fi + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + bsdi[45]*) + ;; + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + libext=lib + ;; + darwin* | rhapsody*) + hardcode_direct=no + if test "$GCC" = yes ; then + : + else + case $cc_basename in + xlc*) + ;; + *) + ld_shlibs=no + ;; + esac + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd1*) + ld_shlibs=no + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd* | kfreebsd*-gnu | dragonfly*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + hpux9*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + hpux10*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + hpux11*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + ;; + *) + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + irix5* | irix6* | nonstopux*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + netbsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + newsos6) + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + openbsd*) + hardcode_direct=yes + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + osf3*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + osf4* | osf5*) + if test "$GCC" = yes; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + # Both cc and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + solaris*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + sunos4*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + ;; + sysv4) + case $host_vendor in + sni) + hardcode_direct=yes # is this really true??? + ;; + siemens) + hardcode_direct=no + ;; + motorola) + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + ;; + sysv4.3*) + ;; + sysv4*MP*) + if test -d /usr/nec; then + ld_shlibs=yes + fi + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) + ;; + sysv5* | sco3.2v5* | sco5v6*) + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator=':' + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac +fi + +# Check dynamic linker characteristics +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. +libname_spec='lib$name' +case "$host_os" in + aix3*) + ;; + aix4* | aix5*) + ;; + amigaos*) + ;; + beos*) + ;; + bsdi[45]*) + ;; + cygwin* | mingw* | pw32*) + shrext=.dll + ;; + darwin* | rhapsody*) + shrext=.dylib + ;; + dgux*) + ;; + freebsd1*) + ;; + kfreebsd*-gnu) + ;; + freebsd* | dragonfly*) + ;; + gnu*) + ;; + hpux9* | hpux10* | hpux11*) + case $host_cpu in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + ;; + interix3*) + ;; + irix5* | irix6* | nonstopux*) + case "$host_os" in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; + *) libsuff= shlibsuff= ;; + esac + ;; + esac + ;; + linux*oldld* | linux*aout* | linux*coff*) + ;; + linux*) + ;; + knetbsd*-gnu) + ;; + netbsd*) + ;; + newsos6) + ;; + nto-qnx*) + ;; + openbsd*) + ;; + os2*) + libname_spec='$name' + shrext=.dll + ;; + osf3* | osf4* | osf5*) + ;; + solaris*) + ;; + sunos4*) + ;; + sysv4 | sysv4.3*) + ;; + sysv4*MP*) + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + ;; + uts4*) + ;; +esac + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. Submit a context +# diff and a properly formatted GNU ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free +Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 \ + | ns16k | ns32k \ + | open8 \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ + | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | picochip) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ + | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile-* | tilegx-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze) + basic_machine=microblaze-xilinx + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + # This must be matched before tile*. + tilegx*) + basic_machine=tilegx-unknown + os=-linux-gnu + ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/build-aux/depcomp b/build-aux/depcomp new file mode 100755 index 0000000..df8eea7 --- /dev/null +++ b/build-aux/depcomp @@ -0,0 +1,630 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free +# Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u="sed s,\\\\\\\\,/,g" + depmode=msvisualcpp +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> "$depfile" + echo >> "$depfile" + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # With Tru64 cc, shared objects can also be used to make a + # static library. This mechanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/build-aux/install-sh b/build-aux/install-sh new file mode 100755 index 0000000..6781b98 --- /dev/null +++ b/build-aux/install-sh @@ -0,0 +1,520 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2009-04-28.21; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dst_arg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/build-aux/mdate-sh b/build-aux/mdate-sh new file mode 100755 index 0000000..e631b22 --- /dev/null +++ b/build-aux/mdate-sh @@ -0,0 +1,205 @@ +#!/bin/sh +# Get modification time of a file or directory and pretty-print it. + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009 Free +# Software Foundation, Inc. +# written by Ulrich Drepper , June 1995 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No file. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: mdate-sh [--help] [--version] FILE + +Pretty-print the modification time of FILE. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "mdate-sh $scriptversion" + exit $? + ;; +esac + +# Prevent date giving response in another language. +LANG=C +export LANG +LC_ALL=C +export LC_ALL +LC_TIME=C +export LC_TIME + +# GNU ls changes its time format in response to the TIME_STYLE +# variable. Since we cannot assume `unset' works, revert this +# variable to its documented default. +if test "${TIME_STYLE+set}" = set; then + TIME_STYLE=posix-long-iso + export TIME_STYLE +fi + +save_arg1=$1 + +# Find out how to get the extended ls output of a file or directory. +if ls -L /dev/null 1>/dev/null 2>&1; then + ls_command='ls -L -l -d' +else + ls_command='ls -l -d' +fi +# Avoid user/group names that might have spaces, when possible. +if ls -n /dev/null 1>/dev/null 2>&1; then + ls_command="$ls_command -n" +fi + +# A `ls -l' line looks as follows on OS/2. +# drwxrwx--- 0 Aug 11 2001 foo +# This differs from Unix, which adds ownership information. +# drwxrwx--- 2 root root 4096 Aug 11 2001 foo +# +# To find the date, we split the line on spaces and iterate on words +# until we find a month. This cannot work with files whose owner is a +# user named `Jan', or `Feb', etc. However, it's unlikely that `/' +# will be owned by a user whose name is a month. So we first look at +# the extended ls output of the root directory to decide how many +# words should be skipped to get the date. + +# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. +set x`$ls_command /` + +# Find which argument is the month. +month= +command= +until test $month +do + shift + # Add another shift to the command. + command="$command shift;" + case $1 in + Jan) month=January; nummonth=1;; + Feb) month=February; nummonth=2;; + Mar) month=March; nummonth=3;; + Apr) month=April; nummonth=4;; + May) month=May; nummonth=5;; + Jun) month=June; nummonth=6;; + Jul) month=July; nummonth=7;; + Aug) month=August; nummonth=8;; + Sep) month=September; nummonth=9;; + Oct) month=October; nummonth=10;; + Nov) month=November; nummonth=11;; + Dec) month=December; nummonth=12;; + esac +done + +# Get the extended ls output of the file or directory. +set dummy x`eval "$ls_command \"\$save_arg1\""` + +# Remove all preceding arguments +eval $command + +# Because of the dummy argument above, month is in $2. +# +# On a POSIX system, we should have +# +# $# = 5 +# $1 = file size +# $2 = month +# $3 = day +# $4 = year or time +# $5 = filename +# +# On Darwin 7.7.0 and 7.6.0, we have +# +# $# = 4 +# $1 = day +# $2 = month +# $3 = year or time +# $4 = filename + +# Get the month. +case $2 in + Jan) month=January; nummonth=1;; + Feb) month=February; nummonth=2;; + Mar) month=March; nummonth=3;; + Apr) month=April; nummonth=4;; + May) month=May; nummonth=5;; + Jun) month=June; nummonth=6;; + Jul) month=July; nummonth=7;; + Aug) month=August; nummonth=8;; + Sep) month=September; nummonth=9;; + Oct) month=October; nummonth=10;; + Nov) month=November; nummonth=11;; + Dec) month=December; nummonth=12;; +esac + +case $3 in + ???*) day=$1;; + *) day=$3; shift;; +esac + +# Here we have to deal with the problem that the ls output gives either +# the time of day or the year. +case $3 in + *:*) set `date`; eval year=\$$# + case $2 in + Jan) nummonthtod=1;; + Feb) nummonthtod=2;; + Mar) nummonthtod=3;; + Apr) nummonthtod=4;; + May) nummonthtod=5;; + Jun) nummonthtod=6;; + Jul) nummonthtod=7;; + Aug) nummonthtod=8;; + Sep) nummonthtod=9;; + Oct) nummonthtod=10;; + Nov) nummonthtod=11;; + Dec) nummonthtod=12;; + esac + # For the first six month of the year the time notation can also + # be used for files modified in the last year. + if (expr $nummonth \> $nummonthtod) > /dev/null; + then + year=`expr $year - 1` + fi;; + *) year=$3;; +esac + +# The result. +echo $day $month $year + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/build-aux/missing b/build-aux/missing new file mode 100755 index 0000000..28055d2 --- /dev/null +++ b/build-aux/missing @@ -0,0 +1,376 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. +# Originally by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and +\`g' are ignored when checking the name. + +Send bug reports to ." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + +esac + +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) + # Not GNU programs, they don't have --version. + ;; + + tar*) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $program in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te*) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison*|yacc*) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex*|flex*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit $? + fi + ;; + + makeinfo*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + tar*) + shift + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case $firstarg in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case $firstarg in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/build-aux/texinfo.tex b/build-aux/texinfo.tex new file mode 100644 index 0000000..9140826 --- /dev/null +++ b/build-aux/texinfo.tex @@ -0,0 +1,9291 @@ +% texinfo.tex -- TeX macros to handle Texinfo files. +% +% Load plain if necessary, i.e., if running under initex. +\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi +% +\def\texinfoversion{2009-08-14.15} +% +% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, +% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, +% 2007, 2008, 2009 Free Software Foundation, Inc. +% +% This texinfo.tex file is free software: you can redistribute it and/or +% modify it under the terms of the GNU General Public License as +% published by the Free Software Foundation, either version 3 of the +% License, or (at your option) any later version. +% +% This texinfo.tex file is distributed in the hope that it will be +% useful, but WITHOUT ANY WARRANTY; without even the implied warranty +% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +% General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program. If not, see . +% +% As a special exception, when this file is read by TeX when processing +% a Texinfo source document, you may use the result without +% restriction. (This has been our intent since Texinfo was invented.) +% +% Please try the latest version of texinfo.tex before submitting bug +% reports; you can get the latest version from: +% http://www.gnu.org/software/texinfo/ (the Texinfo home page), or +% ftp://tug.org/tex/texinfo.tex +% (and all CTAN mirrors, see http://www.ctan.org). +% The texinfo.tex in any given distribution could well be out +% of date, so if that's what you're using, please check. +% +% Send bug reports to bug-texinfo@gnu.org. Please include including a +% complete document in each bug report with which we can reproduce the +% problem. Patches are, of course, greatly appreciated. +% +% To process a Texinfo manual with TeX, it's most reliable to use the +% texi2dvi shell script that comes with the distribution. For a simple +% manual foo.texi, however, you can get away with this: +% tex foo.texi +% texindex foo.?? +% tex foo.texi +% tex foo.texi +% dvips foo.dvi -o # or whatever; this makes foo.ps. +% The extra TeX runs get the cross-reference information correct. +% Sometimes one run after texindex suffices, and sometimes you need more +% than two; texi2dvi does it as many times as necessary. +% +% It is possible to adapt texinfo.tex for other languages, to some +% extent. You can get the existing language-specific files from the +% full Texinfo distribution. +% +% The GNU Texinfo home page is http://www.gnu.org/software/texinfo. + + +\message{Loading texinfo [version \texinfoversion]:} + +% If in a .fmt file, print the version number +% and turn on active characters that we couldn't do earlier because +% they might have appeared in the input file name. +\everyjob{\message{[Texinfo version \texinfoversion]}% + \catcode`+=\active \catcode`\_=\active} + + +\chardef\other=12 + +% We never want plain's \outer definition of \+ in Texinfo. +% For @tex, we can use \tabalign. +\let\+ = \relax + +% Save some plain tex macros whose names we will redefine. +\let\ptexb=\b +\let\ptexbullet=\bullet +\let\ptexc=\c +\let\ptexcomma=\, +\let\ptexdot=\. +\let\ptexdots=\dots +\let\ptexend=\end +\let\ptexequiv=\equiv +\let\ptexexclam=\! +\let\ptexfootnote=\footnote +\let\ptexgtr=> +\let\ptexhat=^ +\let\ptexi=\i +\let\ptexindent=\indent +\let\ptexinsert=\insert +\let\ptexlbrace=\{ +\let\ptexless=< +\let\ptexnewwrite\newwrite +\let\ptexnoindent=\noindent +\let\ptexplus=+ +\let\ptexrbrace=\} +\let\ptexslash=\/ +\let\ptexstar=\* +\let\ptext=\t +\let\ptextop=\top +{\catcode`\'=\active +\global\let\ptexquoteright'}% Math-mode def from plain.tex. +\let\ptexraggedright=\raggedright + +% If this character appears in an error message or help string, it +% starts a new line in the output. +\newlinechar = `^^J + +% Use TeX 3.0's \inputlineno to get the line number, for better error +% messages, but if we're using an old version of TeX, don't do anything. +% +\ifx\inputlineno\thisisundefined + \let\linenumber = \empty % Pre-3.0. +\else + \def\linenumber{l.\the\inputlineno:\space} +\fi + +% Set up fixed words for English if not already set. +\ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi +\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi +\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi +\ifx\putwordin\undefined \gdef\putwordin{in}\fi +\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi +\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi +\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi +\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi +\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi +\ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi +\ifx\putwordof\undefined \gdef\putwordof{of}\fi +\ifx\putwordon\undefined \gdef\putwordon{on}\fi +\ifx\putwordpage\undefined \gdef\putwordpage{page}\fi +\ifx\putwordsection\undefined \gdef\putwordsection{section}\fi +\ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi +\ifx\putwordsee\undefined \gdef\putwordsee{see}\fi +\ifx\putwordSee\undefined \gdef\putwordSee{See}\fi +\ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi +\ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi +% +\ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi +\ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi +\ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi +\ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi +\ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi +\ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi +\ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi +\ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi +\ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi +\ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi +\ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi +\ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi +% +\ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi +\ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi +\ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi +\ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi +\ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi + +% Since the category of space is not known, we have to be careful. +\chardef\spacecat = 10 +\def\spaceisspace{\catcode`\ =\spacecat} + +% sometimes characters are active, so we need control sequences. +\chardef\colonChar = `\: +\chardef\commaChar = `\, +\chardef\dashChar = `\- +\chardef\dotChar = `\. +\chardef\exclamChar= `\! +\chardef\lquoteChar= `\` +\chardef\questChar = `\? +\chardef\rquoteChar= `\' +\chardef\semiChar = `\; +\chardef\underChar = `\_ + +% Ignore a token. +% +\def\gobble#1{} + +% The following is used inside several \edef's. +\def\makecsname#1{\expandafter\noexpand\csname#1\endcsname} + +% Hyphenation fixes. +\hyphenation{ + Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script + ap-pen-dix bit-map bit-maps + data-base data-bases eshell fall-ing half-way long-est man-u-script + man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm + par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces + spell-ing spell-ings + stand-alone strong-est time-stamp time-stamps which-ever white-space + wide-spread wrap-around +} + +% Margin to add to right of even pages, to left of odd pages. +\newdimen\bindingoffset +\newdimen\normaloffset +\newdimen\pagewidth \newdimen\pageheight + +% For a final copy, take out the rectangles +% that mark overfull boxes (in case you have decided +% that the text looks ok even though it passes the margin). +% +\def\finalout{\overfullrule=0pt} + +% @| inserts a changebar to the left of the current line. It should +% surround any changed text. This approach does *not* work if the +% change spans more than two lines of output. To handle that, we would +% have adopt a much more difficult approach (putting marks into the main +% vertical list for the beginning and end of each change). +% +\def\|{% + % \vadjust can only be used in horizontal mode. + \leavevmode + % + % Append this vertical mode material after the current line in the output. + \vadjust{% + % We want to insert a rule with the height and depth of the current + % leading; that is exactly what \strutbox is supposed to record. + \vskip-\baselineskip + % + % \vadjust-items are inserted at the left edge of the type. So + % the \llap here moves out into the left-hand margin. + \llap{% + % + % For a thicker or thinner bar, change the `1pt'. + \vrule height\baselineskip width1pt + % + % This is the space between the bar and the text. + \hskip 12pt + }% + }% +} + +% Sometimes it is convenient to have everything in the transcript file +% and nothing on the terminal. We don't just call \tracingall here, +% since that produces some useless output on the terminal. We also make +% some effort to order the tracing commands to reduce output in the log +% file; cf. trace.sty in LaTeX. +% +\def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}% +\def\loggingall{% + \tracingstats2 + \tracingpages1 + \tracinglostchars2 % 2 gives us more in etex + \tracingparagraphs1 + \tracingoutput1 + \tracingmacros2 + \tracingrestores1 + \showboxbreadth\maxdimen \showboxdepth\maxdimen + \ifx\eTeXversion\undefined\else % etex gives us more logging + \tracingscantokens1 + \tracingifs1 + \tracinggroups1 + \tracingnesting2 + \tracingassigns1 + \fi + \tracingcommands3 % 3 gives us more in etex + \errorcontextlines16 +}% + +% add check for \lastpenalty to plain's definitions. If the last thing +% we did was a \nobreak, we don't want to insert more space. +% +\def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount + \removelastskip\penalty-50\smallskip\fi\fi} +\def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount + \removelastskip\penalty-100\medskip\fi\fi} +\def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount + \removelastskip\penalty-200\bigskip\fi\fi} + +% For @cropmarks command. +% Do @cropmarks to get crop marks. +% +\newif\ifcropmarks +\let\cropmarks = \cropmarkstrue +% +% Dimensions to add cropmarks at corners. +% Added by P. A. MacKay, 12 Nov. 1986 +% +\newdimen\outerhsize \newdimen\outervsize % set by the paper size routines +\newdimen\cornerlong \cornerlong=1pc +\newdimen\cornerthick \cornerthick=.3pt +\newdimen\topandbottommargin \topandbottommargin=.75in + +% Output a mark which sets \thischapter, \thissection and \thiscolor. +% We dump everything together because we only have one kind of mark. +% This works because we only use \botmark / \topmark, not \firstmark. +% +% A mark contains a subexpression of the \ifcase ... \fi construct. +% \get*marks macros below extract the needed part using \ifcase. +% +% Another complication is to let the user choose whether \thischapter +% (\thissection) refers to the chapter (section) in effect at the top +% of a page, or that at the bottom of a page. The solution is +% described on page 260 of The TeXbook. It involves outputting two +% marks for the sectioning macros, one before the section break, and +% one after. I won't pretend I can describe this better than DEK... +\def\domark{% + \toks0=\expandafter{\lastchapterdefs}% + \toks2=\expandafter{\lastsectiondefs}% + \toks4=\expandafter{\prevchapterdefs}% + \toks6=\expandafter{\prevsectiondefs}% + \toks8=\expandafter{\lastcolordefs}% + \mark{% + \the\toks0 \the\toks2 + \noexpand\or \the\toks4 \the\toks6 + \noexpand\else \the\toks8 + }% +} +% \topmark doesn't work for the very first chapter (after the title +% page or the contents), so we use \firstmark there -- this gets us +% the mark with the chapter defs, unless the user sneaks in, e.g., +% @setcolor (or @url, or @link, etc.) between @contents and the very +% first @chapter. +\def\gettopheadingmarks{% + \ifcase0\topmark\fi + \ifx\thischapter\empty \ifcase0\firstmark\fi \fi +} +\def\getbottomheadingmarks{\ifcase1\botmark\fi} +\def\getcolormarks{\ifcase2\topmark\fi} + +% Avoid "undefined control sequence" errors. +\def\lastchapterdefs{} +\def\lastsectiondefs{} +\def\prevchapterdefs{} +\def\prevsectiondefs{} +\def\lastcolordefs{} + +% Main output routine. +\chardef\PAGE = 255 +\output = {\onepageout{\pagecontents\PAGE}} + +\newbox\headlinebox +\newbox\footlinebox + +% \onepageout takes a vbox as an argument. Note that \pagecontents +% does insertions, but you have to call it yourself. +\def\onepageout#1{% + \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi + % + \ifodd\pageno \advance\hoffset by \bindingoffset + \else \advance\hoffset by -\bindingoffset\fi + % + % Do this outside of the \shipout so @code etc. will be expanded in + % the headline as they should be, not taken literally (outputting ''code). + \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi + \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}% + \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi + \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}% + % + {% + % Have to do this stuff outside the \shipout because we want it to + % take effect in \write's, yet the group defined by the \vbox ends + % before the \shipout runs. + % + \indexdummies % don't expand commands in the output. + \normalturnoffactive % \ in index entries must not stay \, e.g., if + % the page break happens to be in the middle of an example. + % We don't want .vr (or whatever) entries like this: + % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}} + % "\acronym" won't work when it's read back in; + % it needs to be + % {\code {{\tt \backslashcurfont }acronym} + \shipout\vbox{% + % Do this early so pdf references go to the beginning of the page. + \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi + % + \ifcropmarks \vbox to \outervsize\bgroup + \hsize = \outerhsize + \vskip-\topandbottommargin + \vtop to0pt{% + \line{\ewtop\hfil\ewtop}% + \nointerlineskip + \line{% + \vbox{\moveleft\cornerthick\nstop}% + \hfill + \vbox{\moveright\cornerthick\nstop}% + }% + \vss}% + \vskip\topandbottommargin + \line\bgroup + \hfil % center the page within the outer (page) hsize. + \ifodd\pageno\hskip\bindingoffset\fi + \vbox\bgroup + \fi + % + \unvbox\headlinebox + \pagebody{#1}% + \ifdim\ht\footlinebox > 0pt + % Only leave this space if the footline is nonempty. + % (We lessened \vsize for it in \oddfootingyyy.) + % The \baselineskip=24pt in plain's \makefootline has no effect. + \vskip 24pt + \unvbox\footlinebox + \fi + % + \ifcropmarks + \egroup % end of \vbox\bgroup + \hfil\egroup % end of (centering) \line\bgroup + \vskip\topandbottommargin plus1fill minus1fill + \boxmaxdepth = \cornerthick + \vbox to0pt{\vss + \line{% + \vbox{\moveleft\cornerthick\nsbot}% + \hfill + \vbox{\moveright\cornerthick\nsbot}% + }% + \nointerlineskip + \line{\ewbot\hfil\ewbot}% + }% + \egroup % \vbox from first cropmarks clause + \fi + }% end of \shipout\vbox + }% end of group with \indexdummies + \advancepageno + \ifnum\outputpenalty>-20000 \else\dosupereject\fi +} + +\newinsert\margin \dimen\margin=\maxdimen + +\def\pagebody#1{\vbox to\pageheight{\boxmaxdepth=\maxdepth #1}} +{\catcode`\@ =11 +\gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi +% marginal hacks, juha@viisa.uucp (Juha Takala) +\ifvoid\margin\else % marginal info is present + \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi +\dimen@=\dp#1\relax \unvbox#1\relax +\ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi +\ifr@ggedbottom \kern-\dimen@ \vfil \fi} +} + +% Here are the rules for the cropmarks. Note that they are +% offset so that the space between them is truly \outerhsize or \outervsize +% (P. A. MacKay, 12 November, 1986) +% +\def\ewtop{\vrule height\cornerthick depth0pt width\cornerlong} +\def\nstop{\vbox + {\hrule height\cornerthick depth\cornerlong width\cornerthick}} +\def\ewbot{\vrule height0pt depth\cornerthick width\cornerlong} +\def\nsbot{\vbox + {\hrule height\cornerlong depth\cornerthick width\cornerthick}} + +% Parse an argument, then pass it to #1. The argument is the rest of +% the input line (except we remove a trailing comment). #1 should be a +% macro which expects an ordinary undelimited TeX argument. +% +\def\parsearg{\parseargusing{}} +\def\parseargusing#1#2{% + \def\argtorun{#2}% + \begingroup + \obeylines + \spaceisspace + #1% + \parseargline\empty% Insert the \empty token, see \finishparsearg below. +} + +{\obeylines % + \gdef\parseargline#1^^M{% + \endgroup % End of the group started in \parsearg. + \argremovecomment #1\comment\ArgTerm% + }% +} + +% First remove any @comment, then any @c comment. +\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} +\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} + +% Each occurrence of `\^^M' or `\^^M' is replaced by a single space. +% +% \argremovec might leave us with trailing space, e.g., +% @end itemize @c foo +% This space token undergoes the same procedure and is eventually removed +% by \finishparsearg. +% +\def\argcheckspaces#1\^^M{\argcheckspacesX#1\^^M \^^M} +\def\argcheckspacesX#1 \^^M{\argcheckspacesY#1\^^M} +\def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{% + \def\temp{#3}% + \ifx\temp\empty + % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp: + \let\temp\finishparsearg + \else + \let\temp\argcheckspaces + \fi + % Put the space token in: + \temp#1 #3\ArgTerm +} + +% If a _delimited_ argument is enclosed in braces, they get stripped; so +% to get _exactly_ the rest of the line, we had to prevent such situation. +% We prepended an \empty token at the very beginning and we expand it now, +% just before passing the control to \argtorun. +% (Similarly, we have to think about #3 of \argcheckspacesY above: it is +% either the null string, or it ends with \^^M---thus there is no danger +% that a pair of braces would be stripped. +% +% But first, we have to remove the trailing space token. +% +\def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}} + +% \parseargdef\foo{...} +% is roughly equivalent to +% \def\foo{\parsearg\Xfoo} +% \def\Xfoo#1{...} +% +% Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my +% favourite TeX trick. --kasal, 16nov03 + +\def\parseargdef#1{% + \expandafter \doparseargdef \csname\string#1\endcsname #1% +} +\def\doparseargdef#1#2{% + \def#2{\parsearg#1}% + \def#1##1% +} + +% Several utility definitions with active space: +{ + \obeyspaces + \gdef\obeyedspace{ } + + % Make each space character in the input produce a normal interword + % space in the output. Don't allow a line break at this space, as this + % is used only in environments like @example, where each line of input + % should produce a line of output anyway. + % + \gdef\sepspaces{\obeyspaces\let =\tie} + + % If an index command is used in an @example environment, any spaces + % therein should become regular spaces in the raw index file, not the + % expansion of \tie (\leavevmode \penalty \@M \ ). + \gdef\unsepspaces{\let =\space} +} + + +\def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next} + +% Define the framework for environments in texinfo.tex. It's used like this: +% +% \envdef\foo{...} +% \def\Efoo{...} +% +% It's the responsibility of \envdef to insert \begingroup before the +% actual body; @end closes the group after calling \Efoo. \envdef also +% defines \thisenv, so the current environment is known; @end checks +% whether the environment name matches. The \checkenv macro can also be +% used to check whether the current environment is the one expected. +% +% Non-false conditionals (@iftex, @ifset) don't fit into this, so they +% are not treated as environments; they don't open a group. (The +% implementation of @end takes care not to call \endgroup in this +% special case.) + + +% At run-time, environments start with this: +\def\startenvironment#1{\begingroup\def\thisenv{#1}} +% initialize +\let\thisenv\empty + +% ... but they get defined via ``\envdef\foo{...}'': +\long\def\envdef#1#2{\def#1{\startenvironment#1#2}} +\def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}} + +% Check whether we're in the right environment: +\def\checkenv#1{% + \def\temp{#1}% + \ifx\thisenv\temp + \else + \badenverr + \fi +} + +% Environment mismatch, #1 expected: +\def\badenverr{% + \errhelp = \EMsimple + \errmessage{This command can appear only \inenvironment\temp, + not \inenvironment\thisenv}% +} +\def\inenvironment#1{% + \ifx#1\empty + out of any environment% + \else + in environment \expandafter\string#1% + \fi +} + +% @end foo executes the definition of \Efoo. +% But first, it executes a specialized version of \checkenv +% +\parseargdef\end{% + \if 1\csname iscond.#1\endcsname + \else + % The general wording of \badenverr may not be ideal, but... --kasal, 06nov03 + \expandafter\checkenv\csname#1\endcsname + \csname E#1\endcsname + \endgroup + \fi +} + +\newhelp\EMsimple{Press RETURN to continue.} + + +%% Simple single-character @ commands + +% @@ prints an @ +% Kludge this until the fonts are right (grr). +\def\@{{\tt\char64}} + +% This is turned off because it was never documented +% and you can use @w{...} around a quote to suppress ligatures. +%% Define @` and @' to be the same as ` and ' +%% but suppressing ligatures. +%\def\`{{`}} +%\def\'{{'}} + +% Used to generate quoted braces. +\def\mylbrace {{\tt\char123}} +\def\myrbrace {{\tt\char125}} +\let\{=\mylbrace +\let\}=\myrbrace +\begingroup + % Definitions to produce \{ and \} commands for indices, + % and @{ and @} for the aux/toc files. + \catcode`\{ = \other \catcode`\} = \other + \catcode`\[ = 1 \catcode`\] = 2 + \catcode`\! = 0 \catcode`\\ = \other + !gdef!lbracecmd[\{]% + !gdef!rbracecmd[\}]% + !gdef!lbraceatcmd[@{]% + !gdef!rbraceatcmd[@}]% +!endgroup + +% @comma{} to avoid , parsing problems. +\let\comma = , + +% Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent +% Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H. +\let\, = \c +\let\dotaccent = \. +\def\ringaccent#1{{\accent23 #1}} +\let\tieaccent = \t +\let\ubaraccent = \b +\let\udotaccent = \d + +% Other special characters: @questiondown @exclamdown @ordf @ordm +% Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss. +\def\questiondown{?`} +\def\exclamdown{!`} +\def\ordf{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{a}}} +\def\ordm{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{o}}} + +% Dotless i and dotless j, used for accents. +\def\imacro{i} +\def\jmacro{j} +\def\dotless#1{% + \def\temp{#1}% + \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi + \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi + \else \errmessage{@dotless can be used only with i or j}% + \fi\fi +} + +% The \TeX{} logo, as in plain, but resetting the spacing so that a +% period following counts as ending a sentence. (Idea found in latex.) +% +\edef\TeX{\TeX \spacefactor=1000 } + +% @LaTeX{} logo. Not quite the same results as the definition in +% latex.ltx, since we use a different font for the raised A; it's most +% convenient for us to use an explicitly smaller font, rather than using +% the \scriptstyle font (since we don't reset \scriptstyle and +% \scriptscriptstyle). +% +\def\LaTeX{% + L\kern-.36em + {\setbox0=\hbox{T}% + \vbox to \ht0{\hbox{\selectfonts\lllsize A}\vss}}% + \kern-.15em + \TeX +} + +% Be sure we're in horizontal mode when doing a tie, since we make space +% equivalent to this in @example-like environments. Otherwise, a space +% at the beginning of a line will start with \penalty -- and +% since \penalty is valid in vertical mode, we'd end up putting the +% penalty on the vertical list instead of in the new paragraph. +{\catcode`@ = 11 + % Avoid using \@M directly, because that causes trouble + % if the definition is written into an index file. + \global\let\tiepenalty = \@M + \gdef\tie{\leavevmode\penalty\tiepenalty\ } +} + +% @: forces normal size whitespace following. +\def\:{\spacefactor=1000 } + +% @* forces a line break. +\def\*{\hfil\break\hbox{}\ignorespaces} + +% @/ allows a line break. +\let\/=\allowbreak + +% @. is an end-of-sentence period. +\def\.{.\spacefactor=\endofsentencespacefactor\space} + +% @! is an end-of-sentence bang. +\def\!{!\spacefactor=\endofsentencespacefactor\space} + +% @? is an end-of-sentence query. +\def\?{?\spacefactor=\endofsentencespacefactor\space} + +% @frenchspacing on|off says whether to put extra space after punctuation. +% +\def\onword{on} +\def\offword{off} +% +\parseargdef\frenchspacing{% + \def\temp{#1}% + \ifx\temp\onword \plainfrenchspacing + \else\ifx\temp\offword \plainnonfrenchspacing + \else + \errhelp = \EMsimple + \errmessage{Unknown @frenchspacing option `\temp', must be on/off}% + \fi\fi +} + +% @w prevents a word break. Without the \leavevmode, @w at the +% beginning of a paragraph, when TeX is still in vertical mode, would +% produce a whole line of output instead of starting the paragraph. +\def\w#1{\leavevmode\hbox{#1}} + +% @group ... @end group forces ... to be all on one page, by enclosing +% it in a TeX vbox. We use \vtop instead of \vbox to construct the box +% to keep its height that of a normal line. According to the rules for +% \topskip (p.114 of the TeXbook), the glue inserted is +% max (\topskip - \ht (first item), 0). If that height is large, +% therefore, no glue is inserted, and the space between the headline and +% the text is small, which looks bad. +% +% Another complication is that the group might be very large. This can +% cause the glue on the previous page to be unduly stretched, because it +% does not have much material. In this case, it's better to add an +% explicit \vfill so that the extra space is at the bottom. The +% threshold for doing this is if the group is more than \vfilllimit +% percent of a page (\vfilllimit can be changed inside of @tex). +% +\newbox\groupbox +\def\vfilllimit{0.7} +% +\envdef\group{% + \ifnum\catcode`\^^M=\active \else + \errhelp = \groupinvalidhelp + \errmessage{@group invalid in context where filling is enabled}% + \fi + \startsavinginserts + % + \setbox\groupbox = \vtop\bgroup + % Do @comment since we are called inside an environment such as + % @example, where each end-of-line in the input causes an + % end-of-line in the output. We don't want the end-of-line after + % the `@group' to put extra space in the output. Since @group + % should appear on a line by itself (according to the Texinfo + % manual), we don't worry about eating any user text. + \comment +} +% +% The \vtop produces a box with normal height and large depth; thus, TeX puts +% \baselineskip glue before it, and (when the next line of text is done) +% \lineskip glue after it. Thus, space below is not quite equal to space +% above. But it's pretty close. +\def\Egroup{% + % To get correct interline space between the last line of the group + % and the first line afterwards, we have to propagate \prevdepth. + \endgraf % Not \par, as it may have been set to \lisppar. + \global\dimen1 = \prevdepth + \egroup % End the \vtop. + % \dimen0 is the vertical size of the group's box. + \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox + % \dimen2 is how much space is left on the page (more or less). + \dimen2 = \pageheight \advance\dimen2 by -\pagetotal + % if the group doesn't fit on the current page, and it's a big big + % group, force a page break. + \ifdim \dimen0 > \dimen2 + \ifdim \pagetotal < \vfilllimit\pageheight + \page + \fi + \fi + \box\groupbox + \prevdepth = \dimen1 + \checkinserts +} +% +% TeX puts in an \escapechar (i.e., `@') at the beginning of the help +% message, so this ends up printing `@group can only ...'. +% +\newhelp\groupinvalidhelp{% +group can only be used in environments such as @example,^^J% +where each line of input produces a line of output.} + +% @need space-in-mils +% forces a page break if there is not space-in-mils remaining. + +\newdimen\mil \mil=0.001in + +% Old definition--didn't work. +%\parseargdef\need{\par % +%% This method tries to make TeX break the page naturally +%% if the depth of the box does not fit. +%{\baselineskip=0pt% +%\vtop to #1\mil{\vfil}\kern -#1\mil\nobreak +%\prevdepth=-1000pt +%}} + +\parseargdef\need{% + % Ensure vertical mode, so we don't make a big box in the middle of a + % paragraph. + \par + % + % If the @need value is less than one line space, it's useless. + \dimen0 = #1\mil + \dimen2 = \ht\strutbox + \advance\dimen2 by \dp\strutbox + \ifdim\dimen0 > \dimen2 + % + % Do a \strut just to make the height of this box be normal, so the + % normal leading is inserted relative to the preceding line. + % And a page break here is fine. + \vtop to #1\mil{\strut\vfil}% + % + % TeX does not even consider page breaks if a penalty added to the + % main vertical list is 10000 or more. But in order to see if the + % empty box we just added fits on the page, we must make it consider + % page breaks. On the other hand, we don't want to actually break the + % page after the empty box. So we use a penalty of 9999. + % + % There is an extremely small chance that TeX will actually break the + % page at this \penalty, if there are no other feasible breakpoints in + % sight. (If the user is using lots of big @group commands, which + % almost-but-not-quite fill up a page, TeX will have a hard time doing + % good page breaking, for example.) However, I could not construct an + % example where a page broke at this \penalty; if it happens in a real + % document, then we can reconsider our strategy. + \penalty9999 + % + % Back up by the size of the box, whether we did a page break or not. + \kern -#1\mil + % + % Do not allow a page break right after this kern. + \nobreak + \fi +} + +% @br forces paragraph break (and is undocumented). + +\let\br = \par + +% @page forces the start of a new page. +% +\def\page{\par\vfill\supereject} + +% @exdent text.... +% outputs text on separate line in roman font, starting at standard page margin + +% This records the amount of indent in the innermost environment. +% That's how much \exdent should take out. +\newskip\exdentamount + +% This defn is used inside fill environments such as @defun. +\parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break} + +% This defn is used inside nofill environments such as @example. +\parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount + \leftline{\hskip\leftskip{\rm#1}}}} + +% @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current +% paragraph. For more general purposes, use the \margin insertion +% class. WHICH is `l' or `r'. +% +\newskip\inmarginspacing \inmarginspacing=1cm +\def\strutdepth{\dp\strutbox} +% +\def\doinmargin#1#2{\strut\vadjust{% + \nobreak + \kern-\strutdepth + \vtop to \strutdepth{% + \baselineskip=\strutdepth + \vss + % if you have multiple lines of stuff to put here, you'll need to + % make the vbox yourself of the appropriate size. + \ifx#1l% + \llap{\ignorespaces #2\hskip\inmarginspacing}% + \else + \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}% + \fi + \null + }% +}} +\def\inleftmargin{\doinmargin l} +\def\inrightmargin{\doinmargin r} +% +% @inmargin{TEXT [, RIGHT-TEXT]} +% (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right; +% else use TEXT for both). +% +\def\inmargin#1{\parseinmargin #1,,\finish} +\def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing. + \setbox0 = \hbox{\ignorespaces #2}% + \ifdim\wd0 > 0pt + \def\lefttext{#1}% have both texts + \def\righttext{#2}% + \else + \def\lefttext{#1}% have only one text + \def\righttext{#1}% + \fi + % + \ifodd\pageno + \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin + \else + \def\temp{\inleftmargin\lefttext}% + \fi + \temp +} + +% @include FILE -- \input text of FILE. +% +\def\include{\parseargusing\filenamecatcodes\includezzz} +\def\includezzz#1{% + \pushthisfilestack + \def\thisfile{#1}% + {% + \makevalueexpandable % we want to expand any @value in FILE. + \turnoffactive % and allow special characters in the expansion + \indexnofonts % Allow `@@' and other weird things in file names. + \edef\temp{\noexpand\input #1 }% + % + % This trickery is to read FILE outside of a group, in case it makes + % definitions, etc. + \expandafter + }\temp + \popthisfilestack +} +\def\filenamecatcodes{% + \catcode`\\=\other + \catcode`~=\other + \catcode`^=\other + \catcode`_=\other + \catcode`|=\other + \catcode`<=\other + \catcode`>=\other + \catcode`+=\other + \catcode`-=\other + \catcode`\`=\other + \catcode`\'=\other +} + +\def\pushthisfilestack{% + \expandafter\pushthisfilestackX\popthisfilestack\StackTerm +} +\def\pushthisfilestackX{% + \expandafter\pushthisfilestackY\thisfile\StackTerm +} +\def\pushthisfilestackY #1\StackTerm #2\StackTerm {% + \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}% +} + +\def\popthisfilestack{\errthisfilestackempty} +\def\errthisfilestackempty{\errmessage{Internal error: + the stack of filenames is empty.}} + +\def\thisfile{} + +% @center line +% outputs that line, centered. +% +\parseargdef\center{% + \ifhmode + \let\next\centerH + \else + \let\next\centerV + \fi + \next{\hfil \ignorespaces#1\unskip \hfil}% +} +\def\centerH#1{% + {% + \hfil\break + \advance\hsize by -\leftskip + \advance\hsize by -\rightskip + \line{#1}% + \break + }% +} +\def\centerV#1{\line{\kern\leftskip #1\kern\rightskip}} + +% @sp n outputs n lines of vertical space + +\parseargdef\sp{\vskip #1\baselineskip} + +% @comment ...line which is ignored... +% @c is the same as @comment +% @ignore ... @end ignore is another way to write a comment + +\def\comment{\begingroup \catcode`\^^M=\other% +\catcode`\@=\other \catcode`\{=\other \catcode`\}=\other% +\commentxxx} +{\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}} + +\let\c=\comment + +% @paragraphindent NCHARS +% We'll use ems for NCHARS, close enough. +% NCHARS can also be the word `asis' or `none'. +% We cannot feasibly implement @paragraphindent asis, though. +% +\def\asisword{asis} % no translation, these are keywords +\def\noneword{none} +% +\parseargdef\paragraphindent{% + \def\temp{#1}% + \ifx\temp\asisword + \else + \ifx\temp\noneword + \defaultparindent = 0pt + \else + \defaultparindent = #1em + \fi + \fi + \parindent = \defaultparindent +} + +% @exampleindent NCHARS +% We'll use ems for NCHARS like @paragraphindent. +% It seems @exampleindent asis isn't necessary, but +% I preserve it to make it similar to @paragraphindent. +\parseargdef\exampleindent{% + \def\temp{#1}% + \ifx\temp\asisword + \else + \ifx\temp\noneword + \lispnarrowing = 0pt + \else + \lispnarrowing = #1em + \fi + \fi +} + +% @firstparagraphindent WORD +% If WORD is `none', then suppress indentation of the first paragraph +% after a section heading. If WORD is `insert', then do indent at such +% paragraphs. +% +% The paragraph indentation is suppressed or not by calling +% \suppressfirstparagraphindent, which the sectioning commands do. +% We switch the definition of this back and forth according to WORD. +% By default, we suppress indentation. +% +\def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent} +\def\insertword{insert} +% +\parseargdef\firstparagraphindent{% + \def\temp{#1}% + \ifx\temp\noneword + \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent + \else\ifx\temp\insertword + \let\suppressfirstparagraphindent = \relax + \else + \errhelp = \EMsimple + \errmessage{Unknown @firstparagraphindent option `\temp'}% + \fi\fi +} + +% Here is how we actually suppress indentation. Redefine \everypar to +% \kern backwards by \parindent, and then reset itself to empty. +% +% We also make \indent itself not actually do anything until the next +% paragraph. +% +\gdef\dosuppressfirstparagraphindent{% + \gdef\indent{% + \restorefirstparagraphindent + \indent + }% + \gdef\noindent{% + \restorefirstparagraphindent + \noindent + }% + \global\everypar = {% + \kern -\parindent + \restorefirstparagraphindent + }% +} + +\gdef\restorefirstparagraphindent{% + \global \let \indent = \ptexindent + \global \let \noindent = \ptexnoindent + \global \everypar = {}% +} + + +% @asis just yields its argument. Used with @table, for example. +% +\def\asis#1{#1} + +% @math outputs its argument in math mode. +% +% One complication: _ usually means subscripts, but it could also mean +% an actual _ character, as in @math{@var{some_variable} + 1}. So make +% _ active, and distinguish by seeing if the current family is \slfam, +% which is what @var uses. +{ + \catcode`\_ = \active + \gdef\mathunderscore{% + \catcode`\_=\active + \def_{\ifnum\fam=\slfam \_\else\sb\fi}% + } +} +% Another complication: we want \\ (and @\) to output a \ character. +% FYI, plain.tex uses \\ as a temporary control sequence (why?), but +% this is not advertised and we don't care. Texinfo does not +% otherwise define @\. +% +% The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\. +\def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi} +% +\def\math{% + \tex + \mathunderscore + \let\\ = \mathbackslash + \mathactive + % make the texinfo accent commands work in math mode + \let\"=\ddot + \let\'=\acute + \let\==\bar + \let\^=\hat + \let\`=\grave + \let\u=\breve + \let\v=\check + \let\~=\tilde + \let\dotaccent=\dot + $\finishmath +} +\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. + +% Some active characters (such as <) are spaced differently in math. +% We have to reset their definitions in case the @math was an argument +% to a command which sets the catcodes (such as @item or @section). +% +{ + \catcode`^ = \active + \catcode`< = \active + \catcode`> = \active + \catcode`+ = \active + \catcode`' = \active + \gdef\mathactive{% + \let^ = \ptexhat + \let< = \ptexless + \let> = \ptexgtr + \let+ = \ptexplus + \let' = \ptexquoteright + } +} + +% Some math mode symbols. +\def\bullet{$\ptexbullet$} +\def\geq{\ifmmode \ge\else $\ge$\fi} +\def\leq{\ifmmode \le\else $\le$\fi} +\def\minus{\ifmmode -\else $-$\fi} + +% @dots{} outputs an ellipsis using the current font. +% We do .5em per period so that it has the same spacing in the cm +% typewriter fonts as three actual period characters; on the other hand, +% in other typewriter fonts three periods are wider than 1.5em. So do +% whichever is larger. +% +\def\dots{% + \leavevmode + \setbox0=\hbox{...}% get width of three periods + \ifdim\wd0 > 1.5em + \dimen0 = \wd0 + \else + \dimen0 = 1.5em + \fi + \hbox to \dimen0{% + \hskip 0pt plus.25fil + .\hskip 0pt plus1fil + .\hskip 0pt plus1fil + .\hskip 0pt plus.5fil + }% +} + +% @enddots{} is an end-of-sentence ellipsis. +% +\def\enddots{% + \dots + \spacefactor=\endofsentencespacefactor +} + +% @comma{} is so commas can be inserted into text without messing up +% Texinfo's parsing. +% +\let\comma = , + +% @refill is a no-op. +\let\refill=\relax + +% If working on a large document in chapters, it is convenient to +% be able to disable indexing, cross-referencing, and contents, for test runs. +% This is done with @novalidate (before @setfilename). +% +\newif\iflinks \linkstrue % by default we want the aux files. +\let\novalidate = \linksfalse + +% @setfilename is done at the beginning of every texinfo file. +% So open here the files we need to have open while reading the input. +% This makes it possible to make a .fmt file for texinfo. +\def\setfilename{% + \fixbackslash % Turn off hack to swallow `\input texinfo'. + \iflinks + \tryauxfile + % Open the new aux file. TeX will close it automatically at exit. + \immediate\openout\auxfile=\jobname.aux + \fi % \openindices needs to do some work in any case. + \openindices + \let\setfilename=\comment % Ignore extra @setfilename cmds. + % + % If texinfo.cnf is present on the system, read it. + % Useful for site-wide @afourpaper, etc. + \openin 1 texinfo.cnf + \ifeof 1 \else \input texinfo.cnf \fi + \closein 1 + % + \comment % Ignore the actual filename. +} + +% Called from \setfilename. +% +\def\openindices{% + \newindex{cp}% + \newcodeindex{fn}% + \newcodeindex{vr}% + \newcodeindex{tp}% + \newcodeindex{ky}% + \newcodeindex{pg}% +} + +% @bye. +\outer\def\bye{\pagealignmacro\tracingstats=1\ptexend} + + +\message{pdf,} +% adobe `portable' document format +\newcount\tempnum +\newcount\lnkcount +\newtoks\filename +\newcount\filenamelength +\newcount\pgn +\newtoks\toksA +\newtoks\toksB +\newtoks\toksC +\newtoks\toksD +\newbox\boxA +\newcount\countA +\newif\ifpdf +\newif\ifpdfmakepagedest + +% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1 +% can be set). So we test for \relax and 0 as well as \undefined, +% borrowed from ifpdf.sty. +\ifx\pdfoutput\undefined +\else + \ifx\pdfoutput\relax + \else + \ifcase\pdfoutput + \else + \pdftrue + \fi + \fi +\fi + +% PDF uses PostScript string constants for the names of xref targets, +% for display in the outlines, and in other places. Thus, we have to +% double any backslashes. Otherwise, a name like "\node" will be +% interpreted as a newline (\n), followed by o, d, e. Not good. +% http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html +% (and related messages, the final outcome is that it is up to the TeX +% user to double the backslashes and otherwise make the string valid, so +% that's what we do). + +% double active backslashes. +% +{\catcode`\@=0 \catcode`\\=\active + @gdef@activebackslashdouble{% + @catcode`@\=@active + @let\=@doublebackslash} +} + +% To handle parens, we must adopt a different approach, since parens are +% not active characters. hyperref.dtx (which has the same problem as +% us) handles it with this amazing macro to replace tokens, with minor +% changes for Texinfo. It is included here under the GPL by permission +% from the author, Heiko Oberdiek. +% +% #1 is the tokens to replace. +% #2 is the replacement. +% #3 is the control sequence with the string. +% +\def\HyPsdSubst#1#2#3{% + \def\HyPsdReplace##1#1##2\END{% + ##1% + \ifx\\##2\\% + \else + #2% + \HyReturnAfterFi{% + \HyPsdReplace##2\END + }% + \fi + }% + \xdef#3{\expandafter\HyPsdReplace#3#1\END}% +} +\long\def\HyReturnAfterFi#1\fi{\fi#1} + +% #1 is a control sequence in which to do the replacements. +\def\backslashparens#1{% + \xdef#1{#1}% redefine it as its expansion; the definition is simply + % \lastnode when called from \setref -> \pdfmkdest. + \HyPsdSubst{(}{\realbackslash(}{#1}% + \HyPsdSubst{)}{\realbackslash)}{#1}% +} + +\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images +with PDF output, and none of those formats could be found. (.eps cannot +be supported due to the design of the PDF format; use regular TeX (DVI +output) for that.)} + +\ifpdf + % + % Color manipulation macros based on pdfcolor.tex, + % except using rgb instead of cmyk; the latter is said to render as a + % very dark gray on-screen and a very dark halftone in print, instead + % of actual black. + \def\rgbDarkRed{0.50 0.09 0.12} + \def\rgbBlack{0 0 0} + % + % k sets the color for filling (usual text, etc.); + % K sets the color for stroking (thin rules, e.g., normal _'s). + \def\pdfsetcolor#1{\pdfliteral{#1 rg #1 RG}} + % + % Set color, and create a mark which defines \thiscolor accordingly, + % so that \makeheadline knows which color to restore. + \def\setcolor#1{% + \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}% + \domark + \pdfsetcolor{#1}% + } + % + \def\maincolor{\rgbBlack} + \pdfsetcolor{\maincolor} + \edef\thiscolor{\maincolor} + \def\lastcolordefs{} + % + \def\makefootline{% + \baselineskip24pt + \line{\pdfsetcolor{\maincolor}\the\footline}% + } + % + \def\makeheadline{% + \vbox to 0pt{% + \vskip-22.5pt + \line{% + \vbox to8.5pt{}% + % Extract \thiscolor definition from the marks. + \getcolormarks + % Typeset the headline with \maincolor, then restore the color. + \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}% + }% + \vss + }% + \nointerlineskip + } + % + % + \pdfcatalog{/PageMode /UseOutlines} + % + % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). + \def\dopdfimage#1#2#3{% + \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% + \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% + % + % pdftex (and the PDF format) support .png, .jpg, .pdf (among + % others). Let's try in that order. + \let\pdfimgext=\empty + \begingroup + \openin 1 #1.png \ifeof 1 + \openin 1 #1.jpg \ifeof 1 + \openin 1 #1.jpeg \ifeof 1 + \openin 1 #1.JPG \ifeof 1 + \openin 1 #1.pdf \ifeof 1 + \openin 1 #1.PDF \ifeof 1 + \errhelp = \nopdfimagehelp + \errmessage{Could not find image file #1 for pdf}% + \else \gdef\pdfimgext{PDF}% + \fi + \else \gdef\pdfimgext{pdf}% + \fi + \else \gdef\pdfimgext{JPG}% + \fi + \else \gdef\pdfimgext{jpeg}% + \fi + \else \gdef\pdfimgext{jpg}% + \fi + \else \gdef\pdfimgext{png}% + \fi + \closein 1 + \endgroup + % + % without \immediate, ancient pdftex seg faults when the same image is + % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) + \ifnum\pdftexversion < 14 + \immediate\pdfimage + \else + \immediate\pdfximage + \fi + \ifdim \wd0 >0pt width \imagewidth \fi + \ifdim \wd2 >0pt height \imageheight \fi + \ifnum\pdftexversion<13 + #1.\pdfimgext + \else + {#1.\pdfimgext}% + \fi + \ifnum\pdftexversion < 14 \else + \pdfrefximage \pdflastximage + \fi} + % + \def\pdfmkdest#1{{% + % We have to set dummies so commands such as @code, and characters + % such as \, aren't expanded when present in a section title. + \indexnofonts + \turnoffactive + \activebackslashdouble + \makevalueexpandable + \def\pdfdestname{#1}% + \backslashparens\pdfdestname + \safewhatsit{\pdfdest name{\pdfdestname} xyz}% + }} + % + % used to mark target names; must be expandable. + \def\pdfmkpgn#1{#1} + % + % by default, use a color that is dark enough to print on paper as + % nearly black, but still distinguishable for online viewing. + \def\urlcolor{\rgbDarkRed} + \def\linkcolor{\rgbDarkRed} + \def\endlink{\setcolor{\maincolor}\pdfendlink} + % + % Adding outlines to PDF; macros for calculating structure of outlines + % come from Petr Olsak + \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% + \else \csname#1\endcsname \fi} + \def\advancenumber#1{\tempnum=\expnumber{#1}\relax + \advance\tempnum by 1 + \expandafter\xdef\csname#1\endcsname{\the\tempnum}} + % + % #1 is the section text, which is what will be displayed in the + % outline by the pdf viewer. #2 is the pdf expression for the number + % of subentries (or empty, for subsubsections). #3 is the node text, + % which might be empty if this toc entry had no corresponding node. + % #4 is the page number + % + \def\dopdfoutline#1#2#3#4{% + % Generate a link to the node text if that exists; else, use the + % page number. We could generate a destination for the section + % text in the case where a section has no node, but it doesn't + % seem worth the trouble, since most documents are normally structured. + \def\pdfoutlinedest{#3}% + \ifx\pdfoutlinedest\empty + \def\pdfoutlinedest{#4}% + \else + % Doubled backslashes in the name. + {\activebackslashdouble \xdef\pdfoutlinedest{#3}% + \backslashparens\pdfoutlinedest}% + \fi + % + % Also double the backslashes in the display string. + {\activebackslashdouble \xdef\pdfoutlinetext{#1}% + \backslashparens\pdfoutlinetext}% + % + \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}% + } + % + \def\pdfmakeoutlines{% + \begingroup + % Thanh's hack / proper braces in bookmarks + \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace + \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace + % + % Read toc silently, to get counts of subentries for \pdfoutline. + \def\numchapentry##1##2##3##4{% + \def\thischapnum{##2}% + \def\thissecnum{0}% + \def\thissubsecnum{0}% + }% + \def\numsecentry##1##2##3##4{% + \advancenumber{chap\thischapnum}% + \def\thissecnum{##2}% + \def\thissubsecnum{0}% + }% + \def\numsubsecentry##1##2##3##4{% + \advancenumber{sec\thissecnum}% + \def\thissubsecnum{##2}% + }% + \def\numsubsubsecentry##1##2##3##4{% + \advancenumber{subsec\thissubsecnum}% + }% + \def\thischapnum{0}% + \def\thissecnum{0}% + \def\thissubsecnum{0}% + % + % use \def rather than \let here because we redefine \chapentry et + % al. a second time, below. + \def\appentry{\numchapentry}% + \def\appsecentry{\numsecentry}% + \def\appsubsecentry{\numsubsecentry}% + \def\appsubsubsecentry{\numsubsubsecentry}% + \def\unnchapentry{\numchapentry}% + \def\unnsecentry{\numsecentry}% + \def\unnsubsecentry{\numsubsecentry}% + \def\unnsubsubsecentry{\numsubsubsecentry}% + \readdatafile{toc}% + % + % Read toc second time, this time actually producing the outlines. + % The `-' means take the \expnumber as the absolute number of + % subentries, which we calculated on our first read of the .toc above. + % + % We use the node names as the destinations. + \def\numchapentry##1##2##3##4{% + \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% + \def\numsecentry##1##2##3##4{% + \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% + \def\numsubsecentry##1##2##3##4{% + \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}% + \def\numsubsubsecentry##1##2##3##4{% count is always zero + \dopdfoutline{##1}{}{##3}{##4}}% + % + % PDF outlines are displayed using system fonts, instead of + % document fonts. Therefore we cannot use special characters, + % since the encoding is unknown. For example, the eogonek from + % Latin 2 (0xea) gets translated to a | character. Info from + % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100. + % + % xx to do this right, we have to translate 8-bit characters to + % their "best" equivalent, based on the @documentencoding. Right + % now, I guess we'll just let the pdf reader have its way. + \indexnofonts + \setupdatafile + \catcode`\\=\active \otherbackslash + \input \tocreadfilename + \endgroup + } + % + \def\skipspaces#1{\def\PP{#1}\def\D{|}% + \ifx\PP\D\let\nextsp\relax + \else\let\nextsp\skipspaces + \ifx\p\space\else\addtokens{\filename}{\PP}% + \advance\filenamelength by 1 + \fi + \fi + \nextsp} + \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax} + \ifnum\pdftexversion < 14 + \let \startlink \pdfannotlink + \else + \let \startlink \pdfstartlink + \fi + % make a live url in pdf output. + \def\pdfurl#1{% + \begingroup + % it seems we really need yet another set of dummies; have not + % tried to figure out what each command should do in the context + % of @url. for now, just make @/ a no-op, that's the only one + % people have actually reported a problem with. + % + \normalturnoffactive + \def\@{@}% + \let\/=\empty + \makevalueexpandable + % do we want to go so far as to use \indexnofonts instead of just + % special-casing \var here? + \def\var##1{##1}% + % + \leavevmode\setcolor{\urlcolor}% + \startlink attr{/Border [0 0 0]}% + user{/Subtype /Link /A << /S /URI /URI (#1) >>}% + \endgroup} + \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} + \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} + \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} + \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} + \def\maketoks{% + \expandafter\poptoks\the\toksA|ENDTOKS|\relax + \ifx\first0\adn0 + \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 + \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 + \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 + \else + \ifnum0=\countA\else\makelink\fi + \ifx\first.\let\next=\done\else + \let\next=\maketoks + \addtokens{\toksB}{\the\toksD} + \ifx\first,\addtokens{\toksB}{\space}\fi + \fi + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi + \next} + \def\makelink{\addtokens{\toksB}% + {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} + \def\pdflink#1{% + \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}} + \setcolor{\linkcolor}#1\endlink} + \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} +\else + % non-pdf mode + \let\pdfmkdest = \gobble + \let\pdfurl = \gobble + \let\endlink = \relax + \let\setcolor = \gobble + \let\pdfsetcolor = \gobble + \let\pdfmakeoutlines = \relax +\fi % \ifx\pdfoutput + + +\message{fonts,} + +% Change the current font style to #1, remembering it in \curfontstyle. +% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in +% italics, not bold italics. +% +\def\setfontstyle#1{% + \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd. + \csname ten#1\endcsname % change the current font +} + +% Select #1 fonts with the current style. +% +\def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname} + +\def\rm{\fam=0 \setfontstyle{rm}} +\def\it{\fam=\itfam \setfontstyle{it}} +\def\sl{\fam=\slfam \setfontstyle{sl}} +\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} +\def\tt{\fam=\ttfam \setfontstyle{tt}} + +% Unfortunately, we have to override this for titles and the like, since +% in those cases "rm" is bold. Sigh. +\def\rmisbold{\rm\def\curfontstyle{bf}} + +% Texinfo sort of supports the sans serif font style, which plain TeX does not. +% So we set up a \sf. +\newfam\sffam +\def\sf{\fam=\sffam \setfontstyle{sf}} +\let\li = \sf % Sometimes we call it \li, not \sf. + +% We don't need math for this font style. +\def\ttsl{\setfontstyle{ttsl}} + + +% Default leading. +\newdimen\textleading \textleading = 13.2pt + +% Set the baselineskip to #1, and the lineskip and strut size +% correspondingly. There is no deep meaning behind these magic numbers +% used as factors; they just match (closely enough) what Knuth defined. +% +\def\lineskipfactor{.08333} +\def\strutheightpercent{.70833} +\def\strutdepthpercent {.29167} +% +% can get a sort of poor man's double spacing by redefining this. +\def\baselinefactor{1} +% +\def\setleading#1{% + \dimen0 = #1\relax + \normalbaselineskip = \baselinefactor\dimen0 + \normallineskip = \lineskipfactor\normalbaselineskip + \normalbaselines + \setbox\strutbox =\hbox{% + \vrule width0pt height\strutheightpercent\baselineskip + depth \strutdepthpercent \baselineskip + }% +} + +% PDF CMaps. See also LaTeX's t1.cmap. +% +% do nothing with this by default. +\expandafter\let\csname cmapOT1\endcsname\gobble +\expandafter\let\csname cmapOT1IT\endcsname\gobble +\expandafter\let\csname cmapOT1TT\endcsname\gobble + +% if we are producing pdf, and we have \pdffontattr, then define cmaps. +% (\pdffontattr was introduced many years ago, but people still run +% older pdftex's; it's easy to conditionalize, so we do.) +\ifpdf \ifx\pdffontattr\undefined \else + \begingroup + \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. + \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-OT1-0) +%%Title: (TeX-OT1-0 TeX OT1 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (OT1) +/Supplement 0 +>> def +/CMapName /TeX-OT1-0 def +/CMapType 2 def +1 begincodespacerange +<00> <7F> +endcodespacerange +8 beginbfrange +<00> <01> <0393> +<09> <0A> <03A8> +<23> <26> <0023> +<28> <3B> <0028> +<3F> <5B> <003F> +<5D> <5E> <005D> +<61> <7A> <0061> +<7B> <7C> <2013> +endbfrange +40 beginbfchar +<02> <0398> +<03> <039B> +<04> <039E> +<05> <03A0> +<06> <03A3> +<07> <03D2> +<08> <03A6> +<0B> <00660066> +<0C> <00660069> +<0D> <0066006C> +<0E> <006600660069> +<0F> <00660066006C> +<10> <0131> +<11> <0237> +<12> <0060> +<13> <00B4> +<14> <02C7> +<15> <02D8> +<16> <00AF> +<17> <02DA> +<18> <00B8> +<19> <00DF> +<1A> <00E6> +<1B> <0153> +<1C> <00F8> +<1D> <00C6> +<1E> <0152> +<1F> <00D8> +<21> <0021> +<22> <201D> +<27> <2019> +<3C> <00A1> +<3D> <003D> +<3E> <00BF> +<5C> <201C> +<5F> <02D9> +<60> <2018> +<7D> <02DD> +<7E> <007E> +<7F> <00A8> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF + }\endgroup + \expandafter\edef\csname cmapOT1\endcsname#1{% + \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% + }% +% +% \cmapOT1IT + \begingroup + \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. + \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-OT1IT-0) +%%Title: (TeX-OT1IT-0 TeX OT1IT 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (OT1IT) +/Supplement 0 +>> def +/CMapName /TeX-OT1IT-0 def +/CMapType 2 def +1 begincodespacerange +<00> <7F> +endcodespacerange +8 beginbfrange +<00> <01> <0393> +<09> <0A> <03A8> +<25> <26> <0025> +<28> <3B> <0028> +<3F> <5B> <003F> +<5D> <5E> <005D> +<61> <7A> <0061> +<7B> <7C> <2013> +endbfrange +42 beginbfchar +<02> <0398> +<03> <039B> +<04> <039E> +<05> <03A0> +<06> <03A3> +<07> <03D2> +<08> <03A6> +<0B> <00660066> +<0C> <00660069> +<0D> <0066006C> +<0E> <006600660069> +<0F> <00660066006C> +<10> <0131> +<11> <0237> +<12> <0060> +<13> <00B4> +<14> <02C7> +<15> <02D8> +<16> <00AF> +<17> <02DA> +<18> <00B8> +<19> <00DF> +<1A> <00E6> +<1B> <0153> +<1C> <00F8> +<1D> <00C6> +<1E> <0152> +<1F> <00D8> +<21> <0021> +<22> <201D> +<23> <0023> +<24> <00A3> +<27> <2019> +<3C> <00A1> +<3D> <003D> +<3E> <00BF> +<5C> <201C> +<5F> <02D9> +<60> <2018> +<7D> <02DD> +<7E> <007E> +<7F> <00A8> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF + }\endgroup + \expandafter\edef\csname cmapOT1IT\endcsname#1{% + \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% + }% +% +% \cmapOT1TT + \begingroup + \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. + \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-OT1TT-0) +%%Title: (TeX-OT1TT-0 TeX OT1TT 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (OT1TT) +/Supplement 0 +>> def +/CMapName /TeX-OT1TT-0 def +/CMapType 2 def +1 begincodespacerange +<00> <7F> +endcodespacerange +5 beginbfrange +<00> <01> <0393> +<09> <0A> <03A8> +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +endbfrange +32 beginbfchar +<02> <0398> +<03> <039B> +<04> <039E> +<05> <03A0> +<06> <03A3> +<07> <03D2> +<08> <03A6> +<0B> <2191> +<0C> <2193> +<0D> <0027> +<0E> <00A1> +<0F> <00BF> +<10> <0131> +<11> <0237> +<12> <0060> +<13> <00B4> +<14> <02C7> +<15> <02D8> +<16> <00AF> +<17> <02DA> +<18> <00B8> +<19> <00DF> +<1A> <00E6> +<1B> <0153> +<1C> <00F8> +<1D> <00C6> +<1E> <0152> +<1F> <00D8> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <00A8> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF + }\endgroup + \expandafter\edef\csname cmapOT1TT\endcsname#1{% + \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% + }% +\fi\fi + + +% Set the font macro #1 to the font named #2, adding on the +% specified font prefix (normally `cm'). +% #3 is the font's design size, #4 is a scale factor, #5 is the CMap +% encoding (currently only OT1, OT1IT and OT1TT are allowed, pass +% empty to omit). +\def\setfont#1#2#3#4#5{% + \font#1=\fontprefix#2#3 scaled #4 + \csname cmap#5\endcsname#1% +} +% This is what gets called when #5 of \setfont is empty. +\let\cmap\gobble +% emacs-page end of cmaps + +% Use cm as the default font prefix. +% To specify the font prefix, you must define \fontprefix +% before you read in texinfo.tex. +\ifx\fontprefix\undefined +\def\fontprefix{cm} +\fi +% Support font families that don't use the same naming scheme as CM. +\def\rmshape{r} +\def\rmbshape{bx} %where the normal face is bold +\def\bfshape{b} +\def\bxshape{bx} +\def\ttshape{tt} +\def\ttbshape{tt} +\def\ttslshape{sltt} +\def\itshape{ti} +\def\itbshape{bxti} +\def\slshape{sl} +\def\slbshape{bxsl} +\def\sfshape{ss} +\def\sfbshape{ss} +\def\scshape{csc} +\def\scbshape{csc} + +% Definitions for a main text size of 11pt. This is the default in +% Texinfo. +% +\def\definetextfontsizexi{% +% Text fonts (11.2pt, magstep1). +\def\textnominalsize{11pt} +\edef\mainmagstep{\magstephalf} +\setfont\textrm\rmshape{10}{\mainmagstep}{OT1} +\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} +\setfont\textbf\bfshape{10}{\mainmagstep}{OT1} +\setfont\textit\itshape{10}{\mainmagstep}{OT1IT} +\setfont\textsl\slshape{10}{\mainmagstep}{OT1} +\setfont\textsf\sfshape{10}{\mainmagstep}{OT1} +\setfont\textsc\scshape{10}{\mainmagstep}{OT1} +\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} +\font\texti=cmmi10 scaled \mainmagstep +\font\textsy=cmsy10 scaled \mainmagstep +\def\textecsize{1095} + +% A few fonts for @defun names and args. +\setfont\defbf\bfshape{10}{\magstep1}{OT1} +\setfont\deftt\ttshape{10}{\magstep1}{OT1TT} +\setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT} +\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} + +% Fonts for indices, footnotes, small examples (9pt). +\def\smallnominalsize{9pt} +\setfont\smallrm\rmshape{9}{1000}{OT1} +\setfont\smalltt\ttshape{9}{1000}{OT1TT} +\setfont\smallbf\bfshape{10}{900}{OT1} +\setfont\smallit\itshape{9}{1000}{OT1IT} +\setfont\smallsl\slshape{9}{1000}{OT1} +\setfont\smallsf\sfshape{9}{1000}{OT1} +\setfont\smallsc\scshape{10}{900}{OT1} +\setfont\smallttsl\ttslshape{10}{900}{OT1TT} +\font\smalli=cmmi9 +\font\smallsy=cmsy9 +\def\smallecsize{0900} + +% Fonts for small examples (8pt). +\def\smallernominalsize{8pt} +\setfont\smallerrm\rmshape{8}{1000}{OT1} +\setfont\smallertt\ttshape{8}{1000}{OT1TT} +\setfont\smallerbf\bfshape{10}{800}{OT1} +\setfont\smallerit\itshape{8}{1000}{OT1IT} +\setfont\smallersl\slshape{8}{1000}{OT1} +\setfont\smallersf\sfshape{8}{1000}{OT1} +\setfont\smallersc\scshape{10}{800}{OT1} +\setfont\smallerttsl\ttslshape{10}{800}{OT1TT} +\font\smalleri=cmmi8 +\font\smallersy=cmsy8 +\def\smallerecsize{0800} + +% Fonts for title page (20.4pt): +\def\titlenominalsize{20pt} +\setfont\titlerm\rmbshape{12}{\magstep3}{OT1} +\setfont\titleit\itbshape{10}{\magstep4}{OT1IT} +\setfont\titlesl\slbshape{10}{\magstep4}{OT1} +\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} +\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} +\setfont\titlesf\sfbshape{17}{\magstep1}{OT1} +\let\titlebf=\titlerm +\setfont\titlesc\scbshape{10}{\magstep4}{OT1} +\font\titlei=cmmi12 scaled \magstep3 +\font\titlesy=cmsy10 scaled \magstep4 +\def\titleecsize{2074} + +% Chapter (and unnumbered) fonts (17.28pt). +\def\chapnominalsize{17pt} +\setfont\chaprm\rmbshape{12}{\magstep2}{OT1} +\setfont\chapit\itbshape{10}{\magstep3}{OT1IT} +\setfont\chapsl\slbshape{10}{\magstep3}{OT1} +\setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT} +\setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT} +\setfont\chapsf\sfbshape{17}{1000}{OT1} +\let\chapbf=\chaprm +\setfont\chapsc\scbshape{10}{\magstep3}{OT1} +\font\chapi=cmmi12 scaled \magstep2 +\font\chapsy=cmsy10 scaled \magstep3 +\def\chapecsize{1728} + +% Section fonts (14.4pt). +\def\secnominalsize{14pt} +\setfont\secrm\rmbshape{12}{\magstep1}{OT1} +\setfont\secit\itbshape{10}{\magstep2}{OT1IT} +\setfont\secsl\slbshape{10}{\magstep2}{OT1} +\setfont\sectt\ttbshape{12}{\magstep1}{OT1TT} +\setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT} +\setfont\secsf\sfbshape{12}{\magstep1}{OT1} +\let\secbf\secrm +\setfont\secsc\scbshape{10}{\magstep2}{OT1} +\font\seci=cmmi12 scaled \magstep1 +\font\secsy=cmsy10 scaled \magstep2 +\def\sececsize{1440} + +% Subsection fonts (13.15pt). +\def\ssecnominalsize{13pt} +\setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1} +\setfont\ssecit\itbshape{10}{1315}{OT1IT} +\setfont\ssecsl\slbshape{10}{1315}{OT1} +\setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT} +\setfont\ssecttsl\ttslshape{10}{1315}{OT1TT} +\setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1} +\let\ssecbf\ssecrm +\setfont\ssecsc\scbshape{10}{1315}{OT1} +\font\sseci=cmmi12 scaled \magstephalf +\font\ssecsy=cmsy10 scaled 1315 +\def\ssececsize{1200} + +% Reduced fonts for @acro in text (10pt). +\def\reducednominalsize{10pt} +\setfont\reducedrm\rmshape{10}{1000}{OT1} +\setfont\reducedtt\ttshape{10}{1000}{OT1TT} +\setfont\reducedbf\bfshape{10}{1000}{OT1} +\setfont\reducedit\itshape{10}{1000}{OT1IT} +\setfont\reducedsl\slshape{10}{1000}{OT1} +\setfont\reducedsf\sfshape{10}{1000}{OT1} +\setfont\reducedsc\scshape{10}{1000}{OT1} +\setfont\reducedttsl\ttslshape{10}{1000}{OT1TT} +\font\reducedi=cmmi10 +\font\reducedsy=cmsy10 +\def\reducedecsize{1000} + +% reset the current fonts +\textfonts +\rm +} % end of 11pt text font size definitions + + +% Definitions to make the main text be 10pt Computer Modern, with +% section, chapter, etc., sizes following suit. This is for the GNU +% Press printing of the Emacs 22 manual. Maybe other manuals in the +% future. Used with @smallbook, which sets the leading to 12pt. +% +\def\definetextfontsizex{% +% Text fonts (10pt). +\def\textnominalsize{10pt} +\edef\mainmagstep{1000} +\setfont\textrm\rmshape{10}{\mainmagstep}{OT1} +\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} +\setfont\textbf\bfshape{10}{\mainmagstep}{OT1} +\setfont\textit\itshape{10}{\mainmagstep}{OT1IT} +\setfont\textsl\slshape{10}{\mainmagstep}{OT1} +\setfont\textsf\sfshape{10}{\mainmagstep}{OT1} +\setfont\textsc\scshape{10}{\mainmagstep}{OT1} +\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} +\font\texti=cmmi10 scaled \mainmagstep +\font\textsy=cmsy10 scaled \mainmagstep +\def\textecsize{1000} + +% A few fonts for @defun names and args. +\setfont\defbf\bfshape{10}{\magstephalf}{OT1} +\setfont\deftt\ttshape{10}{\magstephalf}{OT1TT} +\setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT} +\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} + +% Fonts for indices, footnotes, small examples (9pt). +\def\smallnominalsize{9pt} +\setfont\smallrm\rmshape{9}{1000}{OT1} +\setfont\smalltt\ttshape{9}{1000}{OT1TT} +\setfont\smallbf\bfshape{10}{900}{OT1} +\setfont\smallit\itshape{9}{1000}{OT1IT} +\setfont\smallsl\slshape{9}{1000}{OT1} +\setfont\smallsf\sfshape{9}{1000}{OT1} +\setfont\smallsc\scshape{10}{900}{OT1} +\setfont\smallttsl\ttslshape{10}{900}{OT1TT} +\font\smalli=cmmi9 +\font\smallsy=cmsy9 +\def\smallecsize{0900} + +% Fonts for small examples (8pt). +\def\smallernominalsize{8pt} +\setfont\smallerrm\rmshape{8}{1000}{OT1} +\setfont\smallertt\ttshape{8}{1000}{OT1TT} +\setfont\smallerbf\bfshape{10}{800}{OT1} +\setfont\smallerit\itshape{8}{1000}{OT1IT} +\setfont\smallersl\slshape{8}{1000}{OT1} +\setfont\smallersf\sfshape{8}{1000}{OT1} +\setfont\smallersc\scshape{10}{800}{OT1} +\setfont\smallerttsl\ttslshape{10}{800}{OT1TT} +\font\smalleri=cmmi8 +\font\smallersy=cmsy8 +\def\smallerecsize{0800} + +% Fonts for title page (20.4pt): +\def\titlenominalsize{20pt} +\setfont\titlerm\rmbshape{12}{\magstep3}{OT1} +\setfont\titleit\itbshape{10}{\magstep4}{OT1IT} +\setfont\titlesl\slbshape{10}{\magstep4}{OT1} +\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} +\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} +\setfont\titlesf\sfbshape{17}{\magstep1}{OT1} +\let\titlebf=\titlerm +\setfont\titlesc\scbshape{10}{\magstep4}{OT1} +\font\titlei=cmmi12 scaled \magstep3 +\font\titlesy=cmsy10 scaled \magstep4 +\def\titleecsize{2074} + +% Chapter fonts (14.4pt). +\def\chapnominalsize{14pt} +\setfont\chaprm\rmbshape{12}{\magstep1}{OT1} +\setfont\chapit\itbshape{10}{\magstep2}{OT1IT} +\setfont\chapsl\slbshape{10}{\magstep2}{OT1} +\setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT} +\setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT} +\setfont\chapsf\sfbshape{12}{\magstep1}{OT1} +\let\chapbf\chaprm +\setfont\chapsc\scbshape{10}{\magstep2}{OT1} +\font\chapi=cmmi12 scaled \magstep1 +\font\chapsy=cmsy10 scaled \magstep2 +\def\chapecsize{1440} + +% Section fonts (12pt). +\def\secnominalsize{12pt} +\setfont\secrm\rmbshape{12}{1000}{OT1} +\setfont\secit\itbshape{10}{\magstep1}{OT1IT} +\setfont\secsl\slbshape{10}{\magstep1}{OT1} +\setfont\sectt\ttbshape{12}{1000}{OT1TT} +\setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT} +\setfont\secsf\sfbshape{12}{1000}{OT1} +\let\secbf\secrm +\setfont\secsc\scbshape{10}{\magstep1}{OT1} +\font\seci=cmmi12 +\font\secsy=cmsy10 scaled \magstep1 +\def\sececsize{1200} + +% Subsection fonts (10pt). +\def\ssecnominalsize{10pt} +\setfont\ssecrm\rmbshape{10}{1000}{OT1} +\setfont\ssecit\itbshape{10}{1000}{OT1IT} +\setfont\ssecsl\slbshape{10}{1000}{OT1} +\setfont\ssectt\ttbshape{10}{1000}{OT1TT} +\setfont\ssecttsl\ttslshape{10}{1000}{OT1TT} +\setfont\ssecsf\sfbshape{10}{1000}{OT1} +\let\ssecbf\ssecrm +\setfont\ssecsc\scbshape{10}{1000}{OT1} +\font\sseci=cmmi10 +\font\ssecsy=cmsy10 +\def\ssececsize{1000} + +% Reduced fonts for @acro in text (9pt). +\def\reducednominalsize{9pt} +\setfont\reducedrm\rmshape{9}{1000}{OT1} +\setfont\reducedtt\ttshape{9}{1000}{OT1TT} +\setfont\reducedbf\bfshape{10}{900}{OT1} +\setfont\reducedit\itshape{9}{1000}{OT1IT} +\setfont\reducedsl\slshape{9}{1000}{OT1} +\setfont\reducedsf\sfshape{9}{1000}{OT1} +\setfont\reducedsc\scshape{10}{900}{OT1} +\setfont\reducedttsl\ttslshape{10}{900}{OT1TT} +\font\reducedi=cmmi9 +\font\reducedsy=cmsy9 +\def\reducedecsize{0900} + +% reduce space between paragraphs +\divide\parskip by 2 + +% reset the current fonts +\textfonts +\rm +} % end of 10pt text font size definitions + + +% We provide the user-level command +% @fonttextsize 10 +% (or 11) to redefine the text font size. pt is assumed. +% +\def\xword{10} +\def\xiword{11} +% +\parseargdef\fonttextsize{% + \def\textsizearg{#1}% + \wlog{doing @fonttextsize \textsizearg}% + % + % Set \globaldefs so that documents can use this inside @tex, since + % makeinfo 4.8 does not support it, but we need it nonetheless. + % + \begingroup \globaldefs=1 + \ifx\textsizearg\xword \definetextfontsizex + \else \ifx\textsizearg\xiword \definetextfontsizexi + \else + \errhelp=\EMsimple + \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'} + \fi\fi + \endgroup +} + + +% In order for the font changes to affect most math symbols and letters, +% we have to define the \textfont of the standard families. Since +% texinfo doesn't allow for producing subscripts and superscripts except +% in the main text, we don't bother to reset \scriptfont and +% \scriptscriptfont (which would also require loading a lot more fonts). +% +\def\resetmathfonts{% + \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy + \textfont\itfam=\tenit \textfont\slfam=\tensl \textfont\bffam=\tenbf + \textfont\ttfam=\tentt \textfont\sffam=\tensf +} + +% The font-changing commands redefine the meanings of \tenSTYLE, instead +% of just \STYLE. We do this because \STYLE needs to also set the +% current \fam for math mode. Our \STYLE (e.g., \rm) commands hardwire +% \tenSTYLE to set the current font. +% +% Each font-changing command also sets the names \lsize (one size lower) +% and \lllsize (three sizes lower). These relative commands are used in +% the LaTeX logo and acronyms. +% +% This all needs generalizing, badly. +% +\def\textfonts{% + \let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl + \let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc + \let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy + \let\tenttsl=\textttsl + \def\curfontsize{text}% + \def\lsize{reduced}\def\lllsize{smaller}% + \resetmathfonts \setleading{\textleading}} +\def\titlefonts{% + \let\tenrm=\titlerm \let\tenit=\titleit \let\tensl=\titlesl + \let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc + \let\tensf=\titlesf \let\teni=\titlei \let\tensy=\titlesy + \let\tenttsl=\titlettsl + \def\curfontsize{title}% + \def\lsize{chap}\def\lllsize{subsec}% + \resetmathfonts \setleading{25pt}} +\def\titlefont#1{{\titlefonts\rmisbold #1}} +\def\chapfonts{% + \let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl + \let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc + \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy + \let\tenttsl=\chapttsl + \def\curfontsize{chap}% + \def\lsize{sec}\def\lllsize{text}% + \resetmathfonts \setleading{19pt}} +\def\secfonts{% + \let\tenrm=\secrm \let\tenit=\secit \let\tensl=\secsl + \let\tenbf=\secbf \let\tentt=\sectt \let\smallcaps=\secsc + \let\tensf=\secsf \let\teni=\seci \let\tensy=\secsy + \let\tenttsl=\secttsl + \def\curfontsize{sec}% + \def\lsize{subsec}\def\lllsize{reduced}% + \resetmathfonts \setleading{16pt}} +\def\subsecfonts{% + \let\tenrm=\ssecrm \let\tenit=\ssecit \let\tensl=\ssecsl + \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc + \let\tensf=\ssecsf \let\teni=\sseci \let\tensy=\ssecsy + \let\tenttsl=\ssecttsl + \def\curfontsize{ssec}% + \def\lsize{text}\def\lllsize{small}% + \resetmathfonts \setleading{15pt}} +\let\subsubsecfonts = \subsecfonts +\def\reducedfonts{% + \let\tenrm=\reducedrm \let\tenit=\reducedit \let\tensl=\reducedsl + \let\tenbf=\reducedbf \let\tentt=\reducedtt \let\reducedcaps=\reducedsc + \let\tensf=\reducedsf \let\teni=\reducedi \let\tensy=\reducedsy + \let\tenttsl=\reducedttsl + \def\curfontsize{reduced}% + \def\lsize{small}\def\lllsize{smaller}% + \resetmathfonts \setleading{10.5pt}} +\def\smallfonts{% + \let\tenrm=\smallrm \let\tenit=\smallit \let\tensl=\smallsl + \let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc + \let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy + \let\tenttsl=\smallttsl + \def\curfontsize{small}% + \def\lsize{smaller}\def\lllsize{smaller}% + \resetmathfonts \setleading{10.5pt}} +\def\smallerfonts{% + \let\tenrm=\smallerrm \let\tenit=\smallerit \let\tensl=\smallersl + \let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc + \let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy + \let\tenttsl=\smallerttsl + \def\curfontsize{smaller}% + \def\lsize{smaller}\def\lllsize{smaller}% + \resetmathfonts \setleading{9.5pt}} + +% Fonts for short table of contents. +\setfont\shortcontrm\rmshape{12}{1000}{OT1} +\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12 +\setfont\shortcontsl\slshape{12}{1000}{OT1} +\setfont\shortconttt\ttshape{12}{1000}{OT1TT} + +% Define these just so they can be easily changed for other fonts. +\def\angleleft{$\langle$} +\def\angleright{$\rangle$} + +% Set the fonts to use with the @small... environments. +\let\smallexamplefonts = \smallfonts + +% About \smallexamplefonts. If we use \smallfonts (9pt), @smallexample +% can fit this many characters: +% 8.5x11=86 smallbook=72 a4=90 a5=69 +% If we use \scriptfonts (8pt), then we can fit this many characters: +% 8.5x11=90+ smallbook=80 a4=90+ a5=77 +% For me, subjectively, the few extra characters that fit aren't worth +% the additional smallness of 8pt. So I'm making the default 9pt. +% +% By the way, for comparison, here's what fits with @example (10pt): +% 8.5x11=71 smallbook=60 a4=75 a5=58 +% --karl, 24jan03. + +% Set up the default fonts, so we can use them for creating boxes. +% +\definetextfontsizexi + + +\message{markup,} + +% Check if we are currently using a typewriter font. Since all the +% Computer Modern typewriter fonts have zero interword stretch (and +% shrink), and it is reasonable to expect all typewriter fonts to have +% this property, we can check that font parameter. +% +\def\ifmonospace{\ifdim\fontdimen3\font=0pt } + +% Markup style infrastructure. \defmarkupstylesetup\INITMACRO will +% define and register \INITMACRO to be called on markup style changes. +% \INITMACRO can check \currentmarkupstyle for the innermost +% style and the set of \ifmarkupSTYLE switches for all styles +% currently in effect. +\newif\ifmarkupvar +\newif\ifmarkupsamp +\newif\ifmarkupkey +%\newif\ifmarkupfile % @file == @samp. +%\newif\ifmarkupoption % @option == @samp. +\newif\ifmarkupcode +\newif\ifmarkupkbd +%\newif\ifmarkupenv % @env == @code. +%\newif\ifmarkupcommand % @command == @code. +\newif\ifmarkuptex % @tex (and part of @math, for now). +\newif\ifmarkupexample +\newif\ifmarkupverb +\newif\ifmarkupverbatim + +\let\currentmarkupstyle\empty + +\def\setupmarkupstyle#1{% + \csname markup#1true\endcsname + \def\currentmarkupstyle{#1}% + \markupstylesetup +} + +\let\markupstylesetup\empty + +\def\defmarkupstylesetup#1{% + \expandafter\def\expandafter\markupstylesetup + \expandafter{\markupstylesetup #1}% + \def#1% +} + +% Markup style setup for left and right quotes. +\defmarkupstylesetup\markupsetuplq{% + \expandafter\let\expandafter \temp \csname markupsetuplq\currentmarkupstyle\endcsname + \ifx\temp\relax \markupsetuplqdefault \else \temp \fi +} + +\defmarkupstylesetup\markupsetuprq{% + \expandafter\let\expandafter \temp \csname markupsetuprq\currentmarkupstyle\endcsname + \ifx\temp\relax \markupsetuprqdefault \else \temp \fi +} + +{ +\catcode`\'=\active +\catcode`\`=\active + +\gdef\markupsetuplqdefault{\let`\lq} +\gdef\markupsetuprqdefault{\let'\rq} + +\gdef\markupsetcodequoteleft{\let`\codequoteleft} +\gdef\markupsetcodequoteright{\let'\codequoteright} + +\gdef\markupsetnoligaturesquoteleft{\let`\noligaturesquoteleft} +} + +\let\markupsetuplqcode \markupsetcodequoteleft +\let\markupsetuprqcode \markupsetcodequoteright +\let\markupsetuplqexample \markupsetcodequoteleft +\let\markupsetuprqexample \markupsetcodequoteright +\let\markupsetuplqverb \markupsetcodequoteleft +\let\markupsetuprqverb \markupsetcodequoteright +\let\markupsetuplqverbatim \markupsetcodequoteleft +\let\markupsetuprqverbatim \markupsetcodequoteright + +\let\markupsetuplqsamp \markupsetnoligaturesquoteleft +\let\markupsetuplqkbd \markupsetnoligaturesquoteleft + +% Allow an option to not replace quotes with a regular directed right +% quote/apostrophe (char 0x27), but instead use the undirected quote +% from cmtt (char 0x0d). The undirected quote is ugly, so don't make it +% the default, but it works for pasting with more pdf viewers (at least +% evince), the lilypond developers report. xpdf does work with the +% regular 0x27. +% +\def\codequoteright{% + \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax + \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax + '% + \else \char'15 \fi + \else \char'15 \fi +} +% +% and a similar option for the left quote char vs. a grave accent. +% Modern fonts display ASCII 0x60 as a grave accent, so some people like +% the code environments to do likewise. +% +\def\codequoteleft{% + \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax + \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax + % [Knuth] pp. 380,381,391 + % \relax disables Spanish ligatures ?` and !` of \tt font. + \relax`% + \else \char'22 \fi + \else \char'22 \fi +} + +% [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font. +\def\noligaturesquoteleft{\relax\lq} + +% Count depth in font-changes, for error checks +\newcount\fontdepth \fontdepth=0 + +%% Add scribe-like font environments, plus @l for inline lisp (usually sans +%% serif) and @ii for TeX italic + +% \smartitalic{ARG} outputs arg in italics, followed by an italic correction +% unless the following character is such as not to need one. +\def\smartitalicx{\ifx\next,\else\ifx\next-\else\ifx\next.\else + \ptexslash\fi\fi\fi} +\def\smartslanted#1{{\ifusingtt\ttsl\sl #1}\futurelet\next\smartitalicx} +\def\smartitalic#1{{\ifusingtt\ttsl\it #1}\futurelet\next\smartitalicx} + +% like \smartslanted except unconditionally uses \ttsl. +% @var is set to this for defun arguments. +\def\ttslanted#1{{\ttsl #1}\futurelet\next\smartitalicx} + +% @cite is like \smartslanted except unconditionally use \sl. We never want +% ttsl for book titles, do we? +\def\cite#1{{\sl #1}\futurelet\next\smartitalicx} + +\let\i=\smartitalic +\let\slanted=\smartslanted +\def\var#1{{\setupmarkupstyle{var}\smartslanted{#1}}} +\let\dfn=\smartslanted +\let\emph=\smartitalic + +% Explicit font changes: @r, @sc, undocumented @ii. +\def\r#1{{\rm #1}} % roman font +\def\sc#1{{\smallcaps#1}} % smallcaps font +\def\ii#1{{\it #1}} % italic font + +% @b, explicit bold. Also @strong. +\def\b#1{{\bf #1}} +\let\strong=\b + +% @sansserif, explicit sans. +\def\sansserif#1{{\sf #1}} + +% We can't just use \exhyphenpenalty, because that only has effect at +% the end of a paragraph. Restore normal hyphenation at the end of the +% group within which \nohyphenation is presumably called. +% +\def\nohyphenation{\hyphenchar\font = -1 \aftergroup\restorehyphenation} +\def\restorehyphenation{\hyphenchar\font = `- } + +% Set sfcode to normal for the chars that usually have another value. +% Can't use plain's \frenchspacing because it uses the `\x notation, and +% sometimes \x has an active definition that messes things up. +% +\catcode`@=11 + \def\plainfrenchspacing{% + \sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m + \sfcode\colonChar=\@m \sfcode\semiChar =\@m \sfcode\commaChar =\@m + \def\endofsentencespacefactor{1000}% for @. and friends + } + \def\plainnonfrenchspacing{% + \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000 + \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 + \def\endofsentencespacefactor{3000}% for @. and friends + } +\catcode`@=\other +\def\endofsentencespacefactor{3000}% default + +% @t, explicit typewriter. +\def\t#1{% + {\tt \rawbackslash \plainfrenchspacing #1}% + \null +} + +% @samp. +\def\samp#1{{\setupmarkupstyle{samp}\lq\tclose{#1}\rq\null}} + +% definition of @key that produces a lozenge. Doesn't adjust to text size. +%\setfont\keyrm\rmshape{8}{1000}{OT1} +%\font\keysy=cmsy9 +%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% +% \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% +% \vbox{\hrule\kern-0.4pt +% \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% +% \kern-0.4pt\hrule}% +% \kern-.06em\raise0.4pt\hbox{\angleright}}}} + +% definition of @key with no lozenge. If the current font is already +% monospace, don't change it; that way, we respect @kbdinputstyle. But +% if it isn't monospace, then use \tt. +% +\def\key#1{{\setupmarkupstyle{key}% + \nohyphenation + \ifmonospace\else\tt\fi + #1}\null} + +% ctrl is no longer a Texinfo command. +\def\ctrl #1{{\tt \rawbackslash \hat}#1} + +% @file, @option are the same as @samp. +\let\file=\samp +\let\option=\samp + +% @code is a modification of @t, +% which makes spaces the same size as normal in the surrounding text. +\def\tclose#1{% + {% + % Change normal interword space to be same as for the current font. + \spaceskip = \fontdimen2\font + % + % Switch to typewriter. + \tt + % + % But `\ ' produces the large typewriter interword space. + \def\ {{\spaceskip = 0pt{} }}% + % + % Turn off hyphenation. + \nohyphenation + % + \rawbackslash + \plainfrenchspacing + #1% + }% + \null +} + +% We *must* turn on hyphenation at `-' and `_' in @code. +% Otherwise, it is too hard to avoid overfull hboxes +% in the Emacs manual, the Library manual, etc. + +% Unfortunately, TeX uses one parameter (\hyphenchar) to control +% both hyphenation at - and hyphenation within words. +% We must therefore turn them both off (\tclose does that) +% and arrange explicitly to hyphenate at a dash. +% -- rms. +{ + \catcode`\-=\active \catcode`\_=\active + \catcode`\'=\active \catcode`\`=\active + \global\let'=\rq \global\let`=\lq % default definitions + % + \global\def\code{\begingroup + \setupmarkupstyle{code}% + % The following should really be moved into \setupmarkupstyle handlers. + \catcode\dashChar=\active \catcode\underChar=\active + \ifallowcodebreaks + \let-\codedash + \let_\codeunder + \else + \let-\realdash + \let_\realunder + \fi + \codex + } +} + +\def\realdash{-} +\def\codedash{-\discretionary{}{}{}} +\def\codeunder{% + % this is all so @math{@code{var_name}+1} can work. In math mode, _ + % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.) + % will therefore expand the active definition of _, which is us + % (inside @code that is), therefore an endless loop. + \ifusingtt{\ifmmode + \mathchar"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_. + \else\normalunderscore \fi + \discretionary{}{}{}}% + {\_}% +} +\def\codex #1{\tclose{#1}\endgroup} + +% An additional complication: the above will allow breaks after, e.g., +% each of the four underscores in __typeof__. This is undesirable in +% some manuals, especially if they don't have long identifiers in +% general. @allowcodebreaks provides a way to control this. +% +\newif\ifallowcodebreaks \allowcodebreakstrue + +\def\keywordtrue{true} +\def\keywordfalse{false} + +\parseargdef\allowcodebreaks{% + \def\txiarg{#1}% + \ifx\txiarg\keywordtrue + \allowcodebreakstrue + \else\ifx\txiarg\keywordfalse + \allowcodebreaksfalse + \else + \errhelp = \EMsimple + \errmessage{Unknown @allowcodebreaks option `\txiarg'}% + \fi\fi +} + +% @kbd is like @code, except that if the argument is just one @key command, +% then @kbd has no effect. +\def\kbd#1{{\setupmarkupstyle{kbd}\def\look{#1}\expandafter\kbdfoo\look??\par}} + +% @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always), +% `example' (@kbd uses ttsl only inside of @example and friends), +% or `code' (@kbd uses normal tty font always). +\parseargdef\kbdinputstyle{% + \def\txiarg{#1}% + \ifx\txiarg\worddistinct + \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}% + \else\ifx\txiarg\wordexample + \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}% + \else\ifx\txiarg\wordcode + \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}% + \else + \errhelp = \EMsimple + \errmessage{Unknown @kbdinputstyle option `\txiarg'}% + \fi\fi\fi +} +\def\worddistinct{distinct} +\def\wordexample{example} +\def\wordcode{code} + +% Default is `distinct'. +\kbdinputstyle distinct + +\def\xkey{\key} +\def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}% +\ifx\one\xkey\ifx\threex\three \key{#2}% +\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi +\else{\tclose{\kbdfont\setupmarkupstyle{kbd}\look}}\fi} + +% For @indicateurl, @env, @command quotes seem unnecessary, so use \code. +\let\indicateurl=\code +\let\env=\code +\let\command=\code + +% @clicksequence{File @click{} Open ...} +\def\clicksequence#1{\begingroup #1\endgroup} + +% @clickstyle @arrow (by default) +\parseargdef\clickstyle{\def\click{#1}} +\def\click{\arrow} + +% @uref (abbreviation for `urlref') takes an optional (comma-separated) +% second argument specifying the text to display and an optional third +% arg as text to display instead of (rather than in addition to) the url +% itself. First (mandatory) arg is the url. Perhaps eventually put in +% a hypertex \special here. +% +\def\uref#1{\douref #1,,,\finish} +\def\douref#1,#2,#3,#4\finish{\begingroup + \unsepspaces + \pdfurl{#1}% + \setbox0 = \hbox{\ignorespaces #3}% + \ifdim\wd0 > 0pt + \unhbox0 % third arg given, show only that + \else + \setbox0 = \hbox{\ignorespaces #2}% + \ifdim\wd0 > 0pt + \ifpdf + \unhbox0 % PDF: 2nd arg given, show only it + \else + \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url + \fi + \else + \code{#1}% only url given, so show it + \fi + \fi + \endlink +\endgroup} + +% @url synonym for @uref, since that's how everyone uses it. +% +\let\url=\uref + +% rms does not like angle brackets --karl, 17may97. +% So now @email is just like @uref, unless we are pdf. +% +%\def\email#1{\angleleft{\tt #1}\angleright} +\ifpdf + \def\email#1{\doemail#1,,\finish} + \def\doemail#1,#2,#3\finish{\begingroup + \unsepspaces + \pdfurl{mailto:#1}% + \setbox0 = \hbox{\ignorespaces #2}% + \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi + \endlink + \endgroup} +\else + \let\email=\uref +\fi + +% Typeset a dimension, e.g., `in' or `pt'. The only reason for the +% argument is to make the input look right: @dmn{pt} instead of @dmn{}pt. +% +\def\dmn#1{\thinspace #1} + +% @l was never documented to mean ``switch to the Lisp font'', +% and it is not used as such in any manual I can find. We need it for +% Polish suppressed-l. --karl, 22sep96. +%\def\l#1{{\li #1}\null} + +% @acronym for "FBI", "NATO", and the like. +% We print this one point size smaller, since it's intended for +% all-uppercase. +% +\def\acronym#1{\doacronym #1,,\finish} +\def\doacronym#1,#2,#3\finish{% + {\selectfonts\lsize #1}% + \def\temp{#2}% + \ifx\temp\empty \else + \space ({\unsepspaces \ignorespaces \temp \unskip})% + \fi +} + +% @abbr for "Comput. J." and the like. +% No font change, but don't do end-of-sentence spacing. +% +\def\abbr#1{\doabbr #1,,\finish} +\def\doabbr#1,#2,#3\finish{% + {\plainfrenchspacing #1}% + \def\temp{#2}% + \ifx\temp\empty \else + \space ({\unsepspaces \ignorespaces \temp \unskip})% + \fi +} + + +\message{glyphs,} + +% @point{}, @result{}, @expansion{}, @print{}, @equiv{}. +% +% Since these characters are used in examples, they should be an even number of +% \tt widths. Each \tt character is 1en, so two makes it 1em. +% +\def\point{$\star$} +\def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}} +\def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}} +\def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}} +\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}} +\def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}} + +% The @error{} command. +% Adapted from the TeXbook's \boxit. +% +\newbox\errorbox +% +{\tentt \global\dimen0 = 3em}% Width of the box. +\dimen2 = .55pt % Thickness of rules +% The text. (`r' is open on the right, `e' somewhat less so on the left.) +\setbox0 = \hbox{\kern-.75pt \reducedsf error\kern-1.5pt} +% +\setbox\errorbox=\hbox to \dimen0{\hfil + \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. + \advance\hsize by -2\dimen2 % Rules. + \vbox{% + \hrule height\dimen2 + \hbox{\vrule width\dimen2 \kern3pt % Space to left of text. + \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below. + \kern3pt\vrule width\dimen2}% Space to right. + \hrule height\dimen2} + \hfil} +% +\def\error{\leavevmode\lower.7ex\copy\errorbox} + +% @pounds{} is a sterling sign, which Knuth put in the CM italic font. +% +\def\pounds{{\it\$}} + +% @euro{} comes from a separate font, depending on the current style. +% We use the free feym* fonts from the eurosym package by Henrik +% Theiling, which support regular, slanted, bold and bold slanted (and +% "outlined" (blackboard board, sort of) versions, which we don't need). +% It is available from http://www.ctan.org/tex-archive/fonts/eurosym. +% +% Although only regular is the truly official Euro symbol, we ignore +% that. The Euro is designed to be slightly taller than the regular +% font height. +% +% feymr - regular +% feymo - slanted +% feybr - bold +% feybo - bold slanted +% +% There is no good (free) typewriter version, to my knowledge. +% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide. +% Hmm. +% +% Also doesn't work in math. Do we need to do math with euro symbols? +% Hope not. +% +% +\def\euro{{\eurofont e}} +\def\eurofont{% + % We set the font at each command, rather than predefining it in + % \textfonts and the other font-switching commands, so that + % installations which never need the symbol don't have to have the + % font installed. + % + % There is only one designed size (nominal 10pt), so we always scale + % that to the current nominal size. + % + % By the way, simply using "at 1em" works for cmr10 and the like, but + % does not work for cmbx10 and other extended/shrunken fonts. + % + \def\eurosize{\csname\curfontsize nominalsize\endcsname}% + % + \ifx\curfontstyle\bfstylename + % bold: + \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize + \else + % regular: + \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize + \fi + \thiseurofont +} + +% Glyphs from the EC fonts. We don't use \let for the aliases, because +% sometimes we redefine the original macro, and the alias should reflect +% the redefinition. +% +% Use LaTeX names for the Icelandic letters. +\def\DH{{\ecfont \char"D0}} % Eth +\def\dh{{\ecfont \char"F0}} % eth +\def\TH{{\ecfont \char"DE}} % Thorn +\def\th{{\ecfont \char"FE}} % thorn +% +\def\guillemetleft{{\ecfont \char"13}} +\def\guillemotleft{\guillemetleft} +\def\guillemetright{{\ecfont \char"14}} +\def\guillemotright{\guillemetright} +\def\guilsinglleft{{\ecfont \char"0E}} +\def\guilsinglright{{\ecfont \char"0F}} +\def\quotedblbase{{\ecfont \char"12}} +\def\quotesinglbase{{\ecfont \char"0D}} +% +% This positioning is not perfect (see the ogonek LaTeX package), but +% we have the precomposed glyphs for the most common cases. We put the +% tests to use those glyphs in the single \ogonek macro so we have fewer +% dummy definitions to worry about for index entries, etc. +% +% ogonek is also used with other letters in Lithuanian (IOU), but using +% the precomposed glyphs for those is not so easy since they aren't in +% the same EC font. +\def\ogonek#1{{% + \def\temp{#1}% + \ifx\temp\macrocharA\Aogonek + \else\ifx\temp\macrochara\aogonek + \else\ifx\temp\macrocharE\Eogonek + \else\ifx\temp\macrochare\eogonek + \else + \ecfont \setbox0=\hbox{#1}% + \ifdim\ht0=1ex\accent"0C #1% + \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}% + \fi + \fi\fi\fi\fi + }% +} +\def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A} +\def\aogonek{{\ecfont \char"A1}}\def\macrochara{a} +\def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E} +\def\eogonek{{\ecfont \char"A6}}\def\macrochare{e} +% +% Use the ec* fonts (cm-super in outline format) for non-CM glyphs. +\def\ecfont{% + % We can't distinguish serif/sans and italic/slanted, but this + % is used for crude hacks anyway (like adding French and German + % quotes to documents typeset with CM, where we lose kerning), so + % hopefully nobody will notice/care. + \edef\ecsize{\csname\curfontsize ecsize\endcsname}% + \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}% + \ifx\curfontstyle\bfstylename + % bold: + \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize + \else + % regular: + \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize + \fi + \thisecfont +} + +% @registeredsymbol - R in a circle. The font for the R should really +% be smaller yet, but lllsize is the best we can do for now. +% Adapted from the plain.tex definition of \copyright. +% +\def\registeredsymbol{% + $^{{\ooalign{\hfil\raise.07ex\hbox{\selectfonts\lllsize R}% + \hfil\crcr\Orb}}% + }$% +} + +% @textdegree - the normal degrees sign. +% +\def\textdegree{$^\circ$} + +% Laurent Siebenmann reports \Orb undefined with: +% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38 +% so we'll define it if necessary. +% +\ifx\Orb\undefined +\def\Orb{\mathhexbox20D} +\fi + +% Quotes. +\chardef\quotedblleft="5C +\chardef\quotedblright=`\" +\chardef\quoteleft=`\` +\chardef\quoteright=`\' + + +\message{page headings,} + +\newskip\titlepagetopglue \titlepagetopglue = 1.5in +\newskip\titlepagebottomglue \titlepagebottomglue = 2pc + +% First the title page. Must do @settitle before @titlepage. +\newif\ifseenauthor +\newif\iffinishedtitlepage + +% Do an implicit @contents or @shortcontents after @end titlepage if the +% user says @setcontentsaftertitlepage or @setshortcontentsaftertitlepage. +% +\newif\ifsetcontentsaftertitlepage + \let\setcontentsaftertitlepage = \setcontentsaftertitlepagetrue +\newif\ifsetshortcontentsaftertitlepage + \let\setshortcontentsaftertitlepage = \setshortcontentsaftertitlepagetrue + +\parseargdef\shorttitlepage{\begingroup\hbox{}\vskip 1.5in \chaprm \centerline{#1}% + \endgroup\page\hbox{}\page} + +\envdef\titlepage{% + % Open one extra group, as we want to close it in the middle of \Etitlepage. + \begingroup + \parindent=0pt \textfonts + % Leave some space at the very top of the page. + \vglue\titlepagetopglue + % No rule at page bottom unless we print one at the top with @title. + \finishedtitlepagetrue + % + % Most title ``pages'' are actually two pages long, with space + % at the top of the second. We don't want the ragged left on the second. + \let\oldpage = \page + \def\page{% + \iffinishedtitlepage\else + \finishtitlepage + \fi + \let\page = \oldpage + \page + \null + }% +} + +\def\Etitlepage{% + \iffinishedtitlepage\else + \finishtitlepage + \fi + % It is important to do the page break before ending the group, + % because the headline and footline are only empty inside the group. + % If we use the new definition of \page, we always get a blank page + % after the title page, which we certainly don't want. + \oldpage + \endgroup + % + % Need this before the \...aftertitlepage checks so that if they are + % in effect the toc pages will come out with page numbers. + \HEADINGSon + % + % If they want short, they certainly want long too. + \ifsetshortcontentsaftertitlepage + \shortcontents + \contents + \global\let\shortcontents = \relax + \global\let\contents = \relax + \fi + % + \ifsetcontentsaftertitlepage + \contents + \global\let\contents = \relax + \global\let\shortcontents = \relax + \fi +} + +\def\finishtitlepage{% + \vskip4pt \hrule height 2pt width \hsize + \vskip\titlepagebottomglue + \finishedtitlepagetrue +} + +%%% Macros to be used within @titlepage: + +\let\subtitlerm=\tenrm +\def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines} + +\parseargdef\title{% + \checkenv\titlepage + \leftline{\titlefonts\rmisbold #1} + % print a rule at the page bottom also. + \finishedtitlepagefalse + \vskip4pt \hrule height 4pt width \hsize \vskip4pt +} + +\parseargdef\subtitle{% + \checkenv\titlepage + {\subtitlefont \rightline{#1}}% +} + +% @author should come last, but may come many times. +% It can also be used inside @quotation. +% +\parseargdef\author{% + \def\temp{\quotation}% + \ifx\thisenv\temp + \def\quotationauthor{#1}% printed in \Equotation. + \else + \checkenv\titlepage + \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi + {\secfonts\rmisbold \leftline{#1}}% + \fi +} + + +%%% Set up page headings and footings. + +\let\thispage=\folio + +\newtoks\evenheadline % headline on even pages +\newtoks\oddheadline % headline on odd pages +\newtoks\evenfootline % footline on even pages +\newtoks\oddfootline % footline on odd pages + +% Now make TeX use those variables +\headline={{\textfonts\rm \ifodd\pageno \the\oddheadline + \else \the\evenheadline \fi}} +\footline={{\textfonts\rm \ifodd\pageno \the\oddfootline + \else \the\evenfootline \fi}\HEADINGShook} +\let\HEADINGShook=\relax + +% Commands to set those variables. +% For example, this is what @headings on does +% @evenheading @thistitle|@thispage|@thischapter +% @oddheading @thischapter|@thispage|@thistitle +% @evenfooting @thisfile|| +% @oddfooting ||@thisfile + + +\def\evenheading{\parsearg\evenheadingxxx} +\def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish} +\def\evenheadingyyy #1\|#2\|#3\|#4\finish{% +\global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} + +\def\oddheading{\parsearg\oddheadingxxx} +\def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish} +\def\oddheadingyyy #1\|#2\|#3\|#4\finish{% +\global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} + +\parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}% + +\def\evenfooting{\parsearg\evenfootingxxx} +\def\evenfootingxxx #1{\evenfootingyyy #1\|\|\|\|\finish} +\def\evenfootingyyy #1\|#2\|#3\|#4\finish{% +\global\evenfootline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} + +\def\oddfooting{\parsearg\oddfootingxxx} +\def\oddfootingxxx #1{\oddfootingyyy #1\|\|\|\|\finish} +\def\oddfootingyyy #1\|#2\|#3\|#4\finish{% + \global\oddfootline = {\rlap{\centerline{#2}}\line{#1\hfil#3}}% + % + % Leave some space for the footline. Hopefully ok to assume + % @evenfooting will not be used by itself. + \global\advance\pageheight by -12pt + \global\advance\vsize by -12pt +} + +\parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}} + +% @evenheadingmarks top \thischapter <- chapter at the top of a page +% @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page +% +% The same set of arguments for: +% +% @oddheadingmarks +% @evenfootingmarks +% @oddfootingmarks +% @everyheadingmarks +% @everyfootingmarks + +\def\evenheadingmarks{\headingmarks{even}{heading}} +\def\oddheadingmarks{\headingmarks{odd}{heading}} +\def\evenfootingmarks{\headingmarks{even}{footing}} +\def\oddfootingmarks{\headingmarks{odd}{footing}} +\def\everyheadingmarks#1 {\headingmarks{even}{heading}{#1} + \headingmarks{odd}{heading}{#1} } +\def\everyfootingmarks#1 {\headingmarks{even}{footing}{#1} + \headingmarks{odd}{footing}{#1} } +% #1 = even/odd, #2 = heading/footing, #3 = top/bottom. +\def\headingmarks#1#2#3 {% + \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname + \global\expandafter\let\csname get#1#2marks\endcsname \temp +} + +\everyheadingmarks bottom +\everyfootingmarks bottom + +% @headings double turns headings on for double-sided printing. +% @headings single turns headings on for single-sided printing. +% @headings off turns them off. +% @headings on same as @headings double, retained for compatibility. +% @headings after turns on double-sided headings after this page. +% @headings doubleafter turns on double-sided headings after this page. +% @headings singleafter turns on single-sided headings after this page. +% By default, they are off at the start of a document, +% and turned `on' after @end titlepage. + +\def\headings #1 {\csname HEADINGS#1\endcsname} + +\def\HEADINGSoff{% +\global\evenheadline={\hfil} \global\evenfootline={\hfil} +\global\oddheadline={\hfil} \global\oddfootline={\hfil}} +\HEADINGSoff +% When we turn headings on, set the page number to 1. +% For double-sided printing, put current file name in lower left corner, +% chapter name on inside top of right hand pages, document +% title on inside top of left hand pages, and page numbers on outside top +% edge of all pages. +\def\HEADINGSdouble{% +\global\pageno=1 +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\folio\hfil\thistitle}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chapoddpage +} +\let\contentsalignmacro = \chappager + +% For single-sided printing, chapter title goes across top left of page, +% page number on top right. +\def\HEADINGSsingle{% +\global\pageno=1 +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\thischapter\hfil\folio}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chappager +} +\def\HEADINGSon{\HEADINGSdouble} + +\def\HEADINGSafter{\let\HEADINGShook=\HEADINGSdoublex} +\let\HEADINGSdoubleafter=\HEADINGSafter +\def\HEADINGSdoublex{% +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\folio\hfil\thistitle}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chapoddpage +} + +\def\HEADINGSsingleafter{\let\HEADINGShook=\HEADINGSsinglex} +\def\HEADINGSsinglex{% +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\thischapter\hfil\folio}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chappager +} + +% Subroutines used in generating headings +% This produces Day Month Year style of output. +% Only define if not already defined, in case a txi-??.tex file has set +% up a different format (e.g., txi-cs.tex does this). +\ifx\today\undefined +\def\today{% + \number\day\space + \ifcase\month + \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr + \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug + \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec + \fi + \space\number\year} +\fi + +% @settitle line... specifies the title of the document, for headings. +% It generates no output of its own. +\def\thistitle{\putwordNoTitle} +\def\settitle{\parsearg{\gdef\thistitle}} + + +\message{tables,} +% Tables -- @table, @ftable, @vtable, @item(x). + +% default indentation of table text +\newdimen\tableindent \tableindent=.8in +% default indentation of @itemize and @enumerate text +\newdimen\itemindent \itemindent=.3in +% margin between end of table item and start of table text. +\newdimen\itemmargin \itemmargin=.1in + +% used internally for \itemindent minus \itemmargin +\newdimen\itemmax + +% Note @table, @ftable, and @vtable define @item, @itemx, etc., with +% these defs. +% They also define \itemindex +% to index the item name in whatever manner is desired (perhaps none). + +\newif\ifitemxneedsnegativevskip + +\def\itemxpar{\par\ifitemxneedsnegativevskip\nobreak\vskip-\parskip\nobreak\fi} + +\def\internalBitem{\smallbreak \parsearg\itemzzz} +\def\internalBitemx{\itemxpar \parsearg\itemzzz} + +\def\itemzzz #1{\begingroup % + \advance\hsize by -\rightskip + \advance\hsize by -\tableindent + \setbox0=\hbox{\itemindicate{#1}}% + \itemindex{#1}% + \nobreak % This prevents a break before @itemx. + % + % If the item text does not fit in the space we have, put it on a line + % by itself, and do not allow a page break either before or after that + % line. We do not start a paragraph here because then if the next + % command is, e.g., @kindex, the whatsit would get put into the + % horizontal list on a line by itself, resulting in extra blank space. + \ifdim \wd0>\itemmax + % + % Make this a paragraph so we get the \parskip glue and wrapping, + % but leave it ragged-right. + \begingroup + \advance\leftskip by-\tableindent + \advance\hsize by\tableindent + \advance\rightskip by0pt plus1fil + \leavevmode\unhbox0\par + \endgroup + % + % We're going to be starting a paragraph, but we don't want the + % \parskip glue -- logically it's part of the @item we just started. + \nobreak \vskip-\parskip + % + % Stop a page break at the \parskip glue coming up. However, if + % what follows is an environment such as @example, there will be no + % \parskip glue; then the negative vskip we just inserted would + % cause the example and the item to crash together. So we use this + % bizarre value of 10001 as a signal to \aboveenvbreak to insert + % \parskip glue after all. Section titles are handled this way also. + % + \penalty 10001 + \endgroup + \itemxneedsnegativevskipfalse + \else + % The item text fits into the space. Start a paragraph, so that the + % following text (if any) will end up on the same line. + \noindent + % Do this with kerns and \unhbox so that if there is a footnote in + % the item text, it can migrate to the main vertical list and + % eventually be printed. + \nobreak\kern-\tableindent + \dimen0 = \itemmax \advance\dimen0 by \itemmargin \advance\dimen0 by -\wd0 + \unhbox0 + \nobreak\kern\dimen0 + \endgroup + \itemxneedsnegativevskiptrue + \fi +} + +\def\item{\errmessage{@item while not in a list environment}} +\def\itemx{\errmessage{@itemx while not in a list environment}} + +% @table, @ftable, @vtable. +\envdef\table{% + \let\itemindex\gobble + \tablecheck{table}% +} +\envdef\ftable{% + \def\itemindex ##1{\doind {fn}{\code{##1}}}% + \tablecheck{ftable}% +} +\envdef\vtable{% + \def\itemindex ##1{\doind {vr}{\code{##1}}}% + \tablecheck{vtable}% +} +\def\tablecheck#1{% + \ifnum \the\catcode`\^^M=\active + \endgroup + \errmessage{This command won't work in this context; perhaps the problem is + that we are \inenvironment\thisenv}% + \def\next{\doignore{#1}}% + \else + \let\next\tablex + \fi + \next +} +\def\tablex#1{% + \def\itemindicate{#1}% + \parsearg\tabley +} +\def\tabley#1{% + {% + \makevalueexpandable + \edef\temp{\noexpand\tablez #1\space\space\space}% + \expandafter + }\temp \endtablez +} +\def\tablez #1 #2 #3 #4\endtablez{% + \aboveenvbreak + \ifnum 0#1>0 \advance \leftskip by #1\mil \fi + \ifnum 0#2>0 \tableindent=#2\mil \fi + \ifnum 0#3>0 \advance \rightskip by #3\mil \fi + \itemmax=\tableindent + \advance \itemmax by -\itemmargin + \advance \leftskip by \tableindent + \exdentamount=\tableindent + \parindent = 0pt + \parskip = \smallskipamount + \ifdim \parskip=0pt \parskip=2pt \fi + \let\item = \internalBitem + \let\itemx = \internalBitemx +} +\def\Etable{\endgraf\afterenvbreak} +\let\Eftable\Etable +\let\Evtable\Etable +\let\Eitemize\Etable +\let\Eenumerate\Etable + +% This is the counter used by @enumerate, which is really @itemize + +\newcount \itemno + +\envdef\itemize{\parsearg\doitemize} + +\def\doitemize#1{% + \aboveenvbreak + \itemmax=\itemindent + \advance\itemmax by -\itemmargin + \advance\leftskip by \itemindent + \exdentamount=\itemindent + \parindent=0pt + \parskip=\smallskipamount + \ifdim\parskip=0pt \parskip=2pt \fi + % + % Try typesetting the item mark that if the document erroneously says + % something like @itemize @samp (intending @table), there's an error + % right away at the @itemize. It's not the best error message in the + % world, but it's better than leaving it to the @item. This means if + % the user wants an empty mark, they have to say @w{} not just @w. + \def\itemcontents{#1}% + \setbox0 = \hbox{\itemcontents}% + % + % @itemize with no arg is equivalent to @itemize @bullet. + \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi + % + \let\item=\itemizeitem +} + +% Definition of @item while inside @itemize and @enumerate. +% +\def\itemizeitem{% + \advance\itemno by 1 % for enumerations + {\let\par=\endgraf \smallbreak}% reasonable place to break + {% + % If the document has an @itemize directly after a section title, a + % \nobreak will be last on the list, and \sectionheading will have + % done a \vskip-\parskip. In that case, we don't want to zero + % parskip, or the item text will crash with the heading. On the + % other hand, when there is normal text preceding the item (as there + % usually is), we do want to zero parskip, or there would be too much + % space. In that case, we won't have a \nobreak before. At least + % that's the theory. + \ifnum\lastpenalty<10000 \parskip=0in \fi + \noindent + \hbox to 0pt{\hss \itemcontents \kern\itemmargin}% + % + \vadjust{\penalty 1200}}% not good to break after first line of item. + \flushcr +} + +% \splitoff TOKENS\endmark defines \first to be the first token in +% TOKENS, and \rest to be the remainder. +% +\def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}% + +% Allow an optional argument of an uppercase letter, lowercase letter, +% or number, to specify the first label in the enumerated list. No +% argument is the same as `1'. +% +\envparseargdef\enumerate{\enumeratey #1 \endenumeratey} +\def\enumeratey #1 #2\endenumeratey{% + % If we were given no argument, pretend we were given `1'. + \def\thearg{#1}% + \ifx\thearg\empty \def\thearg{1}\fi + % + % Detect if the argument is a single token. If so, it might be a + % letter. Otherwise, the only valid thing it can be is a number. + % (We will always have one token, because of the test we just made. + % This is a good thing, since \splitoff doesn't work given nothing at + % all -- the first parameter is undelimited.) + \expandafter\splitoff\thearg\endmark + \ifx\rest\empty + % Only one token in the argument. It could still be anything. + % A ``lowercase letter'' is one whose \lccode is nonzero. + % An ``uppercase letter'' is one whose \lccode is both nonzero, and + % not equal to itself. + % Otherwise, we assume it's a number. + % + % We need the \relax at the end of the \ifnum lines to stop TeX from + % continuing to look for a . + % + \ifnum\lccode\expandafter`\thearg=0\relax + \numericenumerate % a number (we hope) + \else + % It's a letter. + \ifnum\lccode\expandafter`\thearg=\expandafter`\thearg\relax + \lowercaseenumerate % lowercase letter + \else + \uppercaseenumerate % uppercase letter + \fi + \fi + \else + % Multiple tokens in the argument. We hope it's a number. + \numericenumerate + \fi +} + +% An @enumerate whose labels are integers. The starting integer is +% given in \thearg. +% +\def\numericenumerate{% + \itemno = \thearg + \startenumeration{\the\itemno}% +} + +% The starting (lowercase) letter is in \thearg. +\def\lowercaseenumerate{% + \itemno = \expandafter`\thearg + \startenumeration{% + % Be sure we're not beyond the end of the alphabet. + \ifnum\itemno=0 + \errmessage{No more lowercase letters in @enumerate; get a bigger + alphabet}% + \fi + \char\lccode\itemno + }% +} + +% The starting (uppercase) letter is in \thearg. +\def\uppercaseenumerate{% + \itemno = \expandafter`\thearg + \startenumeration{% + % Be sure we're not beyond the end of the alphabet. + \ifnum\itemno=0 + \errmessage{No more uppercase letters in @enumerate; get a bigger + alphabet} + \fi + \char\uccode\itemno + }% +} + +% Call \doitemize, adding a period to the first argument and supplying the +% common last two arguments. Also subtract one from the initial value in +% \itemno, since @item increments \itemno. +% +\def\startenumeration#1{% + \advance\itemno by -1 + \doitemize{#1.}\flushcr +} + +% @alphaenumerate and @capsenumerate are abbreviations for giving an arg +% to @enumerate. +% +\def\alphaenumerate{\enumerate{a}} +\def\capsenumerate{\enumerate{A}} +\def\Ealphaenumerate{\Eenumerate} +\def\Ecapsenumerate{\Eenumerate} + + +% @multitable macros +% Amy Hendrickson, 8/18/94, 3/6/96 +% +% @multitable ... @end multitable will make as many columns as desired. +% Contents of each column will wrap at width given in preamble. Width +% can be specified either with sample text given in a template line, +% or in percent of \hsize, the current width of text on page. + +% Table can continue over pages but will only break between lines. + +% To make preamble: +% +% Either define widths of columns in terms of percent of \hsize: +% @multitable @columnfractions .25 .3 .45 +% @item ... +% +% Numbers following @columnfractions are the percent of the total +% current hsize to be used for each column. You may use as many +% columns as desired. + + +% Or use a template: +% @multitable {Column 1 template} {Column 2 template} {Column 3 template} +% @item ... +% using the widest term desired in each column. + +% Each new table line starts with @item, each subsequent new column +% starts with @tab. Empty columns may be produced by supplying @tab's +% with nothing between them for as many times as empty columns are needed, +% ie, @tab@tab@tab will produce two empty columns. + +% @item, @tab do not need to be on their own lines, but it will not hurt +% if they are. + +% Sample multitable: + +% @multitable {Column 1 template} {Column 2 template} {Column 3 template} +% @item first col stuff @tab second col stuff @tab third col +% @item +% first col stuff +% @tab +% second col stuff +% @tab +% third col +% @item first col stuff @tab second col stuff +% @tab Many paragraphs of text may be used in any column. +% +% They will wrap at the width determined by the template. +% @item@tab@tab This will be in third column. +% @end multitable + +% Default dimensions may be reset by user. +% @multitableparskip is vertical space between paragraphs in table. +% @multitableparindent is paragraph indent in table. +% @multitablecolmargin is horizontal space to be left between columns. +% @multitablelinespace is space to leave between table items, baseline +% to baseline. +% 0pt means it depends on current normal line spacing. +% +\newskip\multitableparskip +\newskip\multitableparindent +\newdimen\multitablecolspace +\newskip\multitablelinespace +\multitableparskip=0pt +\multitableparindent=6pt +\multitablecolspace=12pt +\multitablelinespace=0pt + +% Macros used to set up halign preamble: +% +\let\endsetuptable\relax +\def\xendsetuptable{\endsetuptable} +\let\columnfractions\relax +\def\xcolumnfractions{\columnfractions} +\newif\ifsetpercent + +% #1 is the @columnfraction, usually a decimal number like .5, but might +% be just 1. We just use it, whatever it is. +% +\def\pickupwholefraction#1 {% + \global\advance\colcount by 1 + \expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}% + \setuptable +} + +\newcount\colcount +\def\setuptable#1{% + \def\firstarg{#1}% + \ifx\firstarg\xendsetuptable + \let\go = \relax + \else + \ifx\firstarg\xcolumnfractions + \global\setpercenttrue + \else + \ifsetpercent + \let\go\pickupwholefraction + \else + \global\advance\colcount by 1 + \setbox0=\hbox{#1\unskip\space}% Add a normal word space as a + % separator; typically that is always in the input, anyway. + \expandafter\xdef\csname col\the\colcount\endcsname{\the\wd0}% + \fi + \fi + \ifx\go\pickupwholefraction + % Put the argument back for the \pickupwholefraction call, so + % we'll always have a period there to be parsed. + \def\go{\pickupwholefraction#1}% + \else + \let\go = \setuptable + \fi% + \fi + \go +} + +% multitable-only commands. +% +% @headitem starts a heading row, which we typeset in bold. +% Assignments have to be global since we are inside the implicit group +% of an alignment entry. \everycr resets \everytab so we don't have to +% undo it ourselves. +\def\headitemfont{\b}% for people to use in the template row; not changeable +\def\headitem{% + \checkenv\multitable + \crcr + \global\everytab={\bf}% can't use \headitemfont since the parsing differs + \the\everytab % for the first item +}% +% +% A \tab used to include \hskip1sp. But then the space in a template +% line is not enough. That is bad. So let's go back to just `&' until +% we again encounter the problem the 1sp was intended to solve. +% --karl, nathan@acm.org, 20apr99. +\def\tab{\checkenv\multitable &\the\everytab}% + +% @multitable ... @end multitable definitions: +% +\newtoks\everytab % insert after every tab. +% +\envdef\multitable{% + \vskip\parskip + \startsavinginserts + % + % @item within a multitable starts a normal row. + % We use \def instead of \let so that if one of the multitable entries + % contains an @itemize, we don't choke on the \item (seen as \crcr aka + % \endtemplate) expanding \doitemize. + \def\item{\crcr}% + % + \tolerance=9500 + \hbadness=9500 + \setmultitablespacing + \parskip=\multitableparskip + \parindent=\multitableparindent + \overfullrule=0pt + \global\colcount=0 + % + \everycr = {% + \noalign{% + \global\everytab={}% + \global\colcount=0 % Reset the column counter. + % Check for saved footnotes, etc. + \checkinserts + % Keeps underfull box messages off when table breaks over pages. + %\filbreak + % Maybe so, but it also creates really weird page breaks when the + % table breaks over pages. Wouldn't \vfil be better? Wait until the + % problem manifests itself, so it can be fixed for real --karl. + }% + }% + % + \parsearg\domultitable +} +\def\domultitable#1{% + % To parse everything between @multitable and @item: + \setuptable#1 \endsetuptable + % + % This preamble sets up a generic column definition, which will + % be used as many times as user calls for columns. + % \vtop will set a single line and will also let text wrap and + % continue for many paragraphs if desired. + \halign\bgroup &% + \global\advance\colcount by 1 + \multistrut + \vtop{% + % Use the current \colcount to find the correct column width: + \hsize=\expandafter\csname col\the\colcount\endcsname + % + % In order to keep entries from bumping into each other + % we will add a \leftskip of \multitablecolspace to all columns after + % the first one. + % + % If a template has been used, we will add \multitablecolspace + % to the width of each template entry. + % + % If the user has set preamble in terms of percent of \hsize we will + % use that dimension as the width of the column, and the \leftskip + % will keep entries from bumping into each other. Table will start at + % left margin and final column will justify at right margin. + % + % Make sure we don't inherit \rightskip from the outer environment. + \rightskip=0pt + \ifnum\colcount=1 + % The first column will be indented with the surrounding text. + \advance\hsize by\leftskip + \else + \ifsetpercent \else + % If user has not set preamble in terms of percent of \hsize + % we will advance \hsize by \multitablecolspace. + \advance\hsize by \multitablecolspace + \fi + % In either case we will make \leftskip=\multitablecolspace: + \leftskip=\multitablecolspace + \fi + % Ignoring space at the beginning and end avoids an occasional spurious + % blank line, when TeX decides to break the line at the space before the + % box from the multistrut, so the strut ends up on a line by itself. + % For example: + % @multitable @columnfractions .11 .89 + % @item @code{#} + % @tab Legal holiday which is valid in major parts of the whole country. + % Is automatically provided with highlighting sequences respectively + % marking characters. + \noindent\ignorespaces##\unskip\multistrut + }\cr +} +\def\Emultitable{% + \crcr + \egroup % end the \halign + \global\setpercentfalse +} + +\def\setmultitablespacing{% + \def\multistrut{\strut}% just use the standard line spacing + % + % Compute \multitablelinespace (if not defined by user) for use in + % \multitableparskip calculation. We used define \multistrut based on + % this, but (ironically) that caused the spacing to be off. + % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100. +\ifdim\multitablelinespace=0pt +\setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip +\global\advance\multitablelinespace by-\ht0 +\fi +%% Test to see if parskip is larger than space between lines of +%% table. If not, do nothing. +%% If so, set to same dimension as multitablelinespace. +\ifdim\multitableparskip>\multitablelinespace +\global\multitableparskip=\multitablelinespace +\global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller + %% than skip between lines in the table. +\fi% +\ifdim\multitableparskip=0pt +\global\multitableparskip=\multitablelinespace +\global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller + %% than skip between lines in the table. +\fi} + + +\message{conditionals,} + +% @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotplaintext, +% @ifnotxml always succeed. They currently do nothing; we don't +% attempt to check whether the conditionals are properly nested. But we +% have to remember that they are conditionals, so that @end doesn't +% attempt to close an environment group. +% +\def\makecond#1{% + \expandafter\let\csname #1\endcsname = \relax + \expandafter\let\csname iscond.#1\endcsname = 1 +} +\makecond{iftex} +\makecond{ifnotdocbook} +\makecond{ifnothtml} +\makecond{ifnotinfo} +\makecond{ifnotplaintext} +\makecond{ifnotxml} + +% Ignore @ignore, @ifhtml, @ifinfo, and the like. +% +\def\direntry{\doignore{direntry}} +\def\documentdescription{\doignore{documentdescription}} +\def\docbook{\doignore{docbook}} +\def\html{\doignore{html}} +\def\ifdocbook{\doignore{ifdocbook}} +\def\ifhtml{\doignore{ifhtml}} +\def\ifinfo{\doignore{ifinfo}} +\def\ifnottex{\doignore{ifnottex}} +\def\ifplaintext{\doignore{ifplaintext}} +\def\ifxml{\doignore{ifxml}} +\def\ignore{\doignore{ignore}} +\def\menu{\doignore{menu}} +\def\xml{\doignore{xml}} + +% Ignore text until a line `@end #1', keeping track of nested conditionals. +% +% A count to remember the depth of nesting. +\newcount\doignorecount + +\def\doignore#1{\begingroup + % Scan in ``verbatim'' mode: + \obeylines + \catcode`\@ = \other + \catcode`\{ = \other + \catcode`\} = \other + % + % Make sure that spaces turn into tokens that match what \doignoretext wants. + \spaceisspace + % + % Count number of #1's that we've seen. + \doignorecount = 0 + % + % Swallow text until we reach the matching `@end #1'. + \dodoignore{#1}% +} + +{ \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source. + \obeylines % + % + \gdef\dodoignore#1{% + % #1 contains the command name as a string, e.g., `ifinfo'. + % + % Define a command to find the next `@end #1'. + \long\def\doignoretext##1^^M@end #1{% + \doignoretextyyy##1^^M@#1\_STOP_}% + % + % And this command to find another #1 command, at the beginning of a + % line. (Otherwise, we would consider a line `@c @ifset', for + % example, to count as an @ifset for nesting.) + \long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}% + % + % And now expand that command. + \doignoretext ^^M% + }% +} + +\def\doignoreyyy#1{% + \def\temp{#1}% + \ifx\temp\empty % Nothing found. + \let\next\doignoretextzzz + \else % Found a nested condition, ... + \advance\doignorecount by 1 + \let\next\doignoretextyyy % ..., look for another. + % If we're here, #1 ends with ^^M\ifinfo (for example). + \fi + \next #1% the token \_STOP_ is present just after this macro. +} + +% We have to swallow the remaining "\_STOP_". +% +\def\doignoretextzzz#1{% + \ifnum\doignorecount = 0 % We have just found the outermost @end. + \let\next\enddoignore + \else % Still inside a nested condition. + \advance\doignorecount by -1 + \let\next\doignoretext % Look for the next @end. + \fi + \next +} + +% Finish off ignored text. +{ \obeylines% + % Ignore anything after the last `@end #1'; this matters in verbatim + % environments, where otherwise the newline after an ignored conditional + % would result in a blank line in the output. + \gdef\enddoignore#1^^M{\endgroup\ignorespaces}% +} + + +% @set VAR sets the variable VAR to an empty value. +% @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE. +% +% Since we want to separate VAR from REST-OF-LINE (which might be +% empty), we can't just use \parsearg; we have to insert a space of our +% own to delimit the rest of the line, and then take it out again if we +% didn't need it. +% We rely on the fact that \parsearg sets \catcode`\ =10. +% +\parseargdef\set{\setyyy#1 \endsetyyy} +\def\setyyy#1 #2\endsetyyy{% + {% + \makevalueexpandable + \def\temp{#2}% + \edef\next{\gdef\makecsname{SET#1}}% + \ifx\temp\empty + \next{}% + \else + \setzzz#2\endsetzzz + \fi + }% +} +% Remove the trailing space \setxxx inserted. +\def\setzzz#1 \endsetzzz{\next{#1}} + +% @clear VAR clears (i.e., unsets) the variable VAR. +% +\parseargdef\clear{% + {% + \makevalueexpandable + \global\expandafter\let\csname SET#1\endcsname=\relax + }% +} + +% @value{foo} gets the text saved in variable foo. +\def\value{\begingroup\makevalueexpandable\valuexxx} +\def\valuexxx#1{\expandablevalue{#1}\endgroup} +{ + \catcode`\- = \active \catcode`\_ = \active + % + \gdef\makevalueexpandable{% + \let\value = \expandablevalue + % We don't want these characters active, ... + \catcode`\-=\other \catcode`\_=\other + % ..., but we might end up with active ones in the argument if + % we're called from @code, as @code{@value{foo-bar_}}, though. + % So \let them to their normal equivalents. + \let-\realdash \let_\normalunderscore + } +} + +% We have this subroutine so that we can handle at least some @value's +% properly in indexes (we call \makevalueexpandable in \indexdummies). +% The command has to be fully expandable (if the variable is set), since +% the result winds up in the index file. This means that if the +% variable's value contains other Texinfo commands, it's almost certain +% it will fail (although perhaps we could fix that with sufficient work +% to do a one-level expansion on the result, instead of complete). +% +\def\expandablevalue#1{% + \expandafter\ifx\csname SET#1\endcsname\relax + {[No value for ``#1'']}% + \message{Variable `#1', used in @value, is not set.}% + \else + \csname SET#1\endcsname + \fi +} + +% @ifset VAR ... @end ifset reads the `...' iff VAR has been defined +% with @set. +% +% To get special treatment of `@end ifset,' call \makeond and the redefine. +% +\makecond{ifset} +\def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}} +\def\doifset#1#2{% + {% + \makevalueexpandable + \let\next=\empty + \expandafter\ifx\csname SET#2\endcsname\relax + #1% If not set, redefine \next. + \fi + \expandafter + }\next +} +\def\ifsetfail{\doignore{ifset}} + +% @ifclear VAR ... @end ifclear reads the `...' iff VAR has never been +% defined with @set, or has been undefined with @clear. +% +% The `\else' inside the `\doifset' parameter is a trick to reuse the +% above code: if the variable is not set, do nothing, if it is set, +% then redefine \next to \ifclearfail. +% +\makecond{ifclear} +\def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}} +\def\ifclearfail{\doignore{ifclear}} + +% @dircategory CATEGORY -- specify a category of the dir file +% which this file should belong to. Ignore this in TeX. +\let\dircategory=\comment + +% @defininfoenclose. +\let\definfoenclose=\comment + + +\message{indexing,} +% Index generation facilities + +% Define \newwrite to be identical to plain tex's \newwrite +% except not \outer, so it can be used within macros and \if's. +\edef\newwrite{\makecsname{ptexnewwrite}} + +% \newindex {foo} defines an index named foo. +% It automatically defines \fooindex such that +% \fooindex ...rest of line... puts an entry in the index foo. +% It also defines \fooindfile to be the number of the output channel for +% the file that accumulates this index. The file's extension is foo. +% The name of an index should be no more than 2 characters long +% for the sake of vms. +% +\def\newindex#1{% + \iflinks + \expandafter\newwrite \csname#1indfile\endcsname + \openout \csname#1indfile\endcsname \jobname.#1 % Open the file + \fi + \expandafter\xdef\csname#1index\endcsname{% % Define @#1index + \noexpand\doindex{#1}} +} + +% @defindex foo == \newindex{foo} +% +\def\defindex{\parsearg\newindex} + +% Define @defcodeindex, like @defindex except put all entries in @code. +% +\def\defcodeindex{\parsearg\newcodeindex} +% +\def\newcodeindex#1{% + \iflinks + \expandafter\newwrite \csname#1indfile\endcsname + \openout \csname#1indfile\endcsname \jobname.#1 + \fi + \expandafter\xdef\csname#1index\endcsname{% + \noexpand\docodeindex{#1}}% +} + + +% @synindex foo bar makes index foo feed into index bar. +% Do this instead of @defindex foo if you don't want it as a separate index. +% +% @syncodeindex foo bar similar, but put all entries made for index foo +% inside @code. +% +\def\synindex#1 #2 {\dosynindex\doindex{#1}{#2}} +\def\syncodeindex#1 #2 {\dosynindex\docodeindex{#1}{#2}} + +% #1 is \doindex or \docodeindex, #2 the index getting redefined (foo), +% #3 the target index (bar). +\def\dosynindex#1#2#3{% + % Only do \closeout if we haven't already done it, else we'll end up + % closing the target index. + \expandafter \ifx\csname donesynindex#2\endcsname \relax + % The \closeout helps reduce unnecessary open files; the limit on the + % Acorn RISC OS is a mere 16 files. + \expandafter\closeout\csname#2indfile\endcsname + \expandafter\let\csname donesynindex#2\endcsname = 1 + \fi + % redefine \fooindfile: + \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname + \expandafter\let\csname#2indfile\endcsname=\temp + % redefine \fooindex: + \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}% +} + +% Define \doindex, the driver for all \fooindex macros. +% Argument #1 is generated by the calling \fooindex macro, +% and it is "foo", the name of the index. + +% \doindex just uses \parsearg; it calls \doind for the actual work. +% This is because \doind is more useful to call from other macros. + +% There is also \dosubind {index}{topic}{subtopic} +% which makes an entry in a two-level index such as the operation index. + +\def\doindex#1{\edef\indexname{#1}\parsearg\singleindexer} +\def\singleindexer #1{\doind{\indexname}{#1}} + +% like the previous two, but they put @code around the argument. +\def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer} +\def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}} + +% Take care of Texinfo commands that can appear in an index entry. +% Since there are some commands we want to expand, and others we don't, +% we have to laboriously prevent expansion for those that we don't. +% +\def\indexdummies{% + \escapechar = `\\ % use backslash in output files. + \def\@{@}% change to @@ when we switch to @ as escape char in index files. + \def\ {\realbackslash\space }% + % + % Need these in case \tex is in effect and \{ is a \delimiter again. + % But can't use \lbracecmd and \rbracecmd because texindex assumes + % braces and backslashes are used only as delimiters. + \let\{ = \mylbrace + \let\} = \myrbrace + % + % I don't entirely understand this, but when an index entry is + % generated from a macro call, the \endinput which \scanmacro inserts + % causes processing to be prematurely terminated. This is, + % apparently, because \indexsorttmp is fully expanded, and \endinput + % is an expandable command. The redefinition below makes \endinput + % disappear altogether for that purpose -- although logging shows that + % processing continues to some further point. On the other hand, it + % seems \endinput does not hurt in the printed index arg, since that + % is still getting written without apparent harm. + % + % Sample source (mac-idx3.tex, reported by Graham Percival to + % help-texinfo, 22may06): + % @macro funindex {WORD} + % @findex xyz + % @end macro + % ... + % @funindex commtest + % + % The above is not enough to reproduce the bug, but it gives the flavor. + % + % Sample whatsit resulting: + % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}} + % + % So: + \let\endinput = \empty + % + % Do the redefinitions. + \commondummies +} + +% For the aux and toc files, @ is the escape character. So we want to +% redefine everything using @ as the escape character (instead of +% \realbackslash, still used for index files). When everything uses @, +% this will be simpler. +% +\def\atdummies{% + \def\@{@@}% + \def\ {@ }% + \let\{ = \lbraceatcmd + \let\} = \rbraceatcmd + % + % Do the redefinitions. + \commondummies + \otherbackslash +} + +% Called from \indexdummies and \atdummies. +% +\def\commondummies{% + % + % \definedummyword defines \#1 as \string\#1\space, thus effectively + % preventing its expansion. This is used only for control% words, + % not control letters, because the \space would be incorrect for + % control characters, but is needed to separate the control word + % from whatever follows. + % + % For control letters, we have \definedummyletter, which omits the + % space. + % + % These can be used both for control words that take an argument and + % those that do not. If it is followed by {arg} in the input, then + % that will dutifully get written to the index (or wherever). + % + \def\definedummyword ##1{\def##1{\string##1\space}}% + \def\definedummyletter##1{\def##1{\string##1}}% + \let\definedummyaccent\definedummyletter + % + \commondummiesnofonts + % + \definedummyletter\_% + % + % Non-English letters. + \definedummyword\AA + \definedummyword\AE + \definedummyword\DH + \definedummyword\L + \definedummyword\O + \definedummyword\OE + \definedummyword\TH + \definedummyword\aa + \definedummyword\ae + \definedummyword\dh + \definedummyword\exclamdown + \definedummyword\l + \definedummyword\o + \definedummyword\oe + \definedummyword\ordf + \definedummyword\ordm + \definedummyword\questiondown + \definedummyword\ss + \definedummyword\th + % + % Although these internal commands shouldn't show up, sometimes they do. + \definedummyword\bf + \definedummyword\gtr + \definedummyword\hat + \definedummyword\less + \definedummyword\sf + \definedummyword\sl + \definedummyword\tclose + \definedummyword\tt + % + \definedummyword\LaTeX + \definedummyword\TeX + % + % Assorted special characters. + \definedummyword\bullet + \definedummyword\comma + \definedummyword\copyright + \definedummyword\registeredsymbol + \definedummyword\dots + \definedummyword\enddots + \definedummyword\equiv + \definedummyword\error + \definedummyword\euro + \definedummyword\guillemetleft + \definedummyword\guillemetright + \definedummyword\guilsinglleft + \definedummyword\guilsinglright + \definedummyword\expansion + \definedummyword\minus + \definedummyword\ogonek + \definedummyword\pounds + \definedummyword\point + \definedummyword\print + \definedummyword\quotedblbase + \definedummyword\quotedblleft + \definedummyword\quotedblright + \definedummyword\quoteleft + \definedummyword\quoteright + \definedummyword\quotesinglbase + \definedummyword\result + \definedummyword\textdegree + % + % We want to disable all macros so that they are not expanded by \write. + \macrolist + % + \normalturnoffactive + % + % Handle some cases of @value -- where it does not contain any + % (non-fully-expandable) commands. + \makevalueexpandable +} + +% \commondummiesnofonts: common to \commondummies and \indexnofonts. +% +\def\commondummiesnofonts{% + % Control letters and accents. + \definedummyletter\!% + \definedummyaccent\"% + \definedummyaccent\'% + \definedummyletter\*% + \definedummyaccent\,% + \definedummyletter\.% + \definedummyletter\/% + \definedummyletter\:% + \definedummyaccent\=% + \definedummyletter\?% + \definedummyaccent\^% + \definedummyaccent\`% + \definedummyaccent\~% + \definedummyword\u + \definedummyword\v + \definedummyword\H + \definedummyword\dotaccent + \definedummyword\ogonek + \definedummyword\ringaccent + \definedummyword\tieaccent + \definedummyword\ubaraccent + \definedummyword\udotaccent + \definedummyword\dotless + % + % Texinfo font commands. + \definedummyword\b + \definedummyword\i + \definedummyword\r + \definedummyword\sc + \definedummyword\t + % + % Commands that take arguments. + \definedummyword\acronym + \definedummyword\cite + \definedummyword\code + \definedummyword\command + \definedummyword\dfn + \definedummyword\email + \definedummyword\emph + \definedummyword\env + \definedummyword\file + \definedummyword\kbd + \definedummyword\key + \definedummyword\math + \definedummyword\option + \definedummyword\pxref + \definedummyword\ref + \definedummyword\samp + \definedummyword\strong + \definedummyword\tie + \definedummyword\uref + \definedummyword\url + \definedummyword\var + \definedummyword\verb + \definedummyword\w + \definedummyword\xref +} + +% \indexnofonts is used when outputting the strings to sort the index +% by, and when constructing control sequence names. It eliminates all +% control sequences and just writes whatever the best ASCII sort string +% would be for a given command (usually its argument). +% +\def\indexnofonts{% + % Accent commands should become @asis. + \def\definedummyaccent##1{\let##1\asis}% + % We can just ignore other control letters. + \def\definedummyletter##1{\let##1\empty}% + % Hopefully, all control words can become @asis. + \let\definedummyword\definedummyaccent + % + \commondummiesnofonts + % + % Don't no-op \tt, since it isn't a user-level command + % and is used in the definitions of the active chars like <, >, |, etc. + % Likewise with the other plain tex font commands. + %\let\tt=\asis + % + \def\ { }% + \def\@{@}% + % how to handle braces? + \def\_{\normalunderscore}% + % + % Non-English letters. + \def\AA{AA}% + \def\AE{AE}% + \def\DH{DZZ}% + \def\L{L}% + \def\OE{OE}% + \def\O{O}% + \def\TH{ZZZ}% + \def\aa{aa}% + \def\ae{ae}% + \def\dh{dzz}% + \def\exclamdown{!}% + \def\l{l}% + \def\oe{oe}% + \def\ordf{a}% + \def\ordm{o}% + \def\o{o}% + \def\questiondown{?}% + \def\ss{ss}% + \def\th{zzz}% + % + \def\LaTeX{LaTeX}% + \def\TeX{TeX}% + % + % Assorted special characters. + % (The following {} will end up in the sort string, but that's ok.) + \def\bullet{bullet}% + \def\comma{,}% + \def\copyright{copyright}% + \def\dots{...}% + \def\enddots{...}% + \def\equiv{==}% + \def\error{error}% + \def\euro{euro}% + \def\expansion{==>}% + \def\guillemetleft{<<}% + \def\guillemetright{>>}% + \def\guilsinglleft{<}% + \def\guilsinglright{>}% + \def\minus{-}% + \def\point{.}% + \def\pounds{pounds}% + \def\print{-|}% + \def\quotedblbase{"}% + \def\quotedblleft{"}% + \def\quotedblright{"}% + \def\quoteleft{`}% + \def\quoteright{'}% + \def\quotesinglbase{,}% + \def\registeredsymbol{R}% + \def\result{=>}% + \def\textdegree{o}% + % + % We need to get rid of all macros, leaving only the arguments (if present). + % Of course this is not nearly correct, but it is the best we can do for now. + % makeinfo does not expand macros in the argument to @deffn, which ends up + % writing an index entry, and texindex isn't prepared for an index sort entry + % that starts with \. + % + % Since macro invocations are followed by braces, we can just redefine them + % to take a single TeX argument. The case of a macro invocation that + % goes to end-of-line is not handled. + % + \macrolist +} + +\let\indexbackslash=0 %overridden during \printindex. +\let\SETmarginindex=\relax % put index entries in margin (undocumented)? + +% Most index entries go through here, but \dosubind is the general case. +% #1 is the index name, #2 is the entry text. +\def\doind#1#2{\dosubind{#1}{#2}{}} + +% Workhorse for all \fooindexes. +% #1 is name of index, #2 is stuff to put there, #3 is subentry -- +% empty if called from \doind, as we usually are (the main exception +% is with most defuns, which call us directly). +% +\def\dosubind#1#2#3{% + \iflinks + {% + % Store the main index entry text (including the third arg). + \toks0 = {#2}% + % If third arg is present, precede it with a space. + \def\thirdarg{#3}% + \ifx\thirdarg\empty \else + \toks0 = \expandafter{\the\toks0 \space #3}% + \fi + % + \edef\writeto{\csname#1indfile\endcsname}% + % + \safewhatsit\dosubindwrite + }% + \fi +} + +% Write the entry in \toks0 to the index file: +% +\def\dosubindwrite{% + % Put the index entry in the margin if desired. + \ifx\SETmarginindex\relax\else + \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \the\toks0}}% + \fi + % + % Remember, we are within a group. + \indexdummies % Must do this here, since \bf, etc expand at this stage + \def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now + % so it will be output as is; and it will print as backslash. + % + % Process the index entry with all font commands turned off, to + % get the string to sort by. + {\indexnofonts + \edef\temp{\the\toks0}% need full expansion + \xdef\indexsorttmp{\temp}% + }% + % + % Set up the complete index entry, with both the sort key and + % the original text, including any font commands. We write + % three arguments to \entry to the .?? file (four in the + % subentry case), texindex reduces to two when writing the .??s + % sorted result. + \edef\temp{% + \write\writeto{% + \string\entry{\indexsorttmp}{\noexpand\folio}{\the\toks0}}% + }% + \temp +} + +% Take care of unwanted page breaks/skips around a whatsit: +% +% If a skip is the last thing on the list now, preserve it +% by backing up by \lastskip, doing the \write, then inserting +% the skip again. Otherwise, the whatsit generated by the +% \write or \pdfdest will make \lastskip zero. The result is that +% sequences like this: +% @end defun +% @tindex whatever +% @defun ... +% will have extra space inserted, because the \medbreak in the +% start of the @defun won't see the skip inserted by the @end of +% the previous defun. +% +% But don't do any of this if we're not in vertical mode. We +% don't want to do a \vskip and prematurely end a paragraph. +% +% Avoid page breaks due to these extra skips, too. +% +% But wait, there is a catch there: +% We'll have to check whether \lastskip is zero skip. \ifdim is not +% sufficient for this purpose, as it ignores stretch and shrink parts +% of the skip. The only way seems to be to check the textual +% representation of the skip. +% +% The following is almost like \def\zeroskipmacro{0.0pt} except that +% the ``p'' and ``t'' characters have catcode \other, not 11 (letter). +% +\edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname} +% +\newskip\whatsitskip +\newcount\whatsitpenalty +% +% ..., ready, GO: +% +\def\safewhatsit#1{% +\ifhmode + #1% +\else + % \lastskip and \lastpenalty cannot both be nonzero simultaneously. + \whatsitskip = \lastskip + \edef\lastskipmacro{\the\lastskip}% + \whatsitpenalty = \lastpenalty + % + % If \lastskip is nonzero, that means the last item was a + % skip. And since a skip is discardable, that means this + % -\whatsitskip glue we're inserting is preceded by a + % non-discardable item, therefore it is not a potential + % breakpoint, therefore no \nobreak needed. + \ifx\lastskipmacro\zeroskipmacro + \else + \vskip-\whatsitskip + \fi + % + #1% + % + \ifx\lastskipmacro\zeroskipmacro + % If \lastskip was zero, perhaps the last item was a penalty, and + % perhaps it was >=10000, e.g., a \nobreak. In that case, we want + % to re-insert the same penalty (values >10000 are used for various + % signals); since we just inserted a non-discardable item, any + % following glue (such as a \parskip) would be a breakpoint. For example: + % + % @deffn deffn-whatever + % @vindex index-whatever + % Description. + % would allow a break between the index-whatever whatsit + % and the "Description." paragraph. + \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi + \else + % On the other hand, if we had a nonzero \lastskip, + % this make-up glue would be preceded by a non-discardable item + % (the whatsit from the \write), so we must insert a \nobreak. + \nobreak\vskip\whatsitskip + \fi +\fi +} + +% The index entry written in the file actually looks like +% \entry {sortstring}{page}{topic} +% or +% \entry {sortstring}{page}{topic}{subtopic} +% The texindex program reads in these files and writes files +% containing these kinds of lines: +% \initial {c} +% before the first topic whose initial is c +% \entry {topic}{pagelist} +% for a topic that is used without subtopics +% \primary {topic} +% for the beginning of a topic that is used with subtopics +% \secondary {subtopic}{pagelist} +% for each subtopic. + +% Define the user-accessible indexing commands +% @findex, @vindex, @kindex, @cindex. + +\def\findex {\fnindex} +\def\kindex {\kyindex} +\def\cindex {\cpindex} +\def\vindex {\vrindex} +\def\tindex {\tpindex} +\def\pindex {\pgindex} + +\def\cindexsub {\begingroup\obeylines\cindexsub} +{\obeylines % +\gdef\cindexsub "#1" #2^^M{\endgroup % +\dosubind{cp}{#2}{#1}}} + +% Define the macros used in formatting output of the sorted index material. + +% @printindex causes a particular index (the ??s file) to get printed. +% It does not print any chapter heading (usually an @unnumbered). +% +\parseargdef\printindex{\begingroup + \dobreak \chapheadingskip{10000}% + % + \smallfonts \rm + \tolerance = 9500 + \plainfrenchspacing + \everypar = {}% don't want the \kern\-parindent from indentation suppression. + % + % See if the index file exists and is nonempty. + % Change catcode of @ here so that if the index file contains + % \initial {@} + % as its first line, TeX doesn't complain about mismatched braces + % (because it thinks @} is a control sequence). + \catcode`\@ = 11 + \openin 1 \jobname.#1s + \ifeof 1 + % \enddoublecolumns gets confused if there is no text in the index, + % and it loses the chapter title and the aux file entries for the + % index. The easiest way to prevent this problem is to make sure + % there is some text. + \putwordIndexNonexistent + \else + % + % If the index file exists but is empty, then \openin leaves \ifeof + % false. We have to make TeX try to read something from the file, so + % it can discover if there is anything in it. + \read 1 to \temp + \ifeof 1 + \putwordIndexIsEmpty + \else + % Index files are almost Texinfo source, but we use \ as the escape + % character. It would be better to use @, but that's too big a change + % to make right now. + \def\indexbackslash{\backslashcurfont}% + \catcode`\\ = 0 + \escapechar = `\\ + \begindoublecolumns + \input \jobname.#1s + \enddoublecolumns + \fi + \fi + \closein 1 +\endgroup} + +% These macros are used by the sorted index file itself. +% Change them to control the appearance of the index. + +\def\initial#1{{% + % Some minor font changes for the special characters. + \let\tentt=\sectt \let\tt=\sectt \let\sf=\sectt + % + % Remove any glue we may have, we'll be inserting our own. + \removelastskip + % + % We like breaks before the index initials, so insert a bonus. + \nobreak + \vskip 0pt plus 3\baselineskip + \penalty 0 + \vskip 0pt plus -3\baselineskip + % + % Typeset the initial. Making this add up to a whole number of + % baselineskips increases the chance of the dots lining up from column + % to column. It still won't often be perfect, because of the stretch + % we need before each entry, but it's better. + % + % No shrink because it confuses \balancecolumns. + \vskip 1.67\baselineskip plus .5\baselineskip + \leftline{\secbf #1}% + % Do our best not to break after the initial. + \nobreak + \vskip .33\baselineskip plus .1\baselineskip +}} + +% \entry typesets a paragraph consisting of the text (#1), dot leaders, and +% then page number (#2) flushed to the right margin. It is used for index +% and table of contents entries. The paragraph is indented by \leftskip. +% +% A straightforward implementation would start like this: +% \def\entry#1#2{... +% But this freezes the catcodes in the argument, and can cause problems to +% @code, which sets - active. This problem was fixed by a kludge--- +% ``-'' was active throughout whole index, but this isn't really right. +% +% The right solution is to prevent \entry from swallowing the whole text. +% --kasal, 21nov03 +\def\entry{% + \begingroup + % + % Start a new paragraph if necessary, so our assignments below can't + % affect previous text. + \par + % + % Do not fill out the last line with white space. + \parfillskip = 0in + % + % No extra space above this paragraph. + \parskip = 0in + % + % Do not prefer a separate line ending with a hyphen to fewer lines. + \finalhyphendemerits = 0 + % + % \hangindent is only relevant when the entry text and page number + % don't both fit on one line. In that case, bob suggests starting the + % dots pretty far over on the line. Unfortunately, a large + % indentation looks wrong when the entry text itself is broken across + % lines. So we use a small indentation and put up with long leaders. + % + % \hangafter is reset to 1 (which is the value we want) at the start + % of each paragraph, so we need not do anything with that. + \hangindent = 2em + % + % When the entry text needs to be broken, just fill out the first line + % with blank space. + \rightskip = 0pt plus1fil + % + % A bit of stretch before each entry for the benefit of balancing + % columns. + \vskip 0pt plus1pt + % + % Swallow the left brace of the text (first parameter): + \afterassignment\doentry + \let\temp = +} +\def\doentry{% + \bgroup % Instead of the swallowed brace. + \noindent + \aftergroup\finishentry + % And now comes the text of the entry. +} +\def\finishentry#1{% + % #1 is the page number. + % + % The following is kludged to not output a line of dots in the index if + % there are no page numbers. The next person who breaks this will be + % cursed by a Unix daemon. + \setbox\boxA = \hbox{#1}% + \ifdim\wd\boxA = 0pt + \ % + \else + % + % If we must, put the page number on a line of its own, and fill out + % this line with blank space. (The \hfil is overwhelmed with the + % fill leaders glue in \indexdotfill if the page number does fit.) + \hfil\penalty50 + \null\nobreak\indexdotfill % Have leaders before the page number. + % + % The `\ ' here is removed by the implicit \unskip that TeX does as + % part of (the primitive) \par. Without it, a spurious underfull + % \hbox ensues. + \ifpdf + \pdfgettoks#1.% + \ \the\toksA + \else + \ #1% + \fi + \fi + \par + \endgroup +} + +% Like plain.tex's \dotfill, except uses up at least 1 em. +\def\indexdotfill{\cleaders + \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1fill} + +\def\primary #1{\line{#1\hfil}} + +\newskip\secondaryindent \secondaryindent=0.5cm +\def\secondary#1#2{{% + \parfillskip=0in + \parskip=0in + \hangindent=1in + \hangafter=1 + \noindent\hskip\secondaryindent\hbox{#1}\indexdotfill + \ifpdf + \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph. + \else + #2 + \fi + \par +}} + +% Define two-column mode, which we use to typeset indexes. +% Adapted from the TeXbook, page 416, which is to say, +% the manmac.tex format used to print the TeXbook itself. +\catcode`\@=11 + +\newbox\partialpage +\newdimen\doublecolumnhsize + +\def\begindoublecolumns{\begingroup % ended by \enddoublecolumns + % Grab any single-column material above us. + \output = {% + % + % Here is a possibility not foreseen in manmac: if we accumulate a + % whole lot of material, we might end up calling this \output + % routine twice in a row (see the doublecol-lose test, which is + % essentially a couple of indexes with @setchapternewpage off). In + % that case we just ship out what is in \partialpage with the normal + % output routine. Generally, \partialpage will be empty when this + % runs and this will be a no-op. See the indexspread.tex test case. + \ifvoid\partialpage \else + \onepageout{\pagecontents\partialpage}% + \fi + % + \global\setbox\partialpage = \vbox{% + % Unvbox the main output page. + \unvbox\PAGE + \kern-\topskip \kern\baselineskip + }% + }% + \eject % run that output routine to set \partialpage + % + % Use the double-column output routine for subsequent pages. + \output = {\doublecolumnout}% + % + % Change the page size parameters. We could do this once outside this + % routine, in each of @smallbook, @afourpaper, and the default 8.5x11 + % format, but then we repeat the same computation. Repeating a couple + % of assignments once per index is clearly meaningless for the + % execution time, so we may as well do it in one place. + % + % First we halve the line length, less a little for the gutter between + % the columns. We compute the gutter based on the line length, so it + % changes automatically with the paper format. The magic constant + % below is chosen so that the gutter has the same value (well, +-<1pt) + % as it did when we hard-coded it. + % + % We put the result in a separate register, \doublecolumhsize, so we + % can restore it in \pagesofar, after \hsize itself has (potentially) + % been clobbered. + % + \doublecolumnhsize = \hsize + \advance\doublecolumnhsize by -.04154\hsize + \divide\doublecolumnhsize by 2 + \hsize = \doublecolumnhsize + % + % Double the \vsize as well. (We don't need a separate register here, + % since nobody clobbers \vsize.) + \vsize = 2\vsize +} + +% The double-column output routine for all double-column pages except +% the last. +% +\def\doublecolumnout{% + \splittopskip=\topskip \splitmaxdepth=\maxdepth + % Get the available space for the double columns -- the normal + % (undoubled) page height minus any material left over from the + % previous page. + \dimen@ = \vsize + \divide\dimen@ by 2 + \advance\dimen@ by -\ht\partialpage + % + % box0 will be the left-hand column, box2 the right. + \setbox0=\vsplit255 to\dimen@ \setbox2=\vsplit255 to\dimen@ + \onepageout\pagesofar + \unvbox255 + \penalty\outputpenalty +} +% +% Re-output the contents of the output page -- any previous material, +% followed by the two boxes we just split, in box0 and box2. +\def\pagesofar{% + \unvbox\partialpage + % + \hsize = \doublecolumnhsize + \wd0=\hsize \wd2=\hsize + \hbox to\pagewidth{\box0\hfil\box2}% +} +% +% All done with double columns. +\def\enddoublecolumns{% + % The following penalty ensures that the page builder is exercised + % _before_ we change the output routine. This is necessary in the + % following situation: + % + % The last section of the index consists only of a single entry. + % Before this section, \pagetotal is less than \pagegoal, so no + % break occurs before the last section starts. However, the last + % section, consisting of \initial and the single \entry, does not + % fit on the page and has to be broken off. Without the following + % penalty the page builder will not be exercised until \eject + % below, and by that time we'll already have changed the output + % routine to the \balancecolumns version, so the next-to-last + % double-column page will be processed with \balancecolumns, which + % is wrong: The two columns will go to the main vertical list, with + % the broken-off section in the recent contributions. As soon as + % the output routine finishes, TeX starts reconsidering the page + % break. The two columns and the broken-off section both fit on the + % page, because the two columns now take up only half of the page + % goal. When TeX sees \eject from below which follows the final + % section, it invokes the new output routine that we've set after + % \balancecolumns below; \onepageout will try to fit the two columns + % and the final section into the vbox of \pageheight (see + % \pagebody), causing an overfull box. + % + % Note that glue won't work here, because glue does not exercise the + % page builder, unlike penalties (see The TeXbook, pp. 280-281). + \penalty0 + % + \output = {% + % Split the last of the double-column material. Leave it on the + % current page, no automatic page break. + \balancecolumns + % + % If we end up splitting too much material for the current page, + % though, there will be another page break right after this \output + % invocation ends. Having called \balancecolumns once, we do not + % want to call it again. Therefore, reset \output to its normal + % definition right away. (We hope \balancecolumns will never be + % called on to balance too much material, but if it is, this makes + % the output somewhat more palatable.) + \global\output = {\onepageout{\pagecontents\PAGE}}% + }% + \eject + \endgroup % started in \begindoublecolumns + % + % \pagegoal was set to the doubled \vsize above, since we restarted + % the current page. We're now back to normal single-column + % typesetting, so reset \pagegoal to the normal \vsize (after the + % \endgroup where \vsize got restored). + \pagegoal = \vsize +} +% +% Called at the end of the double column material. +\def\balancecolumns{% + \setbox0 = \vbox{\unvbox255}% like \box255 but more efficient, see p.120. + \dimen@ = \ht0 + \advance\dimen@ by \topskip + \advance\dimen@ by-\baselineskip + \divide\dimen@ by 2 % target to split to + %debug\message{final 2-column material height=\the\ht0, target=\the\dimen@.}% + \splittopskip = \topskip + % Loop until we get a decent breakpoint. + {% + \vbadness = 10000 + \loop + \global\setbox3 = \copy0 + \global\setbox1 = \vsplit3 to \dimen@ + \ifdim\ht3>\dimen@ + \global\advance\dimen@ by 1pt + \repeat + }% + %debug\message{split to \the\dimen@, column heights: \the\ht1, \the\ht3.}% + \setbox0=\vbox to\dimen@{\unvbox1}% + \setbox2=\vbox to\dimen@{\unvbox3}% + % + \pagesofar +} +\catcode`\@ = \other + + +\message{sectioning,} +% Chapters, sections, etc. + +% \unnumberedno is an oxymoron, of course. But we count the unnumbered +% sections so that we can refer to them unambiguously in the pdf +% outlines by their "section number". We avoid collisions with chapter +% numbers by starting them at 10000. (If a document ever has 10000 +% chapters, we're in trouble anyway, I'm sure.) +\newcount\unnumberedno \unnumberedno = 10000 +\newcount\chapno +\newcount\secno \secno=0 +\newcount\subsecno \subsecno=0 +\newcount\subsubsecno \subsubsecno=0 + +% This counter is funny since it counts through charcodes of letters A, B, ... +\newcount\appendixno \appendixno = `\@ +% +% \def\appendixletter{\char\the\appendixno} +% We do the following ugly conditional instead of the above simple +% construct for the sake of pdftex, which needs the actual +% letter in the expansion, not just typeset. +% +\def\appendixletter{% + \ifnum\appendixno=`A A% + \else\ifnum\appendixno=`B B% + \else\ifnum\appendixno=`C C% + \else\ifnum\appendixno=`D D% + \else\ifnum\appendixno=`E E% + \else\ifnum\appendixno=`F F% + \else\ifnum\appendixno=`G G% + \else\ifnum\appendixno=`H H% + \else\ifnum\appendixno=`I I% + \else\ifnum\appendixno=`J J% + \else\ifnum\appendixno=`K K% + \else\ifnum\appendixno=`L L% + \else\ifnum\appendixno=`M M% + \else\ifnum\appendixno=`N N% + \else\ifnum\appendixno=`O O% + \else\ifnum\appendixno=`P P% + \else\ifnum\appendixno=`Q Q% + \else\ifnum\appendixno=`R R% + \else\ifnum\appendixno=`S S% + \else\ifnum\appendixno=`T T% + \else\ifnum\appendixno=`U U% + \else\ifnum\appendixno=`V V% + \else\ifnum\appendixno=`W W% + \else\ifnum\appendixno=`X X% + \else\ifnum\appendixno=`Y Y% + \else\ifnum\appendixno=`Z Z% + % The \the is necessary, despite appearances, because \appendixletter is + % expanded while writing the .toc file. \char\appendixno is not + % expandable, thus it is written literally, thus all appendixes come out + % with the same letter (or @) in the toc without it. + \else\char\the\appendixno + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + +% Each @chapter defines these (using marks) as the number+name, number +% and name of the chapter. Page headings and footings can use +% these. @section does likewise. +\def\thischapter{} +\def\thischapternum{} +\def\thischaptername{} +\def\thissection{} +\def\thissectionnum{} +\def\thissectionname{} + +\newcount\absseclevel % used to calculate proper heading level +\newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count + +% @raisesections: treat @section as chapter, @subsection as section, etc. +\def\raisesections{\global\advance\secbase by -1} +\let\up=\raisesections % original BFox name + +% @lowersections: treat @chapter as section, @section as subsection, etc. +\def\lowersections{\global\advance\secbase by 1} +\let\down=\lowersections % original BFox name + +% we only have subsub. +\chardef\maxseclevel = 3 +% +% A numbered section within an unnumbered changes to unnumbered too. +% To achive this, remember the "biggest" unnum. sec. we are currently in: +\chardef\unmlevel = \maxseclevel +% +% Trace whether the current chapter is an appendix or not: +% \chapheadtype is "N" or "A", unnumbered chapters are ignored. +\def\chapheadtype{N} + +% Choose a heading macro +% #1 is heading type +% #2 is heading level +% #3 is text for heading +\def\genhead#1#2#3{% + % Compute the abs. sec. level: + \absseclevel=#2 + \advance\absseclevel by \secbase + % Make sure \absseclevel doesn't fall outside the range: + \ifnum \absseclevel < 0 + \absseclevel = 0 + \else + \ifnum \absseclevel > 3 + \absseclevel = 3 + \fi + \fi + % The heading type: + \def\headtype{#1}% + \if \headtype U% + \ifnum \absseclevel < \unmlevel + \chardef\unmlevel = \absseclevel + \fi + \else + % Check for appendix sections: + \ifnum \absseclevel = 0 + \edef\chapheadtype{\headtype}% + \else + \if \headtype A\if \chapheadtype N% + \errmessage{@appendix... within a non-appendix chapter}% + \fi\fi + \fi + % Check for numbered within unnumbered: + \ifnum \absseclevel > \unmlevel + \def\headtype{U}% + \else + \chardef\unmlevel = 3 + \fi + \fi + % Now print the heading: + \if \headtype U% + \ifcase\absseclevel + \unnumberedzzz{#3}% + \or \unnumberedseczzz{#3}% + \or \unnumberedsubseczzz{#3}% + \or \unnumberedsubsubseczzz{#3}% + \fi + \else + \if \headtype A% + \ifcase\absseclevel + \appendixzzz{#3}% + \or \appendixsectionzzz{#3}% + \or \appendixsubseczzz{#3}% + \or \appendixsubsubseczzz{#3}% + \fi + \else + \ifcase\absseclevel + \chapterzzz{#3}% + \or \seczzz{#3}% + \or \numberedsubseczzz{#3}% + \or \numberedsubsubseczzz{#3}% + \fi + \fi + \fi + \suppressfirstparagraphindent +} + +% an interface: +\def\numhead{\genhead N} +\def\apphead{\genhead A} +\def\unnmhead{\genhead U} + +% @chapter, @appendix, @unnumbered. Increment top-level counter, reset +% all lower-level sectioning counters to zero. +% +% Also set \chaplevelprefix, which we prepend to @float sequence numbers +% (e.g., figures), q.v. By default (before any chapter), that is empty. +\let\chaplevelprefix = \empty +% +\outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz +\def\chapterzzz#1{% + % section resetting is \global in case the chapter is in a group, such + % as an @include file. + \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 + \global\advance\chapno by 1 + % + % Used for \float. + \gdef\chaplevelprefix{\the\chapno.}% + \resetallfloatnos + % + % \putwordChapter can contain complex things in translations. + \toks0=\expandafter{\putwordChapter}% + \message{\the\toks0 \space \the\chapno}% + % + % Write the actual heading. + \chapmacro{#1}{Ynumbered}{\the\chapno}% + % + % So @section and the like are numbered underneath this chapter. + \global\let\section = \numberedsec + \global\let\subsection = \numberedsubsec + \global\let\subsubsection = \numberedsubsubsec +} + +\outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz +% +\def\appendixzzz#1{% + \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 + \global\advance\appendixno by 1 + \gdef\chaplevelprefix{\appendixletter.}% + \resetallfloatnos + % + % \putwordAppendix can contain complex things in translations. + \toks0=\expandafter{\putwordAppendix}% + \message{\the\toks0 \space \appendixletter}% + % + \chapmacro{#1}{Yappendix}{\appendixletter}% + % + \global\let\section = \appendixsec + \global\let\subsection = \appendixsubsec + \global\let\subsubsection = \appendixsubsubsec +} + +\outer\parseargdef\unnumbered{\unnmhead0{#1}} % normally unnmhead0 calls unnumberedzzz +\def\unnumberedzzz#1{% + \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 + \global\advance\unnumberedno by 1 + % + % Since an unnumbered has no number, no prefix for figures. + \global\let\chaplevelprefix = \empty + \resetallfloatnos + % + % This used to be simply \message{#1}, but TeX fully expands the + % argument to \message. Therefore, if #1 contained @-commands, TeX + % expanded them. For example, in `@unnumbered The @cite{Book}', TeX + % expanded @cite (which turns out to cause errors because \cite is meant + % to be executed, not expanded). + % + % Anyway, we don't want the fully-expanded definition of @cite to appear + % as a result of the \message, we just want `@cite' itself. We use + % \the to achieve this: TeX expands \the only once, + % simply yielding the contents of . (We also do this for + % the toc entries.) + \toks0 = {#1}% + \message{(\the\toks0)}% + % + \chapmacro{#1}{Ynothing}{\the\unnumberedno}% + % + \global\let\section = \unnumberedsec + \global\let\subsection = \unnumberedsubsec + \global\let\subsubsection = \unnumberedsubsubsec +} + +% @centerchap is like @unnumbered, but the heading is centered. +\outer\parseargdef\centerchap{% + % Well, we could do the following in a group, but that would break + % an assumption that \chapmacro is called at the outermost level. + % Thus we are safer this way: --kasal, 24feb04 + \let\centerparametersmaybe = \centerparameters + \unnmhead0{#1}% + \let\centerparametersmaybe = \relax +} + +% @top is like @unnumbered. +\let\top\unnumbered + +% Sections. +\outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz +\def\seczzz#1{% + \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 + \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}% +} + +\outer\parseargdef\appendixsection{\apphead1{#1}} % normally calls appendixsectionzzz +\def\appendixsectionzzz#1{% + \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 + \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}% +} +\let\appendixsec\appendixsection + +\outer\parseargdef\unnumberedsec{\unnmhead1{#1}} % normally calls unnumberedseczzz +\def\unnumberedseczzz#1{% + \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 + \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}% +} + +% Subsections. +\outer\parseargdef\numberedsubsec{\numhead2{#1}} % normally calls numberedsubseczzz +\def\numberedsubseczzz#1{% + \global\subsubsecno=0 \global\advance\subsecno by 1 + \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}% +} + +\outer\parseargdef\appendixsubsec{\apphead2{#1}} % normally calls appendixsubseczzz +\def\appendixsubseczzz#1{% + \global\subsubsecno=0 \global\advance\subsecno by 1 + \sectionheading{#1}{subsec}{Yappendix}% + {\appendixletter.\the\secno.\the\subsecno}% +} + +\outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}} %normally calls unnumberedsubseczzz +\def\unnumberedsubseczzz#1{% + \global\subsubsecno=0 \global\advance\subsecno by 1 + \sectionheading{#1}{subsec}{Ynothing}% + {\the\unnumberedno.\the\secno.\the\subsecno}% +} + +% Subsubsections. +\outer\parseargdef\numberedsubsubsec{\numhead3{#1}} % normally numberedsubsubseczzz +\def\numberedsubsubseczzz#1{% + \global\advance\subsubsecno by 1 + \sectionheading{#1}{subsubsec}{Ynumbered}% + {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}% +} + +\outer\parseargdef\appendixsubsubsec{\apphead3{#1}} % normally appendixsubsubseczzz +\def\appendixsubsubseczzz#1{% + \global\advance\subsubsecno by 1 + \sectionheading{#1}{subsubsec}{Yappendix}% + {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}% +} + +\outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}} %normally unnumberedsubsubseczzz +\def\unnumberedsubsubseczzz#1{% + \global\advance\subsubsecno by 1 + \sectionheading{#1}{subsubsec}{Ynothing}% + {\the\unnumberedno.\the\secno.\the\subsecno.\the\subsubsecno}% +} + +% These macros control what the section commands do, according +% to what kind of chapter we are in (ordinary, appendix, or unnumbered). +% Define them by default for a numbered chapter. +\let\section = \numberedsec +\let\subsection = \numberedsubsec +\let\subsubsection = \numberedsubsubsec + +% Define @majorheading, @heading and @subheading + +% NOTE on use of \vbox for chapter headings, section headings, and such: +% 1) We use \vbox rather than the earlier \line to permit +% overlong headings to fold. +% 2) \hyphenpenalty is set to 10000 because hyphenation in a +% heading is obnoxious; this forbids it. +% 3) Likewise, headings look best if no \parindent is used, and +% if justification is not attempted. Hence \raggedright. + +\def\majorheading{% + {\advance\chapheadingskip by 10pt \chapbreak }% + \parsearg\chapheadingzzz +} + +\def\chapheading{\chapbreak \parsearg\chapheadingzzz} +\def\chapheadingzzz#1{% + {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 + \parindent=0pt\ptexraggedright + \rmisbold #1\hfill}}% + \bigskip \par\penalty 200\relax + \suppressfirstparagraphindent +} + +% @heading, @subheading, @subsubheading. +\parseargdef\heading{\sectionheading{#1}{sec}{Yomitfromtoc}{} + \suppressfirstparagraphindent} +\parseargdef\subheading{\sectionheading{#1}{subsec}{Yomitfromtoc}{} + \suppressfirstparagraphindent} +\parseargdef\subsubheading{\sectionheading{#1}{subsubsec}{Yomitfromtoc}{} + \suppressfirstparagraphindent} + +% These macros generate a chapter, section, etc. heading only +% (including whitespace, linebreaking, etc. around it), +% given all the information in convenient, parsed form. + +%%% Args are the skip and penalty (usually negative) +\def\dobreak#1#2{\par\ifdim\lastskip<#1\removelastskip\penalty#2\vskip#1\fi} + +%%% Define plain chapter starts, and page on/off switching for it +% Parameter controlling skip before chapter headings (if needed) + +\newskip\chapheadingskip + +\def\chapbreak{\dobreak \chapheadingskip {-4000}} +\def\chappager{\par\vfill\supereject} +% Because \domark is called before \chapoddpage, the filler page will +% get the headings for the next chapter, which is wrong. But we don't +% care -- we just disable all headings on the filler page. +\def\chapoddpage{% + \chappager + \ifodd\pageno \else + \begingroup + \evenheadline={\hfil}\evenfootline={\hfil}% + \oddheadline={\hfil}\oddfootline={\hfil}% + \hbox to 0pt{}% + \chappager + \endgroup + \fi +} + +\def\setchapternewpage #1 {\csname CHAPPAG#1\endcsname} + +\def\CHAPPAGoff{% +\global\let\contentsalignmacro = \chappager +\global\let\pchapsepmacro=\chapbreak +\global\let\pagealignmacro=\chappager} + +\def\CHAPPAGon{% +\global\let\contentsalignmacro = \chappager +\global\let\pchapsepmacro=\chappager +\global\let\pagealignmacro=\chappager +\global\def\HEADINGSon{\HEADINGSsingle}} + +\def\CHAPPAGodd{% +\global\let\contentsalignmacro = \chapoddpage +\global\let\pchapsepmacro=\chapoddpage +\global\let\pagealignmacro=\chapoddpage +\global\def\HEADINGSon{\HEADINGSdouble}} + +\CHAPPAGon + +% Chapter opening. +% +% #1 is the text, #2 is the section type (Ynumbered, Ynothing, +% Yappendix, Yomitfromtoc), #3 the chapter number. +% +% To test against our argument. +\def\Ynothingkeyword{Ynothing} +\def\Yomitfromtockeyword{Yomitfromtoc} +\def\Yappendixkeyword{Yappendix} +% +\def\chapmacro#1#2#3{% + % Insert the first mark before the heading break (see notes for \domark). + \let\prevchapterdefs=\lastchapterdefs + \let\prevsectiondefs=\lastsectiondefs + \gdef\lastsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}% + \gdef\thissection{}}% + % + \def\temptype{#2}% + \ifx\temptype\Ynothingkeyword + \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% + \gdef\thischapter{\thischaptername}}% + \else\ifx\temptype\Yomitfromtockeyword + \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% + \gdef\thischapter{}}% + \else\ifx\temptype\Yappendixkeyword + \toks0={#1}% + \xdef\lastchapterdefs{% + \gdef\noexpand\thischaptername{\the\toks0}% + \gdef\noexpand\thischapternum{\appendixletter}% + % \noexpand\putwordAppendix avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thischapter{\noexpand\putwordAppendix{} + \noexpand\thischapternum: + \noexpand\thischaptername}% + }% + \else + \toks0={#1}% + \xdef\lastchapterdefs{% + \gdef\noexpand\thischaptername{\the\toks0}% + \gdef\noexpand\thischapternum{\the\chapno}% + % \noexpand\putwordChapter avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thischapter{\noexpand\putwordChapter{} + \noexpand\thischapternum: + \noexpand\thischaptername}% + }% + \fi\fi\fi + % + % Output the mark. Pass it through \safewhatsit, to take care of + % the preceding space. + \safewhatsit\domark + % + % Insert the chapter heading break. + \pchapsepmacro + % + % Now the second mark, after the heading break. No break points + % between here and the heading. + \let\prevchapterdefs=\lastchapterdefs + \let\prevsectiondefs=\lastsectiondefs + \domark + % + {% + \chapfonts \rmisbold + % + % Have to define \lastsection before calling \donoderef, because the + % xref code eventually uses it. On the other hand, it has to be called + % after \pchapsepmacro, or the headline will change too soon. + \gdef\lastsection{#1}% + % + % Only insert the separating space if we have a chapter/appendix + % number, and don't print the unnumbered ``number''. + \ifx\temptype\Ynothingkeyword + \setbox0 = \hbox{}% + \def\toctype{unnchap}% + \else\ifx\temptype\Yomitfromtockeyword + \setbox0 = \hbox{}% contents like unnumbered, but no toc entry + \def\toctype{omit}% + \else\ifx\temptype\Yappendixkeyword + \setbox0 = \hbox{\putwordAppendix{} #3\enspace}% + \def\toctype{app}% + \else + \setbox0 = \hbox{#3\enspace}% + \def\toctype{numchap}% + \fi\fi\fi + % + % Write the toc entry for this chapter. Must come before the + % \donoderef, because we include the current node name in the toc + % entry, and \donoderef resets it to empty. + \writetocentry{\toctype}{#1}{#3}% + % + % For pdftex, we have to write out the node definition (aka, make + % the pdfdest) after any page break, but before the actual text has + % been typeset. If the destination for the pdf outline is after the + % text, then jumping from the outline may wind up with the text not + % being visible, for instance under high magnification. + \donoderef{#2}% + % + % Typeset the actual heading. + \nobreak % Avoid page breaks at the interline glue. + \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright + \hangindent=\wd0 \centerparametersmaybe + \unhbox0 #1\par}% + }% + \nobreak\bigskip % no page break after a chapter title + \nobreak +} + +% @centerchap -- centered and unnumbered. +\let\centerparametersmaybe = \relax +\def\centerparameters{% + \advance\rightskip by 3\rightskip + \leftskip = \rightskip + \parfillskip = 0pt +} + + +% I don't think this chapter style is supported any more, so I'm not +% updating it with the new noderef stuff. We'll see. --karl, 11aug03. +% +\def\setchapterstyle #1 {\csname CHAPF#1\endcsname} +% +\def\unnchfopen #1{% +\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 + \parindent=0pt\ptexraggedright + \rmisbold #1\hfill}}\bigskip \par\nobreak +} +\def\chfopen #1#2{\chapoddpage {\chapfonts +\vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}% +\par\penalty 5000 % +} +\def\centerchfopen #1{% +\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 + \parindent=0pt + \hfill {\rmisbold #1}\hfill}}\bigskip \par\nobreak +} +\def\CHAPFopen{% + \global\let\chapmacro=\chfopen + \global\let\centerchapmacro=\centerchfopen} + + +% Section titles. These macros combine the section number parts and +% call the generic \sectionheading to do the printing. +% +\newskip\secheadingskip +\def\secheadingbreak{\dobreak \secheadingskip{-1000}} + +% Subsection titles. +\newskip\subsecheadingskip +\def\subsecheadingbreak{\dobreak \subsecheadingskip{-500}} + +% Subsubsection titles. +\def\subsubsecheadingskip{\subsecheadingskip} +\def\subsubsecheadingbreak{\subsecheadingbreak} + + +% Print any size, any type, section title. +% +% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is +% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the +% section number. +% +\def\seckeyword{sec} +% +\def\sectionheading#1#2#3#4{% + {% + % Switch to the right set of fonts. + \csname #2fonts\endcsname \rmisbold + % + \def\sectionlevel{#2}% + \def\temptype{#3}% + % + % Insert first mark before the heading break (see notes for \domark). + \let\prevsectiondefs=\lastsectiondefs + \ifx\temptype\Ynothingkeyword + \ifx\sectionlevel\seckeyword + \gdef\lastsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}% + \gdef\thissection{\thissectionname}}% + \fi + \else\ifx\temptype\Yomitfromtockeyword + % Don't redefine \thissection. + \else\ifx\temptype\Yappendixkeyword + \ifx\sectionlevel\seckeyword + \toks0={#1}% + \xdef\lastsectiondefs{% + \gdef\noexpand\thissectionname{\the\toks0}% + \gdef\noexpand\thissectionnum{#4}% + % \noexpand\putwordSection avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thissection{\noexpand\putwordSection{} + \noexpand\thissectionnum: + \noexpand\thissectionname}% + }% + \fi + \else + \ifx\sectionlevel\seckeyword + \toks0={#1}% + \xdef\lastsectiondefs{% + \gdef\noexpand\thissectionname{\the\toks0}% + \gdef\noexpand\thissectionnum{#4}% + % \noexpand\putwordSection avoids expanding indigestible + % commands in some of the translations. + \gdef\noexpand\thissection{\noexpand\putwordSection{} + \noexpand\thissectionnum: + \noexpand\thissectionname}% + }% + \fi + \fi\fi\fi + % + % Go into vertical mode. Usually we'll already be there, but we + % don't want the following whatsit to end up in a preceding paragraph + % if the document didn't happen to have a blank line. + \par + % + % Output the mark. Pass it through \safewhatsit, to take care of + % the preceding space. + \safewhatsit\domark + % + % Insert space above the heading. + \csname #2headingbreak\endcsname + % + % Now the second mark, after the heading break. No break points + % between here and the heading. + \let\prevsectiondefs=\lastsectiondefs + \domark + % + % Only insert the space after the number if we have a section number. + \ifx\temptype\Ynothingkeyword + \setbox0 = \hbox{}% + \def\toctype{unn}% + \gdef\lastsection{#1}% + \else\ifx\temptype\Yomitfromtockeyword + % for @headings -- no section number, don't include in toc, + % and don't redefine \lastsection. + \setbox0 = \hbox{}% + \def\toctype{omit}% + \let\sectionlevel=\empty + \else\ifx\temptype\Yappendixkeyword + \setbox0 = \hbox{#4\enspace}% + \def\toctype{app}% + \gdef\lastsection{#1}% + \else + \setbox0 = \hbox{#4\enspace}% + \def\toctype{num}% + \gdef\lastsection{#1}% + \fi\fi\fi + % + % Write the toc entry (before \donoderef). See comments in \chapmacro. + \writetocentry{\toctype\sectionlevel}{#1}{#4}% + % + % Write the node reference (= pdf destination for pdftex). + % Again, see comments in \chapmacro. + \donoderef{#3}% + % + % Interline glue will be inserted when the vbox is completed. + % That glue will be a valid breakpoint for the page, since it'll be + % preceded by a whatsit (usually from the \donoderef, or from the + % \writetocentry if there was no node). We don't want to allow that + % break, since then the whatsits could end up on page n while the + % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000. + \nobreak + % + % Output the actual section heading. + \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright + \hangindent=\wd0 % zero if no section number + \unhbox0 #1}% + }% + % Add extra space after the heading -- half of whatever came above it. + % Don't allow stretch, though. + \kern .5 \csname #2headingskip\endcsname + % + % Do not let the kern be a potential breakpoint, as it would be if it + % was followed by glue. + \nobreak + % + % We'll almost certainly start a paragraph next, so don't let that + % glue accumulate. (Not a breakpoint because it's preceded by a + % discardable item.) + \vskip-\parskip + % + % This is purely so the last item on the list is a known \penalty > + % 10000. This is so \startdefun can avoid allowing breakpoints after + % section headings. Otherwise, it would insert a valid breakpoint between: + % + % @section sec-whatever + % @deffn def-whatever + \penalty 10001 +} + + +\message{toc,} +% Table of contents. +\newwrite\tocfile + +% Write an entry to the toc file, opening it if necessary. +% Called from @chapter, etc. +% +% Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno} +% We append the current node name (if any) and page number as additional +% arguments for the \{chap,sec,...}entry macros which will eventually +% read this. The node name is used in the pdf outlines as the +% destination to jump to. +% +% We open the .toc file for writing here instead of at @setfilename (or +% any other fixed time) so that @contents can be anywhere in the document. +% But if #1 is `omit', then we don't do anything. This is used for the +% table of contents chapter openings themselves. +% +\newif\iftocfileopened +\def\omitkeyword{omit}% +% +\def\writetocentry#1#2#3{% + \edef\writetoctype{#1}% + \ifx\writetoctype\omitkeyword \else + \iftocfileopened\else + \immediate\openout\tocfile = \jobname.toc + \global\tocfileopenedtrue + \fi + % + \iflinks + {\atdummies + \edef\temp{% + \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}% + \temp + }% + \fi + \fi + % + % Tell \shipout to create a pdf destination on each page, if we're + % writing pdf. These are used in the table of contents. We can't + % just write one on every page because the title pages are numbered + % 1 and 2 (the page numbers aren't printed), and so are the first + % two pages of the document. Thus, we'd have two destinations named + % `1', and two named `2'. + \ifpdf \global\pdfmakepagedesttrue \fi +} + + +% These characters do not print properly in the Computer Modern roman +% fonts, so we must take special care. This is more or less redundant +% with the Texinfo input format setup at the end of this file. +% +\def\activecatcodes{% + \catcode`\"=\active + \catcode`\$=\active + \catcode`\<=\active + \catcode`\>=\active + \catcode`\\=\active + \catcode`\^=\active + \catcode`\_=\active + \catcode`\|=\active + \catcode`\~=\active +} + + +% Read the toc file, which is essentially Texinfo input. +\def\readtocfile{% + \setupdatafile + \activecatcodes + \input \tocreadfilename +} + +\newskip\contentsrightmargin \contentsrightmargin=1in +\newcount\savepageno +\newcount\lastnegativepageno \lastnegativepageno = -1 + +% Prepare to read what we've written to \tocfile. +% +\def\startcontents#1{% + % If @setchapternewpage on, and @headings double, the contents should + % start on an odd page, unlike chapters. Thus, we maintain + % \contentsalignmacro in parallel with \pagealignmacro. + % From: Torbjorn Granlund + \contentsalignmacro + \immediate\closeout\tocfile + % + % Don't need to put `Contents' or `Short Contents' in the headline. + % It is abundantly clear what they are. + \chapmacro{#1}{Yomitfromtoc}{}% + % + \savepageno = \pageno + \begingroup % Set up to handle contents files properly. + \raggedbottom % Worry more about breakpoints than the bottom. + \advance\hsize by -\contentsrightmargin % Don't use the full line length. + % + % Roman numerals for page numbers. + \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi +} + +% redefined for the two-volume lispref. We always output on +% \jobname.toc even if this is redefined. +% +\def\tocreadfilename{\jobname.toc} + +% Normal (long) toc. +% +\def\contents{% + \startcontents{\putwordTOC}% + \openin 1 \tocreadfilename\space + \ifeof 1 \else + \readtocfile + \fi + \vfill \eject + \contentsalignmacro % in case @setchapternewpage odd is in effect + \ifeof 1 \else + \pdfmakeoutlines + \fi + \closein 1 + \endgroup + \lastnegativepageno = \pageno + \global\pageno = \savepageno +} + +% And just the chapters. +\def\summarycontents{% + \startcontents{\putwordShortTOC}% + % + \let\numchapentry = \shortchapentry + \let\appentry = \shortchapentry + \let\unnchapentry = \shortunnchapentry + % We want a true roman here for the page numbers. + \secfonts + \let\rm=\shortcontrm \let\bf=\shortcontbf + \let\sl=\shortcontsl \let\tt=\shortconttt + \rm + \hyphenpenalty = 10000 + \advance\baselineskip by 1pt % Open it up a little. + \def\numsecentry##1##2##3##4{} + \let\appsecentry = \numsecentry + \let\unnsecentry = \numsecentry + \let\numsubsecentry = \numsecentry + \let\appsubsecentry = \numsecentry + \let\unnsubsecentry = \numsecentry + \let\numsubsubsecentry = \numsecentry + \let\appsubsubsecentry = \numsecentry + \let\unnsubsubsecentry = \numsecentry + \openin 1 \tocreadfilename\space + \ifeof 1 \else + \readtocfile + \fi + \closein 1 + \vfill \eject + \contentsalignmacro % in case @setchapternewpage odd is in effect + \endgroup + \lastnegativepageno = \pageno + \global\pageno = \savepageno +} +\let\shortcontents = \summarycontents + +% Typeset the label for a chapter or appendix for the short contents. +% The arg is, e.g., `A' for an appendix, or `3' for a chapter. +% +\def\shortchaplabel#1{% + % This space should be enough, since a single number is .5em, and the + % widest letter (M) is 1em, at least in the Computer Modern fonts. + % But use \hss just in case. + % (This space doesn't include the extra space that gets added after + % the label; that gets put in by \shortchapentry above.) + % + % We'd like to right-justify chapter numbers, but that looks strange + % with appendix letters. And right-justifying numbers and + % left-justifying letters looks strange when there is less than 10 + % chapters. Have to read the whole toc once to know how many chapters + % there are before deciding ... + \hbox to 1em{#1\hss}% +} + +% These macros generate individual entries in the table of contents. +% The first argument is the chapter or section name. +% The last argument is the page number. +% The arguments in between are the chapter number, section number, ... + +% Chapters, in the main contents. +\def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}} +% +% Chapters, in the short toc. +% See comments in \dochapentry re vbox and related settings. +\def\shortchapentry#1#2#3#4{% + \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#4\egroup}% +} + +% Appendices, in the main contents. +% Need the word Appendix, and a fixed-size box. +% +\def\appendixbox#1{% + % We use M since it's probably the widest letter. + \setbox0 = \hbox{\putwordAppendix{} M}% + \hbox to \wd0{\putwordAppendix{} #1\hss}} +% +\def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\labelspace#1}{#4}} + +% Unnumbered chapters. +\def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}} +\def\shortunnchapentry#1#2#3#4{\tocentry{#1}{\doshortpageno\bgroup#4\egroup}} + +% Sections. +\def\numsecentry#1#2#3#4{\dosecentry{#2\labelspace#1}{#4}} +\let\appsecentry=\numsecentry +\def\unnsecentry#1#2#3#4{\dosecentry{#1}{#4}} + +% Subsections. +\def\numsubsecentry#1#2#3#4{\dosubsecentry{#2\labelspace#1}{#4}} +\let\appsubsecentry=\numsubsecentry +\def\unnsubsecentry#1#2#3#4{\dosubsecentry{#1}{#4}} + +% And subsubsections. +\def\numsubsubsecentry#1#2#3#4{\dosubsubsecentry{#2\labelspace#1}{#4}} +\let\appsubsubsecentry=\numsubsubsecentry +\def\unnsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{#4}} + +% This parameter controls the indentation of the various levels. +% Same as \defaultparindent. +\newdimen\tocindent \tocindent = 15pt + +% Now for the actual typesetting. In all these, #1 is the text and #2 is the +% page number. +% +% If the toc has to be broken over pages, we want it to be at chapters +% if at all possible; hence the \penalty. +\def\dochapentry#1#2{% + \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip + \begingroup + \chapentryfonts + \tocentry{#1}{\dopageno\bgroup#2\egroup}% + \endgroup + \nobreak\vskip .25\baselineskip plus.1\baselineskip +} + +\def\dosecentry#1#2{\begingroup + \secentryfonts \leftskip=\tocindent + \tocentry{#1}{\dopageno\bgroup#2\egroup}% +\endgroup} + +\def\dosubsecentry#1#2{\begingroup + \subsecentryfonts \leftskip=2\tocindent + \tocentry{#1}{\dopageno\bgroup#2\egroup}% +\endgroup} + +\def\dosubsubsecentry#1#2{\begingroup + \subsubsecentryfonts \leftskip=3\tocindent + \tocentry{#1}{\dopageno\bgroup#2\egroup}% +\endgroup} + +% We use the same \entry macro as for the index entries. +\let\tocentry = \entry + +% Space between chapter (or whatever) number and the title. +\def\labelspace{\hskip1em \relax} + +\def\dopageno#1{{\rm #1}} +\def\doshortpageno#1{{\rm #1}} + +\def\chapentryfonts{\secfonts \rm} +\def\secentryfonts{\textfonts} +\def\subsecentryfonts{\textfonts} +\def\subsubsecentryfonts{\textfonts} + + +\message{environments,} +% @foo ... @end foo. + +% @tex ... @end tex escapes into raw Tex temporarily. +% One exception: @ is still an escape character, so that @end tex works. +% But \@ or @@ will get a plain tex @ character. + +\envdef\tex{% + \setupmarkupstyle{tex}% + \catcode `\\=0 \catcode `\{=1 \catcode `\}=2 + \catcode `\$=3 \catcode `\&=4 \catcode `\#=6 + \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie + \catcode `\%=14 + \catcode `\+=\other + \catcode `\"=\other + \catcode `\|=\other + \catcode `\<=\other + \catcode `\>=\other + \catcode`\`=\other + \catcode`\'=\other + \escapechar=`\\ + % + \let\b=\ptexb + \let\bullet=\ptexbullet + \let\c=\ptexc + \let\,=\ptexcomma + \let\.=\ptexdot + \let\dots=\ptexdots + \let\equiv=\ptexequiv + \let\!=\ptexexclam + \let\i=\ptexi + \let\indent=\ptexindent + \let\noindent=\ptexnoindent + \let\{=\ptexlbrace + \let\+=\tabalign + \let\}=\ptexrbrace + \let\/=\ptexslash + \let\*=\ptexstar + \let\t=\ptext + \expandafter \let\csname top\endcsname=\ptextop % outer + \let\frenchspacing=\plainfrenchspacing + % + \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}% + \def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}% + \def\@{@}% +} +% There is no need to define \Etex. + +% Define @lisp ... @end lisp. +% @lisp environment forms a group so it can rebind things, +% including the definition of @end lisp (which normally is erroneous). + +% Amount to narrow the margins by for @lisp. +\newskip\lispnarrowing \lispnarrowing=0.4in + +% This is the definition that ^^M gets inside @lisp, @example, and other +% such environments. \null is better than a space, since it doesn't +% have any width. +\def\lisppar{\null\endgraf} + +% This space is always present above and below environments. +\newskip\envskipamount \envskipamount = 0pt + +% Make spacing and below environment symmetrical. We use \parskip here +% to help in doing that, since in @example-like environments \parskip +% is reset to zero; thus the \afterenvbreak inserts no space -- but the +% start of the next paragraph will insert \parskip. +% +\def\aboveenvbreak{{% + % =10000 instead of <10000 because of a special case in \itemzzz and + % \sectionheading, q.v. + \ifnum \lastpenalty=10000 \else + \advance\envskipamount by \parskip + \endgraf + \ifdim\lastskip<\envskipamount + \removelastskip + % it's not a good place to break if the last penalty was \nobreak + % or better ... + \ifnum\lastpenalty<10000 \penalty-50 \fi + \vskip\envskipamount + \fi + \fi +}} + +\let\afterenvbreak = \aboveenvbreak + +% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will +% also clear it, so that its embedded environments do the narrowing again. +\let\nonarrowing=\relax + +% @cartouche ... @end cartouche: draw rectangle w/rounded corners around +% environment contents. +\font\circle=lcircle10 +\newdimen\circthick +\newdimen\cartouter\newdimen\cartinner +\newskip\normbskip\newskip\normpskip\newskip\normlskip +\circthick=\fontdimen8\circle +% +\def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth +\def\ctr{{\hskip 6pt\circle\char'010}} +\def\cbl{{\circle\char'012\hskip -6pt}} +\def\cbr{{\hskip 6pt\circle\char'011}} +\def\carttop{\hbox to \cartouter{\hskip\lskip + \ctl\leaders\hrule height\circthick\hfil\ctr + \hskip\rskip}} +\def\cartbot{\hbox to \cartouter{\hskip\lskip + \cbl\leaders\hrule height\circthick\hfil\cbr + \hskip\rskip}} +% +\newskip\lskip\newskip\rskip + +\envdef\cartouche{% + \ifhmode\par\fi % can't be in the midst of a paragraph. + \startsavinginserts + \lskip=\leftskip \rskip=\rightskip + \leftskip=0pt\rightskip=0pt % we want these *outside*. + \cartinner=\hsize \advance\cartinner by-\lskip + \advance\cartinner by-\rskip + \cartouter=\hsize + \advance\cartouter by 18.4pt % allow for 3pt kerns on either + % side, and for 6pt waste from + % each corner char, and rule thickness + \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip + % Flag to tell @lisp, etc., not to narrow margin. + \let\nonarrowing = t% + \vbox\bgroup + \baselineskip=0pt\parskip=0pt\lineskip=0pt + \carttop + \hbox\bgroup + \hskip\lskip + \vrule\kern3pt + \vbox\bgroup + \kern3pt + \hsize=\cartinner + \baselineskip=\normbskip + \lineskip=\normlskip + \parskip=\normpskip + \vskip -\parskip + \comment % For explanation, see the end of \def\group. +} +\def\Ecartouche{% + \ifhmode\par\fi + \kern3pt + \egroup + \kern3pt\vrule + \hskip\rskip + \egroup + \cartbot + \egroup + \checkinserts +} + + +% This macro is called at the beginning of all the @example variants, +% inside a group. +\newdimen\nonfillparindent +\def\nonfillstart{% + \aboveenvbreak + \hfuzz = 12pt % Don't be fussy + \sepspaces % Make spaces be word-separators rather than space tokens. + \let\par = \lisppar % don't ignore blank lines + \obeylines % each line of input is a line of output + \parskip = 0pt + % Turn off paragraph indentation but redefine \indent to emulate + % the normal \indent. + \nonfillparindent=\parindent + \parindent = 0pt + \let\indent\nonfillindent + % + \emergencystretch = 0pt % don't try to avoid overfull boxes + \ifx\nonarrowing\relax + \advance \leftskip by \lispnarrowing + \exdentamount=\lispnarrowing + \else + \let\nonarrowing = \relax + \fi + \let\exdent=\nofillexdent +} + +\begingroup +\obeyspaces +% We want to swallow spaces (but not other tokens) after the fake +% @indent in our nonfill-environments, where spaces are normally +% active and set to @tie, resulting in them not being ignored after +% @indent. +\gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}% +\gdef\nonfillindentcheck{% +\ifx\temp % +\expandafter\nonfillindentgobble% +\else% +\leavevmode\nonfillindentbox% +\fi% +}% +\endgroup +\def\nonfillindentgobble#1{\nonfillindent} +\def\nonfillindentbox{\hbox to \nonfillparindent{\hss}} + +% If you want all examples etc. small: @set dispenvsize small. +% If you want even small examples the full size: @set dispenvsize nosmall. +% This affects the following displayed environments: +% @example, @display, @format, @lisp +% +\def\smallword{small} +\def\nosmallword{nosmall} +\let\SETdispenvsize\relax +\def\setnormaldispenv{% + \ifx\SETdispenvsize\smallword + % end paragraph for sake of leading, in case document has no blank + % line. This is redundant with what happens in \aboveenvbreak, but + % we need to do it before changing the fonts, and it's inconvenient + % to change the fonts afterward. + \ifnum \lastpenalty=10000 \else \endgraf \fi + \smallexamplefonts \rm + \fi +} +\def\setsmalldispenv{% + \ifx\SETdispenvsize\nosmallword + \else + \ifnum \lastpenalty=10000 \else \endgraf \fi + \smallexamplefonts \rm + \fi +} + +% We often define two environments, @foo and @smallfoo. +% Let's do it by one command: +\def\makedispenv #1#2{ + \expandafter\envdef\csname#1\endcsname {\setnormaldispenv #2} + \expandafter\envdef\csname small#1\endcsname {\setsmalldispenv #2} + \expandafter\let\csname E#1\endcsname \afterenvbreak + \expandafter\let\csname Esmall#1\endcsname \afterenvbreak +} + +% Define two synonyms: +\def\maketwodispenvs #1#2#3{ + \makedispenv{#1}{#3} + \makedispenv{#2}{#3} +} + +% @lisp: indented, narrowed, typewriter font; @example: same as @lisp. +% +% @smallexample and @smalllisp: use smaller fonts. +% Originally contributed by Pavel@xerox. +% +\maketwodispenvs {lisp}{example}{% + \nonfillstart + \tt\setupmarkupstyle{example}% + \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special. + \gobble % eat return +} +% @display/@smalldisplay: same as @lisp except keep current font. +% +\makedispenv {display}{% + \nonfillstart + \gobble +} + +% @format/@smallformat: same as @display except don't narrow margins. +% +\makedispenv{format}{% + \let\nonarrowing = t% + \nonfillstart + \gobble +} + +% @flushleft: same as @format, but doesn't obey \SETdispenvsize. +\envdef\flushleft{% + \let\nonarrowing = t% + \nonfillstart + \gobble +} +\let\Eflushleft = \afterenvbreak + +% @flushright. +% +\envdef\flushright{% + \let\nonarrowing = t% + \nonfillstart + \advance\leftskip by 0pt plus 1fill + \gobble +} +\let\Eflushright = \afterenvbreak + + +% @raggedright does more-or-less normal line breaking but no right +% justification. From plain.tex. +\envdef\raggedright{% + \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax +} +\let\Eraggedright\par + +\envdef\raggedleft{% + \parindent=0pt \leftskip0pt plus2em + \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt + \hbadness=10000 % Last line will usually be underfull, so turn off + % badness reporting. +} +\let\Eraggedleft\par + +\envdef\raggedcenter{% + \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em + \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt + \hbadness=10000 % Last line will usually be underfull, so turn off + % badness reporting. +} +\let\Eraggedcenter\par + + +% @quotation does normal linebreaking (hence we can't use \nonfillstart) +% and narrows the margins. We keep \parskip nonzero in general, since +% we're doing normal filling. So, when using \aboveenvbreak and +% \afterenvbreak, temporarily make \parskip 0. +% +\def\quotationstart{% + {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip + \parindent=0pt + % + % @cartouche defines \nonarrowing to inhibit narrowing at next level down. + \ifx\nonarrowing\relax + \advance\leftskip by \lispnarrowing + \advance\rightskip by \lispnarrowing + \exdentamount = \lispnarrowing + \else + \let\nonarrowing = \relax + \fi + \parsearg\quotationlabel +} + +\envdef\quotation{% + \setnormaldispenv + \quotationstart +} + +\envdef\smallquotation{% + \setsmalldispenv + \quotationstart +} +\let\Esmallquotation = \Equotation + +% We have retained a nonzero parskip for the environment, since we're +% doing normal filling. +% +\def\Equotation{% + \par + \ifx\quotationauthor\undefined\else + % indent a bit. + \leftline{\kern 2\leftskip \sl ---\quotationauthor}% + \fi + {\parskip=0pt \afterenvbreak}% +} + +% If we're given an argument, typeset it in bold with a colon after. +\def\quotationlabel#1{% + \def\temp{#1}% + \ifx\temp\empty \else + {\bf #1: }% + \fi +} + + +% LaTeX-like @verbatim...@end verbatim and @verb{...} +% If we want to allow any as delimiter, +% we need the curly braces so that makeinfo sees the @verb command, eg: +% `@verbx...x' would look like the '@verbx' command. --janneke@gnu.org +% +% [Knuth]: Donald Ervin Knuth, 1996. The TeXbook. +% +% [Knuth] p.344; only we need to do the other characters Texinfo sets +% active too. Otherwise, they get lost as the first character on a +% verbatim line. +\def\dospecials{% + \do\ \do\\\do\{\do\}\do\$\do\&% + \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~% + \do\<\do\>\do\|\do\@\do+\do\"% + % Don't do the quotes -- if we do, @set txicodequoteundirected and + % @set txicodequotebacktick will not have effect on @verb and + % @verbatim, and ?` and !` ligatures won't get disabled. + %\do\`\do\'% +} +% +% [Knuth] p. 380 +\def\uncatcodespecials{% + \def\do##1{\catcode`##1=\other}\dospecials} +% +% Setup for the @verb command. +% +% Eight spaces for a tab +\begingroup + \catcode`\^^I=\active + \gdef\tabeightspaces{\catcode`\^^I=\active\def^^I{\ \ \ \ \ \ \ \ }} +\endgroup +% +\def\setupverb{% + \tt % easiest (and conventionally used) font for verbatim + \def\par{\leavevmode\endgraf}% + \setupmarkupstyle{verb}% + \tabeightspaces + % Respect line breaks, + % print special symbols as themselves, and + % make each space count + % must do in this order: + \obeylines \uncatcodespecials \sepspaces +} + +% Setup for the @verbatim environment +% +% Real tab expansion +\newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount +% +\def\starttabbox{\setbox0=\hbox\bgroup} +% +\begingroup + \catcode`\^^I=\active + \gdef\tabexpand{% + \catcode`\^^I=\active + \def^^I{\leavevmode\egroup + \dimen0=\wd0 % the width so far, or since the previous tab + \divide\dimen0 by\tabw + \multiply\dimen0 by\tabw % compute previous multiple of \tabw + \advance\dimen0 by\tabw % advance to next multiple of \tabw + \wd0=\dimen0 \box0 \starttabbox + }% + } +\endgroup + +% start the verbatim environment. +\def\setupverbatim{% + \let\nonarrowing = t% + \nonfillstart + % Easiest (and conventionally used) font for verbatim + \tt + \def\par{\leavevmode\egroup\box0\endgraf}% + \tabexpand + \setupmarkupstyle{verbatim}% + % Respect line breaks, + % print special symbols as themselves, and + % make each space count + % must do in this order: + \obeylines \uncatcodespecials \sepspaces + \everypar{\starttabbox}% +} + +% Do the @verb magic: verbatim text is quoted by unique +% delimiter characters. Before first delimiter expect a +% right brace, after last delimiter expect closing brace: +% +% \def\doverb'{'#1'}'{#1} +% +% [Knuth] p. 382; only eat outer {} +\begingroup + \catcode`[=1\catcode`]=2\catcode`\{=\other\catcode`\}=\other + \gdef\doverb{#1[\def\next##1#1}[##1\endgroup]\next] +\endgroup +% +\def\verb{\begingroup\setupverb\doverb} +% +% +% Do the @verbatim magic: define the macro \doverbatim so that +% the (first) argument ends when '@end verbatim' is reached, ie: +% +% \def\doverbatim#1@end verbatim{#1} +% +% For Texinfo it's a lot easier than for LaTeX, +% because texinfo's \verbatim doesn't stop at '\end{verbatim}': +% we need not redefine '\', '{' and '}'. +% +% Inspired by LaTeX's verbatim command set [latex.ltx] +% +\begingroup + \catcode`\ =\active + \obeylines % + % ignore everything up to the first ^^M, that's the newline at the end + % of the @verbatim input line itself. Otherwise we get an extra blank + % line in the output. + \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}% + % We really want {...\end verbatim} in the body of the macro, but + % without the active space; thus we have to use \xdef and \gobble. +\endgroup +% +\envdef\verbatim{% + \setupverbatim\doverbatim +} +\let\Everbatim = \afterenvbreak + + +% @verbatiminclude FILE - insert text of file in verbatim environment. +% +\def\verbatiminclude{\parseargusing\filenamecatcodes\doverbatiminclude} +% +\def\doverbatiminclude#1{% + {% + \makevalueexpandable + \setupverbatim + \indexnofonts % Allow `@@' and other weird things in file names. + \input #1 + \afterenvbreak + }% +} + +% @copying ... @end copying. +% Save the text away for @insertcopying later. +% +% We save the uninterpreted tokens, rather than creating a box. +% Saving the text in a box would be much easier, but then all the +% typesetting commands (@smallbook, font changes, etc.) have to be done +% beforehand -- and a) we want @copying to be done first in the source +% file; b) letting users define the frontmatter in as flexible order as +% possible is very desirable. +% +\def\copying{\checkenv{}\begingroup\scanargctxt\docopying} +\def\docopying#1@end copying{\endgroup\def\copyingtext{#1}} +% +\def\insertcopying{% + \begingroup + \parindent = 0pt % paragraph indentation looks wrong on title page + \scanexp\copyingtext + \endgroup +} + + +\message{defuns,} +% @defun etc. + +\newskip\defbodyindent \defbodyindent=.4in +\newskip\defargsindent \defargsindent=50pt +\newskip\deflastargmargin \deflastargmargin=18pt +\newcount\defunpenalty + +% Start the processing of @deffn: +\def\startdefun{% + \ifnum\lastpenalty<10000 + \medbreak + \defunpenalty=10003 % Will keep this @deffn together with the + % following @def command, see below. + \else + % If there are two @def commands in a row, we'll have a \nobreak, + % which is there to keep the function description together with its + % header. But if there's nothing but headers, we need to allow a + % break somewhere. Check specifically for penalty 10002, inserted + % by \printdefunline, instead of 10000, since the sectioning + % commands also insert a nobreak penalty, and we don't want to allow + % a break between a section heading and a defun. + % + % As a minor refinement, we avoid "club" headers by signalling + % with penalty of 10003 after the very first @deffn in the + % sequence (see above), and penalty of 10002 after any following + % @def command. + \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi + % + % Similarly, after a section heading, do not allow a break. + % But do insert the glue. + \medskip % preceded by discardable penalty, so not a breakpoint + \fi + % + \parindent=0in + \advance\leftskip by \defbodyindent + \exdentamount=\defbodyindent +} + +\def\dodefunx#1{% + % First, check whether we are in the right environment: + \checkenv#1% + % + % As above, allow line break if we have multiple x headers in a row. + % It's not a great place, though. + \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi + % + % And now, it's time to reuse the body of the original defun: + \expandafter\gobbledefun#1% +} +\def\gobbledefun#1\startdefun{} + +% \printdefunline \deffnheader{text} +% +\def\printdefunline#1#2{% + \begingroup + % call \deffnheader: + #1#2 \endheader + % common ending: + \interlinepenalty = 10000 + \advance\rightskip by 0pt plus 1fil + \endgraf + \nobreak\vskip -\parskip + \penalty\defunpenalty % signal to \startdefun and \dodefunx + % Some of the @defun-type tags do not enable magic parentheses, + % rendering the following check redundant. But we don't optimize. + \checkparencounts + \endgroup +} + +\def\Edefun{\endgraf\medbreak} + +% \makedefun{deffn} creates \deffn, \deffnx and \Edeffn; +% the only thing remaining is to define \deffnheader. +% +\def\makedefun#1{% + \expandafter\let\csname E#1\endcsname = \Edefun + \edef\temp{\noexpand\domakedefun + \makecsname{#1}\makecsname{#1x}\makecsname{#1header}}% + \temp +} + +% \domakedefun \deffn \deffnx \deffnheader +% +% Define \deffn and \deffnx, without parameters. +% \deffnheader has to be defined explicitly. +% +\def\domakedefun#1#2#3{% + \envdef#1{% + \startdefun + \parseargusing\activeparens{\printdefunline#3}% + }% + \def#2{\dodefunx#1}% + \def#3% +} + +%%% Untyped functions: + +% @deffn category name args +\makedefun{deffn}{\deffngeneral{}} + +% @deffn category class name args +\makedefun{defop}#1 {\defopon{#1\ \putwordon}} + +% \defopon {category on}class name args +\def\defopon#1#2 {\deffngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} } + +% \deffngeneral {subind}category name args +% +\def\deffngeneral#1#2 #3 #4\endheader{% + % Remember that \dosubind{fn}{foo}{} is equivalent to \doind{fn}{foo}. + \dosubind{fn}{\code{#3}}{#1}% + \defname{#2}{}{#3}\magicamp\defunargs{#4\unskip}% +} + +%%% Typed functions: + +% @deftypefn category type name args +\makedefun{deftypefn}{\deftypefngeneral{}} + +% @deftypeop category class type name args +\makedefun{deftypeop}#1 {\deftypeopon{#1\ \putwordon}} + +% \deftypeopon {category on}class type name args +\def\deftypeopon#1#2 {\deftypefngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} } + +% \deftypefngeneral {subind}category type name args +% +\def\deftypefngeneral#1#2 #3 #4 #5\endheader{% + \dosubind{fn}{\code{#4}}{#1}% + \defname{#2}{#3}{#4}\defunargs{#5\unskip}% +} + +%%% Typed variables: + +% @deftypevr category type var args +\makedefun{deftypevr}{\deftypecvgeneral{}} + +% @deftypecv category class type var args +\makedefun{deftypecv}#1 {\deftypecvof{#1\ \putwordof}} + +% \deftypecvof {category of}class type var args +\def\deftypecvof#1#2 {\deftypecvgeneral{\putwordof\ \code{#2}}{#1\ \code{#2}} } + +% \deftypecvgeneral {subind}category type var args +% +\def\deftypecvgeneral#1#2 #3 #4 #5\endheader{% + \dosubind{vr}{\code{#4}}{#1}% + \defname{#2}{#3}{#4}\defunargs{#5\unskip}% +} + +%%% Untyped variables: + +% @defvr category var args +\makedefun{defvr}#1 {\deftypevrheader{#1} {} } + +% @defcv category class var args +\makedefun{defcv}#1 {\defcvof{#1\ \putwordof}} + +% \defcvof {category of}class var args +\def\defcvof#1#2 {\deftypecvof{#1}#2 {} } + +%%% Type: +% @deftp category name args +\makedefun{deftp}#1 #2 #3\endheader{% + \doind{tp}{\code{#2}}% + \defname{#1}{}{#2}\defunargs{#3\unskip}% +} + +% Remaining @defun-like shortcuts: +\makedefun{defun}{\deffnheader{\putwordDeffunc} } +\makedefun{defmac}{\deffnheader{\putwordDefmac} } +\makedefun{defspec}{\deffnheader{\putwordDefspec} } +\makedefun{deftypefun}{\deftypefnheader{\putwordDeffunc} } +\makedefun{defvar}{\defvrheader{\putwordDefvar} } +\makedefun{defopt}{\defvrheader{\putwordDefopt} } +\makedefun{deftypevar}{\deftypevrheader{\putwordDefvar} } +\makedefun{defmethod}{\defopon\putwordMethodon} +\makedefun{deftypemethod}{\deftypeopon\putwordMethodon} +\makedefun{defivar}{\defcvof\putwordInstanceVariableof} +\makedefun{deftypeivar}{\deftypecvof\putwordInstanceVariableof} + +% \defname, which formats the name of the @def (not the args). +% #1 is the category, such as "Function". +% #2 is the return type, if any. +% #3 is the function name. +% +% We are followed by (but not passed) the arguments, if any. +% +\def\defname#1#2#3{% + % Get the values of \leftskip and \rightskip as they were outside the @def... + \advance\leftskip by -\defbodyindent + % + % How we'll format the type name. Putting it in brackets helps + % distinguish it from the body text that may end up on the next line + % just below it. + \def\temp{#1}% + \setbox0=\hbox{\kern\deflastargmargin \ifx\temp\empty\else [\rm\temp]\fi} + % + % Figure out line sizes for the paragraph shape. + % The first line needs space for \box0; but if \rightskip is nonzero, + % we need only space for the part of \box0 which exceeds it: + \dimen0=\hsize \advance\dimen0 by -\wd0 \advance\dimen0 by \rightskip + % The continuations: + \dimen2=\hsize \advance\dimen2 by -\defargsindent + % (plain.tex says that \dimen1 should be used only as global.) + \parshape 2 0in \dimen0 \defargsindent \dimen2 + % + % Put the type name to the right margin. + \noindent + \hbox to 0pt{% + \hfil\box0 \kern-\hsize + % \hsize has to be shortened this way: + \kern\leftskip + % Intentionally do not respect \rightskip, since we need the space. + }% + % + % Allow all lines to be underfull without complaint: + \tolerance=10000 \hbadness=10000 + \exdentamount=\defbodyindent + {% + % defun fonts. We use typewriter by default (used to be bold) because: + % . we're printing identifiers, they should be in tt in principle. + % . in languages with many accents, such as Czech or French, it's + % common to leave accents off identifiers. The result looks ok in + % tt, but exceedingly strange in rm. + % . we don't want -- and --- to be treated as ligatures. + % . this still does not fix the ?` and !` ligatures, but so far no + % one has made identifiers using them :). + \df \tt + \def\temp{#2}% return value type + \ifx\temp\empty\else \tclose{\temp} \fi + #3% output function name + }% + {\rm\enskip}% hskip 0.5 em of \tenrm + % + \boldbrax + % arguments will be output next, if any. +} + +% Print arguments in slanted roman (not ttsl), inconsistently with using +% tt for the name. This is because literal text is sometimes needed in +% the argument list (groff manual), and ttsl and tt are not very +% distinguishable. Prevent hyphenation at `-' chars. +% +\def\defunargs#1{% + % use sl by default (not ttsl), + % tt for the names. + \df \sl \hyphenchar\font=0 + % + % On the other hand, if an argument has two dashes (for instance), we + % want a way to get ttsl. Let's try @var for that. + \def\var##1{{\setupmarkupstyle{var}\ttslanted{##1}}}% + #1% + \sl\hyphenchar\font=45 +} + +% We want ()&[] to print specially on the defun line. +% +\def\activeparens{% + \catcode`\(=\active \catcode`\)=\active + \catcode`\[=\active \catcode`\]=\active + \catcode`\&=\active +} + +% Make control sequences which act like normal parenthesis chars. +\let\lparen = ( \let\rparen = ) + +% Be sure that we always have a definition for `(', etc. For example, +% if the fn name has parens in it, \boldbrax will not be in effect yet, +% so TeX would otherwise complain about undefined control sequence. +{ + \activeparens + \global\let(=\lparen \global\let)=\rparen + \global\let[=\lbrack \global\let]=\rbrack + \global\let& = \& + + \gdef\boldbrax{\let(=\opnr\let)=\clnr\let[=\lbrb\let]=\rbrb} + \gdef\magicamp{\let&=\amprm} +} + +\newcount\parencount + +% If we encounter &foo, then turn on ()-hacking afterwards +\newif\ifampseen +\def\amprm#1 {\ampseentrue{\bf\ }} + +\def\parenfont{% + \ifampseen + % At the first level, print parens in roman, + % otherwise use the default font. + \ifnum \parencount=1 \rm \fi + \else + % The \sf parens (in \boldbrax) actually are a little bolder than + % the contained text. This is especially needed for [ and ] . + \sf + \fi +} +\def\infirstlevel#1{% + \ifampseen + \ifnum\parencount=1 + #1% + \fi + \fi +} +\def\bfafterword#1 {#1 \bf} + +\def\opnr{% + \global\advance\parencount by 1 + {\parenfont(}% + \infirstlevel \bfafterword +} +\def\clnr{% + {\parenfont)}% + \infirstlevel \sl + \global\advance\parencount by -1 +} + +\newcount\brackcount +\def\lbrb{% + \global\advance\brackcount by 1 + {\bf[}% +} +\def\rbrb{% + {\bf]}% + \global\advance\brackcount by -1 +} + +\def\checkparencounts{% + \ifnum\parencount=0 \else \badparencount \fi + \ifnum\brackcount=0 \else \badbrackcount \fi +} +% these should not use \errmessage; the glibc manual, at least, actually +% has such constructs (when documenting function pointers). +\def\badparencount{% + \message{Warning: unbalanced parentheses in @def...}% + \global\parencount=0 +} +\def\badbrackcount{% + \message{Warning: unbalanced square brackets in @def...}% + \global\brackcount=0 +} + + +\message{macros,} +% @macro. + +% To do this right we need a feature of e-TeX, \scantokens, +% which we arrange to emulate with a temporary file in ordinary TeX. +\ifx\eTeXversion\undefined + \newwrite\macscribble + \def\scantokens#1{% + \toks0={#1}% + \immediate\openout\macscribble=\jobname.tmp + \immediate\write\macscribble{\the\toks0}% + \immediate\closeout\macscribble + \input \jobname.tmp + } +\fi + +\def\scanmacro#1{% + \begingroup + \newlinechar`\^^M + \let\xeatspaces\eatspaces + % Undo catcode changes of \startcontents and \doprintindex + % When called from @insertcopying or (short)caption, we need active + % backslash to get it printed correctly. Previously, we had + % \catcode`\\=\other instead. We'll see whether a problem appears + % with macro expansion. --kasal, 19aug04 + \catcode`\@=0 \catcode`\\=\active \escapechar=`\@ + % ... and \example + \spaceisspace + % + % Append \endinput to make sure that TeX does not see the ending newline. + % I've verified that it is necessary both for e-TeX and for ordinary TeX + % --kasal, 29nov03 + \scantokens{#1\endinput}% + \endgroup +} + +\def\scanexp#1{% + \edef\temp{\noexpand\scanmacro{#1}}% + \temp +} + +\newcount\paramno % Count of parameters +\newtoks\macname % Macro name +\newif\ifrecursive % Is it recursive? + +% List of all defined macros in the form +% \definedummyword\macro1\definedummyword\macro2... +% Currently is also contains all @aliases; the list can be split +% if there is a need. +\def\macrolist{} + +% Add the macro to \macrolist +\def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname} +\def\addtomacrolistxxx#1{% + \toks0 = \expandafter{\macrolist\definedummyword#1}% + \xdef\macrolist{\the\toks0}% +} + +% Utility routines. +% This does \let #1 = #2, with \csnames; that is, +% \let \csname#1\endcsname = \csname#2\endcsname +% (except of course we have to play expansion games). +% +\def\cslet#1#2{% + \expandafter\let + \csname#1\expandafter\endcsname + \csname#2\endcsname +} + +% Trim leading and trailing spaces off a string. +% Concepts from aro-bend problem 15 (see CTAN). +{\catcode`\@=11 +\gdef\eatspaces #1{\expandafter\trim@\expandafter{#1 }} +\gdef\trim@ #1{\trim@@ @#1 @ #1 @ @@} +\gdef\trim@@ #1@ #2@ #3@@{\trim@@@\empty #2 @} +\def\unbrace#1{#1} +\unbrace{\gdef\trim@@@ #1 } #2@{#1} +} + +% Trim a single trailing ^^M off a string. +{\catcode`\^^M=\other \catcode`\Q=3% +\gdef\eatcr #1{\eatcra #1Q^^MQ}% +\gdef\eatcra#1^^MQ{\eatcrb#1Q}% +\gdef\eatcrb#1Q#2Q{#1}% +} + +% Macro bodies are absorbed as an argument in a context where +% all characters are catcode 10, 11 or 12, except \ which is active +% (as in normal texinfo). It is necessary to change the definition of \. + +% Non-ASCII encodings make 8-bit characters active, so un-activate +% them to avoid their expansion. Must do this non-globally, to +% confine the change to the current group. + +% It's necessary to have hard CRs when the macro is executed. This is +% done by making ^^M (\endlinechar) catcode 12 when reading the macro +% body, and then making it the \newlinechar in \scanmacro. + +\def\scanctxt{% + \catcode`\"=\other + \catcode`\+=\other + \catcode`\<=\other + \catcode`\>=\other + \catcode`\@=\other + \catcode`\^=\other + \catcode`\_=\other + \catcode`\|=\other + \catcode`\~=\other + \ifx\declaredencoding\ascii \else \setnonasciicharscatcodenonglobal\other \fi +} + +\def\scanargctxt{% + \scanctxt + \catcode`\\=\other + \catcode`\^^M=\other +} + +\def\macrobodyctxt{% + \scanctxt + \catcode`\{=\other + \catcode`\}=\other + \catcode`\^^M=\other + \usembodybackslash +} + +\def\macroargctxt{% + \scanctxt + \catcode`\\=\other +} + +% \mbodybackslash is the definition of \ in @macro bodies. +% It maps \foo\ => \csname macarg.foo\endcsname => #N +% where N is the macro parameter number. +% We define \csname macarg.\endcsname to be \realbackslash, so +% \\ in macro replacement text gets you a backslash. + +{\catcode`@=0 @catcode`@\=@active + @gdef@usembodybackslash{@let\=@mbodybackslash} + @gdef@mbodybackslash#1\{@csname macarg.#1@endcsname} +} +\expandafter\def\csname macarg.\endcsname{\realbackslash} + +\def\macro{\recursivefalse\parsearg\macroxxx} +\def\rmacro{\recursivetrue\parsearg\macroxxx} + +\def\macroxxx#1{% + \getargs{#1}% now \macname is the macname and \argl the arglist + \ifx\argl\empty % no arguments + \paramno=0% + \else + \expandafter\parsemargdef \argl;% + \fi + \if1\csname ismacro.\the\macname\endcsname + \message{Warning: redefining \the\macname}% + \else + \expandafter\ifx\csname \the\macname\endcsname \relax + \else \errmessage{Macro name \the\macname\space already defined}\fi + \global\cslet{macsave.\the\macname}{\the\macname}% + \global\expandafter\let\csname ismacro.\the\macname\endcsname=1% + \addtomacrolist{\the\macname}% + \fi + \begingroup \macrobodyctxt + \ifrecursive \expandafter\parsermacbody + \else \expandafter\parsemacbody + \fi} + +\parseargdef\unmacro{% + \if1\csname ismacro.#1\endcsname + \global\cslet{#1}{macsave.#1}% + \global\expandafter\let \csname ismacro.#1\endcsname=0% + % Remove the macro name from \macrolist: + \begingroup + \expandafter\let\csname#1\endcsname \relax + \let\definedummyword\unmacrodo + \xdef\macrolist{\macrolist}% + \endgroup + \else + \errmessage{Macro #1 not defined}% + \fi +} + +% Called by \do from \dounmacro on each macro. The idea is to omit any +% macro definitions that have been changed to \relax. +% +\def\unmacrodo#1{% + \ifx #1\relax + % remove this + \else + \noexpand\definedummyword \noexpand#1% + \fi +} + +% This makes use of the obscure feature that if the last token of a +% is #, then the preceding argument is delimited by +% an opening brace, and that opening brace is not consumed. +\def\getargs#1{\getargsxxx#1{}} +\def\getargsxxx#1#{\getmacname #1 \relax\getmacargs} +\def\getmacname #1 #2\relax{\macname={#1}} +\def\getmacargs#1{\def\argl{#1}} + +% Parse the optional {params} list. Set up \paramno and \paramlist +% so \defmacro knows what to do. Define \macarg.blah for each blah +% in the params list, to be ##N where N is the position in that list. +% That gets used by \mbodybackslash (above). + +% We need to get `macro parameter char #' into several definitions. +% The technique used is stolen from LaTeX: let \hash be something +% unexpandable, insert that wherever you need a #, and then redefine +% it to # just before using the token list produced. +% +% The same technique is used to protect \eatspaces till just before +% the macro is used. + +\def\parsemargdef#1;{\paramno=0\def\paramlist{}% + \let\hash\relax\let\xeatspaces\relax\parsemargdefxxx#1,;,} +\def\parsemargdefxxx#1,{% + \if#1;\let\next=\relax + \else \let\next=\parsemargdefxxx + \advance\paramno by 1% + \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname + {\xeatspaces{\hash\the\paramno}}% + \edef\paramlist{\paramlist\hash\the\paramno,}% + \fi\next} + +% These two commands read recursive and nonrecursive macro bodies. +% (They're different since rec and nonrec macros end differently.) + +\long\def\parsemacbody#1@end macro% +{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% +\long\def\parsermacbody#1@end rmacro% +{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% + +% This defines the macro itself. There are six cases: recursive and +% nonrecursive macros of zero, one, and many arguments. +% Much magic with \expandafter here. +% \xdef is used so that macro definitions will survive the file +% they're defined in; @include reads the file inside a group. +\def\defmacro{% + \let\hash=##% convert placeholders to macro parameter chars + \ifrecursive + \ifcase\paramno + % 0 + \expandafter\xdef\csname\the\macname\endcsname{% + \noexpand\scanmacro{\temp}}% + \or % 1 + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \noexpand\braceorline + \expandafter\noexpand\csname\the\macname xxx\endcsname}% + \expandafter\xdef\csname\the\macname xxx\endcsname##1{% + \egroup\noexpand\scanmacro{\temp}}% + \else % many + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \noexpand\csname\the\macname xx\endcsname}% + \expandafter\xdef\csname\the\macname xx\endcsname##1{% + \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% + \expandafter\expandafter + \expandafter\xdef + \expandafter\expandafter + \csname\the\macname xxx\endcsname + \paramlist{\egroup\noexpand\scanmacro{\temp}}% + \fi + \else + \ifcase\paramno + % 0 + \expandafter\xdef\csname\the\macname\endcsname{% + \noexpand\norecurse{\the\macname}% + \noexpand\scanmacro{\temp}\egroup}% + \or % 1 + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \noexpand\braceorline + \expandafter\noexpand\csname\the\macname xxx\endcsname}% + \expandafter\xdef\csname\the\macname xxx\endcsname##1{% + \egroup + \noexpand\norecurse{\the\macname}% + \noexpand\scanmacro{\temp}\egroup}% + \else % many + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \expandafter\noexpand\csname\the\macname xx\endcsname}% + \expandafter\xdef\csname\the\macname xx\endcsname##1{% + \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% + \expandafter\expandafter + \expandafter\xdef + \expandafter\expandafter + \csname\the\macname xxx\endcsname + \paramlist{% + \egroup + \noexpand\norecurse{\the\macname}% + \noexpand\scanmacro{\temp}\egroup}% + \fi + \fi} + +\def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} + +% \braceorline decides whether the next nonwhitespace character is a +% {. If so it reads up to the closing }, if not, it reads the whole +% line. Whatever was read is then fed to the next control sequence +% as an argument (by \parsebrace or \parsearg) +\def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx} +\def\braceorlinexxx{% + \ifx\nchar\bgroup\else + \expandafter\parsearg + \fi \macnamexxx} + + +% @alias. +% We need some trickery to remove the optional spaces around the equal +% sign. Just make them active and then expand them all to nothing. +\def\alias{\parseargusing\obeyspaces\aliasxxx} +\def\aliasxxx #1{\aliasyyy#1\relax} +\def\aliasyyy #1=#2\relax{% + {% + \expandafter\let\obeyedspace=\empty + \addtomacrolist{#1}% + \xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}% + }% + \next +} + + +\message{cross references,} + +\newwrite\auxfile +\newif\ifhavexrefs % True if xref values are known. +\newif\ifwarnedxrefs % True if we warned once that they aren't known. + +% @inforef is relatively simple. +\def\inforef #1{\inforefzzz #1,,,,**} +\def\inforefzzz #1,#2,#3,#4**{\putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}}, + node \samp{\ignorespaces#1{}}} + +% @node's only job in TeX is to define \lastnode, which is used in +% cross-references. The @node line might or might not have commas, and +% might or might not have spaces before the first comma, like: +% @node foo , bar , ... +% We don't want such trailing spaces in the node name. +% +\parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse} +% +% also remove a trailing comma, in case of something like this: +% @node Help-Cross, , , Cross-refs +\def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse} +\def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}} + +\let\nwnode=\node +\let\lastnode=\empty + +% Write a cross-reference definition for the current node. #1 is the +% type (Ynumbered, Yappendix, Ynothing). +% +\def\donoderef#1{% + \ifx\lastnode\empty\else + \setref{\lastnode}{#1}% + \global\let\lastnode=\empty + \fi +} + +% @anchor{NAME} -- define xref target at arbitrary point. +% +\newcount\savesfregister +% +\def\savesf{\relax \ifhmode \savesfregister=\spacefactor \fi} +\def\restoresf{\relax \ifhmode \spacefactor=\savesfregister \fi} +\def\anchor#1{\savesf \setref{#1}{Ynothing}\restoresf \ignorespaces} + +% \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an +% anchor), which consists of three parts: +% 1) NAME-title - the current sectioning name taken from \lastsection, +% or the anchor name. +% 2) NAME-snt - section number and type, passed as the SNT arg, or +% empty for anchors. +% 3) NAME-pg - the page number. +% +% This is called from \donoderef, \anchor, and \dofloat. In the case of +% floats, there is an additional part, which is not written here: +% 4) NAME-lof - the text as it should appear in a @listoffloats. +% +\def\setref#1#2{% + \pdfmkdest{#1}% + \iflinks + {% + \atdummies % preserve commands, but don't expand them + \edef\writexrdef##1##2{% + \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef + ##1}{##2}}% these are parameters of \writexrdef + }% + \toks0 = \expandafter{\lastsection}% + \immediate \writexrdef{title}{\the\toks0 }% + \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc. + \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, during \shipout + }% + \fi +} + +% @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is +% the node name, #2 the name of the Info cross-reference, #3 the printed +% node name, #4 the name of the Info file, #5 the name of the printed +% manual. All but the node name can be omitted. +% +\def\pxref#1{\putwordsee{} \xrefX[#1,,,,,,,]} +\def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]} +\def\ref#1{\xrefX[#1,,,,,,,]} +\def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup + \unsepspaces + \def\printedmanual{\ignorespaces #5}% + \def\printedrefname{\ignorespaces #3}% + \setbox1=\hbox{\printedmanual\unskip}% + \setbox0=\hbox{\printedrefname\unskip}% + \ifdim \wd0 = 0pt + % No printed node name was explicitly given. + \expandafter\ifx\csname SETxref-automatic-section-title\endcsname\relax + % Use the node name inside the square brackets. + \def\printedrefname{\ignorespaces #1}% + \else + % Use the actual chapter/section title appear inside + % the square brackets. Use the real section title if we have it. + \ifdim \wd1 > 0pt + % It is in another manual, so we don't have it. + \def\printedrefname{\ignorespaces #1}% + \else + \ifhavexrefs + % We know the real title if we have the xref values. + \def\printedrefname{\refx{#1-title}{}}% + \else + % Otherwise just copy the Info node name. + \def\printedrefname{\ignorespaces #1}% + \fi% + \fi + \fi + \fi + % + % Make link in pdf output. + \ifpdf + {\indexnofonts + \turnoffactive + % This expands tokens, so do it after making catcode changes, so _ + % etc. don't get their TeX definitions. + \getfilename{#4}% + % + % See comments at \activebackslashdouble. + {\activebackslashdouble \xdef\pdfxrefdest{#1}% + \backslashparens\pdfxrefdest}% + % + \leavevmode + \startlink attr{/Border [0 0 0]}% + \ifnum\filenamelength>0 + goto file{\the\filename.pdf} name{\pdfxrefdest}% + \else + goto name{\pdfmkpgn{\pdfxrefdest}}% + \fi + }% + \setcolor{\linkcolor}% + \fi + % + % Float references are printed completely differently: "Figure 1.2" + % instead of "[somenode], p.3". We distinguish them by the + % LABEL-title being set to a magic string. + {% + % Have to otherify everything special to allow the \csname to + % include an _ in the xref name, etc. + \indexnofonts + \turnoffactive + \expandafter\global\expandafter\let\expandafter\Xthisreftitle + \csname XR#1-title\endcsname + }% + \iffloat\Xthisreftitle + % If the user specified the print name (third arg) to the ref, + % print it instead of our usual "Figure 1.2". + \ifdim\wd0 = 0pt + \refx{#1-snt}{}% + \else + \printedrefname + \fi + % + % if the user also gave the printed manual name (fifth arg), append + % "in MANUALNAME". + \ifdim \wd1 > 0pt + \space \putwordin{} \cite{\printedmanual}% + \fi + \else + % node/anchor (non-float) references. + % + % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not + % insert empty discretionaries after hyphens, which means that it will + % not find a line break at a hyphen in a node names. Since some manuals + % are best written with fairly long node names, containing hyphens, this + % is a loss. Therefore, we give the text of the node name again, so it + % is as if TeX is seeing it for the first time. + \ifdim \wd1 > 0pt + \putwordSection{} ``\printedrefname'' \putwordin{} \cite{\printedmanual}% + \else + % _ (for example) has to be the character _ for the purposes of the + % control sequence corresponding to the node, but it has to expand + % into the usual \leavevmode...\vrule stuff for purposes of + % printing. So we \turnoffactive for the \refx-snt, back on for the + % printing, back off for the \refx-pg. + {\turnoffactive + % Only output a following space if the -snt ref is nonempty; for + % @unnumbered and @anchor, it won't be. + \setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}% + \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi + }% + % output the `[mynode]' via a macro so it can be overridden. + \xrefprintnodename\printedrefname + % + % But we always want a comma and a space: + ,\space + % + % output the `page 3'. + \turnoffactive \putwordpage\tie\refx{#1-pg}{}% + \fi + \fi + \endlink +\endgroup} + +% This macro is called from \xrefX for the `[nodename]' part of xref +% output. It's a separate macro only so it can be changed more easily, +% since square brackets don't work well in some documents. Particularly +% one that Bob is working on :). +% +\def\xrefprintnodename#1{[#1]} + +% Things referred to by \setref. +% +\def\Ynothing{} +\def\Yomitfromtoc{} +\def\Ynumbered{% + \ifnum\secno=0 + \putwordChapter@tie \the\chapno + \else \ifnum\subsecno=0 + \putwordSection@tie \the\chapno.\the\secno + \else \ifnum\subsubsecno=0 + \putwordSection@tie \the\chapno.\the\secno.\the\subsecno + \else + \putwordSection@tie \the\chapno.\the\secno.\the\subsecno.\the\subsubsecno + \fi\fi\fi +} +\def\Yappendix{% + \ifnum\secno=0 + \putwordAppendix@tie @char\the\appendixno{}% + \else \ifnum\subsecno=0 + \putwordSection@tie @char\the\appendixno.\the\secno + \else \ifnum\subsubsecno=0 + \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno + \else + \putwordSection@tie + @char\the\appendixno.\the\secno.\the\subsecno.\the\subsubsecno + \fi\fi\fi +} + +% Define \refx{NAME}{SUFFIX} to reference a cross-reference string named NAME. +% If its value is nonempty, SUFFIX is output afterward. +% +\def\refx#1#2{% + {% + \indexnofonts + \otherbackslash + \expandafter\global\expandafter\let\expandafter\thisrefX + \csname XR#1\endcsname + }% + \ifx\thisrefX\relax + % If not defined, say something at least. + \angleleft un\-de\-fined\angleright + \iflinks + \ifhavexrefs + \message{\linenumber Undefined cross reference `#1'.}% + \else + \ifwarnedxrefs\else + \global\warnedxrefstrue + \message{Cross reference values unknown; you must run TeX again.}% + \fi + \fi + \fi + \else + % It's defined, so just use it. + \thisrefX + \fi + #2% Output the suffix in any case. +} + +% This is the macro invoked by entries in the aux file. Usually it's +% just a \def (we prepend XR to the control sequence name to avoid +% collisions). But if this is a float type, we have more work to do. +% +\def\xrdef#1#2{% + {% The node name might contain 8-bit characters, which in our current + % implementation are changed to commands like @'e. Don't let these + % mess up the control sequence name. + \indexnofonts + \turnoffactive + \xdef\safexrefname{#1}% + }% + % + \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% remember this xref + % + % Was that xref control sequence that we just defined for a float? + \expandafter\iffloat\csname XR\safexrefname\endcsname + % it was a float, and we have the (safe) float type in \iffloattype. + \expandafter\let\expandafter\floatlist + \csname floatlist\iffloattype\endcsname + % + % Is this the first time we've seen this float type? + \expandafter\ifx\floatlist\relax + \toks0 = {\do}% yes, so just \do + \else + % had it before, so preserve previous elements in list. + \toks0 = \expandafter{\floatlist\do}% + \fi + % + % Remember this xref in the control sequence \floatlistFLOATTYPE, + % for later use in \listoffloats. + \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0 + {\safexrefname}}% + \fi +} + +% Read the last existing aux file, if any. No error if none exists. +% +\def\tryauxfile{% + \openin 1 \jobname.aux + \ifeof 1 \else + \readdatafile{aux}% + \global\havexrefstrue + \fi + \closein 1 +} + +\def\setupdatafile{% + \catcode`\^^@=\other + \catcode`\^^A=\other + \catcode`\^^B=\other + \catcode`\^^C=\other + \catcode`\^^D=\other + \catcode`\^^E=\other + \catcode`\^^F=\other + \catcode`\^^G=\other + \catcode`\^^H=\other + \catcode`\^^K=\other + \catcode`\^^L=\other + \catcode`\^^N=\other + \catcode`\^^P=\other + \catcode`\^^Q=\other + \catcode`\^^R=\other + \catcode`\^^S=\other + \catcode`\^^T=\other + \catcode`\^^U=\other + \catcode`\^^V=\other + \catcode`\^^W=\other + \catcode`\^^X=\other + \catcode`\^^Z=\other + \catcode`\^^[=\other + \catcode`\^^\=\other + \catcode`\^^]=\other + \catcode`\^^^=\other + \catcode`\^^_=\other + % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc. + % in xref tags, i.e., node names. But since ^^e4 notation isn't + % supported in the main text, it doesn't seem desirable. Furthermore, + % that is not enough: for node names that actually contain a ^ + % character, we would end up writing a line like this: 'xrdef {'hat + % b-title}{'hat b} and \xrdef does a \csname...\endcsname on the first + % argument, and \hat is not an expandable control sequence. It could + % all be worked out, but why? Either we support ^^ or we don't. + % + % The other change necessary for this was to define \auxhat: + % \def\auxhat{\def^{'hat }}% extra space so ok if followed by letter + % and then to call \auxhat in \setq. + % + \catcode`\^=\other + % + % Special characters. Should be turned off anyway, but... + \catcode`\~=\other + \catcode`\[=\other + \catcode`\]=\other + \catcode`\"=\other + \catcode`\_=\other + \catcode`\|=\other + \catcode`\<=\other + \catcode`\>=\other + \catcode`\$=\other + \catcode`\#=\other + \catcode`\&=\other + \catcode`\%=\other + \catcode`+=\other % avoid \+ for paranoia even though we've turned it off + % + % This is to support \ in node names and titles, since the \ + % characters end up in a \csname. It's easier than + % leaving it active and making its active definition an actual \ + % character. What I don't understand is why it works in the *value* + % of the xrdef. Seems like it should be a catcode12 \, and that + % should not typeset properly. But it works, so I'm moving on for + % now. --karl, 15jan04. + \catcode`\\=\other + % + % Make the characters 128-255 be printing characters. + {% + \count1=128 + \def\loop{% + \catcode\count1=\other + \advance\count1 by 1 + \ifnum \count1<256 \loop \fi + }% + }% + % + % @ is our escape character in .aux files, and we need braces. + \catcode`\{=1 + \catcode`\}=2 + \catcode`\@=0 +} + +\def\readdatafile#1{% +\begingroup + \setupdatafile + \input\jobname.#1 +\endgroup} + + +\message{insertions,} +% including footnotes. + +\newcount \footnoteno + +% The trailing space in the following definition for supereject is +% vital for proper filling; pages come out unaligned when you do a +% pagealignmacro call if that space before the closing brace is +% removed. (Generally, numeric constants should always be followed by a +% space to prevent strange expansion errors.) +\def\supereject{\par\penalty -20000\footnoteno =0 } + +% @footnotestyle is meaningful for info output only. +\let\footnotestyle=\comment + +{\catcode `\@=11 +% +% Auto-number footnotes. Otherwise like plain. +\gdef\footnote{% + \let\indent=\ptexindent + \let\noindent=\ptexnoindent + \global\advance\footnoteno by \@ne + \edef\thisfootno{$^{\the\footnoteno}$}% + % + % In case the footnote comes at the end of a sentence, preserve the + % extra spacing after we do the footnote number. + \let\@sf\empty + \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\ptexslash\fi + % + % Remove inadvertent blank space before typesetting the footnote number. + \unskip + \thisfootno\@sf + \dofootnote +}% + +% Don't bother with the trickery in plain.tex to not require the +% footnote text as a parameter. Our footnotes don't need to be so general. +% +% Oh yes, they do; otherwise, @ifset (and anything else that uses +% \parseargline) fails inside footnotes because the tokens are fixed when +% the footnote is read. --karl, 16nov96. +% +\gdef\dofootnote{% + \insert\footins\bgroup + % We want to typeset this text as a normal paragraph, even if the + % footnote reference occurs in (for example) a display environment. + % So reset some parameters. + \hsize=\pagewidth + \interlinepenalty\interfootnotelinepenalty + \splittopskip\ht\strutbox % top baseline for broken footnotes + \splitmaxdepth\dp\strutbox + \floatingpenalty\@MM + \leftskip\z@skip + \rightskip\z@skip + \spaceskip\z@skip + \xspaceskip\z@skip + \parindent\defaultparindent + % + \smallfonts \rm + % + % Because we use hanging indentation in footnotes, a @noindent appears + % to exdent this text, so make it be a no-op. makeinfo does not use + % hanging indentation so @noindent can still be needed within footnote + % text after an @example or the like (not that this is good style). + \let\noindent = \relax + % + % Hang the footnote text off the number. Use \everypar in case the + % footnote extends for more than one paragraph. + \everypar = {\hang}% + \textindent{\thisfootno}% + % + % Don't crash into the line above the footnote text. Since this + % expands into a box, it must come within the paragraph, lest it + % provide a place where TeX can split the footnote. + \footstrut + \futurelet\next\fo@t +} +}%end \catcode `\@=11 + +% In case a @footnote appears in a vbox, save the footnote text and create +% the real \insert just after the vbox finished. Otherwise, the insertion +% would be lost. +% Similarly, if a @footnote appears inside an alignment, save the footnote +% text to a box and make the \insert when a row of the table is finished. +% And the same can be done for other insert classes. --kasal, 16nov03. + +% Replace the \insert primitive by a cheating macro. +% Deeper inside, just make sure that the saved insertions are not spilled +% out prematurely. +% +\def\startsavinginserts{% + \ifx \insert\ptexinsert + \let\insert\saveinsert + \else + \let\checkinserts\relax + \fi +} + +% This \insert replacement works for both \insert\footins{foo} and +% \insert\footins\bgroup foo\egroup, but it doesn't work for \insert27{foo}. +% +\def\saveinsert#1{% + \edef\next{\noexpand\savetobox \makeSAVEname#1}% + \afterassignment\next + % swallow the left brace + \let\temp = +} +\def\makeSAVEname#1{\makecsname{SAVE\expandafter\gobble\string#1}} +\def\savetobox#1{\global\setbox#1 = \vbox\bgroup \unvbox#1} + +\def\checksaveins#1{\ifvoid#1\else \placesaveins#1\fi} + +\def\placesaveins#1{% + \ptexinsert \csname\expandafter\gobblesave\string#1\endcsname + {\box#1}% +} + +% eat @SAVE -- beware, all of them have catcode \other: +{ + \def\dospecials{\do S\do A\do V\do E} \uncatcodespecials % ;-) + \gdef\gobblesave @SAVE{} +} + +% initialization: +\def\newsaveins #1{% + \edef\next{\noexpand\newsaveinsX \makeSAVEname#1}% + \next +} +\def\newsaveinsX #1{% + \csname newbox\endcsname #1% + \expandafter\def\expandafter\checkinserts\expandafter{\checkinserts + \checksaveins #1}% +} + +% initialize: +\let\checkinserts\empty +\newsaveins\footins +\newsaveins\margin + + +% @image. We use the macros from epsf.tex to support this. +% If epsf.tex is not installed and @image is used, we complain. +% +% Check for and read epsf.tex up front. If we read it only at @image +% time, we might be inside a group, and then its definitions would get +% undone and the next image would fail. +\openin 1 = epsf.tex +\ifeof 1 \else + % Do not bother showing banner with epsf.tex v2.7k (available in + % doc/epsf.tex and on ctan). + \def\epsfannounce{\toks0 = }% + \input epsf.tex +\fi +\closein 1 +% +% We will only complain once about lack of epsf.tex. +\newif\ifwarnednoepsf +\newhelp\noepsfhelp{epsf.tex must be installed for images to + work. It is also included in the Texinfo distribution, or you can get + it from ftp://tug.org/tex/epsf.tex.} +% +\def\image#1{% + \ifx\epsfbox\undefined + \ifwarnednoepsf \else + \errhelp = \noepsfhelp + \errmessage{epsf.tex not found, images will be ignored}% + \global\warnednoepsftrue + \fi + \else + \imagexxx #1,,,,,\finish + \fi +} +% +% Arguments to @image: +% #1 is (mandatory) image filename; we tack on .eps extension. +% #2 is (optional) width, #3 is (optional) height. +% #4 is (ignored optional) html alt text. +% #5 is (ignored optional) extension. +% #6 is just the usual extra ignored arg for parsing this stuff. +\newif\ifimagevmode +\def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup + \catcode`\^^M = 5 % in case we're inside an example + \normalturnoffactive % allow _ et al. in names + % If the image is by itself, center it. + \ifvmode + \imagevmodetrue + \nobreak\medskip + % Usually we'll have text after the image which will insert + % \parskip glue, so insert it here too to equalize the space + % above and below. + \nobreak\vskip\parskip + \nobreak + \fi + % + % Leave vertical mode so that indentation from an enclosing + % environment such as @quotation is respected. On the other hand, if + % it's at the top level, we don't want the normal paragraph indentation. + \noindent + % + % Output the image. + \ifpdf + \dopdfimage{#1}{#2}{#3}% + \else + % \epsfbox itself resets \epsf?size at each figure. + \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi + \setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi + \epsfbox{#1.eps}% + \fi + % + \ifimagevmode \medskip \fi % space after the standalone image +\endgroup} + + +% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables, +% etc. We don't actually implement floating yet, we always include the +% float "here". But it seemed the best name for the future. +% +\envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish} + +% There may be a space before second and/or third parameter; delete it. +\def\eatcommaspace#1, {#1,} + +% #1 is the optional FLOATTYPE, the text label for this float, typically +% "Figure", "Table", "Example", etc. Can't contain commas. If omitted, +% this float will not be numbered and cannot be referred to. +% +% #2 is the optional xref label. Also must be present for the float to +% be referable. +% +% #3 is the optional positioning argument; for now, it is ignored. It +% will somehow specify the positions allowed to float to (here, top, bottom). +% +% We keep a separate counter for each FLOATTYPE, which we reset at each +% chapter-level command. +\let\resetallfloatnos=\empty +% +\def\dofloat#1,#2,#3,#4\finish{% + \let\thiscaption=\empty + \let\thisshortcaption=\empty + % + % don't lose footnotes inside @float. + % + % BEWARE: when the floats start float, we have to issue warning whenever an + % insert appears inside a float which could possibly float. --kasal, 26may04 + % + \startsavinginserts + % + % We can't be used inside a paragraph. + \par + % + \vtop\bgroup + \def\floattype{#1}% + \def\floatlabel{#2}% + \def\floatloc{#3}% we do nothing with this yet. + % + \ifx\floattype\empty + \let\safefloattype=\empty + \else + {% + % the floattype might have accents or other special characters, + % but we need to use it in a control sequence name. + \indexnofonts + \turnoffactive + \xdef\safefloattype{\floattype}% + }% + \fi + % + % If label is given but no type, we handle that as the empty type. + \ifx\floatlabel\empty \else + % We want each FLOATTYPE to be numbered separately (Figure 1, + % Table 1, Figure 2, ...). (And if no label, no number.) + % + \expandafter\getfloatno\csname\safefloattype floatno\endcsname + \global\advance\floatno by 1 + % + {% + % This magic value for \lastsection is output by \setref as the + % XREFLABEL-title value. \xrefX uses it to distinguish float + % labels (which have a completely different output format) from + % node and anchor labels. And \xrdef uses it to construct the + % lists of floats. + % + \edef\lastsection{\floatmagic=\safefloattype}% + \setref{\floatlabel}{Yfloat}% + }% + \fi + % + % start with \parskip glue, I guess. + \vskip\parskip + % + % Don't suppress indentation if a float happens to start a section. + \restorefirstparagraphindent +} + +% we have these possibilities: +% @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap +% @float Foo,lbl & no caption: Foo 1.1 +% @float Foo & @caption{Cap}: Foo: Cap +% @float Foo & no caption: Foo +% @float ,lbl & Caption{Cap}: 1.1: Cap +% @float ,lbl & no caption: 1.1 +% @float & @caption{Cap}: Cap +% @float & no caption: +% +\def\Efloat{% + \let\floatident = \empty + % + % In all cases, if we have a float type, it comes first. + \ifx\floattype\empty \else \def\floatident{\floattype}\fi + % + % If we have an xref label, the number comes next. + \ifx\floatlabel\empty \else + \ifx\floattype\empty \else % if also had float type, need tie first. + \appendtomacro\floatident{\tie}% + \fi + % the number. + \appendtomacro\floatident{\chaplevelprefix\the\floatno}% + \fi + % + % Start the printed caption with what we've constructed in + % \floatident, but keep it separate; we need \floatident again. + \let\captionline = \floatident + % + \ifx\thiscaption\empty \else + \ifx\floatident\empty \else + \appendtomacro\captionline{: }% had ident, so need a colon between + \fi + % + % caption text. + \appendtomacro\captionline{\scanexp\thiscaption}% + \fi + % + % If we have anything to print, print it, with space before. + % Eventually this needs to become an \insert. + \ifx\captionline\empty \else + \vskip.5\parskip + \captionline + % + % Space below caption. + \vskip\parskip + \fi + % + % If have an xref label, write the list of floats info. Do this + % after the caption, to avoid chance of it being a breakpoint. + \ifx\floatlabel\empty \else + % Write the text that goes in the lof to the aux file as + % \floatlabel-lof. Besides \floatident, we include the short + % caption if specified, else the full caption if specified, else nothing. + {% + \atdummies + % + % since we read the caption text in the macro world, where ^^M + % is turned into a normal character, we have to scan it back, so + % we don't write the literal three characters "^^M" into the aux file. + \scanexp{% + \xdef\noexpand\gtemp{% + \ifx\thisshortcaption\empty + \thiscaption + \else + \thisshortcaption + \fi + }% + }% + \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident + \ifx\gtemp\empty \else : \gtemp \fi}}% + }% + \fi + \egroup % end of \vtop + % + % place the captured inserts + % + % BEWARE: when the floats start floating, we have to issue warning + % whenever an insert appears inside a float which could possibly + % float. --kasal, 26may04 + % + \checkinserts +} + +% Append the tokens #2 to the definition of macro #1, not expanding either. +% +\def\appendtomacro#1#2{% + \expandafter\def\expandafter#1\expandafter{#1#2}% +} + +% @caption, @shortcaption +% +\def\caption{\docaption\thiscaption} +\def\shortcaption{\docaption\thisshortcaption} +\def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption} +\def\defcaption#1#2{\egroup \def#1{#2}} + +% The parameter is the control sequence identifying the counter we are +% going to use. Create it if it doesn't exist and assign it to \floatno. +\def\getfloatno#1{% + \ifx#1\relax + % Haven't seen this figure type before. + \csname newcount\endcsname #1% + % + % Remember to reset this floatno at the next chap. + \expandafter\gdef\expandafter\resetallfloatnos + \expandafter{\resetallfloatnos #1=0 }% + \fi + \let\floatno#1% +} + +% \setref calls this to get the XREFLABEL-snt value. We want an @xref +% to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we +% first read the @float command. +% +\def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}% + +% Magic string used for the XREFLABEL-title value, so \xrefX can +% distinguish floats from other xref types. +\def\floatmagic{!!float!!} + +% #1 is the control sequence we are passed; we expand into a conditional +% which is true if #1 represents a float ref. That is, the magic +% \lastsection value which we \setref above. +% +\def\iffloat#1{\expandafter\doiffloat#1==\finish} +% +% #1 is (maybe) the \floatmagic string. If so, #2 will be the +% (safe) float type for this float. We set \iffloattype to #2. +% +\def\doiffloat#1=#2=#3\finish{% + \def\temp{#1}% + \def\iffloattype{#2}% + \ifx\temp\floatmagic +} + +% @listoffloats FLOATTYPE - print a list of floats like a table of contents. +% +\parseargdef\listoffloats{% + \def\floattype{#1}% floattype + {% + % the floattype might have accents or other special characters, + % but we need to use it in a control sequence name. + \indexnofonts + \turnoffactive + \xdef\safefloattype{\floattype}% + }% + % + % \xrdef saves the floats as a \do-list in \floatlistSAFEFLOATTYPE. + \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax + \ifhavexrefs + % if the user said @listoffloats foo but never @float foo. + \message{\linenumber No `\safefloattype' floats to list.}% + \fi + \else + \begingroup + \leftskip=\tocindent % indent these entries like a toc + \let\do=\listoffloatsdo + \csname floatlist\safefloattype\endcsname + \endgroup + \fi +} + +% This is called on each entry in a list of floats. We're passed the +% xref label, in the form LABEL-title, which is how we save it in the +% aux file. We strip off the -title and look up \XRLABEL-lof, which +% has the text we're supposed to typeset here. +% +% Figures without xref labels will not be included in the list (since +% they won't appear in the aux file). +% +\def\listoffloatsdo#1{\listoffloatsdoentry#1\finish} +\def\listoffloatsdoentry#1-title\finish{{% + % Can't fully expand XR#1-lof because it can contain anything. Just + % pass the control sequence. On the other hand, XR#1-pg is just the + % page number, and we want to fully expand that so we can get a link + % in pdf output. + \toksA = \expandafter{\csname XR#1-lof\endcsname}% + % + % use the same \entry macro we use to generate the TOC and index. + \edef\writeentry{\noexpand\entry{\the\toksA}{\csname XR#1-pg\endcsname}}% + \writeentry +}} + + +\message{localization,} + +% For single-language documents, @documentlanguage is usually given very +% early, just after @documentencoding. Single argument is the language +% (de) or locale (de_DE) abbreviation. +% +{ + \catcode`\_ = \active + \globaldefs=1 +\parseargdef\documentlanguage{\begingroup + \let_=\normalunderscore % normal _ character for filenames + \tex % read txi-??.tex file in plain TeX. + % Read the file by the name they passed if it exists. + \openin 1 txi-#1.tex + \ifeof 1 + \documentlanguagetrywithoutunderscore{#1_\finish}% + \else + \globaldefs = 1 % everything in the txi-LL files needs to persist + \input txi-#1.tex + \fi + \closein 1 + \endgroup % end raw TeX +\endgroup} +% +% If they passed de_DE, and txi-de_DE.tex doesn't exist, +% try txi-de.tex. +% +\gdef\documentlanguagetrywithoutunderscore#1_#2\finish{% + \openin 1 txi-#1.tex + \ifeof 1 + \errhelp = \nolanghelp + \errmessage{Cannot read language file txi-#1.tex}% + \else + \globaldefs = 1 % everything in the txi-LL files needs to persist + \input txi-#1.tex + \fi + \closein 1 +} +}% end of special _ catcode +% +\newhelp\nolanghelp{The given language definition file cannot be found or +is empty. Maybe you need to install it? Putting it in the current +directory should work if nowhere else does.} + +% This macro is called from txi-??.tex files; the first argument is the +% \language name to set (without the "\lang@" prefix), the second and +% third args are \{left,right}hyphenmin. +% +% The language names to pass are determined when the format is built. +% See the etex.log file created at that time, e.g., +% /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log. +% +% With TeX Live 2008, etex now includes hyphenation patterns for all +% available languages. This means we can support hyphenation in +% Texinfo, at least to some extent. (This still doesn't solve the +% accented characters problem.) +% +\catcode`@=11 +\def\txisetlanguage#1#2#3{% + % do not set the language if the name is undefined in the current TeX. + \expandafter\ifx\csname lang@#1\endcsname \relax + \message{no patterns for #1}% + \else + \global\language = \csname lang@#1\endcsname + \fi + % but there is no harm in adjusting the hyphenmin values regardless. + \global\lefthyphenmin = #2\relax + \global\righthyphenmin = #3\relax +} + +% Helpers for encodings. +% Set the catcode of characters 128 through 255 to the specified number. +% +\def\setnonasciicharscatcode#1{% + \count255=128 + \loop\ifnum\count255<256 + \global\catcode\count255=#1\relax + \advance\count255 by 1 + \repeat +} + +\def\setnonasciicharscatcodenonglobal#1{% + \count255=128 + \loop\ifnum\count255<256 + \catcode\count255=#1\relax + \advance\count255 by 1 + \repeat +} + +% @documentencoding sets the definition of non-ASCII characters +% according to the specified encoding. +% +\parseargdef\documentencoding{% + % Encoding being declared for the document. + \def\declaredencoding{\csname #1.enc\endcsname}% + % + % Supported encodings: names converted to tokens in order to be able + % to compare them with \ifx. + \def\ascii{\csname US-ASCII.enc\endcsname}% + \def\latnine{\csname ISO-8859-15.enc\endcsname}% + \def\latone{\csname ISO-8859-1.enc\endcsname}% + \def\lattwo{\csname ISO-8859-2.enc\endcsname}% + \def\utfeight{\csname UTF-8.enc\endcsname}% + % + \ifx \declaredencoding \ascii + \asciichardefs + % + \else \ifx \declaredencoding \lattwo + \setnonasciicharscatcode\active + \lattwochardefs + % + \else \ifx \declaredencoding \latone + \setnonasciicharscatcode\active + \latonechardefs + % + \else \ifx \declaredencoding \latnine + \setnonasciicharscatcode\active + \latninechardefs + % + \else \ifx \declaredencoding \utfeight + \setnonasciicharscatcode\active + \utfeightchardefs + % + \else + \message{Unknown document encoding #1, ignoring.}% + % + \fi % utfeight + \fi % latnine + \fi % latone + \fi % lattwo + \fi % ascii +} + +% A message to be logged when using a character that isn't available +% the default font encoding (OT1). +% +\def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}} + +% Take account of \c (plain) vs. \, (Texinfo) difference. +\def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi} + +% First, make active non-ASCII characters in order for them to be +% correctly categorized when TeX reads the replacement text of +% macros containing the character definitions. +\setnonasciicharscatcode\active +% +% Latin1 (ISO-8859-1) character definitions. +\def\latonechardefs{% + \gdef^^a0{~} + \gdef^^a1{\exclamdown} + \gdef^^a2{\missingcharmsg{CENT SIGN}} + \gdef^^a3{{\pounds}} + \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} + \gdef^^a5{\missingcharmsg{YEN SIGN}} + \gdef^^a6{\missingcharmsg{BROKEN BAR}} + \gdef^^a7{\S} + \gdef^^a8{\"{}} + \gdef^^a9{\copyright} + \gdef^^aa{\ordf} + \gdef^^ab{\guillemetleft} + \gdef^^ac{$\lnot$} + \gdef^^ad{\-} + \gdef^^ae{\registeredsymbol} + \gdef^^af{\={}} + % + \gdef^^b0{\textdegree} + \gdef^^b1{$\pm$} + \gdef^^b2{$^2$} + \gdef^^b3{$^3$} + \gdef^^b4{\'{}} + \gdef^^b5{$\mu$} + \gdef^^b6{\P} + % + \gdef^^b7{$^.$} + \gdef^^b8{\cedilla\ } + \gdef^^b9{$^1$} + \gdef^^ba{\ordm} + % + \gdef^^bb{\guilletright} + \gdef^^bc{$1\over4$} + \gdef^^bd{$1\over2$} + \gdef^^be{$3\over4$} + \gdef^^bf{\questiondown} + % + \gdef^^c0{\`A} + \gdef^^c1{\'A} + \gdef^^c2{\^A} + \gdef^^c3{\~A} + \gdef^^c4{\"A} + \gdef^^c5{\ringaccent A} + \gdef^^c6{\AE} + \gdef^^c7{\cedilla C} + \gdef^^c8{\`E} + \gdef^^c9{\'E} + \gdef^^ca{\^E} + \gdef^^cb{\"E} + \gdef^^cc{\`I} + \gdef^^cd{\'I} + \gdef^^ce{\^I} + \gdef^^cf{\"I} + % + \gdef^^d0{\DH} + \gdef^^d1{\~N} + \gdef^^d2{\`O} + \gdef^^d3{\'O} + \gdef^^d4{\^O} + \gdef^^d5{\~O} + \gdef^^d6{\"O} + \gdef^^d7{$\times$} + \gdef^^d8{\O} + \gdef^^d9{\`U} + \gdef^^da{\'U} + \gdef^^db{\^U} + \gdef^^dc{\"U} + \gdef^^dd{\'Y} + \gdef^^de{\TH} + \gdef^^df{\ss} + % + \gdef^^e0{\`a} + \gdef^^e1{\'a} + \gdef^^e2{\^a} + \gdef^^e3{\~a} + \gdef^^e4{\"a} + \gdef^^e5{\ringaccent a} + \gdef^^e6{\ae} + \gdef^^e7{\cedilla c} + \gdef^^e8{\`e} + \gdef^^e9{\'e} + \gdef^^ea{\^e} + \gdef^^eb{\"e} + \gdef^^ec{\`{\dotless i}} + \gdef^^ed{\'{\dotless i}} + \gdef^^ee{\^{\dotless i}} + \gdef^^ef{\"{\dotless i}} + % + \gdef^^f0{\dh} + \gdef^^f1{\~n} + \gdef^^f2{\`o} + \gdef^^f3{\'o} + \gdef^^f4{\^o} + \gdef^^f5{\~o} + \gdef^^f6{\"o} + \gdef^^f7{$\div$} + \gdef^^f8{\o} + \gdef^^f9{\`u} + \gdef^^fa{\'u} + \gdef^^fb{\^u} + \gdef^^fc{\"u} + \gdef^^fd{\'y} + \gdef^^fe{\th} + \gdef^^ff{\"y} +} + +% Latin9 (ISO-8859-15) encoding character definitions. +\def\latninechardefs{% + % Encoding is almost identical to Latin1. + \latonechardefs + % + \gdef^^a4{\euro} + \gdef^^a6{\v S} + \gdef^^a8{\v s} + \gdef^^b4{\v Z} + \gdef^^b8{\v z} + \gdef^^bc{\OE} + \gdef^^bd{\oe} + \gdef^^be{\"Y} +} + +% Latin2 (ISO-8859-2) character definitions. +\def\lattwochardefs{% + \gdef^^a0{~} + \gdef^^a1{\ogonek{A}} + \gdef^^a2{\u{}} + \gdef^^a3{\L} + \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} + \gdef^^a5{\v L} + \gdef^^a6{\'S} + \gdef^^a7{\S} + \gdef^^a8{\"{}} + \gdef^^a9{\v S} + \gdef^^aa{\cedilla S} + \gdef^^ab{\v T} + \gdef^^ac{\'Z} + \gdef^^ad{\-} + \gdef^^ae{\v Z} + \gdef^^af{\dotaccent Z} + % + \gdef^^b0{\textdegree} + \gdef^^b1{\ogonek{a}} + \gdef^^b2{\ogonek{ }} + \gdef^^b3{\l} + \gdef^^b4{\'{}} + \gdef^^b5{\v l} + \gdef^^b6{\'s} + \gdef^^b7{\v{}} + \gdef^^b8{\cedilla\ } + \gdef^^b9{\v s} + \gdef^^ba{\cedilla s} + \gdef^^bb{\v t} + \gdef^^bc{\'z} + \gdef^^bd{\H{}} + \gdef^^be{\v z} + \gdef^^bf{\dotaccent z} + % + \gdef^^c0{\'R} + \gdef^^c1{\'A} + \gdef^^c2{\^A} + \gdef^^c3{\u A} + \gdef^^c4{\"A} + \gdef^^c5{\'L} + \gdef^^c6{\'C} + \gdef^^c7{\cedilla C} + \gdef^^c8{\v C} + \gdef^^c9{\'E} + \gdef^^ca{\ogonek{E}} + \gdef^^cb{\"E} + \gdef^^cc{\v E} + \gdef^^cd{\'I} + \gdef^^ce{\^I} + \gdef^^cf{\v D} + % + \gdef^^d0{\DH} + \gdef^^d1{\'N} + \gdef^^d2{\v N} + \gdef^^d3{\'O} + \gdef^^d4{\^O} + \gdef^^d5{\H O} + \gdef^^d6{\"O} + \gdef^^d7{$\times$} + \gdef^^d8{\v R} + \gdef^^d9{\ringaccent U} + \gdef^^da{\'U} + \gdef^^db{\H U} + \gdef^^dc{\"U} + \gdef^^dd{\'Y} + \gdef^^de{\cedilla T} + \gdef^^df{\ss} + % + \gdef^^e0{\'r} + \gdef^^e1{\'a} + \gdef^^e2{\^a} + \gdef^^e3{\u a} + \gdef^^e4{\"a} + \gdef^^e5{\'l} + \gdef^^e6{\'c} + \gdef^^e7{\cedilla c} + \gdef^^e8{\v c} + \gdef^^e9{\'e} + \gdef^^ea{\ogonek{e}} + \gdef^^eb{\"e} + \gdef^^ec{\v e} + \gdef^^ed{\'\i} + \gdef^^ee{\^\i} + \gdef^^ef{\v d} + % + \gdef^^f0{\dh} + \gdef^^f1{\'n} + \gdef^^f2{\v n} + \gdef^^f3{\'o} + \gdef^^f4{\^o} + \gdef^^f5{\H o} + \gdef^^f6{\"o} + \gdef^^f7{$\div$} + \gdef^^f8{\v r} + \gdef^^f9{\ringaccent u} + \gdef^^fa{\'u} + \gdef^^fb{\H u} + \gdef^^fc{\"u} + \gdef^^fd{\'y} + \gdef^^fe{\cedilla t} + \gdef^^ff{\dotaccent{}} +} + +% UTF-8 character definitions. +% +% This code to support UTF-8 is based on LaTeX's utf8.def, with some +% changes for Texinfo conventions. It is included here under the GPL by +% permission from Frank Mittelbach and the LaTeX team. +% +\newcount\countUTFx +\newcount\countUTFy +\newcount\countUTFz + +\gdef\UTFviiiTwoOctets#1#2{\expandafter + \UTFviiiDefined\csname u8:#1\string #2\endcsname} +% +\gdef\UTFviiiThreeOctets#1#2#3{\expandafter + \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname} +% +\gdef\UTFviiiFourOctets#1#2#3#4{\expandafter + \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname} + +\gdef\UTFviiiDefined#1{% + \ifx #1\relax + \message{\linenumber Unicode char \string #1 not defined for Texinfo}% + \else + \expandafter #1% + \fi +} + +\begingroup + \catcode`\~13 + \catcode`\"12 + + \def\UTFviiiLoop{% + \global\catcode\countUTFx\active + \uccode`\~\countUTFx + \uppercase\expandafter{\UTFviiiTmp}% + \advance\countUTFx by 1 + \ifnum\countUTFx < \countUTFy + \expandafter\UTFviiiLoop + \fi} + + \countUTFx = "C2 + \countUTFy = "E0 + \def\UTFviiiTmp{% + \xdef~{\noexpand\UTFviiiTwoOctets\string~}} + \UTFviiiLoop + + \countUTFx = "E0 + \countUTFy = "F0 + \def\UTFviiiTmp{% + \xdef~{\noexpand\UTFviiiThreeOctets\string~}} + \UTFviiiLoop + + \countUTFx = "F0 + \countUTFy = "F4 + \def\UTFviiiTmp{% + \xdef~{\noexpand\UTFviiiFourOctets\string~}} + \UTFviiiLoop +\endgroup + +\begingroup + \catcode`\"=12 + \catcode`\<=12 + \catcode`\.=12 + \catcode`\,=12 + \catcode`\;=12 + \catcode`\!=12 + \catcode`\~=13 + + \gdef\DeclareUnicodeCharacter#1#2{% + \countUTFz = "#1\relax + \wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}% + \begingroup + \parseXMLCharref + \def\UTFviiiTwoOctets##1##2{% + \csname u8:##1\string ##2\endcsname}% + \def\UTFviiiThreeOctets##1##2##3{% + \csname u8:##1\string ##2\string ##3\endcsname}% + \def\UTFviiiFourOctets##1##2##3##4{% + \csname u8:##1\string ##2\string ##3\string ##4\endcsname}% + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter + \gdef\UTFviiiTmp{#2}% + \endgroup} + + \gdef\parseXMLCharref{% + \ifnum\countUTFz < "A0\relax + \errhelp = \EMsimple + \errmessage{Cannot define Unicode char value < 00A0}% + \else\ifnum\countUTFz < "800\relax + \parseUTFviiiA,% + \parseUTFviiiB C\UTFviiiTwoOctets.,% + \else\ifnum\countUTFz < "10000\relax + \parseUTFviiiA;% + \parseUTFviiiA,% + \parseUTFviiiB E\UTFviiiThreeOctets.{,;}% + \else + \parseUTFviiiA;% + \parseUTFviiiA,% + \parseUTFviiiA!% + \parseUTFviiiB F\UTFviiiFourOctets.{!,;}% + \fi\fi\fi + } + + \gdef\parseUTFviiiA#1{% + \countUTFx = \countUTFz + \divide\countUTFz by 64 + \countUTFy = \countUTFz + \multiply\countUTFz by 64 + \advance\countUTFx by -\countUTFz + \advance\countUTFx by 128 + \uccode `#1\countUTFx + \countUTFz = \countUTFy} + + \gdef\parseUTFviiiB#1#2#3#4{% + \advance\countUTFz by "#10\relax + \uccode `#3\countUTFz + \uppercase{\gdef\UTFviiiTmp{#2#3#4}}} +\endgroup + +\def\utfeightchardefs{% + \DeclareUnicodeCharacter{00A0}{\tie} + \DeclareUnicodeCharacter{00A1}{\exclamdown} + \DeclareUnicodeCharacter{00A3}{\pounds} + \DeclareUnicodeCharacter{00A8}{\"{ }} + \DeclareUnicodeCharacter{00A9}{\copyright} + \DeclareUnicodeCharacter{00AA}{\ordf} + \DeclareUnicodeCharacter{00AB}{\guillemetleft} + \DeclareUnicodeCharacter{00AD}{\-} + \DeclareUnicodeCharacter{00AE}{\registeredsymbol} + \DeclareUnicodeCharacter{00AF}{\={ }} + + \DeclareUnicodeCharacter{00B0}{\ringaccent{ }} + \DeclareUnicodeCharacter{00B4}{\'{ }} + \DeclareUnicodeCharacter{00B8}{\cedilla{ }} + \DeclareUnicodeCharacter{00BA}{\ordm} + \DeclareUnicodeCharacter{00BB}{\guillemetright} + \DeclareUnicodeCharacter{00BF}{\questiondown} + + \DeclareUnicodeCharacter{00C0}{\`A} + \DeclareUnicodeCharacter{00C1}{\'A} + \DeclareUnicodeCharacter{00C2}{\^A} + \DeclareUnicodeCharacter{00C3}{\~A} + \DeclareUnicodeCharacter{00C4}{\"A} + \DeclareUnicodeCharacter{00C5}{\AA} + \DeclareUnicodeCharacter{00C6}{\AE} + \DeclareUnicodeCharacter{00C7}{\cedilla{C}} + \DeclareUnicodeCharacter{00C8}{\`E} + \DeclareUnicodeCharacter{00C9}{\'E} + \DeclareUnicodeCharacter{00CA}{\^E} + \DeclareUnicodeCharacter{00CB}{\"E} + \DeclareUnicodeCharacter{00CC}{\`I} + \DeclareUnicodeCharacter{00CD}{\'I} + \DeclareUnicodeCharacter{00CE}{\^I} + \DeclareUnicodeCharacter{00CF}{\"I} + + \DeclareUnicodeCharacter{00D0}{\DH} + \DeclareUnicodeCharacter{00D1}{\~N} + \DeclareUnicodeCharacter{00D2}{\`O} + \DeclareUnicodeCharacter{00D3}{\'O} + \DeclareUnicodeCharacter{00D4}{\^O} + \DeclareUnicodeCharacter{00D5}{\~O} + \DeclareUnicodeCharacter{00D6}{\"O} + \DeclareUnicodeCharacter{00D8}{\O} + \DeclareUnicodeCharacter{00D9}{\`U} + \DeclareUnicodeCharacter{00DA}{\'U} + \DeclareUnicodeCharacter{00DB}{\^U} + \DeclareUnicodeCharacter{00DC}{\"U} + \DeclareUnicodeCharacter{00DD}{\'Y} + \DeclareUnicodeCharacter{00DE}{\TH} + \DeclareUnicodeCharacter{00DF}{\ss} + + \DeclareUnicodeCharacter{00E0}{\`a} + \DeclareUnicodeCharacter{00E1}{\'a} + \DeclareUnicodeCharacter{00E2}{\^a} + \DeclareUnicodeCharacter{00E3}{\~a} + \DeclareUnicodeCharacter{00E4}{\"a} + \DeclareUnicodeCharacter{00E5}{\aa} + \DeclareUnicodeCharacter{00E6}{\ae} + \DeclareUnicodeCharacter{00E7}{\cedilla{c}} + \DeclareUnicodeCharacter{00E8}{\`e} + \DeclareUnicodeCharacter{00E9}{\'e} + \DeclareUnicodeCharacter{00EA}{\^e} + \DeclareUnicodeCharacter{00EB}{\"e} + \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}} + \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}} + \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}} + \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}} + + \DeclareUnicodeCharacter{00F0}{\dh} + \DeclareUnicodeCharacter{00F1}{\~n} + \DeclareUnicodeCharacter{00F2}{\`o} + \DeclareUnicodeCharacter{00F3}{\'o} + \DeclareUnicodeCharacter{00F4}{\^o} + \DeclareUnicodeCharacter{00F5}{\~o} + \DeclareUnicodeCharacter{00F6}{\"o} + \DeclareUnicodeCharacter{00F8}{\o} + \DeclareUnicodeCharacter{00F9}{\`u} + \DeclareUnicodeCharacter{00FA}{\'u} + \DeclareUnicodeCharacter{00FB}{\^u} + \DeclareUnicodeCharacter{00FC}{\"u} + \DeclareUnicodeCharacter{00FD}{\'y} + \DeclareUnicodeCharacter{00FE}{\th} + \DeclareUnicodeCharacter{00FF}{\"y} + + \DeclareUnicodeCharacter{0100}{\=A} + \DeclareUnicodeCharacter{0101}{\=a} + \DeclareUnicodeCharacter{0102}{\u{A}} + \DeclareUnicodeCharacter{0103}{\u{a}} + \DeclareUnicodeCharacter{0104}{\ogonek{A}} + \DeclareUnicodeCharacter{0105}{\ogonek{a}} + \DeclareUnicodeCharacter{0106}{\'C} + \DeclareUnicodeCharacter{0107}{\'c} + \DeclareUnicodeCharacter{0108}{\^C} + \DeclareUnicodeCharacter{0109}{\^c} + \DeclareUnicodeCharacter{0118}{\ogonek{E}} + \DeclareUnicodeCharacter{0119}{\ogonek{e}} + \DeclareUnicodeCharacter{010A}{\dotaccent{C}} + \DeclareUnicodeCharacter{010B}{\dotaccent{c}} + \DeclareUnicodeCharacter{010C}{\v{C}} + \DeclareUnicodeCharacter{010D}{\v{c}} + \DeclareUnicodeCharacter{010E}{\v{D}} + + \DeclareUnicodeCharacter{0112}{\=E} + \DeclareUnicodeCharacter{0113}{\=e} + \DeclareUnicodeCharacter{0114}{\u{E}} + \DeclareUnicodeCharacter{0115}{\u{e}} + \DeclareUnicodeCharacter{0116}{\dotaccent{E}} + \DeclareUnicodeCharacter{0117}{\dotaccent{e}} + \DeclareUnicodeCharacter{011A}{\v{E}} + \DeclareUnicodeCharacter{011B}{\v{e}} + \DeclareUnicodeCharacter{011C}{\^G} + \DeclareUnicodeCharacter{011D}{\^g} + \DeclareUnicodeCharacter{011E}{\u{G}} + \DeclareUnicodeCharacter{011F}{\u{g}} + + \DeclareUnicodeCharacter{0120}{\dotaccent{G}} + \DeclareUnicodeCharacter{0121}{\dotaccent{g}} + \DeclareUnicodeCharacter{0124}{\^H} + \DeclareUnicodeCharacter{0125}{\^h} + \DeclareUnicodeCharacter{0128}{\~I} + \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}} + \DeclareUnicodeCharacter{012A}{\=I} + \DeclareUnicodeCharacter{012B}{\={\dotless{i}}} + \DeclareUnicodeCharacter{012C}{\u{I}} + \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}} + + \DeclareUnicodeCharacter{0130}{\dotaccent{I}} + \DeclareUnicodeCharacter{0131}{\dotless{i}} + \DeclareUnicodeCharacter{0132}{IJ} + \DeclareUnicodeCharacter{0133}{ij} + \DeclareUnicodeCharacter{0134}{\^J} + \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}} + \DeclareUnicodeCharacter{0139}{\'L} + \DeclareUnicodeCharacter{013A}{\'l} + + \DeclareUnicodeCharacter{0141}{\L} + \DeclareUnicodeCharacter{0142}{\l} + \DeclareUnicodeCharacter{0143}{\'N} + \DeclareUnicodeCharacter{0144}{\'n} + \DeclareUnicodeCharacter{0147}{\v{N}} + \DeclareUnicodeCharacter{0148}{\v{n}} + \DeclareUnicodeCharacter{014C}{\=O} + \DeclareUnicodeCharacter{014D}{\=o} + \DeclareUnicodeCharacter{014E}{\u{O}} + \DeclareUnicodeCharacter{014F}{\u{o}} + + \DeclareUnicodeCharacter{0150}{\H{O}} + \DeclareUnicodeCharacter{0151}{\H{o}} + \DeclareUnicodeCharacter{0152}{\OE} + \DeclareUnicodeCharacter{0153}{\oe} + \DeclareUnicodeCharacter{0154}{\'R} + \DeclareUnicodeCharacter{0155}{\'r} + \DeclareUnicodeCharacter{0158}{\v{R}} + \DeclareUnicodeCharacter{0159}{\v{r}} + \DeclareUnicodeCharacter{015A}{\'S} + \DeclareUnicodeCharacter{015B}{\'s} + \DeclareUnicodeCharacter{015C}{\^S} + \DeclareUnicodeCharacter{015D}{\^s} + \DeclareUnicodeCharacter{015E}{\cedilla{S}} + \DeclareUnicodeCharacter{015F}{\cedilla{s}} + + \DeclareUnicodeCharacter{0160}{\v{S}} + \DeclareUnicodeCharacter{0161}{\v{s}} + \DeclareUnicodeCharacter{0162}{\cedilla{t}} + \DeclareUnicodeCharacter{0163}{\cedilla{T}} + \DeclareUnicodeCharacter{0164}{\v{T}} + + \DeclareUnicodeCharacter{0168}{\~U} + \DeclareUnicodeCharacter{0169}{\~u} + \DeclareUnicodeCharacter{016A}{\=U} + \DeclareUnicodeCharacter{016B}{\=u} + \DeclareUnicodeCharacter{016C}{\u{U}} + \DeclareUnicodeCharacter{016D}{\u{u}} + \DeclareUnicodeCharacter{016E}{\ringaccent{U}} + \DeclareUnicodeCharacter{016F}{\ringaccent{u}} + + \DeclareUnicodeCharacter{0170}{\H{U}} + \DeclareUnicodeCharacter{0171}{\H{u}} + \DeclareUnicodeCharacter{0174}{\^W} + \DeclareUnicodeCharacter{0175}{\^w} + \DeclareUnicodeCharacter{0176}{\^Y} + \DeclareUnicodeCharacter{0177}{\^y} + \DeclareUnicodeCharacter{0178}{\"Y} + \DeclareUnicodeCharacter{0179}{\'Z} + \DeclareUnicodeCharacter{017A}{\'z} + \DeclareUnicodeCharacter{017B}{\dotaccent{Z}} + \DeclareUnicodeCharacter{017C}{\dotaccent{z}} + \DeclareUnicodeCharacter{017D}{\v{Z}} + \DeclareUnicodeCharacter{017E}{\v{z}} + + \DeclareUnicodeCharacter{01C4}{D\v{Z}} + \DeclareUnicodeCharacter{01C5}{D\v{z}} + \DeclareUnicodeCharacter{01C6}{d\v{z}} + \DeclareUnicodeCharacter{01C7}{LJ} + \DeclareUnicodeCharacter{01C8}{Lj} + \DeclareUnicodeCharacter{01C9}{lj} + \DeclareUnicodeCharacter{01CA}{NJ} + \DeclareUnicodeCharacter{01CB}{Nj} + \DeclareUnicodeCharacter{01CC}{nj} + \DeclareUnicodeCharacter{01CD}{\v{A}} + \DeclareUnicodeCharacter{01CE}{\v{a}} + \DeclareUnicodeCharacter{01CF}{\v{I}} + + \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}} + \DeclareUnicodeCharacter{01D1}{\v{O}} + \DeclareUnicodeCharacter{01D2}{\v{o}} + \DeclareUnicodeCharacter{01D3}{\v{U}} + \DeclareUnicodeCharacter{01D4}{\v{u}} + + \DeclareUnicodeCharacter{01E2}{\={\AE}} + \DeclareUnicodeCharacter{01E3}{\={\ae}} + \DeclareUnicodeCharacter{01E6}{\v{G}} + \DeclareUnicodeCharacter{01E7}{\v{g}} + \DeclareUnicodeCharacter{01E8}{\v{K}} + \DeclareUnicodeCharacter{01E9}{\v{k}} + + \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}} + \DeclareUnicodeCharacter{01F1}{DZ} + \DeclareUnicodeCharacter{01F2}{Dz} + \DeclareUnicodeCharacter{01F3}{dz} + \DeclareUnicodeCharacter{01F4}{\'G} + \DeclareUnicodeCharacter{01F5}{\'g} + \DeclareUnicodeCharacter{01F8}{\`N} + \DeclareUnicodeCharacter{01F9}{\`n} + \DeclareUnicodeCharacter{01FC}{\'{\AE}} + \DeclareUnicodeCharacter{01FD}{\'{\ae}} + \DeclareUnicodeCharacter{01FE}{\'{\O}} + \DeclareUnicodeCharacter{01FF}{\'{\o}} + + \DeclareUnicodeCharacter{021E}{\v{H}} + \DeclareUnicodeCharacter{021F}{\v{h}} + + \DeclareUnicodeCharacter{0226}{\dotaccent{A}} + \DeclareUnicodeCharacter{0227}{\dotaccent{a}} + \DeclareUnicodeCharacter{0228}{\cedilla{E}} + \DeclareUnicodeCharacter{0229}{\cedilla{e}} + \DeclareUnicodeCharacter{022E}{\dotaccent{O}} + \DeclareUnicodeCharacter{022F}{\dotaccent{o}} + + \DeclareUnicodeCharacter{0232}{\=Y} + \DeclareUnicodeCharacter{0233}{\=y} + \DeclareUnicodeCharacter{0237}{\dotless{j}} + + \DeclareUnicodeCharacter{02DB}{\ogonek{ }} + + \DeclareUnicodeCharacter{1E02}{\dotaccent{B}} + \DeclareUnicodeCharacter{1E03}{\dotaccent{b}} + \DeclareUnicodeCharacter{1E04}{\udotaccent{B}} + \DeclareUnicodeCharacter{1E05}{\udotaccent{b}} + \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}} + \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}} + \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}} + \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}} + \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}} + \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}} + \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}} + \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}} + + \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}} + \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}} + + \DeclareUnicodeCharacter{1E20}{\=G} + \DeclareUnicodeCharacter{1E21}{\=g} + \DeclareUnicodeCharacter{1E22}{\dotaccent{H}} + \DeclareUnicodeCharacter{1E23}{\dotaccent{h}} + \DeclareUnicodeCharacter{1E24}{\udotaccent{H}} + \DeclareUnicodeCharacter{1E25}{\udotaccent{h}} + \DeclareUnicodeCharacter{1E26}{\"H} + \DeclareUnicodeCharacter{1E27}{\"h} + + \DeclareUnicodeCharacter{1E30}{\'K} + \DeclareUnicodeCharacter{1E31}{\'k} + \DeclareUnicodeCharacter{1E32}{\udotaccent{K}} + \DeclareUnicodeCharacter{1E33}{\udotaccent{k}} + \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}} + \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}} + \DeclareUnicodeCharacter{1E36}{\udotaccent{L}} + \DeclareUnicodeCharacter{1E37}{\udotaccent{l}} + \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}} + \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}} + \DeclareUnicodeCharacter{1E3E}{\'M} + \DeclareUnicodeCharacter{1E3F}{\'m} + + \DeclareUnicodeCharacter{1E40}{\dotaccent{M}} + \DeclareUnicodeCharacter{1E41}{\dotaccent{m}} + \DeclareUnicodeCharacter{1E42}{\udotaccent{M}} + \DeclareUnicodeCharacter{1E43}{\udotaccent{m}} + \DeclareUnicodeCharacter{1E44}{\dotaccent{N}} + \DeclareUnicodeCharacter{1E45}{\dotaccent{n}} + \DeclareUnicodeCharacter{1E46}{\udotaccent{N}} + \DeclareUnicodeCharacter{1E47}{\udotaccent{n}} + \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}} + \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}} + + \DeclareUnicodeCharacter{1E54}{\'P} + \DeclareUnicodeCharacter{1E55}{\'p} + \DeclareUnicodeCharacter{1E56}{\dotaccent{P}} + \DeclareUnicodeCharacter{1E57}{\dotaccent{p}} + \DeclareUnicodeCharacter{1E58}{\dotaccent{R}} + \DeclareUnicodeCharacter{1E59}{\dotaccent{r}} + \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}} + \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}} + \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}} + \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}} + + \DeclareUnicodeCharacter{1E60}{\dotaccent{S}} + \DeclareUnicodeCharacter{1E61}{\dotaccent{s}} + \DeclareUnicodeCharacter{1E62}{\udotaccent{S}} + \DeclareUnicodeCharacter{1E63}{\udotaccent{s}} + \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}} + \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}} + \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}} + \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}} + \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}} + \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}} + + \DeclareUnicodeCharacter{1E7C}{\~V} + \DeclareUnicodeCharacter{1E7D}{\~v} + \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}} + \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}} + + \DeclareUnicodeCharacter{1E80}{\`W} + \DeclareUnicodeCharacter{1E81}{\`w} + \DeclareUnicodeCharacter{1E82}{\'W} + \DeclareUnicodeCharacter{1E83}{\'w} + \DeclareUnicodeCharacter{1E84}{\"W} + \DeclareUnicodeCharacter{1E85}{\"w} + \DeclareUnicodeCharacter{1E86}{\dotaccent{W}} + \DeclareUnicodeCharacter{1E87}{\dotaccent{w}} + \DeclareUnicodeCharacter{1E88}{\udotaccent{W}} + \DeclareUnicodeCharacter{1E89}{\udotaccent{w}} + \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}} + \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}} + \DeclareUnicodeCharacter{1E8C}{\"X} + \DeclareUnicodeCharacter{1E8D}{\"x} + \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}} + \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}} + + \DeclareUnicodeCharacter{1E90}{\^Z} + \DeclareUnicodeCharacter{1E91}{\^z} + \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}} + \DeclareUnicodeCharacter{1E93}{\udotaccent{z}} + \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}} + \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}} + \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}} + \DeclareUnicodeCharacter{1E97}{\"t} + \DeclareUnicodeCharacter{1E98}{\ringaccent{w}} + \DeclareUnicodeCharacter{1E99}{\ringaccent{y}} + + \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}} + \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}} + + \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}} + \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}} + \DeclareUnicodeCharacter{1EBC}{\~E} + \DeclareUnicodeCharacter{1EBD}{\~e} + + \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}} + \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}} + \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}} + \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}} + + \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}} + \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}} + + \DeclareUnicodeCharacter{1EF2}{\`Y} + \DeclareUnicodeCharacter{1EF3}{\`y} + \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}} + + \DeclareUnicodeCharacter{1EF8}{\~Y} + \DeclareUnicodeCharacter{1EF9}{\~y} + + \DeclareUnicodeCharacter{2013}{--} + \DeclareUnicodeCharacter{2014}{---} + \DeclareUnicodeCharacter{2018}{\quoteleft} + \DeclareUnicodeCharacter{2019}{\quoteright} + \DeclareUnicodeCharacter{201A}{\quotesinglbase} + \DeclareUnicodeCharacter{201C}{\quotedblleft} + \DeclareUnicodeCharacter{201D}{\quotedblright} + \DeclareUnicodeCharacter{201E}{\quotedblbase} + \DeclareUnicodeCharacter{2022}{\bullet} + \DeclareUnicodeCharacter{2026}{\dots} + \DeclareUnicodeCharacter{2039}{\guilsinglleft} + \DeclareUnicodeCharacter{203A}{\guilsinglright} + \DeclareUnicodeCharacter{20AC}{\euro} + + \DeclareUnicodeCharacter{2192}{\expansion} + \DeclareUnicodeCharacter{21D2}{\result} + + \DeclareUnicodeCharacter{2212}{\minus} + \DeclareUnicodeCharacter{2217}{\point} + \DeclareUnicodeCharacter{2261}{\equiv} +}% end of \utfeightchardefs + + +% US-ASCII character definitions. +\def\asciichardefs{% nothing need be done + \relax +} + +% Make non-ASCII characters printable again for compatibility with +% existing Texinfo documents that may use them, even without declaring a +% document encoding. +% +\setnonasciicharscatcode \other + + +\message{formatting,} + +\newdimen\defaultparindent \defaultparindent = 15pt + +\chapheadingskip = 15pt plus 4pt minus 2pt +\secheadingskip = 12pt plus 3pt minus 2pt +\subsecheadingskip = 9pt plus 2pt minus 2pt + +% Prevent underfull vbox error messages. +\vbadness = 10000 + +% Don't be so finicky about underfull hboxes, either. +\hbadness = 2000 + +% Following George Bush, get rid of widows and orphans. +\widowpenalty=10000 +\clubpenalty=10000 + +% Use TeX 3.0's \emergencystretch to help line breaking, but if we're +% using an old version of TeX, don't do anything. We want the amount of +% stretch added to depend on the line length, hence the dependence on +% \hsize. We call this whenever the paper size is set. +% +\def\setemergencystretch{% + \ifx\emergencystretch\thisisundefined + % Allow us to assign to \emergencystretch anyway. + \def\emergencystretch{\dimen0}% + \else + \emergencystretch = .15\hsize + \fi +} + +% Parameters in order: 1) textheight; 2) textwidth; +% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip; +% 7) physical page height; 8) physical page width. +% +% We also call \setleading{\textleading}, so the caller should define +% \textleading. The caller should also set \parskip. +% +\def\internalpagesizes#1#2#3#4#5#6#7#8{% + \voffset = #3\relax + \topskip = #6\relax + \splittopskip = \topskip + % + \vsize = #1\relax + \advance\vsize by \topskip + \outervsize = \vsize + \advance\outervsize by 2\topandbottommargin + \pageheight = \vsize + % + \hsize = #2\relax + \outerhsize = \hsize + \advance\outerhsize by 0.5in + \pagewidth = \hsize + % + \normaloffset = #4\relax + \bindingoffset = #5\relax + % + \ifpdf + \pdfpageheight #7\relax + \pdfpagewidth #8\relax + % if we don't reset these, they will remain at "1 true in" of + % whatever layout pdftex was dumped with. + \pdfhorigin = 1 true in + \pdfvorigin = 1 true in + \fi + % + \setleading{\textleading} + % + \parindent = \defaultparindent + \setemergencystretch +} + +% @letterpaper (the default). +\def\letterpaper{{\globaldefs = 1 + \parskip = 3pt plus 2pt minus 1pt + \textleading = 13.2pt + % + % If page is nothing but text, make it come out even. + \internalpagesizes{607.2pt}{6in}% that's 46 lines + {\voffset}{.25in}% + {\bindingoffset}{36pt}% + {11in}{8.5in}% +}} + +% Use @smallbook to reset parameters for 7x9.25 trim size. +\def\smallbook{{\globaldefs = 1 + \parskip = 2pt plus 1pt + \textleading = 12pt + % + \internalpagesizes{7.5in}{5in}% + {-.2in}{0in}% + {\bindingoffset}{16pt}% + {9.25in}{7in}% + % + \lispnarrowing = 0.3in + \tolerance = 700 + \hfuzz = 1pt + \contentsrightmargin = 0pt + \defbodyindent = .5cm +}} + +% Use @smallerbook to reset parameters for 6x9 trim size. +% (Just testing, parameters still in flux.) +\def\smallerbook{{\globaldefs = 1 + \parskip = 1.5pt plus 1pt + \textleading = 12pt + % + \internalpagesizes{7.4in}{4.8in}% + {-.2in}{-.4in}% + {0pt}{14pt}% + {9in}{6in}% + % + \lispnarrowing = 0.25in + \tolerance = 700 + \hfuzz = 1pt + \contentsrightmargin = 0pt + \defbodyindent = .4cm +}} + +% Use @afourpaper to print on European A4 paper. +\def\afourpaper{{\globaldefs = 1 + \parskip = 3pt plus 2pt minus 1pt + \textleading = 13.2pt + % + % Double-side printing via postscript on Laserjet 4050 + % prints double-sided nicely when \bindingoffset=10mm and \hoffset=-6mm. + % To change the settings for a different printer or situation, adjust + % \normaloffset until the front-side and back-side texts align. Then + % do the same for \bindingoffset. You can set these for testing in + % your texinfo source file like this: + % @tex + % \global\normaloffset = -6mm + % \global\bindingoffset = 10mm + % @end tex + \internalpagesizes{673.2pt}{160mm}% that's 51 lines + {\voffset}{\hoffset}% + {\bindingoffset}{44pt}% + {297mm}{210mm}% + % + \tolerance = 700 + \hfuzz = 1pt + \contentsrightmargin = 0pt + \defbodyindent = 5mm +}} + +% Use @afivepaper to print on European A5 paper. +% From romildo@urano.iceb.ufop.br, 2 July 2000. +% He also recommends making @example and @lisp be small. +\def\afivepaper{{\globaldefs = 1 + \parskip = 2pt plus 1pt minus 0.1pt + \textleading = 12.5pt + % + \internalpagesizes{160mm}{120mm}% + {\voffset}{\hoffset}% + {\bindingoffset}{8pt}% + {210mm}{148mm}% + % + \lispnarrowing = 0.2in + \tolerance = 800 + \hfuzz = 1.2pt + \contentsrightmargin = 0pt + \defbodyindent = 2mm + \tableindent = 12mm +}} + +% A specific text layout, 24x15cm overall, intended for A4 paper. +\def\afourlatex{{\globaldefs = 1 + \afourpaper + \internalpagesizes{237mm}{150mm}% + {\voffset}{4.6mm}% + {\bindingoffset}{7mm}% + {297mm}{210mm}% + % + % Must explicitly reset to 0 because we call \afourpaper. + \globaldefs = 0 +}} + +% Use @afourwide to print on A4 paper in landscape format. +\def\afourwide{{\globaldefs = 1 + \afourpaper + \internalpagesizes{241mm}{165mm}% + {\voffset}{-2.95mm}% + {\bindingoffset}{7mm}% + {297mm}{210mm}% + \globaldefs = 0 +}} + +% @pagesizes TEXTHEIGHT[,TEXTWIDTH] +% Perhaps we should allow setting the margins, \topskip, \parskip, +% and/or leading, also. Or perhaps we should compute them somehow. +% +\parseargdef\pagesizes{\pagesizesyyy #1,,\finish} +\def\pagesizesyyy#1,#2,#3\finish{{% + \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \hsize=#2\relax \fi + \globaldefs = 1 + % + \parskip = 3pt plus 2pt minus 1pt + \setleading{\textleading}% + % + \dimen0 = #1\relax + \advance\dimen0 by \voffset + % + \dimen2 = \hsize + \advance\dimen2 by \normaloffset + % + \internalpagesizes{#1}{\hsize}% + {\voffset}{\normaloffset}% + {\bindingoffset}{44pt}% + {\dimen0}{\dimen2}% +}} + +% Set default to letter. +% +\letterpaper + + +\message{and turning on texinfo input format.} + +% DEL is a comment character, in case @c does not suffice. +\catcode`\^^? = 14 + +% Define macros to output various characters with catcode for normal text. +\catcode`\"=\other +\catcode`\~=\other +\catcode`\^=\other +\catcode`\_=\other +\catcode`\|=\other +\catcode`\<=\other +\catcode`\>=\other +\catcode`\+=\other +\catcode`\$=\other +\def\normaldoublequote{"} +\def\normaltilde{~} +\def\normalcaret{^} +\def\normalunderscore{_} +\def\normalverticalbar{|} +\def\normalless{<} +\def\normalgreater{>} +\def\normalplus{+} +\def\normaldollar{$}%$ font-lock fix + +% This macro is used to make a character print one way in \tt +% (where it can probably be output as-is), and another way in other fonts, +% where something hairier probably needs to be done. +% +% #1 is what to print if we are indeed using \tt; #2 is what to print +% otherwise. Since all the Computer Modern typewriter fonts have zero +% interword stretch (and shrink), and it is reasonable to expect all +% typewriter fonts to have this, we can check that font parameter. +% +\def\ifusingtt#1#2{\ifdim \fontdimen3\font=0pt #1\else #2\fi} + +% Same as above, but check for italic font. Actually this also catches +% non-italic slanted fonts since it is impossible to distinguish them from +% italic fonts. But since this is only used by $ and it uses \sl anyway +% this is not a problem. +\def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi} + +% Turn off all special characters except @ +% (and those which the user can use as if they were ordinary). +% Most of these we simply print from the \tt font, but for some, we can +% use math or other variants that look better in normal text. + +\catcode`\"=\active +\def\activedoublequote{{\tt\char34}} +\let"=\activedoublequote +\catcode`\~=\active +\def~{{\tt\char126}} +\chardef\hat=`\^ +\catcode`\^=\active +\def^{{\tt \hat}} + +\catcode`\_=\active +\def_{\ifusingtt\normalunderscore\_} +\let\realunder=_ +% Subroutine for the previous macro. +\def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em } + +\catcode`\|=\active +\def|{{\tt\char124}} +\chardef \less=`\< +\catcode`\<=\active +\def<{{\tt \less}} +\chardef \gtr=`\> +\catcode`\>=\active +\def>{{\tt \gtr}} +\catcode`\+=\active +\def+{{\tt \char 43}} +\catcode`\$=\active +\def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix + +% If a .fmt file is being used, characters that might appear in a file +% name cannot be active until we have parsed the command line. +% So turn them off again, and have \everyjob (or @setfilename) turn them on. +% \otherifyactive is called near the end of this file. +\def\otherifyactive{\catcode`+=\other \catcode`\_=\other} + +% Used sometimes to turn off (effectively) the active characters even after +% parsing them. +\def\turnoffactive{% + \normalturnoffactive + \otherbackslash +} + +\catcode`\@=0 + +% \backslashcurfont outputs one backslash character in current font, +% as in \char`\\. +\global\chardef\backslashcurfont=`\\ +\global\let\rawbackslashxx=\backslashcurfont % let existing .??s files work + +% \realbackslash is an actual character `\' with catcode other, and +% \doublebackslash is two of them (for the pdf outlines). +{\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}} + +% In texinfo, backslash is an active character; it prints the backslash +% in fixed width font. +\catcode`\\=\active +@def@normalbackslash{{@tt@backslashcurfont}} +% On startup, @fixbackslash assigns: +% @let \ = @normalbackslash + +% \rawbackslash defines an active \ to do \backslashcurfont. +% \otherbackslash defines an active \ to be a literal `\' character with +% catcode other. +@gdef@rawbackslash{@let\=@backslashcurfont} +@gdef@otherbackslash{@let\=@realbackslash} + +% Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of +% the literal character `\'. +% +@def@normalturnoffactive{% + @let\=@normalbackslash + @let"=@normaldoublequote + @let~=@normaltilde + @let^=@normalcaret + @let_=@normalunderscore + @let|=@normalverticalbar + @let<=@normalless + @let>=@normalgreater + @let+=@normalplus + @let$=@normaldollar %$ font-lock fix + @markupsetuplqdefault + @markupsetuprqdefault + @unsepspaces +} + +% Make _ and + \other characters, temporarily. +% This is canceled by @fixbackslash. +@otherifyactive + +% If a .fmt file is being used, we don't want the `\input texinfo' to show up. +% That is what \eatinput is for; after that, the `\' should revert to printing +% a backslash. +% +@gdef@eatinput input texinfo{@fixbackslash} +@global@let\ = @eatinput + +% On the other hand, perhaps the file did not have a `\input texinfo'. Then +% the first `\' in the file would cause an error. This macro tries to fix +% that, assuming it is called before the first `\' could plausibly occur. +% Also turn back on active characters that might appear in the input +% file name, in case not using a pre-dumped format. +% +@gdef@fixbackslash{% + @ifx\@eatinput @let\ = @normalbackslash @fi + @catcode`+=@active + @catcode`@_=@active +} + +% Say @foo, not \foo, in error messages. +@escapechar = `@@ + +% These look ok in all fonts, so just make them not special. +@catcode`@& = @other +@catcode`@# = @other +@catcode`@% = @other + +@c Finally, make ` and ' active, so that txicodequoteundirected and +@c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we +@c don't make ` and ' active, @code will not get them as active chars. +@c Do this last of all since we use ` in the previous @catcode assignments. +@catcode`@'=@active +@catcode`@`=@active +@markupsetuplqdefault +@markupsetuprqdefault + +@c Local variables: +@c eval: (add-hook 'write-file-hooks 'time-stamp) +@c page-delimiter: "^\\\\message" +@c time-stamp-start: "def\\\\texinfoversion{" +@c time-stamp-format: "%:y-%02m-%02d.%02H" +@c time-stamp-end: "}" +@c End: + +@c vim:sw=2: + +@ignore + arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115 +@end ignore diff --git a/build-aux/warn-on-use.h b/build-aux/warn-on-use.h new file mode 100644 index 0000000..171e599 --- /dev/null +++ b/build-aux/warn-on-use.h @@ -0,0 +1,109 @@ +/* A C macro for emitting warnings if a function is used. + Copyright (C) 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* _GL_WARN_ON_USE (function, "literal string") issues a declaration + for FUNCTION which will then trigger a compiler warning containing + the text of "literal string" anywhere that function is called, if + supported by the compiler. If the compiler does not support this + feature, the macro expands to an unused extern declaration. + + This macro is useful for marking a function as a potential + portability trap, with the intent that "literal string" include + instructions on the replacement function that should be used + instead. However, one of the reasons that a function is a + portability trap is if it has the wrong signature. Declaring + FUNCTION with a different signature in C is a compilation error, so + this macro must use the same type as any existing declaration so + that programs that avoid the problematic FUNCTION do not fail to + compile merely because they included a header that poisoned the + function. But this implies that _GL_WARN_ON_USE is only safe to + use if FUNCTION is known to already have a declaration. Use of + this macro implies that there must not be any other macro hiding + the declaration of FUNCTION; but undefining FUNCTION first is part + of the poisoning process anyway (although for symbols that are + provided only via a macro, the result is a compilation error rather + than a warning containing "literal string"). Also note that in + C++, it is only safe to use if FUNCTION has no overloads. + + For an example, it is possible to poison 'getline' by: + - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], + [getline]) in configure.ac, which potentially defines + HAVE_RAW_DECL_GETLINE + - adding this code to a header that wraps the system : + #undef getline + #if HAVE_RAW_DECL_GETLINE + _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" + "not universally present; use the gnulib module getline"); + #endif + + It is not possible to directly poison global variables. But it is + possible to write a wrapper accessor function, and poison that + (less common usage, like &environ, will cause a compilation error + rather than issue the nice warning, but the end result of informing + the developer about their portability problem is still achieved): + #if HAVE_RAW_DECL_ENVIRON + static inline char ***rpl_environ (void) { return &environ; } + _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); + # undef environ + # define environ (*rpl_environ ()) + #endif + */ +#ifndef _GL_WARN_ON_USE + +# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) +/* A compiler attribute is available in gcc versions 4.3.0 and later. */ +# define _GL_WARN_ON_USE(function, message) \ +extern __typeof__ (function) function __attribute__ ((__warning__ (message))) +# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING +/* Verify the existence of the function. */ +# define _GL_WARN_ON_USE(function, message) \ +extern __typeof__ (function) function +# else /* Unsupported. */ +# define _GL_WARN_ON_USE(function, message) \ +_GL_WARN_EXTERN_C int _gl_warn_on_use +# endif +#endif + +/* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") + is like _GL_WARN_ON_USE (function, "string"), except that the function is + declared with the given prototype, consisting of return type, parameters, + and attributes. + This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does + not work in this case. */ +#ifndef _GL_WARN_ON_USE_CXX +# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) +# define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ +extern rettype function parameters_and_attributes \ + __attribute__ ((__warning__ (msg))) +# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING +/* Verify the existence of the function. */ +# define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ +extern rettype function parameters_and_attributes +# else /* Unsupported. */ +# define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ +_GL_WARN_EXTERN_C int _gl_warn_on_use +# endif +#endif + +/* _GL_WARN_EXTERN_C declaration; + performs the declaration with C linkage. */ +#ifndef _GL_WARN_EXTERN_C +# if defined __cplusplus +# define _GL_WARN_EXTERN_C extern "C" +# else +# define _GL_WARN_EXTERN_C extern +# endif +#endif diff --git a/conf/Makefile.common b/conf/Makefile.common new file mode 100644 index 0000000..5aa13cd --- /dev/null +++ b/conf/Makefile.common @@ -0,0 +1,177 @@ +# -*- makefile -*- + +CFLAGS_PLATFORM= + +export LC_COLLATE := C +export LC_CTYPE := C +unexport LC_ALL + +# Platform specific options +if COND_i386_pc + CFLAGS_PLATFORM += -mrtd -mregparm=3 +endif +if COND_i386_efi + LDFLAGS_PLATFORM = -melf_i386 +endif +if COND_x86_64_efi + LDFLAGS_PLATFORM = -melf_x86_64 +endif +if COND_i386_qemu + CFLAGS_PLATFORM += -mrtd -mregparm=3 +endif +if COND_i386_coreboot + CFLAGS_PLATFORM += -mrtd -mregparm=3 +endif +if COND_i386_ieee1275 + CFLAGS_PLATFORM += -mrtd -mregparm=3 +endif +if COND_mips_yeeloong + CFLAGS_PLATFORM += -mexplicit-relocs + CPPFLAGS_PLATFORM = -DUSE_ASCII_FAILBACK + CCASFLAGS_PLATFORM = -march=mips3 +endif +if COND_mips + CFLAGS_PLATFORM += -mflush-func=grub_cpu_flush_cache +endif +if COND_sparc64_ieee1275 + CFLAGS_PLATFORM += -mno-app-regs + LDFLAGS_PLATFORM = -melf64_sparc -mno-relax +endif + +# Other options + +CPPFLAGS_DEFAULT = -DGRUB_FILE=\"$(subst $(srcdir)/,,$<)\" +CPPFLAGS_DEFAULT += -I$(builddir) +CPPFLAGS_DEFAULT += -I$(srcdir) +CPPFLAGS_DEFAULT += -I$(top_builddir) +CPPFLAGS_DEFAULT += -I$(top_srcdir) +CPPFLAGS_DEFAULT += -I$(top_srcdir)/include +CPPFLAGS_DEFAULT += -I$(top_builddir)/include +CCASFLAGS_DEFAULT = -DASM_FILE=1 + +LDADD_KERNEL = + +if ! COND_i386_pc +if ! COND_i386_efi +if ! COND_i386_qemu +if ! COND_i386_coreboot +if ! COND_i386_multiboot +if ! COND_i386_ieee1275 +if ! COND_x86_64_efi +LDADD_KERNEL += -lgcc +endif +endif +endif +endif +endif +endif +endif + +CFLAGS_KERNEL = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding +LDFLAGS_KERNEL = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N -static-libgcc +CPPFLAGS_KERNEL = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_KERNEL = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +if COND_CYGWIN +STRIPFLAGS_KERNEL = -F elf32-i386 -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve +else +STRIPFLAGS_KERNEL = -R .rel.dyn -R .reginfo -R .note -R .comment +endif + +CFLAGS_MODULE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding +LDFLAGS_MODULE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N,-r,-d +CPPFLAGS_MODULE = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_MODULE = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) + +CFLAGS_IMAGE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -fno-builtin +LDFLAGS_IMAGE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N,-S +CPPFLAGS_IMAGE = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_IMAGE = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) + +CFLAGS_PROGRAM = +LDFLAGS_PROGRAM = +CPPFLAGS_PROGRAM = +CCASFLAGS_PROGRAM = + +CFLAGS_LIBRARY = +CPPFLAGS_LIBRARY = +CCASFLAGS_LIBRARY = + +# Other variables + +grubconfdir = $(sysconfdir)/grub.d +grubdatadir = $(datadir)/`echo @PACKAGE_TARNAME@ | sed '$(transform)'` +platformdir = $(pkglibrootdir)/$(target_cpu)-$(platform) + +CFLAGS_GCRY = -Wno-error -Wno-missing-field-initializers +CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap + +CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter +CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib + +CFLAGS_POSIX = -fno-builtin +CPPFLAGS_POSIX = -I$(top_srcdir)/grub-core/lib/posix_wrap + +CPPFLAGS_EFIEMU = -I$(top_srcdir)/grub-core/efiemu/runtime + +# List file macros for recognizing /interesting/ modules +CPPFLAGS_FS_LIST = -Dgrub_fs_register=FS_LIST_MARKER +CPPFLAGS_VIDEO_LIST= -Dgrub_video_register=VIDEO_LIST_MARKER +CPPFLAGS_PARTMAP_LIST = -Dgrub_partition_map_register=PARTMAP_LIST_MARKER +CPPFLAGS_PARTTOOL_LIST = -Dgrub_parttool_register=PARTTOOL_LIST_MARKER +CPPFLAGS_TERMINAL_LIST = '-Dgrub_term_register_input(...)=INPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_TERMINAL_LIST += '-Dgrub_term_register_output(...)=OUTPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_COMMAND_LIST = '-Dgrub_register_command(...)=COMMAND_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_COMMAND_LIST += '-Dgrub_register_extcmd(...)=EXTCOMMAND_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_COMMAND_LIST += '-Dgrub_register_command_p1(...)=P1COMMAND_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_MARKER = $(CPPFLAGS_FS_LIST) $(CPPFLAGS_VIDEO_LIST) \ + $(CPPFLAGS_PARTTOOL_LIST) $(CPPFLAGS_PARTMAP_LIST) \ + $(CPPFLAGS_TERMINAL_LIST) $(CPPFLAGS_COMMAND_LIST) + +# Define these variables to calm down automake + +IMG_FILES = +MOD_FILES = +MODULE_FILES = +MARKER_FILES = +KERNEL_HEADER_FILES = + +man_MANS = +noinst_DATA = +pkglib_DATA = +bin_SCRIPTS = +sbin_SCRIPTS = +bin_PROGRAMS = +platform_DATA = +sbin_PROGRAMS = +check_SCRIPTS = +grubconf_DATA = +check_PROGRAMS = +noinst_SCRIPTS = +pkglib_SCRIPTS = +noinst_PROGRAMS = +grubconf_SCRIPTS = +noinst_LIBRARIES = +dist_noinst_DATA = + +TESTS = +EXTRA_DIST = +CLEANFILES = +BUILT_SOURCES = + +# Rules for autogen definition files + +.PRECIOUS: $(top_srcdir)/Makefile.tpl +$(top_srcdir)/Makefile.tpl: $(top_srcdir)/gentpl.py + python $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +.PRECIOUS: $(top_srcdir)/Makefile.util.am +$(top_srcdir)/Makefile.util.am: $(top_srcdir)/Makefile.util.def $(top_srcdir)/Makefile.tpl + autogen -T $(top_srcdir)/Makefile.tpl $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +.PRECIOUS: $(top_srcdir)/grub-core/Makefile.core.am +$(top_srcdir)/grub-core/Makefile.core.am: $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def $(top_srcdir)/Makefile.tpl + if [ "x$$GRUB_CONTRIB" != x ]; then echo "You need to run ./autogen.sh manually." >&2; exit 1; fi + autogen -T $(top_srcdir)/Makefile.tpl $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ diff --git a/conf/Makefile.extra-dist b/conf/Makefile.extra-dist new file mode 100644 index 0000000..c340bb8 --- /dev/null +++ b/conf/Makefile.extra-dist @@ -0,0 +1,34 @@ +EXTRA_DIST += autogen.sh +EXTRA_DIST += geninit.sh + +EXTRA_DIST += gentpl.py +EXTRA_DIST += Makefile.tpl +EXTRA_DIST += Makefile.util.def + +EXTRA_DIST += unicode + +EXTRA_DIST += util/import_gcry.py +EXTRA_DIST += util/import_unicode.py + +EXTRA_DIST += docs/man +EXTRA_DIST += docs/grub.cfg + +EXTRA_DIST += conf/i386-pc-cygwin-img-ld.sc + +EXTRA_DIST += grub-core/Makefile.core.def +EXTRA_DIST += grub-core/Makefile.gcry.def + +EXTRA_DIST += grub-core/genmoddep.awk +EXTRA_DIST += grub-core/genmod.sh.in +EXTRA_DIST += grub-core/gensyminfo.sh.in +EXTRA_DIST += grub-core/gensymlist.sh +EXTRA_DIST += grub-core/genemuinit.sh +EXTRA_DIST += grub-core/genemuinitheader.sh + +EXTRA_DIST += grub-core/lib/libgcrypt/cipher +EXTRA_DIST += $(shell find $(top_srcdir)/include -name '*.h') +EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/lib -name '*.h') +EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/gnulib -name '*.h') +EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/efiemu -name '*.h') + +EXTRA_DIST += m4/gnulib-cache.m4 diff --git a/conf/i386-pc-cygwin-img-ld.sc b/conf/i386-pc-cygwin-img-ld.sc new file mode 100644 index 0000000..3b579d3 --- /dev/null +++ b/conf/i386-pc-cygwin-img-ld.sc @@ -0,0 +1,47 @@ +/* Linker script to create grub .img files on Cygwin. */ + +SECTIONS +{ + .text : + { + start = . ; + *(.text) + etext = . ; + } + .data : + { + __data_start__ = . ; + *(.data) + __data_end__ = . ; + __rdata_start__ = . ; + *(.rdata) + __rdata_end__ = . ; + *(.pdata) + edata = . ; + } + .bss : + { + __bss_start__ = . ; + *(.bss) + __common_start__ = . ; + *(COMMON) + __bss_end__ = . ; + } + .edata : + { + *(.edata) + end = . ; + } + .stab : + { + *(.stab) + } + .stabstr : + { + *(.stabstr) + } +} + +ASSERT("__rdata_end__"=="edata", ".pdata not empty") +ASSERT("__bss_end__" =="end" , ".edata not empty") + diff --git a/config-util.h.in b/config-util.h.in new file mode 100644 index 0000000..5144bde --- /dev/null +++ b/config-util.h.in @@ -0,0 +1,1247 @@ +/* config-util.h.in. Generated from configure.ac by autoheader. */ + +/* Define if the compiler is building for multiple architectures of Apple + platforms at once. */ +#undef AA_APPLE_UNIVERSAL_BUILD + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* Define to the number of bits in type 'ptrdiff_t'. */ +#undef BITSIZEOF_PTRDIFF_T + +/* Define to the number of bits in type 'sig_atomic_t'. */ +#undef BITSIZEOF_SIG_ATOMIC_T + +/* Define to the number of bits in type 'size_t'. */ +#undef BITSIZEOF_SIZE_T + +/* Define to the number of bits in type 'wchar_t'. */ +#undef BITSIZEOF_WCHAR_T + +/* Define to the number of bits in type 'wint_t'. */ +#undef BITSIZEOF_WINT_T + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Define to 1 if // is a file system root distinct from /. */ +#undef DOUBLE_SLASH_IS_DISTINCT_ROOT + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* Define on systems for which file names may have a so-called `drive letter' + prefix, define this to compute the length of that prefix, including the + colon. */ +#undef FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX + +/* Define if the backslash character may also serve as a file name component + separator. */ +#undef FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR + +/* Define if a drive letter prefix denotes a relative path if it is not + followed by a file name component separator. */ +#undef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE + +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending + whether the gnulib module malloc-gnu shall be considered present. */ +#undef GNULIB_MALLOC_GNU + +/* Define to 1 to add extern declaration of program_invocation_name to argp.h + */ +#undef GNULIB_PROGRAM_INVOCATION_NAME + +/* Define to 1 to add extern declaration of program_invocation_short_name to + argp.h */ +#undef GNULIB_PROGRAM_INVOCATION_SHORT_NAME + +/* Define to 1 when the gnulib module btowc should be tested. */ +#undef GNULIB_TEST_BTOWC + +/* Define to 1 when the gnulib module getdelim should be tested. */ +#undef GNULIB_TEST_GETDELIM + +/* Define to 1 when the gnulib module getline should be tested. */ +#undef GNULIB_TEST_GETLINE + +/* Define to 1 when the gnulib module getopt-gnu should be tested. */ +#undef GNULIB_TEST_GETOPT_GNU + +/* Define to 1 when the gnulib module malloc-posix should be tested. */ +#undef GNULIB_TEST_MALLOC_POSIX + +/* Define to 1 when the gnulib module mbrtowc should be tested. */ +#undef GNULIB_TEST_MBRTOWC + +/* Define to 1 when the gnulib module mbsinit should be tested. */ +#undef GNULIB_TEST_MBSINIT + +/* Define to 1 when the gnulib module mbsrtowcs should be tested. */ +#undef GNULIB_TEST_MBSRTOWCS + +/* Define to 1 when the gnulib module memchr should be tested. */ +#undef GNULIB_TEST_MEMCHR + +/* Define to 1 when the gnulib module mempcpy should be tested. */ +#undef GNULIB_TEST_MEMPCPY + +/* Define to 1 when the gnulib module nl_langinfo should be tested. */ +#undef GNULIB_TEST_NL_LANGINFO + +/* Define to 1 when the gnulib module rawmemchr should be tested. */ +#undef GNULIB_TEST_RAWMEMCHR + +/* Define to 1 when the gnulib module realloc-posix should be tested. */ +#undef GNULIB_TEST_REALLOC_POSIX + +/* Define to 1 when the gnulib module sleep should be tested. */ +#undef GNULIB_TEST_SLEEP + +/* Define to 1 when the gnulib module strchrnul should be tested. */ +#undef GNULIB_TEST_STRCHRNUL + +/* Define to 1 when the gnulib module strerror should be tested. */ +#undef GNULIB_TEST_STRERROR + +/* Define to 1 when the gnulib module strndup should be tested. */ +#undef GNULIB_TEST_STRNDUP + +/* Define to 1 when the gnulib module strnlen should be tested. */ +#undef GNULIB_TEST_STRNLEN + +/* Define to 1 when the gnulib module vsnprintf should be tested. */ +#undef GNULIB_TEST_VSNPRINTF + +/* Define to 1 when the gnulib module wcrtomb should be tested. */ +#undef GNULIB_TEST_WCRTOMB + +/* Default boot directory name" */ +#undef GRUB_BOOT_DIR_NAME + +/* Default grub directory name */ +#undef GRUB_DIR_NAME + +/* Define to 1 if you have 'alloca' after including , a header that + may be supplied by this distribution. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if you have the `asprintf' function. */ +#undef HAVE_ASPRINTF + +/* Define to 1 if you have the header file. */ +#undef HAVE_BP_SYM_H + +/* Define to 1 if you have the `btowc' function. */ +#undef HAVE_BTOWC + +/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYCURRENT + +/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define to 1 if you have the header file. */ +#undef HAVE_CURSES_H + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_CLEARERR_UNLOCKED + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FERROR_UNLOCKED + +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FFLUSH_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_UNLOCKED + +/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPUTC_UNLOCKED + +/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPUTS_UNLOCKED + +/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FREAD_UNLOCKED + +/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FWRITE_UNLOCKED + +/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_GETCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `getdelim', and to 0 if you + don't. */ +#undef HAVE_DECL_GETDELIM + +/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. + */ +#undef HAVE_DECL_GETENV + +/* Define to 1 if you have the declaration of `getline', and to 0 if you + don't. */ +#undef HAVE_DECL_GETLINE + +/* Define to 1 if you have the declaration of `getopt_clip', and to 0 if you + don't. */ +#undef HAVE_DECL_GETOPT_CLIP + +/* Define to 1 if you have the declaration of `isblank', and to 0 if you + don't. */ +#undef HAVE_DECL_ISBLANK + +/* Define to 1 if you have the declaration of `iswblank', and to 0 if you + don't. */ +#undef HAVE_DECL_ISWBLANK + +/* Define to 1 if you have the declaration of `optreset', and to 0 if you + don't. */ +#undef HAVE_DECL_OPTRESET + +/* Define to 1 if you have the declaration of `program_invocation_name', and + to 0 if you don't. */ +#undef HAVE_DECL_PROGRAM_INVOCATION_NAME + +/* Define to 1 if you have the declaration of `program_invocation_short_name', + and to 0 if you don't. */ +#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME + +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_PUTCHAR_UNLOCKED + +/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_PUTC_UNLOCKED + +/* Define to 1 if you have the declaration of `sleep', and to 0 if you don't. + */ +#undef HAVE_DECL_SLEEP + +/* Define to 1 if you have the declaration of `strerror', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR + +/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you + don't. */ +#undef HAVE_DECL_STRERROR_R + +/* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNCASECMP + +/* Define to 1 if you have the declaration of `strndup', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNDUP + +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNLEN + +/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you + don't. */ +#undef HAVE_DECL_VSNPRINTF + +/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you + don't. */ +#undef HAVE_DECL__SNPRINTF + +/* Define to 1 if you have the devmapper library. */ +#undef HAVE_DEVICE_MAPPER + +/* Define to 1 if you have the header file. */ +#undef HAVE_ERRNO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_FEATURES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_FLOAT_H + +/* Define to 1 if you have the `flockfile' function. */ +#undef HAVE_FLOCKFILE + +/* Define to 1 if you have the header file. */ +#undef HAVE_FT2BUILD_H + +/* Define to 1 if you have the `funlockfile' function. */ +#undef HAVE_FUNLOCKFILE + +/* Define to 1 if you have the `getdelim' function. */ +#undef HAVE_GETDELIM + +/* Define to 1 if you have the `getextmntent' function. */ +#undef HAVE_GETEXTMNTENT + +/* Define to 1 if you have the header file. */ +#undef HAVE_GETOPT_H + +/* Define to 1 if you have the `getopt_long_only' function. */ +#undef HAVE_GETOPT_LONG_ONLY + +/* Define if getrawpartition() in -lutil can be used */ +#undef HAVE_GETRAWPARTITION + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + +/* Define if you have the 'intmax_t' type in or . */ +#undef HAVE_INTMAX_T + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if exists, doesn't clash with , and + declares uintmax_t. */ +#undef HAVE_INTTYPES_H_WITH_UINTMAX + +/* Define to 1 if you have the `isblank' function. */ +#undef HAVE_ISBLANK + +/* Define to 1 if you have the `iswblank' function. */ +#undef HAVE_ISWBLANK + +/* Define to 1 if you have the `iswcntrl' function. */ +#undef HAVE_ISWCNTRL + +/* Define to 1 if you have the `iswctype' function. */ +#undef HAVE_ISWCTYPE + +/* Define if you have and nl_langinfo(CODESET). */ +#undef HAVE_LANGINFO_CODESET + +/* Define to 1 if you have the header file. */ +#undef HAVE_LANGINFO_H + +/* Define to 1 if you have the `devmapper' library (-ldevmapper). */ +#undef HAVE_LIBDEVMAPPER + +/* Define to 1 if you have the `geom' library (-lgeom). */ +#undef HAVE_LIBGEOM + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBINTL_H + +/* Define to 1 if you have the LZMA library. */ +#undef HAVE_LIBLZMA + +/* Define to 1 if you have the NVPAIR library. */ +#undef HAVE_LIBNVPAIR + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBNVPAIR_H + +/* Define to 1 if you have the ZFS library. */ +#undef HAVE_LIBZFS + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBZFS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINEWRAP_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if the system has the type `long long int'. */ +#undef HAVE_LONG_LONG_INT + +/* Define to 1 if your system has a GNU libc compatible 'malloc' function, and + to 0 otherwise. */ +#undef HAVE_MALLOC_GNU + +/* Define if the 'malloc' function is POSIX compliant. */ +#undef HAVE_MALLOC_POSIX + +/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including + config.h and . */ +#undef HAVE_MAP_ANONYMOUS + +/* Define to 1 if you have the `mbrtowc' function. */ +#undef HAVE_MBRTOWC + +/* Define to 1 if you have the `mbsinit' function. */ +#undef HAVE_MBSINIT + +/* Define to 1 if you have the `mbsrtowcs' function. */ +#undef HAVE_MBSRTOWCS + +/* Define to 1 if declares mbstate_t. */ +#undef HAVE_MBSTATE_T + +/* Define to 1 if you have the `memalign' function. */ +#undef HAVE_MEMALIGN + +/* Define to 1 if you have the `memchr' function. */ +#undef HAVE_MEMCHR + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + +/* Define to 1 if you have the `mprotect' function. */ +#undef HAVE_MPROTECT + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSES_CURSES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSES_H + +/* Define to 1 if you have the `nl_langinfo' function. */ +#undef HAVE_NL_LANGINFO + +/* Define if opendisk() in -lutil can be used */ +#undef HAVE_OPENDISK + +/* Define to 1 if you have the header file. */ +#undef HAVE_PCI_PCI_H + +/* Define to 1 if you have the `posix_memalign' function. */ +#undef HAVE_POSIX_MEMALIGN + +/* Define if program_invocation_name is defined */ +#undef HAVE_PROGRAM_INVOCATION_NAME + +/* Define if program_invocation_short_name is defined */ +#undef HAVE_PROGRAM_INVOCATION_SHORT_NAME + +/* Define to 1 if you have the header file. */ +#undef HAVE_RANDOM_H + +/* Define to 1 if you have the `rawmemchr' function. */ +#undef HAVE_RAWMEMCHR + +/* Define to 1 if atoll is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_ATOLL + +/* Define to 1 if btowc is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_BTOWC + +/* Define to 1 if canonicalize_file_name is declared even after undefining + macros. */ +#undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME + +/* Define to 1 if chown is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_CHOWN + +/* Define to 1 if dprintf is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_DPRINTF + +/* Define to 1 if dup2 is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_DUP2 + +/* Define to 1 if dup3 is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_DUP3 + +/* Define to 1 if endusershell is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_ENDUSERSHELL + +/* Define to 1 if environ is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_ENVIRON + +/* Define to 1 if euidaccess is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_EUIDACCESS + +/* Define to 1 if faccessat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FACCESSAT + +/* Define to 1 if fchdir is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FCHDIR + +/* Define to 1 if fchownat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FCHOWNAT + +/* Define to 1 if fpurge is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FPURGE + +/* Define to 1 if fseeko is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FSEEKO + +/* Define to 1 if fsync is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FSYNC + +/* Define to 1 if ftello is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FTELLO + +/* Define to 1 if ftruncate is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_FTRUNCATE + +/* Define to 1 if getcwd is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETCWD + +/* Define to 1 if getdelim is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETDELIM + +/* Define to 1 if getdomainname is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETDOMAINNAME + +/* Define to 1 if getdtablesize is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETDTABLESIZE + +/* Define to 1 if getgroups is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETGROUPS + +/* Define to 1 if gethostname is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETHOSTNAME + +/* Define to 1 if getline is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETLINE + +/* Define to 1 if getloadavg is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETLOADAVG + +/* Define to 1 if getlogin is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETLOGIN + +/* Define to 1 if getlogin_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETLOGIN_R + +/* Define to 1 if getpagesize is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETPAGESIZE + +/* Define to 1 if getsubopt is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETSUBOPT + +/* Define to 1 if getusershell is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GETUSERSHELL + +/* Define to 1 if grantpt is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_GRANTPT + +/* Define to 1 if initstat_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_INITSTAT_R + +/* Define to 1 if lchown is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_LCHOWN + +/* Define to 1 if link is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_LINK + +/* Define to 1 if linkat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_LINKAT + +/* Define to 1 if lseek is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_LSEEK + +/* Define to 1 if mbrlen is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MBRLEN + +/* Define to 1 if mbrtowc is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MBRTOWC + +/* Define to 1 if mbsinit is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MBSINIT + +/* Define to 1 if mbsnrtowcs is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MBSNRTOWCS + +/* Define to 1 if mbsrtowcs is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MBSRTOWCS + +/* Define to 1 if memmem is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MEMMEM + +/* Define to 1 if mempcpy is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MEMPCPY + +/* Define to 1 if memrchr is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MEMRCHR + +/* Define to 1 if mkdtemp is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MKDTEMP + +/* Define to 1 if mkostemp is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MKOSTEMP + +/* Define to 1 if mkostemps is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MKOSTEMPS + +/* Define to 1 if mkstemp is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MKSTEMP + +/* Define to 1 if mkstemps is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_MKSTEMPS + +/* Define to 1 if nl_langinfo is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_NL_LANGINFO + +/* Define to 1 if pipe2 is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_PIPE2 + +/* Define to 1 if popen is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_POPEN + +/* Define to 1 if pread is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_PREAD + +/* Define to 1 if ptsname is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_PTSNAME + +/* Define to 1 if pwrite is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_PWRITE + +/* Define to 1 if random_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_RANDOM_R + +/* Define to 1 if rawmemchr is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_RAWMEMCHR + +/* Define to 1 if readlink is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_READLINK + +/* Define to 1 if readlinkat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_READLINKAT + +/* Define to 1 if realpath is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_REALPATH + +/* Define to 1 if renameat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_RENAMEAT + +/* Define to 1 if rmdir is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_RMDIR + +/* Define to 1 if rpmatch is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_RPMATCH + +/* Define to 1 if setenv is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SETENV + +/* Define to 1 if setstate_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SETSTATE_R + +/* Define to 1 if setusershell is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SETUSERSHELL + +/* Define to 1 if sleep is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SLEEP + +/* Define to 1 if snprintf is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SNPRINTF + +/* Define to 1 if srandom_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SRANDOM_R + +/* Define to 1 if stpcpy is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STPCPY + +/* Define to 1 if stpncpy is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STPNCPY + +/* Define to 1 if strcasecmp is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRCASECMP + +/* Define to 1 if strcasestr is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRCASESTR + +/* Define to 1 if strchrnul is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRCHRNUL + +/* Define to 1 if strdup is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRDUP + +/* Define to 1 if strncasecmp is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRNCASECMP + +/* Define to 1 if strncat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRNCAT + +/* Define to 1 if strndup is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRNDUP + +/* Define to 1 if strnlen is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRNLEN + +/* Define to 1 if strpbrk is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRPBRK + +/* Define to 1 if strsep is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRSEP + +/* Define to 1 if strsignal is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRSIGNAL + +/* Define to 1 if strtod is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRTOD + +/* Define to 1 if strtok_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRTOK_R + +/* Define to 1 if strtoll is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRTOLL + +/* Define to 1 if strtoull is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRTOULL + +/* Define to 1 if strverscmp is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_STRVERSCMP + +/* Define to 1 if symlink is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SYMLINK + +/* Define to 1 if symlinkat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_SYMLINKAT + +/* Define to 1 if tmpfile is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_TMPFILE + +/* Define to 1 if ttyname_r is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_TTYNAME_R + +/* Define to 1 if unlink is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_UNLINK + +/* Define to 1 if unlinkat is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_UNLINKAT + +/* Define to 1 if unlockpt is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_UNLOCKPT + +/* Define to 1 if unsetenv is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_UNSETENV + +/* Define to 1 if usleep is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_USLEEP + +/* Define to 1 if vdprintf is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_VDPRINTF + +/* Define to 1 if vsnprintf is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_VSNPRINTF + +/* Define to 1 if wcrtomb is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_WCRTOMB + +/* Define to 1 if wcsnrtombs is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_WCSNRTOMBS + +/* Define to 1 if wcsrtombs is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_WCSRTOMBS + +/* Define to 1 if wctob is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_WCTOB + +/* Define to 1 if wcwidth is declared even after undefining macros. */ +#undef HAVE_RAW_DECL_WCWIDTH + +/* Define to 1 if _Exit is declared even after undefining macros. */ +#undef HAVE_RAW_DECL__EXIT + +/* Define if the 'realloc' function is POSIX compliant. */ +#undef HAVE_REALLOC_POSIX + +/* Define to 1 if you have the header file. */ +#undef HAVE_SDL_SDL_H + +/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ +#undef HAVE_SIGNED_SIG_ATOMIC_T + +/* Define to 1 if 'wchar_t' is a signed integer type. */ +#undef HAVE_SIGNED_WCHAR_T + +/* Define to 1 if 'wint_t' is a signed integer type. */ +#undef HAVE_SIGNED_WINT_T + +/* Define to 1 if you have the `sleep' function. */ +#undef HAVE_SLEEP + +/* Define to 1 if you have the `snprintf' function. */ +#undef HAVE_SNPRINTF + +/* Define if the return value of the snprintf function is the number of of + bytes (excluding the terminating NUL) that would have been produced if the + buffer had been large enough. */ +#undef HAVE_SNPRINTF_RETVAL_C99 + +/* Define to 1 if stdbool.h conforms to C99. */ +#undef HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define if exists, doesn't clash with , and declares + uintmax_t. */ +#undef HAVE_STDINT_H_WITH_UINTMAX + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the `strcasecmp' function. */ +#undef HAVE_STRCASECMP + +/* Define to 1 if you have the `strchrnul' function. */ +#undef HAVE_STRCHRNUL + +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strncasecmp' function. */ +#undef HAVE_STRNCASECMP + +/* Define to 1 if you have the `strndup' function. */ +#undef HAVE_STRNDUP + +/* Define to 1 if you have the `strnlen' function. */ +#undef HAVE_STRNLEN + +/* Define to 1 if the system has the type `struct random_data'. */ +#undef HAVE_STRUCT_RANDOM_DATA + +/* Define to 1 if `f_fstypename' is a member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_FSTYPENAME + +/* Define to 1 if `f_mntfromname' is a member of `struct statfs'. */ +#undef HAVE_STRUCT_STATFS_F_MNTFROMNAME + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYSEXITS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_BITYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_INTTYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MKDEV_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MMAN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MNTTAB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MOUNT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_WAIT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if the system has the type `unsigned long long int'. */ +#undef HAVE_UNSIGNED_LONG_LONG_INT + +/* Define to 1 if you have the header file. */ +#undef HAVE_USB_H + +/* Define to 1 if you have the `vasnprintf' function. */ +#undef HAVE_VASNPRINTF + +/* Define to 1 if you have the `vasprintf' function. */ +#undef HAVE_VASPRINTF + +/* Define to 1 if you have the `vsnprintf' function. */ +#undef HAVE_VSNPRINTF + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + +/* Define if you have the 'wchar_t' type. */ +#undef HAVE_WCHAR_T + +/* Define to 1 if you have the `wcrtomb' function. */ +#undef HAVE_WCRTOMB + +/* Define to 1 if you have the `wcscoll' function. */ +#undef HAVE_WCSCOLL + +/* Define to 1 if you have the `wcslen' function. */ +#undef HAVE_WCSLEN + +/* Define to 1 if you have the `wcsnlen' function. */ +#undef HAVE_WCSNLEN + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCTYPE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_WINSOCK2_H + +/* Define if you have the 'wint_t' type. */ +#undef HAVE_WINT_T + +/* Define to 1 if you have the `wmemchr' function. */ +#undef HAVE_WMEMCHR + +/* Define to 1 if you have the `wmemcpy' function. */ +#undef HAVE_WMEMCPY + +/* Define to 1 if you have the `wmempcpy' function. */ +#undef HAVE_WMEMPCPY + +/* Define to 1 if O_NOATIME works. */ +#undef HAVE_WORKING_O_NOATIME + +/* Define to 1 if O_NOFOLLOW works. */ +#undef HAVE_WORKING_O_NOFOLLOW + +/* Define to 1 if the system has the type `_Bool'. */ +#undef HAVE__BOOL + +/* Define to 1 if you have the `_restgpr_14_x' function. */ +#undef HAVE__RESTGPR_14_X + +/* Define to 1 if you have the `__ashldi3' function. */ +#undef HAVE___ASHLDI3 + +/* Define to 1 if you have the `__ashrdi3' function. */ +#undef HAVE___ASHRDI3 + +/* Define to 1 if you have the `__bswapdi2' function. */ +#undef HAVE___BSWAPDI2 + +/* Define to 1 if you have the `__bswapsi2' function. */ +#undef HAVE___BSWAPSI2 + +/* Define to 1 if you have the `__lshrdi3' function. */ +#undef HAVE___LSHRDI3 + +/* Define to 1 if you have the `__trampoline_setup' function. */ +#undef HAVE___TRAMPOLINE_SETUP + +/* Define to 1 if you have the `__ucmpdi2' function. */ +#undef HAVE___UCMPDI2 + +#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#else +# define ISSLASH(C) ((C) == '/') +#endif + +/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ +#undef MAP_ANONYMOUS + +/* Define if the mbrtowc function has the NULL string argument bug. */ +#undef MBRTOWC_NULL_ARG_BUG + +/* Define if the mbrtowc function does not return 0 for a NUL character. */ +#undef MBRTOWC_NUL_RETVAL_BUG + +/* Define if the mbrtowc function returns a wrong return value. */ +#undef MBRTOWC_RETVAL_BUG + +/* Define to 1 if you enable memory manager debugging. */ +#undef MM_DEBUG + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + 'ptrdiff_t'. */ +#undef PTRDIFF_T_SUFFIX + +/* Define if nl_langinfo exists but is overridden by gnulib. */ +#undef REPLACE_NL_LANGINFO + +/* Define this to 1 if strerror is broken. */ +#undef REPLACE_STRERROR + +/* Define if vasnprintf exists but is overridden by gnulib. */ +#undef REPLACE_VASNPRINTF + +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + 'sig_atomic_t'. */ +#undef SIG_ATOMIC_T_SUFFIX + +/* The size of `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +/* The size of `void *', as computed by sizeof. */ +#undef SIZEOF_VOID_P + +/* Define as the maximum value of type 'size_t', if the system doesn't define + it. */ +#ifndef SIZE_MAX +# undef SIZE_MAX +#endif + +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + 'size_t'. */ +#undef SIZE_T_SUFFIX + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to 1 if strerror_r returns char *. */ +#undef STRERROR_R_CHAR_P + +/* Define to the prefix of C symbols at the assembler and linker level, either + an underscore or empty. */ +#undef USER_LABEL_PREFIX + +/* Version number of package */ +#undef VERSION + +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + 'wchar_t'. */ +#undef WCHAR_T_SUFFIX + +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type + 'wint_t'. */ +#undef WINT_T_SUFFIX + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + +/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a + `char[]'. */ +#undef YYTEXT_POINTER + +/* Number of bits in a file offset, on hosts where this is settable. */ +#undef _FILE_OFFSET_BITS + +/* Define for large files, on AIX-style hosts. */ +#undef _LARGE_FILES + +/* Define to 1 if on MINIX. */ +#undef _MINIX + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +#undef _POSIX_1_SOURCE + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +#undef _POSIX_SOURCE + +/* Define if you want regoff_t to be at least as wide POSIX requires. */ +#undef _REGEX_LARGE_OFFSETS + +/* Define to 500 only on HP-UX. */ +#undef _XOPEN_SOURCE + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + +/* Define to rpl_ if the getopt replacement functions and variables should be + used. */ +#undef __GETOPT_PREFIX + +/* Define to a replacement function name for fnmatch(). */ +#undef fnmatch + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to long or long long if and don't define. */ +#undef intmax_t + +/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. + __APPLE__ && __MACH__ test for MacOS X. + __APPLE_CC__ tests for the Apple compiler and its version. + __STDC_VERSION__ tests for the C99 mode. */ +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ +# define __GNUC_STDC_INLINE__ 1 +#endif + +/* Define to a type if does not define. */ +#undef mbstate_t + +/* Define as the type of the result of subtracting two pointers, if the system + doesn't define it. */ +#undef ptrdiff_t + +/* Define to rpl_re_comp if the replacement should be used. */ +#undef re_comp + +/* Define to rpl_re_compile_fastmap if the replacement should be used. */ +#undef re_compile_fastmap + +/* Define to rpl_re_compile_pattern if the replacement should be used. */ +#undef re_compile_pattern + +/* Define to rpl_re_exec if the replacement should be used. */ +#undef re_exec + +/* Define to rpl_re_match if the replacement should be used. */ +#undef re_match + +/* Define to rpl_re_match_2 if the replacement should be used. */ +#undef re_match_2 + +/* Define to rpl_re_search if the replacement should be used. */ +#undef re_search + +/* Define to rpl_re_search_2 if the replacement should be used. */ +#undef re_search_2 + +/* Define to rpl_re_set_registers if the replacement should be used. */ +#undef re_set_registers + +/* Define to rpl_re_set_syntax if the replacement should be used. */ +#undef re_set_syntax + +/* Define to rpl_re_syntax_options if the replacement should be used. */ +#undef re_syntax_options + +/* Define to rpl_regcomp if the replacement should be used. */ +#undef regcomp + +/* Define to rpl_regerror if the replacement should be used. */ +#undef regerror + +/* Define to rpl_regexec if the replacement should be used. */ +#undef regexec + +/* Define to rpl_regfree if the replacement should be used. */ +#undef regfree + +/* Define to the equivalent of the C99 'restrict' keyword, or to + nothing if this is not supported. Do not define if restrict is + supported directly. */ +#undef restrict +/* Work around a bug in Sun C++: it does not support _Restrict or + __restrict__, even though the corresponding Sun C compiler ends up with + "#define restrict _Restrict" or "#define restrict __restrict__" in the + previous line. Perhaps some future version of Sun C++ will work with + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ +#if defined __SUNPRO_CC && !defined __RESTRICT +# define _Restrict +# define __restrict__ +#endif + +/* Define to `unsigned int' if does not define. */ +#undef size_t + +/* Define as a signed type of the same size as size_t. */ +#undef ssize_t + +/* Define as a marker that can be attached to declarations that might not + be used. This helps to reduce warnings, such as from + GCC -Wunused-parameter. */ +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) +# define _GL_UNUSED __attribute__ ((__unused__)) +#else +# define _GL_UNUSED +#endif +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name + is a misnomer outside of parameter lists. */ +#define _UNUSED_PARAMETER_ _GL_UNUSED + diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..3974ad7 --- /dev/null +++ b/config.h.in @@ -0,0 +1,46 @@ +#undef _LARGEFILE_SOURCE +#undef _FILE_OFFSET_BITS +#define _LARGEFILE_SOURCE +#define _FILE_OFFSET_BITS 64 +#if defined (GRUB_UTIL) || !defined (GRUB_MACHINE) +#include +#define NESTED_FUNC_ATTR +#else +/* Define if C symbols get an underscore after compilation. */ +#define HAVE_ASM_USCORE @HAVE_ASM_USCORE@ +/* Define it to \"addr32\" or \"addr32;\" to make GAS happy. */ +#define ADDR32 @ADDR32@ +/* Define it to \"data32\" or \"data32;\" to make GAS happy. */ +#define DATA32 @DATA32@ +/* Define it to one of __bss_start, edata and _edata. */ +#define BSS_START_SYMBOL @BSS_START_SYMBOL@ +/* Define it to either end or _end. */ +#define END_SYMBOL @END_SYMBOL@ +/* Name of package. */ +#define PACKAGE "@PACKAGE@" +/* Version number of package. */ +#define VERSION "@VERSION@" +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "@PACKAGE_STRING@" +/* Define to the version of this package. */ +#define PACKAGE_VERSION "@PACKAGE_VERSION@" +/* Define to the full name of this package. */ +#define PACKAGE_NAME "@PACKAGE_NAME@" +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" +/* Default boot directory name" */ +#define GRUB_BOOT_DIR_NAME "@bootdirname@" +/* Default grub directory name */ +#define GRUB_DIR_NAME "@grubdirname@" +/* Define to 1 if GCC generates calls to __enable_execute_stack(). */ +#define NEED_ENABLE_EXECUTE_STACK @NEED_ENABLE_EXECUTE_STACK@ +/* Define to 1 if GCC generates calls to __register_frame_info(). */ +#define NEED_REGISTER_FRAME_INFO @NEED_REGISTER_FRAME_INFO@ + +#if defined(__i386__) +#define NESTED_FUNC_ATTR __attribute__ ((__regparm__ (1))) +#else +#define NESTED_FUNC_ATTR +#endif + +#endif diff --git a/configure b/configure new file mode 100755 index 0000000..71c3a1a --- /dev/null +++ b/configure @@ -0,0 +1,24052 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.68 for GRUB 1.99. +# +# Report bugs to . +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-grub@gnu.org +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='GRUB' +PACKAGE_TARNAME='grub' +PACKAGE_VERSION='1.99' +PACKAGE_STRING='GRUB 1.99' +PACKAGE_BUGREPORT='bug-grub@gnu.org' +PACKAGE_URL='' + +ac_unique_file="include/grub/dl.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +gt_needs= +ac_func_list= +ac_header_list= +gl_fnmatch_required=POSIX +gl_getopt_required=POSIX +gl_getopt_required=POSIX +ac_subst_vars='gltests_LTLIBOBJS +gltests_LIBOBJS +gl_LTLIBOBJS +gl_LIBOBJS +am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +COND_CYGWIN_FALSE +COND_CYGWIN_TRUE +COND_HAVE_ASM_USCORE_FALSE +COND_HAVE_ASM_USCORE_TRUE +COND_ENABLE_EFIEMU_FALSE +COND_ENABLE_EFIEMU_TRUE +COND_APPLE_CC_FALSE +COND_APPLE_CC_TRUE +COND_GRUB_PE2ELF_FALSE +COND_GRUB_PE2ELF_TRUE +COND_HAVE_FONT_SOURCE_FALSE +COND_HAVE_FONT_SOURCE_TRUE +COND_GRUB_MKFONT_FALSE +COND_GRUB_MKFONT_TRUE +COND_GRUB_EMU_PCI_FALSE +COND_GRUB_EMU_PCI_TRUE +COND_GRUB_EMU_SDL_FALSE +COND_GRUB_EMU_SDL_TRUE +COND_GRUB_EMU_USB_FALSE +COND_GRUB_EMU_USB_TRUE +COND_MAN_PAGES_FALSE +COND_MAN_PAGES_TRUE +COND_HOST_KFREEBSD_FALSE +COND_HOST_KFREEBSD_TRUE +COND_HOST_WINDOWS_FALSE +COND_HOST_WINDOWS_TRUE +COND_HOST_NETBSD_FALSE +COND_HOST_NETBSD_TRUE +COND_HOST_LINUX_FALSE +COND_HOST_LINUX_TRUE +COND_HOST_HURD_FALSE +COND_HOST_HURD_TRUE +COND_mips_FALSE +COND_mips_TRUE +COND_powerpc_ieee1275_FALSE +COND_powerpc_ieee1275_TRUE +COND_sparc64_ieee1275_FALSE +COND_sparc64_ieee1275_TRUE +COND_mips_qemu_mips_FALSE +COND_mips_qemu_mips_TRUE +COND_mips_yeeloong_FALSE +COND_mips_yeeloong_TRUE +COND_x86_64_efi_FALSE +COND_x86_64_efi_TRUE +COND_i386_multiboot_FALSE +COND_i386_multiboot_TRUE +COND_i386_coreboot_FALSE +COND_i386_coreboot_TRUE +COND_i386_ieee1275_FALSE +COND_i386_ieee1275_TRUE +COND_i386_qemu_FALSE +COND_i386_qemu_TRUE +COND_i386_efi_FALSE +COND_i386_efi_TRUE +COND_i386_pc_FALSE +COND_i386_pc_TRUE +COND_emu_FALSE +COND_emu_TRUE +NEED_REGISTER_FRAME_INFO +NEED_ENABLE_EXECUTE_STACK +END_SYMBOL +BSS_START_SYMBOL +DATA32 +ADDR32 +HAVE_ASM_USCORE +USE_APPLE_CC_FIXES +GRUB_BOOT_MACHINE_LINK_ADDR +pkglibrootdir +LIBNVPAIR +LIBZFS +LIBLZMA +LIBGEOM +LIBDEVMAPPER +freetype_libs +freetype_cflags +enable_grub_mkfont +FREETYPE +enable_grub_emu_pci +enable_grub_emu_usb +enable_grub_emu_sdl +LIBPCIACCESS +LIBSDL +LIBUSB +LIBCURSES +enable_efiemu +HOST_CCASFLAGS +HOST_CPPFLAGS +HOST_LDFLAGS +HOST_CFLAGS +TARGET_IMG_BASE_LDOPT +TARGET_IMG_CFLAGS +TARGET_IMG_LDFLAGS +TARGET_IMG_LDSCRIPT +TARGET_CCASFLAGS +TARGET_CPPFLAGS +TARGET_LDFLAGS +TARGET_CFLAGS +TARGET_MODULE_FORMAT +TARGET_APPLE_CC +TARGET_OBJ2ELF +TARGET_CCAS +TARGET_CPP +OBJCONV +HOST_CC +NM +OBJCOPY +ac_ct_TARGET_CC +TARGET_CC +LIBGNU_LTLIBDEPS +LIBGNU_LIBDEPS +gltests_WITNESS +REPLACE_ISWCNTRL +HAVE_WCTYPE_H +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H +NEXT_WCTYPE_H +REPLACE_ISWBLANK +HAVE_ISWBLANK +HAVE_ISWCNTRL +HAVE_WINT_T +HAVE_WCHAR_H +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H +NEXT_WCHAR_H +HAVE_UNISTD_H +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H +NEXT_UNISTD_H +SYSEXITS_H +HAVE_SYSEXITS_H +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H +NEXT_SYSEXITS_H +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H +NEXT_SYS_WAIT_H +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H +NEXT_STRINGS_H +NEXT_AS_FIRST_DIRECTIVE_STRING_H +NEXT_STRING_H +HAVE_DECL_STRNCASECMP +HAVE_STRCASECMP +HAVE_RANDOM_H +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H +NEXT_STDLIB_H +NEXT_AS_FIRST_DIRECTIVE_STDIO_H +NEXT_STDIO_H +ASM_SYMBOL_PREFIX +STDINT_H +WINT_T_SUFFIX +WCHAR_T_SUFFIX +SIG_ATOMIC_T_SUFFIX +SIZE_T_SUFFIX +PTRDIFF_T_SUFFIX +HAVE_SIGNED_WINT_T +HAVE_SIGNED_WCHAR_T +HAVE_SIGNED_SIG_ATOMIC_T +BITSIZEOF_WINT_T +BITSIZEOF_WCHAR_T +BITSIZEOF_SIG_ATOMIC_T +BITSIZEOF_SIZE_T +BITSIZEOF_PTRDIFF_T +HAVE_SYS_BITYPES_H +HAVE_SYS_INTTYPES_H +HAVE_STDINT_H +NEXT_AS_FIRST_DIRECTIVE_STDINT_H +NEXT_STDINT_H +HAVE_SYS_TYPES_H +HAVE_INTTYPES_H +HAVE_UNSIGNED_LONG_LONG_INT +HAVE_LONG_LONG_INT +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H +NEXT_STDDEF_H +STDDEF_H +HAVE_WCHAR_T +REPLACE_NULL +HAVE__BOOL +STDBOOL_H +APPLE_UNIVERSAL_BUILD +UNDEFINE_STRTOK_R +REPLACE_STRTOK_R +REPLACE_STRSIGNAL +REPLACE_STRNLEN +REPLACE_STRNDUP +REPLACE_STRNCAT +REPLACE_STRERROR +REPLACE_STRCASESTR +REPLACE_STRSTR +REPLACE_STRDUP +REPLACE_STPNCPY +REPLACE_MEMMEM +REPLACE_MEMCHR +HAVE_STRVERSCMP +HAVE_DECL_STRSIGNAL +HAVE_DECL_STRTOK_R +HAVE_STRCASESTR +HAVE_STRSEP +HAVE_STRPBRK +HAVE_DECL_STRNLEN +HAVE_DECL_STRNDUP +HAVE_DECL_STRDUP +HAVE_STRCHRNUL +HAVE_STPNCPY +HAVE_STPCPY +HAVE_RAWMEMCHR +HAVE_DECL_MEMRCHR +HAVE_MEMPCPY +HAVE_DECL_MEMMEM +HAVE_MEMCHR +HAVE_MBSLEN +GNULIB_STRVERSCMP +GNULIB_STRSIGNAL +GNULIB_STRERROR +GNULIB_MBSTOK_R +GNULIB_MBSSEP +GNULIB_MBSSPN +GNULIB_MBSPBRK +GNULIB_MBSCSPN +GNULIB_MBSCASESTR +GNULIB_MBSPCASECMP +GNULIB_MBSNCASECMP +GNULIB_MBSCASECMP +GNULIB_MBSSTR +GNULIB_MBSRCHR +GNULIB_MBSCHR +GNULIB_MBSNLEN +GNULIB_MBSLEN +GNULIB_STRTOK_R +GNULIB_STRCASESTR +GNULIB_STRSTR +GNULIB_STRSEP +GNULIB_STRPBRK +GNULIB_STRNLEN +GNULIB_STRNDUP +GNULIB_STRNCAT +GNULIB_STRDUP +GNULIB_STRCHRNUL +GNULIB_STPNCPY +GNULIB_STPCPY +GNULIB_RAWMEMCHR +GNULIB_MEMRCHR +GNULIB_MEMPCPY +GNULIB_MEMMEM +GNULIB_MEMCHR +LOCALE_FR_UTF8 +LOCALE_ZH_CN +LOCALE_JA +REPLACE_UNSETENV +REPLACE_STRTOD +REPLACE_SETENV +REPLACE_REALPATH +REPLACE_REALLOC +REPLACE_PUTENV +REPLACE_MKSTEMP +REPLACE_MALLOC +REPLACE_CANONICALIZE_FILE_NAME +REPLACE_CALLOC +HAVE_UNSETENV +HAVE_UNLOCKPT +HAVE_SYS_LOADAVG_H +HAVE_STRUCT_RANDOM_DATA +HAVE_STRTOULL +HAVE_STRTOLL +HAVE_STRTOD +HAVE_SETENV +HAVE_RPMATCH +HAVE_REALPATH +HAVE_RANDOM_R +HAVE_PTSNAME +HAVE_MKSTEMPS +HAVE_MKSTEMP +HAVE_MKOSTEMPS +HAVE_MKOSTEMP +HAVE_MKDTEMP +HAVE_GRANTPT +HAVE_GETSUBOPT +HAVE_DECL_GETLOADAVG +HAVE_CANONICALIZE_FILE_NAME +HAVE_ATOLL +HAVE__EXIT +GNULIB_UNSETENV +GNULIB_UNLOCKPT +GNULIB_STRTOULL +GNULIB_STRTOLL +GNULIB_STRTOD +GNULIB_SETENV +GNULIB_RPMATCH +GNULIB_REALPATH +GNULIB_REALLOC_POSIX +GNULIB_RANDOM_R +GNULIB_PUTENV +GNULIB_PTSNAME +GNULIB_MKSTEMPS +GNULIB_MKSTEMP +GNULIB_MKOSTEMPS +GNULIB_MKOSTEMP +GNULIB_MKDTEMP +GNULIB_MALLOC_POSIX +GNULIB_GRANTPT +GNULIB_GETSUBOPT +GNULIB_GETLOADAVG +GNULIB_CANONICALIZE_FILE_NAME +GNULIB_CALLOC_POSIX +GNULIB_ATOLL +GNULIB__EXIT +LOCALCHARSET_TESTS_ENVIRONMENT +GLIBC21 +HAVE_LANGINFO_YESEXPR +HAVE_LANGINFO_ERA +HAVE_LANGINFO_T_FMT_AMPM +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_H +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H +NEXT_LANGINFO_H +REPLACE_NL_LANGINFO +HAVE_NL_LANGINFO +GNULIB_NL_LANGINFO +HAVE_GETOPT_H +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H +NEXT_GETOPT_H +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS +UNISTD_H_HAVE_WINSOCK2_H +REPLACE_WRITE +REPLACE_USLEEP +REPLACE_UNLINKAT +REPLACE_UNLINK +REPLACE_TTYNAME_R +REPLACE_SYMLINK +REPLACE_SLEEP +REPLACE_RMDIR +REPLACE_READLINK +REPLACE_PWRITE +REPLACE_PREAD +REPLACE_LSEEK +REPLACE_LINKAT +REPLACE_LINK +REPLACE_LCHOWN +REPLACE_GETPAGESIZE +REPLACE_GETGROUPS +REPLACE_GETCWD +REPLACE_FCHOWNAT +REPLACE_DUP2 +REPLACE_DUP +REPLACE_CLOSE +REPLACE_CHOWN +HAVE_SYS_PARAM_H +HAVE_OS_H +HAVE_DECL_GETUSERSHELL +HAVE_DECL_GETPAGESIZE +HAVE_DECL_GETLOGIN_R +HAVE_DECL_ENVIRON +HAVE_USLEEP +HAVE_UNLINKAT +HAVE_TTYNAME_R +HAVE_SYMLINKAT +HAVE_SYMLINK +HAVE_SLEEP +HAVE_READLINKAT +HAVE_READLINK +HAVE_PWRITE +HAVE_PREAD +HAVE_PIPE2 +HAVE_LINKAT +HAVE_LINK +HAVE_LCHOWN +HAVE_GETPAGESIZE +HAVE_GETLOGIN +HAVE_GETHOSTNAME +HAVE_GETGROUPS +HAVE_GETDTABLESIZE +HAVE_GETDOMAINNAME +HAVE_FTRUNCATE +HAVE_FSYNC +HAVE_FCHOWNAT +HAVE_FCHDIR +HAVE_FACCESSAT +HAVE_EUIDACCESS +HAVE_DUP3 +HAVE_DUP2 +HAVE_CHOWN +GNULIB_WRITE +GNULIB_USLEEP +GNULIB_UNLINKAT +GNULIB_UNLINK +GNULIB_UNISTD_H_SIGPIPE +GNULIB_UNISTD_H_GETOPT +GNULIB_TTYNAME_R +GNULIB_SYMLINKAT +GNULIB_SYMLINK +GNULIB_SLEEP +GNULIB_RMDIR +GNULIB_READLINKAT +GNULIB_READLINK +GNULIB_PWRITE +GNULIB_PREAD +GNULIB_PIPE2 +GNULIB_LSEEK +GNULIB_LINKAT +GNULIB_LINK +GNULIB_LCHOWN +GNULIB_GETUSERSHELL +GNULIB_GETPAGESIZE +GNULIB_GETLOGIN_R +GNULIB_GETLOGIN +GNULIB_GETHOSTNAME +GNULIB_GETGROUPS +GNULIB_GETDTABLESIZE +GNULIB_GETDOMAINNAME +GNULIB_GETCWD +GNULIB_FTRUNCATE +GNULIB_FSYNC +GNULIB_FCHOWNAT +GNULIB_FCHDIR +GNULIB_FACCESSAT +GNULIB_EUIDACCESS +GNULIB_ENVIRON +GNULIB_DUP3 +GNULIB_DUP2 +GNULIB_CLOSE +GNULIB_CHOWN +REPLACE_VSPRINTF +REPLACE_VSNPRINTF +REPLACE_VPRINTF +REPLACE_VFPRINTF +REPLACE_VDPRINTF +REPLACE_VASPRINTF +REPLACE_TMPFILE +REPLACE_STDIO_WRITE_FUNCS +REPLACE_SPRINTF +REPLACE_SNPRINTF +REPLACE_RENAMEAT +REPLACE_RENAME +REPLACE_REMOVE +REPLACE_PRINTF +REPLACE_POPEN +REPLACE_PERROR +REPLACE_OBSTACK_PRINTF +REPLACE_GETLINE +REPLACE_GETDELIM +REPLACE_FTELLO +REPLACE_FTELL +REPLACE_FSEEKO +REPLACE_FSEEK +REPLACE_FREOPEN +REPLACE_FPURGE +REPLACE_FPRINTF +REPLACE_FOPEN +REPLACE_FFLUSH +REPLACE_FCLOSE +REPLACE_DPRINTF +HAVE_VDPRINTF +HAVE_VASPRINTF +HAVE_RENAMEAT +HAVE_FTELLO +HAVE_FSEEKO +HAVE_DPRINTF +HAVE_DECL_VSNPRINTF +HAVE_DECL_SNPRINTF +HAVE_DECL_OBSTACK_PRINTF +HAVE_DECL_GETLINE +HAVE_DECL_GETDELIM +HAVE_DECL_FPURGE +GNULIB_VSPRINTF_POSIX +GNULIB_VSNPRINTF +GNULIB_VPRINTF_POSIX +GNULIB_VPRINTF +GNULIB_VFPRINTF_POSIX +GNULIB_VFPRINTF +GNULIB_VDPRINTF +GNULIB_VASPRINTF +GNULIB_TMPFILE +GNULIB_STDIO_H_SIGPIPE +GNULIB_SPRINTF_POSIX +GNULIB_SNPRINTF +GNULIB_RENAMEAT +GNULIB_RENAME +GNULIB_REMOVE +GNULIB_PUTS +GNULIB_PUTCHAR +GNULIB_PUTC +GNULIB_PRINTF_POSIX +GNULIB_PRINTF +GNULIB_POPEN +GNULIB_PERROR +GNULIB_OBSTACK_PRINTF_POSIX +GNULIB_OBSTACK_PRINTF +GNULIB_GETLINE +GNULIB_GETDELIM +GNULIB_FWRITE +GNULIB_FTELLO +GNULIB_FTELL +GNULIB_FSEEKO +GNULIB_FSEEK +GNULIB_FREOPEN +GNULIB_FPUTS +GNULIB_FPUTC +GNULIB_FPURGE +GNULIB_FPRINTF_POSIX +GNULIB_FPRINTF +GNULIB_FOPEN +GNULIB_FFLUSH +GNULIB_FCLOSE +GNULIB_DPRINTF +FNMATCH_H +FLOAT_H +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H +NEXT_FLOAT_H +EOVERFLOW_VALUE +EOVERFLOW_HIDDEN +ENOLINK_VALUE +ENOLINK_HIDDEN +EMULTIHOP_VALUE +EMULTIHOP_HIDDEN +ERRNO_H +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H +NEXT_ERRNO_H +PRAGMA_SYSTEM_HEADER +INCLUDE_NEXT_AS_FIRST_DIRECTIVE +INCLUDE_NEXT +LOCALE_FR +REPLACE_WCWIDTH +REPLACE_WCSNRTOMBS +REPLACE_WCSRTOMBS +REPLACE_WCRTOMB +REPLACE_MBSNRTOWCS +REPLACE_MBSRTOWCS +REPLACE_MBRLEN +REPLACE_MBRTOWC +REPLACE_MBSINIT +REPLACE_WCTOB +REPLACE_BTOWC +REPLACE_MBSTATE_T +HAVE_DECL_WCWIDTH +HAVE_DECL_WCTOB +HAVE_WCSNRTOMBS +HAVE_WCSRTOMBS +HAVE_WCRTOMB +HAVE_MBSNRTOWCS +HAVE_MBSRTOWCS +HAVE_MBRLEN +HAVE_MBRTOWC +HAVE_MBSINIT +HAVE_BTOWC +GNULIB_WCWIDTH +GNULIB_WCSNRTOMBS +GNULIB_WCSRTOMBS +GNULIB_WCRTOMB +GNULIB_MBSNRTOWCS +GNULIB_MBSRTOWCS +GNULIB_MBRLEN +GNULIB_MBRTOWC +GNULIB_MBSINIT +GNULIB_WCTOB +GNULIB_BTOWC +GETOPT_H +ALLOCA_H +ALLOCA +GL_COND_LIBTOOL_FALSE +GL_COND_LIBTOOL_TRUE +BUILD_CC +LIBUTIL +HELP2MAN +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +XGETTEXT_EXTRA_OPTIONS +MSGMERGE +XGETTEXT_015 +XGETTEXT +GMSGFMT_015 +MSGFMT_015 +GMSGFMT +MSGFMT +GETTEXT_MACRO_VERSION +USE_NLS +am__fastdepCCAS_FALSE +am__fastdepCCAS_TRUE +CCASDEPMODE +CCASFLAGS +CCAS +EGREP +GREP +CPP +LN_S +YFLAGS +LEXLIB +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +LEX_OUTPUT_ROOT +LEX +RANLIB +FONT_SOURCE +YACC +CMP +grubdirname +bootdirname +platform +host_kernel +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_os +target_vendor +target_cpu +target +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +with_platform +enable_dependency_tracking +enable_nls +with_gnu_ld +enable_rpath +with_libiconv_prefix +with_libintl_prefix +enable_largefile +with_included_regex +enable_werror +enable_efiemu +enable_mm_debug +enable_grub_emu_usb +enable_grub_emu_sdl +enable_grub_emu_pci +enable_grub_mkfont +enable_device_mapper +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +YACC +YFLAGS +CPP +CCAS +CCASFLAGS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures GRUB 1.99 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/grub] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of GRUB 1.99:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + --disable-largefile omit support for large files + --disable-werror do not use -Werror when building GRUB + --enable-efiemu build and install the efiemu runtimes + (default=guessed) + --enable-mm-debug include memory manager debugging + --enable-grub-emu-usb build and install the `grub-emu' debugging utility + with USB support (default=guessed) + --enable-grub-emu-sdl build and install the `grub-emu' debugging utility + with SDL support (default=guessed) + --enable-grub-emu-pci build and install the `grub-emu' debugging utility + with PCI support (potentially dangerous) + (default=no) + --enable-grub-mkfont build and install the `grub-mkfont' utility + (default=guessed) + --enable-device-mapper enable Linux device-mapper support (default=guessed) + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-platform=PLATFORM + select the host platform [[guessed]] + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --without-included-regex + don't compile regex; this is the default on systems + with recent-enough versions of the GNU C Library + (use with caution on other systems). + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + YACC The `Yet Another Compiler Compiler' implementation to use. + Defaults to the first program found out of: `bison -y', `byacc', + `yacc'. + YFLAGS The list of arguments that will be passed by default to $YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. + CPP C preprocessor + CCAS assembler compiler command (defaults to CC) + CCASFLAGS assembler compiler flags (defaults to CFLAGS) + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +GRUB configure 1.99 +generated by GNU Autoconf 2.68 + +Copyright (C) 2010 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------- ## +## Report this to bug-grub@gnu.org ## +## ------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +# -------------------------------------------- +# Tries to find the compile-time value of EXPR in a program that includes +# INCLUDES, setting VAR accordingly. Returns whether the value could be +# computed +ac_fn_c_compute_int () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array [1 - 2 * !(($2) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=0 ac_mid=0 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid; break +else + as_fn_arith $ac_mid + 1 && ac_lo=$as_val + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array [1 - 2 * !(($2) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=-1 ac_mid=-1 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array [1 - 2 * !(($2) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=$ac_mid; break +else + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + ac_lo= ac_hi= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid +else + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in #(( +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +'') ac_retval=1 ;; +esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } +#include +#include +int +main (void) +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (($2) < 0) + { + long int i = longval (); + if (i != ($2)) + return 1; + fprintf (f, "%ld", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ($2)) + return 1; + fprintf (f, "%lu", i); + } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + echo >>conftest.val; read $3 &5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main (void) +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES +# ---------------------------------------------------- +# Tries to find if the field MEMBER exists in type AGGR, after including +# INCLUDES, setting cache variable VAR accordingly. +ac_fn_c_check_member () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +$as_echo_n "checking for $2.$3... " >&6; } +if eval \${$4+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main (void) +{ +static $2 ac_aggr; +if (ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main (void) +{ +static $2 ac_aggr; +if (sizeof ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + eval "$4=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_member + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type + +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +# --------------------------------------------- +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +# accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +#ifndef $as_decl_name +#ifdef __cplusplus + (void) $as_decl_use; +#else + (void) $as_decl_name; +#endif +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_decl +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by GRUB $as_me 1.99, which was +generated by GNU Autoconf 2.68. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +gt_needs="$gt_needs " +as_fn_append ac_func_list " flockfile" +as_fn_append ac_func_list " funlockfile" +as_fn_append ac_header_list " features.h" +as_fn_append ac_header_list " linewrap.h" +as_fn_append ac_func_list " btowc" +as_fn_append ac_header_list " errno.h" +as_fn_append ac_header_list " float.h" +as_fn_append ac_func_list " isblank" +as_fn_append ac_func_list " iswctype" +as_fn_append ac_func_list " mbsrtowcs" +as_fn_append ac_func_list " mempcpy" +as_fn_append ac_func_list " wmemchr" +as_fn_append ac_func_list " wmemcpy" +as_fn_append ac_func_list " wmempcpy" +as_fn_append ac_header_list " wctype.h" +as_fn_append ac_func_list " getdelim" +gl_getopt_required=GNU +as_fn_append ac_header_list " getopt.h" +as_fn_append ac_header_list " langinfo.h" +as_fn_append ac_func_list " mbsinit" +as_fn_append ac_func_list " mbrtowc" +as_fn_append ac_header_list " sys/mman.h" +as_fn_append ac_func_list " mprotect" +as_fn_append ac_func_list " memchr" +as_fn_append ac_func_list " nl_langinfo" +as_fn_append ac_header_list " locale.h" +as_fn_append ac_func_list " wcscoll" +as_fn_append ac_func_list " sleep" +as_fn_append ac_header_list " stddef.h" +as_fn_append ac_header_list " stdint.h" +as_fn_append ac_header_list " wchar.h" +as_fn_append ac_header_list " stdio.h" +as_fn_append ac_header_list " stdlib.h" +as_fn_append ac_header_list " sys/socket.h" +as_fn_append ac_header_list " string.h" +as_fn_append ac_header_list " strings.h" +as_fn_append ac_func_list " strndup" +as_fn_append ac_header_list " sys/wait.h" +as_fn_append ac_header_list " sysexits.h" +as_fn_append ac_header_list " unistd.h" +as_fn_append ac_func_list " vasnprintf" +as_fn_append ac_func_list " wcrtomb" +as_fn_append ac_func_list " iswcntrl" +as_fn_append ac_func_list " iswblank" +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_aux_dir= +for ac_dir in build-aux "$srcdir"/build-aux; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +# We don't want -g -O2 by default in CFLAGS +: ${CFLAGS=""} + +# Checks for host and target systems. +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 +$as_echo_n "checking target system type... " >&6; } +if ${ac_cv_target+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$target_alias" = x; then + ac_cv_target=$ac_cv_host +else + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 +$as_echo "$ac_cv_target" >&6; } +case $ac_cv_target in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; +esac +target=$ac_cv_target +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_target +shift +target_cpu=$1 +target_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +target_os=$* +IFS=$ac_save_IFS +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac + + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- + +am__api_version='1.11' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='grub' + VERSION='1.99' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + + + +ac_config_headers="$ac_config_headers config-util.h" + + +# Program name transformations + + +# Optimization flag. Allow user to override. +if test "x$TARGET_CFLAGS" = x; then + TARGET_CFLAGS="$TARGET_CFLAGS -Os" +fi + +# Default HOST_CPPFLAGS +HOST_CPPFLAGS="$HOST_CPPFLAGS -Wall -W" +HOST_CPPFLAGS="$HOST_CPPFLAGS -I\$(top_builddir)/include" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_UTIL=1" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_LIBDIR=\\\"\$(pkglibdir)\\\"" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DLOCALEDIR=\\\"\$(localedir)\\\"" + +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -Wall -W" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_srcdir)/include" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include" + +case "$target_cpu" in + i[3456]86) target_cpu=i386 ;; + amd64) target_cpu=x86_64 ;; + sparc) target_cpu=sparc64 ;; + mipsel|mips64el) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPSEL=1"; + ;; + mips|mips64) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPS=1"; + ;; +esac + +# Specify the platform (such as firmware). + +# Check whether --with-platform was given. +if test "${with_platform+set}" = set; then : + withval=$with_platform; +fi + + +# Guess the platform if not specified. +if test "x$with_platform" = x; then + case "$target_cpu"-"$target_vendor" in + i386-apple) platform=efi ;; + i386-*) platform=pc ;; + x86_64-apple) platform=efi ;; + x86_64-*) platform=pc ;; + powerpc-*) platform=ieee1275 ;; + powerpc64-*) platform=ieee1275 ;; + sparc64-*) platform=ieee1275 ;; + mips-*) platform=yeeloong ;; + *) as_fn_error $? "unsupported CPU: \"$target_cpu\"" "$LINENO" 5 ;; + esac +else + platform="$with_platform" +fi + +case "$target_cpu"-"$platform" in + x86_64-efi) ;; + x86_64-emu) ;; + x86_64-*) target_cpu=i386 ;; + powerpc64-ieee1275) target_cpu=powerpc ;; +esac + +# Check if the platform is supported, make final adjustments. +case "$target_cpu"-"$platform" in + i386-efi) ;; + x86_64-efi) ;; + i386-pc) ;; + i386-multiboot) ;; + i386-coreboot) ;; + i386-linuxbios) platform=coreboot ;; + i386-ieee1275) ;; + i386-qemu) ;; + powerpc-ieee1275) ;; + sparc64-ieee1275) ;; + mips-qemu-mips) ;; + mips-yeeloong) ;; + *-emu) ;; + *) as_fn_error $? "platform \"$platform\" is not supported for target CPU \"$target_cpu\"" "$LINENO" 5 ;; +esac + +case "$target_cpu" in + i386 | powerpc) target_m32=1 ;; + x86_64 | sparc64) target_m64=1 ;; +esac + +case "$host_os" in + mingw32*) host_os=cygwin ;; +esac + +# This normalizes the names, and creates a new variable ("host_kernel") +# while at it, since the mapping is not always 1:1 (e.g. different OSes +# using the same kernel type). +case "$host_os" in + gnu*) host_kernel=hurd ;; + linux*) host_kernel=linux ;; + freebsd* | kfreebsd*-gnu) host_kernel=kfreebsd ;; + netbsd*) host_kernel=netbsd ;; + cygwin) host_kernel=windows ;; +esac + +case "$platform" in + coreboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_COREBOOT=1" ;; + multiboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MULTIBOOT=1" ;; + efi) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EFI=1" ;; + ieee1275) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_IEEE1275=1" ;; + qemu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_QEMU=1" ;; + pc) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_PCBIOS=1" ;; + emu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EMU=1" ;; + yeeloong) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_YEELOONG=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; + qemu-mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_QEMU_MIPS=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; +esac +case "$target_cpu" in + mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS=1" ;; + sparc64) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_SPARC64=1" ;; +esac +machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE=`echo ${target_cpu}_$platform | sed y,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,`" + +HOST_CPPFLAGS="$HOST_CPPFLAGS $machine_CPPFLAGS" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS $machine_CPPFLAGS" + + + + + + + + +# Define default variables +case "$host_os" in + netbsd* | openbsd*) + # Because /boot is used for the boot block in NetBSD and OpenBSD, + bootdirname='' ;; + *) bootdirname='boot' ;; +esac +bootdirname=`echo "$bootdirname" | sed "$program_transform_name"` + + +cat >>confdefs.h <<_ACEOF +#define GRUB_BOOT_DIR_NAME "$bootdirname" +_ACEOF + + +grubdirname=`echo "$PACKAGE" | sed "$program_transform_name"` + + +cat >>confdefs.h <<_ACEOF +#define GRUB_DIR_NAME "$grubdirname" +_ACEOF + + +# +# Checks for build programs. +# + +# Although cmp is listed in the GNU Coding Standards as a command which +# can used directly, OpenBSD lacks cmp in the default installation. +for ac_prog in cmp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CMP"; then + ac_cv_prog_CMP="$CMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CMP="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CMP=$ac_cv_prog_CMP +if test -n "$CMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5 +$as_echo "$CMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CMP" && break +done + +if test "x$CMP" = x; then + as_fn_error $? "cmp is not found" "$LINENO" 5 +fi + +for ac_prog in bison +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done + +if test "x$YACC" = x; then + as_fn_error $? "bison is not found" "$LINENO" 5 +fi + +FONT_SOURCE= + +for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do + for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont; do + if test -f "$dir/unifont.$ext"; then + FONT_SOURCE="$dir/unifont.$ext" + break 2 + fi + done +done + +if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then + as_fn_error $? "qemu and yeeloong ports need unifont" "$LINENO" 5 +fi + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +for ac_prog in flex lex +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LEX+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LEX="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LEX=$ac_cv_prog_LEX +if test -n "$LEX"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 +$as_echo "$LEX" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$LEX" && break +done +test -n "$LEX" || LEX=":" + +if test "x$LEX" != "x:"; then + cat >conftest.l <<_ACEOF +%% +a { ECHO; } +b { REJECT; } +c { yymore (); } +d { yyless (1); } +e { yyless (input () != 0); } +f { unput (yytext[0]); } +. { BEGIN INITIAL; } +%% +#ifdef YYTEXT_POINTER +extern char *yytext; +#endif +int +main (void) +{ + return ! yylex () + ! yywrap (); +} +_ACEOF +{ { ac_try="$LEX conftest.l" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$LEX conftest.l") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 +$as_echo_n "checking lex output file root... " >&6; } +if ${ac_cv_prog_lex_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + +if test -f lex.yy.c; then + ac_cv_prog_lex_root=lex.yy +elif test -f lexyy.c; then + ac_cv_prog_lex_root=lexyy +else + as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 +$as_echo "$ac_cv_prog_lex_root" >&6; } +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root + +if test -z "${LEXLIB+set}"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 +$as_echo_n "checking lex library... " >&6; } +if ${ac_cv_lib_lex+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_save_LIBS=$LIBS + ac_cv_lib_lex='none needed' + for ac_lib in '' -lfl -ll; do + LIBS="$ac_lib $ac_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +`cat $LEX_OUTPUT_ROOT.c` +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_lex=$ac_lib +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + test "$ac_cv_lib_lex" != 'none needed' && break + done + LIBS=$ac_save_LIBS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 +$as_echo "$ac_cv_lib_lex" >&6; } + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 +$as_echo_n "checking whether yytext is a pointer... " >&6; } +if ${ac_cv_prog_lex_yytext_pointer+:} false; then : + $as_echo_n "(cached) " >&6 +else + # POSIX says lex can declare yytext either as a pointer or an array; the +# default is implementation-dependent. Figure out which it is, since +# not all implementations provide the %pointer and %array declarations. +ac_cv_prog_lex_yytext_pointer=no +ac_save_LIBS=$LIBS +LIBS="$LEXLIB $ac_save_LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define YYTEXT_POINTER 1 +`cat $LEX_OUTPUT_ROOT.c` +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_prog_lex_yytext_pointer=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_save_LIBS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 +$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } +if test $ac_cv_prog_lex_yytext_pointer = yes; then + +$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h + +fi +rm -f conftest.l $LEX_OUTPUT_ROOT.c + +fi +for ac_prog in 'bison -y' byacc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done +test -n "$YACC" || YACC="yacc" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + + +if test "x$LEX" = "x:"; then + as_fn_error $? "flex is not found" "$LINENO" 5 +else + version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[1]*10000+x[2]*100+x[3]; }'` + if test -n "$version" -a "$version" -ge 20535; then + : + else + as_fn_error $? "flex is too old. GRUB requires 2.5.35 or above" "$LINENO" 5 + fi +fi + +# These are not a "must". +for ac_prog in makeinfo true +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MAKEINFO+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAKEINFO in + [\\/]* | ?:[\\/]*) + ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MAKEINFO=$ac_cv_path_MAKEINFO +if test -n "$MAKEINFO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5 +$as_echo "$MAKEINFO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$MAKEINFO" && break +done + + +# +# Checks for host programs. +# + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main (void) +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = xyes; then : + MINIX=yes +else + MINIX= +fi + + + if test "$MINIX" = yes; then + +$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h + + +$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h + + +$as_echo "#define _MINIX 1" >>confdefs.h + + fi + + case "$host_os" in + hpux*) + +$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h + + ;; + esac + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if ${ac_cv_safe_to_define___extensions__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes +else + ac_cv_safe_to_define___extensions__=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + + $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h + + + + + + + + + + + # Code from module alloca: + # Code from module alloca-opt: + # Code from module arg-nonnull: + # Code from module argp: + # Code from module btowc: + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + # Code from module double-slash-root: + # Code from module errno: + # Code from module error: + # Code from module extensions: + + # Code from module float: + # Code from module fnmatch: + # Code from module getdelim: + # Code from module getline: + # Code from module getopt-gnu: + # Code from module getopt-posix: + # Code from module gettext: + # Code from module gettext-h: + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + # Code from module localcharset: + # Code from module malloc-gnu: + # Code from module malloc-posix: + # Code from module mbrtowc: + # Code from module mbsinit: + # Code from module mbsrtowcs: + # Code from module memchr: + # Code from module mempcpy: + # Code from module multiarch: + # Code from module nl_langinfo: + # Code from module progname: + # Code from module rawmemchr: + # Code from module realloc-posix: + # Code from module regex: + # Code from module size_max: + # Code from module sleep: + # Code from module ssize_t: + # Code from module stdbool: + # Code from module stddef: + # Code from module stdint: + # Code from module stdio: + # Code from module stdlib: + # Code from module strcase: + # Code from module strchrnul: + # Code from module streq: + # Code from module strerror: + # Code from module string: + # Code from module strings: + # Code from module strndup: + # Code from module strnlen: + # Code from module strnlen1: + # Code from module sys_wait: + # Code from module sysexits: + # Code from module unistd: + # Code from module vasnprintf: + # Code from module verify: + # Code from module vsnprintf: + # Code from module warn-on-use: + # Code from module wchar: + # Code from module wcrtomb: + # Code from module wctype: + # Code from module xsize: + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 +$as_echo_n "checking whether cc understands -c and -o together... " >&6; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && + test -f conftest2.$ac_objext && { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + +# By default we simply use the C compiler to build assembly code. + +test "${CCAS+set}" = set || CCAS=$CC +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS + + + +depcc="$CCAS" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CCAS_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CCAS_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CCAS_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } +CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then + am__fastdepCCAS_TRUE= + am__fastdepCCAS_FALSE='#' +else + am__fastdepCCAS_TRUE='#' + am__fastdepCCAS_FALSE= +fi + + + +# Must be GCC. +test "x$GCC" = xyes || as_fn_error $? "GCC is required" "$LINENO" 5 + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + GETTEXT_MACRO_VERSION=0.18 + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; + *) MSGFMT_015=$MSGFMT ;; + esac + + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; + *) GMSGFMT_015=$GMSGFMT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; + *) XGETTEXT_015=$XGETTEXT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$localedir" || localedir='${datadir}/locale' + + + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= + + + ac_config_commands="$ac_config_commands po-directories" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + acl_libdirstem=lib + acl_libdirstem2= + case "$host_os" in + solaris*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +$as_echo_n "checking for 64-bit host... " >&6; } +if ${gl_cv_solaris_64bit+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef _LP64 +sixtyfour bits +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + gl_cv_solaris_64bit=yes +else + gl_cv_solaris_64bit=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +$as_echo "$gl_cv_solaris_64bit" >&6; } + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; + esac + fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" + + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + LIBICONV_PREFIX= + HAVE_LIBICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + if test "$cross_compiling" = yes; then : + + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +int main () +{ + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful + returns. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + return 1; + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + const char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + return 1; + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + return 1; + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + if (/* Try standardized names. */ + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) + /* Try IRIX, OSF/1 names. */ + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) + /* Try AIX names. */ + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) + /* Try HP-UX names. */ + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +else + am_cv_func_iconv_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + LIBINTL_PREFIX= + HAVE_LIBINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main (void) +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + +# Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi +fi + + +# Identify characteristics of the host architecture. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main (void) +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +$as_echo_n "checking size of void *... " >&6; } +if ${ac_cv_sizeof_void_p+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_void_p" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (void *) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_void_p=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +$as_echo "$ac_cv_sizeof_void_p" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +$as_echo_n "checking size of long... " >&6; } +if ${ac_cv_sizeof_long+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler is apple cc" >&5 +$as_echo_n "checking whether our compiler is apple cc... " >&6; } +if ${grub_cv_apple_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_cc=yes +else + grub_cv_apple_cc=no +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_apple_cc" >&5 +$as_echo "$grub_cv_apple_cc" >&6; } +if test x$grub_cv_apple_cc = xyes ; then + HOST_CPPFLAGS="$HOST_CPPFLAGS -DAPPLE_CC=1" + HOST_CFLAGS="$HOST_CFLAGS -fnested-functions" +fi + +if test "x$cross_compiling" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot generate manual pages while cross compiling" >&5 +$as_echo "$as_me: WARNING: cannot generate manual pages while cross compiling" >&2;} +else + # Extract the first word of "help2man", so it can be a program name with args. +set dummy help2man; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_HELP2MAN+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $HELP2MAN in + [\\/]* | ?:[\\/]*) + ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +HELP2MAN=$ac_cv_path_HELP2MAN +if test -n "$HELP2MAN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5 +$as_echo "$HELP2MAN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi + +# Check for functions and headers. +for ac_func in posix_memalign memalign asprintf vasprintf getextmntent +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +for ac_header in libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "$ac_includes_default +#include +#include +" +if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1 +_ACEOF + + +fi + + +ac_fn_c_check_member "$LINENO" "struct statfs" "f_mntfromname" "ac_cv_member_struct_statfs_f_mntfromname" "$ac_includes_default +#include +#include +" +if test "x$ac_cv_member_struct_statfs_f_mntfromname" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STATFS_F_MNTFROMNAME 1 +_ACEOF + + +fi + + +# For opendisk() and getrawpartition() on NetBSD. +# Used in util/deviceiter.c and in util/hostdisk.c. +ac_fn_c_check_header_mongrel "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default" +if test "x$ac_cv_header_util_h" = xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opendisk in -lutil" >&5 +$as_echo_n "checking for opendisk in -lutil... " >&6; } +if ${ac_cv_lib_util_opendisk+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char opendisk (); +int +main (void) +{ +return opendisk (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_opendisk=yes +else + ac_cv_lib_util_opendisk=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_opendisk" >&5 +$as_echo "$ac_cv_lib_util_opendisk" >&6; } +if test "x$ac_cv_lib_util_opendisk" = xyes; then : + + LIBUTIL="-lutil" + +$as_echo "#define HAVE_OPENDISK 1" >>confdefs.h + + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5 +$as_echo_n "checking for getrawpartition in -lutil... " >&6; } +if ${ac_cv_lib_util_getrawpartition+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char getrawpartition (); +int +main (void) +{ +return getrawpartition (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_getrawpartition=yes +else + ac_cv_lib_util_getrawpartition=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getrawpartition" >&5 +$as_echo "$ac_cv_lib_util_getrawpartition" >&6; } +if test "x$ac_cv_lib_util_getrawpartition" = xyes; then : + + LIBUTIL="-lutil" + +$as_echo "#define HAVE_GETRAWPARTITION 1" >>confdefs.h + + +fi + + +fi + + + + +# +# Check for host and build compilers. +# +HOST_CC=$CC +for ac_prog in gcc egcs cc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_BUILD_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$BUILD_CC"; then + ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_BUILD_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +BUILD_CC=$ac_cv_prog_BUILD_CC +if test -n "$BUILD_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5 +$as_echo "$BUILD_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$BUILD_CC" && break +done +test -n "$BUILD_CC" || BUILD_CC="as_fn_error $? "none of gcc, egcs and cc is found. set BUILD_CC manually." "$LINENO" 5" + + +# For gnulib. + + + + + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ + +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +if test "x$ac_cv_type_size_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 +$as_echo_n "checking for working alloca.h... " >&6; } +if ${ac_cv_working_alloca_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +char *p = (char *) alloca (2 * sizeof (int)); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_working_alloca_h=yes +else + ac_cv_working_alloca_h=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 +$as_echo "$ac_cv_working_alloca_h" >&6; } +if test $ac_cv_working_alloca_h = yes; then + +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 +$as_echo_n "checking for alloca... " >&6; } +if ${ac_cv_func_alloca_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# ifdef HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +void *alloca (size_t); +# endif +# endif +# endif +# endif +#endif + +int +main (void) +{ +char *p = (char *) alloca (1); + if (p) return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_alloca_works=yes +else + ac_cv_func_alloca_works=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 +$as_echo "$ac_cv_func_alloca_works" >&6; } + +if test $ac_cv_func_alloca_works = yes; then + +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + + + + + +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +$as_echo "#define C_ALLOCA 1" >>confdefs.h + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } +if ${ac_cv_os_cray+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined CRAY && ! defined CRAY2 +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then : + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 +$as_echo "$ac_cv_os_cray" >&6; } +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 +$as_echo_n "checking stack direction for C alloca... " >&6; } +if ${ac_cv_c_stack_direction+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_c_stack_direction=0 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + return find_stack_direction () < 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_stack_direction=1 +else + ac_cv_c_stack_direction=-1 +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 +$as_echo "$ac_cv_c_stack_direction" >&6; } +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 +$as_echo_n "checking for C/C++ restrict keyword... " >&6; } +if ${ac_cv_c_restrict+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_restrict=no + # The order here caters to the fact that C++ does not require restrict. + for ac_kw in __restrict __restrict__ _Restrict restrict; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +typedef int * int_ptr; + int foo (int_ptr $ac_kw ip) { + return ip[0]; + } +int +main (void) +{ +int s[1]; + int * $ac_kw t = s; + t[0] = 0; + return foo(t) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_restrict=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_restrict" != no && break + done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 +$as_echo "$ac_cv_c_restrict" >&6; } + + case $ac_cv_c_restrict in + restrict) ;; + no) $as_echo "#define restrict /**/" >>confdefs.h + ;; + *) cat >>confdefs.h <<_ACEOF +#define restrict $ac_cv_c_restrict +_ACEOF + ;; + esac + +ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" +if test "x$ac_cv_have_decl_getenv" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETENV $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl +_ACEOF + +ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl +_ACEOF + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + for ac_header in $ac_header_list +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + XGETTEXT_EXTRA_OPTIONS= + + + GNULIB_BTOWC=0; + GNULIB_WCTOB=0; + GNULIB_MBSINIT=0; + GNULIB_MBRTOWC=0; + GNULIB_MBRLEN=0; + GNULIB_MBSRTOWCS=0; + GNULIB_MBSNRTOWCS=0; + GNULIB_WCRTOMB=0; + GNULIB_WCSRTOMBS=0; + GNULIB_WCSNRTOMBS=0; + GNULIB_WCWIDTH=0; + HAVE_BTOWC=1; + HAVE_MBSINIT=1; + HAVE_MBRTOWC=1; + HAVE_MBRLEN=1; + HAVE_MBSRTOWCS=1; + HAVE_MBSNRTOWCS=1; + HAVE_WCRTOMB=1; + HAVE_WCSRTOMBS=1; + HAVE_WCSNRTOMBS=1; + HAVE_DECL_WCTOB=1; + HAVE_DECL_WCWIDTH=1; + REPLACE_MBSTATE_T=0; + REPLACE_BTOWC=0; + REPLACE_WCTOB=0; + REPLACE_MBSINIT=0; + REPLACE_MBRTOWC=0; + REPLACE_MBRLEN=0; + REPLACE_MBSRTOWCS=0; + REPLACE_MBSNRTOWCS=0; + REPLACE_WCRTOMB=0; + REPLACE_WCSRTOMBS=0; + REPLACE_WCSNRTOMBS=0; + REPLACE_WCWIDTH=0; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether uses 'inline' correctly" >&5 +$as_echo_n "checking whether uses 'inline' correctly... " >&6; } +if ${gl_cv_header_wchar_h_correct_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + gl_cv_header_wchar_h_correct_inline=yes + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define wcstod renamed_wcstod +#include +extern int zero (void); +int main () { return zero(); } + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + mv conftest.$ac_objext conftest1.$ac_objext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define wcstod renamed_wcstod +#include +int zero (void) { return 0; } + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + mv conftest.$ac_objext conftest2.$ac_objext + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then + : + else + gl_cv_header_wchar_h_correct_inline=no + fi + fi + fi + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 +$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } + if test $gl_cv_header_wchar_h_correct_inline = no; then + as_fn_error $? " cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in +C99 mode. You have four options: + - Add the flag -fgnu89-inline to CC and reconfigure, or + - Fix your include files, using parts of + , or + - Use a gcc version older than 4.3, or + - Don't use the flags -std=c99 or -std=gnu99. +Configuration aborted." "$LINENO" 5 + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 +$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } +if ${am_cv_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +char* cs = nl_langinfo(CODESET); return !cs; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_langinfo_codeset=yes +else + am_cv_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 +$as_echo "$am_cv_langinfo_codeset" >&6; } + if test $am_cv_langinfo_codeset = yes; then + +$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5 +$as_echo_n "checking for a traditional french locale... " >&6; } +if ${gt_cv_locale_fr+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only + one byte long. This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1; + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO-8859-1 + else + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.ISO8859-1 + else + # Test for the HP-UX locale name. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr_FR.iso88591 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr=fr + else + # None found. + gt_cv_locale_fr=none + fi + fi + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5 +$as_echo "$gt_cv_locale_fr" >&6; } + LOCALE_FR=$gt_cv_locale_fr + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system is Windows or MSDOS" >&5 +$as_echo_n "checking whether system is Windows or MSDOS... " >&6; } +if ${ac_cv_win_or_dos+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + +#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__ +neither MSDOS nor Windows +#endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_win_or_dos=yes +else + ac_cv_win_or_dos=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_win_or_dos" >&5 +$as_echo "$ac_cv_win_or_dos" >&6; } + + if test x"$ac_cv_win_or_dos" = xyes; then + ac_fs_accepts_drive_letter_prefix=1 + ac_fs_backslash_is_file_name_separator=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether drive letter can start relative path" >&5 +$as_echo_n "checking whether drive letter can start relative path... " >&6; } +if ${ac_cv_drive_letter_can_be_relative+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + +#if defined __CYGWIN__ +drive letters are always absolute +#endif + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_drive_letter_can_be_relative=yes +else + ac_cv_drive_letter_can_be_relative=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_drive_letter_can_be_relative" >&5 +$as_echo "$ac_cv_drive_letter_can_be_relative" >&6; } + if test x"$ac_cv_drive_letter_can_be_relative" = xyes; then + ac_fs_drive_letter_can_be_relative=1 + else + ac_fs_drive_letter_can_be_relative=0 + fi + else + ac_fs_accepts_drive_letter_prefix=0 + ac_fs_backslash_is_file_name_separator=0 + ac_fs_drive_letter_can_be_relative=0 + fi + + +cat >>confdefs.h <<_ACEOF +#define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix +_ACEOF + + + + + +cat >>confdefs.h <<_ACEOF +#define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator +_ACEOF + + + +cat >>confdefs.h <<_ACEOF +#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE $ac_fs_drive_letter_can_be_relative +_ACEOF + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +$as_echo_n "checking whether // is distinct from /... " >&6; } +if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +$as_echo "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then + +$as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } +if ${gl_cv_have_include_next+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -rf conftestd1a conftestd1b conftestd2 + mkdir conftestd1a conftestd1b conftestd2 + cat < conftestd1a/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd1b/conftest.h +#define DEFINED_IN_CONFTESTD1 +#include +#include_next +#ifdef DEFINED_IN_CONFTESTD2 +int foo; +#else +#error "include_next doesn't work" +#endif +EOF + cat < conftestd2/conftest.h +#ifndef DEFINED_IN_CONFTESTD1 +#error "include_next test doesn't work" +#endif +#define DEFINED_IN_CONFTESTD2 +EOF + gl_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=yes +else + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_have_include_next=buggy +else + gl_cv_have_include_next=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$gl_save_CPPFLAGS" + rm -rf conftestd1a conftestd1b conftestd2 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 +$as_echo "$gl_cv_have_include_next" >&6; } + PRAGMA_SYSTEM_HEADER= + if test $gl_cv_have_include_next = yes; then + INCLUDE_NEXT=include_next + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + if test -n "$GCC"; then + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' + fi + else + if test $gl_cv_have_include_next = buggy; then + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next + else + INCLUDE_NEXT=include + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include + fi + fi + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 +$as_echo_n "checking for complete errno.h... " >&6; } +if ${gl_cv_header_errno_h_complete+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if !defined ENOMSG +booboo +#endif +#if !defined EIDRM +booboo +#endif +#if !defined ENOLINK +booboo +#endif +#if !defined EPROTO +booboo +#endif +#if !defined EMULTIHOP +booboo +#endif +#if !defined EBADMSG +booboo +#endif +#if !defined EOVERFLOW +booboo +#endif +#if !defined ENOTSUP +booboo +#endif +#if !defined ESTALE +booboo +#endif +#if !defined ECANCELED +booboo +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "booboo" >/dev/null 2>&1; then : + gl_cv_header_errno_h_complete=no +else + gl_cv_header_errno_h_complete=yes +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 +$as_echo "$gl_cv_header_errno_h_complete" >&6; } + if test $gl_cv_header_errno_h_complete = yes; then + ERRNO_H='' + else + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_errno_h='<'errno.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_errno_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_errno_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/errno.h#{ + s#.*"\(.*/errno.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_errno_h='<'errno.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 +$as_echo "$gl_cv_next_errno_h" >&6; } + fi + NEXT_ERRNO_H=$gl_cv_next_errno_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'errno.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_errno_h + fi + NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive + + + + ERRNO_H='errno.h' + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 +$as_echo_n "checking for EMULTIHOP value... " >&6; } +if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef EMULTIHOP +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=yes +else + gl_cv_header_errno_h_EMULTIHOP=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef EMULTIHOP +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EMULTIHOP=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then + if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 +$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } + case $gl_cv_header_errno_h_EMULTIHOP in + yes | no) + EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= + ;; + *) + EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" + ;; + esac + + + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 +$as_echo_n "checking for ENOLINK value... " >&6; } +if ${gl_cv_header_errno_h_ENOLINK+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef ENOLINK +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_ENOLINK=yes +else + gl_cv_header_errno_h_ENOLINK=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_ENOLINK = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef ENOLINK +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_ENOLINK=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_ENOLINK = hidden; then + if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 +$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } + case $gl_cv_header_errno_h_ENOLINK in + yes | no) + ENOLINK_HIDDEN=0; ENOLINK_VALUE= + ;; + *) + ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" + ;; + esac + + + fi + + + if test -n "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 +$as_echo_n "checking for EOVERFLOW value... " >&6; } +if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef EOVERFLOW +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EOVERFLOW=yes +else + gl_cv_header_errno_h_EOVERFLOW=no +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EOVERFLOW = no; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#define _XOPEN_SOURCE_EXTENDED 1 +#include +#ifdef EOVERFLOW +yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then : + gl_cv_header_errno_h_EOVERFLOW=hidden +fi +rm -f conftest* + + if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then + if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " +#define _XOPEN_SOURCE_EXTENDED 1 +#include +/* The following two lines are a workaround against an autoconf-2.52 bug. */ +#include +#include +"; then : + +fi + + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 +$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } + case $gl_cv_header_errno_h_EOVERFLOW in + yes | no) + EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= + ;; + *) + EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" + ;; + esac + + + fi + + +ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" +if test "x$ac_cv_have_decl_strerror_r" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR_R $ac_have_decl +_ACEOF + +for ac_func in strerror_r +do : + ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" +if test "x$ac_cv_func_strerror_r" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRERROR_R 1 +_ACEOF + +fi +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 +$as_echo_n "checking whether strerror_r returns char *... " >&6; } +if ${ac_cv_func_strerror_r_char_p+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_cv_func_strerror_r_char_p=no + if test $ac_cv_have_decl_strerror_r = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + + char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + char *p = strerror_r (0, buf, sizeof buf); + return !p || x; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_func_strerror_r_char_p=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + # strerror_r is not declared. Choose between + # systems that have relatively inaccessible declarations for the + # function. BeOS and DEC UNIX 4.0 fall in this category, but the + # former has a strerror_r that returns char*, while the latter + # has a strerror_r that returns `int'. + # This test should segfault on the DEC system. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + extern char *strerror_r (); +int +main (void) +{ +char buf[100]; + char x = *strerror_r (0, buf, sizeof buf); + return ! isalpha (x); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strerror_r_char_p=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 +$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } +if test $ac_cv_func_strerror_r_char_p = yes; then + +$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h + +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 +$as_echo_n "checking for mbstate_t... " >&6; } +if ${ac_cv_type_mbstate_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +# include +int +main (void) +{ +mbstate_t x; return sizeof x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_type_mbstate_t=yes +else + ac_cv_type_mbstate_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 +$as_echo "$ac_cv_type_mbstate_t" >&6; } + if test $ac_cv_type_mbstate_t = yes; then + +$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h + + else + +$as_echo "#define mbstate_t int" >>confdefs.h + + fi + + + + + + + + + + + + + + + + + + + GNULIB_DPRINTF=0; + GNULIB_FCLOSE=0; + GNULIB_FFLUSH=0; + GNULIB_FOPEN=0; + GNULIB_FPRINTF=0; + GNULIB_FPRINTF_POSIX=0; + GNULIB_FPURGE=0; + GNULIB_FPUTC=0; + GNULIB_FPUTS=0; + GNULIB_FREOPEN=0; + GNULIB_FSEEK=0; + GNULIB_FSEEKO=0; + GNULIB_FTELL=0; + GNULIB_FTELLO=0; + GNULIB_FWRITE=0; + GNULIB_GETDELIM=0; + GNULIB_GETLINE=0; + GNULIB_OBSTACK_PRINTF=0; + GNULIB_OBSTACK_PRINTF_POSIX=0; + GNULIB_PERROR=0; + GNULIB_POPEN=0; + GNULIB_PRINTF=0; + GNULIB_PRINTF_POSIX=0; + GNULIB_PUTC=0; + GNULIB_PUTCHAR=0; + GNULIB_PUTS=0; + GNULIB_REMOVE=0; + GNULIB_RENAME=0; + GNULIB_RENAMEAT=0; + GNULIB_SNPRINTF=0; + GNULIB_SPRINTF_POSIX=0; + GNULIB_STDIO_H_SIGPIPE=0; + GNULIB_TMPFILE=0; + GNULIB_VASPRINTF=0; + GNULIB_VDPRINTF=0; + GNULIB_VFPRINTF=0; + GNULIB_VFPRINTF_POSIX=0; + GNULIB_VPRINTF=0; + GNULIB_VPRINTF_POSIX=0; + GNULIB_VSNPRINTF=0; + GNULIB_VSPRINTF_POSIX=0; + HAVE_DECL_FPURGE=1; + HAVE_DECL_GETDELIM=1; + HAVE_DECL_GETLINE=1; + HAVE_DECL_OBSTACK_PRINTF=1; + HAVE_DECL_SNPRINTF=1; + HAVE_DECL_VSNPRINTF=1; + HAVE_DPRINTF=1; + HAVE_FSEEKO=1; + HAVE_FTELLO=1; + HAVE_RENAMEAT=1; + HAVE_VASPRINTF=1; + HAVE_VDPRINTF=1; + REPLACE_DPRINTF=0; + REPLACE_FCLOSE=0; + REPLACE_FFLUSH=0; + REPLACE_FOPEN=0; + REPLACE_FPRINTF=0; + REPLACE_FPURGE=0; + REPLACE_FREOPEN=0; + REPLACE_FSEEK=0; + REPLACE_FSEEKO=0; + REPLACE_FTELL=0; + REPLACE_FTELLO=0; + REPLACE_GETDELIM=0; + REPLACE_GETLINE=0; + REPLACE_OBSTACK_PRINTF=0; + REPLACE_PERROR=0; + REPLACE_POPEN=0; + REPLACE_PRINTF=0; + REPLACE_REMOVE=0; + REPLACE_RENAME=0; + REPLACE_RENAMEAT=0; + REPLACE_SNPRINTF=0; + REPLACE_SPRINTF=0; + REPLACE_STDIO_WRITE_FUNCS=0; + REPLACE_TMPFILE=0; + REPLACE_VASPRINTF=0; + REPLACE_VDPRINTF=0; + REPLACE_VFPRINTF=0; + REPLACE_VPRINTF=0; + REPLACE_VSNPRINTF=0; + REPLACE_VSPRINTF=0; + +ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default" +if test "x$ac_cv_have_decl_getdelim" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETDELIM $ac_have_decl +_ACEOF + + + +ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default" +if test "x$ac_cv_have_decl_getline" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETLINE $ac_have_decl +_ACEOF + + + GNULIB_CHOWN=0; + GNULIB_CLOSE=0; + GNULIB_DUP2=0; + GNULIB_DUP3=0; + GNULIB_ENVIRON=0; + GNULIB_EUIDACCESS=0; + GNULIB_FACCESSAT=0; + GNULIB_FCHDIR=0; + GNULIB_FCHOWNAT=0; + GNULIB_FSYNC=0; + GNULIB_FTRUNCATE=0; + GNULIB_GETCWD=0; + GNULIB_GETDOMAINNAME=0; + GNULIB_GETDTABLESIZE=0; + GNULIB_GETGROUPS=0; + GNULIB_GETHOSTNAME=0; + GNULIB_GETLOGIN=0; + GNULIB_GETLOGIN_R=0; + GNULIB_GETPAGESIZE=0; + GNULIB_GETUSERSHELL=0; + GNULIB_LCHOWN=0; + GNULIB_LINK=0; + GNULIB_LINKAT=0; + GNULIB_LSEEK=0; + GNULIB_PIPE2=0; + GNULIB_PREAD=0; + GNULIB_PWRITE=0; + GNULIB_READLINK=0; + GNULIB_READLINKAT=0; + GNULIB_RMDIR=0; + GNULIB_SLEEP=0; + GNULIB_SYMLINK=0; + GNULIB_SYMLINKAT=0; + GNULIB_TTYNAME_R=0; + GNULIB_UNISTD_H_GETOPT=0; + GNULIB_UNISTD_H_SIGPIPE=0; + GNULIB_UNLINK=0; + GNULIB_UNLINKAT=0; + GNULIB_USLEEP=0; + GNULIB_WRITE=0; + HAVE_CHOWN=1; + HAVE_DUP2=1; + HAVE_DUP3=1; + HAVE_EUIDACCESS=1; + HAVE_FACCESSAT=1; + HAVE_FCHDIR=1; + HAVE_FCHOWNAT=1; + HAVE_FSYNC=1; + HAVE_FTRUNCATE=1; + HAVE_GETDOMAINNAME=1; + HAVE_GETDTABLESIZE=1; + HAVE_GETGROUPS=1; + HAVE_GETHOSTNAME=1; + HAVE_GETLOGIN=1; + HAVE_GETPAGESIZE=1; + HAVE_LCHOWN=1; + HAVE_LINK=1; + HAVE_LINKAT=1; + HAVE_PIPE2=1; + HAVE_PREAD=1; + HAVE_PWRITE=1; + HAVE_READLINK=1; + HAVE_READLINKAT=1; + HAVE_SLEEP=1; + HAVE_SYMLINK=1; + HAVE_SYMLINKAT=1; + HAVE_TTYNAME_R=1; + HAVE_UNLINKAT=1; + HAVE_USLEEP=1; + HAVE_DECL_ENVIRON=1; + HAVE_DECL_GETLOGIN_R=1; + HAVE_DECL_GETPAGESIZE=1; + HAVE_DECL_GETUSERSHELL=1; + HAVE_OS_H=0; + HAVE_SYS_PARAM_H=0; + REPLACE_CHOWN=0; + REPLACE_CLOSE=0; + REPLACE_DUP=0; + REPLACE_DUP2=0; + REPLACE_FCHOWNAT=0; + REPLACE_GETCWD=0; + REPLACE_GETGROUPS=0; + REPLACE_GETPAGESIZE=0; + REPLACE_LCHOWN=0; + REPLACE_LINK=0; + REPLACE_LINKAT=0; + REPLACE_LSEEK=0; + REPLACE_PREAD=0; + REPLACE_PWRITE=0; + REPLACE_READLINK=0; + REPLACE_RMDIR=0; + REPLACE_SLEEP=0; + REPLACE_SYMLINK=0; + REPLACE_TTYNAME_R=0; + REPLACE_UNLINK=0; + REPLACE_UNLINKAT=0; + REPLACE_USLEEP=0; + REPLACE_WRITE=0; + UNISTD_H_HAVE_WINSOCK2_H=0; + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; + + + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_getopt_h='<'getopt.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_getopt_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_getopt_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/getopt.h#{ + s#.*"\(.*/getopt.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_getopt_h='<'getopt.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 +$as_echo "$gl_cv_next_getopt_h" >&6; } + fi + NEXT_GETOPT_H=$gl_cv_next_getopt_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'getopt.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_getopt_h + fi + NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive + + + + + if test $ac_cv_header_getopt_h = yes; then + HAVE_GETOPT_H=1 + else + HAVE_GETOPT_H=0 + fi + + + gl_replace_getopt= + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + for ac_header in getopt.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" +if test "x$ac_cv_header_getopt_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_GETOPT_H 1 +_ACEOF + +else + gl_replace_getopt=yes +fi + +done + + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + for ac_func in getopt_long_only +do : + ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" +if test "x$ac_cv_func_getopt_long_only" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_GETOPT_LONG_ONLY 1 +_ACEOF + +else + gl_replace_getopt=yes +fi +done + + fi + + if test -z "$gl_replace_getopt"; then + ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "#include +" +if test "x$ac_cv_have_decl_optreset" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_OPTRESET $ac_have_decl +_ACEOF +if test $ac_have_decl = 1; then : + +else + ac_fn_c_check_decl "$LINENO" "getopt_clip" "ac_cv_have_decl_getopt_clip" "#include +" +if test "x$ac_cv_have_decl_getopt_clip" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETOPT_CLIP $ac_have_decl +_ACEOF + + +fi + + fi + + if test -z "$gl_replace_getopt"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 +$as_echo_n "checking whether getopt is POSIX compatible... " >&6; } +if ${gl_cv_func_getopt_posix+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + case "$host_os" in + mingw*) gl_cv_func_getopt_posix="guessing no";; + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";; + *) gl_cv_func_getopt_posix="guessing yes";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include + +#if !HAVE_DECL_OPTRESET && !HAVE_DECL_GETOPT_CLIP +# define OPTIND_MIN 0 +#else +# define OPTIND_MIN 1 +#endif + +int +main () +{ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "-a"; + argv[argc++] = "foo"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "ab"); + if (!(c == 'a')) + return 1; + c = getopt (argc, argv, "ab"); + if (!(c == -1)) + return 2; + if (!(optind == 2)) + return 3; + } + /* Some internal state exists at this point. */ + { + int argc = 0; + char *argv[10]; + int c; + + argv[argc++] = "program"; + argv[argc++] = "donald"; + argv[argc++] = "-p"; + argv[argc++] = "billy"; + argv[argc++] = "duck"; + argv[argc++] = "-a"; + argv[argc++] = "bar"; + argv[argc] = NULL; + optind = OPTIND_MIN; + opterr = 0; + + c = getopt (argc, argv, "+abp:q:"); + if (!(c == -1)) + return 4; + if (!(strcmp (argv[0], "program") == 0)) + return 5; + if (!(strcmp (argv[1], "donald") == 0)) + return 6; + if (!(strcmp (argv[2], "-p") == 0)) + return 7; + if (!(strcmp (argv[3], "billy") == 0)) + return 8; + if (!(strcmp (argv[4], "duck") == 0)) + return 9; + if (!(strcmp (argv[5], "-a") == 0)) + return 10; + if (!(strcmp (argv[6], "bar") == 0)) + return 11; + if (!(optind == 1)) + return 12; + } + /* Detect MacOS 10.5, AIX 7.1 bug. */ + { + char *argv[3] = { "program", "-ab", NULL }; + optind = OPTIND_MIN; + opterr = 0; + if (getopt (2, argv, "ab:") != 'a') + return 13; + if (getopt (2, argv, "ab:") != '?') + return 14; + if (optopt != 'b') + return 15; + if (optind != 2) + return 16; + } + + return 0; +} + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_getopt_posix=yes +else + gl_cv_func_getopt_posix=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 +$as_echo "$gl_cv_func_getopt_posix" >&6; } + case "$gl_cv_func_getopt_posix" in + *no) gl_replace_getopt=yes ;; + esac + fi + + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 +$as_echo_n "checking for working GNU getopt function... " >&6; } +if ${gl_cv_func_getopt_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the + # optstring is necessary for programs like m4 that have POSIX-mandated + # semantics for supporting options interspersed with files. + # Also, since getopt_long is a GNU extension, we require optind=0. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; + # so take care to revert to the correct (non-)export state. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + +int +main (void) +{ + + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, + OSF/1 5.1, Solaris 10. */ + { + char *myargv[3]; + myargv[0] = "conftest"; + myargv[1] = "-+"; + myargv[2] = 0; + opterr = 0; + if (getopt (2, myargv, "+a") != '?') + return 1; + } + /* This code succeeds on glibc 2.8, mingw, + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ + { + char *argv[] = { "program", "-p", "foo", "bar", NULL }; + + optind = 1; + if (getopt (4, argv, "p::") != 'p') + return 2; + if (optarg != NULL) + return 3; + if (getopt (4, argv, "p::") != -1) + return 4; + if (optind != 2) + return 5; + } + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ + { + char *argv[] = { "program", "foo", "-p", NULL }; + optind = 0; + if (getopt (3, argv, "-p") != 1) + return 6; + if (getopt (3, argv, "-p") != 'p') + return 7; + } + /* This code fails on glibc 2.11. */ + { + char *argv[] = { "program", "-b", "-a", NULL }; + optind = opterr = 0; + if (getopt (3, argv, "+:a:b") != 'b') + return 8; + if (getopt (3, argv, "+:a:b") != ':') + return 9; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_getopt_gnu=yes +else + gl_cv_func_getopt_gnu=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + case $gl_had_POSIXLY_CORRECT in + exported) ;; + yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; + *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 +$as_echo "$gl_cv_func_getopt_gnu" >&6; } + if test "$gl_cv_func_getopt_gnu" = "no"; then + gl_replace_getopt=yes + fi + fi + + + + + + + if test -n "$gl_replace_getopt"; then : + + + + GETOPT_H=getopt.h + +$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + +fi + + + + GNULIB_NL_LANGINFO=0; + HAVE_NL_LANGINFO=1; + REPLACE_NL_LANGINFO=0; + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 +$as_echo_n "checking for working fcntl.h... " >&6; } +if ${gl_cv_header_working_fcntl_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_header_working_fcntl_h=cross-compiling +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + #include + #ifndef O_NOATIME + #define O_NOATIME 0 + #endif + #ifndef O_NOFOLLOW + #define O_NOFOLLOW 0 + #endif + static int const constants[] = + { + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY + }; + +int +main (void) +{ + + int status = !constants; + { + static char const sym[] = "conftest.sym"; + if (symlink (".", sym) != 0 + || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) + status |= 32; + unlink (sym); + } + { + static char const file[] = "confdefs.h"; + int fd = open (file, O_RDONLY | O_NOATIME); + char c; + struct stat st0, st1; + if (fd < 0 + || fstat (fd, &st0) != 0 + || sleep (1) != 0 + || read (fd, &c, 1) != 1 + || close (fd) != 0 + || stat (file, &st1) != 0 + || st0.st_atime != st1.st_atime) + status |= 64; + } + return status; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_header_working_fcntl_h=yes +else + case $? in #( + 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( + 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( + *) gl_cv_header_working_fcntl_h='no';; + esac +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 +$as_echo "$gl_cv_header_working_fcntl_h" >&6; } + + case $gl_cv_header_working_fcntl_h in #( + *O_NOATIME* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + +cat >>confdefs.h <<_ACEOF +#define HAVE_WORKING_O_NOATIME $ac_val +_ACEOF + + + case $gl_cv_header_working_fcntl_h in #( + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( + *) ac_val=1;; + esac + +cat >>confdefs.h <<_ACEOF +#define HAVE_WORKING_O_NOFOLLOW $ac_val +_ACEOF + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 +$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } +if ${ac_cv_gnu_library_2_1+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + ac_cv_gnu_library_2_1=yes +else + ac_cv_gnu_library_2_1=no +fi +rm -f conftest* + + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 +$as_echo "$ac_cv_gnu_library_2_1" >&6; } + + GLIBC21="$ac_cv_gnu_library_2_1" + + + + GNULIB__EXIT=0; + GNULIB_ATOLL=0; + GNULIB_CALLOC_POSIX=0; + GNULIB_CANONICALIZE_FILE_NAME=0; + GNULIB_GETLOADAVG=0; + GNULIB_GETSUBOPT=0; + GNULIB_GRANTPT=0; + GNULIB_MALLOC_POSIX=0; + GNULIB_MKDTEMP=0; + GNULIB_MKOSTEMP=0; + GNULIB_MKOSTEMPS=0; + GNULIB_MKSTEMP=0; + GNULIB_MKSTEMPS=0; + GNULIB_PTSNAME=0; + GNULIB_PUTENV=0; + GNULIB_RANDOM_R=0; + GNULIB_REALLOC_POSIX=0; + GNULIB_REALPATH=0; + GNULIB_RPMATCH=0; + GNULIB_SETENV=0; + GNULIB_STRTOD=0; + GNULIB_STRTOLL=0; + GNULIB_STRTOULL=0; + GNULIB_UNLOCKPT=0; + GNULIB_UNSETENV=0; + HAVE__EXIT=1; + HAVE_ATOLL=1; + HAVE_CANONICALIZE_FILE_NAME=1; + HAVE_DECL_GETLOADAVG=1; + HAVE_GETSUBOPT=1; + HAVE_GRANTPT=1; + HAVE_MKDTEMP=1; + HAVE_MKOSTEMP=1; + HAVE_MKOSTEMPS=1; + HAVE_MKSTEMP=1; + HAVE_MKSTEMPS=1; + HAVE_PTSNAME=1; + HAVE_RANDOM_R=1; + HAVE_REALPATH=1; + HAVE_RPMATCH=1; + HAVE_SETENV=1; + HAVE_STRTOD=1; + HAVE_STRTOLL=1; + HAVE_STRTOULL=1; + HAVE_STRUCT_RANDOM_DATA=1; + HAVE_SYS_LOADAVG_H=0; + HAVE_UNLOCKPT=1; + HAVE_UNSETENV=1; + REPLACE_CALLOC=0; + REPLACE_CANONICALIZE_FILE_NAME=0; + REPLACE_MALLOC=0; + REPLACE_MKSTEMP=0; + REPLACE_PUTENV=0; + REPLACE_REALLOC=0; + REPLACE_REALPATH=0; + REPLACE_SETENV=0; + REPLACE_STRTOD=0; + REPLACE_UNSETENV=0; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 +$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } +if ${gl_cv_func_malloc_posix+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + choke me + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_malloc_posix=yes +else + gl_cv_func_malloc_posix=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 +$as_echo "$gl_cv_func_malloc_posix" >&6; } + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 +$as_echo_n "checking for a traditional japanese locale... " >&6; } +if ${gt_cv_locale_ja+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales + on Cygwin 1.5.x. */ + if (MB_CUR_MAX == 1) + return 1; + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the AIX locale name. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC-JP + else + # Test for the HP-UX, OSF/1, NetBSD locale name. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.eucJP + else + # Test for the IRIX, FreeBSD locale name. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja_JP.EUC + else + # Test for the Solaris 7 locale name. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_ja=ja + else + # Special test for NetBSD 1.6. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then + gt_cv_locale_ja=ja_JP.eucJP + else + # None found. + gt_cv_locale_ja=none + fi + fi + fi + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 +$as_echo "$gt_cv_locale_ja" >&6; } + LOCALE_JA=$gt_cv_locale_ja + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 +$as_echo_n "checking for a transitional chinese locale... " >&6; } +if ${gt_cv_locale_zh_CN+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () +{ + const char *p; + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +#if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +#endif +#ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +#endif + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. + This excludes the UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; + for (p = buf; *p != '\0'; p++) + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) + return 1; + /* Check whether a typical GB18030 multibyte sequence is recognized as a + single wide character. This excludes the GB2312 and GBK encodings. */ + if (mblen ("\203\062\332\066", 5) != 4) + return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the locale name without encoding suffix. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_zh_CN=zh_CN.GB18030 + else + # None found. + gt_cv_locale_zh_CN=none + fi + fi + else + # If there was a link error, due to mblen(), the system is so old that + # it certainly doesn't have a chinese locale. + gt_cv_locale_zh_CN=none + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 +$as_echo "$gt_cv_locale_zh_CN" >&6; } + LOCALE_ZH_CN=$gt_cv_locale_zh_CN + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 +$as_echo_n "checking for a french Unicode locale... " >&6; } +if ${gt_cv_locale_fr_utf8+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_LANGINFO_CODESET +# include +#endif +#include +#include +struct tm t; +char buf[16]; +int main () { + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl + imitates locale dependent behaviour by looking at the environment + variables, and all locales use the UTF-8 encoding. */ +#if !(defined __BEOS__ || defined __HAIKU__) + /* Check whether the given locale name is recognized by the system. */ + if (setlocale (LC_ALL, "") == NULL) return 1; + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) + is empty, and the behaviour of Tcl 8.4 in this locale is not useful. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale() + succeeds but then nl_langinfo(CODESET) is "646". In this situation, + some unit tests fail. */ +# if HAVE_LANGINFO_CODESET + { + const char *cs = nl_langinfo (CODESET); + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) + return 1; + } +# endif +# ifdef __CYGWIN__ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; +# endif + /* Check whether in the abbreviation of the second month, the second + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is + two bytes long, with UTF-8 encoding. */ + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; + if (strftime (buf, sizeof (buf), "%b", &t) < 4 + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') + return 1; +#endif + /* Check whether the decimal separator is a comma. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point + are nl_langinfo(RADIXCHAR) are both ".". */ + if (localeconv () ->decimal_point[0] != ',') return 1; + return 0; +} + +_ACEOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the + # configure script would override the LC_ALL setting. Likewise for + # LC_CTYPE, which is also set at the beginning of the configure script. + # Test for the usual locale name. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR + else + # Test for the locale name with explicit encoding suffix. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr_FR.UTF-8 + else + # Test for the Solaris 7 locale name. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then + gt_cv_locale_fr_utf8=fr.UTF-8 + else + # None found. + gt_cv_locale_fr_utf8=none + fi + fi + fi + fi + rm -fr conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 +$as_echo "$gt_cv_locale_fr_utf8" >&6; } + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 + + + + + + + + GNULIB_MEMCHR=0; + GNULIB_MEMMEM=0; + GNULIB_MEMPCPY=0; + GNULIB_MEMRCHR=0; + GNULIB_RAWMEMCHR=0; + GNULIB_STPCPY=0; + GNULIB_STPNCPY=0; + GNULIB_STRCHRNUL=0; + GNULIB_STRDUP=0; + GNULIB_STRNCAT=0; + GNULIB_STRNDUP=0; + GNULIB_STRNLEN=0; + GNULIB_STRPBRK=0; + GNULIB_STRSEP=0; + GNULIB_STRSTR=0; + GNULIB_STRCASESTR=0; + GNULIB_STRTOK_R=0; + GNULIB_MBSLEN=0; + GNULIB_MBSNLEN=0; + GNULIB_MBSCHR=0; + GNULIB_MBSRCHR=0; + GNULIB_MBSSTR=0; + GNULIB_MBSCASECMP=0; + GNULIB_MBSNCASECMP=0; + GNULIB_MBSPCASECMP=0; + GNULIB_MBSCASESTR=0; + GNULIB_MBSCSPN=0; + GNULIB_MBSPBRK=0; + GNULIB_MBSSPN=0; + GNULIB_MBSSEP=0; + GNULIB_MBSTOK_R=0; + GNULIB_STRERROR=0; + GNULIB_STRSIGNAL=0; + GNULIB_STRVERSCMP=0; + HAVE_MBSLEN=0; + HAVE_MEMCHR=1; + HAVE_DECL_MEMMEM=1; + HAVE_MEMPCPY=1; + HAVE_DECL_MEMRCHR=1; + HAVE_RAWMEMCHR=1; + HAVE_STPCPY=1; + HAVE_STPNCPY=1; + HAVE_STRCHRNUL=1; + HAVE_DECL_STRDUP=1; + HAVE_DECL_STRNDUP=1; + HAVE_DECL_STRNLEN=1; + HAVE_STRPBRK=1; + HAVE_STRSEP=1; + HAVE_STRCASESTR=1; + HAVE_DECL_STRTOK_R=1; + HAVE_DECL_STRSIGNAL=1; + HAVE_STRVERSCMP=1; + REPLACE_MEMCHR=0; + REPLACE_MEMMEM=0; + REPLACE_STPNCPY=0; + REPLACE_STRDUP=0; + REPLACE_STRSTR=0; + REPLACE_STRCASESTR=0; + REPLACE_STRERROR=0; + REPLACE_STRNCAT=0; + REPLACE_STRNDUP=0; + REPLACE_STRNLEN=0; + REPLACE_STRSIGNAL=0; + REPLACE_STRTOK_R=0; + UNDEFINE_STRTOK_R=0; + + + + + + + + + + + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is + # irrelevant for anonymous mappings. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" +if test "x$ac_cv_func_mmap" = xyes; then : + gl_have_mmap=yes +else + gl_have_mmap=no +fi + + + # Try to allow MAP_ANONYMOUS. + gl_have_mmap_anonymous=no + if test $gl_have_mmap = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef MAP_ANONYMOUS + I cant identify this map. +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "I cant identify this map." >/dev/null 2>&1; then : + gl_have_mmap_anonymous=yes +fi +rm -f conftest* + + if test $gl_have_mmap_anonymous != yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef MAP_ANON + I cant identify this map. +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "I cant identify this map." >/dev/null 2>&1; then : + +$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h + + gl_have_mmap_anonymous=yes +fi +rm -f conftest* + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5 +$as_echo "$gl_have_mmap_anonymous" >&6; } + if test $gl_have_mmap_anonymous = yes; then + +$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h + + fi + fi + + + + + + + if test $ac_cv_func_memchr = yes; then + # Detect platform-specific bugs in some versions of glibc: + # memchr should not dereference anything with length 0 + # http://bugzilla.redhat.com/499689 + # memchr should not dereference overestimated length after a match + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 + # Assume that memchr works on platforms that lack mprotect. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 +$as_echo_n "checking whether memchr works... " >&6; } +if ${gl_cv_func_memchr_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_memchr_works="guessing no" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_SYS_MMAN_H +# include +# include +# include +# include +# ifndef MAP_FILE +# define MAP_FILE 0 +# endif +#endif + +int +main (void) +{ + + char *fence = NULL; +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT +# if HAVE_MAP_ANONYMOUS + const int flags = MAP_ANONYMOUS | MAP_PRIVATE; + const int fd = -1; +# else /* !HAVE_MAP_ANONYMOUS */ + const int flags = MAP_FILE | MAP_PRIVATE; + int fd = open ("/dev/zero", O_RDONLY, 0666); + if (fd >= 0) +# endif + { + int pagesize = getpagesize (); + char *two_pages = + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, + flags, fd, 0); + if (two_pages != (char *)(-1) + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) + fence = two_pages + pagesize; + } +#endif + if (fence) + { + if (memchr (fence, 0, 0)) + return 1; + strcpy (fence - 9, "12345678"); + if (memchr (fence - 9, 0, 79) != fence - 1) + return 2; + if (memchr (fence - 1, 0, 3) != fence - 1) + return 3; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_memchr_works=yes +else + gl_cv_func_memchr_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 +$as_echo "$gl_cv_func_memchr_works" >&6; } + if test "$gl_cv_func_memchr_works" != yes; then + REPLACE_MEMCHR=1 + fi + else + HAVE_MEMCHR=0 + fi + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" + + + for ac_header in bp-sym.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default" +if test "x$ac_cv_header_bp_sym_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BP_SYM_H 1 +_ACEOF + +fi + +done + + + fi + + + gl_cv_c_multiarch=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + arch= + prev= + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do + if test -n "$prev"; then + case $word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$arch" || test "$arch" = "$word"; then + arch="$word" + else + gl_cv_c_multiarch=yes + fi + ;; + esac + prev= + else + if test "x$word" = "x-arch"; then + prev=arch + fi + fi + done + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $gl_cv_c_multiarch = yes; then + +$as_echo "#define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + APPLE_UNIVERSAL_BUILD=1 + else + APPLE_UNIVERSAL_BUILD=0 + fi + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +if ${ac_cv_header_stdbool_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; + +int +main (void) +{ + + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdbool_h=yes +else + ac_cv_header_stdbool_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +$as_echo "$ac_cv_header_stdbool_h" >&6; } + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE__BOOL 1 +_ACEOF + + +fi + + if test $ac_cv_header_stdbool_h = yes; then + +$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h + + fi + + REPLACE_NULL=0; + HAVE_WCHAR_T=1; + STDDEF_H=''; + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 +$as_echo_n "checking for wchar_t... " >&6; } +if ${gt_cv_c_wchar_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + wchar_t foo = (wchar_t)'\0'; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wchar_t=yes +else + gt_cv_c_wchar_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 +$as_echo "$gt_cv_c_wchar_t" >&6; } + if test $gt_cv_c_wchar_t = yes; then + +$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 +$as_echo_n "checking for long long int... " >&6; } +if ${ac_cv_type_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main (void) +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + ac_cv_type_long_long_int=yes +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifndef LLONG_MAX + # define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + # define LLONG_MAX (HALF - 1 + HALF) + #endif +int +main (void) +{ +long long int n = 1; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_type_long_long_int=yes +else + ac_cv_type_long_long_int=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +else + ac_cv_type_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 +$as_echo "$ac_cv_type_long_long_int" >&6; } + if test $ac_cv_type_long_long_int = yes; then + +$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 +$as_echo_n "checking for unsigned long long int... " >&6; } +if ${ac_cv_type_unsigned_long_long_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* For now, do not test the preprocessor; as of 2007 there are too many + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ + /* Test literals. */ + long long int ll = 9223372036854775807ll; + long long int nll = -9223372036854775807LL; + unsigned long long int ull = 18446744073709551615ULL; + /* Test constant expressions. */ + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) + ? 1 : -1)]; + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 + ? 1 : -1)]; + int i = 63; +int +main (void) +{ +/* Test availability of runtime routines for shift and division. */ + long long int llmax = 9223372036854775807ll; + unsigned long long int ullmax = 18446744073709551615ull; + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); + ; + return 0; +} + +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_type_unsigned_long_long_int=yes +else + ac_cv_type_unsigned_long_long_int=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } + if test $ac_cv_type_unsigned_long_long_int = yes; then + +$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h + + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5 +$as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; } +if ${gl_cv_prog_as_underscore+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } >/dev/null 2>&1 + if grep _foo conftest.s >/dev/null ; then + gl_cv_prog_as_underscore=yes + else + gl_cv_prog_as_underscore=no + fi + rm -f conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_as_underscore" >&5 +$as_echo "$gl_cv_prog_as_underscore" >&6; } + if test $gl_cv_prog_as_underscore = yes; then + USER_LABEL_PREFIX=_ + else + USER_LABEL_PREFIX= + fi + +cat >>confdefs.h <<_ACEOF +#define USER_LABEL_PREFIX $USER_LABEL_PREFIX +_ACEOF + + ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' + + + + + + + + HAVE_STRCASECMP=1; + HAVE_DECL_STRNCASECMP=1; + + + + + + + if test -z "$ERRNO_H"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 +$as_echo_n "checking for working strerror function... " >&6; } +if ${gl_cv_func_working_strerror+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return !*strerror (-2); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_working_strerror=yes +else + gl_cv_func_working_strerror=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +return !*strerror (-2); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_strerror=yes +else + gl_cv_func_working_strerror=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 +$as_echo "$gl_cv_func_working_strerror" >&6; } + if test $gl_cv_func_working_strerror = no; then + REPLACE_STRERROR=1 + fi + else + REPLACE_STRERROR=1 + fi + if test $REPLACE_STRERROR = 1; then + + ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default" +if test "x$ac_cv_have_decl_strerror" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRERROR $ac_have_decl +_ACEOF + + + if test $ac_cv_header_sys_socket_h != yes; then + for ac_header in winsock2.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +if test "x$ac_cv_header_winsock2_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_WINSOCK2_H 1 +_ACEOF + +fi + +done + + fi + + fi + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_string_h='<'string.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_string_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_string_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/string.h#{ + s#.*"\(.*/string.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_string_h='<'string.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 +$as_echo "$gl_cv_next_string_h" >&6; } + fi + NEXT_STRING_H=$gl_cv_next_string_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'string.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_string_h + fi + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive + + + + + + for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal strverscmp; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_strings_h='<'strings.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_strings_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_strings_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_strings_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/strings.h#{ + s#.*"\(.*/strings.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_strings_h='<'strings.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_strings_h" >&5 +$as_echo "$gl_cv_next_strings_h" >&6; } + fi + NEXT_STRINGS_H=$gl_cv_next_strings_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'strings.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_strings_h + fi + NEXT_AS_FIRST_DIRECTIVE_STRINGS_H=$gl_next_as_first_directive + + + + + + for gl_func in strcasecmp strncasecmp; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + +ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default" +if test "x$ac_cv_have_decl_strndup" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNDUP $ac_have_decl +_ACEOF + + + +ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default" +if test "x$ac_cv_have_decl_strnlen" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNLEN $ac_have_decl +_ACEOF + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 +$as_echo_n "checking for wint_t... " >&6; } +if ${gt_cv_c_wint_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be included + before . */ +#include +#include +#include +#include + wint_t foo = (wchar_t)'\0'; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_wint_t=yes +else + gt_cv_c_wint_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 +$as_echo "$gt_cv_c_wint_t" >&6; } + if test $gt_cv_c_wint_t = yes; then + +$as_echo "#define HAVE_WINT_T 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 +$as_echo_n "checking for inttypes.h... " >&6; } +if ${gl_cv_header_inttypes_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main (void) +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_inttypes_h=yes +else + gl_cv_header_inttypes_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 +$as_echo "$gl_cv_header_inttypes_h" >&6; } + if test $gl_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 +$as_echo_n "checking for stdint.h... " >&6; } +if ${gl_cv_header_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include +int +main (void) +{ +uintmax_t i = (uintmax_t) -1; return !i; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_stdint_h=yes +else + gl_cv_header_stdint_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 +$as_echo "$gl_cv_header_stdint_h" >&6; } + if test $gl_cv_header_stdint_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 +$as_echo_n "checking for intmax_t... " >&6; } +if ${gt_cv_c_intmax_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif + +int +main (void) +{ +intmax_t x = -1; return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_c_intmax_t=yes +else + gt_cv_c_intmax_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 +$as_echo "$gt_cv_c_intmax_t" >&6; } + if test $gt_cv_c_intmax_t = yes; then + +$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h + + else + + test $ac_cv_type_long_long_int = yes \ + && ac_type='long long' \ + || ac_type='long' + +cat >>confdefs.h <<_ACEOF +#define intmax_t $ac_type +_ACEOF + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5 +$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; } +if ${gl_cv_func_snprintf_retval_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + # Guess yes on glibc systems. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on FreeBSD >= 5. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";; + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on MacOS X >= 10.3. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";; + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on OpenBSD >= 3.9. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*) + gl_cv_func_snprintf_retval_c99="guessing no";; + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on Solaris >= 2.6. + solaris2.[0-5]*) gl_cv_func_snprintf_retval_c99="guessing no";; + solaris*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on AIX >= 4. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";; + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on NetBSD >= 3. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*) + gl_cv_func_snprintf_retval_c99="guessing no";; + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # Guess yes on BeOS. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";; + # If we don't know, assume the worst. + *) gl_cv_func_snprintf_retval_c99="guessing no";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +static char buf[100]; +int main () +{ + strcpy (buf, "ABCDEF"); + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_retval_c99=yes +else + gl_cv_func_snprintf_retval_c99=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5 +$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; } + + + + + + + + for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include +" +if test "x$ac_cv_have_decl__snprintf" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL__SNPRINTF $ac_have_decl +_ACEOF + + + case "$gl_cv_func_snprintf_retval_c99" in + *yes) + +$as_echo "#define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h + + ;; + esac + +ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default" +if test "x$ac_cv_have_decl_vsnprintf" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_VSNPRINTF $ac_have_decl +_ACEOF + + + + + + + +ac_fn_c_check_decl "$LINENO" "iswblank" "ac_cv_have_decl_iswblank" "$ac_includes_default" +if test "x$ac_cv_have_decl_iswblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ISWBLANK $ac_have_decl +_ACEOF + + + if false; then + GL_COND_LIBTOOL_TRUE= + GL_COND_LIBTOOL_FALSE='#' +else + GL_COND_LIBTOOL_TRUE='#' + GL_COND_LIBTOOL_FALSE= +fi + + gl_cond_libtool=false + gl_libdeps= + gl_ltlibdeps= + gl_m4_base='m4' + + + + + + + + + + gl_source_base='grub-core/gnulib' + # Code from module alloca: + # Code from module alloca-opt: + + + + + + if test $ac_cv_func_alloca_works = no; then + : + fi + + # Define an additional variable used in the Makefile substitution. + if test $ac_cv_working_alloca_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5 +$as_echo_n "checking for alloca as a compiler built-in... " >&6; } +if ${gl_cv_rpl_alloca+:} false; then : + $as_echo_n "(cached) " >&6 +else + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#if defined __GNUC__ || defined _AIX || defined _MSC_VER + Need own alloca +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Need own alloca" >/dev/null 2>&1; then : + gl_cv_rpl_alloca=yes +else + gl_cv_rpl_alloca=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5 +$as_echo "$gl_cv_rpl_alloca" >&6; } + if test $gl_cv_rpl_alloca = yes; then + +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h + + ALLOCA_H=alloca.h + else + ALLOCA_H= + fi + else + ALLOCA_H=alloca.h + fi + + + # Code from module arg-nonnull: + # Code from module argp: + + + + + + + GETOPT_H=getopt.h + +$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + +$as_echo "#define HAVE_DECL_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + +else + +$as_echo "#define GNULIB_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + +fi + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + +$as_echo "#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + +else + +$as_echo "#define GNULIB_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + +fi + + + # Check if program_invocation_name and program_invocation_short_name + # are defined elsewhere. It is improbable that only one of them will + # be defined and other not, I prefer to stay on the safe side and to + # test each one separately. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is defined" >&5 +$as_echo_n "checking whether program_invocation_name is defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +program_invocation_name = "test"; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_short_name is defined" >&5 +$as_echo_n "checking whether program_invocation_short_name is defined... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +program_invocation_short_name = "test"; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + + + + + + + + + + + + + + + + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_error:2:c-format" + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=argp_failure:4:c-format" + + # Code from module btowc: + + + + + + + if test $ac_cv_func_btowc = no; then + HAVE_BTOWC=0 + else + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5 +$as_echo_n "checking whether btowc(0) is correct... " >&6; } +if ${gl_cv_func_btowc_nul+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + + case "$host_os" in + # Guess no on Cygwin. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_nul="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (btowc ('\0') != 0) + return 1; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_btowc_nul=yes +else + gl_cv_func_btowc_nul=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5 +$as_echo "$gl_cv_func_btowc_nul" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5 +$as_echo_n "checking whether btowc(EOF) is correct... " >&6; } +if ${gl_cv_func_btowc_eof+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on IRIX. + irix*) gl_cv_func_btowc_eof="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_btowc_eof="guessing yes" ;; + esac + if test $LOCALE_FR != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (btowc (EOF) != WEOF) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_btowc_eof=yes +else + gl_cv_func_btowc_eof=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5 +$as_echo "$gl_cv_func_btowc_eof" >&6; } + + case "$gl_cv_func_btowc_nul" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + case "$gl_cv_func_btowc_eof" in + *yes) ;; + *) REPLACE_BTOWC=1 ;; + esac + fi + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS btowc.$ac_objext" + + + : + + fi + + + + + GNULIB_BTOWC=1 + + + +$as_echo "#define GNULIB_TEST_BTOWC 1" >>confdefs.h + + + + # Code from module c++defs: + # Code from module configmake: + # Code from module dirname-lgpl: + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS basename-lgpl.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS dirname-lgpl.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS stripslash.$ac_objext" + + + + + + + # Code from module double-slash-root: + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 +$as_echo_n "checking whether // is distinct from /... " >&6; } +if ${gl_cv_double_slash_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test x"$cross_compiling" = xyes ; then + # When cross-compiling, there is no way to tell whether // is special + # short of a list of hosts. However, the only known hosts to date + # that have a distinct // are Apollo DomainOS (too old to port to), + # Cygwin, and z/OS. If anyone knows of another system for which // has + # special semantics and is distinct from /, please report it to + # . + case $host in + *-cygwin | i370-ibm-openedition) + gl_cv_double_slash_root=yes ;; + *) + # Be optimistic and assume that / and // are the same when we + # don't know. + gl_cv_double_slash_root='unknown, assuming no' ;; + esac + else + set x `ls -di / // 2>/dev/null` + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then + gl_cv_double_slash_root=no + else + gl_cv_double_slash_root=yes + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 +$as_echo "$gl_cv_double_slash_root" >&6; } + if test "$gl_cv_double_slash_root" = yes; then + +$as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h + + fi + + # Code from module errno: + + # Code from module error: + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 +$as_echo_n "checking for error_at_line... " >&6; } +if ${ac_cv_lib_error_at_line+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +error_at_line (0, 0, "", 0, "an error occurred"); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_error_at_line=yes +else + ac_cv_lib_error_at_line=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 +$as_echo "$ac_cv_lib_error_at_line" >&6; } + if test $ac_cv_lib_error_at_line = no; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" + + fi + + + + + : + + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" + + + + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" + + # Code from module extensions: + # Code from module float: + + + + FLOAT_H= + case "$host_os" in + beos* | openbsd* | mirbsd*) + FLOAT_H=float.h + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_float_h='<'float.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_float_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_float_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/float.h#{ + s#.*"\(.*/float.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_float_h='<'float.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5 +$as_echo "$gl_cv_next_float_h" >&6; } + fi + NEXT_FLOAT_H=$gl_cv_next_float_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'float.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_float_h + fi + NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive + + + + ;; + esac + + + # Code from module fnmatch: + + + + + + FNMATCH_H= + gl_fnmatch_required_lowercase=`echo $gl_fnmatch_required | tr 'A-Z' 'a-z'` + gl_fnmatch_cache_var="gl_cv_func_fnmatch_${gl_fnmatch_required_lowercase}" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working $gl_fnmatch_required fnmatch" >&5 +$as_echo_n "checking for working $gl_fnmatch_required fnmatch... " >&6; } +if eval \${$gl_fnmatch_cache_var+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test $gl_fnmatch_required = GNU; then + gl_fnmatch_gnu_start= + gl_fnmatch_gnu_end= + else + gl_fnmatch_gnu_start='#if 0' + gl_fnmatch_gnu_end='#endif' + fi + if test "$cross_compiling" = yes; then : + eval "$gl_fnmatch_cache_var=\"guessing no\"" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + static int + y (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == 0; + } + static int + n (char const *pattern, char const *string, int flags) + { + return fnmatch (pattern, string, flags) == FNM_NOMATCH; + } + +int +main (void) +{ +char const *Apat = 'A' < '\\\\' ? "[A-\\\\\\\\]" : "[\\\\\\\\-A]"; + char const *apat = 'a' < '\\\\' ? "[a-\\\\\\\\]" : "[\\\\\\\\-a]"; + static char const A_1[] = { 'A' - 1, 0 }; + static char const A01[] = { 'A' + 1, 0 }; + static char const a_1[] = { 'a' - 1, 0 }; + static char const a01[] = { 'a' + 1, 0 }; + static char const bs_1[] = { '\\\\' - 1, 0 }; + static char const bs01[] = { '\\\\' + 1, 0 }; + return + !(n ("a*", "", 0) + && y ("a*", "abc", 0) + && n ("d*/*1", "d/s/1", FNM_PATHNAME) + && y ("a\\\\bc", "abc", 0) + && n ("a\\\\bc", "abc", FNM_NOESCAPE) + && y ("*x", ".x", 0) + && n ("*x", ".x", FNM_PERIOD) + && y (Apat, "\\\\", 0) && y (Apat, "A", 0) + && y (apat, "\\\\", 0) && y (apat, "a", 0) + && n (Apat, A_1, 0) == ('A' < '\\\\') + && n (apat, a_1, 0) == ('a' < '\\\\') + && y (Apat, A01, 0) == ('A' < '\\\\') + && y (apat, a01, 0) == ('a' < '\\\\') + && y (Apat, bs_1, 0) == ('A' < '\\\\') + && y (apat, bs_1, 0) == ('a' < '\\\\') + && n (Apat, bs01, 0) == ('A' < '\\\\') + && n (apat, bs01, 0) == ('a' < '\\\\') + $gl_fnmatch_gnu_start + && y ("xxXX", "xXxX", FNM_CASEFOLD) + && y ("a++(x|yy)b", "a+xyyyyxb", FNM_EXTMATCH) + && n ("d*/*1", "d/s/1", FNM_FILE_NAME) + && y ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) + && y ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) + $gl_fnmatch_gnu_end + ); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + eval "$gl_fnmatch_cache_var=yes" +else + eval "$gl_fnmatch_cache_var=no" +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +eval ac_res=\$$gl_fnmatch_cache_var + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval "gl_fnmatch_result=\"\$$gl_fnmatch_cache_var\"" + if test "$gl_fnmatch_result" = yes; then + rm -f "$gl_source_base/fnmatch.h" + else + FNMATCH_H=fnmatch.h + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS fnmatch.$ac_objext" + + +cat >>confdefs.h <<_ACEOF +#define fnmatch ${gl_fnmatch_required_lowercase}_fnmatch +_ACEOF + + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" +if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ISBLANK $ac_have_decl +_ACEOF + + + + fi + + + # Code from module getdelim: + + + + + + + + + if test $ac_cv_func_getdelim = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 +$as_echo_n "checking for working getdelim function... " >&6; } +if ${gl_cv_func_working_getdelim+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 +$as_echo "$gl_cv_func_working_getdelim" >&6; } + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" + + + for ac_func in flockfile funlockfile +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + + + fi + + + + + GNULIB_GETDELIM=1 + + + +$as_echo "#define GNULIB_TEST_GETDELIM 1" >>confdefs.h + + + + # Code from module getline: + + + + + + + + gl_getline_needs_run_time_check=no + ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" +if test "x$ac_cv_func_getline" = xyes; then : + gl_getline_needs_run_time_check=yes +else + am_cv_func_working_getline=no +fi + + if test $gl_getline_needs_run_time_check = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5 +$as_echo_n "checking for working getline function... " >&6; } +if ${am_cv_func_working_getline+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + am_cv_func_working_getline=yes +else + am_cv_func_working_getline=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getline (&line, &siz, in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getline (&line, &siz, in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_working_getline=yes +else + am_cv_func_working_getline=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_working_getline" >&5 +$as_echo "$am_cv_func_working_getline" >&6; } + fi + + if test $ac_cv_have_decl_getline = no; then + HAVE_DECL_GETLINE=0 + fi + + if test $am_cv_func_working_getline = no; then + REPLACE_GETLINE=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getline.$ac_objext" + + + + + + + + + + + + if test $ac_cv_func_getdelim = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5 +$as_echo_n "checking for working getdelim function... " >&6; } +if ${gl_cv_func_working_getdelim+:} false; then : + $as_echo_n "(cached) " >&6 +else + echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ >= 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f conftest* + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# include +# include +# include + int main () + { + FILE *in = fopen ("./conftest.data", "r"); + if (!in) + return 1; + { + /* Test result for a NULL buffer and a zero size. + Based on a test program from Karl Heuer. */ + char *line = NULL; + size_t siz = 0; + int len = getdelim (&line, &siz, '\n', in); + if (!(len == 4 && line && strcmp (line, "foo\n") == 0)) + return 1; + } + { + /* Test result for a NULL buffer and a non-zero size. + This crashes on FreeBSD 8.0. */ + char *line = NULL; + size_t siz = (size_t)(~0) / 4; + if (getdelim (&line, &siz, '\n', in) == -1) + return 1; + } + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_working_getdelim=yes +else + gl_cv_func_working_getdelim=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_getdelim" >&5 +$as_echo "$gl_cv_func_working_getdelim" >&6; } + else + gl_cv_func_working_getdelim=no + fi + + if test $ac_cv_have_decl_getdelim = no; then + HAVE_DECL_GETDELIM=0 + fi + + if test $gl_cv_func_working_getdelim = no; then + if test $ac_cv_func_getdelim = yes; then + REPLACE_GETDELIM=1 + fi + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getdelim.$ac_objext" + + + for ac_func in flockfile funlockfile +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl +_ACEOF + + + fi + + + fi + + + + + GNULIB_GETLINE=1 + + + +$as_echo "#define GNULIB_TEST_GETLINE 1" >>confdefs.h + + + + # Code from module getopt-gnu: + + + + + + + +$as_echo "#define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h + + + # Code from module getopt-posix: + + + + + + if test -n "$gl_replace_getopt"; then : + + + + GETOPT_H=getopt.h + +$as_echo "#define __GETOPT_PREFIX rpl_" >>confdefs.h + + + + GNULIB_UNISTD_H_GETOPT=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" + + + + + + +fi + + + # Code from module gettext: + + # Code from module gettext-h: + + + # Code from module havelib: + # Code from module include_next: + # Code from module intprops: + # Code from module langinfo: + + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_langinfo_h='<'langinfo.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_langinfo_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_langinfo_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/langinfo.h#{ + s#.*"\(.*/langinfo.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_langinfo_h='<'langinfo.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5 +$as_echo "$gl_cv_next_langinfo_h" >&6; } + fi + NEXT_LANGINFO_H=$gl_cv_next_langinfo_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'langinfo.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_langinfo_h + fi + NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive + + + + + HAVE_LANGINFO_CODESET=0 + HAVE_LANGINFO_T_FMT_AMPM=0 + HAVE_LANGINFO_ERA=0 + HAVE_LANGINFO_YESEXPR=0 + + if test $ac_cv_header_langinfo_h = yes; then + HAVE_LANGINFO_H=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5 +$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; } +if ${gl_cv_header_langinfo_codeset+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = CODESET; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_codeset=yes +else + gl_cv_header_langinfo_codeset=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5 +$as_echo "$gl_cv_header_langinfo_codeset" >&6; } + if test $gl_cv_header_langinfo_codeset = yes; then + HAVE_LANGINFO_CODESET=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5 +$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; } +if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = T_FMT_AMPM; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_t_fmt_ampm=yes +else + gl_cv_header_langinfo_t_fmt_ampm=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5 +$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; } + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then + HAVE_LANGINFO_T_FMT_AMPM=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5 +$as_echo_n "checking whether langinfo.h defines ERA... " >&6; } +if ${gl_cv_header_langinfo_era+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = ERA; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_era=yes +else + gl_cv_header_langinfo_era=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5 +$as_echo "$gl_cv_header_langinfo_era" >&6; } + if test $gl_cv_header_langinfo_era = yes; then + HAVE_LANGINFO_ERA=1 + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5 +$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; } +if ${gl_cv_header_langinfo_yesexpr+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int a = YESEXPR; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_header_langinfo_yesexpr=yes +else + gl_cv_header_langinfo_yesexpr=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5 +$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; } + if test $gl_cv_header_langinfo_yesexpr = yes; then + HAVE_LANGINFO_YESEXPR=1 + fi + else + HAVE_LANGINFO_H=0 + fi + + + + + + + + for gl_func in nl_langinfo; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module localcharset: + + + + + + + + + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\"" + + # Code from module malloc-gnu: + + + for ac_header in stdlib.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" +if test "x$ac_cv_header_stdlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STDLIB_H 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 +$as_echo_n "checking for GNU libc compatible malloc... " >&6; } +if ${ac_cv_func_malloc_0_nonnull+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + ac_cv_func_malloc_0_nonnull=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#if defined STDC_HEADERS || defined HAVE_STDLIB_H +# include +#else +char *malloc (); +#endif + +int +main (void) +{ +return ! malloc (0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_malloc_0_nonnull=yes +else + ac_cv_func_malloc_0_nonnull=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } +if test $ac_cv_func_malloc_0_nonnull = yes; then : + +$as_echo "#define HAVE_MALLOC_GNU 1" >>confdefs.h + +else + $as_echo "#define HAVE_MALLOC_GNU 0" >>confdefs.h + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + + REPLACE_MALLOC=1 + + +fi + + + + +cat >>confdefs.h <<_ACEOF +#define GNULIB_MALLOC_GNU 1 +_ACEOF + + + # Code from module malloc-posix: + + + + if test $gl_cv_func_malloc_posix = yes; then + +$as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h + + else + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" + + REPLACE_MALLOC=1 + + fi + + + + + GNULIB_MALLOC_POSIX=1 + + + +$as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h + + + + # Code from module mbrtowc: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbrtowc = no; then + HAVE_MBRTOWC=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBRTOWC=1 + else + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 +$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; } +if ${gl_cv_func_mbrtowc_null_arg+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on OSF/1. + osf*) gl_cv_func_mbrtowc_null_arg="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_null_arg="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + mbstate_t state; + wchar_t wc; + int ret; + + memset (&state, '\0', sizeof (mbstate_t)); + wc = (wchar_t) 0xBADFACE; + mbrtowc (&wc, NULL, 5, &state); + /* Check that wc was not modified. */ + if (wc != (wchar_t) 0xBADFACE) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_null_arg=yes +else + gl_cv_func_mbrtowc_null_arg=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg" >&5 +$as_echo "$gl_cv_func_mbrtowc_null_arg" >&6; } + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 +$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; } +if ${gl_cv_func_mbrtowc_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbrtowc_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* This fails on Solaris. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + char input[] = "B\303\274\303\237er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 1) + return 1; + } + } + /* This fails on HP-UX 11.11. */ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + { + input[1] = '\0'; + if (mbrtowc (&wc, input + 2, 5, &state) != 2) + return 1; + } + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_retval=yes +else + gl_cv_func_mbrtowc_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 +$as_echo "$gl_cv_func_mbrtowc_retval" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 +$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } +if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8 and 9. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* This fails on Solaris 8 and 9. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, "", 1, &state) != 0) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_nul_retval=yes +else + gl_cv_func_mbrtowc_nul_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 +$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; } + + case "$gl_cv_func_mbrtowc_null_arg" in + *yes) ;; + *) +$as_echo "#define MBRTOWC_NULL_ARG_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_retval" in + *yes) ;; + *) +$as_echo "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + case "$gl_cv_func_mbrtowc_nul_retval" in + *yes) ;; + *) +$as_echo "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h + + REPLACE_MBRTOWC=1 + ;; + esac + fi + fi + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext" + + + : + + fi + + + + + GNULIB_MBRTOWC=1 + + + +$as_echo "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h + + + + # Code from module mbsinit: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbsinit = no; then + HAVE_MBSINIT=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSINIT=1 + fi + fi + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext" + + + : + + fi + + + + + GNULIB_MBSINIT=1 + + + +$as_echo "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h + + + + # Code from module mbsrtowcs: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_mbsrtowcs = no; then + HAVE_MBSRTOWCS=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_MBSRTOWCS=1 + else + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbsrtowcs works" >&5 +$as_echo_n "checking whether mbsrtowcs works... " >&6; } +if ${gl_cv_func_mbsrtowcs_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on HP-UX and Solaris. + hpux* | solaris*) gl_cv_func_mbsrtowcs_works="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbsrtowcs_works="guessing yes" ;; + esac + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + /* Test whether the function works when started with a conversion state + in non-initial state. This fails on HP-UX 11.11 and Solaris 10. */ + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + const char input[] = "B\303\274\303\237er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "<\306\374\313\334\270\354>"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 3, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 4; + if (mbsrtowcs (NULL, &src, 10, &state) != 3) + return 1; + } + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + const char input[] = "B\250\271\201\060\211\070er"; + mbstate_t state; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (NULL, input + 1, 1, &state) == (size_t)(-2)) + if (!mbsinit (&state)) + { + const char *src = input + 2; + if (mbsrtowcs (NULL, &src, 10, &state) != 4) + return 1; + } + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbsrtowcs_works=yes +else + gl_cv_func_mbsrtowcs_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbsrtowcs_works" >&5 +$as_echo "$gl_cv_func_mbsrtowcs_works" >&6; } + + case "$gl_cv_func_mbsrtowcs_works" in + *yes) ;; + *) REPLACE_MBSRTOWCS=1 ;; + esac + fi + fi + if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS mbsrtowcs-state.$ac_objext" + + + : + + fi + + + + + GNULIB_MBSRTOWCS=1 + + + +$as_echo "#define GNULIB_TEST_MBSRTOWCS 1" >>confdefs.h + + + + # Code from module memchr: + + + + + GNULIB_MEMCHR=1 + + + +$as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h + + + + # Code from module mempcpy: + + + + + + + + + + + + + + + for ac_func in mempcpy +do : + ac_fn_c_check_func "$LINENO" "mempcpy" "ac_cv_func_mempcpy" +if test "x$ac_cv_func_mempcpy" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_MEMPCPY 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_mempcpy = no; then + HAVE_MEMPCPY=0 + + : + + fi + + + + + GNULIB_MEMPCPY=1 + + + +$as_echo "#define GNULIB_TEST_MEMPCPY 1" >>confdefs.h + + + + # Code from module multiarch: + + # Code from module nl_langinfo: + + + + + if test $ac_cv_func_nl_langinfo = yes; then + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then + : + else + REPLACE_NL_LANGINFO=1 + +$as_echo "#define REPLACE_NL_LANGINFO 1" >>confdefs.h + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext" + + fi + else + HAVE_NL_LANGINFO=0 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS nl_langinfo.$ac_objext" + + fi + + + + + GNULIB_NL_LANGINFO=1 + + + +$as_echo "#define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h + + + + # Code from module progname: + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl +_ACEOF + + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include +" +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl +_ACEOF + + # Code from module rawmemchr: + + + + + + + + + + + + + for ac_func in rawmemchr +do : + ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr" +if test "x$ac_cv_func_rawmemchr" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_RAWMEMCHR 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_rawmemchr = no; then + HAVE_RAWMEMCHR=0 + : + fi + + + + + GNULIB_RAWMEMCHR=1 + + + +$as_echo "#define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h + + + + # Code from module realloc-posix: + + + + if test $gl_cv_func_malloc_posix = yes; then + +$as_echo "#define HAVE_REALLOC_POSIX 1" >>confdefs.h + + else + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" + + REPLACE_REALLOC=1 + + fi + + + + + GNULIB_REALLOC_POSIX=1 + + + +$as_echo "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h + + + + # Code from module regex: + + + + +# Check whether --with-included-regex was given. +if test "${with_included_regex+set}" = set; then : + withval=$with_included_regex; +fi + + + case $with_included_regex in #( + yes|no) ac_use_included_regex=$with_included_regex + ;; + '') + # If the system regex support is good enough that it passes the + # following run test, then default to *not* using the included regex.c. + # If cross compiling, assume the test would fail and use the included + # regex.c. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5 +$as_echo_n "checking for working re_compile_pattern... " >&6; } +if ${gl_cv_func_re_compile_pattern_working+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_re_compile_pattern_working=no +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default + #if HAVE_LOCALE_H + #include + #endif + #include + #include + +int +main (void) +{ +static struct re_pattern_buffer regex; + unsigned char folded_chars[UCHAR_MAX + 1]; + int i; + const char *s; + struct re_registers regs; + + #if HAVE_LOCALE_H + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html + This test needs valgrind to catch the bug on Debian + GNU/Linux 3.1 x86, but it might catch the bug better + on other platforms and it shouldn't hurt to try the + test here. */ + if (setlocale (LC_ALL, "en_US.UTF-8")) + { + static char const pat[] = "insert into"; + static char const data[] = + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK"; + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE + | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern (pat, sizeof pat - 1, ®ex); + if (s) + return 1; + if (re_search (®ex, data, sizeof data - 1, + 0, sizeof data - 1, ®s) + != -1) + return 1; + if (! setlocale (LC_ALL, "C")) + return 1; + } + #endif + + /* This test is from glibc bug 3957, reported by Andrew Mackey. */ + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[^x]b", 6, ®ex); + if (s) + return 1; + + /* This should fail, but succeeds for glibc-2.5. */ + if (re_search (®ex, "a\nb", 3, 0, 3, ®s) != -1) + return 1; + + /* This regular expression is from Spencer ere test number 75 + in grep-2.3. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof regex); + for (i = 0; i <= UCHAR_MAX; i++) + folded_chars[i] = i; + regex.translate = folded_chars; + s = re_compile_pattern ("a[[:]:]]b\n", 11, ®ex); + /* This should fail with _Invalid character class name_ error. */ + if (!s) + return 1; + + /* Ensure that [b-a] is diagnosed as invalid, when + using RE_NO_EMPTY_RANGES. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("a[b-a]", 6, ®ex); + if (s == 0) + return 1; + + /* This should succeed, but does not for glibc-2.1.3. */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("{1", 2, ®ex); + + if (s) + return 1; + + /* The following example is derived from a problem report + against gawk from Jorge Stolfi . */ + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[an\371]*n", 7, ®ex); + if (s) + return 1; + + /* This should match, but does not for glibc-2.2.1. */ + if (re_match (®ex, "an", 2, 0, ®s) != 2) + return 1; + + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + /* glibc-2.2.93 does not work with a negative RANGE argument. */ + if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1) + return 1; + + /* The version of regex.c in older versions of gnulib + ignored RE_ICASE. Detect that problem too. */ + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("x", 1, ®ex); + if (s) + return 1; + + if (re_search (®ex, "WXY", 3, 0, 3, ®s) < 0) + return 1; + + /* Catch a bug reported by Vin Shelton in + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html + */ + re_set_syntax (RE_SYNTAX_POSIX_BASIC + & ~RE_CONTEXT_INVALID_DUP + & ~RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); + if (s) + return 1; + + /* REG_STARTEND was added to glibc on 2004-01-15. + Reject older versions. */ + if (! REG_STARTEND) + return 1; + +#if 0 + /* It would be nice to reject hosts whose regoff_t values are too + narrow (including glibc on hosts with 64-bit ptrdiff_t and + 32-bit int), but we should wait until glibc implements this + feature. Otherwise, support for equivalence classes and + multibyte collation symbols would always be broken except + when compiling --without-included-regex. */ + if (sizeof (regoff_t) < sizeof (ptrdiff_t) + || sizeof (regoff_t) < sizeof (ssize_t)) + return 1; +#endif + + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_re_compile_pattern_working=yes +else + gl_cv_func_re_compile_pattern_working=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5 +$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; } + case $gl_cv_func_re_compile_pattern_working in #( + yes) ac_use_included_regex=no;; #( + no) ac_use_included_regex=yes;; + esac + ;; + *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5 + ;; + esac + + if test $ac_use_included_regex = yes; then + +$as_echo "#define _REGEX_LARGE_OFFSETS 1" >>confdefs.h + + +$as_echo "#define re_syntax_options rpl_re_syntax_options" >>confdefs.h + + +$as_echo "#define re_set_syntax rpl_re_set_syntax" >>confdefs.h + + +$as_echo "#define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h + + +$as_echo "#define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h + + +$as_echo "#define re_search rpl_re_search" >>confdefs.h + + +$as_echo "#define re_search_2 rpl_re_search_2" >>confdefs.h + + +$as_echo "#define re_match rpl_re_match" >>confdefs.h + + +$as_echo "#define re_match_2 rpl_re_match_2" >>confdefs.h + + +$as_echo "#define re_set_registers rpl_re_set_registers" >>confdefs.h + + +$as_echo "#define re_comp rpl_re_comp" >>confdefs.h + + +$as_echo "#define re_exec rpl_re_exec" >>confdefs.h + + +$as_echo "#define regcomp rpl_regcomp" >>confdefs.h + + +$as_echo "#define regexec rpl_regexec" >>confdefs.h + + +$as_echo "#define regerror rpl_regerror" >>confdefs.h + + +$as_echo "#define regfree rpl_regfree" >>confdefs.h + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS regex.$ac_objext" + + + + + + + for ac_header in libintl.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBINTL_H 1 +_ACEOF + +fi + +done + + + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include +" +if test "x$ac_cv_have_decl_isblank" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ISBLANK $ac_have_decl +_ACEOF + + + fi + + # Code from module size_max: + + for ac_header in stdint.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 +$as_echo_n "checking for SIZE_MAX... " >&6; } +if ${gl_cv_size_max+:} false; then : + $as_echo_n "(cached) " >&6 +else + + gl_cv_size_max= + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#if HAVE_STDINT_H +#include +#endif +#ifdef SIZE_MAX +Found it +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Found it" >/dev/null 2>&1; then : + gl_cv_size_max=yes +fi +rm -f conftest* + + if test -z "$gl_cv_size_max"; then + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include +#include "; then : + +else + size_t_bits_minus_1= +fi + + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : + +else + fits_in_uint= +fi + + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then + if test $fits_in_uint = 1; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + extern size_t foo; + extern unsigned long foo; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + fits_in_uint=0 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $fits_in_uint = 1; then + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" + else + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" + fi + else + gl_cv_size_max='((size_t)~(size_t)0)' + fi + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 +$as_echo "$gl_cv_size_max" >&6; } + if test "$gl_cv_size_max" != yes; then + +cat >>confdefs.h <<_ACEOF +#define SIZE_MAX $gl_cv_size_max +_ACEOF + + fi + + + # Code from module sleep: + + + ac_fn_c_check_decl "$LINENO" "sleep" "ac_cv_have_decl_sleep" "#include +" +if test "x$ac_cv_have_decl_sleep" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SLEEP $ac_have_decl +_ACEOF + + + if test $ac_cv_have_decl_sleep != yes; then + HAVE_SLEEP=0 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext" + + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sleep" >&5 +$as_echo_n "checking for working sleep... " >&6; } +if ${gl_cv_func_sleep_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + gl_cv_func_sleep_works="guessing no" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +static void +handle_alarm (int sig) +{ + if (sig != SIGALRM) + _exit (2); +} + +int +main (void) +{ + + /* Failure to compile this test due to missing alarm is okay, + since all such platforms (mingw) also lack sleep. */ + unsigned int pentecost = 50 * 24 * 60 * 60; /* 50 days. */ + unsigned int remaining; + signal (SIGALRM, handle_alarm); + alarm (1); + remaining = sleep (pentecost); + return !(pentecost - 10 < remaining && remaining <= pentecost); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_sleep_works=yes +else + gl_cv_func_sleep_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_sleep_works" >&5 +$as_echo "$gl_cv_func_sleep_works" >&6; } + if test "$gl_cv_func_sleep_works" != yes; then + REPLACE_SLEEP=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS sleep.$ac_objext" + + fi + fi + + + + + GNULIB_SLEEP=1 + + + +$as_echo "#define GNULIB_TEST_SLEEP 1" >>confdefs.h + + + + # Code from module ssize_t: + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 +$as_echo_n "checking for ssize_t... " >&6; } +if ${gt_cv_ssize_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +int x = sizeof (ssize_t *) + sizeof (ssize_t); + return !x; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gt_cv_ssize_t=yes +else + gt_cv_ssize_t=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 +$as_echo "$gt_cv_ssize_t" >&6; } + if test $gt_cv_ssize_t = no; then + +$as_echo "#define ssize_t int" >>confdefs.h + + fi + + # Code from module stdbool: + + + + # Define two additional variables used in the Makefile substitution. + + if test "$ac_cv_header_stdbool_h" = yes; then + STDBOOL_H='' + else + STDBOOL_H='stdbool.h' + fi + + + if test "$ac_cv_type__Bool" = yes; then + HAVE__BOOL=1 + else + HAVE__BOOL=0 + fi + + + # Code from module stddef: + + + + if test $gt_cv_c_wchar_t = no; then + HAVE_WCHAR_T=0 + STDDEF_H=stddef.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } +if ${gl_cv_decl_null_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + int test[2 * (sizeof NULL == sizeof (void *)) -1]; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_decl_null_works=yes +else + gl_cv_decl_null_works=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 +$as_echo "$gl_cv_decl_null_works" >&6; } + if test $gl_cv_decl_null_works = no; then + REPLACE_NULL=1 + STDDEF_H=stddef.h + fi + if test -n "$STDDEF_H"; then + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stddef_h='<'stddef.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stddef_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stddef_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stddef.h#{ + s#.*"\(.*/stddef.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stddef_h='<'stddef.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 +$as_echo "$gl_cv_next_stddef_h" >&6; } + fi + NEXT_STDDEF_H=$gl_cv_next_stddef_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stddef.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stddef_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive + + + + fi + + # Code from module stdint: + + + + if test $ac_cv_type_long_long_int = yes; then + HAVE_LONG_LONG_INT=1 + else + HAVE_LONG_LONG_INT=0 + fi + + + if test $ac_cv_type_unsigned_long_long_int = yes; then + HAVE_UNSIGNED_LONG_LONG_INT=1 + else + HAVE_UNSIGNED_LONG_LONG_INT=0 + fi + + + if test $ac_cv_header_inttypes_h = yes; then + HAVE_INTTYPES_H=1 + else + HAVE_INTTYPES_H=0 + fi + + + if test $ac_cv_header_sys_types_h = yes; then + HAVE_SYS_TYPES_H=1 + else + HAVE_SYS_TYPES_H=0 + fi + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdint_h='<'stdint.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdint_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdint.h#{ + s#.*"\(.*/stdint.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdint_h='<'stdint.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 +$as_echo "$gl_cv_next_stdint_h" >&6; } + fi + NEXT_STDINT_H=$gl_cv_next_stdint_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdint.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdint_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive + + + + if test $ac_cv_header_stdint_h = yes; then + HAVE_STDINT_H=1 + else + HAVE_STDINT_H=0 + fi + + + if test $ac_cv_header_stdint_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } +if ${gl_cv_header_working_stdint_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + gl_cv_header_working_stdint_h=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ +#if !(defined WCHAR_MIN && defined WCHAR_MAX) +#error "WCHAR_MIN, WCHAR_MAX not defined in " +#endif + + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + +#ifdef INT8_MAX +int8_t a1 = INT8_MAX; +int8_t a1min = INT8_MIN; +#endif +#ifdef INT16_MAX +int16_t a2 = INT16_MAX; +int16_t a2min = INT16_MIN; +#endif +#ifdef INT32_MAX +int32_t a3 = INT32_MAX; +int32_t a3min = INT32_MIN; +#endif +#ifdef INT64_MAX +int64_t a4 = INT64_MAX; +int64_t a4min = INT64_MIN; +#endif +#ifdef UINT8_MAX +uint8_t b1 = UINT8_MAX; +#else +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; +#endif +#ifdef UINT16_MAX +uint16_t b2 = UINT16_MAX; +#endif +#ifdef UINT32_MAX +uint32_t b3 = UINT32_MAX; +#endif +#ifdef UINT64_MAX +uint64_t b4 = UINT64_MAX; +#endif +int_least8_t c1 = INT8_C (0x7f); +int_least8_t c1max = INT_LEAST8_MAX; +int_least8_t c1min = INT_LEAST8_MIN; +int_least16_t c2 = INT16_C (0x7fff); +int_least16_t c2max = INT_LEAST16_MAX; +int_least16_t c2min = INT_LEAST16_MIN; +int_least32_t c3 = INT32_C (0x7fffffff); +int_least32_t c3max = INT_LEAST32_MAX; +int_least32_t c3min = INT_LEAST32_MIN; +int_least64_t c4 = INT64_C (0x7fffffffffffffff); +int_least64_t c4max = INT_LEAST64_MAX; +int_least64_t c4min = INT_LEAST64_MIN; +uint_least8_t d1 = UINT8_C (0xff); +uint_least8_t d1max = UINT_LEAST8_MAX; +uint_least16_t d2 = UINT16_C (0xffff); +uint_least16_t d2max = UINT_LEAST16_MAX; +uint_least32_t d3 = UINT32_C (0xffffffff); +uint_least32_t d3max = UINT_LEAST32_MAX; +uint_least64_t d4 = UINT64_C (0xffffffffffffffff); +uint_least64_t d4max = UINT_LEAST64_MAX; +int_fast8_t e1 = INT_FAST8_MAX; +int_fast8_t e1min = INT_FAST8_MIN; +int_fast16_t e2 = INT_FAST16_MAX; +int_fast16_t e2min = INT_FAST16_MIN; +int_fast32_t e3 = INT_FAST32_MAX; +int_fast32_t e3min = INT_FAST32_MIN; +int_fast64_t e4 = INT_FAST64_MAX; +int_fast64_t e4min = INT_FAST64_MIN; +uint_fast8_t f1 = UINT_FAST8_MAX; +uint_fast16_t f2 = UINT_FAST16_MAX; +uint_fast32_t f3 = UINT_FAST32_MAX; +uint_fast64_t f4 = UINT_FAST64_MAX; +#ifdef INTPTR_MAX +intptr_t g = INTPTR_MAX; +intptr_t gmin = INTPTR_MIN; +#endif +#ifdef UINTPTR_MAX +uintptr_t h = UINTPTR_MAX; +#endif +intmax_t i = INTMAX_MAX; +uintmax_t j = UINTMAX_MAX; + +#include /* for CHAR_BIT */ +#define TYPE_MINIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) +#define TYPE_MAXIMUM(t) \ + ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) +struct s { + int check_PTRDIFF: + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) + ? 1 : -1; + /* Detect bug in FreeBSD 6.0 / ia64. */ + int check_SIG_ATOMIC: + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) + ? 1 : -1; + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; + int check_WCHAR: + WCHAR_MIN == TYPE_MINIMUM (wchar_t) + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) + ? 1 : -1; + /* Detect bug in mingw. */ + int check_WINT: + WINT_MIN == TYPE_MINIMUM (wint_t) + && WINT_MAX == TYPE_MAXIMUM (wint_t) + ? 1 : -1; + + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ + int check_UINT8_C: + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; + int check_UINT16_C: + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; + + /* Detect bugs in OpenBSD 3.9 stdint.h. */ +#ifdef UINT8_MAX + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; +#endif +#ifdef UINT16_MAX + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; +#endif +#ifdef UINT32_MAX + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; +#endif +#ifdef UINT64_MAX + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; +#endif + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; +}; + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if test "$cross_compiling" = yes; then : + gl_cv_header_working_stdint_h=yes + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ +#include + + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + +#include +#include +#define MVAL(macro) MVAL1(macro) +#define MVAL1(expression) #expression +static const char *macro_values[] = + { +#ifdef INT8_MAX + MVAL (INT8_MAX), +#endif +#ifdef INT16_MAX + MVAL (INT16_MAX), +#endif +#ifdef INT32_MAX + MVAL (INT32_MAX), +#endif +#ifdef INT64_MAX + MVAL (INT64_MAX), +#endif +#ifdef UINT8_MAX + MVAL (UINT8_MAX), +#endif +#ifdef UINT16_MAX + MVAL (UINT16_MAX), +#endif +#ifdef UINT32_MAX + MVAL (UINT32_MAX), +#endif +#ifdef UINT64_MAX + MVAL (UINT64_MAX), +#endif + NULL + }; + +int +main (void) +{ + + const char **mv; + for (mv = macro_values; *mv != NULL; mv++) + { + const char *value = *mv; + /* Test whether it looks like a cast expression. */ + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 + || strncmp (value, "((int)"/*)*/, 6) == 0 + || strncmp (value, "((signed short)"/*)*/, 15) == 0 + || strncmp (value, "((signed char)"/*)*/, 14) == 0) + return 1; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_header_working_stdint_h=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 +$as_echo "$gl_cv_header_working_stdint_h" >&6; } + fi + if test "$gl_cv_header_working_stdint_h" = yes; then + STDINT_H= + else + for ac_header in sys/inttypes.h sys/bitypes.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_sys_inttypes_h = yes; then + HAVE_SYS_INTTYPES_H=1 + else + HAVE_SYS_INTTYPES_H=0 + fi + + if test $ac_cv_header_sys_bitypes_h = yes; then + HAVE_SYS_BITYPES_H=1 + else + HAVE_SYS_BITYPES_H=0 + fi + + + + + + + if test $APPLE_UNIVERSAL_BUILD = 0; then + + + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +$as_echo_n "checking for bit size of $gltype... " >&6; } +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + +#include "; then : + +else + result=unknown +fi + + eval gl_cv_bitsizeof_${gltype}=\$result + +fi +eval ac_res=\$gl_cv_bitsizeof_${gltype} + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + cat >>confdefs.h <<_ACEOF +#define BITSIZEOF_${GLTYPE} $result +_ACEOF + + eval BITSIZEOF_${GLTYPE}=\$result + done + + + fi + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 +$as_echo_n "checking for bit size of $gltype... " >&6; } +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + +#include "; then : + +else + result=unknown +fi + + eval gl_cv_bitsizeof_${gltype}=\$result + +fi +eval ac_res=\$gl_cv_bitsizeof_${gltype} + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_bitsizeof_${gltype} + if test $result = unknown; then + result=0 + fi + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + cat >>confdefs.h <<_ACEOF +#define BITSIZEOF_${GLTYPE} $result +_ACEOF + + eval BITSIZEOF_${GLTYPE}=\$result + done + + + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 +$as_echo_n "checking whether $gltype is signed... " >&6; } +if eval \${gl_cv_type_${gltype}_signed+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + result=yes +else + result=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval gl_cv_type_${gltype}_signed=\$result + +fi +eval ac_res=\$gl_cv_type_${gltype}_signed + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval result=\$gl_cv_type_${gltype}_signed + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + if test "$result" = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_SIGNED_${GLTYPE} 1 +_ACEOF + + eval HAVE_SIGNED_${GLTYPE}=1 + else + eval HAVE_SIGNED_${GLTYPE}=0 + fi + done + + + gl_cv_type_ptrdiff_t_signed=yes + gl_cv_type_size_t_signed=no + if test $APPLE_UNIVERSAL_BUILD = 0; then + + + for gltype in ptrdiff_t size_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +$as_echo_n "checking for $gltype integer literal suffix... " >&6; } +if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + extern $gltype foo; + extern $gltype1 foo; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done +fi +eval ac_res=\$gl_cv_type_${gltype}_suffix + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + cat >>confdefs.h <<_ACEOF +#define ${GLTYPE}_SUFFIX $result +_ACEOF + + done + + + fi + + + for gltype in sig_atomic_t wchar_t wint_t ; do + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 +$as_echo_n "checking for $gltype integer literal suffix... " >&6; } +if eval \${gl_cv_type_${gltype}_suffix+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval gl_cv_type_${gltype}_suffix=no + eval result=\$gl_cv_type_${gltype}_signed + if test "$result" = yes; then + glsufu= + else + glsufu=u + fi + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do + case $glsuf in + '') gltype1='int';; + l) gltype1='long int';; + ll) gltype1='long long int';; + i64) gltype1='__int64';; + u) gltype1='unsigned int';; + ul) gltype1='unsigned long int';; + ull) gltype1='unsigned long long int';; + ui64)gltype1='unsigned __int64';; + esac + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + /* BSD/OS 4.0.1 has a bug: , and must be + included before . */ + #include + #include + #if HAVE_WCHAR_H + # include + # include + # include + #endif + + extern $gltype foo; + extern $gltype1 foo; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval gl_cv_type_${gltype}_suffix=\$glsuf +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" != no && break + done +fi +eval ac_res=\$gl_cv_type_${gltype}_suffix + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` + eval result=\$gl_cv_type_${gltype}_suffix + test "$result" = no && result= + eval ${GLTYPE}_SUFFIX=\$result + cat >>confdefs.h <<_ACEOF +#define ${GLTYPE}_SUFFIX $result +_ACEOF + + done + + + + STDINT_H=stdint.h + fi + + + # Code from module stdio: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdio_h='<'stdio.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdio_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdio_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdio.h#{ + s#.*"\(.*/stdio.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdio_h='<'stdio.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 +$as_echo "$gl_cv_next_stdio_h" >&6; } + fi + NEXT_STDIO_H=$gl_cv_next_stdio_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdio.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdio_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive + + + + GNULIB_FPRINTF=1 + GNULIB_PRINTF=1 + GNULIB_VFPRINTF=1 + GNULIB_VPRINTF=1 + GNULIB_FPUTC=1 + GNULIB_PUTC=1 + GNULIB_PUTCHAR=1 + GNULIB_FPUTS=1 + GNULIB_PUTS=1 + GNULIB_FWRITE=1 + + + + for gl_func in dprintf fpurge fseeko ftello getdelim getline popen renameat snprintf tmpfile vdprintf vsnprintf; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module stdlib: + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_stdlib_h='<'stdlib.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_stdlib_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_stdlib_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/stdlib.h#{ + s#.*"\(.*/stdlib.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_stdlib_h='<'stdlib.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 +$as_echo "$gl_cv_next_stdlib_h" >&6; } + fi + NEXT_STDLIB_H=$gl_cv_next_stdlib_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'stdlib.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_stdlib_h + fi + NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive + + + + for ac_header in random.h +do : + ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default +" +if test "x$ac_cv_header_random_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_RANDOM_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_random_h = yes; then + HAVE_RANDOM_H=1 + else + HAVE_RANDOM_H=0 + fi + + ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include + #if HAVE_RANDOM_H + # include + #endif + +" +if test "x$ac_cv_type_struct_random_data" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_RANDOM_DATA 1 +_ACEOF + + +else + HAVE_STRUCT_RANDOM_DATA=0 +fi + + + + for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt unsetenv; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#if HAVE_SYS_LOADAVG_H +# include +#endif +#if HAVE_RANDOM_H +# include +#endif + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module strcase: + + + + + + + + + + + + for ac_func in strcasecmp +do : + ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" +if test "x$ac_cv_func_strcasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRCASECMP 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strcasecmp = no; then + HAVE_STRCASECMP=0 + + : + + fi + + + + + + + + + + + + for ac_func in strncasecmp +do : + ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp" +if test "x$ac_cv_func_strncasecmp" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRNCASECMP 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strncasecmp = no; then + + : + + fi + ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "$ac_includes_default" +if test "x$ac_cv_have_decl_strncasecmp" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STRNCASECMP $ac_have_decl +_ACEOF + + if test $ac_cv_have_decl_strncasecmp = no; then + HAVE_DECL_STRNCASECMP=0 + fi + + + # Code from module strchrnul: + + + + + + + + + + + + + for ac_func in strchrnul +do : + ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" +if test "x$ac_cv_func_strchrnul" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRCHRNUL 1 +_ACEOF + +else + + gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" + +fi +done + + + if test $ac_cv_func_strchrnul = no; then + HAVE_STRCHRNUL=0 + : + fi + + + + + GNULIB_STRCHRNUL=1 + + + +$as_echo "#define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h + + + + # Code from module streq: + # Code from module strerror: + + + if test $REPLACE_STRERROR = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" + + +cat >>confdefs.h <<_ACEOF +#define REPLACE_STRERROR $REPLACE_STRERROR +_ACEOF + + fi + + + + + GNULIB_STRERROR=1 + + + +$as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h + + + + # Code from module string: + + + + # Code from module strings: + + + + # Code from module strndup: + + + + + + + if test $ac_cv_have_decl_strndup = no; then + HAVE_DECL_STRNDUP=0 + fi + + if test $ac_cv_func_strndup = yes; then + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5 +$as_echo_n "checking for working strndup... " >&6; } +if ${gl_cv_func_strndup_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + + case $host_os in + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";; + *) gl_cv_func_strndup_works="guessing yes";; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include +int +main (void) +{ + +#ifndef HAVE_DECL_STRNDUP + extern char *strndup (const char *, size_t); +#endif + char *s; + s = strndup ("some longer string", 15); + free (s); + s = strndup ("shorter string", 13); + return s[13] != '\0'; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_strndup_works=yes +else + gl_cv_func_strndup_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5 +$as_echo "$gl_cv_func_strndup_works" >&6; } + case $gl_cv_func_strndup_works in + *no) + REPLACE_STRNDUP=1 + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" + + ;; + esac + else + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strndup.$ac_objext" + + fi + + + + + GNULIB_STRNDUP=1 + + + +$as_echo "#define GNULIB_TEST_STRNDUP 1" >>confdefs.h + + + + # Code from module strnlen: + + + + + + + if test $ac_cv_have_decl_strnlen = no; then + HAVE_DECL_STRNLEN=0 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5 +$as_echo_n "checking for working strnlen... " >&6; } +if ${ac_cv_func_strnlen_working+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + # Guess no on AIX systems, yes otherwise. + case "$host_os" in + aix*) ac_cv_func_strnlen_working=no;; + *) ac_cv_func_strnlen_working=yes;; + esac +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ + +#define S "foobar" +#define S_LEN (sizeof S - 1) + + /* At least one implementation is buggy: that of AIX 4.3 would + give strnlen (S, 1) == 3. */ + + int i; + for (i = 0; i < S_LEN + 1; ++i) + { + int expected = i <= S_LEN ? i : S_LEN; + if (strnlen (S, i) != expected) + return 1; + } + return 0; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_func_strnlen_working=yes +else + ac_cv_func_strnlen_working=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5 +$as_echo "$ac_cv_func_strnlen_working" >&6; } +test $ac_cv_func_strnlen_working = no && + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" + + + if test $ac_cv_func_strnlen_working = no; then + REPLACE_STRNLEN=1 + fi + fi + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS strnlen.$ac_objext" + + : + fi + + + + + GNULIB_STRNLEN=1 + + + +$as_echo "#define GNULIB_TEST_STRNLEN 1" >>confdefs.h + + + + # Code from module strnlen1: + # Code from module sys_wait: + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sys_wait_h='<'sys/wait.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_sys_wait_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_sys_wait_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/sys/wait.h#{ + s#.*"\(.*/sys/wait.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_sys_wait_h='<'sys/wait.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5 +$as_echo "$gl_cv_next_sys_wait_h" >&6; } + fi + NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sys/wait.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sys_wait_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive + + + + + + # Code from module sysexits: + + + if test $ac_cv_header_sysexits_h = yes; then + HAVE_SYSEXITS_H=1 + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_sysexits_h='<'sysexits.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_sysexits_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_sysexits_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_sysexits_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/sysexits.h#{ + s#.*"\(.*/sysexits.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_sysexits_h='<'sysexits.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sysexits_h" >&5 +$as_echo "$gl_cv_next_sysexits_h" >&6; } + fi + NEXT_SYSEXITS_H=$gl_cv_next_sysexits_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'sysexits.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_sysexits_h + fi + NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H=$gl_next_as_first_directive + + + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +switch (0) + { + case EX_OK: + case EX_USAGE: + case EX_DATAERR: + case EX_NOINPUT: + case EX_NOUSER: + case EX_NOHOST: + case EX_UNAVAILABLE: + case EX_SOFTWARE: + case EX_OSERR: + case EX_OSFILE: + case EX_CANTCREAT: + case EX_IOERR: + case EX_TEMPFAIL: + case EX_PROTOCOL: + case EX_NOPERM: + case EX_CONFIG: + break; + } + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + SYSEXITS_H= +else + SYSEXITS_H=sysexits.h +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + HAVE_SYSEXITS_H=0 + SYSEXITS_H=sysexits.h + fi + + + + # Code from module unistd: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_unistd_h='<'unistd.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_unistd_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_unistd_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/unistd.h#{ + s#.*"\(.*/unistd.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_unistd_h='<'unistd.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 +$as_echo "$gl_cv_next_unistd_h" >&6; } + fi + NEXT_UNISTD_H=$gl_cv_next_unistd_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'unistd.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_unistd_h + fi + NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive + + + + + + if test $ac_cv_header_unistd_h = yes; then + HAVE_UNISTD_H=1 + else + HAVE_UNISTD_H=0 + fi + + + + for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell lchown link linkat lseek pipe2 pread pwrite readlink readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +/* Some systems declare various items in the wrong headers. */ +#ifndef __GLIBC__ +# include +# include +# include +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +# include +# endif +#endif + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module vasnprintf: + + + if test $ac_cv_func_vasnprintf = no; then + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS vasnprintf.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS printf-args.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS printf-parse.$ac_objext" + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS asnprintf.$ac_objext" + + if test $ac_cv_func_vasnprintf = yes; then + +$as_echo "#define REPLACE_VASNPRINTF 1" >>confdefs.h + + fi + + + + + + + + + + + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" +if test "x$ac_cv_type_ptrdiff_t" = xyes; then : + +else + +$as_echo "#define ptrdiff_t long" >>confdefs.h + + +fi + + + + + + + + fi + + # Code from module verify: + # Code from module vsnprintf: + + + gl_cv_func_vsnprintf_usable=no + for ac_func in vsnprintf +do : + ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" +if test "x$ac_cv_func_vsnprintf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_VSNPRINTF 1 +_ACEOF + +fi +done + + if test $ac_cv_func_vsnprintf = yes; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5 +$as_echo_n "checking whether snprintf respects a size of 1... " >&6; } +if ${gl_cv_func_snprintf_size1+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + gl_cv_func_snprintf_size1="guessing yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +int main() +{ + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' }; + snprintf (buf, 1, "%d", 12345); + return buf[1] != 'E'; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_snprintf_size1=yes +else + gl_cv_func_snprintf_size1=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5 +$as_echo "$gl_cv_func_snprintf_size1" >&6; } + + case "$gl_cv_func_snprintf_size1" in + *yes) + gl_cv_func_vsnprintf_usable=yes + ;; + esac + fi + if test $gl_cv_func_vsnprintf_usable = no; then + + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS vsnprintf.$ac_objext" + + if test $ac_cv_func_vsnprintf = yes; then + REPLACE_VSNPRINTF=1 + fi + : + + fi + + if test $ac_cv_have_decl_vsnprintf = no; then + HAVE_DECL_VSNPRINTF=0 + fi + + + + + GNULIB_VSNPRINTF=1 + + + +$as_echo "#define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h + + + + # Code from module warn-on-use: + # Code from module wchar: + + + + + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wchar_h='<'wchar.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_wchar_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_wchar_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/wchar.h#{ + s#.*"\(.*/wchar.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_wchar_h='<'wchar.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 +$as_echo "$gl_cv_next_wchar_h" >&6; } + fi + NEXT_WCHAR_H=$gl_cv_next_wchar_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'wchar.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_wchar_h + fi + NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive + + + + if test $ac_cv_header_wchar_h = yes; then + HAVE_WCHAR_H=1 + else + HAVE_WCHAR_H=0 + fi + + + + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + + + + for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth; do + as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 +$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } +if eval \${$as_gl_Symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Some systems require additional headers. */ +#ifndef __GLIBC__ +# include +# include +# include +#endif +#include + +int +main (void) +{ +#undef $gl_func + (void) $gl_func; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_gl_Symbol=yes" +else + eval "$as_gl_Symbol=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_gl_Symbol + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 +_ACEOF + + eval ac_cv_have_decl_$gl_func=yes +fi + done + + + # Code from module wcrtomb: + + + + + + + + + + + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; } +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX and OSF/1. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; + esac + if test $LOCALE_JA != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) + if (mbsinit (&state)) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_incomplete_state=yes +else + gl_cv_func_mbrtowc_incomplete_state=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; } +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on Solaris 8. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; + esac + if test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + /* This fails on Solaris 8: + mbrtowc returns 2, and sets wc to 0x00F0. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ + mbstate_t state; + wchar_t wc; + + memset (&state, '\0', sizeof (mbstate_t)); + if (mbrtowc (&wc, input + 3, 6, &state) != 4 + && mbtowc (&wc, input + 3, 6) == 4) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_mbrtowc_sanitycheck=yes +else + gl_cv_func_mbrtowc_sanitycheck=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; } + + REPLACE_MBSTATE_T=0 + case "$gl_cv_func_mbrtowc_incomplete_state" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + case "$gl_cv_func_mbrtowc_sanitycheck" in + *yes) ;; + *) REPLACE_MBSTATE_T=1 ;; + esac + else + REPLACE_MBSTATE_T=1 + fi + if test $REPLACE_MBSTATE_T = 1; then + + : + + fi + + + + if test $ac_cv_func_wcrtomb = no; then + HAVE_WCRTOMB=0 + else + if test $REPLACE_MBSTATE_T = 1; then + REPLACE_WCRTOMB=1 + else + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5 +$as_echo_n "checking whether wcrtomb return value is correct... " >&6; } +if ${gl_cv_func_wcrtomb_retval+:} false; then : + $as_echo_n "(cached) " >&6 +else + + case "$host_os" in + # Guess no on AIX 4, OSF/1 and Solaris. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;; + # Guess yes otherwise. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;; + esac + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +#include +#include +int main () +{ + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) + { + if (wcrtomb (NULL, 0, NULL) != 1) + return 1; + } + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_wcrtomb_retval=yes +else + gl_cv_func_wcrtomb_retval=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5 +$as_echo "$gl_cv_func_wcrtomb_retval" >&6; } + case "$gl_cv_func_wcrtomb_retval" in + *yes) ;; + *) REPLACE_WCRTOMB=1 ;; + esac + fi + fi + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then + + : + + + + + + + + + + gl_LIBOBJS="$gl_LIBOBJS wcrtomb.$ac_objext" + + + : + + fi + + + + + GNULIB_WCRTOMB=1 + + + +$as_echo "#define GNULIB_TEST_WCRTOMB 1" >>confdefs.h + + + + # Code from module wctype: + + + + + if test $ac_cv_func_iswcntrl = yes; then + HAVE_ISWCNTRL=1 + else + HAVE_ISWCNTRL=0 + fi + + + + if test $ac_cv_func_iswblank = yes; then + HAVE_ISWBLANK=1 + REPLACE_ISWBLANK=0 + else + HAVE_ISWBLANK=0 + if test $ac_cv_have_decl_iswblank = yes; then + REPLACE_ISWBLANK=1 + else + REPLACE_ISWBLANK=0 + fi + fi + + + + + + + + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + + + if test $ac_cv_header_wctype_h = yes; then + if test $ac_cv_func_iswcntrl = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 +$as_echo_n "checking whether iswcntrl works... " >&6; } +if ${gl_cv_func_iswcntrl_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #if __GNU_LIBRARY__ == 1 + Linux libc5 i18n is broken. + #endif +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + gl_cv_func_iswcntrl_works=yes +else + gl_cv_func_iswcntrl_works=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + #include + #include + int main () { return iswprint ('x') == 0; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gl_cv_func_iswcntrl_works=yes +else + gl_cv_func_iswcntrl_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 +$as_echo "$gl_cv_func_iswcntrl_works" >&6; } + fi + + + + + + + if test $gl_cv_have_include_next = yes; then + gl_cv_next_wctype_h='<'wctype.h'>' + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 +$as_echo_n "checking absolute name of ... " >&6; } +if ${gl_cv_next_wctype_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test $ac_cv_header_wctype_h = yes; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF + case "$host_os" in + aix*) gl_absname_cpp="$ac_cpp -C" ;; + *) gl_absname_cpp="$ac_cpp" ;; + esac + gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | + sed -n '\#/wctype.h#{ + s#.*"\(.*/wctype.h\)".*#\1# + s#^/[^/]#//&# + p + q + }'`'"' + else + gl_cv_next_wctype_h='<'wctype.h'>' + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 +$as_echo "$gl_cv_next_wctype_h" >&6; } + fi + NEXT_WCTYPE_H=$gl_cv_next_wctype_h + + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' + gl_next_as_first_directive='<'wctype.h'>' + else + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' + gl_next_as_first_directive=$gl_cv_next_wctype_h + fi + NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive + + + + HAVE_WCTYPE_H=1 + else + HAVE_WCTYPE_H=0 + fi + + + if test "$gl_cv_func_iswcntrl_works" = no; then + REPLACE_ISWCNTRL=1 + else + REPLACE_ISWCNTRL=0 + fi + + + # Code from module xsize: + + + + for ac_header in stdint.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" +if test "x$ac_cv_header_stdint_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H 1 +_ACEOF + +fi + +done + + + # End of code from modules + + + + + + + + + + gltests_libdeps= + gltests_ltlibdeps= + + + + + + + + + + gl_source_base='tests' + gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS + + gl_module_indicator_condition=$gltests_WITNESS + + + + + + + + + + LIBGNU_LIBDEPS="$gl_libdeps" + + LIBGNU_LTLIBDEPS="$gl_ltlibdeps" + + + +# +# Check for target programs. +# + +# Find tools for the target. +if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then + tmp_ac_tool_prefix="$ac_tool_prefix" + ac_tool_prefix=$target_alias- + + if test -n "$ac_tool_prefix"; then + for ac_prog in gcc egcs cc + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_TARGET_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$TARGET_CC"; then + ac_cv_prog_TARGET_CC="$TARGET_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_TARGET_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +TARGET_CC=$ac_cv_prog_TARGET_CC +if test -n "$TARGET_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_CC" >&5 +$as_echo "$TARGET_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$TARGET_CC" && break + done +fi +if test -z "$TARGET_CC"; then + ac_ct_TARGET_CC=$TARGET_CC + for ac_prog in gcc egcs cc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_TARGET_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_TARGET_CC"; then + ac_cv_prog_ac_ct_TARGET_CC="$ac_ct_TARGET_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_TARGET_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_TARGET_CC=$ac_cv_prog_ac_ct_TARGET_CC +if test -n "$ac_ct_TARGET_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_TARGET_CC" >&5 +$as_echo "$ac_ct_TARGET_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_TARGET_CC" && break +done + + if test "x$ac_ct_TARGET_CC" = x; then + TARGET_CC="as_fn_error $? "none of gcc, egcs and cc is found. set TARGET_CC manually." "$LINENO" 5" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + TARGET_CC=$ac_ct_TARGET_CC + fi +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. +set dummy ${ac_tool_prefix}objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +$as_echo "$OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJCOPY"; then + ac_ct_OBJCOPY=$OBJCOPY + # Extract the first word of "objcopy", so it can be a program name with args. +set dummy objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJCOPY"; then + ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJCOPY="objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY +if test -n "$ac_ct_OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +$as_echo "$ac_ct_OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJCOPY" = x; then + OBJCOPY="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJCOPY=$ac_ct_OBJCOPY + fi +else + OBJCOPY="$ac_cv_prog_OBJCOPY" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. +set dummy ${ac_tool_prefix}nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NM="${ac_tool_prefix}nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NM"; then + ac_ct_NM=$NM + # Extract the first word of "nm", so it can be a program name with args. +set dummy nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NM"; then + ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NM="nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NM=$ac_cv_prog_ac_ct_NM +if test -n "$ac_ct_NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NM" = x; then + NM="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NM=$ac_ct_NM + fi +else + NM="$ac_cv_prog_NM" +fi + + + ac_tool_prefix="$tmp_ac_tool_prefix" +else + if test "x$TARGET_CC" = x; then + TARGET_CC=$CC + fi + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args. +set dummy ${ac_tool_prefix}objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCOPY"; then + ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCOPY=$ac_cv_prog_OBJCOPY +if test -n "$OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5 +$as_echo "$OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJCOPY"; then + ac_ct_OBJCOPY=$OBJCOPY + # Extract the first word of "objcopy", so it can be a program name with args. +set dummy objcopy; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJCOPY"; then + ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJCOPY="objcopy" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY +if test -n "$ac_ct_OBJCOPY"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5 +$as_echo "$ac_ct_OBJCOPY" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJCOPY" = x; then + OBJCOPY="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJCOPY=$ac_ct_OBJCOPY + fi +else + OBJCOPY="$ac_cv_prog_OBJCOPY" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. +set dummy ${ac_tool_prefix}nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + ac_cv_prog_NM="$NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NM="${ac_tool_prefix}nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NM=$ac_cv_prog_NM +if test -n "$NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NM"; then + ac_ct_NM=$NM + # Extract the first word of "nm", so it can be a program name with args. +set dummy nm; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NM"; then + ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NM="nm" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NM=$ac_cv_prog_ac_ct_NM +if test -n "$ac_ct_NM"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NM" = x; then + NM="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NM=$ac_ct_NM + fi +else + NM="$ac_cv_prog_NM" +fi + +fi + + + + +# Test the C compiler for the target environment. +tmp_CC="$CC" +tmp_CFLAGS="$CFLAGS" +tmp_LDFLAGS="$LDFLAGS" +tmp_CPPFLAGS="$CPPFLAGS" +tmp_LIBS="$LIBS" +CC="$TARGET_CC" +CFLAGS="$TARGET_CFLAGS" +CPPFLAGS="$TARGET_CPPFLAGS" +LDFLAGS="$TARGET_LDFLAGS" +LIBS="" + +# debug flags. +TARGET_CFLAGS="$TARGET_CFLAGS -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g" +TARGET_CCASFLAGS="$TARGET_CCASFLAGS -g" + +# Force no alignment to save space on i386. +if test "x$target_cpu" = xi386; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -falign-loops works" >&5 +$as_echo_n "checking whether -falign-loops works... " >&6; } +if ${grub_cv_cc_falign_loop+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -falign-loops=1" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_falign_loop=yes +else + grub_cv_cc_falign_loop=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_falign_loop" >&5 +$as_echo "$grub_cv_cc_falign_loop" >&6; } + + if test "x$grub_cv_cc_falign_loop" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1" + else + TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1" + fi + + # Some toolchains enable these features by default, but they need + # registers that aren't set up properly in GRUB. + TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow" +fi + +# By default, GCC 4.4 generates .eh_frame sections containing unwind +# information in some cases where it previously did not. GRUB doesn't need +# these and they just use up vital space. Restore the old compiler +# behaviour. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fno-dwarf2-cfi-asm works" >&5 +$as_echo_n "checking whether -fno-dwarf2-cfi-asm works... " >&6; } +if ${grub_cv_cc_fno_dwarf2_cfi_asm+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fno-dwarf2-cfi-asm" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_fno_dwarf2_cfi_asm=yes +else + grub_cv_cc_fno_dwarf2_cfi_asm=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_fno_dwarf2_cfi_asm" >&5 +$as_echo "$grub_cv_cc_fno_dwarf2_cfi_asm" >&6; } + +if test "x$grub_cv_cc_fno_dwarf2_cfi_asm" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm" +fi + +if test "${target_cpu}-${platform}" = mips-yeeloong; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -march=loongson2f works" >&5 +$as_echo_n "checking whether -march=loongson2f works... " >&6; } +if ${grub_cv_cc_march_loongson2f+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -march=loongson2f" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_march_loongson2f=yes +else + grub_cv_cc_march_loongson2f=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVE_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_march_loongson2f" >&5 +$as_echo "$grub_cv_cc_march_loongson2f" >&6; } + + if test "x$grub_cv_cc_march_loongson2f" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -march=loongson2f" + else + TARGET_CFLAGS="$TARGET_CFLAGS -march=mips3" + fi +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our target compiler is apple cc" >&5 +$as_echo_n "checking whether our target compiler is apple cc... " >&6; } +if ${grub_cv_apple_target_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then + grub_cv_apple_target_cc=yes +else + grub_cv_apple_target_cc=no +fi + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_apple_target_cc" >&5 +$as_echo "$grub_cv_apple_target_cc" >&6; } +if test x$grub_cv_apple_target_cc = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -DAPPLE_CC=1" + TARGET_CFLAGS="$TARGET_CFLAGS -fnested-functions" + + CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" + TARGET_APPLE_CC=1 + # Extract the first word of "objconv", so it can be a program name with args. +set dummy objconv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCONV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCONV"; then + ac_cv_prog_OBJCONV="$OBJCONV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCONV="objconv" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCONV=$ac_cv_prog_OBJCONV +if test -n "$OBJCONV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCONV" >&5 +$as_echo "$OBJCONV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test "x$OBJCONV" = x ; then + # Extract the first word of "objconv", so it can be a program name with args. +set dummy objconv; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJCONV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJCONV"; then + ac_cv_prog_OBJCONV="$OBJCONV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in . +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJCONV="./objconv" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJCONV=$ac_cv_prog_OBJCONV +if test -n "$OBJCONV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCONV" >&5 +$as_echo "$OBJCONV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + if test "x$OBJCONV" = x ; then + as_fn_error $? "objconv not found which is required when building with apple compiler" "$LINENO" 5 + fi + TARGET_IMG_LDSCRIPT= + TARGET_IMG_CFLAGS="-static" + TARGET_IMG_LDFLAGS='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_LDFLAGS_AC='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_BASE_LDOPT="-Wl,-image_base" +else + TARGET_APPLE_CC=0 +# Use linker script if present, otherwise use builtin -N script. +if test -f "${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc"; then + TARGET_IMG_LDSCRIPT='$(top_srcdir)'"/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_LDFLAGS="-Wl,-T${TARGET_IMG_LDSCRIPT}" + TARGET_IMG_LDFLAGS_AC="-Wl,-T${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +else + TARGET_IMG_LDSCRIPT= + TARGET_IMG_LDFLAGS='-Wl,-N' + TARGET_IMG_LDFLAGS_AC='-Wl,-N' + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +fi +TARGET_IMG_CFLAGS= +fi + +# For platforms where ELF is not the default link format. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for command to convert module to ELF format" >&5 +$as_echo_n "checking for command to convert module to ELF format... " >&6; } +case "${host_os}" in + cygwin) TARGET_OBJ2ELF='$(top_builddir)/grub-pe2elf'; +# FIXME: put proper test here + NEED_REGISTER_FRAME_INFO=1 + ;; + *) NEED_REGISTER_FRAME_INFO=0 ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TARGET_OBJ2ELF" >&5 +$as_echo "$TARGET_OBJ2ELF" >&6; } + +if test "x$target_m32" = x1; then + # Force 32-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m32" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m32" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m32" + TARGET_MODULE_FORMAT="elf32" +fi + +if test "x$target_m64" = x1; then + # Force 64-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m64" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m64" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m64" + TARGET_MODULE_FORMAT="elf64" +fi + +if test "$target_cpu"-"$platform" = x86_64-efi; then + # Use large model to support 4G memory + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mcmodel=large works" >&5 +$as_echo_n "checking whether option -mcmodel=large works... " >&6; } +if ${grub_cv_cc_mcmodel+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -m64 -mcmodel=large" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_mcmodel=yes +else + grub_cv_cc_mcmodel=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_mcmodel" >&5 +$as_echo "$grub_cv_cc_mcmodel" >&6; } + if test "x$grub_cv_cc_mcmodel" = xno; then + as_fn_error $? "-mcmodel=large not supported. Upgrade your gcc." "$LINENO" 5 + else + TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" + fi + + # EFI writes to stack below %rsp, we must not use the red zone + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether option -mno-red-zone works" >&5 +$as_echo_n "checking whether option -mno-red-zone works... " >&6; } +if ${grub_cv_cc_no_red_zone+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -m64 -mno-red-zone" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_no_red_zone=yes +else + grub_cv_cc_no_red_zone=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_no_red_zone" >&5 +$as_echo "$grub_cv_cc_no_red_zone" >&6; } + if test "x$grub_cv_cc_no_red_zone" = xno; then + as_fn_error $? "-mno-red-zone not supported, upgrade your gcc" "$LINENO" 5 + fi + + TARGET_CFLAGS="$TARGET_CFLAGS -mno-red-zone" +fi + +# +# Compiler features. +# + +# Need __enable_execute_stack() for nested function trampolines? + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' generates calls to \`__enable_execute_stack()'" >&5 +$as_echo_n "checking whether \`$CC' generates calls to \`__enable_execute_stack()'... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +void f (int (*p) (void)); +void g (int i) +{ + int nestedfunc (void) { return i; } + f (nestedfunc); +} + +_ACEOF +if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.s; then + true +else + as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 +fi +if grep __enable_execute_stack conftest.s >/dev/null 2>&1; then + NEED_ENABLE_EXECUTE_STACK=1 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + NEED_ENABLE_EXECUTE_STACK=0 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f conftest* + + +# Position independent executable. + +# Position independent executable. +pie_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' has \`-fPIE' as default" >&5 +$as_echo_n "checking whether \`$CC' has \`-fPIE' as default... " >&6; } +# Is this a reliable test case? +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef __PIE__ +int main() { + return 0; +} +#else +#error NO __PIE__ DEFINED +#endif + +_ACEOF + +# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + pie_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Need that, because some distributions ship compilers that include +# `-fPIE' in the default specs. +if [ x"$pie_possible" = xyes ]; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE" +fi + +# Smashing stack protector. + +# Smashing stack protector. +ssp_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-fstack-protector'" >&5 +$as_echo_n "checking whether \`$CC' accepts \`-fstack-protector'... " >&6; } +# Is this a reliable test case? +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void foo (void) { volatile char a[8]; a[3]; } +_ACEOF +# `$CC -c -o ...' might not be portable. But, oh, well... Is calling +# `ac_compile' like this correct, after all? +if eval "$ac_compile -S -fstack-protector -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + ssp_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Need that, because some distributions ship compilers that include +# `-fstack-protector' in the default specs. +if test "x$ssp_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-stack-protector" +fi + +# Smashing stack arg probe. +sap_possible=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`$CC' accepts \`-mstack-arg-probe'" >&5 +$as_echo_n "checking whether \`$CC' accepts \`-mstack-arg-probe'... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +void foo (void) { volatile char a[8]; a[3]; } +_ACEOF +if eval "$ac_compile -S -mstack-arg-probe -o conftest.s" 2> /dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + # Should we clear up other files as well, having called `AC_LANG_CONFTEST'? + rm -f conftest.s +else + sap_possible=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + +# Cygwin's GCC uses alloca() to probe the stackframe on static +# stack allocations above some threshold. +if test x"$sap_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe" +fi + +# Check whether --enable-werror was given. +if test "${enable_werror+set}" = set; then : + enableval=$enable_werror; +fi + +if test x"$enable_werror" != xno ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Werror" +fi + +TARGET_CPP="$TARGET_CC -E" +TARGET_CCAS=$TARGET_CC + + + + + + + + + + + + + + + + + + + + + + + +# Set them to their new values for the tests below. +CC="$TARGET_CC" +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100 -Wno-error" +fi +CPPFLAGS="$TARGET_CPPFLAGS" +if test x$target_cpu = xi386 || test x$target_cpu = xx86_64 ; then +LIBS= +else +LIBS=-lgcc +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if C symbols get an underscore after compilation" >&5 +$as_echo_n "checking if C symbols get an underscore after compilation... " >&6; } +if ${grub_cv_asm_uscore+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <<\EOF +int func (int *); +int +func (int *list) +{ + *list = 0; + return *list; +} +EOF + +if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.s; then + true +else + as_fn_error $? "${CC-cc} failed to produce assembly code" "$LINENO" 5 +fi + +if $EGREP '(^|^_[:alnum])_func' conftest.s >/dev/null 2>&1; then + HAVE_ASM_USCORE=1 + grub_cv_asm_uscore=yes +else + HAVE_ASM_USCORE=0 + grub_cv_asm_uscore=no +fi + +rm -f conftest* +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_asm_uscore" >&5 +$as_echo "$grub_cv_asm_uscore" >&6; } + +if test x$grub_cv_asm_uscore = xyes; then +CFLAGS="$CFLAGS -Wl,--defsym,_abort=_main" +else +CFLAGS="$CFLAGS -Wl,--defsym,abort=main" +fi + +# Check for libgcc symbols +for ac_func in __bswapsi2 __bswapdi2 __ashldi3 __ashrdi3 __lshrdi3 __trampoline_setup __ucmpdi2 _restgpr_14_x +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100" +fi +LIBS="" + +# Defined in aclocal.m4. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether target compiler is working" >&5 +$as_echo_n "checking whether target compiler is working... " >&6; } +if ${grub_cv_prog_target_cc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +asm (".globl start; start:"); +int main (void); + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_prog_target_cc=yes +else + grub_cv_prog_target_cc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_target_cc" >&5 +$as_echo "$grub_cv_prog_target_cc" >&6; } + +if test "x$grub_cv_prog_target_cc" = xno; then + as_fn_error $? "cannot compile for the target" "$LINENO" 5 +fi + +if test "x$TARGET_APPLE_CC" != x1 ; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${OBJCOPY} works for absolute addresses" >&5 +$as_echo_n "checking whether ${OBJCOPY} works for absolute addresses... " >&6; } +if ${grub_cv_prog_objcopy_absolute+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.c <<\EOF +void cmain (void); +void +cmain (void) +{ + *((int *) 0x1000) = 2; +} +EOF + +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest.o; then : +else + as_fn_error $? "${CC-cc} cannot compile C source code" "$LINENO" 5 +fi +grub_cv_prog_objcopy_absolute=yes +for link_addr in 0x2000 0x8000 0x7C00; do + if { ac_try='${CC-cc} ${CFLAGS} -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},$link_addr conftest.o -o conftest.exec' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + else + as_fn_error $? "${CC-cc} cannot link at address $link_addr" "$LINENO" 5 + fi + if { ac_try='${OBJCOPY-objcopy} --only-section=.text -O binary conftest.exec conftest' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + else + as_fn_error $? "${OBJCOPY-objcopy} cannot create binary files" "$LINENO" 5 + fi + if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + mv -f conftest conftest.old + else + grub_cv_prog_objcopy_absolute=no + break + fi +done +rm -f conftest* +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_objcopy_absolute" >&5 +$as_echo "$grub_cv_prog_objcopy_absolute" >&6; } + +if test "x$grub_cv_prog_objcopy_absolute" = xno; then + as_fn_error $? "GRUB requires a working absolute objcopy; upgrade your binutils" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker accepts --build-id=none" >&5 +$as_echo_n "checking whether linker accepts --build-id=none... " >&6; } +if ${grub_cv_prog_ld_build_id_none+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS -Wl,--build-id=none" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_prog_ld_build_id_none=yes +else + grub_cv_prog_ld_build_id_none=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LDFLAGS="$save_LDFLAGS" + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_prog_ld_build_id_none" >&5 +$as_echo "$grub_cv_prog_ld_build_id_none" >&6; } + +if test "x$grub_cv_prog_ld_build_id_none" = xyes; then + TARGET_LDFLAGS="$TARGET_LDFLAGS -Wl,--build-id=none" +fi + +if test "x$target_cpu" = xi386; then + if test "$platform" != emu && test "x$TARGET_APPLE_CC" != x1 ; then + if test ! -z "$TARGET_IMG_LDSCRIPT"; then + # Check symbols provided by linker script. + CFLAGS="$TARGET_CFLAGS -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},8000 -Wl,--defsym,___main=0x8100" + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if __bss_start is defined by the compiler" >&5 +$as_echo_n "checking if __bss_start is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_uscore_bss_start_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl __bss_start") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_uscore_bss_start_symbol=yes +else + grub_cv_check_uscore_uscore_bss_start_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5 +$as_echo "$grub_cv_check_uscore_uscore_bss_start_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if edata is defined by the compiler" >&5 +$as_echo_n "checking if edata is defined by the compiler... " >&6; } +if ${grub_cv_check_edata_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl edata") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_edata_symbol=yes +else + grub_cv_check_edata_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_edata_symbol" >&5 +$as_echo "$grub_cv_check_edata_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _edata is defined by the compiler" >&5 +$as_echo_n "checking if _edata is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_edata_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl _edata") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_edata_symbol=yes +else + grub_cv_check_uscore_edata_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_edata_symbol" >&5 +$as_echo "$grub_cv_check_uscore_edata_symbol" >&6; } + +if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then + BSS_START_SYMBOL=__bss_start +elif test "x$grub_cv_check_edata_symbol" = xyes; then + BSS_START_SYMBOL=edata +elif test "x$grub_cv_check_uscore_edata_symbol" = xyes; then + BSS_START_SYMBOL=_edata +else + as_fn_error $? "none of __bss_start, edata or _edata is defined" "$LINENO" 5 +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if end is defined by the compiler" >&5 +$as_echo_n "checking if end is defined by the compiler... " >&6; } +if ${grub_cv_check_end_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl end") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_end_symbol=yes +else + grub_cv_check_end_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_end_symbol" >&5 +$as_echo "$grub_cv_check_end_symbol" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _end is defined by the compiler" >&5 +$as_echo_n "checking if _end is defined by the compiler... " >&6; } +if ${grub_cv_check_uscore_end_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ +asm ("incl _end") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + grub_cv_check_uscore_end_symbol=yes +else + grub_cv_check_uscore_end_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_check_uscore_end_symbol" >&5 +$as_echo "$grub_cv_check_uscore_end_symbol" >&6; } + +if test "x$grub_cv_check_end_symbol" = xyes; then + END_SYMBOL=end +elif test "x$grub_cv_check_uscore_end_symbol" = xyes; then + END_SYMBOL=_end +else + as_fn_error $? "neither end nor _end is defined" "$LINENO" 5 +fi + + fi + CFLAGS="$TARGET_CFLAGS" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether addr32 must be in the same line as the instruction" >&5 +$as_echo_n "checking whether addr32 must be in the same line as the instruction... " >&6; } +if ${grub_cv_i386_asm_prefix_requirement+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.s <<\EOF + .code16 +l1: addr32 movb %al, l1 +EOF + +if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.o; then + grub_cv_i386_asm_prefix_requirement=yes +else + grub_cv_i386_asm_prefix_requirement=no +fi + +rm -f conftest* +fi + + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + grub_tmp_addr32="addr32" + grub_tmp_data32="data32" +else + grub_tmp_addr32="addr32;" + grub_tmp_data32="data32;" +fi + +ADDR32=$grub_tmp_addr32 +DATA32=$grub_tmp_data32 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_i386_asm_prefix_requirement" >&5 +$as_echo "$grub_cv_i386_asm_prefix_requirement" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for .code16 addr32 assembler support" >&5 +$as_echo_n "checking for .code16 addr32 assembler support... " >&6; } +if ${grub_cv_i386_asm_addr32+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat > conftest.s.in <<\EOF + .code16 +l1: @ADDR32@ movb %al, l1 +EOF + +if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then + sed -e s/@ADDR32@/addr32/ < conftest.s.in > conftest.s +else + sed -e s/@ADDR32@/addr32\;/ < conftest.s.in > conftest.s +fi + +if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } && test -s conftest.o; then + grub_cv_i386_asm_addr32=yes +else + grub_cv_i386_asm_addr32=no +fi + +rm -f conftest* +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_i386_asm_addr32" >&5 +$as_echo "$grub_cv_i386_asm_addr32" >&6; } +fi + +# Check whether --enable-efiemu was given. +if test "${enable_efiemu+set}" = set; then : + enableval=$enable_efiemu; +fi + +if test x"$enable_efiemu" = xno ; then + efiemu_excuse="explicitly disabled" +fi +if test x"$target_cpu" != xi386 ; then + efiemu_excuse="only available on i386" +fi +if test x"$platform" = xefi ; then + efiemu_excuse="not available on efi" +fi +if test x"$efiemu_excuse" = x ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether options required for efiemu work" >&5 +$as_echo_n "checking whether options required for efiemu work... " >&6; } +if ${grub_cv_cc_efiemu+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_efiemu=yes +else + grub_cv_cc_efiemu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_efiemu" >&5 +$as_echo "$grub_cv_cc_efiemu" >&6; } + if test x$grub_cv_cc_efiemu = xno; then + efiemu_excuse="cannot compile with -m64 -mcmodel=large -mno-red-zone -nostdlib" + fi +fi +if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then + as_fn_error $? "efiemu runtime was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$efiemu_excuse" = x ; then +enable_efiemu=yes +else +enable_efiemu=no +fi + + +if test "$platform" != emu; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -nostdinc -isystem works" >&5 +$as_echo_n "checking whether -nostdinc -isystem works... " >&6; } +if ${grub_cv_cc_isystem+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int va_arg_func (int fixed, va_list args); +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_isystem=yes +else + grub_cv_cc_isystem=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$SAVED_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_isystem" >&5 +$as_echo "$grub_cv_cc_isystem" >&6; } + +if test x"$grub_cv_cc_isystem" = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" +fi +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-trampolines work" >&5 +$as_echo_n "checking whether -Wno-trampolines work... " >&6; } +if ${grub_cv_cc_wnotrampolines+:} false; then : + $as_echo_n "(cached) " >&6 +else + + SAVED_CFLAGS="$CFLAGS" + # Test for -Wtrampolines rather than -Wno-trampolines to reduce confusion + # in the event of later failures (since -Wno-* is always accepted, but + # produces a diagnostic if something else is wrong). + CFLAGS="$TARGET_CFLAGS -Wtrampolines" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int va_arg_func (int fixed, va_list args); +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + grub_cv_cc_wnotrampolines=yes +else + grub_cv_cc_wnotrampolines=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$SAVED_CFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $grub_cv_cc_wnotrampolines" >&5 +$as_echo "$grub_cv_cc_wnotrampolines" >&6; } + +if test x"$grub_cv_cc_wnotrampolines" = xyes ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Wno-trampolines" +fi + +# Restore the flags. +CC="$tmp_CC" +CFLAGS="$tmp_CFLAGS" +CPPFLAGS="$tmp_CPPFLAGS" +LDFLAGS="$tmp_LDFLAGS" +LIBS="$tmp_LIBS" + +# +# Check for options. +# + +# Memory manager debugging. +# Check whether --enable-mm-debug was given. +if test "${enable_mm_debug+set}" = set; then : + enableval=$enable_mm_debug; +$as_echo "#define MM_DEBUG 1" >>confdefs.h + +fi + + +# Check whether --enable-grub-emu-usb was given. +if test "${enable_grub_emu_usb+set}" = set; then : + enableval=$enable_grub_emu_usb; +fi + + +# Check whether --enable-grub-emu-sdl was given. +if test "${enable_grub_emu_sdl+set}" = set; then : + enableval=$enable_grub_emu_sdl; +fi + + +# Check whether --enable-grub-emu-pci was given. +if test "${enable_grub_emu_pci+set}" = set; then : + enableval=$enable_grub_emu_pci; +fi + + +if test "$platform" = emu; then + missing_ncurses= +# Check for curses libraries. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5 +$as_echo_n "checking for wgetch in -lncurses... " >&6; } +if ${ac_cv_lib_ncurses_wgetch+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char wgetch (); +int +main (void) +{ +return wgetch (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncurses_wgetch=yes +else + ac_cv_lib_ncurses_wgetch=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5 +$as_echo "$ac_cv_lib_ncurses_wgetch" >&6; } +if test "x$ac_cv_lib_ncurses_wgetch" = xyes; then : + LIBCURSES="-lncurses" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lcurses" >&5 +$as_echo_n "checking for wgetch in -lcurses... " >&6; } +if ${ac_cv_lib_curses_wgetch+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char wgetch (); +int +main (void) +{ +return wgetch (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_curses_wgetch=yes +else + ac_cv_lib_curses_wgetch=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_wgetch" >&5 +$as_echo "$ac_cv_lib_curses_wgetch" >&6; } +if test "x$ac_cv_lib_curses_wgetch" = xyes; then : + LIBCURSES="-lcurses" +else + missing_ncurses=true +fi + +fi + + +if [ x"$missing_ncurses" = x ]; then + # Check for headers. + for ac_header in ncurses/curses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_curses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSES_CURSES_H 1 +_ACEOF + +else + for ac_header in ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSES_H 1 +_ACEOF + +else + for ac_header in curses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" +if test "x$ac_cv_header_curses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CURSES_H 1 +_ACEOF + +else + missing_ncurses=true +fi + +done + +fi + +done + +fi + +done + +fi +if test x"$missing_ncurses" = xtrue ; then + as_fn_error $? "grub-emu can't be compiled without ncurses" "$LINENO" 5 +fi + +if test x"$enable_grub_emu_usb" != xyes ; then + grub_emu_usb_excuse="not enabled" +fi + +if test x"$enable_grub_emu_pci" = xyes ; then + grub_emu_usb_excuse="conflicts with PCI support" +fi + +if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for libusb libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_claim_interface in -lusb" >&5 +$as_echo_n "checking for usb_claim_interface in -lusb... " >&6; } +if ${ac_cv_lib_usb_usb_claim_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lusb $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char usb_claim_interface (); +int +main (void) +{ +return usb_claim_interface (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_usb_usb_claim_interface=yes +else + ac_cv_lib_usb_usb_claim_interface=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_claim_interface" >&5 +$as_echo "$ac_cv_lib_usb_usb_claim_interface" >&6; } +if test "x$ac_cv_lib_usb_usb_claim_interface" = xyes; then : + LIBUSB="-lusb" +else + grub_emu_usb_excuse="need libusb library" +fi + + +fi +if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for headers. + for ac_header in usb.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default" +if test "x$ac_cv_header_usb_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_USB_H 1 +_ACEOF + +else + grub_emu_usb_excuse="need libusb headers" +fi + +done + +fi +if test x"$enable_grub_emu_usb" = xyes && test x"$grub_emu_usb_excuse" != x ; then + as_fn_error $? "USB support for grub-emu was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_emu_usb_excuse" = x ; then +enable_grub_emu_usb=yes +else +enable_grub_emu_usb=no +fi + +if test x"$enable_grub_emu_sdl" = xno ; then + grub_emu_sdl_excuse="explicitely disabled" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for libSDL libraries. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_Init in -lSDL" >&5 +$as_echo_n "checking for SDL_Init in -lSDL... " >&6; } +if ${ac_cv_lib_SDL_SDL_Init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lSDL $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char SDL_Init (); +int +main (void) +{ +return SDL_Init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_SDL_SDL_Init=yes +else + ac_cv_lib_SDL_SDL_Init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_SDL_Init" >&5 +$as_echo "$ac_cv_lib_SDL_SDL_Init" >&6; } +if test "x$ac_cv_lib_SDL_SDL_Init" = xyes; then : + LIBSDL="-lSDL" +else + grub_emu_sdl_excuse="libSDL libraries are required to build \`grub-emu' with SDL support" +fi + + +fi + +if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for headers. + for ac_header in SDL/SDL.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "SDL/SDL.h" "ac_cv_header_SDL_SDL_h" "$ac_includes_default" +if test "x$ac_cv_header_SDL_SDL_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SDL_SDL_H 1 +_ACEOF + +else + grub_emu_sdl_excuse="libSDL header file is required to build \`grub-emu' with SDL support" +fi + +done + +fi + +if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; then + as_fn_error $? "SDL support for grub-emu was explicitely requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_emu_sdl_excuse" = x ; then +enable_grub_emu_sdl=yes +else +enable_grub_emu_sdl=no +fi + +if test x"$enable_grub_emu_pci" != xyes ; then + grub_emu_pci_excuse="not enabled" +fi + +if test x"$enable_grub_emu_usb" = xyes ; then + grub_emu_pci_excuse="conflicts with USB support" +fi + +if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for libpci libraries. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pci_system_init in -lpciaccess" >&5 +$as_echo_n "checking for pci_system_init in -lpciaccess... " >&6; } +if ${ac_cv_lib_pciaccess_pci_system_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lpciaccess $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char pci_system_init (); +int +main (void) +{ +return pci_system_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_pciaccess_pci_system_init=yes +else + ac_cv_lib_pciaccess_pci_system_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pciaccess_pci_system_init" >&5 +$as_echo "$ac_cv_lib_pciaccess_pci_system_init" >&6; } +if test "x$ac_cv_lib_pciaccess_pci_system_init" = xyes; then : + LIBPCIACCESS="-lpciaccess" +else + grub_emu_pci_excuse="need libpciaccess library" +fi + + +fi +if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for headers. + for ac_header in pci/pci.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "pci/pci.h" "ac_cv_header_pci_pci_h" "$ac_includes_default" +if test "x$ac_cv_header_pci_pci_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_PCI_PCI_H 1 +_ACEOF + +else + grub_emu_pci_excuse="need libpciaccess headers" +fi + +done + +fi + +if test x"$grub_emu_pci_excuse" = x ; then +enable_grub_emu_pci=yes +else + +enable_grub_emu_pci=no +fi + + + + +fi + +# Check whether --enable-grub-mkfont was given. +if test "${enable_grub_mkfont+set}" = set; then : + enableval=$enable_grub_mkfont; +fi + +if test x"$enable_grub_mkfont" = xno ; then + grub_mkfont_excuse="explicitly disabled" +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + for ac_prog in freetype-config +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_FREETYPE+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$FREETYPE"; then + ac_cv_prog_FREETYPE="$FREETYPE" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_FREETYPE="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +FREETYPE=$ac_cv_prog_FREETYPE +if test -n "$FREETYPE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE" >&5 +$as_echo "$FREETYPE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$FREETYPE" && break +done + + if test "x$FREETYPE" = x ; then + grub_mkfont_excuse="need freetype2 library" + fi +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + freetype_cflags=`freetype-config --cflags` + freetype_libs=`freetype-config --libs` + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $freetype_cflags" + for ac_header in ft2build.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default" +if test "x$ac_cv_header_ft2build_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FT2BUILD_H 1 +_ACEOF + +else + grub_mkfont_excuse="need freetype2 headers" +fi + +done + + CPPFLAGS="$SAVED_CPPFLAGS" +fi + +if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then + as_fn_error $? "grub-mkfont was explicitly requested but can't be compiled" "$LINENO" 5 +fi +if test x"$grub_mkfont_excuse" = x ; then +enable_grub_mkfont=yes +else +enable_grub_mkfont=no +fi + + + + +# Check whether --enable-device-mapper was given. +if test "${enable_device_mapper+set}" = set; then : + enableval=$enable_device_mapper; +fi + +if test x"$enable_device_mapper" = xno ; then + device_mapper_excuse="explicitly disabled" +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper header. + ac_fn_c_check_header_mongrel "$LINENO" "libdevmapper.h" "ac_cv_header_libdevmapper_h" "$ac_includes_default" +if test "x$ac_cv_header_libdevmapper_h" = xyes; then : + +else + device_mapper_excuse="need libdevmapper header" +fi + + +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_task_create in -ldevmapper" >&5 +$as_echo_n "checking for dm_task_create in -ldevmapper... " >&6; } +if ${ac_cv_lib_devmapper_dm_task_create+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldevmapper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dm_task_create (); +int +main (void) +{ +return dm_task_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_devmapper_dm_task_create=yes +else + ac_cv_lib_devmapper_dm_task_create=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_task_create" >&5 +$as_echo "$ac_cv_lib_devmapper_dm_task_create" >&6; } +if test "x$ac_cv_lib_devmapper_dm_task_create" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBDEVMAPPER 1 +_ACEOF + + LIBS="-ldevmapper $LIBS" + +else + device_mapper_excuse="need devmapper library" +fi + +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_log_with_errno_init in -ldevmapper" >&5 +$as_echo_n "checking for dm_log_with_errno_init in -ldevmapper... " >&6; } +if ${ac_cv_lib_devmapper_dm_log_with_errno_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldevmapper $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dm_log_with_errno_init (); +int +main (void) +{ +return dm_log_with_errno_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_devmapper_dm_log_with_errno_init=yes +else + ac_cv_lib_devmapper_dm_log_with_errno_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devmapper_dm_log_with_errno_init" >&5 +$as_echo "$ac_cv_lib_devmapper_dm_log_with_errno_init" >&6; } +if test "x$ac_cv_lib_devmapper_dm_log_with_errno_init" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBDEVMAPPER 1 +_ACEOF + + LIBS="-ldevmapper $LIBS" + +else + device_mapper_excuse="need devmapper library" +fi + +fi + +if test x"$device_mapper_excuse" = x ; then + LIBDEVMAPPER="-ldevmapper"; + +$as_echo "#define HAVE_DEVICE_MAPPER 1" >>confdefs.h + +fi + + + +LIBGEOM= +if test x$host_kernel = xkfreebsd; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geom_gettree in -lgeom" >&5 +$as_echo_n "checking for geom_gettree in -lgeom... " >&6; } +if ${ac_cv_lib_geom_geom_gettree+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lgeom $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char geom_gettree (); +int +main (void) +{ +return geom_gettree (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_geom_geom_gettree=yes +else + ac_cv_lib_geom_geom_gettree=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_geom_geom_gettree" >&5 +$as_echo "$ac_cv_lib_geom_geom_gettree" >&6; } +if test "x$ac_cv_lib_geom_geom_gettree" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGEOM 1 +_ACEOF + + LIBS="-lgeom $LIBS" + +else + as_fn_error $? "Your platform requires libgeom" "$LINENO" 5 +fi + + LIBGEOM="-lgeom" +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 +$as_echo_n "checking for lzma_code in -llzma... " >&6; } +if ${ac_cv_lib_lzma_lzma_code+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-llzma $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char lzma_code (); +int +main (void) +{ +return lzma_code (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_lzma_lzma_code=yes +else + ac_cv_lib_lzma_lzma_code=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 +$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } +if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : + LIBLZMA="-llzma" + +$as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzfs_init in -lzfs" >&5 +$as_echo_n "checking for libzfs_init in -lzfs... " >&6; } +if ${ac_cv_lib_zfs_libzfs_init+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lzfs $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char libzfs_init (); +int +main (void) +{ +return libzfs_init (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_zfs_libzfs_init=yes +else + ac_cv_lib_zfs_libzfs_init=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zfs_libzfs_init" >&5 +$as_echo "$ac_cv_lib_zfs_libzfs_init" >&6; } +if test "x$ac_cv_lib_zfs_libzfs_init" = xyes; then : + LIBZFS="-lzfs" + +$as_echo "#define HAVE_LIBZFS 1" >>confdefs.h + +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nvlist_print in -lnvpair" >&5 +$as_echo_n "checking for nvlist_print in -lnvpair... " >&6; } +if ${ac_cv_lib_nvpair_nvlist_print+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lnvpair $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char nvlist_print (); +int +main (void) +{ +return nvlist_print (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_nvpair_nvlist_print=yes +else + ac_cv_lib_nvpair_nvlist_print=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nvpair_nvlist_print" >&5 +$as_echo "$ac_cv_lib_nvpair_nvlist_print" >&6; } +if test "x$ac_cv_lib_nvpair_nvlist_print" = xyes; then : + LIBNVPAIR="-lnvpair" + +$as_echo "#define HAVE_LIBNVPAIR 1" >>confdefs.h + +fi + + + +LIBS="" + +pkglibrootdir='$(libdir)'/`echo $PACKAGE | sed "$program_transform_name"` + + + +if test x$target_cpu = xi386 -a x$platform = xqemu; then : + GRUB_BOOT_MACHINE_LINK_ADDR=0xffe00 + +fi +if test x$TARGET_APPLE_CC = x1; then : + USE_APPLE_CC_FIXES=yes + +fi + + + + + + + + + + + +# +# Automake conditionals +# + + if test x$platform = xemu; then + COND_emu_TRUE= + COND_emu_FALSE='#' +else + COND_emu_TRUE='#' + COND_emu_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xpc; then + COND_i386_pc_TRUE= + COND_i386_pc_FALSE='#' +else + COND_i386_pc_TRUE='#' + COND_i386_pc_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xefi; then + COND_i386_efi_TRUE= + COND_i386_efi_FALSE='#' +else + COND_i386_efi_TRUE='#' + COND_i386_efi_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xqemu; then + COND_i386_qemu_TRUE= + COND_i386_qemu_FALSE='#' +else + COND_i386_qemu_TRUE='#' + COND_i386_qemu_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xieee1275; then + COND_i386_ieee1275_TRUE= + COND_i386_ieee1275_FALSE='#' +else + COND_i386_ieee1275_TRUE='#' + COND_i386_ieee1275_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xcoreboot; then + COND_i386_coreboot_TRUE= + COND_i386_coreboot_FALSE='#' +else + COND_i386_coreboot_TRUE='#' + COND_i386_coreboot_FALSE= +fi + + if test x$target_cpu = xi386 -a x$platform = xmultiboot; then + COND_i386_multiboot_TRUE= + COND_i386_multiboot_FALSE='#' +else + COND_i386_multiboot_TRUE='#' + COND_i386_multiboot_FALSE= +fi + + if test x$target_cpu = xx86_64 -a x$platform = xefi; then + COND_x86_64_efi_TRUE= + COND_x86_64_efi_FALSE='#' +else + COND_x86_64_efi_TRUE='#' + COND_x86_64_efi_FALSE= +fi + + if test x$target_cpu = xmips -a x$platform = xyeeloong; then + COND_mips_yeeloong_TRUE= + COND_mips_yeeloong_FALSE='#' +else + COND_mips_yeeloong_TRUE='#' + COND_mips_yeeloong_FALSE= +fi + + if test x$target_cpu = xmips -a x$platform = xqemu_mips; then + COND_mips_qemu_mips_TRUE= + COND_mips_qemu_mips_FALSE='#' +else + COND_mips_qemu_mips_TRUE='#' + COND_mips_qemu_mips_FALSE= +fi + + if test x$target_cpu = xsparc64 -a x$platform = xieee1275; then + COND_sparc64_ieee1275_TRUE= + COND_sparc64_ieee1275_FALSE='#' +else + COND_sparc64_ieee1275_TRUE='#' + COND_sparc64_ieee1275_FALSE= +fi + + if test x$target_cpu = xpowerpc -a x$platform = xieee1275; then + COND_powerpc_ieee1275_TRUE= + COND_powerpc_ieee1275_FALSE='#' +else + COND_powerpc_ieee1275_TRUE='#' + COND_powerpc_ieee1275_FALSE= +fi + + if test x$target_cpu = xmips; then + COND_mips_TRUE= + COND_mips_FALSE='#' +else + COND_mips_TRUE='#' + COND_mips_FALSE= +fi + + + if test x$host_kernel = xhurd; then + COND_HOST_HURD_TRUE= + COND_HOST_HURD_FALSE='#' +else + COND_HOST_HURD_TRUE='#' + COND_HOST_HURD_FALSE= +fi + + if test x$host_kernel = xlinux; then + COND_HOST_LINUX_TRUE= + COND_HOST_LINUX_FALSE='#' +else + COND_HOST_LINUX_TRUE='#' + COND_HOST_LINUX_FALSE= +fi + + if test x$host_kernel = xnetbsd; then + COND_HOST_NETBSD_TRUE= + COND_HOST_NETBSD_FALSE='#' +else + COND_HOST_NETBSD_TRUE='#' + COND_HOST_NETBSD_FALSE= +fi + + if test x$host_kernel = xwindows; then + COND_HOST_WINDOWS_TRUE= + COND_HOST_WINDOWS_FALSE='#' +else + COND_HOST_WINDOWS_TRUE='#' + COND_HOST_WINDOWS_FALSE= +fi + + if test x$host_kernel = xkfreebsd; then + COND_HOST_KFREEBSD_TRUE= + COND_HOST_KFREEBSD_FALSE='#' +else + COND_HOST_KFREEBSD_TRUE='#' + COND_HOST_KFREEBSD_FALSE= +fi + + + if test x$cross_compiling = xno -a x$HELP2MAN != x; then + COND_MAN_PAGES_TRUE= + COND_MAN_PAGES_FALSE='#' +else + COND_MAN_PAGES_TRUE='#' + COND_MAN_PAGES_FALSE= +fi + + if test x$enable_grub_emu_usb = xyes; then + COND_GRUB_EMU_USB_TRUE= + COND_GRUB_EMU_USB_FALSE='#' +else + COND_GRUB_EMU_USB_TRUE='#' + COND_GRUB_EMU_USB_FALSE= +fi + + if test x$enable_grub_emu_sdl = xyes; then + COND_GRUB_EMU_SDL_TRUE= + COND_GRUB_EMU_SDL_FALSE='#' +else + COND_GRUB_EMU_SDL_TRUE='#' + COND_GRUB_EMU_SDL_FALSE= +fi + + if test x$enable_grub_emu_pci = xyes; then + COND_GRUB_EMU_PCI_TRUE= + COND_GRUB_EMU_PCI_FALSE='#' +else + COND_GRUB_EMU_PCI_TRUE='#' + COND_GRUB_EMU_PCI_FALSE= +fi + + if test x$enable_grub_mkfont = xyes; then + COND_GRUB_MKFONT_TRUE= + COND_GRUB_MKFONT_FALSE='#' +else + COND_GRUB_MKFONT_TRUE='#' + COND_GRUB_MKFONT_FALSE= +fi + + if test x$FONT_SOURCE != x; then + COND_HAVE_FONT_SOURCE_TRUE= + COND_HAVE_FONT_SOURCE_FALSE='#' +else + COND_HAVE_FONT_SOURCE_TRUE='#' + COND_HAVE_FONT_SOURCE_FALSE= +fi + + if test x$TARGET_OBJ2ELF != x; then + COND_GRUB_PE2ELF_TRUE= + COND_GRUB_PE2ELF_FALSE='#' +else + COND_GRUB_PE2ELF_TRUE='#' + COND_GRUB_PE2ELF_FALSE= +fi + + if test x$TARGET_APPLE_CC = x1; then + COND_APPLE_CC_TRUE= + COND_APPLE_CC_FALSE='#' +else + COND_APPLE_CC_TRUE='#' + COND_APPLE_CC_FALSE= +fi + + if test x$enable_efiemu = xyes; then + COND_ENABLE_EFIEMU_TRUE= + COND_ENABLE_EFIEMU_FALSE='#' +else + COND_ENABLE_EFIEMU_TRUE='#' + COND_ENABLE_EFIEMU_FALSE= +fi + + + if test x$HAVE_ASM_USCORE = x1; then + COND_HAVE_ASM_USCORE_TRUE= + COND_HAVE_ASM_USCORE_FALSE='#' +else + COND_HAVE_ASM_USCORE_TRUE='#' + COND_HAVE_ASM_USCORE_FALSE= +fi + + if test x$host_os = xcygwin; then + COND_CYGWIN_TRUE= + COND_CYGWIN_FALSE='#' +else + COND_CYGWIN_TRUE='#' + COND_CYGWIN_FALSE= +fi + + +# Output files. + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln can handle directories properly" >&5 +$as_echo_n "checking whether ln can handle directories properly... " >&6; } +mkdir testdir 2>/dev/null +case $srcdir in +[\\/$]* | ?:[\\/]* ) reldir=$srcdir/include/grub/util ;; + *) reldir=../$srcdir/include/grub/util ;; +esac +if ln -s $reldir testdir/util 2>/dev/null ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + link_dir=yes +else + link_dir=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -rf testdir + +if test x"$link_dir" = xyes ; then + ac_config_links="$ac_config_links include/grub/cpu:include/grub/$target_cpu" + + if test "$platform" != emu ; then + ac_config_links="$ac_config_links include/grub/machine:include/grub/$target_cpu/$platform" + + fi +else + mkdir -p include/grub 2>/dev/null + rm -rf include/grub/cpu + cp -rp $srcdir/include/grub/$target_cpu include/grub/cpu 2>/dev/null + if test "$platform" != emu ; then + rm -rf include/grub/machine + cp -rp $srcdir/include/grub/$target_cpu/$platform include/grub/machine 2>/dev/null + fi +fi + +ac_config_files="$ac_config_files Makefile" + +ac_config_files="$ac_config_files grub-core/Makefile" + +ac_config_files="$ac_config_files grub-core/gnulib/Makefile" + +ac_config_files="$ac_config_files po/Makefile.in" + +ac_config_files="$ac_config_files docs/Makefile" + +ac_config_files="$ac_config_files util/bash-completion.d/Makefile" + +ac_config_files="$ac_config_files stamp-h" + +ac_config_files="$ac_config_files config.h" + + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + gl_libobjs= + gl_ltlibobjs= + if test -n "$gl_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gl_libobjs="$gl_libobjs $i.$ac_objext" + gl_ltlibobjs="$gl_ltlibobjs $i.lo" + done + fi + gl_LIBOBJS=$gl_libobjs + + gl_LTLIBOBJS=$gl_ltlibobjs + + + + gltests_libobjs= + gltests_ltlibobjs= + if test -n "$gltests_LIBOBJS"; then + # Remove the extension. + sed_drop_objext='s/\.o$//;s/\.obj$//' + for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do + gltests_libobjs="$gltests_libobjs $i.$ac_objext" + gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" + done + fi + gltests_LIBOBJS=$gltests_libobjs + + gltests_LTLIBOBJS=$gltests_ltlibobjs + + +if test -z "${COND_emu_TRUE}" && test -z "${COND_emu_FALSE}"; then + as_fn_error $? "conditional \"COND_emu\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_pc_TRUE}" && test -z "${COND_i386_pc_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_pc\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_efi_TRUE}" && test -z "${COND_i386_efi_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_efi\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_qemu_TRUE}" && test -z "${COND_i386_qemu_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_qemu\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_ieee1275_TRUE}" && test -z "${COND_i386_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_coreboot_TRUE}" && test -z "${COND_i386_coreboot_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_coreboot\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_i386_multiboot_TRUE}" && test -z "${COND_i386_multiboot_FALSE}"; then + as_fn_error $? "conditional \"COND_i386_multiboot\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_x86_64_efi_TRUE}" && test -z "${COND_x86_64_efi_FALSE}"; then + as_fn_error $? "conditional \"COND_x86_64_efi\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_yeeloong_TRUE}" && test -z "${COND_mips_yeeloong_FALSE}"; then + as_fn_error $? "conditional \"COND_mips_yeeloong\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_qemu_mips_TRUE}" && test -z "${COND_mips_qemu_mips_FALSE}"; then + as_fn_error $? "conditional \"COND_mips_qemu_mips\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_sparc64_ieee1275_TRUE}" && test -z "${COND_sparc64_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_sparc64_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_powerpc_ieee1275_TRUE}" && test -z "${COND_powerpc_ieee1275_FALSE}"; then + as_fn_error $? "conditional \"COND_powerpc_ieee1275\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_mips_TRUE}" && test -z "${COND_mips_FALSE}"; then + as_fn_error $? "conditional \"COND_mips\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_HURD_TRUE}" && test -z "${COND_HOST_HURD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_HURD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_LINUX_TRUE}" && test -z "${COND_HOST_LINUX_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_LINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_NETBSD_TRUE}" && test -z "${COND_HOST_NETBSD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_NETBSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_WINDOWS_TRUE}" && test -z "${COND_HOST_WINDOWS_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_WINDOWS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HOST_KFREEBSD_TRUE}" && test -z "${COND_HOST_KFREEBSD_FALSE}"; then + as_fn_error $? "conditional \"COND_HOST_KFREEBSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_MAN_PAGES_TRUE}" && test -z "${COND_MAN_PAGES_FALSE}"; then + as_fn_error $? "conditional \"COND_MAN_PAGES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_USB_TRUE}" && test -z "${COND_GRUB_EMU_USB_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_USB\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_SDL_TRUE}" && test -z "${COND_GRUB_EMU_SDL_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_SDL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_EMU_PCI_TRUE}" && test -z "${COND_GRUB_EMU_PCI_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_EMU_PCI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_MKFONT_TRUE}" && test -z "${COND_GRUB_MKFONT_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_MKFONT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HAVE_FONT_SOURCE_TRUE}" && test -z "${COND_HAVE_FONT_SOURCE_FALSE}"; then + as_fn_error $? "conditional \"COND_HAVE_FONT_SOURCE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_GRUB_PE2ELF_TRUE}" && test -z "${COND_GRUB_PE2ELF_FALSE}"; then + as_fn_error $? "conditional \"COND_GRUB_PE2ELF\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_APPLE_CC_TRUE}" && test -z "${COND_APPLE_CC_FALSE}"; then + as_fn_error $? "conditional \"COND_APPLE_CC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_ENABLE_EFIEMU_TRUE}" && test -z "${COND_ENABLE_EFIEMU_FALSE}"; then + as_fn_error $? "conditional \"COND_ENABLE_EFIEMU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_HAVE_ASM_USCORE_TRUE}" && test -z "${COND_HAVE_ASM_USCORE_FALSE}"; then + as_fn_error $? "conditional \"COND_HAVE_ASM_USCORE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${COND_CYGWIN_TRUE}" && test -z "${COND_CYGWIN_FALSE}"; then + as_fn_error $? "conditional \"COND_CYGWIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by GRUB $as_me 1.99, which was +generated by GNU Autoconf 2.68. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_links="$ac_config_links" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration links: +$config_links + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +GRUB config.status 1.99 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake < 1.5. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config-util.h") CONFIG_HEADERS="$CONFIG_HEADERS config-util.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; + "include/grub/cpu") CONFIG_LINKS="$CONFIG_LINKS include/grub/cpu:include/grub/$target_cpu" ;; + "include/grub/machine") CONFIG_LINKS="$CONFIG_LINKS include/grub/machine:include/grub/$target_cpu/$platform" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "grub-core/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/Makefile" ;; + "grub-core/gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES grub-core/gnulib/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "util/bash-completion.d/Makefile") CONFIG_FILES="$CONFIG_FILES util/bash-completion.d/Makefile" ;; + "stamp-h") CONFIG_FILES="$CONFIG_FILES stamp-h" ;; + "config.h") CONFIG_FILES="$CONFIG_FILES config.h" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + :L) + # + # CONFIG_LINK + # + + if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then + : + else + # Prefer the file from the source tree if names are identical. + if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then + ac_source=$srcdir/$ac_source + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 +$as_echo "$as_me: linking $ac_source to $ac_file" >&6;} + + if test ! -r "$ac_source"; then + as_fn_error $? "$ac_source: file not found" "$LINENO" 5 + fi + rm -f "$ac_file" + + # Try a relative symlink, then a hard link, then a copy. + case $ac_source in + [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; + *) ac_rel_source=$ac_top_build_prefix$ac_source ;; + esac + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || + ln "$ac_source" "$ac_file" 2>/dev/null || + cp -p "$ac_source" "$ac_file" || + as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 + fi + ;; + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "po-directories":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + # Treat a directory as a PO directory if and only if it has a + # POTFILES.in file. This allows packages to have multiple PO + # directories under different names or in different locations. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + # Hide the ALL_LINGUAS assigment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + "stamp-h":F) echo timestamp > stamp-h ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +echo "*******************************************************" +echo GRUB2 will be compiled with following components: +echo Platform: "$target_cpu"-"$platform" +if [ x"$platform" = xemu ]; then +if [ x"$grub_emu_usb_excuse" = x ]; then +echo USB support for grub-emu: Yes +else +echo USB support for grub-emu: No "($grub_emu_usb_excuse)" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then +echo SDL support for grub-emu: Yes +else +echo SDL support for grub-emu: No "($grub_emu_sdl_excuse)" +fi +if [ x"$grub_emu_pci_excuse" = x ]; then +echo PCI support for grub-emu: Yes +else +echo PCI support for grub-emu: No "($grub_emu_pci_excuse)" +fi +fi +if test x"$device_mapper_excuse" = x ; then +echo With devmapper support: Yes +else +echo With devmapper support: No "($device_mapper_excuse)" +fi +if [ x"$enable_mm_debug" = xyes ]; then +echo With memory debugging: Yes +else +echo With memory debugging: No +fi +if [ x"$efiemu_excuse" = x ]; then +echo efiemu runtime: Yes +else +echo efiemu runtime: No "($efiemu_excuse)" +fi +if [ x"$grub_mkfont_excuse" = x ]; then +echo grub-mkfont: Yes +else +echo grub-mkfont: No "($grub_mkfont_excuse)" +fi +echo "*******************************************************" + diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..4a05007 --- /dev/null +++ b/configure.ac @@ -0,0 +1,1047 @@ +# -*- autoconf -*- + +# Process this file with autoconf to produce a configure script. + +# Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. +# +# This configure.ac is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +dnl This configure script is complicated, because GRUB needs to deal +dnl with three potentially different types: +dnl +dnl build -- the environment for building GRUB +dnl host -- the environment for running utilities +dnl target -- the environment for running GRUB +dnl +dnl In addition, GRUB needs to deal with a platform specification +dnl which specifies the system running GRUB, such as firmware. +dnl This is necessary because the target type in autoconf does not +dnl describe such a system very well. +dnl +dnl The current strategy is to use variables with no prefix (such as +dnl CC, CFLAGS, etc.) for the host type as well as the build type, +dnl because GRUB does not need to use those variables for the build +dnl type, so there is no conflict. Variables with the prefix "TARGET_" +dnl (such as TARGET_CC, TARGET_CFLAGS, etc.) are used for the target +dnl type. + +AC_INIT([GRUB],[1.99],[bug-grub@gnu.org]) + +AC_CONFIG_AUX_DIR([build-aux]) + +# We don't want -g -O2 by default in CFLAGS +: ${CFLAGS=""} + +# Checks for host and target systems. +AC_CANONICAL_HOST +AC_CANONICAL_TARGET + +AM_INIT_AUTOMAKE() +AC_PREREQ(2.60) +AC_CONFIG_SRCDIR([include/grub/dl.h]) +AC_CONFIG_HEADER([config-util.h]) + +# Program name transformations +AC_ARG_PROGRAM + +# Optimization flag. Allow user to override. +if test "x$TARGET_CFLAGS" = x; then + TARGET_CFLAGS="$TARGET_CFLAGS -Os" +fi + +# Default HOST_CPPFLAGS +HOST_CPPFLAGS="$HOST_CPPFLAGS -Wall -W" +HOST_CPPFLAGS="$HOST_CPPFLAGS -I\$(top_builddir)/include" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_UTIL=1" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DGRUB_LIBDIR=\\\"\$(pkglibdir)\\\"" +HOST_CPPFLAGS="$HOST_CPPFLAGS -DLOCALEDIR=\\\"\$(localedir)\\\"" + +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -Wall -W" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_srcdir)/include" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS -I\$(top_builddir)/include" + +case "$target_cpu" in + i[[3456]]86) target_cpu=i386 ;; + amd64) target_cpu=x86_64 ;; + sparc) target_cpu=sparc64 ;; + mipsel|mips64el) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPSEL=1"; + ;; + mips|mips64) + target_cpu=mips; + machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_CPU_MIPS=1"; + ;; +esac + +# Specify the platform (such as firmware). +AC_ARG_WITH([platform], + AS_HELP_STRING([--with-platform=PLATFORM], + [select the host platform [[guessed]]])) + +# Guess the platform if not specified. +if test "x$with_platform" = x; then + case "$target_cpu"-"$target_vendor" in + i386-apple) platform=efi ;; + i386-*) platform=pc ;; + x86_64-apple) platform=efi ;; + x86_64-*) platform=pc ;; + powerpc-*) platform=ieee1275 ;; + powerpc64-*) platform=ieee1275 ;; + sparc64-*) platform=ieee1275 ;; + mips-*) platform=yeeloong ;; + *) AC_MSG_ERROR([unsupported CPU: "$target_cpu"]) ;; + esac +else + platform="$with_platform" +fi + +case "$target_cpu"-"$platform" in + x86_64-efi) ;; + x86_64-emu) ;; + x86_64-*) target_cpu=i386 ;; + powerpc64-ieee1275) target_cpu=powerpc ;; +esac + +# Check if the platform is supported, make final adjustments. +case "$target_cpu"-"$platform" in + i386-efi) ;; + x86_64-efi) ;; + i386-pc) ;; + i386-multiboot) ;; + i386-coreboot) ;; + i386-linuxbios) platform=coreboot ;; + i386-ieee1275) ;; + i386-qemu) ;; + powerpc-ieee1275) ;; + sparc64-ieee1275) ;; + mips-qemu-mips) ;; + mips-yeeloong) ;; + *-emu) ;; + *) AC_MSG_ERROR([platform "$platform" is not supported for target CPU "$target_cpu"]) ;; +esac + +case "$target_cpu" in + i386 | powerpc) target_m32=1 ;; + x86_64 | sparc64) target_m64=1 ;; +esac + +case "$host_os" in + mingw32*) host_os=cygwin ;; +esac + +# This normalizes the names, and creates a new variable ("host_kernel") +# while at it, since the mapping is not always 1:1 (e.g. different OSes +# using the same kernel type). +case "$host_os" in + gnu*) host_kernel=hurd ;; + linux*) host_kernel=linux ;; + freebsd* | kfreebsd*-gnu) host_kernel=kfreebsd ;; + netbsd*) host_kernel=netbsd ;; + cygwin) host_kernel=windows ;; +esac + +case "$platform" in + coreboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_COREBOOT=1" ;; + multiboot) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MULTIBOOT=1" ;; + efi) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EFI=1" ;; + ieee1275) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_IEEE1275=1" ;; + qemu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_QEMU=1" ;; + pc) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_PCBIOS=1" ;; + emu) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_EMU=1" ;; + yeeloong) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_YEELOONG=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; + qemu-mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS_QEMU_MIPS=1 -DGRUB_MACHINE_MIPS_BONITO=1" ;; +esac +case "$target_cpu" in + mips) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_MIPS=1" ;; + sparc64) machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE_SPARC64=1" ;; +esac +machine_CPPFLAGS="$machine_CPPFLAGS -DGRUB_MACHINE=`echo ${target_cpu}_$platform | sed y,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ,`" + +HOST_CPPFLAGS="$HOST_CPPFLAGS $machine_CPPFLAGS" +TARGET_CPPFLAGS="$TARGET_CPPFLAGS $machine_CPPFLAGS" + +AC_SUBST(host_cpu) +AC_SUBST(host_os) +AC_SUBST(host_kernel) + +AC_SUBST(target_cpu) +AC_SUBST(platform) + +# Define default variables +case "$host_os" in + netbsd* | openbsd*) + # Because /boot is used for the boot block in NetBSD and OpenBSD, + bootdirname='' ;; + *) bootdirname='boot' ;; +esac +bootdirname=`echo "$bootdirname" | sed "$program_transform_name"` +AC_SUBST(bootdirname) +AC_DEFINE_UNQUOTED(GRUB_BOOT_DIR_NAME, "$bootdirname", + [Default boot directory name]") + +grubdirname=`echo "$PACKAGE" | sed "$program_transform_name"` +AC_SUBST(grubdirname) +AC_DEFINE_UNQUOTED(GRUB_DIR_NAME, "$grubdirname", + [Default grub directory name]) + +# +# Checks for build programs. +# + +# Although cmp is listed in the GNU Coding Standards as a command which +# can used directly, OpenBSD lacks cmp in the default installation. +AC_CHECK_PROGS([CMP], [cmp]) +if test "x$CMP" = x; then + AC_MSG_ERROR([cmp is not found]) +fi + +AC_CHECK_PROGS([YACC], [bison]) +if test "x$YACC" = x; then + AC_MSG_ERROR([bison is not found]) +fi + +FONT_SOURCE= + +for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do + for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/unifont; do + if test -f "$dir/unifont.$ext"; then + FONT_SOURCE="$dir/unifont.$ext" + break 2 + fi + done +done + +if test "x$FONT_SOURCE" = x && ( test "x$platform" = xqemu || test "x$platform" = xyeeloong ); then + AC_MSG_ERROR([qemu and yeeloong ports need unifont]) +fi + +AC_SUBST([FONT_SOURCE]) + +AC_PROG_RANLIB +AC_PROG_INSTALL +AC_PROG_AWK +AC_PROG_LEX +AC_PROG_YACC +AC_PROG_MAKE_SET +AC_PROG_MKDIR_P +AC_PROG_LN_S + +if test "x$LEX" = "x:"; then + AC_MSG_ERROR([flex is not found]) +else + version=`$LEX --version | $AWK '{ split($NF,x,"."); print x[[1]]*10000+x[[2]]*100+x[[3]]; }'` + if test -n "$version" -a "$version" -ge 20535; then + : + else + AC_MSG_ERROR([flex is too old. GRUB requires 2.5.35 or above]) + fi +fi + +# These are not a "must". +AC_PATH_PROGS(MAKEINFO, makeinfo true) + +# +# Checks for host programs. +# + +AC_PROG_CC +gl_EARLY +AM_PROG_CC_C_O +AM_PROG_AS + +# Must be GCC. +test "x$GCC" = xyes || AC_MSG_ERROR([GCC is required]) + +AC_GNU_SOURCE +AM_GNU_GETTEXT([external]) +AC_SYS_LARGEFILE + +# Identify characteristics of the host architecture. +AC_C_BIGENDIAN +AC_CHECK_SIZEOF(void *) +AC_CHECK_SIZEOF(long) + +grub_apple_cc +if test x$grub_cv_apple_cc = xyes ; then + HOST_CPPFLAGS="$HOST_CPPFLAGS -DAPPLE_CC=1" + HOST_CFLAGS="$HOST_CFLAGS -fnested-functions" +fi + +if test "x$cross_compiling" = xyes; then + AC_MSG_WARN([cannot generate manual pages while cross compiling]) +else + AC_PATH_PROG(HELP2MAN, help2man) +fi + +# Check for functions and headers. +AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getextmntent) +AC_CHECK_HEADERS(libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h) + +AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[$ac_includes_default +#include +#include ]) + +AC_CHECK_MEMBERS([struct statfs.f_mntfromname],,,[$ac_includes_default +#include +#include ]) + +# For opendisk() and getrawpartition() on NetBSD. +# Used in util/deviceiter.c and in util/hostdisk.c. +AC_CHECK_HEADER([util.h], [ + AC_CHECK_LIB([util], [opendisk], [ + LIBUTIL="-lutil" + AC_DEFINE(HAVE_OPENDISK, 1, [Define if opendisk() in -lutil can be used]) + ]) + AC_CHECK_LIB([util], [getrawpartition], [ + LIBUTIL="-lutil" + AC_DEFINE(HAVE_GETRAWPARTITION, 1, [Define if getrawpartition() in -lutil can be used]) + ]) +]) +AC_SUBST([LIBUTIL]) + +# +# Check for host and build compilers. +# +HOST_CC=$CC +AC_CHECK_PROGS(BUILD_CC, [gcc egcs cc], + [AC_MSG_ERROR([none of gcc, egcs and cc is found. set BUILD_CC manually.])]) + +# For gnulib. +gl_INIT + +# +# Check for target programs. +# + +# Find tools for the target. +if test "x$target_alias" != x && test "x$host_alias" != "x$target_alias"; then + tmp_ac_tool_prefix="$ac_tool_prefix" + ac_tool_prefix=$target_alias- + + AC_CHECK_TOOLS(TARGET_CC, [gcc egcs cc], + [AC_MSG_ERROR([none of gcc, egcs and cc is found. set TARGET_CC manually.])]) + AC_CHECK_TOOL(OBJCOPY, objcopy) + AC_CHECK_TOOL(STRIP, strip) + AC_CHECK_TOOL(NM, nm) + + ac_tool_prefix="$tmp_ac_tool_prefix" +else + if test "x$TARGET_CC" = x; then + TARGET_CC=$CC + fi + AC_CHECK_TOOL(OBJCOPY, objcopy) + AC_CHECK_TOOL(STRIP, strip) + AC_CHECK_TOOL(NM, nm) +fi +AC_SUBST(HOST_CC) +AC_SUBST(BUILD_CC) +AC_SUBST(TARGET_CC) + +# Test the C compiler for the target environment. +tmp_CC="$CC" +tmp_CFLAGS="$CFLAGS" +tmp_LDFLAGS="$LDFLAGS" +tmp_CPPFLAGS="$CPPFLAGS" +tmp_LIBS="$LIBS" +CC="$TARGET_CC" +CFLAGS="$TARGET_CFLAGS" +CPPFLAGS="$TARGET_CPPFLAGS" +LDFLAGS="$TARGET_LDFLAGS" +LIBS="" + +# debug flags. +TARGET_CFLAGS="$TARGET_CFLAGS -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g" +TARGET_CCASFLAGS="$TARGET_CCASFLAGS -g" + +# Force no alignment to save space on i386. +if test "x$target_cpu" = xi386; then + AC_CACHE_CHECK([whether -falign-loops works], [grub_cv_cc_falign_loop], [ + CFLAGS="$CFLAGS -falign-loops=1" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_cc_falign_loop=yes], + [grub_cv_cc_falign_loop=no]) + ]) + + if test "x$grub_cv_cc_falign_loop" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1" + else + TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1" + fi + + # Some toolchains enable these features by default, but they need + # registers that aren't set up properly in GRUB. + TARGET_CFLAGS="$TARGET_CFLAGS -mno-mmx -mno-sse -mno-sse2 -mno-3dnow" +fi + +# By default, GCC 4.4 generates .eh_frame sections containing unwind +# information in some cases where it previously did not. GRUB doesn't need +# these and they just use up vital space. Restore the old compiler +# behaviour. +AC_CACHE_CHECK([whether -fno-dwarf2-cfi-asm works], [grub_cv_cc_fno_dwarf2_cfi_asm], [ + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fno-dwarf2-cfi-asm" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_cc_fno_dwarf2_cfi_asm=yes], + [grub_cv_cc_fno_dwarf2_cfi_asm=no]) + CFLAGS="$SAVE_CFLAGS" +]) + +if test "x$grub_cv_cc_fno_dwarf2_cfi_asm" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-dwarf2-cfi-asm" +fi + +if test "${target_cpu}-${platform}" = mips-yeeloong; then + AC_CACHE_CHECK([whether -march=loongson2f works], [grub_cv_cc_march_loongson2f], [ + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -march=loongson2f" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_cc_march_loongson2f=yes], + [grub_cv_cc_march_loongson2f=no]) + CFLAGS="$SAVE_CFLAGS" + ]) + + if test "x$grub_cv_cc_march_loongson2f" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -march=loongson2f" + else + TARGET_CFLAGS="$TARGET_CFLAGS -march=mips3" + fi +fi + +grub_apple_target_cc +if test x$grub_cv_apple_target_cc = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -DAPPLE_CC=1" + TARGET_CFLAGS="$TARGET_CFLAGS -fnested-functions" + + CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" + TARGET_APPLE_CC=1 + AC_CHECK_PROG([OBJCONV], [objconv], [objconv], []) + if test "x$OBJCONV" = x ; then + AC_CHECK_PROG([OBJCONV], [objconv], [./objconv], [], [.]) + fi + if test "x$OBJCONV" = x ; then + AC_MSG_ERROR([objconv not found which is required when building with apple compiler]) + fi + TARGET_IMG_LDSCRIPT= + TARGET_IMG_CFLAGS="-static" + TARGET_IMG_LDFLAGS='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_LDFLAGS_AC='-nostdlib -static -Wl,-preload -Wl,-segalign,20' + TARGET_IMG_BASE_LDOPT="-Wl,-image_base" +else + TARGET_APPLE_CC=0 +# Use linker script if present, otherwise use builtin -N script. +if test -f "${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc"; then + TARGET_IMG_LDSCRIPT='$(top_srcdir)'"/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_LDFLAGS="-Wl,-T${TARGET_IMG_LDSCRIPT}" + TARGET_IMG_LDFLAGS_AC="-Wl,-T${srcdir}/${grub_coredir}/conf/${target_cpu}-${platform}-${host_os}-img-ld.sc" + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +else + TARGET_IMG_LDSCRIPT= + TARGET_IMG_LDFLAGS='-Wl,-N' + TARGET_IMG_LDFLAGS_AC='-Wl,-N' + TARGET_IMG_BASE_LDOPT="-Wl,-Ttext" +fi +TARGET_IMG_CFLAGS= +fi + +# For platforms where ELF is not the default link format. +AC_MSG_CHECKING([for command to convert module to ELF format]) +case "${host_os}" in + cygwin) TARGET_OBJ2ELF='$(top_builddir)/grub-pe2elf'; +# FIXME: put proper test here + NEED_REGISTER_FRAME_INFO=1 + ;; + *) NEED_REGISTER_FRAME_INFO=0 ;; +esac +AC_MSG_RESULT([$TARGET_OBJ2ELF]) + +if test "x$target_m32" = x1; then + # Force 32-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m32" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m32" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m32" + TARGET_MODULE_FORMAT="elf32" +fi + +if test "x$target_m64" = x1; then + # Force 64-bit mode. + TARGET_CFLAGS="$TARGET_CFLAGS -m64" + TARGET_CCASFLAGS="$TARGET_CCASFLAGS -m64" + TARGET_LDFLAGS="$TARGET_LDFLAGS -m64" + TARGET_MODULE_FORMAT="elf64" +fi + +if test "$target_cpu"-"$platform" = x86_64-efi; then + # Use large model to support 4G memory + AC_CACHE_CHECK([whether option -mcmodel=large works], grub_cv_cc_mcmodel, [ + SAVED_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -m64 -mcmodel=large" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_cc_mcmodel=yes], + [grub_cv_cc_mcmodel=no]) + ]) + if test "x$grub_cv_cc_mcmodel" = xno; then + AC_MSG_ERROR([-mcmodel=large not supported. Upgrade your gcc.]) + else + TARGET_CFLAGS="$TARGET_CFLAGS -mcmodel=large" + fi + + # EFI writes to stack below %rsp, we must not use the red zone + AC_CACHE_CHECK([whether option -mno-red-zone works], grub_cv_cc_no_red_zone, [ + CFLAGS="$CFLAGS -m64 -mno-red-zone" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_cc_no_red_zone=yes], + [grub_cv_cc_no_red_zone=no]) + ]) + if test "x$grub_cv_cc_no_red_zone" = xno; then + AC_MSG_ERROR([-mno-red-zone not supported, upgrade your gcc]) + fi + + TARGET_CFLAGS="$TARGET_CFLAGS -mno-red-zone" +fi + +# +# Compiler features. +# + +# Need __enable_execute_stack() for nested function trampolines? +grub_CHECK_ENABLE_EXECUTE_STACK + +# Position independent executable. +grub_CHECK_PIE +[# Need that, because some distributions ship compilers that include +# `-fPIE' in the default specs. +if [ x"$pie_possible" = xyes ]; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE" +fi] + +# Smashing stack protector. +grub_CHECK_STACK_PROTECTOR +# Need that, because some distributions ship compilers that include +# `-fstack-protector' in the default specs. +if test "x$ssp_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -fno-stack-protector" +fi +grub_CHECK_STACK_ARG_PROBE +# Cygwin's GCC uses alloca() to probe the stackframe on static +# stack allocations above some threshold. +if test x"$sap_possible" = xyes; then + TARGET_CFLAGS="$TARGET_CFLAGS -mno-stack-arg-probe" +fi + +AC_ARG_ENABLE([werror], + [AS_HELP_STRING([--disable-werror], + [do not use -Werror when building GRUB])]) +if test x"$enable_werror" != xno ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Werror" +fi + +TARGET_CPP="$TARGET_CC -E" +TARGET_CCAS=$TARGET_CC + +AC_SUBST(OBJCONV) +AC_SUBST(TARGET_CPP) +AC_SUBST(TARGET_CCAS) +AC_SUBST(TARGET_OBJ2ELF) +AC_SUBST(TARGET_APPLE_CC) +AC_SUBST(TARGET_MODULE_FORMAT) + +AC_SUBST(TARGET_CFLAGS) +AC_SUBST(TARGET_LDFLAGS) +AC_SUBST(TARGET_CPPFLAGS) +AC_SUBST(TARGET_CCASFLAGS) + +AC_SUBST(TARGET_IMG_LDSCRIPT) +AC_SUBST(TARGET_IMG_LDFLAGS) +AC_SUBST(TARGET_IMG_CFLAGS) +AC_SUBST(TARGET_IMG_BASE_LDOPT) + +AC_SUBST(HOST_CFLAGS) +AC_SUBST(HOST_LDFLAGS) +AC_SUBST(HOST_CPPFLAGS) +AC_SUBST(HOST_CCASFLAGS) + +# Set them to their new values for the tests below. +CC="$TARGET_CC" +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100 -Wno-error" +fi +CPPFLAGS="$TARGET_CPPFLAGS" +if test x$target_cpu = xi386 || test x$target_cpu = xx86_64 ; then +LIBS= +else +LIBS=-lgcc +fi + +grub_ASM_USCORE +if test x$grub_cv_asm_uscore = xyes; then +CFLAGS="$CFLAGS -Wl,--defsym,_abort=_main" +else +CFLAGS="$CFLAGS -Wl,--defsym,abort=main" +fi + +# Check for libgcc symbols +AC_CHECK_FUNCS(__bswapsi2 __bswapdi2 __ashldi3 __ashrdi3 __lshrdi3 __trampoline_setup __ucmpdi2 _restgpr_14_x) + +if test "x$TARGET_APPLE_CC" = x1 ; then +CFLAGS="$TARGET_CFLAGS -nostdlib" +else +CFLAGS="$TARGET_CFLAGS -nostdlib -Wl,--defsym,___main=0x8100" +fi +LIBS="" + +# Defined in aclocal.m4. +grub_PROG_TARGET_CC +if test "x$TARGET_APPLE_CC" != x1 ; then +grub_PROG_OBJCOPY_ABSOLUTE +fi +grub_PROG_LD_BUILD_ID_NONE +if test "x$target_cpu" = xi386; then + if test "$platform" != emu && test "x$TARGET_APPLE_CC" != x1 ; then + if test ! -z "$TARGET_IMG_LDSCRIPT"; then + # Check symbols provided by linker script. + CFLAGS="$TARGET_CFLAGS -nostdlib ${TARGET_IMG_LDFLAGS_AC} ${TARGET_IMG_BASE_LDOPT},8000 -Wl,--defsym,___main=0x8100" + fi + grub_CHECK_BSS_START_SYMBOL + grub_CHECK_END_SYMBOL + fi + CFLAGS="$TARGET_CFLAGS" + grub_I386_ASM_PREFIX_REQUIREMENT + grub_I386_ASM_ADDR32 +fi + +AC_ARG_ENABLE([efiemu], + [AS_HELP_STRING([--enable-efiemu], + [build and install the efiemu runtimes (default=guessed)])]) +if test x"$enable_efiemu" = xno ; then + efiemu_excuse="explicitly disabled" +fi +if test x"$target_cpu" != xi386 ; then + efiemu_excuse="only available on i386" +fi +if test x"$platform" = xefi ; then + efiemu_excuse="not available on efi" +fi +if test x"$efiemu_excuse" = x ; then + AC_CACHE_CHECK([whether options required for efiemu work], grub_cv_cc_efiemu, [ + CFLAGS="$CFLAGS -m64 -mcmodel=large -mno-red-zone -nostdlib" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], + [grub_cv_cc_efiemu=yes], + [grub_cv_cc_efiemu=no]) + ]) + if test x$grub_cv_cc_efiemu = xno; then + efiemu_excuse="cannot compile with -m64 -mcmodel=large -mno-red-zone -nostdlib" + fi +fi +if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then + AC_MSG_ERROR([efiemu runtime was explicitly requested but can't be compiled]) +fi +if test x"$efiemu_excuse" = x ; then +enable_efiemu=yes +else +enable_efiemu=no +fi +AC_SUBST([enable_efiemu]) + +if test "$platform" != emu; then +AC_CACHE_CHECK([whether -nostdinc -isystem works], [grub_cv_cc_isystem], [ + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include +int va_arg_func (int fixed, va_list args);]], [[]])], + [grub_cv_cc_isystem=yes], + [grub_cv_cc_isystem=no]) + CPPFLAGS="$SAVED_CPPFLAGS" +]) + +if test x"$grub_cv_cc_isystem" = xyes ; then + TARGET_CPPFLAGS="$TARGET_CPPFLAGS -nostdinc -isystem `$TARGET_CC -print-file-name=include`" +fi +fi + +AC_CACHE_CHECK([whether -Wno-trampolines work], [grub_cv_cc_wnotrampolines], [ + SAVED_CFLAGS="$CFLAGS" + # Test for -Wtrampolines rather than -Wno-trampolines to reduce confusion + # in the event of later failures (since -Wno-* is always accepted, but + # produces a diagnostic if something else is wrong). + CFLAGS="$TARGET_CFLAGS -Wtrampolines" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include +int va_arg_func (int fixed, va_list args);]], [[]])], + [grub_cv_cc_wnotrampolines=yes], + [grub_cv_cc_wnotrampolines=no]) + CFLAGS="$SAVED_CFLAGS" +]) + +if test x"$grub_cv_cc_wnotrampolines" = xyes ; then + TARGET_CFLAGS="$TARGET_CFLAGS -Wno-trampolines" +fi + +# Restore the flags. +CC="$tmp_CC" +CFLAGS="$tmp_CFLAGS" +CPPFLAGS="$tmp_CPPFLAGS" +LDFLAGS="$tmp_LDFLAGS" +LIBS="$tmp_LIBS" + +# +# Check for options. +# + +# Memory manager debugging. +AC_ARG_ENABLE([mm-debug], + AS_HELP_STRING([--enable-mm-debug], + [include memory manager debugging]), + [AC_DEFINE([MM_DEBUG], [1], + [Define to 1 if you enable memory manager debugging.])]) + +AC_ARG_ENABLE([grub-emu-usb], + [AS_HELP_STRING([--enable-grub-emu-usb], + [build and install the `grub-emu' debugging utility with USB support (default=guessed)])]) + +AC_ARG_ENABLE([grub-emu-sdl], + [AS_HELP_STRING([--enable-grub-emu-sdl], + [build and install the `grub-emu' debugging utility with SDL support (default=guessed)])]) + +AC_ARG_ENABLE([grub-emu-pci], + [AS_HELP_STRING([--enable-grub-emu-pci], + [build and install the `grub-emu' debugging utility with PCI support (potentially dangerous) (default=no)])]) + +if test "$platform" = emu; then + missing_ncurses= +[# Check for curses libraries.] + AC_CHECK_LIB([ncurses], [wgetch], [LIBCURSES="-lncurses"], + [AC_CHECK_LIB([curses], [wgetch], [LIBCURSES="-lcurses"], + [missing_ncurses=[true]])]) + AC_SUBST([LIBCURSES]) +[if [ x"$missing_ncurses" = x ]; then ] + [# Check for headers.] + AC_CHECK_HEADERS([ncurses/curses.h], [], + [AC_CHECK_HEADERS([ncurses.h], [], + [AC_CHECK_HEADERS([curses.h], [], + [missing_ncurses=[true]])])]) +[fi] +if test x"$missing_ncurses" = xtrue ; then + AC_MSG_ERROR([grub-emu can't be compiled without ncurses]) +fi + +if test x"$enable_grub_emu_usb" != xyes ; then + grub_emu_usb_excuse="not enabled" +fi + +if test x"$enable_grub_emu_pci" = xyes ; then + grub_emu_usb_excuse="conflicts with PCI support" +fi + +[if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for libusb libraries.] +AC_CHECK_LIB([usb], [usb_claim_interface], [LIBUSB="-lusb"], + [grub_emu_usb_excuse=["need libusb library"]]) + AC_SUBST([LIBUSB]) +[fi] +[if [ x"$grub_emu_usb_excuse" = x ]; then + # Check for headers.] + AC_CHECK_HEADERS([usb.h], [], + [grub_emu_usb_excuse=["need libusb headers"]]) +[fi] +if test x"$enable_grub_emu_usb" = xyes && test x"$grub_emu_usb_excuse" != x ; then + AC_MSG_ERROR([USB support for grub-emu was explicitly requested but can't be compiled]) +fi +if test x"$grub_emu_usb_excuse" = x ; then +enable_grub_emu_usb=yes +else +enable_grub_emu_usb=no +fi + +if test x"$enable_grub_emu_sdl" = xno ; then + grub_emu_sdl_excuse="explicitely disabled" +fi +[if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for libSDL libraries.] +AC_CHECK_LIB([SDL], [SDL_Init], [LIBSDL="-lSDL"], + [grub_emu_sdl_excuse=["libSDL libraries are required to build \`grub-emu' with SDL support"]]) + AC_SUBST([LIBSDL]) +[fi] + +[if [ x"$grub_emu_sdl_excuse" = x ]; then + # Check for headers.] + AC_CHECK_HEADERS([SDL/SDL.h], [], + [grub_emu_sdl_excuse=["libSDL header file is required to build \`grub-emu' with SDL support"]]) +[fi] + +if test x"enable_grub_emu_sdl" = xyes && test x"$grub_emu_sdl_excuse" != x ; then + AC_MSG_ERROR([SDL support for grub-emu was explicitely requested but can't be compiled]) +fi +if test x"$grub_emu_sdl_excuse" = x ; then +enable_grub_emu_sdl=yes +else +enable_grub_emu_sdl=no +fi + +if test x"$enable_grub_emu_pci" != xyes ; then + grub_emu_pci_excuse="not enabled" +fi + +if test x"$enable_grub_emu_usb" = xyes ; then + grub_emu_pci_excuse="conflicts with USB support" +fi + +[if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for libpci libraries.] + AC_CHECK_LIB([pciaccess], [pci_system_init], [LIBPCIACCESS="-lpciaccess"], + [grub_emu_pci_excuse=["need libpciaccess library"]]) + AC_SUBST([LIBPCIACCESS]) +[fi] +[if [ x"$grub_emu_pci_excuse" = x ]; then + # Check for headers.] + AC_CHECK_HEADERS([pci/pci.h], [], + [grub_emu_pci_excuse=["need libpciaccess headers"]]) +[fi] + +if test x"$grub_emu_pci_excuse" = x ; then +enable_grub_emu_pci=yes +else + +enable_grub_emu_pci=no +fi + +AC_SUBST([enable_grub_emu_sdl]) +AC_SUBST([enable_grub_emu_usb]) +AC_SUBST([enable_grub_emu_pci]) +fi + +AC_ARG_ENABLE([grub-mkfont], + [AS_HELP_STRING([--enable-grub-mkfont], + [build and install the `grub-mkfont' utility (default=guessed)])]) +if test x"$enable_grub_mkfont" = xno ; then + grub_mkfont_excuse="explicitly disabled" +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + AC_CHECK_PROGS([FREETYPE], [freetype-config]) + if test "x$FREETYPE" = x ; then + grub_mkfont_excuse=["need freetype2 library"] + fi +fi + +if test x"$grub_mkfont_excuse" = x ; then + # Check for freetype libraries. + freetype_cflags=`freetype-config --cflags` + freetype_libs=`freetype-config --libs` + SAVED_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $freetype_cflags" + AC_CHECK_HEADERS([ft2build.h], [], + [grub_mkfont_excuse=["need freetype2 headers"]]) + CPPFLAGS="$SAVED_CPPFLAGS" +fi + +if test x"$enable_grub_mkfont" = xyes && test x"$grub_mkfont_excuse" != x ; then + AC_MSG_ERROR([grub-mkfont was explicitly requested but can't be compiled]) +fi +if test x"$grub_mkfont_excuse" = x ; then +enable_grub_mkfont=yes +else +enable_grub_mkfont=no +fi +AC_SUBST([enable_grub_mkfont]) +AC_SUBST([freetype_cflags]) +AC_SUBST([freetype_libs]) + +AC_ARG_ENABLE([device-mapper], + [AS_HELP_STRING([--enable-device-mapper], + [enable Linux device-mapper support (default=guessed)])]) +if test x"$enable_device_mapper" = xno ; then + device_mapper_excuse="explicitly disabled" +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper header. + AC_CHECK_HEADER([libdevmapper.h], [], + [device_mapper_excuse="need libdevmapper header"]) +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + AC_CHECK_LIB([devmapper], [dm_task_create], [], + [device_mapper_excuse="need devmapper library"]) +fi + +if test x"$device_mapper_excuse" = x ; then + # Check for device-mapper library. + AC_CHECK_LIB([devmapper], [dm_log_with_errno_init], + [], + [device_mapper_excuse="need devmapper library"]) +fi + +if test x"$device_mapper_excuse" = x ; then + LIBDEVMAPPER="-ldevmapper"; + AC_DEFINE([HAVE_DEVICE_MAPPER], [1], + [Define to 1 if you have the devmapper library.]) +fi + +AC_SUBST([LIBDEVMAPPER]) + +LIBGEOM= +if test x$host_kernel = xkfreebsd; then + AC_CHECK_LIB([geom], [geom_gettree], [], + [AC_MSG_ERROR([Your platform requires libgeom])]) + LIBGEOM="-lgeom" +fi + +AC_SUBST([LIBGEOM]) + +AC_CHECK_LIB([lzma], [lzma_code], + [LIBLZMA="-llzma" + AC_DEFINE([HAVE_LIBLZMA], [1], + [Define to 1 if you have the LZMA library.])],) +AC_SUBST([LIBLZMA]) + +AC_CHECK_LIB([zfs], [libzfs_init], + [LIBZFS="-lzfs" + AC_DEFINE([HAVE_LIBZFS], [1], + [Define to 1 if you have the ZFS library.])],) +AC_SUBST([LIBZFS]) + +AC_CHECK_LIB([nvpair], [nvlist_print], + [LIBNVPAIR="-lnvpair" + AC_DEFINE([HAVE_LIBNVPAIR], [1], + [Define to 1 if you have the NVPAIR library.])],) +AC_SUBST([LIBNVPAIR]) + +LIBS="" + +pkglibrootdir='$(libdir)'/`echo $PACKAGE | sed "$program_transform_name"` +AC_SUBST(pkglibrootdir) + +AC_SUBST([FONT_SOURCE]) +AS_IF([test x$target_cpu = xi386 -a x$platform = xqemu], + [AC_SUBST([GRUB_BOOT_MACHINE_LINK_ADDR], 0xffe00)]) +AS_IF([test x$TARGET_APPLE_CC = x1], + [AC_SUBST([USE_APPLE_CC_FIXES], yes)]) + +AC_SUBST(HAVE_ASM_USCORE) +AC_SUBST(ADDR32) +AC_SUBST(DATA32) +AC_SUBST(BSS_START_SYMBOL) +AC_SUBST(END_SYMBOL) +AC_SUBST(PACKAGE) +AC_SUBST(VERSION) +AC_SUBST(NEED_ENABLE_EXECUTE_STACK) +AC_SUBST(NEED_REGISTER_FRAME_INFO) + +# +# Automake conditionals +# + +AM_CONDITIONAL([COND_emu], [test x$platform = xemu]) +AM_CONDITIONAL([COND_i386_pc], [test x$target_cpu = xi386 -a x$platform = xpc]) +AM_CONDITIONAL([COND_i386_efi], [test x$target_cpu = xi386 -a x$platform = xefi]) +AM_CONDITIONAL([COND_i386_qemu], [test x$target_cpu = xi386 -a x$platform = xqemu]) +AM_CONDITIONAL([COND_i386_ieee1275], [test x$target_cpu = xi386 -a x$platform = xieee1275]) +AM_CONDITIONAL([COND_i386_coreboot], [test x$target_cpu = xi386 -a x$platform = xcoreboot]) +AM_CONDITIONAL([COND_i386_multiboot], [test x$target_cpu = xi386 -a x$platform = xmultiboot]) +AM_CONDITIONAL([COND_x86_64_efi], [test x$target_cpu = xx86_64 -a x$platform = xefi]) +AM_CONDITIONAL([COND_mips_yeeloong], [test x$target_cpu = xmips -a x$platform = xyeeloong]) +AM_CONDITIONAL([COND_mips_qemu_mips], [test x$target_cpu = xmips -a x$platform = xqemu_mips]) +AM_CONDITIONAL([COND_sparc64_ieee1275], [test x$target_cpu = xsparc64 -a x$platform = xieee1275]) +AM_CONDITIONAL([COND_powerpc_ieee1275], [test x$target_cpu = xpowerpc -a x$platform = xieee1275]) +AM_CONDITIONAL([COND_mips], [test x$target_cpu = xmips]) + +AM_CONDITIONAL([COND_HOST_HURD], [test x$host_kernel = xhurd]) +AM_CONDITIONAL([COND_HOST_LINUX], [test x$host_kernel = xlinux]) +AM_CONDITIONAL([COND_HOST_NETBSD], [test x$host_kernel = xnetbsd]) +AM_CONDITIONAL([COND_HOST_WINDOWS], [test x$host_kernel = xwindows]) +AM_CONDITIONAL([COND_HOST_KFREEBSD], [test x$host_kernel = xkfreebsd]) + +AM_CONDITIONAL([COND_MAN_PAGES], [test x$cross_compiling = xno -a x$HELP2MAN != x]) +AM_CONDITIONAL([COND_GRUB_EMU_USB], [test x$enable_grub_emu_usb = xyes]) +AM_CONDITIONAL([COND_GRUB_EMU_SDL], [test x$enable_grub_emu_sdl = xyes]) +AM_CONDITIONAL([COND_GRUB_EMU_PCI], [test x$enable_grub_emu_pci = xyes]) +AM_CONDITIONAL([COND_GRUB_MKFONT], [test x$enable_grub_mkfont = xyes]) +AM_CONDITIONAL([COND_HAVE_FONT_SOURCE], [test x$FONT_SOURCE != x]) +AM_CONDITIONAL([COND_GRUB_PE2ELF], [test x$TARGET_OBJ2ELF != x]) +AM_CONDITIONAL([COND_APPLE_CC], [test x$TARGET_APPLE_CC = x1]) +AM_CONDITIONAL([COND_ENABLE_EFIEMU], [test x$enable_efiemu = xyes]) + +AM_CONDITIONAL([COND_HAVE_ASM_USCORE], [test x$HAVE_ASM_USCORE = x1]) +AM_CONDITIONAL([COND_CYGWIN], [test x$host_os = xcygwin]) + +# Output files. +grub_CHECK_LINK_DIR +if test x"$link_dir" = xyes ; then + AC_CONFIG_LINKS([include/grub/cpu:include/grub/$target_cpu]) + if test "$platform" != emu ; then + AC_CONFIG_LINKS([include/grub/machine:include/grub/$target_cpu/$platform]) + fi +else + mkdir -p include/grub 2>/dev/null + rm -rf include/grub/cpu + cp -rp $srcdir/include/grub/$target_cpu include/grub/cpu 2>/dev/null + if test "$platform" != emu ; then + rm -rf include/grub/machine + cp -rp $srcdir/include/grub/$target_cpu/$platform include/grub/machine 2>/dev/null + fi +fi + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([grub-core/Makefile]) +AC_CONFIG_FILES([grub-core/gnulib/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_CONFIG_FILES([docs/Makefile]) +AC_CONFIG_FILES([util/bash-completion.d/Makefile]) +AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h]) +AC_CONFIG_FILES([config.h]) + +AC_OUTPUT +[ +echo "*******************************************************" +echo GRUB2 will be compiled with following components: +echo Platform: "$target_cpu"-"$platform" +if [ x"$platform" = xemu ]; then +if [ x"$grub_emu_usb_excuse" = x ]; then +echo USB support for grub-emu: Yes +else +echo USB support for grub-emu: No "($grub_emu_usb_excuse)" +fi +if [ x"$grub_emu_sdl_excuse" = x ]; then +echo SDL support for grub-emu: Yes +else +echo SDL support for grub-emu: No "($grub_emu_sdl_excuse)" +fi +if [ x"$grub_emu_pci_excuse" = x ]; then +echo PCI support for grub-emu: Yes +else +echo PCI support for grub-emu: No "($grub_emu_pci_excuse)" +fi +fi +if test x"$device_mapper_excuse" = x ; then +echo With devmapper support: Yes +else +echo With devmapper support: No "($device_mapper_excuse)" +fi +if [ x"$enable_mm_debug" = xyes ]; then +echo With memory debugging: Yes +else +echo With memory debugging: No +fi +if [ x"$efiemu_excuse" = x ]; then +echo efiemu runtime: Yes +else +echo efiemu runtime: No "($efiemu_excuse)" +fi +if [ x"$grub_mkfont_excuse" = x ]; then +echo grub-mkfont: Yes +else +echo grub-mkfont: No "($grub_mkfont_excuse)" +fi +echo "*******************************************************" +] diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..6e15006 --- /dev/null +++ b/docs/Makefile.am @@ -0,0 +1,7 @@ +AUTOMAKE_OPTIONS = subdir-objects + +# AM_MAKEINFOFLAGS = --no-split --no-validate +info_TEXINFOS = grub.texi grub-dev.texi +grub_TEXINFOS = fdl.texi + + diff --git a/docs/Makefile.in b/docs/Makefile.in new file mode 100644 index 0000000..8ff9d06 --- /dev/null +++ b/docs/Makefile.in @@ -0,0 +1,1232 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +subdir = docs +DIST_COMMON = $(grub_TEXINFOS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/stamp-1 $(srcdir)/stamp-vti \ + $(srcdir)/version-dev.texi $(srcdir)/version.texi mdate-sh \ + texinfo.tex +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/argp.m4 \ + $(top_srcdir)/m4/asm-underscore.m4 $(top_srcdir)/m4/btowc.m4 \ + $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/dirname.m4 \ + $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \ + $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ + $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fcntl-o.m4 \ + $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fnmatch.m4 \ + $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getline.m4 \ + $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gnulib-common.m4 \ + $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/include_next.m4 \ + $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ + $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/langinfo_h.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ + $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/malloc.m4 \ + $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ + $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \ + $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/rawmemchr.m4 \ + $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ + $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stdbool.m4 \ + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ + $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ + $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \ + $(top_srcdir)/m4/strchrnul.m4 $(top_srcdir)/m4/strerror.m4 \ + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ + $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ + $(top_srcdir)/m4/sys_wait_h.m4 $(top_srcdir)/m4/sysexits.m4 \ + $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/vasnprintf.m4 \ + $(top_srcdir)/m4/vsnprintf.m4 $(top_srcdir)/m4/warn-on-use.m4 \ + $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ + $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ + $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config-util.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +INFO_DEPS = $(srcdir)/grub.info $(srcdir)/grub-dev.info +TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex +am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux +DVIS = grub.dvi grub-dev.dvi +PDFS = grub.pdf grub-dev.pdf +PSS = grub.ps grub-dev.ps +HTMLS = grub.html grub-dev.html +TEXINFOS = grub.texi grub-dev.texi +TEXI2DVI = texi2dvi +TEXI2PDF = $(TEXI2DVI) --pdf --batch +MAKEINFOHTML = $(MAKEINFO) --html +AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) +DVIPS = dvips +am__installdirs = "$(DESTDIR)$(infodir)" +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ADDR32 = @ADDR32@ +ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ +AMTAR = @AMTAR@ +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ +ASM_SYMBOL_PREFIX = @ASM_SYMBOL_PREFIX@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +BSS_START_SYMBOL = @BSS_START_SYMBOL@ +BUILD_CC = @BUILD_CC@ +CC = @CC@ +CCAS = @CCAS@ +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CMP = @CMP@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATA32 = @DATA32@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ +EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ +END_SYMBOL = @END_SYMBOL@ +ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ +ENOLINK_VALUE = @ENOLINK_VALUE@ +EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ +EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ +ERRNO_H = @ERRNO_H@ +EXEEXT = @EXEEXT@ +FLOAT_H = @FLOAT_H@ +FNMATCH_H = @FNMATCH_H@ +FONT_SOURCE = @FONT_SOURCE@ +FREETYPE = @FREETYPE@ +GETOPT_H = @GETOPT_H@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GNULIB_ATOLL = @GNULIB_ATOLL@ +GNULIB_BTOWC = @GNULIB_BTOWC@ +GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ +GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ +GNULIB_CHOWN = @GNULIB_CHOWN@ +GNULIB_CLOSE = @GNULIB_CLOSE@ +GNULIB_DPRINTF = @GNULIB_DPRINTF@ +GNULIB_DUP2 = @GNULIB_DUP2@ +GNULIB_DUP3 = @GNULIB_DUP3@ +GNULIB_ENVIRON = @GNULIB_ENVIRON@ +GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ +GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ +GNULIB_FCHDIR = @GNULIB_FCHDIR@ +GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ +GNULIB_FCLOSE = @GNULIB_FCLOSE@ +GNULIB_FFLUSH = @GNULIB_FFLUSH@ +GNULIB_FOPEN = @GNULIB_FOPEN@ +GNULIB_FPRINTF = @GNULIB_FPRINTF@ +GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ +GNULIB_FPURGE = @GNULIB_FPURGE@ +GNULIB_FPUTC = @GNULIB_FPUTC@ +GNULIB_FPUTS = @GNULIB_FPUTS@ +GNULIB_FREOPEN = @GNULIB_FREOPEN@ +GNULIB_FSEEK = @GNULIB_FSEEK@ +GNULIB_FSEEKO = @GNULIB_FSEEKO@ +GNULIB_FSYNC = @GNULIB_FSYNC@ +GNULIB_FTELL = @GNULIB_FTELL@ +GNULIB_FTELLO = @GNULIB_FTELLO@ +GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ +GNULIB_FWRITE = @GNULIB_FWRITE@ +GNULIB_GETCWD = @GNULIB_GETCWD@ +GNULIB_GETDELIM = @GNULIB_GETDELIM@ +GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ +GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ +GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ +GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ +GNULIB_GETLINE = @GNULIB_GETLINE@ +GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ +GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ +GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ +GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ +GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ +GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ +GNULIB_GRANTPT = @GNULIB_GRANTPT@ +GNULIB_LCHOWN = @GNULIB_LCHOWN@ +GNULIB_LINK = @GNULIB_LINK@ +GNULIB_LINKAT = @GNULIB_LINKAT@ +GNULIB_LSEEK = @GNULIB_LSEEK@ +GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ +GNULIB_MBRLEN = @GNULIB_MBRLEN@ +GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ +GNULIB_MBSCHR = @GNULIB_MBSCHR@ +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ +GNULIB_MBSINIT = @GNULIB_MBSINIT@ +GNULIB_MBSLEN = @GNULIB_MBSLEN@ +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ +GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ +GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ +GNULIB_MBSSEP = @GNULIB_MBSSEP@ +GNULIB_MBSSPN = @GNULIB_MBSSPN@ +GNULIB_MBSSTR = @GNULIB_MBSSTR@ +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ +GNULIB_MEMCHR = @GNULIB_MEMCHR@ +GNULIB_MEMMEM = @GNULIB_MEMMEM@ +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ +GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ +GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ +GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ +GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ +GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ +GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ +GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ +GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ +GNULIB_PERROR = @GNULIB_PERROR@ +GNULIB_PIPE2 = @GNULIB_PIPE2@ +GNULIB_POPEN = @GNULIB_POPEN@ +GNULIB_PREAD = @GNULIB_PREAD@ +GNULIB_PRINTF = @GNULIB_PRINTF@ +GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ +GNULIB_PTSNAME = @GNULIB_PTSNAME@ +GNULIB_PUTC = @GNULIB_PUTC@ +GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ +GNULIB_PUTENV = @GNULIB_PUTENV@ +GNULIB_PUTS = @GNULIB_PUTS@ +GNULIB_PWRITE = @GNULIB_PWRITE@ +GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ +GNULIB_READLINK = @GNULIB_READLINK@ +GNULIB_READLINKAT = @GNULIB_READLINKAT@ +GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ +GNULIB_REALPATH = @GNULIB_REALPATH@ +GNULIB_REMOVE = @GNULIB_REMOVE@ +GNULIB_RENAME = @GNULIB_RENAME@ +GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ +GNULIB_RMDIR = @GNULIB_RMDIR@ +GNULIB_RPMATCH = @GNULIB_RPMATCH@ +GNULIB_SETENV = @GNULIB_SETENV@ +GNULIB_SLEEP = @GNULIB_SLEEP@ +GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ +GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ +GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ +GNULIB_STPCPY = @GNULIB_STPCPY@ +GNULIB_STPNCPY = @GNULIB_STPNCPY@ +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ +GNULIB_STRDUP = @GNULIB_STRDUP@ +GNULIB_STRERROR = @GNULIB_STRERROR@ +GNULIB_STRNCAT = @GNULIB_STRNCAT@ +GNULIB_STRNDUP = @GNULIB_STRNDUP@ +GNULIB_STRNLEN = @GNULIB_STRNLEN@ +GNULIB_STRPBRK = @GNULIB_STRPBRK@ +GNULIB_STRSEP = @GNULIB_STRSEP@ +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ +GNULIB_STRSTR = @GNULIB_STRSTR@ +GNULIB_STRTOD = @GNULIB_STRTOD@ +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ +GNULIB_STRTOLL = @GNULIB_STRTOLL@ +GNULIB_STRTOULL = @GNULIB_STRTOULL@ +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ +GNULIB_SYMLINK = @GNULIB_SYMLINK@ +GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ +GNULIB_TMPFILE = @GNULIB_TMPFILE@ +GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ +GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@ +GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ +GNULIB_UNLINK = @GNULIB_UNLINK@ +GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ +GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ +GNULIB_UNSETENV = @GNULIB_UNSETENV@ +GNULIB_USLEEP = @GNULIB_USLEEP@ +GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ +GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ +GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ +GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ +GNULIB_VPRINTF = @GNULIB_VPRINTF@ +GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ +GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ +GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ +GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ +GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ +GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ +GNULIB_WCTOB = @GNULIB_WCTOB@ +GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ +GNULIB_WRITE = @GNULIB_WRITE@ +GNULIB__EXIT = @GNULIB__EXIT@ +GREP = @GREP@ +GRUB_BOOT_MACHINE_LINK_ADDR = @GRUB_BOOT_MACHINE_LINK_ADDR@ +HAVE_ASM_USCORE = @HAVE_ASM_USCORE@ +HAVE_ATOLL = @HAVE_ATOLL@ +HAVE_BTOWC = @HAVE_BTOWC@ +HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ +HAVE_CHOWN = @HAVE_CHOWN@ +HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ +HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ +HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ +HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ +HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ +HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ +HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ +HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ +HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ +HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ +HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ +HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ +HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ +HAVE_DPRINTF = @HAVE_DPRINTF@ +HAVE_DUP2 = @HAVE_DUP2@ +HAVE_DUP3 = @HAVE_DUP3@ +HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ +HAVE_FACCESSAT = @HAVE_FACCESSAT@ +HAVE_FCHDIR = @HAVE_FCHDIR@ +HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ +HAVE_FSEEKO = @HAVE_FSEEKO@ +HAVE_FSYNC = @HAVE_FSYNC@ +HAVE_FTELLO = @HAVE_FTELLO@ +HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ +HAVE_GETDOMAINNAME = @HAVE_GETDOMAINNAME@ +HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ +HAVE_GETGROUPS = @HAVE_GETGROUPS@ +HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ +HAVE_GETLOGIN = @HAVE_GETLOGIN@ +HAVE_GETOPT_H = @HAVE_GETOPT_H@ +HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ +HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ +HAVE_GRANTPT = @HAVE_GRANTPT@ +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ +HAVE_ISWBLANK = @HAVE_ISWBLANK@ +HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ +HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ +HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ +HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ +HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ +HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ +HAVE_LCHOWN = @HAVE_LCHOWN@ +HAVE_LINK = @HAVE_LINK@ +HAVE_LINKAT = @HAVE_LINKAT@ +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ +HAVE_MBRLEN = @HAVE_MBRLEN@ +HAVE_MBRTOWC = @HAVE_MBRTOWC@ +HAVE_MBSINIT = @HAVE_MBSINIT@ +HAVE_MBSLEN = @HAVE_MBSLEN@ +HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ +HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ +HAVE_MEMCHR = @HAVE_MEMCHR@ +HAVE_MEMPCPY = @HAVE_MEMPCPY@ +HAVE_MKDTEMP = @HAVE_MKDTEMP@ +HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ +HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ +HAVE_MKSTEMP = @HAVE_MKSTEMP@ +HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ +HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ +HAVE_OS_H = @HAVE_OS_H@ +HAVE_PIPE2 = @HAVE_PIPE2@ +HAVE_PREAD = @HAVE_PREAD@ +HAVE_PTSNAME = @HAVE_PTSNAME@ +HAVE_PWRITE = @HAVE_PWRITE@ +HAVE_RANDOM_H = @HAVE_RANDOM_H@ +HAVE_RANDOM_R = @HAVE_RANDOM_R@ +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ +HAVE_READLINK = @HAVE_READLINK@ +HAVE_READLINKAT = @HAVE_READLINKAT@ +HAVE_REALPATH = @HAVE_REALPATH@ +HAVE_RENAMEAT = @HAVE_RENAMEAT@ +HAVE_RPMATCH = @HAVE_RPMATCH@ +HAVE_SETENV = @HAVE_SETENV@ +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ +HAVE_SLEEP = @HAVE_SLEEP@ +HAVE_STDINT_H = @HAVE_STDINT_H@ +HAVE_STPCPY = @HAVE_STPCPY@ +HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STRCASECMP = @HAVE_STRCASECMP@ +HAVE_STRCASESTR = @HAVE_STRCASESTR@ +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ +HAVE_STRPBRK = @HAVE_STRPBRK@ +HAVE_STRSEP = @HAVE_STRSEP@ +HAVE_STRTOD = @HAVE_STRTOD@ +HAVE_STRTOLL = @HAVE_STRTOLL@ +HAVE_STRTOULL = @HAVE_STRTOULL@ +HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ +HAVE_SYMLINK = @HAVE_SYMLINK@ +HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ +HAVE_SYSEXITS_H = @HAVE_SYSEXITS_H@ +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ +HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ +HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ +HAVE_TTYNAME_R = @HAVE_TTYNAME_R@ +HAVE_UNISTD_H = @HAVE_UNISTD_H@ +HAVE_UNLINKAT = @HAVE_UNLINKAT@ +HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ +HAVE_UNSETENV = @HAVE_UNSETENV@ +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ +HAVE_USLEEP = @HAVE_USLEEP@ +HAVE_VASPRINTF = @HAVE_VASPRINTF@ +HAVE_VDPRINTF = @HAVE_VDPRINTF@ +HAVE_WCHAR_H = @HAVE_WCHAR_H@ +HAVE_WCHAR_T = @HAVE_WCHAR_T@ +HAVE_WCRTOMB = @HAVE_WCRTOMB@ +HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ +HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ +HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ +HAVE_WINT_T = @HAVE_WINT_T@ +HAVE__BOOL = @HAVE__BOOL@ +HAVE__EXIT = @HAVE__EXIT@ +HELP2MAN = @HELP2MAN@ +HOST_CC = @HOST_CC@ +HOST_CCASFLAGS = @HOST_CCASFLAGS@ +HOST_CFLAGS = @HOST_CFLAGS@ +HOST_CPPFLAGS = @HOST_CPPFLAGS@ +HOST_LDFLAGS = @HOST_LDFLAGS@ +INCLUDE_NEXT = @INCLUDE_NEXT@ +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBCURSES = @LIBCURSES@ +LIBDEVMAPPER = @LIBDEVMAPPER@ +LIBGEOM = @LIBGEOM@ +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@ +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBLZMA = @LIBLZMA@ +LIBNVPAIR = @LIBNVPAIR@ +LIBOBJS = @LIBOBJS@ +LIBPCIACCESS = @LIBPCIACCESS@ +LIBS = @LIBS@ +LIBSDL = @LIBSDL@ +LIBUSB = @LIBUSB@ +LIBUTIL = @LIBUTIL@ +LIBZFS = @LIBZFS@ +LN_S = @LN_S@ +LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ +LOCALE_FR = @LOCALE_FR@ +LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ +LOCALE_JA = @LOCALE_JA@ +LOCALE_ZH_CN = @LOCALE_ZH_CN@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NEED_ENABLE_EXECUTE_STACK = @NEED_ENABLE_EXECUTE_STACK@ +NEED_REGISTER_FRAME_INFO = @NEED_REGISTER_FRAME_INFO@ +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ +NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H = @NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H@ +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H@ +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ +NEXT_ERRNO_H = @NEXT_ERRNO_H@ +NEXT_FLOAT_H = @NEXT_FLOAT_H@ +NEXT_GETOPT_H = @NEXT_GETOPT_H@ +NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ +NEXT_STDDEF_H = @NEXT_STDDEF_H@ +NEXT_STDINT_H = @NEXT_STDINT_H@ +NEXT_STDIO_H = @NEXT_STDIO_H@ +NEXT_STDLIB_H = @NEXT_STDLIB_H@ +NEXT_STRINGS_H = @NEXT_STRINGS_H@ +NEXT_STRING_H = @NEXT_STRING_H@ +NEXT_SYSEXITS_H = @NEXT_SYSEXITS_H@ +NEXT_SYS_WAIT_H = @NEXT_SYS_WAIT_H@ +NEXT_UNISTD_H = @NEXT_UNISTD_H@ +NEXT_WCHAR_H = @NEXT_WCHAR_H@ +NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ +NM = @NM@ +OBJCONV = @OBJCONV@ +OBJCOPY = @OBJCOPY@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ +RANLIB = @RANLIB@ +REPLACE_BTOWC = @REPLACE_BTOWC@ +REPLACE_CALLOC = @REPLACE_CALLOC@ +REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ +REPLACE_CHOWN = @REPLACE_CHOWN@ +REPLACE_CLOSE = @REPLACE_CLOSE@ +REPLACE_DPRINTF = @REPLACE_DPRINTF@ +REPLACE_DUP = @REPLACE_DUP@ +REPLACE_DUP2 = @REPLACE_DUP2@ +REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ +REPLACE_FCLOSE = @REPLACE_FCLOSE@ +REPLACE_FFLUSH = @REPLACE_FFLUSH@ +REPLACE_FOPEN = @REPLACE_FOPEN@ +REPLACE_FPRINTF = @REPLACE_FPRINTF@ +REPLACE_FPURGE = @REPLACE_FPURGE@ +REPLACE_FREOPEN = @REPLACE_FREOPEN@ +REPLACE_FSEEK = @REPLACE_FSEEK@ +REPLACE_FSEEKO = @REPLACE_FSEEKO@ +REPLACE_FTELL = @REPLACE_FTELL@ +REPLACE_FTELLO = @REPLACE_FTELLO@ +REPLACE_GETCWD = @REPLACE_GETCWD@ +REPLACE_GETDELIM = @REPLACE_GETDELIM@ +REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ +REPLACE_GETLINE = @REPLACE_GETLINE@ +REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ +REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ +REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ +REPLACE_LCHOWN = @REPLACE_LCHOWN@ +REPLACE_LINK = @REPLACE_LINK@ +REPLACE_LINKAT = @REPLACE_LINKAT@ +REPLACE_LSEEK = @REPLACE_LSEEK@ +REPLACE_MALLOC = @REPLACE_MALLOC@ +REPLACE_MBRLEN = @REPLACE_MBRLEN@ +REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ +REPLACE_MBSINIT = @REPLACE_MBSINIT@ +REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ +REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ +REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ +REPLACE_MEMCHR = @REPLACE_MEMCHR@ +REPLACE_MEMMEM = @REPLACE_MEMMEM@ +REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ +REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ +REPLACE_NULL = @REPLACE_NULL@ +REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ +REPLACE_PERROR = @REPLACE_PERROR@ +REPLACE_POPEN = @REPLACE_POPEN@ +REPLACE_PREAD = @REPLACE_PREAD@ +REPLACE_PRINTF = @REPLACE_PRINTF@ +REPLACE_PUTENV = @REPLACE_PUTENV@ +REPLACE_PWRITE = @REPLACE_PWRITE@ +REPLACE_READLINK = @REPLACE_READLINK@ +REPLACE_REALLOC = @REPLACE_REALLOC@ +REPLACE_REALPATH = @REPLACE_REALPATH@ +REPLACE_REMOVE = @REPLACE_REMOVE@ +REPLACE_RENAME = @REPLACE_RENAME@ +REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ +REPLACE_RMDIR = @REPLACE_RMDIR@ +REPLACE_SETENV = @REPLACE_SETENV@ +REPLACE_SLEEP = @REPLACE_SLEEP@ +REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ +REPLACE_SPRINTF = @REPLACE_SPRINTF@ +REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ +REPLACE_STPNCPY = @REPLACE_STPNCPY@ +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ +REPLACE_STRDUP = @REPLACE_STRDUP@ +REPLACE_STRERROR = @REPLACE_STRERROR@ +REPLACE_STRNCAT = @REPLACE_STRNCAT@ +REPLACE_STRNDUP = @REPLACE_STRNDUP@ +REPLACE_STRNLEN = @REPLACE_STRNLEN@ +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ +REPLACE_STRSTR = @REPLACE_STRSTR@ +REPLACE_STRTOD = @REPLACE_STRTOD@ +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ +REPLACE_SYMLINK = @REPLACE_SYMLINK@ +REPLACE_TMPFILE = @REPLACE_TMPFILE@ +REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ +REPLACE_UNLINK = @REPLACE_UNLINK@ +REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ +REPLACE_UNSETENV = @REPLACE_UNSETENV@ +REPLACE_USLEEP = @REPLACE_USLEEP@ +REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ +REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ +REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ +REPLACE_VPRINTF = @REPLACE_VPRINTF@ +REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ +REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ +REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ +REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ +REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ +REPLACE_WCTOB = @REPLACE_WCTOB@ +REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ +REPLACE_WRITE = @REPLACE_WRITE@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ +STDBOOL_H = @STDBOOL_H@ +STDDEF_H = @STDDEF_H@ +STDINT_H = @STDINT_H@ +STRIP = @STRIP@ +SYSEXITS_H = @SYSEXITS_H@ +TARGET_APPLE_CC = @TARGET_APPLE_CC@ +TARGET_CC = @TARGET_CC@ +TARGET_CCAS = @TARGET_CCAS@ +TARGET_CCASFLAGS = @TARGET_CCASFLAGS@ +TARGET_CFLAGS = @TARGET_CFLAGS@ +TARGET_CPP = @TARGET_CPP@ +TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ +TARGET_IMG_BASE_LDOPT = @TARGET_IMG_BASE_LDOPT@ +TARGET_IMG_CFLAGS = @TARGET_IMG_CFLAGS@ +TARGET_IMG_LDFLAGS = @TARGET_IMG_LDFLAGS@ +TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@ +TARGET_LDFLAGS = @TARGET_LDFLAGS@ +TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@ +TARGET_OBJ2ELF = @TARGET_OBJ2ELF@ +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ +UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ +USE_APPLE_CC_FIXES = @USE_APPLE_CC_FIXES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ +WINT_T_SUFFIX = @WINT_T_SUFFIX@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_TARGET_CC = @ac_ct_TARGET_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +bootdirname = @bootdirname@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_efiemu = @enable_efiemu@ +enable_grub_emu_pci = @enable_grub_emu_pci@ +enable_grub_emu_sdl = @enable_grub_emu_sdl@ +enable_grub_emu_usb = @enable_grub_emu_usb@ +enable_grub_mkfont = @enable_grub_mkfont@ +exec_prefix = @exec_prefix@ +freetype_cflags = @freetype_cflags@ +freetype_libs = @freetype_libs@ +gl_LIBOBJS = @gl_LIBOBJS@ +gl_LTLIBOBJS = @gl_LTLIBOBJS@ +gltests_LIBOBJS = @gltests_LIBOBJS@ +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ +gltests_WITNESS = @gltests_WITNESS@ +grubdirname = @grubdirname@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_kernel = @host_kernel@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkglibrootdir = @pkglibrootdir@ +platform = @platform@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AUTOMAKE_OPTIONS = subdir-objects + +# AM_MAKEINFOFLAGS = --no-split --no-validate +info_TEXINFOS = grub.texi grub-dev.texi +grub_TEXINFOS = fdl.texi +all: all-am + +.SUFFIXES: +.SUFFIXES: .dvi .html .info .pdf .ps .texi +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu docs/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +.texi.info: + restore=: && backupdir="$(am__leading_dot)am$$$$" && \ + am__cwd=`pwd` && $(am__cd) $(srcdir) && \ + rm -rf $$backupdir && mkdir $$backupdir && \ + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ + done; \ + else :; fi && \ + cd "$$am__cwd"; \ + if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $@ $<; \ + then \ + rc=0; \ + $(am__cd) $(srcdir); \ + else \ + rc=$$?; \ + $(am__cd) $(srcdir) && \ + $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ + fi; \ + rm -rf $$backupdir; exit $$rc + +.texi.dvi: + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ + $(TEXI2DVI) $< + +.texi.pdf: + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ + $(TEXI2PDF) $< + +.texi.html: + rm -rf $(@:.html=.htp) + if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $(@:.html=.htp) $<; \ + then \ + rm -rf $@; \ + if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \ + mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \ + else \ + if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \ + rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \ + exit 1; \ + fi +$(srcdir)/grub.info: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS) +grub.dvi: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS) +grub.pdf: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS) +grub.html: grub.texi $(srcdir)/version.texi $(grub_TEXINFOS) +$(srcdir)/version.texi: $(srcdir)/stamp-vti +$(srcdir)/stamp-vti: grub.texi $(top_srcdir)/configure + @(dir=.; test -f ./grub.texi || dir=$(srcdir); \ + set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/grub.texi`; \ + echo "@set UPDATED $$1 $$2 $$3"; \ + echo "@set UPDATED-MONTH $$2 $$3"; \ + echo "@set EDITION $(VERSION)"; \ + echo "@set VERSION $(VERSION)") > vti.tmp + @cmp -s vti.tmp $(srcdir)/version.texi \ + || (echo "Updating $(srcdir)/version.texi"; \ + cp vti.tmp $(srcdir)/version.texi) + -@rm -f vti.tmp + @cp $(srcdir)/version.texi $@ + +mostlyclean-vti: + -rm -f vti.tmp + +maintainer-clean-vti: + -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi +$(srcdir)/grub-dev.info: grub-dev.texi $(srcdir)/version-dev.texi +grub-dev.dvi: grub-dev.texi $(srcdir)/version-dev.texi +grub-dev.pdf: grub-dev.texi $(srcdir)/version-dev.texi +grub-dev.html: grub-dev.texi $(srcdir)/version-dev.texi +$(srcdir)/version-dev.texi: $(srcdir)/stamp-1 +$(srcdir)/stamp-1: grub-dev.texi $(top_srcdir)/configure + @(dir=.; test -f ./grub-dev.texi || dir=$(srcdir); \ + set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/grub-dev.texi`; \ + echo "@set UPDATED $$1 $$2 $$3"; \ + echo "@set UPDATED-MONTH $$2 $$3"; \ + echo "@set EDITION $(VERSION)"; \ + echo "@set VERSION $(VERSION)") > 1.tmp + @cmp -s 1.tmp $(srcdir)/version-dev.texi \ + || (echo "Updating $(srcdir)/version-dev.texi"; \ + cp 1.tmp $(srcdir)/version-dev.texi) + -@rm -f 1.tmp + @cp $(srcdir)/version-dev.texi $@ + +mostlyclean-1: + -rm -f 1.tmp + +maintainer-clean-1: + -rm -f $(srcdir)/stamp-1 $(srcdir)/version-dev.texi +.dvi.ps: + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + $(DVIPS) -o $@ $< + +uninstall-dvi-am: + @$(NORMAL_UNINSTALL) + @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \ + rm -f "$(DESTDIR)$(dvidir)/$$f"; \ + done + +uninstall-html-am: + @$(NORMAL_UNINSTALL) + @list='$(HTMLS)'; test -n "$(htmldir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \ + rm -rf "$(DESTDIR)$(htmldir)/$$f"; \ + done + +uninstall-info-am: + @$(PRE_UNINSTALL) + @if test -d '$(DESTDIR)$(infodir)' && \ + (install-info --version && \ + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \ + if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \ + then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \ + done; \ + else :; fi + @$(NORMAL_UNINSTALL) + @list='$(INFO_DEPS)'; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ + (if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \ + echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \ + rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ + else :; fi); \ + done + +uninstall-pdf-am: + @$(NORMAL_UNINSTALL) + @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pdfdir)/$$f"; \ + done + +uninstall-ps-am: + @$(NORMAL_UNINSTALL) + @list='$(PSS)'; test -n "$(psdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \ + rm -f "$(DESTDIR)$(psdir)/$$f"; \ + done + +dist-info: $(INFO_DEPS) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; \ + for base in $$list; do \ + case $$base in \ + $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \ + esac; \ + if test -f $$base; then d=.; else d=$(srcdir); fi; \ + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \ + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \ + if test -f $$file; then \ + relfile=`expr "$$file" : "$$d/\(.*\)"`; \ + test -f "$(distdir)/$$relfile" || \ + cp -p $$file "$(distdir)/$$relfile"; \ + else :; fi; \ + done; \ + done + +mostlyclean-aminfo: + -rm -rf grub.aux grub.cp grub.cps grub.fn grub.ky grub.log grub.pg grub.tmp \ + grub.toc grub.tp grub.vr grub-dev.aux grub-dev.cp \ + grub-dev.cps grub-dev.fn grub-dev.ky grub-dev.log \ + grub-dev.pg grub-dev.tmp grub-dev.toc grub-dev.tp \ + grub-dev.vr + +clean-aminfo: + -test -z "grub.dvi grub.pdf grub.ps grub.html grub-dev.dvi grub-dev.pdf \ + grub-dev.ps grub-dev.html" \ + || rm -rf grub.dvi grub.pdf grub.ps grub.html grub-dev.dvi grub-dev.pdf \ + grub-dev.ps grub-dev.html + +maintainer-clean-aminfo: + @list='$(INFO_DEPS)'; for i in $$list; do \ + i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \ + echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \ + rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ + done +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-info +check-am: all-am +check: check-am +all-am: Makefile $(INFO_DEPS) +installdirs: + for dir in "$(DESTDIR)$(infodir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-aminfo clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: $(DVIS) + +html: html-am + +html-am: $(HTMLS) + +info: info-am + +info-am: $(INFO_DEPS) + +install-data-am: install-info-am + +install-dvi: install-dvi-am + +install-dvi-am: $(DVIS) + @$(NORMAL_INSTALL) + test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)" + @list='$(DVIS)'; test -n "$(dvidir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \ + done +install-exec-am: + +install-html: install-html-am + +install-html-am: $(HTMLS) + @$(NORMAL_INSTALL) + test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)" + @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \ + for p in $$list; do \ + if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \ + $(am__strip_dir) \ + if test -d "$$d$$p"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \ + $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ + echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ + $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ + else \ + list2="$$list2 $$d$$p"; \ + fi; \ + done; \ + test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \ + done; } +install-info: install-info-am + +install-info-am: $(INFO_DEPS) + @$(NORMAL_INSTALL) + test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ + for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + esac; \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ + for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ + $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ + if test -f $$ifile; then \ + echo "$$ifile"; \ + else : ; fi; \ + done; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done + @$(POST_INSTALL) + @if (install-info --version && \ + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ + list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\ + install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ + done; \ + else : ; fi +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: $(PDFS) + @$(NORMAL_INSTALL) + test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)" + @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done +install-ps: install-ps-am + +install-ps-am: $(PSS) + @$(NORMAL_INSTALL) + test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)" + @list='$(PSS)'; test -n "$(psdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-1 \ + maintainer-clean-aminfo maintainer-clean-generic \ + maintainer-clean-vti + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-1 mostlyclean-aminfo mostlyclean-generic \ + mostlyclean-vti + +pdf: pdf-am + +pdf-am: $(PDFS) + +ps: ps-am + +ps-am: $(PSS) + +uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \ + uninstall-pdf-am uninstall-ps-am + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-aminfo clean-generic \ + dist-info distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-1 maintainer-clean-aminfo \ + maintainer-clean-generic maintainer-clean-vti mostlyclean \ + mostlyclean-1 mostlyclean-aminfo mostlyclean-generic \ + mostlyclean-vti pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-dvi-am uninstall-html-am uninstall-info-am \ + uninstall-pdf-am uninstall-ps-am + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/docs/fdl.texi b/docs/fdl.texi new file mode 100644 index 0000000..fe78df8 --- /dev/null +++ b/docs/fdl.texi @@ -0,0 +1,452 @@ + +@node GNU Free Documentation License +@appendixsec GNU Free Documentation License + +@cindex FDL, GNU Free Documentation License +@center Version 1.2, November 2002 + +@display +Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. +@end display + +@enumerate 0 +@item +PREAMBLE + +The purpose of this License is to make a manual, textbook, or other +functional and useful document @dfn{free} in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. + +This License is a kind of ``copyleft'', which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. + +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. + +@item +APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The ``Document'', below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as ``you''. You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. + +A ``Modified Version'' of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. + +A ``Secondary Section'' is a named appendix or a front-matter section +of the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall +subject (or to related matters) and contains nothing that could fall +directly within that overall subject. (Thus, if the Document is in +part a textbook of mathematics, a Secondary Section may not explain +any mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. + +The ``Invariant Sections'' are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. + +The ``Cover Texts'' are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. + +A ``Transparent'' copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not ``Transparent'' is called ``Opaque''. + +Examples of suitable formats for Transparent copies include plain +@sc{ascii} without markup, Texinfo input format, La@TeX{} input +format, @acronym{SGML} or @acronym{XML} using a publicly available +@acronym{DTD}, and standard-conforming simple @acronym{HTML}, +PostScript or @acronym{PDF} designed for human modification. Examples +of transparent image formats include @acronym{PNG}, @acronym{XCF} and +@acronym{JPG}. Opaque formats include proprietary formats that can be +read and edited only by proprietary word processors, @acronym{SGML} or +@acronym{XML} for which the @acronym{DTD} and/or processing tools are +not generally available, and the machine-generated @acronym{HTML}, +PostScript or @acronym{PDF} produced by some word processors for +output purposes only. + +The ``Title Page'' means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, ``Title Page'' means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. + +A section ``Entitled XYZ'' means a named subunit of the Document whose +title either is precisely XYZ or contains XYZ in parentheses following +text that translates XYZ in another language. (Here XYZ stands for a +specific section name mentioned below, such as ``Acknowledgements'', +``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title'' +of such a section when you modify the Document means that it remains a +section ``Entitled XYZ'' according to this definition. + +The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. + +@item +VERBATIM COPYING + +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. + +@item +COPYING IN QUANTITY + +If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. + +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. + +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. + +@item +MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: + +@enumerate A +@item +Use in the Title Page (and on the covers, if any) a title distinct +from that of the Document, and from those of previous versions +(which should, if there were any, be listed in the History section +of the Document). You may use the same title as a previous version +if the original publisher of that version gives permission. + +@item +List on the Title Page, as authors, one or more persons or entities +responsible for authorship of the modifications in the Modified +Version, together with at least five of the principal authors of the +Document (all of its principal authors, if it has fewer than five), +unless they release you from this requirement. + +@item +State on the Title page the name of the publisher of the +Modified Version, as the publisher. + +@item +Preserve all the copyright notices of the Document. + +@item +Add an appropriate copyright notice for your modifications +adjacent to the other copyright notices. + +@item +Include, immediately after the copyright notices, a license notice +giving the public permission to use the Modified Version under the +terms of this License, in the form shown in the Addendum below. + +@item +Preserve in that license notice the full lists of Invariant Sections +and required Cover Texts given in the Document's license notice. + +@item +Include an unaltered copy of this License. + +@item +Preserve the section Entitled ``History'', Preserve its Title, and add +to it an item stating at least the title, year, new authors, and +publisher of the Modified Version as given on the Title Page. If +there is no section Entitled ``History'' in the Document, create one +stating the title, year, authors, and publisher of the Document as +given on its Title Page, then add an item describing the Modified +Version as stated in the previous sentence. + +@item +Preserve the network location, if any, given in the Document for +public access to a Transparent copy of the Document, and likewise +the network locations given in the Document for previous versions +it was based on. These may be placed in the ``History'' section. +You may omit a network location for a work that was published at +least four years before the Document itself, or if the original +publisher of the version it refers to gives permission. + +@item +For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve +the Title of the section, and preserve in the section all the +substance and tone of each of the contributor acknowledgements and/or +dedications given therein. + +@item +Preserve all the Invariant Sections of the Document, +unaltered in their text and in their titles. Section numbers +or the equivalent are not considered part of the section titles. + +@item +Delete any section Entitled ``Endorsements''. Such a section +may not be included in the Modified Version. + +@item +Do not retitle any existing section to be Entitled ``Endorsements'' or +to conflict in title with any Invariant Section. + +@item +Preserve any Warranty Disclaimers. +@end enumerate + +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. + +You may add a section Entitled ``Endorsements'', provided it contains +nothing but endorsements of your Modified Version by various +parties---for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. + +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. + +@item +COMBINING DOCUMENTS + +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. + +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections Entitled ``History'' +in the various original documents, forming one section Entitled +``History''; likewise combine any sections Entitled ``Acknowledgements'', +and any sections Entitled ``Dedications''. You must delete all +sections Entitled ``Endorsements.'' + +@item +COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. + +@item +AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an ``aggregate'' if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included in an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. + +@item +TRANSLATION + +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warranty Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. + +If a section in the Document is Entitled ``Acknowledgements'', +``Dedications'', or ``History'', the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. + +@item +TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except +as expressly provided for under this License. Any other attempt to +copy, modify, sublicense or distribute the Document is void, and will +automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. + +@item +FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions +of the GNU Free Documentation License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. See +@uref{http://www.gnu.org/copyleft/}. + +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License ``or any later version'' applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. +@end enumerate + +@page +@appendixsubsec ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: + +@smallexample +@group + Copyright (C) @var{year} @var{your name}. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. +@end group +@end smallexample + +If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the ``with...Texts.'' line with this: + +@smallexample +@group + with the Invariant Sections being @var{list their titles}, with + the Front-Cover Texts being @var{list}, and with the Back-Cover Texts + being @var{list}. +@end group +@end smallexample + +If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. + +@c Local Variables: +@c ispell-local-pdict: "ispell-dict" +@c End: + diff --git a/docs/font_char_metrics.png b/docs/font_char_metrics.png new file mode 100644 index 0000000..8d10d1f Binary files /dev/null and b/docs/font_char_metrics.png differ diff --git a/docs/font_char_metrics.txt b/docs/font_char_metrics.txt new file mode 100644 index 0000000..92f1371 --- /dev/null +++ b/docs/font_char_metrics.txt @@ -0,0 +1 @@ +Please fill this in. diff --git a/docs/grub-dev.info b/docs/grub-dev.info new file mode 100644 index 0000000..0510b36 --- /dev/null +++ b/docs/grub-dev.info @@ -0,0 +1,2171 @@ +This is /home/phcoder/grub2/bzr/grub-1.99/docs/grub-dev.info, produced +by makeinfo version 4.13 from +/home/phcoder/grub2/bzr/grub-1.99/docs/grub-dev.texi. + +This developer manual is for GNU GRUB (version 1.99, 13 April 2011). + + Copyright (C) 1999,2000,2001,2002,2004,2005,2006,2008,2009,2010,2011 +Free Software Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.2 or any later version published by the Free Software + Foundation; with no Invariant Sections. + +INFO-DIR-SECTION Kernel +START-INFO-DIR-ENTRY +* grub-dev: (grub-dev). The GRand Unified Bootloader Dev +END-INFO-DIR-ENTRY + + +File: grub-dev.info, Node: Top, Next: Getting the source code, Up: (dir) + +GNU GRUB developer manual +************************* + +This is the developer documentation of GNU GRUB, the GRand Unified +Bootloader, a flexible and powerful boot loader program for a wide +range of architectures. + + This edition documents version 1.99. + + This developer manual is for GNU GRUB (version 1.99, 13 April 2011). + + Copyright (C) 1999,2000,2001,2002,2004,2005,2006,2008,2009,2010,2011 +Free Software Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.2 or any later version published by the Free Software + Foundation; with no Invariant Sections. + +* Menu: + +* Getting the source code:: +* Finding your way around:: +* Coding style:: +* Contributing Changes:: +* Error Handling:: +* CIA:: +* BIOS port memory map:: +* Video Subsystem:: +* PFF2 Font File Format:: +* Graphical Menu Software Design:: +* Copying This Manual:: Copying This Manual +* Index:: + + +File: grub-dev.info, Node: Getting the source code, Next: Finding your way around, Prev: Top, Up: Top + +1 Getting the source code +************************* + +GRUB is maintained using the Bazaar revision control system +(http://bazaar-vcs.org/). To fetch the primary development branch: + + bzr get http://bzr.savannah.gnu.org/r/grub/trunk/grub + + The GRUB developers maintain several other branches with work in +progress. Of these, the most interesting is the experimental branch, +which is a staging area for new code which we expect to eventually +merge into trunk but which is not yet ready: + + bzr get http://bzr.savannah.gnu.org/r/grub/branches/experimental + + Once you have used `bzr get' to fetch an initial copy of a branch, +you can use `bzr pull' to keep it up to date. If you have modified your +local version, you may need to resolve conflicts when pulling. + + +File: grub-dev.info, Node: Coding style, Next: Contributing Changes, Prev: Finding your way around, Up: Top + +2 Coding style +************** + +Basically we follow the GNU Coding Standards +(http://www.gnu.org/prep/standards_toc.html). We define additional +conventions for GRUB here. + +* Menu: + +* Naming Conventions:: +* Functions:: +* Variables:: +* Types:: +* Macros:: +* Comments:: +* Multi-Line Comments:: + + +File: grub-dev.info, Node: Naming Conventions, Next: Functions, Up: Coding style + +2.1 Naming Conventions +====================== + +All global symbols (i.e. functions, variables, types, and macros) must +have the prefix grub_ or GRUB_. The all capital form is used only by +macros. + + +File: grub-dev.info, Node: Functions, Next: Variables, Prev: Naming Conventions, Up: Coding style + +2.2 Functions +============= + +If a function is global, its name must be prefixed with grub_ and must +consist of only small letters. If the function belongs to a specific +function module, the name must also be prefixed with the module name. +For example, if a function is for file systems, its name is prefixed +with grub_fs_. If a function is for FAT file system but not for all +file systems, its name is prefixed with grub_fs_fat_. The hierarchy is +noted this way. + + After a prefix, a function name must start with a verb (such as get +or is). It must not be a noun. Some kind of abbreviation is permitted, +as long as it wouldn't make code less readable (e.g. init). + + If a function is local, its name may not start with any prefix. It +must start with a verb. + + +File: grub-dev.info, Node: Variables, Next: Types, Prev: Functions, Up: Coding style + +2.3 Variables +============= + +The rule is mostly the same as functions, as noted above. If a variable +is global, its name must be prefixed with grub_ and must consist of +only small letters. If the variable belongs to a specific function +module, the name must also be prefixed with the module name. For +example, if a function is for dynamic loading, its name is prefixed +with grub_dl_. If a variable is for ELF but not for all dynamic loading +systems, its name is prefixed with grub_dl_elf_. + + After a prefix, a variable name must start with a noun or an +adjective (such as name or long) and it should end with a noun. Some +kind of abbreviation is permitted, as long as it wouldn't make code +less readable (e.g. i18n). + + If a variable is global in the scope of a single file (i.e. it is +declared with static), its name may not start with any prefix. It must +start with a noun or an adjective. + + If a variable is local, you may choose any shorter name, as long as +it wouldn't make code less readable (e.g. i). + + +File: grub-dev.info, Node: Types, Next: Macros, Prev: Variables, Up: Coding style + +2.4 Types +========= + +The name of a type must be prefixed with grub_ and must consist of only +small letters. If the type belongs to a specific function module, the +name must also be prefixed with the module name. For example, if a type +is for OS loaders, its name is prefixed with grub_loader_. If a type is +for Multiboot but not for all OS loaders, its name is prefixed with +grub_loader_linux_. + + The name must be suffixed with _t, to emphasize the fact that it is +a type but not a variable or a function. + + +File: grub-dev.info, Node: Macros, Next: Comments, Prev: Types, Up: Coding style + +2.5 Macros +========== + +If a macro is global, its name must be prefixed with GRUB_ and must +consist of only large letters. Other rules are the same as functions or +variables, depending on whether a macro is used like a function or a +variable. + + +File: grub-dev.info, Node: Comments, Next: Multi-Line Comments, Prev: Macros, Up: Coding style + +2.6 Comments +============ + +All comments shall be C-style comments, of the form `/* ... */'. + + Comments shall be placed only on a line by themselves. They shall +not be placed together with code, variable declarations, or other +non-comment entities. A comment should be placed immediately preceding +the entity it describes. + + Acceptable: + /* The page # that is the front buffer. */ + int displayed_page; + /* The page # that is the back buffer. */ + int render_page; + + Unacceptable: + int displayed_page; /* The page # that is the front buffer. */ + int render_page; /* The page # that is the back buffer. */ + + +File: grub-dev.info, Node: Multi-Line Comments, Prev: Comments, Up: Coding style + +2.7 Multi-Line Comments +======================= + +Comments spanning multiple lines shall be formatted with all lines +after the first aligned with the first line. + + Asterisk characters should not be repeated a the start of each +subsequent line. + + Acceptable: + /* This is a comment + which spans multiple lines. + It is long. */ + + Unacceptable: + /* + * This is a comment + * which spans multiple lines. + * It is long. */ + + The opening `/*' and closing `*/' should be placed together on a +line with text. + + +File: grub-dev.info, Node: Finding your way around, Next: Coding style, Prev: Getting the source code, Up: Top + +3 Finding your way around +************************* + +Here is a brief map of the GRUB code base. + + GRUB uses Autoconf and Automake, with most of the Automake input +generated by AutoGen. The top-level build rules are in `configure.ac', +`grub-core/Makefile.core.def', and `Makefile.util.def'. Each block in +a `*.def' file represents a build target, and specifies the source +files used to build it on various platforms. The `*.def' files are +processed into AutoGen input by `gentpl.py' (which you only need to +look at if you are extending the build system). If you are adding a new +module which follows an existing pattern, such as a new command or a new +filesystem implementation, it is usually easiest to grep +`grub-core/Makefile.core.def' and `Makefile.util.def' for an existing +example of that pattern to find out where it should be added. + + In general, code that may be run at boot time is in a subdirectory of +`grub-core', while code that is only run from within a full operating +system is in a subdirectory of the top level. + + Low-level boot code, such as the MBR implementation on PC BIOS +systems, is in the `grub-core/boot/' directory. + + The GRUB kernel is in `grub-core/kern/'. This contains core +facilities such as the device, disk, and file frameworks, environment +variable handling, list processing, and so on. The kernel should +contain enough to get up to a rescue prompt. Header files for kernel +facilities, among others, are in `include/'. + + Terminal implementations are in `grub-core/term/'. + + Disk access code is spread across `grub-core/disk/' (for accessing +the disk devices themselves), `grub-core/partmap/' (for interpreting +partition table data), and `grub-core/fs/' (for accessing filesystems). +Note that, with the odd specialised exception, GRUB only contains code +to _read_ from filesystems and tries to avoid containing any code to +_write_ to filesystems; this lets us confidently assure users that GRUB +cannot be responsible for filesystem corruption. + + PCI and USB bus handling is in `grub-core/bus/'. + + Video handling code is in `grub-core/video/'. The graphical menu +system uses this heavily, but is in a separate directory, +`grub-core/gfxmenu/'. + + Most commands are implemented by files in `grub-core/commands/', with +the following exceptions: + + * A few core commands live in `grub-core/kern/corecmd.c'. + + * Commands related to normal mode live under `grub-core/normal/'. + + * Commands that load and boot kernels live under `grub-core/loader/'. + + * The `loopback' command is really a disk device, and so lives in + `grub-core/disk/loopback.c'. + + * The `gettext' command lives under `grub-core/gettext/'. + + * The `loadfont' and `lsfonts' commands live under `grub-core/font/'. + + * The `serial', `terminfo', and `background_image' commands live + under `grub-core/term/'. + + * The `efiemu_*' commands live under `grub-core/efiemu/'. + + There are a few other special-purpose exceptions; grep for them if +they matter to you. + + Utility programs meant to be run from a full operating system are in +`util/'. + + +File: grub-dev.info, Node: Contributing Changes, Next: Error Handling, Prev: Coding style, Up: Top + +4 Contributing changes +********************** + +Contributing changes to GRUB 2 is welcomed activity. However we have a +bit of control what kind of changes will be accepted to GRUB 2. +Therefore it is important to discuss your changes on grub-devel mailing +list (see MailingLists). On this page there are some basic details on +the development process and activities. + + First of all you should come up with the idea yourself what you want +to contribute. If you do not have that beforehand you are advised to +study this manual and try GRUB 2 out to see what you think is missing +from there. + + Here are additional pointers: + * `https://savannah.gnu.org/task/?group=grub GRUB's Task Tracker' + + * `https://savannah.gnu.org/bugs/?group=grub GRUB's Bug Tracker' + + If you intended to make changes to GRUB Legacy (<=0.97) those are +not accepted anymore. + +* Menu: + +* Getting started:: +* Typical Developer Experience:: +* When you are approved for write access to project's files:: + + +File: grub-dev.info, Node: Getting started, Next: Typical Developer Experience, Up: Contributing Changes + +4.1 Getting started +=================== + + * Always use latest GRUB 2 source code. So get that first. + + For developers it is recommended always to use the newest + development version of GRUB 2. If development takes a long period + of time, please remember to keep in sync with newest developments + regularly so it is much easier to integrate your change in the + future. GRUB 2 is being developed in a Bazaar (bzr) repository. + + Please check Savannah's GRUB project page for details how to get + newest bzr: GRUB 2 bzr Repository + (http://savannah.gnu.org/bzr/?group=grub) + + * Compile it and try it out. + + It is always good idea to first see that things work somehow and + after that to start to implement new features or develop fixes to + bugs. + + * Study the code. + + There are sometimes odd ways to do things in GRUB 2 code base. + This is mainly related to limited environment where GRUB 2 is + being executed. You usually do not need to understand it all so + it is better to only try to look at places that relates to your + work. Please do not hesitate to ask for help if there is something + that you do not understand. + + * Develop a new feature. + + Now that you know what to do and how it should work in GRUB 2 code + base, please be free to develop it. If you have not so far + announced your idea on grub-devel mailing list, please do it now. + This is to make sure you are not wasting your time working on the + solution that will not be integrated to GRUB 2 code base. + + You might want to study our coding style before starting + development so you do not need to change much of the code when + your patch is being reviewed. (see *note Coding style::) + + For every accepted patch there has to exist a ChangeLog entry. Our + ChangeLog consist of changes within source code and are not + describing about what the change logically does. Please see + examples from previous entries. + + Also remember that GRUB 2 is licensed under GPLv3 license and that + usually means that you are not allowed to copy pieces of code from + other projects. Even if the source project's license would be + compatible with GPLv3, please discuss it beforehand on grub-devel + mailing list. + + * Test your change. + + Test that your change works properly. Try it out a couple of + times, preferably on different systems, and try to find problems + with it. + + * Publish your change. + + When you are happy with your change, first make sure it is + compilable with latest development version of GRUB 2. After that + please send a patch to grub-devel for review. Please describe in + your email why you made the change, what it changes and so on. + Please be prepared to receive even discouraging comments about + your patch. There is usually at least something that needs to be + improved in every patch. + + Please use unified diff to make your patch (good match of + arguments for diff is `-pruN'). + + * Respond to received feedback. + + If you are asked to modify your patch, please do that and resubmit + it for review. If your change is large you are required to submit + a copyright agreement to FSF. Please keep in mind that if you are + asked to submit for copyright agreement, process can take some + time and is mandatory in order to get your changes integrated. + + If you are not on grub-devel to respond to questions, most likely + your patch will not be accepted. Also if problems arise from your + changes later on, it would be preferable that you also fix the + problem. So stay around for a while. + + * Your patch is accepted. + + Good job! Your patch will now be integrated into GRUB 2 mainline, + and if it didn't break anything it will be publicly available in + the next release. + + Now you are welcome to do further improvements :) + + +File: grub-dev.info, Node: Typical Developer Experience, Next: When you are approved for write access to project's files, Prev: Getting started, Up: Contributing Changes + +4.2 Typical Developer Experience +================================ + +The typical experience for a developer in this project is the following: + + 1. You find yourself wanting to do something (e.g. fixing a bug). + + 2. You show some result in the mailing list or the IRC. + + 3. You are getting to be known to other developers. + + 4. You accumulate significant amount of contribution, so copyright + assignment is processed. + + 5. You are free to check in your changes on your own, legally + speaking. + + At this point, it is rather annoying that you ought to ask somebody +else every change to be checked in. For efficiency, it is far better, +if you can commit it yourself. Therefore, our policy is to give you the +write permission to our official repository, once you have shown your +skill and will, and the FSF clerks have dealt with your copyright +assignment. + + +File: grub-dev.info, Node: When you are approved for write access to project's files, Prev: Typical Developer Experience, Up: Contributing Changes + +4.3 When you are approved for write access to project's files +============================================================= + +As you might know, GRUB is hosted on +`https://savannah.gnu.org/projects/grub Savannah', thus the membership +is managed by Savannah. This means that, if you want to be a member of +this project: + + 1. You need to create your own account on Savannah. + + 2. You can submit "Request for Inclusion" from "My Groups" on + Savannah. + + Then, one of the admins can approve your request, and you will be a +member. If you don't want to use the Savannah interface to submit a +request, you can simply notify the admins by email or something else, +alternatively. But you still need to create an account beforehand. + + NOTE: we sometimes receive a "Request for Inclusion" from an unknown +person. In this case, the request would be just discarded, since it is +too dangerous to allow a stranger to be a member, which automatically +gives him a commit right to the repository, both for a legal reason and +for a technical reason. + + If your intention is to just get started, please do not submit a +inclusion request. Instead, please subscribe to the mailing list, and +communicate first (e.g. sending a patch, asking a question, commenting +on another message...). + + +File: grub-dev.info, Node: Error Handling, Next: CIA, Prev: Contributing Changes, Up: Top + +5 Error Handling +**************** + +Error handling in GRUB 2 is based on exception handling model. As C +language doesn't directly support exceptions, exception handling +behavior is emulated in software. + + When exception is raised, function must return to calling function. +If calling function does not provide handling of the exception it must +return back to its calling function and so on, until exception is +handled. If exception is not handled before prompt is displayed, error +message will be shown to user. + + Exception information is stored on `grub_errno' global variable. If +`grub_errno' variable contains value `GRUB_ERR_NONE', there is no active +exception and application can continue normal processing. When +`grub_errno' has other value, it is required that application code +either handles this error or returns instantly to caller. If function +is with return type `grub_err_t' is about to return `GRUB_ERR_NONE', it +should not set `grub_errno' to that value. Only set `grub_errno' in +cases where there is error situation. + + Simple exception forwarder. + grub_err_t + forwarding_example (void) + { + /* Call function that might cause exception. */ + foobar (); + + /* No special exception handler, just forward possible exceptions. */ + if (grub_errno != GRUB_ERR_NONE) + { + return grub_errno; + } + + /* All is OK, do more processing. */ + + /* Return OK signal, to caller. */ + return GRUB_ERR_NONE; + } + + Error reporting has two components, the actual error code (of type +`grub_err_t') and textual message that will be displayed to user. List +of valid error codes is listed in header file `include/grub/err.h'. +Textual error message can contain any textual data. At time of writing, +error message can contain up to 256 characters (including terminating +NUL). To ease error reporting there is a helper function `grub_error' +that allows easier formatting of error messages and should be used +instead of writing directly to global variables. + + Example of error reporting. + grub_err_t + failing_example () + { + return grub_error (GRUB_ERR_FILE_NOT_FOUND, + "Failed to read %s, tried %d times.", + "test.txt", + 10); + } + + If there is a special reason that error code does not need to be +taken account, `grub_errno' can be zeroed back to `GRUB_ERR_NONE'. In +cases like this all previous error codes should have been handled +correctly. This makes sure that there are no unhandled exceptions. + + Example of zeroing `grub_errno'. + grub_err_t + probe_example () + { + /* Try to probe device type 1. */ + probe_for_device (); + if (grub_errno == GRUB_ERR_NONE) + { + /* Device type 1 was found on system. */ + register_device (); + return GRUB_ERR_NONE; + } + /* Zero out error code. */ + grub_errno = GRUB_ERR_NONE; + + /* No device type 1 found, try to probe device type 2. */ + probe_for_device2 (); + if (grub_errno == GRUB_ERR_NONE) + { + /* Device type 2 was found on system. */ + register_device2 (); + return GRUB_ERR_NONE; + } + /* Zero out error code. */ + grub_errno = GRUB_ERR_NONE; + + /* Return custom error message. */ + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "No device type 1 or 2 found."); + } + + Some times there is a need to continue processing even if there is a +error state in application. In situations like this, there is a needed +to save old error state and then call other functions that might fail. +To aid in this, there is a error stack implemented. Error state can be +pushed to error stack by calling function `grub_error_push ()'. When +processing has been completed, `grub_error_pop ()' can be used to pop +error state from stack. Error stack contains predefined amount of error +stack items. Error stack is protected for overflow and marks these +situations so overflow error does not get unseen. If there is no space +available to store error message, it is simply discarded and overflow +will be marked as happened. When overflow happens, it most likely will +corrupt error stack consistency as for pushed error there is no matching +pop, but overflow message will be shown to inform user about the +situation. Overflow message will be shown at time when prompt is about +to be drawn. + + Example usage of error stack. + /* Save possible old error message. */ + grub_error_push (); + + /* Do your stuff here. */ + call_possibly_failing_function (); + + if (grub_errno != GRUB_ERR_NONE) + { + /* Inform rest of the code that there is error (grub_errno + is set). There is no pop here as we want both error states + to be displayed. */ + return; + } + + /* Restore old error state by popping previous item from stack. */ + grub_error_pop (); + + +File: grub-dev.info, Node: CIA, Next: BIOS port memory map, Prev: Error Handling, Up: Top + +6 CIA +***** + +If you have commit access, please setup CIA in your Bazaar config so +those in IRC receive notification of your commits. + + In `~/.bazaar/bazaar.conf', add "cia_send_revno = true". +Optionally, you can also add "cia_user = myusername" if you'd like CIA +service to use a specific account (for statistical purpose). + + In the `.bzr/branch/branch.conf' of your checkout branch, "set +nickname = /path_to_this_branch" and "cia_project = GNU GRUB". + + Additionally, please set cia_send_revno in the [DEFAULT] section of +your `~/.bazaar/bazaar.conf'. E.g.: + + [DEFAULT] + cia_send_revno = true + + Remember to install cia-clients (Debian/Ubuntu package) to be able +to use CIA. + + Keep in mind Bazaar sends notifications for all commits to branches +that have this setting, regardless of whether they're bound branches +(checkouts) or not. So if you make local commits in a non-bound branch +and it bothers you that others can read them, do not use this setting. + + +File: grub-dev.info, Node: BIOS port memory map, Next: Video Subsystem, Prev: CIA, Up: Top + +7 BIOS port memory map +********************** + +Start End Usage +-------------------------------------------------------------------- +0 0x1000 - 1 BIOS and real mode interrupts +0x07BE 0x07FF Partition table passed to another + boot loader +? 0x2000 - 1 Real mode stack +0x7C00 0x7D00 - 1 Boot sector +0x8000 ? GRUB kernel +0x68000 0x78000 - 1 Disk buffer +? 0x80000 - 1 Protected mode stack +0x80000 ? Heap +? 0xA0000 - 1 Extended BIOS Data Area +0xA0000 0xC0000 - 1 Video RAM +0xC0000 0x100000 - 1 BIOS +0x100000 ? Heap and module code + + +File: grub-dev.info, Node: Video Subsystem, Next: PFF2 Font File Format, Prev: BIOS port memory map, Up: Top + +8 Video Subsystem +***************** + +This document contains specification for Video Subsystem for GRUB2. +Currently only the usage interface is described in this document. +Internal structure of how video drivers are registering and how video +driver manager works are not included here. + +* Menu: + +* Video API:: +* Bitmap API:: +* Example usage of Video API:: + + +File: grub-dev.info, Node: Video API, Next: Bitmap API, Up: Video Subsystem + +8.1 Video API +============= + +8.1.1 grub_video_setup +---------------------- + + * Prototype: + grub_err_t + grub_video_setup (unsigned int width, unsigned int height, unsigned int mode_type); + + * Description: + + Driver will use information provided to it to select best possible + video mode and switch to it. Supported values for `mode_type' are + `GRUB_VIDEO_MODE_TYPE_INDEX_COLOR' for index color modes, + `GRUB_VIDEO_MODE_TYPE_RGB' for direct RGB color modes and + `GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED' for double buffering. When + requesting RGB mode, highest bits per pixel mode will be selected. + When requesting Index color mode, mode with highest number of + colors will be selected. If all parameters are specified as zero, + video adapter will try to figure out best possible mode and + initialize it, platform specific differences are allowed here. If + there is no mode matching request, error X will be returned. If + there are no problems, function returns `GRUB_ERR_NONE'. + + This function also performs following task upon succesful mode + switch. Active rendering target is changed to screen and viewport + is maximized to allow whole screen to be used when performing + graphics operations. In RGB modes, emulated palette gets 16 + entries containing default values for VGA palette, other colors + are defined as black. When switching to Indexed Color mode, driver + may set default VGA palette to screen if the video card allows the + operation. + + +8.1.2 grub_video_restore +------------------------ + + * Prototype: + + grub_err_t + grub_video_restore (void); + + * Description: + + Video subsystem will deinitialize activated video driver to + restore old state of video device. This can be used to switch back + to text mode. + +8.1.3 grub_video_get_info +------------------------- + + * Prototype: + + grub_err_t + grub_video_get_info (struct grub_video_mode_info *mode_info); + + struct grub_video_mode_info + { + /* Width of the screen. */ + unsigned int width; + /* Height of the screen. */ + unsigned int height; + /* Mode type bitmask. Contains information like is it Index color or + RGB mode. */ + unsigned int mode_type; + /* Bits per pixel. */ + unsigned int bpp; + /* Bytes per pixel. */ + unsigned int bytes_per_pixel; + /* Pitch of one scanline. How many bytes there are for scanline. */ + unsigned int pitch; + /* In index color mode, number of colors. In RGB mode this is 256. */ + unsigned int number_of_colors; + /* Optimization hint how binary data is coded. */ + enum grub_video_blit_format blit_format; + /* How many bits are reserved for red color. */ + unsigned int red_mask_size; + /* What is location of red color bits. In Index Color mode, this is 0. */ + unsigned int red_field_pos; + /* How many bits are reserved for green color. */ + unsigned int green_mask_size; + /* What is location of green color bits. In Index Color mode, this is 0. */ + unsigned int green_field_pos; + /* How many bits are reserved for blue color. */ + unsigned int blue_mask_size; + /* What is location of blue color bits. In Index Color mode, this is 0. */ + unsigned int blue_field_pos; + /* How many bits are reserved in color. */ + unsigned int reserved_mask_size; + /* What is location of reserved color bits. In Index Color mode, + this is 0. */ + unsigned int reserved_field_pos; + }; + + * Description: + + Software developer can use this function to query properties of + active rendering taget. Information provided here can be used by + other parts of GRUB, like image loaders to convert loaded images + to correct screen format to allow more optimized blitters to be + used. If there there is no configured video driver with active + screen, error `GRUB_ERR_BAD_DEVICE' is returned, otherwise + `mode_info' is filled with valid information and `GRUB_ERR_NONE' + is returned. + +8.1.4 grub_video_get_blit_format +-------------------------------- + + * Prototype: + + enum grub_video_blit_format + grub_video_get_blit_format (struct grub_video_mode_info *mode_info); + + enum grub_video_blit_format + { + /* Follow exactly field & mask information. */ + GRUB_VIDEO_BLIT_FORMAT_RGBA, + /* Make optimization assumption. */ + GRUB_VIDEO_BLIT_FORMAT_R8G8B8A8, + /* Follow exactly field & mask information. */ + GRUB_VIDEO_BLIT_FORMAT_RGB, + /* Make optimization assumption. */ + GRUB_VIDEO_BLIT_FORMAT_R8G8B8, + /* When needed, decode color or just use value as is. */ + GRUB_VIDEO_BLIT_FORMAT_INDEXCOLOR + }; + + * Description: + + Used to query how data could be optimized to suit specified video + mode. Returns exact video format type, or a generic one if there + is no definition for the type. For generic formats, use + `grub_video_get_info' to query video color coding settings. + +8.1.5 grub_video_set_palette +---------------------------- + + * Prototype: + + grub_err_t + grub_video_set_palette (unsigned int start, unsigned int count, struct grub_video_palette_data *palette_data); + + struct grub_video_palette_data + { + grub_uint8_t r; /* Red color value (0-255). */ + grub_uint8_t g; /* Green color value (0-255). */ + grub_uint8_t b; /* Blue color value (0-255). */ + grub_uint8_t a; /* Reserved bits value (0-255). */ + }; + + * Description: + + Used to setup indexed color palettes. If mode is RGB mode, colors + will be set to emulated palette data. In Indexed Color modes, + palettes will be set to hardware. Color values will be converted + to suit requirements of the video mode. `start' will tell what + hardware color index (or emulated color index) will be set to + according information in first indice of `palette_data', after + that both hardware color index and `palette_data' index will be + incremented until `count' number of colors have been set. + +8.1.6 grub_video_get_palette +---------------------------- + + * Prototype: + + grub_err_t + grub_video_get_palette (unsigned int start, unsigned int count, struct grub_video_palette_data *palette_data); + + struct grub_video_palette_data + { + grub_uint8_t r; /* Red color value (0-255). */ + grub_uint8_t g; /* Green color value (0-255). */ + grub_uint8_t b; /* Blue color value (0-255). */ + grub_uint8_t a; /* Reserved bits value (0-255). */ + }; + + * Description: + + Used to query indexed color palettes. If mode is RGB mode, colors + will be copied from emulated palette data. In Indexed Color modes, + palettes will be read from hardware. Color values will be + converted to suit structure format. `start' will tell what + hardware color index (or emulated color index) will be used as a + source for first indice of `palette_data', after that both + hardware color index and `palette_data' index will be incremented + until `count' number of colors have been read. + +8.1.7 grub_video_set_viewport +----------------------------- + + * Prototype: + + grub_err_t + grub_video_set_viewport (unsigned int x, unsigned int y, unsigned int width, unsigned int height); + + * Description: + + Used to specify viewport where draw commands are performed. When + viewport is set, all draw commands coordinates relate to those + specified by `x' and `y'. If draw commands try to draw over + viewport, they are clipped. If developer requests larger than + possible viewport, width and height will be clamped to fit screen. + If `x' and `y' are out of bounds, all functions drawing to screen + will not be displayed. In order to maximize viewport, use + `grub_video_get_info' to query actual screen dimensions and + provide that information to this function. + +8.1.8 grub_video_get_viewport +----------------------------- + + * Prototype: + + grub_err_t + grub_video_get_viewport (unsigned int *x, unsigned int *y, unsigned int *width, unsigned int *height); + + * Description: + + Used to query current viewport dimensions. Software developer can + use this to choose best way to render contents of the viewport. + +8.1.9 grub_video_map_color +-------------------------- + + * Prototype: + + grub_video_color_t + grub_video_map_color (grub_uint32_t color_name); + + * Description: + + Map color can be used to support color themes in GRUB. There will + be collection of color names that can be used to query actual + screen mapped color data. Examples could be + `GRUB_COLOR_CONSOLE_BACKGROUND', `GRUB_COLOR_CONSOLE_TEXT'. The + actual color defines are not specified at this point. + +8.1.10 grub_video_map_rgb +------------------------- + + * Prototype: + + grub_video_color_t + grub_video_map_rgb (grub_uint8_t red, grub_uint8_t green, grub_uint8_t blue); + + * Description: + + Map RGB values to compatible screen color data. Values are + expected to be in range 0-255 and in RGB modes they will be + converted to screen color data. In index color modes, index color + palette will be searched for specified color and then index is + returned. + +8.1.11 grub_video_map_rgba +-------------------------- + + * Prototype: + + grub_video_color_t + grub_video_map_rgba (grub_uint8_t red, grub_uint8_t green, grub_uint8_t blue, grub_uint8_t alpha); + + * Description: + + Map RGBA values to compatible screen color data. Values are + expected to be in range 0-255. In RGBA modes they will be + converted to screen color data. In index color modes, index color + palette will be searched for best matching color and its index is + returned. + +8.1.12 grub_video_unmap_color +----------------------------- + + * Prototype: + + grub_err_t + grub_video_unmap_color (grub_video_color_t color, grub_uint8_t *red, grub_uint8_t *green, grub_uint8_t *blue, grub_uint8_t *alpha); + + * Description: + + Unmap color value from `color' to color channels in `red', + `green', `blue' and `alpha'. Values will be in range 0-255. Active + rendering target will be used for color domain. In case alpha + information is not available in rendering target, it is assumed to + be opaque (having value 255). + +8.1.13 grub_video_fill_rect +--------------------------- + + * Prototype: + + grub_err_t + grub_video_fill_rect (grub_video_color_t color, int x, int y, unsigned int width, unsigned int height); + + * Description: + + Fill specified area limited by given coordinates within specified + viewport. Negative coordinates are accepted in order to allow easy + moving of rectangle within viewport. If coordinates are negative, + area of the rectangle will be shrinken to follow size limits of + the viewport. + + Software developer should use either `grub_video_map_color', + `grub_video_map_rgb' or `grub_video_map_rgba' to map requested + color to `color' parameter. + +8.1.14 grub_video_blit_glyph +---------------------------- + + * Prototype: + + grub_err_t + grub_video_blit_glyph (struct grub_font_glyph *glyph, grub_video_color_t color, int x, int y); + + struct grub_font_glyph { + /* TBD. */ + }; + + * Description: + + Used to blit glyph to viewport in specified coodinates. If glyph + is at edge of viewport, pixels outside of viewport will be clipped + out. Software developer should use either `grub_video_map_rgb' or + `grub_video_map_rgba' to map requested color to `color' parameter. + +8.1.15 grub_video_blit_bitmap +----------------------------- + + * Prototype: + + grub_err_t + grub_video_blit_bitmap (struct grub_video_bitmap *bitmap, enum grub_video_blit_operators oper, int x, int y, int offset_x, int offset_y, unsigned int width, unsigned int height); + + struct grub_video_bitmap + { + /* TBD. */ + }; + + enum grub_video_blit_operators + { + GRUB_VIDEO_BLIT_REPLACE, + GRUB_VIDEO_BLIT_BLEND + }; + + * Description: + + Used to blit bitmap to viewport in specified coordinates. If part + of bitmap is outside of viewport region, it will be clipped out. + Offsets affect bitmap position where data will be copied from. + Negative values for both viewport coordinates and bitmap offset + coordinates are allowed. If data is looked out of bounds of + bitmap, color value will be assumed to be transparent. If viewport + coordinates are negative, area of the blitted rectangle will be + shrinken to follow size limits of the viewport and bitmap. + Blitting operator `oper' specifies should source pixel replace + data in screen or blend with pixel alpha value. + + Software developer should use `grub_video_bitmap_create' or + `grub_video_bitmap_load' to create or load bitmap data. + +8.1.16 grub_video_blit_render_target +------------------------------------ + + * Prototype: + + grub_err_t + grub_video_blit_render_target (struct grub_video_render_target *source, enum grub_video_blit_operators oper, int x, int y, int offset_x, int offset_y, unsigned int width, unsigned int height); + + struct grub_video_render_target { + /* This is private data for video driver. Should not be accessed from elsewhere directly. */ + }; + + enum grub_video_blit_operators + { + GRUB_VIDEO_BLIT_REPLACE, + GRUB_VIDEO_BLIT_BLEND + }; + + * Description: + + Used to blit source render target to viewport in specified + coordinates. If part of source render target is outside of + viewport region, it will be clipped out. If blitting operator is + specified and source contains alpha values, resulting pixel color + components will be calculated using formula ((src_color * + src_alpha) + (dst_color * (255 - src_alpha)) / 255, if target + buffer has alpha, it will be set to src_alpha. Offsets affect + render target position where data will be copied from. If data is + looked out of bounds of render target, color value will be assumed + to be transparent. Blitting operator `oper' specifies should + source pixel replace data in screen or blend with pixel alpha + value. + +8.1.17 grub_video_scroll +------------------------ + + * Prototype: + + grub_err_t + grub_video_scroll (grub_video_color_t color, int dx, int dy); + + * Description: + + Used to scroll viewport to specified direction. New areas are + filled with specified color. This function is used when screen is + scroller up in video terminal. + +8.1.18 grub_video_swap_buffers +------------------------------ + + * Prototype: + + grub_err_t + grub_video_swap_buffers (void); + + * Description: + + If double buffering is enabled, this swaps frontbuffer and + backbuffer, in order to show values drawn to back buffer. Video + driver is free to choose how this operation is techincally done. + +8.1.19 grub_video_create_render_target +-------------------------------------- + + * Prototype: + + grub_err_t + grub_video_create_render_target (struct grub_video_render_target **result, unsigned int width, unsigned int height, unsigned int mode_type); + + struct grub_video_render_target { + /* This is private data for video driver. Should not be accessed from elsewhere directly. */ + }; + + * Description: + + Driver will use information provided to it to create best fitting + render target. `mode_type' will be used to guide on selecting what + features are wanted for render target. Supported values for + `mode_type' are `GRUB_VIDEO_MODE_TYPE_INDEX_COLOR' for index color + modes, `GRUB_VIDEO_MODE_TYPE_RGB' for direct RGB color modes and + `GRUB_VIDEO_MODE_TYPE_ALPHA' for alpha component. + +8.1.20 grub_video_delete_render_target +-------------------------------------- + + * Prototype: + + grub_err_t + grub_video_delete_render_target (struct grub_video_render_target *target); + + * Description: + + Used to delete previously created render target. If `target' + contains `NULL' pointer, nothing will be done. If render target is + correctly destroyed, GRUB_ERR_NONE is returned. + +8.1.21 grub_video_set_active_render_target +------------------------------------------ + + * Prototype: + + grub_err_t + grub_video_set_active_render_target (struct grub_video_render_target *target); + + * Description: + + Sets active render target. If this comand is successful all + drawing commands will be done to specified `target'. There is also + special values for target, `GRUB_VIDEO_RENDER_TARGET_DISPLAY' used + to reference screen's front buffer, + `GRUB_VIDEO_RENDER_TARGET_FRONT_BUFFER' used to reference screen's + front buffer (alias for `GRUB_VIDEO_RENDER_TARGET_DISPLAY') and + `GRUB_VIDEO_RENDER_TARGET_BACK_BUFFER' used to reference back + buffer (if double buffering is enabled). If render target is + correclty switched GRUB_ERR_NONE is returned. In no any event + shall there be non drawable active render target. + + +8.1.22 grub_video_get_active_render_target +------------------------------------------ + + * Prototype: + + grub_err_t + grub_video_get_active_render_target (struct grub_video_render_target **target); + + * Description: + + Returns currently active render target. It returns value in + `target' that can be subsequently issued back to + `grub_video_set_active_render_target'. + + +File: grub-dev.info, Node: Example usage of Video API, Prev: Bitmap API, Up: Video Subsystem + +8.2 Example usage of Video API +============================== + +8.2.1 Example of screen setup +----------------------------- + + grub_err_t rc; + /* Try to initialize video mode 1024 x 768 with direct RGB. */ + rc = grub_video_setup (1024, 768, GRUB_VIDEO_MODE_TYPE_RGB); + if (rc != GRUB_ERR_NONE) + { + /* Fall back to standard VGA Index Color mode. */ + rc = grub_video_setup (640, 480, GRUB_VIDEO_MODE_TYPE_INDEX); + if (rc != GRUB_ERR_NONE) + { + /* Handle error. */ + } + } + +8.2.2 Example of setting up console viewport +-------------------------------------------- + + grub_uint32_t x, y, width, height; + grub_video_color_t color; + struct grub_font_glyph glyph; + grub_err_t rc; + /* Query existing viewport. */ + grub_video_get_viewport (&x, &y, &width, &height); + /* Fill background. */ + color = grub_video_map_color (GRUB_COLOR_BACKGROUND); + grub_video_fill_rect (color, 0, 0, width, height); + /* Setup console viewport. */ + grub_video_set_viewport (x + 10, y + 10, width - 20, height - 20); + grub_video_get_viewport (&x, &y, &width, &height); + color = grub_video_map_color (GRUB_COLOR_CONSOLE_BACKGROUND); + grub_video_fill_rect (color, 0, 0, width, height); + /* Draw text to viewport. */ + color = grub_video_map_color (GRUB_COLOR_CONSOLE_TEXT); + grub_font_get_glyph ('X', &glyph); + grub_video_blit_glyph (&glyph, color, 0, 0); + + +File: grub-dev.info, Node: Bitmap API, Next: Example usage of Video API, Prev: Video API, Up: Video Subsystem + +8.3 Bitmap API +============== + +8.3.1 grub_video_bitmap_create +------------------------------ + + * Prototype: + grub_err_t grub_video_bitmap_create (struct grub_video_bitmap **bitmap, unsigned int width, unsigned int height, enum grub_video_blit_format blit_format) + + * Description: + + Creates a new bitmap with given dimensions and blitting format. + Allocated bitmap data can then be modified freely and finally + blitted with `grub_video_blit_bitmap' to rendering target. + +8.3.2 grub_video_bitmap_destroy +------------------------------- + + * Prototype: + grub_err_t grub_video_bitmap_destroy (struct grub_video_bitmap *bitmap); + + * Description: + + When bitmap is no longer needed, it can be freed from memory using + this command. `bitmap' is previously allocated bitmap with + `grub_video_bitmap_create' or loaded with `grub_video_bitmap_load'. + +8.3.3 grub_video_bitmap_load +---------------------------- + + * Prototype: + grub_err_t grub_video_bitmap_load (struct grub_video_bitmap **bitmap, const char *filename); + + * Description: + + Tries to load given bitmap (`filename') using registered bitmap + loaders. In case bitmap format is not recognized or supported + error `GRUB_ERR_BAD_FILE_TYPE' is returned. + +8.3.4 grub_video_bitmap_get_width +--------------------------------- + + * Prototype: + unsigned int grub_video_bitmap_get_width (struct grub_video_bitmap *bitmap); + + * Description: + + Returns bitmap width. + +8.3.5 grub_video_bitmap_get_height +---------------------------------- + + * Prototype: + unsigned int grub_video_bitmap_get_height (struct grub_video_bitmap *bitmap); + + * Description: + + Return bitmap height. + +8.3.6 grub_video_bitmap_get_mode_info +------------------------------------- + + * Prototype: + void grub_video_bitmap_get_mode_info (struct grub_video_bitmap *bitmap, struct grub_video_mode_info *mode_info); + + * Description: + + Returns bitmap format details in form of `grub_video_mode_info'. + +8.3.7 grub_video_bitmap_get_data +-------------------------------- + + * Prototype: + void *grub_video_bitmap_get_data (struct grub_video_bitmap *bitmap); + + * Description: + + Return pointer to bitmap data. Contents of the pointed data can be + freely modified. There is no extra protection against going off + the bounds so you have to be carefull how to access the data. + + +File: grub-dev.info, Node: PFF2 Font File Format, Next: Graphical Menu Software Design, Prev: Video Subsystem, Up: Top + +9 PFF2 Font File Format +*********************** + +* Menu: + +* Introduction:: +* File Structure:: +* Font Metrics:: + + +File: grub-dev.info, Node: Introduction, Next: File Structure, Up: PFF2 Font File Format + +9.1 Introduction +================ + +The goal of this format is to provide a bitmap font format that is +simple to use, compact, and cleanly supports Unicode. + +9.1.1 Goals of the GRUB Font Format +----------------------------------- + + * Simple to read and use. Since GRUB will only be reading the font + files, we are more concerned with making the code to read the font + simple than we are with writing the font. + + * Compact storage. The fonts will generally be stored in a small + boot partition where GRUB is located, and this may be on a + removable storage device such as a CD or USB flash drive where + space is more limited than it is on most hard drives. + + * Unicode. GRUB should not have to deal with multiple character + encodings. The font should always use Unicode character codes for + simple internationalization. + +9.1.2 Why Another Font Format? +------------------------------ + +There are many existing bitmap font formats that GRUB could use. +However, there are aspects of these formats that may make them less +than suitable for use in GRUB at this time: + +`BDF' + Inefficient storage; uses ASCII to describe properties and + hexadecimal numbers in ASCII for the bitmap rows. + +`PCF' + Many format variations such as byte order and bitmap padding (rows + padded to byte, word, etc.) would result in more complex code to + handle the font format. + + +File: grub-dev.info, Node: File Structure, Next: Font Metrics, Prev: Introduction, Up: PFF2 Font File Format + +9.2 File Structure +================== + +A file *section* consists of a 4-byte name, a 32-bit big-endian length +(not including the name or length), and then LENGTH more +section-type-specific bytes. + + The standard file extension for PFF2 font files is `.pf2'. + +9.2.1 Section Types +------------------- + +`FILE' + *File type ID* (ASCII string). This must be the first section in + the file. It has length 4 and the contents are the four bytes of + the ASCII string `PFF2'. + +`NAME' + *Font name* (ASCII string). This is the full font name including + family, weight, style, and point size. For instance, "Helvetica + Bold Italic 14". + +`FAMI' + *Font family name* (ASCII string). For instance, "Helvetica". + This should be included so that intelligent font substitution can + take place. + +`WEIG' + *Font weight* (ASCII string). Valid values are `bold' and + `normal'. This should be included so that intelligent font + substitution can take place. + +`SLAN' + *Font slant* (ASCII string). Valid values are `italic' and + `normal'. This should be included so that intelligent font + substitution can take place. + +`PTSZ' + *Font point size* (uint16be). + +`MAXW' + *Maximum character width in pixels* (uint16be). + +`MAXH' + *Maximum character height in pixels* (uint16be). + +`ASCE' + *Ascent in pixels* (uint16be). *Note Font Metrics::, for details. + +`DESC' + *Descent in pixels* (uint16be). *Note Font Metrics::, for details. + +`CHIX' + *Character index.* The character index begins with a 32-bit + big-endian unsigned integer indicating the total size of the + section, not including this size value. For each character, there + is an instance of the following entry structure: + + * *Unicode code point.* (32-bit big-endian integer.) + + * *Storage flags.* (byte.) + + * Bits 2..0: + + If equal to 000 binary, then the character data is stored + uncompressed beginning at the offset indicated by the + character's *offset* value. + + If equal to 001 binary, then the character data is + stored within a compressed character definition block + that begins at the offset within the file indicated by + the character's *offset* value. + + * *Offset.* (32-bit big-endian integer.) + + A marker that indicates the remainder of the file is data + accessed via the character index (CHIX) section. When + reading this font file, the rest of the file can be ignored + when scanning the sections. The length should be set to -1 + (0xFFFFFFFF). + + Supported data structures: + + Character definition Each character definition consists of: + + * *Width.* Width of the bitmap in pixels. The bitmap's + extents represent the glyph's bounding box. `uint16be'. + + * *Height.* Height of the bitmap in pixels. The bitmap's + extents represent the glyph's bounding box. `uint16be'. + + * *X offset.* The number of pixels to shift the bitmap by + horizontally before drawing the character. `int16be'. + + * *Y offset.* The number of pixels to shift the bitmap by + vertically before drawing the character. `int16be'. + + * *Device width.* The number of pixels to advance + horizontally from this character's origin to the origin + of the next character. `int16be'. + + * *Bitmap data.* This is encoded as a string of bits. It + is organized as a row-major, top-down, left-to-right + bitmap. The most significant bit of each byte is taken + to be the leftmost or uppermost bit in the byte. For + the sake of compact storage, rows are not padded to byte + boundaries (i.e., a single byte may contain bits + belonging to multiple rows). The last byte of the + bitmap *is* padded with zero bits in the bits positions + to the right of the last used bit if the bitmap data + does not fill the last byte. + + The length of the *bitmap data* field is (WIDTH * HEIGHT + + 7) / 8 using integer arithmetic, which is equivalent + to ceil(WIDTH * HEIGHT / 8) using real number arithmetic. + + It remains to be determined whether bitmap fonts usually + make all glyph bitmaps the same height, or if smaller + glyphs are stored with bitmaps having a lesser height. + In the latter case, the baseline would have to be used + to calculate the location the bitmap should be anchored + at on screen. + + + +File: grub-dev.info, Node: Font Metrics, Prev: File Structure, Up: PFF2 Font File Format + +9.3 Font Metrics +================ + + * Ascent. The distance from the baseline to the top of most + characters. Note that in some cases characters may extend above + the ascent. + + * Descent. The distance from the baseline to the bottom of most + characters. Note that in some cases characters may extend below + the descent. + + * Leading. The amount of space, in pixels, to leave between the + descent of one line of text and the ascent of the next line. This + metrics is not specified in the current file format; instead, the + font rendering engine calculates a reasonable leading value based + on the other font metrics. + + * Horizonal leading. The amount of space, in pixels, to leave + horizontally between the left and right edges of two adjacent + glyphs. The *device width* field determines the effective leading + value that is used to render the font. + +[Please fill this in. +] + + An illustration of how the various font metrics apply to characters. + + +File: grub-dev.info, Node: Graphical Menu Software Design, Next: Copying This Manual, Prev: PFF2 Font File Format, Up: Top + +10 Graphical Menu Software Design +********************************* + +* Menu: + +* Introduction_2:: +* Startup Sequence:: +* GUI Components:: +* Command Line Window:: + + +File: grub-dev.info, Node: Introduction_2, Next: Startup Sequence, Up: Graphical Menu Software Design + +10.1 Introduction +================= + +The `gfxmenu' module provides a graphical menu interface for GRUB 2. It +functions as an alternative to the menu interface provided by the +`normal' module, which uses the grub terminal interface to display a +menu on a character-oriented terminal. + + The graphical menu uses the GRUB video API, which is currently for +the VESA BIOS extensions (VBE) 2.0+. This is supported on the i386-pc +platform. However, the graphical menu itself does not depend on using +VBE, so if another GRUB video driver were implemented, the `gfxmenu' +graphical menu would work on the new video driver as well. + + +File: grub-dev.info, Node: Startup Sequence, Next: GUI Components, Prev: Introduction_2, Up: Graphical Menu Software Design + +10.2 Startup Sequence +===================== + + * grub_enter_normal_mode [normal/main.c] + + * grub_normal_execute [normal/main.c] + + * read_config_file [normal/main.c] + + * (When `gfxmenu.mod' is loaded with `insmod', it will call + `grub_menu_viewer_register()' to register itself.) + + * GRUB_MOD_INIT (gfxmenu) [gfxmenu/gfxmenu.c] + + * grub_menu_viewer_register [kern/menu_viewer.c] + + * grub_menu_viewer_show_menu [kern/menu_viewer.c] + + * get_current_menu_viewer() [kern/menu_viewer.c] + + * show_menu() [gfxmenu/gfxmenu.c] + + * grub_gfxmenu_model_new [gfxmenu/model.c] + + * grub_gfxmenu_view_new [gfxmenu/view.c] + + * set_graphics_mode [gfxmenu/view.c] + + * grub_gfxmenu_view_load_theme [gfxmenu/theme_loader.c] + + +File: grub-dev.info, Node: GUI Components, Next: Command Line Window, Prev: Startup Sequence, Up: Graphical Menu Software Design + +10.3 GUI Components +=================== + +The graphical menu implements a GUI component system that supports a +container-based layout system. Components can be added to containers, +and containers (which are a type of component) can then be added to +other containers, to form a tree of components. Currently, the root +component of this tree is a `canvas' component, which allows manual +layout of its child components. + + Components (non-container): + + * label + + * image + + * progress_bar + + * circular_progress + + * list (currently hard coded to be a boot menu list) + + Containers: + + * canvas + + * hbox + + * vbox + + The GUI component instances are created by the theme loader in +`gfxmenu/theme_loader.c' when a theme is loaded. Theme files specify +statements such as `+vbox{ +label { text="Hello" } +label{ text="World" +} }' to add components to the component tree root. By nesting the +component creation statements in the theme file, the instantiated +components are nested the same way. + + When a component is added to a container, that new child is +considered *owned* by the container. Great care should be taken if the +caller retains a reference to the child component, since it will be +destroyed if its parent container is destroyed. A better choice +instead of storing a pointer to the child component is to use the +component ID to find the desired component. Component IDs do not have +to be unique (it is often useful to have multiple components with an ID +of "__timeout__", for instance). + + In order to access and use components in the component tree, there +are two functions (defined in `gfxmenu/gui_util.c') that are +particularly useful: + + * `grub_gui_find_by_id (root, id, callback, userdata)': + + This function ecursively traverses the component tree rooted at + ROOT, and for every component that has an ID equal to ID, calls + the function pointed to by CALLBACK with the matching component + and the void pointer USERDATA as arguments. The callback function + can do whatever is desired to use the component passed in. + + * `grub_gui_iterate_recursively (root, callback, userdata)': + + This function calls the function pointed to by CALLBACK for every + component that is a descendant of ROOT in the component tree. + When the callback function is called, the component and the void + pointer USERDATA as arguments. The callback function can do + whatever is desired to use the component passed in. + + +File: grub-dev.info, Node: Command Line Window, Prev: GUI Components, Up: Graphical Menu Software Design + +10.4 Command Line Window +======================== + +The terminal window used to provide command line access within the +graphical menu is managed by `gfxmenu/view.c'. The `gfxterm' terminal +is used, and it has been modified to allow rendering to an offscreen +render target to allow it to be composed into the double buffering +system that the graphical menu view uses. This is bad for performance, +however, so it would probably be a good idea to make it possible to +temporarily disable double buffering as long as the terminal window is +visible. There are still unresolved problems that occur when commands +are executed from the terminal window that change the graphics mode. +It's possible that making `grub_video_restore()' return to the graphics +mode that was in use before `grub_video_setup()' was called might fix +some of the problems. + + +File: grub-dev.info, Node: Copying This Manual, Next: Index, Prev: Graphical Menu Software Design, Up: Top + +Appendix A Copying This Manual +****************************** + +* Menu: + +* GNU Free Documentation License:: License for copying this manual. + + +File: grub-dev.info, Node: GNU Free Documentation License, Up: Copying This Manual + +A.1 GNU Free Documentation License +================================== + + Version 1.2, November 2002 + + Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + 0. PREAMBLE + + The purpose of this License is to make a manual, textbook, or other + functional and useful document "free" in the sense of freedom: to + assure everyone the effective freedom to copy and redistribute it, + with or without modifying it, either commercially or + noncommercially. Secondarily, this License preserves for the + author and publisher a way to get credit for their work, while not + being considered responsible for modifications made by others. + + This License is a kind of "copyleft", which means that derivative + works of the document must themselves be free in the same sense. + It complements the GNU General Public License, which is a copyleft + license designed for free software. + + We have designed this License in order to use it for manuals for + free software, because free software needs free documentation: a + free program should come with manuals providing the same freedoms + that the software does. But this License is not limited to + software manuals; it can be used for any textual work, regardless + of subject matter or whether it is published as a printed book. + We recommend this License principally for works whose purpose is + instruction or reference. + + 1. APPLICABILITY AND DEFINITIONS + + This License applies to any manual or other work, in any medium, + that contains a notice placed by the copyright holder saying it + can be distributed under the terms of this License. Such a notice + grants a world-wide, royalty-free license, unlimited in duration, + to use that work under the conditions stated herein. The + "Document", below, refers to any such manual or work. Any member + of the public is a licensee, and is addressed as "you". You + accept the license if you copy, modify or distribute the work in a + way requiring permission under copyright law. + + A "Modified Version" of the Document means any work containing the + Document or a portion of it, either copied verbatim, or with + modifications and/or translated into another language. + + A "Secondary Section" is a named appendix or a front-matter section + of the Document that deals exclusively with the relationship of the + publishers or authors of the Document to the Document's overall + subject (or to related matters) and contains nothing that could + fall directly within that overall subject. (Thus, if the Document + is in part a textbook of mathematics, a Secondary Section may not + explain any mathematics.) The relationship could be a matter of + historical connection with the subject or with related matters, or + of legal, commercial, philosophical, ethical or political position + regarding them. + + The "Invariant Sections" are certain Secondary Sections whose + titles are designated, as being those of Invariant Sections, in + the notice that says that the Document is released under this + License. If a section does not fit the above definition of + Secondary then it is not allowed to be designated as Invariant. + The Document may contain zero Invariant Sections. If the Document + does not identify any Invariant Sections then there are none. + + The "Cover Texts" are certain short passages of text that are + listed, as Front-Cover Texts or Back-Cover Texts, in the notice + that says that the Document is released under this License. A + Front-Cover Text may be at most 5 words, and a Back-Cover Text may + be at most 25 words. + + A "Transparent" copy of the Document means a machine-readable copy, + represented in a format whose specification is available to the + general public, that is suitable for revising the document + straightforwardly with generic text editors or (for images + composed of pixels) generic paint programs or (for drawings) some + widely available drawing editor, and that is suitable for input to + text formatters or for automatic translation to a variety of + formats suitable for input to text formatters. A copy made in an + otherwise Transparent file format whose markup, or absence of + markup, has been arranged to thwart or discourage subsequent + modification by readers is not Transparent. An image format is + not Transparent if used for any substantial amount of text. A + copy that is not "Transparent" is called "Opaque". + + Examples of suitable formats for Transparent copies include plain + ASCII without markup, Texinfo input format, LaTeX input format, + SGML or XML using a publicly available DTD, and + standard-conforming simple HTML, PostScript or PDF designed for + human modification. Examples of transparent image formats include + PNG, XCF and JPG. Opaque formats include proprietary formats that + can be read and edited only by proprietary word processors, SGML or + XML for which the DTD and/or processing tools are not generally + available, and the machine-generated HTML, PostScript or PDF + produced by some word processors for output purposes only. + + The "Title Page" means, for a printed book, the title page itself, + plus such following pages as are needed to hold, legibly, the + material this License requires to appear in the title page. For + works in formats which do not have any title page as such, "Title + Page" means the text near the most prominent appearance of the + work's title, preceding the beginning of the body of the text. + + A section "Entitled XYZ" means a named subunit of the Document + whose title either is precisely XYZ or contains XYZ in parentheses + following text that translates XYZ in another language. (Here XYZ + stands for a specific section name mentioned below, such as + "Acknowledgements", "Dedications", "Endorsements", or "History".) + To "Preserve the Title" of such a section when you modify the + Document means that it remains a section "Entitled XYZ" according + to this definition. + + The Document may include Warranty Disclaimers next to the notice + which states that this License applies to the Document. These + Warranty Disclaimers are considered to be included by reference in + this License, but only as regards disclaiming warranties: any other + implication that these Warranty Disclaimers may have is void and + has no effect on the meaning of this License. + + 2. VERBATIM COPYING + + You may copy and distribute the Document in any medium, either + commercially or noncommercially, provided that this License, the + copyright notices, and the license notice saying this License + applies to the Document are reproduced in all copies, and that you + add no other conditions whatsoever to those of this License. You + may not use technical measures to obstruct or control the reading + or further copying of the copies you make or distribute. However, + you may accept compensation in exchange for copies. If you + distribute a large enough number of copies you must also follow + the conditions in section 3. + + You may also lend copies, under the same conditions stated above, + and you may publicly display copies. + + 3. COPYING IN QUANTITY + + If you publish printed copies (or copies in media that commonly + have printed covers) of the Document, numbering more than 100, and + the Document's license notice requires Cover Texts, you must + enclose the copies in covers that carry, clearly and legibly, all + these Cover Texts: Front-Cover Texts on the front cover, and + Back-Cover Texts on the back cover. Both covers must also clearly + and legibly identify you as the publisher of these copies. The + front cover must present the full title with all words of the + title equally prominent and visible. You may add other material + on the covers in addition. Copying with changes limited to the + covers, as long as they preserve the title of the Document and + satisfy these conditions, can be treated as verbatim copying in + other respects. + + If the required texts for either cover are too voluminous to fit + legibly, you should put the first ones listed (as many as fit + reasonably) on the actual cover, and continue the rest onto + adjacent pages. + + If you publish or distribute Opaque copies of the Document + numbering more than 100, you must either include a + machine-readable Transparent copy along with each Opaque copy, or + state in or with each Opaque copy a computer-network location from + which the general network-using public has access to download + using public-standard network protocols a complete Transparent + copy of the Document, free of added material. If you use the + latter option, you must take reasonably prudent steps, when you + begin distribution of Opaque copies in quantity, to ensure that + this Transparent copy will remain thus accessible at the stated + location until at least one year after the last time you + distribute an Opaque copy (directly or through your agents or + retailers) of that edition to the public. + + It is requested, but not required, that you contact the authors of + the Document well before redistributing any large number of + copies, to give them a chance to provide you with an updated + version of the Document. + + 4. MODIFICATIONS + + You may copy and distribute a Modified Version of the Document + under the conditions of sections 2 and 3 above, provided that you + release the Modified Version under precisely this License, with + the Modified Version filling the role of the Document, thus + licensing distribution and modification of the Modified Version to + whoever possesses a copy of it. In addition, you must do these + things in the Modified Version: + + A. Use in the Title Page (and on the covers, if any) a title + distinct from that of the Document, and from those of + previous versions (which should, if there were any, be listed + in the History section of the Document). You may use the + same title as a previous version if the original publisher of + that version gives permission. + + B. List on the Title Page, as authors, one or more persons or + entities responsible for authorship of the modifications in + the Modified Version, together with at least five of the + principal authors of the Document (all of its principal + authors, if it has fewer than five), unless they release you + from this requirement. + + C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. + + D. Preserve all the copyright notices of the Document. + + E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. + + F. Include, immediately after the copyright notices, a license + notice giving the public permission to use the Modified + Version under the terms of this License, in the form shown in + the Addendum below. + + G. Preserve in that license notice the full lists of Invariant + Sections and required Cover Texts given in the Document's + license notice. + + H. Include an unaltered copy of this License. + + I. Preserve the section Entitled "History", Preserve its Title, + and add to it an item stating at least the title, year, new + authors, and publisher of the Modified Version as given on + the Title Page. If there is no section Entitled "History" in + the Document, create one stating the title, year, authors, + and publisher of the Document as given on its Title Page, + then add an item describing the Modified Version as stated in + the previous sentence. + + J. Preserve the network location, if any, given in the Document + for public access to a Transparent copy of the Document, and + likewise the network locations given in the Document for + previous versions it was based on. These may be placed in + the "History" section. You may omit a network location for a + work that was published at least four years before the + Document itself, or if the original publisher of the version + it refers to gives permission. + + K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the + section all the substance and tone of each of the contributor + acknowledgements and/or dedications given therein. + + L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section + titles. + + M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. + + N. Do not retitle any existing section to be Entitled + "Endorsements" or to conflict in title with any Invariant + Section. + + O. Preserve any Warranty Disclaimers. + + If the Modified Version includes new front-matter sections or + appendices that qualify as Secondary Sections and contain no + material copied from the Document, you may at your option + designate some or all of these sections as invariant. To do this, + add their titles to the list of Invariant Sections in the Modified + Version's license notice. These titles must be distinct from any + other section titles. + + You may add a section Entitled "Endorsements", provided it contains + nothing but endorsements of your Modified Version by various + parties--for example, statements of peer review or that the text + has been approved by an organization as the authoritative + definition of a standard. + + You may add a passage of up to five words as a Front-Cover Text, + and a passage of up to 25 words as a Back-Cover Text, to the end + of the list of Cover Texts in the Modified Version. Only one + passage of Front-Cover Text and one of Back-Cover Text may be + added by (or through arrangements made by) any one entity. If the + Document already includes a cover text for the same cover, + previously added by you or by arrangement made by the same entity + you are acting on behalf of, you may not add another; but you may + replace the old one, on explicit permission from the previous + publisher that added the old one. + + The author(s) and publisher(s) of the Document do not by this + License give permission to use their names for publicity for or to + assert or imply endorsement of any Modified Version. + + 5. COMBINING DOCUMENTS + + You may combine the Document with other documents released under + this License, under the terms defined in section 4 above for + modified versions, provided that you include in the combination + all of the Invariant Sections of all of the original documents, + unmodified, and list them all as Invariant Sections of your + combined work in its license notice, and that you preserve all + their Warranty Disclaimers. + + The combined work need only contain one copy of this License, and + multiple identical Invariant Sections may be replaced with a single + copy. If there are multiple Invariant Sections with the same name + but different contents, make the title of each such section unique + by adding at the end of it, in parentheses, the name of the + original author or publisher of that section if known, or else a + unique number. Make the same adjustment to the section titles in + the list of Invariant Sections in the license notice of the + combined work. + + In the combination, you must combine any sections Entitled + "History" in the various original documents, forming one section + Entitled "History"; likewise combine any sections Entitled + "Acknowledgements", and any sections Entitled "Dedications". You + must delete all sections Entitled "Endorsements." + + 6. COLLECTIONS OF DOCUMENTS + + You may make a collection consisting of the Document and other + documents released under this License, and replace the individual + copies of this License in the various documents with a single copy + that is included in the collection, provided that you follow the + rules of this License for verbatim copying of each of the + documents in all other respects. + + You may extract a single document from such a collection, and + distribute it individually under this License, provided you insert + a copy of this License into the extracted document, and follow + this License in all other respects regarding verbatim copying of + that document. + + 7. AGGREGATION WITH INDEPENDENT WORKS + + A compilation of the Document or its derivatives with other + separate and independent documents or works, in or on a volume of + a storage or distribution medium, is called an "aggregate" if the + copyright resulting from the compilation is not used to limit the + legal rights of the compilation's users beyond what the individual + works permit. When the Document is included in an aggregate, this + License does not apply to the other works in the aggregate which + are not themselves derivative works of the Document. + + If the Cover Text requirement of section 3 is applicable to these + copies of the Document, then if the Document is less than one half + of the entire aggregate, the Document's Cover Texts may be placed + on covers that bracket the Document within the aggregate, or the + electronic equivalent of covers if the Document is in electronic + form. Otherwise they must appear on printed covers that bracket + the whole aggregate. + + 8. TRANSLATION + + Translation is considered a kind of modification, so you may + distribute translations of the Document under the terms of section + 4. Replacing Invariant Sections with translations requires special + permission from their copyright holders, but you may include + translations of some or all Invariant Sections in addition to the + original versions of these Invariant Sections. You may include a + translation of this License, and all the license notices in the + Document, and any Warranty Disclaimers, provided that you also + include the original English version of this License and the + original versions of those notices and disclaimers. In case of a + disagreement between the translation and the original version of + this License or a notice or disclaimer, the original version will + prevail. + + If a section in the Document is Entitled "Acknowledgements", + "Dedications", or "History", the requirement (section 4) to + Preserve its Title (section 1) will typically require changing the + actual title. + + 9. TERMINATION + + You may not copy, modify, sublicense, or distribute the Document + except as expressly provided for under this License. Any other + attempt to copy, modify, sublicense or distribute the Document is + void, and will automatically terminate your rights under this + License. However, parties who have received copies, or rights, + from you under this License will not have their licenses + terminated so long as such parties remain in full compliance. + + 10. FUTURE REVISIONS OF THIS LICENSE + + The Free Software Foundation may publish new, revised versions of + the GNU Free Documentation License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. See + `http://www.gnu.org/copyleft/'. + + Each version of the License is given a distinguishing version + number. If the Document specifies that a particular numbered + version of this License "or any later version" applies to it, you + have the option of following the terms and conditions either of + that specified version or of any later version that has been + published (not as a draft) by the Free Software Foundation. If + the Document does not specify a version number of this License, + you may choose any version ever published (not as a draft) by the + Free Software Foundation. + +A.1.1 ADDENDUM: How to use this License for your documents +---------------------------------------------------------- + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + + Copyright (C) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + + If you have Invariant Sections, Front-Cover Texts and Back-Cover +Texts, replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with + the Front-Cover Texts being LIST, and with the Back-Cover Texts + being LIST. + + If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + + If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, to +permit their use in free software. + + +File: grub-dev.info, Node: Index, Prev: Copying This Manual, Up: Top + +Index +***** + +[index] +* Menu: + +* FDL, GNU Free Documentation License: GNU Free Documentation License. + (line 6) + + + +Tag Table: +Node: Top718 +Node: Getting the source code1780 +Node: Coding style2660 +Node: Naming Conventions3065 +Node: Functions3348 +Node: Variables4215 +Node: Types5321 +Node: Macros5919 +Node: Comments6250 +Node: Multi-Line Comments7012 +Node: Finding your way around7643 +Node: Contributing Changes10840 +Node: Getting started11924 +Node: Typical Developer Experience15970 +Node: When you are approved for write access to project's files17013 +Node: Error Handling18443 +Node: CIA23516 +Node: BIOS port memory map24588 +Node: Video Subsystem25458 +Node: Video API25930 +Node: Example usage of Video API44184 +Node: Bitmap API45740 +Node: PFF2 Font File Format48271 +Node: Introduction48509 +Node: File Structure50006 +Node: Font Metrics54909 +Node: Graphical Menu Software Design56011 +Node: Introduction_256303 +Node: Startup Sequence57037 +Node: GUI Components57900 +Node: Command Line Window60505 +Node: Copying This Manual61457 +Node: GNU Free Documentation License61713 +Node: Index84125 + +End Tag Table diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi new file mode 100644 index 0000000..93d2bdb --- /dev/null +++ b/docs/grub-dev.texi @@ -0,0 +1,1533 @@ +\input texinfo +@c -*-texinfo-*- +@c %**start of header +@setfilename grub-dev.info +@include version-dev.texi +@settitle GNU GRUB Developers Manual @value{VERSION} +@c Unify all our little indices for now. +@syncodeindex fn cp +@syncodeindex vr cp +@syncodeindex ky cp +@syncodeindex pg cp +@syncodeindex tp cp +@c %**end of header + +@footnotestyle separate +@paragraphindent 3 +@finalout + +@copying +This developer manual is for GNU GRUB (version @value{VERSION}, +@value{UPDATED}). + +Copyright @copyright{} 1999,2000,2001,2002,2004,2005,2006,2008,2009,2010,2011 Free Software Foundation, Inc. + +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections. +@end quotation +@end copying + +@dircategory Kernel +@direntry +* grub-dev: (grub-dev). The GRand Unified Bootloader Dev +@end direntry + +@setchapternewpage odd + +@titlepage +@sp 10 +@title the GNU GRUB developer manual +@subtitle The GRand Unified Bootloader, version @value{VERSION}, @value{UPDATED}. +@author Yoshinori K. Okuji +@author Colin D Bennett +@author Vesa Jääskeläinen +@author Colin Watson +@author Robert Millan +@author Carles Pina +@c The following two commands start the copyright page. +@page +@vskip 0pt plus 1filll +@insertcopying +@end titlepage + +@c Output the table of contents at the beginning. +@contents + +@finalout +@headings double + +@ifnottex +@node Top +@top GNU GRUB developer manual + +This is the developer documentation of GNU GRUB, the GRand Unified Bootloader, +a flexible and powerful boot loader program for a wide range of +architectures. + +This edition documents version @value{VERSION}. + +@insertcopying +@end ifnottex + +@menu +* Getting the source code:: +* Finding your way around:: +* Coding style:: +* Contributing Changes:: +* Error Handling:: +* CIA:: +* BIOS port memory map:: +* Video Subsystem:: +* PFF2 Font File Format:: +* Graphical Menu Software Design:: +* Copying This Manual:: Copying This Manual +* Index:: +@end menu + + +@node Getting the source code +@chapter Getting the source code + +GRUB is maintained using the @uref{http://bazaar-vcs.org/, Bazaar revision +control system}. To fetch the primary development branch: + +@example +bzr get http://bzr.savannah.gnu.org/r/grub/trunk/grub +@end example + +The GRUB developers maintain several other branches with work in progress. +Of these, the most interesting is the experimental branch, which is a +staging area for new code which we expect to eventually merge into trunk but +which is not yet ready: + +@example +bzr get http://bzr.savannah.gnu.org/r/grub/branches/experimental +@end example + +Once you have used @kbd{bzr get} to fetch an initial copy of a branch, you +can use @kbd{bzr pull} to keep it up to date. If you have modified your +local version, you may need to resolve conflicts when pulling. + +@node Coding style +@chapter Coding style +@c By YoshinoriOkuji, VesaJääskeläinen and ColinBennett + +Basically we follow the @uref{http://www.gnu.org/prep/standards_toc.html, GNU Coding Standards}. We define additional conventions for GRUB here. + +@menu +* Naming Conventions:: +* Functions:: +* Variables:: +* Types:: +* Macros:: +* Comments:: +* Multi-Line Comments:: +@end menu + +@node Naming Conventions +@section Naming Conventions + +All global symbols (i.e. functions, variables, types, and macros) must have the prefix grub_ or GRUB_. The all capital form is used only by macros. + +@node Functions +@section Functions + +If a function is global, its name must be prefixed with grub_ and must consist of only small letters. If the function belongs to a specific function module, the name must also be prefixed with the module name. For example, if a function is for file systems, its name is prefixed with grub_fs_. If a function is for FAT file system but not for all file systems, its name is prefixed with grub_fs_fat_. The hierarchy is noted this way. + +After a prefix, a function name must start with a verb (such as get or is). It must not be a noun. Some kind of abbreviation is permitted, as long as it wouldn't make code less readable (e.g. init). + +If a function is local, its name may not start with any prefix. It must start with a verb. + +@node Variables +@section Variables + +The rule is mostly the same as functions, as noted above. If a variable is global, its name must be prefixed with grub_ and must consist of only small letters. If the variable belongs to a specific function module, the name must also be prefixed with the module name. For example, if a function is for dynamic loading, its name is prefixed with grub_dl_. If a variable is for ELF but not for all dynamic loading systems, its name is prefixed with grub_dl_elf_. + +After a prefix, a variable name must start with a noun or an adjective (such as name or long) and it should end with a noun. Some kind of abbreviation is permitted, as long as it wouldn't make code less readable (e.g. i18n). + +If a variable is global in the scope of a single file (i.e. it is declared with static), its name may not start with any prefix. It must start with a noun or an adjective. + +If a variable is local, you may choose any shorter name, as long as it wouldn't make code less readable (e.g. i). + +@node Types +@section Types + +The name of a type must be prefixed with grub_ and must consist of only small letters. If the type belongs to a specific function module, the name must also be prefixed with the module name. For example, if a type is for OS loaders, its name is prefixed with grub_loader_. If a type is for Multiboot but not for all OS loaders, its name is prefixed with grub_loader_linux_. + +The name must be suffixed with _t, to emphasize the fact that it is a type but not a variable or a function. + +@node Macros +@section Macros + +If a macro is global, its name must be prefixed with GRUB_ and must consist of only large letters. Other rules are the same as functions or variables, depending on whether a macro is used like a function or a variable. + +@node Comments +@section Comments + +All comments shall be C-style comments, of the form @samp{/* @dots{} */}. + +Comments shall be placed only on a line by themselves. They shall not be placed together with code, variable declarations, or other non-comment entities. A comment should be placed immediately preceding the entity it describes. + +Acceptable: +@example +/* The page # that is the front buffer. */ +int displayed_page; +/* The page # that is the back buffer. */ +int render_page; +@end example + +Unacceptable: +@example +int displayed_page; /* The page # that is the front buffer. */ +int render_page; /* The page # that is the back buffer. */ +@end example + +@node Multi-Line Comments +@section Multi-Line Comments + +Comments spanning multiple lines shall be formatted with all lines after the first aligned with the first line. + +Asterisk characters should not be repeated a the start of each subsequent line. + +Acceptable: +@example +/* This is a comment + which spans multiple lines. + It is long. */ +@end example + +Unacceptable: +@example +/* + * This is a comment + * which spans multiple lines. + * It is long. */ +@end example + +The opening @samp{/*} and closing @samp{*/} should be placed together on a line with text. + +@node Finding your way around +@chapter Finding your way around + +Here is a brief map of the GRUB code base. + +GRUB uses Autoconf and Automake, with most of the Automake input generated +by AutoGen. The top-level build rules are in @file{configure.ac}, +@file{grub-core/Makefile.core.def}, and @file{Makefile.util.def}. Each +block in a @file{*.def} file represents a build target, and specifies the +source files used to build it on various platforms. The @file{*.def} files +are processed into AutoGen input by @file{gentpl.py} (which you only need to +look at if you are extending the build system). If you are adding a new +module which follows an existing pattern, such as a new command or a new +filesystem implementation, it is usually easiest to grep +@file{grub-core/Makefile.core.def} and @file{Makefile.util.def} for an +existing example of that pattern to find out where it should be added. + +In general, code that may be run at boot time is in a subdirectory of +@file{grub-core}, while code that is only run from within a full operating +system is in a subdirectory of the top level. + +Low-level boot code, such as the MBR implementation on PC BIOS systems, is +in the @file{grub-core/boot/} directory. + +The GRUB kernel is in @file{grub-core/kern/}. This contains core facilities +such as the device, disk, and file frameworks, environment variable +handling, list processing, and so on. The kernel should contain enough to +get up to a rescue prompt. Header files for kernel facilities, among +others, are in @file{include/}. + +Terminal implementations are in @file{grub-core/term/}. + +Disk access code is spread across @file{grub-core/disk/} (for accessing the +disk devices themselves), @file{grub-core/partmap/} (for interpreting +partition table data), and @file{grub-core/fs/} (for accessing filesystems). +Note that, with the odd specialised exception, GRUB only contains code to +@emph{read} from filesystems and tries to avoid containing any code to +@emph{write} to filesystems; this lets us confidently assure users that GRUB +cannot be responsible for filesystem corruption. + +PCI and USB bus handling is in @file{grub-core/bus/}. + +Video handling code is in @file{grub-core/video/}. The graphical menu +system uses this heavily, but is in a separate directory, +@file{grub-core/gfxmenu/}. + +Most commands are implemented by files in @file{grub-core/commands/}, with +the following exceptions: + +@itemize +@item +A few core commands live in @file{grub-core/kern/corecmd.c}. + +@item +Commands related to normal mode live under @file{grub-core/normal/}. + +@item +Commands that load and boot kernels live under @file{grub-core/loader/}. + +@item +The @samp{loopback} command is really a disk device, and so lives in +@file{grub-core/disk/loopback.c}. + +@item +The @samp{gettext} command lives under @file{grub-core/gettext/}. + +@item +The @samp{loadfont} and @samp{lsfonts} commands live under +@file{grub-core/font/}. + +@item +The @samp{serial}, @samp{terminfo}, and @samp{background_image} commands +live under @file{grub-core/term/}. + +@item +The @samp{efiemu_*} commands live under @file{grub-core/efiemu/}. +@end itemize + +There are a few other special-purpose exceptions; grep for them if they +matter to you. + +Utility programs meant to be run from a full operating system are in +@file{util/}. + +@node Contributing Changes +@chapter Contributing changes +@c By YoshinoriOkuji, VesaJääskeläinen, ColinWatson + +Contributing changes to GRUB 2 is welcomed activity. However we have a +bit of control what kind of changes will be accepted to GRUB 2. +Therefore it is important to discuss your changes on grub-devel mailing list +(see MailingLists). On this page there are some basic details on the +development process and activities. + +First of all you should come up with the idea yourself what you want to +contribute. If you do not have that beforehand you are advised to study this +manual and try GRUB 2 out to see what you think is missing from there. + +Here are additional pointers: +@itemize +@item @url{https://savannah.gnu.org/task/?group=grub GRUB's Task Tracker} +@item @url{https://savannah.gnu.org/bugs/?group=grub GRUB's Bug Tracker} +@end itemize + +If you intended to make changes to GRUB Legacy (<=0.97) those are not accepted +anymore. + +@menu +* Getting started:: +* Typical Developer Experience:: +* When you are approved for write access to project's files:: +@end menu + +@node Getting started +@section Getting started + +@itemize +@item Always use latest GRUB 2 source code. So get that first. + +For developers it is recommended always to use the newest development version of GRUB 2. If development takes a long period of time, please remember to keep in sync with newest developments regularly so it is much easier to integrate your change in the future. GRUB 2 is being developed in a Bazaar (bzr) repository. + +Please check Savannah's GRUB project page for details how to get newest bzr: +@uref{http://savannah.gnu.org/bzr/?group=grub, GRUB 2 bzr Repository} + +@item Compile it and try it out. + +It is always good idea to first see that things work somehow and after that +to start to implement new features or develop fixes to bugs. + +@item Study the code. + +There are sometimes odd ways to do things in GRUB 2 code base. +This is mainly related to limited environment where GRUB 2 is being executed. +You usually do not need to understand it all so it is better to only try to +look at places that relates to your work. Please do not hesitate to ask for +help if there is something that you do not understand. + +@item Develop a new feature. + +Now that you know what to do and how it should work in GRUB 2 code base, please +be free to develop it. If you have not so far announced your idea on grub-devel +mailing list, please do it now. This is to make sure you are not wasting your +time working on the solution that will not be integrated to GRUB 2 code base. + +You might want to study our coding style before starting development so you +do not need to change much of the code when your patch is being reviewed. +(see @ref{Coding style}) + +For every accepted patch there has to exist a ChangeLog entry. Our ChangeLog +consist of changes within source code and are not describing about what the +change logically does. Please see examples from previous entries. + +Also remember that GRUB 2 is licensed under GPLv3 license and that usually +means that you are not allowed to copy pieces of code from other projects. +Even if the source project's license would be compatible with GPLv3, please +discuss it beforehand on grub-devel mailing list. + +@item Test your change. + +Test that your change works properly. Try it out a couple of times, preferably on different systems, and try to find problems with it. + +@item Publish your change. + +When you are happy with your change, first make sure it is compilable with +latest development version of GRUB 2. After that please send a patch to +grub-devel for review. Please describe in your email why you made the change, +what it changes and so on. Please be prepared to receive even discouraging +comments about your patch. There is usually at least something that needs +to be improved in every patch. + +Please use unified diff to make your patch (good match of arguments for diff is @samp{-pruN}). + +@item Respond to received feedback. + +If you are asked to modify your patch, please do that and resubmit it for +review. If your change is large you are required to submit a copyright +agreement to FSF. Please keep in mind that if you are asked to submit +for copyright agreement, process can take some time and is mandatory +in order to get your changes integrated. + +If you are not on grub-devel to respond to questions, most likely your patch +will not be accepted. Also if problems arise from your changes later on, +it would be preferable that you also fix the problem. So stay around +for a while. + +@item Your patch is accepted. + +Good job! Your patch will now be integrated into GRUB 2 mainline, and if it didn't break anything it will be publicly available in the next release. + +Now you are welcome to do further improvements :) +@end itemize + +@node Typical Developer Experience +@section Typical Developer Experience + +The typical experience for a developer in this project is the following: + +@enumerate +@item You find yourself wanting to do something (e.g. fixing a bug). +@item You show some result in the mailing list or the IRC. +@item You are getting to be known to other developers. +@item You accumulate significant amount of contribution, so copyright assignment is processed. +@item You are free to check in your changes on your own, legally speaking. +@end enumerate + +At this point, it is rather annoying that you ought to ask somebody else every +change to be checked in. For efficiency, it is far better, if you can commit +it yourself. Therefore, our policy is to give you the write permission to our +official repository, once you have shown your skill and will, +and the FSF clerks have dealt with your copyright assignment. + +@node When you are approved for write access to project's files +@section When you are approved for write access to project's files + +As you might know, GRUB is hosted on +@url{https://savannah.gnu.org/projects/grub Savannah}, thus the membership +is managed by Savannah. This means that, if you want to be a member of this +project: + +@enumerate +@item You need to create your own account on Savannah. +@item You can submit ``Request for Inclusion'' from ``My Groups'' on Savannah. +@end enumerate + +Then, one of the admins can approve your request, and you will be a member. +If you don't want to use the Savannah interface to submit a request, you can +simply notify the admins by email or something else, alternatively. But you +still need to create an account beforehand. + +NOTE: we sometimes receive a ``Request for Inclusion'' from an unknown person. +In this case, the request would be just discarded, since it is too dangerous +to allow a stranger to be a member, which automatically gives him a commit +right to the repository, both for a legal reason and for a technical reason. + +If your intention is to just get started, please do not submit a inclusion +request. Instead, please subscribe to the mailing list, and communicate first +(e.g. sending a patch, asking a question, commenting on another message...). + +@node Error Handling +@chapter Error Handling + +Error handling in GRUB 2 is based on exception handling model. As C language +doesn't directly support exceptions, exception handling behavior is emulated +in software. + +When exception is raised, function must return to calling function. If calling +function does not provide handling of the exception it must return back to its +calling function and so on, until exception is handled. If exception is not +handled before prompt is displayed, error message will be shown to user. + +Exception information is stored on @code{grub_errno} global variable. If +@code{grub_errno} variable contains value @code{GRUB_ERR_NONE}, there is no active +exception and application can continue normal processing. When @code{grub_errno} has +other value, it is required that application code either handles this error or +returns instantly to caller. If function is with return type @code{grub_err_t} is +about to return @code{GRUB_ERR_NONE}, it should not set @code{grub_errno} to that +value. Only set @code{grub_errno} in cases where there is error situation. + +Simple exception forwarder. +@example +grub_err_t +forwarding_example (void) +@{ + /* Call function that might cause exception. */ + foobar (); + + /* No special exception handler, just forward possible exceptions. */ + if (grub_errno != GRUB_ERR_NONE) + @{ + return grub_errno; + @} + + /* All is OK, do more processing. */ + + /* Return OK signal, to caller. */ + return GRUB_ERR_NONE; +@} +@end example + +Error reporting has two components, the actual error code (of type +@code{grub_err_t}) and textual message that will be displayed to user. List of +valid error codes is listed in header file @file{include/grub/err.h}. Textual +error message can contain any textual data. At time of writing, error message +can contain up to 256 characters (including terminating NUL). To ease error +reporting there is a helper function @code{grub_error} that allows easier +formatting of error messages and should be used instead of writing directly to +global variables. + +Example of error reporting. +@example +grub_err_t +failing_example () +@{ + return grub_error (GRUB_ERR_FILE_NOT_FOUND, + "Failed to read %s, tried %d times.", + "test.txt", + 10); +@} +@end example + +If there is a special reason that error code does not need to be taken account, +@code{grub_errno} can be zeroed back to @code{GRUB_ERR_NONE}. In cases like this all +previous error codes should have been handled correctly. This makes sure that +there are no unhandled exceptions. + +Example of zeroing @code{grub_errno}. +@example +grub_err_t +probe_example () +@{ + /* Try to probe device type 1. */ + probe_for_device (); + if (grub_errno == GRUB_ERR_NONE) + @{ + /* Device type 1 was found on system. */ + register_device (); + return GRUB_ERR_NONE; + @} + /* Zero out error code. */ + grub_errno = GRUB_ERR_NONE; + + /* No device type 1 found, try to probe device type 2. */ + probe_for_device2 (); + if (grub_errno == GRUB_ERR_NONE) + @{ + /* Device type 2 was found on system. */ + register_device2 (); + return GRUB_ERR_NONE; + @} + /* Zero out error code. */ + grub_errno = GRUB_ERR_NONE; + + /* Return custom error message. */ + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "No device type 1 or 2 found."); +@} +@end example + +Some times there is a need to continue processing even if there is a error +state in application. In situations like this, there is a needed to save old +error state and then call other functions that might fail. To aid in this, +there is a error stack implemented. Error state can be pushed to error stack +by calling function @code{grub_error_push ()}. When processing has been completed, +@code{grub_error_pop ()} can be used to pop error state from stack. Error stack +contains predefined amount of error stack items. Error stack is protected for +overflow and marks these situations so overflow error does not get unseen. +If there is no space available to store error message, it is simply discarded +and overflow will be marked as happened. When overflow happens, it most likely +will corrupt error stack consistency as for pushed error there is no matching +pop, but overflow message will be shown to inform user about the situation. +Overflow message will be shown at time when prompt is about to be drawn. + +Example usage of error stack. +@example +/* Save possible old error message. */ +grub_error_push (); + +/* Do your stuff here. */ +call_possibly_failing_function (); + +if (grub_errno != GRUB_ERR_NONE) + @{ + /* Inform rest of the code that there is error (grub_errno + is set). There is no pop here as we want both error states + to be displayed. */ + return; + @} + +/* Restore old error state by popping previous item from stack. */ +grub_error_pop (); +@end example + +@node CIA +@chapter CIA +@c By Robert Millan and Carles Pina +If you have commit access, please setup CIA in your Bazaar +config so those in IRC receive notification of your commits. + +In @file{~/.bazaar/bazaar.conf}, add "cia_send_revno = true". +Optionally, you can also add "cia_user = myusername" if you'd +like CIA service to use a specific account (for statistical purpose). + +In the @file{.bzr/branch/branch.conf} of your checkout branch, +"set nickname = /path_to_this_branch" and "cia_project = GNU GRUB". + +Additionally, please set cia_send_revno in the [DEFAULT] section +of your @file{~/.bazaar/bazaar.conf}. E.g.: + +@example +[DEFAULT] +cia_send_revno = true +@end example + +Remember to install cia-clients (Debian/Ubuntu package) to be able to use CIA. + +Keep in mind Bazaar sends notifications for all commits to branches that have +this setting, regardless of whether they're bound branches (checkouts) or not. +So if you make local commits in a non-bound branch and it bothers you that +others can read them, do not use this setting. + +@node BIOS port memory map +@chapter BIOS port memory map +@c By Yoshinori K Okuji + +@multitable @columnfractions .15 .25 .5 +@headitem Start @tab End @tab Usage +@item 0 @tab 0x1000 - 1 @tab BIOS and real mode interrupts +@item 0x07BE @tab 0x07FF @tab Partition table passed to another boot loader +@item ? @tab 0x2000 - 1 @tab Real mode stack +@item 0x7C00 @tab 0x7D00 - 1 @tab Boot sector +@item 0x8000 @tab ? @tab GRUB kernel +@item 0x68000 @tab 0x78000 - 1 @tab Disk buffer +@item ? @tab 0x80000 - 1 @tab Protected mode stack +@item 0x80000 @tab ? @tab Heap +@item ? @tab 0xA0000 - 1 @tab Extended BIOS Data Area +@item 0xA0000 @tab 0xC0000 - 1 @tab Video RAM +@item 0xC0000 @tab 0x100000 - 1 @tab BIOS +@item 0x100000 @tab ? @tab Heap and module code +@end multitable + +@node Video Subsystem +@chapter Video Subsystem +@c By VesaJääskeläinen +This document contains specification for Video Subsystem for GRUB2. +Currently only the usage interface is described in this document. +Internal structure of how video drivers are registering and how video +driver manager works are not included here. + +@menu +* Video API:: +* Bitmap API:: +* Example usage of Video API:: +@end menu + +@node Video API +@section Video API + +@subsection grub_video_setup + +@itemize +@item Prototype: +@example +grub_err_t +grub_video_setup (unsigned int width, unsigned int height, unsigned int mode_type); +@end example +@item Description: + +Driver will use information provided to it to select best possible video mode and switch to it. Supported values for @code{mode_type} are @code{GRUB_VIDEO_MODE_TYPE_INDEX_COLOR} for index color modes, @code{GRUB_VIDEO_MODE_TYPE_RGB} for direct RGB color modes and @code{GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED} for double buffering. When requesting RGB mode, highest bits per pixel mode will be selected. When requesting Index color mode, mode with highest number of colors will be selected. If all parameters are specified as zero, video adapter will try to figure out best possible mode and initialize it, platform specific differences are allowed here. If there is no mode matching request, error X will be returned. If there are no problems, function returns @code{GRUB_ERR_NONE}. + +This function also performs following task upon succesful mode switch. Active rendering target is changed to screen and viewport is maximized to allow whole screen to be used when performing graphics operations. In RGB modes, emulated palette gets 16 entries containing default values for VGA palette, other colors are defined as black. When switching to Indexed Color mode, driver may set default VGA palette to screen if the video card allows the operation. + +@end itemize + +@subsection grub_video_restore +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_restore (void); +@end example +@item Description: + +Video subsystem will deinitialize activated video driver to restore old state of video device. This can be used to switch back to text mode. +@end itemize + +@subsection grub_video_get_info +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_get_info (struct grub_video_mode_info *mode_info); +@end example +@example +struct grub_video_mode_info +@{ + /* Width of the screen. */ + unsigned int width; + /* Height of the screen. */ + unsigned int height; + /* Mode type bitmask. Contains information like is it Index color or + RGB mode. */ + unsigned int mode_type; + /* Bits per pixel. */ + unsigned int bpp; + /* Bytes per pixel. */ + unsigned int bytes_per_pixel; + /* Pitch of one scanline. How many bytes there are for scanline. */ + unsigned int pitch; + /* In index color mode, number of colors. In RGB mode this is 256. */ + unsigned int number_of_colors; + /* Optimization hint how binary data is coded. */ + enum grub_video_blit_format blit_format; + /* How many bits are reserved for red color. */ + unsigned int red_mask_size; + /* What is location of red color bits. In Index Color mode, this is 0. */ + unsigned int red_field_pos; + /* How many bits are reserved for green color. */ + unsigned int green_mask_size; + /* What is location of green color bits. In Index Color mode, this is 0. */ + unsigned int green_field_pos; + /* How many bits are reserved for blue color. */ + unsigned int blue_mask_size; + /* What is location of blue color bits. In Index Color mode, this is 0. */ + unsigned int blue_field_pos; + /* How many bits are reserved in color. */ + unsigned int reserved_mask_size; + /* What is location of reserved color bits. In Index Color mode, + this is 0. */ + unsigned int reserved_field_pos; +@}; +@end example +@item Description: + +Software developer can use this function to query properties of active rendering taget. Information provided here can be used by other parts of GRUB, like image loaders to convert loaded images to correct screen format to allow more optimized blitters to be used. If there there is no configured video driver with active screen, error @code{GRUB_ERR_BAD_DEVICE} is returned, otherwise @code{mode_info} is filled with valid information and @code{GRUB_ERR_NONE} is returned. +@end itemize + +@subsection grub_video_get_blit_format +@itemize +@item Prototype: + +@example +enum grub_video_blit_format +grub_video_get_blit_format (struct grub_video_mode_info *mode_info); +@end example +@example +enum grub_video_blit_format + @{ + /* Follow exactly field & mask information. */ + GRUB_VIDEO_BLIT_FORMAT_RGBA, + /* Make optimization assumption. */ + GRUB_VIDEO_BLIT_FORMAT_R8G8B8A8, + /* Follow exactly field & mask information. */ + GRUB_VIDEO_BLIT_FORMAT_RGB, + /* Make optimization assumption. */ + GRUB_VIDEO_BLIT_FORMAT_R8G8B8, + /* When needed, decode color or just use value as is. */ + GRUB_VIDEO_BLIT_FORMAT_INDEXCOLOR + @}; +@end example +@item Description: + +Used to query how data could be optimized to suit specified video mode. Returns exact video format type, or a generic one if there is no definition for the type. For generic formats, use @code{grub_video_get_info} to query video color coding settings. +@end itemize + +@subsection grub_video_set_palette +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_set_palette (unsigned int start, unsigned int count, struct grub_video_palette_data *palette_data); +@end example +@example +struct grub_video_palette_data +@{ + grub_uint8_t r; /* Red color value (0-255). */ + grub_uint8_t g; /* Green color value (0-255). */ + grub_uint8_t b; /* Blue color value (0-255). */ + grub_uint8_t a; /* Reserved bits value (0-255). */ +@}; +@end example +@item Description: + +Used to setup indexed color palettes. If mode is RGB mode, colors will be set to emulated palette data. In Indexed Color modes, palettes will be set to hardware. Color values will be converted to suit requirements of the video mode. @code{start} will tell what hardware color index (or emulated color index) will be set to according information in first indice of @code{palette_data}, after that both hardware color index and @code{palette_data} index will be incremented until @code{count} number of colors have been set. +@end itemize + +@subsection grub_video_get_palette +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_get_palette (unsigned int start, unsigned int count, struct grub_video_palette_data *palette_data); +@end example +@example +struct grub_video_palette_data +@{ + grub_uint8_t r; /* Red color value (0-255). */ + grub_uint8_t g; /* Green color value (0-255). */ + grub_uint8_t b; /* Blue color value (0-255). */ + grub_uint8_t a; /* Reserved bits value (0-255). */ +@}; +@end example +@item Description: + +Used to query indexed color palettes. If mode is RGB mode, colors will be copied from emulated palette data. In Indexed Color modes, palettes will be read from hardware. Color values will be converted to suit structure format. @code{start} will tell what hardware color index (or emulated color index) will be used as a source for first indice of @code{palette_data}, after that both hardware color index and @code{palette_data} index will be incremented until @code{count} number of colors have been read. +@end itemize + +@subsection grub_video_set_viewport +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_set_viewport (unsigned int x, unsigned int y, unsigned int width, unsigned int height); +@end example +@item Description: + +Used to specify viewport where draw commands are performed. When viewport is set, all draw commands coordinates relate to those specified by @code{x} and @code{y}. If draw commands try to draw over viewport, they are clipped. If developer requests larger than possible viewport, width and height will be clamped to fit screen. If @code{x} and @code{y} are out of bounds, all functions drawing to screen will not be displayed. In order to maximize viewport, use @code{grub_video_get_info} to query actual screen dimensions and provide that information to this function. +@end itemize + +@subsection grub_video_get_viewport +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_get_viewport (unsigned int *x, unsigned int *y, unsigned int *width, unsigned int *height); +@end example +@item Description: + +Used to query current viewport dimensions. Software developer can use this to choose best way to render contents of the viewport. +@end itemize + +@subsection grub_video_map_color +@itemize +@item Prototype: + +@example +grub_video_color_t +grub_video_map_color (grub_uint32_t color_name); +@end example +@item Description: + +Map color can be used to support color themes in GRUB. There will be collection of color names that can be used to query actual screen mapped color data. Examples could be @code{GRUB_COLOR_CONSOLE_BACKGROUND}, @code{GRUB_COLOR_CONSOLE_TEXT}. The actual color defines are not specified at this point. +@end itemize + +@subsection grub_video_map_rgb +@itemize +@item Prototype: + +@example +grub_video_color_t +grub_video_map_rgb (grub_uint8_t red, grub_uint8_t green, grub_uint8_t blue); +@end example +@item Description: + +Map RGB values to compatible screen color data. Values are expected to be in range 0-255 and in RGB modes they will be converted to screen color data. In index color modes, index color palette will be searched for specified color and then index is returned. +@end itemize + +@subsection grub_video_map_rgba +@itemize +@item Prototype: + +@example +grub_video_color_t +grub_video_map_rgba (grub_uint8_t red, grub_uint8_t green, grub_uint8_t blue, grub_uint8_t alpha); +@end example +@item Description: + +Map RGBA values to compatible screen color data. Values are expected to be in range 0-255. In RGBA modes they will be converted to screen color data. In index color modes, index color palette will be searched for best matching color and its index is returned. +@end itemize + +@subsection grub_video_unmap_color +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_unmap_color (grub_video_color_t color, grub_uint8_t *red, grub_uint8_t *green, grub_uint8_t *blue, grub_uint8_t *alpha); +@end example +@item Description: + +Unmap color value from @code{color} to color channels in @code{red}, @code{green}, @code{blue} and @code{alpha}. Values will be in range 0-255. Active rendering target will be used for color domain. In case alpha information is not available in rendering target, it is assumed to be opaque (having value 255). +@end itemize + +@subsection grub_video_fill_rect +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_fill_rect (grub_video_color_t color, int x, int y, unsigned int width, unsigned int height); +@end example +@item Description: + +Fill specified area limited by given coordinates within specified viewport. Negative coordinates are accepted in order to allow easy moving of rectangle within viewport. If coordinates are negative, area of the rectangle will be shrinken to follow size limits of the viewport. + +Software developer should use either @code{grub_video_map_color}, @code{grub_video_map_rgb} or @code{grub_video_map_rgba} to map requested color to @code{color} parameter. +@end itemize + +@subsection grub_video_blit_glyph +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_blit_glyph (struct grub_font_glyph *glyph, grub_video_color_t color, int x, int y); +@end example +@example +struct grub_font_glyph @{ + /* TBD. */ +@}; +@end example +@item Description: + +Used to blit glyph to viewport in specified coodinates. If glyph is at edge of viewport, pixels outside of viewport will be clipped out. Software developer should use either @code{grub_video_map_rgb} or @code{grub_video_map_rgba} to map requested color to @code{color} parameter. +@end itemize + +@subsection grub_video_blit_bitmap +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_blit_bitmap (struct grub_video_bitmap *bitmap, enum grub_video_blit_operators oper, int x, int y, int offset_x, int offset_y, unsigned int width, unsigned int height); +@end example +@example +struct grub_video_bitmap +@{ + /* TBD. */ +@}; + +enum grub_video_blit_operators + @{ + GRUB_VIDEO_BLIT_REPLACE, + GRUB_VIDEO_BLIT_BLEND + @}; +@end example +@item Description: + +Used to blit bitmap to viewport in specified coordinates. If part of bitmap is outside of viewport region, it will be clipped out. Offsets affect bitmap position where data will be copied from. Negative values for both viewport coordinates and bitmap offset coordinates are allowed. If data is looked out of bounds of bitmap, color value will be assumed to be transparent. If viewport coordinates are negative, area of the blitted rectangle will be shrinken to follow size limits of the viewport and bitmap. Blitting operator @code{oper} specifies should source pixel replace data in screen or blend with pixel alpha value. + +Software developer should use @code{grub_video_bitmap_create} or @code{grub_video_bitmap_load} to create or load bitmap data. +@end itemize + +@subsection grub_video_blit_render_target +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_blit_render_target (struct grub_video_render_target *source, enum grub_video_blit_operators oper, int x, int y, int offset_x, int offset_y, unsigned int width, unsigned int height); +@end example +@example +struct grub_video_render_target @{ + /* This is private data for video driver. Should not be accessed from elsewhere directly. */ +@}; + +enum grub_video_blit_operators + @{ + GRUB_VIDEO_BLIT_REPLACE, + GRUB_VIDEO_BLIT_BLEND + @}; +@end example +@item Description: + +Used to blit source render target to viewport in specified coordinates. If part of source render target is outside of viewport region, it will be clipped out. If blitting operator is specified and source contains alpha values, resulting pixel color components will be calculated using formula ((src_color * src_alpha) + (dst_color * (255 - src_alpha)) / 255, if target buffer has alpha, it will be set to src_alpha. Offsets affect render target position where data will be copied from. If data is looked out of bounds of render target, color value will be assumed to be transparent. Blitting operator @code{oper} specifies should source pixel replace data in screen or blend with pixel alpha value. +@end itemize + +@subsection grub_video_scroll +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_scroll (grub_video_color_t color, int dx, int dy); +@end example +@item Description: + +Used to scroll viewport to specified direction. New areas are filled with specified color. This function is used when screen is scroller up in video terminal. +@end itemize + +@subsection grub_video_swap_buffers +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_swap_buffers (void); +@end example +@item Description: + +If double buffering is enabled, this swaps frontbuffer and backbuffer, in order to show values drawn to back buffer. Video driver is free to choose how this operation is techincally done. +@end itemize + +@subsection grub_video_create_render_target +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_create_render_target (struct grub_video_render_target **result, unsigned int width, unsigned int height, unsigned int mode_type); +@end example +@example +struct grub_video_render_target @{ + /* This is private data for video driver. Should not be accessed from elsewhere directly. */ +@}; +@end example +@item Description: + +Driver will use information provided to it to create best fitting render target. @code{mode_type} will be used to guide on selecting what features are wanted for render target. Supported values for @code{mode_type} are @code{GRUB_VIDEO_MODE_TYPE_INDEX_COLOR} for index color modes, @code{GRUB_VIDEO_MODE_TYPE_RGB} for direct RGB color modes and @code{GRUB_VIDEO_MODE_TYPE_ALPHA} for alpha component. +@end itemize + +@subsection grub_video_delete_render_target +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_delete_render_target (struct grub_video_render_target *target); +@end example +@item Description: + +Used to delete previously created render target. If @code{target} contains @code{NULL} pointer, nothing will be done. If render target is correctly destroyed, GRUB_ERR_NONE is returned. +@end itemize + +@subsection grub_video_set_active_render_target +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_set_active_render_target (struct grub_video_render_target *target); +@end example +@item Description: + +Sets active render target. If this comand is successful all drawing commands will be done to specified @code{target}. There is also special values for target, @code{GRUB_VIDEO_RENDER_TARGET_DISPLAY} used to reference screen's front buffer, @code{GRUB_VIDEO_RENDER_TARGET_FRONT_BUFFER} used to reference screen's front buffer (alias for @code{GRUB_VIDEO_RENDER_TARGET_DISPLAY}) and @code{GRUB_VIDEO_RENDER_TARGET_BACK_BUFFER} used to reference back buffer (if double buffering is enabled). If render target is correclty switched GRUB_ERR_NONE is returned. In no any event shall there be non drawable active render target. + +@end itemize +@subsection grub_video_get_active_render_target +@itemize +@item Prototype: + +@example +grub_err_t +grub_video_get_active_render_target (struct grub_video_render_target **target); +@end example +@item Description: + +Returns currently active render target. It returns value in @code{target} that can be subsequently issued back to @code{grub_video_set_active_render_target}. +@end itemize + +@node Example usage of Video API +@section Example usage of Video API +@subsection Example of screen setup +@example +grub_err_t rc; +/* Try to initialize video mode 1024 x 768 with direct RGB. */ +rc = grub_video_setup (1024, 768, GRUB_VIDEO_MODE_TYPE_RGB); +if (rc != GRUB_ERR_NONE) +@{ + /* Fall back to standard VGA Index Color mode. */ + rc = grub_video_setup (640, 480, GRUB_VIDEO_MODE_TYPE_INDEX); + if (rc != GRUB_ERR_NONE) + @{ + /* Handle error. */ + @} +@} +@end example +@subsection Example of setting up console viewport +@example +grub_uint32_t x, y, width, height; +grub_video_color_t color; +struct grub_font_glyph glyph; +grub_err_t rc; +/* Query existing viewport. */ +grub_video_get_viewport (&x, &y, &width, &height); +/* Fill background. */ +color = grub_video_map_color (GRUB_COLOR_BACKGROUND); +grub_video_fill_rect (color, 0, 0, width, height); +/* Setup console viewport. */ +grub_video_set_viewport (x + 10, y + 10, width - 20, height - 20); +grub_video_get_viewport (&x, &y, &width, &height); +color = grub_video_map_color (GRUB_COLOR_CONSOLE_BACKGROUND); +grub_video_fill_rect (color, 0, 0, width, height); +/* Draw text to viewport. */ +color = grub_video_map_color (GRUB_COLOR_CONSOLE_TEXT); +grub_font_get_glyph ('X', &glyph); +grub_video_blit_glyph (&glyph, color, 0, 0); +@end example + +@node Bitmap API +@section Bitmap API +@itemize +@subsection grub_video_bitmap_create +@item Prototype: +@example +grub_err_t grub_video_bitmap_create (struct grub_video_bitmap **bitmap, unsigned int width, unsigned int height, enum grub_video_blit_format blit_format) +@end example + +@item Description: + +Creates a new bitmap with given dimensions and blitting format. Allocated bitmap data can then be modified freely and finally blitted with @code{grub_video_blit_bitmap} to rendering target. +@end itemize + +@subsection grub_video_bitmap_destroy +@itemize +@item Prototype: +@example +grub_err_t grub_video_bitmap_destroy (struct grub_video_bitmap *bitmap); +@end example + +@item Description: + +When bitmap is no longer needed, it can be freed from memory using this command. @code{bitmap} is previously allocated bitmap with @code{grub_video_bitmap_create} or loaded with @code{grub_video_bitmap_load}. +@end itemize + +@subsection grub_video_bitmap_load +@itemize +@item Prototype: +@example +grub_err_t grub_video_bitmap_load (struct grub_video_bitmap **bitmap, const char *filename); +@end example + +@item Description: + +Tries to load given bitmap (@code{filename}) using registered bitmap loaders. In case bitmap format is not recognized or supported error @code{GRUB_ERR_BAD_FILE_TYPE} is returned. +@end itemize + +@subsection grub_video_bitmap_get_width +@itemize +@item Prototype: +@example +unsigned int grub_video_bitmap_get_width (struct grub_video_bitmap *bitmap); +@end example + +@item Description: + +Returns bitmap width. +@end itemize + +@subsection grub_video_bitmap_get_height +@itemize +@item Prototype: +@example +unsigned int grub_video_bitmap_get_height (struct grub_video_bitmap *bitmap); +@end example + +@item Description: + +Return bitmap height. +@end itemize + +@subsection grub_video_bitmap_get_mode_info +@itemize +@item Prototype: +@example +void grub_video_bitmap_get_mode_info (struct grub_video_bitmap *bitmap, struct grub_video_mode_info *mode_info); +@end example + +@item Description: + +Returns bitmap format details in form of @code{grub_video_mode_info}. +@end itemize + +@subsection grub_video_bitmap_get_data +@itemize +@item Prototype: +@example +void *grub_video_bitmap_get_data (struct grub_video_bitmap *bitmap); +@end example + +@item Description: + +Return pointer to bitmap data. Contents of the pointed data can be freely modified. There is no extra protection against going off the bounds so you have to be carefull how to access the data. +@end itemize + +@node PFF2 Font File Format +@chapter PFF2 Font File Format + +@c Author: Colin D. Bennett +@c Date: 8 January 2009 + +@menu +* Introduction:: +* File Structure:: +* Font Metrics:: +@end menu + + +@node Introduction +@section Introduction + +The goal of this format is to provide a bitmap font format that is simple to +use, compact, and cleanly supports Unicode. + + +@subsection Goals of the GRUB Font Format + +@itemize +@item Simple to read and use. +Since GRUB will only be reading the font files, +we are more concerned with making the code to read the font simple than we +are with writing the font. + +@item Compact storage. +The fonts will generally be stored in a small boot +partition where GRUB is located, and this may be on a removable storage +device such as a CD or USB flash drive where space is more limited than it +is on most hard drives. + +@item Unicode. +GRUB should not have to deal with multiple character +encodings. The font should always use Unicode character codes for simple +internationalization. +@end itemize + +@subsection Why Another Font Format? + +There are many existing bitmap font formats that GRUB could use. However, +there are aspects of these formats that may make them less than suitable for +use in GRUB at this time: + +@table @samp +@item BDF +Inefficient storage; uses ASCII to describe properties and +hexadecimal numbers in ASCII for the bitmap rows. +@item PCF +Many format variations such as byte order and bitmap padding (rows +padded to byte, word, etc.) would result in more complex code to +handle the font format. +@end table + +@node File Structure +@section File Structure + +A file @strong{section} consists of a 4-byte name, a 32-bit big-endian length (not +including the name or length), and then @var{length} more section-type-specific +bytes. + +The standard file extension for PFF2 font files is @file{.pf2}. + + +@subsection Section Types + +@table @samp +@item FILE +@strong{File type ID} (ASCII string). This must be the first section in the file. It has length 4 +and the contents are the four bytes of the ASCII string @samp{PFF2}. + +@item NAME +@strong{Font name} (ASCII string). This is the full font name including family, +weight, style, and point size. For instance, "Helvetica Bold Italic 14". + +@item FAMI +@strong{Font family name} (ASCII string). For instance, "Helvetica". This should +be included so that intelligent font substitution can take place. + +@item WEIG +@strong{Font weight} (ASCII string). Valid values are @samp{bold} and @samp{normal}. +This should be included so that intelligent font substitution can take +place. + +@item SLAN +@strong{Font slant} (ASCII string). Valid values are @samp{italic} and @samp{normal}. +This should be included so that intelligent font substitution can take +place. + +@item PTSZ +@strong{Font point size} (uint16be). + +@item MAXW +@strong{Maximum character width in pixels} (uint16be). + +@item MAXH +@strong{Maximum character height in pixels} (uint16be). + +@item ASCE +@strong{Ascent in pixels} (uint16be). @xref{Font Metrics}, for details. + +@item DESC +@strong{Descent in pixels} (uint16be). @xref{Font Metrics}, for details. + +@item CHIX +@strong{Character index.} +The character index begins with a 32-bit big-endian unsigned integer +indicating the total size of the section, not including this size value. +For each character, there is an instance of the following entry structure: + +@itemize +@item @strong{Unicode code point.} (32-bit big-endian integer.) + +@item @strong{Storage flags.} (byte.) + +@itemize +@item Bits 2..0: + +If equal to 000 binary, then the character data is stored +uncompressed beginning at the offset indicated by the character's +@strong{offset} value. + +If equal to 001 binary, then the character data is stored within a +compressed character definition block that begins at the offset +within the file indicated by the character's @strong{offset} value. +@end itemize + +@item @strong{Offset.} (32-bit big-endian integer.) + +A marker that indicates the remainder of the file is data accessed via +the character index (CHIX) section. When reading this font file, the rest +of the file can be ignored when scanning the sections. The length should +be set to -1 (0xFFFFFFFF). + +Supported data structures: + +Character definition +Each character definition consists of: + +@itemize +@item @strong{Width.} +Width of the bitmap in pixels. The bitmap's extents +represent the glyph's bounding box. @code{uint16be}. + +@item @strong{Height.} +Height of the bitmap in pixels. The bitmap's extents +represent the glyph's bounding box. @code{uint16be}. + +@item @strong{X offset.} +The number of pixels to shift the bitmap by +horizontally before drawing the character. @code{int16be}. + +@item @strong{Y offset.} +The number of pixels to shift the bitmap by +vertically before drawing the character. @code{int16be}. + +@item @strong{Device width.} +The number of pixels to advance horizontally from +this character's origin to the origin of the next character. +@code{int16be}. + +@item @strong{Bitmap data.} +This is encoded as a string of bits. It is +organized as a row-major, top-down, left-to-right bitmap. The most +significant bit of each byte is taken to be the leftmost or uppermost +bit in the byte. For the sake of compact storage, rows are not padded +to byte boundaries (i.e., a single byte may contain bits belonging to +multiple rows). The last byte of the bitmap @strong{is} padded with zero +bits in the bits positions to the right of the last used bit if the +bitmap data does not fill the last byte. + +The length of the @strong{bitmap data} field is (@var{width} * @var{height} + 7) / 8 +using integer arithmetic, which is equivalent to ceil(@var{width} * +@var{height} / 8) using real number arithmetic. + +It remains to be determined whether bitmap fonts usually make all +glyph bitmaps the same height, or if smaller glyphs are stored with +bitmaps having a lesser height. In the latter case, the baseline +would have to be used to calculate the location the bitmap should be +anchored at on screen. +@end itemize + +@end itemize +@end table + +@node Font Metrics +@section Font Metrics + +@itemize +@item Ascent. +The distance from the baseline to the top of most characters. +Note that in some cases characters may extend above the ascent. + +@item Descent. +The distance from the baseline to the bottom of most characters. Note that +in some cases characters may extend below the descent. + +@item Leading. +The amount of space, in pixels, to leave between the descent of one line of +text and the ascent of the next line. This metrics is not specified in the +current file format; instead, the font rendering engine calculates a +reasonable leading value based on the other font metrics. + +@item Horizonal leading. +The amount of space, in pixels, to leave horizontally between the left and +right edges of two adjacent glyphs. The @strong{device width} field determines +the effective leading value that is used to render the font. + +@end itemize +@image{font_char_metrics,,,,.png} + +An illustration of how the various font metrics apply to characters. + + + +@node Graphical Menu Software Design +@chapter Graphical Menu Software Design + +@c By Colin D. Bennett +@c Date: 17 August 2008 + +@menu +* Introduction_2:: +* Startup Sequence:: +* GUI Components:: +* Command Line Window:: +@end menu + +@node Introduction_2 +@section Introduction + +The @samp{gfxmenu} module provides a graphical menu interface for GRUB 2. It +functions as an alternative to the menu interface provided by the @samp{normal} +module, which uses the grub terminal interface to display a menu on a +character-oriented terminal. + +The graphical menu uses the GRUB video API, which is currently for the VESA +BIOS extensions (VBE) 2.0+. This is supported on the i386-pc platform. +However, the graphical menu itself does not depend on using VBE, so if another +GRUB video driver were implemented, the @samp{gfxmenu} graphical menu would work +on the new video driver as well. + + +@node Startup Sequence +@section Startup Sequence + +@itemize +@item grub_enter_normal_mode [normal/main.c] +@item grub_normal_execute [normal/main.c] +@item read_config_file [normal/main.c] +@item (When @file{gfxmenu.mod} is loaded with @command{insmod}, it will call @code{grub_menu_viewer_register()} to register itself.) +@item GRUB_MOD_INIT (gfxmenu) [gfxmenu/gfxmenu.c] +@item grub_menu_viewer_register [kern/menu_viewer.c] +@item grub_menu_viewer_show_menu [kern/menu_viewer.c] +@item get_current_menu_viewer() [kern/menu_viewer.c] +@item show_menu() [gfxmenu/gfxmenu.c] +@item grub_gfxmenu_model_new [gfxmenu/model.c] +@item grub_gfxmenu_view_new [gfxmenu/view.c] +@item set_graphics_mode [gfxmenu/view.c] +@item grub_gfxmenu_view_load_theme [gfxmenu/theme_loader.c] +@end itemize + + +@node GUI Components +@section GUI Components + +The graphical menu implements a GUI component system that supports a +container-based layout system. Components can be added to containers, and +containers (which are a type of component) can then be added to other +containers, to form a tree of components. Currently, the root component of +this tree is a @samp{canvas} component, which allows manual layout of its child +components. + +Components (non-container): + +@itemize +@item label +@item image +@item progress_bar +@item circular_progress +@item list (currently hard coded to be a boot menu list) +@end itemize + +Containers: + +@itemize +@item canvas +@item hbox +@item vbox +@end itemize + +The GUI component instances are created by the theme loader in +@file{gfxmenu/theme_loader.c} when a theme is loaded. Theme files specify +statements such as @samp{+vbox@{ +label @{ text="Hello" @} +label@{ text="World" @} @}} +to add components to the component tree root. By nesting the component +creation statements in the theme file, the instantiated components are nested +the same way. + +When a component is added to a container, that new child is considered @strong{owned} +by the container. Great care should be taken if the caller retains a +reference to the child component, since it will be destroyed if its parent +container is destroyed. A better choice instead of storing a pointer to the +child component is to use the component ID to find the desired component. +Component IDs do not have to be unique (it is often useful to have multiple +components with an ID of "__timeout__", for instance). + +In order to access and use components in the component tree, there are two +functions (defined in @file{gfxmenu/gui_util.c}) that are particularly useful: + +@itemize + +@item @code{grub_gui_find_by_id (root, id, callback, userdata)}: + +This function ecursively traverses the component tree rooted at @var{root}, and +for every component that has an ID equal to @var{id}, calls the function pointed +to by @var{callback} with the matching component and the void pointer @var{userdata} +as arguments. The callback function can do whatever is desired to use the +component passed in. + +@item @code{grub_gui_iterate_recursively (root, callback, userdata)}: + +This function calls the function pointed to by @var{callback} for every +component that is a descendant of @var{root} in the component tree. When the +callback function is called, the component and the void pointer @var{userdata} +as arguments. The callback function can do whatever is desired to use the +component passed in. +@end itemize + +@node Command Line Window +@section Command Line Window + +The terminal window used to provide command line access within the graphical +menu is managed by @file{gfxmenu/view.c}. The @samp{gfxterm} terminal is used, and +it has been modified to allow rendering to an offscreen render target to allow +it to be composed into the double buffering system that the graphical menu +view uses. This is bad for performance, however, so it would probably be a +good idea to make it possible to temporarily disable double buffering as long +as the terminal window is visible. There are still unresolved problems that +occur when commands are executed from the terminal window that change the +graphics mode. It's possible that making @code{grub_video_restore()} return to +the graphics mode that was in use before @code{grub_video_setup()} was called +might fix some of the problems. + + +@node Copying This Manual +@appendix Copying This Manual + +@menu +* GNU Free Documentation License:: License for copying this manual. +@end menu + +@include fdl.texi + + +@node Index +@unnumbered Index + +@c Currently, we use only the Concept Index. +@printindex cp + +@bye diff --git a/docs/grub.cfg b/docs/grub.cfg new file mode 100644 index 0000000..e14cdb7 --- /dev/null +++ b/docs/grub.cfg @@ -0,0 +1,75 @@ +# +# Sample GRUB configuration file +# + +# Boot automatically after 30 secs. +set timeout=30 + +# By default, boot the first entry. +set default=0 + +# Fallback to the second entry. +set fallback=1 + +# For booting GNU/Hurd +menuentry "GNU (aka GNU/Hurd)" { + set root=(hd0,1) + multiboot /boot/gnumach.gz root=device:hd0s1 + module /hurd/ext2fs.static ext2fs --readonly \ + --multiboot-command-line='${kernel-command-line}' \ + --host-priv-port='${host-port}' \ + --device-master-port='${device-port}' \ + --exec-server-task='${exec-task}' -T typed '${root}' \ + '$(task-create)' '$(task-resume)' + module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)' +} + +# For booting GNU/Linux +menuentry "GNU/Linux" { + set root=(hd0,1) + linux /vmlinuz root=/dev/sda1 + initrd /initrd.img +} + +# For booting FreeBSD +menuentry "FreeBSD (or GNU/kFreeBSD), direct boot" { + set root=(hd0,1,a) + kfreebsd /boot/kernel/kernel + kfreebsd_loadenv /boot/device.hints + kfreebsd_module /boot/splash.bmp type=splash_image_data + set kFreeBSD.vfs.root.mountfrom=ufs:ad0s1a +} +menuentry "FreeBSD (or GNU/kFreeBSD), via /boot/loader" { + set root=(hd0,1,a) + kfreebsd /boot/loader +} + +# For booting NetBSD +menuentry "NetBSD" { + set root=(hd0,1,a) + knetbsd /netbsd +} + +# For booting OpenBSD +menuentry "OpenBSD" { + set root=(hd0,1,a) + kopenbsd /bsd +} + +# For booting Microsoft Windows +menuentry "Microsoft Windows" { + set root=(hd0,1) + chainloader +1 +} + +# For booting Memtest86+ +menuentry "Memtest86+" { + set root=(hd0,1) + linux16 /memtest86+.bin +} + +# Change the colors. +menuentry "Change the colors" { + set menu_color_normal=light-green/brown + set menu_color_highlight=red/blue +} diff --git a/docs/grub.info b/docs/grub.info new file mode 100644 index 0000000..fe00c44 --- /dev/null +++ b/docs/grub.info @@ -0,0 +1,5228 @@ +This is /home/phcoder/grub2/bzr/grub-1.99/docs/grub.info, produced by +makeinfo version 4.13 from +/home/phcoder/grub2/bzr/grub-1.99/docs/grub.texi. + +This manual is for GNU GRUB (version 1.99, 14 May 2011). + + Copyright (C) 1999,2000,2001,2002,2004,2006,2008,2009,2010 Free +Software Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.2 or any later version published by the Free Software + Foundation; with no Invariant Sections. + +INFO-DIR-SECTION Kernel +START-INFO-DIR-ENTRY +* GRUB: (grub). The GRand Unified Bootloader +* grub-install: (grub)Invoking grub-install. Install GRUB on your drive +* grub-mkconfig: (grub)Invoking grub-mkconfig. Generate GRUB configuration +* grub-mkpasswd-pbkdf2: (grub)Invoking grub-mkpasswd-pbkdf2. +* grub-mkrescue: (grub)Invoking grub-mkrescue. Make a GRUB rescue image +END-INFO-DIR-ENTRY + + +File: grub.info, Node: Top, Next: Introduction, Up: (dir) + +GNU GRUB manual +*************** + +This is the documentation of GNU GRUB, the GRand Unified Bootloader, a +flexible and powerful boot loader program for a wide range of +architectures. + + This edition documents version 1.99. + + This manual is for GNU GRUB (version 1.99, 14 May 2011). + + Copyright (C) 1999,2000,2001,2002,2004,2006,2008,2009,2010 Free +Software Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.2 or any later version published by the Free Software + Foundation; with no Invariant Sections. + +* Menu: + +* Introduction:: Capturing the spirit of GRUB +* Naming convention:: Names of your drives in GRUB +* Installation:: Installing GRUB on your drive +* Booting:: How to boot different operating systems +* Configuration:: Writing your own configuration file +* Theme file format:: Format of GRUB theme files +* Network:: Downloading OS images from a network +* Serial terminal:: Using GRUB via a serial line +* Vendor power-on keys:: Changing GRUB behaviour on vendor power-on keys +* Images:: GRUB image files +* Filesystem:: Filesystem syntax and semantics +* Interface:: The menu and the command-line +* Environment:: GRUB environment variables +* Commands:: The list of available builtin commands +* Security:: Authentication and authorisation +* Supported kernels:: The list of supported kernels +* Troubleshooting:: Error messages produced by GRUB +* Invoking grub-install:: How to use the GRUB installer +* Invoking grub-mkconfig:: Generate a GRUB configuration file +* Invoking grub-mkpasswd-pbkdf2:: + Generate GRUB password hashes +* Invoking grub-mkrescue:: Make a GRUB rescue image +* Obtaining and Building GRUB:: How to obtain and build GRUB +* Reporting bugs:: Where you should send a bug report +* Future:: Some future plans on GRUB +* Copying This Manual:: Copying This Manual +* Index:: + + +File: grub.info, Node: Introduction, Next: Naming convention, Prev: Top, Up: Top + +1 Introduction to GRUB +********************** + +* Menu: + +* Overview:: What exactly GRUB is and how to use it +* History:: From maggot to house fly +* Changes from GRUB Legacy:: Differences from previous versions +* Features:: GRUB features +* Role of a boot loader:: The role of a boot loader + + +File: grub.info, Node: Overview, Next: History, Up: Introduction + +1.1 Overview +============ + +Briefly, a "boot loader" is the first software program that runs when a +computer starts. It is responsible for loading and transferring +control to an operating system "kernel" software (such as Linux or GNU +Mach). The kernel, in turn, initializes the rest of the operating +system (e.g. a GNU system). + + GNU GRUB is a very powerful boot loader, which can load a wide +variety of free operating systems, as well as proprietary operating +systems with chain-loading(1) (*note Overview-Footnote-1::). GRUB is +designed to address the complexity of booting a personal computer; both +the program and this manual are tightly bound to that computer platform, +although porting to other platforms may be addressed in the future. + + One of the important features in GRUB is flexibility; GRUB +understands filesystems and kernel executable formats, so you can load +an arbitrary operating system the way you like, without recording the +physical position of your kernel on the disk. Thus you can load the +kernel just by specifying its file name and the drive and partition +where the kernel resides. + + When booting with GRUB, you can use either a command-line interface +(*note Command-line interface::), or a menu interface (*note Menu +interface::). Using the command-line interface, you type the drive +specification and file name of the kernel manually. In the menu +interface, you just select an OS using the arrow keys. The menu is +based on a configuration file which you prepare beforehand (*note +Configuration::). While in the menu, you can switch to the command-line +mode, and vice-versa. You can even edit menu entries before using them. + + In the following chapters, you will learn how to specify a drive, a +partition, and a file name (*note Naming convention::) to GRUB, how to +install GRUB on your drive (*note Installation::), and how to boot your +OSes (*note Booting::), step by step. + + +File: grub.info, Node: Overview-Footnotes, Up: Overview + + (1) "chain-load" is the mechanism for loading unsupported operating +systems by loading another boot loader. It is typically used for +loading DOS or Windows. + + +File: grub.info, Node: History, Next: Changes from GRUB Legacy, Prev: Overview, Up: Introduction + +1.2 History of GRUB +=================== + +GRUB originated in 1995 when Erich Boleyn was trying to boot the GNU +Hurd with the University of Utah's Mach 4 microkernel (now known as GNU +Mach). Erich and Brian Ford designed the Multiboot Specification +(*note Multiboot Specification: (multiboot)Top.), because they were +determined not to add to the large number of mutually-incompatible PC +boot methods. + + Erich then began modifying the FreeBSD boot loader so that it would +understand Multiboot. He soon realized that it would be a lot easier to +write his own boot loader from scratch than to keep working on the +FreeBSD boot loader, and so GRUB was born. + + Erich added many features to GRUB, but other priorities prevented him +from keeping up with the demands of its quickly-expanding user base. In +1999, Gordon Matzigkeit and Yoshinori K. Okuji adopted GRUB as an +official GNU package, and opened its development by making the latest +sources available via anonymous CVS. *Note Obtaining and Building +GRUB::, for more information. + + Over the next few years, GRUB was extended to meet many needs, but it +quickly became clear that its design was not keeping up with the +extensions being made to it, and we reached the point where it was very +difficult to make any further changes without breaking existing +features. Around 2002, Yoshinori K. Okuji started work on PUPA +(Preliminary Universal Programming Architecture for GNU GRUB), aiming +to rewrite the core of GRUB to make it cleaner, safer, more robust, and +more powerful. PUPA was eventually renamed to GRUB 2, and the original +version of GRUB was renamed to GRUB Legacy. Small amounts of +maintenance continued to be done on GRUB Legacy, but the last release +(0.97) was made in 2005 and at the time of writing it seems unlikely +that there will be another. + + By around 2007, GNU/Linux distributions started to use GRUB 2 to +limited extents, and by the end of 2009 multiple major distributions +were installing it by default. + + +File: grub.info, Node: Changes from GRUB Legacy, Next: Features, Prev: History, Up: Introduction + +1.3 Differences from previous versions +====================================== + +GRUB 2 is a rewrite of GRUB (*note History::), although it shares many +characteristics with the previous version, now known as GRUB Legacy. +Users of GRUB Legacy may need some guidance to find their way around +this new version. + + * The configuration file has a new name (`grub.cfg' rather than + `menu.lst' or `grub.conf'), new syntax (*note Configuration::) and + many new commands (*note Commands::). Configuration cannot be + copied over directly, although most GRUB Legacy users should not + find the syntax too surprising. + + * `grub.cfg' is typically automatically generated by `grub-mkconfig' + (*note Simple configuration::). This makes it easier to handle + versioned kernel upgrades. + + * Partition numbers in GRUB device names now start at 1, not 0 + (*note Naming convention::). + + * The configuration file is now written in something closer to a full + scripting language: variables, conditionals, and loops are + available. + + * A small amount of persistent storage is available across reboots, + using the `save_env' and `load_env' commands in GRUB and the + `grub-editenv' utility. This is not available in all + configurations (*note Environment block::). + + * GRUB 2 has more reliable ways to find its own files and those of + target kernels on multiple-disk systems, and has commands (*note + search::) to find devices using file system labels or Universally + Unique Identifiers (UUIDs). + + * GRUB 2 is available for several other types of system in addition + to the PC BIOS systems supported by GRUB Legacy: PC EFI, PC + coreboot, PowerPC, SPARC, and MIPS Lemote Yeeloong are all + supported. + + * Many more file systems are supported, including but not limited to + ext4, HFS+, and NTFS. + + * GRUB 2 can read files directly from LVM and RAID devices. + + * A graphical terminal and a graphical menu system are available. + + * GRUB 2's interface can be translated, including menu entry names. + + * The image files (*note Images::) that make up GRUB have been + reorganised; Stage 1, Stage 1.5, and Stage 2 are no more. + + * GRUB 2 puts many facilities in dynamically loaded modules, + allowing the core image to be smaller, and allowing the core image + to be built in more flexible ways. + + +File: grub.info, Node: Features, Next: Role of a boot loader, Prev: Changes from GRUB Legacy, Up: Introduction + +1.4 GRUB features +================= + +The primary requirement for GRUB is that it be compliant with the +"Multiboot Specification", which is described in *note Multiboot +Specification: (multiboot)Top. + + The other goals, listed in approximate order of importance, are: + + * Basic functions must be straightforward for end-users. + + * Rich functionality to support kernel experts and designers. + + * Backward compatibility for booting FreeBSD, NetBSD, OpenBSD, and + Linux. Proprietary kernels (such as DOS, Windows NT, and OS/2) are + supported via a chain-loading function. + + Except for specific compatibility modes (chain-loading and the Linux +"piggyback" format), all kernels will be started in much the same state +as in the Multiboot Specification. Only kernels loaded at 1 megabyte or +above are presently supported. Any attempt to load below that boundary +will simply result in immediate failure and an error message reporting +the problem. + + In addition to the requirements above, GRUB has the following +features (note that the Multiboot Specification doesn't require all the +features that GRUB supports): + +Recognize multiple executable formats + Support many of the "a.out" variants plus "ELF". Symbol tables are + also loaded. + +Support non-Multiboot kernels + Support many of the various free 32-bit kernels that lack Multiboot + compliance (primarily FreeBSD, NetBSD, OpenBSD, and Linux). + Chain-loading of other boot loaders is also supported. + +Load multiples modules + Fully support the Multiboot feature of loading multiple modules. + +Load a configuration file + Support a human-readable text configuration file with preset boot + commands. You can also load another configuration file dynamically + and embed a preset configuration file in a GRUB image file. The + list of commands (*note Commands::) are a superset of those + supported on the command-line. An example configuration file is + provided in *note Configuration::. + +Provide a menu interface + A menu interface listing preset boot commands, with a programmable + timeout, is available. There is no fixed limit on the number of + boot entries, and the current implementation has space for several + hundred. + +Have a flexible command-line interface + A fairly flexible command-line interface, accessible from the menu, + is available to edit any preset commands, or write a new boot + command set from scratch. If no configuration file is present, + GRUB drops to the command-line. + + The list of commands (*note Commands::) are a subset of those + supported for configuration files. Editing commands closely + resembles the Bash command-line (*note Bash: (features)Command + Line Editing.), with -completion of commands, devices, + partitions, and files in a directory depending on context. + +Support multiple filesystem types + Support multiple filesystem types transparently, plus a useful + explicit blocklist notation. The currently supported filesystem + types are "Amiga Fast FileSystem (AFFS)", "AtheOS fs", "BeFS", + "cpio", "Linux ext2/ext3/ext4", "DOS FAT12/FAT16/FAT32", "HFS", + "HFS+", "ISO9660", "JFS", "Minix fs", "nilfs2", "NTFS", + "ReiserFS", "Amiga Smart FileSystem (SFS)", "tar", "UDF", "BSD + UFS/UFS2", and "XFS". *Note Filesystem::, for more information. + +Support automatic decompression + Can decompress files which were compressed by `gzip' or `xz'(1) + (*note Features-Footnote-1::). This function is both automatic and + transparent to the user (i.e. all functions operate upon the + uncompressed contents of the specified files). This greatly + reduces a file size and loading time, a particularly great benefit + for floppies.(2) (*note Features-Footnote-2::) + + It is conceivable that some kernel modules should be loaded in a + compressed state, so a different module-loading command can be + specified to avoid uncompressing the modules. + +Access data on any installed device + Support reading data from any or all floppies or hard disk(s) + recognized by the BIOS, independent of the setting of the root + device. + +Be independent of drive geometry translations + Unlike many other boot loaders, GRUB makes the particular drive + translation irrelevant. A drive installed and running with one + translation may be converted to another translation without any + adverse effects or changes in GRUB's configuration. + +Detect all installed RAM + GRUB can generally find all the installed RAM on a PC-compatible + machine. It uses an advanced BIOS query technique for finding all + memory regions. As described on the Multiboot Specification (*note + Multiboot Specification: (multiboot)Top.), not all kernels make + use of this information, but GRUB provides it for those who do. + +Support Logical Block Address mode + In traditional disk calls (called "CHS mode"), there is a geometry + translation problem, that is, the BIOS cannot access over 1024 + cylinders, so the accessible space is limited to at least 508 MB + and to at most 8GB. GRUB can't universally solve this problem, as + there is no standard interface used in all machines. However, + several newer machines have the new interface, Logical Block + Address ("LBA") mode. GRUB automatically detects if LBA mode is + available and uses it if available. In LBA mode, GRUB can access + the entire disk. + +Support network booting + GRUB is basically a disk-based boot loader but also has network + support. You can load OS images from a network by using the "TFTP" + protocol. + +Support remote terminals + To support computers with no console, GRUB provides remote terminal + support, so that you can control GRUB from a remote host. Only + serial terminal support is implemented at the moment. + + +File: grub.info, Node: Features-Footnotes, Up: Features + + (1) Only CRC32 data integrity check is supported (xz default is +CRC64 so one should use -check=crc32 option). LZMA BCJ filters are +supported. + + (2) There are a few pathological cases where loading a very badly +organized ELF kernel might take longer, but in practice this never +happen. + + +File: grub.info, Node: Role of a boot loader, Prev: Features, Up: Introduction + +1.5 The role of a boot loader +============================= + +The following is a quotation from Gordon Matzigkeit, a GRUB fanatic: + + Some people like to acknowledge both the operating system and + kernel when they talk about their computers, so they might say + they use "GNU/Linux" or "GNU/Hurd". Other people seem to think + that the kernel is the most important part of the system, so they + like to call their GNU operating systems "Linux systems." + + I, personally, believe that this is a grave injustice, because the + _boot loader_ is the most important software of all. I used to + refer to the above systems as either "LILO"(1) (*note Role of a + boot loader-Footnote-1::) or "GRUB" systems. + + Unfortunately, nobody ever understood what I was talking about; + now I just use the word "GNU" as a pseudonym for GRUB. + + So, if you ever hear people talking about their alleged "GNU" + systems, remember that they are actually paying homage to the best + boot loader around... GRUB! + + We, the GRUB maintainers, do not (usually) encourage Gordon's level +of fanaticism, but it helps to remember that boot loaders deserve +recognition. We hope that you enjoy using GNU GRUB as much as we did +writing it. + + +File: grub.info, Node: Role of a boot loader-Footnotes, Up: Role of a boot loader + + (1) The LInux LOader, a boot loader that everybody uses, but nobody +likes. + + +File: grub.info, Node: Naming convention, Next: Installation, Prev: Introduction, Up: Top + +2 Naming convention +******************* + +The device syntax used in GRUB is a wee bit different from what you may +have seen before in your operating system(s), and you need to know it so +that you can specify a drive/partition. + + Look at the following examples and explanations: + + (fd0) + + First of all, GRUB requires that the device name be enclosed with +`(' and `)'. The `fd' part means that it is a floppy disk. The number +`0' is the drive number, which is counted from _zero_. This expression +means that GRUB will use the whole floppy disk. + + (hd0,msdos2) + + Here, `hd' means it is a hard disk drive. The first integer `0' +indicates the drive number, that is, the first hard disk, the string +`msdos' indicates the partition scheme, while the second integer, `2', +indicates the partition number (or the PC slice number in the BSD +terminology). The partition numbers are counted from _one_, not from +zero (as was the case in previous versions of GRUB). This expression +means the second partition of the first hard disk drive. In this case, +GRUB uses one partition of the disk, instead of the whole disk. + + (hd0,msdos5) + + This specifies the first "extended partition" of the first hard disk +drive. Note that the partition numbers for extended partitions are +counted from `5', regardless of the actual number of primary partitions +on your hard disk. + + (hd1,msdos1,bsd1) + + This means the BSD `a' partition on first PC slice number of the +second hard disk. + + Of course, to actually access the disks or partitions with GRUB, you +need to use the device specification in a command, like `set +root=(fd0)' or `parttool (hd0,msdos3) hidden-'. To help you find out +which number specifies a partition you want, the GRUB command-line +(*note Command-line interface::) options have argument completion. This +means that, for example, you only need to type + + set root=( + + followed by a , and GRUB will display the list of drives, +partitions, or file names. So it should be quite easy to determine the +name of your target partition, even with minimal knowledge of the +syntax. + + Note that GRUB does _not_ distinguish IDE from SCSI - it simply +counts the drive numbers from zero, regardless of their type. Normally, +any IDE drive number is less than any SCSI drive number, although that +is not true if you change the boot sequence by swapping IDE and SCSI +drives in your BIOS. + + Now the question is, how to specify a file? Again, consider an +example: + + (hd0,msdos1)/vmlinuz + + This specifies the file named `vmlinuz', found on the first +partition of the first hard disk drive. Note that the argument +completion works with file names, too. + + That was easy, admit it. Now read the next chapter, to find out how +to actually install GRUB on your drive. + + +File: grub.info, Node: Installation, Next: Booting, Prev: Naming convention, Up: Top + +3 Installation +************** + +In order to install GRUB as your boot loader, you need to first install +the GRUB system and utilities under your UNIX-like operating system +(*note Obtaining and Building GRUB::). You can do this either from the +source tarball, or as a package for your OS. + + After you have done that, you need to install the boot loader on a +drive (floppy or hard disk) by using the utility `grub-install' (*note +Invoking grub-install::) on a UNIX-like OS. + + GRUB comes with boot images, which are normally put in the directory +`/usr/lib/grub/-' (for BIOS-based machines +`/usr/lib/grub/i386-pc'). Hereafter, the directory where GRUB images are +initially placed (normally `/usr/lib/grub/-') will be +called the "image directory", and the directory where the boot loader +needs to find them (usually `/boot') will be called the "boot +directory". + +* Menu: + +* Installing GRUB using grub-install:: +* Making a GRUB bootable CD-ROM:: +* Device map:: +* BIOS installation:: + + +File: grub.info, Node: Installing GRUB using grub-install, Next: Making a GRUB bootable CD-ROM, Up: Installation + +3.1 Installing GRUB using grub-install +====================================== + +For information on where GRUB should be installed on PC BIOS platforms, +*note BIOS installation::. + + In order to install GRUB under a UNIX-like OS (such as GNU), invoke +the program `grub-install' (*note Invoking grub-install::) as the +superuser ("root"). + + The usage is basically very simple. You only need to specify one +argument to the program, namely, where to install the boot loader. The +argument has to be either a device file (like `/dev/hda'). For +example, under Linux the following will install GRUB into the MBR of +the first IDE disk: + + # grub-install /dev/hda + + Likewise, under GNU/Hurd, this has the same effect: + + # grub-install /dev/hd0 + + But all the above examples assume that GRUB should put images under +the `/boot' directory. If you want GRUB to put images under a directory +other than `/boot', you need to specify the option `--boot-directory'. +The typical usage is that you create a GRUB boot floppy with a +filesystem. Here is an example: + + # mke2fs /dev/fd0 + # mount -t ext2 /dev/fd0 /mnt + # mkdir /mnt/boot + # grub-install --boot-directory=/mnt/boot /dev/fd0 + # umount /mnt + + Some BIOSes have a bug of exposing the first partition of a USB +drive as a floppy instead of exposing the USB drive as a hard disk +(they call it "USB-FDD" boot). In such cases, you need to install like +this: + + # losetup /dev/loop0 /dev/sdb1 + # mount /dev/loop0 /mnt/usb + # grub-install --boot-directory=/mnt/usb/bugbios --force --allow-floppy /dev/loop0 + + This install doesn't conflict with standard install as long as they +are in separate directories. + + Note that `grub-install' is actually just a shell script and the +real task is done by `grub-mkimage' and `grub-setup'. Therefore, you +may run those commands directly to install GRUB, without using +`grub-install'. Don't do that, however, unless you are very familiar +with the internals of GRUB. Installing a boot loader on a running OS +may be extremely dangerous. + + +File: grub.info, Node: Making a GRUB bootable CD-ROM, Next: Device map, Prev: Installing GRUB using grub-install, Up: Installation + +3.2 Making a GRUB bootable CD-ROM +================================= + +GRUB supports the "no emulation mode" in the El Torito specification(1) +(*note Making a GRUB bootable CD-ROM-Footnote-1::). This means that you +can use the whole CD-ROM from GRUB and you don't have to make a floppy +or hard disk image file, which can cause compatibility problems. + + For booting from a CD-ROM, GRUB uses a special image called +`cdboot.img', which is concatenated with `core.img'. The `core.img' +used for this should be built with at least the `iso9660' and +`biosdisk' modules. Your bootable CD-ROM will usually also need to +include a configuration file `grub.cfg' and some other GRUB modules. + + To make a simple generic GRUB rescue CD, you can use the +`grub-mkrescue' program (*note Invoking grub-mkrescue::): + + $ grub-mkrescue -o grub.iso + + You will often need to include other files in your image. To do +this, first make a top directory for the bootable image, say, `iso': + + $ mkdir iso + + Make a directory for GRUB: + + $ mkdir -p iso/boot/grub + + If desired, make the config file `grub.cfg' under `iso/boot/grub' +(*note Configuration::), and copy any files and directories for the +disc to the directory `iso/'. + + Finally, make the image: + + $ grub-mkrescue -o grub.iso iso + + This produces a file named `grub.iso', which then can be burned into +a CD (or a DVD), or written to a USB mass storage device. + + The root device will be set up appropriately on entering your +`grub.cfg' configuration file, so you can refer to file names on the CD +without needing to use an explicit device name. This makes it easier to +produce rescue images that will work on both optical drives and USB mass +storage devices. + + +File: grub.info, Node: Making a GRUB bootable CD-ROM-Footnotes, Up: Making a GRUB bootable CD-ROM + + (1) El Torito is a specification for bootable CD using BIOS +functions. + + +File: grub.info, Node: Device map, Next: BIOS installation, Prev: Making a GRUB bootable CD-ROM, Up: Installation + +3.3 The map between BIOS drives and OS devices +============================================== + +The `grub-mkdevicemap' program can be used to create the "device map +file". It is often run automatically by tools such as `grub-install' +if the device map file does not already exist. The file name +`/boot/grub/device.map' is preferred. + + If the device map file exists, the GRUB utilities (`grub-probe', +`grub-setup', etc.) read it to map BIOS drives to OS devices. This +file consists of lines like this: + + DEVICE FILE + + DEVICE is a drive specified in the GRUB syntax (*note Device +syntax::), and FILE is an OS file, which is normally a device file. + + Historically, the device map file was used because GRUB device names +had to be used in the configuration file, and they were derived from +BIOS drive numbers. The map between BIOS drives and OS devices cannot +always be guessed correctly: for example, GRUB will get the order wrong +if you exchange the boot sequence between IDE and SCSI in your BIOS. + + Unfortunately, even OS device names are not always stable. Modern +versions of the Linux kernel may probe drives in a different order from +boot to boot, and the prefix (`/dev/hd*' versus `/dev/sd*') may change +depending on the driver subsystem in use. As a result, the device map +file required frequent editing on some systems. + + GRUB avoids this problem nowadays by using UUIDs or file system +labels when generating `grub.cfg', and we advise that you do the same +for any custom menu entries you write. If the device map file does not +exist, then the GRUB utilities will assume a temporary device map on +the fly. This is often good enough, particularly in the common case of +single-disk systems. + + However, the device map file is not entirely obsolete yet, and there +are still some situations that require it to exist. If necessary, you +may edit the file if `grub-mkdevicemap' makes a mistake. You can put +any comments in the file if needed, as the GRUB utilities assume that a +line is just a comment if the first character is `#'. + + +File: grub.info, Node: BIOS installation, Prev: Device map, Up: Installation + +3.4 BIOS installation +===================== + +MBR +=== + +The partition table format traditionally used on PC BIOS platforms is +called the Master Boot Record (MBR) format; this is the format that +allows up to four primary partitions and additional logical partitions. +With this partition table format, there are two ways to install GRUB: +it can be embedded in the area between the MBR and the first partition +(called by various names, such as the "boot track", "MBR gap", or +"embedding area", and which is usually at least 31 KiB), or the core +image can be installed in a file system and a list of the blocks that +make it up can be stored in the first sector of that partition. + + Each of these has different problems. There is no way to reserve +space in the embedding area with complete safety, and some proprietary +software is known to use it to make it difficult for users to work +around licensing restrictions; and systems are sometimes partitioned +without leaving enough space before the first partition. On the other +hand, installing to a filesystem means that GRUB is vulnerable to its +blocks being moved around by filesystem features such as tail packing, +or even by aggressive fsck implementations, so this approach is quite +fragile; and this approach can only be used if the `/boot' filesystem +is on the same disk that the BIOS boots from, so that GRUB does not +have to rely on guessing BIOS drive numbers. + + The GRUB development team generally recommends embedding GRUB before +the first partition, unless you have special requirements. You must +ensure that the first partition starts at least 31 KiB (63 sectors) +from the start of the disk; on modern disks, it is often a performance +advantage to align partitions on larger boundaries anyway, so the first +partition might start 1 MiB from the start of the disk. + +GPT +=== + +Some newer systems use the GUID Partition Table (GPT) format. This was +specified as part of the Extensible Firmware Interface (EFI), but it can +also be used on BIOS platforms if system software supports it; for +example, GRUB and GNU/Linux can be used in this configuration. With +this format, it is possible to reserve a whole partition for GRUB, +called the BIOS Boot Partition. GRUB can then be embedded into that +partition without the risk of being overwritten by other software and +without being contained in a filesystem which might move its blocks +around. + + When creating a BIOS Boot Partition on a GPT system, you should make +sure that it is at least 31 KiB in size. (GPT-formatted disks are not +usually particularly small, so we recommend that you make it larger +than the bare minimum, such as 1 MiB, to allow plenty of room for +growth.) You must also make sure that it has the proper partition +type. Using GNU Parted, you can set this using a command such as the +following: + + # parted /dev/DISK set PARTITION-NUMBER bios_grub on + + If you are using gdisk, set the partition type to `0xEF02'. With +partitioning programs that require setting the GUID directly, it should +be `21686148-6449-6e6f-744e656564454649'. + + *Caution:* Be very careful which partition you select! When GRUB +finds a BIOS Boot Partition during installation, it will automatically +overwrite part of it. Make sure that the partition does not contain any +other data. + + +File: grub.info, Node: Booting, Next: Configuration, Prev: Installation, Up: Top + +4 Booting +********* + +GRUB can load Multiboot-compliant kernels in a consistent way, but for +some free operating systems you need to use some OS-specific magic. + +* Menu: + +* General boot methods:: How to boot OSes with GRUB generally +* OS-specific notes:: Notes on some operating systems + + +File: grub.info, Node: General boot methods, Next: OS-specific notes, Up: Booting + +4.1 How to boot operating systems +================================= + +GRUB has two distinct boot methods. One of the two is to load an +operating system directly, and the other is to chain-load another boot +loader which then will load an operating system actually. Generally +speaking, the former is more desirable, because you don't need to +install or maintain other boot loaders and GRUB is flexible enough to +load an operating system from an arbitrary disk/partition. However, the +latter is sometimes required, since GRUB doesn't support all the +existing operating systems natively. + +* Menu: + +* Loading an operating system directly:: +* Chain-loading:: + + +File: grub.info, Node: Loading an operating system directly, Next: Chain-loading, Up: General boot methods + +4.1.1 How to boot an OS directly with GRUB +------------------------------------------ + +Multiboot (*note Multiboot Specification: (multiboot)Top.) is the +native format supported by GRUB. For the sake of convenience, there is +also support for Linux, FreeBSD, NetBSD and OpenBSD. If you want to +boot other operating systems, you will have to chain-load them (*note +Chain-loading::). + + FIXME: this section is incomplete. + + 1. Run the command `boot' (*note boot::). + + However, DOS and Windows have some deficiencies, so you might have to +use more complicated instructions. *Note DOS/Windows::, for more +information. + + +File: grub.info, Node: Chain-loading, Prev: Loading an operating system directly, Up: General boot methods + +4.1.2 Chain-loading an OS +------------------------- + +Operating systems that do not support Multiboot and do not have specific +support in GRUB (specific support is available for Linux, FreeBSD, +NetBSD and OpenBSD) must be chain-loaded, which involves loading +another boot loader and jumping to it in real mode. + + The `chainloader' command (*note chainloader::) is used to set this +up. It is normally also necessary to load some GRUB modules and set the +appropriate root device. Putting this together, we get something like +this, for a Windows system on the first partition of the first hard +disk: + +menuentry "Windows" { + insmod chain + insmod ntfs + set root=(hd0,1) + chainloader +1 +} + + On systems with multiple hard disks, an additional workaround may be +required. *Note DOS/Windows::. + + Chain-loading is only supported on PC BIOS and EFI platforms. + + +File: grub.info, Node: OS-specific notes, Prev: General boot methods, Up: Booting + +4.2 Some caveats on OS-specific issues +====================================== + +Here, we describe some caveats on several operating systems. + +* Menu: + +* GNU/Hurd:: +* GNU/Linux:: +* DOS/Windows:: + + +File: grub.info, Node: GNU/Hurd, Next: GNU/Linux, Up: OS-specific notes + +4.2.1 GNU/Hurd +-------------- + +Since GNU/Hurd is Multiboot-compliant, it is easy to boot it; there is +nothing special about it. But do not forget that you have to specify a +root partition to the kernel. + + 1. Set GRUB's root device to the same drive as GNU/Hurd's. The + command `search --file --set /boot/gnumach.gz' or similar may help + you (*note search::). + + 2. Load the kernel and the modules, like this: + + grub> multiboot /boot/gnumach.gz root=device:hd0s1 + grub> module /hurd/ext2fs.static ext2fs --readonly \ + --multiboot-command-line='${kernel-command-line}' \ + --host-priv-port='${host-port}' \ + --device-master-port='${device-port}' \ + --exec-server-task='${exec-task}' -T typed '${root}' \ + '$(task-create)' '$(task-resume)' + grub> module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)' + + 3. Finally, run the command `boot' (*note boot::). + + +File: grub.info, Node: GNU/Linux, Next: DOS/Windows, Prev: GNU/Hurd, Up: OS-specific notes + +4.2.2 GNU/Linux +--------------- + +It is relatively easy to boot GNU/Linux from GRUB, because it somewhat +resembles to boot a Multiboot-compliant OS. + + 1. Set GRUB's root device to the same drive as GNU/Linux's. The + command `search --file --set /vmlinuz' or similar may help you + (*note search::). + + 2. Load the kernel using the command `linux' (*note linux::): + + grub> linux /vmlinuz root=/dev/sda1 + + If you need to specify some kernel parameters, just append them to + the command. For example, to set `acpi' to `off', do this: + + grub> linux /vmlinuz root=/dev/sda1 acpi=off + + See the documentation in the Linux source tree for complete + information on the available options. + + With `linux' GRUB uses 32-bit protocol. Some BIOS services like APM + or EDD aren't available with this protocol. In this case you need + to use `linux16' + + grub> linux16 /vmlinuz root=/dev/sda1 acpi=off + + 3. If you use an initrd, execute the command `initrd' (*note initrd::) + after `linux': + + grub> initrd /initrd + + If you used `linux16' you need to use `initrd16': + + grub> initrd16 /initrd + + 4. Finally, run the command `boot' (*note boot::). + + *Caution:* If you use an initrd and specify the `mem=' option to the +kernel to let it use less than actual memory size, you will also have +to specify the same memory size to GRUB. To let GRUB know the size, run +the command `uppermem' _before_ loading the kernel. *Note uppermem::, +for more information. + + +File: grub.info, Node: DOS/Windows, Prev: GNU/Linux, Up: OS-specific notes + +4.2.3 DOS/Windows +----------------- + +GRUB cannot boot DOS or Windows directly, so you must chain-load them +(*note Chain-loading::). However, their boot loaders have some critical +deficiencies, so it may not work to just chain-load them. To overcome +the problems, GRUB provides you with two helper functions. + + If you have installed DOS (or Windows) on a non-first hard disk, you +have to use the disk swapping technique, because that OS cannot boot +from any disks but the first one. The workaround used in GRUB is the +command `drivemap' (*note drivemap::), like this: + + drivemap -s (hd0) (hd1) + + This performs a "virtual" swap between your first and second hard +drive. + + *Caution:* This is effective only if DOS (or Windows) uses BIOS to +access the swapped disks. If that OS uses a special driver for the +disks, this probably won't work. + + Another problem arises if you installed more than one set of +DOS/Windows onto one disk, because they could be confused if there are +more than one primary partitions for DOS/Windows. Certainly you should +avoid doing this, but there is a solution if you do want to do so. Use +the partition hiding/unhiding technique. + + If GRUB "hides" a DOS (or Windows) partition (*note parttool::), DOS +(or Windows) will ignore the partition. If GRUB "unhides" a DOS (or +Windows) partition, DOS (or Windows) will detect the partition. Thus, +if you have installed DOS (or Windows) on the first and the second +partition of the first hard disk, and you want to boot the copy on the +first partition, do the following: + + parttool (hd0,1) hidden- + parttool (hd0,2) hidden+ + set root=(hd0,1) + chainloader +1 + parttool ${root} boot+ + boot + + +File: grub.info, Node: Configuration, Next: Theme file format, Prev: Booting, Up: Top + +5 Writing your own configuration file +************************************* + +GRUB is configured using `grub.cfg', usually located under +`/boot/grub'. This file is quite flexible, but most users will not +need to write the whole thing by hand. + +* Menu: + +* Simple configuration:: Recommended for most users +* Shell-like scripting:: For power users and developers +* Embedded configuration:: Embedding a configuration file into GRUB + + +File: grub.info, Node: Simple configuration, Next: Shell-like scripting, Up: Configuration + +5.1 Simple configuration handling +================================= + +The program `grub-mkconfig' (*note Invoking grub-mkconfig::) generates +`grub.cfg' files suitable for most cases. It is suitable for use when +upgrading a distribution, and will discover available kernels and +attempt to generate menu entries for them. + + `grub-mkconfig' does have some limitations. While adding extra +custom menu entries to the end of the list can be done by editing +`/etc/grub.d/40_custom' or creating `/boot/grub/custom.cfg', changing +the order of menu entries or changing their titles may require making +complex changes to shell scripts stored in `/etc/grub.d/'. This may be +improved in the future. In the meantime, those who feel that it would +be easier to write `grub.cfg' directly are encouraged to do so (*note +Booting::, and *note Shell-like scripting::), and to disable any system +provided by their distribution to automatically run `grub-mkconfig'. + + The file `/etc/default/grub' controls the operation of +`grub-mkconfig'. It is sourced by a shell script, and so must be valid +POSIX shell input; normally, it will just be a sequence of `KEY=value' +lines, but if the value contains spaces or other special characters +then it must be quoted. For example: + + GRUB_TERMINAL_INPUT="console serial" + + Valid keys in `/etc/default/grub' are as follows: + +`GRUB_DEFAULT' + The default menu entry. This may be a number, in which case it + identifies the Nth entry in the generated menu counted from zero, + or the title of a menu entry, or the special string `saved'. + Using the title may be useful if you want to set a menu entry as + the default even though there may be a variable number of entries + before it. + + For example, if you have: + + menuentry 'Example GNU/Linux distribution' --class gnu-linux { + ... + } + + then you can make this the default using: + + GRUB_DEFAULT='Example GNU/Linux distribution' + + If you set this to `saved', then the default menu entry will be + that saved by `GRUB_SAVEDEFAULT', `grub-set-default', or + `grub-reboot'. + + The default is `0'. + +`GRUB_SAVEDEFAULT' + If this option is set to `true', then, when an entry is selected, + save it as a new default entry for use by future runs of GRUB. + This is only useful if `GRUB_DEFAULT=saved'; it is a separate + option because `GRUB_DEFAULT=saved' is useful without this option, + in conjunction with `grub-set-default' or `grub-reboot'. Unset by + default. This option relies on the environment block, which may + not be available in all situations (*note Environment block::). + +`GRUB_TIMEOUT' + Boot the default entry this many seconds after the menu is + displayed, unless a key is pressed. The default is `5'. Set to + `0' to boot immediately without displaying the menu, or to `-1' to + wait indefinitely. + +`GRUB_HIDDEN_TIMEOUT' + Wait this many seconds for a key to be pressed before displaying + the menu. If no key is pressed during that time, boot + immediately. Unset by default. + +`GRUB_HIDDEN_TIMEOUT_QUIET' + In conjunction with `GRUB_HIDDEN_TIMEOUT', set this to `true' to + suppress the verbose countdown while waiting for a key to be + pressed before displaying the menu. Unset by default. + +`GRUB_DEFAULT_BUTTON' +`GRUB_TIMEOUT_BUTTON' +`GRUB_HIDDEN_TIMEOUT_BUTTON' +`GRUB_BUTTON_CMOS_ADDRESS' + Variants of the corresponding variables without the `_BUTTON' + suffix, used to support vendor-specific power buttons. *Note + Vendor power-on keys::. + +`GRUB_DISTRIBUTOR' + Set by distributors of GRUB to their identifying name. This is + used to generate more informative menu entry titles. + +`GRUB_TERMINAL_INPUT' + Select the terminal input device. You may select multiple devices + here, separated by spaces. + + Valid terminal input names depend on the platform, but may include + `console' (PC BIOS and EFI consoles), `serial' (serial terminal), + `ofconsole' (Open Firmware console), `at_keyboard' (PC AT + keyboard, mainly useful with Coreboot), or `usb_keyboard' (USB + keyboard using the HID Boot Protocol, for cases where the firmware + does not handle this). + + The default is to use the platform's native terminal input. + +`GRUB_TERMINAL_OUTPUT' + Select the terminal output device. You may select multiple + devices here, separated by spaces. + + Valid terminal output names depend on the platform, but may include + `console' (PC BIOS and EFI consoles), `serial' (serial terminal), + `gfxterm' (graphics-mode output), `ofconsole' (Open Firmware + console), or `vga_text' (VGA text output, mainly useful with + Coreboot). + + The default is to use the platform's native terminal output. + +`GRUB_TERMINAL' + If this option is set, it overrides both `GRUB_TERMINAL_INPUT' and + `GRUB_TERMINAL_OUTPUT' to the same value. + +`GRUB_SERIAL_COMMAND' + A command to configure the serial port when using the serial + console. *Note serial::. Defaults to `serial'. + +`GRUB_CMDLINE_LINUX' + Command-line arguments to add to menu entries for the Linux kernel. + +`GRUB_CMDLINE_LINUX_DEFAULT' + Unless `GRUB_DISABLE_RECOVERY' is set to `true', two menu entries + will be generated for each Linux kernel: one default entry and one + entry for recovery mode. This option lists command-line arguments + to add only to the default menu entry, after those listed in + `GRUB_CMDLINE_LINUX'. + +`GRUB_CMDLINE_NETBSD' +`GRUB_CMDLINE_NETBSD_DEFAULT' + As `GRUB_CMDLINE_LINUX' and `GRUB_CMDLINE_LINUX_DEFAULT', but for + NetBSD. + +`GRUB_CMDLINE_XEN' +`GRUB_CMDLINE_XEN_DEFAULT' + As `GRUB_CMDLINE_LINUX' and `GRUB_CMDLINE_LINUX_DEFAULT', but for + Linux and Xen. + +`GRUB_DISABLE_LINUX_UUID' + Normally, `grub-mkconfig' will generate menu entries that use + universally-unique identifiers (UUIDs) to identify the root + filesystem to the Linux kernel, using a `root=UUID=...' kernel + parameter. This is usually more reliable, but in some cases it + may not be appropriate. To disable the use of UUIDs, set this + option to `true'. + +`GRUB_DISABLE_RECOVERY' + If this option is set to `true', disable the generation of recovery + mode menu entries. + +`GRUB_VIDEO_BACKEND' + If graphical video support is required, either because the + `gfxterm' graphical terminal is in use or because + `GRUB_GFXPAYLOAD_LINUX' is set, then `grub-mkconfig' will normally + load all available GRUB video drivers and use the one most + appropriate for your hardware. If you need to override this for + some reason, then you can set this option. + + After `grub-install' has been run, the available video drivers are + listed in `/boot/grub/video.lst'. + +`GRUB_GFXMODE' + Set the resolution used on the `gfxterm' graphical terminal. Note + that you can only use modes which your graphics card supports via + VESA BIOS Extensions (VBE), so for example native LCD panel + resolutions may not be available. The default is `640x480'. + *Note gfxmode::. + +`GRUB_BACKGROUND' + Set a background image for use with the `gfxterm' graphical + terminal. The value of this option must be a file readable by + GRUB at boot time, and it must end with `.png', `.tga', `.jpg', or + `.jpeg'. The image will be scaled if necessary to fit the screen. + +`GRUB_THEME' + Set a theme for use with the `gfxterm' graphical terminal. + +`GRUB_GFXPAYLOAD_LINUX' + Set to `text' to force the Linux kernel to boot in normal text + mode, `keep' to preserve the graphics mode set using + `GRUB_GFXMODE', `WIDTHxHEIGHT'[`xDEPTH'] to set a particular + graphics mode, or a sequence of these separated by commas or + semicolons to try several modes in sequence. *Note gfxpayload::. + + Depending on your kernel, your distribution, your graphics card, + and the phase of the moon, note that using this option may cause + GNU/Linux to suffer from various display problems, particularly + during the early part of the boot sequence. If you have problems, + set this option to `text' and GRUB will tell Linux to boot in + normal text mode. + +`GRUB_DISABLE_OS_PROBER' + Normally, `grub-mkconfig' will try to use the external `os-prober' + program, if installed, to discover other operating systems + installed on the same system and generate appropriate menu entries + for them. Set this option to `true' to disable this. + +`GRUB_INIT_TUNE' + Play a tune on the speaker when GRUB starts. This is particularly + useful for users unable to see the screen. The value of this + option is passed directly to *note play::. + +`GRUB_BADRAM' + If this option is set, GRUB will issue a *note badram:: command to + filter out specified regions of RAM. + +`GRUB_PRELOAD_MODULES' + This option may be set to a list of GRUB module names separated by + spaces. Each module will be loaded as early as possible, at the + start of `grub.cfg'. + + + For more detailed customisation of `grub-mkconfig''s output, you may +edit the scripts in `/etc/grub.d' directly. `/etc/grub.d/40_custom' is +particularly useful for adding entire custom menu entries; simply type +the menu entries you want to add at the end of that file, making sure +to leave at least the first two lines intact. + + +File: grub.info, Node: Shell-like scripting, Next: Embedded configuration, Prev: Simple configuration, Up: Configuration + +5.2 Writing full configuration files directly +============================================= + +`grub.cfg' is written in GRUB's built-in scripting language, which has +a syntax quite similar to that of GNU Bash and other Bourne shell +derivatives. + +Words +===== + +A "word" is a sequence of characters considered as a single unit by +GRUB. Words are separated by "metacharacters", which are the following +plus space, tab, and newline: + + { } | & $ ; < > + + Quoting may be used to include metacharacters in words; see below. + +Reserved words +============== + +Reserved words have a special meaning to GRUB. The following words are +recognised as reserved when unquoted and either the first word of a +simple command or the third word of a `for' command: + + ! [[ ]] { } + case do done elif else esac fi for function + if in menuentry select then time until while + + Not all of these reserved words have a useful purpose yet; some are +reserved for future expansion. + +Quoting +======= + +Quoting is used to remove the special meaning of certain characters or +words. It can be used to treat metacharacters as part of a word, to +prevent reserved words from being recognised as such, and to prevent +variable expansion. + + There are three quoting mechanisms: the escape character, single +quotes, and double quotes. + + A non-quoted backslash (\) is the "escape character". It preserves +the literal value of the next character that follows, with the +exception of newline. + + Enclosing characters in single quotes preserves the literal value of +each character within the quotes. A single quote may not occur between +single quotes, even when preceded by a backslash. + + Enclosing characters in double quotes preserves the literal value of +all characters within the quotes, with the exception of `$' and `\'. +The `$' character retains its special meaning within double quotes. +The backslash retains its special meaning only when followed by one of +the following characters: `$', `"', `\', or newline. A +backslash-newline pair is treated as a line continuation (that is, it is +removed from the input stream and effectively ignored(1) (*note +Shell-like scripting-Footnote-1::)). A double quote may be quoted +within double quotes by preceding it with a backslash. + +Variable expansion +================== + +The `$' character introduces variable expansion. The variable name to +be expanded may be enclosed in braces, which are optional but serve to +protect the variable to be expanded from characters immediately +following it which could be interpreted as part of the name. + + Normal variable names begin with an alphabetic character, followed +by zero or more alphanumeric characters. These names refer to entries +in the GRUB environment (*note Environment::). + + Positional variable names consist of one or more digits. They +represent parameters passed to function calls, with `$1' representing +the first parameter, and so on. + + The special variable name `?' expands to the exit status of the most +recently executed command. When positional variable names are active, +other special variable names `@', `*' and `#' are defined and they +expand to all positional parameters with necessary quoting, positional +parameters without any quoting, and positional parameter count +respectively. + +Comments +======== + +A word beginning with `#' causes that word and all remaining characters +on that line to be ignored. + +Simple commands +=============== + +A "simple command" is a sequence of words separated by spaces or tabs +and terminated by a semicolon or a newline. The first word specifies +the command to be executed. The remaining words are passed as +arguments to the invoked command. + + The return value of a simple command is its exit status. If the +reserved word `!' precedes the command, then the return value is +instead the logical negation of the command's exit status. + +Compound commands +================= + +A "compound command" is one of the following: + +for NAME in WORD ...; do LIST; done + The list of words following `in' is expanded, generating a list of + items. The variable NAME is set to each element of this list in + turn, and LIST is executed each time. The return value is the + exit status of the last command that executes. If the expansion + of the items following `in' results in an empty list, no commands + are executed, and the return status is 0. + +if LIST; then LIST; [elif LIST; then LIST;] ... [else LIST;] fi + The `if' LIST is executed. If its exit status is zero, the `then' + LIST is executed. Otherwise, each `elif' LIST is executed in + turn, and if its exit status is zero, the corresponding `then' + LIST is executed and the command completes. Otherwise, the `else' + LIST is executed, if present. The exit status is the exit status + of the last command executed, or zero if no condition tested true. + +while COND; do LIST; done +until COND; do LIST; done + The `while' command continuously executes the `do' LIST as long as + the last command in COND returns an exit status of zero. The + `until' command is identical to the `while' command, except that + the test is negated; the `do' LIST is executed as long as the last + command in COND returns a non-zero exit status. The exit status + of the `while' and `until' commands is the exit status of the last + `do' LIST command executed, or zero if none was executed. + +function NAME { COMMAND; ... } + This defines a function named NAME. The "body" of the function is + the list of commands within braces, each of which must be + terminated with a semicolon or a newline. This list of commands + will be executed whenever NAME is specified as the name of a + simple command. Function definitions do not affect the exit + status in `$?'. When executed, the exit status of a function is + the exit status of the last command executed in the body. + +menuentry TITLE [`--class=class' ...] [`--users=users'] [`--hotkey=key'] { COMMAND; ... } + *Note menuentry::. + +Built-in Commands +================= + +Some built-in commands are also provided by GRUB script to help script +writers perform actions that are otherwise not possible. For example, +these include commands to jump out of a loop without fully completing +it, etc. + +break [`n'] + Exit from within a `for', `while', or `until' loop. If `n' is + specified, break `n' levels. `n' must be greater than or equal to + 1. If `n' is greater than the number of enclosing loops, all + enclosing loops are exited. The return value is 0 unless `n' is + not greater than or equal to 1. + +continue [`n'] + Resume the next iteration of the enclosing `for', `while' or + `until' loop. If `n' is specified, resume at the `n'th enclosing + loop. `n' must be greater than or equal to 1. If `n' is greater + than the number of enclosing loops, the last enclosing loop (the + "top-level" loop) is resumed. The return value is 0 unless `n' is + not greater than or equal to 1. + +return [`n'] + Causes a function to exit with the return value specified by `n'. + If `n' is omitted, the return status is that of the last command + executed in the function body. If used outside a function the + return status is false. + +shift [`n'] + The positional parameters from `n'+1 ... are renamed to `$1'.... + Parameters represented by the numbers `$#' down to `$#'-`n'+1 are + unset. `n' must be a non-negative number less than or equal to + `$#'. If `n' is 0, no parameters are changed. If `n' is not + given, it is assumed to be 1. If `n' is greater than `$#', the + positional parameters are not changed. The return status is + greater than zero if `n' is greater than `$#' or less than zero; + otherwise 0. + + + +File: grub.info, Node: Shell-like scripting-Footnotes, Up: Shell-like scripting + + (1) Currently a backslash-newline pair within a variable name is not +handled properly, so use this feature with some care. + + +File: grub.info, Node: Embedded configuration, Prev: Shell-like scripting, Up: Configuration + +5.3 Embedding a configuration file into GRUB +============================================ + +GRUB supports embedding a configuration file directly into the core +image, so that it is loaded before entering normal mode. This is +useful, for example, when it is not straightforward to find the real +configuration file, or when you need to debug problems with loading +that file. `grub-install' uses this feature when it is not using BIOS +disk functions or when installing to a different disk from the one +containing `/boot/grub', in which case it needs to use the `search' +command (*note search::) to find `/boot/grub'. + + To embed a configuration file, use the `-c' option to +`grub-mkimage'. The file is copied into the core image, so it may +reside anywhere on the file system, and may be removed after running +`grub-mkimage'. + + After the embedded configuration file (if any) is executed, GRUB +will load the `normal' module (*note normal::), which will then read +the real configuration file from `$prefix/grub.cfg'. By this point, the +`root' variable will also have been set to the root device name. For +example, `prefix' might be set to `(hd0,1)/boot/grub', and `root' might +be set to `hd0,1'. Thus, in most cases, the embedded configuration +file only needs to set the `prefix' and `root' variables, and then drop +through to GRUB's normal processing. A typical example of this might +look like this: + + search.fs_uuid 01234567-89ab-cdef-0123-456789abcdef root + set prefix=($root)/boot/grub + + (The `search_fs_uuid' module must be included in the core image for +this example to work.) + + In more complex cases, it may be useful to read other configuration +files directly from the embedded configuration file. This allows such +things as reading files not called `grub.cfg', or reading files from a +directory other than that where GRUB's loadable modules are installed. +To do this, include the `configfile' and `normal' modules in the core +image, and embed a configuration file that uses the `configfile' +command to load another file. The following example of this also +requires the `echo', `search_label', and `test' modules to be included +in the core image: + + search.fs_label grub root + if [ -e /boot/grub/example/test1.cfg ]; then + set prefix=($root)/boot/grub + configfile /boot/grub/example/test1.cfg + else + if [ -e /boot/grub/example/test2.cfg ]; then + set prefix=($root)/boot/grub + configfile /boot/grub/example/test2.cfg + else + echo "Could not find an example configuration file!" + fi + fi + + The embedded configuration file may not contain menu entries +directly, but may only read them from elsewhere using `configfile'. + + +File: grub.info, Node: Theme file format, Next: Network, Prev: Configuration, Up: Top + +6 Theme file format +******************* + +6.1 Introduction +================ + +The GRUB graphical menu supports themes that can customize the layout +and appearance of the GRUB boot menu. The theme is configured through +a plain text file that specifies the layout of the various GUI +components (including the boot menu, timeout progress bar, and text +messages) as well as the appearance using colors, fonts, and images. +Example is available in docs/example_theme.txt + +6.2 Theme Elements +================== + +6.2.1 Colors +------------ + +Colors can be specified in several ways: + + * HTML-style "#RRGGBB" or "#RGB" format, where *R*, *G*, and *B* are + hexadecimal digits (e.g., "#8899FF") + + * as comma-separated decimal RGB values (e.g., "128, 128, 255") + + * with "SVG 1.0 color names" (e.g., "cornflowerblue") which must be + specified in lowercase. + +6.2.2 Fonts +----------- + +The fonts GRUB uses "PFF2 font format" bitmap fonts. Fonts are +specified with full font names. Currently there is no provision for a +preference list of fonts, or deriving one font from another. Fonts are +loaded with the "loadfont" command in GRUB. To see the list of loaded +fonts, execute the "lsfonts" command. If there are too many fonts to +fit on screen, do "set pager=1" before executing "lsfonts". + +6.2.3 Progress Bar +------------------ + +Figure 6.1 + +Figure 6.2 + + Progress bars are used to display the remaining time before GRUB +boots the default menu entry. To create a progress bar that will +display the remaining time before automatic boot, simply create a +"progress_bar" component with the id "__timeout__". This indicates to +GRUB that the progress bar should be updated as time passes, and it +should be made invisible if the countdown to automatic boot is +interrupted by the user. + + Progress bars may optionally have text displayed on them. This is +controlled through the "show_text" property, which can be set to either +"true" or "false" to control whether text is displayed. When GRUB is +counting down to automatic boot, the text informs the user of the +number of seconds remaining. + +6.2.4 Circular Progress Indicator +--------------------------------- + +The circular progress indicator functions similarly to the progress +bar. When given an id of "__timeout__", GRUB updates the circular +progress indicator's value to indicate the time remaining. For the +circular progress indicator, there are two images used to render it: +the *center* image, and the *tick* image. The center image is rendered +in the center of the component, while the tick image is used to render +each mark along the circumference of the indicator. + +6.2.5 Labels +------------ + +Text labels can be placed on the boot screen. The font, color, and +horizontal alignment can be specified for labels. If a label is given +the id "__timeout__", then the "text" property for that label is also +updated with a message informing the user of the number of seconds +remaining until automatic boot. This is useful in case you want the +text displayed somewhere else instead of directly on the progress bar. + +6.2.6 Boot Menu +--------------- + +The boot menu where GRUB displays the menu entries from the "grub.cfg" +file. It is a list of items, where each item has a title and an +optional icon. The icon is selected based on the *classes* specified +for the menu entry. If there is a PNG file named "myclass.png" in the +"grub/themes/icons" directory, it will be displayed for items which +have the class *myclass*. The boot menu can be customized in several +ways, such as the font and color used for the menu entry title, and by +specifying styled boxes for the menu itself and for the selected item +highlight. + +6.2.7 Styled Boxes +------------------ + +One of the most important features for customizing the layout is the +use of *styled boxes*. A styled box is composed of 9 rectangular (and +potentially empty) regions, which are used to seamlessly draw the +styled box on screen: + +Northwest (nw) North (n) Northeast (ne) +West (w) Center (c) East (e) +Southwest (sw) South (s) Southeast (se) + + To support any size of box on screen, the center slice and the +slices for the top, bottom, and sides are all scaled to the correct +size for the component on screen, using the following rules: + + 1. The edge slices (north, south, east, and west) are scaled in the + direction of the edge they are adjacent to. For instance, the + west slice is scaled vertically. + + 2. The corner slices (northwest, northeast, southeast, and southwest) + are not scaled. + + 3. The center slice is scaled to fill the remaining space in the + middle. + + As an example of how an image might be sliced up, consider the +styled box used for a terminal view. + +Figure 6.3 + +6.2.8 Creating Styled Box Images +-------------------------------- + +The Inkscape_ scalable vector graphics editor is a very useful tool for +creating styled box images. One process that works well for slicing a +drawing into the necessary image slices is: + + 1. Create or open the drawing you'd like use. + + 2. Create a new layer on the top of the layer stack. Make it + visible. Select this layer as the current layer. + + 3. Draw 9 rectangles on your drawing where you'd like the slices to + be. Clear the fill option, and set the stroke to 1 pixel wide + solid stroke. The corners of the slices must meet precisely; if + it is off by a single pixel, it will probably be evident when the + styled box is rendered in the GRUB menu. You should probably go + to File | Document Properties | Grids and enable a grid or create + a guide (click on one of the rulers next to the drawing and drag + over the drawing; release the mouse button to place the guide) to + help place the rectangles precisely. + + 4. Right click on the center slice rectangle and choose Object + Properties. Change the "Id" to "slice_c" and click Set. Repeat + this for the remaining 8 rectangles, giving them Id values of + "slice_n", "slice_ne", "slice_e", and so on according to the + location. + + 5. Save the drawing. + + 6. Select all the slice rectangles. With the slice layer selected, + you can simply press Ctrl+A to select all rectangles. The status + bar should indicate that 9 rectangles are selected. + + 7. Click the layer hide icon for the slice layer in the layer + palette. The rectangles will remain selected, even though they + are hidden. + + 8. Choose File | Export Bitmap and check the *Batch export 9 selected + objects* box. Make sure that *Hide all except selected* is + unchecked. click *Export*. This will create PNG files in the same + directory as the drawing, named after the slices. These can now + be used for a styled box in a GRUB theme. + +6.3 Theme File Manual +===================== + +The theme file is a plain text file. Lines that begin with "#" are +ignored and considered comments. (Note: This may not be the case if +the previous line ended where a value was expected.) + + The theme file contains two types of statements: + 1. Global properties. + + 2. Component construction. + +6.3.1 Global Properties +----------------------- + +6.3.2 Format +------------ + +Global properties are specified with the simple format: + * name1: value1 + + * name2: "value which may contain spaces" + + * name3: #88F + + In this example, name3 is assigned a color value. + +6.3.3 Global Property List +-------------------------- + +title-text Specifies the text to display at the top + center of the screen as a title. +title-font Defines the font used for the title + message at the top of the screen. +title-color Defines the color of the title message. +message-font Defines the font used for messages, such + as when GRUB is unable to automatically + boot an entry. +message-color Defines the color of the message text. +message-bg-color Defines the background color of the + message text area. +desktop-image Specifies the image to use as the + background. It will be scaled to fit the + screen size. +desktop-color Specifies the color for the background if + *desktop-image* is not specified. +terminal-box Specifies the file name pattern for the + styled box slices used for the command + line terminal window. For example, + "terminal-box: terminal_*.png" will use + the images "terminal_c.png" as the center + area, "terminal_n.png" as the north (top) + edge, "terminal_nw.png" as the northwest + (upper left) corner, and so on. If the + image for any slice is not found, it will + simply be left empty. + +6.3.4 Component Construction +---------------------------- + +Greater customizability comes is provided by components. A tree of +components forms the user interface. *Containers* are components that +can contain other components, and there is always a single root +component which is an instance of a *canvas* container. + + Components are created in the theme file by prefixing the type of +component with a '+' sign: + + ` + label { text="GRUB" font="aqui 11" color="#8FF" } ' + + properties of a component are specified as "name = value" (whitespace +surrounding tokens is optional and is ignored) where *value* may be: + * a single word (e.g., "align = center", "color = #FF8080"), + + * a quoted string (e.g., "text = "Hello, World!""), or + + * a tuple (e.g., "preferred_size = (120, 80)"). + +6.3.5 Component List +-------------------- + +The following is a list of the components and the properties they +support. + + * label A label displays a line of text. + + Properties: + text The text to display. + font The font to use for text display. + color The color of the text. + align The horizontal alignment of the text within + the component. Options are "left", "center", + and "right". + + * image A component that displays an image. The image is scaled + to fit the component, although the preferred size defaults to + the image's original size unless the "preferred_size" property + is explicitly set. + + Properties: + + file The full path to the image file to load. + + * progress_bar Displays a horizontally oriented progress bar. It + can be rendered using simple solid filled rectangles, or using + a pair of pixmap styled boxes. + + Properties: + + fg_color The foreground color for plain solid color + rendering. + bg_color The background color for plain solid color + rendering. + border_color The border color for plain solid color + rendering. + text_color The text color. + show_text Boolean value indicating whether or not text + should be displayed on the progress bar. If + set to *false*, then no text will be displayed + on the bar. If set to any other value, text + will be displayed on the bar. + bar_style The styled box specification for the frame of + the progress bar. Example: + "progress_frame_*.png" + highlight_styleThe styled box specification for the + highlighted region of the progress bar. This + box will be used to paint just the highlighted + region of the bar, and will be increased in + size as the bar nears completion. Example: + "progress_hl_*.png". + text The text to display on the progress bar. If + the progress bar's ID is set to "__timeout__", + then GRUB will updated this property with an + informative message as the timeout approaches. + value The progress bar current value. Normally not + set manually. + start The progress bar start value. Normally not + set manually. + end The progress bar end value. Normally not set + manually. + + * circular_progress Displays a circular progress indicator. The + appearance of this component is determined by two images: the + *center* image and the *tick* image. The center image is + generally larger and will be drawn in the center of the + component. Around the circumference of a circle within the + component, the tick image will be drawn a certain number of + times, depending on the properties of the component. + + Properties: + + center_bitmap The file name of the image to draw in + the center of the component. + tick_bitmap The file name of the image to draw for + the tick marks. + num_ticks The number of ticks that make up a full + circle. + ticks_disappear Boolean value indicating whether tick + marks should progressively appear, + or progressively disappear as *value* + approaches *end*. Specify "true" + or "false". + value The progress indicator current value. + Normally not set manually. + start The progress indicator start value. + Normally not set manually. + end The progress indicator end value. + Normally not set manually. + + * boot_menu Displays the GRUB boot menu. It allows selecting + items and executing them. + + Properties: + + item_font The font to use for the menu item + titles. + selected_item_font The font to use for the selected + menu item, or "inherit" (the + default) to use "item_font" + for the selected menu item as + well. + item_color The color to use for the menu + item titles. + selected_item_color The color to use for the selected + menu item, or "inherit" (the + default) to use + "item_color" for the selected + menu item as well. + icon_width The width of menu item icons. + Icons are scaled to the specified + size. + icon_height The height of menu item icons. + item_height The height of each menu item in + pixels. + item_padding The amount of space in pixels to + leave on each side of the menu + item contents. + item_icon_space The space between an item's icon + and the title text, in pixels. + item_spacing The amount of space to leave + between menu items, in pixels. + menu_pixmap_style The image file pattern for the + menu frame styled box. + Example: "menu_*.png" (this will + use images such as "menu_c.png", + "menu_w.png", `menu_nw.png", + etc.) + selected_item_pixmap_style The image file pattern for the + selected item highlight styled + box. + scrollbar Boolean value indicating whether + the scroll bar should be drawn if + the frame and thumb styled + boxes are configured. + scrollbar_frame The image file pattern for the + entire scroll bar. + Example: "scrollbar_*.png" + scrollbar_thumb The image file pattern for the + scroll bar thumb (the part of the + scroll bar that moves as + scrolling occurs). + Example: "scrollbar_thumb_*.png" + max_items_shown The maximum number of items to + show on the menu. If there are + more than *max_items_shown* + items in the menu, the list will + scroll to make all items + accessible. + + * canvas Canvas is a container that allows manual placement of + components within it. It does not alter the positions of its + child components. It assigns all child components their + preferred sizes. + + * hbox The *hbox* container lays out its children from left to + right, giving each one its preferred width. The height of each + child is set to the maximum of the preferred heights of all + children. + + * vbox The *vbox* container lays out its children from top to + bottom, giving each one its preferred height. The width of + each child is set to the maximum of the preferred widths of all + children. + +6.3.6 Common properties +----------------------- + +The following properties are supported by all components: +`left' + The distance from the left border of container to left border of + the object in either of three formats: + x Value in pixels + p% Percentage + p%+x mixture of both + +`top' + The distance from the left border of container to left border of + the object in same format. + +`width' + The width of object in same format. + +`height' + The height of object in same format. + +`id' + The identifier for the component. This can be any arbitrary + string. The ID can be used by scripts to refer to various + components in the GUI component tree. Currently, there is one + special ID value that GRUB recognizes: + + "__timeout__" Any component with this ID will have its + *text*, *start*, *end*, *value*, and *visible* + properties set by GRUB when it is counting + down to an automatic boot of the default menu + entry. + + +File: grub.info, Node: Network, Next: Serial terminal, Prev: Theme file format, Up: Top + +7 Booting GRUB from the network +******************************* + +The following instructions only work on PC BIOS systems where the +Preboot eXecution Environment (PXE) is available. + + To generate a PXE boot image, run: + + grub-mkimage --format=i386-pc-pxe --output=grub.pxe --prefix='(pxe)/boot/grub' pxe pxecmd + + Copy `grub.pxe', `/boot/grub/*.mod', and `/boot/grub/*.lst' to the +PXE (TFTP) server, ensuring that `*.mod' and `*.lst' are accessible via +the `/boot/grub/' path from the TFTP server root. Set the DHCP server +configuration to offer `grub.pxe' as the boot file (the `filename' +option in ISC dhcpd). + + You can also use the `grub-mknetdir' utility to generate an image +and a GRUB directory tree, rather than copying files around manually. + + After GRUB has started, files on the TFTP server will be accessible +via the `(pxe)' device. + + The server and gateway IP address can be controlled by changing the +`(pxe)' device name to `(pxe:SERVER-IP)' or +`(pxe:SERVER-IP:GATEWAY-IP)'. Note that this should be changed both in +the prefix and in any references to the device name in the +configuration file. + + GRUB provides several environment variables which may be used to +inspect or change the behaviour of the PXE device: + +`net_pxe_ip' + The IP address of this machine. Read-only. + +`net_pxe_mac' + The network interface's MAC address. Read-only. + +`net_pxe_hostname' + The client host name provided by DHCP. Read-only. + +`net_pxe_domain' + The client domain name provided by DHCP. Read-only. + +`net_pxe_rootpath' + The path to the client's root disk provided by DHCP. Read-only. + +`net_pxe_extensionspath' + The path to additional DHCP vendor extensions provided by DHCP. + Read-only. + +`net_pxe_boot_file' + The boot file name provided by DHCP. Read-only. + +`net_pxe_dhcp_server_name' + The name of the DHCP server responsible for these boot parameters. + Read-only. + +`pxe_blksize' + The PXE transfer block size. Read-write, defaults to 512. + +`pxe_default_server' + The default PXE server. Read-write, although setting this is only + useful before opening a PXE device. + +`pxe_default_gateway' + The default gateway to use when contacting the PXE server. + Read-write, although setting this is only useful before opening a + PXE device. + + +File: grub.info, Node: Serial terminal, Next: Vendor power-on keys, Prev: Network, Up: Top + +8 Using GRUB via a serial line +****************************** + +This chapter describes how to use the serial terminal support in GRUB. + + If you have many computers or computers with no display/keyboard, it +could be very useful to control the computers through serial +communications. To connect one computer with another via a serial line, +you need to prepare a null-modem (cross) serial cable, and you may need +to have multiport serial boards, if your computer doesn't have extra +serial ports. In addition, a terminal emulator is also required, such as +minicom. Refer to a manual of your operating system, for more +information. + + As for GRUB, the instruction to set up a serial terminal is quite +simple. Here is an example: + + grub> serial --unit=0 --speed=9600 + grub> terminal_input serial; terminal_output serial + + The command `serial' initializes the serial unit 0 with the speed +9600bps. The serial unit 0 is usually called `COM1', so, if you want to +use COM2, you must specify `--unit=1' instead. This command accepts +many other options, so please refer to *note serial::, for more details. + + The commands `terminal_input' (*note terminal_input::) and +`terminal_output' (*note terminal_output::) choose which type of +terminal you want to use. In the case above, the terminal will be a +serial terminal, but you can also pass `console' to the command, as +`terminal_input serial console'. In this case, a terminal in which you +press any key will be selected as a GRUB terminal. In the example above, +note that you need to put both commands on the same command line, as you +will lose the ability to type commands on the console after the first +command. + + However, note that GRUB assumes that your terminal emulator is +compatible with VT100 by default. This is true for most terminal +emulators nowadays, but you should pass the option `--dumb' to the +command if your terminal emulator is not VT100-compatible or implements +few VT100 escape sequences. If you specify this option then GRUB +provides you with an alternative menu interface, because the normal +menu requires several fancy features of your terminal. + + +File: grub.info, Node: Vendor power-on keys, Next: Images, Prev: Serial terminal, Up: Top + +9 Using GRUB with vendor power-on keys +************************************** + +Some laptop vendors provide an additional power-on button which boots +another OS. GRUB supports such buttons with the `GRUB_TIMEOUT_BUTTON', +`GRUB_DEFAULT_BUTTON', `GRUB_HIDDEN_TIMEOUT_BUTTON' and +`GRUB_BUTTON_CMOS_ADDRESS' variables in default/grub (*note Simple +configuration::). `GRUB_TIMEOUT_BUTTON', `GRUB_DEFAULT_BUTTON' and +`GRUB_HIDDEN_TIMEOUT_BUTTON' are used instead of the corresponding +variables without the `_BUTTON' suffix when powered on using the special +button. `GRUB_BUTTON_CMOS_ADDRESS' is vendor-specific and partially +model-specific. Values known to the GRUB team are: + + + 85:3 + + + 84:1 (unconfirmed) + + To take full advantage of this function, install GRUB into the MBR +(*note Installing GRUB using grub-install::). + + If you have a laptop which has a similar feature and not in the +above list could you figure your address and contribute? To discover +the address do the following: + * boot normally + + * sudo modprobe nvram + sudo cat /dev/nvram | xxd > normal_button.txt + + * boot using vendor button + + * sudo modprobe nvram + sudo cat /dev/nvram | xxd > normal_vendor.txt + + Then compare these text files and find where a bit was toggled. E.g. +in case of Dell XPS it was: + byte 0x47: 20 --> 28 + It's a bit number 3 as seen from following table: +0 01 +1 02 +2 04 +3 08 +4 10 +5 20 +6 40 +7 80 + + 0x47 is decimal 71. Linux nvram implementation cuts first 14 bytes of +CMOS. So the real byte address in CMOS is 71+14=85 So complete address +is 85:3 + + +File: grub.info, Node: Images, Next: Filesystem, Prev: Vendor power-on keys, Up: Top + +10 GRUB image files +******************* + +GRUB consists of several images: a variety of bootstrap images for +starting GRUB in various ways, a kernel image, and a set of modules +which are combined with the kernel image to form a core image. Here is +a short overview of them. + +`boot.img' + On PC BIOS systems, this image is the first part of GRUB to start. + It is written to a master boot record (MBR) or to the boot sector + of a partition. Because a PC boot sector is 512 bytes, the size + of this image is exactly 512 bytes. + + The sole function of `boot.img' is to read the first sector of the + core image from a local disk and jump to it. Because of the size + restriction, `boot.img' cannot understand any file system + structure, so `grub-setup' hardcodes the location of the first + sector of the core image into `boot.img' when installing GRUB. + +`diskboot.img' + This image is used as the first sector of the core image when + booting from a hard disk. It reads the rest of the core image + into memory and starts the kernel. Since file system handling is + not yet available, it encodes the location of the core image using + a block list format. + +`cdboot.img' + This image is used as the first sector of the core image when + booting from a CD-ROM drive. It performs a similar function to + `diskboot.img'. + +`pxeboot.img' + This image is used as the start of the core image when booting + from the network using PXE. *Note Network::. + +`lnxboot.img' + This image may be placed at the start of the core image in order + to make GRUB look enough like a Linux kernel that it can be booted + by LILO using an `image=' section. + +`kernel.img' + This image contains GRUB's basic run-time facilities: frameworks + for device and file handling, environment variables, the rescue + mode command-line parser, and so on. It is rarely used directly, + but is built into all core images. + +`core.img' + This is the core image of GRUB. It is built dynamically from the + kernel image and an arbitrary list of modules by the `grub-mkimage' + program. Usually, it contains enough modules to access + `/boot/grub', and loads everything else (including menu handling, + the ability to load target operating systems, and so on) from the + file system at run-time. The modular design allows the core image + to be kept small, since the areas of disk where it must be + installed are often as small as 32KB. + + *Note BIOS installation::, for details on where the core image can + be installed on PC systems. + +`*.mod' + Everything else in GRUB resides in dynamically loadable modules. + These are often loaded automatically, or built into the core image + if they are essential, but may also be loaded manually using the + `insmod' command (*note insmod::). + +For GRUB Legacy users +===================== + +GRUB 2 has a different design from GRUB Legacy, and so correspondences +with the images it used cannot be exact. Nevertheless, GRUB Legacy +users often ask questions in the terms they are familiar with, and so +here is a brief guide to how GRUB 2's images relate to that. + +`stage1' + Stage 1 from GRUB Legacy was very similar to `boot.img' in GRUB 2, + and they serve the same function. + +`*_stage1_5' + In GRUB Legacy, Stage 1.5's function was to include enough + filesystem code to allow the much larger Stage 2 to be read from + an ordinary filesystem. In this respect, its function was similar + to `core.img' in GRUB 2. However, `core.img' is much more capable + than Stage 1.5 was; since it offers a rescue shell, it is + sometimes possible to recover manually in the event that it is + unable to load any other modules, for example if partition numbers + have changed. `core.img' is built in a more flexible way, + allowing GRUB 2 to support reading modules from advanced disk + types such as LVM and RAID. + + GRUB Legacy could run with only Stage 1 and Stage 2 in some limited + configurations, while GRUB 2 requires `core.img' and cannot work + without it. + +`stage2' + GRUB 2 has no single Stage 2 image. Instead, it loads modules from + `/boot/grub' at run-time. + +`stage2_eltorito' + In GRUB 2, images for booting from CD-ROM drives are now + constructed using `cdboot.img' and `core.img', making sure that + the core image contains the `iso9660' module. It is usually best + to use the `grub-mkrescue' program for this. + +`nbgrub' + There is as yet no equivalent for `nbgrub' in GRUB 2; it was used + by Etherboot and some other network boot loaders. + +`pxegrub' + In GRUB 2, images for PXE network booting are now constructed using + `pxeboot.img' and `core.img', making sure that the core image + contains the `pxe' and `pxecmd' modules. *Note Network::. + + +File: grub.info, Node: Filesystem, Next: Interface, Prev: Images, Up: Top + +11 Filesystem syntax and semantics +********************************** + +GRUB uses a special syntax for specifying disk drives which can be +accessed by BIOS. Because of BIOS limitations, GRUB cannot distinguish +between IDE, ESDI, SCSI, or others. You must know yourself which BIOS +device is equivalent to which OS device. Normally, that will be clear if +you see the files in a device or use the command `search' (*note +search::). + +* Menu: + +* Device syntax:: How to specify devices +* File name syntax:: How to specify files +* Block list syntax:: How to specify block lists + + +File: grub.info, Node: Device syntax, Next: File name syntax, Up: Filesystem + +11.1 How to specify devices +=========================== + +The device syntax is like this: + + `(DEVICE[,PART-NUM][,BSD-SUBPART-LETTER])' + + `[]' means the parameter is optional. DEVICE should be either `fd' +or `hd' followed by a digit, like `fd0'. But you can also set DEVICE +to a hexadecimal or a decimal number which is a BIOS drive number, so +the following are equivalent: + + (hd0) + (0x80) + (128) + + PART-NUM represents the partition number of DEVICE, starting from +one for primary partitions and from five for extended partitions, and +BSD-SUBPART-LETTER represents the BSD disklabel subpartition, such as +`a' or `e'. + + A shortcut for specifying BSD subpartitions is +`(DEVICE,BSD-SUBPART-LETTER)', in this case, GRUB searches for the +first PC partition containing a BSD disklabel, then finds the +subpartition BSD-SUBPART-LETTER. Here is an example: + + (hd0,a) + + The syntax `(hd0)' represents using the entire disk (or the MBR when +installing GRUB), while the syntax `(hd0,1)' represents using the first +partition of the disk (or the boot sector of the partition when +installing GRUB). + + If you enabled the network support, the special drive `(pxe)' is +also available. Before using the network drive, you must initialize the +network. *Note Network::, for more information. + + If you boot GRUB from a CD-ROM, `(cd)' is available. *Note Making a +GRUB bootable CD-ROM::, for details. + + +File: grub.info, Node: File name syntax, Next: Block list syntax, Prev: Device syntax, Up: Filesystem + +11.2 How to specify files +========================= + +There are two ways to specify files, by "absolute file name" and by +"block list". + + An absolute file name resembles a Unix absolute file name, using `/' +for the directory separator (not `\' as in DOS). One example is +`(hd0,1)/boot/grub/grub.cfg'. This means the file `/boot/grub/grub.cfg' +in the first partition of the first hard disk. If you omit the device +name in an absolute file name, GRUB uses GRUB's "root device" +implicitly. So if you set the root device to, say, `(hd1,1)' by the +command `set root=(hd1,1)' (*note set::), then `/boot/kernel' is the +same as `(hd1,1)/boot/kernel'. + + +File: grub.info, Node: Block list syntax, Prev: File name syntax, Up: Filesystem + +11.3 How to specify block lists +=============================== + +A block list is used for specifying a file that doesn't appear in the +filesystem, like a chainloader. The syntax is +`[OFFSET]+LENGTH[,[OFFSET]+LENGTH]...'. Here is an example: + + `0+100,200+1,300+300' + + This represents that GRUB should read blocks 0 through 99, block 200, +and blocks 300 through 599. If you omit an offset, then GRUB assumes +the offset is zero. + + Like the file name syntax (*note File name syntax::), if a blocklist +does not contain a device name, then GRUB uses GRUB's "root device". So +`(hd0,2)+1' is the same as `+1' when the root device is `(hd0,2)'. + + +File: grub.info, Node: Interface, Next: Environment, Prev: Filesystem, Up: Top + +12 GRUB's user interface +************************ + +GRUB has both a simple menu interface for choosing preset entries from a +configuration file, and a highly flexible command-line for performing +any desired combination of boot commands. + + GRUB looks for its configuration file as soon as it is loaded. If one +is found, then the full menu interface is activated using whatever +entries were found in the file. If you choose the "command-line" menu +option, or if the configuration file was not found, then GRUB drops to +the command-line interface. + +* Menu: + +* Command-line interface:: The flexible command-line interface +* Menu interface:: The simple menu interface +* Menu entry editor:: Editing a menu entry + + +File: grub.info, Node: Command-line interface, Next: Menu interface, Up: Interface + +12.1 The flexible command-line interface +======================================== + +The command-line interface provides a prompt and after it an editable +text area much like a command-line in Unix or DOS. Each command is +immediately executed after it is entered(1) (*note Command-line +interface-Footnote-1::). The commands (*note Command-line and menu +entry commands::) are a subset of those available in the configuration +file, used with exactly the same syntax. + + Cursor movement and editing of the text on the line can be done via a +subset of the functions available in the Bash shell: + + + + Move forward one character. + + + + Move back one character. + + + + Move to the start of the line. + + + + Move the the end of the line. + + + + Delete the character underneath the cursor. + + + + Delete the character to the left of the cursor. + + + Kill the text from the current cursor position to the end of the + line. + + + Kill backward from the cursor to the beginning of the line. + + + Yank the killed text back into the buffer at the cursor. + + + + Move up through the history list. + + + + Move down through the history list. + + When typing commands interactively, if the cursor is within or before +the first word in the command-line, pressing the key (or ) +will display a listing of the available commands, and if the cursor is +after the first word, the `' will provide a completion listing of +disks, partitions, and file names depending on the context. Note that +to obtain a list of drives, one must open a parenthesis, as `root ('. + + Note that you cannot use the completion functionality in the TFTP +filesystem. This is because TFTP doesn't support file name listing for +the security. + + +File: grub.info, Node: Command-line interface-Footnotes, Up: Command-line interface + + (1) However, this behavior will be changed in the future version, in +a user-invisible way. + + +File: grub.info, Node: Menu interface, Next: Menu entry editor, Prev: Command-line interface, Up: Interface + +12.2 The simple menu interface +============================== + +The menu interface is quite easy to use. Its commands are both +reasonably intuitive and described on screen. + + Basically, the menu interface provides a list of "boot entries" to +the user to choose from. Use the arrow keys to select the entry of +choice, then press to run it. An optional timeout is available +to boot the default entry (the first one if not set), which is aborted +by pressing any key. + + Commands are available to enter a bare command-line by pressing +(which operates exactly like the non-config-file version of GRUB, but +allows one to return to the menu if desired by pressing ) or to +edit any of the "boot entries" by pressing . + + If you protect the menu interface with a password (*note Security::), +all you can do is choose an entry by pressing , or press

to +enter the password. + + +File: grub.info, Node: Menu entry editor, Prev: Menu interface, Up: Interface + +12.3 Editing a menu entry +========================= + +The menu entry editor looks much like the main menu interface, but the +lines in the menu are individual commands in the selected entry instead +of entry names. + + If an is pressed in the editor, it aborts all the changes made +to the configuration entry and returns to the main menu interface. + + Each line in the menu entry can be edited freely, and you can add +new lines by pressing at the end of a line. To boot the edited +entry, press . + + Although GRUB unfortunately does not support "undo", you can do +almost the same thing by just returning to the main menu using . + + +File: grub.info, Node: Environment, Next: Commands, Prev: Interface, Up: Top + +13 GRUB environment variables +***************************** + +GRUB supports environment variables which are rather like those offered +by all Unix-like systems. Environment variables have a name, which is +unique and is usually a short identifier, and a value, which is an +arbitrary string of characters. They may be set (*note set::), unset +(*note unset::), or looked up (*note Shell-like scripting::) by name. + + A number of environment variables have special meanings to various +parts of GRUB. Others may be used freely in GRUB configuration files. + +* Menu: + +* Special environment variables:: +* Environment block:: + + +File: grub.info, Node: Special environment variables, Next: Environment block, Up: Environment + +13.1 Special environment variables +================================== + +These variables have special meaning to GRUB. + +* Menu: + +* biosnum:: +* chosen:: +* color_highlight:: +* color_normal:: +* debug:: +* default:: +* fallback:: +* gfxmode:: +* gfxpayload:: +* gfxterm_font:: +* icondir:: +* lang:: +* locale_dir:: +* menu_color_highlight:: +* menu_color_normal:: +* net_pxe_boot_file:: +* net_pxe_dhcp_server_name:: +* net_pxe_domain:: +* net_pxe_extensionspath:: +* net_pxe_hostname:: +* net_pxe_ip:: +* net_pxe_mac:: +* net_pxe_rootpath:: +* pager:: +* prefix:: +* pxe_blksize:: +* pxe_default_gateway:: +* pxe_default_server:: +* root:: +* superusers:: +* theme:: +* timeout:: + + +File: grub.info, Node: biosnum, Next: chosen, Up: Special environment variables + +13.1.1 biosnum +-------------- + +When chain-loading another boot loader (*note Chain-loading::), GRUB may +need to know what BIOS drive number corresponds to the root device +(*note root::) so that it can set up registers properly. If the +BIOSNUM variable is set, it overrides GRUB's own means of guessing this. + + For an alternative approach which also changes BIOS drive mappings +for the chain-loaded system, *note drivemap::. + + +File: grub.info, Node: chosen, Next: color_highlight, Prev: biosnum, Up: Special environment variables + +13.1.2 chosen +------------- + +When executing a menu entry, GRUB sets the CHOSEN variable to the title +of the entry being executed. + + If the menu entry is in one or more submenus, then CHOSEN is set to +the titles of each of the submenus starting from the top level followed +by the title of the menu entry itself, separated by `>'. + + +File: grub.info, Node: color_highlight, Next: color_normal, Prev: chosen, Up: Special environment variables + +13.1.3 color_highlight +---------------------- + +This variable contains the "highlight" foreground and background +terminal colors, separated by a slash (`/'). Setting this variable +changes those colors. For the available color names, *note +color_normal::. + + The default is `black/white'. + + +File: grub.info, Node: color_normal, Next: debug, Prev: color_highlight, Up: Special environment variables + +13.1.4 color_normal +------------------- + +This variable contains the "normal" foreground and background terminal +colors, separated by a slash (`/'). Setting this variable changes +those colors. Each color must be a name from the following list: + + * black + + * blue + + * green + + * cyan + + * red + + * magenta + + * brown + + * light-gray + + * dark-gray + + * light-blue + + * light-green + + * light-cyan + + * light-red + + * light-magenta + + * yellow + + * white + + The default is `white/black'. + + +File: grub.info, Node: debug, Next: default, Prev: color_normal, Up: Special environment variables + +13.1.5 debug +------------ + +This variable may be set to enable debugging output from various +components of GRUB. The value is a list of debug facility names +separated by whitespace or `,', or `all' to enable all available +debugging output. + + +File: grub.info, Node: default, Next: fallback, Prev: debug, Up: Special environment variables + +13.1.6 default +-------------- + +If this variable is set, it identifies a menu entry that should be +selected by default, possibly after a timeout (*note timeout::). The +entry may be identified by number or by title. + + If the entry is in a submenu, then it must be identified using the +titles of each of the submenus starting from the top level followed by +the number or title of the menu entry itself, separated by `>'. For +example, take the following menu structure: + + Submenu 1 + Menu Entry 1 + Menu Entry 2 + Submenu 2 + Submenu 3 + Menu Entry 3 + Menu Entry 4 + Menu Entry 5 + + "Menu Entry 3" would then be identified as `Submenu 2>Submenu 3>Menu +Entry 3'. + + This variable is often set by `GRUB_DEFAULT' (*note Simple +configuration::), `grub-set-default', or `grub-reboot'. + + +File: grub.info, Node: fallback, Next: gfxmode, Prev: default, Up: Special environment variables + +13.1.7 fallback +--------------- + +If this variable is set, it identifies a menu entry that should be +selected if the default menu entry fails to boot. Entries are +identified in the same way as for `default' (*note default::). + + +File: grub.info, Node: gfxmode, Next: gfxpayload, Prev: fallback, Up: Special environment variables + +13.1.8 gfxmode +-------------- + +If this variable is set, it sets the resolution used on the `gfxterm' +graphical terminal. Note that you can only use modes which your +graphics card supports via VESA BIOS Extensions (VBE), so for example +native LCD panel resolutions may not be available. The default is +`auto', which selects a platform-specific default that should look +reasonable. + + The resolution may be specified as a sequence of one or more modes, +separated by commas (`,') or semicolons (`;'); each will be tried in +turn until one is found. Each mode should be either `auto', +`WIDTHxHEIGHT', or `WIDTHxHEIGHTxDEPTH'. + + +File: grub.info, Node: gfxpayload, Next: gfxterm_font, Prev: gfxmode, Up: Special environment variables + +13.1.9 gfxpayload +----------------- + +If this variable is set, it controls the video mode in which the Linux +kernel starts up, replacing the `vga=' boot option (*note linux::). It +may be set to `text' to force the Linux kernel to boot in normal text +mode, `keep' to preserve the graphics mode set using `gfxmode', or any +of the permitted values for `gfxmode' to set a particular graphics mode +(*note gfxmode::). + + Depending on your kernel, your distribution, your graphics card, and +the phase of the moon, note that using this option may cause GNU/Linux +to suffer from various display problems, particularly during the early +part of the boot sequence. If you have problems, set this variable to +`text' and GRUB will tell Linux to boot in normal text mode. + + The default is platform-specific. On platforms with a native text +mode (such as PC BIOS platforms), the default is `text'. Otherwise the +default may be `auto' or a specific video mode. + + This variable is often set by `GRUB_GFXPAYLOAD_LINUX' (*note Simple +configuration::). + + +File: grub.info, Node: gfxterm_font, Next: icondir, Prev: gfxpayload, Up: Special environment variables + +13.1.10 gfxterm_font +-------------------- + +If this variable is set, it names a font to use for text on the +`gfxterm' graphical terminal. Otherwise, `gfxterm' may use any +available font. + + +File: grub.info, Node: icondir, Next: lang, Prev: gfxterm_font, Up: Special environment variables + +13.1.11 icondir +--------------- + +If this variable is set, it names a directory in which the GRUB +graphical menu should look for icons after looking in the theme's +`icons' directory. *Note Theme file format::. + + +File: grub.info, Node: lang, Next: locale_dir, Prev: icondir, Up: Special environment variables + +13.1.12 lang +------------ + +If this variable is set, it names the language code that the `gettext' +command (*note gettext::) uses to translate strings. For example, +French would be named as `fr', and Simplified Chinese as `zh_CN'. + + `grub-mkconfig' (*note Simple configuration::) will try to set a +reasonable default for this variable based on the system locale. + + +File: grub.info, Node: locale_dir, Next: menu_color_highlight, Prev: lang, Up: Special environment variables + +13.1.13 locale_dir +------------------ + +If this variable is set, it names the directory where translation files +may be found (*note gettext::), usually `/boot/grub/locale'. Otherwise, +internationalization is disabled. + + `grub-mkconfig' (*note Simple configuration::) will set a reasonable +default for this variable if internationalization is needed and any +translation files are available. + + +File: grub.info, Node: menu_color_highlight, Next: menu_color_normal, Prev: locale_dir, Up: Special environment variables + +13.1.14 menu_color_highlight +---------------------------- + +This variable contains the foreground and background colors to be used +for the highlighted menu entry, separated by a slash (`/'). Setting +this variable changes those colors. For the available color names, +*note color_normal::. + + The default is the value of `color_highlight' (*note +color_highlight::). + + +File: grub.info, Node: menu_color_normal, Next: net_pxe_boot_file, Prev: menu_color_highlight, Up: Special environment variables + +13.1.15 menu_color_normal +------------------------- + +This variable contains the foreground and background colors to be used +for non-highlighted menu entries, separated by a slash (`/'). Setting +this variable changes those colors. For the available color names, +*note color_normal::. + + The default is the value of `color_normal' (*note color_normal::). + + +File: grub.info, Node: net_pxe_boot_file, Next: net_pxe_dhcp_server_name, Prev: menu_color_normal, Up: Special environment variables + +13.1.16 net_pxe_boot_file +------------------------- + +*Note Network::. + + +File: grub.info, Node: net_pxe_dhcp_server_name, Next: net_pxe_domain, Prev: net_pxe_boot_file, Up: Special environment variables + +13.1.17 net_pxe_dhcp_server_name +-------------------------------- + +*Note Network::. + + +File: grub.info, Node: net_pxe_domain, Next: net_pxe_extensionspath, Prev: net_pxe_dhcp_server_name, Up: Special environment variables + +13.1.18 net_pxe_domain +---------------------- + +*Note Network::. + + +File: grub.info, Node: net_pxe_extensionspath, Next: net_pxe_hostname, Prev: net_pxe_domain, Up: Special environment variables + +13.1.19 net_pxe_extensionspath +------------------------------ + +*Note Network::. + + +File: grub.info, Node: net_pxe_hostname, Next: net_pxe_ip, Prev: net_pxe_extensionspath, Up: Special environment variables + +13.1.20 net_pxe_hostname +------------------------ + +*Note Network::. + + +File: grub.info, Node: net_pxe_ip, Next: net_pxe_mac, Prev: net_pxe_hostname, Up: Special environment variables + +13.1.21 net_pxe_ip +------------------ + +*Note Network::. + + +File: grub.info, Node: net_pxe_mac, Next: net_pxe_rootpath, Prev: net_pxe_ip, Up: Special environment variables + +13.1.22 net_pxe_mac +------------------- + +*Note Network::. + + +File: grub.info, Node: net_pxe_rootpath, Next: pager, Prev: net_pxe_mac, Up: Special environment variables + +13.1.23 net_pxe_rootpath +------------------------ + +*Note Network::. + + +File: grub.info, Node: pager, Next: prefix, Prev: net_pxe_rootpath, Up: Special environment variables + +13.1.24 pager +------------- + +If set to `1', pause output after each screenful and wait for keyboard +input. The default is not to pause output. + + +File: grub.info, Node: prefix, Next: pxe_blksize, Prev: pager, Up: Special environment variables + +13.1.25 prefix +-------------- + +The location of the `/boot/grub' directory as an absolute file name +(*note File name syntax::). This is normally set by GRUB at startup +based on information provided by `grub-install'. GRUB modules are +dynamically loaded from this directory, so it must be set correctly in +order for many parts of GRUB to work. + + +File: grub.info, Node: pxe_blksize, Next: pxe_default_gateway, Prev: prefix, Up: Special environment variables + +13.1.26 pxe_blksize +------------------- + +*Note Network::. + + +File: grub.info, Node: pxe_default_gateway, Next: pxe_default_server, Prev: pxe_blksize, Up: Special environment variables + +13.1.27 pxe_default_gateway +--------------------------- + +*Note Network::. + + +File: grub.info, Node: pxe_default_server, Next: root, Prev: pxe_default_gateway, Up: Special environment variables + +13.1.28 pxe_default_server +-------------------------- + +*Note Network::. + + +File: grub.info, Node: root, Next: superusers, Prev: pxe_default_server, Up: Special environment variables + +13.1.29 root +------------ + +The root device name (*note Device syntax::). Any file names that do +not specify an explicit device name are read from this device. The +default is normally set by GRUB at startup based on the value of +`prefix' (*note prefix::). + + For example, if GRUB was installed to the first partition of the +first hard disk, then `prefix' might be set to `(hd0,msdos1)/boot/grub' +and `root' to `hd0,msdos1'. + + +File: grub.info, Node: superusers, Next: theme, Prev: root, Up: Special environment variables + +13.1.30 superusers +------------------ + +This variable may be set to a list of superuser names to enable +authentication support. *Note Security::. + + +File: grub.info, Node: theme, Next: timeout, Prev: superusers, Up: Special environment variables + +13.1.31 theme +------------- + +This variable may be set to a directory containing a GRUB graphical menu +theme. *Note Theme file format::. + + This variable is often set by `GRUB_THEME' (*note Simple +configuration::). + + +File: grub.info, Node: timeout, Prev: theme, Up: Special environment variables + +13.1.32 timeout +--------------- + +If this variable is set, it specifies the time in seconds to wait for +keyboard input before booting the default menu entry. A timeout of `0' +means to boot the default entry immediately without displaying the +menu; a timeout of `-1' (or unset) means to wait indefinitely. + + This variable is often set by `GRUB_TIMEOUT' or +`GRUB_HIDDEN_TIMEOUT' (*note Simple configuration::). + + +File: grub.info, Node: Environment block, Prev: Special environment variables, Up: Environment + +13.2 The GRUB environment block +=============================== + +It is often useful to be able to remember a small amount of information +from one boot to the next. For example, you might want to set the +default menu entry based on what was selected the last time. GRUB +deliberately does not implement support for writing files in order to +minimise the possibility of the boot loader being responsible for file +system corruption, so a GRUB configuration file cannot just create a +file in the ordinary way. However, GRUB provides an "environment +block" which can be used to save a small amount of state. + + The environment block is a preallocated 1024-byte file, which +normally lives in `/boot/grub/grubenv' (although you should not assume +this). At boot time, the `load_env' command (*note load_env::) loads +environment variables from it, and the `save_env' (*note save_env::) +command saves environment variables to it. From a running system, the +`grub-editenv' utility can be used to edit the environment block. + + For safety reasons, this storage is only available when installed on +a plain disk (no LVM or RAID), using a non-checksumming filesystem (no +ZFS), and using BIOS or EFI functions (no ATA, USB or IEEE1275). + + `grub-mkconfig' uses this facility to implement `GRUB_SAVEDEFAULT' +(*note Simple configuration::). + + +File: grub.info, Node: Commands, Next: Security, Prev: Environment, Up: Top + +14 The list of available commands +********************************* + +In this chapter, we list all commands that are available in GRUB. + + Commands belong to different groups. A few can only be used in the +global section of the configuration file (or "menu"); most of them can +be entered on the command-line and can be used either anywhere in the +menu or specifically in the menu entries. + + In rescue mode, only the `insmod' (*note insmod::), `ls' (*note +ls::), `set' (*note set::), and `unset' (*note unset::) commands are +normally available. If you end up in rescue mode and do not know what +to do, then *note GRUB only offers a rescue shell::. + +* Menu: + +* Menu-specific commands:: +* General commands:: +* Command-line and menu entry commands:: + + +File: grub.info, Node: Menu-specific commands, Next: General commands, Up: Commands + +14.1 The list of commands for the menu only +=========================================== + +The semantics used in parsing the configuration file are the following: + + * The files _must_ be in plain-text format. + + * `#' at the beginning of a line in a configuration file means it is + only a comment. + + * Options are separated by spaces. + + * All numbers can be either decimal or hexadecimal. A hexadecimal + number must be preceded by `0x', and is case-insensitive. + + These commands can only be used in the menu: + +* Menu: + +* menuentry:: Start a menu entry +* submenu:: Group menu entries + + +File: grub.info, Node: menuentry, Next: submenu, Up: Menu-specific commands + +14.1.1 menuentry +---------------- + + -- Command: menuentry TITLE [`--class=class' ...] [`--users=users'] + [`--hotkey=key'] { COMMAND; ... } + This defines a GRUB menu entry named TITLE. When this entry is + selected from the menu, GRUB will set the CHOSEN environment + variable to TITLE, execute the list of commands given within + braces, and if the last command in the list returned successfully + and a kernel was loaded it will execute the `boot' command. + + The `--class' option may be used any number of times to group menu + entries into classes. Menu themes may display different classes + using different styles. + + The `--users' option grants specific users access to specific menu + entries. *Note Security::. + + The `--hotkey' option associates a hotkey with a menu entry. KEY + may be a single letter, or one of the aliases `backspace', `tab', + or `delete'. + + +File: grub.info, Node: submenu, Prev: menuentry, Up: Menu-specific commands + +14.1.2 submenu +-------------- + + -- Command: submenu TITLE [`--class=class' ...] [`--users=users'] + [`--hotkey=key'] { MENU ENTRIES ... } + This defines a submenu. An entry called TITLE will be added to the + menu; when that entry is selected, a new menu will be displayed + showing all the entries within this submenu. + + All options are the same as in the `menuentry' command (*note + menuentry::). + + +File: grub.info, Node: General commands, Next: Command-line and menu entry commands, Prev: Menu-specific commands, Up: Commands + +14.2 The list of general commands +================================= + +Commands usable anywhere in the menu and in the command-line. + +* Menu: + +* serial:: Set up a serial device +* terminal_input:: Manage input terminals +* terminal_output:: Manage output terminals +* terminfo:: Define terminal type + + +File: grub.info, Node: serial, Next: terminal_input, Up: General commands + +14.2.1 serial +------------- + + -- Command: serial [`--unit=unit'] [`--port=port'] [`--speed=speed'] + [`--word=word'] [`--parity=parity'] [`--stop=stop'] + Initialize a serial device. UNIT is a number in the range 0-3 + specifying which serial port to use; default is 0, which + corresponds to the port often called COM1. PORT is the I/O port + where the UART is to be found; if specified it takes precedence + over UNIT. SPEED is the transmission speed; default is 9600. WORD + and STOP are the number of data bits and stop bits. Data bits must + be in the range 5-8 and stop bits must be 1 or 2. Default is 8 data + bits and one stop bit. PARITY is one of `no', `odd', `even' and + defaults to `no'. + + The serial port is not used as a communication channel unless the + `terminal_input' or `terminal_output' command is used (*note + terminal_input::, *note terminal_output::). + + See also *note Serial terminal::. + + +File: grub.info, Node: terminal_input, Next: terminal_output, Prev: serial, Up: General commands + +14.2.2 terminal_input +--------------------- + + -- Command: terminal_input [`--append'|`--remove'] [terminal1] + [terminal2] ... + List or select an input terminal. + + With no arguments, list the active and available input terminals. + + With `--append', add the named terminals to the list of active + input terminals; any of these may be used to provide input to GRUB. + + With `--remove', remove the named terminals from the active list. + + With no options but a list of terminal names, make only the listed + terminal names active. + + +File: grub.info, Node: terminal_output, Next: terminfo, Prev: terminal_input, Up: General commands + +14.2.3 terminal_output +---------------------- + + -- Command: terminal_output [`--append'|`--remove'] [terminal1] + [terminal2] ... + List or select an output terminal. + + With no arguments, list the active and available output terminals. + + With `--append', add the named terminals to the list of active + output terminals; all of these will receive output from GRUB. + + With `--remove', remove the named terminals from the active list. + + With no options but a list of terminal names, make only the listed + terminal names active. + + +File: grub.info, Node: terminfo, Prev: terminal_output, Up: General commands + +14.2.4 terminfo +--------------- + + -- Command: terminfo [-a|-u|-v] [term] + Define the capabilities of your terminal by giving the name of an + entry in the terminfo database, which should correspond roughly to + a `TERM' environment variable in Unix. + + The currently available terminal types are `vt100', `vt100-color', + `ieee1275', and `dumb'. If you need other terminal types, please + contact us to discuss the best way to include support for these in + GRUB. + + The `-a' (`--ascii'), `-u' (`--utf8'), and `-v' (`--visual-utf8') + options control how non-ASCII text is displayed. `-a' specifies + an ASCII-only terminal; `-u' specifies logically-ordered UTF-8; + and `-v' specifies "visually-ordered UTF-8" (in other words, + arranged such that a terminal emulator without bidirectional text + support will display right-to-left text in the proper order; this + is not really proper UTF-8, but a workaround). + + If no option or terminal type is specified, the current terminal + type is printed. + + +File: grub.info, Node: Command-line and menu entry commands, Prev: General commands, Up: Commands + +14.3 The list of command-line and menu entry commands +===================================================== + +These commands are usable in the command-line and in menu entries. If +you forget a command, you can run the command `help' (*note help::). + +* Menu: + +* acpi:: Load ACPI tables +* badram:: Filter out bad regions of RAM +* blocklist:: Print a block list +* boot:: Start up your operating system +* cat:: Show the contents of a file +* chainloader:: Chain-load another boot loader +* cmp:: Compare two files +* configfile:: Load a configuration file +* cpuid:: Check for CPU features +* crc:: Calculate CRC32 checksums +* date:: Display or set current date and time +* drivemap:: Map a drive to another +* echo:: Display a line of text +* export:: Export an environment variable +* false:: Do nothing, unsuccessfully +* gettext:: Translate a string +* gptsync:: Fill an MBR based on GPT entries +* halt:: Shut down your computer +* help:: Show help messages +* initrd:: Load a Linux initrd +* initrd16:: Load a Linux initrd (16-bit mode) +* insmod:: Insert a module +* keystatus:: Check key modifier status +* linux:: Load a Linux kernel +* linux16:: Load a Linux kernel (16-bit mode) +* list_env:: List variables in environment block +* load_env:: Load variables from environment block +* loopback:: Make a device from a filesystem image +* ls:: List devices or files +* normal:: Enter normal mode +* normal_exit:: Exit from normal mode +* parttool:: Modify partition table entries +* password:: Set a clear-text password +* password_pbkdf2:: Set a hashed password +* play:: Play a tune +* pxe_unload:: Unload the PXE environment +* read:: Read user input +* reboot:: Reboot your computer +* save_env:: Save variables to environment block +* search:: Search devices by file, label, or UUID +* sendkey:: Emulate keystrokes +* set:: Set an environment variable +* true:: Do nothing, successfully +* unset:: Unset an environment variable +* uppermem:: Set the upper memory size + + +File: grub.info, Node: acpi, Next: badram, Up: Command-line and menu entry commands + +14.3.1 acpi +----------- + + -- Command: acpi [`-1'|`-2'] + [`--exclude=table1,...'|`--load-only=table1,...'] + [`--oemid=id'] [`--oemtable=table'] [`--oemtablerev=rev'] + [`--oemtablecreator=creator'] [`--oemtablecreatorrev=rev'] + [`--no-ebda'] filename ... + Modern BIOS systems normally implement the Advanced Configuration + and Power Interface (ACPI), and define various tables that + describe the interface between an ACPI-compliant operating system + and the firmware. In some cases, the tables provided by default + only work well with certain operating systems, and it may be + necessary to replace some of them. + + Normally, this command will replace the Root System Description + Pointer (RSDP) in the Extended BIOS Data Area to point to the new + tables. If the `--no-ebda' option is used, the new tables will be + known only to GRUB, but may be used by GRUB's EFI emulation. + + +File: grub.info, Node: badram, Next: blocklist, Prev: acpi, Up: Command-line and menu entry commands + +14.3.2 badram +------------- + + -- Command: badram addr,mask[,addr,mask...] + Filter out bad RAM. + + This command notifies the memory manager that specified regions of +RAM ought to be filtered out (usually, because they're damaged). This +remains in effect after a payload kernel has been loaded by GRUB, as +long as the loaded kernel obtains its memory map from GRUB. Kernels +that support this include Linux, GNU Mach, the kernel of FreeBSD and +Multiboot kernels in general. + + Syntax is the same as provided by the Memtest86+ utility +(http://www.memtest.org/): a list of address/mask pairs. Given a +page-aligned address and a base address / mask pair, if all the bits of +the page-aligned address that are enabled by the mask match with the +base address, it means this page is to be filtered. This syntax makes +it easy to represent patterns that are often result of memory damage, +due to physical distribution of memory cells. + + +File: grub.info, Node: blocklist, Next: boot, Prev: badram, Up: Command-line and menu entry commands + +14.3.3 blocklist +---------------- + + -- Command: blocklist file + Print a block list (*note Block list syntax::) for FILE. + + +File: grub.info, Node: boot, Next: cat, Prev: blocklist, Up: Command-line and menu entry commands + +14.3.4 boot +----------- + + -- Command: boot + Boot the OS or chain-loader which has been loaded. Only necessary + if running the fully interactive command-line (it is implicit at + the end of a menu entry). + + +File: grub.info, Node: cat, Next: chainloader, Prev: boot, Up: Command-line and menu entry commands + +14.3.5 cat +---------- + + -- Command: cat [`--dos'] file + Display the contents of the file FILE. This command may be useful + to remind you of your OS's root partition: + + grub> cat /etc/fstab + + If the `--dos' option is used, then carriage return / new line + pairs will be displayed as a simple new line. Otherwise, the + carriage return will be displayed as a control character (`') + to make it easier to see when boot problems are caused by a file + formatted using DOS-style line endings. + + +File: grub.info, Node: chainloader, Next: cmp, Prev: cat, Up: Command-line and menu entry commands + +14.3.6 chainloader +------------------ + + -- Command: chainloader [`--force'] file + Load FILE as a chain-loader. Like any other file loaded by the + filesystem code, it can use the blocklist notation (*note Block + list syntax::) to grab the first sector of the current partition + with `+1'. If you specify the option `--force', then load FILE + forcibly, whether it has a correct signature or not. This is + required when you want to load a defective boot loader, such as + SCO UnixWare 7.1. + + +File: grub.info, Node: cmp, Next: configfile, Prev: chainloader, Up: Command-line and menu entry commands + +14.3.7 cmp +---------- + + -- Command: cmp file1 file2 + Compare the file FILE1 with the file FILE2. If they differ in + size, print the sizes like this: + + Differ in size: 0x1234 [foo], 0x4321 [bar] + + If the sizes are equal but the bytes at an offset differ, then + print the bytes like this: + + Differ at the offset 777: 0xbe [foo], 0xef [bar] + + If they are completely identical, nothing will be printed. + + +File: grub.info, Node: configfile, Next: cpuid, Prev: cmp, Up: Command-line and menu entry commands + +14.3.8 configfile +----------------- + + -- Command: configfile file + Load FILE as a configuration file. If FILE defines any menu + entries, then show a menu containing them immediately. + + +File: grub.info, Node: cpuid, Next: crc, Prev: configfile, Up: Command-line and menu entry commands + +14.3.9 cpuid +------------ + + -- Command: cpuid [-l] + Check for CPU features. This command is only available on x86 + systems. + + With the `-l' option, return true if the CPU supports long mode + (64-bit). + + If invoked without options, this command currently behaves as if + it had been invoked with `-l'. This may change in the future. + + +File: grub.info, Node: crc, Next: date, Prev: cpuid, Up: Command-line and menu entry commands + +14.3.10 crc +----------- + + -- Command: crc file + Display the CRC32 checksum of FILE. + + +File: grub.info, Node: date, Next: drivemap, Prev: crc, Up: Command-line and menu entry commands + +14.3.11 date +------------ + + -- Command: date [[year-]month-day] [hour:minute[:second]] + With no arguments, print the current date and time. + + Otherwise, take the current date and time, change any elements + specified as arguments, and set the result as the new date and + time. For example, `date 01-01' will set the current month and + day to January 1, but leave the year, hour, minute, and second + unchanged. + + +File: grub.info, Node: drivemap, Next: echo, Prev: date, Up: Command-line and menu entry commands + +14.3.12 drivemap +---------------- + + -- Command: drivemap `-l'|`-r'|[`-s'] from_drive to_drive + Without options, map the drive FROM_DRIVE to the drive TO_DRIVE. + This is necessary when you chain-load some operating systems, such + as DOS, if such an OS resides at a non-first drive. For + convenience, any partition suffix on the drive is ignored, so you + can safely use ${root} as a drive specification. + + With the `-s' option, perform the reverse mapping as well, swapping + the two drives. + + With the `-l' option, list the current mappings. + + With the `-r' option, reset all mappings to the default values. + + For example: + + drivemap -s (hd0) (hd1) + + +File: grub.info, Node: echo, Next: export, Prev: drivemap, Up: Command-line and menu entry commands + +14.3.13 echo +------------ + + -- Command: echo [`-n'] [`-e'] string ... + Display the requested text and, unless the `-n' option is used, a + trailing new line. If there is more than one string, they are + separated by spaces in the output. As usual in GRUB commands, + variables may be substituted using `${var}'. + + The `-e' option enables interpretation of backslash escapes. The + following sequences are recognised: + + `\\' + backslash + + `\a' + alert (BEL) + + `\c' + suppress trailing new line + + `\f' + form feed + + `\n' + new line + + `\r' + carriage return + + `\t' + horizontal tab + + `\v' + vertical tab + + When interpreting backslash escapes, backslash followed by any + other character will print that character. + + +File: grub.info, Node: export, Next: false, Prev: echo, Up: Command-line and menu entry commands + +14.3.14 export +-------------- + + -- Command: export envvar + Export the environment variable ENVVAR. Exported variables are + visible to subsidiary configuration files loaded using + `configfile'. + + +File: grub.info, Node: false, Next: gettext, Prev: export, Up: Command-line and menu entry commands + +14.3.15 false +------------- + + -- Command: false + Do nothing, unsuccessfully. This is mainly useful in control + constructs such as `if' and `while' (*note Shell-like scripting::). + + +File: grub.info, Node: gettext, Next: gptsync, Prev: false, Up: Command-line and menu entry commands + +14.3.16 gettext +--------------- + + -- Command: gettext string + Translate STRING into the current language. + + The current language code is stored in the `lang' variable in + GRUB's environment (*note lang::). Translation files in MO format + are read from `locale_dir' (*note locale_dir::), usually + `/boot/grub/locale'. + + +File: grub.info, Node: gptsync, Next: halt, Prev: gettext, Up: Command-line and menu entry commands + +14.3.17 gptsync +--------------- + + -- Command: gptsync device [partition[+/-[type]]] ... + Disks using the GUID Partition Table (GPT) also have a legacy + Master Boot Record (MBR) partition table for compatibility with + the BIOS and with older operating systems. The legacy MBR can + only represent a limited subset of GPT partition entries. + + This command populates the legacy MBR with the specified PARTITION + entries on DEVICE. Up to three partitions may be used. + + TYPE is an MBR partition type code; prefix with `0x' if you want + to enter this in hexadecimal. The separator between PARTITION and + TYPE may be `+' to make the partition active, or `-' to make it + inactive; only one partition may be active. If both the separator + and type are omitted, then the partition will be inactive. + + +File: grub.info, Node: halt, Next: help, Prev: gptsync, Up: Command-line and menu entry commands + +14.3.18 halt +------------ + + -- Command: halt `--no-apm' + The command halts the computer. If the `--no-apm' option is + specified, no APM BIOS call is performed. Otherwise, the computer + is shut down using APM. + + +File: grub.info, Node: help, Next: initrd, Prev: halt, Up: Command-line and menu entry commands + +14.3.19 help +------------ + + -- Command: help [pattern ...] + Display helpful information about builtin commands. If you do not + specify PATTERN, this command shows short descriptions of all + available commands. + + If you specify any PATTERNS, it displays longer information about + each of the commands whose names begin with those PATTERNS. + + +File: grub.info, Node: initrd, Next: initrd16, Prev: help, Up: Command-line and menu entry commands + +14.3.20 initrd +-------------- + + -- Command: initrd file + Load an initial ramdisk for a Linux kernel image, and set the + appropriate parameters in the Linux setup area in memory. This + may only be used after the `linux' command (*note linux::) has + been run. See also *note GNU/Linux::. + + +File: grub.info, Node: initrd16, Next: insmod, Prev: initrd, Up: Command-line and menu entry commands + +14.3.21 initrd16 +---------------- + + -- Command: initrd16 file + Load an initial ramdisk for a Linux kernel image to be booted in + 16-bit mode, and set the appropriate parameters in the Linux setup + area in memory. This may only be used after the `linux16' command + (*note linux16::) has been run. See also *note GNU/Linux::. + + This command is only available on x86 systems. + + +File: grub.info, Node: insmod, Next: keystatus, Prev: initrd16, Up: Command-line and menu entry commands + +14.3.22 insmod +-------------- + + -- Command: insmod module + Insert the dynamic GRUB module called MODULE. + + +File: grub.info, Node: keystatus, Next: linux, Prev: insmod, Up: Command-line and menu entry commands + +14.3.23 keystatus +----------------- + + -- Command: keystatus [`--shift'] [`--ctrl'] [`--alt'] + Return true if the Shift, Control, or Alt modifier keys are held + down, as requested by options. This is useful in scripting, to + allow some user control over behaviour without having to wait for + a keypress. + + Checking key modifier status is only supported on some platforms. + If invoked without any options, the `keystatus' command returns + true if and only if checking key modifier status is supported. + + +File: grub.info, Node: linux, Next: linux16, Prev: keystatus, Up: Command-line and menu entry commands + +14.3.24 linux +------------- + + -- Command: linux file ... + Load a Linux kernel image from FILE. The rest of the line is + passed verbatim as the "kernel command-line". Any initrd must be + reloaded after using this command (*note initrd::). + + On x86 systems, the kernel will be booted using the 32-bit boot + protocol. Note that this means that the `vga=' boot option will + not work; if you want to set a special video mode, you will need + to use GRUB commands such as `set gfxpayload=1024x768' or `set + gfxpayload=keep' (to keep the same mode as used in GRUB) instead. + GRUB can automatically detect some uses of `vga=' and translate + them to appropriate settings of `gfxpayload'. The `linux16' + command (*note linux16::) avoids this restriction. + + +File: grub.info, Node: linux16, Next: list_env, Prev: linux, Up: Command-line and menu entry commands + +14.3.25 linux16 +--------------- + + -- Command: linux16 file ... + Load a Linux kernel image from FILE in 16-bit mode. The rest of + the line is passed verbatim as the "kernel command-line". Any + initrd must be reloaded after using this command (*note + initrd16::). + + The kernel will be booted using the traditional 16-bit boot + protocol. As well as bypassing problems with `vga=' described in + *note linux::, this permits booting some other programs that + implement the Linux boot protocol for the sake of convenience. + + This command is only available on x86 systems. + + +File: grub.info, Node: list_env, Next: load_env, Prev: linux16, Up: Command-line and menu entry commands + +14.3.26 list_env +---------------- + + -- Command: list_env [`-f' file] + List all variables in the environment block file. *Note + Environment block::. + + The `-f' option overrides the default location of the environment + block. + + +File: grub.info, Node: load_env, Next: loopback, Prev: list_env, Up: Command-line and menu entry commands + +14.3.27 load_env +---------------- + + -- Command: load_env [`-f' file] + Load all variables from the environment block file into the + environment. *Note Environment block::. + + The `-f' option overrides the default location of the environment + block. + + +File: grub.info, Node: loopback, Next: ls, Prev: load_env, Up: Command-line and menu entry commands + +14.3.28 loopback +---------------- + + -- Command: loopback [`-d'] device file + Make the device named DEVICE correspond to the contents of the + filesystem image in FILE. For example: + + loopback loop0 /path/to/image + ls (loop0)/ + + With the `-d' option, delete a device previously created using this + command. + + +File: grub.info, Node: ls, Next: normal, Prev: loopback, Up: Command-line and menu entry commands + +14.3.29 ls +---------- + + -- Command: ls [arg ...] + List devices or files. + + With no arguments, print all devices known to GRUB. + + If the argument is a device name enclosed in parentheses (*note + Device syntax::), then list all files at the root directory of + that device. + + If the argument is a directory given as an absolute file name + (*note File name syntax::), then list the contents of that + directory. + + +File: grub.info, Node: normal, Next: normal_exit, Prev: ls, Up: Command-line and menu entry commands + +14.3.30 normal +-------------- + + -- Command: normal [file] + Enter normal mode and display the GRUB menu. + + In normal mode, commands, filesystem modules, and cryptography + modules are automatically loaded, and the full GRUB script parser + is available. Other modules may be explicitly loaded using + `insmod' (*note insmod::). + + If a FILE is given, then commands will be read from that file. + Otherwise, they will be read from `$prefix/grub.cfg' if it exists. + + `normal' may be called from within normal mode, creating a nested + environment. It is more usual to use `configfile' (*note + configfile::) for this. + + +File: grub.info, Node: normal_exit, Next: parttool, Prev: normal, Up: Command-line and menu entry commands + +14.3.31 normal_exit +------------------- + + -- Command: normal_exit + Exit normal mode (*note normal::). If this instance of normal + mode was not nested within another one, then return to rescue mode. + + +File: grub.info, Node: parttool, Next: password, Prev: normal_exit, Up: Command-line and menu entry commands + +14.3.32 parttool +---------------- + + -- Command: parttool partition commands + Make various modifications to partition table entries. + + Each COMMAND is either a boolean option, in which case it must be + followed with `+' or `-' (with no intervening space) to enable or + disable that option, or else it takes a value in the form + `COMMAND=VALUE'. + + Currently, `parttool' is only useful on DOS partition tables (also + known as Master Boot Record, or MBR). On these partition tables, + the following commands are available: + + `boot' (boolean) + When enabled, this makes the selected partition be the active + (bootable) partition on its disk, clearing the active flag on + all other partitions. This command is limited to _primary_ + partitions. + + `type' (value) + Change the type of an existing partition. The value must be + a number in the range 0-0xFF (prefix with `0x' to enter it in + hexadecimal). + + `hidden' (boolean) + When enabled, this hides the selected partition by setting + the "hidden" bit in its partition type code; when disabled, + unhides the selected partition by clearing this bit. This is + useful only when booting DOS or Wwindows and multiple primary + FAT partitions exist in one disk. See also *note + DOS/Windows::. + + +File: grub.info, Node: password, Next: password_pbkdf2, Prev: parttool, Up: Command-line and menu entry commands + +14.3.33 password +---------------- + + -- Command: password user clear-password + Define a user named USER with password CLEAR-PASSWORD. *Note + Security::. + + +File: grub.info, Node: password_pbkdf2, Next: play, Prev: password, Up: Command-line and menu entry commands + +14.3.34 password_pbkdf2 +----------------------- + + -- Command: password_pbkdf2 user hashed-password + Define a user named USER with password hash HASHED-PASSWORD. Use + `grub-mkpasswd-pbkdf2' (*note Invoking grub-mkpasswd-pbkdf2::) to + generate password hashes. *Note Security::. + + +File: grub.info, Node: play, Next: pxe_unload, Prev: password_pbkdf2, Up: Command-line and menu entry commands + +14.3.35 play +------------ + + -- Command: play file | tempo [pitch1 duration1] [pitch2 duration2] ... + Plays a tune + + If the argument is a file name (*note File name syntax::), play + the tune recorded in it. The file format is first the tempo as an + unsigned 32bit little-endian number, then pairs of unsigned 16bit + little-endian numbers for pitch and duration pairs. + + If the arguments are a series of numbers, play the inline tune. + + The tempo is the base for all note durations. 60 gives a 1-second + base, 120 gives a half-second base, etc. Pitches are Hz. Set + pitch to 0 to produce a rest. + + +File: grub.info, Node: pxe_unload, Next: read, Prev: play, Up: Command-line and menu entry commands + +14.3.36 pxe_unload +------------------ + + -- Command: pxe_unload + Unload the PXE environment (*note Network::). + + This command is only available on PC BIOS systems. + + +File: grub.info, Node: read, Next: reboot, Prev: pxe_unload, Up: Command-line and menu entry commands + +14.3.37 read +------------ + + -- Command: read [var] + Read a line of input from the user. If an environment variable + VAR is given, set that environment variable to the line of input + that was read, with no terminating newline. + + +File: grub.info, Node: reboot, Next: save_env, Prev: read, Up: Command-line and menu entry commands + +14.3.38 reboot +-------------- + + -- Command: reboot + Reboot the computer. + + +File: grub.info, Node: save_env, Next: search, Prev: reboot, Up: Command-line and menu entry commands + +14.3.39 save_env +---------------- + + -- Command: save_env [`-f' file] var ... + Save the named variables from the environment to the environment + block file. *Note Environment block::. + + The `-f' option overrides the default location of the environment + block. + + +File: grub.info, Node: search, Next: sendkey, Prev: save_env, Up: Command-line and menu entry commands + +14.3.40 search +-------------- + + -- Command: search [`--file'|`--label'|`--fs-uuid'] [`--set' [var]] + [`--no-floppy'] name + Search devices by file (`-f', `--file'), filesystem label (`-l', + `--label'), or filesystem UUID (`-u', `--fs-uuid'). + + If the `--set' option is used, the first device found is set as the + value of environment variable VAR. The default variable is `root'. + + The `--no-floppy' option prevents searching floppy devices, which + can be slow. + + The `search.file', `search.fs_label', and `search.fs_uuid' + commands are aliases for `search --file', `search --label', and + `search --fs-uuid' respectively. + + +File: grub.info, Node: sendkey, Next: set, Prev: search, Up: Command-line and menu entry commands + +14.3.41 sendkey +--------------- + + -- Command: sendkey [`--num'|`--caps'|`--scroll'|`--insert'| + `--pause'|`--left-shift'|`--right-shift'| + `--sysrq'|`--numkey'|`--capskey'|`--scrollkey'| + `--insertkey'|`--left-alt'|`--right-alt'| + `--left-ctrl'|`--right-ctrl' `on'|`off']... [`no-led'] + keystroke + Insert keystrokes into the keyboard buffer when booting. + Sometimes an operating system or chainloaded boot loader requires + particular keys to be pressed: for example, one might need to + press a particular key to enter "safe mode", or when chainloading + another boot loader one might send keystrokes to it to navigate + its menu. + + You may provide up to 16 keystrokes (the length of the BIOS + keyboard buffer). Keystroke names may be upper-case or lower-case + letters, digits, or taken from the following table: + + Name Key + --------------------------------------------------------------- + escape Escape + exclam ! + at @ + numbersign # + dollar $ + percent % + caret ^ + ampersand & + asterisk * + parenleft ( + parenright ) + minus - + underscore _ + equal = + plus + + backspace Backspace + tab Tab + bracketleft [ + braceleft { + bracketright ] + braceright } + enter Enter + control press and release Control + semicolon ; + colon : + quote ' + doublequote " + backquote ` + tilde ~ + shift press and release left Shift + backslash \ + bar | + comma , + less < + period . + greater > + slash / + question ? + rshift press and release right Shift + alt press and release Alt + space space bar + capslock Caps Lock + F1 F1 + F2 F2 + F3 F3 + F4 F4 + F5 F5 + F6 F6 + F7 F7 + F8 F8 + F9 F9 + F10 F10 + F11 F11 + F12 F12 + num1 1 (numeric keypad) + num2 2 (numeric keypad) + num3 3 (numeric keypad) + num4 4 (numeric keypad) + num5 5 (numeric keypad) + num6 6 (numeric keypad) + num7 7 (numeric keypad) + num8 8 (numeric keypad) + num9 9 (numeric keypad) + num0 0 (numeric keypad) + numperiod . (numeric keypad) + numend End (numeric keypad) + numdown Down (numeric keypad) + numpgdown Page Down (numeric keypad) + numleft Left (numeric keypad) + numcenter 5 with Num Lock inactive (numeric + keypad) + numright Right (numeric keypad) + numhome Home (numeric keypad) + numup Up (numeric keypad) + numpgup Page Up (numeric keypad) + numinsert Insert (numeric keypad) + numdelete Delete (numeric keypad) + numasterisk * (numeric keypad) + numminus - (numeric keypad) + numplus + (numeric keypad) + numslash / (numeric keypad) + numenter Enter (numeric keypad) + delete Delete + insert Insert + home Home + end End + pgdown Page Down + pgup Page Up + down Down + up Up + left Left + right Right + + As well as keystrokes, the `sendkey' command takes various options + that affect the BIOS keyboard status flags. These options take an + `on' or `off' parameter, specifying that the corresponding status + flag be set or unset; omitting the option for a given status flag + will leave that flag at its initial state at boot. The `--num', + `--caps', `--scroll', and `--insert' options emulate setting the + corresponding mode, while the `--numkey', `--capskey', + `--scrollkey', and `--insertkey' options emulate pressing and + holding the corresponding key. The other status flag options are + self-explanatory. + + If the `--no-led' option is given, the status flag options will + have no effect on keyboard LEDs. + + If the `sendkey' command is given multiple times, then only the + last invocation has any effect. + + Since `sendkey' manipulates the BIOS keyboard buffer, it may cause + hangs, reboots, or other misbehaviour on some systems. If the + operating system or boot loader that runs after GRUB uses its own + keyboard driver rather than the BIOS keyboard functions, then + `sendkey' will have no effect. + + This command is only available on PC BIOS systems. + + +File: grub.info, Node: set, Next: true, Prev: sendkey, Up: Command-line and menu entry commands + +14.3.42 set +----------- + + -- Command: set [envvar=value] + Set the environment variable ENVVAR to VALUE. If invoked with no + arguments, print all environment variables with their values. + + +File: grub.info, Node: true, Next: unset, Prev: set, Up: Command-line and menu entry commands + +14.3.43 true +------------ + + -- Command: true + Do nothing, successfully. This is mainly useful in control + constructs such as `if' and `while' (*note Shell-like scripting::). + + +File: grub.info, Node: unset, Next: uppermem, Prev: true, Up: Command-line and menu entry commands + +14.3.44 unset +------------- + + -- Command: unset envvar + Unset the environment variable ENVVAR. + + +File: grub.info, Node: uppermem, Prev: unset, Up: Command-line and menu entry commands + +14.3.45 uppermem +---------------- + +This command is not yet implemented for GRUB 2, although it is planned. + + +File: grub.info, Node: Security, Next: Supported kernels, Prev: Commands, Up: Top + +15 Authentication and authorisation +*********************************** + +By default, the boot loader interface is accessible to anyone with +physical access to the console: anyone can select and edit any menu +entry, and anyone can get direct access to a GRUB shell prompt. For +most systems, this is reasonable since anyone with direct physical +access has a variety of other ways to gain full access, and requiring +authentication at the boot loader level would only serve to make it +difficult to recover broken systems. + + However, in some environments, such as kiosks, it may be appropriate +to lock down the boot loader to require authentication before +performing certain operations. + + The `password' (*note password::) and `password_pbkdf2' (*note +password_pbkdf2::) commands can be used to define users, each of which +has an associated password. `password' sets the password in plain +text, requiring `grub.cfg' to be secure; `password_pbkdf2' sets the +password hashed using the Password-Based Key Derivation Function (RFC +2898), requiring the use of `grub-mkpasswd-pbkdf2' (*note Invoking +grub-mkpasswd-pbkdf2::) to generate password hashes. + + In order to enable authentication support, the `superusers' +environment variable must be set to a list of usernames, separated by +any of spaces, commas, semicolons, pipes, or ampersands. Superusers +are permitted to use the GRUB command line, edit menu entries, and +execute any menu entry. If `superusers' is set, then use of the +command line is automatically restricted to superusers. + + Other users may be given access to specific menu entries by giving a +list of usernames (as above) using the `--users' option to the +`menuentry' command (*note menuentry::). If the `--users' option is +not used for a menu entry, then that entry is unrestricted. + + Putting this together, a typical `grub.cfg' fragment might look like +this: + + set superusers="root" + password_pbkdf2 root grub.pbkdf2.sha512.10000.biglongstring + password user1 insecure + + menuentry "May be run by any user" { + set root=(hd0,1) + linux /vmlinuz + } + + menuentry "Superusers only" --users "" { + set root=(hd0,1) + linux /vmlinuz single + } + + menuentry "May be run by user1 or a superuser" --users user1 { + set root=(hd0,2) + chainloader +1 + } + + The `grub-mkconfig' program does not yet have built-in support for +generating configuration files with authentication. You can use +`/etc/grub.d/40_custom' to add simple superuser authentication, by +adding `set superusers=' and `password' or `password_pbkdf2' commands. + + +File: grub.info, Node: Supported kernels, Next: Troubleshooting, Prev: Security, Up: Top + +16 Supported boot targets +************************* + +X86 support is summarised in the following table. "Yes" means that the +kernel works on the given platform, "crashes" means an early kernel +crash which we hope will be fixed by concerned kernel developers. "no" +means GRUB doesn't load the given kernel on a given platform. +"headless" means that the kernel works but lacks console drivers (you +can still use serial or network console). In case of "no" and +"crashes" the reason is given in footnote. + BIOS Coreboot +BIOS chainloading yes no (1) +NTLDR yes no (1) +FreeBSD bootloader yes crashes (1) +32-bit kFreeBSD yes crashes (2,6) +64-bit kFreeBSD yes crashes (2,6) +32-bit kNetBSD yes crashes (1) +64-bit kNetBSD yes crashes (2) +32-bit kOpenBSD yes yes +64-bit kOpenBSD yes yes +Multiboot yes yes +Multiboot2 yes yes +32-bit Linux (legacy protocol) yes no (1) +64-bit Linux (legacy protocol) yes no (1) +32-bit Linux (modern protocol) yes yes +64-bit Linux (modern protocol) yes yes +32-bit XNU yes ? +64-bit XNU yes ? +32-bit EFI chainloader no (3) no (3) +64-bit EFI chainloader no (3) no (3) +Appleloader no (3) no (3) + + Multiboot Qemu +BIOS chainloading no (1) no (1) +NTLDR no (1) no (1) +FreeBSD bootloader crashes (1) crashes (1) +32-bit kFreeBSD crashes (6) crashes (6) +64-bit kFreeBSD crashes (6) crashes (6) +32-bit kNetBSD crashes (1) crashes (1) +64-bit kNetBSD yes yes +32-bit kOpenBSD yes yes +64-bit kOpenBSD yes yes +Multiboot yes yes +Multiboot2 yes yes +32-bit Linux (legacy protocol) no (1) no (1) +64-bit Linux (legacy protocol) no (1) no (1) +32-bit Linux (modern protocol) yes yes +64-bit Linux (modern protocol) yes yes +32-bit XNU ? ? +64-bit XNU ? ? +32-bit EFI chainloader no (3) no (3) +64-bit EFI chainloader no (3) no (3) +Appleloader no (3) no (3) + + 32-bit EFI 64-bit EFI +BIOS chainloading no (1) no (1) +NTLDR no (1) no (1) +FreeBSD bootloader crashes (1) crashes (1) +32-bit kFreeBSD headless headless +64-bit kFreeBSD headless headless +32-bit kNetBSD crashes (1) crashes (1) +64-bit kNetBSD yes yes +32-bit kOpenBSD headless headless +64-bit kOpenBSD headless headless +Multiboot yes yes +Multiboot2 yes yes +32-bit Linux (legacy protocol) no (1) no (1) +64-bit Linux (legacy protocol) no (1) no (1) +32-bit Linux (modern protocol) yes yes +64-bit Linux (modern protocol) yes yes +32-bit XNU yes yes +64-bit XNU yes (5) yes +32-bit EFI chainloader yes no (4) +64-bit EFI chainloader no (4) yes +Appleloader yes yes + + IEEE1275 +BIOS chainloading no (1) +NTLDR no (1) +FreeBSD bootloader crashes (1) +32-bit kFreeBSD crashes (6) +64-bit kFreeBSD crashes (6) +32-bit kNetBSD crashes (1) +64-bit kNetBSD ? +32-bit kOpenBSD ? +64-bit kOpenBSD ? +Multiboot ? +Multiboot2 ? +32-bit Linux (legacy protocol) no (1) +64-bit Linux (legacy protocol) no (1) +32-bit Linux (modern protocol) ? +64-bit Linux (modern protocol) ? +32-bit XNU ? +64-bit XNU ? +32-bit EFI chainloader no (3) +64-bit EFI chainloader no (3) +Appleloader no (3) + + 1. Requires BIOS + + 2. Crashes because the memory at 0x0-0x1000 isn't available + + 3. EFI only + + 4. 32-bit and 64-bit EFI have different structures and work in + different CPU modes so it's not possible to chainload 32-bit + bootloader on 64-bit platform and vice-versa + + 5. Some modules may need to be disabled + + 6. Requires ACPI + + PowerPC and Sparc ports support only Linux. MIPS port supports Linux +and multiboot2. + +17 Boot tests +************* + +As you have seen in previous chapter the support matrix is pretty big +and some of the configurations are only rarely used. To ensure the +quality bootchecks are available for all x86 targets except EFI +chainloader, Appleloader and XNU. All x86 platforms have bootcheck +facility except ieee1275. Multiboot, multiboot2, BIOS chainloader, +ntldr and freebsd-bootloader boot targets are tested only with a fake +kernel images. Only Linux is tested among the payloads using Linux +protocols. + + Following variables must be defined: + +GRUB_PAYLOADS_DIR directory containing the required kernels +GRUB_CBFSTOOL cbfstoll from Coreboot package (for coreboot + platform only) +GRUB_COREBOOT_ROM empty Coreboot ROM +GRUB_QEMU_OPTS additional options to be supplied to QEMU + + Required files are: + +kfreebsd_env.i386 32-bit kFreeBSD device hints +kfreebsd.i386 32-bit FreeBSD kernel image +kfreebsd.x86_64, same from 64-bit kFreeBSD +kfreebsd_env.x86_64 +knetbsd.i386 32-bit NetBSD kernel image +knetbsd.miniroot.i386 32-bit kNetBSD miniroot.kmod. +knetbsd.x86_64, same from 64-bit kNetBSD +knetbsd.miniroot.x86_64 +kopenbsd.i386 32-bit OpenBSD kernel bsd.rd image +kopenbsd.x86_64 same from 64-bit kOpenBSD +linux.i386 32-bit Linux +linux.x86_64 64-bit Linux + + +File: grub.info, Node: Troubleshooting, Next: Invoking grub-install, Prev: Supported kernels, Up: Top + +18 Error messages produced by GRUB +********************************** + +* Menu: + +* GRUB only offers a rescue shell:: + + +File: grub.info, Node: GRUB only offers a rescue shell, Up: Troubleshooting + +18.1 GRUB only offers a rescue shell +==================================== + +GRUB's normal start-up procedure involves setting the `prefix' +environment variable to a value set in the core image by +`grub-install', setting the `root' variable to match, loading the +`normal' module from the prefix, and running the `normal' command +(*note normal::). This command is responsible for reading +`/boot/grub/grub.cfg', running the menu, and doing all the useful +things GRUB is supposed to do. + + If, instead, you only get a rescue shell, this usually means that +GRUB failed to load the `normal' module for some reason. It may be +possible to work around this temporarily: for instance, if the reason +for the failure is that `prefix' is wrong (perhaps it refers to the +wrong device, or perhaps the path to `/boot/grub' was not correctly +made relative to the device), then you can correct this and enter +normal mode manually: + + # Inspect the current prefix (and other preset variables): + set + # Find out which devices are available: + ls + # Set to the correct value, which might be something like this: + set prefix=(hd0,1)/grub + set root=(hd0,1) + insmod normal + normal + + However, any problem that leaves you in the rescue shell probably +means that GRUB was not correctly installed. It may be more useful to +try to reinstall it properly using `grub-install DEVICE' (*note +Invoking grub-install::). When doing this, there are a few things to +remember: + + * Drive ordering in your operating system may not be the same as the + boot drive ordering used by your firmware. Do not assume that + your first hard drive (e.g. `/dev/sda') is the one that your + firmware will boot from. `device.map' (*note Device map::) can be + used to override this, but it is usually better to use UUIDs or + file system labels and avoid depending on drive ordering entirely. + + * At least on BIOS systems, if you tell `grub-install' to install + GRUB to a partition but GRUB has already been installed in the + master boot record, then the GRUB installation in the partition + will be ignored. + + * If possible, it is generally best to avoid installing GRUB to a + partition (unless it is a special partition for the use of GRUB + alone, such as the BIOS Boot Partition used on GPT). Doing this + means that GRUB may stop being able to read its core image due to + a file system moving blocks around, such as while defragmenting, + running checks, or even during normal operation. Installing to + the whole disk device is normally more robust. + + * Check that GRUB actually knows how to read from the device and + file system containing `/boot/grub'. It will not be able to read + from encrypted devices, nor from file systems for which support + has not yet been added to GRUB. + + +File: grub.info, Node: Invoking grub-install, Next: Invoking grub-mkconfig, Prev: Troubleshooting, Up: Top + +19 Invoking grub-install +************************ + +The program `grub-install' installs GRUB on your drive using +`grub-mkimage' and (on some platforms) `grub-setup'. You must specify +the device name on which you want to install GRUB, like this: + + grub-install INSTALL_DEVICE + + The device name INSTALL_DEVICE is an OS device name or a GRUB device +name. + + `grub-install' accepts the following options: + +`--help' + Print a summary of the command-line options and exit. + +`--version' + Print the version number of GRUB and exit. + +`--boot-directory=DIR' + Install GRUB images under the directory `DIR/grub/' This option is + useful when you want to install GRUB into a separate partition or + a removable disk. If this option is not specified then it + defaults to `/boot', so + + grub-install /dev/sda + + is equivalent to + + grub-install --boot-directory=/boot/ /dev/sda + + Here is an example in which you have a separate "boot" partition + which is mounted on `/mnt/boot': + + grub-install --boot-directory=/mnt/boot /dev/sdb + +`--recheck' + Recheck the device map, even if `/boot/grub/device.map' already + exists. You should use this option whenever you add/remove a disk + into/from your computer. + + +File: grub.info, Node: Invoking grub-mkconfig, Next: Invoking grub-mkpasswd-pbkdf2, Prev: Invoking grub-install, Up: Top + +20 Invoking grub-mkconfig +************************* + +The program `grub-mkconfig' generates a configuration file for GRUB +(*note Simple configuration::). + + grub-mkconfig -o /boot/grub/grub.cfg + + `grub-mkconfig' accepts the following options: + +`--help' + Print a summary of the command-line options and exit. + +`--version' + Print the version number of GRUB and exit. + +`-o FILE' +`--output=FILE' + Send the generated configuration file to FILE. The default is to + send it to standard output. + + +File: grub.info, Node: Invoking grub-mkpasswd-pbkdf2, Next: Invoking grub-mkrescue, Prev: Invoking grub-mkconfig, Up: Top + +21 Invoking grub-mkpasswd-pbkdf2 +******************************** + +The program `grub-mkpasswd-pbkdf2' generates password hashes for GRUB +(*note Security::). + + grub-mkpasswd-pbkdf2 + + `grub-mkpasswd-pbkdf2' accepts the following options: + +`-c NUMBER' +`--iteration-count=NUMBER' + Number of iterations of the underlying pseudo-random function. + Defaults to 10000. + +`-l NUMBER' +`--buflen=NUMBER' + Length of the generated hash. Defaults to 64. + +`-s NUMBER' +`--salt=NUMBER' + Length of the salt. Defaults to 64. + + +File: grub.info, Node: Invoking grub-mkrescue, Next: Obtaining and Building GRUB, Prev: Invoking grub-mkpasswd-pbkdf2, Up: Top + +22 Invoking grub-mkrescue +************************* + +The program `grub-mkrescue' generates a bootable GRUB rescue image +(*note Making a GRUB bootable CD-ROM::). + + grub-mkrescue -o grub.iso + + All arguments not explicitly listed as `grub-mkrescue' options are +passed on directly to `xorriso' in `mkisofs' emulation mode. Options +passed to `xorriso' will normally be interpreted as `mkisofs' options; +if the option `--' is used, then anything after that will be +interpreted as native `xorriso' options. + + Non-option arguments specify additional source directories. This is +commonly used to add extra files to the image: + + mkdir -p disk/boot/grub + (add extra files to `disk/boot/grub') + grub-mkrescue -o grub.iso disk + + `grub-mkrescue' accepts the following options: + +`--help' + Print a summary of the command-line options and exit. + +`--version' + Print the version number of GRUB and exit. + +`-o FILE' +`--output=FILE' + Save output in FILE. This "option" is required. + +`--modules=MODULES' + Pre-load the named GRUB modules in the image. Multiple entries in + MODULES should be separated by whitespace (so you will probably + need to quote this for your shell). + +`--rom-directory=DIR' + If generating images for the QEMU or Coreboot platforms, copy the + resulting `qemu.img' or `coreboot.elf' files respectively to the + DIR directory as well as including them in the image. + +`--xorriso=FILE' + Use FILE as the `xorriso' program, rather than the built-in + default. + +`--grub-mkimage=FILE' + Use FILE as the `grub-mkimage' program, rather than the built-in + default. + + +File: grub.info, Node: Obtaining and Building GRUB, Next: Reporting bugs, Prev: Invoking grub-mkrescue, Up: Top + +Appendix A How to obtain and build GRUB +*************************************** + + *Caution:* GRUB requires binutils-2.9.1.0.23 or later because the + GNU assembler has been changed so that it can produce real 16bits + machine code between 2.9.1 and 2.9.1.0.x. See + `http://sources.redhat.com/binutils/', to obtain information on + how to get the latest version. + + GRUB is available from the GNU alpha archive site +`ftp://alpha.gnu.org/gnu/grub' or any of its mirrors. The file will be +named grub-version.tar.gz. The current version is 1.99, so the file you +should grab is: + + `ftp://alpha.gnu.org/gnu/grub/grub-1.99.tar.gz' + + To unbundle GRUB use the instruction: + + zcat grub-1.99.tar.gz | tar xvf - + + which will create a directory called `grub-1.99' with all the +sources. You can look at the file `INSTALL' for detailed instructions +on how to build and install GRUB, but you should be able to just do: + + cd grub-1.99 + ./configure + make install + + Also, the latest version is available using Bazaar. See +`http://www.gnu.org/software/grub/grub-download.en.html' for more +information. + + +File: grub.info, Node: Reporting bugs, Next: Future, Prev: Obtaining and Building GRUB, Up: Top + +Appendix B Reporting bugs +************************* + +These are the guideline for how to report bugs. Take a look at this +list below before you submit bugs: + + 1. Before getting unsettled, read this manual through and through. + Also, see the GNU GRUB FAQ + (http://www.gnu.org/software/grub/grub-faq.html). + + 2. Always mention the information on your GRUB. The version number + and the configuration are quite important. If you build it + yourself, write the options specified to the configure script and + your operating system, including the versions of gcc and binutils. + + 3. If you have trouble with the installation, inform us of how you + installed GRUB. Don't omit error messages, if any. Just `GRUB hangs + up when it boots' is not enough. + + The information on your hardware is also essential. These are + especially important: the geometries and the partition tables of + your hard disk drives and your BIOS. + + 4. If GRUB cannot boot your operating system, write down _everything_ + you see on the screen. Don't paraphrase them, like `The foo OS + crashes with GRUB, even though it can boot with the bar boot + loader just fine'. Mention the commands you executed, the messages + printed by them, and information on your operating system + including the version number. + + 5. Explain what you wanted to do. It is very useful to know your + purpose and your wish, and how GRUB didn't satisfy you. + + 6. If you can investigate the problem yourself, please do. That will + give you and us much more information on the problem. Attaching a + patch is even better. + + When you attach a patch, make the patch in unified diff format, and + write ChangeLog entries. But, even when you make a patch, don't + forget to explain the problem, so that we can understand what your + patch is for. + + 7. Write down anything that you think might be related. Please + understand that we often need to reproduce the same problem you + encountered in our environment. So your information should be + sufficient for us to do the same thing--Don't forget that we + cannot see your computer directly. If you are not sure whether to + state a fact or leave it out, state it! Reporting too many things + is much better than omitting something important. + + If you follow the guideline above, submit a report to the Bug +Tracking System (http://savannah.gnu.org/bugs/?group=grub). +Alternatively, you can submit a report via electronic mail to +, but we strongly recommend that you use the Bug +Tracking System, because e-mail can be passed over easily. + + Once we get your report, we will try to fix the bugs. + + +File: grub.info, Node: Future, Next: Copying This Manual, Prev: Reporting bugs, Up: Top + +Appendix C Where GRUB will go +***************************** + +GRUB 2 is now quite stable and used in many production systems. We are +currently working towards a 2.0 release. + + If you are interested in the development of GRUB 2, take a look at +the homepage (http://www.gnu.org/software/grub/grub.html). + + +File: grub.info, Node: Copying This Manual, Next: Index, Prev: Future, Up: Top + +Appendix D Copying This Manual +****************************** + +* Menu: + +* GNU Free Documentation License:: License for copying this manual. + + +File: grub.info, Node: GNU Free Documentation License, Up: Copying This Manual + +D.1 GNU Free Documentation License +================================== + + Version 1.2, November 2002 + + Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + 0. PREAMBLE + + The purpose of this License is to make a manual, textbook, or other + functional and useful document "free" in the sense of freedom: to + assure everyone the effective freedom to copy and redistribute it, + with or without modifying it, either commercially or + noncommercially. Secondarily, this License preserves for the + author and publisher a way to get credit for their work, while not + being considered responsible for modifications made by others. + + This License is a kind of "copyleft", which means that derivative + works of the document must themselves be free in the same sense. + It complements the GNU General Public License, which is a copyleft + license designed for free software. + + We have designed this License in order to use it for manuals for + free software, because free software needs free documentation: a + free program should come with manuals providing the same freedoms + that the software does. But this License is not limited to + software manuals; it can be used for any textual work, regardless + of subject matter or whether it is published as a printed book. + We recommend this License principally for works whose purpose is + instruction or reference. + + 1. APPLICABILITY AND DEFINITIONS + + This License applies to any manual or other work, in any medium, + that contains a notice placed by the copyright holder saying it + can be distributed under the terms of this License. Such a notice + grants a world-wide, royalty-free license, unlimited in duration, + to use that work under the conditions stated herein. The + "Document", below, refers to any such manual or work. Any member + of the public is a licensee, and is addressed as "you". You + accept the license if you copy, modify or distribute the work in a + way requiring permission under copyright law. + + A "Modified Version" of the Document means any work containing the + Document or a portion of it, either copied verbatim, or with + modifications and/or translated into another language. + + A "Secondary Section" is a named appendix or a front-matter section + of the Document that deals exclusively with the relationship of the + publishers or authors of the Document to the Document's overall + subject (or to related matters) and contains nothing that could + fall directly within that overall subject. (Thus, if the Document + is in part a textbook of mathematics, a Secondary Section may not + explain any mathematics.) The relationship could be a matter of + historical connection with the subject or with related matters, or + of legal, commercial, philosophical, ethical or political position + regarding them. + + The "Invariant Sections" are certain Secondary Sections whose + titles are designated, as being those of Invariant Sections, in + the notice that says that the Document is released under this + License. If a section does not fit the above definition of + Secondary then it is not allowed to be designated as Invariant. + The Document may contain zero Invariant Sections. If the Document + does not identify any Invariant Sections then there are none. + + The "Cover Texts" are certain short passages of text that are + listed, as Front-Cover Texts or Back-Cover Texts, in the notice + that says that the Document is released under this License. A + Front-Cover Text may be at most 5 words, and a Back-Cover Text may + be at most 25 words. + + A "Transparent" copy of the Document means a machine-readable copy, + represented in a format whose specification is available to the + general public, that is suitable for revising the document + straightforwardly with generic text editors or (for images + composed of pixels) generic paint programs or (for drawings) some + widely available drawing editor, and that is suitable for input to + text formatters or for automatic translation to a variety of + formats suitable for input to text formatters. A copy made in an + otherwise Transparent file format whose markup, or absence of + markup, has been arranged to thwart or discourage subsequent + modification by readers is not Transparent. An image format is + not Transparent if used for any substantial amount of text. A + copy that is not "Transparent" is called "Opaque". + + Examples of suitable formats for Transparent copies include plain + ASCII without markup, Texinfo input format, LaTeX input format, + SGML or XML using a publicly available DTD, and + standard-conforming simple HTML, PostScript or PDF designed for + human modification. Examples of transparent image formats include + PNG, XCF and JPG. Opaque formats include proprietary formats that + can be read and edited only by proprietary word processors, SGML or + XML for which the DTD and/or processing tools are not generally + available, and the machine-generated HTML, PostScript or PDF + produced by some word processors for output purposes only. + + The "Title Page" means, for a printed book, the title page itself, + plus such following pages as are needed to hold, legibly, the + material this License requires to appear in the title page. For + works in formats which do not have any title page as such, "Title + Page" means the text near the most prominent appearance of the + work's title, preceding the beginning of the body of the text. + + A section "Entitled XYZ" means a named subunit of the Document + whose title either is precisely XYZ or contains XYZ in parentheses + following text that translates XYZ in another language. (Here XYZ + stands for a specific section name mentioned below, such as + "Acknowledgements", "Dedications", "Endorsements", or "History".) + To "Preserve the Title" of such a section when you modify the + Document means that it remains a section "Entitled XYZ" according + to this definition. + + The Document may include Warranty Disclaimers next to the notice + which states that this License applies to the Document. These + Warranty Disclaimers are considered to be included by reference in + this License, but only as regards disclaiming warranties: any other + implication that these Warranty Disclaimers may have is void and + has no effect on the meaning of this License. + + 2. VERBATIM COPYING + + You may copy and distribute the Document in any medium, either + commercially or noncommercially, provided that this License, the + copyright notices, and the license notice saying this License + applies to the Document are reproduced in all copies, and that you + add no other conditions whatsoever to those of this License. You + may not use technical measures to obstruct or control the reading + or further copying of the copies you make or distribute. However, + you may accept compensation in exchange for copies. If you + distribute a large enough number of copies you must also follow + the conditions in section 3. + + You may also lend copies, under the same conditions stated above, + and you may publicly display copies. + + 3. COPYING IN QUANTITY + + If you publish printed copies (or copies in media that commonly + have printed covers) of the Document, numbering more than 100, and + the Document's license notice requires Cover Texts, you must + enclose the copies in covers that carry, clearly and legibly, all + these Cover Texts: Front-Cover Texts on the front cover, and + Back-Cover Texts on the back cover. Both covers must also clearly + and legibly identify you as the publisher of these copies. The + front cover must present the full title with all words of the + title equally prominent and visible. You may add other material + on the covers in addition. Copying with changes limited to the + covers, as long as they preserve the title of the Document and + satisfy these conditions, can be treated as verbatim copying in + other respects. + + If the required texts for either cover are too voluminous to fit + legibly, you should put the first ones listed (as many as fit + reasonably) on the actual cover, and continue the rest onto + adjacent pages. + + If you publish or distribute Opaque copies of the Document + numbering more than 100, you must either include a + machine-readable Transparent copy along with each Opaque copy, or + state in or with each Opaque copy a computer-network location from + which the general network-using public has access to download + using public-standard network protocols a complete Transparent + copy of the Document, free of added material. If you use the + latter option, you must take reasonably prudent steps, when you + begin distribution of Opaque copies in quantity, to ensure that + this Transparent copy will remain thus accessible at the stated + location until at least one year after the last time you + distribute an Opaque copy (directly or through your agents or + retailers) of that edition to the public. + + It is requested, but not required, that you contact the authors of + the Document well before redistributing any large number of + copies, to give them a chance to provide you with an updated + version of the Document. + + 4. MODIFICATIONS + + You may copy and distribute a Modified Version of the Document + under the conditions of sections 2 and 3 above, provided that you + release the Modified Version under precisely this License, with + the Modified Version filling the role of the Document, thus + licensing distribution and modification of the Modified Version to + whoever possesses a copy of it. In addition, you must do these + things in the Modified Version: + + A. Use in the Title Page (and on the covers, if any) a title + distinct from that of the Document, and from those of + previous versions (which should, if there were any, be listed + in the History section of the Document). You may use the + same title as a previous version if the original publisher of + that version gives permission. + + B. List on the Title Page, as authors, one or more persons or + entities responsible for authorship of the modifications in + the Modified Version, together with at least five of the + principal authors of the Document (all of its principal + authors, if it has fewer than five), unless they release you + from this requirement. + + C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. + + D. Preserve all the copyright notices of the Document. + + E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. + + F. Include, immediately after the copyright notices, a license + notice giving the public permission to use the Modified + Version under the terms of this License, in the form shown in + the Addendum below. + + G. Preserve in that license notice the full lists of Invariant + Sections and required Cover Texts given in the Document's + license notice. + + H. Include an unaltered copy of this License. + + I. Preserve the section Entitled "History", Preserve its Title, + and add to it an item stating at least the title, year, new + authors, and publisher of the Modified Version as given on + the Title Page. If there is no section Entitled "History" in + the Document, create one stating the title, year, authors, + and publisher of the Document as given on its Title Page, + then add an item describing the Modified Version as stated in + the previous sentence. + + J. Preserve the network location, if any, given in the Document + for public access to a Transparent copy of the Document, and + likewise the network locations given in the Document for + previous versions it was based on. These may be placed in + the "History" section. You may omit a network location for a + work that was published at least four years before the + Document itself, or if the original publisher of the version + it refers to gives permission. + + K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the + section all the substance and tone of each of the contributor + acknowledgements and/or dedications given therein. + + L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section + titles. + + M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. + + N. Do not retitle any existing section to be Entitled + "Endorsements" or to conflict in title with any Invariant + Section. + + O. Preserve any Warranty Disclaimers. + + If the Modified Version includes new front-matter sections or + appendices that qualify as Secondary Sections and contain no + material copied from the Document, you may at your option + designate some or all of these sections as invariant. To do this, + add their titles to the list of Invariant Sections in the Modified + Version's license notice. These titles must be distinct from any + other section titles. + + You may add a section Entitled "Endorsements", provided it contains + nothing but endorsements of your Modified Version by various + parties--for example, statements of peer review or that the text + has been approved by an organization as the authoritative + definition of a standard. + + You may add a passage of up to five words as a Front-Cover Text, + and a passage of up to 25 words as a Back-Cover Text, to the end + of the list of Cover Texts in the Modified Version. Only one + passage of Front-Cover Text and one of Back-Cover Text may be + added by (or through arrangements made by) any one entity. If the + Document already includes a cover text for the same cover, + previously added by you or by arrangement made by the same entity + you are acting on behalf of, you may not add another; but you may + replace the old one, on explicit permission from the previous + publisher that added the old one. + + The author(s) and publisher(s) of the Document do not by this + License give permission to use their names for publicity for or to + assert or imply endorsement of any Modified Version. + + 5. COMBINING DOCUMENTS + + You may combine the Document with other documents released under + this License, under the terms defined in section 4 above for + modified versions, provided that you include in the combination + all of the Invariant Sections of all of the original documents, + unmodified, and list them all as Invariant Sections of your + combined work in its license notice, and that you preserve all + their Warranty Disclaimers. + + The combined work need only contain one copy of this License, and + multiple identical Invariant Sections may be replaced with a single + copy. If there are multiple Invariant Sections with the same name + but different contents, make the title of each such section unique + by adding at the end of it, in parentheses, the name of the + original author or publisher of that section if known, or else a + unique number. Make the same adjustment to the section titles in + the list of Invariant Sections in the license notice of the + combined work. + + In the combination, you must combine any sections Entitled + "History" in the various original documents, forming one section + Entitled "History"; likewise combine any sections Entitled + "Acknowledgements", and any sections Entitled "Dedications". You + must delete all sections Entitled "Endorsements." + + 6. COLLECTIONS OF DOCUMENTS + + You may make a collection consisting of the Document and other + documents released under this License, and replace the individual + copies of this License in the various documents with a single copy + that is included in the collection, provided that you follow the + rules of this License for verbatim copying of each of the + documents in all other respects. + + You may extract a single document from such a collection, and + distribute it individually under this License, provided you insert + a copy of this License into the extracted document, and follow + this License in all other respects regarding verbatim copying of + that document. + + 7. AGGREGATION WITH INDEPENDENT WORKS + + A compilation of the Document or its derivatives with other + separate and independent documents or works, in or on a volume of + a storage or distribution medium, is called an "aggregate" if the + copyright resulting from the compilation is not used to limit the + legal rights of the compilation's users beyond what the individual + works permit. When the Document is included in an aggregate, this + License does not apply to the other works in the aggregate which + are not themselves derivative works of the Document. + + If the Cover Text requirement of section 3 is applicable to these + copies of the Document, then if the Document is less than one half + of the entire aggregate, the Document's Cover Texts may be placed + on covers that bracket the Document within the aggregate, or the + electronic equivalent of covers if the Document is in electronic + form. Otherwise they must appear on printed covers that bracket + the whole aggregate. + + 8. TRANSLATION + + Translation is considered a kind of modification, so you may + distribute translations of the Document under the terms of section + 4. Replacing Invariant Sections with translations requires special + permission from their copyright holders, but you may include + translations of some or all Invariant Sections in addition to the + original versions of these Invariant Sections. You may include a + translation of this License, and all the license notices in the + Document, and any Warranty Disclaimers, provided that you also + include the original English version of this License and the + original versions of those notices and disclaimers. In case of a + disagreement between the translation and the original version of + this License or a notice or disclaimer, the original version will + prevail. + + If a section in the Document is Entitled "Acknowledgements", + "Dedications", or "History", the requirement (section 4) to + Preserve its Title (section 1) will typically require changing the + actual title. + + 9. TERMINATION + + You may not copy, modify, sublicense, or distribute the Document + except as expressly provided for under this License. Any other + attempt to copy, modify, sublicense or distribute the Document is + void, and will automatically terminate your rights under this + License. However, parties who have received copies, or rights, + from you under this License will not have their licenses + terminated so long as such parties remain in full compliance. + + 10. FUTURE REVISIONS OF THIS LICENSE + + The Free Software Foundation may publish new, revised versions of + the GNU Free Documentation License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. See + `http://www.gnu.org/copyleft/'. + + Each version of the License is given a distinguishing version + number. If the Document specifies that a particular numbered + version of this License "or any later version" applies to it, you + have the option of following the terms and conditions either of + that specified version or of any later version that has been + published (not as a draft) by the Free Software Foundation. If + the Document does not specify a version number of this License, + you may choose any version ever published (not as a draft) by the + Free Software Foundation. + +D.1.1 ADDENDUM: How to use this License for your documents +---------------------------------------------------------- + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and license +notices just after the title page: + + Copyright (C) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. A copy of the license is included in the section entitled ``GNU + Free Documentation License''. + + If you have Invariant Sections, Front-Cover Texts and Back-Cover +Texts, replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with + the Front-Cover Texts being LIST, and with the Back-Cover Texts + being LIST. + + If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + + If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, to +permit their use in free software. + + +File: grub.info, Node: Index, Prev: Copying This Manual, Up: Top + +Index +***** + +[index] +* Menu: + +* acpi: acpi. (line 11) +* badram: badram. (line 7) +* blocklist: blocklist. (line 7) +* boot: boot. (line 7) +* cat: cat. (line 7) +* chainloader: chainloader. (line 7) +* cmp: cmp. (line 7) +* configfile: configfile. (line 7) +* cpuid: cpuid. (line 7) +* crc: crc. (line 7) +* date: date. (line 7) +* drivemap: drivemap. (line 7) +* echo: echo. (line 7) +* export: export. (line 7) +* false: false. (line 7) +* FDL, GNU Free Documentation License: GNU Free Documentation License. + (line 6) +* gettext: gettext. (line 7) +* gptsync: gptsync. (line 7) +* halt: halt. (line 7) +* help: help. (line 7) +* initrd: initrd. (line 7) +* initrd16: initrd16. (line 7) +* insmod: insmod. (line 7) +* keystatus: keystatus. (line 7) +* linux: linux. (line 7) +* linux16: linux16. (line 7) +* list_env: list_env. (line 7) +* load_env: load_env. (line 7) +* loopback: loopback. (line 7) +* ls: ls. (line 7) +* menuentry: menuentry. (line 8) +* normal: normal. (line 7) +* normal_exit: normal_exit. (line 7) +* parttool: parttool. (line 7) +* password: password. (line 7) +* password_pbkdf2: password_pbkdf2. (line 7) +* play: play. (line 7) +* pxe_unload: pxe_unload. (line 7) +* read: read. (line 7) +* reboot: reboot. (line 7) +* save_env: save_env. (line 7) +* search: search. (line 8) +* sendkey: sendkey. (line 12) +* serial: serial. (line 8) +* set: set. (line 7) +* submenu: submenu. (line 8) +* terminal_input: terminal_input. (line 8) +* terminal_output: terminal_output. (line 8) +* terminfo: terminfo. (line 7) +* true: true. (line 7) +* unset: unset. (line 7) + + + +Tag Table: +Node: Top961 +Node: Introduction3282 +Node: Overview3726 +Node: Overview-Footnotes5710 +Ref: Overview-Footnote-15771 +Node: History5932 +Node: Changes from GRUB Legacy8020 +Node: Features10496 +Node: Features-Footnotes16487 +Ref: Features-Footnote-116548 +Ref: Features-Footnote-216694 +Node: Role of a boot loader16839 +Node: Role of a boot loader-Footnotes18177 +Ref: Role of a boot loader-Footnote-118264 +Node: Naming convention18343 +Node: Installation21218 +Node: Installing GRUB using grub-install22321 +Node: Making a GRUB bootable CD-ROM24492 +Node: Making a GRUB bootable CD-ROM-Footnotes26346 +Ref: Making a GRUB bootable CD-ROM-Footnote-126449 +Node: Device map26524 +Node: BIOS installation28701 +Node: Booting32078 +Node: General boot methods32470 +Node: Loading an operating system directly33211 +Node: Chain-loading33942 +Node: OS-specific notes34913 +Node: GNU/Hurd35195 +Node: GNU/Linux36312 +Node: DOS/Windows37935 +Node: Configuration39708 +Node: Simple configuration40250 +Node: Shell-like scripting49686 +Node: Shell-like scripting-Footnotes57596 +Ref: Shell-like scripting-Footnote-157681 +Node: Embedded configuration57808 +Node: Theme file format60641 +Ref: Pixmap-styled progress bar62064 +Ref: Plain progress bar62076 +Ref: An example of the slices (in red) used for a terminal window. This drawing was created and sliced in Inkscape_65505 +Node: Network79727 +Node: Serial terminal82130 +Node: Vendor power-on keys84357 +Node: Images86187 +Node: Filesystem91147 +Node: Device syntax91834 +Node: File name syntax93326 +Node: Block list syntax94080 +Node: Interface94813 +Node: Command-line interface95635 +Node: Command-line interface-Footnotes97576 +Ref: Command-line interface-Footnote-197665 +Node: Menu interface97760 +Node: Menu entry editor98770 +Node: Environment99508 +Node: Special environment variables100212 +Node: biosnum100963 +Node: chosen101477 +Node: color_highlight101919 +Node: color_normal102325 +Node: debug102947 +Node: default103294 +Node: fallback104221 +Node: gfxmode104552 +Node: gfxpayload105285 +Node: gfxterm_font106437 +Node: icondir106736 +Node: lang107052 +Node: locale_dir107521 +Node: menu_color_highlight108030 +Node: menu_color_normal108526 +Node: net_pxe_boot_file109019 +Node: net_pxe_dhcp_server_name109230 +Node: net_pxe_domain109452 +Node: net_pxe_extensionspath109659 +Node: net_pxe_hostname109874 +Node: net_pxe_ip110073 +Node: net_pxe_mac110249 +Node: net_pxe_rootpath110427 +Node: pager110610 +Node: prefix110864 +Node: pxe_blksize111313 +Node: pxe_default_gateway111490 +Node: pxe_default_server111695 +Node: root111891 +Node: superusers112432 +Node: theme112680 +Node: timeout113001 +Node: Environment block113498 +Node: Commands114930 +Node: Menu-specific commands115763 +Node: menuentry116490 +Node: submenu117497 +Node: General commands118005 +Node: serial118501 +Node: terminal_input119546 +Node: terminal_output120212 +Node: terminfo120879 +Node: Command-line and menu entry commands122014 +Node: acpi124985 +Node: badram126024 +Node: blocklist127066 +Node: boot127300 +Node: cat127621 +Node: chainloader128256 +Node: cmp128878 +Node: configfile129429 +Node: cpuid129729 +Node: crc130194 +Node: date130384 +Node: drivemap130923 +Node: echo131726 +Node: export132663 +Node: false132973 +Node: gettext133269 +Node: gptsync133716 +Node: halt134661 +Node: help134987 +Node: initrd135450 +Node: initrd16135862 +Node: insmod136367 +Node: keystatus136589 +Node: linux137227 +Node: linux16138130 +Node: list_env138844 +Node: load_env139198 +Node: loopback139576 +Node: ls140024 +Node: normal140569 +Node: normal_exit141328 +Node: parttool141650 +Node: password143155 +Node: password_pbkdf2143437 +Node: play143845 +Node: pxe_unload144597 +Node: read144876 +Node: reboot145225 +Node: save_env145410 +Node: search145796 +Node: sendkey146574 +Node: set152848 +Node: true153146 +Node: unset153431 +Node: uppermem153637 +Node: Security153838 +Node: Supported kernels156526 +Node: Troubleshooting164014 +Node: GRUB only offers a rescue shell164240 +Node: Invoking grub-install167166 +Node: Invoking grub-mkconfig168544 +Node: Invoking grub-mkpasswd-pbkdf2169181 +Node: Invoking grub-mkrescue169839 +Node: Obtaining and Building GRUB171602 +Node: Reporting bugs172846 +Node: Future175649 +Node: Copying This Manual176049 +Node: GNU Free Documentation License176277 +Node: Index198685 + +End Tag Table diff --git a/docs/grub.texi b/docs/grub.texi new file mode 100644 index 0000000..b11e383 --- /dev/null +++ b/docs/grub.texi @@ -0,0 +1,4455 @@ +\input texinfo +@c -*-texinfo-*- +@c %**start of header +@setfilename grub.info +@include version.texi +@settitle GNU GRUB Manual @value{VERSION} +@c Unify all our little indices for now. +@syncodeindex fn cp +@syncodeindex vr cp +@syncodeindex ky cp +@syncodeindex pg cp +@syncodeindex tp cp +@c %**end of header + +@footnotestyle separate +@paragraphindent 3 +@finalout + +@copying +This manual is for GNU GRUB (version @value{VERSION}, +@value{UPDATED}). + +Copyright @copyright{} 1999,2000,2001,2002,2004,2006,2008,2009,2010 Free Software Foundation, Inc. + +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no +Invariant Sections. +@end quotation +@end copying + +@dircategory Kernel +@direntry +* GRUB: (grub). The GRand Unified Bootloader +* grub-install: (grub)Invoking grub-install. Install GRUB on your drive +* grub-mkconfig: (grub)Invoking grub-mkconfig. Generate GRUB configuration +* grub-mkpasswd-pbkdf2: (grub)Invoking grub-mkpasswd-pbkdf2. +* grub-mkrescue: (grub)Invoking grub-mkrescue. Make a GRUB rescue image +@end direntry + +@setchapternewpage odd + +@titlepage +@sp 10 +@title the GNU GRUB manual +@subtitle The GRand Unified Bootloader, version @value{VERSION}, @value{UPDATED}. +@author Gordon Matzigkeit +@author Yoshinori K. Okuji +@author Colin Watson +@author Colin D. Bennett +@c The following two commands start the copyright page. +@page +@vskip 0pt plus 1filll +@insertcopying +@end titlepage + +@c Output the table of contents at the beginning. +@contents + +@finalout +@headings double + +@ifnottex +@node Top +@top GNU GRUB manual + +This is the documentation of GNU GRUB, the GRand Unified Bootloader, +a flexible and powerful boot loader program for a wide range of +architectures. + +This edition documents version @value{VERSION}. + +@insertcopying +@end ifnottex + +@menu +* Introduction:: Capturing the spirit of GRUB +* Naming convention:: Names of your drives in GRUB +* Installation:: Installing GRUB on your drive +* Booting:: How to boot different operating systems +* Configuration:: Writing your own configuration file +* Theme file format:: Format of GRUB theme files +* Network:: Downloading OS images from a network +* Serial terminal:: Using GRUB via a serial line +* Vendor power-on keys:: Changing GRUB behaviour on vendor power-on keys +* Images:: GRUB image files +* Filesystem:: Filesystem syntax and semantics +* Interface:: The menu and the command-line +* Environment:: GRUB environment variables +* Commands:: The list of available builtin commands +* Security:: Authentication and authorisation +* Supported kernels:: The list of supported kernels +* Troubleshooting:: Error messages produced by GRUB +* Invoking grub-install:: How to use the GRUB installer +* Invoking grub-mkconfig:: Generate a GRUB configuration file +* Invoking grub-mkpasswd-pbkdf2:: + Generate GRUB password hashes +* Invoking grub-mkrescue:: Make a GRUB rescue image +* Obtaining and Building GRUB:: How to obtain and build GRUB +* Reporting bugs:: Where you should send a bug report +* Future:: Some future plans on GRUB +* Copying This Manual:: Copying This Manual +* Index:: +@end menu + + +@node Introduction +@chapter Introduction to GRUB + +@menu +* Overview:: What exactly GRUB is and how to use it +* History:: From maggot to house fly +* Changes from GRUB Legacy:: Differences from previous versions +* Features:: GRUB features +* Role of a boot loader:: The role of a boot loader +@end menu + + +@node Overview +@section Overview + +Briefly, a @dfn{boot loader} is the first software program that runs when +a computer starts. It is responsible for loading and transferring +control to an operating system @dfn{kernel} software (such as Linux or +GNU Mach). The kernel, in turn, initializes the rest of the operating +system (e.g. a GNU system). + +GNU GRUB is a very powerful boot loader, which can load a wide variety +of free operating systems, as well as proprietary operating systems with +chain-loading@footnote{@dfn{chain-load} is the mechanism for loading +unsupported operating systems by loading another boot loader. It is +typically used for loading DOS or Windows.}. GRUB is designed to +address the complexity of booting a personal computer; both the +program and this manual are tightly bound to that computer platform, +although porting to other platforms may be addressed in the future. + +One of the important features in GRUB is flexibility; GRUB understands +filesystems and kernel executable formats, so you can load an arbitrary +operating system the way you like, without recording the physical +position of your kernel on the disk. Thus you can load the kernel +just by specifying its file name and the drive and partition where the +kernel resides. + +When booting with GRUB, you can use either a command-line interface +(@pxref{Command-line interface}), or a menu interface (@pxref{Menu +interface}). Using the command-line interface, you type the drive +specification and file name of the kernel manually. In the menu +interface, you just select an OS using the arrow keys. The menu is +based on a configuration file which you prepare beforehand +(@pxref{Configuration}). While in the menu, you can switch to the +command-line mode, and vice-versa. You can even edit menu entries +before using them. + +In the following chapters, you will learn how to specify a drive, a +partition, and a file name (@pxref{Naming convention}) to GRUB, how to +install GRUB on your drive (@pxref{Installation}), and how to boot your +OSes (@pxref{Booting}), step by step. + + +@node History +@section History of GRUB + +GRUB originated in 1995 when Erich Boleyn was trying to boot the GNU +Hurd with the University of Utah's Mach 4 microkernel (now known as GNU +Mach). Erich and Brian Ford designed the Multiboot Specification +(@pxref{Top, Multiboot Specification, Motivation, multiboot, The Multiboot +Specification}), because they were determined not to add to the large +number of mutually-incompatible PC boot methods. + +Erich then began modifying the FreeBSD boot loader so that it would +understand Multiboot. He soon realized that it would be a lot easier +to write his own boot loader from scratch than to keep working on the +FreeBSD boot loader, and so GRUB was born. + +Erich added many features to GRUB, but other priorities prevented him +from keeping up with the demands of its quickly-expanding user base. In +1999, Gordon Matzigkeit and Yoshinori K. Okuji adopted GRUB as an +official GNU package, and opened its development by making the latest +sources available via anonymous CVS. @xref{Obtaining and Building +GRUB}, for more information. + +Over the next few years, GRUB was extended to meet many needs, but it +quickly became clear that its design was not keeping up with the extensions +being made to it, and we reached the point where it was very difficult to +make any further changes without breaking existing features. Around 2002, +Yoshinori K. Okuji started work on PUPA (Preliminary Universal Programming +Architecture for GNU GRUB), aiming to rewrite the core of GRUB to make it +cleaner, safer, more robust, and more powerful. PUPA was eventually renamed +to GRUB 2, and the original version of GRUB was renamed to GRUB Legacy. +Small amounts of maintenance continued to be done on GRUB Legacy, but the +last release (0.97) was made in 2005 and at the time of writing it seems +unlikely that there will be another. + +By around 2007, GNU/Linux distributions started to use GRUB 2 to limited +extents, and by the end of 2009 multiple major distributions were installing +it by default. + + +@node Changes from GRUB Legacy +@section Differences from previous versions + +GRUB 2 is a rewrite of GRUB (@pxref{History}), although it shares many +characteristics with the previous version, now known as GRUB Legacy. Users +of GRUB Legacy may need some guidance to find their way around this new +version. + +@itemize @bullet +@item +The configuration file has a new name (@file{grub.cfg} rather than +@file{menu.lst} or @file{grub.conf}), new syntax (@pxref{Configuration}) and +many new commands (@pxref{Commands}). Configuration cannot be copied over +directly, although most GRUB Legacy users should not find the syntax too +surprising. + +@item +@file{grub.cfg} is typically automatically generated by +@command{grub-mkconfig} (@pxref{Simple configuration}). This makes it +easier to handle versioned kernel upgrades. + +@item +Partition numbers in GRUB device names now start at 1, not 0 (@pxref{Naming +convention}). + +@item +The configuration file is now written in something closer to a full +scripting language: variables, conditionals, and loops are available. + +@item +A small amount of persistent storage is available across reboots, using the +@command{save_env} and @command{load_env} commands in GRUB and the +@command{grub-editenv} utility. This is not available in all configurations +(@pxref{Environment block}). + +@item +GRUB 2 has more reliable ways to find its own files and those of target +kernels on multiple-disk systems, and has commands (@pxref{search}) to find +devices using file system labels or Universally Unique Identifiers (UUIDs). + +@item +GRUB 2 is available for several other types of system in addition to the PC +BIOS systems supported by GRUB Legacy: PC EFI, PC coreboot, PowerPC, SPARC, +and MIPS Lemote Yeeloong are all supported. + +@item +Many more file systems are supported, including but not limited to ext4, +HFS+, and NTFS. + +@item +GRUB 2 can read files directly from LVM and RAID devices. + +@item +A graphical terminal and a graphical menu system are available. + +@item +GRUB 2's interface can be translated, including menu entry names. + +@item +The image files (@pxref{Images}) that make up GRUB have been reorganised; +Stage 1, Stage 1.5, and Stage 2 are no more. + +@item +GRUB 2 puts many facilities in dynamically loaded modules, allowing the core +image to be smaller, and allowing the core image to be built in more +flexible ways. +@end itemize + + +@node Features +@section GRUB features + +The primary requirement for GRUB is that it be compliant with the +@dfn{Multiboot Specification}, which is described in @ref{Top, Multiboot +Specification, Motivation, multiboot, The Multiboot Specification}. + +The other goals, listed in approximate order of importance, are: + +@itemize @bullet{} +@item +Basic functions must be straightforward for end-users. + +@item +Rich functionality to support kernel experts and designers. + +@item +Backward compatibility for booting FreeBSD, NetBSD, OpenBSD, and +Linux. Proprietary kernels (such as DOS, Windows NT, and OS/2) are +supported via a chain-loading function. +@end itemize + +Except for specific compatibility modes (chain-loading and the Linux +@dfn{piggyback} format), all kernels will be started in much the same +state as in the Multiboot Specification. Only kernels loaded at 1 megabyte +or above are presently supported. Any attempt to load below that +boundary will simply result in immediate failure and an error message +reporting the problem. + +In addition to the requirements above, GRUB has the following features +(note that the Multiboot Specification doesn't require all the features +that GRUB supports): + +@table @asis +@item Recognize multiple executable formats +Support many of the @dfn{a.out} variants plus @dfn{ELF}. Symbol +tables are also loaded. + +@item Support non-Multiboot kernels +Support many of the various free 32-bit kernels that lack Multiboot +compliance (primarily FreeBSD, NetBSD, OpenBSD, and +Linux). Chain-loading of other boot loaders is also supported. + +@item Load multiples modules +Fully support the Multiboot feature of loading multiple modules. + +@item Load a configuration file +Support a human-readable text configuration file with preset boot +commands. You can also load another configuration file dynamically and +embed a preset configuration file in a GRUB image file. The list of +commands (@pxref{Commands}) are a superset of those supported on the +command-line. An example configuration file is provided in +@ref{Configuration}. + +@item Provide a menu interface +A menu interface listing preset boot commands, with a programmable +timeout, is available. There is no fixed limit on the number of boot +entries, and the current implementation has space for several hundred. + +@item Have a flexible command-line interface +A fairly flexible command-line interface, accessible from the menu, +is available to edit any preset commands, or write a new boot command +set from scratch. If no configuration file is present, GRUB drops to +the command-line. + +The list of commands (@pxref{Commands}) are a subset of those supported +for configuration files. Editing commands closely resembles the Bash +command-line (@pxref{Command Line Editing, Bash, Command Line Editing, +features, Bash Features}), with @key{TAB}-completion of commands, +devices, partitions, and files in a directory depending on context. + +@item Support multiple filesystem types +Support multiple filesystem types transparently, plus a useful explicit +blocklist notation. The currently supported filesystem types are @dfn{Amiga +Fast FileSystem (AFFS)}, @dfn{AtheOS fs}, @dfn{BeFS}, @dfn{cpio}, @dfn{Linux +ext2/ext3/ext4}, @dfn{DOS FAT12/FAT16/FAT32}, @dfn{HFS}, @dfn{HFS+}, +@dfn{ISO9660}, @dfn{JFS}, @dfn{Minix fs}, @dfn{nilfs2}, @dfn{NTFS}, +@dfn{ReiserFS}, @dfn{Amiga Smart FileSystem (SFS)}, @dfn{tar}, @dfn{UDF}, +@dfn{BSD UFS/UFS2}, and @dfn{XFS}. @xref{Filesystem}, for more information. + +@item Support automatic decompression +Can decompress files which were compressed by @command{gzip} or +@command{xz}@footnote{Only CRC32 data integrity check is supported (xz default +is CRC64 so one should use --check=crc32 option). LZMA BCJ filters are +supported.}. This function is both automatic and transparent to the user +(i.e. all functions operate upon the uncompressed contents of the specified +files). This greatly reduces a file size and loading time, a +particularly great benefit for floppies.@footnote{There are a few +pathological cases where loading a very badly organized ELF kernel might +take longer, but in practice this never happen.} + +It is conceivable that some kernel modules should be loaded in a +compressed state, so a different module-loading command can be specified +to avoid uncompressing the modules. + +@item Access data on any installed device +Support reading data from any or all floppies or hard disk(s) recognized +by the BIOS, independent of the setting of the root device. + +@item Be independent of drive geometry translations +Unlike many other boot loaders, GRUB makes the particular drive +translation irrelevant. A drive installed and running with one +translation may be converted to another translation without any adverse +effects or changes in GRUB's configuration. + +@item Detect all installed @sc{ram} +GRUB can generally find all the installed @sc{ram} on a PC-compatible +machine. It uses an advanced BIOS query technique for finding all +memory regions. As described on the Multiboot Specification (@pxref{Top, +Multiboot Specification, Motivation, multiboot, The Multiboot +Specification}), not all kernels make use of this information, but GRUB +provides it for those who do. + +@item Support Logical Block Address mode +In traditional disk calls (called @dfn{CHS mode}), there is a geometry +translation problem, that is, the BIOS cannot access over 1024 +cylinders, so the accessible space is limited to at least 508 MB and to +at most 8GB. GRUB can't universally solve this problem, as there is no +standard interface used in all machines. However, several newer machines +have the new interface, Logical Block Address (@dfn{LBA}) mode. GRUB +automatically detects if LBA mode is available and uses it if +available. In LBA mode, GRUB can access the entire disk. + +@item Support network booting +GRUB is basically a disk-based boot loader but also has network +support. You can load OS images from a network by using the @dfn{TFTP} +protocol. + +@item Support remote terminals +To support computers with no console, GRUB provides remote terminal +support, so that you can control GRUB from a remote host. Only serial +terminal support is implemented at the moment. +@end table + + +@node Role of a boot loader +@section The role of a boot loader + +The following is a quotation from Gordon Matzigkeit, a GRUB fanatic: + +@quotation +Some people like to acknowledge both the operating system and kernel when +they talk about their computers, so they might say they use +``GNU/Linux'' or ``GNU/Hurd''. Other people seem to think that the +kernel is the most important part of the system, so they like to call +their GNU operating systems ``Linux systems.'' + +I, personally, believe that this is a grave injustice, because the +@emph{boot loader} is the most important software of all. I used to +refer to the above systems as either ``LILO''@footnote{The LInux LOader, +a boot loader that everybody uses, but nobody likes.} or ``GRUB'' +systems. + +Unfortunately, nobody ever understood what I was talking about; now I +just use the word ``GNU'' as a pseudonym for GRUB. + +So, if you ever hear people talking about their alleged ``GNU'' systems, +remember that they are actually paying homage to the best boot loader +around@dots{} GRUB! +@end quotation + +We, the GRUB maintainers, do not (usually) encourage Gordon's level of +fanaticism, but it helps to remember that boot loaders deserve +recognition. We hope that you enjoy using GNU GRUB as much as we did +writing it. + + +@node Naming convention +@chapter Naming convention + +The device syntax used in GRUB is a wee bit different from what you may +have seen before in your operating system(s), and you need to know it so +that you can specify a drive/partition. + +Look at the following examples and explanations: + +@example +(fd0) +@end example + +First of all, GRUB requires that the device name be enclosed with +@samp{(} and @samp{)}. The @samp{fd} part means that it is a floppy +disk. The number @samp{0} is the drive number, which is counted from +@emph{zero}. This expression means that GRUB will use the whole floppy +disk. + +@example +(hd0,msdos2) +@end example + +Here, @samp{hd} means it is a hard disk drive. The first integer +@samp{0} indicates the drive number, that is, the first hard disk, +the string @samp{msdos} indicates the partition scheme, while +the second integer, @samp{2}, indicates the partition number (or the +@sc{pc} slice number in the BSD terminology). The partition numbers are +counted from @emph{one}, not from zero (as was the case in previous +versions of GRUB). This expression means the second partition of the +first hard disk drive. In this case, GRUB uses one partition of the +disk, instead of the whole disk. + +@example +(hd0,msdos5) +@end example + +This specifies the first @dfn{extended partition} of the first hard disk +drive. Note that the partition numbers for extended partitions are +counted from @samp{5}, regardless of the actual number of primary +partitions on your hard disk. + +@example +(hd1,msdos1,bsd1) +@end example + +This means the BSD @samp{a} partition on first @sc{pc} slice number +of the second hard disk. + +Of course, to actually access the disks or partitions with GRUB, you +need to use the device specification in a command, like @samp{set +root=(fd0)} or @samp{parttool (hd0,msdos3) hidden-}. To help you find out +which number specifies a partition you want, the GRUB command-line +(@pxref{Command-line interface}) options have argument +completion. This means that, for example, you only need to type + +@example +set root=( +@end example + +followed by a @key{TAB}, and GRUB will display the list of drives, +partitions, or file names. So it should be quite easy to determine the +name of your target partition, even with minimal knowledge of the +syntax. + +Note that GRUB does @emph{not} distinguish IDE from SCSI - it simply +counts the drive numbers from zero, regardless of their type. Normally, +any IDE drive number is less than any SCSI drive number, although that +is not true if you change the boot sequence by swapping IDE and SCSI +drives in your BIOS. + +Now the question is, how to specify a file? Again, consider an +example: + +@example +(hd0,msdos1)/vmlinuz +@end example + +This specifies the file named @samp{vmlinuz}, found on the first +partition of the first hard disk drive. Note that the argument +completion works with file names, too. + +That was easy, admit it. Now read the next chapter, to find out how to +actually install GRUB on your drive. + + +@node Installation +@chapter Installation + +In order to install GRUB as your boot loader, you need to first +install the GRUB system and utilities under your UNIX-like operating +system (@pxref{Obtaining and Building GRUB}). You can do this either +from the source tarball, or as a package for your OS. + +After you have done that, you need to install the boot loader on a +drive (floppy or hard disk) by using the utility +@command{grub-install} (@pxref{Invoking grub-install}) on a UNIX-like OS. + +GRUB comes with boot images, which are normally put in the directory +@file{/usr/lib/grub/-} (for BIOS-based machines +@file{/usr/lib/grub/i386-pc}). Hereafter, the directory where GRUB images are +initially placed (normally @file{/usr/lib/grub/-}) will be +called the @dfn{image directory}, and the directory where the boot +loader needs to find them (usually @file{/boot}) will be called +the @dfn{boot directory}. + +@menu +* Installing GRUB using grub-install:: +* Making a GRUB bootable CD-ROM:: +* Device map:: +* BIOS installation:: +@end menu + + +@node Installing GRUB using grub-install +@section Installing GRUB using grub-install + +For information on where GRUB should be installed on PC BIOS platforms, +@pxref{BIOS installation}. + +In order to install GRUB under a UNIX-like OS (such +as @sc{gnu}), invoke the program @command{grub-install} (@pxref{Invoking +grub-install}) as the superuser (@dfn{root}). + +The usage is basically very simple. You only need to specify one +argument to the program, namely, where to install the boot loader. The +argument has to be either a device file (like @samp{/dev/hda}). +For example, under Linux the following will install GRUB into the MBR +of the first IDE disk: + +@example +# @kbd{grub-install /dev/hda} +@end example + +Likewise, under GNU/Hurd, this has the same effect: + +@example +# @kbd{grub-install /dev/hd0} +@end example + +But all the above examples assume that GRUB should put images under +the @file{/boot} directory. If you want GRUB to put images under a directory +other than @file{/boot}, you need to specify the option +@option{--boot-directory}. The typical usage is that you create a GRUB +boot floppy with a filesystem. Here is an example: + +@example +@group +# @kbd{mke2fs /dev/fd0} +# @kbd{mount -t ext2 /dev/fd0 /mnt} +# @kbd{mkdir /mnt/boot} +# @kbd{grub-install --boot-directory=/mnt/boot /dev/fd0} +# @kbd{umount /mnt} +@end group +@end example + +Some BIOSes have a bug of exposing the first partition of a USB drive as a +floppy instead of exposing the USB drive as a hard disk (they call it +``USB-FDD'' boot). In such cases, you need to install like this: + +@example +# @kbd{losetup /dev/loop0 /dev/sdb1} +# @kbd{mount /dev/loop0 /mnt/usb} +# @kbd{grub-install --boot-directory=/mnt/usb/bugbios --force --allow-floppy /dev/loop0} +@end example + +This install doesn't conflict with standard install as long as they are in +separate directories. + +Note that @command{grub-install} is actually just a shell script and the +real task is done by @command{grub-mkimage} and @command{grub-setup}. +Therefore, you may run those commands directly to install GRUB, without +using @command{grub-install}. Don't do that, however, unless you are very +familiar with the internals of GRUB. Installing a boot loader on a running +OS may be extremely dangerous. + +@node Making a GRUB bootable CD-ROM +@section Making a GRUB bootable CD-ROM + +GRUB supports the @dfn{no emulation mode} in the El Torito +specification@footnote{El Torito is a specification for bootable CD +using BIOS functions.}. This means that you can use the whole CD-ROM +from GRUB and you don't have to make a floppy or hard disk image file, +which can cause compatibility problems. + +For booting from a CD-ROM, GRUB uses a special image called +@file{cdboot.img}, which is concatenated with @file{core.img}. The +@file{core.img} used for this should be built with at least the +@samp{iso9660} and @samp{biosdisk} modules. Your bootable CD-ROM will +usually also need to include a configuration file @file{grub.cfg} and some +other GRUB modules. + +To make a simple generic GRUB rescue CD, you can use the +@command{grub-mkrescue} program (@pxref{Invoking grub-mkrescue}): + +@example +$ @kbd{grub-mkrescue -o grub.iso} +@end example + +You will often need to include other files in your image. To do this, first +make a top directory for the bootable image, say, @samp{iso}: + +@example +$ @kbd{mkdir iso} +@end example + +Make a directory for GRUB: + +@example +$ @kbd{mkdir -p iso/boot/grub} +@end example + +If desired, make the config file @file{grub.cfg} under @file{iso/boot/grub} +(@pxref{Configuration}), and copy any files and directories for the disc to the +directory @file{iso/}. + +Finally, make the image: + +@example +$ @kbd{grub-mkrescue -o grub.iso iso} +@end example + +This produces a file named @file{grub.iso}, which then can be burned +into a CD (or a DVD), or written to a USB mass storage device. + +The root device will be set up appropriately on entering your +@file{grub.cfg} configuration file, so you can refer to file names on the CD +without needing to use an explicit device name. This makes it easier to +produce rescue images that will work on both optical drives and USB mass +storage devices. + + +@node Device map +@section The map between BIOS drives and OS devices + +The @command{grub-mkdevicemap} program can be used to create the @dfn{device +map file}. It is often run automatically by tools such as +@command{grub-install} if the device map file does not already exist. The +file name @file{/boot/grub/device.map} is preferred. + +If the device map file exists, the GRUB utilities (@command{grub-probe}, +@command{grub-setup}, etc.) read it to map BIOS drives to OS devices. This +file consists of lines like this: + +@example +@var{device} @var{file} +@end example + +@var{device} is a drive specified in the GRUB syntax (@pxref{Device +syntax}), and @var{file} is an OS file, which is normally a device file. + +Historically, the device map file was used because GRUB device names had to +be used in the configuration file, and they were derived from BIOS drive +numbers. The map between BIOS drives and OS devices cannot always be +guessed correctly: for example, GRUB will get the order wrong if you +exchange the boot sequence between IDE and SCSI in your BIOS. + +Unfortunately, even OS device names are not always stable. Modern versions +of the Linux kernel may probe drives in a different order from boot to boot, +and the prefix (@file{/dev/hd*} versus @file{/dev/sd*}) may change depending +on the driver subsystem in use. As a result, the device map file required +frequent editing on some systems. + +GRUB avoids this problem nowadays by using UUIDs or file system labels when +generating @file{grub.cfg}, and we advise that you do the same for any +custom menu entries you write. If the device map file does not exist, then +the GRUB utilities will assume a temporary device map on the fly. This is +often good enough, particularly in the common case of single-disk systems. + +However, the device map file is not entirely obsolete yet, and there are +still some situations that require it to exist. If necessary, you may edit +the file if @command{grub-mkdevicemap} makes a mistake. You can put any +comments in the file if needed, as the GRUB utilities assume that a line is +just a comment if the first character is @samp{#}. + + +@node BIOS installation +@section BIOS installation + +@heading MBR + +The partition table format traditionally used on PC BIOS platforms is called +the Master Boot Record (MBR) format; this is the format that allows up to +four primary partitions and additional logical partitions. With this +partition table format, there are two ways to install GRUB: it can be +embedded in the area between the MBR and the first partition (called by +various names, such as the "boot track", "MBR gap", or "embedding area", and +which is usually at least 31 KiB), or the core image can be installed in a +file system and a list of the blocks that make it up can be stored in the +first sector of that partition. + +Each of these has different problems. There is no way to reserve space in +the embedding area with complete safety, and some proprietary software is +known to use it to make it difficult for users to work around licensing +restrictions; and systems are sometimes partitioned without leaving enough +space before the first partition. On the other hand, installing to a +filesystem means that GRUB is vulnerable to its blocks being moved around by +filesystem features such as tail packing, or even by aggressive fsck +implementations, so this approach is quite fragile; and this approach can +only be used if the @file{/boot} filesystem is on the same disk that the +BIOS boots from, so that GRUB does not have to rely on guessing BIOS drive +numbers. + +The GRUB development team generally recommends embedding GRUB before the +first partition, unless you have special requirements. You must ensure that +the first partition starts at least 31 KiB (63 sectors) from the start of +the disk; on modern disks, it is often a performance advantage to align +partitions on larger boundaries anyway, so the first partition might start 1 +MiB from the start of the disk. + +@heading GPT + +Some newer systems use the GUID Partition Table (GPT) format. This was +specified as part of the Extensible Firmware Interface (EFI), but it can +also be used on BIOS platforms if system software supports it; for example, +GRUB and GNU/Linux can be used in this configuration. With this format, it +is possible to reserve a whole partition for GRUB, called the BIOS Boot +Partition. GRUB can then be embedded into that partition without the risk +of being overwritten by other software and without being contained in a +filesystem which might move its blocks around. + +When creating a BIOS Boot Partition on a GPT system, you should make sure +that it is at least 31 KiB in size. (GPT-formatted disks are not usually +particularly small, so we recommend that you make it larger than the bare +minimum, such as 1 MiB, to allow plenty of room for growth.) You must also +make sure that it has the proper partition type. Using GNU Parted, you can +set this using a command such as the following: + +@example +# @kbd{parted /dev/@var{disk} set @var{partition-number} bios_grub on} +@end example + +If you are using gdisk, set the partition type to @samp{0xEF02}. With +partitioning programs that require setting the GUID directly, it should be +@samp{21686148-6449-6e6f-744e656564454649}. + +@strong{Caution:} Be very careful which partition you select! When GRUB +finds a BIOS Boot Partition during installation, it will automatically +overwrite part of it. Make sure that the partition does not contain any +other data. + + +@node Booting +@chapter Booting + +GRUB can load Multiboot-compliant kernels in a consistent way, +but for some free operating systems you need to use some OS-specific +magic. + +@menu +* General boot methods:: How to boot OSes with GRUB generally +* OS-specific notes:: Notes on some operating systems +@end menu + + +@node General boot methods +@section How to boot operating systems + +GRUB has two distinct boot methods. One of the two is to load an +operating system directly, and the other is to chain-load another boot +loader which then will load an operating system actually. Generally +speaking, the former is more desirable, because you don't need to +install or maintain other boot loaders and GRUB is flexible enough to +load an operating system from an arbitrary disk/partition. However, +the latter is sometimes required, since GRUB doesn't support all the +existing operating systems natively. + +@menu +* Loading an operating system directly:: +* Chain-loading:: +@end menu + + +@node Loading an operating system directly +@subsection How to boot an OS directly with GRUB + +Multiboot (@pxref{Top, Multiboot Specification, Motivation, multiboot, +The Multiboot Specification}) is the native format supported by GRUB. +For the sake of convenience, there is also support for Linux, FreeBSD, +NetBSD and OpenBSD. If you want to boot other operating systems, you +will have to chain-load them (@pxref{Chain-loading}). + +FIXME: this section is incomplete. + +@enumerate +@item +Run the command @command{boot} (@pxref{boot}). +@end enumerate + +However, DOS and Windows have some deficiencies, so you might have to +use more complicated instructions. @xref{DOS/Windows}, for more +information. + + +@node Chain-loading +@subsection Chain-loading an OS + +Operating systems that do not support Multiboot and do not have specific +support in GRUB (specific support is available for Linux, FreeBSD, NetBSD +and OpenBSD) must be chain-loaded, which involves loading another boot +loader and jumping to it in real mode. + +The @command{chainloader} command (@pxref{chainloader}) is used to set this +up. It is normally also necessary to load some GRUB modules and set the +appropriate root device. Putting this together, we get something like this, +for a Windows system on the first partition of the first hard disk: + +@verbatim +menuentry "Windows" { + insmod chain + insmod ntfs + set root=(hd0,1) + chainloader +1 +} +@end verbatim +@c FIXME: document UUIDs. + +On systems with multiple hard disks, an additional workaround may be +required. @xref{DOS/Windows}. + +Chain-loading is only supported on PC BIOS and EFI platforms. + + +@node OS-specific notes +@section Some caveats on OS-specific issues + +Here, we describe some caveats on several operating systems. + +@menu +* GNU/Hurd:: +* GNU/Linux:: +* DOS/Windows:: +@end menu + + +@node GNU/Hurd +@subsection GNU/Hurd + +Since GNU/Hurd is Multiboot-compliant, it is easy to boot it; there is +nothing special about it. But do not forget that you have to specify a +root partition to the kernel. + +@enumerate +@item +Set GRUB's root device to the same drive as GNU/Hurd's. The command +@code{search --file --set /boot/gnumach.gz} or similar may help you +(@pxref{search}). + +@item +Load the kernel and the modules, like this: + +@example +@group +grub> @kbd{multiboot /boot/gnumach.gz root=device:hd0s1} +grub> @kbd{module /hurd/ext2fs.static ext2fs --readonly \ + --multiboot-command-line='$@{kernel-command-line@}' \ + --host-priv-port='$@{host-port@}' \ + --device-master-port='$@{device-port@}' \ + --exec-server-task='$@{exec-task@}' -T typed '$@{root@}' \ + '$(task-create)' '$(task-resume)'} +grub> @kbd{module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'} +@end group +@end example + +@item +Finally, run the command @command{boot} (@pxref{boot}). +@end enumerate + + +@node GNU/Linux +@subsection GNU/Linux + +It is relatively easy to boot GNU/Linux from GRUB, because it somewhat +resembles to boot a Multiboot-compliant OS. + +@enumerate +@item +Set GRUB's root device to the same drive as GNU/Linux's. The command +@code{search --file --set /vmlinuz} or similar may help you +(@pxref{search}). + +@item +Load the kernel using the command @command{linux} (@pxref{linux}): + +@example +grub> @kbd{linux /vmlinuz root=/dev/sda1} +@end example + +If you need to specify some kernel parameters, just append them to the +command. For example, to set @option{acpi} to @samp{off}, do this: + +@example +grub> @kbd{linux /vmlinuz root=/dev/sda1 acpi=off} +@end example + +See the documentation in the Linux source tree for complete information on +the available options. + +With @command{linux} GRUB uses 32-bit protocol. Some BIOS services like APM +or EDD aren't available with this protocol. In this case you need to use +@command{linux16} + +@example +grub> @kbd{linux16 /vmlinuz root=/dev/sda1 acpi=off} +@end example + +@item +If you use an initrd, execute the command @command{initrd} (@pxref{initrd}) +after @command{linux}: + +@example +grub> @kbd{initrd /initrd} +@end example + +If you used @command{linux16} you need to use @command{initrd16}: + +@example +grub> @kbd{initrd16 /initrd} +@end example + +@item +Finally, run the command @command{boot} (@pxref{boot}). +@end enumerate + +@strong{Caution:} If you use an initrd and specify the @samp{mem=} +option to the kernel to let it use less than actual memory size, you +will also have to specify the same memory size to GRUB. To let GRUB know +the size, run the command @command{uppermem} @emph{before} loading the +kernel. @xref{uppermem}, for more information. + + +@node DOS/Windows +@subsection DOS/Windows + +GRUB cannot boot DOS or Windows directly, so you must chain-load them +(@pxref{Chain-loading}). However, their boot loaders have some critical +deficiencies, so it may not work to just chain-load them. To overcome +the problems, GRUB provides you with two helper functions. + +If you have installed DOS (or Windows) on a non-first hard disk, you +have to use the disk swapping technique, because that OS cannot boot +from any disks but the first one. The workaround used in GRUB is the +command @command{drivemap} (@pxref{drivemap}), like this: + +@example +drivemap -s (hd0) (hd1) +@end example + +This performs a @dfn{virtual} swap between your first and second hard +drive. + +@strong{Caution:} This is effective only if DOS (or Windows) uses BIOS +to access the swapped disks. If that OS uses a special driver for the +disks, this probably won't work. + +Another problem arises if you installed more than one set of DOS/Windows +onto one disk, because they could be confused if there are more than one +primary partitions for DOS/Windows. Certainly you should avoid doing +this, but there is a solution if you do want to do so. Use the partition +hiding/unhiding technique. + +If GRUB @dfn{hides} a DOS (or Windows) partition (@pxref{parttool}), DOS (or +Windows) will ignore the partition. If GRUB @dfn{unhides} a DOS (or Windows) +partition, DOS (or Windows) will detect the partition. Thus, if you have +installed DOS (or Windows) on the first and the second partition of the +first hard disk, and you want to boot the copy on the first partition, do +the following: + +@example +@group +parttool (hd0,1) hidden- +parttool (hd0,2) hidden+ +set root=(hd0,1) +chainloader +1 +parttool @verb{'${root}'} boot+ +boot +@end group +@end example + + +@node Configuration +@chapter Writing your own configuration file + +GRUB is configured using @file{grub.cfg}, usually located under +@file{/boot/grub}. This file is quite flexible, but most users will not +need to write the whole thing by hand. + +@menu +* Simple configuration:: Recommended for most users +* Shell-like scripting:: For power users and developers +* Embedded configuration:: Embedding a configuration file into GRUB +@end menu + + +@node Simple configuration +@section Simple configuration handling + +The program @command{grub-mkconfig} (@pxref{Invoking grub-mkconfig}) +generates @file{grub.cfg} files suitable for most cases. It is suitable for +use when upgrading a distribution, and will discover available kernels and +attempt to generate menu entries for them. + +@command{grub-mkconfig} does have some limitations. While adding extra +custom menu entries to the end of the list can be done by editing +@file{/etc/grub.d/40_custom} or creating @file{/boot/grub/custom.cfg}, +changing the order of menu entries or changing their titles may require +making complex changes to shell scripts stored in @file{/etc/grub.d/}. This +may be improved in the future. In the meantime, those who feel that it +would be easier to write @file{grub.cfg} directly are encouraged to do so +(@pxref{Booting}, and @ref{Shell-like scripting}), and to disable any system +provided by their distribution to automatically run @command{grub-mkconfig}. + +The file @file{/etc/default/grub} controls the operation of +@command{grub-mkconfig}. It is sourced by a shell script, and so must be +valid POSIX shell input; normally, it will just be a sequence of +@samp{KEY=value} lines, but if the value contains spaces or other special +characters then it must be quoted. For example: + +@example +GRUB_TERMINAL_INPUT="console serial" +@end example + +Valid keys in @file{/etc/default/grub} are as follows: + +@table @samp +@item GRUB_DEFAULT +The default menu entry. This may be a number, in which case it identifies +the Nth entry in the generated menu counted from zero, or the title of a +menu entry, or the special string @samp{saved}. Using the title may be +useful if you want to set a menu entry as the default even though there may +be a variable number of entries before it. + +For example, if you have: + +@verbatim +menuentry 'Example GNU/Linux distribution' --class gnu-linux { + ... +} +@end verbatim + +then you can make this the default using: + +@example +GRUB_DEFAULT='Example GNU/Linux distribution' +@end example + +If you set this to @samp{saved}, then the default menu entry will be that +saved by @samp{GRUB_SAVEDEFAULT}, @command{grub-set-default}, or +@command{grub-reboot}. + +The default is @samp{0}. + +@item GRUB_SAVEDEFAULT +If this option is set to @samp{true}, then, when an entry is selected, save +it as a new default entry for use by future runs of GRUB. This is only +useful if @samp{GRUB_DEFAULT=saved}; it is a separate option because +@samp{GRUB_DEFAULT=saved} is useful without this option, in conjunction with +@command{grub-set-default} or @command{grub-reboot}. Unset by default. +This option relies on the environment block, which may not be available in +all situations (@pxref{Environment block}). + +@item GRUB_TIMEOUT +Boot the default entry this many seconds after the menu is displayed, unless +a key is pressed. The default is @samp{5}. Set to @samp{0} to boot +immediately without displaying the menu, or to @samp{-1} to wait +indefinitely. + +@item GRUB_HIDDEN_TIMEOUT +Wait this many seconds for a key to be pressed before displaying the menu. +If no key is pressed during that time, boot immediately. Unset by default. + +@item GRUB_HIDDEN_TIMEOUT_QUIET +In conjunction with @samp{GRUB_HIDDEN_TIMEOUT}, set this to @samp{true} to +suppress the verbose countdown while waiting for a key to be pressed before +displaying the menu. Unset by default. + +@item GRUB_DEFAULT_BUTTON +@itemx GRUB_TIMEOUT_BUTTON +@itemx GRUB_HIDDEN_TIMEOUT_BUTTON +@itemx GRUB_BUTTON_CMOS_ADDRESS +Variants of the corresponding variables without the @samp{_BUTTON} suffix, +used to support vendor-specific power buttons. @xref{Vendor power-on keys}. + +@item GRUB_DISTRIBUTOR +Set by distributors of GRUB to their identifying name. This is used to +generate more informative menu entry titles. + +@item GRUB_TERMINAL_INPUT +Select the terminal input device. You may select multiple devices here, +separated by spaces. + +Valid terminal input names depend on the platform, but may include +@samp{console} (PC BIOS and EFI consoles), @samp{serial} (serial terminal), +@samp{ofconsole} (Open Firmware console), @samp{at_keyboard} (PC AT +keyboard, mainly useful with Coreboot), or @samp{usb_keyboard} (USB keyboard +using the HID Boot Protocol, for cases where the firmware does not handle +this). + +The default is to use the platform's native terminal input. + +@item GRUB_TERMINAL_OUTPUT +Select the terminal output device. You may select multiple devices here, +separated by spaces. + +Valid terminal output names depend on the platform, but may include +@samp{console} (PC BIOS and EFI consoles), @samp{serial} (serial terminal), +@samp{gfxterm} (graphics-mode output), @samp{ofconsole} (Open Firmware +console), or @samp{vga_text} (VGA text output, mainly useful with Coreboot). + +The default is to use the platform's native terminal output. + +@item GRUB_TERMINAL +If this option is set, it overrides both @samp{GRUB_TERMINAL_INPUT} and +@samp{GRUB_TERMINAL_OUTPUT} to the same value. + +@item GRUB_SERIAL_COMMAND +A command to configure the serial port when using the serial console. +@xref{serial}. Defaults to @samp{serial}. + +@item GRUB_CMDLINE_LINUX +Command-line arguments to add to menu entries for the Linux kernel. + +@item GRUB_CMDLINE_LINUX_DEFAULT +Unless @samp{GRUB_DISABLE_RECOVERY} is set to @samp{true}, two menu +entries will be generated for each Linux kernel: one default entry and one +entry for recovery mode. This option lists command-line arguments to add +only to the default menu entry, after those listed in +@samp{GRUB_CMDLINE_LINUX}. + +@item GRUB_CMDLINE_NETBSD +@itemx GRUB_CMDLINE_NETBSD_DEFAULT +As @samp{GRUB_CMDLINE_LINUX} and @samp{GRUB_CMDLINE_LINUX_DEFAULT}, but for +NetBSD. + +@item GRUB_CMDLINE_XEN +@itemx GRUB_CMDLINE_XEN_DEFAULT +As @samp{GRUB_CMDLINE_LINUX} and @samp{GRUB_CMDLINE_LINUX_DEFAULT}, but for +Linux and Xen. + +@item GRUB_DISABLE_LINUX_UUID +Normally, @command{grub-mkconfig} will generate menu entries that use +universally-unique identifiers (UUIDs) to identify the root filesystem to +the Linux kernel, using a @samp{root=UUID=...} kernel parameter. This is +usually more reliable, but in some cases it may not be appropriate. To +disable the use of UUIDs, set this option to @samp{true}. + +@item GRUB_DISABLE_RECOVERY +If this option is set to @samp{true}, disable the generation of recovery +mode menu entries. + +@item GRUB_VIDEO_BACKEND +If graphical video support is required, either because the @samp{gfxterm} +graphical terminal is in use or because @samp{GRUB_GFXPAYLOAD_LINUX} is set, +then @command{grub-mkconfig} will normally load all available GRUB video +drivers and use the one most appropriate for your hardware. If you need to +override this for some reason, then you can set this option. + +After @command{grub-install} has been run, the available video drivers are +listed in @file{/boot/grub/video.lst}. + +@item GRUB_GFXMODE +Set the resolution used on the @samp{gfxterm} graphical terminal. Note that +you can only use modes which your graphics card supports via VESA BIOS +Extensions (VBE), so for example native LCD panel resolutions may not be +available. The default is @samp{640x480}. @xref{gfxmode}. + +@item GRUB_BACKGROUND +Set a background image for use with the @samp{gfxterm} graphical terminal. +The value of this option must be a file readable by GRUB at boot time, and +it must end with @file{.png}, @file{.tga}, @file{.jpg}, or @file{.jpeg}. +The image will be scaled if necessary to fit the screen. + +@item GRUB_THEME +Set a theme for use with the @samp{gfxterm} graphical terminal. + +@item GRUB_GFXPAYLOAD_LINUX +Set to @samp{text} to force the Linux kernel to boot in normal text mode, +@samp{keep} to preserve the graphics mode set using @samp{GRUB_GFXMODE}, +@samp{@var{width}x@var{height}}[@samp{x@var{depth}}] to set a particular +graphics mode, or a sequence of these separated by commas or semicolons to +try several modes in sequence. @xref{gfxpayload}. + +Depending on your kernel, your distribution, your graphics card, and the +phase of the moon, note that using this option may cause GNU/Linux to suffer +from various display problems, particularly during the early part of the +boot sequence. If you have problems, set this option to @samp{text} and +GRUB will tell Linux to boot in normal text mode. + +@item GRUB_DISABLE_OS_PROBER +Normally, @command{grub-mkconfig} will try to use the external +@command{os-prober} program, if installed, to discover other operating +systems installed on the same system and generate appropriate menu entries +for them. Set this option to @samp{true} to disable this. + +@item GRUB_INIT_TUNE +Play a tune on the speaker when GRUB starts. This is particularly useful +for users unable to see the screen. The value of this option is passed +directly to @ref{play}. + +@item GRUB_BADRAM +If this option is set, GRUB will issue a @ref{badram} command to filter +out specified regions of RAM. + +@item GRUB_PRELOAD_MODULES +This option may be set to a list of GRUB module names separated by spaces. +Each module will be loaded as early as possible, at the start of +@file{grub.cfg}. + +@end table + +For more detailed customisation of @command{grub-mkconfig}'s output, you may +edit the scripts in @file{/etc/grub.d} directly. +@file{/etc/grub.d/40_custom} is particularly useful for adding entire custom +menu entries; simply type the menu entries you want to add at the end of +that file, making sure to leave at least the first two lines intact. + + +@node Shell-like scripting +@section Writing full configuration files directly + +@c Some of this section is derived from the GNU Bash manual page, also +@c copyrighted by the FSF. + +@file{grub.cfg} is written in GRUB's built-in scripting language, which has +a syntax quite similar to that of GNU Bash and other Bourne shell +derivatives. + +@heading Words + +A @dfn{word} is a sequence of characters considered as a single unit by +GRUB. Words are separated by @dfn{metacharacters}, which are the following +plus space, tab, and newline: + +@example +@{ @} | & $ ; < > +@end example + +Quoting may be used to include metacharacters in words; see below. + +@heading Reserved words + +Reserved words have a special meaning to GRUB. The following words are +recognised as reserved when unquoted and either the first word of a simple +command or the third word of a @code{for} command: + +@example +! [[ ]] @{ @} +case do done elif else esac fi for function +if in menuentry select then time until while +@end example + +Not all of these reserved words have a useful purpose yet; some are reserved +for future expansion. + +@heading Quoting + +Quoting is used to remove the special meaning of certain characters or +words. It can be used to treat metacharacters as part of a word, to prevent +reserved words from being recognised as such, and to prevent variable +expansion. + +There are three quoting mechanisms: the escape character, single quotes, and +double quotes. + +A non-quoted backslash (\) is the @dfn{escape character}. It preserves the +literal value of the next character that follows, with the exception of +newline. + +Enclosing characters in single quotes preserves the literal value of each +character within the quotes. A single quote may not occur between single +quotes, even when preceded by a backslash. + +Enclosing characters in double quotes preserves the literal value of all +characters within the quotes, with the exception of @samp{$} and @samp{\}. +The @samp{$} character retains its special meaning within double quotes. +The backslash retains its special meaning only when followed by one of the +following characters: @samp{$}, @samp{"}, @samp{\}, or newline. A +backslash-newline pair is treated as a line continuation (that is, it is +removed from the input stream and effectively ignored@footnote{Currently a +backslash-newline pair within a variable name is not handled properly, so +use this feature with some care.}). A double quote may be quoted within +double quotes by preceding it with a backslash. + +@heading Variable expansion + +The @samp{$} character introduces variable expansion. The variable name to +be expanded may be enclosed in braces, which are optional but serve to +protect the variable to be expanded from characters immediately following it +which could be interpreted as part of the name. + +Normal variable names begin with an alphabetic character, followed by zero +or more alphanumeric characters. These names refer to entries in the GRUB +environment (@pxref{Environment}). + +Positional variable names consist of one or more digits. They represent +parameters passed to function calls, with @samp{$1} representing the first +parameter, and so on. + +The special variable name @samp{?} expands to the exit status of the most +recently executed command. When positional variable names are active, other +special variable names @samp{@@}, @samp{*} and @samp{#} are defined and they +expand to all positional parameters with necessary quoting, positional +parameters without any quoting, and positional parameter count respectively. + +@heading Comments + +A word beginning with @samp{#} causes that word and all remaining characters +on that line to be ignored. + +@heading Simple commands + +A @dfn{simple command} is a sequence of words separated by spaces or tabs +and terminated by a semicolon or a newline. The first word specifies the +command to be executed. The remaining words are passed as arguments to the +invoked command. + +The return value of a simple command is its exit status. If the reserved +word @code{!} precedes the command, then the return value is instead the +logical negation of the command's exit status. + +@heading Compound commands + +A @dfn{compound command} is one of the following: + +@table @asis +@item for @var{name} in @var{word} @dots{}; do @var{list}; done +The list of words following @code{in} is expanded, generating a list of +items. The variable @var{name} is set to each element of this list in turn, +and @var{list} is executed each time. The return value is the exit status +of the last command that executes. If the expansion of the items following +@code{in} results in an empty list, no commands are executed, and the return +status is 0. + +@item if @var{list}; then @var{list}; [elif @var{list}; then @var{list};] @dots{} [else @var{list};] fi +The @code{if} @var{list} is executed. If its exit status is zero, the +@code{then} @var{list} is executed. Otherwise, each @code{elif} @var{list} +is executed in turn, and if its exit status is zero, the corresponding +@code{then} @var{list} is executed and the command completes. Otherwise, +the @code{else} @var{list} is executed, if present. The exit status is the +exit status of the last command executed, or zero if no condition tested +true. + +@item while @var{cond}; do @var{list}; done +@itemx until @var{cond}; do @var{list}; done +The @code{while} command continuously executes the @code{do} @var{list} as +long as the last command in @var{cond} returns an exit status of zero. The +@code{until} command is identical to the @code{while} command, except that +the test is negated; the @code{do} @var{list} is executed as long as the +last command in @var{cond} returns a non-zero exit status. The exit status +of the @code{while} and @code{until} commands is the exit status of the last +@code{do} @var{list} command executed, or zero if none was executed. + +@item function @var{name} @{ @var{command}; @dots{} @} +This defines a function named @var{name}. The @dfn{body} of the function is +the list of commands within braces, each of which must be terminated with a +semicolon or a newline. This list of commands will be executed whenever +@var{name} is specified as the name of a simple command. Function +definitions do not affect the exit status in @code{$?}. When executed, the +exit status of a function is the exit status of the last command executed in +the body. + +@item menuentry @var{title} [@option{--class=class} @dots{}] [@option{--users=users}] [@option{--hotkey=key}] @{ @var{command}; @dots{} @} +@xref{menuentry}. +@end table + +@heading Built-in Commands + +Some built-in commands are also provided by GRUB script to help script +writers perform actions that are otherwise not possible. For example, these +include commands to jump out of a loop without fully completing it, etc. + +@table @asis +@item break [@code{n}] +Exit from within a @code{for}, @code{while}, or @code{until} loop. If +@code{n} is specified, break @code{n} levels. @code{n} must be greater than +or equal to 1. If @code{n} is greater than the number of enclosing loops, +all enclosing loops are exited. The return value is 0 unless @code{n} is +not greater than or equal to 1. + +@item continue [@code{n}] +Resume the next iteration of the enclosing @code{for}, @code{while} or +@code{until} loop. If @code{n} is specified, resume at the @code{n}th +enclosing loop. @code{n} must be greater than or equal to 1. If @code{n} +is greater than the number of enclosing loops, the last enclosing loop (the +@dfn{top-level} loop) is resumed. The return value is 0 unless @code{n} is +not greater than or equal to 1. + +@item return [@code{n}] +Causes a function to exit with the return value specified by @code{n}. If +@code{n} is omitted, the return status is that of the last command executed +in the function body. If used outside a function the return status is +false. + +@item shift [@code{n}] +The positional parameters from @code{n}+1 @dots{} are renamed to +@code{$1}@dots{}. Parameters represented by the numbers @code{$#} down to +@code{$#}-@code{n}+1 are unset. @code{n} must be a non-negative number less +than or equal to @code{$#}. If @code{n} is 0, no parameters are changed. +If @code{n} is not given, it is assumed to be 1. If @code{n} is greater +than @code{$#}, the positional parameters are not changed. The return +status is greater than zero if @code{n} is greater than @code{$#} or less +than zero; otherwise 0. + +@end table + +@node Embedded configuration +@section Embedding a configuration file into GRUB + +GRUB supports embedding a configuration file directly into the core image, +so that it is loaded before entering normal mode. This is useful, for +example, when it is not straightforward to find the real configuration file, +or when you need to debug problems with loading that file. +@command{grub-install} uses this feature when it is not using BIOS disk +functions or when installing to a different disk from the one containing +@file{/boot/grub}, in which case it needs to use the @command{search} +command (@pxref{search}) to find @file{/boot/grub}. + +To embed a configuration file, use the @option{-c} option to +@command{grub-mkimage}. The file is copied into the core image, so it may +reside anywhere on the file system, and may be removed after running +@command{grub-mkimage}. + +After the embedded configuration file (if any) is executed, GRUB will load +the @samp{normal} module (@pxref{normal}), which will then read the real +configuration file from @file{$prefix/grub.cfg}. By this point, the +@code{root} variable will also have been set to the root device name. For +example, @code{prefix} might be set to @samp{(hd0,1)/boot/grub}, and +@code{root} might be set to @samp{hd0,1}. Thus, in most cases, the embedded +configuration file only needs to set the @code{prefix} and @code{root} +variables, and then drop through to GRUB's normal processing. A typical +example of this might look like this: + +@example +@group +search.fs_uuid 01234567-89ab-cdef-0123-456789abcdef root +set prefix=($root)/boot/grub +@end group +@end example + +(The @samp{search_fs_uuid} module must be included in the core image for this +example to work.) + +In more complex cases, it may be useful to read other configuration files +directly from the embedded configuration file. This allows such things as +reading files not called @file{grub.cfg}, or reading files from a directory +other than that where GRUB's loadable modules are installed. To do this, +include the @samp{configfile} and @samp{normal} modules in the core image, +and embed a configuration file that uses the @command{configfile} command to +load another file. The following example of this also requires the +@command{echo}, @command{search_label}, and @command{test} modules to be +included in the core image: + +@example +@group +search.fs_label grub root +if [ -e /boot/grub/example/test1.cfg ]; then + set prefix=($root)/boot/grub + configfile /boot/grub/example/test1.cfg +else + if [ -e /boot/grub/example/test2.cfg ]; then + set prefix=($root)/boot/grub + configfile /boot/grub/example/test2.cfg + else + echo "Could not find an example configuration file!" + fi +fi +@end group +@end example + +The embedded configuration file may not contain menu entries directly, but +may only read them from elsewhere using @command{configfile}. + +@node Theme file format +@chapter Theme file format +@section Introduction +The GRUB graphical menu supports themes that can customize the layout and +appearance of the GRUB boot menu. The theme is configured through a plain +text file that specifies the layout of the various GUI components (including +the boot menu, timeout progress bar, and text messages) as well as the +appearance using colors, fonts, and images. Example is available in docs/example_theme.txt + +@section Theme Elements +@subsection Colors + +Colors can be specified in several ways: + +@itemize +@item HTML-style ``#RRGGBB'' or ``#RGB'' format, where *R*, *G*, and *B* are hexadecimal digits (e.g., ``#8899FF'') +@item as comma-separated decimal RGB values (e.g., ``128, 128, 255'') +@item with ``SVG 1.0 color names'' (e.g., ``cornflowerblue'') which must be specified in lowercase. +@end itemize +@subsection Fonts +The fonts GRUB uses ``PFF2 font format'' bitmap fonts. Fonts are specified +with full font names. Currently there is no +provision for a preference list of fonts, or deriving one font from another. +Fonts are loaded with the ``loadfont'' command in GRUB. To see the list of +loaded fonts, execute the ``lsfonts'' command. If there are too many fonts to +fit on screen, do ``set pager=1'' before executing ``lsfonts''. + + +@subsection Progress Bar + +@float Figure, Pixmap-styled progress bar +@c @image{Theme_progress_bar,,,,.png} +@end float + +@float Figure, Plain progress bar, drawn with solid color. +@c @image{Theme_progress_bar_filled,,,,.png} +@end float + +Progress bars are used to display the remaining time before GRUB boots the +default menu entry. To create a progress bar that will display the remaining +time before automatic boot, simply create a ``progress_bar'' component with +the id ``__timeout__''. This indicates to GRUB that the progress bar should +be updated as time passes, and it should be made invisible if the countdown to +automatic boot is interrupted by the user. + +Progress bars may optionally have text displayed on them. This is controlled +through the ``show_text'' property, which can be set to either ``true'' or +``false'' to control whether text is displayed. When GRUB is counting down to +automatic boot, the text informs the user of the number of seconds remaining. + + +@subsection Circular Progress Indicator + +@c @image{Theme_circular_progress,,,,.png} + +The circular progress indicator functions similarly to the progress bar. When +given an id of ``__timeout__'', GRUB updates the circular progress indicator's +value to indicate the time remaining. For the circular progress indicator, +there are two images used to render it: the *center* image, and the *tick* +image. The center image is rendered in the center of the component, while the +tick image is used to render each mark along the circumference of the +indicator. + + +@subsection Labels + +Text labels can be placed on the boot screen. The font, color, and horizontal +alignment can be specified for labels. If a label is given the id +``__timeout__'', then the ``text'' property for that label is also updated +with a message informing the user of the number of seconds remaining until +automatic boot. This is useful in case you want the text displayed somewhere +else instead of directly on the progress bar. + + +@subsection Boot Menu + +@c @image{Theme_boot_menu,,,,.png} + +The boot menu where GRUB displays the menu entries from the ``grub.cfg'' file. +It is a list of items, where each item has a title and an optional icon. The +icon is selected based on the *classes* specified for the menu entry. If +there is a PNG file named ``myclass.png'' in the ``grub/themes/icons'' +directory, it will be displayed for items which have the class *myclass*. The +boot menu can be customized in several ways, such as the font and color used +for the menu entry title, and by specifying styled boxes for the menu itself +and for the selected item highlight. + + +@subsection Styled Boxes + +One of the most important features for customizing the layout is the use of + *styled boxes*. A styled box is composed of 9 rectangular (and potentially +empty) regions, which are used to seamlessly draw the styled box on screen: + +@multitable @columnfractions 0.3 0.3 0.3 +@item Northwest (nw) @tab North (n) @tab Northeast (ne) +@item West (w) @tab Center (c) @tab East (e) +@item Southwest (sw) @tab South (s) @tab Southeast (se) +@end multitable + +To support any size of box on screen, the center slice and the slices for the +top, bottom, and sides are all scaled to the correct size for the component on +screen, using the following rules: + +@enumerate +@item The edge slices (north, south, east, and west) are scaled in the direction of the edge they are adjacent to. For instance, the west slice is scaled vertically. +@item The corner slices (northwest, northeast, southeast, and southwest) are not scaled. +@item The center slice is scaled to fill the remaining space in the middle. +@end enumerate + +As an example of how an image might be sliced up, consider the styled box +used for a terminal view. + +@float Figure, An example of the slices (in red) used for a terminal window. This drawing was created and sliced in Inkscape_, as the next section explains. +@c @image{Box_slice_example_terminal,,,,.png} +@end float + +@subsection Creating Styled Box Images + +The Inkscape_ scalable vector graphics editor is a very useful tool for +creating styled box images. One process that works well for slicing a drawing +into the necessary image slices is: + +@enumerate +@item Create or open the drawing you'd like use. +@item Create a new layer on the top of the layer stack. Make it visible. Select this layer as the current layer. +@item Draw 9 rectangles on your drawing where you'd like the slices to be. Clear the fill option, and set the stroke to 1 pixel wide solid stroke. The corners of the slices must meet precisely; if it is off by a single pixel, it will probably be evident when the styled box is rendered in the GRUB menu. You should probably go to File | Document Properties | Grids and enable a grid or create a guide (click on one of the rulers next to the drawing and drag over the drawing; release the mouse button to place the guide) to help place the rectangles precisely. +@item Right click on the center slice rectangle and choose Object Properties. Change the "Id" to ``slice_c`` and click Set. Repeat this for the remaining 8 rectangles, giving them Id values of ``slice_n``, ``slice_ne``, ``slice_e``, and so on according to the location. +@item Save the drawing. +@item Select all the slice rectangles. With the slice layer selected, you can simply press Ctrl+A to select all rectangles. The status bar should indicate that 9 rectangles are selected. +@item Click the layer hide icon for the slice layer in the layer palette. The rectangles will remain selected, even though they are hidden. +@item Choose File | Export Bitmap and check the *Batch export 9 selected objects* box. Make sure that *Hide all except selected* is unchecked. click *Export*. This will create PNG files in the same directory as the drawing, named after the slices. These can now be used for a styled box in a GRUB theme. +@end enumerate + +@section Theme File Manual + +The theme file is a plain text file. Lines that begin with ``#`` are ignored +and considered comments. (Note: This may not be the case if the previous line +ended where a value was expected.) + +The theme file contains two types of statements: +@enumerate +@item Global properties. +@item Component construction. +@end enumerate + +@subsection Global Properties + +@subsection Format + +Global properties are specified with the simple format: +@itemize +@item name1: value1 +@item name2: "value which may contain spaces" +@item name3: #88F +@end itemize + +In this example, name3 is assigned a color value. + + +@subsection Global Property List + +@multitable @columnfractions 0.3 0.6 +@item title-text @tab Specifies the text to display at the top center of the screen as a title. +@item title-font @tab Defines the font used for the title message at the top of the screen. +@item title-color @tab Defines the color of the title message. +@item message-font @tab Defines the font used for messages, such as when GRUB is unable to automatically boot an entry. +@item message-color @tab Defines the color of the message text. +@item message-bg-color @tab Defines the background color of the message text area. +@item desktop-image @tab Specifies the image to use as the background. It will be scaled to fit the screen size. +@item desktop-color @tab Specifies the color for the background if *desktop-image* is not specified. +@item terminal-box @tab Specifies the file name pattern for the styled box slices used for the command line terminal window. For example, ``terminal-box: terminal_*.png'' will use the images ``terminal_c.png`` as the center area, ``terminal_n.png`` as the north (top) edge, ``terminal_nw.png`` as the northwest (upper left) corner, and so on. If the image for any slice is not found, it will simply be left empty. +@end multitable + + +@subsection Component Construction + +Greater customizability comes is provided by components. A tree of components +forms the user interface. *Containers* are components that can contain other +components, and there is always a single root component which is an instance +of a *canvas* container. + +Components are created in the theme file by prefixing the type of component +with a '+' sign: + +@code{ + label @{ text="GRUB" font="aqui 11" color="#8FF" @} } + +properties of a component are specified as "name = value" (whitespace +surrounding tokens is optional and is ignored) where *value* may be: +@itemize +@item a single word (e.g., ``align = center``, ``color = #FF8080``), +@item a quoted string (e.g., ``text = "Hello, World!"``), or +@item a tuple (e.g., ``preferred_size = (120, 80)``). +@end itemize + +@subsection Component List + +The following is a list of the components and the properties they support. + +@itemize +@item label + A label displays a line of text. + + Properties: + @multitable @columnfractions 0.2 0.7 + @item text @tab The text to display. + @item font @tab The font to use for text display. + @item color @tab The color of the text. + @item align @tab The horizontal alignment of the text within the component. Options are ``left``, ``center``, and ``right``. + @end multitable + +@item image + A component that displays an image. The image is scaled to fit the + component, although the preferred size defaults to the image's original + size unless the ``preferred_size`` property is explicitly set. + + Properties: + + @multitable @columnfractions 0.2 0.7 + @item file @tab The full path to the image file to load. + @end multitable + +@item progress_bar + Displays a horizontally oriented progress bar. It can be rendered using + simple solid filled rectangles, or using a pair of pixmap styled boxes. + + Properties: + + @multitable @columnfractions 0.2 0.7 + @item fg_color @tab The foreground color for plain solid color rendering. + @item bg_color @tab The background color for plain solid color rendering. + @item border_color @tab The border color for plain solid color rendering. + @item text_color @tab The text color. + @item show_text @tab Boolean value indicating whether or not text should be displayed on the progress bar. If set to *false*, then no text will be displayed on the bar. If set to any other value, text will be displayed on the bar. + @item bar_style @tab The styled box specification for the frame of the progress bar. Example: ``progress_frame_*.png`` + @item highlight_style @tab The styled box specification for the highlighted region of the progress bar. This box will be used to paint just the highlighted region of the bar, and will be increased in size as the bar nears completion. Example: ``progress_hl_*.png``. + @item text @tab The text to display on the progress bar. If the progress bar's ID is set to ``__timeout__``, then GRUB will updated this property with an informative message as the timeout approaches. + @item value @tab The progress bar current value. Normally not set manually. + @item start @tab The progress bar start value. Normally not set manually. + @item end @tab The progress bar end value. Normally not set manually. + @end multitable + +@item circular_progress + Displays a circular progress indicator. The appearance of this component + is determined by two images: the *center* image and the *tick* image. The + center image is generally larger and will be drawn in the center of the + component. Around the circumference of a circle within the component, the + tick image will be drawn a certain number of times, depending on the + properties of the component. + + Properties: + + @multitable @columnfractions 0.3 0.6 + @item center_bitmap + @tab The file name of the image to draw in the center of the component. + @item tick_bitmap + @tab The file name of the image to draw for the tick marks. + @item num_ticks + @tab The number of ticks that make up a full circle. + @item ticks_disappear + @tab Boolean value indicating whether tick marks should progressively appear, + or progressively disappear as *value* approaches *end*. Specify + ``true`` or ``false``. + @item value + @tab The progress indicator current value. Normally not set manually. + @item start + @tab The progress indicator start value. Normally not set manually. + @item end + @tab The progress indicator end value. Normally not set manually. + @end multitable +@item boot_menu + Displays the GRUB boot menu. It allows selecting items and executing them. + + Properties: + + @multitable @columnfractions 0.4 0.5 + @item item_font + @tab The font to use for the menu item titles. + @item selected_item_font + @tab The font to use for the selected menu item, or ``inherit`` (the default) + to use ``item_font`` for the selected menu item as well. + @item item_color + @tab The color to use for the menu item titles. + @item selected_item_color + @tab The color to use for the selected menu item, or ``inherit`` (the default) + to use ``item_color`` for the selected menu item as well. + @item icon_width + @tab The width of menu item icons. Icons are scaled to the specified size. + @item icon_height + @tab The height of menu item icons. + @item item_height + @tab The height of each menu item in pixels. + @item item_padding + @tab The amount of space in pixels to leave on each side of the menu item + contents. + @item item_icon_space + @tab The space between an item's icon and the title text, in pixels. + @item item_spacing + @tab The amount of space to leave between menu items, in pixels. + @item menu_pixmap_style + @tab The image file pattern for the menu frame styled box. + Example: ``menu_*.png`` (this will use images such as ``menu_c.png``, + ``menu_w.png``, `menu_nw.png``, etc.) + @item selected_item_pixmap_style + @tab The image file pattern for the selected item highlight styled box. + @item scrollbar + @tab Boolean value indicating whether the scroll bar should be drawn if the + frame and thumb styled boxes are configured. + @item scrollbar_frame + @tab The image file pattern for the entire scroll bar. + Example: ``scrollbar_*.png`` + @item scrollbar_thumb + @tab The image file pattern for the scroll bar thumb (the part of the scroll + bar that moves as scrolling occurs). + Example: ``scrollbar_thumb_*.png`` + @item max_items_shown + @tab The maximum number of items to show on the menu. If there are more than + *max_items_shown* items in the menu, the list will scroll to make all + items accessible. + @end multitable + +@item canvas + Canvas is a container that allows manual placement of components within it. + It does not alter the positions of its child components. It assigns all + child components their preferred sizes. + +@item hbox + The *hbox* container lays out its children from left to right, giving each + one its preferred width. The height of each child is set to the maximum of + the preferred heights of all children. + +@item vbox + The *vbox* container lays out its children from top to bottom, giving each + one its preferred height. The width of each child is set to the maximum of + the preferred widths of all children. +@end itemize + + +@subsection Common properties + +The following properties are supported by all components: +@table @samp +@item left + The distance from the left border of container to left border of the object in either of three formats: + @multitable @columnfractions 0.2 0.7 + @item x @tab Value in pixels + @item p% @tab Percentage + @item p%+x @tab mixture of both + @end multitable +@item top + The distance from the left border of container to left border of the object in same format. +@item width + The width of object in same format. +@item height + The height of object in same format. +@item id + The identifier for the component. This can be any arbitrary string. + The ID can be used by scripts to refer to various components in the GUI + component tree. Currently, there is one special ID value that GRUB + recognizes: + + @multitable @columnfractions 0.2 0.7 + @item ``__timeout__`` @tab Any component with this ID will have its *text*, *start*, *end*, *value*, and *visible* properties set by GRUB when it is counting down to an automatic boot of the default menu entry. + @end multitable +@end table + + + +@node Network +@chapter Booting GRUB from the network + +The following instructions only work on PC BIOS systems where the Preboot +eXecution Environment (PXE) is available. + +To generate a PXE boot image, run: + +@example +@group +grub-mkimage --format=i386-pc-pxe --output=grub.pxe --prefix='(pxe)/boot/grub' pxe pxecmd +@end group +@end example + +Copy @file{grub.pxe}, @file{/boot/grub/*.mod}, and @file{/boot/grub/*.lst} +to the PXE (TFTP) server, ensuring that @file{*.mod} and @file{*.lst} are +accessible via the @file{/boot/grub/} path from the TFTP server root. Set +the DHCP server configuration to offer @file{grub.pxe} as the boot file (the +@samp{filename} option in ISC dhcpd). + +You can also use the @command{grub-mknetdir} utility to generate an image +and a GRUB directory tree, rather than copying files around manually. + +After GRUB has started, files on the TFTP server will be accessible via the +@samp{(pxe)} device. + +The server and gateway IP address can be controlled by changing the +@samp{(pxe)} device name to @samp{(pxe:@var{server-ip})} or +@samp{(pxe:@var{server-ip}:@var{gateway-ip})}. Note that this should be +changed both in the prefix and in any references to the device name in the +configuration file. + +GRUB provides several environment variables which may be used to inspect or +change the behaviour of the PXE device: + +@table @samp +@item net_pxe_ip +The IP address of this machine. Read-only. + +@item net_pxe_mac +The network interface's MAC address. Read-only. + +@item net_pxe_hostname +The client host name provided by DHCP. Read-only. + +@item net_pxe_domain +The client domain name provided by DHCP. Read-only. + +@item net_pxe_rootpath +The path to the client's root disk provided by DHCP. Read-only. + +@item net_pxe_extensionspath +The path to additional DHCP vendor extensions provided by DHCP. Read-only. + +@item net_pxe_boot_file +The boot file name provided by DHCP. Read-only. + +@item net_pxe_dhcp_server_name +The name of the DHCP server responsible for these boot parameters. +Read-only. + +@item pxe_blksize +The PXE transfer block size. Read-write, defaults to 512. + +@item pxe_default_server +The default PXE server. Read-write, although setting this is only useful +before opening a PXE device. + +@item pxe_default_gateway +The default gateway to use when contacting the PXE server. Read-write, +although setting this is only useful before opening a PXE device. +@end table + + +@node Serial terminal +@chapter Using GRUB via a serial line + +This chapter describes how to use the serial terminal support in GRUB. + +If you have many computers or computers with no display/keyboard, it +could be very useful to control the computers through serial +communications. To connect one computer with another via a serial line, +you need to prepare a null-modem (cross) serial cable, and you may need +to have multiport serial boards, if your computer doesn't have extra +serial ports. In addition, a terminal emulator is also required, such as +minicom. Refer to a manual of your operating system, for more +information. + +As for GRUB, the instruction to set up a serial terminal is quite +simple. Here is an example: + +@example +@group +grub> @kbd{serial --unit=0 --speed=9600} +grub> @kbd{terminal_input serial; terminal_output serial} +@end group +@end example + +The command @command{serial} initializes the serial unit 0 with the +speed 9600bps. The serial unit 0 is usually called @samp{COM1}, so, if +you want to use COM2, you must specify @samp{--unit=1} instead. This +command accepts many other options, so please refer to @ref{serial}, +for more details. + +The commands @command{terminal_input} (@pxref{terminal_input}) and +@command{terminal_output} (@pxref{terminal_output}) choose which type of +terminal you want to use. In the case above, the terminal will be a +serial terminal, but you can also pass @code{console} to the command, +as @samp{terminal_input serial console}. In this case, a terminal in which +you press any key will be selected as a GRUB terminal. In the example above, +note that you need to put both commands on the same command line, as you +will lose the ability to type commands on the console after the first +command. + +However, note that GRUB assumes that your terminal emulator is +compatible with VT100 by default. This is true for most terminal +emulators nowadays, but you should pass the option @option{--dumb} to +the command if your terminal emulator is not VT100-compatible or +implements few VT100 escape sequences. If you specify this option then +GRUB provides you with an alternative menu interface, because the normal +menu requires several fancy features of your terminal. + + +@node Vendor power-on keys +@chapter Using GRUB with vendor power-on keys + +Some laptop vendors provide an additional power-on button which boots another +OS. GRUB supports such buttons with the @samp{GRUB_TIMEOUT_BUTTON}, +@samp{GRUB_DEFAULT_BUTTON}, @samp{GRUB_HIDDEN_TIMEOUT_BUTTON} and +@samp{GRUB_BUTTON_CMOS_ADDRESS} variables in default/grub (@pxref{Simple +configuration}). @samp{GRUB_TIMEOUT_BUTTON}, @samp{GRUB_DEFAULT_BUTTON} and +@samp{GRUB_HIDDEN_TIMEOUT_BUTTON} are used instead of the corresponding +variables without the @samp{_BUTTON} suffix when powered on using the special +button. @samp{GRUB_BUTTON_CMOS_ADDRESS} is vendor-specific and partially +model-specific. Values known to the GRUB team are: + +@table @key +@item Dell XPS M1530 +85:3 +@item Asus EeePC 1005PE +84:1 (unconfirmed) +@end table + +To take full advantage of this function, install GRUB into the MBR +(@pxref{Installing GRUB using grub-install}). + +If you have a laptop which has a similar feature and not in the above list +could you figure your address and contribute? +To discover the address do the following: +@itemize +@item boot normally +@item +@example +sudo modprobe nvram +sudo cat /dev/nvram | xxd > normal_button.txt +@end example +@item boot using vendor button +@item +@example +sudo modprobe nvram +sudo cat /dev/nvram | xxd > normal_vendor.txt +@end example +@end itemize + +Then compare these text files and find where a bit was toggled. E.g. in +case of Dell XPS it was: +@example +byte 0x47: 20 --> 28 +@end example +It's a bit number 3 as seen from following table: +@multitable @columnfractions .2 .2 +@item 0 @tab 01 +@item 1 @tab 02 +@item 2 @tab 04 +@item 3 @tab 08 +@item 4 @tab 10 +@item 5 @tab 20 +@item 6 @tab 40 +@item 7 @tab 80 +@end multitable + +0x47 is decimal 71. Linux nvram implementation cuts first 14 bytes of +CMOS. So the real byte address in CMOS is 71+14=85 +So complete address is 85:3 + +@node Images +@chapter GRUB image files + +@c FIXME: parts of this section are specific to PC BIOS right now. + +GRUB consists of several images: a variety of bootstrap images for starting +GRUB in various ways, a kernel image, and a set of modules which are +combined with the kernel image to form a core image. Here is a short +overview of them. + +@table @file +@item boot.img +On PC BIOS systems, this image is the first part of GRUB to start. It is +written to a master boot record (MBR) or to the boot sector of a partition. +Because a PC boot sector is 512 bytes, the size of this image is exactly 512 +bytes. + +The sole function of @file{boot.img} is to read the first sector of the core +image from a local disk and jump to it. Because of the size restriction, +@file{boot.img} cannot understand any file system structure, so +@command{grub-setup} hardcodes the location of the first sector of the core +image into @file{boot.img} when installing GRUB. + +@item diskboot.img +This image is used as the first sector of the core image when booting from a +hard disk. It reads the rest of the core image into memory and starts the +kernel. Since file system handling is not yet available, it encodes the +location of the core image using a block list format. + +@item cdboot.img +This image is used as the first sector of the core image when booting from a +CD-ROM drive. It performs a similar function to @file{diskboot.img}. + +@item pxeboot.img +This image is used as the start of the core image when booting from the +network using PXE. @xref{Network}. + +@item lnxboot.img +This image may be placed at the start of the core image in order to make +GRUB look enough like a Linux kernel that it can be booted by LILO using an +@samp{image=} section. + +@item kernel.img +This image contains GRUB's basic run-time facilities: frameworks for device +and file handling, environment variables, the rescue mode command-line +parser, and so on. It is rarely used directly, but is built into all core +images. + +@item core.img +This is the core image of GRUB. It is built dynamically from the kernel +image and an arbitrary list of modules by the @command{grub-mkimage} +program. Usually, it contains enough modules to access @file{/boot/grub}, +and loads everything else (including menu handling, the ability to load +target operating systems, and so on) from the file system at run-time. The +modular design allows the core image to be kept small, since the areas of +disk where it must be installed are often as small as 32KB. + +@xref{BIOS installation}, for details on where the core image can be +installed on PC systems. + +@item *.mod +Everything else in GRUB resides in dynamically loadable modules. These are +often loaded automatically, or built into the core image if they are +essential, but may also be loaded manually using the @command{insmod} +command (@pxref{insmod}). +@end table + +@heading For GRUB Legacy users + +GRUB 2 has a different design from GRUB Legacy, and so correspondences with +the images it used cannot be exact. Nevertheless, GRUB Legacy users often +ask questions in the terms they are familiar with, and so here is a brief +guide to how GRUB 2's images relate to that. + +@table @file +@item stage1 +Stage 1 from GRUB Legacy was very similar to @file{boot.img} in GRUB 2, and +they serve the same function. + +@item *_stage1_5 +In GRUB Legacy, Stage 1.5's function was to include enough filesystem code +to allow the much larger Stage 2 to be read from an ordinary filesystem. In +this respect, its function was similar to @file{core.img} in GRUB 2. +However, @file{core.img} is much more capable than Stage 1.5 was; since it +offers a rescue shell, it is sometimes possible to recover manually in the +event that it is unable to load any other modules, for example if partition +numbers have changed. @file{core.img} is built in a more flexible way, +allowing GRUB 2 to support reading modules from advanced disk types such as +LVM and RAID. + +GRUB Legacy could run with only Stage 1 and Stage 2 in some limited +configurations, while GRUB 2 requires @file{core.img} and cannot work +without it. + +@item stage2 +GRUB 2 has no single Stage 2 image. Instead, it loads modules from +@file{/boot/grub} at run-time. + +@item stage2_eltorito +In GRUB 2, images for booting from CD-ROM drives are now constructed using +@file{cdboot.img} and @file{core.img}, making sure that the core image +contains the @samp{iso9660} module. It is usually best to use the +@command{grub-mkrescue} program for this. + +@item nbgrub +There is as yet no equivalent for @file{nbgrub} in GRUB 2; it was used by +Etherboot and some other network boot loaders. + +@item pxegrub +In GRUB 2, images for PXE network booting are now constructed using +@file{pxeboot.img} and @file{core.img}, making sure that the core image +contains the @samp{pxe} and @samp{pxecmd} modules. @xref{Network}. +@end table + + +@node Filesystem +@chapter Filesystem syntax and semantics + +GRUB uses a special syntax for specifying disk drives which can be +accessed by BIOS. Because of BIOS limitations, GRUB cannot distinguish +between IDE, ESDI, SCSI, or others. You must know yourself which BIOS +device is equivalent to which OS device. Normally, that will be clear if +you see the files in a device or use the command @command{search} +(@pxref{search}). + +@menu +* Device syntax:: How to specify devices +* File name syntax:: How to specify files +* Block list syntax:: How to specify block lists +@end menu + + +@node Device syntax +@section How to specify devices + +The device syntax is like this: + +@example +@code{(@var{device}[,@var{part-num}][,@var{bsd-subpart-letter}])} +@end example + +@samp{[]} means the parameter is optional. @var{device} should be +either @samp{fd} or @samp{hd} followed by a digit, like @samp{fd0}. +But you can also set @var{device} to a hexadecimal or a decimal number +which is a BIOS drive number, so the following are equivalent: + +@example +(hd0) +(0x80) +(128) +@end example + +@var{part-num} represents the partition number of @var{device}, starting +from one for primary partitions and from five for extended partitions, +and @var{bsd-subpart-letter} represents the BSD disklabel subpartition, +such as @samp{a} or @samp{e}. + +A shortcut for specifying BSD subpartitions is +@code{(@var{device},@var{bsd-subpart-letter})}, in this case, GRUB +searches for the first PC partition containing a BSD disklabel, then +finds the subpartition @var{bsd-subpart-letter}. Here is an example: + +@example +(hd0,a) +@end example + +The syntax @samp{(hd0)} represents using the entire disk (or the +MBR when installing GRUB), while the syntax @samp{(hd0,1)} +represents using the first partition of the disk (or the boot sector +of the partition when installing GRUB). + +If you enabled the network support, the special drive @samp{(pxe)} is +also available. Before using the network drive, you must initialize the +network. @xref{Network}, for more information. + +If you boot GRUB from a CD-ROM, @samp{(cd)} is available. @xref{Making +a GRUB bootable CD-ROM}, for details. + + +@node File name syntax +@section How to specify files + +There are two ways to specify files, by @dfn{absolute file name} and by +@dfn{block list}. + +An absolute file name resembles a Unix absolute file name, using +@samp{/} for the directory separator (not @samp{\} as in DOS). One +example is @samp{(hd0,1)/boot/grub/grub.cfg}. This means the file +@file{/boot/grub/grub.cfg} in the first partition of the first hard +disk. If you omit the device name in an absolute file name, GRUB uses +GRUB's @dfn{root device} implicitly. So if you set the root device to, +say, @samp{(hd1,1)} by the command @samp{set root=(hd1,1)} (@pxref{set}), +then @code{/boot/kernel} is the same as @code{(hd1,1)/boot/kernel}. + + +@node Block list syntax +@section How to specify block lists + +A block list is used for specifying a file that doesn't appear in the +filesystem, like a chainloader. The syntax is +@code{[@var{offset}]+@var{length}[,[@var{offset}]+@var{length}]@dots{}}. +Here is an example: + +@example +@code{0+100,200+1,300+300} +@end example + +This represents that GRUB should read blocks 0 through 99, block 200, +and blocks 300 through 599. If you omit an offset, then GRUB assumes +the offset is zero. + +Like the file name syntax (@pxref{File name syntax}), if a blocklist +does not contain a device name, then GRUB uses GRUB's @dfn{root +device}. So @code{(hd0,2)+1} is the same as @code{+1} when the root +device is @samp{(hd0,2)}. + + +@node Interface +@chapter GRUB's user interface + +GRUB has both a simple menu interface for choosing preset entries from a +configuration file, and a highly flexible command-line for performing +any desired combination of boot commands. + +GRUB looks for its configuration file as soon as it is loaded. If one +is found, then the full menu interface is activated using whatever +entries were found in the file. If you choose the @dfn{command-line} menu +option, or if the configuration file was not found, then GRUB drops to +the command-line interface. + +@menu +* Command-line interface:: The flexible command-line interface +* Menu interface:: The simple menu interface +* Menu entry editor:: Editing a menu entry +@end menu + + +@node Command-line interface +@section The flexible command-line interface + +The command-line interface provides a prompt and after it an editable +text area much like a command-line in Unix or DOS. Each command is +immediately executed after it is entered@footnote{However, this +behavior will be changed in the future version, in a user-invisible +way.}. The commands (@pxref{Command-line and menu entry commands}) are a +subset of those available in the configuration file, used with exactly +the same syntax. + +Cursor movement and editing of the text on the line can be done via a +subset of the functions available in the Bash shell: + +@table @key +@item C-f +@itemx PC right key +Move forward one character. + +@item C-b +@itemx PC left key +Move back one character. + +@item C-a +@itemx HOME +Move to the start of the line. + +@item C-e +@itemx END +Move the the end of the line. + +@item C-d +@itemx DEL +Delete the character underneath the cursor. + +@item C-h +@itemx BS +Delete the character to the left of the cursor. + +@item C-k +Kill the text from the current cursor position to the end of the line. + +@item C-u +Kill backward from the cursor to the beginning of the line. + +@item C-y +Yank the killed text back into the buffer at the cursor. + +@item C-p +@itemx PC up key +Move up through the history list. + +@item C-n +@itemx PC down key +Move down through the history list. +@end table + +When typing commands interactively, if the cursor is within or before +the first word in the command-line, pressing the @key{TAB} key (or +@key{C-i}) will display a listing of the available commands, and if the +cursor is after the first word, the @kbd{@key{TAB}} will provide a +completion listing of disks, partitions, and file names depending on the +context. Note that to obtain a list of drives, one must open a +parenthesis, as @command{root (}. + +Note that you cannot use the completion functionality in the TFTP +filesystem. This is because TFTP doesn't support file name listing for +the security. + + +@node Menu interface +@section The simple menu interface + +The menu interface is quite easy to use. Its commands are both +reasonably intuitive and described on screen. + +Basically, the menu interface provides a list of @dfn{boot entries} to +the user to choose from. Use the arrow keys to select the entry of +choice, then press @key{RET} to run it. An optional timeout is +available to boot the default entry (the first one if not set), which is +aborted by pressing any key. + +Commands are available to enter a bare command-line by pressing @key{c} +(which operates exactly like the non-config-file version of GRUB, but +allows one to return to the menu if desired by pressing @key{ESC}) or to +edit any of the @dfn{boot entries} by pressing @key{e}. + +If you protect the menu interface with a password (@pxref{Security}), +all you can do is choose an entry by pressing @key{RET}, or press +@key{p} to enter the password. + + +@node Menu entry editor +@section Editing a menu entry + +The menu entry editor looks much like the main menu interface, but the +lines in the menu are individual commands in the selected entry instead +of entry names. + +If an @key{ESC} is pressed in the editor, it aborts all the changes made +to the configuration entry and returns to the main menu interface. + +Each line in the menu entry can be edited freely, and you can add new lines +by pressing @key{RET} at the end of a line. To boot the edited entry, press +@key{Ctrl-x}. + +Although GRUB unfortunately does not support @dfn{undo}, you can do almost +the same thing by just returning to the main menu using @key{ESC}. + + +@node Environment +@chapter GRUB environment variables + +GRUB supports environment variables which are rather like those offered by +all Unix-like systems. Environment variables have a name, which is unique +and is usually a short identifier, and a value, which is an arbitrary string +of characters. They may be set (@pxref{set}), unset (@pxref{unset}), or +looked up (@pxref{Shell-like scripting}) by name. + +A number of environment variables have special meanings to various parts of +GRUB. Others may be used freely in GRUB configuration files. + + +@menu +* Special environment variables:: +* Environment block:: +@end menu + + +@node Special environment variables +@section Special environment variables + +These variables have special meaning to GRUB. + +@menu +* biosnum:: +* chosen:: +* color_highlight:: +* color_normal:: +* debug:: +* default:: +* fallback:: +* gfxmode:: +* gfxpayload:: +* gfxterm_font:: +* icondir:: +* lang:: +* locale_dir:: +* menu_color_highlight:: +* menu_color_normal:: +* net_pxe_boot_file:: +* net_pxe_dhcp_server_name:: +* net_pxe_domain:: +* net_pxe_extensionspath:: +* net_pxe_hostname:: +* net_pxe_ip:: +* net_pxe_mac:: +* net_pxe_rootpath:: +* pager:: +* prefix:: +* pxe_blksize:: +* pxe_default_gateway:: +* pxe_default_server:: +* root:: +* superusers:: +* theme:: +* timeout:: +@end menu + + +@node biosnum +@subsection biosnum + +When chain-loading another boot loader (@pxref{Chain-loading}), GRUB may +need to know what BIOS drive number corresponds to the root device +(@pxref{root}) so that it can set up registers properly. If the +@var{biosnum} variable is set, it overrides GRUB's own means of guessing +this. + +For an alternative approach which also changes BIOS drive mappings for the +chain-loaded system, @pxref{drivemap}. + + +@node chosen +@subsection chosen + +When executing a menu entry, GRUB sets the @var{chosen} variable to the +title of the entry being executed. + +If the menu entry is in one or more submenus, then @var{chosen} is set to +the titles of each of the submenus starting from the top level followed by +the title of the menu entry itself, separated by @samp{>}. + + +@node color_highlight +@subsection color_highlight + +This variable contains the ``highlight'' foreground and background terminal +colors, separated by a slash (@samp{/}). Setting this variable changes +those colors. For the available color names, @pxref{color_normal}. + +The default is @samp{black/white}. + + +@node color_normal +@subsection color_normal + +This variable contains the ``normal'' foreground and background terminal +colors, separated by a slash (@samp{/}). Setting this variable changes +those colors. Each color must be a name from the following list: + +@itemize @bullet +@item black +@item blue +@item green +@item cyan +@item red +@item magenta +@item brown +@item light-gray +@item dark-gray +@item light-blue +@item light-green +@item light-cyan +@item light-red +@item light-magenta +@item yellow +@item white +@end itemize + +The default is @samp{white/black}. + + +@node debug +@subsection debug + +This variable may be set to enable debugging output from various components +of GRUB. The value is a list of debug facility names separated by +whitespace or @samp{,}, or @samp{all} to enable all available debugging +output. + + +@node default +@subsection default + +If this variable is set, it identifies a menu entry that should be selected +by default, possibly after a timeout (@pxref{timeout}). The entry may be +identified by number or by title. + +If the entry is in a submenu, then it must be identified using the titles of +each of the submenus starting from the top level followed by the number or +title of the menu entry itself, separated by @samp{>}. For example, take +the following menu structure: + +@example +Submenu 1 + Menu Entry 1 + Menu Entry 2 +Submenu 2 + Submenu 3 + Menu Entry 3 + Menu Entry 4 + Menu Entry 5 +@end example + +``Menu Entry 3'' would then be identified as +@samp{Submenu 2>Submenu 3>Menu Entry 3}. + +This variable is often set by @samp{GRUB_DEFAULT} (@pxref{Simple +configuration}), @command{grub-set-default}, or @command{grub-reboot}. + + +@node fallback +@subsection fallback + +If this variable is set, it identifies a menu entry that should be selected +if the default menu entry fails to boot. Entries are identified in the same +way as for @samp{default} (@pxref{default}). + + +@node gfxmode +@subsection gfxmode + +If this variable is set, it sets the resolution used on the @samp{gfxterm} +graphical terminal. Note that you can only use modes which your graphics +card supports via VESA BIOS Extensions (VBE), so for example native LCD +panel resolutions may not be available. The default is @samp{auto}, which +selects a platform-specific default that should look reasonable. + +The resolution may be specified as a sequence of one or more modes, +separated by commas (@samp{,}) or semicolons (@samp{;}); each will be tried +in turn until one is found. Each mode should be either @samp{auto}, +@samp{@var{width}x@var{height}}, or +@samp{@var{width}x@var{height}x@var{depth}}. + + +@node gfxpayload +@subsection gfxpayload + +If this variable is set, it controls the video mode in which the Linux +kernel starts up, replacing the @samp{vga=} boot option (@pxref{linux}). It +may be set to @samp{text} to force the Linux kernel to boot in normal text +mode, @samp{keep} to preserve the graphics mode set using @samp{gfxmode}, or +any of the permitted values for @samp{gfxmode} to set a particular graphics +mode (@pxref{gfxmode}). + +Depending on your kernel, your distribution, your graphics card, and the +phase of the moon, note that using this option may cause GNU/Linux to suffer +from various display problems, particularly during the early part of the +boot sequence. If you have problems, set this variable to @samp{text} and +GRUB will tell Linux to boot in normal text mode. + +The default is platform-specific. On platforms with a native text mode +(such as PC BIOS platforms), the default is @samp{text}. Otherwise the +default may be @samp{auto} or a specific video mode. + +This variable is often set by @samp{GRUB_GFXPAYLOAD_LINUX} (@pxref{Simple +configuration}). + + +@node gfxterm_font +@subsection gfxterm_font + +If this variable is set, it names a font to use for text on the +@samp{gfxterm} graphical terminal. Otherwise, @samp{gfxterm} may use any +available font. + + +@node icondir +@subsection icondir + +If this variable is set, it names a directory in which the GRUB graphical +menu should look for icons after looking in the theme's @samp{icons} +directory. @xref{Theme file format}. + + +@node lang +@subsection lang + +If this variable is set, it names the language code that the +@command{gettext} command (@pxref{gettext}) uses to translate strings. For +example, French would be named as @samp{fr}, and Simplified Chinese as +@samp{zh_CN}. + +@command{grub-mkconfig} (@pxref{Simple configuration}) will try to set a +reasonable default for this variable based on the system locale. + + +@node locale_dir +@subsection locale_dir + +If this variable is set, it names the directory where translation files may +be found (@pxref{gettext}), usually @file{/boot/grub/locale}. Otherwise, +internationalization is disabled. + +@command{grub-mkconfig} (@pxref{Simple configuration}) will set a reasonable +default for this variable if internationalization is needed and any +translation files are available. + + +@node menu_color_highlight +@subsection menu_color_highlight + +This variable contains the foreground and background colors to be used for +the highlighted menu entry, separated by a slash (@samp{/}). Setting this +variable changes those colors. For the available color names, +@pxref{color_normal}. + +The default is the value of @samp{color_highlight} +(@pxref{color_highlight}). + + +@node menu_color_normal +@subsection menu_color_normal + +This variable contains the foreground and background colors to be used for +non-highlighted menu entries, separated by a slash (@samp{/}). Setting this +variable changes those colors. For the available color names, +@pxref{color_normal}. + +The default is the value of @samp{color_normal} (@pxref{color_normal}). + + +@node net_pxe_boot_file +@subsection net_pxe_boot_file + +@xref{Network}. + + +@node net_pxe_dhcp_server_name +@subsection net_pxe_dhcp_server_name + +@xref{Network}. + + +@node net_pxe_domain +@subsection net_pxe_domain + +@xref{Network}. + + +@node net_pxe_extensionspath +@subsection net_pxe_extensionspath + +@xref{Network}. + + +@node net_pxe_hostname +@subsection net_pxe_hostname + +@xref{Network}. + + +@node net_pxe_ip +@subsection net_pxe_ip + +@xref{Network}. + + +@node net_pxe_mac +@subsection net_pxe_mac + +@xref{Network}. + + +@node net_pxe_rootpath +@subsection net_pxe_rootpath + +@xref{Network}. + + +@node pager +@subsection pager + +If set to @samp{1}, pause output after each screenful and wait for keyboard +input. The default is not to pause output. + + +@node prefix +@subsection prefix + +The location of the @samp{/boot/grub} directory as an absolute file name +(@pxref{File name syntax}). This is normally set by GRUB at startup based +on information provided by @command{grub-install}. GRUB modules are +dynamically loaded from this directory, so it must be set correctly in order +for many parts of GRUB to work. + + +@node pxe_blksize +@subsection pxe_blksize + +@xref{Network}. + + +@node pxe_default_gateway +@subsection pxe_default_gateway + +@xref{Network}. + + +@node pxe_default_server +@subsection pxe_default_server + +@xref{Network}. + + +@node root +@subsection root + +The root device name (@pxref{Device syntax}). Any file names that do not +specify an explicit device name are read from this device. The default is +normally set by GRUB at startup based on the value of @samp{prefix} +(@pxref{prefix}). + +For example, if GRUB was installed to the first partition of the first hard +disk, then @samp{prefix} might be set to @samp{(hd0,msdos1)/boot/grub} and +@samp{root} to @samp{hd0,msdos1}. + + +@node superusers +@subsection superusers + +This variable may be set to a list of superuser names to enable +authentication support. @xref{Security}. + + +@node theme +@subsection theme + +This variable may be set to a directory containing a GRUB graphical menu +theme. @xref{Theme file format}. + +This variable is often set by @samp{GRUB_THEME} (@pxref{Simple +configuration}). + + +@node timeout +@subsection timeout + +If this variable is set, it specifies the time in seconds to wait for +keyboard input before booting the default menu entry. A timeout of @samp{0} +means to boot the default entry immediately without displaying the menu; a +timeout of @samp{-1} (or unset) means to wait indefinitely. + +This variable is often set by @samp{GRUB_TIMEOUT} or +@samp{GRUB_HIDDEN_TIMEOUT} (@pxref{Simple configuration}). + + +@node Environment block +@section The GRUB environment block + +It is often useful to be able to remember a small amount of information from +one boot to the next. For example, you might want to set the default menu +entry based on what was selected the last time. GRUB deliberately does not +implement support for writing files in order to minimise the possibility of +the boot loader being responsible for file system corruption, so a GRUB +configuration file cannot just create a file in the ordinary way. However, +GRUB provides an ``environment block'' which can be used to save a small +amount of state. + +The environment block is a preallocated 1024-byte file, which normally lives +in @file{/boot/grub/grubenv} (although you should not assume this). At boot +time, the @command{load_env} command (@pxref{load_env}) loads environment +variables from it, and the @command{save_env} (@pxref{save_env}) command +saves environment variables to it. From a running system, the +@command{grub-editenv} utility can be used to edit the environment block. + +For safety reasons, this storage is only available when installed on a plain +disk (no LVM or RAID), using a non-checksumming filesystem (no ZFS), and +using BIOS or EFI functions (no ATA, USB or IEEE1275). + +@command{grub-mkconfig} uses this facility to implement +@samp{GRUB_SAVEDEFAULT} (@pxref{Simple configuration}). + + +@node Commands +@chapter The list of available commands + +In this chapter, we list all commands that are available in GRUB. + +Commands belong to different groups. A few can only be used in +the global section of the configuration file (or ``menu''); most +of them can be entered on the command-line and can be used either +anywhere in the menu or specifically in the menu entries. + +In rescue mode, only the @command{insmod} (@pxref{insmod}), @command{ls} +(@pxref{ls}), @command{set} (@pxref{set}), and @command{unset} +(@pxref{unset}) commands are normally available. If you end up in rescue +mode and do not know what to do, then @pxref{GRUB only offers a rescue +shell}. + +@menu +* Menu-specific commands:: +* General commands:: +* Command-line and menu entry commands:: +@end menu + + +@node Menu-specific commands +@section The list of commands for the menu only + +The semantics used in parsing the configuration file are the following: + +@itemize @bullet +@item +The files @emph{must} be in plain-text format. + +@item +@samp{#} at the beginning of a line in a configuration file means it is +only a comment. + +@item +Options are separated by spaces. + +@item +All numbers can be either decimal or hexadecimal. A hexadecimal number +must be preceded by @samp{0x}, and is case-insensitive. +@end itemize + +These commands can only be used in the menu: + +@menu +* menuentry:: Start a menu entry +* submenu:: Group menu entries +@end menu + + +@node menuentry +@subsection menuentry + +@deffn Command menuentry @var{title} @ + [@option{--class=class} @dots{}] [@option{--users=users}] @ + [@option{--hotkey=key}] @ + @{ @var{command}; @dots{} @} +This defines a GRUB menu entry named @var{title}. When this entry is +selected from the menu, GRUB will set the @var{chosen} environment variable +to @var{title}, execute the list of commands given within braces, and if the +last command in the list returned successfully and a kernel was loaded it +will execute the @command{boot} command. + +The @option{--class} option may be used any number of times to group menu +entries into classes. Menu themes may display different classes using +different styles. + +The @option{--users} option grants specific users access to specific menu +entries. @xref{Security}. + +The @option{--hotkey} option associates a hotkey with a menu entry. +@var{key} may be a single letter, or one of the aliases @samp{backspace}, +@samp{tab}, or @samp{delete}. +@end deffn + + +@node submenu +@subsection submenu + +@deffn Command submenu @var{title} @ + [@option{--class=class} @dots{}] [@option{--users=users}] @ + [@option{--hotkey=key}] @ + @{ @var{menu entries} @dots{} @} +This defines a submenu. An entry called @var{title} will be added to the +menu; when that entry is selected, a new menu will be displayed showing all +the entries within this submenu. + +All options are the same as in the @command{menuentry} command +(@pxref{menuentry}). +@end deffn + + +@node General commands +@section The list of general commands + +Commands usable anywhere in the menu and in the command-line. + +@menu +* serial:: Set up a serial device +* terminal_input:: Manage input terminals +* terminal_output:: Manage output terminals +* terminfo:: Define terminal type +@end menu + + +@node serial +@subsection serial + +@deffn Command serial [@option{--unit=unit}] [@option{--port=port}] [@option{--speed=speed}] [@option{--word=word}] [@option{--parity=parity}] [@option{--stop=stop}] +Initialize a serial device. @var{unit} is a number in the range 0-3 +specifying which serial port to use; default is 0, which corresponds to +the port often called COM1. @var{port} is the I/O port where the UART +is to be found; if specified it takes precedence over @var{unit}. +@var{speed} is the transmission speed; default is 9600. @var{word} and +@var{stop} are the number of data bits and stop bits. Data bits must +be in the range 5-8 and stop bits must be 1 or 2. Default is 8 data +bits and one stop bit. @var{parity} is one of @samp{no}, @samp{odd}, +@samp{even} and defaults to @samp{no}. + +The serial port is not used as a communication channel unless the +@command{terminal_input} or @command{terminal_output} command is used +(@pxref{terminal_input}, @pxref{terminal_output}). + +See also @ref{Serial terminal}. +@end deffn + + +@node terminal_input +@subsection terminal_input + +@deffn Command terminal_input [@option{--append}|@option{--remove}] @ + [terminal1] [terminal2] @dots{} +List or select an input terminal. + +With no arguments, list the active and available input terminals. + +With @option{--append}, add the named terminals to the list of active input +terminals; any of these may be used to provide input to GRUB. + +With @option{--remove}, remove the named terminals from the active list. + +With no options but a list of terminal names, make only the listed terminal +names active. +@end deffn + + +@node terminal_output +@subsection terminal_output + +@deffn Command terminal_output [@option{--append}|@option{--remove}] @ + [terminal1] [terminal2] @dots{} +List or select an output terminal. + +With no arguments, list the active and available output terminals. + +With @option{--append}, add the named terminals to the list of active output +terminals; all of these will receive output from GRUB. + +With @option{--remove}, remove the named terminals from the active list. + +With no options but a list of terminal names, make only the listed terminal +names active. +@end deffn + + +@node terminfo +@subsection terminfo + +@deffn Command terminfo [-a|-u|-v] [term] +Define the capabilities of your terminal by giving the name of an entry in +the terminfo database, which should correspond roughly to a @samp{TERM} +environment variable in Unix. + +The currently available terminal types are @samp{vt100}, @samp{vt100-color}, +@samp{ieee1275}, and @samp{dumb}. If you need other terminal types, please +contact us to discuss the best way to include support for these in GRUB. + +The @option{-a} (@option{--ascii}), @option{-u} (@option{--utf8}), and +@option{-v} (@option{--visual-utf8}) options control how non-ASCII text is +displayed. @option{-a} specifies an ASCII-only terminal; @option{-u} +specifies logically-ordered UTF-8; and @option{-v} specifies +"visually-ordered UTF-8" (in other words, arranged such that a terminal +emulator without bidirectional text support will display right-to-left text +in the proper order; this is not really proper UTF-8, but a workaround). + +If no option or terminal type is specified, the current terminal type is +printed. +@end deffn + + +@node Command-line and menu entry commands +@section The list of command-line and menu entry commands + +These commands are usable in the command-line and in menu entries. If +you forget a command, you can run the command @command{help} +(@pxref{help}). + +@menu +* acpi:: Load ACPI tables +* badram:: Filter out bad regions of RAM +* blocklist:: Print a block list +* boot:: Start up your operating system +* cat:: Show the contents of a file +* chainloader:: Chain-load another boot loader +* cmp:: Compare two files +* configfile:: Load a configuration file +* cpuid:: Check for CPU features +* crc:: Calculate CRC32 checksums +* date:: Display or set current date and time +* drivemap:: Map a drive to another +* echo:: Display a line of text +* export:: Export an environment variable +* false:: Do nothing, unsuccessfully +* gettext:: Translate a string +* gptsync:: Fill an MBR based on GPT entries +* halt:: Shut down your computer +* help:: Show help messages +* initrd:: Load a Linux initrd +* initrd16:: Load a Linux initrd (16-bit mode) +* insmod:: Insert a module +* keystatus:: Check key modifier status +* linux:: Load a Linux kernel +* linux16:: Load a Linux kernel (16-bit mode) +* list_env:: List variables in environment block +* load_env:: Load variables from environment block +* loopback:: Make a device from a filesystem image +* ls:: List devices or files +* normal:: Enter normal mode +* normal_exit:: Exit from normal mode +* parttool:: Modify partition table entries +* password:: Set a clear-text password +* password_pbkdf2:: Set a hashed password +* play:: Play a tune +* pxe_unload:: Unload the PXE environment +* read:: Read user input +* reboot:: Reboot your computer +* save_env:: Save variables to environment block +* search:: Search devices by file, label, or UUID +* sendkey:: Emulate keystrokes +* set:: Set an environment variable +* true:: Do nothing, successfully +* unset:: Unset an environment variable +* uppermem:: Set the upper memory size +@end menu + + +@node acpi +@subsection acpi + +@deffn Command acpi [@option{-1}|@option{-2}] @ + [@option{--exclude=table1,@dots{}}|@option{--load-only=table1,@dots{}}] @ + [@option{--oemid=id}] [@option{--oemtable=table}] @ + [@option{--oemtablerev=rev}] [@option{--oemtablecreator=creator}] @ + [@option{--oemtablecreatorrev=rev}] [@option{--no-ebda}] @ + filename @dots{} +Modern BIOS systems normally implement the Advanced Configuration and Power +Interface (ACPI), and define various tables that describe the interface +between an ACPI-compliant operating system and the firmware. In some cases, +the tables provided by default only work well with certain operating +systems, and it may be necessary to replace some of them. + +Normally, this command will replace the Root System Description Pointer +(RSDP) in the Extended BIOS Data Area to point to the new tables. If the +@option{--no-ebda} option is used, the new tables will be known only to +GRUB, but may be used by GRUB's EFI emulation. +@end deffn + +@node badram +@subsection badram + +@deffn Command badram addr,mask[,addr,mask...] +Filter out bad RAM. +@end deffn + +This command notifies the memory manager that specified regions of +RAM ought to be filtered out (usually, because they're damaged). This +remains in effect after a payload kernel has been loaded by GRUB, as +long as the loaded kernel obtains its memory map from GRUB. Kernels that +support this include Linux, GNU Mach, the kernel of FreeBSD and Multiboot +kernels in general. + +Syntax is the same as provided by the @uref{http://www.memtest.org/, +Memtest86+ utility}: a list of address/mask pairs. Given a page-aligned +address and a base address / mask pair, if all the bits of the page-aligned +address that are enabled by the mask match with the base address, it means +this page is to be filtered. This syntax makes it easy to represent patterns +that are often result of memory damage, due to physical distribution of memory +cells. + +@node blocklist +@subsection blocklist + +@deffn Command blocklist file +Print a block list (@pxref{Block list syntax}) for @var{file}. +@end deffn + + +@node boot +@subsection boot + +@deffn Command boot +Boot the OS or chain-loader which has been loaded. Only necessary if +running the fully interactive command-line (it is implicit at the end of +a menu entry). +@end deffn + + +@node cat +@subsection cat + +@deffn Command cat [@option{--dos}] file +Display the contents of the file @var{file}. This command may be useful +to remind you of your OS's root partition: + +@example +grub> @kbd{cat /etc/fstab} +@end example + +If the @option{--dos} option is used, then carriage return / new line pairs +will be displayed as a simple new line. Otherwise, the carriage return will +be displayed as a control character (@samp{}) to make it easier to see +when boot problems are caused by a file formatted using DOS-style line +endings. +@end deffn + + +@node chainloader +@subsection chainloader + +@deffn Command chainloader [@option{--force}] file +Load @var{file} as a chain-loader. Like any other file loaded by the +filesystem code, it can use the blocklist notation (@pxref{Block list +syntax}) to grab the first sector of the current partition with @samp{+1}. +If you specify the option @option{--force}, then load @var{file} forcibly, +whether it has a correct signature or not. This is required when you want to +load a defective boot loader, such as SCO UnixWare 7.1. +@end deffn + + +@node cmp +@subsection cmp + +@deffn Command cmp file1 file2 +Compare the file @var{file1} with the file @var{file2}. If they differ +in size, print the sizes like this: + +@example +Differ in size: 0x1234 [foo], 0x4321 [bar] +@end example + +If the sizes are equal but the bytes at an offset differ, then print the +bytes like this: + +@example +Differ at the offset 777: 0xbe [foo], 0xef [bar] +@end example + +If they are completely identical, nothing will be printed. +@end deffn + + +@node configfile +@subsection configfile + +@deffn Command configfile file +Load @var{file} as a configuration file. If @var{file} defines any menu +entries, then show a menu containing them immediately. +@end deffn + + +@node cpuid +@subsection cpuid + +@deffn Command cpuid [-l] +Check for CPU features. This command is only available on x86 systems. + +With the @option{-l} option, return true if the CPU supports long mode +(64-bit). + +If invoked without options, this command currently behaves as if it had been +invoked with @option{-l}. This may change in the future. +@end deffn + + +@node crc +@subsection crc + +@deffn Command crc file +Display the CRC32 checksum of @var{file}. +@end deffn + + +@node date +@subsection date + +@deffn Command date [[year-]month-day] [hour:minute[:second]] +With no arguments, print the current date and time. + +Otherwise, take the current date and time, change any elements specified as +arguments, and set the result as the new date and time. For example, `date +01-01' will set the current month and day to January 1, but leave the year, +hour, minute, and second unchanged. +@end deffn + + +@node drivemap +@subsection drivemap + +@deffn Command drivemap @option{-l}|@option{-r}|[@option{-s}] @ + from_drive to_drive +Without options, map the drive @var{from_drive} to the drive @var{to_drive}. +This is necessary when you chain-load some operating systems, such as DOS, +if such an OS resides at a non-first drive. For convenience, any partition +suffix on the drive is ignored, so you can safely use @verb{'${root}'} as a +drive specification. + +With the @option{-s} option, perform the reverse mapping as well, swapping +the two drives. + +With the @option{-l} option, list the current mappings. + +With the @option{-r} option, reset all mappings to the default values. + +For example: + +@example +drivemap -s (hd0) (hd1) +@end example +@end deffn + + +@node echo +@subsection echo + +@deffn Command echo [@option{-n}] [@option{-e}] string @dots{} +Display the requested text and, unless the @option{-n} option is used, a +trailing new line. If there is more than one string, they are separated by +spaces in the output. As usual in GRUB commands, variables may be +substituted using @samp{$@{var@}}. + +The @option{-e} option enables interpretation of backslash escapes. The +following sequences are recognised: + +@table @code +@item \\ +backslash + +@item \a +alert (BEL) + +@item \c +suppress trailing new line + +@item \f +form feed + +@item \n +new line + +@item \r +carriage return + +@item \t +horizontal tab + +@item \v +vertical tab +@end table + +When interpreting backslash escapes, backslash followed by any other +character will print that character. +@end deffn + + +@node export +@subsection export + +@deffn Command export envvar +Export the environment variable @var{envvar}. Exported variables are visible +to subsidiary configuration files loaded using @command{configfile}. +@end deffn + + +@node false +@subsection false + +@deffn Command false +Do nothing, unsuccessfully. This is mainly useful in control constructs +such as @code{if} and @code{while} (@pxref{Shell-like scripting}). +@end deffn + + +@node gettext +@subsection gettext + +@deffn Command gettext string +Translate @var{string} into the current language. + +The current language code is stored in the @samp{lang} variable in GRUB's +environment (@pxref{lang}). Translation files in MO format are read from +@samp{locale_dir} (@pxref{locale_dir}), usually @file{/boot/grub/locale}. +@end deffn + + +@node gptsync +@subsection gptsync + +@deffn Command gptsync device [partition[+/-[type]]] @dots{} +Disks using the GUID Partition Table (GPT) also have a legacy Master Boot +Record (MBR) partition table for compatibility with the BIOS and with older +operating systems. The legacy MBR can only represent a limited subset of +GPT partition entries. + +This command populates the legacy MBR with the specified @var{partition} +entries on @var{device}. Up to three partitions may be used. + +@var{type} is an MBR partition type code; prefix with @samp{0x} if you want +to enter this in hexadecimal. The separator between @var{partition} and +@var{type} may be @samp{+} to make the partition active, or @samp{-} to make +it inactive; only one partition may be active. If both the separator and +type are omitted, then the partition will be inactive. +@end deffn + + +@node halt +@subsection halt + +@deffn Command halt @option{--no-apm} +The command halts the computer. If the @option{--no-apm} option +is specified, no APM BIOS call is performed. Otherwise, the computer +is shut down using APM. +@end deffn + + +@node help +@subsection help + +@deffn Command help [pattern @dots{}] +Display helpful information about builtin commands. If you do not +specify @var{pattern}, this command shows short descriptions of all +available commands. + +If you specify any @var{patterns}, it displays longer information +about each of the commands whose names begin with those @var{patterns}. +@end deffn + + +@node initrd +@subsection initrd + +@deffn Command initrd file +Load an initial ramdisk for a Linux kernel image, and set the appropriate +parameters in the Linux setup area in memory. This may only be used after +the @command{linux} command (@pxref{linux}) has been run. See also +@ref{GNU/Linux}. +@end deffn + + +@node initrd16 +@subsection initrd16 + +@deffn Command initrd16 file +Load an initial ramdisk for a Linux kernel image to be booted in 16-bit +mode, and set the appropriate parameters in the Linux setup area in memory. +This may only be used after the @command{linux16} command (@pxref{linux16}) +has been run. See also @ref{GNU/Linux}. + +This command is only available on x86 systems. +@end deffn + + +@node insmod +@subsection insmod + +@deffn Command insmod module +Insert the dynamic GRUB module called @var{module}. +@end deffn + + +@node keystatus +@subsection keystatus + +@deffn Command keystatus [@option{--shift}] [@option{--ctrl}] [@option{--alt}] +Return true if the Shift, Control, or Alt modifier keys are held down, as +requested by options. This is useful in scripting, to allow some user +control over behaviour without having to wait for a keypress. + +Checking key modifier status is only supported on some platforms. If invoked +without any options, the @command{keystatus} command returns true if and +only if checking key modifier status is supported. +@end deffn + + +@node linux +@subsection linux + +@deffn Command linux file @dots{} +Load a Linux kernel image from @var{file}. The rest of the line is passed +verbatim as the @dfn{kernel command-line}. Any initrd must be reloaded +after using this command (@pxref{initrd}). + +On x86 systems, the kernel will be booted using the 32-bit boot protocol. +Note that this means that the @samp{vga=} boot option will not work; if you +want to set a special video mode, you will need to use GRUB commands such as +@samp{set gfxpayload=1024x768} or @samp{set gfxpayload=keep} (to keep the +same mode as used in GRUB) instead. GRUB can automatically detect some uses +of @samp{vga=} and translate them to appropriate settings of +@samp{gfxpayload}. The @command{linux16} command (@pxref{linux16}) avoids +this restriction. +@end deffn + + +@node linux16 +@subsection linux16 + +@deffn Command linux16 file @dots{} +Load a Linux kernel image from @var{file} in 16-bit mode. The rest of the +line is passed verbatim as the @dfn{kernel command-line}. Any initrd must +be reloaded after using this command (@pxref{initrd16}). + +The kernel will be booted using the traditional 16-bit boot protocol. As +well as bypassing problems with @samp{vga=} described in @ref{linux}, this +permits booting some other programs that implement the Linux boot protocol +for the sake of convenience. + +This command is only available on x86 systems. +@end deffn + + +@node list_env +@subsection list_env + +@deffn Command list_env [@option{-f} file] +List all variables in the environment block file. @xref{Environment block}. + +The @option{-f} option overrides the default location of the environment +block. +@end deffn + + +@node load_env +@subsection load_env + +@deffn Command load_env [@option{-f} file] +Load all variables from the environment block file into the environment. +@xref{Environment block}. + +The @option{-f} option overrides the default location of the environment +block. +@end deffn + + +@node loopback +@subsection loopback + +@deffn Command loopback [@option{-d}] device file +Make the device named @var{device} correspond to the contents of the +filesystem image in @var{file}. For example: + +@example +loopback loop0 /path/to/image +ls (loop0)/ +@end example + +With the @option{-d} option, delete a device previously created using this +command. +@end deffn + + +@node ls +@subsection ls + +@deffn Command ls [arg @dots{}] +List devices or files. + +With no arguments, print all devices known to GRUB. + +If the argument is a device name enclosed in parentheses (@pxref{Device +syntax}), then list all files at the root directory of that device. + +If the argument is a directory given as an absolute file name (@pxref{File +name syntax}), then list the contents of that directory. +@end deffn + + +@node normal +@subsection normal + +@deffn Command normal [file] +Enter normal mode and display the GRUB menu. + +In normal mode, commands, filesystem modules, and cryptography modules are +automatically loaded, and the full GRUB script parser is available. Other +modules may be explicitly loaded using @command{insmod} (@pxref{insmod}). + +If a @var{file} is given, then commands will be read from that file. +Otherwise, they will be read from @file{$prefix/grub.cfg} if it exists. + +@command{normal} may be called from within normal mode, creating a nested +environment. It is more usual to use @command{configfile} +(@pxref{configfile}) for this. +@end deffn + + +@node normal_exit +@subsection normal_exit + +@deffn Command normal_exit +Exit normal mode (@pxref{normal}). If this instance of normal mode was not +nested within another one, then return to rescue mode. +@end deffn + + +@node parttool +@subsection parttool + +@deffn Command parttool partition commands +Make various modifications to partition table entries. + +Each @var{command} is either a boolean option, in which case it must be +followed with @samp{+} or @samp{-} (with no intervening space) to enable or +disable that option, or else it takes a value in the form +@samp{@var{command}=@var{value}}. + +Currently, @command{parttool} is only useful on DOS partition tables (also +known as Master Boot Record, or MBR). On these partition tables, the +following commands are available: + +@table @asis +@item @samp{boot} (boolean) +When enabled, this makes the selected partition be the active (bootable) +partition on its disk, clearing the active flag on all other partitions. +This command is limited to @emph{primary} partitions. + +@item @samp{type} (value) +Change the type of an existing partition. The value must be a number in the +range 0-0xFF (prefix with @samp{0x} to enter it in hexadecimal). + +@item @samp{hidden} (boolean) +When enabled, this hides the selected partition by setting the @dfn{hidden} +bit in its partition type code; when disabled, unhides the selected +partition by clearing this bit. This is useful only when booting DOS or +Wwindows and multiple primary FAT partitions exist in one disk. See also +@ref{DOS/Windows}. +@end table +@end deffn + + +@node password +@subsection password + +@deffn Command password user clear-password +Define a user named @var{user} with password @var{clear-password}. +@xref{Security}. +@end deffn + + +@node password_pbkdf2 +@subsection password_pbkdf2 + +@deffn Command password_pbkdf2 user hashed-password +Define a user named @var{user} with password hash @var{hashed-password}. +Use @command{grub-mkpasswd-pbkdf2} (@pxref{Invoking grub-mkpasswd-pbkdf2}) +to generate password hashes. @xref{Security}. +@end deffn + + +@node play +@subsection play + +@deffn Command play file | tempo [pitch1 duration1] [pitch2 duration2] ... +Plays a tune + +If the argument is a file name (@pxref{File name syntax}), play the tune +recorded in it. The file format is first the tempo as an unsigned 32bit +little-endian number, then pairs of unsigned 16bit little-endian numbers for +pitch and duration pairs. + +If the arguments are a series of numbers, play the inline tune. + +The tempo is the base for all note durations. 60 gives a 1-second base, 120 +gives a half-second base, etc. Pitches are Hz. Set pitch to 0 to produce +a rest. +@end deffn + + +@node pxe_unload +@subsection pxe_unload + +@deffn Command pxe_unload +Unload the PXE environment (@pxref{Network}). + +This command is only available on PC BIOS systems. +@end deffn + + +@node read +@subsection read + +@deffn Command read [var] +Read a line of input from the user. If an environment variable @var{var} is +given, set that environment variable to the line of input that was read, +with no terminating newline. +@end deffn + + +@node reboot +@subsection reboot + +@deffn Command reboot +Reboot the computer. +@end deffn + + +@node save_env +@subsection save_env + +@deffn Command save_env [@option{-f} file] var @dots{} +Save the named variables from the environment to the environment block file. +@xref{Environment block}. + +The @option{-f} option overrides the default location of the environment +block. +@end deffn + + +@node search +@subsection search + +@deffn Command search @ + [@option{--file}|@option{--label}|@option{--fs-uuid}] @ + [@option{--set} [var]] [@option{--no-floppy}] name +Search devices by file (@option{-f}, @option{--file}), filesystem label +(@option{-l}, @option{--label}), or filesystem UUID (@option{-u}, +@option{--fs-uuid}). + +If the @option{--set} option is used, the first device found is set as the +value of environment variable @var{var}. The default variable is +@samp{root}. + +The @option{--no-floppy} option prevents searching floppy devices, which can +be slow. + +The @samp{search.file}, @samp{search.fs_label}, and @samp{search.fs_uuid} +commands are aliases for @samp{search --file}, @samp{search --label}, and +@samp{search --fs-uuid} respectively. +@end deffn + + +@node sendkey +@subsection sendkey + +@deffn Command sendkey @ + [@option{--num}|@option{--caps}|@option{--scroll}|@option{--insert}|@ +@option{--pause}|@option{--left-shift}|@option{--right-shift}|@ +@option{--sysrq}|@option{--numkey}|@option{--capskey}|@option{--scrollkey}|@ +@option{--insertkey}|@option{--left-alt}|@option{--right-alt}|@ +@option{--left-ctrl}|@option{--right-ctrl} @ + @samp{on}|@samp{off}]@dots{} @ + [@option{no-led}] @ + keystroke +Insert keystrokes into the keyboard buffer when booting. Sometimes an +operating system or chainloaded boot loader requires particular keys to be +pressed: for example, one might need to press a particular key to enter +"safe mode", or when chainloading another boot loader one might send +keystrokes to it to navigate its menu. + +You may provide up to 16 keystrokes (the length of the BIOS keyboard +buffer). Keystroke names may be upper-case or lower-case letters, digits, +or taken from the following table: + +@c Please keep this table in the same order as in +@c commands/i386/pc/sendkey.c, for ease of maintenance. +@c Exception: The function and numeric keys are sorted, for aesthetics. + +@multitable @columnfractions .4 .5 +@headitem Name @tab Key +@item escape @tab Escape +@item exclam @tab ! +@item at @tab @@ +@item numbersign @tab # +@item dollar @tab $ +@item percent @tab % +@item caret @tab ^ +@item ampersand @tab & +@item asterisk @tab * +@item parenleft @tab ( +@item parenright @tab ) +@item minus @tab - +@item underscore @tab _ +@item equal @tab = +@item plus @tab + +@item backspace @tab Backspace +@item tab @tab Tab +@item bracketleft @tab [ +@item braceleft @tab @{ +@item bracketright @tab ] +@item braceright @tab @} +@item enter @tab Enter +@item control @tab press and release Control +@item semicolon @tab ; +@item colon @tab : +@item quote @tab ' +@item doublequote @tab " +@item backquote @tab ` +@item tilde @tab ~ +@item shift @tab press and release left Shift +@item backslash @tab \ +@item bar @tab | +@item comma @tab , +@item less @tab < +@item period @tab . +@item greater @tab > +@item slash @tab / +@item question @tab ? +@item rshift @tab press and release right Shift +@item alt @tab press and release Alt +@item space @tab space bar +@item capslock @tab Caps Lock +@item F1 @tab F1 +@item F2 @tab F2 +@item F3 @tab F3 +@item F4 @tab F4 +@item F5 @tab F5 +@item F6 @tab F6 +@item F7 @tab F7 +@item F8 @tab F8 +@item F9 @tab F9 +@item F10 @tab F10 +@item F11 @tab F11 +@item F12 @tab F12 +@item num1 @tab 1 (numeric keypad) +@item num2 @tab 2 (numeric keypad) +@item num3 @tab 3 (numeric keypad) +@item num4 @tab 4 (numeric keypad) +@item num5 @tab 5 (numeric keypad) +@item num6 @tab 6 (numeric keypad) +@item num7 @tab 7 (numeric keypad) +@item num8 @tab 8 (numeric keypad) +@item num9 @tab 9 (numeric keypad) +@item num0 @tab 0 (numeric keypad) +@item numperiod @tab . (numeric keypad) +@item numend @tab End (numeric keypad) +@item numdown @tab Down (numeric keypad) +@item numpgdown @tab Page Down (numeric keypad) +@item numleft @tab Left (numeric keypad) +@item numcenter @tab 5 with Num Lock inactive (numeric keypad) +@item numright @tab Right (numeric keypad) +@item numhome @tab Home (numeric keypad) +@item numup @tab Up (numeric keypad) +@item numpgup @tab Page Up (numeric keypad) +@item numinsert @tab Insert (numeric keypad) +@item numdelete @tab Delete (numeric keypad) +@item numasterisk @tab * (numeric keypad) +@item numminus @tab - (numeric keypad) +@item numplus @tab + (numeric keypad) +@item numslash @tab / (numeric keypad) +@item numenter @tab Enter (numeric keypad) +@item delete @tab Delete +@item insert @tab Insert +@item home @tab Home +@item end @tab End +@item pgdown @tab Page Down +@item pgup @tab Page Up +@item down @tab Down +@item up @tab Up +@item left @tab Left +@item right @tab Right +@end multitable + +As well as keystrokes, the @command{sendkey} command takes various options +that affect the BIOS keyboard status flags. These options take an @samp{on} +or @samp{off} parameter, specifying that the corresponding status flag be +set or unset; omitting the option for a given status flag will leave that +flag at its initial state at boot. The @option{--num}, @option{--caps}, +@option{--scroll}, and @option{--insert} options emulate setting the +corresponding mode, while the @option{--numkey}, @option{--capskey}, +@option{--scrollkey}, and @option{--insertkey} options emulate pressing and +holding the corresponding key. The other status flag options are +self-explanatory. + +If the @option{--no-led} option is given, the status flag options will have +no effect on keyboard LEDs. + +If the @command{sendkey} command is given multiple times, then only the last +invocation has any effect. + +Since @command{sendkey} manipulates the BIOS keyboard buffer, it may cause +hangs, reboots, or other misbehaviour on some systems. If the operating +system or boot loader that runs after GRUB uses its own keyboard driver +rather than the BIOS keyboard functions, then @command{sendkey} will have no +effect. + +This command is only available on PC BIOS systems. +@end deffn + + +@node set +@subsection set + +@deffn Command set [envvar=value] +Set the environment variable @var{envvar} to @var{value}. If invoked with no +arguments, print all environment variables with their values. +@end deffn + + +@node true +@subsection true + +@deffn Command true +Do nothing, successfully. This is mainly useful in control constructs such +as @code{if} and @code{while} (@pxref{Shell-like scripting}). +@end deffn + + +@node unset +@subsection unset + +@deffn Command unset envvar +Unset the environment variable @var{envvar}. +@end deffn + + +@node uppermem +@subsection uppermem + +This command is not yet implemented for GRUB 2, although it is planned. + + +@node Security +@chapter Authentication and authorisation + +By default, the boot loader interface is accessible to anyone with physical +access to the console: anyone can select and edit any menu entry, and anyone +can get direct access to a GRUB shell prompt. For most systems, this is +reasonable since anyone with direct physical access has a variety of other +ways to gain full access, and requiring authentication at the boot loader +level would only serve to make it difficult to recover broken systems. + +However, in some environments, such as kiosks, it may be appropriate to lock +down the boot loader to require authentication before performing certain +operations. + +The @samp{password} (@pxref{password}) and @samp{password_pbkdf2} +(@pxref{password_pbkdf2}) commands can be used to define users, each of +which has an associated password. @samp{password} sets the password in +plain text, requiring @file{grub.cfg} to be secure; @samp{password_pbkdf2} +sets the password hashed using the Password-Based Key Derivation Function +(RFC 2898), requiring the use of @command{grub-mkpasswd-pbkdf2} +(@pxref{Invoking grub-mkpasswd-pbkdf2}) to generate password hashes. + +In order to enable authentication support, the @samp{superusers} environment +variable must be set to a list of usernames, separated by any of spaces, +commas, semicolons, pipes, or ampersands. Superusers are permitted to use +the GRUB command line, edit menu entries, and execute any menu entry. If +@samp{superusers} is set, then use of the command line is automatically +restricted to superusers. + +Other users may be given access to specific menu entries by giving a list of +usernames (as above) using the @option{--users} option to the +@samp{menuentry} command (@pxref{menuentry}). If the @option{--users} +option is not used for a menu entry, then that entry is unrestricted. + +Putting this together, a typical @file{grub.cfg} fragment might look like +this: + +@example +@group +set superusers="root" +password_pbkdf2 root grub.pbkdf2.sha512.10000.biglongstring +password user1 insecure + +menuentry "May be run by any user" @{ + set root=(hd0,1) + linux /vmlinuz +@} + +menuentry "Superusers only" --users "" @{ + set root=(hd0,1) + linux /vmlinuz single +@} + +menuentry "May be run by user1 or a superuser" --users user1 @{ + set root=(hd0,2) + chainloader +1 +@} +@end group +@end example + +The @command{grub-mkconfig} program does not yet have built-in support for +generating configuration files with authentication. You can use +@file{/etc/grub.d/40_custom} to add simple superuser authentication, by +adding @kbd{set superusers=} and @kbd{password} or @kbd{password_pbkdf2} +commands. + + +@node Supported kernels +@chapter Supported boot targets + +X86 support is summarised in the following table. ``Yes'' means that the kernel works on the given platform, ``crashes'' means an early kernel crash which we hope will be fixed by concerned kernel developers. ``no'' means GRUB doesn't load the given kernel on a given platform. ``headless'' means that the kernel works but lacks console drivers (you can still use serial or network console). In case of ``no'' and ``crashes'' the reason is given in footnote. +@multitable @columnfractions .50 .22 .22 +@item @tab BIOS @tab Coreboot +@item BIOS chainloading @tab yes @tab no (1) +@item NTLDR @tab yes @tab no (1) +@item FreeBSD bootloader @tab yes @tab crashes (1) +@item 32-bit kFreeBSD @tab yes @tab crashes (2,6) +@item 64-bit kFreeBSD @tab yes @tab crashes (2,6) +@item 32-bit kNetBSD @tab yes @tab crashes (1) +@item 64-bit kNetBSD @tab yes @tab crashes (2) +@item 32-bit kOpenBSD @tab yes @tab yes +@item 64-bit kOpenBSD @tab yes @tab yes +@item Multiboot @tab yes @tab yes +@item Multiboot2 @tab yes @tab yes +@item 32-bit Linux (legacy protocol) @tab yes @tab no (1) +@item 64-bit Linux (legacy protocol) @tab yes @tab no (1) +@item 32-bit Linux (modern protocol) @tab yes @tab yes +@item 64-bit Linux (modern protocol) @tab yes @tab yes +@item 32-bit XNU @tab yes @tab ? +@item 64-bit XNU @tab yes @tab ? +@item 32-bit EFI chainloader @tab no (3) @tab no (3) +@item 64-bit EFI chainloader @tab no (3) @tab no (3) +@item Appleloader @tab no (3) @tab no (3) +@end multitable + +@multitable @columnfractions .50 .22 .22 +@item @tab Multiboot @tab Qemu +@item BIOS chainloading @tab no (1) @tab no (1) +@item NTLDR @tab no (1) @tab no (1) +@item FreeBSD bootloader @tab crashes (1) @tab crashes (1) +@item 32-bit kFreeBSD @tab crashes (6) @tab crashes (6) +@item 64-bit kFreeBSD @tab crashes (6) @tab crashes (6) +@item 32-bit kNetBSD @tab crashes (1) @tab crashes (1) +@item 64-bit kNetBSD @tab yes @tab yes +@item 32-bit kOpenBSD @tab yes @tab yes +@item 64-bit kOpenBSD @tab yes @tab yes +@item Multiboot @tab yes @tab yes +@item Multiboot2 @tab yes @tab yes +@item 32-bit Linux (legacy protocol) @tab no (1) @tab no (1) +@item 64-bit Linux (legacy protocol) @tab no (1) @tab no (1) +@item 32-bit Linux (modern protocol) @tab yes @tab yes +@item 64-bit Linux (modern protocol) @tab yes @tab yes +@item 32-bit XNU @tab ? @tab ? +@item 64-bit XNU @tab ? @tab ? +@item 32-bit EFI chainloader @tab no (3) @tab no (3) +@item 64-bit EFI chainloader @tab no (3) @tab no (3) +@item Appleloader @tab no (3) @tab no (3) +@end multitable + +@multitable @columnfractions .50 .22 .22 +@item @tab 32-bit EFI @tab 64-bit EFI +@item BIOS chainloading @tab no (1) @tab no (1) +@item NTLDR @tab no (1) @tab no (1) +@item FreeBSD bootloader @tab crashes (1) @tab crashes (1) +@item 32-bit kFreeBSD @tab headless @tab headless +@item 64-bit kFreeBSD @tab headless @tab headless +@item 32-bit kNetBSD @tab crashes (1) @tab crashes (1) +@item 64-bit kNetBSD @tab yes @tab yes +@item 32-bit kOpenBSD @tab headless @tab headless +@item 64-bit kOpenBSD @tab headless @tab headless +@item Multiboot @tab yes @tab yes +@item Multiboot2 @tab yes @tab yes +@item 32-bit Linux (legacy protocol) @tab no (1) @tab no (1) +@item 64-bit Linux (legacy protocol) @tab no (1) @tab no (1) +@item 32-bit Linux (modern protocol) @tab yes @tab yes +@item 64-bit Linux (modern protocol) @tab yes @tab yes +@item 32-bit XNU @tab yes @tab yes +@item 64-bit XNU @tab yes (5) @tab yes +@item 32-bit EFI chainloader @tab yes @tab no (4) +@item 64-bit EFI chainloader @tab no (4) @tab yes +@item Appleloader @tab yes @tab yes +@end multitable + +@multitable @columnfractions .50 .22 .22 +@item @tab IEEE1275 +@item BIOS chainloading @tab no (1) +@item NTLDR @tab no (1) +@item FreeBSD bootloader @tab crashes (1) +@item 32-bit kFreeBSD @tab crashes (6) +@item 64-bit kFreeBSD @tab crashes (6) +@item 32-bit kNetBSD @tab crashes (1) +@item 64-bit kNetBSD @tab ? +@item 32-bit kOpenBSD @tab ? +@item 64-bit kOpenBSD @tab ? +@item Multiboot @tab ? +@item Multiboot2 @tab ? +@item 32-bit Linux (legacy protocol) @tab no (1) +@item 64-bit Linux (legacy protocol) @tab no (1) +@item 32-bit Linux (modern protocol) @tab ? +@item 64-bit Linux (modern protocol) @tab ? +@item 32-bit XNU @tab ? +@item 64-bit XNU @tab ? +@item 32-bit EFI chainloader @tab no (3) +@item 64-bit EFI chainloader @tab no (3) +@item Appleloader @tab no (3) +@end multitable + +@enumerate +@item Requires BIOS +@item Crashes because the memory at 0x0-0x1000 isn't available +@item EFI only +@item 32-bit and 64-bit EFI have different structures and work in different CPU modes so it's not possible to chainload 32-bit bootloader on 64-bit platform and vice-versa +@item Some modules may need to be disabled +@item Requires ACPI +@end enumerate + +PowerPC and Sparc ports support only Linux. MIPS port supports Linux and multiboot2. + +@chapter Boot tests + +As you have seen in previous chapter the support matrix is pretty big and some of the configurations are only rarely used. To ensure the quality bootchecks are available for all x86 targets except EFI chainloader, Appleloader and XNU. All x86 platforms have bootcheck facility except ieee1275. Multiboot, multiboot2, BIOS chainloader, ntldr and freebsd-bootloader boot targets are tested only with a fake kernel images. Only Linux is tested among the payloads using Linux protocols. + +Following variables must be defined: + +@multitable @columnfractions .30 .65 +@item GRUB_PAYLOADS_DIR @tab directory containing the required kernels +@item GRUB_CBFSTOOL @tab cbfstoll from Coreboot package (for coreboot platform only) +@item GRUB_COREBOOT_ROM @tab empty Coreboot ROM +@item GRUB_QEMU_OPTS @tab additional options to be supplied to QEMU +@end multitable + +Required files are: + +@multitable @columnfractions .40 .55 +@item kfreebsd_env.i386 @tab 32-bit kFreeBSD device hints +@item kfreebsd.i386 @tab 32-bit FreeBSD kernel image +@item kfreebsd.x86_64, kfreebsd_env.x86_64 @tab same from 64-bit kFreeBSD +@item knetbsd.i386 @tab 32-bit NetBSD kernel image +@item knetbsd.miniroot.i386 @tab 32-bit kNetBSD miniroot.kmod. +@item knetbsd.x86_64, knetbsd.miniroot.x86_64 @tab same from 64-bit kNetBSD +@item kopenbsd.i386 @tab 32-bit OpenBSD kernel bsd.rd image +@item kopenbsd.x86_64 @tab same from 64-bit kOpenBSD +@item linux.i386 @tab 32-bit Linux +@item linux.x86_64 @tab 64-bit Linux +@end multitable + +@node Troubleshooting +@chapter Error messages produced by GRUB + +@menu +* GRUB only offers a rescue shell:: +@end menu + + +@node GRUB only offers a rescue shell +@section GRUB only offers a rescue shell + +GRUB's normal start-up procedure involves setting the @samp{prefix} +environment variable to a value set in the core image by +@command{grub-install}, setting the @samp{root} variable to match, loading +the @samp{normal} module from the prefix, and running the @samp{normal} +command (@pxref{normal}). This command is responsible for reading +@file{/boot/grub/grub.cfg}, running the menu, and doing all the useful +things GRUB is supposed to do. + +If, instead, you only get a rescue shell, this usually means that GRUB +failed to load the @samp{normal} module for some reason. It may be possible +to work around this temporarily: for instance, if the reason for the failure +is that @samp{prefix} is wrong (perhaps it refers to the wrong device, or +perhaps the path to @file{/boot/grub} was not correctly made relative to the +device), then you can correct this and enter normal mode manually: + +@example +@group +# Inspect the current prefix (and other preset variables): +set +# Find out which devices are available: +ls +# Set to the correct value, which might be something like this: +set prefix=(hd0,1)/grub +set root=(hd0,1) +insmod normal +normal +@end group +@end example + +However, any problem that leaves you in the rescue shell probably means that +GRUB was not correctly installed. It may be more useful to try to reinstall +it properly using @kbd{grub-install @var{device}} (@pxref{Invoking +grub-install}). When doing this, there are a few things to remember: + +@itemize @bullet{} +@item +Drive ordering in your operating system may not be the same as the boot +drive ordering used by your firmware. Do not assume that your first hard +drive (e.g. @samp{/dev/sda}) is the one that your firmware will boot from. +@file{device.map} (@pxref{Device map}) can be used to override this, but it +is usually better to use UUIDs or file system labels and avoid depending on +drive ordering entirely. + +@item +At least on BIOS systems, if you tell @command{grub-install} to install GRUB +to a partition but GRUB has already been installed in the master boot +record, then the GRUB installation in the partition will be ignored. + +@item +If possible, it is generally best to avoid installing GRUB to a partition +(unless it is a special partition for the use of GRUB alone, such as the +BIOS Boot Partition used on GPT). Doing this means that GRUB may stop being +able to read its core image due to a file system moving blocks around, such +as while defragmenting, running checks, or even during normal operation. +Installing to the whole disk device is normally more robust. + +@item +Check that GRUB actually knows how to read from the device and file system +containing @file{/boot/grub}. It will not be able to read from encrypted +devices, nor from file systems for which support has not yet been added to +GRUB. +@end itemize + + +@node Invoking grub-install +@chapter Invoking grub-install + +The program @command{grub-install} installs GRUB on your drive using +@command{grub-mkimage} and (on some platforms) @command{grub-setup}. You +must specify the device name on which you want to install GRUB, like this: + +@example +grub-install @var{install_device} +@end example + +The device name @var{install_device} is an OS device name or a GRUB +device name. + +@command{grub-install} accepts the following options: + +@table @option +@item --help +Print a summary of the command-line options and exit. + +@item --version +Print the version number of GRUB and exit. + +@item --boot-directory=@var{dir} +Install GRUB images under the directory @file{@var{dir}/grub/} +This option is useful when you want to install GRUB into a +separate partition or a removable disk. +If this option is not specified then it defaults to @file{/boot}, so + +@example +@kbd{grub-install /dev/sda} +@end example + +is equivalent to + +@example +@kbd{grub-install --boot-directory=/boot/ /dev/sda} +@end example + +Here is an example in which you have a separate @dfn{boot} partition which is +mounted on +@file{/mnt/boot}: + +@example +@kbd{grub-install --boot-directory=/mnt/boot /dev/sdb} +@end example + +@item --recheck +Recheck the device map, even if @file{/boot/grub/device.map} already +exists. You should use this option whenever you add/remove a disk +into/from your computer. +@end table + + +@node Invoking grub-mkconfig +@chapter Invoking grub-mkconfig + +The program @command{grub-mkconfig} generates a configuration file for GRUB +(@pxref{Simple configuration}). + +@example +grub-mkconfig -o /boot/grub/grub.cfg +@end example + +@command{grub-mkconfig} accepts the following options: + +@table @option +@item --help +Print a summary of the command-line options and exit. + +@item --version +Print the version number of GRUB and exit. + +@item -o @var{file} +@itemx --output=@var{file} +Send the generated configuration file to @var{file}. The default is to send +it to standard output. +@end table + + +@node Invoking grub-mkpasswd-pbkdf2 +@chapter Invoking grub-mkpasswd-pbkdf2 + +The program @command{grub-mkpasswd-pbkdf2} generates password hashes for +GRUB (@pxref{Security}). + +@example +grub-mkpasswd-pbkdf2 +@end example + +@command{grub-mkpasswd-pbkdf2} accepts the following options: + +@table @option +@item -c @var{number} +@itemx --iteration-count=@var{number} +Number of iterations of the underlying pseudo-random function. Defaults to +10000. + +@item -l @var{number} +@itemx --buflen=@var{number} +Length of the generated hash. Defaults to 64. + +@item -s @var{number} +@itemx --salt=@var{number} +Length of the salt. Defaults to 64. +@end table + + +@node Invoking grub-mkrescue +@chapter Invoking grub-mkrescue + +The program @command{grub-mkrescue} generates a bootable GRUB rescue image +(@pxref{Making a GRUB bootable CD-ROM}). + +@example +grub-mkrescue -o grub.iso +@end example + +All arguments not explicitly listed as @command{grub-mkrescue} options are +passed on directly to @command{xorriso} in @command{mkisofs} emulation mode. +Options passed to @command{xorriso} will normally be interpreted as +@command{mkisofs} options; if the option @samp{--} is used, then anything +after that will be interpreted as native @command{xorriso} options. + +Non-option arguments specify additional source directories. This is +commonly used to add extra files to the image: + +@example +mkdir -p disk/boot/grub +@r{(add extra files to @file{disk/boot/grub})} +grub-mkrescue -o grub.iso disk +@end example + +@command{grub-mkrescue} accepts the following options: + +@table @option +@item --help +Print a summary of the command-line options and exit. + +@item --version +Print the version number of GRUB and exit. + +@item -o @var{file} +@itemx --output=@var{file} +Save output in @var{file}. This "option" is required. + +@item --modules=@var{modules} +Pre-load the named GRUB modules in the image. Multiple entries in +@var{modules} should be separated by whitespace (so you will probably need +to quote this for your shell). + +@item --rom-directory=@var{dir} +If generating images for the QEMU or Coreboot platforms, copy the resulting +@file{qemu.img} or @file{coreboot.elf} files respectively to the @var{dir} +directory as well as including them in the image. + +@item --xorriso=@var{file} +Use @var{file} as the @command{xorriso} program, rather than the built-in +default. + +@item --grub-mkimage=@var{file} +Use @var{file} as the @command{grub-mkimage} program, rather than the +built-in default. +@end table + + +@node Obtaining and Building GRUB +@appendix How to obtain and build GRUB + +@quotation +@strong{Caution:} GRUB requires binutils-2.9.1.0.23 or later because the +GNU assembler has been changed so that it can produce real 16bits +machine code between 2.9.1 and 2.9.1.0.x. See +@uref{http://sources.redhat.com/binutils/}, to obtain information on +how to get the latest version. +@end quotation + +GRUB is available from the GNU alpha archive site +@uref{ftp://alpha.gnu.org/gnu/grub} or any of its mirrors. The file +will be named grub-version.tar.gz. The current version is +@value{VERSION}, so the file you should grab is: + +@uref{ftp://alpha.gnu.org/gnu/grub/grub-@value{VERSION}.tar.gz} + +To unbundle GRUB use the instruction: + +@example +@kbd{zcat grub-@value{VERSION}.tar.gz | tar xvf -} +@end example + +which will create a directory called @file{grub-@value{VERSION}} with +all the sources. You can look at the file @file{INSTALL} for detailed +instructions on how to build and install GRUB, but you should be able to +just do: + +@example +@group +@kbd{cd grub-@value{VERSION}} +@kbd{./configure} +@kbd{make install} +@end group +@end example + +Also, the latest version is available using Bazaar. See +@uref{http://www.gnu.org/software/grub/grub-download.en.html} for more +information. + +@node Reporting bugs +@appendix Reporting bugs + +These are the guideline for how to report bugs. Take a look at this +list below before you submit bugs: + +@enumerate +@item +Before getting unsettled, read this manual through and through. Also, +see the @uref{http://www.gnu.org/software/grub/grub-faq.html, GNU GRUB FAQ}. + +@item +Always mention the information on your GRUB. The version number and the +configuration are quite important. If you build it yourself, write the +options specified to the configure script and your operating system, +including the versions of gcc and binutils. + +@item +If you have trouble with the installation, inform us of how you +installed GRUB. Don't omit error messages, if any. Just @samp{GRUB hangs +up when it boots} is not enough. + +The information on your hardware is also essential. These are especially +important: the geometries and the partition tables of your hard disk +drives and your BIOS. + +@item +If GRUB cannot boot your operating system, write down +@emph{everything} you see on the screen. Don't paraphrase them, like +@samp{The foo OS crashes with GRUB, even though it can boot with the +bar boot loader just fine}. Mention the commands you executed, the +messages printed by them, and information on your operating system +including the version number. + +@item +Explain what you wanted to do. It is very useful to know your purpose +and your wish, and how GRUB didn't satisfy you. + +@item +If you can investigate the problem yourself, please do. That will give +you and us much more information on the problem. Attaching a patch is +even better. + +When you attach a patch, make the patch in unified diff format, and +write ChangeLog entries. But, even when you make a patch, don't forget +to explain the problem, so that we can understand what your patch is +for. + +@item +Write down anything that you think might be related. Please understand +that we often need to reproduce the same problem you encountered in our +environment. So your information should be sufficient for us to do the +same thing---Don't forget that we cannot see your computer directly. If +you are not sure whether to state a fact or leave it out, state it! +Reporting too many things is much better than omitting something +important. +@end enumerate + +If you follow the guideline above, submit a report to the +@uref{http://savannah.gnu.org/bugs/?group=grub, Bug Tracking System}. +Alternatively, you can submit a report via electronic mail to +@email{bug-grub@@gnu.org}, but we strongly recommend that you use the +Bug Tracking System, because e-mail can be passed over easily. + +Once we get your report, we will try to fix the bugs. + + +@node Future +@appendix Where GRUB will go + +GRUB 2 is now quite stable and used in many production systems. We are +currently working towards a 2.0 release. + +If you are interested in the development of GRUB 2, take a look at +@uref{http://www.gnu.org/software/grub/grub.html, the homepage}. + + + + + +@node Copying This Manual +@appendix Copying This Manual + +@menu +* GNU Free Documentation License:: License for copying this manual. +@end menu + +@include fdl.texi + + +@node Index +@unnumbered Index + +@c Currently, we use only the Concept Index. +@printindex cp + + +@bye + +Some notes: + + This is an attempt to make a manual for GRUB 2. The contents are + copied from the GRUB manual in GRUB Legacy, so they are not always + appropriate yet for GRUB 2. diff --git a/docs/man/grub-bin2h.h2m b/docs/man/grub-bin2h.h2m new file mode 100644 index 0000000..ef463f3 --- /dev/null +++ b/docs/man/grub-bin2h.h2m @@ -0,0 +1,2 @@ +[NAME] +grub-bin2h \- convert a binary file to a C header diff --git a/docs/man/grub-editenv.h2m b/docs/man/grub-editenv.h2m new file mode 100644 index 0000000..3859d3d --- /dev/null +++ b/docs/man/grub-editenv.h2m @@ -0,0 +1,5 @@ +[NAME] +grub-editenv \- edit GRUB environment block +[SEE ALSO] +.BR grub-reboot (8), +.BR grub-set-default (8) diff --git a/docs/man/grub-emu.h2m b/docs/man/grub-emu.h2m new file mode 100644 index 0000000..ef1c000 --- /dev/null +++ b/docs/man/grub-emu.h2m @@ -0,0 +1,6 @@ +[NAME] +grub-emu \- GRUB emulator +[SEE ALSO] +If you are trying to install GRUB, then you should use +.BR grub-install (8) +rather than this program. diff --git a/docs/man/grub-fstest.h2m b/docs/man/grub-fstest.h2m new file mode 100644 index 0000000..9676b15 --- /dev/null +++ b/docs/man/grub-fstest.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-fstest \- debug tool for GRUB filesystem drivers +[SEE ALSO] +.BR grub-probe (8) diff --git a/docs/man/grub-install.h2m b/docs/man/grub-install.h2m new file mode 100644 index 0000000..2de371a --- /dev/null +++ b/docs/man/grub-install.h2m @@ -0,0 +1,7 @@ +[NAME] +grub-install \- install GRUB to a device +[SEE ALSO] +.BR grub-mkconfig (8), +.BR grub-mkimage (1), +.BR grub-setup (8), +.BR grub-mkrescue (1) diff --git a/docs/man/grub-macho2img.h2m b/docs/man/grub-macho2img.h2m new file mode 100644 index 0000000..d79aaee --- /dev/null +++ b/docs/man/grub-macho2img.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-macho2img \- convert Mach-O to raw image +[SEE ALSO] +.BR grub-mkimage (1) diff --git a/docs/man/grub-menulst2cfg.h2m b/docs/man/grub-menulst2cfg.h2m new file mode 100644 index 0000000..c2e0055 --- /dev/null +++ b/docs/man/grub-menulst2cfg.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-menulst2cfg \- transform legacy menu.lst into grub.cfg +[SEE ALSO] +.BR grub-mkconfig (8) diff --git a/docs/man/grub-mkconfig.h2m b/docs/man/grub-mkconfig.h2m new file mode 100644 index 0000000..9b42f81 --- /dev/null +++ b/docs/man/grub-mkconfig.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mkconfig \- generate a GRUB configuration file +[SEE ALSO] +.BR grub-install (8) diff --git a/docs/man/grub-mkdevicemap.h2m b/docs/man/grub-mkdevicemap.h2m new file mode 100644 index 0000000..3ef8e97 --- /dev/null +++ b/docs/man/grub-mkdevicemap.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mkdevicemap \- generate a GRUB device map file automatically +[SEE ALSO] +.BR grub-install (8) diff --git a/docs/man/grub-mkfont.h2m b/docs/man/grub-mkfont.h2m new file mode 100644 index 0000000..d46fe60 --- /dev/null +++ b/docs/man/grub-mkfont.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mkfont \- make GRUB font files +[SEE ALSO] +.BR grub-mkconfig (8) diff --git a/docs/man/grub-mkimage.h2m b/docs/man/grub-mkimage.h2m new file mode 100644 index 0000000..ca08b0c --- /dev/null +++ b/docs/man/grub-mkimage.h2m @@ -0,0 +1,7 @@ +[NAME] +grub-mkimage \- make a bootable image of GRUB +[SEE ALSO] +.BR grub-install (8), +.BR grub-setup (8), +.BR grub-mkrescue (1), +.BR grub-mknetdir (8) diff --git a/docs/man/grub-mklayout.h2m b/docs/man/grub-mklayout.h2m new file mode 100644 index 0000000..cda6f36 --- /dev/null +++ b/docs/man/grub-mklayout.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mklayout \- generate a GRUB keyboard layout file +[SEE ALSO] +.BR grub-mkconfig (8) diff --git a/docs/man/grub-mknetdir.h2m b/docs/man/grub-mknetdir.h2m new file mode 100644 index 0000000..a2ef13e --- /dev/null +++ b/docs/man/grub-mknetdir.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mknetdir \- prepare a GRUB netboot directory. +[SEE ALSO] +.BR grub-mkimage (1) diff --git a/docs/man/grub-mkpasswd-pbkdf2.h2m b/docs/man/grub-mkpasswd-pbkdf2.h2m new file mode 100644 index 0000000..4d202f3 --- /dev/null +++ b/docs/man/grub-mkpasswd-pbkdf2.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mkpasswd-pbkdf2 \- generate hashed password for GRUB +[SEE ALSO] +.BR grub-mkconfig (8) diff --git a/docs/man/grub-mkrelpath.h2m b/docs/man/grub-mkrelpath.h2m new file mode 100644 index 0000000..d01f396 --- /dev/null +++ b/docs/man/grub-mkrelpath.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mkrelpath \- make a system path relative to its root +[SEE ALSO] +.BR grub-probe (8) diff --git a/docs/man/grub-mkrescue.h2m b/docs/man/grub-mkrescue.h2m new file mode 100644 index 0000000..a427f02 --- /dev/null +++ b/docs/man/grub-mkrescue.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-mkrescue \- make a GRUB rescue image +[SEE ALSO] +.BR grub-mkimage (1) diff --git a/docs/man/grub-ofpathname.h2m b/docs/man/grub-ofpathname.h2m new file mode 100644 index 0000000..74b43ee --- /dev/null +++ b/docs/man/grub-ofpathname.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-ofpathname \- find OpenBOOT path for a device +[SEE ALSO] +.BR grub-probe (8) diff --git a/docs/man/grub-pe2elf.h2m b/docs/man/grub-pe2elf.h2m new file mode 100644 index 0000000..7ca29bd --- /dev/null +++ b/docs/man/grub-pe2elf.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-pe2elf \- convert PE image to ELF +[SEE ALSO] +.BR grub-mkimage (1) diff --git a/docs/man/grub-probe.h2m b/docs/man/grub-probe.h2m new file mode 100644 index 0000000..6e1ffdc --- /dev/null +++ b/docs/man/grub-probe.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-probe \- probe device information for GRUB +[SEE ALSO] +.BR grub-fstest (1) diff --git a/docs/man/grub-reboot.h2m b/docs/man/grub-reboot.h2m new file mode 100644 index 0000000..e4acace --- /dev/null +++ b/docs/man/grub-reboot.h2m @@ -0,0 +1,5 @@ +[NAME] +grub-reboot \- set the default boot entry for GRUB, for the next boot only +[SEE ALSO] +.BR grub-set-default (8), +.BR grub-editenv (1) diff --git a/docs/man/grub-script-check.h2m b/docs/man/grub-script-check.h2m new file mode 100644 index 0000000..3653682 --- /dev/null +++ b/docs/man/grub-script-check.h2m @@ -0,0 +1,4 @@ +[NAME] +grub-script-check \- check grub.cfg for syntax errors +[SEE ALSO] +.BR grub-mkconfig (8) diff --git a/docs/man/grub-set-default.h2m b/docs/man/grub-set-default.h2m new file mode 100644 index 0000000..7945001 --- /dev/null +++ b/docs/man/grub-set-default.h2m @@ -0,0 +1,5 @@ +[NAME] +grub-set-default \- set the saved default boot entry for GRUB +[SEE ALSO] +.BR grub-reboot (8), +.BR grub-editenv (1) diff --git a/docs/man/grub-setup.h2m b/docs/man/grub-setup.h2m new file mode 100644 index 0000000..eebe3ef --- /dev/null +++ b/docs/man/grub-setup.h2m @@ -0,0 +1,6 @@ +[NAME] +grub-setup \- set up a device to boot using GRUB +[SEE ALSO] +.BR grub-install (8), +.BR grub-mkimage (1), +.BR grub-mkrescue (1) diff --git a/docs/mdate-sh b/docs/mdate-sh new file mode 100644 index 0000000..22f2f8b --- /dev/null +++ b/docs/mdate-sh @@ -0,0 +1,205 @@ +#!/bin/sh +# Get modification time of a file or directory and pretty-print it. + +scriptversion=2007-03-30.02 + +# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007 Free Software +# Foundation, Inc. +# written by Ulrich Drepper , June 1995 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No file. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: mdate-sh [--help] [--version] FILE + +Pretty-print the modification time of FILE. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "mdate-sh $scriptversion" + exit $? + ;; +esac + +# Prevent date giving response in another language. +LANG=C +export LANG +LC_ALL=C +export LC_ALL +LC_TIME=C +export LC_TIME + +# GNU ls changes its time format in response to the TIME_STYLE +# variable. Since we cannot assume `unset' works, revert this +# variable to its documented default. +if test "${TIME_STYLE+set}" = set; then + TIME_STYLE=posix-long-iso + export TIME_STYLE +fi + +save_arg1=$1 + +# Find out how to get the extended ls output of a file or directory. +if ls -L /dev/null 1>/dev/null 2>&1; then + ls_command='ls -L -l -d' +else + ls_command='ls -l -d' +fi +# Avoid user/group names that might have spaces, when possible. +if ls -n /dev/null 1>/dev/null 2>&1; then + ls_command="$ls_command -n" +fi + +# A `ls -l' line looks as follows on OS/2. +# drwxrwx--- 0 Aug 11 2001 foo +# This differs from Unix, which adds ownership information. +# drwxrwx--- 2 root root 4096 Aug 11 2001 foo +# +# To find the date, we split the line on spaces and iterate on words +# until we find a month. This cannot work with files whose owner is a +# user named `Jan', or `Feb', etc. However, it's unlikely that `/' +# will be owned by a user whose name is a month. So we first look at +# the extended ls output of the root directory to decide how many +# words should be skipped to get the date. + +# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. +set x`$ls_command /` + +# Find which argument is the month. +month= +command= +until test $month +do + shift + # Add another shift to the command. + command="$command shift;" + case $1 in + Jan) month=January; nummonth=1;; + Feb) month=February; nummonth=2;; + Mar) month=March; nummonth=3;; + Apr) month=April; nummonth=4;; + May) month=May; nummonth=5;; + Jun) month=June; nummonth=6;; + Jul) month=July; nummonth=7;; + Aug) month=August; nummonth=8;; + Sep) month=September; nummonth=9;; + Oct) month=October; nummonth=10;; + Nov) month=November; nummonth=11;; + Dec) month=December; nummonth=12;; + esac +done + +# Get the extended ls output of the file or directory. +set dummy x`eval "$ls_command \"\$save_arg1\""` + +# Remove all preceding arguments +eval $command + +# Because of the dummy argument above, month is in $2. +# +# On a POSIX system, we should have +# +# $# = 5 +# $1 = file size +# $2 = month +# $3 = day +# $4 = year or time +# $5 = filename +# +# On Darwin 7.7.0 and 7.6.0, we have +# +# $# = 4 +# $1 = day +# $2 = month +# $3 = year or time +# $4 = filename + +# Get the month. +case $2 in + Jan) month=January; nummonth=1;; + Feb) month=February; nummonth=2;; + Mar) month=March; nummonth=3;; + Apr) month=April; nummonth=4;; + May) month=May; nummonth=5;; + Jun) month=June; nummonth=6;; + Jul) month=July; nummonth=7;; + Aug) month=August; nummonth=8;; + Sep) month=September; nummonth=9;; + Oct) month=October; nummonth=10;; + Nov) month=November; nummonth=11;; + Dec) month=December; nummonth=12;; +esac + +case $3 in + ???*) day=$1;; + *) day=$3; shift;; +esac + +# Here we have to deal with the problem that the ls output gives either +# the time of day or the year. +case $3 in + *:*) set `date`; eval year=\$$# + case $2 in + Jan) nummonthtod=1;; + Feb) nummonthtod=2;; + Mar) nummonthtod=3;; + Apr) nummonthtod=4;; + May) nummonthtod=5;; + Jun) nummonthtod=6;; + Jul) nummonthtod=7;; + Aug) nummonthtod=8;; + Sep) nummonthtod=9;; + Oct) nummonthtod=10;; + Nov) nummonthtod=11;; + Dec) nummonthtod=12;; + esac + # For the first six month of the year the time notation can also + # be used for files modified in the last year. + if (expr $nummonth \> $nummonthtod) > /dev/null; + then + year=`expr $year - 1` + fi;; + *) year=$3;; +esac + +# The result. +echo $day $month $year + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/docs/stamp-1 b/docs/stamp-1 new file mode 100644 index 0000000..056836e --- /dev/null +++ b/docs/stamp-1 @@ -0,0 +1,4 @@ +@set UPDATED 13 April 2011 +@set UPDATED-MONTH April 2011 +@set EDITION 1.99 +@set VERSION 1.99 diff --git a/docs/stamp-vti b/docs/stamp-vti new file mode 100644 index 0000000..647f8f7 --- /dev/null +++ b/docs/stamp-vti @@ -0,0 +1,4 @@ +@set UPDATED 14 May 2011 +@set UPDATED-MONTH May 2011 +@set EDITION 1.99 +@set VERSION 1.99 diff --git a/docs/texinfo.tex b/docs/texinfo.tex new file mode 100644 index 0000000..0135d0c --- /dev/null +++ b/docs/texinfo.tex @@ -0,0 +1,8959 @@ +% texinfo.tex -- TeX macros to handle Texinfo files. +% +% Load plain if necessary, i.e., if running under initex. +\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi +% +\def\texinfoversion{2007-09-03.05} +% +% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 2007, +% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, +% 2007 Free Software Foundation, Inc. +% +% This texinfo.tex file is free software: you can redistribute it and/or +% modify it under the terms of the GNU General Public License as +% published by the Free Software Foundation, either version 3 of the +% License, or (at your option) any later version. +% +% This texinfo.tex file is distributed in the hope that it will be +% useful, but WITHOUT ANY WARRANTY; without even the implied warranty +% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +% General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program. If not, see . +% +% As a special exception, when this file is read by TeX when processing +% a Texinfo source document, you may use the result without +% restriction. (This has been our intent since Texinfo was invented.) +% +% Please try the latest version of texinfo.tex before submitting bug +% reports; you can get the latest version from: +% http://www.gnu.org/software/texinfo/ (the Texinfo home page), or +% ftp://tug.org/tex/texinfo.tex +% (and all CTAN mirrors, see http://www.ctan.org). +% The texinfo.tex in any given distribution could well be out +% of date, so if that's what you're using, please check. +% +% Send bug reports to bug-texinfo@gnu.org. Please include including a +% complete document in each bug report with which we can reproduce the +% problem. Patches are, of course, greatly appreciated. +% +% To process a Texinfo manual with TeX, it's most reliable to use the +% texi2dvi shell script that comes with the distribution. For a simple +% manual foo.texi, however, you can get away with this: +% tex foo.texi +% texindex foo.?? +% tex foo.texi +% tex foo.texi +% dvips foo.dvi -o # or whatever; this makes foo.ps. +% The extra TeX runs get the cross-reference information correct. +% Sometimes one run after texindex suffices, and sometimes you need more +% than two; texi2dvi does it as many times as necessary. +% +% It is possible to adapt texinfo.tex for other languages, to some +% extent. You can get the existing language-specific files from the +% full Texinfo distribution. +% +% The GNU Texinfo home page is http://www.gnu.org/software/texinfo. + + +\message{Loading texinfo [version \texinfoversion]:} + +% If in a .fmt file, print the version number +% and turn on active characters that we couldn't do earlier because +% they might have appeared in the input file name. +\everyjob{\message{[Texinfo version \texinfoversion]}% + \catcode`+=\active \catcode`\_=\active} + + +\chardef\other=12 + +% We never want plain's \outer definition of \+ in Texinfo. +% For @tex, we can use \tabalign. +\let\+ = \relax + +% Save some plain tex macros whose names we will redefine. +\let\ptexb=\b +\let\ptexbullet=\bullet +\let\ptexc=\c +\let\ptexcomma=\, +\let\ptexdot=\. +\let\ptexdots=\dots +\let\ptexend=\end +\let\ptexequiv=\equiv +\let\ptexexclam=\! +\let\ptexfootnote=\footnote +\let\ptexgtr=> +\let\ptexhat=^ +\let\ptexi=\i +\let\ptexindent=\indent +\let\ptexinsert=\insert +\let\ptexlbrace=\{ +\let\ptexless=< +\let\ptexnewwrite\newwrite +\let\ptexnoindent=\noindent +\let\ptexplus=+ +\let\ptexrbrace=\} +\let\ptexslash=\/ +\let\ptexstar=\* +\let\ptext=\t + +% If this character appears in an error message or help string, it +% starts a new line in the output. +\newlinechar = `^^J + +% Use TeX 3.0's \inputlineno to get the line number, for better error +% messages, but if we're using an old version of TeX, don't do anything. +% +\ifx\inputlineno\thisisundefined + \let\linenumber = \empty % Pre-3.0. +\else + \def\linenumber{l.\the\inputlineno:\space} +\fi + +% Set up fixed words for English if not already set. +\ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi +\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi +\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi +\ifx\putwordin\undefined \gdef\putwordin{in}\fi +\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi +\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi +\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi +\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi +\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi +\ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi +\ifx\putwordof\undefined \gdef\putwordof{of}\fi +\ifx\putwordon\undefined \gdef\putwordon{on}\fi +\ifx\putwordpage\undefined \gdef\putwordpage{page}\fi +\ifx\putwordsection\undefined \gdef\putwordsection{section}\fi +\ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi +\ifx\putwordsee\undefined \gdef\putwordsee{see}\fi +\ifx\putwordSee\undefined \gdef\putwordSee{See}\fi +\ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi +\ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi +% +\ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi +\ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi +\ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi +\ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi +\ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi +\ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi +\ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi +\ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi +\ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi +\ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi +\ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi +\ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi +% +\ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi +\ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi +\ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi +\ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi +\ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi + +% Since the category of space is not known, we have to be careful. +\chardef\spacecat = 10 +\def\spaceisspace{\catcode`\ =\spacecat} + +% sometimes characters are active, so we need control sequences. +\chardef\colonChar = `\: +\chardef\commaChar = `\, +\chardef\dashChar = `\- +\chardef\dotChar = `\. +\chardef\exclamChar= `\! +\chardef\lquoteChar= `\` +\chardef\questChar = `\? +\chardef\rquoteChar= `\' +\chardef\semiChar = `\; +\chardef\underChar = `\_ + +% Ignore a token. +% +\def\gobble#1{} + +% The following is used inside several \edef's. +\def\makecsname#1{\expandafter\noexpand\csname#1\endcsname} + +% Hyphenation fixes. +\hyphenation{ + Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script + ap-pen-dix bit-map bit-maps + data-base data-bases eshell fall-ing half-way long-est man-u-script + man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm + par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces + spell-ing spell-ings + stand-alone strong-est time-stamp time-stamps which-ever white-space + wide-spread wrap-around +} + +% Margin to add to right of even pages, to left of odd pages. +\newdimen\bindingoffset +\newdimen\normaloffset +\newdimen\pagewidth \newdimen\pageheight + +% For a final copy, take out the rectangles +% that mark overfull boxes (in case you have decided +% that the text looks ok even though it passes the margin). +% +\def\finalout{\overfullrule=0pt} + +% @| inserts a changebar to the left of the current line. It should +% surround any changed text. This approach does *not* work if the +% change spans more than two lines of output. To handle that, we would +% have adopt a much more difficult approach (putting marks into the main +% vertical list for the beginning and end of each change). +% +\def\|{% + % \vadjust can only be used in horizontal mode. + \leavevmode + % + % Append this vertical mode material after the current line in the output. + \vadjust{% + % We want to insert a rule with the height and depth of the current + % leading; that is exactly what \strutbox is supposed to record. + \vskip-\baselineskip + % + % \vadjust-items are inserted at the left edge of the type. So + % the \llap here moves out into the left-hand margin. + \llap{% + % + % For a thicker or thinner bar, change the `1pt'. + \vrule height\baselineskip width1pt + % + % This is the space between the bar and the text. + \hskip 12pt + }% + }% +} + +% Sometimes it is convenient to have everything in the transcript file +% and nothing on the terminal. We don't just call \tracingall here, +% since that produces some useless output on the terminal. We also make +% some effort to order the tracing commands to reduce output in the log +% file; cf. trace.sty in LaTeX. +% +\def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}% +\def\loggingall{% + \tracingstats2 + \tracingpages1 + \tracinglostchars2 % 2 gives us more in etex + \tracingparagraphs1 + \tracingoutput1 + \tracingmacros2 + \tracingrestores1 + \showboxbreadth\maxdimen \showboxdepth\maxdimen + \ifx\eTeXversion\undefined\else % etex gives us more logging + \tracingscantokens1 + \tracingifs1 + \tracinggroups1 + \tracingnesting2 + \tracingassigns1 + \fi + \tracingcommands3 % 3 gives us more in etex + \errorcontextlines16 +}% + +% add check for \lastpenalty to plain's definitions. If the last thing +% we did was a \nobreak, we don't want to insert more space. +% +\def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount + \removelastskip\penalty-50\smallskip\fi\fi} +\def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount + \removelastskip\penalty-100\medskip\fi\fi} +\def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount + \removelastskip\penalty-200\bigskip\fi\fi} + +% For @cropmarks command. +% Do @cropmarks to get crop marks. +% +\newif\ifcropmarks +\let\cropmarks = \cropmarkstrue +% +% Dimensions to add cropmarks at corners. +% Added by P. A. MacKay, 12 Nov. 1986 +% +\newdimen\outerhsize \newdimen\outervsize % set by the paper size routines +\newdimen\cornerlong \cornerlong=1pc +\newdimen\cornerthick \cornerthick=.3pt +\newdimen\topandbottommargin \topandbottommargin=.75in + +% Output a mark which sets \thischapter, \thissection and \thiscolor. +% We dump everything together because we only have one kind of mark. +% This works because we only use \botmark / \topmark, not \firstmark. +% +% A mark contains a subexpression of the \ifcase ... \fi construct. +% \get*marks macros below extract the needed part using \ifcase. +% +% Another complication is to let the user choose whether \thischapter +% (\thissection) refers to the chapter (section) in effect at the top +% of a page, or that at the bottom of a page. The solution is +% described on page 260 of The TeXbook. It involves outputting two +% marks for the sectioning macros, one before the section break, and +% one after. I won't pretend I can describe this better than DEK... +\def\domark{% + \toks0=\expandafter{\lastchapterdefs}% + \toks2=\expandafter{\lastsectiondefs}% + \toks4=\expandafter{\prevchapterdefs}% + \toks6=\expandafter{\prevsectiondefs}% + \toks8=\expandafter{\lastcolordefs}% + \mark{% + \the\toks0 \the\toks2 + \noexpand\or \the\toks4 \the\toks6 + \noexpand\else \the\toks8 + }% +} +% \topmark doesn't work for the very first chapter (after the title +% page or the contents), so we use \firstmark there -- this gets us +% the mark with the chapter defs, unless the user sneaks in, e.g., +% @setcolor (or @url, or @link, etc.) between @contents and the very +% first @chapter. +\def\gettopheadingmarks{% + \ifcase0\topmark\fi + \ifx\thischapter\empty \ifcase0\firstmark\fi \fi +} +\def\getbottomheadingmarks{\ifcase1\botmark\fi} +\def\getcolormarks{\ifcase2\topmark\fi} + +% Avoid "undefined control sequence" errors. +\def\lastchapterdefs{} +\def\lastsectiondefs{} +\def\prevchapterdefs{} +\def\prevsectiondefs{} +\def\lastcolordefs{} + +% Main output routine. +\chardef\PAGE = 255 +\output = {\onepageout{\pagecontents\PAGE}} + +\newbox\headlinebox +\newbox\footlinebox + +% \onepageout takes a vbox as an argument. Note that \pagecontents +% does insertions, but you have to call it yourself. +\def\onepageout#1{% + \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi + % + \ifodd\pageno \advance\hoffset by \bindingoffset + \else \advance\hoffset by -\bindingoffset\fi + % + % Do this outside of the \shipout so @code etc. will be expanded in + % the headline as they should be, not taken literally (outputting ''code). + \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi + \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}% + \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi + \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}% + % + {% + % Have to do this stuff outside the \shipout because we want it to + % take effect in \write's, yet the group defined by the \vbox ends + % before the \shipout runs. + % + \indexdummies % don't expand commands in the output. + \normalturnoffactive % \ in index entries must not stay \, e.g., if + % the page break happens to be in the middle of an example. + % We don't want .vr (or whatever) entries like this: + % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}} + % "\acronym" won't work when it's read back in; + % it needs to be + % {\code {{\tt \backslashcurfont }acronym} + \shipout\vbox{% + % Do this early so pdf references go to the beginning of the page. + \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi + % + \ifcropmarks \vbox to \outervsize\bgroup + \hsize = \outerhsize + \vskip-\topandbottommargin + \vtop to0pt{% + \line{\ewtop\hfil\ewtop}% + \nointerlineskip + \line{% + \vbox{\moveleft\cornerthick\nstop}% + \hfill + \vbox{\moveright\cornerthick\nstop}% + }% + \vss}% + \vskip\topandbottommargin + \line\bgroup + \hfil % center the page within the outer (page) hsize. + \ifodd\pageno\hskip\bindingoffset\fi + \vbox\bgroup + \fi + % + \unvbox\headlinebox + \pagebody{#1}% + \ifdim\ht\footlinebox > 0pt + % Only leave this space if the footline is nonempty. + % (We lessened \vsize for it in \oddfootingyyy.) + % The \baselineskip=24pt in plain's \makefootline has no effect. + \vskip 24pt + \unvbox\footlinebox + \fi + % + \ifcropmarks + \egroup % end of \vbox\bgroup + \hfil\egroup % end of (centering) \line\bgroup + \vskip\topandbottommargin plus1fill minus1fill + \boxmaxdepth = \cornerthick + \vbox to0pt{\vss + \line{% + \vbox{\moveleft\cornerthick\nsbot}% + \hfill + \vbox{\moveright\cornerthick\nsbot}% + }% + \nointerlineskip + \line{\ewbot\hfil\ewbot}% + }% + \egroup % \vbox from first cropmarks clause + \fi + }% end of \shipout\vbox + }% end of group with \indexdummies + \advancepageno + \ifnum\outputpenalty>-20000 \else\dosupereject\fi +} + +\newinsert\margin \dimen\margin=\maxdimen + +\def\pagebody#1{\vbox to\pageheight{\boxmaxdepth=\maxdepth #1}} +{\catcode`\@ =11 +\gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi +% marginal hacks, juha@viisa.uucp (Juha Takala) +\ifvoid\margin\else % marginal info is present + \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi +\dimen@=\dp#1\relax \unvbox#1\relax +\ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi +\ifr@ggedbottom \kern-\dimen@ \vfil \fi} +} + +% Here are the rules for the cropmarks. Note that they are +% offset so that the space between them is truly \outerhsize or \outervsize +% (P. A. MacKay, 12 November, 1986) +% +\def\ewtop{\vrule height\cornerthick depth0pt width\cornerlong} +\def\nstop{\vbox + {\hrule height\cornerthick depth\cornerlong width\cornerthick}} +\def\ewbot{\vrule height0pt depth\cornerthick width\cornerlong} +\def\nsbot{\vbox + {\hrule height\cornerlong depth\cornerthick width\cornerthick}} + +% Parse an argument, then pass it to #1. The argument is the rest of +% the input line (except we remove a trailing comment). #1 should be a +% macro which expects an ordinary undelimited TeX argument. +% +\def\parsearg{\parseargusing{}} +\def\parseargusing#1#2{% + \def\argtorun{#2}% + \begingroup + \obeylines + \spaceisspace + #1% + \parseargline\empty% Insert the \empty token, see \finishparsearg below. +} + +{\obeylines % + \gdef\parseargline#1^^M{% + \endgroup % End of the group started in \parsearg. + \argremovecomment #1\comment\ArgTerm% + }% +} + +% First remove any @comment, then any @c comment. +\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} +\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} + +% Each occurence of `\^^M' or `\^^M' is replaced by a single space. +% +% \argremovec might leave us with trailing space, e.g., +% @end itemize @c foo +% This space token undergoes the same procedure and is eventually removed +% by \finishparsearg. +% +\def\argcheckspaces#1\^^M{\argcheckspacesX#1\^^M \^^M} +\def\argcheckspacesX#1 \^^M{\argcheckspacesY#1\^^M} +\def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{% + \def\temp{#3}% + \ifx\temp\empty + % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp: + \let\temp\finishparsearg + \else + \let\temp\argcheckspaces + \fi + % Put the space token in: + \temp#1 #3\ArgTerm +} + +% If a _delimited_ argument is enclosed in braces, they get stripped; so +% to get _exactly_ the rest of the line, we had to prevent such situation. +% We prepended an \empty token at the very beginning and we expand it now, +% just before passing the control to \argtorun. +% (Similarily, we have to think about #3 of \argcheckspacesY above: it is +% either the null string, or it ends with \^^M---thus there is no danger +% that a pair of braces would be stripped. +% +% But first, we have to remove the trailing space token. +% +\def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}} + +% \parseargdef\foo{...} +% is roughly equivalent to +% \def\foo{\parsearg\Xfoo} +% \def\Xfoo#1{...} +% +% Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my +% favourite TeX trick. --kasal, 16nov03 + +\def\parseargdef#1{% + \expandafter \doparseargdef \csname\string#1\endcsname #1% +} +\def\doparseargdef#1#2{% + \def#2{\parsearg#1}% + \def#1##1% +} + +% Several utility definitions with active space: +{ + \obeyspaces + \gdef\obeyedspace{ } + + % Make each space character in the input produce a normal interword + % space in the output. Don't allow a line break at this space, as this + % is used only in environments like @example, where each line of input + % should produce a line of output anyway. + % + \gdef\sepspaces{\obeyspaces\let =\tie} + + % If an index command is used in an @example environment, any spaces + % therein should become regular spaces in the raw index file, not the + % expansion of \tie (\leavevmode \penalty \@M \ ). + \gdef\unsepspaces{\let =\space} +} + + +\def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next} + +% Define the framework for environments in texinfo.tex. It's used like this: +% +% \envdef\foo{...} +% \def\Efoo{...} +% +% It's the responsibility of \envdef to insert \begingroup before the +% actual body; @end closes the group after calling \Efoo. \envdef also +% defines \thisenv, so the current environment is known; @end checks +% whether the environment name matches. The \checkenv macro can also be +% used to check whether the current environment is the one expected. +% +% Non-false conditionals (@iftex, @ifset) don't fit into this, so they +% are not treated as enviroments; they don't open a group. (The +% implementation of @end takes care not to call \endgroup in this +% special case.) + + +% At runtime, environments start with this: +\def\startenvironment#1{\begingroup\def\thisenv{#1}} +% initialize +\let\thisenv\empty + +% ... but they get defined via ``\envdef\foo{...}'': +\long\def\envdef#1#2{\def#1{\startenvironment#1#2}} +\def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}} + +% Check whether we're in the right environment: +\def\checkenv#1{% + \def\temp{#1}% + \ifx\thisenv\temp + \else + \badenverr + \fi +} + +% Evironment mismatch, #1 expected: +\def\badenverr{% + \errhelp = \EMsimple + \errmessage{This command can appear only \inenvironment\temp, + not \inenvironment\thisenv}% +} +\def\inenvironment#1{% + \ifx#1\empty + out of any environment% + \else + in environment \expandafter\string#1% + \fi +} + +% @end foo executes the definition of \Efoo. +% But first, it executes a specialized version of \checkenv +% +\parseargdef\end{% + \if 1\csname iscond.#1\endcsname + \else + % The general wording of \badenverr may not be ideal, but... --kasal, 06nov03 + \expandafter\checkenv\csname#1\endcsname + \csname E#1\endcsname + \endgroup + \fi +} + +\newhelp\EMsimple{Press RETURN to continue.} + + +%% Simple single-character @ commands + +% @@ prints an @ +% Kludge this until the fonts are right (grr). +\def\@{{\tt\char64}} + +% This is turned off because it was never documented +% and you can use @w{...} around a quote to suppress ligatures. +%% Define @` and @' to be the same as ` and ' +%% but suppressing ligatures. +%\def\`{{`}} +%\def\'{{'}} + +% Used to generate quoted braces. +\def\mylbrace {{\tt\char123}} +\def\myrbrace {{\tt\char125}} +\let\{=\mylbrace +\let\}=\myrbrace +\begingroup + % Definitions to produce \{ and \} commands for indices, + % and @{ and @} for the aux/toc files. + \catcode`\{ = \other \catcode`\} = \other + \catcode`\[ = 1 \catcode`\] = 2 + \catcode`\! = 0 \catcode`\\ = \other + !gdef!lbracecmd[\{]% + !gdef!rbracecmd[\}]% + !gdef!lbraceatcmd[@{]% + !gdef!rbraceatcmd[@}]% +!endgroup + +% @comma{} to avoid , parsing problems. +\let\comma = , + +% Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent +% Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H. +\let\, = \c +\let\dotaccent = \. +\def\ringaccent#1{{\accent23 #1}} +\let\tieaccent = \t +\let\ubaraccent = \b +\let\udotaccent = \d + +% Other special characters: @questiondown @exclamdown @ordf @ordm +% Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss. +\def\questiondown{?`} +\def\exclamdown{!`} +\def\ordf{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{a}}} +\def\ordm{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{o}}} + +% Dotless i and dotless j, used for accents. +\def\imacro{i} +\def\jmacro{j} +\def\dotless#1{% + \def\temp{#1}% + \ifx\temp\imacro \ptexi + \else\ifx\temp\jmacro \j + \else \errmessage{@dotless can be used only with i or j}% + \fi\fi +} + +% The \TeX{} logo, as in plain, but resetting the spacing so that a +% period following counts as ending a sentence. (Idea found in latex.) +% +\edef\TeX{\TeX \spacefactor=1000 } + +% @LaTeX{} logo. Not quite the same results as the definition in +% latex.ltx, since we use a different font for the raised A; it's most +% convenient for us to use an explicitly smaller font, rather than using +% the \scriptstyle font (since we don't reset \scriptstyle and +% \scriptscriptstyle). +% +\def\LaTeX{% + L\kern-.36em + {\setbox0=\hbox{T}% + \vbox to \ht0{\hbox{\selectfonts\lllsize A}\vss}}% + \kern-.15em + \TeX +} + +% Be sure we're in horizontal mode when doing a tie, since we make space +% equivalent to this in @example-like environments. Otherwise, a space +% at the beginning of a line will start with \penalty -- and +% since \penalty is valid in vertical mode, we'd end up putting the +% penalty on the vertical list instead of in the new paragraph. +{\catcode`@ = 11 + % Avoid using \@M directly, because that causes trouble + % if the definition is written into an index file. + \global\let\tiepenalty = \@M + \gdef\tie{\leavevmode\penalty\tiepenalty\ } +} + +% @: forces normal size whitespace following. +\def\:{\spacefactor=1000 } + +% @* forces a line break. +\def\*{\hfil\break\hbox{}\ignorespaces} + +% @/ allows a line break. +\let\/=\allowbreak + +% @. is an end-of-sentence period. +\def\.{.\spacefactor=\endofsentencespacefactor\space} + +% @! is an end-of-sentence bang. +\def\!{!\spacefactor=\endofsentencespacefactor\space} + +% @? is an end-of-sentence query. +\def\?{?\spacefactor=\endofsentencespacefactor\space} + +% @frenchspacing on|off says whether to put extra space after punctuation. +% +\def\onword{on} +\def\offword{off} +% +\parseargdef\frenchspacing{% + \def\temp{#1}% + \ifx\temp\onword \plainfrenchspacing + \else\ifx\temp\offword \plainnonfrenchspacing + \else + \errhelp = \EMsimple + \errmessage{Unknown @frenchspacing option `\temp', must be on/off}% + \fi\fi +} + +% @w prevents a word break. Without the \leavevmode, @w at the +% beginning of a paragraph, when TeX is still in vertical mode, would +% produce a whole line of output instead of starting the paragraph. +\def\w#1{\leavevmode\hbox{#1}} + +% @group ... @end group forces ... to be all on one page, by enclosing +% it in a TeX vbox. We use \vtop instead of \vbox to construct the box +% to keep its height that of a normal line. According to the rules for +% \topskip (p.114 of the TeXbook), the glue inserted is +% max (\topskip - \ht (first item), 0). If that height is large, +% therefore, no glue is inserted, and the space between the headline and +% the text is small, which looks bad. +% +% Another complication is that the group might be very large. This can +% cause the glue on the previous page to be unduly stretched, because it +% does not have much material. In this case, it's better to add an +% explicit \vfill so that the extra space is at the bottom. The +% threshold for doing this is if the group is more than \vfilllimit +% percent of a page (\vfilllimit can be changed inside of @tex). +% +\newbox\groupbox +\def\vfilllimit{0.7} +% +\envdef\group{% + \ifnum\catcode`\^^M=\active \else + \errhelp = \groupinvalidhelp + \errmessage{@group invalid in context where filling is enabled}% + \fi + \startsavinginserts + % + \setbox\groupbox = \vtop\bgroup + % Do @comment since we are called inside an environment such as + % @example, where each end-of-line in the input causes an + % end-of-line in the output. We don't want the end-of-line after + % the `@group' to put extra space in the output. Since @group + % should appear on a line by itself (according to the Texinfo + % manual), we don't worry about eating any user text. + \comment +} +% +% The \vtop produces a box with normal height and large depth; thus, TeX puts +% \baselineskip glue before it, and (when the next line of text is done) +% \lineskip glue after it. Thus, space below is not quite equal to space +% above. But it's pretty close. +\def\Egroup{% + % To get correct interline space between the last line of the group + % and the first line afterwards, we have to propagate \prevdepth. + \endgraf % Not \par, as it may have been set to \lisppar. + \global\dimen1 = \prevdepth + \egroup % End the \vtop. + % \dimen0 is the vertical size of the group's box. + \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox + % \dimen2 is how much space is left on the page (more or less). + \dimen2 = \pageheight \advance\dimen2 by -\pagetotal + % if the group doesn't fit on the current page, and it's a big big + % group, force a page break. + \ifdim \dimen0 > \dimen2 + \ifdim \pagetotal < \vfilllimit\pageheight + \page + \fi + \fi + \box\groupbox + \prevdepth = \dimen1 + \checkinserts +} +% +% TeX puts in an \escapechar (i.e., `@') at the beginning of the help +% message, so this ends up printing `@group can only ...'. +% +\newhelp\groupinvalidhelp{% +group can only be used in environments such as @example,^^J% +where each line of input produces a line of output.} + +% @need space-in-mils +% forces a page break if there is not space-in-mils remaining. + +\newdimen\mil \mil=0.001in + +% Old definition--didn't work. +%\parseargdef\need{\par % +%% This method tries to make TeX break the page naturally +%% if the depth of the box does not fit. +%{\baselineskip=0pt% +%\vtop to #1\mil{\vfil}\kern -#1\mil\nobreak +%\prevdepth=-1000pt +%}} + +\parseargdef\need{% + % Ensure vertical mode, so we don't make a big box in the middle of a + % paragraph. + \par + % + % If the @need value is less than one line space, it's useless. + \dimen0 = #1\mil + \dimen2 = \ht\strutbox + \advance\dimen2 by \dp\strutbox + \ifdim\dimen0 > \dimen2 + % + % Do a \strut just to make the height of this box be normal, so the + % normal leading is inserted relative to the preceding line. + % And a page break here is fine. + \vtop to #1\mil{\strut\vfil}% + % + % TeX does not even consider page breaks if a penalty added to the + % main vertical list is 10000 or more. But in order to see if the + % empty box we just added fits on the page, we must make it consider + % page breaks. On the other hand, we don't want to actually break the + % page after the empty box. So we use a penalty of 9999. + % + % There is an extremely small chance that TeX will actually break the + % page at this \penalty, if there are no other feasible breakpoints in + % sight. (If the user is using lots of big @group commands, which + % almost-but-not-quite fill up a page, TeX will have a hard time doing + % good page breaking, for example.) However, I could not construct an + % example where a page broke at this \penalty; if it happens in a real + % document, then we can reconsider our strategy. + \penalty9999 + % + % Back up by the size of the box, whether we did a page break or not. + \kern -#1\mil + % + % Do not allow a page break right after this kern. + \nobreak + \fi +} + +% @br forces paragraph break (and is undocumented). + +\let\br = \par + +% @page forces the start of a new page. +% +\def\page{\par\vfill\supereject} + +% @exdent text.... +% outputs text on separate line in roman font, starting at standard page margin + +% This records the amount of indent in the innermost environment. +% That's how much \exdent should take out. +\newskip\exdentamount + +% This defn is used inside fill environments such as @defun. +\parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break} + +% This defn is used inside nofill environments such as @example. +\parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount + \leftline{\hskip\leftskip{\rm#1}}}} + +% @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current +% paragraph. For more general purposes, use the \margin insertion +% class. WHICH is `l' or `r'. +% +\newskip\inmarginspacing \inmarginspacing=1cm +\def\strutdepth{\dp\strutbox} +% +\def\doinmargin#1#2{\strut\vadjust{% + \nobreak + \kern-\strutdepth + \vtop to \strutdepth{% + \baselineskip=\strutdepth + \vss + % if you have multiple lines of stuff to put here, you'll need to + % make the vbox yourself of the appropriate size. + \ifx#1l% + \llap{\ignorespaces #2\hskip\inmarginspacing}% + \else + \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}% + \fi + \null + }% +}} +\def\inleftmargin{\doinmargin l} +\def\inrightmargin{\doinmargin r} +% +% @inmargin{TEXT [, RIGHT-TEXT]} +% (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right; +% else use TEXT for both). +% +\def\inmargin#1{\parseinmargin #1,,\finish} +\def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing. + \setbox0 = \hbox{\ignorespaces #2}% + \ifdim\wd0 > 0pt + \def\lefttext{#1}% have both texts + \def\righttext{#2}% + \else + \def\lefttext{#1}% have only one text + \def\righttext{#1}% + \fi + % + \ifodd\pageno + \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin + \else + \def\temp{\inleftmargin\lefttext}% + \fi + \temp +} + +% @include file insert text of that file as input. +% +\def\include{\parseargusing\filenamecatcodes\includezzz} +\def\includezzz#1{% + \pushthisfilestack + \def\thisfile{#1}% + {% + \makevalueexpandable + \def\temp{\input #1 }% + \expandafter + }\temp + \popthisfilestack +} +\def\filenamecatcodes{% + \catcode`\\=\other + \catcode`~=\other + \catcode`^=\other + \catcode`_=\other + \catcode`|=\other + \catcode`<=\other + \catcode`>=\other + \catcode`+=\other + \catcode`-=\other +} + +\def\pushthisfilestack{% + \expandafter\pushthisfilestackX\popthisfilestack\StackTerm +} +\def\pushthisfilestackX{% + \expandafter\pushthisfilestackY\thisfile\StackTerm +} +\def\pushthisfilestackY #1\StackTerm #2\StackTerm {% + \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}% +} + +\def\popthisfilestack{\errthisfilestackempty} +\def\errthisfilestackempty{\errmessage{Internal error: + the stack of filenames is empty.}} + +\def\thisfile{} + +% @center line +% outputs that line, centered. +% +\parseargdef\center{% + \ifhmode + \let\next\centerH + \else + \let\next\centerV + \fi + \next{\hfil \ignorespaces#1\unskip \hfil}% +} +\def\centerH#1{% + {% + \hfil\break + \advance\hsize by -\leftskip + \advance\hsize by -\rightskip + \line{#1}% + \break + }% +} +\def\centerV#1{\line{\kern\leftskip #1\kern\rightskip}} + +% @sp n outputs n lines of vertical space + +\parseargdef\sp{\vskip #1\baselineskip} + +% @comment ...line which is ignored... +% @c is the same as @comment +% @ignore ... @end ignore is another way to write a comment + +\def\comment{\begingroup \catcode`\^^M=\other% +\catcode`\@=\other \catcode`\{=\other \catcode`\}=\other% +\commentxxx} +{\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}} + +\let\c=\comment + +% @paragraphindent NCHARS +% We'll use ems for NCHARS, close enough. +% NCHARS can also be the word `asis' or `none'. +% We cannot feasibly implement @paragraphindent asis, though. +% +\def\asisword{asis} % no translation, these are keywords +\def\noneword{none} +% +\parseargdef\paragraphindent{% + \def\temp{#1}% + \ifx\temp\asisword + \else + \ifx\temp\noneword + \defaultparindent = 0pt + \else + \defaultparindent = #1em + \fi + \fi + \parindent = \defaultparindent +} + +% @exampleindent NCHARS +% We'll use ems for NCHARS like @paragraphindent. +% It seems @exampleindent asis isn't necessary, but +% I preserve it to make it similar to @paragraphindent. +\parseargdef\exampleindent{% + \def\temp{#1}% + \ifx\temp\asisword + \else + \ifx\temp\noneword + \lispnarrowing = 0pt + \else + \lispnarrowing = #1em + \fi + \fi +} + +% @firstparagraphindent WORD +% If WORD is `none', then suppress indentation of the first paragraph +% after a section heading. If WORD is `insert', then do indent at such +% paragraphs. +% +% The paragraph indentation is suppressed or not by calling +% \suppressfirstparagraphindent, which the sectioning commands do. +% We switch the definition of this back and forth according to WORD. +% By default, we suppress indentation. +% +\def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent} +\def\insertword{insert} +% +\parseargdef\firstparagraphindent{% + \def\temp{#1}% + \ifx\temp\noneword + \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent + \else\ifx\temp\insertword + \let\suppressfirstparagraphindent = \relax + \else + \errhelp = \EMsimple + \errmessage{Unknown @firstparagraphindent option `\temp'}% + \fi\fi +} + +% Here is how we actually suppress indentation. Redefine \everypar to +% \kern backwards by \parindent, and then reset itself to empty. +% +% We also make \indent itself not actually do anything until the next +% paragraph. +% +\gdef\dosuppressfirstparagraphindent{% + \gdef\indent{% + \restorefirstparagraphindent + \indent + }% + \gdef\noindent{% + \restorefirstparagraphindent + \noindent + }% + \global\everypar = {% + \kern -\parindent + \restorefirstparagraphindent + }% +} + +\gdef\restorefirstparagraphindent{% + \global \let \indent = \ptexindent + \global \let \noindent = \ptexnoindent + \global \everypar = {}% +} + + +% @asis just yields its argument. Used with @table, for example. +% +\def\asis#1{#1} + +% @math outputs its argument in math mode. +% +% One complication: _ usually means subscripts, but it could also mean +% an actual _ character, as in @math{@var{some_variable} + 1}. So make +% _ active, and distinguish by seeing if the current family is \slfam, +% which is what @var uses. +{ + \catcode`\_ = \active + \gdef\mathunderscore{% + \catcode`\_=\active + \def_{\ifnum\fam=\slfam \_\else\sb\fi}% + } +} +% Another complication: we want \\ (and @\) to output a \ character. +% FYI, plain.tex uses \\ as a temporary control sequence (why?), but +% this is not advertised and we don't care. Texinfo does not +% otherwise define @\. +% +% The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\. +\def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi} +% +\def\math{% + \tex + \mathunderscore + \let\\ = \mathbackslash + \mathactive + $\finishmath +} +\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex. + +% Some active characters (such as <) are spaced differently in math. +% We have to reset their definitions in case the @math was an argument +% to a command which sets the catcodes (such as @item or @section). +% +{ + \catcode`^ = \active + \catcode`< = \active + \catcode`> = \active + \catcode`+ = \active + \gdef\mathactive{% + \let^ = \ptexhat + \let< = \ptexless + \let> = \ptexgtr + \let+ = \ptexplus + } +} + +% @bullet and @minus need the same treatment as @math, just above. +\def\bullet{$\ptexbullet$} +\def\minus{$-$} + +% @dots{} outputs an ellipsis using the current font. +% We do .5em per period so that it has the same spacing in the cm +% typewriter fonts as three actual period characters; on the other hand, +% in other typewriter fonts three periods are wider than 1.5em. So do +% whichever is larger. +% +\def\dots{% + \leavevmode + \setbox0=\hbox{...}% get width of three periods + \ifdim\wd0 > 1.5em + \dimen0 = \wd0 + \else + \dimen0 = 1.5em + \fi + \hbox to \dimen0{% + \hskip 0pt plus.25fil + .\hskip 0pt plus1fil + .\hskip 0pt plus1fil + .\hskip 0pt plus.5fil + }% +} + +% @enddots{} is an end-of-sentence ellipsis. +% +\def\enddots{% + \dots + \spacefactor=\endofsentencespacefactor +} + +% @comma{} is so commas can be inserted into text without messing up +% Texinfo's parsing. +% +\let\comma = , + +% @refill is a no-op. +\let\refill=\relax + +% If working on a large document in chapters, it is convenient to +% be able to disable indexing, cross-referencing, and contents, for test runs. +% This is done with @novalidate (before @setfilename). +% +\newif\iflinks \linkstrue % by default we want the aux files. +\let\novalidate = \linksfalse + +% @setfilename is done at the beginning of every texinfo file. +% So open here the files we need to have open while reading the input. +% This makes it possible to make a .fmt file for texinfo. +\def\setfilename{% + \fixbackslash % Turn off hack to swallow `\input texinfo'. + \iflinks + \tryauxfile + % Open the new aux file. TeX will close it automatically at exit. + \immediate\openout\auxfile=\jobname.aux + \fi % \openindices needs to do some work in any case. + \openindices + \let\setfilename=\comment % Ignore extra @setfilename cmds. + % + % If texinfo.cnf is present on the system, read it. + % Useful for site-wide @afourpaper, etc. + \openin 1 texinfo.cnf + \ifeof 1 \else \input texinfo.cnf \fi + \closein 1 + % + \comment % Ignore the actual filename. +} + +% Called from \setfilename. +% +\def\openindices{% + \newindex{cp}% + \newcodeindex{fn}% + \newcodeindex{vr}% + \newcodeindex{tp}% + \newcodeindex{ky}% + \newcodeindex{pg}% +} + +% @bye. +\outer\def\bye{\pagealignmacro\tracingstats=1\ptexend} + + +\message{pdf,} +% adobe `portable' document format +\newcount\tempnum +\newcount\lnkcount +\newtoks\filename +\newcount\filenamelength +\newcount\pgn +\newtoks\toksA +\newtoks\toksB +\newtoks\toksC +\newtoks\toksD +\newbox\boxA +\newcount\countA +\newif\ifpdf +\newif\ifpdfmakepagedest + +% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1 +% can be set). So we test for \relax and 0 as well as \undefined, +% borrowed from ifpdf.sty. +\ifx\pdfoutput\undefined +\else + \ifx\pdfoutput\relax + \else + \ifcase\pdfoutput + \else + \pdftrue + \fi + \fi +\fi + +% PDF uses PostScript string constants for the names of xref targets, +% for display in the outlines, and in other places. Thus, we have to +% double any backslashes. Otherwise, a name like "\node" will be +% interpreted as a newline (\n), followed by o, d, e. Not good. +% http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html +% (and related messages, the final outcome is that it is up to the TeX +% user to double the backslashes and otherwise make the string valid, so +% that's what we do). + +% double active backslashes. +% +{\catcode`\@=0 \catcode`\\=\active + @gdef@activebackslashdouble{% + @catcode`@\=@active + @let\=@doublebackslash} +} + +% To handle parens, we must adopt a different approach, since parens are +% not active characters. hyperref.dtx (which has the same problem as +% us) handles it with this amazing macro to replace tokens, with minor +% changes for Texinfo. It is included here under the GPL by permission +% from the author, Heiko Oberdiek. +% +% #1 is the tokens to replace. +% #2 is the replacement. +% #3 is the control sequence with the string. +% +\def\HyPsdSubst#1#2#3{% + \def\HyPsdReplace##1#1##2\END{% + ##1% + \ifx\\##2\\% + \else + #2% + \HyReturnAfterFi{% + \HyPsdReplace##2\END + }% + \fi + }% + \xdef#3{\expandafter\HyPsdReplace#3#1\END}% +} +\long\def\HyReturnAfterFi#1\fi{\fi#1} + +% #1 is a control sequence in which to do the replacements. +\def\backslashparens#1{% + \xdef#1{#1}% redefine it as its expansion; the definition is simply + % \lastnode when called from \setref -> \pdfmkdest. + \HyPsdSubst{(}{\realbackslash(}{#1}% + \HyPsdSubst{)}{\realbackslash)}{#1}% +} + +\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images +with PDF output, and none of those formats could be found. (.eps cannot +be supported due to the design of the PDF format; use regular TeX (DVI +output) for that.)} + +\ifpdf + % + % Color manipulation macros based on pdfcolor.tex. + \def\cmykDarkRed{0.28 1 1 0.35} + \def\cmykBlack{0 0 0 1} + % + \def\pdfsetcolor#1{\pdfliteral{#1 k}} + % Set color, and create a mark which defines \thiscolor accordingly, + % so that \makeheadline knows which color to restore. + \def\setcolor#1{% + \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}% + \domark + \pdfsetcolor{#1}% + } + % + \def\maincolor{\cmykBlack} + \pdfsetcolor{\maincolor} + \edef\thiscolor{\maincolor} + \def\lastcolordefs{} + % + \def\makefootline{% + \baselineskip24pt + \line{\pdfsetcolor{\maincolor}\the\footline}% + } + % + \def\makeheadline{% + \vbox to 0pt{% + \vskip-22.5pt + \line{% + \vbox to8.5pt{}% + % Extract \thiscolor definition from the marks. + \getcolormarks + % Typeset the headline with \maincolor, then restore the color. + \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}% + }% + \vss + }% + \nointerlineskip + } + % + % + \pdfcatalog{/PageMode /UseOutlines} + % + % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto). + \def\dopdfimage#1#2#3{% + \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}% + \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}% + % + % pdftex (and the PDF format) support .png, .jpg, .pdf (among + % others). Let's try in that order. + \let\pdfimgext=\empty + \begingroup + \openin 1 #1.png \ifeof 1 + \openin 1 #1.jpg \ifeof 1 + \openin 1 #1.jpeg \ifeof 1 + \openin 1 #1.JPG \ifeof 1 + \openin 1 #1.pdf \ifeof 1 + \errhelp = \nopdfimagehelp + \errmessage{Could not find image file #1 for pdf}% + \else \gdef\pdfimgext{pdf}% + \fi + \else \gdef\pdfimgext{JPG}% + \fi + \else \gdef\pdfimgext{jpeg}% + \fi + \else \gdef\pdfimgext{jpg}% + \fi + \else \gdef\pdfimgext{png}% + \fi + \closein 1 + \endgroup + % + % without \immediate, pdftex seg faults when the same image is + % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) + \ifnum\pdftexversion < 14 + \immediate\pdfimage + \else + \immediate\pdfximage + \fi + \ifdim \wd0 >0pt width \imagewidth \fi + \ifdim \wd2 >0pt height \imageheight \fi + \ifnum\pdftexversion<13 + #1.\pdfimgext + \else + {#1.\pdfimgext}% + \fi + \ifnum\pdftexversion < 14 \else + \pdfrefximage \pdflastximage + \fi} + % + \def\pdfmkdest#1{{% + % We have to set dummies so commands such as @code, and characters + % such as \, aren't expanded when present in a section title. + \indexnofonts + \turnoffactive + \activebackslashdouble + \makevalueexpandable + \def\pdfdestname{#1}% + \backslashparens\pdfdestname + \safewhatsit{\pdfdest name{\pdfdestname} xyz}% + }} + % + % used to mark target names; must be expandable. + \def\pdfmkpgn#1{#1} + % + % by default, use a color that is dark enough to print on paper as + % nearly black, but still distinguishable for online viewing. + \def\urlcolor{\cmykDarkRed} + \def\linkcolor{\cmykDarkRed} + \def\endlink{\setcolor{\maincolor}\pdfendlink} + % + % Adding outlines to PDF; macros for calculating structure of outlines + % come from Petr Olsak + \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0% + \else \csname#1\endcsname \fi} + \def\advancenumber#1{\tempnum=\expnumber{#1}\relax + \advance\tempnum by 1 + \expandafter\xdef\csname#1\endcsname{\the\tempnum}} + % + % #1 is the section text, which is what will be displayed in the + % outline by the pdf viewer. #2 is the pdf expression for the number + % of subentries (or empty, for subsubsections). #3 is the node text, + % which might be empty if this toc entry had no corresponding node. + % #4 is the page number + % + \def\dopdfoutline#1#2#3#4{% + % Generate a link to the node text if that exists; else, use the + % page number. We could generate a destination for the section + % text in the case where a section has no node, but it doesn't + % seem worth the trouble, since most documents are normally structured. + \def\pdfoutlinedest{#3}% + \ifx\pdfoutlinedest\empty + \def\pdfoutlinedest{#4}% + \else + % Doubled backslashes in the name. + {\activebackslashdouble \xdef\pdfoutlinedest{#3}% + \backslashparens\pdfoutlinedest}% + \fi + % + % Also double the backslashes in the display string. + {\activebackslashdouble \xdef\pdfoutlinetext{#1}% + \backslashparens\pdfoutlinetext}% + % + \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}% + } + % + \def\pdfmakeoutlines{% + \begingroup + % Thanh's hack / proper braces in bookmarks + \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace + \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace + % + % Read toc silently, to get counts of subentries for \pdfoutline. + \def\numchapentry##1##2##3##4{% + \def\thischapnum{##2}% + \def\thissecnum{0}% + \def\thissubsecnum{0}% + }% + \def\numsecentry##1##2##3##4{% + \advancenumber{chap\thischapnum}% + \def\thissecnum{##2}% + \def\thissubsecnum{0}% + }% + \def\numsubsecentry##1##2##3##4{% + \advancenumber{sec\thissecnum}% + \def\thissubsecnum{##2}% + }% + \def\numsubsubsecentry##1##2##3##4{% + \advancenumber{subsec\thissubsecnum}% + }% + \def\thischapnum{0}% + \def\thissecnum{0}% + \def\thissubsecnum{0}% + % + % use \def rather than \let here because we redefine \chapentry et + % al. a second time, below. + \def\appentry{\numchapentry}% + \def\appsecentry{\numsecentry}% + \def\appsubsecentry{\numsubsecentry}% + \def\appsubsubsecentry{\numsubsubsecentry}% + \def\unnchapentry{\numchapentry}% + \def\unnsecentry{\numsecentry}% + \def\unnsubsecentry{\numsubsecentry}% + \def\unnsubsubsecentry{\numsubsubsecentry}% + \readdatafile{toc}% + % + % Read toc second time, this time actually producing the outlines. + % The `-' means take the \expnumber as the absolute number of + % subentries, which we calculated on our first read of the .toc above. + % + % We use the node names as the destinations. + \def\numchapentry##1##2##3##4{% + \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}% + \def\numsecentry##1##2##3##4{% + \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}% + \def\numsubsecentry##1##2##3##4{% + \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}% + \def\numsubsubsecentry##1##2##3##4{% count is always zero + \dopdfoutline{##1}{}{##3}{##4}}% + % + % PDF outlines are displayed using system fonts, instead of + % document fonts. Therefore we cannot use special characters, + % since the encoding is unknown. For example, the eogonek from + % Latin 2 (0xea) gets translated to a | character. Info from + % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100. + % + % xx to do this right, we have to translate 8-bit characters to + % their "best" equivalent, based on the @documentencoding. Right + % now, I guess we'll just let the pdf reader have its way. + \indexnofonts + \setupdatafile + \catcode`\\=\active \otherbackslash + \input \tocreadfilename + \endgroup + } + % + \def\skipspaces#1{\def\PP{#1}\def\D{|}% + \ifx\PP\D\let\nextsp\relax + \else\let\nextsp\skipspaces + \ifx\p\space\else\addtokens{\filename}{\PP}% + \advance\filenamelength by 1 + \fi + \fi + \nextsp} + \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax} + \ifnum\pdftexversion < 14 + \let \startlink \pdfannotlink + \else + \let \startlink \pdfstartlink + \fi + % make a live url in pdf output. + \def\pdfurl#1{% + \begingroup + % it seems we really need yet another set of dummies; have not + % tried to figure out what each command should do in the context + % of @url. for now, just make @/ a no-op, that's the only one + % people have actually reported a problem with. + % + \normalturnoffactive + \def\@{@}% + \let\/=\empty + \makevalueexpandable + \leavevmode\setcolor{\urlcolor}% + \startlink attr{/Border [0 0 0]}% + user{/Subtype /Link /A << /S /URI /URI (#1) >>}% + \endgroup} + \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}} + \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks} + \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks} + \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}} + \def\maketoks{% + \expandafter\poptoks\the\toksA|ENDTOKS|\relax + \ifx\first0\adn0 + \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3 + \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6 + \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9 + \else + \ifnum0=\countA\else\makelink\fi + \ifx\first.\let\next=\done\else + \let\next=\maketoks + \addtokens{\toksB}{\the\toksD} + \ifx\first,\addtokens{\toksB}{\space}\fi + \fi + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi + \next} + \def\makelink{\addtokens{\toksB}% + {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0} + \def\pdflink#1{% + \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}} + \setcolor{\linkcolor}#1\endlink} + \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st} +\else + \let\pdfmkdest = \gobble + \let\pdfurl = \gobble + \let\endlink = \relax + \let\setcolor = \gobble + \let\pdfsetcolor = \gobble + \let\pdfmakeoutlines = \relax +\fi % \ifx\pdfoutput + + +\message{fonts,} + +% Change the current font style to #1, remembering it in \curfontstyle. +% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in +% italics, not bold italics. +% +\def\setfontstyle#1{% + \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd. + \csname ten#1\endcsname % change the current font +} + +% Select #1 fonts with the current style. +% +\def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname} + +\def\rm{\fam=0 \setfontstyle{rm}} +\def\it{\fam=\itfam \setfontstyle{it}} +\def\sl{\fam=\slfam \setfontstyle{sl}} +\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf} +\def\tt{\fam=\ttfam \setfontstyle{tt}} + +% Texinfo sort of supports the sans serif font style, which plain TeX does not. +% So we set up a \sf. +\newfam\sffam +\def\sf{\fam=\sffam \setfontstyle{sf}} +\let\li = \sf % Sometimes we call it \li, not \sf. + +% We don't need math for this font style. +\def\ttsl{\setfontstyle{ttsl}} + + +% Default leading. +\newdimen\textleading \textleading = 13.2pt + +% Set the baselineskip to #1, and the lineskip and strut size +% correspondingly. There is no deep meaning behind these magic numbers +% used as factors; they just match (closely enough) what Knuth defined. +% +\def\lineskipfactor{.08333} +\def\strutheightpercent{.70833} +\def\strutdepthpercent {.29167} +% +% can get a sort of poor man's double spacing by redefining this. +\def\baselinefactor{1} +% +\def\setleading#1{% + \dimen0 = #1\relax + \normalbaselineskip = \baselinefactor\dimen0 + \normallineskip = \lineskipfactor\normalbaselineskip + \normalbaselines + \setbox\strutbox =\hbox{% + \vrule width0pt height\strutheightpercent\baselineskip + depth \strutdepthpercent \baselineskip + }% +} + +% +% PDF CMaps. See also LaTeX's t1.cmap. +% +% \cmapOT1 +\ifpdf + \begingroup + \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. + \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-OT1-0) +%%Title: (TeX-OT1-0 TeX OT1 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (OT1) +/Supplement 0 +>> def +/CMapName /TeX-OT1-0 def +/CMapType 2 def +1 begincodespacerange +<00> <7F> +endcodespacerange +8 beginbfrange +<00> <01> <0393> +<09> <0A> <03A8> +<23> <26> <0023> +<28> <3B> <0028> +<3F> <5B> <003F> +<5D> <5E> <005D> +<61> <7A> <0061> +<7B> <7C> <2013> +endbfrange +40 beginbfchar +<02> <0398> +<03> <039B> +<04> <039E> +<05> <03A0> +<06> <03A3> +<07> <03D2> +<08> <03A6> +<0B> <00660066> +<0C> <00660069> +<0D> <0066006C> +<0E> <006600660069> +<0F> <00660066006C> +<10> <0131> +<11> <0237> +<12> <0060> +<13> <00B4> +<14> <02C7> +<15> <02D8> +<16> <00AF> +<17> <02DA> +<18> <00B8> +<19> <00DF> +<1A> <00E6> +<1B> <0153> +<1C> <00F8> +<1D> <00C6> +<1E> <0152> +<1F> <00D8> +<21> <0021> +<22> <201D> +<27> <2019> +<3C> <00A1> +<3D> <003D> +<3E> <00BF> +<5C> <201C> +<5F> <02D9> +<60> <2018> +<7D> <02DD> +<7E> <007E> +<7F> <00A8> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF + }\endgroup + \expandafter\edef\csname cmapOT1\endcsname#1{% + \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% + }% +% +% \cmapOT1IT + \begingroup + \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. + \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-OT1IT-0) +%%Title: (TeX-OT1IT-0 TeX OT1IT 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (OT1IT) +/Supplement 0 +>> def +/CMapName /TeX-OT1IT-0 def +/CMapType 2 def +1 begincodespacerange +<00> <7F> +endcodespacerange +8 beginbfrange +<00> <01> <0393> +<09> <0A> <03A8> +<25> <26> <0025> +<28> <3B> <0028> +<3F> <5B> <003F> +<5D> <5E> <005D> +<61> <7A> <0061> +<7B> <7C> <2013> +endbfrange +42 beginbfchar +<02> <0398> +<03> <039B> +<04> <039E> +<05> <03A0> +<06> <03A3> +<07> <03D2> +<08> <03A6> +<0B> <00660066> +<0C> <00660069> +<0D> <0066006C> +<0E> <006600660069> +<0F> <00660066006C> +<10> <0131> +<11> <0237> +<12> <0060> +<13> <00B4> +<14> <02C7> +<15> <02D8> +<16> <00AF> +<17> <02DA> +<18> <00B8> +<19> <00DF> +<1A> <00E6> +<1B> <0153> +<1C> <00F8> +<1D> <00C6> +<1E> <0152> +<1F> <00D8> +<21> <0021> +<22> <201D> +<23> <0023> +<24> <00A3> +<27> <2019> +<3C> <00A1> +<3D> <003D> +<3E> <00BF> +<5C> <201C> +<5F> <02D9> +<60> <2018> +<7D> <02DD> +<7E> <007E> +<7F> <00A8> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF + }\endgroup + \expandafter\edef\csname cmapOT1IT\endcsname#1{% + \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% + }% +% +% \cmapOT1TT + \begingroup + \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char. + \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap +%%DocumentNeededResources: ProcSet (CIDInit) +%%IncludeResource: ProcSet (CIDInit) +%%BeginResource: CMap (TeX-OT1TT-0) +%%Title: (TeX-OT1TT-0 TeX OT1TT 0) +%%Version: 1.000 +%%EndComments +/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (TeX) +/Ordering (OT1TT) +/Supplement 0 +>> def +/CMapName /TeX-OT1TT-0 def +/CMapType 2 def +1 begincodespacerange +<00> <7F> +endcodespacerange +5 beginbfrange +<00> <01> <0393> +<09> <0A> <03A8> +<21> <26> <0021> +<28> <5F> <0028> +<61> <7E> <0061> +endbfrange +32 beginbfchar +<02> <0398> +<03> <039B> +<04> <039E> +<05> <03A0> +<06> <03A3> +<07> <03D2> +<08> <03A6> +<0B> <2191> +<0C> <2193> +<0D> <0027> +<0E> <00A1> +<0F> <00BF> +<10> <0131> +<11> <0237> +<12> <0060> +<13> <00B4> +<14> <02C7> +<15> <02D8> +<16> <00AF> +<17> <02DA> +<18> <00B8> +<19> <00DF> +<1A> <00E6> +<1B> <0153> +<1C> <00F8> +<1D> <00C6> +<1E> <0152> +<1F> <00D8> +<20> <2423> +<27> <2019> +<60> <2018> +<7F> <00A8> +endbfchar +endcmap +CMapName currentdict /CMap defineresource pop +end +end +%%EndResource +%%EOF + }\endgroup + \expandafter\edef\csname cmapOT1TT\endcsname#1{% + \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}% + }% +\else + \expandafter\let\csname cmapOT1\endcsname\gobble + \expandafter\let\csname cmapOT1IT\endcsname\gobble + \expandafter\let\csname cmapOT1TT\endcsname\gobble +\fi + + +% Set the font macro #1 to the font named #2, adding on the +% specified font prefix (normally `cm'). +% #3 is the font's design size, #4 is a scale factor, #5 is the CMap +% encoding (currently only OT1, OT1IT and OT1TT are allowed, pass +% empty to omit). +\def\setfont#1#2#3#4#5{% + \font#1=\fontprefix#2#3 scaled #4 + \csname cmap#5\endcsname#1% +} +% This is what gets called when #5 of \setfont is empty. +\let\cmap\gobble + + +% Use cm as the default font prefix. +% To specify the font prefix, you must define \fontprefix +% before you read in texinfo.tex. +\ifx\fontprefix\undefined +\def\fontprefix{cm} +\fi +% Support font families that don't use the same naming scheme as CM. +\def\rmshape{r} +\def\rmbshape{bx} %where the normal face is bold +\def\bfshape{b} +\def\bxshape{bx} +\def\ttshape{tt} +\def\ttbshape{tt} +\def\ttslshape{sltt} +\def\itshape{ti} +\def\itbshape{bxti} +\def\slshape{sl} +\def\slbshape{bxsl} +\def\sfshape{ss} +\def\sfbshape{ss} +\def\scshape{csc} +\def\scbshape{csc} + +% Definitions for a main text size of 11pt. This is the default in +% Texinfo. +% +\def\definetextfontsizexi{% +% Text fonts (11.2pt, magstep1). +\def\textnominalsize{11pt} +\edef\mainmagstep{\magstephalf} +\setfont\textrm\rmshape{10}{\mainmagstep}{OT1} +\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} +\setfont\textbf\bfshape{10}{\mainmagstep}{OT1} +\setfont\textit\itshape{10}{\mainmagstep}{OT1IT} +\setfont\textsl\slshape{10}{\mainmagstep}{OT1} +\setfont\textsf\sfshape{10}{\mainmagstep}{OT1} +\setfont\textsc\scshape{10}{\mainmagstep}{OT1} +\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} +\font\texti=cmmi10 scaled \mainmagstep +\font\textsy=cmsy10 scaled \mainmagstep +\def\textecsize{1095} + +% A few fonts for @defun names and args. +\setfont\defbf\bfshape{10}{\magstep1}{OT1} +\setfont\deftt\ttshape{10}{\magstep1}{OT1TT} +\setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT} +\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} + +% Fonts for indices, footnotes, small examples (9pt). +\def\smallnominalsize{9pt} +\setfont\smallrm\rmshape{9}{1000}{OT1} +\setfont\smalltt\ttshape{9}{1000}{OT1TT} +\setfont\smallbf\bfshape{10}{900}{OT1} +\setfont\smallit\itshape{9}{1000}{OT1IT} +\setfont\smallsl\slshape{9}{1000}{OT1} +\setfont\smallsf\sfshape{9}{1000}{OT1} +\setfont\smallsc\scshape{10}{900}{OT1} +\setfont\smallttsl\ttslshape{10}{900}{OT1TT} +\font\smalli=cmmi9 +\font\smallsy=cmsy9 +\def\smallecsize{0900} + +% Fonts for small examples (8pt). +\def\smallernominalsize{8pt} +\setfont\smallerrm\rmshape{8}{1000}{OT1} +\setfont\smallertt\ttshape{8}{1000}{OT1TT} +\setfont\smallerbf\bfshape{10}{800}{OT1} +\setfont\smallerit\itshape{8}{1000}{OT1IT} +\setfont\smallersl\slshape{8}{1000}{OT1} +\setfont\smallersf\sfshape{8}{1000}{OT1} +\setfont\smallersc\scshape{10}{800}{OT1} +\setfont\smallerttsl\ttslshape{10}{800}{OT1TT} +\font\smalleri=cmmi8 +\font\smallersy=cmsy8 +\def\smallerecsize{0800} + +% Fonts for title page (20.4pt): +\def\titlenominalsize{20pt} +\setfont\titlerm\rmbshape{12}{\magstep3}{OT1} +\setfont\titleit\itbshape{10}{\magstep4}{OT1IT} +\setfont\titlesl\slbshape{10}{\magstep4}{OT1} +\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} +\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} +\setfont\titlesf\sfbshape{17}{\magstep1}{OT1} +\let\titlebf=\titlerm +\setfont\titlesc\scbshape{10}{\magstep4}{OT1} +\font\titlei=cmmi12 scaled \magstep3 +\font\titlesy=cmsy10 scaled \magstep4 +\def\authorrm{\secrm} +\def\authortt{\sectt} +\def\titleecsize{2074} + +% Chapter (and unnumbered) fonts (17.28pt). +\def\chapnominalsize{17pt} +\setfont\chaprm\rmbshape{12}{\magstep2}{OT1} +\setfont\chapit\itbshape{10}{\magstep3}{OT1IT} +\setfont\chapsl\slbshape{10}{\magstep3}{OT1} +\setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT} +\setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT} +\setfont\chapsf\sfbshape{17}{1000}{OT1} +\let\chapbf=\chaprm +\setfont\chapsc\scbshape{10}{\magstep3}{OT1} +\font\chapi=cmmi12 scaled \magstep2 +\font\chapsy=cmsy10 scaled \magstep3 +\def\chapecsize{1728} + +% Section fonts (14.4pt). +\def\secnominalsize{14pt} +\setfont\secrm\rmbshape{12}{\magstep1}{OT1} +\setfont\secit\itbshape{10}{\magstep2}{OT1IT} +\setfont\secsl\slbshape{10}{\magstep2}{OT1} +\setfont\sectt\ttbshape{12}{\magstep1}{OT1TT} +\setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT} +\setfont\secsf\sfbshape{12}{\magstep1}{OT1} +\let\secbf\secrm +\setfont\secsc\scbshape{10}{\magstep2}{OT1} +\font\seci=cmmi12 scaled \magstep1 +\font\secsy=cmsy10 scaled \magstep2 +\def\sececsize{1440} + +% Subsection fonts (13.15pt). +\def\ssecnominalsize{13pt} +\setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1} +\setfont\ssecit\itbshape{10}{1315}{OT1IT} +\setfont\ssecsl\slbshape{10}{1315}{OT1} +\setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT} +\setfont\ssecttsl\ttslshape{10}{1315}{OT1TT} +\setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1} +\let\ssecbf\ssecrm +\setfont\ssecsc\scbshape{10}{1315}{OT1} +\font\sseci=cmmi12 scaled \magstephalf +\font\ssecsy=cmsy10 scaled 1315 +\def\ssececsize{1200} + +% Reduced fonts for @acro in text (10pt). +\def\reducednominalsize{10pt} +\setfont\reducedrm\rmshape{10}{1000}{OT1} +\setfont\reducedtt\ttshape{10}{1000}{OT1TT} +\setfont\reducedbf\bfshape{10}{1000}{OT1} +\setfont\reducedit\itshape{10}{1000}{OT1IT} +\setfont\reducedsl\slshape{10}{1000}{OT1} +\setfont\reducedsf\sfshape{10}{1000}{OT1} +\setfont\reducedsc\scshape{10}{1000}{OT1} +\setfont\reducedttsl\ttslshape{10}{1000}{OT1TT} +\font\reducedi=cmmi10 +\font\reducedsy=cmsy10 +\def\reducedecsize{1000} + +% reset the current fonts +\textfonts +\rm +} % end of 11pt text font size definitions + + +% Definitions to make the main text be 10pt Computer Modern, with +% section, chapter, etc., sizes following suit. This is for the GNU +% Press printing of the Emacs 22 manual. Maybe other manuals in the +% future. Used with @smallbook, which sets the leading to 12pt. +% +\def\definetextfontsizex{% +% Text fonts (10pt). +\def\textnominalsize{10pt} +\edef\mainmagstep{1000} +\setfont\textrm\rmshape{10}{\mainmagstep}{OT1} +\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT} +\setfont\textbf\bfshape{10}{\mainmagstep}{OT1} +\setfont\textit\itshape{10}{\mainmagstep}{OT1IT} +\setfont\textsl\slshape{10}{\mainmagstep}{OT1} +\setfont\textsf\sfshape{10}{\mainmagstep}{OT1} +\setfont\textsc\scshape{10}{\mainmagstep}{OT1} +\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT} +\font\texti=cmmi10 scaled \mainmagstep +\font\textsy=cmsy10 scaled \mainmagstep +\def\textecsize{1000} + +% A few fonts for @defun names and args. +\setfont\defbf\bfshape{10}{\magstephalf}{OT1} +\setfont\deftt\ttshape{10}{\magstephalf}{OT1TT} +\setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT} +\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf} + +% Fonts for indices, footnotes, small examples (9pt). +\def\smallnominalsize{9pt} +\setfont\smallrm\rmshape{9}{1000}{OT1} +\setfont\smalltt\ttshape{9}{1000}{OT1TT} +\setfont\smallbf\bfshape{10}{900}{OT1} +\setfont\smallit\itshape{9}{1000}{OT1IT} +\setfont\smallsl\slshape{9}{1000}{OT1} +\setfont\smallsf\sfshape{9}{1000}{OT1} +\setfont\smallsc\scshape{10}{900}{OT1} +\setfont\smallttsl\ttslshape{10}{900}{OT1TT} +\font\smalli=cmmi9 +\font\smallsy=cmsy9 +\def\smallecsize{0900} + +% Fonts for small examples (8pt). +\def\smallernominalsize{8pt} +\setfont\smallerrm\rmshape{8}{1000}{OT1} +\setfont\smallertt\ttshape{8}{1000}{OT1TT} +\setfont\smallerbf\bfshape{10}{800}{OT1} +\setfont\smallerit\itshape{8}{1000}{OT1IT} +\setfont\smallersl\slshape{8}{1000}{OT1} +\setfont\smallersf\sfshape{8}{1000}{OT1} +\setfont\smallersc\scshape{10}{800}{OT1} +\setfont\smallerttsl\ttslshape{10}{800}{OT1TT} +\font\smalleri=cmmi8 +\font\smallersy=cmsy8 +\def\smallerecsize{0800} + +% Fonts for title page (20.4pt): +\def\titlenominalsize{20pt} +\setfont\titlerm\rmbshape{12}{\magstep3}{OT1} +\setfont\titleit\itbshape{10}{\magstep4}{OT1IT} +\setfont\titlesl\slbshape{10}{\magstep4}{OT1} +\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT} +\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT} +\setfont\titlesf\sfbshape{17}{\magstep1}{OT1} +\let\titlebf=\titlerm +\setfont\titlesc\scbshape{10}{\magstep4}{OT1} +\font\titlei=cmmi12 scaled \magstep3 +\font\titlesy=cmsy10 scaled \magstep4 +\def\authorrm{\secrm} +\def\authortt{\sectt} +\def\titleecsize{2074} + +% Chapter fonts (14.4pt). +\def\chapnominalsize{14pt} +\setfont\chaprm\rmbshape{12}{\magstep1}{OT1} +\setfont\chapit\itbshape{10}{\magstep2}{OT1IT} +\setfont\chapsl\slbshape{10}{\magstep2}{OT1} +\setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT} +\setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT} +\setfont\chapsf\sfbshape{12}{\magstep1}{OT1} +\let\chapbf\chaprm +\setfont\chapsc\scbshape{10}{\magstep2}{OT1} +\font\chapi=cmmi12 scaled \magstep1 +\font\chapsy=cmsy10 scaled \magstep2 +\def\chapecsize{1440} + +% Section fonts (12pt). +\def\secnominalsize{12pt} +\setfont\secrm\rmbshape{12}{1000}{OT1} +\setfont\secit\itbshape{10}{\magstep1}{OT1IT} +\setfont\secsl\slbshape{10}{\magstep1}{OT1} +\setfont\sectt\ttbshape{12}{1000}{OT1TT} +\setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT} +\setfont\secsf\sfbshape{12}{1000}{OT1} +\let\secbf\secrm +\setfont\secsc\scbshape{10}{\magstep1}{OT1} +\font\seci=cmmi12 +\font\secsy=cmsy10 scaled \magstep1 +\def\sececsize{1200} + +% Subsection fonts (10pt). +\def\ssecnominalsize{10pt} +\setfont\ssecrm\rmbshape{10}{1000}{OT1} +\setfont\ssecit\itbshape{10}{1000}{OT1IT} +\setfont\ssecsl\slbshape{10}{1000}{OT1} +\setfont\ssectt\ttbshape{10}{1000}{OT1TT} +\setfont\ssecttsl\ttslshape{10}{1000}{OT1TT} +\setfont\ssecsf\sfbshape{10}{1000}{OT1} +\let\ssecbf\ssecrm +\setfont\ssecsc\scbshape{10}{1000}{OT1} +\font\sseci=cmmi10 +\font\ssecsy=cmsy10 +\def\ssececsize{1000} + +% Reduced fonts for @acro in text (9pt). +\def\reducednominalsize{9pt} +\setfont\reducedrm\rmshape{9}{1000}{OT1} +\setfont\reducedtt\ttshape{9}{1000}{OT1TT} +\setfont\reducedbf\bfshape{10}{900}{OT1} +\setfont\reducedit\itshape{9}{1000}{OT1IT} +\setfont\reducedsl\slshape{9}{1000}{OT1} +\setfont\reducedsf\sfshape{9}{1000}{OT1} +\setfont\reducedsc\scshape{10}{900}{OT1} +\setfont\reducedttsl\ttslshape{10}{900}{OT1TT} +\font\reducedi=cmmi9 +\font\reducedsy=cmsy9 +\def\reducedecsize{0900} + +% reduce space between paragraphs +\divide\parskip by 2 + +% reset the current fonts +\textfonts +\rm +} % end of 10pt text font size definitions + + +% We provide the user-level command +% @fonttextsize 10 +% (or 11) to redefine the text font size. pt is assumed. +% +\def\xword{10} +\def\xiword{11} +% +\parseargdef\fonttextsize{% + \def\textsizearg{#1}% + \wlog{doing @fonttextsize \textsizearg}% + % + % Set \globaldefs so that documents can use this inside @tex, since + % makeinfo 4.8 does not support it, but we need it nonetheless. + % + \begingroup \globaldefs=1 + \ifx\textsizearg\xword \definetextfontsizex + \else \ifx\textsizearg\xiword \definetextfontsizexi + \else + \errhelp=\EMsimple + \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'} + \fi\fi + \endgroup +} + + +% In order for the font changes to affect most math symbols and letters, +% we have to define the \textfont of the standard families. Since +% texinfo doesn't allow for producing subscripts and superscripts except +% in the main text, we don't bother to reset \scriptfont and +% \scriptscriptfont (which would also require loading a lot more fonts). +% +\def\resetmathfonts{% + \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy + \textfont\itfam=\tenit \textfont\slfam=\tensl \textfont\bffam=\tenbf + \textfont\ttfam=\tentt \textfont\sffam=\tensf +} + +% The font-changing commands redefine the meanings of \tenSTYLE, instead +% of just \STYLE. We do this because \STYLE needs to also set the +% current \fam for math mode. Our \STYLE (e.g., \rm) commands hardwire +% \tenSTYLE to set the current font. +% +% Each font-changing command also sets the names \lsize (one size lower) +% and \lllsize (three sizes lower). These relative commands are used in +% the LaTeX logo and acronyms. +% +% This all needs generalizing, badly. +% +\def\textfonts{% + \let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl + \let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc + \let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy + \let\tenttsl=\textttsl + \def\curfontsize{text}% + \def\lsize{reduced}\def\lllsize{smaller}% + \resetmathfonts \setleading{\textleading}} +\def\titlefonts{% + \let\tenrm=\titlerm \let\tenit=\titleit \let\tensl=\titlesl + \let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc + \let\tensf=\titlesf \let\teni=\titlei \let\tensy=\titlesy + \let\tenttsl=\titlettsl + \def\curfontsize{title}% + \def\lsize{chap}\def\lllsize{subsec}% + \resetmathfonts \setleading{25pt}} +\def\titlefont#1{{\titlefonts\rm #1}} +\def\chapfonts{% + \let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl + \let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc + \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy + \let\tenttsl=\chapttsl + \def\curfontsize{chap}% + \def\lsize{sec}\def\lllsize{text}% + \resetmathfonts \setleading{19pt}} +\def\secfonts{% + \let\tenrm=\secrm \let\tenit=\secit \let\tensl=\secsl + \let\tenbf=\secbf \let\tentt=\sectt \let\smallcaps=\secsc + \let\tensf=\secsf \let\teni=\seci \let\tensy=\secsy + \let\tenttsl=\secttsl + \def\curfontsize{sec}% + \def\lsize{subsec}\def\lllsize{reduced}% + \resetmathfonts \setleading{16pt}} +\def\subsecfonts{% + \let\tenrm=\ssecrm \let\tenit=\ssecit \let\tensl=\ssecsl + \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc + \let\tensf=\ssecsf \let\teni=\sseci \let\tensy=\ssecsy + \let\tenttsl=\ssecttsl + \def\curfontsize{ssec}% + \def\lsize{text}\def\lllsize{small}% + \resetmathfonts \setleading{15pt}} +\let\subsubsecfonts = \subsecfonts +\def\reducedfonts{% + \let\tenrm=\reducedrm \let\tenit=\reducedit \let\tensl=\reducedsl + \let\tenbf=\reducedbf \let\tentt=\reducedtt \let\reducedcaps=\reducedsc + \let\tensf=\reducedsf \let\teni=\reducedi \let\tensy=\reducedsy + \let\tenttsl=\reducedttsl + \def\curfontsize{reduced}% + \def\lsize{small}\def\lllsize{smaller}% + \resetmathfonts \setleading{10.5pt}} +\def\smallfonts{% + \let\tenrm=\smallrm \let\tenit=\smallit \let\tensl=\smallsl + \let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc + \let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy + \let\tenttsl=\smallttsl + \def\curfontsize{small}% + \def\lsize{smaller}\def\lllsize{smaller}% + \resetmathfonts \setleading{10.5pt}} +\def\smallerfonts{% + \let\tenrm=\smallerrm \let\tenit=\smallerit \let\tensl=\smallersl + \let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc + \let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy + \let\tenttsl=\smallerttsl + \def\curfontsize{smaller}% + \def\lsize{smaller}\def\lllsize{smaller}% + \resetmathfonts \setleading{9.5pt}} + +% Set the fonts to use with the @small... environments. +\let\smallexamplefonts = \smallfonts + +% About \smallexamplefonts. If we use \smallfonts (9pt), @smallexample +% can fit this many characters: +% 8.5x11=86 smallbook=72 a4=90 a5=69 +% If we use \scriptfonts (8pt), then we can fit this many characters: +% 8.5x11=90+ smallbook=80 a4=90+ a5=77 +% For me, subjectively, the few extra characters that fit aren't worth +% the additional smallness of 8pt. So I'm making the default 9pt. +% +% By the way, for comparison, here's what fits with @example (10pt): +% 8.5x11=71 smallbook=60 a4=75 a5=58 +% +% I wish the USA used A4 paper. +% --karl, 24jan03. + + +% Set up the default fonts, so we can use them for creating boxes. +% +\definetextfontsizexi + +% Define these so they can be easily changed for other fonts. +\def\angleleft{$\langle$} +\def\angleright{$\rangle$} + +% Count depth in font-changes, for error checks +\newcount\fontdepth \fontdepth=0 + +% Fonts for short table of contents. +\setfont\shortcontrm\rmshape{12}{1000}{OT1} +\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12 +\setfont\shortcontsl\slshape{12}{1000}{OT1} +\setfont\shortconttt\ttshape{12}{1000}{OT1TT} + +%% Add scribe-like font environments, plus @l for inline lisp (usually sans +%% serif) and @ii for TeX italic + +% \smartitalic{ARG} outputs arg in italics, followed by an italic correction +% unless the following character is such as not to need one. +\def\smartitalicx{\ifx\next,\else\ifx\next-\else\ifx\next.\else + \ptexslash\fi\fi\fi} +\def\smartslanted#1{{\ifusingtt\ttsl\sl #1}\futurelet\next\smartitalicx} +\def\smartitalic#1{{\ifusingtt\ttsl\it #1}\futurelet\next\smartitalicx} + +% like \smartslanted except unconditionally uses \ttsl. +% @var is set to this for defun arguments. +\def\ttslanted#1{{\ttsl #1}\futurelet\next\smartitalicx} + +% like \smartslanted except unconditionally use \sl. We never want +% ttsl for book titles, do we? +\def\cite#1{{\sl #1}\futurelet\next\smartitalicx} + +\let\i=\smartitalic +\let\slanted=\smartslanted +\let\var=\smartslanted +\let\dfn=\smartslanted +\let\emph=\smartitalic + +% @b, explicit bold. +\def\b#1{{\bf #1}} +\let\strong=\b + +% @sansserif, explicit sans. +\def\sansserif#1{{\sf #1}} + +% We can't just use \exhyphenpenalty, because that only has effect at +% the end of a paragraph. Restore normal hyphenation at the end of the +% group within which \nohyphenation is presumably called. +% +\def\nohyphenation{\hyphenchar\font = -1 \aftergroup\restorehyphenation} +\def\restorehyphenation{\hyphenchar\font = `- } + +% Set sfcode to normal for the chars that usually have another value. +% Can't use plain's \frenchspacing because it uses the `\x notation, and +% sometimes \x has an active definition that messes things up. +% +\catcode`@=11 + \def\plainfrenchspacing{% + \sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m + \sfcode\colonChar=\@m \sfcode\semiChar =\@m \sfcode\commaChar =\@m + \def\endofsentencespacefactor{1000}% for @. and friends + } + \def\plainnonfrenchspacing{% + \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000 + \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250 + \def\endofsentencespacefactor{3000}% for @. and friends + } +\catcode`@=\other +\def\endofsentencespacefactor{3000}% default + +\def\t#1{% + {\tt \rawbackslash \plainfrenchspacing #1}% + \null +} +\def\samp#1{`\tclose{#1}'\null} +\setfont\keyrm\rmshape{8}{1000}{OT1} +\font\keysy=cmsy9 +\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{% + \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{% + \vbox{\hrule\kern-0.4pt + \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}% + \kern-0.4pt\hrule}% + \kern-.06em\raise0.4pt\hbox{\angleright}}}} +\def\key #1{{\nohyphenation \uppercase{#1}}\null} +% The old definition, with no lozenge: +%\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null} +\def\ctrl #1{{\tt \rawbackslash \hat}#1} + +% @file, @option are the same as @samp. +\let\file=\samp +\let\option=\samp + +% @code is a modification of @t, +% which makes spaces the same size as normal in the surrounding text. +\def\tclose#1{% + {% + % Change normal interword space to be same as for the current font. + \spaceskip = \fontdimen2\font + % + % Switch to typewriter. + \tt + % + % But `\ ' produces the large typewriter interword space. + \def\ {{\spaceskip = 0pt{} }}% + % + % Turn off hyphenation. + \nohyphenation + % + \rawbackslash + \plainfrenchspacing + #1% + }% + \null +} + +% We *must* turn on hyphenation at `-' and `_' in @code. +% Otherwise, it is too hard to avoid overfull hboxes +% in the Emacs manual, the Library manual, etc. + +% Unfortunately, TeX uses one parameter (\hyphenchar) to control +% both hyphenation at - and hyphenation within words. +% We must therefore turn them both off (\tclose does that) +% and arrange explicitly to hyphenate at a dash. +% -- rms. +{ + \catcode`\-=\active \catcode`\_=\active + \catcode`\'=\active \catcode`\`=\active + % + \global\def\code{\begingroup + \catcode\rquoteChar=\active \catcode\lquoteChar=\active + \let'\codequoteright \let`\codequoteleft + % + \catcode\dashChar=\active \catcode\underChar=\active + \ifallowcodebreaks + \let-\codedash + \let_\codeunder + \else + \let-\realdash + \let_\realunder + \fi + \codex + } +} + +\def\realdash{-} +\def\codedash{-\discretionary{}{}{}} +\def\codeunder{% + % this is all so @math{@code{var_name}+1} can work. In math mode, _ + % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.) + % will therefore expand the active definition of _, which is us + % (inside @code that is), therefore an endless loop. + \ifusingtt{\ifmmode + \mathchar"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_. + \else\normalunderscore \fi + \discretionary{}{}{}}% + {\_}% +} +\def\codex #1{\tclose{#1}\endgroup} + +% An additional complication: the above will allow breaks after, e.g., +% each of the four underscores in __typeof__. This is undesirable in +% some manuals, especially if they don't have long identifiers in +% general. @allowcodebreaks provides a way to control this. +% +\newif\ifallowcodebreaks \allowcodebreakstrue + +\def\keywordtrue{true} +\def\keywordfalse{false} + +\parseargdef\allowcodebreaks{% + \def\txiarg{#1}% + \ifx\txiarg\keywordtrue + \allowcodebreakstrue + \else\ifx\txiarg\keywordfalse + \allowcodebreaksfalse + \else + \errhelp = \EMsimple + \errmessage{Unknown @allowcodebreaks option `\txiarg'}% + \fi\fi +} + +% @kbd is like @code, except that if the argument is just one @key command, +% then @kbd has no effect. + +% @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always), +% `example' (@kbd uses ttsl only inside of @example and friends), +% or `code' (@kbd uses normal tty font always). +\parseargdef\kbdinputstyle{% + \def\txiarg{#1}% + \ifx\txiarg\worddistinct + \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}% + \else\ifx\txiarg\wordexample + \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}% + \else\ifx\txiarg\wordcode + \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}% + \else + \errhelp = \EMsimple + \errmessage{Unknown @kbdinputstyle option `\txiarg'}% + \fi\fi\fi +} +\def\worddistinct{distinct} +\def\wordexample{example} +\def\wordcode{code} + +% Default is `distinct.' +\kbdinputstyle distinct + +\def\xkey{\key} +\def\kbdfoo#1#2#3\par{\def\one{#1}\def\three{#3}\def\threex{??}% +\ifx\one\xkey\ifx\threex\three \key{#2}% +\else{\tclose{\kbdfont\look}}\fi +\else{\tclose{\kbdfont\look}}\fi} + +% For @indicateurl, @env, @command quotes seem unnecessary, so use \code. +\let\indicateurl=\code +\let\env=\code +\let\command=\code + +% @uref (abbreviation for `urlref') takes an optional (comma-separated) +% second argument specifying the text to display and an optional third +% arg as text to display instead of (rather than in addition to) the url +% itself. First (mandatory) arg is the url. Perhaps eventually put in +% a hypertex \special here. +% +\def\uref#1{\douref #1,,,\finish} +\def\douref#1,#2,#3,#4\finish{\begingroup + \unsepspaces + \pdfurl{#1}% + \setbox0 = \hbox{\ignorespaces #3}% + \ifdim\wd0 > 0pt + \unhbox0 % third arg given, show only that + \else + \setbox0 = \hbox{\ignorespaces #2}% + \ifdim\wd0 > 0pt + \ifpdf + \unhbox0 % PDF: 2nd arg given, show only it + \else + \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url + \fi + \else + \code{#1}% only url given, so show it + \fi + \fi + \endlink +\endgroup} + +% @url synonym for @uref, since that's how everyone uses it. +% +\let\url=\uref + +% rms does not like angle brackets --karl, 17may97. +% So now @email is just like @uref, unless we are pdf. +% +%\def\email#1{\angleleft{\tt #1}\angleright} +\ifpdf + \def\email#1{\doemail#1,,\finish} + \def\doemail#1,#2,#3\finish{\begingroup + \unsepspaces + \pdfurl{mailto:#1}% + \setbox0 = \hbox{\ignorespaces #2}% + \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi + \endlink + \endgroup} +\else + \let\email=\uref +\fi + +% Check if we are currently using a typewriter font. Since all the +% Computer Modern typewriter fonts have zero interword stretch (and +% shrink), and it is reasonable to expect all typewriter fonts to have +% this property, we can check that font parameter. +% +\def\ifmonospace{\ifdim\fontdimen3\font=0pt } + +% Typeset a dimension, e.g., `in' or `pt'. The only reason for the +% argument is to make the input look right: @dmn{pt} instead of @dmn{}pt. +% +\def\dmn#1{\thinspace #1} + +\def\kbd#1{\def\look{#1}\expandafter\kbdfoo\look??\par} + +% @l was never documented to mean ``switch to the Lisp font'', +% and it is not used as such in any manual I can find. We need it for +% Polish suppressed-l. --karl, 22sep96. +%\def\l#1{{\li #1}\null} + +% Explicit font changes: @r, @sc, undocumented @ii. +\def\r#1{{\rm #1}} % roman font +\def\sc#1{{\smallcaps#1}} % smallcaps font +\def\ii#1{{\it #1}} % italic font + +% @acronym for "FBI", "NATO", and the like. +% We print this one point size smaller, since it's intended for +% all-uppercase. +% +\def\acronym#1{\doacronym #1,,\finish} +\def\doacronym#1,#2,#3\finish{% + {\selectfonts\lsize #1}% + \def\temp{#2}% + \ifx\temp\empty \else + \space ({\unsepspaces \ignorespaces \temp \unskip})% + \fi +} + +% @abbr for "Comput. J." and the like. +% No font change, but don't do end-of-sentence spacing. +% +\def\abbr#1{\doabbr #1,,\finish} +\def\doabbr#1,#2,#3\finish{% + {\plainfrenchspacing #1}% + \def\temp{#2}% + \ifx\temp\empty \else + \space ({\unsepspaces \ignorespaces \temp \unskip})% + \fi +} + +% @pounds{} is a sterling sign, which Knuth put in the CM italic font. +% +\def\pounds{{\it\$}} + +% @euro{} comes from a separate font, depending on the current style. +% We use the free feym* fonts from the eurosym package by Henrik +% Theiling, which support regular, slanted, bold and bold slanted (and +% "outlined" (blackboard board, sort of) versions, which we don't need). +% It is available from http://www.ctan.org/tex-archive/fonts/eurosym. +% +% Although only regular is the truly official Euro symbol, we ignore +% that. The Euro is designed to be slightly taller than the regular +% font height. +% +% feymr - regular +% feymo - slanted +% feybr - bold +% feybo - bold slanted +% +% There is no good (free) typewriter version, to my knowledge. +% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide. +% Hmm. +% +% Also doesn't work in math. Do we need to do math with euro symbols? +% Hope not. +% +% +\def\euro{{\eurofont e}} +\def\eurofont{% + % We set the font at each command, rather than predefining it in + % \textfonts and the other font-switching commands, so that + % installations which never need the symbol don't have to have the + % font installed. + % + % There is only one designed size (nominal 10pt), so we always scale + % that to the current nominal size. + % + % By the way, simply using "at 1em" works for cmr10 and the like, but + % does not work for cmbx10 and other extended/shrunken fonts. + % + \def\eurosize{\csname\curfontsize nominalsize\endcsname}% + % + \ifx\curfontstyle\bfstylename + % bold: + \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize + \else + % regular: + \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize + \fi + \thiseurofont +} + +% Hacks for glyphs from the EC fonts similar to \euro. We don't +% use \let for the aliases, because sometimes we redefine the original +% macro, and the alias should reflect the redefinition. +\def\guillemetleft{{\ecfont \char"13}} +\def\guillemotleft{\guillemetleft} +\def\guillemetright{{\ecfont \char"14}} +\def\guillemotright{\guillemetright} +\def\guilsinglleft{{\ecfont \char"0E}} +\def\guilsinglright{{\ecfont \char"0F}} +\def\quotedblbase{{\ecfont \char"12}} +\def\quotesinglbase{{\ecfont \char"0D}} +% +\def\ecfont{% + % We can't distinguish serif/sanserif and italic/slanted, but this + % is used for crude hacks anyway (like adding French and German + % quotes to documents typeset with CM, where we lose kerning), so + % hopefully nobody will notice/care. + \edef\ecsize{\csname\curfontsize ecsize\endcsname}% + \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}% + \ifx\curfontstyle\bfstylename + % bold: + \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize + \else + % regular: + \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize + \fi + \thisecfont +} + +% @registeredsymbol - R in a circle. The font for the R should really +% be smaller yet, but lllsize is the best we can do for now. +% Adapted from the plain.tex definition of \copyright. +% +\def\registeredsymbol{% + $^{{\ooalign{\hfil\raise.07ex\hbox{\selectfonts\lllsize R}% + \hfil\crcr\Orb}}% + }$% +} + +% @textdegree - the normal degrees sign. +% +\def\textdegree{$^\circ$} + +% Laurent Siebenmann reports \Orb undefined with: +% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38 +% so we'll define it if necessary. +% +\ifx\Orb\undefined +\def\Orb{\mathhexbox20D} +\fi + +% Quotes. +\chardef\quotedblleft="5C +\chardef\quotedblright=`\" +\chardef\quoteleft=`\` +\chardef\quoteright=`\' + +\message{page headings,} + +\newskip\titlepagetopglue \titlepagetopglue = 1.5in +\newskip\titlepagebottomglue \titlepagebottomglue = 2pc + +% First the title page. Must do @settitle before @titlepage. +\newif\ifseenauthor +\newif\iffinishedtitlepage + +% Do an implicit @contents or @shortcontents after @end titlepage if the +% user says @setcontentsaftertitlepage or @setshortcontentsaftertitlepage. +% +\newif\ifsetcontentsaftertitlepage + \let\setcontentsaftertitlepage = \setcontentsaftertitlepagetrue +\newif\ifsetshortcontentsaftertitlepage + \let\setshortcontentsaftertitlepage = \setshortcontentsaftertitlepagetrue + +\parseargdef\shorttitlepage{\begingroup\hbox{}\vskip 1.5in \chaprm \centerline{#1}% + \endgroup\page\hbox{}\page} + +\envdef\titlepage{% + % Open one extra group, as we want to close it in the middle of \Etitlepage. + \begingroup + \parindent=0pt \textfonts + % Leave some space at the very top of the page. + \vglue\titlepagetopglue + % No rule at page bottom unless we print one at the top with @title. + \finishedtitlepagetrue + % + % Most title ``pages'' are actually two pages long, with space + % at the top of the second. We don't want the ragged left on the second. + \let\oldpage = \page + \def\page{% + \iffinishedtitlepage\else + \finishtitlepage + \fi + \let\page = \oldpage + \page + \null + }% +} + +\def\Etitlepage{% + \iffinishedtitlepage\else + \finishtitlepage + \fi + % It is important to do the page break before ending the group, + % because the headline and footline are only empty inside the group. + % If we use the new definition of \page, we always get a blank page + % after the title page, which we certainly don't want. + \oldpage + \endgroup + % + % Need this before the \...aftertitlepage checks so that if they are + % in effect the toc pages will come out with page numbers. + \HEADINGSon + % + % If they want short, they certainly want long too. + \ifsetshortcontentsaftertitlepage + \shortcontents + \contents + \global\let\shortcontents = \relax + \global\let\contents = \relax + \fi + % + \ifsetcontentsaftertitlepage + \contents + \global\let\contents = \relax + \global\let\shortcontents = \relax + \fi +} + +\def\finishtitlepage{% + \vskip4pt \hrule height 2pt width \hsize + \vskip\titlepagebottomglue + \finishedtitlepagetrue +} + +%%% Macros to be used within @titlepage: + +\let\subtitlerm=\tenrm +\def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines} + +\def\authorfont{\authorrm \normalbaselineskip = 16pt \normalbaselines + \let\tt=\authortt} + +\parseargdef\title{% + \checkenv\titlepage + \leftline{\titlefonts\rm #1} + % print a rule at the page bottom also. + \finishedtitlepagefalse + \vskip4pt \hrule height 4pt width \hsize \vskip4pt +} + +\parseargdef\subtitle{% + \checkenv\titlepage + {\subtitlefont \rightline{#1}}% +} + +% @author should come last, but may come many times. +% It can also be used inside @quotation. +% +\parseargdef\author{% + \def\temp{\quotation}% + \ifx\thisenv\temp + \def\quotationauthor{#1}% printed in \Equotation. + \else + \checkenv\titlepage + \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi + {\authorfont \leftline{#1}}% + \fi +} + + +%%% Set up page headings and footings. + +\let\thispage=\folio + +\newtoks\evenheadline % headline on even pages +\newtoks\oddheadline % headline on odd pages +\newtoks\evenfootline % footline on even pages +\newtoks\oddfootline % footline on odd pages + +% Now make TeX use those variables +\headline={{\textfonts\rm \ifodd\pageno \the\oddheadline + \else \the\evenheadline \fi}} +\footline={{\textfonts\rm \ifodd\pageno \the\oddfootline + \else \the\evenfootline \fi}\HEADINGShook} +\let\HEADINGShook=\relax + +% Commands to set those variables. +% For example, this is what @headings on does +% @evenheading @thistitle|@thispage|@thischapter +% @oddheading @thischapter|@thispage|@thistitle +% @evenfooting @thisfile|| +% @oddfooting ||@thisfile + + +\def\evenheading{\parsearg\evenheadingxxx} +\def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish} +\def\evenheadingyyy #1\|#2\|#3\|#4\finish{% +\global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} + +\def\oddheading{\parsearg\oddheadingxxx} +\def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish} +\def\oddheadingyyy #1\|#2\|#3\|#4\finish{% +\global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} + +\parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}% + +\def\evenfooting{\parsearg\evenfootingxxx} +\def\evenfootingxxx #1{\evenfootingyyy #1\|\|\|\|\finish} +\def\evenfootingyyy #1\|#2\|#3\|#4\finish{% +\global\evenfootline={\rlap{\centerline{#2}}\line{#1\hfil#3}}} + +\def\oddfooting{\parsearg\oddfootingxxx} +\def\oddfootingxxx #1{\oddfootingyyy #1\|\|\|\|\finish} +\def\oddfootingyyy #1\|#2\|#3\|#4\finish{% + \global\oddfootline = {\rlap{\centerline{#2}}\line{#1\hfil#3}}% + % + % Leave some space for the footline. Hopefully ok to assume + % @evenfooting will not be used by itself. + \global\advance\pageheight by -12pt + \global\advance\vsize by -12pt +} + +\parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}} + +% @evenheadingmarks top \thischapter <- chapter at the top of a page +% @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page +% +% The same set of arguments for: +% +% @oddheadingmarks +% @evenfootingmarks +% @oddfootingmarks +% @everyheadingmarks +% @everyfootingmarks + +\def\evenheadingmarks{\headingmarks{even}{heading}} +\def\oddheadingmarks{\headingmarks{odd}{heading}} +\def\evenfootingmarks{\headingmarks{even}{footing}} +\def\oddfootingmarks{\headingmarks{odd}{footing}} +\def\everyheadingmarks#1 {\headingmarks{even}{heading}{#1} + \headingmarks{odd}{heading}{#1} } +\def\everyfootingmarks#1 {\headingmarks{even}{footing}{#1} + \headingmarks{odd}{footing}{#1} } +% #1 = even/odd, #2 = heading/footing, #3 = top/bottom. +\def\headingmarks#1#2#3 {% + \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname + \global\expandafter\let\csname get#1#2marks\endcsname \temp +} + +\everyheadingmarks bottom +\everyfootingmarks bottom + +% @headings double turns headings on for double-sided printing. +% @headings single turns headings on for single-sided printing. +% @headings off turns them off. +% @headings on same as @headings double, retained for compatibility. +% @headings after turns on double-sided headings after this page. +% @headings doubleafter turns on double-sided headings after this page. +% @headings singleafter turns on single-sided headings after this page. +% By default, they are off at the start of a document, +% and turned `on' after @end titlepage. + +\def\headings #1 {\csname HEADINGS#1\endcsname} + +\def\HEADINGSoff{% +\global\evenheadline={\hfil} \global\evenfootline={\hfil} +\global\oddheadline={\hfil} \global\oddfootline={\hfil}} +\HEADINGSoff +% When we turn headings on, set the page number to 1. +% For double-sided printing, put current file name in lower left corner, +% chapter name on inside top of right hand pages, document +% title on inside top of left hand pages, and page numbers on outside top +% edge of all pages. +\def\HEADINGSdouble{% +\global\pageno=1 +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\folio\hfil\thistitle}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chapoddpage +} +\let\contentsalignmacro = \chappager + +% For single-sided printing, chapter title goes across top left of page, +% page number on top right. +\def\HEADINGSsingle{% +\global\pageno=1 +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\thischapter\hfil\folio}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chappager +} +\def\HEADINGSon{\HEADINGSdouble} + +\def\HEADINGSafter{\let\HEADINGShook=\HEADINGSdoublex} +\let\HEADINGSdoubleafter=\HEADINGSafter +\def\HEADINGSdoublex{% +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\folio\hfil\thistitle}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chapoddpage +} + +\def\HEADINGSsingleafter{\let\HEADINGShook=\HEADINGSsinglex} +\def\HEADINGSsinglex{% +\global\evenfootline={\hfil} +\global\oddfootline={\hfil} +\global\evenheadline={\line{\thischapter\hfil\folio}} +\global\oddheadline={\line{\thischapter\hfil\folio}} +\global\let\contentsalignmacro = \chappager +} + +% Subroutines used in generating headings +% This produces Day Month Year style of output. +% Only define if not already defined, in case a txi-??.tex file has set +% up a different format (e.g., txi-cs.tex does this). +\ifx\today\undefined +\def\today{% + \number\day\space + \ifcase\month + \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr + \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug + \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec + \fi + \space\number\year} +\fi + +% @settitle line... specifies the title of the document, for headings. +% It generates no output of its own. +\def\thistitle{\putwordNoTitle} +\def\settitle{\parsearg{\gdef\thistitle}} + + +\message{tables,} +% Tables -- @table, @ftable, @vtable, @item(x). + +% default indentation of table text +\newdimen\tableindent \tableindent=.8in +% default indentation of @itemize and @enumerate text +\newdimen\itemindent \itemindent=.3in +% margin between end of table item and start of table text. +\newdimen\itemmargin \itemmargin=.1in + +% used internally for \itemindent minus \itemmargin +\newdimen\itemmax + +% Note @table, @ftable, and @vtable define @item, @itemx, etc., with +% these defs. +% They also define \itemindex +% to index the item name in whatever manner is desired (perhaps none). + +\newif\ifitemxneedsnegativevskip + +\def\itemxpar{\par\ifitemxneedsnegativevskip\nobreak\vskip-\parskip\nobreak\fi} + +\def\internalBitem{\smallbreak \parsearg\itemzzz} +\def\internalBitemx{\itemxpar \parsearg\itemzzz} + +\def\itemzzz #1{\begingroup % + \advance\hsize by -\rightskip + \advance\hsize by -\tableindent + \setbox0=\hbox{\itemindicate{#1}}% + \itemindex{#1}% + \nobreak % This prevents a break before @itemx. + % + % If the item text does not fit in the space we have, put it on a line + % by itself, and do not allow a page break either before or after that + % line. We do not start a paragraph here because then if the next + % command is, e.g., @kindex, the whatsit would get put into the + % horizontal list on a line by itself, resulting in extra blank space. + \ifdim \wd0>\itemmax + % + % Make this a paragraph so we get the \parskip glue and wrapping, + % but leave it ragged-right. + \begingroup + \advance\leftskip by-\tableindent + \advance\hsize by\tableindent + \advance\rightskip by0pt plus1fil + \leavevmode\unhbox0\par + \endgroup + % + % We're going to be starting a paragraph, but we don't want the + % \parskip glue -- logically it's part of the @item we just started. + \nobreak \vskip-\parskip + % + % Stop a page break at the \parskip glue coming up. However, if + % what follows is an environment such as @example, there will be no + % \parskip glue; then the negative vskip we just inserted would + % cause the example and the item to crash together. So we use this + % bizarre value of 10001 as a signal to \aboveenvbreak to insert + % \parskip glue after all. Section titles are handled this way also. + % + \penalty 10001 + \endgroup + \itemxneedsnegativevskipfalse + \else + % The item text fits into the space. Start a paragraph, so that the + % following text (if any) will end up on the same line. + \noindent + % Do this with kerns and \unhbox so that if there is a footnote in + % the item text, it can migrate to the main vertical list and + % eventually be printed. + \nobreak\kern-\tableindent + \dimen0 = \itemmax \advance\dimen0 by \itemmargin \advance\dimen0 by -\wd0 + \unhbox0 + \nobreak\kern\dimen0 + \endgroup + \itemxneedsnegativevskiptrue + \fi +} + +\def\item{\errmessage{@item while not in a list environment}} +\def\itemx{\errmessage{@itemx while not in a list environment}} + +% @table, @ftable, @vtable. +\envdef\table{% + \let\itemindex\gobble + \tablecheck{table}% +} +\envdef\ftable{% + \def\itemindex ##1{\doind {fn}{\code{##1}}}% + \tablecheck{ftable}% +} +\envdef\vtable{% + \def\itemindex ##1{\doind {vr}{\code{##1}}}% + \tablecheck{vtable}% +} +\def\tablecheck#1{% + \ifnum \the\catcode`\^^M=\active + \endgroup + \errmessage{This command won't work in this context; perhaps the problem is + that we are \inenvironment\thisenv}% + \def\next{\doignore{#1}}% + \else + \let\next\tablex + \fi + \next +} +\def\tablex#1{% + \def\itemindicate{#1}% + \parsearg\tabley +} +\def\tabley#1{% + {% + \makevalueexpandable + \edef\temp{\noexpand\tablez #1\space\space\space}% + \expandafter + }\temp \endtablez +} +\def\tablez #1 #2 #3 #4\endtablez{% + \aboveenvbreak + \ifnum 0#1>0 \advance \leftskip by #1\mil \fi + \ifnum 0#2>0 \tableindent=#2\mil \fi + \ifnum 0#3>0 \advance \rightskip by #3\mil \fi + \itemmax=\tableindent + \advance \itemmax by -\itemmargin + \advance \leftskip by \tableindent + \exdentamount=\tableindent + \parindent = 0pt + \parskip = \smallskipamount + \ifdim \parskip=0pt \parskip=2pt \fi + \let\item = \internalBitem + \let\itemx = \internalBitemx +} +\def\Etable{\endgraf\afterenvbreak} +\let\Eftable\Etable +\let\Evtable\Etable +\let\Eitemize\Etable +\let\Eenumerate\Etable + +% This is the counter used by @enumerate, which is really @itemize + +\newcount \itemno + +\envdef\itemize{\parsearg\doitemize} + +\def\doitemize#1{% + \aboveenvbreak + \itemmax=\itemindent + \advance\itemmax by -\itemmargin + \advance\leftskip by \itemindent + \exdentamount=\itemindent + \parindent=0pt + \parskip=\smallskipamount + \ifdim\parskip=0pt \parskip=2pt \fi + \def\itemcontents{#1}% + % @itemize with no arg is equivalent to @itemize @bullet. + \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi + \let\item=\itemizeitem +} + +% Definition of @item while inside @itemize and @enumerate. +% +\def\itemizeitem{% + \advance\itemno by 1 % for enumerations + {\let\par=\endgraf \smallbreak}% reasonable place to break + {% + % If the document has an @itemize directly after a section title, a + % \nobreak will be last on the list, and \sectionheading will have + % done a \vskip-\parskip. In that case, we don't want to zero + % parskip, or the item text will crash with the heading. On the + % other hand, when there is normal text preceding the item (as there + % usually is), we do want to zero parskip, or there would be too much + % space. In that case, we won't have a \nobreak before. At least + % that's the theory. + \ifnum\lastpenalty<10000 \parskip=0in \fi + \noindent + \hbox to 0pt{\hss \itemcontents \kern\itemmargin}% + \vadjust{\penalty 1200}}% not good to break after first line of item. + \flushcr +} + +% \splitoff TOKENS\endmark defines \first to be the first token in +% TOKENS, and \rest to be the remainder. +% +\def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}% + +% Allow an optional argument of an uppercase letter, lowercase letter, +% or number, to specify the first label in the enumerated list. No +% argument is the same as `1'. +% +\envparseargdef\enumerate{\enumeratey #1 \endenumeratey} +\def\enumeratey #1 #2\endenumeratey{% + % If we were given no argument, pretend we were given `1'. + \def\thearg{#1}% + \ifx\thearg\empty \def\thearg{1}\fi + % + % Detect if the argument is a single token. If so, it might be a + % letter. Otherwise, the only valid thing it can be is a number. + % (We will always have one token, because of the test we just made. + % This is a good thing, since \splitoff doesn't work given nothing at + % all -- the first parameter is undelimited.) + \expandafter\splitoff\thearg\endmark + \ifx\rest\empty + % Only one token in the argument. It could still be anything. + % A ``lowercase letter'' is one whose \lccode is nonzero. + % An ``uppercase letter'' is one whose \lccode is both nonzero, and + % not equal to itself. + % Otherwise, we assume it's a number. + % + % We need the \relax at the end of the \ifnum lines to stop TeX from + % continuing to look for a . + % + \ifnum\lccode\expandafter`\thearg=0\relax + \numericenumerate % a number (we hope) + \else + % It's a letter. + \ifnum\lccode\expandafter`\thearg=\expandafter`\thearg\relax + \lowercaseenumerate % lowercase letter + \else + \uppercaseenumerate % uppercase letter + \fi + \fi + \else + % Multiple tokens in the argument. We hope it's a number. + \numericenumerate + \fi +} + +% An @enumerate whose labels are integers. The starting integer is +% given in \thearg. +% +\def\numericenumerate{% + \itemno = \thearg + \startenumeration{\the\itemno}% +} + +% The starting (lowercase) letter is in \thearg. +\def\lowercaseenumerate{% + \itemno = \expandafter`\thearg + \startenumeration{% + % Be sure we're not beyond the end of the alphabet. + \ifnum\itemno=0 + \errmessage{No more lowercase letters in @enumerate; get a bigger + alphabet}% + \fi + \char\lccode\itemno + }% +} + +% The starting (uppercase) letter is in \thearg. +\def\uppercaseenumerate{% + \itemno = \expandafter`\thearg + \startenumeration{% + % Be sure we're not beyond the end of the alphabet. + \ifnum\itemno=0 + \errmessage{No more uppercase letters in @enumerate; get a bigger + alphabet} + \fi + \char\uccode\itemno + }% +} + +% Call \doitemize, adding a period to the first argument and supplying the +% common last two arguments. Also subtract one from the initial value in +% \itemno, since @item increments \itemno. +% +\def\startenumeration#1{% + \advance\itemno by -1 + \doitemize{#1.}\flushcr +} + +% @alphaenumerate and @capsenumerate are abbreviations for giving an arg +% to @enumerate. +% +\def\alphaenumerate{\enumerate{a}} +\def\capsenumerate{\enumerate{A}} +\def\Ealphaenumerate{\Eenumerate} +\def\Ecapsenumerate{\Eenumerate} + + +% @multitable macros +% Amy Hendrickson, 8/18/94, 3/6/96 +% +% @multitable ... @end multitable will make as many columns as desired. +% Contents of each column will wrap at width given in preamble. Width +% can be specified either with sample text given in a template line, +% or in percent of \hsize, the current width of text on page. + +% Table can continue over pages but will only break between lines. + +% To make preamble: +% +% Either define widths of columns in terms of percent of \hsize: +% @multitable @columnfractions .25 .3 .45 +% @item ... +% +% Numbers following @columnfractions are the percent of the total +% current hsize to be used for each column. You may use as many +% columns as desired. + + +% Or use a template: +% @multitable {Column 1 template} {Column 2 template} {Column 3 template} +% @item ... +% using the widest term desired in each column. + +% Each new table line starts with @item, each subsequent new column +% starts with @tab. Empty columns may be produced by supplying @tab's +% with nothing between them for as many times as empty columns are needed, +% ie, @tab@tab@tab will produce two empty columns. + +% @item, @tab do not need to be on their own lines, but it will not hurt +% if they are. + +% Sample multitable: + +% @multitable {Column 1 template} {Column 2 template} {Column 3 template} +% @item first col stuff @tab second col stuff @tab third col +% @item +% first col stuff +% @tab +% second col stuff +% @tab +% third col +% @item first col stuff @tab second col stuff +% @tab Many paragraphs of text may be used in any column. +% +% They will wrap at the width determined by the template. +% @item@tab@tab This will be in third column. +% @end multitable + +% Default dimensions may be reset by user. +% @multitableparskip is vertical space between paragraphs in table. +% @multitableparindent is paragraph indent in table. +% @multitablecolmargin is horizontal space to be left between columns. +% @multitablelinespace is space to leave between table items, baseline +% to baseline. +% 0pt means it depends on current normal line spacing. +% +\newskip\multitableparskip +\newskip\multitableparindent +\newdimen\multitablecolspace +\newskip\multitablelinespace +\multitableparskip=0pt +\multitableparindent=6pt +\multitablecolspace=12pt +\multitablelinespace=0pt + +% Macros used to set up halign preamble: +% +\let\endsetuptable\relax +\def\xendsetuptable{\endsetuptable} +\let\columnfractions\relax +\def\xcolumnfractions{\columnfractions} +\newif\ifsetpercent + +% #1 is the @columnfraction, usually a decimal number like .5, but might +% be just 1. We just use it, whatever it is. +% +\def\pickupwholefraction#1 {% + \global\advance\colcount by 1 + \expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}% + \setuptable +} + +\newcount\colcount +\def\setuptable#1{% + \def\firstarg{#1}% + \ifx\firstarg\xendsetuptable + \let\go = \relax + \else + \ifx\firstarg\xcolumnfractions + \global\setpercenttrue + \else + \ifsetpercent + \let\go\pickupwholefraction + \else + \global\advance\colcount by 1 + \setbox0=\hbox{#1\unskip\space}% Add a normal word space as a + % separator; typically that is always in the input, anyway. + \expandafter\xdef\csname col\the\colcount\endcsname{\the\wd0}% + \fi + \fi + \ifx\go\pickupwholefraction + % Put the argument back for the \pickupwholefraction call, so + % we'll always have a period there to be parsed. + \def\go{\pickupwholefraction#1}% + \else + \let\go = \setuptable + \fi% + \fi + \go +} + +% multitable-only commands. +% +% @headitem starts a heading row, which we typeset in bold. +% Assignments have to be global since we are inside the implicit group +% of an alignment entry. Note that \everycr resets \everytab. +\def\headitem{\checkenv\multitable \crcr \global\everytab={\bf}\the\everytab}% +% +% A \tab used to include \hskip1sp. But then the space in a template +% line is not enough. That is bad. So let's go back to just `&' until +% we encounter the problem it was intended to solve again. +% --karl, nathan@acm.org, 20apr99. +\def\tab{\checkenv\multitable &\the\everytab}% + +% @multitable ... @end multitable definitions: +% +\newtoks\everytab % insert after every tab. +% +\envdef\multitable{% + \vskip\parskip + \startsavinginserts + % + % @item within a multitable starts a normal row. + % We use \def instead of \let so that if one of the multitable entries + % contains an @itemize, we don't choke on the \item (seen as \crcr aka + % \endtemplate) expanding \doitemize. + \def\item{\crcr}% + % + \tolerance=9500 + \hbadness=9500 + \setmultitablespacing + \parskip=\multitableparskip + \parindent=\multitableparindent + \overfullrule=0pt + \global\colcount=0 + % + \everycr = {% + \noalign{% + \global\everytab={}% + \global\colcount=0 % Reset the column counter. + % Check for saved footnotes, etc. + \checkinserts + % Keeps underfull box messages off when table breaks over pages. + %\filbreak + % Maybe so, but it also creates really weird page breaks when the + % table breaks over pages. Wouldn't \vfil be better? Wait until the + % problem manifests itself, so it can be fixed for real --karl. + }% + }% + % + \parsearg\domultitable +} +\def\domultitable#1{% + % To parse everything between @multitable and @item: + \setuptable#1 \endsetuptable + % + % This preamble sets up a generic column definition, which will + % be used as many times as user calls for columns. + % \vtop will set a single line and will also let text wrap and + % continue for many paragraphs if desired. + \halign\bgroup &% + \global\advance\colcount by 1 + \multistrut + \vtop{% + % Use the current \colcount to find the correct column width: + \hsize=\expandafter\csname col\the\colcount\endcsname + % + % In order to keep entries from bumping into each other + % we will add a \leftskip of \multitablecolspace to all columns after + % the first one. + % + % If a template has been used, we will add \multitablecolspace + % to the width of each template entry. + % + % If the user has set preamble in terms of percent of \hsize we will + % use that dimension as the width of the column, and the \leftskip + % will keep entries from bumping into each other. Table will start at + % left margin and final column will justify at right margin. + % + % Make sure we don't inherit \rightskip from the outer environment. + \rightskip=0pt + \ifnum\colcount=1 + % The first column will be indented with the surrounding text. + \advance\hsize by\leftskip + \else + \ifsetpercent \else + % If user has not set preamble in terms of percent of \hsize + % we will advance \hsize by \multitablecolspace. + \advance\hsize by \multitablecolspace + \fi + % In either case we will make \leftskip=\multitablecolspace: + \leftskip=\multitablecolspace + \fi + % Ignoring space at the beginning and end avoids an occasional spurious + % blank line, when TeX decides to break the line at the space before the + % box from the multistrut, so the strut ends up on a line by itself. + % For example: + % @multitable @columnfractions .11 .89 + % @item @code{#} + % @tab Legal holiday which is valid in major parts of the whole country. + % Is automatically provided with highlighting sequences respectively + % marking characters. + \noindent\ignorespaces##\unskip\multistrut + }\cr +} +\def\Emultitable{% + \crcr + \egroup % end the \halign + \global\setpercentfalse +} + +\def\setmultitablespacing{% + \def\multistrut{\strut}% just use the standard line spacing + % + % Compute \multitablelinespace (if not defined by user) for use in + % \multitableparskip calculation. We used define \multistrut based on + % this, but (ironically) that caused the spacing to be off. + % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100. +\ifdim\multitablelinespace=0pt +\setbox0=\vbox{X}\global\multitablelinespace=\the\baselineskip +\global\advance\multitablelinespace by-\ht0 +\fi +%% Test to see if parskip is larger than space between lines of +%% table. If not, do nothing. +%% If so, set to same dimension as multitablelinespace. +\ifdim\multitableparskip>\multitablelinespace +\global\multitableparskip=\multitablelinespace +\global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller + %% than skip between lines in the table. +\fi% +\ifdim\multitableparskip=0pt +\global\multitableparskip=\multitablelinespace +\global\advance\multitableparskip-7pt %% to keep parskip somewhat smaller + %% than skip between lines in the table. +\fi} + + +\message{conditionals,} + +% @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotplaintext, +% @ifnotxml always succeed. They currently do nothing; we don't +% attempt to check whether the conditionals are properly nested. But we +% have to remember that they are conditionals, so that @end doesn't +% attempt to close an environment group. +% +\def\makecond#1{% + \expandafter\let\csname #1\endcsname = \relax + \expandafter\let\csname iscond.#1\endcsname = 1 +} +\makecond{iftex} +\makecond{ifnotdocbook} +\makecond{ifnothtml} +\makecond{ifnotinfo} +\makecond{ifnotplaintext} +\makecond{ifnotxml} + +% Ignore @ignore, @ifhtml, @ifinfo, and the like. +% +\def\direntry{\doignore{direntry}} +\def\documentdescription{\doignore{documentdescription}} +\def\docbook{\doignore{docbook}} +\def\html{\doignore{html}} +\def\ifdocbook{\doignore{ifdocbook}} +\def\ifhtml{\doignore{ifhtml}} +\def\ifinfo{\doignore{ifinfo}} +\def\ifnottex{\doignore{ifnottex}} +\def\ifplaintext{\doignore{ifplaintext}} +\def\ifxml{\doignore{ifxml}} +\def\ignore{\doignore{ignore}} +\def\menu{\doignore{menu}} +\def\xml{\doignore{xml}} + +% Ignore text until a line `@end #1', keeping track of nested conditionals. +% +% A count to remember the depth of nesting. +\newcount\doignorecount + +\def\doignore#1{\begingroup + % Scan in ``verbatim'' mode: + \obeylines + \catcode`\@ = \other + \catcode`\{ = \other + \catcode`\} = \other + % + % Make sure that spaces turn into tokens that match what \doignoretext wants. + \spaceisspace + % + % Count number of #1's that we've seen. + \doignorecount = 0 + % + % Swallow text until we reach the matching `@end #1'. + \dodoignore{#1}% +} + +{ \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source. + \obeylines % + % + \gdef\dodoignore#1{% + % #1 contains the command name as a string, e.g., `ifinfo'. + % + % Define a command to find the next `@end #1'. + \long\def\doignoretext##1^^M@end #1{% + \doignoretextyyy##1^^M@#1\_STOP_}% + % + % And this command to find another #1 command, at the beginning of a + % line. (Otherwise, we would consider a line `@c @ifset', for + % example, to count as an @ifset for nesting.) + \long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}% + % + % And now expand that command. + \doignoretext ^^M% + }% +} + +\def\doignoreyyy#1{% + \def\temp{#1}% + \ifx\temp\empty % Nothing found. + \let\next\doignoretextzzz + \else % Found a nested condition, ... + \advance\doignorecount by 1 + \let\next\doignoretextyyy % ..., look for another. + % If we're here, #1 ends with ^^M\ifinfo (for example). + \fi + \next #1% the token \_STOP_ is present just after this macro. +} + +% We have to swallow the remaining "\_STOP_". +% +\def\doignoretextzzz#1{% + \ifnum\doignorecount = 0 % We have just found the outermost @end. + \let\next\enddoignore + \else % Still inside a nested condition. + \advance\doignorecount by -1 + \let\next\doignoretext % Look for the next @end. + \fi + \next +} + +% Finish off ignored text. +{ \obeylines% + % Ignore anything after the last `@end #1'; this matters in verbatim + % environments, where otherwise the newline after an ignored conditional + % would result in a blank line in the output. + \gdef\enddoignore#1^^M{\endgroup\ignorespaces}% +} + + +% @set VAR sets the variable VAR to an empty value. +% @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE. +% +% Since we want to separate VAR from REST-OF-LINE (which might be +% empty), we can't just use \parsearg; we have to insert a space of our +% own to delimit the rest of the line, and then take it out again if we +% didn't need it. +% We rely on the fact that \parsearg sets \catcode`\ =10. +% +\parseargdef\set{\setyyy#1 \endsetyyy} +\def\setyyy#1 #2\endsetyyy{% + {% + \makevalueexpandable + \def\temp{#2}% + \edef\next{\gdef\makecsname{SET#1}}% + \ifx\temp\empty + \next{}% + \else + \setzzz#2\endsetzzz + \fi + }% +} +% Remove the trailing space \setxxx inserted. +\def\setzzz#1 \endsetzzz{\next{#1}} + +% @clear VAR clears (i.e., unsets) the variable VAR. +% +\parseargdef\clear{% + {% + \makevalueexpandable + \global\expandafter\let\csname SET#1\endcsname=\relax + }% +} + +% @value{foo} gets the text saved in variable foo. +\def\value{\begingroup\makevalueexpandable\valuexxx} +\def\valuexxx#1{\expandablevalue{#1}\endgroup} +{ + \catcode`\- = \active \catcode`\_ = \active + % + \gdef\makevalueexpandable{% + \let\value = \expandablevalue + % We don't want these characters active, ... + \catcode`\-=\other \catcode`\_=\other + % ..., but we might end up with active ones in the argument if + % we're called from @code, as @code{@value{foo-bar_}}, though. + % So \let them to their normal equivalents. + \let-\realdash \let_\normalunderscore + } +} + +% We have this subroutine so that we can handle at least some @value's +% properly in indexes (we call \makevalueexpandable in \indexdummies). +% The command has to be fully expandable (if the variable is set), since +% the result winds up in the index file. This means that if the +% variable's value contains other Texinfo commands, it's almost certain +% it will fail (although perhaps we could fix that with sufficient work +% to do a one-level expansion on the result, instead of complete). +% +\def\expandablevalue#1{% + \expandafter\ifx\csname SET#1\endcsname\relax + {[No value for ``#1'']}% + \message{Variable `#1', used in @value, is not set.}% + \else + \csname SET#1\endcsname + \fi +} + +% @ifset VAR ... @end ifset reads the `...' iff VAR has been defined +% with @set. +% +% To get special treatment of `@end ifset,' call \makeond and the redefine. +% +\makecond{ifset} +\def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}} +\def\doifset#1#2{% + {% + \makevalueexpandable + \let\next=\empty + \expandafter\ifx\csname SET#2\endcsname\relax + #1% If not set, redefine \next. + \fi + \expandafter + }\next +} +\def\ifsetfail{\doignore{ifset}} + +% @ifclear VAR ... @end ifclear reads the `...' iff VAR has never been +% defined with @set, or has been undefined with @clear. +% +% The `\else' inside the `\doifset' parameter is a trick to reuse the +% above code: if the variable is not set, do nothing, if it is set, +% then redefine \next to \ifclearfail. +% +\makecond{ifclear} +\def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}} +\def\ifclearfail{\doignore{ifclear}} + +% @dircategory CATEGORY -- specify a category of the dir file +% which this file should belong to. Ignore this in TeX. +\let\dircategory=\comment + +% @defininfoenclose. +\let\definfoenclose=\comment + + +\message{indexing,} +% Index generation facilities + +% Define \newwrite to be identical to plain tex's \newwrite +% except not \outer, so it can be used within macros and \if's. +\edef\newwrite{\makecsname{ptexnewwrite}} + +% \newindex {foo} defines an index named foo. +% It automatically defines \fooindex such that +% \fooindex ...rest of line... puts an entry in the index foo. +% It also defines \fooindfile to be the number of the output channel for +% the file that accumulates this index. The file's extension is foo. +% The name of an index should be no more than 2 characters long +% for the sake of vms. +% +\def\newindex#1{% + \iflinks + \expandafter\newwrite \csname#1indfile\endcsname + \openout \csname#1indfile\endcsname \jobname.#1 % Open the file + \fi + \expandafter\xdef\csname#1index\endcsname{% % Define @#1index + \noexpand\doindex{#1}} +} + +% @defindex foo == \newindex{foo} +% +\def\defindex{\parsearg\newindex} + +% Define @defcodeindex, like @defindex except put all entries in @code. +% +\def\defcodeindex{\parsearg\newcodeindex} +% +\def\newcodeindex#1{% + \iflinks + \expandafter\newwrite \csname#1indfile\endcsname + \openout \csname#1indfile\endcsname \jobname.#1 + \fi + \expandafter\xdef\csname#1index\endcsname{% + \noexpand\docodeindex{#1}}% +} + + +% @synindex foo bar makes index foo feed into index bar. +% Do this instead of @defindex foo if you don't want it as a separate index. +% +% @syncodeindex foo bar similar, but put all entries made for index foo +% inside @code. +% +\def\synindex#1 #2 {\dosynindex\doindex{#1}{#2}} +\def\syncodeindex#1 #2 {\dosynindex\docodeindex{#1}{#2}} + +% #1 is \doindex or \docodeindex, #2 the index getting redefined (foo), +% #3 the target index (bar). +\def\dosynindex#1#2#3{% + % Only do \closeout if we haven't already done it, else we'll end up + % closing the target index. + \expandafter \ifx\csname donesynindex#2\endcsname \undefined + % The \closeout helps reduce unnecessary open files; the limit on the + % Acorn RISC OS is a mere 16 files. + \expandafter\closeout\csname#2indfile\endcsname + \expandafter\let\csname\donesynindex#2\endcsname = 1 + \fi + % redefine \fooindfile: + \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname + \expandafter\let\csname#2indfile\endcsname=\temp + % redefine \fooindex: + \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}% +} + +% Define \doindex, the driver for all \fooindex macros. +% Argument #1 is generated by the calling \fooindex macro, +% and it is "foo", the name of the index. + +% \doindex just uses \parsearg; it calls \doind for the actual work. +% This is because \doind is more useful to call from other macros. + +% There is also \dosubind {index}{topic}{subtopic} +% which makes an entry in a two-level index such as the operation index. + +\def\doindex#1{\edef\indexname{#1}\parsearg\singleindexer} +\def\singleindexer #1{\doind{\indexname}{#1}} + +% like the previous two, but they put @code around the argument. +\def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer} +\def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}} + +% Take care of Texinfo commands that can appear in an index entry. +% Since there are some commands we want to expand, and others we don't, +% we have to laboriously prevent expansion for those that we don't. +% +\def\indexdummies{% + \escapechar = `\\ % use backslash in output files. + \def\@{@}% change to @@ when we switch to @ as escape char in index files. + \def\ {\realbackslash\space }% + % + % Need these in case \tex is in effect and \{ is a \delimiter again. + % But can't use \lbracecmd and \rbracecmd because texindex assumes + % braces and backslashes are used only as delimiters. + \let\{ = \mylbrace + \let\} = \myrbrace + % + % I don't entirely understand this, but when an index entry is + % generated from a macro call, the \endinput which \scanmacro inserts + % causes processing to be prematurely terminated. This is, + % apparently, because \indexsorttmp is fully expanded, and \endinput + % is an expandable command. The redefinition below makes \endinput + % disappear altogether for that purpose -- although logging shows that + % processing continues to some further point. On the other hand, it + % seems \endinput does not hurt in the printed index arg, since that + % is still getting written without apparent harm. + % + % Sample source (mac-idx3.tex, reported by Graham Percival to + % help-texinfo, 22may06): + % @macro funindex {WORD} + % @findex xyz + % @end macro + % ... + % @funindex commtest + % + % The above is not enough to reproduce the bug, but it gives the flavor. + % + % Sample whatsit resulting: + % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}} + % + % So: + \let\endinput = \empty + % + % Do the redefinitions. + \commondummies +} + +% For the aux and toc files, @ is the escape character. So we want to +% redefine everything using @ as the escape character (instead of +% \realbackslash, still used for index files). When everything uses @, +% this will be simpler. +% +\def\atdummies{% + \def\@{@@}% + \def\ {@ }% + \let\{ = \lbraceatcmd + \let\} = \rbraceatcmd + % + % Do the redefinitions. + \commondummies + \otherbackslash +} + +% Called from \indexdummies and \atdummies. +% +\def\commondummies{% + % + % \definedummyword defines \#1 as \string\#1\space, thus effectively + % preventing its expansion. This is used only for control% words, + % not control letters, because the \space would be incorrect for + % control characters, but is needed to separate the control word + % from whatever follows. + % + % For control letters, we have \definedummyletter, which omits the + % space. + % + % These can be used both for control words that take an argument and + % those that do not. If it is followed by {arg} in the input, then + % that will dutifully get written to the index (or wherever). + % + \def\definedummyword ##1{\def##1{\string##1\space}}% + \def\definedummyletter##1{\def##1{\string##1}}% + \let\definedummyaccent\definedummyletter + % + \commondummiesnofonts + % + \definedummyletter\_% + % + % Non-English letters. + \definedummyword\AA + \definedummyword\AE + \definedummyword\L + \definedummyword\OE + \definedummyword\O + \definedummyword\aa + \definedummyword\ae + \definedummyword\l + \definedummyword\oe + \definedummyword\o + \definedummyword\ss + \definedummyword\exclamdown + \definedummyword\questiondown + \definedummyword\ordf + \definedummyword\ordm + % + % Although these internal commands shouldn't show up, sometimes they do. + \definedummyword\bf + \definedummyword\gtr + \definedummyword\hat + \definedummyword\less + \definedummyword\sf + \definedummyword\sl + \definedummyword\tclose + \definedummyword\tt + % + \definedummyword\LaTeX + \definedummyword\TeX + % + % Assorted special characters. + \definedummyword\bullet + \definedummyword\comma + \definedummyword\copyright + \definedummyword\registeredsymbol + \definedummyword\dots + \definedummyword\enddots + \definedummyword\equiv + \definedummyword\error + \definedummyword\euro + \definedummyword\guillemetleft + \definedummyword\guillemetright + \definedummyword\guilsinglleft + \definedummyword\guilsinglright + \definedummyword\expansion + \definedummyword\minus + \definedummyword\pounds + \definedummyword\point + \definedummyword\print + \definedummyword\quotedblbase + \definedummyword\quotedblleft + \definedummyword\quotedblright + \definedummyword\quoteleft + \definedummyword\quoteright + \definedummyword\quotesinglbase + \definedummyword\result + \definedummyword\textdegree + % + % We want to disable all macros so that they are not expanded by \write. + \macrolist + % + \normalturnoffactive + % + % Handle some cases of @value -- where it does not contain any + % (non-fully-expandable) commands. + \makevalueexpandable +} + +% \commondummiesnofonts: common to \commondummies and \indexnofonts. +% +\def\commondummiesnofonts{% + % Control letters and accents. + \definedummyletter\!% + \definedummyaccent\"% + \definedummyaccent\'% + \definedummyletter\*% + \definedummyaccent\,% + \definedummyletter\.% + \definedummyletter\/% + \definedummyletter\:% + \definedummyaccent\=% + \definedummyletter\?% + \definedummyaccent\^% + \definedummyaccent\`% + \definedummyaccent\~% + \definedummyword\u + \definedummyword\v + \definedummyword\H + \definedummyword\dotaccent + \definedummyword\ringaccent + \definedummyword\tieaccent + \definedummyword\ubaraccent + \definedummyword\udotaccent + \definedummyword\dotless + % + % Texinfo font commands. + \definedummyword\b + \definedummyword\i + \definedummyword\r + \definedummyword\sc + \definedummyword\t + % + % Commands that take arguments. + \definedummyword\acronym + \definedummyword\cite + \definedummyword\code + \definedummyword\command + \definedummyword\dfn + \definedummyword\emph + \definedummyword\env + \definedummyword\file + \definedummyword\kbd + \definedummyword\key + \definedummyword\math + \definedummyword\option + \definedummyword\pxref + \definedummyword\ref + \definedummyword\samp + \definedummyword\strong + \definedummyword\tie + \definedummyword\uref + \definedummyword\url + \definedummyword\var + \definedummyword\verb + \definedummyword\w + \definedummyword\xref +} + +% \indexnofonts is used when outputting the strings to sort the index +% by, and when constructing control sequence names. It eliminates all +% control sequences and just writes whatever the best ASCII sort string +% would be for a given command (usually its argument). +% +\def\indexnofonts{% + % Accent commands should become @asis. + \def\definedummyaccent##1{\let##1\asis}% + % We can just ignore other control letters. + \def\definedummyletter##1{\let##1\empty}% + % Hopefully, all control words can become @asis. + \let\definedummyword\definedummyaccent + % + \commondummiesnofonts + % + % Don't no-op \tt, since it isn't a user-level command + % and is used in the definitions of the active chars like <, >, |, etc. + % Likewise with the other plain tex font commands. + %\let\tt=\asis + % + \def\ { }% + \def\@{@}% + % how to handle braces? + \def\_{\normalunderscore}% + % + % Non-English letters. + \def\AA{AA}% + \def\AE{AE}% + \def\L{L}% + \def\OE{OE}% + \def\O{O}% + \def\aa{aa}% + \def\ae{ae}% + \def\l{l}% + \def\oe{oe}% + \def\o{o}% + \def\ss{ss}% + \def\exclamdown{!}% + \def\questiondown{?}% + \def\ordf{a}% + \def\ordm{o}% + % + \def\LaTeX{LaTeX}% + \def\TeX{TeX}% + % + % Assorted special characters. + % (The following {} will end up in the sort string, but that's ok.) + \def\bullet{bullet}% + \def\comma{,}% + \def\copyright{copyright}% + \def\registeredsymbol{R}% + \def\dots{...}% + \def\enddots{...}% + \def\equiv{==}% + \def\error{error}% + \def\euro{euro}% + \def\guillemetleft{<<}% + \def\guillemetright{>>}% + \def\guilsinglleft{<}% + \def\guilsinglright{>}% + \def\expansion{==>}% + \def\minus{-}% + \def\pounds{pounds}% + \def\point{.}% + \def\print{-|}% + \def\quotedblbase{"}% + \def\quotedblleft{"}% + \def\quotedblright{"}% + \def\quoteleft{`}% + \def\quoteright{'}% + \def\quotesinglbase{,}% + \def\result{=>}% + \def\textdegree{degrees}% + % + % We need to get rid of all macros, leaving only the arguments (if present). + % Of course this is not nearly correct, but it is the best we can do for now. + % makeinfo does not expand macros in the argument to @deffn, which ends up + % writing an index entry, and texindex isn't prepared for an index sort entry + % that starts with \. + % + % Since macro invocations are followed by braces, we can just redefine them + % to take a single TeX argument. The case of a macro invocation that + % goes to end-of-line is not handled. + % + \macrolist +} + +\let\indexbackslash=0 %overridden during \printindex. +\let\SETmarginindex=\relax % put index entries in margin (undocumented)? + +% Most index entries go through here, but \dosubind is the general case. +% #1 is the index name, #2 is the entry text. +\def\doind#1#2{\dosubind{#1}{#2}{}} + +% Workhorse for all \fooindexes. +% #1 is name of index, #2 is stuff to put there, #3 is subentry -- +% empty if called from \doind, as we usually are (the main exception +% is with most defuns, which call us directly). +% +\def\dosubind#1#2#3{% + \iflinks + {% + % Store the main index entry text (including the third arg). + \toks0 = {#2}% + % If third arg is present, precede it with a space. + \def\thirdarg{#3}% + \ifx\thirdarg\empty \else + \toks0 = \expandafter{\the\toks0 \space #3}% + \fi + % + \edef\writeto{\csname#1indfile\endcsname}% + % + \safewhatsit\dosubindwrite + }% + \fi +} + +% Write the entry in \toks0 to the index file: +% +\def\dosubindwrite{% + % Put the index entry in the margin if desired. + \ifx\SETmarginindex\relax\else + \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \the\toks0}}% + \fi + % + % Remember, we are within a group. + \indexdummies % Must do this here, since \bf, etc expand at this stage + \def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now + % so it will be output as is; and it will print as backslash. + % + % Process the index entry with all font commands turned off, to + % get the string to sort by. + {\indexnofonts + \edef\temp{\the\toks0}% need full expansion + \xdef\indexsorttmp{\temp}% + }% + % + % Set up the complete index entry, with both the sort key and + % the original text, including any font commands. We write + % three arguments to \entry to the .?? file (four in the + % subentry case), texindex reduces to two when writing the .??s + % sorted result. + \edef\temp{% + \write\writeto{% + \string\entry{\indexsorttmp}{\noexpand\folio}{\the\toks0}}% + }% + \temp +} + +% Take care of unwanted page breaks/skips around a whatsit: +% +% If a skip is the last thing on the list now, preserve it +% by backing up by \lastskip, doing the \write, then inserting +% the skip again. Otherwise, the whatsit generated by the +% \write or \pdfdest will make \lastskip zero. The result is that +% sequences like this: +% @end defun +% @tindex whatever +% @defun ... +% will have extra space inserted, because the \medbreak in the +% start of the @defun won't see the skip inserted by the @end of +% the previous defun. +% +% But don't do any of this if we're not in vertical mode. We +% don't want to do a \vskip and prematurely end a paragraph. +% +% Avoid page breaks due to these extra skips, too. +% +% But wait, there is a catch there: +% We'll have to check whether \lastskip is zero skip. \ifdim is not +% sufficient for this purpose, as it ignores stretch and shrink parts +% of the skip. The only way seems to be to check the textual +% representation of the skip. +% +% The following is almost like \def\zeroskipmacro{0.0pt} except that +% the ``p'' and ``t'' characters have catcode \other, not 11 (letter). +% +\edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname} +% +\newskip\whatsitskip +\newcount\whatsitpenalty +% +% ..., ready, GO: +% +\def\safewhatsit#1{% +\ifhmode + #1% +\else + % \lastskip and \lastpenalty cannot both be nonzero simultaneously. + \whatsitskip = \lastskip + \edef\lastskipmacro{\the\lastskip}% + \whatsitpenalty = \lastpenalty + % + % If \lastskip is nonzero, that means the last item was a + % skip. And since a skip is discardable, that means this + % -\whatsitskip glue we're inserting is preceded by a + % non-discardable item, therefore it is not a potential + % breakpoint, therefore no \nobreak needed. + \ifx\lastskipmacro\zeroskipmacro + \else + \vskip-\whatsitskip + \fi + % + #1% + % + \ifx\lastskipmacro\zeroskipmacro + % If \lastskip was zero, perhaps the last item was a penalty, and + % perhaps it was >=10000, e.g., a \nobreak. In that case, we want + % to re-insert the same penalty (values >10000 are used for various + % signals); since we just inserted a non-discardable item, any + % following glue (such as a \parskip) would be a breakpoint. For example: + % + % @deffn deffn-whatever + % @vindex index-whatever + % Description. + % would allow a break between the index-whatever whatsit + % and the "Description." paragraph. + \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi + \else + % On the other hand, if we had a nonzero \lastskip, + % this make-up glue would be preceded by a non-discardable item + % (the whatsit from the \write), so we must insert a \nobreak. + \nobreak\vskip\whatsitskip + \fi +\fi +} + +% The index entry written in the file actually looks like +% \entry {sortstring}{page}{topic} +% or +% \entry {sortstring}{page}{topic}{subtopic} +% The texindex program reads in these files and writes files +% containing these kinds of lines: +% \initial {c} +% before the first topic whose initial is c +% \entry {topic}{pagelist} +% for a topic that is used without subtopics +% \primary {topic} +% for the beginning of a topic that is used with subtopics +% \secondary {subtopic}{pagelist} +% for each subtopic. + +% Define the user-accessible indexing commands +% @findex, @vindex, @kindex, @cindex. + +\def\findex {\fnindex} +\def\kindex {\kyindex} +\def\cindex {\cpindex} +\def\vindex {\vrindex} +\def\tindex {\tpindex} +\def\pindex {\pgindex} + +\def\cindexsub {\begingroup\obeylines\cindexsub} +{\obeylines % +\gdef\cindexsub "#1" #2^^M{\endgroup % +\dosubind{cp}{#2}{#1}}} + +% Define the macros used in formatting output of the sorted index material. + +% @printindex causes a particular index (the ??s file) to get printed. +% It does not print any chapter heading (usually an @unnumbered). +% +\parseargdef\printindex{\begingroup + \dobreak \chapheadingskip{10000}% + % + \smallfonts \rm + \tolerance = 9500 + \plainfrenchspacing + \everypar = {}% don't want the \kern\-parindent from indentation suppression. + % + % See if the index file exists and is nonempty. + % Change catcode of @ here so that if the index file contains + % \initial {@} + % as its first line, TeX doesn't complain about mismatched braces + % (because it thinks @} is a control sequence). + \catcode`\@ = 11 + \openin 1 \jobname.#1s + \ifeof 1 + % \enddoublecolumns gets confused if there is no text in the index, + % and it loses the chapter title and the aux file entries for the + % index. The easiest way to prevent this problem is to make sure + % there is some text. + \putwordIndexNonexistent + \else + % + % If the index file exists but is empty, then \openin leaves \ifeof + % false. We have to make TeX try to read something from the file, so + % it can discover if there is anything in it. + \read 1 to \temp + \ifeof 1 + \putwordIndexIsEmpty + \else + % Index files are almost Texinfo source, but we use \ as the escape + % character. It would be better to use @, but that's too big a change + % to make right now. + \def\indexbackslash{\backslashcurfont}% + \catcode`\\ = 0 + \escapechar = `\\ + \begindoublecolumns + \input \jobname.#1s + \enddoublecolumns + \fi + \fi + \closein 1 +\endgroup} + +% These macros are used by the sorted index file itself. +% Change them to control the appearance of the index. + +\def\initial#1{{% + % Some minor font changes for the special characters. + \let\tentt=\sectt \let\tt=\sectt \let\sf=\sectt + % + % Remove any glue we may have, we'll be inserting our own. + \removelastskip + % + % We like breaks before the index initials, so insert a bonus. + \nobreak + \vskip 0pt plus 3\baselineskip + \penalty 0 + \vskip 0pt plus -3\baselineskip + % + % Typeset the initial. Making this add up to a whole number of + % baselineskips increases the chance of the dots lining up from column + % to column. It still won't often be perfect, because of the stretch + % we need before each entry, but it's better. + % + % No shrink because it confuses \balancecolumns. + \vskip 1.67\baselineskip plus .5\baselineskip + \leftline{\secbf #1}% + % Do our best not to break after the initial. + \nobreak + \vskip .33\baselineskip plus .1\baselineskip +}} + +% \entry typesets a paragraph consisting of the text (#1), dot leaders, and +% then page number (#2) flushed to the right margin. It is used for index +% and table of contents entries. The paragraph is indented by \leftskip. +% +% A straightforward implementation would start like this: +% \def\entry#1#2{... +% But this frozes the catcodes in the argument, and can cause problems to +% @code, which sets - active. This problem was fixed by a kludge--- +% ``-'' was active throughout whole index, but this isn't really right. +% +% The right solution is to prevent \entry from swallowing the whole text. +% --kasal, 21nov03 +\def\entry{% + \begingroup + % + % Start a new paragraph if necessary, so our assignments below can't + % affect previous text. + \par + % + % Do not fill out the last line with white space. + \parfillskip = 0in + % + % No extra space above this paragraph. + \parskip = 0in + % + % Do not prefer a separate line ending with a hyphen to fewer lines. + \finalhyphendemerits = 0 + % + % \hangindent is only relevant when the entry text and page number + % don't both fit on one line. In that case, bob suggests starting the + % dots pretty far over on the line. Unfortunately, a large + % indentation looks wrong when the entry text itself is broken across + % lines. So we use a small indentation and put up with long leaders. + % + % \hangafter is reset to 1 (which is the value we want) at the start + % of each paragraph, so we need not do anything with that. + \hangindent = 2em + % + % When the entry text needs to be broken, just fill out the first line + % with blank space. + \rightskip = 0pt plus1fil + % + % A bit of stretch before each entry for the benefit of balancing + % columns. + \vskip 0pt plus1pt + % + % Swallow the left brace of the text (first parameter): + \afterassignment\doentry + \let\temp = +} +\def\doentry{% + \bgroup % Instead of the swallowed brace. + \noindent + \aftergroup\finishentry + % And now comes the text of the entry. +} +\def\finishentry#1{% + % #1 is the page number. + % + % The following is kludged to not output a line of dots in the index if + % there are no page numbers. The next person who breaks this will be + % cursed by a Unix daemon. + \setbox\boxA = \hbox{#1}% + \ifdim\wd\boxA = 0pt + \ % + \else + % + % If we must, put the page number on a line of its own, and fill out + % this line with blank space. (The \hfil is overwhelmed with the + % fill leaders glue in \indexdotfill if the page number does fit.) + \hfil\penalty50 + \null\nobreak\indexdotfill % Have leaders before the page number. + % + % The `\ ' here is removed by the implicit \unskip that TeX does as + % part of (the primitive) \par. Without it, a spurious underfull + % \hbox ensues. + \ifpdf + \pdfgettoks#1.% + \ \the\toksA + \else + \ #1% + \fi + \fi + \par + \endgroup +} + +% Like plain.tex's \dotfill, except uses up at least 1 em. +\def\indexdotfill{\cleaders + \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1fill} + +\def\primary #1{\line{#1\hfil}} + +\newskip\secondaryindent \secondaryindent=0.5cm +\def\secondary#1#2{{% + \parfillskip=0in + \parskip=0in + \hangindent=1in + \hangafter=1 + \noindent\hskip\secondaryindent\hbox{#1}\indexdotfill + \ifpdf + \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph. + \else + #2 + \fi + \par +}} + +% Define two-column mode, which we use to typeset indexes. +% Adapted from the TeXbook, page 416, which is to say, +% the manmac.tex format used to print the TeXbook itself. +\catcode`\@=11 + +\newbox\partialpage +\newdimen\doublecolumnhsize + +\def\begindoublecolumns{\begingroup % ended by \enddoublecolumns + % Grab any single-column material above us. + \output = {% + % + % Here is a possibility not foreseen in manmac: if we accumulate a + % whole lot of material, we might end up calling this \output + % routine twice in a row (see the doublecol-lose test, which is + % essentially a couple of indexes with @setchapternewpage off). In + % that case we just ship out what is in \partialpage with the normal + % output routine. Generally, \partialpage will be empty when this + % runs and this will be a no-op. See the indexspread.tex test case. + \ifvoid\partialpage \else + \onepageout{\pagecontents\partialpage}% + \fi + % + \global\setbox\partialpage = \vbox{% + % Unvbox the main output page. + \unvbox\PAGE + \kern-\topskip \kern\baselineskip + }% + }% + \eject % run that output routine to set \partialpage + % + % Use the double-column output routine for subsequent pages. + \output = {\doublecolumnout}% + % + % Change the page size parameters. We could do this once outside this + % routine, in each of @smallbook, @afourpaper, and the default 8.5x11 + % format, but then we repeat the same computation. Repeating a couple + % of assignments once per index is clearly meaningless for the + % execution time, so we may as well do it in one place. + % + % First we halve the line length, less a little for the gutter between + % the columns. We compute the gutter based on the line length, so it + % changes automatically with the paper format. The magic constant + % below is chosen so that the gutter has the same value (well, +-<1pt) + % as it did when we hard-coded it. + % + % We put the result in a separate register, \doublecolumhsize, so we + % can restore it in \pagesofar, after \hsize itself has (potentially) + % been clobbered. + % + \doublecolumnhsize = \hsize + \advance\doublecolumnhsize by -.04154\hsize + \divide\doublecolumnhsize by 2 + \hsize = \doublecolumnhsize + % + % Double the \vsize as well. (We don't need a separate register here, + % since nobody clobbers \vsize.) + \vsize = 2\vsize +} + +% The double-column output routine for all double-column pages except +% the last. +% +\def\doublecolumnout{% + \splittopskip=\topskip \splitmaxdepth=\maxdepth + % Get the available space for the double columns -- the normal + % (undoubled) page height minus any material left over from the + % previous page. + \dimen@ = \vsize + \divide\dimen@ by 2 + \advance\dimen@ by -\ht\partialpage + % + % box0 will be the left-hand column, box2 the right. + \setbox0=\vsplit255 to\dimen@ \setbox2=\vsplit255 to\dimen@ + \onepageout\pagesofar + \unvbox255 + \penalty\outputpenalty +} +% +% Re-output the contents of the output page -- any previous material, +% followed by the two boxes we just split, in box0 and box2. +\def\pagesofar{% + \unvbox\partialpage + % + \hsize = \doublecolumnhsize + \wd0=\hsize \wd2=\hsize + \hbox to\pagewidth{\box0\hfil\box2}% +} +% +% All done with double columns. +\def\enddoublecolumns{% + % The following penalty ensures that the page builder is exercised + % _before_ we change the output routine. This is necessary in the + % following situation: + % + % The last section of the index consists only of a single entry. + % Before this section, \pagetotal is less than \pagegoal, so no + % break occurs before the last section starts. However, the last + % section, consisting of \initial and the single \entry, does not + % fit on the page and has to be broken off. Without the following + % penalty the page builder will not be exercised until \eject + % below, and by that time we'll already have changed the output + % routine to the \balancecolumns version, so the next-to-last + % double-column page will be processed with \balancecolumns, which + % is wrong: The two columns will go to the main vertical list, with + % the broken-off section in the recent contributions. As soon as + % the output routine finishes, TeX starts reconsidering the page + % break. The two columns and the broken-off section both fit on the + % page, because the two columns now take up only half of the page + % goal. When TeX sees \eject from below which follows the final + % section, it invokes the new output routine that we've set after + % \balancecolumns below; \onepageout will try to fit the two columns + % and the final section into the vbox of \pageheight (see + % \pagebody), causing an overfull box. + % + % Note that glue won't work here, because glue does not exercise the + % page builder, unlike penalties (see The TeXbook, pp. 280-281). + \penalty0 + % + \output = {% + % Split the last of the double-column material. Leave it on the + % current page, no automatic page break. + \balancecolumns + % + % If we end up splitting too much material for the current page, + % though, there will be another page break right after this \output + % invocation ends. Having called \balancecolumns once, we do not + % want to call it again. Therefore, reset \output to its normal + % definition right away. (We hope \balancecolumns will never be + % called on to balance too much material, but if it is, this makes + % the output somewhat more palatable.) + \global\output = {\onepageout{\pagecontents\PAGE}}% + }% + \eject + \endgroup % started in \begindoublecolumns + % + % \pagegoal was set to the doubled \vsize above, since we restarted + % the current page. We're now back to normal single-column + % typesetting, so reset \pagegoal to the normal \vsize (after the + % \endgroup where \vsize got restored). + \pagegoal = \vsize +} +% +% Called at the end of the double column material. +\def\balancecolumns{% + \setbox0 = \vbox{\unvbox255}% like \box255 but more efficient, see p.120. + \dimen@ = \ht0 + \advance\dimen@ by \topskip + \advance\dimen@ by-\baselineskip + \divide\dimen@ by 2 % target to split to + %debug\message{final 2-column material height=\the\ht0, target=\the\dimen@.}% + \splittopskip = \topskip + % Loop until we get a decent breakpoint. + {% + \vbadness = 10000 + \loop + \global\setbox3 = \copy0 + \global\setbox1 = \vsplit3 to \dimen@ + \ifdim\ht3>\dimen@ + \global\advance\dimen@ by 1pt + \repeat + }% + %debug\message{split to \the\dimen@, column heights: \the\ht1, \the\ht3.}% + \setbox0=\vbox to\dimen@{\unvbox1}% + \setbox2=\vbox to\dimen@{\unvbox3}% + % + \pagesofar +} +\catcode`\@ = \other + + +\message{sectioning,} +% Chapters, sections, etc. + +% \unnumberedno is an oxymoron, of course. But we count the unnumbered +% sections so that we can refer to them unambiguously in the pdf +% outlines by their "section number". We avoid collisions with chapter +% numbers by starting them at 10000. (If a document ever has 10000 +% chapters, we're in trouble anyway, I'm sure.) +\newcount\unnumberedno \unnumberedno = 10000 +\newcount\chapno +\newcount\secno \secno=0 +\newcount\subsecno \subsecno=0 +\newcount\subsubsecno \subsubsecno=0 + +% This counter is funny since it counts through charcodes of letters A, B, ... +\newcount\appendixno \appendixno = `\@ +% +% \def\appendixletter{\char\the\appendixno} +% We do the following ugly conditional instead of the above simple +% construct for the sake of pdftex, which needs the actual +% letter in the expansion, not just typeset. +% +\def\appendixletter{% + \ifnum\appendixno=`A A% + \else\ifnum\appendixno=`B B% + \else\ifnum\appendixno=`C C% + \else\ifnum\appendixno=`D D% + \else\ifnum\appendixno=`E E% + \else\ifnum\appendixno=`F F% + \else\ifnum\appendixno=`G G% + \else\ifnum\appendixno=`H H% + \else\ifnum\appendixno=`I I% + \else\ifnum\appendixno=`J J% + \else\ifnum\appendixno=`K K% + \else\ifnum\appendixno=`L L% + \else\ifnum\appendixno=`M M% + \else\ifnum\appendixno=`N N% + \else\ifnum\appendixno=`O O% + \else\ifnum\appendixno=`P P% + \else\ifnum\appendixno=`Q Q% + \else\ifnum\appendixno=`R R% + \else\ifnum\appendixno=`S S% + \else\ifnum\appendixno=`T T% + \else\ifnum\appendixno=`U U% + \else\ifnum\appendixno=`V V% + \else\ifnum\appendixno=`W W% + \else\ifnum\appendixno=`X X% + \else\ifnum\appendixno=`Y Y% + \else\ifnum\appendixno=`Z Z% + % The \the is necessary, despite appearances, because \appendixletter is + % expanded while writing the .toc file. \char\appendixno is not + % expandable, thus it is written literally, thus all appendixes come out + % with the same letter (or @) in the toc without it. + \else\char\the\appendixno + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + +% Each @chapter defines these (using marks) as the number+name, number +% and name of the chapter. Page headings and footings can use +% these. @section does likewise. +\def\thischapter{} +\def\thischapternum{} +\def\thischaptername{} +\def\thissection{} +\def\thissectionnum{} +\def\thissectionname{} + +\newcount\absseclevel % used to calculate proper heading level +\newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count + +% @raisesections: treat @section as chapter, @subsection as section, etc. +\def\raisesections{\global\advance\secbase by -1} +\let\up=\raisesections % original BFox name + +% @lowersections: treat @chapter as section, @section as subsection, etc. +\def\lowersections{\global\advance\secbase by 1} +\let\down=\lowersections % original BFox name + +% we only have subsub. +\chardef\maxseclevel = 3 +% +% A numbered section within an unnumbered changes to unnumbered too. +% To achive this, remember the "biggest" unnum. sec. we are currently in: +\chardef\unmlevel = \maxseclevel +% +% Trace whether the current chapter is an appendix or not: +% \chapheadtype is "N" or "A", unnumbered chapters are ignored. +\def\chapheadtype{N} + +% Choose a heading macro +% #1 is heading type +% #2 is heading level +% #3 is text for heading +\def\genhead#1#2#3{% + % Compute the abs. sec. level: + \absseclevel=#2 + \advance\absseclevel by \secbase + % Make sure \absseclevel doesn't fall outside the range: + \ifnum \absseclevel < 0 + \absseclevel = 0 + \else + \ifnum \absseclevel > 3 + \absseclevel = 3 + \fi + \fi + % The heading type: + \def\headtype{#1}% + \if \headtype U% + \ifnum \absseclevel < \unmlevel + \chardef\unmlevel = \absseclevel + \fi + \else + % Check for appendix sections: + \ifnum \absseclevel = 0 + \edef\chapheadtype{\headtype}% + \else + \if \headtype A\if \chapheadtype N% + \errmessage{@appendix... within a non-appendix chapter}% + \fi\fi + \fi + % Check for numbered within unnumbered: + \ifnum \absseclevel > \unmlevel + \def\headtype{U}% + \else + \chardef\unmlevel = 3 + \fi + \fi + % Now print the heading: + \if \headtype U% + \ifcase\absseclevel + \unnumberedzzz{#3}% + \or \unnumberedseczzz{#3}% + \or \unnumberedsubseczzz{#3}% + \or \unnumberedsubsubseczzz{#3}% + \fi + \else + \if \headtype A% + \ifcase\absseclevel + \appendixzzz{#3}% + \or \appendixsectionzzz{#3}% + \or \appendixsubseczzz{#3}% + \or \appendixsubsubseczzz{#3}% + \fi + \else + \ifcase\absseclevel + \chapterzzz{#3}% + \or \seczzz{#3}% + \or \numberedsubseczzz{#3}% + \or \numberedsubsubseczzz{#3}% + \fi + \fi + \fi + \suppressfirstparagraphindent +} + +% an interface: +\def\numhead{\genhead N} +\def\apphead{\genhead A} +\def\unnmhead{\genhead U} + +% @chapter, @appendix, @unnumbered. Increment top-level counter, reset +% all lower-level sectioning counters to zero. +% +% Also set \chaplevelprefix, which we prepend to @float sequence numbers +% (e.g., figures), q.v. By default (before any chapter), that is empty. +\let\chaplevelprefix = \empty +% +\outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz +\def\chapterzzz#1{% + % section resetting is \global in case the chapter is in a group, such + % as an @include file. + \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 + \global\advance\chapno by 1 + % + % Used for \float. + \gdef\chaplevelprefix{\the\chapno.}% + \resetallfloatnos + % + \message{\putwordChapter\space \the\chapno}% + % + % Write the actual heading. + \chapmacro{#1}{Ynumbered}{\the\chapno}% + % + % So @section and the like are numbered underneath this chapter. + \global\let\section = \numberedsec + \global\let\subsection = \numberedsubsec + \global\let\subsubsection = \numberedsubsubsec +} + +\outer\parseargdef\appendix{\apphead0{#1}} % normally apphead0 calls appendixzzz +\def\appendixzzz#1{% + \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 + \global\advance\appendixno by 1 + \gdef\chaplevelprefix{\appendixletter.}% + \resetallfloatnos + % + \def\appendixnum{\putwordAppendix\space \appendixletter}% + \message{\appendixnum}% + % + \chapmacro{#1}{Yappendix}{\appendixletter}% + % + \global\let\section = \appendixsec + \global\let\subsection = \appendixsubsec + \global\let\subsubsection = \appendixsubsubsec +} + +\outer\parseargdef\unnumbered{\unnmhead0{#1}} % normally unnmhead0 calls unnumberedzzz +\def\unnumberedzzz#1{% + \global\secno=0 \global\subsecno=0 \global\subsubsecno=0 + \global\advance\unnumberedno by 1 + % + % Since an unnumbered has no number, no prefix for figures. + \global\let\chaplevelprefix = \empty + \resetallfloatnos + % + % This used to be simply \message{#1}, but TeX fully expands the + % argument to \message. Therefore, if #1 contained @-commands, TeX + % expanded them. For example, in `@unnumbered The @cite{Book}', TeX + % expanded @cite (which turns out to cause errors because \cite is meant + % to be executed, not expanded). + % + % Anyway, we don't want the fully-expanded definition of @cite to appear + % as a result of the \message, we just want `@cite' itself. We use + % \the to achieve this: TeX expands \the only once, + % simply yielding the contents of . (We also do this for + % the toc entries.) + \toks0 = {#1}% + \message{(\the\toks0)}% + % + \chapmacro{#1}{Ynothing}{\the\unnumberedno}% + % + \global\let\section = \unnumberedsec + \global\let\subsection = \unnumberedsubsec + \global\let\subsubsection = \unnumberedsubsubsec +} + +% @centerchap is like @unnumbered, but the heading is centered. +\outer\parseargdef\centerchap{% + % Well, we could do the following in a group, but that would break + % an assumption that \chapmacro is called at the outermost level. + % Thus we are safer this way: --kasal, 24feb04 + \let\centerparametersmaybe = \centerparameters + \unnmhead0{#1}% + \let\centerparametersmaybe = \relax +} + +% @top is like @unnumbered. +\let\top\unnumbered + +% Sections. +\outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz +\def\seczzz#1{% + \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 + \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}% +} + +\outer\parseargdef\appendixsection{\apphead1{#1}} % normally calls appendixsectionzzz +\def\appendixsectionzzz#1{% + \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 + \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}% +} +\let\appendixsec\appendixsection + +\outer\parseargdef\unnumberedsec{\unnmhead1{#1}} % normally calls unnumberedseczzz +\def\unnumberedseczzz#1{% + \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1 + \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}% +} + +% Subsections. +\outer\parseargdef\numberedsubsec{\numhead2{#1}} % normally calls numberedsubseczzz +\def\numberedsubseczzz#1{% + \global\subsubsecno=0 \global\advance\subsecno by 1 + \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}% +} + +\outer\parseargdef\appendixsubsec{\apphead2{#1}} % normally calls appendixsubseczzz +\def\appendixsubseczzz#1{% + \global\subsubsecno=0 \global\advance\subsecno by 1 + \sectionheading{#1}{subsec}{Yappendix}% + {\appendixletter.\the\secno.\the\subsecno}% +} + +\outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}} %normally calls unnumberedsubseczzz +\def\unnumberedsubseczzz#1{% + \global\subsubsecno=0 \global\advance\subsecno by 1 + \sectionheading{#1}{subsec}{Ynothing}% + {\the\unnumberedno.\the\secno.\the\subsecno}% +} + +% Subsubsections. +\outer\parseargdef\numberedsubsubsec{\numhead3{#1}} % normally numberedsubsubseczzz +\def\numberedsubsubseczzz#1{% + \global\advance\subsubsecno by 1 + \sectionheading{#1}{subsubsec}{Ynumbered}% + {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}% +} + +\outer\parseargdef\appendixsubsubsec{\apphead3{#1}} % normally appendixsubsubseczzz +\def\appendixsubsubseczzz#1{% + \global\advance\subsubsecno by 1 + \sectionheading{#1}{subsubsec}{Yappendix}% + {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}% +} + +\outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}} %normally unnumberedsubsubseczzz +\def\unnumberedsubsubseczzz#1{% + \global\advance\subsubsecno by 1 + \sectionheading{#1}{subsubsec}{Ynothing}% + {\the\unnumberedno.\the\secno.\the\subsecno.\the\subsubsecno}% +} + +% These macros control what the section commands do, according +% to what kind of chapter we are in (ordinary, appendix, or unnumbered). +% Define them by default for a numbered chapter. +\let\section = \numberedsec +\let\subsection = \numberedsubsec +\let\subsubsection = \numberedsubsubsec + +% Define @majorheading, @heading and @subheading + +% NOTE on use of \vbox for chapter headings, section headings, and such: +% 1) We use \vbox rather than the earlier \line to permit +% overlong headings to fold. +% 2) \hyphenpenalty is set to 10000 because hyphenation in a +% heading is obnoxious; this forbids it. +% 3) Likewise, headings look best if no \parindent is used, and +% if justification is not attempted. Hence \raggedright. + + +\def\majorheading{% + {\advance\chapheadingskip by 10pt \chapbreak }% + \parsearg\chapheadingzzz +} + +\def\chapheading{\chapbreak \parsearg\chapheadingzzz} +\def\chapheadingzzz#1{% + {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 + \parindent=0pt\raggedright + \rm #1\hfill}}% + \bigskip \par\penalty 200\relax + \suppressfirstparagraphindent +} + +% @heading, @subheading, @subsubheading. +\parseargdef\heading{\sectionheading{#1}{sec}{Yomitfromtoc}{} + \suppressfirstparagraphindent} +\parseargdef\subheading{\sectionheading{#1}{subsec}{Yomitfromtoc}{} + \suppressfirstparagraphindent} +\parseargdef\subsubheading{\sectionheading{#1}{subsubsec}{Yomitfromtoc}{} + \suppressfirstparagraphindent} + +% These macros generate a chapter, section, etc. heading only +% (including whitespace, linebreaking, etc. around it), +% given all the information in convenient, parsed form. + +%%% Args are the skip and penalty (usually negative) +\def\dobreak#1#2{\par\ifdim\lastskip<#1\removelastskip\penalty#2\vskip#1\fi} + +%%% Define plain chapter starts, and page on/off switching for it +% Parameter controlling skip before chapter headings (if needed) + +\newskip\chapheadingskip + +\def\chapbreak{\dobreak \chapheadingskip {-4000}} +\def\chappager{\par\vfill\supereject} +% Because \domark is called before \chapoddpage, the filler page will +% get the headings for the next chapter, which is wrong. But we don't +% care -- we just disable all headings on the filler page. +\def\chapoddpage{% + \chappager + \ifodd\pageno \else + \begingroup + \evenheadline={\hfil}\evenfootline={\hfil}% + \oddheadline={\hfil}\oddfootline={\hfil}% + \hbox to 0pt{}% + \chappager + \endgroup + \fi +} + +\def\setchapternewpage #1 {\csname CHAPPAG#1\endcsname} + +\def\CHAPPAGoff{% +\global\let\contentsalignmacro = \chappager +\global\let\pchapsepmacro=\chapbreak +\global\let\pagealignmacro=\chappager} + +\def\CHAPPAGon{% +\global\let\contentsalignmacro = \chappager +\global\let\pchapsepmacro=\chappager +\global\let\pagealignmacro=\chappager +\global\def\HEADINGSon{\HEADINGSsingle}} + +\def\CHAPPAGodd{% +\global\let\contentsalignmacro = \chapoddpage +\global\let\pchapsepmacro=\chapoddpage +\global\let\pagealignmacro=\chapoddpage +\global\def\HEADINGSon{\HEADINGSdouble}} + +\CHAPPAGon + +% Chapter opening. +% +% #1 is the text, #2 is the section type (Ynumbered, Ynothing, +% Yappendix, Yomitfromtoc), #3 the chapter number. +% +% To test against our argument. +\def\Ynothingkeyword{Ynothing} +\def\Yomitfromtockeyword{Yomitfromtoc} +\def\Yappendixkeyword{Yappendix} +% +\def\chapmacro#1#2#3{% + % Insert the first mark before the heading break (see notes for \domark). + \let\prevchapterdefs=\lastchapterdefs + \let\prevsectiondefs=\lastsectiondefs + \gdef\lastsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}% + \gdef\thissection{}}% + % + \def\temptype{#2}% + \ifx\temptype\Ynothingkeyword + \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% + \gdef\thischapter{\thischaptername}}% + \else\ifx\temptype\Yomitfromtockeyword + \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}% + \gdef\thischapter{}}% + \else\ifx\temptype\Yappendixkeyword + \toks0={#1}% + \xdef\lastchapterdefs{% + \gdef\noexpand\thischaptername{\the\toks0}% + \gdef\noexpand\thischapternum{\appendixletter}% + \gdef\noexpand\thischapter{\putwordAppendix{} \noexpand\thischapternum: + \noexpand\thischaptername}% + }% + \else + \toks0={#1}% + \xdef\lastchapterdefs{% + \gdef\noexpand\thischaptername{\the\toks0}% + \gdef\noexpand\thischapternum{\the\chapno}% + \gdef\noexpand\thischapter{\putwordChapter{} \noexpand\thischapternum: + \noexpand\thischaptername}% + }% + \fi\fi\fi + % + % Output the mark. Pass it through \safewhatsit, to take care of + % the preceding space. + \safewhatsit\domark + % + % Insert the chapter heading break. + \pchapsepmacro + % + % Now the second mark, after the heading break. No break points + % between here and the heading. + \let\prevchapterdefs=\lastchapterdefs + \let\prevsectiondefs=\lastsectiondefs + \domark + % + {% + \chapfonts \rm + % + % Have to define \lastsection before calling \donoderef, because the + % xref code eventually uses it. On the other hand, it has to be called + % after \pchapsepmacro, or the headline will change too soon. + \gdef\lastsection{#1}% + % + % Only insert the separating space if we have a chapter/appendix + % number, and don't print the unnumbered ``number''. + \ifx\temptype\Ynothingkeyword + \setbox0 = \hbox{}% + \def\toctype{unnchap}% + \else\ifx\temptype\Yomitfromtockeyword + \setbox0 = \hbox{}% contents like unnumbered, but no toc entry + \def\toctype{omit}% + \else\ifx\temptype\Yappendixkeyword + \setbox0 = \hbox{\putwordAppendix{} #3\enspace}% + \def\toctype{app}% + \else + \setbox0 = \hbox{#3\enspace}% + \def\toctype{numchap}% + \fi\fi\fi + % + % Write the toc entry for this chapter. Must come before the + % \donoderef, because we include the current node name in the toc + % entry, and \donoderef resets it to empty. + \writetocentry{\toctype}{#1}{#3}% + % + % For pdftex, we have to write out the node definition (aka, make + % the pdfdest) after any page break, but before the actual text has + % been typeset. If the destination for the pdf outline is after the + % text, then jumping from the outline may wind up with the text not + % being visible, for instance under high magnification. + \donoderef{#2}% + % + % Typeset the actual heading. + \nobreak % Avoid page breaks at the interline glue. + \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright + \hangindent=\wd0 \centerparametersmaybe + \unhbox0 #1\par}% + }% + \nobreak\bigskip % no page break after a chapter title + \nobreak +} + +% @centerchap -- centered and unnumbered. +\let\centerparametersmaybe = \relax +\def\centerparameters{% + \advance\rightskip by 3\rightskip + \leftskip = \rightskip + \parfillskip = 0pt +} + + +% I don't think this chapter style is supported any more, so I'm not +% updating it with the new noderef stuff. We'll see. --karl, 11aug03. +% +\def\setchapterstyle #1 {\csname CHAPF#1\endcsname} +% +\def\unnchfopen #1{% +\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 + \parindent=0pt\raggedright + \rm #1\hfill}}\bigskip \par\nobreak +} +\def\chfopen #1#2{\chapoddpage {\chapfonts +\vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}% +\par\penalty 5000 % +} +\def\centerchfopen #1{% +\chapoddpage {\chapfonts \vbox{\hyphenpenalty=10000\tolerance=5000 + \parindent=0pt + \hfill {\rm #1}\hfill}}\bigskip \par\nobreak +} +\def\CHAPFopen{% + \global\let\chapmacro=\chfopen + \global\let\centerchapmacro=\centerchfopen} + + +% Section titles. These macros combine the section number parts and +% call the generic \sectionheading to do the printing. +% +\newskip\secheadingskip +\def\secheadingbreak{\dobreak \secheadingskip{-1000}} + +% Subsection titles. +\newskip\subsecheadingskip +\def\subsecheadingbreak{\dobreak \subsecheadingskip{-500}} + +% Subsubsection titles. +\def\subsubsecheadingskip{\subsecheadingskip} +\def\subsubsecheadingbreak{\subsecheadingbreak} + + +% Print any size, any type, section title. +% +% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is +% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the +% section number. +% +\def\seckeyword{sec} +% +\def\sectionheading#1#2#3#4{% + {% + % Switch to the right set of fonts. + \csname #2fonts\endcsname \rm + % + \def\sectionlevel{#2}% + \def\temptype{#3}% + % + % Insert first mark before the heading break (see notes for \domark). + \let\prevsectiondefs=\lastsectiondefs + \ifx\temptype\Ynothingkeyword + \ifx\sectionlevel\seckeyword + \gdef\lastsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}% + \gdef\thissection{\thissectionname}}% + \fi + \else\ifx\temptype\Yomitfromtockeyword + % Don't redefine \thissection. + \else\ifx\temptype\Yappendixkeyword + \ifx\sectionlevel\seckeyword + \toks0={#1}% + \xdef\lastsectiondefs{% + \gdef\noexpand\thissectionname{\the\toks0}% + \gdef\noexpand\thissectionnum{#4}% + \gdef\noexpand\thissection{\putwordSection{} \noexpand\thissectionnum: + \noexpand\thissectionname}% + }% + \fi + \else + \ifx\sectionlevel\seckeyword + \toks0={#1}% + \xdef\lastsectiondefs{% + \gdef\noexpand\thissectionname{\the\toks0}% + \gdef\noexpand\thissectionnum{#4}% + \gdef\noexpand\thissection{\putwordSection{} \noexpand\thissectionnum: + \noexpand\thissectionname}% + }% + \fi + \fi\fi\fi + % + % Output the mark. Pass it through \safewhatsit, to take care of + % the preceding space. + \safewhatsit\domark + % + % Insert space above the heading. + \csname #2headingbreak\endcsname + % + % Now the second mark, after the heading break. No break points + % between here and the heading. + \let\prevsectiondefs=\lastsectiondefs + \domark + % + % Only insert the space after the number if we have a section number. + \ifx\temptype\Ynothingkeyword + \setbox0 = \hbox{}% + \def\toctype{unn}% + \gdef\lastsection{#1}% + \else\ifx\temptype\Yomitfromtockeyword + % for @headings -- no section number, don't include in toc, + % and don't redefine \lastsection. + \setbox0 = \hbox{}% + \def\toctype{omit}% + \let\sectionlevel=\empty + \else\ifx\temptype\Yappendixkeyword + \setbox0 = \hbox{#4\enspace}% + \def\toctype{app}% + \gdef\lastsection{#1}% + \else + \setbox0 = \hbox{#4\enspace}% + \def\toctype{num}% + \gdef\lastsection{#1}% + \fi\fi\fi + % + % Write the toc entry (before \donoderef). See comments in \chapmacro. + \writetocentry{\toctype\sectionlevel}{#1}{#4}% + % + % Write the node reference (= pdf destination for pdftex). + % Again, see comments in \chapmacro. + \donoderef{#3}% + % + % Interline glue will be inserted when the vbox is completed. + % That glue will be a valid breakpoint for the page, since it'll be + % preceded by a whatsit (usually from the \donoderef, or from the + % \writetocentry if there was no node). We don't want to allow that + % break, since then the whatsits could end up on page n while the + % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000. + \nobreak + % + % Output the actual section heading. + \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright + \hangindent=\wd0 % zero if no section number + \unhbox0 #1}% + }% + % Add extra space after the heading -- half of whatever came above it. + % Don't allow stretch, though. + \kern .5 \csname #2headingskip\endcsname + % + % Do not let the kern be a potential breakpoint, as it would be if it + % was followed by glue. + \nobreak + % + % We'll almost certainly start a paragraph next, so don't let that + % glue accumulate. (Not a breakpoint because it's preceded by a + % discardable item.) + \vskip-\parskip + % + % This is purely so the last item on the list is a known \penalty > + % 10000. This is so \startdefun can avoid allowing breakpoints after + % section headings. Otherwise, it would insert a valid breakpoint between: + % + % @section sec-whatever + % @deffn def-whatever + \penalty 10001 +} + + +\message{toc,} +% Table of contents. +\newwrite\tocfile + +% Write an entry to the toc file, opening it if necessary. +% Called from @chapter, etc. +% +% Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno} +% We append the current node name (if any) and page number as additional +% arguments for the \{chap,sec,...}entry macros which will eventually +% read this. The node name is used in the pdf outlines as the +% destination to jump to. +% +% We open the .toc file for writing here instead of at @setfilename (or +% any other fixed time) so that @contents can be anywhere in the document. +% But if #1 is `omit', then we don't do anything. This is used for the +% table of contents chapter openings themselves. +% +\newif\iftocfileopened +\def\omitkeyword{omit}% +% +\def\writetocentry#1#2#3{% + \edef\writetoctype{#1}% + \ifx\writetoctype\omitkeyword \else + \iftocfileopened\else + \immediate\openout\tocfile = \jobname.toc + \global\tocfileopenedtrue + \fi + % + \iflinks + {\atdummies + \edef\temp{% + \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}% + \temp + }% + \fi + \fi + % + % Tell \shipout to create a pdf destination on each page, if we're + % writing pdf. These are used in the table of contents. We can't + % just write one on every page because the title pages are numbered + % 1 and 2 (the page numbers aren't printed), and so are the first + % two pages of the document. Thus, we'd have two destinations named + % `1', and two named `2'. + \ifpdf \global\pdfmakepagedesttrue \fi +} + + +% These characters do not print properly in the Computer Modern roman +% fonts, so we must take special care. This is more or less redundant +% with the Texinfo input format setup at the end of this file. +% +\def\activecatcodes{% + \catcode`\"=\active + \catcode`\$=\active + \catcode`\<=\active + \catcode`\>=\active + \catcode`\\=\active + \catcode`\^=\active + \catcode`\_=\active + \catcode`\|=\active + \catcode`\~=\active +} + + +% Read the toc file, which is essentially Texinfo input. +\def\readtocfile{% + \setupdatafile + \activecatcodes + \input \tocreadfilename +} + +\newskip\contentsrightmargin \contentsrightmargin=1in +\newcount\savepageno +\newcount\lastnegativepageno \lastnegativepageno = -1 + +% Prepare to read what we've written to \tocfile. +% +\def\startcontents#1{% + % If @setchapternewpage on, and @headings double, the contents should + % start on an odd page, unlike chapters. Thus, we maintain + % \contentsalignmacro in parallel with \pagealignmacro. + % From: Torbjorn Granlund + \contentsalignmacro + \immediate\closeout\tocfile + % + % Don't need to put `Contents' or `Short Contents' in the headline. + % It is abundantly clear what they are. + \chapmacro{#1}{Yomitfromtoc}{}% + % + \savepageno = \pageno + \begingroup % Set up to handle contents files properly. + \raggedbottom % Worry more about breakpoints than the bottom. + \advance\hsize by -\contentsrightmargin % Don't use the full line length. + % + % Roman numerals for page numbers. + \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi +} + +% redefined for the two-volume lispref. We always output on +% \jobname.toc even if this is redefined. +% +\def\tocreadfilename{\jobname.toc} + +% Normal (long) toc. +% +\def\contents{% + \startcontents{\putwordTOC}% + \openin 1 \tocreadfilename\space + \ifeof 1 \else + \readtocfile + \fi + \vfill \eject + \contentsalignmacro % in case @setchapternewpage odd is in effect + \ifeof 1 \else + \pdfmakeoutlines + \fi + \closein 1 + \endgroup + \lastnegativepageno = \pageno + \global\pageno = \savepageno +} + +% And just the chapters. +\def\summarycontents{% + \startcontents{\putwordShortTOC}% + % + \let\numchapentry = \shortchapentry + \let\appentry = \shortchapentry + \let\unnchapentry = \shortunnchapentry + % We want a true roman here for the page numbers. + \secfonts + \let\rm=\shortcontrm \let\bf=\shortcontbf + \let\sl=\shortcontsl \let\tt=\shortconttt + \rm + \hyphenpenalty = 10000 + \advance\baselineskip by 1pt % Open it up a little. + \def\numsecentry##1##2##3##4{} + \let\appsecentry = \numsecentry + \let\unnsecentry = \numsecentry + \let\numsubsecentry = \numsecentry + \let\appsubsecentry = \numsecentry + \let\unnsubsecentry = \numsecentry + \let\numsubsubsecentry = \numsecentry + \let\appsubsubsecentry = \numsecentry + \let\unnsubsubsecentry = \numsecentry + \openin 1 \tocreadfilename\space + \ifeof 1 \else + \readtocfile + \fi + \closein 1 + \vfill \eject + \contentsalignmacro % in case @setchapternewpage odd is in effect + \endgroup + \lastnegativepageno = \pageno + \global\pageno = \savepageno +} +\let\shortcontents = \summarycontents + +% Typeset the label for a chapter or appendix for the short contents. +% The arg is, e.g., `A' for an appendix, or `3' for a chapter. +% +\def\shortchaplabel#1{% + % This space should be enough, since a single number is .5em, and the + % widest letter (M) is 1em, at least in the Computer Modern fonts. + % But use \hss just in case. + % (This space doesn't include the extra space that gets added after + % the label; that gets put in by \shortchapentry above.) + % + % We'd like to right-justify chapter numbers, but that looks strange + % with appendix letters. And right-justifying numbers and + % left-justifying letters looks strange when there is less than 10 + % chapters. Have to read the whole toc once to know how many chapters + % there are before deciding ... + \hbox to 1em{#1\hss}% +} + +% These macros generate individual entries in the table of contents. +% The first argument is the chapter or section name. +% The last argument is the page number. +% The arguments in between are the chapter number, section number, ... + +% Chapters, in the main contents. +\def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}} +% +% Chapters, in the short toc. +% See comments in \dochapentry re vbox and related settings. +\def\shortchapentry#1#2#3#4{% + \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#4\egroup}% +} + +% Appendices, in the main contents. +% Need the word Appendix, and a fixed-size box. +% +\def\appendixbox#1{% + % We use M since it's probably the widest letter. + \setbox0 = \hbox{\putwordAppendix{} M}% + \hbox to \wd0{\putwordAppendix{} #1\hss}} +% +\def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\labelspace#1}{#4}} + +% Unnumbered chapters. +\def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}} +\def\shortunnchapentry#1#2#3#4{\tocentry{#1}{\doshortpageno\bgroup#4\egroup}} + +% Sections. +\def\numsecentry#1#2#3#4{\dosecentry{#2\labelspace#1}{#4}} +\let\appsecentry=\numsecentry +\def\unnsecentry#1#2#3#4{\dosecentry{#1}{#4}} + +% Subsections. +\def\numsubsecentry#1#2#3#4{\dosubsecentry{#2\labelspace#1}{#4}} +\let\appsubsecentry=\numsubsecentry +\def\unnsubsecentry#1#2#3#4{\dosubsecentry{#1}{#4}} + +% And subsubsections. +\def\numsubsubsecentry#1#2#3#4{\dosubsubsecentry{#2\labelspace#1}{#4}} +\let\appsubsubsecentry=\numsubsubsecentry +\def\unnsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{#4}} + +% This parameter controls the indentation of the various levels. +% Same as \defaultparindent. +\newdimen\tocindent \tocindent = 15pt + +% Now for the actual typesetting. In all these, #1 is the text and #2 is the +% page number. +% +% If the toc has to be broken over pages, we want it to be at chapters +% if at all possible; hence the \penalty. +\def\dochapentry#1#2{% + \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip + \begingroup + \chapentryfonts + \tocentry{#1}{\dopageno\bgroup#2\egroup}% + \endgroup + \nobreak\vskip .25\baselineskip plus.1\baselineskip +} + +\def\dosecentry#1#2{\begingroup + \secentryfonts \leftskip=\tocindent + \tocentry{#1}{\dopageno\bgroup#2\egroup}% +\endgroup} + +\def\dosubsecentry#1#2{\begingroup + \subsecentryfonts \leftskip=2\tocindent + \tocentry{#1}{\dopageno\bgroup#2\egroup}% +\endgroup} + +\def\dosubsubsecentry#1#2{\begingroup + \subsubsecentryfonts \leftskip=3\tocindent + \tocentry{#1}{\dopageno\bgroup#2\egroup}% +\endgroup} + +% We use the same \entry macro as for the index entries. +\let\tocentry = \entry + +% Space between chapter (or whatever) number and the title. +\def\labelspace{\hskip1em \relax} + +\def\dopageno#1{{\rm #1}} +\def\doshortpageno#1{{\rm #1}} + +\def\chapentryfonts{\secfonts \rm} +\def\secentryfonts{\textfonts} +\def\subsecentryfonts{\textfonts} +\def\subsubsecentryfonts{\textfonts} + + +\message{environments,} +% @foo ... @end foo. + +% @point{}, @result{}, @expansion{}, @print{}, @equiv{}. +% +% Since these characters are used in examples, it should be an even number of +% \tt widths. Each \tt character is 1en, so two makes it 1em. +% +\def\point{$\star$} +\def\result{\leavevmode\raise.15ex\hbox to 1em{\hfil$\Rightarrow$\hfil}} +\def\expansion{\leavevmode\raise.1ex\hbox to 1em{\hfil$\mapsto$\hfil}} +\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}} +\def\equiv{\leavevmode\lower.1ex\hbox to 1em{\hfil$\ptexequiv$\hfil}} + +% The @error{} command. +% Adapted from the TeXbook's \boxit. +% +\newbox\errorbox +% +{\tentt \global\dimen0 = 3em}% Width of the box. +\dimen2 = .55pt % Thickness of rules +% The text. (`r' is open on the right, `e' somewhat less so on the left.) +\setbox0 = \hbox{\kern-.75pt \reducedsf error\kern-1.5pt} +% +\setbox\errorbox=\hbox to \dimen0{\hfil + \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right. + \advance\hsize by -2\dimen2 % Rules. + \vbox{% + \hrule height\dimen2 + \hbox{\vrule width\dimen2 \kern3pt % Space to left of text. + \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below. + \kern3pt\vrule width\dimen2}% Space to right. + \hrule height\dimen2} + \hfil} +% +\def\error{\leavevmode\lower.7ex\copy\errorbox} + +% @tex ... @end tex escapes into raw Tex temporarily. +% One exception: @ is still an escape character, so that @end tex works. +% But \@ or @@ will get a plain tex @ character. + +\envdef\tex{% + \catcode `\\=0 \catcode `\{=1 \catcode `\}=2 + \catcode `\$=3 \catcode `\&=4 \catcode `\#=6 + \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie + \catcode `\%=14 + \catcode `\+=\other + \catcode `\"=\other + \catcode `\|=\other + \catcode `\<=\other + \catcode `\>=\other + \escapechar=`\\ + % + \let\b=\ptexb + \let\bullet=\ptexbullet + \let\c=\ptexc + \let\,=\ptexcomma + \let\.=\ptexdot + \let\dots=\ptexdots + \let\equiv=\ptexequiv + \let\!=\ptexexclam + \let\i=\ptexi + \let\indent=\ptexindent + \let\noindent=\ptexnoindent + \let\{=\ptexlbrace + \let\+=\tabalign + \let\}=\ptexrbrace + \let\/=\ptexslash + \let\*=\ptexstar + \let\t=\ptext + \let\frenchspacing=\plainfrenchspacing + % + \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}% + \def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}% + \def\@{@}% +} +% There is no need to define \Etex. + +% Define @lisp ... @end lisp. +% @lisp environment forms a group so it can rebind things, +% including the definition of @end lisp (which normally is erroneous). + +% Amount to narrow the margins by for @lisp. +\newskip\lispnarrowing \lispnarrowing=0.4in + +% This is the definition that ^^M gets inside @lisp, @example, and other +% such environments. \null is better than a space, since it doesn't +% have any width. +\def\lisppar{\null\endgraf} + +% This space is always present above and below environments. +\newskip\envskipamount \envskipamount = 0pt + +% Make spacing and below environment symmetrical. We use \parskip here +% to help in doing that, since in @example-like environments \parskip +% is reset to zero; thus the \afterenvbreak inserts no space -- but the +% start of the next paragraph will insert \parskip. +% +\def\aboveenvbreak{{% + % =10000 instead of <10000 because of a special case in \itemzzz and + % \sectionheading, q.v. + \ifnum \lastpenalty=10000 \else + \advance\envskipamount by \parskip + \endgraf + \ifdim\lastskip<\envskipamount + \removelastskip + % it's not a good place to break if the last penalty was \nobreak + % or better ... + \ifnum\lastpenalty<10000 \penalty-50 \fi + \vskip\envskipamount + \fi + \fi +}} + +\let\afterenvbreak = \aboveenvbreak + +% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will +% also clear it, so that its embedded environments do the narrowing again. +\let\nonarrowing=\relax + +% @cartouche ... @end cartouche: draw rectangle w/rounded corners around +% environment contents. +\font\circle=lcircle10 +\newdimen\circthick +\newdimen\cartouter\newdimen\cartinner +\newskip\normbskip\newskip\normpskip\newskip\normlskip +\circthick=\fontdimen8\circle +% +\def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth +\def\ctr{{\hskip 6pt\circle\char'010}} +\def\cbl{{\circle\char'012\hskip -6pt}} +\def\cbr{{\hskip 6pt\circle\char'011}} +\def\carttop{\hbox to \cartouter{\hskip\lskip + \ctl\leaders\hrule height\circthick\hfil\ctr + \hskip\rskip}} +\def\cartbot{\hbox to \cartouter{\hskip\lskip + \cbl\leaders\hrule height\circthick\hfil\cbr + \hskip\rskip}} +% +\newskip\lskip\newskip\rskip + +\envdef\cartouche{% + \ifhmode\par\fi % can't be in the midst of a paragraph. + \startsavinginserts + \lskip=\leftskip \rskip=\rightskip + \leftskip=0pt\rightskip=0pt % we want these *outside*. + \cartinner=\hsize \advance\cartinner by-\lskip + \advance\cartinner by-\rskip + \cartouter=\hsize + \advance\cartouter by 18.4pt % allow for 3pt kerns on either + % side, and for 6pt waste from + % each corner char, and rule thickness + \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip + % Flag to tell @lisp, etc., not to narrow margin. + \let\nonarrowing = t% + \vbox\bgroup + \baselineskip=0pt\parskip=0pt\lineskip=0pt + \carttop + \hbox\bgroup + \hskip\lskip + \vrule\kern3pt + \vbox\bgroup + \kern3pt + \hsize=\cartinner + \baselineskip=\normbskip + \lineskip=\normlskip + \parskip=\normpskip + \vskip -\parskip + \comment % For explanation, see the end of \def\group. +} +\def\Ecartouche{% + \ifhmode\par\fi + \kern3pt + \egroup + \kern3pt\vrule + \hskip\rskip + \egroup + \cartbot + \egroup + \checkinserts +} + + +% This macro is called at the beginning of all the @example variants, +% inside a group. +\def\nonfillstart{% + \aboveenvbreak + \hfuzz = 12pt % Don't be fussy + \sepspaces % Make spaces be word-separators rather than space tokens. + \let\par = \lisppar % don't ignore blank lines + \obeylines % each line of input is a line of output + \parskip = 0pt + \parindent = 0pt + \emergencystretch = 0pt % don't try to avoid overfull boxes + \ifx\nonarrowing\relax + \advance \leftskip by \lispnarrowing + \exdentamount=\lispnarrowing + \else + \let\nonarrowing = \relax + \fi + \let\exdent=\nofillexdent +} + +% If you want all examples etc. small: @set dispenvsize small. +% If you want even small examples the full size: @set dispenvsize nosmall. +% This affects the following displayed environments: +% @example, @display, @format, @lisp +% +\def\smallword{small} +\def\nosmallword{nosmall} +\let\SETdispenvsize\relax +\def\setnormaldispenv{% + \ifx\SETdispenvsize\smallword + % end paragraph for sake of leading, in case document has no blank + % line. This is redundant with what happens in \aboveenvbreak, but + % we need to do it before changing the fonts, and it's inconvenient + % to change the fonts afterward. + \ifnum \lastpenalty=10000 \else \endgraf \fi + \smallexamplefonts \rm + \fi +} +\def\setsmalldispenv{% + \ifx\SETdispenvsize\nosmallword + \else + \ifnum \lastpenalty=10000 \else \endgraf \fi + \smallexamplefonts \rm + \fi +} + +% We often define two environments, @foo and @smallfoo. +% Let's do it by one command: +\def\makedispenv #1#2{ + \expandafter\envdef\csname#1\endcsname {\setnormaldispenv #2} + \expandafter\envdef\csname small#1\endcsname {\setsmalldispenv #2} + \expandafter\let\csname E#1\endcsname \afterenvbreak + \expandafter\let\csname Esmall#1\endcsname \afterenvbreak +} + +% Define two synonyms: +\def\maketwodispenvs #1#2#3{ + \makedispenv{#1}{#3} + \makedispenv{#2}{#3} +} + +% @lisp: indented, narrowed, typewriter font; @example: same as @lisp. +% +% @smallexample and @smalllisp: use smaller fonts. +% Originally contributed by Pavel@xerox. +% +\maketwodispenvs {lisp}{example}{% + \nonfillstart + \tt\quoteexpand + \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special. + \gobble % eat return +} +% @display/@smalldisplay: same as @lisp except keep current font. +% +\makedispenv {display}{% + \nonfillstart + \gobble +} + +% @format/@smallformat: same as @display except don't narrow margins. +% +\makedispenv{format}{% + \let\nonarrowing = t% + \nonfillstart + \gobble +} + +% @flushleft: same as @format, but doesn't obey \SETdispenvsize. +\envdef\flushleft{% + \let\nonarrowing = t% + \nonfillstart + \gobble +} +\let\Eflushleft = \afterenvbreak + +% @flushright. +% +\envdef\flushright{% + \let\nonarrowing = t% + \nonfillstart + \advance\leftskip by 0pt plus 1fill + \gobble +} +\let\Eflushright = \afterenvbreak + + +% @quotation does normal linebreaking (hence we can't use \nonfillstart) +% and narrows the margins. We keep \parskip nonzero in general, since +% we're doing normal filling. So, when using \aboveenvbreak and +% \afterenvbreak, temporarily make \parskip 0. +% +\envdef\quotation{% + {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip + \parindent=0pt + % + % @cartouche defines \nonarrowing to inhibit narrowing at next level down. + \ifx\nonarrowing\relax + \advance\leftskip by \lispnarrowing + \advance\rightskip by \lispnarrowing + \exdentamount = \lispnarrowing + \else + \let\nonarrowing = \relax + \fi + \parsearg\quotationlabel +} + +% We have retained a nonzero parskip for the environment, since we're +% doing normal filling. +% +\def\Equotation{% + \par + \ifx\quotationauthor\undefined\else + % indent a bit. + \leftline{\kern 2\leftskip \sl ---\quotationauthor}% + \fi + {\parskip=0pt \afterenvbreak}% +} + +% If we're given an argument, typeset it in bold with a colon after. +\def\quotationlabel#1{% + \def\temp{#1}% + \ifx\temp\empty \else + {\bf #1: }% + \fi +} + + +% LaTeX-like @verbatim...@end verbatim and @verb{...} +% If we want to allow any as delimiter, +% we need the curly braces so that makeinfo sees the @verb command, eg: +% `@verbx...x' would look like the '@verbx' command. --janneke@gnu.org +% +% [Knuth]: Donald Ervin Knuth, 1996. The TeXbook. +% +% [Knuth] p.344; only we need to do the other characters Texinfo sets +% active too. Otherwise, they get lost as the first character on a +% verbatim line. +\def\dospecials{% + \do\ \do\\\do\{\do\}\do\$\do\&% + \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~% + \do\<\do\>\do\|\do\@\do+\do\"% +} +% +% [Knuth] p. 380 +\def\uncatcodespecials{% + \def\do##1{\catcode`##1=\other}\dospecials} +% +% [Knuth] pp. 380,381,391 +% Disable Spanish ligatures ?` and !` of \tt font +\begingroup + \catcode`\`=\active\gdef`{\relax\lq} +\endgroup +% +% Setup for the @verb command. +% +% Eight spaces for a tab +\begingroup + \catcode`\^^I=\active + \gdef\tabeightspaces{\catcode`\^^I=\active\def^^I{\ \ \ \ \ \ \ \ }} +\endgroup +% +\def\setupverb{% + \tt % easiest (and conventionally used) font for verbatim + \def\par{\leavevmode\endgraf}% + \catcode`\`=\active + \tabeightspaces + % Respect line breaks, + % print special symbols as themselves, and + % make each space count + % must do in this order: + \obeylines \uncatcodespecials \sepspaces +} + +% Setup for the @verbatim environment +% +% Real tab expansion +\newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount +% +\def\starttabbox{\setbox0=\hbox\bgroup} + +% Allow an option to not replace quotes with a regular directed right +% quote/apostrophe (char 0x27), but instead use the undirected quote +% from cmtt (char 0x0d). The undirected quote is ugly, so don't make it +% the default, but it works for pasting with more pdf viewers (at least +% evince), the lilypond developers report. xpdf does work with the +% regular 0x27. +% +\def\codequoteright{% + \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax + \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax + '% + \else \char'15 \fi + \else \char'15 \fi +} +% +% and a similar option for the left quote char vs. a grave accent. +% Modern fonts display ASCII 0x60 as a grave accent, so some people like +% the code environments to do likewise. +% +\def\codequoteleft{% + \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax + \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax + `% + \else \char'22 \fi + \else \char'22 \fi +} +% +\begingroup + \catcode`\^^I=\active + \gdef\tabexpand{% + \catcode`\^^I=\active + \def^^I{\leavevmode\egroup + \dimen0=\wd0 % the width so far, or since the previous tab + \divide\dimen0 by\tabw + \multiply\dimen0 by\tabw % compute previous multiple of \tabw + \advance\dimen0 by\tabw % advance to next multiple of \tabw + \wd0=\dimen0 \box0 \starttabbox + }% + } + \catcode`\'=\active + \gdef\rquoteexpand{\catcode\rquoteChar=\active \def'{\codequoteright}}% + % + \catcode`\`=\active + \gdef\lquoteexpand{\catcode\lquoteChar=\active \def`{\codequoteleft}}% + % + \gdef\quoteexpand{\rquoteexpand \lquoteexpand}% +\endgroup + +% start the verbatim environment. +\def\setupverbatim{% + \let\nonarrowing = t% + \nonfillstart + % Easiest (and conventionally used) font for verbatim + \tt + \def\par{\leavevmode\egroup\box0\endgraf}% + \catcode`\`=\active + \tabexpand + \quoteexpand + % Respect line breaks, + % print special symbols as themselves, and + % make each space count + % must do in this order: + \obeylines \uncatcodespecials \sepspaces + \everypar{\starttabbox}% +} + +% Do the @verb magic: verbatim text is quoted by unique +% delimiter characters. Before first delimiter expect a +% right brace, after last delimiter expect closing brace: +% +% \def\doverb'{'#1'}'{#1} +% +% [Knuth] p. 382; only eat outer {} +\begingroup + \catcode`[=1\catcode`]=2\catcode`\{=\other\catcode`\}=\other + \gdef\doverb{#1[\def\next##1#1}[##1\endgroup]\next] +\endgroup +% +\def\verb{\begingroup\setupverb\doverb} +% +% +% Do the @verbatim magic: define the macro \doverbatim so that +% the (first) argument ends when '@end verbatim' is reached, ie: +% +% \def\doverbatim#1@end verbatim{#1} +% +% For Texinfo it's a lot easier than for LaTeX, +% because texinfo's \verbatim doesn't stop at '\end{verbatim}': +% we need not redefine '\', '{' and '}'. +% +% Inspired by LaTeX's verbatim command set [latex.ltx] +% +\begingroup + \catcode`\ =\active + \obeylines % + % ignore everything up to the first ^^M, that's the newline at the end + % of the @verbatim input line itself. Otherwise we get an extra blank + % line in the output. + \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}% + % We really want {...\end verbatim} in the body of the macro, but + % without the active space; thus we have to use \xdef and \gobble. +\endgroup +% +\envdef\verbatim{% + \setupverbatim\doverbatim +} +\let\Everbatim = \afterenvbreak + + +% @verbatiminclude FILE - insert text of file in verbatim environment. +% +\def\verbatiminclude{\parseargusing\filenamecatcodes\doverbatiminclude} +% +\def\doverbatiminclude#1{% + {% + \makevalueexpandable + \setupverbatim + \input #1 + \afterenvbreak + }% +} + +% @copying ... @end copying. +% Save the text away for @insertcopying later. +% +% We save the uninterpreted tokens, rather than creating a box. +% Saving the text in a box would be much easier, but then all the +% typesetting commands (@smallbook, font changes, etc.) have to be done +% beforehand -- and a) we want @copying to be done first in the source +% file; b) letting users define the frontmatter in as flexible order as +% possible is very desirable. +% +\def\copying{\checkenv{}\begingroup\scanargctxt\docopying} +\def\docopying#1@end copying{\endgroup\def\copyingtext{#1}} +% +\def\insertcopying{% + \begingroup + \parindent = 0pt % paragraph indentation looks wrong on title page + \scanexp\copyingtext + \endgroup +} + + +\message{defuns,} +% @defun etc. + +\newskip\defbodyindent \defbodyindent=.4in +\newskip\defargsindent \defargsindent=50pt +\newskip\deflastargmargin \deflastargmargin=18pt +\newcount\defunpenalty + +% Start the processing of @deffn: +\def\startdefun{% + \ifnum\lastpenalty<10000 + \medbreak + \defunpenalty=10003 % Will keep this @deffn together with the + % following @def command, see below. + \else + % If there are two @def commands in a row, we'll have a \nobreak, + % which is there to keep the function description together with its + % header. But if there's nothing but headers, we need to allow a + % break somewhere. Check specifically for penalty 10002, inserted + % by \printdefunline, instead of 10000, since the sectioning + % commands also insert a nobreak penalty, and we don't want to allow + % a break between a section heading and a defun. + % + % As a minor refinement, we avoid "club" headers by signalling + % with penalty of 10003 after the very first @deffn in the + % sequence (see above), and penalty of 10002 after any following + % @def command. + \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi + % + % Similarly, after a section heading, do not allow a break. + % But do insert the glue. + \medskip % preceded by discardable penalty, so not a breakpoint + \fi + % + \parindent=0in + \advance\leftskip by \defbodyindent + \exdentamount=\defbodyindent +} + +\def\dodefunx#1{% + % First, check whether we are in the right environment: + \checkenv#1% + % + % As above, allow line break if we have multiple x headers in a row. + % It's not a great place, though. + \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi + % + % And now, it's time to reuse the body of the original defun: + \expandafter\gobbledefun#1% +} +\def\gobbledefun#1\startdefun{} + +% \printdefunline \deffnheader{text} +% +\def\printdefunline#1#2{% + \begingroup + % call \deffnheader: + #1#2 \endheader + % common ending: + \interlinepenalty = 10000 + \advance\rightskip by 0pt plus 1fil + \endgraf + \nobreak\vskip -\parskip + \penalty\defunpenalty % signal to \startdefun and \dodefunx + % Some of the @defun-type tags do not enable magic parentheses, + % rendering the following check redundant. But we don't optimize. + \checkparencounts + \endgroup +} + +\def\Edefun{\endgraf\medbreak} + +% \makedefun{deffn} creates \deffn, \deffnx and \Edeffn; +% the only thing remainnig is to define \deffnheader. +% +\def\makedefun#1{% + \expandafter\let\csname E#1\endcsname = \Edefun + \edef\temp{\noexpand\domakedefun + \makecsname{#1}\makecsname{#1x}\makecsname{#1header}}% + \temp +} + +% \domakedefun \deffn \deffnx \deffnheader +% +% Define \deffn and \deffnx, without parameters. +% \deffnheader has to be defined explicitly. +% +\def\domakedefun#1#2#3{% + \envdef#1{% + \startdefun + \parseargusing\activeparens{\printdefunline#3}% + }% + \def#2{\dodefunx#1}% + \def#3% +} + +%%% Untyped functions: + +% @deffn category name args +\makedefun{deffn}{\deffngeneral{}} + +% @deffn category class name args +\makedefun{defop}#1 {\defopon{#1\ \putwordon}} + +% \defopon {category on}class name args +\def\defopon#1#2 {\deffngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} } + +% \deffngeneral {subind}category name args +% +\def\deffngeneral#1#2 #3 #4\endheader{% + % Remember that \dosubind{fn}{foo}{} is equivalent to \doind{fn}{foo}. + \dosubind{fn}{\code{#3}}{#1}% + \defname{#2}{}{#3}\magicamp\defunargs{#4\unskip}% +} + +%%% Typed functions: + +% @deftypefn category type name args +\makedefun{deftypefn}{\deftypefngeneral{}} + +% @deftypeop category class type name args +\makedefun{deftypeop}#1 {\deftypeopon{#1\ \putwordon}} + +% \deftypeopon {category on}class type name args +\def\deftypeopon#1#2 {\deftypefngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} } + +% \deftypefngeneral {subind}category type name args +% +\def\deftypefngeneral#1#2 #3 #4 #5\endheader{% + \dosubind{fn}{\code{#4}}{#1}% + \defname{#2}{#3}{#4}\defunargs{#5\unskip}% +} + +%%% Typed variables: + +% @deftypevr category type var args +\makedefun{deftypevr}{\deftypecvgeneral{}} + +% @deftypecv category class type var args +\makedefun{deftypecv}#1 {\deftypecvof{#1\ \putwordof}} + +% \deftypecvof {category of}class type var args +\def\deftypecvof#1#2 {\deftypecvgeneral{\putwordof\ \code{#2}}{#1\ \code{#2}} } + +% \deftypecvgeneral {subind}category type var args +% +\def\deftypecvgeneral#1#2 #3 #4 #5\endheader{% + \dosubind{vr}{\code{#4}}{#1}% + \defname{#2}{#3}{#4}\defunargs{#5\unskip}% +} + +%%% Untyped variables: + +% @defvr category var args +\makedefun{defvr}#1 {\deftypevrheader{#1} {} } + +% @defcv category class var args +\makedefun{defcv}#1 {\defcvof{#1\ \putwordof}} + +% \defcvof {category of}class var args +\def\defcvof#1#2 {\deftypecvof{#1}#2 {} } + +%%% Type: +% @deftp category name args +\makedefun{deftp}#1 #2 #3\endheader{% + \doind{tp}{\code{#2}}% + \defname{#1}{}{#2}\defunargs{#3\unskip}% +} + +% Remaining @defun-like shortcuts: +\makedefun{defun}{\deffnheader{\putwordDeffunc} } +\makedefun{defmac}{\deffnheader{\putwordDefmac} } +\makedefun{defspec}{\deffnheader{\putwordDefspec} } +\makedefun{deftypefun}{\deftypefnheader{\putwordDeffunc} } +\makedefun{defvar}{\defvrheader{\putwordDefvar} } +\makedefun{defopt}{\defvrheader{\putwordDefopt} } +\makedefun{deftypevar}{\deftypevrheader{\putwordDefvar} } +\makedefun{defmethod}{\defopon\putwordMethodon} +\makedefun{deftypemethod}{\deftypeopon\putwordMethodon} +\makedefun{defivar}{\defcvof\putwordInstanceVariableof} +\makedefun{deftypeivar}{\deftypecvof\putwordInstanceVariableof} + +% \defname, which formats the name of the @def (not the args). +% #1 is the category, such as "Function". +% #2 is the return type, if any. +% #3 is the function name. +% +% We are followed by (but not passed) the arguments, if any. +% +\def\defname#1#2#3{% + % Get the values of \leftskip and \rightskip as they were outside the @def... + \advance\leftskip by -\defbodyindent + % + % How we'll format the type name. Putting it in brackets helps + % distinguish it from the body text that may end up on the next line + % just below it. + \def\temp{#1}% + \setbox0=\hbox{\kern\deflastargmargin \ifx\temp\empty\else [\rm\temp]\fi} + % + % Figure out line sizes for the paragraph shape. + % The first line needs space for \box0; but if \rightskip is nonzero, + % we need only space for the part of \box0 which exceeds it: + \dimen0=\hsize \advance\dimen0 by -\wd0 \advance\dimen0 by \rightskip + % The continuations: + \dimen2=\hsize \advance\dimen2 by -\defargsindent + % (plain.tex says that \dimen1 should be used only as global.) + \parshape 2 0in \dimen0 \defargsindent \dimen2 + % + % Put the type name to the right margin. + \noindent + \hbox to 0pt{% + \hfil\box0 \kern-\hsize + % \hsize has to be shortened this way: + \kern\leftskip + % Intentionally do not respect \rightskip, since we need the space. + }% + % + % Allow all lines to be underfull without complaint: + \tolerance=10000 \hbadness=10000 + \exdentamount=\defbodyindent + {% + % defun fonts. We use typewriter by default (used to be bold) because: + % . we're printing identifiers, they should be in tt in principle. + % . in languages with many accents, such as Czech or French, it's + % common to leave accents off identifiers. The result looks ok in + % tt, but exceedingly strange in rm. + % . we don't want -- and --- to be treated as ligatures. + % . this still does not fix the ?` and !` ligatures, but so far no + % one has made identifiers using them :). + \df \tt + \def\temp{#2}% return value type + \ifx\temp\empty\else \tclose{\temp} \fi + #3% output function name + }% + {\rm\enskip}% hskip 0.5 em of \tenrm + % + \boldbrax + % arguments will be output next, if any. +} + +% Print arguments in slanted roman (not ttsl), inconsistently with using +% tt for the name. This is because literal text is sometimes needed in +% the argument list (groff manual), and ttsl and tt are not very +% distinguishable. Prevent hyphenation at `-' chars. +% +\def\defunargs#1{% + % use sl by default (not ttsl), + % tt for the names. + \df \sl \hyphenchar\font=0 + % + % On the other hand, if an argument has two dashes (for instance), we + % want a way to get ttsl. Let's try @var for that. + \let\var=\ttslanted + #1% + \sl\hyphenchar\font=45 +} + +% We want ()&[] to print specially on the defun line. +% +\def\activeparens{% + \catcode`\(=\active \catcode`\)=\active + \catcode`\[=\active \catcode`\]=\active + \catcode`\&=\active +} + +% Make control sequences which act like normal parenthesis chars. +\let\lparen = ( \let\rparen = ) + +% Be sure that we always have a definition for `(', etc. For example, +% if the fn name has parens in it, \boldbrax will not be in effect yet, +% so TeX would otherwise complain about undefined control sequence. +{ + \activeparens + \global\let(=\lparen \global\let)=\rparen + \global\let[=\lbrack \global\let]=\rbrack + \global\let& = \& + + \gdef\boldbrax{\let(=\opnr\let)=\clnr\let[=\lbrb\let]=\rbrb} + \gdef\magicamp{\let&=\amprm} +} + +\newcount\parencount + +% If we encounter &foo, then turn on ()-hacking afterwards +\newif\ifampseen +\def\amprm#1 {\ampseentrue{\bf\ }} + +\def\parenfont{% + \ifampseen + % At the first level, print parens in roman, + % otherwise use the default font. + \ifnum \parencount=1 \rm \fi + \else + % The \sf parens (in \boldbrax) actually are a little bolder than + % the contained text. This is especially needed for [ and ] . + \sf + \fi +} +\def\infirstlevel#1{% + \ifampseen + \ifnum\parencount=1 + #1% + \fi + \fi +} +\def\bfafterword#1 {#1 \bf} + +\def\opnr{% + \global\advance\parencount by 1 + {\parenfont(}% + \infirstlevel \bfafterword +} +\def\clnr{% + {\parenfont)}% + \infirstlevel \sl + \global\advance\parencount by -1 +} + +\newcount\brackcount +\def\lbrb{% + \global\advance\brackcount by 1 + {\bf[}% +} +\def\rbrb{% + {\bf]}% + \global\advance\brackcount by -1 +} + +\def\checkparencounts{% + \ifnum\parencount=0 \else \badparencount \fi + \ifnum\brackcount=0 \else \badbrackcount \fi +} +% these should not use \errmessage; the glibc manual, at least, actually +% has such constructs (when documenting function pointers). +\def\badparencount{% + \message{Warning: unbalanced parentheses in @def...}% + \global\parencount=0 +} +\def\badbrackcount{% + \message{Warning: unbalanced square brackets in @def...}% + \global\brackcount=0 +} + + +\message{macros,} +% @macro. + +% To do this right we need a feature of e-TeX, \scantokens, +% which we arrange to emulate with a temporary file in ordinary TeX. +\ifx\eTeXversion\undefined + \newwrite\macscribble + \def\scantokens#1{% + \toks0={#1}% + \immediate\openout\macscribble=\jobname.tmp + \immediate\write\macscribble{\the\toks0}% + \immediate\closeout\macscribble + \input \jobname.tmp + } +\fi + +\def\scanmacro#1{% + \begingroup + \newlinechar`\^^M + \let\xeatspaces\eatspaces + % Undo catcode changes of \startcontents and \doprintindex + % When called from @insertcopying or (short)caption, we need active + % backslash to get it printed correctly. Previously, we had + % \catcode`\\=\other instead. We'll see whether a problem appears + % with macro expansion. --kasal, 19aug04 + \catcode`\@=0 \catcode`\\=\active \escapechar=`\@ + % ... and \example + \spaceisspace + % + % Append \endinput to make sure that TeX does not see the ending newline. + % I've verified that it is necessary both for e-TeX and for ordinary TeX + % --kasal, 29nov03 + \scantokens{#1\endinput}% + \endgroup +} + +\def\scanexp#1{% + \edef\temp{\noexpand\scanmacro{#1}}% + \temp +} + +\newcount\paramno % Count of parameters +\newtoks\macname % Macro name +\newif\ifrecursive % Is it recursive? + +% List of all defined macros in the form +% \definedummyword\macro1\definedummyword\macro2... +% Currently is also contains all @aliases; the list can be split +% if there is a need. +\def\macrolist{} + +% Add the macro to \macrolist +\def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname} +\def\addtomacrolistxxx#1{% + \toks0 = \expandafter{\macrolist\definedummyword#1}% + \xdef\macrolist{\the\toks0}% +} + +% Utility routines. +% This does \let #1 = #2, with \csnames; that is, +% \let \csname#1\endcsname = \csname#2\endcsname +% (except of course we have to play expansion games). +% +\def\cslet#1#2{% + \expandafter\let + \csname#1\expandafter\endcsname + \csname#2\endcsname +} + +% Trim leading and trailing spaces off a string. +% Concepts from aro-bend problem 15 (see CTAN). +{\catcode`\@=11 +\gdef\eatspaces #1{\expandafter\trim@\expandafter{#1 }} +\gdef\trim@ #1{\trim@@ @#1 @ #1 @ @@} +\gdef\trim@@ #1@ #2@ #3@@{\trim@@@\empty #2 @} +\def\unbrace#1{#1} +\unbrace{\gdef\trim@@@ #1 } #2@{#1} +} + +% Trim a single trailing ^^M off a string. +{\catcode`\^^M=\other \catcode`\Q=3% +\gdef\eatcr #1{\eatcra #1Q^^MQ}% +\gdef\eatcra#1^^MQ{\eatcrb#1Q}% +\gdef\eatcrb#1Q#2Q{#1}% +} + +% Macro bodies are absorbed as an argument in a context where +% all characters are catcode 10, 11 or 12, except \ which is active +% (as in normal texinfo). It is necessary to change the definition of \. + +% Non-ASCII encodings make 8-bit characters active, so un-activate +% them to avoid their expansion. Must do this non-globally, to +% confine the change to the current group. + +% It's necessary to have hard CRs when the macro is executed. This is +% done by making ^^M (\endlinechar) catcode 12 when reading the macro +% body, and then making it the \newlinechar in \scanmacro. + +\def\scanctxt{% + \catcode`\"=\other + \catcode`\+=\other + \catcode`\<=\other + \catcode`\>=\other + \catcode`\@=\other + \catcode`\^=\other + \catcode`\_=\other + \catcode`\|=\other + \catcode`\~=\other + \ifx\declaredencoding\ascii \else \setnonasciicharscatcodenonglobal\other \fi +} + +\def\scanargctxt{% + \scanctxt + \catcode`\\=\other + \catcode`\^^M=\other +} + +\def\macrobodyctxt{% + \scanctxt + \catcode`\{=\other + \catcode`\}=\other + \catcode`\^^M=\other + \usembodybackslash +} + +\def\macroargctxt{% + \scanctxt + \catcode`\\=\other +} + +% \mbodybackslash is the definition of \ in @macro bodies. +% It maps \foo\ => \csname macarg.foo\endcsname => #N +% where N is the macro parameter number. +% We define \csname macarg.\endcsname to be \realbackslash, so +% \\ in macro replacement text gets you a backslash. + +{\catcode`@=0 @catcode`@\=@active + @gdef@usembodybackslash{@let\=@mbodybackslash} + @gdef@mbodybackslash#1\{@csname macarg.#1@endcsname} +} +\expandafter\def\csname macarg.\endcsname{\realbackslash} + +\def\macro{\recursivefalse\parsearg\macroxxx} +\def\rmacro{\recursivetrue\parsearg\macroxxx} + +\def\macroxxx#1{% + \getargs{#1}% now \macname is the macname and \argl the arglist + \ifx\argl\empty % no arguments + \paramno=0% + \else + \expandafter\parsemargdef \argl;% + \fi + \if1\csname ismacro.\the\macname\endcsname + \message{Warning: redefining \the\macname}% + \else + \expandafter\ifx\csname \the\macname\endcsname \relax + \else \errmessage{Macro name \the\macname\space already defined}\fi + \global\cslet{macsave.\the\macname}{\the\macname}% + \global\expandafter\let\csname ismacro.\the\macname\endcsname=1% + \addtomacrolist{\the\macname}% + \fi + \begingroup \macrobodyctxt + \ifrecursive \expandafter\parsermacbody + \else \expandafter\parsemacbody + \fi} + +\parseargdef\unmacro{% + \if1\csname ismacro.#1\endcsname + \global\cslet{#1}{macsave.#1}% + \global\expandafter\let \csname ismacro.#1\endcsname=0% + % Remove the macro name from \macrolist: + \begingroup + \expandafter\let\csname#1\endcsname \relax + \let\definedummyword\unmacrodo + \xdef\macrolist{\macrolist}% + \endgroup + \else + \errmessage{Macro #1 not defined}% + \fi +} + +% Called by \do from \dounmacro on each macro. The idea is to omit any +% macro definitions that have been changed to \relax. +% +\def\unmacrodo#1{% + \ifx #1\relax + % remove this + \else + \noexpand\definedummyword \noexpand#1% + \fi +} + +% This makes use of the obscure feature that if the last token of a +% is #, then the preceding argument is delimited by +% an opening brace, and that opening brace is not consumed. +\def\getargs#1{\getargsxxx#1{}} +\def\getargsxxx#1#{\getmacname #1 \relax\getmacargs} +\def\getmacname #1 #2\relax{\macname={#1}} +\def\getmacargs#1{\def\argl{#1}} + +% Parse the optional {params} list. Set up \paramno and \paramlist +% so \defmacro knows what to do. Define \macarg.blah for each blah +% in the params list, to be ##N where N is the position in that list. +% That gets used by \mbodybackslash (above). + +% We need to get `macro parameter char #' into several definitions. +% The technique used is stolen from LaTeX: let \hash be something +% unexpandable, insert that wherever you need a #, and then redefine +% it to # just before using the token list produced. +% +% The same technique is used to protect \eatspaces till just before +% the macro is used. + +\def\parsemargdef#1;{\paramno=0\def\paramlist{}% + \let\hash\relax\let\xeatspaces\relax\parsemargdefxxx#1,;,} +\def\parsemargdefxxx#1,{% + \if#1;\let\next=\relax + \else \let\next=\parsemargdefxxx + \advance\paramno by 1% + \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname + {\xeatspaces{\hash\the\paramno}}% + \edef\paramlist{\paramlist\hash\the\paramno,}% + \fi\next} + +% These two commands read recursive and nonrecursive macro bodies. +% (They're different since rec and nonrec macros end differently.) + +\long\def\parsemacbody#1@end macro% +{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% +\long\def\parsermacbody#1@end rmacro% +{\xdef\temp{\eatcr{#1}}\endgroup\defmacro}% + +% This defines the macro itself. There are six cases: recursive and +% nonrecursive macros of zero, one, and many arguments. +% Much magic with \expandafter here. +% \xdef is used so that macro definitions will survive the file +% they're defined in; @include reads the file inside a group. +\def\defmacro{% + \let\hash=##% convert placeholders to macro parameter chars + \ifrecursive + \ifcase\paramno + % 0 + \expandafter\xdef\csname\the\macname\endcsname{% + \noexpand\scanmacro{\temp}}% + \or % 1 + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \noexpand\braceorline + \expandafter\noexpand\csname\the\macname xxx\endcsname}% + \expandafter\xdef\csname\the\macname xxx\endcsname##1{% + \egroup\noexpand\scanmacro{\temp}}% + \else % many + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \noexpand\csname\the\macname xx\endcsname}% + \expandafter\xdef\csname\the\macname xx\endcsname##1{% + \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% + \expandafter\expandafter + \expandafter\xdef + \expandafter\expandafter + \csname\the\macname xxx\endcsname + \paramlist{\egroup\noexpand\scanmacro{\temp}}% + \fi + \else + \ifcase\paramno + % 0 + \expandafter\xdef\csname\the\macname\endcsname{% + \noexpand\norecurse{\the\macname}% + \noexpand\scanmacro{\temp}\egroup}% + \or % 1 + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \noexpand\braceorline + \expandafter\noexpand\csname\the\macname xxx\endcsname}% + \expandafter\xdef\csname\the\macname xxx\endcsname##1{% + \egroup + \noexpand\norecurse{\the\macname}% + \noexpand\scanmacro{\temp}\egroup}% + \else % many + \expandafter\xdef\csname\the\macname\endcsname{% + \bgroup\noexpand\macroargctxt + \expandafter\noexpand\csname\the\macname xx\endcsname}% + \expandafter\xdef\csname\the\macname xx\endcsname##1{% + \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}% + \expandafter\expandafter + \expandafter\xdef + \expandafter\expandafter + \csname\the\macname xxx\endcsname + \paramlist{% + \egroup + \noexpand\norecurse{\the\macname}% + \noexpand\scanmacro{\temp}\egroup}% + \fi + \fi} + +\def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}} + +% \braceorline decides whether the next nonwhitespace character is a +% {. If so it reads up to the closing }, if not, it reads the whole +% line. Whatever was read is then fed to the next control sequence +% as an argument (by \parsebrace or \parsearg) +\def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx} +\def\braceorlinexxx{% + \ifx\nchar\bgroup\else + \expandafter\parsearg + \fi \macnamexxx} + + +% @alias. +% We need some trickery to remove the optional spaces around the equal +% sign. Just make them active and then expand them all to nothing. +\def\alias{\parseargusing\obeyspaces\aliasxxx} +\def\aliasxxx #1{\aliasyyy#1\relax} +\def\aliasyyy #1=#2\relax{% + {% + \expandafter\let\obeyedspace=\empty + \addtomacrolist{#1}% + \xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}% + }% + \next +} + + +\message{cross references,} + +\newwrite\auxfile +\newif\ifhavexrefs % True if xref values are known. +\newif\ifwarnedxrefs % True if we warned once that they aren't known. + +% @inforef is relatively simple. +\def\inforef #1{\inforefzzz #1,,,,**} +\def\inforefzzz #1,#2,#3,#4**{\putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}}, + node \samp{\ignorespaces#1{}}} + +% @node's only job in TeX is to define \lastnode, which is used in +% cross-references. The @node line might or might not have commas, and +% might or might not have spaces before the first comma, like: +% @node foo , bar , ... +% We don't want such trailing spaces in the node name. +% +\parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse} +% +% also remove a trailing comma, in case of something like this: +% @node Help-Cross, , , Cross-refs +\def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse} +\def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}} + +\let\nwnode=\node +\let\lastnode=\empty + +% Write a cross-reference definition for the current node. #1 is the +% type (Ynumbered, Yappendix, Ynothing). +% +\def\donoderef#1{% + \ifx\lastnode\empty\else + \setref{\lastnode}{#1}% + \global\let\lastnode=\empty + \fi +} + +% @anchor{NAME} -- define xref target at arbitrary point. +% +\newcount\savesfregister +% +\def\savesf{\relax \ifhmode \savesfregister=\spacefactor \fi} +\def\restoresf{\relax \ifhmode \spacefactor=\savesfregister \fi} +\def\anchor#1{\savesf \setref{#1}{Ynothing}\restoresf \ignorespaces} + +% \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an +% anchor), which consists of three parts: +% 1) NAME-title - the current sectioning name taken from \lastsection, +% or the anchor name. +% 2) NAME-snt - section number and type, passed as the SNT arg, or +% empty for anchors. +% 3) NAME-pg - the page number. +% +% This is called from \donoderef, \anchor, and \dofloat. In the case of +% floats, there is an additional part, which is not written here: +% 4) NAME-lof - the text as it should appear in a @listoffloats. +% +\def\setref#1#2{% + \pdfmkdest{#1}% + \iflinks + {% + \atdummies % preserve commands, but don't expand them + \edef\writexrdef##1##2{% + \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef + ##1}{##2}}% these are parameters of \writexrdef + }% + \toks0 = \expandafter{\lastsection}% + \immediate \writexrdef{title}{\the\toks0 }% + \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc. + \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, during \shipout + }% + \fi +} + +% @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is +% the node name, #2 the name of the Info cross-reference, #3 the printed +% node name, #4 the name of the Info file, #5 the name of the printed +% manual. All but the node name can be omitted. +% +\def\pxref#1{\putwordsee{} \xrefX[#1,,,,,,,]} +\def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]} +\def\ref#1{\xrefX[#1,,,,,,,]} +\def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup + \unsepspaces + \def\printedmanual{\ignorespaces #5}% + \def\printedrefname{\ignorespaces #3}% + \setbox1=\hbox{\printedmanual\unskip}% + \setbox0=\hbox{\printedrefname\unskip}% + \ifdim \wd0 = 0pt + % No printed node name was explicitly given. + \expandafter\ifx\csname SETxref-automatic-section-title\endcsname\relax + % Use the node name inside the square brackets. + \def\printedrefname{\ignorespaces #1}% + \else + % Use the actual chapter/section title appear inside + % the square brackets. Use the real section title if we have it. + \ifdim \wd1 > 0pt + % It is in another manual, so we don't have it. + \def\printedrefname{\ignorespaces #1}% + \else + \ifhavexrefs + % We know the real title if we have the xref values. + \def\printedrefname{\refx{#1-title}{}}% + \else + % Otherwise just copy the Info node name. + \def\printedrefname{\ignorespaces #1}% + \fi% + \fi + \fi + \fi + % + % Make link in pdf output. + \ifpdf + \leavevmode + \getfilename{#4}% + {\indexnofonts + \turnoffactive + % See comments at \activebackslashdouble. + {\activebackslashdouble \xdef\pdfxrefdest{#1}% + \backslashparens\pdfxrefdest}% + % + \ifnum\filenamelength>0 + \startlink attr{/Border [0 0 0]}% + goto file{\the\filename.pdf} name{\pdfxrefdest}% + \else + \startlink attr{/Border [0 0 0]}% + goto name{\pdfmkpgn{\pdfxrefdest}}% + \fi + }% + \setcolor{\linkcolor}% + \fi + % + % Float references are printed completely differently: "Figure 1.2" + % instead of "[somenode], p.3". We distinguish them by the + % LABEL-title being set to a magic string. + {% + % Have to otherify everything special to allow the \csname to + % include an _ in the xref name, etc. + \indexnofonts + \turnoffactive + \expandafter\global\expandafter\let\expandafter\Xthisreftitle + \csname XR#1-title\endcsname + }% + \iffloat\Xthisreftitle + % If the user specified the print name (third arg) to the ref, + % print it instead of our usual "Figure 1.2". + \ifdim\wd0 = 0pt + \refx{#1-snt}{}% + \else + \printedrefname + \fi + % + % if the user also gave the printed manual name (fifth arg), append + % "in MANUALNAME". + \ifdim \wd1 > 0pt + \space \putwordin{} \cite{\printedmanual}% + \fi + \else + % node/anchor (non-float) references. + % + % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not + % insert empty discretionaries after hyphens, which means that it will + % not find a line break at a hyphen in a node names. Since some manuals + % are best written with fairly long node names, containing hyphens, this + % is a loss. Therefore, we give the text of the node name again, so it + % is as if TeX is seeing it for the first time. + \ifdim \wd1 > 0pt + \putwordSection{} ``\printedrefname'' \putwordin{} \cite{\printedmanual}% + \else + % _ (for example) has to be the character _ for the purposes of the + % control sequence corresponding to the node, but it has to expand + % into the usual \leavevmode...\vrule stuff for purposes of + % printing. So we \turnoffactive for the \refx-snt, back on for the + % printing, back off for the \refx-pg. + {\turnoffactive + % Only output a following space if the -snt ref is nonempty; for + % @unnumbered and @anchor, it won't be. + \setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}% + \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi + }% + % output the `[mynode]' via a macro so it can be overridden. + \xrefprintnodename\printedrefname + % + % But we always want a comma and a space: + ,\space + % + % output the `page 3'. + \turnoffactive \putwordpage\tie\refx{#1-pg}{}% + \fi + \fi + \endlink +\endgroup} + +% This macro is called from \xrefX for the `[nodename]' part of xref +% output. It's a separate macro only so it can be changed more easily, +% since square brackets don't work well in some documents. Particularly +% one that Bob is working on :). +% +\def\xrefprintnodename#1{[#1]} + +% Things referred to by \setref. +% +\def\Ynothing{} +\def\Yomitfromtoc{} +\def\Ynumbered{% + \ifnum\secno=0 + \putwordChapter@tie \the\chapno + \else \ifnum\subsecno=0 + \putwordSection@tie \the\chapno.\the\secno + \else \ifnum\subsubsecno=0 + \putwordSection@tie \the\chapno.\the\secno.\the\subsecno + \else + \putwordSection@tie \the\chapno.\the\secno.\the\subsecno.\the\subsubsecno + \fi\fi\fi +} +\def\Yappendix{% + \ifnum\secno=0 + \putwordAppendix@tie @char\the\appendixno{}% + \else \ifnum\subsecno=0 + \putwordSection@tie @char\the\appendixno.\the\secno + \else \ifnum\subsubsecno=0 + \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno + \else + \putwordSection@tie + @char\the\appendixno.\the\secno.\the\subsecno.\the\subsubsecno + \fi\fi\fi +} + +% Define \refx{NAME}{SUFFIX} to reference a cross-reference string named NAME. +% If its value is nonempty, SUFFIX is output afterward. +% +\def\refx#1#2{% + {% + \indexnofonts + \otherbackslash + \expandafter\global\expandafter\let\expandafter\thisrefX + \csname XR#1\endcsname + }% + \ifx\thisrefX\relax + % If not defined, say something at least. + \angleleft un\-de\-fined\angleright + \iflinks + \ifhavexrefs + \message{\linenumber Undefined cross reference `#1'.}% + \else + \ifwarnedxrefs\else + \global\warnedxrefstrue + \message{Cross reference values unknown; you must run TeX again.}% + \fi + \fi + \fi + \else + % It's defined, so just use it. + \thisrefX + \fi + #2% Output the suffix in any case. +} + +% This is the macro invoked by entries in the aux file. Usually it's +% just a \def (we prepend XR to the control sequence name to avoid +% collisions). But if this is a float type, we have more work to do. +% +\def\xrdef#1#2{% + {% The node name might contain 8-bit characters, which in our current + % implementation are changed to commands like @'e. Don't let these + % mess up the control sequence name. + \indexnofonts + \turnoffactive + \xdef\safexrefname{#1}% + }% + % + \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% remember this xref + % + % Was that xref control sequence that we just defined for a float? + \expandafter\iffloat\csname XR\safexrefname\endcsname + % it was a float, and we have the (safe) float type in \iffloattype. + \expandafter\let\expandafter\floatlist + \csname floatlist\iffloattype\endcsname + % + % Is this the first time we've seen this float type? + \expandafter\ifx\floatlist\relax + \toks0 = {\do}% yes, so just \do + \else + % had it before, so preserve previous elements in list. + \toks0 = \expandafter{\floatlist\do}% + \fi + % + % Remember this xref in the control sequence \floatlistFLOATTYPE, + % for later use in \listoffloats. + \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0 + {\safexrefname}}% + \fi +} + +% Read the last existing aux file, if any. No error if none exists. +% +\def\tryauxfile{% + \openin 1 \jobname.aux + \ifeof 1 \else + \readdatafile{aux}% + \global\havexrefstrue + \fi + \closein 1 +} + +\def\setupdatafile{% + \catcode`\^^@=\other + \catcode`\^^A=\other + \catcode`\^^B=\other + \catcode`\^^C=\other + \catcode`\^^D=\other + \catcode`\^^E=\other + \catcode`\^^F=\other + \catcode`\^^G=\other + \catcode`\^^H=\other + \catcode`\^^K=\other + \catcode`\^^L=\other + \catcode`\^^N=\other + \catcode`\^^P=\other + \catcode`\^^Q=\other + \catcode`\^^R=\other + \catcode`\^^S=\other + \catcode`\^^T=\other + \catcode`\^^U=\other + \catcode`\^^V=\other + \catcode`\^^W=\other + \catcode`\^^X=\other + \catcode`\^^Z=\other + \catcode`\^^[=\other + \catcode`\^^\=\other + \catcode`\^^]=\other + \catcode`\^^^=\other + \catcode`\^^_=\other + % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc. + % in xref tags, i.e., node names. But since ^^e4 notation isn't + % supported in the main text, it doesn't seem desirable. Furthermore, + % that is not enough: for node names that actually contain a ^ + % character, we would end up writing a line like this: 'xrdef {'hat + % b-title}{'hat b} and \xrdef does a \csname...\endcsname on the first + % argument, and \hat is not an expandable control sequence. It could + % all be worked out, but why? Either we support ^^ or we don't. + % + % The other change necessary for this was to define \auxhat: + % \def\auxhat{\def^{'hat }}% extra space so ok if followed by letter + % and then to call \auxhat in \setq. + % + \catcode`\^=\other + % + % Special characters. Should be turned off anyway, but... + \catcode`\~=\other + \catcode`\[=\other + \catcode`\]=\other + \catcode`\"=\other + \catcode`\_=\other + \catcode`\|=\other + \catcode`\<=\other + \catcode`\>=\other + \catcode`\$=\other + \catcode`\#=\other + \catcode`\&=\other + \catcode`\%=\other + \catcode`+=\other % avoid \+ for paranoia even though we've turned it off + % + % This is to support \ in node names and titles, since the \ + % characters end up in a \csname. It's easier than + % leaving it active and making its active definition an actual \ + % character. What I don't understand is why it works in the *value* + % of the xrdef. Seems like it should be a catcode12 \, and that + % should not typeset properly. But it works, so I'm moving on for + % now. --karl, 15jan04. + \catcode`\\=\other + % + % Make the characters 128-255 be printing characters. + {% + \count1=128 + \def\loop{% + \catcode\count1=\other + \advance\count1 by 1 + \ifnum \count1<256 \loop \fi + }% + }% + % + % @ is our escape character in .aux files, and we need braces. + \catcode`\{=1 + \catcode`\}=2 + \catcode`\@=0 +} + +\def\readdatafile#1{% +\begingroup + \setupdatafile + \input\jobname.#1 +\endgroup} + + +\message{insertions,} +% including footnotes. + +\newcount \footnoteno + +% The trailing space in the following definition for supereject is +% vital for proper filling; pages come out unaligned when you do a +% pagealignmacro call if that space before the closing brace is +% removed. (Generally, numeric constants should always be followed by a +% space to prevent strange expansion errors.) +\def\supereject{\par\penalty -20000\footnoteno =0 } + +% @footnotestyle is meaningful for info output only. +\let\footnotestyle=\comment + +{\catcode `\@=11 +% +% Auto-number footnotes. Otherwise like plain. +\gdef\footnote{% + \let\indent=\ptexindent + \let\noindent=\ptexnoindent + \global\advance\footnoteno by \@ne + \edef\thisfootno{$^{\the\footnoteno}$}% + % + % In case the footnote comes at the end of a sentence, preserve the + % extra spacing after we do the footnote number. + \let\@sf\empty + \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\ptexslash\fi + % + % Remove inadvertent blank space before typesetting the footnote number. + \unskip + \thisfootno\@sf + \dofootnote +}% + +% Don't bother with the trickery in plain.tex to not require the +% footnote text as a parameter. Our footnotes don't need to be so general. +% +% Oh yes, they do; otherwise, @ifset (and anything else that uses +% \parseargline) fails inside footnotes because the tokens are fixed when +% the footnote is read. --karl, 16nov96. +% +\gdef\dofootnote{% + \insert\footins\bgroup + % We want to typeset this text as a normal paragraph, even if the + % footnote reference occurs in (for example) a display environment. + % So reset some parameters. + \hsize=\pagewidth + \interlinepenalty\interfootnotelinepenalty + \splittopskip\ht\strutbox % top baseline for broken footnotes + \splitmaxdepth\dp\strutbox + \floatingpenalty\@MM + \leftskip\z@skip + \rightskip\z@skip + \spaceskip\z@skip + \xspaceskip\z@skip + \parindent\defaultparindent + % + \smallfonts \rm + % + % Because we use hanging indentation in footnotes, a @noindent appears + % to exdent this text, so make it be a no-op. makeinfo does not use + % hanging indentation so @noindent can still be needed within footnote + % text after an @example or the like (not that this is good style). + \let\noindent = \relax + % + % Hang the footnote text off the number. Use \everypar in case the + % footnote extends for more than one paragraph. + \everypar = {\hang}% + \textindent{\thisfootno}% + % + % Don't crash into the line above the footnote text. Since this + % expands into a box, it must come within the paragraph, lest it + % provide a place where TeX can split the footnote. + \footstrut + \futurelet\next\fo@t +} +}%end \catcode `\@=11 + +% In case a @footnote appears in a vbox, save the footnote text and create +% the real \insert just after the vbox finished. Otherwise, the insertion +% would be lost. +% Similarily, if a @footnote appears inside an alignment, save the footnote +% text to a box and make the \insert when a row of the table is finished. +% And the same can be done for other insert classes. --kasal, 16nov03. + +% Replace the \insert primitive by a cheating macro. +% Deeper inside, just make sure that the saved insertions are not spilled +% out prematurely. +% +\def\startsavinginserts{% + \ifx \insert\ptexinsert + \let\insert\saveinsert + \else + \let\checkinserts\relax + \fi +} + +% This \insert replacement works for both \insert\footins{foo} and +% \insert\footins\bgroup foo\egroup, but it doesn't work for \insert27{foo}. +% +\def\saveinsert#1{% + \edef\next{\noexpand\savetobox \makeSAVEname#1}% + \afterassignment\next + % swallow the left brace + \let\temp = +} +\def\makeSAVEname#1{\makecsname{SAVE\expandafter\gobble\string#1}} +\def\savetobox#1{\global\setbox#1 = \vbox\bgroup \unvbox#1} + +\def\checksaveins#1{\ifvoid#1\else \placesaveins#1\fi} + +\def\placesaveins#1{% + \ptexinsert \csname\expandafter\gobblesave\string#1\endcsname + {\box#1}% +} + +% eat @SAVE -- beware, all of them have catcode \other: +{ + \def\dospecials{\do S\do A\do V\do E} \uncatcodespecials % ;-) + \gdef\gobblesave @SAVE{} +} + +% initialization: +\def\newsaveins #1{% + \edef\next{\noexpand\newsaveinsX \makeSAVEname#1}% + \next +} +\def\newsaveinsX #1{% + \csname newbox\endcsname #1% + \expandafter\def\expandafter\checkinserts\expandafter{\checkinserts + \checksaveins #1}% +} + +% initialize: +\let\checkinserts\empty +\newsaveins\footins +\newsaveins\margin + + +% @image. We use the macros from epsf.tex to support this. +% If epsf.tex is not installed and @image is used, we complain. +% +% Check for and read epsf.tex up front. If we read it only at @image +% time, we might be inside a group, and then its definitions would get +% undone and the next image would fail. +\openin 1 = epsf.tex +\ifeof 1 \else + % Do not bother showing banner with epsf.tex v2.7k (available in + % doc/epsf.tex and on ctan). + \def\epsfannounce{\toks0 = }% + \input epsf.tex +\fi +\closein 1 +% +% We will only complain once about lack of epsf.tex. +\newif\ifwarnednoepsf +\newhelp\noepsfhelp{epsf.tex must be installed for images to + work. It is also included in the Texinfo distribution, or you can get + it from ftp://tug.org/tex/epsf.tex.} +% +\def\image#1{% + \ifx\epsfbox\undefined + \ifwarnednoepsf \else + \errhelp = \noepsfhelp + \errmessage{epsf.tex not found, images will be ignored}% + \global\warnednoepsftrue + \fi + \else + \imagexxx #1,,,,,\finish + \fi +} +% +% Arguments to @image: +% #1 is (mandatory) image filename; we tack on .eps extension. +% #2 is (optional) width, #3 is (optional) height. +% #4 is (ignored optional) html alt text. +% #5 is (ignored optional) extension. +% #6 is just the usual extra ignored arg for parsing this stuff. +\newif\ifimagevmode +\def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup + \catcode`\^^M = 5 % in case we're inside an example + \normalturnoffactive % allow _ et al. in names + % If the image is by itself, center it. + \ifvmode + \imagevmodetrue + \nobreak\bigskip + % Usually we'll have text after the image which will insert + % \parskip glue, so insert it here too to equalize the space + % above and below. + \nobreak\vskip\parskip + \nobreak + \line\bgroup + \fi + % + % Output the image. + \ifpdf + \dopdfimage{#1}{#2}{#3}% + \else + % \epsfbox itself resets \epsf?size at each figure. + \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi + \setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi + \epsfbox{#1.eps}% + \fi + % + \ifimagevmode \egroup \bigbreak \fi % space after the image +\endgroup} + + +% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables, +% etc. We don't actually implement floating yet, we always include the +% float "here". But it seemed the best name for the future. +% +\envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish} + +% There may be a space before second and/or third parameter; delete it. +\def\eatcommaspace#1, {#1,} + +% #1 is the optional FLOATTYPE, the text label for this float, typically +% "Figure", "Table", "Example", etc. Can't contain commas. If omitted, +% this float will not be numbered and cannot be referred to. +% +% #2 is the optional xref label. Also must be present for the float to +% be referable. +% +% #3 is the optional positioning argument; for now, it is ignored. It +% will somehow specify the positions allowed to float to (here, top, bottom). +% +% We keep a separate counter for each FLOATTYPE, which we reset at each +% chapter-level command. +\let\resetallfloatnos=\empty +% +\def\dofloat#1,#2,#3,#4\finish{% + \let\thiscaption=\empty + \let\thisshortcaption=\empty + % + % don't lose footnotes inside @float. + % + % BEWARE: when the floats start float, we have to issue warning whenever an + % insert appears inside a float which could possibly float. --kasal, 26may04 + % + \startsavinginserts + % + % We can't be used inside a paragraph. + \par + % + \vtop\bgroup + \def\floattype{#1}% + \def\floatlabel{#2}% + \def\floatloc{#3}% we do nothing with this yet. + % + \ifx\floattype\empty + \let\safefloattype=\empty + \else + {% + % the floattype might have accents or other special characters, + % but we need to use it in a control sequence name. + \indexnofonts + \turnoffactive + \xdef\safefloattype{\floattype}% + }% + \fi + % + % If label is given but no type, we handle that as the empty type. + \ifx\floatlabel\empty \else + % We want each FLOATTYPE to be numbered separately (Figure 1, + % Table 1, Figure 2, ...). (And if no label, no number.) + % + \expandafter\getfloatno\csname\safefloattype floatno\endcsname + \global\advance\floatno by 1 + % + {% + % This magic value for \lastsection is output by \setref as the + % XREFLABEL-title value. \xrefX uses it to distinguish float + % labels (which have a completely different output format) from + % node and anchor labels. And \xrdef uses it to construct the + % lists of floats. + % + \edef\lastsection{\floatmagic=\safefloattype}% + \setref{\floatlabel}{Yfloat}% + }% + \fi + % + % start with \parskip glue, I guess. + \vskip\parskip + % + % Don't suppress indentation if a float happens to start a section. + \restorefirstparagraphindent +} + +% we have these possibilities: +% @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap +% @float Foo,lbl & no caption: Foo 1.1 +% @float Foo & @caption{Cap}: Foo: Cap +% @float Foo & no caption: Foo +% @float ,lbl & Caption{Cap}: 1.1: Cap +% @float ,lbl & no caption: 1.1 +% @float & @caption{Cap}: Cap +% @float & no caption: +% +\def\Efloat{% + \let\floatident = \empty + % + % In all cases, if we have a float type, it comes first. + \ifx\floattype\empty \else \def\floatident{\floattype}\fi + % + % If we have an xref label, the number comes next. + \ifx\floatlabel\empty \else + \ifx\floattype\empty \else % if also had float type, need tie first. + \appendtomacro\floatident{\tie}% + \fi + % the number. + \appendtomacro\floatident{\chaplevelprefix\the\floatno}% + \fi + % + % Start the printed caption with what we've constructed in + % \floatident, but keep it separate; we need \floatident again. + \let\captionline = \floatident + % + \ifx\thiscaption\empty \else + \ifx\floatident\empty \else + \appendtomacro\captionline{: }% had ident, so need a colon between + \fi + % + % caption text. + \appendtomacro\captionline{\scanexp\thiscaption}% + \fi + % + % If we have anything to print, print it, with space before. + % Eventually this needs to become an \insert. + \ifx\captionline\empty \else + \vskip.5\parskip + \captionline + % + % Space below caption. + \vskip\parskip + \fi + % + % If have an xref label, write the list of floats info. Do this + % after the caption, to avoid chance of it being a breakpoint. + \ifx\floatlabel\empty \else + % Write the text that goes in the lof to the aux file as + % \floatlabel-lof. Besides \floatident, we include the short + % caption if specified, else the full caption if specified, else nothing. + {% + \atdummies + % + % since we read the caption text in the macro world, where ^^M + % is turned into a normal character, we have to scan it back, so + % we don't write the literal three characters "^^M" into the aux file. + \scanexp{% + \xdef\noexpand\gtemp{% + \ifx\thisshortcaption\empty + \thiscaption + \else + \thisshortcaption + \fi + }% + }% + \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident + \ifx\gtemp\empty \else : \gtemp \fi}}% + }% + \fi + \egroup % end of \vtop + % + % place the captured inserts + % + % BEWARE: when the floats start floating, we have to issue warning + % whenever an insert appears inside a float which could possibly + % float. --kasal, 26may04 + % + \checkinserts +} + +% Append the tokens #2 to the definition of macro #1, not expanding either. +% +\def\appendtomacro#1#2{% + \expandafter\def\expandafter#1\expandafter{#1#2}% +} + +% @caption, @shortcaption +% +\def\caption{\docaption\thiscaption} +\def\shortcaption{\docaption\thisshortcaption} +\def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption} +\def\defcaption#1#2{\egroup \def#1{#2}} + +% The parameter is the control sequence identifying the counter we are +% going to use. Create it if it doesn't exist and assign it to \floatno. +\def\getfloatno#1{% + \ifx#1\relax + % Haven't seen this figure type before. + \csname newcount\endcsname #1% + % + % Remember to reset this floatno at the next chap. + \expandafter\gdef\expandafter\resetallfloatnos + \expandafter{\resetallfloatnos #1=0 }% + \fi + \let\floatno#1% +} + +% \setref calls this to get the XREFLABEL-snt value. We want an @xref +% to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we +% first read the @float command. +% +\def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}% + +% Magic string used for the XREFLABEL-title value, so \xrefX can +% distinguish floats from other xref types. +\def\floatmagic{!!float!!} + +% #1 is the control sequence we are passed; we expand into a conditional +% which is true if #1 represents a float ref. That is, the magic +% \lastsection value which we \setref above. +% +\def\iffloat#1{\expandafter\doiffloat#1==\finish} +% +% #1 is (maybe) the \floatmagic string. If so, #2 will be the +% (safe) float type for this float. We set \iffloattype to #2. +% +\def\doiffloat#1=#2=#3\finish{% + \def\temp{#1}% + \def\iffloattype{#2}% + \ifx\temp\floatmagic +} + +% @listoffloats FLOATTYPE - print a list of floats like a table of contents. +% +\parseargdef\listoffloats{% + \def\floattype{#1}% floattype + {% + % the floattype might have accents or other special characters, + % but we need to use it in a control sequence name. + \indexnofonts + \turnoffactive + \xdef\safefloattype{\floattype}% + }% + % + % \xrdef saves the floats as a \do-list in \floatlistSAFEFLOATTYPE. + \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax + \ifhavexrefs + % if the user said @listoffloats foo but never @float foo. + \message{\linenumber No `\safefloattype' floats to list.}% + \fi + \else + \begingroup + \leftskip=\tocindent % indent these entries like a toc + \let\do=\listoffloatsdo + \csname floatlist\safefloattype\endcsname + \endgroup + \fi +} + +% This is called on each entry in a list of floats. We're passed the +% xref label, in the form LABEL-title, which is how we save it in the +% aux file. We strip off the -title and look up \XRLABEL-lof, which +% has the text we're supposed to typeset here. +% +% Figures without xref labels will not be included in the list (since +% they won't appear in the aux file). +% +\def\listoffloatsdo#1{\listoffloatsdoentry#1\finish} +\def\listoffloatsdoentry#1-title\finish{{% + % Can't fully expand XR#1-lof because it can contain anything. Just + % pass the control sequence. On the other hand, XR#1-pg is just the + % page number, and we want to fully expand that so we can get a link + % in pdf output. + \toksA = \expandafter{\csname XR#1-lof\endcsname}% + % + % use the same \entry macro we use to generate the TOC and index. + \edef\writeentry{\noexpand\entry{\the\toksA}{\csname XR#1-pg\endcsname}}% + \writeentry +}} + + +\message{localization,} + +% @documentlanguage is usually given very early, just after +% @setfilename. If done too late, it may not override everything +% properly. Single argument is the language (de) or locale (de_DE) +% abbreviation. It would be nice if we could set up a hyphenation file. +% +{ + \catcode`\_ = \active + \globaldefs=1 +\parseargdef\documentlanguage{\begingroup + \let_=\normalunderscore % normal _ character for filenames + \tex % read txi-??.tex file in plain TeX. + % Read the file by the name they passed if it exists. + \openin 1 txi-#1.tex + \ifeof 1 + \documentlanguagetrywithoutunderscore{#1_\finish}% + \else + \input txi-#1.tex + \fi + \closein 1 + \endgroup +\endgroup} +} +% +% If they passed de_DE, and txi-de_DE.tex doesn't exist, +% try txi-de.tex. +% +\def\documentlanguagetrywithoutunderscore#1_#2\finish{% + \openin 1 txi-#1.tex + \ifeof 1 + \errhelp = \nolanghelp + \errmessage{Cannot read language file txi-#1.tex}% + \else + \input txi-#1.tex + \fi + \closein 1 +} +% +\newhelp\nolanghelp{The given language definition file cannot be found or +is empty. Maybe you need to install it? In the current directory +should work if nowhere else does.} + +% Set the catcode of characters 128 through 255 to the specified number. +% +\def\setnonasciicharscatcode#1{% + \count255=128 + \loop\ifnum\count255<256 + \global\catcode\count255=#1\relax + \advance\count255 by 1 + \repeat +} + +\def\setnonasciicharscatcodenonglobal#1{% + \count255=128 + \loop\ifnum\count255<256 + \catcode\count255=#1\relax + \advance\count255 by 1 + \repeat +} + +% @documentencoding sets the definition of non-ASCII characters +% according to the specified encoding. +% +\parseargdef\documentencoding{% + % Encoding being declared for the document. + \def\declaredencoding{\csname #1.enc\endcsname}% + % + % Supported encodings: names converted to tokens in order to be able + % to compare them with \ifx. + \def\ascii{\csname US-ASCII.enc\endcsname}% + \def\latnine{\csname ISO-8859-15.enc\endcsname}% + \def\latone{\csname ISO-8859-1.enc\endcsname}% + \def\lattwo{\csname ISO-8859-2.enc\endcsname}% + \def\utfeight{\csname UTF-8.enc\endcsname}% + % + \ifx \declaredencoding \ascii + \asciichardefs + % + \else \ifx \declaredencoding \lattwo + \setnonasciicharscatcode\active + \lattwochardefs + % + \else \ifx \declaredencoding \latone + \setnonasciicharscatcode\active + \latonechardefs + % + \else \ifx \declaredencoding \latnine + \setnonasciicharscatcode\active + \latninechardefs + % + \else \ifx \declaredencoding \utfeight + \setnonasciicharscatcode\active + \utfeightchardefs + % + \else + \message{Unknown document encoding #1, ignoring.}% + % + \fi % utfeight + \fi % latnine + \fi % latone + \fi % lattwo + \fi % ascii +} + +% A message to be logged when using a character that isn't available +% the default font encoding (OT1). +% +\def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}} + +% Take account of \c (plain) vs. \, (Texinfo) difference. +\def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi} + +% First, make active non-ASCII characters in order for them to be +% correctly categorized when TeX reads the replacement text of +% macros containing the character definitions. +\setnonasciicharscatcode\active +% +% Latin1 (ISO-8859-1) character definitions. +\def\latonechardefs{% + \gdef^^a0{~} + \gdef^^a1{\exclamdown} + \gdef^^a2{\missingcharmsg{CENT SIGN}} + \gdef^^a3{{\pounds}} + \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} + \gdef^^a5{\missingcharmsg{YEN SIGN}} + \gdef^^a6{\missingcharmsg{BROKEN BAR}} + \gdef^^a7{\S} + \gdef^^a8{\"{}} + \gdef^^a9{\copyright} + \gdef^^aa{\ordf} + \gdef^^ab{\missingcharmsg{LEFT-POINTING DOUBLE ANGLE QUOTATION MARK}} + \gdef^^ac{$\lnot$} + \gdef^^ad{\-} + \gdef^^ae{\registeredsymbol} + \gdef^^af{\={}} + % + \gdef^^b0{\textdegree} + \gdef^^b1{$\pm$} + \gdef^^b2{$^2$} + \gdef^^b3{$^3$} + \gdef^^b4{\'{}} + \gdef^^b5{$\mu$} + \gdef^^b6{\P} + % + \gdef^^b7{$^.$} + \gdef^^b8{\cedilla\ } + \gdef^^b9{$^1$} + \gdef^^ba{\ordm} + % + \gdef^^bb{\missingcharmsg{RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK}} + \gdef^^bc{$1\over4$} + \gdef^^bd{$1\over2$} + \gdef^^be{$3\over4$} + \gdef^^bf{\questiondown} + % + \gdef^^c0{\`A} + \gdef^^c1{\'A} + \gdef^^c2{\^A} + \gdef^^c3{\~A} + \gdef^^c4{\"A} + \gdef^^c5{\ringaccent A} + \gdef^^c6{\AE} + \gdef^^c7{\cedilla C} + \gdef^^c8{\`E} + \gdef^^c9{\'E} + \gdef^^ca{\^E} + \gdef^^cb{\"E} + \gdef^^cc{\`I} + \gdef^^cd{\'I} + \gdef^^ce{\^I} + \gdef^^cf{\"I} + % + \gdef^^d0{\missingcharmsg{LATIN CAPITAL LETTER ETH}} + \gdef^^d1{\~N} + \gdef^^d2{\`O} + \gdef^^d3{\'O} + \gdef^^d4{\^O} + \gdef^^d5{\~O} + \gdef^^d6{\"O} + \gdef^^d7{$\times$} + \gdef^^d8{\O} + \gdef^^d9{\`U} + \gdef^^da{\'U} + \gdef^^db{\^U} + \gdef^^dc{\"U} + \gdef^^dd{\'Y} + \gdef^^de{\missingcharmsg{LATIN CAPITAL LETTER THORN}} + \gdef^^df{\ss} + % + \gdef^^e0{\`a} + \gdef^^e1{\'a} + \gdef^^e2{\^a} + \gdef^^e3{\~a} + \gdef^^e4{\"a} + \gdef^^e5{\ringaccent a} + \gdef^^e6{\ae} + \gdef^^e7{\cedilla c} + \gdef^^e8{\`e} + \gdef^^e9{\'e} + \gdef^^ea{\^e} + \gdef^^eb{\"e} + \gdef^^ec{\`{\dotless i}} + \gdef^^ed{\'{\dotless i}} + \gdef^^ee{\^{\dotless i}} + \gdef^^ef{\"{\dotless i}} + % + \gdef^^f0{\missingcharmsg{LATIN SMALL LETTER ETH}} + \gdef^^f1{\~n} + \gdef^^f2{\`o} + \gdef^^f3{\'o} + \gdef^^f4{\^o} + \gdef^^f5{\~o} + \gdef^^f6{\"o} + \gdef^^f7{$\div$} + \gdef^^f8{\o} + \gdef^^f9{\`u} + \gdef^^fa{\'u} + \gdef^^fb{\^u} + \gdef^^fc{\"u} + \gdef^^fd{\'y} + \gdef^^fe{\missingcharmsg{LATIN SMALL LETTER THORN}} + \gdef^^ff{\"y} +} + +% Latin9 (ISO-8859-15) encoding character definitions. +\def\latninechardefs{% + % Encoding is almost identical to Latin1. + \latonechardefs + % + \gdef^^a4{\euro} + \gdef^^a6{\v S} + \gdef^^a8{\v s} + \gdef^^b4{\v Z} + \gdef^^b8{\v z} + \gdef^^bc{\OE} + \gdef^^bd{\oe} + \gdef^^be{\"Y} +} + +% Latin2 (ISO-8859-2) character definitions. +\def\lattwochardefs{% + \gdef^^a0{~} + \gdef^^a1{\missingcharmsg{LATIN CAPITAL LETTER A WITH OGONEK}} + \gdef^^a2{\u{}} + \gdef^^a3{\L} + \gdef^^a4{\missingcharmsg{CURRENCY SIGN}} + \gdef^^a5{\v L} + \gdef^^a6{\'S} + \gdef^^a7{\S} + \gdef^^a8{\"{}} + \gdef^^a9{\v S} + \gdef^^aa{\cedilla S} + \gdef^^ab{\v T} + \gdef^^ac{\'Z} + \gdef^^ad{\-} + \gdef^^ae{\v Z} + \gdef^^af{\dotaccent Z} + % + \gdef^^b0{\textdegree} + \gdef^^b1{\missingcharmsg{LATIN SMALL LETTER A WITH OGONEK}} + \gdef^^b2{\missingcharmsg{OGONEK}} + \gdef^^b3{\l} + \gdef^^b4{\'{}} + \gdef^^b5{\v l} + \gdef^^b6{\'s} + \gdef^^b7{\v{}} + \gdef^^b8{\cedilla\ } + \gdef^^b9{\v s} + \gdef^^ba{\cedilla s} + \gdef^^bb{\v t} + \gdef^^bc{\'z} + \gdef^^bd{\H{}} + \gdef^^be{\v z} + \gdef^^bf{\dotaccent z} + % + \gdef^^c0{\'R} + \gdef^^c1{\'A} + \gdef^^c2{\^A} + \gdef^^c3{\u A} + \gdef^^c4{\"A} + \gdef^^c5{\'L} + \gdef^^c6{\'C} + \gdef^^c7{\cedilla C} + \gdef^^c8{\v C} + \gdef^^c9{\'E} + \gdef^^ca{\missingcharmsg{LATIN CAPITAL LETTER E WITH OGONEK}} + \gdef^^cb{\"E} + \gdef^^cc{\v E} + \gdef^^cd{\'I} + \gdef^^ce{\^I} + \gdef^^cf{\v D} + % + \gdef^^d0{\missingcharmsg{LATIN CAPITAL LETTER D WITH STROKE}} + \gdef^^d1{\'N} + \gdef^^d2{\v N} + \gdef^^d3{\'O} + \gdef^^d4{\^O} + \gdef^^d5{\H O} + \gdef^^d6{\"O} + \gdef^^d7{$\times$} + \gdef^^d8{\v R} + \gdef^^d9{\ringaccent U} + \gdef^^da{\'U} + \gdef^^db{\H U} + \gdef^^dc{\"U} + \gdef^^dd{\'Y} + \gdef^^de{\cedilla T} + \gdef^^df{\ss} + % + \gdef^^e0{\'r} + \gdef^^e1{\'a} + \gdef^^e2{\^a} + \gdef^^e3{\u a} + \gdef^^e4{\"a} + \gdef^^e5{\'l} + \gdef^^e6{\'c} + \gdef^^e7{\cedilla c} + \gdef^^e8{\v c} + \gdef^^e9{\'e} + \gdef^^ea{\missingcharmsg{LATIN SMALL LETTER E WITH OGONEK}} + \gdef^^eb{\"e} + \gdef^^ec{\v e} + \gdef^^ed{\'\i} + \gdef^^ee{\^\i} + \gdef^^ef{\v d} + % + \gdef^^f0{\missingcharmsg{LATIN SMALL LETTER D WITH STROKE}} + \gdef^^f1{\'n} + \gdef^^f2{\v n} + \gdef^^f3{\'o} + \gdef^^f4{\^o} + \gdef^^f5{\H o} + \gdef^^f6{\"o} + \gdef^^f7{$\div$} + \gdef^^f8{\v r} + \gdef^^f9{\ringaccent u} + \gdef^^fa{\'u} + \gdef^^fb{\H u} + \gdef^^fc{\"u} + \gdef^^fd{\'y} + \gdef^^fe{\cedilla t} + \gdef^^ff{\dotaccent{}} +} + +% UTF-8 character definitions. +% +% This code to support UTF-8 is based on LaTeX's utf8.def, with some +% changes for Texinfo conventions. It is included here under the GPL by +% permission from Frank Mittelbach and the LaTeX team. +% +\newcount\countUTFx +\newcount\countUTFy +\newcount\countUTFz + +\gdef\UTFviiiTwoOctets#1#2{\expandafter + \UTFviiiDefined\csname u8:#1\string #2\endcsname} +% +\gdef\UTFviiiThreeOctets#1#2#3{\expandafter + \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname} +% +\gdef\UTFviiiFourOctets#1#2#3#4{\expandafter + \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname} + +\gdef\UTFviiiDefined#1{% + \ifx #1\relax + \message{\linenumber Unicode char \string #1 not defined for Texinfo}% + \else + \expandafter #1% + \fi +} + +\begingroup + \catcode`\~13 + \catcode`\"12 + + \def\UTFviiiLoop{% + \global\catcode\countUTFx\active + \uccode`\~\countUTFx + \uppercase\expandafter{\UTFviiiTmp}% + \advance\countUTFx by 1 + \ifnum\countUTFx < \countUTFy + \expandafter\UTFviiiLoop + \fi} + + \countUTFx = "C2 + \countUTFy = "E0 + \def\UTFviiiTmp{% + \xdef~{\noexpand\UTFviiiTwoOctets\string~}} + \UTFviiiLoop + + \countUTFx = "E0 + \countUTFy = "F0 + \def\UTFviiiTmp{% + \xdef~{\noexpand\UTFviiiThreeOctets\string~}} + \UTFviiiLoop + + \countUTFx = "F0 + \countUTFy = "F4 + \def\UTFviiiTmp{% + \xdef~{\noexpand\UTFviiiFourOctets\string~}} + \UTFviiiLoop +\endgroup + +\begingroup + \catcode`\"=12 + \catcode`\<=12 + \catcode`\.=12 + \catcode`\,=12 + \catcode`\;=12 + \catcode`\!=12 + \catcode`\~=13 + + \gdef\DeclareUnicodeCharacter#1#2{% + \countUTFz = "#1\relax + \wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}% + \begingroup + \parseXMLCharref + \def\UTFviiiTwoOctets##1##2{% + \csname u8:##1\string ##2\endcsname}% + \def\UTFviiiThreeOctets##1##2##3{% + \csname u8:##1\string ##2\string ##3\endcsname}% + \def\UTFviiiFourOctets##1##2##3##4{% + \csname u8:##1\string ##2\string ##3\string ##4\endcsname}% + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter + \gdef\UTFviiiTmp{#2}% + \endgroup} + + \gdef\parseXMLCharref{% + \ifnum\countUTFz < "A0\relax + \errhelp = \EMsimple + \errmessage{Cannot define Unicode char value < 00A0}% + \else\ifnum\countUTFz < "800\relax + \parseUTFviiiA,% + \parseUTFviiiB C\UTFviiiTwoOctets.,% + \else\ifnum\countUTFz < "10000\relax + \parseUTFviiiA;% + \parseUTFviiiA,% + \parseUTFviiiB E\UTFviiiThreeOctets.{,;}% + \else + \parseUTFviiiA;% + \parseUTFviiiA,% + \parseUTFviiiA!% + \parseUTFviiiB F\UTFviiiFourOctets.{!,;}% + \fi\fi\fi + } + + \gdef\parseUTFviiiA#1{% + \countUTFx = \countUTFz + \divide\countUTFz by 64 + \countUTFy = \countUTFz + \multiply\countUTFz by 64 + \advance\countUTFx by -\countUTFz + \advance\countUTFx by 128 + \uccode `#1\countUTFx + \countUTFz = \countUTFy} + + \gdef\parseUTFviiiB#1#2#3#4{% + \advance\countUTFz by "#10\relax + \uccode `#3\countUTFz + \uppercase{\gdef\UTFviiiTmp{#2#3#4}}} +\endgroup + +\def\utfeightchardefs{% + \DeclareUnicodeCharacter{00A0}{\tie} + \DeclareUnicodeCharacter{00A1}{\exclamdown} + \DeclareUnicodeCharacter{00A3}{\pounds} + \DeclareUnicodeCharacter{00A8}{\"{ }} + \DeclareUnicodeCharacter{00A9}{\copyright} + \DeclareUnicodeCharacter{00AA}{\ordf} + \DeclareUnicodeCharacter{00AB}{\guillemetleft} + \DeclareUnicodeCharacter{00AD}{\-} + \DeclareUnicodeCharacter{00AE}{\registeredsymbol} + \DeclareUnicodeCharacter{00AF}{\={ }} + + \DeclareUnicodeCharacter{00B0}{\ringaccent{ }} + \DeclareUnicodeCharacter{00B4}{\'{ }} + \DeclareUnicodeCharacter{00B8}{\cedilla{ }} + \DeclareUnicodeCharacter{00BA}{\ordm} + \DeclareUnicodeCharacter{00BB}{\guillemetright} + \DeclareUnicodeCharacter{00BF}{\questiondown} + + \DeclareUnicodeCharacter{00C0}{\`A} + \DeclareUnicodeCharacter{00C1}{\'A} + \DeclareUnicodeCharacter{00C2}{\^A} + \DeclareUnicodeCharacter{00C3}{\~A} + \DeclareUnicodeCharacter{00C4}{\"A} + \DeclareUnicodeCharacter{00C5}{\AA} + \DeclareUnicodeCharacter{00C6}{\AE} + \DeclareUnicodeCharacter{00C7}{\cedilla{C}} + \DeclareUnicodeCharacter{00C8}{\`E} + \DeclareUnicodeCharacter{00C9}{\'E} + \DeclareUnicodeCharacter{00CA}{\^E} + \DeclareUnicodeCharacter{00CB}{\"E} + \DeclareUnicodeCharacter{00CC}{\`I} + \DeclareUnicodeCharacter{00CD}{\'I} + \DeclareUnicodeCharacter{00CE}{\^I} + \DeclareUnicodeCharacter{00CF}{\"I} + + \DeclareUnicodeCharacter{00D1}{\~N} + \DeclareUnicodeCharacter{00D2}{\`O} + \DeclareUnicodeCharacter{00D3}{\'O} + \DeclareUnicodeCharacter{00D4}{\^O} + \DeclareUnicodeCharacter{00D5}{\~O} + \DeclareUnicodeCharacter{00D6}{\"O} + \DeclareUnicodeCharacter{00D8}{\O} + \DeclareUnicodeCharacter{00D9}{\`U} + \DeclareUnicodeCharacter{00DA}{\'U} + \DeclareUnicodeCharacter{00DB}{\^U} + \DeclareUnicodeCharacter{00DC}{\"U} + \DeclareUnicodeCharacter{00DD}{\'Y} + \DeclareUnicodeCharacter{00DF}{\ss} + + \DeclareUnicodeCharacter{00E0}{\`a} + \DeclareUnicodeCharacter{00E1}{\'a} + \DeclareUnicodeCharacter{00E2}{\^a} + \DeclareUnicodeCharacter{00E3}{\~a} + \DeclareUnicodeCharacter{00E4}{\"a} + \DeclareUnicodeCharacter{00E5}{\aa} + \DeclareUnicodeCharacter{00E6}{\ae} + \DeclareUnicodeCharacter{00E7}{\cedilla{c}} + \DeclareUnicodeCharacter{00E8}{\`e} + \DeclareUnicodeCharacter{00E9}{\'e} + \DeclareUnicodeCharacter{00EA}{\^e} + \DeclareUnicodeCharacter{00EB}{\"e} + \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}} + \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}} + \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}} + \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}} + + \DeclareUnicodeCharacter{00F1}{\~n} + \DeclareUnicodeCharacter{00F2}{\`o} + \DeclareUnicodeCharacter{00F3}{\'o} + \DeclareUnicodeCharacter{00F4}{\^o} + \DeclareUnicodeCharacter{00F5}{\~o} + \DeclareUnicodeCharacter{00F6}{\"o} + \DeclareUnicodeCharacter{00F8}{\o} + \DeclareUnicodeCharacter{00F9}{\`u} + \DeclareUnicodeCharacter{00FA}{\'u} + \DeclareUnicodeCharacter{00FB}{\^u} + \DeclareUnicodeCharacter{00FC}{\"u} + \DeclareUnicodeCharacter{00FD}{\'y} + \DeclareUnicodeCharacter{00FF}{\"y} + + \DeclareUnicodeCharacter{0100}{\=A} + \DeclareUnicodeCharacter{0101}{\=a} + \DeclareUnicodeCharacter{0102}{\u{A}} + \DeclareUnicodeCharacter{0103}{\u{a}} + \DeclareUnicodeCharacter{0106}{\'C} + \DeclareUnicodeCharacter{0107}{\'c} + \DeclareUnicodeCharacter{0108}{\^C} + \DeclareUnicodeCharacter{0109}{\^c} + \DeclareUnicodeCharacter{010A}{\dotaccent{C}} + \DeclareUnicodeCharacter{010B}{\dotaccent{c}} + \DeclareUnicodeCharacter{010C}{\v{C}} + \DeclareUnicodeCharacter{010D}{\v{c}} + \DeclareUnicodeCharacter{010E}{\v{D}} + + \DeclareUnicodeCharacter{0112}{\=E} + \DeclareUnicodeCharacter{0113}{\=e} + \DeclareUnicodeCharacter{0114}{\u{E}} + \DeclareUnicodeCharacter{0115}{\u{e}} + \DeclareUnicodeCharacter{0116}{\dotaccent{E}} + \DeclareUnicodeCharacter{0117}{\dotaccent{e}} + \DeclareUnicodeCharacter{011A}{\v{E}} + \DeclareUnicodeCharacter{011B}{\v{e}} + \DeclareUnicodeCharacter{011C}{\^G} + \DeclareUnicodeCharacter{011D}{\^g} + \DeclareUnicodeCharacter{011E}{\u{G}} + \DeclareUnicodeCharacter{011F}{\u{g}} + + \DeclareUnicodeCharacter{0120}{\dotaccent{G}} + \DeclareUnicodeCharacter{0121}{\dotaccent{g}} + \DeclareUnicodeCharacter{0124}{\^H} + \DeclareUnicodeCharacter{0125}{\^h} + \DeclareUnicodeCharacter{0128}{\~I} + \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}} + \DeclareUnicodeCharacter{012A}{\=I} + \DeclareUnicodeCharacter{012B}{\={\dotless{i}}} + \DeclareUnicodeCharacter{012C}{\u{I}} + \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}} + + \DeclareUnicodeCharacter{0130}{\dotaccent{I}} + \DeclareUnicodeCharacter{0131}{\dotless{i}} + \DeclareUnicodeCharacter{0132}{IJ} + \DeclareUnicodeCharacter{0133}{ij} + \DeclareUnicodeCharacter{0134}{\^J} + \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}} + \DeclareUnicodeCharacter{0139}{\'L} + \DeclareUnicodeCharacter{013A}{\'l} + + \DeclareUnicodeCharacter{0141}{\L} + \DeclareUnicodeCharacter{0142}{\l} + \DeclareUnicodeCharacter{0143}{\'N} + \DeclareUnicodeCharacter{0144}{\'n} + \DeclareUnicodeCharacter{0147}{\v{N}} + \DeclareUnicodeCharacter{0148}{\v{n}} + \DeclareUnicodeCharacter{014C}{\=O} + \DeclareUnicodeCharacter{014D}{\=o} + \DeclareUnicodeCharacter{014E}{\u{O}} + \DeclareUnicodeCharacter{014F}{\u{o}} + + \DeclareUnicodeCharacter{0150}{\H{O}} + \DeclareUnicodeCharacter{0151}{\H{o}} + \DeclareUnicodeCharacter{0152}{\OE} + \DeclareUnicodeCharacter{0153}{\oe} + \DeclareUnicodeCharacter{0154}{\'R} + \DeclareUnicodeCharacter{0155}{\'r} + \DeclareUnicodeCharacter{0158}{\v{R}} + \DeclareUnicodeCharacter{0159}{\v{r}} + \DeclareUnicodeCharacter{015A}{\'S} + \DeclareUnicodeCharacter{015B}{\'s} + \DeclareUnicodeCharacter{015C}{\^S} + \DeclareUnicodeCharacter{015D}{\^s} + \DeclareUnicodeCharacter{015E}{\cedilla{S}} + \DeclareUnicodeCharacter{015F}{\cedilla{s}} + + \DeclareUnicodeCharacter{0160}{\v{S}} + \DeclareUnicodeCharacter{0161}{\v{s}} + \DeclareUnicodeCharacter{0162}{\cedilla{t}} + \DeclareUnicodeCharacter{0163}{\cedilla{T}} + \DeclareUnicodeCharacter{0164}{\v{T}} + + \DeclareUnicodeCharacter{0168}{\~U} + \DeclareUnicodeCharacter{0169}{\~u} + \DeclareUnicodeCharacter{016A}{\=U} + \DeclareUnicodeCharacter{016B}{\=u} + \DeclareUnicodeCharacter{016C}{\u{U}} + \DeclareUnicodeCharacter{016D}{\u{u}} + \DeclareUnicodeCharacter{016E}{\ringaccent{U}} + \DeclareUnicodeCharacter{016F}{\ringaccent{u}} + + \DeclareUnicodeCharacter{0170}{\H{U}} + \DeclareUnicodeCharacter{0171}{\H{u}} + \DeclareUnicodeCharacter{0174}{\^W} + \DeclareUnicodeCharacter{0175}{\^w} + \DeclareUnicodeCharacter{0176}{\^Y} + \DeclareUnicodeCharacter{0177}{\^y} + \DeclareUnicodeCharacter{0178}{\"Y} + \DeclareUnicodeCharacter{0179}{\'Z} + \DeclareUnicodeCharacter{017A}{\'z} + \DeclareUnicodeCharacter{017B}{\dotaccent{Z}} + \DeclareUnicodeCharacter{017C}{\dotaccent{z}} + \DeclareUnicodeCharacter{017D}{\v{Z}} + \DeclareUnicodeCharacter{017E}{\v{z}} + + \DeclareUnicodeCharacter{01C4}{D\v{Z}} + \DeclareUnicodeCharacter{01C5}{D\v{z}} + \DeclareUnicodeCharacter{01C6}{d\v{z}} + \DeclareUnicodeCharacter{01C7}{LJ} + \DeclareUnicodeCharacter{01C8}{Lj} + \DeclareUnicodeCharacter{01C9}{lj} + \DeclareUnicodeCharacter{01CA}{NJ} + \DeclareUnicodeCharacter{01CB}{Nj} + \DeclareUnicodeCharacter{01CC}{nj} + \DeclareUnicodeCharacter{01CD}{\v{A}} + \DeclareUnicodeCharacter{01CE}{\v{a}} + \DeclareUnicodeCharacter{01CF}{\v{I}} + + \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}} + \DeclareUnicodeCharacter{01D1}{\v{O}} + \DeclareUnicodeCharacter{01D2}{\v{o}} + \DeclareUnicodeCharacter{01D3}{\v{U}} + \DeclareUnicodeCharacter{01D4}{\v{u}} + + \DeclareUnicodeCharacter{01E2}{\={\AE}} + \DeclareUnicodeCharacter{01E3}{\={\ae}} + \DeclareUnicodeCharacter{01E6}{\v{G}} + \DeclareUnicodeCharacter{01E7}{\v{g}} + \DeclareUnicodeCharacter{01E8}{\v{K}} + \DeclareUnicodeCharacter{01E9}{\v{k}} + + \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}} + \DeclareUnicodeCharacter{01F1}{DZ} + \DeclareUnicodeCharacter{01F2}{Dz} + \DeclareUnicodeCharacter{01F3}{dz} + \DeclareUnicodeCharacter{01F4}{\'G} + \DeclareUnicodeCharacter{01F5}{\'g} + \DeclareUnicodeCharacter{01F8}{\`N} + \DeclareUnicodeCharacter{01F9}{\`n} + \DeclareUnicodeCharacter{01FC}{\'{\AE}} + \DeclareUnicodeCharacter{01FD}{\'{\ae}} + \DeclareUnicodeCharacter{01FE}{\'{\O}} + \DeclareUnicodeCharacter{01FF}{\'{\o}} + + \DeclareUnicodeCharacter{021E}{\v{H}} + \DeclareUnicodeCharacter{021F}{\v{h}} + + \DeclareUnicodeCharacter{0226}{\dotaccent{A}} + \DeclareUnicodeCharacter{0227}{\dotaccent{a}} + \DeclareUnicodeCharacter{0228}{\cedilla{E}} + \DeclareUnicodeCharacter{0229}{\cedilla{e}} + \DeclareUnicodeCharacter{022E}{\dotaccent{O}} + \DeclareUnicodeCharacter{022F}{\dotaccent{o}} + + \DeclareUnicodeCharacter{0232}{\=Y} + \DeclareUnicodeCharacter{0233}{\=y} + \DeclareUnicodeCharacter{0237}{\dotless{j}} + + \DeclareUnicodeCharacter{1E02}{\dotaccent{B}} + \DeclareUnicodeCharacter{1E03}{\dotaccent{b}} + \DeclareUnicodeCharacter{1E04}{\udotaccent{B}} + \DeclareUnicodeCharacter{1E05}{\udotaccent{b}} + \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}} + \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}} + \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}} + \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}} + \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}} + \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}} + \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}} + \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}} + + \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}} + \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}} + + \DeclareUnicodeCharacter{1E20}{\=G} + \DeclareUnicodeCharacter{1E21}{\=g} + \DeclareUnicodeCharacter{1E22}{\dotaccent{H}} + \DeclareUnicodeCharacter{1E23}{\dotaccent{h}} + \DeclareUnicodeCharacter{1E24}{\udotaccent{H}} + \DeclareUnicodeCharacter{1E25}{\udotaccent{h}} + \DeclareUnicodeCharacter{1E26}{\"H} + \DeclareUnicodeCharacter{1E27}{\"h} + + \DeclareUnicodeCharacter{1E30}{\'K} + \DeclareUnicodeCharacter{1E31}{\'k} + \DeclareUnicodeCharacter{1E32}{\udotaccent{K}} + \DeclareUnicodeCharacter{1E33}{\udotaccent{k}} + \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}} + \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}} + \DeclareUnicodeCharacter{1E36}{\udotaccent{L}} + \DeclareUnicodeCharacter{1E37}{\udotaccent{l}} + \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}} + \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}} + \DeclareUnicodeCharacter{1E3E}{\'M} + \DeclareUnicodeCharacter{1E3F}{\'m} + + \DeclareUnicodeCharacter{1E40}{\dotaccent{M}} + \DeclareUnicodeCharacter{1E41}{\dotaccent{m}} + \DeclareUnicodeCharacter{1E42}{\udotaccent{M}} + \DeclareUnicodeCharacter{1E43}{\udotaccent{m}} + \DeclareUnicodeCharacter{1E44}{\dotaccent{N}} + \DeclareUnicodeCharacter{1E45}{\dotaccent{n}} + \DeclareUnicodeCharacter{1E46}{\udotaccent{N}} + \DeclareUnicodeCharacter{1E47}{\udotaccent{n}} + \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}} + \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}} + + \DeclareUnicodeCharacter{1E54}{\'P} + \DeclareUnicodeCharacter{1E55}{\'p} + \DeclareUnicodeCharacter{1E56}{\dotaccent{P}} + \DeclareUnicodeCharacter{1E57}{\dotaccent{p}} + \DeclareUnicodeCharacter{1E58}{\dotaccent{R}} + \DeclareUnicodeCharacter{1E59}{\dotaccent{r}} + \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}} + \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}} + \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}} + \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}} + + \DeclareUnicodeCharacter{1E60}{\dotaccent{S}} + \DeclareUnicodeCharacter{1E61}{\dotaccent{s}} + \DeclareUnicodeCharacter{1E62}{\udotaccent{S}} + \DeclareUnicodeCharacter{1E63}{\udotaccent{s}} + \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}} + \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}} + \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}} + \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}} + \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}} + \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}} + + \DeclareUnicodeCharacter{1E7C}{\~V} + \DeclareUnicodeCharacter{1E7D}{\~v} + \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}} + \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}} + + \DeclareUnicodeCharacter{1E80}{\`W} + \DeclareUnicodeCharacter{1E81}{\`w} + \DeclareUnicodeCharacter{1E82}{\'W} + \DeclareUnicodeCharacter{1E83}{\'w} + \DeclareUnicodeCharacter{1E84}{\"W} + \DeclareUnicodeCharacter{1E85}{\"w} + \DeclareUnicodeCharacter{1E86}{\dotaccent{W}} + \DeclareUnicodeCharacter{1E87}{\dotaccent{w}} + \DeclareUnicodeCharacter{1E88}{\udotaccent{W}} + \DeclareUnicodeCharacter{1E89}{\udotaccent{w}} + \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}} + \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}} + \DeclareUnicodeCharacter{1E8C}{\"X} + \DeclareUnicodeCharacter{1E8D}{\"x} + \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}} + \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}} + + \DeclareUnicodeCharacter{1E90}{\^Z} + \DeclareUnicodeCharacter{1E91}{\^z} + \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}} + \DeclareUnicodeCharacter{1E93}{\udotaccent{z}} + \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}} + \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}} + \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}} + \DeclareUnicodeCharacter{1E97}{\"t} + \DeclareUnicodeCharacter{1E98}{\ringaccent{w}} + \DeclareUnicodeCharacter{1E99}{\ringaccent{y}} + + \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}} + \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}} + + \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}} + \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}} + \DeclareUnicodeCharacter{1EBC}{\~E} + \DeclareUnicodeCharacter{1EBD}{\~e} + + \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}} + \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}} + \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}} + \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}} + + \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}} + \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}} + + \DeclareUnicodeCharacter{1EF2}{\`Y} + \DeclareUnicodeCharacter{1EF3}{\`y} + \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}} + + \DeclareUnicodeCharacter{1EF8}{\~Y} + \DeclareUnicodeCharacter{1EF9}{\~y} + + \DeclareUnicodeCharacter{2013}{--} + \DeclareUnicodeCharacter{2014}{---} + \DeclareUnicodeCharacter{2018}{\quoteleft} + \DeclareUnicodeCharacter{2019}{\quoteright} + \DeclareUnicodeCharacter{201A}{\quotesinglbase} + \DeclareUnicodeCharacter{201C}{\quotedblleft} + \DeclareUnicodeCharacter{201D}{\quotedblright} + \DeclareUnicodeCharacter{201E}{\quotedblbase} + \DeclareUnicodeCharacter{2022}{\bullet} + \DeclareUnicodeCharacter{2026}{\dots} + \DeclareUnicodeCharacter{2039}{\guilsinglleft} + \DeclareUnicodeCharacter{203A}{\guilsinglright} + \DeclareUnicodeCharacter{20AC}{\euro} + + \DeclareUnicodeCharacter{2192}{\expansion} + \DeclareUnicodeCharacter{21D2}{\result} + + \DeclareUnicodeCharacter{2212}{\minus} + \DeclareUnicodeCharacter{2217}{\point} + \DeclareUnicodeCharacter{2261}{\equiv} +}% end of \utfeightchardefs + + +% US-ASCII character definitions. +\def\asciichardefs{% nothing need be done + \relax +} + +% Make non-ASCII characters printable again for compatibility with +% existing Texinfo documents that may use them, even without declaring a +% document encoding. +% +\setnonasciicharscatcode \other + + +\message{formatting,} + +\newdimen\defaultparindent \defaultparindent = 15pt + +\chapheadingskip = 15pt plus 4pt minus 2pt +\secheadingskip = 12pt plus 3pt minus 2pt +\subsecheadingskip = 9pt plus 2pt minus 2pt + +% Prevent underfull vbox error messages. +\vbadness = 10000 + +% Don't be so finicky about underfull hboxes, either. +\hbadness = 2000 + +% Following George Bush, get rid of widows and orphans. +\widowpenalty=10000 +\clubpenalty=10000 + +% Use TeX 3.0's \emergencystretch to help line breaking, but if we're +% using an old version of TeX, don't do anything. We want the amount of +% stretch added to depend on the line length, hence the dependence on +% \hsize. We call this whenever the paper size is set. +% +\def\setemergencystretch{% + \ifx\emergencystretch\thisisundefined + % Allow us to assign to \emergencystretch anyway. + \def\emergencystretch{\dimen0}% + \else + \emergencystretch = .15\hsize + \fi +} + +% Parameters in order: 1) textheight; 2) textwidth; +% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip; +% 7) physical page height; 8) physical page width. +% +% We also call \setleading{\textleading}, so the caller should define +% \textleading. The caller should also set \parskip. +% +\def\internalpagesizes#1#2#3#4#5#6#7#8{% + \voffset = #3\relax + \topskip = #6\relax + \splittopskip = \topskip + % + \vsize = #1\relax + \advance\vsize by \topskip + \outervsize = \vsize + \advance\outervsize by 2\topandbottommargin + \pageheight = \vsize + % + \hsize = #2\relax + \outerhsize = \hsize + \advance\outerhsize by 0.5in + \pagewidth = \hsize + % + \normaloffset = #4\relax + \bindingoffset = #5\relax + % + \ifpdf + \pdfpageheight #7\relax + \pdfpagewidth #8\relax + % if we don't reset these, they will remain at "1 true in" of + % whatever layout pdftex was dumped with. + \pdfhorigin = 1 true in + \pdfvorigin = 1 true in + \fi + % + \setleading{\textleading} + % + \parindent = \defaultparindent + \setemergencystretch +} + +% @letterpaper (the default). +\def\letterpaper{{\globaldefs = 1 + \parskip = 3pt plus 2pt minus 1pt + \textleading = 13.2pt + % + % If page is nothing but text, make it come out even. + \internalpagesizes{607.2pt}{6in}% that's 46 lines + {\voffset}{.25in}% + {\bindingoffset}{36pt}% + {11in}{8.5in}% +}} + +% Use @smallbook to reset parameters for 7x9.25 trim size. +\def\smallbook{{\globaldefs = 1 + \parskip = 2pt plus 1pt + \textleading = 12pt + % + \internalpagesizes{7.5in}{5in}% + {-.2in}{0in}% + {\bindingoffset}{16pt}% + {9.25in}{7in}% + % + \lispnarrowing = 0.3in + \tolerance = 700 + \hfuzz = 1pt + \contentsrightmargin = 0pt + \defbodyindent = .5cm +}} + +% Use @smallerbook to reset parameters for 6x9 trim size. +% (Just testing, parameters still in flux.) +\def\smallerbook{{\globaldefs = 1 + \parskip = 1.5pt plus 1pt + \textleading = 12pt + % + \internalpagesizes{7.4in}{4.8in}% + {-.2in}{-.4in}% + {0pt}{14pt}% + {9in}{6in}% + % + \lispnarrowing = 0.25in + \tolerance = 700 + \hfuzz = 1pt + \contentsrightmargin = 0pt + \defbodyindent = .4cm +}} + +% Use @afourpaper to print on European A4 paper. +\def\afourpaper{{\globaldefs = 1 + \parskip = 3pt plus 2pt minus 1pt + \textleading = 13.2pt + % + % Double-side printing via postscript on Laserjet 4050 + % prints double-sided nicely when \bindingoffset=10mm and \hoffset=-6mm. + % To change the settings for a different printer or situation, adjust + % \normaloffset until the front-side and back-side texts align. Then + % do the same for \bindingoffset. You can set these for testing in + % your texinfo source file like this: + % @tex + % \global\normaloffset = -6mm + % \global\bindingoffset = 10mm + % @end tex + \internalpagesizes{673.2pt}{160mm}% that's 51 lines + {\voffset}{\hoffset}% + {\bindingoffset}{44pt}% + {297mm}{210mm}% + % + \tolerance = 700 + \hfuzz = 1pt + \contentsrightmargin = 0pt + \defbodyindent = 5mm +}} + +% Use @afivepaper to print on European A5 paper. +% From romildo@urano.iceb.ufop.br, 2 July 2000. +% He also recommends making @example and @lisp be small. +\def\afivepaper{{\globaldefs = 1 + \parskip = 2pt plus 1pt minus 0.1pt + \textleading = 12.5pt + % + \internalpagesizes{160mm}{120mm}% + {\voffset}{\hoffset}% + {\bindingoffset}{8pt}% + {210mm}{148mm}% + % + \lispnarrowing = 0.2in + \tolerance = 800 + \hfuzz = 1.2pt + \contentsrightmargin = 0pt + \defbodyindent = 2mm + \tableindent = 12mm +}} + +% A specific text layout, 24x15cm overall, intended for A4 paper. +\def\afourlatex{{\globaldefs = 1 + \afourpaper + \internalpagesizes{237mm}{150mm}% + {\voffset}{4.6mm}% + {\bindingoffset}{7mm}% + {297mm}{210mm}% + % + % Must explicitly reset to 0 because we call \afourpaper. + \globaldefs = 0 +}} + +% Use @afourwide to print on A4 paper in landscape format. +\def\afourwide{{\globaldefs = 1 + \afourpaper + \internalpagesizes{241mm}{165mm}% + {\voffset}{-2.95mm}% + {\bindingoffset}{7mm}% + {297mm}{210mm}% + \globaldefs = 0 +}} + +% @pagesizes TEXTHEIGHT[,TEXTWIDTH] +% Perhaps we should allow setting the margins, \topskip, \parskip, +% and/or leading, also. Or perhaps we should compute them somehow. +% +\parseargdef\pagesizes{\pagesizesyyy #1,,\finish} +\def\pagesizesyyy#1,#2,#3\finish{{% + \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \hsize=#2\relax \fi + \globaldefs = 1 + % + \parskip = 3pt plus 2pt minus 1pt + \setleading{\textleading}% + % + \dimen0 = #1\relax + \advance\dimen0 by \voffset + % + \dimen2 = \hsize + \advance\dimen2 by \normaloffset + % + \internalpagesizes{#1}{\hsize}% + {\voffset}{\normaloffset}% + {\bindingoffset}{44pt}% + {\dimen0}{\dimen2}% +}} + +% Set default to letter. +% +\letterpaper + + +\message{and turning on texinfo input format.} + +% Define macros to output various characters with catcode for normal text. +\catcode`\"=\other +\catcode`\~=\other +\catcode`\^=\other +\catcode`\_=\other +\catcode`\|=\other +\catcode`\<=\other +\catcode`\>=\other +\catcode`\+=\other +\catcode`\$=\other +\def\normaldoublequote{"} +\def\normaltilde{~} +\def\normalcaret{^} +\def\normalunderscore{_} +\def\normalverticalbar{|} +\def\normalless{<} +\def\normalgreater{>} +\def\normalplus{+} +\def\normaldollar{$}%$ font-lock fix + +% This macro is used to make a character print one way in \tt +% (where it can probably be output as-is), and another way in other fonts, +% where something hairier probably needs to be done. +% +% #1 is what to print if we are indeed using \tt; #2 is what to print +% otherwise. Since all the Computer Modern typewriter fonts have zero +% interword stretch (and shrink), and it is reasonable to expect all +% typewriter fonts to have this, we can check that font parameter. +% +\def\ifusingtt#1#2{\ifdim \fontdimen3\font=0pt #1\else #2\fi} + +% Same as above, but check for italic font. Actually this also catches +% non-italic slanted fonts since it is impossible to distinguish them from +% italic fonts. But since this is only used by $ and it uses \sl anyway +% this is not a problem. +\def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi} + +% Turn off all special characters except @ +% (and those which the user can use as if they were ordinary). +% Most of these we simply print from the \tt font, but for some, we can +% use math or other variants that look better in normal text. + +\catcode`\"=\active +\def\activedoublequote{{\tt\char34}} +\let"=\activedoublequote +\catcode`\~=\active +\def~{{\tt\char126}} +\chardef\hat=`\^ +\catcode`\^=\active +\def^{{\tt \hat}} + +\catcode`\_=\active +\def_{\ifusingtt\normalunderscore\_} +\let\realunder=_ +% Subroutine for the previous macro. +\def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em } + +\catcode`\|=\active +\def|{{\tt\char124}} +\chardef \less=`\< +\catcode`\<=\active +\def<{{\tt \less}} +\chardef \gtr=`\> +\catcode`\>=\active +\def>{{\tt \gtr}} +\catcode`\+=\active +\def+{{\tt \char 43}} +\catcode`\$=\active +\def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix + +% If a .fmt file is being used, characters that might appear in a file +% name cannot be active until we have parsed the command line. +% So turn them off again, and have \everyjob (or @setfilename) turn them on. +% \otherifyactive is called near the end of this file. +\def\otherifyactive{\catcode`+=\other \catcode`\_=\other} + +% Used sometimes to turn off (effectively) the active characters even after +% parsing them. +\def\turnoffactive{% + \normalturnoffactive + \otherbackslash +} + +\catcode`\@=0 + +% \backslashcurfont outputs one backslash character in current font, +% as in \char`\\. +\global\chardef\backslashcurfont=`\\ +\global\let\rawbackslashxx=\backslashcurfont % let existing .??s files work + +% \realbackslash is an actual character `\' with catcode other, and +% \doublebackslash is two of them (for the pdf outlines). +{\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}} + +% In texinfo, backslash is an active character; it prints the backslash +% in fixed width font. +\catcode`\\=\active +@def@normalbackslash{{@tt@backslashcurfont}} +% On startup, @fixbackslash assigns: +% @let \ = @normalbackslash + +% \rawbackslash defines an active \ to do \backslashcurfont. +% \otherbackslash defines an active \ to be a literal `\' character with +% catcode other. +@gdef@rawbackslash{@let\=@backslashcurfont} +@gdef@otherbackslash{@let\=@realbackslash} + +% Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of +% the literal character `\'. +% +@def@normalturnoffactive{% + @let\=@normalbackslash + @let"=@normaldoublequote + @let~=@normaltilde + @let^=@normalcaret + @let_=@normalunderscore + @let|=@normalverticalbar + @let<=@normalless + @let>=@normalgreater + @let+=@normalplus + @let$=@normaldollar %$ font-lock fix + @unsepspaces +} + +% Make _ and + \other characters, temporarily. +% This is canceled by @fixbackslash. +@otherifyactive + +% If a .fmt file is being used, we don't want the `\input texinfo' to show up. +% That is what \eatinput is for; after that, the `\' should revert to printing +% a backslash. +% +@gdef@eatinput input texinfo{@fixbackslash} +@global@let\ = @eatinput + +% On the other hand, perhaps the file did not have a `\input texinfo'. Then +% the first `\' in the file would cause an error. This macro tries to fix +% that, assuming it is called before the first `\' could plausibly occur. +% Also turn back on active characters that might appear in the input +% file name, in case not using a pre-dumped format. +% +@gdef@fixbackslash{% + @ifx\@eatinput @let\ = @normalbackslash @fi + @catcode`+=@active + @catcode`@_=@active +} + +% Say @foo, not \foo, in error messages. +@escapechar = `@@ + +% These look ok in all fonts, so just make them not special. +@catcode`@& = @other +@catcode`@# = @other +@catcode`@% = @other + + +@c Local variables: +@c eval: (add-hook 'write-file-hooks 'time-stamp) +@c page-delimiter: "^\\\\message" +@c time-stamp-start: "def\\\\texinfoversion{" +@c time-stamp-format: "%:y-%02m-%02d.%02H" +@c time-stamp-end: "}" +@c End: + +@c vim:sw=2: + +@ignore + arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115 +@end ignore diff --git a/docs/version-dev.texi b/docs/version-dev.texi new file mode 100644 index 0000000..056836e --- /dev/null +++ b/docs/version-dev.texi @@ -0,0 +1,4 @@ +@set UPDATED 13 April 2011 +@set UPDATED-MONTH April 2011 +@set EDITION 1.99 +@set VERSION 1.99 diff --git a/docs/version.texi b/docs/version.texi new file mode 100644 index 0000000..647f8f7 --- /dev/null +++ b/docs/version.texi @@ -0,0 +1,4 @@ +@set UPDATED 14 May 2011 +@set UPDATED-MONTH May 2011 +@set EDITION 1.99 +@set VERSION 1.99 diff --git a/geninit.sh b/geninit.sh new file mode 100644 index 0000000..f081012 --- /dev/null +++ b/geninit.sh @@ -0,0 +1,69 @@ +#! /bin/sh +# +# Copyright (C) 2002,2005,2007 Free Software Foundation, Inc. +# +# This gensymlist.sh is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +cat <. + */ + +#include + +EOF + +for mod in "$@"; do + echo "extern void grub_${mod}_init (void);" + echo "extern void grub_${mod}_fini (void);" +done + +cat < groups reverse map, where groups covering that +# platform are ordered by their sizes +# +RMAP = {} +for platform in GRUB_PLATFORMS: + # initialize with platform itself as a group + RMAP[platform] = [ platform ] + + for k in GROUPS.keys(): + v = GROUPS[k] + # skip groups that don't cover this platform + if platform not in v: continue + + bigger = [] + smaller = [] + # partition currently known groups based on their size + for group in RMAP[platform]: + if group in GRUB_PLATFORMS: smaller.append(group) + elif len(GROUPS[group]) < len(v): smaller.append(group) + else: bigger.append(group) + # insert in the middle + RMAP[platform] = smaller + [ k ] + bigger + +# +# Global variables +# +GVARS = set() + +def gvar_add(var, value): + GVARS.add(var) + return var + " += " + value + "\n" + +def global_variable_initializers(): + r = "" + for var in sorted(GVARS): + r += var + " ?= \n" + return r + +# +# Per PROGRAM/SCRIPT variables +# + +def vars_init(*var_list): + r = "[+ IF (if (not (assoc-ref seen-vars (get \".name\"))) \"seen\") +]" + r += "[+ (out-suspend \"v\") +]" + for var in var_list: + r += var + " = \n" + r += "[+ (out-resume \"v\") +]" + r += "[+ (set! seen-vars (assoc-set! seen-vars (get \".name\") 0)) +]" + r += "[+ ENDIF +]" + return first_time(r) + +def var_set(var, value): + return var + " = " + value + "\n" + +def var_add(var, value): + return var + " += " + value + "\n" + +# +# Autogen constructs +# + +def set_canonical_name_suffix(suffix): return "[+ % name `export cname=$(echo %s" + suffix + " | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]" +def cname(): return "[+ % name `echo $cname` +]" + +def rule(target, source, cmd): + if cmd[0] == "\n": + return "\n" + target + ": " + source + cmd.replace("\n", "\n\t") + "\n" + else: + return "\n" + target + ": " + source + "\n\t" + cmd.replace("\n", "\n\t") + "\n" + +# +# Template for keys with platform names as values, for example: +# +# kernel = { +# nostrip = emu; +# ... +# } +# +def if_platform_tagged(platform, tag, snippet_if, snippet_else=None): + r = "" + r += "[+ IF " + tag + " defined +]" + r += "[+ FOR " + tag + " +][+ CASE " + tag + " +]" + for group in RMAP[platform]: + r += "[+ = \"" + group + "\" +]" + snippet_if + + if snippet_else != None: r += "[+ * +]" + snippet_else + r += "[+ ESAC +][+ ENDFOR +]" + + if snippet_else == None: + r += "[+ ENDIF +]" + return r + + r += "[+ ELSE +]" + snippet_else + "[+ ENDIF +]" + return r + +# +# Template for tagged values +# +# module = { +# extra_dist = ... +# extra_dist = ... +# ... +# }; +# +def foreach_value(tag, closure): + return "[+ FOR " + tag + " +]" + closure("[+ ." + tag + " +]") + "[+ ENDFOR +]" + +# +# Template for handling best matched values for a platform, for example: +# +# module = { +# cflags = '-Wall'; +# emu_cflags = '-Wall -DGRUB_EMU=1'; +# ... +# } +# +def foreach_platform_specific_value(platform, suffix, nonetag, closure): + r = "" + for group in RMAP[platform]: + gtag = group + suffix + + if group == RMAP[platform][0]: + r += "[+ IF " + gtag + " +]" + else: + r += "[+ ELIF " + gtag + " +]" + + r += "[+ FOR " + gtag + " +]" + closure("[+ ." + gtag + " +]") + "[+ ENDFOR +]" + r += "[+ ELSE +][+ FOR " + nonetag + " +]" + closure("[+ ." + nonetag + " +]") + "[+ ENDFOR +][+ ENDIF +]" + return r + +# +# Template for handling values from sum of all groups for a platform, +# for example: +# +# module = { +# common = kern/misc.c; +# emu = kern/emu/misc.c; +# ... +# } +# +def foreach_platform_value (platform, suffix, closure): + r = "" + for group in RMAP[platform]: + gtag = group + suffix + + r += "[+ IF " + gtag + " +]" + r += "[+ FOR " + gtag + " +]" + closure("[+ ." + gtag + " +]") + "[+ ENDFOR +]" + r += "[+ ENDIF +]" + return r + +# +# Template for gaurding with platform specific "enable" keys, for example: +# +# module = { +# name = pci; +# noemu = bus/pci.c; +# emu = bus/emu/pci.c; +# emu = commands/lspci.c; +# +# enable = emu; +# enable = i386_pc; +# enable = x86_efi; +# enable = i386_ieee1275; +# enable = i386_coreboot; +# }; +# +def foreach_enabled_platform(closure): + r = "[+ IF - enable undefined +]" + for platform in GRUB_PLATFORMS: + r += "\nif COND_" + platform + "\n" + closure(platform) + "endif\n" + r += "[+ ELSE +]" + for platform in GRUB_PLATFORMS: + x = "\nif COND_" + platform + "\n" + closure(platform) + "endif\n" + r += if_platform_tagged(platform, "enable", x) + r += "[+ ENDIF +]" + return r + +# +# Template for gaurding with platform specific automake conditionals, +# for example: +# +# module = { +# name = usb; +# common = bus/usb/usb.c; +# noemu = bus/usb/usbtrans.c; +# noemu = bus/usb/usbhub.c; +# enable = emu; +# enable = i386; +# enable = mips_yeeloong; +# emu_condition = COND_GRUB_EMU_USB; +# }; +# +def under_platform_specific_conditionals(platform, snippet): + r = foreach_platform_specific_value(platform, "_condition", "condition", lambda cond: "if " + cond + "\n") + r += snippet + r += foreach_platform_specific_value(platform, "_condition", "condition", lambda cond: "endif " + cond + "\n") + return r + +def platform_specific_values(platform, suffix, nonetag): + return foreach_platform_specific_value(platform, suffix, nonetag, + lambda value: value + " ") + +def platform_values(platform, suffix): + return foreach_platform_value(platform, suffix, lambda value: value + " ") + +def extra_dist(): + return foreach_value("extra_dist", lambda value: value + " ") + +def platform_sources(p): return platform_values(p, "") +def platform_nodist_sources(p): return platform_values(p, "_nodist") +def platform_dependencies(p): return platform_values(p, "dependencies", "_dependencies") + +def platform_startup(p): return platform_specific_values(p, "_startup", "startup") +def platform_ldadd(p): return platform_specific_values(p, "_ldadd", "ldadd") +def platform_cflags(p): return platform_specific_values(p, "_cflags", "cflags") +def platform_ldflags(p): return platform_specific_values(p, "_ldflags", "ldflags") +def platform_cppflags(p): return platform_specific_values(p, "_cppflags", "cppflags") +def platform_ccasflags(p): return platform_specific_values(p, "_ccasflags", "ccasflags") +def platform_stripflags(p): return platform_specific_values(p, "_stripflags", "stripflags") +def platform_objcopyflags(p): return platform_specific_values(p, "_objcopyflags", "objcopyflags") + +# +# Emit snippet only the first time through for the current name. +# +def first_time(snippet): + r = "[+ IF (if (not (assoc-ref seen-target (get \".name\"))) \"seen\") +]" + r += snippet + r += "[+ ENDIF +]" + return r + +def module(platform): + r = set_canonical_name_suffix(".module") + + r += gvar_add("noinst_PROGRAMS", "[+ name +].module") + r += gvar_add("MODULE_FILES", "[+ name +].module$(EXEEXT)") + + r += var_set(cname() + "_SOURCES", platform_sources(platform) + " ## platform sources") + r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + " ## platform nodist sources") + r += var_set(cname() + "_LDADD", platform_ldadd(platform)) + r += var_set(cname() + "_CFLAGS", "$(AM_CFLAGS) $(CFLAGS_MODULE) " + platform_cflags(platform)) + r += var_set(cname() + "_LDFLAGS", "$(AM_LDFLAGS) $(LDFLAGS_MODULE) " + platform_ldflags(platform)) + r += var_set(cname() + "_CPPFLAGS", "$(AM_CPPFLAGS) $(CPPFLAGS_MODULE) " + platform_cppflags(platform)) + r += var_set(cname() + "_CCASFLAGS", "$(AM_CCASFLAGS) $(CCASFLAGS_MODULE) " + platform_ccasflags(platform)) + # r += var_set(cname() + "_DEPENDENCIES", platform_dependencies(platform) + " " + platform_ldadd(platform)) + + r += gvar_add("EXTRA_DIST", extra_dist()) + r += gvar_add("BUILT_SOURCES", "$(nodist_" + cname() + "_SOURCES)") + r += gvar_add("CLEANFILES", "$(nodist_" + cname() + "_SOURCES)") + + r += gvar_add("MOD_FILES", "[+ name +].mod") + r += gvar_add("MARKER_FILES", "[+ name +].marker") + r += gvar_add("CLEANFILES", "[+ name +].marker") + r += """ +[+ name +].marker: $(""" + cname() + """_SOURCES) $(nodist_""" + cname() + """_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(""" + cname() + """_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +""" + return r + +def kernel(platform): + r = set_canonical_name_suffix(".exec") + r += gvar_add("noinst_PROGRAMS", "[+ name +].exec") + r += var_set(cname() + "_SOURCES", platform_startup(platform)) + r += var_add(cname() + "_SOURCES", platform_sources(platform)) + r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + " ## platform nodist sources") + r += var_set(cname() + "_LDADD", platform_ldadd(platform)) + r += var_set(cname() + "_CFLAGS", "$(AM_CFLAGS) $(CFLAGS_KERNEL) " + platform_cflags(platform)) + r += var_set(cname() + "_LDFLAGS", "$(AM_LDFLAGS) $(LDFLAGS_KERNEL) " + platform_ldflags(platform)) + r += var_set(cname() + "_CPPFLAGS", "$(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) " + platform_cppflags(platform)) + r += var_set(cname() + "_CCASFLAGS", "$(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) " + platform_ccasflags(platform)) + r += var_set(cname() + "_STRIPFLAGS", "$(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) " + platform_stripflags(platform)) + # r += var_set(cname() + "_DEPENDENCIES", platform_dependencies(platform) + " " + platform_ldadd(platform)) + + r += gvar_add("EXTRA_DIST", extra_dist()) + r += gvar_add("BUILT_SOURCES", "$(nodist_" + cname() + "_SOURCES)") + r += gvar_add("CLEANFILES", "$(nodist_" + cname() + "_SOURCES)") + + r += gvar_add("platform_DATA", "[+ name +].img") + r += gvar_add("CLEANFILES", "[+ name +].img") + r += rule("[+ name +].img", "[+ name +].exec$(EXEEXT)", + if_platform_tagged(platform, "nostrip", "cp $< $@", + "$(STRIP) $(" + cname() + "_STRIPFLAGS) -o $@ $<")) + return r + +def image(platform): + r = set_canonical_name_suffix(".image") + r += gvar_add("noinst_PROGRAMS", "[+ name +].image") + r += var_set(cname() + "_SOURCES", platform_sources(platform)) + r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + "## platform nodist sources") + r += var_set(cname() + "_LDADD", platform_ldadd(platform)) + r += var_set(cname() + "_CFLAGS", "$(AM_CFLAGS) $(CFLAGS_IMAGE) " + platform_cflags(platform)) + r += var_set(cname() + "_LDFLAGS", "$(AM_LDFLAGS) $(LDFLAGS_IMAGE) " + platform_ldflags(platform)) + r += var_set(cname() + "_CPPFLAGS", "$(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) " + platform_cppflags(platform)) + r += var_set(cname() + "_CCASFLAGS", "$(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) " + platform_ccasflags(platform)) + r += var_set(cname() + "_OBJCOPYFLAGS", "$(OBJCOPYFLAGS_IMAGE) " + platform_objcopyflags(platform)) + # r += var_set(cname() + "_DEPENDENCIES", platform_dependencies(platform) + " " + platform_ldadd(platform)) + + r += gvar_add("EXTRA_DIST", extra_dist()) + r += gvar_add("BUILT_SOURCES", "$(nodist_" + cname() + "_SOURCES)") + r += gvar_add("CLEANFILES", "$(nodist_" + cname() + "_SOURCES)") + + r += gvar_add("platform_DATA", "[+ name +].img") + r += gvar_add("CLEANFILES", "[+ name +].img") + r += rule("[+ name +].img", "[+ name +].image$(EXEEXT)", """ +if test x$(USE_APPLE_CC_FIXES) = xyes; then \ + $(MACHO2IMG) $< $@; \ +else \ + $(OBJCOPY) $(""" + cname() + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; \ +fi +""") + return r + +def library(platform): + r = set_canonical_name_suffix("") + + r += vars_init(cname() + "_SOURCES", + "nodist_" + cname() + "_SOURCES", + cname() + "_CFLAGS", + cname() + "_CPPFLAGS", + cname() + "_CCASFLAGS") + # cname() + "_DEPENDENCIES") + + r += first_time(gvar_add("noinst_LIBRARIES", "[+ name +]")) + r += var_add(cname() + "_SOURCES", platform_sources(platform)) + r += var_add("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform)) + r += var_add(cname() + "_CFLAGS", first_time("$(AM_CFLAGS) $(CFLAGS_LIBRARY) ") + platform_cflags(platform)) + r += var_add(cname() + "_CPPFLAGS", first_time("$(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) ") + platform_cppflags(platform)) + r += var_add(cname() + "_CCASFLAGS", first_time("$(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) ") + platform_ccasflags(platform)) + # r += var_add(cname() + "_DEPENDENCIES", platform_dependencies(platform) + " " + platform_ldadd(platform)) + + r += gvar_add("EXTRA_DIST", extra_dist()) + r += first_time(gvar_add("BUILT_SOURCES", "$(nodist_" + cname() + "_SOURCES)")) + r += first_time(gvar_add("CLEANFILES", "$(nodist_" + cname() + "_SOURCES)")) + return r + +def installdir(default="bin"): + return "[+ IF installdir +][+ installdir +][+ ELSE +]" + default + "[+ ENDIF +]" + +def manpage(): + r = "if COND_MAN_PAGES\n" + r += gvar_add("man_MANS", "[+ name +].[+ mansection +]\n") + r += rule("[+ name +].[+ mansection +]", "[+ name +]", """ +chmod a+x [+ name +] +PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] +""") + r += gvar_add("CLEANFILES", "[+ name +].[+ mansection +]") + r += "endif\n" + return r + +def program(platform, test=False): + r = set_canonical_name_suffix("") + + r += "[+ IF testcase defined +]" + r += gvar_add("check_PROGRAMS", "[+ name +]") + r += gvar_add("TESTS", "[+ name +]") + r += "[+ ELSE +]" + r += var_add(installdir() + "_PROGRAMS", "[+ name +]") + r += "[+ IF mansection +]" + manpage() + "[+ ENDIF +]" + r += "[+ ENDIF +]" + + r += var_set(cname() + "_SOURCES", platform_sources(platform)) + r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform)) + r += var_set(cname() + "_LDADD", platform_ldadd(platform)) + r += var_set(cname() + "_CFLAGS", "$(AM_CFLAGS) $(CFLAGS_PROGRAM) " + platform_cflags(platform)) + r += var_set(cname() + "_LDFLAGS", "$(AM_LDFLAGS) $(LDFLAGS_PROGRAM) " + platform_ldflags(platform)) + r += var_set(cname() + "_CPPFLAGS", "$(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) " + platform_cppflags(platform)) + r += var_set(cname() + "_CCASFLAGS", "$(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) " + platform_ccasflags(platform)) + # r += var_set(cname() + "_DEPENDENCIES", platform_dependencies(platform) + " " + platform_ldadd(platform)) + + r += gvar_add("EXTRA_DIST", extra_dist()) + r += gvar_add("BUILT_SOURCES", "$(nodist_" + cname() + "_SOURCES)") + r += gvar_add("CLEANFILES", "$(nodist_" + cname() + "_SOURCES)") + return r + +def data(platform): + r = gvar_add("EXTRA_DIST", platform_sources(platform)) + r += gvar_add("EXTRA_DIST", extra_dist()) + r += var_add(installdir() + "_DATA", platform_sources(platform)) + return r + +def script(platform): + r = "[+ IF testcase defined +]" + r += gvar_add("check_SCRIPTS", "[+ name +]") + r += gvar_add ("TESTS", "[+ name +]") + r += "[+ ELSE +]" + r += var_add(installdir() + "_SCRIPTS", "[+ name +]") + r += "[+ IF mansection +]" + manpage() + "[+ ENDIF +]" + r += "[+ ENDIF +]" + + r += rule("[+ name +]", platform_sources(platform) + " $(top_builddir)/config.status", """ +$(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +chmod a+x [+ name +] +""") + + r += gvar_add("CLEANFILES", "[+ name +]") + r += gvar_add("dist_noinst_DATA", platform_sources(platform)) + return r + +def rules(target, closure): + # Create association lists for the benefit of first_time and vars_init. + r = "[+ (define seen-target '()) +]" + r += "[+ (define seen-vars '()) +]" + # Most output goes to a diversion. This allows us to emit variable + # initializations before everything else. + r += "[+ (out-push-new) +]" + + r += "[+ FOR " + target + " +]" + r += foreach_enabled_platform( + lambda p: under_platform_specific_conditionals(p, closure(p))) + # Remember that we've seen this target. + r += "[+ (set! seen-target (assoc-set! seen-target (get \".name\") 0)) +]" + r += "[+ ENDFOR +]" + r += "[+ (out-pop #t) +]" + return r + +def module_rules(): + return rules("module", module) + +def kernel_rules(): + return rules("kernel", kernel) + +def image_rules(): + return rules("image", image) + +def library_rules(): + return rules("library", library) + +def program_rules(): + return rules("program", program) + +def script_rules(): + return rules("script", script) + +def data_rules(): + return rules("data", data) + +print "[+ AutoGen5 template +]\n" +a = module_rules() +b = kernel_rules() +c = image_rules() +d = library_rules() +e = program_rules() +f = script_rules() +g = data_rules() +z = global_variable_initializers() + +# print z # initializer for all vars +print a +print b +print c +print d +print e +print f +print g diff --git a/grub-core/Makefile.am b/grub-core/Makefile.am new file mode 100644 index 0000000..94f7f3f --- /dev/null +++ b/grub-core/Makefile.am @@ -0,0 +1,351 @@ +AUTOMAKE_OPTIONS = subdir-objects + +DEPDIR=.deps-core + +include $(top_srcdir)/conf/Makefile.common + +CC=$(TARGET_CC) +CPP=$(TARGET_CC) +CCAS=$(TARGET_CC) + +if COND_GRUB_MKFONT +if COND_HAVE_FONT_SOURCE +TARGET_CFLAGS += -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1 +endif +endif + +AM_CFLAGS = $(TARGET_CFLAGS) +AM_LDFLAGS = $(TARGET_LDFLAGS) +AM_CPPFLAGS = $(TARGET_CPPFLAGS) $(CPPFLAGS_DEFAULT) +AM_CCASFLAGS = $(TARGET_CCASFLAGS) $(CCASFLAGS_DEFAULT) + +CFLAGS_PROGRAM += $(CFLAGS_PLATFORM) +LDFLAGS_PROGRAM += $(LDFLAGS_PLATFORM) +CPPFLAGS_PROGRAM += $(CPPFLAGS_PLATFORM) +CCASFLAGS_PROGRAM += $(CCASFLAGS_PLATFORM) + +CFLAGS_LIBRARY += $(CFLAGS_PLATFORM) -fno-builtin +CPPFLAGS_LIBRARY += $(CPPFLAGS_PLATFORM) +CCASFLAGS_LIBRARY += $(CCASFLAGS_PLATFORM) + +# gentrigtables +gentrigtables: gentrigtables.c + $(BUILD_CC) -o $@ -I$(top_srcdir)/include $(CPPFLAGS) $< -lm +CLEANFILES += gentrigtables + +# trigtables.c +trigtables.c: gentrigtables gentrigtables.c $(top_srcdir)/configure.ac + $(builddir)/gentrigtables > $@ +CLEANFILES += trigtables.c + +# XXX Use Automake's LEX & YACC support +grub_script.tab.h: script/parser.y + $(YACC) -d -p grub_script_yy -b grub_script $< +grub_script.tab.c: grub_script.tab.h +CLEANFILES += grub_script.tab.c grub_script.tab.h + +# For the lexer. +grub_script.yy.h: script/yylex.l + $(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $< +grub_script.yy.c: grub_script.yy.h + +rs_decoder.S: $(srcdir)/lib/reed_solomon.c + $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -Os -I$(top_builddir) -S -DSTANDALONE -o $@ $< -g0 -mregparm=3 + +kern/i386/pc/startup.S: $(builddir)/rs_decoder.S + +CLEANFILES += grub_script.yy.c grub_script.yy.h + +include $(srcdir)/Makefile.core.am + +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/cache.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/command.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/device.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/disk.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/dl.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/env.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/env_private.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/err.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/file.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/fs.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i18n.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/kernel.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/list.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/misc.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/mm.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/parser.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/partition.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/term.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/time.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/mm_private.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/boot.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/libgcc.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/memory.h + +if COND_i386_pc +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/machine/loader.h +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/machine/kernel.h +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/machine/pxe.h +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/machine/int.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_i386_efi +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/efi.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/time.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/disk.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_i386_coreboot +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_i386_multiboot +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_i386_qemu +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/pci.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_i386_ieee1275 +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/ieee1275/ieee1275.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/terminfo.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/extcmd.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/lib/arg.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_x86_64_efi +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/efi.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/time.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/efi/disk.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/i386/pit.h +endif + +if COND_mips_yeeloong +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/keyboard_layouts.h +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/machine/kernel.h +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/cpu/cache.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/bitmap.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/video.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/gfxterm.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/font.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/bitmap_scale.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/bufio.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/pci.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/cs5536.h +KERNEL_HEADER_FILES += $(top_builddir)/include/grub/machine/pci.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/serial.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/loader.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/terminfo.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/extcmd.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/lib/arg.h +endif + +if COND_powerpc_ieee1275 +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/ieee1275/ieee1275.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/terminfo.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/extcmd.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/lib/arg.h +endif + +if COND_sparc64_ieee1275 +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/ieee1275/ieee1275.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/sparc64/ieee1275/ieee1275.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/terminfo.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/extcmd.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/lib/arg.h +endif + +if COND_emu +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/datetime.h +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/emu/misc.h +if COND_GRUB_EMU_SDL +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/sdl.h +endif +if COND_GRUB_EMU_USB +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/libusb.h +endif +if COND_GRUB_EMU_PCI +KERNEL_HEADER_FILES += $(top_srcdir)/include/grub/libpciaccess.h +endif +endif + +symlist.h: $(top_builddir)/config.h $(KERNEL_HEADER_FILES) + @list='$^'; \ + for p in $$list; do \ + echo "#include <$$p>" >> $@ || (rm -f $@; exit 1); \ + done +CLEANFILES += symlist.h +BUILT_SOURCES += symlist.h + +symlist.c: symlist.h gensymlist.sh + $(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) -DGRUB_SYMBOL_GENERATOR=1 symlist.h > symlist.p || (rm -f symlist.p; exit 1) + cat symlist.p | /bin/sh $(srcdir)/gensymlist.sh $(top_builddir)/config.h $(KERNEL_HEADER_FILES) >$@ || (rm -f $@; exit 1) + rm -f symlist.p +CLEANFILES += symlist.c +BUILT_SOURCES += symlist.c + +if COND_HAVE_ASM_USCORE +ASM_PREFIX=_ +else +ASM_PREFIX= +endif + +noinst_DATA += kernel_syms.lst + +kernel_syms.lst: $(KERNEL_HEADER_FILES) $(top_builddir)/config.h + $(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) $(CFLAGS) -DGRUB_SYMBOL_GENERATOR=1 $^ >kernel_syms.input + cat kernel_syms.input | grep -v '^#' | sed -n \ + -e '/EXPORT_FUNC *([a-zA-Z0-9_]*)/{s/.*EXPORT_FUNC *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \ + -e '/EXPORT_VAR *([a-zA-Z0-9_]*)/{s/.*EXPORT_VAR *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \ + | sort -u >$@ + rm -f kernel_syms.input +CLEANFILES += kernel_syms.lst + +if COND_emu +kern/emu/grub_emu-main.$(OBJEXT):grub_emu_init.h +grub_emu-grub_emu_init.$(OBJEXT):grub_emu_init.h +kern/emu/grub_emu_dyn-main.$(OBJEXT):grub_emu_init.h +grub_emu_dyn-grub_emu_init.$(OBJEXT):grub_emu_init.h + +grub_emu_init.h: genemuinitheader.sh $(MOD_FILES) + rm -f $@; echo $(MOD_FILES) | sh $(srcdir)/genemuinitheader.sh $(NM) > $@ +CLEANFILES += grub_emu_init.h + +grub_emu_init.c: grub_emu_init.h genemuinit.sh $(MOD_FILES) + rm -f $@; echo $(MOD_FILES) | sh $(srcdir)/genemuinit.sh $(NM) > $@ +CLEANFILES += grub_emu_init.c +endif + +# List files + +fs.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + if grep 'FS_LIST_MARKER' $$pp >/dev/null 2>&1; then \ + echo $$b; \ + fi; \ + done) | sort -u > $@ +platform_DATA += fs.lst +CLEANFILES += fs.lst + +command.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + sed -n \ + -e "/EXTCOMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $$b/;p;}" \ + -e "/P1COMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $$b/;p;}" \ + -e "/COMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $$b/;p;}" $$pp; \ + done) | sort -u > $@ +platform_DATA += command.lst +CLEANFILES += command.lst + +partmap.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + if grep 'PARTMAP_LIST_MARKER' $$pp >/dev/null 2>&1; then \ + echo $$b; \ + fi; \ + done) | sort -u > $@ +platform_DATA += partmap.lst +CLEANFILES += partmap.lst + +terminal.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + sed -n \ + -e "/INPUT_TERMINAL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/i\1: $$b/;p;}" \ + -e "/OUTPUT_TERMINAL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/o\1: $$b/;p;}" $$pp; \ + done) | sort -u > $@ +platform_DATA += terminal.lst +CLEANFILES += terminal.lst + +parttool.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + sed -n \ + -e "/PARTTOOL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $$b/;p;}" $$pp; \ + done) | sort -u > $@ +platform_DATA += parttool.lst +CLEANFILES += parttool.lst + +video.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + if grep 'VIDEO_LIST_MARKER' $$pp >/dev/null 2>&1; then \ + echo $$b; \ + fi; \ + done) | sort -u > $@ +platform_DATA += video.lst +CLEANFILES += video.lst + +# but, crypto.lst is simply copied +crypto.lst: $(srcdir)/lib/libgcrypt-grub/cipher/crypto.lst + cp $^ $@ +platform_DATA += crypto.lst +CLEANFILES += crypto.lst + +syminfo.lst: gensyminfo.sh kernel_syms.lst $(MODULE_FILES) + cat kernel_syms.lst > $@.new + for m in $(MODULE_FILES); do \ + sh $< $$m >> $@.new || exit 1; \ + done + mv $@.new $@ + +# generate global module dependencies list +moddep.lst: syminfo.lst genmoddep.awk + cat $< | sort | awk -f $(srcdir)/genmoddep.awk > $@ || (rm -f $@; exit 1) +platform_DATA += moddep.lst +CLEANFILES += config.log syminfo.lst moddep.lst + +$(MOD_FILES): %.mod : genmod.sh moddep.lst %.module$(EXEEXT) + TARGET_OBJ2ELF=@TARGET_OBJ2ELF@ sh $^ $@ +platform_DATA += $(MOD_FILES) +CLEANFILES += $(MOD_FILES) + +if COND_ENABLE_EFIEMU +efiemu32.o: efiemu/runtime/efiemu.c $(TARGET_OBJ2ELF) + -rm -f $@; \ + if test "x$(TARGET_APPLE_CC)" = x1; then \ + $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF32 -DAPPLE_CC -m32 -Wall -Werror -nostdlib -O2 -c -o $@.bin $< || exit 1; \ + $(OBJCONV) -felf32 -nu -nd $@.bin $@ || exit 1; \ + rm -f $@.bin; \ + else \ + $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF32 -m32 -Wall -Werror -nostdlib -O2 -c -o $@ $< || exit 1; \ + if test ! -z "$(TARGET_OBJ2ELF)"; then $(TARGET_OBJ2ELF) $@ || (rm -f $@; exit 1); fi; \ + fi + +efiemu64_c.o: efiemu/runtime/efiemu.c + if test "x$(TARGET_APPLE_CC)" = x1; then \ + $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -DAPPLE_CC=1 -m64 -nostdlib -Wall -Werror -mno-red-zone -c -o $@ $< || exit 1; \ + else \ + $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -m64 -nostdlib -Wall -Werror -O2 -mcmodel=large -mno-red-zone -c -o $@ $< || exit 1; \ + fi + +efiemu64_s.o: efiemu/runtime/efiemu.S + -rm -f $@ + if test "x$(TARGET_APPLE_CC)" = x1; then \ + $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -DAPPLE_CC=1 -m64 -Wall -Werror -nostdlib -O2 -mno-red-zone -c -o $@ $< || exit 1; \ + else \ + $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -m64 -Wall -Werror -nostdlib -O2 -mcmodel=large -mno-red-zone -c -o $@ $< || exit 1; \ + fi + +efiemu64.o: efiemu64_c.o efiemu64_s.o $(TARGET_OBJ2ELEF) + -rm -f $@; \ + if test "x$(TARGET_APPLE_CC)" = x1; then \ + rm -f $@.bin; \ + $(TARGET_CC) -m64 -Wl,-r -nostdlib -o $@.bin $^ || exit 1; \ + $(OBJCONV) -felf64 -nu -nd $@.bin $@ || exit 1; \ + rm -f $@.bin; \ + else \ + $(TARGET_CC) -m64 -nostdlib -Wl,-r -o $@ $^ || exit 1; \ + if test ! -z "$(TARGET_OBJ2ELF)"; then $(TARGET_OBJ2ELF) $@ || (rm -f $@; exit 1); fi; \ + fi + +platform_DATA += efiemu32.o efiemu64.o +CLEANFILES += efiemu32.o efiemu64.o efiemu64_c.o efiemu64_s.o +endif diff --git a/grub-core/Makefile.core.am b/grub-core/Makefile.core.am new file mode 100644 index 0000000..f1da527 --- /dev/null +++ b/grub-core/Makefile.core.am @@ -0,0 +1,39086 @@ + +if COND_emu +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += trig.module +MODULE_FILES += trig.module$(EXEEXT) +trig_module_SOURCES = ## platform sources +nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +trig_module_LDADD = +trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += gentrigtables.c +BUILT_SOURCES += $(nodist_trig_module_SOURCES) +CLEANFILES += $(nodist_trig_module_SOURCES) +MOD_FILES += trig.mod +MARKER_FILES += trig.marker +CLEANFILES += trig.marker + +trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += cs5536.module +MODULE_FILES += cs5536.module$(EXEEXT) +cs5536_module_SOURCES = bus/cs5536.c ## platform sources +nodist_cs5536_module_SOURCES = ## platform nodist sources +cs5536_module_LDADD = +cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cs5536_module_SOURCES) +CLEANFILES += $(nodist_cs5536_module_SOURCES) +MOD_FILES += cs5536.mod +MARKER_FILES += cs5536.marker +CLEANFILES += cs5536.marker + +cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_USB +noinst_PROGRAMS += libusb.module +MODULE_FILES += libusb.module$(EXEEXT) +libusb_module_SOURCES = bus/usb/emu/usb.c ## platform sources +nodist_libusb_module_SOURCES = ## platform nodist sources +libusb_module_LDADD = +libusb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +libusb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +libusb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +libusb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libusb_module_SOURCES) +CLEANFILES += $(nodist_libusb_module_SOURCES) +MOD_FILES += libusb.mod +MARKER_FILES += libusb.marker +CLEANFILES += libusb.marker + +libusb.marker: $(libusb_module_SOURCES) $(nodist_libusb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libusb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_USB +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += lsspd.module +MODULE_FILES += lsspd.module$(EXEEXT) +lsspd_module_SOURCES = commands/mips/yeeloong/lsspd.c ## platform sources +nodist_lsspd_module_SOURCES = ## platform nodist sources +lsspd_module_LDADD = +lsspd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsspd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsspd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsspd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsspd_module_SOURCES) +CLEANFILES += $(nodist_lsspd_module_SOURCES) +MOD_FILES += lsspd.mod +MARKER_FILES += lsspd.marker +CLEANFILES += lsspd.marker + +lsspd.marker: $(lsspd_module_SOURCES) $(nodist_lsspd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsspd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_USB +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_USB +endif + +if COND_i386_pc +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usb.module +MODULE_FILES += usb.module$(EXEEXT) +usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +nodist_usb_module_SOURCES = ## platform nodist sources +usb_module_LDADD = +usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_module_SOURCES) +CLEANFILES += $(nodist_usb_module_SOURCES) +MOD_FILES += usb.mod +MARKER_FILES += usb.marker +CLEANFILES += usb.marker + +usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usbserial_common.module +MODULE_FILES += usbserial_common.module$(EXEEXT) +usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +nodist_usbserial_common_module_SOURCES = ## platform nodist sources +usbserial_common_module_LDADD = +usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_common_module_SOURCES) +CLEANFILES += $(nodist_usbserial_common_module_SOURCES) +MOD_FILES += usbserial_common.mod +MARKER_FILES += usbserial_common.marker +CLEANFILES += usbserial_common.marker + +usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usbserial_pl2303.module +MODULE_FILES += usbserial_pl2303.module$(EXEEXT) +usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +usbserial_pl2303_module_LDADD = +usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_pl2303_module_SOURCES) +CLEANFILES += $(nodist_usbserial_pl2303_module_SOURCES) +MOD_FILES += usbserial_pl2303.mod +MARKER_FILES += usbserial_pl2303.marker +CLEANFILES += usbserial_pl2303.marker + +usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usbserial_ftdi.module +MODULE_FILES += usbserial_ftdi.module$(EXEEXT) +usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +usbserial_ftdi_module_LDADD = +usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbserial_ftdi_module_SOURCES) +CLEANFILES += $(nodist_usbserial_ftdi_module_SOURCES) +MOD_FILES += usbserial_ftdi.mod +MARKER_FILES += usbserial_ftdi.marker +CLEANFILES += usbserial_ftdi.marker + +usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += uhci.module +MODULE_FILES += uhci.module$(EXEEXT) +uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +nodist_uhci_module_SOURCES = ## platform nodist sources +uhci_module_LDADD = +uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_uhci_module_SOURCES) +CLEANFILES += $(nodist_uhci_module_SOURCES) +MOD_FILES += uhci.mod +MARKER_FILES += uhci.marker +CLEANFILES += uhci.marker + +uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ohci.module +MODULE_FILES += ohci.module$(EXEEXT) +ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +nodist_ohci_module_SOURCES = ## platform nodist sources +ohci_module_LDADD = +ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ohci_module_SOURCES) +CLEANFILES += $(nodist_ohci_module_SOURCES) +MOD_FILES += ohci.mod +MARKER_FILES += ohci.marker +CLEANFILES += ohci.marker + +ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_PCI +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/emu/pci.c commands/lspci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_PCI +endif + +if COND_i386_pc +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/pci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/pci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/pci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/pci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/pci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += pci.module +MODULE_FILES += pci.module$(EXEEXT) +pci_module_SOURCES = bus/pci.c ## platform sources +nodist_pci_module_SOURCES = ## platform nodist sources +pci_module_LDADD = +pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pci_module_SOURCES) +CLEANFILES += $(nodist_pci_module_SOURCES) +MOD_FILES += pci.mod +MARKER_FILES += pci.marker +CLEANFILES += pci.marker + +pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += cmostest.module +MODULE_FILES += cmostest.module$(EXEEXT) +cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +nodist_cmostest_module_SOURCES = ## platform nodist sources +cmostest_module_LDADD = +cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmostest_module_SOURCES) +CLEANFILES += $(nodist_cmostest_module_SOURCES) +MOD_FILES += cmostest.mod +MARKER_FILES += cmostest.marker +CLEANFILES += cmostest.marker + +cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += cmostest.module +MODULE_FILES += cmostest.module$(EXEEXT) +cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +nodist_cmostest_module_SOURCES = ## platform nodist sources +cmostest_module_LDADD = +cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmostest_module_SOURCES) +CLEANFILES += $(nodist_cmostest_module_SOURCES) +MOD_FILES += cmostest.mod +MARKER_FILES += cmostest.marker +CLEANFILES += cmostest.marker + +cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += cmostest.module +MODULE_FILES += cmostest.module$(EXEEXT) +cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +nodist_cmostest_module_SOURCES = ## platform nodist sources +cmostest_module_LDADD = +cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmostest_module_SOURCES) +CLEANFILES += $(nodist_cmostest_module_SOURCES) +MOD_FILES += cmostest.mod +MARKER_FILES += cmostest.marker +CLEANFILES += cmostest.marker + +cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += cmostest.module +MODULE_FILES += cmostest.module$(EXEEXT) +cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +nodist_cmostest_module_SOURCES = ## platform nodist sources +cmostest_module_LDADD = +cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmostest_module_SOURCES) +CLEANFILES += $(nodist_cmostest_module_SOURCES) +MOD_FILES += cmostest.mod +MARKER_FILES += cmostest.marker +CLEANFILES += cmostest.marker + +cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += cmostest.module +MODULE_FILES += cmostest.module$(EXEEXT) +cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +nodist_cmostest_module_SOURCES = ## platform nodist sources +cmostest_module_LDADD = +cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmostest_module_SOURCES) +CLEANFILES += $(nodist_cmostest_module_SOURCES) +MOD_FILES += cmostest.mod +MARKER_FILES += cmostest.marker +CLEANFILES += cmostest.marker + +cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += cmostest.module +MODULE_FILES += cmostest.module$(EXEEXT) +cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +nodist_cmostest_module_SOURCES = ## platform nodist sources +cmostest_module_LDADD = +cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmostest_module_SOURCES) +CLEANFILES += $(nodist_cmostest_module_SOURCES) +MOD_FILES += cmostest.mod +MARKER_FILES += cmostest.marker +CLEANFILES += cmostest.marker + +cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += iorw.module +MODULE_FILES += iorw.module$(EXEEXT) +iorw_module_SOURCES = commands/iorw.c ## platform sources +nodist_iorw_module_SOURCES = ## platform nodist sources +iorw_module_LDADD = +iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iorw_module_SOURCES) +CLEANFILES += $(nodist_iorw_module_SOURCES) +MOD_FILES += iorw.mod +MARKER_FILES += iorw.marker +CLEANFILES += iorw.marker + +iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += regexp.module +MODULE_FILES += regexp.module$(EXEEXT) +regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +nodist_regexp_module_SOURCES = ## platform nodist sources +regexp_module_LDADD = libgnulib.a +regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_regexp_module_SOURCES) +CLEANFILES += $(nodist_regexp_module_SOURCES) +MOD_FILES += regexp.mod +MARKER_FILES += regexp.marker +CLEANFILES += regexp.marker + +regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += acpi.module +MODULE_FILES += acpi.module$(EXEEXT) +acpi_module_SOURCES = commands/i386/pc/acpi.c commands/acpi.c ## platform sources +nodist_acpi_module_SOURCES = ## platform nodist sources +acpi_module_LDADD = +acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_acpi_module_SOURCES) +CLEANFILES += $(nodist_acpi_module_SOURCES) +MOD_FILES += acpi.mod +MARKER_FILES += acpi.marker +CLEANFILES += acpi.marker + +acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += acpi.module +MODULE_FILES += acpi.module$(EXEEXT) +acpi_module_SOURCES = commands/efi/acpi.c commands/acpi.c ## platform sources +nodist_acpi_module_SOURCES = ## platform nodist sources +acpi_module_LDADD = +acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_acpi_module_SOURCES) +CLEANFILES += $(nodist_acpi_module_SOURCES) +MOD_FILES += acpi.mod +MARKER_FILES += acpi.marker +CLEANFILES += acpi.marker + +acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += acpi.module +MODULE_FILES += acpi.module$(EXEEXT) +acpi_module_SOURCES = commands/i386/pc/acpi.c commands/acpi.c ## platform sources +nodist_acpi_module_SOURCES = ## platform nodist sources +acpi_module_LDADD = +acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_acpi_module_SOURCES) +CLEANFILES += $(nodist_acpi_module_SOURCES) +MOD_FILES += acpi.mod +MARKER_FILES += acpi.marker +CLEANFILES += acpi.marker + +acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += acpi.module +MODULE_FILES += acpi.module$(EXEEXT) +acpi_module_SOURCES = commands/i386/pc/acpi.c commands/acpi.c ## platform sources +nodist_acpi_module_SOURCES = ## platform nodist sources +acpi_module_LDADD = +acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_acpi_module_SOURCES) +CLEANFILES += $(nodist_acpi_module_SOURCES) +MOD_FILES += acpi.mod +MARKER_FILES += acpi.marker +CLEANFILES += acpi.marker + +acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += acpi.module +MODULE_FILES += acpi.module$(EXEEXT) +acpi_module_SOURCES = commands/efi/acpi.c commands/acpi.c ## platform sources +nodist_acpi_module_SOURCES = ## platform nodist sources +acpi_module_LDADD = +acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_acpi_module_SOURCES) +CLEANFILES += $(nodist_acpi_module_SOURCES) +MOD_FILES += acpi.mod +MARKER_FILES += acpi.marker +CLEANFILES += acpi.marker + +acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += lsacpi.module +MODULE_FILES += lsacpi.module$(EXEEXT) +lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +nodist_lsacpi_module_SOURCES = ## platform nodist sources +lsacpi_module_LDADD = +lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsacpi_module_SOURCES) +CLEANFILES += $(nodist_lsacpi_module_SOURCES) +MOD_FILES += lsacpi.mod +MARKER_FILES += lsacpi.marker +CLEANFILES += lsacpi.marker + +lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lsacpi.module +MODULE_FILES += lsacpi.module$(EXEEXT) +lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +nodist_lsacpi_module_SOURCES = ## platform nodist sources +lsacpi_module_LDADD = +lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsacpi_module_SOURCES) +CLEANFILES += $(nodist_lsacpi_module_SOURCES) +MOD_FILES += lsacpi.mod +MARKER_FILES += lsacpi.marker +CLEANFILES += lsacpi.marker + +lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += lsacpi.module +MODULE_FILES += lsacpi.module$(EXEEXT) +lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +nodist_lsacpi_module_SOURCES = ## platform nodist sources +lsacpi_module_LDADD = +lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsacpi_module_SOURCES) +CLEANFILES += $(nodist_lsacpi_module_SOURCES) +MOD_FILES += lsacpi.mod +MARKER_FILES += lsacpi.marker +CLEANFILES += lsacpi.marker + +lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += lsacpi.module +MODULE_FILES += lsacpi.module$(EXEEXT) +lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +nodist_lsacpi_module_SOURCES = ## platform nodist sources +lsacpi_module_LDADD = +lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsacpi_module_SOURCES) +CLEANFILES += $(nodist_lsacpi_module_SOURCES) +MOD_FILES += lsacpi.mod +MARKER_FILES += lsacpi.marker +CLEANFILES += lsacpi.marker + +lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lsacpi.module +MODULE_FILES += lsacpi.module$(EXEEXT) +lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +nodist_lsacpi_module_SOURCES = ## platform nodist sources +lsacpi_module_LDADD = +lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsacpi_module_SOURCES) +CLEANFILES += $(nodist_lsacpi_module_SOURCES) +MOD_FILES += lsacpi.mod +MARKER_FILES += lsacpi.marker +CLEANFILES += lsacpi.marker + +lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lsefisystab.module +MODULE_FILES += lsefisystab.module$(EXEEXT) +lsefisystab_module_SOURCES = commands/efi/lsefisystab.c ## platform sources +nodist_lsefisystab_module_SOURCES = ## platform nodist sources +lsefisystab_module_LDADD = +lsefisystab_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsefisystab_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsefisystab_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsefisystab_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsefisystab_module_SOURCES) +CLEANFILES += $(nodist_lsefisystab_module_SOURCES) +MOD_FILES += lsefisystab.mod +MARKER_FILES += lsefisystab.marker +CLEANFILES += lsefisystab.marker + +lsefisystab.marker: $(lsefisystab_module_SOURCES) $(nodist_lsefisystab_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lsefisystab.module +MODULE_FILES += lsefisystab.module$(EXEEXT) +lsefisystab_module_SOURCES = commands/efi/lsefisystab.c ## platform sources +nodist_lsefisystab_module_SOURCES = ## platform nodist sources +lsefisystab_module_LDADD = +lsefisystab_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsefisystab_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsefisystab_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsefisystab_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsefisystab_module_SOURCES) +CLEANFILES += $(nodist_lsefisystab_module_SOURCES) +MOD_FILES += lsefisystab.mod +MARKER_FILES += lsefisystab.marker +CLEANFILES += lsefisystab.marker + +lsefisystab.marker: $(lsefisystab_module_SOURCES) $(nodist_lsefisystab_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lssal.module +MODULE_FILES += lssal.module$(EXEEXT) +lssal_module_SOURCES = commands/efi/lssal.c ## platform sources +nodist_lssal_module_SOURCES = ## platform nodist sources +lssal_module_LDADD = +lssal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lssal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lssal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lssal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lssal_module_SOURCES) +CLEANFILES += $(nodist_lssal_module_SOURCES) +MOD_FILES += lssal.mod +MARKER_FILES += lssal.marker +CLEANFILES += lssal.marker + +lssal.marker: $(lssal_module_SOURCES) $(nodist_lssal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lssal.module +MODULE_FILES += lssal.module$(EXEEXT) +lssal_module_SOURCES = commands/efi/lssal.c ## platform sources +nodist_lssal_module_SOURCES = ## platform nodist sources +lssal_module_LDADD = +lssal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lssal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lssal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lssal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lssal_module_SOURCES) +CLEANFILES += $(nodist_lssal_module_SOURCES) +MOD_FILES += lssal.mod +MARKER_FILES += lssal.marker +CLEANFILES += lssal.marker + +lssal.marker: $(lssal_module_SOURCES) $(nodist_lssal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lsefimmap.module +MODULE_FILES += lsefimmap.module$(EXEEXT) +lsefimmap_module_SOURCES = commands/efi/lsefimmap.c ## platform sources +nodist_lsefimmap_module_SOURCES = ## platform nodist sources +lsefimmap_module_LDADD = +lsefimmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsefimmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsefimmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsefimmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsefimmap_module_SOURCES) +CLEANFILES += $(nodist_lsefimmap_module_SOURCES) +MOD_FILES += lsefimmap.mod +MARKER_FILES += lsefimmap.marker +CLEANFILES += lsefimmap.marker + +lsefimmap.marker: $(lsefimmap_module_SOURCES) $(nodist_lsefimmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lsefimmap.module +MODULE_FILES += lsefimmap.module$(EXEEXT) +lsefimmap_module_SOURCES = commands/efi/lsefimmap.c ## platform sources +nodist_lsefimmap_module_SOURCES = ## platform nodist sources +lsefimmap_module_LDADD = +lsefimmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsefimmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsefimmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsefimmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsefimmap_module_SOURCES) +CLEANFILES += $(nodist_lsefimmap_module_SOURCES) +MOD_FILES += lsefimmap.mod +MARKER_FILES += lsefimmap.marker +CLEANFILES += lsefimmap.marker + +lsefimmap.marker: $(lsefimmap_module_SOURCES) $(nodist_lsefimmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += blocklist.module +MODULE_FILES += blocklist.module$(EXEEXT) +blocklist_module_SOURCES = commands/blocklist.c ## platform sources +nodist_blocklist_module_SOURCES = ## platform nodist sources +blocklist_module_LDADD = +blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_blocklist_module_SOURCES) +CLEANFILES += $(nodist_blocklist_module_SOURCES) +MOD_FILES += blocklist.mod +MARKER_FILES += blocklist.marker +CLEANFILES += blocklist.marker + +blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = lib/i386/pc/biosnum.c commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += boot.module +MODULE_FILES += boot.module$(EXEEXT) +boot_module_SOURCES = commands/boot.c ## platform sources +nodist_boot_module_SOURCES = ## platform nodist sources +boot_module_LDADD = +boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_module_SOURCES) +CLEANFILES += $(nodist_boot_module_SOURCES) +MOD_FILES += boot.mod +MARKER_FILES += boot.marker +CLEANFILES += boot.marker + +boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += cat.module +MODULE_FILES += cat.module$(EXEEXT) +cat_module_SOURCES = commands/cat.c ## platform sources +nodist_cat_module_SOURCES = ## platform nodist sources +cat_module_LDADD = +cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cat_module_SOURCES) +CLEANFILES += $(nodist_cat_module_SOURCES) +MOD_FILES += cat.mod +MARKER_FILES += cat.marker +CLEANFILES += cat.marker + +cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += cmp.module +MODULE_FILES += cmp.module$(EXEEXT) +cmp_module_SOURCES = commands/cmp.c ## platform sources +nodist_cmp_module_SOURCES = ## platform nodist sources +cmp_module_LDADD = +cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cmp_module_SOURCES) +CLEANFILES += $(nodist_cmp_module_SOURCES) +MOD_FILES += cmp.mod +MARKER_FILES += cmp.marker +CLEANFILES += cmp.marker + +cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += configfile.module +MODULE_FILES += configfile.module$(EXEEXT) +configfile_module_SOURCES = commands/configfile.c ## platform sources +nodist_configfile_module_SOURCES = ## platform nodist sources +configfile_module_LDADD = +configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_configfile_module_SOURCES) +CLEANFILES += $(nodist_configfile_module_SOURCES) +MOD_FILES += configfile.mod +MARKER_FILES += configfile.marker +CLEANFILES += configfile.marker + +configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += cpuid.module +MODULE_FILES += cpuid.module$(EXEEXT) +cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +nodist_cpuid_module_SOURCES = ## platform nodist sources +cpuid_module_LDADD = +cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpuid_module_SOURCES) +CLEANFILES += $(nodist_cpuid_module_SOURCES) +MOD_FILES += cpuid.mod +MARKER_FILES += cpuid.marker +CLEANFILES += cpuid.marker + +cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += date.module +MODULE_FILES += date.module$(EXEEXT) +date_module_SOURCES = commands/date.c ## platform sources +nodist_date_module_SOURCES = ## platform nodist sources +date_module_LDADD = +date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_date_module_SOURCES) +CLEANFILES += $(nodist_date_module_SOURCES) +MOD_FILES += date.mod +MARKER_FILES += date.marker +CLEANFILES += date.marker + +date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += drivemap.module +MODULE_FILES += drivemap.module$(EXEEXT) +drivemap_module_SOURCES = commands/i386/pc/drivemap.c commands/i386/pc/drivemap_int13h.S ## platform sources +nodist_drivemap_module_SOURCES = ## platform nodist sources +drivemap_module_LDADD = +drivemap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +drivemap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +drivemap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +drivemap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_drivemap_module_SOURCES) +CLEANFILES += $(nodist_drivemap_module_SOURCES) +MOD_FILES += drivemap.mod +MARKER_FILES += drivemap.marker +CLEANFILES += drivemap.marker + +drivemap.marker: $(drivemap_module_SOURCES) $(nodist_drivemap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += echo.module +MODULE_FILES += echo.module$(EXEEXT) +echo_module_SOURCES = commands/echo.c ## platform sources +nodist_echo_module_SOURCES = ## platform nodist sources +echo_module_LDADD = +echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_echo_module_SOURCES) +CLEANFILES += $(nodist_echo_module_SOURCES) +MOD_FILES += echo.mod +MARKER_FILES += echo.marker +CLEANFILES += echo.marker + +echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += extcmd.module +MODULE_FILES += extcmd.module$(EXEEXT) +extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +nodist_extcmd_module_SOURCES = ## platform nodist sources +extcmd_module_LDADD = +extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_extcmd_module_SOURCES) +CLEANFILES += $(nodist_extcmd_module_SOURCES) +MOD_FILES += extcmd.mod +MARKER_FILES += extcmd.marker +CLEANFILES += extcmd.marker + +extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += fixvideo.module +MODULE_FILES += fixvideo.module$(EXEEXT) +fixvideo_module_SOURCES = commands/efi/fixvideo.c ## platform sources +nodist_fixvideo_module_SOURCES = ## platform nodist sources +fixvideo_module_LDADD = +fixvideo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fixvideo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fixvideo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fixvideo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fixvideo_module_SOURCES) +CLEANFILES += $(nodist_fixvideo_module_SOURCES) +MOD_FILES += fixvideo.mod +MARKER_FILES += fixvideo.marker +CLEANFILES += fixvideo.marker + +fixvideo.marker: $(fixvideo_module_SOURCES) $(nodist_fixvideo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += fixvideo.module +MODULE_FILES += fixvideo.module$(EXEEXT) +fixvideo_module_SOURCES = commands/efi/fixvideo.c ## platform sources +nodist_fixvideo_module_SOURCES = ## platform nodist sources +fixvideo_module_LDADD = +fixvideo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fixvideo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fixvideo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fixvideo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fixvideo_module_SOURCES) +CLEANFILES += $(nodist_fixvideo_module_SOURCES) +MOD_FILES += fixvideo.mod +MARKER_FILES += fixvideo.marker +CLEANFILES += fixvideo.marker + +fixvideo.marker: $(fixvideo_module_SOURCES) $(nodist_fixvideo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gptsync.module +MODULE_FILES += gptsync.module$(EXEEXT) +gptsync_module_SOURCES = commands/gptsync.c ## platform sources +nodist_gptsync_module_SOURCES = ## platform nodist sources +gptsync_module_LDADD = +gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gptsync_module_SOURCES) +CLEANFILES += $(nodist_gptsync_module_SOURCES) +MOD_FILES += gptsync.mod +MARKER_FILES += gptsync.marker +CLEANFILES += gptsync.marker + +gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = lib/emu/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = commands/i386/pc/halt.c commands/acpihalt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = commands/acpihalt.c lib/efi/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = lib/i386/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = commands/acpihalt.c lib/i386/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = commands/acpihalt.c lib/i386/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = lib/ieee1275/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = commands/acpihalt.c lib/efi/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = lib/ieee1275/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += halt.module +MODULE_FILES += halt.module$(EXEEXT) +halt_module_SOURCES = lib/ieee1275/halt.c commands/halt.c ## platform sources +nodist_halt_module_SOURCES = ## platform nodist sources +halt_module_LDADD = +halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_halt_module_SOURCES) +CLEANFILES += $(nodist_halt_module_SOURCES) +MOD_FILES += halt.mod +MARKER_FILES += halt.marker +CLEANFILES += halt.marker + +halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += hashsum.module +MODULE_FILES += hashsum.module$(EXEEXT) +hashsum_module_SOURCES = commands/hashsum.c ## platform sources +nodist_hashsum_module_SOURCES = ## platform nodist sources +hashsum_module_LDADD = +hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hashsum_module_SOURCES) +CLEANFILES += $(nodist_hashsum_module_SOURCES) +MOD_FILES += hashsum.mod +MARKER_FILES += hashsum.marker +CLEANFILES += hashsum.marker + +hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += hdparm.module +MODULE_FILES += hdparm.module$(EXEEXT) +hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +nodist_hdparm_module_SOURCES = ## platform nodist sources +hdparm_module_LDADD = +hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hdparm_module_SOURCES) +CLEANFILES += $(nodist_hdparm_module_SOURCES) +MOD_FILES += hdparm.mod +MARKER_FILES += hdparm.marker +CLEANFILES += hdparm.marker + +hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += help.module +MODULE_FILES += help.module$(EXEEXT) +help_module_SOURCES = commands/help.c ## platform sources +nodist_help_module_SOURCES = ## platform nodist sources +help_module_LDADD = +help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_help_module_SOURCES) +CLEANFILES += $(nodist_help_module_SOURCES) +MOD_FILES += help.mod +MARKER_FILES += help.marker +CLEANFILES += help.marker + +help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += hexdump.module +MODULE_FILES += hexdump.module$(EXEEXT) +hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +nodist_hexdump_module_SOURCES = ## platform nodist sources +hexdump_module_LDADD = +hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hexdump_module_SOURCES) +CLEANFILES += $(nodist_hexdump_module_SOURCES) +MOD_FILES += hexdump.mod +MARKER_FILES += hexdump.marker +CLEANFILES += hexdump.marker + +hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += keystatus.module +MODULE_FILES += keystatus.module$(EXEEXT) +keystatus_module_SOURCES = commands/keystatus.c ## platform sources +nodist_keystatus_module_SOURCES = ## platform nodist sources +keystatus_module_LDADD = +keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keystatus_module_SOURCES) +CLEANFILES += $(nodist_keystatus_module_SOURCES) +MOD_FILES += keystatus.mod +MARKER_FILES += keystatus.marker +CLEANFILES += keystatus.marker + +keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += loadbios.module +MODULE_FILES += loadbios.module$(EXEEXT) +loadbios_module_SOURCES = commands/efi/loadbios.c ## platform sources +nodist_loadbios_module_SOURCES = ## platform nodist sources +loadbios_module_LDADD = +loadbios_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadbios_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadbios_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadbios_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadbios_module_SOURCES) +CLEANFILES += $(nodist_loadbios_module_SOURCES) +MOD_FILES += loadbios.mod +MARKER_FILES += loadbios.marker +CLEANFILES += loadbios.marker + +loadbios.marker: $(loadbios_module_SOURCES) $(nodist_loadbios_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += loadbios.module +MODULE_FILES += loadbios.module$(EXEEXT) +loadbios_module_SOURCES = commands/efi/loadbios.c ## platform sources +nodist_loadbios_module_SOURCES = ## platform nodist sources +loadbios_module_LDADD = +loadbios_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadbios_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadbios_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadbios_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadbios_module_SOURCES) +CLEANFILES += $(nodist_loadbios_module_SOURCES) +MOD_FILES += loadbios.mod +MARKER_FILES += loadbios.marker +CLEANFILES += loadbios.marker + +loadbios.marker: $(loadbios_module_SOURCES) $(nodist_loadbios_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += loadenv.module +MODULE_FILES += loadenv.module$(EXEEXT) +loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +nodist_loadenv_module_SOURCES = ## platform nodist sources +loadenv_module_LDADD = +loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loadenv_module_SOURCES) +CLEANFILES += $(nodist_loadenv_module_SOURCES) +MOD_FILES += loadenv.mod +MARKER_FILES += loadenv.marker +CLEANFILES += loadenv.marker + +loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ls.module +MODULE_FILES += ls.module$(EXEEXT) +ls_module_SOURCES = commands/ls.c ## platform sources +nodist_ls_module_SOURCES = ## platform nodist sources +ls_module_LDADD = +ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ls_module_SOURCES) +CLEANFILES += $(nodist_ls_module_SOURCES) +MOD_FILES += ls.mod +MARKER_FILES += ls.marker +CLEANFILES += ls.marker + +ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += lsmmap.module +MODULE_FILES += lsmmap.module$(EXEEXT) +lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +nodist_lsmmap_module_SOURCES = ## platform nodist sources +lsmmap_module_LDADD = +lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsmmap_module_SOURCES) +CLEANFILES += $(nodist_lsmmap_module_SOURCES) +MOD_FILES += lsmmap.mod +MARKER_FILES += lsmmap.marker +CLEANFILES += lsmmap.marker + +lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += lspci.module +MODULE_FILES += lspci.module$(EXEEXT) +lspci_module_SOURCES = commands/lspci.c ## platform sources +nodist_lspci_module_SOURCES = ## platform nodist sources +lspci_module_LDADD = +lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lspci_module_SOURCES) +CLEANFILES += $(nodist_lspci_module_SOURCES) +MOD_FILES += lspci.mod +MARKER_FILES += lspci.marker +CLEANFILES += lspci.marker + +lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += memrw.module +MODULE_FILES += memrw.module$(EXEEXT) +memrw_module_SOURCES = commands/memrw.c ## platform sources +nodist_memrw_module_SOURCES = ## platform nodist sources +memrw_module_LDADD = +memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memrw_module_SOURCES) +CLEANFILES += $(nodist_memrw_module_SOURCES) +MOD_FILES += memrw.mod +MARKER_FILES += memrw.marker +CLEANFILES += memrw.marker + +memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += minicmd.module +MODULE_FILES += minicmd.module$(EXEEXT) +minicmd_module_SOURCES = commands/minicmd.c ## platform sources +nodist_minicmd_module_SOURCES = ## platform nodist sources +minicmd_module_LDADD = +minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minicmd_module_SOURCES) +CLEANFILES += $(nodist_minicmd_module_SOURCES) +MOD_FILES += minicmd.mod +MARKER_FILES += minicmd.marker +CLEANFILES += minicmd.marker + +minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += parttool.module +MODULE_FILES += parttool.module$(EXEEXT) +parttool_module_SOURCES = commands/parttool.c ## platform sources +nodist_parttool_module_SOURCES = ## platform nodist sources +parttool_module_LDADD = +parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_parttool_module_SOURCES) +CLEANFILES += $(nodist_parttool_module_SOURCES) +MOD_FILES += parttool.mod +MARKER_FILES += parttool.marker +CLEANFILES += parttool.marker + +parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += password.module +MODULE_FILES += password.module$(EXEEXT) +password_module_SOURCES = commands/password.c ## platform sources +nodist_password_module_SOURCES = ## platform nodist sources +password_module_LDADD = +password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_module_SOURCES) +CLEANFILES += $(nodist_password_module_SOURCES) +MOD_FILES += password.mod +MARKER_FILES += password.marker +CLEANFILES += password.marker + +password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += password_pbkdf2.module +MODULE_FILES += password_pbkdf2.module$(EXEEXT) +password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +password_pbkdf2_module_LDADD = +password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_password_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_password_pbkdf2_module_SOURCES) +MOD_FILES += password_pbkdf2.mod +MARKER_FILES += password_pbkdf2.marker +CLEANFILES += password_pbkdf2.marker + +password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += play.module +MODULE_FILES += play.module$(EXEEXT) +play_module_SOURCES = commands/i386/pc/play.c ## platform sources +nodist_play_module_SOURCES = ## platform nodist sources +play_module_LDADD = +play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_play_module_SOURCES) +CLEANFILES += $(nodist_play_module_SOURCES) +MOD_FILES += play.mod +MARKER_FILES += play.marker +CLEANFILES += play.marker + +play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += probe.module +MODULE_FILES += probe.module$(EXEEXT) +probe_module_SOURCES = commands/probe.c ## platform sources +nodist_probe_module_SOURCES = ## platform nodist sources +probe_module_LDADD = +probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_probe_module_SOURCES) +CLEANFILES += $(nodist_probe_module_SOURCES) +MOD_FILES += probe.mod +MARKER_FILES += probe.marker +CLEANFILES += probe.marker + +probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += pxecmd.module +MODULE_FILES += pxecmd.module$(EXEEXT) +pxecmd_module_SOURCES = commands/i386/pc/pxecmd.c ## platform sources +nodist_pxecmd_module_SOURCES = ## platform nodist sources +pxecmd_module_LDADD = +pxecmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pxecmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pxecmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pxecmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pxecmd_module_SOURCES) +CLEANFILES += $(nodist_pxecmd_module_SOURCES) +MOD_FILES += pxecmd.mod +MARKER_FILES += pxecmd.marker +CLEANFILES += pxecmd.marker + +pxecmd.marker: $(pxecmd_module_SOURCES) $(nodist_pxecmd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxecmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += read.module +MODULE_FILES += read.module$(EXEEXT) +read_module_SOURCES = commands/read.c ## platform sources +nodist_read_module_SOURCES = ## platform nodist sources +read_module_LDADD = +read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_read_module_SOURCES) +CLEANFILES += $(nodist_read_module_SOURCES) +MOD_FILES += read.mod +MARKER_FILES += read.marker +CLEANFILES += read.marker + +read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += reboot.module +MODULE_FILES += reboot.module$(EXEEXT) +reboot_module_SOURCES = commands/reboot.c ## platform sources +nodist_reboot_module_SOURCES = ## platform nodist sources +reboot_module_LDADD = +reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reboot_module_SOURCES) +CLEANFILES += $(nodist_reboot_module_SOURCES) +MOD_FILES += reboot.mod +MARKER_FILES += reboot.marker +CLEANFILES += reboot.marker + +reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += search.module +MODULE_FILES += search.module$(EXEEXT) +search_module_SOURCES = commands/search_wrap.c ## platform sources +nodist_search_module_SOURCES = ## platform nodist sources +search_module_LDADD = +search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += commands/search.c +BUILT_SOURCES += $(nodist_search_module_SOURCES) +CLEANFILES += $(nodist_search_module_SOURCES) +MOD_FILES += search.mod +MARKER_FILES += search.marker +CLEANFILES += search.marker + +search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += search_fs_file.module +MODULE_FILES += search_fs_file.module$(EXEEXT) +search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +nodist_search_fs_file_module_SOURCES = ## platform nodist sources +search_fs_file_module_LDADD = +search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_file_module_SOURCES) +CLEANFILES += $(nodist_search_fs_file_module_SOURCES) +MOD_FILES += search_fs_file.mod +MARKER_FILES += search_fs_file.marker +CLEANFILES += search_fs_file.marker + +search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += search_fs_uuid.module +MODULE_FILES += search_fs_uuid.module$(EXEEXT) +search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +search_fs_uuid_module_LDADD = +search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_fs_uuid_module_SOURCES) +CLEANFILES += $(nodist_search_fs_uuid_module_SOURCES) +MOD_FILES += search_fs_uuid.mod +MARKER_FILES += search_fs_uuid.marker +CLEANFILES += search_fs_uuid.marker + +search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += search_label.module +MODULE_FILES += search_label.module$(EXEEXT) +search_label_module_SOURCES = commands/search_label.c ## platform sources +nodist_search_label_module_SOURCES = ## platform nodist sources +search_label_module_LDADD = +search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_search_label_module_SOURCES) +CLEANFILES += $(nodist_search_label_module_SOURCES) +MOD_FILES += search_label.mod +MARKER_FILES += search_label.marker +CLEANFILES += search_label.marker + +search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += setpci.module +MODULE_FILES += setpci.module$(EXEEXT) +setpci_module_SOURCES = commands/setpci.c ## platform sources +nodist_setpci_module_SOURCES = ## platform nodist sources +setpci_module_LDADD = +setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_setpci_module_SOURCES) +CLEANFILES += $(nodist_setpci_module_SOURCES) +MOD_FILES += setpci.mod +MARKER_FILES += setpci.marker +CLEANFILES += setpci.marker + +setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += sleep.module +MODULE_FILES += sleep.module$(EXEEXT) +sleep_module_SOURCES = commands/sleep.c ## platform sources +nodist_sleep_module_SOURCES = ## platform nodist sources +sleep_module_LDADD = +sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sleep_module_SOURCES) +CLEANFILES += $(nodist_sleep_module_SOURCES) +MOD_FILES += sleep.mod +MARKER_FILES += sleep.marker +CLEANFILES += sleep.marker + +sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += suspend.module +MODULE_FILES += suspend.module$(EXEEXT) +suspend_module_SOURCES = commands/ieee1275/suspend.c ## platform sources +nodist_suspend_module_SOURCES = ## platform nodist sources +suspend_module_LDADD = +suspend_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +suspend_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +suspend_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +suspend_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_suspend_module_SOURCES) +CLEANFILES += $(nodist_suspend_module_SOURCES) +MOD_FILES += suspend.mod +MARKER_FILES += suspend.marker +CLEANFILES += suspend.marker + +suspend.marker: $(suspend_module_SOURCES) $(nodist_suspend_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += suspend.module +MODULE_FILES += suspend.module$(EXEEXT) +suspend_module_SOURCES = commands/ieee1275/suspend.c ## platform sources +nodist_suspend_module_SOURCES = ## platform nodist sources +suspend_module_LDADD = +suspend_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +suspend_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +suspend_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +suspend_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_suspend_module_SOURCES) +CLEANFILES += $(nodist_suspend_module_SOURCES) +MOD_FILES += suspend.mod +MARKER_FILES += suspend.marker +CLEANFILES += suspend.marker + +suspend.marker: $(suspend_module_SOURCES) $(nodist_suspend_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += terminal.module +MODULE_FILES += terminal.module$(EXEEXT) +terminal_module_SOURCES = commands/terminal.c ## platform sources +nodist_terminal_module_SOURCES = ## platform nodist sources +terminal_module_LDADD = +terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminal_module_SOURCES) +CLEANFILES += $(nodist_terminal_module_SOURCES) +MOD_FILES += terminal.mod +MARKER_FILES += terminal.marker +CLEANFILES += terminal.marker + +terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += test.module +MODULE_FILES += test.module$(EXEEXT) +test_module_SOURCES = commands/test.c ## platform sources +nodist_test_module_SOURCES = ## platform nodist sources +test_module_LDADD = +test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_module_SOURCES) +CLEANFILES += $(nodist_test_module_SOURCES) +MOD_FILES += test.mod +MARKER_FILES += test.marker +CLEANFILES += test.marker + +test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += true.module +MODULE_FILES += true.module$(EXEEXT) +true_module_SOURCES = commands/true.c ## platform sources +nodist_true_module_SOURCES = ## platform nodist sources +true_module_LDADD = +true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_true_module_SOURCES) +CLEANFILES += $(nodist_true_module_SOURCES) +MOD_FILES += true.mod +MARKER_FILES += true.marker +CLEANFILES += true.marker + +true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_USB +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_USB +endif + +if COND_i386_pc +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usbtest.module +MODULE_FILES += usbtest.module$(EXEEXT) +usbtest_module_SOURCES = commands/usbtest.c ## platform sources +nodist_usbtest_module_SOURCES = ## platform nodist sources +usbtest_module_LDADD = +usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbtest_module_SOURCES) +CLEANFILES += $(nodist_usbtest_module_SOURCES) +MOD_FILES += usbtest.mod +MARKER_FILES += usbtest.marker +CLEANFILES += usbtest.marker + +usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += videoinfo.module +MODULE_FILES += videoinfo.module$(EXEEXT) +videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +nodist_videoinfo_module_SOURCES = ## platform nodist sources +videoinfo_module_LDADD = +videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videoinfo_module_SOURCES) +CLEANFILES += $(nodist_videoinfo_module_SOURCES) +MOD_FILES += videoinfo.mod +MARKER_FILES += videoinfo.marker +CLEANFILES += videoinfo.marker + +videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += videotest.module +MODULE_FILES += videotest.module$(EXEEXT) +videotest_module_SOURCES = commands/videotest.c ## platform sources +nodist_videotest_module_SOURCES = ## platform nodist sources +videotest_module_LDADD = +videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_videotest_module_SOURCES) +CLEANFILES += $(nodist_videotest_module_SOURCES) +MOD_FILES += videotest.mod +MARKER_FILES += videotest.marker +CLEANFILES += videotest.marker + +videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += xnu_uuid.module +MODULE_FILES += xnu_uuid.module$(EXEEXT) +xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +xnu_uuid_module_LDADD = +xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xnu_uuid_module_SOURCES) +CLEANFILES += $(nodist_xnu_uuid_module_SOURCES) +MOD_FILES += xnu_uuid.mod +MARKER_FILES += xnu_uuid.marker +CLEANFILES += xnu_uuid.marker + +xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += dm_nv.module +MODULE_FILES += dm_nv.module$(EXEEXT) +dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +nodist_dm_nv_module_SOURCES = ## platform nodist sources +dm_nv_module_LDADD = +dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_dm_nv_module_SOURCES) +CLEANFILES += $(nodist_dm_nv_module_SOURCES) +MOD_FILES += dm_nv.mod +MARKER_FILES += dm_nv.marker +CLEANFILES += dm_nv.marker + +dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += loopback.module +MODULE_FILES += loopback.module$(EXEEXT) +loopback_module_SOURCES = disk/loopback.c ## platform sources +nodist_loopback_module_SOURCES = ## platform nodist sources +loopback_module_LDADD = +loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_loopback_module_SOURCES) +CLEANFILES += $(nodist_loopback_module_SOURCES) +MOD_FILES += loopback.mod +MARKER_FILES += loopback.marker +CLEANFILES += loopback.marker + +loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += lvm.module +MODULE_FILES += lvm.module$(EXEEXT) +lvm_module_SOURCES = disk/lvm.c ## platform sources +nodist_lvm_module_SOURCES = ## platform nodist sources +lvm_module_LDADD = +lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lvm_module_SOURCES) +CLEANFILES += $(nodist_lvm_module_SOURCES) +MOD_FILES += lvm.mod +MARKER_FILES += lvm.marker +CLEANFILES += lvm.marker + +lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += mdraid09.module +MODULE_FILES += mdraid09.module$(EXEEXT) +mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +nodist_mdraid09_module_SOURCES = ## platform nodist sources +mdraid09_module_LDADD = +mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid09_module_SOURCES) +CLEANFILES += $(nodist_mdraid09_module_SOURCES) +MOD_FILES += mdraid09.mod +MARKER_FILES += mdraid09.marker +CLEANFILES += mdraid09.marker + +mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += mdraid1x.module +MODULE_FILES += mdraid1x.module$(EXEEXT) +mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +nodist_mdraid1x_module_SOURCES = ## platform nodist sources +mdraid1x_module_LDADD = +mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mdraid1x_module_SOURCES) +CLEANFILES += $(nodist_mdraid1x_module_SOURCES) +MOD_FILES += mdraid1x.mod +MARKER_FILES += mdraid1x.marker +CLEANFILES += mdraid1x.marker + +mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += raid.module +MODULE_FILES += raid.module$(EXEEXT) +raid_module_SOURCES = disk/raid.c ## platform sources +nodist_raid_module_SOURCES = ## platform nodist sources +raid_module_LDADD = +raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid_module_SOURCES) +CLEANFILES += $(nodist_raid_module_SOURCES) +MOD_FILES += raid.mod +MARKER_FILES += raid.marker +CLEANFILES += raid.marker + +raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += raid5rec.module +MODULE_FILES += raid5rec.module$(EXEEXT) +raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +nodist_raid5rec_module_SOURCES = ## platform nodist sources +raid5rec_module_LDADD = +raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid5rec_module_SOURCES) +CLEANFILES += $(nodist_raid5rec_module_SOURCES) +MOD_FILES += raid5rec.mod +MARKER_FILES += raid5rec.marker +CLEANFILES += raid5rec.marker + +raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += raid6rec.module +MODULE_FILES += raid6rec.module$(EXEEXT) +raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +nodist_raid6rec_module_SOURCES = ## platform nodist sources +raid6rec_module_LDADD = +raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_raid6rec_module_SOURCES) +CLEANFILES += $(nodist_raid6rec_module_SOURCES) +MOD_FILES += raid6rec.mod +MARKER_FILES += raid6rec.marker +CLEANFILES += raid6rec.marker + +raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += scsi.module +MODULE_FILES += scsi.module$(EXEEXT) +scsi_module_SOURCES = disk/scsi.c ## platform sources +nodist_scsi_module_SOURCES = ## platform nodist sources +scsi_module_LDADD = +scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_scsi_module_SOURCES) +CLEANFILES += $(nodist_scsi_module_SOURCES) +MOD_FILES += scsi.mod +MARKER_FILES += scsi.marker +CLEANFILES += scsi.marker + +scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += memdisk.module +MODULE_FILES += memdisk.module$(EXEEXT) +memdisk_module_SOURCES = disk/memdisk.c ## platform sources +nodist_memdisk_module_SOURCES = ## platform nodist sources +memdisk_module_LDADD = +memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_memdisk_module_SOURCES) +CLEANFILES += $(nodist_memdisk_module_SOURCES) +MOD_FILES += memdisk.mod +MARKER_FILES += memdisk.marker +CLEANFILES += memdisk.marker + +memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ata.module +MODULE_FILES += ata.module$(EXEEXT) +ata_module_SOURCES = disk/ata.c ## platform sources +nodist_ata_module_SOURCES = ## platform nodist sources +ata_module_LDADD = +ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_module_SOURCES) +CLEANFILES += $(nodist_ata_module_SOURCES) +MOD_FILES += ata.mod +MARKER_FILES += ata.marker +CLEANFILES += ata.marker + +ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ata_pthru.module +MODULE_FILES += ata_pthru.module$(EXEEXT) +ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +nodist_ata_pthru_module_SOURCES = ## platform nodist sources +ata_pthru_module_LDADD = +ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ata_pthru_module_SOURCES) +CLEANFILES += $(nodist_ata_pthru_module_SOURCES) +MOD_FILES += ata_pthru.mod +MARKER_FILES += ata_pthru.marker +CLEANFILES += ata_pthru.marker + +ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += biosdisk.module +MODULE_FILES += biosdisk.module$(EXEEXT) +biosdisk_module_SOURCES = disk/i386/pc/biosdisk.c ## platform sources +nodist_biosdisk_module_SOURCES = ## platform nodist sources +biosdisk_module_LDADD = +biosdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +biosdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +biosdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +biosdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_biosdisk_module_SOURCES) +CLEANFILES += $(nodist_biosdisk_module_SOURCES) +MOD_FILES += biosdisk.mod +MARKER_FILES += biosdisk.marker +CLEANFILES += biosdisk.marker + +biosdisk.marker: $(biosdisk_module_SOURCES) $(nodist_biosdisk_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(biosdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_USB +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_USB +endif + +if COND_i386_pc +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usbms.module +MODULE_FILES += usbms.module$(EXEEXT) +usbms_module_SOURCES = disk/usbms.c ## platform sources +nodist_usbms_module_SOURCES = ## platform nodist sources +usbms_module_LDADD = +usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usbms_module_SOURCES) +CLEANFILES += $(nodist_usbms_module_SOURCES) +MOD_FILES += usbms.mod +MARKER_FILES += usbms.marker +CLEANFILES += usbms.marker + +usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += nand.module +MODULE_FILES += nand.module$(EXEEXT) +nand_module_SOURCES = disk/ieee1275/nand.c ## platform sources +nodist_nand_module_SOURCES = ## platform nodist sources +nand_module_LDADD = +nand_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nand_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nand_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nand_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nand_module_SOURCES) +CLEANFILES += $(nodist_nand_module_SOURCES) +MOD_FILES += nand.mod +MARKER_FILES += nand.marker +CLEANFILES += nand.marker + +nand.marker: $(nand_module_SOURCES) $(nodist_nand_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nand_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += efiemu.module +MODULE_FILES += efiemu.module$(EXEEXT) +efiemu_module_SOURCES = efiemu/i386/pc/cfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +nodist_efiemu_module_SOURCES = ## platform nodist sources +efiemu_module_LDADD = +efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +BUILT_SOURCES += $(nodist_efiemu_module_SOURCES) +CLEANFILES += $(nodist_efiemu_module_SOURCES) +MOD_FILES += efiemu.mod +MARKER_FILES += efiemu.marker +CLEANFILES += efiemu.marker + +efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += efiemu.module +MODULE_FILES += efiemu.module$(EXEEXT) +efiemu_module_SOURCES = efiemu/i386/nocfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +nodist_efiemu_module_SOURCES = ## platform nodist sources +efiemu_module_LDADD = +efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +BUILT_SOURCES += $(nodist_efiemu_module_SOURCES) +CLEANFILES += $(nodist_efiemu_module_SOURCES) +MOD_FILES += efiemu.mod +MARKER_FILES += efiemu.marker +CLEANFILES += efiemu.marker + +efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += efiemu.module +MODULE_FILES += efiemu.module$(EXEEXT) +efiemu_module_SOURCES = efiemu/i386/pc/cfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +nodist_efiemu_module_SOURCES = ## platform nodist sources +efiemu_module_LDADD = +efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +BUILT_SOURCES += $(nodist_efiemu_module_SOURCES) +CLEANFILES += $(nodist_efiemu_module_SOURCES) +MOD_FILES += efiemu.mod +MARKER_FILES += efiemu.marker +CLEANFILES += efiemu.marker + +efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += efiemu.module +MODULE_FILES += efiemu.module$(EXEEXT) +efiemu_module_SOURCES = efiemu/i386/pc/cfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +nodist_efiemu_module_SOURCES = ## platform nodist sources +efiemu_module_LDADD = +efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +BUILT_SOURCES += $(nodist_efiemu_module_SOURCES) +CLEANFILES += $(nodist_efiemu_module_SOURCES) +MOD_FILES += efiemu.mod +MARKER_FILES += efiemu.marker +CLEANFILES += efiemu.marker + +efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += efiemu.module +MODULE_FILES += efiemu.module$(EXEEXT) +efiemu_module_SOURCES = efiemu/i386/nocfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +nodist_efiemu_module_SOURCES = ## platform nodist sources +efiemu_module_LDADD = +efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +BUILT_SOURCES += $(nodist_efiemu_module_SOURCES) +CLEANFILES += $(nodist_efiemu_module_SOURCES) +MOD_FILES += efiemu.mod +MARKER_FILES += efiemu.marker +CLEANFILES += efiemu.marker + +efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += font.module +MODULE_FILES += font.module$(EXEEXT) +font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +nodist_font_module_SOURCES = ## platform nodist sources +font_module_LDADD = +font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_font_module_SOURCES) +CLEANFILES += $(nodist_font_module_SOURCES) +MOD_FILES += font.mod +MARKER_FILES += font.marker +CLEANFILES += font.marker + +font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += affs.module +MODULE_FILES += affs.module$(EXEEXT) +affs_module_SOURCES = fs/affs.c ## platform sources +nodist_affs_module_SOURCES = ## platform nodist sources +affs_module_LDADD = +affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_affs_module_SOURCES) +CLEANFILES += $(nodist_affs_module_SOURCES) +MOD_FILES += affs.mod +MARKER_FILES += affs.marker +CLEANFILES += affs.marker + +affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += afs.module +MODULE_FILES += afs.module$(EXEEXT) +afs_module_SOURCES = fs/afs.c ## platform sources +nodist_afs_module_SOURCES = ## platform nodist sources +afs_module_LDADD = +afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_module_SOURCES) +CLEANFILES += $(nodist_afs_module_SOURCES) +MOD_FILES += afs.mod +MARKER_FILES += afs.marker +CLEANFILES += afs.marker + +afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += afs_be.module +MODULE_FILES += afs_be.module$(EXEEXT) +afs_be_module_SOURCES = fs/afs_be.c ## platform sources +nodist_afs_be_module_SOURCES = ## platform nodist sources +afs_be_module_LDADD = +afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_afs_be_module_SOURCES) +CLEANFILES += $(nodist_afs_be_module_SOURCES) +MOD_FILES += afs_be.mod +MARKER_FILES += afs_be.marker +CLEANFILES += afs_be.marker + +afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += befs.module +MODULE_FILES += befs.module$(EXEEXT) +befs_module_SOURCES = fs/befs.c ## platform sources +nodist_befs_module_SOURCES = ## platform nodist sources +befs_module_LDADD = +befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_module_SOURCES) +CLEANFILES += $(nodist_befs_module_SOURCES) +MOD_FILES += befs.mod +MARKER_FILES += befs.marker +CLEANFILES += befs.marker + +befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += befs_be.module +MODULE_FILES += befs_be.module$(EXEEXT) +befs_be_module_SOURCES = fs/befs_be.c ## platform sources +nodist_befs_be_module_SOURCES = ## platform nodist sources +befs_be_module_LDADD = +befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_befs_be_module_SOURCES) +CLEANFILES += $(nodist_befs_be_module_SOURCES) +MOD_FILES += befs_be.mod +MARKER_FILES += befs_be.marker +CLEANFILES += befs_be.marker + +befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += btrfs.module +MODULE_FILES += btrfs.module$(EXEEXT) +btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +nodist_btrfs_module_SOURCES = ## platform nodist sources +btrfs_module_LDADD = +btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_btrfs_module_SOURCES) +CLEANFILES += $(nodist_btrfs_module_SOURCES) +MOD_FILES += btrfs.mod +MARKER_FILES += btrfs.marker +CLEANFILES += btrfs.marker + +btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += cpio.module +MODULE_FILES += cpio.module$(EXEEXT) +cpio_module_SOURCES = fs/cpio.c ## platform sources +nodist_cpio_module_SOURCES = ## platform nodist sources +cpio_module_LDADD = +cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cpio_module_SOURCES) +CLEANFILES += $(nodist_cpio_module_SOURCES) +MOD_FILES += cpio.mod +MARKER_FILES += cpio.marker +CLEANFILES += cpio.marker + +cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ext2.module +MODULE_FILES += ext2.module$(EXEEXT) +ext2_module_SOURCES = fs/ext2.c ## platform sources +nodist_ext2_module_SOURCES = ## platform nodist sources +ext2_module_LDADD = +ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ext2_module_SOURCES) +CLEANFILES += $(nodist_ext2_module_SOURCES) +MOD_FILES += ext2.mod +MARKER_FILES += ext2.marker +CLEANFILES += ext2.marker + +ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += fat.module +MODULE_FILES += fat.module$(EXEEXT) +fat_module_SOURCES = fs/fat.c ## platform sources +nodist_fat_module_SOURCES = ## platform nodist sources +fat_module_LDADD = +fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fat_module_SOURCES) +CLEANFILES += $(nodist_fat_module_SOURCES) +MOD_FILES += fat.mod +MARKER_FILES += fat.marker +CLEANFILES += fat.marker + +fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += fshelp.module +MODULE_FILES += fshelp.module$(EXEEXT) +fshelp_module_SOURCES = fs/fshelp.c ## platform sources +nodist_fshelp_module_SOURCES = ## platform nodist sources +fshelp_module_LDADD = +fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fshelp_module_SOURCES) +CLEANFILES += $(nodist_fshelp_module_SOURCES) +MOD_FILES += fshelp.mod +MARKER_FILES += fshelp.marker +CLEANFILES += fshelp.marker + +fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += hfs.module +MODULE_FILES += hfs.module$(EXEEXT) +hfs_module_SOURCES = fs/hfs.c ## platform sources +nodist_hfs_module_SOURCES = ## platform nodist sources +hfs_module_LDADD = +hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfs_module_SOURCES) +CLEANFILES += $(nodist_hfs_module_SOURCES) +MOD_FILES += hfs.mod +MARKER_FILES += hfs.marker +CLEANFILES += hfs.marker + +hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += hfsplus.module +MODULE_FILES += hfsplus.module$(EXEEXT) +hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +nodist_hfsplus_module_SOURCES = ## platform nodist sources +hfsplus_module_LDADD = +hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hfsplus_module_SOURCES) +CLEANFILES += $(nodist_hfsplus_module_SOURCES) +MOD_FILES += hfsplus.mod +MARKER_FILES += hfsplus.marker +CLEANFILES += hfsplus.marker + +hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += iso9660.module +MODULE_FILES += iso9660.module$(EXEEXT) +iso9660_module_SOURCES = fs/iso9660.c ## platform sources +nodist_iso9660_module_SOURCES = ## platform nodist sources +iso9660_module_LDADD = +iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_iso9660_module_SOURCES) +CLEANFILES += $(nodist_iso9660_module_SOURCES) +MOD_FILES += iso9660.mod +MARKER_FILES += iso9660.marker +CLEANFILES += iso9660.marker + +iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += jfs.module +MODULE_FILES += jfs.module$(EXEEXT) +jfs_module_SOURCES = fs/jfs.c ## platform sources +nodist_jfs_module_SOURCES = ## platform nodist sources +jfs_module_LDADD = +jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jfs_module_SOURCES) +CLEANFILES += $(nodist_jfs_module_SOURCES) +MOD_FILES += jfs.mod +MARKER_FILES += jfs.marker +CLEANFILES += jfs.marker + +jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += minix.module +MODULE_FILES += minix.module$(EXEEXT) +minix_module_SOURCES = fs/minix.c ## platform sources +nodist_minix_module_SOURCES = ## platform nodist sources +minix_module_LDADD = +minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix_module_SOURCES) +CLEANFILES += $(nodist_minix_module_SOURCES) +MOD_FILES += minix.mod +MARKER_FILES += minix.marker +CLEANFILES += minix.marker + +minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += minix2.module +MODULE_FILES += minix2.module$(EXEEXT) +minix2_module_SOURCES = fs/minix2.c ## platform sources +nodist_minix2_module_SOURCES = ## platform nodist sources +minix2_module_LDADD = +minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_minix2_module_SOURCES) +CLEANFILES += $(nodist_minix2_module_SOURCES) +MOD_FILES += minix2.mod +MARKER_FILES += minix2.marker +CLEANFILES += minix2.marker + +minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += nilfs2.module +MODULE_FILES += nilfs2.module$(EXEEXT) +nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +nodist_nilfs2_module_SOURCES = ## platform nodist sources +nilfs2_module_LDADD = +nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_nilfs2_module_SOURCES) +CLEANFILES += $(nodist_nilfs2_module_SOURCES) +MOD_FILES += nilfs2.mod +MARKER_FILES += nilfs2.marker +CLEANFILES += nilfs2.marker + +nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ntfs.module +MODULE_FILES += ntfs.module$(EXEEXT) +ntfs_module_SOURCES = fs/ntfs.c ## platform sources +nodist_ntfs_module_SOURCES = ## platform nodist sources +ntfs_module_LDADD = +ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfs_module_SOURCES) +CLEANFILES += $(nodist_ntfs_module_SOURCES) +MOD_FILES += ntfs.mod +MARKER_FILES += ntfs.marker +CLEANFILES += ntfs.marker + +ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ntfscomp.module +MODULE_FILES += ntfscomp.module$(EXEEXT) +ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +nodist_ntfscomp_module_SOURCES = ## platform nodist sources +ntfscomp_module_LDADD = +ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntfscomp_module_SOURCES) +CLEANFILES += $(nodist_ntfscomp_module_SOURCES) +MOD_FILES += ntfscomp.mod +MARKER_FILES += ntfscomp.marker +CLEANFILES += ntfscomp.marker + +ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += reiserfs.module +MODULE_FILES += reiserfs.module$(EXEEXT) +reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +nodist_reiserfs_module_SOURCES = ## platform nodist sources +reiserfs_module_LDADD = +reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_reiserfs_module_SOURCES) +CLEANFILES += $(nodist_reiserfs_module_SOURCES) +MOD_FILES += reiserfs.mod +MARKER_FILES += reiserfs.marker +CLEANFILES += reiserfs.marker + +reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += sfs.module +MODULE_FILES += sfs.module$(EXEEXT) +sfs_module_SOURCES = fs/sfs.c ## platform sources +nodist_sfs_module_SOURCES = ## platform nodist sources +sfs_module_LDADD = +sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sfs_module_SOURCES) +CLEANFILES += $(nodist_sfs_module_SOURCES) +MOD_FILES += sfs.mod +MARKER_FILES += sfs.marker +CLEANFILES += sfs.marker + +sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += tar.module +MODULE_FILES += tar.module$(EXEEXT) +tar_module_SOURCES = fs/tar.c ## platform sources +nodist_tar_module_SOURCES = ## platform nodist sources +tar_module_LDADD = +tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tar_module_SOURCES) +CLEANFILES += $(nodist_tar_module_SOURCES) +MOD_FILES += tar.mod +MARKER_FILES += tar.marker +CLEANFILES += tar.marker + +tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += udf.module +MODULE_FILES += udf.module$(EXEEXT) +udf_module_SOURCES = fs/udf.c ## platform sources +nodist_udf_module_SOURCES = ## platform nodist sources +udf_module_LDADD = +udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_udf_module_SOURCES) +CLEANFILES += $(nodist_udf_module_SOURCES) +MOD_FILES += udf.mod +MARKER_FILES += udf.marker +CLEANFILES += udf.marker + +udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ufs1.module +MODULE_FILES += ufs1.module$(EXEEXT) +ufs1_module_SOURCES = fs/ufs.c ## platform sources +nodist_ufs1_module_SOURCES = ## platform nodist sources +ufs1_module_LDADD = +ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs1_module_SOURCES) +CLEANFILES += $(nodist_ufs1_module_SOURCES) +MOD_FILES += ufs1.mod +MARKER_FILES += ufs1.marker +CLEANFILES += ufs1.marker + +ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ufs2.module +MODULE_FILES += ufs2.module$(EXEEXT) +ufs2_module_SOURCES = fs/ufs2.c ## platform sources +nodist_ufs2_module_SOURCES = ## platform nodist sources +ufs2_module_LDADD = +ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ufs2_module_SOURCES) +CLEANFILES += $(nodist_ufs2_module_SOURCES) +MOD_FILES += ufs2.mod +MARKER_FILES += ufs2.marker +CLEANFILES += ufs2.marker + +ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += xfs.module +MODULE_FILES += xfs.module$(EXEEXT) +xfs_module_SOURCES = fs/xfs.c ## platform sources +nodist_xfs_module_SOURCES = ## platform nodist sources +xfs_module_LDADD = +xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xfs_module_SOURCES) +CLEANFILES += $(nodist_xfs_module_SOURCES) +MOD_FILES += xfs.mod +MARKER_FILES += xfs.marker +CLEANFILES += xfs.marker + +xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += zfs.module +MODULE_FILES += zfs.module$(EXEEXT) +zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +nodist_zfs_module_SOURCES = ## platform nodist sources +zfs_module_LDADD = +zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfs_module_SOURCES) +CLEANFILES += $(nodist_zfs_module_SOURCES) +MOD_FILES += zfs.mod +MARKER_FILES += zfs.marker +CLEANFILES += zfs.marker + +zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += zfsinfo.module +MODULE_FILES += zfsinfo.module$(EXEEXT) +zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +nodist_zfsinfo_module_SOURCES = ## platform nodist sources +zfsinfo_module_LDADD = +zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_zfsinfo_module_SOURCES) +CLEANFILES += $(nodist_zfsinfo_module_SOURCES) +MOD_FILES += zfsinfo.mod +MARKER_FILES += zfsinfo.marker +CLEANFILES += zfsinfo.marker + +zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += pxe.module +MODULE_FILES += pxe.module$(EXEEXT) +pxe_module_SOURCES = fs/i386/pc/pxe.c ## platform sources +nodist_pxe_module_SOURCES = ## platform nodist sources +pxe_module_LDADD = +pxe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pxe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pxe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pxe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pxe_module_SOURCES) +CLEANFILES += $(nodist_pxe_module_SOURCES) +MOD_FILES += pxe.mod +MARKER_FILES += pxe.marker +CLEANFILES += pxe.marker + +pxe.marker: $(pxe_module_SOURCES) $(nodist_pxe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gettext.module +MODULE_FILES += gettext.module$(EXEEXT) +gettext_module_SOURCES = gettext/gettext.c ## platform sources +nodist_gettext_module_SOURCES = ## platform nodist sources +gettext_module_LDADD = +gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gettext_module_SOURCES) +CLEANFILES += $(nodist_gettext_module_SOURCES) +MOD_FILES += gettext.mod +MARKER_FILES += gettext.marker +CLEANFILES += gettext.marker + +gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gfxmenu.module +MODULE_FILES += gfxmenu.module$(EXEEXT) +gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +nodist_gfxmenu_module_SOURCES = ## platform nodist sources +gfxmenu_module_LDADD = +gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxmenu_module_SOURCES) +CLEANFILES += $(nodist_gfxmenu_module_SOURCES) +MOD_FILES += gfxmenu.mod +MARKER_FILES += gfxmenu.marker +CLEANFILES += gfxmenu.marker + +gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += hello.module +MODULE_FILES += hello.module$(EXEEXT) +hello_module_SOURCES = hello/hello.c ## platform sources +nodist_hello_module_SOURCES = ## platform nodist sources +hello_module_LDADD = +hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_hello_module_SOURCES) +CLEANFILES += $(nodist_hello_module_SOURCES) +MOD_FILES += hello.mod +MARKER_FILES += hello.marker +CLEANFILES += hello.marker + +hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gzio.module +MODULE_FILES += gzio.module$(EXEEXT) +gzio_module_SOURCES = io/gzio.c ## platform sources +nodist_gzio_module_SOURCES = ## platform nodist sources +gzio_module_LDADD = +gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gzio_module_SOURCES) +CLEANFILES += $(nodist_gzio_module_SOURCES) +MOD_FILES += gzio.mod +MARKER_FILES += gzio.marker +CLEANFILES += gzio.marker + +gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += bufio.module +MODULE_FILES += bufio.module$(EXEEXT) +bufio_module_SOURCES = io/bufio.c ## platform sources +nodist_bufio_module_SOURCES = ## platform nodist sources +bufio_module_LDADD = +bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bufio_module_SOURCES) +CLEANFILES += $(nodist_bufio_module_SOURCES) +MOD_FILES += bufio.mod +MARKER_FILES += bufio.marker +CLEANFILES += bufio.marker + +bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += elf.module +MODULE_FILES += elf.module$(EXEEXT) +elf_module_SOURCES = kern/elf.c ## platform sources +nodist_elf_module_SOURCES = ## platform nodist sources +elf_module_LDADD = +elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_elf_module_SOURCES) +CLEANFILES += $(nodist_elf_module_SOURCES) +MOD_FILES += elf.mod +MARKER_FILES += elf.marker +CLEANFILES += elf.marker + +elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += crypto.module +MODULE_FILES += crypto.module$(EXEEXT) +crypto_module_SOURCES = lib/crypto.c ## platform sources +nodist_crypto_module_SOURCES = ## platform nodist sources +crypto_module_LDADD = +crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/libgcrypt-grub/cipher/crypto.lst +BUILT_SOURCES += $(nodist_crypto_module_SOURCES) +CLEANFILES += $(nodist_crypto_module_SOURCES) +MOD_FILES += crypto.mod +MARKER_FILES += crypto.marker +CLEANFILES += crypto.marker + +crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += pbkdf2.module +MODULE_FILES += pbkdf2.module$(EXEEXT) +pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +nodist_pbkdf2_module_SOURCES = ## platform nodist sources +pbkdf2_module_LDADD = +pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pbkdf2_module_SOURCES) +CLEANFILES += $(nodist_pbkdf2_module_SOURCES) +MOD_FILES += pbkdf2.mod +MARKER_FILES += pbkdf2.marker +CLEANFILES += pbkdf2.marker + +pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/efi/relocator.c lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/ieee1275/relocator.c lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/x86_64/relocator_asm.S lib/efi/relocator.c lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/mips/relocator_asm.S lib/mips/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += relocator.module +MODULE_FILES += relocator.module$(EXEEXT) +relocator_module_SOURCES = lib/powerpc/relocator_asm.S lib/powerpc/relocator.c lib/ieee1275/relocator.c lib/relocator.c ## platform sources +nodist_relocator_module_SOURCES = ## platform nodist sources +relocator_module_LDADD = +relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/relocator_common.S kern/powerpc/cache_flush.S +BUILT_SOURCES += $(nodist_relocator_module_SOURCES) +CLEANFILES += $(nodist_relocator_module_SOURCES) +MOD_FILES += relocator.mod +MARKER_FILES += relocator.marker +CLEANFILES += relocator.marker + +relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/efi/datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/efi/datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/ieee1275/datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += datetime.module +MODULE_FILES += datetime.module$(EXEEXT) +datetime_module_SOURCES = lib/ieee1275/datetime.c ## platform sources +nodist_datetime_module_SOURCES = ## platform nodist sources +datetime_module_LDADD = +datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datetime_module_SOURCES) +CLEANFILES += $(nodist_datetime_module_SOURCES) +MOD_FILES += datetime.mod +MARKER_FILES += datetime.marker +CLEANFILES += datetime.marker + +datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += setjmp.module +MODULE_FILES += setjmp.module$(EXEEXT) +setjmp_module_SOURCES = lib/setjmp.S ## platform sources +nodist_setjmp_module_SOURCES = ## platform nodist sources +setjmp_module_LDADD = +setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +BUILT_SOURCES += $(nodist_setjmp_module_SOURCES) +CLEANFILES += $(nodist_setjmp_module_SOURCES) +MOD_FILES += setjmp.mod +MARKER_FILES += setjmp.marker +CLEANFILES += setjmp.marker + +setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += aout.module +MODULE_FILES += aout.module$(EXEEXT) +aout_module_SOURCES = loader/aout.c ## platform sources +nodist_aout_module_SOURCES = ## platform nodist sources +aout_module_LDADD = +aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_aout_module_SOURCES) +CLEANFILES += $(nodist_aout_module_SOURCES) +MOD_FILES += aout.mod +MARKER_FILES += aout.marker +CLEANFILES += aout.marker + +aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += bsd.module +MODULE_FILES += bsd.module$(EXEEXT) +bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +nodist_bsd_module_SOURCES = ## platform nodist sources +bsd_module_LDADD = +bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +BUILT_SOURCES += $(nodist_bsd_module_SOURCES) +CLEANFILES += $(nodist_bsd_module_SOURCES) +MOD_FILES += bsd.mod +MARKER_FILES += bsd.marker +CLEANFILES += bsd.marker + +bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += linux16.module +MODULE_FILES += linux16.module$(EXEEXT) +linux16_module_SOURCES = loader/i386/pc/linux.c lib/cmdline.c ## platform sources +nodist_linux16_module_SOURCES = ## platform nodist sources +linux16_module_LDADD = +linux16_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux16_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux16_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux16_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux16_module_SOURCES) +CLEANFILES += $(nodist_linux16_module_SOURCES) +MOD_FILES += linux16.mod +MARKER_FILES += linux16.marker +CLEANFILES += linux16.marker + +linux16.marker: $(linux16_module_SOURCES) $(nodist_linux16_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += ntldr.module +MODULE_FILES += ntldr.module$(EXEEXT) +ntldr_module_SOURCES = loader/i386/pc/ntldr.c ## platform sources +nodist_ntldr_module_SOURCES = ## platform nodist sources +ntldr_module_LDADD = +ntldr_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ntldr_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ntldr_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ntldr_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ntldr_module_SOURCES) +CLEANFILES += $(nodist_ntldr_module_SOURCES) +MOD_FILES += ntldr.mod +MARKER_FILES += ntldr.marker +CLEANFILES += ntldr.marker + +ntldr.marker: $(ntldr_module_SOURCES) $(nodist_ntldr_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntldr_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += multiboot2.module +MODULE_FILES += multiboot2.module$(EXEEXT) +multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +nodist_multiboot2_module_SOURCES = ## platform nodist sources +multiboot2_module_LDADD = +multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_multiboot2_module_SOURCES) +CLEANFILES += $(nodist_multiboot2_module_SOURCES) +MOD_FILES += multiboot2.mod +MARKER_FILES += multiboot2.marker +CLEANFILES += multiboot2.marker + +multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += multiboot.module +MODULE_FILES += multiboot.module$(EXEEXT) +multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +nodist_multiboot_module_SOURCES = ## platform nodist sources +multiboot_module_LDADD = +multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/multiboot_elfxx.c +BUILT_SOURCES += $(nodist_multiboot_module_SOURCES) +CLEANFILES += $(nodist_multiboot_module_SOURCES) +MOD_FILES += multiboot.mod +MARKER_FILES += multiboot.marker +CLEANFILES += multiboot.marker + +multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = lib/i386/pc/vesa_modes_table.c loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/mips/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/sparc64/ieee1275/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += linux.module +MODULE_FILES += linux.module$(EXEEXT) +linux_module_SOURCES = loader/powerpc/ieee1275/linux.c lib/cmdline.c ## platform sources +nodist_linux_module_SOURCES = ## platform nodist sources +linux_module_LDADD = +linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_linux_module_SOURCES) +CLEANFILES += $(nodist_linux_module_SOURCES) +MOD_FILES += linux.mod +MARKER_FILES += linux.marker +CLEANFILES += linux.marker + +linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += xnu.module +MODULE_FILES += xnu.module$(EXEEXT) +xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +nodist_xnu_module_SOURCES = ## platform nodist sources +xnu_module_LDADD = +xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += loader/machoXX.c +BUILT_SOURCES += $(nodist_xnu_module_SOURCES) +CLEANFILES += $(nodist_xnu_module_SOURCES) +MOD_FILES += xnu.mod +MARKER_FILES += xnu.marker +CLEANFILES += xnu.marker + +xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += appleldr.module +MODULE_FILES += appleldr.module$(EXEEXT) +appleldr_module_SOURCES = loader/efi/appleloader.c ## platform sources +nodist_appleldr_module_SOURCES = ## platform nodist sources +appleldr_module_LDADD = +appleldr_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +appleldr_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +appleldr_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +appleldr_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_appleldr_module_SOURCES) +CLEANFILES += $(nodist_appleldr_module_SOURCES) +MOD_FILES += appleldr.mod +MARKER_FILES += appleldr.marker +CLEANFILES += appleldr.marker + +appleldr.marker: $(appleldr_module_SOURCES) $(nodist_appleldr_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += appleldr.module +MODULE_FILES += appleldr.module$(EXEEXT) +appleldr_module_SOURCES = loader/efi/appleloader.c ## platform sources +nodist_appleldr_module_SOURCES = ## platform nodist sources +appleldr_module_LDADD = +appleldr_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +appleldr_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +appleldr_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +appleldr_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_appleldr_module_SOURCES) +CLEANFILES += $(nodist_appleldr_module_SOURCES) +MOD_FILES += appleldr.mod +MARKER_FILES += appleldr.marker +CLEANFILES += appleldr.marker + +appleldr.marker: $(appleldr_module_SOURCES) $(nodist_appleldr_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += chain.module +MODULE_FILES += chain.module$(EXEEXT) +chain_module_SOURCES = loader/i386/pc/chainloader.c ## platform sources +nodist_chain_module_SOURCES = ## platform nodist sources +chain_module_LDADD = +chain_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +chain_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +chain_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +chain_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_chain_module_SOURCES) +CLEANFILES += $(nodist_chain_module_SOURCES) +MOD_FILES += chain.mod +MARKER_FILES += chain.marker +CLEANFILES += chain.marker + +chain.marker: $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += chain.module +MODULE_FILES += chain.module$(EXEEXT) +chain_module_SOURCES = loader/efi/chainloader.c ## platform sources +nodist_chain_module_SOURCES = ## platform nodist sources +chain_module_LDADD = +chain_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +chain_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +chain_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +chain_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_chain_module_SOURCES) +CLEANFILES += $(nodist_chain_module_SOURCES) +MOD_FILES += chain.mod +MARKER_FILES += chain.marker +CLEANFILES += chain.marker + +chain.marker: $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += chain.module +MODULE_FILES += chain.module$(EXEEXT) +chain_module_SOURCES = loader/efi/chainloader.c ## platform sources +nodist_chain_module_SOURCES = ## platform nodist sources +chain_module_LDADD = +chain_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +chain_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +chain_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +chain_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_chain_module_SOURCES) +CLEANFILES += $(nodist_chain_module_SOURCES) +MOD_FILES += chain.mod +MARKER_FILES += chain.marker +CLEANFILES += chain.marker + +chain.marker: $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/i386/pc/mmap.c mmap/i386/pc/mmap_helper.S mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/efi/mmap.c mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/efi/mmap.c mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += mmap.module +MODULE_FILES += mmap.module$(EXEEXT) +mmap_module_SOURCES = mmap/mips/yeeloong/uppermem.c mmap/mmap.c ## platform sources +nodist_mmap_module_SOURCES = ## platform nodist sources +mmap_module_LDADD = +mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_mmap_module_SOURCES) +CLEANFILES += $(nodist_mmap_module_SOURCES) +MOD_FILES += mmap.mod +MARKER_FILES += mmap.marker +CLEANFILES += mmap.marker + +mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += normal.module +MODULE_FILES += normal.module$(EXEEXT) +normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +normal_module_LDADD = +normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += script/yylex.l script/parser.y +BUILT_SOURCES += $(nodist_normal_module_SOURCES) +CLEANFILES += $(nodist_normal_module_SOURCES) +MOD_FILES += normal.mod +MARKER_FILES += normal.marker +CLEANFILES += normal.marker + +normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_acorn.module +MODULE_FILES += part_acorn.module$(EXEEXT) +part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +nodist_part_acorn_module_SOURCES = ## platform nodist sources +part_acorn_module_LDADD = +part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_acorn_module_SOURCES) +CLEANFILES += $(nodist_part_acorn_module_SOURCES) +MOD_FILES += part_acorn.mod +MARKER_FILES += part_acorn.marker +CLEANFILES += part_acorn.marker + +part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_amiga.module +MODULE_FILES += part_amiga.module$(EXEEXT) +part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +nodist_part_amiga_module_SOURCES = ## platform nodist sources +part_amiga_module_LDADD = +part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_amiga_module_SOURCES) +CLEANFILES += $(nodist_part_amiga_module_SOURCES) +MOD_FILES += part_amiga.mod +MARKER_FILES += part_amiga.marker +CLEANFILES += part_amiga.marker + +part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_apple.module +MODULE_FILES += part_apple.module$(EXEEXT) +part_apple_module_SOURCES = partmap/apple.c ## platform sources +nodist_part_apple_module_SOURCES = ## platform nodist sources +part_apple_module_LDADD = +part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_apple_module_SOURCES) +CLEANFILES += $(nodist_part_apple_module_SOURCES) +MOD_FILES += part_apple.mod +MARKER_FILES += part_apple.marker +CLEANFILES += part_apple.marker + +part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_gpt.module +MODULE_FILES += part_gpt.module$(EXEEXT) +part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +nodist_part_gpt_module_SOURCES = ## platform nodist sources +part_gpt_module_LDADD = +part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_gpt_module_SOURCES) +CLEANFILES += $(nodist_part_gpt_module_SOURCES) +MOD_FILES += part_gpt.mod +MARKER_FILES += part_gpt.marker +CLEANFILES += part_gpt.marker + +part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_msdos.module +MODULE_FILES += part_msdos.module$(EXEEXT) +part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +nodist_part_msdos_module_SOURCES = ## platform nodist sources +part_msdos_module_LDADD = +part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_msdos_module_SOURCES) +CLEANFILES += $(nodist_part_msdos_module_SOURCES) +MOD_FILES += part_msdos.mod +MARKER_FILES += part_msdos.marker +CLEANFILES += part_msdos.marker + +part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_sun.module +MODULE_FILES += part_sun.module$(EXEEXT) +part_sun_module_SOURCES = partmap/sun.c ## platform sources +nodist_part_sun_module_SOURCES = ## platform nodist sources +part_sun_module_LDADD = +part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sun_module_SOURCES) +CLEANFILES += $(nodist_part_sun_module_SOURCES) +MOD_FILES += part_sun.mod +MARKER_FILES += part_sun.marker +CLEANFILES += part_sun.marker + +part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_bsd.module +MODULE_FILES += part_bsd.module$(EXEEXT) +part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +nodist_part_bsd_module_SOURCES = ## platform nodist sources +part_bsd_module_LDADD = +part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_bsd_module_SOURCES) +CLEANFILES += $(nodist_part_bsd_module_SOURCES) +MOD_FILES += part_bsd.mod +MARKER_FILES += part_bsd.marker +CLEANFILES += part_bsd.marker + +part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += part_sunpc.module +MODULE_FILES += part_sunpc.module$(EXEEXT) +part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +nodist_part_sunpc_module_SOURCES = ## platform nodist sources +part_sunpc_module_LDADD = +part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_part_sunpc_module_SOURCES) +CLEANFILES += $(nodist_part_sunpc_module_SOURCES) +MOD_FILES += part_sunpc.mod +MARKER_FILES += part_sunpc.marker +CLEANFILES += part_sunpc.marker + +part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += msdospart.module +MODULE_FILES += msdospart.module$(EXEEXT) +msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +nodist_msdospart_module_SOURCES = ## platform nodist sources +msdospart_module_LDADD = +msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_msdospart_module_SOURCES) +CLEANFILES += $(nodist_msdospart_module_SOURCES) +MOD_FILES += msdospart.mod +MARKER_FILES += msdospart.marker +CLEANFILES += msdospart.marker + +msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += at_keyboard.module +MODULE_FILES += at_keyboard.module$(EXEEXT) +at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +nodist_at_keyboard_module_SOURCES = ## platform nodist sources +at_keyboard_module_LDADD = +at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_at_keyboard_module_SOURCES) +CLEANFILES += $(nodist_at_keyboard_module_SOURCES) +MOD_FILES += at_keyboard.mod +MARKER_FILES += at_keyboard.marker +CLEANFILES += at_keyboard.marker + +at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gfxterm.module +MODULE_FILES += gfxterm.module$(EXEEXT) +gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +nodist_gfxterm_module_SOURCES = ## platform nodist sources +gfxterm_module_LDADD = +gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gfxterm_module_SOURCES) +CLEANFILES += $(nodist_gfxterm_module_SOURCES) +MOD_FILES += gfxterm.mod +MARKER_FILES += gfxterm.marker +CLEANFILES += gfxterm.marker + +gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_USB +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_USB +endif + +if COND_i386_pc +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += serial.module +MODULE_FILES += serial.module$(EXEEXT) +serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +nodist_serial_module_SOURCES = ## platform nodist sources +serial_module_LDADD = +serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_serial_module_SOURCES) +CLEANFILES += $(nodist_serial_module_SOURCES) +MOD_FILES += serial.mod +MARKER_FILES += serial.marker +CLEANFILES += serial.marker + +serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += sendkey.module +MODULE_FILES += sendkey.module$(EXEEXT) +sendkey_module_SOURCES = commands/i386/pc/sendkey.c ## platform sources +nodist_sendkey_module_SOURCES = ## platform nodist sources +sendkey_module_LDADD = +sendkey_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sendkey_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sendkey_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sendkey_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sendkey_module_SOURCES) +CLEANFILES += $(nodist_sendkey_module_SOURCES) +MOD_FILES += sendkey.mod +MARKER_FILES += sendkey.marker +CLEANFILES += sendkey.marker + +sendkey.marker: $(sendkey_module_SOURCES) $(nodist_sendkey_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sendkey_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += terminfo.module +MODULE_FILES += terminfo.module$(EXEEXT) +terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +nodist_terminfo_module_SOURCES = ## platform nodist sources +terminfo_module_LDADD = +terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_terminfo_module_SOURCES) +CLEANFILES += $(nodist_terminfo_module_SOURCES) +MOD_FILES += terminfo.mod +MARKER_FILES += terminfo.marker +CLEANFILES += terminfo.marker + +terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += usb_keyboard.module +MODULE_FILES += usb_keyboard.module$(EXEEXT) +usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +usb_keyboard_module_LDADD = +usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_usb_keyboard_module_SOURCES) +CLEANFILES += $(nodist_usb_keyboard_module_SOURCES) +MOD_FILES += usb_keyboard.mod +MARKER_FILES += usb_keyboard.marker +CLEANFILES += usb_keyboard.marker + +usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += vga.module +MODULE_FILES += vga.module$(EXEEXT) +vga_module_SOURCES = video/i386/pc/vga.c ## platform sources +nodist_vga_module_SOURCES = ## platform nodist sources +vga_module_LDADD = +vga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +vga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +vga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +vga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_vga_module_SOURCES) +CLEANFILES += $(nodist_vga_module_SOURCES) +MOD_FILES += vga.mod +MARKER_FILES += vga.marker +CLEANFILES += vga.marker + +vga.marker: $(vga_module_SOURCES) $(nodist_vga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += vga_text.module +MODULE_FILES += vga_text.module$(EXEEXT) +vga_text_module_SOURCES = term/i386/pc/vga_text.c term/i386/vga_common.c ## platform sources +nodist_vga_text_module_SOURCES = ## platform nodist sources +vga_text_module_LDADD = +vga_text_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +vga_text_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +vga_text_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +vga_text_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_vga_text_module_SOURCES) +CLEANFILES += $(nodist_vga_text_module_SOURCES) +MOD_FILES += vga_text.mod +MARKER_FILES += vga_text.marker +CLEANFILES += vga_text.marker + +vga_text.marker: $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += vga_text.module +MODULE_FILES += vga_text.module$(EXEEXT) +vga_text_module_SOURCES = term/i386/pc/vga_text.c term/i386/vga_common.c ## platform sources +nodist_vga_text_module_SOURCES = ## platform nodist sources +vga_text_module_LDADD = +vga_text_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +vga_text_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +vga_text_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +vga_text_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_vga_text_module_SOURCES) +CLEANFILES += $(nodist_vga_text_module_SOURCES) +MOD_FILES += vga_text.mod +MARKER_FILES += vga_text.marker +CLEANFILES += vga_text.marker + +vga_text.marker: $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += vga_text.module +MODULE_FILES += vga_text.module$(EXEEXT) +vga_text_module_SOURCES = term/i386/pc/vga_text.c term/i386/vga_common.c ## platform sources +nodist_vga_text_module_SOURCES = ## platform nodist sources +vga_text_module_LDADD = +vga_text_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +vga_text_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +vga_text_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +vga_text_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_vga_text_module_SOURCES) +CLEANFILES += $(nodist_vga_text_module_SOURCES) +MOD_FILES += vga_text.mod +MARKER_FILES += vga_text.marker +CLEANFILES += vga_text.marker + +vga_text.marker: $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += video_cirrus.module +MODULE_FILES += video_cirrus.module$(EXEEXT) +video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +nodist_video_cirrus_module_SOURCES = ## platform nodist sources +video_cirrus_module_LDADD = +video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_cirrus_module_SOURCES) +CLEANFILES += $(nodist_video_cirrus_module_SOURCES) +MOD_FILES += video_cirrus.mod +MARKER_FILES += video_cirrus.marker +CLEANFILES += video_cirrus.marker + +video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += video_bochs.module +MODULE_FILES += video_bochs.module$(EXEEXT) +video_bochs_module_SOURCES = video/bochs.c ## platform sources +nodist_video_bochs_module_SOURCES = ## platform nodist sources +video_bochs_module_LDADD = +video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_bochs_module_SOURCES) +CLEANFILES += $(nodist_video_bochs_module_SOURCES) +MOD_FILES += video_bochs.mod +MARKER_FILES += video_bochs.marker +CLEANFILES += video_bochs.marker + +video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += functional_test.module +MODULE_FILES += functional_test.module$(EXEEXT) +functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +nodist_functional_test_module_SOURCES = ## platform nodist sources +functional_test_module_LDADD = +functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_functional_test_module_SOURCES) +CLEANFILES += $(nodist_functional_test_module_SOURCES) +MOD_FILES += functional_test.mod +MARKER_FILES += functional_test.marker +CLEANFILES += functional_test.marker + +functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += example_functional_test.module +MODULE_FILES += example_functional_test.module$(EXEEXT) +example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +nodist_example_functional_test_module_SOURCES = ## platform nodist sources +example_functional_test_module_LDADD = +example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_example_functional_test_module_SOURCES) +CLEANFILES += $(nodist_example_functional_test_module_SOURCES) +MOD_FILES += example_functional_test.mod +MARKER_FILES += example_functional_test.marker +CLEANFILES += example_functional_test.marker + +example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += bitmap.module +MODULE_FILES += bitmap.module$(EXEEXT) +bitmap_module_SOURCES = video/bitmap.c ## platform sources +nodist_bitmap_module_SOURCES = ## platform nodist sources +bitmap_module_LDADD = +bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_module_SOURCES) +CLEANFILES += $(nodist_bitmap_module_SOURCES) +MOD_FILES += bitmap.mod +MARKER_FILES += bitmap.marker +CLEANFILES += bitmap.marker + +bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += bitmap_scale.module +MODULE_FILES += bitmap_scale.module$(EXEEXT) +bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +bitmap_scale_module_LDADD = +bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_bitmap_scale_module_SOURCES) +CLEANFILES += $(nodist_bitmap_scale_module_SOURCES) +MOD_FILES += bitmap_scale.mod +MARKER_FILES += bitmap_scale.marker +CLEANFILES += bitmap_scale.marker + +bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += efi_gop.module +MODULE_FILES += efi_gop.module$(EXEEXT) +efi_gop_module_SOURCES = video/efi_gop.c ## platform sources +nodist_efi_gop_module_SOURCES = ## platform nodist sources +efi_gop_module_LDADD = +efi_gop_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efi_gop_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efi_gop_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efi_gop_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_efi_gop_module_SOURCES) +CLEANFILES += $(nodist_efi_gop_module_SOURCES) +MOD_FILES += efi_gop.mod +MARKER_FILES += efi_gop.marker +CLEANFILES += efi_gop.marker + +efi_gop.marker: $(efi_gop_module_SOURCES) $(nodist_efi_gop_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += efi_gop.module +MODULE_FILES += efi_gop.module$(EXEEXT) +efi_gop_module_SOURCES = video/efi_gop.c ## platform sources +nodist_efi_gop_module_SOURCES = ## platform nodist sources +efi_gop_module_LDADD = +efi_gop_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efi_gop_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efi_gop_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efi_gop_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_efi_gop_module_SOURCES) +CLEANFILES += $(nodist_efi_gop_module_SOURCES) +MOD_FILES += efi_gop.mod +MARKER_FILES += efi_gop.marker +CLEANFILES += efi_gop.marker + +efi_gop.marker: $(efi_gop_module_SOURCES) $(nodist_efi_gop_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += efi_uga.module +MODULE_FILES += efi_uga.module$(EXEEXT) +efi_uga_module_SOURCES = video/efi_uga.c ## platform sources +nodist_efi_uga_module_SOURCES = ## platform nodist sources +efi_uga_module_LDADD = +efi_uga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efi_uga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efi_uga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efi_uga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_efi_uga_module_SOURCES) +CLEANFILES += $(nodist_efi_uga_module_SOURCES) +MOD_FILES += efi_uga.mod +MARKER_FILES += efi_uga.marker +CLEANFILES += efi_uga.marker + +efi_uga.marker: $(efi_uga_module_SOURCES) $(nodist_efi_uga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += efi_uga.module +MODULE_FILES += efi_uga.module$(EXEEXT) +efi_uga_module_SOURCES = video/efi_uga.c ## platform sources +nodist_efi_uga_module_SOURCES = ## platform nodist sources +efi_uga_module_LDADD = +efi_uga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +efi_uga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +efi_uga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +efi_uga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_efi_uga_module_SOURCES) +CLEANFILES += $(nodist_efi_uga_module_SOURCES) +MOD_FILES += efi_uga.mod +MARKER_FILES += efi_uga.marker +CLEANFILES += efi_uga.marker + +efi_uga.marker: $(efi_uga_module_SOURCES) $(nodist_efi_uga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += jpeg.module +MODULE_FILES += jpeg.module$(EXEEXT) +jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +nodist_jpeg_module_SOURCES = ## platform nodist sources +jpeg_module_LDADD = +jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_jpeg_module_SOURCES) +CLEANFILES += $(nodist_jpeg_module_SOURCES) +MOD_FILES += jpeg.mod +MARKER_FILES += jpeg.marker +CLEANFILES += jpeg.marker + +jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += png.module +MODULE_FILES += png.module$(EXEEXT) +png_module_SOURCES = video/readers/png.c ## platform sources +nodist_png_module_SOURCES = ## platform nodist sources +png_module_LDADD = +png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_png_module_SOURCES) +CLEANFILES += $(nodist_png_module_SOURCES) +MOD_FILES += png.mod +MARKER_FILES += png.marker +CLEANFILES += png.marker + +png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += tga.module +MODULE_FILES += tga.module$(EXEEXT) +tga_module_SOURCES = video/readers/tga.c ## platform sources +nodist_tga_module_SOURCES = ## platform nodist sources +tga_module_LDADD = +tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_tga_module_SOURCES) +CLEANFILES += $(nodist_tga_module_SOURCES) +MOD_FILES += tga.mod +MARKER_FILES += tga.marker +CLEANFILES += tga.marker + +tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += vbe.module +MODULE_FILES += vbe.module$(EXEEXT) +vbe_module_SOURCES = video/i386/pc/vbe.c ## platform sources +nodist_vbe_module_SOURCES = ## platform nodist sources +vbe_module_LDADD = +vbe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +vbe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +vbe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +vbe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_vbe_module_SOURCES) +CLEANFILES += $(nodist_vbe_module_SOURCES) +MOD_FILES += vbe.mod +MARKER_FILES += vbe.marker +CLEANFILES += vbe.marker + +vbe.marker: $(vbe_module_SOURCES) $(nodist_vbe_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vbe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += video_fb.module +MODULE_FILES += video_fb.module$(EXEEXT) +video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +nodist_video_fb_module_SOURCES = ## platform nodist sources +video_fb_module_LDADD = +video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_fb_module_SOURCES) +CLEANFILES += $(nodist_video_fb_module_SOURCES) +MOD_FILES += video_fb.mod +MARKER_FILES += video_fb.marker +CLEANFILES += video_fb.marker + +video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += video.module +MODULE_FILES += video.module$(EXEEXT) +video_module_SOURCES = video/video.c ## platform sources +nodist_video_module_SOURCES = ## platform nodist sources +video_module_LDADD = +video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_video_module_SOURCES) +CLEANFILES += $(nodist_video_module_SOURCES) +MOD_FILES += video.mod +MARKER_FILES += video.marker +CLEANFILES += video.marker + +video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += ieee1275_fb.module +MODULE_FILES += ieee1275_fb.module$(EXEEXT) +ieee1275_fb_module_SOURCES = video/ieee1275.c ## platform sources +nodist_ieee1275_fb_module_SOURCES = ## platform nodist sources +ieee1275_fb_module_LDADD = +ieee1275_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +ieee1275_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +ieee1275_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +ieee1275_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_ieee1275_fb_module_SOURCES) +CLEANFILES += $(nodist_ieee1275_fb_module_SOURCES) +MOD_FILES += ieee1275_fb.mod +MARKER_FILES += ieee1275_fb.marker +CLEANFILES += ieee1275_fb.marker + +ieee1275_fb.marker: $(ieee1275_fb_module_SOURCES) $(nodist_ieee1275_fb_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ieee1275_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +if COND_GRUB_EMU_SDL +noinst_PROGRAMS += sdl.module +MODULE_FILES += sdl.module$(EXEEXT) +sdl_module_SOURCES = video/emu/sdl.c ## platform sources +nodist_sdl_module_SOURCES = ## platform nodist sources +sdl_module_LDADD = +sdl_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +sdl_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +sdl_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +sdl_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_sdl_module_SOURCES) +CLEANFILES += $(nodist_sdl_module_SOURCES) +MOD_FILES += sdl.mod +MARKER_FILES += sdl.marker +CLEANFILES += sdl.marker + +sdl.marker: $(sdl_module_SOURCES) $(nodist_sdl_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sdl_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif COND_GRUB_EMU_SDL +endif + +if COND_emu +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += datehook.module +MODULE_FILES += datehook.module$(EXEEXT) +datehook_module_SOURCES = hook/datehook.c ## platform sources +nodist_datehook_module_SOURCES = ## platform nodist sources +datehook_module_LDADD = +datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_datehook_module_SOURCES) +CLEANFILES += $(nodist_datehook_module_SOURCES) +MOD_FILES += datehook.mod +MARKER_FILES += datehook.marker +CLEANFILES += datehook.marker + +datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += legacycfg.module +MODULE_FILES += legacycfg.module$(EXEEXT) +legacycfg_module_SOURCES = lib/i386/pc/vesa_modes_table.c commands/legacycfg.c lib/legacy_parse.c ## platform sources +nodist_legacycfg_module_SOURCES = ## platform nodist sources +legacycfg_module_LDADD = +legacycfg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +legacycfg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +legacycfg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +legacycfg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_legacycfg_module_SOURCES) +CLEANFILES += $(nodist_legacycfg_module_SOURCES) +MOD_FILES += legacycfg.mod +MARKER_FILES += legacycfg.marker +CLEANFILES += legacycfg.marker + +legacycfg.marker: $(legacycfg_module_SOURCES) $(nodist_legacycfg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += legacycfg.module +MODULE_FILES += legacycfg.module$(EXEEXT) +legacycfg_module_SOURCES = commands/legacycfg.c lib/legacy_parse.c ## platform sources +nodist_legacycfg_module_SOURCES = ## platform nodist sources +legacycfg_module_LDADD = +legacycfg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +legacycfg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +legacycfg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +legacycfg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_legacycfg_module_SOURCES) +CLEANFILES += $(nodist_legacycfg_module_SOURCES) +MOD_FILES += legacycfg.mod +MARKER_FILES += legacycfg.marker +CLEANFILES += legacycfg.marker + +legacycfg.marker: $(legacycfg_module_SOURCES) $(nodist_legacycfg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += test_blockarg.module +MODULE_FILES += test_blockarg.module$(EXEEXT) +test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +nodist_test_blockarg_module_SOURCES = ## platform nodist sources +test_blockarg_module_LDADD = +test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_test_blockarg_module_SOURCES) +CLEANFILES += $(nodist_test_blockarg_module_SOURCES) +MOD_FILES += test_blockarg.mod +MARKER_FILES += test_blockarg.marker +CLEANFILES += test_blockarg.marker + +test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += xzio.module +MODULE_FILES += xzio.module$(EXEEXT) +xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +nodist_xzio_module_SOURCES = ## platform nodist sources +xzio_module_LDADD = +xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xzio_module_SOURCES) +CLEANFILES += $(nodist_xzio_module_SOURCES) +MOD_FILES += xzio.mod +MARKER_FILES += xzio.marker +CLEANFILES += xzio.marker + +xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += testload.module +MODULE_FILES += testload.module$(EXEEXT) +testload_module_SOURCES = commands/testload.c ## platform sources +nodist_testload_module_SOURCES = ## platform nodist sources +testload_module_LDADD = +testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_testload_module_SOURCES) +CLEANFILES += $(nodist_testload_module_SOURCES) +MOD_FILES += testload.mod +MARKER_FILES += testload.marker +CLEANFILES += testload.marker + +testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += lsapm.module +MODULE_FILES += lsapm.module$(EXEEXT) +lsapm_module_SOURCES = commands/i386/pc/lsapm.c ## platform sources +nodist_lsapm_module_SOURCES = ## platform nodist sources +lsapm_module_LDADD = +lsapm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +lsapm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +lsapm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +lsapm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lsapm_module_SOURCES) +CLEANFILES += $(nodist_lsapm_module_SOURCES) +MOD_FILES += lsapm.mod +MARKER_FILES += lsapm.marker +CLEANFILES += lsapm.marker + +lsapm.marker: $(lsapm_module_SOURCES) $(nodist_lsapm_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsapm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += keylayouts.module +MODULE_FILES += keylayouts.module$(EXEEXT) +keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +nodist_keylayouts_module_SOURCES = ## platform nodist sources +keylayouts_module_LDADD = +keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_keylayouts_module_SOURCES) +CLEANFILES += $(nodist_keylayouts_module_SOURCES) +MOD_FILES += keylayouts.mod +MARKER_FILES += keylayouts.marker +CLEANFILES += keylayouts.marker + +keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_arcfour.module +MODULE_FILES += gcry_arcfour.module$(EXEEXT) +gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +gcry_arcfour_module_LDADD = +gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_arcfour_module_SOURCES) +CLEANFILES += $(nodist_gcry_arcfour_module_SOURCES) +MOD_FILES += gcry_arcfour.mod +MARKER_FILES += gcry_arcfour.marker +CLEANFILES += gcry_arcfour.marker + +gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_blowfish.module +MODULE_FILES += gcry_blowfish.module$(EXEEXT) +gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +gcry_blowfish_module_LDADD = +gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_blowfish_module_SOURCES) +CLEANFILES += $(nodist_gcry_blowfish_module_SOURCES) +MOD_FILES += gcry_blowfish.mod +MARKER_FILES += gcry_blowfish.marker +CLEANFILES += gcry_blowfish.marker + +gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_camellia.module +MODULE_FILES += gcry_camellia.module$(EXEEXT) +gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +gcry_camellia_module_LDADD = +gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_camellia_module_SOURCES) +CLEANFILES += $(nodist_gcry_camellia_module_SOURCES) +MOD_FILES += gcry_camellia.mod +MARKER_FILES += gcry_camellia.marker +CLEANFILES += gcry_camellia.marker + +gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_cast5.module +MODULE_FILES += gcry_cast5.module$(EXEEXT) +gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +gcry_cast5_module_LDADD = +gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_cast5_module_SOURCES) +CLEANFILES += $(nodist_gcry_cast5_module_SOURCES) +MOD_FILES += gcry_cast5.mod +MARKER_FILES += gcry_cast5.marker +CLEANFILES += gcry_cast5.marker + +gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_crc.module +MODULE_FILES += gcry_crc.module$(EXEEXT) +gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +nodist_gcry_crc_module_SOURCES = ## platform nodist sources +gcry_crc_module_LDADD = +gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_crc_module_SOURCES) +CLEANFILES += $(nodist_gcry_crc_module_SOURCES) +MOD_FILES += gcry_crc.mod +MARKER_FILES += gcry_crc.marker +CLEANFILES += gcry_crc.marker + +gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_des.module +MODULE_FILES += gcry_des.module$(EXEEXT) +gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +nodist_gcry_des_module_SOURCES = ## platform nodist sources +gcry_des_module_LDADD = +gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_des_module_SOURCES) +CLEANFILES += $(nodist_gcry_des_module_SOURCES) +MOD_FILES += gcry_des.mod +MARKER_FILES += gcry_des.marker +CLEANFILES += gcry_des.marker + +gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_md4.module +MODULE_FILES += gcry_md4.module$(EXEEXT) +gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +nodist_gcry_md4_module_SOURCES = ## platform nodist sources +gcry_md4_module_LDADD = +gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md4_module_SOURCES) +CLEANFILES += $(nodist_gcry_md4_module_SOURCES) +MOD_FILES += gcry_md4.mod +MARKER_FILES += gcry_md4.marker +CLEANFILES += gcry_md4.marker + +gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_md5.module +MODULE_FILES += gcry_md5.module$(EXEEXT) +gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +nodist_gcry_md5_module_SOURCES = ## platform nodist sources +gcry_md5_module_LDADD = +gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_md5_module_SOURCES) +CLEANFILES += $(nodist_gcry_md5_module_SOURCES) +MOD_FILES += gcry_md5.mod +MARKER_FILES += gcry_md5.marker +CLEANFILES += gcry_md5.marker + +gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_rfc2268.module +MODULE_FILES += gcry_rfc2268.module$(EXEEXT) +gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +gcry_rfc2268_module_LDADD = +gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rfc2268_module_SOURCES) +CLEANFILES += $(nodist_gcry_rfc2268_module_SOURCES) +MOD_FILES += gcry_rfc2268.mod +MARKER_FILES += gcry_rfc2268.marker +CLEANFILES += gcry_rfc2268.marker + +gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_rijndael.module +MODULE_FILES += gcry_rijndael.module$(EXEEXT) +gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +gcry_rijndael_module_LDADD = +gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rijndael_module_SOURCES) +CLEANFILES += $(nodist_gcry_rijndael_module_SOURCES) +MOD_FILES += gcry_rijndael.mod +MARKER_FILES += gcry_rijndael.marker +CLEANFILES += gcry_rijndael.marker + +gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_rmd160.module +MODULE_FILES += gcry_rmd160.module$(EXEEXT) +gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +gcry_rmd160_module_LDADD = +gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_rmd160_module_SOURCES) +CLEANFILES += $(nodist_gcry_rmd160_module_SOURCES) +MOD_FILES += gcry_rmd160.mod +MARKER_FILES += gcry_rmd160.marker +CLEANFILES += gcry_rmd160.marker + +gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_seed.module +MODULE_FILES += gcry_seed.module$(EXEEXT) +gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +nodist_gcry_seed_module_SOURCES = ## platform nodist sources +gcry_seed_module_LDADD = +gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_seed_module_SOURCES) +CLEANFILES += $(nodist_gcry_seed_module_SOURCES) +MOD_FILES += gcry_seed.mod +MARKER_FILES += gcry_seed.marker +CLEANFILES += gcry_seed.marker + +gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_serpent.module +MODULE_FILES += gcry_serpent.module$(EXEEXT) +gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +gcry_serpent_module_LDADD = +gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_serpent_module_SOURCES) +CLEANFILES += $(nodist_gcry_serpent_module_SOURCES) +MOD_FILES += gcry_serpent.mod +MARKER_FILES += gcry_serpent.marker +CLEANFILES += gcry_serpent.marker + +gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_sha1.module +MODULE_FILES += gcry_sha1.module$(EXEEXT) +gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +gcry_sha1_module_LDADD = +gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha1_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha1_module_SOURCES) +MOD_FILES += gcry_sha1.mod +MARKER_FILES += gcry_sha1.marker +CLEANFILES += gcry_sha1.marker + +gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_sha256.module +MODULE_FILES += gcry_sha256.module$(EXEEXT) +gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +gcry_sha256_module_LDADD = +gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha256_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha256_module_SOURCES) +MOD_FILES += gcry_sha256.mod +MARKER_FILES += gcry_sha256.marker +CLEANFILES += gcry_sha256.marker + +gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_sha512.module +MODULE_FILES += gcry_sha512.module$(EXEEXT) +gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +gcry_sha512_module_LDADD = +gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_sha512_module_SOURCES) +CLEANFILES += $(nodist_gcry_sha512_module_SOURCES) +MOD_FILES += gcry_sha512.mod +MARKER_FILES += gcry_sha512.marker +CLEANFILES += gcry_sha512.marker + +gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_tiger.module +MODULE_FILES += gcry_tiger.module$(EXEEXT) +gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +gcry_tiger_module_LDADD = +gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_tiger_module_SOURCES) +CLEANFILES += $(nodist_gcry_tiger_module_SOURCES) +MOD_FILES += gcry_tiger.mod +MARKER_FILES += gcry_tiger.marker +CLEANFILES += gcry_tiger.marker + +gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_twofish.module +MODULE_FILES += gcry_twofish.module$(EXEEXT) +gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +gcry_twofish_module_LDADD = +gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_twofish_module_SOURCES) +CLEANFILES += $(nodist_gcry_twofish_module_SOURCES) +MOD_FILES += gcry_twofish.mod +MARKER_FILES += gcry_twofish.marker +CLEANFILES += gcry_twofish.marker + +gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_pc +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_efi +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_qemu +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_coreboot +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_multiboot +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_x86_64_efi +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += gcry_whirlpool.module +MODULE_FILES += gcry_whirlpool.module$(EXEEXT) +gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +gcry_whirlpool_module_LDADD = +gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_gcry_whirlpool_module_SOURCES) +CLEANFILES += $(nodist_gcry_whirlpool_module_SOURCES) +MOD_FILES += gcry_whirlpool.mod +MARKER_FILES += gcry_whirlpool.marker +CLEANFILES += gcry_whirlpool.marker + +gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) + $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) + grep 'MARKER' $@.new > $@; rm -f $@.new +endif + +if COND_emu +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = +kernel_exec_SOURCES += disk/host.c gnulib/progname.c gnulib/error.c kern/emu/cache.S kern/emu/console.c kern/emu/getroot.c kern/emu/hostdisk.c kern/emu/hostfs.c kern/emu/main.c kern/emu/misc.c kern/emu/mm.c kern/emu/time.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) $(CFLAGS_GNULIB) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-r,-d +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS_GNULIB) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + cp $< $@ +endif + +if COND_i386_pc +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/i386/pc/startup.S +kernel_exec_SOURCES += kern/generic/rtc_get_time_ms.c term/i386/vga_common.c kern/i386/pc/init.c kern/i386/pc/mmap.c kern/i386/tsc.c term/i386/pc/console.c kern/i386/dl.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_i386_efi +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/i386/efi/startup.S +kernel_exec_SOURCES += kern/i386/tsc.c kern/generic/rtc_get_time_ms.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c kern/i386/efi/init.c term/efi/console.c kern/i386/dl.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-r,-d +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) --strip-unneeded -K start -R .note -R .comment +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_i386_qemu +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/i386/qemu/startup.S +kernel_exec_SOURCES += kern/generic/rtc_get_time_ms.c bus/pci.c kern/i386/qemu/init.c kern/i386/qemu/mmap.c kern/i386/tsc.c kern/i386/coreboot/init.c term/i386/pc/vga_text.c term/i386/vga_common.c kern/i386/dl.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) -DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_i386_coreboot +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/i386/coreboot/startup.S +kernel_exec_SOURCES += kern/generic/rtc_get_time_ms.c kern/i386/coreboot/mmap.c kern/i386/tsc.c kern/i386/coreboot/init.c term/i386/pc/vga_text.c term/i386/vga_common.c kern/i386/dl.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext=0x8200 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_i386_multiboot +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/i386/coreboot/startup.S +kernel_exec_SOURCES += kern/generic/rtc_get_time_ms.c kern/i386/multiboot_mmap.c kern/i386/tsc.c kern/i386/coreboot/init.c term/i386/pc/vga_text.c term/i386/vga_common.c kern/i386/dl.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext=0x8200 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_i386_ieee1275 +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/i386/ieee1275/startup.S +kernel_exec_SOURCES += kern/ieee1275/init.c disk/ieee1275/ofdisk.c kern/ieee1275/cmain.c kern/ieee1275/ieee1275.c kern/ieee1275/mmap.c kern/ieee1275/openfw.c term/ieee1275/ofconsole.c term/terminfo.c term/tparm.c commands/extcmd.c lib/arg.c kern/i386/dl.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext=0x10000 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_x86_64_efi +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/x86_64/efi/startup.S +kernel_exec_SOURCES += kern/i386/tsc.c kern/x86_64/dl.c kern/x86_64/efi/callwrap.S kern/generic/rtc_get_time_ms.c disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c kern/i386/efi/init.c term/efi/console.c kern/i386/pit.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-r,-d +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) --strip-unneeded -K start -R .note -R .comment +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/mips/startup.S +kernel_exec_SOURCES += kern/generic/rtc_get_time_ms.c term/ns8250.c bus/bonito.c bus/cs5536.c bus/pci.c kern/mips/cache.S kern/mips/dl.c kern/mips/init.c kern/mips/yeeloong/init.c term/at_keyboard.c term/serial.c video/sm712.c commands/keylayouts.c term/gfxterm.c font/font.c font/font_cmd.c io/bufio.c video/bitmap.c video/bitmap_scale.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c video/fb/video_fb.c video/video.c commands/boot.c term/terminfo.c term/tparm.c commands/extcmd.c lib/arg.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext,0x80200000 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) -DUSE_ASCII_FAILBACK +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/sparc64/ieee1275/crt0.S +kernel_exec_SOURCES += kern/sparc64/cache.S kern/sparc64/dl.c kern/sparc64/ieee1275/ieee1275.c kern/sparc64/ieee1275/init.c disk/ieee1275/ofdisk.c kern/ieee1275/cmain.c kern/ieee1275/ieee1275.c kern/ieee1275/mmap.c kern/ieee1275/openfw.c term/ieee1275/ofconsole.c term/terminfo.c term/tparm.c commands/extcmd.c lib/arg.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext,0x4400 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_powerpc_ieee1275 +noinst_PROGRAMS += kernel.exec +kernel_exec_SOURCES = kern/powerpc/ieee1275/startup.S +kernel_exec_SOURCES += kern/ieee1275/init.c kern/powerpc/cache.S kern/powerpc/dl.c disk/ieee1275/ofdisk.c kern/ieee1275/cmain.c kern/ieee1275/ieee1275.c kern/ieee1275/mmap.c kern/ieee1275/openfw.c term/ieee1275/ofconsole.c term/terminfo.c term/tparm.c commands/extcmd.c lib/arg.c kern/mm.c kern/time.c kern/generic/millisleep.c kern/command.c kern/corecmd.c kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c kern/list.c kern/main.c kern/misc.c kern/parser.c kern/partition.c kern/rescue_parser.c kern/rescue_reader.c kern/term.c +nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +kernel_exec_LDADD = $(LDADD_KERNEL) +kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext,0x200000 +kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +EXTRA_DIST += video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +BUILT_SOURCES += $(nodist_kernel_exec_SOURCES) +CLEANFILES += $(nodist_kernel_exec_SOURCES) +platform_DATA += kernel.img +CLEANFILES += kernel.img + +kernel.img: kernel.exec$(EXEEXT) + $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< +endif + +if COND_i386_pc +noinst_PROGRAMS += boot.image +boot_image_SOURCES = boot/i386/pc/boot.S +nodist_boot_image_SOURCES = ## platform nodist sources +boot_image_LDADD = +boot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +boot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x7C00 +boot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +boot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +boot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_image_SOURCES) +CLEANFILES += $(nodist_boot_image_SOURCES) +platform_DATA += boot.img +CLEANFILES += boot.img + +boot.img: boot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(boot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_i386_qemu +noinst_PROGRAMS += boot.image +boot_image_SOURCES = boot/i386/qemu/boot.S +nodist_boot_image_SOURCES = ## platform nodist sources +boot_image_LDADD = +boot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +boot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR) +boot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +boot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) -DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR) +boot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_image_SOURCES) +CLEANFILES += $(nodist_boot_image_SOURCES) +platform_DATA += boot.img +CLEANFILES += boot.img + +boot.img: boot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(boot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += boot.image +boot_image_SOURCES = boot/sparc64/ieee1275/boot.S +nodist_boot_image_SOURCES = ## platform nodist sources +boot_image_LDADD = +boot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +boot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -Wl,-Ttext=0x4000 +boot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +boot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +boot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O a.out-sunos-big +EXTRA_DIST += +BUILT_SOURCES += $(nodist_boot_image_SOURCES) +CLEANFILES += $(nodist_boot_image_SOURCES) +platform_DATA += boot.img +CLEANFILES += boot.img + +boot.img: boot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(boot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_i386_pc +noinst_PROGRAMS += cdboot.image +cdboot_image_SOURCES = boot/i386/pc/cdboot.S +nodist_cdboot_image_SOURCES = ## platform nodist sources +cdboot_image_LDADD = +cdboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +cdboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x7C00 +cdboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +cdboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +cdboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_cdboot_image_SOURCES) +CLEANFILES += $(nodist_cdboot_image_SOURCES) +platform_DATA += cdboot.img +CLEANFILES += cdboot.img + +cdboot.img: cdboot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(cdboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_i386_pc +noinst_PROGRAMS += pxeboot.image +pxeboot_image_SOURCES = boot/i386/pc/pxeboot.S +nodist_pxeboot_image_SOURCES = ## platform nodist sources +pxeboot_image_LDADD = +pxeboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +pxeboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x7C00 +pxeboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +pxeboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +pxeboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_pxeboot_image_SOURCES) +CLEANFILES += $(nodist_pxeboot_image_SOURCES) +platform_DATA += pxeboot.img +CLEANFILES += pxeboot.img + +pxeboot.img: pxeboot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(pxeboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_i386_pc +noinst_PROGRAMS += diskboot.image +diskboot_image_SOURCES = boot/i386/pc/diskboot.S +nodist_diskboot_image_SOURCES = ## platform nodist sources +diskboot_image_LDADD = +diskboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +diskboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8000 +diskboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +diskboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +diskboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_diskboot_image_SOURCES) +CLEANFILES += $(nodist_diskboot_image_SOURCES) +platform_DATA += diskboot.img +CLEANFILES += diskboot.img + +diskboot.img: diskboot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(diskboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_sparc64_ieee1275 +noinst_PROGRAMS += diskboot.image +diskboot_image_SOURCES = boot/sparc64/ieee1275/diskboot.S +nodist_diskboot_image_SOURCES = ## platform nodist sources +diskboot_image_LDADD = +diskboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +diskboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -Wl,-Ttext=0x4200 +diskboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +diskboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +diskboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_diskboot_image_SOURCES) +CLEANFILES += $(nodist_diskboot_image_SOURCES) +platform_DATA += diskboot.img +CLEANFILES += diskboot.img + +diskboot.img: diskboot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(diskboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_i386_pc +noinst_PROGRAMS += lnxboot.image +lnxboot_image_SOURCES = boot/i386/pc/lnxboot.S +nodist_lnxboot_image_SOURCES = ## platform nodist sources +lnxboot_image_LDADD = +lnxboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +lnxboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x6000 +lnxboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +lnxboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +lnxboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_lnxboot_image_SOURCES) +CLEANFILES += $(nodist_lnxboot_image_SOURCES) +platform_DATA += lnxboot.img +CLEANFILES += lnxboot.img + +lnxboot.img: lnxboot.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(lnxboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += xz_decompress.image +xz_decompress_image_SOURCES = boot/mips/startup_raw.S boot/decompressor/minilib.c boot/decompressor/xz.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c +nodist_xz_decompress_image_SOURCES = ## platform nodist sources +xz_decompress_image_LDADD = -lgcc +xz_decompress_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) -static-libgcc +xz_decompress_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -static-libgcc -Wl,-Ttext,0x80100000 +xz_decompress_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000 +xz_decompress_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +xz_decompress_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_xz_decompress_image_SOURCES) +CLEANFILES += $(nodist_xz_decompress_image_SOURCES) +platform_DATA += xz_decompress.img +CLEANFILES += xz_decompress.img + +xz_decompress.img: xz_decompress.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(xz_decompress_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += none_decompress.image +none_decompress_image_SOURCES = boot/mips/startup_raw.S boot/decompressor/none.c +nodist_none_decompress_image_SOURCES = ## platform nodist sources +none_decompress_image_LDADD = -lgcc +none_decompress_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) -static-libgcc +none_decompress_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -static-libgcc -Wl,-Ttext,0x80100000 +none_decompress_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000 +none_decompress_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +none_decompress_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_none_decompress_image_SOURCES) +CLEANFILES += $(nodist_none_decompress_image_SOURCES) +platform_DATA += none_decompress.img +CLEANFILES += none_decompress.img + +none_decompress.img: none_decompress.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(none_decompress_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +if COND_mips_yeeloong +noinst_PROGRAMS += fwstart.image +fwstart_image_SOURCES = boot/mips/yeeloong/fwstart.S +nodist_fwstart_image_SOURCES = ## platform nodist sources +fwstart_image_LDADD = +fwstart_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +fwstart_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic +fwstart_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +fwstart_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +fwstart_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +EXTRA_DIST += +BUILT_SOURCES += $(nodist_fwstart_image_SOURCES) +CLEANFILES += $(nodist_fwstart_image_SOURCES) +platform_DATA += fwstart.img +CLEANFILES += fwstart.img + +fwstart.img: fwstart.image$(EXEEXT) + if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(fwstart_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +endif + +libgnulib_a_SOURCES = +nodist_libgnulib_a_SOURCES = +libgnulib_a_CFLAGS = +libgnulib_a_CPPFLAGS = +libgnulib_a_CCASFLAGS = + +if COND_emu +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_i386_pc +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_i386_efi +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_i386_qemu +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_i386_coreboot +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_i386_multiboot +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_i386_ieee1275 +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_x86_64_efi +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_mips_yeeloong +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_sparc64_ieee1275 +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_powerpc_ieee1275 +noinst_LIBRARIES += libgnulib.a +libgnulib_a_SOURCES += gnulib/regex.c +nodist_libgnulib_a_SOURCES += +libgnulib_a_CFLAGS += $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +libgnulib_a_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +libgnulib_a_CCASFLAGS += $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_libgnulib_a_SOURCES) +CLEANFILES += $(nodist_libgnulib_a_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-emu +if COND_MAN_PAGES +man_MANS += grub-emu.1 + +grub-emu.1: grub-emu + chmod a+x grub-emu + PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-emu.h2m -o $@ grub-emu + +CLEANFILES += grub-emu.1 +endif +grub_emu_SOURCES = kern/emu/full.c +nodist_grub_emu_SOURCES = grub_emu_init.c +grub_emu_LDADD = kernel.img$(EXEEXT) $(MODULE_FILES) $(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_emu_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_emu_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_emu_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_emu_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_emu_SOURCES) +CLEANFILES += $(nodist_grub_emu_SOURCES) +endif + +if COND_emu +bin_PROGRAMS += grub-emu-lite +grub_emu_lite_SOURCES = kern/emu/lite.c +nodist_grub_emu_lite_SOURCES = symlist.c +grub_emu_lite_LDADD = kernel.img$(EXEEXT) $(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +grub_emu_lite_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +grub_emu_lite_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +grub_emu_lite_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +grub_emu_lite_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +EXTRA_DIST += +BUILT_SOURCES += $(nodist_grub_emu_lite_SOURCES) +CLEANFILES += $(nodist_grub_emu_lite_SOURCES) +endif + +if COND_emu +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_i386_pc +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_i386_efi +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_i386_qemu +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_i386_coreboot +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_i386_multiboot +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_i386_ieee1275 +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_x86_64_efi +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_mips_yeeloong +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_sparc64_ieee1275 +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_powerpc_ieee1275 +noinst_SCRIPTS += gensyminfo.sh + +gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x gensyminfo.sh + +CLEANFILES += gensyminfo.sh +dist_noinst_DATA += gensyminfo.sh.in +endif + +if COND_emu +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_i386_pc +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_i386_efi +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_i386_qemu +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_i386_coreboot +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_i386_multiboot +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_i386_ieee1275 +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_x86_64_efi +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_mips_yeeloong +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_sparc64_ieee1275 +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + +if COND_powerpc_ieee1275 +noinst_SCRIPTS += genmod.sh + +genmod.sh: genmod.sh.in $(top_builddir)/config.status + $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ + chmod a+x genmod.sh + +CLEANFILES += genmod.sh +dist_noinst_DATA += genmod.sh.in +endif + diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def new file mode 100644 index 0000000..f4d3814 --- /dev/null +++ b/grub-core/Makefile.core.def @@ -0,0 +1,1520 @@ +AutoGen definitions Makefile.tpl; + +script = { + installdir = noinst; + name = gensyminfo.sh; + common = gensyminfo.sh.in; +}; + +script = { + installdir = noinst; + name = genmod.sh; + common = genmod.sh.in; +}; + +kernel = { + name = kernel; + + nostrip = emu; + + emu_ldflags = '-Wl,-r,-d'; + x86_efi_ldflags = '-Wl,-r,-d'; + x86_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment'; + + i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200'; + + i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200'; + + ldadd = '$(LDADD_KERNEL)'; + + i386_coreboot_ldflags = '-Wl,-Ttext=0x8200'; + i386_multiboot_ldflags = '-Wl,-Ttext=0x8200'; + i386_ieee1275_ldflags = '-Wl,-Ttext=0x10000'; + mips_yeeloong_ldflags = '-Wl,-Ttext,0x80200000'; + powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000'; + sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400'; + + mips_yeeloong_cppflags = '-DUSE_ASCII_FAILBACK'; + i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)'; + emu_cflags = '$(CFLAGS_GNULIB)'; + emu_cppflags = '$(CPPFLAGS_GNULIB)'; + + i386_pc_startup = kern/i386/pc/startup.S; + i386_efi_startup = kern/i386/efi/startup.S; + x86_64_efi_startup = kern/x86_64/efi/startup.S; + i386_qemu_startup = kern/i386/qemu/startup.S; + i386_ieee1275_startup = kern/i386/ieee1275/startup.S; + i386_coreboot_startup = kern/i386/coreboot/startup.S; + i386_multiboot_startup = kern/i386/coreboot/startup.S; + mips_yeeloong_startup = kern/mips/startup.S; + sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S; + powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S; + + common = kern/command.c; + common = kern/corecmd.c; + common = kern/device.c; + common = kern/disk.c; + common = kern/dl.c; + common = kern/env.c; + common = kern/err.c; + common = kern/file.c; + common = kern/fs.c; + common = kern/list.c; + common = kern/main.c; + common = kern/misc.c; + common = kern/parser.c; + common = kern/partition.c; + common = kern/rescue_parser.c; + common = kern/rescue_reader.c; + common = kern/term.c; + + noemu = kern/mm.c; + noemu = kern/time.c; + noemu = kern/generic/millisleep.c; + + noemu_nodist = symlist.c; + + i386_pc = kern/generic/rtc_get_time_ms.c; + x86_efi = kern/generic/rtc_get_time_ms.c; + i386_qemu = kern/generic/rtc_get_time_ms.c; + i386_coreboot = kern/generic/rtc_get_time_ms.c; + i386_multiboot = kern/generic/rtc_get_time_ms.c; + mips_yeeloong = kern/generic/rtc_get_time_ms.c; + + ieee1275 = disk/ieee1275/ofdisk.c; + ieee1275 = kern/ieee1275/cmain.c; + ieee1275 = kern/ieee1275/ieee1275.c; + ieee1275 = kern/ieee1275/mmap.c; + ieee1275 = kern/ieee1275/openfw.c; + ieee1275 = term/ieee1275/ofconsole.c; + + terminfoinkernel = term/terminfo.c; + terminfoinkernel = term/tparm.c; + terminfoinkernel = commands/extcmd.c; + terminfoinkernel = lib/arg.c; + + i386 = kern/i386/dl.c; + + i386_coreboot_multiboot_qemu = kern/i386/coreboot/init.c; + i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c; + + i386_coreboot_multiboot_qemu = term/i386/vga_common.c; + i386_pc = term/i386/vga_common.c; + + x86 = kern/i386/pit.c; + + x86_efi = disk/efi/efidisk.c; + x86_efi = kern/efi/efi.c; + x86_efi = kern/efi/init.c; + x86_efi = kern/efi/mm.c; + x86_efi = kern/i386/efi/init.c; + x86_efi = term/efi/console.c; + + i386_efi = kern/i386/tsc.c; + + x86_64_efi = kern/i386/tsc.c; + x86_64_efi = kern/x86_64/dl.c; + x86_64_efi = kern/x86_64/efi/callwrap.S; + + i386_pc = kern/i386/pc/init.c; + i386_pc = kern/i386/pc/mmap.c; + i386_pc = kern/i386/tsc.c; + i386_pc = term/i386/pc/console.c; + + i386_qemu = bus/pci.c; + i386_qemu = kern/i386/qemu/init.c; + i386_qemu = kern/i386/qemu/mmap.c; + i386_qemu = kern/i386/tsc.c; + + i386_coreboot = kern/i386/coreboot/mmap.c; + i386_coreboot = kern/i386/tsc.c; + + i386_multiboot = kern/i386/multiboot_mmap.c; + i386_multiboot = kern/i386/tsc.c; + + i386_ieee1275 = kern/ieee1275/init.c; + + mips_yeeloong = term/ns8250.c; + mips_yeeloong = bus/bonito.c; + mips_yeeloong = bus/cs5536.c; + mips_yeeloong = bus/pci.c; + mips_yeeloong = kern/mips/cache.S; + mips_yeeloong = kern/mips/dl.c; + mips_yeeloong = kern/mips/init.c; + mips_yeeloong = kern/mips/yeeloong/init.c; + mips_yeeloong = term/at_keyboard.c; + mips_yeeloong = term/serial.c; + mips_yeeloong = video/sm712.c; + extra_dist = video/sm712_init.c; + mips_yeeloong = commands/keylayouts.c; + + powerpc_ieee1275 = kern/ieee1275/init.c; + powerpc_ieee1275 = kern/powerpc/cache.S; + powerpc_ieee1275 = kern/powerpc/dl.c; + + sparc64_ieee1275 = kern/sparc64/cache.S; + sparc64_ieee1275 = kern/sparc64/dl.c; + sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c; + sparc64_ieee1275 = kern/sparc64/ieee1275/init.c; + + emu = disk/host.c; + emu = gnulib/progname.c; + emu = gnulib/error.c; + emu = kern/emu/cache.S; + emu = kern/emu/console.c; + emu = kern/emu/getroot.c; + emu = kern/emu/hostdisk.c; + emu = kern/emu/hostfs.c; + emu = kern/emu/main.c; + emu = kern/emu/misc.c; + emu = kern/emu/mm.c; + emu = kern/emu/time.c; + + videoinkernel = term/gfxterm.c; + videoinkernel = font/font.c; + videoinkernel = font/font_cmd.c; + videoinkernel = io/bufio.c; + videoinkernel = video/bitmap.c; + videoinkernel = video/bitmap_scale.c; + videoinkernel = video/fb/fbblit.c; + videoinkernel = video/fb/fbfill.c; + videoinkernel = video/fb/fbutil.c; + videoinkernel = video/fb/video_fb.c; + videoinkernel = video/video.c; + + videoinkernel = commands/boot.c; + + extra_dist = kern/i386/realmode.S; + extra_dist = kern/i386/pc/lzma_decode.S; + extra_dist = kern/mips/cache_flush.S; +}; + +program = { + name = grub-emu; + mansection = 1; + + emu = kern/emu/full.c; + emu_nodist = grub_emu_init.c; + + ldadd = 'kernel.img$(EXEEXT)'; + ldadd = '$(MODULE_FILES)'; + ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + + enable = emu; +}; + +program = { + name = grub-emu-lite; + + emu = kern/emu/lite.c; + emu_nodist = symlist.c; + + ldadd = 'kernel.img$(EXEEXT)'; + ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; + + enable = emu; +}; + +image = { + name = boot; + i386_pc = boot/i386/pc/boot.S; + i386_qemu = boot/i386/qemu/boot.S; + sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S; + + i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; + + i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)'; + i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)'; + + sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big'; + sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000'; + + objcopyflags = '-O binary'; + enable = i386_pc; + enable = i386_qemu; + enable = sparc64_ieee1275; +}; + +image = { + name = cdboot; + i386_pc = boot/i386/pc/cdboot.S; + i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; + objcopyflags = '-O binary'; + enable = i386_pc; +}; + +image = { + name = pxeboot; + i386_pc = boot/i386/pc/pxeboot.S; + + i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; + + objcopyflags = '-O binary'; + enable = i386_pc; +}; + +image = { + name = diskboot; + i386_pc = boot/i386/pc/diskboot.S; + + i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000'; + + sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S; + sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200'; + + objcopyflags = '-O binary'; + + enable = i386_pc; + enable = sparc64_ieee1275; +}; + +image = { + name = lnxboot; + i386_pc = boot/i386/pc/lnxboot.S; + + i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; + i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000'; + + objcopyflags = '-O binary'; + enable = i386_pc; +}; + +image = { + name = xz_decompress; + mips = boot/mips/startup_raw.S; + common = boot/decompressor/minilib.c; + common = boot/decompressor/xz.c; + common = lib/xzembed/xz_dec_bcj.c; + common = lib/xzembed/xz_dec_lzma2.c; + common = lib/xzembed/xz_dec_stream.c; + + cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed'; + + mips_cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000'; + + objcopyflags = '-O binary'; + ldflags = '-static-libgcc -Wl,-Ttext,0x80100000'; + ldadd = '-lgcc'; + cflags = '-static-libgcc'; + enable = mips; +}; + +image = { + name = none_decompress; + mips = boot/mips/startup_raw.S; + common = boot/decompressor/none.c; + + mips_cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000'; + + objcopyflags = '-O binary'; + ldflags = '-static-libgcc -Wl,-Ttext,0x80100000'; + ldadd = '-lgcc'; + cflags = '-static-libgcc'; + enable = mips; +}; + +image = { + name = fwstart; + mips_yeeloong = boot/mips/yeeloong/fwstart.S; + objcopyflags = '-O binary'; + ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic'; + enable = mips_yeeloong; +}; + +module = { + name = trig; + common_nodist = trigtables.c; + extra_dist = gentrigtables.c; +}; + +module = { + name = cs5536; + x86 = bus/cs5536.c; + enable = x86; +}; + +module = { + name = libusb; + emu = bus/usb/emu/usb.c; + enable = emu; + condition = COND_GRUB_EMU_USB; +}; + +module = { + name = lsspd; + mips_yeeloong = commands/mips/yeeloong/lsspd.c; + enable = mips_yeeloong; +}; + +module = { + name = usb; + common = bus/usb/usb.c; + noemu = bus/usb/usbtrans.c; + noemu = bus/usb/usbhub.c; + enable = emu; + enable = usb; + emu_condition = COND_GRUB_EMU_USB; +}; + +module = { + name = usbserial_common; + common = bus/usb/serial/common.c; + enable = usb; +}; + +module = { + name = usbserial_pl2303; + common = bus/usb/serial/pl2303.c; + enable = usb; +}; + +module = { + name = usbserial_ftdi; + common = bus/usb/serial/ftdi.c; + enable = usb; +}; + +module = { + name = uhci; + common = bus/usb/uhci.c; + enable = x86; +}; + +module = { + name = ohci; + common = bus/usb/ohci.c; + enable = pci; +}; + +module = { + name = pci; + noemu = bus/pci.c; + emu = bus/emu/pci.c; + emu = commands/lspci.c; + + enable = emu; + enable = i386_pc; + enable = x86_efi; + enable = i386_ieee1275; + enable = i386_coreboot; + enable = i386_multiboot; + emu_condition = COND_GRUB_EMU_PCI; +}; + +library = { + name = libgnulib.a; + common = gnulib/regex.c; + cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; + cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)'; +}; + +module = { + name = cmostest; + common = commands/i386/cmostest.c; + enable = cmos; +}; + +module = { + name = iorw; + common = commands/iorw.c; + enable = x86; +}; + +module = { + name = regexp; + common = commands/regexp.c; + common = commands/wildcard.c; + ldadd = libgnulib.a; + cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; + cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)'; +}; + +module = { + name = acpi; + + common = commands/acpi.c; + x86_efi = commands/efi/acpi.c; + i386_pc = commands/i386/pc/acpi.c; + i386_coreboot = commands/i386/pc/acpi.c; + i386_multiboot = commands/i386/pc/acpi.c; + + enable = x86_efi; + enable = i386_pc; + enable = i386_coreboot; + enable = i386_multiboot; +}; + +module = { + name = lsacpi; + + common = commands/lsacpi.c; + + enable = x86_efi; + enable = i386_pc; + enable = i386_coreboot; + enable = i386_multiboot; +}; + +module = { + name = lsefisystab; + + common = commands/efi/lsefisystab.c; + + enable = x86_efi; +}; + +module = { + name = lssal; + + common = commands/efi/lssal.c; + + enable = x86_efi; +}; + +module = { + name = lsefimmap; + + common = commands/efi/lsefimmap.c; + + enable = x86_efi; +}; + +module = { + name = blocklist; + common = commands/blocklist.c; +}; + +module = { + name = boot; + common = commands/boot.c; + i386_pc = lib/i386/pc/biosnum.c; + enable = videomodules; +}; + +module = { + name = cat; + common = commands/cat.c; +}; + +module = { + name = cmp; + common = commands/cmp.c; +}; + +module = { + name = configfile; + common = commands/configfile.c; +}; + +module = { + name = cpuid; + x86 = commands/i386/cpuid.c; + enable = x86; +}; + +module = { + name = date; + common = commands/date.c; +}; + +module = { + name = drivemap; + + i386_pc = commands/i386/pc/drivemap.c; + i386_pc = commands/i386/pc/drivemap_int13h.S; + enable = i386_pc; +}; + +module = { + name = echo; + common = commands/echo.c; +}; + +module = { + name = extcmd; + common = commands/extcmd.c; + common = lib/arg.c; + enable = terminfomodule; +}; + +module = { + name = fixvideo; + x86_efi = commands/efi/fixvideo.c; + enable = x86_efi; +}; + +module = { + name = gptsync; + common = commands/gptsync.c; +}; + +module = { + name = halt; + nopc = commands/halt.c; + i386_pc = commands/i386/pc/halt.c; + i386_pc = commands/acpihalt.c; + i386_coreboot = commands/acpihalt.c; + i386_multiboot = commands/acpihalt.c; + x86_efi = commands/acpihalt.c; + i386_multiboot = lib/i386/halt.c; + i386_coreboot = lib/i386/halt.c; + i386_qemu = lib/i386/halt.c; + x86_efi = lib/efi/halt.c; + ieee1275 = lib/ieee1275/halt.c; + emu = lib/emu/halt.c; +}; + +module = { + name = hashsum; + common = commands/hashsum.c; +}; + +module = { + name = hdparm; + common = commands/hdparm.c; + common = lib/hexdump.c; + enable = pci; +}; + +module = { + name = help; + common = commands/help.c; +}; + +module = { + name = hexdump; + common = commands/hexdump.c; + common = lib/hexdump.c; +}; + +module = { + name = keystatus; + common = commands/keystatus.c; +}; + +module = { + name = loadbios; + x86_efi = commands/efi/loadbios.c; + enable = x86_efi; +}; + +module = { + name = loadenv; + common = commands/loadenv.c; + common = lib/envblk.c; +}; + +module = { + name = ls; + common = commands/ls.c; +}; + +module = { + name = lsmmap; + common = commands/lsmmap.c; +}; + +module = { + name = lspci; + common = commands/lspci.c; + + enable = pci; +}; + +module = { + name = memrw; + common = commands/memrw.c; +}; + +module = { + name = minicmd; + common = commands/minicmd.c; +}; + +module = { + name = parttool; + common = commands/parttool.c; +}; + +module = { + name = password; + common = commands/password.c; +}; + +module = { + name = password_pbkdf2; + common = commands/password_pbkdf2.c; +}; + +module = { + name = play; + x86 = commands/i386/pc/play.c; + enable = x86; +}; + +module = { + name = probe; + common = commands/probe.c; +}; + +module = { + name = pxecmd; + i386_pc = commands/i386/pc/pxecmd.c; + enable = i386_pc; +}; + +module = { + name = read; + common = commands/read.c; +}; + +module = { + name = reboot; + common = commands/reboot.c; +}; + +module = { + name = search; + common = commands/search_wrap.c; + extra_dist = commands/search.c; +}; + +module = { + name = search_fs_file; + common = commands/search_file.c; +}; + +module = { + name = search_fs_uuid; + common = commands/search_uuid.c; +}; + +module = { + name = search_label; + common = commands/search_label.c; +}; + +module = { + name = setpci; + common = commands/setpci.c; + enable = x86; +}; + +module = { + name = sleep; + common = commands/sleep.c; +}; + +module = { + name = suspend; + ieee1275 = commands/ieee1275/suspend.c; + enable = i386_ieee1275; + enable = powerpc_ieee1275; +}; + +module = { + name = terminal; + common = commands/terminal.c; +}; + +module = { + name = test; + common = commands/test.c; +}; + +module = { + name = true; + common = commands/true.c; +}; + +module = { + name = usbtest; + common = commands/usbtest.c; + enable = usb; + enable = emu; + emu_condition = COND_GRUB_EMU_USB; +}; + +module = { + name = videoinfo; + common = commands/videoinfo.c; +}; + +module = { + name = videotest; + common = commands/videotest.c; +}; + +module = { + name = xnu_uuid; + common = commands/xnu_uuid.c; +}; + +module = { + name = dm_nv; + common = disk/dmraid_nvidia.c; +}; + +module = { + name = loopback; + common = disk/loopback.c; +}; + +module = { + name = lvm; + common = disk/lvm.c; +}; + +module = { + name = mdraid09; + common = disk/mdraid_linux.c; +}; + +module = { + name = mdraid1x; + common = disk/mdraid1x_linux.c; +}; + +module = { + name = raid; + common = disk/raid.c; +}; + +module = { + name = raid5rec; + common = disk/raid5_recover.c; +}; + +module = { + name = raid6rec; + common = disk/raid6_recover.c; +}; + +module = { + name = scsi; + common = disk/scsi.c; +}; + +module = { + name = memdisk; + common = disk/memdisk.c; +}; + +module = { + name = ata; + common = disk/ata.c; + enable = pci; +}; + +module = { + name = ata_pthru; + common = disk/ata_pthru.c; + enable = pci; +}; + +module = { + name = biosdisk; + i386_pc = disk/i386/pc/biosdisk.c; + enable = i386_pc; +}; + +module = { + name = usbms; + common = disk/usbms.c; + enable = usb; + enable = emu; + emu_condition = COND_GRUB_EMU_USB; +}; + +module = { + name = nand; + ieee1275 = disk/ieee1275/nand.c; + enable = i386_ieee1275; +}; + +module = { + name = efiemu; + common = efiemu/main.c; + common = efiemu/i386/loadcore32.c; + common = efiemu/i386/loadcore64.c; + i386_pc = efiemu/i386/pc/cfgtables.c; + i386_coreboot = efiemu/i386/pc/cfgtables.c; + i386_multiboot = efiemu/i386/pc/cfgtables.c; + i386_ieee1275 = efiemu/i386/nocfgtables.c; + i386_qemu = efiemu/i386/nocfgtables.c; + common = efiemu/mm.c; + common = efiemu/loadcore_common.c; + common = efiemu/symbols.c; + common = efiemu/loadcore32.c; + common = efiemu/loadcore64.c; + common = efiemu/prepare32.c; + common = efiemu/prepare64.c; + common = efiemu/pnvram.c; + common = efiemu/i386/coredetect.c; + + extra_dist = efiemu/prepare.c; + extra_dist = efiemu/loadcore.c; + extra_dist = efiemu/runtime/efiemu.S; + extra_dist = efiemu/runtime/efiemu.c; + + enable = i386_pc; + enable = i386_coreboot; + enable = i386_ieee1275; + enable = i386_multiboot; + enable = i386_qemu; +}; + +module = { + name = font; + common = font/font.c; + common = font/font_cmd.c; + enable = videomodules; +}; + +module = { + name = affs; + common = fs/affs.c; +}; + +module = { + name = afs; + common = fs/afs.c; +}; + +module = { + name = afs_be; + common = fs/afs_be.c; +}; + +module = { + name = befs; + common = fs/befs.c; +}; + +module = { + name = befs_be; + common = fs/befs_be.c; +}; + +module = { + name = btrfs; + common = fs/btrfs.c; + common = lib/crc.c; +}; + +module = { + name = cpio; + common = fs/cpio.c; +}; + +module = { + name = ext2; + common = fs/ext2.c; +}; + +module = { + name = fat; + common = fs/fat.c; +}; + +module = { + name = fshelp; + common = fs/fshelp.c; +}; + +module = { + name = hfs; + common = fs/hfs.c; +}; + +module = { + name = hfsplus; + common = fs/hfsplus.c; +}; + +module = { + name = iso9660; + common = fs/iso9660.c; +}; + +module = { + name = jfs; + common = fs/jfs.c; +}; + +module = { + name = minix; + common = fs/minix.c; +}; + +module = { + name = minix2; + common = fs/minix2.c; +}; + +module = { + name = nilfs2; + common = fs/nilfs2.c; +}; + +module = { + name = ntfs; + common = fs/ntfs.c; +}; + +module = { + name = ntfscomp; + common = fs/ntfscomp.c; +}; + +module = { + name = reiserfs; + common = fs/reiserfs.c; +}; + +module = { + name = sfs; + common = fs/sfs.c; +}; + +module = { + name = tar; + common = fs/tar.c; +}; + +module = { + name = udf; + common = fs/udf.c; +}; + +module = { + name = ufs1; + common = fs/ufs.c; +}; + +module = { + name = ufs2; + common = fs/ufs2.c; +}; + +module = { + name = xfs; + common = fs/xfs.c; +}; + +module = { + name = zfs; + common = fs/zfs/zfs.c; + common = fs/zfs/zfs_lzjb.c; + common = fs/zfs/zfs_sha256.c; + common = fs/zfs/zfs_fletcher.c; +}; + +module = { + name = zfsinfo; + common = fs/zfs/zfsinfo.c; +}; + +module = { + name = pxe; + i386_pc = fs/i386/pc/pxe.c; + enable = i386_pc; +}; + +module = { + name = gettext; + common = gettext/gettext.c; +}; + +module = { + name = gfxmenu; + common = gfxmenu/gfxmenu.c; + common = gfxmenu/model.c; + common = gfxmenu/view.c; + common = gfxmenu/font.c; + common = gfxmenu/icon_manager.c; + common = gfxmenu/theme_loader.c; + common = gfxmenu/widget-box.c; + common = gfxmenu/gui_canvas.c; + common = gfxmenu/gui_circular_progress.c; + common = gfxmenu/gui_box.c; + common = gfxmenu/gui_label.c; + common = gfxmenu/gui_list.c; + common = gfxmenu/gui_image.c; + common = gfxmenu/gui_progress_bar.c; + common = gfxmenu/gui_util.c; + common = gfxmenu/gui_string_util.c; + common = gfxmenu/named_colors.c; +}; + +module = { + name = hello; + common = hello/hello.c; +}; + +module = { + name = gzio; + common = io/gzio.c; +}; + +module = { + name = bufio; + common = io/bufio.c; + enable = videomodules; +}; + +module = { + name = elf; + common = kern/elf.c; +}; + +module = { + name = crypto; + common = lib/crypto.c; + + extra_dist = lib/libgcrypt-grub/cipher/crypto.lst; +}; + +module = { + name = pbkdf2; + common = lib/pbkdf2.c; +}; + +module = { + name = relocator; + common = lib/relocator.c; + x86 = lib/i386/relocator16.S; + x86 = lib/i386/relocator32.S; + x86 = lib/i386/relocator64.S; + i386 = lib/i386/relocator_asm.S; + x86_64 = lib/x86_64/relocator_asm.S; + x86 = lib/i386/relocator.c; + ieee1275 = lib/ieee1275/relocator.c; + x86_efi = lib/efi/relocator.c; + mips = lib/mips/relocator_asm.S; + mips = lib/mips/relocator.c; + powerpc = lib/powerpc/relocator_asm.S; + powerpc = lib/powerpc/relocator.c; + + extra_dist = lib/i386/relocator_common.S; + extra_dist = kern/powerpc/cache_flush.S; + + enable = mips; + enable = powerpc; + enable = x86; +}; + +module = { + name = datetime; + cmos = lib/cmos_datetime.c; + x86_efi = lib/efi/datetime.c; + sparc64_ieee1275 = lib/ieee1275/datetime.c; + powerpc_ieee1275 = lib/ieee1275/datetime.c; + enable = noemu; +}; + +module = { + name = setjmp; + common = lib/setjmp.S; + extra_dist = lib/i386/setjmp.S; + extra_dist = lib/mips/setjmp.S; + extra_dist = lib/x86_64/setjmp.S; + extra_dist = lib/sparc64/setjmp.S; + extra_dist = lib/powerpc/setjmp.S; +}; + +module = { + name = aout; + common = loader/aout.c; + enable = x86; +}; + +module = { + name = bsd; + x86 = loader/i386/bsd.c; + x86 = loader/i386/bsd32.c; + x86 = loader/i386/bsd64.c; + + extra_dist = loader/i386/bsdXX.c; + extra_dist = loader/i386/bsd_pagetable.c; + + enable = x86; +}; + +module = { + name = linux16; + i386_pc = loader/i386/pc/linux.c; + i386_pc = lib/cmdline.c; + enable = i386_pc; +}; + +module = { + name = ntldr; + i386_pc = loader/i386/pc/ntldr.c; + enable = i386_pc; +}; + +module = { + name = multiboot2; + cppflags = "-DGRUB_USE_MULTIBOOT2"; + + common = loader/multiboot.c; + common = loader/multiboot_mbi2.c; + enable = x86; + enable = mips; +}; + +module = { + name = multiboot; + common = loader/multiboot.c; + x86 = loader/i386/multiboot_mbi.c; + extra_dist = loader/multiboot_elfxx.c; + enable = x86; +}; + +module = { + name = linux; + x86 = loader/i386/linux.c; + i386_pc = lib/i386/pc/vesa_modes_table.c; + mips = loader/mips/linux.c; + powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c; + sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c; + common = lib/cmdline.c; + enable = noemu; +}; + +module = { + name = xnu; + x86 = loader/xnu_resume.c; + x86 = loader/i386/xnu.c; + x86 = loader/macho32.c; + x86 = loader/macho64.c; + x86 = loader/macho.c; + x86 = loader/xnu.c; + + extra_dist = loader/machoXX.c; + enable = x86; +}; + +module = { + name = appleldr; + x86_efi = loader/efi/appleloader.c; + enable = x86_efi; +}; + +module = { + name = chain; + x86_efi = loader/efi/chainloader.c; + i386_pc = loader/i386/pc/chainloader.c; + enable = i386_pc; + enable = x86_efi; +}; + +module = { + name = mmap; + common = mmap/mmap.c; + x86 = mmap/i386/uppermem.c; + x86 = mmap/i386/mmap.c; + + i386_pc = mmap/i386/pc/mmap.c; + i386_pc = mmap/i386/pc/mmap_helper.S; + + x86_efi = mmap/efi/mmap.c; + + mips_yeeloong = mmap/mips/yeeloong/uppermem.c; + + enable = x86; + enable = mips_yeeloong; +}; + +module = { + name = normal; + common = normal/main.c; + common = normal/cmdline.c; + common = normal/dyncmd.c; + common = normal/auth.c; + common = normal/autofs.c; + common = normal/color.c; + common = normal/completion.c; + common = normal/datetime.c; + common = normal/menu.c; + common = normal/menu_entry.c; + common = normal/menu_text.c; + common = normal/misc.c; + common = normal/crypto.c; + common = normal/term.c; + common = normal/context.c; + common = normal/charset.c; + + common = script/main.c; + common = script/script.c; + common = script/execute.c; + common = script/function.c; + common = script/lexer.c; + common = script/argv.c; + + common = commands/menuentry.c; + + common = unidata.c; + common_nodist = grub_script.tab.c; + common_nodist = grub_script.yy.c; + common_nodist = grub_script.tab.h; + common_nodist = grub_script.yy.h; + + extra_dist = script/yylex.l; + extra_dist = script/parser.y; + + cflags = '$(CFLAGS_POSIX) -Wno-error'; + cppflags = '$(CPPFLAGS_POSIX)'; +}; + +module = { + name = part_acorn; + common = partmap/acorn.c; +}; + +module = { + name = part_amiga; + common = partmap/amiga.c; +}; + +module = { + name = part_apple; + common = partmap/apple.c; +}; + +module = { + name = part_gpt; + common = partmap/gpt.c; +}; + +module = { + name = part_msdos; + common = partmap/msdos.c; +}; + +module = { + name = part_sun; + common = partmap/sun.c; +}; + +module = { + name = part_bsd; + common = partmap/bsdlabel.c; +}; + +module = { + name = part_sunpc; + common = partmap/sunpc.c; +}; + +module = { + name = msdospart; + common = parttool/msdospart.c; +}; + +module = { + name = at_keyboard; + common = term/at_keyboard.c; + enable = x86; +}; + +module = { + name = gfxterm; + common = term/gfxterm.c; + enable = videomodules; +}; + +module = { + name = serial; + common = term/serial.c; + x86 = term/ns8250.c; + + enable = emu; + enable = i386; + enable = x86_64_efi; + emu_condition = COND_GRUB_EMU_USB; +}; + +module = { + name = sendkey; + i386_pc = commands/i386/pc/sendkey.c; + enable = i386_pc; +}; + +module = { + name = terminfo; + common = term/terminfo.c; + common = term/tparm.c; + enable = terminfomodule; +}; + +module = { + name = usb_keyboard; + common = term/usb_keyboard.c; + enable = usb; +}; + +module = { + name = vga; + i386_pc = video/i386/pc/vga.c; + enable = i386_pc; +}; + +module = { + name = vga_text; + common = term/i386/pc/vga_text.c; + common = term/i386/vga_common.c; + enable = i386_pc; + enable = i386_coreboot; + enable = i386_multiboot; +}; + +module = { + name = video_cirrus; + x86 = video/cirrus.c; + enable = x86; +}; + +module = { + name = video_bochs; + x86 = video/bochs.c; + enable = x86; +}; + +module = { + name = functional_test; + common = tests/lib/functional_test.c; + common = tests/lib/test.c; +}; + +module = { + name = example_functional_test; + common = tests/example_functional_test.c; + cflags = -Wno-format; +}; + +module = { + name = bitmap; + common = video/bitmap.c; + enable = videomodules; +}; + +module = { + name = bitmap_scale; + common = video/bitmap_scale.c; + enable = videomodules; +}; + +module = { + name = efi_gop; + x86_efi = video/efi_gop.c; + enable = x86_efi; +}; + +module = { + name = efi_uga; + x86_efi = video/efi_uga.c; + enable = x86_efi; +}; + +module = { + name = jpeg; + common = video/readers/jpeg.c; +}; + +module = { + name = png; + common = video/readers/png.c; +}; + +module = { + name = tga; + common = video/readers/tga.c; +}; + +module = { + name = vbe; + i386_pc = video/i386/pc/vbe.c; + enable = i386_pc; +}; + +module = { + name = video_fb; + common = video/fb/video_fb.c; + common = video/fb/fbblit.c; + common = video/fb/fbfill.c; + common = video/fb/fbutil.c; + enable = videomodules; +}; + +module = { + name = video; + common = video/video.c; + enable = videomodules; +}; + +module = { + name = ieee1275_fb; + ieee1275 = video/ieee1275.c; + enable = powerpc; +}; + +module = { + name = sdl; + emu = video/emu/sdl.c; + enable = emu; + condition = COND_GRUB_EMU_SDL; +}; + +module = { + name = datehook; + common = hook/datehook.c; +}; + +module = { + name = legacycfg; + common = commands/legacycfg.c; + common = lib/legacy_parse.c; + emu = lib/i386/pc/vesa_modes_table.c; + enable = i386_pc; + enable = emu; +}; + +module = { + name = test_blockarg; + common = tests/test_blockarg.c; +}; + +module = { + name = xzio; + common = io/xzio.c; + common = lib/xzembed/xz_dec_bcj.c; + common = lib/xzembed/xz_dec_lzma2.c; + common = lib/xzembed/xz_dec_stream.c; + cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed'; +}; + +module = { + name = testload; + common = commands/testload.c; +}; + +module = { + name = lsapm; + common = commands/i386/pc/lsapm.c; + enable = i386_pc; +}; + +module = { + name = keylayouts; + common = commands/keylayouts.c; + enable = videomodules; +}; diff --git a/grub-core/Makefile.gcry.def b/grub-core/Makefile.gcry.def new file mode 100644 index 0000000..9a17712 --- /dev/null +++ b/grub-core/Makefile.gcry.def @@ -0,0 +1,136 @@ +AutoGen definitions Makefile.tpl; + +module = { + name = gcry_arcfour; + common = lib/libgcrypt-grub/cipher/arcfour.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_blowfish; + common = lib/libgcrypt-grub/cipher/blowfish.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_camellia; + common = lib/libgcrypt-grub/cipher/camellia-glue.c; + common = lib/libgcrypt-grub/cipher/camellia.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_cast5; + common = lib/libgcrypt-grub/cipher/cast5.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_crc; + common = lib/libgcrypt-grub/cipher/crc.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_des; + common = lib/libgcrypt-grub/cipher/des.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_md4; + common = lib/libgcrypt-grub/cipher/md4.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_md5; + common = lib/libgcrypt-grub/cipher/md5.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_rfc2268; + common = lib/libgcrypt-grub/cipher/rfc2268.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_rijndael; + common = lib/libgcrypt-grub/cipher/rijndael.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_rmd160; + common = lib/libgcrypt-grub/cipher/rmd160.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_seed; + common = lib/libgcrypt-grub/cipher/seed.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_serpent; + common = lib/libgcrypt-grub/cipher/serpent.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_sha1; + common = lib/libgcrypt-grub/cipher/sha1.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_sha256; + common = lib/libgcrypt-grub/cipher/sha256.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_sha512; + common = lib/libgcrypt-grub/cipher/sha512.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_tiger; + common = lib/libgcrypt-grub/cipher/tiger.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_twofish; + common = lib/libgcrypt-grub/cipher/twofish.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + +module = { + name = gcry_whirlpool; + common = lib/libgcrypt-grub/cipher/whirlpool.c; + cflags = '$(CFLAGS_GCRY)'; + cppflags = '$(CPPFLAGS_GCRY)'; +}; + diff --git a/grub-core/Makefile.in b/grub-core/Makefile.in new file mode 100644 index 0000000..7c4859f --- /dev/null +++ b/grub-core/Makefile.in @@ -0,0 +1,57678 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# -*- makefile -*- + + + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = $(am__dist_noinst_DATA_DIST) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.core.am $(srcdir)/Makefile.in \ + $(top_srcdir)/conf/Makefile.common + +# Platform specific options +@COND_i386_pc_TRUE@am__append_1 = -mrtd -mregparm=3 +@COND_i386_qemu_TRUE@am__append_2 = -mrtd -mregparm=3 +@COND_i386_coreboot_TRUE@am__append_3 = -mrtd -mregparm=3 +@COND_i386_ieee1275_TRUE@am__append_4 = -mrtd -mregparm=3 +@COND_mips_yeeloong_TRUE@am__append_5 = -mexplicit-relocs +@COND_mips_TRUE@am__append_6 = -mflush-func=grub_cpu_flush_cache +@COND_sparc64_ieee1275_TRUE@am__append_7 = -mno-app-regs +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_FALSE@am__append_8 = -lgcc +bin_PROGRAMS = $(am__EXEEXT_1) +sbin_PROGRAMS = +check_PROGRAMS = +noinst_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \ + $(am__EXEEXT_5) $(am__EXEEXT_6) $(am__EXEEXT_7) \ + $(am__EXEEXT_8) $(am__EXEEXT_9) $(am__EXEEXT_10) \ + $(am__EXEEXT_11) $(am__EXEEXT_12) $(am__EXEEXT_13) \ + $(am__EXEEXT_14) $(am__EXEEXT_15) $(am__EXEEXT_16) \ + $(am__EXEEXT_17) $(am__EXEEXT_18) $(am__EXEEXT_19) \ + $(am__EXEEXT_20) $(am__EXEEXT_21) $(am__EXEEXT_22) \ + $(am__EXEEXT_23) $(am__EXEEXT_24) $(am__EXEEXT_25) \ + $(am__EXEEXT_26) $(am__EXEEXT_27) $(am__EXEEXT_28) \ + $(am__EXEEXT_29) $(am__EXEEXT_30) $(am__EXEEXT_31) \ + $(am__EXEEXT_32) $(am__EXEEXT_33) $(am__EXEEXT_34) \ + $(am__EXEEXT_35) $(am__EXEEXT_36) $(am__EXEEXT_37) \ + $(am__EXEEXT_38) $(am__EXEEXT_39) $(am__EXEEXT_40) \ + $(am__EXEEXT_41) $(am__EXEEXT_42) $(am__EXEEXT_43) \ + $(am__EXEEXT_44) $(am__EXEEXT_45) $(am__EXEEXT_46) \ + $(am__EXEEXT_47) $(am__EXEEXT_48) $(am__EXEEXT_49) \ + $(am__EXEEXT_50) $(am__EXEEXT_51) $(am__EXEEXT_52) \ + $(am__EXEEXT_53) $(am__EXEEXT_54) $(am__EXEEXT_55) \ + $(am__EXEEXT_56) $(am__EXEEXT_57) $(am__EXEEXT_58) \ + $(am__EXEEXT_59) $(am__EXEEXT_60) $(am__EXEEXT_61) \ + $(am__EXEEXT_62) $(am__EXEEXT_63) $(am__EXEEXT_64) \ + $(am__EXEEXT_65) $(am__EXEEXT_66) $(am__EXEEXT_67) \ + $(am__EXEEXT_68) $(am__EXEEXT_69) $(am__EXEEXT_70) \ + $(am__EXEEXT_71) $(am__EXEEXT_72) $(am__EXEEXT_73) \ + $(am__EXEEXT_74) $(am__EXEEXT_75) $(am__EXEEXT_76) \ + $(am__EXEEXT_77) $(am__EXEEXT_78) $(am__EXEEXT_79) \ + $(am__EXEEXT_80) $(am__EXEEXT_81) $(am__EXEEXT_82) \ + $(am__EXEEXT_83) $(am__EXEEXT_84) $(am__EXEEXT_85) \ + $(am__EXEEXT_86) $(am__EXEEXT_87) $(am__EXEEXT_88) \ + $(am__EXEEXT_89) $(am__EXEEXT_90) $(am__EXEEXT_91) \ + $(am__EXEEXT_92) $(am__EXEEXT_93) $(am__EXEEXT_94) \ + $(am__EXEEXT_95) $(am__EXEEXT_96) $(am__EXEEXT_97) \ + $(am__EXEEXT_98) $(am__EXEEXT_99) $(am__EXEEXT_100) \ + $(am__EXEEXT_101) $(am__EXEEXT_102) $(am__EXEEXT_103) \ + $(am__EXEEXT_104) $(am__EXEEXT_105) $(am__EXEEXT_106) \ + $(am__EXEEXT_107) $(am__EXEEXT_108) $(am__EXEEXT_109) \ + $(am__EXEEXT_110) $(am__EXEEXT_111) $(am__EXEEXT_112) \ + $(am__EXEEXT_113) $(am__EXEEXT_114) $(am__EXEEXT_115) \ + $(am__EXEEXT_116) $(am__EXEEXT_117) $(am__EXEEXT_118) \ + $(am__EXEEXT_119) $(am__EXEEXT_120) $(am__EXEEXT_121) \ + $(am__EXEEXT_122) $(am__EXEEXT_123) $(am__EXEEXT_124) \ + $(am__EXEEXT_125) $(am__EXEEXT_126) $(am__EXEEXT_127) \ + $(am__EXEEXT_128) $(am__EXEEXT_129) $(am__EXEEXT_130) \ + $(am__EXEEXT_131) $(am__EXEEXT_132) $(am__EXEEXT_133) \ + $(am__EXEEXT_134) $(am__EXEEXT_135) $(am__EXEEXT_136) \ + $(am__EXEEXT_137) $(am__EXEEXT_138) $(am__EXEEXT_139) \ + $(am__EXEEXT_140) $(am__EXEEXT_141) $(am__EXEEXT_142) \ + $(am__EXEEXT_143) $(am__EXEEXT_144) $(am__EXEEXT_145) \ + $(am__EXEEXT_146) $(am__EXEEXT_147) $(am__EXEEXT_148) \ + $(am__EXEEXT_149) $(am__EXEEXT_150) $(am__EXEEXT_151) \ + $(am__EXEEXT_152) $(am__EXEEXT_153) $(am__EXEEXT_154) \ + $(am__EXEEXT_155) $(am__EXEEXT_156) $(am__EXEEXT_157) \ + $(am__EXEEXT_158) $(am__EXEEXT_159) $(am__EXEEXT_160) \ + $(am__EXEEXT_161) $(am__EXEEXT_162) $(am__EXEEXT_163) \ + $(am__EXEEXT_164) $(am__EXEEXT_165) $(am__EXEEXT_166) \ + $(am__EXEEXT_167) $(am__EXEEXT_168) $(am__EXEEXT_169) \ + $(am__EXEEXT_170) $(am__EXEEXT_171) $(am__EXEEXT_172) \ + $(am__EXEEXT_173) $(am__EXEEXT_174) $(am__EXEEXT_175) \ + $(am__EXEEXT_176) $(am__EXEEXT_177) $(am__EXEEXT_178) \ + $(am__EXEEXT_179) $(am__EXEEXT_180) $(am__EXEEXT_181) \ + $(am__EXEEXT_182) $(am__EXEEXT_183) $(am__EXEEXT_184) \ + $(am__EXEEXT_185) $(am__EXEEXT_186) $(am__EXEEXT_187) \ + $(am__EXEEXT_188) $(am__EXEEXT_189) $(am__EXEEXT_190) \ + $(am__EXEEXT_191) $(am__EXEEXT_192) $(am__EXEEXT_193) \ + $(am__EXEEXT_194) $(am__EXEEXT_195) $(am__EXEEXT_196) \ + $(am__EXEEXT_197) $(am__EXEEXT_198) $(am__EXEEXT_199) \ + $(am__EXEEXT_200) $(am__EXEEXT_201) $(am__EXEEXT_202) \ + $(am__EXEEXT_203) $(am__EXEEXT_204) $(am__EXEEXT_205) \ + $(am__EXEEXT_206) $(am__EXEEXT_207) $(am__EXEEXT_208) \ + $(am__EXEEXT_209) $(am__EXEEXT_210) $(am__EXEEXT_211) \ + $(am__EXEEXT_212) $(am__EXEEXT_213) $(am__EXEEXT_214) \ + $(am__EXEEXT_215) $(am__EXEEXT_216) $(am__EXEEXT_217) \ + $(am__EXEEXT_218) $(am__EXEEXT_219) $(am__EXEEXT_220) \ + $(am__EXEEXT_221) $(am__EXEEXT_222) $(am__EXEEXT_223) \ + $(am__EXEEXT_224) $(am__EXEEXT_225) $(am__EXEEXT_226) \ + $(am__EXEEXT_227) $(am__EXEEXT_228) $(am__EXEEXT_229) \ + $(am__EXEEXT_230) $(am__EXEEXT_231) $(am__EXEEXT_232) \ + $(am__EXEEXT_233) $(am__EXEEXT_234) $(am__EXEEXT_235) \ + $(am__EXEEXT_236) $(am__EXEEXT_237) $(am__EXEEXT_238) \ + $(am__EXEEXT_239) $(am__EXEEXT_240) $(am__EXEEXT_241) \ + $(am__EXEEXT_242) $(am__EXEEXT_243) $(am__EXEEXT_244) \ + $(am__EXEEXT_245) $(am__EXEEXT_246) $(am__EXEEXT_247) \ + $(am__EXEEXT_248) $(am__EXEEXT_249) $(am__EXEEXT_250) \ + $(am__EXEEXT_251) $(am__EXEEXT_252) $(am__EXEEXT_253) \ + $(am__EXEEXT_254) $(am__EXEEXT_255) $(am__EXEEXT_256) \ + $(am__EXEEXT_257) $(am__EXEEXT_258) $(am__EXEEXT_259) \ + $(am__EXEEXT_260) $(am__EXEEXT_261) $(am__EXEEXT_262) \ + $(am__EXEEXT_263) $(am__EXEEXT_264) $(am__EXEEXT_265) \ + $(am__EXEEXT_266) $(am__EXEEXT_267) $(am__EXEEXT_268) \ + $(am__EXEEXT_269) $(am__EXEEXT_270) $(am__EXEEXT_271) \ + $(am__EXEEXT_272) $(am__EXEEXT_273) $(am__EXEEXT_274) \ + $(am__EXEEXT_275) $(am__EXEEXT_276) $(am__EXEEXT_277) \ + $(am__EXEEXT_278) $(am__EXEEXT_279) $(am__EXEEXT_280) \ + $(am__EXEEXT_281) $(am__EXEEXT_282) $(am__EXEEXT_283) \ + $(am__EXEEXT_284) $(am__EXEEXT_285) $(am__EXEEXT_286) \ + $(am__EXEEXT_287) $(am__EXEEXT_288) $(am__EXEEXT_289) \ + $(am__EXEEXT_290) $(am__EXEEXT_291) $(am__EXEEXT_292) \ + $(am__EXEEXT_293) $(am__EXEEXT_294) $(am__EXEEXT_295) \ + $(am__EXEEXT_296) $(am__EXEEXT_297) $(am__EXEEXT_298) \ + $(am__EXEEXT_299) $(am__EXEEXT_300) $(am__EXEEXT_301) \ + $(am__EXEEXT_302) $(am__EXEEXT_303) $(am__EXEEXT_304) \ + $(am__EXEEXT_305) $(am__EXEEXT_306) $(am__EXEEXT_307) \ + $(am__EXEEXT_308) $(am__EXEEXT_309) $(am__EXEEXT_310) \ + $(am__EXEEXT_311) $(am__EXEEXT_312) $(am__EXEEXT_313) \ + $(am__EXEEXT_314) $(am__EXEEXT_315) $(am__EXEEXT_316) \ + $(am__EXEEXT_317) $(am__EXEEXT_318) $(am__EXEEXT_319) \ + $(am__EXEEXT_320) $(am__EXEEXT_321) $(am__EXEEXT_322) \ + $(am__EXEEXT_323) $(am__EXEEXT_324) $(am__EXEEXT_325) \ + $(am__EXEEXT_326) $(am__EXEEXT_327) $(am__EXEEXT_328) \ + $(am__EXEEXT_329) $(am__EXEEXT_330) $(am__EXEEXT_331) \ + $(am__EXEEXT_332) $(am__EXEEXT_333) $(am__EXEEXT_334) \ + $(am__EXEEXT_335) $(am__EXEEXT_336) $(am__EXEEXT_337) \ + $(am__EXEEXT_338) $(am__EXEEXT_339) $(am__EXEEXT_340) \ + $(am__EXEEXT_341) $(am__EXEEXT_342) $(am__EXEEXT_343) \ + $(am__EXEEXT_344) $(am__EXEEXT_345) $(am__EXEEXT_346) \ + $(am__EXEEXT_347) $(am__EXEEXT_348) $(am__EXEEXT_349) \ + $(am__EXEEXT_350) $(am__EXEEXT_351) $(am__EXEEXT_352) \ + $(am__EXEEXT_353) $(am__EXEEXT_354) $(am__EXEEXT_355) \ + $(am__EXEEXT_356) $(am__EXEEXT_357) $(am__EXEEXT_358) \ + $(am__EXEEXT_359) $(am__EXEEXT_360) $(am__EXEEXT_361) \ + $(am__EXEEXT_362) $(am__EXEEXT_363) $(am__EXEEXT_364) \ + $(am__EXEEXT_365) $(am__EXEEXT_366) $(am__EXEEXT_367) \ + $(am__EXEEXT_368) $(am__EXEEXT_369) $(am__EXEEXT_370) \ + $(am__EXEEXT_371) $(am__EXEEXT_372) $(am__EXEEXT_373) \ + $(am__EXEEXT_374) $(am__EXEEXT_375) $(am__EXEEXT_376) \ + $(am__EXEEXT_377) $(am__EXEEXT_378) $(am__EXEEXT_379) \ + $(am__EXEEXT_380) $(am__EXEEXT_381) $(am__EXEEXT_382) \ + $(am__EXEEXT_383) $(am__EXEEXT_384) $(am__EXEEXT_385) \ + $(am__EXEEXT_386) $(am__EXEEXT_387) $(am__EXEEXT_388) \ + $(am__EXEEXT_389) $(am__EXEEXT_390) $(am__EXEEXT_391) \ + $(am__EXEEXT_392) $(am__EXEEXT_393) $(am__EXEEXT_394) \ + $(am__EXEEXT_395) $(am__EXEEXT_396) $(am__EXEEXT_397) \ + $(am__EXEEXT_398) $(am__EXEEXT_399) $(am__EXEEXT_400) \ + $(am__EXEEXT_401) $(am__EXEEXT_402) $(am__EXEEXT_403) \ + $(am__EXEEXT_404) $(am__EXEEXT_405) $(am__EXEEXT_406) \ + $(am__EXEEXT_407) $(am__EXEEXT_408) $(am__EXEEXT_409) \ + $(am__EXEEXT_410) $(am__EXEEXT_411) $(am__EXEEXT_412) \ + $(am__EXEEXT_413) $(am__EXEEXT_414) $(am__EXEEXT_415) \ + $(am__EXEEXT_416) $(am__EXEEXT_417) $(am__EXEEXT_418) \ + $(am__EXEEXT_419) $(am__EXEEXT_420) $(am__EXEEXT_421) \ + $(am__EXEEXT_422) $(am__EXEEXT_423) $(am__EXEEXT_424) \ + $(am__EXEEXT_425) $(am__EXEEXT_426) $(am__EXEEXT_427) \ + $(am__EXEEXT_428) $(am__EXEEXT_429) $(am__EXEEXT_430) \ + $(am__EXEEXT_431) $(am__EXEEXT_432) $(am__EXEEXT_433) \ + $(am__EXEEXT_434) $(am__EXEEXT_435) $(am__EXEEXT_436) \ + $(am__EXEEXT_437) $(am__EXEEXT_438) $(am__EXEEXT_439) \ + $(am__EXEEXT_440) $(am__EXEEXT_441) $(am__EXEEXT_442) \ + $(am__EXEEXT_443) $(am__EXEEXT_444) $(am__EXEEXT_445) \ + $(am__EXEEXT_446) $(am__EXEEXT_447) $(am__EXEEXT_448) \ + $(am__EXEEXT_449) $(am__EXEEXT_450) $(am__EXEEXT_451) \ + $(am__EXEEXT_452) $(am__EXEEXT_453) $(am__EXEEXT_454) \ + $(am__EXEEXT_455) $(am__EXEEXT_456) $(am__EXEEXT_457) \ + $(am__EXEEXT_458) $(am__EXEEXT_459) $(am__EXEEXT_460) \ + $(am__EXEEXT_461) $(am__EXEEXT_462) $(am__EXEEXT_463) \ + $(am__EXEEXT_464) $(am__EXEEXT_465) $(am__EXEEXT_466) \ + $(am__EXEEXT_467) $(am__EXEEXT_468) $(am__EXEEXT_469) \ + $(am__EXEEXT_470) $(am__EXEEXT_471) $(am__EXEEXT_472) \ + $(am__EXEEXT_473) $(am__EXEEXT_474) $(am__EXEEXT_475) \ + $(am__EXEEXT_476) $(am__EXEEXT_477) $(am__EXEEXT_478) \ + $(am__EXEEXT_479) $(am__EXEEXT_480) $(am__EXEEXT_481) \ + $(am__EXEEXT_482) $(am__EXEEXT_483) $(am__EXEEXT_484) \ + $(am__EXEEXT_485) $(am__EXEEXT_486) $(am__EXEEXT_487) \ + $(am__EXEEXT_488) $(am__EXEEXT_489) $(am__EXEEXT_490) \ + $(am__EXEEXT_491) $(am__EXEEXT_492) $(am__EXEEXT_493) \ + $(am__EXEEXT_494) $(am__EXEEXT_495) $(am__EXEEXT_496) \ + $(am__EXEEXT_497) $(am__EXEEXT_498) $(am__EXEEXT_499) \ + $(am__EXEEXT_500) $(am__EXEEXT_501) $(am__EXEEXT_502) \ + $(am__EXEEXT_503) $(am__EXEEXT_504) $(am__EXEEXT_505) \ + $(am__EXEEXT_506) $(am__EXEEXT_507) $(am__EXEEXT_508) \ + $(am__EXEEXT_509) $(am__EXEEXT_510) $(am__EXEEXT_511) \ + $(am__EXEEXT_512) $(am__EXEEXT_513) $(am__EXEEXT_514) \ + $(am__EXEEXT_515) $(am__EXEEXT_516) $(am__EXEEXT_517) \ + $(am__EXEEXT_518) $(am__EXEEXT_519) $(am__EXEEXT_520) \ + $(am__EXEEXT_521) $(am__EXEEXT_522) $(am__EXEEXT_523) \ + $(am__EXEEXT_524) $(am__EXEEXT_525) $(am__EXEEXT_526) \ + $(am__EXEEXT_527) $(am__EXEEXT_528) $(am__EXEEXT_529) \ + $(am__EXEEXT_530) $(am__EXEEXT_531) $(am__EXEEXT_532) \ + $(am__EXEEXT_533) $(am__EXEEXT_534) $(am__EXEEXT_535) \ + $(am__EXEEXT_536) $(am__EXEEXT_537) $(am__EXEEXT_538) \ + $(am__EXEEXT_539) $(am__EXEEXT_540) $(am__EXEEXT_541) \ + $(am__EXEEXT_542) $(am__EXEEXT_543) $(am__EXEEXT_544) \ + $(am__EXEEXT_545) $(am__EXEEXT_546) $(am__EXEEXT_547) \ + $(am__EXEEXT_548) $(am__EXEEXT_549) $(am__EXEEXT_550) \ + $(am__EXEEXT_551) $(am__EXEEXT_552) $(am__EXEEXT_553) \ + $(am__EXEEXT_554) $(am__EXEEXT_555) $(am__EXEEXT_556) \ + $(am__EXEEXT_557) $(am__EXEEXT_558) $(am__EXEEXT_559) \ + $(am__EXEEXT_560) $(am__EXEEXT_561) $(am__EXEEXT_562) \ + $(am__EXEEXT_563) $(am__EXEEXT_564) $(am__EXEEXT_565) \ + $(am__EXEEXT_566) $(am__EXEEXT_567) $(am__EXEEXT_568) \ + $(am__EXEEXT_569) $(am__EXEEXT_570) $(am__EXEEXT_571) \ + $(am__EXEEXT_572) $(am__EXEEXT_573) $(am__EXEEXT_574) \ + $(am__EXEEXT_575) $(am__EXEEXT_576) $(am__EXEEXT_577) \ + $(am__EXEEXT_578) $(am__EXEEXT_579) $(am__EXEEXT_580) \ + $(am__EXEEXT_581) $(am__EXEEXT_582) $(am__EXEEXT_583) \ + $(am__EXEEXT_584) $(am__EXEEXT_585) $(am__EXEEXT_586) \ + $(am__EXEEXT_587) $(am__EXEEXT_588) $(am__EXEEXT_589) \ + $(am__EXEEXT_590) $(am__EXEEXT_591) $(am__EXEEXT_592) \ + $(am__EXEEXT_593) $(am__EXEEXT_594) $(am__EXEEXT_595) \ + $(am__EXEEXT_596) $(am__EXEEXT_597) $(am__EXEEXT_598) \ + $(am__EXEEXT_599) $(am__EXEEXT_600) $(am__EXEEXT_601) \ + $(am__EXEEXT_602) $(am__EXEEXT_603) $(am__EXEEXT_604) \ + $(am__EXEEXT_605) $(am__EXEEXT_606) $(am__EXEEXT_607) \ + $(am__EXEEXT_608) $(am__EXEEXT_609) $(am__EXEEXT_610) \ + $(am__EXEEXT_611) $(am__EXEEXT_612) $(am__EXEEXT_613) \ + $(am__EXEEXT_614) $(am__EXEEXT_615) $(am__EXEEXT_616) \ + $(am__EXEEXT_617) $(am__EXEEXT_618) $(am__EXEEXT_619) \ + $(am__EXEEXT_620) $(am__EXEEXT_621) $(am__EXEEXT_622) \ + $(am__EXEEXT_623) $(am__EXEEXT_624) $(am__EXEEXT_625) \ + $(am__EXEEXT_626) $(am__EXEEXT_627) $(am__EXEEXT_628) \ + $(am__EXEEXT_629) $(am__EXEEXT_630) $(am__EXEEXT_631) \ + $(am__EXEEXT_632) $(am__EXEEXT_633) $(am__EXEEXT_634) \ + $(am__EXEEXT_635) $(am__EXEEXT_636) $(am__EXEEXT_637) \ + $(am__EXEEXT_638) $(am__EXEEXT_639) $(am__EXEEXT_640) \ + $(am__EXEEXT_641) $(am__EXEEXT_642) $(am__EXEEXT_643) \ + $(am__EXEEXT_644) $(am__EXEEXT_645) $(am__EXEEXT_646) \ + $(am__EXEEXT_647) $(am__EXEEXT_648) $(am__EXEEXT_649) \ + $(am__EXEEXT_650) $(am__EXEEXT_651) $(am__EXEEXT_652) \ + $(am__EXEEXT_653) $(am__EXEEXT_654) $(am__EXEEXT_655) \ + $(am__EXEEXT_656) $(am__EXEEXT_657) $(am__EXEEXT_658) \ + $(am__EXEEXT_659) $(am__EXEEXT_660) $(am__EXEEXT_661) \ + $(am__EXEEXT_662) $(am__EXEEXT_663) $(am__EXEEXT_664) \ + $(am__EXEEXT_665) $(am__EXEEXT_666) $(am__EXEEXT_667) \ + $(am__EXEEXT_668) $(am__EXEEXT_669) $(am__EXEEXT_670) \ + $(am__EXEEXT_671) $(am__EXEEXT_672) $(am__EXEEXT_673) \ + $(am__EXEEXT_674) $(am__EXEEXT_675) $(am__EXEEXT_676) \ + $(am__EXEEXT_677) $(am__EXEEXT_678) $(am__EXEEXT_679) \ + $(am__EXEEXT_680) $(am__EXEEXT_681) $(am__EXEEXT_682) \ + $(am__EXEEXT_683) $(am__EXEEXT_684) $(am__EXEEXT_685) \ + $(am__EXEEXT_686) $(am__EXEEXT_687) $(am__EXEEXT_688) \ + $(am__EXEEXT_689) $(am__EXEEXT_690) $(am__EXEEXT_691) \ + $(am__EXEEXT_692) $(am__EXEEXT_693) $(am__EXEEXT_694) \ + $(am__EXEEXT_695) $(am__EXEEXT_696) $(am__EXEEXT_697) \ + $(am__EXEEXT_698) $(am__EXEEXT_699) $(am__EXEEXT_700) \ + $(am__EXEEXT_701) $(am__EXEEXT_702) $(am__EXEEXT_703) \ + $(am__EXEEXT_704) $(am__EXEEXT_705) $(am__EXEEXT_706) \ + $(am__EXEEXT_707) $(am__EXEEXT_708) $(am__EXEEXT_709) \ + $(am__EXEEXT_710) $(am__EXEEXT_711) $(am__EXEEXT_712) \ + $(am__EXEEXT_713) $(am__EXEEXT_714) $(am__EXEEXT_715) \ + $(am__EXEEXT_716) $(am__EXEEXT_717) $(am__EXEEXT_718) \ + $(am__EXEEXT_719) $(am__EXEEXT_720) $(am__EXEEXT_721) \ + $(am__EXEEXT_722) $(am__EXEEXT_723) $(am__EXEEXT_724) \ + $(am__EXEEXT_725) $(am__EXEEXT_726) $(am__EXEEXT_727) \ + $(am__EXEEXT_728) $(am__EXEEXT_729) $(am__EXEEXT_730) \ + $(am__EXEEXT_731) $(am__EXEEXT_732) $(am__EXEEXT_733) \ + $(am__EXEEXT_734) $(am__EXEEXT_735) $(am__EXEEXT_736) \ + $(am__EXEEXT_737) $(am__EXEEXT_738) $(am__EXEEXT_739) \ + $(am__EXEEXT_740) $(am__EXEEXT_741) $(am__EXEEXT_742) \ + $(am__EXEEXT_743) $(am__EXEEXT_744) $(am__EXEEXT_745) \ + $(am__EXEEXT_746) $(am__EXEEXT_747) $(am__EXEEXT_748) \ + $(am__EXEEXT_749) $(am__EXEEXT_750) $(am__EXEEXT_751) \ + $(am__EXEEXT_752) $(am__EXEEXT_753) $(am__EXEEXT_754) \ + $(am__EXEEXT_755) $(am__EXEEXT_756) $(am__EXEEXT_757) \ + $(am__EXEEXT_758) $(am__EXEEXT_759) $(am__EXEEXT_760) \ + $(am__EXEEXT_761) $(am__EXEEXT_762) $(am__EXEEXT_763) \ + $(am__EXEEXT_764) $(am__EXEEXT_765) $(am__EXEEXT_766) \ + $(am__EXEEXT_767) $(am__EXEEXT_768) $(am__EXEEXT_769) \ + $(am__EXEEXT_770) $(am__EXEEXT_771) $(am__EXEEXT_772) \ + $(am__EXEEXT_773) $(am__EXEEXT_774) $(am__EXEEXT_775) \ + $(am__EXEEXT_776) $(am__EXEEXT_777) $(am__EXEEXT_778) \ + $(am__EXEEXT_779) $(am__EXEEXT_780) $(am__EXEEXT_781) \ + $(am__EXEEXT_782) $(am__EXEEXT_783) $(am__EXEEXT_784) \ + $(am__EXEEXT_785) $(am__EXEEXT_786) $(am__EXEEXT_787) \ + $(am__EXEEXT_788) $(am__EXEEXT_789) $(am__EXEEXT_790) \ + $(am__EXEEXT_791) $(am__EXEEXT_792) $(am__EXEEXT_793) \ + $(am__EXEEXT_794) $(am__EXEEXT_795) $(am__EXEEXT_796) \ + $(am__EXEEXT_797) $(am__EXEEXT_798) $(am__EXEEXT_799) \ + $(am__EXEEXT_800) $(am__EXEEXT_801) $(am__EXEEXT_802) \ + $(am__EXEEXT_803) $(am__EXEEXT_804) $(am__EXEEXT_805) \ + $(am__EXEEXT_806) $(am__EXEEXT_807) $(am__EXEEXT_808) \ + $(am__EXEEXT_809) $(am__EXEEXT_810) $(am__EXEEXT_811) \ + $(am__EXEEXT_812) $(am__EXEEXT_813) $(am__EXEEXT_814) \ + $(am__EXEEXT_815) $(am__EXEEXT_816) $(am__EXEEXT_817) \ + $(am__EXEEXT_818) $(am__EXEEXT_819) $(am__EXEEXT_820) \ + $(am__EXEEXT_821) $(am__EXEEXT_822) $(am__EXEEXT_823) \ + $(am__EXEEXT_824) $(am__EXEEXT_825) $(am__EXEEXT_826) \ + $(am__EXEEXT_827) $(am__EXEEXT_828) $(am__EXEEXT_829) \ + $(am__EXEEXT_830) $(am__EXEEXT_831) $(am__EXEEXT_832) \ + $(am__EXEEXT_833) $(am__EXEEXT_834) $(am__EXEEXT_835) \ + $(am__EXEEXT_836) $(am__EXEEXT_837) $(am__EXEEXT_838) \ + $(am__EXEEXT_839) $(am__EXEEXT_840) $(am__EXEEXT_841) \ + $(am__EXEEXT_842) $(am__EXEEXT_843) $(am__EXEEXT_844) \ + $(am__EXEEXT_845) $(am__EXEEXT_846) $(am__EXEEXT_847) \ + $(am__EXEEXT_848) $(am__EXEEXT_849) $(am__EXEEXT_850) \ + $(am__EXEEXT_851) $(am__EXEEXT_852) $(am__EXEEXT_853) \ + $(am__EXEEXT_854) $(am__EXEEXT_855) $(am__EXEEXT_856) \ + $(am__EXEEXT_857) $(am__EXEEXT_858) $(am__EXEEXT_859) \ + $(am__EXEEXT_860) $(am__EXEEXT_861) $(am__EXEEXT_862) \ + $(am__EXEEXT_863) $(am__EXEEXT_864) $(am__EXEEXT_865) \ + $(am__EXEEXT_866) $(am__EXEEXT_867) $(am__EXEEXT_868) \ + $(am__EXEEXT_869) $(am__EXEEXT_870) $(am__EXEEXT_871) \ + $(am__EXEEXT_872) $(am__EXEEXT_873) $(am__EXEEXT_874) \ + $(am__EXEEXT_875) $(am__EXEEXT_876) $(am__EXEEXT_877) \ + $(am__EXEEXT_878) $(am__EXEEXT_879) $(am__EXEEXT_880) \ + $(am__EXEEXT_881) $(am__EXEEXT_882) $(am__EXEEXT_883) \ + $(am__EXEEXT_884) $(am__EXEEXT_885) $(am__EXEEXT_886) \ + $(am__EXEEXT_887) $(am__EXEEXT_888) $(am__EXEEXT_889) \ + $(am__EXEEXT_890) $(am__EXEEXT_891) $(am__EXEEXT_892) \ + $(am__EXEEXT_893) $(am__EXEEXT_894) $(am__EXEEXT_895) \ + $(am__EXEEXT_896) $(am__EXEEXT_897) $(am__EXEEXT_898) \ + $(am__EXEEXT_899) $(am__EXEEXT_900) $(am__EXEEXT_901) \ + $(am__EXEEXT_902) $(am__EXEEXT_903) $(am__EXEEXT_904) \ + $(am__EXEEXT_905) $(am__EXEEXT_906) $(am__EXEEXT_907) \ + $(am__EXEEXT_908) $(am__EXEEXT_909) $(am__EXEEXT_910) \ + $(am__EXEEXT_911) $(am__EXEEXT_912) $(am__EXEEXT_913) \ + $(am__EXEEXT_914) $(am__EXEEXT_915) $(am__EXEEXT_916) \ + $(am__EXEEXT_917) $(am__EXEEXT_918) $(am__EXEEXT_919) \ + $(am__EXEEXT_920) $(am__EXEEXT_921) $(am__EXEEXT_922) \ + $(am__EXEEXT_923) $(am__EXEEXT_924) $(am__EXEEXT_925) \ + $(am__EXEEXT_926) $(am__EXEEXT_927) $(am__EXEEXT_928) \ + $(am__EXEEXT_929) $(am__EXEEXT_930) $(am__EXEEXT_931) \ + $(am__EXEEXT_932) $(am__EXEEXT_933) $(am__EXEEXT_934) \ + $(am__EXEEXT_935) $(am__EXEEXT_936) $(am__EXEEXT_937) \ + $(am__EXEEXT_938) $(am__EXEEXT_939) $(am__EXEEXT_940) \ + $(am__EXEEXT_941) $(am__EXEEXT_942) $(am__EXEEXT_943) \ + $(am__EXEEXT_944) $(am__EXEEXT_945) $(am__EXEEXT_946) \ + $(am__EXEEXT_947) $(am__EXEEXT_948) $(am__EXEEXT_949) \ + $(am__EXEEXT_950) $(am__EXEEXT_951) $(am__EXEEXT_952) \ + $(am__EXEEXT_953) $(am__EXEEXT_954) $(am__EXEEXT_955) \ + $(am__EXEEXT_956) $(am__EXEEXT_957) $(am__EXEEXT_958) \ + $(am__EXEEXT_959) $(am__EXEEXT_960) $(am__EXEEXT_961) \ + $(am__EXEEXT_962) $(am__EXEEXT_963) $(am__EXEEXT_964) \ + $(am__EXEEXT_965) $(am__EXEEXT_966) $(am__EXEEXT_967) \ + $(am__EXEEXT_968) $(am__EXEEXT_969) $(am__EXEEXT_970) \ + $(am__EXEEXT_971) $(am__EXEEXT_972) $(am__EXEEXT_973) \ + $(am__EXEEXT_974) $(am__EXEEXT_975) $(am__EXEEXT_976) \ + $(am__EXEEXT_977) $(am__EXEEXT_978) $(am__EXEEXT_979) \ + $(am__EXEEXT_980) $(am__EXEEXT_981) $(am__EXEEXT_982) \ + $(am__EXEEXT_983) $(am__EXEEXT_984) $(am__EXEEXT_985) \ + $(am__EXEEXT_986) $(am__EXEEXT_987) $(am__EXEEXT_988) \ + $(am__EXEEXT_989) $(am__EXEEXT_990) $(am__EXEEXT_991) \ + $(am__EXEEXT_992) $(am__EXEEXT_993) $(am__EXEEXT_994) \ + $(am__EXEEXT_995) $(am__EXEEXT_996) $(am__EXEEXT_997) \ + $(am__EXEEXT_998) $(am__EXEEXT_999) $(am__EXEEXT_1000) \ + $(am__EXEEXT_1001) $(am__EXEEXT_1002) $(am__EXEEXT_1003) \ + $(am__EXEEXT_1004) $(am__EXEEXT_1005) $(am__EXEEXT_1006) \ + $(am__EXEEXT_1007) $(am__EXEEXT_1008) $(am__EXEEXT_1009) \ + $(am__EXEEXT_1010) $(am__EXEEXT_1011) $(am__EXEEXT_1012) \ + $(am__EXEEXT_1013) $(am__EXEEXT_1014) $(am__EXEEXT_1015) \ + $(am__EXEEXT_1016) $(am__EXEEXT_1017) $(am__EXEEXT_1018) \ + $(am__EXEEXT_1019) $(am__EXEEXT_1020) $(am__EXEEXT_1021) \ + $(am__EXEEXT_1022) $(am__EXEEXT_1023) $(am__EXEEXT_1024) \ + $(am__EXEEXT_1025) $(am__EXEEXT_1026) $(am__EXEEXT_1027) \ + $(am__EXEEXT_1028) $(am__EXEEXT_1029) $(am__EXEEXT_1030) \ + $(am__EXEEXT_1031) $(am__EXEEXT_1032) $(am__EXEEXT_1033) \ + $(am__EXEEXT_1034) $(am__EXEEXT_1035) $(am__EXEEXT_1036) \ + $(am__EXEEXT_1037) $(am__EXEEXT_1038) $(am__EXEEXT_1039) \ + $(am__EXEEXT_1040) $(am__EXEEXT_1041) $(am__EXEEXT_1042) \ + $(am__EXEEXT_1043) $(am__EXEEXT_1044) $(am__EXEEXT_1045) \ + $(am__EXEEXT_1046) $(am__EXEEXT_1047) $(am__EXEEXT_1048) \ + $(am__EXEEXT_1049) $(am__EXEEXT_1050) $(am__EXEEXT_1051) \ + $(am__EXEEXT_1052) $(am__EXEEXT_1053) $(am__EXEEXT_1054) \ + $(am__EXEEXT_1055) $(am__EXEEXT_1056) $(am__EXEEXT_1057) \ + $(am__EXEEXT_1058) $(am__EXEEXT_1059) $(am__EXEEXT_1060) \ + $(am__EXEEXT_1061) $(am__EXEEXT_1062) $(am__EXEEXT_1063) \ + $(am__EXEEXT_1064) $(am__EXEEXT_1065) $(am__EXEEXT_1066) \ + $(am__EXEEXT_1067) $(am__EXEEXT_1068) $(am__EXEEXT_1069) \ + $(am__EXEEXT_1070) $(am__EXEEXT_1071) $(am__EXEEXT_1072) \ + $(am__EXEEXT_1073) $(am__EXEEXT_1074) $(am__EXEEXT_1075) \ + $(am__EXEEXT_1076) $(am__EXEEXT_1077) $(am__EXEEXT_1078) \ + $(am__EXEEXT_1079) $(am__EXEEXT_1080) $(am__EXEEXT_1081) \ + $(am__EXEEXT_1082) $(am__EXEEXT_1083) $(am__EXEEXT_1084) \ + $(am__EXEEXT_1085) $(am__EXEEXT_1086) $(am__EXEEXT_1087) \ + $(am__EXEEXT_1088) $(am__EXEEXT_1089) $(am__EXEEXT_1090) \ + $(am__EXEEXT_1091) $(am__EXEEXT_1092) $(am__EXEEXT_1093) \ + $(am__EXEEXT_1094) $(am__EXEEXT_1095) $(am__EXEEXT_1096) \ + $(am__EXEEXT_1097) $(am__EXEEXT_1098) $(am__EXEEXT_1099) \ + $(am__EXEEXT_1100) $(am__EXEEXT_1101) $(am__EXEEXT_1102) \ + $(am__EXEEXT_1103) $(am__EXEEXT_1104) $(am__EXEEXT_1105) \ + $(am__EXEEXT_1106) $(am__EXEEXT_1107) $(am__EXEEXT_1108) \ + $(am__EXEEXT_1109) $(am__EXEEXT_1110) $(am__EXEEXT_1111) \ + $(am__EXEEXT_1112) $(am__EXEEXT_1113) $(am__EXEEXT_1114) \ + $(am__EXEEXT_1115) $(am__EXEEXT_1116) $(am__EXEEXT_1117) \ + $(am__EXEEXT_1118) $(am__EXEEXT_1119) $(am__EXEEXT_1120) \ + $(am__EXEEXT_1121) $(am__EXEEXT_1122) $(am__EXEEXT_1123) \ + $(am__EXEEXT_1124) $(am__EXEEXT_1125) $(am__EXEEXT_1126) \ + $(am__EXEEXT_1127) $(am__EXEEXT_1128) $(am__EXEEXT_1129) \ + $(am__EXEEXT_1130) $(am__EXEEXT_1131) $(am__EXEEXT_1132) \ + $(am__EXEEXT_1133) $(am__EXEEXT_1134) $(am__EXEEXT_1135) \ + $(am__EXEEXT_1136) $(am__EXEEXT_1137) $(am__EXEEXT_1138) \ + $(am__EXEEXT_1139) $(am__EXEEXT_1140) $(am__EXEEXT_1141) \ + $(am__EXEEXT_1142) $(am__EXEEXT_1143) $(am__EXEEXT_1144) \ + $(am__EXEEXT_1145) $(am__EXEEXT_1146) $(am__EXEEXT_1147) \ + $(am__EXEEXT_1148) $(am__EXEEXT_1149) $(am__EXEEXT_1150) \ + $(am__EXEEXT_1151) $(am__EXEEXT_1152) $(am__EXEEXT_1153) \ + $(am__EXEEXT_1154) $(am__EXEEXT_1155) $(am__EXEEXT_1156) \ + $(am__EXEEXT_1157) $(am__EXEEXT_1158) $(am__EXEEXT_1159) \ + $(am__EXEEXT_1160) $(am__EXEEXT_1161) $(am__EXEEXT_1162) \ + $(am__EXEEXT_1163) $(am__EXEEXT_1164) $(am__EXEEXT_1165) \ + $(am__EXEEXT_1166) $(am__EXEEXT_1167) $(am__EXEEXT_1168) \ + $(am__EXEEXT_1169) $(am__EXEEXT_1170) $(am__EXEEXT_1171) \ + $(am__EXEEXT_1172) $(am__EXEEXT_1173) $(am__EXEEXT_1174) \ + $(am__EXEEXT_1175) $(am__EXEEXT_1176) $(am__EXEEXT_1177) \ + $(am__EXEEXT_1178) $(am__EXEEXT_1179) $(am__EXEEXT_1180) \ + $(am__EXEEXT_1181) $(am__EXEEXT_1182) $(am__EXEEXT_1183) \ + $(am__EXEEXT_1184) $(am__EXEEXT_1185) $(am__EXEEXT_1186) \ + $(am__EXEEXT_1187) $(am__EXEEXT_1188) $(am__EXEEXT_1189) \ + $(am__EXEEXT_1190) $(am__EXEEXT_1191) $(am__EXEEXT_1192) \ + $(am__EXEEXT_1193) $(am__EXEEXT_1194) $(am__EXEEXT_1195) \ + $(am__EXEEXT_1196) $(am__EXEEXT_1197) $(am__EXEEXT_1198) \ + $(am__EXEEXT_1199) $(am__EXEEXT_1200) $(am__EXEEXT_1201) \ + $(am__EXEEXT_1202) $(am__EXEEXT_1203) $(am__EXEEXT_1204) \ + $(am__EXEEXT_1205) $(am__EXEEXT_1206) $(am__EXEEXT_1207) \ + $(am__EXEEXT_1208) $(am__EXEEXT_1209) $(am__EXEEXT_1210) \ + $(am__EXEEXT_1211) $(am__EXEEXT_1212) $(am__EXEEXT_1213) \ + $(am__EXEEXT_1214) $(am__EXEEXT_1215) $(am__EXEEXT_1216) \ + $(am__EXEEXT_1217) $(am__EXEEXT_1218) $(am__EXEEXT_1219) \ + $(am__EXEEXT_1220) $(am__EXEEXT_1221) $(am__EXEEXT_1222) \ + $(am__EXEEXT_1223) $(am__EXEEXT_1224) $(am__EXEEXT_1225) \ + $(am__EXEEXT_1226) $(am__EXEEXT_1227) $(am__EXEEXT_1228) \ + $(am__EXEEXT_1229) $(am__EXEEXT_1230) $(am__EXEEXT_1231) \ + $(am__EXEEXT_1232) $(am__EXEEXT_1233) $(am__EXEEXT_1234) \ + $(am__EXEEXT_1235) $(am__EXEEXT_1236) $(am__EXEEXT_1237) \ + $(am__EXEEXT_1238) $(am__EXEEXT_1239) $(am__EXEEXT_1240) \ + $(am__EXEEXT_1241) $(am__EXEEXT_1242) $(am__EXEEXT_1243) \ + $(am__EXEEXT_1244) $(am__EXEEXT_1245) $(am__EXEEXT_1246) \ + $(am__EXEEXT_1247) $(am__EXEEXT_1248) $(am__EXEEXT_1249) \ + $(am__EXEEXT_1250) $(am__EXEEXT_1251) $(am__EXEEXT_1252) \ + $(am__EXEEXT_1253) $(am__EXEEXT_1254) $(am__EXEEXT_1255) \ + $(am__EXEEXT_1256) $(am__EXEEXT_1257) $(am__EXEEXT_1258) \ + $(am__EXEEXT_1259) $(am__EXEEXT_1260) $(am__EXEEXT_1261) \ + $(am__EXEEXT_1262) $(am__EXEEXT_1263) $(am__EXEEXT_1264) \ + $(am__EXEEXT_1265) $(am__EXEEXT_1266) $(am__EXEEXT_1267) \ + $(am__EXEEXT_1268) $(am__EXEEXT_1269) $(am__EXEEXT_1270) \ + $(am__EXEEXT_1271) $(am__EXEEXT_1272) $(am__EXEEXT_1273) \ + $(am__EXEEXT_1274) $(am__EXEEXT_1275) $(am__EXEEXT_1276) \ + $(am__EXEEXT_1277) $(am__EXEEXT_1278) $(am__EXEEXT_1279) \ + $(am__EXEEXT_1280) $(am__EXEEXT_1281) $(am__EXEEXT_1282) \ + $(am__EXEEXT_1283) $(am__EXEEXT_1284) $(am__EXEEXT_1285) \ + $(am__EXEEXT_1286) $(am__EXEEXT_1287) $(am__EXEEXT_1288) \ + $(am__EXEEXT_1289) $(am__EXEEXT_1290) $(am__EXEEXT_1291) \ + $(am__EXEEXT_1292) $(am__EXEEXT_1293) $(am__EXEEXT_1294) \ + $(am__EXEEXT_1295) $(am__EXEEXT_1296) $(am__EXEEXT_1297) \ + $(am__EXEEXT_1298) $(am__EXEEXT_1299) $(am__EXEEXT_1300) \ + $(am__EXEEXT_1301) $(am__EXEEXT_1302) $(am__EXEEXT_1303) \ + $(am__EXEEXT_1304) $(am__EXEEXT_1305) $(am__EXEEXT_1306) \ + $(am__EXEEXT_1307) $(am__EXEEXT_1308) $(am__EXEEXT_1309) \ + $(am__EXEEXT_1310) $(am__EXEEXT_1311) $(am__EXEEXT_1312) \ + $(am__EXEEXT_1313) $(am__EXEEXT_1314) $(am__EXEEXT_1315) \ + $(am__EXEEXT_1316) $(am__EXEEXT_1317) $(am__EXEEXT_1318) \ + $(am__EXEEXT_1319) $(am__EXEEXT_1320) $(am__EXEEXT_1321) \ + $(am__EXEEXT_1322) $(am__EXEEXT_1323) $(am__EXEEXT_1324) \ + $(am__EXEEXT_1325) $(am__EXEEXT_1326) $(am__EXEEXT_1327) \ + $(am__EXEEXT_1328) $(am__EXEEXT_1329) $(am__EXEEXT_1330) \ + $(am__EXEEXT_1331) $(am__EXEEXT_1332) $(am__EXEEXT_1333) \ + $(am__EXEEXT_1334) $(am__EXEEXT_1335) $(am__EXEEXT_1336) \ + $(am__EXEEXT_1337) $(am__EXEEXT_1338) $(am__EXEEXT_1339) \ + $(am__EXEEXT_1340) $(am__EXEEXT_1341) $(am__EXEEXT_1342) \ + $(am__EXEEXT_1343) $(am__EXEEXT_1344) $(am__EXEEXT_1345) \ + $(am__EXEEXT_1346) $(am__EXEEXT_1347) $(am__EXEEXT_1348) \ + $(am__EXEEXT_1349) $(am__EXEEXT_1350) $(am__EXEEXT_1351) \ + $(am__EXEEXT_1352) $(am__EXEEXT_1353) $(am__EXEEXT_1354) \ + $(am__EXEEXT_1355) $(am__EXEEXT_1356) $(am__EXEEXT_1357) \ + $(am__EXEEXT_1358) $(am__EXEEXT_1359) $(am__EXEEXT_1360) \ + $(am__EXEEXT_1361) $(am__EXEEXT_1362) $(am__EXEEXT_1363) \ + $(am__EXEEXT_1364) $(am__EXEEXT_1365) $(am__EXEEXT_1366) \ + $(am__EXEEXT_1367) $(am__EXEEXT_1368) $(am__EXEEXT_1369) \ + $(am__EXEEXT_1370) $(am__EXEEXT_1371) $(am__EXEEXT_1372) \ + $(am__EXEEXT_1373) $(am__EXEEXT_1374) $(am__EXEEXT_1375) \ + $(am__EXEEXT_1376) $(am__EXEEXT_1377) $(am__EXEEXT_1378) \ + $(am__EXEEXT_1379) $(am__EXEEXT_1380) $(am__EXEEXT_1381) \ + $(am__EXEEXT_1382) $(am__EXEEXT_1383) $(am__EXEEXT_1384) \ + $(am__EXEEXT_1385) $(am__EXEEXT_1386) $(am__EXEEXT_1387) \ + $(am__EXEEXT_1388) $(am__EXEEXT_1389) $(am__EXEEXT_1390) \ + $(am__EXEEXT_1391) $(am__EXEEXT_1392) $(am__EXEEXT_1393) \ + $(am__EXEEXT_1394) $(am__EXEEXT_1395) $(am__EXEEXT_1396) \ + $(am__EXEEXT_1397) $(am__EXEEXT_1398) $(am__EXEEXT_1399) \ + $(am__EXEEXT_1400) $(am__EXEEXT_1401) $(am__EXEEXT_1402) \ + $(am__EXEEXT_1403) $(am__EXEEXT_1404) $(am__EXEEXT_1405) \ + $(am__EXEEXT_1406) $(am__EXEEXT_1407) $(am__EXEEXT_1408) \ + $(am__EXEEXT_1409) $(am__EXEEXT_1410) $(am__EXEEXT_1411) \ + $(am__EXEEXT_1412) $(am__EXEEXT_1413) $(am__EXEEXT_1414) \ + $(am__EXEEXT_1415) $(am__EXEEXT_1416) $(am__EXEEXT_1417) \ + $(am__EXEEXT_1418) $(am__EXEEXT_1419) $(am__EXEEXT_1420) \ + $(am__EXEEXT_1421) $(am__EXEEXT_1422) $(am__EXEEXT_1423) \ + $(am__EXEEXT_1424) $(am__EXEEXT_1425) $(am__EXEEXT_1426) \ + $(am__EXEEXT_1427) $(am__EXEEXT_1428) $(am__EXEEXT_1429) \ + $(am__EXEEXT_1430) $(am__EXEEXT_1431) $(am__EXEEXT_1432) \ + $(am__EXEEXT_1433) $(am__EXEEXT_1434) $(am__EXEEXT_1435) \ + $(am__EXEEXT_1436) $(am__EXEEXT_1437) $(am__EXEEXT_1438) \ + $(am__EXEEXT_1439) $(am__EXEEXT_1440) $(am__EXEEXT_1441) \ + $(am__EXEEXT_1442) $(am__EXEEXT_1443) $(am__EXEEXT_1444) \ + $(am__EXEEXT_1445) $(am__EXEEXT_1446) $(am__EXEEXT_1447) \ + $(am__EXEEXT_1448) $(am__EXEEXT_1449) $(am__EXEEXT_1450) \ + $(am__EXEEXT_1451) $(am__EXEEXT_1452) $(am__EXEEXT_1453) \ + $(am__EXEEXT_1454) $(am__EXEEXT_1455) $(am__EXEEXT_1456) \ + $(am__EXEEXT_1457) $(am__EXEEXT_1458) $(am__EXEEXT_1459) \ + $(am__EXEEXT_1460) $(am__EXEEXT_1461) $(am__EXEEXT_1462) \ + $(am__EXEEXT_1463) $(am__EXEEXT_1464) $(am__EXEEXT_1465) \ + $(am__EXEEXT_1466) $(am__EXEEXT_1467) $(am__EXEEXT_1468) \ + $(am__EXEEXT_1469) $(am__EXEEXT_1470) $(am__EXEEXT_1471) \ + $(am__EXEEXT_1472) $(am__EXEEXT_1473) $(am__EXEEXT_1474) \ + $(am__EXEEXT_1475) $(am__EXEEXT_1476) $(am__EXEEXT_1477) \ + $(am__EXEEXT_1478) $(am__EXEEXT_1479) $(am__EXEEXT_1480) \ + $(am__EXEEXT_1481) $(am__EXEEXT_1482) $(am__EXEEXT_1483) \ + $(am__EXEEXT_1484) $(am__EXEEXT_1485) $(am__EXEEXT_1486) \ + $(am__EXEEXT_1487) $(am__EXEEXT_1488) $(am__EXEEXT_1489) \ + $(am__EXEEXT_1490) $(am__EXEEXT_1491) $(am__EXEEXT_1492) \ + $(am__EXEEXT_1493) $(am__EXEEXT_1494) $(am__EXEEXT_1495) \ + $(am__EXEEXT_1496) $(am__EXEEXT_1497) $(am__EXEEXT_1498) \ + $(am__EXEEXT_1499) $(am__EXEEXT_1500) $(am__EXEEXT_1501) \ + $(am__EXEEXT_1502) $(am__EXEEXT_1503) $(am__EXEEXT_1504) \ + $(am__EXEEXT_1505) $(am__EXEEXT_1506) $(am__EXEEXT_1507) \ + $(am__EXEEXT_1508) $(am__EXEEXT_1509) $(am__EXEEXT_1510) \ + $(am__EXEEXT_1511) $(am__EXEEXT_1512) $(am__EXEEXT_1513) \ + $(am__EXEEXT_1514) $(am__EXEEXT_1515) $(am__EXEEXT_1516) \ + $(am__EXEEXT_1517) $(am__EXEEXT_1518) $(am__EXEEXT_1519) \ + $(am__EXEEXT_1520) $(am__EXEEXT_1521) $(am__EXEEXT_1522) \ + $(am__EXEEXT_1523) $(am__EXEEXT_1524) $(am__EXEEXT_1525) \ + $(am__EXEEXT_1526) $(am__EXEEXT_1527) $(am__EXEEXT_1528) \ + $(am__EXEEXT_1529) $(am__EXEEXT_1530) $(am__EXEEXT_1531) \ + $(am__EXEEXT_1532) $(am__EXEEXT_1533) $(am__EXEEXT_1534) \ + $(am__EXEEXT_1535) $(am__EXEEXT_1536) $(am__EXEEXT_1537) \ + $(am__EXEEXT_1538) $(am__EXEEXT_1539) $(am__EXEEXT_1540) \ + $(am__EXEEXT_1541) $(am__EXEEXT_1542) $(am__EXEEXT_1543) \ + $(am__EXEEXT_1544) $(am__EXEEXT_1545) $(am__EXEEXT_1546) \ + $(am__EXEEXT_1547) $(am__EXEEXT_1548) $(am__EXEEXT_1549) \ + $(am__EXEEXT_1550) $(am__EXEEXT_1551) $(am__EXEEXT_1552) \ + $(am__EXEEXT_1553) $(am__EXEEXT_1554) $(am__EXEEXT_1555) \ + $(am__EXEEXT_1556) $(am__EXEEXT_1557) $(am__EXEEXT_1558) \ + $(am__EXEEXT_1559) $(am__EXEEXT_1560) $(am__EXEEXT_1561) \ + $(am__EXEEXT_1562) $(am__EXEEXT_1563) $(am__EXEEXT_1564) \ + $(am__EXEEXT_1565) $(am__EXEEXT_1566) $(am__EXEEXT_1567) \ + $(am__EXEEXT_1568) $(am__EXEEXT_1569) $(am__EXEEXT_1570) \ + $(am__EXEEXT_1571) $(am__EXEEXT_1572) $(am__EXEEXT_1573) \ + $(am__EXEEXT_1574) $(am__EXEEXT_1575) $(am__EXEEXT_1576) \ + $(am__EXEEXT_1577) $(am__EXEEXT_1578) $(am__EXEEXT_1579) \ + $(am__EXEEXT_1580) $(am__EXEEXT_1581) $(am__EXEEXT_1582) \ + $(am__EXEEXT_1583) $(am__EXEEXT_1584) $(am__EXEEXT_1585) \ + $(am__EXEEXT_1586) $(am__EXEEXT_1587) $(am__EXEEXT_1588) \ + $(am__EXEEXT_1589) $(am__EXEEXT_1590) $(am__EXEEXT_1591) \ + $(am__EXEEXT_1592) $(am__EXEEXT_1593) $(am__EXEEXT_1594) \ + $(am__EXEEXT_1595) $(am__EXEEXT_1596) $(am__EXEEXT_1597) \ + $(am__EXEEXT_1598) $(am__EXEEXT_1599) $(am__EXEEXT_1600) \ + $(am__EXEEXT_1601) $(am__EXEEXT_1602) $(am__EXEEXT_1603) \ + $(am__EXEEXT_1604) $(am__EXEEXT_1605) $(am__EXEEXT_1606) \ + $(am__EXEEXT_1607) $(am__EXEEXT_1608) $(am__EXEEXT_1609) \ + $(am__EXEEXT_1610) $(am__EXEEXT_1611) $(am__EXEEXT_1612) \ + $(am__EXEEXT_1613) $(am__EXEEXT_1614) $(am__EXEEXT_1615) \ + $(am__EXEEXT_1616) $(am__EXEEXT_1617) $(am__EXEEXT_1618) \ + $(am__EXEEXT_1619) $(am__EXEEXT_1620) $(am__EXEEXT_1621) \ + $(am__EXEEXT_1622) $(am__EXEEXT_1623) $(am__EXEEXT_1624) \ + $(am__EXEEXT_1625) $(am__EXEEXT_1626) $(am__EXEEXT_1627) \ + $(am__EXEEXT_1628) $(am__EXEEXT_1629) $(am__EXEEXT_1630) \ + $(am__EXEEXT_1631) $(am__EXEEXT_1632) $(am__EXEEXT_1633) \ + $(am__EXEEXT_1634) $(am__EXEEXT_1635) $(am__EXEEXT_1636) \ + $(am__EXEEXT_1637) $(am__EXEEXT_1638) $(am__EXEEXT_1639) \ + $(am__EXEEXT_1640) $(am__EXEEXT_1641) $(am__EXEEXT_1642) \ + $(am__EXEEXT_1643) $(am__EXEEXT_1644) $(am__EXEEXT_1645) \ + $(am__EXEEXT_1646) $(am__EXEEXT_1647) $(am__EXEEXT_1648) \ + $(am__EXEEXT_1649) $(am__EXEEXT_1650) $(am__EXEEXT_1651) \ + $(am__EXEEXT_1652) $(am__EXEEXT_1653) $(am__EXEEXT_1654) \ + $(am__EXEEXT_1655) $(am__EXEEXT_1656) $(am__EXEEXT_1657) \ + $(am__EXEEXT_1658) $(am__EXEEXT_1659) $(am__EXEEXT_1660) \ + $(am__EXEEXT_1661) $(am__EXEEXT_1662) $(am__EXEEXT_1663) \ + $(am__EXEEXT_1664) $(am__EXEEXT_1665) $(am__EXEEXT_1666) \ + $(am__EXEEXT_1667) $(am__EXEEXT_1668) $(am__EXEEXT_1669) \ + $(am__EXEEXT_1670) $(am__EXEEXT_1671) $(am__EXEEXT_1672) \ + $(am__EXEEXT_1673) $(am__EXEEXT_1674) $(am__EXEEXT_1675) \ + $(am__EXEEXT_1676) $(am__EXEEXT_1677) $(am__EXEEXT_1678) \ + $(am__EXEEXT_1679) $(am__EXEEXT_1680) $(am__EXEEXT_1681) \ + $(am__EXEEXT_1682) $(am__EXEEXT_1683) $(am__EXEEXT_1684) \ + $(am__EXEEXT_1685) $(am__EXEEXT_1686) $(am__EXEEXT_1687) \ + $(am__EXEEXT_1688) $(am__EXEEXT_1689) $(am__EXEEXT_1690) \ + $(am__EXEEXT_1691) $(am__EXEEXT_1692) $(am__EXEEXT_1693) \ + $(am__EXEEXT_1694) $(am__EXEEXT_1695) $(am__EXEEXT_1696) \ + $(am__EXEEXT_1697) $(am__EXEEXT_1698) $(am__EXEEXT_1699) \ + $(am__EXEEXT_1700) $(am__EXEEXT_1701) $(am__EXEEXT_1702) \ + $(am__EXEEXT_1703) $(am__EXEEXT_1704) $(am__EXEEXT_1705) \ + $(am__EXEEXT_1706) $(am__EXEEXT_1707) $(am__EXEEXT_1708) \ + $(am__EXEEXT_1709) $(am__EXEEXT_1710) $(am__EXEEXT_1711) \ + $(am__EXEEXT_1712) $(am__EXEEXT_1713) $(am__EXEEXT_1714) \ + $(am__EXEEXT_1715) $(am__EXEEXT_1716) $(am__EXEEXT_1717) \ + $(am__EXEEXT_1718) $(am__EXEEXT_1719) $(am__EXEEXT_1720) \ + $(am__EXEEXT_1721) $(am__EXEEXT_1722) $(am__EXEEXT_1723) \ + $(am__EXEEXT_1724) $(am__EXEEXT_1725) $(am__EXEEXT_1726) \ + $(am__EXEEXT_1727) $(am__EXEEXT_1728) $(am__EXEEXT_1729) \ + $(am__EXEEXT_1730) $(am__EXEEXT_1731) $(am__EXEEXT_1732) \ + $(am__EXEEXT_1733) $(am__EXEEXT_1734) $(am__EXEEXT_1735) \ + $(am__EXEEXT_1736) $(am__EXEEXT_1737) $(am__EXEEXT_1738) \ + $(am__EXEEXT_1739) $(am__EXEEXT_1740) $(am__EXEEXT_1741) \ + $(am__EXEEXT_1742) $(am__EXEEXT_1743) $(am__EXEEXT_1744) \ + $(am__EXEEXT_1745) $(am__EXEEXT_1746) $(am__EXEEXT_1747) \ + $(am__EXEEXT_1748) $(am__EXEEXT_1749) $(am__EXEEXT_1750) \ + $(am__EXEEXT_1751) +TESTS = +@COND_GRUB_MKFONT_TRUE@@COND_HAVE_FONT_SOURCE_TRUE@am__append_9 = -DUSE_ASCII_FAILBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1 +@COND_emu_TRUE@am__append_10 = trig.module +@COND_emu_TRUE@am__append_11 = trig.module$(EXEEXT) +@COND_emu_TRUE@am__append_12 = gentrigtables.c +@COND_emu_TRUE@am__append_13 = $(nodist_trig_module_SOURCES) +@COND_emu_TRUE@am__append_14 = $(nodist_trig_module_SOURCES) \ +@COND_emu_TRUE@ trig.marker +@COND_emu_TRUE@am__append_15 = trig.mod +@COND_emu_TRUE@am__append_16 = trig.marker +@COND_i386_pc_TRUE@am__append_17 = trig.module +@COND_i386_pc_TRUE@am__append_18 = trig.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_19 = gentrigtables.c +@COND_i386_pc_TRUE@am__append_20 = $(nodist_trig_module_SOURCES) +@COND_i386_pc_TRUE@am__append_21 = $(nodist_trig_module_SOURCES) \ +@COND_i386_pc_TRUE@ trig.marker +@COND_i386_pc_TRUE@am__append_22 = trig.mod +@COND_i386_pc_TRUE@am__append_23 = trig.marker +@COND_i386_efi_TRUE@am__append_24 = trig.module +@COND_i386_efi_TRUE@am__append_25 = trig.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_26 = gentrigtables.c +@COND_i386_efi_TRUE@am__append_27 = $(nodist_trig_module_SOURCES) +@COND_i386_efi_TRUE@am__append_28 = $(nodist_trig_module_SOURCES) \ +@COND_i386_efi_TRUE@ trig.marker +@COND_i386_efi_TRUE@am__append_29 = trig.mod +@COND_i386_efi_TRUE@am__append_30 = trig.marker +@COND_i386_qemu_TRUE@am__append_31 = trig.module +@COND_i386_qemu_TRUE@am__append_32 = trig.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_33 = gentrigtables.c +@COND_i386_qemu_TRUE@am__append_34 = $(nodist_trig_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_35 = $(nodist_trig_module_SOURCES) \ +@COND_i386_qemu_TRUE@ trig.marker +@COND_i386_qemu_TRUE@am__append_36 = trig.mod +@COND_i386_qemu_TRUE@am__append_37 = trig.marker +@COND_i386_coreboot_TRUE@am__append_38 = trig.module +@COND_i386_coreboot_TRUE@am__append_39 = trig.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_40 = gentrigtables.c +@COND_i386_coreboot_TRUE@am__append_41 = $(nodist_trig_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_42 = \ +@COND_i386_coreboot_TRUE@ $(nodist_trig_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ trig.marker +@COND_i386_coreboot_TRUE@am__append_43 = trig.mod +@COND_i386_coreboot_TRUE@am__append_44 = trig.marker +@COND_i386_multiboot_TRUE@am__append_45 = trig.module +@COND_i386_multiboot_TRUE@am__append_46 = trig.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_47 = gentrigtables.c +@COND_i386_multiboot_TRUE@am__append_48 = $(nodist_trig_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_49 = \ +@COND_i386_multiboot_TRUE@ $(nodist_trig_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ trig.marker +@COND_i386_multiboot_TRUE@am__append_50 = trig.mod +@COND_i386_multiboot_TRUE@am__append_51 = trig.marker +@COND_i386_ieee1275_TRUE@am__append_52 = trig.module +@COND_i386_ieee1275_TRUE@am__append_53 = trig.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_54 = gentrigtables.c +@COND_i386_ieee1275_TRUE@am__append_55 = $(nodist_trig_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_56 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_trig_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ trig.marker +@COND_i386_ieee1275_TRUE@am__append_57 = trig.mod +@COND_i386_ieee1275_TRUE@am__append_58 = trig.marker +@COND_x86_64_efi_TRUE@am__append_59 = trig.module +@COND_x86_64_efi_TRUE@am__append_60 = trig.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_61 = gentrigtables.c +@COND_x86_64_efi_TRUE@am__append_62 = $(nodist_trig_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_63 = $(nodist_trig_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ trig.marker +@COND_x86_64_efi_TRUE@am__append_64 = trig.mod +@COND_x86_64_efi_TRUE@am__append_65 = trig.marker +@COND_mips_yeeloong_TRUE@am__append_66 = trig.module +@COND_mips_yeeloong_TRUE@am__append_67 = trig.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_68 = gentrigtables.c +@COND_mips_yeeloong_TRUE@am__append_69 = $(nodist_trig_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_70 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_trig_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ trig.marker +@COND_mips_yeeloong_TRUE@am__append_71 = trig.mod +@COND_mips_yeeloong_TRUE@am__append_72 = trig.marker +@COND_sparc64_ieee1275_TRUE@am__append_73 = trig.module +@COND_sparc64_ieee1275_TRUE@am__append_74 = trig.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_75 = gentrigtables.c +@COND_sparc64_ieee1275_TRUE@am__append_76 = $(nodist_trig_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_77 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_trig_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ trig.marker +@COND_sparc64_ieee1275_TRUE@am__append_78 = trig.mod +@COND_sparc64_ieee1275_TRUE@am__append_79 = trig.marker +@COND_powerpc_ieee1275_TRUE@am__append_80 = trig.module +@COND_powerpc_ieee1275_TRUE@am__append_81 = trig.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_82 = gentrigtables.c +@COND_powerpc_ieee1275_TRUE@am__append_83 = $(nodist_trig_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_84 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_trig_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ trig.marker +@COND_powerpc_ieee1275_TRUE@am__append_85 = trig.mod +@COND_powerpc_ieee1275_TRUE@am__append_86 = trig.marker +@COND_i386_pc_TRUE@am__append_87 = cs5536.module +@COND_i386_pc_TRUE@am__append_88 = cs5536.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_89 = +@COND_i386_pc_TRUE@am__append_90 = $(nodist_cs5536_module_SOURCES) +@COND_i386_pc_TRUE@am__append_91 = $(nodist_cs5536_module_SOURCES) \ +@COND_i386_pc_TRUE@ cs5536.marker +@COND_i386_pc_TRUE@am__append_92 = cs5536.mod +@COND_i386_pc_TRUE@am__append_93 = cs5536.marker +@COND_i386_efi_TRUE@am__append_94 = cs5536.module +@COND_i386_efi_TRUE@am__append_95 = cs5536.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_96 = +@COND_i386_efi_TRUE@am__append_97 = $(nodist_cs5536_module_SOURCES) +@COND_i386_efi_TRUE@am__append_98 = $(nodist_cs5536_module_SOURCES) \ +@COND_i386_efi_TRUE@ cs5536.marker +@COND_i386_efi_TRUE@am__append_99 = cs5536.mod +@COND_i386_efi_TRUE@am__append_100 = cs5536.marker +@COND_i386_qemu_TRUE@am__append_101 = cs5536.module +@COND_i386_qemu_TRUE@am__append_102 = cs5536.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_103 = +@COND_i386_qemu_TRUE@am__append_104 = $(nodist_cs5536_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_105 = $(nodist_cs5536_module_SOURCES) \ +@COND_i386_qemu_TRUE@ cs5536.marker +@COND_i386_qemu_TRUE@am__append_106 = cs5536.mod +@COND_i386_qemu_TRUE@am__append_107 = cs5536.marker +@COND_i386_coreboot_TRUE@am__append_108 = cs5536.module +@COND_i386_coreboot_TRUE@am__append_109 = cs5536.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_110 = +@COND_i386_coreboot_TRUE@am__append_111 = $(nodist_cs5536_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_112 = \ +@COND_i386_coreboot_TRUE@ $(nodist_cs5536_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ cs5536.marker +@COND_i386_coreboot_TRUE@am__append_113 = cs5536.mod +@COND_i386_coreboot_TRUE@am__append_114 = cs5536.marker +@COND_i386_multiboot_TRUE@am__append_115 = cs5536.module +@COND_i386_multiboot_TRUE@am__append_116 = cs5536.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_117 = +@COND_i386_multiboot_TRUE@am__append_118 = $(nodist_cs5536_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_119 = \ +@COND_i386_multiboot_TRUE@ $(nodist_cs5536_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ cs5536.marker +@COND_i386_multiboot_TRUE@am__append_120 = cs5536.mod +@COND_i386_multiboot_TRUE@am__append_121 = cs5536.marker +@COND_i386_ieee1275_TRUE@am__append_122 = cs5536.module +@COND_i386_ieee1275_TRUE@am__append_123 = cs5536.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_124 = +@COND_i386_ieee1275_TRUE@am__append_125 = $(nodist_cs5536_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_126 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_cs5536_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ cs5536.marker +@COND_i386_ieee1275_TRUE@am__append_127 = cs5536.mod +@COND_i386_ieee1275_TRUE@am__append_128 = cs5536.marker +@COND_x86_64_efi_TRUE@am__append_129 = cs5536.module +@COND_x86_64_efi_TRUE@am__append_130 = cs5536.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_131 = +@COND_x86_64_efi_TRUE@am__append_132 = $(nodist_cs5536_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_133 = \ +@COND_x86_64_efi_TRUE@ $(nodist_cs5536_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ cs5536.marker +@COND_x86_64_efi_TRUE@am__append_134 = cs5536.mod +@COND_x86_64_efi_TRUE@am__append_135 = cs5536.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_136 = libusb.module +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_137 = libusb.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_138 = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_139 = $(nodist_libusb_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_140 = $(nodist_libusb_module_SOURCES) \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ libusb.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_141 = libusb.mod +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_142 = libusb.marker +@COND_mips_yeeloong_TRUE@am__append_143 = lsspd.module +@COND_mips_yeeloong_TRUE@am__append_144 = lsspd.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_145 = +@COND_mips_yeeloong_TRUE@am__append_146 = $(nodist_lsspd_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_147 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_lsspd_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ lsspd.marker +@COND_mips_yeeloong_TRUE@am__append_148 = lsspd.mod +@COND_mips_yeeloong_TRUE@am__append_149 = lsspd.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_150 = usb.module +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_151 = usb.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_152 = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_153 = $(nodist_usb_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_154 = $(nodist_usb_module_SOURCES) \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ usb.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_155 = usb.mod +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_156 = usb.marker +@COND_i386_pc_TRUE@am__append_157 = usb.module +@COND_i386_pc_TRUE@am__append_158 = usb.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_159 = +@COND_i386_pc_TRUE@am__append_160 = $(nodist_usb_module_SOURCES) +@COND_i386_pc_TRUE@am__append_161 = $(nodist_usb_module_SOURCES) \ +@COND_i386_pc_TRUE@ usb.marker +@COND_i386_pc_TRUE@am__append_162 = usb.mod +@COND_i386_pc_TRUE@am__append_163 = usb.marker +@COND_i386_efi_TRUE@am__append_164 = usb.module +@COND_i386_efi_TRUE@am__append_165 = usb.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_166 = +@COND_i386_efi_TRUE@am__append_167 = $(nodist_usb_module_SOURCES) +@COND_i386_efi_TRUE@am__append_168 = $(nodist_usb_module_SOURCES) \ +@COND_i386_efi_TRUE@ usb.marker +@COND_i386_efi_TRUE@am__append_169 = usb.mod +@COND_i386_efi_TRUE@am__append_170 = usb.marker +@COND_i386_qemu_TRUE@am__append_171 = usb.module +@COND_i386_qemu_TRUE@am__append_172 = usb.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_173 = +@COND_i386_qemu_TRUE@am__append_174 = $(nodist_usb_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_175 = $(nodist_usb_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usb.marker +@COND_i386_qemu_TRUE@am__append_176 = usb.mod +@COND_i386_qemu_TRUE@am__append_177 = usb.marker +@COND_i386_coreboot_TRUE@am__append_178 = usb.module +@COND_i386_coreboot_TRUE@am__append_179 = usb.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_180 = +@COND_i386_coreboot_TRUE@am__append_181 = $(nodist_usb_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_182 = \ +@COND_i386_coreboot_TRUE@ $(nodist_usb_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usb.marker +@COND_i386_coreboot_TRUE@am__append_183 = usb.mod +@COND_i386_coreboot_TRUE@am__append_184 = usb.marker +@COND_i386_multiboot_TRUE@am__append_185 = usb.module +@COND_i386_multiboot_TRUE@am__append_186 = usb.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_187 = +@COND_i386_multiboot_TRUE@am__append_188 = $(nodist_usb_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_189 = \ +@COND_i386_multiboot_TRUE@ $(nodist_usb_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usb.marker +@COND_i386_multiboot_TRUE@am__append_190 = usb.mod +@COND_i386_multiboot_TRUE@am__append_191 = usb.marker +@COND_i386_ieee1275_TRUE@am__append_192 = usb.module +@COND_i386_ieee1275_TRUE@am__append_193 = usb.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_194 = +@COND_i386_ieee1275_TRUE@am__append_195 = $(nodist_usb_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_196 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_usb_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usb.marker +@COND_i386_ieee1275_TRUE@am__append_197 = usb.mod +@COND_i386_ieee1275_TRUE@am__append_198 = usb.marker +@COND_x86_64_efi_TRUE@am__append_199 = usb.module +@COND_x86_64_efi_TRUE@am__append_200 = usb.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_201 = +@COND_x86_64_efi_TRUE@am__append_202 = $(nodist_usb_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_203 = $(nodist_usb_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usb.marker +@COND_x86_64_efi_TRUE@am__append_204 = usb.mod +@COND_x86_64_efi_TRUE@am__append_205 = usb.marker +@COND_mips_yeeloong_TRUE@am__append_206 = usb.module +@COND_mips_yeeloong_TRUE@am__append_207 = usb.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_208 = +@COND_mips_yeeloong_TRUE@am__append_209 = $(nodist_usb_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_210 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_usb_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usb.marker +@COND_mips_yeeloong_TRUE@am__append_211 = usb.mod +@COND_mips_yeeloong_TRUE@am__append_212 = usb.marker +@COND_i386_pc_TRUE@am__append_213 = usbserial_common.module +@COND_i386_pc_TRUE@am__append_214 = usbserial_common.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_215 = +@COND_i386_pc_TRUE@am__append_216 = $(nodist_usbserial_common_module_SOURCES) +@COND_i386_pc_TRUE@am__append_217 = \ +@COND_i386_pc_TRUE@ $(nodist_usbserial_common_module_SOURCES) \ +@COND_i386_pc_TRUE@ usbserial_common.marker +@COND_i386_pc_TRUE@am__append_218 = usbserial_common.mod +@COND_i386_pc_TRUE@am__append_219 = usbserial_common.marker +@COND_i386_efi_TRUE@am__append_220 = usbserial_common.module +@COND_i386_efi_TRUE@am__append_221 = usbserial_common.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_222 = +@COND_i386_efi_TRUE@am__append_223 = $(nodist_usbserial_common_module_SOURCES) +@COND_i386_efi_TRUE@am__append_224 = \ +@COND_i386_efi_TRUE@ $(nodist_usbserial_common_module_SOURCES) \ +@COND_i386_efi_TRUE@ usbserial_common.marker +@COND_i386_efi_TRUE@am__append_225 = usbserial_common.mod +@COND_i386_efi_TRUE@am__append_226 = usbserial_common.marker +@COND_i386_qemu_TRUE@am__append_227 = usbserial_common.module +@COND_i386_qemu_TRUE@am__append_228 = usbserial_common.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_229 = +@COND_i386_qemu_TRUE@am__append_230 = $(nodist_usbserial_common_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_231 = $(nodist_usbserial_common_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usbserial_common.marker +@COND_i386_qemu_TRUE@am__append_232 = usbserial_common.mod +@COND_i386_qemu_TRUE@am__append_233 = usbserial_common.marker +@COND_i386_coreboot_TRUE@am__append_234 = usbserial_common.module +@COND_i386_coreboot_TRUE@am__append_235 = usbserial_common.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_236 = +@COND_i386_coreboot_TRUE@am__append_237 = $(nodist_usbserial_common_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_238 = $(nodist_usbserial_common_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usbserial_common.marker +@COND_i386_coreboot_TRUE@am__append_239 = usbserial_common.mod +@COND_i386_coreboot_TRUE@am__append_240 = usbserial_common.marker +@COND_i386_multiboot_TRUE@am__append_241 = usbserial_common.module +@COND_i386_multiboot_TRUE@am__append_242 = usbserial_common.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_243 = +@COND_i386_multiboot_TRUE@am__append_244 = $(nodist_usbserial_common_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_245 = $(nodist_usbserial_common_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usbserial_common.marker +@COND_i386_multiboot_TRUE@am__append_246 = usbserial_common.mod +@COND_i386_multiboot_TRUE@am__append_247 = usbserial_common.marker +@COND_i386_ieee1275_TRUE@am__append_248 = usbserial_common.module +@COND_i386_ieee1275_TRUE@am__append_249 = usbserial_common.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_250 = +@COND_i386_ieee1275_TRUE@am__append_251 = $(nodist_usbserial_common_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_252 = $(nodist_usbserial_common_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usbserial_common.marker +@COND_i386_ieee1275_TRUE@am__append_253 = usbserial_common.mod +@COND_i386_ieee1275_TRUE@am__append_254 = usbserial_common.marker +@COND_x86_64_efi_TRUE@am__append_255 = usbserial_common.module +@COND_x86_64_efi_TRUE@am__append_256 = usbserial_common.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_257 = +@COND_x86_64_efi_TRUE@am__append_258 = $(nodist_usbserial_common_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_259 = $(nodist_usbserial_common_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usbserial_common.marker +@COND_x86_64_efi_TRUE@am__append_260 = usbserial_common.mod +@COND_x86_64_efi_TRUE@am__append_261 = usbserial_common.marker +@COND_mips_yeeloong_TRUE@am__append_262 = usbserial_common.module +@COND_mips_yeeloong_TRUE@am__append_263 = usbserial_common.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_264 = +@COND_mips_yeeloong_TRUE@am__append_265 = $(nodist_usbserial_common_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_266 = $(nodist_usbserial_common_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usbserial_common.marker +@COND_mips_yeeloong_TRUE@am__append_267 = usbserial_common.mod +@COND_mips_yeeloong_TRUE@am__append_268 = usbserial_common.marker +@COND_i386_pc_TRUE@am__append_269 = usbserial_pl2303.module +@COND_i386_pc_TRUE@am__append_270 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_271 = +@COND_i386_pc_TRUE@am__append_272 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_pc_TRUE@am__append_273 = \ +@COND_i386_pc_TRUE@ $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_i386_pc_TRUE@ usbserial_pl2303.marker +@COND_i386_pc_TRUE@am__append_274 = usbserial_pl2303.mod +@COND_i386_pc_TRUE@am__append_275 = usbserial_pl2303.marker +@COND_i386_efi_TRUE@am__append_276 = usbserial_pl2303.module +@COND_i386_efi_TRUE@am__append_277 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_278 = +@COND_i386_efi_TRUE@am__append_279 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_efi_TRUE@am__append_280 = \ +@COND_i386_efi_TRUE@ $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_i386_efi_TRUE@ usbserial_pl2303.marker +@COND_i386_efi_TRUE@am__append_281 = usbserial_pl2303.mod +@COND_i386_efi_TRUE@am__append_282 = usbserial_pl2303.marker +@COND_i386_qemu_TRUE@am__append_283 = usbserial_pl2303.module +@COND_i386_qemu_TRUE@am__append_284 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_285 = +@COND_i386_qemu_TRUE@am__append_286 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_287 = $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usbserial_pl2303.marker +@COND_i386_qemu_TRUE@am__append_288 = usbserial_pl2303.mod +@COND_i386_qemu_TRUE@am__append_289 = usbserial_pl2303.marker +@COND_i386_coreboot_TRUE@am__append_290 = usbserial_pl2303.module +@COND_i386_coreboot_TRUE@am__append_291 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_292 = +@COND_i386_coreboot_TRUE@am__append_293 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_294 = $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usbserial_pl2303.marker +@COND_i386_coreboot_TRUE@am__append_295 = usbserial_pl2303.mod +@COND_i386_coreboot_TRUE@am__append_296 = usbserial_pl2303.marker +@COND_i386_multiboot_TRUE@am__append_297 = usbserial_pl2303.module +@COND_i386_multiboot_TRUE@am__append_298 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_299 = +@COND_i386_multiboot_TRUE@am__append_300 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_301 = $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usbserial_pl2303.marker +@COND_i386_multiboot_TRUE@am__append_302 = usbserial_pl2303.mod +@COND_i386_multiboot_TRUE@am__append_303 = usbserial_pl2303.marker +@COND_i386_ieee1275_TRUE@am__append_304 = usbserial_pl2303.module +@COND_i386_ieee1275_TRUE@am__append_305 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_306 = +@COND_i386_ieee1275_TRUE@am__append_307 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_308 = $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usbserial_pl2303.marker +@COND_i386_ieee1275_TRUE@am__append_309 = usbserial_pl2303.mod +@COND_i386_ieee1275_TRUE@am__append_310 = usbserial_pl2303.marker +@COND_x86_64_efi_TRUE@am__append_311 = usbserial_pl2303.module +@COND_x86_64_efi_TRUE@am__append_312 = usbserial_pl2303.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_313 = +@COND_x86_64_efi_TRUE@am__append_314 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_315 = $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usbserial_pl2303.marker +@COND_x86_64_efi_TRUE@am__append_316 = usbserial_pl2303.mod +@COND_x86_64_efi_TRUE@am__append_317 = usbserial_pl2303.marker +@COND_mips_yeeloong_TRUE@am__append_318 = usbserial_pl2303.module +@COND_mips_yeeloong_TRUE@am__append_319 = usbserial_pl2303.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_320 = +@COND_mips_yeeloong_TRUE@am__append_321 = $(nodist_usbserial_pl2303_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_322 = $(nodist_usbserial_pl2303_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usbserial_pl2303.marker +@COND_mips_yeeloong_TRUE@am__append_323 = usbserial_pl2303.mod +@COND_mips_yeeloong_TRUE@am__append_324 = usbserial_pl2303.marker +@COND_i386_pc_TRUE@am__append_325 = usbserial_ftdi.module +@COND_i386_pc_TRUE@am__append_326 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_327 = +@COND_i386_pc_TRUE@am__append_328 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_pc_TRUE@am__append_329 = \ +@COND_i386_pc_TRUE@ $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_i386_pc_TRUE@ usbserial_ftdi.marker +@COND_i386_pc_TRUE@am__append_330 = usbserial_ftdi.mod +@COND_i386_pc_TRUE@am__append_331 = usbserial_ftdi.marker +@COND_i386_efi_TRUE@am__append_332 = usbserial_ftdi.module +@COND_i386_efi_TRUE@am__append_333 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_334 = +@COND_i386_efi_TRUE@am__append_335 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_efi_TRUE@am__append_336 = \ +@COND_i386_efi_TRUE@ $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_i386_efi_TRUE@ usbserial_ftdi.marker +@COND_i386_efi_TRUE@am__append_337 = usbserial_ftdi.mod +@COND_i386_efi_TRUE@am__append_338 = usbserial_ftdi.marker +@COND_i386_qemu_TRUE@am__append_339 = usbserial_ftdi.module +@COND_i386_qemu_TRUE@am__append_340 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_341 = +@COND_i386_qemu_TRUE@am__append_342 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_343 = \ +@COND_i386_qemu_TRUE@ $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usbserial_ftdi.marker +@COND_i386_qemu_TRUE@am__append_344 = usbserial_ftdi.mod +@COND_i386_qemu_TRUE@am__append_345 = usbserial_ftdi.marker +@COND_i386_coreboot_TRUE@am__append_346 = usbserial_ftdi.module +@COND_i386_coreboot_TRUE@am__append_347 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_348 = +@COND_i386_coreboot_TRUE@am__append_349 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_350 = $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usbserial_ftdi.marker +@COND_i386_coreboot_TRUE@am__append_351 = usbserial_ftdi.mod +@COND_i386_coreboot_TRUE@am__append_352 = usbserial_ftdi.marker +@COND_i386_multiboot_TRUE@am__append_353 = usbserial_ftdi.module +@COND_i386_multiboot_TRUE@am__append_354 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_355 = +@COND_i386_multiboot_TRUE@am__append_356 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_357 = $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usbserial_ftdi.marker +@COND_i386_multiboot_TRUE@am__append_358 = usbserial_ftdi.mod +@COND_i386_multiboot_TRUE@am__append_359 = usbserial_ftdi.marker +@COND_i386_ieee1275_TRUE@am__append_360 = usbserial_ftdi.module +@COND_i386_ieee1275_TRUE@am__append_361 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_362 = +@COND_i386_ieee1275_TRUE@am__append_363 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_364 = $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usbserial_ftdi.marker +@COND_i386_ieee1275_TRUE@am__append_365 = usbserial_ftdi.mod +@COND_i386_ieee1275_TRUE@am__append_366 = usbserial_ftdi.marker +@COND_x86_64_efi_TRUE@am__append_367 = usbserial_ftdi.module +@COND_x86_64_efi_TRUE@am__append_368 = usbserial_ftdi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_369 = +@COND_x86_64_efi_TRUE@am__append_370 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_371 = \ +@COND_x86_64_efi_TRUE@ $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usbserial_ftdi.marker +@COND_x86_64_efi_TRUE@am__append_372 = usbserial_ftdi.mod +@COND_x86_64_efi_TRUE@am__append_373 = usbserial_ftdi.marker +@COND_mips_yeeloong_TRUE@am__append_374 = usbserial_ftdi.module +@COND_mips_yeeloong_TRUE@am__append_375 = usbserial_ftdi.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_376 = +@COND_mips_yeeloong_TRUE@am__append_377 = $(nodist_usbserial_ftdi_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_378 = $(nodist_usbserial_ftdi_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usbserial_ftdi.marker +@COND_mips_yeeloong_TRUE@am__append_379 = usbserial_ftdi.mod +@COND_mips_yeeloong_TRUE@am__append_380 = usbserial_ftdi.marker +@COND_i386_pc_TRUE@am__append_381 = uhci.module +@COND_i386_pc_TRUE@am__append_382 = uhci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_383 = +@COND_i386_pc_TRUE@am__append_384 = $(nodist_uhci_module_SOURCES) +@COND_i386_pc_TRUE@am__append_385 = $(nodist_uhci_module_SOURCES) \ +@COND_i386_pc_TRUE@ uhci.marker +@COND_i386_pc_TRUE@am__append_386 = uhci.mod +@COND_i386_pc_TRUE@am__append_387 = uhci.marker +@COND_i386_efi_TRUE@am__append_388 = uhci.module +@COND_i386_efi_TRUE@am__append_389 = uhci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_390 = +@COND_i386_efi_TRUE@am__append_391 = $(nodist_uhci_module_SOURCES) +@COND_i386_efi_TRUE@am__append_392 = $(nodist_uhci_module_SOURCES) \ +@COND_i386_efi_TRUE@ uhci.marker +@COND_i386_efi_TRUE@am__append_393 = uhci.mod +@COND_i386_efi_TRUE@am__append_394 = uhci.marker +@COND_i386_qemu_TRUE@am__append_395 = uhci.module +@COND_i386_qemu_TRUE@am__append_396 = uhci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_397 = +@COND_i386_qemu_TRUE@am__append_398 = $(nodist_uhci_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_399 = $(nodist_uhci_module_SOURCES) \ +@COND_i386_qemu_TRUE@ uhci.marker +@COND_i386_qemu_TRUE@am__append_400 = uhci.mod +@COND_i386_qemu_TRUE@am__append_401 = uhci.marker +@COND_i386_coreboot_TRUE@am__append_402 = uhci.module +@COND_i386_coreboot_TRUE@am__append_403 = uhci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_404 = +@COND_i386_coreboot_TRUE@am__append_405 = $(nodist_uhci_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_406 = \ +@COND_i386_coreboot_TRUE@ $(nodist_uhci_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ uhci.marker +@COND_i386_coreboot_TRUE@am__append_407 = uhci.mod +@COND_i386_coreboot_TRUE@am__append_408 = uhci.marker +@COND_i386_multiboot_TRUE@am__append_409 = uhci.module +@COND_i386_multiboot_TRUE@am__append_410 = uhci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_411 = +@COND_i386_multiboot_TRUE@am__append_412 = $(nodist_uhci_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_413 = \ +@COND_i386_multiboot_TRUE@ $(nodist_uhci_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ uhci.marker +@COND_i386_multiboot_TRUE@am__append_414 = uhci.mod +@COND_i386_multiboot_TRUE@am__append_415 = uhci.marker +@COND_i386_ieee1275_TRUE@am__append_416 = uhci.module +@COND_i386_ieee1275_TRUE@am__append_417 = uhci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_418 = +@COND_i386_ieee1275_TRUE@am__append_419 = $(nodist_uhci_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_420 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_uhci_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ uhci.marker +@COND_i386_ieee1275_TRUE@am__append_421 = uhci.mod +@COND_i386_ieee1275_TRUE@am__append_422 = uhci.marker +@COND_x86_64_efi_TRUE@am__append_423 = uhci.module +@COND_x86_64_efi_TRUE@am__append_424 = uhci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_425 = +@COND_x86_64_efi_TRUE@am__append_426 = $(nodist_uhci_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_427 = $(nodist_uhci_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ uhci.marker +@COND_x86_64_efi_TRUE@am__append_428 = uhci.mod +@COND_x86_64_efi_TRUE@am__append_429 = uhci.marker +@COND_i386_pc_TRUE@am__append_430 = ohci.module +@COND_i386_pc_TRUE@am__append_431 = ohci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_432 = +@COND_i386_pc_TRUE@am__append_433 = $(nodist_ohci_module_SOURCES) +@COND_i386_pc_TRUE@am__append_434 = $(nodist_ohci_module_SOURCES) \ +@COND_i386_pc_TRUE@ ohci.marker +@COND_i386_pc_TRUE@am__append_435 = ohci.mod +@COND_i386_pc_TRUE@am__append_436 = ohci.marker +@COND_i386_efi_TRUE@am__append_437 = ohci.module +@COND_i386_efi_TRUE@am__append_438 = ohci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_439 = +@COND_i386_efi_TRUE@am__append_440 = $(nodist_ohci_module_SOURCES) +@COND_i386_efi_TRUE@am__append_441 = $(nodist_ohci_module_SOURCES) \ +@COND_i386_efi_TRUE@ ohci.marker +@COND_i386_efi_TRUE@am__append_442 = ohci.mod +@COND_i386_efi_TRUE@am__append_443 = ohci.marker +@COND_i386_qemu_TRUE@am__append_444 = ohci.module +@COND_i386_qemu_TRUE@am__append_445 = ohci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_446 = +@COND_i386_qemu_TRUE@am__append_447 = $(nodist_ohci_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_448 = $(nodist_ohci_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ohci.marker +@COND_i386_qemu_TRUE@am__append_449 = ohci.mod +@COND_i386_qemu_TRUE@am__append_450 = ohci.marker +@COND_i386_coreboot_TRUE@am__append_451 = ohci.module +@COND_i386_coreboot_TRUE@am__append_452 = ohci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_453 = +@COND_i386_coreboot_TRUE@am__append_454 = $(nodist_ohci_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_455 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ohci_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ohci.marker +@COND_i386_coreboot_TRUE@am__append_456 = ohci.mod +@COND_i386_coreboot_TRUE@am__append_457 = ohci.marker +@COND_i386_multiboot_TRUE@am__append_458 = ohci.module +@COND_i386_multiboot_TRUE@am__append_459 = ohci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_460 = +@COND_i386_multiboot_TRUE@am__append_461 = $(nodist_ohci_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_462 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ohci_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ohci.marker +@COND_i386_multiboot_TRUE@am__append_463 = ohci.mod +@COND_i386_multiboot_TRUE@am__append_464 = ohci.marker +@COND_i386_ieee1275_TRUE@am__append_465 = ohci.module +@COND_i386_ieee1275_TRUE@am__append_466 = ohci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_467 = +@COND_i386_ieee1275_TRUE@am__append_468 = $(nodist_ohci_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_469 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ohci_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ohci.marker +@COND_i386_ieee1275_TRUE@am__append_470 = ohci.mod +@COND_i386_ieee1275_TRUE@am__append_471 = ohci.marker +@COND_x86_64_efi_TRUE@am__append_472 = ohci.module +@COND_x86_64_efi_TRUE@am__append_473 = ohci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_474 = +@COND_x86_64_efi_TRUE@am__append_475 = $(nodist_ohci_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_476 = $(nodist_ohci_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ohci.marker +@COND_x86_64_efi_TRUE@am__append_477 = ohci.mod +@COND_x86_64_efi_TRUE@am__append_478 = ohci.marker +@COND_mips_yeeloong_TRUE@am__append_479 = ohci.module +@COND_mips_yeeloong_TRUE@am__append_480 = ohci.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_481 = +@COND_mips_yeeloong_TRUE@am__append_482 = $(nodist_ohci_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_483 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ohci_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ohci.marker +@COND_mips_yeeloong_TRUE@am__append_484 = ohci.mod +@COND_mips_yeeloong_TRUE@am__append_485 = ohci.marker +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_486 = pci.module +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_487 = pci.module$(EXEEXT) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_488 = +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_489 = $(nodist_pci_module_SOURCES) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_490 = $(nodist_pci_module_SOURCES) \ +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@ pci.marker +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_491 = pci.mod +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_492 = pci.marker +@COND_i386_pc_TRUE@am__append_493 = pci.module +@COND_i386_pc_TRUE@am__append_494 = pci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_495 = +@COND_i386_pc_TRUE@am__append_496 = $(nodist_pci_module_SOURCES) +@COND_i386_pc_TRUE@am__append_497 = $(nodist_pci_module_SOURCES) \ +@COND_i386_pc_TRUE@ pci.marker +@COND_i386_pc_TRUE@am__append_498 = pci.mod +@COND_i386_pc_TRUE@am__append_499 = pci.marker +@COND_i386_efi_TRUE@am__append_500 = pci.module +@COND_i386_efi_TRUE@am__append_501 = pci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_502 = +@COND_i386_efi_TRUE@am__append_503 = $(nodist_pci_module_SOURCES) +@COND_i386_efi_TRUE@am__append_504 = $(nodist_pci_module_SOURCES) \ +@COND_i386_efi_TRUE@ pci.marker +@COND_i386_efi_TRUE@am__append_505 = pci.mod +@COND_i386_efi_TRUE@am__append_506 = pci.marker +@COND_i386_coreboot_TRUE@am__append_507 = pci.module +@COND_i386_coreboot_TRUE@am__append_508 = pci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_509 = +@COND_i386_coreboot_TRUE@am__append_510 = $(nodist_pci_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_511 = \ +@COND_i386_coreboot_TRUE@ $(nodist_pci_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ pci.marker +@COND_i386_coreboot_TRUE@am__append_512 = pci.mod +@COND_i386_coreboot_TRUE@am__append_513 = pci.marker +@COND_i386_multiboot_TRUE@am__append_514 = pci.module +@COND_i386_multiboot_TRUE@am__append_515 = pci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_516 = +@COND_i386_multiboot_TRUE@am__append_517 = $(nodist_pci_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_518 = \ +@COND_i386_multiboot_TRUE@ $(nodist_pci_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ pci.marker +@COND_i386_multiboot_TRUE@am__append_519 = pci.mod +@COND_i386_multiboot_TRUE@am__append_520 = pci.marker +@COND_i386_ieee1275_TRUE@am__append_521 = pci.module +@COND_i386_ieee1275_TRUE@am__append_522 = pci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_523 = +@COND_i386_ieee1275_TRUE@am__append_524 = $(nodist_pci_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_525 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_pci_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ pci.marker +@COND_i386_ieee1275_TRUE@am__append_526 = pci.mod +@COND_i386_ieee1275_TRUE@am__append_527 = pci.marker +@COND_x86_64_efi_TRUE@am__append_528 = pci.module +@COND_x86_64_efi_TRUE@am__append_529 = pci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_530 = +@COND_x86_64_efi_TRUE@am__append_531 = $(nodist_pci_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_532 = $(nodist_pci_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ pci.marker +@COND_x86_64_efi_TRUE@am__append_533 = pci.mod +@COND_x86_64_efi_TRUE@am__append_534 = pci.marker +@COND_i386_pc_TRUE@am__append_535 = cmostest.module +@COND_i386_pc_TRUE@am__append_536 = cmostest.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_537 = +@COND_i386_pc_TRUE@am__append_538 = $(nodist_cmostest_module_SOURCES) +@COND_i386_pc_TRUE@am__append_539 = $(nodist_cmostest_module_SOURCES) \ +@COND_i386_pc_TRUE@ cmostest.marker +@COND_i386_pc_TRUE@am__append_540 = cmostest.mod +@COND_i386_pc_TRUE@am__append_541 = cmostest.marker +@COND_i386_qemu_TRUE@am__append_542 = cmostest.module +@COND_i386_qemu_TRUE@am__append_543 = cmostest.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_544 = +@COND_i386_qemu_TRUE@am__append_545 = $(nodist_cmostest_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_546 = \ +@COND_i386_qemu_TRUE@ $(nodist_cmostest_module_SOURCES) \ +@COND_i386_qemu_TRUE@ cmostest.marker +@COND_i386_qemu_TRUE@am__append_547 = cmostest.mod +@COND_i386_qemu_TRUE@am__append_548 = cmostest.marker +@COND_i386_coreboot_TRUE@am__append_549 = cmostest.module +@COND_i386_coreboot_TRUE@am__append_550 = cmostest.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_551 = +@COND_i386_coreboot_TRUE@am__append_552 = $(nodist_cmostest_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_553 = \ +@COND_i386_coreboot_TRUE@ $(nodist_cmostest_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ cmostest.marker +@COND_i386_coreboot_TRUE@am__append_554 = cmostest.mod +@COND_i386_coreboot_TRUE@am__append_555 = cmostest.marker +@COND_i386_multiboot_TRUE@am__append_556 = cmostest.module +@COND_i386_multiboot_TRUE@am__append_557 = cmostest.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_558 = +@COND_i386_multiboot_TRUE@am__append_559 = $(nodist_cmostest_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_560 = \ +@COND_i386_multiboot_TRUE@ $(nodist_cmostest_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ cmostest.marker +@COND_i386_multiboot_TRUE@am__append_561 = cmostest.mod +@COND_i386_multiboot_TRUE@am__append_562 = cmostest.marker +@COND_i386_ieee1275_TRUE@am__append_563 = cmostest.module +@COND_i386_ieee1275_TRUE@am__append_564 = cmostest.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_565 = +@COND_i386_ieee1275_TRUE@am__append_566 = $(nodist_cmostest_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_567 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_cmostest_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ cmostest.marker +@COND_i386_ieee1275_TRUE@am__append_568 = cmostest.mod +@COND_i386_ieee1275_TRUE@am__append_569 = cmostest.marker +@COND_mips_yeeloong_TRUE@am__append_570 = cmostest.module +@COND_mips_yeeloong_TRUE@am__append_571 = cmostest.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_572 = +@COND_mips_yeeloong_TRUE@am__append_573 = $(nodist_cmostest_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_574 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_cmostest_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ cmostest.marker +@COND_mips_yeeloong_TRUE@am__append_575 = cmostest.mod +@COND_mips_yeeloong_TRUE@am__append_576 = cmostest.marker +@COND_i386_pc_TRUE@am__append_577 = iorw.module +@COND_i386_pc_TRUE@am__append_578 = iorw.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_579 = +@COND_i386_pc_TRUE@am__append_580 = $(nodist_iorw_module_SOURCES) +@COND_i386_pc_TRUE@am__append_581 = $(nodist_iorw_module_SOURCES) \ +@COND_i386_pc_TRUE@ iorw.marker +@COND_i386_pc_TRUE@am__append_582 = iorw.mod +@COND_i386_pc_TRUE@am__append_583 = iorw.marker +@COND_i386_efi_TRUE@am__append_584 = iorw.module +@COND_i386_efi_TRUE@am__append_585 = iorw.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_586 = +@COND_i386_efi_TRUE@am__append_587 = $(nodist_iorw_module_SOURCES) +@COND_i386_efi_TRUE@am__append_588 = $(nodist_iorw_module_SOURCES) \ +@COND_i386_efi_TRUE@ iorw.marker +@COND_i386_efi_TRUE@am__append_589 = iorw.mod +@COND_i386_efi_TRUE@am__append_590 = iorw.marker +@COND_i386_qemu_TRUE@am__append_591 = iorw.module +@COND_i386_qemu_TRUE@am__append_592 = iorw.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_593 = +@COND_i386_qemu_TRUE@am__append_594 = $(nodist_iorw_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_595 = $(nodist_iorw_module_SOURCES) \ +@COND_i386_qemu_TRUE@ iorw.marker +@COND_i386_qemu_TRUE@am__append_596 = iorw.mod +@COND_i386_qemu_TRUE@am__append_597 = iorw.marker +@COND_i386_coreboot_TRUE@am__append_598 = iorw.module +@COND_i386_coreboot_TRUE@am__append_599 = iorw.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_600 = +@COND_i386_coreboot_TRUE@am__append_601 = $(nodist_iorw_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_602 = \ +@COND_i386_coreboot_TRUE@ $(nodist_iorw_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ iorw.marker +@COND_i386_coreboot_TRUE@am__append_603 = iorw.mod +@COND_i386_coreboot_TRUE@am__append_604 = iorw.marker +@COND_i386_multiboot_TRUE@am__append_605 = iorw.module +@COND_i386_multiboot_TRUE@am__append_606 = iorw.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_607 = +@COND_i386_multiboot_TRUE@am__append_608 = $(nodist_iorw_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_609 = \ +@COND_i386_multiboot_TRUE@ $(nodist_iorw_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ iorw.marker +@COND_i386_multiboot_TRUE@am__append_610 = iorw.mod +@COND_i386_multiboot_TRUE@am__append_611 = iorw.marker +@COND_i386_ieee1275_TRUE@am__append_612 = iorw.module +@COND_i386_ieee1275_TRUE@am__append_613 = iorw.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_614 = +@COND_i386_ieee1275_TRUE@am__append_615 = $(nodist_iorw_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_616 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_iorw_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ iorw.marker +@COND_i386_ieee1275_TRUE@am__append_617 = iorw.mod +@COND_i386_ieee1275_TRUE@am__append_618 = iorw.marker +@COND_x86_64_efi_TRUE@am__append_619 = iorw.module +@COND_x86_64_efi_TRUE@am__append_620 = iorw.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_621 = +@COND_x86_64_efi_TRUE@am__append_622 = $(nodist_iorw_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_623 = $(nodist_iorw_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ iorw.marker +@COND_x86_64_efi_TRUE@am__append_624 = iorw.mod +@COND_x86_64_efi_TRUE@am__append_625 = iorw.marker +@COND_emu_TRUE@am__append_626 = regexp.module +@COND_emu_TRUE@am__append_627 = regexp.module$(EXEEXT) +@COND_emu_TRUE@am__append_628 = +@COND_emu_TRUE@am__append_629 = $(nodist_regexp_module_SOURCES) +@COND_emu_TRUE@am__append_630 = $(nodist_regexp_module_SOURCES) \ +@COND_emu_TRUE@ regexp.marker +@COND_emu_TRUE@am__append_631 = regexp.mod +@COND_emu_TRUE@am__append_632 = regexp.marker +@COND_i386_pc_TRUE@am__append_633 = regexp.module +@COND_i386_pc_TRUE@am__append_634 = regexp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_635 = +@COND_i386_pc_TRUE@am__append_636 = $(nodist_regexp_module_SOURCES) +@COND_i386_pc_TRUE@am__append_637 = $(nodist_regexp_module_SOURCES) \ +@COND_i386_pc_TRUE@ regexp.marker +@COND_i386_pc_TRUE@am__append_638 = regexp.mod +@COND_i386_pc_TRUE@am__append_639 = regexp.marker +@COND_i386_efi_TRUE@am__append_640 = regexp.module +@COND_i386_efi_TRUE@am__append_641 = regexp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_642 = +@COND_i386_efi_TRUE@am__append_643 = $(nodist_regexp_module_SOURCES) +@COND_i386_efi_TRUE@am__append_644 = $(nodist_regexp_module_SOURCES) \ +@COND_i386_efi_TRUE@ regexp.marker +@COND_i386_efi_TRUE@am__append_645 = regexp.mod +@COND_i386_efi_TRUE@am__append_646 = regexp.marker +@COND_i386_qemu_TRUE@am__append_647 = regexp.module +@COND_i386_qemu_TRUE@am__append_648 = regexp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_649 = +@COND_i386_qemu_TRUE@am__append_650 = $(nodist_regexp_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_651 = $(nodist_regexp_module_SOURCES) \ +@COND_i386_qemu_TRUE@ regexp.marker +@COND_i386_qemu_TRUE@am__append_652 = regexp.mod +@COND_i386_qemu_TRUE@am__append_653 = regexp.marker +@COND_i386_coreboot_TRUE@am__append_654 = regexp.module +@COND_i386_coreboot_TRUE@am__append_655 = regexp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_656 = +@COND_i386_coreboot_TRUE@am__append_657 = $(nodist_regexp_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_658 = \ +@COND_i386_coreboot_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ regexp.marker +@COND_i386_coreboot_TRUE@am__append_659 = regexp.mod +@COND_i386_coreboot_TRUE@am__append_660 = regexp.marker +@COND_i386_multiboot_TRUE@am__append_661 = regexp.module +@COND_i386_multiboot_TRUE@am__append_662 = regexp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_663 = +@COND_i386_multiboot_TRUE@am__append_664 = $(nodist_regexp_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_665 = \ +@COND_i386_multiboot_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ regexp.marker +@COND_i386_multiboot_TRUE@am__append_666 = regexp.mod +@COND_i386_multiboot_TRUE@am__append_667 = regexp.marker +@COND_i386_ieee1275_TRUE@am__append_668 = regexp.module +@COND_i386_ieee1275_TRUE@am__append_669 = regexp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_670 = +@COND_i386_ieee1275_TRUE@am__append_671 = $(nodist_regexp_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_672 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ regexp.marker +@COND_i386_ieee1275_TRUE@am__append_673 = regexp.mod +@COND_i386_ieee1275_TRUE@am__append_674 = regexp.marker +@COND_x86_64_efi_TRUE@am__append_675 = regexp.module +@COND_x86_64_efi_TRUE@am__append_676 = regexp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_677 = +@COND_x86_64_efi_TRUE@am__append_678 = $(nodist_regexp_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_679 = \ +@COND_x86_64_efi_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ regexp.marker +@COND_x86_64_efi_TRUE@am__append_680 = regexp.mod +@COND_x86_64_efi_TRUE@am__append_681 = regexp.marker +@COND_mips_yeeloong_TRUE@am__append_682 = regexp.module +@COND_mips_yeeloong_TRUE@am__append_683 = regexp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_684 = +@COND_mips_yeeloong_TRUE@am__append_685 = $(nodist_regexp_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_686 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ regexp.marker +@COND_mips_yeeloong_TRUE@am__append_687 = regexp.mod +@COND_mips_yeeloong_TRUE@am__append_688 = regexp.marker +@COND_sparc64_ieee1275_TRUE@am__append_689 = regexp.module +@COND_sparc64_ieee1275_TRUE@am__append_690 = regexp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_691 = +@COND_sparc64_ieee1275_TRUE@am__append_692 = $(nodist_regexp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_693 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ regexp.marker +@COND_sparc64_ieee1275_TRUE@am__append_694 = regexp.mod +@COND_sparc64_ieee1275_TRUE@am__append_695 = regexp.marker +@COND_powerpc_ieee1275_TRUE@am__append_696 = regexp.module +@COND_powerpc_ieee1275_TRUE@am__append_697 = regexp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_698 = +@COND_powerpc_ieee1275_TRUE@am__append_699 = $(nodist_regexp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_700 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_regexp_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ regexp.marker +@COND_powerpc_ieee1275_TRUE@am__append_701 = regexp.mod +@COND_powerpc_ieee1275_TRUE@am__append_702 = regexp.marker +@COND_i386_pc_TRUE@am__append_703 = acpi.module +@COND_i386_pc_TRUE@am__append_704 = acpi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_705 = +@COND_i386_pc_TRUE@am__append_706 = $(nodist_acpi_module_SOURCES) +@COND_i386_pc_TRUE@am__append_707 = $(nodist_acpi_module_SOURCES) \ +@COND_i386_pc_TRUE@ acpi.marker +@COND_i386_pc_TRUE@am__append_708 = acpi.mod +@COND_i386_pc_TRUE@am__append_709 = acpi.marker +@COND_i386_efi_TRUE@am__append_710 = acpi.module +@COND_i386_efi_TRUE@am__append_711 = acpi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_712 = +@COND_i386_efi_TRUE@am__append_713 = $(nodist_acpi_module_SOURCES) +@COND_i386_efi_TRUE@am__append_714 = $(nodist_acpi_module_SOURCES) \ +@COND_i386_efi_TRUE@ acpi.marker +@COND_i386_efi_TRUE@am__append_715 = acpi.mod +@COND_i386_efi_TRUE@am__append_716 = acpi.marker +@COND_i386_coreboot_TRUE@am__append_717 = acpi.module +@COND_i386_coreboot_TRUE@am__append_718 = acpi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_719 = +@COND_i386_coreboot_TRUE@am__append_720 = $(nodist_acpi_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_721 = \ +@COND_i386_coreboot_TRUE@ $(nodist_acpi_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ acpi.marker +@COND_i386_coreboot_TRUE@am__append_722 = acpi.mod +@COND_i386_coreboot_TRUE@am__append_723 = acpi.marker +@COND_i386_multiboot_TRUE@am__append_724 = acpi.module +@COND_i386_multiboot_TRUE@am__append_725 = acpi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_726 = +@COND_i386_multiboot_TRUE@am__append_727 = $(nodist_acpi_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_728 = \ +@COND_i386_multiboot_TRUE@ $(nodist_acpi_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ acpi.marker +@COND_i386_multiboot_TRUE@am__append_729 = acpi.mod +@COND_i386_multiboot_TRUE@am__append_730 = acpi.marker +@COND_x86_64_efi_TRUE@am__append_731 = acpi.module +@COND_x86_64_efi_TRUE@am__append_732 = acpi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_733 = +@COND_x86_64_efi_TRUE@am__append_734 = $(nodist_acpi_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_735 = $(nodist_acpi_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ acpi.marker +@COND_x86_64_efi_TRUE@am__append_736 = acpi.mod +@COND_x86_64_efi_TRUE@am__append_737 = acpi.marker +@COND_i386_pc_TRUE@am__append_738 = lsacpi.module +@COND_i386_pc_TRUE@am__append_739 = lsacpi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_740 = +@COND_i386_pc_TRUE@am__append_741 = $(nodist_lsacpi_module_SOURCES) +@COND_i386_pc_TRUE@am__append_742 = $(nodist_lsacpi_module_SOURCES) \ +@COND_i386_pc_TRUE@ lsacpi.marker +@COND_i386_pc_TRUE@am__append_743 = lsacpi.mod +@COND_i386_pc_TRUE@am__append_744 = lsacpi.marker +@COND_i386_efi_TRUE@am__append_745 = lsacpi.module +@COND_i386_efi_TRUE@am__append_746 = lsacpi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_747 = +@COND_i386_efi_TRUE@am__append_748 = $(nodist_lsacpi_module_SOURCES) +@COND_i386_efi_TRUE@am__append_749 = $(nodist_lsacpi_module_SOURCES) \ +@COND_i386_efi_TRUE@ lsacpi.marker +@COND_i386_efi_TRUE@am__append_750 = lsacpi.mod +@COND_i386_efi_TRUE@am__append_751 = lsacpi.marker +@COND_i386_coreboot_TRUE@am__append_752 = lsacpi.module +@COND_i386_coreboot_TRUE@am__append_753 = lsacpi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_754 = +@COND_i386_coreboot_TRUE@am__append_755 = $(nodist_lsacpi_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_756 = \ +@COND_i386_coreboot_TRUE@ $(nodist_lsacpi_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ lsacpi.marker +@COND_i386_coreboot_TRUE@am__append_757 = lsacpi.mod +@COND_i386_coreboot_TRUE@am__append_758 = lsacpi.marker +@COND_i386_multiboot_TRUE@am__append_759 = lsacpi.module +@COND_i386_multiboot_TRUE@am__append_760 = lsacpi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_761 = +@COND_i386_multiboot_TRUE@am__append_762 = $(nodist_lsacpi_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_763 = \ +@COND_i386_multiboot_TRUE@ $(nodist_lsacpi_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ lsacpi.marker +@COND_i386_multiboot_TRUE@am__append_764 = lsacpi.mod +@COND_i386_multiboot_TRUE@am__append_765 = lsacpi.marker +@COND_x86_64_efi_TRUE@am__append_766 = lsacpi.module +@COND_x86_64_efi_TRUE@am__append_767 = lsacpi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_768 = +@COND_x86_64_efi_TRUE@am__append_769 = $(nodist_lsacpi_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_770 = \ +@COND_x86_64_efi_TRUE@ $(nodist_lsacpi_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lsacpi.marker +@COND_x86_64_efi_TRUE@am__append_771 = lsacpi.mod +@COND_x86_64_efi_TRUE@am__append_772 = lsacpi.marker +@COND_i386_efi_TRUE@am__append_773 = lsefisystab.module +@COND_i386_efi_TRUE@am__append_774 = lsefisystab.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_775 = +@COND_i386_efi_TRUE@am__append_776 = $(nodist_lsefisystab_module_SOURCES) +@COND_i386_efi_TRUE@am__append_777 = \ +@COND_i386_efi_TRUE@ $(nodist_lsefisystab_module_SOURCES) \ +@COND_i386_efi_TRUE@ lsefisystab.marker +@COND_i386_efi_TRUE@am__append_778 = lsefisystab.mod +@COND_i386_efi_TRUE@am__append_779 = lsefisystab.marker +@COND_x86_64_efi_TRUE@am__append_780 = lsefisystab.module +@COND_x86_64_efi_TRUE@am__append_781 = lsefisystab.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_782 = +@COND_x86_64_efi_TRUE@am__append_783 = $(nodist_lsefisystab_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_784 = \ +@COND_x86_64_efi_TRUE@ $(nodist_lsefisystab_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lsefisystab.marker +@COND_x86_64_efi_TRUE@am__append_785 = lsefisystab.mod +@COND_x86_64_efi_TRUE@am__append_786 = lsefisystab.marker +@COND_i386_efi_TRUE@am__append_787 = lssal.module +@COND_i386_efi_TRUE@am__append_788 = lssal.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_789 = +@COND_i386_efi_TRUE@am__append_790 = $(nodist_lssal_module_SOURCES) +@COND_i386_efi_TRUE@am__append_791 = $(nodist_lssal_module_SOURCES) \ +@COND_i386_efi_TRUE@ lssal.marker +@COND_i386_efi_TRUE@am__append_792 = lssal.mod +@COND_i386_efi_TRUE@am__append_793 = lssal.marker +@COND_x86_64_efi_TRUE@am__append_794 = lssal.module +@COND_x86_64_efi_TRUE@am__append_795 = lssal.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_796 = +@COND_x86_64_efi_TRUE@am__append_797 = $(nodist_lssal_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_798 = $(nodist_lssal_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lssal.marker +@COND_x86_64_efi_TRUE@am__append_799 = lssal.mod +@COND_x86_64_efi_TRUE@am__append_800 = lssal.marker +@COND_i386_efi_TRUE@am__append_801 = lsefimmap.module +@COND_i386_efi_TRUE@am__append_802 = lsefimmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_803 = +@COND_i386_efi_TRUE@am__append_804 = $(nodist_lsefimmap_module_SOURCES) +@COND_i386_efi_TRUE@am__append_805 = \ +@COND_i386_efi_TRUE@ $(nodist_lsefimmap_module_SOURCES) \ +@COND_i386_efi_TRUE@ lsefimmap.marker +@COND_i386_efi_TRUE@am__append_806 = lsefimmap.mod +@COND_i386_efi_TRUE@am__append_807 = lsefimmap.marker +@COND_x86_64_efi_TRUE@am__append_808 = lsefimmap.module +@COND_x86_64_efi_TRUE@am__append_809 = lsefimmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_810 = +@COND_x86_64_efi_TRUE@am__append_811 = $(nodist_lsefimmap_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_812 = \ +@COND_x86_64_efi_TRUE@ $(nodist_lsefimmap_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lsefimmap.marker +@COND_x86_64_efi_TRUE@am__append_813 = lsefimmap.mod +@COND_x86_64_efi_TRUE@am__append_814 = lsefimmap.marker +@COND_emu_TRUE@am__append_815 = blocklist.module +@COND_emu_TRUE@am__append_816 = blocklist.module$(EXEEXT) +@COND_emu_TRUE@am__append_817 = +@COND_emu_TRUE@am__append_818 = $(nodist_blocklist_module_SOURCES) +@COND_emu_TRUE@am__append_819 = $(nodist_blocklist_module_SOURCES) \ +@COND_emu_TRUE@ blocklist.marker +@COND_emu_TRUE@am__append_820 = blocklist.mod +@COND_emu_TRUE@am__append_821 = blocklist.marker +@COND_i386_pc_TRUE@am__append_822 = blocklist.module +@COND_i386_pc_TRUE@am__append_823 = blocklist.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_824 = +@COND_i386_pc_TRUE@am__append_825 = $(nodist_blocklist_module_SOURCES) +@COND_i386_pc_TRUE@am__append_826 = \ +@COND_i386_pc_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_i386_pc_TRUE@ blocklist.marker +@COND_i386_pc_TRUE@am__append_827 = blocklist.mod +@COND_i386_pc_TRUE@am__append_828 = blocklist.marker +@COND_i386_efi_TRUE@am__append_829 = blocklist.module +@COND_i386_efi_TRUE@am__append_830 = blocklist.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_831 = +@COND_i386_efi_TRUE@am__append_832 = $(nodist_blocklist_module_SOURCES) +@COND_i386_efi_TRUE@am__append_833 = \ +@COND_i386_efi_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_i386_efi_TRUE@ blocklist.marker +@COND_i386_efi_TRUE@am__append_834 = blocklist.mod +@COND_i386_efi_TRUE@am__append_835 = blocklist.marker +@COND_i386_qemu_TRUE@am__append_836 = blocklist.module +@COND_i386_qemu_TRUE@am__append_837 = blocklist.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_838 = +@COND_i386_qemu_TRUE@am__append_839 = $(nodist_blocklist_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_840 = \ +@COND_i386_qemu_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_i386_qemu_TRUE@ blocklist.marker +@COND_i386_qemu_TRUE@am__append_841 = blocklist.mod +@COND_i386_qemu_TRUE@am__append_842 = blocklist.marker +@COND_i386_coreboot_TRUE@am__append_843 = blocklist.module +@COND_i386_coreboot_TRUE@am__append_844 = blocklist.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_845 = +@COND_i386_coreboot_TRUE@am__append_846 = $(nodist_blocklist_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_847 = \ +@COND_i386_coreboot_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ blocklist.marker +@COND_i386_coreboot_TRUE@am__append_848 = blocklist.mod +@COND_i386_coreboot_TRUE@am__append_849 = blocklist.marker +@COND_i386_multiboot_TRUE@am__append_850 = blocklist.module +@COND_i386_multiboot_TRUE@am__append_851 = blocklist.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_852 = +@COND_i386_multiboot_TRUE@am__append_853 = $(nodist_blocklist_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_854 = \ +@COND_i386_multiboot_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ blocklist.marker +@COND_i386_multiboot_TRUE@am__append_855 = blocklist.mod +@COND_i386_multiboot_TRUE@am__append_856 = blocklist.marker +@COND_i386_ieee1275_TRUE@am__append_857 = blocklist.module +@COND_i386_ieee1275_TRUE@am__append_858 = blocklist.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_859 = +@COND_i386_ieee1275_TRUE@am__append_860 = $(nodist_blocklist_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_861 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ blocklist.marker +@COND_i386_ieee1275_TRUE@am__append_862 = blocklist.mod +@COND_i386_ieee1275_TRUE@am__append_863 = blocklist.marker +@COND_x86_64_efi_TRUE@am__append_864 = blocklist.module +@COND_x86_64_efi_TRUE@am__append_865 = blocklist.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_866 = +@COND_x86_64_efi_TRUE@am__append_867 = $(nodist_blocklist_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_868 = \ +@COND_x86_64_efi_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ blocklist.marker +@COND_x86_64_efi_TRUE@am__append_869 = blocklist.mod +@COND_x86_64_efi_TRUE@am__append_870 = blocklist.marker +@COND_mips_yeeloong_TRUE@am__append_871 = blocklist.module +@COND_mips_yeeloong_TRUE@am__append_872 = blocklist.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_873 = +@COND_mips_yeeloong_TRUE@am__append_874 = $(nodist_blocklist_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_875 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_blocklist_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ blocklist.marker +@COND_mips_yeeloong_TRUE@am__append_876 = blocklist.mod +@COND_mips_yeeloong_TRUE@am__append_877 = blocklist.marker +@COND_sparc64_ieee1275_TRUE@am__append_878 = blocklist.module +@COND_sparc64_ieee1275_TRUE@am__append_879 = blocklist.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_880 = +@COND_sparc64_ieee1275_TRUE@am__append_881 = $(nodist_blocklist_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_882 = $(nodist_blocklist_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ blocklist.marker +@COND_sparc64_ieee1275_TRUE@am__append_883 = blocklist.mod +@COND_sparc64_ieee1275_TRUE@am__append_884 = blocklist.marker +@COND_powerpc_ieee1275_TRUE@am__append_885 = blocklist.module +@COND_powerpc_ieee1275_TRUE@am__append_886 = blocklist.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_887 = +@COND_powerpc_ieee1275_TRUE@am__append_888 = $(nodist_blocklist_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_889 = $(nodist_blocklist_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ blocklist.marker +@COND_powerpc_ieee1275_TRUE@am__append_890 = blocklist.mod +@COND_powerpc_ieee1275_TRUE@am__append_891 = blocklist.marker +@COND_emu_TRUE@am__append_892 = boot.module +@COND_emu_TRUE@am__append_893 = boot.module$(EXEEXT) +@COND_emu_TRUE@am__append_894 = +@COND_emu_TRUE@am__append_895 = $(nodist_boot_module_SOURCES) +@COND_emu_TRUE@am__append_896 = $(nodist_boot_module_SOURCES) \ +@COND_emu_TRUE@ boot.marker +@COND_emu_TRUE@am__append_897 = boot.mod +@COND_emu_TRUE@am__append_898 = boot.marker +@COND_i386_pc_TRUE@am__append_899 = boot.module +@COND_i386_pc_TRUE@am__append_900 = boot.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_901 = +@COND_i386_pc_TRUE@am__append_902 = $(nodist_boot_module_SOURCES) +@COND_i386_pc_TRUE@am__append_903 = $(nodist_boot_module_SOURCES) \ +@COND_i386_pc_TRUE@ boot.marker +@COND_i386_pc_TRUE@am__append_904 = boot.mod +@COND_i386_pc_TRUE@am__append_905 = boot.marker +@COND_i386_efi_TRUE@am__append_906 = boot.module +@COND_i386_efi_TRUE@am__append_907 = boot.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_908 = +@COND_i386_efi_TRUE@am__append_909 = $(nodist_boot_module_SOURCES) +@COND_i386_efi_TRUE@am__append_910 = $(nodist_boot_module_SOURCES) \ +@COND_i386_efi_TRUE@ boot.marker +@COND_i386_efi_TRUE@am__append_911 = boot.mod +@COND_i386_efi_TRUE@am__append_912 = boot.marker +@COND_i386_qemu_TRUE@am__append_913 = boot.module +@COND_i386_qemu_TRUE@am__append_914 = boot.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_915 = +@COND_i386_qemu_TRUE@am__append_916 = $(nodist_boot_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_917 = $(nodist_boot_module_SOURCES) \ +@COND_i386_qemu_TRUE@ boot.marker +@COND_i386_qemu_TRUE@am__append_918 = boot.mod +@COND_i386_qemu_TRUE@am__append_919 = boot.marker +@COND_i386_coreboot_TRUE@am__append_920 = boot.module +@COND_i386_coreboot_TRUE@am__append_921 = boot.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_922 = +@COND_i386_coreboot_TRUE@am__append_923 = $(nodist_boot_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_924 = \ +@COND_i386_coreboot_TRUE@ $(nodist_boot_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ boot.marker +@COND_i386_coreboot_TRUE@am__append_925 = boot.mod +@COND_i386_coreboot_TRUE@am__append_926 = boot.marker +@COND_i386_multiboot_TRUE@am__append_927 = boot.module +@COND_i386_multiboot_TRUE@am__append_928 = boot.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_929 = +@COND_i386_multiboot_TRUE@am__append_930 = $(nodist_boot_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_931 = \ +@COND_i386_multiboot_TRUE@ $(nodist_boot_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ boot.marker +@COND_i386_multiboot_TRUE@am__append_932 = boot.mod +@COND_i386_multiboot_TRUE@am__append_933 = boot.marker +@COND_i386_ieee1275_TRUE@am__append_934 = boot.module +@COND_i386_ieee1275_TRUE@am__append_935 = boot.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_936 = +@COND_i386_ieee1275_TRUE@am__append_937 = $(nodist_boot_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_938 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_boot_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ boot.marker +@COND_i386_ieee1275_TRUE@am__append_939 = boot.mod +@COND_i386_ieee1275_TRUE@am__append_940 = boot.marker +@COND_x86_64_efi_TRUE@am__append_941 = boot.module +@COND_x86_64_efi_TRUE@am__append_942 = boot.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_943 = +@COND_x86_64_efi_TRUE@am__append_944 = $(nodist_boot_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_945 = $(nodist_boot_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ boot.marker +@COND_x86_64_efi_TRUE@am__append_946 = boot.mod +@COND_x86_64_efi_TRUE@am__append_947 = boot.marker +@COND_sparc64_ieee1275_TRUE@am__append_948 = boot.module +@COND_sparc64_ieee1275_TRUE@am__append_949 = boot.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_950 = +@COND_sparc64_ieee1275_TRUE@am__append_951 = $(nodist_boot_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_952 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_boot_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ boot.marker +@COND_sparc64_ieee1275_TRUE@am__append_953 = boot.mod +@COND_sparc64_ieee1275_TRUE@am__append_954 = boot.marker +@COND_powerpc_ieee1275_TRUE@am__append_955 = boot.module +@COND_powerpc_ieee1275_TRUE@am__append_956 = boot.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_957 = +@COND_powerpc_ieee1275_TRUE@am__append_958 = $(nodist_boot_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_959 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_boot_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ boot.marker +@COND_powerpc_ieee1275_TRUE@am__append_960 = boot.mod +@COND_powerpc_ieee1275_TRUE@am__append_961 = boot.marker +@COND_emu_TRUE@am__append_962 = cat.module +@COND_emu_TRUE@am__append_963 = cat.module$(EXEEXT) +@COND_emu_TRUE@am__append_964 = +@COND_emu_TRUE@am__append_965 = $(nodist_cat_module_SOURCES) +@COND_emu_TRUE@am__append_966 = $(nodist_cat_module_SOURCES) \ +@COND_emu_TRUE@ cat.marker +@COND_emu_TRUE@am__append_967 = cat.mod +@COND_emu_TRUE@am__append_968 = cat.marker +@COND_i386_pc_TRUE@am__append_969 = cat.module +@COND_i386_pc_TRUE@am__append_970 = cat.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_971 = +@COND_i386_pc_TRUE@am__append_972 = $(nodist_cat_module_SOURCES) +@COND_i386_pc_TRUE@am__append_973 = $(nodist_cat_module_SOURCES) \ +@COND_i386_pc_TRUE@ cat.marker +@COND_i386_pc_TRUE@am__append_974 = cat.mod +@COND_i386_pc_TRUE@am__append_975 = cat.marker +@COND_i386_efi_TRUE@am__append_976 = cat.module +@COND_i386_efi_TRUE@am__append_977 = cat.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_978 = +@COND_i386_efi_TRUE@am__append_979 = $(nodist_cat_module_SOURCES) +@COND_i386_efi_TRUE@am__append_980 = $(nodist_cat_module_SOURCES) \ +@COND_i386_efi_TRUE@ cat.marker +@COND_i386_efi_TRUE@am__append_981 = cat.mod +@COND_i386_efi_TRUE@am__append_982 = cat.marker +@COND_i386_qemu_TRUE@am__append_983 = cat.module +@COND_i386_qemu_TRUE@am__append_984 = cat.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_985 = +@COND_i386_qemu_TRUE@am__append_986 = $(nodist_cat_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_987 = $(nodist_cat_module_SOURCES) \ +@COND_i386_qemu_TRUE@ cat.marker +@COND_i386_qemu_TRUE@am__append_988 = cat.mod +@COND_i386_qemu_TRUE@am__append_989 = cat.marker +@COND_i386_coreboot_TRUE@am__append_990 = cat.module +@COND_i386_coreboot_TRUE@am__append_991 = cat.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_992 = +@COND_i386_coreboot_TRUE@am__append_993 = $(nodist_cat_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_994 = \ +@COND_i386_coreboot_TRUE@ $(nodist_cat_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ cat.marker +@COND_i386_coreboot_TRUE@am__append_995 = cat.mod +@COND_i386_coreboot_TRUE@am__append_996 = cat.marker +@COND_i386_multiboot_TRUE@am__append_997 = cat.module +@COND_i386_multiboot_TRUE@am__append_998 = cat.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_999 = +@COND_i386_multiboot_TRUE@am__append_1000 = $(nodist_cat_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1001 = \ +@COND_i386_multiboot_TRUE@ $(nodist_cat_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ cat.marker +@COND_i386_multiboot_TRUE@am__append_1002 = cat.mod +@COND_i386_multiboot_TRUE@am__append_1003 = cat.marker +@COND_i386_ieee1275_TRUE@am__append_1004 = cat.module +@COND_i386_ieee1275_TRUE@am__append_1005 = cat.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1006 = +@COND_i386_ieee1275_TRUE@am__append_1007 = $(nodist_cat_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1008 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_cat_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ cat.marker +@COND_i386_ieee1275_TRUE@am__append_1009 = cat.mod +@COND_i386_ieee1275_TRUE@am__append_1010 = cat.marker +@COND_x86_64_efi_TRUE@am__append_1011 = cat.module +@COND_x86_64_efi_TRUE@am__append_1012 = cat.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1013 = +@COND_x86_64_efi_TRUE@am__append_1014 = $(nodist_cat_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1015 = $(nodist_cat_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ cat.marker +@COND_x86_64_efi_TRUE@am__append_1016 = cat.mod +@COND_x86_64_efi_TRUE@am__append_1017 = cat.marker +@COND_mips_yeeloong_TRUE@am__append_1018 = cat.module +@COND_mips_yeeloong_TRUE@am__append_1019 = cat.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1020 = +@COND_mips_yeeloong_TRUE@am__append_1021 = $(nodist_cat_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1022 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_cat_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ cat.marker +@COND_mips_yeeloong_TRUE@am__append_1023 = cat.mod +@COND_mips_yeeloong_TRUE@am__append_1024 = cat.marker +@COND_sparc64_ieee1275_TRUE@am__append_1025 = cat.module +@COND_sparc64_ieee1275_TRUE@am__append_1026 = cat.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1027 = +@COND_sparc64_ieee1275_TRUE@am__append_1028 = $(nodist_cat_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1029 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_cat_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ cat.marker +@COND_sparc64_ieee1275_TRUE@am__append_1030 = cat.mod +@COND_sparc64_ieee1275_TRUE@am__append_1031 = cat.marker +@COND_powerpc_ieee1275_TRUE@am__append_1032 = cat.module +@COND_powerpc_ieee1275_TRUE@am__append_1033 = cat.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1034 = +@COND_powerpc_ieee1275_TRUE@am__append_1035 = $(nodist_cat_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1036 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_cat_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ cat.marker +@COND_powerpc_ieee1275_TRUE@am__append_1037 = cat.mod +@COND_powerpc_ieee1275_TRUE@am__append_1038 = cat.marker +@COND_emu_TRUE@am__append_1039 = cmp.module +@COND_emu_TRUE@am__append_1040 = cmp.module$(EXEEXT) +@COND_emu_TRUE@am__append_1041 = +@COND_emu_TRUE@am__append_1042 = $(nodist_cmp_module_SOURCES) +@COND_emu_TRUE@am__append_1043 = $(nodist_cmp_module_SOURCES) \ +@COND_emu_TRUE@ cmp.marker +@COND_emu_TRUE@am__append_1044 = cmp.mod +@COND_emu_TRUE@am__append_1045 = cmp.marker +@COND_i386_pc_TRUE@am__append_1046 = cmp.module +@COND_i386_pc_TRUE@am__append_1047 = cmp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1048 = +@COND_i386_pc_TRUE@am__append_1049 = $(nodist_cmp_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1050 = $(nodist_cmp_module_SOURCES) \ +@COND_i386_pc_TRUE@ cmp.marker +@COND_i386_pc_TRUE@am__append_1051 = cmp.mod +@COND_i386_pc_TRUE@am__append_1052 = cmp.marker +@COND_i386_efi_TRUE@am__append_1053 = cmp.module +@COND_i386_efi_TRUE@am__append_1054 = cmp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1055 = +@COND_i386_efi_TRUE@am__append_1056 = $(nodist_cmp_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1057 = $(nodist_cmp_module_SOURCES) \ +@COND_i386_efi_TRUE@ cmp.marker +@COND_i386_efi_TRUE@am__append_1058 = cmp.mod +@COND_i386_efi_TRUE@am__append_1059 = cmp.marker +@COND_i386_qemu_TRUE@am__append_1060 = cmp.module +@COND_i386_qemu_TRUE@am__append_1061 = cmp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1062 = +@COND_i386_qemu_TRUE@am__append_1063 = $(nodist_cmp_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1064 = $(nodist_cmp_module_SOURCES) \ +@COND_i386_qemu_TRUE@ cmp.marker +@COND_i386_qemu_TRUE@am__append_1065 = cmp.mod +@COND_i386_qemu_TRUE@am__append_1066 = cmp.marker +@COND_i386_coreboot_TRUE@am__append_1067 = cmp.module +@COND_i386_coreboot_TRUE@am__append_1068 = cmp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1069 = +@COND_i386_coreboot_TRUE@am__append_1070 = $(nodist_cmp_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1071 = \ +@COND_i386_coreboot_TRUE@ $(nodist_cmp_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ cmp.marker +@COND_i386_coreboot_TRUE@am__append_1072 = cmp.mod +@COND_i386_coreboot_TRUE@am__append_1073 = cmp.marker +@COND_i386_multiboot_TRUE@am__append_1074 = cmp.module +@COND_i386_multiboot_TRUE@am__append_1075 = cmp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1076 = +@COND_i386_multiboot_TRUE@am__append_1077 = $(nodist_cmp_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1078 = \ +@COND_i386_multiboot_TRUE@ $(nodist_cmp_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ cmp.marker +@COND_i386_multiboot_TRUE@am__append_1079 = cmp.mod +@COND_i386_multiboot_TRUE@am__append_1080 = cmp.marker +@COND_i386_ieee1275_TRUE@am__append_1081 = cmp.module +@COND_i386_ieee1275_TRUE@am__append_1082 = cmp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1083 = +@COND_i386_ieee1275_TRUE@am__append_1084 = $(nodist_cmp_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1085 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_cmp_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ cmp.marker +@COND_i386_ieee1275_TRUE@am__append_1086 = cmp.mod +@COND_i386_ieee1275_TRUE@am__append_1087 = cmp.marker +@COND_x86_64_efi_TRUE@am__append_1088 = cmp.module +@COND_x86_64_efi_TRUE@am__append_1089 = cmp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1090 = +@COND_x86_64_efi_TRUE@am__append_1091 = $(nodist_cmp_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1092 = $(nodist_cmp_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ cmp.marker +@COND_x86_64_efi_TRUE@am__append_1093 = cmp.mod +@COND_x86_64_efi_TRUE@am__append_1094 = cmp.marker +@COND_mips_yeeloong_TRUE@am__append_1095 = cmp.module +@COND_mips_yeeloong_TRUE@am__append_1096 = cmp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1097 = +@COND_mips_yeeloong_TRUE@am__append_1098 = $(nodist_cmp_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1099 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_cmp_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ cmp.marker +@COND_mips_yeeloong_TRUE@am__append_1100 = cmp.mod +@COND_mips_yeeloong_TRUE@am__append_1101 = cmp.marker +@COND_sparc64_ieee1275_TRUE@am__append_1102 = cmp.module +@COND_sparc64_ieee1275_TRUE@am__append_1103 = cmp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1104 = +@COND_sparc64_ieee1275_TRUE@am__append_1105 = $(nodist_cmp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1106 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_cmp_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ cmp.marker +@COND_sparc64_ieee1275_TRUE@am__append_1107 = cmp.mod +@COND_sparc64_ieee1275_TRUE@am__append_1108 = cmp.marker +@COND_powerpc_ieee1275_TRUE@am__append_1109 = cmp.module +@COND_powerpc_ieee1275_TRUE@am__append_1110 = cmp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1111 = +@COND_powerpc_ieee1275_TRUE@am__append_1112 = $(nodist_cmp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1113 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_cmp_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ cmp.marker +@COND_powerpc_ieee1275_TRUE@am__append_1114 = cmp.mod +@COND_powerpc_ieee1275_TRUE@am__append_1115 = cmp.marker +@COND_emu_TRUE@am__append_1116 = configfile.module +@COND_emu_TRUE@am__append_1117 = configfile.module$(EXEEXT) +@COND_emu_TRUE@am__append_1118 = +@COND_emu_TRUE@am__append_1119 = $(nodist_configfile_module_SOURCES) +@COND_emu_TRUE@am__append_1120 = $(nodist_configfile_module_SOURCES) \ +@COND_emu_TRUE@ configfile.marker +@COND_emu_TRUE@am__append_1121 = configfile.mod +@COND_emu_TRUE@am__append_1122 = configfile.marker +@COND_i386_pc_TRUE@am__append_1123 = configfile.module +@COND_i386_pc_TRUE@am__append_1124 = configfile.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1125 = +@COND_i386_pc_TRUE@am__append_1126 = $(nodist_configfile_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1127 = \ +@COND_i386_pc_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_i386_pc_TRUE@ configfile.marker +@COND_i386_pc_TRUE@am__append_1128 = configfile.mod +@COND_i386_pc_TRUE@am__append_1129 = configfile.marker +@COND_i386_efi_TRUE@am__append_1130 = configfile.module +@COND_i386_efi_TRUE@am__append_1131 = configfile.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1132 = +@COND_i386_efi_TRUE@am__append_1133 = $(nodist_configfile_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1134 = \ +@COND_i386_efi_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_i386_efi_TRUE@ configfile.marker +@COND_i386_efi_TRUE@am__append_1135 = configfile.mod +@COND_i386_efi_TRUE@am__append_1136 = configfile.marker +@COND_i386_qemu_TRUE@am__append_1137 = configfile.module +@COND_i386_qemu_TRUE@am__append_1138 = configfile.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1139 = +@COND_i386_qemu_TRUE@am__append_1140 = $(nodist_configfile_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1141 = \ +@COND_i386_qemu_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_i386_qemu_TRUE@ configfile.marker +@COND_i386_qemu_TRUE@am__append_1142 = configfile.mod +@COND_i386_qemu_TRUE@am__append_1143 = configfile.marker +@COND_i386_coreboot_TRUE@am__append_1144 = configfile.module +@COND_i386_coreboot_TRUE@am__append_1145 = configfile.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1146 = +@COND_i386_coreboot_TRUE@am__append_1147 = $(nodist_configfile_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1148 = \ +@COND_i386_coreboot_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ configfile.marker +@COND_i386_coreboot_TRUE@am__append_1149 = configfile.mod +@COND_i386_coreboot_TRUE@am__append_1150 = configfile.marker +@COND_i386_multiboot_TRUE@am__append_1151 = configfile.module +@COND_i386_multiboot_TRUE@am__append_1152 = configfile.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1153 = +@COND_i386_multiboot_TRUE@am__append_1154 = $(nodist_configfile_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1155 = \ +@COND_i386_multiboot_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ configfile.marker +@COND_i386_multiboot_TRUE@am__append_1156 = configfile.mod +@COND_i386_multiboot_TRUE@am__append_1157 = configfile.marker +@COND_i386_ieee1275_TRUE@am__append_1158 = configfile.module +@COND_i386_ieee1275_TRUE@am__append_1159 = configfile.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1160 = +@COND_i386_ieee1275_TRUE@am__append_1161 = $(nodist_configfile_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1162 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ configfile.marker +@COND_i386_ieee1275_TRUE@am__append_1163 = configfile.mod +@COND_i386_ieee1275_TRUE@am__append_1164 = configfile.marker +@COND_x86_64_efi_TRUE@am__append_1165 = configfile.module +@COND_x86_64_efi_TRUE@am__append_1166 = configfile.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1167 = +@COND_x86_64_efi_TRUE@am__append_1168 = $(nodist_configfile_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1169 = \ +@COND_x86_64_efi_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ configfile.marker +@COND_x86_64_efi_TRUE@am__append_1170 = configfile.mod +@COND_x86_64_efi_TRUE@am__append_1171 = configfile.marker +@COND_mips_yeeloong_TRUE@am__append_1172 = configfile.module +@COND_mips_yeeloong_TRUE@am__append_1173 = configfile.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1174 = +@COND_mips_yeeloong_TRUE@am__append_1175 = $(nodist_configfile_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1176 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_configfile_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ configfile.marker +@COND_mips_yeeloong_TRUE@am__append_1177 = configfile.mod +@COND_mips_yeeloong_TRUE@am__append_1178 = configfile.marker +@COND_sparc64_ieee1275_TRUE@am__append_1179 = configfile.module +@COND_sparc64_ieee1275_TRUE@am__append_1180 = configfile.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1181 = +@COND_sparc64_ieee1275_TRUE@am__append_1182 = $(nodist_configfile_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1183 = $(nodist_configfile_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ configfile.marker +@COND_sparc64_ieee1275_TRUE@am__append_1184 = configfile.mod +@COND_sparc64_ieee1275_TRUE@am__append_1185 = configfile.marker +@COND_powerpc_ieee1275_TRUE@am__append_1186 = configfile.module +@COND_powerpc_ieee1275_TRUE@am__append_1187 = configfile.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1188 = +@COND_powerpc_ieee1275_TRUE@am__append_1189 = $(nodist_configfile_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1190 = $(nodist_configfile_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ configfile.marker +@COND_powerpc_ieee1275_TRUE@am__append_1191 = configfile.mod +@COND_powerpc_ieee1275_TRUE@am__append_1192 = configfile.marker +@COND_i386_pc_TRUE@am__append_1193 = cpuid.module +@COND_i386_pc_TRUE@am__append_1194 = cpuid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1195 = +@COND_i386_pc_TRUE@am__append_1196 = $(nodist_cpuid_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1197 = $(nodist_cpuid_module_SOURCES) \ +@COND_i386_pc_TRUE@ cpuid.marker +@COND_i386_pc_TRUE@am__append_1198 = cpuid.mod +@COND_i386_pc_TRUE@am__append_1199 = cpuid.marker +@COND_i386_efi_TRUE@am__append_1200 = cpuid.module +@COND_i386_efi_TRUE@am__append_1201 = cpuid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1202 = +@COND_i386_efi_TRUE@am__append_1203 = $(nodist_cpuid_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1204 = $(nodist_cpuid_module_SOURCES) \ +@COND_i386_efi_TRUE@ cpuid.marker +@COND_i386_efi_TRUE@am__append_1205 = cpuid.mod +@COND_i386_efi_TRUE@am__append_1206 = cpuid.marker +@COND_i386_qemu_TRUE@am__append_1207 = cpuid.module +@COND_i386_qemu_TRUE@am__append_1208 = cpuid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1209 = +@COND_i386_qemu_TRUE@am__append_1210 = $(nodist_cpuid_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1211 = $(nodist_cpuid_module_SOURCES) \ +@COND_i386_qemu_TRUE@ cpuid.marker +@COND_i386_qemu_TRUE@am__append_1212 = cpuid.mod +@COND_i386_qemu_TRUE@am__append_1213 = cpuid.marker +@COND_i386_coreboot_TRUE@am__append_1214 = cpuid.module +@COND_i386_coreboot_TRUE@am__append_1215 = cpuid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1216 = +@COND_i386_coreboot_TRUE@am__append_1217 = $(nodist_cpuid_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1218 = \ +@COND_i386_coreboot_TRUE@ $(nodist_cpuid_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ cpuid.marker +@COND_i386_coreboot_TRUE@am__append_1219 = cpuid.mod +@COND_i386_coreboot_TRUE@am__append_1220 = cpuid.marker +@COND_i386_multiboot_TRUE@am__append_1221 = cpuid.module +@COND_i386_multiboot_TRUE@am__append_1222 = cpuid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1223 = +@COND_i386_multiboot_TRUE@am__append_1224 = $(nodist_cpuid_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1225 = \ +@COND_i386_multiboot_TRUE@ $(nodist_cpuid_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ cpuid.marker +@COND_i386_multiboot_TRUE@am__append_1226 = cpuid.mod +@COND_i386_multiboot_TRUE@am__append_1227 = cpuid.marker +@COND_i386_ieee1275_TRUE@am__append_1228 = cpuid.module +@COND_i386_ieee1275_TRUE@am__append_1229 = cpuid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1230 = +@COND_i386_ieee1275_TRUE@am__append_1231 = $(nodist_cpuid_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1232 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_cpuid_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ cpuid.marker +@COND_i386_ieee1275_TRUE@am__append_1233 = cpuid.mod +@COND_i386_ieee1275_TRUE@am__append_1234 = cpuid.marker +@COND_x86_64_efi_TRUE@am__append_1235 = cpuid.module +@COND_x86_64_efi_TRUE@am__append_1236 = cpuid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1237 = +@COND_x86_64_efi_TRUE@am__append_1238 = $(nodist_cpuid_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1239 = \ +@COND_x86_64_efi_TRUE@ $(nodist_cpuid_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ cpuid.marker +@COND_x86_64_efi_TRUE@am__append_1240 = cpuid.mod +@COND_x86_64_efi_TRUE@am__append_1241 = cpuid.marker +@COND_emu_TRUE@am__append_1242 = date.module +@COND_emu_TRUE@am__append_1243 = date.module$(EXEEXT) +@COND_emu_TRUE@am__append_1244 = +@COND_emu_TRUE@am__append_1245 = $(nodist_date_module_SOURCES) +@COND_emu_TRUE@am__append_1246 = $(nodist_date_module_SOURCES) \ +@COND_emu_TRUE@ date.marker +@COND_emu_TRUE@am__append_1247 = date.mod +@COND_emu_TRUE@am__append_1248 = date.marker +@COND_i386_pc_TRUE@am__append_1249 = date.module +@COND_i386_pc_TRUE@am__append_1250 = date.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1251 = +@COND_i386_pc_TRUE@am__append_1252 = $(nodist_date_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1253 = $(nodist_date_module_SOURCES) \ +@COND_i386_pc_TRUE@ date.marker +@COND_i386_pc_TRUE@am__append_1254 = date.mod +@COND_i386_pc_TRUE@am__append_1255 = date.marker +@COND_i386_efi_TRUE@am__append_1256 = date.module +@COND_i386_efi_TRUE@am__append_1257 = date.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1258 = +@COND_i386_efi_TRUE@am__append_1259 = $(nodist_date_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1260 = $(nodist_date_module_SOURCES) \ +@COND_i386_efi_TRUE@ date.marker +@COND_i386_efi_TRUE@am__append_1261 = date.mod +@COND_i386_efi_TRUE@am__append_1262 = date.marker +@COND_i386_qemu_TRUE@am__append_1263 = date.module +@COND_i386_qemu_TRUE@am__append_1264 = date.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1265 = +@COND_i386_qemu_TRUE@am__append_1266 = $(nodist_date_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1267 = $(nodist_date_module_SOURCES) \ +@COND_i386_qemu_TRUE@ date.marker +@COND_i386_qemu_TRUE@am__append_1268 = date.mod +@COND_i386_qemu_TRUE@am__append_1269 = date.marker +@COND_i386_coreboot_TRUE@am__append_1270 = date.module +@COND_i386_coreboot_TRUE@am__append_1271 = date.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1272 = +@COND_i386_coreboot_TRUE@am__append_1273 = $(nodist_date_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1274 = \ +@COND_i386_coreboot_TRUE@ $(nodist_date_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ date.marker +@COND_i386_coreboot_TRUE@am__append_1275 = date.mod +@COND_i386_coreboot_TRUE@am__append_1276 = date.marker +@COND_i386_multiboot_TRUE@am__append_1277 = date.module +@COND_i386_multiboot_TRUE@am__append_1278 = date.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1279 = +@COND_i386_multiboot_TRUE@am__append_1280 = $(nodist_date_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1281 = \ +@COND_i386_multiboot_TRUE@ $(nodist_date_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ date.marker +@COND_i386_multiboot_TRUE@am__append_1282 = date.mod +@COND_i386_multiboot_TRUE@am__append_1283 = date.marker +@COND_i386_ieee1275_TRUE@am__append_1284 = date.module +@COND_i386_ieee1275_TRUE@am__append_1285 = date.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1286 = +@COND_i386_ieee1275_TRUE@am__append_1287 = $(nodist_date_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1288 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_date_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ date.marker +@COND_i386_ieee1275_TRUE@am__append_1289 = date.mod +@COND_i386_ieee1275_TRUE@am__append_1290 = date.marker +@COND_x86_64_efi_TRUE@am__append_1291 = date.module +@COND_x86_64_efi_TRUE@am__append_1292 = date.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1293 = +@COND_x86_64_efi_TRUE@am__append_1294 = $(nodist_date_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1295 = $(nodist_date_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ date.marker +@COND_x86_64_efi_TRUE@am__append_1296 = date.mod +@COND_x86_64_efi_TRUE@am__append_1297 = date.marker +@COND_mips_yeeloong_TRUE@am__append_1298 = date.module +@COND_mips_yeeloong_TRUE@am__append_1299 = date.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1300 = +@COND_mips_yeeloong_TRUE@am__append_1301 = $(nodist_date_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1302 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_date_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ date.marker +@COND_mips_yeeloong_TRUE@am__append_1303 = date.mod +@COND_mips_yeeloong_TRUE@am__append_1304 = date.marker +@COND_sparc64_ieee1275_TRUE@am__append_1305 = date.module +@COND_sparc64_ieee1275_TRUE@am__append_1306 = date.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1307 = +@COND_sparc64_ieee1275_TRUE@am__append_1308 = $(nodist_date_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1309 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_date_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ date.marker +@COND_sparc64_ieee1275_TRUE@am__append_1310 = date.mod +@COND_sparc64_ieee1275_TRUE@am__append_1311 = date.marker +@COND_powerpc_ieee1275_TRUE@am__append_1312 = date.module +@COND_powerpc_ieee1275_TRUE@am__append_1313 = date.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1314 = +@COND_powerpc_ieee1275_TRUE@am__append_1315 = $(nodist_date_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1316 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_date_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ date.marker +@COND_powerpc_ieee1275_TRUE@am__append_1317 = date.mod +@COND_powerpc_ieee1275_TRUE@am__append_1318 = date.marker +@COND_i386_pc_TRUE@am__append_1319 = drivemap.module +@COND_i386_pc_TRUE@am__append_1320 = drivemap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1321 = +@COND_i386_pc_TRUE@am__append_1322 = $(nodist_drivemap_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1323 = \ +@COND_i386_pc_TRUE@ $(nodist_drivemap_module_SOURCES) \ +@COND_i386_pc_TRUE@ drivemap.marker +@COND_i386_pc_TRUE@am__append_1324 = drivemap.mod +@COND_i386_pc_TRUE@am__append_1325 = drivemap.marker +@COND_emu_TRUE@am__append_1326 = echo.module +@COND_emu_TRUE@am__append_1327 = echo.module$(EXEEXT) +@COND_emu_TRUE@am__append_1328 = +@COND_emu_TRUE@am__append_1329 = $(nodist_echo_module_SOURCES) +@COND_emu_TRUE@am__append_1330 = $(nodist_echo_module_SOURCES) \ +@COND_emu_TRUE@ echo.marker +@COND_emu_TRUE@am__append_1331 = echo.mod +@COND_emu_TRUE@am__append_1332 = echo.marker +@COND_i386_pc_TRUE@am__append_1333 = echo.module +@COND_i386_pc_TRUE@am__append_1334 = echo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1335 = +@COND_i386_pc_TRUE@am__append_1336 = $(nodist_echo_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1337 = $(nodist_echo_module_SOURCES) \ +@COND_i386_pc_TRUE@ echo.marker +@COND_i386_pc_TRUE@am__append_1338 = echo.mod +@COND_i386_pc_TRUE@am__append_1339 = echo.marker +@COND_i386_efi_TRUE@am__append_1340 = echo.module +@COND_i386_efi_TRUE@am__append_1341 = echo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1342 = +@COND_i386_efi_TRUE@am__append_1343 = $(nodist_echo_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1344 = $(nodist_echo_module_SOURCES) \ +@COND_i386_efi_TRUE@ echo.marker +@COND_i386_efi_TRUE@am__append_1345 = echo.mod +@COND_i386_efi_TRUE@am__append_1346 = echo.marker +@COND_i386_qemu_TRUE@am__append_1347 = echo.module +@COND_i386_qemu_TRUE@am__append_1348 = echo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1349 = +@COND_i386_qemu_TRUE@am__append_1350 = $(nodist_echo_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1351 = $(nodist_echo_module_SOURCES) \ +@COND_i386_qemu_TRUE@ echo.marker +@COND_i386_qemu_TRUE@am__append_1352 = echo.mod +@COND_i386_qemu_TRUE@am__append_1353 = echo.marker +@COND_i386_coreboot_TRUE@am__append_1354 = echo.module +@COND_i386_coreboot_TRUE@am__append_1355 = echo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1356 = +@COND_i386_coreboot_TRUE@am__append_1357 = $(nodist_echo_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1358 = \ +@COND_i386_coreboot_TRUE@ $(nodist_echo_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ echo.marker +@COND_i386_coreboot_TRUE@am__append_1359 = echo.mod +@COND_i386_coreboot_TRUE@am__append_1360 = echo.marker +@COND_i386_multiboot_TRUE@am__append_1361 = echo.module +@COND_i386_multiboot_TRUE@am__append_1362 = echo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1363 = +@COND_i386_multiboot_TRUE@am__append_1364 = $(nodist_echo_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1365 = \ +@COND_i386_multiboot_TRUE@ $(nodist_echo_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ echo.marker +@COND_i386_multiboot_TRUE@am__append_1366 = echo.mod +@COND_i386_multiboot_TRUE@am__append_1367 = echo.marker +@COND_i386_ieee1275_TRUE@am__append_1368 = echo.module +@COND_i386_ieee1275_TRUE@am__append_1369 = echo.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1370 = +@COND_i386_ieee1275_TRUE@am__append_1371 = $(nodist_echo_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1372 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_echo_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ echo.marker +@COND_i386_ieee1275_TRUE@am__append_1373 = echo.mod +@COND_i386_ieee1275_TRUE@am__append_1374 = echo.marker +@COND_x86_64_efi_TRUE@am__append_1375 = echo.module +@COND_x86_64_efi_TRUE@am__append_1376 = echo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1377 = +@COND_x86_64_efi_TRUE@am__append_1378 = $(nodist_echo_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1379 = $(nodist_echo_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ echo.marker +@COND_x86_64_efi_TRUE@am__append_1380 = echo.mod +@COND_x86_64_efi_TRUE@am__append_1381 = echo.marker +@COND_mips_yeeloong_TRUE@am__append_1382 = echo.module +@COND_mips_yeeloong_TRUE@am__append_1383 = echo.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1384 = +@COND_mips_yeeloong_TRUE@am__append_1385 = $(nodist_echo_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1386 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_echo_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ echo.marker +@COND_mips_yeeloong_TRUE@am__append_1387 = echo.mod +@COND_mips_yeeloong_TRUE@am__append_1388 = echo.marker +@COND_sparc64_ieee1275_TRUE@am__append_1389 = echo.module +@COND_sparc64_ieee1275_TRUE@am__append_1390 = echo.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1391 = +@COND_sparc64_ieee1275_TRUE@am__append_1392 = $(nodist_echo_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1393 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_echo_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ echo.marker +@COND_sparc64_ieee1275_TRUE@am__append_1394 = echo.mod +@COND_sparc64_ieee1275_TRUE@am__append_1395 = echo.marker +@COND_powerpc_ieee1275_TRUE@am__append_1396 = echo.module +@COND_powerpc_ieee1275_TRUE@am__append_1397 = echo.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1398 = +@COND_powerpc_ieee1275_TRUE@am__append_1399 = $(nodist_echo_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1400 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_echo_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ echo.marker +@COND_powerpc_ieee1275_TRUE@am__append_1401 = echo.mod +@COND_powerpc_ieee1275_TRUE@am__append_1402 = echo.marker +@COND_emu_TRUE@am__append_1403 = extcmd.module +@COND_emu_TRUE@am__append_1404 = extcmd.module$(EXEEXT) +@COND_emu_TRUE@am__append_1405 = +@COND_emu_TRUE@am__append_1406 = $(nodist_extcmd_module_SOURCES) +@COND_emu_TRUE@am__append_1407 = $(nodist_extcmd_module_SOURCES) \ +@COND_emu_TRUE@ extcmd.marker +@COND_emu_TRUE@am__append_1408 = extcmd.mod +@COND_emu_TRUE@am__append_1409 = extcmd.marker +@COND_i386_pc_TRUE@am__append_1410 = extcmd.module +@COND_i386_pc_TRUE@am__append_1411 = extcmd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1412 = +@COND_i386_pc_TRUE@am__append_1413 = $(nodist_extcmd_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1414 = $(nodist_extcmd_module_SOURCES) \ +@COND_i386_pc_TRUE@ extcmd.marker +@COND_i386_pc_TRUE@am__append_1415 = extcmd.mod +@COND_i386_pc_TRUE@am__append_1416 = extcmd.marker +@COND_i386_efi_TRUE@am__append_1417 = extcmd.module +@COND_i386_efi_TRUE@am__append_1418 = extcmd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1419 = +@COND_i386_efi_TRUE@am__append_1420 = $(nodist_extcmd_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1421 = $(nodist_extcmd_module_SOURCES) \ +@COND_i386_efi_TRUE@ extcmd.marker +@COND_i386_efi_TRUE@am__append_1422 = extcmd.mod +@COND_i386_efi_TRUE@am__append_1423 = extcmd.marker +@COND_i386_qemu_TRUE@am__append_1424 = extcmd.module +@COND_i386_qemu_TRUE@am__append_1425 = extcmd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1426 = +@COND_i386_qemu_TRUE@am__append_1427 = $(nodist_extcmd_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1428 = \ +@COND_i386_qemu_TRUE@ $(nodist_extcmd_module_SOURCES) \ +@COND_i386_qemu_TRUE@ extcmd.marker +@COND_i386_qemu_TRUE@am__append_1429 = extcmd.mod +@COND_i386_qemu_TRUE@am__append_1430 = extcmd.marker +@COND_i386_coreboot_TRUE@am__append_1431 = extcmd.module +@COND_i386_coreboot_TRUE@am__append_1432 = extcmd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1433 = +@COND_i386_coreboot_TRUE@am__append_1434 = $(nodist_extcmd_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1435 = \ +@COND_i386_coreboot_TRUE@ $(nodist_extcmd_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ extcmd.marker +@COND_i386_coreboot_TRUE@am__append_1436 = extcmd.mod +@COND_i386_coreboot_TRUE@am__append_1437 = extcmd.marker +@COND_i386_multiboot_TRUE@am__append_1438 = extcmd.module +@COND_i386_multiboot_TRUE@am__append_1439 = extcmd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1440 = +@COND_i386_multiboot_TRUE@am__append_1441 = $(nodist_extcmd_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1442 = \ +@COND_i386_multiboot_TRUE@ $(nodist_extcmd_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ extcmd.marker +@COND_i386_multiboot_TRUE@am__append_1443 = extcmd.mod +@COND_i386_multiboot_TRUE@am__append_1444 = extcmd.marker +@COND_x86_64_efi_TRUE@am__append_1445 = extcmd.module +@COND_x86_64_efi_TRUE@am__append_1446 = extcmd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1447 = +@COND_x86_64_efi_TRUE@am__append_1448 = $(nodist_extcmd_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1449 = \ +@COND_x86_64_efi_TRUE@ $(nodist_extcmd_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ extcmd.marker +@COND_x86_64_efi_TRUE@am__append_1450 = extcmd.mod +@COND_x86_64_efi_TRUE@am__append_1451 = extcmd.marker +@COND_i386_efi_TRUE@am__append_1452 = fixvideo.module +@COND_i386_efi_TRUE@am__append_1453 = fixvideo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1454 = +@COND_i386_efi_TRUE@am__append_1455 = $(nodist_fixvideo_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1456 = \ +@COND_i386_efi_TRUE@ $(nodist_fixvideo_module_SOURCES) \ +@COND_i386_efi_TRUE@ fixvideo.marker +@COND_i386_efi_TRUE@am__append_1457 = fixvideo.mod +@COND_i386_efi_TRUE@am__append_1458 = fixvideo.marker +@COND_x86_64_efi_TRUE@am__append_1459 = fixvideo.module +@COND_x86_64_efi_TRUE@am__append_1460 = fixvideo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1461 = +@COND_x86_64_efi_TRUE@am__append_1462 = $(nodist_fixvideo_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1463 = \ +@COND_x86_64_efi_TRUE@ $(nodist_fixvideo_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ fixvideo.marker +@COND_x86_64_efi_TRUE@am__append_1464 = fixvideo.mod +@COND_x86_64_efi_TRUE@am__append_1465 = fixvideo.marker +@COND_emu_TRUE@am__append_1466 = gptsync.module +@COND_emu_TRUE@am__append_1467 = gptsync.module$(EXEEXT) +@COND_emu_TRUE@am__append_1468 = +@COND_emu_TRUE@am__append_1469 = $(nodist_gptsync_module_SOURCES) +@COND_emu_TRUE@am__append_1470 = $(nodist_gptsync_module_SOURCES) \ +@COND_emu_TRUE@ gptsync.marker +@COND_emu_TRUE@am__append_1471 = gptsync.mod +@COND_emu_TRUE@am__append_1472 = gptsync.marker +@COND_i386_pc_TRUE@am__append_1473 = gptsync.module +@COND_i386_pc_TRUE@am__append_1474 = gptsync.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1475 = +@COND_i386_pc_TRUE@am__append_1476 = $(nodist_gptsync_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1477 = $(nodist_gptsync_module_SOURCES) \ +@COND_i386_pc_TRUE@ gptsync.marker +@COND_i386_pc_TRUE@am__append_1478 = gptsync.mod +@COND_i386_pc_TRUE@am__append_1479 = gptsync.marker +@COND_i386_efi_TRUE@am__append_1480 = gptsync.module +@COND_i386_efi_TRUE@am__append_1481 = gptsync.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1482 = +@COND_i386_efi_TRUE@am__append_1483 = $(nodist_gptsync_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1484 = \ +@COND_i386_efi_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_i386_efi_TRUE@ gptsync.marker +@COND_i386_efi_TRUE@am__append_1485 = gptsync.mod +@COND_i386_efi_TRUE@am__append_1486 = gptsync.marker +@COND_i386_qemu_TRUE@am__append_1487 = gptsync.module +@COND_i386_qemu_TRUE@am__append_1488 = gptsync.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1489 = +@COND_i386_qemu_TRUE@am__append_1490 = $(nodist_gptsync_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1491 = \ +@COND_i386_qemu_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gptsync.marker +@COND_i386_qemu_TRUE@am__append_1492 = gptsync.mod +@COND_i386_qemu_TRUE@am__append_1493 = gptsync.marker +@COND_i386_coreboot_TRUE@am__append_1494 = gptsync.module +@COND_i386_coreboot_TRUE@am__append_1495 = gptsync.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1496 = +@COND_i386_coreboot_TRUE@am__append_1497 = $(nodist_gptsync_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1498 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gptsync.marker +@COND_i386_coreboot_TRUE@am__append_1499 = gptsync.mod +@COND_i386_coreboot_TRUE@am__append_1500 = gptsync.marker +@COND_i386_multiboot_TRUE@am__append_1501 = gptsync.module +@COND_i386_multiboot_TRUE@am__append_1502 = gptsync.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1503 = +@COND_i386_multiboot_TRUE@am__append_1504 = $(nodist_gptsync_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1505 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gptsync.marker +@COND_i386_multiboot_TRUE@am__append_1506 = gptsync.mod +@COND_i386_multiboot_TRUE@am__append_1507 = gptsync.marker +@COND_i386_ieee1275_TRUE@am__append_1508 = gptsync.module +@COND_i386_ieee1275_TRUE@am__append_1509 = gptsync.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1510 = +@COND_i386_ieee1275_TRUE@am__append_1511 = $(nodist_gptsync_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1512 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gptsync.marker +@COND_i386_ieee1275_TRUE@am__append_1513 = gptsync.mod +@COND_i386_ieee1275_TRUE@am__append_1514 = gptsync.marker +@COND_x86_64_efi_TRUE@am__append_1515 = gptsync.module +@COND_x86_64_efi_TRUE@am__append_1516 = gptsync.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1517 = +@COND_x86_64_efi_TRUE@am__append_1518 = $(nodist_gptsync_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1519 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gptsync.marker +@COND_x86_64_efi_TRUE@am__append_1520 = gptsync.mod +@COND_x86_64_efi_TRUE@am__append_1521 = gptsync.marker +@COND_mips_yeeloong_TRUE@am__append_1522 = gptsync.module +@COND_mips_yeeloong_TRUE@am__append_1523 = gptsync.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1524 = +@COND_mips_yeeloong_TRUE@am__append_1525 = $(nodist_gptsync_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1526 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gptsync.marker +@COND_mips_yeeloong_TRUE@am__append_1527 = gptsync.mod +@COND_mips_yeeloong_TRUE@am__append_1528 = gptsync.marker +@COND_sparc64_ieee1275_TRUE@am__append_1529 = gptsync.module +@COND_sparc64_ieee1275_TRUE@am__append_1530 = gptsync.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1531 = +@COND_sparc64_ieee1275_TRUE@am__append_1532 = $(nodist_gptsync_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1533 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gptsync.marker +@COND_sparc64_ieee1275_TRUE@am__append_1534 = gptsync.mod +@COND_sparc64_ieee1275_TRUE@am__append_1535 = gptsync.marker +@COND_powerpc_ieee1275_TRUE@am__append_1536 = gptsync.module +@COND_powerpc_ieee1275_TRUE@am__append_1537 = gptsync.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1538 = +@COND_powerpc_ieee1275_TRUE@am__append_1539 = $(nodist_gptsync_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1540 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gptsync_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gptsync.marker +@COND_powerpc_ieee1275_TRUE@am__append_1541 = gptsync.mod +@COND_powerpc_ieee1275_TRUE@am__append_1542 = gptsync.marker +@COND_emu_TRUE@am__append_1543 = halt.module +@COND_emu_TRUE@am__append_1544 = halt.module$(EXEEXT) +@COND_emu_TRUE@am__append_1545 = +@COND_emu_TRUE@am__append_1546 = $(nodist_halt_module_SOURCES) +@COND_emu_TRUE@am__append_1547 = $(nodist_halt_module_SOURCES) \ +@COND_emu_TRUE@ halt.marker +@COND_emu_TRUE@am__append_1548 = halt.mod +@COND_emu_TRUE@am__append_1549 = halt.marker +@COND_i386_pc_TRUE@am__append_1550 = halt.module +@COND_i386_pc_TRUE@am__append_1551 = halt.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1552 = +@COND_i386_pc_TRUE@am__append_1553 = $(nodist_halt_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1554 = $(nodist_halt_module_SOURCES) \ +@COND_i386_pc_TRUE@ halt.marker +@COND_i386_pc_TRUE@am__append_1555 = halt.mod +@COND_i386_pc_TRUE@am__append_1556 = halt.marker +@COND_i386_efi_TRUE@am__append_1557 = halt.module +@COND_i386_efi_TRUE@am__append_1558 = halt.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1559 = +@COND_i386_efi_TRUE@am__append_1560 = $(nodist_halt_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1561 = $(nodist_halt_module_SOURCES) \ +@COND_i386_efi_TRUE@ halt.marker +@COND_i386_efi_TRUE@am__append_1562 = halt.mod +@COND_i386_efi_TRUE@am__append_1563 = halt.marker +@COND_i386_qemu_TRUE@am__append_1564 = halt.module +@COND_i386_qemu_TRUE@am__append_1565 = halt.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1566 = +@COND_i386_qemu_TRUE@am__append_1567 = $(nodist_halt_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1568 = $(nodist_halt_module_SOURCES) \ +@COND_i386_qemu_TRUE@ halt.marker +@COND_i386_qemu_TRUE@am__append_1569 = halt.mod +@COND_i386_qemu_TRUE@am__append_1570 = halt.marker +@COND_i386_coreboot_TRUE@am__append_1571 = halt.module +@COND_i386_coreboot_TRUE@am__append_1572 = halt.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1573 = +@COND_i386_coreboot_TRUE@am__append_1574 = $(nodist_halt_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1575 = \ +@COND_i386_coreboot_TRUE@ $(nodist_halt_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ halt.marker +@COND_i386_coreboot_TRUE@am__append_1576 = halt.mod +@COND_i386_coreboot_TRUE@am__append_1577 = halt.marker +@COND_i386_multiboot_TRUE@am__append_1578 = halt.module +@COND_i386_multiboot_TRUE@am__append_1579 = halt.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1580 = +@COND_i386_multiboot_TRUE@am__append_1581 = $(nodist_halt_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1582 = \ +@COND_i386_multiboot_TRUE@ $(nodist_halt_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ halt.marker +@COND_i386_multiboot_TRUE@am__append_1583 = halt.mod +@COND_i386_multiboot_TRUE@am__append_1584 = halt.marker +@COND_i386_ieee1275_TRUE@am__append_1585 = halt.module +@COND_i386_ieee1275_TRUE@am__append_1586 = halt.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1587 = +@COND_i386_ieee1275_TRUE@am__append_1588 = $(nodist_halt_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1589 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_halt_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ halt.marker +@COND_i386_ieee1275_TRUE@am__append_1590 = halt.mod +@COND_i386_ieee1275_TRUE@am__append_1591 = halt.marker +@COND_x86_64_efi_TRUE@am__append_1592 = halt.module +@COND_x86_64_efi_TRUE@am__append_1593 = halt.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1594 = +@COND_x86_64_efi_TRUE@am__append_1595 = $(nodist_halt_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1596 = $(nodist_halt_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ halt.marker +@COND_x86_64_efi_TRUE@am__append_1597 = halt.mod +@COND_x86_64_efi_TRUE@am__append_1598 = halt.marker +@COND_mips_yeeloong_TRUE@am__append_1599 = halt.module +@COND_mips_yeeloong_TRUE@am__append_1600 = halt.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1601 = +@COND_mips_yeeloong_TRUE@am__append_1602 = $(nodist_halt_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1603 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_halt_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ halt.marker +@COND_mips_yeeloong_TRUE@am__append_1604 = halt.mod +@COND_mips_yeeloong_TRUE@am__append_1605 = halt.marker +@COND_sparc64_ieee1275_TRUE@am__append_1606 = halt.module +@COND_sparc64_ieee1275_TRUE@am__append_1607 = halt.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1608 = +@COND_sparc64_ieee1275_TRUE@am__append_1609 = $(nodist_halt_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1610 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_halt_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ halt.marker +@COND_sparc64_ieee1275_TRUE@am__append_1611 = halt.mod +@COND_sparc64_ieee1275_TRUE@am__append_1612 = halt.marker +@COND_powerpc_ieee1275_TRUE@am__append_1613 = halt.module +@COND_powerpc_ieee1275_TRUE@am__append_1614 = halt.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1615 = +@COND_powerpc_ieee1275_TRUE@am__append_1616 = $(nodist_halt_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1617 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_halt_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ halt.marker +@COND_powerpc_ieee1275_TRUE@am__append_1618 = halt.mod +@COND_powerpc_ieee1275_TRUE@am__append_1619 = halt.marker +@COND_emu_TRUE@am__append_1620 = hashsum.module +@COND_emu_TRUE@am__append_1621 = hashsum.module$(EXEEXT) +@COND_emu_TRUE@am__append_1622 = +@COND_emu_TRUE@am__append_1623 = $(nodist_hashsum_module_SOURCES) +@COND_emu_TRUE@am__append_1624 = $(nodist_hashsum_module_SOURCES) \ +@COND_emu_TRUE@ hashsum.marker +@COND_emu_TRUE@am__append_1625 = hashsum.mod +@COND_emu_TRUE@am__append_1626 = hashsum.marker +@COND_i386_pc_TRUE@am__append_1627 = hashsum.module +@COND_i386_pc_TRUE@am__append_1628 = hashsum.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1629 = +@COND_i386_pc_TRUE@am__append_1630 = $(nodist_hashsum_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1631 = $(nodist_hashsum_module_SOURCES) \ +@COND_i386_pc_TRUE@ hashsum.marker +@COND_i386_pc_TRUE@am__append_1632 = hashsum.mod +@COND_i386_pc_TRUE@am__append_1633 = hashsum.marker +@COND_i386_efi_TRUE@am__append_1634 = hashsum.module +@COND_i386_efi_TRUE@am__append_1635 = hashsum.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1636 = +@COND_i386_efi_TRUE@am__append_1637 = $(nodist_hashsum_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1638 = \ +@COND_i386_efi_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_i386_efi_TRUE@ hashsum.marker +@COND_i386_efi_TRUE@am__append_1639 = hashsum.mod +@COND_i386_efi_TRUE@am__append_1640 = hashsum.marker +@COND_i386_qemu_TRUE@am__append_1641 = hashsum.module +@COND_i386_qemu_TRUE@am__append_1642 = hashsum.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1643 = +@COND_i386_qemu_TRUE@am__append_1644 = $(nodist_hashsum_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1645 = \ +@COND_i386_qemu_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_i386_qemu_TRUE@ hashsum.marker +@COND_i386_qemu_TRUE@am__append_1646 = hashsum.mod +@COND_i386_qemu_TRUE@am__append_1647 = hashsum.marker +@COND_i386_coreboot_TRUE@am__append_1648 = hashsum.module +@COND_i386_coreboot_TRUE@am__append_1649 = hashsum.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1650 = +@COND_i386_coreboot_TRUE@am__append_1651 = $(nodist_hashsum_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1652 = \ +@COND_i386_coreboot_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ hashsum.marker +@COND_i386_coreboot_TRUE@am__append_1653 = hashsum.mod +@COND_i386_coreboot_TRUE@am__append_1654 = hashsum.marker +@COND_i386_multiboot_TRUE@am__append_1655 = hashsum.module +@COND_i386_multiboot_TRUE@am__append_1656 = hashsum.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1657 = +@COND_i386_multiboot_TRUE@am__append_1658 = $(nodist_hashsum_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1659 = \ +@COND_i386_multiboot_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ hashsum.marker +@COND_i386_multiboot_TRUE@am__append_1660 = hashsum.mod +@COND_i386_multiboot_TRUE@am__append_1661 = hashsum.marker +@COND_i386_ieee1275_TRUE@am__append_1662 = hashsum.module +@COND_i386_ieee1275_TRUE@am__append_1663 = hashsum.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1664 = +@COND_i386_ieee1275_TRUE@am__append_1665 = $(nodist_hashsum_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1666 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ hashsum.marker +@COND_i386_ieee1275_TRUE@am__append_1667 = hashsum.mod +@COND_i386_ieee1275_TRUE@am__append_1668 = hashsum.marker +@COND_x86_64_efi_TRUE@am__append_1669 = hashsum.module +@COND_x86_64_efi_TRUE@am__append_1670 = hashsum.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1671 = +@COND_x86_64_efi_TRUE@am__append_1672 = $(nodist_hashsum_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1673 = \ +@COND_x86_64_efi_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ hashsum.marker +@COND_x86_64_efi_TRUE@am__append_1674 = hashsum.mod +@COND_x86_64_efi_TRUE@am__append_1675 = hashsum.marker +@COND_mips_yeeloong_TRUE@am__append_1676 = hashsum.module +@COND_mips_yeeloong_TRUE@am__append_1677 = hashsum.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1678 = +@COND_mips_yeeloong_TRUE@am__append_1679 = $(nodist_hashsum_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1680 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ hashsum.marker +@COND_mips_yeeloong_TRUE@am__append_1681 = hashsum.mod +@COND_mips_yeeloong_TRUE@am__append_1682 = hashsum.marker +@COND_sparc64_ieee1275_TRUE@am__append_1683 = hashsum.module +@COND_sparc64_ieee1275_TRUE@am__append_1684 = hashsum.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1685 = +@COND_sparc64_ieee1275_TRUE@am__append_1686 = $(nodist_hashsum_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1687 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ hashsum.marker +@COND_sparc64_ieee1275_TRUE@am__append_1688 = hashsum.mod +@COND_sparc64_ieee1275_TRUE@am__append_1689 = hashsum.marker +@COND_powerpc_ieee1275_TRUE@am__append_1690 = hashsum.module +@COND_powerpc_ieee1275_TRUE@am__append_1691 = hashsum.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1692 = +@COND_powerpc_ieee1275_TRUE@am__append_1693 = $(nodist_hashsum_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1694 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_hashsum_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ hashsum.marker +@COND_powerpc_ieee1275_TRUE@am__append_1695 = hashsum.mod +@COND_powerpc_ieee1275_TRUE@am__append_1696 = hashsum.marker +@COND_i386_pc_TRUE@am__append_1697 = hdparm.module +@COND_i386_pc_TRUE@am__append_1698 = hdparm.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1699 = +@COND_i386_pc_TRUE@am__append_1700 = $(nodist_hdparm_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1701 = $(nodist_hdparm_module_SOURCES) \ +@COND_i386_pc_TRUE@ hdparm.marker +@COND_i386_pc_TRUE@am__append_1702 = hdparm.mod +@COND_i386_pc_TRUE@am__append_1703 = hdparm.marker +@COND_i386_efi_TRUE@am__append_1704 = hdparm.module +@COND_i386_efi_TRUE@am__append_1705 = hdparm.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1706 = +@COND_i386_efi_TRUE@am__append_1707 = $(nodist_hdparm_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1708 = $(nodist_hdparm_module_SOURCES) \ +@COND_i386_efi_TRUE@ hdparm.marker +@COND_i386_efi_TRUE@am__append_1709 = hdparm.mod +@COND_i386_efi_TRUE@am__append_1710 = hdparm.marker +@COND_i386_qemu_TRUE@am__append_1711 = hdparm.module +@COND_i386_qemu_TRUE@am__append_1712 = hdparm.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1713 = +@COND_i386_qemu_TRUE@am__append_1714 = $(nodist_hdparm_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1715 = \ +@COND_i386_qemu_TRUE@ $(nodist_hdparm_module_SOURCES) \ +@COND_i386_qemu_TRUE@ hdparm.marker +@COND_i386_qemu_TRUE@am__append_1716 = hdparm.mod +@COND_i386_qemu_TRUE@am__append_1717 = hdparm.marker +@COND_i386_coreboot_TRUE@am__append_1718 = hdparm.module +@COND_i386_coreboot_TRUE@am__append_1719 = hdparm.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1720 = +@COND_i386_coreboot_TRUE@am__append_1721 = $(nodist_hdparm_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1722 = \ +@COND_i386_coreboot_TRUE@ $(nodist_hdparm_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ hdparm.marker +@COND_i386_coreboot_TRUE@am__append_1723 = hdparm.mod +@COND_i386_coreboot_TRUE@am__append_1724 = hdparm.marker +@COND_i386_multiboot_TRUE@am__append_1725 = hdparm.module +@COND_i386_multiboot_TRUE@am__append_1726 = hdparm.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1727 = +@COND_i386_multiboot_TRUE@am__append_1728 = $(nodist_hdparm_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1729 = \ +@COND_i386_multiboot_TRUE@ $(nodist_hdparm_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ hdparm.marker +@COND_i386_multiboot_TRUE@am__append_1730 = hdparm.mod +@COND_i386_multiboot_TRUE@am__append_1731 = hdparm.marker +@COND_i386_ieee1275_TRUE@am__append_1732 = hdparm.module +@COND_i386_ieee1275_TRUE@am__append_1733 = hdparm.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1734 = +@COND_i386_ieee1275_TRUE@am__append_1735 = $(nodist_hdparm_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1736 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_hdparm_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ hdparm.marker +@COND_i386_ieee1275_TRUE@am__append_1737 = hdparm.mod +@COND_i386_ieee1275_TRUE@am__append_1738 = hdparm.marker +@COND_x86_64_efi_TRUE@am__append_1739 = hdparm.module +@COND_x86_64_efi_TRUE@am__append_1740 = hdparm.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1741 = +@COND_x86_64_efi_TRUE@am__append_1742 = $(nodist_hdparm_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1743 = \ +@COND_x86_64_efi_TRUE@ $(nodist_hdparm_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ hdparm.marker +@COND_x86_64_efi_TRUE@am__append_1744 = hdparm.mod +@COND_x86_64_efi_TRUE@am__append_1745 = hdparm.marker +@COND_mips_yeeloong_TRUE@am__append_1746 = hdparm.module +@COND_mips_yeeloong_TRUE@am__append_1747 = hdparm.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1748 = +@COND_mips_yeeloong_TRUE@am__append_1749 = $(nodist_hdparm_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1750 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_hdparm_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ hdparm.marker +@COND_mips_yeeloong_TRUE@am__append_1751 = hdparm.mod +@COND_mips_yeeloong_TRUE@am__append_1752 = hdparm.marker +@COND_emu_TRUE@am__append_1753 = help.module +@COND_emu_TRUE@am__append_1754 = help.module$(EXEEXT) +@COND_emu_TRUE@am__append_1755 = +@COND_emu_TRUE@am__append_1756 = $(nodist_help_module_SOURCES) +@COND_emu_TRUE@am__append_1757 = $(nodist_help_module_SOURCES) \ +@COND_emu_TRUE@ help.marker +@COND_emu_TRUE@am__append_1758 = help.mod +@COND_emu_TRUE@am__append_1759 = help.marker +@COND_i386_pc_TRUE@am__append_1760 = help.module +@COND_i386_pc_TRUE@am__append_1761 = help.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1762 = +@COND_i386_pc_TRUE@am__append_1763 = $(nodist_help_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1764 = $(nodist_help_module_SOURCES) \ +@COND_i386_pc_TRUE@ help.marker +@COND_i386_pc_TRUE@am__append_1765 = help.mod +@COND_i386_pc_TRUE@am__append_1766 = help.marker +@COND_i386_efi_TRUE@am__append_1767 = help.module +@COND_i386_efi_TRUE@am__append_1768 = help.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1769 = +@COND_i386_efi_TRUE@am__append_1770 = $(nodist_help_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1771 = $(nodist_help_module_SOURCES) \ +@COND_i386_efi_TRUE@ help.marker +@COND_i386_efi_TRUE@am__append_1772 = help.mod +@COND_i386_efi_TRUE@am__append_1773 = help.marker +@COND_i386_qemu_TRUE@am__append_1774 = help.module +@COND_i386_qemu_TRUE@am__append_1775 = help.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1776 = +@COND_i386_qemu_TRUE@am__append_1777 = $(nodist_help_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1778 = $(nodist_help_module_SOURCES) \ +@COND_i386_qemu_TRUE@ help.marker +@COND_i386_qemu_TRUE@am__append_1779 = help.mod +@COND_i386_qemu_TRUE@am__append_1780 = help.marker +@COND_i386_coreboot_TRUE@am__append_1781 = help.module +@COND_i386_coreboot_TRUE@am__append_1782 = help.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1783 = +@COND_i386_coreboot_TRUE@am__append_1784 = $(nodist_help_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1785 = \ +@COND_i386_coreboot_TRUE@ $(nodist_help_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ help.marker +@COND_i386_coreboot_TRUE@am__append_1786 = help.mod +@COND_i386_coreboot_TRUE@am__append_1787 = help.marker +@COND_i386_multiboot_TRUE@am__append_1788 = help.module +@COND_i386_multiboot_TRUE@am__append_1789 = help.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1790 = +@COND_i386_multiboot_TRUE@am__append_1791 = $(nodist_help_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1792 = \ +@COND_i386_multiboot_TRUE@ $(nodist_help_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ help.marker +@COND_i386_multiboot_TRUE@am__append_1793 = help.mod +@COND_i386_multiboot_TRUE@am__append_1794 = help.marker +@COND_i386_ieee1275_TRUE@am__append_1795 = help.module +@COND_i386_ieee1275_TRUE@am__append_1796 = help.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1797 = +@COND_i386_ieee1275_TRUE@am__append_1798 = $(nodist_help_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1799 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_help_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ help.marker +@COND_i386_ieee1275_TRUE@am__append_1800 = help.mod +@COND_i386_ieee1275_TRUE@am__append_1801 = help.marker +@COND_x86_64_efi_TRUE@am__append_1802 = help.module +@COND_x86_64_efi_TRUE@am__append_1803 = help.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1804 = +@COND_x86_64_efi_TRUE@am__append_1805 = $(nodist_help_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1806 = $(nodist_help_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ help.marker +@COND_x86_64_efi_TRUE@am__append_1807 = help.mod +@COND_x86_64_efi_TRUE@am__append_1808 = help.marker +@COND_mips_yeeloong_TRUE@am__append_1809 = help.module +@COND_mips_yeeloong_TRUE@am__append_1810 = help.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1811 = +@COND_mips_yeeloong_TRUE@am__append_1812 = $(nodist_help_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1813 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_help_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ help.marker +@COND_mips_yeeloong_TRUE@am__append_1814 = help.mod +@COND_mips_yeeloong_TRUE@am__append_1815 = help.marker +@COND_sparc64_ieee1275_TRUE@am__append_1816 = help.module +@COND_sparc64_ieee1275_TRUE@am__append_1817 = help.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1818 = +@COND_sparc64_ieee1275_TRUE@am__append_1819 = $(nodist_help_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1820 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_help_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ help.marker +@COND_sparc64_ieee1275_TRUE@am__append_1821 = help.mod +@COND_sparc64_ieee1275_TRUE@am__append_1822 = help.marker +@COND_powerpc_ieee1275_TRUE@am__append_1823 = help.module +@COND_powerpc_ieee1275_TRUE@am__append_1824 = help.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1825 = +@COND_powerpc_ieee1275_TRUE@am__append_1826 = $(nodist_help_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1827 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_help_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ help.marker +@COND_powerpc_ieee1275_TRUE@am__append_1828 = help.mod +@COND_powerpc_ieee1275_TRUE@am__append_1829 = help.marker +@COND_emu_TRUE@am__append_1830 = hexdump.module +@COND_emu_TRUE@am__append_1831 = hexdump.module$(EXEEXT) +@COND_emu_TRUE@am__append_1832 = +@COND_emu_TRUE@am__append_1833 = $(nodist_hexdump_module_SOURCES) +@COND_emu_TRUE@am__append_1834 = $(nodist_hexdump_module_SOURCES) \ +@COND_emu_TRUE@ hexdump.marker +@COND_emu_TRUE@am__append_1835 = hexdump.mod +@COND_emu_TRUE@am__append_1836 = hexdump.marker +@COND_i386_pc_TRUE@am__append_1837 = hexdump.module +@COND_i386_pc_TRUE@am__append_1838 = hexdump.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1839 = +@COND_i386_pc_TRUE@am__append_1840 = $(nodist_hexdump_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1841 = $(nodist_hexdump_module_SOURCES) \ +@COND_i386_pc_TRUE@ hexdump.marker +@COND_i386_pc_TRUE@am__append_1842 = hexdump.mod +@COND_i386_pc_TRUE@am__append_1843 = hexdump.marker +@COND_i386_efi_TRUE@am__append_1844 = hexdump.module +@COND_i386_efi_TRUE@am__append_1845 = hexdump.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1846 = +@COND_i386_efi_TRUE@am__append_1847 = $(nodist_hexdump_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1848 = \ +@COND_i386_efi_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_i386_efi_TRUE@ hexdump.marker +@COND_i386_efi_TRUE@am__append_1849 = hexdump.mod +@COND_i386_efi_TRUE@am__append_1850 = hexdump.marker +@COND_i386_qemu_TRUE@am__append_1851 = hexdump.module +@COND_i386_qemu_TRUE@am__append_1852 = hexdump.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1853 = +@COND_i386_qemu_TRUE@am__append_1854 = $(nodist_hexdump_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1855 = \ +@COND_i386_qemu_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_i386_qemu_TRUE@ hexdump.marker +@COND_i386_qemu_TRUE@am__append_1856 = hexdump.mod +@COND_i386_qemu_TRUE@am__append_1857 = hexdump.marker +@COND_i386_coreboot_TRUE@am__append_1858 = hexdump.module +@COND_i386_coreboot_TRUE@am__append_1859 = hexdump.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1860 = +@COND_i386_coreboot_TRUE@am__append_1861 = $(nodist_hexdump_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1862 = \ +@COND_i386_coreboot_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ hexdump.marker +@COND_i386_coreboot_TRUE@am__append_1863 = hexdump.mod +@COND_i386_coreboot_TRUE@am__append_1864 = hexdump.marker +@COND_i386_multiboot_TRUE@am__append_1865 = hexdump.module +@COND_i386_multiboot_TRUE@am__append_1866 = hexdump.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1867 = +@COND_i386_multiboot_TRUE@am__append_1868 = $(nodist_hexdump_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1869 = \ +@COND_i386_multiboot_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ hexdump.marker +@COND_i386_multiboot_TRUE@am__append_1870 = hexdump.mod +@COND_i386_multiboot_TRUE@am__append_1871 = hexdump.marker +@COND_i386_ieee1275_TRUE@am__append_1872 = hexdump.module +@COND_i386_ieee1275_TRUE@am__append_1873 = hexdump.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1874 = +@COND_i386_ieee1275_TRUE@am__append_1875 = $(nodist_hexdump_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1876 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ hexdump.marker +@COND_i386_ieee1275_TRUE@am__append_1877 = hexdump.mod +@COND_i386_ieee1275_TRUE@am__append_1878 = hexdump.marker +@COND_x86_64_efi_TRUE@am__append_1879 = hexdump.module +@COND_x86_64_efi_TRUE@am__append_1880 = hexdump.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1881 = +@COND_x86_64_efi_TRUE@am__append_1882 = $(nodist_hexdump_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1883 = \ +@COND_x86_64_efi_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ hexdump.marker +@COND_x86_64_efi_TRUE@am__append_1884 = hexdump.mod +@COND_x86_64_efi_TRUE@am__append_1885 = hexdump.marker +@COND_mips_yeeloong_TRUE@am__append_1886 = hexdump.module +@COND_mips_yeeloong_TRUE@am__append_1887 = hexdump.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1888 = +@COND_mips_yeeloong_TRUE@am__append_1889 = $(nodist_hexdump_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1890 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ hexdump.marker +@COND_mips_yeeloong_TRUE@am__append_1891 = hexdump.mod +@COND_mips_yeeloong_TRUE@am__append_1892 = hexdump.marker +@COND_sparc64_ieee1275_TRUE@am__append_1893 = hexdump.module +@COND_sparc64_ieee1275_TRUE@am__append_1894 = hexdump.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1895 = +@COND_sparc64_ieee1275_TRUE@am__append_1896 = $(nodist_hexdump_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1897 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ hexdump.marker +@COND_sparc64_ieee1275_TRUE@am__append_1898 = hexdump.mod +@COND_sparc64_ieee1275_TRUE@am__append_1899 = hexdump.marker +@COND_powerpc_ieee1275_TRUE@am__append_1900 = hexdump.module +@COND_powerpc_ieee1275_TRUE@am__append_1901 = hexdump.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1902 = +@COND_powerpc_ieee1275_TRUE@am__append_1903 = $(nodist_hexdump_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1904 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_hexdump_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ hexdump.marker +@COND_powerpc_ieee1275_TRUE@am__append_1905 = hexdump.mod +@COND_powerpc_ieee1275_TRUE@am__append_1906 = hexdump.marker +@COND_emu_TRUE@am__append_1907 = keystatus.module +@COND_emu_TRUE@am__append_1908 = keystatus.module$(EXEEXT) +@COND_emu_TRUE@am__append_1909 = +@COND_emu_TRUE@am__append_1910 = $(nodist_keystatus_module_SOURCES) +@COND_emu_TRUE@am__append_1911 = $(nodist_keystatus_module_SOURCES) \ +@COND_emu_TRUE@ keystatus.marker +@COND_emu_TRUE@am__append_1912 = keystatus.mod +@COND_emu_TRUE@am__append_1913 = keystatus.marker +@COND_i386_pc_TRUE@am__append_1914 = keystatus.module +@COND_i386_pc_TRUE@am__append_1915 = keystatus.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_1916 = +@COND_i386_pc_TRUE@am__append_1917 = $(nodist_keystatus_module_SOURCES) +@COND_i386_pc_TRUE@am__append_1918 = \ +@COND_i386_pc_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_i386_pc_TRUE@ keystatus.marker +@COND_i386_pc_TRUE@am__append_1919 = keystatus.mod +@COND_i386_pc_TRUE@am__append_1920 = keystatus.marker +@COND_i386_efi_TRUE@am__append_1921 = keystatus.module +@COND_i386_efi_TRUE@am__append_1922 = keystatus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1923 = +@COND_i386_efi_TRUE@am__append_1924 = $(nodist_keystatus_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1925 = \ +@COND_i386_efi_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_i386_efi_TRUE@ keystatus.marker +@COND_i386_efi_TRUE@am__append_1926 = keystatus.mod +@COND_i386_efi_TRUE@am__append_1927 = keystatus.marker +@COND_i386_qemu_TRUE@am__append_1928 = keystatus.module +@COND_i386_qemu_TRUE@am__append_1929 = keystatus.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_1930 = +@COND_i386_qemu_TRUE@am__append_1931 = $(nodist_keystatus_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_1932 = \ +@COND_i386_qemu_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_i386_qemu_TRUE@ keystatus.marker +@COND_i386_qemu_TRUE@am__append_1933 = keystatus.mod +@COND_i386_qemu_TRUE@am__append_1934 = keystatus.marker +@COND_i386_coreboot_TRUE@am__append_1935 = keystatus.module +@COND_i386_coreboot_TRUE@am__append_1936 = keystatus.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_1937 = +@COND_i386_coreboot_TRUE@am__append_1938 = $(nodist_keystatus_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_1939 = \ +@COND_i386_coreboot_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ keystatus.marker +@COND_i386_coreboot_TRUE@am__append_1940 = keystatus.mod +@COND_i386_coreboot_TRUE@am__append_1941 = keystatus.marker +@COND_i386_multiboot_TRUE@am__append_1942 = keystatus.module +@COND_i386_multiboot_TRUE@am__append_1943 = keystatus.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_1944 = +@COND_i386_multiboot_TRUE@am__append_1945 = $(nodist_keystatus_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_1946 = \ +@COND_i386_multiboot_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ keystatus.marker +@COND_i386_multiboot_TRUE@am__append_1947 = keystatus.mod +@COND_i386_multiboot_TRUE@am__append_1948 = keystatus.marker +@COND_i386_ieee1275_TRUE@am__append_1949 = keystatus.module +@COND_i386_ieee1275_TRUE@am__append_1950 = keystatus.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_1951 = +@COND_i386_ieee1275_TRUE@am__append_1952 = $(nodist_keystatus_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_1953 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ keystatus.marker +@COND_i386_ieee1275_TRUE@am__append_1954 = keystatus.mod +@COND_i386_ieee1275_TRUE@am__append_1955 = keystatus.marker +@COND_x86_64_efi_TRUE@am__append_1956 = keystatus.module +@COND_x86_64_efi_TRUE@am__append_1957 = keystatus.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1958 = +@COND_x86_64_efi_TRUE@am__append_1959 = $(nodist_keystatus_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1960 = \ +@COND_x86_64_efi_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ keystatus.marker +@COND_x86_64_efi_TRUE@am__append_1961 = keystatus.mod +@COND_x86_64_efi_TRUE@am__append_1962 = keystatus.marker +@COND_mips_yeeloong_TRUE@am__append_1963 = keystatus.module +@COND_mips_yeeloong_TRUE@am__append_1964 = keystatus.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_1965 = +@COND_mips_yeeloong_TRUE@am__append_1966 = $(nodist_keystatus_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_1967 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_keystatus_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ keystatus.marker +@COND_mips_yeeloong_TRUE@am__append_1968 = keystatus.mod +@COND_mips_yeeloong_TRUE@am__append_1969 = keystatus.marker +@COND_sparc64_ieee1275_TRUE@am__append_1970 = keystatus.module +@COND_sparc64_ieee1275_TRUE@am__append_1971 = keystatus.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_1972 = +@COND_sparc64_ieee1275_TRUE@am__append_1973 = $(nodist_keystatus_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_1974 = $(nodist_keystatus_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ keystatus.marker +@COND_sparc64_ieee1275_TRUE@am__append_1975 = keystatus.mod +@COND_sparc64_ieee1275_TRUE@am__append_1976 = keystatus.marker +@COND_powerpc_ieee1275_TRUE@am__append_1977 = keystatus.module +@COND_powerpc_ieee1275_TRUE@am__append_1978 = keystatus.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_1979 = +@COND_powerpc_ieee1275_TRUE@am__append_1980 = $(nodist_keystatus_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_1981 = $(nodist_keystatus_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ keystatus.marker +@COND_powerpc_ieee1275_TRUE@am__append_1982 = keystatus.mod +@COND_powerpc_ieee1275_TRUE@am__append_1983 = keystatus.marker +@COND_i386_efi_TRUE@am__append_1984 = loadbios.module +@COND_i386_efi_TRUE@am__append_1985 = loadbios.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_1986 = +@COND_i386_efi_TRUE@am__append_1987 = $(nodist_loadbios_module_SOURCES) +@COND_i386_efi_TRUE@am__append_1988 = \ +@COND_i386_efi_TRUE@ $(nodist_loadbios_module_SOURCES) \ +@COND_i386_efi_TRUE@ loadbios.marker +@COND_i386_efi_TRUE@am__append_1989 = loadbios.mod +@COND_i386_efi_TRUE@am__append_1990 = loadbios.marker +@COND_x86_64_efi_TRUE@am__append_1991 = loadbios.module +@COND_x86_64_efi_TRUE@am__append_1992 = loadbios.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_1993 = +@COND_x86_64_efi_TRUE@am__append_1994 = $(nodist_loadbios_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_1995 = \ +@COND_x86_64_efi_TRUE@ $(nodist_loadbios_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ loadbios.marker +@COND_x86_64_efi_TRUE@am__append_1996 = loadbios.mod +@COND_x86_64_efi_TRUE@am__append_1997 = loadbios.marker +@COND_emu_TRUE@am__append_1998 = loadenv.module +@COND_emu_TRUE@am__append_1999 = loadenv.module$(EXEEXT) +@COND_emu_TRUE@am__append_2000 = +@COND_emu_TRUE@am__append_2001 = $(nodist_loadenv_module_SOURCES) +@COND_emu_TRUE@am__append_2002 = $(nodist_loadenv_module_SOURCES) \ +@COND_emu_TRUE@ loadenv.marker +@COND_emu_TRUE@am__append_2003 = loadenv.mod +@COND_emu_TRUE@am__append_2004 = loadenv.marker +@COND_i386_pc_TRUE@am__append_2005 = loadenv.module +@COND_i386_pc_TRUE@am__append_2006 = loadenv.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2007 = +@COND_i386_pc_TRUE@am__append_2008 = $(nodist_loadenv_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2009 = $(nodist_loadenv_module_SOURCES) \ +@COND_i386_pc_TRUE@ loadenv.marker +@COND_i386_pc_TRUE@am__append_2010 = loadenv.mod +@COND_i386_pc_TRUE@am__append_2011 = loadenv.marker +@COND_i386_efi_TRUE@am__append_2012 = loadenv.module +@COND_i386_efi_TRUE@am__append_2013 = loadenv.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2014 = +@COND_i386_efi_TRUE@am__append_2015 = $(nodist_loadenv_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2016 = \ +@COND_i386_efi_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_i386_efi_TRUE@ loadenv.marker +@COND_i386_efi_TRUE@am__append_2017 = loadenv.mod +@COND_i386_efi_TRUE@am__append_2018 = loadenv.marker +@COND_i386_qemu_TRUE@am__append_2019 = loadenv.module +@COND_i386_qemu_TRUE@am__append_2020 = loadenv.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2021 = +@COND_i386_qemu_TRUE@am__append_2022 = $(nodist_loadenv_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2023 = \ +@COND_i386_qemu_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_i386_qemu_TRUE@ loadenv.marker +@COND_i386_qemu_TRUE@am__append_2024 = loadenv.mod +@COND_i386_qemu_TRUE@am__append_2025 = loadenv.marker +@COND_i386_coreboot_TRUE@am__append_2026 = loadenv.module +@COND_i386_coreboot_TRUE@am__append_2027 = loadenv.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2028 = +@COND_i386_coreboot_TRUE@am__append_2029 = $(nodist_loadenv_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2030 = \ +@COND_i386_coreboot_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ loadenv.marker +@COND_i386_coreboot_TRUE@am__append_2031 = loadenv.mod +@COND_i386_coreboot_TRUE@am__append_2032 = loadenv.marker +@COND_i386_multiboot_TRUE@am__append_2033 = loadenv.module +@COND_i386_multiboot_TRUE@am__append_2034 = loadenv.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2035 = +@COND_i386_multiboot_TRUE@am__append_2036 = $(nodist_loadenv_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2037 = \ +@COND_i386_multiboot_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ loadenv.marker +@COND_i386_multiboot_TRUE@am__append_2038 = loadenv.mod +@COND_i386_multiboot_TRUE@am__append_2039 = loadenv.marker +@COND_i386_ieee1275_TRUE@am__append_2040 = loadenv.module +@COND_i386_ieee1275_TRUE@am__append_2041 = loadenv.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2042 = +@COND_i386_ieee1275_TRUE@am__append_2043 = $(nodist_loadenv_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2044 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ loadenv.marker +@COND_i386_ieee1275_TRUE@am__append_2045 = loadenv.mod +@COND_i386_ieee1275_TRUE@am__append_2046 = loadenv.marker +@COND_x86_64_efi_TRUE@am__append_2047 = loadenv.module +@COND_x86_64_efi_TRUE@am__append_2048 = loadenv.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2049 = +@COND_x86_64_efi_TRUE@am__append_2050 = $(nodist_loadenv_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2051 = \ +@COND_x86_64_efi_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ loadenv.marker +@COND_x86_64_efi_TRUE@am__append_2052 = loadenv.mod +@COND_x86_64_efi_TRUE@am__append_2053 = loadenv.marker +@COND_mips_yeeloong_TRUE@am__append_2054 = loadenv.module +@COND_mips_yeeloong_TRUE@am__append_2055 = loadenv.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2056 = +@COND_mips_yeeloong_TRUE@am__append_2057 = $(nodist_loadenv_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2058 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ loadenv.marker +@COND_mips_yeeloong_TRUE@am__append_2059 = loadenv.mod +@COND_mips_yeeloong_TRUE@am__append_2060 = loadenv.marker +@COND_sparc64_ieee1275_TRUE@am__append_2061 = loadenv.module +@COND_sparc64_ieee1275_TRUE@am__append_2062 = loadenv.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2063 = +@COND_sparc64_ieee1275_TRUE@am__append_2064 = $(nodist_loadenv_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2065 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ loadenv.marker +@COND_sparc64_ieee1275_TRUE@am__append_2066 = loadenv.mod +@COND_sparc64_ieee1275_TRUE@am__append_2067 = loadenv.marker +@COND_powerpc_ieee1275_TRUE@am__append_2068 = loadenv.module +@COND_powerpc_ieee1275_TRUE@am__append_2069 = loadenv.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2070 = +@COND_powerpc_ieee1275_TRUE@am__append_2071 = $(nodist_loadenv_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2072 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_loadenv_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ loadenv.marker +@COND_powerpc_ieee1275_TRUE@am__append_2073 = loadenv.mod +@COND_powerpc_ieee1275_TRUE@am__append_2074 = loadenv.marker +@COND_emu_TRUE@am__append_2075 = ls.module +@COND_emu_TRUE@am__append_2076 = ls.module$(EXEEXT) +@COND_emu_TRUE@am__append_2077 = +@COND_emu_TRUE@am__append_2078 = $(nodist_ls_module_SOURCES) +@COND_emu_TRUE@am__append_2079 = $(nodist_ls_module_SOURCES) ls.marker +@COND_emu_TRUE@am__append_2080 = ls.mod +@COND_emu_TRUE@am__append_2081 = ls.marker +@COND_i386_pc_TRUE@am__append_2082 = ls.module +@COND_i386_pc_TRUE@am__append_2083 = ls.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2084 = +@COND_i386_pc_TRUE@am__append_2085 = $(nodist_ls_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2086 = $(nodist_ls_module_SOURCES) \ +@COND_i386_pc_TRUE@ ls.marker +@COND_i386_pc_TRUE@am__append_2087 = ls.mod +@COND_i386_pc_TRUE@am__append_2088 = ls.marker +@COND_i386_efi_TRUE@am__append_2089 = ls.module +@COND_i386_efi_TRUE@am__append_2090 = ls.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2091 = +@COND_i386_efi_TRUE@am__append_2092 = $(nodist_ls_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2093 = $(nodist_ls_module_SOURCES) \ +@COND_i386_efi_TRUE@ ls.marker +@COND_i386_efi_TRUE@am__append_2094 = ls.mod +@COND_i386_efi_TRUE@am__append_2095 = ls.marker +@COND_i386_qemu_TRUE@am__append_2096 = ls.module +@COND_i386_qemu_TRUE@am__append_2097 = ls.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2098 = +@COND_i386_qemu_TRUE@am__append_2099 = $(nodist_ls_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2100 = $(nodist_ls_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ls.marker +@COND_i386_qemu_TRUE@am__append_2101 = ls.mod +@COND_i386_qemu_TRUE@am__append_2102 = ls.marker +@COND_i386_coreboot_TRUE@am__append_2103 = ls.module +@COND_i386_coreboot_TRUE@am__append_2104 = ls.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2105 = +@COND_i386_coreboot_TRUE@am__append_2106 = $(nodist_ls_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2107 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ls_module_SOURCES) ls.marker +@COND_i386_coreboot_TRUE@am__append_2108 = ls.mod +@COND_i386_coreboot_TRUE@am__append_2109 = ls.marker +@COND_i386_multiboot_TRUE@am__append_2110 = ls.module +@COND_i386_multiboot_TRUE@am__append_2111 = ls.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2112 = +@COND_i386_multiboot_TRUE@am__append_2113 = $(nodist_ls_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2114 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ls_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ls.marker +@COND_i386_multiboot_TRUE@am__append_2115 = ls.mod +@COND_i386_multiboot_TRUE@am__append_2116 = ls.marker +@COND_i386_ieee1275_TRUE@am__append_2117 = ls.module +@COND_i386_ieee1275_TRUE@am__append_2118 = ls.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2119 = +@COND_i386_ieee1275_TRUE@am__append_2120 = $(nodist_ls_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2121 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ls_module_SOURCES) ls.marker +@COND_i386_ieee1275_TRUE@am__append_2122 = ls.mod +@COND_i386_ieee1275_TRUE@am__append_2123 = ls.marker +@COND_x86_64_efi_TRUE@am__append_2124 = ls.module +@COND_x86_64_efi_TRUE@am__append_2125 = ls.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2126 = +@COND_x86_64_efi_TRUE@am__append_2127 = $(nodist_ls_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2128 = $(nodist_ls_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ls.marker +@COND_x86_64_efi_TRUE@am__append_2129 = ls.mod +@COND_x86_64_efi_TRUE@am__append_2130 = ls.marker +@COND_mips_yeeloong_TRUE@am__append_2131 = ls.module +@COND_mips_yeeloong_TRUE@am__append_2132 = ls.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2133 = +@COND_mips_yeeloong_TRUE@am__append_2134 = $(nodist_ls_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2135 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ls_module_SOURCES) ls.marker +@COND_mips_yeeloong_TRUE@am__append_2136 = ls.mod +@COND_mips_yeeloong_TRUE@am__append_2137 = ls.marker +@COND_sparc64_ieee1275_TRUE@am__append_2138 = ls.module +@COND_sparc64_ieee1275_TRUE@am__append_2139 = ls.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2140 = +@COND_sparc64_ieee1275_TRUE@am__append_2141 = $(nodist_ls_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2142 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_ls_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ ls.marker +@COND_sparc64_ieee1275_TRUE@am__append_2143 = ls.mod +@COND_sparc64_ieee1275_TRUE@am__append_2144 = ls.marker +@COND_powerpc_ieee1275_TRUE@am__append_2145 = ls.module +@COND_powerpc_ieee1275_TRUE@am__append_2146 = ls.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2147 = +@COND_powerpc_ieee1275_TRUE@am__append_2148 = $(nodist_ls_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2149 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ls_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ls.marker +@COND_powerpc_ieee1275_TRUE@am__append_2150 = ls.mod +@COND_powerpc_ieee1275_TRUE@am__append_2151 = ls.marker +@COND_emu_TRUE@am__append_2152 = lsmmap.module +@COND_emu_TRUE@am__append_2153 = lsmmap.module$(EXEEXT) +@COND_emu_TRUE@am__append_2154 = +@COND_emu_TRUE@am__append_2155 = $(nodist_lsmmap_module_SOURCES) +@COND_emu_TRUE@am__append_2156 = $(nodist_lsmmap_module_SOURCES) \ +@COND_emu_TRUE@ lsmmap.marker +@COND_emu_TRUE@am__append_2157 = lsmmap.mod +@COND_emu_TRUE@am__append_2158 = lsmmap.marker +@COND_i386_pc_TRUE@am__append_2159 = lsmmap.module +@COND_i386_pc_TRUE@am__append_2160 = lsmmap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2161 = +@COND_i386_pc_TRUE@am__append_2162 = $(nodist_lsmmap_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2163 = $(nodist_lsmmap_module_SOURCES) \ +@COND_i386_pc_TRUE@ lsmmap.marker +@COND_i386_pc_TRUE@am__append_2164 = lsmmap.mod +@COND_i386_pc_TRUE@am__append_2165 = lsmmap.marker +@COND_i386_efi_TRUE@am__append_2166 = lsmmap.module +@COND_i386_efi_TRUE@am__append_2167 = lsmmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2168 = +@COND_i386_efi_TRUE@am__append_2169 = $(nodist_lsmmap_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2170 = $(nodist_lsmmap_module_SOURCES) \ +@COND_i386_efi_TRUE@ lsmmap.marker +@COND_i386_efi_TRUE@am__append_2171 = lsmmap.mod +@COND_i386_efi_TRUE@am__append_2172 = lsmmap.marker +@COND_i386_qemu_TRUE@am__append_2173 = lsmmap.module +@COND_i386_qemu_TRUE@am__append_2174 = lsmmap.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2175 = +@COND_i386_qemu_TRUE@am__append_2176 = $(nodist_lsmmap_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2177 = \ +@COND_i386_qemu_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_i386_qemu_TRUE@ lsmmap.marker +@COND_i386_qemu_TRUE@am__append_2178 = lsmmap.mod +@COND_i386_qemu_TRUE@am__append_2179 = lsmmap.marker +@COND_i386_coreboot_TRUE@am__append_2180 = lsmmap.module +@COND_i386_coreboot_TRUE@am__append_2181 = lsmmap.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2182 = +@COND_i386_coreboot_TRUE@am__append_2183 = $(nodist_lsmmap_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2184 = \ +@COND_i386_coreboot_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ lsmmap.marker +@COND_i386_coreboot_TRUE@am__append_2185 = lsmmap.mod +@COND_i386_coreboot_TRUE@am__append_2186 = lsmmap.marker +@COND_i386_multiboot_TRUE@am__append_2187 = lsmmap.module +@COND_i386_multiboot_TRUE@am__append_2188 = lsmmap.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2189 = +@COND_i386_multiboot_TRUE@am__append_2190 = $(nodist_lsmmap_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2191 = \ +@COND_i386_multiboot_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ lsmmap.marker +@COND_i386_multiboot_TRUE@am__append_2192 = lsmmap.mod +@COND_i386_multiboot_TRUE@am__append_2193 = lsmmap.marker +@COND_i386_ieee1275_TRUE@am__append_2194 = lsmmap.module +@COND_i386_ieee1275_TRUE@am__append_2195 = lsmmap.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2196 = +@COND_i386_ieee1275_TRUE@am__append_2197 = $(nodist_lsmmap_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2198 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ lsmmap.marker +@COND_i386_ieee1275_TRUE@am__append_2199 = lsmmap.mod +@COND_i386_ieee1275_TRUE@am__append_2200 = lsmmap.marker +@COND_x86_64_efi_TRUE@am__append_2201 = lsmmap.module +@COND_x86_64_efi_TRUE@am__append_2202 = lsmmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2203 = +@COND_x86_64_efi_TRUE@am__append_2204 = $(nodist_lsmmap_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2205 = \ +@COND_x86_64_efi_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lsmmap.marker +@COND_x86_64_efi_TRUE@am__append_2206 = lsmmap.mod +@COND_x86_64_efi_TRUE@am__append_2207 = lsmmap.marker +@COND_mips_yeeloong_TRUE@am__append_2208 = lsmmap.module +@COND_mips_yeeloong_TRUE@am__append_2209 = lsmmap.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2210 = +@COND_mips_yeeloong_TRUE@am__append_2211 = $(nodist_lsmmap_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2212 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ lsmmap.marker +@COND_mips_yeeloong_TRUE@am__append_2213 = lsmmap.mod +@COND_mips_yeeloong_TRUE@am__append_2214 = lsmmap.marker +@COND_sparc64_ieee1275_TRUE@am__append_2215 = lsmmap.module +@COND_sparc64_ieee1275_TRUE@am__append_2216 = lsmmap.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2217 = +@COND_sparc64_ieee1275_TRUE@am__append_2218 = $(nodist_lsmmap_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2219 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ lsmmap.marker +@COND_sparc64_ieee1275_TRUE@am__append_2220 = lsmmap.mod +@COND_sparc64_ieee1275_TRUE@am__append_2221 = lsmmap.marker +@COND_powerpc_ieee1275_TRUE@am__append_2222 = lsmmap.module +@COND_powerpc_ieee1275_TRUE@am__append_2223 = lsmmap.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2224 = +@COND_powerpc_ieee1275_TRUE@am__append_2225 = $(nodist_lsmmap_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2226 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_lsmmap_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ lsmmap.marker +@COND_powerpc_ieee1275_TRUE@am__append_2227 = lsmmap.mod +@COND_powerpc_ieee1275_TRUE@am__append_2228 = lsmmap.marker +@COND_i386_pc_TRUE@am__append_2229 = lspci.module +@COND_i386_pc_TRUE@am__append_2230 = lspci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2231 = +@COND_i386_pc_TRUE@am__append_2232 = $(nodist_lspci_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2233 = $(nodist_lspci_module_SOURCES) \ +@COND_i386_pc_TRUE@ lspci.marker +@COND_i386_pc_TRUE@am__append_2234 = lspci.mod +@COND_i386_pc_TRUE@am__append_2235 = lspci.marker +@COND_i386_efi_TRUE@am__append_2236 = lspci.module +@COND_i386_efi_TRUE@am__append_2237 = lspci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2238 = +@COND_i386_efi_TRUE@am__append_2239 = $(nodist_lspci_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2240 = $(nodist_lspci_module_SOURCES) \ +@COND_i386_efi_TRUE@ lspci.marker +@COND_i386_efi_TRUE@am__append_2241 = lspci.mod +@COND_i386_efi_TRUE@am__append_2242 = lspci.marker +@COND_i386_qemu_TRUE@am__append_2243 = lspci.module +@COND_i386_qemu_TRUE@am__append_2244 = lspci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2245 = +@COND_i386_qemu_TRUE@am__append_2246 = $(nodist_lspci_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2247 = $(nodist_lspci_module_SOURCES) \ +@COND_i386_qemu_TRUE@ lspci.marker +@COND_i386_qemu_TRUE@am__append_2248 = lspci.mod +@COND_i386_qemu_TRUE@am__append_2249 = lspci.marker +@COND_i386_coreboot_TRUE@am__append_2250 = lspci.module +@COND_i386_coreboot_TRUE@am__append_2251 = lspci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2252 = +@COND_i386_coreboot_TRUE@am__append_2253 = $(nodist_lspci_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2254 = \ +@COND_i386_coreboot_TRUE@ $(nodist_lspci_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ lspci.marker +@COND_i386_coreboot_TRUE@am__append_2255 = lspci.mod +@COND_i386_coreboot_TRUE@am__append_2256 = lspci.marker +@COND_i386_multiboot_TRUE@am__append_2257 = lspci.module +@COND_i386_multiboot_TRUE@am__append_2258 = lspci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2259 = +@COND_i386_multiboot_TRUE@am__append_2260 = $(nodist_lspci_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2261 = \ +@COND_i386_multiboot_TRUE@ $(nodist_lspci_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ lspci.marker +@COND_i386_multiboot_TRUE@am__append_2262 = lspci.mod +@COND_i386_multiboot_TRUE@am__append_2263 = lspci.marker +@COND_i386_ieee1275_TRUE@am__append_2264 = lspci.module +@COND_i386_ieee1275_TRUE@am__append_2265 = lspci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2266 = +@COND_i386_ieee1275_TRUE@am__append_2267 = $(nodist_lspci_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2268 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_lspci_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ lspci.marker +@COND_i386_ieee1275_TRUE@am__append_2269 = lspci.mod +@COND_i386_ieee1275_TRUE@am__append_2270 = lspci.marker +@COND_x86_64_efi_TRUE@am__append_2271 = lspci.module +@COND_x86_64_efi_TRUE@am__append_2272 = lspci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2273 = +@COND_x86_64_efi_TRUE@am__append_2274 = $(nodist_lspci_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2275 = \ +@COND_x86_64_efi_TRUE@ $(nodist_lspci_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lspci.marker +@COND_x86_64_efi_TRUE@am__append_2276 = lspci.mod +@COND_x86_64_efi_TRUE@am__append_2277 = lspci.marker +@COND_mips_yeeloong_TRUE@am__append_2278 = lspci.module +@COND_mips_yeeloong_TRUE@am__append_2279 = lspci.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2280 = +@COND_mips_yeeloong_TRUE@am__append_2281 = $(nodist_lspci_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2282 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_lspci_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ lspci.marker +@COND_mips_yeeloong_TRUE@am__append_2283 = lspci.mod +@COND_mips_yeeloong_TRUE@am__append_2284 = lspci.marker +@COND_emu_TRUE@am__append_2285 = memrw.module +@COND_emu_TRUE@am__append_2286 = memrw.module$(EXEEXT) +@COND_emu_TRUE@am__append_2287 = +@COND_emu_TRUE@am__append_2288 = $(nodist_memrw_module_SOURCES) +@COND_emu_TRUE@am__append_2289 = $(nodist_memrw_module_SOURCES) \ +@COND_emu_TRUE@ memrw.marker +@COND_emu_TRUE@am__append_2290 = memrw.mod +@COND_emu_TRUE@am__append_2291 = memrw.marker +@COND_i386_pc_TRUE@am__append_2292 = memrw.module +@COND_i386_pc_TRUE@am__append_2293 = memrw.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2294 = +@COND_i386_pc_TRUE@am__append_2295 = $(nodist_memrw_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2296 = $(nodist_memrw_module_SOURCES) \ +@COND_i386_pc_TRUE@ memrw.marker +@COND_i386_pc_TRUE@am__append_2297 = memrw.mod +@COND_i386_pc_TRUE@am__append_2298 = memrw.marker +@COND_i386_efi_TRUE@am__append_2299 = memrw.module +@COND_i386_efi_TRUE@am__append_2300 = memrw.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2301 = +@COND_i386_efi_TRUE@am__append_2302 = $(nodist_memrw_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2303 = $(nodist_memrw_module_SOURCES) \ +@COND_i386_efi_TRUE@ memrw.marker +@COND_i386_efi_TRUE@am__append_2304 = memrw.mod +@COND_i386_efi_TRUE@am__append_2305 = memrw.marker +@COND_i386_qemu_TRUE@am__append_2306 = memrw.module +@COND_i386_qemu_TRUE@am__append_2307 = memrw.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2308 = +@COND_i386_qemu_TRUE@am__append_2309 = $(nodist_memrw_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2310 = $(nodist_memrw_module_SOURCES) \ +@COND_i386_qemu_TRUE@ memrw.marker +@COND_i386_qemu_TRUE@am__append_2311 = memrw.mod +@COND_i386_qemu_TRUE@am__append_2312 = memrw.marker +@COND_i386_coreboot_TRUE@am__append_2313 = memrw.module +@COND_i386_coreboot_TRUE@am__append_2314 = memrw.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2315 = +@COND_i386_coreboot_TRUE@am__append_2316 = $(nodist_memrw_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2317 = \ +@COND_i386_coreboot_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ memrw.marker +@COND_i386_coreboot_TRUE@am__append_2318 = memrw.mod +@COND_i386_coreboot_TRUE@am__append_2319 = memrw.marker +@COND_i386_multiboot_TRUE@am__append_2320 = memrw.module +@COND_i386_multiboot_TRUE@am__append_2321 = memrw.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2322 = +@COND_i386_multiboot_TRUE@am__append_2323 = $(nodist_memrw_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2324 = \ +@COND_i386_multiboot_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ memrw.marker +@COND_i386_multiboot_TRUE@am__append_2325 = memrw.mod +@COND_i386_multiboot_TRUE@am__append_2326 = memrw.marker +@COND_i386_ieee1275_TRUE@am__append_2327 = memrw.module +@COND_i386_ieee1275_TRUE@am__append_2328 = memrw.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2329 = +@COND_i386_ieee1275_TRUE@am__append_2330 = $(nodist_memrw_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2331 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ memrw.marker +@COND_i386_ieee1275_TRUE@am__append_2332 = memrw.mod +@COND_i386_ieee1275_TRUE@am__append_2333 = memrw.marker +@COND_x86_64_efi_TRUE@am__append_2334 = memrw.module +@COND_x86_64_efi_TRUE@am__append_2335 = memrw.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2336 = +@COND_x86_64_efi_TRUE@am__append_2337 = $(nodist_memrw_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2338 = \ +@COND_x86_64_efi_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ memrw.marker +@COND_x86_64_efi_TRUE@am__append_2339 = memrw.mod +@COND_x86_64_efi_TRUE@am__append_2340 = memrw.marker +@COND_mips_yeeloong_TRUE@am__append_2341 = memrw.module +@COND_mips_yeeloong_TRUE@am__append_2342 = memrw.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2343 = +@COND_mips_yeeloong_TRUE@am__append_2344 = $(nodist_memrw_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2345 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ memrw.marker +@COND_mips_yeeloong_TRUE@am__append_2346 = memrw.mod +@COND_mips_yeeloong_TRUE@am__append_2347 = memrw.marker +@COND_sparc64_ieee1275_TRUE@am__append_2348 = memrw.module +@COND_sparc64_ieee1275_TRUE@am__append_2349 = memrw.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2350 = +@COND_sparc64_ieee1275_TRUE@am__append_2351 = $(nodist_memrw_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2352 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ memrw.marker +@COND_sparc64_ieee1275_TRUE@am__append_2353 = memrw.mod +@COND_sparc64_ieee1275_TRUE@am__append_2354 = memrw.marker +@COND_powerpc_ieee1275_TRUE@am__append_2355 = memrw.module +@COND_powerpc_ieee1275_TRUE@am__append_2356 = memrw.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2357 = +@COND_powerpc_ieee1275_TRUE@am__append_2358 = $(nodist_memrw_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2359 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_memrw_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ memrw.marker +@COND_powerpc_ieee1275_TRUE@am__append_2360 = memrw.mod +@COND_powerpc_ieee1275_TRUE@am__append_2361 = memrw.marker +@COND_emu_TRUE@am__append_2362 = minicmd.module +@COND_emu_TRUE@am__append_2363 = minicmd.module$(EXEEXT) +@COND_emu_TRUE@am__append_2364 = +@COND_emu_TRUE@am__append_2365 = $(nodist_minicmd_module_SOURCES) +@COND_emu_TRUE@am__append_2366 = $(nodist_minicmd_module_SOURCES) \ +@COND_emu_TRUE@ minicmd.marker +@COND_emu_TRUE@am__append_2367 = minicmd.mod +@COND_emu_TRUE@am__append_2368 = minicmd.marker +@COND_i386_pc_TRUE@am__append_2369 = minicmd.module +@COND_i386_pc_TRUE@am__append_2370 = minicmd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2371 = +@COND_i386_pc_TRUE@am__append_2372 = $(nodist_minicmd_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2373 = $(nodist_minicmd_module_SOURCES) \ +@COND_i386_pc_TRUE@ minicmd.marker +@COND_i386_pc_TRUE@am__append_2374 = minicmd.mod +@COND_i386_pc_TRUE@am__append_2375 = minicmd.marker +@COND_i386_efi_TRUE@am__append_2376 = minicmd.module +@COND_i386_efi_TRUE@am__append_2377 = minicmd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2378 = +@COND_i386_efi_TRUE@am__append_2379 = $(nodist_minicmd_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2380 = \ +@COND_i386_efi_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_i386_efi_TRUE@ minicmd.marker +@COND_i386_efi_TRUE@am__append_2381 = minicmd.mod +@COND_i386_efi_TRUE@am__append_2382 = minicmd.marker +@COND_i386_qemu_TRUE@am__append_2383 = minicmd.module +@COND_i386_qemu_TRUE@am__append_2384 = minicmd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2385 = +@COND_i386_qemu_TRUE@am__append_2386 = $(nodist_minicmd_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2387 = \ +@COND_i386_qemu_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_i386_qemu_TRUE@ minicmd.marker +@COND_i386_qemu_TRUE@am__append_2388 = minicmd.mod +@COND_i386_qemu_TRUE@am__append_2389 = minicmd.marker +@COND_i386_coreboot_TRUE@am__append_2390 = minicmd.module +@COND_i386_coreboot_TRUE@am__append_2391 = minicmd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2392 = +@COND_i386_coreboot_TRUE@am__append_2393 = $(nodist_minicmd_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2394 = \ +@COND_i386_coreboot_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ minicmd.marker +@COND_i386_coreboot_TRUE@am__append_2395 = minicmd.mod +@COND_i386_coreboot_TRUE@am__append_2396 = minicmd.marker +@COND_i386_multiboot_TRUE@am__append_2397 = minicmd.module +@COND_i386_multiboot_TRUE@am__append_2398 = minicmd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2399 = +@COND_i386_multiboot_TRUE@am__append_2400 = $(nodist_minicmd_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2401 = \ +@COND_i386_multiboot_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ minicmd.marker +@COND_i386_multiboot_TRUE@am__append_2402 = minicmd.mod +@COND_i386_multiboot_TRUE@am__append_2403 = minicmd.marker +@COND_i386_ieee1275_TRUE@am__append_2404 = minicmd.module +@COND_i386_ieee1275_TRUE@am__append_2405 = minicmd.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2406 = +@COND_i386_ieee1275_TRUE@am__append_2407 = $(nodist_minicmd_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2408 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ minicmd.marker +@COND_i386_ieee1275_TRUE@am__append_2409 = minicmd.mod +@COND_i386_ieee1275_TRUE@am__append_2410 = minicmd.marker +@COND_x86_64_efi_TRUE@am__append_2411 = minicmd.module +@COND_x86_64_efi_TRUE@am__append_2412 = minicmd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2413 = +@COND_x86_64_efi_TRUE@am__append_2414 = $(nodist_minicmd_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2415 = \ +@COND_x86_64_efi_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ minicmd.marker +@COND_x86_64_efi_TRUE@am__append_2416 = minicmd.mod +@COND_x86_64_efi_TRUE@am__append_2417 = minicmd.marker +@COND_mips_yeeloong_TRUE@am__append_2418 = minicmd.module +@COND_mips_yeeloong_TRUE@am__append_2419 = minicmd.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2420 = +@COND_mips_yeeloong_TRUE@am__append_2421 = $(nodist_minicmd_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2422 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ minicmd.marker +@COND_mips_yeeloong_TRUE@am__append_2423 = minicmd.mod +@COND_mips_yeeloong_TRUE@am__append_2424 = minicmd.marker +@COND_sparc64_ieee1275_TRUE@am__append_2425 = minicmd.module +@COND_sparc64_ieee1275_TRUE@am__append_2426 = minicmd.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2427 = +@COND_sparc64_ieee1275_TRUE@am__append_2428 = $(nodist_minicmd_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2429 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ minicmd.marker +@COND_sparc64_ieee1275_TRUE@am__append_2430 = minicmd.mod +@COND_sparc64_ieee1275_TRUE@am__append_2431 = minicmd.marker +@COND_powerpc_ieee1275_TRUE@am__append_2432 = minicmd.module +@COND_powerpc_ieee1275_TRUE@am__append_2433 = minicmd.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2434 = +@COND_powerpc_ieee1275_TRUE@am__append_2435 = $(nodist_minicmd_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2436 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_minicmd_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ minicmd.marker +@COND_powerpc_ieee1275_TRUE@am__append_2437 = minicmd.mod +@COND_powerpc_ieee1275_TRUE@am__append_2438 = minicmd.marker +@COND_emu_TRUE@am__append_2439 = parttool.module +@COND_emu_TRUE@am__append_2440 = parttool.module$(EXEEXT) +@COND_emu_TRUE@am__append_2441 = +@COND_emu_TRUE@am__append_2442 = $(nodist_parttool_module_SOURCES) +@COND_emu_TRUE@am__append_2443 = $(nodist_parttool_module_SOURCES) \ +@COND_emu_TRUE@ parttool.marker +@COND_emu_TRUE@am__append_2444 = parttool.mod +@COND_emu_TRUE@am__append_2445 = parttool.marker +@COND_i386_pc_TRUE@am__append_2446 = parttool.module +@COND_i386_pc_TRUE@am__append_2447 = parttool.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2448 = +@COND_i386_pc_TRUE@am__append_2449 = $(nodist_parttool_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2450 = \ +@COND_i386_pc_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_i386_pc_TRUE@ parttool.marker +@COND_i386_pc_TRUE@am__append_2451 = parttool.mod +@COND_i386_pc_TRUE@am__append_2452 = parttool.marker +@COND_i386_efi_TRUE@am__append_2453 = parttool.module +@COND_i386_efi_TRUE@am__append_2454 = parttool.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2455 = +@COND_i386_efi_TRUE@am__append_2456 = $(nodist_parttool_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2457 = \ +@COND_i386_efi_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_i386_efi_TRUE@ parttool.marker +@COND_i386_efi_TRUE@am__append_2458 = parttool.mod +@COND_i386_efi_TRUE@am__append_2459 = parttool.marker +@COND_i386_qemu_TRUE@am__append_2460 = parttool.module +@COND_i386_qemu_TRUE@am__append_2461 = parttool.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2462 = +@COND_i386_qemu_TRUE@am__append_2463 = $(nodist_parttool_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2464 = \ +@COND_i386_qemu_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_i386_qemu_TRUE@ parttool.marker +@COND_i386_qemu_TRUE@am__append_2465 = parttool.mod +@COND_i386_qemu_TRUE@am__append_2466 = parttool.marker +@COND_i386_coreboot_TRUE@am__append_2467 = parttool.module +@COND_i386_coreboot_TRUE@am__append_2468 = parttool.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2469 = +@COND_i386_coreboot_TRUE@am__append_2470 = $(nodist_parttool_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2471 = \ +@COND_i386_coreboot_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ parttool.marker +@COND_i386_coreboot_TRUE@am__append_2472 = parttool.mod +@COND_i386_coreboot_TRUE@am__append_2473 = parttool.marker +@COND_i386_multiboot_TRUE@am__append_2474 = parttool.module +@COND_i386_multiboot_TRUE@am__append_2475 = parttool.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2476 = +@COND_i386_multiboot_TRUE@am__append_2477 = $(nodist_parttool_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2478 = \ +@COND_i386_multiboot_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ parttool.marker +@COND_i386_multiboot_TRUE@am__append_2479 = parttool.mod +@COND_i386_multiboot_TRUE@am__append_2480 = parttool.marker +@COND_i386_ieee1275_TRUE@am__append_2481 = parttool.module +@COND_i386_ieee1275_TRUE@am__append_2482 = parttool.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2483 = +@COND_i386_ieee1275_TRUE@am__append_2484 = $(nodist_parttool_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2485 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ parttool.marker +@COND_i386_ieee1275_TRUE@am__append_2486 = parttool.mod +@COND_i386_ieee1275_TRUE@am__append_2487 = parttool.marker +@COND_x86_64_efi_TRUE@am__append_2488 = parttool.module +@COND_x86_64_efi_TRUE@am__append_2489 = parttool.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2490 = +@COND_x86_64_efi_TRUE@am__append_2491 = $(nodist_parttool_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2492 = \ +@COND_x86_64_efi_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ parttool.marker +@COND_x86_64_efi_TRUE@am__append_2493 = parttool.mod +@COND_x86_64_efi_TRUE@am__append_2494 = parttool.marker +@COND_mips_yeeloong_TRUE@am__append_2495 = parttool.module +@COND_mips_yeeloong_TRUE@am__append_2496 = parttool.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2497 = +@COND_mips_yeeloong_TRUE@am__append_2498 = $(nodist_parttool_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2499 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ parttool.marker +@COND_mips_yeeloong_TRUE@am__append_2500 = parttool.mod +@COND_mips_yeeloong_TRUE@am__append_2501 = parttool.marker +@COND_sparc64_ieee1275_TRUE@am__append_2502 = parttool.module +@COND_sparc64_ieee1275_TRUE@am__append_2503 = parttool.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2504 = +@COND_sparc64_ieee1275_TRUE@am__append_2505 = $(nodist_parttool_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2506 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ parttool.marker +@COND_sparc64_ieee1275_TRUE@am__append_2507 = parttool.mod +@COND_sparc64_ieee1275_TRUE@am__append_2508 = parttool.marker +@COND_powerpc_ieee1275_TRUE@am__append_2509 = parttool.module +@COND_powerpc_ieee1275_TRUE@am__append_2510 = parttool.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2511 = +@COND_powerpc_ieee1275_TRUE@am__append_2512 = $(nodist_parttool_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2513 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_parttool_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ parttool.marker +@COND_powerpc_ieee1275_TRUE@am__append_2514 = parttool.mod +@COND_powerpc_ieee1275_TRUE@am__append_2515 = parttool.marker +@COND_emu_TRUE@am__append_2516 = password.module +@COND_emu_TRUE@am__append_2517 = password.module$(EXEEXT) +@COND_emu_TRUE@am__append_2518 = +@COND_emu_TRUE@am__append_2519 = $(nodist_password_module_SOURCES) +@COND_emu_TRUE@am__append_2520 = $(nodist_password_module_SOURCES) \ +@COND_emu_TRUE@ password.marker +@COND_emu_TRUE@am__append_2521 = password.mod +@COND_emu_TRUE@am__append_2522 = password.marker +@COND_i386_pc_TRUE@am__append_2523 = password.module +@COND_i386_pc_TRUE@am__append_2524 = password.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2525 = +@COND_i386_pc_TRUE@am__append_2526 = $(nodist_password_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2527 = \ +@COND_i386_pc_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_i386_pc_TRUE@ password.marker +@COND_i386_pc_TRUE@am__append_2528 = password.mod +@COND_i386_pc_TRUE@am__append_2529 = password.marker +@COND_i386_efi_TRUE@am__append_2530 = password.module +@COND_i386_efi_TRUE@am__append_2531 = password.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2532 = +@COND_i386_efi_TRUE@am__append_2533 = $(nodist_password_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2534 = \ +@COND_i386_efi_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_i386_efi_TRUE@ password.marker +@COND_i386_efi_TRUE@am__append_2535 = password.mod +@COND_i386_efi_TRUE@am__append_2536 = password.marker +@COND_i386_qemu_TRUE@am__append_2537 = password.module +@COND_i386_qemu_TRUE@am__append_2538 = password.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2539 = +@COND_i386_qemu_TRUE@am__append_2540 = $(nodist_password_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2541 = \ +@COND_i386_qemu_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_i386_qemu_TRUE@ password.marker +@COND_i386_qemu_TRUE@am__append_2542 = password.mod +@COND_i386_qemu_TRUE@am__append_2543 = password.marker +@COND_i386_coreboot_TRUE@am__append_2544 = password.module +@COND_i386_coreboot_TRUE@am__append_2545 = password.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2546 = +@COND_i386_coreboot_TRUE@am__append_2547 = $(nodist_password_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2548 = \ +@COND_i386_coreboot_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ password.marker +@COND_i386_coreboot_TRUE@am__append_2549 = password.mod +@COND_i386_coreboot_TRUE@am__append_2550 = password.marker +@COND_i386_multiboot_TRUE@am__append_2551 = password.module +@COND_i386_multiboot_TRUE@am__append_2552 = password.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2553 = +@COND_i386_multiboot_TRUE@am__append_2554 = $(nodist_password_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2555 = \ +@COND_i386_multiboot_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ password.marker +@COND_i386_multiboot_TRUE@am__append_2556 = password.mod +@COND_i386_multiboot_TRUE@am__append_2557 = password.marker +@COND_i386_ieee1275_TRUE@am__append_2558 = password.module +@COND_i386_ieee1275_TRUE@am__append_2559 = password.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2560 = +@COND_i386_ieee1275_TRUE@am__append_2561 = $(nodist_password_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2562 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ password.marker +@COND_i386_ieee1275_TRUE@am__append_2563 = password.mod +@COND_i386_ieee1275_TRUE@am__append_2564 = password.marker +@COND_x86_64_efi_TRUE@am__append_2565 = password.module +@COND_x86_64_efi_TRUE@am__append_2566 = password.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2567 = +@COND_x86_64_efi_TRUE@am__append_2568 = $(nodist_password_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2569 = \ +@COND_x86_64_efi_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ password.marker +@COND_x86_64_efi_TRUE@am__append_2570 = password.mod +@COND_x86_64_efi_TRUE@am__append_2571 = password.marker +@COND_mips_yeeloong_TRUE@am__append_2572 = password.module +@COND_mips_yeeloong_TRUE@am__append_2573 = password.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2574 = +@COND_mips_yeeloong_TRUE@am__append_2575 = $(nodist_password_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2576 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ password.marker +@COND_mips_yeeloong_TRUE@am__append_2577 = password.mod +@COND_mips_yeeloong_TRUE@am__append_2578 = password.marker +@COND_sparc64_ieee1275_TRUE@am__append_2579 = password.module +@COND_sparc64_ieee1275_TRUE@am__append_2580 = password.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2581 = +@COND_sparc64_ieee1275_TRUE@am__append_2582 = $(nodist_password_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2583 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ password.marker +@COND_sparc64_ieee1275_TRUE@am__append_2584 = password.mod +@COND_sparc64_ieee1275_TRUE@am__append_2585 = password.marker +@COND_powerpc_ieee1275_TRUE@am__append_2586 = password.module +@COND_powerpc_ieee1275_TRUE@am__append_2587 = password.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2588 = +@COND_powerpc_ieee1275_TRUE@am__append_2589 = $(nodist_password_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2590 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_password_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ password.marker +@COND_powerpc_ieee1275_TRUE@am__append_2591 = password.mod +@COND_powerpc_ieee1275_TRUE@am__append_2592 = password.marker +@COND_emu_TRUE@am__append_2593 = password_pbkdf2.module +@COND_emu_TRUE@am__append_2594 = password_pbkdf2.module$(EXEEXT) +@COND_emu_TRUE@am__append_2595 = +@COND_emu_TRUE@am__append_2596 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_emu_TRUE@am__append_2597 = \ +@COND_emu_TRUE@ $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_emu_TRUE@ password_pbkdf2.marker +@COND_emu_TRUE@am__append_2598 = password_pbkdf2.mod +@COND_emu_TRUE@am__append_2599 = password_pbkdf2.marker +@COND_i386_pc_TRUE@am__append_2600 = password_pbkdf2.module +@COND_i386_pc_TRUE@am__append_2601 = password_pbkdf2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2602 = +@COND_i386_pc_TRUE@am__append_2603 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2604 = \ +@COND_i386_pc_TRUE@ $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_i386_pc_TRUE@ password_pbkdf2.marker +@COND_i386_pc_TRUE@am__append_2605 = password_pbkdf2.mod +@COND_i386_pc_TRUE@am__append_2606 = password_pbkdf2.marker +@COND_i386_efi_TRUE@am__append_2607 = password_pbkdf2.module +@COND_i386_efi_TRUE@am__append_2608 = password_pbkdf2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2609 = +@COND_i386_efi_TRUE@am__append_2610 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2611 = \ +@COND_i386_efi_TRUE@ $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_i386_efi_TRUE@ password_pbkdf2.marker +@COND_i386_efi_TRUE@am__append_2612 = password_pbkdf2.mod +@COND_i386_efi_TRUE@am__append_2613 = password_pbkdf2.marker +@COND_i386_qemu_TRUE@am__append_2614 = password_pbkdf2.module +@COND_i386_qemu_TRUE@am__append_2615 = password_pbkdf2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2616 = +@COND_i386_qemu_TRUE@am__append_2617 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2618 = \ +@COND_i386_qemu_TRUE@ $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ password_pbkdf2.marker +@COND_i386_qemu_TRUE@am__append_2619 = password_pbkdf2.mod +@COND_i386_qemu_TRUE@am__append_2620 = password_pbkdf2.marker +@COND_i386_coreboot_TRUE@am__append_2621 = password_pbkdf2.module +@COND_i386_coreboot_TRUE@am__append_2622 = password_pbkdf2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2623 = +@COND_i386_coreboot_TRUE@am__append_2624 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2625 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ password_pbkdf2.marker +@COND_i386_coreboot_TRUE@am__append_2626 = password_pbkdf2.mod +@COND_i386_coreboot_TRUE@am__append_2627 = password_pbkdf2.marker +@COND_i386_multiboot_TRUE@am__append_2628 = password_pbkdf2.module +@COND_i386_multiboot_TRUE@am__append_2629 = password_pbkdf2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2630 = +@COND_i386_multiboot_TRUE@am__append_2631 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2632 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ password_pbkdf2.marker +@COND_i386_multiboot_TRUE@am__append_2633 = password_pbkdf2.mod +@COND_i386_multiboot_TRUE@am__append_2634 = password_pbkdf2.marker +@COND_i386_ieee1275_TRUE@am__append_2635 = password_pbkdf2.module +@COND_i386_ieee1275_TRUE@am__append_2636 = password_pbkdf2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2637 = +@COND_i386_ieee1275_TRUE@am__append_2638 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2639 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ password_pbkdf2.marker +@COND_i386_ieee1275_TRUE@am__append_2640 = password_pbkdf2.mod +@COND_i386_ieee1275_TRUE@am__append_2641 = password_pbkdf2.marker +@COND_x86_64_efi_TRUE@am__append_2642 = password_pbkdf2.module +@COND_x86_64_efi_TRUE@am__append_2643 = password_pbkdf2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2644 = +@COND_x86_64_efi_TRUE@am__append_2645 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2646 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ password_pbkdf2.marker +@COND_x86_64_efi_TRUE@am__append_2647 = password_pbkdf2.mod +@COND_x86_64_efi_TRUE@am__append_2648 = password_pbkdf2.marker +@COND_mips_yeeloong_TRUE@am__append_2649 = password_pbkdf2.module +@COND_mips_yeeloong_TRUE@am__append_2650 = password_pbkdf2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2651 = +@COND_mips_yeeloong_TRUE@am__append_2652 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2653 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ password_pbkdf2.marker +@COND_mips_yeeloong_TRUE@am__append_2654 = password_pbkdf2.mod +@COND_mips_yeeloong_TRUE@am__append_2655 = password_pbkdf2.marker +@COND_sparc64_ieee1275_TRUE@am__append_2656 = password_pbkdf2.module +@COND_sparc64_ieee1275_TRUE@am__append_2657 = password_pbkdf2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2658 = +@COND_sparc64_ieee1275_TRUE@am__append_2659 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2660 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ password_pbkdf2.marker +@COND_sparc64_ieee1275_TRUE@am__append_2661 = password_pbkdf2.mod +@COND_sparc64_ieee1275_TRUE@am__append_2662 = password_pbkdf2.marker +@COND_powerpc_ieee1275_TRUE@am__append_2663 = password_pbkdf2.module +@COND_powerpc_ieee1275_TRUE@am__append_2664 = password_pbkdf2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2665 = +@COND_powerpc_ieee1275_TRUE@am__append_2666 = $(nodist_password_pbkdf2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2667 = $(nodist_password_pbkdf2_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ password_pbkdf2.marker +@COND_powerpc_ieee1275_TRUE@am__append_2668 = password_pbkdf2.mod +@COND_powerpc_ieee1275_TRUE@am__append_2669 = password_pbkdf2.marker +@COND_i386_pc_TRUE@am__append_2670 = play.module +@COND_i386_pc_TRUE@am__append_2671 = play.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2672 = +@COND_i386_pc_TRUE@am__append_2673 = $(nodist_play_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2674 = $(nodist_play_module_SOURCES) \ +@COND_i386_pc_TRUE@ play.marker +@COND_i386_pc_TRUE@am__append_2675 = play.mod +@COND_i386_pc_TRUE@am__append_2676 = play.marker +@COND_i386_efi_TRUE@am__append_2677 = play.module +@COND_i386_efi_TRUE@am__append_2678 = play.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2679 = +@COND_i386_efi_TRUE@am__append_2680 = $(nodist_play_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2681 = $(nodist_play_module_SOURCES) \ +@COND_i386_efi_TRUE@ play.marker +@COND_i386_efi_TRUE@am__append_2682 = play.mod +@COND_i386_efi_TRUE@am__append_2683 = play.marker +@COND_i386_qemu_TRUE@am__append_2684 = play.module +@COND_i386_qemu_TRUE@am__append_2685 = play.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2686 = +@COND_i386_qemu_TRUE@am__append_2687 = $(nodist_play_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2688 = $(nodist_play_module_SOURCES) \ +@COND_i386_qemu_TRUE@ play.marker +@COND_i386_qemu_TRUE@am__append_2689 = play.mod +@COND_i386_qemu_TRUE@am__append_2690 = play.marker +@COND_i386_coreboot_TRUE@am__append_2691 = play.module +@COND_i386_coreboot_TRUE@am__append_2692 = play.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2693 = +@COND_i386_coreboot_TRUE@am__append_2694 = $(nodist_play_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2695 = \ +@COND_i386_coreboot_TRUE@ $(nodist_play_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ play.marker +@COND_i386_coreboot_TRUE@am__append_2696 = play.mod +@COND_i386_coreboot_TRUE@am__append_2697 = play.marker +@COND_i386_multiboot_TRUE@am__append_2698 = play.module +@COND_i386_multiboot_TRUE@am__append_2699 = play.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2700 = +@COND_i386_multiboot_TRUE@am__append_2701 = $(nodist_play_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2702 = \ +@COND_i386_multiboot_TRUE@ $(nodist_play_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ play.marker +@COND_i386_multiboot_TRUE@am__append_2703 = play.mod +@COND_i386_multiboot_TRUE@am__append_2704 = play.marker +@COND_i386_ieee1275_TRUE@am__append_2705 = play.module +@COND_i386_ieee1275_TRUE@am__append_2706 = play.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2707 = +@COND_i386_ieee1275_TRUE@am__append_2708 = $(nodist_play_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2709 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_play_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ play.marker +@COND_i386_ieee1275_TRUE@am__append_2710 = play.mod +@COND_i386_ieee1275_TRUE@am__append_2711 = play.marker +@COND_x86_64_efi_TRUE@am__append_2712 = play.module +@COND_x86_64_efi_TRUE@am__append_2713 = play.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2714 = +@COND_x86_64_efi_TRUE@am__append_2715 = $(nodist_play_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2716 = $(nodist_play_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ play.marker +@COND_x86_64_efi_TRUE@am__append_2717 = play.mod +@COND_x86_64_efi_TRUE@am__append_2718 = play.marker +@COND_emu_TRUE@am__append_2719 = probe.module +@COND_emu_TRUE@am__append_2720 = probe.module$(EXEEXT) +@COND_emu_TRUE@am__append_2721 = +@COND_emu_TRUE@am__append_2722 = $(nodist_probe_module_SOURCES) +@COND_emu_TRUE@am__append_2723 = $(nodist_probe_module_SOURCES) \ +@COND_emu_TRUE@ probe.marker +@COND_emu_TRUE@am__append_2724 = probe.mod +@COND_emu_TRUE@am__append_2725 = probe.marker +@COND_i386_pc_TRUE@am__append_2726 = probe.module +@COND_i386_pc_TRUE@am__append_2727 = probe.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2728 = +@COND_i386_pc_TRUE@am__append_2729 = $(nodist_probe_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2730 = $(nodist_probe_module_SOURCES) \ +@COND_i386_pc_TRUE@ probe.marker +@COND_i386_pc_TRUE@am__append_2731 = probe.mod +@COND_i386_pc_TRUE@am__append_2732 = probe.marker +@COND_i386_efi_TRUE@am__append_2733 = probe.module +@COND_i386_efi_TRUE@am__append_2734 = probe.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2735 = +@COND_i386_efi_TRUE@am__append_2736 = $(nodist_probe_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2737 = $(nodist_probe_module_SOURCES) \ +@COND_i386_efi_TRUE@ probe.marker +@COND_i386_efi_TRUE@am__append_2738 = probe.mod +@COND_i386_efi_TRUE@am__append_2739 = probe.marker +@COND_i386_qemu_TRUE@am__append_2740 = probe.module +@COND_i386_qemu_TRUE@am__append_2741 = probe.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2742 = +@COND_i386_qemu_TRUE@am__append_2743 = $(nodist_probe_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2744 = $(nodist_probe_module_SOURCES) \ +@COND_i386_qemu_TRUE@ probe.marker +@COND_i386_qemu_TRUE@am__append_2745 = probe.mod +@COND_i386_qemu_TRUE@am__append_2746 = probe.marker +@COND_i386_coreboot_TRUE@am__append_2747 = probe.module +@COND_i386_coreboot_TRUE@am__append_2748 = probe.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2749 = +@COND_i386_coreboot_TRUE@am__append_2750 = $(nodist_probe_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2751 = \ +@COND_i386_coreboot_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ probe.marker +@COND_i386_coreboot_TRUE@am__append_2752 = probe.mod +@COND_i386_coreboot_TRUE@am__append_2753 = probe.marker +@COND_i386_multiboot_TRUE@am__append_2754 = probe.module +@COND_i386_multiboot_TRUE@am__append_2755 = probe.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2756 = +@COND_i386_multiboot_TRUE@am__append_2757 = $(nodist_probe_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2758 = \ +@COND_i386_multiboot_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ probe.marker +@COND_i386_multiboot_TRUE@am__append_2759 = probe.mod +@COND_i386_multiboot_TRUE@am__append_2760 = probe.marker +@COND_i386_ieee1275_TRUE@am__append_2761 = probe.module +@COND_i386_ieee1275_TRUE@am__append_2762 = probe.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2763 = +@COND_i386_ieee1275_TRUE@am__append_2764 = $(nodist_probe_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2765 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ probe.marker +@COND_i386_ieee1275_TRUE@am__append_2766 = probe.mod +@COND_i386_ieee1275_TRUE@am__append_2767 = probe.marker +@COND_x86_64_efi_TRUE@am__append_2768 = probe.module +@COND_x86_64_efi_TRUE@am__append_2769 = probe.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2770 = +@COND_x86_64_efi_TRUE@am__append_2771 = $(nodist_probe_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2772 = \ +@COND_x86_64_efi_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ probe.marker +@COND_x86_64_efi_TRUE@am__append_2773 = probe.mod +@COND_x86_64_efi_TRUE@am__append_2774 = probe.marker +@COND_mips_yeeloong_TRUE@am__append_2775 = probe.module +@COND_mips_yeeloong_TRUE@am__append_2776 = probe.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2777 = +@COND_mips_yeeloong_TRUE@am__append_2778 = $(nodist_probe_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2779 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ probe.marker +@COND_mips_yeeloong_TRUE@am__append_2780 = probe.mod +@COND_mips_yeeloong_TRUE@am__append_2781 = probe.marker +@COND_sparc64_ieee1275_TRUE@am__append_2782 = probe.module +@COND_sparc64_ieee1275_TRUE@am__append_2783 = probe.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2784 = +@COND_sparc64_ieee1275_TRUE@am__append_2785 = $(nodist_probe_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2786 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ probe.marker +@COND_sparc64_ieee1275_TRUE@am__append_2787 = probe.mod +@COND_sparc64_ieee1275_TRUE@am__append_2788 = probe.marker +@COND_powerpc_ieee1275_TRUE@am__append_2789 = probe.module +@COND_powerpc_ieee1275_TRUE@am__append_2790 = probe.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2791 = +@COND_powerpc_ieee1275_TRUE@am__append_2792 = $(nodist_probe_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2793 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_probe_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ probe.marker +@COND_powerpc_ieee1275_TRUE@am__append_2794 = probe.mod +@COND_powerpc_ieee1275_TRUE@am__append_2795 = probe.marker +@COND_i386_pc_TRUE@am__append_2796 = pxecmd.module +@COND_i386_pc_TRUE@am__append_2797 = pxecmd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2798 = +@COND_i386_pc_TRUE@am__append_2799 = $(nodist_pxecmd_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2800 = $(nodist_pxecmd_module_SOURCES) \ +@COND_i386_pc_TRUE@ pxecmd.marker +@COND_i386_pc_TRUE@am__append_2801 = pxecmd.mod +@COND_i386_pc_TRUE@am__append_2802 = pxecmd.marker +@COND_emu_TRUE@am__append_2803 = read.module +@COND_emu_TRUE@am__append_2804 = read.module$(EXEEXT) +@COND_emu_TRUE@am__append_2805 = +@COND_emu_TRUE@am__append_2806 = $(nodist_read_module_SOURCES) +@COND_emu_TRUE@am__append_2807 = $(nodist_read_module_SOURCES) \ +@COND_emu_TRUE@ read.marker +@COND_emu_TRUE@am__append_2808 = read.mod +@COND_emu_TRUE@am__append_2809 = read.marker +@COND_i386_pc_TRUE@am__append_2810 = read.module +@COND_i386_pc_TRUE@am__append_2811 = read.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2812 = +@COND_i386_pc_TRUE@am__append_2813 = $(nodist_read_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2814 = $(nodist_read_module_SOURCES) \ +@COND_i386_pc_TRUE@ read.marker +@COND_i386_pc_TRUE@am__append_2815 = read.mod +@COND_i386_pc_TRUE@am__append_2816 = read.marker +@COND_i386_efi_TRUE@am__append_2817 = read.module +@COND_i386_efi_TRUE@am__append_2818 = read.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2819 = +@COND_i386_efi_TRUE@am__append_2820 = $(nodist_read_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2821 = $(nodist_read_module_SOURCES) \ +@COND_i386_efi_TRUE@ read.marker +@COND_i386_efi_TRUE@am__append_2822 = read.mod +@COND_i386_efi_TRUE@am__append_2823 = read.marker +@COND_i386_qemu_TRUE@am__append_2824 = read.module +@COND_i386_qemu_TRUE@am__append_2825 = read.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2826 = +@COND_i386_qemu_TRUE@am__append_2827 = $(nodist_read_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2828 = $(nodist_read_module_SOURCES) \ +@COND_i386_qemu_TRUE@ read.marker +@COND_i386_qemu_TRUE@am__append_2829 = read.mod +@COND_i386_qemu_TRUE@am__append_2830 = read.marker +@COND_i386_coreboot_TRUE@am__append_2831 = read.module +@COND_i386_coreboot_TRUE@am__append_2832 = read.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2833 = +@COND_i386_coreboot_TRUE@am__append_2834 = $(nodist_read_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2835 = \ +@COND_i386_coreboot_TRUE@ $(nodist_read_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ read.marker +@COND_i386_coreboot_TRUE@am__append_2836 = read.mod +@COND_i386_coreboot_TRUE@am__append_2837 = read.marker +@COND_i386_multiboot_TRUE@am__append_2838 = read.module +@COND_i386_multiboot_TRUE@am__append_2839 = read.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2840 = +@COND_i386_multiboot_TRUE@am__append_2841 = $(nodist_read_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2842 = \ +@COND_i386_multiboot_TRUE@ $(nodist_read_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ read.marker +@COND_i386_multiboot_TRUE@am__append_2843 = read.mod +@COND_i386_multiboot_TRUE@am__append_2844 = read.marker +@COND_i386_ieee1275_TRUE@am__append_2845 = read.module +@COND_i386_ieee1275_TRUE@am__append_2846 = read.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2847 = +@COND_i386_ieee1275_TRUE@am__append_2848 = $(nodist_read_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2849 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_read_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ read.marker +@COND_i386_ieee1275_TRUE@am__append_2850 = read.mod +@COND_i386_ieee1275_TRUE@am__append_2851 = read.marker +@COND_x86_64_efi_TRUE@am__append_2852 = read.module +@COND_x86_64_efi_TRUE@am__append_2853 = read.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2854 = +@COND_x86_64_efi_TRUE@am__append_2855 = $(nodist_read_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2856 = $(nodist_read_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ read.marker +@COND_x86_64_efi_TRUE@am__append_2857 = read.mod +@COND_x86_64_efi_TRUE@am__append_2858 = read.marker +@COND_mips_yeeloong_TRUE@am__append_2859 = read.module +@COND_mips_yeeloong_TRUE@am__append_2860 = read.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2861 = +@COND_mips_yeeloong_TRUE@am__append_2862 = $(nodist_read_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2863 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_read_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ read.marker +@COND_mips_yeeloong_TRUE@am__append_2864 = read.mod +@COND_mips_yeeloong_TRUE@am__append_2865 = read.marker +@COND_sparc64_ieee1275_TRUE@am__append_2866 = read.module +@COND_sparc64_ieee1275_TRUE@am__append_2867 = read.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2868 = +@COND_sparc64_ieee1275_TRUE@am__append_2869 = $(nodist_read_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2870 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_read_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ read.marker +@COND_sparc64_ieee1275_TRUE@am__append_2871 = read.mod +@COND_sparc64_ieee1275_TRUE@am__append_2872 = read.marker +@COND_powerpc_ieee1275_TRUE@am__append_2873 = read.module +@COND_powerpc_ieee1275_TRUE@am__append_2874 = read.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2875 = +@COND_powerpc_ieee1275_TRUE@am__append_2876 = $(nodist_read_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2877 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_read_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ read.marker +@COND_powerpc_ieee1275_TRUE@am__append_2878 = read.mod +@COND_powerpc_ieee1275_TRUE@am__append_2879 = read.marker +@COND_emu_TRUE@am__append_2880 = reboot.module +@COND_emu_TRUE@am__append_2881 = reboot.module$(EXEEXT) +@COND_emu_TRUE@am__append_2882 = +@COND_emu_TRUE@am__append_2883 = $(nodist_reboot_module_SOURCES) +@COND_emu_TRUE@am__append_2884 = $(nodist_reboot_module_SOURCES) \ +@COND_emu_TRUE@ reboot.marker +@COND_emu_TRUE@am__append_2885 = reboot.mod +@COND_emu_TRUE@am__append_2886 = reboot.marker +@COND_i386_pc_TRUE@am__append_2887 = reboot.module +@COND_i386_pc_TRUE@am__append_2888 = reboot.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2889 = +@COND_i386_pc_TRUE@am__append_2890 = $(nodist_reboot_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2891 = $(nodist_reboot_module_SOURCES) \ +@COND_i386_pc_TRUE@ reboot.marker +@COND_i386_pc_TRUE@am__append_2892 = reboot.mod +@COND_i386_pc_TRUE@am__append_2893 = reboot.marker +@COND_i386_efi_TRUE@am__append_2894 = reboot.module +@COND_i386_efi_TRUE@am__append_2895 = reboot.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2896 = +@COND_i386_efi_TRUE@am__append_2897 = $(nodist_reboot_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2898 = $(nodist_reboot_module_SOURCES) \ +@COND_i386_efi_TRUE@ reboot.marker +@COND_i386_efi_TRUE@am__append_2899 = reboot.mod +@COND_i386_efi_TRUE@am__append_2900 = reboot.marker +@COND_i386_qemu_TRUE@am__append_2901 = reboot.module +@COND_i386_qemu_TRUE@am__append_2902 = reboot.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2903 = +@COND_i386_qemu_TRUE@am__append_2904 = $(nodist_reboot_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2905 = \ +@COND_i386_qemu_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_i386_qemu_TRUE@ reboot.marker +@COND_i386_qemu_TRUE@am__append_2906 = reboot.mod +@COND_i386_qemu_TRUE@am__append_2907 = reboot.marker +@COND_i386_coreboot_TRUE@am__append_2908 = reboot.module +@COND_i386_coreboot_TRUE@am__append_2909 = reboot.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2910 = +@COND_i386_coreboot_TRUE@am__append_2911 = $(nodist_reboot_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2912 = \ +@COND_i386_coreboot_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ reboot.marker +@COND_i386_coreboot_TRUE@am__append_2913 = reboot.mod +@COND_i386_coreboot_TRUE@am__append_2914 = reboot.marker +@COND_i386_multiboot_TRUE@am__append_2915 = reboot.module +@COND_i386_multiboot_TRUE@am__append_2916 = reboot.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2917 = +@COND_i386_multiboot_TRUE@am__append_2918 = $(nodist_reboot_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2919 = \ +@COND_i386_multiboot_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ reboot.marker +@COND_i386_multiboot_TRUE@am__append_2920 = reboot.mod +@COND_i386_multiboot_TRUE@am__append_2921 = reboot.marker +@COND_i386_ieee1275_TRUE@am__append_2922 = reboot.module +@COND_i386_ieee1275_TRUE@am__append_2923 = reboot.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_2924 = +@COND_i386_ieee1275_TRUE@am__append_2925 = $(nodist_reboot_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_2926 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ reboot.marker +@COND_i386_ieee1275_TRUE@am__append_2927 = reboot.mod +@COND_i386_ieee1275_TRUE@am__append_2928 = reboot.marker +@COND_x86_64_efi_TRUE@am__append_2929 = reboot.module +@COND_x86_64_efi_TRUE@am__append_2930 = reboot.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_2931 = +@COND_x86_64_efi_TRUE@am__append_2932 = $(nodist_reboot_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_2933 = \ +@COND_x86_64_efi_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ reboot.marker +@COND_x86_64_efi_TRUE@am__append_2934 = reboot.mod +@COND_x86_64_efi_TRUE@am__append_2935 = reboot.marker +@COND_mips_yeeloong_TRUE@am__append_2936 = reboot.module +@COND_mips_yeeloong_TRUE@am__append_2937 = reboot.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_2938 = +@COND_mips_yeeloong_TRUE@am__append_2939 = $(nodist_reboot_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_2940 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ reboot.marker +@COND_mips_yeeloong_TRUE@am__append_2941 = reboot.mod +@COND_mips_yeeloong_TRUE@am__append_2942 = reboot.marker +@COND_sparc64_ieee1275_TRUE@am__append_2943 = reboot.module +@COND_sparc64_ieee1275_TRUE@am__append_2944 = reboot.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_2945 = +@COND_sparc64_ieee1275_TRUE@am__append_2946 = $(nodist_reboot_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_2947 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ reboot.marker +@COND_sparc64_ieee1275_TRUE@am__append_2948 = reboot.mod +@COND_sparc64_ieee1275_TRUE@am__append_2949 = reboot.marker +@COND_powerpc_ieee1275_TRUE@am__append_2950 = reboot.module +@COND_powerpc_ieee1275_TRUE@am__append_2951 = reboot.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_2952 = +@COND_powerpc_ieee1275_TRUE@am__append_2953 = $(nodist_reboot_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_2954 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_reboot_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ reboot.marker +@COND_powerpc_ieee1275_TRUE@am__append_2955 = reboot.mod +@COND_powerpc_ieee1275_TRUE@am__append_2956 = reboot.marker +@COND_emu_TRUE@am__append_2957 = search.module +@COND_emu_TRUE@am__append_2958 = search.module$(EXEEXT) +@COND_emu_TRUE@am__append_2959 = commands/search.c +@COND_emu_TRUE@am__append_2960 = $(nodist_search_module_SOURCES) +@COND_emu_TRUE@am__append_2961 = $(nodist_search_module_SOURCES) \ +@COND_emu_TRUE@ search.marker +@COND_emu_TRUE@am__append_2962 = search.mod +@COND_emu_TRUE@am__append_2963 = search.marker +@COND_i386_pc_TRUE@am__append_2964 = search.module +@COND_i386_pc_TRUE@am__append_2965 = search.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_2966 = commands/search.c +@COND_i386_pc_TRUE@am__append_2967 = $(nodist_search_module_SOURCES) +@COND_i386_pc_TRUE@am__append_2968 = $(nodist_search_module_SOURCES) \ +@COND_i386_pc_TRUE@ search.marker +@COND_i386_pc_TRUE@am__append_2969 = search.mod +@COND_i386_pc_TRUE@am__append_2970 = search.marker +@COND_i386_efi_TRUE@am__append_2971 = search.module +@COND_i386_efi_TRUE@am__append_2972 = search.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_2973 = commands/search.c +@COND_i386_efi_TRUE@am__append_2974 = $(nodist_search_module_SOURCES) +@COND_i386_efi_TRUE@am__append_2975 = $(nodist_search_module_SOURCES) \ +@COND_i386_efi_TRUE@ search.marker +@COND_i386_efi_TRUE@am__append_2976 = search.mod +@COND_i386_efi_TRUE@am__append_2977 = search.marker +@COND_i386_qemu_TRUE@am__append_2978 = search.module +@COND_i386_qemu_TRUE@am__append_2979 = search.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_2980 = commands/search.c +@COND_i386_qemu_TRUE@am__append_2981 = $(nodist_search_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_2982 = \ +@COND_i386_qemu_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_i386_qemu_TRUE@ search.marker +@COND_i386_qemu_TRUE@am__append_2983 = search.mod +@COND_i386_qemu_TRUE@am__append_2984 = search.marker +@COND_i386_coreboot_TRUE@am__append_2985 = search.module +@COND_i386_coreboot_TRUE@am__append_2986 = search.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_2987 = commands/search.c +@COND_i386_coreboot_TRUE@am__append_2988 = $(nodist_search_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_2989 = \ +@COND_i386_coreboot_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ search.marker +@COND_i386_coreboot_TRUE@am__append_2990 = search.mod +@COND_i386_coreboot_TRUE@am__append_2991 = search.marker +@COND_i386_multiboot_TRUE@am__append_2992 = search.module +@COND_i386_multiboot_TRUE@am__append_2993 = search.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_2994 = commands/search.c +@COND_i386_multiboot_TRUE@am__append_2995 = $(nodist_search_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_2996 = \ +@COND_i386_multiboot_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ search.marker +@COND_i386_multiboot_TRUE@am__append_2997 = search.mod +@COND_i386_multiboot_TRUE@am__append_2998 = search.marker +@COND_i386_ieee1275_TRUE@am__append_2999 = search.module +@COND_i386_ieee1275_TRUE@am__append_3000 = search.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3001 = commands/search.c +@COND_i386_ieee1275_TRUE@am__append_3002 = $(nodist_search_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3003 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ search.marker +@COND_i386_ieee1275_TRUE@am__append_3004 = search.mod +@COND_i386_ieee1275_TRUE@am__append_3005 = search.marker +@COND_x86_64_efi_TRUE@am__append_3006 = search.module +@COND_x86_64_efi_TRUE@am__append_3007 = search.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3008 = commands/search.c +@COND_x86_64_efi_TRUE@am__append_3009 = $(nodist_search_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3010 = \ +@COND_x86_64_efi_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ search.marker +@COND_x86_64_efi_TRUE@am__append_3011 = search.mod +@COND_x86_64_efi_TRUE@am__append_3012 = search.marker +@COND_mips_yeeloong_TRUE@am__append_3013 = search.module +@COND_mips_yeeloong_TRUE@am__append_3014 = search.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3015 = commands/search.c +@COND_mips_yeeloong_TRUE@am__append_3016 = $(nodist_search_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3017 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ search.marker +@COND_mips_yeeloong_TRUE@am__append_3018 = search.mod +@COND_mips_yeeloong_TRUE@am__append_3019 = search.marker +@COND_sparc64_ieee1275_TRUE@am__append_3020 = search.module +@COND_sparc64_ieee1275_TRUE@am__append_3021 = search.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3022 = commands/search.c +@COND_sparc64_ieee1275_TRUE@am__append_3023 = $(nodist_search_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3024 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ search.marker +@COND_sparc64_ieee1275_TRUE@am__append_3025 = search.mod +@COND_sparc64_ieee1275_TRUE@am__append_3026 = search.marker +@COND_powerpc_ieee1275_TRUE@am__append_3027 = search.module +@COND_powerpc_ieee1275_TRUE@am__append_3028 = search.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3029 = commands/search.c +@COND_powerpc_ieee1275_TRUE@am__append_3030 = $(nodist_search_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3031 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_search_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ search.marker +@COND_powerpc_ieee1275_TRUE@am__append_3032 = search.mod +@COND_powerpc_ieee1275_TRUE@am__append_3033 = search.marker +@COND_emu_TRUE@am__append_3034 = search_fs_file.module +@COND_emu_TRUE@am__append_3035 = search_fs_file.module$(EXEEXT) +@COND_emu_TRUE@am__append_3036 = +@COND_emu_TRUE@am__append_3037 = $(nodist_search_fs_file_module_SOURCES) +@COND_emu_TRUE@am__append_3038 = \ +@COND_emu_TRUE@ $(nodist_search_fs_file_module_SOURCES) \ +@COND_emu_TRUE@ search_fs_file.marker +@COND_emu_TRUE@am__append_3039 = search_fs_file.mod +@COND_emu_TRUE@am__append_3040 = search_fs_file.marker +@COND_i386_pc_TRUE@am__append_3041 = search_fs_file.module +@COND_i386_pc_TRUE@am__append_3042 = search_fs_file.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3043 = +@COND_i386_pc_TRUE@am__append_3044 = $(nodist_search_fs_file_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3045 = \ +@COND_i386_pc_TRUE@ $(nodist_search_fs_file_module_SOURCES) \ +@COND_i386_pc_TRUE@ search_fs_file.marker +@COND_i386_pc_TRUE@am__append_3046 = search_fs_file.mod +@COND_i386_pc_TRUE@am__append_3047 = search_fs_file.marker +@COND_i386_efi_TRUE@am__append_3048 = search_fs_file.module +@COND_i386_efi_TRUE@am__append_3049 = search_fs_file.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3050 = +@COND_i386_efi_TRUE@am__append_3051 = $(nodist_search_fs_file_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3052 = \ +@COND_i386_efi_TRUE@ $(nodist_search_fs_file_module_SOURCES) \ +@COND_i386_efi_TRUE@ search_fs_file.marker +@COND_i386_efi_TRUE@am__append_3053 = search_fs_file.mod +@COND_i386_efi_TRUE@am__append_3054 = search_fs_file.marker +@COND_i386_qemu_TRUE@am__append_3055 = search_fs_file.module +@COND_i386_qemu_TRUE@am__append_3056 = search_fs_file.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3057 = +@COND_i386_qemu_TRUE@am__append_3058 = $(nodist_search_fs_file_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3059 = \ +@COND_i386_qemu_TRUE@ $(nodist_search_fs_file_module_SOURCES) \ +@COND_i386_qemu_TRUE@ search_fs_file.marker +@COND_i386_qemu_TRUE@am__append_3060 = search_fs_file.mod +@COND_i386_qemu_TRUE@am__append_3061 = search_fs_file.marker +@COND_i386_coreboot_TRUE@am__append_3062 = search_fs_file.module +@COND_i386_coreboot_TRUE@am__append_3063 = search_fs_file.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3064 = +@COND_i386_coreboot_TRUE@am__append_3065 = $(nodist_search_fs_file_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3066 = $(nodist_search_fs_file_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ search_fs_file.marker +@COND_i386_coreboot_TRUE@am__append_3067 = search_fs_file.mod +@COND_i386_coreboot_TRUE@am__append_3068 = search_fs_file.marker +@COND_i386_multiboot_TRUE@am__append_3069 = search_fs_file.module +@COND_i386_multiboot_TRUE@am__append_3070 = search_fs_file.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3071 = +@COND_i386_multiboot_TRUE@am__append_3072 = $(nodist_search_fs_file_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3073 = $(nodist_search_fs_file_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ search_fs_file.marker +@COND_i386_multiboot_TRUE@am__append_3074 = search_fs_file.mod +@COND_i386_multiboot_TRUE@am__append_3075 = search_fs_file.marker +@COND_i386_ieee1275_TRUE@am__append_3076 = search_fs_file.module +@COND_i386_ieee1275_TRUE@am__append_3077 = search_fs_file.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3078 = +@COND_i386_ieee1275_TRUE@am__append_3079 = $(nodist_search_fs_file_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3080 = $(nodist_search_fs_file_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ search_fs_file.marker +@COND_i386_ieee1275_TRUE@am__append_3081 = search_fs_file.mod +@COND_i386_ieee1275_TRUE@am__append_3082 = search_fs_file.marker +@COND_x86_64_efi_TRUE@am__append_3083 = search_fs_file.module +@COND_x86_64_efi_TRUE@am__append_3084 = search_fs_file.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3085 = +@COND_x86_64_efi_TRUE@am__append_3086 = $(nodist_search_fs_file_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3087 = \ +@COND_x86_64_efi_TRUE@ $(nodist_search_fs_file_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ search_fs_file.marker +@COND_x86_64_efi_TRUE@am__append_3088 = search_fs_file.mod +@COND_x86_64_efi_TRUE@am__append_3089 = search_fs_file.marker +@COND_mips_yeeloong_TRUE@am__append_3090 = search_fs_file.module +@COND_mips_yeeloong_TRUE@am__append_3091 = search_fs_file.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3092 = +@COND_mips_yeeloong_TRUE@am__append_3093 = $(nodist_search_fs_file_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3094 = $(nodist_search_fs_file_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ search_fs_file.marker +@COND_mips_yeeloong_TRUE@am__append_3095 = search_fs_file.mod +@COND_mips_yeeloong_TRUE@am__append_3096 = search_fs_file.marker +@COND_sparc64_ieee1275_TRUE@am__append_3097 = search_fs_file.module +@COND_sparc64_ieee1275_TRUE@am__append_3098 = search_fs_file.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3099 = +@COND_sparc64_ieee1275_TRUE@am__append_3100 = $(nodist_search_fs_file_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3101 = $(nodist_search_fs_file_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ search_fs_file.marker +@COND_sparc64_ieee1275_TRUE@am__append_3102 = search_fs_file.mod +@COND_sparc64_ieee1275_TRUE@am__append_3103 = search_fs_file.marker +@COND_powerpc_ieee1275_TRUE@am__append_3104 = search_fs_file.module +@COND_powerpc_ieee1275_TRUE@am__append_3105 = search_fs_file.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3106 = +@COND_powerpc_ieee1275_TRUE@am__append_3107 = $(nodist_search_fs_file_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3108 = $(nodist_search_fs_file_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ search_fs_file.marker +@COND_powerpc_ieee1275_TRUE@am__append_3109 = search_fs_file.mod +@COND_powerpc_ieee1275_TRUE@am__append_3110 = search_fs_file.marker +@COND_emu_TRUE@am__append_3111 = search_fs_uuid.module +@COND_emu_TRUE@am__append_3112 = search_fs_uuid.module$(EXEEXT) +@COND_emu_TRUE@am__append_3113 = +@COND_emu_TRUE@am__append_3114 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_emu_TRUE@am__append_3115 = \ +@COND_emu_TRUE@ $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_emu_TRUE@ search_fs_uuid.marker +@COND_emu_TRUE@am__append_3116 = search_fs_uuid.mod +@COND_emu_TRUE@am__append_3117 = search_fs_uuid.marker +@COND_i386_pc_TRUE@am__append_3118 = search_fs_uuid.module +@COND_i386_pc_TRUE@am__append_3119 = search_fs_uuid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3120 = +@COND_i386_pc_TRUE@am__append_3121 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3122 = \ +@COND_i386_pc_TRUE@ $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_i386_pc_TRUE@ search_fs_uuid.marker +@COND_i386_pc_TRUE@am__append_3123 = search_fs_uuid.mod +@COND_i386_pc_TRUE@am__append_3124 = search_fs_uuid.marker +@COND_i386_efi_TRUE@am__append_3125 = search_fs_uuid.module +@COND_i386_efi_TRUE@am__append_3126 = search_fs_uuid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3127 = +@COND_i386_efi_TRUE@am__append_3128 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3129 = \ +@COND_i386_efi_TRUE@ $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_i386_efi_TRUE@ search_fs_uuid.marker +@COND_i386_efi_TRUE@am__append_3130 = search_fs_uuid.mod +@COND_i386_efi_TRUE@am__append_3131 = search_fs_uuid.marker +@COND_i386_qemu_TRUE@am__append_3132 = search_fs_uuid.module +@COND_i386_qemu_TRUE@am__append_3133 = search_fs_uuid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3134 = +@COND_i386_qemu_TRUE@am__append_3135 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3136 = \ +@COND_i386_qemu_TRUE@ $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_i386_qemu_TRUE@ search_fs_uuid.marker +@COND_i386_qemu_TRUE@am__append_3137 = search_fs_uuid.mod +@COND_i386_qemu_TRUE@am__append_3138 = search_fs_uuid.marker +@COND_i386_coreboot_TRUE@am__append_3139 = search_fs_uuid.module +@COND_i386_coreboot_TRUE@am__append_3140 = search_fs_uuid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3141 = +@COND_i386_coreboot_TRUE@am__append_3142 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3143 = $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ search_fs_uuid.marker +@COND_i386_coreboot_TRUE@am__append_3144 = search_fs_uuid.mod +@COND_i386_coreboot_TRUE@am__append_3145 = search_fs_uuid.marker +@COND_i386_multiboot_TRUE@am__append_3146 = search_fs_uuid.module +@COND_i386_multiboot_TRUE@am__append_3147 = search_fs_uuid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3148 = +@COND_i386_multiboot_TRUE@am__append_3149 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3150 = $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ search_fs_uuid.marker +@COND_i386_multiboot_TRUE@am__append_3151 = search_fs_uuid.mod +@COND_i386_multiboot_TRUE@am__append_3152 = search_fs_uuid.marker +@COND_i386_ieee1275_TRUE@am__append_3153 = search_fs_uuid.module +@COND_i386_ieee1275_TRUE@am__append_3154 = search_fs_uuid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3155 = +@COND_i386_ieee1275_TRUE@am__append_3156 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3157 = $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ search_fs_uuid.marker +@COND_i386_ieee1275_TRUE@am__append_3158 = search_fs_uuid.mod +@COND_i386_ieee1275_TRUE@am__append_3159 = search_fs_uuid.marker +@COND_x86_64_efi_TRUE@am__append_3160 = search_fs_uuid.module +@COND_x86_64_efi_TRUE@am__append_3161 = search_fs_uuid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3162 = +@COND_x86_64_efi_TRUE@am__append_3163 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3164 = \ +@COND_x86_64_efi_TRUE@ $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ search_fs_uuid.marker +@COND_x86_64_efi_TRUE@am__append_3165 = search_fs_uuid.mod +@COND_x86_64_efi_TRUE@am__append_3166 = search_fs_uuid.marker +@COND_mips_yeeloong_TRUE@am__append_3167 = search_fs_uuid.module +@COND_mips_yeeloong_TRUE@am__append_3168 = search_fs_uuid.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3169 = +@COND_mips_yeeloong_TRUE@am__append_3170 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3171 = $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ search_fs_uuid.marker +@COND_mips_yeeloong_TRUE@am__append_3172 = search_fs_uuid.mod +@COND_mips_yeeloong_TRUE@am__append_3173 = search_fs_uuid.marker +@COND_sparc64_ieee1275_TRUE@am__append_3174 = search_fs_uuid.module +@COND_sparc64_ieee1275_TRUE@am__append_3175 = search_fs_uuid.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3176 = +@COND_sparc64_ieee1275_TRUE@am__append_3177 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3178 = $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ search_fs_uuid.marker +@COND_sparc64_ieee1275_TRUE@am__append_3179 = search_fs_uuid.mod +@COND_sparc64_ieee1275_TRUE@am__append_3180 = search_fs_uuid.marker +@COND_powerpc_ieee1275_TRUE@am__append_3181 = search_fs_uuid.module +@COND_powerpc_ieee1275_TRUE@am__append_3182 = search_fs_uuid.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3183 = +@COND_powerpc_ieee1275_TRUE@am__append_3184 = $(nodist_search_fs_uuid_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3185 = $(nodist_search_fs_uuid_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ search_fs_uuid.marker +@COND_powerpc_ieee1275_TRUE@am__append_3186 = search_fs_uuid.mod +@COND_powerpc_ieee1275_TRUE@am__append_3187 = search_fs_uuid.marker +@COND_emu_TRUE@am__append_3188 = search_label.module +@COND_emu_TRUE@am__append_3189 = search_label.module$(EXEEXT) +@COND_emu_TRUE@am__append_3190 = +@COND_emu_TRUE@am__append_3191 = $(nodist_search_label_module_SOURCES) +@COND_emu_TRUE@am__append_3192 = \ +@COND_emu_TRUE@ $(nodist_search_label_module_SOURCES) \ +@COND_emu_TRUE@ search_label.marker +@COND_emu_TRUE@am__append_3193 = search_label.mod +@COND_emu_TRUE@am__append_3194 = search_label.marker +@COND_i386_pc_TRUE@am__append_3195 = search_label.module +@COND_i386_pc_TRUE@am__append_3196 = search_label.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3197 = +@COND_i386_pc_TRUE@am__append_3198 = $(nodist_search_label_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3199 = \ +@COND_i386_pc_TRUE@ $(nodist_search_label_module_SOURCES) \ +@COND_i386_pc_TRUE@ search_label.marker +@COND_i386_pc_TRUE@am__append_3200 = search_label.mod +@COND_i386_pc_TRUE@am__append_3201 = search_label.marker +@COND_i386_efi_TRUE@am__append_3202 = search_label.module +@COND_i386_efi_TRUE@am__append_3203 = search_label.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3204 = +@COND_i386_efi_TRUE@am__append_3205 = $(nodist_search_label_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3206 = \ +@COND_i386_efi_TRUE@ $(nodist_search_label_module_SOURCES) \ +@COND_i386_efi_TRUE@ search_label.marker +@COND_i386_efi_TRUE@am__append_3207 = search_label.mod +@COND_i386_efi_TRUE@am__append_3208 = search_label.marker +@COND_i386_qemu_TRUE@am__append_3209 = search_label.module +@COND_i386_qemu_TRUE@am__append_3210 = search_label.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3211 = +@COND_i386_qemu_TRUE@am__append_3212 = $(nodist_search_label_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3213 = \ +@COND_i386_qemu_TRUE@ $(nodist_search_label_module_SOURCES) \ +@COND_i386_qemu_TRUE@ search_label.marker +@COND_i386_qemu_TRUE@am__append_3214 = search_label.mod +@COND_i386_qemu_TRUE@am__append_3215 = search_label.marker +@COND_i386_coreboot_TRUE@am__append_3216 = search_label.module +@COND_i386_coreboot_TRUE@am__append_3217 = search_label.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3218 = +@COND_i386_coreboot_TRUE@am__append_3219 = $(nodist_search_label_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3220 = $(nodist_search_label_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ search_label.marker +@COND_i386_coreboot_TRUE@am__append_3221 = search_label.mod +@COND_i386_coreboot_TRUE@am__append_3222 = search_label.marker +@COND_i386_multiboot_TRUE@am__append_3223 = search_label.module +@COND_i386_multiboot_TRUE@am__append_3224 = search_label.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3225 = +@COND_i386_multiboot_TRUE@am__append_3226 = $(nodist_search_label_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3227 = $(nodist_search_label_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ search_label.marker +@COND_i386_multiboot_TRUE@am__append_3228 = search_label.mod +@COND_i386_multiboot_TRUE@am__append_3229 = search_label.marker +@COND_i386_ieee1275_TRUE@am__append_3230 = search_label.module +@COND_i386_ieee1275_TRUE@am__append_3231 = search_label.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3232 = +@COND_i386_ieee1275_TRUE@am__append_3233 = $(nodist_search_label_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3234 = $(nodist_search_label_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ search_label.marker +@COND_i386_ieee1275_TRUE@am__append_3235 = search_label.mod +@COND_i386_ieee1275_TRUE@am__append_3236 = search_label.marker +@COND_x86_64_efi_TRUE@am__append_3237 = search_label.module +@COND_x86_64_efi_TRUE@am__append_3238 = search_label.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3239 = +@COND_x86_64_efi_TRUE@am__append_3240 = $(nodist_search_label_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3241 = \ +@COND_x86_64_efi_TRUE@ $(nodist_search_label_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ search_label.marker +@COND_x86_64_efi_TRUE@am__append_3242 = search_label.mod +@COND_x86_64_efi_TRUE@am__append_3243 = search_label.marker +@COND_mips_yeeloong_TRUE@am__append_3244 = search_label.module +@COND_mips_yeeloong_TRUE@am__append_3245 = search_label.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3246 = +@COND_mips_yeeloong_TRUE@am__append_3247 = $(nodist_search_label_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3248 = $(nodist_search_label_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ search_label.marker +@COND_mips_yeeloong_TRUE@am__append_3249 = search_label.mod +@COND_mips_yeeloong_TRUE@am__append_3250 = search_label.marker +@COND_sparc64_ieee1275_TRUE@am__append_3251 = search_label.module +@COND_sparc64_ieee1275_TRUE@am__append_3252 = search_label.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3253 = +@COND_sparc64_ieee1275_TRUE@am__append_3254 = $(nodist_search_label_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3255 = $(nodist_search_label_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ search_label.marker +@COND_sparc64_ieee1275_TRUE@am__append_3256 = search_label.mod +@COND_sparc64_ieee1275_TRUE@am__append_3257 = search_label.marker +@COND_powerpc_ieee1275_TRUE@am__append_3258 = search_label.module +@COND_powerpc_ieee1275_TRUE@am__append_3259 = search_label.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3260 = +@COND_powerpc_ieee1275_TRUE@am__append_3261 = $(nodist_search_label_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3262 = $(nodist_search_label_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ search_label.marker +@COND_powerpc_ieee1275_TRUE@am__append_3263 = search_label.mod +@COND_powerpc_ieee1275_TRUE@am__append_3264 = search_label.marker +@COND_i386_pc_TRUE@am__append_3265 = setpci.module +@COND_i386_pc_TRUE@am__append_3266 = setpci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3267 = +@COND_i386_pc_TRUE@am__append_3268 = $(nodist_setpci_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3269 = $(nodist_setpci_module_SOURCES) \ +@COND_i386_pc_TRUE@ setpci.marker +@COND_i386_pc_TRUE@am__append_3270 = setpci.mod +@COND_i386_pc_TRUE@am__append_3271 = setpci.marker +@COND_i386_efi_TRUE@am__append_3272 = setpci.module +@COND_i386_efi_TRUE@am__append_3273 = setpci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3274 = +@COND_i386_efi_TRUE@am__append_3275 = $(nodist_setpci_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3276 = $(nodist_setpci_module_SOURCES) \ +@COND_i386_efi_TRUE@ setpci.marker +@COND_i386_efi_TRUE@am__append_3277 = setpci.mod +@COND_i386_efi_TRUE@am__append_3278 = setpci.marker +@COND_i386_qemu_TRUE@am__append_3279 = setpci.module +@COND_i386_qemu_TRUE@am__append_3280 = setpci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3281 = +@COND_i386_qemu_TRUE@am__append_3282 = $(nodist_setpci_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3283 = \ +@COND_i386_qemu_TRUE@ $(nodist_setpci_module_SOURCES) \ +@COND_i386_qemu_TRUE@ setpci.marker +@COND_i386_qemu_TRUE@am__append_3284 = setpci.mod +@COND_i386_qemu_TRUE@am__append_3285 = setpci.marker +@COND_i386_coreboot_TRUE@am__append_3286 = setpci.module +@COND_i386_coreboot_TRUE@am__append_3287 = setpci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3288 = +@COND_i386_coreboot_TRUE@am__append_3289 = $(nodist_setpci_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3290 = \ +@COND_i386_coreboot_TRUE@ $(nodist_setpci_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ setpci.marker +@COND_i386_coreboot_TRUE@am__append_3291 = setpci.mod +@COND_i386_coreboot_TRUE@am__append_3292 = setpci.marker +@COND_i386_multiboot_TRUE@am__append_3293 = setpci.module +@COND_i386_multiboot_TRUE@am__append_3294 = setpci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3295 = +@COND_i386_multiboot_TRUE@am__append_3296 = $(nodist_setpci_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3297 = \ +@COND_i386_multiboot_TRUE@ $(nodist_setpci_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ setpci.marker +@COND_i386_multiboot_TRUE@am__append_3298 = setpci.mod +@COND_i386_multiboot_TRUE@am__append_3299 = setpci.marker +@COND_i386_ieee1275_TRUE@am__append_3300 = setpci.module +@COND_i386_ieee1275_TRUE@am__append_3301 = setpci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3302 = +@COND_i386_ieee1275_TRUE@am__append_3303 = $(nodist_setpci_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3304 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_setpci_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ setpci.marker +@COND_i386_ieee1275_TRUE@am__append_3305 = setpci.mod +@COND_i386_ieee1275_TRUE@am__append_3306 = setpci.marker +@COND_x86_64_efi_TRUE@am__append_3307 = setpci.module +@COND_x86_64_efi_TRUE@am__append_3308 = setpci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3309 = +@COND_x86_64_efi_TRUE@am__append_3310 = $(nodist_setpci_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3311 = \ +@COND_x86_64_efi_TRUE@ $(nodist_setpci_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ setpci.marker +@COND_x86_64_efi_TRUE@am__append_3312 = setpci.mod +@COND_x86_64_efi_TRUE@am__append_3313 = setpci.marker +@COND_emu_TRUE@am__append_3314 = sleep.module +@COND_emu_TRUE@am__append_3315 = sleep.module$(EXEEXT) +@COND_emu_TRUE@am__append_3316 = +@COND_emu_TRUE@am__append_3317 = $(nodist_sleep_module_SOURCES) +@COND_emu_TRUE@am__append_3318 = $(nodist_sleep_module_SOURCES) \ +@COND_emu_TRUE@ sleep.marker +@COND_emu_TRUE@am__append_3319 = sleep.mod +@COND_emu_TRUE@am__append_3320 = sleep.marker +@COND_i386_pc_TRUE@am__append_3321 = sleep.module +@COND_i386_pc_TRUE@am__append_3322 = sleep.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3323 = +@COND_i386_pc_TRUE@am__append_3324 = $(nodist_sleep_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3325 = $(nodist_sleep_module_SOURCES) \ +@COND_i386_pc_TRUE@ sleep.marker +@COND_i386_pc_TRUE@am__append_3326 = sleep.mod +@COND_i386_pc_TRUE@am__append_3327 = sleep.marker +@COND_i386_efi_TRUE@am__append_3328 = sleep.module +@COND_i386_efi_TRUE@am__append_3329 = sleep.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3330 = +@COND_i386_efi_TRUE@am__append_3331 = $(nodist_sleep_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3332 = $(nodist_sleep_module_SOURCES) \ +@COND_i386_efi_TRUE@ sleep.marker +@COND_i386_efi_TRUE@am__append_3333 = sleep.mod +@COND_i386_efi_TRUE@am__append_3334 = sleep.marker +@COND_i386_qemu_TRUE@am__append_3335 = sleep.module +@COND_i386_qemu_TRUE@am__append_3336 = sleep.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3337 = +@COND_i386_qemu_TRUE@am__append_3338 = $(nodist_sleep_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3339 = $(nodist_sleep_module_SOURCES) \ +@COND_i386_qemu_TRUE@ sleep.marker +@COND_i386_qemu_TRUE@am__append_3340 = sleep.mod +@COND_i386_qemu_TRUE@am__append_3341 = sleep.marker +@COND_i386_coreboot_TRUE@am__append_3342 = sleep.module +@COND_i386_coreboot_TRUE@am__append_3343 = sleep.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3344 = +@COND_i386_coreboot_TRUE@am__append_3345 = $(nodist_sleep_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3346 = \ +@COND_i386_coreboot_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ sleep.marker +@COND_i386_coreboot_TRUE@am__append_3347 = sleep.mod +@COND_i386_coreboot_TRUE@am__append_3348 = sleep.marker +@COND_i386_multiboot_TRUE@am__append_3349 = sleep.module +@COND_i386_multiboot_TRUE@am__append_3350 = sleep.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3351 = +@COND_i386_multiboot_TRUE@am__append_3352 = $(nodist_sleep_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3353 = \ +@COND_i386_multiboot_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ sleep.marker +@COND_i386_multiboot_TRUE@am__append_3354 = sleep.mod +@COND_i386_multiboot_TRUE@am__append_3355 = sleep.marker +@COND_i386_ieee1275_TRUE@am__append_3356 = sleep.module +@COND_i386_ieee1275_TRUE@am__append_3357 = sleep.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3358 = +@COND_i386_ieee1275_TRUE@am__append_3359 = $(nodist_sleep_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3360 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ sleep.marker +@COND_i386_ieee1275_TRUE@am__append_3361 = sleep.mod +@COND_i386_ieee1275_TRUE@am__append_3362 = sleep.marker +@COND_x86_64_efi_TRUE@am__append_3363 = sleep.module +@COND_x86_64_efi_TRUE@am__append_3364 = sleep.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3365 = +@COND_x86_64_efi_TRUE@am__append_3366 = $(nodist_sleep_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3367 = \ +@COND_x86_64_efi_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ sleep.marker +@COND_x86_64_efi_TRUE@am__append_3368 = sleep.mod +@COND_x86_64_efi_TRUE@am__append_3369 = sleep.marker +@COND_mips_yeeloong_TRUE@am__append_3370 = sleep.module +@COND_mips_yeeloong_TRUE@am__append_3371 = sleep.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3372 = +@COND_mips_yeeloong_TRUE@am__append_3373 = $(nodist_sleep_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3374 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ sleep.marker +@COND_mips_yeeloong_TRUE@am__append_3375 = sleep.mod +@COND_mips_yeeloong_TRUE@am__append_3376 = sleep.marker +@COND_sparc64_ieee1275_TRUE@am__append_3377 = sleep.module +@COND_sparc64_ieee1275_TRUE@am__append_3378 = sleep.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3379 = +@COND_sparc64_ieee1275_TRUE@am__append_3380 = $(nodist_sleep_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3381 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ sleep.marker +@COND_sparc64_ieee1275_TRUE@am__append_3382 = sleep.mod +@COND_sparc64_ieee1275_TRUE@am__append_3383 = sleep.marker +@COND_powerpc_ieee1275_TRUE@am__append_3384 = sleep.module +@COND_powerpc_ieee1275_TRUE@am__append_3385 = sleep.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3386 = +@COND_powerpc_ieee1275_TRUE@am__append_3387 = $(nodist_sleep_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3388 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_sleep_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ sleep.marker +@COND_powerpc_ieee1275_TRUE@am__append_3389 = sleep.mod +@COND_powerpc_ieee1275_TRUE@am__append_3390 = sleep.marker +@COND_i386_ieee1275_TRUE@am__append_3391 = suspend.module +@COND_i386_ieee1275_TRUE@am__append_3392 = suspend.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3393 = +@COND_i386_ieee1275_TRUE@am__append_3394 = $(nodist_suspend_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3395 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_suspend_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ suspend.marker +@COND_i386_ieee1275_TRUE@am__append_3396 = suspend.mod +@COND_i386_ieee1275_TRUE@am__append_3397 = suspend.marker +@COND_powerpc_ieee1275_TRUE@am__append_3398 = suspend.module +@COND_powerpc_ieee1275_TRUE@am__append_3399 = suspend.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3400 = +@COND_powerpc_ieee1275_TRUE@am__append_3401 = $(nodist_suspend_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3402 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_suspend_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ suspend.marker +@COND_powerpc_ieee1275_TRUE@am__append_3403 = suspend.mod +@COND_powerpc_ieee1275_TRUE@am__append_3404 = suspend.marker +@COND_emu_TRUE@am__append_3405 = terminal.module +@COND_emu_TRUE@am__append_3406 = terminal.module$(EXEEXT) +@COND_emu_TRUE@am__append_3407 = +@COND_emu_TRUE@am__append_3408 = $(nodist_terminal_module_SOURCES) +@COND_emu_TRUE@am__append_3409 = $(nodist_terminal_module_SOURCES) \ +@COND_emu_TRUE@ terminal.marker +@COND_emu_TRUE@am__append_3410 = terminal.mod +@COND_emu_TRUE@am__append_3411 = terminal.marker +@COND_i386_pc_TRUE@am__append_3412 = terminal.module +@COND_i386_pc_TRUE@am__append_3413 = terminal.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3414 = +@COND_i386_pc_TRUE@am__append_3415 = $(nodist_terminal_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3416 = \ +@COND_i386_pc_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_i386_pc_TRUE@ terminal.marker +@COND_i386_pc_TRUE@am__append_3417 = terminal.mod +@COND_i386_pc_TRUE@am__append_3418 = terminal.marker +@COND_i386_efi_TRUE@am__append_3419 = terminal.module +@COND_i386_efi_TRUE@am__append_3420 = terminal.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3421 = +@COND_i386_efi_TRUE@am__append_3422 = $(nodist_terminal_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3423 = \ +@COND_i386_efi_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_i386_efi_TRUE@ terminal.marker +@COND_i386_efi_TRUE@am__append_3424 = terminal.mod +@COND_i386_efi_TRUE@am__append_3425 = terminal.marker +@COND_i386_qemu_TRUE@am__append_3426 = terminal.module +@COND_i386_qemu_TRUE@am__append_3427 = terminal.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3428 = +@COND_i386_qemu_TRUE@am__append_3429 = $(nodist_terminal_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3430 = \ +@COND_i386_qemu_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_i386_qemu_TRUE@ terminal.marker +@COND_i386_qemu_TRUE@am__append_3431 = terminal.mod +@COND_i386_qemu_TRUE@am__append_3432 = terminal.marker +@COND_i386_coreboot_TRUE@am__append_3433 = terminal.module +@COND_i386_coreboot_TRUE@am__append_3434 = terminal.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3435 = +@COND_i386_coreboot_TRUE@am__append_3436 = $(nodist_terminal_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3437 = \ +@COND_i386_coreboot_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ terminal.marker +@COND_i386_coreboot_TRUE@am__append_3438 = terminal.mod +@COND_i386_coreboot_TRUE@am__append_3439 = terminal.marker +@COND_i386_multiboot_TRUE@am__append_3440 = terminal.module +@COND_i386_multiboot_TRUE@am__append_3441 = terminal.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3442 = +@COND_i386_multiboot_TRUE@am__append_3443 = $(nodist_terminal_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3444 = \ +@COND_i386_multiboot_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ terminal.marker +@COND_i386_multiboot_TRUE@am__append_3445 = terminal.mod +@COND_i386_multiboot_TRUE@am__append_3446 = terminal.marker +@COND_i386_ieee1275_TRUE@am__append_3447 = terminal.module +@COND_i386_ieee1275_TRUE@am__append_3448 = terminal.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3449 = +@COND_i386_ieee1275_TRUE@am__append_3450 = $(nodist_terminal_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3451 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ terminal.marker +@COND_i386_ieee1275_TRUE@am__append_3452 = terminal.mod +@COND_i386_ieee1275_TRUE@am__append_3453 = terminal.marker +@COND_x86_64_efi_TRUE@am__append_3454 = terminal.module +@COND_x86_64_efi_TRUE@am__append_3455 = terminal.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3456 = +@COND_x86_64_efi_TRUE@am__append_3457 = $(nodist_terminal_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3458 = \ +@COND_x86_64_efi_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ terminal.marker +@COND_x86_64_efi_TRUE@am__append_3459 = terminal.mod +@COND_x86_64_efi_TRUE@am__append_3460 = terminal.marker +@COND_mips_yeeloong_TRUE@am__append_3461 = terminal.module +@COND_mips_yeeloong_TRUE@am__append_3462 = terminal.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3463 = +@COND_mips_yeeloong_TRUE@am__append_3464 = $(nodist_terminal_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3465 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ terminal.marker +@COND_mips_yeeloong_TRUE@am__append_3466 = terminal.mod +@COND_mips_yeeloong_TRUE@am__append_3467 = terminal.marker +@COND_sparc64_ieee1275_TRUE@am__append_3468 = terminal.module +@COND_sparc64_ieee1275_TRUE@am__append_3469 = terminal.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3470 = +@COND_sparc64_ieee1275_TRUE@am__append_3471 = $(nodist_terminal_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3472 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ terminal.marker +@COND_sparc64_ieee1275_TRUE@am__append_3473 = terminal.mod +@COND_sparc64_ieee1275_TRUE@am__append_3474 = terminal.marker +@COND_powerpc_ieee1275_TRUE@am__append_3475 = terminal.module +@COND_powerpc_ieee1275_TRUE@am__append_3476 = terminal.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3477 = +@COND_powerpc_ieee1275_TRUE@am__append_3478 = $(nodist_terminal_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3479 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_terminal_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ terminal.marker +@COND_powerpc_ieee1275_TRUE@am__append_3480 = terminal.mod +@COND_powerpc_ieee1275_TRUE@am__append_3481 = terminal.marker +@COND_emu_TRUE@am__append_3482 = test.module +@COND_emu_TRUE@am__append_3483 = test.module$(EXEEXT) +@COND_emu_TRUE@am__append_3484 = +@COND_emu_TRUE@am__append_3485 = $(nodist_test_module_SOURCES) +@COND_emu_TRUE@am__append_3486 = $(nodist_test_module_SOURCES) \ +@COND_emu_TRUE@ test.marker +@COND_emu_TRUE@am__append_3487 = test.mod +@COND_emu_TRUE@am__append_3488 = test.marker +@COND_i386_pc_TRUE@am__append_3489 = test.module +@COND_i386_pc_TRUE@am__append_3490 = test.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3491 = +@COND_i386_pc_TRUE@am__append_3492 = $(nodist_test_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3493 = $(nodist_test_module_SOURCES) \ +@COND_i386_pc_TRUE@ test.marker +@COND_i386_pc_TRUE@am__append_3494 = test.mod +@COND_i386_pc_TRUE@am__append_3495 = test.marker +@COND_i386_efi_TRUE@am__append_3496 = test.module +@COND_i386_efi_TRUE@am__append_3497 = test.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3498 = +@COND_i386_efi_TRUE@am__append_3499 = $(nodist_test_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3500 = $(nodist_test_module_SOURCES) \ +@COND_i386_efi_TRUE@ test.marker +@COND_i386_efi_TRUE@am__append_3501 = test.mod +@COND_i386_efi_TRUE@am__append_3502 = test.marker +@COND_i386_qemu_TRUE@am__append_3503 = test.module +@COND_i386_qemu_TRUE@am__append_3504 = test.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3505 = +@COND_i386_qemu_TRUE@am__append_3506 = $(nodist_test_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3507 = $(nodist_test_module_SOURCES) \ +@COND_i386_qemu_TRUE@ test.marker +@COND_i386_qemu_TRUE@am__append_3508 = test.mod +@COND_i386_qemu_TRUE@am__append_3509 = test.marker +@COND_i386_coreboot_TRUE@am__append_3510 = test.module +@COND_i386_coreboot_TRUE@am__append_3511 = test.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3512 = +@COND_i386_coreboot_TRUE@am__append_3513 = $(nodist_test_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3514 = \ +@COND_i386_coreboot_TRUE@ $(nodist_test_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ test.marker +@COND_i386_coreboot_TRUE@am__append_3515 = test.mod +@COND_i386_coreboot_TRUE@am__append_3516 = test.marker +@COND_i386_multiboot_TRUE@am__append_3517 = test.module +@COND_i386_multiboot_TRUE@am__append_3518 = test.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3519 = +@COND_i386_multiboot_TRUE@am__append_3520 = $(nodist_test_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3521 = \ +@COND_i386_multiboot_TRUE@ $(nodist_test_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ test.marker +@COND_i386_multiboot_TRUE@am__append_3522 = test.mod +@COND_i386_multiboot_TRUE@am__append_3523 = test.marker +@COND_i386_ieee1275_TRUE@am__append_3524 = test.module +@COND_i386_ieee1275_TRUE@am__append_3525 = test.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3526 = +@COND_i386_ieee1275_TRUE@am__append_3527 = $(nodist_test_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3528 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_test_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ test.marker +@COND_i386_ieee1275_TRUE@am__append_3529 = test.mod +@COND_i386_ieee1275_TRUE@am__append_3530 = test.marker +@COND_x86_64_efi_TRUE@am__append_3531 = test.module +@COND_x86_64_efi_TRUE@am__append_3532 = test.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3533 = +@COND_x86_64_efi_TRUE@am__append_3534 = $(nodist_test_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3535 = $(nodist_test_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ test.marker +@COND_x86_64_efi_TRUE@am__append_3536 = test.mod +@COND_x86_64_efi_TRUE@am__append_3537 = test.marker +@COND_mips_yeeloong_TRUE@am__append_3538 = test.module +@COND_mips_yeeloong_TRUE@am__append_3539 = test.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3540 = +@COND_mips_yeeloong_TRUE@am__append_3541 = $(nodist_test_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3542 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_test_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ test.marker +@COND_mips_yeeloong_TRUE@am__append_3543 = test.mod +@COND_mips_yeeloong_TRUE@am__append_3544 = test.marker +@COND_sparc64_ieee1275_TRUE@am__append_3545 = test.module +@COND_sparc64_ieee1275_TRUE@am__append_3546 = test.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3547 = +@COND_sparc64_ieee1275_TRUE@am__append_3548 = $(nodist_test_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3549 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_test_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ test.marker +@COND_sparc64_ieee1275_TRUE@am__append_3550 = test.mod +@COND_sparc64_ieee1275_TRUE@am__append_3551 = test.marker +@COND_powerpc_ieee1275_TRUE@am__append_3552 = test.module +@COND_powerpc_ieee1275_TRUE@am__append_3553 = test.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3554 = +@COND_powerpc_ieee1275_TRUE@am__append_3555 = $(nodist_test_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3556 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_test_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ test.marker +@COND_powerpc_ieee1275_TRUE@am__append_3557 = test.mod +@COND_powerpc_ieee1275_TRUE@am__append_3558 = test.marker +@COND_emu_TRUE@am__append_3559 = true.module +@COND_emu_TRUE@am__append_3560 = true.module$(EXEEXT) +@COND_emu_TRUE@am__append_3561 = +@COND_emu_TRUE@am__append_3562 = $(nodist_true_module_SOURCES) +@COND_emu_TRUE@am__append_3563 = $(nodist_true_module_SOURCES) \ +@COND_emu_TRUE@ true.marker +@COND_emu_TRUE@am__append_3564 = true.mod +@COND_emu_TRUE@am__append_3565 = true.marker +@COND_i386_pc_TRUE@am__append_3566 = true.module +@COND_i386_pc_TRUE@am__append_3567 = true.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3568 = +@COND_i386_pc_TRUE@am__append_3569 = $(nodist_true_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3570 = $(nodist_true_module_SOURCES) \ +@COND_i386_pc_TRUE@ true.marker +@COND_i386_pc_TRUE@am__append_3571 = true.mod +@COND_i386_pc_TRUE@am__append_3572 = true.marker +@COND_i386_efi_TRUE@am__append_3573 = true.module +@COND_i386_efi_TRUE@am__append_3574 = true.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3575 = +@COND_i386_efi_TRUE@am__append_3576 = $(nodist_true_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3577 = $(nodist_true_module_SOURCES) \ +@COND_i386_efi_TRUE@ true.marker +@COND_i386_efi_TRUE@am__append_3578 = true.mod +@COND_i386_efi_TRUE@am__append_3579 = true.marker +@COND_i386_qemu_TRUE@am__append_3580 = true.module +@COND_i386_qemu_TRUE@am__append_3581 = true.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3582 = +@COND_i386_qemu_TRUE@am__append_3583 = $(nodist_true_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3584 = $(nodist_true_module_SOURCES) \ +@COND_i386_qemu_TRUE@ true.marker +@COND_i386_qemu_TRUE@am__append_3585 = true.mod +@COND_i386_qemu_TRUE@am__append_3586 = true.marker +@COND_i386_coreboot_TRUE@am__append_3587 = true.module +@COND_i386_coreboot_TRUE@am__append_3588 = true.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3589 = +@COND_i386_coreboot_TRUE@am__append_3590 = $(nodist_true_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3591 = \ +@COND_i386_coreboot_TRUE@ $(nodist_true_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ true.marker +@COND_i386_coreboot_TRUE@am__append_3592 = true.mod +@COND_i386_coreboot_TRUE@am__append_3593 = true.marker +@COND_i386_multiboot_TRUE@am__append_3594 = true.module +@COND_i386_multiboot_TRUE@am__append_3595 = true.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3596 = +@COND_i386_multiboot_TRUE@am__append_3597 = $(nodist_true_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3598 = \ +@COND_i386_multiboot_TRUE@ $(nodist_true_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ true.marker +@COND_i386_multiboot_TRUE@am__append_3599 = true.mod +@COND_i386_multiboot_TRUE@am__append_3600 = true.marker +@COND_i386_ieee1275_TRUE@am__append_3601 = true.module +@COND_i386_ieee1275_TRUE@am__append_3602 = true.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3603 = +@COND_i386_ieee1275_TRUE@am__append_3604 = $(nodist_true_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3605 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_true_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ true.marker +@COND_i386_ieee1275_TRUE@am__append_3606 = true.mod +@COND_i386_ieee1275_TRUE@am__append_3607 = true.marker +@COND_x86_64_efi_TRUE@am__append_3608 = true.module +@COND_x86_64_efi_TRUE@am__append_3609 = true.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3610 = +@COND_x86_64_efi_TRUE@am__append_3611 = $(nodist_true_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3612 = $(nodist_true_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ true.marker +@COND_x86_64_efi_TRUE@am__append_3613 = true.mod +@COND_x86_64_efi_TRUE@am__append_3614 = true.marker +@COND_mips_yeeloong_TRUE@am__append_3615 = true.module +@COND_mips_yeeloong_TRUE@am__append_3616 = true.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3617 = +@COND_mips_yeeloong_TRUE@am__append_3618 = $(nodist_true_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3619 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_true_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ true.marker +@COND_mips_yeeloong_TRUE@am__append_3620 = true.mod +@COND_mips_yeeloong_TRUE@am__append_3621 = true.marker +@COND_sparc64_ieee1275_TRUE@am__append_3622 = true.module +@COND_sparc64_ieee1275_TRUE@am__append_3623 = true.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3624 = +@COND_sparc64_ieee1275_TRUE@am__append_3625 = $(nodist_true_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3626 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_true_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ true.marker +@COND_sparc64_ieee1275_TRUE@am__append_3627 = true.mod +@COND_sparc64_ieee1275_TRUE@am__append_3628 = true.marker +@COND_powerpc_ieee1275_TRUE@am__append_3629 = true.module +@COND_powerpc_ieee1275_TRUE@am__append_3630 = true.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3631 = +@COND_powerpc_ieee1275_TRUE@am__append_3632 = $(nodist_true_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3633 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_true_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ true.marker +@COND_powerpc_ieee1275_TRUE@am__append_3634 = true.mod +@COND_powerpc_ieee1275_TRUE@am__append_3635 = true.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3636 = usbtest.module +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3637 = usbtest.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3638 = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3639 = $(nodist_usbtest_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3640 = $(nodist_usbtest_module_SOURCES) \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ usbtest.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3641 = usbtest.mod +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_3642 = usbtest.marker +@COND_i386_pc_TRUE@am__append_3643 = usbtest.module +@COND_i386_pc_TRUE@am__append_3644 = usbtest.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3645 = +@COND_i386_pc_TRUE@am__append_3646 = $(nodist_usbtest_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3647 = $(nodist_usbtest_module_SOURCES) \ +@COND_i386_pc_TRUE@ usbtest.marker +@COND_i386_pc_TRUE@am__append_3648 = usbtest.mod +@COND_i386_pc_TRUE@am__append_3649 = usbtest.marker +@COND_i386_efi_TRUE@am__append_3650 = usbtest.module +@COND_i386_efi_TRUE@am__append_3651 = usbtest.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3652 = +@COND_i386_efi_TRUE@am__append_3653 = $(nodist_usbtest_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3654 = \ +@COND_i386_efi_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_i386_efi_TRUE@ usbtest.marker +@COND_i386_efi_TRUE@am__append_3655 = usbtest.mod +@COND_i386_efi_TRUE@am__append_3656 = usbtest.marker +@COND_i386_qemu_TRUE@am__append_3657 = usbtest.module +@COND_i386_qemu_TRUE@am__append_3658 = usbtest.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3659 = +@COND_i386_qemu_TRUE@am__append_3660 = $(nodist_usbtest_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3661 = \ +@COND_i386_qemu_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usbtest.marker +@COND_i386_qemu_TRUE@am__append_3662 = usbtest.mod +@COND_i386_qemu_TRUE@am__append_3663 = usbtest.marker +@COND_i386_coreboot_TRUE@am__append_3664 = usbtest.module +@COND_i386_coreboot_TRUE@am__append_3665 = usbtest.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3666 = +@COND_i386_coreboot_TRUE@am__append_3667 = $(nodist_usbtest_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3668 = \ +@COND_i386_coreboot_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usbtest.marker +@COND_i386_coreboot_TRUE@am__append_3669 = usbtest.mod +@COND_i386_coreboot_TRUE@am__append_3670 = usbtest.marker +@COND_i386_multiboot_TRUE@am__append_3671 = usbtest.module +@COND_i386_multiboot_TRUE@am__append_3672 = usbtest.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3673 = +@COND_i386_multiboot_TRUE@am__append_3674 = $(nodist_usbtest_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3675 = \ +@COND_i386_multiboot_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usbtest.marker +@COND_i386_multiboot_TRUE@am__append_3676 = usbtest.mod +@COND_i386_multiboot_TRUE@am__append_3677 = usbtest.marker +@COND_i386_ieee1275_TRUE@am__append_3678 = usbtest.module +@COND_i386_ieee1275_TRUE@am__append_3679 = usbtest.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3680 = +@COND_i386_ieee1275_TRUE@am__append_3681 = $(nodist_usbtest_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3682 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usbtest.marker +@COND_i386_ieee1275_TRUE@am__append_3683 = usbtest.mod +@COND_i386_ieee1275_TRUE@am__append_3684 = usbtest.marker +@COND_x86_64_efi_TRUE@am__append_3685 = usbtest.module +@COND_x86_64_efi_TRUE@am__append_3686 = usbtest.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3687 = +@COND_x86_64_efi_TRUE@am__append_3688 = $(nodist_usbtest_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3689 = \ +@COND_x86_64_efi_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usbtest.marker +@COND_x86_64_efi_TRUE@am__append_3690 = usbtest.mod +@COND_x86_64_efi_TRUE@am__append_3691 = usbtest.marker +@COND_mips_yeeloong_TRUE@am__append_3692 = usbtest.module +@COND_mips_yeeloong_TRUE@am__append_3693 = usbtest.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3694 = +@COND_mips_yeeloong_TRUE@am__append_3695 = $(nodist_usbtest_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3696 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_usbtest_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usbtest.marker +@COND_mips_yeeloong_TRUE@am__append_3697 = usbtest.mod +@COND_mips_yeeloong_TRUE@am__append_3698 = usbtest.marker +@COND_emu_TRUE@am__append_3699 = videoinfo.module +@COND_emu_TRUE@am__append_3700 = videoinfo.module$(EXEEXT) +@COND_emu_TRUE@am__append_3701 = +@COND_emu_TRUE@am__append_3702 = $(nodist_videoinfo_module_SOURCES) +@COND_emu_TRUE@am__append_3703 = $(nodist_videoinfo_module_SOURCES) \ +@COND_emu_TRUE@ videoinfo.marker +@COND_emu_TRUE@am__append_3704 = videoinfo.mod +@COND_emu_TRUE@am__append_3705 = videoinfo.marker +@COND_i386_pc_TRUE@am__append_3706 = videoinfo.module +@COND_i386_pc_TRUE@am__append_3707 = videoinfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3708 = +@COND_i386_pc_TRUE@am__append_3709 = $(nodist_videoinfo_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3710 = \ +@COND_i386_pc_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_i386_pc_TRUE@ videoinfo.marker +@COND_i386_pc_TRUE@am__append_3711 = videoinfo.mod +@COND_i386_pc_TRUE@am__append_3712 = videoinfo.marker +@COND_i386_efi_TRUE@am__append_3713 = videoinfo.module +@COND_i386_efi_TRUE@am__append_3714 = videoinfo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3715 = +@COND_i386_efi_TRUE@am__append_3716 = $(nodist_videoinfo_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3717 = \ +@COND_i386_efi_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_i386_efi_TRUE@ videoinfo.marker +@COND_i386_efi_TRUE@am__append_3718 = videoinfo.mod +@COND_i386_efi_TRUE@am__append_3719 = videoinfo.marker +@COND_i386_qemu_TRUE@am__append_3720 = videoinfo.module +@COND_i386_qemu_TRUE@am__append_3721 = videoinfo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3722 = +@COND_i386_qemu_TRUE@am__append_3723 = $(nodist_videoinfo_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3724 = \ +@COND_i386_qemu_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_i386_qemu_TRUE@ videoinfo.marker +@COND_i386_qemu_TRUE@am__append_3725 = videoinfo.mod +@COND_i386_qemu_TRUE@am__append_3726 = videoinfo.marker +@COND_i386_coreboot_TRUE@am__append_3727 = videoinfo.module +@COND_i386_coreboot_TRUE@am__append_3728 = videoinfo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3729 = +@COND_i386_coreboot_TRUE@am__append_3730 = $(nodist_videoinfo_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3731 = \ +@COND_i386_coreboot_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ videoinfo.marker +@COND_i386_coreboot_TRUE@am__append_3732 = videoinfo.mod +@COND_i386_coreboot_TRUE@am__append_3733 = videoinfo.marker +@COND_i386_multiboot_TRUE@am__append_3734 = videoinfo.module +@COND_i386_multiboot_TRUE@am__append_3735 = videoinfo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3736 = +@COND_i386_multiboot_TRUE@am__append_3737 = $(nodist_videoinfo_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3738 = \ +@COND_i386_multiboot_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ videoinfo.marker +@COND_i386_multiboot_TRUE@am__append_3739 = videoinfo.mod +@COND_i386_multiboot_TRUE@am__append_3740 = videoinfo.marker +@COND_i386_ieee1275_TRUE@am__append_3741 = videoinfo.module +@COND_i386_ieee1275_TRUE@am__append_3742 = videoinfo.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3743 = +@COND_i386_ieee1275_TRUE@am__append_3744 = $(nodist_videoinfo_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3745 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ videoinfo.marker +@COND_i386_ieee1275_TRUE@am__append_3746 = videoinfo.mod +@COND_i386_ieee1275_TRUE@am__append_3747 = videoinfo.marker +@COND_x86_64_efi_TRUE@am__append_3748 = videoinfo.module +@COND_x86_64_efi_TRUE@am__append_3749 = videoinfo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3750 = +@COND_x86_64_efi_TRUE@am__append_3751 = $(nodist_videoinfo_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3752 = \ +@COND_x86_64_efi_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ videoinfo.marker +@COND_x86_64_efi_TRUE@am__append_3753 = videoinfo.mod +@COND_x86_64_efi_TRUE@am__append_3754 = videoinfo.marker +@COND_mips_yeeloong_TRUE@am__append_3755 = videoinfo.module +@COND_mips_yeeloong_TRUE@am__append_3756 = videoinfo.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3757 = +@COND_mips_yeeloong_TRUE@am__append_3758 = $(nodist_videoinfo_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3759 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_videoinfo_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ videoinfo.marker +@COND_mips_yeeloong_TRUE@am__append_3760 = videoinfo.mod +@COND_mips_yeeloong_TRUE@am__append_3761 = videoinfo.marker +@COND_sparc64_ieee1275_TRUE@am__append_3762 = videoinfo.module +@COND_sparc64_ieee1275_TRUE@am__append_3763 = videoinfo.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3764 = +@COND_sparc64_ieee1275_TRUE@am__append_3765 = $(nodist_videoinfo_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3766 = $(nodist_videoinfo_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ videoinfo.marker +@COND_sparc64_ieee1275_TRUE@am__append_3767 = videoinfo.mod +@COND_sparc64_ieee1275_TRUE@am__append_3768 = videoinfo.marker +@COND_powerpc_ieee1275_TRUE@am__append_3769 = videoinfo.module +@COND_powerpc_ieee1275_TRUE@am__append_3770 = videoinfo.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3771 = +@COND_powerpc_ieee1275_TRUE@am__append_3772 = $(nodist_videoinfo_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3773 = $(nodist_videoinfo_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ videoinfo.marker +@COND_powerpc_ieee1275_TRUE@am__append_3774 = videoinfo.mod +@COND_powerpc_ieee1275_TRUE@am__append_3775 = videoinfo.marker +@COND_emu_TRUE@am__append_3776 = videotest.module +@COND_emu_TRUE@am__append_3777 = videotest.module$(EXEEXT) +@COND_emu_TRUE@am__append_3778 = +@COND_emu_TRUE@am__append_3779 = $(nodist_videotest_module_SOURCES) +@COND_emu_TRUE@am__append_3780 = $(nodist_videotest_module_SOURCES) \ +@COND_emu_TRUE@ videotest.marker +@COND_emu_TRUE@am__append_3781 = videotest.mod +@COND_emu_TRUE@am__append_3782 = videotest.marker +@COND_i386_pc_TRUE@am__append_3783 = videotest.module +@COND_i386_pc_TRUE@am__append_3784 = videotest.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3785 = +@COND_i386_pc_TRUE@am__append_3786 = $(nodist_videotest_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3787 = \ +@COND_i386_pc_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_i386_pc_TRUE@ videotest.marker +@COND_i386_pc_TRUE@am__append_3788 = videotest.mod +@COND_i386_pc_TRUE@am__append_3789 = videotest.marker +@COND_i386_efi_TRUE@am__append_3790 = videotest.module +@COND_i386_efi_TRUE@am__append_3791 = videotest.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3792 = +@COND_i386_efi_TRUE@am__append_3793 = $(nodist_videotest_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3794 = \ +@COND_i386_efi_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_i386_efi_TRUE@ videotest.marker +@COND_i386_efi_TRUE@am__append_3795 = videotest.mod +@COND_i386_efi_TRUE@am__append_3796 = videotest.marker +@COND_i386_qemu_TRUE@am__append_3797 = videotest.module +@COND_i386_qemu_TRUE@am__append_3798 = videotest.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3799 = +@COND_i386_qemu_TRUE@am__append_3800 = $(nodist_videotest_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3801 = \ +@COND_i386_qemu_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_i386_qemu_TRUE@ videotest.marker +@COND_i386_qemu_TRUE@am__append_3802 = videotest.mod +@COND_i386_qemu_TRUE@am__append_3803 = videotest.marker +@COND_i386_coreboot_TRUE@am__append_3804 = videotest.module +@COND_i386_coreboot_TRUE@am__append_3805 = videotest.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3806 = +@COND_i386_coreboot_TRUE@am__append_3807 = $(nodist_videotest_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3808 = \ +@COND_i386_coreboot_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ videotest.marker +@COND_i386_coreboot_TRUE@am__append_3809 = videotest.mod +@COND_i386_coreboot_TRUE@am__append_3810 = videotest.marker +@COND_i386_multiboot_TRUE@am__append_3811 = videotest.module +@COND_i386_multiboot_TRUE@am__append_3812 = videotest.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3813 = +@COND_i386_multiboot_TRUE@am__append_3814 = $(nodist_videotest_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3815 = \ +@COND_i386_multiboot_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ videotest.marker +@COND_i386_multiboot_TRUE@am__append_3816 = videotest.mod +@COND_i386_multiboot_TRUE@am__append_3817 = videotest.marker +@COND_i386_ieee1275_TRUE@am__append_3818 = videotest.module +@COND_i386_ieee1275_TRUE@am__append_3819 = videotest.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3820 = +@COND_i386_ieee1275_TRUE@am__append_3821 = $(nodist_videotest_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3822 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ videotest.marker +@COND_i386_ieee1275_TRUE@am__append_3823 = videotest.mod +@COND_i386_ieee1275_TRUE@am__append_3824 = videotest.marker +@COND_x86_64_efi_TRUE@am__append_3825 = videotest.module +@COND_x86_64_efi_TRUE@am__append_3826 = videotest.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3827 = +@COND_x86_64_efi_TRUE@am__append_3828 = $(nodist_videotest_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3829 = \ +@COND_x86_64_efi_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ videotest.marker +@COND_x86_64_efi_TRUE@am__append_3830 = videotest.mod +@COND_x86_64_efi_TRUE@am__append_3831 = videotest.marker +@COND_mips_yeeloong_TRUE@am__append_3832 = videotest.module +@COND_mips_yeeloong_TRUE@am__append_3833 = videotest.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3834 = +@COND_mips_yeeloong_TRUE@am__append_3835 = $(nodist_videotest_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3836 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_videotest_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ videotest.marker +@COND_mips_yeeloong_TRUE@am__append_3837 = videotest.mod +@COND_mips_yeeloong_TRUE@am__append_3838 = videotest.marker +@COND_sparc64_ieee1275_TRUE@am__append_3839 = videotest.module +@COND_sparc64_ieee1275_TRUE@am__append_3840 = videotest.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3841 = +@COND_sparc64_ieee1275_TRUE@am__append_3842 = $(nodist_videotest_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3843 = $(nodist_videotest_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ videotest.marker +@COND_sparc64_ieee1275_TRUE@am__append_3844 = videotest.mod +@COND_sparc64_ieee1275_TRUE@am__append_3845 = videotest.marker +@COND_powerpc_ieee1275_TRUE@am__append_3846 = videotest.module +@COND_powerpc_ieee1275_TRUE@am__append_3847 = videotest.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3848 = +@COND_powerpc_ieee1275_TRUE@am__append_3849 = $(nodist_videotest_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3850 = $(nodist_videotest_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ videotest.marker +@COND_powerpc_ieee1275_TRUE@am__append_3851 = videotest.mod +@COND_powerpc_ieee1275_TRUE@am__append_3852 = videotest.marker +@COND_emu_TRUE@am__append_3853 = xnu_uuid.module +@COND_emu_TRUE@am__append_3854 = xnu_uuid.module$(EXEEXT) +@COND_emu_TRUE@am__append_3855 = +@COND_emu_TRUE@am__append_3856 = $(nodist_xnu_uuid_module_SOURCES) +@COND_emu_TRUE@am__append_3857 = $(nodist_xnu_uuid_module_SOURCES) \ +@COND_emu_TRUE@ xnu_uuid.marker +@COND_emu_TRUE@am__append_3858 = xnu_uuid.mod +@COND_emu_TRUE@am__append_3859 = xnu_uuid.marker +@COND_i386_pc_TRUE@am__append_3860 = xnu_uuid.module +@COND_i386_pc_TRUE@am__append_3861 = xnu_uuid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3862 = +@COND_i386_pc_TRUE@am__append_3863 = $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3864 = \ +@COND_i386_pc_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_i386_pc_TRUE@ xnu_uuid.marker +@COND_i386_pc_TRUE@am__append_3865 = xnu_uuid.mod +@COND_i386_pc_TRUE@am__append_3866 = xnu_uuid.marker +@COND_i386_efi_TRUE@am__append_3867 = xnu_uuid.module +@COND_i386_efi_TRUE@am__append_3868 = xnu_uuid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3869 = +@COND_i386_efi_TRUE@am__append_3870 = $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3871 = \ +@COND_i386_efi_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_i386_efi_TRUE@ xnu_uuid.marker +@COND_i386_efi_TRUE@am__append_3872 = xnu_uuid.mod +@COND_i386_efi_TRUE@am__append_3873 = xnu_uuid.marker +@COND_i386_qemu_TRUE@am__append_3874 = xnu_uuid.module +@COND_i386_qemu_TRUE@am__append_3875 = xnu_uuid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3876 = +@COND_i386_qemu_TRUE@am__append_3877 = $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3878 = \ +@COND_i386_qemu_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_i386_qemu_TRUE@ xnu_uuid.marker +@COND_i386_qemu_TRUE@am__append_3879 = xnu_uuid.mod +@COND_i386_qemu_TRUE@am__append_3880 = xnu_uuid.marker +@COND_i386_coreboot_TRUE@am__append_3881 = xnu_uuid.module +@COND_i386_coreboot_TRUE@am__append_3882 = xnu_uuid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3883 = +@COND_i386_coreboot_TRUE@am__append_3884 = $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3885 = \ +@COND_i386_coreboot_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ xnu_uuid.marker +@COND_i386_coreboot_TRUE@am__append_3886 = xnu_uuid.mod +@COND_i386_coreboot_TRUE@am__append_3887 = xnu_uuid.marker +@COND_i386_multiboot_TRUE@am__append_3888 = xnu_uuid.module +@COND_i386_multiboot_TRUE@am__append_3889 = xnu_uuid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3890 = +@COND_i386_multiboot_TRUE@am__append_3891 = $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3892 = \ +@COND_i386_multiboot_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ xnu_uuid.marker +@COND_i386_multiboot_TRUE@am__append_3893 = xnu_uuid.mod +@COND_i386_multiboot_TRUE@am__append_3894 = xnu_uuid.marker +@COND_i386_ieee1275_TRUE@am__append_3895 = xnu_uuid.module +@COND_i386_ieee1275_TRUE@am__append_3896 = xnu_uuid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3897 = +@COND_i386_ieee1275_TRUE@am__append_3898 = $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3899 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ xnu_uuid.marker +@COND_i386_ieee1275_TRUE@am__append_3900 = xnu_uuid.mod +@COND_i386_ieee1275_TRUE@am__append_3901 = xnu_uuid.marker +@COND_x86_64_efi_TRUE@am__append_3902 = xnu_uuid.module +@COND_x86_64_efi_TRUE@am__append_3903 = xnu_uuid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3904 = +@COND_x86_64_efi_TRUE@am__append_3905 = $(nodist_xnu_uuid_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3906 = \ +@COND_x86_64_efi_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ xnu_uuid.marker +@COND_x86_64_efi_TRUE@am__append_3907 = xnu_uuid.mod +@COND_x86_64_efi_TRUE@am__append_3908 = xnu_uuid.marker +@COND_mips_yeeloong_TRUE@am__append_3909 = xnu_uuid.module +@COND_mips_yeeloong_TRUE@am__append_3910 = xnu_uuid.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3911 = +@COND_mips_yeeloong_TRUE@am__append_3912 = $(nodist_xnu_uuid_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3913 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ xnu_uuid.marker +@COND_mips_yeeloong_TRUE@am__append_3914 = xnu_uuid.mod +@COND_mips_yeeloong_TRUE@am__append_3915 = xnu_uuid.marker +@COND_sparc64_ieee1275_TRUE@am__append_3916 = xnu_uuid.module +@COND_sparc64_ieee1275_TRUE@am__append_3917 = xnu_uuid.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3918 = +@COND_sparc64_ieee1275_TRUE@am__append_3919 = $(nodist_xnu_uuid_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3920 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ xnu_uuid.marker +@COND_sparc64_ieee1275_TRUE@am__append_3921 = xnu_uuid.mod +@COND_sparc64_ieee1275_TRUE@am__append_3922 = xnu_uuid.marker +@COND_powerpc_ieee1275_TRUE@am__append_3923 = xnu_uuid.module +@COND_powerpc_ieee1275_TRUE@am__append_3924 = xnu_uuid.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_3925 = +@COND_powerpc_ieee1275_TRUE@am__append_3926 = $(nodist_xnu_uuid_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_3927 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_xnu_uuid_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ xnu_uuid.marker +@COND_powerpc_ieee1275_TRUE@am__append_3928 = xnu_uuid.mod +@COND_powerpc_ieee1275_TRUE@am__append_3929 = xnu_uuid.marker +@COND_emu_TRUE@am__append_3930 = dm_nv.module +@COND_emu_TRUE@am__append_3931 = dm_nv.module$(EXEEXT) +@COND_emu_TRUE@am__append_3932 = +@COND_emu_TRUE@am__append_3933 = $(nodist_dm_nv_module_SOURCES) +@COND_emu_TRUE@am__append_3934 = $(nodist_dm_nv_module_SOURCES) \ +@COND_emu_TRUE@ dm_nv.marker +@COND_emu_TRUE@am__append_3935 = dm_nv.mod +@COND_emu_TRUE@am__append_3936 = dm_nv.marker +@COND_i386_pc_TRUE@am__append_3937 = dm_nv.module +@COND_i386_pc_TRUE@am__append_3938 = dm_nv.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_3939 = +@COND_i386_pc_TRUE@am__append_3940 = $(nodist_dm_nv_module_SOURCES) +@COND_i386_pc_TRUE@am__append_3941 = $(nodist_dm_nv_module_SOURCES) \ +@COND_i386_pc_TRUE@ dm_nv.marker +@COND_i386_pc_TRUE@am__append_3942 = dm_nv.mod +@COND_i386_pc_TRUE@am__append_3943 = dm_nv.marker +@COND_i386_efi_TRUE@am__append_3944 = dm_nv.module +@COND_i386_efi_TRUE@am__append_3945 = dm_nv.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_3946 = +@COND_i386_efi_TRUE@am__append_3947 = $(nodist_dm_nv_module_SOURCES) +@COND_i386_efi_TRUE@am__append_3948 = $(nodist_dm_nv_module_SOURCES) \ +@COND_i386_efi_TRUE@ dm_nv.marker +@COND_i386_efi_TRUE@am__append_3949 = dm_nv.mod +@COND_i386_efi_TRUE@am__append_3950 = dm_nv.marker +@COND_i386_qemu_TRUE@am__append_3951 = dm_nv.module +@COND_i386_qemu_TRUE@am__append_3952 = dm_nv.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_3953 = +@COND_i386_qemu_TRUE@am__append_3954 = $(nodist_dm_nv_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_3955 = $(nodist_dm_nv_module_SOURCES) \ +@COND_i386_qemu_TRUE@ dm_nv.marker +@COND_i386_qemu_TRUE@am__append_3956 = dm_nv.mod +@COND_i386_qemu_TRUE@am__append_3957 = dm_nv.marker +@COND_i386_coreboot_TRUE@am__append_3958 = dm_nv.module +@COND_i386_coreboot_TRUE@am__append_3959 = dm_nv.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_3960 = +@COND_i386_coreboot_TRUE@am__append_3961 = $(nodist_dm_nv_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_3962 = \ +@COND_i386_coreboot_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ dm_nv.marker +@COND_i386_coreboot_TRUE@am__append_3963 = dm_nv.mod +@COND_i386_coreboot_TRUE@am__append_3964 = dm_nv.marker +@COND_i386_multiboot_TRUE@am__append_3965 = dm_nv.module +@COND_i386_multiboot_TRUE@am__append_3966 = dm_nv.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_3967 = +@COND_i386_multiboot_TRUE@am__append_3968 = $(nodist_dm_nv_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_3969 = \ +@COND_i386_multiboot_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ dm_nv.marker +@COND_i386_multiboot_TRUE@am__append_3970 = dm_nv.mod +@COND_i386_multiboot_TRUE@am__append_3971 = dm_nv.marker +@COND_i386_ieee1275_TRUE@am__append_3972 = dm_nv.module +@COND_i386_ieee1275_TRUE@am__append_3973 = dm_nv.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_3974 = +@COND_i386_ieee1275_TRUE@am__append_3975 = $(nodist_dm_nv_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_3976 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ dm_nv.marker +@COND_i386_ieee1275_TRUE@am__append_3977 = dm_nv.mod +@COND_i386_ieee1275_TRUE@am__append_3978 = dm_nv.marker +@COND_x86_64_efi_TRUE@am__append_3979 = dm_nv.module +@COND_x86_64_efi_TRUE@am__append_3980 = dm_nv.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_3981 = +@COND_x86_64_efi_TRUE@am__append_3982 = $(nodist_dm_nv_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_3983 = \ +@COND_x86_64_efi_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ dm_nv.marker +@COND_x86_64_efi_TRUE@am__append_3984 = dm_nv.mod +@COND_x86_64_efi_TRUE@am__append_3985 = dm_nv.marker +@COND_mips_yeeloong_TRUE@am__append_3986 = dm_nv.module +@COND_mips_yeeloong_TRUE@am__append_3987 = dm_nv.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_3988 = +@COND_mips_yeeloong_TRUE@am__append_3989 = $(nodist_dm_nv_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_3990 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ dm_nv.marker +@COND_mips_yeeloong_TRUE@am__append_3991 = dm_nv.mod +@COND_mips_yeeloong_TRUE@am__append_3992 = dm_nv.marker +@COND_sparc64_ieee1275_TRUE@am__append_3993 = dm_nv.module +@COND_sparc64_ieee1275_TRUE@am__append_3994 = dm_nv.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_3995 = +@COND_sparc64_ieee1275_TRUE@am__append_3996 = $(nodist_dm_nv_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_3997 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ dm_nv.marker +@COND_sparc64_ieee1275_TRUE@am__append_3998 = dm_nv.mod +@COND_sparc64_ieee1275_TRUE@am__append_3999 = dm_nv.marker +@COND_powerpc_ieee1275_TRUE@am__append_4000 = dm_nv.module +@COND_powerpc_ieee1275_TRUE@am__append_4001 = dm_nv.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4002 = +@COND_powerpc_ieee1275_TRUE@am__append_4003 = $(nodist_dm_nv_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4004 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_dm_nv_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ dm_nv.marker +@COND_powerpc_ieee1275_TRUE@am__append_4005 = dm_nv.mod +@COND_powerpc_ieee1275_TRUE@am__append_4006 = dm_nv.marker +@COND_emu_TRUE@am__append_4007 = loopback.module +@COND_emu_TRUE@am__append_4008 = loopback.module$(EXEEXT) +@COND_emu_TRUE@am__append_4009 = +@COND_emu_TRUE@am__append_4010 = $(nodist_loopback_module_SOURCES) +@COND_emu_TRUE@am__append_4011 = $(nodist_loopback_module_SOURCES) \ +@COND_emu_TRUE@ loopback.marker +@COND_emu_TRUE@am__append_4012 = loopback.mod +@COND_emu_TRUE@am__append_4013 = loopback.marker +@COND_i386_pc_TRUE@am__append_4014 = loopback.module +@COND_i386_pc_TRUE@am__append_4015 = loopback.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4016 = +@COND_i386_pc_TRUE@am__append_4017 = $(nodist_loopback_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4018 = \ +@COND_i386_pc_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_i386_pc_TRUE@ loopback.marker +@COND_i386_pc_TRUE@am__append_4019 = loopback.mod +@COND_i386_pc_TRUE@am__append_4020 = loopback.marker +@COND_i386_efi_TRUE@am__append_4021 = loopback.module +@COND_i386_efi_TRUE@am__append_4022 = loopback.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4023 = +@COND_i386_efi_TRUE@am__append_4024 = $(nodist_loopback_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4025 = \ +@COND_i386_efi_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_i386_efi_TRUE@ loopback.marker +@COND_i386_efi_TRUE@am__append_4026 = loopback.mod +@COND_i386_efi_TRUE@am__append_4027 = loopback.marker +@COND_i386_qemu_TRUE@am__append_4028 = loopback.module +@COND_i386_qemu_TRUE@am__append_4029 = loopback.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4030 = +@COND_i386_qemu_TRUE@am__append_4031 = $(nodist_loopback_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4032 = \ +@COND_i386_qemu_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_i386_qemu_TRUE@ loopback.marker +@COND_i386_qemu_TRUE@am__append_4033 = loopback.mod +@COND_i386_qemu_TRUE@am__append_4034 = loopback.marker +@COND_i386_coreboot_TRUE@am__append_4035 = loopback.module +@COND_i386_coreboot_TRUE@am__append_4036 = loopback.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4037 = +@COND_i386_coreboot_TRUE@am__append_4038 = $(nodist_loopback_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4039 = \ +@COND_i386_coreboot_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ loopback.marker +@COND_i386_coreboot_TRUE@am__append_4040 = loopback.mod +@COND_i386_coreboot_TRUE@am__append_4041 = loopback.marker +@COND_i386_multiboot_TRUE@am__append_4042 = loopback.module +@COND_i386_multiboot_TRUE@am__append_4043 = loopback.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4044 = +@COND_i386_multiboot_TRUE@am__append_4045 = $(nodist_loopback_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4046 = \ +@COND_i386_multiboot_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ loopback.marker +@COND_i386_multiboot_TRUE@am__append_4047 = loopback.mod +@COND_i386_multiboot_TRUE@am__append_4048 = loopback.marker +@COND_i386_ieee1275_TRUE@am__append_4049 = loopback.module +@COND_i386_ieee1275_TRUE@am__append_4050 = loopback.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4051 = +@COND_i386_ieee1275_TRUE@am__append_4052 = $(nodist_loopback_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4053 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ loopback.marker +@COND_i386_ieee1275_TRUE@am__append_4054 = loopback.mod +@COND_i386_ieee1275_TRUE@am__append_4055 = loopback.marker +@COND_x86_64_efi_TRUE@am__append_4056 = loopback.module +@COND_x86_64_efi_TRUE@am__append_4057 = loopback.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4058 = +@COND_x86_64_efi_TRUE@am__append_4059 = $(nodist_loopback_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4060 = \ +@COND_x86_64_efi_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ loopback.marker +@COND_x86_64_efi_TRUE@am__append_4061 = loopback.mod +@COND_x86_64_efi_TRUE@am__append_4062 = loopback.marker +@COND_mips_yeeloong_TRUE@am__append_4063 = loopback.module +@COND_mips_yeeloong_TRUE@am__append_4064 = loopback.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4065 = +@COND_mips_yeeloong_TRUE@am__append_4066 = $(nodist_loopback_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4067 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ loopback.marker +@COND_mips_yeeloong_TRUE@am__append_4068 = loopback.mod +@COND_mips_yeeloong_TRUE@am__append_4069 = loopback.marker +@COND_sparc64_ieee1275_TRUE@am__append_4070 = loopback.module +@COND_sparc64_ieee1275_TRUE@am__append_4071 = loopback.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4072 = +@COND_sparc64_ieee1275_TRUE@am__append_4073 = $(nodist_loopback_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4074 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ loopback.marker +@COND_sparc64_ieee1275_TRUE@am__append_4075 = loopback.mod +@COND_sparc64_ieee1275_TRUE@am__append_4076 = loopback.marker +@COND_powerpc_ieee1275_TRUE@am__append_4077 = loopback.module +@COND_powerpc_ieee1275_TRUE@am__append_4078 = loopback.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4079 = +@COND_powerpc_ieee1275_TRUE@am__append_4080 = $(nodist_loopback_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4081 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_loopback_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ loopback.marker +@COND_powerpc_ieee1275_TRUE@am__append_4082 = loopback.mod +@COND_powerpc_ieee1275_TRUE@am__append_4083 = loopback.marker +@COND_emu_TRUE@am__append_4084 = lvm.module +@COND_emu_TRUE@am__append_4085 = lvm.module$(EXEEXT) +@COND_emu_TRUE@am__append_4086 = +@COND_emu_TRUE@am__append_4087 = $(nodist_lvm_module_SOURCES) +@COND_emu_TRUE@am__append_4088 = $(nodist_lvm_module_SOURCES) \ +@COND_emu_TRUE@ lvm.marker +@COND_emu_TRUE@am__append_4089 = lvm.mod +@COND_emu_TRUE@am__append_4090 = lvm.marker +@COND_i386_pc_TRUE@am__append_4091 = lvm.module +@COND_i386_pc_TRUE@am__append_4092 = lvm.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4093 = +@COND_i386_pc_TRUE@am__append_4094 = $(nodist_lvm_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4095 = $(nodist_lvm_module_SOURCES) \ +@COND_i386_pc_TRUE@ lvm.marker +@COND_i386_pc_TRUE@am__append_4096 = lvm.mod +@COND_i386_pc_TRUE@am__append_4097 = lvm.marker +@COND_i386_efi_TRUE@am__append_4098 = lvm.module +@COND_i386_efi_TRUE@am__append_4099 = lvm.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4100 = +@COND_i386_efi_TRUE@am__append_4101 = $(nodist_lvm_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4102 = $(nodist_lvm_module_SOURCES) \ +@COND_i386_efi_TRUE@ lvm.marker +@COND_i386_efi_TRUE@am__append_4103 = lvm.mod +@COND_i386_efi_TRUE@am__append_4104 = lvm.marker +@COND_i386_qemu_TRUE@am__append_4105 = lvm.module +@COND_i386_qemu_TRUE@am__append_4106 = lvm.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4107 = +@COND_i386_qemu_TRUE@am__append_4108 = $(nodist_lvm_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4109 = $(nodist_lvm_module_SOURCES) \ +@COND_i386_qemu_TRUE@ lvm.marker +@COND_i386_qemu_TRUE@am__append_4110 = lvm.mod +@COND_i386_qemu_TRUE@am__append_4111 = lvm.marker +@COND_i386_coreboot_TRUE@am__append_4112 = lvm.module +@COND_i386_coreboot_TRUE@am__append_4113 = lvm.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4114 = +@COND_i386_coreboot_TRUE@am__append_4115 = $(nodist_lvm_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4116 = \ +@COND_i386_coreboot_TRUE@ $(nodist_lvm_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ lvm.marker +@COND_i386_coreboot_TRUE@am__append_4117 = lvm.mod +@COND_i386_coreboot_TRUE@am__append_4118 = lvm.marker +@COND_i386_multiboot_TRUE@am__append_4119 = lvm.module +@COND_i386_multiboot_TRUE@am__append_4120 = lvm.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4121 = +@COND_i386_multiboot_TRUE@am__append_4122 = $(nodist_lvm_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4123 = \ +@COND_i386_multiboot_TRUE@ $(nodist_lvm_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ lvm.marker +@COND_i386_multiboot_TRUE@am__append_4124 = lvm.mod +@COND_i386_multiboot_TRUE@am__append_4125 = lvm.marker +@COND_i386_ieee1275_TRUE@am__append_4126 = lvm.module +@COND_i386_ieee1275_TRUE@am__append_4127 = lvm.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4128 = +@COND_i386_ieee1275_TRUE@am__append_4129 = $(nodist_lvm_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4130 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_lvm_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ lvm.marker +@COND_i386_ieee1275_TRUE@am__append_4131 = lvm.mod +@COND_i386_ieee1275_TRUE@am__append_4132 = lvm.marker +@COND_x86_64_efi_TRUE@am__append_4133 = lvm.module +@COND_x86_64_efi_TRUE@am__append_4134 = lvm.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4135 = +@COND_x86_64_efi_TRUE@am__append_4136 = $(nodist_lvm_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4137 = $(nodist_lvm_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ lvm.marker +@COND_x86_64_efi_TRUE@am__append_4138 = lvm.mod +@COND_x86_64_efi_TRUE@am__append_4139 = lvm.marker +@COND_mips_yeeloong_TRUE@am__append_4140 = lvm.module +@COND_mips_yeeloong_TRUE@am__append_4141 = lvm.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4142 = +@COND_mips_yeeloong_TRUE@am__append_4143 = $(nodist_lvm_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4144 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_lvm_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ lvm.marker +@COND_mips_yeeloong_TRUE@am__append_4145 = lvm.mod +@COND_mips_yeeloong_TRUE@am__append_4146 = lvm.marker +@COND_sparc64_ieee1275_TRUE@am__append_4147 = lvm.module +@COND_sparc64_ieee1275_TRUE@am__append_4148 = lvm.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4149 = +@COND_sparc64_ieee1275_TRUE@am__append_4150 = $(nodist_lvm_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4151 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_lvm_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ lvm.marker +@COND_sparc64_ieee1275_TRUE@am__append_4152 = lvm.mod +@COND_sparc64_ieee1275_TRUE@am__append_4153 = lvm.marker +@COND_powerpc_ieee1275_TRUE@am__append_4154 = lvm.module +@COND_powerpc_ieee1275_TRUE@am__append_4155 = lvm.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4156 = +@COND_powerpc_ieee1275_TRUE@am__append_4157 = $(nodist_lvm_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4158 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_lvm_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ lvm.marker +@COND_powerpc_ieee1275_TRUE@am__append_4159 = lvm.mod +@COND_powerpc_ieee1275_TRUE@am__append_4160 = lvm.marker +@COND_emu_TRUE@am__append_4161 = mdraid09.module +@COND_emu_TRUE@am__append_4162 = mdraid09.module$(EXEEXT) +@COND_emu_TRUE@am__append_4163 = +@COND_emu_TRUE@am__append_4164 = $(nodist_mdraid09_module_SOURCES) +@COND_emu_TRUE@am__append_4165 = $(nodist_mdraid09_module_SOURCES) \ +@COND_emu_TRUE@ mdraid09.marker +@COND_emu_TRUE@am__append_4166 = mdraid09.mod +@COND_emu_TRUE@am__append_4167 = mdraid09.marker +@COND_i386_pc_TRUE@am__append_4168 = mdraid09.module +@COND_i386_pc_TRUE@am__append_4169 = mdraid09.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4170 = +@COND_i386_pc_TRUE@am__append_4171 = $(nodist_mdraid09_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4172 = \ +@COND_i386_pc_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_i386_pc_TRUE@ mdraid09.marker +@COND_i386_pc_TRUE@am__append_4173 = mdraid09.mod +@COND_i386_pc_TRUE@am__append_4174 = mdraid09.marker +@COND_i386_efi_TRUE@am__append_4175 = mdraid09.module +@COND_i386_efi_TRUE@am__append_4176 = mdraid09.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4177 = +@COND_i386_efi_TRUE@am__append_4178 = $(nodist_mdraid09_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4179 = \ +@COND_i386_efi_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_i386_efi_TRUE@ mdraid09.marker +@COND_i386_efi_TRUE@am__append_4180 = mdraid09.mod +@COND_i386_efi_TRUE@am__append_4181 = mdraid09.marker +@COND_i386_qemu_TRUE@am__append_4182 = mdraid09.module +@COND_i386_qemu_TRUE@am__append_4183 = mdraid09.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4184 = +@COND_i386_qemu_TRUE@am__append_4185 = $(nodist_mdraid09_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4186 = \ +@COND_i386_qemu_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_i386_qemu_TRUE@ mdraid09.marker +@COND_i386_qemu_TRUE@am__append_4187 = mdraid09.mod +@COND_i386_qemu_TRUE@am__append_4188 = mdraid09.marker +@COND_i386_coreboot_TRUE@am__append_4189 = mdraid09.module +@COND_i386_coreboot_TRUE@am__append_4190 = mdraid09.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4191 = +@COND_i386_coreboot_TRUE@am__append_4192 = $(nodist_mdraid09_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4193 = \ +@COND_i386_coreboot_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ mdraid09.marker +@COND_i386_coreboot_TRUE@am__append_4194 = mdraid09.mod +@COND_i386_coreboot_TRUE@am__append_4195 = mdraid09.marker +@COND_i386_multiboot_TRUE@am__append_4196 = mdraid09.module +@COND_i386_multiboot_TRUE@am__append_4197 = mdraid09.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4198 = +@COND_i386_multiboot_TRUE@am__append_4199 = $(nodist_mdraid09_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4200 = \ +@COND_i386_multiboot_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ mdraid09.marker +@COND_i386_multiboot_TRUE@am__append_4201 = mdraid09.mod +@COND_i386_multiboot_TRUE@am__append_4202 = mdraid09.marker +@COND_i386_ieee1275_TRUE@am__append_4203 = mdraid09.module +@COND_i386_ieee1275_TRUE@am__append_4204 = mdraid09.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4205 = +@COND_i386_ieee1275_TRUE@am__append_4206 = $(nodist_mdraid09_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4207 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ mdraid09.marker +@COND_i386_ieee1275_TRUE@am__append_4208 = mdraid09.mod +@COND_i386_ieee1275_TRUE@am__append_4209 = mdraid09.marker +@COND_x86_64_efi_TRUE@am__append_4210 = mdraid09.module +@COND_x86_64_efi_TRUE@am__append_4211 = mdraid09.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4212 = +@COND_x86_64_efi_TRUE@am__append_4213 = $(nodist_mdraid09_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4214 = \ +@COND_x86_64_efi_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ mdraid09.marker +@COND_x86_64_efi_TRUE@am__append_4215 = mdraid09.mod +@COND_x86_64_efi_TRUE@am__append_4216 = mdraid09.marker +@COND_mips_yeeloong_TRUE@am__append_4217 = mdraid09.module +@COND_mips_yeeloong_TRUE@am__append_4218 = mdraid09.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4219 = +@COND_mips_yeeloong_TRUE@am__append_4220 = $(nodist_mdraid09_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4221 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ mdraid09.marker +@COND_mips_yeeloong_TRUE@am__append_4222 = mdraid09.mod +@COND_mips_yeeloong_TRUE@am__append_4223 = mdraid09.marker +@COND_sparc64_ieee1275_TRUE@am__append_4224 = mdraid09.module +@COND_sparc64_ieee1275_TRUE@am__append_4225 = mdraid09.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4226 = +@COND_sparc64_ieee1275_TRUE@am__append_4227 = $(nodist_mdraid09_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4228 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ mdraid09.marker +@COND_sparc64_ieee1275_TRUE@am__append_4229 = mdraid09.mod +@COND_sparc64_ieee1275_TRUE@am__append_4230 = mdraid09.marker +@COND_powerpc_ieee1275_TRUE@am__append_4231 = mdraid09.module +@COND_powerpc_ieee1275_TRUE@am__append_4232 = mdraid09.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4233 = +@COND_powerpc_ieee1275_TRUE@am__append_4234 = $(nodist_mdraid09_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4235 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_mdraid09_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ mdraid09.marker +@COND_powerpc_ieee1275_TRUE@am__append_4236 = mdraid09.mod +@COND_powerpc_ieee1275_TRUE@am__append_4237 = mdraid09.marker +@COND_emu_TRUE@am__append_4238 = mdraid1x.module +@COND_emu_TRUE@am__append_4239 = mdraid1x.module$(EXEEXT) +@COND_emu_TRUE@am__append_4240 = +@COND_emu_TRUE@am__append_4241 = $(nodist_mdraid1x_module_SOURCES) +@COND_emu_TRUE@am__append_4242 = $(nodist_mdraid1x_module_SOURCES) \ +@COND_emu_TRUE@ mdraid1x.marker +@COND_emu_TRUE@am__append_4243 = mdraid1x.mod +@COND_emu_TRUE@am__append_4244 = mdraid1x.marker +@COND_i386_pc_TRUE@am__append_4245 = mdraid1x.module +@COND_i386_pc_TRUE@am__append_4246 = mdraid1x.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4247 = +@COND_i386_pc_TRUE@am__append_4248 = $(nodist_mdraid1x_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4249 = \ +@COND_i386_pc_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_i386_pc_TRUE@ mdraid1x.marker +@COND_i386_pc_TRUE@am__append_4250 = mdraid1x.mod +@COND_i386_pc_TRUE@am__append_4251 = mdraid1x.marker +@COND_i386_efi_TRUE@am__append_4252 = mdraid1x.module +@COND_i386_efi_TRUE@am__append_4253 = mdraid1x.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4254 = +@COND_i386_efi_TRUE@am__append_4255 = $(nodist_mdraid1x_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4256 = \ +@COND_i386_efi_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_i386_efi_TRUE@ mdraid1x.marker +@COND_i386_efi_TRUE@am__append_4257 = mdraid1x.mod +@COND_i386_efi_TRUE@am__append_4258 = mdraid1x.marker +@COND_i386_qemu_TRUE@am__append_4259 = mdraid1x.module +@COND_i386_qemu_TRUE@am__append_4260 = mdraid1x.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4261 = +@COND_i386_qemu_TRUE@am__append_4262 = $(nodist_mdraid1x_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4263 = \ +@COND_i386_qemu_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_i386_qemu_TRUE@ mdraid1x.marker +@COND_i386_qemu_TRUE@am__append_4264 = mdraid1x.mod +@COND_i386_qemu_TRUE@am__append_4265 = mdraid1x.marker +@COND_i386_coreboot_TRUE@am__append_4266 = mdraid1x.module +@COND_i386_coreboot_TRUE@am__append_4267 = mdraid1x.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4268 = +@COND_i386_coreboot_TRUE@am__append_4269 = $(nodist_mdraid1x_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4270 = \ +@COND_i386_coreboot_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ mdraid1x.marker +@COND_i386_coreboot_TRUE@am__append_4271 = mdraid1x.mod +@COND_i386_coreboot_TRUE@am__append_4272 = mdraid1x.marker +@COND_i386_multiboot_TRUE@am__append_4273 = mdraid1x.module +@COND_i386_multiboot_TRUE@am__append_4274 = mdraid1x.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4275 = +@COND_i386_multiboot_TRUE@am__append_4276 = $(nodist_mdraid1x_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4277 = \ +@COND_i386_multiboot_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ mdraid1x.marker +@COND_i386_multiboot_TRUE@am__append_4278 = mdraid1x.mod +@COND_i386_multiboot_TRUE@am__append_4279 = mdraid1x.marker +@COND_i386_ieee1275_TRUE@am__append_4280 = mdraid1x.module +@COND_i386_ieee1275_TRUE@am__append_4281 = mdraid1x.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4282 = +@COND_i386_ieee1275_TRUE@am__append_4283 = $(nodist_mdraid1x_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4284 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ mdraid1x.marker +@COND_i386_ieee1275_TRUE@am__append_4285 = mdraid1x.mod +@COND_i386_ieee1275_TRUE@am__append_4286 = mdraid1x.marker +@COND_x86_64_efi_TRUE@am__append_4287 = mdraid1x.module +@COND_x86_64_efi_TRUE@am__append_4288 = mdraid1x.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4289 = +@COND_x86_64_efi_TRUE@am__append_4290 = $(nodist_mdraid1x_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4291 = \ +@COND_x86_64_efi_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ mdraid1x.marker +@COND_x86_64_efi_TRUE@am__append_4292 = mdraid1x.mod +@COND_x86_64_efi_TRUE@am__append_4293 = mdraid1x.marker +@COND_mips_yeeloong_TRUE@am__append_4294 = mdraid1x.module +@COND_mips_yeeloong_TRUE@am__append_4295 = mdraid1x.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4296 = +@COND_mips_yeeloong_TRUE@am__append_4297 = $(nodist_mdraid1x_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4298 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ mdraid1x.marker +@COND_mips_yeeloong_TRUE@am__append_4299 = mdraid1x.mod +@COND_mips_yeeloong_TRUE@am__append_4300 = mdraid1x.marker +@COND_sparc64_ieee1275_TRUE@am__append_4301 = mdraid1x.module +@COND_sparc64_ieee1275_TRUE@am__append_4302 = mdraid1x.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4303 = +@COND_sparc64_ieee1275_TRUE@am__append_4304 = $(nodist_mdraid1x_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4305 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ mdraid1x.marker +@COND_sparc64_ieee1275_TRUE@am__append_4306 = mdraid1x.mod +@COND_sparc64_ieee1275_TRUE@am__append_4307 = mdraid1x.marker +@COND_powerpc_ieee1275_TRUE@am__append_4308 = mdraid1x.module +@COND_powerpc_ieee1275_TRUE@am__append_4309 = mdraid1x.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4310 = +@COND_powerpc_ieee1275_TRUE@am__append_4311 = $(nodist_mdraid1x_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4312 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_mdraid1x_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ mdraid1x.marker +@COND_powerpc_ieee1275_TRUE@am__append_4313 = mdraid1x.mod +@COND_powerpc_ieee1275_TRUE@am__append_4314 = mdraid1x.marker +@COND_emu_TRUE@am__append_4315 = raid.module +@COND_emu_TRUE@am__append_4316 = raid.module$(EXEEXT) +@COND_emu_TRUE@am__append_4317 = +@COND_emu_TRUE@am__append_4318 = $(nodist_raid_module_SOURCES) +@COND_emu_TRUE@am__append_4319 = $(nodist_raid_module_SOURCES) \ +@COND_emu_TRUE@ raid.marker +@COND_emu_TRUE@am__append_4320 = raid.mod +@COND_emu_TRUE@am__append_4321 = raid.marker +@COND_i386_pc_TRUE@am__append_4322 = raid.module +@COND_i386_pc_TRUE@am__append_4323 = raid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4324 = +@COND_i386_pc_TRUE@am__append_4325 = $(nodist_raid_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4326 = $(nodist_raid_module_SOURCES) \ +@COND_i386_pc_TRUE@ raid.marker +@COND_i386_pc_TRUE@am__append_4327 = raid.mod +@COND_i386_pc_TRUE@am__append_4328 = raid.marker +@COND_i386_efi_TRUE@am__append_4329 = raid.module +@COND_i386_efi_TRUE@am__append_4330 = raid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4331 = +@COND_i386_efi_TRUE@am__append_4332 = $(nodist_raid_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4333 = $(nodist_raid_module_SOURCES) \ +@COND_i386_efi_TRUE@ raid.marker +@COND_i386_efi_TRUE@am__append_4334 = raid.mod +@COND_i386_efi_TRUE@am__append_4335 = raid.marker +@COND_i386_qemu_TRUE@am__append_4336 = raid.module +@COND_i386_qemu_TRUE@am__append_4337 = raid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4338 = +@COND_i386_qemu_TRUE@am__append_4339 = $(nodist_raid_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4340 = $(nodist_raid_module_SOURCES) \ +@COND_i386_qemu_TRUE@ raid.marker +@COND_i386_qemu_TRUE@am__append_4341 = raid.mod +@COND_i386_qemu_TRUE@am__append_4342 = raid.marker +@COND_i386_coreboot_TRUE@am__append_4343 = raid.module +@COND_i386_coreboot_TRUE@am__append_4344 = raid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4345 = +@COND_i386_coreboot_TRUE@am__append_4346 = $(nodist_raid_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4347 = \ +@COND_i386_coreboot_TRUE@ $(nodist_raid_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ raid.marker +@COND_i386_coreboot_TRUE@am__append_4348 = raid.mod +@COND_i386_coreboot_TRUE@am__append_4349 = raid.marker +@COND_i386_multiboot_TRUE@am__append_4350 = raid.module +@COND_i386_multiboot_TRUE@am__append_4351 = raid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4352 = +@COND_i386_multiboot_TRUE@am__append_4353 = $(nodist_raid_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4354 = \ +@COND_i386_multiboot_TRUE@ $(nodist_raid_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ raid.marker +@COND_i386_multiboot_TRUE@am__append_4355 = raid.mod +@COND_i386_multiboot_TRUE@am__append_4356 = raid.marker +@COND_i386_ieee1275_TRUE@am__append_4357 = raid.module +@COND_i386_ieee1275_TRUE@am__append_4358 = raid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4359 = +@COND_i386_ieee1275_TRUE@am__append_4360 = $(nodist_raid_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4361 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_raid_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ raid.marker +@COND_i386_ieee1275_TRUE@am__append_4362 = raid.mod +@COND_i386_ieee1275_TRUE@am__append_4363 = raid.marker +@COND_x86_64_efi_TRUE@am__append_4364 = raid.module +@COND_x86_64_efi_TRUE@am__append_4365 = raid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4366 = +@COND_x86_64_efi_TRUE@am__append_4367 = $(nodist_raid_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4368 = $(nodist_raid_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ raid.marker +@COND_x86_64_efi_TRUE@am__append_4369 = raid.mod +@COND_x86_64_efi_TRUE@am__append_4370 = raid.marker +@COND_mips_yeeloong_TRUE@am__append_4371 = raid.module +@COND_mips_yeeloong_TRUE@am__append_4372 = raid.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4373 = +@COND_mips_yeeloong_TRUE@am__append_4374 = $(nodist_raid_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4375 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_raid_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ raid.marker +@COND_mips_yeeloong_TRUE@am__append_4376 = raid.mod +@COND_mips_yeeloong_TRUE@am__append_4377 = raid.marker +@COND_sparc64_ieee1275_TRUE@am__append_4378 = raid.module +@COND_sparc64_ieee1275_TRUE@am__append_4379 = raid.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4380 = +@COND_sparc64_ieee1275_TRUE@am__append_4381 = $(nodist_raid_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4382 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_raid_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ raid.marker +@COND_sparc64_ieee1275_TRUE@am__append_4383 = raid.mod +@COND_sparc64_ieee1275_TRUE@am__append_4384 = raid.marker +@COND_powerpc_ieee1275_TRUE@am__append_4385 = raid.module +@COND_powerpc_ieee1275_TRUE@am__append_4386 = raid.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4387 = +@COND_powerpc_ieee1275_TRUE@am__append_4388 = $(nodist_raid_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4389 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_raid_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ raid.marker +@COND_powerpc_ieee1275_TRUE@am__append_4390 = raid.mod +@COND_powerpc_ieee1275_TRUE@am__append_4391 = raid.marker +@COND_emu_TRUE@am__append_4392 = raid5rec.module +@COND_emu_TRUE@am__append_4393 = raid5rec.module$(EXEEXT) +@COND_emu_TRUE@am__append_4394 = +@COND_emu_TRUE@am__append_4395 = $(nodist_raid5rec_module_SOURCES) +@COND_emu_TRUE@am__append_4396 = $(nodist_raid5rec_module_SOURCES) \ +@COND_emu_TRUE@ raid5rec.marker +@COND_emu_TRUE@am__append_4397 = raid5rec.mod +@COND_emu_TRUE@am__append_4398 = raid5rec.marker +@COND_i386_pc_TRUE@am__append_4399 = raid5rec.module +@COND_i386_pc_TRUE@am__append_4400 = raid5rec.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4401 = +@COND_i386_pc_TRUE@am__append_4402 = $(nodist_raid5rec_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4403 = \ +@COND_i386_pc_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_i386_pc_TRUE@ raid5rec.marker +@COND_i386_pc_TRUE@am__append_4404 = raid5rec.mod +@COND_i386_pc_TRUE@am__append_4405 = raid5rec.marker +@COND_i386_efi_TRUE@am__append_4406 = raid5rec.module +@COND_i386_efi_TRUE@am__append_4407 = raid5rec.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4408 = +@COND_i386_efi_TRUE@am__append_4409 = $(nodist_raid5rec_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4410 = \ +@COND_i386_efi_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_i386_efi_TRUE@ raid5rec.marker +@COND_i386_efi_TRUE@am__append_4411 = raid5rec.mod +@COND_i386_efi_TRUE@am__append_4412 = raid5rec.marker +@COND_i386_qemu_TRUE@am__append_4413 = raid5rec.module +@COND_i386_qemu_TRUE@am__append_4414 = raid5rec.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4415 = +@COND_i386_qemu_TRUE@am__append_4416 = $(nodist_raid5rec_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4417 = \ +@COND_i386_qemu_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_i386_qemu_TRUE@ raid5rec.marker +@COND_i386_qemu_TRUE@am__append_4418 = raid5rec.mod +@COND_i386_qemu_TRUE@am__append_4419 = raid5rec.marker +@COND_i386_coreboot_TRUE@am__append_4420 = raid5rec.module +@COND_i386_coreboot_TRUE@am__append_4421 = raid5rec.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4422 = +@COND_i386_coreboot_TRUE@am__append_4423 = $(nodist_raid5rec_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4424 = \ +@COND_i386_coreboot_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ raid5rec.marker +@COND_i386_coreboot_TRUE@am__append_4425 = raid5rec.mod +@COND_i386_coreboot_TRUE@am__append_4426 = raid5rec.marker +@COND_i386_multiboot_TRUE@am__append_4427 = raid5rec.module +@COND_i386_multiboot_TRUE@am__append_4428 = raid5rec.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4429 = +@COND_i386_multiboot_TRUE@am__append_4430 = $(nodist_raid5rec_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4431 = \ +@COND_i386_multiboot_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ raid5rec.marker +@COND_i386_multiboot_TRUE@am__append_4432 = raid5rec.mod +@COND_i386_multiboot_TRUE@am__append_4433 = raid5rec.marker +@COND_i386_ieee1275_TRUE@am__append_4434 = raid5rec.module +@COND_i386_ieee1275_TRUE@am__append_4435 = raid5rec.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4436 = +@COND_i386_ieee1275_TRUE@am__append_4437 = $(nodist_raid5rec_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4438 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ raid5rec.marker +@COND_i386_ieee1275_TRUE@am__append_4439 = raid5rec.mod +@COND_i386_ieee1275_TRUE@am__append_4440 = raid5rec.marker +@COND_x86_64_efi_TRUE@am__append_4441 = raid5rec.module +@COND_x86_64_efi_TRUE@am__append_4442 = raid5rec.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4443 = +@COND_x86_64_efi_TRUE@am__append_4444 = $(nodist_raid5rec_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4445 = \ +@COND_x86_64_efi_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ raid5rec.marker +@COND_x86_64_efi_TRUE@am__append_4446 = raid5rec.mod +@COND_x86_64_efi_TRUE@am__append_4447 = raid5rec.marker +@COND_mips_yeeloong_TRUE@am__append_4448 = raid5rec.module +@COND_mips_yeeloong_TRUE@am__append_4449 = raid5rec.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4450 = +@COND_mips_yeeloong_TRUE@am__append_4451 = $(nodist_raid5rec_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4452 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ raid5rec.marker +@COND_mips_yeeloong_TRUE@am__append_4453 = raid5rec.mod +@COND_mips_yeeloong_TRUE@am__append_4454 = raid5rec.marker +@COND_sparc64_ieee1275_TRUE@am__append_4455 = raid5rec.module +@COND_sparc64_ieee1275_TRUE@am__append_4456 = raid5rec.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4457 = +@COND_sparc64_ieee1275_TRUE@am__append_4458 = $(nodist_raid5rec_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4459 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ raid5rec.marker +@COND_sparc64_ieee1275_TRUE@am__append_4460 = raid5rec.mod +@COND_sparc64_ieee1275_TRUE@am__append_4461 = raid5rec.marker +@COND_powerpc_ieee1275_TRUE@am__append_4462 = raid5rec.module +@COND_powerpc_ieee1275_TRUE@am__append_4463 = raid5rec.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4464 = +@COND_powerpc_ieee1275_TRUE@am__append_4465 = $(nodist_raid5rec_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4466 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_raid5rec_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ raid5rec.marker +@COND_powerpc_ieee1275_TRUE@am__append_4467 = raid5rec.mod +@COND_powerpc_ieee1275_TRUE@am__append_4468 = raid5rec.marker +@COND_emu_TRUE@am__append_4469 = raid6rec.module +@COND_emu_TRUE@am__append_4470 = raid6rec.module$(EXEEXT) +@COND_emu_TRUE@am__append_4471 = +@COND_emu_TRUE@am__append_4472 = $(nodist_raid6rec_module_SOURCES) +@COND_emu_TRUE@am__append_4473 = $(nodist_raid6rec_module_SOURCES) \ +@COND_emu_TRUE@ raid6rec.marker +@COND_emu_TRUE@am__append_4474 = raid6rec.mod +@COND_emu_TRUE@am__append_4475 = raid6rec.marker +@COND_i386_pc_TRUE@am__append_4476 = raid6rec.module +@COND_i386_pc_TRUE@am__append_4477 = raid6rec.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4478 = +@COND_i386_pc_TRUE@am__append_4479 = $(nodist_raid6rec_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4480 = \ +@COND_i386_pc_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_i386_pc_TRUE@ raid6rec.marker +@COND_i386_pc_TRUE@am__append_4481 = raid6rec.mod +@COND_i386_pc_TRUE@am__append_4482 = raid6rec.marker +@COND_i386_efi_TRUE@am__append_4483 = raid6rec.module +@COND_i386_efi_TRUE@am__append_4484 = raid6rec.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4485 = +@COND_i386_efi_TRUE@am__append_4486 = $(nodist_raid6rec_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4487 = \ +@COND_i386_efi_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_i386_efi_TRUE@ raid6rec.marker +@COND_i386_efi_TRUE@am__append_4488 = raid6rec.mod +@COND_i386_efi_TRUE@am__append_4489 = raid6rec.marker +@COND_i386_qemu_TRUE@am__append_4490 = raid6rec.module +@COND_i386_qemu_TRUE@am__append_4491 = raid6rec.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4492 = +@COND_i386_qemu_TRUE@am__append_4493 = $(nodist_raid6rec_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4494 = \ +@COND_i386_qemu_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_i386_qemu_TRUE@ raid6rec.marker +@COND_i386_qemu_TRUE@am__append_4495 = raid6rec.mod +@COND_i386_qemu_TRUE@am__append_4496 = raid6rec.marker +@COND_i386_coreboot_TRUE@am__append_4497 = raid6rec.module +@COND_i386_coreboot_TRUE@am__append_4498 = raid6rec.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4499 = +@COND_i386_coreboot_TRUE@am__append_4500 = $(nodist_raid6rec_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4501 = \ +@COND_i386_coreboot_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ raid6rec.marker +@COND_i386_coreboot_TRUE@am__append_4502 = raid6rec.mod +@COND_i386_coreboot_TRUE@am__append_4503 = raid6rec.marker +@COND_i386_multiboot_TRUE@am__append_4504 = raid6rec.module +@COND_i386_multiboot_TRUE@am__append_4505 = raid6rec.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4506 = +@COND_i386_multiboot_TRUE@am__append_4507 = $(nodist_raid6rec_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4508 = \ +@COND_i386_multiboot_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ raid6rec.marker +@COND_i386_multiboot_TRUE@am__append_4509 = raid6rec.mod +@COND_i386_multiboot_TRUE@am__append_4510 = raid6rec.marker +@COND_i386_ieee1275_TRUE@am__append_4511 = raid6rec.module +@COND_i386_ieee1275_TRUE@am__append_4512 = raid6rec.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4513 = +@COND_i386_ieee1275_TRUE@am__append_4514 = $(nodist_raid6rec_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4515 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ raid6rec.marker +@COND_i386_ieee1275_TRUE@am__append_4516 = raid6rec.mod +@COND_i386_ieee1275_TRUE@am__append_4517 = raid6rec.marker +@COND_x86_64_efi_TRUE@am__append_4518 = raid6rec.module +@COND_x86_64_efi_TRUE@am__append_4519 = raid6rec.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4520 = +@COND_x86_64_efi_TRUE@am__append_4521 = $(nodist_raid6rec_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4522 = \ +@COND_x86_64_efi_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ raid6rec.marker +@COND_x86_64_efi_TRUE@am__append_4523 = raid6rec.mod +@COND_x86_64_efi_TRUE@am__append_4524 = raid6rec.marker +@COND_mips_yeeloong_TRUE@am__append_4525 = raid6rec.module +@COND_mips_yeeloong_TRUE@am__append_4526 = raid6rec.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4527 = +@COND_mips_yeeloong_TRUE@am__append_4528 = $(nodist_raid6rec_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4529 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ raid6rec.marker +@COND_mips_yeeloong_TRUE@am__append_4530 = raid6rec.mod +@COND_mips_yeeloong_TRUE@am__append_4531 = raid6rec.marker +@COND_sparc64_ieee1275_TRUE@am__append_4532 = raid6rec.module +@COND_sparc64_ieee1275_TRUE@am__append_4533 = raid6rec.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4534 = +@COND_sparc64_ieee1275_TRUE@am__append_4535 = $(nodist_raid6rec_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4536 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ raid6rec.marker +@COND_sparc64_ieee1275_TRUE@am__append_4537 = raid6rec.mod +@COND_sparc64_ieee1275_TRUE@am__append_4538 = raid6rec.marker +@COND_powerpc_ieee1275_TRUE@am__append_4539 = raid6rec.module +@COND_powerpc_ieee1275_TRUE@am__append_4540 = raid6rec.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4541 = +@COND_powerpc_ieee1275_TRUE@am__append_4542 = $(nodist_raid6rec_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4543 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_raid6rec_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ raid6rec.marker +@COND_powerpc_ieee1275_TRUE@am__append_4544 = raid6rec.mod +@COND_powerpc_ieee1275_TRUE@am__append_4545 = raid6rec.marker +@COND_emu_TRUE@am__append_4546 = scsi.module +@COND_emu_TRUE@am__append_4547 = scsi.module$(EXEEXT) +@COND_emu_TRUE@am__append_4548 = +@COND_emu_TRUE@am__append_4549 = $(nodist_scsi_module_SOURCES) +@COND_emu_TRUE@am__append_4550 = $(nodist_scsi_module_SOURCES) \ +@COND_emu_TRUE@ scsi.marker +@COND_emu_TRUE@am__append_4551 = scsi.mod +@COND_emu_TRUE@am__append_4552 = scsi.marker +@COND_i386_pc_TRUE@am__append_4553 = scsi.module +@COND_i386_pc_TRUE@am__append_4554 = scsi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4555 = +@COND_i386_pc_TRUE@am__append_4556 = $(nodist_scsi_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4557 = $(nodist_scsi_module_SOURCES) \ +@COND_i386_pc_TRUE@ scsi.marker +@COND_i386_pc_TRUE@am__append_4558 = scsi.mod +@COND_i386_pc_TRUE@am__append_4559 = scsi.marker +@COND_i386_efi_TRUE@am__append_4560 = scsi.module +@COND_i386_efi_TRUE@am__append_4561 = scsi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4562 = +@COND_i386_efi_TRUE@am__append_4563 = $(nodist_scsi_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4564 = $(nodist_scsi_module_SOURCES) \ +@COND_i386_efi_TRUE@ scsi.marker +@COND_i386_efi_TRUE@am__append_4565 = scsi.mod +@COND_i386_efi_TRUE@am__append_4566 = scsi.marker +@COND_i386_qemu_TRUE@am__append_4567 = scsi.module +@COND_i386_qemu_TRUE@am__append_4568 = scsi.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4569 = +@COND_i386_qemu_TRUE@am__append_4570 = $(nodist_scsi_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4571 = $(nodist_scsi_module_SOURCES) \ +@COND_i386_qemu_TRUE@ scsi.marker +@COND_i386_qemu_TRUE@am__append_4572 = scsi.mod +@COND_i386_qemu_TRUE@am__append_4573 = scsi.marker +@COND_i386_coreboot_TRUE@am__append_4574 = scsi.module +@COND_i386_coreboot_TRUE@am__append_4575 = scsi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4576 = +@COND_i386_coreboot_TRUE@am__append_4577 = $(nodist_scsi_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4578 = \ +@COND_i386_coreboot_TRUE@ $(nodist_scsi_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ scsi.marker +@COND_i386_coreboot_TRUE@am__append_4579 = scsi.mod +@COND_i386_coreboot_TRUE@am__append_4580 = scsi.marker +@COND_i386_multiboot_TRUE@am__append_4581 = scsi.module +@COND_i386_multiboot_TRUE@am__append_4582 = scsi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4583 = +@COND_i386_multiboot_TRUE@am__append_4584 = $(nodist_scsi_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4585 = \ +@COND_i386_multiboot_TRUE@ $(nodist_scsi_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ scsi.marker +@COND_i386_multiboot_TRUE@am__append_4586 = scsi.mod +@COND_i386_multiboot_TRUE@am__append_4587 = scsi.marker +@COND_i386_ieee1275_TRUE@am__append_4588 = scsi.module +@COND_i386_ieee1275_TRUE@am__append_4589 = scsi.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4590 = +@COND_i386_ieee1275_TRUE@am__append_4591 = $(nodist_scsi_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4592 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_scsi_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ scsi.marker +@COND_i386_ieee1275_TRUE@am__append_4593 = scsi.mod +@COND_i386_ieee1275_TRUE@am__append_4594 = scsi.marker +@COND_x86_64_efi_TRUE@am__append_4595 = scsi.module +@COND_x86_64_efi_TRUE@am__append_4596 = scsi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4597 = +@COND_x86_64_efi_TRUE@am__append_4598 = $(nodist_scsi_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4599 = $(nodist_scsi_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ scsi.marker +@COND_x86_64_efi_TRUE@am__append_4600 = scsi.mod +@COND_x86_64_efi_TRUE@am__append_4601 = scsi.marker +@COND_mips_yeeloong_TRUE@am__append_4602 = scsi.module +@COND_mips_yeeloong_TRUE@am__append_4603 = scsi.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4604 = +@COND_mips_yeeloong_TRUE@am__append_4605 = $(nodist_scsi_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4606 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_scsi_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ scsi.marker +@COND_mips_yeeloong_TRUE@am__append_4607 = scsi.mod +@COND_mips_yeeloong_TRUE@am__append_4608 = scsi.marker +@COND_sparc64_ieee1275_TRUE@am__append_4609 = scsi.module +@COND_sparc64_ieee1275_TRUE@am__append_4610 = scsi.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4611 = +@COND_sparc64_ieee1275_TRUE@am__append_4612 = $(nodist_scsi_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4613 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_scsi_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ scsi.marker +@COND_sparc64_ieee1275_TRUE@am__append_4614 = scsi.mod +@COND_sparc64_ieee1275_TRUE@am__append_4615 = scsi.marker +@COND_powerpc_ieee1275_TRUE@am__append_4616 = scsi.module +@COND_powerpc_ieee1275_TRUE@am__append_4617 = scsi.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4618 = +@COND_powerpc_ieee1275_TRUE@am__append_4619 = $(nodist_scsi_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4620 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_scsi_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ scsi.marker +@COND_powerpc_ieee1275_TRUE@am__append_4621 = scsi.mod +@COND_powerpc_ieee1275_TRUE@am__append_4622 = scsi.marker +@COND_emu_TRUE@am__append_4623 = memdisk.module +@COND_emu_TRUE@am__append_4624 = memdisk.module$(EXEEXT) +@COND_emu_TRUE@am__append_4625 = +@COND_emu_TRUE@am__append_4626 = $(nodist_memdisk_module_SOURCES) +@COND_emu_TRUE@am__append_4627 = $(nodist_memdisk_module_SOURCES) \ +@COND_emu_TRUE@ memdisk.marker +@COND_emu_TRUE@am__append_4628 = memdisk.mod +@COND_emu_TRUE@am__append_4629 = memdisk.marker +@COND_i386_pc_TRUE@am__append_4630 = memdisk.module +@COND_i386_pc_TRUE@am__append_4631 = memdisk.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4632 = +@COND_i386_pc_TRUE@am__append_4633 = $(nodist_memdisk_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4634 = $(nodist_memdisk_module_SOURCES) \ +@COND_i386_pc_TRUE@ memdisk.marker +@COND_i386_pc_TRUE@am__append_4635 = memdisk.mod +@COND_i386_pc_TRUE@am__append_4636 = memdisk.marker +@COND_i386_efi_TRUE@am__append_4637 = memdisk.module +@COND_i386_efi_TRUE@am__append_4638 = memdisk.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4639 = +@COND_i386_efi_TRUE@am__append_4640 = $(nodist_memdisk_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4641 = \ +@COND_i386_efi_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_i386_efi_TRUE@ memdisk.marker +@COND_i386_efi_TRUE@am__append_4642 = memdisk.mod +@COND_i386_efi_TRUE@am__append_4643 = memdisk.marker +@COND_i386_qemu_TRUE@am__append_4644 = memdisk.module +@COND_i386_qemu_TRUE@am__append_4645 = memdisk.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4646 = +@COND_i386_qemu_TRUE@am__append_4647 = $(nodist_memdisk_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4648 = \ +@COND_i386_qemu_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_i386_qemu_TRUE@ memdisk.marker +@COND_i386_qemu_TRUE@am__append_4649 = memdisk.mod +@COND_i386_qemu_TRUE@am__append_4650 = memdisk.marker +@COND_i386_coreboot_TRUE@am__append_4651 = memdisk.module +@COND_i386_coreboot_TRUE@am__append_4652 = memdisk.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4653 = +@COND_i386_coreboot_TRUE@am__append_4654 = $(nodist_memdisk_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4655 = \ +@COND_i386_coreboot_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ memdisk.marker +@COND_i386_coreboot_TRUE@am__append_4656 = memdisk.mod +@COND_i386_coreboot_TRUE@am__append_4657 = memdisk.marker +@COND_i386_multiboot_TRUE@am__append_4658 = memdisk.module +@COND_i386_multiboot_TRUE@am__append_4659 = memdisk.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4660 = +@COND_i386_multiboot_TRUE@am__append_4661 = $(nodist_memdisk_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4662 = \ +@COND_i386_multiboot_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ memdisk.marker +@COND_i386_multiboot_TRUE@am__append_4663 = memdisk.mod +@COND_i386_multiboot_TRUE@am__append_4664 = memdisk.marker +@COND_i386_ieee1275_TRUE@am__append_4665 = memdisk.module +@COND_i386_ieee1275_TRUE@am__append_4666 = memdisk.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4667 = +@COND_i386_ieee1275_TRUE@am__append_4668 = $(nodist_memdisk_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4669 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ memdisk.marker +@COND_i386_ieee1275_TRUE@am__append_4670 = memdisk.mod +@COND_i386_ieee1275_TRUE@am__append_4671 = memdisk.marker +@COND_x86_64_efi_TRUE@am__append_4672 = memdisk.module +@COND_x86_64_efi_TRUE@am__append_4673 = memdisk.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4674 = +@COND_x86_64_efi_TRUE@am__append_4675 = $(nodist_memdisk_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4676 = \ +@COND_x86_64_efi_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ memdisk.marker +@COND_x86_64_efi_TRUE@am__append_4677 = memdisk.mod +@COND_x86_64_efi_TRUE@am__append_4678 = memdisk.marker +@COND_mips_yeeloong_TRUE@am__append_4679 = memdisk.module +@COND_mips_yeeloong_TRUE@am__append_4680 = memdisk.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4681 = +@COND_mips_yeeloong_TRUE@am__append_4682 = $(nodist_memdisk_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4683 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ memdisk.marker +@COND_mips_yeeloong_TRUE@am__append_4684 = memdisk.mod +@COND_mips_yeeloong_TRUE@am__append_4685 = memdisk.marker +@COND_sparc64_ieee1275_TRUE@am__append_4686 = memdisk.module +@COND_sparc64_ieee1275_TRUE@am__append_4687 = memdisk.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4688 = +@COND_sparc64_ieee1275_TRUE@am__append_4689 = $(nodist_memdisk_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4690 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ memdisk.marker +@COND_sparc64_ieee1275_TRUE@am__append_4691 = memdisk.mod +@COND_sparc64_ieee1275_TRUE@am__append_4692 = memdisk.marker +@COND_powerpc_ieee1275_TRUE@am__append_4693 = memdisk.module +@COND_powerpc_ieee1275_TRUE@am__append_4694 = memdisk.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4695 = +@COND_powerpc_ieee1275_TRUE@am__append_4696 = $(nodist_memdisk_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4697 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_memdisk_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ memdisk.marker +@COND_powerpc_ieee1275_TRUE@am__append_4698 = memdisk.mod +@COND_powerpc_ieee1275_TRUE@am__append_4699 = memdisk.marker +@COND_i386_pc_TRUE@am__append_4700 = ata.module +@COND_i386_pc_TRUE@am__append_4701 = ata.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4702 = +@COND_i386_pc_TRUE@am__append_4703 = $(nodist_ata_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4704 = $(nodist_ata_module_SOURCES) \ +@COND_i386_pc_TRUE@ ata.marker +@COND_i386_pc_TRUE@am__append_4705 = ata.mod +@COND_i386_pc_TRUE@am__append_4706 = ata.marker +@COND_i386_efi_TRUE@am__append_4707 = ata.module +@COND_i386_efi_TRUE@am__append_4708 = ata.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4709 = +@COND_i386_efi_TRUE@am__append_4710 = $(nodist_ata_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4711 = $(nodist_ata_module_SOURCES) \ +@COND_i386_efi_TRUE@ ata.marker +@COND_i386_efi_TRUE@am__append_4712 = ata.mod +@COND_i386_efi_TRUE@am__append_4713 = ata.marker +@COND_i386_qemu_TRUE@am__append_4714 = ata.module +@COND_i386_qemu_TRUE@am__append_4715 = ata.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4716 = +@COND_i386_qemu_TRUE@am__append_4717 = $(nodist_ata_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4718 = $(nodist_ata_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ata.marker +@COND_i386_qemu_TRUE@am__append_4719 = ata.mod +@COND_i386_qemu_TRUE@am__append_4720 = ata.marker +@COND_i386_coreboot_TRUE@am__append_4721 = ata.module +@COND_i386_coreboot_TRUE@am__append_4722 = ata.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4723 = +@COND_i386_coreboot_TRUE@am__append_4724 = $(nodist_ata_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4725 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ata_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ata.marker +@COND_i386_coreboot_TRUE@am__append_4726 = ata.mod +@COND_i386_coreboot_TRUE@am__append_4727 = ata.marker +@COND_i386_multiboot_TRUE@am__append_4728 = ata.module +@COND_i386_multiboot_TRUE@am__append_4729 = ata.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4730 = +@COND_i386_multiboot_TRUE@am__append_4731 = $(nodist_ata_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4732 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ata_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ata.marker +@COND_i386_multiboot_TRUE@am__append_4733 = ata.mod +@COND_i386_multiboot_TRUE@am__append_4734 = ata.marker +@COND_i386_ieee1275_TRUE@am__append_4735 = ata.module +@COND_i386_ieee1275_TRUE@am__append_4736 = ata.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4737 = +@COND_i386_ieee1275_TRUE@am__append_4738 = $(nodist_ata_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4739 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ata_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ata.marker +@COND_i386_ieee1275_TRUE@am__append_4740 = ata.mod +@COND_i386_ieee1275_TRUE@am__append_4741 = ata.marker +@COND_x86_64_efi_TRUE@am__append_4742 = ata.module +@COND_x86_64_efi_TRUE@am__append_4743 = ata.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4744 = +@COND_x86_64_efi_TRUE@am__append_4745 = $(nodist_ata_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4746 = $(nodist_ata_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ata.marker +@COND_x86_64_efi_TRUE@am__append_4747 = ata.mod +@COND_x86_64_efi_TRUE@am__append_4748 = ata.marker +@COND_mips_yeeloong_TRUE@am__append_4749 = ata.module +@COND_mips_yeeloong_TRUE@am__append_4750 = ata.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4751 = +@COND_mips_yeeloong_TRUE@am__append_4752 = $(nodist_ata_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4753 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ata_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ata.marker +@COND_mips_yeeloong_TRUE@am__append_4754 = ata.mod +@COND_mips_yeeloong_TRUE@am__append_4755 = ata.marker +@COND_i386_pc_TRUE@am__append_4756 = ata_pthru.module +@COND_i386_pc_TRUE@am__append_4757 = ata_pthru.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4758 = +@COND_i386_pc_TRUE@am__append_4759 = $(nodist_ata_pthru_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4760 = \ +@COND_i386_pc_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_i386_pc_TRUE@ ata_pthru.marker +@COND_i386_pc_TRUE@am__append_4761 = ata_pthru.mod +@COND_i386_pc_TRUE@am__append_4762 = ata_pthru.marker +@COND_i386_efi_TRUE@am__append_4763 = ata_pthru.module +@COND_i386_efi_TRUE@am__append_4764 = ata_pthru.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4765 = +@COND_i386_efi_TRUE@am__append_4766 = $(nodist_ata_pthru_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4767 = \ +@COND_i386_efi_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_i386_efi_TRUE@ ata_pthru.marker +@COND_i386_efi_TRUE@am__append_4768 = ata_pthru.mod +@COND_i386_efi_TRUE@am__append_4769 = ata_pthru.marker +@COND_i386_qemu_TRUE@am__append_4770 = ata_pthru.module +@COND_i386_qemu_TRUE@am__append_4771 = ata_pthru.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4772 = +@COND_i386_qemu_TRUE@am__append_4773 = $(nodist_ata_pthru_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4774 = \ +@COND_i386_qemu_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ata_pthru.marker +@COND_i386_qemu_TRUE@am__append_4775 = ata_pthru.mod +@COND_i386_qemu_TRUE@am__append_4776 = ata_pthru.marker +@COND_i386_coreboot_TRUE@am__append_4777 = ata_pthru.module +@COND_i386_coreboot_TRUE@am__append_4778 = ata_pthru.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4779 = +@COND_i386_coreboot_TRUE@am__append_4780 = $(nodist_ata_pthru_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4781 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ata_pthru.marker +@COND_i386_coreboot_TRUE@am__append_4782 = ata_pthru.mod +@COND_i386_coreboot_TRUE@am__append_4783 = ata_pthru.marker +@COND_i386_multiboot_TRUE@am__append_4784 = ata_pthru.module +@COND_i386_multiboot_TRUE@am__append_4785 = ata_pthru.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4786 = +@COND_i386_multiboot_TRUE@am__append_4787 = $(nodist_ata_pthru_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4788 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ata_pthru.marker +@COND_i386_multiboot_TRUE@am__append_4789 = ata_pthru.mod +@COND_i386_multiboot_TRUE@am__append_4790 = ata_pthru.marker +@COND_i386_ieee1275_TRUE@am__append_4791 = ata_pthru.module +@COND_i386_ieee1275_TRUE@am__append_4792 = ata_pthru.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4793 = +@COND_i386_ieee1275_TRUE@am__append_4794 = $(nodist_ata_pthru_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4795 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ata_pthru.marker +@COND_i386_ieee1275_TRUE@am__append_4796 = ata_pthru.mod +@COND_i386_ieee1275_TRUE@am__append_4797 = ata_pthru.marker +@COND_x86_64_efi_TRUE@am__append_4798 = ata_pthru.module +@COND_x86_64_efi_TRUE@am__append_4799 = ata_pthru.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4800 = +@COND_x86_64_efi_TRUE@am__append_4801 = $(nodist_ata_pthru_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4802 = \ +@COND_x86_64_efi_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ata_pthru.marker +@COND_x86_64_efi_TRUE@am__append_4803 = ata_pthru.mod +@COND_x86_64_efi_TRUE@am__append_4804 = ata_pthru.marker +@COND_mips_yeeloong_TRUE@am__append_4805 = ata_pthru.module +@COND_mips_yeeloong_TRUE@am__append_4806 = ata_pthru.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4807 = +@COND_mips_yeeloong_TRUE@am__append_4808 = $(nodist_ata_pthru_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4809 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ata_pthru_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ata_pthru.marker +@COND_mips_yeeloong_TRUE@am__append_4810 = ata_pthru.mod +@COND_mips_yeeloong_TRUE@am__append_4811 = ata_pthru.marker +@COND_i386_pc_TRUE@am__append_4812 = biosdisk.module +@COND_i386_pc_TRUE@am__append_4813 = biosdisk.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4814 = +@COND_i386_pc_TRUE@am__append_4815 = $(nodist_biosdisk_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4816 = \ +@COND_i386_pc_TRUE@ $(nodist_biosdisk_module_SOURCES) \ +@COND_i386_pc_TRUE@ biosdisk.marker +@COND_i386_pc_TRUE@am__append_4817 = biosdisk.mod +@COND_i386_pc_TRUE@am__append_4818 = biosdisk.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4819 = usbms.module +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4820 = usbms.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4821 = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4822 = $(nodist_usbms_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4823 = $(nodist_usbms_module_SOURCES) \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ usbms.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4824 = usbms.mod +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_4825 = usbms.marker +@COND_i386_pc_TRUE@am__append_4826 = usbms.module +@COND_i386_pc_TRUE@am__append_4827 = usbms.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4828 = +@COND_i386_pc_TRUE@am__append_4829 = $(nodist_usbms_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4830 = $(nodist_usbms_module_SOURCES) \ +@COND_i386_pc_TRUE@ usbms.marker +@COND_i386_pc_TRUE@am__append_4831 = usbms.mod +@COND_i386_pc_TRUE@am__append_4832 = usbms.marker +@COND_i386_efi_TRUE@am__append_4833 = usbms.module +@COND_i386_efi_TRUE@am__append_4834 = usbms.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4835 = +@COND_i386_efi_TRUE@am__append_4836 = $(nodist_usbms_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4837 = $(nodist_usbms_module_SOURCES) \ +@COND_i386_efi_TRUE@ usbms.marker +@COND_i386_efi_TRUE@am__append_4838 = usbms.mod +@COND_i386_efi_TRUE@am__append_4839 = usbms.marker +@COND_i386_qemu_TRUE@am__append_4840 = usbms.module +@COND_i386_qemu_TRUE@am__append_4841 = usbms.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4842 = +@COND_i386_qemu_TRUE@am__append_4843 = $(nodist_usbms_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4844 = $(nodist_usbms_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usbms.marker +@COND_i386_qemu_TRUE@am__append_4845 = usbms.mod +@COND_i386_qemu_TRUE@am__append_4846 = usbms.marker +@COND_i386_coreboot_TRUE@am__append_4847 = usbms.module +@COND_i386_coreboot_TRUE@am__append_4848 = usbms.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4849 = +@COND_i386_coreboot_TRUE@am__append_4850 = $(nodist_usbms_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4851 = \ +@COND_i386_coreboot_TRUE@ $(nodist_usbms_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usbms.marker +@COND_i386_coreboot_TRUE@am__append_4852 = usbms.mod +@COND_i386_coreboot_TRUE@am__append_4853 = usbms.marker +@COND_i386_multiboot_TRUE@am__append_4854 = usbms.module +@COND_i386_multiboot_TRUE@am__append_4855 = usbms.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4856 = +@COND_i386_multiboot_TRUE@am__append_4857 = $(nodist_usbms_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4858 = \ +@COND_i386_multiboot_TRUE@ $(nodist_usbms_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usbms.marker +@COND_i386_multiboot_TRUE@am__append_4859 = usbms.mod +@COND_i386_multiboot_TRUE@am__append_4860 = usbms.marker +@COND_i386_ieee1275_TRUE@am__append_4861 = usbms.module +@COND_i386_ieee1275_TRUE@am__append_4862 = usbms.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4863 = +@COND_i386_ieee1275_TRUE@am__append_4864 = $(nodist_usbms_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4865 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_usbms_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usbms.marker +@COND_i386_ieee1275_TRUE@am__append_4866 = usbms.mod +@COND_i386_ieee1275_TRUE@am__append_4867 = usbms.marker +@COND_x86_64_efi_TRUE@am__append_4868 = usbms.module +@COND_x86_64_efi_TRUE@am__append_4869 = usbms.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4870 = +@COND_x86_64_efi_TRUE@am__append_4871 = $(nodist_usbms_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4872 = \ +@COND_x86_64_efi_TRUE@ $(nodist_usbms_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usbms.marker +@COND_x86_64_efi_TRUE@am__append_4873 = usbms.mod +@COND_x86_64_efi_TRUE@am__append_4874 = usbms.marker +@COND_mips_yeeloong_TRUE@am__append_4875 = usbms.module +@COND_mips_yeeloong_TRUE@am__append_4876 = usbms.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_4877 = +@COND_mips_yeeloong_TRUE@am__append_4878 = $(nodist_usbms_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_4879 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_usbms_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usbms.marker +@COND_mips_yeeloong_TRUE@am__append_4880 = usbms.mod +@COND_mips_yeeloong_TRUE@am__append_4881 = usbms.marker +@COND_i386_ieee1275_TRUE@am__append_4882 = nand.module +@COND_i386_ieee1275_TRUE@am__append_4883 = nand.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4884 = +@COND_i386_ieee1275_TRUE@am__append_4885 = $(nodist_nand_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4886 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_nand_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ nand.marker +@COND_i386_ieee1275_TRUE@am__append_4887 = nand.mod +@COND_i386_ieee1275_TRUE@am__append_4888 = nand.marker +@COND_i386_pc_TRUE@am__append_4889 = efiemu.module +@COND_i386_pc_TRUE@am__append_4890 = efiemu.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4891 = efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +@COND_i386_pc_TRUE@am__append_4892 = $(nodist_efiemu_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4893 = $(nodist_efiemu_module_SOURCES) \ +@COND_i386_pc_TRUE@ efiemu.marker +@COND_i386_pc_TRUE@am__append_4894 = efiemu.mod +@COND_i386_pc_TRUE@am__append_4895 = efiemu.marker +@COND_i386_qemu_TRUE@am__append_4896 = efiemu.module +@COND_i386_qemu_TRUE@am__append_4897 = efiemu.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4898 = efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +@COND_i386_qemu_TRUE@am__append_4899 = $(nodist_efiemu_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4900 = \ +@COND_i386_qemu_TRUE@ $(nodist_efiemu_module_SOURCES) \ +@COND_i386_qemu_TRUE@ efiemu.marker +@COND_i386_qemu_TRUE@am__append_4901 = efiemu.mod +@COND_i386_qemu_TRUE@am__append_4902 = efiemu.marker +@COND_i386_coreboot_TRUE@am__append_4903 = efiemu.module +@COND_i386_coreboot_TRUE@am__append_4904 = efiemu.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4905 = efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +@COND_i386_coreboot_TRUE@am__append_4906 = $(nodist_efiemu_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4907 = \ +@COND_i386_coreboot_TRUE@ $(nodist_efiemu_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ efiemu.marker +@COND_i386_coreboot_TRUE@am__append_4908 = efiemu.mod +@COND_i386_coreboot_TRUE@am__append_4909 = efiemu.marker +@COND_i386_multiboot_TRUE@am__append_4910 = efiemu.module +@COND_i386_multiboot_TRUE@am__append_4911 = efiemu.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4912 = efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +@COND_i386_multiboot_TRUE@am__append_4913 = $(nodist_efiemu_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4914 = \ +@COND_i386_multiboot_TRUE@ $(nodist_efiemu_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ efiemu.marker +@COND_i386_multiboot_TRUE@am__append_4915 = efiemu.mod +@COND_i386_multiboot_TRUE@am__append_4916 = efiemu.marker +@COND_i386_ieee1275_TRUE@am__append_4917 = efiemu.module +@COND_i386_ieee1275_TRUE@am__append_4918 = efiemu.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4919 = efiemu/prepare.c efiemu/loadcore.c efiemu/runtime/efiemu.S efiemu/runtime/efiemu.c +@COND_i386_ieee1275_TRUE@am__append_4920 = $(nodist_efiemu_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4921 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_efiemu_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ efiemu.marker +@COND_i386_ieee1275_TRUE@am__append_4922 = efiemu.mod +@COND_i386_ieee1275_TRUE@am__append_4923 = efiemu.marker +@COND_emu_TRUE@am__append_4924 = font.module +@COND_emu_TRUE@am__append_4925 = font.module$(EXEEXT) +@COND_emu_TRUE@am__append_4926 = +@COND_emu_TRUE@am__append_4927 = $(nodist_font_module_SOURCES) +@COND_emu_TRUE@am__append_4928 = $(nodist_font_module_SOURCES) \ +@COND_emu_TRUE@ font.marker +@COND_emu_TRUE@am__append_4929 = font.mod +@COND_emu_TRUE@am__append_4930 = font.marker +@COND_i386_pc_TRUE@am__append_4931 = font.module +@COND_i386_pc_TRUE@am__append_4932 = font.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_4933 = +@COND_i386_pc_TRUE@am__append_4934 = $(nodist_font_module_SOURCES) +@COND_i386_pc_TRUE@am__append_4935 = $(nodist_font_module_SOURCES) \ +@COND_i386_pc_TRUE@ font.marker +@COND_i386_pc_TRUE@am__append_4936 = font.mod +@COND_i386_pc_TRUE@am__append_4937 = font.marker +@COND_i386_efi_TRUE@am__append_4938 = font.module +@COND_i386_efi_TRUE@am__append_4939 = font.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_4940 = +@COND_i386_efi_TRUE@am__append_4941 = $(nodist_font_module_SOURCES) +@COND_i386_efi_TRUE@am__append_4942 = $(nodist_font_module_SOURCES) \ +@COND_i386_efi_TRUE@ font.marker +@COND_i386_efi_TRUE@am__append_4943 = font.mod +@COND_i386_efi_TRUE@am__append_4944 = font.marker +@COND_i386_qemu_TRUE@am__append_4945 = font.module +@COND_i386_qemu_TRUE@am__append_4946 = font.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_4947 = +@COND_i386_qemu_TRUE@am__append_4948 = $(nodist_font_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_4949 = $(nodist_font_module_SOURCES) \ +@COND_i386_qemu_TRUE@ font.marker +@COND_i386_qemu_TRUE@am__append_4950 = font.mod +@COND_i386_qemu_TRUE@am__append_4951 = font.marker +@COND_i386_coreboot_TRUE@am__append_4952 = font.module +@COND_i386_coreboot_TRUE@am__append_4953 = font.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_4954 = +@COND_i386_coreboot_TRUE@am__append_4955 = $(nodist_font_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_4956 = \ +@COND_i386_coreboot_TRUE@ $(nodist_font_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ font.marker +@COND_i386_coreboot_TRUE@am__append_4957 = font.mod +@COND_i386_coreboot_TRUE@am__append_4958 = font.marker +@COND_i386_multiboot_TRUE@am__append_4959 = font.module +@COND_i386_multiboot_TRUE@am__append_4960 = font.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_4961 = +@COND_i386_multiboot_TRUE@am__append_4962 = $(nodist_font_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_4963 = \ +@COND_i386_multiboot_TRUE@ $(nodist_font_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ font.marker +@COND_i386_multiboot_TRUE@am__append_4964 = font.mod +@COND_i386_multiboot_TRUE@am__append_4965 = font.marker +@COND_i386_ieee1275_TRUE@am__append_4966 = font.module +@COND_i386_ieee1275_TRUE@am__append_4967 = font.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_4968 = +@COND_i386_ieee1275_TRUE@am__append_4969 = $(nodist_font_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_4970 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_font_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ font.marker +@COND_i386_ieee1275_TRUE@am__append_4971 = font.mod +@COND_i386_ieee1275_TRUE@am__append_4972 = font.marker +@COND_x86_64_efi_TRUE@am__append_4973 = font.module +@COND_x86_64_efi_TRUE@am__append_4974 = font.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_4975 = +@COND_x86_64_efi_TRUE@am__append_4976 = $(nodist_font_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_4977 = $(nodist_font_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ font.marker +@COND_x86_64_efi_TRUE@am__append_4978 = font.mod +@COND_x86_64_efi_TRUE@am__append_4979 = font.marker +@COND_sparc64_ieee1275_TRUE@am__append_4980 = font.module +@COND_sparc64_ieee1275_TRUE@am__append_4981 = font.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_4982 = +@COND_sparc64_ieee1275_TRUE@am__append_4983 = $(nodist_font_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_4984 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_font_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ font.marker +@COND_sparc64_ieee1275_TRUE@am__append_4985 = font.mod +@COND_sparc64_ieee1275_TRUE@am__append_4986 = font.marker +@COND_powerpc_ieee1275_TRUE@am__append_4987 = font.module +@COND_powerpc_ieee1275_TRUE@am__append_4988 = font.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_4989 = +@COND_powerpc_ieee1275_TRUE@am__append_4990 = $(nodist_font_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_4991 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_font_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ font.marker +@COND_powerpc_ieee1275_TRUE@am__append_4992 = font.mod +@COND_powerpc_ieee1275_TRUE@am__append_4993 = font.marker +@COND_emu_TRUE@am__append_4994 = affs.module +@COND_emu_TRUE@am__append_4995 = affs.module$(EXEEXT) +@COND_emu_TRUE@am__append_4996 = +@COND_emu_TRUE@am__append_4997 = $(nodist_affs_module_SOURCES) +@COND_emu_TRUE@am__append_4998 = $(nodist_affs_module_SOURCES) \ +@COND_emu_TRUE@ affs.marker +@COND_emu_TRUE@am__append_4999 = affs.mod +@COND_emu_TRUE@am__append_5000 = affs.marker +@COND_i386_pc_TRUE@am__append_5001 = affs.module +@COND_i386_pc_TRUE@am__append_5002 = affs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5003 = +@COND_i386_pc_TRUE@am__append_5004 = $(nodist_affs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5005 = $(nodist_affs_module_SOURCES) \ +@COND_i386_pc_TRUE@ affs.marker +@COND_i386_pc_TRUE@am__append_5006 = affs.mod +@COND_i386_pc_TRUE@am__append_5007 = affs.marker +@COND_i386_efi_TRUE@am__append_5008 = affs.module +@COND_i386_efi_TRUE@am__append_5009 = affs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5010 = +@COND_i386_efi_TRUE@am__append_5011 = $(nodist_affs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5012 = $(nodist_affs_module_SOURCES) \ +@COND_i386_efi_TRUE@ affs.marker +@COND_i386_efi_TRUE@am__append_5013 = affs.mod +@COND_i386_efi_TRUE@am__append_5014 = affs.marker +@COND_i386_qemu_TRUE@am__append_5015 = affs.module +@COND_i386_qemu_TRUE@am__append_5016 = affs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5017 = +@COND_i386_qemu_TRUE@am__append_5018 = $(nodist_affs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5019 = $(nodist_affs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ affs.marker +@COND_i386_qemu_TRUE@am__append_5020 = affs.mod +@COND_i386_qemu_TRUE@am__append_5021 = affs.marker +@COND_i386_coreboot_TRUE@am__append_5022 = affs.module +@COND_i386_coreboot_TRUE@am__append_5023 = affs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5024 = +@COND_i386_coreboot_TRUE@am__append_5025 = $(nodist_affs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5026 = \ +@COND_i386_coreboot_TRUE@ $(nodist_affs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ affs.marker +@COND_i386_coreboot_TRUE@am__append_5027 = affs.mod +@COND_i386_coreboot_TRUE@am__append_5028 = affs.marker +@COND_i386_multiboot_TRUE@am__append_5029 = affs.module +@COND_i386_multiboot_TRUE@am__append_5030 = affs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5031 = +@COND_i386_multiboot_TRUE@am__append_5032 = $(nodist_affs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5033 = \ +@COND_i386_multiboot_TRUE@ $(nodist_affs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ affs.marker +@COND_i386_multiboot_TRUE@am__append_5034 = affs.mod +@COND_i386_multiboot_TRUE@am__append_5035 = affs.marker +@COND_i386_ieee1275_TRUE@am__append_5036 = affs.module +@COND_i386_ieee1275_TRUE@am__append_5037 = affs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5038 = +@COND_i386_ieee1275_TRUE@am__append_5039 = $(nodist_affs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5040 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_affs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ affs.marker +@COND_i386_ieee1275_TRUE@am__append_5041 = affs.mod +@COND_i386_ieee1275_TRUE@am__append_5042 = affs.marker +@COND_x86_64_efi_TRUE@am__append_5043 = affs.module +@COND_x86_64_efi_TRUE@am__append_5044 = affs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5045 = +@COND_x86_64_efi_TRUE@am__append_5046 = $(nodist_affs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5047 = $(nodist_affs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ affs.marker +@COND_x86_64_efi_TRUE@am__append_5048 = affs.mod +@COND_x86_64_efi_TRUE@am__append_5049 = affs.marker +@COND_mips_yeeloong_TRUE@am__append_5050 = affs.module +@COND_mips_yeeloong_TRUE@am__append_5051 = affs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5052 = +@COND_mips_yeeloong_TRUE@am__append_5053 = $(nodist_affs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5054 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_affs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ affs.marker +@COND_mips_yeeloong_TRUE@am__append_5055 = affs.mod +@COND_mips_yeeloong_TRUE@am__append_5056 = affs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5057 = affs.module +@COND_sparc64_ieee1275_TRUE@am__append_5058 = affs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5059 = +@COND_sparc64_ieee1275_TRUE@am__append_5060 = $(nodist_affs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5061 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_affs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ affs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5062 = affs.mod +@COND_sparc64_ieee1275_TRUE@am__append_5063 = affs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5064 = affs.module +@COND_powerpc_ieee1275_TRUE@am__append_5065 = affs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5066 = +@COND_powerpc_ieee1275_TRUE@am__append_5067 = $(nodist_affs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5068 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_affs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ affs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5069 = affs.mod +@COND_powerpc_ieee1275_TRUE@am__append_5070 = affs.marker +@COND_emu_TRUE@am__append_5071 = afs.module +@COND_emu_TRUE@am__append_5072 = afs.module$(EXEEXT) +@COND_emu_TRUE@am__append_5073 = +@COND_emu_TRUE@am__append_5074 = $(nodist_afs_module_SOURCES) +@COND_emu_TRUE@am__append_5075 = $(nodist_afs_module_SOURCES) \ +@COND_emu_TRUE@ afs.marker +@COND_emu_TRUE@am__append_5076 = afs.mod +@COND_emu_TRUE@am__append_5077 = afs.marker +@COND_i386_pc_TRUE@am__append_5078 = afs.module +@COND_i386_pc_TRUE@am__append_5079 = afs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5080 = +@COND_i386_pc_TRUE@am__append_5081 = $(nodist_afs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5082 = $(nodist_afs_module_SOURCES) \ +@COND_i386_pc_TRUE@ afs.marker +@COND_i386_pc_TRUE@am__append_5083 = afs.mod +@COND_i386_pc_TRUE@am__append_5084 = afs.marker +@COND_i386_efi_TRUE@am__append_5085 = afs.module +@COND_i386_efi_TRUE@am__append_5086 = afs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5087 = +@COND_i386_efi_TRUE@am__append_5088 = $(nodist_afs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5089 = $(nodist_afs_module_SOURCES) \ +@COND_i386_efi_TRUE@ afs.marker +@COND_i386_efi_TRUE@am__append_5090 = afs.mod +@COND_i386_efi_TRUE@am__append_5091 = afs.marker +@COND_i386_qemu_TRUE@am__append_5092 = afs.module +@COND_i386_qemu_TRUE@am__append_5093 = afs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5094 = +@COND_i386_qemu_TRUE@am__append_5095 = $(nodist_afs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5096 = $(nodist_afs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ afs.marker +@COND_i386_qemu_TRUE@am__append_5097 = afs.mod +@COND_i386_qemu_TRUE@am__append_5098 = afs.marker +@COND_i386_coreboot_TRUE@am__append_5099 = afs.module +@COND_i386_coreboot_TRUE@am__append_5100 = afs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5101 = +@COND_i386_coreboot_TRUE@am__append_5102 = $(nodist_afs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5103 = \ +@COND_i386_coreboot_TRUE@ $(nodist_afs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ afs.marker +@COND_i386_coreboot_TRUE@am__append_5104 = afs.mod +@COND_i386_coreboot_TRUE@am__append_5105 = afs.marker +@COND_i386_multiboot_TRUE@am__append_5106 = afs.module +@COND_i386_multiboot_TRUE@am__append_5107 = afs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5108 = +@COND_i386_multiboot_TRUE@am__append_5109 = $(nodist_afs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5110 = \ +@COND_i386_multiboot_TRUE@ $(nodist_afs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ afs.marker +@COND_i386_multiboot_TRUE@am__append_5111 = afs.mod +@COND_i386_multiboot_TRUE@am__append_5112 = afs.marker +@COND_i386_ieee1275_TRUE@am__append_5113 = afs.module +@COND_i386_ieee1275_TRUE@am__append_5114 = afs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5115 = +@COND_i386_ieee1275_TRUE@am__append_5116 = $(nodist_afs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5117 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_afs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ afs.marker +@COND_i386_ieee1275_TRUE@am__append_5118 = afs.mod +@COND_i386_ieee1275_TRUE@am__append_5119 = afs.marker +@COND_x86_64_efi_TRUE@am__append_5120 = afs.module +@COND_x86_64_efi_TRUE@am__append_5121 = afs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5122 = +@COND_x86_64_efi_TRUE@am__append_5123 = $(nodist_afs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5124 = $(nodist_afs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ afs.marker +@COND_x86_64_efi_TRUE@am__append_5125 = afs.mod +@COND_x86_64_efi_TRUE@am__append_5126 = afs.marker +@COND_mips_yeeloong_TRUE@am__append_5127 = afs.module +@COND_mips_yeeloong_TRUE@am__append_5128 = afs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5129 = +@COND_mips_yeeloong_TRUE@am__append_5130 = $(nodist_afs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5131 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_afs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ afs.marker +@COND_mips_yeeloong_TRUE@am__append_5132 = afs.mod +@COND_mips_yeeloong_TRUE@am__append_5133 = afs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5134 = afs.module +@COND_sparc64_ieee1275_TRUE@am__append_5135 = afs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5136 = +@COND_sparc64_ieee1275_TRUE@am__append_5137 = $(nodist_afs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5138 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_afs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ afs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5139 = afs.mod +@COND_sparc64_ieee1275_TRUE@am__append_5140 = afs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5141 = afs.module +@COND_powerpc_ieee1275_TRUE@am__append_5142 = afs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5143 = +@COND_powerpc_ieee1275_TRUE@am__append_5144 = $(nodist_afs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5145 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_afs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ afs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5146 = afs.mod +@COND_powerpc_ieee1275_TRUE@am__append_5147 = afs.marker +@COND_emu_TRUE@am__append_5148 = afs_be.module +@COND_emu_TRUE@am__append_5149 = afs_be.module$(EXEEXT) +@COND_emu_TRUE@am__append_5150 = +@COND_emu_TRUE@am__append_5151 = $(nodist_afs_be_module_SOURCES) +@COND_emu_TRUE@am__append_5152 = $(nodist_afs_be_module_SOURCES) \ +@COND_emu_TRUE@ afs_be.marker +@COND_emu_TRUE@am__append_5153 = afs_be.mod +@COND_emu_TRUE@am__append_5154 = afs_be.marker +@COND_i386_pc_TRUE@am__append_5155 = afs_be.module +@COND_i386_pc_TRUE@am__append_5156 = afs_be.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5157 = +@COND_i386_pc_TRUE@am__append_5158 = $(nodist_afs_be_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5159 = $(nodist_afs_be_module_SOURCES) \ +@COND_i386_pc_TRUE@ afs_be.marker +@COND_i386_pc_TRUE@am__append_5160 = afs_be.mod +@COND_i386_pc_TRUE@am__append_5161 = afs_be.marker +@COND_i386_efi_TRUE@am__append_5162 = afs_be.module +@COND_i386_efi_TRUE@am__append_5163 = afs_be.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5164 = +@COND_i386_efi_TRUE@am__append_5165 = $(nodist_afs_be_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5166 = $(nodist_afs_be_module_SOURCES) \ +@COND_i386_efi_TRUE@ afs_be.marker +@COND_i386_efi_TRUE@am__append_5167 = afs_be.mod +@COND_i386_efi_TRUE@am__append_5168 = afs_be.marker +@COND_i386_qemu_TRUE@am__append_5169 = afs_be.module +@COND_i386_qemu_TRUE@am__append_5170 = afs_be.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5171 = +@COND_i386_qemu_TRUE@am__append_5172 = $(nodist_afs_be_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5173 = \ +@COND_i386_qemu_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_i386_qemu_TRUE@ afs_be.marker +@COND_i386_qemu_TRUE@am__append_5174 = afs_be.mod +@COND_i386_qemu_TRUE@am__append_5175 = afs_be.marker +@COND_i386_coreboot_TRUE@am__append_5176 = afs_be.module +@COND_i386_coreboot_TRUE@am__append_5177 = afs_be.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5178 = +@COND_i386_coreboot_TRUE@am__append_5179 = $(nodist_afs_be_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5180 = \ +@COND_i386_coreboot_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ afs_be.marker +@COND_i386_coreboot_TRUE@am__append_5181 = afs_be.mod +@COND_i386_coreboot_TRUE@am__append_5182 = afs_be.marker +@COND_i386_multiboot_TRUE@am__append_5183 = afs_be.module +@COND_i386_multiboot_TRUE@am__append_5184 = afs_be.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5185 = +@COND_i386_multiboot_TRUE@am__append_5186 = $(nodist_afs_be_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5187 = \ +@COND_i386_multiboot_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ afs_be.marker +@COND_i386_multiboot_TRUE@am__append_5188 = afs_be.mod +@COND_i386_multiboot_TRUE@am__append_5189 = afs_be.marker +@COND_i386_ieee1275_TRUE@am__append_5190 = afs_be.module +@COND_i386_ieee1275_TRUE@am__append_5191 = afs_be.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5192 = +@COND_i386_ieee1275_TRUE@am__append_5193 = $(nodist_afs_be_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5194 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ afs_be.marker +@COND_i386_ieee1275_TRUE@am__append_5195 = afs_be.mod +@COND_i386_ieee1275_TRUE@am__append_5196 = afs_be.marker +@COND_x86_64_efi_TRUE@am__append_5197 = afs_be.module +@COND_x86_64_efi_TRUE@am__append_5198 = afs_be.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5199 = +@COND_x86_64_efi_TRUE@am__append_5200 = $(nodist_afs_be_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5201 = \ +@COND_x86_64_efi_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ afs_be.marker +@COND_x86_64_efi_TRUE@am__append_5202 = afs_be.mod +@COND_x86_64_efi_TRUE@am__append_5203 = afs_be.marker +@COND_mips_yeeloong_TRUE@am__append_5204 = afs_be.module +@COND_mips_yeeloong_TRUE@am__append_5205 = afs_be.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5206 = +@COND_mips_yeeloong_TRUE@am__append_5207 = $(nodist_afs_be_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5208 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ afs_be.marker +@COND_mips_yeeloong_TRUE@am__append_5209 = afs_be.mod +@COND_mips_yeeloong_TRUE@am__append_5210 = afs_be.marker +@COND_sparc64_ieee1275_TRUE@am__append_5211 = afs_be.module +@COND_sparc64_ieee1275_TRUE@am__append_5212 = afs_be.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5213 = +@COND_sparc64_ieee1275_TRUE@am__append_5214 = $(nodist_afs_be_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5215 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ afs_be.marker +@COND_sparc64_ieee1275_TRUE@am__append_5216 = afs_be.mod +@COND_sparc64_ieee1275_TRUE@am__append_5217 = afs_be.marker +@COND_powerpc_ieee1275_TRUE@am__append_5218 = afs_be.module +@COND_powerpc_ieee1275_TRUE@am__append_5219 = afs_be.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5220 = +@COND_powerpc_ieee1275_TRUE@am__append_5221 = $(nodist_afs_be_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5222 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_afs_be_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ afs_be.marker +@COND_powerpc_ieee1275_TRUE@am__append_5223 = afs_be.mod +@COND_powerpc_ieee1275_TRUE@am__append_5224 = afs_be.marker +@COND_emu_TRUE@am__append_5225 = befs.module +@COND_emu_TRUE@am__append_5226 = befs.module$(EXEEXT) +@COND_emu_TRUE@am__append_5227 = +@COND_emu_TRUE@am__append_5228 = $(nodist_befs_module_SOURCES) +@COND_emu_TRUE@am__append_5229 = $(nodist_befs_module_SOURCES) \ +@COND_emu_TRUE@ befs.marker +@COND_emu_TRUE@am__append_5230 = befs.mod +@COND_emu_TRUE@am__append_5231 = befs.marker +@COND_i386_pc_TRUE@am__append_5232 = befs.module +@COND_i386_pc_TRUE@am__append_5233 = befs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5234 = +@COND_i386_pc_TRUE@am__append_5235 = $(nodist_befs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5236 = $(nodist_befs_module_SOURCES) \ +@COND_i386_pc_TRUE@ befs.marker +@COND_i386_pc_TRUE@am__append_5237 = befs.mod +@COND_i386_pc_TRUE@am__append_5238 = befs.marker +@COND_i386_efi_TRUE@am__append_5239 = befs.module +@COND_i386_efi_TRUE@am__append_5240 = befs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5241 = +@COND_i386_efi_TRUE@am__append_5242 = $(nodist_befs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5243 = $(nodist_befs_module_SOURCES) \ +@COND_i386_efi_TRUE@ befs.marker +@COND_i386_efi_TRUE@am__append_5244 = befs.mod +@COND_i386_efi_TRUE@am__append_5245 = befs.marker +@COND_i386_qemu_TRUE@am__append_5246 = befs.module +@COND_i386_qemu_TRUE@am__append_5247 = befs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5248 = +@COND_i386_qemu_TRUE@am__append_5249 = $(nodist_befs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5250 = $(nodist_befs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ befs.marker +@COND_i386_qemu_TRUE@am__append_5251 = befs.mod +@COND_i386_qemu_TRUE@am__append_5252 = befs.marker +@COND_i386_coreboot_TRUE@am__append_5253 = befs.module +@COND_i386_coreboot_TRUE@am__append_5254 = befs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5255 = +@COND_i386_coreboot_TRUE@am__append_5256 = $(nodist_befs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5257 = \ +@COND_i386_coreboot_TRUE@ $(nodist_befs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ befs.marker +@COND_i386_coreboot_TRUE@am__append_5258 = befs.mod +@COND_i386_coreboot_TRUE@am__append_5259 = befs.marker +@COND_i386_multiboot_TRUE@am__append_5260 = befs.module +@COND_i386_multiboot_TRUE@am__append_5261 = befs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5262 = +@COND_i386_multiboot_TRUE@am__append_5263 = $(nodist_befs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5264 = \ +@COND_i386_multiboot_TRUE@ $(nodist_befs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ befs.marker +@COND_i386_multiboot_TRUE@am__append_5265 = befs.mod +@COND_i386_multiboot_TRUE@am__append_5266 = befs.marker +@COND_i386_ieee1275_TRUE@am__append_5267 = befs.module +@COND_i386_ieee1275_TRUE@am__append_5268 = befs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5269 = +@COND_i386_ieee1275_TRUE@am__append_5270 = $(nodist_befs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5271 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_befs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ befs.marker +@COND_i386_ieee1275_TRUE@am__append_5272 = befs.mod +@COND_i386_ieee1275_TRUE@am__append_5273 = befs.marker +@COND_x86_64_efi_TRUE@am__append_5274 = befs.module +@COND_x86_64_efi_TRUE@am__append_5275 = befs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5276 = +@COND_x86_64_efi_TRUE@am__append_5277 = $(nodist_befs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5278 = $(nodist_befs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ befs.marker +@COND_x86_64_efi_TRUE@am__append_5279 = befs.mod +@COND_x86_64_efi_TRUE@am__append_5280 = befs.marker +@COND_mips_yeeloong_TRUE@am__append_5281 = befs.module +@COND_mips_yeeloong_TRUE@am__append_5282 = befs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5283 = +@COND_mips_yeeloong_TRUE@am__append_5284 = $(nodist_befs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5285 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_befs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ befs.marker +@COND_mips_yeeloong_TRUE@am__append_5286 = befs.mod +@COND_mips_yeeloong_TRUE@am__append_5287 = befs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5288 = befs.module +@COND_sparc64_ieee1275_TRUE@am__append_5289 = befs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5290 = +@COND_sparc64_ieee1275_TRUE@am__append_5291 = $(nodist_befs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5292 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_befs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ befs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5293 = befs.mod +@COND_sparc64_ieee1275_TRUE@am__append_5294 = befs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5295 = befs.module +@COND_powerpc_ieee1275_TRUE@am__append_5296 = befs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5297 = +@COND_powerpc_ieee1275_TRUE@am__append_5298 = $(nodist_befs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5299 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_befs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ befs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5300 = befs.mod +@COND_powerpc_ieee1275_TRUE@am__append_5301 = befs.marker +@COND_emu_TRUE@am__append_5302 = befs_be.module +@COND_emu_TRUE@am__append_5303 = befs_be.module$(EXEEXT) +@COND_emu_TRUE@am__append_5304 = +@COND_emu_TRUE@am__append_5305 = $(nodist_befs_be_module_SOURCES) +@COND_emu_TRUE@am__append_5306 = $(nodist_befs_be_module_SOURCES) \ +@COND_emu_TRUE@ befs_be.marker +@COND_emu_TRUE@am__append_5307 = befs_be.mod +@COND_emu_TRUE@am__append_5308 = befs_be.marker +@COND_i386_pc_TRUE@am__append_5309 = befs_be.module +@COND_i386_pc_TRUE@am__append_5310 = befs_be.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5311 = +@COND_i386_pc_TRUE@am__append_5312 = $(nodist_befs_be_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5313 = $(nodist_befs_be_module_SOURCES) \ +@COND_i386_pc_TRUE@ befs_be.marker +@COND_i386_pc_TRUE@am__append_5314 = befs_be.mod +@COND_i386_pc_TRUE@am__append_5315 = befs_be.marker +@COND_i386_efi_TRUE@am__append_5316 = befs_be.module +@COND_i386_efi_TRUE@am__append_5317 = befs_be.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5318 = +@COND_i386_efi_TRUE@am__append_5319 = $(nodist_befs_be_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5320 = \ +@COND_i386_efi_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_i386_efi_TRUE@ befs_be.marker +@COND_i386_efi_TRUE@am__append_5321 = befs_be.mod +@COND_i386_efi_TRUE@am__append_5322 = befs_be.marker +@COND_i386_qemu_TRUE@am__append_5323 = befs_be.module +@COND_i386_qemu_TRUE@am__append_5324 = befs_be.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5325 = +@COND_i386_qemu_TRUE@am__append_5326 = $(nodist_befs_be_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5327 = \ +@COND_i386_qemu_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_i386_qemu_TRUE@ befs_be.marker +@COND_i386_qemu_TRUE@am__append_5328 = befs_be.mod +@COND_i386_qemu_TRUE@am__append_5329 = befs_be.marker +@COND_i386_coreboot_TRUE@am__append_5330 = befs_be.module +@COND_i386_coreboot_TRUE@am__append_5331 = befs_be.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5332 = +@COND_i386_coreboot_TRUE@am__append_5333 = $(nodist_befs_be_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5334 = \ +@COND_i386_coreboot_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ befs_be.marker +@COND_i386_coreboot_TRUE@am__append_5335 = befs_be.mod +@COND_i386_coreboot_TRUE@am__append_5336 = befs_be.marker +@COND_i386_multiboot_TRUE@am__append_5337 = befs_be.module +@COND_i386_multiboot_TRUE@am__append_5338 = befs_be.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5339 = +@COND_i386_multiboot_TRUE@am__append_5340 = $(nodist_befs_be_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5341 = \ +@COND_i386_multiboot_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ befs_be.marker +@COND_i386_multiboot_TRUE@am__append_5342 = befs_be.mod +@COND_i386_multiboot_TRUE@am__append_5343 = befs_be.marker +@COND_i386_ieee1275_TRUE@am__append_5344 = befs_be.module +@COND_i386_ieee1275_TRUE@am__append_5345 = befs_be.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5346 = +@COND_i386_ieee1275_TRUE@am__append_5347 = $(nodist_befs_be_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5348 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ befs_be.marker +@COND_i386_ieee1275_TRUE@am__append_5349 = befs_be.mod +@COND_i386_ieee1275_TRUE@am__append_5350 = befs_be.marker +@COND_x86_64_efi_TRUE@am__append_5351 = befs_be.module +@COND_x86_64_efi_TRUE@am__append_5352 = befs_be.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5353 = +@COND_x86_64_efi_TRUE@am__append_5354 = $(nodist_befs_be_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5355 = \ +@COND_x86_64_efi_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ befs_be.marker +@COND_x86_64_efi_TRUE@am__append_5356 = befs_be.mod +@COND_x86_64_efi_TRUE@am__append_5357 = befs_be.marker +@COND_mips_yeeloong_TRUE@am__append_5358 = befs_be.module +@COND_mips_yeeloong_TRUE@am__append_5359 = befs_be.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5360 = +@COND_mips_yeeloong_TRUE@am__append_5361 = $(nodist_befs_be_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5362 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ befs_be.marker +@COND_mips_yeeloong_TRUE@am__append_5363 = befs_be.mod +@COND_mips_yeeloong_TRUE@am__append_5364 = befs_be.marker +@COND_sparc64_ieee1275_TRUE@am__append_5365 = befs_be.module +@COND_sparc64_ieee1275_TRUE@am__append_5366 = befs_be.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5367 = +@COND_sparc64_ieee1275_TRUE@am__append_5368 = $(nodist_befs_be_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5369 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ befs_be.marker +@COND_sparc64_ieee1275_TRUE@am__append_5370 = befs_be.mod +@COND_sparc64_ieee1275_TRUE@am__append_5371 = befs_be.marker +@COND_powerpc_ieee1275_TRUE@am__append_5372 = befs_be.module +@COND_powerpc_ieee1275_TRUE@am__append_5373 = befs_be.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5374 = +@COND_powerpc_ieee1275_TRUE@am__append_5375 = $(nodist_befs_be_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5376 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_befs_be_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ befs_be.marker +@COND_powerpc_ieee1275_TRUE@am__append_5377 = befs_be.mod +@COND_powerpc_ieee1275_TRUE@am__append_5378 = befs_be.marker +@COND_emu_TRUE@am__append_5379 = btrfs.module +@COND_emu_TRUE@am__append_5380 = btrfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_5381 = +@COND_emu_TRUE@am__append_5382 = $(nodist_btrfs_module_SOURCES) +@COND_emu_TRUE@am__append_5383 = $(nodist_btrfs_module_SOURCES) \ +@COND_emu_TRUE@ btrfs.marker +@COND_emu_TRUE@am__append_5384 = btrfs.mod +@COND_emu_TRUE@am__append_5385 = btrfs.marker +@COND_i386_pc_TRUE@am__append_5386 = btrfs.module +@COND_i386_pc_TRUE@am__append_5387 = btrfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5388 = +@COND_i386_pc_TRUE@am__append_5389 = $(nodist_btrfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5390 = $(nodist_btrfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ btrfs.marker +@COND_i386_pc_TRUE@am__append_5391 = btrfs.mod +@COND_i386_pc_TRUE@am__append_5392 = btrfs.marker +@COND_i386_efi_TRUE@am__append_5393 = btrfs.module +@COND_i386_efi_TRUE@am__append_5394 = btrfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5395 = +@COND_i386_efi_TRUE@am__append_5396 = $(nodist_btrfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5397 = $(nodist_btrfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ btrfs.marker +@COND_i386_efi_TRUE@am__append_5398 = btrfs.mod +@COND_i386_efi_TRUE@am__append_5399 = btrfs.marker +@COND_i386_qemu_TRUE@am__append_5400 = btrfs.module +@COND_i386_qemu_TRUE@am__append_5401 = btrfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5402 = +@COND_i386_qemu_TRUE@am__append_5403 = $(nodist_btrfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5404 = $(nodist_btrfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ btrfs.marker +@COND_i386_qemu_TRUE@am__append_5405 = btrfs.mod +@COND_i386_qemu_TRUE@am__append_5406 = btrfs.marker +@COND_i386_coreboot_TRUE@am__append_5407 = btrfs.module +@COND_i386_coreboot_TRUE@am__append_5408 = btrfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5409 = +@COND_i386_coreboot_TRUE@am__append_5410 = $(nodist_btrfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5411 = \ +@COND_i386_coreboot_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ btrfs.marker +@COND_i386_coreboot_TRUE@am__append_5412 = btrfs.mod +@COND_i386_coreboot_TRUE@am__append_5413 = btrfs.marker +@COND_i386_multiboot_TRUE@am__append_5414 = btrfs.module +@COND_i386_multiboot_TRUE@am__append_5415 = btrfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5416 = +@COND_i386_multiboot_TRUE@am__append_5417 = $(nodist_btrfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5418 = \ +@COND_i386_multiboot_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ btrfs.marker +@COND_i386_multiboot_TRUE@am__append_5419 = btrfs.mod +@COND_i386_multiboot_TRUE@am__append_5420 = btrfs.marker +@COND_i386_ieee1275_TRUE@am__append_5421 = btrfs.module +@COND_i386_ieee1275_TRUE@am__append_5422 = btrfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5423 = +@COND_i386_ieee1275_TRUE@am__append_5424 = $(nodist_btrfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5425 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ btrfs.marker +@COND_i386_ieee1275_TRUE@am__append_5426 = btrfs.mod +@COND_i386_ieee1275_TRUE@am__append_5427 = btrfs.marker +@COND_x86_64_efi_TRUE@am__append_5428 = btrfs.module +@COND_x86_64_efi_TRUE@am__append_5429 = btrfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5430 = +@COND_x86_64_efi_TRUE@am__append_5431 = $(nodist_btrfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5432 = \ +@COND_x86_64_efi_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ btrfs.marker +@COND_x86_64_efi_TRUE@am__append_5433 = btrfs.mod +@COND_x86_64_efi_TRUE@am__append_5434 = btrfs.marker +@COND_mips_yeeloong_TRUE@am__append_5435 = btrfs.module +@COND_mips_yeeloong_TRUE@am__append_5436 = btrfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5437 = +@COND_mips_yeeloong_TRUE@am__append_5438 = $(nodist_btrfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5439 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ btrfs.marker +@COND_mips_yeeloong_TRUE@am__append_5440 = btrfs.mod +@COND_mips_yeeloong_TRUE@am__append_5441 = btrfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5442 = btrfs.module +@COND_sparc64_ieee1275_TRUE@am__append_5443 = btrfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5444 = +@COND_sparc64_ieee1275_TRUE@am__append_5445 = $(nodist_btrfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5446 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ btrfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5447 = btrfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_5448 = btrfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5449 = btrfs.module +@COND_powerpc_ieee1275_TRUE@am__append_5450 = btrfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5451 = +@COND_powerpc_ieee1275_TRUE@am__append_5452 = $(nodist_btrfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5453 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_btrfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ btrfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5454 = btrfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_5455 = btrfs.marker +@COND_emu_TRUE@am__append_5456 = cpio.module +@COND_emu_TRUE@am__append_5457 = cpio.module$(EXEEXT) +@COND_emu_TRUE@am__append_5458 = +@COND_emu_TRUE@am__append_5459 = $(nodist_cpio_module_SOURCES) +@COND_emu_TRUE@am__append_5460 = $(nodist_cpio_module_SOURCES) \ +@COND_emu_TRUE@ cpio.marker +@COND_emu_TRUE@am__append_5461 = cpio.mod +@COND_emu_TRUE@am__append_5462 = cpio.marker +@COND_i386_pc_TRUE@am__append_5463 = cpio.module +@COND_i386_pc_TRUE@am__append_5464 = cpio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5465 = +@COND_i386_pc_TRUE@am__append_5466 = $(nodist_cpio_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5467 = $(nodist_cpio_module_SOURCES) \ +@COND_i386_pc_TRUE@ cpio.marker +@COND_i386_pc_TRUE@am__append_5468 = cpio.mod +@COND_i386_pc_TRUE@am__append_5469 = cpio.marker +@COND_i386_efi_TRUE@am__append_5470 = cpio.module +@COND_i386_efi_TRUE@am__append_5471 = cpio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5472 = +@COND_i386_efi_TRUE@am__append_5473 = $(nodist_cpio_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5474 = $(nodist_cpio_module_SOURCES) \ +@COND_i386_efi_TRUE@ cpio.marker +@COND_i386_efi_TRUE@am__append_5475 = cpio.mod +@COND_i386_efi_TRUE@am__append_5476 = cpio.marker +@COND_i386_qemu_TRUE@am__append_5477 = cpio.module +@COND_i386_qemu_TRUE@am__append_5478 = cpio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5479 = +@COND_i386_qemu_TRUE@am__append_5480 = $(nodist_cpio_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5481 = $(nodist_cpio_module_SOURCES) \ +@COND_i386_qemu_TRUE@ cpio.marker +@COND_i386_qemu_TRUE@am__append_5482 = cpio.mod +@COND_i386_qemu_TRUE@am__append_5483 = cpio.marker +@COND_i386_coreboot_TRUE@am__append_5484 = cpio.module +@COND_i386_coreboot_TRUE@am__append_5485 = cpio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5486 = +@COND_i386_coreboot_TRUE@am__append_5487 = $(nodist_cpio_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5488 = \ +@COND_i386_coreboot_TRUE@ $(nodist_cpio_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ cpio.marker +@COND_i386_coreboot_TRUE@am__append_5489 = cpio.mod +@COND_i386_coreboot_TRUE@am__append_5490 = cpio.marker +@COND_i386_multiboot_TRUE@am__append_5491 = cpio.module +@COND_i386_multiboot_TRUE@am__append_5492 = cpio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5493 = +@COND_i386_multiboot_TRUE@am__append_5494 = $(nodist_cpio_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5495 = \ +@COND_i386_multiboot_TRUE@ $(nodist_cpio_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ cpio.marker +@COND_i386_multiboot_TRUE@am__append_5496 = cpio.mod +@COND_i386_multiboot_TRUE@am__append_5497 = cpio.marker +@COND_i386_ieee1275_TRUE@am__append_5498 = cpio.module +@COND_i386_ieee1275_TRUE@am__append_5499 = cpio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5500 = +@COND_i386_ieee1275_TRUE@am__append_5501 = $(nodist_cpio_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5502 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_cpio_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ cpio.marker +@COND_i386_ieee1275_TRUE@am__append_5503 = cpio.mod +@COND_i386_ieee1275_TRUE@am__append_5504 = cpio.marker +@COND_x86_64_efi_TRUE@am__append_5505 = cpio.module +@COND_x86_64_efi_TRUE@am__append_5506 = cpio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5507 = +@COND_x86_64_efi_TRUE@am__append_5508 = $(nodist_cpio_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5509 = $(nodist_cpio_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ cpio.marker +@COND_x86_64_efi_TRUE@am__append_5510 = cpio.mod +@COND_x86_64_efi_TRUE@am__append_5511 = cpio.marker +@COND_mips_yeeloong_TRUE@am__append_5512 = cpio.module +@COND_mips_yeeloong_TRUE@am__append_5513 = cpio.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5514 = +@COND_mips_yeeloong_TRUE@am__append_5515 = $(nodist_cpio_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5516 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_cpio_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ cpio.marker +@COND_mips_yeeloong_TRUE@am__append_5517 = cpio.mod +@COND_mips_yeeloong_TRUE@am__append_5518 = cpio.marker +@COND_sparc64_ieee1275_TRUE@am__append_5519 = cpio.module +@COND_sparc64_ieee1275_TRUE@am__append_5520 = cpio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5521 = +@COND_sparc64_ieee1275_TRUE@am__append_5522 = $(nodist_cpio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5523 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_cpio_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ cpio.marker +@COND_sparc64_ieee1275_TRUE@am__append_5524 = cpio.mod +@COND_sparc64_ieee1275_TRUE@am__append_5525 = cpio.marker +@COND_powerpc_ieee1275_TRUE@am__append_5526 = cpio.module +@COND_powerpc_ieee1275_TRUE@am__append_5527 = cpio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5528 = +@COND_powerpc_ieee1275_TRUE@am__append_5529 = $(nodist_cpio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5530 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_cpio_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ cpio.marker +@COND_powerpc_ieee1275_TRUE@am__append_5531 = cpio.mod +@COND_powerpc_ieee1275_TRUE@am__append_5532 = cpio.marker +@COND_emu_TRUE@am__append_5533 = ext2.module +@COND_emu_TRUE@am__append_5534 = ext2.module$(EXEEXT) +@COND_emu_TRUE@am__append_5535 = +@COND_emu_TRUE@am__append_5536 = $(nodist_ext2_module_SOURCES) +@COND_emu_TRUE@am__append_5537 = $(nodist_ext2_module_SOURCES) \ +@COND_emu_TRUE@ ext2.marker +@COND_emu_TRUE@am__append_5538 = ext2.mod +@COND_emu_TRUE@am__append_5539 = ext2.marker +@COND_i386_pc_TRUE@am__append_5540 = ext2.module +@COND_i386_pc_TRUE@am__append_5541 = ext2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5542 = +@COND_i386_pc_TRUE@am__append_5543 = $(nodist_ext2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5544 = $(nodist_ext2_module_SOURCES) \ +@COND_i386_pc_TRUE@ ext2.marker +@COND_i386_pc_TRUE@am__append_5545 = ext2.mod +@COND_i386_pc_TRUE@am__append_5546 = ext2.marker +@COND_i386_efi_TRUE@am__append_5547 = ext2.module +@COND_i386_efi_TRUE@am__append_5548 = ext2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5549 = +@COND_i386_efi_TRUE@am__append_5550 = $(nodist_ext2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5551 = $(nodist_ext2_module_SOURCES) \ +@COND_i386_efi_TRUE@ ext2.marker +@COND_i386_efi_TRUE@am__append_5552 = ext2.mod +@COND_i386_efi_TRUE@am__append_5553 = ext2.marker +@COND_i386_qemu_TRUE@am__append_5554 = ext2.module +@COND_i386_qemu_TRUE@am__append_5555 = ext2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5556 = +@COND_i386_qemu_TRUE@am__append_5557 = $(nodist_ext2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5558 = $(nodist_ext2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ext2.marker +@COND_i386_qemu_TRUE@am__append_5559 = ext2.mod +@COND_i386_qemu_TRUE@am__append_5560 = ext2.marker +@COND_i386_coreboot_TRUE@am__append_5561 = ext2.module +@COND_i386_coreboot_TRUE@am__append_5562 = ext2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5563 = +@COND_i386_coreboot_TRUE@am__append_5564 = $(nodist_ext2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5565 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ext2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ext2.marker +@COND_i386_coreboot_TRUE@am__append_5566 = ext2.mod +@COND_i386_coreboot_TRUE@am__append_5567 = ext2.marker +@COND_i386_multiboot_TRUE@am__append_5568 = ext2.module +@COND_i386_multiboot_TRUE@am__append_5569 = ext2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5570 = +@COND_i386_multiboot_TRUE@am__append_5571 = $(nodist_ext2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5572 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ext2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ext2.marker +@COND_i386_multiboot_TRUE@am__append_5573 = ext2.mod +@COND_i386_multiboot_TRUE@am__append_5574 = ext2.marker +@COND_i386_ieee1275_TRUE@am__append_5575 = ext2.module +@COND_i386_ieee1275_TRUE@am__append_5576 = ext2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5577 = +@COND_i386_ieee1275_TRUE@am__append_5578 = $(nodist_ext2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5579 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ext2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ext2.marker +@COND_i386_ieee1275_TRUE@am__append_5580 = ext2.mod +@COND_i386_ieee1275_TRUE@am__append_5581 = ext2.marker +@COND_x86_64_efi_TRUE@am__append_5582 = ext2.module +@COND_x86_64_efi_TRUE@am__append_5583 = ext2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5584 = +@COND_x86_64_efi_TRUE@am__append_5585 = $(nodist_ext2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5586 = $(nodist_ext2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ext2.marker +@COND_x86_64_efi_TRUE@am__append_5587 = ext2.mod +@COND_x86_64_efi_TRUE@am__append_5588 = ext2.marker +@COND_mips_yeeloong_TRUE@am__append_5589 = ext2.module +@COND_mips_yeeloong_TRUE@am__append_5590 = ext2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5591 = +@COND_mips_yeeloong_TRUE@am__append_5592 = $(nodist_ext2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5593 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ext2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ext2.marker +@COND_mips_yeeloong_TRUE@am__append_5594 = ext2.mod +@COND_mips_yeeloong_TRUE@am__append_5595 = ext2.marker +@COND_sparc64_ieee1275_TRUE@am__append_5596 = ext2.module +@COND_sparc64_ieee1275_TRUE@am__append_5597 = ext2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5598 = +@COND_sparc64_ieee1275_TRUE@am__append_5599 = $(nodist_ext2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5600 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_ext2_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ ext2.marker +@COND_sparc64_ieee1275_TRUE@am__append_5601 = ext2.mod +@COND_sparc64_ieee1275_TRUE@am__append_5602 = ext2.marker +@COND_powerpc_ieee1275_TRUE@am__append_5603 = ext2.module +@COND_powerpc_ieee1275_TRUE@am__append_5604 = ext2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5605 = +@COND_powerpc_ieee1275_TRUE@am__append_5606 = $(nodist_ext2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5607 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ext2_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ext2.marker +@COND_powerpc_ieee1275_TRUE@am__append_5608 = ext2.mod +@COND_powerpc_ieee1275_TRUE@am__append_5609 = ext2.marker +@COND_emu_TRUE@am__append_5610 = fat.module +@COND_emu_TRUE@am__append_5611 = fat.module$(EXEEXT) +@COND_emu_TRUE@am__append_5612 = +@COND_emu_TRUE@am__append_5613 = $(nodist_fat_module_SOURCES) +@COND_emu_TRUE@am__append_5614 = $(nodist_fat_module_SOURCES) \ +@COND_emu_TRUE@ fat.marker +@COND_emu_TRUE@am__append_5615 = fat.mod +@COND_emu_TRUE@am__append_5616 = fat.marker +@COND_i386_pc_TRUE@am__append_5617 = fat.module +@COND_i386_pc_TRUE@am__append_5618 = fat.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5619 = +@COND_i386_pc_TRUE@am__append_5620 = $(nodist_fat_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5621 = $(nodist_fat_module_SOURCES) \ +@COND_i386_pc_TRUE@ fat.marker +@COND_i386_pc_TRUE@am__append_5622 = fat.mod +@COND_i386_pc_TRUE@am__append_5623 = fat.marker +@COND_i386_efi_TRUE@am__append_5624 = fat.module +@COND_i386_efi_TRUE@am__append_5625 = fat.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5626 = +@COND_i386_efi_TRUE@am__append_5627 = $(nodist_fat_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5628 = $(nodist_fat_module_SOURCES) \ +@COND_i386_efi_TRUE@ fat.marker +@COND_i386_efi_TRUE@am__append_5629 = fat.mod +@COND_i386_efi_TRUE@am__append_5630 = fat.marker +@COND_i386_qemu_TRUE@am__append_5631 = fat.module +@COND_i386_qemu_TRUE@am__append_5632 = fat.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5633 = +@COND_i386_qemu_TRUE@am__append_5634 = $(nodist_fat_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5635 = $(nodist_fat_module_SOURCES) \ +@COND_i386_qemu_TRUE@ fat.marker +@COND_i386_qemu_TRUE@am__append_5636 = fat.mod +@COND_i386_qemu_TRUE@am__append_5637 = fat.marker +@COND_i386_coreboot_TRUE@am__append_5638 = fat.module +@COND_i386_coreboot_TRUE@am__append_5639 = fat.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5640 = +@COND_i386_coreboot_TRUE@am__append_5641 = $(nodist_fat_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5642 = \ +@COND_i386_coreboot_TRUE@ $(nodist_fat_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ fat.marker +@COND_i386_coreboot_TRUE@am__append_5643 = fat.mod +@COND_i386_coreboot_TRUE@am__append_5644 = fat.marker +@COND_i386_multiboot_TRUE@am__append_5645 = fat.module +@COND_i386_multiboot_TRUE@am__append_5646 = fat.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5647 = +@COND_i386_multiboot_TRUE@am__append_5648 = $(nodist_fat_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5649 = \ +@COND_i386_multiboot_TRUE@ $(nodist_fat_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ fat.marker +@COND_i386_multiboot_TRUE@am__append_5650 = fat.mod +@COND_i386_multiboot_TRUE@am__append_5651 = fat.marker +@COND_i386_ieee1275_TRUE@am__append_5652 = fat.module +@COND_i386_ieee1275_TRUE@am__append_5653 = fat.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5654 = +@COND_i386_ieee1275_TRUE@am__append_5655 = $(nodist_fat_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5656 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_fat_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ fat.marker +@COND_i386_ieee1275_TRUE@am__append_5657 = fat.mod +@COND_i386_ieee1275_TRUE@am__append_5658 = fat.marker +@COND_x86_64_efi_TRUE@am__append_5659 = fat.module +@COND_x86_64_efi_TRUE@am__append_5660 = fat.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5661 = +@COND_x86_64_efi_TRUE@am__append_5662 = $(nodist_fat_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5663 = $(nodist_fat_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ fat.marker +@COND_x86_64_efi_TRUE@am__append_5664 = fat.mod +@COND_x86_64_efi_TRUE@am__append_5665 = fat.marker +@COND_mips_yeeloong_TRUE@am__append_5666 = fat.module +@COND_mips_yeeloong_TRUE@am__append_5667 = fat.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5668 = +@COND_mips_yeeloong_TRUE@am__append_5669 = $(nodist_fat_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5670 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_fat_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ fat.marker +@COND_mips_yeeloong_TRUE@am__append_5671 = fat.mod +@COND_mips_yeeloong_TRUE@am__append_5672 = fat.marker +@COND_sparc64_ieee1275_TRUE@am__append_5673 = fat.module +@COND_sparc64_ieee1275_TRUE@am__append_5674 = fat.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5675 = +@COND_sparc64_ieee1275_TRUE@am__append_5676 = $(nodist_fat_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5677 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_fat_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ fat.marker +@COND_sparc64_ieee1275_TRUE@am__append_5678 = fat.mod +@COND_sparc64_ieee1275_TRUE@am__append_5679 = fat.marker +@COND_powerpc_ieee1275_TRUE@am__append_5680 = fat.module +@COND_powerpc_ieee1275_TRUE@am__append_5681 = fat.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5682 = +@COND_powerpc_ieee1275_TRUE@am__append_5683 = $(nodist_fat_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5684 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_fat_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ fat.marker +@COND_powerpc_ieee1275_TRUE@am__append_5685 = fat.mod +@COND_powerpc_ieee1275_TRUE@am__append_5686 = fat.marker +@COND_emu_TRUE@am__append_5687 = fshelp.module +@COND_emu_TRUE@am__append_5688 = fshelp.module$(EXEEXT) +@COND_emu_TRUE@am__append_5689 = +@COND_emu_TRUE@am__append_5690 = $(nodist_fshelp_module_SOURCES) +@COND_emu_TRUE@am__append_5691 = $(nodist_fshelp_module_SOURCES) \ +@COND_emu_TRUE@ fshelp.marker +@COND_emu_TRUE@am__append_5692 = fshelp.mod +@COND_emu_TRUE@am__append_5693 = fshelp.marker +@COND_i386_pc_TRUE@am__append_5694 = fshelp.module +@COND_i386_pc_TRUE@am__append_5695 = fshelp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5696 = +@COND_i386_pc_TRUE@am__append_5697 = $(nodist_fshelp_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5698 = $(nodist_fshelp_module_SOURCES) \ +@COND_i386_pc_TRUE@ fshelp.marker +@COND_i386_pc_TRUE@am__append_5699 = fshelp.mod +@COND_i386_pc_TRUE@am__append_5700 = fshelp.marker +@COND_i386_efi_TRUE@am__append_5701 = fshelp.module +@COND_i386_efi_TRUE@am__append_5702 = fshelp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5703 = +@COND_i386_efi_TRUE@am__append_5704 = $(nodist_fshelp_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5705 = $(nodist_fshelp_module_SOURCES) \ +@COND_i386_efi_TRUE@ fshelp.marker +@COND_i386_efi_TRUE@am__append_5706 = fshelp.mod +@COND_i386_efi_TRUE@am__append_5707 = fshelp.marker +@COND_i386_qemu_TRUE@am__append_5708 = fshelp.module +@COND_i386_qemu_TRUE@am__append_5709 = fshelp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5710 = +@COND_i386_qemu_TRUE@am__append_5711 = $(nodist_fshelp_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5712 = \ +@COND_i386_qemu_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_i386_qemu_TRUE@ fshelp.marker +@COND_i386_qemu_TRUE@am__append_5713 = fshelp.mod +@COND_i386_qemu_TRUE@am__append_5714 = fshelp.marker +@COND_i386_coreboot_TRUE@am__append_5715 = fshelp.module +@COND_i386_coreboot_TRUE@am__append_5716 = fshelp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5717 = +@COND_i386_coreboot_TRUE@am__append_5718 = $(nodist_fshelp_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5719 = \ +@COND_i386_coreboot_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ fshelp.marker +@COND_i386_coreboot_TRUE@am__append_5720 = fshelp.mod +@COND_i386_coreboot_TRUE@am__append_5721 = fshelp.marker +@COND_i386_multiboot_TRUE@am__append_5722 = fshelp.module +@COND_i386_multiboot_TRUE@am__append_5723 = fshelp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5724 = +@COND_i386_multiboot_TRUE@am__append_5725 = $(nodist_fshelp_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5726 = \ +@COND_i386_multiboot_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ fshelp.marker +@COND_i386_multiboot_TRUE@am__append_5727 = fshelp.mod +@COND_i386_multiboot_TRUE@am__append_5728 = fshelp.marker +@COND_i386_ieee1275_TRUE@am__append_5729 = fshelp.module +@COND_i386_ieee1275_TRUE@am__append_5730 = fshelp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5731 = +@COND_i386_ieee1275_TRUE@am__append_5732 = $(nodist_fshelp_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5733 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ fshelp.marker +@COND_i386_ieee1275_TRUE@am__append_5734 = fshelp.mod +@COND_i386_ieee1275_TRUE@am__append_5735 = fshelp.marker +@COND_x86_64_efi_TRUE@am__append_5736 = fshelp.module +@COND_x86_64_efi_TRUE@am__append_5737 = fshelp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5738 = +@COND_x86_64_efi_TRUE@am__append_5739 = $(nodist_fshelp_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5740 = \ +@COND_x86_64_efi_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ fshelp.marker +@COND_x86_64_efi_TRUE@am__append_5741 = fshelp.mod +@COND_x86_64_efi_TRUE@am__append_5742 = fshelp.marker +@COND_mips_yeeloong_TRUE@am__append_5743 = fshelp.module +@COND_mips_yeeloong_TRUE@am__append_5744 = fshelp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5745 = +@COND_mips_yeeloong_TRUE@am__append_5746 = $(nodist_fshelp_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5747 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ fshelp.marker +@COND_mips_yeeloong_TRUE@am__append_5748 = fshelp.mod +@COND_mips_yeeloong_TRUE@am__append_5749 = fshelp.marker +@COND_sparc64_ieee1275_TRUE@am__append_5750 = fshelp.module +@COND_sparc64_ieee1275_TRUE@am__append_5751 = fshelp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5752 = +@COND_sparc64_ieee1275_TRUE@am__append_5753 = $(nodist_fshelp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5754 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ fshelp.marker +@COND_sparc64_ieee1275_TRUE@am__append_5755 = fshelp.mod +@COND_sparc64_ieee1275_TRUE@am__append_5756 = fshelp.marker +@COND_powerpc_ieee1275_TRUE@am__append_5757 = fshelp.module +@COND_powerpc_ieee1275_TRUE@am__append_5758 = fshelp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5759 = +@COND_powerpc_ieee1275_TRUE@am__append_5760 = $(nodist_fshelp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5761 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_fshelp_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ fshelp.marker +@COND_powerpc_ieee1275_TRUE@am__append_5762 = fshelp.mod +@COND_powerpc_ieee1275_TRUE@am__append_5763 = fshelp.marker +@COND_emu_TRUE@am__append_5764 = hfs.module +@COND_emu_TRUE@am__append_5765 = hfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_5766 = +@COND_emu_TRUE@am__append_5767 = $(nodist_hfs_module_SOURCES) +@COND_emu_TRUE@am__append_5768 = $(nodist_hfs_module_SOURCES) \ +@COND_emu_TRUE@ hfs.marker +@COND_emu_TRUE@am__append_5769 = hfs.mod +@COND_emu_TRUE@am__append_5770 = hfs.marker +@COND_i386_pc_TRUE@am__append_5771 = hfs.module +@COND_i386_pc_TRUE@am__append_5772 = hfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5773 = +@COND_i386_pc_TRUE@am__append_5774 = $(nodist_hfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5775 = $(nodist_hfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ hfs.marker +@COND_i386_pc_TRUE@am__append_5776 = hfs.mod +@COND_i386_pc_TRUE@am__append_5777 = hfs.marker +@COND_i386_efi_TRUE@am__append_5778 = hfs.module +@COND_i386_efi_TRUE@am__append_5779 = hfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5780 = +@COND_i386_efi_TRUE@am__append_5781 = $(nodist_hfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5782 = $(nodist_hfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ hfs.marker +@COND_i386_efi_TRUE@am__append_5783 = hfs.mod +@COND_i386_efi_TRUE@am__append_5784 = hfs.marker +@COND_i386_qemu_TRUE@am__append_5785 = hfs.module +@COND_i386_qemu_TRUE@am__append_5786 = hfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5787 = +@COND_i386_qemu_TRUE@am__append_5788 = $(nodist_hfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5789 = $(nodist_hfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ hfs.marker +@COND_i386_qemu_TRUE@am__append_5790 = hfs.mod +@COND_i386_qemu_TRUE@am__append_5791 = hfs.marker +@COND_i386_coreboot_TRUE@am__append_5792 = hfs.module +@COND_i386_coreboot_TRUE@am__append_5793 = hfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5794 = +@COND_i386_coreboot_TRUE@am__append_5795 = $(nodist_hfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5796 = \ +@COND_i386_coreboot_TRUE@ $(nodist_hfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ hfs.marker +@COND_i386_coreboot_TRUE@am__append_5797 = hfs.mod +@COND_i386_coreboot_TRUE@am__append_5798 = hfs.marker +@COND_i386_multiboot_TRUE@am__append_5799 = hfs.module +@COND_i386_multiboot_TRUE@am__append_5800 = hfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5801 = +@COND_i386_multiboot_TRUE@am__append_5802 = $(nodist_hfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5803 = \ +@COND_i386_multiboot_TRUE@ $(nodist_hfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ hfs.marker +@COND_i386_multiboot_TRUE@am__append_5804 = hfs.mod +@COND_i386_multiboot_TRUE@am__append_5805 = hfs.marker +@COND_i386_ieee1275_TRUE@am__append_5806 = hfs.module +@COND_i386_ieee1275_TRUE@am__append_5807 = hfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5808 = +@COND_i386_ieee1275_TRUE@am__append_5809 = $(nodist_hfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5810 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_hfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ hfs.marker +@COND_i386_ieee1275_TRUE@am__append_5811 = hfs.mod +@COND_i386_ieee1275_TRUE@am__append_5812 = hfs.marker +@COND_x86_64_efi_TRUE@am__append_5813 = hfs.module +@COND_x86_64_efi_TRUE@am__append_5814 = hfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5815 = +@COND_x86_64_efi_TRUE@am__append_5816 = $(nodist_hfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5817 = $(nodist_hfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ hfs.marker +@COND_x86_64_efi_TRUE@am__append_5818 = hfs.mod +@COND_x86_64_efi_TRUE@am__append_5819 = hfs.marker +@COND_mips_yeeloong_TRUE@am__append_5820 = hfs.module +@COND_mips_yeeloong_TRUE@am__append_5821 = hfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5822 = +@COND_mips_yeeloong_TRUE@am__append_5823 = $(nodist_hfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5824 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_hfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ hfs.marker +@COND_mips_yeeloong_TRUE@am__append_5825 = hfs.mod +@COND_mips_yeeloong_TRUE@am__append_5826 = hfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5827 = hfs.module +@COND_sparc64_ieee1275_TRUE@am__append_5828 = hfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5829 = +@COND_sparc64_ieee1275_TRUE@am__append_5830 = $(nodist_hfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5831 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_hfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ hfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_5832 = hfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_5833 = hfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5834 = hfs.module +@COND_powerpc_ieee1275_TRUE@am__append_5835 = hfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5836 = +@COND_powerpc_ieee1275_TRUE@am__append_5837 = $(nodist_hfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5838 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_hfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ hfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_5839 = hfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_5840 = hfs.marker +@COND_emu_TRUE@am__append_5841 = hfsplus.module +@COND_emu_TRUE@am__append_5842 = hfsplus.module$(EXEEXT) +@COND_emu_TRUE@am__append_5843 = +@COND_emu_TRUE@am__append_5844 = $(nodist_hfsplus_module_SOURCES) +@COND_emu_TRUE@am__append_5845 = $(nodist_hfsplus_module_SOURCES) \ +@COND_emu_TRUE@ hfsplus.marker +@COND_emu_TRUE@am__append_5846 = hfsplus.mod +@COND_emu_TRUE@am__append_5847 = hfsplus.marker +@COND_i386_pc_TRUE@am__append_5848 = hfsplus.module +@COND_i386_pc_TRUE@am__append_5849 = hfsplus.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5850 = +@COND_i386_pc_TRUE@am__append_5851 = $(nodist_hfsplus_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5852 = $(nodist_hfsplus_module_SOURCES) \ +@COND_i386_pc_TRUE@ hfsplus.marker +@COND_i386_pc_TRUE@am__append_5853 = hfsplus.mod +@COND_i386_pc_TRUE@am__append_5854 = hfsplus.marker +@COND_i386_efi_TRUE@am__append_5855 = hfsplus.module +@COND_i386_efi_TRUE@am__append_5856 = hfsplus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5857 = +@COND_i386_efi_TRUE@am__append_5858 = $(nodist_hfsplus_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5859 = \ +@COND_i386_efi_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_i386_efi_TRUE@ hfsplus.marker +@COND_i386_efi_TRUE@am__append_5860 = hfsplus.mod +@COND_i386_efi_TRUE@am__append_5861 = hfsplus.marker +@COND_i386_qemu_TRUE@am__append_5862 = hfsplus.module +@COND_i386_qemu_TRUE@am__append_5863 = hfsplus.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5864 = +@COND_i386_qemu_TRUE@am__append_5865 = $(nodist_hfsplus_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5866 = \ +@COND_i386_qemu_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_i386_qemu_TRUE@ hfsplus.marker +@COND_i386_qemu_TRUE@am__append_5867 = hfsplus.mod +@COND_i386_qemu_TRUE@am__append_5868 = hfsplus.marker +@COND_i386_coreboot_TRUE@am__append_5869 = hfsplus.module +@COND_i386_coreboot_TRUE@am__append_5870 = hfsplus.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5871 = +@COND_i386_coreboot_TRUE@am__append_5872 = $(nodist_hfsplus_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5873 = \ +@COND_i386_coreboot_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ hfsplus.marker +@COND_i386_coreboot_TRUE@am__append_5874 = hfsplus.mod +@COND_i386_coreboot_TRUE@am__append_5875 = hfsplus.marker +@COND_i386_multiboot_TRUE@am__append_5876 = hfsplus.module +@COND_i386_multiboot_TRUE@am__append_5877 = hfsplus.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5878 = +@COND_i386_multiboot_TRUE@am__append_5879 = $(nodist_hfsplus_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5880 = \ +@COND_i386_multiboot_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ hfsplus.marker +@COND_i386_multiboot_TRUE@am__append_5881 = hfsplus.mod +@COND_i386_multiboot_TRUE@am__append_5882 = hfsplus.marker +@COND_i386_ieee1275_TRUE@am__append_5883 = hfsplus.module +@COND_i386_ieee1275_TRUE@am__append_5884 = hfsplus.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5885 = +@COND_i386_ieee1275_TRUE@am__append_5886 = $(nodist_hfsplus_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5887 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ hfsplus.marker +@COND_i386_ieee1275_TRUE@am__append_5888 = hfsplus.mod +@COND_i386_ieee1275_TRUE@am__append_5889 = hfsplus.marker +@COND_x86_64_efi_TRUE@am__append_5890 = hfsplus.module +@COND_x86_64_efi_TRUE@am__append_5891 = hfsplus.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5892 = +@COND_x86_64_efi_TRUE@am__append_5893 = $(nodist_hfsplus_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5894 = \ +@COND_x86_64_efi_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ hfsplus.marker +@COND_x86_64_efi_TRUE@am__append_5895 = hfsplus.mod +@COND_x86_64_efi_TRUE@am__append_5896 = hfsplus.marker +@COND_mips_yeeloong_TRUE@am__append_5897 = hfsplus.module +@COND_mips_yeeloong_TRUE@am__append_5898 = hfsplus.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5899 = +@COND_mips_yeeloong_TRUE@am__append_5900 = $(nodist_hfsplus_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5901 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ hfsplus.marker +@COND_mips_yeeloong_TRUE@am__append_5902 = hfsplus.mod +@COND_mips_yeeloong_TRUE@am__append_5903 = hfsplus.marker +@COND_sparc64_ieee1275_TRUE@am__append_5904 = hfsplus.module +@COND_sparc64_ieee1275_TRUE@am__append_5905 = hfsplus.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5906 = +@COND_sparc64_ieee1275_TRUE@am__append_5907 = $(nodist_hfsplus_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5908 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ hfsplus.marker +@COND_sparc64_ieee1275_TRUE@am__append_5909 = hfsplus.mod +@COND_sparc64_ieee1275_TRUE@am__append_5910 = hfsplus.marker +@COND_powerpc_ieee1275_TRUE@am__append_5911 = hfsplus.module +@COND_powerpc_ieee1275_TRUE@am__append_5912 = hfsplus.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5913 = +@COND_powerpc_ieee1275_TRUE@am__append_5914 = $(nodist_hfsplus_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5915 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_hfsplus_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ hfsplus.marker +@COND_powerpc_ieee1275_TRUE@am__append_5916 = hfsplus.mod +@COND_powerpc_ieee1275_TRUE@am__append_5917 = hfsplus.marker +@COND_emu_TRUE@am__append_5918 = iso9660.module +@COND_emu_TRUE@am__append_5919 = iso9660.module$(EXEEXT) +@COND_emu_TRUE@am__append_5920 = +@COND_emu_TRUE@am__append_5921 = $(nodist_iso9660_module_SOURCES) +@COND_emu_TRUE@am__append_5922 = $(nodist_iso9660_module_SOURCES) \ +@COND_emu_TRUE@ iso9660.marker +@COND_emu_TRUE@am__append_5923 = iso9660.mod +@COND_emu_TRUE@am__append_5924 = iso9660.marker +@COND_i386_pc_TRUE@am__append_5925 = iso9660.module +@COND_i386_pc_TRUE@am__append_5926 = iso9660.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_5927 = +@COND_i386_pc_TRUE@am__append_5928 = $(nodist_iso9660_module_SOURCES) +@COND_i386_pc_TRUE@am__append_5929 = $(nodist_iso9660_module_SOURCES) \ +@COND_i386_pc_TRUE@ iso9660.marker +@COND_i386_pc_TRUE@am__append_5930 = iso9660.mod +@COND_i386_pc_TRUE@am__append_5931 = iso9660.marker +@COND_i386_efi_TRUE@am__append_5932 = iso9660.module +@COND_i386_efi_TRUE@am__append_5933 = iso9660.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_5934 = +@COND_i386_efi_TRUE@am__append_5935 = $(nodist_iso9660_module_SOURCES) +@COND_i386_efi_TRUE@am__append_5936 = \ +@COND_i386_efi_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_i386_efi_TRUE@ iso9660.marker +@COND_i386_efi_TRUE@am__append_5937 = iso9660.mod +@COND_i386_efi_TRUE@am__append_5938 = iso9660.marker +@COND_i386_qemu_TRUE@am__append_5939 = iso9660.module +@COND_i386_qemu_TRUE@am__append_5940 = iso9660.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_5941 = +@COND_i386_qemu_TRUE@am__append_5942 = $(nodist_iso9660_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_5943 = \ +@COND_i386_qemu_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_i386_qemu_TRUE@ iso9660.marker +@COND_i386_qemu_TRUE@am__append_5944 = iso9660.mod +@COND_i386_qemu_TRUE@am__append_5945 = iso9660.marker +@COND_i386_coreboot_TRUE@am__append_5946 = iso9660.module +@COND_i386_coreboot_TRUE@am__append_5947 = iso9660.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_5948 = +@COND_i386_coreboot_TRUE@am__append_5949 = $(nodist_iso9660_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_5950 = \ +@COND_i386_coreboot_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ iso9660.marker +@COND_i386_coreboot_TRUE@am__append_5951 = iso9660.mod +@COND_i386_coreboot_TRUE@am__append_5952 = iso9660.marker +@COND_i386_multiboot_TRUE@am__append_5953 = iso9660.module +@COND_i386_multiboot_TRUE@am__append_5954 = iso9660.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_5955 = +@COND_i386_multiboot_TRUE@am__append_5956 = $(nodist_iso9660_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_5957 = \ +@COND_i386_multiboot_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ iso9660.marker +@COND_i386_multiboot_TRUE@am__append_5958 = iso9660.mod +@COND_i386_multiboot_TRUE@am__append_5959 = iso9660.marker +@COND_i386_ieee1275_TRUE@am__append_5960 = iso9660.module +@COND_i386_ieee1275_TRUE@am__append_5961 = iso9660.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_5962 = +@COND_i386_ieee1275_TRUE@am__append_5963 = $(nodist_iso9660_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_5964 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ iso9660.marker +@COND_i386_ieee1275_TRUE@am__append_5965 = iso9660.mod +@COND_i386_ieee1275_TRUE@am__append_5966 = iso9660.marker +@COND_x86_64_efi_TRUE@am__append_5967 = iso9660.module +@COND_x86_64_efi_TRUE@am__append_5968 = iso9660.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_5969 = +@COND_x86_64_efi_TRUE@am__append_5970 = $(nodist_iso9660_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_5971 = \ +@COND_x86_64_efi_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ iso9660.marker +@COND_x86_64_efi_TRUE@am__append_5972 = iso9660.mod +@COND_x86_64_efi_TRUE@am__append_5973 = iso9660.marker +@COND_mips_yeeloong_TRUE@am__append_5974 = iso9660.module +@COND_mips_yeeloong_TRUE@am__append_5975 = iso9660.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_5976 = +@COND_mips_yeeloong_TRUE@am__append_5977 = $(nodist_iso9660_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_5978 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ iso9660.marker +@COND_mips_yeeloong_TRUE@am__append_5979 = iso9660.mod +@COND_mips_yeeloong_TRUE@am__append_5980 = iso9660.marker +@COND_sparc64_ieee1275_TRUE@am__append_5981 = iso9660.module +@COND_sparc64_ieee1275_TRUE@am__append_5982 = iso9660.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_5983 = +@COND_sparc64_ieee1275_TRUE@am__append_5984 = $(nodist_iso9660_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_5985 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ iso9660.marker +@COND_sparc64_ieee1275_TRUE@am__append_5986 = iso9660.mod +@COND_sparc64_ieee1275_TRUE@am__append_5987 = iso9660.marker +@COND_powerpc_ieee1275_TRUE@am__append_5988 = iso9660.module +@COND_powerpc_ieee1275_TRUE@am__append_5989 = iso9660.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_5990 = +@COND_powerpc_ieee1275_TRUE@am__append_5991 = $(nodist_iso9660_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_5992 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_iso9660_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ iso9660.marker +@COND_powerpc_ieee1275_TRUE@am__append_5993 = iso9660.mod +@COND_powerpc_ieee1275_TRUE@am__append_5994 = iso9660.marker +@COND_emu_TRUE@am__append_5995 = jfs.module +@COND_emu_TRUE@am__append_5996 = jfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_5997 = +@COND_emu_TRUE@am__append_5998 = $(nodist_jfs_module_SOURCES) +@COND_emu_TRUE@am__append_5999 = $(nodist_jfs_module_SOURCES) \ +@COND_emu_TRUE@ jfs.marker +@COND_emu_TRUE@am__append_6000 = jfs.mod +@COND_emu_TRUE@am__append_6001 = jfs.marker +@COND_i386_pc_TRUE@am__append_6002 = jfs.module +@COND_i386_pc_TRUE@am__append_6003 = jfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6004 = +@COND_i386_pc_TRUE@am__append_6005 = $(nodist_jfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6006 = $(nodist_jfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ jfs.marker +@COND_i386_pc_TRUE@am__append_6007 = jfs.mod +@COND_i386_pc_TRUE@am__append_6008 = jfs.marker +@COND_i386_efi_TRUE@am__append_6009 = jfs.module +@COND_i386_efi_TRUE@am__append_6010 = jfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6011 = +@COND_i386_efi_TRUE@am__append_6012 = $(nodist_jfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6013 = $(nodist_jfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ jfs.marker +@COND_i386_efi_TRUE@am__append_6014 = jfs.mod +@COND_i386_efi_TRUE@am__append_6015 = jfs.marker +@COND_i386_qemu_TRUE@am__append_6016 = jfs.module +@COND_i386_qemu_TRUE@am__append_6017 = jfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6018 = +@COND_i386_qemu_TRUE@am__append_6019 = $(nodist_jfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6020 = $(nodist_jfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ jfs.marker +@COND_i386_qemu_TRUE@am__append_6021 = jfs.mod +@COND_i386_qemu_TRUE@am__append_6022 = jfs.marker +@COND_i386_coreboot_TRUE@am__append_6023 = jfs.module +@COND_i386_coreboot_TRUE@am__append_6024 = jfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6025 = +@COND_i386_coreboot_TRUE@am__append_6026 = $(nodist_jfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6027 = \ +@COND_i386_coreboot_TRUE@ $(nodist_jfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ jfs.marker +@COND_i386_coreboot_TRUE@am__append_6028 = jfs.mod +@COND_i386_coreboot_TRUE@am__append_6029 = jfs.marker +@COND_i386_multiboot_TRUE@am__append_6030 = jfs.module +@COND_i386_multiboot_TRUE@am__append_6031 = jfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6032 = +@COND_i386_multiboot_TRUE@am__append_6033 = $(nodist_jfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6034 = \ +@COND_i386_multiboot_TRUE@ $(nodist_jfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ jfs.marker +@COND_i386_multiboot_TRUE@am__append_6035 = jfs.mod +@COND_i386_multiboot_TRUE@am__append_6036 = jfs.marker +@COND_i386_ieee1275_TRUE@am__append_6037 = jfs.module +@COND_i386_ieee1275_TRUE@am__append_6038 = jfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6039 = +@COND_i386_ieee1275_TRUE@am__append_6040 = $(nodist_jfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6041 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_jfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ jfs.marker +@COND_i386_ieee1275_TRUE@am__append_6042 = jfs.mod +@COND_i386_ieee1275_TRUE@am__append_6043 = jfs.marker +@COND_x86_64_efi_TRUE@am__append_6044 = jfs.module +@COND_x86_64_efi_TRUE@am__append_6045 = jfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6046 = +@COND_x86_64_efi_TRUE@am__append_6047 = $(nodist_jfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6048 = $(nodist_jfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ jfs.marker +@COND_x86_64_efi_TRUE@am__append_6049 = jfs.mod +@COND_x86_64_efi_TRUE@am__append_6050 = jfs.marker +@COND_mips_yeeloong_TRUE@am__append_6051 = jfs.module +@COND_mips_yeeloong_TRUE@am__append_6052 = jfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6053 = +@COND_mips_yeeloong_TRUE@am__append_6054 = $(nodist_jfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6055 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_jfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ jfs.marker +@COND_mips_yeeloong_TRUE@am__append_6056 = jfs.mod +@COND_mips_yeeloong_TRUE@am__append_6057 = jfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6058 = jfs.module +@COND_sparc64_ieee1275_TRUE@am__append_6059 = jfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6060 = +@COND_sparc64_ieee1275_TRUE@am__append_6061 = $(nodist_jfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6062 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_jfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ jfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6063 = jfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_6064 = jfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6065 = jfs.module +@COND_powerpc_ieee1275_TRUE@am__append_6066 = jfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6067 = +@COND_powerpc_ieee1275_TRUE@am__append_6068 = $(nodist_jfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6069 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_jfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ jfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6070 = jfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_6071 = jfs.marker +@COND_emu_TRUE@am__append_6072 = minix.module +@COND_emu_TRUE@am__append_6073 = minix.module$(EXEEXT) +@COND_emu_TRUE@am__append_6074 = +@COND_emu_TRUE@am__append_6075 = $(nodist_minix_module_SOURCES) +@COND_emu_TRUE@am__append_6076 = $(nodist_minix_module_SOURCES) \ +@COND_emu_TRUE@ minix.marker +@COND_emu_TRUE@am__append_6077 = minix.mod +@COND_emu_TRUE@am__append_6078 = minix.marker +@COND_i386_pc_TRUE@am__append_6079 = minix.module +@COND_i386_pc_TRUE@am__append_6080 = minix.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6081 = +@COND_i386_pc_TRUE@am__append_6082 = $(nodist_minix_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6083 = $(nodist_minix_module_SOURCES) \ +@COND_i386_pc_TRUE@ minix.marker +@COND_i386_pc_TRUE@am__append_6084 = minix.mod +@COND_i386_pc_TRUE@am__append_6085 = minix.marker +@COND_i386_efi_TRUE@am__append_6086 = minix.module +@COND_i386_efi_TRUE@am__append_6087 = minix.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6088 = +@COND_i386_efi_TRUE@am__append_6089 = $(nodist_minix_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6090 = $(nodist_minix_module_SOURCES) \ +@COND_i386_efi_TRUE@ minix.marker +@COND_i386_efi_TRUE@am__append_6091 = minix.mod +@COND_i386_efi_TRUE@am__append_6092 = minix.marker +@COND_i386_qemu_TRUE@am__append_6093 = minix.module +@COND_i386_qemu_TRUE@am__append_6094 = minix.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6095 = +@COND_i386_qemu_TRUE@am__append_6096 = $(nodist_minix_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6097 = $(nodist_minix_module_SOURCES) \ +@COND_i386_qemu_TRUE@ minix.marker +@COND_i386_qemu_TRUE@am__append_6098 = minix.mod +@COND_i386_qemu_TRUE@am__append_6099 = minix.marker +@COND_i386_coreboot_TRUE@am__append_6100 = minix.module +@COND_i386_coreboot_TRUE@am__append_6101 = minix.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6102 = +@COND_i386_coreboot_TRUE@am__append_6103 = $(nodist_minix_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6104 = \ +@COND_i386_coreboot_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ minix.marker +@COND_i386_coreboot_TRUE@am__append_6105 = minix.mod +@COND_i386_coreboot_TRUE@am__append_6106 = minix.marker +@COND_i386_multiboot_TRUE@am__append_6107 = minix.module +@COND_i386_multiboot_TRUE@am__append_6108 = minix.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6109 = +@COND_i386_multiboot_TRUE@am__append_6110 = $(nodist_minix_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6111 = \ +@COND_i386_multiboot_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ minix.marker +@COND_i386_multiboot_TRUE@am__append_6112 = minix.mod +@COND_i386_multiboot_TRUE@am__append_6113 = minix.marker +@COND_i386_ieee1275_TRUE@am__append_6114 = minix.module +@COND_i386_ieee1275_TRUE@am__append_6115 = minix.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6116 = +@COND_i386_ieee1275_TRUE@am__append_6117 = $(nodist_minix_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6118 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ minix.marker +@COND_i386_ieee1275_TRUE@am__append_6119 = minix.mod +@COND_i386_ieee1275_TRUE@am__append_6120 = minix.marker +@COND_x86_64_efi_TRUE@am__append_6121 = minix.module +@COND_x86_64_efi_TRUE@am__append_6122 = minix.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6123 = +@COND_x86_64_efi_TRUE@am__append_6124 = $(nodist_minix_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6125 = \ +@COND_x86_64_efi_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ minix.marker +@COND_x86_64_efi_TRUE@am__append_6126 = minix.mod +@COND_x86_64_efi_TRUE@am__append_6127 = minix.marker +@COND_mips_yeeloong_TRUE@am__append_6128 = minix.module +@COND_mips_yeeloong_TRUE@am__append_6129 = minix.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6130 = +@COND_mips_yeeloong_TRUE@am__append_6131 = $(nodist_minix_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6132 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ minix.marker +@COND_mips_yeeloong_TRUE@am__append_6133 = minix.mod +@COND_mips_yeeloong_TRUE@am__append_6134 = minix.marker +@COND_sparc64_ieee1275_TRUE@am__append_6135 = minix.module +@COND_sparc64_ieee1275_TRUE@am__append_6136 = minix.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6137 = +@COND_sparc64_ieee1275_TRUE@am__append_6138 = $(nodist_minix_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6139 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ minix.marker +@COND_sparc64_ieee1275_TRUE@am__append_6140 = minix.mod +@COND_sparc64_ieee1275_TRUE@am__append_6141 = minix.marker +@COND_powerpc_ieee1275_TRUE@am__append_6142 = minix.module +@COND_powerpc_ieee1275_TRUE@am__append_6143 = minix.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6144 = +@COND_powerpc_ieee1275_TRUE@am__append_6145 = $(nodist_minix_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6146 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_minix_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ minix.marker +@COND_powerpc_ieee1275_TRUE@am__append_6147 = minix.mod +@COND_powerpc_ieee1275_TRUE@am__append_6148 = minix.marker +@COND_emu_TRUE@am__append_6149 = minix2.module +@COND_emu_TRUE@am__append_6150 = minix2.module$(EXEEXT) +@COND_emu_TRUE@am__append_6151 = +@COND_emu_TRUE@am__append_6152 = $(nodist_minix2_module_SOURCES) +@COND_emu_TRUE@am__append_6153 = $(nodist_minix2_module_SOURCES) \ +@COND_emu_TRUE@ minix2.marker +@COND_emu_TRUE@am__append_6154 = minix2.mod +@COND_emu_TRUE@am__append_6155 = minix2.marker +@COND_i386_pc_TRUE@am__append_6156 = minix2.module +@COND_i386_pc_TRUE@am__append_6157 = minix2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6158 = +@COND_i386_pc_TRUE@am__append_6159 = $(nodist_minix2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6160 = $(nodist_minix2_module_SOURCES) \ +@COND_i386_pc_TRUE@ minix2.marker +@COND_i386_pc_TRUE@am__append_6161 = minix2.mod +@COND_i386_pc_TRUE@am__append_6162 = minix2.marker +@COND_i386_efi_TRUE@am__append_6163 = minix2.module +@COND_i386_efi_TRUE@am__append_6164 = minix2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6165 = +@COND_i386_efi_TRUE@am__append_6166 = $(nodist_minix2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6167 = $(nodist_minix2_module_SOURCES) \ +@COND_i386_efi_TRUE@ minix2.marker +@COND_i386_efi_TRUE@am__append_6168 = minix2.mod +@COND_i386_efi_TRUE@am__append_6169 = minix2.marker +@COND_i386_qemu_TRUE@am__append_6170 = minix2.module +@COND_i386_qemu_TRUE@am__append_6171 = minix2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6172 = +@COND_i386_qemu_TRUE@am__append_6173 = $(nodist_minix2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6174 = \ +@COND_i386_qemu_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ minix2.marker +@COND_i386_qemu_TRUE@am__append_6175 = minix2.mod +@COND_i386_qemu_TRUE@am__append_6176 = minix2.marker +@COND_i386_coreboot_TRUE@am__append_6177 = minix2.module +@COND_i386_coreboot_TRUE@am__append_6178 = minix2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6179 = +@COND_i386_coreboot_TRUE@am__append_6180 = $(nodist_minix2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6181 = \ +@COND_i386_coreboot_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ minix2.marker +@COND_i386_coreboot_TRUE@am__append_6182 = minix2.mod +@COND_i386_coreboot_TRUE@am__append_6183 = minix2.marker +@COND_i386_multiboot_TRUE@am__append_6184 = minix2.module +@COND_i386_multiboot_TRUE@am__append_6185 = minix2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6186 = +@COND_i386_multiboot_TRUE@am__append_6187 = $(nodist_minix2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6188 = \ +@COND_i386_multiboot_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ minix2.marker +@COND_i386_multiboot_TRUE@am__append_6189 = minix2.mod +@COND_i386_multiboot_TRUE@am__append_6190 = minix2.marker +@COND_i386_ieee1275_TRUE@am__append_6191 = minix2.module +@COND_i386_ieee1275_TRUE@am__append_6192 = minix2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6193 = +@COND_i386_ieee1275_TRUE@am__append_6194 = $(nodist_minix2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6195 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ minix2.marker +@COND_i386_ieee1275_TRUE@am__append_6196 = minix2.mod +@COND_i386_ieee1275_TRUE@am__append_6197 = minix2.marker +@COND_x86_64_efi_TRUE@am__append_6198 = minix2.module +@COND_x86_64_efi_TRUE@am__append_6199 = minix2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6200 = +@COND_x86_64_efi_TRUE@am__append_6201 = $(nodist_minix2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6202 = \ +@COND_x86_64_efi_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ minix2.marker +@COND_x86_64_efi_TRUE@am__append_6203 = minix2.mod +@COND_x86_64_efi_TRUE@am__append_6204 = minix2.marker +@COND_mips_yeeloong_TRUE@am__append_6205 = minix2.module +@COND_mips_yeeloong_TRUE@am__append_6206 = minix2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6207 = +@COND_mips_yeeloong_TRUE@am__append_6208 = $(nodist_minix2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6209 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ minix2.marker +@COND_mips_yeeloong_TRUE@am__append_6210 = minix2.mod +@COND_mips_yeeloong_TRUE@am__append_6211 = minix2.marker +@COND_sparc64_ieee1275_TRUE@am__append_6212 = minix2.module +@COND_sparc64_ieee1275_TRUE@am__append_6213 = minix2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6214 = +@COND_sparc64_ieee1275_TRUE@am__append_6215 = $(nodist_minix2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6216 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ minix2.marker +@COND_sparc64_ieee1275_TRUE@am__append_6217 = minix2.mod +@COND_sparc64_ieee1275_TRUE@am__append_6218 = minix2.marker +@COND_powerpc_ieee1275_TRUE@am__append_6219 = minix2.module +@COND_powerpc_ieee1275_TRUE@am__append_6220 = minix2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6221 = +@COND_powerpc_ieee1275_TRUE@am__append_6222 = $(nodist_minix2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6223 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_minix2_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ minix2.marker +@COND_powerpc_ieee1275_TRUE@am__append_6224 = minix2.mod +@COND_powerpc_ieee1275_TRUE@am__append_6225 = minix2.marker +@COND_emu_TRUE@am__append_6226 = nilfs2.module +@COND_emu_TRUE@am__append_6227 = nilfs2.module$(EXEEXT) +@COND_emu_TRUE@am__append_6228 = +@COND_emu_TRUE@am__append_6229 = $(nodist_nilfs2_module_SOURCES) +@COND_emu_TRUE@am__append_6230 = $(nodist_nilfs2_module_SOURCES) \ +@COND_emu_TRUE@ nilfs2.marker +@COND_emu_TRUE@am__append_6231 = nilfs2.mod +@COND_emu_TRUE@am__append_6232 = nilfs2.marker +@COND_i386_pc_TRUE@am__append_6233 = nilfs2.module +@COND_i386_pc_TRUE@am__append_6234 = nilfs2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6235 = +@COND_i386_pc_TRUE@am__append_6236 = $(nodist_nilfs2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6237 = $(nodist_nilfs2_module_SOURCES) \ +@COND_i386_pc_TRUE@ nilfs2.marker +@COND_i386_pc_TRUE@am__append_6238 = nilfs2.mod +@COND_i386_pc_TRUE@am__append_6239 = nilfs2.marker +@COND_i386_efi_TRUE@am__append_6240 = nilfs2.module +@COND_i386_efi_TRUE@am__append_6241 = nilfs2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6242 = +@COND_i386_efi_TRUE@am__append_6243 = $(nodist_nilfs2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6244 = $(nodist_nilfs2_module_SOURCES) \ +@COND_i386_efi_TRUE@ nilfs2.marker +@COND_i386_efi_TRUE@am__append_6245 = nilfs2.mod +@COND_i386_efi_TRUE@am__append_6246 = nilfs2.marker +@COND_i386_qemu_TRUE@am__append_6247 = nilfs2.module +@COND_i386_qemu_TRUE@am__append_6248 = nilfs2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6249 = +@COND_i386_qemu_TRUE@am__append_6250 = $(nodist_nilfs2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6251 = \ +@COND_i386_qemu_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ nilfs2.marker +@COND_i386_qemu_TRUE@am__append_6252 = nilfs2.mod +@COND_i386_qemu_TRUE@am__append_6253 = nilfs2.marker +@COND_i386_coreboot_TRUE@am__append_6254 = nilfs2.module +@COND_i386_coreboot_TRUE@am__append_6255 = nilfs2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6256 = +@COND_i386_coreboot_TRUE@am__append_6257 = $(nodist_nilfs2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6258 = \ +@COND_i386_coreboot_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ nilfs2.marker +@COND_i386_coreboot_TRUE@am__append_6259 = nilfs2.mod +@COND_i386_coreboot_TRUE@am__append_6260 = nilfs2.marker +@COND_i386_multiboot_TRUE@am__append_6261 = nilfs2.module +@COND_i386_multiboot_TRUE@am__append_6262 = nilfs2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6263 = +@COND_i386_multiboot_TRUE@am__append_6264 = $(nodist_nilfs2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6265 = \ +@COND_i386_multiboot_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ nilfs2.marker +@COND_i386_multiboot_TRUE@am__append_6266 = nilfs2.mod +@COND_i386_multiboot_TRUE@am__append_6267 = nilfs2.marker +@COND_i386_ieee1275_TRUE@am__append_6268 = nilfs2.module +@COND_i386_ieee1275_TRUE@am__append_6269 = nilfs2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6270 = +@COND_i386_ieee1275_TRUE@am__append_6271 = $(nodist_nilfs2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6272 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ nilfs2.marker +@COND_i386_ieee1275_TRUE@am__append_6273 = nilfs2.mod +@COND_i386_ieee1275_TRUE@am__append_6274 = nilfs2.marker +@COND_x86_64_efi_TRUE@am__append_6275 = nilfs2.module +@COND_x86_64_efi_TRUE@am__append_6276 = nilfs2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6277 = +@COND_x86_64_efi_TRUE@am__append_6278 = $(nodist_nilfs2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6279 = \ +@COND_x86_64_efi_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ nilfs2.marker +@COND_x86_64_efi_TRUE@am__append_6280 = nilfs2.mod +@COND_x86_64_efi_TRUE@am__append_6281 = nilfs2.marker +@COND_mips_yeeloong_TRUE@am__append_6282 = nilfs2.module +@COND_mips_yeeloong_TRUE@am__append_6283 = nilfs2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6284 = +@COND_mips_yeeloong_TRUE@am__append_6285 = $(nodist_nilfs2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6286 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ nilfs2.marker +@COND_mips_yeeloong_TRUE@am__append_6287 = nilfs2.mod +@COND_mips_yeeloong_TRUE@am__append_6288 = nilfs2.marker +@COND_sparc64_ieee1275_TRUE@am__append_6289 = nilfs2.module +@COND_sparc64_ieee1275_TRUE@am__append_6290 = nilfs2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6291 = +@COND_sparc64_ieee1275_TRUE@am__append_6292 = $(nodist_nilfs2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6293 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ nilfs2.marker +@COND_sparc64_ieee1275_TRUE@am__append_6294 = nilfs2.mod +@COND_sparc64_ieee1275_TRUE@am__append_6295 = nilfs2.marker +@COND_powerpc_ieee1275_TRUE@am__append_6296 = nilfs2.module +@COND_powerpc_ieee1275_TRUE@am__append_6297 = nilfs2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6298 = +@COND_powerpc_ieee1275_TRUE@am__append_6299 = $(nodist_nilfs2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6300 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_nilfs2_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ nilfs2.marker +@COND_powerpc_ieee1275_TRUE@am__append_6301 = nilfs2.mod +@COND_powerpc_ieee1275_TRUE@am__append_6302 = nilfs2.marker +@COND_emu_TRUE@am__append_6303 = ntfs.module +@COND_emu_TRUE@am__append_6304 = ntfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_6305 = +@COND_emu_TRUE@am__append_6306 = $(nodist_ntfs_module_SOURCES) +@COND_emu_TRUE@am__append_6307 = $(nodist_ntfs_module_SOURCES) \ +@COND_emu_TRUE@ ntfs.marker +@COND_emu_TRUE@am__append_6308 = ntfs.mod +@COND_emu_TRUE@am__append_6309 = ntfs.marker +@COND_i386_pc_TRUE@am__append_6310 = ntfs.module +@COND_i386_pc_TRUE@am__append_6311 = ntfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6312 = +@COND_i386_pc_TRUE@am__append_6313 = $(nodist_ntfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6314 = $(nodist_ntfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ ntfs.marker +@COND_i386_pc_TRUE@am__append_6315 = ntfs.mod +@COND_i386_pc_TRUE@am__append_6316 = ntfs.marker +@COND_i386_efi_TRUE@am__append_6317 = ntfs.module +@COND_i386_efi_TRUE@am__append_6318 = ntfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6319 = +@COND_i386_efi_TRUE@am__append_6320 = $(nodist_ntfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6321 = $(nodist_ntfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ ntfs.marker +@COND_i386_efi_TRUE@am__append_6322 = ntfs.mod +@COND_i386_efi_TRUE@am__append_6323 = ntfs.marker +@COND_i386_qemu_TRUE@am__append_6324 = ntfs.module +@COND_i386_qemu_TRUE@am__append_6325 = ntfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6326 = +@COND_i386_qemu_TRUE@am__append_6327 = $(nodist_ntfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6328 = $(nodist_ntfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ntfs.marker +@COND_i386_qemu_TRUE@am__append_6329 = ntfs.mod +@COND_i386_qemu_TRUE@am__append_6330 = ntfs.marker +@COND_i386_coreboot_TRUE@am__append_6331 = ntfs.module +@COND_i386_coreboot_TRUE@am__append_6332 = ntfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6333 = +@COND_i386_coreboot_TRUE@am__append_6334 = $(nodist_ntfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6335 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ntfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ntfs.marker +@COND_i386_coreboot_TRUE@am__append_6336 = ntfs.mod +@COND_i386_coreboot_TRUE@am__append_6337 = ntfs.marker +@COND_i386_multiboot_TRUE@am__append_6338 = ntfs.module +@COND_i386_multiboot_TRUE@am__append_6339 = ntfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6340 = +@COND_i386_multiboot_TRUE@am__append_6341 = $(nodist_ntfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6342 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ntfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ntfs.marker +@COND_i386_multiboot_TRUE@am__append_6343 = ntfs.mod +@COND_i386_multiboot_TRUE@am__append_6344 = ntfs.marker +@COND_i386_ieee1275_TRUE@am__append_6345 = ntfs.module +@COND_i386_ieee1275_TRUE@am__append_6346 = ntfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6347 = +@COND_i386_ieee1275_TRUE@am__append_6348 = $(nodist_ntfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6349 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ntfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ntfs.marker +@COND_i386_ieee1275_TRUE@am__append_6350 = ntfs.mod +@COND_i386_ieee1275_TRUE@am__append_6351 = ntfs.marker +@COND_x86_64_efi_TRUE@am__append_6352 = ntfs.module +@COND_x86_64_efi_TRUE@am__append_6353 = ntfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6354 = +@COND_x86_64_efi_TRUE@am__append_6355 = $(nodist_ntfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6356 = $(nodist_ntfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ntfs.marker +@COND_x86_64_efi_TRUE@am__append_6357 = ntfs.mod +@COND_x86_64_efi_TRUE@am__append_6358 = ntfs.marker +@COND_mips_yeeloong_TRUE@am__append_6359 = ntfs.module +@COND_mips_yeeloong_TRUE@am__append_6360 = ntfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6361 = +@COND_mips_yeeloong_TRUE@am__append_6362 = $(nodist_ntfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6363 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ntfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ntfs.marker +@COND_mips_yeeloong_TRUE@am__append_6364 = ntfs.mod +@COND_mips_yeeloong_TRUE@am__append_6365 = ntfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6366 = ntfs.module +@COND_sparc64_ieee1275_TRUE@am__append_6367 = ntfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6368 = +@COND_sparc64_ieee1275_TRUE@am__append_6369 = $(nodist_ntfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6370 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_ntfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ ntfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6371 = ntfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_6372 = ntfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6373 = ntfs.module +@COND_powerpc_ieee1275_TRUE@am__append_6374 = ntfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6375 = +@COND_powerpc_ieee1275_TRUE@am__append_6376 = $(nodist_ntfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6377 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ntfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ntfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6378 = ntfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_6379 = ntfs.marker +@COND_emu_TRUE@am__append_6380 = ntfscomp.module +@COND_emu_TRUE@am__append_6381 = ntfscomp.module$(EXEEXT) +@COND_emu_TRUE@am__append_6382 = +@COND_emu_TRUE@am__append_6383 = $(nodist_ntfscomp_module_SOURCES) +@COND_emu_TRUE@am__append_6384 = $(nodist_ntfscomp_module_SOURCES) \ +@COND_emu_TRUE@ ntfscomp.marker +@COND_emu_TRUE@am__append_6385 = ntfscomp.mod +@COND_emu_TRUE@am__append_6386 = ntfscomp.marker +@COND_i386_pc_TRUE@am__append_6387 = ntfscomp.module +@COND_i386_pc_TRUE@am__append_6388 = ntfscomp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6389 = +@COND_i386_pc_TRUE@am__append_6390 = $(nodist_ntfscomp_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6391 = \ +@COND_i386_pc_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_i386_pc_TRUE@ ntfscomp.marker +@COND_i386_pc_TRUE@am__append_6392 = ntfscomp.mod +@COND_i386_pc_TRUE@am__append_6393 = ntfscomp.marker +@COND_i386_efi_TRUE@am__append_6394 = ntfscomp.module +@COND_i386_efi_TRUE@am__append_6395 = ntfscomp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6396 = +@COND_i386_efi_TRUE@am__append_6397 = $(nodist_ntfscomp_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6398 = \ +@COND_i386_efi_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_i386_efi_TRUE@ ntfscomp.marker +@COND_i386_efi_TRUE@am__append_6399 = ntfscomp.mod +@COND_i386_efi_TRUE@am__append_6400 = ntfscomp.marker +@COND_i386_qemu_TRUE@am__append_6401 = ntfscomp.module +@COND_i386_qemu_TRUE@am__append_6402 = ntfscomp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6403 = +@COND_i386_qemu_TRUE@am__append_6404 = $(nodist_ntfscomp_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6405 = \ +@COND_i386_qemu_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ntfscomp.marker +@COND_i386_qemu_TRUE@am__append_6406 = ntfscomp.mod +@COND_i386_qemu_TRUE@am__append_6407 = ntfscomp.marker +@COND_i386_coreboot_TRUE@am__append_6408 = ntfscomp.module +@COND_i386_coreboot_TRUE@am__append_6409 = ntfscomp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6410 = +@COND_i386_coreboot_TRUE@am__append_6411 = $(nodist_ntfscomp_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6412 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ntfscomp.marker +@COND_i386_coreboot_TRUE@am__append_6413 = ntfscomp.mod +@COND_i386_coreboot_TRUE@am__append_6414 = ntfscomp.marker +@COND_i386_multiboot_TRUE@am__append_6415 = ntfscomp.module +@COND_i386_multiboot_TRUE@am__append_6416 = ntfscomp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6417 = +@COND_i386_multiboot_TRUE@am__append_6418 = $(nodist_ntfscomp_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6419 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ntfscomp.marker +@COND_i386_multiboot_TRUE@am__append_6420 = ntfscomp.mod +@COND_i386_multiboot_TRUE@am__append_6421 = ntfscomp.marker +@COND_i386_ieee1275_TRUE@am__append_6422 = ntfscomp.module +@COND_i386_ieee1275_TRUE@am__append_6423 = ntfscomp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6424 = +@COND_i386_ieee1275_TRUE@am__append_6425 = $(nodist_ntfscomp_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6426 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ntfscomp.marker +@COND_i386_ieee1275_TRUE@am__append_6427 = ntfscomp.mod +@COND_i386_ieee1275_TRUE@am__append_6428 = ntfscomp.marker +@COND_x86_64_efi_TRUE@am__append_6429 = ntfscomp.module +@COND_x86_64_efi_TRUE@am__append_6430 = ntfscomp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6431 = +@COND_x86_64_efi_TRUE@am__append_6432 = $(nodist_ntfscomp_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6433 = \ +@COND_x86_64_efi_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ntfscomp.marker +@COND_x86_64_efi_TRUE@am__append_6434 = ntfscomp.mod +@COND_x86_64_efi_TRUE@am__append_6435 = ntfscomp.marker +@COND_mips_yeeloong_TRUE@am__append_6436 = ntfscomp.module +@COND_mips_yeeloong_TRUE@am__append_6437 = ntfscomp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6438 = +@COND_mips_yeeloong_TRUE@am__append_6439 = $(nodist_ntfscomp_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6440 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ntfscomp.marker +@COND_mips_yeeloong_TRUE@am__append_6441 = ntfscomp.mod +@COND_mips_yeeloong_TRUE@am__append_6442 = ntfscomp.marker +@COND_sparc64_ieee1275_TRUE@am__append_6443 = ntfscomp.module +@COND_sparc64_ieee1275_TRUE@am__append_6444 = ntfscomp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6445 = +@COND_sparc64_ieee1275_TRUE@am__append_6446 = $(nodist_ntfscomp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6447 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ ntfscomp.marker +@COND_sparc64_ieee1275_TRUE@am__append_6448 = ntfscomp.mod +@COND_sparc64_ieee1275_TRUE@am__append_6449 = ntfscomp.marker +@COND_powerpc_ieee1275_TRUE@am__append_6450 = ntfscomp.module +@COND_powerpc_ieee1275_TRUE@am__append_6451 = ntfscomp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6452 = +@COND_powerpc_ieee1275_TRUE@am__append_6453 = $(nodist_ntfscomp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6454 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ntfscomp_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ntfscomp.marker +@COND_powerpc_ieee1275_TRUE@am__append_6455 = ntfscomp.mod +@COND_powerpc_ieee1275_TRUE@am__append_6456 = ntfscomp.marker +@COND_emu_TRUE@am__append_6457 = reiserfs.module +@COND_emu_TRUE@am__append_6458 = reiserfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_6459 = +@COND_emu_TRUE@am__append_6460 = $(nodist_reiserfs_module_SOURCES) +@COND_emu_TRUE@am__append_6461 = $(nodist_reiserfs_module_SOURCES) \ +@COND_emu_TRUE@ reiserfs.marker +@COND_emu_TRUE@am__append_6462 = reiserfs.mod +@COND_emu_TRUE@am__append_6463 = reiserfs.marker +@COND_i386_pc_TRUE@am__append_6464 = reiserfs.module +@COND_i386_pc_TRUE@am__append_6465 = reiserfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6466 = +@COND_i386_pc_TRUE@am__append_6467 = $(nodist_reiserfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6468 = \ +@COND_i386_pc_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ reiserfs.marker +@COND_i386_pc_TRUE@am__append_6469 = reiserfs.mod +@COND_i386_pc_TRUE@am__append_6470 = reiserfs.marker +@COND_i386_efi_TRUE@am__append_6471 = reiserfs.module +@COND_i386_efi_TRUE@am__append_6472 = reiserfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6473 = +@COND_i386_efi_TRUE@am__append_6474 = $(nodist_reiserfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6475 = \ +@COND_i386_efi_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ reiserfs.marker +@COND_i386_efi_TRUE@am__append_6476 = reiserfs.mod +@COND_i386_efi_TRUE@am__append_6477 = reiserfs.marker +@COND_i386_qemu_TRUE@am__append_6478 = reiserfs.module +@COND_i386_qemu_TRUE@am__append_6479 = reiserfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6480 = +@COND_i386_qemu_TRUE@am__append_6481 = $(nodist_reiserfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6482 = \ +@COND_i386_qemu_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ reiserfs.marker +@COND_i386_qemu_TRUE@am__append_6483 = reiserfs.mod +@COND_i386_qemu_TRUE@am__append_6484 = reiserfs.marker +@COND_i386_coreboot_TRUE@am__append_6485 = reiserfs.module +@COND_i386_coreboot_TRUE@am__append_6486 = reiserfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6487 = +@COND_i386_coreboot_TRUE@am__append_6488 = $(nodist_reiserfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6489 = \ +@COND_i386_coreboot_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ reiserfs.marker +@COND_i386_coreboot_TRUE@am__append_6490 = reiserfs.mod +@COND_i386_coreboot_TRUE@am__append_6491 = reiserfs.marker +@COND_i386_multiboot_TRUE@am__append_6492 = reiserfs.module +@COND_i386_multiboot_TRUE@am__append_6493 = reiserfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6494 = +@COND_i386_multiboot_TRUE@am__append_6495 = $(nodist_reiserfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6496 = \ +@COND_i386_multiboot_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ reiserfs.marker +@COND_i386_multiboot_TRUE@am__append_6497 = reiserfs.mod +@COND_i386_multiboot_TRUE@am__append_6498 = reiserfs.marker +@COND_i386_ieee1275_TRUE@am__append_6499 = reiserfs.module +@COND_i386_ieee1275_TRUE@am__append_6500 = reiserfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6501 = +@COND_i386_ieee1275_TRUE@am__append_6502 = $(nodist_reiserfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6503 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ reiserfs.marker +@COND_i386_ieee1275_TRUE@am__append_6504 = reiserfs.mod +@COND_i386_ieee1275_TRUE@am__append_6505 = reiserfs.marker +@COND_x86_64_efi_TRUE@am__append_6506 = reiserfs.module +@COND_x86_64_efi_TRUE@am__append_6507 = reiserfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6508 = +@COND_x86_64_efi_TRUE@am__append_6509 = $(nodist_reiserfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6510 = \ +@COND_x86_64_efi_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ reiserfs.marker +@COND_x86_64_efi_TRUE@am__append_6511 = reiserfs.mod +@COND_x86_64_efi_TRUE@am__append_6512 = reiserfs.marker +@COND_mips_yeeloong_TRUE@am__append_6513 = reiserfs.module +@COND_mips_yeeloong_TRUE@am__append_6514 = reiserfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6515 = +@COND_mips_yeeloong_TRUE@am__append_6516 = $(nodist_reiserfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6517 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ reiserfs.marker +@COND_mips_yeeloong_TRUE@am__append_6518 = reiserfs.mod +@COND_mips_yeeloong_TRUE@am__append_6519 = reiserfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6520 = reiserfs.module +@COND_sparc64_ieee1275_TRUE@am__append_6521 = reiserfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6522 = +@COND_sparc64_ieee1275_TRUE@am__append_6523 = $(nodist_reiserfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6524 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ reiserfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6525 = reiserfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_6526 = reiserfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6527 = reiserfs.module +@COND_powerpc_ieee1275_TRUE@am__append_6528 = reiserfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6529 = +@COND_powerpc_ieee1275_TRUE@am__append_6530 = $(nodist_reiserfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6531 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_reiserfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ reiserfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6532 = reiserfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_6533 = reiserfs.marker +@COND_emu_TRUE@am__append_6534 = sfs.module +@COND_emu_TRUE@am__append_6535 = sfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_6536 = +@COND_emu_TRUE@am__append_6537 = $(nodist_sfs_module_SOURCES) +@COND_emu_TRUE@am__append_6538 = $(nodist_sfs_module_SOURCES) \ +@COND_emu_TRUE@ sfs.marker +@COND_emu_TRUE@am__append_6539 = sfs.mod +@COND_emu_TRUE@am__append_6540 = sfs.marker +@COND_i386_pc_TRUE@am__append_6541 = sfs.module +@COND_i386_pc_TRUE@am__append_6542 = sfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6543 = +@COND_i386_pc_TRUE@am__append_6544 = $(nodist_sfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6545 = $(nodist_sfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ sfs.marker +@COND_i386_pc_TRUE@am__append_6546 = sfs.mod +@COND_i386_pc_TRUE@am__append_6547 = sfs.marker +@COND_i386_efi_TRUE@am__append_6548 = sfs.module +@COND_i386_efi_TRUE@am__append_6549 = sfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6550 = +@COND_i386_efi_TRUE@am__append_6551 = $(nodist_sfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6552 = $(nodist_sfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ sfs.marker +@COND_i386_efi_TRUE@am__append_6553 = sfs.mod +@COND_i386_efi_TRUE@am__append_6554 = sfs.marker +@COND_i386_qemu_TRUE@am__append_6555 = sfs.module +@COND_i386_qemu_TRUE@am__append_6556 = sfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6557 = +@COND_i386_qemu_TRUE@am__append_6558 = $(nodist_sfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6559 = $(nodist_sfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ sfs.marker +@COND_i386_qemu_TRUE@am__append_6560 = sfs.mod +@COND_i386_qemu_TRUE@am__append_6561 = sfs.marker +@COND_i386_coreboot_TRUE@am__append_6562 = sfs.module +@COND_i386_coreboot_TRUE@am__append_6563 = sfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6564 = +@COND_i386_coreboot_TRUE@am__append_6565 = $(nodist_sfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6566 = \ +@COND_i386_coreboot_TRUE@ $(nodist_sfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ sfs.marker +@COND_i386_coreboot_TRUE@am__append_6567 = sfs.mod +@COND_i386_coreboot_TRUE@am__append_6568 = sfs.marker +@COND_i386_multiboot_TRUE@am__append_6569 = sfs.module +@COND_i386_multiboot_TRUE@am__append_6570 = sfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6571 = +@COND_i386_multiboot_TRUE@am__append_6572 = $(nodist_sfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6573 = \ +@COND_i386_multiboot_TRUE@ $(nodist_sfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ sfs.marker +@COND_i386_multiboot_TRUE@am__append_6574 = sfs.mod +@COND_i386_multiboot_TRUE@am__append_6575 = sfs.marker +@COND_i386_ieee1275_TRUE@am__append_6576 = sfs.module +@COND_i386_ieee1275_TRUE@am__append_6577 = sfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6578 = +@COND_i386_ieee1275_TRUE@am__append_6579 = $(nodist_sfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6580 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_sfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ sfs.marker +@COND_i386_ieee1275_TRUE@am__append_6581 = sfs.mod +@COND_i386_ieee1275_TRUE@am__append_6582 = sfs.marker +@COND_x86_64_efi_TRUE@am__append_6583 = sfs.module +@COND_x86_64_efi_TRUE@am__append_6584 = sfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6585 = +@COND_x86_64_efi_TRUE@am__append_6586 = $(nodist_sfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6587 = $(nodist_sfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ sfs.marker +@COND_x86_64_efi_TRUE@am__append_6588 = sfs.mod +@COND_x86_64_efi_TRUE@am__append_6589 = sfs.marker +@COND_mips_yeeloong_TRUE@am__append_6590 = sfs.module +@COND_mips_yeeloong_TRUE@am__append_6591 = sfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6592 = +@COND_mips_yeeloong_TRUE@am__append_6593 = $(nodist_sfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6594 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_sfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ sfs.marker +@COND_mips_yeeloong_TRUE@am__append_6595 = sfs.mod +@COND_mips_yeeloong_TRUE@am__append_6596 = sfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6597 = sfs.module +@COND_sparc64_ieee1275_TRUE@am__append_6598 = sfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6599 = +@COND_sparc64_ieee1275_TRUE@am__append_6600 = $(nodist_sfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6601 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_sfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ sfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6602 = sfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_6603 = sfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6604 = sfs.module +@COND_powerpc_ieee1275_TRUE@am__append_6605 = sfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6606 = +@COND_powerpc_ieee1275_TRUE@am__append_6607 = $(nodist_sfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6608 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_sfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ sfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6609 = sfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_6610 = sfs.marker +@COND_emu_TRUE@am__append_6611 = tar.module +@COND_emu_TRUE@am__append_6612 = tar.module$(EXEEXT) +@COND_emu_TRUE@am__append_6613 = +@COND_emu_TRUE@am__append_6614 = $(nodist_tar_module_SOURCES) +@COND_emu_TRUE@am__append_6615 = $(nodist_tar_module_SOURCES) \ +@COND_emu_TRUE@ tar.marker +@COND_emu_TRUE@am__append_6616 = tar.mod +@COND_emu_TRUE@am__append_6617 = tar.marker +@COND_i386_pc_TRUE@am__append_6618 = tar.module +@COND_i386_pc_TRUE@am__append_6619 = tar.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6620 = +@COND_i386_pc_TRUE@am__append_6621 = $(nodist_tar_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6622 = $(nodist_tar_module_SOURCES) \ +@COND_i386_pc_TRUE@ tar.marker +@COND_i386_pc_TRUE@am__append_6623 = tar.mod +@COND_i386_pc_TRUE@am__append_6624 = tar.marker +@COND_i386_efi_TRUE@am__append_6625 = tar.module +@COND_i386_efi_TRUE@am__append_6626 = tar.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6627 = +@COND_i386_efi_TRUE@am__append_6628 = $(nodist_tar_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6629 = $(nodist_tar_module_SOURCES) \ +@COND_i386_efi_TRUE@ tar.marker +@COND_i386_efi_TRUE@am__append_6630 = tar.mod +@COND_i386_efi_TRUE@am__append_6631 = tar.marker +@COND_i386_qemu_TRUE@am__append_6632 = tar.module +@COND_i386_qemu_TRUE@am__append_6633 = tar.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6634 = +@COND_i386_qemu_TRUE@am__append_6635 = $(nodist_tar_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6636 = $(nodist_tar_module_SOURCES) \ +@COND_i386_qemu_TRUE@ tar.marker +@COND_i386_qemu_TRUE@am__append_6637 = tar.mod +@COND_i386_qemu_TRUE@am__append_6638 = tar.marker +@COND_i386_coreboot_TRUE@am__append_6639 = tar.module +@COND_i386_coreboot_TRUE@am__append_6640 = tar.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6641 = +@COND_i386_coreboot_TRUE@am__append_6642 = $(nodist_tar_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6643 = \ +@COND_i386_coreboot_TRUE@ $(nodist_tar_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ tar.marker +@COND_i386_coreboot_TRUE@am__append_6644 = tar.mod +@COND_i386_coreboot_TRUE@am__append_6645 = tar.marker +@COND_i386_multiboot_TRUE@am__append_6646 = tar.module +@COND_i386_multiboot_TRUE@am__append_6647 = tar.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6648 = +@COND_i386_multiboot_TRUE@am__append_6649 = $(nodist_tar_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6650 = \ +@COND_i386_multiboot_TRUE@ $(nodist_tar_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ tar.marker +@COND_i386_multiboot_TRUE@am__append_6651 = tar.mod +@COND_i386_multiboot_TRUE@am__append_6652 = tar.marker +@COND_i386_ieee1275_TRUE@am__append_6653 = tar.module +@COND_i386_ieee1275_TRUE@am__append_6654 = tar.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6655 = +@COND_i386_ieee1275_TRUE@am__append_6656 = $(nodist_tar_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6657 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_tar_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ tar.marker +@COND_i386_ieee1275_TRUE@am__append_6658 = tar.mod +@COND_i386_ieee1275_TRUE@am__append_6659 = tar.marker +@COND_x86_64_efi_TRUE@am__append_6660 = tar.module +@COND_x86_64_efi_TRUE@am__append_6661 = tar.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6662 = +@COND_x86_64_efi_TRUE@am__append_6663 = $(nodist_tar_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6664 = $(nodist_tar_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ tar.marker +@COND_x86_64_efi_TRUE@am__append_6665 = tar.mod +@COND_x86_64_efi_TRUE@am__append_6666 = tar.marker +@COND_mips_yeeloong_TRUE@am__append_6667 = tar.module +@COND_mips_yeeloong_TRUE@am__append_6668 = tar.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6669 = +@COND_mips_yeeloong_TRUE@am__append_6670 = $(nodist_tar_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6671 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_tar_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ tar.marker +@COND_mips_yeeloong_TRUE@am__append_6672 = tar.mod +@COND_mips_yeeloong_TRUE@am__append_6673 = tar.marker +@COND_sparc64_ieee1275_TRUE@am__append_6674 = tar.module +@COND_sparc64_ieee1275_TRUE@am__append_6675 = tar.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6676 = +@COND_sparc64_ieee1275_TRUE@am__append_6677 = $(nodist_tar_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6678 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_tar_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ tar.marker +@COND_sparc64_ieee1275_TRUE@am__append_6679 = tar.mod +@COND_sparc64_ieee1275_TRUE@am__append_6680 = tar.marker +@COND_powerpc_ieee1275_TRUE@am__append_6681 = tar.module +@COND_powerpc_ieee1275_TRUE@am__append_6682 = tar.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6683 = +@COND_powerpc_ieee1275_TRUE@am__append_6684 = $(nodist_tar_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6685 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_tar_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ tar.marker +@COND_powerpc_ieee1275_TRUE@am__append_6686 = tar.mod +@COND_powerpc_ieee1275_TRUE@am__append_6687 = tar.marker +@COND_emu_TRUE@am__append_6688 = udf.module +@COND_emu_TRUE@am__append_6689 = udf.module$(EXEEXT) +@COND_emu_TRUE@am__append_6690 = +@COND_emu_TRUE@am__append_6691 = $(nodist_udf_module_SOURCES) +@COND_emu_TRUE@am__append_6692 = $(nodist_udf_module_SOURCES) \ +@COND_emu_TRUE@ udf.marker +@COND_emu_TRUE@am__append_6693 = udf.mod +@COND_emu_TRUE@am__append_6694 = udf.marker +@COND_i386_pc_TRUE@am__append_6695 = udf.module +@COND_i386_pc_TRUE@am__append_6696 = udf.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6697 = +@COND_i386_pc_TRUE@am__append_6698 = $(nodist_udf_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6699 = $(nodist_udf_module_SOURCES) \ +@COND_i386_pc_TRUE@ udf.marker +@COND_i386_pc_TRUE@am__append_6700 = udf.mod +@COND_i386_pc_TRUE@am__append_6701 = udf.marker +@COND_i386_efi_TRUE@am__append_6702 = udf.module +@COND_i386_efi_TRUE@am__append_6703 = udf.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6704 = +@COND_i386_efi_TRUE@am__append_6705 = $(nodist_udf_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6706 = $(nodist_udf_module_SOURCES) \ +@COND_i386_efi_TRUE@ udf.marker +@COND_i386_efi_TRUE@am__append_6707 = udf.mod +@COND_i386_efi_TRUE@am__append_6708 = udf.marker +@COND_i386_qemu_TRUE@am__append_6709 = udf.module +@COND_i386_qemu_TRUE@am__append_6710 = udf.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6711 = +@COND_i386_qemu_TRUE@am__append_6712 = $(nodist_udf_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6713 = $(nodist_udf_module_SOURCES) \ +@COND_i386_qemu_TRUE@ udf.marker +@COND_i386_qemu_TRUE@am__append_6714 = udf.mod +@COND_i386_qemu_TRUE@am__append_6715 = udf.marker +@COND_i386_coreboot_TRUE@am__append_6716 = udf.module +@COND_i386_coreboot_TRUE@am__append_6717 = udf.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6718 = +@COND_i386_coreboot_TRUE@am__append_6719 = $(nodist_udf_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6720 = \ +@COND_i386_coreboot_TRUE@ $(nodist_udf_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ udf.marker +@COND_i386_coreboot_TRUE@am__append_6721 = udf.mod +@COND_i386_coreboot_TRUE@am__append_6722 = udf.marker +@COND_i386_multiboot_TRUE@am__append_6723 = udf.module +@COND_i386_multiboot_TRUE@am__append_6724 = udf.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6725 = +@COND_i386_multiboot_TRUE@am__append_6726 = $(nodist_udf_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6727 = \ +@COND_i386_multiboot_TRUE@ $(nodist_udf_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ udf.marker +@COND_i386_multiboot_TRUE@am__append_6728 = udf.mod +@COND_i386_multiboot_TRUE@am__append_6729 = udf.marker +@COND_i386_ieee1275_TRUE@am__append_6730 = udf.module +@COND_i386_ieee1275_TRUE@am__append_6731 = udf.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6732 = +@COND_i386_ieee1275_TRUE@am__append_6733 = $(nodist_udf_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6734 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_udf_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ udf.marker +@COND_i386_ieee1275_TRUE@am__append_6735 = udf.mod +@COND_i386_ieee1275_TRUE@am__append_6736 = udf.marker +@COND_x86_64_efi_TRUE@am__append_6737 = udf.module +@COND_x86_64_efi_TRUE@am__append_6738 = udf.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6739 = +@COND_x86_64_efi_TRUE@am__append_6740 = $(nodist_udf_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6741 = $(nodist_udf_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ udf.marker +@COND_x86_64_efi_TRUE@am__append_6742 = udf.mod +@COND_x86_64_efi_TRUE@am__append_6743 = udf.marker +@COND_mips_yeeloong_TRUE@am__append_6744 = udf.module +@COND_mips_yeeloong_TRUE@am__append_6745 = udf.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6746 = +@COND_mips_yeeloong_TRUE@am__append_6747 = $(nodist_udf_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6748 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_udf_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ udf.marker +@COND_mips_yeeloong_TRUE@am__append_6749 = udf.mod +@COND_mips_yeeloong_TRUE@am__append_6750 = udf.marker +@COND_sparc64_ieee1275_TRUE@am__append_6751 = udf.module +@COND_sparc64_ieee1275_TRUE@am__append_6752 = udf.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6753 = +@COND_sparc64_ieee1275_TRUE@am__append_6754 = $(nodist_udf_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6755 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_udf_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ udf.marker +@COND_sparc64_ieee1275_TRUE@am__append_6756 = udf.mod +@COND_sparc64_ieee1275_TRUE@am__append_6757 = udf.marker +@COND_powerpc_ieee1275_TRUE@am__append_6758 = udf.module +@COND_powerpc_ieee1275_TRUE@am__append_6759 = udf.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6760 = +@COND_powerpc_ieee1275_TRUE@am__append_6761 = $(nodist_udf_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6762 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_udf_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ udf.marker +@COND_powerpc_ieee1275_TRUE@am__append_6763 = udf.mod +@COND_powerpc_ieee1275_TRUE@am__append_6764 = udf.marker +@COND_emu_TRUE@am__append_6765 = ufs1.module +@COND_emu_TRUE@am__append_6766 = ufs1.module$(EXEEXT) +@COND_emu_TRUE@am__append_6767 = +@COND_emu_TRUE@am__append_6768 = $(nodist_ufs1_module_SOURCES) +@COND_emu_TRUE@am__append_6769 = $(nodist_ufs1_module_SOURCES) \ +@COND_emu_TRUE@ ufs1.marker +@COND_emu_TRUE@am__append_6770 = ufs1.mod +@COND_emu_TRUE@am__append_6771 = ufs1.marker +@COND_i386_pc_TRUE@am__append_6772 = ufs1.module +@COND_i386_pc_TRUE@am__append_6773 = ufs1.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6774 = +@COND_i386_pc_TRUE@am__append_6775 = $(nodist_ufs1_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6776 = $(nodist_ufs1_module_SOURCES) \ +@COND_i386_pc_TRUE@ ufs1.marker +@COND_i386_pc_TRUE@am__append_6777 = ufs1.mod +@COND_i386_pc_TRUE@am__append_6778 = ufs1.marker +@COND_i386_efi_TRUE@am__append_6779 = ufs1.module +@COND_i386_efi_TRUE@am__append_6780 = ufs1.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6781 = +@COND_i386_efi_TRUE@am__append_6782 = $(nodist_ufs1_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6783 = $(nodist_ufs1_module_SOURCES) \ +@COND_i386_efi_TRUE@ ufs1.marker +@COND_i386_efi_TRUE@am__append_6784 = ufs1.mod +@COND_i386_efi_TRUE@am__append_6785 = ufs1.marker +@COND_i386_qemu_TRUE@am__append_6786 = ufs1.module +@COND_i386_qemu_TRUE@am__append_6787 = ufs1.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6788 = +@COND_i386_qemu_TRUE@am__append_6789 = $(nodist_ufs1_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6790 = $(nodist_ufs1_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ufs1.marker +@COND_i386_qemu_TRUE@am__append_6791 = ufs1.mod +@COND_i386_qemu_TRUE@am__append_6792 = ufs1.marker +@COND_i386_coreboot_TRUE@am__append_6793 = ufs1.module +@COND_i386_coreboot_TRUE@am__append_6794 = ufs1.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6795 = +@COND_i386_coreboot_TRUE@am__append_6796 = $(nodist_ufs1_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6797 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ufs1_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ufs1.marker +@COND_i386_coreboot_TRUE@am__append_6798 = ufs1.mod +@COND_i386_coreboot_TRUE@am__append_6799 = ufs1.marker +@COND_i386_multiboot_TRUE@am__append_6800 = ufs1.module +@COND_i386_multiboot_TRUE@am__append_6801 = ufs1.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6802 = +@COND_i386_multiboot_TRUE@am__append_6803 = $(nodist_ufs1_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6804 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ufs1_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ufs1.marker +@COND_i386_multiboot_TRUE@am__append_6805 = ufs1.mod +@COND_i386_multiboot_TRUE@am__append_6806 = ufs1.marker +@COND_i386_ieee1275_TRUE@am__append_6807 = ufs1.module +@COND_i386_ieee1275_TRUE@am__append_6808 = ufs1.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6809 = +@COND_i386_ieee1275_TRUE@am__append_6810 = $(nodist_ufs1_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6811 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ufs1_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ufs1.marker +@COND_i386_ieee1275_TRUE@am__append_6812 = ufs1.mod +@COND_i386_ieee1275_TRUE@am__append_6813 = ufs1.marker +@COND_x86_64_efi_TRUE@am__append_6814 = ufs1.module +@COND_x86_64_efi_TRUE@am__append_6815 = ufs1.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6816 = +@COND_x86_64_efi_TRUE@am__append_6817 = $(nodist_ufs1_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6818 = $(nodist_ufs1_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ufs1.marker +@COND_x86_64_efi_TRUE@am__append_6819 = ufs1.mod +@COND_x86_64_efi_TRUE@am__append_6820 = ufs1.marker +@COND_mips_yeeloong_TRUE@am__append_6821 = ufs1.module +@COND_mips_yeeloong_TRUE@am__append_6822 = ufs1.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6823 = +@COND_mips_yeeloong_TRUE@am__append_6824 = $(nodist_ufs1_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6825 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ufs1_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ufs1.marker +@COND_mips_yeeloong_TRUE@am__append_6826 = ufs1.mod +@COND_mips_yeeloong_TRUE@am__append_6827 = ufs1.marker +@COND_sparc64_ieee1275_TRUE@am__append_6828 = ufs1.module +@COND_sparc64_ieee1275_TRUE@am__append_6829 = ufs1.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6830 = +@COND_sparc64_ieee1275_TRUE@am__append_6831 = $(nodist_ufs1_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6832 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_ufs1_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ ufs1.marker +@COND_sparc64_ieee1275_TRUE@am__append_6833 = ufs1.mod +@COND_sparc64_ieee1275_TRUE@am__append_6834 = ufs1.marker +@COND_powerpc_ieee1275_TRUE@am__append_6835 = ufs1.module +@COND_powerpc_ieee1275_TRUE@am__append_6836 = ufs1.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6837 = +@COND_powerpc_ieee1275_TRUE@am__append_6838 = $(nodist_ufs1_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6839 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ufs1_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ufs1.marker +@COND_powerpc_ieee1275_TRUE@am__append_6840 = ufs1.mod +@COND_powerpc_ieee1275_TRUE@am__append_6841 = ufs1.marker +@COND_emu_TRUE@am__append_6842 = ufs2.module +@COND_emu_TRUE@am__append_6843 = ufs2.module$(EXEEXT) +@COND_emu_TRUE@am__append_6844 = +@COND_emu_TRUE@am__append_6845 = $(nodist_ufs2_module_SOURCES) +@COND_emu_TRUE@am__append_6846 = $(nodist_ufs2_module_SOURCES) \ +@COND_emu_TRUE@ ufs2.marker +@COND_emu_TRUE@am__append_6847 = ufs2.mod +@COND_emu_TRUE@am__append_6848 = ufs2.marker +@COND_i386_pc_TRUE@am__append_6849 = ufs2.module +@COND_i386_pc_TRUE@am__append_6850 = ufs2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6851 = +@COND_i386_pc_TRUE@am__append_6852 = $(nodist_ufs2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6853 = $(nodist_ufs2_module_SOURCES) \ +@COND_i386_pc_TRUE@ ufs2.marker +@COND_i386_pc_TRUE@am__append_6854 = ufs2.mod +@COND_i386_pc_TRUE@am__append_6855 = ufs2.marker +@COND_i386_efi_TRUE@am__append_6856 = ufs2.module +@COND_i386_efi_TRUE@am__append_6857 = ufs2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6858 = +@COND_i386_efi_TRUE@am__append_6859 = $(nodist_ufs2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6860 = $(nodist_ufs2_module_SOURCES) \ +@COND_i386_efi_TRUE@ ufs2.marker +@COND_i386_efi_TRUE@am__append_6861 = ufs2.mod +@COND_i386_efi_TRUE@am__append_6862 = ufs2.marker +@COND_i386_qemu_TRUE@am__append_6863 = ufs2.module +@COND_i386_qemu_TRUE@am__append_6864 = ufs2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6865 = +@COND_i386_qemu_TRUE@am__append_6866 = $(nodist_ufs2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6867 = $(nodist_ufs2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ ufs2.marker +@COND_i386_qemu_TRUE@am__append_6868 = ufs2.mod +@COND_i386_qemu_TRUE@am__append_6869 = ufs2.marker +@COND_i386_coreboot_TRUE@am__append_6870 = ufs2.module +@COND_i386_coreboot_TRUE@am__append_6871 = ufs2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6872 = +@COND_i386_coreboot_TRUE@am__append_6873 = $(nodist_ufs2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6874 = \ +@COND_i386_coreboot_TRUE@ $(nodist_ufs2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ ufs2.marker +@COND_i386_coreboot_TRUE@am__append_6875 = ufs2.mod +@COND_i386_coreboot_TRUE@am__append_6876 = ufs2.marker +@COND_i386_multiboot_TRUE@am__append_6877 = ufs2.module +@COND_i386_multiboot_TRUE@am__append_6878 = ufs2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6879 = +@COND_i386_multiboot_TRUE@am__append_6880 = $(nodist_ufs2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6881 = \ +@COND_i386_multiboot_TRUE@ $(nodist_ufs2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ ufs2.marker +@COND_i386_multiboot_TRUE@am__append_6882 = ufs2.mod +@COND_i386_multiboot_TRUE@am__append_6883 = ufs2.marker +@COND_i386_ieee1275_TRUE@am__append_6884 = ufs2.module +@COND_i386_ieee1275_TRUE@am__append_6885 = ufs2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6886 = +@COND_i386_ieee1275_TRUE@am__append_6887 = $(nodist_ufs2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6888 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_ufs2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ ufs2.marker +@COND_i386_ieee1275_TRUE@am__append_6889 = ufs2.mod +@COND_i386_ieee1275_TRUE@am__append_6890 = ufs2.marker +@COND_x86_64_efi_TRUE@am__append_6891 = ufs2.module +@COND_x86_64_efi_TRUE@am__append_6892 = ufs2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6893 = +@COND_x86_64_efi_TRUE@am__append_6894 = $(nodist_ufs2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6895 = $(nodist_ufs2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ ufs2.marker +@COND_x86_64_efi_TRUE@am__append_6896 = ufs2.mod +@COND_x86_64_efi_TRUE@am__append_6897 = ufs2.marker +@COND_mips_yeeloong_TRUE@am__append_6898 = ufs2.module +@COND_mips_yeeloong_TRUE@am__append_6899 = ufs2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6900 = +@COND_mips_yeeloong_TRUE@am__append_6901 = $(nodist_ufs2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6902 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_ufs2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ ufs2.marker +@COND_mips_yeeloong_TRUE@am__append_6903 = ufs2.mod +@COND_mips_yeeloong_TRUE@am__append_6904 = ufs2.marker +@COND_sparc64_ieee1275_TRUE@am__append_6905 = ufs2.module +@COND_sparc64_ieee1275_TRUE@am__append_6906 = ufs2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6907 = +@COND_sparc64_ieee1275_TRUE@am__append_6908 = $(nodist_ufs2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6909 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_ufs2_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ ufs2.marker +@COND_sparc64_ieee1275_TRUE@am__append_6910 = ufs2.mod +@COND_sparc64_ieee1275_TRUE@am__append_6911 = ufs2.marker +@COND_powerpc_ieee1275_TRUE@am__append_6912 = ufs2.module +@COND_powerpc_ieee1275_TRUE@am__append_6913 = ufs2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6914 = +@COND_powerpc_ieee1275_TRUE@am__append_6915 = $(nodist_ufs2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6916 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ufs2_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ufs2.marker +@COND_powerpc_ieee1275_TRUE@am__append_6917 = ufs2.mod +@COND_powerpc_ieee1275_TRUE@am__append_6918 = ufs2.marker +@COND_emu_TRUE@am__append_6919 = xfs.module +@COND_emu_TRUE@am__append_6920 = xfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_6921 = +@COND_emu_TRUE@am__append_6922 = $(nodist_xfs_module_SOURCES) +@COND_emu_TRUE@am__append_6923 = $(nodist_xfs_module_SOURCES) \ +@COND_emu_TRUE@ xfs.marker +@COND_emu_TRUE@am__append_6924 = xfs.mod +@COND_emu_TRUE@am__append_6925 = xfs.marker +@COND_i386_pc_TRUE@am__append_6926 = xfs.module +@COND_i386_pc_TRUE@am__append_6927 = xfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_6928 = +@COND_i386_pc_TRUE@am__append_6929 = $(nodist_xfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_6930 = $(nodist_xfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ xfs.marker +@COND_i386_pc_TRUE@am__append_6931 = xfs.mod +@COND_i386_pc_TRUE@am__append_6932 = xfs.marker +@COND_i386_efi_TRUE@am__append_6933 = xfs.module +@COND_i386_efi_TRUE@am__append_6934 = xfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_6935 = +@COND_i386_efi_TRUE@am__append_6936 = $(nodist_xfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_6937 = $(nodist_xfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ xfs.marker +@COND_i386_efi_TRUE@am__append_6938 = xfs.mod +@COND_i386_efi_TRUE@am__append_6939 = xfs.marker +@COND_i386_qemu_TRUE@am__append_6940 = xfs.module +@COND_i386_qemu_TRUE@am__append_6941 = xfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_6942 = +@COND_i386_qemu_TRUE@am__append_6943 = $(nodist_xfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_6944 = $(nodist_xfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ xfs.marker +@COND_i386_qemu_TRUE@am__append_6945 = xfs.mod +@COND_i386_qemu_TRUE@am__append_6946 = xfs.marker +@COND_i386_coreboot_TRUE@am__append_6947 = xfs.module +@COND_i386_coreboot_TRUE@am__append_6948 = xfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_6949 = +@COND_i386_coreboot_TRUE@am__append_6950 = $(nodist_xfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_6951 = \ +@COND_i386_coreboot_TRUE@ $(nodist_xfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ xfs.marker +@COND_i386_coreboot_TRUE@am__append_6952 = xfs.mod +@COND_i386_coreboot_TRUE@am__append_6953 = xfs.marker +@COND_i386_multiboot_TRUE@am__append_6954 = xfs.module +@COND_i386_multiboot_TRUE@am__append_6955 = xfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_6956 = +@COND_i386_multiboot_TRUE@am__append_6957 = $(nodist_xfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_6958 = \ +@COND_i386_multiboot_TRUE@ $(nodist_xfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ xfs.marker +@COND_i386_multiboot_TRUE@am__append_6959 = xfs.mod +@COND_i386_multiboot_TRUE@am__append_6960 = xfs.marker +@COND_i386_ieee1275_TRUE@am__append_6961 = xfs.module +@COND_i386_ieee1275_TRUE@am__append_6962 = xfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_6963 = +@COND_i386_ieee1275_TRUE@am__append_6964 = $(nodist_xfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_6965 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_xfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ xfs.marker +@COND_i386_ieee1275_TRUE@am__append_6966 = xfs.mod +@COND_i386_ieee1275_TRUE@am__append_6967 = xfs.marker +@COND_x86_64_efi_TRUE@am__append_6968 = xfs.module +@COND_x86_64_efi_TRUE@am__append_6969 = xfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_6970 = +@COND_x86_64_efi_TRUE@am__append_6971 = $(nodist_xfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_6972 = $(nodist_xfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ xfs.marker +@COND_x86_64_efi_TRUE@am__append_6973 = xfs.mod +@COND_x86_64_efi_TRUE@am__append_6974 = xfs.marker +@COND_mips_yeeloong_TRUE@am__append_6975 = xfs.module +@COND_mips_yeeloong_TRUE@am__append_6976 = xfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_6977 = +@COND_mips_yeeloong_TRUE@am__append_6978 = $(nodist_xfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_6979 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_xfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ xfs.marker +@COND_mips_yeeloong_TRUE@am__append_6980 = xfs.mod +@COND_mips_yeeloong_TRUE@am__append_6981 = xfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6982 = xfs.module +@COND_sparc64_ieee1275_TRUE@am__append_6983 = xfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_6984 = +@COND_sparc64_ieee1275_TRUE@am__append_6985 = $(nodist_xfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_6986 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_xfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ xfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_6987 = xfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_6988 = xfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6989 = xfs.module +@COND_powerpc_ieee1275_TRUE@am__append_6990 = xfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_6991 = +@COND_powerpc_ieee1275_TRUE@am__append_6992 = $(nodist_xfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_6993 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_xfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ xfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_6994 = xfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_6995 = xfs.marker +@COND_emu_TRUE@am__append_6996 = zfs.module +@COND_emu_TRUE@am__append_6997 = zfs.module$(EXEEXT) +@COND_emu_TRUE@am__append_6998 = +@COND_emu_TRUE@am__append_6999 = $(nodist_zfs_module_SOURCES) +@COND_emu_TRUE@am__append_7000 = $(nodist_zfs_module_SOURCES) \ +@COND_emu_TRUE@ zfs.marker +@COND_emu_TRUE@am__append_7001 = zfs.mod +@COND_emu_TRUE@am__append_7002 = zfs.marker +@COND_i386_pc_TRUE@am__append_7003 = zfs.module +@COND_i386_pc_TRUE@am__append_7004 = zfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7005 = +@COND_i386_pc_TRUE@am__append_7006 = $(nodist_zfs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7007 = $(nodist_zfs_module_SOURCES) \ +@COND_i386_pc_TRUE@ zfs.marker +@COND_i386_pc_TRUE@am__append_7008 = zfs.mod +@COND_i386_pc_TRUE@am__append_7009 = zfs.marker +@COND_i386_efi_TRUE@am__append_7010 = zfs.module +@COND_i386_efi_TRUE@am__append_7011 = zfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7012 = +@COND_i386_efi_TRUE@am__append_7013 = $(nodist_zfs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7014 = $(nodist_zfs_module_SOURCES) \ +@COND_i386_efi_TRUE@ zfs.marker +@COND_i386_efi_TRUE@am__append_7015 = zfs.mod +@COND_i386_efi_TRUE@am__append_7016 = zfs.marker +@COND_i386_qemu_TRUE@am__append_7017 = zfs.module +@COND_i386_qemu_TRUE@am__append_7018 = zfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7019 = +@COND_i386_qemu_TRUE@am__append_7020 = $(nodist_zfs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7021 = $(nodist_zfs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ zfs.marker +@COND_i386_qemu_TRUE@am__append_7022 = zfs.mod +@COND_i386_qemu_TRUE@am__append_7023 = zfs.marker +@COND_i386_coreboot_TRUE@am__append_7024 = zfs.module +@COND_i386_coreboot_TRUE@am__append_7025 = zfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7026 = +@COND_i386_coreboot_TRUE@am__append_7027 = $(nodist_zfs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7028 = \ +@COND_i386_coreboot_TRUE@ $(nodist_zfs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ zfs.marker +@COND_i386_coreboot_TRUE@am__append_7029 = zfs.mod +@COND_i386_coreboot_TRUE@am__append_7030 = zfs.marker +@COND_i386_multiboot_TRUE@am__append_7031 = zfs.module +@COND_i386_multiboot_TRUE@am__append_7032 = zfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7033 = +@COND_i386_multiboot_TRUE@am__append_7034 = $(nodist_zfs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7035 = \ +@COND_i386_multiboot_TRUE@ $(nodist_zfs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ zfs.marker +@COND_i386_multiboot_TRUE@am__append_7036 = zfs.mod +@COND_i386_multiboot_TRUE@am__append_7037 = zfs.marker +@COND_i386_ieee1275_TRUE@am__append_7038 = zfs.module +@COND_i386_ieee1275_TRUE@am__append_7039 = zfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7040 = +@COND_i386_ieee1275_TRUE@am__append_7041 = $(nodist_zfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7042 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_zfs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ zfs.marker +@COND_i386_ieee1275_TRUE@am__append_7043 = zfs.mod +@COND_i386_ieee1275_TRUE@am__append_7044 = zfs.marker +@COND_x86_64_efi_TRUE@am__append_7045 = zfs.module +@COND_x86_64_efi_TRUE@am__append_7046 = zfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7047 = +@COND_x86_64_efi_TRUE@am__append_7048 = $(nodist_zfs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7049 = $(nodist_zfs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ zfs.marker +@COND_x86_64_efi_TRUE@am__append_7050 = zfs.mod +@COND_x86_64_efi_TRUE@am__append_7051 = zfs.marker +@COND_mips_yeeloong_TRUE@am__append_7052 = zfs.module +@COND_mips_yeeloong_TRUE@am__append_7053 = zfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7054 = +@COND_mips_yeeloong_TRUE@am__append_7055 = $(nodist_zfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7056 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_zfs_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ zfs.marker +@COND_mips_yeeloong_TRUE@am__append_7057 = zfs.mod +@COND_mips_yeeloong_TRUE@am__append_7058 = zfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_7059 = zfs.module +@COND_sparc64_ieee1275_TRUE@am__append_7060 = zfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7061 = +@COND_sparc64_ieee1275_TRUE@am__append_7062 = $(nodist_zfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7063 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_zfs_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ zfs.marker +@COND_sparc64_ieee1275_TRUE@am__append_7064 = zfs.mod +@COND_sparc64_ieee1275_TRUE@am__append_7065 = zfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_7066 = zfs.module +@COND_powerpc_ieee1275_TRUE@am__append_7067 = zfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7068 = +@COND_powerpc_ieee1275_TRUE@am__append_7069 = $(nodist_zfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7070 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_zfs_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ zfs.marker +@COND_powerpc_ieee1275_TRUE@am__append_7071 = zfs.mod +@COND_powerpc_ieee1275_TRUE@am__append_7072 = zfs.marker +@COND_emu_TRUE@am__append_7073 = zfsinfo.module +@COND_emu_TRUE@am__append_7074 = zfsinfo.module$(EXEEXT) +@COND_emu_TRUE@am__append_7075 = +@COND_emu_TRUE@am__append_7076 = $(nodist_zfsinfo_module_SOURCES) +@COND_emu_TRUE@am__append_7077 = $(nodist_zfsinfo_module_SOURCES) \ +@COND_emu_TRUE@ zfsinfo.marker +@COND_emu_TRUE@am__append_7078 = zfsinfo.mod +@COND_emu_TRUE@am__append_7079 = zfsinfo.marker +@COND_i386_pc_TRUE@am__append_7080 = zfsinfo.module +@COND_i386_pc_TRUE@am__append_7081 = zfsinfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7082 = +@COND_i386_pc_TRUE@am__append_7083 = $(nodist_zfsinfo_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7084 = $(nodist_zfsinfo_module_SOURCES) \ +@COND_i386_pc_TRUE@ zfsinfo.marker +@COND_i386_pc_TRUE@am__append_7085 = zfsinfo.mod +@COND_i386_pc_TRUE@am__append_7086 = zfsinfo.marker +@COND_i386_efi_TRUE@am__append_7087 = zfsinfo.module +@COND_i386_efi_TRUE@am__append_7088 = zfsinfo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7089 = +@COND_i386_efi_TRUE@am__append_7090 = $(nodist_zfsinfo_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7091 = \ +@COND_i386_efi_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_i386_efi_TRUE@ zfsinfo.marker +@COND_i386_efi_TRUE@am__append_7092 = zfsinfo.mod +@COND_i386_efi_TRUE@am__append_7093 = zfsinfo.marker +@COND_i386_qemu_TRUE@am__append_7094 = zfsinfo.module +@COND_i386_qemu_TRUE@am__append_7095 = zfsinfo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7096 = +@COND_i386_qemu_TRUE@am__append_7097 = $(nodist_zfsinfo_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7098 = \ +@COND_i386_qemu_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_i386_qemu_TRUE@ zfsinfo.marker +@COND_i386_qemu_TRUE@am__append_7099 = zfsinfo.mod +@COND_i386_qemu_TRUE@am__append_7100 = zfsinfo.marker +@COND_i386_coreboot_TRUE@am__append_7101 = zfsinfo.module +@COND_i386_coreboot_TRUE@am__append_7102 = zfsinfo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7103 = +@COND_i386_coreboot_TRUE@am__append_7104 = $(nodist_zfsinfo_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7105 = \ +@COND_i386_coreboot_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ zfsinfo.marker +@COND_i386_coreboot_TRUE@am__append_7106 = zfsinfo.mod +@COND_i386_coreboot_TRUE@am__append_7107 = zfsinfo.marker +@COND_i386_multiboot_TRUE@am__append_7108 = zfsinfo.module +@COND_i386_multiboot_TRUE@am__append_7109 = zfsinfo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7110 = +@COND_i386_multiboot_TRUE@am__append_7111 = $(nodist_zfsinfo_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7112 = \ +@COND_i386_multiboot_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ zfsinfo.marker +@COND_i386_multiboot_TRUE@am__append_7113 = zfsinfo.mod +@COND_i386_multiboot_TRUE@am__append_7114 = zfsinfo.marker +@COND_i386_ieee1275_TRUE@am__append_7115 = zfsinfo.module +@COND_i386_ieee1275_TRUE@am__append_7116 = zfsinfo.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7117 = +@COND_i386_ieee1275_TRUE@am__append_7118 = $(nodist_zfsinfo_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7119 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ zfsinfo.marker +@COND_i386_ieee1275_TRUE@am__append_7120 = zfsinfo.mod +@COND_i386_ieee1275_TRUE@am__append_7121 = zfsinfo.marker +@COND_x86_64_efi_TRUE@am__append_7122 = zfsinfo.module +@COND_x86_64_efi_TRUE@am__append_7123 = zfsinfo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7124 = +@COND_x86_64_efi_TRUE@am__append_7125 = $(nodist_zfsinfo_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7126 = \ +@COND_x86_64_efi_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ zfsinfo.marker +@COND_x86_64_efi_TRUE@am__append_7127 = zfsinfo.mod +@COND_x86_64_efi_TRUE@am__append_7128 = zfsinfo.marker +@COND_mips_yeeloong_TRUE@am__append_7129 = zfsinfo.module +@COND_mips_yeeloong_TRUE@am__append_7130 = zfsinfo.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7131 = +@COND_mips_yeeloong_TRUE@am__append_7132 = $(nodist_zfsinfo_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7133 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ zfsinfo.marker +@COND_mips_yeeloong_TRUE@am__append_7134 = zfsinfo.mod +@COND_mips_yeeloong_TRUE@am__append_7135 = zfsinfo.marker +@COND_sparc64_ieee1275_TRUE@am__append_7136 = zfsinfo.module +@COND_sparc64_ieee1275_TRUE@am__append_7137 = zfsinfo.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7138 = +@COND_sparc64_ieee1275_TRUE@am__append_7139 = $(nodist_zfsinfo_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7140 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ zfsinfo.marker +@COND_sparc64_ieee1275_TRUE@am__append_7141 = zfsinfo.mod +@COND_sparc64_ieee1275_TRUE@am__append_7142 = zfsinfo.marker +@COND_powerpc_ieee1275_TRUE@am__append_7143 = zfsinfo.module +@COND_powerpc_ieee1275_TRUE@am__append_7144 = zfsinfo.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7145 = +@COND_powerpc_ieee1275_TRUE@am__append_7146 = $(nodist_zfsinfo_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7147 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_zfsinfo_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ zfsinfo.marker +@COND_powerpc_ieee1275_TRUE@am__append_7148 = zfsinfo.mod +@COND_powerpc_ieee1275_TRUE@am__append_7149 = zfsinfo.marker +@COND_i386_pc_TRUE@am__append_7150 = pxe.module +@COND_i386_pc_TRUE@am__append_7151 = pxe.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7152 = +@COND_i386_pc_TRUE@am__append_7153 = $(nodist_pxe_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7154 = $(nodist_pxe_module_SOURCES) \ +@COND_i386_pc_TRUE@ pxe.marker +@COND_i386_pc_TRUE@am__append_7155 = pxe.mod +@COND_i386_pc_TRUE@am__append_7156 = pxe.marker +@COND_emu_TRUE@am__append_7157 = gettext.module +@COND_emu_TRUE@am__append_7158 = gettext.module$(EXEEXT) +@COND_emu_TRUE@am__append_7159 = +@COND_emu_TRUE@am__append_7160 = $(nodist_gettext_module_SOURCES) +@COND_emu_TRUE@am__append_7161 = $(nodist_gettext_module_SOURCES) \ +@COND_emu_TRUE@ gettext.marker +@COND_emu_TRUE@am__append_7162 = gettext.mod +@COND_emu_TRUE@am__append_7163 = gettext.marker +@COND_i386_pc_TRUE@am__append_7164 = gettext.module +@COND_i386_pc_TRUE@am__append_7165 = gettext.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7166 = +@COND_i386_pc_TRUE@am__append_7167 = $(nodist_gettext_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7168 = $(nodist_gettext_module_SOURCES) \ +@COND_i386_pc_TRUE@ gettext.marker +@COND_i386_pc_TRUE@am__append_7169 = gettext.mod +@COND_i386_pc_TRUE@am__append_7170 = gettext.marker +@COND_i386_efi_TRUE@am__append_7171 = gettext.module +@COND_i386_efi_TRUE@am__append_7172 = gettext.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7173 = +@COND_i386_efi_TRUE@am__append_7174 = $(nodist_gettext_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7175 = \ +@COND_i386_efi_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_i386_efi_TRUE@ gettext.marker +@COND_i386_efi_TRUE@am__append_7176 = gettext.mod +@COND_i386_efi_TRUE@am__append_7177 = gettext.marker +@COND_i386_qemu_TRUE@am__append_7178 = gettext.module +@COND_i386_qemu_TRUE@am__append_7179 = gettext.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7180 = +@COND_i386_qemu_TRUE@am__append_7181 = $(nodist_gettext_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7182 = \ +@COND_i386_qemu_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gettext.marker +@COND_i386_qemu_TRUE@am__append_7183 = gettext.mod +@COND_i386_qemu_TRUE@am__append_7184 = gettext.marker +@COND_i386_coreboot_TRUE@am__append_7185 = gettext.module +@COND_i386_coreboot_TRUE@am__append_7186 = gettext.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7187 = +@COND_i386_coreboot_TRUE@am__append_7188 = $(nodist_gettext_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7189 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gettext.marker +@COND_i386_coreboot_TRUE@am__append_7190 = gettext.mod +@COND_i386_coreboot_TRUE@am__append_7191 = gettext.marker +@COND_i386_multiboot_TRUE@am__append_7192 = gettext.module +@COND_i386_multiboot_TRUE@am__append_7193 = gettext.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7194 = +@COND_i386_multiboot_TRUE@am__append_7195 = $(nodist_gettext_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7196 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gettext.marker +@COND_i386_multiboot_TRUE@am__append_7197 = gettext.mod +@COND_i386_multiboot_TRUE@am__append_7198 = gettext.marker +@COND_i386_ieee1275_TRUE@am__append_7199 = gettext.module +@COND_i386_ieee1275_TRUE@am__append_7200 = gettext.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7201 = +@COND_i386_ieee1275_TRUE@am__append_7202 = $(nodist_gettext_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7203 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gettext.marker +@COND_i386_ieee1275_TRUE@am__append_7204 = gettext.mod +@COND_i386_ieee1275_TRUE@am__append_7205 = gettext.marker +@COND_x86_64_efi_TRUE@am__append_7206 = gettext.module +@COND_x86_64_efi_TRUE@am__append_7207 = gettext.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7208 = +@COND_x86_64_efi_TRUE@am__append_7209 = $(nodist_gettext_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7210 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gettext.marker +@COND_x86_64_efi_TRUE@am__append_7211 = gettext.mod +@COND_x86_64_efi_TRUE@am__append_7212 = gettext.marker +@COND_mips_yeeloong_TRUE@am__append_7213 = gettext.module +@COND_mips_yeeloong_TRUE@am__append_7214 = gettext.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7215 = +@COND_mips_yeeloong_TRUE@am__append_7216 = $(nodist_gettext_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7217 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gettext.marker +@COND_mips_yeeloong_TRUE@am__append_7218 = gettext.mod +@COND_mips_yeeloong_TRUE@am__append_7219 = gettext.marker +@COND_sparc64_ieee1275_TRUE@am__append_7220 = gettext.module +@COND_sparc64_ieee1275_TRUE@am__append_7221 = gettext.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7222 = +@COND_sparc64_ieee1275_TRUE@am__append_7223 = $(nodist_gettext_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7224 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gettext.marker +@COND_sparc64_ieee1275_TRUE@am__append_7225 = gettext.mod +@COND_sparc64_ieee1275_TRUE@am__append_7226 = gettext.marker +@COND_powerpc_ieee1275_TRUE@am__append_7227 = gettext.module +@COND_powerpc_ieee1275_TRUE@am__append_7228 = gettext.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7229 = +@COND_powerpc_ieee1275_TRUE@am__append_7230 = $(nodist_gettext_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7231 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gettext_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gettext.marker +@COND_powerpc_ieee1275_TRUE@am__append_7232 = gettext.mod +@COND_powerpc_ieee1275_TRUE@am__append_7233 = gettext.marker +@COND_emu_TRUE@am__append_7234 = gfxmenu.module +@COND_emu_TRUE@am__append_7235 = gfxmenu.module$(EXEEXT) +@COND_emu_TRUE@am__append_7236 = +@COND_emu_TRUE@am__append_7237 = $(nodist_gfxmenu_module_SOURCES) +@COND_emu_TRUE@am__append_7238 = $(nodist_gfxmenu_module_SOURCES) \ +@COND_emu_TRUE@ gfxmenu.marker +@COND_emu_TRUE@am__append_7239 = gfxmenu.mod +@COND_emu_TRUE@am__append_7240 = gfxmenu.marker +@COND_i386_pc_TRUE@am__append_7241 = gfxmenu.module +@COND_i386_pc_TRUE@am__append_7242 = gfxmenu.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7243 = +@COND_i386_pc_TRUE@am__append_7244 = $(nodist_gfxmenu_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7245 = $(nodist_gfxmenu_module_SOURCES) \ +@COND_i386_pc_TRUE@ gfxmenu.marker +@COND_i386_pc_TRUE@am__append_7246 = gfxmenu.mod +@COND_i386_pc_TRUE@am__append_7247 = gfxmenu.marker +@COND_i386_efi_TRUE@am__append_7248 = gfxmenu.module +@COND_i386_efi_TRUE@am__append_7249 = gfxmenu.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7250 = +@COND_i386_efi_TRUE@am__append_7251 = $(nodist_gfxmenu_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7252 = \ +@COND_i386_efi_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_i386_efi_TRUE@ gfxmenu.marker +@COND_i386_efi_TRUE@am__append_7253 = gfxmenu.mod +@COND_i386_efi_TRUE@am__append_7254 = gfxmenu.marker +@COND_i386_qemu_TRUE@am__append_7255 = gfxmenu.module +@COND_i386_qemu_TRUE@am__append_7256 = gfxmenu.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7257 = +@COND_i386_qemu_TRUE@am__append_7258 = $(nodist_gfxmenu_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7259 = \ +@COND_i386_qemu_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gfxmenu.marker +@COND_i386_qemu_TRUE@am__append_7260 = gfxmenu.mod +@COND_i386_qemu_TRUE@am__append_7261 = gfxmenu.marker +@COND_i386_coreboot_TRUE@am__append_7262 = gfxmenu.module +@COND_i386_coreboot_TRUE@am__append_7263 = gfxmenu.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7264 = +@COND_i386_coreboot_TRUE@am__append_7265 = $(nodist_gfxmenu_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7266 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gfxmenu.marker +@COND_i386_coreboot_TRUE@am__append_7267 = gfxmenu.mod +@COND_i386_coreboot_TRUE@am__append_7268 = gfxmenu.marker +@COND_i386_multiboot_TRUE@am__append_7269 = gfxmenu.module +@COND_i386_multiboot_TRUE@am__append_7270 = gfxmenu.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7271 = +@COND_i386_multiboot_TRUE@am__append_7272 = $(nodist_gfxmenu_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7273 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gfxmenu.marker +@COND_i386_multiboot_TRUE@am__append_7274 = gfxmenu.mod +@COND_i386_multiboot_TRUE@am__append_7275 = gfxmenu.marker +@COND_i386_ieee1275_TRUE@am__append_7276 = gfxmenu.module +@COND_i386_ieee1275_TRUE@am__append_7277 = gfxmenu.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7278 = +@COND_i386_ieee1275_TRUE@am__append_7279 = $(nodist_gfxmenu_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7280 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gfxmenu.marker +@COND_i386_ieee1275_TRUE@am__append_7281 = gfxmenu.mod +@COND_i386_ieee1275_TRUE@am__append_7282 = gfxmenu.marker +@COND_x86_64_efi_TRUE@am__append_7283 = gfxmenu.module +@COND_x86_64_efi_TRUE@am__append_7284 = gfxmenu.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7285 = +@COND_x86_64_efi_TRUE@am__append_7286 = $(nodist_gfxmenu_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7287 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gfxmenu.marker +@COND_x86_64_efi_TRUE@am__append_7288 = gfxmenu.mod +@COND_x86_64_efi_TRUE@am__append_7289 = gfxmenu.marker +@COND_mips_yeeloong_TRUE@am__append_7290 = gfxmenu.module +@COND_mips_yeeloong_TRUE@am__append_7291 = gfxmenu.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7292 = +@COND_mips_yeeloong_TRUE@am__append_7293 = $(nodist_gfxmenu_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7294 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gfxmenu.marker +@COND_mips_yeeloong_TRUE@am__append_7295 = gfxmenu.mod +@COND_mips_yeeloong_TRUE@am__append_7296 = gfxmenu.marker +@COND_sparc64_ieee1275_TRUE@am__append_7297 = gfxmenu.module +@COND_sparc64_ieee1275_TRUE@am__append_7298 = gfxmenu.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7299 = +@COND_sparc64_ieee1275_TRUE@am__append_7300 = $(nodist_gfxmenu_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7301 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gfxmenu.marker +@COND_sparc64_ieee1275_TRUE@am__append_7302 = gfxmenu.mod +@COND_sparc64_ieee1275_TRUE@am__append_7303 = gfxmenu.marker +@COND_powerpc_ieee1275_TRUE@am__append_7304 = gfxmenu.module +@COND_powerpc_ieee1275_TRUE@am__append_7305 = gfxmenu.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7306 = +@COND_powerpc_ieee1275_TRUE@am__append_7307 = $(nodist_gfxmenu_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7308 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gfxmenu_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gfxmenu.marker +@COND_powerpc_ieee1275_TRUE@am__append_7309 = gfxmenu.mod +@COND_powerpc_ieee1275_TRUE@am__append_7310 = gfxmenu.marker +@COND_emu_TRUE@am__append_7311 = hello.module +@COND_emu_TRUE@am__append_7312 = hello.module$(EXEEXT) +@COND_emu_TRUE@am__append_7313 = +@COND_emu_TRUE@am__append_7314 = $(nodist_hello_module_SOURCES) +@COND_emu_TRUE@am__append_7315 = $(nodist_hello_module_SOURCES) \ +@COND_emu_TRUE@ hello.marker +@COND_emu_TRUE@am__append_7316 = hello.mod +@COND_emu_TRUE@am__append_7317 = hello.marker +@COND_i386_pc_TRUE@am__append_7318 = hello.module +@COND_i386_pc_TRUE@am__append_7319 = hello.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7320 = +@COND_i386_pc_TRUE@am__append_7321 = $(nodist_hello_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7322 = $(nodist_hello_module_SOURCES) \ +@COND_i386_pc_TRUE@ hello.marker +@COND_i386_pc_TRUE@am__append_7323 = hello.mod +@COND_i386_pc_TRUE@am__append_7324 = hello.marker +@COND_i386_efi_TRUE@am__append_7325 = hello.module +@COND_i386_efi_TRUE@am__append_7326 = hello.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7327 = +@COND_i386_efi_TRUE@am__append_7328 = $(nodist_hello_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7329 = $(nodist_hello_module_SOURCES) \ +@COND_i386_efi_TRUE@ hello.marker +@COND_i386_efi_TRUE@am__append_7330 = hello.mod +@COND_i386_efi_TRUE@am__append_7331 = hello.marker +@COND_i386_qemu_TRUE@am__append_7332 = hello.module +@COND_i386_qemu_TRUE@am__append_7333 = hello.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7334 = +@COND_i386_qemu_TRUE@am__append_7335 = $(nodist_hello_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7336 = $(nodist_hello_module_SOURCES) \ +@COND_i386_qemu_TRUE@ hello.marker +@COND_i386_qemu_TRUE@am__append_7337 = hello.mod +@COND_i386_qemu_TRUE@am__append_7338 = hello.marker +@COND_i386_coreboot_TRUE@am__append_7339 = hello.module +@COND_i386_coreboot_TRUE@am__append_7340 = hello.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7341 = +@COND_i386_coreboot_TRUE@am__append_7342 = $(nodist_hello_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7343 = \ +@COND_i386_coreboot_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ hello.marker +@COND_i386_coreboot_TRUE@am__append_7344 = hello.mod +@COND_i386_coreboot_TRUE@am__append_7345 = hello.marker +@COND_i386_multiboot_TRUE@am__append_7346 = hello.module +@COND_i386_multiboot_TRUE@am__append_7347 = hello.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7348 = +@COND_i386_multiboot_TRUE@am__append_7349 = $(nodist_hello_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7350 = \ +@COND_i386_multiboot_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ hello.marker +@COND_i386_multiboot_TRUE@am__append_7351 = hello.mod +@COND_i386_multiboot_TRUE@am__append_7352 = hello.marker +@COND_i386_ieee1275_TRUE@am__append_7353 = hello.module +@COND_i386_ieee1275_TRUE@am__append_7354 = hello.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7355 = +@COND_i386_ieee1275_TRUE@am__append_7356 = $(nodist_hello_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7357 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ hello.marker +@COND_i386_ieee1275_TRUE@am__append_7358 = hello.mod +@COND_i386_ieee1275_TRUE@am__append_7359 = hello.marker +@COND_x86_64_efi_TRUE@am__append_7360 = hello.module +@COND_x86_64_efi_TRUE@am__append_7361 = hello.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7362 = +@COND_x86_64_efi_TRUE@am__append_7363 = $(nodist_hello_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7364 = \ +@COND_x86_64_efi_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ hello.marker +@COND_x86_64_efi_TRUE@am__append_7365 = hello.mod +@COND_x86_64_efi_TRUE@am__append_7366 = hello.marker +@COND_mips_yeeloong_TRUE@am__append_7367 = hello.module +@COND_mips_yeeloong_TRUE@am__append_7368 = hello.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7369 = +@COND_mips_yeeloong_TRUE@am__append_7370 = $(nodist_hello_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7371 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ hello.marker +@COND_mips_yeeloong_TRUE@am__append_7372 = hello.mod +@COND_mips_yeeloong_TRUE@am__append_7373 = hello.marker +@COND_sparc64_ieee1275_TRUE@am__append_7374 = hello.module +@COND_sparc64_ieee1275_TRUE@am__append_7375 = hello.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7376 = +@COND_sparc64_ieee1275_TRUE@am__append_7377 = $(nodist_hello_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7378 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ hello.marker +@COND_sparc64_ieee1275_TRUE@am__append_7379 = hello.mod +@COND_sparc64_ieee1275_TRUE@am__append_7380 = hello.marker +@COND_powerpc_ieee1275_TRUE@am__append_7381 = hello.module +@COND_powerpc_ieee1275_TRUE@am__append_7382 = hello.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7383 = +@COND_powerpc_ieee1275_TRUE@am__append_7384 = $(nodist_hello_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7385 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_hello_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ hello.marker +@COND_powerpc_ieee1275_TRUE@am__append_7386 = hello.mod +@COND_powerpc_ieee1275_TRUE@am__append_7387 = hello.marker +@COND_emu_TRUE@am__append_7388 = gzio.module +@COND_emu_TRUE@am__append_7389 = gzio.module$(EXEEXT) +@COND_emu_TRUE@am__append_7390 = +@COND_emu_TRUE@am__append_7391 = $(nodist_gzio_module_SOURCES) +@COND_emu_TRUE@am__append_7392 = $(nodist_gzio_module_SOURCES) \ +@COND_emu_TRUE@ gzio.marker +@COND_emu_TRUE@am__append_7393 = gzio.mod +@COND_emu_TRUE@am__append_7394 = gzio.marker +@COND_i386_pc_TRUE@am__append_7395 = gzio.module +@COND_i386_pc_TRUE@am__append_7396 = gzio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7397 = +@COND_i386_pc_TRUE@am__append_7398 = $(nodist_gzio_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7399 = $(nodist_gzio_module_SOURCES) \ +@COND_i386_pc_TRUE@ gzio.marker +@COND_i386_pc_TRUE@am__append_7400 = gzio.mod +@COND_i386_pc_TRUE@am__append_7401 = gzio.marker +@COND_i386_efi_TRUE@am__append_7402 = gzio.module +@COND_i386_efi_TRUE@am__append_7403 = gzio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7404 = +@COND_i386_efi_TRUE@am__append_7405 = $(nodist_gzio_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7406 = $(nodist_gzio_module_SOURCES) \ +@COND_i386_efi_TRUE@ gzio.marker +@COND_i386_efi_TRUE@am__append_7407 = gzio.mod +@COND_i386_efi_TRUE@am__append_7408 = gzio.marker +@COND_i386_qemu_TRUE@am__append_7409 = gzio.module +@COND_i386_qemu_TRUE@am__append_7410 = gzio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7411 = +@COND_i386_qemu_TRUE@am__append_7412 = $(nodist_gzio_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7413 = $(nodist_gzio_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gzio.marker +@COND_i386_qemu_TRUE@am__append_7414 = gzio.mod +@COND_i386_qemu_TRUE@am__append_7415 = gzio.marker +@COND_i386_coreboot_TRUE@am__append_7416 = gzio.module +@COND_i386_coreboot_TRUE@am__append_7417 = gzio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7418 = +@COND_i386_coreboot_TRUE@am__append_7419 = $(nodist_gzio_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7420 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gzio_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gzio.marker +@COND_i386_coreboot_TRUE@am__append_7421 = gzio.mod +@COND_i386_coreboot_TRUE@am__append_7422 = gzio.marker +@COND_i386_multiboot_TRUE@am__append_7423 = gzio.module +@COND_i386_multiboot_TRUE@am__append_7424 = gzio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7425 = +@COND_i386_multiboot_TRUE@am__append_7426 = $(nodist_gzio_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7427 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gzio_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gzio.marker +@COND_i386_multiboot_TRUE@am__append_7428 = gzio.mod +@COND_i386_multiboot_TRUE@am__append_7429 = gzio.marker +@COND_i386_ieee1275_TRUE@am__append_7430 = gzio.module +@COND_i386_ieee1275_TRUE@am__append_7431 = gzio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7432 = +@COND_i386_ieee1275_TRUE@am__append_7433 = $(nodist_gzio_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7434 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gzio_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gzio.marker +@COND_i386_ieee1275_TRUE@am__append_7435 = gzio.mod +@COND_i386_ieee1275_TRUE@am__append_7436 = gzio.marker +@COND_x86_64_efi_TRUE@am__append_7437 = gzio.module +@COND_x86_64_efi_TRUE@am__append_7438 = gzio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7439 = +@COND_x86_64_efi_TRUE@am__append_7440 = $(nodist_gzio_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7441 = $(nodist_gzio_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gzio.marker +@COND_x86_64_efi_TRUE@am__append_7442 = gzio.mod +@COND_x86_64_efi_TRUE@am__append_7443 = gzio.marker +@COND_mips_yeeloong_TRUE@am__append_7444 = gzio.module +@COND_mips_yeeloong_TRUE@am__append_7445 = gzio.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7446 = +@COND_mips_yeeloong_TRUE@am__append_7447 = $(nodist_gzio_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7448 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gzio_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gzio.marker +@COND_mips_yeeloong_TRUE@am__append_7449 = gzio.mod +@COND_mips_yeeloong_TRUE@am__append_7450 = gzio.marker +@COND_sparc64_ieee1275_TRUE@am__append_7451 = gzio.module +@COND_sparc64_ieee1275_TRUE@am__append_7452 = gzio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7453 = +@COND_sparc64_ieee1275_TRUE@am__append_7454 = $(nodist_gzio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7455 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gzio_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gzio.marker +@COND_sparc64_ieee1275_TRUE@am__append_7456 = gzio.mod +@COND_sparc64_ieee1275_TRUE@am__append_7457 = gzio.marker +@COND_powerpc_ieee1275_TRUE@am__append_7458 = gzio.module +@COND_powerpc_ieee1275_TRUE@am__append_7459 = gzio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7460 = +@COND_powerpc_ieee1275_TRUE@am__append_7461 = $(nodist_gzio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7462 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gzio_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gzio.marker +@COND_powerpc_ieee1275_TRUE@am__append_7463 = gzio.mod +@COND_powerpc_ieee1275_TRUE@am__append_7464 = gzio.marker +@COND_emu_TRUE@am__append_7465 = bufio.module +@COND_emu_TRUE@am__append_7466 = bufio.module$(EXEEXT) +@COND_emu_TRUE@am__append_7467 = +@COND_emu_TRUE@am__append_7468 = $(nodist_bufio_module_SOURCES) +@COND_emu_TRUE@am__append_7469 = $(nodist_bufio_module_SOURCES) \ +@COND_emu_TRUE@ bufio.marker +@COND_emu_TRUE@am__append_7470 = bufio.mod +@COND_emu_TRUE@am__append_7471 = bufio.marker +@COND_i386_pc_TRUE@am__append_7472 = bufio.module +@COND_i386_pc_TRUE@am__append_7473 = bufio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7474 = +@COND_i386_pc_TRUE@am__append_7475 = $(nodist_bufio_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7476 = $(nodist_bufio_module_SOURCES) \ +@COND_i386_pc_TRUE@ bufio.marker +@COND_i386_pc_TRUE@am__append_7477 = bufio.mod +@COND_i386_pc_TRUE@am__append_7478 = bufio.marker +@COND_i386_efi_TRUE@am__append_7479 = bufio.module +@COND_i386_efi_TRUE@am__append_7480 = bufio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7481 = +@COND_i386_efi_TRUE@am__append_7482 = $(nodist_bufio_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7483 = $(nodist_bufio_module_SOURCES) \ +@COND_i386_efi_TRUE@ bufio.marker +@COND_i386_efi_TRUE@am__append_7484 = bufio.mod +@COND_i386_efi_TRUE@am__append_7485 = bufio.marker +@COND_i386_qemu_TRUE@am__append_7486 = bufio.module +@COND_i386_qemu_TRUE@am__append_7487 = bufio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7488 = +@COND_i386_qemu_TRUE@am__append_7489 = $(nodist_bufio_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7490 = $(nodist_bufio_module_SOURCES) \ +@COND_i386_qemu_TRUE@ bufio.marker +@COND_i386_qemu_TRUE@am__append_7491 = bufio.mod +@COND_i386_qemu_TRUE@am__append_7492 = bufio.marker +@COND_i386_coreboot_TRUE@am__append_7493 = bufio.module +@COND_i386_coreboot_TRUE@am__append_7494 = bufio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7495 = +@COND_i386_coreboot_TRUE@am__append_7496 = $(nodist_bufio_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7497 = \ +@COND_i386_coreboot_TRUE@ $(nodist_bufio_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ bufio.marker +@COND_i386_coreboot_TRUE@am__append_7498 = bufio.mod +@COND_i386_coreboot_TRUE@am__append_7499 = bufio.marker +@COND_i386_multiboot_TRUE@am__append_7500 = bufio.module +@COND_i386_multiboot_TRUE@am__append_7501 = bufio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7502 = +@COND_i386_multiboot_TRUE@am__append_7503 = $(nodist_bufio_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7504 = \ +@COND_i386_multiboot_TRUE@ $(nodist_bufio_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ bufio.marker +@COND_i386_multiboot_TRUE@am__append_7505 = bufio.mod +@COND_i386_multiboot_TRUE@am__append_7506 = bufio.marker +@COND_i386_ieee1275_TRUE@am__append_7507 = bufio.module +@COND_i386_ieee1275_TRUE@am__append_7508 = bufio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7509 = +@COND_i386_ieee1275_TRUE@am__append_7510 = $(nodist_bufio_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7511 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_bufio_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ bufio.marker +@COND_i386_ieee1275_TRUE@am__append_7512 = bufio.mod +@COND_i386_ieee1275_TRUE@am__append_7513 = bufio.marker +@COND_x86_64_efi_TRUE@am__append_7514 = bufio.module +@COND_x86_64_efi_TRUE@am__append_7515 = bufio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7516 = +@COND_x86_64_efi_TRUE@am__append_7517 = $(nodist_bufio_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7518 = \ +@COND_x86_64_efi_TRUE@ $(nodist_bufio_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ bufio.marker +@COND_x86_64_efi_TRUE@am__append_7519 = bufio.mod +@COND_x86_64_efi_TRUE@am__append_7520 = bufio.marker +@COND_sparc64_ieee1275_TRUE@am__append_7521 = bufio.module +@COND_sparc64_ieee1275_TRUE@am__append_7522 = bufio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7523 = +@COND_sparc64_ieee1275_TRUE@am__append_7524 = $(nodist_bufio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7525 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_bufio_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ bufio.marker +@COND_sparc64_ieee1275_TRUE@am__append_7526 = bufio.mod +@COND_sparc64_ieee1275_TRUE@am__append_7527 = bufio.marker +@COND_powerpc_ieee1275_TRUE@am__append_7528 = bufio.module +@COND_powerpc_ieee1275_TRUE@am__append_7529 = bufio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7530 = +@COND_powerpc_ieee1275_TRUE@am__append_7531 = $(nodist_bufio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7532 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_bufio_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ bufio.marker +@COND_powerpc_ieee1275_TRUE@am__append_7533 = bufio.mod +@COND_powerpc_ieee1275_TRUE@am__append_7534 = bufio.marker +@COND_emu_TRUE@am__append_7535 = elf.module +@COND_emu_TRUE@am__append_7536 = elf.module$(EXEEXT) +@COND_emu_TRUE@am__append_7537 = +@COND_emu_TRUE@am__append_7538 = $(nodist_elf_module_SOURCES) +@COND_emu_TRUE@am__append_7539 = $(nodist_elf_module_SOURCES) \ +@COND_emu_TRUE@ elf.marker +@COND_emu_TRUE@am__append_7540 = elf.mod +@COND_emu_TRUE@am__append_7541 = elf.marker +@COND_i386_pc_TRUE@am__append_7542 = elf.module +@COND_i386_pc_TRUE@am__append_7543 = elf.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7544 = +@COND_i386_pc_TRUE@am__append_7545 = $(nodist_elf_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7546 = $(nodist_elf_module_SOURCES) \ +@COND_i386_pc_TRUE@ elf.marker +@COND_i386_pc_TRUE@am__append_7547 = elf.mod +@COND_i386_pc_TRUE@am__append_7548 = elf.marker +@COND_i386_efi_TRUE@am__append_7549 = elf.module +@COND_i386_efi_TRUE@am__append_7550 = elf.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7551 = +@COND_i386_efi_TRUE@am__append_7552 = $(nodist_elf_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7553 = $(nodist_elf_module_SOURCES) \ +@COND_i386_efi_TRUE@ elf.marker +@COND_i386_efi_TRUE@am__append_7554 = elf.mod +@COND_i386_efi_TRUE@am__append_7555 = elf.marker +@COND_i386_qemu_TRUE@am__append_7556 = elf.module +@COND_i386_qemu_TRUE@am__append_7557 = elf.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7558 = +@COND_i386_qemu_TRUE@am__append_7559 = $(nodist_elf_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7560 = $(nodist_elf_module_SOURCES) \ +@COND_i386_qemu_TRUE@ elf.marker +@COND_i386_qemu_TRUE@am__append_7561 = elf.mod +@COND_i386_qemu_TRUE@am__append_7562 = elf.marker +@COND_i386_coreboot_TRUE@am__append_7563 = elf.module +@COND_i386_coreboot_TRUE@am__append_7564 = elf.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7565 = +@COND_i386_coreboot_TRUE@am__append_7566 = $(nodist_elf_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7567 = \ +@COND_i386_coreboot_TRUE@ $(nodist_elf_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ elf.marker +@COND_i386_coreboot_TRUE@am__append_7568 = elf.mod +@COND_i386_coreboot_TRUE@am__append_7569 = elf.marker +@COND_i386_multiboot_TRUE@am__append_7570 = elf.module +@COND_i386_multiboot_TRUE@am__append_7571 = elf.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7572 = +@COND_i386_multiboot_TRUE@am__append_7573 = $(nodist_elf_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7574 = \ +@COND_i386_multiboot_TRUE@ $(nodist_elf_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ elf.marker +@COND_i386_multiboot_TRUE@am__append_7575 = elf.mod +@COND_i386_multiboot_TRUE@am__append_7576 = elf.marker +@COND_i386_ieee1275_TRUE@am__append_7577 = elf.module +@COND_i386_ieee1275_TRUE@am__append_7578 = elf.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7579 = +@COND_i386_ieee1275_TRUE@am__append_7580 = $(nodist_elf_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7581 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_elf_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ elf.marker +@COND_i386_ieee1275_TRUE@am__append_7582 = elf.mod +@COND_i386_ieee1275_TRUE@am__append_7583 = elf.marker +@COND_x86_64_efi_TRUE@am__append_7584 = elf.module +@COND_x86_64_efi_TRUE@am__append_7585 = elf.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7586 = +@COND_x86_64_efi_TRUE@am__append_7587 = $(nodist_elf_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7588 = $(nodist_elf_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ elf.marker +@COND_x86_64_efi_TRUE@am__append_7589 = elf.mod +@COND_x86_64_efi_TRUE@am__append_7590 = elf.marker +@COND_mips_yeeloong_TRUE@am__append_7591 = elf.module +@COND_mips_yeeloong_TRUE@am__append_7592 = elf.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7593 = +@COND_mips_yeeloong_TRUE@am__append_7594 = $(nodist_elf_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7595 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_elf_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ elf.marker +@COND_mips_yeeloong_TRUE@am__append_7596 = elf.mod +@COND_mips_yeeloong_TRUE@am__append_7597 = elf.marker +@COND_sparc64_ieee1275_TRUE@am__append_7598 = elf.module +@COND_sparc64_ieee1275_TRUE@am__append_7599 = elf.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7600 = +@COND_sparc64_ieee1275_TRUE@am__append_7601 = $(nodist_elf_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7602 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_elf_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ elf.marker +@COND_sparc64_ieee1275_TRUE@am__append_7603 = elf.mod +@COND_sparc64_ieee1275_TRUE@am__append_7604 = elf.marker +@COND_powerpc_ieee1275_TRUE@am__append_7605 = elf.module +@COND_powerpc_ieee1275_TRUE@am__append_7606 = elf.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7607 = +@COND_powerpc_ieee1275_TRUE@am__append_7608 = $(nodist_elf_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7609 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_elf_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ elf.marker +@COND_powerpc_ieee1275_TRUE@am__append_7610 = elf.mod +@COND_powerpc_ieee1275_TRUE@am__append_7611 = elf.marker +@COND_emu_TRUE@am__append_7612 = crypto.module +@COND_emu_TRUE@am__append_7613 = crypto.module$(EXEEXT) +@COND_emu_TRUE@am__append_7614 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_emu_TRUE@am__append_7615 = $(nodist_crypto_module_SOURCES) +@COND_emu_TRUE@am__append_7616 = $(nodist_crypto_module_SOURCES) \ +@COND_emu_TRUE@ crypto.marker +@COND_emu_TRUE@am__append_7617 = crypto.mod +@COND_emu_TRUE@am__append_7618 = crypto.marker +@COND_i386_pc_TRUE@am__append_7619 = crypto.module +@COND_i386_pc_TRUE@am__append_7620 = crypto.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7621 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_i386_pc_TRUE@am__append_7622 = $(nodist_crypto_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7623 = $(nodist_crypto_module_SOURCES) \ +@COND_i386_pc_TRUE@ crypto.marker +@COND_i386_pc_TRUE@am__append_7624 = crypto.mod +@COND_i386_pc_TRUE@am__append_7625 = crypto.marker +@COND_i386_efi_TRUE@am__append_7626 = crypto.module +@COND_i386_efi_TRUE@am__append_7627 = crypto.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7628 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_i386_efi_TRUE@am__append_7629 = $(nodist_crypto_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7630 = $(nodist_crypto_module_SOURCES) \ +@COND_i386_efi_TRUE@ crypto.marker +@COND_i386_efi_TRUE@am__append_7631 = crypto.mod +@COND_i386_efi_TRUE@am__append_7632 = crypto.marker +@COND_i386_qemu_TRUE@am__append_7633 = crypto.module +@COND_i386_qemu_TRUE@am__append_7634 = crypto.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7635 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_i386_qemu_TRUE@am__append_7636 = $(nodist_crypto_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7637 = \ +@COND_i386_qemu_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_i386_qemu_TRUE@ crypto.marker +@COND_i386_qemu_TRUE@am__append_7638 = crypto.mod +@COND_i386_qemu_TRUE@am__append_7639 = crypto.marker +@COND_i386_coreboot_TRUE@am__append_7640 = crypto.module +@COND_i386_coreboot_TRUE@am__append_7641 = crypto.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7642 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_i386_coreboot_TRUE@am__append_7643 = $(nodist_crypto_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7644 = \ +@COND_i386_coreboot_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ crypto.marker +@COND_i386_coreboot_TRUE@am__append_7645 = crypto.mod +@COND_i386_coreboot_TRUE@am__append_7646 = crypto.marker +@COND_i386_multiboot_TRUE@am__append_7647 = crypto.module +@COND_i386_multiboot_TRUE@am__append_7648 = crypto.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7649 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_i386_multiboot_TRUE@am__append_7650 = $(nodist_crypto_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7651 = \ +@COND_i386_multiboot_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ crypto.marker +@COND_i386_multiboot_TRUE@am__append_7652 = crypto.mod +@COND_i386_multiboot_TRUE@am__append_7653 = crypto.marker +@COND_i386_ieee1275_TRUE@am__append_7654 = crypto.module +@COND_i386_ieee1275_TRUE@am__append_7655 = crypto.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7656 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_i386_ieee1275_TRUE@am__append_7657 = $(nodist_crypto_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7658 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ crypto.marker +@COND_i386_ieee1275_TRUE@am__append_7659 = crypto.mod +@COND_i386_ieee1275_TRUE@am__append_7660 = crypto.marker +@COND_x86_64_efi_TRUE@am__append_7661 = crypto.module +@COND_x86_64_efi_TRUE@am__append_7662 = crypto.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7663 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_x86_64_efi_TRUE@am__append_7664 = $(nodist_crypto_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7665 = \ +@COND_x86_64_efi_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ crypto.marker +@COND_x86_64_efi_TRUE@am__append_7666 = crypto.mod +@COND_x86_64_efi_TRUE@am__append_7667 = crypto.marker +@COND_mips_yeeloong_TRUE@am__append_7668 = crypto.module +@COND_mips_yeeloong_TRUE@am__append_7669 = crypto.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7670 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_mips_yeeloong_TRUE@am__append_7671 = $(nodist_crypto_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7672 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ crypto.marker +@COND_mips_yeeloong_TRUE@am__append_7673 = crypto.mod +@COND_mips_yeeloong_TRUE@am__append_7674 = crypto.marker +@COND_sparc64_ieee1275_TRUE@am__append_7675 = crypto.module +@COND_sparc64_ieee1275_TRUE@am__append_7676 = crypto.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7677 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_sparc64_ieee1275_TRUE@am__append_7678 = $(nodist_crypto_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7679 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ crypto.marker +@COND_sparc64_ieee1275_TRUE@am__append_7680 = crypto.mod +@COND_sparc64_ieee1275_TRUE@am__append_7681 = crypto.marker +@COND_powerpc_ieee1275_TRUE@am__append_7682 = crypto.module +@COND_powerpc_ieee1275_TRUE@am__append_7683 = crypto.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7684 = lib/libgcrypt-grub/cipher/crypto.lst +@COND_powerpc_ieee1275_TRUE@am__append_7685 = $(nodist_crypto_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7686 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_crypto_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ crypto.marker +@COND_powerpc_ieee1275_TRUE@am__append_7687 = crypto.mod +@COND_powerpc_ieee1275_TRUE@am__append_7688 = crypto.marker +@COND_emu_TRUE@am__append_7689 = pbkdf2.module +@COND_emu_TRUE@am__append_7690 = pbkdf2.module$(EXEEXT) +@COND_emu_TRUE@am__append_7691 = +@COND_emu_TRUE@am__append_7692 = $(nodist_pbkdf2_module_SOURCES) +@COND_emu_TRUE@am__append_7693 = $(nodist_pbkdf2_module_SOURCES) \ +@COND_emu_TRUE@ pbkdf2.marker +@COND_emu_TRUE@am__append_7694 = pbkdf2.mod +@COND_emu_TRUE@am__append_7695 = pbkdf2.marker +@COND_i386_pc_TRUE@am__append_7696 = pbkdf2.module +@COND_i386_pc_TRUE@am__append_7697 = pbkdf2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7698 = +@COND_i386_pc_TRUE@am__append_7699 = $(nodist_pbkdf2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7700 = $(nodist_pbkdf2_module_SOURCES) \ +@COND_i386_pc_TRUE@ pbkdf2.marker +@COND_i386_pc_TRUE@am__append_7701 = pbkdf2.mod +@COND_i386_pc_TRUE@am__append_7702 = pbkdf2.marker +@COND_i386_efi_TRUE@am__append_7703 = pbkdf2.module +@COND_i386_efi_TRUE@am__append_7704 = pbkdf2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7705 = +@COND_i386_efi_TRUE@am__append_7706 = $(nodist_pbkdf2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7707 = $(nodist_pbkdf2_module_SOURCES) \ +@COND_i386_efi_TRUE@ pbkdf2.marker +@COND_i386_efi_TRUE@am__append_7708 = pbkdf2.mod +@COND_i386_efi_TRUE@am__append_7709 = pbkdf2.marker +@COND_i386_qemu_TRUE@am__append_7710 = pbkdf2.module +@COND_i386_qemu_TRUE@am__append_7711 = pbkdf2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7712 = +@COND_i386_qemu_TRUE@am__append_7713 = $(nodist_pbkdf2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7714 = \ +@COND_i386_qemu_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ pbkdf2.marker +@COND_i386_qemu_TRUE@am__append_7715 = pbkdf2.mod +@COND_i386_qemu_TRUE@am__append_7716 = pbkdf2.marker +@COND_i386_coreboot_TRUE@am__append_7717 = pbkdf2.module +@COND_i386_coreboot_TRUE@am__append_7718 = pbkdf2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7719 = +@COND_i386_coreboot_TRUE@am__append_7720 = $(nodist_pbkdf2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7721 = \ +@COND_i386_coreboot_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ pbkdf2.marker +@COND_i386_coreboot_TRUE@am__append_7722 = pbkdf2.mod +@COND_i386_coreboot_TRUE@am__append_7723 = pbkdf2.marker +@COND_i386_multiboot_TRUE@am__append_7724 = pbkdf2.module +@COND_i386_multiboot_TRUE@am__append_7725 = pbkdf2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7726 = +@COND_i386_multiboot_TRUE@am__append_7727 = $(nodist_pbkdf2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7728 = \ +@COND_i386_multiboot_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ pbkdf2.marker +@COND_i386_multiboot_TRUE@am__append_7729 = pbkdf2.mod +@COND_i386_multiboot_TRUE@am__append_7730 = pbkdf2.marker +@COND_i386_ieee1275_TRUE@am__append_7731 = pbkdf2.module +@COND_i386_ieee1275_TRUE@am__append_7732 = pbkdf2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7733 = +@COND_i386_ieee1275_TRUE@am__append_7734 = $(nodist_pbkdf2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7735 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ pbkdf2.marker +@COND_i386_ieee1275_TRUE@am__append_7736 = pbkdf2.mod +@COND_i386_ieee1275_TRUE@am__append_7737 = pbkdf2.marker +@COND_x86_64_efi_TRUE@am__append_7738 = pbkdf2.module +@COND_x86_64_efi_TRUE@am__append_7739 = pbkdf2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7740 = +@COND_x86_64_efi_TRUE@am__append_7741 = $(nodist_pbkdf2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7742 = \ +@COND_x86_64_efi_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ pbkdf2.marker +@COND_x86_64_efi_TRUE@am__append_7743 = pbkdf2.mod +@COND_x86_64_efi_TRUE@am__append_7744 = pbkdf2.marker +@COND_mips_yeeloong_TRUE@am__append_7745 = pbkdf2.module +@COND_mips_yeeloong_TRUE@am__append_7746 = pbkdf2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7747 = +@COND_mips_yeeloong_TRUE@am__append_7748 = $(nodist_pbkdf2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7749 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ pbkdf2.marker +@COND_mips_yeeloong_TRUE@am__append_7750 = pbkdf2.mod +@COND_mips_yeeloong_TRUE@am__append_7751 = pbkdf2.marker +@COND_sparc64_ieee1275_TRUE@am__append_7752 = pbkdf2.module +@COND_sparc64_ieee1275_TRUE@am__append_7753 = pbkdf2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7754 = +@COND_sparc64_ieee1275_TRUE@am__append_7755 = $(nodist_pbkdf2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7756 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ pbkdf2.marker +@COND_sparc64_ieee1275_TRUE@am__append_7757 = pbkdf2.mod +@COND_sparc64_ieee1275_TRUE@am__append_7758 = pbkdf2.marker +@COND_powerpc_ieee1275_TRUE@am__append_7759 = pbkdf2.module +@COND_powerpc_ieee1275_TRUE@am__append_7760 = pbkdf2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7761 = +@COND_powerpc_ieee1275_TRUE@am__append_7762 = $(nodist_pbkdf2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7763 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_pbkdf2_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ pbkdf2.marker +@COND_powerpc_ieee1275_TRUE@am__append_7764 = pbkdf2.mod +@COND_powerpc_ieee1275_TRUE@am__append_7765 = pbkdf2.marker +@COND_i386_pc_TRUE@am__append_7766 = relocator.module +@COND_i386_pc_TRUE@am__append_7767 = relocator.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7768 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_i386_pc_TRUE@am__append_7769 = $(nodist_relocator_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7770 = \ +@COND_i386_pc_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_i386_pc_TRUE@ relocator.marker +@COND_i386_pc_TRUE@am__append_7771 = relocator.mod +@COND_i386_pc_TRUE@am__append_7772 = relocator.marker +@COND_i386_efi_TRUE@am__append_7773 = relocator.module +@COND_i386_efi_TRUE@am__append_7774 = relocator.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7775 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_i386_efi_TRUE@am__append_7776 = $(nodist_relocator_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7777 = \ +@COND_i386_efi_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_i386_efi_TRUE@ relocator.marker +@COND_i386_efi_TRUE@am__append_7778 = relocator.mod +@COND_i386_efi_TRUE@am__append_7779 = relocator.marker +@COND_i386_qemu_TRUE@am__append_7780 = relocator.module +@COND_i386_qemu_TRUE@am__append_7781 = relocator.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7782 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_i386_qemu_TRUE@am__append_7783 = $(nodist_relocator_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7784 = \ +@COND_i386_qemu_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_i386_qemu_TRUE@ relocator.marker +@COND_i386_qemu_TRUE@am__append_7785 = relocator.mod +@COND_i386_qemu_TRUE@am__append_7786 = relocator.marker +@COND_i386_coreboot_TRUE@am__append_7787 = relocator.module +@COND_i386_coreboot_TRUE@am__append_7788 = relocator.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7789 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_i386_coreboot_TRUE@am__append_7790 = $(nodist_relocator_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7791 = \ +@COND_i386_coreboot_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ relocator.marker +@COND_i386_coreboot_TRUE@am__append_7792 = relocator.mod +@COND_i386_coreboot_TRUE@am__append_7793 = relocator.marker +@COND_i386_multiboot_TRUE@am__append_7794 = relocator.module +@COND_i386_multiboot_TRUE@am__append_7795 = relocator.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7796 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_i386_multiboot_TRUE@am__append_7797 = $(nodist_relocator_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7798 = \ +@COND_i386_multiboot_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ relocator.marker +@COND_i386_multiboot_TRUE@am__append_7799 = relocator.mod +@COND_i386_multiboot_TRUE@am__append_7800 = relocator.marker +@COND_i386_ieee1275_TRUE@am__append_7801 = relocator.module +@COND_i386_ieee1275_TRUE@am__append_7802 = relocator.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7803 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_i386_ieee1275_TRUE@am__append_7804 = $(nodist_relocator_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7805 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ relocator.marker +@COND_i386_ieee1275_TRUE@am__append_7806 = relocator.mod +@COND_i386_ieee1275_TRUE@am__append_7807 = relocator.marker +@COND_x86_64_efi_TRUE@am__append_7808 = relocator.module +@COND_x86_64_efi_TRUE@am__append_7809 = relocator.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7810 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_x86_64_efi_TRUE@am__append_7811 = $(nodist_relocator_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7812 = \ +@COND_x86_64_efi_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ relocator.marker +@COND_x86_64_efi_TRUE@am__append_7813 = relocator.mod +@COND_x86_64_efi_TRUE@am__append_7814 = relocator.marker +@COND_mips_yeeloong_TRUE@am__append_7815 = relocator.module +@COND_mips_yeeloong_TRUE@am__append_7816 = relocator.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7817 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_mips_yeeloong_TRUE@am__append_7818 = $(nodist_relocator_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7819 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_relocator_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ relocator.marker +@COND_mips_yeeloong_TRUE@am__append_7820 = relocator.mod +@COND_mips_yeeloong_TRUE@am__append_7821 = relocator.marker +@COND_powerpc_ieee1275_TRUE@am__append_7822 = relocator.module +@COND_powerpc_ieee1275_TRUE@am__append_7823 = relocator.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7824 = lib/i386/relocator_common.S kern/powerpc/cache_flush.S +@COND_powerpc_ieee1275_TRUE@am__append_7825 = $(nodist_relocator_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7826 = $(nodist_relocator_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ relocator.marker +@COND_powerpc_ieee1275_TRUE@am__append_7827 = relocator.mod +@COND_powerpc_ieee1275_TRUE@am__append_7828 = relocator.marker +@COND_i386_pc_TRUE@am__append_7829 = datetime.module +@COND_i386_pc_TRUE@am__append_7830 = datetime.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7831 = +@COND_i386_pc_TRUE@am__append_7832 = $(nodist_datetime_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7833 = \ +@COND_i386_pc_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_i386_pc_TRUE@ datetime.marker +@COND_i386_pc_TRUE@am__append_7834 = datetime.mod +@COND_i386_pc_TRUE@am__append_7835 = datetime.marker +@COND_i386_efi_TRUE@am__append_7836 = datetime.module +@COND_i386_efi_TRUE@am__append_7837 = datetime.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7838 = +@COND_i386_efi_TRUE@am__append_7839 = $(nodist_datetime_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7840 = \ +@COND_i386_efi_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_i386_efi_TRUE@ datetime.marker +@COND_i386_efi_TRUE@am__append_7841 = datetime.mod +@COND_i386_efi_TRUE@am__append_7842 = datetime.marker +@COND_i386_qemu_TRUE@am__append_7843 = datetime.module +@COND_i386_qemu_TRUE@am__append_7844 = datetime.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7845 = +@COND_i386_qemu_TRUE@am__append_7846 = $(nodist_datetime_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7847 = \ +@COND_i386_qemu_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_i386_qemu_TRUE@ datetime.marker +@COND_i386_qemu_TRUE@am__append_7848 = datetime.mod +@COND_i386_qemu_TRUE@am__append_7849 = datetime.marker +@COND_i386_coreboot_TRUE@am__append_7850 = datetime.module +@COND_i386_coreboot_TRUE@am__append_7851 = datetime.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7852 = +@COND_i386_coreboot_TRUE@am__append_7853 = $(nodist_datetime_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7854 = \ +@COND_i386_coreboot_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ datetime.marker +@COND_i386_coreboot_TRUE@am__append_7855 = datetime.mod +@COND_i386_coreboot_TRUE@am__append_7856 = datetime.marker +@COND_i386_multiboot_TRUE@am__append_7857 = datetime.module +@COND_i386_multiboot_TRUE@am__append_7858 = datetime.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7859 = +@COND_i386_multiboot_TRUE@am__append_7860 = $(nodist_datetime_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7861 = \ +@COND_i386_multiboot_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ datetime.marker +@COND_i386_multiboot_TRUE@am__append_7862 = datetime.mod +@COND_i386_multiboot_TRUE@am__append_7863 = datetime.marker +@COND_i386_ieee1275_TRUE@am__append_7864 = datetime.module +@COND_i386_ieee1275_TRUE@am__append_7865 = datetime.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7866 = +@COND_i386_ieee1275_TRUE@am__append_7867 = $(nodist_datetime_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7868 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ datetime.marker +@COND_i386_ieee1275_TRUE@am__append_7869 = datetime.mod +@COND_i386_ieee1275_TRUE@am__append_7870 = datetime.marker +@COND_x86_64_efi_TRUE@am__append_7871 = datetime.module +@COND_x86_64_efi_TRUE@am__append_7872 = datetime.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7873 = +@COND_x86_64_efi_TRUE@am__append_7874 = $(nodist_datetime_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7875 = \ +@COND_x86_64_efi_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ datetime.marker +@COND_x86_64_efi_TRUE@am__append_7876 = datetime.mod +@COND_x86_64_efi_TRUE@am__append_7877 = datetime.marker +@COND_mips_yeeloong_TRUE@am__append_7878 = datetime.module +@COND_mips_yeeloong_TRUE@am__append_7879 = datetime.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7880 = +@COND_mips_yeeloong_TRUE@am__append_7881 = $(nodist_datetime_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7882 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ datetime.marker +@COND_mips_yeeloong_TRUE@am__append_7883 = datetime.mod +@COND_mips_yeeloong_TRUE@am__append_7884 = datetime.marker +@COND_sparc64_ieee1275_TRUE@am__append_7885 = datetime.module +@COND_sparc64_ieee1275_TRUE@am__append_7886 = datetime.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7887 = +@COND_sparc64_ieee1275_TRUE@am__append_7888 = $(nodist_datetime_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7889 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ datetime.marker +@COND_sparc64_ieee1275_TRUE@am__append_7890 = datetime.mod +@COND_sparc64_ieee1275_TRUE@am__append_7891 = datetime.marker +@COND_powerpc_ieee1275_TRUE@am__append_7892 = datetime.module +@COND_powerpc_ieee1275_TRUE@am__append_7893 = datetime.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7894 = +@COND_powerpc_ieee1275_TRUE@am__append_7895 = $(nodist_datetime_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7896 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_datetime_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ datetime.marker +@COND_powerpc_ieee1275_TRUE@am__append_7897 = datetime.mod +@COND_powerpc_ieee1275_TRUE@am__append_7898 = datetime.marker +@COND_emu_TRUE@am__append_7899 = setjmp.module +@COND_emu_TRUE@am__append_7900 = setjmp.module$(EXEEXT) +@COND_emu_TRUE@am__append_7901 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_emu_TRUE@am__append_7902 = $(nodist_setjmp_module_SOURCES) +@COND_emu_TRUE@am__append_7903 = $(nodist_setjmp_module_SOURCES) \ +@COND_emu_TRUE@ setjmp.marker +@COND_emu_TRUE@am__append_7904 = setjmp.mod +@COND_emu_TRUE@am__append_7905 = setjmp.marker +@COND_i386_pc_TRUE@am__append_7906 = setjmp.module +@COND_i386_pc_TRUE@am__append_7907 = setjmp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7908 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_i386_pc_TRUE@am__append_7909 = $(nodist_setjmp_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7910 = $(nodist_setjmp_module_SOURCES) \ +@COND_i386_pc_TRUE@ setjmp.marker +@COND_i386_pc_TRUE@am__append_7911 = setjmp.mod +@COND_i386_pc_TRUE@am__append_7912 = setjmp.marker +@COND_i386_efi_TRUE@am__append_7913 = setjmp.module +@COND_i386_efi_TRUE@am__append_7914 = setjmp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7915 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_i386_efi_TRUE@am__append_7916 = $(nodist_setjmp_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7917 = $(nodist_setjmp_module_SOURCES) \ +@COND_i386_efi_TRUE@ setjmp.marker +@COND_i386_efi_TRUE@am__append_7918 = setjmp.mod +@COND_i386_efi_TRUE@am__append_7919 = setjmp.marker +@COND_i386_qemu_TRUE@am__append_7920 = setjmp.module +@COND_i386_qemu_TRUE@am__append_7921 = setjmp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7922 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_i386_qemu_TRUE@am__append_7923 = $(nodist_setjmp_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7924 = \ +@COND_i386_qemu_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_i386_qemu_TRUE@ setjmp.marker +@COND_i386_qemu_TRUE@am__append_7925 = setjmp.mod +@COND_i386_qemu_TRUE@am__append_7926 = setjmp.marker +@COND_i386_coreboot_TRUE@am__append_7927 = setjmp.module +@COND_i386_coreboot_TRUE@am__append_7928 = setjmp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7929 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_i386_coreboot_TRUE@am__append_7930 = $(nodist_setjmp_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_7931 = \ +@COND_i386_coreboot_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ setjmp.marker +@COND_i386_coreboot_TRUE@am__append_7932 = setjmp.mod +@COND_i386_coreboot_TRUE@am__append_7933 = setjmp.marker +@COND_i386_multiboot_TRUE@am__append_7934 = setjmp.module +@COND_i386_multiboot_TRUE@am__append_7935 = setjmp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_7936 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_i386_multiboot_TRUE@am__append_7937 = $(nodist_setjmp_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_7938 = \ +@COND_i386_multiboot_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ setjmp.marker +@COND_i386_multiboot_TRUE@am__append_7939 = setjmp.mod +@COND_i386_multiboot_TRUE@am__append_7940 = setjmp.marker +@COND_i386_ieee1275_TRUE@am__append_7941 = setjmp.module +@COND_i386_ieee1275_TRUE@am__append_7942 = setjmp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_7943 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_i386_ieee1275_TRUE@am__append_7944 = $(nodist_setjmp_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_7945 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ setjmp.marker +@COND_i386_ieee1275_TRUE@am__append_7946 = setjmp.mod +@COND_i386_ieee1275_TRUE@am__append_7947 = setjmp.marker +@COND_x86_64_efi_TRUE@am__append_7948 = setjmp.module +@COND_x86_64_efi_TRUE@am__append_7949 = setjmp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_7950 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_x86_64_efi_TRUE@am__append_7951 = $(nodist_setjmp_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_7952 = \ +@COND_x86_64_efi_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ setjmp.marker +@COND_x86_64_efi_TRUE@am__append_7953 = setjmp.mod +@COND_x86_64_efi_TRUE@am__append_7954 = setjmp.marker +@COND_mips_yeeloong_TRUE@am__append_7955 = setjmp.module +@COND_mips_yeeloong_TRUE@am__append_7956 = setjmp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_7957 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_mips_yeeloong_TRUE@am__append_7958 = $(nodist_setjmp_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_7959 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ setjmp.marker +@COND_mips_yeeloong_TRUE@am__append_7960 = setjmp.mod +@COND_mips_yeeloong_TRUE@am__append_7961 = setjmp.marker +@COND_sparc64_ieee1275_TRUE@am__append_7962 = setjmp.module +@COND_sparc64_ieee1275_TRUE@am__append_7963 = setjmp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_7964 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_sparc64_ieee1275_TRUE@am__append_7965 = $(nodist_setjmp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_7966 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ setjmp.marker +@COND_sparc64_ieee1275_TRUE@am__append_7967 = setjmp.mod +@COND_sparc64_ieee1275_TRUE@am__append_7968 = setjmp.marker +@COND_powerpc_ieee1275_TRUE@am__append_7969 = setjmp.module +@COND_powerpc_ieee1275_TRUE@am__append_7970 = setjmp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_7971 = lib/i386/setjmp.S lib/mips/setjmp.S lib/x86_64/setjmp.S lib/sparc64/setjmp.S lib/powerpc/setjmp.S +@COND_powerpc_ieee1275_TRUE@am__append_7972 = $(nodist_setjmp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_7973 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_setjmp_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ setjmp.marker +@COND_powerpc_ieee1275_TRUE@am__append_7974 = setjmp.mod +@COND_powerpc_ieee1275_TRUE@am__append_7975 = setjmp.marker +@COND_i386_pc_TRUE@am__append_7976 = aout.module +@COND_i386_pc_TRUE@am__append_7977 = aout.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_7978 = +@COND_i386_pc_TRUE@am__append_7979 = $(nodist_aout_module_SOURCES) +@COND_i386_pc_TRUE@am__append_7980 = $(nodist_aout_module_SOURCES) \ +@COND_i386_pc_TRUE@ aout.marker +@COND_i386_pc_TRUE@am__append_7981 = aout.mod +@COND_i386_pc_TRUE@am__append_7982 = aout.marker +@COND_i386_efi_TRUE@am__append_7983 = aout.module +@COND_i386_efi_TRUE@am__append_7984 = aout.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_7985 = +@COND_i386_efi_TRUE@am__append_7986 = $(nodist_aout_module_SOURCES) +@COND_i386_efi_TRUE@am__append_7987 = $(nodist_aout_module_SOURCES) \ +@COND_i386_efi_TRUE@ aout.marker +@COND_i386_efi_TRUE@am__append_7988 = aout.mod +@COND_i386_efi_TRUE@am__append_7989 = aout.marker +@COND_i386_qemu_TRUE@am__append_7990 = aout.module +@COND_i386_qemu_TRUE@am__append_7991 = aout.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_7992 = +@COND_i386_qemu_TRUE@am__append_7993 = $(nodist_aout_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_7994 = $(nodist_aout_module_SOURCES) \ +@COND_i386_qemu_TRUE@ aout.marker +@COND_i386_qemu_TRUE@am__append_7995 = aout.mod +@COND_i386_qemu_TRUE@am__append_7996 = aout.marker +@COND_i386_coreboot_TRUE@am__append_7997 = aout.module +@COND_i386_coreboot_TRUE@am__append_7998 = aout.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_7999 = +@COND_i386_coreboot_TRUE@am__append_8000 = $(nodist_aout_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8001 = \ +@COND_i386_coreboot_TRUE@ $(nodist_aout_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ aout.marker +@COND_i386_coreboot_TRUE@am__append_8002 = aout.mod +@COND_i386_coreboot_TRUE@am__append_8003 = aout.marker +@COND_i386_multiboot_TRUE@am__append_8004 = aout.module +@COND_i386_multiboot_TRUE@am__append_8005 = aout.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8006 = +@COND_i386_multiboot_TRUE@am__append_8007 = $(nodist_aout_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8008 = \ +@COND_i386_multiboot_TRUE@ $(nodist_aout_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ aout.marker +@COND_i386_multiboot_TRUE@am__append_8009 = aout.mod +@COND_i386_multiboot_TRUE@am__append_8010 = aout.marker +@COND_i386_ieee1275_TRUE@am__append_8011 = aout.module +@COND_i386_ieee1275_TRUE@am__append_8012 = aout.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8013 = +@COND_i386_ieee1275_TRUE@am__append_8014 = $(nodist_aout_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8015 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_aout_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ aout.marker +@COND_i386_ieee1275_TRUE@am__append_8016 = aout.mod +@COND_i386_ieee1275_TRUE@am__append_8017 = aout.marker +@COND_x86_64_efi_TRUE@am__append_8018 = aout.module +@COND_x86_64_efi_TRUE@am__append_8019 = aout.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8020 = +@COND_x86_64_efi_TRUE@am__append_8021 = $(nodist_aout_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8022 = $(nodist_aout_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ aout.marker +@COND_x86_64_efi_TRUE@am__append_8023 = aout.mod +@COND_x86_64_efi_TRUE@am__append_8024 = aout.marker +@COND_i386_pc_TRUE@am__append_8025 = bsd.module +@COND_i386_pc_TRUE@am__append_8026 = bsd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8027 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_i386_pc_TRUE@am__append_8028 = $(nodist_bsd_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8029 = $(nodist_bsd_module_SOURCES) \ +@COND_i386_pc_TRUE@ bsd.marker +@COND_i386_pc_TRUE@am__append_8030 = bsd.mod +@COND_i386_pc_TRUE@am__append_8031 = bsd.marker +@COND_i386_efi_TRUE@am__append_8032 = bsd.module +@COND_i386_efi_TRUE@am__append_8033 = bsd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8034 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_i386_efi_TRUE@am__append_8035 = $(nodist_bsd_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8036 = $(nodist_bsd_module_SOURCES) \ +@COND_i386_efi_TRUE@ bsd.marker +@COND_i386_efi_TRUE@am__append_8037 = bsd.mod +@COND_i386_efi_TRUE@am__append_8038 = bsd.marker +@COND_i386_qemu_TRUE@am__append_8039 = bsd.module +@COND_i386_qemu_TRUE@am__append_8040 = bsd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8041 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_i386_qemu_TRUE@am__append_8042 = $(nodist_bsd_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8043 = $(nodist_bsd_module_SOURCES) \ +@COND_i386_qemu_TRUE@ bsd.marker +@COND_i386_qemu_TRUE@am__append_8044 = bsd.mod +@COND_i386_qemu_TRUE@am__append_8045 = bsd.marker +@COND_i386_coreboot_TRUE@am__append_8046 = bsd.module +@COND_i386_coreboot_TRUE@am__append_8047 = bsd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8048 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_i386_coreboot_TRUE@am__append_8049 = $(nodist_bsd_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8050 = \ +@COND_i386_coreboot_TRUE@ $(nodist_bsd_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ bsd.marker +@COND_i386_coreboot_TRUE@am__append_8051 = bsd.mod +@COND_i386_coreboot_TRUE@am__append_8052 = bsd.marker +@COND_i386_multiboot_TRUE@am__append_8053 = bsd.module +@COND_i386_multiboot_TRUE@am__append_8054 = bsd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8055 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_i386_multiboot_TRUE@am__append_8056 = $(nodist_bsd_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8057 = \ +@COND_i386_multiboot_TRUE@ $(nodist_bsd_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ bsd.marker +@COND_i386_multiboot_TRUE@am__append_8058 = bsd.mod +@COND_i386_multiboot_TRUE@am__append_8059 = bsd.marker +@COND_i386_ieee1275_TRUE@am__append_8060 = bsd.module +@COND_i386_ieee1275_TRUE@am__append_8061 = bsd.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8062 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_i386_ieee1275_TRUE@am__append_8063 = $(nodist_bsd_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8064 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_bsd_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ bsd.marker +@COND_i386_ieee1275_TRUE@am__append_8065 = bsd.mod +@COND_i386_ieee1275_TRUE@am__append_8066 = bsd.marker +@COND_x86_64_efi_TRUE@am__append_8067 = bsd.module +@COND_x86_64_efi_TRUE@am__append_8068 = bsd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8069 = loader/i386/bsdXX.c loader/i386/bsd_pagetable.c +@COND_x86_64_efi_TRUE@am__append_8070 = $(nodist_bsd_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8071 = $(nodist_bsd_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ bsd.marker +@COND_x86_64_efi_TRUE@am__append_8072 = bsd.mod +@COND_x86_64_efi_TRUE@am__append_8073 = bsd.marker +@COND_i386_pc_TRUE@am__append_8074 = linux16.module ntldr.module \ +@COND_i386_pc_TRUE@ multiboot2.module +@COND_i386_pc_TRUE@am__append_8075 = linux16.module$(EXEEXT) \ +@COND_i386_pc_TRUE@ ntldr.module$(EXEEXT) \ +@COND_i386_pc_TRUE@ multiboot2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8076 = +@COND_i386_pc_TRUE@am__append_8077 = $(nodist_linux16_module_SOURCES) \ +@COND_i386_pc_TRUE@ $(nodist_ntldr_module_SOURCES) \ +@COND_i386_pc_TRUE@ $(nodist_multiboot2_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8078 = $(nodist_linux16_module_SOURCES) \ +@COND_i386_pc_TRUE@ linux16.marker \ +@COND_i386_pc_TRUE@ $(nodist_ntldr_module_SOURCES) ntldr.marker \ +@COND_i386_pc_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_i386_pc_TRUE@ multiboot2.marker +@COND_i386_pc_TRUE@am__append_8079 = linux16.mod ntldr.mod \ +@COND_i386_pc_TRUE@ multiboot2.mod +@COND_i386_pc_TRUE@am__append_8080 = linux16.marker ntldr.marker \ +@COND_i386_pc_TRUE@ multiboot2.marker +@COND_i386_efi_TRUE@am__append_8081 = multiboot2.module +@COND_i386_efi_TRUE@am__append_8082 = multiboot2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8083 = +@COND_i386_efi_TRUE@am__append_8084 = $(nodist_multiboot2_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8085 = \ +@COND_i386_efi_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_i386_efi_TRUE@ multiboot2.marker +@COND_i386_efi_TRUE@am__append_8086 = multiboot2.mod +@COND_i386_efi_TRUE@am__append_8087 = multiboot2.marker +@COND_i386_qemu_TRUE@am__append_8088 = multiboot2.module +@COND_i386_qemu_TRUE@am__append_8089 = multiboot2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8090 = +@COND_i386_qemu_TRUE@am__append_8091 = $(nodist_multiboot2_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8092 = \ +@COND_i386_qemu_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_i386_qemu_TRUE@ multiboot2.marker +@COND_i386_qemu_TRUE@am__append_8093 = multiboot2.mod +@COND_i386_qemu_TRUE@am__append_8094 = multiboot2.marker +@COND_i386_coreboot_TRUE@am__append_8095 = multiboot2.module +@COND_i386_coreboot_TRUE@am__append_8096 = multiboot2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8097 = +@COND_i386_coreboot_TRUE@am__append_8098 = $(nodist_multiboot2_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8099 = \ +@COND_i386_coreboot_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ multiboot2.marker +@COND_i386_coreboot_TRUE@am__append_8100 = multiboot2.mod +@COND_i386_coreboot_TRUE@am__append_8101 = multiboot2.marker +@COND_i386_multiboot_TRUE@am__append_8102 = multiboot2.module +@COND_i386_multiboot_TRUE@am__append_8103 = multiboot2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8104 = +@COND_i386_multiboot_TRUE@am__append_8105 = $(nodist_multiboot2_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8106 = \ +@COND_i386_multiboot_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ multiboot2.marker +@COND_i386_multiboot_TRUE@am__append_8107 = multiboot2.mod +@COND_i386_multiboot_TRUE@am__append_8108 = multiboot2.marker +@COND_i386_ieee1275_TRUE@am__append_8109 = multiboot2.module +@COND_i386_ieee1275_TRUE@am__append_8110 = multiboot2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8111 = +@COND_i386_ieee1275_TRUE@am__append_8112 = $(nodist_multiboot2_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8113 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ multiboot2.marker +@COND_i386_ieee1275_TRUE@am__append_8114 = multiboot2.mod +@COND_i386_ieee1275_TRUE@am__append_8115 = multiboot2.marker +@COND_x86_64_efi_TRUE@am__append_8116 = multiboot2.module +@COND_x86_64_efi_TRUE@am__append_8117 = multiboot2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8118 = +@COND_x86_64_efi_TRUE@am__append_8119 = $(nodist_multiboot2_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8120 = \ +@COND_x86_64_efi_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ multiboot2.marker +@COND_x86_64_efi_TRUE@am__append_8121 = multiboot2.mod +@COND_x86_64_efi_TRUE@am__append_8122 = multiboot2.marker +@COND_mips_yeeloong_TRUE@am__append_8123 = multiboot2.module +@COND_mips_yeeloong_TRUE@am__append_8124 = multiboot2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8125 = +@COND_mips_yeeloong_TRUE@am__append_8126 = $(nodist_multiboot2_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8127 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_multiboot2_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ multiboot2.marker +@COND_mips_yeeloong_TRUE@am__append_8128 = multiboot2.mod +@COND_mips_yeeloong_TRUE@am__append_8129 = multiboot2.marker +@COND_i386_pc_TRUE@am__append_8130 = multiboot.module +@COND_i386_pc_TRUE@am__append_8131 = multiboot.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8132 = loader/multiboot_elfxx.c +@COND_i386_pc_TRUE@am__append_8133 = $(nodist_multiboot_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8134 = \ +@COND_i386_pc_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_i386_pc_TRUE@ multiboot.marker +@COND_i386_pc_TRUE@am__append_8135 = multiboot.mod +@COND_i386_pc_TRUE@am__append_8136 = multiboot.marker +@COND_i386_efi_TRUE@am__append_8137 = multiboot.module +@COND_i386_efi_TRUE@am__append_8138 = multiboot.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8139 = loader/multiboot_elfxx.c +@COND_i386_efi_TRUE@am__append_8140 = $(nodist_multiboot_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8141 = \ +@COND_i386_efi_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_i386_efi_TRUE@ multiboot.marker +@COND_i386_efi_TRUE@am__append_8142 = multiboot.mod +@COND_i386_efi_TRUE@am__append_8143 = multiboot.marker +@COND_i386_qemu_TRUE@am__append_8144 = multiboot.module +@COND_i386_qemu_TRUE@am__append_8145 = multiboot.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8146 = loader/multiboot_elfxx.c +@COND_i386_qemu_TRUE@am__append_8147 = $(nodist_multiboot_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8148 = \ +@COND_i386_qemu_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_i386_qemu_TRUE@ multiboot.marker +@COND_i386_qemu_TRUE@am__append_8149 = multiboot.mod +@COND_i386_qemu_TRUE@am__append_8150 = multiboot.marker +@COND_i386_coreboot_TRUE@am__append_8151 = multiboot.module +@COND_i386_coreboot_TRUE@am__append_8152 = multiboot.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8153 = loader/multiboot_elfxx.c +@COND_i386_coreboot_TRUE@am__append_8154 = $(nodist_multiboot_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8155 = \ +@COND_i386_coreboot_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ multiboot.marker +@COND_i386_coreboot_TRUE@am__append_8156 = multiboot.mod +@COND_i386_coreboot_TRUE@am__append_8157 = multiboot.marker +@COND_i386_multiboot_TRUE@am__append_8158 = multiboot.module +@COND_i386_multiboot_TRUE@am__append_8159 = multiboot.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8160 = loader/multiboot_elfxx.c +@COND_i386_multiboot_TRUE@am__append_8161 = $(nodist_multiboot_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8162 = \ +@COND_i386_multiboot_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ multiboot.marker +@COND_i386_multiboot_TRUE@am__append_8163 = multiboot.mod +@COND_i386_multiboot_TRUE@am__append_8164 = multiboot.marker +@COND_i386_ieee1275_TRUE@am__append_8165 = multiboot.module +@COND_i386_ieee1275_TRUE@am__append_8166 = multiboot.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8167 = loader/multiboot_elfxx.c +@COND_i386_ieee1275_TRUE@am__append_8168 = $(nodist_multiboot_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8169 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ multiboot.marker +@COND_i386_ieee1275_TRUE@am__append_8170 = multiboot.mod +@COND_i386_ieee1275_TRUE@am__append_8171 = multiboot.marker +@COND_x86_64_efi_TRUE@am__append_8172 = multiboot.module +@COND_x86_64_efi_TRUE@am__append_8173 = multiboot.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8174 = loader/multiboot_elfxx.c +@COND_x86_64_efi_TRUE@am__append_8175 = $(nodist_multiboot_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8176 = \ +@COND_x86_64_efi_TRUE@ $(nodist_multiboot_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ multiboot.marker +@COND_x86_64_efi_TRUE@am__append_8177 = multiboot.mod +@COND_x86_64_efi_TRUE@am__append_8178 = multiboot.marker +@COND_i386_pc_TRUE@am__append_8179 = linux.module +@COND_i386_pc_TRUE@am__append_8180 = linux.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8181 = +@COND_i386_pc_TRUE@am__append_8182 = $(nodist_linux_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8183 = $(nodist_linux_module_SOURCES) \ +@COND_i386_pc_TRUE@ linux.marker +@COND_i386_pc_TRUE@am__append_8184 = linux.mod +@COND_i386_pc_TRUE@am__append_8185 = linux.marker +@COND_i386_efi_TRUE@am__append_8186 = linux.module +@COND_i386_efi_TRUE@am__append_8187 = linux.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8188 = +@COND_i386_efi_TRUE@am__append_8189 = $(nodist_linux_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8190 = $(nodist_linux_module_SOURCES) \ +@COND_i386_efi_TRUE@ linux.marker +@COND_i386_efi_TRUE@am__append_8191 = linux.mod +@COND_i386_efi_TRUE@am__append_8192 = linux.marker +@COND_i386_qemu_TRUE@am__append_8193 = linux.module +@COND_i386_qemu_TRUE@am__append_8194 = linux.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8195 = +@COND_i386_qemu_TRUE@am__append_8196 = $(nodist_linux_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8197 = $(nodist_linux_module_SOURCES) \ +@COND_i386_qemu_TRUE@ linux.marker +@COND_i386_qemu_TRUE@am__append_8198 = linux.mod +@COND_i386_qemu_TRUE@am__append_8199 = linux.marker +@COND_i386_coreboot_TRUE@am__append_8200 = linux.module +@COND_i386_coreboot_TRUE@am__append_8201 = linux.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8202 = +@COND_i386_coreboot_TRUE@am__append_8203 = $(nodist_linux_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8204 = \ +@COND_i386_coreboot_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ linux.marker +@COND_i386_coreboot_TRUE@am__append_8205 = linux.mod +@COND_i386_coreboot_TRUE@am__append_8206 = linux.marker +@COND_i386_multiboot_TRUE@am__append_8207 = linux.module +@COND_i386_multiboot_TRUE@am__append_8208 = linux.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8209 = +@COND_i386_multiboot_TRUE@am__append_8210 = $(nodist_linux_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8211 = \ +@COND_i386_multiboot_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ linux.marker +@COND_i386_multiboot_TRUE@am__append_8212 = linux.mod +@COND_i386_multiboot_TRUE@am__append_8213 = linux.marker +@COND_i386_ieee1275_TRUE@am__append_8214 = linux.module +@COND_i386_ieee1275_TRUE@am__append_8215 = linux.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8216 = +@COND_i386_ieee1275_TRUE@am__append_8217 = $(nodist_linux_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8218 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ linux.marker +@COND_i386_ieee1275_TRUE@am__append_8219 = linux.mod +@COND_i386_ieee1275_TRUE@am__append_8220 = linux.marker +@COND_x86_64_efi_TRUE@am__append_8221 = linux.module +@COND_x86_64_efi_TRUE@am__append_8222 = linux.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8223 = +@COND_x86_64_efi_TRUE@am__append_8224 = $(nodist_linux_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8225 = \ +@COND_x86_64_efi_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ linux.marker +@COND_x86_64_efi_TRUE@am__append_8226 = linux.mod +@COND_x86_64_efi_TRUE@am__append_8227 = linux.marker +@COND_mips_yeeloong_TRUE@am__append_8228 = linux.module +@COND_mips_yeeloong_TRUE@am__append_8229 = linux.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8230 = +@COND_mips_yeeloong_TRUE@am__append_8231 = $(nodist_linux_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8232 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ linux.marker +@COND_mips_yeeloong_TRUE@am__append_8233 = linux.mod +@COND_mips_yeeloong_TRUE@am__append_8234 = linux.marker +@COND_sparc64_ieee1275_TRUE@am__append_8235 = linux.module +@COND_sparc64_ieee1275_TRUE@am__append_8236 = linux.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8237 = +@COND_sparc64_ieee1275_TRUE@am__append_8238 = $(nodist_linux_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8239 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ linux.marker +@COND_sparc64_ieee1275_TRUE@am__append_8240 = linux.mod +@COND_sparc64_ieee1275_TRUE@am__append_8241 = linux.marker +@COND_powerpc_ieee1275_TRUE@am__append_8242 = linux.module +@COND_powerpc_ieee1275_TRUE@am__append_8243 = linux.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8244 = +@COND_powerpc_ieee1275_TRUE@am__append_8245 = $(nodist_linux_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8246 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_linux_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ linux.marker +@COND_powerpc_ieee1275_TRUE@am__append_8247 = linux.mod +@COND_powerpc_ieee1275_TRUE@am__append_8248 = linux.marker +@COND_i386_pc_TRUE@am__append_8249 = xnu.module +@COND_i386_pc_TRUE@am__append_8250 = xnu.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8251 = loader/machoXX.c +@COND_i386_pc_TRUE@am__append_8252 = $(nodist_xnu_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8253 = $(nodist_xnu_module_SOURCES) \ +@COND_i386_pc_TRUE@ xnu.marker +@COND_i386_pc_TRUE@am__append_8254 = xnu.mod +@COND_i386_pc_TRUE@am__append_8255 = xnu.marker +@COND_i386_efi_TRUE@am__append_8256 = xnu.module +@COND_i386_efi_TRUE@am__append_8257 = xnu.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8258 = loader/machoXX.c +@COND_i386_efi_TRUE@am__append_8259 = $(nodist_xnu_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8260 = $(nodist_xnu_module_SOURCES) \ +@COND_i386_efi_TRUE@ xnu.marker +@COND_i386_efi_TRUE@am__append_8261 = xnu.mod +@COND_i386_efi_TRUE@am__append_8262 = xnu.marker +@COND_i386_qemu_TRUE@am__append_8263 = xnu.module +@COND_i386_qemu_TRUE@am__append_8264 = xnu.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8265 = loader/machoXX.c +@COND_i386_qemu_TRUE@am__append_8266 = $(nodist_xnu_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8267 = $(nodist_xnu_module_SOURCES) \ +@COND_i386_qemu_TRUE@ xnu.marker +@COND_i386_qemu_TRUE@am__append_8268 = xnu.mod +@COND_i386_qemu_TRUE@am__append_8269 = xnu.marker +@COND_i386_coreboot_TRUE@am__append_8270 = xnu.module +@COND_i386_coreboot_TRUE@am__append_8271 = xnu.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8272 = loader/machoXX.c +@COND_i386_coreboot_TRUE@am__append_8273 = $(nodist_xnu_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8274 = \ +@COND_i386_coreboot_TRUE@ $(nodist_xnu_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ xnu.marker +@COND_i386_coreboot_TRUE@am__append_8275 = xnu.mod +@COND_i386_coreboot_TRUE@am__append_8276 = xnu.marker +@COND_i386_multiboot_TRUE@am__append_8277 = xnu.module +@COND_i386_multiboot_TRUE@am__append_8278 = xnu.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8279 = loader/machoXX.c +@COND_i386_multiboot_TRUE@am__append_8280 = $(nodist_xnu_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8281 = \ +@COND_i386_multiboot_TRUE@ $(nodist_xnu_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ xnu.marker +@COND_i386_multiboot_TRUE@am__append_8282 = xnu.mod +@COND_i386_multiboot_TRUE@am__append_8283 = xnu.marker +@COND_i386_ieee1275_TRUE@am__append_8284 = xnu.module +@COND_i386_ieee1275_TRUE@am__append_8285 = xnu.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8286 = loader/machoXX.c +@COND_i386_ieee1275_TRUE@am__append_8287 = $(nodist_xnu_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8288 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_xnu_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ xnu.marker +@COND_i386_ieee1275_TRUE@am__append_8289 = xnu.mod +@COND_i386_ieee1275_TRUE@am__append_8290 = xnu.marker +@COND_x86_64_efi_TRUE@am__append_8291 = xnu.module +@COND_x86_64_efi_TRUE@am__append_8292 = xnu.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8293 = loader/machoXX.c +@COND_x86_64_efi_TRUE@am__append_8294 = $(nodist_xnu_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8295 = $(nodist_xnu_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ xnu.marker +@COND_x86_64_efi_TRUE@am__append_8296 = xnu.mod +@COND_x86_64_efi_TRUE@am__append_8297 = xnu.marker +@COND_i386_efi_TRUE@am__append_8298 = appleldr.module +@COND_i386_efi_TRUE@am__append_8299 = appleldr.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8300 = +@COND_i386_efi_TRUE@am__append_8301 = $(nodist_appleldr_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8302 = \ +@COND_i386_efi_TRUE@ $(nodist_appleldr_module_SOURCES) \ +@COND_i386_efi_TRUE@ appleldr.marker +@COND_i386_efi_TRUE@am__append_8303 = appleldr.mod +@COND_i386_efi_TRUE@am__append_8304 = appleldr.marker +@COND_x86_64_efi_TRUE@am__append_8305 = appleldr.module +@COND_x86_64_efi_TRUE@am__append_8306 = appleldr.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8307 = +@COND_x86_64_efi_TRUE@am__append_8308 = $(nodist_appleldr_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8309 = \ +@COND_x86_64_efi_TRUE@ $(nodist_appleldr_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ appleldr.marker +@COND_x86_64_efi_TRUE@am__append_8310 = appleldr.mod +@COND_x86_64_efi_TRUE@am__append_8311 = appleldr.marker +@COND_i386_pc_TRUE@am__append_8312 = chain.module +@COND_i386_pc_TRUE@am__append_8313 = chain.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8314 = +@COND_i386_pc_TRUE@am__append_8315 = $(nodist_chain_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8316 = $(nodist_chain_module_SOURCES) \ +@COND_i386_pc_TRUE@ chain.marker +@COND_i386_pc_TRUE@am__append_8317 = chain.mod +@COND_i386_pc_TRUE@am__append_8318 = chain.marker +@COND_i386_efi_TRUE@am__append_8319 = chain.module +@COND_i386_efi_TRUE@am__append_8320 = chain.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8321 = +@COND_i386_efi_TRUE@am__append_8322 = $(nodist_chain_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8323 = $(nodist_chain_module_SOURCES) \ +@COND_i386_efi_TRUE@ chain.marker +@COND_i386_efi_TRUE@am__append_8324 = chain.mod +@COND_i386_efi_TRUE@am__append_8325 = chain.marker +@COND_x86_64_efi_TRUE@am__append_8326 = chain.module +@COND_x86_64_efi_TRUE@am__append_8327 = chain.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8328 = +@COND_x86_64_efi_TRUE@am__append_8329 = $(nodist_chain_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8330 = \ +@COND_x86_64_efi_TRUE@ $(nodist_chain_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ chain.marker +@COND_x86_64_efi_TRUE@am__append_8331 = chain.mod +@COND_x86_64_efi_TRUE@am__append_8332 = chain.marker +@COND_i386_pc_TRUE@am__append_8333 = mmap.module +@COND_i386_pc_TRUE@am__append_8334 = mmap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8335 = +@COND_i386_pc_TRUE@am__append_8336 = $(nodist_mmap_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8337 = $(nodist_mmap_module_SOURCES) \ +@COND_i386_pc_TRUE@ mmap.marker +@COND_i386_pc_TRUE@am__append_8338 = mmap.mod +@COND_i386_pc_TRUE@am__append_8339 = mmap.marker +@COND_i386_efi_TRUE@am__append_8340 = mmap.module +@COND_i386_efi_TRUE@am__append_8341 = mmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8342 = +@COND_i386_efi_TRUE@am__append_8343 = $(nodist_mmap_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8344 = $(nodist_mmap_module_SOURCES) \ +@COND_i386_efi_TRUE@ mmap.marker +@COND_i386_efi_TRUE@am__append_8345 = mmap.mod +@COND_i386_efi_TRUE@am__append_8346 = mmap.marker +@COND_i386_qemu_TRUE@am__append_8347 = mmap.module +@COND_i386_qemu_TRUE@am__append_8348 = mmap.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8349 = +@COND_i386_qemu_TRUE@am__append_8350 = $(nodist_mmap_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8351 = $(nodist_mmap_module_SOURCES) \ +@COND_i386_qemu_TRUE@ mmap.marker +@COND_i386_qemu_TRUE@am__append_8352 = mmap.mod +@COND_i386_qemu_TRUE@am__append_8353 = mmap.marker +@COND_i386_coreboot_TRUE@am__append_8354 = mmap.module +@COND_i386_coreboot_TRUE@am__append_8355 = mmap.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8356 = +@COND_i386_coreboot_TRUE@am__append_8357 = $(nodist_mmap_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8358 = \ +@COND_i386_coreboot_TRUE@ $(nodist_mmap_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ mmap.marker +@COND_i386_coreboot_TRUE@am__append_8359 = mmap.mod +@COND_i386_coreboot_TRUE@am__append_8360 = mmap.marker +@COND_i386_multiboot_TRUE@am__append_8361 = mmap.module +@COND_i386_multiboot_TRUE@am__append_8362 = mmap.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8363 = +@COND_i386_multiboot_TRUE@am__append_8364 = $(nodist_mmap_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8365 = \ +@COND_i386_multiboot_TRUE@ $(nodist_mmap_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ mmap.marker +@COND_i386_multiboot_TRUE@am__append_8366 = mmap.mod +@COND_i386_multiboot_TRUE@am__append_8367 = mmap.marker +@COND_i386_ieee1275_TRUE@am__append_8368 = mmap.module +@COND_i386_ieee1275_TRUE@am__append_8369 = mmap.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8370 = +@COND_i386_ieee1275_TRUE@am__append_8371 = $(nodist_mmap_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8372 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_mmap_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ mmap.marker +@COND_i386_ieee1275_TRUE@am__append_8373 = mmap.mod +@COND_i386_ieee1275_TRUE@am__append_8374 = mmap.marker +@COND_x86_64_efi_TRUE@am__append_8375 = mmap.module +@COND_x86_64_efi_TRUE@am__append_8376 = mmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8377 = +@COND_x86_64_efi_TRUE@am__append_8378 = $(nodist_mmap_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8379 = $(nodist_mmap_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ mmap.marker +@COND_x86_64_efi_TRUE@am__append_8380 = mmap.mod +@COND_x86_64_efi_TRUE@am__append_8381 = mmap.marker +@COND_mips_yeeloong_TRUE@am__append_8382 = mmap.module +@COND_mips_yeeloong_TRUE@am__append_8383 = mmap.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8384 = +@COND_mips_yeeloong_TRUE@am__append_8385 = $(nodist_mmap_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8386 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_mmap_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ mmap.marker +@COND_mips_yeeloong_TRUE@am__append_8387 = mmap.mod +@COND_mips_yeeloong_TRUE@am__append_8388 = mmap.marker +@COND_emu_TRUE@am__append_8389 = normal.module +@COND_emu_TRUE@am__append_8390 = normal.module$(EXEEXT) +@COND_emu_TRUE@am__append_8391 = script/yylex.l script/parser.y +@COND_emu_TRUE@am__append_8392 = $(nodist_normal_module_SOURCES) +@COND_emu_TRUE@am__append_8393 = $(nodist_normal_module_SOURCES) \ +@COND_emu_TRUE@ normal.marker +@COND_emu_TRUE@am__append_8394 = normal.mod +@COND_emu_TRUE@am__append_8395 = normal.marker +@COND_i386_pc_TRUE@am__append_8396 = normal.module +@COND_i386_pc_TRUE@am__append_8397 = normal.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8398 = script/yylex.l script/parser.y +@COND_i386_pc_TRUE@am__append_8399 = $(nodist_normal_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8400 = $(nodist_normal_module_SOURCES) \ +@COND_i386_pc_TRUE@ normal.marker +@COND_i386_pc_TRUE@am__append_8401 = normal.mod +@COND_i386_pc_TRUE@am__append_8402 = normal.marker +@COND_i386_efi_TRUE@am__append_8403 = normal.module +@COND_i386_efi_TRUE@am__append_8404 = normal.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8405 = script/yylex.l script/parser.y +@COND_i386_efi_TRUE@am__append_8406 = $(nodist_normal_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8407 = $(nodist_normal_module_SOURCES) \ +@COND_i386_efi_TRUE@ normal.marker +@COND_i386_efi_TRUE@am__append_8408 = normal.mod +@COND_i386_efi_TRUE@am__append_8409 = normal.marker +@COND_i386_qemu_TRUE@am__append_8410 = normal.module +@COND_i386_qemu_TRUE@am__append_8411 = normal.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8412 = script/yylex.l script/parser.y +@COND_i386_qemu_TRUE@am__append_8413 = $(nodist_normal_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8414 = \ +@COND_i386_qemu_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_i386_qemu_TRUE@ normal.marker +@COND_i386_qemu_TRUE@am__append_8415 = normal.mod +@COND_i386_qemu_TRUE@am__append_8416 = normal.marker +@COND_i386_coreboot_TRUE@am__append_8417 = normal.module +@COND_i386_coreboot_TRUE@am__append_8418 = normal.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8419 = script/yylex.l script/parser.y +@COND_i386_coreboot_TRUE@am__append_8420 = $(nodist_normal_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8421 = \ +@COND_i386_coreboot_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ normal.marker +@COND_i386_coreboot_TRUE@am__append_8422 = normal.mod +@COND_i386_coreboot_TRUE@am__append_8423 = normal.marker +@COND_i386_multiboot_TRUE@am__append_8424 = normal.module +@COND_i386_multiboot_TRUE@am__append_8425 = normal.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8426 = script/yylex.l script/parser.y +@COND_i386_multiboot_TRUE@am__append_8427 = $(nodist_normal_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8428 = \ +@COND_i386_multiboot_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ normal.marker +@COND_i386_multiboot_TRUE@am__append_8429 = normal.mod +@COND_i386_multiboot_TRUE@am__append_8430 = normal.marker +@COND_i386_ieee1275_TRUE@am__append_8431 = normal.module +@COND_i386_ieee1275_TRUE@am__append_8432 = normal.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8433 = script/yylex.l script/parser.y +@COND_i386_ieee1275_TRUE@am__append_8434 = $(nodist_normal_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8435 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ normal.marker +@COND_i386_ieee1275_TRUE@am__append_8436 = normal.mod +@COND_i386_ieee1275_TRUE@am__append_8437 = normal.marker +@COND_x86_64_efi_TRUE@am__append_8438 = normal.module +@COND_x86_64_efi_TRUE@am__append_8439 = normal.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8440 = script/yylex.l script/parser.y +@COND_x86_64_efi_TRUE@am__append_8441 = $(nodist_normal_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8442 = \ +@COND_x86_64_efi_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ normal.marker +@COND_x86_64_efi_TRUE@am__append_8443 = normal.mod +@COND_x86_64_efi_TRUE@am__append_8444 = normal.marker +@COND_mips_yeeloong_TRUE@am__append_8445 = normal.module +@COND_mips_yeeloong_TRUE@am__append_8446 = normal.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8447 = script/yylex.l script/parser.y +@COND_mips_yeeloong_TRUE@am__append_8448 = $(nodist_normal_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8449 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ normal.marker +@COND_mips_yeeloong_TRUE@am__append_8450 = normal.mod +@COND_mips_yeeloong_TRUE@am__append_8451 = normal.marker +@COND_sparc64_ieee1275_TRUE@am__append_8452 = normal.module +@COND_sparc64_ieee1275_TRUE@am__append_8453 = normal.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8454 = script/yylex.l script/parser.y +@COND_sparc64_ieee1275_TRUE@am__append_8455 = $(nodist_normal_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8456 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ normal.marker +@COND_sparc64_ieee1275_TRUE@am__append_8457 = normal.mod +@COND_sparc64_ieee1275_TRUE@am__append_8458 = normal.marker +@COND_powerpc_ieee1275_TRUE@am__append_8459 = normal.module +@COND_powerpc_ieee1275_TRUE@am__append_8460 = normal.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8461 = script/yylex.l script/parser.y +@COND_powerpc_ieee1275_TRUE@am__append_8462 = $(nodist_normal_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8463 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_normal_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ normal.marker +@COND_powerpc_ieee1275_TRUE@am__append_8464 = normal.mod +@COND_powerpc_ieee1275_TRUE@am__append_8465 = normal.marker +@COND_emu_TRUE@am__append_8466 = part_acorn.module +@COND_emu_TRUE@am__append_8467 = part_acorn.module$(EXEEXT) +@COND_emu_TRUE@am__append_8468 = +@COND_emu_TRUE@am__append_8469 = $(nodist_part_acorn_module_SOURCES) +@COND_emu_TRUE@am__append_8470 = $(nodist_part_acorn_module_SOURCES) \ +@COND_emu_TRUE@ part_acorn.marker +@COND_emu_TRUE@am__append_8471 = part_acorn.mod +@COND_emu_TRUE@am__append_8472 = part_acorn.marker +@COND_i386_pc_TRUE@am__append_8473 = part_acorn.module +@COND_i386_pc_TRUE@am__append_8474 = part_acorn.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8475 = +@COND_i386_pc_TRUE@am__append_8476 = $(nodist_part_acorn_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8477 = \ +@COND_i386_pc_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_acorn.marker +@COND_i386_pc_TRUE@am__append_8478 = part_acorn.mod +@COND_i386_pc_TRUE@am__append_8479 = part_acorn.marker +@COND_i386_efi_TRUE@am__append_8480 = part_acorn.module +@COND_i386_efi_TRUE@am__append_8481 = part_acorn.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8482 = +@COND_i386_efi_TRUE@am__append_8483 = $(nodist_part_acorn_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8484 = \ +@COND_i386_efi_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_acorn.marker +@COND_i386_efi_TRUE@am__append_8485 = part_acorn.mod +@COND_i386_efi_TRUE@am__append_8486 = part_acorn.marker +@COND_i386_qemu_TRUE@am__append_8487 = part_acorn.module +@COND_i386_qemu_TRUE@am__append_8488 = part_acorn.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8489 = +@COND_i386_qemu_TRUE@am__append_8490 = $(nodist_part_acorn_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8491 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_acorn.marker +@COND_i386_qemu_TRUE@am__append_8492 = part_acorn.mod +@COND_i386_qemu_TRUE@am__append_8493 = part_acorn.marker +@COND_i386_coreboot_TRUE@am__append_8494 = part_acorn.module +@COND_i386_coreboot_TRUE@am__append_8495 = part_acorn.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8496 = +@COND_i386_coreboot_TRUE@am__append_8497 = $(nodist_part_acorn_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8498 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_acorn.marker +@COND_i386_coreboot_TRUE@am__append_8499 = part_acorn.mod +@COND_i386_coreboot_TRUE@am__append_8500 = part_acorn.marker +@COND_i386_multiboot_TRUE@am__append_8501 = part_acorn.module +@COND_i386_multiboot_TRUE@am__append_8502 = part_acorn.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8503 = +@COND_i386_multiboot_TRUE@am__append_8504 = $(nodist_part_acorn_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8505 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_acorn.marker +@COND_i386_multiboot_TRUE@am__append_8506 = part_acorn.mod +@COND_i386_multiboot_TRUE@am__append_8507 = part_acorn.marker +@COND_i386_ieee1275_TRUE@am__append_8508 = part_acorn.module +@COND_i386_ieee1275_TRUE@am__append_8509 = part_acorn.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8510 = +@COND_i386_ieee1275_TRUE@am__append_8511 = $(nodist_part_acorn_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8512 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_acorn.marker +@COND_i386_ieee1275_TRUE@am__append_8513 = part_acorn.mod +@COND_i386_ieee1275_TRUE@am__append_8514 = part_acorn.marker +@COND_x86_64_efi_TRUE@am__append_8515 = part_acorn.module +@COND_x86_64_efi_TRUE@am__append_8516 = part_acorn.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8517 = +@COND_x86_64_efi_TRUE@am__append_8518 = $(nodist_part_acorn_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8519 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_acorn.marker +@COND_x86_64_efi_TRUE@am__append_8520 = part_acorn.mod +@COND_x86_64_efi_TRUE@am__append_8521 = part_acorn.marker +@COND_mips_yeeloong_TRUE@am__append_8522 = part_acorn.module +@COND_mips_yeeloong_TRUE@am__append_8523 = part_acorn.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8524 = +@COND_mips_yeeloong_TRUE@am__append_8525 = $(nodist_part_acorn_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8526 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_acorn_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_acorn.marker +@COND_mips_yeeloong_TRUE@am__append_8527 = part_acorn.mod +@COND_mips_yeeloong_TRUE@am__append_8528 = part_acorn.marker +@COND_sparc64_ieee1275_TRUE@am__append_8529 = part_acorn.module +@COND_sparc64_ieee1275_TRUE@am__append_8530 = part_acorn.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8531 = +@COND_sparc64_ieee1275_TRUE@am__append_8532 = $(nodist_part_acorn_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8533 = $(nodist_part_acorn_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_acorn.marker +@COND_sparc64_ieee1275_TRUE@am__append_8534 = part_acorn.mod +@COND_sparc64_ieee1275_TRUE@am__append_8535 = part_acorn.marker +@COND_powerpc_ieee1275_TRUE@am__append_8536 = part_acorn.module +@COND_powerpc_ieee1275_TRUE@am__append_8537 = part_acorn.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8538 = +@COND_powerpc_ieee1275_TRUE@am__append_8539 = $(nodist_part_acorn_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8540 = $(nodist_part_acorn_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_acorn.marker +@COND_powerpc_ieee1275_TRUE@am__append_8541 = part_acorn.mod +@COND_powerpc_ieee1275_TRUE@am__append_8542 = part_acorn.marker +@COND_emu_TRUE@am__append_8543 = part_amiga.module +@COND_emu_TRUE@am__append_8544 = part_amiga.module$(EXEEXT) +@COND_emu_TRUE@am__append_8545 = +@COND_emu_TRUE@am__append_8546 = $(nodist_part_amiga_module_SOURCES) +@COND_emu_TRUE@am__append_8547 = $(nodist_part_amiga_module_SOURCES) \ +@COND_emu_TRUE@ part_amiga.marker +@COND_emu_TRUE@am__append_8548 = part_amiga.mod +@COND_emu_TRUE@am__append_8549 = part_amiga.marker +@COND_i386_pc_TRUE@am__append_8550 = part_amiga.module +@COND_i386_pc_TRUE@am__append_8551 = part_amiga.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8552 = +@COND_i386_pc_TRUE@am__append_8553 = $(nodist_part_amiga_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8554 = \ +@COND_i386_pc_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_amiga.marker +@COND_i386_pc_TRUE@am__append_8555 = part_amiga.mod +@COND_i386_pc_TRUE@am__append_8556 = part_amiga.marker +@COND_i386_efi_TRUE@am__append_8557 = part_amiga.module +@COND_i386_efi_TRUE@am__append_8558 = part_amiga.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8559 = +@COND_i386_efi_TRUE@am__append_8560 = $(nodist_part_amiga_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8561 = \ +@COND_i386_efi_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_amiga.marker +@COND_i386_efi_TRUE@am__append_8562 = part_amiga.mod +@COND_i386_efi_TRUE@am__append_8563 = part_amiga.marker +@COND_i386_qemu_TRUE@am__append_8564 = part_amiga.module +@COND_i386_qemu_TRUE@am__append_8565 = part_amiga.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8566 = +@COND_i386_qemu_TRUE@am__append_8567 = $(nodist_part_amiga_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8568 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_amiga.marker +@COND_i386_qemu_TRUE@am__append_8569 = part_amiga.mod +@COND_i386_qemu_TRUE@am__append_8570 = part_amiga.marker +@COND_i386_coreboot_TRUE@am__append_8571 = part_amiga.module +@COND_i386_coreboot_TRUE@am__append_8572 = part_amiga.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8573 = +@COND_i386_coreboot_TRUE@am__append_8574 = $(nodist_part_amiga_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8575 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_amiga.marker +@COND_i386_coreboot_TRUE@am__append_8576 = part_amiga.mod +@COND_i386_coreboot_TRUE@am__append_8577 = part_amiga.marker +@COND_i386_multiboot_TRUE@am__append_8578 = part_amiga.module +@COND_i386_multiboot_TRUE@am__append_8579 = part_amiga.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8580 = +@COND_i386_multiboot_TRUE@am__append_8581 = $(nodist_part_amiga_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8582 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_amiga.marker +@COND_i386_multiboot_TRUE@am__append_8583 = part_amiga.mod +@COND_i386_multiboot_TRUE@am__append_8584 = part_amiga.marker +@COND_i386_ieee1275_TRUE@am__append_8585 = part_amiga.module +@COND_i386_ieee1275_TRUE@am__append_8586 = part_amiga.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8587 = +@COND_i386_ieee1275_TRUE@am__append_8588 = $(nodist_part_amiga_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8589 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_amiga.marker +@COND_i386_ieee1275_TRUE@am__append_8590 = part_amiga.mod +@COND_i386_ieee1275_TRUE@am__append_8591 = part_amiga.marker +@COND_x86_64_efi_TRUE@am__append_8592 = part_amiga.module +@COND_x86_64_efi_TRUE@am__append_8593 = part_amiga.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8594 = +@COND_x86_64_efi_TRUE@am__append_8595 = $(nodist_part_amiga_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8596 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_amiga.marker +@COND_x86_64_efi_TRUE@am__append_8597 = part_amiga.mod +@COND_x86_64_efi_TRUE@am__append_8598 = part_amiga.marker +@COND_mips_yeeloong_TRUE@am__append_8599 = part_amiga.module +@COND_mips_yeeloong_TRUE@am__append_8600 = part_amiga.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8601 = +@COND_mips_yeeloong_TRUE@am__append_8602 = $(nodist_part_amiga_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8603 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_amiga_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_amiga.marker +@COND_mips_yeeloong_TRUE@am__append_8604 = part_amiga.mod +@COND_mips_yeeloong_TRUE@am__append_8605 = part_amiga.marker +@COND_sparc64_ieee1275_TRUE@am__append_8606 = part_amiga.module +@COND_sparc64_ieee1275_TRUE@am__append_8607 = part_amiga.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8608 = +@COND_sparc64_ieee1275_TRUE@am__append_8609 = $(nodist_part_amiga_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8610 = $(nodist_part_amiga_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_amiga.marker +@COND_sparc64_ieee1275_TRUE@am__append_8611 = part_amiga.mod +@COND_sparc64_ieee1275_TRUE@am__append_8612 = part_amiga.marker +@COND_powerpc_ieee1275_TRUE@am__append_8613 = part_amiga.module +@COND_powerpc_ieee1275_TRUE@am__append_8614 = part_amiga.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8615 = +@COND_powerpc_ieee1275_TRUE@am__append_8616 = $(nodist_part_amiga_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8617 = $(nodist_part_amiga_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_amiga.marker +@COND_powerpc_ieee1275_TRUE@am__append_8618 = part_amiga.mod +@COND_powerpc_ieee1275_TRUE@am__append_8619 = part_amiga.marker +@COND_emu_TRUE@am__append_8620 = part_apple.module +@COND_emu_TRUE@am__append_8621 = part_apple.module$(EXEEXT) +@COND_emu_TRUE@am__append_8622 = +@COND_emu_TRUE@am__append_8623 = $(nodist_part_apple_module_SOURCES) +@COND_emu_TRUE@am__append_8624 = $(nodist_part_apple_module_SOURCES) \ +@COND_emu_TRUE@ part_apple.marker +@COND_emu_TRUE@am__append_8625 = part_apple.mod +@COND_emu_TRUE@am__append_8626 = part_apple.marker +@COND_i386_pc_TRUE@am__append_8627 = part_apple.module +@COND_i386_pc_TRUE@am__append_8628 = part_apple.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8629 = +@COND_i386_pc_TRUE@am__append_8630 = $(nodist_part_apple_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8631 = \ +@COND_i386_pc_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_apple.marker +@COND_i386_pc_TRUE@am__append_8632 = part_apple.mod +@COND_i386_pc_TRUE@am__append_8633 = part_apple.marker +@COND_i386_efi_TRUE@am__append_8634 = part_apple.module +@COND_i386_efi_TRUE@am__append_8635 = part_apple.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8636 = +@COND_i386_efi_TRUE@am__append_8637 = $(nodist_part_apple_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8638 = \ +@COND_i386_efi_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_apple.marker +@COND_i386_efi_TRUE@am__append_8639 = part_apple.mod +@COND_i386_efi_TRUE@am__append_8640 = part_apple.marker +@COND_i386_qemu_TRUE@am__append_8641 = part_apple.module +@COND_i386_qemu_TRUE@am__append_8642 = part_apple.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8643 = +@COND_i386_qemu_TRUE@am__append_8644 = $(nodist_part_apple_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8645 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_apple.marker +@COND_i386_qemu_TRUE@am__append_8646 = part_apple.mod +@COND_i386_qemu_TRUE@am__append_8647 = part_apple.marker +@COND_i386_coreboot_TRUE@am__append_8648 = part_apple.module +@COND_i386_coreboot_TRUE@am__append_8649 = part_apple.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8650 = +@COND_i386_coreboot_TRUE@am__append_8651 = $(nodist_part_apple_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8652 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_apple.marker +@COND_i386_coreboot_TRUE@am__append_8653 = part_apple.mod +@COND_i386_coreboot_TRUE@am__append_8654 = part_apple.marker +@COND_i386_multiboot_TRUE@am__append_8655 = part_apple.module +@COND_i386_multiboot_TRUE@am__append_8656 = part_apple.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8657 = +@COND_i386_multiboot_TRUE@am__append_8658 = $(nodist_part_apple_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8659 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_apple.marker +@COND_i386_multiboot_TRUE@am__append_8660 = part_apple.mod +@COND_i386_multiboot_TRUE@am__append_8661 = part_apple.marker +@COND_i386_ieee1275_TRUE@am__append_8662 = part_apple.module +@COND_i386_ieee1275_TRUE@am__append_8663 = part_apple.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8664 = +@COND_i386_ieee1275_TRUE@am__append_8665 = $(nodist_part_apple_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8666 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_apple.marker +@COND_i386_ieee1275_TRUE@am__append_8667 = part_apple.mod +@COND_i386_ieee1275_TRUE@am__append_8668 = part_apple.marker +@COND_x86_64_efi_TRUE@am__append_8669 = part_apple.module +@COND_x86_64_efi_TRUE@am__append_8670 = part_apple.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8671 = +@COND_x86_64_efi_TRUE@am__append_8672 = $(nodist_part_apple_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8673 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_apple.marker +@COND_x86_64_efi_TRUE@am__append_8674 = part_apple.mod +@COND_x86_64_efi_TRUE@am__append_8675 = part_apple.marker +@COND_mips_yeeloong_TRUE@am__append_8676 = part_apple.module +@COND_mips_yeeloong_TRUE@am__append_8677 = part_apple.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8678 = +@COND_mips_yeeloong_TRUE@am__append_8679 = $(nodist_part_apple_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8680 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_apple_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_apple.marker +@COND_mips_yeeloong_TRUE@am__append_8681 = part_apple.mod +@COND_mips_yeeloong_TRUE@am__append_8682 = part_apple.marker +@COND_sparc64_ieee1275_TRUE@am__append_8683 = part_apple.module +@COND_sparc64_ieee1275_TRUE@am__append_8684 = part_apple.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8685 = +@COND_sparc64_ieee1275_TRUE@am__append_8686 = $(nodist_part_apple_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8687 = $(nodist_part_apple_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_apple.marker +@COND_sparc64_ieee1275_TRUE@am__append_8688 = part_apple.mod +@COND_sparc64_ieee1275_TRUE@am__append_8689 = part_apple.marker +@COND_powerpc_ieee1275_TRUE@am__append_8690 = part_apple.module +@COND_powerpc_ieee1275_TRUE@am__append_8691 = part_apple.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8692 = +@COND_powerpc_ieee1275_TRUE@am__append_8693 = $(nodist_part_apple_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8694 = $(nodist_part_apple_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_apple.marker +@COND_powerpc_ieee1275_TRUE@am__append_8695 = part_apple.mod +@COND_powerpc_ieee1275_TRUE@am__append_8696 = part_apple.marker +@COND_emu_TRUE@am__append_8697 = part_gpt.module +@COND_emu_TRUE@am__append_8698 = part_gpt.module$(EXEEXT) +@COND_emu_TRUE@am__append_8699 = +@COND_emu_TRUE@am__append_8700 = $(nodist_part_gpt_module_SOURCES) +@COND_emu_TRUE@am__append_8701 = $(nodist_part_gpt_module_SOURCES) \ +@COND_emu_TRUE@ part_gpt.marker +@COND_emu_TRUE@am__append_8702 = part_gpt.mod +@COND_emu_TRUE@am__append_8703 = part_gpt.marker +@COND_i386_pc_TRUE@am__append_8704 = part_gpt.module +@COND_i386_pc_TRUE@am__append_8705 = part_gpt.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8706 = +@COND_i386_pc_TRUE@am__append_8707 = $(nodist_part_gpt_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8708 = \ +@COND_i386_pc_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_gpt.marker +@COND_i386_pc_TRUE@am__append_8709 = part_gpt.mod +@COND_i386_pc_TRUE@am__append_8710 = part_gpt.marker +@COND_i386_efi_TRUE@am__append_8711 = part_gpt.module +@COND_i386_efi_TRUE@am__append_8712 = part_gpt.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8713 = +@COND_i386_efi_TRUE@am__append_8714 = $(nodist_part_gpt_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8715 = \ +@COND_i386_efi_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_gpt.marker +@COND_i386_efi_TRUE@am__append_8716 = part_gpt.mod +@COND_i386_efi_TRUE@am__append_8717 = part_gpt.marker +@COND_i386_qemu_TRUE@am__append_8718 = part_gpt.module +@COND_i386_qemu_TRUE@am__append_8719 = part_gpt.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8720 = +@COND_i386_qemu_TRUE@am__append_8721 = $(nodist_part_gpt_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8722 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_gpt.marker +@COND_i386_qemu_TRUE@am__append_8723 = part_gpt.mod +@COND_i386_qemu_TRUE@am__append_8724 = part_gpt.marker +@COND_i386_coreboot_TRUE@am__append_8725 = part_gpt.module +@COND_i386_coreboot_TRUE@am__append_8726 = part_gpt.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8727 = +@COND_i386_coreboot_TRUE@am__append_8728 = $(nodist_part_gpt_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8729 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_gpt.marker +@COND_i386_coreboot_TRUE@am__append_8730 = part_gpt.mod +@COND_i386_coreboot_TRUE@am__append_8731 = part_gpt.marker +@COND_i386_multiboot_TRUE@am__append_8732 = part_gpt.module +@COND_i386_multiboot_TRUE@am__append_8733 = part_gpt.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8734 = +@COND_i386_multiboot_TRUE@am__append_8735 = $(nodist_part_gpt_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8736 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_gpt.marker +@COND_i386_multiboot_TRUE@am__append_8737 = part_gpt.mod +@COND_i386_multiboot_TRUE@am__append_8738 = part_gpt.marker +@COND_i386_ieee1275_TRUE@am__append_8739 = part_gpt.module +@COND_i386_ieee1275_TRUE@am__append_8740 = part_gpt.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8741 = +@COND_i386_ieee1275_TRUE@am__append_8742 = $(nodist_part_gpt_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8743 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_gpt.marker +@COND_i386_ieee1275_TRUE@am__append_8744 = part_gpt.mod +@COND_i386_ieee1275_TRUE@am__append_8745 = part_gpt.marker +@COND_x86_64_efi_TRUE@am__append_8746 = part_gpt.module +@COND_x86_64_efi_TRUE@am__append_8747 = part_gpt.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8748 = +@COND_x86_64_efi_TRUE@am__append_8749 = $(nodist_part_gpt_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8750 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_gpt.marker +@COND_x86_64_efi_TRUE@am__append_8751 = part_gpt.mod +@COND_x86_64_efi_TRUE@am__append_8752 = part_gpt.marker +@COND_mips_yeeloong_TRUE@am__append_8753 = part_gpt.module +@COND_mips_yeeloong_TRUE@am__append_8754 = part_gpt.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8755 = +@COND_mips_yeeloong_TRUE@am__append_8756 = $(nodist_part_gpt_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8757 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_gpt.marker +@COND_mips_yeeloong_TRUE@am__append_8758 = part_gpt.mod +@COND_mips_yeeloong_TRUE@am__append_8759 = part_gpt.marker +@COND_sparc64_ieee1275_TRUE@am__append_8760 = part_gpt.module +@COND_sparc64_ieee1275_TRUE@am__append_8761 = part_gpt.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8762 = +@COND_sparc64_ieee1275_TRUE@am__append_8763 = $(nodist_part_gpt_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8764 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_gpt.marker +@COND_sparc64_ieee1275_TRUE@am__append_8765 = part_gpt.mod +@COND_sparc64_ieee1275_TRUE@am__append_8766 = part_gpt.marker +@COND_powerpc_ieee1275_TRUE@am__append_8767 = part_gpt.module +@COND_powerpc_ieee1275_TRUE@am__append_8768 = part_gpt.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8769 = +@COND_powerpc_ieee1275_TRUE@am__append_8770 = $(nodist_part_gpt_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8771 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_part_gpt_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_gpt.marker +@COND_powerpc_ieee1275_TRUE@am__append_8772 = part_gpt.mod +@COND_powerpc_ieee1275_TRUE@am__append_8773 = part_gpt.marker +@COND_emu_TRUE@am__append_8774 = part_msdos.module +@COND_emu_TRUE@am__append_8775 = part_msdos.module$(EXEEXT) +@COND_emu_TRUE@am__append_8776 = +@COND_emu_TRUE@am__append_8777 = $(nodist_part_msdos_module_SOURCES) +@COND_emu_TRUE@am__append_8778 = $(nodist_part_msdos_module_SOURCES) \ +@COND_emu_TRUE@ part_msdos.marker +@COND_emu_TRUE@am__append_8779 = part_msdos.mod +@COND_emu_TRUE@am__append_8780 = part_msdos.marker +@COND_i386_pc_TRUE@am__append_8781 = part_msdos.module +@COND_i386_pc_TRUE@am__append_8782 = part_msdos.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8783 = +@COND_i386_pc_TRUE@am__append_8784 = $(nodist_part_msdos_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8785 = \ +@COND_i386_pc_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_msdos.marker +@COND_i386_pc_TRUE@am__append_8786 = part_msdos.mod +@COND_i386_pc_TRUE@am__append_8787 = part_msdos.marker +@COND_i386_efi_TRUE@am__append_8788 = part_msdos.module +@COND_i386_efi_TRUE@am__append_8789 = part_msdos.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8790 = +@COND_i386_efi_TRUE@am__append_8791 = $(nodist_part_msdos_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8792 = \ +@COND_i386_efi_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_msdos.marker +@COND_i386_efi_TRUE@am__append_8793 = part_msdos.mod +@COND_i386_efi_TRUE@am__append_8794 = part_msdos.marker +@COND_i386_qemu_TRUE@am__append_8795 = part_msdos.module +@COND_i386_qemu_TRUE@am__append_8796 = part_msdos.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8797 = +@COND_i386_qemu_TRUE@am__append_8798 = $(nodist_part_msdos_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8799 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_msdos.marker +@COND_i386_qemu_TRUE@am__append_8800 = part_msdos.mod +@COND_i386_qemu_TRUE@am__append_8801 = part_msdos.marker +@COND_i386_coreboot_TRUE@am__append_8802 = part_msdos.module +@COND_i386_coreboot_TRUE@am__append_8803 = part_msdos.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8804 = +@COND_i386_coreboot_TRUE@am__append_8805 = $(nodist_part_msdos_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8806 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_msdos.marker +@COND_i386_coreboot_TRUE@am__append_8807 = part_msdos.mod +@COND_i386_coreboot_TRUE@am__append_8808 = part_msdos.marker +@COND_i386_multiboot_TRUE@am__append_8809 = part_msdos.module +@COND_i386_multiboot_TRUE@am__append_8810 = part_msdos.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8811 = +@COND_i386_multiboot_TRUE@am__append_8812 = $(nodist_part_msdos_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8813 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_msdos.marker +@COND_i386_multiboot_TRUE@am__append_8814 = part_msdos.mod +@COND_i386_multiboot_TRUE@am__append_8815 = part_msdos.marker +@COND_i386_ieee1275_TRUE@am__append_8816 = part_msdos.module +@COND_i386_ieee1275_TRUE@am__append_8817 = part_msdos.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8818 = +@COND_i386_ieee1275_TRUE@am__append_8819 = $(nodist_part_msdos_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8820 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_msdos.marker +@COND_i386_ieee1275_TRUE@am__append_8821 = part_msdos.mod +@COND_i386_ieee1275_TRUE@am__append_8822 = part_msdos.marker +@COND_x86_64_efi_TRUE@am__append_8823 = part_msdos.module +@COND_x86_64_efi_TRUE@am__append_8824 = part_msdos.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8825 = +@COND_x86_64_efi_TRUE@am__append_8826 = $(nodist_part_msdos_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8827 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_msdos.marker +@COND_x86_64_efi_TRUE@am__append_8828 = part_msdos.mod +@COND_x86_64_efi_TRUE@am__append_8829 = part_msdos.marker +@COND_mips_yeeloong_TRUE@am__append_8830 = part_msdos.module +@COND_mips_yeeloong_TRUE@am__append_8831 = part_msdos.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8832 = +@COND_mips_yeeloong_TRUE@am__append_8833 = $(nodist_part_msdos_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8834 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_msdos_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_msdos.marker +@COND_mips_yeeloong_TRUE@am__append_8835 = part_msdos.mod +@COND_mips_yeeloong_TRUE@am__append_8836 = part_msdos.marker +@COND_sparc64_ieee1275_TRUE@am__append_8837 = part_msdos.module +@COND_sparc64_ieee1275_TRUE@am__append_8838 = part_msdos.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8839 = +@COND_sparc64_ieee1275_TRUE@am__append_8840 = $(nodist_part_msdos_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8841 = $(nodist_part_msdos_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_msdos.marker +@COND_sparc64_ieee1275_TRUE@am__append_8842 = part_msdos.mod +@COND_sparc64_ieee1275_TRUE@am__append_8843 = part_msdos.marker +@COND_powerpc_ieee1275_TRUE@am__append_8844 = part_msdos.module +@COND_powerpc_ieee1275_TRUE@am__append_8845 = part_msdos.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8846 = +@COND_powerpc_ieee1275_TRUE@am__append_8847 = $(nodist_part_msdos_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8848 = $(nodist_part_msdos_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_msdos.marker +@COND_powerpc_ieee1275_TRUE@am__append_8849 = part_msdos.mod +@COND_powerpc_ieee1275_TRUE@am__append_8850 = part_msdos.marker +@COND_emu_TRUE@am__append_8851 = part_sun.module +@COND_emu_TRUE@am__append_8852 = part_sun.module$(EXEEXT) +@COND_emu_TRUE@am__append_8853 = +@COND_emu_TRUE@am__append_8854 = $(nodist_part_sun_module_SOURCES) +@COND_emu_TRUE@am__append_8855 = $(nodist_part_sun_module_SOURCES) \ +@COND_emu_TRUE@ part_sun.marker +@COND_emu_TRUE@am__append_8856 = part_sun.mod +@COND_emu_TRUE@am__append_8857 = part_sun.marker +@COND_i386_pc_TRUE@am__append_8858 = part_sun.module +@COND_i386_pc_TRUE@am__append_8859 = part_sun.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8860 = +@COND_i386_pc_TRUE@am__append_8861 = $(nodist_part_sun_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8862 = \ +@COND_i386_pc_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_sun.marker +@COND_i386_pc_TRUE@am__append_8863 = part_sun.mod +@COND_i386_pc_TRUE@am__append_8864 = part_sun.marker +@COND_i386_efi_TRUE@am__append_8865 = part_sun.module +@COND_i386_efi_TRUE@am__append_8866 = part_sun.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8867 = +@COND_i386_efi_TRUE@am__append_8868 = $(nodist_part_sun_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8869 = \ +@COND_i386_efi_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_sun.marker +@COND_i386_efi_TRUE@am__append_8870 = part_sun.mod +@COND_i386_efi_TRUE@am__append_8871 = part_sun.marker +@COND_i386_qemu_TRUE@am__append_8872 = part_sun.module +@COND_i386_qemu_TRUE@am__append_8873 = part_sun.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8874 = +@COND_i386_qemu_TRUE@am__append_8875 = $(nodist_part_sun_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8876 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_sun.marker +@COND_i386_qemu_TRUE@am__append_8877 = part_sun.mod +@COND_i386_qemu_TRUE@am__append_8878 = part_sun.marker +@COND_i386_coreboot_TRUE@am__append_8879 = part_sun.module +@COND_i386_coreboot_TRUE@am__append_8880 = part_sun.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8881 = +@COND_i386_coreboot_TRUE@am__append_8882 = $(nodist_part_sun_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8883 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_sun.marker +@COND_i386_coreboot_TRUE@am__append_8884 = part_sun.mod +@COND_i386_coreboot_TRUE@am__append_8885 = part_sun.marker +@COND_i386_multiboot_TRUE@am__append_8886 = part_sun.module +@COND_i386_multiboot_TRUE@am__append_8887 = part_sun.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8888 = +@COND_i386_multiboot_TRUE@am__append_8889 = $(nodist_part_sun_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8890 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_sun.marker +@COND_i386_multiboot_TRUE@am__append_8891 = part_sun.mod +@COND_i386_multiboot_TRUE@am__append_8892 = part_sun.marker +@COND_i386_ieee1275_TRUE@am__append_8893 = part_sun.module +@COND_i386_ieee1275_TRUE@am__append_8894 = part_sun.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8895 = +@COND_i386_ieee1275_TRUE@am__append_8896 = $(nodist_part_sun_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8897 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_sun.marker +@COND_i386_ieee1275_TRUE@am__append_8898 = part_sun.mod +@COND_i386_ieee1275_TRUE@am__append_8899 = part_sun.marker +@COND_x86_64_efi_TRUE@am__append_8900 = part_sun.module +@COND_x86_64_efi_TRUE@am__append_8901 = part_sun.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8902 = +@COND_x86_64_efi_TRUE@am__append_8903 = $(nodist_part_sun_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8904 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_sun.marker +@COND_x86_64_efi_TRUE@am__append_8905 = part_sun.mod +@COND_x86_64_efi_TRUE@am__append_8906 = part_sun.marker +@COND_mips_yeeloong_TRUE@am__append_8907 = part_sun.module +@COND_mips_yeeloong_TRUE@am__append_8908 = part_sun.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8909 = +@COND_mips_yeeloong_TRUE@am__append_8910 = $(nodist_part_sun_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8911 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_sun.marker +@COND_mips_yeeloong_TRUE@am__append_8912 = part_sun.mod +@COND_mips_yeeloong_TRUE@am__append_8913 = part_sun.marker +@COND_sparc64_ieee1275_TRUE@am__append_8914 = part_sun.module +@COND_sparc64_ieee1275_TRUE@am__append_8915 = part_sun.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8916 = +@COND_sparc64_ieee1275_TRUE@am__append_8917 = $(nodist_part_sun_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8918 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_sun.marker +@COND_sparc64_ieee1275_TRUE@am__append_8919 = part_sun.mod +@COND_sparc64_ieee1275_TRUE@am__append_8920 = part_sun.marker +@COND_powerpc_ieee1275_TRUE@am__append_8921 = part_sun.module +@COND_powerpc_ieee1275_TRUE@am__append_8922 = part_sun.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_8923 = +@COND_powerpc_ieee1275_TRUE@am__append_8924 = $(nodist_part_sun_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_8925 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_part_sun_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_sun.marker +@COND_powerpc_ieee1275_TRUE@am__append_8926 = part_sun.mod +@COND_powerpc_ieee1275_TRUE@am__append_8927 = part_sun.marker +@COND_emu_TRUE@am__append_8928 = part_bsd.module +@COND_emu_TRUE@am__append_8929 = part_bsd.module$(EXEEXT) +@COND_emu_TRUE@am__append_8930 = +@COND_emu_TRUE@am__append_8931 = $(nodist_part_bsd_module_SOURCES) +@COND_emu_TRUE@am__append_8932 = $(nodist_part_bsd_module_SOURCES) \ +@COND_emu_TRUE@ part_bsd.marker +@COND_emu_TRUE@am__append_8933 = part_bsd.mod +@COND_emu_TRUE@am__append_8934 = part_bsd.marker +@COND_i386_pc_TRUE@am__append_8935 = part_bsd.module +@COND_i386_pc_TRUE@am__append_8936 = part_bsd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_8937 = +@COND_i386_pc_TRUE@am__append_8938 = $(nodist_part_bsd_module_SOURCES) +@COND_i386_pc_TRUE@am__append_8939 = \ +@COND_i386_pc_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_bsd.marker +@COND_i386_pc_TRUE@am__append_8940 = part_bsd.mod +@COND_i386_pc_TRUE@am__append_8941 = part_bsd.marker +@COND_i386_efi_TRUE@am__append_8942 = part_bsd.module +@COND_i386_efi_TRUE@am__append_8943 = part_bsd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_8944 = +@COND_i386_efi_TRUE@am__append_8945 = $(nodist_part_bsd_module_SOURCES) +@COND_i386_efi_TRUE@am__append_8946 = \ +@COND_i386_efi_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_bsd.marker +@COND_i386_efi_TRUE@am__append_8947 = part_bsd.mod +@COND_i386_efi_TRUE@am__append_8948 = part_bsd.marker +@COND_i386_qemu_TRUE@am__append_8949 = part_bsd.module +@COND_i386_qemu_TRUE@am__append_8950 = part_bsd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_8951 = +@COND_i386_qemu_TRUE@am__append_8952 = $(nodist_part_bsd_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_8953 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_bsd.marker +@COND_i386_qemu_TRUE@am__append_8954 = part_bsd.mod +@COND_i386_qemu_TRUE@am__append_8955 = part_bsd.marker +@COND_i386_coreboot_TRUE@am__append_8956 = part_bsd.module +@COND_i386_coreboot_TRUE@am__append_8957 = part_bsd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_8958 = +@COND_i386_coreboot_TRUE@am__append_8959 = $(nodist_part_bsd_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_8960 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_bsd.marker +@COND_i386_coreboot_TRUE@am__append_8961 = part_bsd.mod +@COND_i386_coreboot_TRUE@am__append_8962 = part_bsd.marker +@COND_i386_multiboot_TRUE@am__append_8963 = part_bsd.module +@COND_i386_multiboot_TRUE@am__append_8964 = part_bsd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_8965 = +@COND_i386_multiboot_TRUE@am__append_8966 = $(nodist_part_bsd_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_8967 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_bsd.marker +@COND_i386_multiboot_TRUE@am__append_8968 = part_bsd.mod +@COND_i386_multiboot_TRUE@am__append_8969 = part_bsd.marker +@COND_i386_ieee1275_TRUE@am__append_8970 = part_bsd.module +@COND_i386_ieee1275_TRUE@am__append_8971 = part_bsd.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_8972 = +@COND_i386_ieee1275_TRUE@am__append_8973 = $(nodist_part_bsd_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_8974 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_bsd.marker +@COND_i386_ieee1275_TRUE@am__append_8975 = part_bsd.mod +@COND_i386_ieee1275_TRUE@am__append_8976 = part_bsd.marker +@COND_x86_64_efi_TRUE@am__append_8977 = part_bsd.module +@COND_x86_64_efi_TRUE@am__append_8978 = part_bsd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_8979 = +@COND_x86_64_efi_TRUE@am__append_8980 = $(nodist_part_bsd_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_8981 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_bsd.marker +@COND_x86_64_efi_TRUE@am__append_8982 = part_bsd.mod +@COND_x86_64_efi_TRUE@am__append_8983 = part_bsd.marker +@COND_mips_yeeloong_TRUE@am__append_8984 = part_bsd.module +@COND_mips_yeeloong_TRUE@am__append_8985 = part_bsd.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_8986 = +@COND_mips_yeeloong_TRUE@am__append_8987 = $(nodist_part_bsd_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_8988 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_bsd.marker +@COND_mips_yeeloong_TRUE@am__append_8989 = part_bsd.mod +@COND_mips_yeeloong_TRUE@am__append_8990 = part_bsd.marker +@COND_sparc64_ieee1275_TRUE@am__append_8991 = part_bsd.module +@COND_sparc64_ieee1275_TRUE@am__append_8992 = part_bsd.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_8993 = +@COND_sparc64_ieee1275_TRUE@am__append_8994 = $(nodist_part_bsd_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_8995 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_bsd.marker +@COND_sparc64_ieee1275_TRUE@am__append_8996 = part_bsd.mod +@COND_sparc64_ieee1275_TRUE@am__append_8997 = part_bsd.marker +@COND_powerpc_ieee1275_TRUE@am__append_8998 = part_bsd.module +@COND_powerpc_ieee1275_TRUE@am__append_8999 = part_bsd.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9000 = +@COND_powerpc_ieee1275_TRUE@am__append_9001 = $(nodist_part_bsd_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9002 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_part_bsd_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_bsd.marker +@COND_powerpc_ieee1275_TRUE@am__append_9003 = part_bsd.mod +@COND_powerpc_ieee1275_TRUE@am__append_9004 = part_bsd.marker +@COND_emu_TRUE@am__append_9005 = part_sunpc.module +@COND_emu_TRUE@am__append_9006 = part_sunpc.module$(EXEEXT) +@COND_emu_TRUE@am__append_9007 = +@COND_emu_TRUE@am__append_9008 = $(nodist_part_sunpc_module_SOURCES) +@COND_emu_TRUE@am__append_9009 = $(nodist_part_sunpc_module_SOURCES) \ +@COND_emu_TRUE@ part_sunpc.marker +@COND_emu_TRUE@am__append_9010 = part_sunpc.mod +@COND_emu_TRUE@am__append_9011 = part_sunpc.marker +@COND_i386_pc_TRUE@am__append_9012 = part_sunpc.module +@COND_i386_pc_TRUE@am__append_9013 = part_sunpc.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9014 = +@COND_i386_pc_TRUE@am__append_9015 = $(nodist_part_sunpc_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9016 = \ +@COND_i386_pc_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_i386_pc_TRUE@ part_sunpc.marker +@COND_i386_pc_TRUE@am__append_9017 = part_sunpc.mod +@COND_i386_pc_TRUE@am__append_9018 = part_sunpc.marker +@COND_i386_efi_TRUE@am__append_9019 = part_sunpc.module +@COND_i386_efi_TRUE@am__append_9020 = part_sunpc.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9021 = +@COND_i386_efi_TRUE@am__append_9022 = $(nodist_part_sunpc_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9023 = \ +@COND_i386_efi_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_i386_efi_TRUE@ part_sunpc.marker +@COND_i386_efi_TRUE@am__append_9024 = part_sunpc.mod +@COND_i386_efi_TRUE@am__append_9025 = part_sunpc.marker +@COND_i386_qemu_TRUE@am__append_9026 = part_sunpc.module +@COND_i386_qemu_TRUE@am__append_9027 = part_sunpc.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9028 = +@COND_i386_qemu_TRUE@am__append_9029 = $(nodist_part_sunpc_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9030 = \ +@COND_i386_qemu_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_i386_qemu_TRUE@ part_sunpc.marker +@COND_i386_qemu_TRUE@am__append_9031 = part_sunpc.mod +@COND_i386_qemu_TRUE@am__append_9032 = part_sunpc.marker +@COND_i386_coreboot_TRUE@am__append_9033 = part_sunpc.module +@COND_i386_coreboot_TRUE@am__append_9034 = part_sunpc.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9035 = +@COND_i386_coreboot_TRUE@am__append_9036 = $(nodist_part_sunpc_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9037 = \ +@COND_i386_coreboot_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ part_sunpc.marker +@COND_i386_coreboot_TRUE@am__append_9038 = part_sunpc.mod +@COND_i386_coreboot_TRUE@am__append_9039 = part_sunpc.marker +@COND_i386_multiboot_TRUE@am__append_9040 = part_sunpc.module +@COND_i386_multiboot_TRUE@am__append_9041 = part_sunpc.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9042 = +@COND_i386_multiboot_TRUE@am__append_9043 = $(nodist_part_sunpc_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9044 = \ +@COND_i386_multiboot_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ part_sunpc.marker +@COND_i386_multiboot_TRUE@am__append_9045 = part_sunpc.mod +@COND_i386_multiboot_TRUE@am__append_9046 = part_sunpc.marker +@COND_i386_ieee1275_TRUE@am__append_9047 = part_sunpc.module +@COND_i386_ieee1275_TRUE@am__append_9048 = part_sunpc.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9049 = +@COND_i386_ieee1275_TRUE@am__append_9050 = $(nodist_part_sunpc_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9051 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ part_sunpc.marker +@COND_i386_ieee1275_TRUE@am__append_9052 = part_sunpc.mod +@COND_i386_ieee1275_TRUE@am__append_9053 = part_sunpc.marker +@COND_x86_64_efi_TRUE@am__append_9054 = part_sunpc.module +@COND_x86_64_efi_TRUE@am__append_9055 = part_sunpc.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9056 = +@COND_x86_64_efi_TRUE@am__append_9057 = $(nodist_part_sunpc_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9058 = \ +@COND_x86_64_efi_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ part_sunpc.marker +@COND_x86_64_efi_TRUE@am__append_9059 = part_sunpc.mod +@COND_x86_64_efi_TRUE@am__append_9060 = part_sunpc.marker +@COND_mips_yeeloong_TRUE@am__append_9061 = part_sunpc.module +@COND_mips_yeeloong_TRUE@am__append_9062 = part_sunpc.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_9063 = +@COND_mips_yeeloong_TRUE@am__append_9064 = $(nodist_part_sunpc_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_9065 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_part_sunpc_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ part_sunpc.marker +@COND_mips_yeeloong_TRUE@am__append_9066 = part_sunpc.mod +@COND_mips_yeeloong_TRUE@am__append_9067 = part_sunpc.marker +@COND_sparc64_ieee1275_TRUE@am__append_9068 = part_sunpc.module +@COND_sparc64_ieee1275_TRUE@am__append_9069 = part_sunpc.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9070 = +@COND_sparc64_ieee1275_TRUE@am__append_9071 = $(nodist_part_sunpc_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9072 = $(nodist_part_sunpc_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ part_sunpc.marker +@COND_sparc64_ieee1275_TRUE@am__append_9073 = part_sunpc.mod +@COND_sparc64_ieee1275_TRUE@am__append_9074 = part_sunpc.marker +@COND_powerpc_ieee1275_TRUE@am__append_9075 = part_sunpc.module +@COND_powerpc_ieee1275_TRUE@am__append_9076 = part_sunpc.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9077 = +@COND_powerpc_ieee1275_TRUE@am__append_9078 = $(nodist_part_sunpc_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9079 = $(nodist_part_sunpc_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ part_sunpc.marker +@COND_powerpc_ieee1275_TRUE@am__append_9080 = part_sunpc.mod +@COND_powerpc_ieee1275_TRUE@am__append_9081 = part_sunpc.marker +@COND_emu_TRUE@am__append_9082 = msdospart.module +@COND_emu_TRUE@am__append_9083 = msdospart.module$(EXEEXT) +@COND_emu_TRUE@am__append_9084 = +@COND_emu_TRUE@am__append_9085 = $(nodist_msdospart_module_SOURCES) +@COND_emu_TRUE@am__append_9086 = $(nodist_msdospart_module_SOURCES) \ +@COND_emu_TRUE@ msdospart.marker +@COND_emu_TRUE@am__append_9087 = msdospart.mod +@COND_emu_TRUE@am__append_9088 = msdospart.marker +@COND_i386_pc_TRUE@am__append_9089 = msdospart.module +@COND_i386_pc_TRUE@am__append_9090 = msdospart.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9091 = +@COND_i386_pc_TRUE@am__append_9092 = $(nodist_msdospart_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9093 = \ +@COND_i386_pc_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_i386_pc_TRUE@ msdospart.marker +@COND_i386_pc_TRUE@am__append_9094 = msdospart.mod +@COND_i386_pc_TRUE@am__append_9095 = msdospart.marker +@COND_i386_efi_TRUE@am__append_9096 = msdospart.module +@COND_i386_efi_TRUE@am__append_9097 = msdospart.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9098 = +@COND_i386_efi_TRUE@am__append_9099 = $(nodist_msdospart_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9100 = \ +@COND_i386_efi_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_i386_efi_TRUE@ msdospart.marker +@COND_i386_efi_TRUE@am__append_9101 = msdospart.mod +@COND_i386_efi_TRUE@am__append_9102 = msdospart.marker +@COND_i386_qemu_TRUE@am__append_9103 = msdospart.module +@COND_i386_qemu_TRUE@am__append_9104 = msdospart.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9105 = +@COND_i386_qemu_TRUE@am__append_9106 = $(nodist_msdospart_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9107 = \ +@COND_i386_qemu_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_i386_qemu_TRUE@ msdospart.marker +@COND_i386_qemu_TRUE@am__append_9108 = msdospart.mod +@COND_i386_qemu_TRUE@am__append_9109 = msdospart.marker +@COND_i386_coreboot_TRUE@am__append_9110 = msdospart.module +@COND_i386_coreboot_TRUE@am__append_9111 = msdospart.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9112 = +@COND_i386_coreboot_TRUE@am__append_9113 = $(nodist_msdospart_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9114 = \ +@COND_i386_coreboot_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ msdospart.marker +@COND_i386_coreboot_TRUE@am__append_9115 = msdospart.mod +@COND_i386_coreboot_TRUE@am__append_9116 = msdospart.marker +@COND_i386_multiboot_TRUE@am__append_9117 = msdospart.module +@COND_i386_multiboot_TRUE@am__append_9118 = msdospart.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9119 = +@COND_i386_multiboot_TRUE@am__append_9120 = $(nodist_msdospart_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9121 = \ +@COND_i386_multiboot_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ msdospart.marker +@COND_i386_multiboot_TRUE@am__append_9122 = msdospart.mod +@COND_i386_multiboot_TRUE@am__append_9123 = msdospart.marker +@COND_i386_ieee1275_TRUE@am__append_9124 = msdospart.module +@COND_i386_ieee1275_TRUE@am__append_9125 = msdospart.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9126 = +@COND_i386_ieee1275_TRUE@am__append_9127 = $(nodist_msdospart_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9128 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ msdospart.marker +@COND_i386_ieee1275_TRUE@am__append_9129 = msdospart.mod +@COND_i386_ieee1275_TRUE@am__append_9130 = msdospart.marker +@COND_x86_64_efi_TRUE@am__append_9131 = msdospart.module +@COND_x86_64_efi_TRUE@am__append_9132 = msdospart.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9133 = +@COND_x86_64_efi_TRUE@am__append_9134 = $(nodist_msdospart_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9135 = \ +@COND_x86_64_efi_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ msdospart.marker +@COND_x86_64_efi_TRUE@am__append_9136 = msdospart.mod +@COND_x86_64_efi_TRUE@am__append_9137 = msdospart.marker +@COND_mips_yeeloong_TRUE@am__append_9138 = msdospart.module +@COND_mips_yeeloong_TRUE@am__append_9139 = msdospart.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_9140 = +@COND_mips_yeeloong_TRUE@am__append_9141 = $(nodist_msdospart_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_9142 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_msdospart_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ msdospart.marker +@COND_mips_yeeloong_TRUE@am__append_9143 = msdospart.mod +@COND_mips_yeeloong_TRUE@am__append_9144 = msdospart.marker +@COND_sparc64_ieee1275_TRUE@am__append_9145 = msdospart.module +@COND_sparc64_ieee1275_TRUE@am__append_9146 = msdospart.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9147 = +@COND_sparc64_ieee1275_TRUE@am__append_9148 = $(nodist_msdospart_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9149 = $(nodist_msdospart_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ msdospart.marker +@COND_sparc64_ieee1275_TRUE@am__append_9150 = msdospart.mod +@COND_sparc64_ieee1275_TRUE@am__append_9151 = msdospart.marker +@COND_powerpc_ieee1275_TRUE@am__append_9152 = msdospart.module +@COND_powerpc_ieee1275_TRUE@am__append_9153 = msdospart.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9154 = +@COND_powerpc_ieee1275_TRUE@am__append_9155 = $(nodist_msdospart_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9156 = $(nodist_msdospart_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ msdospart.marker +@COND_powerpc_ieee1275_TRUE@am__append_9157 = msdospart.mod +@COND_powerpc_ieee1275_TRUE@am__append_9158 = msdospart.marker +@COND_i386_pc_TRUE@am__append_9159 = at_keyboard.module +@COND_i386_pc_TRUE@am__append_9160 = at_keyboard.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9161 = +@COND_i386_pc_TRUE@am__append_9162 = $(nodist_at_keyboard_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9163 = \ +@COND_i386_pc_TRUE@ $(nodist_at_keyboard_module_SOURCES) \ +@COND_i386_pc_TRUE@ at_keyboard.marker +@COND_i386_pc_TRUE@am__append_9164 = at_keyboard.mod +@COND_i386_pc_TRUE@am__append_9165 = at_keyboard.marker +@COND_i386_efi_TRUE@am__append_9166 = at_keyboard.module +@COND_i386_efi_TRUE@am__append_9167 = at_keyboard.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9168 = +@COND_i386_efi_TRUE@am__append_9169 = $(nodist_at_keyboard_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9170 = \ +@COND_i386_efi_TRUE@ $(nodist_at_keyboard_module_SOURCES) \ +@COND_i386_efi_TRUE@ at_keyboard.marker +@COND_i386_efi_TRUE@am__append_9171 = at_keyboard.mod +@COND_i386_efi_TRUE@am__append_9172 = at_keyboard.marker +@COND_i386_qemu_TRUE@am__append_9173 = at_keyboard.module +@COND_i386_qemu_TRUE@am__append_9174 = at_keyboard.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9175 = +@COND_i386_qemu_TRUE@am__append_9176 = $(nodist_at_keyboard_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9177 = \ +@COND_i386_qemu_TRUE@ $(nodist_at_keyboard_module_SOURCES) \ +@COND_i386_qemu_TRUE@ at_keyboard.marker +@COND_i386_qemu_TRUE@am__append_9178 = at_keyboard.mod +@COND_i386_qemu_TRUE@am__append_9179 = at_keyboard.marker +@COND_i386_coreboot_TRUE@am__append_9180 = at_keyboard.module +@COND_i386_coreboot_TRUE@am__append_9181 = at_keyboard.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9182 = +@COND_i386_coreboot_TRUE@am__append_9183 = $(nodist_at_keyboard_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9184 = \ +@COND_i386_coreboot_TRUE@ $(nodist_at_keyboard_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ at_keyboard.marker +@COND_i386_coreboot_TRUE@am__append_9185 = at_keyboard.mod +@COND_i386_coreboot_TRUE@am__append_9186 = at_keyboard.marker +@COND_i386_multiboot_TRUE@am__append_9187 = at_keyboard.module +@COND_i386_multiboot_TRUE@am__append_9188 = at_keyboard.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9189 = +@COND_i386_multiboot_TRUE@am__append_9190 = $(nodist_at_keyboard_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9191 = $(nodist_at_keyboard_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ at_keyboard.marker +@COND_i386_multiboot_TRUE@am__append_9192 = at_keyboard.mod +@COND_i386_multiboot_TRUE@am__append_9193 = at_keyboard.marker +@COND_i386_ieee1275_TRUE@am__append_9194 = at_keyboard.module +@COND_i386_ieee1275_TRUE@am__append_9195 = at_keyboard.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9196 = +@COND_i386_ieee1275_TRUE@am__append_9197 = $(nodist_at_keyboard_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9198 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_at_keyboard_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ at_keyboard.marker +@COND_i386_ieee1275_TRUE@am__append_9199 = at_keyboard.mod +@COND_i386_ieee1275_TRUE@am__append_9200 = at_keyboard.marker +@COND_x86_64_efi_TRUE@am__append_9201 = at_keyboard.module +@COND_x86_64_efi_TRUE@am__append_9202 = at_keyboard.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9203 = +@COND_x86_64_efi_TRUE@am__append_9204 = $(nodist_at_keyboard_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9205 = \ +@COND_x86_64_efi_TRUE@ $(nodist_at_keyboard_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ at_keyboard.marker +@COND_x86_64_efi_TRUE@am__append_9206 = at_keyboard.mod +@COND_x86_64_efi_TRUE@am__append_9207 = at_keyboard.marker +@COND_emu_TRUE@am__append_9208 = gfxterm.module +@COND_emu_TRUE@am__append_9209 = gfxterm.module$(EXEEXT) +@COND_emu_TRUE@am__append_9210 = +@COND_emu_TRUE@am__append_9211 = $(nodist_gfxterm_module_SOURCES) +@COND_emu_TRUE@am__append_9212 = $(nodist_gfxterm_module_SOURCES) \ +@COND_emu_TRUE@ gfxterm.marker +@COND_emu_TRUE@am__append_9213 = gfxterm.mod +@COND_emu_TRUE@am__append_9214 = gfxterm.marker +@COND_i386_pc_TRUE@am__append_9215 = gfxterm.module +@COND_i386_pc_TRUE@am__append_9216 = gfxterm.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9217 = +@COND_i386_pc_TRUE@am__append_9218 = $(nodist_gfxterm_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9219 = $(nodist_gfxterm_module_SOURCES) \ +@COND_i386_pc_TRUE@ gfxterm.marker +@COND_i386_pc_TRUE@am__append_9220 = gfxterm.mod +@COND_i386_pc_TRUE@am__append_9221 = gfxterm.marker +@COND_i386_efi_TRUE@am__append_9222 = gfxterm.module +@COND_i386_efi_TRUE@am__append_9223 = gfxterm.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9224 = +@COND_i386_efi_TRUE@am__append_9225 = $(nodist_gfxterm_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9226 = \ +@COND_i386_efi_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_i386_efi_TRUE@ gfxterm.marker +@COND_i386_efi_TRUE@am__append_9227 = gfxterm.mod +@COND_i386_efi_TRUE@am__append_9228 = gfxterm.marker +@COND_i386_qemu_TRUE@am__append_9229 = gfxterm.module +@COND_i386_qemu_TRUE@am__append_9230 = gfxterm.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9231 = +@COND_i386_qemu_TRUE@am__append_9232 = $(nodist_gfxterm_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9233 = \ +@COND_i386_qemu_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gfxterm.marker +@COND_i386_qemu_TRUE@am__append_9234 = gfxterm.mod +@COND_i386_qemu_TRUE@am__append_9235 = gfxterm.marker +@COND_i386_coreboot_TRUE@am__append_9236 = gfxterm.module +@COND_i386_coreboot_TRUE@am__append_9237 = gfxterm.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9238 = +@COND_i386_coreboot_TRUE@am__append_9239 = $(nodist_gfxterm_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9240 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gfxterm.marker +@COND_i386_coreboot_TRUE@am__append_9241 = gfxterm.mod +@COND_i386_coreboot_TRUE@am__append_9242 = gfxterm.marker +@COND_i386_multiboot_TRUE@am__append_9243 = gfxterm.module +@COND_i386_multiboot_TRUE@am__append_9244 = gfxterm.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9245 = +@COND_i386_multiboot_TRUE@am__append_9246 = $(nodist_gfxterm_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9247 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gfxterm.marker +@COND_i386_multiboot_TRUE@am__append_9248 = gfxterm.mod +@COND_i386_multiboot_TRUE@am__append_9249 = gfxterm.marker +@COND_i386_ieee1275_TRUE@am__append_9250 = gfxterm.module +@COND_i386_ieee1275_TRUE@am__append_9251 = gfxterm.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9252 = +@COND_i386_ieee1275_TRUE@am__append_9253 = $(nodist_gfxterm_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9254 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gfxterm.marker +@COND_i386_ieee1275_TRUE@am__append_9255 = gfxterm.mod +@COND_i386_ieee1275_TRUE@am__append_9256 = gfxterm.marker +@COND_x86_64_efi_TRUE@am__append_9257 = gfxterm.module +@COND_x86_64_efi_TRUE@am__append_9258 = gfxterm.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9259 = +@COND_x86_64_efi_TRUE@am__append_9260 = $(nodist_gfxterm_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9261 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gfxterm.marker +@COND_x86_64_efi_TRUE@am__append_9262 = gfxterm.mod +@COND_x86_64_efi_TRUE@am__append_9263 = gfxterm.marker +@COND_sparc64_ieee1275_TRUE@am__append_9264 = gfxterm.module +@COND_sparc64_ieee1275_TRUE@am__append_9265 = gfxterm.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9266 = +@COND_sparc64_ieee1275_TRUE@am__append_9267 = $(nodist_gfxterm_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9268 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gfxterm.marker +@COND_sparc64_ieee1275_TRUE@am__append_9269 = gfxterm.mod +@COND_sparc64_ieee1275_TRUE@am__append_9270 = gfxterm.marker +@COND_powerpc_ieee1275_TRUE@am__append_9271 = gfxterm.module +@COND_powerpc_ieee1275_TRUE@am__append_9272 = gfxterm.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9273 = +@COND_powerpc_ieee1275_TRUE@am__append_9274 = $(nodist_gfxterm_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9275 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gfxterm_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gfxterm.marker +@COND_powerpc_ieee1275_TRUE@am__append_9276 = gfxterm.mod +@COND_powerpc_ieee1275_TRUE@am__append_9277 = gfxterm.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9278 = serial.module +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9279 = serial.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9280 = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9281 = $(nodist_serial_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9282 = $(nodist_serial_module_SOURCES) \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ serial.marker +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9283 = serial.mod +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_9284 = serial.marker +@COND_i386_pc_TRUE@am__append_9285 = serial.module +@COND_i386_pc_TRUE@am__append_9286 = serial.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9287 = +@COND_i386_pc_TRUE@am__append_9288 = $(nodist_serial_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9289 = $(nodist_serial_module_SOURCES) \ +@COND_i386_pc_TRUE@ serial.marker +@COND_i386_pc_TRUE@am__append_9290 = serial.mod +@COND_i386_pc_TRUE@am__append_9291 = serial.marker +@COND_i386_efi_TRUE@am__append_9292 = serial.module +@COND_i386_efi_TRUE@am__append_9293 = serial.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9294 = +@COND_i386_efi_TRUE@am__append_9295 = $(nodist_serial_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9296 = $(nodist_serial_module_SOURCES) \ +@COND_i386_efi_TRUE@ serial.marker +@COND_i386_efi_TRUE@am__append_9297 = serial.mod +@COND_i386_efi_TRUE@am__append_9298 = serial.marker +@COND_i386_qemu_TRUE@am__append_9299 = serial.module +@COND_i386_qemu_TRUE@am__append_9300 = serial.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9301 = +@COND_i386_qemu_TRUE@am__append_9302 = $(nodist_serial_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9303 = \ +@COND_i386_qemu_TRUE@ $(nodist_serial_module_SOURCES) \ +@COND_i386_qemu_TRUE@ serial.marker +@COND_i386_qemu_TRUE@am__append_9304 = serial.mod +@COND_i386_qemu_TRUE@am__append_9305 = serial.marker +@COND_i386_coreboot_TRUE@am__append_9306 = serial.module +@COND_i386_coreboot_TRUE@am__append_9307 = serial.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9308 = +@COND_i386_coreboot_TRUE@am__append_9309 = $(nodist_serial_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9310 = \ +@COND_i386_coreboot_TRUE@ $(nodist_serial_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ serial.marker +@COND_i386_coreboot_TRUE@am__append_9311 = serial.mod +@COND_i386_coreboot_TRUE@am__append_9312 = serial.marker +@COND_i386_multiboot_TRUE@am__append_9313 = serial.module +@COND_i386_multiboot_TRUE@am__append_9314 = serial.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9315 = +@COND_i386_multiboot_TRUE@am__append_9316 = $(nodist_serial_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9317 = \ +@COND_i386_multiboot_TRUE@ $(nodist_serial_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ serial.marker +@COND_i386_multiboot_TRUE@am__append_9318 = serial.mod +@COND_i386_multiboot_TRUE@am__append_9319 = serial.marker +@COND_i386_ieee1275_TRUE@am__append_9320 = serial.module +@COND_i386_ieee1275_TRUE@am__append_9321 = serial.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9322 = +@COND_i386_ieee1275_TRUE@am__append_9323 = $(nodist_serial_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9324 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_serial_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ serial.marker +@COND_i386_ieee1275_TRUE@am__append_9325 = serial.mod +@COND_i386_ieee1275_TRUE@am__append_9326 = serial.marker +@COND_x86_64_efi_TRUE@am__append_9327 = serial.module +@COND_x86_64_efi_TRUE@am__append_9328 = serial.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9329 = +@COND_x86_64_efi_TRUE@am__append_9330 = $(nodist_serial_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9331 = \ +@COND_x86_64_efi_TRUE@ $(nodist_serial_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ serial.marker +@COND_x86_64_efi_TRUE@am__append_9332 = serial.mod +@COND_x86_64_efi_TRUE@am__append_9333 = serial.marker +@COND_i386_pc_TRUE@am__append_9334 = sendkey.module +@COND_i386_pc_TRUE@am__append_9335 = sendkey.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9336 = +@COND_i386_pc_TRUE@am__append_9337 = $(nodist_sendkey_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9338 = $(nodist_sendkey_module_SOURCES) \ +@COND_i386_pc_TRUE@ sendkey.marker +@COND_i386_pc_TRUE@am__append_9339 = sendkey.mod +@COND_i386_pc_TRUE@am__append_9340 = sendkey.marker +@COND_emu_TRUE@am__append_9341 = terminfo.module +@COND_emu_TRUE@am__append_9342 = terminfo.module$(EXEEXT) +@COND_emu_TRUE@am__append_9343 = +@COND_emu_TRUE@am__append_9344 = $(nodist_terminfo_module_SOURCES) +@COND_emu_TRUE@am__append_9345 = $(nodist_terminfo_module_SOURCES) \ +@COND_emu_TRUE@ terminfo.marker +@COND_emu_TRUE@am__append_9346 = terminfo.mod +@COND_emu_TRUE@am__append_9347 = terminfo.marker +@COND_i386_pc_TRUE@am__append_9348 = terminfo.module +@COND_i386_pc_TRUE@am__append_9349 = terminfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9350 = +@COND_i386_pc_TRUE@am__append_9351 = $(nodist_terminfo_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9352 = \ +@COND_i386_pc_TRUE@ $(nodist_terminfo_module_SOURCES) \ +@COND_i386_pc_TRUE@ terminfo.marker +@COND_i386_pc_TRUE@am__append_9353 = terminfo.mod +@COND_i386_pc_TRUE@am__append_9354 = terminfo.marker +@COND_i386_efi_TRUE@am__append_9355 = terminfo.module +@COND_i386_efi_TRUE@am__append_9356 = terminfo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9357 = +@COND_i386_efi_TRUE@am__append_9358 = $(nodist_terminfo_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9359 = \ +@COND_i386_efi_TRUE@ $(nodist_terminfo_module_SOURCES) \ +@COND_i386_efi_TRUE@ terminfo.marker +@COND_i386_efi_TRUE@am__append_9360 = terminfo.mod +@COND_i386_efi_TRUE@am__append_9361 = terminfo.marker +@COND_i386_qemu_TRUE@am__append_9362 = terminfo.module +@COND_i386_qemu_TRUE@am__append_9363 = terminfo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9364 = +@COND_i386_qemu_TRUE@am__append_9365 = $(nodist_terminfo_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9366 = \ +@COND_i386_qemu_TRUE@ $(nodist_terminfo_module_SOURCES) \ +@COND_i386_qemu_TRUE@ terminfo.marker +@COND_i386_qemu_TRUE@am__append_9367 = terminfo.mod +@COND_i386_qemu_TRUE@am__append_9368 = terminfo.marker +@COND_i386_coreboot_TRUE@am__append_9369 = terminfo.module +@COND_i386_coreboot_TRUE@am__append_9370 = terminfo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9371 = +@COND_i386_coreboot_TRUE@am__append_9372 = $(nodist_terminfo_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9373 = \ +@COND_i386_coreboot_TRUE@ $(nodist_terminfo_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ terminfo.marker +@COND_i386_coreboot_TRUE@am__append_9374 = terminfo.mod +@COND_i386_coreboot_TRUE@am__append_9375 = terminfo.marker +@COND_i386_multiboot_TRUE@am__append_9376 = terminfo.module +@COND_i386_multiboot_TRUE@am__append_9377 = terminfo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9378 = +@COND_i386_multiboot_TRUE@am__append_9379 = $(nodist_terminfo_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9380 = \ +@COND_i386_multiboot_TRUE@ $(nodist_terminfo_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ terminfo.marker +@COND_i386_multiboot_TRUE@am__append_9381 = terminfo.mod +@COND_i386_multiboot_TRUE@am__append_9382 = terminfo.marker +@COND_x86_64_efi_TRUE@am__append_9383 = terminfo.module +@COND_x86_64_efi_TRUE@am__append_9384 = terminfo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9385 = +@COND_x86_64_efi_TRUE@am__append_9386 = $(nodist_terminfo_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9387 = \ +@COND_x86_64_efi_TRUE@ $(nodist_terminfo_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ terminfo.marker +@COND_x86_64_efi_TRUE@am__append_9388 = terminfo.mod +@COND_x86_64_efi_TRUE@am__append_9389 = terminfo.marker +@COND_i386_pc_TRUE@am__append_9390 = usb_keyboard.module +@COND_i386_pc_TRUE@am__append_9391 = usb_keyboard.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9392 = +@COND_i386_pc_TRUE@am__append_9393 = $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9394 = \ +@COND_i386_pc_TRUE@ $(nodist_usb_keyboard_module_SOURCES) \ +@COND_i386_pc_TRUE@ usb_keyboard.marker +@COND_i386_pc_TRUE@am__append_9395 = usb_keyboard.mod +@COND_i386_pc_TRUE@am__append_9396 = usb_keyboard.marker +@COND_i386_efi_TRUE@am__append_9397 = usb_keyboard.module +@COND_i386_efi_TRUE@am__append_9398 = usb_keyboard.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9399 = +@COND_i386_efi_TRUE@am__append_9400 = $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9401 = \ +@COND_i386_efi_TRUE@ $(nodist_usb_keyboard_module_SOURCES) \ +@COND_i386_efi_TRUE@ usb_keyboard.marker +@COND_i386_efi_TRUE@am__append_9402 = usb_keyboard.mod +@COND_i386_efi_TRUE@am__append_9403 = usb_keyboard.marker +@COND_i386_qemu_TRUE@am__append_9404 = usb_keyboard.module +@COND_i386_qemu_TRUE@am__append_9405 = usb_keyboard.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9406 = +@COND_i386_qemu_TRUE@am__append_9407 = $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9408 = \ +@COND_i386_qemu_TRUE@ $(nodist_usb_keyboard_module_SOURCES) \ +@COND_i386_qemu_TRUE@ usb_keyboard.marker +@COND_i386_qemu_TRUE@am__append_9409 = usb_keyboard.mod +@COND_i386_qemu_TRUE@am__append_9410 = usb_keyboard.marker +@COND_i386_coreboot_TRUE@am__append_9411 = usb_keyboard.module +@COND_i386_coreboot_TRUE@am__append_9412 = usb_keyboard.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9413 = +@COND_i386_coreboot_TRUE@am__append_9414 = $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9415 = $(nodist_usb_keyboard_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ usb_keyboard.marker +@COND_i386_coreboot_TRUE@am__append_9416 = usb_keyboard.mod +@COND_i386_coreboot_TRUE@am__append_9417 = usb_keyboard.marker +@COND_i386_multiboot_TRUE@am__append_9418 = usb_keyboard.module +@COND_i386_multiboot_TRUE@am__append_9419 = usb_keyboard.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9420 = +@COND_i386_multiboot_TRUE@am__append_9421 = $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9422 = $(nodist_usb_keyboard_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ usb_keyboard.marker +@COND_i386_multiboot_TRUE@am__append_9423 = usb_keyboard.mod +@COND_i386_multiboot_TRUE@am__append_9424 = usb_keyboard.marker +@COND_i386_ieee1275_TRUE@am__append_9425 = usb_keyboard.module +@COND_i386_ieee1275_TRUE@am__append_9426 = usb_keyboard.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9427 = +@COND_i386_ieee1275_TRUE@am__append_9428 = $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9429 = $(nodist_usb_keyboard_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ usb_keyboard.marker +@COND_i386_ieee1275_TRUE@am__append_9430 = usb_keyboard.mod +@COND_i386_ieee1275_TRUE@am__append_9431 = usb_keyboard.marker +@COND_x86_64_efi_TRUE@am__append_9432 = usb_keyboard.module +@COND_x86_64_efi_TRUE@am__append_9433 = usb_keyboard.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9434 = +@COND_x86_64_efi_TRUE@am__append_9435 = $(nodist_usb_keyboard_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9436 = \ +@COND_x86_64_efi_TRUE@ $(nodist_usb_keyboard_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ usb_keyboard.marker +@COND_x86_64_efi_TRUE@am__append_9437 = usb_keyboard.mod +@COND_x86_64_efi_TRUE@am__append_9438 = usb_keyboard.marker +@COND_mips_yeeloong_TRUE@am__append_9439 = usb_keyboard.module +@COND_mips_yeeloong_TRUE@am__append_9440 = usb_keyboard.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_9441 = +@COND_mips_yeeloong_TRUE@am__append_9442 = $(nodist_usb_keyboard_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_9443 = $(nodist_usb_keyboard_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ usb_keyboard.marker +@COND_mips_yeeloong_TRUE@am__append_9444 = usb_keyboard.mod +@COND_mips_yeeloong_TRUE@am__append_9445 = usb_keyboard.marker +@COND_i386_pc_TRUE@am__append_9446 = vga.module vga_text.module +@COND_i386_pc_TRUE@am__append_9447 = vga.module$(EXEEXT) \ +@COND_i386_pc_TRUE@ vga_text.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9448 = +@COND_i386_pc_TRUE@am__append_9449 = $(nodist_vga_module_SOURCES) \ +@COND_i386_pc_TRUE@ $(nodist_vga_text_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9450 = $(nodist_vga_module_SOURCES) \ +@COND_i386_pc_TRUE@ vga.marker \ +@COND_i386_pc_TRUE@ $(nodist_vga_text_module_SOURCES) \ +@COND_i386_pc_TRUE@ vga_text.marker +@COND_i386_pc_TRUE@am__append_9451 = vga.mod vga_text.mod +@COND_i386_pc_TRUE@am__append_9452 = vga.marker vga_text.marker +@COND_i386_coreboot_TRUE@am__append_9453 = vga_text.module +@COND_i386_coreboot_TRUE@am__append_9454 = vga_text.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9455 = +@COND_i386_coreboot_TRUE@am__append_9456 = $(nodist_vga_text_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9457 = \ +@COND_i386_coreboot_TRUE@ $(nodist_vga_text_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ vga_text.marker +@COND_i386_coreboot_TRUE@am__append_9458 = vga_text.mod +@COND_i386_coreboot_TRUE@am__append_9459 = vga_text.marker +@COND_i386_multiboot_TRUE@am__append_9460 = vga_text.module +@COND_i386_multiboot_TRUE@am__append_9461 = vga_text.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9462 = +@COND_i386_multiboot_TRUE@am__append_9463 = $(nodist_vga_text_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9464 = \ +@COND_i386_multiboot_TRUE@ $(nodist_vga_text_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ vga_text.marker +@COND_i386_multiboot_TRUE@am__append_9465 = vga_text.mod +@COND_i386_multiboot_TRUE@am__append_9466 = vga_text.marker +@COND_i386_pc_TRUE@am__append_9467 = video_cirrus.module +@COND_i386_pc_TRUE@am__append_9468 = video_cirrus.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9469 = +@COND_i386_pc_TRUE@am__append_9470 = $(nodist_video_cirrus_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9471 = \ +@COND_i386_pc_TRUE@ $(nodist_video_cirrus_module_SOURCES) \ +@COND_i386_pc_TRUE@ video_cirrus.marker +@COND_i386_pc_TRUE@am__append_9472 = video_cirrus.mod +@COND_i386_pc_TRUE@am__append_9473 = video_cirrus.marker +@COND_i386_efi_TRUE@am__append_9474 = video_cirrus.module +@COND_i386_efi_TRUE@am__append_9475 = video_cirrus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9476 = +@COND_i386_efi_TRUE@am__append_9477 = $(nodist_video_cirrus_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9478 = \ +@COND_i386_efi_TRUE@ $(nodist_video_cirrus_module_SOURCES) \ +@COND_i386_efi_TRUE@ video_cirrus.marker +@COND_i386_efi_TRUE@am__append_9479 = video_cirrus.mod +@COND_i386_efi_TRUE@am__append_9480 = video_cirrus.marker +@COND_i386_qemu_TRUE@am__append_9481 = video_cirrus.module +@COND_i386_qemu_TRUE@am__append_9482 = video_cirrus.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9483 = +@COND_i386_qemu_TRUE@am__append_9484 = $(nodist_video_cirrus_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9485 = \ +@COND_i386_qemu_TRUE@ $(nodist_video_cirrus_module_SOURCES) \ +@COND_i386_qemu_TRUE@ video_cirrus.marker +@COND_i386_qemu_TRUE@am__append_9486 = video_cirrus.mod +@COND_i386_qemu_TRUE@am__append_9487 = video_cirrus.marker +@COND_i386_coreboot_TRUE@am__append_9488 = video_cirrus.module +@COND_i386_coreboot_TRUE@am__append_9489 = video_cirrus.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9490 = +@COND_i386_coreboot_TRUE@am__append_9491 = $(nodist_video_cirrus_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9492 = $(nodist_video_cirrus_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ video_cirrus.marker +@COND_i386_coreboot_TRUE@am__append_9493 = video_cirrus.mod +@COND_i386_coreboot_TRUE@am__append_9494 = video_cirrus.marker +@COND_i386_multiboot_TRUE@am__append_9495 = video_cirrus.module +@COND_i386_multiboot_TRUE@am__append_9496 = video_cirrus.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9497 = +@COND_i386_multiboot_TRUE@am__append_9498 = $(nodist_video_cirrus_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9499 = $(nodist_video_cirrus_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ video_cirrus.marker +@COND_i386_multiboot_TRUE@am__append_9500 = video_cirrus.mod +@COND_i386_multiboot_TRUE@am__append_9501 = video_cirrus.marker +@COND_i386_ieee1275_TRUE@am__append_9502 = video_cirrus.module +@COND_i386_ieee1275_TRUE@am__append_9503 = video_cirrus.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9504 = +@COND_i386_ieee1275_TRUE@am__append_9505 = $(nodist_video_cirrus_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9506 = $(nodist_video_cirrus_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ video_cirrus.marker +@COND_i386_ieee1275_TRUE@am__append_9507 = video_cirrus.mod +@COND_i386_ieee1275_TRUE@am__append_9508 = video_cirrus.marker +@COND_x86_64_efi_TRUE@am__append_9509 = video_cirrus.module +@COND_x86_64_efi_TRUE@am__append_9510 = video_cirrus.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9511 = +@COND_x86_64_efi_TRUE@am__append_9512 = $(nodist_video_cirrus_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9513 = \ +@COND_x86_64_efi_TRUE@ $(nodist_video_cirrus_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ video_cirrus.marker +@COND_x86_64_efi_TRUE@am__append_9514 = video_cirrus.mod +@COND_x86_64_efi_TRUE@am__append_9515 = video_cirrus.marker +@COND_i386_pc_TRUE@am__append_9516 = video_bochs.module +@COND_i386_pc_TRUE@am__append_9517 = video_bochs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9518 = +@COND_i386_pc_TRUE@am__append_9519 = $(nodist_video_bochs_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9520 = \ +@COND_i386_pc_TRUE@ $(nodist_video_bochs_module_SOURCES) \ +@COND_i386_pc_TRUE@ video_bochs.marker +@COND_i386_pc_TRUE@am__append_9521 = video_bochs.mod +@COND_i386_pc_TRUE@am__append_9522 = video_bochs.marker +@COND_i386_efi_TRUE@am__append_9523 = video_bochs.module +@COND_i386_efi_TRUE@am__append_9524 = video_bochs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9525 = +@COND_i386_efi_TRUE@am__append_9526 = $(nodist_video_bochs_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9527 = \ +@COND_i386_efi_TRUE@ $(nodist_video_bochs_module_SOURCES) \ +@COND_i386_efi_TRUE@ video_bochs.marker +@COND_i386_efi_TRUE@am__append_9528 = video_bochs.mod +@COND_i386_efi_TRUE@am__append_9529 = video_bochs.marker +@COND_i386_qemu_TRUE@am__append_9530 = video_bochs.module +@COND_i386_qemu_TRUE@am__append_9531 = video_bochs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9532 = +@COND_i386_qemu_TRUE@am__append_9533 = $(nodist_video_bochs_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9534 = \ +@COND_i386_qemu_TRUE@ $(nodist_video_bochs_module_SOURCES) \ +@COND_i386_qemu_TRUE@ video_bochs.marker +@COND_i386_qemu_TRUE@am__append_9535 = video_bochs.mod +@COND_i386_qemu_TRUE@am__append_9536 = video_bochs.marker +@COND_i386_coreboot_TRUE@am__append_9537 = video_bochs.module +@COND_i386_coreboot_TRUE@am__append_9538 = video_bochs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9539 = +@COND_i386_coreboot_TRUE@am__append_9540 = $(nodist_video_bochs_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9541 = \ +@COND_i386_coreboot_TRUE@ $(nodist_video_bochs_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ video_bochs.marker +@COND_i386_coreboot_TRUE@am__append_9542 = video_bochs.mod +@COND_i386_coreboot_TRUE@am__append_9543 = video_bochs.marker +@COND_i386_multiboot_TRUE@am__append_9544 = video_bochs.module +@COND_i386_multiboot_TRUE@am__append_9545 = video_bochs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9546 = +@COND_i386_multiboot_TRUE@am__append_9547 = $(nodist_video_bochs_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9548 = $(nodist_video_bochs_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ video_bochs.marker +@COND_i386_multiboot_TRUE@am__append_9549 = video_bochs.mod +@COND_i386_multiboot_TRUE@am__append_9550 = video_bochs.marker +@COND_i386_ieee1275_TRUE@am__append_9551 = video_bochs.module +@COND_i386_ieee1275_TRUE@am__append_9552 = video_bochs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9553 = +@COND_i386_ieee1275_TRUE@am__append_9554 = $(nodist_video_bochs_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9555 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_video_bochs_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ video_bochs.marker +@COND_i386_ieee1275_TRUE@am__append_9556 = video_bochs.mod +@COND_i386_ieee1275_TRUE@am__append_9557 = video_bochs.marker +@COND_x86_64_efi_TRUE@am__append_9558 = video_bochs.module +@COND_x86_64_efi_TRUE@am__append_9559 = video_bochs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9560 = +@COND_x86_64_efi_TRUE@am__append_9561 = $(nodist_video_bochs_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9562 = \ +@COND_x86_64_efi_TRUE@ $(nodist_video_bochs_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ video_bochs.marker +@COND_x86_64_efi_TRUE@am__append_9563 = video_bochs.mod +@COND_x86_64_efi_TRUE@am__append_9564 = video_bochs.marker +@COND_emu_TRUE@am__append_9565 = functional_test.module +@COND_emu_TRUE@am__append_9566 = functional_test.module$(EXEEXT) +@COND_emu_TRUE@am__append_9567 = +@COND_emu_TRUE@am__append_9568 = $(nodist_functional_test_module_SOURCES) +@COND_emu_TRUE@am__append_9569 = \ +@COND_emu_TRUE@ $(nodist_functional_test_module_SOURCES) \ +@COND_emu_TRUE@ functional_test.marker +@COND_emu_TRUE@am__append_9570 = functional_test.mod +@COND_emu_TRUE@am__append_9571 = functional_test.marker +@COND_i386_pc_TRUE@am__append_9572 = functional_test.module +@COND_i386_pc_TRUE@am__append_9573 = functional_test.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9574 = +@COND_i386_pc_TRUE@am__append_9575 = $(nodist_functional_test_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9576 = \ +@COND_i386_pc_TRUE@ $(nodist_functional_test_module_SOURCES) \ +@COND_i386_pc_TRUE@ functional_test.marker +@COND_i386_pc_TRUE@am__append_9577 = functional_test.mod +@COND_i386_pc_TRUE@am__append_9578 = functional_test.marker +@COND_i386_efi_TRUE@am__append_9579 = functional_test.module +@COND_i386_efi_TRUE@am__append_9580 = functional_test.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9581 = +@COND_i386_efi_TRUE@am__append_9582 = $(nodist_functional_test_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9583 = \ +@COND_i386_efi_TRUE@ $(nodist_functional_test_module_SOURCES) \ +@COND_i386_efi_TRUE@ functional_test.marker +@COND_i386_efi_TRUE@am__append_9584 = functional_test.mod +@COND_i386_efi_TRUE@am__append_9585 = functional_test.marker +@COND_i386_qemu_TRUE@am__append_9586 = functional_test.module +@COND_i386_qemu_TRUE@am__append_9587 = functional_test.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9588 = +@COND_i386_qemu_TRUE@am__append_9589 = $(nodist_functional_test_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9590 = \ +@COND_i386_qemu_TRUE@ $(nodist_functional_test_module_SOURCES) \ +@COND_i386_qemu_TRUE@ functional_test.marker +@COND_i386_qemu_TRUE@am__append_9591 = functional_test.mod +@COND_i386_qemu_TRUE@am__append_9592 = functional_test.marker +@COND_i386_coreboot_TRUE@am__append_9593 = functional_test.module +@COND_i386_coreboot_TRUE@am__append_9594 = functional_test.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9595 = +@COND_i386_coreboot_TRUE@am__append_9596 = $(nodist_functional_test_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9597 = $(nodist_functional_test_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ functional_test.marker +@COND_i386_coreboot_TRUE@am__append_9598 = functional_test.mod +@COND_i386_coreboot_TRUE@am__append_9599 = functional_test.marker +@COND_i386_multiboot_TRUE@am__append_9600 = functional_test.module +@COND_i386_multiboot_TRUE@am__append_9601 = functional_test.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9602 = +@COND_i386_multiboot_TRUE@am__append_9603 = $(nodist_functional_test_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9604 = $(nodist_functional_test_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ functional_test.marker +@COND_i386_multiboot_TRUE@am__append_9605 = functional_test.mod +@COND_i386_multiboot_TRUE@am__append_9606 = functional_test.marker +@COND_i386_ieee1275_TRUE@am__append_9607 = functional_test.module +@COND_i386_ieee1275_TRUE@am__append_9608 = functional_test.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9609 = +@COND_i386_ieee1275_TRUE@am__append_9610 = $(nodist_functional_test_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9611 = $(nodist_functional_test_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ functional_test.marker +@COND_i386_ieee1275_TRUE@am__append_9612 = functional_test.mod +@COND_i386_ieee1275_TRUE@am__append_9613 = functional_test.marker +@COND_x86_64_efi_TRUE@am__append_9614 = functional_test.module +@COND_x86_64_efi_TRUE@am__append_9615 = functional_test.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9616 = +@COND_x86_64_efi_TRUE@am__append_9617 = $(nodist_functional_test_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9618 = $(nodist_functional_test_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ functional_test.marker +@COND_x86_64_efi_TRUE@am__append_9619 = functional_test.mod +@COND_x86_64_efi_TRUE@am__append_9620 = functional_test.marker +@COND_mips_yeeloong_TRUE@am__append_9621 = functional_test.module +@COND_mips_yeeloong_TRUE@am__append_9622 = functional_test.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_9623 = +@COND_mips_yeeloong_TRUE@am__append_9624 = $(nodist_functional_test_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_9625 = $(nodist_functional_test_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ functional_test.marker +@COND_mips_yeeloong_TRUE@am__append_9626 = functional_test.mod +@COND_mips_yeeloong_TRUE@am__append_9627 = functional_test.marker +@COND_sparc64_ieee1275_TRUE@am__append_9628 = functional_test.module +@COND_sparc64_ieee1275_TRUE@am__append_9629 = functional_test.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9630 = +@COND_sparc64_ieee1275_TRUE@am__append_9631 = $(nodist_functional_test_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9632 = $(nodist_functional_test_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ functional_test.marker +@COND_sparc64_ieee1275_TRUE@am__append_9633 = functional_test.mod +@COND_sparc64_ieee1275_TRUE@am__append_9634 = functional_test.marker +@COND_powerpc_ieee1275_TRUE@am__append_9635 = functional_test.module +@COND_powerpc_ieee1275_TRUE@am__append_9636 = functional_test.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9637 = +@COND_powerpc_ieee1275_TRUE@am__append_9638 = $(nodist_functional_test_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9639 = $(nodist_functional_test_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ functional_test.marker +@COND_powerpc_ieee1275_TRUE@am__append_9640 = functional_test.mod +@COND_powerpc_ieee1275_TRUE@am__append_9641 = functional_test.marker +@COND_emu_TRUE@am__append_9642 = example_functional_test.module +@COND_emu_TRUE@am__append_9643 = example_functional_test.module$(EXEEXT) +@COND_emu_TRUE@am__append_9644 = +@COND_emu_TRUE@am__append_9645 = $(nodist_example_functional_test_module_SOURCES) +@COND_emu_TRUE@am__append_9646 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_emu_TRUE@ example_functional_test.marker +@COND_emu_TRUE@am__append_9647 = example_functional_test.mod +@COND_emu_TRUE@am__append_9648 = example_functional_test.marker +@COND_i386_pc_TRUE@am__append_9649 = example_functional_test.module +@COND_i386_pc_TRUE@am__append_9650 = example_functional_test.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9651 = +@COND_i386_pc_TRUE@am__append_9652 = $(nodist_example_functional_test_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9653 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_i386_pc_TRUE@ example_functional_test.marker +@COND_i386_pc_TRUE@am__append_9654 = example_functional_test.mod +@COND_i386_pc_TRUE@am__append_9655 = example_functional_test.marker +@COND_i386_efi_TRUE@am__append_9656 = example_functional_test.module +@COND_i386_efi_TRUE@am__append_9657 = example_functional_test.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9658 = +@COND_i386_efi_TRUE@am__append_9659 = $(nodist_example_functional_test_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9660 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_i386_efi_TRUE@ example_functional_test.marker +@COND_i386_efi_TRUE@am__append_9661 = example_functional_test.mod +@COND_i386_efi_TRUE@am__append_9662 = example_functional_test.marker +@COND_i386_qemu_TRUE@am__append_9663 = example_functional_test.module +@COND_i386_qemu_TRUE@am__append_9664 = example_functional_test.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9665 = +@COND_i386_qemu_TRUE@am__append_9666 = $(nodist_example_functional_test_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9667 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_i386_qemu_TRUE@ example_functional_test.marker +@COND_i386_qemu_TRUE@am__append_9668 = example_functional_test.mod +@COND_i386_qemu_TRUE@am__append_9669 = example_functional_test.marker +@COND_i386_coreboot_TRUE@am__append_9670 = example_functional_test.module +@COND_i386_coreboot_TRUE@am__append_9671 = example_functional_test.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9672 = +@COND_i386_coreboot_TRUE@am__append_9673 = $(nodist_example_functional_test_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9674 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ example_functional_test.marker +@COND_i386_coreboot_TRUE@am__append_9675 = example_functional_test.mod +@COND_i386_coreboot_TRUE@am__append_9676 = example_functional_test.marker +@COND_i386_multiboot_TRUE@am__append_9677 = example_functional_test.module +@COND_i386_multiboot_TRUE@am__append_9678 = example_functional_test.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9679 = +@COND_i386_multiboot_TRUE@am__append_9680 = $(nodist_example_functional_test_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9681 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ example_functional_test.marker +@COND_i386_multiboot_TRUE@am__append_9682 = example_functional_test.mod +@COND_i386_multiboot_TRUE@am__append_9683 = example_functional_test.marker +@COND_i386_ieee1275_TRUE@am__append_9684 = example_functional_test.module +@COND_i386_ieee1275_TRUE@am__append_9685 = example_functional_test.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9686 = +@COND_i386_ieee1275_TRUE@am__append_9687 = $(nodist_example_functional_test_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9688 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ example_functional_test.marker +@COND_i386_ieee1275_TRUE@am__append_9689 = example_functional_test.mod +@COND_i386_ieee1275_TRUE@am__append_9690 = example_functional_test.marker +@COND_x86_64_efi_TRUE@am__append_9691 = example_functional_test.module +@COND_x86_64_efi_TRUE@am__append_9692 = example_functional_test.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9693 = +@COND_x86_64_efi_TRUE@am__append_9694 = $(nodist_example_functional_test_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9695 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ example_functional_test.marker +@COND_x86_64_efi_TRUE@am__append_9696 = example_functional_test.mod +@COND_x86_64_efi_TRUE@am__append_9697 = example_functional_test.marker +@COND_mips_yeeloong_TRUE@am__append_9698 = example_functional_test.module +@COND_mips_yeeloong_TRUE@am__append_9699 = example_functional_test.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_9700 = +@COND_mips_yeeloong_TRUE@am__append_9701 = $(nodist_example_functional_test_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_9702 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ example_functional_test.marker +@COND_mips_yeeloong_TRUE@am__append_9703 = example_functional_test.mod +@COND_mips_yeeloong_TRUE@am__append_9704 = example_functional_test.marker +@COND_sparc64_ieee1275_TRUE@am__append_9705 = example_functional_test.module +@COND_sparc64_ieee1275_TRUE@am__append_9706 = example_functional_test.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9707 = +@COND_sparc64_ieee1275_TRUE@am__append_9708 = $(nodist_example_functional_test_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9709 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ example_functional_test.marker +@COND_sparc64_ieee1275_TRUE@am__append_9710 = example_functional_test.mod +@COND_sparc64_ieee1275_TRUE@am__append_9711 = example_functional_test.marker +@COND_powerpc_ieee1275_TRUE@am__append_9712 = example_functional_test.module +@COND_powerpc_ieee1275_TRUE@am__append_9713 = example_functional_test.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9714 = +@COND_powerpc_ieee1275_TRUE@am__append_9715 = $(nodist_example_functional_test_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9716 = $(nodist_example_functional_test_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ example_functional_test.marker +@COND_powerpc_ieee1275_TRUE@am__append_9717 = example_functional_test.mod +@COND_powerpc_ieee1275_TRUE@am__append_9718 = example_functional_test.marker +@COND_emu_TRUE@am__append_9719 = bitmap.module +@COND_emu_TRUE@am__append_9720 = bitmap.module$(EXEEXT) +@COND_emu_TRUE@am__append_9721 = +@COND_emu_TRUE@am__append_9722 = $(nodist_bitmap_module_SOURCES) +@COND_emu_TRUE@am__append_9723 = $(nodist_bitmap_module_SOURCES) \ +@COND_emu_TRUE@ bitmap.marker +@COND_emu_TRUE@am__append_9724 = bitmap.mod +@COND_emu_TRUE@am__append_9725 = bitmap.marker +@COND_i386_pc_TRUE@am__append_9726 = bitmap.module +@COND_i386_pc_TRUE@am__append_9727 = bitmap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9728 = +@COND_i386_pc_TRUE@am__append_9729 = $(nodist_bitmap_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9730 = $(nodist_bitmap_module_SOURCES) \ +@COND_i386_pc_TRUE@ bitmap.marker +@COND_i386_pc_TRUE@am__append_9731 = bitmap.mod +@COND_i386_pc_TRUE@am__append_9732 = bitmap.marker +@COND_i386_efi_TRUE@am__append_9733 = bitmap.module +@COND_i386_efi_TRUE@am__append_9734 = bitmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9735 = +@COND_i386_efi_TRUE@am__append_9736 = $(nodist_bitmap_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9737 = $(nodist_bitmap_module_SOURCES) \ +@COND_i386_efi_TRUE@ bitmap.marker +@COND_i386_efi_TRUE@am__append_9738 = bitmap.mod +@COND_i386_efi_TRUE@am__append_9739 = bitmap.marker +@COND_i386_qemu_TRUE@am__append_9740 = bitmap.module +@COND_i386_qemu_TRUE@am__append_9741 = bitmap.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9742 = +@COND_i386_qemu_TRUE@am__append_9743 = $(nodist_bitmap_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9744 = \ +@COND_i386_qemu_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_i386_qemu_TRUE@ bitmap.marker +@COND_i386_qemu_TRUE@am__append_9745 = bitmap.mod +@COND_i386_qemu_TRUE@am__append_9746 = bitmap.marker +@COND_i386_coreboot_TRUE@am__append_9747 = bitmap.module +@COND_i386_coreboot_TRUE@am__append_9748 = bitmap.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9749 = +@COND_i386_coreboot_TRUE@am__append_9750 = $(nodist_bitmap_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9751 = \ +@COND_i386_coreboot_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ bitmap.marker +@COND_i386_coreboot_TRUE@am__append_9752 = bitmap.mod +@COND_i386_coreboot_TRUE@am__append_9753 = bitmap.marker +@COND_i386_multiboot_TRUE@am__append_9754 = bitmap.module +@COND_i386_multiboot_TRUE@am__append_9755 = bitmap.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9756 = +@COND_i386_multiboot_TRUE@am__append_9757 = $(nodist_bitmap_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9758 = \ +@COND_i386_multiboot_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ bitmap.marker +@COND_i386_multiboot_TRUE@am__append_9759 = bitmap.mod +@COND_i386_multiboot_TRUE@am__append_9760 = bitmap.marker +@COND_i386_ieee1275_TRUE@am__append_9761 = bitmap.module +@COND_i386_ieee1275_TRUE@am__append_9762 = bitmap.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9763 = +@COND_i386_ieee1275_TRUE@am__append_9764 = $(nodist_bitmap_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9765 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ bitmap.marker +@COND_i386_ieee1275_TRUE@am__append_9766 = bitmap.mod +@COND_i386_ieee1275_TRUE@am__append_9767 = bitmap.marker +@COND_x86_64_efi_TRUE@am__append_9768 = bitmap.module +@COND_x86_64_efi_TRUE@am__append_9769 = bitmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9770 = +@COND_x86_64_efi_TRUE@am__append_9771 = $(nodist_bitmap_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9772 = \ +@COND_x86_64_efi_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ bitmap.marker +@COND_x86_64_efi_TRUE@am__append_9773 = bitmap.mod +@COND_x86_64_efi_TRUE@am__append_9774 = bitmap.marker +@COND_sparc64_ieee1275_TRUE@am__append_9775 = bitmap.module +@COND_sparc64_ieee1275_TRUE@am__append_9776 = bitmap.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9777 = +@COND_sparc64_ieee1275_TRUE@am__append_9778 = $(nodist_bitmap_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9779 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ bitmap.marker +@COND_sparc64_ieee1275_TRUE@am__append_9780 = bitmap.mod +@COND_sparc64_ieee1275_TRUE@am__append_9781 = bitmap.marker +@COND_powerpc_ieee1275_TRUE@am__append_9782 = bitmap.module +@COND_powerpc_ieee1275_TRUE@am__append_9783 = bitmap.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9784 = +@COND_powerpc_ieee1275_TRUE@am__append_9785 = $(nodist_bitmap_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9786 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_bitmap_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ bitmap.marker +@COND_powerpc_ieee1275_TRUE@am__append_9787 = bitmap.mod +@COND_powerpc_ieee1275_TRUE@am__append_9788 = bitmap.marker +@COND_emu_TRUE@am__append_9789 = bitmap_scale.module +@COND_emu_TRUE@am__append_9790 = bitmap_scale.module$(EXEEXT) +@COND_emu_TRUE@am__append_9791 = +@COND_emu_TRUE@am__append_9792 = $(nodist_bitmap_scale_module_SOURCES) +@COND_emu_TRUE@am__append_9793 = \ +@COND_emu_TRUE@ $(nodist_bitmap_scale_module_SOURCES) \ +@COND_emu_TRUE@ bitmap_scale.marker +@COND_emu_TRUE@am__append_9794 = bitmap_scale.mod +@COND_emu_TRUE@am__append_9795 = bitmap_scale.marker +@COND_i386_pc_TRUE@am__append_9796 = bitmap_scale.module +@COND_i386_pc_TRUE@am__append_9797 = bitmap_scale.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9798 = +@COND_i386_pc_TRUE@am__append_9799 = $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9800 = \ +@COND_i386_pc_TRUE@ $(nodist_bitmap_scale_module_SOURCES) \ +@COND_i386_pc_TRUE@ bitmap_scale.marker +@COND_i386_pc_TRUE@am__append_9801 = bitmap_scale.mod +@COND_i386_pc_TRUE@am__append_9802 = bitmap_scale.marker +@COND_i386_efi_TRUE@am__append_9803 = bitmap_scale.module +@COND_i386_efi_TRUE@am__append_9804 = bitmap_scale.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9805 = +@COND_i386_efi_TRUE@am__append_9806 = $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9807 = \ +@COND_i386_efi_TRUE@ $(nodist_bitmap_scale_module_SOURCES) \ +@COND_i386_efi_TRUE@ bitmap_scale.marker +@COND_i386_efi_TRUE@am__append_9808 = bitmap_scale.mod +@COND_i386_efi_TRUE@am__append_9809 = bitmap_scale.marker +@COND_i386_qemu_TRUE@am__append_9810 = bitmap_scale.module +@COND_i386_qemu_TRUE@am__append_9811 = bitmap_scale.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9812 = +@COND_i386_qemu_TRUE@am__append_9813 = $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9814 = \ +@COND_i386_qemu_TRUE@ $(nodist_bitmap_scale_module_SOURCES) \ +@COND_i386_qemu_TRUE@ bitmap_scale.marker +@COND_i386_qemu_TRUE@am__append_9815 = bitmap_scale.mod +@COND_i386_qemu_TRUE@am__append_9816 = bitmap_scale.marker +@COND_i386_coreboot_TRUE@am__append_9817 = bitmap_scale.module +@COND_i386_coreboot_TRUE@am__append_9818 = bitmap_scale.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9819 = +@COND_i386_coreboot_TRUE@am__append_9820 = $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9821 = $(nodist_bitmap_scale_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ bitmap_scale.marker +@COND_i386_coreboot_TRUE@am__append_9822 = bitmap_scale.mod +@COND_i386_coreboot_TRUE@am__append_9823 = bitmap_scale.marker +@COND_i386_multiboot_TRUE@am__append_9824 = bitmap_scale.module +@COND_i386_multiboot_TRUE@am__append_9825 = bitmap_scale.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9826 = +@COND_i386_multiboot_TRUE@am__append_9827 = $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9828 = $(nodist_bitmap_scale_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ bitmap_scale.marker +@COND_i386_multiboot_TRUE@am__append_9829 = bitmap_scale.mod +@COND_i386_multiboot_TRUE@am__append_9830 = bitmap_scale.marker +@COND_i386_ieee1275_TRUE@am__append_9831 = bitmap_scale.module +@COND_i386_ieee1275_TRUE@am__append_9832 = bitmap_scale.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9833 = +@COND_i386_ieee1275_TRUE@am__append_9834 = $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9835 = $(nodist_bitmap_scale_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ bitmap_scale.marker +@COND_i386_ieee1275_TRUE@am__append_9836 = bitmap_scale.mod +@COND_i386_ieee1275_TRUE@am__append_9837 = bitmap_scale.marker +@COND_x86_64_efi_TRUE@am__append_9838 = bitmap_scale.module +@COND_x86_64_efi_TRUE@am__append_9839 = bitmap_scale.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9840 = +@COND_x86_64_efi_TRUE@am__append_9841 = $(nodist_bitmap_scale_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9842 = \ +@COND_x86_64_efi_TRUE@ $(nodist_bitmap_scale_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ bitmap_scale.marker +@COND_x86_64_efi_TRUE@am__append_9843 = bitmap_scale.mod +@COND_x86_64_efi_TRUE@am__append_9844 = bitmap_scale.marker +@COND_sparc64_ieee1275_TRUE@am__append_9845 = bitmap_scale.module +@COND_sparc64_ieee1275_TRUE@am__append_9846 = bitmap_scale.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9847 = +@COND_sparc64_ieee1275_TRUE@am__append_9848 = $(nodist_bitmap_scale_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9849 = $(nodist_bitmap_scale_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ bitmap_scale.marker +@COND_sparc64_ieee1275_TRUE@am__append_9850 = bitmap_scale.mod +@COND_sparc64_ieee1275_TRUE@am__append_9851 = bitmap_scale.marker +@COND_powerpc_ieee1275_TRUE@am__append_9852 = bitmap_scale.module +@COND_powerpc_ieee1275_TRUE@am__append_9853 = bitmap_scale.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9854 = +@COND_powerpc_ieee1275_TRUE@am__append_9855 = $(nodist_bitmap_scale_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9856 = $(nodist_bitmap_scale_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ bitmap_scale.marker +@COND_powerpc_ieee1275_TRUE@am__append_9857 = bitmap_scale.mod +@COND_powerpc_ieee1275_TRUE@am__append_9858 = bitmap_scale.marker +@COND_i386_efi_TRUE@am__append_9859 = efi_gop.module +@COND_i386_efi_TRUE@am__append_9860 = efi_gop.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9861 = +@COND_i386_efi_TRUE@am__append_9862 = $(nodist_efi_gop_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9863 = \ +@COND_i386_efi_TRUE@ $(nodist_efi_gop_module_SOURCES) \ +@COND_i386_efi_TRUE@ efi_gop.marker +@COND_i386_efi_TRUE@am__append_9864 = efi_gop.mod +@COND_i386_efi_TRUE@am__append_9865 = efi_gop.marker +@COND_x86_64_efi_TRUE@am__append_9866 = efi_gop.module +@COND_x86_64_efi_TRUE@am__append_9867 = efi_gop.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9868 = +@COND_x86_64_efi_TRUE@am__append_9869 = $(nodist_efi_gop_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9870 = \ +@COND_x86_64_efi_TRUE@ $(nodist_efi_gop_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ efi_gop.marker +@COND_x86_64_efi_TRUE@am__append_9871 = efi_gop.mod +@COND_x86_64_efi_TRUE@am__append_9872 = efi_gop.marker +@COND_i386_efi_TRUE@am__append_9873 = efi_uga.module +@COND_i386_efi_TRUE@am__append_9874 = efi_uga.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9875 = +@COND_i386_efi_TRUE@am__append_9876 = $(nodist_efi_uga_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9877 = \ +@COND_i386_efi_TRUE@ $(nodist_efi_uga_module_SOURCES) \ +@COND_i386_efi_TRUE@ efi_uga.marker +@COND_i386_efi_TRUE@am__append_9878 = efi_uga.mod +@COND_i386_efi_TRUE@am__append_9879 = efi_uga.marker +@COND_x86_64_efi_TRUE@am__append_9880 = efi_uga.module +@COND_x86_64_efi_TRUE@am__append_9881 = efi_uga.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9882 = +@COND_x86_64_efi_TRUE@am__append_9883 = $(nodist_efi_uga_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9884 = \ +@COND_x86_64_efi_TRUE@ $(nodist_efi_uga_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ efi_uga.marker +@COND_x86_64_efi_TRUE@am__append_9885 = efi_uga.mod +@COND_x86_64_efi_TRUE@am__append_9886 = efi_uga.marker +@COND_emu_TRUE@am__append_9887 = jpeg.module +@COND_emu_TRUE@am__append_9888 = jpeg.module$(EXEEXT) +@COND_emu_TRUE@am__append_9889 = +@COND_emu_TRUE@am__append_9890 = $(nodist_jpeg_module_SOURCES) +@COND_emu_TRUE@am__append_9891 = $(nodist_jpeg_module_SOURCES) \ +@COND_emu_TRUE@ jpeg.marker +@COND_emu_TRUE@am__append_9892 = jpeg.mod +@COND_emu_TRUE@am__append_9893 = jpeg.marker +@COND_i386_pc_TRUE@am__append_9894 = jpeg.module +@COND_i386_pc_TRUE@am__append_9895 = jpeg.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9896 = +@COND_i386_pc_TRUE@am__append_9897 = $(nodist_jpeg_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9898 = $(nodist_jpeg_module_SOURCES) \ +@COND_i386_pc_TRUE@ jpeg.marker +@COND_i386_pc_TRUE@am__append_9899 = jpeg.mod +@COND_i386_pc_TRUE@am__append_9900 = jpeg.marker +@COND_i386_efi_TRUE@am__append_9901 = jpeg.module +@COND_i386_efi_TRUE@am__append_9902 = jpeg.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9903 = +@COND_i386_efi_TRUE@am__append_9904 = $(nodist_jpeg_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9905 = $(nodist_jpeg_module_SOURCES) \ +@COND_i386_efi_TRUE@ jpeg.marker +@COND_i386_efi_TRUE@am__append_9906 = jpeg.mod +@COND_i386_efi_TRUE@am__append_9907 = jpeg.marker +@COND_i386_qemu_TRUE@am__append_9908 = jpeg.module +@COND_i386_qemu_TRUE@am__append_9909 = jpeg.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9910 = +@COND_i386_qemu_TRUE@am__append_9911 = $(nodist_jpeg_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9912 = $(nodist_jpeg_module_SOURCES) \ +@COND_i386_qemu_TRUE@ jpeg.marker +@COND_i386_qemu_TRUE@am__append_9913 = jpeg.mod +@COND_i386_qemu_TRUE@am__append_9914 = jpeg.marker +@COND_i386_coreboot_TRUE@am__append_9915 = jpeg.module +@COND_i386_coreboot_TRUE@am__append_9916 = jpeg.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9917 = +@COND_i386_coreboot_TRUE@am__append_9918 = $(nodist_jpeg_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9919 = \ +@COND_i386_coreboot_TRUE@ $(nodist_jpeg_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ jpeg.marker +@COND_i386_coreboot_TRUE@am__append_9920 = jpeg.mod +@COND_i386_coreboot_TRUE@am__append_9921 = jpeg.marker +@COND_i386_multiboot_TRUE@am__append_9922 = jpeg.module +@COND_i386_multiboot_TRUE@am__append_9923 = jpeg.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_9924 = +@COND_i386_multiboot_TRUE@am__append_9925 = $(nodist_jpeg_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_9926 = \ +@COND_i386_multiboot_TRUE@ $(nodist_jpeg_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ jpeg.marker +@COND_i386_multiboot_TRUE@am__append_9927 = jpeg.mod +@COND_i386_multiboot_TRUE@am__append_9928 = jpeg.marker +@COND_i386_ieee1275_TRUE@am__append_9929 = jpeg.module +@COND_i386_ieee1275_TRUE@am__append_9930 = jpeg.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_9931 = +@COND_i386_ieee1275_TRUE@am__append_9932 = $(nodist_jpeg_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_9933 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_jpeg_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ jpeg.marker +@COND_i386_ieee1275_TRUE@am__append_9934 = jpeg.mod +@COND_i386_ieee1275_TRUE@am__append_9935 = jpeg.marker +@COND_x86_64_efi_TRUE@am__append_9936 = jpeg.module +@COND_x86_64_efi_TRUE@am__append_9937 = jpeg.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_9938 = +@COND_x86_64_efi_TRUE@am__append_9939 = $(nodist_jpeg_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_9940 = $(nodist_jpeg_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ jpeg.marker +@COND_x86_64_efi_TRUE@am__append_9941 = jpeg.mod +@COND_x86_64_efi_TRUE@am__append_9942 = jpeg.marker +@COND_mips_yeeloong_TRUE@am__append_9943 = jpeg.module +@COND_mips_yeeloong_TRUE@am__append_9944 = jpeg.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_9945 = +@COND_mips_yeeloong_TRUE@am__append_9946 = $(nodist_jpeg_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_9947 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_jpeg_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ jpeg.marker +@COND_mips_yeeloong_TRUE@am__append_9948 = jpeg.mod +@COND_mips_yeeloong_TRUE@am__append_9949 = jpeg.marker +@COND_sparc64_ieee1275_TRUE@am__append_9950 = jpeg.module +@COND_sparc64_ieee1275_TRUE@am__append_9951 = jpeg.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_9952 = +@COND_sparc64_ieee1275_TRUE@am__append_9953 = $(nodist_jpeg_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_9954 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_jpeg_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ jpeg.marker +@COND_sparc64_ieee1275_TRUE@am__append_9955 = jpeg.mod +@COND_sparc64_ieee1275_TRUE@am__append_9956 = jpeg.marker +@COND_powerpc_ieee1275_TRUE@am__append_9957 = jpeg.module +@COND_powerpc_ieee1275_TRUE@am__append_9958 = jpeg.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_9959 = +@COND_powerpc_ieee1275_TRUE@am__append_9960 = $(nodist_jpeg_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_9961 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_jpeg_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ jpeg.marker +@COND_powerpc_ieee1275_TRUE@am__append_9962 = jpeg.mod +@COND_powerpc_ieee1275_TRUE@am__append_9963 = jpeg.marker +@COND_emu_TRUE@am__append_9964 = png.module +@COND_emu_TRUE@am__append_9965 = png.module$(EXEEXT) +@COND_emu_TRUE@am__append_9966 = +@COND_emu_TRUE@am__append_9967 = $(nodist_png_module_SOURCES) +@COND_emu_TRUE@am__append_9968 = $(nodist_png_module_SOURCES) \ +@COND_emu_TRUE@ png.marker +@COND_emu_TRUE@am__append_9969 = png.mod +@COND_emu_TRUE@am__append_9970 = png.marker +@COND_i386_pc_TRUE@am__append_9971 = png.module +@COND_i386_pc_TRUE@am__append_9972 = png.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_9973 = +@COND_i386_pc_TRUE@am__append_9974 = $(nodist_png_module_SOURCES) +@COND_i386_pc_TRUE@am__append_9975 = $(nodist_png_module_SOURCES) \ +@COND_i386_pc_TRUE@ png.marker +@COND_i386_pc_TRUE@am__append_9976 = png.mod +@COND_i386_pc_TRUE@am__append_9977 = png.marker +@COND_i386_efi_TRUE@am__append_9978 = png.module +@COND_i386_efi_TRUE@am__append_9979 = png.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_9980 = +@COND_i386_efi_TRUE@am__append_9981 = $(nodist_png_module_SOURCES) +@COND_i386_efi_TRUE@am__append_9982 = $(nodist_png_module_SOURCES) \ +@COND_i386_efi_TRUE@ png.marker +@COND_i386_efi_TRUE@am__append_9983 = png.mod +@COND_i386_efi_TRUE@am__append_9984 = png.marker +@COND_i386_qemu_TRUE@am__append_9985 = png.module +@COND_i386_qemu_TRUE@am__append_9986 = png.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_9987 = +@COND_i386_qemu_TRUE@am__append_9988 = $(nodist_png_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_9989 = $(nodist_png_module_SOURCES) \ +@COND_i386_qemu_TRUE@ png.marker +@COND_i386_qemu_TRUE@am__append_9990 = png.mod +@COND_i386_qemu_TRUE@am__append_9991 = png.marker +@COND_i386_coreboot_TRUE@am__append_9992 = png.module +@COND_i386_coreboot_TRUE@am__append_9993 = png.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_9994 = +@COND_i386_coreboot_TRUE@am__append_9995 = $(nodist_png_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_9996 = \ +@COND_i386_coreboot_TRUE@ $(nodist_png_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ png.marker +@COND_i386_coreboot_TRUE@am__append_9997 = png.mod +@COND_i386_coreboot_TRUE@am__append_9998 = png.marker +@COND_i386_multiboot_TRUE@am__append_9999 = png.module +@COND_i386_multiboot_TRUE@am__append_10000 = png.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10001 = +@COND_i386_multiboot_TRUE@am__append_10002 = $(nodist_png_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10003 = \ +@COND_i386_multiboot_TRUE@ $(nodist_png_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ png.marker +@COND_i386_multiboot_TRUE@am__append_10004 = png.mod +@COND_i386_multiboot_TRUE@am__append_10005 = png.marker +@COND_i386_ieee1275_TRUE@am__append_10006 = png.module +@COND_i386_ieee1275_TRUE@am__append_10007 = png.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10008 = +@COND_i386_ieee1275_TRUE@am__append_10009 = $(nodist_png_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10010 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_png_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ png.marker +@COND_i386_ieee1275_TRUE@am__append_10011 = png.mod +@COND_i386_ieee1275_TRUE@am__append_10012 = png.marker +@COND_x86_64_efi_TRUE@am__append_10013 = png.module +@COND_x86_64_efi_TRUE@am__append_10014 = png.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10015 = +@COND_x86_64_efi_TRUE@am__append_10016 = $(nodist_png_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10017 = $(nodist_png_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ png.marker +@COND_x86_64_efi_TRUE@am__append_10018 = png.mod +@COND_x86_64_efi_TRUE@am__append_10019 = png.marker +@COND_mips_yeeloong_TRUE@am__append_10020 = png.module +@COND_mips_yeeloong_TRUE@am__append_10021 = png.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10022 = +@COND_mips_yeeloong_TRUE@am__append_10023 = $(nodist_png_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10024 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_png_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ png.marker +@COND_mips_yeeloong_TRUE@am__append_10025 = png.mod +@COND_mips_yeeloong_TRUE@am__append_10026 = png.marker +@COND_sparc64_ieee1275_TRUE@am__append_10027 = png.module +@COND_sparc64_ieee1275_TRUE@am__append_10028 = png.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10029 = +@COND_sparc64_ieee1275_TRUE@am__append_10030 = $(nodist_png_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10031 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_png_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ png.marker +@COND_sparc64_ieee1275_TRUE@am__append_10032 = png.mod +@COND_sparc64_ieee1275_TRUE@am__append_10033 = png.marker +@COND_powerpc_ieee1275_TRUE@am__append_10034 = png.module +@COND_powerpc_ieee1275_TRUE@am__append_10035 = png.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10036 = +@COND_powerpc_ieee1275_TRUE@am__append_10037 = $(nodist_png_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10038 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_png_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ png.marker +@COND_powerpc_ieee1275_TRUE@am__append_10039 = png.mod +@COND_powerpc_ieee1275_TRUE@am__append_10040 = png.marker +@COND_emu_TRUE@am__append_10041 = tga.module +@COND_emu_TRUE@am__append_10042 = tga.module$(EXEEXT) +@COND_emu_TRUE@am__append_10043 = +@COND_emu_TRUE@am__append_10044 = $(nodist_tga_module_SOURCES) +@COND_emu_TRUE@am__append_10045 = $(nodist_tga_module_SOURCES) \ +@COND_emu_TRUE@ tga.marker +@COND_emu_TRUE@am__append_10046 = tga.mod +@COND_emu_TRUE@am__append_10047 = tga.marker +@COND_i386_pc_TRUE@am__append_10048 = tga.module +@COND_i386_pc_TRUE@am__append_10049 = tga.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10050 = +@COND_i386_pc_TRUE@am__append_10051 = $(nodist_tga_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10052 = $(nodist_tga_module_SOURCES) \ +@COND_i386_pc_TRUE@ tga.marker +@COND_i386_pc_TRUE@am__append_10053 = tga.mod +@COND_i386_pc_TRUE@am__append_10054 = tga.marker +@COND_i386_efi_TRUE@am__append_10055 = tga.module +@COND_i386_efi_TRUE@am__append_10056 = tga.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10057 = +@COND_i386_efi_TRUE@am__append_10058 = $(nodist_tga_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10059 = $(nodist_tga_module_SOURCES) \ +@COND_i386_efi_TRUE@ tga.marker +@COND_i386_efi_TRUE@am__append_10060 = tga.mod +@COND_i386_efi_TRUE@am__append_10061 = tga.marker +@COND_i386_qemu_TRUE@am__append_10062 = tga.module +@COND_i386_qemu_TRUE@am__append_10063 = tga.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10064 = +@COND_i386_qemu_TRUE@am__append_10065 = $(nodist_tga_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10066 = $(nodist_tga_module_SOURCES) \ +@COND_i386_qemu_TRUE@ tga.marker +@COND_i386_qemu_TRUE@am__append_10067 = tga.mod +@COND_i386_qemu_TRUE@am__append_10068 = tga.marker +@COND_i386_coreboot_TRUE@am__append_10069 = tga.module +@COND_i386_coreboot_TRUE@am__append_10070 = tga.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10071 = +@COND_i386_coreboot_TRUE@am__append_10072 = $(nodist_tga_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10073 = \ +@COND_i386_coreboot_TRUE@ $(nodist_tga_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ tga.marker +@COND_i386_coreboot_TRUE@am__append_10074 = tga.mod +@COND_i386_coreboot_TRUE@am__append_10075 = tga.marker +@COND_i386_multiboot_TRUE@am__append_10076 = tga.module +@COND_i386_multiboot_TRUE@am__append_10077 = tga.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10078 = +@COND_i386_multiboot_TRUE@am__append_10079 = $(nodist_tga_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10080 = \ +@COND_i386_multiboot_TRUE@ $(nodist_tga_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ tga.marker +@COND_i386_multiboot_TRUE@am__append_10081 = tga.mod +@COND_i386_multiboot_TRUE@am__append_10082 = tga.marker +@COND_i386_ieee1275_TRUE@am__append_10083 = tga.module +@COND_i386_ieee1275_TRUE@am__append_10084 = tga.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10085 = +@COND_i386_ieee1275_TRUE@am__append_10086 = $(nodist_tga_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10087 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_tga_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ tga.marker +@COND_i386_ieee1275_TRUE@am__append_10088 = tga.mod +@COND_i386_ieee1275_TRUE@am__append_10089 = tga.marker +@COND_x86_64_efi_TRUE@am__append_10090 = tga.module +@COND_x86_64_efi_TRUE@am__append_10091 = tga.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10092 = +@COND_x86_64_efi_TRUE@am__append_10093 = $(nodist_tga_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10094 = $(nodist_tga_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ tga.marker +@COND_x86_64_efi_TRUE@am__append_10095 = tga.mod +@COND_x86_64_efi_TRUE@am__append_10096 = tga.marker +@COND_mips_yeeloong_TRUE@am__append_10097 = tga.module +@COND_mips_yeeloong_TRUE@am__append_10098 = tga.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10099 = +@COND_mips_yeeloong_TRUE@am__append_10100 = $(nodist_tga_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10101 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_tga_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ tga.marker +@COND_mips_yeeloong_TRUE@am__append_10102 = tga.mod +@COND_mips_yeeloong_TRUE@am__append_10103 = tga.marker +@COND_sparc64_ieee1275_TRUE@am__append_10104 = tga.module +@COND_sparc64_ieee1275_TRUE@am__append_10105 = tga.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10106 = +@COND_sparc64_ieee1275_TRUE@am__append_10107 = $(nodist_tga_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10108 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_tga_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ tga.marker +@COND_sparc64_ieee1275_TRUE@am__append_10109 = tga.mod +@COND_sparc64_ieee1275_TRUE@am__append_10110 = tga.marker +@COND_powerpc_ieee1275_TRUE@am__append_10111 = tga.module +@COND_powerpc_ieee1275_TRUE@am__append_10112 = tga.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10113 = +@COND_powerpc_ieee1275_TRUE@am__append_10114 = $(nodist_tga_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10115 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_tga_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ tga.marker +@COND_powerpc_ieee1275_TRUE@am__append_10116 = tga.mod +@COND_powerpc_ieee1275_TRUE@am__append_10117 = tga.marker +@COND_i386_pc_TRUE@am__append_10118 = vbe.module +@COND_i386_pc_TRUE@am__append_10119 = vbe.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10120 = +@COND_i386_pc_TRUE@am__append_10121 = $(nodist_vbe_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10122 = $(nodist_vbe_module_SOURCES) \ +@COND_i386_pc_TRUE@ vbe.marker +@COND_i386_pc_TRUE@am__append_10123 = vbe.mod +@COND_i386_pc_TRUE@am__append_10124 = vbe.marker +@COND_emu_TRUE@am__append_10125 = video_fb.module +@COND_emu_TRUE@am__append_10126 = video_fb.module$(EXEEXT) +@COND_emu_TRUE@am__append_10127 = +@COND_emu_TRUE@am__append_10128 = $(nodist_video_fb_module_SOURCES) +@COND_emu_TRUE@am__append_10129 = $(nodist_video_fb_module_SOURCES) \ +@COND_emu_TRUE@ video_fb.marker +@COND_emu_TRUE@am__append_10130 = video_fb.mod +@COND_emu_TRUE@am__append_10131 = video_fb.marker +@COND_i386_pc_TRUE@am__append_10132 = video_fb.module +@COND_i386_pc_TRUE@am__append_10133 = video_fb.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10134 = +@COND_i386_pc_TRUE@am__append_10135 = $(nodist_video_fb_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10136 = \ +@COND_i386_pc_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_i386_pc_TRUE@ video_fb.marker +@COND_i386_pc_TRUE@am__append_10137 = video_fb.mod +@COND_i386_pc_TRUE@am__append_10138 = video_fb.marker +@COND_i386_efi_TRUE@am__append_10139 = video_fb.module +@COND_i386_efi_TRUE@am__append_10140 = video_fb.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10141 = +@COND_i386_efi_TRUE@am__append_10142 = $(nodist_video_fb_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10143 = \ +@COND_i386_efi_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_i386_efi_TRUE@ video_fb.marker +@COND_i386_efi_TRUE@am__append_10144 = video_fb.mod +@COND_i386_efi_TRUE@am__append_10145 = video_fb.marker +@COND_i386_qemu_TRUE@am__append_10146 = video_fb.module +@COND_i386_qemu_TRUE@am__append_10147 = video_fb.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10148 = +@COND_i386_qemu_TRUE@am__append_10149 = $(nodist_video_fb_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10150 = \ +@COND_i386_qemu_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_i386_qemu_TRUE@ video_fb.marker +@COND_i386_qemu_TRUE@am__append_10151 = video_fb.mod +@COND_i386_qemu_TRUE@am__append_10152 = video_fb.marker +@COND_i386_coreboot_TRUE@am__append_10153 = video_fb.module +@COND_i386_coreboot_TRUE@am__append_10154 = video_fb.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10155 = +@COND_i386_coreboot_TRUE@am__append_10156 = $(nodist_video_fb_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10157 = \ +@COND_i386_coreboot_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ video_fb.marker +@COND_i386_coreboot_TRUE@am__append_10158 = video_fb.mod +@COND_i386_coreboot_TRUE@am__append_10159 = video_fb.marker +@COND_i386_multiboot_TRUE@am__append_10160 = video_fb.module +@COND_i386_multiboot_TRUE@am__append_10161 = video_fb.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10162 = +@COND_i386_multiboot_TRUE@am__append_10163 = $(nodist_video_fb_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10164 = \ +@COND_i386_multiboot_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ video_fb.marker +@COND_i386_multiboot_TRUE@am__append_10165 = video_fb.mod +@COND_i386_multiboot_TRUE@am__append_10166 = video_fb.marker +@COND_i386_ieee1275_TRUE@am__append_10167 = video_fb.module +@COND_i386_ieee1275_TRUE@am__append_10168 = video_fb.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10169 = +@COND_i386_ieee1275_TRUE@am__append_10170 = $(nodist_video_fb_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10171 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ video_fb.marker +@COND_i386_ieee1275_TRUE@am__append_10172 = video_fb.mod +@COND_i386_ieee1275_TRUE@am__append_10173 = video_fb.marker +@COND_x86_64_efi_TRUE@am__append_10174 = video_fb.module +@COND_x86_64_efi_TRUE@am__append_10175 = video_fb.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10176 = +@COND_x86_64_efi_TRUE@am__append_10177 = $(nodist_video_fb_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10178 = \ +@COND_x86_64_efi_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ video_fb.marker +@COND_x86_64_efi_TRUE@am__append_10179 = video_fb.mod +@COND_x86_64_efi_TRUE@am__append_10180 = video_fb.marker +@COND_sparc64_ieee1275_TRUE@am__append_10181 = video_fb.module +@COND_sparc64_ieee1275_TRUE@am__append_10182 = video_fb.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10183 = +@COND_sparc64_ieee1275_TRUE@am__append_10184 = $(nodist_video_fb_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10185 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ video_fb.marker +@COND_sparc64_ieee1275_TRUE@am__append_10186 = video_fb.mod +@COND_sparc64_ieee1275_TRUE@am__append_10187 = video_fb.marker +@COND_powerpc_ieee1275_TRUE@am__append_10188 = video_fb.module +@COND_powerpc_ieee1275_TRUE@am__append_10189 = video_fb.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10190 = +@COND_powerpc_ieee1275_TRUE@am__append_10191 = $(nodist_video_fb_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10192 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_video_fb_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ video_fb.marker +@COND_powerpc_ieee1275_TRUE@am__append_10193 = video_fb.mod +@COND_powerpc_ieee1275_TRUE@am__append_10194 = video_fb.marker +@COND_emu_TRUE@am__append_10195 = video.module +@COND_emu_TRUE@am__append_10196 = video.module$(EXEEXT) +@COND_emu_TRUE@am__append_10197 = +@COND_emu_TRUE@am__append_10198 = $(nodist_video_module_SOURCES) +@COND_emu_TRUE@am__append_10199 = $(nodist_video_module_SOURCES) \ +@COND_emu_TRUE@ video.marker +@COND_emu_TRUE@am__append_10200 = video.mod +@COND_emu_TRUE@am__append_10201 = video.marker +@COND_i386_pc_TRUE@am__append_10202 = video.module +@COND_i386_pc_TRUE@am__append_10203 = video.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10204 = +@COND_i386_pc_TRUE@am__append_10205 = $(nodist_video_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10206 = $(nodist_video_module_SOURCES) \ +@COND_i386_pc_TRUE@ video.marker +@COND_i386_pc_TRUE@am__append_10207 = video.mod +@COND_i386_pc_TRUE@am__append_10208 = video.marker +@COND_i386_efi_TRUE@am__append_10209 = video.module +@COND_i386_efi_TRUE@am__append_10210 = video.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10211 = +@COND_i386_efi_TRUE@am__append_10212 = $(nodist_video_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10213 = $(nodist_video_module_SOURCES) \ +@COND_i386_efi_TRUE@ video.marker +@COND_i386_efi_TRUE@am__append_10214 = video.mod +@COND_i386_efi_TRUE@am__append_10215 = video.marker +@COND_i386_qemu_TRUE@am__append_10216 = video.module +@COND_i386_qemu_TRUE@am__append_10217 = video.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10218 = +@COND_i386_qemu_TRUE@am__append_10219 = $(nodist_video_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10220 = \ +@COND_i386_qemu_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_i386_qemu_TRUE@ video.marker +@COND_i386_qemu_TRUE@am__append_10221 = video.mod +@COND_i386_qemu_TRUE@am__append_10222 = video.marker +@COND_i386_coreboot_TRUE@am__append_10223 = video.module +@COND_i386_coreboot_TRUE@am__append_10224 = video.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10225 = +@COND_i386_coreboot_TRUE@am__append_10226 = $(nodist_video_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10227 = \ +@COND_i386_coreboot_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ video.marker +@COND_i386_coreboot_TRUE@am__append_10228 = video.mod +@COND_i386_coreboot_TRUE@am__append_10229 = video.marker +@COND_i386_multiboot_TRUE@am__append_10230 = video.module +@COND_i386_multiboot_TRUE@am__append_10231 = video.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10232 = +@COND_i386_multiboot_TRUE@am__append_10233 = $(nodist_video_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10234 = \ +@COND_i386_multiboot_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ video.marker +@COND_i386_multiboot_TRUE@am__append_10235 = video.mod +@COND_i386_multiboot_TRUE@am__append_10236 = video.marker +@COND_i386_ieee1275_TRUE@am__append_10237 = video.module +@COND_i386_ieee1275_TRUE@am__append_10238 = video.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10239 = +@COND_i386_ieee1275_TRUE@am__append_10240 = $(nodist_video_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10241 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ video.marker +@COND_i386_ieee1275_TRUE@am__append_10242 = video.mod +@COND_i386_ieee1275_TRUE@am__append_10243 = video.marker +@COND_x86_64_efi_TRUE@am__append_10244 = video.module +@COND_x86_64_efi_TRUE@am__append_10245 = video.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10246 = +@COND_x86_64_efi_TRUE@am__append_10247 = $(nodist_video_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10248 = \ +@COND_x86_64_efi_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ video.marker +@COND_x86_64_efi_TRUE@am__append_10249 = video.mod +@COND_x86_64_efi_TRUE@am__append_10250 = video.marker +@COND_sparc64_ieee1275_TRUE@am__append_10251 = video.module +@COND_sparc64_ieee1275_TRUE@am__append_10252 = video.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10253 = +@COND_sparc64_ieee1275_TRUE@am__append_10254 = $(nodist_video_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10255 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ video.marker +@COND_sparc64_ieee1275_TRUE@am__append_10256 = video.mod +@COND_sparc64_ieee1275_TRUE@am__append_10257 = video.marker +@COND_powerpc_ieee1275_TRUE@am__append_10258 = video.module \ +@COND_powerpc_ieee1275_TRUE@ ieee1275_fb.module +@COND_powerpc_ieee1275_TRUE@am__append_10259 = video.module$(EXEEXT) \ +@COND_powerpc_ieee1275_TRUE@ ieee1275_fb.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10260 = +@COND_powerpc_ieee1275_TRUE@am__append_10261 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ieee1275_fb_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10262 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_video_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ video.marker \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_ieee1275_fb_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ ieee1275_fb.marker +@COND_powerpc_ieee1275_TRUE@am__append_10263 = video.mod \ +@COND_powerpc_ieee1275_TRUE@ ieee1275_fb.mod +@COND_powerpc_ieee1275_TRUE@am__append_10264 = video.marker \ +@COND_powerpc_ieee1275_TRUE@ ieee1275_fb.marker +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10265 = sdl.module +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10266 = sdl.module$(EXEEXT) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10267 = +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10268 = $(nodist_sdl_module_SOURCES) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10269 = $(nodist_sdl_module_SOURCES) \ +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@ sdl.marker +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10270 = sdl.mod +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_10271 = sdl.marker +@COND_emu_TRUE@am__append_10272 = datehook.module +@COND_emu_TRUE@am__append_10273 = datehook.module$(EXEEXT) +@COND_emu_TRUE@am__append_10274 = +@COND_emu_TRUE@am__append_10275 = $(nodist_datehook_module_SOURCES) +@COND_emu_TRUE@am__append_10276 = $(nodist_datehook_module_SOURCES) \ +@COND_emu_TRUE@ datehook.marker +@COND_emu_TRUE@am__append_10277 = datehook.mod +@COND_emu_TRUE@am__append_10278 = datehook.marker +@COND_i386_pc_TRUE@am__append_10279 = datehook.module +@COND_i386_pc_TRUE@am__append_10280 = datehook.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10281 = +@COND_i386_pc_TRUE@am__append_10282 = $(nodist_datehook_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10283 = \ +@COND_i386_pc_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_i386_pc_TRUE@ datehook.marker +@COND_i386_pc_TRUE@am__append_10284 = datehook.mod +@COND_i386_pc_TRUE@am__append_10285 = datehook.marker +@COND_i386_efi_TRUE@am__append_10286 = datehook.module +@COND_i386_efi_TRUE@am__append_10287 = datehook.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10288 = +@COND_i386_efi_TRUE@am__append_10289 = $(nodist_datehook_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10290 = \ +@COND_i386_efi_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_i386_efi_TRUE@ datehook.marker +@COND_i386_efi_TRUE@am__append_10291 = datehook.mod +@COND_i386_efi_TRUE@am__append_10292 = datehook.marker +@COND_i386_qemu_TRUE@am__append_10293 = datehook.module +@COND_i386_qemu_TRUE@am__append_10294 = datehook.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10295 = +@COND_i386_qemu_TRUE@am__append_10296 = $(nodist_datehook_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10297 = \ +@COND_i386_qemu_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_i386_qemu_TRUE@ datehook.marker +@COND_i386_qemu_TRUE@am__append_10298 = datehook.mod +@COND_i386_qemu_TRUE@am__append_10299 = datehook.marker +@COND_i386_coreboot_TRUE@am__append_10300 = datehook.module +@COND_i386_coreboot_TRUE@am__append_10301 = datehook.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10302 = +@COND_i386_coreboot_TRUE@am__append_10303 = $(nodist_datehook_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10304 = \ +@COND_i386_coreboot_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ datehook.marker +@COND_i386_coreboot_TRUE@am__append_10305 = datehook.mod +@COND_i386_coreboot_TRUE@am__append_10306 = datehook.marker +@COND_i386_multiboot_TRUE@am__append_10307 = datehook.module +@COND_i386_multiboot_TRUE@am__append_10308 = datehook.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10309 = +@COND_i386_multiboot_TRUE@am__append_10310 = $(nodist_datehook_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10311 = \ +@COND_i386_multiboot_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ datehook.marker +@COND_i386_multiboot_TRUE@am__append_10312 = datehook.mod +@COND_i386_multiboot_TRUE@am__append_10313 = datehook.marker +@COND_i386_ieee1275_TRUE@am__append_10314 = datehook.module +@COND_i386_ieee1275_TRUE@am__append_10315 = datehook.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10316 = +@COND_i386_ieee1275_TRUE@am__append_10317 = $(nodist_datehook_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10318 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ datehook.marker +@COND_i386_ieee1275_TRUE@am__append_10319 = datehook.mod +@COND_i386_ieee1275_TRUE@am__append_10320 = datehook.marker +@COND_x86_64_efi_TRUE@am__append_10321 = datehook.module +@COND_x86_64_efi_TRUE@am__append_10322 = datehook.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10323 = +@COND_x86_64_efi_TRUE@am__append_10324 = $(nodist_datehook_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10325 = \ +@COND_x86_64_efi_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ datehook.marker +@COND_x86_64_efi_TRUE@am__append_10326 = datehook.mod +@COND_x86_64_efi_TRUE@am__append_10327 = datehook.marker +@COND_mips_yeeloong_TRUE@am__append_10328 = datehook.module +@COND_mips_yeeloong_TRUE@am__append_10329 = datehook.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10330 = +@COND_mips_yeeloong_TRUE@am__append_10331 = $(nodist_datehook_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10332 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ datehook.marker +@COND_mips_yeeloong_TRUE@am__append_10333 = datehook.mod +@COND_mips_yeeloong_TRUE@am__append_10334 = datehook.marker +@COND_sparc64_ieee1275_TRUE@am__append_10335 = datehook.module +@COND_sparc64_ieee1275_TRUE@am__append_10336 = datehook.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10337 = +@COND_sparc64_ieee1275_TRUE@am__append_10338 = $(nodist_datehook_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10339 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ datehook.marker +@COND_sparc64_ieee1275_TRUE@am__append_10340 = datehook.mod +@COND_sparc64_ieee1275_TRUE@am__append_10341 = datehook.marker +@COND_powerpc_ieee1275_TRUE@am__append_10342 = datehook.module +@COND_powerpc_ieee1275_TRUE@am__append_10343 = datehook.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10344 = +@COND_powerpc_ieee1275_TRUE@am__append_10345 = $(nodist_datehook_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10346 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_datehook_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ datehook.marker +@COND_powerpc_ieee1275_TRUE@am__append_10347 = datehook.mod +@COND_powerpc_ieee1275_TRUE@am__append_10348 = datehook.marker +@COND_emu_TRUE@am__append_10349 = legacycfg.module +@COND_emu_TRUE@am__append_10350 = legacycfg.module$(EXEEXT) +@COND_emu_TRUE@am__append_10351 = +@COND_emu_TRUE@am__append_10352 = $(nodist_legacycfg_module_SOURCES) +@COND_emu_TRUE@am__append_10353 = $(nodist_legacycfg_module_SOURCES) \ +@COND_emu_TRUE@ legacycfg.marker +@COND_emu_TRUE@am__append_10354 = legacycfg.mod +@COND_emu_TRUE@am__append_10355 = legacycfg.marker +@COND_i386_pc_TRUE@am__append_10356 = legacycfg.module +@COND_i386_pc_TRUE@am__append_10357 = legacycfg.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10358 = +@COND_i386_pc_TRUE@am__append_10359 = $(nodist_legacycfg_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10360 = \ +@COND_i386_pc_TRUE@ $(nodist_legacycfg_module_SOURCES) \ +@COND_i386_pc_TRUE@ legacycfg.marker +@COND_i386_pc_TRUE@am__append_10361 = legacycfg.mod +@COND_i386_pc_TRUE@am__append_10362 = legacycfg.marker +@COND_emu_TRUE@am__append_10363 = test_blockarg.module +@COND_emu_TRUE@am__append_10364 = test_blockarg.module$(EXEEXT) +@COND_emu_TRUE@am__append_10365 = +@COND_emu_TRUE@am__append_10366 = $(nodist_test_blockarg_module_SOURCES) +@COND_emu_TRUE@am__append_10367 = \ +@COND_emu_TRUE@ $(nodist_test_blockarg_module_SOURCES) \ +@COND_emu_TRUE@ test_blockarg.marker +@COND_emu_TRUE@am__append_10368 = test_blockarg.mod +@COND_emu_TRUE@am__append_10369 = test_blockarg.marker +@COND_i386_pc_TRUE@am__append_10370 = test_blockarg.module +@COND_i386_pc_TRUE@am__append_10371 = test_blockarg.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10372 = +@COND_i386_pc_TRUE@am__append_10373 = $(nodist_test_blockarg_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10374 = \ +@COND_i386_pc_TRUE@ $(nodist_test_blockarg_module_SOURCES) \ +@COND_i386_pc_TRUE@ test_blockarg.marker +@COND_i386_pc_TRUE@am__append_10375 = test_blockarg.mod +@COND_i386_pc_TRUE@am__append_10376 = test_blockarg.marker +@COND_i386_efi_TRUE@am__append_10377 = test_blockarg.module +@COND_i386_efi_TRUE@am__append_10378 = test_blockarg.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10379 = +@COND_i386_efi_TRUE@am__append_10380 = $(nodist_test_blockarg_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10381 = \ +@COND_i386_efi_TRUE@ $(nodist_test_blockarg_module_SOURCES) \ +@COND_i386_efi_TRUE@ test_blockarg.marker +@COND_i386_efi_TRUE@am__append_10382 = test_blockarg.mod +@COND_i386_efi_TRUE@am__append_10383 = test_blockarg.marker +@COND_i386_qemu_TRUE@am__append_10384 = test_blockarg.module +@COND_i386_qemu_TRUE@am__append_10385 = test_blockarg.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10386 = +@COND_i386_qemu_TRUE@am__append_10387 = $(nodist_test_blockarg_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10388 = \ +@COND_i386_qemu_TRUE@ $(nodist_test_blockarg_module_SOURCES) \ +@COND_i386_qemu_TRUE@ test_blockarg.marker +@COND_i386_qemu_TRUE@am__append_10389 = test_blockarg.mod +@COND_i386_qemu_TRUE@am__append_10390 = test_blockarg.marker +@COND_i386_coreboot_TRUE@am__append_10391 = test_blockarg.module +@COND_i386_coreboot_TRUE@am__append_10392 = test_blockarg.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10393 = +@COND_i386_coreboot_TRUE@am__append_10394 = $(nodist_test_blockarg_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10395 = $(nodist_test_blockarg_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ test_blockarg.marker +@COND_i386_coreboot_TRUE@am__append_10396 = test_blockarg.mod +@COND_i386_coreboot_TRUE@am__append_10397 = test_blockarg.marker +@COND_i386_multiboot_TRUE@am__append_10398 = test_blockarg.module +@COND_i386_multiboot_TRUE@am__append_10399 = test_blockarg.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10400 = +@COND_i386_multiboot_TRUE@am__append_10401 = $(nodist_test_blockarg_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10402 = $(nodist_test_blockarg_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ test_blockarg.marker +@COND_i386_multiboot_TRUE@am__append_10403 = test_blockarg.mod +@COND_i386_multiboot_TRUE@am__append_10404 = test_blockarg.marker +@COND_i386_ieee1275_TRUE@am__append_10405 = test_blockarg.module +@COND_i386_ieee1275_TRUE@am__append_10406 = test_blockarg.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10407 = +@COND_i386_ieee1275_TRUE@am__append_10408 = $(nodist_test_blockarg_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10409 = $(nodist_test_blockarg_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ test_blockarg.marker +@COND_i386_ieee1275_TRUE@am__append_10410 = test_blockarg.mod +@COND_i386_ieee1275_TRUE@am__append_10411 = test_blockarg.marker +@COND_x86_64_efi_TRUE@am__append_10412 = test_blockarg.module +@COND_x86_64_efi_TRUE@am__append_10413 = test_blockarg.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10414 = +@COND_x86_64_efi_TRUE@am__append_10415 = $(nodist_test_blockarg_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10416 = \ +@COND_x86_64_efi_TRUE@ $(nodist_test_blockarg_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ test_blockarg.marker +@COND_x86_64_efi_TRUE@am__append_10417 = test_blockarg.mod +@COND_x86_64_efi_TRUE@am__append_10418 = test_blockarg.marker +@COND_mips_yeeloong_TRUE@am__append_10419 = test_blockarg.module +@COND_mips_yeeloong_TRUE@am__append_10420 = test_blockarg.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10421 = +@COND_mips_yeeloong_TRUE@am__append_10422 = $(nodist_test_blockarg_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10423 = $(nodist_test_blockarg_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ test_blockarg.marker +@COND_mips_yeeloong_TRUE@am__append_10424 = test_blockarg.mod +@COND_mips_yeeloong_TRUE@am__append_10425 = test_blockarg.marker +@COND_sparc64_ieee1275_TRUE@am__append_10426 = test_blockarg.module +@COND_sparc64_ieee1275_TRUE@am__append_10427 = test_blockarg.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10428 = +@COND_sparc64_ieee1275_TRUE@am__append_10429 = $(nodist_test_blockarg_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10430 = $(nodist_test_blockarg_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ test_blockarg.marker +@COND_sparc64_ieee1275_TRUE@am__append_10431 = test_blockarg.mod +@COND_sparc64_ieee1275_TRUE@am__append_10432 = test_blockarg.marker +@COND_powerpc_ieee1275_TRUE@am__append_10433 = test_blockarg.module +@COND_powerpc_ieee1275_TRUE@am__append_10434 = test_blockarg.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10435 = +@COND_powerpc_ieee1275_TRUE@am__append_10436 = $(nodist_test_blockarg_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10437 = $(nodist_test_blockarg_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ test_blockarg.marker +@COND_powerpc_ieee1275_TRUE@am__append_10438 = test_blockarg.mod +@COND_powerpc_ieee1275_TRUE@am__append_10439 = test_blockarg.marker +@COND_emu_TRUE@am__append_10440 = xzio.module +@COND_emu_TRUE@am__append_10441 = xzio.module$(EXEEXT) +@COND_emu_TRUE@am__append_10442 = +@COND_emu_TRUE@am__append_10443 = $(nodist_xzio_module_SOURCES) +@COND_emu_TRUE@am__append_10444 = $(nodist_xzio_module_SOURCES) \ +@COND_emu_TRUE@ xzio.marker +@COND_emu_TRUE@am__append_10445 = xzio.mod +@COND_emu_TRUE@am__append_10446 = xzio.marker +@COND_i386_pc_TRUE@am__append_10447 = xzio.module +@COND_i386_pc_TRUE@am__append_10448 = xzio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10449 = +@COND_i386_pc_TRUE@am__append_10450 = $(nodist_xzio_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10451 = $(nodist_xzio_module_SOURCES) \ +@COND_i386_pc_TRUE@ xzio.marker +@COND_i386_pc_TRUE@am__append_10452 = xzio.mod +@COND_i386_pc_TRUE@am__append_10453 = xzio.marker +@COND_i386_efi_TRUE@am__append_10454 = xzio.module +@COND_i386_efi_TRUE@am__append_10455 = xzio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10456 = +@COND_i386_efi_TRUE@am__append_10457 = $(nodist_xzio_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10458 = $(nodist_xzio_module_SOURCES) \ +@COND_i386_efi_TRUE@ xzio.marker +@COND_i386_efi_TRUE@am__append_10459 = xzio.mod +@COND_i386_efi_TRUE@am__append_10460 = xzio.marker +@COND_i386_qemu_TRUE@am__append_10461 = xzio.module +@COND_i386_qemu_TRUE@am__append_10462 = xzio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10463 = +@COND_i386_qemu_TRUE@am__append_10464 = $(nodist_xzio_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10465 = $(nodist_xzio_module_SOURCES) \ +@COND_i386_qemu_TRUE@ xzio.marker +@COND_i386_qemu_TRUE@am__append_10466 = xzio.mod +@COND_i386_qemu_TRUE@am__append_10467 = xzio.marker +@COND_i386_coreboot_TRUE@am__append_10468 = xzio.module +@COND_i386_coreboot_TRUE@am__append_10469 = xzio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10470 = +@COND_i386_coreboot_TRUE@am__append_10471 = $(nodist_xzio_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10472 = \ +@COND_i386_coreboot_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ xzio.marker +@COND_i386_coreboot_TRUE@am__append_10473 = xzio.mod +@COND_i386_coreboot_TRUE@am__append_10474 = xzio.marker +@COND_i386_multiboot_TRUE@am__append_10475 = xzio.module +@COND_i386_multiboot_TRUE@am__append_10476 = xzio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10477 = +@COND_i386_multiboot_TRUE@am__append_10478 = $(nodist_xzio_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10479 = \ +@COND_i386_multiboot_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ xzio.marker +@COND_i386_multiboot_TRUE@am__append_10480 = xzio.mod +@COND_i386_multiboot_TRUE@am__append_10481 = xzio.marker +@COND_i386_ieee1275_TRUE@am__append_10482 = xzio.module +@COND_i386_ieee1275_TRUE@am__append_10483 = xzio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10484 = +@COND_i386_ieee1275_TRUE@am__append_10485 = $(nodist_xzio_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10486 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ xzio.marker +@COND_i386_ieee1275_TRUE@am__append_10487 = xzio.mod +@COND_i386_ieee1275_TRUE@am__append_10488 = xzio.marker +@COND_x86_64_efi_TRUE@am__append_10489 = xzio.module +@COND_x86_64_efi_TRUE@am__append_10490 = xzio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10491 = +@COND_x86_64_efi_TRUE@am__append_10492 = $(nodist_xzio_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10493 = \ +@COND_x86_64_efi_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ xzio.marker +@COND_x86_64_efi_TRUE@am__append_10494 = xzio.mod +@COND_x86_64_efi_TRUE@am__append_10495 = xzio.marker +@COND_mips_yeeloong_TRUE@am__append_10496 = xzio.module +@COND_mips_yeeloong_TRUE@am__append_10497 = xzio.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10498 = +@COND_mips_yeeloong_TRUE@am__append_10499 = $(nodist_xzio_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10500 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ xzio.marker +@COND_mips_yeeloong_TRUE@am__append_10501 = xzio.mod +@COND_mips_yeeloong_TRUE@am__append_10502 = xzio.marker +@COND_sparc64_ieee1275_TRUE@am__append_10503 = xzio.module +@COND_sparc64_ieee1275_TRUE@am__append_10504 = xzio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10505 = +@COND_sparc64_ieee1275_TRUE@am__append_10506 = $(nodist_xzio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10507 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ xzio.marker +@COND_sparc64_ieee1275_TRUE@am__append_10508 = xzio.mod +@COND_sparc64_ieee1275_TRUE@am__append_10509 = xzio.marker +@COND_powerpc_ieee1275_TRUE@am__append_10510 = xzio.module +@COND_powerpc_ieee1275_TRUE@am__append_10511 = xzio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10512 = +@COND_powerpc_ieee1275_TRUE@am__append_10513 = $(nodist_xzio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10514 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_xzio_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ xzio.marker +@COND_powerpc_ieee1275_TRUE@am__append_10515 = xzio.mod +@COND_powerpc_ieee1275_TRUE@am__append_10516 = xzio.marker +@COND_emu_TRUE@am__append_10517 = testload.module +@COND_emu_TRUE@am__append_10518 = testload.module$(EXEEXT) +@COND_emu_TRUE@am__append_10519 = +@COND_emu_TRUE@am__append_10520 = $(nodist_testload_module_SOURCES) +@COND_emu_TRUE@am__append_10521 = $(nodist_testload_module_SOURCES) \ +@COND_emu_TRUE@ testload.marker +@COND_emu_TRUE@am__append_10522 = testload.mod +@COND_emu_TRUE@am__append_10523 = testload.marker +@COND_i386_pc_TRUE@am__append_10524 = testload.module +@COND_i386_pc_TRUE@am__append_10525 = testload.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10526 = +@COND_i386_pc_TRUE@am__append_10527 = $(nodist_testload_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10528 = \ +@COND_i386_pc_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_i386_pc_TRUE@ testload.marker +@COND_i386_pc_TRUE@am__append_10529 = testload.mod +@COND_i386_pc_TRUE@am__append_10530 = testload.marker +@COND_i386_efi_TRUE@am__append_10531 = testload.module +@COND_i386_efi_TRUE@am__append_10532 = testload.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10533 = +@COND_i386_efi_TRUE@am__append_10534 = $(nodist_testload_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10535 = \ +@COND_i386_efi_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_i386_efi_TRUE@ testload.marker +@COND_i386_efi_TRUE@am__append_10536 = testload.mod +@COND_i386_efi_TRUE@am__append_10537 = testload.marker +@COND_i386_qemu_TRUE@am__append_10538 = testload.module +@COND_i386_qemu_TRUE@am__append_10539 = testload.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10540 = +@COND_i386_qemu_TRUE@am__append_10541 = $(nodist_testload_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10542 = \ +@COND_i386_qemu_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_i386_qemu_TRUE@ testload.marker +@COND_i386_qemu_TRUE@am__append_10543 = testload.mod +@COND_i386_qemu_TRUE@am__append_10544 = testload.marker +@COND_i386_coreboot_TRUE@am__append_10545 = testload.module +@COND_i386_coreboot_TRUE@am__append_10546 = testload.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10547 = +@COND_i386_coreboot_TRUE@am__append_10548 = $(nodist_testload_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10549 = \ +@COND_i386_coreboot_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ testload.marker +@COND_i386_coreboot_TRUE@am__append_10550 = testload.mod +@COND_i386_coreboot_TRUE@am__append_10551 = testload.marker +@COND_i386_multiboot_TRUE@am__append_10552 = testload.module +@COND_i386_multiboot_TRUE@am__append_10553 = testload.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10554 = +@COND_i386_multiboot_TRUE@am__append_10555 = $(nodist_testload_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10556 = \ +@COND_i386_multiboot_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ testload.marker +@COND_i386_multiboot_TRUE@am__append_10557 = testload.mod +@COND_i386_multiboot_TRUE@am__append_10558 = testload.marker +@COND_i386_ieee1275_TRUE@am__append_10559 = testload.module +@COND_i386_ieee1275_TRUE@am__append_10560 = testload.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10561 = +@COND_i386_ieee1275_TRUE@am__append_10562 = $(nodist_testload_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10563 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ testload.marker +@COND_i386_ieee1275_TRUE@am__append_10564 = testload.mod +@COND_i386_ieee1275_TRUE@am__append_10565 = testload.marker +@COND_x86_64_efi_TRUE@am__append_10566 = testload.module +@COND_x86_64_efi_TRUE@am__append_10567 = testload.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10568 = +@COND_x86_64_efi_TRUE@am__append_10569 = $(nodist_testload_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10570 = \ +@COND_x86_64_efi_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ testload.marker +@COND_x86_64_efi_TRUE@am__append_10571 = testload.mod +@COND_x86_64_efi_TRUE@am__append_10572 = testload.marker +@COND_mips_yeeloong_TRUE@am__append_10573 = testload.module +@COND_mips_yeeloong_TRUE@am__append_10574 = testload.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10575 = +@COND_mips_yeeloong_TRUE@am__append_10576 = $(nodist_testload_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10577 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ testload.marker +@COND_mips_yeeloong_TRUE@am__append_10578 = testload.mod +@COND_mips_yeeloong_TRUE@am__append_10579 = testload.marker +@COND_sparc64_ieee1275_TRUE@am__append_10580 = testload.module +@COND_sparc64_ieee1275_TRUE@am__append_10581 = testload.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10582 = +@COND_sparc64_ieee1275_TRUE@am__append_10583 = $(nodist_testload_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10584 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ testload.marker +@COND_sparc64_ieee1275_TRUE@am__append_10585 = testload.mod +@COND_sparc64_ieee1275_TRUE@am__append_10586 = testload.marker +@COND_powerpc_ieee1275_TRUE@am__append_10587 = testload.module +@COND_powerpc_ieee1275_TRUE@am__append_10588 = testload.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10589 = +@COND_powerpc_ieee1275_TRUE@am__append_10590 = $(nodist_testload_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10591 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_testload_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ testload.marker +@COND_powerpc_ieee1275_TRUE@am__append_10592 = testload.mod +@COND_powerpc_ieee1275_TRUE@am__append_10593 = testload.marker +@COND_i386_pc_TRUE@am__append_10594 = lsapm.module +@COND_i386_pc_TRUE@am__append_10595 = lsapm.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10596 = +@COND_i386_pc_TRUE@am__append_10597 = $(nodist_lsapm_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10598 = $(nodist_lsapm_module_SOURCES) \ +@COND_i386_pc_TRUE@ lsapm.marker +@COND_i386_pc_TRUE@am__append_10599 = lsapm.mod +@COND_i386_pc_TRUE@am__append_10600 = lsapm.marker +@COND_emu_TRUE@am__append_10601 = keylayouts.module +@COND_emu_TRUE@am__append_10602 = keylayouts.module$(EXEEXT) +@COND_emu_TRUE@am__append_10603 = +@COND_emu_TRUE@am__append_10604 = $(nodist_keylayouts_module_SOURCES) +@COND_emu_TRUE@am__append_10605 = $(nodist_keylayouts_module_SOURCES) \ +@COND_emu_TRUE@ keylayouts.marker +@COND_emu_TRUE@am__append_10606 = keylayouts.mod +@COND_emu_TRUE@am__append_10607 = keylayouts.marker +@COND_i386_pc_TRUE@am__append_10608 = keylayouts.module +@COND_i386_pc_TRUE@am__append_10609 = keylayouts.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10610 = +@COND_i386_pc_TRUE@am__append_10611 = $(nodist_keylayouts_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10612 = \ +@COND_i386_pc_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_i386_pc_TRUE@ keylayouts.marker +@COND_i386_pc_TRUE@am__append_10613 = keylayouts.mod +@COND_i386_pc_TRUE@am__append_10614 = keylayouts.marker +@COND_i386_efi_TRUE@am__append_10615 = keylayouts.module +@COND_i386_efi_TRUE@am__append_10616 = keylayouts.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10617 = +@COND_i386_efi_TRUE@am__append_10618 = $(nodist_keylayouts_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10619 = \ +@COND_i386_efi_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_i386_efi_TRUE@ keylayouts.marker +@COND_i386_efi_TRUE@am__append_10620 = keylayouts.mod +@COND_i386_efi_TRUE@am__append_10621 = keylayouts.marker +@COND_i386_qemu_TRUE@am__append_10622 = keylayouts.module +@COND_i386_qemu_TRUE@am__append_10623 = keylayouts.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10624 = +@COND_i386_qemu_TRUE@am__append_10625 = $(nodist_keylayouts_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10626 = \ +@COND_i386_qemu_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_i386_qemu_TRUE@ keylayouts.marker +@COND_i386_qemu_TRUE@am__append_10627 = keylayouts.mod +@COND_i386_qemu_TRUE@am__append_10628 = keylayouts.marker +@COND_i386_coreboot_TRUE@am__append_10629 = keylayouts.module +@COND_i386_coreboot_TRUE@am__append_10630 = keylayouts.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10631 = +@COND_i386_coreboot_TRUE@am__append_10632 = $(nodist_keylayouts_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10633 = \ +@COND_i386_coreboot_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ keylayouts.marker +@COND_i386_coreboot_TRUE@am__append_10634 = keylayouts.mod +@COND_i386_coreboot_TRUE@am__append_10635 = keylayouts.marker +@COND_i386_multiboot_TRUE@am__append_10636 = keylayouts.module +@COND_i386_multiboot_TRUE@am__append_10637 = keylayouts.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10638 = +@COND_i386_multiboot_TRUE@am__append_10639 = $(nodist_keylayouts_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10640 = \ +@COND_i386_multiboot_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ keylayouts.marker +@COND_i386_multiboot_TRUE@am__append_10641 = keylayouts.mod +@COND_i386_multiboot_TRUE@am__append_10642 = keylayouts.marker +@COND_i386_ieee1275_TRUE@am__append_10643 = keylayouts.module +@COND_i386_ieee1275_TRUE@am__append_10644 = keylayouts.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10645 = +@COND_i386_ieee1275_TRUE@am__append_10646 = $(nodist_keylayouts_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10647 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ keylayouts.marker +@COND_i386_ieee1275_TRUE@am__append_10648 = keylayouts.mod +@COND_i386_ieee1275_TRUE@am__append_10649 = keylayouts.marker +@COND_x86_64_efi_TRUE@am__append_10650 = keylayouts.module +@COND_x86_64_efi_TRUE@am__append_10651 = keylayouts.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10652 = +@COND_x86_64_efi_TRUE@am__append_10653 = $(nodist_keylayouts_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10654 = \ +@COND_x86_64_efi_TRUE@ $(nodist_keylayouts_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ keylayouts.marker +@COND_x86_64_efi_TRUE@am__append_10655 = keylayouts.mod +@COND_x86_64_efi_TRUE@am__append_10656 = keylayouts.marker +@COND_sparc64_ieee1275_TRUE@am__append_10657 = keylayouts.module +@COND_sparc64_ieee1275_TRUE@am__append_10658 = keylayouts.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10659 = +@COND_sparc64_ieee1275_TRUE@am__append_10660 = $(nodist_keylayouts_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10661 = $(nodist_keylayouts_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ keylayouts.marker +@COND_sparc64_ieee1275_TRUE@am__append_10662 = keylayouts.mod +@COND_sparc64_ieee1275_TRUE@am__append_10663 = keylayouts.marker +@COND_powerpc_ieee1275_TRUE@am__append_10664 = keylayouts.module +@COND_powerpc_ieee1275_TRUE@am__append_10665 = keylayouts.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10666 = +@COND_powerpc_ieee1275_TRUE@am__append_10667 = $(nodist_keylayouts_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10668 = $(nodist_keylayouts_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ keylayouts.marker +@COND_powerpc_ieee1275_TRUE@am__append_10669 = keylayouts.mod +@COND_powerpc_ieee1275_TRUE@am__append_10670 = keylayouts.marker +@COND_emu_TRUE@am__append_10671 = gcry_arcfour.module +@COND_emu_TRUE@am__append_10672 = gcry_arcfour.module$(EXEEXT) +@COND_emu_TRUE@am__append_10673 = +@COND_emu_TRUE@am__append_10674 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_emu_TRUE@am__append_10675 = \ +@COND_emu_TRUE@ $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_emu_TRUE@ gcry_arcfour.marker +@COND_emu_TRUE@am__append_10676 = gcry_arcfour.mod +@COND_emu_TRUE@am__append_10677 = gcry_arcfour.marker +@COND_i386_pc_TRUE@am__append_10678 = gcry_arcfour.module +@COND_i386_pc_TRUE@am__append_10679 = gcry_arcfour.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10680 = +@COND_i386_pc_TRUE@am__append_10681 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10682 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_arcfour.marker +@COND_i386_pc_TRUE@am__append_10683 = gcry_arcfour.mod +@COND_i386_pc_TRUE@am__append_10684 = gcry_arcfour.marker +@COND_i386_efi_TRUE@am__append_10685 = gcry_arcfour.module +@COND_i386_efi_TRUE@am__append_10686 = gcry_arcfour.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10687 = +@COND_i386_efi_TRUE@am__append_10688 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10689 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_arcfour.marker +@COND_i386_efi_TRUE@am__append_10690 = gcry_arcfour.mod +@COND_i386_efi_TRUE@am__append_10691 = gcry_arcfour.marker +@COND_i386_qemu_TRUE@am__append_10692 = gcry_arcfour.module +@COND_i386_qemu_TRUE@am__append_10693 = gcry_arcfour.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10694 = +@COND_i386_qemu_TRUE@am__append_10695 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10696 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_arcfour.marker +@COND_i386_qemu_TRUE@am__append_10697 = gcry_arcfour.mod +@COND_i386_qemu_TRUE@am__append_10698 = gcry_arcfour.marker +@COND_i386_coreboot_TRUE@am__append_10699 = gcry_arcfour.module +@COND_i386_coreboot_TRUE@am__append_10700 = gcry_arcfour.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10701 = +@COND_i386_coreboot_TRUE@am__append_10702 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10703 = $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_arcfour.marker +@COND_i386_coreboot_TRUE@am__append_10704 = gcry_arcfour.mod +@COND_i386_coreboot_TRUE@am__append_10705 = gcry_arcfour.marker +@COND_i386_multiboot_TRUE@am__append_10706 = gcry_arcfour.module +@COND_i386_multiboot_TRUE@am__append_10707 = gcry_arcfour.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10708 = +@COND_i386_multiboot_TRUE@am__append_10709 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10710 = $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_arcfour.marker +@COND_i386_multiboot_TRUE@am__append_10711 = gcry_arcfour.mod +@COND_i386_multiboot_TRUE@am__append_10712 = gcry_arcfour.marker +@COND_i386_ieee1275_TRUE@am__append_10713 = gcry_arcfour.module +@COND_i386_ieee1275_TRUE@am__append_10714 = gcry_arcfour.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10715 = +@COND_i386_ieee1275_TRUE@am__append_10716 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10717 = $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_arcfour.marker +@COND_i386_ieee1275_TRUE@am__append_10718 = gcry_arcfour.mod +@COND_i386_ieee1275_TRUE@am__append_10719 = gcry_arcfour.marker +@COND_x86_64_efi_TRUE@am__append_10720 = gcry_arcfour.module +@COND_x86_64_efi_TRUE@am__append_10721 = gcry_arcfour.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10722 = +@COND_x86_64_efi_TRUE@am__append_10723 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10724 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_arcfour.marker +@COND_x86_64_efi_TRUE@am__append_10725 = gcry_arcfour.mod +@COND_x86_64_efi_TRUE@am__append_10726 = gcry_arcfour.marker +@COND_mips_yeeloong_TRUE@am__append_10727 = gcry_arcfour.module +@COND_mips_yeeloong_TRUE@am__append_10728 = gcry_arcfour.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10729 = +@COND_mips_yeeloong_TRUE@am__append_10730 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10731 = $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_arcfour.marker +@COND_mips_yeeloong_TRUE@am__append_10732 = gcry_arcfour.mod +@COND_mips_yeeloong_TRUE@am__append_10733 = gcry_arcfour.marker +@COND_sparc64_ieee1275_TRUE@am__append_10734 = gcry_arcfour.module +@COND_sparc64_ieee1275_TRUE@am__append_10735 = gcry_arcfour.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10736 = +@COND_sparc64_ieee1275_TRUE@am__append_10737 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10738 = $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_arcfour.marker +@COND_sparc64_ieee1275_TRUE@am__append_10739 = gcry_arcfour.mod +@COND_sparc64_ieee1275_TRUE@am__append_10740 = gcry_arcfour.marker +@COND_powerpc_ieee1275_TRUE@am__append_10741 = gcry_arcfour.module +@COND_powerpc_ieee1275_TRUE@am__append_10742 = gcry_arcfour.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10743 = +@COND_powerpc_ieee1275_TRUE@am__append_10744 = $(nodist_gcry_arcfour_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10745 = $(nodist_gcry_arcfour_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_arcfour.marker +@COND_powerpc_ieee1275_TRUE@am__append_10746 = gcry_arcfour.mod +@COND_powerpc_ieee1275_TRUE@am__append_10747 = gcry_arcfour.marker +@COND_emu_TRUE@am__append_10748 = gcry_blowfish.module +@COND_emu_TRUE@am__append_10749 = gcry_blowfish.module$(EXEEXT) +@COND_emu_TRUE@am__append_10750 = +@COND_emu_TRUE@am__append_10751 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_emu_TRUE@am__append_10752 = \ +@COND_emu_TRUE@ $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_emu_TRUE@ gcry_blowfish.marker +@COND_emu_TRUE@am__append_10753 = gcry_blowfish.mod +@COND_emu_TRUE@am__append_10754 = gcry_blowfish.marker +@COND_i386_pc_TRUE@am__append_10755 = gcry_blowfish.module +@COND_i386_pc_TRUE@am__append_10756 = gcry_blowfish.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10757 = +@COND_i386_pc_TRUE@am__append_10758 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10759 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_blowfish.marker +@COND_i386_pc_TRUE@am__append_10760 = gcry_blowfish.mod +@COND_i386_pc_TRUE@am__append_10761 = gcry_blowfish.marker +@COND_i386_efi_TRUE@am__append_10762 = gcry_blowfish.module +@COND_i386_efi_TRUE@am__append_10763 = gcry_blowfish.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10764 = +@COND_i386_efi_TRUE@am__append_10765 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10766 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_blowfish.marker +@COND_i386_efi_TRUE@am__append_10767 = gcry_blowfish.mod +@COND_i386_efi_TRUE@am__append_10768 = gcry_blowfish.marker +@COND_i386_qemu_TRUE@am__append_10769 = gcry_blowfish.module +@COND_i386_qemu_TRUE@am__append_10770 = gcry_blowfish.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10771 = +@COND_i386_qemu_TRUE@am__append_10772 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10773 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_blowfish.marker +@COND_i386_qemu_TRUE@am__append_10774 = gcry_blowfish.mod +@COND_i386_qemu_TRUE@am__append_10775 = gcry_blowfish.marker +@COND_i386_coreboot_TRUE@am__append_10776 = gcry_blowfish.module +@COND_i386_coreboot_TRUE@am__append_10777 = gcry_blowfish.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10778 = +@COND_i386_coreboot_TRUE@am__append_10779 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10780 = $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_blowfish.marker +@COND_i386_coreboot_TRUE@am__append_10781 = gcry_blowfish.mod +@COND_i386_coreboot_TRUE@am__append_10782 = gcry_blowfish.marker +@COND_i386_multiboot_TRUE@am__append_10783 = gcry_blowfish.module +@COND_i386_multiboot_TRUE@am__append_10784 = gcry_blowfish.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10785 = +@COND_i386_multiboot_TRUE@am__append_10786 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10787 = $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_blowfish.marker +@COND_i386_multiboot_TRUE@am__append_10788 = gcry_blowfish.mod +@COND_i386_multiboot_TRUE@am__append_10789 = gcry_blowfish.marker +@COND_i386_ieee1275_TRUE@am__append_10790 = gcry_blowfish.module +@COND_i386_ieee1275_TRUE@am__append_10791 = gcry_blowfish.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10792 = +@COND_i386_ieee1275_TRUE@am__append_10793 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10794 = $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_blowfish.marker +@COND_i386_ieee1275_TRUE@am__append_10795 = gcry_blowfish.mod +@COND_i386_ieee1275_TRUE@am__append_10796 = gcry_blowfish.marker +@COND_x86_64_efi_TRUE@am__append_10797 = gcry_blowfish.module +@COND_x86_64_efi_TRUE@am__append_10798 = gcry_blowfish.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10799 = +@COND_x86_64_efi_TRUE@am__append_10800 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10801 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_blowfish.marker +@COND_x86_64_efi_TRUE@am__append_10802 = gcry_blowfish.mod +@COND_x86_64_efi_TRUE@am__append_10803 = gcry_blowfish.marker +@COND_mips_yeeloong_TRUE@am__append_10804 = gcry_blowfish.module +@COND_mips_yeeloong_TRUE@am__append_10805 = gcry_blowfish.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10806 = +@COND_mips_yeeloong_TRUE@am__append_10807 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10808 = $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_blowfish.marker +@COND_mips_yeeloong_TRUE@am__append_10809 = gcry_blowfish.mod +@COND_mips_yeeloong_TRUE@am__append_10810 = gcry_blowfish.marker +@COND_sparc64_ieee1275_TRUE@am__append_10811 = gcry_blowfish.module +@COND_sparc64_ieee1275_TRUE@am__append_10812 = gcry_blowfish.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10813 = +@COND_sparc64_ieee1275_TRUE@am__append_10814 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10815 = $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_blowfish.marker +@COND_sparc64_ieee1275_TRUE@am__append_10816 = gcry_blowfish.mod +@COND_sparc64_ieee1275_TRUE@am__append_10817 = gcry_blowfish.marker +@COND_powerpc_ieee1275_TRUE@am__append_10818 = gcry_blowfish.module +@COND_powerpc_ieee1275_TRUE@am__append_10819 = gcry_blowfish.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10820 = +@COND_powerpc_ieee1275_TRUE@am__append_10821 = $(nodist_gcry_blowfish_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10822 = $(nodist_gcry_blowfish_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_blowfish.marker +@COND_powerpc_ieee1275_TRUE@am__append_10823 = gcry_blowfish.mod +@COND_powerpc_ieee1275_TRUE@am__append_10824 = gcry_blowfish.marker +@COND_emu_TRUE@am__append_10825 = gcry_camellia.module +@COND_emu_TRUE@am__append_10826 = gcry_camellia.module$(EXEEXT) +@COND_emu_TRUE@am__append_10827 = +@COND_emu_TRUE@am__append_10828 = $(nodist_gcry_camellia_module_SOURCES) +@COND_emu_TRUE@am__append_10829 = \ +@COND_emu_TRUE@ $(nodist_gcry_camellia_module_SOURCES) \ +@COND_emu_TRUE@ gcry_camellia.marker +@COND_emu_TRUE@am__append_10830 = gcry_camellia.mod +@COND_emu_TRUE@am__append_10831 = gcry_camellia.marker +@COND_i386_pc_TRUE@am__append_10832 = gcry_camellia.module +@COND_i386_pc_TRUE@am__append_10833 = gcry_camellia.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10834 = +@COND_i386_pc_TRUE@am__append_10835 = $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10836 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_camellia_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_camellia.marker +@COND_i386_pc_TRUE@am__append_10837 = gcry_camellia.mod +@COND_i386_pc_TRUE@am__append_10838 = gcry_camellia.marker +@COND_i386_efi_TRUE@am__append_10839 = gcry_camellia.module +@COND_i386_efi_TRUE@am__append_10840 = gcry_camellia.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10841 = +@COND_i386_efi_TRUE@am__append_10842 = $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10843 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_camellia_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_camellia.marker +@COND_i386_efi_TRUE@am__append_10844 = gcry_camellia.mod +@COND_i386_efi_TRUE@am__append_10845 = gcry_camellia.marker +@COND_i386_qemu_TRUE@am__append_10846 = gcry_camellia.module +@COND_i386_qemu_TRUE@am__append_10847 = gcry_camellia.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10848 = +@COND_i386_qemu_TRUE@am__append_10849 = $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10850 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_camellia_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_camellia.marker +@COND_i386_qemu_TRUE@am__append_10851 = gcry_camellia.mod +@COND_i386_qemu_TRUE@am__append_10852 = gcry_camellia.marker +@COND_i386_coreboot_TRUE@am__append_10853 = gcry_camellia.module +@COND_i386_coreboot_TRUE@am__append_10854 = gcry_camellia.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10855 = +@COND_i386_coreboot_TRUE@am__append_10856 = $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10857 = $(nodist_gcry_camellia_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_camellia.marker +@COND_i386_coreboot_TRUE@am__append_10858 = gcry_camellia.mod +@COND_i386_coreboot_TRUE@am__append_10859 = gcry_camellia.marker +@COND_i386_multiboot_TRUE@am__append_10860 = gcry_camellia.module +@COND_i386_multiboot_TRUE@am__append_10861 = gcry_camellia.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10862 = +@COND_i386_multiboot_TRUE@am__append_10863 = $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10864 = $(nodist_gcry_camellia_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_camellia.marker +@COND_i386_multiboot_TRUE@am__append_10865 = gcry_camellia.mod +@COND_i386_multiboot_TRUE@am__append_10866 = gcry_camellia.marker +@COND_i386_ieee1275_TRUE@am__append_10867 = gcry_camellia.module +@COND_i386_ieee1275_TRUE@am__append_10868 = gcry_camellia.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10869 = +@COND_i386_ieee1275_TRUE@am__append_10870 = $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10871 = $(nodist_gcry_camellia_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_camellia.marker +@COND_i386_ieee1275_TRUE@am__append_10872 = gcry_camellia.mod +@COND_i386_ieee1275_TRUE@am__append_10873 = gcry_camellia.marker +@COND_x86_64_efi_TRUE@am__append_10874 = gcry_camellia.module +@COND_x86_64_efi_TRUE@am__append_10875 = gcry_camellia.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10876 = +@COND_x86_64_efi_TRUE@am__append_10877 = $(nodist_gcry_camellia_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10878 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_camellia_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_camellia.marker +@COND_x86_64_efi_TRUE@am__append_10879 = gcry_camellia.mod +@COND_x86_64_efi_TRUE@am__append_10880 = gcry_camellia.marker +@COND_mips_yeeloong_TRUE@am__append_10881 = gcry_camellia.module +@COND_mips_yeeloong_TRUE@am__append_10882 = gcry_camellia.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10883 = +@COND_mips_yeeloong_TRUE@am__append_10884 = $(nodist_gcry_camellia_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10885 = $(nodist_gcry_camellia_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_camellia.marker +@COND_mips_yeeloong_TRUE@am__append_10886 = gcry_camellia.mod +@COND_mips_yeeloong_TRUE@am__append_10887 = gcry_camellia.marker +@COND_sparc64_ieee1275_TRUE@am__append_10888 = gcry_camellia.module +@COND_sparc64_ieee1275_TRUE@am__append_10889 = gcry_camellia.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10890 = +@COND_sparc64_ieee1275_TRUE@am__append_10891 = $(nodist_gcry_camellia_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10892 = $(nodist_gcry_camellia_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_camellia.marker +@COND_sparc64_ieee1275_TRUE@am__append_10893 = gcry_camellia.mod +@COND_sparc64_ieee1275_TRUE@am__append_10894 = gcry_camellia.marker +@COND_powerpc_ieee1275_TRUE@am__append_10895 = gcry_camellia.module +@COND_powerpc_ieee1275_TRUE@am__append_10896 = gcry_camellia.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10897 = +@COND_powerpc_ieee1275_TRUE@am__append_10898 = $(nodist_gcry_camellia_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10899 = $(nodist_gcry_camellia_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_camellia.marker +@COND_powerpc_ieee1275_TRUE@am__append_10900 = gcry_camellia.mod +@COND_powerpc_ieee1275_TRUE@am__append_10901 = gcry_camellia.marker +@COND_emu_TRUE@am__append_10902 = gcry_cast5.module +@COND_emu_TRUE@am__append_10903 = gcry_cast5.module$(EXEEXT) +@COND_emu_TRUE@am__append_10904 = +@COND_emu_TRUE@am__append_10905 = $(nodist_gcry_cast5_module_SOURCES) +@COND_emu_TRUE@am__append_10906 = $(nodist_gcry_cast5_module_SOURCES) \ +@COND_emu_TRUE@ gcry_cast5.marker +@COND_emu_TRUE@am__append_10907 = gcry_cast5.mod +@COND_emu_TRUE@am__append_10908 = gcry_cast5.marker +@COND_i386_pc_TRUE@am__append_10909 = gcry_cast5.module +@COND_i386_pc_TRUE@am__append_10910 = gcry_cast5.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10911 = +@COND_i386_pc_TRUE@am__append_10912 = $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10913 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_cast5.marker +@COND_i386_pc_TRUE@am__append_10914 = gcry_cast5.mod +@COND_i386_pc_TRUE@am__append_10915 = gcry_cast5.marker +@COND_i386_efi_TRUE@am__append_10916 = gcry_cast5.module +@COND_i386_efi_TRUE@am__append_10917 = gcry_cast5.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10918 = +@COND_i386_efi_TRUE@am__append_10919 = $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10920 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_cast5.marker +@COND_i386_efi_TRUE@am__append_10921 = gcry_cast5.mod +@COND_i386_efi_TRUE@am__append_10922 = gcry_cast5.marker +@COND_i386_qemu_TRUE@am__append_10923 = gcry_cast5.module +@COND_i386_qemu_TRUE@am__append_10924 = gcry_cast5.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_10925 = +@COND_i386_qemu_TRUE@am__append_10926 = $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_10927 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_cast5.marker +@COND_i386_qemu_TRUE@am__append_10928 = gcry_cast5.mod +@COND_i386_qemu_TRUE@am__append_10929 = gcry_cast5.marker +@COND_i386_coreboot_TRUE@am__append_10930 = gcry_cast5.module +@COND_i386_coreboot_TRUE@am__append_10931 = gcry_cast5.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_10932 = +@COND_i386_coreboot_TRUE@am__append_10933 = $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_10934 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_cast5.marker +@COND_i386_coreboot_TRUE@am__append_10935 = gcry_cast5.mod +@COND_i386_coreboot_TRUE@am__append_10936 = gcry_cast5.marker +@COND_i386_multiboot_TRUE@am__append_10937 = gcry_cast5.module +@COND_i386_multiboot_TRUE@am__append_10938 = gcry_cast5.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_10939 = +@COND_i386_multiboot_TRUE@am__append_10940 = $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_10941 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_cast5.marker +@COND_i386_multiboot_TRUE@am__append_10942 = gcry_cast5.mod +@COND_i386_multiboot_TRUE@am__append_10943 = gcry_cast5.marker +@COND_i386_ieee1275_TRUE@am__append_10944 = gcry_cast5.module +@COND_i386_ieee1275_TRUE@am__append_10945 = gcry_cast5.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_10946 = +@COND_i386_ieee1275_TRUE@am__append_10947 = $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_10948 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_cast5.marker +@COND_i386_ieee1275_TRUE@am__append_10949 = gcry_cast5.mod +@COND_i386_ieee1275_TRUE@am__append_10950 = gcry_cast5.marker +@COND_x86_64_efi_TRUE@am__append_10951 = gcry_cast5.module +@COND_x86_64_efi_TRUE@am__append_10952 = gcry_cast5.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_10953 = +@COND_x86_64_efi_TRUE@am__append_10954 = $(nodist_gcry_cast5_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_10955 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_cast5.marker +@COND_x86_64_efi_TRUE@am__append_10956 = gcry_cast5.mod +@COND_x86_64_efi_TRUE@am__append_10957 = gcry_cast5.marker +@COND_mips_yeeloong_TRUE@am__append_10958 = gcry_cast5.module +@COND_mips_yeeloong_TRUE@am__append_10959 = gcry_cast5.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_10960 = +@COND_mips_yeeloong_TRUE@am__append_10961 = $(nodist_gcry_cast5_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_10962 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_cast5_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_cast5.marker +@COND_mips_yeeloong_TRUE@am__append_10963 = gcry_cast5.mod +@COND_mips_yeeloong_TRUE@am__append_10964 = gcry_cast5.marker +@COND_sparc64_ieee1275_TRUE@am__append_10965 = gcry_cast5.module +@COND_sparc64_ieee1275_TRUE@am__append_10966 = gcry_cast5.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_10967 = +@COND_sparc64_ieee1275_TRUE@am__append_10968 = $(nodist_gcry_cast5_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_10969 = $(nodist_gcry_cast5_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_cast5.marker +@COND_sparc64_ieee1275_TRUE@am__append_10970 = gcry_cast5.mod +@COND_sparc64_ieee1275_TRUE@am__append_10971 = gcry_cast5.marker +@COND_powerpc_ieee1275_TRUE@am__append_10972 = gcry_cast5.module +@COND_powerpc_ieee1275_TRUE@am__append_10973 = gcry_cast5.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_10974 = +@COND_powerpc_ieee1275_TRUE@am__append_10975 = $(nodist_gcry_cast5_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_10976 = $(nodist_gcry_cast5_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_cast5.marker +@COND_powerpc_ieee1275_TRUE@am__append_10977 = gcry_cast5.mod +@COND_powerpc_ieee1275_TRUE@am__append_10978 = gcry_cast5.marker +@COND_emu_TRUE@am__append_10979 = gcry_crc.module +@COND_emu_TRUE@am__append_10980 = gcry_crc.module$(EXEEXT) +@COND_emu_TRUE@am__append_10981 = +@COND_emu_TRUE@am__append_10982 = $(nodist_gcry_crc_module_SOURCES) +@COND_emu_TRUE@am__append_10983 = $(nodist_gcry_crc_module_SOURCES) \ +@COND_emu_TRUE@ gcry_crc.marker +@COND_emu_TRUE@am__append_10984 = gcry_crc.mod +@COND_emu_TRUE@am__append_10985 = gcry_crc.marker +@COND_i386_pc_TRUE@am__append_10986 = gcry_crc.module +@COND_i386_pc_TRUE@am__append_10987 = gcry_crc.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_10988 = +@COND_i386_pc_TRUE@am__append_10989 = $(nodist_gcry_crc_module_SOURCES) +@COND_i386_pc_TRUE@am__append_10990 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_crc.marker +@COND_i386_pc_TRUE@am__append_10991 = gcry_crc.mod +@COND_i386_pc_TRUE@am__append_10992 = gcry_crc.marker +@COND_i386_efi_TRUE@am__append_10993 = gcry_crc.module +@COND_i386_efi_TRUE@am__append_10994 = gcry_crc.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_10995 = +@COND_i386_efi_TRUE@am__append_10996 = $(nodist_gcry_crc_module_SOURCES) +@COND_i386_efi_TRUE@am__append_10997 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_crc.marker +@COND_i386_efi_TRUE@am__append_10998 = gcry_crc.mod +@COND_i386_efi_TRUE@am__append_10999 = gcry_crc.marker +@COND_i386_qemu_TRUE@am__append_11000 = gcry_crc.module +@COND_i386_qemu_TRUE@am__append_11001 = gcry_crc.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11002 = +@COND_i386_qemu_TRUE@am__append_11003 = $(nodist_gcry_crc_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11004 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_crc.marker +@COND_i386_qemu_TRUE@am__append_11005 = gcry_crc.mod +@COND_i386_qemu_TRUE@am__append_11006 = gcry_crc.marker +@COND_i386_coreboot_TRUE@am__append_11007 = gcry_crc.module +@COND_i386_coreboot_TRUE@am__append_11008 = gcry_crc.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11009 = +@COND_i386_coreboot_TRUE@am__append_11010 = $(nodist_gcry_crc_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11011 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_crc.marker +@COND_i386_coreboot_TRUE@am__append_11012 = gcry_crc.mod +@COND_i386_coreboot_TRUE@am__append_11013 = gcry_crc.marker +@COND_i386_multiboot_TRUE@am__append_11014 = gcry_crc.module +@COND_i386_multiboot_TRUE@am__append_11015 = gcry_crc.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11016 = +@COND_i386_multiboot_TRUE@am__append_11017 = $(nodist_gcry_crc_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11018 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_crc.marker +@COND_i386_multiboot_TRUE@am__append_11019 = gcry_crc.mod +@COND_i386_multiboot_TRUE@am__append_11020 = gcry_crc.marker +@COND_i386_ieee1275_TRUE@am__append_11021 = gcry_crc.module +@COND_i386_ieee1275_TRUE@am__append_11022 = gcry_crc.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11023 = +@COND_i386_ieee1275_TRUE@am__append_11024 = $(nodist_gcry_crc_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11025 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_crc.marker +@COND_i386_ieee1275_TRUE@am__append_11026 = gcry_crc.mod +@COND_i386_ieee1275_TRUE@am__append_11027 = gcry_crc.marker +@COND_x86_64_efi_TRUE@am__append_11028 = gcry_crc.module +@COND_x86_64_efi_TRUE@am__append_11029 = gcry_crc.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11030 = +@COND_x86_64_efi_TRUE@am__append_11031 = $(nodist_gcry_crc_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11032 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_crc.marker +@COND_x86_64_efi_TRUE@am__append_11033 = gcry_crc.mod +@COND_x86_64_efi_TRUE@am__append_11034 = gcry_crc.marker +@COND_mips_yeeloong_TRUE@am__append_11035 = gcry_crc.module +@COND_mips_yeeloong_TRUE@am__append_11036 = gcry_crc.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11037 = +@COND_mips_yeeloong_TRUE@am__append_11038 = $(nodist_gcry_crc_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11039 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_crc.marker +@COND_mips_yeeloong_TRUE@am__append_11040 = gcry_crc.mod +@COND_mips_yeeloong_TRUE@am__append_11041 = gcry_crc.marker +@COND_sparc64_ieee1275_TRUE@am__append_11042 = gcry_crc.module +@COND_sparc64_ieee1275_TRUE@am__append_11043 = gcry_crc.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11044 = +@COND_sparc64_ieee1275_TRUE@am__append_11045 = $(nodist_gcry_crc_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11046 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_crc.marker +@COND_sparc64_ieee1275_TRUE@am__append_11047 = gcry_crc.mod +@COND_sparc64_ieee1275_TRUE@am__append_11048 = gcry_crc.marker +@COND_powerpc_ieee1275_TRUE@am__append_11049 = gcry_crc.module +@COND_powerpc_ieee1275_TRUE@am__append_11050 = gcry_crc.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11051 = +@COND_powerpc_ieee1275_TRUE@am__append_11052 = $(nodist_gcry_crc_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11053 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gcry_crc_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_crc.marker +@COND_powerpc_ieee1275_TRUE@am__append_11054 = gcry_crc.mod +@COND_powerpc_ieee1275_TRUE@am__append_11055 = gcry_crc.marker +@COND_emu_TRUE@am__append_11056 = gcry_des.module +@COND_emu_TRUE@am__append_11057 = gcry_des.module$(EXEEXT) +@COND_emu_TRUE@am__append_11058 = +@COND_emu_TRUE@am__append_11059 = $(nodist_gcry_des_module_SOURCES) +@COND_emu_TRUE@am__append_11060 = $(nodist_gcry_des_module_SOURCES) \ +@COND_emu_TRUE@ gcry_des.marker +@COND_emu_TRUE@am__append_11061 = gcry_des.mod +@COND_emu_TRUE@am__append_11062 = gcry_des.marker +@COND_i386_pc_TRUE@am__append_11063 = gcry_des.module +@COND_i386_pc_TRUE@am__append_11064 = gcry_des.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11065 = +@COND_i386_pc_TRUE@am__append_11066 = $(nodist_gcry_des_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11067 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_des.marker +@COND_i386_pc_TRUE@am__append_11068 = gcry_des.mod +@COND_i386_pc_TRUE@am__append_11069 = gcry_des.marker +@COND_i386_efi_TRUE@am__append_11070 = gcry_des.module +@COND_i386_efi_TRUE@am__append_11071 = gcry_des.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11072 = +@COND_i386_efi_TRUE@am__append_11073 = $(nodist_gcry_des_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11074 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_des.marker +@COND_i386_efi_TRUE@am__append_11075 = gcry_des.mod +@COND_i386_efi_TRUE@am__append_11076 = gcry_des.marker +@COND_i386_qemu_TRUE@am__append_11077 = gcry_des.module +@COND_i386_qemu_TRUE@am__append_11078 = gcry_des.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11079 = +@COND_i386_qemu_TRUE@am__append_11080 = $(nodist_gcry_des_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11081 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_des.marker +@COND_i386_qemu_TRUE@am__append_11082 = gcry_des.mod +@COND_i386_qemu_TRUE@am__append_11083 = gcry_des.marker +@COND_i386_coreboot_TRUE@am__append_11084 = gcry_des.module +@COND_i386_coreboot_TRUE@am__append_11085 = gcry_des.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11086 = +@COND_i386_coreboot_TRUE@am__append_11087 = $(nodist_gcry_des_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11088 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_des.marker +@COND_i386_coreboot_TRUE@am__append_11089 = gcry_des.mod +@COND_i386_coreboot_TRUE@am__append_11090 = gcry_des.marker +@COND_i386_multiboot_TRUE@am__append_11091 = gcry_des.module +@COND_i386_multiboot_TRUE@am__append_11092 = gcry_des.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11093 = +@COND_i386_multiboot_TRUE@am__append_11094 = $(nodist_gcry_des_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11095 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_des.marker +@COND_i386_multiboot_TRUE@am__append_11096 = gcry_des.mod +@COND_i386_multiboot_TRUE@am__append_11097 = gcry_des.marker +@COND_i386_ieee1275_TRUE@am__append_11098 = gcry_des.module +@COND_i386_ieee1275_TRUE@am__append_11099 = gcry_des.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11100 = +@COND_i386_ieee1275_TRUE@am__append_11101 = $(nodist_gcry_des_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11102 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_des.marker +@COND_i386_ieee1275_TRUE@am__append_11103 = gcry_des.mod +@COND_i386_ieee1275_TRUE@am__append_11104 = gcry_des.marker +@COND_x86_64_efi_TRUE@am__append_11105 = gcry_des.module +@COND_x86_64_efi_TRUE@am__append_11106 = gcry_des.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11107 = +@COND_x86_64_efi_TRUE@am__append_11108 = $(nodist_gcry_des_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11109 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_des.marker +@COND_x86_64_efi_TRUE@am__append_11110 = gcry_des.mod +@COND_x86_64_efi_TRUE@am__append_11111 = gcry_des.marker +@COND_mips_yeeloong_TRUE@am__append_11112 = gcry_des.module +@COND_mips_yeeloong_TRUE@am__append_11113 = gcry_des.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11114 = +@COND_mips_yeeloong_TRUE@am__append_11115 = $(nodist_gcry_des_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11116 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_des.marker +@COND_mips_yeeloong_TRUE@am__append_11117 = gcry_des.mod +@COND_mips_yeeloong_TRUE@am__append_11118 = gcry_des.marker +@COND_sparc64_ieee1275_TRUE@am__append_11119 = gcry_des.module +@COND_sparc64_ieee1275_TRUE@am__append_11120 = gcry_des.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11121 = +@COND_sparc64_ieee1275_TRUE@am__append_11122 = $(nodist_gcry_des_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11123 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_des.marker +@COND_sparc64_ieee1275_TRUE@am__append_11124 = gcry_des.mod +@COND_sparc64_ieee1275_TRUE@am__append_11125 = gcry_des.marker +@COND_powerpc_ieee1275_TRUE@am__append_11126 = gcry_des.module +@COND_powerpc_ieee1275_TRUE@am__append_11127 = gcry_des.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11128 = +@COND_powerpc_ieee1275_TRUE@am__append_11129 = $(nodist_gcry_des_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11130 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gcry_des_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_des.marker +@COND_powerpc_ieee1275_TRUE@am__append_11131 = gcry_des.mod +@COND_powerpc_ieee1275_TRUE@am__append_11132 = gcry_des.marker +@COND_emu_TRUE@am__append_11133 = gcry_md4.module +@COND_emu_TRUE@am__append_11134 = gcry_md4.module$(EXEEXT) +@COND_emu_TRUE@am__append_11135 = +@COND_emu_TRUE@am__append_11136 = $(nodist_gcry_md4_module_SOURCES) +@COND_emu_TRUE@am__append_11137 = $(nodist_gcry_md4_module_SOURCES) \ +@COND_emu_TRUE@ gcry_md4.marker +@COND_emu_TRUE@am__append_11138 = gcry_md4.mod +@COND_emu_TRUE@am__append_11139 = gcry_md4.marker +@COND_i386_pc_TRUE@am__append_11140 = gcry_md4.module +@COND_i386_pc_TRUE@am__append_11141 = gcry_md4.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11142 = +@COND_i386_pc_TRUE@am__append_11143 = $(nodist_gcry_md4_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11144 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_md4.marker +@COND_i386_pc_TRUE@am__append_11145 = gcry_md4.mod +@COND_i386_pc_TRUE@am__append_11146 = gcry_md4.marker +@COND_i386_efi_TRUE@am__append_11147 = gcry_md4.module +@COND_i386_efi_TRUE@am__append_11148 = gcry_md4.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11149 = +@COND_i386_efi_TRUE@am__append_11150 = $(nodist_gcry_md4_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11151 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_md4.marker +@COND_i386_efi_TRUE@am__append_11152 = gcry_md4.mod +@COND_i386_efi_TRUE@am__append_11153 = gcry_md4.marker +@COND_i386_qemu_TRUE@am__append_11154 = gcry_md4.module +@COND_i386_qemu_TRUE@am__append_11155 = gcry_md4.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11156 = +@COND_i386_qemu_TRUE@am__append_11157 = $(nodist_gcry_md4_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11158 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_md4.marker +@COND_i386_qemu_TRUE@am__append_11159 = gcry_md4.mod +@COND_i386_qemu_TRUE@am__append_11160 = gcry_md4.marker +@COND_i386_coreboot_TRUE@am__append_11161 = gcry_md4.module +@COND_i386_coreboot_TRUE@am__append_11162 = gcry_md4.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11163 = +@COND_i386_coreboot_TRUE@am__append_11164 = $(nodist_gcry_md4_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11165 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_md4.marker +@COND_i386_coreboot_TRUE@am__append_11166 = gcry_md4.mod +@COND_i386_coreboot_TRUE@am__append_11167 = gcry_md4.marker +@COND_i386_multiboot_TRUE@am__append_11168 = gcry_md4.module +@COND_i386_multiboot_TRUE@am__append_11169 = gcry_md4.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11170 = +@COND_i386_multiboot_TRUE@am__append_11171 = $(nodist_gcry_md4_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11172 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_md4.marker +@COND_i386_multiboot_TRUE@am__append_11173 = gcry_md4.mod +@COND_i386_multiboot_TRUE@am__append_11174 = gcry_md4.marker +@COND_i386_ieee1275_TRUE@am__append_11175 = gcry_md4.module +@COND_i386_ieee1275_TRUE@am__append_11176 = gcry_md4.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11177 = +@COND_i386_ieee1275_TRUE@am__append_11178 = $(nodist_gcry_md4_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11179 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_md4.marker +@COND_i386_ieee1275_TRUE@am__append_11180 = gcry_md4.mod +@COND_i386_ieee1275_TRUE@am__append_11181 = gcry_md4.marker +@COND_x86_64_efi_TRUE@am__append_11182 = gcry_md4.module +@COND_x86_64_efi_TRUE@am__append_11183 = gcry_md4.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11184 = +@COND_x86_64_efi_TRUE@am__append_11185 = $(nodist_gcry_md4_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11186 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_md4.marker +@COND_x86_64_efi_TRUE@am__append_11187 = gcry_md4.mod +@COND_x86_64_efi_TRUE@am__append_11188 = gcry_md4.marker +@COND_mips_yeeloong_TRUE@am__append_11189 = gcry_md4.module +@COND_mips_yeeloong_TRUE@am__append_11190 = gcry_md4.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11191 = +@COND_mips_yeeloong_TRUE@am__append_11192 = $(nodist_gcry_md4_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11193 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_md4.marker +@COND_mips_yeeloong_TRUE@am__append_11194 = gcry_md4.mod +@COND_mips_yeeloong_TRUE@am__append_11195 = gcry_md4.marker +@COND_sparc64_ieee1275_TRUE@am__append_11196 = gcry_md4.module +@COND_sparc64_ieee1275_TRUE@am__append_11197 = gcry_md4.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11198 = +@COND_sparc64_ieee1275_TRUE@am__append_11199 = $(nodist_gcry_md4_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11200 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_md4.marker +@COND_sparc64_ieee1275_TRUE@am__append_11201 = gcry_md4.mod +@COND_sparc64_ieee1275_TRUE@am__append_11202 = gcry_md4.marker +@COND_powerpc_ieee1275_TRUE@am__append_11203 = gcry_md4.module +@COND_powerpc_ieee1275_TRUE@am__append_11204 = gcry_md4.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11205 = +@COND_powerpc_ieee1275_TRUE@am__append_11206 = $(nodist_gcry_md4_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11207 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gcry_md4_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_md4.marker +@COND_powerpc_ieee1275_TRUE@am__append_11208 = gcry_md4.mod +@COND_powerpc_ieee1275_TRUE@am__append_11209 = gcry_md4.marker +@COND_emu_TRUE@am__append_11210 = gcry_md5.module +@COND_emu_TRUE@am__append_11211 = gcry_md5.module$(EXEEXT) +@COND_emu_TRUE@am__append_11212 = +@COND_emu_TRUE@am__append_11213 = $(nodist_gcry_md5_module_SOURCES) +@COND_emu_TRUE@am__append_11214 = $(nodist_gcry_md5_module_SOURCES) \ +@COND_emu_TRUE@ gcry_md5.marker +@COND_emu_TRUE@am__append_11215 = gcry_md5.mod +@COND_emu_TRUE@am__append_11216 = gcry_md5.marker +@COND_i386_pc_TRUE@am__append_11217 = gcry_md5.module +@COND_i386_pc_TRUE@am__append_11218 = gcry_md5.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11219 = +@COND_i386_pc_TRUE@am__append_11220 = $(nodist_gcry_md5_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11221 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_md5.marker +@COND_i386_pc_TRUE@am__append_11222 = gcry_md5.mod +@COND_i386_pc_TRUE@am__append_11223 = gcry_md5.marker +@COND_i386_efi_TRUE@am__append_11224 = gcry_md5.module +@COND_i386_efi_TRUE@am__append_11225 = gcry_md5.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11226 = +@COND_i386_efi_TRUE@am__append_11227 = $(nodist_gcry_md5_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11228 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_md5.marker +@COND_i386_efi_TRUE@am__append_11229 = gcry_md5.mod +@COND_i386_efi_TRUE@am__append_11230 = gcry_md5.marker +@COND_i386_qemu_TRUE@am__append_11231 = gcry_md5.module +@COND_i386_qemu_TRUE@am__append_11232 = gcry_md5.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11233 = +@COND_i386_qemu_TRUE@am__append_11234 = $(nodist_gcry_md5_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11235 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_md5.marker +@COND_i386_qemu_TRUE@am__append_11236 = gcry_md5.mod +@COND_i386_qemu_TRUE@am__append_11237 = gcry_md5.marker +@COND_i386_coreboot_TRUE@am__append_11238 = gcry_md5.module +@COND_i386_coreboot_TRUE@am__append_11239 = gcry_md5.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11240 = +@COND_i386_coreboot_TRUE@am__append_11241 = $(nodist_gcry_md5_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11242 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_md5.marker +@COND_i386_coreboot_TRUE@am__append_11243 = gcry_md5.mod +@COND_i386_coreboot_TRUE@am__append_11244 = gcry_md5.marker +@COND_i386_multiboot_TRUE@am__append_11245 = gcry_md5.module +@COND_i386_multiboot_TRUE@am__append_11246 = gcry_md5.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11247 = +@COND_i386_multiboot_TRUE@am__append_11248 = $(nodist_gcry_md5_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11249 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_md5.marker +@COND_i386_multiboot_TRUE@am__append_11250 = gcry_md5.mod +@COND_i386_multiboot_TRUE@am__append_11251 = gcry_md5.marker +@COND_i386_ieee1275_TRUE@am__append_11252 = gcry_md5.module +@COND_i386_ieee1275_TRUE@am__append_11253 = gcry_md5.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11254 = +@COND_i386_ieee1275_TRUE@am__append_11255 = $(nodist_gcry_md5_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11256 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_md5.marker +@COND_i386_ieee1275_TRUE@am__append_11257 = gcry_md5.mod +@COND_i386_ieee1275_TRUE@am__append_11258 = gcry_md5.marker +@COND_x86_64_efi_TRUE@am__append_11259 = gcry_md5.module +@COND_x86_64_efi_TRUE@am__append_11260 = gcry_md5.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11261 = +@COND_x86_64_efi_TRUE@am__append_11262 = $(nodist_gcry_md5_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11263 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_md5.marker +@COND_x86_64_efi_TRUE@am__append_11264 = gcry_md5.mod +@COND_x86_64_efi_TRUE@am__append_11265 = gcry_md5.marker +@COND_mips_yeeloong_TRUE@am__append_11266 = gcry_md5.module +@COND_mips_yeeloong_TRUE@am__append_11267 = gcry_md5.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11268 = +@COND_mips_yeeloong_TRUE@am__append_11269 = $(nodist_gcry_md5_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11270 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_md5.marker +@COND_mips_yeeloong_TRUE@am__append_11271 = gcry_md5.mod +@COND_mips_yeeloong_TRUE@am__append_11272 = gcry_md5.marker +@COND_sparc64_ieee1275_TRUE@am__append_11273 = gcry_md5.module +@COND_sparc64_ieee1275_TRUE@am__append_11274 = gcry_md5.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11275 = +@COND_sparc64_ieee1275_TRUE@am__append_11276 = $(nodist_gcry_md5_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11277 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_md5.marker +@COND_sparc64_ieee1275_TRUE@am__append_11278 = gcry_md5.mod +@COND_sparc64_ieee1275_TRUE@am__append_11279 = gcry_md5.marker +@COND_powerpc_ieee1275_TRUE@am__append_11280 = gcry_md5.module +@COND_powerpc_ieee1275_TRUE@am__append_11281 = gcry_md5.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11282 = +@COND_powerpc_ieee1275_TRUE@am__append_11283 = $(nodist_gcry_md5_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11284 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_gcry_md5_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_md5.marker +@COND_powerpc_ieee1275_TRUE@am__append_11285 = gcry_md5.mod +@COND_powerpc_ieee1275_TRUE@am__append_11286 = gcry_md5.marker +@COND_emu_TRUE@am__append_11287 = gcry_rfc2268.module +@COND_emu_TRUE@am__append_11288 = gcry_rfc2268.module$(EXEEXT) +@COND_emu_TRUE@am__append_11289 = +@COND_emu_TRUE@am__append_11290 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_emu_TRUE@am__append_11291 = \ +@COND_emu_TRUE@ $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_emu_TRUE@ gcry_rfc2268.marker +@COND_emu_TRUE@am__append_11292 = gcry_rfc2268.mod +@COND_emu_TRUE@am__append_11293 = gcry_rfc2268.marker +@COND_i386_pc_TRUE@am__append_11294 = gcry_rfc2268.module +@COND_i386_pc_TRUE@am__append_11295 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11296 = +@COND_i386_pc_TRUE@am__append_11297 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11298 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_rfc2268.marker +@COND_i386_pc_TRUE@am__append_11299 = gcry_rfc2268.mod +@COND_i386_pc_TRUE@am__append_11300 = gcry_rfc2268.marker +@COND_i386_efi_TRUE@am__append_11301 = gcry_rfc2268.module +@COND_i386_efi_TRUE@am__append_11302 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11303 = +@COND_i386_efi_TRUE@am__append_11304 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11305 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_rfc2268.marker +@COND_i386_efi_TRUE@am__append_11306 = gcry_rfc2268.mod +@COND_i386_efi_TRUE@am__append_11307 = gcry_rfc2268.marker +@COND_i386_qemu_TRUE@am__append_11308 = gcry_rfc2268.module +@COND_i386_qemu_TRUE@am__append_11309 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11310 = +@COND_i386_qemu_TRUE@am__append_11311 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11312 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_rfc2268.marker +@COND_i386_qemu_TRUE@am__append_11313 = gcry_rfc2268.mod +@COND_i386_qemu_TRUE@am__append_11314 = gcry_rfc2268.marker +@COND_i386_coreboot_TRUE@am__append_11315 = gcry_rfc2268.module +@COND_i386_coreboot_TRUE@am__append_11316 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11317 = +@COND_i386_coreboot_TRUE@am__append_11318 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11319 = $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_rfc2268.marker +@COND_i386_coreboot_TRUE@am__append_11320 = gcry_rfc2268.mod +@COND_i386_coreboot_TRUE@am__append_11321 = gcry_rfc2268.marker +@COND_i386_multiboot_TRUE@am__append_11322 = gcry_rfc2268.module +@COND_i386_multiboot_TRUE@am__append_11323 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11324 = +@COND_i386_multiboot_TRUE@am__append_11325 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11326 = $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_rfc2268.marker +@COND_i386_multiboot_TRUE@am__append_11327 = gcry_rfc2268.mod +@COND_i386_multiboot_TRUE@am__append_11328 = gcry_rfc2268.marker +@COND_i386_ieee1275_TRUE@am__append_11329 = gcry_rfc2268.module +@COND_i386_ieee1275_TRUE@am__append_11330 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11331 = +@COND_i386_ieee1275_TRUE@am__append_11332 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11333 = $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_rfc2268.marker +@COND_i386_ieee1275_TRUE@am__append_11334 = gcry_rfc2268.mod +@COND_i386_ieee1275_TRUE@am__append_11335 = gcry_rfc2268.marker +@COND_x86_64_efi_TRUE@am__append_11336 = gcry_rfc2268.module +@COND_x86_64_efi_TRUE@am__append_11337 = gcry_rfc2268.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11338 = +@COND_x86_64_efi_TRUE@am__append_11339 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11340 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_rfc2268.marker +@COND_x86_64_efi_TRUE@am__append_11341 = gcry_rfc2268.mod +@COND_x86_64_efi_TRUE@am__append_11342 = gcry_rfc2268.marker +@COND_mips_yeeloong_TRUE@am__append_11343 = gcry_rfc2268.module +@COND_mips_yeeloong_TRUE@am__append_11344 = gcry_rfc2268.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11345 = +@COND_mips_yeeloong_TRUE@am__append_11346 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11347 = $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_rfc2268.marker +@COND_mips_yeeloong_TRUE@am__append_11348 = gcry_rfc2268.mod +@COND_mips_yeeloong_TRUE@am__append_11349 = gcry_rfc2268.marker +@COND_sparc64_ieee1275_TRUE@am__append_11350 = gcry_rfc2268.module +@COND_sparc64_ieee1275_TRUE@am__append_11351 = gcry_rfc2268.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11352 = +@COND_sparc64_ieee1275_TRUE@am__append_11353 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11354 = $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_rfc2268.marker +@COND_sparc64_ieee1275_TRUE@am__append_11355 = gcry_rfc2268.mod +@COND_sparc64_ieee1275_TRUE@am__append_11356 = gcry_rfc2268.marker +@COND_powerpc_ieee1275_TRUE@am__append_11357 = gcry_rfc2268.module +@COND_powerpc_ieee1275_TRUE@am__append_11358 = gcry_rfc2268.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11359 = +@COND_powerpc_ieee1275_TRUE@am__append_11360 = $(nodist_gcry_rfc2268_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11361 = $(nodist_gcry_rfc2268_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_rfc2268.marker +@COND_powerpc_ieee1275_TRUE@am__append_11362 = gcry_rfc2268.mod +@COND_powerpc_ieee1275_TRUE@am__append_11363 = gcry_rfc2268.marker +@COND_emu_TRUE@am__append_11364 = gcry_rijndael.module +@COND_emu_TRUE@am__append_11365 = gcry_rijndael.module$(EXEEXT) +@COND_emu_TRUE@am__append_11366 = +@COND_emu_TRUE@am__append_11367 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_emu_TRUE@am__append_11368 = \ +@COND_emu_TRUE@ $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_emu_TRUE@ gcry_rijndael.marker +@COND_emu_TRUE@am__append_11369 = gcry_rijndael.mod +@COND_emu_TRUE@am__append_11370 = gcry_rijndael.marker +@COND_i386_pc_TRUE@am__append_11371 = gcry_rijndael.module +@COND_i386_pc_TRUE@am__append_11372 = gcry_rijndael.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11373 = +@COND_i386_pc_TRUE@am__append_11374 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11375 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_rijndael.marker +@COND_i386_pc_TRUE@am__append_11376 = gcry_rijndael.mod +@COND_i386_pc_TRUE@am__append_11377 = gcry_rijndael.marker +@COND_i386_efi_TRUE@am__append_11378 = gcry_rijndael.module +@COND_i386_efi_TRUE@am__append_11379 = gcry_rijndael.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11380 = +@COND_i386_efi_TRUE@am__append_11381 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11382 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_rijndael.marker +@COND_i386_efi_TRUE@am__append_11383 = gcry_rijndael.mod +@COND_i386_efi_TRUE@am__append_11384 = gcry_rijndael.marker +@COND_i386_qemu_TRUE@am__append_11385 = gcry_rijndael.module +@COND_i386_qemu_TRUE@am__append_11386 = gcry_rijndael.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11387 = +@COND_i386_qemu_TRUE@am__append_11388 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11389 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_rijndael.marker +@COND_i386_qemu_TRUE@am__append_11390 = gcry_rijndael.mod +@COND_i386_qemu_TRUE@am__append_11391 = gcry_rijndael.marker +@COND_i386_coreboot_TRUE@am__append_11392 = gcry_rijndael.module +@COND_i386_coreboot_TRUE@am__append_11393 = gcry_rijndael.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11394 = +@COND_i386_coreboot_TRUE@am__append_11395 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11396 = $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_rijndael.marker +@COND_i386_coreboot_TRUE@am__append_11397 = gcry_rijndael.mod +@COND_i386_coreboot_TRUE@am__append_11398 = gcry_rijndael.marker +@COND_i386_multiboot_TRUE@am__append_11399 = gcry_rijndael.module +@COND_i386_multiboot_TRUE@am__append_11400 = gcry_rijndael.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11401 = +@COND_i386_multiboot_TRUE@am__append_11402 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11403 = $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_rijndael.marker +@COND_i386_multiboot_TRUE@am__append_11404 = gcry_rijndael.mod +@COND_i386_multiboot_TRUE@am__append_11405 = gcry_rijndael.marker +@COND_i386_ieee1275_TRUE@am__append_11406 = gcry_rijndael.module +@COND_i386_ieee1275_TRUE@am__append_11407 = gcry_rijndael.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11408 = +@COND_i386_ieee1275_TRUE@am__append_11409 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11410 = $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_rijndael.marker +@COND_i386_ieee1275_TRUE@am__append_11411 = gcry_rijndael.mod +@COND_i386_ieee1275_TRUE@am__append_11412 = gcry_rijndael.marker +@COND_x86_64_efi_TRUE@am__append_11413 = gcry_rijndael.module +@COND_x86_64_efi_TRUE@am__append_11414 = gcry_rijndael.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11415 = +@COND_x86_64_efi_TRUE@am__append_11416 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11417 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_rijndael.marker +@COND_x86_64_efi_TRUE@am__append_11418 = gcry_rijndael.mod +@COND_x86_64_efi_TRUE@am__append_11419 = gcry_rijndael.marker +@COND_mips_yeeloong_TRUE@am__append_11420 = gcry_rijndael.module +@COND_mips_yeeloong_TRUE@am__append_11421 = gcry_rijndael.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11422 = +@COND_mips_yeeloong_TRUE@am__append_11423 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11424 = $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_rijndael.marker +@COND_mips_yeeloong_TRUE@am__append_11425 = gcry_rijndael.mod +@COND_mips_yeeloong_TRUE@am__append_11426 = gcry_rijndael.marker +@COND_sparc64_ieee1275_TRUE@am__append_11427 = gcry_rijndael.module +@COND_sparc64_ieee1275_TRUE@am__append_11428 = gcry_rijndael.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11429 = +@COND_sparc64_ieee1275_TRUE@am__append_11430 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11431 = $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_rijndael.marker +@COND_sparc64_ieee1275_TRUE@am__append_11432 = gcry_rijndael.mod +@COND_sparc64_ieee1275_TRUE@am__append_11433 = gcry_rijndael.marker +@COND_powerpc_ieee1275_TRUE@am__append_11434 = gcry_rijndael.module +@COND_powerpc_ieee1275_TRUE@am__append_11435 = gcry_rijndael.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11436 = +@COND_powerpc_ieee1275_TRUE@am__append_11437 = $(nodist_gcry_rijndael_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11438 = $(nodist_gcry_rijndael_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_rijndael.marker +@COND_powerpc_ieee1275_TRUE@am__append_11439 = gcry_rijndael.mod +@COND_powerpc_ieee1275_TRUE@am__append_11440 = gcry_rijndael.marker +@COND_emu_TRUE@am__append_11441 = gcry_rmd160.module +@COND_emu_TRUE@am__append_11442 = gcry_rmd160.module$(EXEEXT) +@COND_emu_TRUE@am__append_11443 = +@COND_emu_TRUE@am__append_11444 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_emu_TRUE@am__append_11445 = \ +@COND_emu_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_emu_TRUE@ gcry_rmd160.marker +@COND_emu_TRUE@am__append_11446 = gcry_rmd160.mod +@COND_emu_TRUE@am__append_11447 = gcry_rmd160.marker +@COND_i386_pc_TRUE@am__append_11448 = gcry_rmd160.module +@COND_i386_pc_TRUE@am__append_11449 = gcry_rmd160.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11450 = +@COND_i386_pc_TRUE@am__append_11451 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11452 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_rmd160.marker +@COND_i386_pc_TRUE@am__append_11453 = gcry_rmd160.mod +@COND_i386_pc_TRUE@am__append_11454 = gcry_rmd160.marker +@COND_i386_efi_TRUE@am__append_11455 = gcry_rmd160.module +@COND_i386_efi_TRUE@am__append_11456 = gcry_rmd160.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11457 = +@COND_i386_efi_TRUE@am__append_11458 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11459 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_rmd160.marker +@COND_i386_efi_TRUE@am__append_11460 = gcry_rmd160.mod +@COND_i386_efi_TRUE@am__append_11461 = gcry_rmd160.marker +@COND_i386_qemu_TRUE@am__append_11462 = gcry_rmd160.module +@COND_i386_qemu_TRUE@am__append_11463 = gcry_rmd160.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11464 = +@COND_i386_qemu_TRUE@am__append_11465 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11466 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_rmd160.marker +@COND_i386_qemu_TRUE@am__append_11467 = gcry_rmd160.mod +@COND_i386_qemu_TRUE@am__append_11468 = gcry_rmd160.marker +@COND_i386_coreboot_TRUE@am__append_11469 = gcry_rmd160.module +@COND_i386_coreboot_TRUE@am__append_11470 = gcry_rmd160.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11471 = +@COND_i386_coreboot_TRUE@am__append_11472 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11473 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_rmd160.marker +@COND_i386_coreboot_TRUE@am__append_11474 = gcry_rmd160.mod +@COND_i386_coreboot_TRUE@am__append_11475 = gcry_rmd160.marker +@COND_i386_multiboot_TRUE@am__append_11476 = gcry_rmd160.module +@COND_i386_multiboot_TRUE@am__append_11477 = gcry_rmd160.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11478 = +@COND_i386_multiboot_TRUE@am__append_11479 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11480 = $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_rmd160.marker +@COND_i386_multiboot_TRUE@am__append_11481 = gcry_rmd160.mod +@COND_i386_multiboot_TRUE@am__append_11482 = gcry_rmd160.marker +@COND_i386_ieee1275_TRUE@am__append_11483 = gcry_rmd160.module +@COND_i386_ieee1275_TRUE@am__append_11484 = gcry_rmd160.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11485 = +@COND_i386_ieee1275_TRUE@am__append_11486 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11487 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_rmd160.marker +@COND_i386_ieee1275_TRUE@am__append_11488 = gcry_rmd160.mod +@COND_i386_ieee1275_TRUE@am__append_11489 = gcry_rmd160.marker +@COND_x86_64_efi_TRUE@am__append_11490 = gcry_rmd160.module +@COND_x86_64_efi_TRUE@am__append_11491 = gcry_rmd160.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11492 = +@COND_x86_64_efi_TRUE@am__append_11493 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11494 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_rmd160.marker +@COND_x86_64_efi_TRUE@am__append_11495 = gcry_rmd160.mod +@COND_x86_64_efi_TRUE@am__append_11496 = gcry_rmd160.marker +@COND_mips_yeeloong_TRUE@am__append_11497 = gcry_rmd160.module +@COND_mips_yeeloong_TRUE@am__append_11498 = gcry_rmd160.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11499 = +@COND_mips_yeeloong_TRUE@am__append_11500 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11501 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_rmd160.marker +@COND_mips_yeeloong_TRUE@am__append_11502 = gcry_rmd160.mod +@COND_mips_yeeloong_TRUE@am__append_11503 = gcry_rmd160.marker +@COND_sparc64_ieee1275_TRUE@am__append_11504 = gcry_rmd160.module +@COND_sparc64_ieee1275_TRUE@am__append_11505 = gcry_rmd160.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11506 = +@COND_sparc64_ieee1275_TRUE@am__append_11507 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11508 = $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_rmd160.marker +@COND_sparc64_ieee1275_TRUE@am__append_11509 = gcry_rmd160.mod +@COND_sparc64_ieee1275_TRUE@am__append_11510 = gcry_rmd160.marker +@COND_powerpc_ieee1275_TRUE@am__append_11511 = gcry_rmd160.module +@COND_powerpc_ieee1275_TRUE@am__append_11512 = gcry_rmd160.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11513 = +@COND_powerpc_ieee1275_TRUE@am__append_11514 = $(nodist_gcry_rmd160_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11515 = $(nodist_gcry_rmd160_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_rmd160.marker +@COND_powerpc_ieee1275_TRUE@am__append_11516 = gcry_rmd160.mod +@COND_powerpc_ieee1275_TRUE@am__append_11517 = gcry_rmd160.marker +@COND_emu_TRUE@am__append_11518 = gcry_seed.module +@COND_emu_TRUE@am__append_11519 = gcry_seed.module$(EXEEXT) +@COND_emu_TRUE@am__append_11520 = +@COND_emu_TRUE@am__append_11521 = $(nodist_gcry_seed_module_SOURCES) +@COND_emu_TRUE@am__append_11522 = $(nodist_gcry_seed_module_SOURCES) \ +@COND_emu_TRUE@ gcry_seed.marker +@COND_emu_TRUE@am__append_11523 = gcry_seed.mod +@COND_emu_TRUE@am__append_11524 = gcry_seed.marker +@COND_i386_pc_TRUE@am__append_11525 = gcry_seed.module +@COND_i386_pc_TRUE@am__append_11526 = gcry_seed.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11527 = +@COND_i386_pc_TRUE@am__append_11528 = $(nodist_gcry_seed_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11529 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_seed.marker +@COND_i386_pc_TRUE@am__append_11530 = gcry_seed.mod +@COND_i386_pc_TRUE@am__append_11531 = gcry_seed.marker +@COND_i386_efi_TRUE@am__append_11532 = gcry_seed.module +@COND_i386_efi_TRUE@am__append_11533 = gcry_seed.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11534 = +@COND_i386_efi_TRUE@am__append_11535 = $(nodist_gcry_seed_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11536 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_seed.marker +@COND_i386_efi_TRUE@am__append_11537 = gcry_seed.mod +@COND_i386_efi_TRUE@am__append_11538 = gcry_seed.marker +@COND_i386_qemu_TRUE@am__append_11539 = gcry_seed.module +@COND_i386_qemu_TRUE@am__append_11540 = gcry_seed.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11541 = +@COND_i386_qemu_TRUE@am__append_11542 = $(nodist_gcry_seed_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11543 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_seed.marker +@COND_i386_qemu_TRUE@am__append_11544 = gcry_seed.mod +@COND_i386_qemu_TRUE@am__append_11545 = gcry_seed.marker +@COND_i386_coreboot_TRUE@am__append_11546 = gcry_seed.module +@COND_i386_coreboot_TRUE@am__append_11547 = gcry_seed.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11548 = +@COND_i386_coreboot_TRUE@am__append_11549 = $(nodist_gcry_seed_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11550 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_seed.marker +@COND_i386_coreboot_TRUE@am__append_11551 = gcry_seed.mod +@COND_i386_coreboot_TRUE@am__append_11552 = gcry_seed.marker +@COND_i386_multiboot_TRUE@am__append_11553 = gcry_seed.module +@COND_i386_multiboot_TRUE@am__append_11554 = gcry_seed.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11555 = +@COND_i386_multiboot_TRUE@am__append_11556 = $(nodist_gcry_seed_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11557 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_seed.marker +@COND_i386_multiboot_TRUE@am__append_11558 = gcry_seed.mod +@COND_i386_multiboot_TRUE@am__append_11559 = gcry_seed.marker +@COND_i386_ieee1275_TRUE@am__append_11560 = gcry_seed.module +@COND_i386_ieee1275_TRUE@am__append_11561 = gcry_seed.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11562 = +@COND_i386_ieee1275_TRUE@am__append_11563 = $(nodist_gcry_seed_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11564 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_seed.marker +@COND_i386_ieee1275_TRUE@am__append_11565 = gcry_seed.mod +@COND_i386_ieee1275_TRUE@am__append_11566 = gcry_seed.marker +@COND_x86_64_efi_TRUE@am__append_11567 = gcry_seed.module +@COND_x86_64_efi_TRUE@am__append_11568 = gcry_seed.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11569 = +@COND_x86_64_efi_TRUE@am__append_11570 = $(nodist_gcry_seed_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11571 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_seed.marker +@COND_x86_64_efi_TRUE@am__append_11572 = gcry_seed.mod +@COND_x86_64_efi_TRUE@am__append_11573 = gcry_seed.marker +@COND_mips_yeeloong_TRUE@am__append_11574 = gcry_seed.module +@COND_mips_yeeloong_TRUE@am__append_11575 = gcry_seed.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11576 = +@COND_mips_yeeloong_TRUE@am__append_11577 = $(nodist_gcry_seed_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11578 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_seed_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_seed.marker +@COND_mips_yeeloong_TRUE@am__append_11579 = gcry_seed.mod +@COND_mips_yeeloong_TRUE@am__append_11580 = gcry_seed.marker +@COND_sparc64_ieee1275_TRUE@am__append_11581 = gcry_seed.module +@COND_sparc64_ieee1275_TRUE@am__append_11582 = gcry_seed.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11583 = +@COND_sparc64_ieee1275_TRUE@am__append_11584 = $(nodist_gcry_seed_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11585 = $(nodist_gcry_seed_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_seed.marker +@COND_sparc64_ieee1275_TRUE@am__append_11586 = gcry_seed.mod +@COND_sparc64_ieee1275_TRUE@am__append_11587 = gcry_seed.marker +@COND_powerpc_ieee1275_TRUE@am__append_11588 = gcry_seed.module +@COND_powerpc_ieee1275_TRUE@am__append_11589 = gcry_seed.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11590 = +@COND_powerpc_ieee1275_TRUE@am__append_11591 = $(nodist_gcry_seed_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11592 = $(nodist_gcry_seed_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_seed.marker +@COND_powerpc_ieee1275_TRUE@am__append_11593 = gcry_seed.mod +@COND_powerpc_ieee1275_TRUE@am__append_11594 = gcry_seed.marker +@COND_emu_TRUE@am__append_11595 = gcry_serpent.module +@COND_emu_TRUE@am__append_11596 = gcry_serpent.module$(EXEEXT) +@COND_emu_TRUE@am__append_11597 = +@COND_emu_TRUE@am__append_11598 = $(nodist_gcry_serpent_module_SOURCES) +@COND_emu_TRUE@am__append_11599 = \ +@COND_emu_TRUE@ $(nodist_gcry_serpent_module_SOURCES) \ +@COND_emu_TRUE@ gcry_serpent.marker +@COND_emu_TRUE@am__append_11600 = gcry_serpent.mod +@COND_emu_TRUE@am__append_11601 = gcry_serpent.marker +@COND_i386_pc_TRUE@am__append_11602 = gcry_serpent.module +@COND_i386_pc_TRUE@am__append_11603 = gcry_serpent.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11604 = +@COND_i386_pc_TRUE@am__append_11605 = $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11606 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_serpent_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_serpent.marker +@COND_i386_pc_TRUE@am__append_11607 = gcry_serpent.mod +@COND_i386_pc_TRUE@am__append_11608 = gcry_serpent.marker +@COND_i386_efi_TRUE@am__append_11609 = gcry_serpent.module +@COND_i386_efi_TRUE@am__append_11610 = gcry_serpent.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11611 = +@COND_i386_efi_TRUE@am__append_11612 = $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11613 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_serpent_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_serpent.marker +@COND_i386_efi_TRUE@am__append_11614 = gcry_serpent.mod +@COND_i386_efi_TRUE@am__append_11615 = gcry_serpent.marker +@COND_i386_qemu_TRUE@am__append_11616 = gcry_serpent.module +@COND_i386_qemu_TRUE@am__append_11617 = gcry_serpent.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11618 = +@COND_i386_qemu_TRUE@am__append_11619 = $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11620 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_serpent_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_serpent.marker +@COND_i386_qemu_TRUE@am__append_11621 = gcry_serpent.mod +@COND_i386_qemu_TRUE@am__append_11622 = gcry_serpent.marker +@COND_i386_coreboot_TRUE@am__append_11623 = gcry_serpent.module +@COND_i386_coreboot_TRUE@am__append_11624 = gcry_serpent.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11625 = +@COND_i386_coreboot_TRUE@am__append_11626 = $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11627 = $(nodist_gcry_serpent_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_serpent.marker +@COND_i386_coreboot_TRUE@am__append_11628 = gcry_serpent.mod +@COND_i386_coreboot_TRUE@am__append_11629 = gcry_serpent.marker +@COND_i386_multiboot_TRUE@am__append_11630 = gcry_serpent.module +@COND_i386_multiboot_TRUE@am__append_11631 = gcry_serpent.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11632 = +@COND_i386_multiboot_TRUE@am__append_11633 = $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11634 = $(nodist_gcry_serpent_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_serpent.marker +@COND_i386_multiboot_TRUE@am__append_11635 = gcry_serpent.mod +@COND_i386_multiboot_TRUE@am__append_11636 = gcry_serpent.marker +@COND_i386_ieee1275_TRUE@am__append_11637 = gcry_serpent.module +@COND_i386_ieee1275_TRUE@am__append_11638 = gcry_serpent.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11639 = +@COND_i386_ieee1275_TRUE@am__append_11640 = $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11641 = $(nodist_gcry_serpent_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_serpent.marker +@COND_i386_ieee1275_TRUE@am__append_11642 = gcry_serpent.mod +@COND_i386_ieee1275_TRUE@am__append_11643 = gcry_serpent.marker +@COND_x86_64_efi_TRUE@am__append_11644 = gcry_serpent.module +@COND_x86_64_efi_TRUE@am__append_11645 = gcry_serpent.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11646 = +@COND_x86_64_efi_TRUE@am__append_11647 = $(nodist_gcry_serpent_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11648 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_serpent_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_serpent.marker +@COND_x86_64_efi_TRUE@am__append_11649 = gcry_serpent.mod +@COND_x86_64_efi_TRUE@am__append_11650 = gcry_serpent.marker +@COND_mips_yeeloong_TRUE@am__append_11651 = gcry_serpent.module +@COND_mips_yeeloong_TRUE@am__append_11652 = gcry_serpent.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11653 = +@COND_mips_yeeloong_TRUE@am__append_11654 = $(nodist_gcry_serpent_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11655 = $(nodist_gcry_serpent_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_serpent.marker +@COND_mips_yeeloong_TRUE@am__append_11656 = gcry_serpent.mod +@COND_mips_yeeloong_TRUE@am__append_11657 = gcry_serpent.marker +@COND_sparc64_ieee1275_TRUE@am__append_11658 = gcry_serpent.module +@COND_sparc64_ieee1275_TRUE@am__append_11659 = gcry_serpent.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11660 = +@COND_sparc64_ieee1275_TRUE@am__append_11661 = $(nodist_gcry_serpent_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11662 = $(nodist_gcry_serpent_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_serpent.marker +@COND_sparc64_ieee1275_TRUE@am__append_11663 = gcry_serpent.mod +@COND_sparc64_ieee1275_TRUE@am__append_11664 = gcry_serpent.marker +@COND_powerpc_ieee1275_TRUE@am__append_11665 = gcry_serpent.module +@COND_powerpc_ieee1275_TRUE@am__append_11666 = gcry_serpent.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11667 = +@COND_powerpc_ieee1275_TRUE@am__append_11668 = $(nodist_gcry_serpent_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11669 = $(nodist_gcry_serpent_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_serpent.marker +@COND_powerpc_ieee1275_TRUE@am__append_11670 = gcry_serpent.mod +@COND_powerpc_ieee1275_TRUE@am__append_11671 = gcry_serpent.marker +@COND_emu_TRUE@am__append_11672 = gcry_sha1.module +@COND_emu_TRUE@am__append_11673 = gcry_sha1.module$(EXEEXT) +@COND_emu_TRUE@am__append_11674 = +@COND_emu_TRUE@am__append_11675 = $(nodist_gcry_sha1_module_SOURCES) +@COND_emu_TRUE@am__append_11676 = $(nodist_gcry_sha1_module_SOURCES) \ +@COND_emu_TRUE@ gcry_sha1.marker +@COND_emu_TRUE@am__append_11677 = gcry_sha1.mod +@COND_emu_TRUE@am__append_11678 = gcry_sha1.marker +@COND_i386_pc_TRUE@am__append_11679 = gcry_sha1.module +@COND_i386_pc_TRUE@am__append_11680 = gcry_sha1.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11681 = +@COND_i386_pc_TRUE@am__append_11682 = $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11683 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_sha1.marker +@COND_i386_pc_TRUE@am__append_11684 = gcry_sha1.mod +@COND_i386_pc_TRUE@am__append_11685 = gcry_sha1.marker +@COND_i386_efi_TRUE@am__append_11686 = gcry_sha1.module +@COND_i386_efi_TRUE@am__append_11687 = gcry_sha1.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11688 = +@COND_i386_efi_TRUE@am__append_11689 = $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11690 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_sha1.marker +@COND_i386_efi_TRUE@am__append_11691 = gcry_sha1.mod +@COND_i386_efi_TRUE@am__append_11692 = gcry_sha1.marker +@COND_i386_qemu_TRUE@am__append_11693 = gcry_sha1.module +@COND_i386_qemu_TRUE@am__append_11694 = gcry_sha1.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11695 = +@COND_i386_qemu_TRUE@am__append_11696 = $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11697 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_sha1.marker +@COND_i386_qemu_TRUE@am__append_11698 = gcry_sha1.mod +@COND_i386_qemu_TRUE@am__append_11699 = gcry_sha1.marker +@COND_i386_coreboot_TRUE@am__append_11700 = gcry_sha1.module +@COND_i386_coreboot_TRUE@am__append_11701 = gcry_sha1.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11702 = +@COND_i386_coreboot_TRUE@am__append_11703 = $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11704 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_sha1.marker +@COND_i386_coreboot_TRUE@am__append_11705 = gcry_sha1.mod +@COND_i386_coreboot_TRUE@am__append_11706 = gcry_sha1.marker +@COND_i386_multiboot_TRUE@am__append_11707 = gcry_sha1.module +@COND_i386_multiboot_TRUE@am__append_11708 = gcry_sha1.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11709 = +@COND_i386_multiboot_TRUE@am__append_11710 = $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11711 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_sha1.marker +@COND_i386_multiboot_TRUE@am__append_11712 = gcry_sha1.mod +@COND_i386_multiboot_TRUE@am__append_11713 = gcry_sha1.marker +@COND_i386_ieee1275_TRUE@am__append_11714 = gcry_sha1.module +@COND_i386_ieee1275_TRUE@am__append_11715 = gcry_sha1.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11716 = +@COND_i386_ieee1275_TRUE@am__append_11717 = $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11718 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_sha1.marker +@COND_i386_ieee1275_TRUE@am__append_11719 = gcry_sha1.mod +@COND_i386_ieee1275_TRUE@am__append_11720 = gcry_sha1.marker +@COND_x86_64_efi_TRUE@am__append_11721 = gcry_sha1.module +@COND_x86_64_efi_TRUE@am__append_11722 = gcry_sha1.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11723 = +@COND_x86_64_efi_TRUE@am__append_11724 = $(nodist_gcry_sha1_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11725 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_sha1.marker +@COND_x86_64_efi_TRUE@am__append_11726 = gcry_sha1.mod +@COND_x86_64_efi_TRUE@am__append_11727 = gcry_sha1.marker +@COND_mips_yeeloong_TRUE@am__append_11728 = gcry_sha1.module +@COND_mips_yeeloong_TRUE@am__append_11729 = gcry_sha1.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11730 = +@COND_mips_yeeloong_TRUE@am__append_11731 = $(nodist_gcry_sha1_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11732 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_sha1_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_sha1.marker +@COND_mips_yeeloong_TRUE@am__append_11733 = gcry_sha1.mod +@COND_mips_yeeloong_TRUE@am__append_11734 = gcry_sha1.marker +@COND_sparc64_ieee1275_TRUE@am__append_11735 = gcry_sha1.module +@COND_sparc64_ieee1275_TRUE@am__append_11736 = gcry_sha1.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11737 = +@COND_sparc64_ieee1275_TRUE@am__append_11738 = $(nodist_gcry_sha1_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11739 = $(nodist_gcry_sha1_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_sha1.marker +@COND_sparc64_ieee1275_TRUE@am__append_11740 = gcry_sha1.mod +@COND_sparc64_ieee1275_TRUE@am__append_11741 = gcry_sha1.marker +@COND_powerpc_ieee1275_TRUE@am__append_11742 = gcry_sha1.module +@COND_powerpc_ieee1275_TRUE@am__append_11743 = gcry_sha1.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11744 = +@COND_powerpc_ieee1275_TRUE@am__append_11745 = $(nodist_gcry_sha1_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11746 = $(nodist_gcry_sha1_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_sha1.marker +@COND_powerpc_ieee1275_TRUE@am__append_11747 = gcry_sha1.mod +@COND_powerpc_ieee1275_TRUE@am__append_11748 = gcry_sha1.marker +@COND_emu_TRUE@am__append_11749 = gcry_sha256.module +@COND_emu_TRUE@am__append_11750 = gcry_sha256.module$(EXEEXT) +@COND_emu_TRUE@am__append_11751 = +@COND_emu_TRUE@am__append_11752 = $(nodist_gcry_sha256_module_SOURCES) +@COND_emu_TRUE@am__append_11753 = \ +@COND_emu_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_emu_TRUE@ gcry_sha256.marker +@COND_emu_TRUE@am__append_11754 = gcry_sha256.mod +@COND_emu_TRUE@am__append_11755 = gcry_sha256.marker +@COND_i386_pc_TRUE@am__append_11756 = gcry_sha256.module +@COND_i386_pc_TRUE@am__append_11757 = gcry_sha256.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11758 = +@COND_i386_pc_TRUE@am__append_11759 = $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11760 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_sha256.marker +@COND_i386_pc_TRUE@am__append_11761 = gcry_sha256.mod +@COND_i386_pc_TRUE@am__append_11762 = gcry_sha256.marker +@COND_i386_efi_TRUE@am__append_11763 = gcry_sha256.module +@COND_i386_efi_TRUE@am__append_11764 = gcry_sha256.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11765 = +@COND_i386_efi_TRUE@am__append_11766 = $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11767 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_sha256.marker +@COND_i386_efi_TRUE@am__append_11768 = gcry_sha256.mod +@COND_i386_efi_TRUE@am__append_11769 = gcry_sha256.marker +@COND_i386_qemu_TRUE@am__append_11770 = gcry_sha256.module +@COND_i386_qemu_TRUE@am__append_11771 = gcry_sha256.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11772 = +@COND_i386_qemu_TRUE@am__append_11773 = $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11774 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_sha256.marker +@COND_i386_qemu_TRUE@am__append_11775 = gcry_sha256.mod +@COND_i386_qemu_TRUE@am__append_11776 = gcry_sha256.marker +@COND_i386_coreboot_TRUE@am__append_11777 = gcry_sha256.module +@COND_i386_coreboot_TRUE@am__append_11778 = gcry_sha256.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11779 = +@COND_i386_coreboot_TRUE@am__append_11780 = $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11781 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_sha256.marker +@COND_i386_coreboot_TRUE@am__append_11782 = gcry_sha256.mod +@COND_i386_coreboot_TRUE@am__append_11783 = gcry_sha256.marker +@COND_i386_multiboot_TRUE@am__append_11784 = gcry_sha256.module +@COND_i386_multiboot_TRUE@am__append_11785 = gcry_sha256.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11786 = +@COND_i386_multiboot_TRUE@am__append_11787 = $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11788 = $(nodist_gcry_sha256_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_sha256.marker +@COND_i386_multiboot_TRUE@am__append_11789 = gcry_sha256.mod +@COND_i386_multiboot_TRUE@am__append_11790 = gcry_sha256.marker +@COND_i386_ieee1275_TRUE@am__append_11791 = gcry_sha256.module +@COND_i386_ieee1275_TRUE@am__append_11792 = gcry_sha256.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11793 = +@COND_i386_ieee1275_TRUE@am__append_11794 = $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11795 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_sha256.marker +@COND_i386_ieee1275_TRUE@am__append_11796 = gcry_sha256.mod +@COND_i386_ieee1275_TRUE@am__append_11797 = gcry_sha256.marker +@COND_x86_64_efi_TRUE@am__append_11798 = gcry_sha256.module +@COND_x86_64_efi_TRUE@am__append_11799 = gcry_sha256.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11800 = +@COND_x86_64_efi_TRUE@am__append_11801 = $(nodist_gcry_sha256_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11802 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_sha256.marker +@COND_x86_64_efi_TRUE@am__append_11803 = gcry_sha256.mod +@COND_x86_64_efi_TRUE@am__append_11804 = gcry_sha256.marker +@COND_mips_yeeloong_TRUE@am__append_11805 = gcry_sha256.module +@COND_mips_yeeloong_TRUE@am__append_11806 = gcry_sha256.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11807 = +@COND_mips_yeeloong_TRUE@am__append_11808 = $(nodist_gcry_sha256_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11809 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_sha256_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_sha256.marker +@COND_mips_yeeloong_TRUE@am__append_11810 = gcry_sha256.mod +@COND_mips_yeeloong_TRUE@am__append_11811 = gcry_sha256.marker +@COND_sparc64_ieee1275_TRUE@am__append_11812 = gcry_sha256.module +@COND_sparc64_ieee1275_TRUE@am__append_11813 = gcry_sha256.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11814 = +@COND_sparc64_ieee1275_TRUE@am__append_11815 = $(nodist_gcry_sha256_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11816 = $(nodist_gcry_sha256_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_sha256.marker +@COND_sparc64_ieee1275_TRUE@am__append_11817 = gcry_sha256.mod +@COND_sparc64_ieee1275_TRUE@am__append_11818 = gcry_sha256.marker +@COND_powerpc_ieee1275_TRUE@am__append_11819 = gcry_sha256.module +@COND_powerpc_ieee1275_TRUE@am__append_11820 = gcry_sha256.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11821 = +@COND_powerpc_ieee1275_TRUE@am__append_11822 = $(nodist_gcry_sha256_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11823 = $(nodist_gcry_sha256_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_sha256.marker +@COND_powerpc_ieee1275_TRUE@am__append_11824 = gcry_sha256.mod +@COND_powerpc_ieee1275_TRUE@am__append_11825 = gcry_sha256.marker +@COND_emu_TRUE@am__append_11826 = gcry_sha512.module +@COND_emu_TRUE@am__append_11827 = gcry_sha512.module$(EXEEXT) +@COND_emu_TRUE@am__append_11828 = +@COND_emu_TRUE@am__append_11829 = $(nodist_gcry_sha512_module_SOURCES) +@COND_emu_TRUE@am__append_11830 = \ +@COND_emu_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_emu_TRUE@ gcry_sha512.marker +@COND_emu_TRUE@am__append_11831 = gcry_sha512.mod +@COND_emu_TRUE@am__append_11832 = gcry_sha512.marker +@COND_i386_pc_TRUE@am__append_11833 = gcry_sha512.module +@COND_i386_pc_TRUE@am__append_11834 = gcry_sha512.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11835 = +@COND_i386_pc_TRUE@am__append_11836 = $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11837 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_sha512.marker +@COND_i386_pc_TRUE@am__append_11838 = gcry_sha512.mod +@COND_i386_pc_TRUE@am__append_11839 = gcry_sha512.marker +@COND_i386_efi_TRUE@am__append_11840 = gcry_sha512.module +@COND_i386_efi_TRUE@am__append_11841 = gcry_sha512.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11842 = +@COND_i386_efi_TRUE@am__append_11843 = $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11844 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_sha512.marker +@COND_i386_efi_TRUE@am__append_11845 = gcry_sha512.mod +@COND_i386_efi_TRUE@am__append_11846 = gcry_sha512.marker +@COND_i386_qemu_TRUE@am__append_11847 = gcry_sha512.module +@COND_i386_qemu_TRUE@am__append_11848 = gcry_sha512.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11849 = +@COND_i386_qemu_TRUE@am__append_11850 = $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11851 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_sha512.marker +@COND_i386_qemu_TRUE@am__append_11852 = gcry_sha512.mod +@COND_i386_qemu_TRUE@am__append_11853 = gcry_sha512.marker +@COND_i386_coreboot_TRUE@am__append_11854 = gcry_sha512.module +@COND_i386_coreboot_TRUE@am__append_11855 = gcry_sha512.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11856 = +@COND_i386_coreboot_TRUE@am__append_11857 = $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11858 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_sha512.marker +@COND_i386_coreboot_TRUE@am__append_11859 = gcry_sha512.mod +@COND_i386_coreboot_TRUE@am__append_11860 = gcry_sha512.marker +@COND_i386_multiboot_TRUE@am__append_11861 = gcry_sha512.module +@COND_i386_multiboot_TRUE@am__append_11862 = gcry_sha512.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11863 = +@COND_i386_multiboot_TRUE@am__append_11864 = $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11865 = $(nodist_gcry_sha512_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_sha512.marker +@COND_i386_multiboot_TRUE@am__append_11866 = gcry_sha512.mod +@COND_i386_multiboot_TRUE@am__append_11867 = gcry_sha512.marker +@COND_i386_ieee1275_TRUE@am__append_11868 = gcry_sha512.module +@COND_i386_ieee1275_TRUE@am__append_11869 = gcry_sha512.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11870 = +@COND_i386_ieee1275_TRUE@am__append_11871 = $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11872 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_sha512.marker +@COND_i386_ieee1275_TRUE@am__append_11873 = gcry_sha512.mod +@COND_i386_ieee1275_TRUE@am__append_11874 = gcry_sha512.marker +@COND_x86_64_efi_TRUE@am__append_11875 = gcry_sha512.module +@COND_x86_64_efi_TRUE@am__append_11876 = gcry_sha512.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11877 = +@COND_x86_64_efi_TRUE@am__append_11878 = $(nodist_gcry_sha512_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11879 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_sha512.marker +@COND_x86_64_efi_TRUE@am__append_11880 = gcry_sha512.mod +@COND_x86_64_efi_TRUE@am__append_11881 = gcry_sha512.marker +@COND_mips_yeeloong_TRUE@am__append_11882 = gcry_sha512.module +@COND_mips_yeeloong_TRUE@am__append_11883 = gcry_sha512.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11884 = +@COND_mips_yeeloong_TRUE@am__append_11885 = $(nodist_gcry_sha512_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11886 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_sha512_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_sha512.marker +@COND_mips_yeeloong_TRUE@am__append_11887 = gcry_sha512.mod +@COND_mips_yeeloong_TRUE@am__append_11888 = gcry_sha512.marker +@COND_sparc64_ieee1275_TRUE@am__append_11889 = gcry_sha512.module +@COND_sparc64_ieee1275_TRUE@am__append_11890 = gcry_sha512.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11891 = +@COND_sparc64_ieee1275_TRUE@am__append_11892 = $(nodist_gcry_sha512_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11893 = $(nodist_gcry_sha512_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_sha512.marker +@COND_sparc64_ieee1275_TRUE@am__append_11894 = gcry_sha512.mod +@COND_sparc64_ieee1275_TRUE@am__append_11895 = gcry_sha512.marker +@COND_powerpc_ieee1275_TRUE@am__append_11896 = gcry_sha512.module +@COND_powerpc_ieee1275_TRUE@am__append_11897 = gcry_sha512.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11898 = +@COND_powerpc_ieee1275_TRUE@am__append_11899 = $(nodist_gcry_sha512_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11900 = $(nodist_gcry_sha512_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_sha512.marker +@COND_powerpc_ieee1275_TRUE@am__append_11901 = gcry_sha512.mod +@COND_powerpc_ieee1275_TRUE@am__append_11902 = gcry_sha512.marker +@COND_emu_TRUE@am__append_11903 = gcry_tiger.module +@COND_emu_TRUE@am__append_11904 = gcry_tiger.module$(EXEEXT) +@COND_emu_TRUE@am__append_11905 = +@COND_emu_TRUE@am__append_11906 = $(nodist_gcry_tiger_module_SOURCES) +@COND_emu_TRUE@am__append_11907 = $(nodist_gcry_tiger_module_SOURCES) \ +@COND_emu_TRUE@ gcry_tiger.marker +@COND_emu_TRUE@am__append_11908 = gcry_tiger.mod +@COND_emu_TRUE@am__append_11909 = gcry_tiger.marker +@COND_i386_pc_TRUE@am__append_11910 = gcry_tiger.module +@COND_i386_pc_TRUE@am__append_11911 = gcry_tiger.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11912 = +@COND_i386_pc_TRUE@am__append_11913 = $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11914 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_tiger.marker +@COND_i386_pc_TRUE@am__append_11915 = gcry_tiger.mod +@COND_i386_pc_TRUE@am__append_11916 = gcry_tiger.marker +@COND_i386_efi_TRUE@am__append_11917 = gcry_tiger.module +@COND_i386_efi_TRUE@am__append_11918 = gcry_tiger.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11919 = +@COND_i386_efi_TRUE@am__append_11920 = $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11921 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_tiger.marker +@COND_i386_efi_TRUE@am__append_11922 = gcry_tiger.mod +@COND_i386_efi_TRUE@am__append_11923 = gcry_tiger.marker +@COND_i386_qemu_TRUE@am__append_11924 = gcry_tiger.module +@COND_i386_qemu_TRUE@am__append_11925 = gcry_tiger.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_11926 = +@COND_i386_qemu_TRUE@am__append_11927 = $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_11928 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_tiger.marker +@COND_i386_qemu_TRUE@am__append_11929 = gcry_tiger.mod +@COND_i386_qemu_TRUE@am__append_11930 = gcry_tiger.marker +@COND_i386_coreboot_TRUE@am__append_11931 = gcry_tiger.module +@COND_i386_coreboot_TRUE@am__append_11932 = gcry_tiger.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_11933 = +@COND_i386_coreboot_TRUE@am__append_11934 = $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_11935 = \ +@COND_i386_coreboot_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_tiger.marker +@COND_i386_coreboot_TRUE@am__append_11936 = gcry_tiger.mod +@COND_i386_coreboot_TRUE@am__append_11937 = gcry_tiger.marker +@COND_i386_multiboot_TRUE@am__append_11938 = gcry_tiger.module +@COND_i386_multiboot_TRUE@am__append_11939 = gcry_tiger.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_11940 = +@COND_i386_multiboot_TRUE@am__append_11941 = $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_11942 = \ +@COND_i386_multiboot_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_tiger.marker +@COND_i386_multiboot_TRUE@am__append_11943 = gcry_tiger.mod +@COND_i386_multiboot_TRUE@am__append_11944 = gcry_tiger.marker +@COND_i386_ieee1275_TRUE@am__append_11945 = gcry_tiger.module +@COND_i386_ieee1275_TRUE@am__append_11946 = gcry_tiger.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_11947 = +@COND_i386_ieee1275_TRUE@am__append_11948 = $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_11949 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_tiger.marker +@COND_i386_ieee1275_TRUE@am__append_11950 = gcry_tiger.mod +@COND_i386_ieee1275_TRUE@am__append_11951 = gcry_tiger.marker +@COND_x86_64_efi_TRUE@am__append_11952 = gcry_tiger.module +@COND_x86_64_efi_TRUE@am__append_11953 = gcry_tiger.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_11954 = +@COND_x86_64_efi_TRUE@am__append_11955 = $(nodist_gcry_tiger_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_11956 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_tiger.marker +@COND_x86_64_efi_TRUE@am__append_11957 = gcry_tiger.mod +@COND_x86_64_efi_TRUE@am__append_11958 = gcry_tiger.marker +@COND_mips_yeeloong_TRUE@am__append_11959 = gcry_tiger.module +@COND_mips_yeeloong_TRUE@am__append_11960 = gcry_tiger.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_11961 = +@COND_mips_yeeloong_TRUE@am__append_11962 = $(nodist_gcry_tiger_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_11963 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_gcry_tiger_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_tiger.marker +@COND_mips_yeeloong_TRUE@am__append_11964 = gcry_tiger.mod +@COND_mips_yeeloong_TRUE@am__append_11965 = gcry_tiger.marker +@COND_sparc64_ieee1275_TRUE@am__append_11966 = gcry_tiger.module +@COND_sparc64_ieee1275_TRUE@am__append_11967 = gcry_tiger.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_11968 = +@COND_sparc64_ieee1275_TRUE@am__append_11969 = $(nodist_gcry_tiger_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_11970 = $(nodist_gcry_tiger_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_tiger.marker +@COND_sparc64_ieee1275_TRUE@am__append_11971 = gcry_tiger.mod +@COND_sparc64_ieee1275_TRUE@am__append_11972 = gcry_tiger.marker +@COND_powerpc_ieee1275_TRUE@am__append_11973 = gcry_tiger.module +@COND_powerpc_ieee1275_TRUE@am__append_11974 = gcry_tiger.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_11975 = +@COND_powerpc_ieee1275_TRUE@am__append_11976 = $(nodist_gcry_tiger_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_11977 = $(nodist_gcry_tiger_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_tiger.marker +@COND_powerpc_ieee1275_TRUE@am__append_11978 = gcry_tiger.mod +@COND_powerpc_ieee1275_TRUE@am__append_11979 = gcry_tiger.marker +@COND_emu_TRUE@am__append_11980 = gcry_twofish.module +@COND_emu_TRUE@am__append_11981 = gcry_twofish.module$(EXEEXT) +@COND_emu_TRUE@am__append_11982 = +@COND_emu_TRUE@am__append_11983 = $(nodist_gcry_twofish_module_SOURCES) +@COND_emu_TRUE@am__append_11984 = \ +@COND_emu_TRUE@ $(nodist_gcry_twofish_module_SOURCES) \ +@COND_emu_TRUE@ gcry_twofish.marker +@COND_emu_TRUE@am__append_11985 = gcry_twofish.mod +@COND_emu_TRUE@am__append_11986 = gcry_twofish.marker +@COND_i386_pc_TRUE@am__append_11987 = gcry_twofish.module +@COND_i386_pc_TRUE@am__append_11988 = gcry_twofish.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_11989 = +@COND_i386_pc_TRUE@am__append_11990 = $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_pc_TRUE@am__append_11991 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_twofish_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_twofish.marker +@COND_i386_pc_TRUE@am__append_11992 = gcry_twofish.mod +@COND_i386_pc_TRUE@am__append_11993 = gcry_twofish.marker +@COND_i386_efi_TRUE@am__append_11994 = gcry_twofish.module +@COND_i386_efi_TRUE@am__append_11995 = gcry_twofish.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_11996 = +@COND_i386_efi_TRUE@am__append_11997 = $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_efi_TRUE@am__append_11998 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_twofish_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_twofish.marker +@COND_i386_efi_TRUE@am__append_11999 = gcry_twofish.mod +@COND_i386_efi_TRUE@am__append_12000 = gcry_twofish.marker +@COND_i386_qemu_TRUE@am__append_12001 = gcry_twofish.module +@COND_i386_qemu_TRUE@am__append_12002 = gcry_twofish.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_12003 = +@COND_i386_qemu_TRUE@am__append_12004 = $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_12005 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_twofish_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_twofish.marker +@COND_i386_qemu_TRUE@am__append_12006 = gcry_twofish.mod +@COND_i386_qemu_TRUE@am__append_12007 = gcry_twofish.marker +@COND_i386_coreboot_TRUE@am__append_12008 = gcry_twofish.module +@COND_i386_coreboot_TRUE@am__append_12009 = gcry_twofish.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_12010 = +@COND_i386_coreboot_TRUE@am__append_12011 = $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_12012 = $(nodist_gcry_twofish_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_twofish.marker +@COND_i386_coreboot_TRUE@am__append_12013 = gcry_twofish.mod +@COND_i386_coreboot_TRUE@am__append_12014 = gcry_twofish.marker +@COND_i386_multiboot_TRUE@am__append_12015 = gcry_twofish.module +@COND_i386_multiboot_TRUE@am__append_12016 = gcry_twofish.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_12017 = +@COND_i386_multiboot_TRUE@am__append_12018 = $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_12019 = $(nodist_gcry_twofish_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_twofish.marker +@COND_i386_multiboot_TRUE@am__append_12020 = gcry_twofish.mod +@COND_i386_multiboot_TRUE@am__append_12021 = gcry_twofish.marker +@COND_i386_ieee1275_TRUE@am__append_12022 = gcry_twofish.module +@COND_i386_ieee1275_TRUE@am__append_12023 = gcry_twofish.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_12024 = +@COND_i386_ieee1275_TRUE@am__append_12025 = $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_12026 = $(nodist_gcry_twofish_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_twofish.marker +@COND_i386_ieee1275_TRUE@am__append_12027 = gcry_twofish.mod +@COND_i386_ieee1275_TRUE@am__append_12028 = gcry_twofish.marker +@COND_x86_64_efi_TRUE@am__append_12029 = gcry_twofish.module +@COND_x86_64_efi_TRUE@am__append_12030 = gcry_twofish.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_12031 = +@COND_x86_64_efi_TRUE@am__append_12032 = $(nodist_gcry_twofish_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_12033 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_twofish_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_twofish.marker +@COND_x86_64_efi_TRUE@am__append_12034 = gcry_twofish.mod +@COND_x86_64_efi_TRUE@am__append_12035 = gcry_twofish.marker +@COND_mips_yeeloong_TRUE@am__append_12036 = gcry_twofish.module +@COND_mips_yeeloong_TRUE@am__append_12037 = gcry_twofish.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_12038 = +@COND_mips_yeeloong_TRUE@am__append_12039 = $(nodist_gcry_twofish_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_12040 = $(nodist_gcry_twofish_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_twofish.marker +@COND_mips_yeeloong_TRUE@am__append_12041 = gcry_twofish.mod +@COND_mips_yeeloong_TRUE@am__append_12042 = gcry_twofish.marker +@COND_sparc64_ieee1275_TRUE@am__append_12043 = gcry_twofish.module +@COND_sparc64_ieee1275_TRUE@am__append_12044 = gcry_twofish.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_12045 = +@COND_sparc64_ieee1275_TRUE@am__append_12046 = $(nodist_gcry_twofish_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12047 = $(nodist_gcry_twofish_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_twofish.marker +@COND_sparc64_ieee1275_TRUE@am__append_12048 = gcry_twofish.mod +@COND_sparc64_ieee1275_TRUE@am__append_12049 = gcry_twofish.marker +@COND_powerpc_ieee1275_TRUE@am__append_12050 = gcry_twofish.module +@COND_powerpc_ieee1275_TRUE@am__append_12051 = gcry_twofish.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_12052 = +@COND_powerpc_ieee1275_TRUE@am__append_12053 = $(nodist_gcry_twofish_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_12054 = $(nodist_gcry_twofish_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_twofish.marker +@COND_powerpc_ieee1275_TRUE@am__append_12055 = gcry_twofish.mod +@COND_powerpc_ieee1275_TRUE@am__append_12056 = gcry_twofish.marker +@COND_emu_TRUE@am__append_12057 = gcry_whirlpool.module +@COND_emu_TRUE@am__append_12058 = gcry_whirlpool.module$(EXEEXT) +@COND_emu_TRUE@am__append_12059 = +@COND_emu_TRUE@am__append_12060 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_emu_TRUE@am__append_12061 = \ +@COND_emu_TRUE@ $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_emu_TRUE@ gcry_whirlpool.marker +@COND_emu_TRUE@am__append_12062 = gcry_whirlpool.mod +@COND_emu_TRUE@am__append_12063 = gcry_whirlpool.marker +@COND_i386_pc_TRUE@am__append_12064 = gcry_whirlpool.module +@COND_i386_pc_TRUE@am__append_12065 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_pc_TRUE@am__append_12066 = +@COND_i386_pc_TRUE@am__append_12067 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_pc_TRUE@am__append_12068 = \ +@COND_i386_pc_TRUE@ $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_i386_pc_TRUE@ gcry_whirlpool.marker +@COND_i386_pc_TRUE@am__append_12069 = gcry_whirlpool.mod +@COND_i386_pc_TRUE@am__append_12070 = gcry_whirlpool.marker +@COND_i386_efi_TRUE@am__append_12071 = gcry_whirlpool.module +@COND_i386_efi_TRUE@am__append_12072 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_efi_TRUE@am__append_12073 = +@COND_i386_efi_TRUE@am__append_12074 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_efi_TRUE@am__append_12075 = \ +@COND_i386_efi_TRUE@ $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_i386_efi_TRUE@ gcry_whirlpool.marker +@COND_i386_efi_TRUE@am__append_12076 = gcry_whirlpool.mod +@COND_i386_efi_TRUE@am__append_12077 = gcry_whirlpool.marker +@COND_i386_qemu_TRUE@am__append_12078 = gcry_whirlpool.module +@COND_i386_qemu_TRUE@am__append_12079 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__append_12080 = +@COND_i386_qemu_TRUE@am__append_12081 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_qemu_TRUE@am__append_12082 = \ +@COND_i386_qemu_TRUE@ $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_i386_qemu_TRUE@ gcry_whirlpool.marker +@COND_i386_qemu_TRUE@am__append_12083 = gcry_whirlpool.mod +@COND_i386_qemu_TRUE@am__append_12084 = gcry_whirlpool.marker +@COND_i386_coreboot_TRUE@am__append_12085 = gcry_whirlpool.module +@COND_i386_coreboot_TRUE@am__append_12086 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__append_12087 = +@COND_i386_coreboot_TRUE@am__append_12088 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_coreboot_TRUE@am__append_12089 = $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_i386_coreboot_TRUE@ gcry_whirlpool.marker +@COND_i386_coreboot_TRUE@am__append_12090 = gcry_whirlpool.mod +@COND_i386_coreboot_TRUE@am__append_12091 = gcry_whirlpool.marker +@COND_i386_multiboot_TRUE@am__append_12092 = gcry_whirlpool.module +@COND_i386_multiboot_TRUE@am__append_12093 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__append_12094 = +@COND_i386_multiboot_TRUE@am__append_12095 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_multiboot_TRUE@am__append_12096 = $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_i386_multiboot_TRUE@ gcry_whirlpool.marker +@COND_i386_multiboot_TRUE@am__append_12097 = gcry_whirlpool.mod +@COND_i386_multiboot_TRUE@am__append_12098 = gcry_whirlpool.marker +@COND_i386_ieee1275_TRUE@am__append_12099 = gcry_whirlpool.module +@COND_i386_ieee1275_TRUE@am__append_12100 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__append_12101 = +@COND_i386_ieee1275_TRUE@am__append_12102 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_12103 = $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_i386_ieee1275_TRUE@ gcry_whirlpool.marker +@COND_i386_ieee1275_TRUE@am__append_12104 = gcry_whirlpool.mod +@COND_i386_ieee1275_TRUE@am__append_12105 = gcry_whirlpool.marker +@COND_x86_64_efi_TRUE@am__append_12106 = gcry_whirlpool.module +@COND_x86_64_efi_TRUE@am__append_12107 = gcry_whirlpool.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__append_12108 = +@COND_x86_64_efi_TRUE@am__append_12109 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_x86_64_efi_TRUE@am__append_12110 = \ +@COND_x86_64_efi_TRUE@ $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_x86_64_efi_TRUE@ gcry_whirlpool.marker +@COND_x86_64_efi_TRUE@am__append_12111 = gcry_whirlpool.mod +@COND_x86_64_efi_TRUE@am__append_12112 = gcry_whirlpool.marker +@COND_mips_yeeloong_TRUE@am__append_12113 = gcry_whirlpool.module +@COND_mips_yeeloong_TRUE@am__append_12114 = gcry_whirlpool.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__append_12115 = +@COND_mips_yeeloong_TRUE@am__append_12116 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_12117 = $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_mips_yeeloong_TRUE@ gcry_whirlpool.marker +@COND_mips_yeeloong_TRUE@am__append_12118 = gcry_whirlpool.mod +@COND_mips_yeeloong_TRUE@am__append_12119 = gcry_whirlpool.marker +@COND_sparc64_ieee1275_TRUE@am__append_12120 = gcry_whirlpool.module +@COND_sparc64_ieee1275_TRUE@am__append_12121 = gcry_whirlpool.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__append_12122 = +@COND_sparc64_ieee1275_TRUE@am__append_12123 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12124 = $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ gcry_whirlpool.marker +@COND_sparc64_ieee1275_TRUE@am__append_12125 = gcry_whirlpool.mod +@COND_sparc64_ieee1275_TRUE@am__append_12126 = gcry_whirlpool.marker +@COND_powerpc_ieee1275_TRUE@am__append_12127 = gcry_whirlpool.module +@COND_powerpc_ieee1275_TRUE@am__append_12128 = gcry_whirlpool.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__append_12129 = +@COND_powerpc_ieee1275_TRUE@am__append_12130 = $(nodist_gcry_whirlpool_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_12131 = $(nodist_gcry_whirlpool_module_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ gcry_whirlpool.marker +@COND_powerpc_ieee1275_TRUE@am__append_12132 = gcry_whirlpool.mod +@COND_powerpc_ieee1275_TRUE@am__append_12133 = gcry_whirlpool.marker +@COND_emu_TRUE@am__append_12134 = kernel.exec +@COND_emu_TRUE@am__append_12135 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_emu_TRUE@am__append_12136 = $(nodist_kernel_exec_SOURCES) +@COND_emu_TRUE@am__append_12137 = $(nodist_kernel_exec_SOURCES) \ +@COND_emu_TRUE@ kernel.img +@COND_emu_TRUE@am__append_12138 = kernel.img +@COND_i386_pc_TRUE@am__append_12139 = kernel.exec +@COND_i386_pc_TRUE@am__append_12140 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_i386_pc_TRUE@am__append_12141 = $(nodist_kernel_exec_SOURCES) +@COND_i386_pc_TRUE@am__append_12142 = $(nodist_kernel_exec_SOURCES) \ +@COND_i386_pc_TRUE@ kernel.img +@COND_i386_pc_TRUE@am__append_12143 = kernel.img +@COND_i386_efi_TRUE@am__append_12144 = kernel.exec +@COND_i386_efi_TRUE@am__append_12145 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_i386_efi_TRUE@am__append_12146 = $(nodist_kernel_exec_SOURCES) +@COND_i386_efi_TRUE@am__append_12147 = $(nodist_kernel_exec_SOURCES) \ +@COND_i386_efi_TRUE@ kernel.img +@COND_i386_efi_TRUE@am__append_12148 = kernel.img +@COND_i386_qemu_TRUE@am__append_12149 = kernel.exec +@COND_i386_qemu_TRUE@am__append_12150 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_i386_qemu_TRUE@am__append_12151 = $(nodist_kernel_exec_SOURCES) +@COND_i386_qemu_TRUE@am__append_12152 = $(nodist_kernel_exec_SOURCES) \ +@COND_i386_qemu_TRUE@ kernel.img +@COND_i386_qemu_TRUE@am__append_12153 = kernel.img +@COND_i386_coreboot_TRUE@am__append_12154 = kernel.exec +@COND_i386_coreboot_TRUE@am__append_12155 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_i386_coreboot_TRUE@am__append_12156 = $(nodist_kernel_exec_SOURCES) +@COND_i386_coreboot_TRUE@am__append_12157 = \ +@COND_i386_coreboot_TRUE@ $(nodist_kernel_exec_SOURCES) \ +@COND_i386_coreboot_TRUE@ kernel.img +@COND_i386_coreboot_TRUE@am__append_12158 = kernel.img +@COND_i386_multiboot_TRUE@am__append_12159 = kernel.exec +@COND_i386_multiboot_TRUE@am__append_12160 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_i386_multiboot_TRUE@am__append_12161 = $(nodist_kernel_exec_SOURCES) +@COND_i386_multiboot_TRUE@am__append_12162 = \ +@COND_i386_multiboot_TRUE@ $(nodist_kernel_exec_SOURCES) \ +@COND_i386_multiboot_TRUE@ kernel.img +@COND_i386_multiboot_TRUE@am__append_12163 = kernel.img +@COND_i386_ieee1275_TRUE@am__append_12164 = kernel.exec +@COND_i386_ieee1275_TRUE@am__append_12165 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_i386_ieee1275_TRUE@am__append_12166 = $(nodist_kernel_exec_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_12167 = \ +@COND_i386_ieee1275_TRUE@ $(nodist_kernel_exec_SOURCES) \ +@COND_i386_ieee1275_TRUE@ kernel.img +@COND_i386_ieee1275_TRUE@am__append_12168 = kernel.img +@COND_x86_64_efi_TRUE@am__append_12169 = kernel.exec +@COND_x86_64_efi_TRUE@am__append_12170 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_x86_64_efi_TRUE@am__append_12171 = $(nodist_kernel_exec_SOURCES) +@COND_x86_64_efi_TRUE@am__append_12172 = \ +@COND_x86_64_efi_TRUE@ $(nodist_kernel_exec_SOURCES) kernel.img +@COND_x86_64_efi_TRUE@am__append_12173 = kernel.img +@COND_mips_yeeloong_TRUE@am__append_12174 = kernel.exec +@COND_mips_yeeloong_TRUE@am__append_12175 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_mips_yeeloong_TRUE@am__append_12176 = $(nodist_kernel_exec_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_12177 = \ +@COND_mips_yeeloong_TRUE@ $(nodist_kernel_exec_SOURCES) \ +@COND_mips_yeeloong_TRUE@ kernel.img +@COND_mips_yeeloong_TRUE@am__append_12178 = kernel.img +@COND_sparc64_ieee1275_TRUE@am__append_12179 = kernel.exec +@COND_sparc64_ieee1275_TRUE@am__append_12180 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_sparc64_ieee1275_TRUE@am__append_12181 = $(nodist_kernel_exec_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12182 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_kernel_exec_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ kernel.img +@COND_sparc64_ieee1275_TRUE@am__append_12183 = kernel.img +@COND_powerpc_ieee1275_TRUE@am__append_12184 = kernel.exec +@COND_powerpc_ieee1275_TRUE@am__append_12185 = video/sm712_init.c kern/i386/realmode.S kern/i386/pc/lzma_decode.S kern/mips/cache_flush.S +@COND_powerpc_ieee1275_TRUE@am__append_12186 = $(nodist_kernel_exec_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_12187 = \ +@COND_powerpc_ieee1275_TRUE@ $(nodist_kernel_exec_SOURCES) \ +@COND_powerpc_ieee1275_TRUE@ kernel.img +@COND_powerpc_ieee1275_TRUE@am__append_12188 = kernel.img +@COND_i386_pc_TRUE@am__append_12189 = boot.image +@COND_i386_pc_TRUE@am__append_12190 = +@COND_i386_pc_TRUE@am__append_12191 = $(nodist_boot_image_SOURCES) +@COND_i386_pc_TRUE@am__append_12192 = $(nodist_boot_image_SOURCES) \ +@COND_i386_pc_TRUE@ boot.img +@COND_i386_pc_TRUE@am__append_12193 = boot.img +@COND_i386_qemu_TRUE@am__append_12194 = boot.image +@COND_i386_qemu_TRUE@am__append_12195 = +@COND_i386_qemu_TRUE@am__append_12196 = $(nodist_boot_image_SOURCES) +@COND_i386_qemu_TRUE@am__append_12197 = $(nodist_boot_image_SOURCES) \ +@COND_i386_qemu_TRUE@ boot.img +@COND_i386_qemu_TRUE@am__append_12198 = boot.img +@COND_sparc64_ieee1275_TRUE@am__append_12199 = boot.image +@COND_sparc64_ieee1275_TRUE@am__append_12200 = +@COND_sparc64_ieee1275_TRUE@am__append_12201 = $(nodist_boot_image_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12202 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_boot_image_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ boot.img +@COND_sparc64_ieee1275_TRUE@am__append_12203 = boot.img +@COND_i386_pc_TRUE@am__append_12204 = cdboot.image pxeboot.image \ +@COND_i386_pc_TRUE@ diskboot.image +@COND_i386_pc_TRUE@am__append_12205 = +@COND_i386_pc_TRUE@am__append_12206 = $(nodist_cdboot_image_SOURCES) \ +@COND_i386_pc_TRUE@ $(nodist_pxeboot_image_SOURCES) \ +@COND_i386_pc_TRUE@ $(nodist_diskboot_image_SOURCES) +@COND_i386_pc_TRUE@am__append_12207 = $(nodist_cdboot_image_SOURCES) \ +@COND_i386_pc_TRUE@ cdboot.img $(nodist_pxeboot_image_SOURCES) \ +@COND_i386_pc_TRUE@ pxeboot.img \ +@COND_i386_pc_TRUE@ $(nodist_diskboot_image_SOURCES) \ +@COND_i386_pc_TRUE@ diskboot.img +@COND_i386_pc_TRUE@am__append_12208 = cdboot.img pxeboot.img \ +@COND_i386_pc_TRUE@ diskboot.img +@COND_sparc64_ieee1275_TRUE@am__append_12209 = diskboot.image +@COND_sparc64_ieee1275_TRUE@am__append_12210 = +@COND_sparc64_ieee1275_TRUE@am__append_12211 = $(nodist_diskboot_image_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12212 = \ +@COND_sparc64_ieee1275_TRUE@ $(nodist_diskboot_image_SOURCES) \ +@COND_sparc64_ieee1275_TRUE@ diskboot.img +@COND_sparc64_ieee1275_TRUE@am__append_12213 = diskboot.img +@COND_i386_pc_TRUE@am__append_12214 = lnxboot.image +@COND_i386_pc_TRUE@am__append_12215 = +@COND_i386_pc_TRUE@am__append_12216 = $(nodist_lnxboot_image_SOURCES) +@COND_i386_pc_TRUE@am__append_12217 = $(nodist_lnxboot_image_SOURCES) \ +@COND_i386_pc_TRUE@ lnxboot.img +@COND_i386_pc_TRUE@am__append_12218 = lnxboot.img +@COND_mips_yeeloong_TRUE@am__append_12219 = xz_decompress.image \ +@COND_mips_yeeloong_TRUE@ none_decompress.image fwstart.image +@COND_mips_yeeloong_TRUE@am__append_12220 = +@COND_mips_yeeloong_TRUE@am__append_12221 = $(nodist_xz_decompress_image_SOURCES) \ +@COND_mips_yeeloong_TRUE@ $(nodist_none_decompress_image_SOURCES) \ +@COND_mips_yeeloong_TRUE@ $(nodist_fwstart_image_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_12222 = $(nodist_xz_decompress_image_SOURCES) \ +@COND_mips_yeeloong_TRUE@ xz_decompress.img \ +@COND_mips_yeeloong_TRUE@ $(nodist_none_decompress_image_SOURCES) \ +@COND_mips_yeeloong_TRUE@ none_decompress.img \ +@COND_mips_yeeloong_TRUE@ $(nodist_fwstart_image_SOURCES) \ +@COND_mips_yeeloong_TRUE@ fwstart.img +@COND_mips_yeeloong_TRUE@am__append_12223 = xz_decompress.img \ +@COND_mips_yeeloong_TRUE@ none_decompress.img fwstart.img +@COND_emu_TRUE@am__append_12224 = libgnulib.a +@COND_emu_TRUE@am__append_12225 = gnulib/regex.c +@COND_emu_TRUE@am__append_12226 = +@COND_emu_TRUE@am__append_12227 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_emu_TRUE@am__append_12228 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_emu_TRUE@am__append_12229 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_emu_TRUE@am__append_12230 = +@COND_emu_TRUE@am__append_12231 = $(nodist_libgnulib_a_SOURCES) +@COND_emu_TRUE@am__append_12232 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_pc_TRUE@am__append_12233 = libgnulib.a +@COND_i386_pc_TRUE@am__append_12234 = gnulib/regex.c +@COND_i386_pc_TRUE@am__append_12235 = +@COND_i386_pc_TRUE@am__append_12236 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_pc_TRUE@am__append_12237 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_pc_TRUE@am__append_12238 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_pc_TRUE@am__append_12239 = +@COND_i386_pc_TRUE@am__append_12240 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_pc_TRUE@am__append_12241 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_efi_TRUE@am__append_12242 = libgnulib.a +@COND_i386_efi_TRUE@am__append_12243 = gnulib/regex.c +@COND_i386_efi_TRUE@am__append_12244 = +@COND_i386_efi_TRUE@am__append_12245 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_efi_TRUE@am__append_12246 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_efi_TRUE@am__append_12247 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_efi_TRUE@am__append_12248 = +@COND_i386_efi_TRUE@am__append_12249 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_efi_TRUE@am__append_12250 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_qemu_TRUE@am__append_12251 = libgnulib.a +@COND_i386_qemu_TRUE@am__append_12252 = gnulib/regex.c +@COND_i386_qemu_TRUE@am__append_12253 = +@COND_i386_qemu_TRUE@am__append_12254 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_qemu_TRUE@am__append_12255 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_qemu_TRUE@am__append_12256 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_qemu_TRUE@am__append_12257 = +@COND_i386_qemu_TRUE@am__append_12258 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_qemu_TRUE@am__append_12259 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_coreboot_TRUE@am__append_12260 = libgnulib.a +@COND_i386_coreboot_TRUE@am__append_12261 = gnulib/regex.c +@COND_i386_coreboot_TRUE@am__append_12262 = +@COND_i386_coreboot_TRUE@am__append_12263 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@am__append_12264 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@am__append_12265 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_coreboot_TRUE@am__append_12266 = +@COND_i386_coreboot_TRUE@am__append_12267 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_coreboot_TRUE@am__append_12268 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_multiboot_TRUE@am__append_12269 = libgnulib.a +@COND_i386_multiboot_TRUE@am__append_12270 = gnulib/regex.c +@COND_i386_multiboot_TRUE@am__append_12271 = +@COND_i386_multiboot_TRUE@am__append_12272 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_multiboot_TRUE@am__append_12273 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_multiboot_TRUE@am__append_12274 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_multiboot_TRUE@am__append_12275 = +@COND_i386_multiboot_TRUE@am__append_12276 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_multiboot_TRUE@am__append_12277 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_12278 = libgnulib.a +@COND_i386_ieee1275_TRUE@am__append_12279 = gnulib/regex.c +@COND_i386_ieee1275_TRUE@am__append_12280 = +@COND_i386_ieee1275_TRUE@am__append_12281 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_ieee1275_TRUE@am__append_12282 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_ieee1275_TRUE@am__append_12283 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_i386_ieee1275_TRUE@am__append_12284 = +@COND_i386_ieee1275_TRUE@am__append_12285 = $(nodist_libgnulib_a_SOURCES) +@COND_i386_ieee1275_TRUE@am__append_12286 = $(nodist_libgnulib_a_SOURCES) +@COND_x86_64_efi_TRUE@am__append_12287 = libgnulib.a +@COND_x86_64_efi_TRUE@am__append_12288 = gnulib/regex.c +@COND_x86_64_efi_TRUE@am__append_12289 = +@COND_x86_64_efi_TRUE@am__append_12290 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_x86_64_efi_TRUE@am__append_12291 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_x86_64_efi_TRUE@am__append_12292 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_x86_64_efi_TRUE@am__append_12293 = +@COND_x86_64_efi_TRUE@am__append_12294 = $(nodist_libgnulib_a_SOURCES) +@COND_x86_64_efi_TRUE@am__append_12295 = $(nodist_libgnulib_a_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_12296 = libgnulib.a +@COND_mips_yeeloong_TRUE@am__append_12297 = gnulib/regex.c +@COND_mips_yeeloong_TRUE@am__append_12298 = +@COND_mips_yeeloong_TRUE@am__append_12299 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_mips_yeeloong_TRUE@am__append_12300 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_mips_yeeloong_TRUE@am__append_12301 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_mips_yeeloong_TRUE@am__append_12302 = +@COND_mips_yeeloong_TRUE@am__append_12303 = $(nodist_libgnulib_a_SOURCES) +@COND_mips_yeeloong_TRUE@am__append_12304 = $(nodist_libgnulib_a_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12305 = libgnulib.a +@COND_sparc64_ieee1275_TRUE@am__append_12306 = gnulib/regex.c +@COND_sparc64_ieee1275_TRUE@am__append_12307 = +@COND_sparc64_ieee1275_TRUE@am__append_12308 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_sparc64_ieee1275_TRUE@am__append_12309 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_sparc64_ieee1275_TRUE@am__append_12310 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_sparc64_ieee1275_TRUE@am__append_12311 = +@COND_sparc64_ieee1275_TRUE@am__append_12312 = $(nodist_libgnulib_a_SOURCES) +@COND_sparc64_ieee1275_TRUE@am__append_12313 = $(nodist_libgnulib_a_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_12314 = libgnulib.a +@COND_powerpc_ieee1275_TRUE@am__append_12315 = gnulib/regex.c +@COND_powerpc_ieee1275_TRUE@am__append_12316 = +@COND_powerpc_ieee1275_TRUE@am__append_12317 = $(AM_CFLAGS) $(CFLAGS_LIBRARY) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_powerpc_ieee1275_TRUE@am__append_12318 = $(AM_CPPFLAGS) $(CPPFLAGS_LIBRARY) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_powerpc_ieee1275_TRUE@am__append_12319 = $(AM_CCASFLAGS) $(CCASFLAGS_LIBRARY) +@COND_powerpc_ieee1275_TRUE@am__append_12320 = +@COND_powerpc_ieee1275_TRUE@am__append_12321 = $(nodist_libgnulib_a_SOURCES) +@COND_powerpc_ieee1275_TRUE@am__append_12322 = $(nodist_libgnulib_a_SOURCES) +@COND_emu_TRUE@am__append_12323 = grub-emu grub-emu-lite +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_12324 = grub-emu.1 +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@am__append_12325 = grub-emu.1 +@COND_emu_TRUE@am__append_12326 = +@COND_emu_TRUE@am__append_12327 = $(nodist_grub_emu_SOURCES) \ +@COND_emu_TRUE@ $(nodist_grub_emu_lite_SOURCES) +@COND_emu_TRUE@am__append_12328 = $(nodist_grub_emu_SOURCES) \ +@COND_emu_TRUE@ $(nodist_grub_emu_lite_SOURCES) gensyminfo.sh +@COND_emu_TRUE@am__append_12329 = gensyminfo.sh +@COND_emu_TRUE@am__append_12330 = gensyminfo.sh.in +@COND_i386_pc_TRUE@am__append_12331 = gensyminfo.sh +@COND_i386_pc_TRUE@am__append_12332 = gensyminfo.sh +@COND_i386_pc_TRUE@am__append_12333 = gensyminfo.sh.in +@COND_i386_efi_TRUE@am__append_12334 = gensyminfo.sh +@COND_i386_efi_TRUE@am__append_12335 = gensyminfo.sh +@COND_i386_efi_TRUE@am__append_12336 = gensyminfo.sh.in +@COND_i386_qemu_TRUE@am__append_12337 = gensyminfo.sh +@COND_i386_qemu_TRUE@am__append_12338 = gensyminfo.sh +@COND_i386_qemu_TRUE@am__append_12339 = gensyminfo.sh.in +@COND_i386_coreboot_TRUE@am__append_12340 = gensyminfo.sh +@COND_i386_coreboot_TRUE@am__append_12341 = gensyminfo.sh +@COND_i386_coreboot_TRUE@am__append_12342 = gensyminfo.sh.in +@COND_i386_multiboot_TRUE@am__append_12343 = gensyminfo.sh +@COND_i386_multiboot_TRUE@am__append_12344 = gensyminfo.sh +@COND_i386_multiboot_TRUE@am__append_12345 = gensyminfo.sh.in +@COND_i386_ieee1275_TRUE@am__append_12346 = gensyminfo.sh +@COND_i386_ieee1275_TRUE@am__append_12347 = gensyminfo.sh +@COND_i386_ieee1275_TRUE@am__append_12348 = gensyminfo.sh.in +@COND_x86_64_efi_TRUE@am__append_12349 = gensyminfo.sh +@COND_x86_64_efi_TRUE@am__append_12350 = gensyminfo.sh +@COND_x86_64_efi_TRUE@am__append_12351 = gensyminfo.sh.in +@COND_mips_yeeloong_TRUE@am__append_12352 = gensyminfo.sh +@COND_mips_yeeloong_TRUE@am__append_12353 = gensyminfo.sh +@COND_mips_yeeloong_TRUE@am__append_12354 = gensyminfo.sh.in +@COND_sparc64_ieee1275_TRUE@am__append_12355 = gensyminfo.sh +@COND_sparc64_ieee1275_TRUE@am__append_12356 = gensyminfo.sh +@COND_sparc64_ieee1275_TRUE@am__append_12357 = gensyminfo.sh.in +@COND_powerpc_ieee1275_TRUE@am__append_12358 = gensyminfo.sh +@COND_powerpc_ieee1275_TRUE@am__append_12359 = gensyminfo.sh +@COND_powerpc_ieee1275_TRUE@am__append_12360 = gensyminfo.sh.in +@COND_emu_TRUE@am__append_12361 = genmod.sh +@COND_emu_TRUE@am__append_12362 = genmod.sh +@COND_emu_TRUE@am__append_12363 = genmod.sh.in +@COND_i386_pc_TRUE@am__append_12364 = genmod.sh +@COND_i386_pc_TRUE@am__append_12365 = genmod.sh +@COND_i386_pc_TRUE@am__append_12366 = genmod.sh.in +@COND_i386_efi_TRUE@am__append_12367 = genmod.sh +@COND_i386_efi_TRUE@am__append_12368 = genmod.sh +@COND_i386_efi_TRUE@am__append_12369 = genmod.sh.in +@COND_i386_qemu_TRUE@am__append_12370 = genmod.sh +@COND_i386_qemu_TRUE@am__append_12371 = genmod.sh +@COND_i386_qemu_TRUE@am__append_12372 = genmod.sh.in +@COND_i386_coreboot_TRUE@am__append_12373 = genmod.sh +@COND_i386_coreboot_TRUE@am__append_12374 = genmod.sh +@COND_i386_coreboot_TRUE@am__append_12375 = genmod.sh.in +@COND_i386_multiboot_TRUE@am__append_12376 = genmod.sh +@COND_i386_multiboot_TRUE@am__append_12377 = genmod.sh +@COND_i386_multiboot_TRUE@am__append_12378 = genmod.sh.in +@COND_i386_ieee1275_TRUE@am__append_12379 = genmod.sh +@COND_i386_ieee1275_TRUE@am__append_12380 = genmod.sh +@COND_i386_ieee1275_TRUE@am__append_12381 = genmod.sh.in +@COND_x86_64_efi_TRUE@am__append_12382 = genmod.sh +@COND_x86_64_efi_TRUE@am__append_12383 = genmod.sh +@COND_x86_64_efi_TRUE@am__append_12384 = genmod.sh.in +@COND_mips_yeeloong_TRUE@am__append_12385 = genmod.sh +@COND_mips_yeeloong_TRUE@am__append_12386 = genmod.sh +@COND_mips_yeeloong_TRUE@am__append_12387 = genmod.sh.in +@COND_sparc64_ieee1275_TRUE@am__append_12388 = genmod.sh +@COND_sparc64_ieee1275_TRUE@am__append_12389 = genmod.sh +@COND_sparc64_ieee1275_TRUE@am__append_12390 = genmod.sh.in +@COND_powerpc_ieee1275_TRUE@am__append_12391 = genmod.sh +@COND_powerpc_ieee1275_TRUE@am__append_12392 = genmod.sh +@COND_powerpc_ieee1275_TRUE@am__append_12393 = genmod.sh.in +@COND_i386_pc_TRUE@am__append_12394 = $(top_builddir)/include/grub/machine/loader.h \ +@COND_i386_pc_TRUE@ $(top_builddir)/include/grub/machine/kernel.h \ +@COND_i386_pc_TRUE@ $(top_builddir)/include/grub/machine/pxe.h \ +@COND_i386_pc_TRUE@ $(top_builddir)/include/grub/machine/int.h \ +@COND_i386_pc_TRUE@ $(top_srcdir)/include/grub/i386/pit.h +@COND_i386_efi_TRUE@am__append_12395 = \ +@COND_i386_efi_TRUE@ $(top_srcdir)/include/grub/efi/efi.h \ +@COND_i386_efi_TRUE@ $(top_srcdir)/include/grub/efi/time.h \ +@COND_i386_efi_TRUE@ $(top_srcdir)/include/grub/efi/disk.h \ +@COND_i386_efi_TRUE@ $(top_srcdir)/include/grub/i386/pit.h +@COND_i386_coreboot_TRUE@am__append_12396 = $(top_srcdir)/include/grub/i386/pit.h +@COND_i386_multiboot_TRUE@am__append_12397 = $(top_srcdir)/include/grub/i386/pit.h +@COND_i386_qemu_TRUE@am__append_12398 = \ +@COND_i386_qemu_TRUE@ $(top_srcdir)/include/grub/pci.h \ +@COND_i386_qemu_TRUE@ $(top_srcdir)/include/grub/i386/pit.h +@COND_i386_ieee1275_TRUE@am__append_12399 = $(top_srcdir)/include/grub/ieee1275/ieee1275.h \ +@COND_i386_ieee1275_TRUE@ $(top_srcdir)/include/grub/terminfo.h \ +@COND_i386_ieee1275_TRUE@ $(top_srcdir)/include/grub/extcmd.h \ +@COND_i386_ieee1275_TRUE@ $(top_srcdir)/include/grub/lib/arg.h \ +@COND_i386_ieee1275_TRUE@ $(top_srcdir)/include/grub/i386/pit.h +@COND_x86_64_efi_TRUE@am__append_12400 = \ +@COND_x86_64_efi_TRUE@ $(top_srcdir)/include/grub/efi/efi.h \ +@COND_x86_64_efi_TRUE@ $(top_srcdir)/include/grub/efi/time.h \ +@COND_x86_64_efi_TRUE@ $(top_srcdir)/include/grub/efi/disk.h \ +@COND_x86_64_efi_TRUE@ $(top_srcdir)/include/grub/i386/pit.h +@COND_mips_yeeloong_TRUE@am__append_12401 = $(top_builddir)/include/grub/keyboard_layouts.h \ +@COND_mips_yeeloong_TRUE@ $(top_builddir)/include/grub/machine/kernel.h \ +@COND_mips_yeeloong_TRUE@ $(top_builddir)/include/grub/cpu/cache.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/bitmap.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/video.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/gfxterm.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/font.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/bitmap_scale.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/bufio.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/pci.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/cs5536.h \ +@COND_mips_yeeloong_TRUE@ $(top_builddir)/include/grub/machine/pci.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/serial.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/loader.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/terminfo.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/extcmd.h \ +@COND_mips_yeeloong_TRUE@ $(top_srcdir)/include/grub/lib/arg.h +@COND_powerpc_ieee1275_TRUE@am__append_12402 = $(top_srcdir)/include/grub/ieee1275/ieee1275.h \ +@COND_powerpc_ieee1275_TRUE@ $(top_srcdir)/include/grub/terminfo.h \ +@COND_powerpc_ieee1275_TRUE@ $(top_srcdir)/include/grub/extcmd.h \ +@COND_powerpc_ieee1275_TRUE@ $(top_srcdir)/include/grub/lib/arg.h +@COND_sparc64_ieee1275_TRUE@am__append_12403 = $(top_srcdir)/include/grub/ieee1275/ieee1275.h \ +@COND_sparc64_ieee1275_TRUE@ $(top_srcdir)/include/grub/sparc64/ieee1275/ieee1275.h \ +@COND_sparc64_ieee1275_TRUE@ $(top_srcdir)/include/grub/terminfo.h \ +@COND_sparc64_ieee1275_TRUE@ $(top_srcdir)/include/grub/extcmd.h \ +@COND_sparc64_ieee1275_TRUE@ $(top_srcdir)/include/grub/lib/arg.h +@COND_emu_TRUE@am__append_12404 = \ +@COND_emu_TRUE@ $(top_srcdir)/include/grub/datetime.h \ +@COND_emu_TRUE@ $(top_srcdir)/include/grub/emu/misc.h +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__append_12405 = $(top_srcdir)/include/grub/sdl.h +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__append_12406 = $(top_srcdir)/include/grub/libusb.h +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__append_12407 = $(top_srcdir)/include/grub/libpciaccess.h +@COND_emu_TRUE@am__append_12408 = grub_emu_init.h grub_emu_init.c +@COND_ENABLE_EFIEMU_TRUE@am__append_12409 = efiemu32.o efiemu64.o +@COND_ENABLE_EFIEMU_TRUE@am__append_12410 = efiemu32.o efiemu64.o efiemu64_c.o efiemu64_s.o +subdir = grub-core +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/argp.m4 \ + $(top_srcdir)/m4/asm-underscore.m4 $(top_srcdir)/m4/btowc.m4 \ + $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/dirname.m4 \ + $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \ + $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ + $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fcntl-o.m4 \ + $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fnmatch.m4 \ + $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getline.m4 \ + $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gnulib-common.m4 \ + $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/include_next.m4 \ + $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ + $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/langinfo_h.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ + $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/malloc.m4 \ + $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ + $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \ + $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/rawmemchr.m4 \ + $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ + $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stdbool.m4 \ + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ + $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ + $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \ + $(top_srcdir)/m4/strchrnul.m4 $(top_srcdir)/m4/strerror.m4 \ + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ + $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ + $(top_srcdir)/m4/sys_wait_h.m4 $(top_srcdir)/m4/sysexits.m4 \ + $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/vasnprintf.m4 \ + $(top_srcdir)/m4/vsnprintf.m4 $(top_srcdir)/m4/warn-on-use.m4 \ + $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ + $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ + $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config-util.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +libgnulib_a_AR = $(AR) $(ARFLAGS) +libgnulib_a_LIBADD = +am__libgnulib_a_SOURCES_DIST = gnulib/regex.c +am__dirstamp = $(am__leading_dot)dirstamp +@COND_emu_TRUE@am__objects_1 = gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_i386_pc_TRUE@am__objects_2 = gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_i386_efi_TRUE@am__objects_3 = \ +@COND_i386_efi_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_i386_qemu_TRUE@am__objects_4 = \ +@COND_i386_qemu_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_i386_coreboot_TRUE@am__objects_5 = \ +@COND_i386_coreboot_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_i386_multiboot_TRUE@am__objects_6 = \ +@COND_i386_multiboot_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_i386_ieee1275_TRUE@am__objects_7 = \ +@COND_i386_ieee1275_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_x86_64_efi_TRUE@am__objects_8 = \ +@COND_x86_64_efi_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_mips_yeeloong_TRUE@am__objects_9 = \ +@COND_mips_yeeloong_TRUE@ gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_sparc64_ieee1275_TRUE@am__objects_10 = gnulib/libgnulib_a-regex.$(OBJEXT) +@COND_powerpc_ieee1275_TRUE@am__objects_11 = gnulib/libgnulib_a-regex.$(OBJEXT) +am_libgnulib_a_OBJECTS = $(am__objects_1) $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ + $(am__objects_9) $(am__objects_10) $(am__objects_11) +am__objects_12 = +nodist_libgnulib_a_OBJECTS = $(am__objects_12) $(am__objects_12) \ + $(am__objects_12) $(am__objects_12) $(am__objects_12) \ + $(am__objects_12) $(am__objects_12) $(am__objects_12) \ + $(am__objects_12) $(am__objects_12) $(am__objects_12) +libgnulib_a_OBJECTS = $(am_libgnulib_a_OBJECTS) \ + $(nodist_libgnulib_a_OBJECTS) +@COND_emu_TRUE@am__EXEEXT_1 = grub-emu$(EXEEXT) grub-emu-lite$(EXEEXT) +am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \ + "$(DESTDIR)$(bindir)" "$(DESTDIR)$(grubconfdir)" \ + "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)" \ + "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(grubconfdir)" \ + "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(platformdir)" +@COND_emu_TRUE@am__EXEEXT_2 = trig.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_3 = trig.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_4 = trig.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_5 = trig.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_6 = trig.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_7 = trig.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_8 = trig.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_9 = trig.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_10 = trig.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_11 = trig.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_12 = trig.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_13 = cs5536.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_14 = cs5536.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_15 = cs5536.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_16 = cs5536.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_17 = cs5536.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_18 = cs5536.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_19 = cs5536.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__EXEEXT_20 = \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ libusb.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_21 = lsspd.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__EXEEXT_22 = \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ usb.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_23 = usb.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_24 = usb.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_25 = usb.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_26 = usb.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_27 = usb.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_28 = usb.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_29 = usb.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_30 = usb.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_31 = usbserial_common.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_32 = usbserial_common.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_33 = usbserial_common.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_34 = \ +@COND_i386_coreboot_TRUE@ usbserial_common.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_35 = \ +@COND_i386_multiboot_TRUE@ usbserial_common.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_36 = \ +@COND_i386_ieee1275_TRUE@ usbserial_common.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_37 = \ +@COND_x86_64_efi_TRUE@ usbserial_common.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_38 = \ +@COND_mips_yeeloong_TRUE@ usbserial_common.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_39 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_40 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_41 = usbserial_pl2303.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_42 = \ +@COND_i386_coreboot_TRUE@ usbserial_pl2303.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_43 = \ +@COND_i386_multiboot_TRUE@ usbserial_pl2303.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_44 = \ +@COND_i386_ieee1275_TRUE@ usbserial_pl2303.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_45 = \ +@COND_x86_64_efi_TRUE@ usbserial_pl2303.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_46 = \ +@COND_mips_yeeloong_TRUE@ usbserial_pl2303.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_47 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_48 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_49 = usbserial_ftdi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_50 = \ +@COND_i386_coreboot_TRUE@ usbserial_ftdi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_51 = \ +@COND_i386_multiboot_TRUE@ usbserial_ftdi.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_52 = \ +@COND_i386_ieee1275_TRUE@ usbserial_ftdi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_53 = usbserial_ftdi.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_54 = \ +@COND_mips_yeeloong_TRUE@ usbserial_ftdi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_55 = uhci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_56 = uhci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_57 = uhci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_58 = uhci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_59 = uhci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_60 = uhci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_61 = uhci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_62 = ohci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_63 = ohci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_64 = ohci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_65 = ohci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_66 = ohci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_67 = ohci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_68 = ohci.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_69 = ohci.module$(EXEEXT) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am__EXEEXT_70 = \ +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@ pci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_71 = pci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_72 = pci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_73 = pci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_74 = pci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_75 = pci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_76 = pci.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_77 = cmostest.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_78 = cmostest.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_79 = cmostest.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_80 = cmostest.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_81 = cmostest.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_82 = cmostest.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_83 = iorw.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_84 = iorw.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_85 = iorw.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_86 = iorw.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_87 = iorw.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_88 = iorw.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_89 = iorw.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_90 = regexp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_91 = regexp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_92 = regexp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_93 = regexp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_94 = regexp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_95 = regexp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_96 = regexp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_97 = regexp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_98 = regexp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_99 = regexp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_100 = regexp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_101 = acpi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_102 = acpi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_103 = acpi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_104 = acpi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_105 = acpi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_106 = lsacpi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_107 = lsacpi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_108 = lsacpi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_109 = lsacpi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_110 = lsacpi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_111 = lsefisystab.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_112 = lsefisystab.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_113 = lssal.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_114 = lssal.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_115 = lsefimmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_116 = lsefimmap.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_117 = blocklist.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_118 = blocklist.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_119 = blocklist.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_120 = blocklist.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_121 = blocklist.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_122 = blocklist.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_123 = blocklist.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_124 = blocklist.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_125 = blocklist.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_126 = \ +@COND_sparc64_ieee1275_TRUE@ blocklist.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_127 = \ +@COND_powerpc_ieee1275_TRUE@ blocklist.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_128 = boot.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_129 = boot.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_130 = boot.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_131 = boot.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_132 = boot.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_133 = boot.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_134 = boot.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_135 = boot.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_136 = boot.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_137 = boot.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_138 = cat.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_139 = cat.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_140 = cat.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_141 = cat.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_142 = cat.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_143 = cat.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_144 = cat.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_145 = cat.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_146 = cat.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_147 = cat.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_148 = cat.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_149 = cmp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_150 = cmp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_151 = cmp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_152 = cmp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_153 = cmp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_154 = cmp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_155 = cmp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_156 = cmp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_157 = cmp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_158 = cmp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_159 = cmp.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_160 = configfile.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_161 = configfile.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_162 = configfile.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_163 = configfile.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_164 = configfile.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_165 = configfile.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_166 = configfile.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_167 = configfile.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_168 = configfile.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_169 = \ +@COND_sparc64_ieee1275_TRUE@ configfile.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_170 = \ +@COND_powerpc_ieee1275_TRUE@ configfile.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_171 = cpuid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_172 = cpuid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_173 = cpuid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_174 = cpuid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_175 = cpuid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_176 = cpuid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_177 = cpuid.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_178 = date.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_179 = date.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_180 = date.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_181 = date.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_182 = date.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_183 = date.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_184 = date.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_185 = date.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_186 = date.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_187 = date.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_188 = date.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_189 = drivemap.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_190 = echo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_191 = echo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_192 = echo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_193 = echo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_194 = echo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_195 = echo.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_196 = echo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_197 = echo.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_198 = echo.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_199 = echo.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_200 = echo.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_201 = extcmd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_202 = extcmd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_203 = extcmd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_204 = extcmd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_205 = extcmd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_206 = extcmd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_207 = extcmd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_208 = fixvideo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_209 = fixvideo.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_210 = gptsync.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_211 = gptsync.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_212 = gptsync.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_213 = gptsync.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_214 = gptsync.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_215 = gptsync.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_216 = gptsync.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_217 = gptsync.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_218 = gptsync.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_219 = gptsync.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_220 = gptsync.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_221 = halt.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_222 = halt.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_223 = halt.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_224 = halt.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_225 = halt.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_226 = halt.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_227 = halt.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_228 = halt.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_229 = halt.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_230 = halt.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_231 = halt.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_232 = hashsum.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_233 = hashsum.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_234 = hashsum.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_235 = hashsum.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_236 = hashsum.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_237 = hashsum.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_238 = hashsum.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_239 = hashsum.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_240 = hashsum.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_241 = hashsum.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_242 = hashsum.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_243 = hdparm.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_244 = hdparm.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_245 = hdparm.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_246 = hdparm.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_247 = hdparm.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_248 = hdparm.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_249 = hdparm.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_250 = hdparm.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_251 = help.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_252 = help.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_253 = help.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_254 = help.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_255 = help.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_256 = help.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_257 = help.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_258 = help.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_259 = help.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_260 = help.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_261 = help.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_262 = hexdump.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_263 = hexdump.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_264 = hexdump.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_265 = hexdump.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_266 = hexdump.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_267 = hexdump.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_268 = hexdump.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_269 = hexdump.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_270 = hexdump.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_271 = hexdump.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_272 = hexdump.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_273 = keystatus.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_274 = keystatus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_275 = keystatus.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_276 = keystatus.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_277 = keystatus.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_278 = keystatus.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_279 = keystatus.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_280 = keystatus.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_281 = keystatus.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_282 = \ +@COND_sparc64_ieee1275_TRUE@ keystatus.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_283 = \ +@COND_powerpc_ieee1275_TRUE@ keystatus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_284 = loadbios.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_285 = loadbios.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_286 = loadenv.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_287 = loadenv.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_288 = loadenv.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_289 = loadenv.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_290 = loadenv.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_291 = loadenv.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_292 = loadenv.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_293 = loadenv.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_294 = loadenv.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_295 = loadenv.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_296 = loadenv.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_297 = ls.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_298 = ls.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_299 = ls.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_300 = ls.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_301 = ls.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_302 = ls.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_303 = ls.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_304 = ls.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_305 = ls.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_306 = ls.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_307 = ls.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_308 = lsmmap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_309 = lsmmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_310 = lsmmap.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_311 = lsmmap.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_312 = lsmmap.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_313 = lsmmap.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_314 = lsmmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_315 = lsmmap.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_316 = lsmmap.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_317 = lsmmap.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_318 = lsmmap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_319 = lspci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_320 = lspci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_321 = lspci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_322 = lspci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_323 = lspci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_324 = lspci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_325 = lspci.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_326 = lspci.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_327 = memrw.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_328 = memrw.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_329 = memrw.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_330 = memrw.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_331 = memrw.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_332 = memrw.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_333 = memrw.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_334 = memrw.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_335 = memrw.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_336 = memrw.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_337 = memrw.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_338 = minicmd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_339 = minicmd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_340 = minicmd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_341 = minicmd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_342 = minicmd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_343 = minicmd.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_344 = minicmd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_345 = minicmd.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_346 = minicmd.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_347 = minicmd.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_348 = minicmd.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_349 = parttool.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_350 = parttool.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_351 = parttool.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_352 = parttool.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_353 = parttool.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_354 = parttool.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_355 = parttool.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_356 = parttool.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_357 = parttool.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_358 = parttool.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_359 = parttool.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_360 = password.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_361 = password.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_362 = password.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_363 = password.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_364 = password.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_365 = password.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_366 = password.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_367 = password.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_368 = password.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_369 = password.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_370 = password.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_371 = password_pbkdf2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_372 = password_pbkdf2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_373 = password_pbkdf2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_374 = password_pbkdf2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_375 = \ +@COND_i386_coreboot_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_376 = \ +@COND_i386_multiboot_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_377 = \ +@COND_i386_ieee1275_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_378 = \ +@COND_x86_64_efi_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_379 = \ +@COND_mips_yeeloong_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_380 = \ +@COND_sparc64_ieee1275_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_381 = \ +@COND_powerpc_ieee1275_TRUE@ password_pbkdf2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_382 = play.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_383 = play.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_384 = play.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_385 = play.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_386 = play.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_387 = play.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_388 = play.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_389 = probe.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_390 = probe.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_391 = probe.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_392 = probe.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_393 = probe.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_394 = probe.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_395 = probe.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_396 = probe.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_397 = probe.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_398 = probe.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_399 = probe.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_400 = pxecmd.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_401 = read.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_402 = read.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_403 = read.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_404 = read.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_405 = read.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_406 = read.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_407 = read.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_408 = read.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_409 = read.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_410 = read.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_411 = read.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_412 = reboot.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_413 = reboot.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_414 = reboot.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_415 = reboot.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_416 = reboot.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_417 = reboot.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_418 = reboot.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_419 = reboot.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_420 = reboot.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_421 = reboot.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_422 = reboot.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_423 = search.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_424 = search.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_425 = search.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_426 = search.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_427 = search.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_428 = search.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_429 = search.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_430 = search.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_431 = search.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_432 = search.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_433 = search.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_434 = search_fs_file.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_435 = search_fs_file.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_436 = search_fs_file.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_437 = search_fs_file.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_438 = \ +@COND_i386_coreboot_TRUE@ search_fs_file.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_439 = \ +@COND_i386_multiboot_TRUE@ search_fs_file.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_440 = \ +@COND_i386_ieee1275_TRUE@ search_fs_file.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_441 = search_fs_file.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_442 = \ +@COND_mips_yeeloong_TRUE@ search_fs_file.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_443 = \ +@COND_sparc64_ieee1275_TRUE@ search_fs_file.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_444 = \ +@COND_powerpc_ieee1275_TRUE@ search_fs_file.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_445 = search_fs_uuid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_446 = search_fs_uuid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_447 = search_fs_uuid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_448 = search_fs_uuid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_449 = \ +@COND_i386_coreboot_TRUE@ search_fs_uuid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_450 = \ +@COND_i386_multiboot_TRUE@ search_fs_uuid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_451 = \ +@COND_i386_ieee1275_TRUE@ search_fs_uuid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_452 = search_fs_uuid.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_453 = \ +@COND_mips_yeeloong_TRUE@ search_fs_uuid.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_454 = \ +@COND_sparc64_ieee1275_TRUE@ search_fs_uuid.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_455 = \ +@COND_powerpc_ieee1275_TRUE@ search_fs_uuid.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_456 = search_label.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_457 = search_label.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_458 = search_label.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_459 = search_label.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_460 = \ +@COND_i386_coreboot_TRUE@ search_label.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_461 = \ +@COND_i386_multiboot_TRUE@ search_label.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_462 = \ +@COND_i386_ieee1275_TRUE@ search_label.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_463 = search_label.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_464 = \ +@COND_mips_yeeloong_TRUE@ search_label.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_465 = \ +@COND_sparc64_ieee1275_TRUE@ search_label.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_466 = \ +@COND_powerpc_ieee1275_TRUE@ search_label.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_467 = setpci.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_468 = setpci.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_469 = setpci.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_470 = setpci.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_471 = setpci.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_472 = setpci.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_473 = setpci.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_474 = sleep.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_475 = sleep.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_476 = sleep.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_477 = sleep.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_478 = sleep.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_479 = sleep.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_480 = sleep.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_481 = sleep.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_482 = sleep.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_483 = sleep.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_484 = sleep.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_485 = suspend.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_486 = suspend.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_487 = terminal.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_488 = terminal.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_489 = terminal.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_490 = terminal.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_491 = terminal.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_492 = terminal.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_493 = terminal.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_494 = terminal.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_495 = terminal.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_496 = terminal.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_497 = terminal.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_498 = test.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_499 = test.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_500 = test.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_501 = test.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_502 = test.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_503 = test.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_504 = test.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_505 = test.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_506 = test.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_507 = test.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_508 = test.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_509 = true.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_510 = true.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_511 = true.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_512 = true.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_513 = true.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_514 = true.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_515 = true.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_516 = true.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_517 = true.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_518 = true.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_519 = true.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__EXEEXT_520 = usbtest.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_521 = usbtest.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_522 = usbtest.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_523 = usbtest.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_524 = usbtest.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_525 = usbtest.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_526 = usbtest.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_527 = usbtest.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_528 = usbtest.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_529 = videoinfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_530 = videoinfo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_531 = videoinfo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_532 = videoinfo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_533 = videoinfo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_534 = videoinfo.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_535 = videoinfo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_536 = videoinfo.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_537 = videoinfo.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_538 = \ +@COND_sparc64_ieee1275_TRUE@ videoinfo.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_539 = \ +@COND_powerpc_ieee1275_TRUE@ videoinfo.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_540 = videotest.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_541 = videotest.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_542 = videotest.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_543 = videotest.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_544 = videotest.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_545 = videotest.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_546 = videotest.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_547 = videotest.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_548 = videotest.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_549 = \ +@COND_sparc64_ieee1275_TRUE@ videotest.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_550 = \ +@COND_powerpc_ieee1275_TRUE@ videotest.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_551 = xnu_uuid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_552 = xnu_uuid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_553 = xnu_uuid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_554 = xnu_uuid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_555 = xnu_uuid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_556 = xnu_uuid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_557 = xnu_uuid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_558 = xnu_uuid.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_559 = xnu_uuid.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_560 = xnu_uuid.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_561 = xnu_uuid.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_562 = dm_nv.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_563 = dm_nv.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_564 = dm_nv.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_565 = dm_nv.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_566 = dm_nv.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_567 = dm_nv.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_568 = dm_nv.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_569 = dm_nv.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_570 = dm_nv.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_571 = dm_nv.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_572 = dm_nv.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_573 = loopback.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_574 = loopback.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_575 = loopback.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_576 = loopback.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_577 = loopback.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_578 = loopback.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_579 = loopback.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_580 = loopback.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_581 = loopback.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_582 = loopback.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_583 = loopback.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_584 = lvm.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_585 = lvm.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_586 = lvm.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_587 = lvm.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_588 = lvm.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_589 = lvm.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_590 = lvm.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_591 = lvm.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_592 = lvm.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_593 = lvm.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_594 = lvm.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_595 = mdraid09.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_596 = mdraid09.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_597 = mdraid09.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_598 = mdraid09.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_599 = mdraid09.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_600 = mdraid09.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_601 = mdraid09.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_602 = mdraid09.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_603 = mdraid09.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_604 = mdraid09.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_605 = mdraid09.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_606 = mdraid1x.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_607 = mdraid1x.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_608 = mdraid1x.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_609 = mdraid1x.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_610 = mdraid1x.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_611 = mdraid1x.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_612 = mdraid1x.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_613 = mdraid1x.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_614 = mdraid1x.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_615 = mdraid1x.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_616 = mdraid1x.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_617 = raid.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_618 = raid.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_619 = raid.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_620 = raid.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_621 = raid.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_622 = raid.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_623 = raid.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_624 = raid.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_625 = raid.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_626 = raid.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_627 = raid.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_628 = raid5rec.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_629 = raid5rec.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_630 = raid5rec.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_631 = raid5rec.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_632 = raid5rec.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_633 = raid5rec.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_634 = raid5rec.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_635 = raid5rec.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_636 = raid5rec.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_637 = raid5rec.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_638 = raid5rec.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_639 = raid6rec.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_640 = raid6rec.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_641 = raid6rec.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_642 = raid6rec.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_643 = raid6rec.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_644 = raid6rec.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_645 = raid6rec.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_646 = raid6rec.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_647 = raid6rec.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_648 = raid6rec.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_649 = raid6rec.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_650 = scsi.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_651 = scsi.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_652 = scsi.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_653 = scsi.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_654 = scsi.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_655 = scsi.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_656 = scsi.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_657 = scsi.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_658 = scsi.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_659 = scsi.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_660 = scsi.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_661 = memdisk.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_662 = memdisk.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_663 = memdisk.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_664 = memdisk.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_665 = memdisk.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_666 = memdisk.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_667 = memdisk.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_668 = memdisk.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_669 = memdisk.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_670 = memdisk.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_671 = memdisk.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_672 = ata.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_673 = ata.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_674 = ata.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_675 = ata.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_676 = ata.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_677 = ata.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_678 = ata.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_679 = ata.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_680 = ata_pthru.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_681 = ata_pthru.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_682 = ata_pthru.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_683 = ata_pthru.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_684 = ata_pthru.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_685 = ata_pthru.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_686 = ata_pthru.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_687 = ata_pthru.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_688 = biosdisk.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__EXEEXT_689 = \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ usbms.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_690 = usbms.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_691 = usbms.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_692 = usbms.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_693 = usbms.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_694 = usbms.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_695 = usbms.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_696 = usbms.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_697 = usbms.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_698 = nand.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_699 = efiemu.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_700 = efiemu.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_701 = efiemu.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_702 = efiemu.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_703 = efiemu.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_704 = font.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_705 = font.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_706 = font.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_707 = font.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_708 = font.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_709 = font.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_710 = font.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_711 = font.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_712 = font.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_713 = font.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_714 = affs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_715 = affs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_716 = affs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_717 = affs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_718 = affs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_719 = affs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_720 = affs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_721 = affs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_722 = affs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_723 = affs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_724 = affs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_725 = afs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_726 = afs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_727 = afs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_728 = afs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_729 = afs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_730 = afs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_731 = afs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_732 = afs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_733 = afs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_734 = afs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_735 = afs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_736 = afs_be.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_737 = afs_be.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_738 = afs_be.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_739 = afs_be.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_740 = afs_be.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_741 = afs_be.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_742 = afs_be.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_743 = afs_be.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_744 = afs_be.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_745 = afs_be.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_746 = afs_be.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_747 = befs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_748 = befs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_749 = befs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_750 = befs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_751 = befs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_752 = befs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_753 = befs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_754 = befs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_755 = befs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_756 = befs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_757 = befs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_758 = befs_be.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_759 = befs_be.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_760 = befs_be.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_761 = befs_be.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_762 = befs_be.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_763 = befs_be.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_764 = befs_be.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_765 = befs_be.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_766 = befs_be.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_767 = befs_be.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_768 = befs_be.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_769 = btrfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_770 = btrfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_771 = btrfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_772 = btrfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_773 = btrfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_774 = btrfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_775 = btrfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_776 = btrfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_777 = btrfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_778 = btrfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_779 = btrfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_780 = cpio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_781 = cpio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_782 = cpio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_783 = cpio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_784 = cpio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_785 = cpio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_786 = cpio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_787 = cpio.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_788 = cpio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_789 = cpio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_790 = cpio.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_791 = ext2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_792 = ext2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_793 = ext2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_794 = ext2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_795 = ext2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_796 = ext2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_797 = ext2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_798 = ext2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_799 = ext2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_800 = ext2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_801 = ext2.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_802 = fat.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_803 = fat.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_804 = fat.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_805 = fat.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_806 = fat.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_807 = fat.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_808 = fat.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_809 = fat.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_810 = fat.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_811 = fat.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_812 = fat.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_813 = fshelp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_814 = fshelp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_815 = fshelp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_816 = fshelp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_817 = fshelp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_818 = fshelp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_819 = fshelp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_820 = fshelp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_821 = fshelp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_822 = fshelp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_823 = fshelp.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_824 = hfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_825 = hfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_826 = hfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_827 = hfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_828 = hfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_829 = hfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_830 = hfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_831 = hfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_832 = hfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_833 = hfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_834 = hfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_835 = hfsplus.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_836 = hfsplus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_837 = hfsplus.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_838 = hfsplus.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_839 = hfsplus.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_840 = hfsplus.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_841 = hfsplus.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_842 = hfsplus.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_843 = hfsplus.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_844 = hfsplus.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_845 = hfsplus.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_846 = iso9660.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_847 = iso9660.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_848 = iso9660.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_849 = iso9660.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_850 = iso9660.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_851 = iso9660.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_852 = iso9660.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_853 = iso9660.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_854 = iso9660.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_855 = iso9660.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_856 = iso9660.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_857 = jfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_858 = jfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_859 = jfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_860 = jfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_861 = jfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_862 = jfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_863 = jfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_864 = jfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_865 = jfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_866 = jfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_867 = jfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_868 = minix.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_869 = minix.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_870 = minix.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_871 = minix.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_872 = minix.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_873 = minix.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_874 = minix.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_875 = minix.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_876 = minix.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_877 = minix.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_878 = minix.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_879 = minix2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_880 = minix2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_881 = minix2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_882 = minix2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_883 = minix2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_884 = minix2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_885 = minix2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_886 = minix2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_887 = minix2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_888 = minix2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_889 = minix2.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_890 = nilfs2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_891 = nilfs2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_892 = nilfs2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_893 = nilfs2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_894 = nilfs2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_895 = nilfs2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_896 = nilfs2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_897 = nilfs2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_898 = nilfs2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_899 = nilfs2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_900 = nilfs2.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_901 = ntfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_902 = ntfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_903 = ntfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_904 = ntfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_905 = ntfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_906 = ntfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_907 = ntfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_908 = ntfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_909 = ntfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_910 = ntfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_911 = ntfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_912 = ntfscomp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_913 = ntfscomp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_914 = ntfscomp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_915 = ntfscomp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_916 = ntfscomp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_917 = ntfscomp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_918 = ntfscomp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_919 = ntfscomp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_920 = ntfscomp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_921 = ntfscomp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_922 = ntfscomp.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_923 = reiserfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_924 = reiserfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_925 = reiserfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_926 = reiserfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_927 = reiserfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_928 = reiserfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_929 = reiserfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_930 = reiserfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_931 = reiserfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_932 = reiserfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_933 = reiserfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_934 = sfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_935 = sfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_936 = sfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_937 = sfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_938 = sfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_939 = sfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_940 = sfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_941 = sfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_942 = sfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_943 = sfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_944 = sfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_945 = tar.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_946 = tar.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_947 = tar.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_948 = tar.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_949 = tar.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_950 = tar.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_951 = tar.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_952 = tar.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_953 = tar.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_954 = tar.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_955 = tar.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_956 = udf.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_957 = udf.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_958 = udf.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_959 = udf.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_960 = udf.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_961 = udf.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_962 = udf.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_963 = udf.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_964 = udf.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_965 = udf.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_966 = udf.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_967 = ufs1.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_968 = ufs1.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_969 = ufs1.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_970 = ufs1.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_971 = ufs1.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_972 = ufs1.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_973 = ufs1.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_974 = ufs1.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_975 = ufs1.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_976 = ufs1.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_977 = ufs1.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_978 = ufs2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_979 = ufs2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_980 = ufs2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_981 = ufs2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_982 = ufs2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_983 = ufs2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_984 = ufs2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_985 = ufs2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_986 = ufs2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_987 = ufs2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_988 = ufs2.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_989 = xfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_990 = xfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_991 = xfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_992 = xfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_993 = xfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_994 = xfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_995 = xfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_996 = xfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_997 = xfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_998 = xfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_999 = xfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1000 = zfs.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1001 = zfs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1002 = zfs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1003 = zfs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1004 = zfs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1005 = zfs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1006 = zfs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1007 = zfs.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1008 = zfs.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1009 = zfs.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1010 = zfs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1011 = zfsinfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1012 = zfsinfo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1013 = zfsinfo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1014 = zfsinfo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1015 = zfsinfo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1016 = zfsinfo.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1017 = zfsinfo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1018 = zfsinfo.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1019 = zfsinfo.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1020 = zfsinfo.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1021 = zfsinfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1022 = pxe.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1023 = gettext.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1024 = gettext.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1025 = gettext.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1026 = gettext.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1027 = gettext.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1028 = gettext.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1029 = gettext.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1030 = gettext.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1031 = gettext.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1032 = gettext.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1033 = gettext.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1034 = gfxmenu.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1035 = gfxmenu.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1036 = gfxmenu.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1037 = gfxmenu.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1038 = gfxmenu.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1039 = gfxmenu.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1040 = gfxmenu.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1041 = gfxmenu.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1042 = gfxmenu.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1043 = gfxmenu.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1044 = gfxmenu.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1045 = hello.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1046 = hello.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1047 = hello.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1048 = hello.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1049 = hello.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1050 = hello.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1051 = hello.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1052 = hello.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1053 = hello.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1054 = hello.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1055 = hello.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1056 = gzio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1057 = gzio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1058 = gzio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1059 = gzio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1060 = gzio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1061 = gzio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1062 = gzio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1063 = gzio.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1064 = gzio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1065 = gzio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1066 = gzio.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1067 = bufio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1068 = bufio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1069 = bufio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1070 = bufio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1071 = bufio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1072 = bufio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1073 = bufio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1074 = bufio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1075 = bufio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1076 = bufio.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1077 = elf.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1078 = elf.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1079 = elf.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1080 = elf.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1081 = elf.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1082 = elf.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1083 = elf.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1084 = elf.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1085 = elf.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1086 = elf.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1087 = elf.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1088 = crypto.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1089 = crypto.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1090 = crypto.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1091 = crypto.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1092 = crypto.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1093 = crypto.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1094 = crypto.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1095 = crypto.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1096 = crypto.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1097 = crypto.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1098 = crypto.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1099 = pbkdf2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1100 = pbkdf2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1101 = pbkdf2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1102 = pbkdf2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1103 = pbkdf2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1104 = pbkdf2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1105 = pbkdf2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1106 = pbkdf2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1107 = pbkdf2.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1108 = pbkdf2.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1109 = pbkdf2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1110 = relocator.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1111 = relocator.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1112 = relocator.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1113 = relocator.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1114 = relocator.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1115 = relocator.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1116 = relocator.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1117 = relocator.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1118 = \ +@COND_powerpc_ieee1275_TRUE@ relocator.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1119 = datetime.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1120 = datetime.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1121 = datetime.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1122 = datetime.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1123 = datetime.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1124 = datetime.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1125 = datetime.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1126 = datetime.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1127 = \ +@COND_sparc64_ieee1275_TRUE@ datetime.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1128 = \ +@COND_powerpc_ieee1275_TRUE@ datetime.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1129 = setjmp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1130 = setjmp.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1131 = setjmp.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1132 = setjmp.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1133 = setjmp.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1134 = setjmp.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1135 = setjmp.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1136 = setjmp.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1137 = setjmp.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1138 = setjmp.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1139 = setjmp.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1140 = aout.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1141 = aout.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1142 = aout.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1143 = aout.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1144 = aout.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1145 = aout.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1146 = aout.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1147 = bsd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1148 = bsd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1149 = bsd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1150 = bsd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1151 = bsd.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1152 = bsd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1153 = bsd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1154 = linux16.module$(EXEEXT) \ +@COND_i386_pc_TRUE@ ntldr.module$(EXEEXT) \ +@COND_i386_pc_TRUE@ multiboot2.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1155 = multiboot2.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1156 = multiboot2.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1157 = multiboot2.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1158 = \ +@COND_i386_multiboot_TRUE@ multiboot2.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1159 = multiboot2.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1160 = multiboot2.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1161 = multiboot2.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1162 = multiboot.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1163 = multiboot.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1164 = multiboot.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1165 = multiboot.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1166 = multiboot.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1167 = multiboot.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1168 = multiboot.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1169 = linux.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1170 = linux.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1171 = linux.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1172 = linux.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1173 = linux.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1174 = linux.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1175 = linux.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1176 = linux.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1177 = linux.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1178 = linux.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1179 = xnu.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1180 = xnu.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1181 = xnu.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1182 = xnu.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1183 = xnu.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1184 = xnu.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1185 = xnu.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1186 = appleldr.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1187 = appleldr.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1188 = chain.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1189 = chain.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1190 = chain.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1191 = mmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1192 = mmap.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1193 = mmap.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1194 = mmap.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1195 = mmap.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1196 = mmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1197 = mmap.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1198 = mmap.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1199 = normal.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1200 = normal.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1201 = normal.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1202 = normal.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1203 = normal.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1204 = normal.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1205 = normal.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1206 = normal.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1207 = normal.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1208 = normal.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1209 = normal.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1210 = part_acorn.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1211 = part_acorn.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1212 = part_acorn.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1213 = part_acorn.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1214 = part_acorn.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1215 = \ +@COND_i386_multiboot_TRUE@ part_acorn.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1216 = part_acorn.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1217 = part_acorn.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1218 = part_acorn.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1219 = \ +@COND_sparc64_ieee1275_TRUE@ part_acorn.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1220 = \ +@COND_powerpc_ieee1275_TRUE@ part_acorn.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1221 = part_amiga.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1222 = part_amiga.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1223 = part_amiga.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1224 = part_amiga.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1225 = part_amiga.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1226 = \ +@COND_i386_multiboot_TRUE@ part_amiga.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1227 = part_amiga.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1228 = part_amiga.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1229 = part_amiga.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1230 = \ +@COND_sparc64_ieee1275_TRUE@ part_amiga.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1231 = \ +@COND_powerpc_ieee1275_TRUE@ part_amiga.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1232 = part_apple.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1233 = part_apple.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1234 = part_apple.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1235 = part_apple.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1236 = part_apple.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1237 = \ +@COND_i386_multiboot_TRUE@ part_apple.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1238 = part_apple.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1239 = part_apple.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1240 = part_apple.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1241 = \ +@COND_sparc64_ieee1275_TRUE@ part_apple.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1242 = \ +@COND_powerpc_ieee1275_TRUE@ part_apple.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1243 = part_gpt.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1244 = part_gpt.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1245 = part_gpt.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1246 = part_gpt.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1247 = part_gpt.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1248 = part_gpt.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1249 = part_gpt.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1250 = part_gpt.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1251 = part_gpt.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1252 = \ +@COND_sparc64_ieee1275_TRUE@ part_gpt.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1253 = \ +@COND_powerpc_ieee1275_TRUE@ part_gpt.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1254 = part_msdos.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1255 = part_msdos.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1256 = part_msdos.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1257 = part_msdos.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1258 = part_msdos.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1259 = \ +@COND_i386_multiboot_TRUE@ part_msdos.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1260 = part_msdos.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1261 = part_msdos.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1262 = part_msdos.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1263 = \ +@COND_sparc64_ieee1275_TRUE@ part_msdos.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1264 = \ +@COND_powerpc_ieee1275_TRUE@ part_msdos.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1265 = part_sun.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1266 = part_sun.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1267 = part_sun.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1268 = part_sun.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1269 = part_sun.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1270 = part_sun.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1271 = part_sun.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1272 = part_sun.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1273 = part_sun.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1274 = \ +@COND_sparc64_ieee1275_TRUE@ part_sun.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1275 = \ +@COND_powerpc_ieee1275_TRUE@ part_sun.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1276 = part_bsd.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1277 = part_bsd.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1278 = part_bsd.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1279 = part_bsd.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1280 = part_bsd.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1281 = part_bsd.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1282 = part_bsd.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1283 = part_bsd.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1284 = part_bsd.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1285 = \ +@COND_sparc64_ieee1275_TRUE@ part_bsd.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1286 = \ +@COND_powerpc_ieee1275_TRUE@ part_bsd.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1287 = part_sunpc.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1288 = part_sunpc.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1289 = part_sunpc.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1290 = part_sunpc.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1291 = part_sunpc.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1292 = \ +@COND_i386_multiboot_TRUE@ part_sunpc.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1293 = part_sunpc.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1294 = part_sunpc.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1295 = part_sunpc.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1296 = \ +@COND_sparc64_ieee1275_TRUE@ part_sunpc.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1297 = \ +@COND_powerpc_ieee1275_TRUE@ part_sunpc.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1298 = msdospart.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1299 = msdospart.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1300 = msdospart.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1301 = msdospart.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1302 = msdospart.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1303 = msdospart.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1304 = msdospart.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1305 = msdospart.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1306 = msdospart.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1307 = \ +@COND_sparc64_ieee1275_TRUE@ msdospart.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1308 = \ +@COND_powerpc_ieee1275_TRUE@ msdospart.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1309 = at_keyboard.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1310 = at_keyboard.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1311 = at_keyboard.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1312 = \ +@COND_i386_coreboot_TRUE@ at_keyboard.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1313 = \ +@COND_i386_multiboot_TRUE@ at_keyboard.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1314 = \ +@COND_i386_ieee1275_TRUE@ at_keyboard.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1315 = at_keyboard.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1316 = gfxterm.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1317 = gfxterm.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1318 = gfxterm.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1319 = gfxterm.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1320 = gfxterm.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1321 = gfxterm.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1322 = gfxterm.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1323 = gfxterm.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1324 = gfxterm.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1325 = gfxterm.module$(EXEEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am__EXEEXT_1326 = \ +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ serial.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1327 = serial.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1328 = serial.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1329 = serial.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1330 = serial.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1331 = serial.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1332 = serial.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1333 = serial.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1334 = sendkey.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1335 = terminfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1336 = terminfo.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1337 = terminfo.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1338 = terminfo.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1339 = terminfo.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1340 = terminfo.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1341 = terminfo.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1342 = usb_keyboard.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1343 = usb_keyboard.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1344 = usb_keyboard.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1345 = \ +@COND_i386_coreboot_TRUE@ usb_keyboard.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1346 = \ +@COND_i386_multiboot_TRUE@ usb_keyboard.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1347 = \ +@COND_i386_ieee1275_TRUE@ usb_keyboard.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1348 = usb_keyboard.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1349 = \ +@COND_mips_yeeloong_TRUE@ usb_keyboard.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1350 = vga.module$(EXEEXT) \ +@COND_i386_pc_TRUE@ vga_text.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1351 = vga_text.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1352 = vga_text.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1353 = video_cirrus.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1354 = video_cirrus.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1355 = video_cirrus.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1356 = \ +@COND_i386_coreboot_TRUE@ video_cirrus.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1357 = \ +@COND_i386_multiboot_TRUE@ video_cirrus.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1358 = \ +@COND_i386_ieee1275_TRUE@ video_cirrus.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1359 = video_cirrus.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1360 = video_bochs.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1361 = video_bochs.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1362 = video_bochs.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1363 = \ +@COND_i386_coreboot_TRUE@ video_bochs.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1364 = \ +@COND_i386_multiboot_TRUE@ video_bochs.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1365 = \ +@COND_i386_ieee1275_TRUE@ video_bochs.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1366 = video_bochs.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1367 = functional_test.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1368 = functional_test.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1369 = functional_test.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1370 = \ +@COND_i386_qemu_TRUE@ functional_test.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1371 = \ +@COND_i386_coreboot_TRUE@ functional_test.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1372 = \ +@COND_i386_multiboot_TRUE@ functional_test.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1373 = \ +@COND_i386_ieee1275_TRUE@ functional_test.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1374 = \ +@COND_x86_64_efi_TRUE@ functional_test.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1375 = \ +@COND_mips_yeeloong_TRUE@ functional_test.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1376 = \ +@COND_sparc64_ieee1275_TRUE@ functional_test.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1377 = \ +@COND_powerpc_ieee1275_TRUE@ functional_test.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1378 = \ +@COND_emu_TRUE@ example_functional_test.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1379 = \ +@COND_i386_pc_TRUE@ example_functional_test.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1380 = \ +@COND_i386_efi_TRUE@ example_functional_test.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1381 = \ +@COND_i386_qemu_TRUE@ example_functional_test.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1382 = example_functional_test.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1383 = example_functional_test.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1384 = example_functional_test.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1385 = \ +@COND_x86_64_efi_TRUE@ example_functional_test.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1386 = example_functional_test.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1387 = example_functional_test.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1388 = example_functional_test.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1389 = bitmap.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1390 = bitmap.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1391 = bitmap.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1392 = bitmap.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1393 = bitmap.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1394 = bitmap.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1395 = bitmap.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1396 = bitmap.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1397 = bitmap.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1398 = bitmap.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1399 = bitmap_scale.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1400 = bitmap_scale.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1401 = bitmap_scale.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1402 = bitmap_scale.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1403 = \ +@COND_i386_coreboot_TRUE@ bitmap_scale.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1404 = \ +@COND_i386_multiboot_TRUE@ bitmap_scale.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1405 = \ +@COND_i386_ieee1275_TRUE@ bitmap_scale.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1406 = bitmap_scale.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1407 = \ +@COND_sparc64_ieee1275_TRUE@ bitmap_scale.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1408 = \ +@COND_powerpc_ieee1275_TRUE@ bitmap_scale.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1409 = efi_gop.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1410 = efi_gop.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1411 = efi_uga.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1412 = efi_uga.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1413 = jpeg.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1414 = jpeg.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1415 = jpeg.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1416 = jpeg.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1417 = jpeg.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1418 = jpeg.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1419 = jpeg.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1420 = jpeg.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1421 = jpeg.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1422 = jpeg.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1423 = jpeg.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1424 = png.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1425 = png.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1426 = png.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1427 = png.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1428 = png.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1429 = png.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1430 = png.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1431 = png.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1432 = png.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1433 = png.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1434 = png.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1435 = tga.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1436 = tga.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1437 = tga.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1438 = tga.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1439 = tga.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1440 = tga.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1441 = tga.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1442 = tga.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1443 = tga.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1444 = tga.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1445 = tga.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1446 = vbe.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1447 = video_fb.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1448 = video_fb.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1449 = video_fb.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1450 = video_fb.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1451 = video_fb.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1452 = video_fb.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1453 = video_fb.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1454 = video_fb.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1455 = \ +@COND_sparc64_ieee1275_TRUE@ video_fb.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1456 = \ +@COND_powerpc_ieee1275_TRUE@ video_fb.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1457 = video.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1458 = video.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1459 = video.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1460 = video.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1461 = video.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1462 = video.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1463 = video.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1464 = video.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1465 = video.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1466 = video.module$(EXEEXT) \ +@COND_powerpc_ieee1275_TRUE@ ieee1275_fb.module$(EXEEXT) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am__EXEEXT_1467 = \ +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@ sdl.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1468 = datehook.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1469 = datehook.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1470 = datehook.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1471 = datehook.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1472 = datehook.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1473 = datehook.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1474 = datehook.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1475 = datehook.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1476 = datehook.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1477 = \ +@COND_sparc64_ieee1275_TRUE@ datehook.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1478 = \ +@COND_powerpc_ieee1275_TRUE@ datehook.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1479 = legacycfg.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1480 = legacycfg.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1481 = test_blockarg.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1482 = test_blockarg.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1483 = test_blockarg.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1484 = test_blockarg.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1485 = \ +@COND_i386_coreboot_TRUE@ test_blockarg.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1486 = \ +@COND_i386_multiboot_TRUE@ test_blockarg.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1487 = \ +@COND_i386_ieee1275_TRUE@ test_blockarg.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1488 = test_blockarg.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1489 = \ +@COND_mips_yeeloong_TRUE@ test_blockarg.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1490 = \ +@COND_sparc64_ieee1275_TRUE@ test_blockarg.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1491 = \ +@COND_powerpc_ieee1275_TRUE@ test_blockarg.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1492 = xzio.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1493 = xzio.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1494 = xzio.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1495 = xzio.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1496 = xzio.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1497 = xzio.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1498 = xzio.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1499 = xzio.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1500 = xzio.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1501 = xzio.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1502 = xzio.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1503 = testload.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1504 = testload.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1505 = testload.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1506 = testload.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1507 = testload.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1508 = testload.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1509 = testload.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1510 = testload.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1511 = testload.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1512 = \ +@COND_sparc64_ieee1275_TRUE@ testload.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1513 = \ +@COND_powerpc_ieee1275_TRUE@ testload.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1514 = lsapm.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1515 = keylayouts.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1516 = keylayouts.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1517 = keylayouts.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1518 = keylayouts.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1519 = keylayouts.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1520 = \ +@COND_i386_multiboot_TRUE@ keylayouts.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1521 = keylayouts.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1522 = keylayouts.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1523 = \ +@COND_sparc64_ieee1275_TRUE@ keylayouts.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1524 = \ +@COND_powerpc_ieee1275_TRUE@ keylayouts.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1525 = gcry_arcfour.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1526 = gcry_arcfour.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1527 = gcry_arcfour.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1528 = gcry_arcfour.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1529 = \ +@COND_i386_coreboot_TRUE@ gcry_arcfour.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1530 = \ +@COND_i386_multiboot_TRUE@ gcry_arcfour.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1531 = \ +@COND_i386_ieee1275_TRUE@ gcry_arcfour.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1532 = gcry_arcfour.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1533 = \ +@COND_mips_yeeloong_TRUE@ gcry_arcfour.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1534 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_arcfour.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1535 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_arcfour.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1536 = gcry_blowfish.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1537 = gcry_blowfish.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1538 = gcry_blowfish.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1539 = gcry_blowfish.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1540 = \ +@COND_i386_coreboot_TRUE@ gcry_blowfish.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1541 = \ +@COND_i386_multiboot_TRUE@ gcry_blowfish.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1542 = \ +@COND_i386_ieee1275_TRUE@ gcry_blowfish.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1543 = gcry_blowfish.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1544 = \ +@COND_mips_yeeloong_TRUE@ gcry_blowfish.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1545 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_blowfish.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1546 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_blowfish.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1547 = gcry_camellia.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1548 = gcry_camellia.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1549 = gcry_camellia.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1550 = gcry_camellia.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1551 = \ +@COND_i386_coreboot_TRUE@ gcry_camellia.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1552 = \ +@COND_i386_multiboot_TRUE@ gcry_camellia.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1553 = \ +@COND_i386_ieee1275_TRUE@ gcry_camellia.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1554 = gcry_camellia.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1555 = \ +@COND_mips_yeeloong_TRUE@ gcry_camellia.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1556 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_camellia.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1557 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_camellia.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1558 = gcry_cast5.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1559 = gcry_cast5.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1560 = gcry_cast5.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1561 = gcry_cast5.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1562 = gcry_cast5.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1563 = \ +@COND_i386_multiboot_TRUE@ gcry_cast5.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1564 = gcry_cast5.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1565 = gcry_cast5.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1566 = gcry_cast5.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1567 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_cast5.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1568 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_cast5.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1569 = gcry_crc.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1570 = gcry_crc.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1571 = gcry_crc.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1572 = gcry_crc.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1573 = gcry_crc.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1574 = gcry_crc.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1575 = gcry_crc.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1576 = gcry_crc.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1577 = gcry_crc.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1578 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_crc.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1579 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_crc.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1580 = gcry_des.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1581 = gcry_des.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1582 = gcry_des.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1583 = gcry_des.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1584 = gcry_des.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1585 = gcry_des.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1586 = gcry_des.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1587 = gcry_des.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1588 = gcry_des.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1589 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_des.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1590 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_des.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1591 = gcry_md4.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1592 = gcry_md4.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1593 = gcry_md4.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1594 = gcry_md4.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1595 = gcry_md4.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1596 = gcry_md4.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1597 = gcry_md4.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1598 = gcry_md4.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1599 = gcry_md4.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1600 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_md4.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1601 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_md4.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1602 = gcry_md5.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1603 = gcry_md5.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1604 = gcry_md5.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1605 = gcry_md5.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1606 = gcry_md5.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1607 = gcry_md5.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1608 = gcry_md5.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1609 = gcry_md5.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1610 = gcry_md5.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1611 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_md5.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1612 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_md5.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1613 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1614 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1615 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1616 = gcry_rfc2268.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1617 = \ +@COND_i386_coreboot_TRUE@ gcry_rfc2268.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1618 = \ +@COND_i386_multiboot_TRUE@ gcry_rfc2268.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1619 = \ +@COND_i386_ieee1275_TRUE@ gcry_rfc2268.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1620 = gcry_rfc2268.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1621 = \ +@COND_mips_yeeloong_TRUE@ gcry_rfc2268.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1622 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_rfc2268.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1623 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_rfc2268.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1624 = gcry_rijndael.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1625 = gcry_rijndael.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1626 = gcry_rijndael.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1627 = gcry_rijndael.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1628 = \ +@COND_i386_coreboot_TRUE@ gcry_rijndael.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1629 = \ +@COND_i386_multiboot_TRUE@ gcry_rijndael.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1630 = \ +@COND_i386_ieee1275_TRUE@ gcry_rijndael.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1631 = gcry_rijndael.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1632 = \ +@COND_mips_yeeloong_TRUE@ gcry_rijndael.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1633 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_rijndael.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1634 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_rijndael.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1635 = gcry_rmd160.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1636 = gcry_rmd160.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1637 = gcry_rmd160.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1638 = gcry_rmd160.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1639 = \ +@COND_i386_coreboot_TRUE@ gcry_rmd160.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1640 = \ +@COND_i386_multiboot_TRUE@ gcry_rmd160.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1641 = \ +@COND_i386_ieee1275_TRUE@ gcry_rmd160.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1642 = gcry_rmd160.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1643 = \ +@COND_mips_yeeloong_TRUE@ gcry_rmd160.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1644 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_rmd160.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1645 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_rmd160.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1646 = gcry_seed.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1647 = gcry_seed.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1648 = gcry_seed.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1649 = gcry_seed.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1650 = gcry_seed.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1651 = gcry_seed.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1652 = gcry_seed.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1653 = gcry_seed.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1654 = gcry_seed.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1655 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_seed.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1656 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_seed.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1657 = gcry_serpent.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1658 = gcry_serpent.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1659 = gcry_serpent.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1660 = gcry_serpent.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1661 = \ +@COND_i386_coreboot_TRUE@ gcry_serpent.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1662 = \ +@COND_i386_multiboot_TRUE@ gcry_serpent.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1663 = \ +@COND_i386_ieee1275_TRUE@ gcry_serpent.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1664 = gcry_serpent.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1665 = \ +@COND_mips_yeeloong_TRUE@ gcry_serpent.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1666 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_serpent.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1667 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_serpent.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1668 = gcry_sha1.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1669 = gcry_sha1.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1670 = gcry_sha1.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1671 = gcry_sha1.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1672 = gcry_sha1.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1673 = gcry_sha1.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1674 = gcry_sha1.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1675 = gcry_sha1.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1676 = gcry_sha1.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1677 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_sha1.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1678 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_sha1.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1679 = gcry_sha256.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1680 = gcry_sha256.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1681 = gcry_sha256.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1682 = gcry_sha256.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1683 = \ +@COND_i386_coreboot_TRUE@ gcry_sha256.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1684 = \ +@COND_i386_multiboot_TRUE@ gcry_sha256.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1685 = \ +@COND_i386_ieee1275_TRUE@ gcry_sha256.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1686 = gcry_sha256.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1687 = \ +@COND_mips_yeeloong_TRUE@ gcry_sha256.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1688 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_sha256.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1689 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_sha256.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1690 = gcry_sha512.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1691 = gcry_sha512.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1692 = gcry_sha512.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1693 = gcry_sha512.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1694 = \ +@COND_i386_coreboot_TRUE@ gcry_sha512.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1695 = \ +@COND_i386_multiboot_TRUE@ gcry_sha512.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1696 = \ +@COND_i386_ieee1275_TRUE@ gcry_sha512.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1697 = gcry_sha512.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1698 = \ +@COND_mips_yeeloong_TRUE@ gcry_sha512.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1699 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_sha512.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1700 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_sha512.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1701 = gcry_tiger.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1702 = gcry_tiger.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1703 = gcry_tiger.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1704 = gcry_tiger.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1705 = gcry_tiger.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1706 = \ +@COND_i386_multiboot_TRUE@ gcry_tiger.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1707 = gcry_tiger.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1708 = gcry_tiger.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1709 = gcry_tiger.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1710 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_tiger.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1711 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_tiger.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1712 = gcry_twofish.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1713 = gcry_twofish.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1714 = gcry_twofish.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1715 = gcry_twofish.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1716 = \ +@COND_i386_coreboot_TRUE@ gcry_twofish.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1717 = \ +@COND_i386_multiboot_TRUE@ gcry_twofish.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1718 = \ +@COND_i386_ieee1275_TRUE@ gcry_twofish.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1719 = gcry_twofish.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1720 = \ +@COND_mips_yeeloong_TRUE@ gcry_twofish.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1721 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_twofish.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1722 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_twofish.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1723 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1724 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1725 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1726 = gcry_whirlpool.module$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1727 = \ +@COND_i386_coreboot_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1728 = \ +@COND_i386_multiboot_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1729 = \ +@COND_i386_ieee1275_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1730 = \ +@COND_x86_64_efi_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1731 = \ +@COND_mips_yeeloong_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1732 = \ +@COND_sparc64_ieee1275_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1733 = \ +@COND_powerpc_ieee1275_TRUE@ gcry_whirlpool.module$(EXEEXT) +@COND_emu_TRUE@am__EXEEXT_1734 = kernel.exec$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1735 = kernel.exec$(EXEEXT) +@COND_i386_efi_TRUE@am__EXEEXT_1736 = kernel.exec$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1737 = kernel.exec$(EXEEXT) +@COND_i386_coreboot_TRUE@am__EXEEXT_1738 = kernel.exec$(EXEEXT) +@COND_i386_multiboot_TRUE@am__EXEEXT_1739 = kernel.exec$(EXEEXT) +@COND_i386_ieee1275_TRUE@am__EXEEXT_1740 = kernel.exec$(EXEEXT) +@COND_x86_64_efi_TRUE@am__EXEEXT_1741 = kernel.exec$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1742 = kernel.exec$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1743 = kernel.exec$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@am__EXEEXT_1744 = kernel.exec$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1745 = boot.image$(EXEEXT) +@COND_i386_qemu_TRUE@am__EXEEXT_1746 = boot.image$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1747 = boot.image$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1748 = cdboot.image$(EXEEXT) \ +@COND_i386_pc_TRUE@ pxeboot.image$(EXEEXT) \ +@COND_i386_pc_TRUE@ diskboot.image$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@am__EXEEXT_1749 = diskboot.image$(EXEEXT) +@COND_i386_pc_TRUE@am__EXEEXT_1750 = lnxboot.image$(EXEEXT) +@COND_mips_yeeloong_TRUE@am__EXEEXT_1751 = \ +@COND_mips_yeeloong_TRUE@ xz_decompress.image$(EXEEXT) \ +@COND_mips_yeeloong_TRUE@ none_decompress.image$(EXEEXT) \ +@COND_mips_yeeloong_TRUE@ fwstart.image$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS) +am__acpi_module_SOURCES_DIST = commands/i386/pc/acpi.c commands/acpi.c \ + commands/efi/acpi.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_x86_64_efi_TRUE@am_acpi_module_OBJECTS = commands/efi/acpi_module-acpi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_x86_64_efi_TRUE@ commands/acpi_module-acpi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_acpi_module_OBJECTS = commands/i386/pc/acpi_module-acpi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ commands/acpi_module-acpi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@am_acpi_module_OBJECTS = commands/i386/pc/acpi_module-acpi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@ commands/acpi_module-acpi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_acpi_module_OBJECTS = commands/efi/acpi_module-acpi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ commands/acpi_module-acpi.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_acpi_module_OBJECTS = commands/i386/pc/acpi_module-acpi.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ commands/acpi_module-acpi.$(OBJEXT) +nodist_acpi_module_OBJECTS = +acpi_module_OBJECTS = $(am_acpi_module_OBJECTS) \ + $(nodist_acpi_module_OBJECTS) +acpi_module_DEPENDENCIES = +acpi_module_LINK = $(CCLD) $(acpi_module_CFLAGS) $(CFLAGS) \ + $(acpi_module_LDFLAGS) $(LDFLAGS) -o $@ +am__affs_module_SOURCES_DIST = fs/affs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +@COND_emu_TRUE@am_affs_module_OBJECTS = fs/affs_module-affs.$(OBJEXT) +nodist_affs_module_OBJECTS = +affs_module_OBJECTS = $(am_affs_module_OBJECTS) \ + $(nodist_affs_module_OBJECTS) +affs_module_DEPENDENCIES = +affs_module_LINK = $(CCLD) $(affs_module_CFLAGS) $(CFLAGS) \ + $(affs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__afs_module_SOURCES_DIST = fs/afs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +@COND_emu_TRUE@am_afs_module_OBJECTS = fs/afs_module-afs.$(OBJEXT) +nodist_afs_module_OBJECTS = +afs_module_OBJECTS = $(am_afs_module_OBJECTS) \ + $(nodist_afs_module_OBJECTS) +afs_module_DEPENDENCIES = +afs_module_LINK = $(CCLD) $(afs_module_CFLAGS) $(CFLAGS) \ + $(afs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__afs_be_module_SOURCES_DIST = fs/afs_be.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_afs_be_module_OBJECTS = fs/afs_be_module-afs_be.$(OBJEXT) +@COND_emu_TRUE@am_afs_be_module_OBJECTS = \ +@COND_emu_TRUE@ fs/afs_be_module-afs_be.$(OBJEXT) +nodist_afs_be_module_OBJECTS = +afs_be_module_OBJECTS = $(am_afs_be_module_OBJECTS) \ + $(nodist_afs_be_module_OBJECTS) +afs_be_module_DEPENDENCIES = +afs_be_module_LINK = $(CCLD) $(afs_be_module_CFLAGS) $(CFLAGS) \ + $(afs_be_module_LDFLAGS) $(LDFLAGS) -o $@ +am__aout_module_SOURCES_DIST = loader/aout.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_aout_module_OBJECTS = loader/aout_module-aout.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_aout_module_OBJECTS = loader/aout_module-aout.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_aout_module_OBJECTS = loader/aout_module-aout.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_aout_module_OBJECTS = loader/aout_module-aout.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_aout_module_OBJECTS = loader/aout_module-aout.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_aout_module_OBJECTS = loader/aout_module-aout.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_aout_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ loader/aout_module-aout.$(OBJEXT) +nodist_aout_module_OBJECTS = +aout_module_OBJECTS = $(am_aout_module_OBJECTS) \ + $(nodist_aout_module_OBJECTS) +aout_module_DEPENDENCIES = +aout_module_LINK = $(CCLD) $(aout_module_CFLAGS) $(CFLAGS) \ + $(aout_module_LDFLAGS) $(LDFLAGS) -o $@ +am__appleldr_module_SOURCES_DIST = loader/efi/appleloader.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_appleldr_module_OBJECTS = loader/efi/appleldr_module-appleloader.$(OBJEXT) +@COND_i386_efi_TRUE@am_appleldr_module_OBJECTS = loader/efi/appleldr_module-appleloader.$(OBJEXT) +nodist_appleldr_module_OBJECTS = +appleldr_module_OBJECTS = $(am_appleldr_module_OBJECTS) \ + $(nodist_appleldr_module_OBJECTS) +appleldr_module_DEPENDENCIES = +appleldr_module_LINK = $(CCLD) $(appleldr_module_CFLAGS) $(CFLAGS) \ + $(appleldr_module_LDFLAGS) $(LDFLAGS) -o $@ +am__at_keyboard_module_SOURCES_DIST = term/at_keyboard.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_at_keyboard_module_OBJECTS = term/at_keyboard_module-at_keyboard.$(OBJEXT) +nodist_at_keyboard_module_OBJECTS = +at_keyboard_module_OBJECTS = $(am_at_keyboard_module_OBJECTS) \ + $(nodist_at_keyboard_module_OBJECTS) +at_keyboard_module_DEPENDENCIES = +at_keyboard_module_LINK = $(CCLD) $(at_keyboard_module_CFLAGS) \ + $(CFLAGS) $(at_keyboard_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ata_module_SOURCES_DIST = disk/ata.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ata_module_OBJECTS = disk/ata_module-ata.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_ata_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ disk/ata_module-ata.$(OBJEXT) +nodist_ata_module_OBJECTS = +ata_module_OBJECTS = $(am_ata_module_OBJECTS) \ + $(nodist_ata_module_OBJECTS) +ata_module_DEPENDENCIES = +ata_module_LINK = $(CCLD) $(ata_module_CFLAGS) $(CFLAGS) \ + $(ata_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ata_pthru_module_SOURCES_DIST = disk/ata_pthru.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_ata_pthru_module_OBJECTS = disk/ata_pthru_module-ata_pthru.$(OBJEXT) +nodist_ata_pthru_module_OBJECTS = +ata_pthru_module_OBJECTS = $(am_ata_pthru_module_OBJECTS) \ + $(nodist_ata_pthru_module_OBJECTS) +ata_pthru_module_DEPENDENCIES = +ata_pthru_module_LINK = $(CCLD) $(ata_pthru_module_CFLAGS) $(CFLAGS) \ + $(ata_pthru_module_LDFLAGS) $(LDFLAGS) -o $@ +am__befs_module_SOURCES_DIST = fs/befs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +@COND_emu_TRUE@am_befs_module_OBJECTS = fs/befs_module-befs.$(OBJEXT) +nodist_befs_module_OBJECTS = +befs_module_OBJECTS = $(am_befs_module_OBJECTS) \ + $(nodist_befs_module_OBJECTS) +befs_module_DEPENDENCIES = +befs_module_LINK = $(CCLD) $(befs_module_CFLAGS) $(CFLAGS) \ + $(befs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__befs_be_module_SOURCES_DIST = fs/befs_be.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_befs_be_module_OBJECTS = fs/befs_be_module-befs_be.$(OBJEXT) +@COND_emu_TRUE@am_befs_be_module_OBJECTS = \ +@COND_emu_TRUE@ fs/befs_be_module-befs_be.$(OBJEXT) +nodist_befs_be_module_OBJECTS = +befs_be_module_OBJECTS = $(am_befs_be_module_OBJECTS) \ + $(nodist_befs_be_module_OBJECTS) +befs_be_module_DEPENDENCIES = +befs_be_module_LINK = $(CCLD) $(befs_be_module_CFLAGS) $(CFLAGS) \ + $(befs_be_module_LDFLAGS) $(LDFLAGS) -o $@ +am__biosdisk_module_SOURCES_DIST = disk/i386/pc/biosdisk.c +@COND_i386_pc_TRUE@am_biosdisk_module_OBJECTS = disk/i386/pc/biosdisk_module-biosdisk.$(OBJEXT) +nodist_biosdisk_module_OBJECTS = +biosdisk_module_OBJECTS = $(am_biosdisk_module_OBJECTS) \ + $(nodist_biosdisk_module_OBJECTS) +biosdisk_module_DEPENDENCIES = +biosdisk_module_LINK = $(CCLD) $(biosdisk_module_CFLAGS) $(CFLAGS) \ + $(biosdisk_module_LDFLAGS) $(LDFLAGS) -o $@ +am__bitmap_module_SOURCES_DIST = video/bitmap.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_bitmap_module_OBJECTS = video/bitmap_module-bitmap.$(OBJEXT) +@COND_emu_TRUE@am_bitmap_module_OBJECTS = \ +@COND_emu_TRUE@ video/bitmap_module-bitmap.$(OBJEXT) +nodist_bitmap_module_OBJECTS = +bitmap_module_OBJECTS = $(am_bitmap_module_OBJECTS) \ + $(nodist_bitmap_module_OBJECTS) +bitmap_module_DEPENDENCIES = +bitmap_module_LINK = $(CCLD) $(bitmap_module_CFLAGS) $(CFLAGS) \ + $(bitmap_module_LDFLAGS) $(LDFLAGS) -o $@ +am__bitmap_scale_module_SOURCES_DIST = video/bitmap_scale.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +@COND_emu_TRUE@am_bitmap_scale_module_OBJECTS = video/bitmap_scale_module-bitmap_scale.$(OBJEXT) +nodist_bitmap_scale_module_OBJECTS = +bitmap_scale_module_OBJECTS = $(am_bitmap_scale_module_OBJECTS) \ + $(nodist_bitmap_scale_module_OBJECTS) +bitmap_scale_module_DEPENDENCIES = +bitmap_scale_module_LINK = $(CCLD) $(bitmap_scale_module_CFLAGS) \ + $(CFLAGS) $(bitmap_scale_module_LDFLAGS) $(LDFLAGS) -o $@ +am__blocklist_module_SOURCES_DIST = commands/blocklist.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_blocklist_module_OBJECTS = commands/blocklist_module-blocklist.$(OBJEXT) +@COND_emu_TRUE@am_blocklist_module_OBJECTS = \ +@COND_emu_TRUE@ commands/blocklist_module-blocklist.$(OBJEXT) +nodist_blocklist_module_OBJECTS = +blocklist_module_OBJECTS = $(am_blocklist_module_OBJECTS) \ + $(nodist_blocklist_module_OBJECTS) +blocklist_module_DEPENDENCIES = +blocklist_module_LINK = $(CCLD) $(blocklist_module_CFLAGS) $(CFLAGS) \ + $(blocklist_module_LDFLAGS) $(LDFLAGS) -o $@ +am__boot_image_SOURCES_DIST = boot/i386/pc/boot.S \ + boot/i386/qemu/boot.S boot/sparc64/ieee1275/boot.S +@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_sparc64_ieee1275_TRUE@am_boot_image_OBJECTS = boot/sparc64/ieee1275/boot_image-boot.$(OBJEXT) +@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_boot_image_OBJECTS = boot/i386/qemu/boot_image-boot.$(OBJEXT) +@COND_i386_pc_TRUE@am_boot_image_OBJECTS = \ +@COND_i386_pc_TRUE@ boot/i386/pc/boot_image-boot.$(OBJEXT) +nodist_boot_image_OBJECTS = +boot_image_OBJECTS = $(am_boot_image_OBJECTS) \ + $(nodist_boot_image_OBJECTS) +boot_image_DEPENDENCIES = +boot_image_LINK = $(CCLD) $(boot_image_CFLAGS) $(CFLAGS) \ + $(boot_image_LDFLAGS) $(LDFLAGS) -o $@ +am__boot_module_SOURCES_DIST = commands/boot.c lib/i386/pc/biosnum.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_boot_module_OBJECTS = lib/i386/pc/boot_module-biosnum.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_boot_module_OBJECTS = commands/boot_module-boot.$(OBJEXT) +@COND_emu_TRUE@am_boot_module_OBJECTS = \ +@COND_emu_TRUE@ commands/boot_module-boot.$(OBJEXT) +nodist_boot_module_OBJECTS = +boot_module_OBJECTS = $(am_boot_module_OBJECTS) \ + $(nodist_boot_module_OBJECTS) +boot_module_DEPENDENCIES = +boot_module_LINK = $(CCLD) $(boot_module_CFLAGS) $(CFLAGS) \ + $(boot_module_LDFLAGS) $(LDFLAGS) -o $@ +am__bsd_module_SOURCES_DIST = loader/i386/bsd.c loader/i386/bsd32.c \ + loader/i386/bsd64.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_bsd_module_OBJECTS = loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_bsd_module_OBJECTS = loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_bsd_module_OBJECTS = loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_bsd_module_OBJECTS = loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_bsd_module_OBJECTS = loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_bsd_module_OBJECTS = loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_bsd_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ loader/i386/bsd_module-bsd.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/i386/bsd_module-bsd32.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/i386/bsd_module-bsd64.$(OBJEXT) +nodist_bsd_module_OBJECTS = +bsd_module_OBJECTS = $(am_bsd_module_OBJECTS) \ + $(nodist_bsd_module_OBJECTS) +bsd_module_DEPENDENCIES = +bsd_module_LINK = $(CCLD) $(bsd_module_CFLAGS) $(CFLAGS) \ + $(bsd_module_LDFLAGS) $(LDFLAGS) -o $@ +am__btrfs_module_SOURCES_DIST = fs/btrfs.c lib/crc.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_btrfs_module_OBJECTS = fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +@COND_emu_TRUE@am_btrfs_module_OBJECTS = \ +@COND_emu_TRUE@ fs/btrfs_module-btrfs.$(OBJEXT) \ +@COND_emu_TRUE@ lib/btrfs_module-crc.$(OBJEXT) +nodist_btrfs_module_OBJECTS = +btrfs_module_OBJECTS = $(am_btrfs_module_OBJECTS) \ + $(nodist_btrfs_module_OBJECTS) +btrfs_module_DEPENDENCIES = +btrfs_module_LINK = $(CCLD) $(btrfs_module_CFLAGS) $(CFLAGS) \ + $(btrfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__bufio_module_SOURCES_DIST = io/bufio.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_bufio_module_OBJECTS = io/bufio_module-bufio.$(OBJEXT) +@COND_emu_TRUE@am_bufio_module_OBJECTS = \ +@COND_emu_TRUE@ io/bufio_module-bufio.$(OBJEXT) +nodist_bufio_module_OBJECTS = +bufio_module_OBJECTS = $(am_bufio_module_OBJECTS) \ + $(nodist_bufio_module_OBJECTS) +bufio_module_DEPENDENCIES = +bufio_module_LINK = $(CCLD) $(bufio_module_CFLAGS) $(CFLAGS) \ + $(bufio_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cat_module_SOURCES_DIST = commands/cat.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_cat_module_OBJECTS = commands/cat_module-cat.$(OBJEXT) +@COND_emu_TRUE@am_cat_module_OBJECTS = \ +@COND_emu_TRUE@ commands/cat_module-cat.$(OBJEXT) +nodist_cat_module_OBJECTS = +cat_module_OBJECTS = $(am_cat_module_OBJECTS) \ + $(nodist_cat_module_OBJECTS) +cat_module_DEPENDENCIES = +cat_module_LINK = $(CCLD) $(cat_module_CFLAGS) $(CFLAGS) \ + $(cat_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cdboot_image_SOURCES_DIST = boot/i386/pc/cdboot.S +@COND_i386_pc_TRUE@am_cdboot_image_OBJECTS = \ +@COND_i386_pc_TRUE@ boot/i386/pc/cdboot_image-cdboot.$(OBJEXT) +nodist_cdboot_image_OBJECTS = +cdboot_image_OBJECTS = $(am_cdboot_image_OBJECTS) \ + $(nodist_cdboot_image_OBJECTS) +cdboot_image_DEPENDENCIES = +cdboot_image_LINK = $(CCLD) $(cdboot_image_CFLAGS) $(CFLAGS) \ + $(cdboot_image_LDFLAGS) $(LDFLAGS) -o $@ +am__chain_module_SOURCES_DIST = loader/efi/chainloader.c \ + loader/i386/pc/chainloader.c +@COND_i386_efi_FALSE@@COND_i386_pc_FALSE@@COND_x86_64_efi_TRUE@am_chain_module_OBJECTS = loader/efi/chain_module-chainloader.$(OBJEXT) +@COND_i386_efi_FALSE@@COND_i386_pc_TRUE@am_chain_module_OBJECTS = loader/i386/pc/chain_module-chainloader.$(OBJEXT) +@COND_i386_efi_TRUE@am_chain_module_OBJECTS = loader/efi/chain_module-chainloader.$(OBJEXT) +nodist_chain_module_OBJECTS = +chain_module_OBJECTS = $(am_chain_module_OBJECTS) \ + $(nodist_chain_module_OBJECTS) +chain_module_DEPENDENCIES = +chain_module_LINK = $(CCLD) $(chain_module_CFLAGS) $(CFLAGS) \ + $(chain_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cmostest_module_SOURCES_DIST = commands/i386/cmostest.c +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_cmostest_module_OBJECTS = commands/i386/cmostest_module-cmostest.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_cmostest_module_OBJECTS = commands/i386/cmostest_module-cmostest.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_cmostest_module_OBJECTS = commands/i386/cmostest_module-cmostest.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_cmostest_module_OBJECTS = commands/i386/cmostest_module-cmostest.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@am_cmostest_module_OBJECTS = commands/i386/cmostest_module-cmostest.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_cmostest_module_OBJECTS = commands/i386/cmostest_module-cmostest.$(OBJEXT) +nodist_cmostest_module_OBJECTS = +cmostest_module_OBJECTS = $(am_cmostest_module_OBJECTS) \ + $(nodist_cmostest_module_OBJECTS) +cmostest_module_DEPENDENCIES = +cmostest_module_LINK = $(CCLD) $(cmostest_module_CFLAGS) $(CFLAGS) \ + $(cmostest_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cmp_module_SOURCES_DIST = commands/cmp.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_cmp_module_OBJECTS = commands/cmp_module-cmp.$(OBJEXT) +@COND_emu_TRUE@am_cmp_module_OBJECTS = \ +@COND_emu_TRUE@ commands/cmp_module-cmp.$(OBJEXT) +nodist_cmp_module_OBJECTS = +cmp_module_OBJECTS = $(am_cmp_module_OBJECTS) \ + $(nodist_cmp_module_OBJECTS) +cmp_module_DEPENDENCIES = +cmp_module_LINK = $(CCLD) $(cmp_module_CFLAGS) $(CFLAGS) \ + $(cmp_module_LDFLAGS) $(LDFLAGS) -o $@ +am__configfile_module_SOURCES_DIST = commands/configfile.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +@COND_emu_TRUE@am_configfile_module_OBJECTS = commands/configfile_module-configfile.$(OBJEXT) +nodist_configfile_module_OBJECTS = +configfile_module_OBJECTS = $(am_configfile_module_OBJECTS) \ + $(nodist_configfile_module_OBJECTS) +configfile_module_DEPENDENCIES = +configfile_module_LINK = $(CCLD) $(configfile_module_CFLAGS) $(CFLAGS) \ + $(configfile_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cpio_module_SOURCES_DIST = fs/cpio.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +@COND_emu_TRUE@am_cpio_module_OBJECTS = fs/cpio_module-cpio.$(OBJEXT) +nodist_cpio_module_OBJECTS = +cpio_module_OBJECTS = $(am_cpio_module_OBJECTS) \ + $(nodist_cpio_module_OBJECTS) +cpio_module_DEPENDENCIES = +cpio_module_LINK = $(CCLD) $(cpio_module_CFLAGS) $(CFLAGS) \ + $(cpio_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cpuid_module_SOURCES_DIST = commands/i386/cpuid.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_cpuid_module_OBJECTS = commands/i386/cpuid_module-cpuid.$(OBJEXT) +nodist_cpuid_module_OBJECTS = +cpuid_module_OBJECTS = $(am_cpuid_module_OBJECTS) \ + $(nodist_cpuid_module_OBJECTS) +cpuid_module_DEPENDENCIES = +cpuid_module_LINK = $(CCLD) $(cpuid_module_CFLAGS) $(CFLAGS) \ + $(cpuid_module_LDFLAGS) $(LDFLAGS) -o $@ +am__crypto_module_SOURCES_DIST = lib/crypto.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_crypto_module_OBJECTS = lib/crypto_module-crypto.$(OBJEXT) +@COND_emu_TRUE@am_crypto_module_OBJECTS = \ +@COND_emu_TRUE@ lib/crypto_module-crypto.$(OBJEXT) +nodist_crypto_module_OBJECTS = +crypto_module_OBJECTS = $(am_crypto_module_OBJECTS) \ + $(nodist_crypto_module_OBJECTS) +crypto_module_DEPENDENCIES = +crypto_module_LINK = $(CCLD) $(crypto_module_CFLAGS) $(CFLAGS) \ + $(crypto_module_LDFLAGS) $(LDFLAGS) -o $@ +am__cs5536_module_SOURCES_DIST = bus/cs5536.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_cs5536_module_OBJECTS = bus/cs5536_module-cs5536.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_cs5536_module_OBJECTS = bus/cs5536_module-cs5536.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_cs5536_module_OBJECTS = bus/cs5536_module-cs5536.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_cs5536_module_OBJECTS = bus/cs5536_module-cs5536.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_cs5536_module_OBJECTS = bus/cs5536_module-cs5536.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_cs5536_module_OBJECTS = bus/cs5536_module-cs5536.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_cs5536_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ bus/cs5536_module-cs5536.$(OBJEXT) +nodist_cs5536_module_OBJECTS = +cs5536_module_OBJECTS = $(am_cs5536_module_OBJECTS) \ + $(nodist_cs5536_module_OBJECTS) +cs5536_module_DEPENDENCIES = +cs5536_module_LINK = $(CCLD) $(cs5536_module_CFLAGS) $(CFLAGS) \ + $(cs5536_module_LDFLAGS) $(LDFLAGS) -o $@ +am__date_module_SOURCES_DIST = commands/date.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_date_module_OBJECTS = commands/date_module-date.$(OBJEXT) +@COND_emu_TRUE@am_date_module_OBJECTS = \ +@COND_emu_TRUE@ commands/date_module-date.$(OBJEXT) +nodist_date_module_OBJECTS = +date_module_OBJECTS = $(am_date_module_OBJECTS) \ + $(nodist_date_module_OBJECTS) +date_module_DEPENDENCIES = +date_module_LINK = $(CCLD) $(date_module_CFLAGS) $(CFLAGS) \ + $(date_module_LDFLAGS) $(LDFLAGS) -o $@ +am__datehook_module_SOURCES_DIST = hook/datehook.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_datehook_module_OBJECTS = hook/datehook_module-datehook.$(OBJEXT) +@COND_emu_TRUE@am_datehook_module_OBJECTS = \ +@COND_emu_TRUE@ hook/datehook_module-datehook.$(OBJEXT) +nodist_datehook_module_OBJECTS = +datehook_module_OBJECTS = $(am_datehook_module_OBJECTS) \ + $(nodist_datehook_module_OBJECTS) +datehook_module_DEPENDENCIES = +datehook_module_LINK = $(CCLD) $(datehook_module_CFLAGS) $(CFLAGS) \ + $(datehook_module_LDFLAGS) $(LDFLAGS) -o $@ +am__datetime_module_SOURCES_DIST = lib/cmos_datetime.c \ + lib/efi/datetime.c lib/ieee1275/datetime.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_datetime_module_OBJECTS = lib/efi/datetime_module-datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_datetime_module_OBJECTS = lib/ieee1275/datetime_module-datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_datetime_module_OBJECTS = lib/ieee1275/datetime_module-datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_datetime_module_OBJECTS = lib/datetime_module-cmos_datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_datetime_module_OBJECTS = lib/datetime_module-cmos_datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_datetime_module_OBJECTS = lib/datetime_module-cmos_datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_datetime_module_OBJECTS = lib/datetime_module-cmos_datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_datetime_module_OBJECTS = lib/datetime_module-cmos_datetime.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_datetime_module_OBJECTS = lib/efi/datetime_module-datetime.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_datetime_module_OBJECTS = lib/datetime_module-cmos_datetime.$(OBJEXT) +nodist_datetime_module_OBJECTS = +datetime_module_OBJECTS = $(am_datetime_module_OBJECTS) \ + $(nodist_datetime_module_OBJECTS) +datetime_module_DEPENDENCIES = +datetime_module_LINK = $(CCLD) $(datetime_module_CFLAGS) $(CFLAGS) \ + $(datetime_module_LDFLAGS) $(LDFLAGS) -o $@ +am__diskboot_image_SOURCES_DIST = boot/i386/pc/diskboot.S \ + boot/sparc64/ieee1275/diskboot.S +@COND_i386_pc_FALSE@@COND_sparc64_ieee1275_TRUE@am_diskboot_image_OBJECTS = boot/sparc64/ieee1275/diskboot_image-diskboot.$(OBJEXT) +@COND_i386_pc_TRUE@am_diskboot_image_OBJECTS = boot/i386/pc/diskboot_image-diskboot.$(OBJEXT) +nodist_diskboot_image_OBJECTS = +diskboot_image_OBJECTS = $(am_diskboot_image_OBJECTS) \ + $(nodist_diskboot_image_OBJECTS) +diskboot_image_DEPENDENCIES = +diskboot_image_LINK = $(CCLD) $(diskboot_image_CFLAGS) $(CFLAGS) \ + $(diskboot_image_LDFLAGS) $(LDFLAGS) -o $@ +am__dm_nv_module_SOURCES_DIST = disk/dmraid_nvidia.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_dm_nv_module_OBJECTS = disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +@COND_emu_TRUE@am_dm_nv_module_OBJECTS = \ +@COND_emu_TRUE@ disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) +nodist_dm_nv_module_OBJECTS = +dm_nv_module_OBJECTS = $(am_dm_nv_module_OBJECTS) \ + $(nodist_dm_nv_module_OBJECTS) +dm_nv_module_DEPENDENCIES = +dm_nv_module_LINK = $(CCLD) $(dm_nv_module_CFLAGS) $(CFLAGS) \ + $(dm_nv_module_LDFLAGS) $(LDFLAGS) -o $@ +am__drivemap_module_SOURCES_DIST = commands/i386/pc/drivemap.c \ + commands/i386/pc/drivemap_int13h.S +@COND_i386_pc_TRUE@am_drivemap_module_OBJECTS = commands/i386/pc/drivemap_module-drivemap.$(OBJEXT) \ +@COND_i386_pc_TRUE@ commands/i386/pc/drivemap_module-drivemap_int13h.$(OBJEXT) +nodist_drivemap_module_OBJECTS = +drivemap_module_OBJECTS = $(am_drivemap_module_OBJECTS) \ + $(nodist_drivemap_module_OBJECTS) +drivemap_module_DEPENDENCIES = +drivemap_module_LINK = $(CCLD) $(drivemap_module_CFLAGS) $(CFLAGS) \ + $(drivemap_module_LDFLAGS) $(LDFLAGS) -o $@ +am__echo_module_SOURCES_DIST = commands/echo.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_echo_module_OBJECTS = commands/echo_module-echo.$(OBJEXT) +@COND_emu_TRUE@am_echo_module_OBJECTS = \ +@COND_emu_TRUE@ commands/echo_module-echo.$(OBJEXT) +nodist_echo_module_OBJECTS = +echo_module_OBJECTS = $(am_echo_module_OBJECTS) \ + $(nodist_echo_module_OBJECTS) +echo_module_DEPENDENCIES = +echo_module_LINK = $(CCLD) $(echo_module_CFLAGS) $(CFLAGS) \ + $(echo_module_LDFLAGS) $(LDFLAGS) -o $@ +am__efi_gop_module_SOURCES_DIST = video/efi_gop.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_efi_gop_module_OBJECTS = video/efi_gop_module-efi_gop.$(OBJEXT) +@COND_i386_efi_TRUE@am_efi_gop_module_OBJECTS = \ +@COND_i386_efi_TRUE@ video/efi_gop_module-efi_gop.$(OBJEXT) +nodist_efi_gop_module_OBJECTS = +efi_gop_module_OBJECTS = $(am_efi_gop_module_OBJECTS) \ + $(nodist_efi_gop_module_OBJECTS) +efi_gop_module_DEPENDENCIES = +efi_gop_module_LINK = $(CCLD) $(efi_gop_module_CFLAGS) $(CFLAGS) \ + $(efi_gop_module_LDFLAGS) $(LDFLAGS) -o $@ +am__efi_uga_module_SOURCES_DIST = video/efi_uga.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_efi_uga_module_OBJECTS = video/efi_uga_module-efi_uga.$(OBJEXT) +@COND_i386_efi_TRUE@am_efi_uga_module_OBJECTS = \ +@COND_i386_efi_TRUE@ video/efi_uga_module-efi_uga.$(OBJEXT) +nodist_efi_uga_module_OBJECTS = +efi_uga_module_OBJECTS = $(am_efi_uga_module_OBJECTS) \ + $(nodist_efi_uga_module_OBJECTS) +efi_uga_module_DEPENDENCIES = +efi_uga_module_LINK = $(CCLD) $(efi_uga_module_CFLAGS) $(CFLAGS) \ + $(efi_uga_module_LDFLAGS) $(LDFLAGS) -o $@ +am__efiemu_module_SOURCES_DIST = efiemu/i386/pc/cfgtables.c \ + efiemu/main.c efiemu/i386/loadcore32.c \ + efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c \ + efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c \ + efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c \ + efiemu/i386/coredetect.c efiemu/i386/nocfgtables.c +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_efiemu_module_OBJECTS = efiemu/i386/efiemu_module-nocfgtables.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-main.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/i386/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/i386/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-mm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-loadcore_common.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-symbols.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-prepare32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-prepare64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/efiemu_module-pnvram.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ efiemu/i386/efiemu_module-coredetect.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_efiemu_module_OBJECTS = efiemu/i386/pc/efiemu_module-cfgtables.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-main.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/i386/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/i386/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-mm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-loadcore_common.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-symbols.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-prepare32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-prepare64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/efiemu_module-pnvram.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ efiemu/i386/efiemu_module-coredetect.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_efiemu_module_OBJECTS = efiemu/i386/pc/efiemu_module-cfgtables.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-main.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/i386/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/i386/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-mm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-loadcore_common.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-symbols.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-prepare32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-prepare64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/efiemu_module-pnvram.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ efiemu/i386/efiemu_module-coredetect.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@am_efiemu_module_OBJECTS = efiemu/i386/efiemu_module-nocfgtables.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-main.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/i386/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/i386/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-mm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-loadcore_common.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-symbols.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-prepare32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-prepare64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/efiemu_module-pnvram.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_ieee1275_TRUE@ efiemu/i386/efiemu_module-coredetect.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_efiemu_module_OBJECTS = efiemu/i386/pc/efiemu_module-cfgtables.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-main.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/i386/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/i386/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-mm.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-loadcore_common.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-symbols.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-loadcore32.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-loadcore64.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-prepare32.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-prepare64.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/efiemu_module-pnvram.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ efiemu/i386/efiemu_module-coredetect.$(OBJEXT) +nodist_efiemu_module_OBJECTS = +efiemu_module_OBJECTS = $(am_efiemu_module_OBJECTS) \ + $(nodist_efiemu_module_OBJECTS) +efiemu_module_DEPENDENCIES = +efiemu_module_LINK = $(CCLD) $(efiemu_module_CFLAGS) $(CFLAGS) \ + $(efiemu_module_LDFLAGS) $(LDFLAGS) -o $@ +am__elf_module_SOURCES_DIST = kern/elf.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +@COND_emu_TRUE@am_elf_module_OBJECTS = kern/elf_module-elf.$(OBJEXT) +nodist_elf_module_OBJECTS = +elf_module_OBJECTS = $(am_elf_module_OBJECTS) \ + $(nodist_elf_module_OBJECTS) +elf_module_DEPENDENCIES = +elf_module_LINK = $(CCLD) $(elf_module_CFLAGS) $(CFLAGS) \ + $(elf_module_LDFLAGS) $(LDFLAGS) -o $@ +am__example_functional_test_module_SOURCES_DIST = \ + tests/example_functional_test.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +@COND_emu_TRUE@am_example_functional_test_module_OBJECTS = tests/example_functional_test_module-example_functional_test.$(OBJEXT) +nodist_example_functional_test_module_OBJECTS = +example_functional_test_module_OBJECTS = \ + $(am_example_functional_test_module_OBJECTS) \ + $(nodist_example_functional_test_module_OBJECTS) +example_functional_test_module_DEPENDENCIES = +example_functional_test_module_LINK = $(CCLD) \ + $(example_functional_test_module_CFLAGS) $(CFLAGS) \ + $(example_functional_test_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ext2_module_SOURCES_DIST = fs/ext2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +@COND_emu_TRUE@am_ext2_module_OBJECTS = fs/ext2_module-ext2.$(OBJEXT) +nodist_ext2_module_OBJECTS = +ext2_module_OBJECTS = $(am_ext2_module_OBJECTS) \ + $(nodist_ext2_module_OBJECTS) +ext2_module_DEPENDENCIES = +ext2_module_LINK = $(CCLD) $(ext2_module_CFLAGS) $(CFLAGS) \ + $(ext2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__extcmd_module_SOURCES_DIST = commands/extcmd.c lib/arg.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_extcmd_module_OBJECTS = commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_extcmd_module_OBJECTS = commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_extcmd_module_OBJECTS = commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@am_extcmd_module_OBJECTS = commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_extcmd_module_OBJECTS = commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_extcmd_module_OBJECTS = commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +@COND_emu_TRUE@am_extcmd_module_OBJECTS = \ +@COND_emu_TRUE@ commands/extcmd_module-extcmd.$(OBJEXT) \ +@COND_emu_TRUE@ lib/extcmd_module-arg.$(OBJEXT) +nodist_extcmd_module_OBJECTS = +extcmd_module_OBJECTS = $(am_extcmd_module_OBJECTS) \ + $(nodist_extcmd_module_OBJECTS) +extcmd_module_DEPENDENCIES = +extcmd_module_LINK = $(CCLD) $(extcmd_module_CFLAGS) $(CFLAGS) \ + $(extcmd_module_LDFLAGS) $(LDFLAGS) -o $@ +am__fat_module_SOURCES_DIST = fs/fat.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +@COND_emu_TRUE@am_fat_module_OBJECTS = fs/fat_module-fat.$(OBJEXT) +nodist_fat_module_OBJECTS = +fat_module_OBJECTS = $(am_fat_module_OBJECTS) \ + $(nodist_fat_module_OBJECTS) +fat_module_DEPENDENCIES = +fat_module_LINK = $(CCLD) $(fat_module_CFLAGS) $(CFLAGS) \ + $(fat_module_LDFLAGS) $(LDFLAGS) -o $@ +am__fixvideo_module_SOURCES_DIST = commands/efi/fixvideo.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_fixvideo_module_OBJECTS = commands/efi/fixvideo_module-fixvideo.$(OBJEXT) +@COND_i386_efi_TRUE@am_fixvideo_module_OBJECTS = commands/efi/fixvideo_module-fixvideo.$(OBJEXT) +nodist_fixvideo_module_OBJECTS = +fixvideo_module_OBJECTS = $(am_fixvideo_module_OBJECTS) \ + $(nodist_fixvideo_module_OBJECTS) +fixvideo_module_DEPENDENCIES = +fixvideo_module_LINK = $(CCLD) $(fixvideo_module_CFLAGS) $(CFLAGS) \ + $(fixvideo_module_LDFLAGS) $(LDFLAGS) -o $@ +am__font_module_SOURCES_DIST = font/font.c font/font_cmd.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_font_module_OBJECTS = font/font_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ font/font_module-font_cmd.$(OBJEXT) +@COND_emu_TRUE@am_font_module_OBJECTS = \ +@COND_emu_TRUE@ font/font_module-font.$(OBJEXT) \ +@COND_emu_TRUE@ font/font_module-font_cmd.$(OBJEXT) +nodist_font_module_OBJECTS = +font_module_OBJECTS = $(am_font_module_OBJECTS) \ + $(nodist_font_module_OBJECTS) +font_module_DEPENDENCIES = +font_module_LINK = $(CCLD) $(font_module_CFLAGS) $(CFLAGS) \ + $(font_module_LDFLAGS) $(LDFLAGS) -o $@ +am__fshelp_module_SOURCES_DIST = fs/fshelp.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_fshelp_module_OBJECTS = fs/fshelp_module-fshelp.$(OBJEXT) +@COND_emu_TRUE@am_fshelp_module_OBJECTS = \ +@COND_emu_TRUE@ fs/fshelp_module-fshelp.$(OBJEXT) +nodist_fshelp_module_OBJECTS = +fshelp_module_OBJECTS = $(am_fshelp_module_OBJECTS) \ + $(nodist_fshelp_module_OBJECTS) +fshelp_module_DEPENDENCIES = +fshelp_module_LINK = $(CCLD) $(fshelp_module_CFLAGS) $(CFLAGS) \ + $(fshelp_module_LDFLAGS) $(LDFLAGS) -o $@ +am__functional_test_module_SOURCES_DIST = tests/lib/functional_test.c \ + tests/lib/test.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +@COND_emu_TRUE@am_functional_test_module_OBJECTS = tests/lib/functional_test_module-functional_test.$(OBJEXT) \ +@COND_emu_TRUE@ tests/lib/functional_test_module-test.$(OBJEXT) +nodist_functional_test_module_OBJECTS = +functional_test_module_OBJECTS = $(am_functional_test_module_OBJECTS) \ + $(nodist_functional_test_module_OBJECTS) +functional_test_module_DEPENDENCIES = +functional_test_module_LINK = $(CCLD) $(functional_test_module_CFLAGS) \ + $(CFLAGS) $(functional_test_module_LDFLAGS) $(LDFLAGS) -o $@ +am__fwstart_image_SOURCES_DIST = boot/mips/yeeloong/fwstart.S +@COND_mips_yeeloong_TRUE@am_fwstart_image_OBJECTS = boot/mips/yeeloong/fwstart_image-fwstart.$(OBJEXT) +nodist_fwstart_image_OBJECTS = +fwstart_image_OBJECTS = $(am_fwstart_image_OBJECTS) \ + $(nodist_fwstart_image_OBJECTS) +fwstart_image_DEPENDENCIES = +fwstart_image_LINK = $(CCLD) $(fwstart_image_CFLAGS) $(CFLAGS) \ + $(fwstart_image_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_arcfour_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/arcfour.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +@COND_emu_TRUE@am_gcry_arcfour_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) +nodist_gcry_arcfour_module_OBJECTS = +gcry_arcfour_module_OBJECTS = $(am_gcry_arcfour_module_OBJECTS) \ + $(nodist_gcry_arcfour_module_OBJECTS) +gcry_arcfour_module_DEPENDENCIES = +gcry_arcfour_module_LINK = $(CCLD) $(gcry_arcfour_module_CFLAGS) \ + $(CFLAGS) $(gcry_arcfour_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_blowfish_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/blowfish.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +@COND_emu_TRUE@am_gcry_blowfish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) +nodist_gcry_blowfish_module_OBJECTS = +gcry_blowfish_module_OBJECTS = $(am_gcry_blowfish_module_OBJECTS) \ + $(nodist_gcry_blowfish_module_OBJECTS) +gcry_blowfish_module_DEPENDENCIES = +gcry_blowfish_module_LINK = $(CCLD) $(gcry_blowfish_module_CFLAGS) \ + $(CFLAGS) $(gcry_blowfish_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_camellia_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/camellia-glue.c \ + lib/libgcrypt-grub/cipher/camellia.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +@COND_emu_TRUE@am_gcry_camellia_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) \ +@COND_emu_TRUE@ lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) +nodist_gcry_camellia_module_OBJECTS = +gcry_camellia_module_OBJECTS = $(am_gcry_camellia_module_OBJECTS) \ + $(nodist_gcry_camellia_module_OBJECTS) +gcry_camellia_module_DEPENDENCIES = +gcry_camellia_module_LINK = $(CCLD) $(gcry_camellia_module_CFLAGS) \ + $(CFLAGS) $(gcry_camellia_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_cast5_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/cast5.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +@COND_emu_TRUE@am_gcry_cast5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) +nodist_gcry_cast5_module_OBJECTS = +gcry_cast5_module_OBJECTS = $(am_gcry_cast5_module_OBJECTS) \ + $(nodist_gcry_cast5_module_OBJECTS) +gcry_cast5_module_DEPENDENCIES = +gcry_cast5_module_LINK = $(CCLD) $(gcry_cast5_module_CFLAGS) $(CFLAGS) \ + $(gcry_cast5_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_crc_module_SOURCES_DIST = lib/libgcrypt-grub/cipher/crc.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +@COND_emu_TRUE@am_gcry_crc_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) +nodist_gcry_crc_module_OBJECTS = +gcry_crc_module_OBJECTS = $(am_gcry_crc_module_OBJECTS) \ + $(nodist_gcry_crc_module_OBJECTS) +gcry_crc_module_DEPENDENCIES = +gcry_crc_module_LINK = $(CCLD) $(gcry_crc_module_CFLAGS) $(CFLAGS) \ + $(gcry_crc_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_des_module_SOURCES_DIST = lib/libgcrypt-grub/cipher/des.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +@COND_emu_TRUE@am_gcry_des_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) +nodist_gcry_des_module_OBJECTS = +gcry_des_module_OBJECTS = $(am_gcry_des_module_OBJECTS) \ + $(nodist_gcry_des_module_OBJECTS) +gcry_des_module_DEPENDENCIES = +gcry_des_module_LINK = $(CCLD) $(gcry_des_module_CFLAGS) $(CFLAGS) \ + $(gcry_des_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_md4_module_SOURCES_DIST = lib/libgcrypt-grub/cipher/md4.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +@COND_emu_TRUE@am_gcry_md4_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) +nodist_gcry_md4_module_OBJECTS = +gcry_md4_module_OBJECTS = $(am_gcry_md4_module_OBJECTS) \ + $(nodist_gcry_md4_module_OBJECTS) +gcry_md4_module_DEPENDENCIES = +gcry_md4_module_LINK = $(CCLD) $(gcry_md4_module_CFLAGS) $(CFLAGS) \ + $(gcry_md4_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_md5_module_SOURCES_DIST = lib/libgcrypt-grub/cipher/md5.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +@COND_emu_TRUE@am_gcry_md5_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) +nodist_gcry_md5_module_OBJECTS = +gcry_md5_module_OBJECTS = $(am_gcry_md5_module_OBJECTS) \ + $(nodist_gcry_md5_module_OBJECTS) +gcry_md5_module_DEPENDENCIES = +gcry_md5_module_LINK = $(CCLD) $(gcry_md5_module_CFLAGS) $(CFLAGS) \ + $(gcry_md5_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_rfc2268_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/rfc2268.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +@COND_emu_TRUE@am_gcry_rfc2268_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) +nodist_gcry_rfc2268_module_OBJECTS = +gcry_rfc2268_module_OBJECTS = $(am_gcry_rfc2268_module_OBJECTS) \ + $(nodist_gcry_rfc2268_module_OBJECTS) +gcry_rfc2268_module_DEPENDENCIES = +gcry_rfc2268_module_LINK = $(CCLD) $(gcry_rfc2268_module_CFLAGS) \ + $(CFLAGS) $(gcry_rfc2268_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_rijndael_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/rijndael.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +@COND_emu_TRUE@am_gcry_rijndael_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) +nodist_gcry_rijndael_module_OBJECTS = +gcry_rijndael_module_OBJECTS = $(am_gcry_rijndael_module_OBJECTS) \ + $(nodist_gcry_rijndael_module_OBJECTS) +gcry_rijndael_module_DEPENDENCIES = +gcry_rijndael_module_LINK = $(CCLD) $(gcry_rijndael_module_CFLAGS) \ + $(CFLAGS) $(gcry_rijndael_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_rmd160_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/rmd160.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +@COND_emu_TRUE@am_gcry_rmd160_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) +nodist_gcry_rmd160_module_OBJECTS = +gcry_rmd160_module_OBJECTS = $(am_gcry_rmd160_module_OBJECTS) \ + $(nodist_gcry_rmd160_module_OBJECTS) +gcry_rmd160_module_DEPENDENCIES = +gcry_rmd160_module_LINK = $(CCLD) $(gcry_rmd160_module_CFLAGS) \ + $(CFLAGS) $(gcry_rmd160_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_seed_module_SOURCES_DIST = lib/libgcrypt-grub/cipher/seed.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +@COND_emu_TRUE@am_gcry_seed_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) +nodist_gcry_seed_module_OBJECTS = +gcry_seed_module_OBJECTS = $(am_gcry_seed_module_OBJECTS) \ + $(nodist_gcry_seed_module_OBJECTS) +gcry_seed_module_DEPENDENCIES = +gcry_seed_module_LINK = $(CCLD) $(gcry_seed_module_CFLAGS) $(CFLAGS) \ + $(gcry_seed_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_serpent_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/serpent.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +@COND_emu_TRUE@am_gcry_serpent_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) +nodist_gcry_serpent_module_OBJECTS = +gcry_serpent_module_OBJECTS = $(am_gcry_serpent_module_OBJECTS) \ + $(nodist_gcry_serpent_module_OBJECTS) +gcry_serpent_module_DEPENDENCIES = +gcry_serpent_module_LINK = $(CCLD) $(gcry_serpent_module_CFLAGS) \ + $(CFLAGS) $(gcry_serpent_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_sha1_module_SOURCES_DIST = lib/libgcrypt-grub/cipher/sha1.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +@COND_emu_TRUE@am_gcry_sha1_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) +nodist_gcry_sha1_module_OBJECTS = +gcry_sha1_module_OBJECTS = $(am_gcry_sha1_module_OBJECTS) \ + $(nodist_gcry_sha1_module_OBJECTS) +gcry_sha1_module_DEPENDENCIES = +gcry_sha1_module_LINK = $(CCLD) $(gcry_sha1_module_CFLAGS) $(CFLAGS) \ + $(gcry_sha1_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_sha256_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/sha256.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +@COND_emu_TRUE@am_gcry_sha256_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) +nodist_gcry_sha256_module_OBJECTS = +gcry_sha256_module_OBJECTS = $(am_gcry_sha256_module_OBJECTS) \ + $(nodist_gcry_sha256_module_OBJECTS) +gcry_sha256_module_DEPENDENCIES = +gcry_sha256_module_LINK = $(CCLD) $(gcry_sha256_module_CFLAGS) \ + $(CFLAGS) $(gcry_sha256_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_sha512_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/sha512.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +@COND_emu_TRUE@am_gcry_sha512_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) +nodist_gcry_sha512_module_OBJECTS = +gcry_sha512_module_OBJECTS = $(am_gcry_sha512_module_OBJECTS) \ + $(nodist_gcry_sha512_module_OBJECTS) +gcry_sha512_module_DEPENDENCIES = +gcry_sha512_module_LINK = $(CCLD) $(gcry_sha512_module_CFLAGS) \ + $(CFLAGS) $(gcry_sha512_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_tiger_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/tiger.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +@COND_emu_TRUE@am_gcry_tiger_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) +nodist_gcry_tiger_module_OBJECTS = +gcry_tiger_module_OBJECTS = $(am_gcry_tiger_module_OBJECTS) \ + $(nodist_gcry_tiger_module_OBJECTS) +gcry_tiger_module_DEPENDENCIES = +gcry_tiger_module_LINK = $(CCLD) $(gcry_tiger_module_CFLAGS) $(CFLAGS) \ + $(gcry_tiger_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_twofish_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/twofish.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +@COND_emu_TRUE@am_gcry_twofish_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) +nodist_gcry_twofish_module_OBJECTS = +gcry_twofish_module_OBJECTS = $(am_gcry_twofish_module_OBJECTS) \ + $(nodist_gcry_twofish_module_OBJECTS) +gcry_twofish_module_DEPENDENCIES = +gcry_twofish_module_LINK = $(CCLD) $(gcry_twofish_module_CFLAGS) \ + $(CFLAGS) $(gcry_twofish_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gcry_whirlpool_module_SOURCES_DIST = \ + lib/libgcrypt-grub/cipher/whirlpool.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +@COND_emu_TRUE@am_gcry_whirlpool_module_OBJECTS = lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) +nodist_gcry_whirlpool_module_OBJECTS = +gcry_whirlpool_module_OBJECTS = $(am_gcry_whirlpool_module_OBJECTS) \ + $(nodist_gcry_whirlpool_module_OBJECTS) +gcry_whirlpool_module_DEPENDENCIES = +gcry_whirlpool_module_LINK = $(CCLD) $(gcry_whirlpool_module_CFLAGS) \ + $(CFLAGS) $(gcry_whirlpool_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gettext_module_SOURCES_DIST = gettext/gettext.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gettext_module_OBJECTS = gettext/gettext_module-gettext.$(OBJEXT) +@COND_emu_TRUE@am_gettext_module_OBJECTS = \ +@COND_emu_TRUE@ gettext/gettext_module-gettext.$(OBJEXT) +nodist_gettext_module_OBJECTS = +gettext_module_OBJECTS = $(am_gettext_module_OBJECTS) \ + $(nodist_gettext_module_OBJECTS) +gettext_module_DEPENDENCIES = +gettext_module_LINK = $(CCLD) $(gettext_module_CFLAGS) $(CFLAGS) \ + $(gettext_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gfxmenu_module_SOURCES_DIST = gfxmenu/gfxmenu.c gfxmenu/model.c \ + gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c \ + gfxmenu/theme_loader.c gfxmenu/widget-box.c \ + gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c \ + gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c \ + gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c \ + gfxmenu/gui_util.c gfxmenu/gui_string_util.c \ + gfxmenu/named_colors.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gfxmenu_module_OBJECTS = gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +@COND_emu_TRUE@am_gfxmenu_module_OBJECTS = \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-model.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-view.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-font.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) \ +@COND_emu_TRUE@ gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) +nodist_gfxmenu_module_OBJECTS = +gfxmenu_module_OBJECTS = $(am_gfxmenu_module_OBJECTS) \ + $(nodist_gfxmenu_module_OBJECTS) +gfxmenu_module_DEPENDENCIES = +gfxmenu_module_LINK = $(CCLD) $(gfxmenu_module_CFLAGS) $(CFLAGS) \ + $(gfxmenu_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gfxterm_module_SOURCES_DIST = term/gfxterm.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gfxterm_module_OBJECTS = term/gfxterm_module-gfxterm.$(OBJEXT) +@COND_emu_TRUE@am_gfxterm_module_OBJECTS = \ +@COND_emu_TRUE@ term/gfxterm_module-gfxterm.$(OBJEXT) +nodist_gfxterm_module_OBJECTS = +gfxterm_module_OBJECTS = $(am_gfxterm_module_OBJECTS) \ + $(nodist_gfxterm_module_OBJECTS) +gfxterm_module_DEPENDENCIES = +gfxterm_module_LINK = $(CCLD) $(gfxterm_module_CFLAGS) $(CFLAGS) \ + $(gfxterm_module_LDFLAGS) $(LDFLAGS) -o $@ +am__gptsync_module_SOURCES_DIST = commands/gptsync.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gptsync_module_OBJECTS = commands/gptsync_module-gptsync.$(OBJEXT) +@COND_emu_TRUE@am_gptsync_module_OBJECTS = \ +@COND_emu_TRUE@ commands/gptsync_module-gptsync.$(OBJEXT) +nodist_gptsync_module_OBJECTS = +gptsync_module_OBJECTS = $(am_gptsync_module_OBJECTS) \ + $(nodist_gptsync_module_OBJECTS) +gptsync_module_DEPENDENCIES = +gptsync_module_LINK = $(CCLD) $(gptsync_module_CFLAGS) $(CFLAGS) \ + $(gptsync_module_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_emu_SOURCES_DIST = kern/emu/full.c +@COND_emu_TRUE@am_grub_emu_OBJECTS = kern/emu/grub_emu-full.$(OBJEXT) +@COND_emu_TRUE@nodist_grub_emu_OBJECTS = \ +@COND_emu_TRUE@ grub_emu-grub_emu_init.$(OBJEXT) +grub_emu_OBJECTS = $(am_grub_emu_OBJECTS) $(nodist_grub_emu_OBJECTS) +am__DEPENDENCIES_1 = +@COND_emu_TRUE@grub_emu_DEPENDENCIES = kernel.img$(EXEEXT) \ +@COND_emu_TRUE@ $(MODULE_FILES) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +grub_emu_LINK = $(CCLD) $(grub_emu_CFLAGS) $(CFLAGS) \ + $(grub_emu_LDFLAGS) $(LDFLAGS) -o $@ +am__grub_emu_lite_SOURCES_DIST = kern/emu/lite.c +@COND_emu_TRUE@am_grub_emu_lite_OBJECTS = \ +@COND_emu_TRUE@ kern/emu/grub_emu_lite-lite.$(OBJEXT) +@COND_emu_TRUE@nodist_grub_emu_lite_OBJECTS = \ +@COND_emu_TRUE@ grub_emu_lite-symlist.$(OBJEXT) +grub_emu_lite_OBJECTS = $(am_grub_emu_lite_OBJECTS) \ + $(nodist_grub_emu_lite_OBJECTS) +@COND_emu_TRUE@grub_emu_lite_DEPENDENCIES = kernel.img$(EXEEXT) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +@COND_emu_TRUE@ $(am__DEPENDENCIES_1) +grub_emu_lite_LINK = $(CCLD) $(grub_emu_lite_CFLAGS) $(CFLAGS) \ + $(grub_emu_lite_LDFLAGS) $(LDFLAGS) -o $@ +am__gzio_module_SOURCES_DIST = io/gzio.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +@COND_emu_TRUE@am_gzio_module_OBJECTS = io/gzio_module-gzio.$(OBJEXT) +nodist_gzio_module_OBJECTS = +gzio_module_OBJECTS = $(am_gzio_module_OBJECTS) \ + $(nodist_gzio_module_OBJECTS) +gzio_module_DEPENDENCIES = +gzio_module_LINK = $(CCLD) $(gzio_module_CFLAGS) $(CFLAGS) \ + $(gzio_module_LDFLAGS) $(LDFLAGS) -o $@ +am__halt_module_SOURCES_DIST = lib/emu/halt.c commands/halt.c \ + commands/acpihalt.c lib/i386/halt.c lib/efi/halt.c \ + lib/ieee1275/halt.c commands/i386/pc/halt.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_halt_module_OBJECTS = commands/halt_module-acpihalt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/efi/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_halt_module_OBJECTS = lib/ieee1275/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_halt_module_OBJECTS = lib/ieee1275/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_halt_module_OBJECTS = commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_halt_module_OBJECTS = lib/i386/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_halt_module_OBJECTS = commands/i386/pc/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ commands/halt_module-acpihalt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_halt_module_OBJECTS = commands/halt_module-acpihalt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/i386/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_halt_module_OBJECTS = lib/ieee1275/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_halt_module_OBJECTS = commands/halt_module-acpihalt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/efi/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_halt_module_OBJECTS = commands/halt_module-acpihalt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/i386/halt_module-halt.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ commands/halt_module-halt.$(OBJEXT) +@COND_emu_TRUE@am_halt_module_OBJECTS = \ +@COND_emu_TRUE@ lib/emu/halt_module-halt.$(OBJEXT) \ +@COND_emu_TRUE@ commands/halt_module-halt.$(OBJEXT) +nodist_halt_module_OBJECTS = +halt_module_OBJECTS = $(am_halt_module_OBJECTS) \ + $(nodist_halt_module_OBJECTS) +halt_module_DEPENDENCIES = +halt_module_LINK = $(CCLD) $(halt_module_CFLAGS) $(CFLAGS) \ + $(halt_module_LDFLAGS) $(LDFLAGS) -o $@ +am__hashsum_module_SOURCES_DIST = commands/hashsum.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_hashsum_module_OBJECTS = commands/hashsum_module-hashsum.$(OBJEXT) +@COND_emu_TRUE@am_hashsum_module_OBJECTS = \ +@COND_emu_TRUE@ commands/hashsum_module-hashsum.$(OBJEXT) +nodist_hashsum_module_OBJECTS = +hashsum_module_OBJECTS = $(am_hashsum_module_OBJECTS) \ + $(nodist_hashsum_module_OBJECTS) +hashsum_module_DEPENDENCIES = +hashsum_module_LINK = $(CCLD) $(hashsum_module_CFLAGS) $(CFLAGS) \ + $(hashsum_module_LDFLAGS) $(LDFLAGS) -o $@ +am__hdparm_module_SOURCES_DIST = commands/hdparm.c lib/hexdump.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_hdparm_module_OBJECTS = commands/hdparm_module-hdparm.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/hdparm_module-hexdump.$(OBJEXT) +nodist_hdparm_module_OBJECTS = +hdparm_module_OBJECTS = $(am_hdparm_module_OBJECTS) \ + $(nodist_hdparm_module_OBJECTS) +hdparm_module_DEPENDENCIES = +hdparm_module_LINK = $(CCLD) $(hdparm_module_CFLAGS) $(CFLAGS) \ + $(hdparm_module_LDFLAGS) $(LDFLAGS) -o $@ +am__hello_module_SOURCES_DIST = hello/hello.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_hello_module_OBJECTS = hello/hello_module-hello.$(OBJEXT) +@COND_emu_TRUE@am_hello_module_OBJECTS = \ +@COND_emu_TRUE@ hello/hello_module-hello.$(OBJEXT) +nodist_hello_module_OBJECTS = +hello_module_OBJECTS = $(am_hello_module_OBJECTS) \ + $(nodist_hello_module_OBJECTS) +hello_module_DEPENDENCIES = +hello_module_LINK = $(CCLD) $(hello_module_CFLAGS) $(CFLAGS) \ + $(hello_module_LDFLAGS) $(LDFLAGS) -o $@ +am__help_module_SOURCES_DIST = commands/help.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_help_module_OBJECTS = commands/help_module-help.$(OBJEXT) +@COND_emu_TRUE@am_help_module_OBJECTS = \ +@COND_emu_TRUE@ commands/help_module-help.$(OBJEXT) +nodist_help_module_OBJECTS = +help_module_OBJECTS = $(am_help_module_OBJECTS) \ + $(nodist_help_module_OBJECTS) +help_module_DEPENDENCIES = +help_module_LINK = $(CCLD) $(help_module_CFLAGS) $(CFLAGS) \ + $(help_module_LDFLAGS) $(LDFLAGS) -o $@ +am__hexdump_module_SOURCES_DIST = commands/hexdump.c lib/hexdump.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_hexdump_module_OBJECTS = commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +@COND_emu_TRUE@am_hexdump_module_OBJECTS = \ +@COND_emu_TRUE@ commands/hexdump_module-hexdump.$(OBJEXT) \ +@COND_emu_TRUE@ lib/hexdump_module-hexdump.$(OBJEXT) +nodist_hexdump_module_OBJECTS = +hexdump_module_OBJECTS = $(am_hexdump_module_OBJECTS) \ + $(nodist_hexdump_module_OBJECTS) +hexdump_module_DEPENDENCIES = +hexdump_module_LINK = $(CCLD) $(hexdump_module_CFLAGS) $(CFLAGS) \ + $(hexdump_module_LDFLAGS) $(LDFLAGS) -o $@ +am__hfs_module_SOURCES_DIST = fs/hfs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +@COND_emu_TRUE@am_hfs_module_OBJECTS = fs/hfs_module-hfs.$(OBJEXT) +nodist_hfs_module_OBJECTS = +hfs_module_OBJECTS = $(am_hfs_module_OBJECTS) \ + $(nodist_hfs_module_OBJECTS) +hfs_module_DEPENDENCIES = +hfs_module_LINK = $(CCLD) $(hfs_module_CFLAGS) $(CFLAGS) \ + $(hfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__hfsplus_module_SOURCES_DIST = fs/hfsplus.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_hfsplus_module_OBJECTS = fs/hfsplus_module-hfsplus.$(OBJEXT) +@COND_emu_TRUE@am_hfsplus_module_OBJECTS = \ +@COND_emu_TRUE@ fs/hfsplus_module-hfsplus.$(OBJEXT) +nodist_hfsplus_module_OBJECTS = +hfsplus_module_OBJECTS = $(am_hfsplus_module_OBJECTS) \ + $(nodist_hfsplus_module_OBJECTS) +hfsplus_module_DEPENDENCIES = +hfsplus_module_LINK = $(CCLD) $(hfsplus_module_CFLAGS) $(CFLAGS) \ + $(hfsplus_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ieee1275_fb_module_SOURCES_DIST = video/ieee1275.c +@COND_powerpc_ieee1275_TRUE@am_ieee1275_fb_module_OBJECTS = video/ieee1275_fb_module-ieee1275.$(OBJEXT) +nodist_ieee1275_fb_module_OBJECTS = +ieee1275_fb_module_OBJECTS = $(am_ieee1275_fb_module_OBJECTS) \ + $(nodist_ieee1275_fb_module_OBJECTS) +ieee1275_fb_module_DEPENDENCIES = +ieee1275_fb_module_LINK = $(CCLD) $(ieee1275_fb_module_CFLAGS) \ + $(CFLAGS) $(ieee1275_fb_module_LDFLAGS) $(LDFLAGS) -o $@ +am__iorw_module_SOURCES_DIST = commands/iorw.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_iorw_module_OBJECTS = commands/iorw_module-iorw.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_iorw_module_OBJECTS = commands/iorw_module-iorw.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_iorw_module_OBJECTS = commands/iorw_module-iorw.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_iorw_module_OBJECTS = commands/iorw_module-iorw.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_iorw_module_OBJECTS = commands/iorw_module-iorw.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_iorw_module_OBJECTS = commands/iorw_module-iorw.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_iorw_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ commands/iorw_module-iorw.$(OBJEXT) +nodist_iorw_module_OBJECTS = +iorw_module_OBJECTS = $(am_iorw_module_OBJECTS) \ + $(nodist_iorw_module_OBJECTS) +iorw_module_DEPENDENCIES = +iorw_module_LINK = $(CCLD) $(iorw_module_CFLAGS) $(CFLAGS) \ + $(iorw_module_LDFLAGS) $(LDFLAGS) -o $@ +am__iso9660_module_SOURCES_DIST = fs/iso9660.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_iso9660_module_OBJECTS = fs/iso9660_module-iso9660.$(OBJEXT) +@COND_emu_TRUE@am_iso9660_module_OBJECTS = \ +@COND_emu_TRUE@ fs/iso9660_module-iso9660.$(OBJEXT) +nodist_iso9660_module_OBJECTS = +iso9660_module_OBJECTS = $(am_iso9660_module_OBJECTS) \ + $(nodist_iso9660_module_OBJECTS) +iso9660_module_DEPENDENCIES = +iso9660_module_LINK = $(CCLD) $(iso9660_module_CFLAGS) $(CFLAGS) \ + $(iso9660_module_LDFLAGS) $(LDFLAGS) -o $@ +am__jfs_module_SOURCES_DIST = fs/jfs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +@COND_emu_TRUE@am_jfs_module_OBJECTS = fs/jfs_module-jfs.$(OBJEXT) +nodist_jfs_module_OBJECTS = +jfs_module_OBJECTS = $(am_jfs_module_OBJECTS) \ + $(nodist_jfs_module_OBJECTS) +jfs_module_DEPENDENCIES = +jfs_module_LINK = $(CCLD) $(jfs_module_CFLAGS) $(CFLAGS) \ + $(jfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__jpeg_module_SOURCES_DIST = video/readers/jpeg.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_jpeg_module_OBJECTS = video/readers/jpeg_module-jpeg.$(OBJEXT) +@COND_emu_TRUE@am_jpeg_module_OBJECTS = \ +@COND_emu_TRUE@ video/readers/jpeg_module-jpeg.$(OBJEXT) +nodist_jpeg_module_OBJECTS = +jpeg_module_OBJECTS = $(am_jpeg_module_OBJECTS) \ + $(nodist_jpeg_module_OBJECTS) +jpeg_module_DEPENDENCIES = +jpeg_module_LINK = $(CCLD) $(jpeg_module_CFLAGS) $(CFLAGS) \ + $(jpeg_module_LDFLAGS) $(LDFLAGS) -o $@ +am__kernel_exec_SOURCES_DIST = disk/host.c gnulib/progname.c \ + gnulib/error.c kern/emu/cache.S kern/emu/console.c \ + kern/emu/getroot.c kern/emu/hostdisk.c kern/emu/hostfs.c \ + kern/emu/main.c kern/emu/misc.c kern/emu/mm.c kern/emu/time.c \ + kern/command.c kern/corecmd.c kern/device.c kern/disk.c \ + kern/dl.c kern/env.c kern/err.c kern/file.c kern/fs.c \ + kern/list.c kern/main.c kern/misc.c kern/parser.c \ + kern/partition.c kern/rescue_parser.c kern/rescue_reader.c \ + kern/term.c kern/i386/coreboot/startup.S \ + kern/generic/rtc_get_time_ms.c kern/i386/coreboot/mmap.c \ + kern/i386/tsc.c kern/i386/coreboot/init.c \ + term/i386/pc/vga_text.c term/i386/vga_common.c kern/i386/dl.c \ + kern/i386/pit.c kern/mm.c kern/time.c \ + kern/generic/millisleep.c kern/i386/efi/startup.S \ + disk/efi/efidisk.c kern/efi/efi.c kern/efi/init.c \ + kern/efi/mm.c kern/i386/efi/init.c term/efi/console.c \ + kern/i386/ieee1275/startup.S kern/ieee1275/init.c \ + disk/ieee1275/ofdisk.c kern/ieee1275/cmain.c \ + kern/ieee1275/ieee1275.c kern/ieee1275/mmap.c \ + kern/ieee1275/openfw.c term/ieee1275/ofconsole.c \ + term/terminfo.c term/tparm.c commands/extcmd.c lib/arg.c \ + kern/i386/multiboot_mmap.c kern/i386/pc/startup.S \ + kern/i386/pc/init.c kern/i386/pc/mmap.c term/i386/pc/console.c \ + kern/i386/qemu/startup.S bus/pci.c kern/i386/qemu/init.c \ + kern/i386/qemu/mmap.c kern/mips/startup.S term/ns8250.c \ + bus/bonito.c bus/cs5536.c kern/mips/cache.S kern/mips/dl.c \ + kern/mips/init.c kern/mips/yeeloong/init.c term/at_keyboard.c \ + term/serial.c video/sm712.c commands/keylayouts.c \ + term/gfxterm.c font/font.c font/font_cmd.c io/bufio.c \ + video/bitmap.c video/bitmap_scale.c video/fb/fbblit.c \ + video/fb/fbfill.c video/fb/fbutil.c video/fb/video_fb.c \ + video/video.c commands/boot.c kern/powerpc/ieee1275/startup.S \ + kern/powerpc/cache.S kern/powerpc/dl.c \ + kern/sparc64/ieee1275/crt0.S kern/sparc64/cache.S \ + kern/sparc64/dl.c kern/sparc64/ieee1275/ieee1275.c \ + kern/sparc64/ieee1275/init.c kern/x86_64/efi/startup.S \ + kern/x86_64/dl.c kern/x86_64/efi/callwrap.S +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_kernel_exec_OBJECTS = kern/x86_64/efi/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/i386/kernel_exec-tsc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/x86_64/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/x86_64/efi/kernel_exec-callwrap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ disk/efi/kernel_exec-efidisk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/efi/kernel_exec-efi.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/efi/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/efi/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/i386/efi/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_kernel_exec_OBJECTS = kern/sparc64/ieee1275/kernel_exec-crt0.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/sparc64/kernel_exec-cache.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/sparc64/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/sparc64/ieee1275/kernel_exec-ieee1275.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/sparc64/ieee1275/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ disk/ieee1275/kernel_exec-ofdisk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/kernel_exec-cmain.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/kernel_exec-ieee1275.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/kernel_exec-mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/kernel_exec-openfw.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ term/ieee1275/kernel_exec-ofconsole.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ term/kernel_exec-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ term/kernel_exec-tparm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ commands/kernel_exec-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/kernel_exec-arg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_kernel_exec_OBJECTS = kern/powerpc/ieee1275/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/powerpc/kernel_exec-cache.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/powerpc/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ disk/ieee1275/kernel_exec-ofdisk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/kernel_exec-cmain.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/kernel_exec-ieee1275.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/kernel_exec-mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/kernel_exec-openfw.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ term/ieee1275/kernel_exec-ofconsole.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ term/kernel_exec-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ term/kernel_exec-tparm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ commands/kernel_exec-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/kernel_exec-arg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_kernel_exec_OBJECTS = kern/mips/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ term/kernel_exec-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/kernel_exec-bonito.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/kernel_exec-cs5536.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/kernel_exec-pci.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/mips/kernel_exec-cache.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/mips/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/mips/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/mips/yeeloong/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ term/kernel_exec-at_keyboard.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ term/kernel_exec-serial.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/kernel_exec-sm712.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ commands/kernel_exec-keylayouts.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ term/kernel_exec-gfxterm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ font/kernel_exec-font.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ font/kernel_exec-font_cmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ io/kernel_exec-bufio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/kernel_exec-bitmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/kernel_exec-bitmap_scale.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/fb/kernel_exec-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/fb/kernel_exec-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/fb/kernel_exec-fbutil.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/fb/kernel_exec-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ video/kernel_exec-video.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ commands/kernel_exec-boot.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ term/kernel_exec-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ term/kernel_exec-tparm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ commands/kernel_exec-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/kernel_exec-arg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_kernel_exec_OBJECTS = kern/i386/qemu/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ bus/kernel_exec-pci.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/i386/qemu/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/i386/qemu/kernel_exec-mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/i386/kernel_exec-tsc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/i386/coreboot/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ term/i386/pc/kernel_exec-vga_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ term/i386/kernel_exec-vga_common.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/i386/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_kernel_exec_OBJECTS = kern/i386/pc/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ term/i386/kernel_exec-vga_common.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/i386/pc/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/i386/pc/kernel_exec-mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/i386/kernel_exec-tsc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ term/i386/pc/kernel_exec-console.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/i386/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_kernel_exec_OBJECTS = kern/i386/coreboot/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/i386/kernel_exec-multiboot_mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/i386/kernel_exec-tsc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/i386/coreboot/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ term/i386/pc/kernel_exec-vga_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ term/i386/kernel_exec-vga_common.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/i386/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_kernel_exec_OBJECTS = kern/i386/ieee1275/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/ieee1275/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ disk/ieee1275/kernel_exec-ofdisk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/ieee1275/kernel_exec-cmain.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/ieee1275/kernel_exec-ieee1275.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/ieee1275/kernel_exec-mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/ieee1275/kernel_exec-openfw.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ term/ieee1275/kernel_exec-ofconsole.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ term/kernel_exec-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ term/kernel_exec-tparm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ commands/kernel_exec-extcmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/kernel_exec-arg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/i386/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_kernel_exec_OBJECTS = kern/i386/efi/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/i386/kernel_exec-tsc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ disk/efi/kernel_exec-efidisk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/efi/kernel_exec-efi.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/efi/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/efi/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/i386/efi/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ term/efi/kernel_exec-console.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/i386/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_kernel_exec_OBJECTS = kern/i386/coreboot/kernel_exec-startup.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/i386/coreboot/kernel_exec-mmap.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/i386/kernel_exec-tsc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/i386/coreboot/kernel_exec-init.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ term/i386/pc/kernel_exec-vga_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ term/i386/kernel_exec-vga_common.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/i386/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/i386/kernel_exec-pit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-time.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/generic/kernel_exec-millisleep.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_emu_TRUE@am_kernel_exec_OBJECTS = \ +@COND_emu_TRUE@ disk/kernel_exec-host.$(OBJEXT) \ +@COND_emu_TRUE@ gnulib/kernel_exec-progname.$(OBJEXT) \ +@COND_emu_TRUE@ gnulib/kernel_exec-error.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-cache.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-console.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-getroot.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-hostdisk.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-hostfs.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-main.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-mm.$(OBJEXT) \ +@COND_emu_TRUE@ kern/emu/kernel_exec-time.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-command.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-corecmd.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-device.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-disk.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-dl.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-env.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-err.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-file.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-fs.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-list.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-main.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-misc.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-parser.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-partition.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-rescue_parser.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-rescue_reader.$(OBJEXT) \ +@COND_emu_TRUE@ kern/kernel_exec-term.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@nodist_kernel_exec_OBJECTS = kernel_exec-symlist.$(OBJEXT) +@COND_i386_coreboot_TRUE@nodist_kernel_exec_OBJECTS = \ +@COND_i386_coreboot_TRUE@ kernel_exec-symlist.$(OBJEXT) +kernel_exec_OBJECTS = $(am_kernel_exec_OBJECTS) \ + $(nodist_kernel_exec_OBJECTS) +am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +@COND_emu_TRUE@kernel_exec_DEPENDENCIES = $(am__DEPENDENCIES_2) +kernel_exec_LINK = $(CCLD) $(kernel_exec_CFLAGS) $(CFLAGS) \ + $(kernel_exec_LDFLAGS) $(LDFLAGS) -o $@ +am__keylayouts_module_SOURCES_DIST = commands/keylayouts.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +@COND_emu_TRUE@am_keylayouts_module_OBJECTS = commands/keylayouts_module-keylayouts.$(OBJEXT) +nodist_keylayouts_module_OBJECTS = +keylayouts_module_OBJECTS = $(am_keylayouts_module_OBJECTS) \ + $(nodist_keylayouts_module_OBJECTS) +keylayouts_module_DEPENDENCIES = +keylayouts_module_LINK = $(CCLD) $(keylayouts_module_CFLAGS) $(CFLAGS) \ + $(keylayouts_module_LDFLAGS) $(LDFLAGS) -o $@ +am__keystatus_module_SOURCES_DIST = commands/keystatus.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_keystatus_module_OBJECTS = commands/keystatus_module-keystatus.$(OBJEXT) +@COND_emu_TRUE@am_keystatus_module_OBJECTS = \ +@COND_emu_TRUE@ commands/keystatus_module-keystatus.$(OBJEXT) +nodist_keystatus_module_OBJECTS = +keystatus_module_OBJECTS = $(am_keystatus_module_OBJECTS) \ + $(nodist_keystatus_module_OBJECTS) +keystatus_module_DEPENDENCIES = +keystatus_module_LINK = $(CCLD) $(keystatus_module_CFLAGS) $(CFLAGS) \ + $(keystatus_module_LDFLAGS) $(LDFLAGS) -o $@ +am__legacycfg_module_SOURCES_DIST = lib/i386/pc/vesa_modes_table.c \ + commands/legacycfg.c lib/legacy_parse.c +@COND_emu_FALSE@@COND_i386_pc_TRUE@am_legacycfg_module_OBJECTS = commands/legacycfg_module-legacycfg.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_pc_TRUE@ lib/legacycfg_module-legacy_parse.$(OBJEXT) +@COND_emu_TRUE@am_legacycfg_module_OBJECTS = lib/i386/pc/legacycfg_module-vesa_modes_table.$(OBJEXT) \ +@COND_emu_TRUE@ commands/legacycfg_module-legacycfg.$(OBJEXT) \ +@COND_emu_TRUE@ lib/legacycfg_module-legacy_parse.$(OBJEXT) +nodist_legacycfg_module_OBJECTS = +legacycfg_module_OBJECTS = $(am_legacycfg_module_OBJECTS) \ + $(nodist_legacycfg_module_OBJECTS) +legacycfg_module_DEPENDENCIES = +legacycfg_module_LINK = $(CCLD) $(legacycfg_module_CFLAGS) $(CFLAGS) \ + $(legacycfg_module_LDFLAGS) $(LDFLAGS) -o $@ +am__libusb_module_SOURCES_DIST = bus/usb/emu/usb.c +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am_libusb_module_OBJECTS = bus/usb/emu/libusb_module-usb.$(OBJEXT) +nodist_libusb_module_OBJECTS = +libusb_module_OBJECTS = $(am_libusb_module_OBJECTS) \ + $(nodist_libusb_module_OBJECTS) +libusb_module_DEPENDENCIES = +libusb_module_LINK = $(CCLD) $(libusb_module_CFLAGS) $(CFLAGS) \ + $(libusb_module_LDFLAGS) $(LDFLAGS) -o $@ +am__linux_module_SOURCES_DIST = loader/i386/linux.c lib/cmdline.c \ + lib/i386/pc/vesa_modes_table.c loader/mips/linux.c \ + loader/powerpc/ieee1275/linux.c \ + loader/sparc64/ieee1275/linux.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_linux_module_OBJECTS = loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_linux_module_OBJECTS = loader/sparc64/ieee1275/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_linux_module_OBJECTS = loader/powerpc/ieee1275/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_linux_module_OBJECTS = loader/mips/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_linux_module_OBJECTS = loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_linux_module_OBJECTS = lib/i386/pc/linux_module-vesa_modes_table.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_linux_module_OBJECTS = loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_linux_module_OBJECTS = loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_linux_module_OBJECTS = loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_linux_module_OBJECTS = loader/i386/linux_module-linux.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/linux_module-cmdline.$(OBJEXT) +nodist_linux_module_OBJECTS = +linux_module_OBJECTS = $(am_linux_module_OBJECTS) \ + $(nodist_linux_module_OBJECTS) +linux_module_DEPENDENCIES = +linux_module_LINK = $(CCLD) $(linux_module_CFLAGS) $(CFLAGS) \ + $(linux_module_LDFLAGS) $(LDFLAGS) -o $@ +am__linux16_module_SOURCES_DIST = loader/i386/pc/linux.c lib/cmdline.c +@COND_i386_pc_TRUE@am_linux16_module_OBJECTS = loader/i386/pc/linux16_module-linux.$(OBJEXT) \ +@COND_i386_pc_TRUE@ lib/linux16_module-cmdline.$(OBJEXT) +nodist_linux16_module_OBJECTS = +linux16_module_OBJECTS = $(am_linux16_module_OBJECTS) \ + $(nodist_linux16_module_OBJECTS) +linux16_module_DEPENDENCIES = +linux16_module_LINK = $(CCLD) $(linux16_module_CFLAGS) $(CFLAGS) \ + $(linux16_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lnxboot_image_SOURCES_DIST = boot/i386/pc/lnxboot.S +@COND_i386_pc_TRUE@am_lnxboot_image_OBJECTS = boot/i386/pc/lnxboot_image-lnxboot.$(OBJEXT) +nodist_lnxboot_image_OBJECTS = +lnxboot_image_OBJECTS = $(am_lnxboot_image_OBJECTS) \ + $(nodist_lnxboot_image_OBJECTS) +lnxboot_image_DEPENDENCIES = +lnxboot_image_LINK = $(CCLD) $(lnxboot_image_CFLAGS) $(CFLAGS) \ + $(lnxboot_image_LDFLAGS) $(LDFLAGS) -o $@ +am__loadbios_module_SOURCES_DIST = commands/efi/loadbios.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_loadbios_module_OBJECTS = commands/efi/loadbios_module-loadbios.$(OBJEXT) +@COND_i386_efi_TRUE@am_loadbios_module_OBJECTS = commands/efi/loadbios_module-loadbios.$(OBJEXT) +nodist_loadbios_module_OBJECTS = +loadbios_module_OBJECTS = $(am_loadbios_module_OBJECTS) \ + $(nodist_loadbios_module_OBJECTS) +loadbios_module_DEPENDENCIES = +loadbios_module_LINK = $(CCLD) $(loadbios_module_CFLAGS) $(CFLAGS) \ + $(loadbios_module_LDFLAGS) $(LDFLAGS) -o $@ +am__loadenv_module_SOURCES_DIST = commands/loadenv.c lib/envblk.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_loadenv_module_OBJECTS = commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +@COND_emu_TRUE@am_loadenv_module_OBJECTS = \ +@COND_emu_TRUE@ commands/loadenv_module-loadenv.$(OBJEXT) \ +@COND_emu_TRUE@ lib/loadenv_module-envblk.$(OBJEXT) +nodist_loadenv_module_OBJECTS = +loadenv_module_OBJECTS = $(am_loadenv_module_OBJECTS) \ + $(nodist_loadenv_module_OBJECTS) +loadenv_module_DEPENDENCIES = +loadenv_module_LINK = $(CCLD) $(loadenv_module_CFLAGS) $(CFLAGS) \ + $(loadenv_module_LDFLAGS) $(LDFLAGS) -o $@ +am__loopback_module_SOURCES_DIST = disk/loopback.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_loopback_module_OBJECTS = disk/loopback_module-loopback.$(OBJEXT) +@COND_emu_TRUE@am_loopback_module_OBJECTS = \ +@COND_emu_TRUE@ disk/loopback_module-loopback.$(OBJEXT) +nodist_loopback_module_OBJECTS = +loopback_module_OBJECTS = $(am_loopback_module_OBJECTS) \ + $(nodist_loopback_module_OBJECTS) +loopback_module_DEPENDENCIES = +loopback_module_LINK = $(CCLD) $(loopback_module_CFLAGS) $(CFLAGS) \ + $(loopback_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ls_module_SOURCES_DIST = commands/ls.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +@COND_emu_TRUE@am_ls_module_OBJECTS = commands/ls_module-ls.$(OBJEXT) +nodist_ls_module_OBJECTS = +ls_module_OBJECTS = $(am_ls_module_OBJECTS) \ + $(nodist_ls_module_OBJECTS) +ls_module_DEPENDENCIES = +ls_module_LINK = $(CCLD) $(ls_module_CFLAGS) $(CFLAGS) \ + $(ls_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lsacpi_module_SOURCES_DIST = commands/lsacpi.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_x86_64_efi_TRUE@am_lsacpi_module_OBJECTS = commands/lsacpi_module-lsacpi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_lsacpi_module_OBJECTS = commands/lsacpi_module-lsacpi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@am_lsacpi_module_OBJECTS = commands/lsacpi_module-lsacpi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_lsacpi_module_OBJECTS = commands/lsacpi_module-lsacpi.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_lsacpi_module_OBJECTS = commands/lsacpi_module-lsacpi.$(OBJEXT) +nodist_lsacpi_module_OBJECTS = +lsacpi_module_OBJECTS = $(am_lsacpi_module_OBJECTS) \ + $(nodist_lsacpi_module_OBJECTS) +lsacpi_module_DEPENDENCIES = +lsacpi_module_LINK = $(CCLD) $(lsacpi_module_CFLAGS) $(CFLAGS) \ + $(lsacpi_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lsapm_module_SOURCES_DIST = commands/i386/pc/lsapm.c +@COND_i386_pc_TRUE@am_lsapm_module_OBJECTS = commands/i386/pc/lsapm_module-lsapm.$(OBJEXT) +nodist_lsapm_module_OBJECTS = +lsapm_module_OBJECTS = $(am_lsapm_module_OBJECTS) \ + $(nodist_lsapm_module_OBJECTS) +lsapm_module_DEPENDENCIES = +lsapm_module_LINK = $(CCLD) $(lsapm_module_CFLAGS) $(CFLAGS) \ + $(lsapm_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lsefimmap_module_SOURCES_DIST = commands/efi/lsefimmap.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_lsefimmap_module_OBJECTS = commands/efi/lsefimmap_module-lsefimmap.$(OBJEXT) +@COND_i386_efi_TRUE@am_lsefimmap_module_OBJECTS = commands/efi/lsefimmap_module-lsefimmap.$(OBJEXT) +nodist_lsefimmap_module_OBJECTS = +lsefimmap_module_OBJECTS = $(am_lsefimmap_module_OBJECTS) \ + $(nodist_lsefimmap_module_OBJECTS) +lsefimmap_module_DEPENDENCIES = +lsefimmap_module_LINK = $(CCLD) $(lsefimmap_module_CFLAGS) $(CFLAGS) \ + $(lsefimmap_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lsefisystab_module_SOURCES_DIST = commands/efi/lsefisystab.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_lsefisystab_module_OBJECTS = commands/efi/lsefisystab_module-lsefisystab.$(OBJEXT) +@COND_i386_efi_TRUE@am_lsefisystab_module_OBJECTS = commands/efi/lsefisystab_module-lsefisystab.$(OBJEXT) +nodist_lsefisystab_module_OBJECTS = +lsefisystab_module_OBJECTS = $(am_lsefisystab_module_OBJECTS) \ + $(nodist_lsefisystab_module_OBJECTS) +lsefisystab_module_DEPENDENCIES = +lsefisystab_module_LINK = $(CCLD) $(lsefisystab_module_CFLAGS) \ + $(CFLAGS) $(lsefisystab_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lsmmap_module_SOURCES_DIST = commands/lsmmap.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_lsmmap_module_OBJECTS = commands/lsmmap_module-lsmmap.$(OBJEXT) +@COND_emu_TRUE@am_lsmmap_module_OBJECTS = \ +@COND_emu_TRUE@ commands/lsmmap_module-lsmmap.$(OBJEXT) +nodist_lsmmap_module_OBJECTS = +lsmmap_module_OBJECTS = $(am_lsmmap_module_OBJECTS) \ + $(nodist_lsmmap_module_OBJECTS) +lsmmap_module_DEPENDENCIES = +lsmmap_module_LINK = $(CCLD) $(lsmmap_module_CFLAGS) $(CFLAGS) \ + $(lsmmap_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lspci_module_SOURCES_DIST = commands/lspci.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_lspci_module_OBJECTS = commands/lspci_module-lspci.$(OBJEXT) +nodist_lspci_module_OBJECTS = +lspci_module_OBJECTS = $(am_lspci_module_OBJECTS) \ + $(nodist_lspci_module_OBJECTS) +lspci_module_DEPENDENCIES = +lspci_module_LINK = $(CCLD) $(lspci_module_CFLAGS) $(CFLAGS) \ + $(lspci_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lssal_module_SOURCES_DIST = commands/efi/lssal.c +@COND_i386_efi_FALSE@@COND_x86_64_efi_TRUE@am_lssal_module_OBJECTS = commands/efi/lssal_module-lssal.$(OBJEXT) +@COND_i386_efi_TRUE@am_lssal_module_OBJECTS = \ +@COND_i386_efi_TRUE@ commands/efi/lssal_module-lssal.$(OBJEXT) +nodist_lssal_module_OBJECTS = +lssal_module_OBJECTS = $(am_lssal_module_OBJECTS) \ + $(nodist_lssal_module_OBJECTS) +lssal_module_DEPENDENCIES = +lssal_module_LINK = $(CCLD) $(lssal_module_CFLAGS) $(CFLAGS) \ + $(lssal_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lsspd_module_SOURCES_DIST = commands/mips/yeeloong/lsspd.c +@COND_mips_yeeloong_TRUE@am_lsspd_module_OBJECTS = commands/mips/yeeloong/lsspd_module-lsspd.$(OBJEXT) +nodist_lsspd_module_OBJECTS = +lsspd_module_OBJECTS = $(am_lsspd_module_OBJECTS) \ + $(nodist_lsspd_module_OBJECTS) +lsspd_module_DEPENDENCIES = +lsspd_module_LINK = $(CCLD) $(lsspd_module_CFLAGS) $(CFLAGS) \ + $(lsspd_module_LDFLAGS) $(LDFLAGS) -o $@ +am__lvm_module_SOURCES_DIST = disk/lvm.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +@COND_emu_TRUE@am_lvm_module_OBJECTS = disk/lvm_module-lvm.$(OBJEXT) +nodist_lvm_module_OBJECTS = +lvm_module_OBJECTS = $(am_lvm_module_OBJECTS) \ + $(nodist_lvm_module_OBJECTS) +lvm_module_DEPENDENCIES = +lvm_module_LINK = $(CCLD) $(lvm_module_CFLAGS) $(CFLAGS) \ + $(lvm_module_LDFLAGS) $(LDFLAGS) -o $@ +am__mdraid09_module_SOURCES_DIST = disk/mdraid_linux.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_mdraid09_module_OBJECTS = disk/mdraid09_module-mdraid_linux.$(OBJEXT) +@COND_emu_TRUE@am_mdraid09_module_OBJECTS = \ +@COND_emu_TRUE@ disk/mdraid09_module-mdraid_linux.$(OBJEXT) +nodist_mdraid09_module_OBJECTS = +mdraid09_module_OBJECTS = $(am_mdraid09_module_OBJECTS) \ + $(nodist_mdraid09_module_OBJECTS) +mdraid09_module_DEPENDENCIES = +mdraid09_module_LINK = $(CCLD) $(mdraid09_module_CFLAGS) $(CFLAGS) \ + $(mdraid09_module_LDFLAGS) $(LDFLAGS) -o $@ +am__mdraid1x_module_SOURCES_DIST = disk/mdraid1x_linux.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_mdraid1x_module_OBJECTS = disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +@COND_emu_TRUE@am_mdraid1x_module_OBJECTS = \ +@COND_emu_TRUE@ disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) +nodist_mdraid1x_module_OBJECTS = +mdraid1x_module_OBJECTS = $(am_mdraid1x_module_OBJECTS) \ + $(nodist_mdraid1x_module_OBJECTS) +mdraid1x_module_DEPENDENCIES = +mdraid1x_module_LINK = $(CCLD) $(mdraid1x_module_CFLAGS) $(CFLAGS) \ + $(mdraid1x_module_LDFLAGS) $(LDFLAGS) -o $@ +am__memdisk_module_SOURCES_DIST = disk/memdisk.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_memdisk_module_OBJECTS = disk/memdisk_module-memdisk.$(OBJEXT) +@COND_emu_TRUE@am_memdisk_module_OBJECTS = \ +@COND_emu_TRUE@ disk/memdisk_module-memdisk.$(OBJEXT) +nodist_memdisk_module_OBJECTS = +memdisk_module_OBJECTS = $(am_memdisk_module_OBJECTS) \ + $(nodist_memdisk_module_OBJECTS) +memdisk_module_DEPENDENCIES = +memdisk_module_LINK = $(CCLD) $(memdisk_module_CFLAGS) $(CFLAGS) \ + $(memdisk_module_LDFLAGS) $(LDFLAGS) -o $@ +am__memrw_module_SOURCES_DIST = commands/memrw.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_memrw_module_OBJECTS = commands/memrw_module-memrw.$(OBJEXT) +@COND_emu_TRUE@am_memrw_module_OBJECTS = \ +@COND_emu_TRUE@ commands/memrw_module-memrw.$(OBJEXT) +nodist_memrw_module_OBJECTS = +memrw_module_OBJECTS = $(am_memrw_module_OBJECTS) \ + $(nodist_memrw_module_OBJECTS) +memrw_module_DEPENDENCIES = +memrw_module_LINK = $(CCLD) $(memrw_module_CFLAGS) $(CFLAGS) \ + $(memrw_module_LDFLAGS) $(LDFLAGS) -o $@ +am__minicmd_module_SOURCES_DIST = commands/minicmd.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_minicmd_module_OBJECTS = commands/minicmd_module-minicmd.$(OBJEXT) +@COND_emu_TRUE@am_minicmd_module_OBJECTS = \ +@COND_emu_TRUE@ commands/minicmd_module-minicmd.$(OBJEXT) +nodist_minicmd_module_OBJECTS = +minicmd_module_OBJECTS = $(am_minicmd_module_OBJECTS) \ + $(nodist_minicmd_module_OBJECTS) +minicmd_module_DEPENDENCIES = +minicmd_module_LINK = $(CCLD) $(minicmd_module_CFLAGS) $(CFLAGS) \ + $(minicmd_module_LDFLAGS) $(LDFLAGS) -o $@ +am__minix_module_SOURCES_DIST = fs/minix.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_minix_module_OBJECTS = fs/minix_module-minix.$(OBJEXT) +@COND_emu_TRUE@am_minix_module_OBJECTS = \ +@COND_emu_TRUE@ fs/minix_module-minix.$(OBJEXT) +nodist_minix_module_OBJECTS = +minix_module_OBJECTS = $(am_minix_module_OBJECTS) \ + $(nodist_minix_module_OBJECTS) +minix_module_DEPENDENCIES = +minix_module_LINK = $(CCLD) $(minix_module_CFLAGS) $(CFLAGS) \ + $(minix_module_LDFLAGS) $(LDFLAGS) -o $@ +am__minix2_module_SOURCES_DIST = fs/minix2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_minix2_module_OBJECTS = fs/minix2_module-minix2.$(OBJEXT) +@COND_emu_TRUE@am_minix2_module_OBJECTS = \ +@COND_emu_TRUE@ fs/minix2_module-minix2.$(OBJEXT) +nodist_minix2_module_OBJECTS = +minix2_module_OBJECTS = $(am_minix2_module_OBJECTS) \ + $(nodist_minix2_module_OBJECTS) +minix2_module_DEPENDENCIES = +minix2_module_LINK = $(CCLD) $(minix2_module_CFLAGS) $(CFLAGS) \ + $(minix2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__mmap_module_SOURCES_DIST = mmap/i386/uppermem.c mmap/i386/mmap.c \ + mmap/mmap.c mmap/efi/mmap.c mmap/i386/pc/mmap.c \ + mmap/i386/pc/mmap_helper.S mmap/mips/yeeloong/uppermem.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_mmap_module_OBJECTS = mmap/efi/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_mmap_module_OBJECTS = mmap/mips/yeeloong/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_mmap_module_OBJECTS = mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_mmap_module_OBJECTS = mmap/i386/pc/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ mmap/i386/pc/mmap_module-mmap_helper.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_mmap_module_OBJECTS = mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_mmap_module_OBJECTS = mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_mmap_module_OBJECTS = mmap/efi/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_mmap_module_OBJECTS = mmap/i386/mmap_module-uppermem.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ mmap/i386/mmap_module-mmap.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ mmap/mmap_module-mmap.$(OBJEXT) +nodist_mmap_module_OBJECTS = +mmap_module_OBJECTS = $(am_mmap_module_OBJECTS) \ + $(nodist_mmap_module_OBJECTS) +mmap_module_DEPENDENCIES = +mmap_module_LINK = $(CCLD) $(mmap_module_CFLAGS) $(CFLAGS) \ + $(mmap_module_LDFLAGS) $(LDFLAGS) -o $@ +am__msdospart_module_SOURCES_DIST = parttool/msdospart.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_msdospart_module_OBJECTS = parttool/msdospart_module-msdospart.$(OBJEXT) +@COND_emu_TRUE@am_msdospart_module_OBJECTS = \ +@COND_emu_TRUE@ parttool/msdospart_module-msdospart.$(OBJEXT) +nodist_msdospart_module_OBJECTS = +msdospart_module_OBJECTS = $(am_msdospart_module_OBJECTS) \ + $(nodist_msdospart_module_OBJECTS) +msdospart_module_DEPENDENCIES = +msdospart_module_LINK = $(CCLD) $(msdospart_module_CFLAGS) $(CFLAGS) \ + $(msdospart_module_LDFLAGS) $(LDFLAGS) -o $@ +am__multiboot_module_SOURCES_DIST = loader/i386/multiboot_mbi.c \ + loader/multiboot.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_multiboot_module_OBJECTS = loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/multiboot_module-multiboot.$(OBJEXT) +nodist_multiboot_module_OBJECTS = +multiboot_module_OBJECTS = $(am_multiboot_module_OBJECTS) \ + $(nodist_multiboot_module_OBJECTS) +multiboot_module_DEPENDENCIES = +multiboot_module_LINK = $(CCLD) $(multiboot_module_CFLAGS) $(CFLAGS) \ + $(multiboot_module_LDFLAGS) $(LDFLAGS) -o $@ +am__multiboot2_module_SOURCES_DIST = loader/multiboot.c \ + loader/multiboot_mbi2.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_multiboot2_module_OBJECTS = loader/multiboot2_module-multiboot.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) +nodist_multiboot2_module_OBJECTS = +multiboot2_module_OBJECTS = $(am_multiboot2_module_OBJECTS) \ + $(nodist_multiboot2_module_OBJECTS) +multiboot2_module_DEPENDENCIES = +multiboot2_module_LINK = $(CCLD) $(multiboot2_module_CFLAGS) $(CFLAGS) \ + $(multiboot2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__nand_module_SOURCES_DIST = disk/ieee1275/nand.c +@COND_i386_ieee1275_TRUE@am_nand_module_OBJECTS = disk/ieee1275/nand_module-nand.$(OBJEXT) +nodist_nand_module_OBJECTS = +nand_module_OBJECTS = $(am_nand_module_OBJECTS) \ + $(nodist_nand_module_OBJECTS) +nand_module_DEPENDENCIES = +nand_module_LINK = $(CCLD) $(nand_module_CFLAGS) $(CFLAGS) \ + $(nand_module_LDFLAGS) $(LDFLAGS) -o $@ +am__nilfs2_module_SOURCES_DIST = fs/nilfs2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_nilfs2_module_OBJECTS = fs/nilfs2_module-nilfs2.$(OBJEXT) +@COND_emu_TRUE@am_nilfs2_module_OBJECTS = \ +@COND_emu_TRUE@ fs/nilfs2_module-nilfs2.$(OBJEXT) +nodist_nilfs2_module_OBJECTS = +nilfs2_module_OBJECTS = $(am_nilfs2_module_OBJECTS) \ + $(nodist_nilfs2_module_OBJECTS) +nilfs2_module_DEPENDENCIES = +nilfs2_module_LINK = $(CCLD) $(nilfs2_module_CFLAGS) $(CFLAGS) \ + $(nilfs2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__none_decompress_image_SOURCES_DIST = boot/mips/startup_raw.S \ + boot/decompressor/none.c +@COND_mips_yeeloong_TRUE@am_none_decompress_image_OBJECTS = boot/mips/none_decompress_image-startup_raw.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ boot/decompressor/none_decompress_image-none.$(OBJEXT) +nodist_none_decompress_image_OBJECTS = +none_decompress_image_OBJECTS = $(am_none_decompress_image_OBJECTS) \ + $(nodist_none_decompress_image_OBJECTS) +none_decompress_image_DEPENDENCIES = +none_decompress_image_LINK = $(CCLD) $(none_decompress_image_CFLAGS) \ + $(CFLAGS) $(none_decompress_image_LDFLAGS) $(LDFLAGS) -o $@ +am__normal_module_SOURCES_DIST = normal/main.c normal/cmdline.c \ + normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c \ + normal/completion.c normal/datetime.c normal/menu.c \ + normal/menu_entry.c normal/menu_text.c normal/misc.c \ + normal/crypto.c normal/term.c normal/context.c \ + normal/charset.c script/main.c script/script.c \ + script/execute.c script/function.c script/lexer.c \ + script/argv.c commands/menuentry.c unidata.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_normal_module_OBJECTS = normal/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_TRUE@am_normal_module_OBJECTS = \ +@COND_emu_TRUE@ normal/normal_module-main.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-cmdline.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-dyncmd.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-auth.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-autofs.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-color.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-completion.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-datetime.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-menu.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-menu_entry.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-menu_text.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-misc.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-crypto.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-term.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-context.$(OBJEXT) \ +@COND_emu_TRUE@ normal/normal_module-charset.$(OBJEXT) \ +@COND_emu_TRUE@ script/normal_module-main.$(OBJEXT) \ +@COND_emu_TRUE@ script/normal_module-script.$(OBJEXT) \ +@COND_emu_TRUE@ script/normal_module-execute.$(OBJEXT) \ +@COND_emu_TRUE@ script/normal_module-function.$(OBJEXT) \ +@COND_emu_TRUE@ script/normal_module-lexer.$(OBJEXT) \ +@COND_emu_TRUE@ script/normal_module-argv.$(OBJEXT) \ +@COND_emu_TRUE@ commands/normal_module-menuentry.$(OBJEXT) \ +@COND_emu_TRUE@ normal_module-unidata.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@nodist_normal_module_OBJECTS = normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +@COND_emu_TRUE@nodist_normal_module_OBJECTS = \ +@COND_emu_TRUE@ normal_module-grub_script.tab.$(OBJEXT) \ +@COND_emu_TRUE@ normal_module-grub_script.yy.$(OBJEXT) +normal_module_OBJECTS = $(am_normal_module_OBJECTS) \ + $(nodist_normal_module_OBJECTS) +normal_module_DEPENDENCIES = +normal_module_LINK = $(CCLD) $(normal_module_CFLAGS) $(CFLAGS) \ + $(normal_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ntfs_module_SOURCES_DIST = fs/ntfs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +@COND_emu_TRUE@am_ntfs_module_OBJECTS = fs/ntfs_module-ntfs.$(OBJEXT) +nodist_ntfs_module_OBJECTS = +ntfs_module_OBJECTS = $(am_ntfs_module_OBJECTS) \ + $(nodist_ntfs_module_OBJECTS) +ntfs_module_DEPENDENCIES = +ntfs_module_LINK = $(CCLD) $(ntfs_module_CFLAGS) $(CFLAGS) \ + $(ntfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ntfscomp_module_SOURCES_DIST = fs/ntfscomp.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_ntfscomp_module_OBJECTS = fs/ntfscomp_module-ntfscomp.$(OBJEXT) +@COND_emu_TRUE@am_ntfscomp_module_OBJECTS = \ +@COND_emu_TRUE@ fs/ntfscomp_module-ntfscomp.$(OBJEXT) +nodist_ntfscomp_module_OBJECTS = +ntfscomp_module_OBJECTS = $(am_ntfscomp_module_OBJECTS) \ + $(nodist_ntfscomp_module_OBJECTS) +ntfscomp_module_DEPENDENCIES = +ntfscomp_module_LINK = $(CCLD) $(ntfscomp_module_CFLAGS) $(CFLAGS) \ + $(ntfscomp_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ntldr_module_SOURCES_DIST = loader/i386/pc/ntldr.c +@COND_i386_pc_TRUE@am_ntldr_module_OBJECTS = loader/i386/pc/ntldr_module-ntldr.$(OBJEXT) +nodist_ntldr_module_OBJECTS = +ntldr_module_OBJECTS = $(am_ntldr_module_OBJECTS) \ + $(nodist_ntldr_module_OBJECTS) +ntldr_module_DEPENDENCIES = +ntldr_module_LINK = $(CCLD) $(ntldr_module_CFLAGS) $(CFLAGS) \ + $(ntldr_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ohci_module_SOURCES_DIST = bus/usb/ohci.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ohci_module_OBJECTS = bus/usb/ohci_module-ohci.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_ohci_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ bus/usb/ohci_module-ohci.$(OBJEXT) +nodist_ohci_module_OBJECTS = +ohci_module_OBJECTS = $(am_ohci_module_OBJECTS) \ + $(nodist_ohci_module_OBJECTS) +ohci_module_DEPENDENCIES = +ohci_module_LINK = $(CCLD) $(ohci_module_CFLAGS) $(CFLAGS) \ + $(ohci_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_acorn_module_SOURCES_DIST = partmap/acorn.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_acorn_module_OBJECTS = partmap/part_acorn_module-acorn.$(OBJEXT) +@COND_emu_TRUE@am_part_acorn_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_acorn_module-acorn.$(OBJEXT) +nodist_part_acorn_module_OBJECTS = +part_acorn_module_OBJECTS = $(am_part_acorn_module_OBJECTS) \ + $(nodist_part_acorn_module_OBJECTS) +part_acorn_module_DEPENDENCIES = +part_acorn_module_LINK = $(CCLD) $(part_acorn_module_CFLAGS) $(CFLAGS) \ + $(part_acorn_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_amiga_module_SOURCES_DIST = partmap/amiga.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_amiga_module_OBJECTS = partmap/part_amiga_module-amiga.$(OBJEXT) +@COND_emu_TRUE@am_part_amiga_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_amiga_module-amiga.$(OBJEXT) +nodist_part_amiga_module_OBJECTS = +part_amiga_module_OBJECTS = $(am_part_amiga_module_OBJECTS) \ + $(nodist_part_amiga_module_OBJECTS) +part_amiga_module_DEPENDENCIES = +part_amiga_module_LINK = $(CCLD) $(part_amiga_module_CFLAGS) $(CFLAGS) \ + $(part_amiga_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_apple_module_SOURCES_DIST = partmap/apple.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_apple_module_OBJECTS = partmap/part_apple_module-apple.$(OBJEXT) +@COND_emu_TRUE@am_part_apple_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_apple_module-apple.$(OBJEXT) +nodist_part_apple_module_OBJECTS = +part_apple_module_OBJECTS = $(am_part_apple_module_OBJECTS) \ + $(nodist_part_apple_module_OBJECTS) +part_apple_module_DEPENDENCIES = +part_apple_module_LINK = $(CCLD) $(part_apple_module_CFLAGS) $(CFLAGS) \ + $(part_apple_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_bsd_module_SOURCES_DIST = partmap/bsdlabel.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_bsd_module_OBJECTS = partmap/part_bsd_module-bsdlabel.$(OBJEXT) +@COND_emu_TRUE@am_part_bsd_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_bsd_module-bsdlabel.$(OBJEXT) +nodist_part_bsd_module_OBJECTS = +part_bsd_module_OBJECTS = $(am_part_bsd_module_OBJECTS) \ + $(nodist_part_bsd_module_OBJECTS) +part_bsd_module_DEPENDENCIES = +part_bsd_module_LINK = $(CCLD) $(part_bsd_module_CFLAGS) $(CFLAGS) \ + $(part_bsd_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_gpt_module_SOURCES_DIST = partmap/gpt.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_gpt_module_OBJECTS = partmap/part_gpt_module-gpt.$(OBJEXT) +@COND_emu_TRUE@am_part_gpt_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_gpt_module-gpt.$(OBJEXT) +nodist_part_gpt_module_OBJECTS = +part_gpt_module_OBJECTS = $(am_part_gpt_module_OBJECTS) \ + $(nodist_part_gpt_module_OBJECTS) +part_gpt_module_DEPENDENCIES = +part_gpt_module_LINK = $(CCLD) $(part_gpt_module_CFLAGS) $(CFLAGS) \ + $(part_gpt_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_msdos_module_SOURCES_DIST = partmap/msdos.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_msdos_module_OBJECTS = partmap/part_msdos_module-msdos.$(OBJEXT) +@COND_emu_TRUE@am_part_msdos_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_msdos_module-msdos.$(OBJEXT) +nodist_part_msdos_module_OBJECTS = +part_msdos_module_OBJECTS = $(am_part_msdos_module_OBJECTS) \ + $(nodist_part_msdos_module_OBJECTS) +part_msdos_module_DEPENDENCIES = +part_msdos_module_LINK = $(CCLD) $(part_msdos_module_CFLAGS) $(CFLAGS) \ + $(part_msdos_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_sun_module_SOURCES_DIST = partmap/sun.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_sun_module_OBJECTS = partmap/part_sun_module-sun.$(OBJEXT) +@COND_emu_TRUE@am_part_sun_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_sun_module-sun.$(OBJEXT) +nodist_part_sun_module_OBJECTS = +part_sun_module_OBJECTS = $(am_part_sun_module_OBJECTS) \ + $(nodist_part_sun_module_OBJECTS) +part_sun_module_DEPENDENCIES = +part_sun_module_LINK = $(CCLD) $(part_sun_module_CFLAGS) $(CFLAGS) \ + $(part_sun_module_LDFLAGS) $(LDFLAGS) -o $@ +am__part_sunpc_module_SOURCES_DIST = partmap/sunpc.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_part_sunpc_module_OBJECTS = partmap/part_sunpc_module-sunpc.$(OBJEXT) +@COND_emu_TRUE@am_part_sunpc_module_OBJECTS = \ +@COND_emu_TRUE@ partmap/part_sunpc_module-sunpc.$(OBJEXT) +nodist_part_sunpc_module_OBJECTS = +part_sunpc_module_OBJECTS = $(am_part_sunpc_module_OBJECTS) \ + $(nodist_part_sunpc_module_OBJECTS) +part_sunpc_module_DEPENDENCIES = +part_sunpc_module_LINK = $(CCLD) $(part_sunpc_module_CFLAGS) $(CFLAGS) \ + $(part_sunpc_module_LDFLAGS) $(LDFLAGS) -o $@ +am__parttool_module_SOURCES_DIST = commands/parttool.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_parttool_module_OBJECTS = commands/parttool_module-parttool.$(OBJEXT) +@COND_emu_TRUE@am_parttool_module_OBJECTS = \ +@COND_emu_TRUE@ commands/parttool_module-parttool.$(OBJEXT) +nodist_parttool_module_OBJECTS = +parttool_module_OBJECTS = $(am_parttool_module_OBJECTS) \ + $(nodist_parttool_module_OBJECTS) +parttool_module_DEPENDENCIES = +parttool_module_LINK = $(CCLD) $(parttool_module_CFLAGS) $(CFLAGS) \ + $(parttool_module_LDFLAGS) $(LDFLAGS) -o $@ +am__password_module_SOURCES_DIST = commands/password.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_password_module_OBJECTS = commands/password_module-password.$(OBJEXT) +@COND_emu_TRUE@am_password_module_OBJECTS = \ +@COND_emu_TRUE@ commands/password_module-password.$(OBJEXT) +nodist_password_module_OBJECTS = +password_module_OBJECTS = $(am_password_module_OBJECTS) \ + $(nodist_password_module_OBJECTS) +password_module_DEPENDENCIES = +password_module_LINK = $(CCLD) $(password_module_CFLAGS) $(CFLAGS) \ + $(password_module_LDFLAGS) $(LDFLAGS) -o $@ +am__password_pbkdf2_module_SOURCES_DIST = commands/password_pbkdf2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +@COND_emu_TRUE@am_password_pbkdf2_module_OBJECTS = commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) +nodist_password_pbkdf2_module_OBJECTS = +password_pbkdf2_module_OBJECTS = $(am_password_pbkdf2_module_OBJECTS) \ + $(nodist_password_pbkdf2_module_OBJECTS) +password_pbkdf2_module_DEPENDENCIES = +password_pbkdf2_module_LINK = $(CCLD) $(password_pbkdf2_module_CFLAGS) \ + $(CFLAGS) $(password_pbkdf2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__pbkdf2_module_SOURCES_DIST = lib/pbkdf2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_pbkdf2_module_OBJECTS = lib/pbkdf2_module-pbkdf2.$(OBJEXT) +@COND_emu_TRUE@am_pbkdf2_module_OBJECTS = \ +@COND_emu_TRUE@ lib/pbkdf2_module-pbkdf2.$(OBJEXT) +nodist_pbkdf2_module_OBJECTS = +pbkdf2_module_OBJECTS = $(am_pbkdf2_module_OBJECTS) \ + $(nodist_pbkdf2_module_OBJECTS) +pbkdf2_module_DEPENDENCIES = +pbkdf2_module_LINK = $(CCLD) $(pbkdf2_module_CFLAGS) $(CFLAGS) \ + $(pbkdf2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__pci_module_SOURCES_DIST = bus/emu/pci.c commands/lspci.c bus/pci.c +@COND_GRUB_EMU_PCI_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_x86_64_efi_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_GRUB_EMU_PCI_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_GRUB_EMU_PCI_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_GRUB_EMU_PCI_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_GRUB_EMU_PCI_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_GRUB_EMU_PCI_FALSE@@COND_i386_coreboot_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@am_pci_module_OBJECTS = bus/emu/pci_module-pci.$(OBJEXT) \ +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@ commands/pci_module-lspci.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_x86_64_efi_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_pci_module_OBJECTS = bus/pci_module-pci.$(OBJEXT) +nodist_pci_module_OBJECTS = +pci_module_OBJECTS = $(am_pci_module_OBJECTS) \ + $(nodist_pci_module_OBJECTS) +pci_module_DEPENDENCIES = +pci_module_LINK = $(CCLD) $(pci_module_CFLAGS) $(CFLAGS) \ + $(pci_module_LDFLAGS) $(LDFLAGS) -o $@ +am__play_module_SOURCES_DIST = commands/i386/pc/play.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_play_module_OBJECTS = commands/i386/pc/play_module-play.$(OBJEXT) +nodist_play_module_OBJECTS = +play_module_OBJECTS = $(am_play_module_OBJECTS) \ + $(nodist_play_module_OBJECTS) +play_module_DEPENDENCIES = +play_module_LINK = $(CCLD) $(play_module_CFLAGS) $(CFLAGS) \ + $(play_module_LDFLAGS) $(LDFLAGS) -o $@ +am__png_module_SOURCES_DIST = video/readers/png.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_png_module_OBJECTS = video/readers/png_module-png.$(OBJEXT) +@COND_emu_TRUE@am_png_module_OBJECTS = \ +@COND_emu_TRUE@ video/readers/png_module-png.$(OBJEXT) +nodist_png_module_OBJECTS = +png_module_OBJECTS = $(am_png_module_OBJECTS) \ + $(nodist_png_module_OBJECTS) +png_module_DEPENDENCIES = +png_module_LINK = $(CCLD) $(png_module_CFLAGS) $(CFLAGS) \ + $(png_module_LDFLAGS) $(LDFLAGS) -o $@ +am__probe_module_SOURCES_DIST = commands/probe.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_probe_module_OBJECTS = commands/probe_module-probe.$(OBJEXT) +@COND_emu_TRUE@am_probe_module_OBJECTS = \ +@COND_emu_TRUE@ commands/probe_module-probe.$(OBJEXT) +nodist_probe_module_OBJECTS = +probe_module_OBJECTS = $(am_probe_module_OBJECTS) \ + $(nodist_probe_module_OBJECTS) +probe_module_DEPENDENCIES = +probe_module_LINK = $(CCLD) $(probe_module_CFLAGS) $(CFLAGS) \ + $(probe_module_LDFLAGS) $(LDFLAGS) -o $@ +am__pxe_module_SOURCES_DIST = fs/i386/pc/pxe.c +@COND_i386_pc_TRUE@am_pxe_module_OBJECTS = \ +@COND_i386_pc_TRUE@ fs/i386/pc/pxe_module-pxe.$(OBJEXT) +nodist_pxe_module_OBJECTS = +pxe_module_OBJECTS = $(am_pxe_module_OBJECTS) \ + $(nodist_pxe_module_OBJECTS) +pxe_module_DEPENDENCIES = +pxe_module_LINK = $(CCLD) $(pxe_module_CFLAGS) $(CFLAGS) \ + $(pxe_module_LDFLAGS) $(LDFLAGS) -o $@ +am__pxeboot_image_SOURCES_DIST = boot/i386/pc/pxeboot.S +@COND_i386_pc_TRUE@am_pxeboot_image_OBJECTS = boot/i386/pc/pxeboot_image-pxeboot.$(OBJEXT) +nodist_pxeboot_image_OBJECTS = +pxeboot_image_OBJECTS = $(am_pxeboot_image_OBJECTS) \ + $(nodist_pxeboot_image_OBJECTS) +pxeboot_image_DEPENDENCIES = +pxeboot_image_LINK = $(CCLD) $(pxeboot_image_CFLAGS) $(CFLAGS) \ + $(pxeboot_image_LDFLAGS) $(LDFLAGS) -o $@ +am__pxecmd_module_SOURCES_DIST = commands/i386/pc/pxecmd.c +@COND_i386_pc_TRUE@am_pxecmd_module_OBJECTS = commands/i386/pc/pxecmd_module-pxecmd.$(OBJEXT) +nodist_pxecmd_module_OBJECTS = +pxecmd_module_OBJECTS = $(am_pxecmd_module_OBJECTS) \ + $(nodist_pxecmd_module_OBJECTS) +pxecmd_module_DEPENDENCIES = +pxecmd_module_LINK = $(CCLD) $(pxecmd_module_CFLAGS) $(CFLAGS) \ + $(pxecmd_module_LDFLAGS) $(LDFLAGS) -o $@ +am__raid_module_SOURCES_DIST = disk/raid.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_raid_module_OBJECTS = disk/raid_module-raid.$(OBJEXT) +@COND_emu_TRUE@am_raid_module_OBJECTS = \ +@COND_emu_TRUE@ disk/raid_module-raid.$(OBJEXT) +nodist_raid_module_OBJECTS = +raid_module_OBJECTS = $(am_raid_module_OBJECTS) \ + $(nodist_raid_module_OBJECTS) +raid_module_DEPENDENCIES = +raid_module_LINK = $(CCLD) $(raid_module_CFLAGS) $(CFLAGS) \ + $(raid_module_LDFLAGS) $(LDFLAGS) -o $@ +am__raid5rec_module_SOURCES_DIST = disk/raid5_recover.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_raid5rec_module_OBJECTS = disk/raid5rec_module-raid5_recover.$(OBJEXT) +@COND_emu_TRUE@am_raid5rec_module_OBJECTS = \ +@COND_emu_TRUE@ disk/raid5rec_module-raid5_recover.$(OBJEXT) +nodist_raid5rec_module_OBJECTS = +raid5rec_module_OBJECTS = $(am_raid5rec_module_OBJECTS) \ + $(nodist_raid5rec_module_OBJECTS) +raid5rec_module_DEPENDENCIES = +raid5rec_module_LINK = $(CCLD) $(raid5rec_module_CFLAGS) $(CFLAGS) \ + $(raid5rec_module_LDFLAGS) $(LDFLAGS) -o $@ +am__raid6rec_module_SOURCES_DIST = disk/raid6_recover.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_raid6rec_module_OBJECTS = disk/raid6rec_module-raid6_recover.$(OBJEXT) +@COND_emu_TRUE@am_raid6rec_module_OBJECTS = \ +@COND_emu_TRUE@ disk/raid6rec_module-raid6_recover.$(OBJEXT) +nodist_raid6rec_module_OBJECTS = +raid6rec_module_OBJECTS = $(am_raid6rec_module_OBJECTS) \ + $(nodist_raid6rec_module_OBJECTS) +raid6rec_module_DEPENDENCIES = +raid6rec_module_LINK = $(CCLD) $(raid6rec_module_CFLAGS) $(CFLAGS) \ + $(raid6rec_module_LDFLAGS) $(LDFLAGS) -o $@ +am__read_module_SOURCES_DIST = commands/read.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_read_module_OBJECTS = commands/read_module-read.$(OBJEXT) +@COND_emu_TRUE@am_read_module_OBJECTS = \ +@COND_emu_TRUE@ commands/read_module-read.$(OBJEXT) +nodist_read_module_OBJECTS = +read_module_OBJECTS = $(am_read_module_OBJECTS) \ + $(nodist_read_module_OBJECTS) +read_module_DEPENDENCIES = +read_module_LINK = $(CCLD) $(read_module_CFLAGS) $(CFLAGS) \ + $(read_module_LDFLAGS) $(LDFLAGS) -o $@ +am__reboot_module_SOURCES_DIST = commands/reboot.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_reboot_module_OBJECTS = commands/reboot_module-reboot.$(OBJEXT) +@COND_emu_TRUE@am_reboot_module_OBJECTS = \ +@COND_emu_TRUE@ commands/reboot_module-reboot.$(OBJEXT) +nodist_reboot_module_OBJECTS = +reboot_module_OBJECTS = $(am_reboot_module_OBJECTS) \ + $(nodist_reboot_module_OBJECTS) +reboot_module_DEPENDENCIES = +reboot_module_LINK = $(CCLD) $(reboot_module_CFLAGS) $(CFLAGS) \ + $(reboot_module_LDFLAGS) $(LDFLAGS) -o $@ +am__regexp_module_SOURCES_DIST = commands/regexp.c commands/wildcard.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_regexp_module_OBJECTS = commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +@COND_emu_TRUE@am_regexp_module_OBJECTS = \ +@COND_emu_TRUE@ commands/regexp_module-regexp.$(OBJEXT) \ +@COND_emu_TRUE@ commands/regexp_module-wildcard.$(OBJEXT) +nodist_regexp_module_OBJECTS = +regexp_module_OBJECTS = $(am_regexp_module_OBJECTS) \ + $(nodist_regexp_module_OBJECTS) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@regexp_module_DEPENDENCIES = \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ libgnulib.a +@COND_emu_TRUE@regexp_module_DEPENDENCIES = libgnulib.a +regexp_module_LINK = $(CCLD) $(regexp_module_CFLAGS) $(CFLAGS) \ + $(regexp_module_LDFLAGS) $(LDFLAGS) -o $@ +am__reiserfs_module_SOURCES_DIST = fs/reiserfs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_reiserfs_module_OBJECTS = fs/reiserfs_module-reiserfs.$(OBJEXT) +@COND_emu_TRUE@am_reiserfs_module_OBJECTS = \ +@COND_emu_TRUE@ fs/reiserfs_module-reiserfs.$(OBJEXT) +nodist_reiserfs_module_OBJECTS = +reiserfs_module_OBJECTS = $(am_reiserfs_module_OBJECTS) \ + $(nodist_reiserfs_module_OBJECTS) +reiserfs_module_DEPENDENCIES = +reiserfs_module_LINK = $(CCLD) $(reiserfs_module_CFLAGS) $(CFLAGS) \ + $(reiserfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__relocator_module_SOURCES_DIST = lib/i386/relocator_asm.S \ + lib/i386/relocator16.S lib/i386/relocator32.S \ + lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c \ + lib/efi/relocator.c lib/ieee1275/relocator.c \ + lib/mips/relocator_asm.S lib/mips/relocator.c \ + lib/powerpc/relocator_asm.S lib/powerpc/relocator.c \ + lib/x86_64/relocator_asm.S +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_relocator_module_OBJECTS = lib/x86_64/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/efi/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_relocator_module_OBJECTS = lib/powerpc/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/powerpc/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/ieee1275/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_relocator_module_OBJECTS = lib/mips/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/mips/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_relocator_module_OBJECTS = lib/i386/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_relocator_module_OBJECTS = lib/i386/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_relocator_module_OBJECTS = lib/i386/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_relocator_module_OBJECTS = lib/ieee1275/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/i386/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_relocator_module_OBJECTS = lib/efi/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/i386/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_relocator_module_OBJECTS = lib/i386/relocator_module-relocator_asm.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/i386/relocator_module-relocator16.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/i386/relocator_module-relocator32.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/i386/relocator_module-relocator64.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/i386/relocator_module-relocator.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ lib/relocator_module-relocator.$(OBJEXT) +nodist_relocator_module_OBJECTS = +relocator_module_OBJECTS = $(am_relocator_module_OBJECTS) \ + $(nodist_relocator_module_OBJECTS) +relocator_module_DEPENDENCIES = +relocator_module_LINK = $(CCLD) $(relocator_module_CFLAGS) $(CFLAGS) \ + $(relocator_module_LDFLAGS) $(LDFLAGS) -o $@ +am__scsi_module_SOURCES_DIST = disk/scsi.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_scsi_module_OBJECTS = disk/scsi_module-scsi.$(OBJEXT) +@COND_emu_TRUE@am_scsi_module_OBJECTS = \ +@COND_emu_TRUE@ disk/scsi_module-scsi.$(OBJEXT) +nodist_scsi_module_OBJECTS = +scsi_module_OBJECTS = $(am_scsi_module_OBJECTS) \ + $(nodist_scsi_module_OBJECTS) +scsi_module_DEPENDENCIES = +scsi_module_LINK = $(CCLD) $(scsi_module_CFLAGS) $(CFLAGS) \ + $(scsi_module_LDFLAGS) $(LDFLAGS) -o $@ +am__sdl_module_SOURCES_DIST = video/emu/sdl.c +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@am_sdl_module_OBJECTS = video/emu/sdl_module-sdl.$(OBJEXT) +nodist_sdl_module_OBJECTS = +sdl_module_OBJECTS = $(am_sdl_module_OBJECTS) \ + $(nodist_sdl_module_OBJECTS) +sdl_module_DEPENDENCIES = +sdl_module_LINK = $(CCLD) $(sdl_module_CFLAGS) $(CFLAGS) \ + $(sdl_module_LDFLAGS) $(LDFLAGS) -o $@ +am__search_module_SOURCES_DIST = commands/search_wrap.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_search_module_OBJECTS = commands/search_module-search_wrap.$(OBJEXT) +@COND_emu_TRUE@am_search_module_OBJECTS = \ +@COND_emu_TRUE@ commands/search_module-search_wrap.$(OBJEXT) +nodist_search_module_OBJECTS = +search_module_OBJECTS = $(am_search_module_OBJECTS) \ + $(nodist_search_module_OBJECTS) +search_module_DEPENDENCIES = +search_module_LINK = $(CCLD) $(search_module_CFLAGS) $(CFLAGS) \ + $(search_module_LDFLAGS) $(LDFLAGS) -o $@ +am__search_fs_file_module_SOURCES_DIST = commands/search_file.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +@COND_emu_TRUE@am_search_fs_file_module_OBJECTS = commands/search_fs_file_module-search_file.$(OBJEXT) +nodist_search_fs_file_module_OBJECTS = +search_fs_file_module_OBJECTS = $(am_search_fs_file_module_OBJECTS) \ + $(nodist_search_fs_file_module_OBJECTS) +search_fs_file_module_DEPENDENCIES = +search_fs_file_module_LINK = $(CCLD) $(search_fs_file_module_CFLAGS) \ + $(CFLAGS) $(search_fs_file_module_LDFLAGS) $(LDFLAGS) -o $@ +am__search_fs_uuid_module_SOURCES_DIST = commands/search_uuid.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +@COND_emu_TRUE@am_search_fs_uuid_module_OBJECTS = commands/search_fs_uuid_module-search_uuid.$(OBJEXT) +nodist_search_fs_uuid_module_OBJECTS = +search_fs_uuid_module_OBJECTS = $(am_search_fs_uuid_module_OBJECTS) \ + $(nodist_search_fs_uuid_module_OBJECTS) +search_fs_uuid_module_DEPENDENCIES = +search_fs_uuid_module_LINK = $(CCLD) $(search_fs_uuid_module_CFLAGS) \ + $(CFLAGS) $(search_fs_uuid_module_LDFLAGS) $(LDFLAGS) -o $@ +am__search_label_module_SOURCES_DIST = commands/search_label.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +@COND_emu_TRUE@am_search_label_module_OBJECTS = commands/search_label_module-search_label.$(OBJEXT) +nodist_search_label_module_OBJECTS = +search_label_module_OBJECTS = $(am_search_label_module_OBJECTS) \ + $(nodist_search_label_module_OBJECTS) +search_label_module_DEPENDENCIES = +search_label_module_LINK = $(CCLD) $(search_label_module_CFLAGS) \ + $(CFLAGS) $(search_label_module_LDFLAGS) $(LDFLAGS) -o $@ +am__sendkey_module_SOURCES_DIST = commands/i386/pc/sendkey.c +@COND_i386_pc_TRUE@am_sendkey_module_OBJECTS = commands/i386/pc/sendkey_module-sendkey.$(OBJEXT) +nodist_sendkey_module_OBJECTS = +sendkey_module_OBJECTS = $(am_sendkey_module_OBJECTS) \ + $(nodist_sendkey_module_OBJECTS) +sendkey_module_DEPENDENCIES = +sendkey_module_LINK = $(CCLD) $(sendkey_module_CFLAGS) $(CFLAGS) \ + $(sendkey_module_LDFLAGS) $(LDFLAGS) -o $@ +am__serial_module_SOURCES_DIST = term/serial.c term/ns8250.c +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am_serial_module_OBJECTS = term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ term/serial_module-serial.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_serial_module_OBJECTS = term/serial_module-ns8250.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ term/serial_module-serial.$(OBJEXT) +nodist_serial_module_OBJECTS = +serial_module_OBJECTS = $(am_serial_module_OBJECTS) \ + $(nodist_serial_module_OBJECTS) +serial_module_DEPENDENCIES = +serial_module_LINK = $(CCLD) $(serial_module_CFLAGS) $(CFLAGS) \ + $(serial_module_LDFLAGS) $(LDFLAGS) -o $@ +am__setjmp_module_SOURCES_DIST = lib/setjmp.S +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_setjmp_module_OBJECTS = lib/setjmp_module-setjmp.$(OBJEXT) +@COND_emu_TRUE@am_setjmp_module_OBJECTS = \ +@COND_emu_TRUE@ lib/setjmp_module-setjmp.$(OBJEXT) +nodist_setjmp_module_OBJECTS = +setjmp_module_OBJECTS = $(am_setjmp_module_OBJECTS) \ + $(nodist_setjmp_module_OBJECTS) +setjmp_module_DEPENDENCIES = +setjmp_module_LINK = $(CCLD) $(setjmp_module_CFLAGS) $(CFLAGS) \ + $(setjmp_module_LDFLAGS) $(LDFLAGS) -o $@ +am__setpci_module_SOURCES_DIST = commands/setpci.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_setpci_module_OBJECTS = commands/setpci_module-setpci.$(OBJEXT) +nodist_setpci_module_OBJECTS = +setpci_module_OBJECTS = $(am_setpci_module_OBJECTS) \ + $(nodist_setpci_module_OBJECTS) +setpci_module_DEPENDENCIES = +setpci_module_LINK = $(CCLD) $(setpci_module_CFLAGS) $(CFLAGS) \ + $(setpci_module_LDFLAGS) $(LDFLAGS) -o $@ +am__sfs_module_SOURCES_DIST = fs/sfs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +@COND_emu_TRUE@am_sfs_module_OBJECTS = fs/sfs_module-sfs.$(OBJEXT) +nodist_sfs_module_OBJECTS = +sfs_module_OBJECTS = $(am_sfs_module_OBJECTS) \ + $(nodist_sfs_module_OBJECTS) +sfs_module_DEPENDENCIES = +sfs_module_LINK = $(CCLD) $(sfs_module_CFLAGS) $(CFLAGS) \ + $(sfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__sleep_module_SOURCES_DIST = commands/sleep.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_sleep_module_OBJECTS = commands/sleep_module-sleep.$(OBJEXT) +@COND_emu_TRUE@am_sleep_module_OBJECTS = \ +@COND_emu_TRUE@ commands/sleep_module-sleep.$(OBJEXT) +nodist_sleep_module_OBJECTS = +sleep_module_OBJECTS = $(am_sleep_module_OBJECTS) \ + $(nodist_sleep_module_OBJECTS) +sleep_module_DEPENDENCIES = +sleep_module_LINK = $(CCLD) $(sleep_module_CFLAGS) $(CFLAGS) \ + $(sleep_module_LDFLAGS) $(LDFLAGS) -o $@ +am__suspend_module_SOURCES_DIST = commands/ieee1275/suspend.c +@COND_i386_ieee1275_FALSE@@COND_powerpc_ieee1275_TRUE@am_suspend_module_OBJECTS = commands/ieee1275/suspend_module-suspend.$(OBJEXT) +@COND_i386_ieee1275_TRUE@am_suspend_module_OBJECTS = commands/ieee1275/suspend_module-suspend.$(OBJEXT) +nodist_suspend_module_OBJECTS = +suspend_module_OBJECTS = $(am_suspend_module_OBJECTS) \ + $(nodist_suspend_module_OBJECTS) +suspend_module_DEPENDENCIES = +suspend_module_LINK = $(CCLD) $(suspend_module_CFLAGS) $(CFLAGS) \ + $(suspend_module_LDFLAGS) $(LDFLAGS) -o $@ +am__tar_module_SOURCES_DIST = fs/tar.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +@COND_emu_TRUE@am_tar_module_OBJECTS = fs/tar_module-tar.$(OBJEXT) +nodist_tar_module_OBJECTS = +tar_module_OBJECTS = $(am_tar_module_OBJECTS) \ + $(nodist_tar_module_OBJECTS) +tar_module_DEPENDENCIES = +tar_module_LINK = $(CCLD) $(tar_module_CFLAGS) $(CFLAGS) \ + $(tar_module_LDFLAGS) $(LDFLAGS) -o $@ +am__terminal_module_SOURCES_DIST = commands/terminal.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_terminal_module_OBJECTS = commands/terminal_module-terminal.$(OBJEXT) +@COND_emu_TRUE@am_terminal_module_OBJECTS = \ +@COND_emu_TRUE@ commands/terminal_module-terminal.$(OBJEXT) +nodist_terminal_module_OBJECTS = +terminal_module_OBJECTS = $(am_terminal_module_OBJECTS) \ + $(nodist_terminal_module_OBJECTS) +terminal_module_DEPENDENCIES = +terminal_module_LINK = $(CCLD) $(terminal_module_CFLAGS) $(CFLAGS) \ + $(terminal_module_LDFLAGS) $(LDFLAGS) -o $@ +am__terminfo_module_SOURCES_DIST = term/terminfo.c term/tparm.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_terminfo_module_OBJECTS = term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_terminfo_module_OBJECTS = term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_terminfo_module_OBJECTS = term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@am_terminfo_module_OBJECTS = term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_multiboot_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_terminfo_module_OBJECTS = term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_terminfo_module_OBJECTS = term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +@COND_emu_TRUE@am_terminfo_module_OBJECTS = \ +@COND_emu_TRUE@ term/terminfo_module-terminfo.$(OBJEXT) \ +@COND_emu_TRUE@ term/terminfo_module-tparm.$(OBJEXT) +nodist_terminfo_module_OBJECTS = +terminfo_module_OBJECTS = $(am_terminfo_module_OBJECTS) \ + $(nodist_terminfo_module_OBJECTS) +terminfo_module_DEPENDENCIES = +terminfo_module_LINK = $(CCLD) $(terminfo_module_CFLAGS) $(CFLAGS) \ + $(terminfo_module_LDFLAGS) $(LDFLAGS) -o $@ +am__test_module_SOURCES_DIST = commands/test.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_test_module_OBJECTS = commands/test_module-test.$(OBJEXT) +@COND_emu_TRUE@am_test_module_OBJECTS = \ +@COND_emu_TRUE@ commands/test_module-test.$(OBJEXT) +nodist_test_module_OBJECTS = +test_module_OBJECTS = $(am_test_module_OBJECTS) \ + $(nodist_test_module_OBJECTS) +test_module_DEPENDENCIES = +test_module_LINK = $(CCLD) $(test_module_CFLAGS) $(CFLAGS) \ + $(test_module_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blockarg_module_SOURCES_DIST = tests/test_blockarg.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +@COND_emu_TRUE@am_test_blockarg_module_OBJECTS = tests/test_blockarg_module-test_blockarg.$(OBJEXT) +nodist_test_blockarg_module_OBJECTS = +test_blockarg_module_OBJECTS = $(am_test_blockarg_module_OBJECTS) \ + $(nodist_test_blockarg_module_OBJECTS) +test_blockarg_module_DEPENDENCIES = +test_blockarg_module_LINK = $(CCLD) $(test_blockarg_module_CFLAGS) \ + $(CFLAGS) $(test_blockarg_module_LDFLAGS) $(LDFLAGS) -o $@ +am__testload_module_SOURCES_DIST = commands/testload.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_testload_module_OBJECTS = commands/testload_module-testload.$(OBJEXT) +@COND_emu_TRUE@am_testload_module_OBJECTS = \ +@COND_emu_TRUE@ commands/testload_module-testload.$(OBJEXT) +nodist_testload_module_OBJECTS = +testload_module_OBJECTS = $(am_testload_module_OBJECTS) \ + $(nodist_testload_module_OBJECTS) +testload_module_DEPENDENCIES = +testload_module_LINK = $(CCLD) $(testload_module_CFLAGS) $(CFLAGS) \ + $(testload_module_LDFLAGS) $(LDFLAGS) -o $@ +am__tga_module_SOURCES_DIST = video/readers/tga.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_tga_module_OBJECTS = video/readers/tga_module-tga.$(OBJEXT) +@COND_emu_TRUE@am_tga_module_OBJECTS = \ +@COND_emu_TRUE@ video/readers/tga_module-tga.$(OBJEXT) +nodist_tga_module_OBJECTS = +tga_module_OBJECTS = $(am_tga_module_OBJECTS) \ + $(nodist_tga_module_OBJECTS) +tga_module_DEPENDENCIES = +tga_module_LINK = $(CCLD) $(tga_module_CFLAGS) $(CFLAGS) \ + $(tga_module_LDFLAGS) $(LDFLAGS) -o $@ +am_trig_module_OBJECTS = +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@nodist_trig_module_OBJECTS = trig_module-trigtables.$(OBJEXT) +@COND_emu_TRUE@nodist_trig_module_OBJECTS = \ +@COND_emu_TRUE@ trig_module-trigtables.$(OBJEXT) +trig_module_OBJECTS = $(am_trig_module_OBJECTS) \ + $(nodist_trig_module_OBJECTS) +trig_module_DEPENDENCIES = +trig_module_LINK = $(CCLD) $(trig_module_CFLAGS) $(CFLAGS) \ + $(trig_module_LDFLAGS) $(LDFLAGS) -o $@ +am__true_module_SOURCES_DIST = commands/true.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_true_module_OBJECTS = commands/true_module-true.$(OBJEXT) +@COND_emu_TRUE@am_true_module_OBJECTS = \ +@COND_emu_TRUE@ commands/true_module-true.$(OBJEXT) +nodist_true_module_OBJECTS = +true_module_OBJECTS = $(am_true_module_OBJECTS) \ + $(nodist_true_module_OBJECTS) +true_module_DEPENDENCIES = +true_module_LINK = $(CCLD) $(true_module_CFLAGS) $(CFLAGS) \ + $(true_module_LDFLAGS) $(LDFLAGS) -o $@ +am__udf_module_SOURCES_DIST = fs/udf.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +@COND_emu_TRUE@am_udf_module_OBJECTS = fs/udf_module-udf.$(OBJEXT) +nodist_udf_module_OBJECTS = +udf_module_OBJECTS = $(am_udf_module_OBJECTS) \ + $(nodist_udf_module_OBJECTS) +udf_module_DEPENDENCIES = +udf_module_LINK = $(CCLD) $(udf_module_CFLAGS) $(CFLAGS) \ + $(udf_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ufs1_module_SOURCES_DIST = fs/ufs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +@COND_emu_TRUE@am_ufs1_module_OBJECTS = fs/ufs1_module-ufs.$(OBJEXT) +nodist_ufs1_module_OBJECTS = +ufs1_module_OBJECTS = $(am_ufs1_module_OBJECTS) \ + $(nodist_ufs1_module_OBJECTS) +ufs1_module_DEPENDENCIES = +ufs1_module_LINK = $(CCLD) $(ufs1_module_CFLAGS) $(CFLAGS) \ + $(ufs1_module_LDFLAGS) $(LDFLAGS) -o $@ +am__ufs2_module_SOURCES_DIST = fs/ufs2.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +@COND_emu_TRUE@am_ufs2_module_OBJECTS = fs/ufs2_module-ufs2.$(OBJEXT) +nodist_ufs2_module_OBJECTS = +ufs2_module_OBJECTS = $(am_ufs2_module_OBJECTS) \ + $(nodist_ufs2_module_OBJECTS) +ufs2_module_DEPENDENCIES = +ufs2_module_LINK = $(CCLD) $(ufs2_module_CFLAGS) $(CFLAGS) \ + $(ufs2_module_LDFLAGS) $(LDFLAGS) -o $@ +am__uhci_module_SOURCES_DIST = bus/usb/uhci.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_uhci_module_OBJECTS = bus/usb/uhci_module-uhci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_uhci_module_OBJECTS = bus/usb/uhci_module-uhci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_uhci_module_OBJECTS = bus/usb/uhci_module-uhci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_uhci_module_OBJECTS = bus/usb/uhci_module-uhci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_uhci_module_OBJECTS = bus/usb/uhci_module-uhci.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_uhci_module_OBJECTS = bus/usb/uhci_module-uhci.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_uhci_module_OBJECTS = \ +@COND_i386_coreboot_TRUE@ bus/usb/uhci_module-uhci.$(OBJEXT) +nodist_uhci_module_OBJECTS = +uhci_module_OBJECTS = $(am_uhci_module_OBJECTS) \ + $(nodist_uhci_module_OBJECTS) +uhci_module_DEPENDENCIES = +uhci_module_LINK = $(CCLD) $(uhci_module_CFLAGS) $(CFLAGS) \ + $(uhci_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usb_module_SOURCES_DIST = bus/usb/usb.c bus/usb/usbtrans.c \ + bus/usb/usbhub.c +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_usb_module_OBJECTS = bus/usb/usb_module-usbtrans.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ bus/usb/usb_module-usbhub.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ bus/usb/usb_module-usb.$(OBJEXT) +nodist_usb_module_OBJECTS = +usb_module_OBJECTS = $(am_usb_module_OBJECTS) \ + $(nodist_usb_module_OBJECTS) +usb_module_DEPENDENCIES = +usb_module_LINK = $(CCLD) $(usb_module_CFLAGS) $(CFLAGS) \ + $(usb_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usb_keyboard_module_SOURCES_DIST = term/usb_keyboard.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_usb_keyboard_module_OBJECTS = term/usb_keyboard_module-usb_keyboard.$(OBJEXT) +nodist_usb_keyboard_module_OBJECTS = +usb_keyboard_module_OBJECTS = $(am_usb_keyboard_module_OBJECTS) \ + $(nodist_usb_keyboard_module_OBJECTS) +usb_keyboard_module_DEPENDENCIES = +usb_keyboard_module_LINK = $(CCLD) $(usb_keyboard_module_CFLAGS) \ + $(CFLAGS) $(usb_keyboard_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usbms_module_SOURCES_DIST = disk/usbms.c +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_usbms_module_OBJECTS = disk/usbms_module-usbms.$(OBJEXT) +nodist_usbms_module_OBJECTS = +usbms_module_OBJECTS = $(am_usbms_module_OBJECTS) \ + $(nodist_usbms_module_OBJECTS) +usbms_module_DEPENDENCIES = +usbms_module_LINK = $(CCLD) $(usbms_module_CFLAGS) $(CFLAGS) \ + $(usbms_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usbserial_common_module_SOURCES_DIST = bus/usb/serial/common.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_usbserial_common_module_OBJECTS = bus/usb/serial/usbserial_common_module-common.$(OBJEXT) +nodist_usbserial_common_module_OBJECTS = +usbserial_common_module_OBJECTS = \ + $(am_usbserial_common_module_OBJECTS) \ + $(nodist_usbserial_common_module_OBJECTS) +usbserial_common_module_DEPENDENCIES = +usbserial_common_module_LINK = $(CCLD) \ + $(usbserial_common_module_CFLAGS) $(CFLAGS) \ + $(usbserial_common_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usbserial_ftdi_module_SOURCES_DIST = bus/usb/serial/ftdi.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_usbserial_ftdi_module_OBJECTS = bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) +nodist_usbserial_ftdi_module_OBJECTS = +usbserial_ftdi_module_OBJECTS = $(am_usbserial_ftdi_module_OBJECTS) \ + $(nodist_usbserial_ftdi_module_OBJECTS) +usbserial_ftdi_module_DEPENDENCIES = +usbserial_ftdi_module_LINK = $(CCLD) $(usbserial_ftdi_module_CFLAGS) \ + $(CFLAGS) $(usbserial_ftdi_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usbserial_pl2303_module_SOURCES_DIST = bus/usb/serial/pl2303.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_usbserial_pl2303_module_OBJECTS = bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) +nodist_usbserial_pl2303_module_OBJECTS = +usbserial_pl2303_module_OBJECTS = \ + $(am_usbserial_pl2303_module_OBJECTS) \ + $(nodist_usbserial_pl2303_module_OBJECTS) +usbserial_pl2303_module_DEPENDENCIES = +usbserial_pl2303_module_LINK = $(CCLD) \ + $(usbserial_pl2303_module_CFLAGS) $(CFLAGS) \ + $(usbserial_pl2303_module_LDFLAGS) $(LDFLAGS) -o $@ +am__usbtest_module_SOURCES_DIST = commands/usbtest.c +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_FALSE@@COND_i386_coreboot_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_x86_64_efi_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_usbtest_module_OBJECTS = commands/usbtest_module-usbtest.$(OBJEXT) +nodist_usbtest_module_OBJECTS = +usbtest_module_OBJECTS = $(am_usbtest_module_OBJECTS) \ + $(nodist_usbtest_module_OBJECTS) +usbtest_module_DEPENDENCIES = +usbtest_module_LINK = $(CCLD) $(usbtest_module_CFLAGS) $(CFLAGS) \ + $(usbtest_module_LDFLAGS) $(LDFLAGS) -o $@ +am__vbe_module_SOURCES_DIST = video/i386/pc/vbe.c +@COND_i386_pc_TRUE@am_vbe_module_OBJECTS = \ +@COND_i386_pc_TRUE@ video/i386/pc/vbe_module-vbe.$(OBJEXT) +nodist_vbe_module_OBJECTS = +vbe_module_OBJECTS = $(am_vbe_module_OBJECTS) \ + $(nodist_vbe_module_OBJECTS) +vbe_module_DEPENDENCIES = +vbe_module_LINK = $(CCLD) $(vbe_module_CFLAGS) $(CFLAGS) \ + $(vbe_module_LDFLAGS) $(LDFLAGS) -o $@ +am__vga_module_SOURCES_DIST = video/i386/pc/vga.c +@COND_i386_pc_TRUE@am_vga_module_OBJECTS = \ +@COND_i386_pc_TRUE@ video/i386/pc/vga_module-vga.$(OBJEXT) +nodist_vga_module_OBJECTS = +vga_module_OBJECTS = $(am_vga_module_OBJECTS) \ + $(nodist_vga_module_OBJECTS) +vga_module_DEPENDENCIES = +vga_module_LINK = $(CCLD) $(vga_module_CFLAGS) $(CFLAGS) \ + $(vga_module_LDFLAGS) $(LDFLAGS) -o $@ +am__vga_text_module_SOURCES_DIST = term/i386/pc/vga_text.c \ + term/i386/vga_common.c +@COND_i386_coreboot_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_vga_text_module_OBJECTS = term/i386/pc/vga_text_module-vga_text.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ term/i386/vga_text_module-vga_common.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_multiboot_TRUE@am_vga_text_module_OBJECTS = term/i386/pc/vga_text_module-vga_text.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_multiboot_TRUE@ term/i386/vga_text_module-vga_common.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_vga_text_module_OBJECTS = term/i386/pc/vga_text_module-vga_text.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ term/i386/vga_text_module-vga_common.$(OBJEXT) +nodist_vga_text_module_OBJECTS = +vga_text_module_OBJECTS = $(am_vga_text_module_OBJECTS) \ + $(nodist_vga_text_module_OBJECTS) +vga_text_module_DEPENDENCIES = +vga_text_module_LINK = $(CCLD) $(vga_text_module_CFLAGS) $(CFLAGS) \ + $(vga_text_module_LDFLAGS) $(LDFLAGS) -o $@ +am__video_module_SOURCES_DIST = video/video.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_video_module_OBJECTS = video/video_module-video.$(OBJEXT) +@COND_emu_TRUE@am_video_module_OBJECTS = \ +@COND_emu_TRUE@ video/video_module-video.$(OBJEXT) +nodist_video_module_OBJECTS = +video_module_OBJECTS = $(am_video_module_OBJECTS) \ + $(nodist_video_module_OBJECTS) +video_module_DEPENDENCIES = +video_module_LINK = $(CCLD) $(video_module_CFLAGS) $(CFLAGS) \ + $(video_module_LDFLAGS) $(LDFLAGS) -o $@ +am__video_bochs_module_SOURCES_DIST = video/bochs.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_video_bochs_module_OBJECTS = video/video_bochs_module-bochs.$(OBJEXT) +nodist_video_bochs_module_OBJECTS = +video_bochs_module_OBJECTS = $(am_video_bochs_module_OBJECTS) \ + $(nodist_video_bochs_module_OBJECTS) +video_bochs_module_DEPENDENCIES = +video_bochs_module_LINK = $(CCLD) $(video_bochs_module_CFLAGS) \ + $(CFLAGS) $(video_bochs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__video_cirrus_module_SOURCES_DIST = video/cirrus.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_video_cirrus_module_OBJECTS = video/video_cirrus_module-cirrus.$(OBJEXT) +nodist_video_cirrus_module_OBJECTS = +video_cirrus_module_OBJECTS = $(am_video_cirrus_module_OBJECTS) \ + $(nodist_video_cirrus_module_OBJECTS) +video_cirrus_module_DEPENDENCIES = +video_cirrus_module_LINK = $(CCLD) $(video_cirrus_module_CFLAGS) \ + $(CFLAGS) $(video_cirrus_module_LDFLAGS) $(LDFLAGS) -o $@ +am__video_fb_module_SOURCES_DIST = video/fb/video_fb.c \ + video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_powerpc_ieee1275_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_video_fb_module_OBJECTS = video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +@COND_emu_TRUE@am_video_fb_module_OBJECTS = \ +@COND_emu_TRUE@ video/fb/video_fb_module-video_fb.$(OBJEXT) \ +@COND_emu_TRUE@ video/fb/video_fb_module-fbblit.$(OBJEXT) \ +@COND_emu_TRUE@ video/fb/video_fb_module-fbfill.$(OBJEXT) \ +@COND_emu_TRUE@ video/fb/video_fb_module-fbutil.$(OBJEXT) +nodist_video_fb_module_OBJECTS = +video_fb_module_OBJECTS = $(am_video_fb_module_OBJECTS) \ + $(nodist_video_fb_module_OBJECTS) +video_fb_module_DEPENDENCIES = +video_fb_module_LINK = $(CCLD) $(video_fb_module_CFLAGS) $(CFLAGS) \ + $(video_fb_module_LDFLAGS) $(LDFLAGS) -o $@ +am__videoinfo_module_SOURCES_DIST = commands/videoinfo.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_videoinfo_module_OBJECTS = commands/videoinfo_module-videoinfo.$(OBJEXT) +@COND_emu_TRUE@am_videoinfo_module_OBJECTS = \ +@COND_emu_TRUE@ commands/videoinfo_module-videoinfo.$(OBJEXT) +nodist_videoinfo_module_OBJECTS = +videoinfo_module_OBJECTS = $(am_videoinfo_module_OBJECTS) \ + $(nodist_videoinfo_module_OBJECTS) +videoinfo_module_DEPENDENCIES = +videoinfo_module_LINK = $(CCLD) $(videoinfo_module_CFLAGS) $(CFLAGS) \ + $(videoinfo_module_LDFLAGS) $(LDFLAGS) -o $@ +am__videotest_module_SOURCES_DIST = commands/videotest.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_videotest_module_OBJECTS = commands/videotest_module-videotest.$(OBJEXT) +@COND_emu_TRUE@am_videotest_module_OBJECTS = \ +@COND_emu_TRUE@ commands/videotest_module-videotest.$(OBJEXT) +nodist_videotest_module_OBJECTS = +videotest_module_OBJECTS = $(am_videotest_module_OBJECTS) \ + $(nodist_videotest_module_OBJECTS) +videotest_module_DEPENDENCIES = +videotest_module_LINK = $(CCLD) $(videotest_module_CFLAGS) $(CFLAGS) \ + $(videotest_module_LDFLAGS) $(LDFLAGS) -o $@ +am__xfs_module_SOURCES_DIST = fs/xfs.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +@COND_emu_TRUE@am_xfs_module_OBJECTS = fs/xfs_module-xfs.$(OBJEXT) +nodist_xfs_module_OBJECTS = +xfs_module_OBJECTS = $(am_xfs_module_OBJECTS) \ + $(nodist_xfs_module_OBJECTS) +xfs_module_DEPENDENCIES = +xfs_module_LINK = $(CCLD) $(xfs_module_CFLAGS) $(CFLAGS) \ + $(xfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__xnu_module_SOURCES_DIST = loader/xnu_resume.c loader/i386/xnu.c \ + loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_x86_64_efi_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +@COND_i386_coreboot_TRUE@am_xnu_module_OBJECTS = loader/xnu_module-xnu_resume.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/i386/xnu_module-xnu.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/xnu_module-macho32.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/xnu_module-macho64.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/xnu_module-macho.$(OBJEXT) \ +@COND_i386_coreboot_TRUE@ loader/xnu_module-xnu.$(OBJEXT) +nodist_xnu_module_OBJECTS = +xnu_module_OBJECTS = $(am_xnu_module_OBJECTS) \ + $(nodist_xnu_module_OBJECTS) +xnu_module_DEPENDENCIES = +xnu_module_LINK = $(CCLD) $(xnu_module_CFLAGS) $(CFLAGS) \ + $(xnu_module_LDFLAGS) $(LDFLAGS) -o $@ +am__xnu_uuid_module_SOURCES_DIST = commands/xnu_uuid.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_xnu_uuid_module_OBJECTS = commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +@COND_emu_TRUE@am_xnu_uuid_module_OBJECTS = \ +@COND_emu_TRUE@ commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) +nodist_xnu_uuid_module_OBJECTS = +xnu_uuid_module_OBJECTS = $(am_xnu_uuid_module_OBJECTS) \ + $(nodist_xnu_uuid_module_OBJECTS) +xnu_uuid_module_DEPENDENCIES = +xnu_uuid_module_LINK = $(CCLD) $(xnu_uuid_module_CFLAGS) $(CFLAGS) \ + $(xnu_uuid_module_LDFLAGS) $(LDFLAGS) -o $@ +am__xz_decompress_image_SOURCES_DIST = boot/mips/startup_raw.S \ + boot/decompressor/minilib.c boot/decompressor/xz.c \ + lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c \ + lib/xzembed/xz_dec_stream.c +@COND_mips_yeeloong_TRUE@am_xz_decompress_image_OBJECTS = boot/mips/xz_decompress_image-startup_raw.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ boot/decompressor/xz_decompress_image-minilib.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ boot/decompressor/xz_decompress_image-xz.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ lib/xzembed/xz_decompress_image-xz_dec_bcj.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ lib/xzembed/xz_decompress_image-xz_dec_lzma2.$(OBJEXT) \ +@COND_mips_yeeloong_TRUE@ lib/xzembed/xz_decompress_image-xz_dec_stream.$(OBJEXT) +nodist_xz_decompress_image_OBJECTS = +xz_decompress_image_OBJECTS = $(am_xz_decompress_image_OBJECTS) \ + $(nodist_xz_decompress_image_OBJECTS) +xz_decompress_image_DEPENDENCIES = +xz_decompress_image_LINK = $(CCLD) $(xz_decompress_image_CFLAGS) \ + $(CFLAGS) $(xz_decompress_image_LDFLAGS) $(LDFLAGS) -o $@ +am__xzio_module_SOURCES_DIST = io/xzio.c lib/xzembed/xz_dec_bcj.c \ + lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +@COND_emu_TRUE@am_xzio_module_OBJECTS = io/xzio_module-xzio.$(OBJEXT) \ +@COND_emu_TRUE@ lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) \ +@COND_emu_TRUE@ lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) \ +@COND_emu_TRUE@ lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) +nodist_xzio_module_OBJECTS = +xzio_module_OBJECTS = $(am_xzio_module_OBJECTS) \ + $(nodist_xzio_module_OBJECTS) +xzio_module_DEPENDENCIES = +xzio_module_LINK = $(CCLD) $(xzio_module_CFLAGS) $(CFLAGS) \ + $(xzio_module_LDFLAGS) $(LDFLAGS) -o $@ +am__zfs_module_SOURCES_DIST = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c \ + fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_zfs_module_OBJECTS = fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +@COND_emu_TRUE@am_zfs_module_OBJECTS = \ +@COND_emu_TRUE@ fs/zfs/zfs_module-zfs.$(OBJEXT) \ +@COND_emu_TRUE@ fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) \ +@COND_emu_TRUE@ fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) \ +@COND_emu_TRUE@ fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) +nodist_zfs_module_OBJECTS = +zfs_module_OBJECTS = $(am_zfs_module_OBJECTS) \ + $(nodist_zfs_module_OBJECTS) +zfs_module_DEPENDENCIES = +zfs_module_LINK = $(CCLD) $(zfs_module_CFLAGS) $(CFLAGS) \ + $(zfs_module_LDFLAGS) $(LDFLAGS) -o $@ +am__zfsinfo_module_SOURCES_DIST = fs/zfs/zfsinfo.c +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_FALSE@@COND_x86_64_efi_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_FALSE@@COND_sparc64_ieee1275_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_FALSE@@COND_powerpc_ieee1275_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_FALSE@@COND_mips_yeeloong_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_FALSE@@COND_i386_qemu_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_FALSE@@COND_i386_pc_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_FALSE@@COND_i386_multiboot_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_FALSE@@COND_i386_ieee1275_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_FALSE@@COND_i386_efi_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_FALSE@@COND_i386_coreboot_TRUE@am_zfsinfo_module_OBJECTS = fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +@COND_emu_TRUE@am_zfsinfo_module_OBJECTS = \ +@COND_emu_TRUE@ fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) +nodist_zfsinfo_module_OBJECTS = +zfsinfo_module_OBJECTS = $(am_zfsinfo_module_OBJECTS) \ + $(nodist_zfsinfo_module_OBJECTS) +zfsinfo_module_DEPENDENCIES = +zfsinfo_module_LINK = $(CCLD) $(zfsinfo_module_CFLAGS) $(CFLAGS) \ + $(zfsinfo_module_LDFLAGS) $(LDFLAGS) -o $@ +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +SCRIPTS = $(bin_SCRIPTS) $(grubconf_SCRIPTS) $(noinst_SCRIPTS) \ + $(pkglib_SCRIPTS) $(sbin_SCRIPTS) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libgnulib_a_SOURCES) $(nodist_libgnulib_a_SOURCES) \ + $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) \ + $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) \ + $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) \ + $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) \ + $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) \ + $(appleldr_module_SOURCES) $(nodist_appleldr_module_SOURCES) \ + $(at_keyboard_module_SOURCES) \ + $(nodist_at_keyboard_module_SOURCES) $(ata_module_SOURCES) \ + $(nodist_ata_module_SOURCES) $(ata_pthru_module_SOURCES) \ + $(nodist_ata_pthru_module_SOURCES) $(befs_module_SOURCES) \ + $(nodist_befs_module_SOURCES) $(befs_be_module_SOURCES) \ + $(nodist_befs_be_module_SOURCES) $(biosdisk_module_SOURCES) \ + $(nodist_biosdisk_module_SOURCES) $(bitmap_module_SOURCES) \ + $(nodist_bitmap_module_SOURCES) $(bitmap_scale_module_SOURCES) \ + $(nodist_bitmap_scale_module_SOURCES) \ + $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) \ + $(boot_image_SOURCES) $(nodist_boot_image_SOURCES) \ + $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) \ + $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) \ + $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) \ + $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) \ + $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) \ + $(cdboot_image_SOURCES) $(nodist_cdboot_image_SOURCES) \ + $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) \ + $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) \ + $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) \ + $(configfile_module_SOURCES) \ + $(nodist_configfile_module_SOURCES) $(cpio_module_SOURCES) \ + $(nodist_cpio_module_SOURCES) $(cpuid_module_SOURCES) \ + $(nodist_cpuid_module_SOURCES) $(crypto_module_SOURCES) \ + $(nodist_crypto_module_SOURCES) $(cs5536_module_SOURCES) \ + $(nodist_cs5536_module_SOURCES) $(date_module_SOURCES) \ + $(nodist_date_module_SOURCES) $(datehook_module_SOURCES) \ + $(nodist_datehook_module_SOURCES) $(datetime_module_SOURCES) \ + $(nodist_datetime_module_SOURCES) $(diskboot_image_SOURCES) \ + $(nodist_diskboot_image_SOURCES) $(dm_nv_module_SOURCES) \ + $(nodist_dm_nv_module_SOURCES) $(drivemap_module_SOURCES) \ + $(nodist_drivemap_module_SOURCES) $(echo_module_SOURCES) \ + $(nodist_echo_module_SOURCES) $(efi_gop_module_SOURCES) \ + $(nodist_efi_gop_module_SOURCES) $(efi_uga_module_SOURCES) \ + $(nodist_efi_uga_module_SOURCES) $(efiemu_module_SOURCES) \ + $(nodist_efiemu_module_SOURCES) $(elf_module_SOURCES) \ + $(nodist_elf_module_SOURCES) \ + $(example_functional_test_module_SOURCES) \ + $(nodist_example_functional_test_module_SOURCES) \ + $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) \ + $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) \ + $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) \ + $(fixvideo_module_SOURCES) $(nodist_fixvideo_module_SOURCES) \ + $(font_module_SOURCES) $(nodist_font_module_SOURCES) \ + $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) \ + $(functional_test_module_SOURCES) \ + $(nodist_functional_test_module_SOURCES) \ + $(fwstart_image_SOURCES) $(nodist_fwstart_image_SOURCES) \ + $(gcry_arcfour_module_SOURCES) \ + $(nodist_gcry_arcfour_module_SOURCES) \ + $(gcry_blowfish_module_SOURCES) \ + $(nodist_gcry_blowfish_module_SOURCES) \ + $(gcry_camellia_module_SOURCES) \ + $(nodist_gcry_camellia_module_SOURCES) \ + $(gcry_cast5_module_SOURCES) \ + $(nodist_gcry_cast5_module_SOURCES) $(gcry_crc_module_SOURCES) \ + $(nodist_gcry_crc_module_SOURCES) $(gcry_des_module_SOURCES) \ + $(nodist_gcry_des_module_SOURCES) $(gcry_md4_module_SOURCES) \ + $(nodist_gcry_md4_module_SOURCES) $(gcry_md5_module_SOURCES) \ + $(nodist_gcry_md5_module_SOURCES) \ + $(gcry_rfc2268_module_SOURCES) \ + $(nodist_gcry_rfc2268_module_SOURCES) \ + $(gcry_rijndael_module_SOURCES) \ + $(nodist_gcry_rijndael_module_SOURCES) \ + $(gcry_rmd160_module_SOURCES) \ + $(nodist_gcry_rmd160_module_SOURCES) \ + $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) \ + $(gcry_serpent_module_SOURCES) \ + $(nodist_gcry_serpent_module_SOURCES) \ + $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) \ + $(gcry_sha256_module_SOURCES) \ + $(nodist_gcry_sha256_module_SOURCES) \ + $(gcry_sha512_module_SOURCES) \ + $(nodist_gcry_sha512_module_SOURCES) \ + $(gcry_tiger_module_SOURCES) \ + $(nodist_gcry_tiger_module_SOURCES) \ + $(gcry_twofish_module_SOURCES) \ + $(nodist_gcry_twofish_module_SOURCES) \ + $(gcry_whirlpool_module_SOURCES) \ + $(nodist_gcry_whirlpool_module_SOURCES) \ + $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) \ + $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) \ + $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) \ + $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) \ + $(grub_emu_SOURCES) $(nodist_grub_emu_SOURCES) \ + $(grub_emu_lite_SOURCES) $(nodist_grub_emu_lite_SOURCES) \ + $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) \ + $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) \ + $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) \ + $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) \ + $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) \ + $(help_module_SOURCES) $(nodist_help_module_SOURCES) \ + $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) \ + $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) \ + $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) \ + $(ieee1275_fb_module_SOURCES) \ + $(nodist_ieee1275_fb_module_SOURCES) $(iorw_module_SOURCES) \ + $(nodist_iorw_module_SOURCES) $(iso9660_module_SOURCES) \ + $(nodist_iso9660_module_SOURCES) $(jfs_module_SOURCES) \ + $(nodist_jfs_module_SOURCES) $(jpeg_module_SOURCES) \ + $(nodist_jpeg_module_SOURCES) $(kernel_exec_SOURCES) \ + $(nodist_kernel_exec_SOURCES) $(keylayouts_module_SOURCES) \ + $(nodist_keylayouts_module_SOURCES) \ + $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) \ + $(legacycfg_module_SOURCES) $(nodist_legacycfg_module_SOURCES) \ + $(libusb_module_SOURCES) $(nodist_libusb_module_SOURCES) \ + $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) \ + $(linux16_module_SOURCES) $(nodist_linux16_module_SOURCES) \ + $(lnxboot_image_SOURCES) $(nodist_lnxboot_image_SOURCES) \ + $(loadbios_module_SOURCES) $(nodist_loadbios_module_SOURCES) \ + $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) \ + $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) \ + $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) \ + $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) \ + $(lsapm_module_SOURCES) $(nodist_lsapm_module_SOURCES) \ + $(lsefimmap_module_SOURCES) $(nodist_lsefimmap_module_SOURCES) \ + $(lsefisystab_module_SOURCES) \ + $(nodist_lsefisystab_module_SOURCES) $(lsmmap_module_SOURCES) \ + $(nodist_lsmmap_module_SOURCES) $(lspci_module_SOURCES) \ + $(nodist_lspci_module_SOURCES) $(lssal_module_SOURCES) \ + $(nodist_lssal_module_SOURCES) $(lsspd_module_SOURCES) \ + $(nodist_lsspd_module_SOURCES) $(lvm_module_SOURCES) \ + $(nodist_lvm_module_SOURCES) $(mdraid09_module_SOURCES) \ + $(nodist_mdraid09_module_SOURCES) $(mdraid1x_module_SOURCES) \ + $(nodist_mdraid1x_module_SOURCES) $(memdisk_module_SOURCES) \ + $(nodist_memdisk_module_SOURCES) $(memrw_module_SOURCES) \ + $(nodist_memrw_module_SOURCES) $(minicmd_module_SOURCES) \ + $(nodist_minicmd_module_SOURCES) $(minix_module_SOURCES) \ + $(nodist_minix_module_SOURCES) $(minix2_module_SOURCES) \ + $(nodist_minix2_module_SOURCES) $(mmap_module_SOURCES) \ + $(nodist_mmap_module_SOURCES) $(msdospart_module_SOURCES) \ + $(nodist_msdospart_module_SOURCES) $(multiboot_module_SOURCES) \ + $(nodist_multiboot_module_SOURCES) \ + $(multiboot2_module_SOURCES) \ + $(nodist_multiboot2_module_SOURCES) $(nand_module_SOURCES) \ + $(nodist_nand_module_SOURCES) $(nilfs2_module_SOURCES) \ + $(nodist_nilfs2_module_SOURCES) \ + $(none_decompress_image_SOURCES) \ + $(nodist_none_decompress_image_SOURCES) \ + $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) \ + $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) \ + $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) \ + $(ntldr_module_SOURCES) $(nodist_ntldr_module_SOURCES) \ + $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) \ + $(part_acorn_module_SOURCES) \ + $(nodist_part_acorn_module_SOURCES) \ + $(part_amiga_module_SOURCES) \ + $(nodist_part_amiga_module_SOURCES) \ + $(part_apple_module_SOURCES) \ + $(nodist_part_apple_module_SOURCES) $(part_bsd_module_SOURCES) \ + $(nodist_part_bsd_module_SOURCES) $(part_gpt_module_SOURCES) \ + $(nodist_part_gpt_module_SOURCES) $(part_msdos_module_SOURCES) \ + $(nodist_part_msdos_module_SOURCES) $(part_sun_module_SOURCES) \ + $(nodist_part_sun_module_SOURCES) $(part_sunpc_module_SOURCES) \ + $(nodist_part_sunpc_module_SOURCES) $(parttool_module_SOURCES) \ + $(nodist_parttool_module_SOURCES) $(password_module_SOURCES) \ + $(nodist_password_module_SOURCES) \ + $(password_pbkdf2_module_SOURCES) \ + $(nodist_password_pbkdf2_module_SOURCES) \ + $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) \ + $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) \ + $(play_module_SOURCES) $(nodist_play_module_SOURCES) \ + $(png_module_SOURCES) $(nodist_png_module_SOURCES) \ + $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) \ + $(pxe_module_SOURCES) $(nodist_pxe_module_SOURCES) \ + $(pxeboot_image_SOURCES) $(nodist_pxeboot_image_SOURCES) \ + $(pxecmd_module_SOURCES) $(nodist_pxecmd_module_SOURCES) \ + $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) \ + $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) \ + $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) \ + $(read_module_SOURCES) $(nodist_read_module_SOURCES) \ + $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) \ + $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) \ + $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) \ + $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) \ + $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) \ + $(sdl_module_SOURCES) $(nodist_sdl_module_SOURCES) \ + $(search_module_SOURCES) $(nodist_search_module_SOURCES) \ + $(search_fs_file_module_SOURCES) \ + $(nodist_search_fs_file_module_SOURCES) \ + $(search_fs_uuid_module_SOURCES) \ + $(nodist_search_fs_uuid_module_SOURCES) \ + $(search_label_module_SOURCES) \ + $(nodist_search_label_module_SOURCES) \ + $(sendkey_module_SOURCES) $(nodist_sendkey_module_SOURCES) \ + $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) \ + $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) \ + $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) \ + $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) \ + $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) \ + $(suspend_module_SOURCES) $(nodist_suspend_module_SOURCES) \ + $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) \ + $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) \ + $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) \ + $(test_module_SOURCES) $(nodist_test_module_SOURCES) \ + $(test_blockarg_module_SOURCES) \ + $(nodist_test_blockarg_module_SOURCES) \ + $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) \ + $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) \ + $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) \ + $(true_module_SOURCES) $(nodist_true_module_SOURCES) \ + $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) \ + $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) \ + $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) \ + $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) \ + $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) \ + $(usb_keyboard_module_SOURCES) \ + $(nodist_usb_keyboard_module_SOURCES) $(usbms_module_SOURCES) \ + $(nodist_usbms_module_SOURCES) \ + $(usbserial_common_module_SOURCES) \ + $(nodist_usbserial_common_module_SOURCES) \ + $(usbserial_ftdi_module_SOURCES) \ + $(nodist_usbserial_ftdi_module_SOURCES) \ + $(usbserial_pl2303_module_SOURCES) \ + $(nodist_usbserial_pl2303_module_SOURCES) \ + $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) \ + $(vbe_module_SOURCES) $(nodist_vbe_module_SOURCES) \ + $(vga_module_SOURCES) $(nodist_vga_module_SOURCES) \ + $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) \ + $(video_module_SOURCES) $(nodist_video_module_SOURCES) \ + $(video_bochs_module_SOURCES) \ + $(nodist_video_bochs_module_SOURCES) \ + $(video_cirrus_module_SOURCES) \ + $(nodist_video_cirrus_module_SOURCES) \ + $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) \ + $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) \ + $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) \ + $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) \ + $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) \ + $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) \ + $(xz_decompress_image_SOURCES) \ + $(nodist_xz_decompress_image_SOURCES) $(xzio_module_SOURCES) \ + $(nodist_xzio_module_SOURCES) $(zfs_module_SOURCES) \ + $(nodist_zfs_module_SOURCES) $(zfsinfo_module_SOURCES) \ + $(nodist_zfsinfo_module_SOURCES) +DIST_SOURCES = $(am__libgnulib_a_SOURCES_DIST) \ + $(am__acpi_module_SOURCES_DIST) \ + $(am__affs_module_SOURCES_DIST) $(am__afs_module_SOURCES_DIST) \ + $(am__afs_be_module_SOURCES_DIST) \ + $(am__aout_module_SOURCES_DIST) \ + $(am__appleldr_module_SOURCES_DIST) \ + $(am__at_keyboard_module_SOURCES_DIST) \ + $(am__ata_module_SOURCES_DIST) \ + $(am__ata_pthru_module_SOURCES_DIST) \ + $(am__befs_module_SOURCES_DIST) \ + $(am__befs_be_module_SOURCES_DIST) \ + $(am__biosdisk_module_SOURCES_DIST) \ + $(am__bitmap_module_SOURCES_DIST) \ + $(am__bitmap_scale_module_SOURCES_DIST) \ + $(am__blocklist_module_SOURCES_DIST) \ + $(am__boot_image_SOURCES_DIST) $(am__boot_module_SOURCES_DIST) \ + $(am__bsd_module_SOURCES_DIST) \ + $(am__btrfs_module_SOURCES_DIST) \ + $(am__bufio_module_SOURCES_DIST) \ + $(am__cat_module_SOURCES_DIST) \ + $(am__cdboot_image_SOURCES_DIST) \ + $(am__chain_module_SOURCES_DIST) \ + $(am__cmostest_module_SOURCES_DIST) \ + $(am__cmp_module_SOURCES_DIST) \ + $(am__configfile_module_SOURCES_DIST) \ + $(am__cpio_module_SOURCES_DIST) \ + $(am__cpuid_module_SOURCES_DIST) \ + $(am__crypto_module_SOURCES_DIST) \ + $(am__cs5536_module_SOURCES_DIST) \ + $(am__date_module_SOURCES_DIST) \ + $(am__datehook_module_SOURCES_DIST) \ + $(am__datetime_module_SOURCES_DIST) \ + $(am__diskboot_image_SOURCES_DIST) \ + $(am__dm_nv_module_SOURCES_DIST) \ + $(am__drivemap_module_SOURCES_DIST) \ + $(am__echo_module_SOURCES_DIST) \ + $(am__efi_gop_module_SOURCES_DIST) \ + $(am__efi_uga_module_SOURCES_DIST) \ + $(am__efiemu_module_SOURCES_DIST) \ + $(am__elf_module_SOURCES_DIST) \ + $(am__example_functional_test_module_SOURCES_DIST) \ + $(am__ext2_module_SOURCES_DIST) \ + $(am__extcmd_module_SOURCES_DIST) \ + $(am__fat_module_SOURCES_DIST) \ + $(am__fixvideo_module_SOURCES_DIST) \ + $(am__font_module_SOURCES_DIST) \ + $(am__fshelp_module_SOURCES_DIST) \ + $(am__functional_test_module_SOURCES_DIST) \ + $(am__fwstart_image_SOURCES_DIST) \ + $(am__gcry_arcfour_module_SOURCES_DIST) \ + $(am__gcry_blowfish_module_SOURCES_DIST) \ + $(am__gcry_camellia_module_SOURCES_DIST) \ + $(am__gcry_cast5_module_SOURCES_DIST) \ + $(am__gcry_crc_module_SOURCES_DIST) \ + $(am__gcry_des_module_SOURCES_DIST) \ + $(am__gcry_md4_module_SOURCES_DIST) \ + $(am__gcry_md5_module_SOURCES_DIST) \ + $(am__gcry_rfc2268_module_SOURCES_DIST) \ + $(am__gcry_rijndael_module_SOURCES_DIST) \ + $(am__gcry_rmd160_module_SOURCES_DIST) \ + $(am__gcry_seed_module_SOURCES_DIST) \ + $(am__gcry_serpent_module_SOURCES_DIST) \ + $(am__gcry_sha1_module_SOURCES_DIST) \ + $(am__gcry_sha256_module_SOURCES_DIST) \ + $(am__gcry_sha512_module_SOURCES_DIST) \ + $(am__gcry_tiger_module_SOURCES_DIST) \ + $(am__gcry_twofish_module_SOURCES_DIST) \ + $(am__gcry_whirlpool_module_SOURCES_DIST) \ + $(am__gettext_module_SOURCES_DIST) \ + $(am__gfxmenu_module_SOURCES_DIST) \ + $(am__gfxterm_module_SOURCES_DIST) \ + $(am__gptsync_module_SOURCES_DIST) \ + $(am__grub_emu_SOURCES_DIST) $(am__grub_emu_lite_SOURCES_DIST) \ + $(am__gzio_module_SOURCES_DIST) \ + $(am__halt_module_SOURCES_DIST) \ + $(am__hashsum_module_SOURCES_DIST) \ + $(am__hdparm_module_SOURCES_DIST) \ + $(am__hello_module_SOURCES_DIST) \ + $(am__help_module_SOURCES_DIST) \ + $(am__hexdump_module_SOURCES_DIST) \ + $(am__hfs_module_SOURCES_DIST) \ + $(am__hfsplus_module_SOURCES_DIST) \ + $(am__ieee1275_fb_module_SOURCES_DIST) \ + $(am__iorw_module_SOURCES_DIST) \ + $(am__iso9660_module_SOURCES_DIST) \ + $(am__jfs_module_SOURCES_DIST) $(am__jpeg_module_SOURCES_DIST) \ + $(am__kernel_exec_SOURCES_DIST) \ + $(am__keylayouts_module_SOURCES_DIST) \ + $(am__keystatus_module_SOURCES_DIST) \ + $(am__legacycfg_module_SOURCES_DIST) \ + $(am__libusb_module_SOURCES_DIST) \ + $(am__linux_module_SOURCES_DIST) \ + $(am__linux16_module_SOURCES_DIST) \ + $(am__lnxboot_image_SOURCES_DIST) \ + $(am__loadbios_module_SOURCES_DIST) \ + $(am__loadenv_module_SOURCES_DIST) \ + $(am__loopback_module_SOURCES_DIST) \ + $(am__ls_module_SOURCES_DIST) \ + $(am__lsacpi_module_SOURCES_DIST) \ + $(am__lsapm_module_SOURCES_DIST) \ + $(am__lsefimmap_module_SOURCES_DIST) \ + $(am__lsefisystab_module_SOURCES_DIST) \ + $(am__lsmmap_module_SOURCES_DIST) \ + $(am__lspci_module_SOURCES_DIST) \ + $(am__lssal_module_SOURCES_DIST) \ + $(am__lsspd_module_SOURCES_DIST) \ + $(am__lvm_module_SOURCES_DIST) \ + $(am__mdraid09_module_SOURCES_DIST) \ + $(am__mdraid1x_module_SOURCES_DIST) \ + $(am__memdisk_module_SOURCES_DIST) \ + $(am__memrw_module_SOURCES_DIST) \ + $(am__minicmd_module_SOURCES_DIST) \ + $(am__minix_module_SOURCES_DIST) \ + $(am__minix2_module_SOURCES_DIST) \ + $(am__mmap_module_SOURCES_DIST) \ + $(am__msdospart_module_SOURCES_DIST) \ + $(am__multiboot_module_SOURCES_DIST) \ + $(am__multiboot2_module_SOURCES_DIST) \ + $(am__nand_module_SOURCES_DIST) \ + $(am__nilfs2_module_SOURCES_DIST) \ + $(am__none_decompress_image_SOURCES_DIST) \ + $(am__normal_module_SOURCES_DIST) \ + $(am__ntfs_module_SOURCES_DIST) \ + $(am__ntfscomp_module_SOURCES_DIST) \ + $(am__ntldr_module_SOURCES_DIST) \ + $(am__ohci_module_SOURCES_DIST) \ + $(am__part_acorn_module_SOURCES_DIST) \ + $(am__part_amiga_module_SOURCES_DIST) \ + $(am__part_apple_module_SOURCES_DIST) \ + $(am__part_bsd_module_SOURCES_DIST) \ + $(am__part_gpt_module_SOURCES_DIST) \ + $(am__part_msdos_module_SOURCES_DIST) \ + $(am__part_sun_module_SOURCES_DIST) \ + $(am__part_sunpc_module_SOURCES_DIST) \ + $(am__parttool_module_SOURCES_DIST) \ + $(am__password_module_SOURCES_DIST) \ + $(am__password_pbkdf2_module_SOURCES_DIST) \ + $(am__pbkdf2_module_SOURCES_DIST) \ + $(am__pci_module_SOURCES_DIST) $(am__play_module_SOURCES_DIST) \ + $(am__png_module_SOURCES_DIST) \ + $(am__probe_module_SOURCES_DIST) \ + $(am__pxe_module_SOURCES_DIST) \ + $(am__pxeboot_image_SOURCES_DIST) \ + $(am__pxecmd_module_SOURCES_DIST) \ + $(am__raid_module_SOURCES_DIST) \ + $(am__raid5rec_module_SOURCES_DIST) \ + $(am__raid6rec_module_SOURCES_DIST) \ + $(am__read_module_SOURCES_DIST) \ + $(am__reboot_module_SOURCES_DIST) \ + $(am__regexp_module_SOURCES_DIST) \ + $(am__reiserfs_module_SOURCES_DIST) \ + $(am__relocator_module_SOURCES_DIST) \ + $(am__scsi_module_SOURCES_DIST) $(am__sdl_module_SOURCES_DIST) \ + $(am__search_module_SOURCES_DIST) \ + $(am__search_fs_file_module_SOURCES_DIST) \ + $(am__search_fs_uuid_module_SOURCES_DIST) \ + $(am__search_label_module_SOURCES_DIST) \ + $(am__sendkey_module_SOURCES_DIST) \ + $(am__serial_module_SOURCES_DIST) \ + $(am__setjmp_module_SOURCES_DIST) \ + $(am__setpci_module_SOURCES_DIST) \ + $(am__sfs_module_SOURCES_DIST) \ + $(am__sleep_module_SOURCES_DIST) \ + $(am__suspend_module_SOURCES_DIST) \ + $(am__tar_module_SOURCES_DIST) \ + $(am__terminal_module_SOURCES_DIST) \ + $(am__terminfo_module_SOURCES_DIST) \ + $(am__test_module_SOURCES_DIST) \ + $(am__test_blockarg_module_SOURCES_DIST) \ + $(am__testload_module_SOURCES_DIST) \ + $(am__tga_module_SOURCES_DIST) $(trig_module_SOURCES) \ + $(am__true_module_SOURCES_DIST) $(am__udf_module_SOURCES_DIST) \ + $(am__ufs1_module_SOURCES_DIST) \ + $(am__ufs2_module_SOURCES_DIST) \ + $(am__uhci_module_SOURCES_DIST) $(am__usb_module_SOURCES_DIST) \ + $(am__usb_keyboard_module_SOURCES_DIST) \ + $(am__usbms_module_SOURCES_DIST) \ + $(am__usbserial_common_module_SOURCES_DIST) \ + $(am__usbserial_ftdi_module_SOURCES_DIST) \ + $(am__usbserial_pl2303_module_SOURCES_DIST) \ + $(am__usbtest_module_SOURCES_DIST) \ + $(am__vbe_module_SOURCES_DIST) $(am__vga_module_SOURCES_DIST) \ + $(am__vga_text_module_SOURCES_DIST) \ + $(am__video_module_SOURCES_DIST) \ + $(am__video_bochs_module_SOURCES_DIST) \ + $(am__video_cirrus_module_SOURCES_DIST) \ + $(am__video_fb_module_SOURCES_DIST) \ + $(am__videoinfo_module_SOURCES_DIST) \ + $(am__videotest_module_SOURCES_DIST) \ + $(am__xfs_module_SOURCES_DIST) $(am__xnu_module_SOURCES_DIST) \ + $(am__xnu_uuid_module_SOURCES_DIST) \ + $(am__xz_decompress_image_SOURCES_DIST) \ + $(am__xzio_module_SOURCES_DIST) $(am__zfs_module_SOURCES_DIST) \ + $(am__zfsinfo_module_SOURCES_DIST) +man1dir = $(mandir)/man1 +NROFF = nroff +MANS = $(man_MANS) +am__dist_noinst_DATA_DIST = gensyminfo.sh.in genmod.sh.in +DATA = $(dist_noinst_DATA) $(grubconf_DATA) $(noinst_DATA) \ + $(pkglib_DATA) $(platform_DATA) +ETAGS = etags +CTAGS = ctags +am__tty_colors = \ +red=; grn=; lgn=; blu=; std= +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ADDR32 = @ADDR32@ +ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ +AMTAR = @AMTAR@ +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ +ASM_SYMBOL_PREFIX = @ASM_SYMBOL_PREFIX@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +BSS_START_SYMBOL = @BSS_START_SYMBOL@ +BUILD_CC = @BUILD_CC@ +CC = $(TARGET_CC) +CCAS = $(TARGET_CC) +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CMP = @CMP@ +CPP = $(TARGET_CC) +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATA32 = @DATA32@ +DEFS = @DEFS@ +DEPDIR = .deps-core +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ +EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ +END_SYMBOL = @END_SYMBOL@ +ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ +ENOLINK_VALUE = @ENOLINK_VALUE@ +EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ +EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ +ERRNO_H = @ERRNO_H@ +EXEEXT = @EXEEXT@ +FLOAT_H = @FLOAT_H@ +FNMATCH_H = @FNMATCH_H@ +FONT_SOURCE = @FONT_SOURCE@ +FREETYPE = @FREETYPE@ +GETOPT_H = @GETOPT_H@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GNULIB_ATOLL = @GNULIB_ATOLL@ +GNULIB_BTOWC = @GNULIB_BTOWC@ +GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ +GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ +GNULIB_CHOWN = @GNULIB_CHOWN@ +GNULIB_CLOSE = @GNULIB_CLOSE@ +GNULIB_DPRINTF = @GNULIB_DPRINTF@ +GNULIB_DUP2 = @GNULIB_DUP2@ +GNULIB_DUP3 = @GNULIB_DUP3@ +GNULIB_ENVIRON = @GNULIB_ENVIRON@ +GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ +GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ +GNULIB_FCHDIR = @GNULIB_FCHDIR@ +GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ +GNULIB_FCLOSE = @GNULIB_FCLOSE@ +GNULIB_FFLUSH = @GNULIB_FFLUSH@ +GNULIB_FOPEN = @GNULIB_FOPEN@ +GNULIB_FPRINTF = @GNULIB_FPRINTF@ +GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ +GNULIB_FPURGE = @GNULIB_FPURGE@ +GNULIB_FPUTC = @GNULIB_FPUTC@ +GNULIB_FPUTS = @GNULIB_FPUTS@ +GNULIB_FREOPEN = @GNULIB_FREOPEN@ +GNULIB_FSEEK = @GNULIB_FSEEK@ +GNULIB_FSEEKO = @GNULIB_FSEEKO@ +GNULIB_FSYNC = @GNULIB_FSYNC@ +GNULIB_FTELL = @GNULIB_FTELL@ +GNULIB_FTELLO = @GNULIB_FTELLO@ +GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ +GNULIB_FWRITE = @GNULIB_FWRITE@ +GNULIB_GETCWD = @GNULIB_GETCWD@ +GNULIB_GETDELIM = @GNULIB_GETDELIM@ +GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ +GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ +GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ +GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ +GNULIB_GETLINE = @GNULIB_GETLINE@ +GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ +GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ +GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ +GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ +GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ +GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ +GNULIB_GRANTPT = @GNULIB_GRANTPT@ +GNULIB_LCHOWN = @GNULIB_LCHOWN@ +GNULIB_LINK = @GNULIB_LINK@ +GNULIB_LINKAT = @GNULIB_LINKAT@ +GNULIB_LSEEK = @GNULIB_LSEEK@ +GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ +GNULIB_MBRLEN = @GNULIB_MBRLEN@ +GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ +GNULIB_MBSCHR = @GNULIB_MBSCHR@ +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ +GNULIB_MBSINIT = @GNULIB_MBSINIT@ +GNULIB_MBSLEN = @GNULIB_MBSLEN@ +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ +GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ +GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ +GNULIB_MBSSEP = @GNULIB_MBSSEP@ +GNULIB_MBSSPN = @GNULIB_MBSSPN@ +GNULIB_MBSSTR = @GNULIB_MBSSTR@ +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ +GNULIB_MEMCHR = @GNULIB_MEMCHR@ +GNULIB_MEMMEM = @GNULIB_MEMMEM@ +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ +GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ +GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ +GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ +GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ +GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ +GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ +GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ +GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ +GNULIB_PERROR = @GNULIB_PERROR@ +GNULIB_PIPE2 = @GNULIB_PIPE2@ +GNULIB_POPEN = @GNULIB_POPEN@ +GNULIB_PREAD = @GNULIB_PREAD@ +GNULIB_PRINTF = @GNULIB_PRINTF@ +GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ +GNULIB_PTSNAME = @GNULIB_PTSNAME@ +GNULIB_PUTC = @GNULIB_PUTC@ +GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ +GNULIB_PUTENV = @GNULIB_PUTENV@ +GNULIB_PUTS = @GNULIB_PUTS@ +GNULIB_PWRITE = @GNULIB_PWRITE@ +GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ +GNULIB_READLINK = @GNULIB_READLINK@ +GNULIB_READLINKAT = @GNULIB_READLINKAT@ +GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ +GNULIB_REALPATH = @GNULIB_REALPATH@ +GNULIB_REMOVE = @GNULIB_REMOVE@ +GNULIB_RENAME = @GNULIB_RENAME@ +GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ +GNULIB_RMDIR = @GNULIB_RMDIR@ +GNULIB_RPMATCH = @GNULIB_RPMATCH@ +GNULIB_SETENV = @GNULIB_SETENV@ +GNULIB_SLEEP = @GNULIB_SLEEP@ +GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ +GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ +GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ +GNULIB_STPCPY = @GNULIB_STPCPY@ +GNULIB_STPNCPY = @GNULIB_STPNCPY@ +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ +GNULIB_STRDUP = @GNULIB_STRDUP@ +GNULIB_STRERROR = @GNULIB_STRERROR@ +GNULIB_STRNCAT = @GNULIB_STRNCAT@ +GNULIB_STRNDUP = @GNULIB_STRNDUP@ +GNULIB_STRNLEN = @GNULIB_STRNLEN@ +GNULIB_STRPBRK = @GNULIB_STRPBRK@ +GNULIB_STRSEP = @GNULIB_STRSEP@ +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ +GNULIB_STRSTR = @GNULIB_STRSTR@ +GNULIB_STRTOD = @GNULIB_STRTOD@ +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ +GNULIB_STRTOLL = @GNULIB_STRTOLL@ +GNULIB_STRTOULL = @GNULIB_STRTOULL@ +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ +GNULIB_SYMLINK = @GNULIB_SYMLINK@ +GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ +GNULIB_TMPFILE = @GNULIB_TMPFILE@ +GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ +GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@ +GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ +GNULIB_UNLINK = @GNULIB_UNLINK@ +GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ +GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ +GNULIB_UNSETENV = @GNULIB_UNSETENV@ +GNULIB_USLEEP = @GNULIB_USLEEP@ +GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ +GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ +GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ +GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ +GNULIB_VPRINTF = @GNULIB_VPRINTF@ +GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ +GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ +GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ +GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ +GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ +GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ +GNULIB_WCTOB = @GNULIB_WCTOB@ +GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ +GNULIB_WRITE = @GNULIB_WRITE@ +GNULIB__EXIT = @GNULIB__EXIT@ +GREP = @GREP@ +GRUB_BOOT_MACHINE_LINK_ADDR = @GRUB_BOOT_MACHINE_LINK_ADDR@ +HAVE_ASM_USCORE = @HAVE_ASM_USCORE@ +HAVE_ATOLL = @HAVE_ATOLL@ +HAVE_BTOWC = @HAVE_BTOWC@ +HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ +HAVE_CHOWN = @HAVE_CHOWN@ +HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ +HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ +HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ +HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ +HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ +HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ +HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ +HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ +HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ +HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ +HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ +HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ +HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ +HAVE_DPRINTF = @HAVE_DPRINTF@ +HAVE_DUP2 = @HAVE_DUP2@ +HAVE_DUP3 = @HAVE_DUP3@ +HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ +HAVE_FACCESSAT = @HAVE_FACCESSAT@ +HAVE_FCHDIR = @HAVE_FCHDIR@ +HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ +HAVE_FSEEKO = @HAVE_FSEEKO@ +HAVE_FSYNC = @HAVE_FSYNC@ +HAVE_FTELLO = @HAVE_FTELLO@ +HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ +HAVE_GETDOMAINNAME = @HAVE_GETDOMAINNAME@ +HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ +HAVE_GETGROUPS = @HAVE_GETGROUPS@ +HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ +HAVE_GETLOGIN = @HAVE_GETLOGIN@ +HAVE_GETOPT_H = @HAVE_GETOPT_H@ +HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ +HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ +HAVE_GRANTPT = @HAVE_GRANTPT@ +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ +HAVE_ISWBLANK = @HAVE_ISWBLANK@ +HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ +HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ +HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ +HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ +HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ +HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ +HAVE_LCHOWN = @HAVE_LCHOWN@ +HAVE_LINK = @HAVE_LINK@ +HAVE_LINKAT = @HAVE_LINKAT@ +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ +HAVE_MBRLEN = @HAVE_MBRLEN@ +HAVE_MBRTOWC = @HAVE_MBRTOWC@ +HAVE_MBSINIT = @HAVE_MBSINIT@ +HAVE_MBSLEN = @HAVE_MBSLEN@ +HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ +HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ +HAVE_MEMCHR = @HAVE_MEMCHR@ +HAVE_MEMPCPY = @HAVE_MEMPCPY@ +HAVE_MKDTEMP = @HAVE_MKDTEMP@ +HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ +HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ +HAVE_MKSTEMP = @HAVE_MKSTEMP@ +HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ +HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ +HAVE_OS_H = @HAVE_OS_H@ +HAVE_PIPE2 = @HAVE_PIPE2@ +HAVE_PREAD = @HAVE_PREAD@ +HAVE_PTSNAME = @HAVE_PTSNAME@ +HAVE_PWRITE = @HAVE_PWRITE@ +HAVE_RANDOM_H = @HAVE_RANDOM_H@ +HAVE_RANDOM_R = @HAVE_RANDOM_R@ +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ +HAVE_READLINK = @HAVE_READLINK@ +HAVE_READLINKAT = @HAVE_READLINKAT@ +HAVE_REALPATH = @HAVE_REALPATH@ +HAVE_RENAMEAT = @HAVE_RENAMEAT@ +HAVE_RPMATCH = @HAVE_RPMATCH@ +HAVE_SETENV = @HAVE_SETENV@ +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ +HAVE_SLEEP = @HAVE_SLEEP@ +HAVE_STDINT_H = @HAVE_STDINT_H@ +HAVE_STPCPY = @HAVE_STPCPY@ +HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STRCASECMP = @HAVE_STRCASECMP@ +HAVE_STRCASESTR = @HAVE_STRCASESTR@ +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ +HAVE_STRPBRK = @HAVE_STRPBRK@ +HAVE_STRSEP = @HAVE_STRSEP@ +HAVE_STRTOD = @HAVE_STRTOD@ +HAVE_STRTOLL = @HAVE_STRTOLL@ +HAVE_STRTOULL = @HAVE_STRTOULL@ +HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ +HAVE_SYMLINK = @HAVE_SYMLINK@ +HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ +HAVE_SYSEXITS_H = @HAVE_SYSEXITS_H@ +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ +HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ +HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ +HAVE_TTYNAME_R = @HAVE_TTYNAME_R@ +HAVE_UNISTD_H = @HAVE_UNISTD_H@ +HAVE_UNLINKAT = @HAVE_UNLINKAT@ +HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ +HAVE_UNSETENV = @HAVE_UNSETENV@ +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ +HAVE_USLEEP = @HAVE_USLEEP@ +HAVE_VASPRINTF = @HAVE_VASPRINTF@ +HAVE_VDPRINTF = @HAVE_VDPRINTF@ +HAVE_WCHAR_H = @HAVE_WCHAR_H@ +HAVE_WCHAR_T = @HAVE_WCHAR_T@ +HAVE_WCRTOMB = @HAVE_WCRTOMB@ +HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ +HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ +HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ +HAVE_WINT_T = @HAVE_WINT_T@ +HAVE__BOOL = @HAVE__BOOL@ +HAVE__EXIT = @HAVE__EXIT@ +HELP2MAN = @HELP2MAN@ +HOST_CC = @HOST_CC@ +HOST_CCASFLAGS = @HOST_CCASFLAGS@ +HOST_CFLAGS = @HOST_CFLAGS@ +HOST_CPPFLAGS = @HOST_CPPFLAGS@ +HOST_LDFLAGS = @HOST_LDFLAGS@ +INCLUDE_NEXT = @INCLUDE_NEXT@ +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBCURSES = @LIBCURSES@ +LIBDEVMAPPER = @LIBDEVMAPPER@ +LIBGEOM = @LIBGEOM@ +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@ +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBLZMA = @LIBLZMA@ +LIBNVPAIR = @LIBNVPAIR@ +LIBOBJS = @LIBOBJS@ +LIBPCIACCESS = @LIBPCIACCESS@ +LIBS = @LIBS@ +LIBSDL = @LIBSDL@ +LIBUSB = @LIBUSB@ +LIBUTIL = @LIBUTIL@ +LIBZFS = @LIBZFS@ +LN_S = @LN_S@ +LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ +LOCALE_FR = @LOCALE_FR@ +LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ +LOCALE_JA = @LOCALE_JA@ +LOCALE_ZH_CN = @LOCALE_ZH_CN@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NEED_ENABLE_EXECUTE_STACK = @NEED_ENABLE_EXECUTE_STACK@ +NEED_REGISTER_FRAME_INFO = @NEED_REGISTER_FRAME_INFO@ +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ +NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H = @NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H@ +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H@ +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ +NEXT_ERRNO_H = @NEXT_ERRNO_H@ +NEXT_FLOAT_H = @NEXT_FLOAT_H@ +NEXT_GETOPT_H = @NEXT_GETOPT_H@ +NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ +NEXT_STDDEF_H = @NEXT_STDDEF_H@ +NEXT_STDINT_H = @NEXT_STDINT_H@ +NEXT_STDIO_H = @NEXT_STDIO_H@ +NEXT_STDLIB_H = @NEXT_STDLIB_H@ +NEXT_STRINGS_H = @NEXT_STRINGS_H@ +NEXT_STRING_H = @NEXT_STRING_H@ +NEXT_SYSEXITS_H = @NEXT_SYSEXITS_H@ +NEXT_SYS_WAIT_H = @NEXT_SYS_WAIT_H@ +NEXT_UNISTD_H = @NEXT_UNISTD_H@ +NEXT_WCHAR_H = @NEXT_WCHAR_H@ +NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ +NM = @NM@ +OBJCONV = @OBJCONV@ +OBJCOPY = @OBJCOPY@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ +RANLIB = @RANLIB@ +REPLACE_BTOWC = @REPLACE_BTOWC@ +REPLACE_CALLOC = @REPLACE_CALLOC@ +REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ +REPLACE_CHOWN = @REPLACE_CHOWN@ +REPLACE_CLOSE = @REPLACE_CLOSE@ +REPLACE_DPRINTF = @REPLACE_DPRINTF@ +REPLACE_DUP = @REPLACE_DUP@ +REPLACE_DUP2 = @REPLACE_DUP2@ +REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ +REPLACE_FCLOSE = @REPLACE_FCLOSE@ +REPLACE_FFLUSH = @REPLACE_FFLUSH@ +REPLACE_FOPEN = @REPLACE_FOPEN@ +REPLACE_FPRINTF = @REPLACE_FPRINTF@ +REPLACE_FPURGE = @REPLACE_FPURGE@ +REPLACE_FREOPEN = @REPLACE_FREOPEN@ +REPLACE_FSEEK = @REPLACE_FSEEK@ +REPLACE_FSEEKO = @REPLACE_FSEEKO@ +REPLACE_FTELL = @REPLACE_FTELL@ +REPLACE_FTELLO = @REPLACE_FTELLO@ +REPLACE_GETCWD = @REPLACE_GETCWD@ +REPLACE_GETDELIM = @REPLACE_GETDELIM@ +REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ +REPLACE_GETLINE = @REPLACE_GETLINE@ +REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ +REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ +REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ +REPLACE_LCHOWN = @REPLACE_LCHOWN@ +REPLACE_LINK = @REPLACE_LINK@ +REPLACE_LINKAT = @REPLACE_LINKAT@ +REPLACE_LSEEK = @REPLACE_LSEEK@ +REPLACE_MALLOC = @REPLACE_MALLOC@ +REPLACE_MBRLEN = @REPLACE_MBRLEN@ +REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ +REPLACE_MBSINIT = @REPLACE_MBSINIT@ +REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ +REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ +REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ +REPLACE_MEMCHR = @REPLACE_MEMCHR@ +REPLACE_MEMMEM = @REPLACE_MEMMEM@ +REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ +REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ +REPLACE_NULL = @REPLACE_NULL@ +REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ +REPLACE_PERROR = @REPLACE_PERROR@ +REPLACE_POPEN = @REPLACE_POPEN@ +REPLACE_PREAD = @REPLACE_PREAD@ +REPLACE_PRINTF = @REPLACE_PRINTF@ +REPLACE_PUTENV = @REPLACE_PUTENV@ +REPLACE_PWRITE = @REPLACE_PWRITE@ +REPLACE_READLINK = @REPLACE_READLINK@ +REPLACE_REALLOC = @REPLACE_REALLOC@ +REPLACE_REALPATH = @REPLACE_REALPATH@ +REPLACE_REMOVE = @REPLACE_REMOVE@ +REPLACE_RENAME = @REPLACE_RENAME@ +REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ +REPLACE_RMDIR = @REPLACE_RMDIR@ +REPLACE_SETENV = @REPLACE_SETENV@ +REPLACE_SLEEP = @REPLACE_SLEEP@ +REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ +REPLACE_SPRINTF = @REPLACE_SPRINTF@ +REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ +REPLACE_STPNCPY = @REPLACE_STPNCPY@ +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ +REPLACE_STRDUP = @REPLACE_STRDUP@ +REPLACE_STRERROR = @REPLACE_STRERROR@ +REPLACE_STRNCAT = @REPLACE_STRNCAT@ +REPLACE_STRNDUP = @REPLACE_STRNDUP@ +REPLACE_STRNLEN = @REPLACE_STRNLEN@ +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ +REPLACE_STRSTR = @REPLACE_STRSTR@ +REPLACE_STRTOD = @REPLACE_STRTOD@ +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ +REPLACE_SYMLINK = @REPLACE_SYMLINK@ +REPLACE_TMPFILE = @REPLACE_TMPFILE@ +REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ +REPLACE_UNLINK = @REPLACE_UNLINK@ +REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ +REPLACE_UNSETENV = @REPLACE_UNSETENV@ +REPLACE_USLEEP = @REPLACE_USLEEP@ +REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ +REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ +REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ +REPLACE_VPRINTF = @REPLACE_VPRINTF@ +REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ +REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ +REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ +REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ +REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ +REPLACE_WCTOB = @REPLACE_WCTOB@ +REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ +REPLACE_WRITE = @REPLACE_WRITE@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ +STDBOOL_H = @STDBOOL_H@ +STDDEF_H = @STDDEF_H@ +STDINT_H = @STDINT_H@ +STRIP = @STRIP@ +SYSEXITS_H = @SYSEXITS_H@ +TARGET_APPLE_CC = @TARGET_APPLE_CC@ +TARGET_CC = @TARGET_CC@ +TARGET_CCAS = @TARGET_CCAS@ +TARGET_CCASFLAGS = @TARGET_CCASFLAGS@ +TARGET_CFLAGS = @TARGET_CFLAGS@ $(am__append_9) +TARGET_CPP = @TARGET_CPP@ +TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ +TARGET_IMG_BASE_LDOPT = @TARGET_IMG_BASE_LDOPT@ +TARGET_IMG_CFLAGS = @TARGET_IMG_CFLAGS@ +TARGET_IMG_LDFLAGS = @TARGET_IMG_LDFLAGS@ +TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@ +TARGET_LDFLAGS = @TARGET_LDFLAGS@ +TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@ +TARGET_OBJ2ELF = @TARGET_OBJ2ELF@ +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ +UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ +USE_APPLE_CC_FIXES = @USE_APPLE_CC_FIXES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ +WINT_T_SUFFIX = @WINT_T_SUFFIX@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_TARGET_CC = @ac_ct_TARGET_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +bootdirname = @bootdirname@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_efiemu = @enable_efiemu@ +enable_grub_emu_pci = @enable_grub_emu_pci@ +enable_grub_emu_sdl = @enable_grub_emu_sdl@ +enable_grub_emu_usb = @enable_grub_emu_usb@ +enable_grub_mkfont = @enable_grub_mkfont@ +exec_prefix = @exec_prefix@ +freetype_cflags = @freetype_cflags@ +freetype_libs = @freetype_libs@ +gl_LIBOBJS = @gl_LIBOBJS@ +gl_LTLIBOBJS = @gl_LTLIBOBJS@ +gltests_LIBOBJS = @gltests_LIBOBJS@ +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ +gltests_WITNESS = @gltests_WITNESS@ +grubdirname = @grubdirname@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_kernel = @host_kernel@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkglibrootdir = @pkglibrootdir@ +platform = @platform@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AUTOMAKE_OPTIONS = subdir-objects +CFLAGS_PLATFORM = $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) $(am__append_6) \ + $(am__append_7) +@COND_i386_efi_TRUE@LDFLAGS_PLATFORM = -melf_i386 +@COND_sparc64_ieee1275_TRUE@LDFLAGS_PLATFORM = -melf64_sparc -mno-relax +@COND_x86_64_efi_TRUE@LDFLAGS_PLATFORM = -melf_x86_64 +@COND_mips_yeeloong_TRUE@CPPFLAGS_PLATFORM = -DUSE_ASCII_FAILBACK +@COND_mips_yeeloong_TRUE@CCASFLAGS_PLATFORM = -march=mips3 + +# Other options +CPPFLAGS_DEFAULT = -DGRUB_FILE=\"$(subst $(srcdir)/,,$<)\" \ + -I$(builddir) -I$(srcdir) -I$(top_builddir) -I$(top_srcdir) \ + -I$(top_srcdir)/include -I$(top_builddir)/include +CCASFLAGS_DEFAULT = -DASM_FILE=1 +LDADD_KERNEL = $(am__append_8) +CFLAGS_KERNEL = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding +LDFLAGS_KERNEL = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N -static-libgcc +CPPFLAGS_KERNEL = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_KERNEL = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +@COND_CYGWIN_FALSE@STRIPFLAGS_KERNEL = -R .rel.dyn -R .reginfo -R .note -R .comment +@COND_CYGWIN_TRUE@STRIPFLAGS_KERNEL = -F elf32-i386 -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve +CFLAGS_MODULE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding +LDFLAGS_MODULE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N,-r,-d +CPPFLAGS_MODULE = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_MODULE = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +CFLAGS_IMAGE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -fno-builtin +LDFLAGS_IMAGE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib -Wl,-N,-S +CPPFLAGS_IMAGE = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) +CCASFLAGS_IMAGE = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM) +CFLAGS_PROGRAM = $(CFLAGS_PLATFORM) +LDFLAGS_PROGRAM = $(LDFLAGS_PLATFORM) +CPPFLAGS_PROGRAM = $(CPPFLAGS_PLATFORM) +CCASFLAGS_PROGRAM = $(CCASFLAGS_PLATFORM) +CFLAGS_LIBRARY = $(CFLAGS_PLATFORM) -fno-builtin +CPPFLAGS_LIBRARY = $(CPPFLAGS_PLATFORM) +CCASFLAGS_LIBRARY = $(CCASFLAGS_PLATFORM) + +# Other variables +grubconfdir = $(sysconfdir)/grub.d +grubdatadir = $(datadir)/`echo @PACKAGE_TARNAME@ | sed '$(transform)'` +platformdir = $(pkglibrootdir)/$(target_cpu)-$(platform) +CFLAGS_GCRY = -Wno-error -Wno-missing-field-initializers +CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap +CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter +CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib +CFLAGS_POSIX = -fno-builtin +CPPFLAGS_POSIX = -I$(top_srcdir)/grub-core/lib/posix_wrap +CPPFLAGS_EFIEMU = -I$(top_srcdir)/grub-core/efiemu/runtime + +# List file macros for recognizing /interesting/ modules +CPPFLAGS_FS_LIST = -Dgrub_fs_register=FS_LIST_MARKER +CPPFLAGS_VIDEO_LIST = -Dgrub_video_register=VIDEO_LIST_MARKER +CPPFLAGS_PARTMAP_LIST = -Dgrub_partition_map_register=PARTMAP_LIST_MARKER +CPPFLAGS_PARTTOOL_LIST = -Dgrub_parttool_register=PARTTOOL_LIST_MARKER +CPPFLAGS_TERMINAL_LIST = '-Dgrub_term_register_input(...)=INPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' \ + '-Dgrub_term_register_output(...)=OUTPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_COMMAND_LIST = '-Dgrub_register_command(...)=COMMAND_LIST_MARKER(__VA_ARGS__)' \ + '-Dgrub_register_extcmd(...)=EXTCOMMAND_LIST_MARKER(__VA_ARGS__)' \ + '-Dgrub_register_command_p1(...)=P1COMMAND_LIST_MARKER(__VA_ARGS__)' +CPPFLAGS_MARKER = $(CPPFLAGS_FS_LIST) $(CPPFLAGS_VIDEO_LIST) \ + $(CPPFLAGS_PARTTOOL_LIST) $(CPPFLAGS_PARTMAP_LIST) \ + $(CPPFLAGS_TERMINAL_LIST) $(CPPFLAGS_COMMAND_LIST) + + +# Define these variables to calm down automake +IMG_FILES = +MOD_FILES = $(am__append_15) $(am__append_22) $(am__append_29) \ + $(am__append_36) $(am__append_43) $(am__append_50) \ + $(am__append_57) $(am__append_64) $(am__append_71) \ + $(am__append_78) $(am__append_85) $(am__append_92) \ + $(am__append_99) $(am__append_106) $(am__append_113) \ + $(am__append_120) $(am__append_127) $(am__append_134) \ + $(am__append_141) $(am__append_148) $(am__append_155) \ + $(am__append_162) $(am__append_169) $(am__append_176) \ + $(am__append_183) $(am__append_190) $(am__append_197) \ + $(am__append_204) $(am__append_211) $(am__append_218) \ + $(am__append_225) $(am__append_232) $(am__append_239) \ + $(am__append_246) $(am__append_253) $(am__append_260) \ + $(am__append_267) $(am__append_274) $(am__append_281) \ + $(am__append_288) $(am__append_295) $(am__append_302) \ + $(am__append_309) $(am__append_316) $(am__append_323) \ + $(am__append_330) $(am__append_337) $(am__append_344) \ + $(am__append_351) $(am__append_358) $(am__append_365) \ + $(am__append_372) $(am__append_379) $(am__append_386) \ + $(am__append_393) $(am__append_400) $(am__append_407) \ + $(am__append_414) $(am__append_421) $(am__append_428) \ + $(am__append_435) $(am__append_442) $(am__append_449) \ + $(am__append_456) $(am__append_463) $(am__append_470) \ + $(am__append_477) $(am__append_484) $(am__append_491) \ + $(am__append_498) $(am__append_505) $(am__append_512) \ + $(am__append_519) $(am__append_526) $(am__append_533) \ + $(am__append_540) $(am__append_547) $(am__append_554) \ + $(am__append_561) $(am__append_568) $(am__append_575) \ + $(am__append_582) $(am__append_589) $(am__append_596) \ + $(am__append_603) $(am__append_610) $(am__append_617) \ + $(am__append_624) $(am__append_631) $(am__append_638) \ + $(am__append_645) $(am__append_652) $(am__append_659) \ + $(am__append_666) $(am__append_673) $(am__append_680) \ + $(am__append_687) $(am__append_694) $(am__append_701) \ + $(am__append_708) $(am__append_715) $(am__append_722) \ + $(am__append_729) $(am__append_736) $(am__append_743) \ + $(am__append_750) $(am__append_757) $(am__append_764) \ + $(am__append_771) $(am__append_778) $(am__append_785) \ + $(am__append_792) $(am__append_799) $(am__append_806) \ + $(am__append_813) $(am__append_820) $(am__append_827) \ + $(am__append_834) $(am__append_841) $(am__append_848) \ + $(am__append_855) $(am__append_862) $(am__append_869) \ + $(am__append_876) $(am__append_883) $(am__append_890) \ + $(am__append_897) $(am__append_904) $(am__append_911) \ + $(am__append_918) $(am__append_925) $(am__append_932) \ + $(am__append_939) $(am__append_946) $(am__append_953) \ + $(am__append_960) $(am__append_967) $(am__append_974) \ + $(am__append_981) $(am__append_988) $(am__append_995) \ + $(am__append_1002) $(am__append_1009) $(am__append_1016) \ + $(am__append_1023) $(am__append_1030) $(am__append_1037) \ + $(am__append_1044) $(am__append_1051) $(am__append_1058) \ + $(am__append_1065) $(am__append_1072) $(am__append_1079) \ + $(am__append_1086) $(am__append_1093) $(am__append_1100) \ + $(am__append_1107) $(am__append_1114) $(am__append_1121) \ + $(am__append_1128) $(am__append_1135) $(am__append_1142) \ + $(am__append_1149) $(am__append_1156) $(am__append_1163) \ + $(am__append_1170) $(am__append_1177) $(am__append_1184) \ + $(am__append_1191) $(am__append_1198) $(am__append_1205) \ + $(am__append_1212) $(am__append_1219) $(am__append_1226) \ + $(am__append_1233) $(am__append_1240) $(am__append_1247) \ + $(am__append_1254) $(am__append_1261) $(am__append_1268) \ + $(am__append_1275) $(am__append_1282) $(am__append_1289) \ + $(am__append_1296) $(am__append_1303) $(am__append_1310) \ + $(am__append_1317) $(am__append_1324) $(am__append_1331) \ + $(am__append_1338) $(am__append_1345) $(am__append_1352) \ + $(am__append_1359) $(am__append_1366) $(am__append_1373) \ + $(am__append_1380) $(am__append_1387) $(am__append_1394) \ + $(am__append_1401) $(am__append_1408) $(am__append_1415) \ + $(am__append_1422) $(am__append_1429) $(am__append_1436) \ + $(am__append_1443) $(am__append_1450) $(am__append_1457) \ + $(am__append_1464) $(am__append_1471) $(am__append_1478) \ + $(am__append_1485) $(am__append_1492) $(am__append_1499) \ + $(am__append_1506) $(am__append_1513) $(am__append_1520) \ + $(am__append_1527) $(am__append_1534) $(am__append_1541) \ + $(am__append_1548) $(am__append_1555) $(am__append_1562) \ + $(am__append_1569) $(am__append_1576) $(am__append_1583) \ + $(am__append_1590) $(am__append_1597) $(am__append_1604) \ + $(am__append_1611) $(am__append_1618) $(am__append_1625) \ + $(am__append_1632) $(am__append_1639) $(am__append_1646) \ + $(am__append_1653) $(am__append_1660) $(am__append_1667) \ + $(am__append_1674) $(am__append_1681) $(am__append_1688) \ + $(am__append_1695) $(am__append_1702) $(am__append_1709) \ + $(am__append_1716) $(am__append_1723) $(am__append_1730) \ + $(am__append_1737) $(am__append_1744) $(am__append_1751) \ + $(am__append_1758) $(am__append_1765) $(am__append_1772) \ + $(am__append_1779) $(am__append_1786) $(am__append_1793) \ + $(am__append_1800) $(am__append_1807) $(am__append_1814) \ + $(am__append_1821) $(am__append_1828) $(am__append_1835) \ + $(am__append_1842) $(am__append_1849) $(am__append_1856) \ + $(am__append_1863) $(am__append_1870) $(am__append_1877) \ + $(am__append_1884) $(am__append_1891) $(am__append_1898) \ + $(am__append_1905) $(am__append_1912) $(am__append_1919) \ + $(am__append_1926) $(am__append_1933) $(am__append_1940) \ + $(am__append_1947) $(am__append_1954) $(am__append_1961) \ + $(am__append_1968) $(am__append_1975) $(am__append_1982) \ + $(am__append_1989) $(am__append_1996) $(am__append_2003) \ + $(am__append_2010) $(am__append_2017) $(am__append_2024) \ + $(am__append_2031) $(am__append_2038) $(am__append_2045) \ + $(am__append_2052) $(am__append_2059) $(am__append_2066) \ + $(am__append_2073) $(am__append_2080) $(am__append_2087) \ + $(am__append_2094) $(am__append_2101) $(am__append_2108) \ + $(am__append_2115) $(am__append_2122) $(am__append_2129) \ + $(am__append_2136) $(am__append_2143) $(am__append_2150) \ + $(am__append_2157) $(am__append_2164) $(am__append_2171) \ + $(am__append_2178) $(am__append_2185) $(am__append_2192) \ + $(am__append_2199) $(am__append_2206) $(am__append_2213) \ + $(am__append_2220) $(am__append_2227) $(am__append_2234) \ + $(am__append_2241) $(am__append_2248) $(am__append_2255) \ + $(am__append_2262) $(am__append_2269) $(am__append_2276) \ + $(am__append_2283) $(am__append_2290) $(am__append_2297) \ + $(am__append_2304) $(am__append_2311) $(am__append_2318) \ + $(am__append_2325) $(am__append_2332) $(am__append_2339) \ + $(am__append_2346) $(am__append_2353) $(am__append_2360) \ + $(am__append_2367) $(am__append_2374) $(am__append_2381) \ + $(am__append_2388) $(am__append_2395) $(am__append_2402) \ + $(am__append_2409) $(am__append_2416) $(am__append_2423) \ + $(am__append_2430) $(am__append_2437) $(am__append_2444) \ + $(am__append_2451) $(am__append_2458) $(am__append_2465) \ + $(am__append_2472) $(am__append_2479) $(am__append_2486) \ + $(am__append_2493) $(am__append_2500) $(am__append_2507) \ + $(am__append_2514) $(am__append_2521) $(am__append_2528) \ + $(am__append_2535) $(am__append_2542) $(am__append_2549) \ + $(am__append_2556) $(am__append_2563) $(am__append_2570) \ + $(am__append_2577) $(am__append_2584) $(am__append_2591) \ + $(am__append_2598) $(am__append_2605) $(am__append_2612) \ + $(am__append_2619) $(am__append_2626) $(am__append_2633) \ + $(am__append_2640) $(am__append_2647) $(am__append_2654) \ + $(am__append_2661) $(am__append_2668) $(am__append_2675) \ + $(am__append_2682) $(am__append_2689) $(am__append_2696) \ + $(am__append_2703) $(am__append_2710) $(am__append_2717) \ + $(am__append_2724) $(am__append_2731) $(am__append_2738) \ + $(am__append_2745) $(am__append_2752) $(am__append_2759) \ + $(am__append_2766) $(am__append_2773) $(am__append_2780) \ + $(am__append_2787) $(am__append_2794) $(am__append_2801) \ + $(am__append_2808) $(am__append_2815) $(am__append_2822) \ + $(am__append_2829) $(am__append_2836) $(am__append_2843) \ + $(am__append_2850) $(am__append_2857) $(am__append_2864) \ + $(am__append_2871) $(am__append_2878) $(am__append_2885) \ + $(am__append_2892) $(am__append_2899) $(am__append_2906) \ + $(am__append_2913) $(am__append_2920) $(am__append_2927) \ + $(am__append_2934) $(am__append_2941) $(am__append_2948) \ + $(am__append_2955) $(am__append_2962) $(am__append_2969) \ + $(am__append_2976) $(am__append_2983) $(am__append_2990) \ + $(am__append_2997) $(am__append_3004) $(am__append_3011) \ + $(am__append_3018) $(am__append_3025) $(am__append_3032) \ + $(am__append_3039) $(am__append_3046) $(am__append_3053) \ + $(am__append_3060) $(am__append_3067) $(am__append_3074) \ + $(am__append_3081) $(am__append_3088) $(am__append_3095) \ + $(am__append_3102) $(am__append_3109) $(am__append_3116) \ + $(am__append_3123) $(am__append_3130) $(am__append_3137) \ + $(am__append_3144) $(am__append_3151) $(am__append_3158) \ + $(am__append_3165) $(am__append_3172) $(am__append_3179) \ + $(am__append_3186) $(am__append_3193) $(am__append_3200) \ + $(am__append_3207) $(am__append_3214) $(am__append_3221) \ + $(am__append_3228) $(am__append_3235) $(am__append_3242) \ + $(am__append_3249) $(am__append_3256) $(am__append_3263) \ + $(am__append_3270) $(am__append_3277) $(am__append_3284) \ + $(am__append_3291) $(am__append_3298) $(am__append_3305) \ + $(am__append_3312) $(am__append_3319) $(am__append_3326) \ + $(am__append_3333) $(am__append_3340) $(am__append_3347) \ + $(am__append_3354) $(am__append_3361) $(am__append_3368) \ + $(am__append_3375) $(am__append_3382) $(am__append_3389) \ + $(am__append_3396) $(am__append_3403) $(am__append_3410) \ + $(am__append_3417) $(am__append_3424) $(am__append_3431) \ + $(am__append_3438) $(am__append_3445) $(am__append_3452) \ + $(am__append_3459) $(am__append_3466) $(am__append_3473) \ + $(am__append_3480) $(am__append_3487) $(am__append_3494) \ + $(am__append_3501) $(am__append_3508) $(am__append_3515) \ + $(am__append_3522) $(am__append_3529) $(am__append_3536) \ + $(am__append_3543) $(am__append_3550) $(am__append_3557) \ + $(am__append_3564) $(am__append_3571) $(am__append_3578) \ + $(am__append_3585) $(am__append_3592) $(am__append_3599) \ + $(am__append_3606) $(am__append_3613) $(am__append_3620) \ + $(am__append_3627) $(am__append_3634) $(am__append_3641) \ + $(am__append_3648) $(am__append_3655) $(am__append_3662) \ + $(am__append_3669) $(am__append_3676) $(am__append_3683) \ + $(am__append_3690) $(am__append_3697) $(am__append_3704) \ + $(am__append_3711) $(am__append_3718) $(am__append_3725) \ + $(am__append_3732) $(am__append_3739) $(am__append_3746) \ + $(am__append_3753) $(am__append_3760) $(am__append_3767) \ + $(am__append_3774) $(am__append_3781) $(am__append_3788) \ + $(am__append_3795) $(am__append_3802) $(am__append_3809) \ + $(am__append_3816) $(am__append_3823) $(am__append_3830) \ + $(am__append_3837) $(am__append_3844) $(am__append_3851) \ + $(am__append_3858) $(am__append_3865) $(am__append_3872) \ + $(am__append_3879) $(am__append_3886) $(am__append_3893) \ + $(am__append_3900) $(am__append_3907) $(am__append_3914) \ + $(am__append_3921) $(am__append_3928) $(am__append_3935) \ + $(am__append_3942) $(am__append_3949) $(am__append_3956) \ + $(am__append_3963) $(am__append_3970) $(am__append_3977) \ + $(am__append_3984) $(am__append_3991) $(am__append_3998) \ + $(am__append_4005) $(am__append_4012) $(am__append_4019) \ + $(am__append_4026) $(am__append_4033) $(am__append_4040) \ + $(am__append_4047) $(am__append_4054) $(am__append_4061) \ + $(am__append_4068) $(am__append_4075) $(am__append_4082) \ + $(am__append_4089) $(am__append_4096) $(am__append_4103) \ + $(am__append_4110) $(am__append_4117) $(am__append_4124) \ + $(am__append_4131) $(am__append_4138) $(am__append_4145) \ + $(am__append_4152) $(am__append_4159) $(am__append_4166) \ + $(am__append_4173) $(am__append_4180) $(am__append_4187) \ + $(am__append_4194) $(am__append_4201) $(am__append_4208) \ + $(am__append_4215) $(am__append_4222) $(am__append_4229) \ + $(am__append_4236) $(am__append_4243) $(am__append_4250) \ + $(am__append_4257) $(am__append_4264) $(am__append_4271) \ + $(am__append_4278) $(am__append_4285) $(am__append_4292) \ + $(am__append_4299) $(am__append_4306) $(am__append_4313) \ + $(am__append_4320) $(am__append_4327) $(am__append_4334) \ + $(am__append_4341) $(am__append_4348) $(am__append_4355) \ + $(am__append_4362) $(am__append_4369) $(am__append_4376) \ + $(am__append_4383) $(am__append_4390) $(am__append_4397) \ + $(am__append_4404) $(am__append_4411) $(am__append_4418) \ + $(am__append_4425) $(am__append_4432) $(am__append_4439) \ + $(am__append_4446) $(am__append_4453) $(am__append_4460) \ + $(am__append_4467) $(am__append_4474) $(am__append_4481) \ + $(am__append_4488) $(am__append_4495) $(am__append_4502) \ + $(am__append_4509) $(am__append_4516) $(am__append_4523) \ + $(am__append_4530) $(am__append_4537) $(am__append_4544) \ + $(am__append_4551) $(am__append_4558) $(am__append_4565) \ + $(am__append_4572) $(am__append_4579) $(am__append_4586) \ + $(am__append_4593) $(am__append_4600) $(am__append_4607) \ + $(am__append_4614) $(am__append_4621) $(am__append_4628) \ + $(am__append_4635) $(am__append_4642) $(am__append_4649) \ + $(am__append_4656) $(am__append_4663) $(am__append_4670) \ + $(am__append_4677) $(am__append_4684) $(am__append_4691) \ + $(am__append_4698) $(am__append_4705) $(am__append_4712) \ + $(am__append_4719) $(am__append_4726) $(am__append_4733) \ + $(am__append_4740) $(am__append_4747) $(am__append_4754) \ + $(am__append_4761) $(am__append_4768) $(am__append_4775) \ + $(am__append_4782) $(am__append_4789) $(am__append_4796) \ + $(am__append_4803) $(am__append_4810) $(am__append_4817) \ + $(am__append_4824) $(am__append_4831) $(am__append_4838) \ + $(am__append_4845) $(am__append_4852) $(am__append_4859) \ + $(am__append_4866) $(am__append_4873) $(am__append_4880) \ + $(am__append_4887) $(am__append_4894) $(am__append_4901) \ + $(am__append_4908) $(am__append_4915) $(am__append_4922) \ + $(am__append_4929) $(am__append_4936) $(am__append_4943) \ + $(am__append_4950) $(am__append_4957) $(am__append_4964) \ + $(am__append_4971) $(am__append_4978) $(am__append_4985) \ + $(am__append_4992) $(am__append_4999) $(am__append_5006) \ + $(am__append_5013) $(am__append_5020) $(am__append_5027) \ + $(am__append_5034) $(am__append_5041) $(am__append_5048) \ + $(am__append_5055) $(am__append_5062) $(am__append_5069) \ + $(am__append_5076) $(am__append_5083) $(am__append_5090) \ + $(am__append_5097) $(am__append_5104) $(am__append_5111) \ + $(am__append_5118) $(am__append_5125) $(am__append_5132) \ + $(am__append_5139) $(am__append_5146) $(am__append_5153) \ + $(am__append_5160) $(am__append_5167) $(am__append_5174) \ + $(am__append_5181) $(am__append_5188) $(am__append_5195) \ + $(am__append_5202) $(am__append_5209) $(am__append_5216) \ + $(am__append_5223) $(am__append_5230) $(am__append_5237) \ + $(am__append_5244) $(am__append_5251) $(am__append_5258) \ + $(am__append_5265) $(am__append_5272) $(am__append_5279) \ + $(am__append_5286) $(am__append_5293) $(am__append_5300) \ + $(am__append_5307) $(am__append_5314) $(am__append_5321) \ + $(am__append_5328) $(am__append_5335) $(am__append_5342) \ + $(am__append_5349) $(am__append_5356) $(am__append_5363) \ + $(am__append_5370) $(am__append_5377) $(am__append_5384) \ + $(am__append_5391) $(am__append_5398) $(am__append_5405) \ + $(am__append_5412) $(am__append_5419) $(am__append_5426) \ + $(am__append_5433) $(am__append_5440) $(am__append_5447) \ + $(am__append_5454) $(am__append_5461) $(am__append_5468) \ + $(am__append_5475) $(am__append_5482) $(am__append_5489) \ + $(am__append_5496) $(am__append_5503) $(am__append_5510) \ + $(am__append_5517) $(am__append_5524) $(am__append_5531) \ + $(am__append_5538) $(am__append_5545) $(am__append_5552) \ + $(am__append_5559) $(am__append_5566) $(am__append_5573) \ + $(am__append_5580) $(am__append_5587) $(am__append_5594) \ + $(am__append_5601) $(am__append_5608) $(am__append_5615) \ + $(am__append_5622) $(am__append_5629) $(am__append_5636) \ + $(am__append_5643) $(am__append_5650) $(am__append_5657) \ + $(am__append_5664) $(am__append_5671) $(am__append_5678) \ + $(am__append_5685) $(am__append_5692) $(am__append_5699) \ + $(am__append_5706) $(am__append_5713) $(am__append_5720) \ + $(am__append_5727) $(am__append_5734) $(am__append_5741) \ + $(am__append_5748) $(am__append_5755) $(am__append_5762) \ + $(am__append_5769) $(am__append_5776) $(am__append_5783) \ + $(am__append_5790) $(am__append_5797) $(am__append_5804) \ + $(am__append_5811) $(am__append_5818) $(am__append_5825) \ + $(am__append_5832) $(am__append_5839) $(am__append_5846) \ + $(am__append_5853) $(am__append_5860) $(am__append_5867) \ + $(am__append_5874) $(am__append_5881) $(am__append_5888) \ + $(am__append_5895) $(am__append_5902) $(am__append_5909) \ + $(am__append_5916) $(am__append_5923) $(am__append_5930) \ + $(am__append_5937) $(am__append_5944) $(am__append_5951) \ + $(am__append_5958) $(am__append_5965) $(am__append_5972) \ + $(am__append_5979) $(am__append_5986) $(am__append_5993) \ + $(am__append_6000) $(am__append_6007) $(am__append_6014) \ + $(am__append_6021) $(am__append_6028) $(am__append_6035) \ + $(am__append_6042) $(am__append_6049) $(am__append_6056) \ + $(am__append_6063) $(am__append_6070) $(am__append_6077) \ + $(am__append_6084) $(am__append_6091) $(am__append_6098) \ + $(am__append_6105) $(am__append_6112) $(am__append_6119) \ + $(am__append_6126) $(am__append_6133) $(am__append_6140) \ + $(am__append_6147) $(am__append_6154) $(am__append_6161) \ + $(am__append_6168) $(am__append_6175) $(am__append_6182) \ + $(am__append_6189) $(am__append_6196) $(am__append_6203) \ + $(am__append_6210) $(am__append_6217) $(am__append_6224) \ + $(am__append_6231) $(am__append_6238) $(am__append_6245) \ + $(am__append_6252) $(am__append_6259) $(am__append_6266) \ + $(am__append_6273) $(am__append_6280) $(am__append_6287) \ + $(am__append_6294) $(am__append_6301) $(am__append_6308) \ + $(am__append_6315) $(am__append_6322) $(am__append_6329) \ + $(am__append_6336) $(am__append_6343) $(am__append_6350) \ + $(am__append_6357) $(am__append_6364) $(am__append_6371) \ + $(am__append_6378) $(am__append_6385) $(am__append_6392) \ + $(am__append_6399) $(am__append_6406) $(am__append_6413) \ + $(am__append_6420) $(am__append_6427) $(am__append_6434) \ + $(am__append_6441) $(am__append_6448) $(am__append_6455) \ + $(am__append_6462) $(am__append_6469) $(am__append_6476) \ + $(am__append_6483) $(am__append_6490) $(am__append_6497) \ + $(am__append_6504) $(am__append_6511) $(am__append_6518) \ + $(am__append_6525) $(am__append_6532) $(am__append_6539) \ + $(am__append_6546) $(am__append_6553) $(am__append_6560) \ + $(am__append_6567) $(am__append_6574) $(am__append_6581) \ + $(am__append_6588) $(am__append_6595) $(am__append_6602) \ + $(am__append_6609) $(am__append_6616) $(am__append_6623) \ + $(am__append_6630) $(am__append_6637) $(am__append_6644) \ + $(am__append_6651) $(am__append_6658) $(am__append_6665) \ + $(am__append_6672) $(am__append_6679) $(am__append_6686) \ + $(am__append_6693) $(am__append_6700) $(am__append_6707) \ + $(am__append_6714) $(am__append_6721) $(am__append_6728) \ + $(am__append_6735) $(am__append_6742) $(am__append_6749) \ + $(am__append_6756) $(am__append_6763) $(am__append_6770) \ + $(am__append_6777) $(am__append_6784) $(am__append_6791) \ + $(am__append_6798) $(am__append_6805) $(am__append_6812) \ + $(am__append_6819) $(am__append_6826) $(am__append_6833) \ + $(am__append_6840) $(am__append_6847) $(am__append_6854) \ + $(am__append_6861) $(am__append_6868) $(am__append_6875) \ + $(am__append_6882) $(am__append_6889) $(am__append_6896) \ + $(am__append_6903) $(am__append_6910) $(am__append_6917) \ + $(am__append_6924) $(am__append_6931) $(am__append_6938) \ + $(am__append_6945) $(am__append_6952) $(am__append_6959) \ + $(am__append_6966) $(am__append_6973) $(am__append_6980) \ + $(am__append_6987) $(am__append_6994) $(am__append_7001) \ + $(am__append_7008) $(am__append_7015) $(am__append_7022) \ + $(am__append_7029) $(am__append_7036) $(am__append_7043) \ + $(am__append_7050) $(am__append_7057) $(am__append_7064) \ + $(am__append_7071) $(am__append_7078) $(am__append_7085) \ + $(am__append_7092) $(am__append_7099) $(am__append_7106) \ + $(am__append_7113) $(am__append_7120) $(am__append_7127) \ + $(am__append_7134) $(am__append_7141) $(am__append_7148) \ + $(am__append_7155) $(am__append_7162) $(am__append_7169) \ + $(am__append_7176) $(am__append_7183) $(am__append_7190) \ + $(am__append_7197) $(am__append_7204) $(am__append_7211) \ + $(am__append_7218) $(am__append_7225) $(am__append_7232) \ + $(am__append_7239) $(am__append_7246) $(am__append_7253) \ + $(am__append_7260) $(am__append_7267) $(am__append_7274) \ + $(am__append_7281) $(am__append_7288) $(am__append_7295) \ + $(am__append_7302) $(am__append_7309) $(am__append_7316) \ + $(am__append_7323) $(am__append_7330) $(am__append_7337) \ + $(am__append_7344) $(am__append_7351) $(am__append_7358) \ + $(am__append_7365) $(am__append_7372) $(am__append_7379) \ + $(am__append_7386) $(am__append_7393) $(am__append_7400) \ + $(am__append_7407) $(am__append_7414) $(am__append_7421) \ + $(am__append_7428) $(am__append_7435) $(am__append_7442) \ + $(am__append_7449) $(am__append_7456) $(am__append_7463) \ + $(am__append_7470) $(am__append_7477) $(am__append_7484) \ + $(am__append_7491) $(am__append_7498) $(am__append_7505) \ + $(am__append_7512) $(am__append_7519) $(am__append_7526) \ + $(am__append_7533) $(am__append_7540) $(am__append_7547) \ + $(am__append_7554) $(am__append_7561) $(am__append_7568) \ + $(am__append_7575) $(am__append_7582) $(am__append_7589) \ + $(am__append_7596) $(am__append_7603) $(am__append_7610) \ + $(am__append_7617) $(am__append_7624) $(am__append_7631) \ + $(am__append_7638) $(am__append_7645) $(am__append_7652) \ + $(am__append_7659) $(am__append_7666) $(am__append_7673) \ + $(am__append_7680) $(am__append_7687) $(am__append_7694) \ + $(am__append_7701) $(am__append_7708) $(am__append_7715) \ + $(am__append_7722) $(am__append_7729) $(am__append_7736) \ + $(am__append_7743) $(am__append_7750) $(am__append_7757) \ + $(am__append_7764) $(am__append_7771) $(am__append_7778) \ + $(am__append_7785) $(am__append_7792) $(am__append_7799) \ + $(am__append_7806) $(am__append_7813) $(am__append_7820) \ + $(am__append_7827) $(am__append_7834) $(am__append_7841) \ + $(am__append_7848) $(am__append_7855) $(am__append_7862) \ + $(am__append_7869) $(am__append_7876) $(am__append_7883) \ + $(am__append_7890) $(am__append_7897) $(am__append_7904) \ + $(am__append_7911) $(am__append_7918) $(am__append_7925) \ + $(am__append_7932) $(am__append_7939) $(am__append_7946) \ + $(am__append_7953) $(am__append_7960) $(am__append_7967) \ + $(am__append_7974) $(am__append_7981) $(am__append_7988) \ + $(am__append_7995) $(am__append_8002) $(am__append_8009) \ + $(am__append_8016) $(am__append_8023) $(am__append_8030) \ + $(am__append_8037) $(am__append_8044) $(am__append_8051) \ + $(am__append_8058) $(am__append_8065) $(am__append_8072) \ + $(am__append_8079) $(am__append_8086) $(am__append_8093) \ + $(am__append_8100) $(am__append_8107) $(am__append_8114) \ + $(am__append_8121) $(am__append_8128) $(am__append_8135) \ + $(am__append_8142) $(am__append_8149) $(am__append_8156) \ + $(am__append_8163) $(am__append_8170) $(am__append_8177) \ + $(am__append_8184) $(am__append_8191) $(am__append_8198) \ + $(am__append_8205) $(am__append_8212) $(am__append_8219) \ + $(am__append_8226) $(am__append_8233) $(am__append_8240) \ + $(am__append_8247) $(am__append_8254) $(am__append_8261) \ + $(am__append_8268) $(am__append_8275) $(am__append_8282) \ + $(am__append_8289) $(am__append_8296) $(am__append_8303) \ + $(am__append_8310) $(am__append_8317) $(am__append_8324) \ + $(am__append_8331) $(am__append_8338) $(am__append_8345) \ + $(am__append_8352) $(am__append_8359) $(am__append_8366) \ + $(am__append_8373) $(am__append_8380) $(am__append_8387) \ + $(am__append_8394) $(am__append_8401) $(am__append_8408) \ + $(am__append_8415) $(am__append_8422) $(am__append_8429) \ + $(am__append_8436) $(am__append_8443) $(am__append_8450) \ + $(am__append_8457) $(am__append_8464) $(am__append_8471) \ + $(am__append_8478) $(am__append_8485) $(am__append_8492) \ + $(am__append_8499) $(am__append_8506) $(am__append_8513) \ + $(am__append_8520) $(am__append_8527) $(am__append_8534) \ + $(am__append_8541) $(am__append_8548) $(am__append_8555) \ + $(am__append_8562) $(am__append_8569) $(am__append_8576) \ + $(am__append_8583) $(am__append_8590) $(am__append_8597) \ + $(am__append_8604) $(am__append_8611) $(am__append_8618) \ + $(am__append_8625) $(am__append_8632) $(am__append_8639) \ + $(am__append_8646) $(am__append_8653) $(am__append_8660) \ + $(am__append_8667) $(am__append_8674) $(am__append_8681) \ + $(am__append_8688) $(am__append_8695) $(am__append_8702) \ + $(am__append_8709) $(am__append_8716) $(am__append_8723) \ + $(am__append_8730) $(am__append_8737) $(am__append_8744) \ + $(am__append_8751) $(am__append_8758) $(am__append_8765) \ + $(am__append_8772) $(am__append_8779) $(am__append_8786) \ + $(am__append_8793) $(am__append_8800) $(am__append_8807) \ + $(am__append_8814) $(am__append_8821) $(am__append_8828) \ + $(am__append_8835) $(am__append_8842) $(am__append_8849) \ + $(am__append_8856) $(am__append_8863) $(am__append_8870) \ + $(am__append_8877) $(am__append_8884) $(am__append_8891) \ + $(am__append_8898) $(am__append_8905) $(am__append_8912) \ + $(am__append_8919) $(am__append_8926) $(am__append_8933) \ + $(am__append_8940) $(am__append_8947) $(am__append_8954) \ + $(am__append_8961) $(am__append_8968) $(am__append_8975) \ + $(am__append_8982) $(am__append_8989) $(am__append_8996) \ + $(am__append_9003) $(am__append_9010) $(am__append_9017) \ + $(am__append_9024) $(am__append_9031) $(am__append_9038) \ + $(am__append_9045) $(am__append_9052) $(am__append_9059) \ + $(am__append_9066) $(am__append_9073) $(am__append_9080) \ + $(am__append_9087) $(am__append_9094) $(am__append_9101) \ + $(am__append_9108) $(am__append_9115) $(am__append_9122) \ + $(am__append_9129) $(am__append_9136) $(am__append_9143) \ + $(am__append_9150) $(am__append_9157) $(am__append_9164) \ + $(am__append_9171) $(am__append_9178) $(am__append_9185) \ + $(am__append_9192) $(am__append_9199) $(am__append_9206) \ + $(am__append_9213) $(am__append_9220) $(am__append_9227) \ + $(am__append_9234) $(am__append_9241) $(am__append_9248) \ + $(am__append_9255) $(am__append_9262) $(am__append_9269) \ + $(am__append_9276) $(am__append_9283) $(am__append_9290) \ + $(am__append_9297) $(am__append_9304) $(am__append_9311) \ + $(am__append_9318) $(am__append_9325) $(am__append_9332) \ + $(am__append_9339) $(am__append_9346) $(am__append_9353) \ + $(am__append_9360) $(am__append_9367) $(am__append_9374) \ + $(am__append_9381) $(am__append_9388) $(am__append_9395) \ + $(am__append_9402) $(am__append_9409) $(am__append_9416) \ + $(am__append_9423) $(am__append_9430) $(am__append_9437) \ + $(am__append_9444) $(am__append_9451) $(am__append_9458) \ + $(am__append_9465) $(am__append_9472) $(am__append_9479) \ + $(am__append_9486) $(am__append_9493) $(am__append_9500) \ + $(am__append_9507) $(am__append_9514) $(am__append_9521) \ + $(am__append_9528) $(am__append_9535) $(am__append_9542) \ + $(am__append_9549) $(am__append_9556) $(am__append_9563) \ + $(am__append_9570) $(am__append_9577) $(am__append_9584) \ + $(am__append_9591) $(am__append_9598) $(am__append_9605) \ + $(am__append_9612) $(am__append_9619) $(am__append_9626) \ + $(am__append_9633) $(am__append_9640) $(am__append_9647) \ + $(am__append_9654) $(am__append_9661) $(am__append_9668) \ + $(am__append_9675) $(am__append_9682) $(am__append_9689) \ + $(am__append_9696) $(am__append_9703) $(am__append_9710) \ + $(am__append_9717) $(am__append_9724) $(am__append_9731) \ + $(am__append_9738) $(am__append_9745) $(am__append_9752) \ + $(am__append_9759) $(am__append_9766) $(am__append_9773) \ + $(am__append_9780) $(am__append_9787) $(am__append_9794) \ + $(am__append_9801) $(am__append_9808) $(am__append_9815) \ + $(am__append_9822) $(am__append_9829) $(am__append_9836) \ + $(am__append_9843) $(am__append_9850) $(am__append_9857) \ + $(am__append_9864) $(am__append_9871) $(am__append_9878) \ + $(am__append_9885) $(am__append_9892) $(am__append_9899) \ + $(am__append_9906) $(am__append_9913) $(am__append_9920) \ + $(am__append_9927) $(am__append_9934) $(am__append_9941) \ + $(am__append_9948) $(am__append_9955) $(am__append_9962) \ + $(am__append_9969) $(am__append_9976) $(am__append_9983) \ + $(am__append_9990) $(am__append_9997) $(am__append_10004) \ + $(am__append_10011) $(am__append_10018) $(am__append_10025) \ + $(am__append_10032) $(am__append_10039) $(am__append_10046) \ + $(am__append_10053) $(am__append_10060) $(am__append_10067) \ + $(am__append_10074) $(am__append_10081) $(am__append_10088) \ + $(am__append_10095) $(am__append_10102) $(am__append_10109) \ + $(am__append_10116) $(am__append_10123) $(am__append_10130) \ + $(am__append_10137) $(am__append_10144) $(am__append_10151) \ + $(am__append_10158) $(am__append_10165) $(am__append_10172) \ + $(am__append_10179) $(am__append_10186) $(am__append_10193) \ + $(am__append_10200) $(am__append_10207) $(am__append_10214) \ + $(am__append_10221) $(am__append_10228) $(am__append_10235) \ + $(am__append_10242) $(am__append_10249) $(am__append_10256) \ + $(am__append_10263) $(am__append_10270) $(am__append_10277) \ + $(am__append_10284) $(am__append_10291) $(am__append_10298) \ + $(am__append_10305) $(am__append_10312) $(am__append_10319) \ + $(am__append_10326) $(am__append_10333) $(am__append_10340) \ + $(am__append_10347) $(am__append_10354) $(am__append_10361) \ + $(am__append_10368) $(am__append_10375) $(am__append_10382) \ + $(am__append_10389) $(am__append_10396) $(am__append_10403) \ + $(am__append_10410) $(am__append_10417) $(am__append_10424) \ + $(am__append_10431) $(am__append_10438) $(am__append_10445) \ + $(am__append_10452) $(am__append_10459) $(am__append_10466) \ + $(am__append_10473) $(am__append_10480) $(am__append_10487) \ + $(am__append_10494) $(am__append_10501) $(am__append_10508) \ + $(am__append_10515) $(am__append_10522) $(am__append_10529) \ + $(am__append_10536) $(am__append_10543) $(am__append_10550) \ + $(am__append_10557) $(am__append_10564) $(am__append_10571) \ + $(am__append_10578) $(am__append_10585) $(am__append_10592) \ + $(am__append_10599) $(am__append_10606) $(am__append_10613) \ + $(am__append_10620) $(am__append_10627) $(am__append_10634) \ + $(am__append_10641) $(am__append_10648) $(am__append_10655) \ + $(am__append_10662) $(am__append_10669) $(am__append_10676) \ + $(am__append_10683) $(am__append_10690) $(am__append_10697) \ + $(am__append_10704) $(am__append_10711) $(am__append_10718) \ + $(am__append_10725) $(am__append_10732) $(am__append_10739) \ + $(am__append_10746) $(am__append_10753) $(am__append_10760) \ + $(am__append_10767) $(am__append_10774) $(am__append_10781) \ + $(am__append_10788) $(am__append_10795) $(am__append_10802) \ + $(am__append_10809) $(am__append_10816) $(am__append_10823) \ + $(am__append_10830) $(am__append_10837) $(am__append_10844) \ + $(am__append_10851) $(am__append_10858) $(am__append_10865) \ + $(am__append_10872) $(am__append_10879) $(am__append_10886) \ + $(am__append_10893) $(am__append_10900) $(am__append_10907) \ + $(am__append_10914) $(am__append_10921) $(am__append_10928) \ + $(am__append_10935) $(am__append_10942) $(am__append_10949) \ + $(am__append_10956) $(am__append_10963) $(am__append_10970) \ + $(am__append_10977) $(am__append_10984) $(am__append_10991) \ + $(am__append_10998) $(am__append_11005) $(am__append_11012) \ + $(am__append_11019) $(am__append_11026) $(am__append_11033) \ + $(am__append_11040) $(am__append_11047) $(am__append_11054) \ + $(am__append_11061) $(am__append_11068) $(am__append_11075) \ + $(am__append_11082) $(am__append_11089) $(am__append_11096) \ + $(am__append_11103) $(am__append_11110) $(am__append_11117) \ + $(am__append_11124) $(am__append_11131) $(am__append_11138) \ + $(am__append_11145) $(am__append_11152) $(am__append_11159) \ + $(am__append_11166) $(am__append_11173) $(am__append_11180) \ + $(am__append_11187) $(am__append_11194) $(am__append_11201) \ + $(am__append_11208) $(am__append_11215) $(am__append_11222) \ + $(am__append_11229) $(am__append_11236) $(am__append_11243) \ + $(am__append_11250) $(am__append_11257) $(am__append_11264) \ + $(am__append_11271) $(am__append_11278) $(am__append_11285) \ + $(am__append_11292) $(am__append_11299) $(am__append_11306) \ + $(am__append_11313) $(am__append_11320) $(am__append_11327) \ + $(am__append_11334) $(am__append_11341) $(am__append_11348) \ + $(am__append_11355) $(am__append_11362) $(am__append_11369) \ + $(am__append_11376) $(am__append_11383) $(am__append_11390) \ + $(am__append_11397) $(am__append_11404) $(am__append_11411) \ + $(am__append_11418) $(am__append_11425) $(am__append_11432) \ + $(am__append_11439) $(am__append_11446) $(am__append_11453) \ + $(am__append_11460) $(am__append_11467) $(am__append_11474) \ + $(am__append_11481) $(am__append_11488) $(am__append_11495) \ + $(am__append_11502) $(am__append_11509) $(am__append_11516) \ + $(am__append_11523) $(am__append_11530) $(am__append_11537) \ + $(am__append_11544) $(am__append_11551) $(am__append_11558) \ + $(am__append_11565) $(am__append_11572) $(am__append_11579) \ + $(am__append_11586) $(am__append_11593) $(am__append_11600) \ + $(am__append_11607) $(am__append_11614) $(am__append_11621) \ + $(am__append_11628) $(am__append_11635) $(am__append_11642) \ + $(am__append_11649) $(am__append_11656) $(am__append_11663) \ + $(am__append_11670) $(am__append_11677) $(am__append_11684) \ + $(am__append_11691) $(am__append_11698) $(am__append_11705) \ + $(am__append_11712) $(am__append_11719) $(am__append_11726) \ + $(am__append_11733) $(am__append_11740) $(am__append_11747) \ + $(am__append_11754) $(am__append_11761) $(am__append_11768) \ + $(am__append_11775) $(am__append_11782) $(am__append_11789) \ + $(am__append_11796) $(am__append_11803) $(am__append_11810) \ + $(am__append_11817) $(am__append_11824) $(am__append_11831) \ + $(am__append_11838) $(am__append_11845) $(am__append_11852) \ + $(am__append_11859) $(am__append_11866) $(am__append_11873) \ + $(am__append_11880) $(am__append_11887) $(am__append_11894) \ + $(am__append_11901) $(am__append_11908) $(am__append_11915) \ + $(am__append_11922) $(am__append_11929) $(am__append_11936) \ + $(am__append_11943) $(am__append_11950) $(am__append_11957) \ + $(am__append_11964) $(am__append_11971) $(am__append_11978) \ + $(am__append_11985) $(am__append_11992) $(am__append_11999) \ + $(am__append_12006) $(am__append_12013) $(am__append_12020) \ + $(am__append_12027) $(am__append_12034) $(am__append_12041) \ + $(am__append_12048) $(am__append_12055) $(am__append_12062) \ + $(am__append_12069) $(am__append_12076) $(am__append_12083) \ + $(am__append_12090) $(am__append_12097) $(am__append_12104) \ + $(am__append_12111) $(am__append_12118) $(am__append_12125) \ + $(am__append_12132) +MODULE_FILES = $(am__append_11) $(am__append_18) $(am__append_25) \ + $(am__append_32) $(am__append_39) $(am__append_46) \ + $(am__append_53) $(am__append_60) $(am__append_67) \ + $(am__append_74) $(am__append_81) $(am__append_88) \ + $(am__append_95) $(am__append_102) $(am__append_109) \ + $(am__append_116) $(am__append_123) $(am__append_130) \ + $(am__append_137) $(am__append_144) $(am__append_151) \ + $(am__append_158) $(am__append_165) $(am__append_172) \ + $(am__append_179) $(am__append_186) $(am__append_193) \ + $(am__append_200) $(am__append_207) $(am__append_214) \ + $(am__append_221) $(am__append_228) $(am__append_235) \ + $(am__append_242) $(am__append_249) $(am__append_256) \ + $(am__append_263) $(am__append_270) $(am__append_277) \ + $(am__append_284) $(am__append_291) $(am__append_298) \ + $(am__append_305) $(am__append_312) $(am__append_319) \ + $(am__append_326) $(am__append_333) $(am__append_340) \ + $(am__append_347) $(am__append_354) $(am__append_361) \ + $(am__append_368) $(am__append_375) $(am__append_382) \ + $(am__append_389) $(am__append_396) $(am__append_403) \ + $(am__append_410) $(am__append_417) $(am__append_424) \ + $(am__append_431) $(am__append_438) $(am__append_445) \ + $(am__append_452) $(am__append_459) $(am__append_466) \ + $(am__append_473) $(am__append_480) $(am__append_487) \ + $(am__append_494) $(am__append_501) $(am__append_508) \ + $(am__append_515) $(am__append_522) $(am__append_529) \ + $(am__append_536) $(am__append_543) $(am__append_550) \ + $(am__append_557) $(am__append_564) $(am__append_571) \ + $(am__append_578) $(am__append_585) $(am__append_592) \ + $(am__append_599) $(am__append_606) $(am__append_613) \ + $(am__append_620) $(am__append_627) $(am__append_634) \ + $(am__append_641) $(am__append_648) $(am__append_655) \ + $(am__append_662) $(am__append_669) $(am__append_676) \ + $(am__append_683) $(am__append_690) $(am__append_697) \ + $(am__append_704) $(am__append_711) $(am__append_718) \ + $(am__append_725) $(am__append_732) $(am__append_739) \ + $(am__append_746) $(am__append_753) $(am__append_760) \ + $(am__append_767) $(am__append_774) $(am__append_781) \ + $(am__append_788) $(am__append_795) $(am__append_802) \ + $(am__append_809) $(am__append_816) $(am__append_823) \ + $(am__append_830) $(am__append_837) $(am__append_844) \ + $(am__append_851) $(am__append_858) $(am__append_865) \ + $(am__append_872) $(am__append_879) $(am__append_886) \ + $(am__append_893) $(am__append_900) $(am__append_907) \ + $(am__append_914) $(am__append_921) $(am__append_928) \ + $(am__append_935) $(am__append_942) $(am__append_949) \ + $(am__append_956) $(am__append_963) $(am__append_970) \ + $(am__append_977) $(am__append_984) $(am__append_991) \ + $(am__append_998) $(am__append_1005) $(am__append_1012) \ + $(am__append_1019) $(am__append_1026) $(am__append_1033) \ + $(am__append_1040) $(am__append_1047) $(am__append_1054) \ + $(am__append_1061) $(am__append_1068) $(am__append_1075) \ + $(am__append_1082) $(am__append_1089) $(am__append_1096) \ + $(am__append_1103) $(am__append_1110) $(am__append_1117) \ + $(am__append_1124) $(am__append_1131) $(am__append_1138) \ + $(am__append_1145) $(am__append_1152) $(am__append_1159) \ + $(am__append_1166) $(am__append_1173) $(am__append_1180) \ + $(am__append_1187) $(am__append_1194) $(am__append_1201) \ + $(am__append_1208) $(am__append_1215) $(am__append_1222) \ + $(am__append_1229) $(am__append_1236) $(am__append_1243) \ + $(am__append_1250) $(am__append_1257) $(am__append_1264) \ + $(am__append_1271) $(am__append_1278) $(am__append_1285) \ + $(am__append_1292) $(am__append_1299) $(am__append_1306) \ + $(am__append_1313) $(am__append_1320) $(am__append_1327) \ + $(am__append_1334) $(am__append_1341) $(am__append_1348) \ + $(am__append_1355) $(am__append_1362) $(am__append_1369) \ + $(am__append_1376) $(am__append_1383) $(am__append_1390) \ + $(am__append_1397) $(am__append_1404) $(am__append_1411) \ + $(am__append_1418) $(am__append_1425) $(am__append_1432) \ + $(am__append_1439) $(am__append_1446) $(am__append_1453) \ + $(am__append_1460) $(am__append_1467) $(am__append_1474) \ + $(am__append_1481) $(am__append_1488) $(am__append_1495) \ + $(am__append_1502) $(am__append_1509) $(am__append_1516) \ + $(am__append_1523) $(am__append_1530) $(am__append_1537) \ + $(am__append_1544) $(am__append_1551) $(am__append_1558) \ + $(am__append_1565) $(am__append_1572) $(am__append_1579) \ + $(am__append_1586) $(am__append_1593) $(am__append_1600) \ + $(am__append_1607) $(am__append_1614) $(am__append_1621) \ + $(am__append_1628) $(am__append_1635) $(am__append_1642) \ + $(am__append_1649) $(am__append_1656) $(am__append_1663) \ + $(am__append_1670) $(am__append_1677) $(am__append_1684) \ + $(am__append_1691) $(am__append_1698) $(am__append_1705) \ + $(am__append_1712) $(am__append_1719) $(am__append_1726) \ + $(am__append_1733) $(am__append_1740) $(am__append_1747) \ + $(am__append_1754) $(am__append_1761) $(am__append_1768) \ + $(am__append_1775) $(am__append_1782) $(am__append_1789) \ + $(am__append_1796) $(am__append_1803) $(am__append_1810) \ + $(am__append_1817) $(am__append_1824) $(am__append_1831) \ + $(am__append_1838) $(am__append_1845) $(am__append_1852) \ + $(am__append_1859) $(am__append_1866) $(am__append_1873) \ + $(am__append_1880) $(am__append_1887) $(am__append_1894) \ + $(am__append_1901) $(am__append_1908) $(am__append_1915) \ + $(am__append_1922) $(am__append_1929) $(am__append_1936) \ + $(am__append_1943) $(am__append_1950) $(am__append_1957) \ + $(am__append_1964) $(am__append_1971) $(am__append_1978) \ + $(am__append_1985) $(am__append_1992) $(am__append_1999) \ + $(am__append_2006) $(am__append_2013) $(am__append_2020) \ + $(am__append_2027) $(am__append_2034) $(am__append_2041) \ + $(am__append_2048) $(am__append_2055) $(am__append_2062) \ + $(am__append_2069) $(am__append_2076) $(am__append_2083) \ + $(am__append_2090) $(am__append_2097) $(am__append_2104) \ + $(am__append_2111) $(am__append_2118) $(am__append_2125) \ + $(am__append_2132) $(am__append_2139) $(am__append_2146) \ + $(am__append_2153) $(am__append_2160) $(am__append_2167) \ + $(am__append_2174) $(am__append_2181) $(am__append_2188) \ + $(am__append_2195) $(am__append_2202) $(am__append_2209) \ + $(am__append_2216) $(am__append_2223) $(am__append_2230) \ + $(am__append_2237) $(am__append_2244) $(am__append_2251) \ + $(am__append_2258) $(am__append_2265) $(am__append_2272) \ + $(am__append_2279) $(am__append_2286) $(am__append_2293) \ + $(am__append_2300) $(am__append_2307) $(am__append_2314) \ + $(am__append_2321) $(am__append_2328) $(am__append_2335) \ + $(am__append_2342) $(am__append_2349) $(am__append_2356) \ + $(am__append_2363) $(am__append_2370) $(am__append_2377) \ + $(am__append_2384) $(am__append_2391) $(am__append_2398) \ + $(am__append_2405) $(am__append_2412) $(am__append_2419) \ + $(am__append_2426) $(am__append_2433) $(am__append_2440) \ + $(am__append_2447) $(am__append_2454) $(am__append_2461) \ + $(am__append_2468) $(am__append_2475) $(am__append_2482) \ + $(am__append_2489) $(am__append_2496) $(am__append_2503) \ + $(am__append_2510) $(am__append_2517) $(am__append_2524) \ + $(am__append_2531) $(am__append_2538) $(am__append_2545) \ + $(am__append_2552) $(am__append_2559) $(am__append_2566) \ + $(am__append_2573) $(am__append_2580) $(am__append_2587) \ + $(am__append_2594) $(am__append_2601) $(am__append_2608) \ + $(am__append_2615) $(am__append_2622) $(am__append_2629) \ + $(am__append_2636) $(am__append_2643) $(am__append_2650) \ + $(am__append_2657) $(am__append_2664) $(am__append_2671) \ + $(am__append_2678) $(am__append_2685) $(am__append_2692) \ + $(am__append_2699) $(am__append_2706) $(am__append_2713) \ + $(am__append_2720) $(am__append_2727) $(am__append_2734) \ + $(am__append_2741) $(am__append_2748) $(am__append_2755) \ + $(am__append_2762) $(am__append_2769) $(am__append_2776) \ + $(am__append_2783) $(am__append_2790) $(am__append_2797) \ + $(am__append_2804) $(am__append_2811) $(am__append_2818) \ + $(am__append_2825) $(am__append_2832) $(am__append_2839) \ + $(am__append_2846) $(am__append_2853) $(am__append_2860) \ + $(am__append_2867) $(am__append_2874) $(am__append_2881) \ + $(am__append_2888) $(am__append_2895) $(am__append_2902) \ + $(am__append_2909) $(am__append_2916) $(am__append_2923) \ + $(am__append_2930) $(am__append_2937) $(am__append_2944) \ + $(am__append_2951) $(am__append_2958) $(am__append_2965) \ + $(am__append_2972) $(am__append_2979) $(am__append_2986) \ + $(am__append_2993) $(am__append_3000) $(am__append_3007) \ + $(am__append_3014) $(am__append_3021) $(am__append_3028) \ + $(am__append_3035) $(am__append_3042) $(am__append_3049) \ + $(am__append_3056) $(am__append_3063) $(am__append_3070) \ + $(am__append_3077) $(am__append_3084) $(am__append_3091) \ + $(am__append_3098) $(am__append_3105) $(am__append_3112) \ + $(am__append_3119) $(am__append_3126) $(am__append_3133) \ + $(am__append_3140) $(am__append_3147) $(am__append_3154) \ + $(am__append_3161) $(am__append_3168) $(am__append_3175) \ + $(am__append_3182) $(am__append_3189) $(am__append_3196) \ + $(am__append_3203) $(am__append_3210) $(am__append_3217) \ + $(am__append_3224) $(am__append_3231) $(am__append_3238) \ + $(am__append_3245) $(am__append_3252) $(am__append_3259) \ + $(am__append_3266) $(am__append_3273) $(am__append_3280) \ + $(am__append_3287) $(am__append_3294) $(am__append_3301) \ + $(am__append_3308) $(am__append_3315) $(am__append_3322) \ + $(am__append_3329) $(am__append_3336) $(am__append_3343) \ + $(am__append_3350) $(am__append_3357) $(am__append_3364) \ + $(am__append_3371) $(am__append_3378) $(am__append_3385) \ + $(am__append_3392) $(am__append_3399) $(am__append_3406) \ + $(am__append_3413) $(am__append_3420) $(am__append_3427) \ + $(am__append_3434) $(am__append_3441) $(am__append_3448) \ + $(am__append_3455) $(am__append_3462) $(am__append_3469) \ + $(am__append_3476) $(am__append_3483) $(am__append_3490) \ + $(am__append_3497) $(am__append_3504) $(am__append_3511) \ + $(am__append_3518) $(am__append_3525) $(am__append_3532) \ + $(am__append_3539) $(am__append_3546) $(am__append_3553) \ + $(am__append_3560) $(am__append_3567) $(am__append_3574) \ + $(am__append_3581) $(am__append_3588) $(am__append_3595) \ + $(am__append_3602) $(am__append_3609) $(am__append_3616) \ + $(am__append_3623) $(am__append_3630) $(am__append_3637) \ + $(am__append_3644) $(am__append_3651) $(am__append_3658) \ + $(am__append_3665) $(am__append_3672) $(am__append_3679) \ + $(am__append_3686) $(am__append_3693) $(am__append_3700) \ + $(am__append_3707) $(am__append_3714) $(am__append_3721) \ + $(am__append_3728) $(am__append_3735) $(am__append_3742) \ + $(am__append_3749) $(am__append_3756) $(am__append_3763) \ + $(am__append_3770) $(am__append_3777) $(am__append_3784) \ + $(am__append_3791) $(am__append_3798) $(am__append_3805) \ + $(am__append_3812) $(am__append_3819) $(am__append_3826) \ + $(am__append_3833) $(am__append_3840) $(am__append_3847) \ + $(am__append_3854) $(am__append_3861) $(am__append_3868) \ + $(am__append_3875) $(am__append_3882) $(am__append_3889) \ + $(am__append_3896) $(am__append_3903) $(am__append_3910) \ + $(am__append_3917) $(am__append_3924) $(am__append_3931) \ + $(am__append_3938) $(am__append_3945) $(am__append_3952) \ + $(am__append_3959) $(am__append_3966) $(am__append_3973) \ + $(am__append_3980) $(am__append_3987) $(am__append_3994) \ + $(am__append_4001) $(am__append_4008) $(am__append_4015) \ + $(am__append_4022) $(am__append_4029) $(am__append_4036) \ + $(am__append_4043) $(am__append_4050) $(am__append_4057) \ + $(am__append_4064) $(am__append_4071) $(am__append_4078) \ + $(am__append_4085) $(am__append_4092) $(am__append_4099) \ + $(am__append_4106) $(am__append_4113) $(am__append_4120) \ + $(am__append_4127) $(am__append_4134) $(am__append_4141) \ + $(am__append_4148) $(am__append_4155) $(am__append_4162) \ + $(am__append_4169) $(am__append_4176) $(am__append_4183) \ + $(am__append_4190) $(am__append_4197) $(am__append_4204) \ + $(am__append_4211) $(am__append_4218) $(am__append_4225) \ + $(am__append_4232) $(am__append_4239) $(am__append_4246) \ + $(am__append_4253) $(am__append_4260) $(am__append_4267) \ + $(am__append_4274) $(am__append_4281) $(am__append_4288) \ + $(am__append_4295) $(am__append_4302) $(am__append_4309) \ + $(am__append_4316) $(am__append_4323) $(am__append_4330) \ + $(am__append_4337) $(am__append_4344) $(am__append_4351) \ + $(am__append_4358) $(am__append_4365) $(am__append_4372) \ + $(am__append_4379) $(am__append_4386) $(am__append_4393) \ + $(am__append_4400) $(am__append_4407) $(am__append_4414) \ + $(am__append_4421) $(am__append_4428) $(am__append_4435) \ + $(am__append_4442) $(am__append_4449) $(am__append_4456) \ + $(am__append_4463) $(am__append_4470) $(am__append_4477) \ + $(am__append_4484) $(am__append_4491) $(am__append_4498) \ + $(am__append_4505) $(am__append_4512) $(am__append_4519) \ + $(am__append_4526) $(am__append_4533) $(am__append_4540) \ + $(am__append_4547) $(am__append_4554) $(am__append_4561) \ + $(am__append_4568) $(am__append_4575) $(am__append_4582) \ + $(am__append_4589) $(am__append_4596) $(am__append_4603) \ + $(am__append_4610) $(am__append_4617) $(am__append_4624) \ + $(am__append_4631) $(am__append_4638) $(am__append_4645) \ + $(am__append_4652) $(am__append_4659) $(am__append_4666) \ + $(am__append_4673) $(am__append_4680) $(am__append_4687) \ + $(am__append_4694) $(am__append_4701) $(am__append_4708) \ + $(am__append_4715) $(am__append_4722) $(am__append_4729) \ + $(am__append_4736) $(am__append_4743) $(am__append_4750) \ + $(am__append_4757) $(am__append_4764) $(am__append_4771) \ + $(am__append_4778) $(am__append_4785) $(am__append_4792) \ + $(am__append_4799) $(am__append_4806) $(am__append_4813) \ + $(am__append_4820) $(am__append_4827) $(am__append_4834) \ + $(am__append_4841) $(am__append_4848) $(am__append_4855) \ + $(am__append_4862) $(am__append_4869) $(am__append_4876) \ + $(am__append_4883) $(am__append_4890) $(am__append_4897) \ + $(am__append_4904) $(am__append_4911) $(am__append_4918) \ + $(am__append_4925) $(am__append_4932) $(am__append_4939) \ + $(am__append_4946) $(am__append_4953) $(am__append_4960) \ + $(am__append_4967) $(am__append_4974) $(am__append_4981) \ + $(am__append_4988) $(am__append_4995) $(am__append_5002) \ + $(am__append_5009) $(am__append_5016) $(am__append_5023) \ + $(am__append_5030) $(am__append_5037) $(am__append_5044) \ + $(am__append_5051) $(am__append_5058) $(am__append_5065) \ + $(am__append_5072) $(am__append_5079) $(am__append_5086) \ + $(am__append_5093) $(am__append_5100) $(am__append_5107) \ + $(am__append_5114) $(am__append_5121) $(am__append_5128) \ + $(am__append_5135) $(am__append_5142) $(am__append_5149) \ + $(am__append_5156) $(am__append_5163) $(am__append_5170) \ + $(am__append_5177) $(am__append_5184) $(am__append_5191) \ + $(am__append_5198) $(am__append_5205) $(am__append_5212) \ + $(am__append_5219) $(am__append_5226) $(am__append_5233) \ + $(am__append_5240) $(am__append_5247) $(am__append_5254) \ + $(am__append_5261) $(am__append_5268) $(am__append_5275) \ + $(am__append_5282) $(am__append_5289) $(am__append_5296) \ + $(am__append_5303) $(am__append_5310) $(am__append_5317) \ + $(am__append_5324) $(am__append_5331) $(am__append_5338) \ + $(am__append_5345) $(am__append_5352) $(am__append_5359) \ + $(am__append_5366) $(am__append_5373) $(am__append_5380) \ + $(am__append_5387) $(am__append_5394) $(am__append_5401) \ + $(am__append_5408) $(am__append_5415) $(am__append_5422) \ + $(am__append_5429) $(am__append_5436) $(am__append_5443) \ + $(am__append_5450) $(am__append_5457) $(am__append_5464) \ + $(am__append_5471) $(am__append_5478) $(am__append_5485) \ + $(am__append_5492) $(am__append_5499) $(am__append_5506) \ + $(am__append_5513) $(am__append_5520) $(am__append_5527) \ + $(am__append_5534) $(am__append_5541) $(am__append_5548) \ + $(am__append_5555) $(am__append_5562) $(am__append_5569) \ + $(am__append_5576) $(am__append_5583) $(am__append_5590) \ + $(am__append_5597) $(am__append_5604) $(am__append_5611) \ + $(am__append_5618) $(am__append_5625) $(am__append_5632) \ + $(am__append_5639) $(am__append_5646) $(am__append_5653) \ + $(am__append_5660) $(am__append_5667) $(am__append_5674) \ + $(am__append_5681) $(am__append_5688) $(am__append_5695) \ + $(am__append_5702) $(am__append_5709) $(am__append_5716) \ + $(am__append_5723) $(am__append_5730) $(am__append_5737) \ + $(am__append_5744) $(am__append_5751) $(am__append_5758) \ + $(am__append_5765) $(am__append_5772) $(am__append_5779) \ + $(am__append_5786) $(am__append_5793) $(am__append_5800) \ + $(am__append_5807) $(am__append_5814) $(am__append_5821) \ + $(am__append_5828) $(am__append_5835) $(am__append_5842) \ + $(am__append_5849) $(am__append_5856) $(am__append_5863) \ + $(am__append_5870) $(am__append_5877) $(am__append_5884) \ + $(am__append_5891) $(am__append_5898) $(am__append_5905) \ + $(am__append_5912) $(am__append_5919) $(am__append_5926) \ + $(am__append_5933) $(am__append_5940) $(am__append_5947) \ + $(am__append_5954) $(am__append_5961) $(am__append_5968) \ + $(am__append_5975) $(am__append_5982) $(am__append_5989) \ + $(am__append_5996) $(am__append_6003) $(am__append_6010) \ + $(am__append_6017) $(am__append_6024) $(am__append_6031) \ + $(am__append_6038) $(am__append_6045) $(am__append_6052) \ + $(am__append_6059) $(am__append_6066) $(am__append_6073) \ + $(am__append_6080) $(am__append_6087) $(am__append_6094) \ + $(am__append_6101) $(am__append_6108) $(am__append_6115) \ + $(am__append_6122) $(am__append_6129) $(am__append_6136) \ + $(am__append_6143) $(am__append_6150) $(am__append_6157) \ + $(am__append_6164) $(am__append_6171) $(am__append_6178) \ + $(am__append_6185) $(am__append_6192) $(am__append_6199) \ + $(am__append_6206) $(am__append_6213) $(am__append_6220) \ + $(am__append_6227) $(am__append_6234) $(am__append_6241) \ + $(am__append_6248) $(am__append_6255) $(am__append_6262) \ + $(am__append_6269) $(am__append_6276) $(am__append_6283) \ + $(am__append_6290) $(am__append_6297) $(am__append_6304) \ + $(am__append_6311) $(am__append_6318) $(am__append_6325) \ + $(am__append_6332) $(am__append_6339) $(am__append_6346) \ + $(am__append_6353) $(am__append_6360) $(am__append_6367) \ + $(am__append_6374) $(am__append_6381) $(am__append_6388) \ + $(am__append_6395) $(am__append_6402) $(am__append_6409) \ + $(am__append_6416) $(am__append_6423) $(am__append_6430) \ + $(am__append_6437) $(am__append_6444) $(am__append_6451) \ + $(am__append_6458) $(am__append_6465) $(am__append_6472) \ + $(am__append_6479) $(am__append_6486) $(am__append_6493) \ + $(am__append_6500) $(am__append_6507) $(am__append_6514) \ + $(am__append_6521) $(am__append_6528) $(am__append_6535) \ + $(am__append_6542) $(am__append_6549) $(am__append_6556) \ + $(am__append_6563) $(am__append_6570) $(am__append_6577) \ + $(am__append_6584) $(am__append_6591) $(am__append_6598) \ + $(am__append_6605) $(am__append_6612) $(am__append_6619) \ + $(am__append_6626) $(am__append_6633) $(am__append_6640) \ + $(am__append_6647) $(am__append_6654) $(am__append_6661) \ + $(am__append_6668) $(am__append_6675) $(am__append_6682) \ + $(am__append_6689) $(am__append_6696) $(am__append_6703) \ + $(am__append_6710) $(am__append_6717) $(am__append_6724) \ + $(am__append_6731) $(am__append_6738) $(am__append_6745) \ + $(am__append_6752) $(am__append_6759) $(am__append_6766) \ + $(am__append_6773) $(am__append_6780) $(am__append_6787) \ + $(am__append_6794) $(am__append_6801) $(am__append_6808) \ + $(am__append_6815) $(am__append_6822) $(am__append_6829) \ + $(am__append_6836) $(am__append_6843) $(am__append_6850) \ + $(am__append_6857) $(am__append_6864) $(am__append_6871) \ + $(am__append_6878) $(am__append_6885) $(am__append_6892) \ + $(am__append_6899) $(am__append_6906) $(am__append_6913) \ + $(am__append_6920) $(am__append_6927) $(am__append_6934) \ + $(am__append_6941) $(am__append_6948) $(am__append_6955) \ + $(am__append_6962) $(am__append_6969) $(am__append_6976) \ + $(am__append_6983) $(am__append_6990) $(am__append_6997) \ + $(am__append_7004) $(am__append_7011) $(am__append_7018) \ + $(am__append_7025) $(am__append_7032) $(am__append_7039) \ + $(am__append_7046) $(am__append_7053) $(am__append_7060) \ + $(am__append_7067) $(am__append_7074) $(am__append_7081) \ + $(am__append_7088) $(am__append_7095) $(am__append_7102) \ + $(am__append_7109) $(am__append_7116) $(am__append_7123) \ + $(am__append_7130) $(am__append_7137) $(am__append_7144) \ + $(am__append_7151) $(am__append_7158) $(am__append_7165) \ + $(am__append_7172) $(am__append_7179) $(am__append_7186) \ + $(am__append_7193) $(am__append_7200) $(am__append_7207) \ + $(am__append_7214) $(am__append_7221) $(am__append_7228) \ + $(am__append_7235) $(am__append_7242) $(am__append_7249) \ + $(am__append_7256) $(am__append_7263) $(am__append_7270) \ + $(am__append_7277) $(am__append_7284) $(am__append_7291) \ + $(am__append_7298) $(am__append_7305) $(am__append_7312) \ + $(am__append_7319) $(am__append_7326) $(am__append_7333) \ + $(am__append_7340) $(am__append_7347) $(am__append_7354) \ + $(am__append_7361) $(am__append_7368) $(am__append_7375) \ + $(am__append_7382) $(am__append_7389) $(am__append_7396) \ + $(am__append_7403) $(am__append_7410) $(am__append_7417) \ + $(am__append_7424) $(am__append_7431) $(am__append_7438) \ + $(am__append_7445) $(am__append_7452) $(am__append_7459) \ + $(am__append_7466) $(am__append_7473) $(am__append_7480) \ + $(am__append_7487) $(am__append_7494) $(am__append_7501) \ + $(am__append_7508) $(am__append_7515) $(am__append_7522) \ + $(am__append_7529) $(am__append_7536) $(am__append_7543) \ + $(am__append_7550) $(am__append_7557) $(am__append_7564) \ + $(am__append_7571) $(am__append_7578) $(am__append_7585) \ + $(am__append_7592) $(am__append_7599) $(am__append_7606) \ + $(am__append_7613) $(am__append_7620) $(am__append_7627) \ + $(am__append_7634) $(am__append_7641) $(am__append_7648) \ + $(am__append_7655) $(am__append_7662) $(am__append_7669) \ + $(am__append_7676) $(am__append_7683) $(am__append_7690) \ + $(am__append_7697) $(am__append_7704) $(am__append_7711) \ + $(am__append_7718) $(am__append_7725) $(am__append_7732) \ + $(am__append_7739) $(am__append_7746) $(am__append_7753) \ + $(am__append_7760) $(am__append_7767) $(am__append_7774) \ + $(am__append_7781) $(am__append_7788) $(am__append_7795) \ + $(am__append_7802) $(am__append_7809) $(am__append_7816) \ + $(am__append_7823) $(am__append_7830) $(am__append_7837) \ + $(am__append_7844) $(am__append_7851) $(am__append_7858) \ + $(am__append_7865) $(am__append_7872) $(am__append_7879) \ + $(am__append_7886) $(am__append_7893) $(am__append_7900) \ + $(am__append_7907) $(am__append_7914) $(am__append_7921) \ + $(am__append_7928) $(am__append_7935) $(am__append_7942) \ + $(am__append_7949) $(am__append_7956) $(am__append_7963) \ + $(am__append_7970) $(am__append_7977) $(am__append_7984) \ + $(am__append_7991) $(am__append_7998) $(am__append_8005) \ + $(am__append_8012) $(am__append_8019) $(am__append_8026) \ + $(am__append_8033) $(am__append_8040) $(am__append_8047) \ + $(am__append_8054) $(am__append_8061) $(am__append_8068) \ + $(am__append_8075) $(am__append_8082) $(am__append_8089) \ + $(am__append_8096) $(am__append_8103) $(am__append_8110) \ + $(am__append_8117) $(am__append_8124) $(am__append_8131) \ + $(am__append_8138) $(am__append_8145) $(am__append_8152) \ + $(am__append_8159) $(am__append_8166) $(am__append_8173) \ + $(am__append_8180) $(am__append_8187) $(am__append_8194) \ + $(am__append_8201) $(am__append_8208) $(am__append_8215) \ + $(am__append_8222) $(am__append_8229) $(am__append_8236) \ + $(am__append_8243) $(am__append_8250) $(am__append_8257) \ + $(am__append_8264) $(am__append_8271) $(am__append_8278) \ + $(am__append_8285) $(am__append_8292) $(am__append_8299) \ + $(am__append_8306) $(am__append_8313) $(am__append_8320) \ + $(am__append_8327) $(am__append_8334) $(am__append_8341) \ + $(am__append_8348) $(am__append_8355) $(am__append_8362) \ + $(am__append_8369) $(am__append_8376) $(am__append_8383) \ + $(am__append_8390) $(am__append_8397) $(am__append_8404) \ + $(am__append_8411) $(am__append_8418) $(am__append_8425) \ + $(am__append_8432) $(am__append_8439) $(am__append_8446) \ + $(am__append_8453) $(am__append_8460) $(am__append_8467) \ + $(am__append_8474) $(am__append_8481) $(am__append_8488) \ + $(am__append_8495) $(am__append_8502) $(am__append_8509) \ + $(am__append_8516) $(am__append_8523) $(am__append_8530) \ + $(am__append_8537) $(am__append_8544) $(am__append_8551) \ + $(am__append_8558) $(am__append_8565) $(am__append_8572) \ + $(am__append_8579) $(am__append_8586) $(am__append_8593) \ + $(am__append_8600) $(am__append_8607) $(am__append_8614) \ + $(am__append_8621) $(am__append_8628) $(am__append_8635) \ + $(am__append_8642) $(am__append_8649) $(am__append_8656) \ + $(am__append_8663) $(am__append_8670) $(am__append_8677) \ + $(am__append_8684) $(am__append_8691) $(am__append_8698) \ + $(am__append_8705) $(am__append_8712) $(am__append_8719) \ + $(am__append_8726) $(am__append_8733) $(am__append_8740) \ + $(am__append_8747) $(am__append_8754) $(am__append_8761) \ + $(am__append_8768) $(am__append_8775) $(am__append_8782) \ + $(am__append_8789) $(am__append_8796) $(am__append_8803) \ + $(am__append_8810) $(am__append_8817) $(am__append_8824) \ + $(am__append_8831) $(am__append_8838) $(am__append_8845) \ + $(am__append_8852) $(am__append_8859) $(am__append_8866) \ + $(am__append_8873) $(am__append_8880) $(am__append_8887) \ + $(am__append_8894) $(am__append_8901) $(am__append_8908) \ + $(am__append_8915) $(am__append_8922) $(am__append_8929) \ + $(am__append_8936) $(am__append_8943) $(am__append_8950) \ + $(am__append_8957) $(am__append_8964) $(am__append_8971) \ + $(am__append_8978) $(am__append_8985) $(am__append_8992) \ + $(am__append_8999) $(am__append_9006) $(am__append_9013) \ + $(am__append_9020) $(am__append_9027) $(am__append_9034) \ + $(am__append_9041) $(am__append_9048) $(am__append_9055) \ + $(am__append_9062) $(am__append_9069) $(am__append_9076) \ + $(am__append_9083) $(am__append_9090) $(am__append_9097) \ + $(am__append_9104) $(am__append_9111) $(am__append_9118) \ + $(am__append_9125) $(am__append_9132) $(am__append_9139) \ + $(am__append_9146) $(am__append_9153) $(am__append_9160) \ + $(am__append_9167) $(am__append_9174) $(am__append_9181) \ + $(am__append_9188) $(am__append_9195) $(am__append_9202) \ + $(am__append_9209) $(am__append_9216) $(am__append_9223) \ + $(am__append_9230) $(am__append_9237) $(am__append_9244) \ + $(am__append_9251) $(am__append_9258) $(am__append_9265) \ + $(am__append_9272) $(am__append_9279) $(am__append_9286) \ + $(am__append_9293) $(am__append_9300) $(am__append_9307) \ + $(am__append_9314) $(am__append_9321) $(am__append_9328) \ + $(am__append_9335) $(am__append_9342) $(am__append_9349) \ + $(am__append_9356) $(am__append_9363) $(am__append_9370) \ + $(am__append_9377) $(am__append_9384) $(am__append_9391) \ + $(am__append_9398) $(am__append_9405) $(am__append_9412) \ + $(am__append_9419) $(am__append_9426) $(am__append_9433) \ + $(am__append_9440) $(am__append_9447) $(am__append_9454) \ + $(am__append_9461) $(am__append_9468) $(am__append_9475) \ + $(am__append_9482) $(am__append_9489) $(am__append_9496) \ + $(am__append_9503) $(am__append_9510) $(am__append_9517) \ + $(am__append_9524) $(am__append_9531) $(am__append_9538) \ + $(am__append_9545) $(am__append_9552) $(am__append_9559) \ + $(am__append_9566) $(am__append_9573) $(am__append_9580) \ + $(am__append_9587) $(am__append_9594) $(am__append_9601) \ + $(am__append_9608) $(am__append_9615) $(am__append_9622) \ + $(am__append_9629) $(am__append_9636) $(am__append_9643) \ + $(am__append_9650) $(am__append_9657) $(am__append_9664) \ + $(am__append_9671) $(am__append_9678) $(am__append_9685) \ + $(am__append_9692) $(am__append_9699) $(am__append_9706) \ + $(am__append_9713) $(am__append_9720) $(am__append_9727) \ + $(am__append_9734) $(am__append_9741) $(am__append_9748) \ + $(am__append_9755) $(am__append_9762) $(am__append_9769) \ + $(am__append_9776) $(am__append_9783) $(am__append_9790) \ + $(am__append_9797) $(am__append_9804) $(am__append_9811) \ + $(am__append_9818) $(am__append_9825) $(am__append_9832) \ + $(am__append_9839) $(am__append_9846) $(am__append_9853) \ + $(am__append_9860) $(am__append_9867) $(am__append_9874) \ + $(am__append_9881) $(am__append_9888) $(am__append_9895) \ + $(am__append_9902) $(am__append_9909) $(am__append_9916) \ + $(am__append_9923) $(am__append_9930) $(am__append_9937) \ + $(am__append_9944) $(am__append_9951) $(am__append_9958) \ + $(am__append_9965) $(am__append_9972) $(am__append_9979) \ + $(am__append_9986) $(am__append_9993) $(am__append_10000) \ + $(am__append_10007) $(am__append_10014) $(am__append_10021) \ + $(am__append_10028) $(am__append_10035) $(am__append_10042) \ + $(am__append_10049) $(am__append_10056) $(am__append_10063) \ + $(am__append_10070) $(am__append_10077) $(am__append_10084) \ + $(am__append_10091) $(am__append_10098) $(am__append_10105) \ + $(am__append_10112) $(am__append_10119) $(am__append_10126) \ + $(am__append_10133) $(am__append_10140) $(am__append_10147) \ + $(am__append_10154) $(am__append_10161) $(am__append_10168) \ + $(am__append_10175) $(am__append_10182) $(am__append_10189) \ + $(am__append_10196) $(am__append_10203) $(am__append_10210) \ + $(am__append_10217) $(am__append_10224) $(am__append_10231) \ + $(am__append_10238) $(am__append_10245) $(am__append_10252) \ + $(am__append_10259) $(am__append_10266) $(am__append_10273) \ + $(am__append_10280) $(am__append_10287) $(am__append_10294) \ + $(am__append_10301) $(am__append_10308) $(am__append_10315) \ + $(am__append_10322) $(am__append_10329) $(am__append_10336) \ + $(am__append_10343) $(am__append_10350) $(am__append_10357) \ + $(am__append_10364) $(am__append_10371) $(am__append_10378) \ + $(am__append_10385) $(am__append_10392) $(am__append_10399) \ + $(am__append_10406) $(am__append_10413) $(am__append_10420) \ + $(am__append_10427) $(am__append_10434) $(am__append_10441) \ + $(am__append_10448) $(am__append_10455) $(am__append_10462) \ + $(am__append_10469) $(am__append_10476) $(am__append_10483) \ + $(am__append_10490) $(am__append_10497) $(am__append_10504) \ + $(am__append_10511) $(am__append_10518) $(am__append_10525) \ + $(am__append_10532) $(am__append_10539) $(am__append_10546) \ + $(am__append_10553) $(am__append_10560) $(am__append_10567) \ + $(am__append_10574) $(am__append_10581) $(am__append_10588) \ + $(am__append_10595) $(am__append_10602) $(am__append_10609) \ + $(am__append_10616) $(am__append_10623) $(am__append_10630) \ + $(am__append_10637) $(am__append_10644) $(am__append_10651) \ + $(am__append_10658) $(am__append_10665) $(am__append_10672) \ + $(am__append_10679) $(am__append_10686) $(am__append_10693) \ + $(am__append_10700) $(am__append_10707) $(am__append_10714) \ + $(am__append_10721) $(am__append_10728) $(am__append_10735) \ + $(am__append_10742) $(am__append_10749) $(am__append_10756) \ + $(am__append_10763) $(am__append_10770) $(am__append_10777) \ + $(am__append_10784) $(am__append_10791) $(am__append_10798) \ + $(am__append_10805) $(am__append_10812) $(am__append_10819) \ + $(am__append_10826) $(am__append_10833) $(am__append_10840) \ + $(am__append_10847) $(am__append_10854) $(am__append_10861) \ + $(am__append_10868) $(am__append_10875) $(am__append_10882) \ + $(am__append_10889) $(am__append_10896) $(am__append_10903) \ + $(am__append_10910) $(am__append_10917) $(am__append_10924) \ + $(am__append_10931) $(am__append_10938) $(am__append_10945) \ + $(am__append_10952) $(am__append_10959) $(am__append_10966) \ + $(am__append_10973) $(am__append_10980) $(am__append_10987) \ + $(am__append_10994) $(am__append_11001) $(am__append_11008) \ + $(am__append_11015) $(am__append_11022) $(am__append_11029) \ + $(am__append_11036) $(am__append_11043) $(am__append_11050) \ + $(am__append_11057) $(am__append_11064) $(am__append_11071) \ + $(am__append_11078) $(am__append_11085) $(am__append_11092) \ + $(am__append_11099) $(am__append_11106) $(am__append_11113) \ + $(am__append_11120) $(am__append_11127) $(am__append_11134) \ + $(am__append_11141) $(am__append_11148) $(am__append_11155) \ + $(am__append_11162) $(am__append_11169) $(am__append_11176) \ + $(am__append_11183) $(am__append_11190) $(am__append_11197) \ + $(am__append_11204) $(am__append_11211) $(am__append_11218) \ + $(am__append_11225) $(am__append_11232) $(am__append_11239) \ + $(am__append_11246) $(am__append_11253) $(am__append_11260) \ + $(am__append_11267) $(am__append_11274) $(am__append_11281) \ + $(am__append_11288) $(am__append_11295) $(am__append_11302) \ + $(am__append_11309) $(am__append_11316) $(am__append_11323) \ + $(am__append_11330) $(am__append_11337) $(am__append_11344) \ + $(am__append_11351) $(am__append_11358) $(am__append_11365) \ + $(am__append_11372) $(am__append_11379) $(am__append_11386) \ + $(am__append_11393) $(am__append_11400) $(am__append_11407) \ + $(am__append_11414) $(am__append_11421) $(am__append_11428) \ + $(am__append_11435) $(am__append_11442) $(am__append_11449) \ + $(am__append_11456) $(am__append_11463) $(am__append_11470) \ + $(am__append_11477) $(am__append_11484) $(am__append_11491) \ + $(am__append_11498) $(am__append_11505) $(am__append_11512) \ + $(am__append_11519) $(am__append_11526) $(am__append_11533) \ + $(am__append_11540) $(am__append_11547) $(am__append_11554) \ + $(am__append_11561) $(am__append_11568) $(am__append_11575) \ + $(am__append_11582) $(am__append_11589) $(am__append_11596) \ + $(am__append_11603) $(am__append_11610) $(am__append_11617) \ + $(am__append_11624) $(am__append_11631) $(am__append_11638) \ + $(am__append_11645) $(am__append_11652) $(am__append_11659) \ + $(am__append_11666) $(am__append_11673) $(am__append_11680) \ + $(am__append_11687) $(am__append_11694) $(am__append_11701) \ + $(am__append_11708) $(am__append_11715) $(am__append_11722) \ + $(am__append_11729) $(am__append_11736) $(am__append_11743) \ + $(am__append_11750) $(am__append_11757) $(am__append_11764) \ + $(am__append_11771) $(am__append_11778) $(am__append_11785) \ + $(am__append_11792) $(am__append_11799) $(am__append_11806) \ + $(am__append_11813) $(am__append_11820) $(am__append_11827) \ + $(am__append_11834) $(am__append_11841) $(am__append_11848) \ + $(am__append_11855) $(am__append_11862) $(am__append_11869) \ + $(am__append_11876) $(am__append_11883) $(am__append_11890) \ + $(am__append_11897) $(am__append_11904) $(am__append_11911) \ + $(am__append_11918) $(am__append_11925) $(am__append_11932) \ + $(am__append_11939) $(am__append_11946) $(am__append_11953) \ + $(am__append_11960) $(am__append_11967) $(am__append_11974) \ + $(am__append_11981) $(am__append_11988) $(am__append_11995) \ + $(am__append_12002) $(am__append_12009) $(am__append_12016) \ + $(am__append_12023) $(am__append_12030) $(am__append_12037) \ + $(am__append_12044) $(am__append_12051) $(am__append_12058) \ + $(am__append_12065) $(am__append_12072) $(am__append_12079) \ + $(am__append_12086) $(am__append_12093) $(am__append_12100) \ + $(am__append_12107) $(am__append_12114) $(am__append_12121) \ + $(am__append_12128) +MARKER_FILES = $(am__append_16) $(am__append_23) $(am__append_30) \ + $(am__append_37) $(am__append_44) $(am__append_51) \ + $(am__append_58) $(am__append_65) $(am__append_72) \ + $(am__append_79) $(am__append_86) $(am__append_93) \ + $(am__append_100) $(am__append_107) $(am__append_114) \ + $(am__append_121) $(am__append_128) $(am__append_135) \ + $(am__append_142) $(am__append_149) $(am__append_156) \ + $(am__append_163) $(am__append_170) $(am__append_177) \ + $(am__append_184) $(am__append_191) $(am__append_198) \ + $(am__append_205) $(am__append_212) $(am__append_219) \ + $(am__append_226) $(am__append_233) $(am__append_240) \ + $(am__append_247) $(am__append_254) $(am__append_261) \ + $(am__append_268) $(am__append_275) $(am__append_282) \ + $(am__append_289) $(am__append_296) $(am__append_303) \ + $(am__append_310) $(am__append_317) $(am__append_324) \ + $(am__append_331) $(am__append_338) $(am__append_345) \ + $(am__append_352) $(am__append_359) $(am__append_366) \ + $(am__append_373) $(am__append_380) $(am__append_387) \ + $(am__append_394) $(am__append_401) $(am__append_408) \ + $(am__append_415) $(am__append_422) $(am__append_429) \ + $(am__append_436) $(am__append_443) $(am__append_450) \ + $(am__append_457) $(am__append_464) $(am__append_471) \ + $(am__append_478) $(am__append_485) $(am__append_492) \ + $(am__append_499) $(am__append_506) $(am__append_513) \ + $(am__append_520) $(am__append_527) $(am__append_534) \ + $(am__append_541) $(am__append_548) $(am__append_555) \ + $(am__append_562) $(am__append_569) $(am__append_576) \ + $(am__append_583) $(am__append_590) $(am__append_597) \ + $(am__append_604) $(am__append_611) $(am__append_618) \ + $(am__append_625) $(am__append_632) $(am__append_639) \ + $(am__append_646) $(am__append_653) $(am__append_660) \ + $(am__append_667) $(am__append_674) $(am__append_681) \ + $(am__append_688) $(am__append_695) $(am__append_702) \ + $(am__append_709) $(am__append_716) $(am__append_723) \ + $(am__append_730) $(am__append_737) $(am__append_744) \ + $(am__append_751) $(am__append_758) $(am__append_765) \ + $(am__append_772) $(am__append_779) $(am__append_786) \ + $(am__append_793) $(am__append_800) $(am__append_807) \ + $(am__append_814) $(am__append_821) $(am__append_828) \ + $(am__append_835) $(am__append_842) $(am__append_849) \ + $(am__append_856) $(am__append_863) $(am__append_870) \ + $(am__append_877) $(am__append_884) $(am__append_891) \ + $(am__append_898) $(am__append_905) $(am__append_912) \ + $(am__append_919) $(am__append_926) $(am__append_933) \ + $(am__append_940) $(am__append_947) $(am__append_954) \ + $(am__append_961) $(am__append_968) $(am__append_975) \ + $(am__append_982) $(am__append_989) $(am__append_996) \ + $(am__append_1003) $(am__append_1010) $(am__append_1017) \ + $(am__append_1024) $(am__append_1031) $(am__append_1038) \ + $(am__append_1045) $(am__append_1052) $(am__append_1059) \ + $(am__append_1066) $(am__append_1073) $(am__append_1080) \ + $(am__append_1087) $(am__append_1094) $(am__append_1101) \ + $(am__append_1108) $(am__append_1115) $(am__append_1122) \ + $(am__append_1129) $(am__append_1136) $(am__append_1143) \ + $(am__append_1150) $(am__append_1157) $(am__append_1164) \ + $(am__append_1171) $(am__append_1178) $(am__append_1185) \ + $(am__append_1192) $(am__append_1199) $(am__append_1206) \ + $(am__append_1213) $(am__append_1220) $(am__append_1227) \ + $(am__append_1234) $(am__append_1241) $(am__append_1248) \ + $(am__append_1255) $(am__append_1262) $(am__append_1269) \ + $(am__append_1276) $(am__append_1283) $(am__append_1290) \ + $(am__append_1297) $(am__append_1304) $(am__append_1311) \ + $(am__append_1318) $(am__append_1325) $(am__append_1332) \ + $(am__append_1339) $(am__append_1346) $(am__append_1353) \ + $(am__append_1360) $(am__append_1367) $(am__append_1374) \ + $(am__append_1381) $(am__append_1388) $(am__append_1395) \ + $(am__append_1402) $(am__append_1409) $(am__append_1416) \ + $(am__append_1423) $(am__append_1430) $(am__append_1437) \ + $(am__append_1444) $(am__append_1451) $(am__append_1458) \ + $(am__append_1465) $(am__append_1472) $(am__append_1479) \ + $(am__append_1486) $(am__append_1493) $(am__append_1500) \ + $(am__append_1507) $(am__append_1514) $(am__append_1521) \ + $(am__append_1528) $(am__append_1535) $(am__append_1542) \ + $(am__append_1549) $(am__append_1556) $(am__append_1563) \ + $(am__append_1570) $(am__append_1577) $(am__append_1584) \ + $(am__append_1591) $(am__append_1598) $(am__append_1605) \ + $(am__append_1612) $(am__append_1619) $(am__append_1626) \ + $(am__append_1633) $(am__append_1640) $(am__append_1647) \ + $(am__append_1654) $(am__append_1661) $(am__append_1668) \ + $(am__append_1675) $(am__append_1682) $(am__append_1689) \ + $(am__append_1696) $(am__append_1703) $(am__append_1710) \ + $(am__append_1717) $(am__append_1724) $(am__append_1731) \ + $(am__append_1738) $(am__append_1745) $(am__append_1752) \ + $(am__append_1759) $(am__append_1766) $(am__append_1773) \ + $(am__append_1780) $(am__append_1787) $(am__append_1794) \ + $(am__append_1801) $(am__append_1808) $(am__append_1815) \ + $(am__append_1822) $(am__append_1829) $(am__append_1836) \ + $(am__append_1843) $(am__append_1850) $(am__append_1857) \ + $(am__append_1864) $(am__append_1871) $(am__append_1878) \ + $(am__append_1885) $(am__append_1892) $(am__append_1899) \ + $(am__append_1906) $(am__append_1913) $(am__append_1920) \ + $(am__append_1927) $(am__append_1934) $(am__append_1941) \ + $(am__append_1948) $(am__append_1955) $(am__append_1962) \ + $(am__append_1969) $(am__append_1976) $(am__append_1983) \ + $(am__append_1990) $(am__append_1997) $(am__append_2004) \ + $(am__append_2011) $(am__append_2018) $(am__append_2025) \ + $(am__append_2032) $(am__append_2039) $(am__append_2046) \ + $(am__append_2053) $(am__append_2060) $(am__append_2067) \ + $(am__append_2074) $(am__append_2081) $(am__append_2088) \ + $(am__append_2095) $(am__append_2102) $(am__append_2109) \ + $(am__append_2116) $(am__append_2123) $(am__append_2130) \ + $(am__append_2137) $(am__append_2144) $(am__append_2151) \ + $(am__append_2158) $(am__append_2165) $(am__append_2172) \ + $(am__append_2179) $(am__append_2186) $(am__append_2193) \ + $(am__append_2200) $(am__append_2207) $(am__append_2214) \ + $(am__append_2221) $(am__append_2228) $(am__append_2235) \ + $(am__append_2242) $(am__append_2249) $(am__append_2256) \ + $(am__append_2263) $(am__append_2270) $(am__append_2277) \ + $(am__append_2284) $(am__append_2291) $(am__append_2298) \ + $(am__append_2305) $(am__append_2312) $(am__append_2319) \ + $(am__append_2326) $(am__append_2333) $(am__append_2340) \ + $(am__append_2347) $(am__append_2354) $(am__append_2361) \ + $(am__append_2368) $(am__append_2375) $(am__append_2382) \ + $(am__append_2389) $(am__append_2396) $(am__append_2403) \ + $(am__append_2410) $(am__append_2417) $(am__append_2424) \ + $(am__append_2431) $(am__append_2438) $(am__append_2445) \ + $(am__append_2452) $(am__append_2459) $(am__append_2466) \ + $(am__append_2473) $(am__append_2480) $(am__append_2487) \ + $(am__append_2494) $(am__append_2501) $(am__append_2508) \ + $(am__append_2515) $(am__append_2522) $(am__append_2529) \ + $(am__append_2536) $(am__append_2543) $(am__append_2550) \ + $(am__append_2557) $(am__append_2564) $(am__append_2571) \ + $(am__append_2578) $(am__append_2585) $(am__append_2592) \ + $(am__append_2599) $(am__append_2606) $(am__append_2613) \ + $(am__append_2620) $(am__append_2627) $(am__append_2634) \ + $(am__append_2641) $(am__append_2648) $(am__append_2655) \ + $(am__append_2662) $(am__append_2669) $(am__append_2676) \ + $(am__append_2683) $(am__append_2690) $(am__append_2697) \ + $(am__append_2704) $(am__append_2711) $(am__append_2718) \ + $(am__append_2725) $(am__append_2732) $(am__append_2739) \ + $(am__append_2746) $(am__append_2753) $(am__append_2760) \ + $(am__append_2767) $(am__append_2774) $(am__append_2781) \ + $(am__append_2788) $(am__append_2795) $(am__append_2802) \ + $(am__append_2809) $(am__append_2816) $(am__append_2823) \ + $(am__append_2830) $(am__append_2837) $(am__append_2844) \ + $(am__append_2851) $(am__append_2858) $(am__append_2865) \ + $(am__append_2872) $(am__append_2879) $(am__append_2886) \ + $(am__append_2893) $(am__append_2900) $(am__append_2907) \ + $(am__append_2914) $(am__append_2921) $(am__append_2928) \ + $(am__append_2935) $(am__append_2942) $(am__append_2949) \ + $(am__append_2956) $(am__append_2963) $(am__append_2970) \ + $(am__append_2977) $(am__append_2984) $(am__append_2991) \ + $(am__append_2998) $(am__append_3005) $(am__append_3012) \ + $(am__append_3019) $(am__append_3026) $(am__append_3033) \ + $(am__append_3040) $(am__append_3047) $(am__append_3054) \ + $(am__append_3061) $(am__append_3068) $(am__append_3075) \ + $(am__append_3082) $(am__append_3089) $(am__append_3096) \ + $(am__append_3103) $(am__append_3110) $(am__append_3117) \ + $(am__append_3124) $(am__append_3131) $(am__append_3138) \ + $(am__append_3145) $(am__append_3152) $(am__append_3159) \ + $(am__append_3166) $(am__append_3173) $(am__append_3180) \ + $(am__append_3187) $(am__append_3194) $(am__append_3201) \ + $(am__append_3208) $(am__append_3215) $(am__append_3222) \ + $(am__append_3229) $(am__append_3236) $(am__append_3243) \ + $(am__append_3250) $(am__append_3257) $(am__append_3264) \ + $(am__append_3271) $(am__append_3278) $(am__append_3285) \ + $(am__append_3292) $(am__append_3299) $(am__append_3306) \ + $(am__append_3313) $(am__append_3320) $(am__append_3327) \ + $(am__append_3334) $(am__append_3341) $(am__append_3348) \ + $(am__append_3355) $(am__append_3362) $(am__append_3369) \ + $(am__append_3376) $(am__append_3383) $(am__append_3390) \ + $(am__append_3397) $(am__append_3404) $(am__append_3411) \ + $(am__append_3418) $(am__append_3425) $(am__append_3432) \ + $(am__append_3439) $(am__append_3446) $(am__append_3453) \ + $(am__append_3460) $(am__append_3467) $(am__append_3474) \ + $(am__append_3481) $(am__append_3488) $(am__append_3495) \ + $(am__append_3502) $(am__append_3509) $(am__append_3516) \ + $(am__append_3523) $(am__append_3530) $(am__append_3537) \ + $(am__append_3544) $(am__append_3551) $(am__append_3558) \ + $(am__append_3565) $(am__append_3572) $(am__append_3579) \ + $(am__append_3586) $(am__append_3593) $(am__append_3600) \ + $(am__append_3607) $(am__append_3614) $(am__append_3621) \ + $(am__append_3628) $(am__append_3635) $(am__append_3642) \ + $(am__append_3649) $(am__append_3656) $(am__append_3663) \ + $(am__append_3670) $(am__append_3677) $(am__append_3684) \ + $(am__append_3691) $(am__append_3698) $(am__append_3705) \ + $(am__append_3712) $(am__append_3719) $(am__append_3726) \ + $(am__append_3733) $(am__append_3740) $(am__append_3747) \ + $(am__append_3754) $(am__append_3761) $(am__append_3768) \ + $(am__append_3775) $(am__append_3782) $(am__append_3789) \ + $(am__append_3796) $(am__append_3803) $(am__append_3810) \ + $(am__append_3817) $(am__append_3824) $(am__append_3831) \ + $(am__append_3838) $(am__append_3845) $(am__append_3852) \ + $(am__append_3859) $(am__append_3866) $(am__append_3873) \ + $(am__append_3880) $(am__append_3887) $(am__append_3894) \ + $(am__append_3901) $(am__append_3908) $(am__append_3915) \ + $(am__append_3922) $(am__append_3929) $(am__append_3936) \ + $(am__append_3943) $(am__append_3950) $(am__append_3957) \ + $(am__append_3964) $(am__append_3971) $(am__append_3978) \ + $(am__append_3985) $(am__append_3992) $(am__append_3999) \ + $(am__append_4006) $(am__append_4013) $(am__append_4020) \ + $(am__append_4027) $(am__append_4034) $(am__append_4041) \ + $(am__append_4048) $(am__append_4055) $(am__append_4062) \ + $(am__append_4069) $(am__append_4076) $(am__append_4083) \ + $(am__append_4090) $(am__append_4097) $(am__append_4104) \ + $(am__append_4111) $(am__append_4118) $(am__append_4125) \ + $(am__append_4132) $(am__append_4139) $(am__append_4146) \ + $(am__append_4153) $(am__append_4160) $(am__append_4167) \ + $(am__append_4174) $(am__append_4181) $(am__append_4188) \ + $(am__append_4195) $(am__append_4202) $(am__append_4209) \ + $(am__append_4216) $(am__append_4223) $(am__append_4230) \ + $(am__append_4237) $(am__append_4244) $(am__append_4251) \ + $(am__append_4258) $(am__append_4265) $(am__append_4272) \ + $(am__append_4279) $(am__append_4286) $(am__append_4293) \ + $(am__append_4300) $(am__append_4307) $(am__append_4314) \ + $(am__append_4321) $(am__append_4328) $(am__append_4335) \ + $(am__append_4342) $(am__append_4349) $(am__append_4356) \ + $(am__append_4363) $(am__append_4370) $(am__append_4377) \ + $(am__append_4384) $(am__append_4391) $(am__append_4398) \ + $(am__append_4405) $(am__append_4412) $(am__append_4419) \ + $(am__append_4426) $(am__append_4433) $(am__append_4440) \ + $(am__append_4447) $(am__append_4454) $(am__append_4461) \ + $(am__append_4468) $(am__append_4475) $(am__append_4482) \ + $(am__append_4489) $(am__append_4496) $(am__append_4503) \ + $(am__append_4510) $(am__append_4517) $(am__append_4524) \ + $(am__append_4531) $(am__append_4538) $(am__append_4545) \ + $(am__append_4552) $(am__append_4559) $(am__append_4566) \ + $(am__append_4573) $(am__append_4580) $(am__append_4587) \ + $(am__append_4594) $(am__append_4601) $(am__append_4608) \ + $(am__append_4615) $(am__append_4622) $(am__append_4629) \ + $(am__append_4636) $(am__append_4643) $(am__append_4650) \ + $(am__append_4657) $(am__append_4664) $(am__append_4671) \ + $(am__append_4678) $(am__append_4685) $(am__append_4692) \ + $(am__append_4699) $(am__append_4706) $(am__append_4713) \ + $(am__append_4720) $(am__append_4727) $(am__append_4734) \ + $(am__append_4741) $(am__append_4748) $(am__append_4755) \ + $(am__append_4762) $(am__append_4769) $(am__append_4776) \ + $(am__append_4783) $(am__append_4790) $(am__append_4797) \ + $(am__append_4804) $(am__append_4811) $(am__append_4818) \ + $(am__append_4825) $(am__append_4832) $(am__append_4839) \ + $(am__append_4846) $(am__append_4853) $(am__append_4860) \ + $(am__append_4867) $(am__append_4874) $(am__append_4881) \ + $(am__append_4888) $(am__append_4895) $(am__append_4902) \ + $(am__append_4909) $(am__append_4916) $(am__append_4923) \ + $(am__append_4930) $(am__append_4937) $(am__append_4944) \ + $(am__append_4951) $(am__append_4958) $(am__append_4965) \ + $(am__append_4972) $(am__append_4979) $(am__append_4986) \ + $(am__append_4993) $(am__append_5000) $(am__append_5007) \ + $(am__append_5014) $(am__append_5021) $(am__append_5028) \ + $(am__append_5035) $(am__append_5042) $(am__append_5049) \ + $(am__append_5056) $(am__append_5063) $(am__append_5070) \ + $(am__append_5077) $(am__append_5084) $(am__append_5091) \ + $(am__append_5098) $(am__append_5105) $(am__append_5112) \ + $(am__append_5119) $(am__append_5126) $(am__append_5133) \ + $(am__append_5140) $(am__append_5147) $(am__append_5154) \ + $(am__append_5161) $(am__append_5168) $(am__append_5175) \ + $(am__append_5182) $(am__append_5189) $(am__append_5196) \ + $(am__append_5203) $(am__append_5210) $(am__append_5217) \ + $(am__append_5224) $(am__append_5231) $(am__append_5238) \ + $(am__append_5245) $(am__append_5252) $(am__append_5259) \ + $(am__append_5266) $(am__append_5273) $(am__append_5280) \ + $(am__append_5287) $(am__append_5294) $(am__append_5301) \ + $(am__append_5308) $(am__append_5315) $(am__append_5322) \ + $(am__append_5329) $(am__append_5336) $(am__append_5343) \ + $(am__append_5350) $(am__append_5357) $(am__append_5364) \ + $(am__append_5371) $(am__append_5378) $(am__append_5385) \ + $(am__append_5392) $(am__append_5399) $(am__append_5406) \ + $(am__append_5413) $(am__append_5420) $(am__append_5427) \ + $(am__append_5434) $(am__append_5441) $(am__append_5448) \ + $(am__append_5455) $(am__append_5462) $(am__append_5469) \ + $(am__append_5476) $(am__append_5483) $(am__append_5490) \ + $(am__append_5497) $(am__append_5504) $(am__append_5511) \ + $(am__append_5518) $(am__append_5525) $(am__append_5532) \ + $(am__append_5539) $(am__append_5546) $(am__append_5553) \ + $(am__append_5560) $(am__append_5567) $(am__append_5574) \ + $(am__append_5581) $(am__append_5588) $(am__append_5595) \ + $(am__append_5602) $(am__append_5609) $(am__append_5616) \ + $(am__append_5623) $(am__append_5630) $(am__append_5637) \ + $(am__append_5644) $(am__append_5651) $(am__append_5658) \ + $(am__append_5665) $(am__append_5672) $(am__append_5679) \ + $(am__append_5686) $(am__append_5693) $(am__append_5700) \ + $(am__append_5707) $(am__append_5714) $(am__append_5721) \ + $(am__append_5728) $(am__append_5735) $(am__append_5742) \ + $(am__append_5749) $(am__append_5756) $(am__append_5763) \ + $(am__append_5770) $(am__append_5777) $(am__append_5784) \ + $(am__append_5791) $(am__append_5798) $(am__append_5805) \ + $(am__append_5812) $(am__append_5819) $(am__append_5826) \ + $(am__append_5833) $(am__append_5840) $(am__append_5847) \ + $(am__append_5854) $(am__append_5861) $(am__append_5868) \ + $(am__append_5875) $(am__append_5882) $(am__append_5889) \ + $(am__append_5896) $(am__append_5903) $(am__append_5910) \ + $(am__append_5917) $(am__append_5924) $(am__append_5931) \ + $(am__append_5938) $(am__append_5945) $(am__append_5952) \ + $(am__append_5959) $(am__append_5966) $(am__append_5973) \ + $(am__append_5980) $(am__append_5987) $(am__append_5994) \ + $(am__append_6001) $(am__append_6008) $(am__append_6015) \ + $(am__append_6022) $(am__append_6029) $(am__append_6036) \ + $(am__append_6043) $(am__append_6050) $(am__append_6057) \ + $(am__append_6064) $(am__append_6071) $(am__append_6078) \ + $(am__append_6085) $(am__append_6092) $(am__append_6099) \ + $(am__append_6106) $(am__append_6113) $(am__append_6120) \ + $(am__append_6127) $(am__append_6134) $(am__append_6141) \ + $(am__append_6148) $(am__append_6155) $(am__append_6162) \ + $(am__append_6169) $(am__append_6176) $(am__append_6183) \ + $(am__append_6190) $(am__append_6197) $(am__append_6204) \ + $(am__append_6211) $(am__append_6218) $(am__append_6225) \ + $(am__append_6232) $(am__append_6239) $(am__append_6246) \ + $(am__append_6253) $(am__append_6260) $(am__append_6267) \ + $(am__append_6274) $(am__append_6281) $(am__append_6288) \ + $(am__append_6295) $(am__append_6302) $(am__append_6309) \ + $(am__append_6316) $(am__append_6323) $(am__append_6330) \ + $(am__append_6337) $(am__append_6344) $(am__append_6351) \ + $(am__append_6358) $(am__append_6365) $(am__append_6372) \ + $(am__append_6379) $(am__append_6386) $(am__append_6393) \ + $(am__append_6400) $(am__append_6407) $(am__append_6414) \ + $(am__append_6421) $(am__append_6428) $(am__append_6435) \ + $(am__append_6442) $(am__append_6449) $(am__append_6456) \ + $(am__append_6463) $(am__append_6470) $(am__append_6477) \ + $(am__append_6484) $(am__append_6491) $(am__append_6498) \ + $(am__append_6505) $(am__append_6512) $(am__append_6519) \ + $(am__append_6526) $(am__append_6533) $(am__append_6540) \ + $(am__append_6547) $(am__append_6554) $(am__append_6561) \ + $(am__append_6568) $(am__append_6575) $(am__append_6582) \ + $(am__append_6589) $(am__append_6596) $(am__append_6603) \ + $(am__append_6610) $(am__append_6617) $(am__append_6624) \ + $(am__append_6631) $(am__append_6638) $(am__append_6645) \ + $(am__append_6652) $(am__append_6659) $(am__append_6666) \ + $(am__append_6673) $(am__append_6680) $(am__append_6687) \ + $(am__append_6694) $(am__append_6701) $(am__append_6708) \ + $(am__append_6715) $(am__append_6722) $(am__append_6729) \ + $(am__append_6736) $(am__append_6743) $(am__append_6750) \ + $(am__append_6757) $(am__append_6764) $(am__append_6771) \ + $(am__append_6778) $(am__append_6785) $(am__append_6792) \ + $(am__append_6799) $(am__append_6806) $(am__append_6813) \ + $(am__append_6820) $(am__append_6827) $(am__append_6834) \ + $(am__append_6841) $(am__append_6848) $(am__append_6855) \ + $(am__append_6862) $(am__append_6869) $(am__append_6876) \ + $(am__append_6883) $(am__append_6890) $(am__append_6897) \ + $(am__append_6904) $(am__append_6911) $(am__append_6918) \ + $(am__append_6925) $(am__append_6932) $(am__append_6939) \ + $(am__append_6946) $(am__append_6953) $(am__append_6960) \ + $(am__append_6967) $(am__append_6974) $(am__append_6981) \ + $(am__append_6988) $(am__append_6995) $(am__append_7002) \ + $(am__append_7009) $(am__append_7016) $(am__append_7023) \ + $(am__append_7030) $(am__append_7037) $(am__append_7044) \ + $(am__append_7051) $(am__append_7058) $(am__append_7065) \ + $(am__append_7072) $(am__append_7079) $(am__append_7086) \ + $(am__append_7093) $(am__append_7100) $(am__append_7107) \ + $(am__append_7114) $(am__append_7121) $(am__append_7128) \ + $(am__append_7135) $(am__append_7142) $(am__append_7149) \ + $(am__append_7156) $(am__append_7163) $(am__append_7170) \ + $(am__append_7177) $(am__append_7184) $(am__append_7191) \ + $(am__append_7198) $(am__append_7205) $(am__append_7212) \ + $(am__append_7219) $(am__append_7226) $(am__append_7233) \ + $(am__append_7240) $(am__append_7247) $(am__append_7254) \ + $(am__append_7261) $(am__append_7268) $(am__append_7275) \ + $(am__append_7282) $(am__append_7289) $(am__append_7296) \ + $(am__append_7303) $(am__append_7310) $(am__append_7317) \ + $(am__append_7324) $(am__append_7331) $(am__append_7338) \ + $(am__append_7345) $(am__append_7352) $(am__append_7359) \ + $(am__append_7366) $(am__append_7373) $(am__append_7380) \ + $(am__append_7387) $(am__append_7394) $(am__append_7401) \ + $(am__append_7408) $(am__append_7415) $(am__append_7422) \ + $(am__append_7429) $(am__append_7436) $(am__append_7443) \ + $(am__append_7450) $(am__append_7457) $(am__append_7464) \ + $(am__append_7471) $(am__append_7478) $(am__append_7485) \ + $(am__append_7492) $(am__append_7499) $(am__append_7506) \ + $(am__append_7513) $(am__append_7520) $(am__append_7527) \ + $(am__append_7534) $(am__append_7541) $(am__append_7548) \ + $(am__append_7555) $(am__append_7562) $(am__append_7569) \ + $(am__append_7576) $(am__append_7583) $(am__append_7590) \ + $(am__append_7597) $(am__append_7604) $(am__append_7611) \ + $(am__append_7618) $(am__append_7625) $(am__append_7632) \ + $(am__append_7639) $(am__append_7646) $(am__append_7653) \ + $(am__append_7660) $(am__append_7667) $(am__append_7674) \ + $(am__append_7681) $(am__append_7688) $(am__append_7695) \ + $(am__append_7702) $(am__append_7709) $(am__append_7716) \ + $(am__append_7723) $(am__append_7730) $(am__append_7737) \ + $(am__append_7744) $(am__append_7751) $(am__append_7758) \ + $(am__append_7765) $(am__append_7772) $(am__append_7779) \ + $(am__append_7786) $(am__append_7793) $(am__append_7800) \ + $(am__append_7807) $(am__append_7814) $(am__append_7821) \ + $(am__append_7828) $(am__append_7835) $(am__append_7842) \ + $(am__append_7849) $(am__append_7856) $(am__append_7863) \ + $(am__append_7870) $(am__append_7877) $(am__append_7884) \ + $(am__append_7891) $(am__append_7898) $(am__append_7905) \ + $(am__append_7912) $(am__append_7919) $(am__append_7926) \ + $(am__append_7933) $(am__append_7940) $(am__append_7947) \ + $(am__append_7954) $(am__append_7961) $(am__append_7968) \ + $(am__append_7975) $(am__append_7982) $(am__append_7989) \ + $(am__append_7996) $(am__append_8003) $(am__append_8010) \ + $(am__append_8017) $(am__append_8024) $(am__append_8031) \ + $(am__append_8038) $(am__append_8045) $(am__append_8052) \ + $(am__append_8059) $(am__append_8066) $(am__append_8073) \ + $(am__append_8080) $(am__append_8087) $(am__append_8094) \ + $(am__append_8101) $(am__append_8108) $(am__append_8115) \ + $(am__append_8122) $(am__append_8129) $(am__append_8136) \ + $(am__append_8143) $(am__append_8150) $(am__append_8157) \ + $(am__append_8164) $(am__append_8171) $(am__append_8178) \ + $(am__append_8185) $(am__append_8192) $(am__append_8199) \ + $(am__append_8206) $(am__append_8213) $(am__append_8220) \ + $(am__append_8227) $(am__append_8234) $(am__append_8241) \ + $(am__append_8248) $(am__append_8255) $(am__append_8262) \ + $(am__append_8269) $(am__append_8276) $(am__append_8283) \ + $(am__append_8290) $(am__append_8297) $(am__append_8304) \ + $(am__append_8311) $(am__append_8318) $(am__append_8325) \ + $(am__append_8332) $(am__append_8339) $(am__append_8346) \ + $(am__append_8353) $(am__append_8360) $(am__append_8367) \ + $(am__append_8374) $(am__append_8381) $(am__append_8388) \ + $(am__append_8395) $(am__append_8402) $(am__append_8409) \ + $(am__append_8416) $(am__append_8423) $(am__append_8430) \ + $(am__append_8437) $(am__append_8444) $(am__append_8451) \ + $(am__append_8458) $(am__append_8465) $(am__append_8472) \ + $(am__append_8479) $(am__append_8486) $(am__append_8493) \ + $(am__append_8500) $(am__append_8507) $(am__append_8514) \ + $(am__append_8521) $(am__append_8528) $(am__append_8535) \ + $(am__append_8542) $(am__append_8549) $(am__append_8556) \ + $(am__append_8563) $(am__append_8570) $(am__append_8577) \ + $(am__append_8584) $(am__append_8591) $(am__append_8598) \ + $(am__append_8605) $(am__append_8612) $(am__append_8619) \ + $(am__append_8626) $(am__append_8633) $(am__append_8640) \ + $(am__append_8647) $(am__append_8654) $(am__append_8661) \ + $(am__append_8668) $(am__append_8675) $(am__append_8682) \ + $(am__append_8689) $(am__append_8696) $(am__append_8703) \ + $(am__append_8710) $(am__append_8717) $(am__append_8724) \ + $(am__append_8731) $(am__append_8738) $(am__append_8745) \ + $(am__append_8752) $(am__append_8759) $(am__append_8766) \ + $(am__append_8773) $(am__append_8780) $(am__append_8787) \ + $(am__append_8794) $(am__append_8801) $(am__append_8808) \ + $(am__append_8815) $(am__append_8822) $(am__append_8829) \ + $(am__append_8836) $(am__append_8843) $(am__append_8850) \ + $(am__append_8857) $(am__append_8864) $(am__append_8871) \ + $(am__append_8878) $(am__append_8885) $(am__append_8892) \ + $(am__append_8899) $(am__append_8906) $(am__append_8913) \ + $(am__append_8920) $(am__append_8927) $(am__append_8934) \ + $(am__append_8941) $(am__append_8948) $(am__append_8955) \ + $(am__append_8962) $(am__append_8969) $(am__append_8976) \ + $(am__append_8983) $(am__append_8990) $(am__append_8997) \ + $(am__append_9004) $(am__append_9011) $(am__append_9018) \ + $(am__append_9025) $(am__append_9032) $(am__append_9039) \ + $(am__append_9046) $(am__append_9053) $(am__append_9060) \ + $(am__append_9067) $(am__append_9074) $(am__append_9081) \ + $(am__append_9088) $(am__append_9095) $(am__append_9102) \ + $(am__append_9109) $(am__append_9116) $(am__append_9123) \ + $(am__append_9130) $(am__append_9137) $(am__append_9144) \ + $(am__append_9151) $(am__append_9158) $(am__append_9165) \ + $(am__append_9172) $(am__append_9179) $(am__append_9186) \ + $(am__append_9193) $(am__append_9200) $(am__append_9207) \ + $(am__append_9214) $(am__append_9221) $(am__append_9228) \ + $(am__append_9235) $(am__append_9242) $(am__append_9249) \ + $(am__append_9256) $(am__append_9263) $(am__append_9270) \ + $(am__append_9277) $(am__append_9284) $(am__append_9291) \ + $(am__append_9298) $(am__append_9305) $(am__append_9312) \ + $(am__append_9319) $(am__append_9326) $(am__append_9333) \ + $(am__append_9340) $(am__append_9347) $(am__append_9354) \ + $(am__append_9361) $(am__append_9368) $(am__append_9375) \ + $(am__append_9382) $(am__append_9389) $(am__append_9396) \ + $(am__append_9403) $(am__append_9410) $(am__append_9417) \ + $(am__append_9424) $(am__append_9431) $(am__append_9438) \ + $(am__append_9445) $(am__append_9452) $(am__append_9459) \ + $(am__append_9466) $(am__append_9473) $(am__append_9480) \ + $(am__append_9487) $(am__append_9494) $(am__append_9501) \ + $(am__append_9508) $(am__append_9515) $(am__append_9522) \ + $(am__append_9529) $(am__append_9536) $(am__append_9543) \ + $(am__append_9550) $(am__append_9557) $(am__append_9564) \ + $(am__append_9571) $(am__append_9578) $(am__append_9585) \ + $(am__append_9592) $(am__append_9599) $(am__append_9606) \ + $(am__append_9613) $(am__append_9620) $(am__append_9627) \ + $(am__append_9634) $(am__append_9641) $(am__append_9648) \ + $(am__append_9655) $(am__append_9662) $(am__append_9669) \ + $(am__append_9676) $(am__append_9683) $(am__append_9690) \ + $(am__append_9697) $(am__append_9704) $(am__append_9711) \ + $(am__append_9718) $(am__append_9725) $(am__append_9732) \ + $(am__append_9739) $(am__append_9746) $(am__append_9753) \ + $(am__append_9760) $(am__append_9767) $(am__append_9774) \ + $(am__append_9781) $(am__append_9788) $(am__append_9795) \ + $(am__append_9802) $(am__append_9809) $(am__append_9816) \ + $(am__append_9823) $(am__append_9830) $(am__append_9837) \ + $(am__append_9844) $(am__append_9851) $(am__append_9858) \ + $(am__append_9865) $(am__append_9872) $(am__append_9879) \ + $(am__append_9886) $(am__append_9893) $(am__append_9900) \ + $(am__append_9907) $(am__append_9914) $(am__append_9921) \ + $(am__append_9928) $(am__append_9935) $(am__append_9942) \ + $(am__append_9949) $(am__append_9956) $(am__append_9963) \ + $(am__append_9970) $(am__append_9977) $(am__append_9984) \ + $(am__append_9991) $(am__append_9998) $(am__append_10005) \ + $(am__append_10012) $(am__append_10019) $(am__append_10026) \ + $(am__append_10033) $(am__append_10040) $(am__append_10047) \ + $(am__append_10054) $(am__append_10061) $(am__append_10068) \ + $(am__append_10075) $(am__append_10082) $(am__append_10089) \ + $(am__append_10096) $(am__append_10103) $(am__append_10110) \ + $(am__append_10117) $(am__append_10124) $(am__append_10131) \ + $(am__append_10138) $(am__append_10145) $(am__append_10152) \ + $(am__append_10159) $(am__append_10166) $(am__append_10173) \ + $(am__append_10180) $(am__append_10187) $(am__append_10194) \ + $(am__append_10201) $(am__append_10208) $(am__append_10215) \ + $(am__append_10222) $(am__append_10229) $(am__append_10236) \ + $(am__append_10243) $(am__append_10250) $(am__append_10257) \ + $(am__append_10264) $(am__append_10271) $(am__append_10278) \ + $(am__append_10285) $(am__append_10292) $(am__append_10299) \ + $(am__append_10306) $(am__append_10313) $(am__append_10320) \ + $(am__append_10327) $(am__append_10334) $(am__append_10341) \ + $(am__append_10348) $(am__append_10355) $(am__append_10362) \ + $(am__append_10369) $(am__append_10376) $(am__append_10383) \ + $(am__append_10390) $(am__append_10397) $(am__append_10404) \ + $(am__append_10411) $(am__append_10418) $(am__append_10425) \ + $(am__append_10432) $(am__append_10439) $(am__append_10446) \ + $(am__append_10453) $(am__append_10460) $(am__append_10467) \ + $(am__append_10474) $(am__append_10481) $(am__append_10488) \ + $(am__append_10495) $(am__append_10502) $(am__append_10509) \ + $(am__append_10516) $(am__append_10523) $(am__append_10530) \ + $(am__append_10537) $(am__append_10544) $(am__append_10551) \ + $(am__append_10558) $(am__append_10565) $(am__append_10572) \ + $(am__append_10579) $(am__append_10586) $(am__append_10593) \ + $(am__append_10600) $(am__append_10607) $(am__append_10614) \ + $(am__append_10621) $(am__append_10628) $(am__append_10635) \ + $(am__append_10642) $(am__append_10649) $(am__append_10656) \ + $(am__append_10663) $(am__append_10670) $(am__append_10677) \ + $(am__append_10684) $(am__append_10691) $(am__append_10698) \ + $(am__append_10705) $(am__append_10712) $(am__append_10719) \ + $(am__append_10726) $(am__append_10733) $(am__append_10740) \ + $(am__append_10747) $(am__append_10754) $(am__append_10761) \ + $(am__append_10768) $(am__append_10775) $(am__append_10782) \ + $(am__append_10789) $(am__append_10796) $(am__append_10803) \ + $(am__append_10810) $(am__append_10817) $(am__append_10824) \ + $(am__append_10831) $(am__append_10838) $(am__append_10845) \ + $(am__append_10852) $(am__append_10859) $(am__append_10866) \ + $(am__append_10873) $(am__append_10880) $(am__append_10887) \ + $(am__append_10894) $(am__append_10901) $(am__append_10908) \ + $(am__append_10915) $(am__append_10922) $(am__append_10929) \ + $(am__append_10936) $(am__append_10943) $(am__append_10950) \ + $(am__append_10957) $(am__append_10964) $(am__append_10971) \ + $(am__append_10978) $(am__append_10985) $(am__append_10992) \ + $(am__append_10999) $(am__append_11006) $(am__append_11013) \ + $(am__append_11020) $(am__append_11027) $(am__append_11034) \ + $(am__append_11041) $(am__append_11048) $(am__append_11055) \ + $(am__append_11062) $(am__append_11069) $(am__append_11076) \ + $(am__append_11083) $(am__append_11090) $(am__append_11097) \ + $(am__append_11104) $(am__append_11111) $(am__append_11118) \ + $(am__append_11125) $(am__append_11132) $(am__append_11139) \ + $(am__append_11146) $(am__append_11153) $(am__append_11160) \ + $(am__append_11167) $(am__append_11174) $(am__append_11181) \ + $(am__append_11188) $(am__append_11195) $(am__append_11202) \ + $(am__append_11209) $(am__append_11216) $(am__append_11223) \ + $(am__append_11230) $(am__append_11237) $(am__append_11244) \ + $(am__append_11251) $(am__append_11258) $(am__append_11265) \ + $(am__append_11272) $(am__append_11279) $(am__append_11286) \ + $(am__append_11293) $(am__append_11300) $(am__append_11307) \ + $(am__append_11314) $(am__append_11321) $(am__append_11328) \ + $(am__append_11335) $(am__append_11342) $(am__append_11349) \ + $(am__append_11356) $(am__append_11363) $(am__append_11370) \ + $(am__append_11377) $(am__append_11384) $(am__append_11391) \ + $(am__append_11398) $(am__append_11405) $(am__append_11412) \ + $(am__append_11419) $(am__append_11426) $(am__append_11433) \ + $(am__append_11440) $(am__append_11447) $(am__append_11454) \ + $(am__append_11461) $(am__append_11468) $(am__append_11475) \ + $(am__append_11482) $(am__append_11489) $(am__append_11496) \ + $(am__append_11503) $(am__append_11510) $(am__append_11517) \ + $(am__append_11524) $(am__append_11531) $(am__append_11538) \ + $(am__append_11545) $(am__append_11552) $(am__append_11559) \ + $(am__append_11566) $(am__append_11573) $(am__append_11580) \ + $(am__append_11587) $(am__append_11594) $(am__append_11601) \ + $(am__append_11608) $(am__append_11615) $(am__append_11622) \ + $(am__append_11629) $(am__append_11636) $(am__append_11643) \ + $(am__append_11650) $(am__append_11657) $(am__append_11664) \ + $(am__append_11671) $(am__append_11678) $(am__append_11685) \ + $(am__append_11692) $(am__append_11699) $(am__append_11706) \ + $(am__append_11713) $(am__append_11720) $(am__append_11727) \ + $(am__append_11734) $(am__append_11741) $(am__append_11748) \ + $(am__append_11755) $(am__append_11762) $(am__append_11769) \ + $(am__append_11776) $(am__append_11783) $(am__append_11790) \ + $(am__append_11797) $(am__append_11804) $(am__append_11811) \ + $(am__append_11818) $(am__append_11825) $(am__append_11832) \ + $(am__append_11839) $(am__append_11846) $(am__append_11853) \ + $(am__append_11860) $(am__append_11867) $(am__append_11874) \ + $(am__append_11881) $(am__append_11888) $(am__append_11895) \ + $(am__append_11902) $(am__append_11909) $(am__append_11916) \ + $(am__append_11923) $(am__append_11930) $(am__append_11937) \ + $(am__append_11944) $(am__append_11951) $(am__append_11958) \ + $(am__append_11965) $(am__append_11972) $(am__append_11979) \ + $(am__append_11986) $(am__append_11993) $(am__append_12000) \ + $(am__append_12007) $(am__append_12014) $(am__append_12021) \ + $(am__append_12028) $(am__append_12035) $(am__append_12042) \ + $(am__append_12049) $(am__append_12056) $(am__append_12063) \ + $(am__append_12070) $(am__append_12077) $(am__append_12084) \ + $(am__append_12091) $(am__append_12098) $(am__append_12105) \ + $(am__append_12112) $(am__append_12119) $(am__append_12126) \ + $(am__append_12133) +KERNEL_HEADER_FILES = $(top_srcdir)/include/grub/cache.h \ + $(top_srcdir)/include/grub/command.h \ + $(top_srcdir)/include/grub/device.h \ + $(top_srcdir)/include/grub/disk.h \ + $(top_srcdir)/include/grub/dl.h \ + $(top_srcdir)/include/grub/env.h \ + $(top_srcdir)/include/grub/env_private.h \ + $(top_srcdir)/include/grub/err.h \ + $(top_srcdir)/include/grub/file.h \ + $(top_srcdir)/include/grub/fs.h \ + $(top_srcdir)/include/grub/i18n.h \ + $(top_srcdir)/include/grub/kernel.h \ + $(top_srcdir)/include/grub/list.h \ + $(top_srcdir)/include/grub/misc.h \ + $(top_srcdir)/include/grub/mm.h \ + $(top_srcdir)/include/grub/parser.h \ + $(top_srcdir)/include/grub/partition.h \ + $(top_srcdir)/include/grub/term.h \ + $(top_srcdir)/include/grub/time.h \ + $(top_srcdir)/include/grub/mm_private.h \ + $(top_srcdir)/include/grub/boot.h \ + $(top_srcdir)/include/grub/libgcc.h \ + $(top_srcdir)/include/grub/memory.h $(am__append_12394) \ + $(am__append_12395) $(am__append_12396) $(am__append_12397) \ + $(am__append_12398) $(am__append_12399) $(am__append_12400) \ + $(am__append_12401) $(am__append_12402) $(am__append_12403) \ + $(am__append_12404) $(am__append_12405) $(am__append_12406) \ + $(am__append_12407) +man_MANS = $(am__append_12324) +noinst_DATA = kernel_syms.lst +pkglib_DATA = +bin_SCRIPTS = +sbin_SCRIPTS = +platform_DATA = $(am__append_12138) $(am__append_12143) \ + $(am__append_12148) $(am__append_12153) $(am__append_12158) \ + $(am__append_12163) $(am__append_12168) $(am__append_12173) \ + $(am__append_12178) $(am__append_12183) $(am__append_12188) \ + $(am__append_12193) $(am__append_12198) $(am__append_12203) \ + $(am__append_12208) $(am__append_12213) $(am__append_12218) \ + $(am__append_12223) fs.lst command.lst partmap.lst \ + terminal.lst parttool.lst video.lst crypto.lst moddep.lst \ + $(MOD_FILES) $(am__append_12409) +check_SCRIPTS = +grubconf_DATA = +noinst_SCRIPTS = $(am__append_12329) $(am__append_12331) \ + $(am__append_12334) $(am__append_12337) $(am__append_12340) \ + $(am__append_12343) $(am__append_12346) $(am__append_12349) \ + $(am__append_12352) $(am__append_12355) $(am__append_12358) \ + $(am__append_12361) $(am__append_12364) $(am__append_12367) \ + $(am__append_12370) $(am__append_12373) $(am__append_12376) \ + $(am__append_12379) $(am__append_12382) $(am__append_12385) \ + $(am__append_12388) $(am__append_12391) +pkglib_SCRIPTS = +grubconf_SCRIPTS = +noinst_LIBRARIES = $(am__append_12224) $(am__append_12233) \ + $(am__append_12242) $(am__append_12251) $(am__append_12260) \ + $(am__append_12269) $(am__append_12278) $(am__append_12287) \ + $(am__append_12296) $(am__append_12305) $(am__append_12314) +dist_noinst_DATA = $(am__append_12330) $(am__append_12333) \ + $(am__append_12336) $(am__append_12339) $(am__append_12342) \ + $(am__append_12345) $(am__append_12348) $(am__append_12351) \ + $(am__append_12354) $(am__append_12357) $(am__append_12360) \ + $(am__append_12363) $(am__append_12366) $(am__append_12369) \ + $(am__append_12372) $(am__append_12375) $(am__append_12378) \ + $(am__append_12381) $(am__append_12384) $(am__append_12387) \ + $(am__append_12390) $(am__append_12393) +EXTRA_DIST = $(am__append_12) $(am__append_19) $(am__append_26) \ + $(am__append_33) $(am__append_40) $(am__append_47) \ + $(am__append_54) $(am__append_61) $(am__append_68) \ + $(am__append_75) $(am__append_82) $(am__append_89) \ + $(am__append_96) $(am__append_103) $(am__append_110) \ + $(am__append_117) $(am__append_124) $(am__append_131) \ + $(am__append_138) $(am__append_145) $(am__append_152) \ + $(am__append_159) $(am__append_166) $(am__append_173) \ + $(am__append_180) $(am__append_187) $(am__append_194) \ + $(am__append_201) $(am__append_208) $(am__append_215) \ + $(am__append_222) $(am__append_229) $(am__append_236) \ + $(am__append_243) $(am__append_250) $(am__append_257) \ + $(am__append_264) $(am__append_271) $(am__append_278) \ + $(am__append_285) $(am__append_292) $(am__append_299) \ + $(am__append_306) $(am__append_313) $(am__append_320) \ + $(am__append_327) $(am__append_334) $(am__append_341) \ + $(am__append_348) $(am__append_355) $(am__append_362) \ + $(am__append_369) $(am__append_376) $(am__append_383) \ + $(am__append_390) $(am__append_397) $(am__append_404) \ + $(am__append_411) $(am__append_418) $(am__append_425) \ + $(am__append_432) $(am__append_439) $(am__append_446) \ + $(am__append_453) $(am__append_460) $(am__append_467) \ + $(am__append_474) $(am__append_481) $(am__append_488) \ + $(am__append_495) $(am__append_502) $(am__append_509) \ + $(am__append_516) $(am__append_523) $(am__append_530) \ + $(am__append_537) $(am__append_544) $(am__append_551) \ + $(am__append_558) $(am__append_565) $(am__append_572) \ + $(am__append_579) $(am__append_586) $(am__append_593) \ + $(am__append_600) $(am__append_607) $(am__append_614) \ + $(am__append_621) $(am__append_628) $(am__append_635) \ + $(am__append_642) $(am__append_649) $(am__append_656) \ + $(am__append_663) $(am__append_670) $(am__append_677) \ + $(am__append_684) $(am__append_691) $(am__append_698) \ + $(am__append_705) $(am__append_712) $(am__append_719) \ + $(am__append_726) $(am__append_733) $(am__append_740) \ + $(am__append_747) $(am__append_754) $(am__append_761) \ + $(am__append_768) $(am__append_775) $(am__append_782) \ + $(am__append_789) $(am__append_796) $(am__append_803) \ + $(am__append_810) $(am__append_817) $(am__append_824) \ + $(am__append_831) $(am__append_838) $(am__append_845) \ + $(am__append_852) $(am__append_859) $(am__append_866) \ + $(am__append_873) $(am__append_880) $(am__append_887) \ + $(am__append_894) $(am__append_901) $(am__append_908) \ + $(am__append_915) $(am__append_922) $(am__append_929) \ + $(am__append_936) $(am__append_943) $(am__append_950) \ + $(am__append_957) $(am__append_964) $(am__append_971) \ + $(am__append_978) $(am__append_985) $(am__append_992) \ + $(am__append_999) $(am__append_1006) $(am__append_1013) \ + $(am__append_1020) $(am__append_1027) $(am__append_1034) \ + $(am__append_1041) $(am__append_1048) $(am__append_1055) \ + $(am__append_1062) $(am__append_1069) $(am__append_1076) \ + $(am__append_1083) $(am__append_1090) $(am__append_1097) \ + $(am__append_1104) $(am__append_1111) $(am__append_1118) \ + $(am__append_1125) $(am__append_1132) $(am__append_1139) \ + $(am__append_1146) $(am__append_1153) $(am__append_1160) \ + $(am__append_1167) $(am__append_1174) $(am__append_1181) \ + $(am__append_1188) $(am__append_1195) $(am__append_1202) \ + $(am__append_1209) $(am__append_1216) $(am__append_1223) \ + $(am__append_1230) $(am__append_1237) $(am__append_1244) \ + $(am__append_1251) $(am__append_1258) $(am__append_1265) \ + $(am__append_1272) $(am__append_1279) $(am__append_1286) \ + $(am__append_1293) $(am__append_1300) $(am__append_1307) \ + $(am__append_1314) $(am__append_1321) $(am__append_1328) \ + $(am__append_1335) $(am__append_1342) $(am__append_1349) \ + $(am__append_1356) $(am__append_1363) $(am__append_1370) \ + $(am__append_1377) $(am__append_1384) $(am__append_1391) \ + $(am__append_1398) $(am__append_1405) $(am__append_1412) \ + $(am__append_1419) $(am__append_1426) $(am__append_1433) \ + $(am__append_1440) $(am__append_1447) $(am__append_1454) \ + $(am__append_1461) $(am__append_1468) $(am__append_1475) \ + $(am__append_1482) $(am__append_1489) $(am__append_1496) \ + $(am__append_1503) $(am__append_1510) $(am__append_1517) \ + $(am__append_1524) $(am__append_1531) $(am__append_1538) \ + $(am__append_1545) $(am__append_1552) $(am__append_1559) \ + $(am__append_1566) $(am__append_1573) $(am__append_1580) \ + $(am__append_1587) $(am__append_1594) $(am__append_1601) \ + $(am__append_1608) $(am__append_1615) $(am__append_1622) \ + $(am__append_1629) $(am__append_1636) $(am__append_1643) \ + $(am__append_1650) $(am__append_1657) $(am__append_1664) \ + $(am__append_1671) $(am__append_1678) $(am__append_1685) \ + $(am__append_1692) $(am__append_1699) $(am__append_1706) \ + $(am__append_1713) $(am__append_1720) $(am__append_1727) \ + $(am__append_1734) $(am__append_1741) $(am__append_1748) \ + $(am__append_1755) $(am__append_1762) $(am__append_1769) \ + $(am__append_1776) $(am__append_1783) $(am__append_1790) \ + $(am__append_1797) $(am__append_1804) $(am__append_1811) \ + $(am__append_1818) $(am__append_1825) $(am__append_1832) \ + $(am__append_1839) $(am__append_1846) $(am__append_1853) \ + $(am__append_1860) $(am__append_1867) $(am__append_1874) \ + $(am__append_1881) $(am__append_1888) $(am__append_1895) \ + $(am__append_1902) $(am__append_1909) $(am__append_1916) \ + $(am__append_1923) $(am__append_1930) $(am__append_1937) \ + $(am__append_1944) $(am__append_1951) $(am__append_1958) \ + $(am__append_1965) $(am__append_1972) $(am__append_1979) \ + $(am__append_1986) $(am__append_1993) $(am__append_2000) \ + $(am__append_2007) $(am__append_2014) $(am__append_2021) \ + $(am__append_2028) $(am__append_2035) $(am__append_2042) \ + $(am__append_2049) $(am__append_2056) $(am__append_2063) \ + $(am__append_2070) $(am__append_2077) $(am__append_2084) \ + $(am__append_2091) $(am__append_2098) $(am__append_2105) \ + $(am__append_2112) $(am__append_2119) $(am__append_2126) \ + $(am__append_2133) $(am__append_2140) $(am__append_2147) \ + $(am__append_2154) $(am__append_2161) $(am__append_2168) \ + $(am__append_2175) $(am__append_2182) $(am__append_2189) \ + $(am__append_2196) $(am__append_2203) $(am__append_2210) \ + $(am__append_2217) $(am__append_2224) $(am__append_2231) \ + $(am__append_2238) $(am__append_2245) $(am__append_2252) \ + $(am__append_2259) $(am__append_2266) $(am__append_2273) \ + $(am__append_2280) $(am__append_2287) $(am__append_2294) \ + $(am__append_2301) $(am__append_2308) $(am__append_2315) \ + $(am__append_2322) $(am__append_2329) $(am__append_2336) \ + $(am__append_2343) $(am__append_2350) $(am__append_2357) \ + $(am__append_2364) $(am__append_2371) $(am__append_2378) \ + $(am__append_2385) $(am__append_2392) $(am__append_2399) \ + $(am__append_2406) $(am__append_2413) $(am__append_2420) \ + $(am__append_2427) $(am__append_2434) $(am__append_2441) \ + $(am__append_2448) $(am__append_2455) $(am__append_2462) \ + $(am__append_2469) $(am__append_2476) $(am__append_2483) \ + $(am__append_2490) $(am__append_2497) $(am__append_2504) \ + $(am__append_2511) $(am__append_2518) $(am__append_2525) \ + $(am__append_2532) $(am__append_2539) $(am__append_2546) \ + $(am__append_2553) $(am__append_2560) $(am__append_2567) \ + $(am__append_2574) $(am__append_2581) $(am__append_2588) \ + $(am__append_2595) $(am__append_2602) $(am__append_2609) \ + $(am__append_2616) $(am__append_2623) $(am__append_2630) \ + $(am__append_2637) $(am__append_2644) $(am__append_2651) \ + $(am__append_2658) $(am__append_2665) $(am__append_2672) \ + $(am__append_2679) $(am__append_2686) $(am__append_2693) \ + $(am__append_2700) $(am__append_2707) $(am__append_2714) \ + $(am__append_2721) $(am__append_2728) $(am__append_2735) \ + $(am__append_2742) $(am__append_2749) $(am__append_2756) \ + $(am__append_2763) $(am__append_2770) $(am__append_2777) \ + $(am__append_2784) $(am__append_2791) $(am__append_2798) \ + $(am__append_2805) $(am__append_2812) $(am__append_2819) \ + $(am__append_2826) $(am__append_2833) $(am__append_2840) \ + $(am__append_2847) $(am__append_2854) $(am__append_2861) \ + $(am__append_2868) $(am__append_2875) $(am__append_2882) \ + $(am__append_2889) $(am__append_2896) $(am__append_2903) \ + $(am__append_2910) $(am__append_2917) $(am__append_2924) \ + $(am__append_2931) $(am__append_2938) $(am__append_2945) \ + $(am__append_2952) $(am__append_2959) $(am__append_2966) \ + $(am__append_2973) $(am__append_2980) $(am__append_2987) \ + $(am__append_2994) $(am__append_3001) $(am__append_3008) \ + $(am__append_3015) $(am__append_3022) $(am__append_3029) \ + $(am__append_3036) $(am__append_3043) $(am__append_3050) \ + $(am__append_3057) $(am__append_3064) $(am__append_3071) \ + $(am__append_3078) $(am__append_3085) $(am__append_3092) \ + $(am__append_3099) $(am__append_3106) $(am__append_3113) \ + $(am__append_3120) $(am__append_3127) $(am__append_3134) \ + $(am__append_3141) $(am__append_3148) $(am__append_3155) \ + $(am__append_3162) $(am__append_3169) $(am__append_3176) \ + $(am__append_3183) $(am__append_3190) $(am__append_3197) \ + $(am__append_3204) $(am__append_3211) $(am__append_3218) \ + $(am__append_3225) $(am__append_3232) $(am__append_3239) \ + $(am__append_3246) $(am__append_3253) $(am__append_3260) \ + $(am__append_3267) $(am__append_3274) $(am__append_3281) \ + $(am__append_3288) $(am__append_3295) $(am__append_3302) \ + $(am__append_3309) $(am__append_3316) $(am__append_3323) \ + $(am__append_3330) $(am__append_3337) $(am__append_3344) \ + $(am__append_3351) $(am__append_3358) $(am__append_3365) \ + $(am__append_3372) $(am__append_3379) $(am__append_3386) \ + $(am__append_3393) $(am__append_3400) $(am__append_3407) \ + $(am__append_3414) $(am__append_3421) $(am__append_3428) \ + $(am__append_3435) $(am__append_3442) $(am__append_3449) \ + $(am__append_3456) $(am__append_3463) $(am__append_3470) \ + $(am__append_3477) $(am__append_3484) $(am__append_3491) \ + $(am__append_3498) $(am__append_3505) $(am__append_3512) \ + $(am__append_3519) $(am__append_3526) $(am__append_3533) \ + $(am__append_3540) $(am__append_3547) $(am__append_3554) \ + $(am__append_3561) $(am__append_3568) $(am__append_3575) \ + $(am__append_3582) $(am__append_3589) $(am__append_3596) \ + $(am__append_3603) $(am__append_3610) $(am__append_3617) \ + $(am__append_3624) $(am__append_3631) $(am__append_3638) \ + $(am__append_3645) $(am__append_3652) $(am__append_3659) \ + $(am__append_3666) $(am__append_3673) $(am__append_3680) \ + $(am__append_3687) $(am__append_3694) $(am__append_3701) \ + $(am__append_3708) $(am__append_3715) $(am__append_3722) \ + $(am__append_3729) $(am__append_3736) $(am__append_3743) \ + $(am__append_3750) $(am__append_3757) $(am__append_3764) \ + $(am__append_3771) $(am__append_3778) $(am__append_3785) \ + $(am__append_3792) $(am__append_3799) $(am__append_3806) \ + $(am__append_3813) $(am__append_3820) $(am__append_3827) \ + $(am__append_3834) $(am__append_3841) $(am__append_3848) \ + $(am__append_3855) $(am__append_3862) $(am__append_3869) \ + $(am__append_3876) $(am__append_3883) $(am__append_3890) \ + $(am__append_3897) $(am__append_3904) $(am__append_3911) \ + $(am__append_3918) $(am__append_3925) $(am__append_3932) \ + $(am__append_3939) $(am__append_3946) $(am__append_3953) \ + $(am__append_3960) $(am__append_3967) $(am__append_3974) \ + $(am__append_3981) $(am__append_3988) $(am__append_3995) \ + $(am__append_4002) $(am__append_4009) $(am__append_4016) \ + $(am__append_4023) $(am__append_4030) $(am__append_4037) \ + $(am__append_4044) $(am__append_4051) $(am__append_4058) \ + $(am__append_4065) $(am__append_4072) $(am__append_4079) \ + $(am__append_4086) $(am__append_4093) $(am__append_4100) \ + $(am__append_4107) $(am__append_4114) $(am__append_4121) \ + $(am__append_4128) $(am__append_4135) $(am__append_4142) \ + $(am__append_4149) $(am__append_4156) $(am__append_4163) \ + $(am__append_4170) $(am__append_4177) $(am__append_4184) \ + $(am__append_4191) $(am__append_4198) $(am__append_4205) \ + $(am__append_4212) $(am__append_4219) $(am__append_4226) \ + $(am__append_4233) $(am__append_4240) $(am__append_4247) \ + $(am__append_4254) $(am__append_4261) $(am__append_4268) \ + $(am__append_4275) $(am__append_4282) $(am__append_4289) \ + $(am__append_4296) $(am__append_4303) $(am__append_4310) \ + $(am__append_4317) $(am__append_4324) $(am__append_4331) \ + $(am__append_4338) $(am__append_4345) $(am__append_4352) \ + $(am__append_4359) $(am__append_4366) $(am__append_4373) \ + $(am__append_4380) $(am__append_4387) $(am__append_4394) \ + $(am__append_4401) $(am__append_4408) $(am__append_4415) \ + $(am__append_4422) $(am__append_4429) $(am__append_4436) \ + $(am__append_4443) $(am__append_4450) $(am__append_4457) \ + $(am__append_4464) $(am__append_4471) $(am__append_4478) \ + $(am__append_4485) $(am__append_4492) $(am__append_4499) \ + $(am__append_4506) $(am__append_4513) $(am__append_4520) \ + $(am__append_4527) $(am__append_4534) $(am__append_4541) \ + $(am__append_4548) $(am__append_4555) $(am__append_4562) \ + $(am__append_4569) $(am__append_4576) $(am__append_4583) \ + $(am__append_4590) $(am__append_4597) $(am__append_4604) \ + $(am__append_4611) $(am__append_4618) $(am__append_4625) \ + $(am__append_4632) $(am__append_4639) $(am__append_4646) \ + $(am__append_4653) $(am__append_4660) $(am__append_4667) \ + $(am__append_4674) $(am__append_4681) $(am__append_4688) \ + $(am__append_4695) $(am__append_4702) $(am__append_4709) \ + $(am__append_4716) $(am__append_4723) $(am__append_4730) \ + $(am__append_4737) $(am__append_4744) $(am__append_4751) \ + $(am__append_4758) $(am__append_4765) $(am__append_4772) \ + $(am__append_4779) $(am__append_4786) $(am__append_4793) \ + $(am__append_4800) $(am__append_4807) $(am__append_4814) \ + $(am__append_4821) $(am__append_4828) $(am__append_4835) \ + $(am__append_4842) $(am__append_4849) $(am__append_4856) \ + $(am__append_4863) $(am__append_4870) $(am__append_4877) \ + $(am__append_4884) $(am__append_4891) $(am__append_4898) \ + $(am__append_4905) $(am__append_4912) $(am__append_4919) \ + $(am__append_4926) $(am__append_4933) $(am__append_4940) \ + $(am__append_4947) $(am__append_4954) $(am__append_4961) \ + $(am__append_4968) $(am__append_4975) $(am__append_4982) \ + $(am__append_4989) $(am__append_4996) $(am__append_5003) \ + $(am__append_5010) $(am__append_5017) $(am__append_5024) \ + $(am__append_5031) $(am__append_5038) $(am__append_5045) \ + $(am__append_5052) $(am__append_5059) $(am__append_5066) \ + $(am__append_5073) $(am__append_5080) $(am__append_5087) \ + $(am__append_5094) $(am__append_5101) $(am__append_5108) \ + $(am__append_5115) $(am__append_5122) $(am__append_5129) \ + $(am__append_5136) $(am__append_5143) $(am__append_5150) \ + $(am__append_5157) $(am__append_5164) $(am__append_5171) \ + $(am__append_5178) $(am__append_5185) $(am__append_5192) \ + $(am__append_5199) $(am__append_5206) $(am__append_5213) \ + $(am__append_5220) $(am__append_5227) $(am__append_5234) \ + $(am__append_5241) $(am__append_5248) $(am__append_5255) \ + $(am__append_5262) $(am__append_5269) $(am__append_5276) \ + $(am__append_5283) $(am__append_5290) $(am__append_5297) \ + $(am__append_5304) $(am__append_5311) $(am__append_5318) \ + $(am__append_5325) $(am__append_5332) $(am__append_5339) \ + $(am__append_5346) $(am__append_5353) $(am__append_5360) \ + $(am__append_5367) $(am__append_5374) $(am__append_5381) \ + $(am__append_5388) $(am__append_5395) $(am__append_5402) \ + $(am__append_5409) $(am__append_5416) $(am__append_5423) \ + $(am__append_5430) $(am__append_5437) $(am__append_5444) \ + $(am__append_5451) $(am__append_5458) $(am__append_5465) \ + $(am__append_5472) $(am__append_5479) $(am__append_5486) \ + $(am__append_5493) $(am__append_5500) $(am__append_5507) \ + $(am__append_5514) $(am__append_5521) $(am__append_5528) \ + $(am__append_5535) $(am__append_5542) $(am__append_5549) \ + $(am__append_5556) $(am__append_5563) $(am__append_5570) \ + $(am__append_5577) $(am__append_5584) $(am__append_5591) \ + $(am__append_5598) $(am__append_5605) $(am__append_5612) \ + $(am__append_5619) $(am__append_5626) $(am__append_5633) \ + $(am__append_5640) $(am__append_5647) $(am__append_5654) \ + $(am__append_5661) $(am__append_5668) $(am__append_5675) \ + $(am__append_5682) $(am__append_5689) $(am__append_5696) \ + $(am__append_5703) $(am__append_5710) $(am__append_5717) \ + $(am__append_5724) $(am__append_5731) $(am__append_5738) \ + $(am__append_5745) $(am__append_5752) $(am__append_5759) \ + $(am__append_5766) $(am__append_5773) $(am__append_5780) \ + $(am__append_5787) $(am__append_5794) $(am__append_5801) \ + $(am__append_5808) $(am__append_5815) $(am__append_5822) \ + $(am__append_5829) $(am__append_5836) $(am__append_5843) \ + $(am__append_5850) $(am__append_5857) $(am__append_5864) \ + $(am__append_5871) $(am__append_5878) $(am__append_5885) \ + $(am__append_5892) $(am__append_5899) $(am__append_5906) \ + $(am__append_5913) $(am__append_5920) $(am__append_5927) \ + $(am__append_5934) $(am__append_5941) $(am__append_5948) \ + $(am__append_5955) $(am__append_5962) $(am__append_5969) \ + $(am__append_5976) $(am__append_5983) $(am__append_5990) \ + $(am__append_5997) $(am__append_6004) $(am__append_6011) \ + $(am__append_6018) $(am__append_6025) $(am__append_6032) \ + $(am__append_6039) $(am__append_6046) $(am__append_6053) \ + $(am__append_6060) $(am__append_6067) $(am__append_6074) \ + $(am__append_6081) $(am__append_6088) $(am__append_6095) \ + $(am__append_6102) $(am__append_6109) $(am__append_6116) \ + $(am__append_6123) $(am__append_6130) $(am__append_6137) \ + $(am__append_6144) $(am__append_6151) $(am__append_6158) \ + $(am__append_6165) $(am__append_6172) $(am__append_6179) \ + $(am__append_6186) $(am__append_6193) $(am__append_6200) \ + $(am__append_6207) $(am__append_6214) $(am__append_6221) \ + $(am__append_6228) $(am__append_6235) $(am__append_6242) \ + $(am__append_6249) $(am__append_6256) $(am__append_6263) \ + $(am__append_6270) $(am__append_6277) $(am__append_6284) \ + $(am__append_6291) $(am__append_6298) $(am__append_6305) \ + $(am__append_6312) $(am__append_6319) $(am__append_6326) \ + $(am__append_6333) $(am__append_6340) $(am__append_6347) \ + $(am__append_6354) $(am__append_6361) $(am__append_6368) \ + $(am__append_6375) $(am__append_6382) $(am__append_6389) \ + $(am__append_6396) $(am__append_6403) $(am__append_6410) \ + $(am__append_6417) $(am__append_6424) $(am__append_6431) \ + $(am__append_6438) $(am__append_6445) $(am__append_6452) \ + $(am__append_6459) $(am__append_6466) $(am__append_6473) \ + $(am__append_6480) $(am__append_6487) $(am__append_6494) \ + $(am__append_6501) $(am__append_6508) $(am__append_6515) \ + $(am__append_6522) $(am__append_6529) $(am__append_6536) \ + $(am__append_6543) $(am__append_6550) $(am__append_6557) \ + $(am__append_6564) $(am__append_6571) $(am__append_6578) \ + $(am__append_6585) $(am__append_6592) $(am__append_6599) \ + $(am__append_6606) $(am__append_6613) $(am__append_6620) \ + $(am__append_6627) $(am__append_6634) $(am__append_6641) \ + $(am__append_6648) $(am__append_6655) $(am__append_6662) \ + $(am__append_6669) $(am__append_6676) $(am__append_6683) \ + $(am__append_6690) $(am__append_6697) $(am__append_6704) \ + $(am__append_6711) $(am__append_6718) $(am__append_6725) \ + $(am__append_6732) $(am__append_6739) $(am__append_6746) \ + $(am__append_6753) $(am__append_6760) $(am__append_6767) \ + $(am__append_6774) $(am__append_6781) $(am__append_6788) \ + $(am__append_6795) $(am__append_6802) $(am__append_6809) \ + $(am__append_6816) $(am__append_6823) $(am__append_6830) \ + $(am__append_6837) $(am__append_6844) $(am__append_6851) \ + $(am__append_6858) $(am__append_6865) $(am__append_6872) \ + $(am__append_6879) $(am__append_6886) $(am__append_6893) \ + $(am__append_6900) $(am__append_6907) $(am__append_6914) \ + $(am__append_6921) $(am__append_6928) $(am__append_6935) \ + $(am__append_6942) $(am__append_6949) $(am__append_6956) \ + $(am__append_6963) $(am__append_6970) $(am__append_6977) \ + $(am__append_6984) $(am__append_6991) $(am__append_6998) \ + $(am__append_7005) $(am__append_7012) $(am__append_7019) \ + $(am__append_7026) $(am__append_7033) $(am__append_7040) \ + $(am__append_7047) $(am__append_7054) $(am__append_7061) \ + $(am__append_7068) $(am__append_7075) $(am__append_7082) \ + $(am__append_7089) $(am__append_7096) $(am__append_7103) \ + $(am__append_7110) $(am__append_7117) $(am__append_7124) \ + $(am__append_7131) $(am__append_7138) $(am__append_7145) \ + $(am__append_7152) $(am__append_7159) $(am__append_7166) \ + $(am__append_7173) $(am__append_7180) $(am__append_7187) \ + $(am__append_7194) $(am__append_7201) $(am__append_7208) \ + $(am__append_7215) $(am__append_7222) $(am__append_7229) \ + $(am__append_7236) $(am__append_7243) $(am__append_7250) \ + $(am__append_7257) $(am__append_7264) $(am__append_7271) \ + $(am__append_7278) $(am__append_7285) $(am__append_7292) \ + $(am__append_7299) $(am__append_7306) $(am__append_7313) \ + $(am__append_7320) $(am__append_7327) $(am__append_7334) \ + $(am__append_7341) $(am__append_7348) $(am__append_7355) \ + $(am__append_7362) $(am__append_7369) $(am__append_7376) \ + $(am__append_7383) $(am__append_7390) $(am__append_7397) \ + $(am__append_7404) $(am__append_7411) $(am__append_7418) \ + $(am__append_7425) $(am__append_7432) $(am__append_7439) \ + $(am__append_7446) $(am__append_7453) $(am__append_7460) \ + $(am__append_7467) $(am__append_7474) $(am__append_7481) \ + $(am__append_7488) $(am__append_7495) $(am__append_7502) \ + $(am__append_7509) $(am__append_7516) $(am__append_7523) \ + $(am__append_7530) $(am__append_7537) $(am__append_7544) \ + $(am__append_7551) $(am__append_7558) $(am__append_7565) \ + $(am__append_7572) $(am__append_7579) $(am__append_7586) \ + $(am__append_7593) $(am__append_7600) $(am__append_7607) \ + $(am__append_7614) $(am__append_7621) $(am__append_7628) \ + $(am__append_7635) $(am__append_7642) $(am__append_7649) \ + $(am__append_7656) $(am__append_7663) $(am__append_7670) \ + $(am__append_7677) $(am__append_7684) $(am__append_7691) \ + $(am__append_7698) $(am__append_7705) $(am__append_7712) \ + $(am__append_7719) $(am__append_7726) $(am__append_7733) \ + $(am__append_7740) $(am__append_7747) $(am__append_7754) \ + $(am__append_7761) $(am__append_7768) $(am__append_7775) \ + $(am__append_7782) $(am__append_7789) $(am__append_7796) \ + $(am__append_7803) $(am__append_7810) $(am__append_7817) \ + $(am__append_7824) $(am__append_7831) $(am__append_7838) \ + $(am__append_7845) $(am__append_7852) $(am__append_7859) \ + $(am__append_7866) $(am__append_7873) $(am__append_7880) \ + $(am__append_7887) $(am__append_7894) $(am__append_7901) \ + $(am__append_7908) $(am__append_7915) $(am__append_7922) \ + $(am__append_7929) $(am__append_7936) $(am__append_7943) \ + $(am__append_7950) $(am__append_7957) $(am__append_7964) \ + $(am__append_7971) $(am__append_7978) $(am__append_7985) \ + $(am__append_7992) $(am__append_7999) $(am__append_8006) \ + $(am__append_8013) $(am__append_8020) $(am__append_8027) \ + $(am__append_8034) $(am__append_8041) $(am__append_8048) \ + $(am__append_8055) $(am__append_8062) $(am__append_8069) \ + $(am__append_8076) $(am__append_8083) $(am__append_8090) \ + $(am__append_8097) $(am__append_8104) $(am__append_8111) \ + $(am__append_8118) $(am__append_8125) $(am__append_8132) \ + $(am__append_8139) $(am__append_8146) $(am__append_8153) \ + $(am__append_8160) $(am__append_8167) $(am__append_8174) \ + $(am__append_8181) $(am__append_8188) $(am__append_8195) \ + $(am__append_8202) $(am__append_8209) $(am__append_8216) \ + $(am__append_8223) $(am__append_8230) $(am__append_8237) \ + $(am__append_8244) $(am__append_8251) $(am__append_8258) \ + $(am__append_8265) $(am__append_8272) $(am__append_8279) \ + $(am__append_8286) $(am__append_8293) $(am__append_8300) \ + $(am__append_8307) $(am__append_8314) $(am__append_8321) \ + $(am__append_8328) $(am__append_8335) $(am__append_8342) \ + $(am__append_8349) $(am__append_8356) $(am__append_8363) \ + $(am__append_8370) $(am__append_8377) $(am__append_8384) \ + $(am__append_8391) $(am__append_8398) $(am__append_8405) \ + $(am__append_8412) $(am__append_8419) $(am__append_8426) \ + $(am__append_8433) $(am__append_8440) $(am__append_8447) \ + $(am__append_8454) $(am__append_8461) $(am__append_8468) \ + $(am__append_8475) $(am__append_8482) $(am__append_8489) \ + $(am__append_8496) $(am__append_8503) $(am__append_8510) \ + $(am__append_8517) $(am__append_8524) $(am__append_8531) \ + $(am__append_8538) $(am__append_8545) $(am__append_8552) \ + $(am__append_8559) $(am__append_8566) $(am__append_8573) \ + $(am__append_8580) $(am__append_8587) $(am__append_8594) \ + $(am__append_8601) $(am__append_8608) $(am__append_8615) \ + $(am__append_8622) $(am__append_8629) $(am__append_8636) \ + $(am__append_8643) $(am__append_8650) $(am__append_8657) \ + $(am__append_8664) $(am__append_8671) $(am__append_8678) \ + $(am__append_8685) $(am__append_8692) $(am__append_8699) \ + $(am__append_8706) $(am__append_8713) $(am__append_8720) \ + $(am__append_8727) $(am__append_8734) $(am__append_8741) \ + $(am__append_8748) $(am__append_8755) $(am__append_8762) \ + $(am__append_8769) $(am__append_8776) $(am__append_8783) \ + $(am__append_8790) $(am__append_8797) $(am__append_8804) \ + $(am__append_8811) $(am__append_8818) $(am__append_8825) \ + $(am__append_8832) $(am__append_8839) $(am__append_8846) \ + $(am__append_8853) $(am__append_8860) $(am__append_8867) \ + $(am__append_8874) $(am__append_8881) $(am__append_8888) \ + $(am__append_8895) $(am__append_8902) $(am__append_8909) \ + $(am__append_8916) $(am__append_8923) $(am__append_8930) \ + $(am__append_8937) $(am__append_8944) $(am__append_8951) \ + $(am__append_8958) $(am__append_8965) $(am__append_8972) \ + $(am__append_8979) $(am__append_8986) $(am__append_8993) \ + $(am__append_9000) $(am__append_9007) $(am__append_9014) \ + $(am__append_9021) $(am__append_9028) $(am__append_9035) \ + $(am__append_9042) $(am__append_9049) $(am__append_9056) \ + $(am__append_9063) $(am__append_9070) $(am__append_9077) \ + $(am__append_9084) $(am__append_9091) $(am__append_9098) \ + $(am__append_9105) $(am__append_9112) $(am__append_9119) \ + $(am__append_9126) $(am__append_9133) $(am__append_9140) \ + $(am__append_9147) $(am__append_9154) $(am__append_9161) \ + $(am__append_9168) $(am__append_9175) $(am__append_9182) \ + $(am__append_9189) $(am__append_9196) $(am__append_9203) \ + $(am__append_9210) $(am__append_9217) $(am__append_9224) \ + $(am__append_9231) $(am__append_9238) $(am__append_9245) \ + $(am__append_9252) $(am__append_9259) $(am__append_9266) \ + $(am__append_9273) $(am__append_9280) $(am__append_9287) \ + $(am__append_9294) $(am__append_9301) $(am__append_9308) \ + $(am__append_9315) $(am__append_9322) $(am__append_9329) \ + $(am__append_9336) $(am__append_9343) $(am__append_9350) \ + $(am__append_9357) $(am__append_9364) $(am__append_9371) \ + $(am__append_9378) $(am__append_9385) $(am__append_9392) \ + $(am__append_9399) $(am__append_9406) $(am__append_9413) \ + $(am__append_9420) $(am__append_9427) $(am__append_9434) \ + $(am__append_9441) $(am__append_9448) $(am__append_9455) \ + $(am__append_9462) $(am__append_9469) $(am__append_9476) \ + $(am__append_9483) $(am__append_9490) $(am__append_9497) \ + $(am__append_9504) $(am__append_9511) $(am__append_9518) \ + $(am__append_9525) $(am__append_9532) $(am__append_9539) \ + $(am__append_9546) $(am__append_9553) $(am__append_9560) \ + $(am__append_9567) $(am__append_9574) $(am__append_9581) \ + $(am__append_9588) $(am__append_9595) $(am__append_9602) \ + $(am__append_9609) $(am__append_9616) $(am__append_9623) \ + $(am__append_9630) $(am__append_9637) $(am__append_9644) \ + $(am__append_9651) $(am__append_9658) $(am__append_9665) \ + $(am__append_9672) $(am__append_9679) $(am__append_9686) \ + $(am__append_9693) $(am__append_9700) $(am__append_9707) \ + $(am__append_9714) $(am__append_9721) $(am__append_9728) \ + $(am__append_9735) $(am__append_9742) $(am__append_9749) \ + $(am__append_9756) $(am__append_9763) $(am__append_9770) \ + $(am__append_9777) $(am__append_9784) $(am__append_9791) \ + $(am__append_9798) $(am__append_9805) $(am__append_9812) \ + $(am__append_9819) $(am__append_9826) $(am__append_9833) \ + $(am__append_9840) $(am__append_9847) $(am__append_9854) \ + $(am__append_9861) $(am__append_9868) $(am__append_9875) \ + $(am__append_9882) $(am__append_9889) $(am__append_9896) \ + $(am__append_9903) $(am__append_9910) $(am__append_9917) \ + $(am__append_9924) $(am__append_9931) $(am__append_9938) \ + $(am__append_9945) $(am__append_9952) $(am__append_9959) \ + $(am__append_9966) $(am__append_9973) $(am__append_9980) \ + $(am__append_9987) $(am__append_9994) $(am__append_10001) \ + $(am__append_10008) $(am__append_10015) $(am__append_10022) \ + $(am__append_10029) $(am__append_10036) $(am__append_10043) \ + $(am__append_10050) $(am__append_10057) $(am__append_10064) \ + $(am__append_10071) $(am__append_10078) $(am__append_10085) \ + $(am__append_10092) $(am__append_10099) $(am__append_10106) \ + $(am__append_10113) $(am__append_10120) $(am__append_10127) \ + $(am__append_10134) $(am__append_10141) $(am__append_10148) \ + $(am__append_10155) $(am__append_10162) $(am__append_10169) \ + $(am__append_10176) $(am__append_10183) $(am__append_10190) \ + $(am__append_10197) $(am__append_10204) $(am__append_10211) \ + $(am__append_10218) $(am__append_10225) $(am__append_10232) \ + $(am__append_10239) $(am__append_10246) $(am__append_10253) \ + $(am__append_10260) $(am__append_10267) $(am__append_10274) \ + $(am__append_10281) $(am__append_10288) $(am__append_10295) \ + $(am__append_10302) $(am__append_10309) $(am__append_10316) \ + $(am__append_10323) $(am__append_10330) $(am__append_10337) \ + $(am__append_10344) $(am__append_10351) $(am__append_10358) \ + $(am__append_10365) $(am__append_10372) $(am__append_10379) \ + $(am__append_10386) $(am__append_10393) $(am__append_10400) \ + $(am__append_10407) $(am__append_10414) $(am__append_10421) \ + $(am__append_10428) $(am__append_10435) $(am__append_10442) \ + $(am__append_10449) $(am__append_10456) $(am__append_10463) \ + $(am__append_10470) $(am__append_10477) $(am__append_10484) \ + $(am__append_10491) $(am__append_10498) $(am__append_10505) \ + $(am__append_10512) $(am__append_10519) $(am__append_10526) \ + $(am__append_10533) $(am__append_10540) $(am__append_10547) \ + $(am__append_10554) $(am__append_10561) $(am__append_10568) \ + $(am__append_10575) $(am__append_10582) $(am__append_10589) \ + $(am__append_10596) $(am__append_10603) $(am__append_10610) \ + $(am__append_10617) $(am__append_10624) $(am__append_10631) \ + $(am__append_10638) $(am__append_10645) $(am__append_10652) \ + $(am__append_10659) $(am__append_10666) $(am__append_10673) \ + $(am__append_10680) $(am__append_10687) $(am__append_10694) \ + $(am__append_10701) $(am__append_10708) $(am__append_10715) \ + $(am__append_10722) $(am__append_10729) $(am__append_10736) \ + $(am__append_10743) $(am__append_10750) $(am__append_10757) \ + $(am__append_10764) $(am__append_10771) $(am__append_10778) \ + $(am__append_10785) $(am__append_10792) $(am__append_10799) \ + $(am__append_10806) $(am__append_10813) $(am__append_10820) \ + $(am__append_10827) $(am__append_10834) $(am__append_10841) \ + $(am__append_10848) $(am__append_10855) $(am__append_10862) \ + $(am__append_10869) $(am__append_10876) $(am__append_10883) \ + $(am__append_10890) $(am__append_10897) $(am__append_10904) \ + $(am__append_10911) $(am__append_10918) $(am__append_10925) \ + $(am__append_10932) $(am__append_10939) $(am__append_10946) \ + $(am__append_10953) $(am__append_10960) $(am__append_10967) \ + $(am__append_10974) $(am__append_10981) $(am__append_10988) \ + $(am__append_10995) $(am__append_11002) $(am__append_11009) \ + $(am__append_11016) $(am__append_11023) $(am__append_11030) \ + $(am__append_11037) $(am__append_11044) $(am__append_11051) \ + $(am__append_11058) $(am__append_11065) $(am__append_11072) \ + $(am__append_11079) $(am__append_11086) $(am__append_11093) \ + $(am__append_11100) $(am__append_11107) $(am__append_11114) \ + $(am__append_11121) $(am__append_11128) $(am__append_11135) \ + $(am__append_11142) $(am__append_11149) $(am__append_11156) \ + $(am__append_11163) $(am__append_11170) $(am__append_11177) \ + $(am__append_11184) $(am__append_11191) $(am__append_11198) \ + $(am__append_11205) $(am__append_11212) $(am__append_11219) \ + $(am__append_11226) $(am__append_11233) $(am__append_11240) \ + $(am__append_11247) $(am__append_11254) $(am__append_11261) \ + $(am__append_11268) $(am__append_11275) $(am__append_11282) \ + $(am__append_11289) $(am__append_11296) $(am__append_11303) \ + $(am__append_11310) $(am__append_11317) $(am__append_11324) \ + $(am__append_11331) $(am__append_11338) $(am__append_11345) \ + $(am__append_11352) $(am__append_11359) $(am__append_11366) \ + $(am__append_11373) $(am__append_11380) $(am__append_11387) \ + $(am__append_11394) $(am__append_11401) $(am__append_11408) \ + $(am__append_11415) $(am__append_11422) $(am__append_11429) \ + $(am__append_11436) $(am__append_11443) $(am__append_11450) \ + $(am__append_11457) $(am__append_11464) $(am__append_11471) \ + $(am__append_11478) $(am__append_11485) $(am__append_11492) \ + $(am__append_11499) $(am__append_11506) $(am__append_11513) \ + $(am__append_11520) $(am__append_11527) $(am__append_11534) \ + $(am__append_11541) $(am__append_11548) $(am__append_11555) \ + $(am__append_11562) $(am__append_11569) $(am__append_11576) \ + $(am__append_11583) $(am__append_11590) $(am__append_11597) \ + $(am__append_11604) $(am__append_11611) $(am__append_11618) \ + $(am__append_11625) $(am__append_11632) $(am__append_11639) \ + $(am__append_11646) $(am__append_11653) $(am__append_11660) \ + $(am__append_11667) $(am__append_11674) $(am__append_11681) \ + $(am__append_11688) $(am__append_11695) $(am__append_11702) \ + $(am__append_11709) $(am__append_11716) $(am__append_11723) \ + $(am__append_11730) $(am__append_11737) $(am__append_11744) \ + $(am__append_11751) $(am__append_11758) $(am__append_11765) \ + $(am__append_11772) $(am__append_11779) $(am__append_11786) \ + $(am__append_11793) $(am__append_11800) $(am__append_11807) \ + $(am__append_11814) $(am__append_11821) $(am__append_11828) \ + $(am__append_11835) $(am__append_11842) $(am__append_11849) \ + $(am__append_11856) $(am__append_11863) $(am__append_11870) \ + $(am__append_11877) $(am__append_11884) $(am__append_11891) \ + $(am__append_11898) $(am__append_11905) $(am__append_11912) \ + $(am__append_11919) $(am__append_11926) $(am__append_11933) \ + $(am__append_11940) $(am__append_11947) $(am__append_11954) \ + $(am__append_11961) $(am__append_11968) $(am__append_11975) \ + $(am__append_11982) $(am__append_11989) $(am__append_11996) \ + $(am__append_12003) $(am__append_12010) $(am__append_12017) \ + $(am__append_12024) $(am__append_12031) $(am__append_12038) \ + $(am__append_12045) $(am__append_12052) $(am__append_12059) \ + $(am__append_12066) $(am__append_12073) $(am__append_12080) \ + $(am__append_12087) $(am__append_12094) $(am__append_12101) \ + $(am__append_12108) $(am__append_12115) $(am__append_12122) \ + $(am__append_12129) $(am__append_12135) $(am__append_12140) \ + $(am__append_12145) $(am__append_12150) $(am__append_12155) \ + $(am__append_12160) $(am__append_12165) $(am__append_12170) \ + $(am__append_12175) $(am__append_12180) $(am__append_12185) \ + $(am__append_12190) $(am__append_12195) $(am__append_12200) \ + $(am__append_12205) $(am__append_12210) $(am__append_12215) \ + $(am__append_12220) $(am__append_12230) $(am__append_12239) \ + $(am__append_12248) $(am__append_12257) $(am__append_12266) \ + $(am__append_12275) $(am__append_12284) $(am__append_12293) \ + $(am__append_12302) $(am__append_12311) $(am__append_12320) \ + $(am__append_12326) +CLEANFILES = gentrigtables trigtables.c grub_script.tab.c \ + grub_script.tab.h grub_script.yy.c grub_script.yy.h \ + $(am__append_14) $(am__append_21) $(am__append_28) \ + $(am__append_35) $(am__append_42) $(am__append_49) \ + $(am__append_56) $(am__append_63) $(am__append_70) \ + $(am__append_77) $(am__append_84) $(am__append_91) \ + $(am__append_98) $(am__append_105) $(am__append_112) \ + $(am__append_119) $(am__append_126) $(am__append_133) \ + $(am__append_140) $(am__append_147) $(am__append_154) \ + $(am__append_161) $(am__append_168) $(am__append_175) \ + $(am__append_182) $(am__append_189) $(am__append_196) \ + $(am__append_203) $(am__append_210) $(am__append_217) \ + $(am__append_224) $(am__append_231) $(am__append_238) \ + $(am__append_245) $(am__append_252) $(am__append_259) \ + $(am__append_266) $(am__append_273) $(am__append_280) \ + $(am__append_287) $(am__append_294) $(am__append_301) \ + $(am__append_308) $(am__append_315) $(am__append_322) \ + $(am__append_329) $(am__append_336) $(am__append_343) \ + $(am__append_350) $(am__append_357) $(am__append_364) \ + $(am__append_371) $(am__append_378) $(am__append_385) \ + $(am__append_392) $(am__append_399) $(am__append_406) \ + $(am__append_413) $(am__append_420) $(am__append_427) \ + $(am__append_434) $(am__append_441) $(am__append_448) \ + $(am__append_455) $(am__append_462) $(am__append_469) \ + $(am__append_476) $(am__append_483) $(am__append_490) \ + $(am__append_497) $(am__append_504) $(am__append_511) \ + $(am__append_518) $(am__append_525) $(am__append_532) \ + $(am__append_539) $(am__append_546) $(am__append_553) \ + $(am__append_560) $(am__append_567) $(am__append_574) \ + $(am__append_581) $(am__append_588) $(am__append_595) \ + $(am__append_602) $(am__append_609) $(am__append_616) \ + $(am__append_623) $(am__append_630) $(am__append_637) \ + $(am__append_644) $(am__append_651) $(am__append_658) \ + $(am__append_665) $(am__append_672) $(am__append_679) \ + $(am__append_686) $(am__append_693) $(am__append_700) \ + $(am__append_707) $(am__append_714) $(am__append_721) \ + $(am__append_728) $(am__append_735) $(am__append_742) \ + $(am__append_749) $(am__append_756) $(am__append_763) \ + $(am__append_770) $(am__append_777) $(am__append_784) \ + $(am__append_791) $(am__append_798) $(am__append_805) \ + $(am__append_812) $(am__append_819) $(am__append_826) \ + $(am__append_833) $(am__append_840) $(am__append_847) \ + $(am__append_854) $(am__append_861) $(am__append_868) \ + $(am__append_875) $(am__append_882) $(am__append_889) \ + $(am__append_896) $(am__append_903) $(am__append_910) \ + $(am__append_917) $(am__append_924) $(am__append_931) \ + $(am__append_938) $(am__append_945) $(am__append_952) \ + $(am__append_959) $(am__append_966) $(am__append_973) \ + $(am__append_980) $(am__append_987) $(am__append_994) \ + $(am__append_1001) $(am__append_1008) $(am__append_1015) \ + $(am__append_1022) $(am__append_1029) $(am__append_1036) \ + $(am__append_1043) $(am__append_1050) $(am__append_1057) \ + $(am__append_1064) $(am__append_1071) $(am__append_1078) \ + $(am__append_1085) $(am__append_1092) $(am__append_1099) \ + $(am__append_1106) $(am__append_1113) $(am__append_1120) \ + $(am__append_1127) $(am__append_1134) $(am__append_1141) \ + $(am__append_1148) $(am__append_1155) $(am__append_1162) \ + $(am__append_1169) $(am__append_1176) $(am__append_1183) \ + $(am__append_1190) $(am__append_1197) $(am__append_1204) \ + $(am__append_1211) $(am__append_1218) $(am__append_1225) \ + $(am__append_1232) $(am__append_1239) $(am__append_1246) \ + $(am__append_1253) $(am__append_1260) $(am__append_1267) \ + $(am__append_1274) $(am__append_1281) $(am__append_1288) \ + $(am__append_1295) $(am__append_1302) $(am__append_1309) \ + $(am__append_1316) $(am__append_1323) $(am__append_1330) \ + $(am__append_1337) $(am__append_1344) $(am__append_1351) \ + $(am__append_1358) $(am__append_1365) $(am__append_1372) \ + $(am__append_1379) $(am__append_1386) $(am__append_1393) \ + $(am__append_1400) $(am__append_1407) $(am__append_1414) \ + $(am__append_1421) $(am__append_1428) $(am__append_1435) \ + $(am__append_1442) $(am__append_1449) $(am__append_1456) \ + $(am__append_1463) $(am__append_1470) $(am__append_1477) \ + $(am__append_1484) $(am__append_1491) $(am__append_1498) \ + $(am__append_1505) $(am__append_1512) $(am__append_1519) \ + $(am__append_1526) $(am__append_1533) $(am__append_1540) \ + $(am__append_1547) $(am__append_1554) $(am__append_1561) \ + $(am__append_1568) $(am__append_1575) $(am__append_1582) \ + $(am__append_1589) $(am__append_1596) $(am__append_1603) \ + $(am__append_1610) $(am__append_1617) $(am__append_1624) \ + $(am__append_1631) $(am__append_1638) $(am__append_1645) \ + $(am__append_1652) $(am__append_1659) $(am__append_1666) \ + $(am__append_1673) $(am__append_1680) $(am__append_1687) \ + $(am__append_1694) $(am__append_1701) $(am__append_1708) \ + $(am__append_1715) $(am__append_1722) $(am__append_1729) \ + $(am__append_1736) $(am__append_1743) $(am__append_1750) \ + $(am__append_1757) $(am__append_1764) $(am__append_1771) \ + $(am__append_1778) $(am__append_1785) $(am__append_1792) \ + $(am__append_1799) $(am__append_1806) $(am__append_1813) \ + $(am__append_1820) $(am__append_1827) $(am__append_1834) \ + $(am__append_1841) $(am__append_1848) $(am__append_1855) \ + $(am__append_1862) $(am__append_1869) $(am__append_1876) \ + $(am__append_1883) $(am__append_1890) $(am__append_1897) \ + $(am__append_1904) $(am__append_1911) $(am__append_1918) \ + $(am__append_1925) $(am__append_1932) $(am__append_1939) \ + $(am__append_1946) $(am__append_1953) $(am__append_1960) \ + $(am__append_1967) $(am__append_1974) $(am__append_1981) \ + $(am__append_1988) $(am__append_1995) $(am__append_2002) \ + $(am__append_2009) $(am__append_2016) $(am__append_2023) \ + $(am__append_2030) $(am__append_2037) $(am__append_2044) \ + $(am__append_2051) $(am__append_2058) $(am__append_2065) \ + $(am__append_2072) $(am__append_2079) $(am__append_2086) \ + $(am__append_2093) $(am__append_2100) $(am__append_2107) \ + $(am__append_2114) $(am__append_2121) $(am__append_2128) \ + $(am__append_2135) $(am__append_2142) $(am__append_2149) \ + $(am__append_2156) $(am__append_2163) $(am__append_2170) \ + $(am__append_2177) $(am__append_2184) $(am__append_2191) \ + $(am__append_2198) $(am__append_2205) $(am__append_2212) \ + $(am__append_2219) $(am__append_2226) $(am__append_2233) \ + $(am__append_2240) $(am__append_2247) $(am__append_2254) \ + $(am__append_2261) $(am__append_2268) $(am__append_2275) \ + $(am__append_2282) $(am__append_2289) $(am__append_2296) \ + $(am__append_2303) $(am__append_2310) $(am__append_2317) \ + $(am__append_2324) $(am__append_2331) $(am__append_2338) \ + $(am__append_2345) $(am__append_2352) $(am__append_2359) \ + $(am__append_2366) $(am__append_2373) $(am__append_2380) \ + $(am__append_2387) $(am__append_2394) $(am__append_2401) \ + $(am__append_2408) $(am__append_2415) $(am__append_2422) \ + $(am__append_2429) $(am__append_2436) $(am__append_2443) \ + $(am__append_2450) $(am__append_2457) $(am__append_2464) \ + $(am__append_2471) $(am__append_2478) $(am__append_2485) \ + $(am__append_2492) $(am__append_2499) $(am__append_2506) \ + $(am__append_2513) $(am__append_2520) $(am__append_2527) \ + $(am__append_2534) $(am__append_2541) $(am__append_2548) \ + $(am__append_2555) $(am__append_2562) $(am__append_2569) \ + $(am__append_2576) $(am__append_2583) $(am__append_2590) \ + $(am__append_2597) $(am__append_2604) $(am__append_2611) \ + $(am__append_2618) $(am__append_2625) $(am__append_2632) \ + $(am__append_2639) $(am__append_2646) $(am__append_2653) \ + $(am__append_2660) $(am__append_2667) $(am__append_2674) \ + $(am__append_2681) $(am__append_2688) $(am__append_2695) \ + $(am__append_2702) $(am__append_2709) $(am__append_2716) \ + $(am__append_2723) $(am__append_2730) $(am__append_2737) \ + $(am__append_2744) $(am__append_2751) $(am__append_2758) \ + $(am__append_2765) $(am__append_2772) $(am__append_2779) \ + $(am__append_2786) $(am__append_2793) $(am__append_2800) \ + $(am__append_2807) $(am__append_2814) $(am__append_2821) \ + $(am__append_2828) $(am__append_2835) $(am__append_2842) \ + $(am__append_2849) $(am__append_2856) $(am__append_2863) \ + $(am__append_2870) $(am__append_2877) $(am__append_2884) \ + $(am__append_2891) $(am__append_2898) $(am__append_2905) \ + $(am__append_2912) $(am__append_2919) $(am__append_2926) \ + $(am__append_2933) $(am__append_2940) $(am__append_2947) \ + $(am__append_2954) $(am__append_2961) $(am__append_2968) \ + $(am__append_2975) $(am__append_2982) $(am__append_2989) \ + $(am__append_2996) $(am__append_3003) $(am__append_3010) \ + $(am__append_3017) $(am__append_3024) $(am__append_3031) \ + $(am__append_3038) $(am__append_3045) $(am__append_3052) \ + $(am__append_3059) $(am__append_3066) $(am__append_3073) \ + $(am__append_3080) $(am__append_3087) $(am__append_3094) \ + $(am__append_3101) $(am__append_3108) $(am__append_3115) \ + $(am__append_3122) $(am__append_3129) $(am__append_3136) \ + $(am__append_3143) $(am__append_3150) $(am__append_3157) \ + $(am__append_3164) $(am__append_3171) $(am__append_3178) \ + $(am__append_3185) $(am__append_3192) $(am__append_3199) \ + $(am__append_3206) $(am__append_3213) $(am__append_3220) \ + $(am__append_3227) $(am__append_3234) $(am__append_3241) \ + $(am__append_3248) $(am__append_3255) $(am__append_3262) \ + $(am__append_3269) $(am__append_3276) $(am__append_3283) \ + $(am__append_3290) $(am__append_3297) $(am__append_3304) \ + $(am__append_3311) $(am__append_3318) $(am__append_3325) \ + $(am__append_3332) $(am__append_3339) $(am__append_3346) \ + $(am__append_3353) $(am__append_3360) $(am__append_3367) \ + $(am__append_3374) $(am__append_3381) $(am__append_3388) \ + $(am__append_3395) $(am__append_3402) $(am__append_3409) \ + $(am__append_3416) $(am__append_3423) $(am__append_3430) \ + $(am__append_3437) $(am__append_3444) $(am__append_3451) \ + $(am__append_3458) $(am__append_3465) $(am__append_3472) \ + $(am__append_3479) $(am__append_3486) $(am__append_3493) \ + $(am__append_3500) $(am__append_3507) $(am__append_3514) \ + $(am__append_3521) $(am__append_3528) $(am__append_3535) \ + $(am__append_3542) $(am__append_3549) $(am__append_3556) \ + $(am__append_3563) $(am__append_3570) $(am__append_3577) \ + $(am__append_3584) $(am__append_3591) $(am__append_3598) \ + $(am__append_3605) $(am__append_3612) $(am__append_3619) \ + $(am__append_3626) $(am__append_3633) $(am__append_3640) \ + $(am__append_3647) $(am__append_3654) $(am__append_3661) \ + $(am__append_3668) $(am__append_3675) $(am__append_3682) \ + $(am__append_3689) $(am__append_3696) $(am__append_3703) \ + $(am__append_3710) $(am__append_3717) $(am__append_3724) \ + $(am__append_3731) $(am__append_3738) $(am__append_3745) \ + $(am__append_3752) $(am__append_3759) $(am__append_3766) \ + $(am__append_3773) $(am__append_3780) $(am__append_3787) \ + $(am__append_3794) $(am__append_3801) $(am__append_3808) \ + $(am__append_3815) $(am__append_3822) $(am__append_3829) \ + $(am__append_3836) $(am__append_3843) $(am__append_3850) \ + $(am__append_3857) $(am__append_3864) $(am__append_3871) \ + $(am__append_3878) $(am__append_3885) $(am__append_3892) \ + $(am__append_3899) $(am__append_3906) $(am__append_3913) \ + $(am__append_3920) $(am__append_3927) $(am__append_3934) \ + $(am__append_3941) $(am__append_3948) $(am__append_3955) \ + $(am__append_3962) $(am__append_3969) $(am__append_3976) \ + $(am__append_3983) $(am__append_3990) $(am__append_3997) \ + $(am__append_4004) $(am__append_4011) $(am__append_4018) \ + $(am__append_4025) $(am__append_4032) $(am__append_4039) \ + $(am__append_4046) $(am__append_4053) $(am__append_4060) \ + $(am__append_4067) $(am__append_4074) $(am__append_4081) \ + $(am__append_4088) $(am__append_4095) $(am__append_4102) \ + $(am__append_4109) $(am__append_4116) $(am__append_4123) \ + $(am__append_4130) $(am__append_4137) $(am__append_4144) \ + $(am__append_4151) $(am__append_4158) $(am__append_4165) \ + $(am__append_4172) $(am__append_4179) $(am__append_4186) \ + $(am__append_4193) $(am__append_4200) $(am__append_4207) \ + $(am__append_4214) $(am__append_4221) $(am__append_4228) \ + $(am__append_4235) $(am__append_4242) $(am__append_4249) \ + $(am__append_4256) $(am__append_4263) $(am__append_4270) \ + $(am__append_4277) $(am__append_4284) $(am__append_4291) \ + $(am__append_4298) $(am__append_4305) $(am__append_4312) \ + $(am__append_4319) $(am__append_4326) $(am__append_4333) \ + $(am__append_4340) $(am__append_4347) $(am__append_4354) \ + $(am__append_4361) $(am__append_4368) $(am__append_4375) \ + $(am__append_4382) $(am__append_4389) $(am__append_4396) \ + $(am__append_4403) $(am__append_4410) $(am__append_4417) \ + $(am__append_4424) $(am__append_4431) $(am__append_4438) \ + $(am__append_4445) $(am__append_4452) $(am__append_4459) \ + $(am__append_4466) $(am__append_4473) $(am__append_4480) \ + $(am__append_4487) $(am__append_4494) $(am__append_4501) \ + $(am__append_4508) $(am__append_4515) $(am__append_4522) \ + $(am__append_4529) $(am__append_4536) $(am__append_4543) \ + $(am__append_4550) $(am__append_4557) $(am__append_4564) \ + $(am__append_4571) $(am__append_4578) $(am__append_4585) \ + $(am__append_4592) $(am__append_4599) $(am__append_4606) \ + $(am__append_4613) $(am__append_4620) $(am__append_4627) \ + $(am__append_4634) $(am__append_4641) $(am__append_4648) \ + $(am__append_4655) $(am__append_4662) $(am__append_4669) \ + $(am__append_4676) $(am__append_4683) $(am__append_4690) \ + $(am__append_4697) $(am__append_4704) $(am__append_4711) \ + $(am__append_4718) $(am__append_4725) $(am__append_4732) \ + $(am__append_4739) $(am__append_4746) $(am__append_4753) \ + $(am__append_4760) $(am__append_4767) $(am__append_4774) \ + $(am__append_4781) $(am__append_4788) $(am__append_4795) \ + $(am__append_4802) $(am__append_4809) $(am__append_4816) \ + $(am__append_4823) $(am__append_4830) $(am__append_4837) \ + $(am__append_4844) $(am__append_4851) $(am__append_4858) \ + $(am__append_4865) $(am__append_4872) $(am__append_4879) \ + $(am__append_4886) $(am__append_4893) $(am__append_4900) \ + $(am__append_4907) $(am__append_4914) $(am__append_4921) \ + $(am__append_4928) $(am__append_4935) $(am__append_4942) \ + $(am__append_4949) $(am__append_4956) $(am__append_4963) \ + $(am__append_4970) $(am__append_4977) $(am__append_4984) \ + $(am__append_4991) $(am__append_4998) $(am__append_5005) \ + $(am__append_5012) $(am__append_5019) $(am__append_5026) \ + $(am__append_5033) $(am__append_5040) $(am__append_5047) \ + $(am__append_5054) $(am__append_5061) $(am__append_5068) \ + $(am__append_5075) $(am__append_5082) $(am__append_5089) \ + $(am__append_5096) $(am__append_5103) $(am__append_5110) \ + $(am__append_5117) $(am__append_5124) $(am__append_5131) \ + $(am__append_5138) $(am__append_5145) $(am__append_5152) \ + $(am__append_5159) $(am__append_5166) $(am__append_5173) \ + $(am__append_5180) $(am__append_5187) $(am__append_5194) \ + $(am__append_5201) $(am__append_5208) $(am__append_5215) \ + $(am__append_5222) $(am__append_5229) $(am__append_5236) \ + $(am__append_5243) $(am__append_5250) $(am__append_5257) \ + $(am__append_5264) $(am__append_5271) $(am__append_5278) \ + $(am__append_5285) $(am__append_5292) $(am__append_5299) \ + $(am__append_5306) $(am__append_5313) $(am__append_5320) \ + $(am__append_5327) $(am__append_5334) $(am__append_5341) \ + $(am__append_5348) $(am__append_5355) $(am__append_5362) \ + $(am__append_5369) $(am__append_5376) $(am__append_5383) \ + $(am__append_5390) $(am__append_5397) $(am__append_5404) \ + $(am__append_5411) $(am__append_5418) $(am__append_5425) \ + $(am__append_5432) $(am__append_5439) $(am__append_5446) \ + $(am__append_5453) $(am__append_5460) $(am__append_5467) \ + $(am__append_5474) $(am__append_5481) $(am__append_5488) \ + $(am__append_5495) $(am__append_5502) $(am__append_5509) \ + $(am__append_5516) $(am__append_5523) $(am__append_5530) \ + $(am__append_5537) $(am__append_5544) $(am__append_5551) \ + $(am__append_5558) $(am__append_5565) $(am__append_5572) \ + $(am__append_5579) $(am__append_5586) $(am__append_5593) \ + $(am__append_5600) $(am__append_5607) $(am__append_5614) \ + $(am__append_5621) $(am__append_5628) $(am__append_5635) \ + $(am__append_5642) $(am__append_5649) $(am__append_5656) \ + $(am__append_5663) $(am__append_5670) $(am__append_5677) \ + $(am__append_5684) $(am__append_5691) $(am__append_5698) \ + $(am__append_5705) $(am__append_5712) $(am__append_5719) \ + $(am__append_5726) $(am__append_5733) $(am__append_5740) \ + $(am__append_5747) $(am__append_5754) $(am__append_5761) \ + $(am__append_5768) $(am__append_5775) $(am__append_5782) \ + $(am__append_5789) $(am__append_5796) $(am__append_5803) \ + $(am__append_5810) $(am__append_5817) $(am__append_5824) \ + $(am__append_5831) $(am__append_5838) $(am__append_5845) \ + $(am__append_5852) $(am__append_5859) $(am__append_5866) \ + $(am__append_5873) $(am__append_5880) $(am__append_5887) \ + $(am__append_5894) $(am__append_5901) $(am__append_5908) \ + $(am__append_5915) $(am__append_5922) $(am__append_5929) \ + $(am__append_5936) $(am__append_5943) $(am__append_5950) \ + $(am__append_5957) $(am__append_5964) $(am__append_5971) \ + $(am__append_5978) $(am__append_5985) $(am__append_5992) \ + $(am__append_5999) $(am__append_6006) $(am__append_6013) \ + $(am__append_6020) $(am__append_6027) $(am__append_6034) \ + $(am__append_6041) $(am__append_6048) $(am__append_6055) \ + $(am__append_6062) $(am__append_6069) $(am__append_6076) \ + $(am__append_6083) $(am__append_6090) $(am__append_6097) \ + $(am__append_6104) $(am__append_6111) $(am__append_6118) \ + $(am__append_6125) $(am__append_6132) $(am__append_6139) \ + $(am__append_6146) $(am__append_6153) $(am__append_6160) \ + $(am__append_6167) $(am__append_6174) $(am__append_6181) \ + $(am__append_6188) $(am__append_6195) $(am__append_6202) \ + $(am__append_6209) $(am__append_6216) $(am__append_6223) \ + $(am__append_6230) $(am__append_6237) $(am__append_6244) \ + $(am__append_6251) $(am__append_6258) $(am__append_6265) \ + $(am__append_6272) $(am__append_6279) $(am__append_6286) \ + $(am__append_6293) $(am__append_6300) $(am__append_6307) \ + $(am__append_6314) $(am__append_6321) $(am__append_6328) \ + $(am__append_6335) $(am__append_6342) $(am__append_6349) \ + $(am__append_6356) $(am__append_6363) $(am__append_6370) \ + $(am__append_6377) $(am__append_6384) $(am__append_6391) \ + $(am__append_6398) $(am__append_6405) $(am__append_6412) \ + $(am__append_6419) $(am__append_6426) $(am__append_6433) \ + $(am__append_6440) $(am__append_6447) $(am__append_6454) \ + $(am__append_6461) $(am__append_6468) $(am__append_6475) \ + $(am__append_6482) $(am__append_6489) $(am__append_6496) \ + $(am__append_6503) $(am__append_6510) $(am__append_6517) \ + $(am__append_6524) $(am__append_6531) $(am__append_6538) \ + $(am__append_6545) $(am__append_6552) $(am__append_6559) \ + $(am__append_6566) $(am__append_6573) $(am__append_6580) \ + $(am__append_6587) $(am__append_6594) $(am__append_6601) \ + $(am__append_6608) $(am__append_6615) $(am__append_6622) \ + $(am__append_6629) $(am__append_6636) $(am__append_6643) \ + $(am__append_6650) $(am__append_6657) $(am__append_6664) \ + $(am__append_6671) $(am__append_6678) $(am__append_6685) \ + $(am__append_6692) $(am__append_6699) $(am__append_6706) \ + $(am__append_6713) $(am__append_6720) $(am__append_6727) \ + $(am__append_6734) $(am__append_6741) $(am__append_6748) \ + $(am__append_6755) $(am__append_6762) $(am__append_6769) \ + $(am__append_6776) $(am__append_6783) $(am__append_6790) \ + $(am__append_6797) $(am__append_6804) $(am__append_6811) \ + $(am__append_6818) $(am__append_6825) $(am__append_6832) \ + $(am__append_6839) $(am__append_6846) $(am__append_6853) \ + $(am__append_6860) $(am__append_6867) $(am__append_6874) \ + $(am__append_6881) $(am__append_6888) $(am__append_6895) \ + $(am__append_6902) $(am__append_6909) $(am__append_6916) \ + $(am__append_6923) $(am__append_6930) $(am__append_6937) \ + $(am__append_6944) $(am__append_6951) $(am__append_6958) \ + $(am__append_6965) $(am__append_6972) $(am__append_6979) \ + $(am__append_6986) $(am__append_6993) $(am__append_7000) \ + $(am__append_7007) $(am__append_7014) $(am__append_7021) \ + $(am__append_7028) $(am__append_7035) $(am__append_7042) \ + $(am__append_7049) $(am__append_7056) $(am__append_7063) \ + $(am__append_7070) $(am__append_7077) $(am__append_7084) \ + $(am__append_7091) $(am__append_7098) $(am__append_7105) \ + $(am__append_7112) $(am__append_7119) $(am__append_7126) \ + $(am__append_7133) $(am__append_7140) $(am__append_7147) \ + $(am__append_7154) $(am__append_7161) $(am__append_7168) \ + $(am__append_7175) $(am__append_7182) $(am__append_7189) \ + $(am__append_7196) $(am__append_7203) $(am__append_7210) \ + $(am__append_7217) $(am__append_7224) $(am__append_7231) \ + $(am__append_7238) $(am__append_7245) $(am__append_7252) \ + $(am__append_7259) $(am__append_7266) $(am__append_7273) \ + $(am__append_7280) $(am__append_7287) $(am__append_7294) \ + $(am__append_7301) $(am__append_7308) $(am__append_7315) \ + $(am__append_7322) $(am__append_7329) $(am__append_7336) \ + $(am__append_7343) $(am__append_7350) $(am__append_7357) \ + $(am__append_7364) $(am__append_7371) $(am__append_7378) \ + $(am__append_7385) $(am__append_7392) $(am__append_7399) \ + $(am__append_7406) $(am__append_7413) $(am__append_7420) \ + $(am__append_7427) $(am__append_7434) $(am__append_7441) \ + $(am__append_7448) $(am__append_7455) $(am__append_7462) \ + $(am__append_7469) $(am__append_7476) $(am__append_7483) \ + $(am__append_7490) $(am__append_7497) $(am__append_7504) \ + $(am__append_7511) $(am__append_7518) $(am__append_7525) \ + $(am__append_7532) $(am__append_7539) $(am__append_7546) \ + $(am__append_7553) $(am__append_7560) $(am__append_7567) \ + $(am__append_7574) $(am__append_7581) $(am__append_7588) \ + $(am__append_7595) $(am__append_7602) $(am__append_7609) \ + $(am__append_7616) $(am__append_7623) $(am__append_7630) \ + $(am__append_7637) $(am__append_7644) $(am__append_7651) \ + $(am__append_7658) $(am__append_7665) $(am__append_7672) \ + $(am__append_7679) $(am__append_7686) $(am__append_7693) \ + $(am__append_7700) $(am__append_7707) $(am__append_7714) \ + $(am__append_7721) $(am__append_7728) $(am__append_7735) \ + $(am__append_7742) $(am__append_7749) $(am__append_7756) \ + $(am__append_7763) $(am__append_7770) $(am__append_7777) \ + $(am__append_7784) $(am__append_7791) $(am__append_7798) \ + $(am__append_7805) $(am__append_7812) $(am__append_7819) \ + $(am__append_7826) $(am__append_7833) $(am__append_7840) \ + $(am__append_7847) $(am__append_7854) $(am__append_7861) \ + $(am__append_7868) $(am__append_7875) $(am__append_7882) \ + $(am__append_7889) $(am__append_7896) $(am__append_7903) \ + $(am__append_7910) $(am__append_7917) $(am__append_7924) \ + $(am__append_7931) $(am__append_7938) $(am__append_7945) \ + $(am__append_7952) $(am__append_7959) $(am__append_7966) \ + $(am__append_7973) $(am__append_7980) $(am__append_7987) \ + $(am__append_7994) $(am__append_8001) $(am__append_8008) \ + $(am__append_8015) $(am__append_8022) $(am__append_8029) \ + $(am__append_8036) $(am__append_8043) $(am__append_8050) \ + $(am__append_8057) $(am__append_8064) $(am__append_8071) \ + $(am__append_8078) $(am__append_8085) $(am__append_8092) \ + $(am__append_8099) $(am__append_8106) $(am__append_8113) \ + $(am__append_8120) $(am__append_8127) $(am__append_8134) \ + $(am__append_8141) $(am__append_8148) $(am__append_8155) \ + $(am__append_8162) $(am__append_8169) $(am__append_8176) \ + $(am__append_8183) $(am__append_8190) $(am__append_8197) \ + $(am__append_8204) $(am__append_8211) $(am__append_8218) \ + $(am__append_8225) $(am__append_8232) $(am__append_8239) \ + $(am__append_8246) $(am__append_8253) $(am__append_8260) \ + $(am__append_8267) $(am__append_8274) $(am__append_8281) \ + $(am__append_8288) $(am__append_8295) $(am__append_8302) \ + $(am__append_8309) $(am__append_8316) $(am__append_8323) \ + $(am__append_8330) $(am__append_8337) $(am__append_8344) \ + $(am__append_8351) $(am__append_8358) $(am__append_8365) \ + $(am__append_8372) $(am__append_8379) $(am__append_8386) \ + $(am__append_8393) $(am__append_8400) $(am__append_8407) \ + $(am__append_8414) $(am__append_8421) $(am__append_8428) \ + $(am__append_8435) $(am__append_8442) $(am__append_8449) \ + $(am__append_8456) $(am__append_8463) $(am__append_8470) \ + $(am__append_8477) $(am__append_8484) $(am__append_8491) \ + $(am__append_8498) $(am__append_8505) $(am__append_8512) \ + $(am__append_8519) $(am__append_8526) $(am__append_8533) \ + $(am__append_8540) $(am__append_8547) $(am__append_8554) \ + $(am__append_8561) $(am__append_8568) $(am__append_8575) \ + $(am__append_8582) $(am__append_8589) $(am__append_8596) \ + $(am__append_8603) $(am__append_8610) $(am__append_8617) \ + $(am__append_8624) $(am__append_8631) $(am__append_8638) \ + $(am__append_8645) $(am__append_8652) $(am__append_8659) \ + $(am__append_8666) $(am__append_8673) $(am__append_8680) \ + $(am__append_8687) $(am__append_8694) $(am__append_8701) \ + $(am__append_8708) $(am__append_8715) $(am__append_8722) \ + $(am__append_8729) $(am__append_8736) $(am__append_8743) \ + $(am__append_8750) $(am__append_8757) $(am__append_8764) \ + $(am__append_8771) $(am__append_8778) $(am__append_8785) \ + $(am__append_8792) $(am__append_8799) $(am__append_8806) \ + $(am__append_8813) $(am__append_8820) $(am__append_8827) \ + $(am__append_8834) $(am__append_8841) $(am__append_8848) \ + $(am__append_8855) $(am__append_8862) $(am__append_8869) \ + $(am__append_8876) $(am__append_8883) $(am__append_8890) \ + $(am__append_8897) $(am__append_8904) $(am__append_8911) \ + $(am__append_8918) $(am__append_8925) $(am__append_8932) \ + $(am__append_8939) $(am__append_8946) $(am__append_8953) \ + $(am__append_8960) $(am__append_8967) $(am__append_8974) \ + $(am__append_8981) $(am__append_8988) $(am__append_8995) \ + $(am__append_9002) $(am__append_9009) $(am__append_9016) \ + $(am__append_9023) $(am__append_9030) $(am__append_9037) \ + $(am__append_9044) $(am__append_9051) $(am__append_9058) \ + $(am__append_9065) $(am__append_9072) $(am__append_9079) \ + $(am__append_9086) $(am__append_9093) $(am__append_9100) \ + $(am__append_9107) $(am__append_9114) $(am__append_9121) \ + $(am__append_9128) $(am__append_9135) $(am__append_9142) \ + $(am__append_9149) $(am__append_9156) $(am__append_9163) \ + $(am__append_9170) $(am__append_9177) $(am__append_9184) \ + $(am__append_9191) $(am__append_9198) $(am__append_9205) \ + $(am__append_9212) $(am__append_9219) $(am__append_9226) \ + $(am__append_9233) $(am__append_9240) $(am__append_9247) \ + $(am__append_9254) $(am__append_9261) $(am__append_9268) \ + $(am__append_9275) $(am__append_9282) $(am__append_9289) \ + $(am__append_9296) $(am__append_9303) $(am__append_9310) \ + $(am__append_9317) $(am__append_9324) $(am__append_9331) \ + $(am__append_9338) $(am__append_9345) $(am__append_9352) \ + $(am__append_9359) $(am__append_9366) $(am__append_9373) \ + $(am__append_9380) $(am__append_9387) $(am__append_9394) \ + $(am__append_9401) $(am__append_9408) $(am__append_9415) \ + $(am__append_9422) $(am__append_9429) $(am__append_9436) \ + $(am__append_9443) $(am__append_9450) $(am__append_9457) \ + $(am__append_9464) $(am__append_9471) $(am__append_9478) \ + $(am__append_9485) $(am__append_9492) $(am__append_9499) \ + $(am__append_9506) $(am__append_9513) $(am__append_9520) \ + $(am__append_9527) $(am__append_9534) $(am__append_9541) \ + $(am__append_9548) $(am__append_9555) $(am__append_9562) \ + $(am__append_9569) $(am__append_9576) $(am__append_9583) \ + $(am__append_9590) $(am__append_9597) $(am__append_9604) \ + $(am__append_9611) $(am__append_9618) $(am__append_9625) \ + $(am__append_9632) $(am__append_9639) $(am__append_9646) \ + $(am__append_9653) $(am__append_9660) $(am__append_9667) \ + $(am__append_9674) $(am__append_9681) $(am__append_9688) \ + $(am__append_9695) $(am__append_9702) $(am__append_9709) \ + $(am__append_9716) $(am__append_9723) $(am__append_9730) \ + $(am__append_9737) $(am__append_9744) $(am__append_9751) \ + $(am__append_9758) $(am__append_9765) $(am__append_9772) \ + $(am__append_9779) $(am__append_9786) $(am__append_9793) \ + $(am__append_9800) $(am__append_9807) $(am__append_9814) \ + $(am__append_9821) $(am__append_9828) $(am__append_9835) \ + $(am__append_9842) $(am__append_9849) $(am__append_9856) \ + $(am__append_9863) $(am__append_9870) $(am__append_9877) \ + $(am__append_9884) $(am__append_9891) $(am__append_9898) \ + $(am__append_9905) $(am__append_9912) $(am__append_9919) \ + $(am__append_9926) $(am__append_9933) $(am__append_9940) \ + $(am__append_9947) $(am__append_9954) $(am__append_9961) \ + $(am__append_9968) $(am__append_9975) $(am__append_9982) \ + $(am__append_9989) $(am__append_9996) $(am__append_10003) \ + $(am__append_10010) $(am__append_10017) $(am__append_10024) \ + $(am__append_10031) $(am__append_10038) $(am__append_10045) \ + $(am__append_10052) $(am__append_10059) $(am__append_10066) \ + $(am__append_10073) $(am__append_10080) $(am__append_10087) \ + $(am__append_10094) $(am__append_10101) $(am__append_10108) \ + $(am__append_10115) $(am__append_10122) $(am__append_10129) \ + $(am__append_10136) $(am__append_10143) $(am__append_10150) \ + $(am__append_10157) $(am__append_10164) $(am__append_10171) \ + $(am__append_10178) $(am__append_10185) $(am__append_10192) \ + $(am__append_10199) $(am__append_10206) $(am__append_10213) \ + $(am__append_10220) $(am__append_10227) $(am__append_10234) \ + $(am__append_10241) $(am__append_10248) $(am__append_10255) \ + $(am__append_10262) $(am__append_10269) $(am__append_10276) \ + $(am__append_10283) $(am__append_10290) $(am__append_10297) \ + $(am__append_10304) $(am__append_10311) $(am__append_10318) \ + $(am__append_10325) $(am__append_10332) $(am__append_10339) \ + $(am__append_10346) $(am__append_10353) $(am__append_10360) \ + $(am__append_10367) $(am__append_10374) $(am__append_10381) \ + $(am__append_10388) $(am__append_10395) $(am__append_10402) \ + $(am__append_10409) $(am__append_10416) $(am__append_10423) \ + $(am__append_10430) $(am__append_10437) $(am__append_10444) \ + $(am__append_10451) $(am__append_10458) $(am__append_10465) \ + $(am__append_10472) $(am__append_10479) $(am__append_10486) \ + $(am__append_10493) $(am__append_10500) $(am__append_10507) \ + $(am__append_10514) $(am__append_10521) $(am__append_10528) \ + $(am__append_10535) $(am__append_10542) $(am__append_10549) \ + $(am__append_10556) $(am__append_10563) $(am__append_10570) \ + $(am__append_10577) $(am__append_10584) $(am__append_10591) \ + $(am__append_10598) $(am__append_10605) $(am__append_10612) \ + $(am__append_10619) $(am__append_10626) $(am__append_10633) \ + $(am__append_10640) $(am__append_10647) $(am__append_10654) \ + $(am__append_10661) $(am__append_10668) $(am__append_10675) \ + $(am__append_10682) $(am__append_10689) $(am__append_10696) \ + $(am__append_10703) $(am__append_10710) $(am__append_10717) \ + $(am__append_10724) $(am__append_10731) $(am__append_10738) \ + $(am__append_10745) $(am__append_10752) $(am__append_10759) \ + $(am__append_10766) $(am__append_10773) $(am__append_10780) \ + $(am__append_10787) $(am__append_10794) $(am__append_10801) \ + $(am__append_10808) $(am__append_10815) $(am__append_10822) \ + $(am__append_10829) $(am__append_10836) $(am__append_10843) \ + $(am__append_10850) $(am__append_10857) $(am__append_10864) \ + $(am__append_10871) $(am__append_10878) $(am__append_10885) \ + $(am__append_10892) $(am__append_10899) $(am__append_10906) \ + $(am__append_10913) $(am__append_10920) $(am__append_10927) \ + $(am__append_10934) $(am__append_10941) $(am__append_10948) \ + $(am__append_10955) $(am__append_10962) $(am__append_10969) \ + $(am__append_10976) $(am__append_10983) $(am__append_10990) \ + $(am__append_10997) $(am__append_11004) $(am__append_11011) \ + $(am__append_11018) $(am__append_11025) $(am__append_11032) \ + $(am__append_11039) $(am__append_11046) $(am__append_11053) \ + $(am__append_11060) $(am__append_11067) $(am__append_11074) \ + $(am__append_11081) $(am__append_11088) $(am__append_11095) \ + $(am__append_11102) $(am__append_11109) $(am__append_11116) \ + $(am__append_11123) $(am__append_11130) $(am__append_11137) \ + $(am__append_11144) $(am__append_11151) $(am__append_11158) \ + $(am__append_11165) $(am__append_11172) $(am__append_11179) \ + $(am__append_11186) $(am__append_11193) $(am__append_11200) \ + $(am__append_11207) $(am__append_11214) $(am__append_11221) \ + $(am__append_11228) $(am__append_11235) $(am__append_11242) \ + $(am__append_11249) $(am__append_11256) $(am__append_11263) \ + $(am__append_11270) $(am__append_11277) $(am__append_11284) \ + $(am__append_11291) $(am__append_11298) $(am__append_11305) \ + $(am__append_11312) $(am__append_11319) $(am__append_11326) \ + $(am__append_11333) $(am__append_11340) $(am__append_11347) \ + $(am__append_11354) $(am__append_11361) $(am__append_11368) \ + $(am__append_11375) $(am__append_11382) $(am__append_11389) \ + $(am__append_11396) $(am__append_11403) $(am__append_11410) \ + $(am__append_11417) $(am__append_11424) $(am__append_11431) \ + $(am__append_11438) $(am__append_11445) $(am__append_11452) \ + $(am__append_11459) $(am__append_11466) $(am__append_11473) \ + $(am__append_11480) $(am__append_11487) $(am__append_11494) \ + $(am__append_11501) $(am__append_11508) $(am__append_11515) \ + $(am__append_11522) $(am__append_11529) $(am__append_11536) \ + $(am__append_11543) $(am__append_11550) $(am__append_11557) \ + $(am__append_11564) $(am__append_11571) $(am__append_11578) \ + $(am__append_11585) $(am__append_11592) $(am__append_11599) \ + $(am__append_11606) $(am__append_11613) $(am__append_11620) \ + $(am__append_11627) $(am__append_11634) $(am__append_11641) \ + $(am__append_11648) $(am__append_11655) $(am__append_11662) \ + $(am__append_11669) $(am__append_11676) $(am__append_11683) \ + $(am__append_11690) $(am__append_11697) $(am__append_11704) \ + $(am__append_11711) $(am__append_11718) $(am__append_11725) \ + $(am__append_11732) $(am__append_11739) $(am__append_11746) \ + $(am__append_11753) $(am__append_11760) $(am__append_11767) \ + $(am__append_11774) $(am__append_11781) $(am__append_11788) \ + $(am__append_11795) $(am__append_11802) $(am__append_11809) \ + $(am__append_11816) $(am__append_11823) $(am__append_11830) \ + $(am__append_11837) $(am__append_11844) $(am__append_11851) \ + $(am__append_11858) $(am__append_11865) $(am__append_11872) \ + $(am__append_11879) $(am__append_11886) $(am__append_11893) \ + $(am__append_11900) $(am__append_11907) $(am__append_11914) \ + $(am__append_11921) $(am__append_11928) $(am__append_11935) \ + $(am__append_11942) $(am__append_11949) $(am__append_11956) \ + $(am__append_11963) $(am__append_11970) $(am__append_11977) \ + $(am__append_11984) $(am__append_11991) $(am__append_11998) \ + $(am__append_12005) $(am__append_12012) $(am__append_12019) \ + $(am__append_12026) $(am__append_12033) $(am__append_12040) \ + $(am__append_12047) $(am__append_12054) $(am__append_12061) \ + $(am__append_12068) $(am__append_12075) $(am__append_12082) \ + $(am__append_12089) $(am__append_12096) $(am__append_12103) \ + $(am__append_12110) $(am__append_12117) $(am__append_12124) \ + $(am__append_12131) $(am__append_12137) $(am__append_12142) \ + $(am__append_12147) $(am__append_12152) $(am__append_12157) \ + $(am__append_12162) $(am__append_12167) $(am__append_12172) \ + $(am__append_12177) $(am__append_12182) $(am__append_12187) \ + $(am__append_12192) $(am__append_12197) $(am__append_12202) \ + $(am__append_12207) $(am__append_12212) $(am__append_12217) \ + $(am__append_12222) $(am__append_12232) $(am__append_12241) \ + $(am__append_12250) $(am__append_12259) $(am__append_12268) \ + $(am__append_12277) $(am__append_12286) $(am__append_12295) \ + $(am__append_12304) $(am__append_12313) $(am__append_12322) \ + $(am__append_12325) $(am__append_12328) $(am__append_12332) \ + $(am__append_12335) $(am__append_12338) $(am__append_12341) \ + $(am__append_12344) $(am__append_12347) $(am__append_12350) \ + $(am__append_12353) $(am__append_12356) $(am__append_12359) \ + $(am__append_12362) $(am__append_12365) $(am__append_12368) \ + $(am__append_12371) $(am__append_12374) $(am__append_12377) \ + $(am__append_12380) $(am__append_12383) $(am__append_12386) \ + $(am__append_12389) $(am__append_12392) symlist.h symlist.c \ + kernel_syms.lst $(am__append_12408) fs.lst command.lst \ + partmap.lst terminal.lst parttool.lst video.lst crypto.lst \ + config.log syminfo.lst moddep.lst $(MOD_FILES) \ + $(am__append_12410) +BUILT_SOURCES = $(am__append_13) $(am__append_20) $(am__append_27) \ + $(am__append_34) $(am__append_41) $(am__append_48) \ + $(am__append_55) $(am__append_62) $(am__append_69) \ + $(am__append_76) $(am__append_83) $(am__append_90) \ + $(am__append_97) $(am__append_104) $(am__append_111) \ + $(am__append_118) $(am__append_125) $(am__append_132) \ + $(am__append_139) $(am__append_146) $(am__append_153) \ + $(am__append_160) $(am__append_167) $(am__append_174) \ + $(am__append_181) $(am__append_188) $(am__append_195) \ + $(am__append_202) $(am__append_209) $(am__append_216) \ + $(am__append_223) $(am__append_230) $(am__append_237) \ + $(am__append_244) $(am__append_251) $(am__append_258) \ + $(am__append_265) $(am__append_272) $(am__append_279) \ + $(am__append_286) $(am__append_293) $(am__append_300) \ + $(am__append_307) $(am__append_314) $(am__append_321) \ + $(am__append_328) $(am__append_335) $(am__append_342) \ + $(am__append_349) $(am__append_356) $(am__append_363) \ + $(am__append_370) $(am__append_377) $(am__append_384) \ + $(am__append_391) $(am__append_398) $(am__append_405) \ + $(am__append_412) $(am__append_419) $(am__append_426) \ + $(am__append_433) $(am__append_440) $(am__append_447) \ + $(am__append_454) $(am__append_461) $(am__append_468) \ + $(am__append_475) $(am__append_482) $(am__append_489) \ + $(am__append_496) $(am__append_503) $(am__append_510) \ + $(am__append_517) $(am__append_524) $(am__append_531) \ + $(am__append_538) $(am__append_545) $(am__append_552) \ + $(am__append_559) $(am__append_566) $(am__append_573) \ + $(am__append_580) $(am__append_587) $(am__append_594) \ + $(am__append_601) $(am__append_608) $(am__append_615) \ + $(am__append_622) $(am__append_629) $(am__append_636) \ + $(am__append_643) $(am__append_650) $(am__append_657) \ + $(am__append_664) $(am__append_671) $(am__append_678) \ + $(am__append_685) $(am__append_692) $(am__append_699) \ + $(am__append_706) $(am__append_713) $(am__append_720) \ + $(am__append_727) $(am__append_734) $(am__append_741) \ + $(am__append_748) $(am__append_755) $(am__append_762) \ + $(am__append_769) $(am__append_776) $(am__append_783) \ + $(am__append_790) $(am__append_797) $(am__append_804) \ + $(am__append_811) $(am__append_818) $(am__append_825) \ + $(am__append_832) $(am__append_839) $(am__append_846) \ + $(am__append_853) $(am__append_860) $(am__append_867) \ + $(am__append_874) $(am__append_881) $(am__append_888) \ + $(am__append_895) $(am__append_902) $(am__append_909) \ + $(am__append_916) $(am__append_923) $(am__append_930) \ + $(am__append_937) $(am__append_944) $(am__append_951) \ + $(am__append_958) $(am__append_965) $(am__append_972) \ + $(am__append_979) $(am__append_986) $(am__append_993) \ + $(am__append_1000) $(am__append_1007) $(am__append_1014) \ + $(am__append_1021) $(am__append_1028) $(am__append_1035) \ + $(am__append_1042) $(am__append_1049) $(am__append_1056) \ + $(am__append_1063) $(am__append_1070) $(am__append_1077) \ + $(am__append_1084) $(am__append_1091) $(am__append_1098) \ + $(am__append_1105) $(am__append_1112) $(am__append_1119) \ + $(am__append_1126) $(am__append_1133) $(am__append_1140) \ + $(am__append_1147) $(am__append_1154) $(am__append_1161) \ + $(am__append_1168) $(am__append_1175) $(am__append_1182) \ + $(am__append_1189) $(am__append_1196) $(am__append_1203) \ + $(am__append_1210) $(am__append_1217) $(am__append_1224) \ + $(am__append_1231) $(am__append_1238) $(am__append_1245) \ + $(am__append_1252) $(am__append_1259) $(am__append_1266) \ + $(am__append_1273) $(am__append_1280) $(am__append_1287) \ + $(am__append_1294) $(am__append_1301) $(am__append_1308) \ + $(am__append_1315) $(am__append_1322) $(am__append_1329) \ + $(am__append_1336) $(am__append_1343) $(am__append_1350) \ + $(am__append_1357) $(am__append_1364) $(am__append_1371) \ + $(am__append_1378) $(am__append_1385) $(am__append_1392) \ + $(am__append_1399) $(am__append_1406) $(am__append_1413) \ + $(am__append_1420) $(am__append_1427) $(am__append_1434) \ + $(am__append_1441) $(am__append_1448) $(am__append_1455) \ + $(am__append_1462) $(am__append_1469) $(am__append_1476) \ + $(am__append_1483) $(am__append_1490) $(am__append_1497) \ + $(am__append_1504) $(am__append_1511) $(am__append_1518) \ + $(am__append_1525) $(am__append_1532) $(am__append_1539) \ + $(am__append_1546) $(am__append_1553) $(am__append_1560) \ + $(am__append_1567) $(am__append_1574) $(am__append_1581) \ + $(am__append_1588) $(am__append_1595) $(am__append_1602) \ + $(am__append_1609) $(am__append_1616) $(am__append_1623) \ + $(am__append_1630) $(am__append_1637) $(am__append_1644) \ + $(am__append_1651) $(am__append_1658) $(am__append_1665) \ + $(am__append_1672) $(am__append_1679) $(am__append_1686) \ + $(am__append_1693) $(am__append_1700) $(am__append_1707) \ + $(am__append_1714) $(am__append_1721) $(am__append_1728) \ + $(am__append_1735) $(am__append_1742) $(am__append_1749) \ + $(am__append_1756) $(am__append_1763) $(am__append_1770) \ + $(am__append_1777) $(am__append_1784) $(am__append_1791) \ + $(am__append_1798) $(am__append_1805) $(am__append_1812) \ + $(am__append_1819) $(am__append_1826) $(am__append_1833) \ + $(am__append_1840) $(am__append_1847) $(am__append_1854) \ + $(am__append_1861) $(am__append_1868) $(am__append_1875) \ + $(am__append_1882) $(am__append_1889) $(am__append_1896) \ + $(am__append_1903) $(am__append_1910) $(am__append_1917) \ + $(am__append_1924) $(am__append_1931) $(am__append_1938) \ + $(am__append_1945) $(am__append_1952) $(am__append_1959) \ + $(am__append_1966) $(am__append_1973) $(am__append_1980) \ + $(am__append_1987) $(am__append_1994) $(am__append_2001) \ + $(am__append_2008) $(am__append_2015) $(am__append_2022) \ + $(am__append_2029) $(am__append_2036) $(am__append_2043) \ + $(am__append_2050) $(am__append_2057) $(am__append_2064) \ + $(am__append_2071) $(am__append_2078) $(am__append_2085) \ + $(am__append_2092) $(am__append_2099) $(am__append_2106) \ + $(am__append_2113) $(am__append_2120) $(am__append_2127) \ + $(am__append_2134) $(am__append_2141) $(am__append_2148) \ + $(am__append_2155) $(am__append_2162) $(am__append_2169) \ + $(am__append_2176) $(am__append_2183) $(am__append_2190) \ + $(am__append_2197) $(am__append_2204) $(am__append_2211) \ + $(am__append_2218) $(am__append_2225) $(am__append_2232) \ + $(am__append_2239) $(am__append_2246) $(am__append_2253) \ + $(am__append_2260) $(am__append_2267) $(am__append_2274) \ + $(am__append_2281) $(am__append_2288) $(am__append_2295) \ + $(am__append_2302) $(am__append_2309) $(am__append_2316) \ + $(am__append_2323) $(am__append_2330) $(am__append_2337) \ + $(am__append_2344) $(am__append_2351) $(am__append_2358) \ + $(am__append_2365) $(am__append_2372) $(am__append_2379) \ + $(am__append_2386) $(am__append_2393) $(am__append_2400) \ + $(am__append_2407) $(am__append_2414) $(am__append_2421) \ + $(am__append_2428) $(am__append_2435) $(am__append_2442) \ + $(am__append_2449) $(am__append_2456) $(am__append_2463) \ + $(am__append_2470) $(am__append_2477) $(am__append_2484) \ + $(am__append_2491) $(am__append_2498) $(am__append_2505) \ + $(am__append_2512) $(am__append_2519) $(am__append_2526) \ + $(am__append_2533) $(am__append_2540) $(am__append_2547) \ + $(am__append_2554) $(am__append_2561) $(am__append_2568) \ + $(am__append_2575) $(am__append_2582) $(am__append_2589) \ + $(am__append_2596) $(am__append_2603) $(am__append_2610) \ + $(am__append_2617) $(am__append_2624) $(am__append_2631) \ + $(am__append_2638) $(am__append_2645) $(am__append_2652) \ + $(am__append_2659) $(am__append_2666) $(am__append_2673) \ + $(am__append_2680) $(am__append_2687) $(am__append_2694) \ + $(am__append_2701) $(am__append_2708) $(am__append_2715) \ + $(am__append_2722) $(am__append_2729) $(am__append_2736) \ + $(am__append_2743) $(am__append_2750) $(am__append_2757) \ + $(am__append_2764) $(am__append_2771) $(am__append_2778) \ + $(am__append_2785) $(am__append_2792) $(am__append_2799) \ + $(am__append_2806) $(am__append_2813) $(am__append_2820) \ + $(am__append_2827) $(am__append_2834) $(am__append_2841) \ + $(am__append_2848) $(am__append_2855) $(am__append_2862) \ + $(am__append_2869) $(am__append_2876) $(am__append_2883) \ + $(am__append_2890) $(am__append_2897) $(am__append_2904) \ + $(am__append_2911) $(am__append_2918) $(am__append_2925) \ + $(am__append_2932) $(am__append_2939) $(am__append_2946) \ + $(am__append_2953) $(am__append_2960) $(am__append_2967) \ + $(am__append_2974) $(am__append_2981) $(am__append_2988) \ + $(am__append_2995) $(am__append_3002) $(am__append_3009) \ + $(am__append_3016) $(am__append_3023) $(am__append_3030) \ + $(am__append_3037) $(am__append_3044) $(am__append_3051) \ + $(am__append_3058) $(am__append_3065) $(am__append_3072) \ + $(am__append_3079) $(am__append_3086) $(am__append_3093) \ + $(am__append_3100) $(am__append_3107) $(am__append_3114) \ + $(am__append_3121) $(am__append_3128) $(am__append_3135) \ + $(am__append_3142) $(am__append_3149) $(am__append_3156) \ + $(am__append_3163) $(am__append_3170) $(am__append_3177) \ + $(am__append_3184) $(am__append_3191) $(am__append_3198) \ + $(am__append_3205) $(am__append_3212) $(am__append_3219) \ + $(am__append_3226) $(am__append_3233) $(am__append_3240) \ + $(am__append_3247) $(am__append_3254) $(am__append_3261) \ + $(am__append_3268) $(am__append_3275) $(am__append_3282) \ + $(am__append_3289) $(am__append_3296) $(am__append_3303) \ + $(am__append_3310) $(am__append_3317) $(am__append_3324) \ + $(am__append_3331) $(am__append_3338) $(am__append_3345) \ + $(am__append_3352) $(am__append_3359) $(am__append_3366) \ + $(am__append_3373) $(am__append_3380) $(am__append_3387) \ + $(am__append_3394) $(am__append_3401) $(am__append_3408) \ + $(am__append_3415) $(am__append_3422) $(am__append_3429) \ + $(am__append_3436) $(am__append_3443) $(am__append_3450) \ + $(am__append_3457) $(am__append_3464) $(am__append_3471) \ + $(am__append_3478) $(am__append_3485) $(am__append_3492) \ + $(am__append_3499) $(am__append_3506) $(am__append_3513) \ + $(am__append_3520) $(am__append_3527) $(am__append_3534) \ + $(am__append_3541) $(am__append_3548) $(am__append_3555) \ + $(am__append_3562) $(am__append_3569) $(am__append_3576) \ + $(am__append_3583) $(am__append_3590) $(am__append_3597) \ + $(am__append_3604) $(am__append_3611) $(am__append_3618) \ + $(am__append_3625) $(am__append_3632) $(am__append_3639) \ + $(am__append_3646) $(am__append_3653) $(am__append_3660) \ + $(am__append_3667) $(am__append_3674) $(am__append_3681) \ + $(am__append_3688) $(am__append_3695) $(am__append_3702) \ + $(am__append_3709) $(am__append_3716) $(am__append_3723) \ + $(am__append_3730) $(am__append_3737) $(am__append_3744) \ + $(am__append_3751) $(am__append_3758) $(am__append_3765) \ + $(am__append_3772) $(am__append_3779) $(am__append_3786) \ + $(am__append_3793) $(am__append_3800) $(am__append_3807) \ + $(am__append_3814) $(am__append_3821) $(am__append_3828) \ + $(am__append_3835) $(am__append_3842) $(am__append_3849) \ + $(am__append_3856) $(am__append_3863) $(am__append_3870) \ + $(am__append_3877) $(am__append_3884) $(am__append_3891) \ + $(am__append_3898) $(am__append_3905) $(am__append_3912) \ + $(am__append_3919) $(am__append_3926) $(am__append_3933) \ + $(am__append_3940) $(am__append_3947) $(am__append_3954) \ + $(am__append_3961) $(am__append_3968) $(am__append_3975) \ + $(am__append_3982) $(am__append_3989) $(am__append_3996) \ + $(am__append_4003) $(am__append_4010) $(am__append_4017) \ + $(am__append_4024) $(am__append_4031) $(am__append_4038) \ + $(am__append_4045) $(am__append_4052) $(am__append_4059) \ + $(am__append_4066) $(am__append_4073) $(am__append_4080) \ + $(am__append_4087) $(am__append_4094) $(am__append_4101) \ + $(am__append_4108) $(am__append_4115) $(am__append_4122) \ + $(am__append_4129) $(am__append_4136) $(am__append_4143) \ + $(am__append_4150) $(am__append_4157) $(am__append_4164) \ + $(am__append_4171) $(am__append_4178) $(am__append_4185) \ + $(am__append_4192) $(am__append_4199) $(am__append_4206) \ + $(am__append_4213) $(am__append_4220) $(am__append_4227) \ + $(am__append_4234) $(am__append_4241) $(am__append_4248) \ + $(am__append_4255) $(am__append_4262) $(am__append_4269) \ + $(am__append_4276) $(am__append_4283) $(am__append_4290) \ + $(am__append_4297) $(am__append_4304) $(am__append_4311) \ + $(am__append_4318) $(am__append_4325) $(am__append_4332) \ + $(am__append_4339) $(am__append_4346) $(am__append_4353) \ + $(am__append_4360) $(am__append_4367) $(am__append_4374) \ + $(am__append_4381) $(am__append_4388) $(am__append_4395) \ + $(am__append_4402) $(am__append_4409) $(am__append_4416) \ + $(am__append_4423) $(am__append_4430) $(am__append_4437) \ + $(am__append_4444) $(am__append_4451) $(am__append_4458) \ + $(am__append_4465) $(am__append_4472) $(am__append_4479) \ + $(am__append_4486) $(am__append_4493) $(am__append_4500) \ + $(am__append_4507) $(am__append_4514) $(am__append_4521) \ + $(am__append_4528) $(am__append_4535) $(am__append_4542) \ + $(am__append_4549) $(am__append_4556) $(am__append_4563) \ + $(am__append_4570) $(am__append_4577) $(am__append_4584) \ + $(am__append_4591) $(am__append_4598) $(am__append_4605) \ + $(am__append_4612) $(am__append_4619) $(am__append_4626) \ + $(am__append_4633) $(am__append_4640) $(am__append_4647) \ + $(am__append_4654) $(am__append_4661) $(am__append_4668) \ + $(am__append_4675) $(am__append_4682) $(am__append_4689) \ + $(am__append_4696) $(am__append_4703) $(am__append_4710) \ + $(am__append_4717) $(am__append_4724) $(am__append_4731) \ + $(am__append_4738) $(am__append_4745) $(am__append_4752) \ + $(am__append_4759) $(am__append_4766) $(am__append_4773) \ + $(am__append_4780) $(am__append_4787) $(am__append_4794) \ + $(am__append_4801) $(am__append_4808) $(am__append_4815) \ + $(am__append_4822) $(am__append_4829) $(am__append_4836) \ + $(am__append_4843) $(am__append_4850) $(am__append_4857) \ + $(am__append_4864) $(am__append_4871) $(am__append_4878) \ + $(am__append_4885) $(am__append_4892) $(am__append_4899) \ + $(am__append_4906) $(am__append_4913) $(am__append_4920) \ + $(am__append_4927) $(am__append_4934) $(am__append_4941) \ + $(am__append_4948) $(am__append_4955) $(am__append_4962) \ + $(am__append_4969) $(am__append_4976) $(am__append_4983) \ + $(am__append_4990) $(am__append_4997) $(am__append_5004) \ + $(am__append_5011) $(am__append_5018) $(am__append_5025) \ + $(am__append_5032) $(am__append_5039) $(am__append_5046) \ + $(am__append_5053) $(am__append_5060) $(am__append_5067) \ + $(am__append_5074) $(am__append_5081) $(am__append_5088) \ + $(am__append_5095) $(am__append_5102) $(am__append_5109) \ + $(am__append_5116) $(am__append_5123) $(am__append_5130) \ + $(am__append_5137) $(am__append_5144) $(am__append_5151) \ + $(am__append_5158) $(am__append_5165) $(am__append_5172) \ + $(am__append_5179) $(am__append_5186) $(am__append_5193) \ + $(am__append_5200) $(am__append_5207) $(am__append_5214) \ + $(am__append_5221) $(am__append_5228) $(am__append_5235) \ + $(am__append_5242) $(am__append_5249) $(am__append_5256) \ + $(am__append_5263) $(am__append_5270) $(am__append_5277) \ + $(am__append_5284) $(am__append_5291) $(am__append_5298) \ + $(am__append_5305) $(am__append_5312) $(am__append_5319) \ + $(am__append_5326) $(am__append_5333) $(am__append_5340) \ + $(am__append_5347) $(am__append_5354) $(am__append_5361) \ + $(am__append_5368) $(am__append_5375) $(am__append_5382) \ + $(am__append_5389) $(am__append_5396) $(am__append_5403) \ + $(am__append_5410) $(am__append_5417) $(am__append_5424) \ + $(am__append_5431) $(am__append_5438) $(am__append_5445) \ + $(am__append_5452) $(am__append_5459) $(am__append_5466) \ + $(am__append_5473) $(am__append_5480) $(am__append_5487) \ + $(am__append_5494) $(am__append_5501) $(am__append_5508) \ + $(am__append_5515) $(am__append_5522) $(am__append_5529) \ + $(am__append_5536) $(am__append_5543) $(am__append_5550) \ + $(am__append_5557) $(am__append_5564) $(am__append_5571) \ + $(am__append_5578) $(am__append_5585) $(am__append_5592) \ + $(am__append_5599) $(am__append_5606) $(am__append_5613) \ + $(am__append_5620) $(am__append_5627) $(am__append_5634) \ + $(am__append_5641) $(am__append_5648) $(am__append_5655) \ + $(am__append_5662) $(am__append_5669) $(am__append_5676) \ + $(am__append_5683) $(am__append_5690) $(am__append_5697) \ + $(am__append_5704) $(am__append_5711) $(am__append_5718) \ + $(am__append_5725) $(am__append_5732) $(am__append_5739) \ + $(am__append_5746) $(am__append_5753) $(am__append_5760) \ + $(am__append_5767) $(am__append_5774) $(am__append_5781) \ + $(am__append_5788) $(am__append_5795) $(am__append_5802) \ + $(am__append_5809) $(am__append_5816) $(am__append_5823) \ + $(am__append_5830) $(am__append_5837) $(am__append_5844) \ + $(am__append_5851) $(am__append_5858) $(am__append_5865) \ + $(am__append_5872) $(am__append_5879) $(am__append_5886) \ + $(am__append_5893) $(am__append_5900) $(am__append_5907) \ + $(am__append_5914) $(am__append_5921) $(am__append_5928) \ + $(am__append_5935) $(am__append_5942) $(am__append_5949) \ + $(am__append_5956) $(am__append_5963) $(am__append_5970) \ + $(am__append_5977) $(am__append_5984) $(am__append_5991) \ + $(am__append_5998) $(am__append_6005) $(am__append_6012) \ + $(am__append_6019) $(am__append_6026) $(am__append_6033) \ + $(am__append_6040) $(am__append_6047) $(am__append_6054) \ + $(am__append_6061) $(am__append_6068) $(am__append_6075) \ + $(am__append_6082) $(am__append_6089) $(am__append_6096) \ + $(am__append_6103) $(am__append_6110) $(am__append_6117) \ + $(am__append_6124) $(am__append_6131) $(am__append_6138) \ + $(am__append_6145) $(am__append_6152) $(am__append_6159) \ + $(am__append_6166) $(am__append_6173) $(am__append_6180) \ + $(am__append_6187) $(am__append_6194) $(am__append_6201) \ + $(am__append_6208) $(am__append_6215) $(am__append_6222) \ + $(am__append_6229) $(am__append_6236) $(am__append_6243) \ + $(am__append_6250) $(am__append_6257) $(am__append_6264) \ + $(am__append_6271) $(am__append_6278) $(am__append_6285) \ + $(am__append_6292) $(am__append_6299) $(am__append_6306) \ + $(am__append_6313) $(am__append_6320) $(am__append_6327) \ + $(am__append_6334) $(am__append_6341) $(am__append_6348) \ + $(am__append_6355) $(am__append_6362) $(am__append_6369) \ + $(am__append_6376) $(am__append_6383) $(am__append_6390) \ + $(am__append_6397) $(am__append_6404) $(am__append_6411) \ + $(am__append_6418) $(am__append_6425) $(am__append_6432) \ + $(am__append_6439) $(am__append_6446) $(am__append_6453) \ + $(am__append_6460) $(am__append_6467) $(am__append_6474) \ + $(am__append_6481) $(am__append_6488) $(am__append_6495) \ + $(am__append_6502) $(am__append_6509) $(am__append_6516) \ + $(am__append_6523) $(am__append_6530) $(am__append_6537) \ + $(am__append_6544) $(am__append_6551) $(am__append_6558) \ + $(am__append_6565) $(am__append_6572) $(am__append_6579) \ + $(am__append_6586) $(am__append_6593) $(am__append_6600) \ + $(am__append_6607) $(am__append_6614) $(am__append_6621) \ + $(am__append_6628) $(am__append_6635) $(am__append_6642) \ + $(am__append_6649) $(am__append_6656) $(am__append_6663) \ + $(am__append_6670) $(am__append_6677) $(am__append_6684) \ + $(am__append_6691) $(am__append_6698) $(am__append_6705) \ + $(am__append_6712) $(am__append_6719) $(am__append_6726) \ + $(am__append_6733) $(am__append_6740) $(am__append_6747) \ + $(am__append_6754) $(am__append_6761) $(am__append_6768) \ + $(am__append_6775) $(am__append_6782) $(am__append_6789) \ + $(am__append_6796) $(am__append_6803) $(am__append_6810) \ + $(am__append_6817) $(am__append_6824) $(am__append_6831) \ + $(am__append_6838) $(am__append_6845) $(am__append_6852) \ + $(am__append_6859) $(am__append_6866) $(am__append_6873) \ + $(am__append_6880) $(am__append_6887) $(am__append_6894) \ + $(am__append_6901) $(am__append_6908) $(am__append_6915) \ + $(am__append_6922) $(am__append_6929) $(am__append_6936) \ + $(am__append_6943) $(am__append_6950) $(am__append_6957) \ + $(am__append_6964) $(am__append_6971) $(am__append_6978) \ + $(am__append_6985) $(am__append_6992) $(am__append_6999) \ + $(am__append_7006) $(am__append_7013) $(am__append_7020) \ + $(am__append_7027) $(am__append_7034) $(am__append_7041) \ + $(am__append_7048) $(am__append_7055) $(am__append_7062) \ + $(am__append_7069) $(am__append_7076) $(am__append_7083) \ + $(am__append_7090) $(am__append_7097) $(am__append_7104) \ + $(am__append_7111) $(am__append_7118) $(am__append_7125) \ + $(am__append_7132) $(am__append_7139) $(am__append_7146) \ + $(am__append_7153) $(am__append_7160) $(am__append_7167) \ + $(am__append_7174) $(am__append_7181) $(am__append_7188) \ + $(am__append_7195) $(am__append_7202) $(am__append_7209) \ + $(am__append_7216) $(am__append_7223) $(am__append_7230) \ + $(am__append_7237) $(am__append_7244) $(am__append_7251) \ + $(am__append_7258) $(am__append_7265) $(am__append_7272) \ + $(am__append_7279) $(am__append_7286) $(am__append_7293) \ + $(am__append_7300) $(am__append_7307) $(am__append_7314) \ + $(am__append_7321) $(am__append_7328) $(am__append_7335) \ + $(am__append_7342) $(am__append_7349) $(am__append_7356) \ + $(am__append_7363) $(am__append_7370) $(am__append_7377) \ + $(am__append_7384) $(am__append_7391) $(am__append_7398) \ + $(am__append_7405) $(am__append_7412) $(am__append_7419) \ + $(am__append_7426) $(am__append_7433) $(am__append_7440) \ + $(am__append_7447) $(am__append_7454) $(am__append_7461) \ + $(am__append_7468) $(am__append_7475) $(am__append_7482) \ + $(am__append_7489) $(am__append_7496) $(am__append_7503) \ + $(am__append_7510) $(am__append_7517) $(am__append_7524) \ + $(am__append_7531) $(am__append_7538) $(am__append_7545) \ + $(am__append_7552) $(am__append_7559) $(am__append_7566) \ + $(am__append_7573) $(am__append_7580) $(am__append_7587) \ + $(am__append_7594) $(am__append_7601) $(am__append_7608) \ + $(am__append_7615) $(am__append_7622) $(am__append_7629) \ + $(am__append_7636) $(am__append_7643) $(am__append_7650) \ + $(am__append_7657) $(am__append_7664) $(am__append_7671) \ + $(am__append_7678) $(am__append_7685) $(am__append_7692) \ + $(am__append_7699) $(am__append_7706) $(am__append_7713) \ + $(am__append_7720) $(am__append_7727) $(am__append_7734) \ + $(am__append_7741) $(am__append_7748) $(am__append_7755) \ + $(am__append_7762) $(am__append_7769) $(am__append_7776) \ + $(am__append_7783) $(am__append_7790) $(am__append_7797) \ + $(am__append_7804) $(am__append_7811) $(am__append_7818) \ + $(am__append_7825) $(am__append_7832) $(am__append_7839) \ + $(am__append_7846) $(am__append_7853) $(am__append_7860) \ + $(am__append_7867) $(am__append_7874) $(am__append_7881) \ + $(am__append_7888) $(am__append_7895) $(am__append_7902) \ + $(am__append_7909) $(am__append_7916) $(am__append_7923) \ + $(am__append_7930) $(am__append_7937) $(am__append_7944) \ + $(am__append_7951) $(am__append_7958) $(am__append_7965) \ + $(am__append_7972) $(am__append_7979) $(am__append_7986) \ + $(am__append_7993) $(am__append_8000) $(am__append_8007) \ + $(am__append_8014) $(am__append_8021) $(am__append_8028) \ + $(am__append_8035) $(am__append_8042) $(am__append_8049) \ + $(am__append_8056) $(am__append_8063) $(am__append_8070) \ + $(am__append_8077) $(am__append_8084) $(am__append_8091) \ + $(am__append_8098) $(am__append_8105) $(am__append_8112) \ + $(am__append_8119) $(am__append_8126) $(am__append_8133) \ + $(am__append_8140) $(am__append_8147) $(am__append_8154) \ + $(am__append_8161) $(am__append_8168) $(am__append_8175) \ + $(am__append_8182) $(am__append_8189) $(am__append_8196) \ + $(am__append_8203) $(am__append_8210) $(am__append_8217) \ + $(am__append_8224) $(am__append_8231) $(am__append_8238) \ + $(am__append_8245) $(am__append_8252) $(am__append_8259) \ + $(am__append_8266) $(am__append_8273) $(am__append_8280) \ + $(am__append_8287) $(am__append_8294) $(am__append_8301) \ + $(am__append_8308) $(am__append_8315) $(am__append_8322) \ + $(am__append_8329) $(am__append_8336) $(am__append_8343) \ + $(am__append_8350) $(am__append_8357) $(am__append_8364) \ + $(am__append_8371) $(am__append_8378) $(am__append_8385) \ + $(am__append_8392) $(am__append_8399) $(am__append_8406) \ + $(am__append_8413) $(am__append_8420) $(am__append_8427) \ + $(am__append_8434) $(am__append_8441) $(am__append_8448) \ + $(am__append_8455) $(am__append_8462) $(am__append_8469) \ + $(am__append_8476) $(am__append_8483) $(am__append_8490) \ + $(am__append_8497) $(am__append_8504) $(am__append_8511) \ + $(am__append_8518) $(am__append_8525) $(am__append_8532) \ + $(am__append_8539) $(am__append_8546) $(am__append_8553) \ + $(am__append_8560) $(am__append_8567) $(am__append_8574) \ + $(am__append_8581) $(am__append_8588) $(am__append_8595) \ + $(am__append_8602) $(am__append_8609) $(am__append_8616) \ + $(am__append_8623) $(am__append_8630) $(am__append_8637) \ + $(am__append_8644) $(am__append_8651) $(am__append_8658) \ + $(am__append_8665) $(am__append_8672) $(am__append_8679) \ + $(am__append_8686) $(am__append_8693) $(am__append_8700) \ + $(am__append_8707) $(am__append_8714) $(am__append_8721) \ + $(am__append_8728) $(am__append_8735) $(am__append_8742) \ + $(am__append_8749) $(am__append_8756) $(am__append_8763) \ + $(am__append_8770) $(am__append_8777) $(am__append_8784) \ + $(am__append_8791) $(am__append_8798) $(am__append_8805) \ + $(am__append_8812) $(am__append_8819) $(am__append_8826) \ + $(am__append_8833) $(am__append_8840) $(am__append_8847) \ + $(am__append_8854) $(am__append_8861) $(am__append_8868) \ + $(am__append_8875) $(am__append_8882) $(am__append_8889) \ + $(am__append_8896) $(am__append_8903) $(am__append_8910) \ + $(am__append_8917) $(am__append_8924) $(am__append_8931) \ + $(am__append_8938) $(am__append_8945) $(am__append_8952) \ + $(am__append_8959) $(am__append_8966) $(am__append_8973) \ + $(am__append_8980) $(am__append_8987) $(am__append_8994) \ + $(am__append_9001) $(am__append_9008) $(am__append_9015) \ + $(am__append_9022) $(am__append_9029) $(am__append_9036) \ + $(am__append_9043) $(am__append_9050) $(am__append_9057) \ + $(am__append_9064) $(am__append_9071) $(am__append_9078) \ + $(am__append_9085) $(am__append_9092) $(am__append_9099) \ + $(am__append_9106) $(am__append_9113) $(am__append_9120) \ + $(am__append_9127) $(am__append_9134) $(am__append_9141) \ + $(am__append_9148) $(am__append_9155) $(am__append_9162) \ + $(am__append_9169) $(am__append_9176) $(am__append_9183) \ + $(am__append_9190) $(am__append_9197) $(am__append_9204) \ + $(am__append_9211) $(am__append_9218) $(am__append_9225) \ + $(am__append_9232) $(am__append_9239) $(am__append_9246) \ + $(am__append_9253) $(am__append_9260) $(am__append_9267) \ + $(am__append_9274) $(am__append_9281) $(am__append_9288) \ + $(am__append_9295) $(am__append_9302) $(am__append_9309) \ + $(am__append_9316) $(am__append_9323) $(am__append_9330) \ + $(am__append_9337) $(am__append_9344) $(am__append_9351) \ + $(am__append_9358) $(am__append_9365) $(am__append_9372) \ + $(am__append_9379) $(am__append_9386) $(am__append_9393) \ + $(am__append_9400) $(am__append_9407) $(am__append_9414) \ + $(am__append_9421) $(am__append_9428) $(am__append_9435) \ + $(am__append_9442) $(am__append_9449) $(am__append_9456) \ + $(am__append_9463) $(am__append_9470) $(am__append_9477) \ + $(am__append_9484) $(am__append_9491) $(am__append_9498) \ + $(am__append_9505) $(am__append_9512) $(am__append_9519) \ + $(am__append_9526) $(am__append_9533) $(am__append_9540) \ + $(am__append_9547) $(am__append_9554) $(am__append_9561) \ + $(am__append_9568) $(am__append_9575) $(am__append_9582) \ + $(am__append_9589) $(am__append_9596) $(am__append_9603) \ + $(am__append_9610) $(am__append_9617) $(am__append_9624) \ + $(am__append_9631) $(am__append_9638) $(am__append_9645) \ + $(am__append_9652) $(am__append_9659) $(am__append_9666) \ + $(am__append_9673) $(am__append_9680) $(am__append_9687) \ + $(am__append_9694) $(am__append_9701) $(am__append_9708) \ + $(am__append_9715) $(am__append_9722) $(am__append_9729) \ + $(am__append_9736) $(am__append_9743) $(am__append_9750) \ + $(am__append_9757) $(am__append_9764) $(am__append_9771) \ + $(am__append_9778) $(am__append_9785) $(am__append_9792) \ + $(am__append_9799) $(am__append_9806) $(am__append_9813) \ + $(am__append_9820) $(am__append_9827) $(am__append_9834) \ + $(am__append_9841) $(am__append_9848) $(am__append_9855) \ + $(am__append_9862) $(am__append_9869) $(am__append_9876) \ + $(am__append_9883) $(am__append_9890) $(am__append_9897) \ + $(am__append_9904) $(am__append_9911) $(am__append_9918) \ + $(am__append_9925) $(am__append_9932) $(am__append_9939) \ + $(am__append_9946) $(am__append_9953) $(am__append_9960) \ + $(am__append_9967) $(am__append_9974) $(am__append_9981) \ + $(am__append_9988) $(am__append_9995) $(am__append_10002) \ + $(am__append_10009) $(am__append_10016) $(am__append_10023) \ + $(am__append_10030) $(am__append_10037) $(am__append_10044) \ + $(am__append_10051) $(am__append_10058) $(am__append_10065) \ + $(am__append_10072) $(am__append_10079) $(am__append_10086) \ + $(am__append_10093) $(am__append_10100) $(am__append_10107) \ + $(am__append_10114) $(am__append_10121) $(am__append_10128) \ + $(am__append_10135) $(am__append_10142) $(am__append_10149) \ + $(am__append_10156) $(am__append_10163) $(am__append_10170) \ + $(am__append_10177) $(am__append_10184) $(am__append_10191) \ + $(am__append_10198) $(am__append_10205) $(am__append_10212) \ + $(am__append_10219) $(am__append_10226) $(am__append_10233) \ + $(am__append_10240) $(am__append_10247) $(am__append_10254) \ + $(am__append_10261) $(am__append_10268) $(am__append_10275) \ + $(am__append_10282) $(am__append_10289) $(am__append_10296) \ + $(am__append_10303) $(am__append_10310) $(am__append_10317) \ + $(am__append_10324) $(am__append_10331) $(am__append_10338) \ + $(am__append_10345) $(am__append_10352) $(am__append_10359) \ + $(am__append_10366) $(am__append_10373) $(am__append_10380) \ + $(am__append_10387) $(am__append_10394) $(am__append_10401) \ + $(am__append_10408) $(am__append_10415) $(am__append_10422) \ + $(am__append_10429) $(am__append_10436) $(am__append_10443) \ + $(am__append_10450) $(am__append_10457) $(am__append_10464) \ + $(am__append_10471) $(am__append_10478) $(am__append_10485) \ + $(am__append_10492) $(am__append_10499) $(am__append_10506) \ + $(am__append_10513) $(am__append_10520) $(am__append_10527) \ + $(am__append_10534) $(am__append_10541) $(am__append_10548) \ + $(am__append_10555) $(am__append_10562) $(am__append_10569) \ + $(am__append_10576) $(am__append_10583) $(am__append_10590) \ + $(am__append_10597) $(am__append_10604) $(am__append_10611) \ + $(am__append_10618) $(am__append_10625) $(am__append_10632) \ + $(am__append_10639) $(am__append_10646) $(am__append_10653) \ + $(am__append_10660) $(am__append_10667) $(am__append_10674) \ + $(am__append_10681) $(am__append_10688) $(am__append_10695) \ + $(am__append_10702) $(am__append_10709) $(am__append_10716) \ + $(am__append_10723) $(am__append_10730) $(am__append_10737) \ + $(am__append_10744) $(am__append_10751) $(am__append_10758) \ + $(am__append_10765) $(am__append_10772) $(am__append_10779) \ + $(am__append_10786) $(am__append_10793) $(am__append_10800) \ + $(am__append_10807) $(am__append_10814) $(am__append_10821) \ + $(am__append_10828) $(am__append_10835) $(am__append_10842) \ + $(am__append_10849) $(am__append_10856) $(am__append_10863) \ + $(am__append_10870) $(am__append_10877) $(am__append_10884) \ + $(am__append_10891) $(am__append_10898) $(am__append_10905) \ + $(am__append_10912) $(am__append_10919) $(am__append_10926) \ + $(am__append_10933) $(am__append_10940) $(am__append_10947) \ + $(am__append_10954) $(am__append_10961) $(am__append_10968) \ + $(am__append_10975) $(am__append_10982) $(am__append_10989) \ + $(am__append_10996) $(am__append_11003) $(am__append_11010) \ + $(am__append_11017) $(am__append_11024) $(am__append_11031) \ + $(am__append_11038) $(am__append_11045) $(am__append_11052) \ + $(am__append_11059) $(am__append_11066) $(am__append_11073) \ + $(am__append_11080) $(am__append_11087) $(am__append_11094) \ + $(am__append_11101) $(am__append_11108) $(am__append_11115) \ + $(am__append_11122) $(am__append_11129) $(am__append_11136) \ + $(am__append_11143) $(am__append_11150) $(am__append_11157) \ + $(am__append_11164) $(am__append_11171) $(am__append_11178) \ + $(am__append_11185) $(am__append_11192) $(am__append_11199) \ + $(am__append_11206) $(am__append_11213) $(am__append_11220) \ + $(am__append_11227) $(am__append_11234) $(am__append_11241) \ + $(am__append_11248) $(am__append_11255) $(am__append_11262) \ + $(am__append_11269) $(am__append_11276) $(am__append_11283) \ + $(am__append_11290) $(am__append_11297) $(am__append_11304) \ + $(am__append_11311) $(am__append_11318) $(am__append_11325) \ + $(am__append_11332) $(am__append_11339) $(am__append_11346) \ + $(am__append_11353) $(am__append_11360) $(am__append_11367) \ + $(am__append_11374) $(am__append_11381) $(am__append_11388) \ + $(am__append_11395) $(am__append_11402) $(am__append_11409) \ + $(am__append_11416) $(am__append_11423) $(am__append_11430) \ + $(am__append_11437) $(am__append_11444) $(am__append_11451) \ + $(am__append_11458) $(am__append_11465) $(am__append_11472) \ + $(am__append_11479) $(am__append_11486) $(am__append_11493) \ + $(am__append_11500) $(am__append_11507) $(am__append_11514) \ + $(am__append_11521) $(am__append_11528) $(am__append_11535) \ + $(am__append_11542) $(am__append_11549) $(am__append_11556) \ + $(am__append_11563) $(am__append_11570) $(am__append_11577) \ + $(am__append_11584) $(am__append_11591) $(am__append_11598) \ + $(am__append_11605) $(am__append_11612) $(am__append_11619) \ + $(am__append_11626) $(am__append_11633) $(am__append_11640) \ + $(am__append_11647) $(am__append_11654) $(am__append_11661) \ + $(am__append_11668) $(am__append_11675) $(am__append_11682) \ + $(am__append_11689) $(am__append_11696) $(am__append_11703) \ + $(am__append_11710) $(am__append_11717) $(am__append_11724) \ + $(am__append_11731) $(am__append_11738) $(am__append_11745) \ + $(am__append_11752) $(am__append_11759) $(am__append_11766) \ + $(am__append_11773) $(am__append_11780) $(am__append_11787) \ + $(am__append_11794) $(am__append_11801) $(am__append_11808) \ + $(am__append_11815) $(am__append_11822) $(am__append_11829) \ + $(am__append_11836) $(am__append_11843) $(am__append_11850) \ + $(am__append_11857) $(am__append_11864) $(am__append_11871) \ + $(am__append_11878) $(am__append_11885) $(am__append_11892) \ + $(am__append_11899) $(am__append_11906) $(am__append_11913) \ + $(am__append_11920) $(am__append_11927) $(am__append_11934) \ + $(am__append_11941) $(am__append_11948) $(am__append_11955) \ + $(am__append_11962) $(am__append_11969) $(am__append_11976) \ + $(am__append_11983) $(am__append_11990) $(am__append_11997) \ + $(am__append_12004) $(am__append_12011) $(am__append_12018) \ + $(am__append_12025) $(am__append_12032) $(am__append_12039) \ + $(am__append_12046) $(am__append_12053) $(am__append_12060) \ + $(am__append_12067) $(am__append_12074) $(am__append_12081) \ + $(am__append_12088) $(am__append_12095) $(am__append_12102) \ + $(am__append_12109) $(am__append_12116) $(am__append_12123) \ + $(am__append_12130) $(am__append_12136) $(am__append_12141) \ + $(am__append_12146) $(am__append_12151) $(am__append_12156) \ + $(am__append_12161) $(am__append_12166) $(am__append_12171) \ + $(am__append_12176) $(am__append_12181) $(am__append_12186) \ + $(am__append_12191) $(am__append_12196) $(am__append_12201) \ + $(am__append_12206) $(am__append_12211) $(am__append_12216) \ + $(am__append_12221) $(am__append_12231) $(am__append_12240) \ + $(am__append_12249) $(am__append_12258) $(am__append_12267) \ + $(am__append_12276) $(am__append_12285) $(am__append_12294) \ + $(am__append_12303) $(am__append_12312) $(am__append_12321) \ + $(am__append_12327) symlist.h symlist.c +AM_CFLAGS = $(TARGET_CFLAGS) +AM_LDFLAGS = $(TARGET_LDFLAGS) +AM_CPPFLAGS = $(TARGET_CPPFLAGS) $(CPPFLAGS_DEFAULT) +AM_CCASFLAGS = $(TARGET_CCASFLAGS) $(CCASFLAGS_DEFAULT) +@COND_emu_TRUE@trig_module_SOURCES = ## platform sources +@COND_i386_coreboot_TRUE@trig_module_SOURCES = ## platform sources +@COND_i386_efi_TRUE@trig_module_SOURCES = ## platform sources +@COND_i386_ieee1275_TRUE@trig_module_SOURCES = ## platform sources +@COND_i386_multiboot_TRUE@trig_module_SOURCES = ## platform sources +@COND_i386_pc_TRUE@trig_module_SOURCES = ## platform sources +@COND_i386_qemu_TRUE@trig_module_SOURCES = ## platform sources +@COND_mips_yeeloong_TRUE@trig_module_SOURCES = ## platform sources +@COND_powerpc_ieee1275_TRUE@trig_module_SOURCES = ## platform sources +@COND_sparc64_ieee1275_TRUE@trig_module_SOURCES = ## platform sources +@COND_x86_64_efi_TRUE@trig_module_SOURCES = ## platform sources +@COND_emu_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_i386_efi_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_i386_pc_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_trig_module_SOURCES = trigtables.c ## platform nodist sources +@COND_emu_TRUE@trig_module_LDADD = +@COND_i386_coreboot_TRUE@trig_module_LDADD = +@COND_i386_efi_TRUE@trig_module_LDADD = +@COND_i386_ieee1275_TRUE@trig_module_LDADD = +@COND_i386_multiboot_TRUE@trig_module_LDADD = +@COND_i386_pc_TRUE@trig_module_LDADD = +@COND_i386_qemu_TRUE@trig_module_LDADD = +@COND_mips_yeeloong_TRUE@trig_module_LDADD = +@COND_powerpc_ieee1275_TRUE@trig_module_LDADD = +@COND_sparc64_ieee1275_TRUE@trig_module_LDADD = +@COND_x86_64_efi_TRUE@trig_module_LDADD = +@COND_emu_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@trig_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@trig_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@trig_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@trig_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_i386_efi_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_i386_ieee1275_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_i386_multiboot_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_i386_pc_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_i386_qemu_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_x86_64_efi_TRUE@cs5536_module_SOURCES = bus/cs5536.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_cs5536_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@cs5536_module_LDADD = +@COND_i386_efi_TRUE@cs5536_module_LDADD = +@COND_i386_ieee1275_TRUE@cs5536_module_LDADD = +@COND_i386_multiboot_TRUE@cs5536_module_LDADD = +@COND_i386_pc_TRUE@cs5536_module_LDADD = +@COND_i386_qemu_TRUE@cs5536_module_LDADD = +@COND_x86_64_efi_TRUE@cs5536_module_LDADD = +@COND_i386_coreboot_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cs5536_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cs5536_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cs5536_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cs5536_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb_module_SOURCES = bus/usb/emu/usb.c ## platform sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@nodist_libusb_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb_module_LDADD = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsspd_module_SOURCES = commands/mips/yeeloong/lsspd.c ## platform sources +@COND_mips_yeeloong_TRUE@nodist_lsspd_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@lsspd_module_LDADD = +@COND_mips_yeeloong_TRUE@lsspd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsspd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsspd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsspd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb_module_SOURCES = bus/usb/usb.c ## platform sources +@COND_i386_coreboot_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_i386_efi_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_i386_ieee1275_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_i386_multiboot_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_i386_pc_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_i386_qemu_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_mips_yeeloong_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_x86_64_efi_TRUE@usb_module_SOURCES = bus/usb/usbtrans.c bus/usb/usbhub.c bus/usb/usb.c ## platform sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usb_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb_module_LDADD = +@COND_i386_coreboot_TRUE@usb_module_LDADD = +@COND_i386_efi_TRUE@usb_module_LDADD = +@COND_i386_ieee1275_TRUE@usb_module_LDADD = +@COND_i386_multiboot_TRUE@usb_module_LDADD = +@COND_i386_pc_TRUE@usb_module_LDADD = +@COND_i386_qemu_TRUE@usb_module_LDADD = +@COND_mips_yeeloong_TRUE@usb_module_LDADD = +@COND_x86_64_efi_TRUE@usb_module_LDADD = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_i386_efi_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_i386_ieee1275_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_i386_multiboot_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_i386_pc_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_i386_qemu_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_mips_yeeloong_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_x86_64_efi_TRUE@usbserial_common_module_SOURCES = bus/usb/serial/common.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usbserial_common_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@usbserial_common_module_LDADD = +@COND_i386_efi_TRUE@usbserial_common_module_LDADD = +@COND_i386_ieee1275_TRUE@usbserial_common_module_LDADD = +@COND_i386_multiboot_TRUE@usbserial_common_module_LDADD = +@COND_i386_pc_TRUE@usbserial_common_module_LDADD = +@COND_i386_qemu_TRUE@usbserial_common_module_LDADD = +@COND_mips_yeeloong_TRUE@usbserial_common_module_LDADD = +@COND_x86_64_efi_TRUE@usbserial_common_module_LDADD = +@COND_i386_coreboot_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_common_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_common_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_common_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_common_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_i386_efi_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_i386_ieee1275_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_i386_multiboot_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_i386_pc_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_i386_qemu_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_mips_yeeloong_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_x86_64_efi_TRUE@usbserial_pl2303_module_SOURCES = bus/usb/serial/pl2303.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usbserial_pl2303_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@usbserial_pl2303_module_LDADD = +@COND_i386_efi_TRUE@usbserial_pl2303_module_LDADD = +@COND_i386_ieee1275_TRUE@usbserial_pl2303_module_LDADD = +@COND_i386_multiboot_TRUE@usbserial_pl2303_module_LDADD = +@COND_i386_pc_TRUE@usbserial_pl2303_module_LDADD = +@COND_i386_qemu_TRUE@usbserial_pl2303_module_LDADD = +@COND_mips_yeeloong_TRUE@usbserial_pl2303_module_LDADD = +@COND_x86_64_efi_TRUE@usbserial_pl2303_module_LDADD = +@COND_i386_coreboot_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_pl2303_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_pl2303_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_pl2303_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_pl2303_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_i386_efi_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_i386_ieee1275_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_i386_multiboot_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_i386_pc_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_i386_qemu_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_mips_yeeloong_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_x86_64_efi_TRUE@usbserial_ftdi_module_SOURCES = bus/usb/serial/ftdi.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usbserial_ftdi_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@usbserial_ftdi_module_LDADD = +@COND_i386_efi_TRUE@usbserial_ftdi_module_LDADD = +@COND_i386_ieee1275_TRUE@usbserial_ftdi_module_LDADD = +@COND_i386_multiboot_TRUE@usbserial_ftdi_module_LDADD = +@COND_i386_pc_TRUE@usbserial_ftdi_module_LDADD = +@COND_i386_qemu_TRUE@usbserial_ftdi_module_LDADD = +@COND_mips_yeeloong_TRUE@usbserial_ftdi_module_LDADD = +@COND_x86_64_efi_TRUE@usbserial_ftdi_module_LDADD = +@COND_i386_coreboot_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_ftdi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_ftdi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_ftdi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbserial_ftdi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_i386_efi_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_i386_ieee1275_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_i386_multiboot_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_i386_pc_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_i386_qemu_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_x86_64_efi_TRUE@uhci_module_SOURCES = bus/usb/uhci.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_uhci_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@uhci_module_LDADD = +@COND_i386_efi_TRUE@uhci_module_LDADD = +@COND_i386_ieee1275_TRUE@uhci_module_LDADD = +@COND_i386_multiboot_TRUE@uhci_module_LDADD = +@COND_i386_pc_TRUE@uhci_module_LDADD = +@COND_i386_qemu_TRUE@uhci_module_LDADD = +@COND_x86_64_efi_TRUE@uhci_module_LDADD = +@COND_i386_coreboot_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@uhci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@uhci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@uhci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@uhci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_i386_efi_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_i386_ieee1275_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_i386_multiboot_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_i386_pc_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_i386_qemu_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_mips_yeeloong_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_x86_64_efi_TRUE@ohci_module_SOURCES = bus/usb/ohci.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ohci_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@ohci_module_LDADD = +@COND_i386_efi_TRUE@ohci_module_LDADD = +@COND_i386_ieee1275_TRUE@ohci_module_LDADD = +@COND_i386_multiboot_TRUE@ohci_module_LDADD = +@COND_i386_pc_TRUE@ohci_module_LDADD = +@COND_i386_qemu_TRUE@ohci_module_LDADD = +@COND_mips_yeeloong_TRUE@ohci_module_LDADD = +@COND_x86_64_efi_TRUE@ohci_module_LDADD = +@COND_i386_coreboot_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ohci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ohci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ohci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ohci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci_module_SOURCES = bus/emu/pci.c commands/lspci.c ## platform sources +@COND_i386_coreboot_TRUE@pci_module_SOURCES = bus/pci.c ## platform sources +@COND_i386_efi_TRUE@pci_module_SOURCES = bus/pci.c ## platform sources +@COND_i386_ieee1275_TRUE@pci_module_SOURCES = bus/pci.c ## platform sources +@COND_i386_multiboot_TRUE@pci_module_SOURCES = bus/pci.c ## platform sources +@COND_i386_pc_TRUE@pci_module_SOURCES = bus/pci.c ## platform sources +@COND_x86_64_efi_TRUE@pci_module_SOURCES = bus/pci.c ## platform sources +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_pci_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci_module_LDADD = +@COND_i386_coreboot_TRUE@pci_module_LDADD = +@COND_i386_efi_TRUE@pci_module_LDADD = +@COND_i386_ieee1275_TRUE@pci_module_LDADD = +@COND_i386_multiboot_TRUE@pci_module_LDADD = +@COND_i386_pc_TRUE@pci_module_LDADD = +@COND_x86_64_efi_TRUE@pci_module_LDADD = +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +@COND_i386_ieee1275_TRUE@cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +@COND_i386_multiboot_TRUE@cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +@COND_i386_pc_TRUE@cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +@COND_i386_qemu_TRUE@cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +@COND_mips_yeeloong_TRUE@cmostest_module_SOURCES = commands/i386/cmostest.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_cmostest_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_cmostest_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_cmostest_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_cmostest_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_cmostest_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_cmostest_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@cmostest_module_LDADD = +@COND_i386_ieee1275_TRUE@cmostest_module_LDADD = +@COND_i386_multiboot_TRUE@cmostest_module_LDADD = +@COND_i386_pc_TRUE@cmostest_module_LDADD = +@COND_i386_qemu_TRUE@cmostest_module_LDADD = +@COND_mips_yeeloong_TRUE@cmostest_module_LDADD = +@COND_i386_coreboot_TRUE@cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmostest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmostest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmostest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmostest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_i386_efi_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_i386_ieee1275_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_i386_multiboot_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_i386_pc_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_i386_qemu_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_x86_64_efi_TRUE@iorw_module_SOURCES = commands/iorw.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_iorw_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@iorw_module_LDADD = +@COND_i386_efi_TRUE@iorw_module_LDADD = +@COND_i386_ieee1275_TRUE@iorw_module_LDADD = +@COND_i386_multiboot_TRUE@iorw_module_LDADD = +@COND_i386_pc_TRUE@iorw_module_LDADD = +@COND_i386_qemu_TRUE@iorw_module_LDADD = +@COND_x86_64_efi_TRUE@iorw_module_LDADD = +@COND_i386_coreboot_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iorw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iorw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iorw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iorw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_i386_coreboot_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_i386_efi_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_i386_ieee1275_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_i386_multiboot_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_i386_pc_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_i386_qemu_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_mips_yeeloong_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_powerpc_ieee1275_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_sparc64_ieee1275_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_x86_64_efi_TRUE@regexp_module_SOURCES = commands/regexp.c commands/wildcard.c ## platform sources +@COND_emu_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_regexp_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@regexp_module_LDADD = libgnulib.a +@COND_i386_coreboot_TRUE@regexp_module_LDADD = libgnulib.a +@COND_i386_efi_TRUE@regexp_module_LDADD = libgnulib.a +@COND_i386_ieee1275_TRUE@regexp_module_LDADD = libgnulib.a +@COND_i386_multiboot_TRUE@regexp_module_LDADD = libgnulib.a +@COND_i386_pc_TRUE@regexp_module_LDADD = libgnulib.a +@COND_i386_qemu_TRUE@regexp_module_LDADD = libgnulib.a +@COND_mips_yeeloong_TRUE@regexp_module_LDADD = libgnulib.a +@COND_powerpc_ieee1275_TRUE@regexp_module_LDADD = libgnulib.a +@COND_sparc64_ieee1275_TRUE@regexp_module_LDADD = libgnulib.a +@COND_x86_64_efi_TRUE@regexp_module_LDADD = libgnulib.a +@COND_emu_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_efi_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_ieee1275_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_multiboot_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_pc_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_i386_qemu_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_mips_yeeloong_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_powerpc_ieee1275_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_sparc64_ieee1275_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_x86_64_efi_TRUE@regexp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) $(CFLAGS_GNULIB) +@COND_emu_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@regexp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_efi_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_ieee1275_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_multiboot_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_pc_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_i386_qemu_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_mips_yeeloong_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_powerpc_ieee1275_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_sparc64_ieee1275_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_x86_64_efi_TRUE@regexp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB) +@COND_emu_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@regexp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@acpi_module_SOURCES = commands/i386/pc/acpi.c commands/acpi.c ## platform sources +@COND_i386_efi_TRUE@acpi_module_SOURCES = commands/efi/acpi.c commands/acpi.c ## platform sources +@COND_i386_multiboot_TRUE@acpi_module_SOURCES = commands/i386/pc/acpi.c commands/acpi.c ## platform sources +@COND_i386_pc_TRUE@acpi_module_SOURCES = commands/i386/pc/acpi.c commands/acpi.c ## platform sources +@COND_x86_64_efi_TRUE@acpi_module_SOURCES = commands/efi/acpi.c commands/acpi.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_acpi_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_acpi_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_acpi_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_acpi_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_acpi_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@acpi_module_LDADD = +@COND_i386_efi_TRUE@acpi_module_LDADD = +@COND_i386_multiboot_TRUE@acpi_module_LDADD = +@COND_i386_pc_TRUE@acpi_module_LDADD = +@COND_x86_64_efi_TRUE@acpi_module_LDADD = +@COND_i386_coreboot_TRUE@acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@acpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@acpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@acpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@acpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +@COND_i386_efi_TRUE@lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +@COND_i386_multiboot_TRUE@lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +@COND_i386_pc_TRUE@lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +@COND_x86_64_efi_TRUE@lsacpi_module_SOURCES = commands/lsacpi.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_lsacpi_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_lsacpi_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_lsacpi_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_lsacpi_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lsacpi_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@lsacpi_module_LDADD = +@COND_i386_efi_TRUE@lsacpi_module_LDADD = +@COND_i386_multiboot_TRUE@lsacpi_module_LDADD = +@COND_i386_pc_TRUE@lsacpi_module_LDADD = +@COND_x86_64_efi_TRUE@lsacpi_module_LDADD = +@COND_i386_coreboot_TRUE@lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsacpi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsacpi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsacpi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsacpi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefisystab_module_SOURCES = commands/efi/lsefisystab.c ## platform sources +@COND_x86_64_efi_TRUE@lsefisystab_module_SOURCES = commands/efi/lsefisystab.c ## platform sources +@COND_i386_efi_TRUE@nodist_lsefisystab_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lsefisystab_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@lsefisystab_module_LDADD = +@COND_x86_64_efi_TRUE@lsefisystab_module_LDADD = +@COND_i386_efi_TRUE@lsefisystab_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefisystab_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefisystab_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefisystab_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefisystab_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefisystab_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefisystab_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefisystab_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lssal_module_SOURCES = commands/efi/lssal.c ## platform sources +@COND_x86_64_efi_TRUE@lssal_module_SOURCES = commands/efi/lssal.c ## platform sources +@COND_i386_efi_TRUE@nodist_lssal_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lssal_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@lssal_module_LDADD = +@COND_x86_64_efi_TRUE@lssal_module_LDADD = +@COND_i386_efi_TRUE@lssal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lssal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lssal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lssal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lssal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lssal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lssal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lssal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefimmap_module_SOURCES = commands/efi/lsefimmap.c ## platform sources +@COND_x86_64_efi_TRUE@lsefimmap_module_SOURCES = commands/efi/lsefimmap.c ## platform sources +@COND_i386_efi_TRUE@nodist_lsefimmap_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lsefimmap_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@lsefimmap_module_LDADD = +@COND_x86_64_efi_TRUE@lsefimmap_module_LDADD = +@COND_i386_efi_TRUE@lsefimmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefimmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefimmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefimmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefimmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefimmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lsefimmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsefimmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_i386_coreboot_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_i386_efi_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_i386_ieee1275_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_i386_multiboot_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_i386_pc_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_i386_qemu_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_mips_yeeloong_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_powerpc_ieee1275_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_sparc64_ieee1275_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_x86_64_efi_TRUE@blocklist_module_SOURCES = commands/blocklist.c ## platform sources +@COND_emu_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_blocklist_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@blocklist_module_LDADD = +@COND_i386_coreboot_TRUE@blocklist_module_LDADD = +@COND_i386_efi_TRUE@blocklist_module_LDADD = +@COND_i386_ieee1275_TRUE@blocklist_module_LDADD = +@COND_i386_multiboot_TRUE@blocklist_module_LDADD = +@COND_i386_pc_TRUE@blocklist_module_LDADD = +@COND_i386_qemu_TRUE@blocklist_module_LDADD = +@COND_mips_yeeloong_TRUE@blocklist_module_LDADD = +@COND_powerpc_ieee1275_TRUE@blocklist_module_LDADD = +@COND_sparc64_ieee1275_TRUE@blocklist_module_LDADD = +@COND_x86_64_efi_TRUE@blocklist_module_LDADD = +@COND_emu_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@blocklist_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@blocklist_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@blocklist_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@blocklist_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_i386_coreboot_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_i386_efi_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_i386_ieee1275_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_i386_multiboot_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_i386_pc_TRUE@boot_module_SOURCES = lib/i386/pc/biosnum.c commands/boot.c ## platform sources +@COND_i386_qemu_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_powerpc_ieee1275_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_sparc64_ieee1275_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_x86_64_efi_TRUE@boot_module_SOURCES = commands/boot.c ## platform sources +@COND_emu_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_boot_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@boot_module_LDADD = +@COND_i386_coreboot_TRUE@boot_module_LDADD = +@COND_i386_efi_TRUE@boot_module_LDADD = +@COND_i386_ieee1275_TRUE@boot_module_LDADD = +@COND_i386_multiboot_TRUE@boot_module_LDADD = +@COND_i386_pc_TRUE@boot_module_LDADD = +@COND_i386_qemu_TRUE@boot_module_LDADD = +@COND_powerpc_ieee1275_TRUE@boot_module_LDADD = +@COND_sparc64_ieee1275_TRUE@boot_module_LDADD = +@COND_x86_64_efi_TRUE@boot_module_LDADD = +@COND_emu_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@boot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@boot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@boot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@boot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_i386_coreboot_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_i386_efi_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_i386_ieee1275_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_i386_multiboot_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_i386_pc_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_i386_qemu_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_mips_yeeloong_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_powerpc_ieee1275_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_sparc64_ieee1275_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_x86_64_efi_TRUE@cat_module_SOURCES = commands/cat.c ## platform sources +@COND_emu_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_cat_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@cat_module_LDADD = +@COND_i386_coreboot_TRUE@cat_module_LDADD = +@COND_i386_efi_TRUE@cat_module_LDADD = +@COND_i386_ieee1275_TRUE@cat_module_LDADD = +@COND_i386_multiboot_TRUE@cat_module_LDADD = +@COND_i386_pc_TRUE@cat_module_LDADD = +@COND_i386_qemu_TRUE@cat_module_LDADD = +@COND_mips_yeeloong_TRUE@cat_module_LDADD = +@COND_powerpc_ieee1275_TRUE@cat_module_LDADD = +@COND_sparc64_ieee1275_TRUE@cat_module_LDADD = +@COND_x86_64_efi_TRUE@cat_module_LDADD = +@COND_emu_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_i386_coreboot_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_i386_efi_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_i386_ieee1275_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_i386_multiboot_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_i386_pc_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_i386_qemu_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_mips_yeeloong_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_powerpc_ieee1275_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_sparc64_ieee1275_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_x86_64_efi_TRUE@cmp_module_SOURCES = commands/cmp.c ## platform sources +@COND_emu_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_cmp_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@cmp_module_LDADD = +@COND_i386_coreboot_TRUE@cmp_module_LDADD = +@COND_i386_efi_TRUE@cmp_module_LDADD = +@COND_i386_ieee1275_TRUE@cmp_module_LDADD = +@COND_i386_multiboot_TRUE@cmp_module_LDADD = +@COND_i386_pc_TRUE@cmp_module_LDADD = +@COND_i386_qemu_TRUE@cmp_module_LDADD = +@COND_mips_yeeloong_TRUE@cmp_module_LDADD = +@COND_powerpc_ieee1275_TRUE@cmp_module_LDADD = +@COND_sparc64_ieee1275_TRUE@cmp_module_LDADD = +@COND_x86_64_efi_TRUE@cmp_module_LDADD = +@COND_emu_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_i386_coreboot_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_i386_efi_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_i386_ieee1275_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_i386_multiboot_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_i386_pc_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_i386_qemu_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_mips_yeeloong_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_powerpc_ieee1275_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_sparc64_ieee1275_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_x86_64_efi_TRUE@configfile_module_SOURCES = commands/configfile.c ## platform sources +@COND_emu_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_configfile_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@configfile_module_LDADD = +@COND_i386_coreboot_TRUE@configfile_module_LDADD = +@COND_i386_efi_TRUE@configfile_module_LDADD = +@COND_i386_ieee1275_TRUE@configfile_module_LDADD = +@COND_i386_multiboot_TRUE@configfile_module_LDADD = +@COND_i386_pc_TRUE@configfile_module_LDADD = +@COND_i386_qemu_TRUE@configfile_module_LDADD = +@COND_mips_yeeloong_TRUE@configfile_module_LDADD = +@COND_powerpc_ieee1275_TRUE@configfile_module_LDADD = +@COND_sparc64_ieee1275_TRUE@configfile_module_LDADD = +@COND_x86_64_efi_TRUE@configfile_module_LDADD = +@COND_emu_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@configfile_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@configfile_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@configfile_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@configfile_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_i386_efi_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_i386_ieee1275_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_i386_multiboot_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_i386_pc_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_i386_qemu_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_x86_64_efi_TRUE@cpuid_module_SOURCES = commands/i386/cpuid.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_cpuid_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@cpuid_module_LDADD = +@COND_i386_efi_TRUE@cpuid_module_LDADD = +@COND_i386_ieee1275_TRUE@cpuid_module_LDADD = +@COND_i386_multiboot_TRUE@cpuid_module_LDADD = +@COND_i386_pc_TRUE@cpuid_module_LDADD = +@COND_i386_qemu_TRUE@cpuid_module_LDADD = +@COND_x86_64_efi_TRUE@cpuid_module_LDADD = +@COND_i386_coreboot_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_i386_coreboot_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_i386_efi_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_i386_ieee1275_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_i386_multiboot_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_i386_pc_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_i386_qemu_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_mips_yeeloong_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_powerpc_ieee1275_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_sparc64_ieee1275_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_x86_64_efi_TRUE@date_module_SOURCES = commands/date.c ## platform sources +@COND_emu_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_date_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@date_module_LDADD = +@COND_i386_coreboot_TRUE@date_module_LDADD = +@COND_i386_efi_TRUE@date_module_LDADD = +@COND_i386_ieee1275_TRUE@date_module_LDADD = +@COND_i386_multiboot_TRUE@date_module_LDADD = +@COND_i386_pc_TRUE@date_module_LDADD = +@COND_i386_qemu_TRUE@date_module_LDADD = +@COND_mips_yeeloong_TRUE@date_module_LDADD = +@COND_powerpc_ieee1275_TRUE@date_module_LDADD = +@COND_sparc64_ieee1275_TRUE@date_module_LDADD = +@COND_x86_64_efi_TRUE@date_module_LDADD = +@COND_emu_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@date_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@date_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@date_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@date_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@drivemap_module_SOURCES = commands/i386/pc/drivemap.c commands/i386/pc/drivemap_int13h.S ## platform sources +@COND_i386_pc_TRUE@nodist_drivemap_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@drivemap_module_LDADD = +@COND_i386_pc_TRUE@drivemap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@drivemap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@drivemap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@drivemap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_i386_coreboot_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_i386_efi_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_i386_ieee1275_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_i386_multiboot_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_i386_pc_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_i386_qemu_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_mips_yeeloong_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_powerpc_ieee1275_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_sparc64_ieee1275_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_x86_64_efi_TRUE@echo_module_SOURCES = commands/echo.c ## platform sources +@COND_emu_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_echo_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@echo_module_LDADD = +@COND_i386_coreboot_TRUE@echo_module_LDADD = +@COND_i386_efi_TRUE@echo_module_LDADD = +@COND_i386_ieee1275_TRUE@echo_module_LDADD = +@COND_i386_multiboot_TRUE@echo_module_LDADD = +@COND_i386_pc_TRUE@echo_module_LDADD = +@COND_i386_qemu_TRUE@echo_module_LDADD = +@COND_mips_yeeloong_TRUE@echo_module_LDADD = +@COND_powerpc_ieee1275_TRUE@echo_module_LDADD = +@COND_sparc64_ieee1275_TRUE@echo_module_LDADD = +@COND_x86_64_efi_TRUE@echo_module_LDADD = +@COND_emu_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@echo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@echo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@echo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@echo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_i386_coreboot_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_i386_efi_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_i386_multiboot_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_i386_pc_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_i386_qemu_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_x86_64_efi_TRUE@extcmd_module_SOURCES = commands/extcmd.c lib/arg.c ## platform sources +@COND_emu_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_extcmd_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@extcmd_module_LDADD = +@COND_i386_coreboot_TRUE@extcmd_module_LDADD = +@COND_i386_efi_TRUE@extcmd_module_LDADD = +@COND_i386_multiboot_TRUE@extcmd_module_LDADD = +@COND_i386_pc_TRUE@extcmd_module_LDADD = +@COND_i386_qemu_TRUE@extcmd_module_LDADD = +@COND_x86_64_efi_TRUE@extcmd_module_LDADD = +@COND_emu_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@extcmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@extcmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@extcmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@extcmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@fixvideo_module_SOURCES = commands/efi/fixvideo.c ## platform sources +@COND_x86_64_efi_TRUE@fixvideo_module_SOURCES = commands/efi/fixvideo.c ## platform sources +@COND_i386_efi_TRUE@nodist_fixvideo_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_fixvideo_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@fixvideo_module_LDADD = +@COND_x86_64_efi_TRUE@fixvideo_module_LDADD = +@COND_i386_efi_TRUE@fixvideo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fixvideo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@fixvideo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fixvideo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@fixvideo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fixvideo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@fixvideo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fixvideo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_i386_coreboot_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_i386_efi_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_i386_ieee1275_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_i386_multiboot_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_i386_pc_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_i386_qemu_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_mips_yeeloong_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_x86_64_efi_TRUE@gptsync_module_SOURCES = commands/gptsync.c ## platform sources +@COND_emu_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gptsync_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gptsync_module_LDADD = +@COND_i386_coreboot_TRUE@gptsync_module_LDADD = +@COND_i386_efi_TRUE@gptsync_module_LDADD = +@COND_i386_ieee1275_TRUE@gptsync_module_LDADD = +@COND_i386_multiboot_TRUE@gptsync_module_LDADD = +@COND_i386_pc_TRUE@gptsync_module_LDADD = +@COND_i386_qemu_TRUE@gptsync_module_LDADD = +@COND_mips_yeeloong_TRUE@gptsync_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gptsync_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gptsync_module_LDADD = +@COND_x86_64_efi_TRUE@gptsync_module_LDADD = +@COND_emu_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gptsync_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gptsync_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gptsync_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gptsync_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@halt_module_SOURCES = lib/emu/halt.c commands/halt.c ## platform sources +@COND_i386_coreboot_TRUE@halt_module_SOURCES = commands/acpihalt.c lib/i386/halt.c commands/halt.c ## platform sources +@COND_i386_efi_TRUE@halt_module_SOURCES = commands/acpihalt.c lib/efi/halt.c commands/halt.c ## platform sources +@COND_i386_ieee1275_TRUE@halt_module_SOURCES = lib/ieee1275/halt.c commands/halt.c ## platform sources +@COND_i386_multiboot_TRUE@halt_module_SOURCES = commands/acpihalt.c lib/i386/halt.c commands/halt.c ## platform sources +@COND_i386_pc_TRUE@halt_module_SOURCES = commands/i386/pc/halt.c commands/acpihalt.c ## platform sources +@COND_i386_qemu_TRUE@halt_module_SOURCES = lib/i386/halt.c commands/halt.c ## platform sources +@COND_mips_yeeloong_TRUE@halt_module_SOURCES = commands/halt.c ## platform sources +@COND_powerpc_ieee1275_TRUE@halt_module_SOURCES = lib/ieee1275/halt.c commands/halt.c ## platform sources +@COND_sparc64_ieee1275_TRUE@halt_module_SOURCES = lib/ieee1275/halt.c commands/halt.c ## platform sources +@COND_x86_64_efi_TRUE@halt_module_SOURCES = commands/acpihalt.c lib/efi/halt.c commands/halt.c ## platform sources +@COND_emu_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_halt_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@halt_module_LDADD = +@COND_i386_coreboot_TRUE@halt_module_LDADD = +@COND_i386_efi_TRUE@halt_module_LDADD = +@COND_i386_ieee1275_TRUE@halt_module_LDADD = +@COND_i386_multiboot_TRUE@halt_module_LDADD = +@COND_i386_pc_TRUE@halt_module_LDADD = +@COND_i386_qemu_TRUE@halt_module_LDADD = +@COND_mips_yeeloong_TRUE@halt_module_LDADD = +@COND_powerpc_ieee1275_TRUE@halt_module_LDADD = +@COND_sparc64_ieee1275_TRUE@halt_module_LDADD = +@COND_x86_64_efi_TRUE@halt_module_LDADD = +@COND_emu_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@halt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@halt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@halt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@halt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_i386_coreboot_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_i386_efi_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_i386_ieee1275_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_i386_multiboot_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_i386_pc_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_i386_qemu_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_mips_yeeloong_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_powerpc_ieee1275_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_sparc64_ieee1275_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_x86_64_efi_TRUE@hashsum_module_SOURCES = commands/hashsum.c ## platform sources +@COND_emu_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_hashsum_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@hashsum_module_LDADD = +@COND_i386_coreboot_TRUE@hashsum_module_LDADD = +@COND_i386_efi_TRUE@hashsum_module_LDADD = +@COND_i386_ieee1275_TRUE@hashsum_module_LDADD = +@COND_i386_multiboot_TRUE@hashsum_module_LDADD = +@COND_i386_pc_TRUE@hashsum_module_LDADD = +@COND_i386_qemu_TRUE@hashsum_module_LDADD = +@COND_mips_yeeloong_TRUE@hashsum_module_LDADD = +@COND_powerpc_ieee1275_TRUE@hashsum_module_LDADD = +@COND_sparc64_ieee1275_TRUE@hashsum_module_LDADD = +@COND_x86_64_efi_TRUE@hashsum_module_LDADD = +@COND_emu_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hashsum_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hashsum_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hashsum_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hashsum_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_i386_efi_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_i386_ieee1275_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_i386_multiboot_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_i386_pc_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_i386_qemu_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_mips_yeeloong_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_x86_64_efi_TRUE@hdparm_module_SOURCES = commands/hdparm.c lib/hexdump.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_hdparm_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@hdparm_module_LDADD = +@COND_i386_efi_TRUE@hdparm_module_LDADD = +@COND_i386_ieee1275_TRUE@hdparm_module_LDADD = +@COND_i386_multiboot_TRUE@hdparm_module_LDADD = +@COND_i386_pc_TRUE@hdparm_module_LDADD = +@COND_i386_qemu_TRUE@hdparm_module_LDADD = +@COND_mips_yeeloong_TRUE@hdparm_module_LDADD = +@COND_x86_64_efi_TRUE@hdparm_module_LDADD = +@COND_i386_coreboot_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hdparm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hdparm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hdparm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hdparm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_i386_coreboot_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_i386_efi_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_i386_ieee1275_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_i386_multiboot_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_i386_pc_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_i386_qemu_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_mips_yeeloong_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_powerpc_ieee1275_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_sparc64_ieee1275_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_x86_64_efi_TRUE@help_module_SOURCES = commands/help.c ## platform sources +@COND_emu_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_help_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@help_module_LDADD = +@COND_i386_coreboot_TRUE@help_module_LDADD = +@COND_i386_efi_TRUE@help_module_LDADD = +@COND_i386_ieee1275_TRUE@help_module_LDADD = +@COND_i386_multiboot_TRUE@help_module_LDADD = +@COND_i386_pc_TRUE@help_module_LDADD = +@COND_i386_qemu_TRUE@help_module_LDADD = +@COND_mips_yeeloong_TRUE@help_module_LDADD = +@COND_powerpc_ieee1275_TRUE@help_module_LDADD = +@COND_sparc64_ieee1275_TRUE@help_module_LDADD = +@COND_x86_64_efi_TRUE@help_module_LDADD = +@COND_emu_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@help_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@help_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@help_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@help_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_i386_coreboot_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_i386_efi_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_i386_ieee1275_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_i386_multiboot_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_i386_pc_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_i386_qemu_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_mips_yeeloong_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_powerpc_ieee1275_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_sparc64_ieee1275_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_x86_64_efi_TRUE@hexdump_module_SOURCES = commands/hexdump.c lib/hexdump.c ## platform sources +@COND_emu_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_hexdump_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@hexdump_module_LDADD = +@COND_i386_coreboot_TRUE@hexdump_module_LDADD = +@COND_i386_efi_TRUE@hexdump_module_LDADD = +@COND_i386_ieee1275_TRUE@hexdump_module_LDADD = +@COND_i386_multiboot_TRUE@hexdump_module_LDADD = +@COND_i386_pc_TRUE@hexdump_module_LDADD = +@COND_i386_qemu_TRUE@hexdump_module_LDADD = +@COND_mips_yeeloong_TRUE@hexdump_module_LDADD = +@COND_powerpc_ieee1275_TRUE@hexdump_module_LDADD = +@COND_sparc64_ieee1275_TRUE@hexdump_module_LDADD = +@COND_x86_64_efi_TRUE@hexdump_module_LDADD = +@COND_emu_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hexdump_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hexdump_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hexdump_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hexdump_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_i386_coreboot_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_i386_efi_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_i386_ieee1275_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_i386_multiboot_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_i386_pc_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_i386_qemu_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_mips_yeeloong_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_powerpc_ieee1275_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_sparc64_ieee1275_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_x86_64_efi_TRUE@keystatus_module_SOURCES = commands/keystatus.c ## platform sources +@COND_emu_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_keystatus_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@keystatus_module_LDADD = +@COND_i386_coreboot_TRUE@keystatus_module_LDADD = +@COND_i386_efi_TRUE@keystatus_module_LDADD = +@COND_i386_ieee1275_TRUE@keystatus_module_LDADD = +@COND_i386_multiboot_TRUE@keystatus_module_LDADD = +@COND_i386_pc_TRUE@keystatus_module_LDADD = +@COND_i386_qemu_TRUE@keystatus_module_LDADD = +@COND_mips_yeeloong_TRUE@keystatus_module_LDADD = +@COND_powerpc_ieee1275_TRUE@keystatus_module_LDADD = +@COND_sparc64_ieee1275_TRUE@keystatus_module_LDADD = +@COND_x86_64_efi_TRUE@keystatus_module_LDADD = +@COND_emu_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keystatus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keystatus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keystatus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keystatus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@loadbios_module_SOURCES = commands/efi/loadbios.c ## platform sources +@COND_x86_64_efi_TRUE@loadbios_module_SOURCES = commands/efi/loadbios.c ## platform sources +@COND_i386_efi_TRUE@nodist_loadbios_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_loadbios_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@loadbios_module_LDADD = +@COND_x86_64_efi_TRUE@loadbios_module_LDADD = +@COND_i386_efi_TRUE@loadbios_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadbios_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@loadbios_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadbios_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@loadbios_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadbios_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@loadbios_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadbios_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_i386_coreboot_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_i386_efi_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_i386_ieee1275_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_i386_multiboot_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_i386_pc_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_i386_qemu_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_mips_yeeloong_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_powerpc_ieee1275_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_sparc64_ieee1275_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_x86_64_efi_TRUE@loadenv_module_SOURCES = commands/loadenv.c lib/envblk.c ## platform sources +@COND_emu_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_loadenv_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@loadenv_module_LDADD = +@COND_i386_coreboot_TRUE@loadenv_module_LDADD = +@COND_i386_efi_TRUE@loadenv_module_LDADD = +@COND_i386_ieee1275_TRUE@loadenv_module_LDADD = +@COND_i386_multiboot_TRUE@loadenv_module_LDADD = +@COND_i386_pc_TRUE@loadenv_module_LDADD = +@COND_i386_qemu_TRUE@loadenv_module_LDADD = +@COND_mips_yeeloong_TRUE@loadenv_module_LDADD = +@COND_powerpc_ieee1275_TRUE@loadenv_module_LDADD = +@COND_sparc64_ieee1275_TRUE@loadenv_module_LDADD = +@COND_x86_64_efi_TRUE@loadenv_module_LDADD = +@COND_emu_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadenv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadenv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadenv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loadenv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_i386_coreboot_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_i386_efi_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_i386_ieee1275_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_i386_multiboot_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_i386_pc_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_i386_qemu_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_mips_yeeloong_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_powerpc_ieee1275_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_sparc64_ieee1275_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_x86_64_efi_TRUE@ls_module_SOURCES = commands/ls.c ## platform sources +@COND_emu_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ls_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@ls_module_LDADD = +@COND_i386_coreboot_TRUE@ls_module_LDADD = +@COND_i386_efi_TRUE@ls_module_LDADD = +@COND_i386_ieee1275_TRUE@ls_module_LDADD = +@COND_i386_multiboot_TRUE@ls_module_LDADD = +@COND_i386_pc_TRUE@ls_module_LDADD = +@COND_i386_qemu_TRUE@ls_module_LDADD = +@COND_mips_yeeloong_TRUE@ls_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ls_module_LDADD = +@COND_sparc64_ieee1275_TRUE@ls_module_LDADD = +@COND_x86_64_efi_TRUE@ls_module_LDADD = +@COND_emu_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ls_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ls_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ls_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ls_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_i386_coreboot_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_i386_efi_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_i386_ieee1275_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_i386_multiboot_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_i386_pc_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_i386_qemu_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_mips_yeeloong_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_powerpc_ieee1275_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_sparc64_ieee1275_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_x86_64_efi_TRUE@lsmmap_module_SOURCES = commands/lsmmap.c ## platform sources +@COND_emu_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lsmmap_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@lsmmap_module_LDADD = +@COND_i386_coreboot_TRUE@lsmmap_module_LDADD = +@COND_i386_efi_TRUE@lsmmap_module_LDADD = +@COND_i386_ieee1275_TRUE@lsmmap_module_LDADD = +@COND_i386_multiboot_TRUE@lsmmap_module_LDADD = +@COND_i386_pc_TRUE@lsmmap_module_LDADD = +@COND_i386_qemu_TRUE@lsmmap_module_LDADD = +@COND_mips_yeeloong_TRUE@lsmmap_module_LDADD = +@COND_powerpc_ieee1275_TRUE@lsmmap_module_LDADD = +@COND_sparc64_ieee1275_TRUE@lsmmap_module_LDADD = +@COND_x86_64_efi_TRUE@lsmmap_module_LDADD = +@COND_emu_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsmmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsmmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsmmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lsmmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_i386_efi_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_i386_ieee1275_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_i386_multiboot_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_i386_pc_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_i386_qemu_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_mips_yeeloong_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_x86_64_efi_TRUE@lspci_module_SOURCES = commands/lspci.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lspci_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@lspci_module_LDADD = +@COND_i386_efi_TRUE@lspci_module_LDADD = +@COND_i386_ieee1275_TRUE@lspci_module_LDADD = +@COND_i386_multiboot_TRUE@lspci_module_LDADD = +@COND_i386_pc_TRUE@lspci_module_LDADD = +@COND_i386_qemu_TRUE@lspci_module_LDADD = +@COND_mips_yeeloong_TRUE@lspci_module_LDADD = +@COND_x86_64_efi_TRUE@lspci_module_LDADD = +@COND_i386_coreboot_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lspci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lspci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lspci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lspci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_i386_coreboot_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_i386_efi_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_i386_ieee1275_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_i386_multiboot_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_i386_pc_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_i386_qemu_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_mips_yeeloong_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_powerpc_ieee1275_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_sparc64_ieee1275_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_x86_64_efi_TRUE@memrw_module_SOURCES = commands/memrw.c ## platform sources +@COND_emu_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_memrw_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@memrw_module_LDADD = +@COND_i386_coreboot_TRUE@memrw_module_LDADD = +@COND_i386_efi_TRUE@memrw_module_LDADD = +@COND_i386_ieee1275_TRUE@memrw_module_LDADD = +@COND_i386_multiboot_TRUE@memrw_module_LDADD = +@COND_i386_pc_TRUE@memrw_module_LDADD = +@COND_i386_qemu_TRUE@memrw_module_LDADD = +@COND_mips_yeeloong_TRUE@memrw_module_LDADD = +@COND_powerpc_ieee1275_TRUE@memrw_module_LDADD = +@COND_sparc64_ieee1275_TRUE@memrw_module_LDADD = +@COND_x86_64_efi_TRUE@memrw_module_LDADD = +@COND_emu_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memrw_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memrw_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memrw_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memrw_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_i386_coreboot_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_i386_efi_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_i386_ieee1275_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_i386_multiboot_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_i386_pc_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_i386_qemu_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_mips_yeeloong_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_powerpc_ieee1275_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_sparc64_ieee1275_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_x86_64_efi_TRUE@minicmd_module_SOURCES = commands/minicmd.c ## platform sources +@COND_emu_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_minicmd_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@minicmd_module_LDADD = +@COND_i386_coreboot_TRUE@minicmd_module_LDADD = +@COND_i386_efi_TRUE@minicmd_module_LDADD = +@COND_i386_ieee1275_TRUE@minicmd_module_LDADD = +@COND_i386_multiboot_TRUE@minicmd_module_LDADD = +@COND_i386_pc_TRUE@minicmd_module_LDADD = +@COND_i386_qemu_TRUE@minicmd_module_LDADD = +@COND_mips_yeeloong_TRUE@minicmd_module_LDADD = +@COND_powerpc_ieee1275_TRUE@minicmd_module_LDADD = +@COND_sparc64_ieee1275_TRUE@minicmd_module_LDADD = +@COND_x86_64_efi_TRUE@minicmd_module_LDADD = +@COND_emu_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minicmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minicmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minicmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minicmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_i386_coreboot_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_i386_efi_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_i386_ieee1275_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_i386_multiboot_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_i386_pc_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_i386_qemu_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_mips_yeeloong_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_powerpc_ieee1275_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_sparc64_ieee1275_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_x86_64_efi_TRUE@parttool_module_SOURCES = commands/parttool.c ## platform sources +@COND_emu_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_parttool_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@parttool_module_LDADD = +@COND_i386_coreboot_TRUE@parttool_module_LDADD = +@COND_i386_efi_TRUE@parttool_module_LDADD = +@COND_i386_ieee1275_TRUE@parttool_module_LDADD = +@COND_i386_multiboot_TRUE@parttool_module_LDADD = +@COND_i386_pc_TRUE@parttool_module_LDADD = +@COND_i386_qemu_TRUE@parttool_module_LDADD = +@COND_mips_yeeloong_TRUE@parttool_module_LDADD = +@COND_powerpc_ieee1275_TRUE@parttool_module_LDADD = +@COND_sparc64_ieee1275_TRUE@parttool_module_LDADD = +@COND_x86_64_efi_TRUE@parttool_module_LDADD = +@COND_emu_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@parttool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@parttool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@parttool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@parttool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_i386_coreboot_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_i386_efi_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_i386_ieee1275_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_i386_multiboot_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_i386_pc_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_i386_qemu_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_mips_yeeloong_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_powerpc_ieee1275_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_sparc64_ieee1275_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_x86_64_efi_TRUE@password_module_SOURCES = commands/password.c ## platform sources +@COND_emu_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_password_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@password_module_LDADD = +@COND_i386_coreboot_TRUE@password_module_LDADD = +@COND_i386_efi_TRUE@password_module_LDADD = +@COND_i386_ieee1275_TRUE@password_module_LDADD = +@COND_i386_multiboot_TRUE@password_module_LDADD = +@COND_i386_pc_TRUE@password_module_LDADD = +@COND_i386_qemu_TRUE@password_module_LDADD = +@COND_mips_yeeloong_TRUE@password_module_LDADD = +@COND_powerpc_ieee1275_TRUE@password_module_LDADD = +@COND_sparc64_ieee1275_TRUE@password_module_LDADD = +@COND_x86_64_efi_TRUE@password_module_LDADD = +@COND_emu_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_i386_coreboot_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_i386_efi_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_i386_ieee1275_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_i386_multiboot_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_i386_pc_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_i386_qemu_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_mips_yeeloong_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_powerpc_ieee1275_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_sparc64_ieee1275_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_x86_64_efi_TRUE@password_pbkdf2_module_SOURCES = commands/password_pbkdf2.c ## platform sources +@COND_emu_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_password_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@password_pbkdf2_module_LDADD = +@COND_i386_coreboot_TRUE@password_pbkdf2_module_LDADD = +@COND_i386_efi_TRUE@password_pbkdf2_module_LDADD = +@COND_i386_ieee1275_TRUE@password_pbkdf2_module_LDADD = +@COND_i386_multiboot_TRUE@password_pbkdf2_module_LDADD = +@COND_i386_pc_TRUE@password_pbkdf2_module_LDADD = +@COND_i386_qemu_TRUE@password_pbkdf2_module_LDADD = +@COND_mips_yeeloong_TRUE@password_pbkdf2_module_LDADD = +@COND_powerpc_ieee1275_TRUE@password_pbkdf2_module_LDADD = +@COND_sparc64_ieee1275_TRUE@password_pbkdf2_module_LDADD = +@COND_x86_64_efi_TRUE@password_pbkdf2_module_LDADD = +@COND_emu_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@password_pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_i386_efi_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_i386_ieee1275_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_i386_multiboot_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_i386_pc_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_i386_qemu_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_x86_64_efi_TRUE@play_module_SOURCES = commands/i386/pc/play.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_play_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@play_module_LDADD = +@COND_i386_efi_TRUE@play_module_LDADD = +@COND_i386_ieee1275_TRUE@play_module_LDADD = +@COND_i386_multiboot_TRUE@play_module_LDADD = +@COND_i386_pc_TRUE@play_module_LDADD = +@COND_i386_qemu_TRUE@play_module_LDADD = +@COND_x86_64_efi_TRUE@play_module_LDADD = +@COND_i386_coreboot_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@play_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@play_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@play_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@play_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_i386_coreboot_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_i386_efi_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_i386_ieee1275_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_i386_multiboot_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_i386_pc_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_i386_qemu_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_mips_yeeloong_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_powerpc_ieee1275_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_sparc64_ieee1275_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_x86_64_efi_TRUE@probe_module_SOURCES = commands/probe.c ## platform sources +@COND_emu_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_probe_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@probe_module_LDADD = +@COND_i386_coreboot_TRUE@probe_module_LDADD = +@COND_i386_efi_TRUE@probe_module_LDADD = +@COND_i386_ieee1275_TRUE@probe_module_LDADD = +@COND_i386_multiboot_TRUE@probe_module_LDADD = +@COND_i386_pc_TRUE@probe_module_LDADD = +@COND_i386_qemu_TRUE@probe_module_LDADD = +@COND_mips_yeeloong_TRUE@probe_module_LDADD = +@COND_powerpc_ieee1275_TRUE@probe_module_LDADD = +@COND_sparc64_ieee1275_TRUE@probe_module_LDADD = +@COND_x86_64_efi_TRUE@probe_module_LDADD = +@COND_emu_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@probe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@probe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@probe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@probe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@pxecmd_module_SOURCES = commands/i386/pc/pxecmd.c ## platform sources +@COND_i386_pc_TRUE@nodist_pxecmd_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@pxecmd_module_LDADD = +@COND_i386_pc_TRUE@pxecmd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@pxecmd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@pxecmd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@pxecmd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_i386_coreboot_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_i386_efi_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_i386_ieee1275_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_i386_multiboot_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_i386_pc_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_i386_qemu_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_mips_yeeloong_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_powerpc_ieee1275_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_sparc64_ieee1275_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_x86_64_efi_TRUE@read_module_SOURCES = commands/read.c ## platform sources +@COND_emu_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_read_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@read_module_LDADD = +@COND_i386_coreboot_TRUE@read_module_LDADD = +@COND_i386_efi_TRUE@read_module_LDADD = +@COND_i386_ieee1275_TRUE@read_module_LDADD = +@COND_i386_multiboot_TRUE@read_module_LDADD = +@COND_i386_pc_TRUE@read_module_LDADD = +@COND_i386_qemu_TRUE@read_module_LDADD = +@COND_mips_yeeloong_TRUE@read_module_LDADD = +@COND_powerpc_ieee1275_TRUE@read_module_LDADD = +@COND_sparc64_ieee1275_TRUE@read_module_LDADD = +@COND_x86_64_efi_TRUE@read_module_LDADD = +@COND_emu_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@read_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@read_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@read_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@read_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_i386_coreboot_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_i386_efi_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_i386_ieee1275_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_i386_multiboot_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_i386_pc_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_i386_qemu_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_mips_yeeloong_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_powerpc_ieee1275_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_sparc64_ieee1275_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_x86_64_efi_TRUE@reboot_module_SOURCES = commands/reboot.c ## platform sources +@COND_emu_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_reboot_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@reboot_module_LDADD = +@COND_i386_coreboot_TRUE@reboot_module_LDADD = +@COND_i386_efi_TRUE@reboot_module_LDADD = +@COND_i386_ieee1275_TRUE@reboot_module_LDADD = +@COND_i386_multiboot_TRUE@reboot_module_LDADD = +@COND_i386_pc_TRUE@reboot_module_LDADD = +@COND_i386_qemu_TRUE@reboot_module_LDADD = +@COND_mips_yeeloong_TRUE@reboot_module_LDADD = +@COND_powerpc_ieee1275_TRUE@reboot_module_LDADD = +@COND_sparc64_ieee1275_TRUE@reboot_module_LDADD = +@COND_x86_64_efi_TRUE@reboot_module_LDADD = +@COND_emu_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_i386_coreboot_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_i386_efi_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_i386_ieee1275_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_i386_multiboot_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_i386_pc_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_i386_qemu_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_mips_yeeloong_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_powerpc_ieee1275_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_sparc64_ieee1275_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_x86_64_efi_TRUE@search_module_SOURCES = commands/search_wrap.c ## platform sources +@COND_emu_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_search_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@search_module_LDADD = +@COND_i386_coreboot_TRUE@search_module_LDADD = +@COND_i386_efi_TRUE@search_module_LDADD = +@COND_i386_ieee1275_TRUE@search_module_LDADD = +@COND_i386_multiboot_TRUE@search_module_LDADD = +@COND_i386_pc_TRUE@search_module_LDADD = +@COND_i386_qemu_TRUE@search_module_LDADD = +@COND_mips_yeeloong_TRUE@search_module_LDADD = +@COND_powerpc_ieee1275_TRUE@search_module_LDADD = +@COND_sparc64_ieee1275_TRUE@search_module_LDADD = +@COND_x86_64_efi_TRUE@search_module_LDADD = +@COND_emu_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_i386_coreboot_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_i386_efi_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_i386_ieee1275_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_i386_multiboot_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_i386_pc_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_i386_qemu_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_mips_yeeloong_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_powerpc_ieee1275_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_sparc64_ieee1275_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_x86_64_efi_TRUE@search_fs_file_module_SOURCES = commands/search_file.c ## platform sources +@COND_emu_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_search_fs_file_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@search_fs_file_module_LDADD = +@COND_i386_coreboot_TRUE@search_fs_file_module_LDADD = +@COND_i386_efi_TRUE@search_fs_file_module_LDADD = +@COND_i386_ieee1275_TRUE@search_fs_file_module_LDADD = +@COND_i386_multiboot_TRUE@search_fs_file_module_LDADD = +@COND_i386_pc_TRUE@search_fs_file_module_LDADD = +@COND_i386_qemu_TRUE@search_fs_file_module_LDADD = +@COND_mips_yeeloong_TRUE@search_fs_file_module_LDADD = +@COND_powerpc_ieee1275_TRUE@search_fs_file_module_LDADD = +@COND_sparc64_ieee1275_TRUE@search_fs_file_module_LDADD = +@COND_x86_64_efi_TRUE@search_fs_file_module_LDADD = +@COND_emu_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_file_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_file_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_file_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_file_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_i386_coreboot_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_i386_efi_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_i386_ieee1275_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_i386_multiboot_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_i386_pc_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_i386_qemu_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_mips_yeeloong_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_powerpc_ieee1275_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_sparc64_ieee1275_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_x86_64_efi_TRUE@search_fs_uuid_module_SOURCES = commands/search_uuid.c ## platform sources +@COND_emu_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_search_fs_uuid_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@search_fs_uuid_module_LDADD = +@COND_i386_coreboot_TRUE@search_fs_uuid_module_LDADD = +@COND_i386_efi_TRUE@search_fs_uuid_module_LDADD = +@COND_i386_ieee1275_TRUE@search_fs_uuid_module_LDADD = +@COND_i386_multiboot_TRUE@search_fs_uuid_module_LDADD = +@COND_i386_pc_TRUE@search_fs_uuid_module_LDADD = +@COND_i386_qemu_TRUE@search_fs_uuid_module_LDADD = +@COND_mips_yeeloong_TRUE@search_fs_uuid_module_LDADD = +@COND_powerpc_ieee1275_TRUE@search_fs_uuid_module_LDADD = +@COND_sparc64_ieee1275_TRUE@search_fs_uuid_module_LDADD = +@COND_x86_64_efi_TRUE@search_fs_uuid_module_LDADD = +@COND_emu_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_fs_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_i386_coreboot_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_i386_efi_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_i386_ieee1275_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_i386_multiboot_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_i386_pc_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_i386_qemu_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_mips_yeeloong_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_powerpc_ieee1275_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_sparc64_ieee1275_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_x86_64_efi_TRUE@search_label_module_SOURCES = commands/search_label.c ## platform sources +@COND_emu_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_search_label_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@search_label_module_LDADD = +@COND_i386_coreboot_TRUE@search_label_module_LDADD = +@COND_i386_efi_TRUE@search_label_module_LDADD = +@COND_i386_ieee1275_TRUE@search_label_module_LDADD = +@COND_i386_multiboot_TRUE@search_label_module_LDADD = +@COND_i386_pc_TRUE@search_label_module_LDADD = +@COND_i386_qemu_TRUE@search_label_module_LDADD = +@COND_mips_yeeloong_TRUE@search_label_module_LDADD = +@COND_powerpc_ieee1275_TRUE@search_label_module_LDADD = +@COND_sparc64_ieee1275_TRUE@search_label_module_LDADD = +@COND_x86_64_efi_TRUE@search_label_module_LDADD = +@COND_emu_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_label_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_label_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_label_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@search_label_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_i386_efi_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_i386_ieee1275_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_i386_multiboot_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_i386_pc_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_i386_qemu_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_x86_64_efi_TRUE@setpci_module_SOURCES = commands/setpci.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_setpci_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@setpci_module_LDADD = +@COND_i386_efi_TRUE@setpci_module_LDADD = +@COND_i386_ieee1275_TRUE@setpci_module_LDADD = +@COND_i386_multiboot_TRUE@setpci_module_LDADD = +@COND_i386_pc_TRUE@setpci_module_LDADD = +@COND_i386_qemu_TRUE@setpci_module_LDADD = +@COND_x86_64_efi_TRUE@setpci_module_LDADD = +@COND_i386_coreboot_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setpci_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setpci_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setpci_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setpci_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_i386_coreboot_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_i386_efi_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_i386_ieee1275_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_i386_multiboot_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_i386_pc_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_i386_qemu_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_mips_yeeloong_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_powerpc_ieee1275_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_sparc64_ieee1275_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_x86_64_efi_TRUE@sleep_module_SOURCES = commands/sleep.c ## platform sources +@COND_emu_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_sleep_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@sleep_module_LDADD = +@COND_i386_coreboot_TRUE@sleep_module_LDADD = +@COND_i386_efi_TRUE@sleep_module_LDADD = +@COND_i386_ieee1275_TRUE@sleep_module_LDADD = +@COND_i386_multiboot_TRUE@sleep_module_LDADD = +@COND_i386_pc_TRUE@sleep_module_LDADD = +@COND_i386_qemu_TRUE@sleep_module_LDADD = +@COND_mips_yeeloong_TRUE@sleep_module_LDADD = +@COND_powerpc_ieee1275_TRUE@sleep_module_LDADD = +@COND_sparc64_ieee1275_TRUE@sleep_module_LDADD = +@COND_x86_64_efi_TRUE@sleep_module_LDADD = +@COND_emu_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sleep_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sleep_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sleep_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sleep_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@suspend_module_SOURCES = commands/ieee1275/suspend.c ## platform sources +@COND_powerpc_ieee1275_TRUE@suspend_module_SOURCES = commands/ieee1275/suspend.c ## platform sources +@COND_i386_ieee1275_TRUE@nodist_suspend_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_suspend_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@suspend_module_LDADD = +@COND_powerpc_ieee1275_TRUE@suspend_module_LDADD = +@COND_i386_ieee1275_TRUE@suspend_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@suspend_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@suspend_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@suspend_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@suspend_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@suspend_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@suspend_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@suspend_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_i386_coreboot_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_i386_efi_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_i386_ieee1275_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_i386_multiboot_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_i386_pc_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_i386_qemu_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_mips_yeeloong_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_powerpc_ieee1275_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_sparc64_ieee1275_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_x86_64_efi_TRUE@terminal_module_SOURCES = commands/terminal.c ## platform sources +@COND_emu_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_terminal_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@terminal_module_LDADD = +@COND_i386_coreboot_TRUE@terminal_module_LDADD = +@COND_i386_efi_TRUE@terminal_module_LDADD = +@COND_i386_ieee1275_TRUE@terminal_module_LDADD = +@COND_i386_multiboot_TRUE@terminal_module_LDADD = +@COND_i386_pc_TRUE@terminal_module_LDADD = +@COND_i386_qemu_TRUE@terminal_module_LDADD = +@COND_mips_yeeloong_TRUE@terminal_module_LDADD = +@COND_powerpc_ieee1275_TRUE@terminal_module_LDADD = +@COND_sparc64_ieee1275_TRUE@terminal_module_LDADD = +@COND_x86_64_efi_TRUE@terminal_module_LDADD = +@COND_emu_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_i386_coreboot_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_i386_efi_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_i386_ieee1275_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_i386_multiboot_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_i386_pc_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_i386_qemu_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_mips_yeeloong_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_powerpc_ieee1275_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_sparc64_ieee1275_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_x86_64_efi_TRUE@test_module_SOURCES = commands/test.c ## platform sources +@COND_emu_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_test_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@test_module_LDADD = +@COND_i386_coreboot_TRUE@test_module_LDADD = +@COND_i386_efi_TRUE@test_module_LDADD = +@COND_i386_ieee1275_TRUE@test_module_LDADD = +@COND_i386_multiboot_TRUE@test_module_LDADD = +@COND_i386_pc_TRUE@test_module_LDADD = +@COND_i386_qemu_TRUE@test_module_LDADD = +@COND_mips_yeeloong_TRUE@test_module_LDADD = +@COND_powerpc_ieee1275_TRUE@test_module_LDADD = +@COND_sparc64_ieee1275_TRUE@test_module_LDADD = +@COND_x86_64_efi_TRUE@test_module_LDADD = +@COND_emu_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_i386_coreboot_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_i386_efi_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_i386_ieee1275_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_i386_multiboot_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_i386_pc_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_i386_qemu_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_mips_yeeloong_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_powerpc_ieee1275_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_sparc64_ieee1275_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_x86_64_efi_TRUE@true_module_SOURCES = commands/true.c ## platform sources +@COND_emu_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_true_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@true_module_LDADD = +@COND_i386_coreboot_TRUE@true_module_LDADD = +@COND_i386_efi_TRUE@true_module_LDADD = +@COND_i386_ieee1275_TRUE@true_module_LDADD = +@COND_i386_multiboot_TRUE@true_module_LDADD = +@COND_i386_pc_TRUE@true_module_LDADD = +@COND_i386_qemu_TRUE@true_module_LDADD = +@COND_mips_yeeloong_TRUE@true_module_LDADD = +@COND_powerpc_ieee1275_TRUE@true_module_LDADD = +@COND_sparc64_ieee1275_TRUE@true_module_LDADD = +@COND_x86_64_efi_TRUE@true_module_LDADD = +@COND_emu_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@true_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@true_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@true_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@true_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_i386_coreboot_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_i386_efi_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_i386_ieee1275_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_i386_multiboot_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_i386_pc_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_i386_qemu_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_mips_yeeloong_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_x86_64_efi_TRUE@usbtest_module_SOURCES = commands/usbtest.c ## platform sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usbtest_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest_module_LDADD = +@COND_i386_coreboot_TRUE@usbtest_module_LDADD = +@COND_i386_efi_TRUE@usbtest_module_LDADD = +@COND_i386_ieee1275_TRUE@usbtest_module_LDADD = +@COND_i386_multiboot_TRUE@usbtest_module_LDADD = +@COND_i386_pc_TRUE@usbtest_module_LDADD = +@COND_i386_qemu_TRUE@usbtest_module_LDADD = +@COND_mips_yeeloong_TRUE@usbtest_module_LDADD = +@COND_x86_64_efi_TRUE@usbtest_module_LDADD = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbtest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbtest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbtest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbtest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_i386_coreboot_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_i386_efi_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_i386_ieee1275_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_i386_multiboot_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_i386_pc_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_i386_qemu_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_mips_yeeloong_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_powerpc_ieee1275_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_sparc64_ieee1275_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_x86_64_efi_TRUE@videoinfo_module_SOURCES = commands/videoinfo.c ## platform sources +@COND_emu_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_videoinfo_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@videoinfo_module_LDADD = +@COND_i386_coreboot_TRUE@videoinfo_module_LDADD = +@COND_i386_efi_TRUE@videoinfo_module_LDADD = +@COND_i386_ieee1275_TRUE@videoinfo_module_LDADD = +@COND_i386_multiboot_TRUE@videoinfo_module_LDADD = +@COND_i386_pc_TRUE@videoinfo_module_LDADD = +@COND_i386_qemu_TRUE@videoinfo_module_LDADD = +@COND_mips_yeeloong_TRUE@videoinfo_module_LDADD = +@COND_powerpc_ieee1275_TRUE@videoinfo_module_LDADD = +@COND_sparc64_ieee1275_TRUE@videoinfo_module_LDADD = +@COND_x86_64_efi_TRUE@videoinfo_module_LDADD = +@COND_emu_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videoinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videoinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videoinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videoinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_i386_coreboot_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_i386_efi_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_i386_ieee1275_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_i386_multiboot_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_i386_pc_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_i386_qemu_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_mips_yeeloong_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_powerpc_ieee1275_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_sparc64_ieee1275_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_x86_64_efi_TRUE@videotest_module_SOURCES = commands/videotest.c ## platform sources +@COND_emu_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_videotest_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@videotest_module_LDADD = +@COND_i386_coreboot_TRUE@videotest_module_LDADD = +@COND_i386_efi_TRUE@videotest_module_LDADD = +@COND_i386_ieee1275_TRUE@videotest_module_LDADD = +@COND_i386_multiboot_TRUE@videotest_module_LDADD = +@COND_i386_pc_TRUE@videotest_module_LDADD = +@COND_i386_qemu_TRUE@videotest_module_LDADD = +@COND_mips_yeeloong_TRUE@videotest_module_LDADD = +@COND_powerpc_ieee1275_TRUE@videotest_module_LDADD = +@COND_sparc64_ieee1275_TRUE@videotest_module_LDADD = +@COND_x86_64_efi_TRUE@videotest_module_LDADD = +@COND_emu_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videotest_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videotest_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videotest_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@videotest_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_i386_coreboot_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_i386_efi_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_i386_ieee1275_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_i386_multiboot_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_i386_pc_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_i386_qemu_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_mips_yeeloong_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_powerpc_ieee1275_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_sparc64_ieee1275_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_x86_64_efi_TRUE@xnu_uuid_module_SOURCES = commands/xnu_uuid.c ## platform sources +@COND_emu_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_xnu_uuid_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@xnu_uuid_module_LDADD = +@COND_i386_coreboot_TRUE@xnu_uuid_module_LDADD = +@COND_i386_efi_TRUE@xnu_uuid_module_LDADD = +@COND_i386_ieee1275_TRUE@xnu_uuid_module_LDADD = +@COND_i386_multiboot_TRUE@xnu_uuid_module_LDADD = +@COND_i386_pc_TRUE@xnu_uuid_module_LDADD = +@COND_i386_qemu_TRUE@xnu_uuid_module_LDADD = +@COND_mips_yeeloong_TRUE@xnu_uuid_module_LDADD = +@COND_powerpc_ieee1275_TRUE@xnu_uuid_module_LDADD = +@COND_sparc64_ieee1275_TRUE@xnu_uuid_module_LDADD = +@COND_x86_64_efi_TRUE@xnu_uuid_module_LDADD = +@COND_emu_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_uuid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_uuid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_uuid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_uuid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_i386_coreboot_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_i386_efi_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_i386_ieee1275_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_i386_multiboot_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_i386_pc_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_i386_qemu_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_mips_yeeloong_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_powerpc_ieee1275_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_sparc64_ieee1275_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_x86_64_efi_TRUE@dm_nv_module_SOURCES = disk/dmraid_nvidia.c ## platform sources +@COND_emu_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_dm_nv_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@dm_nv_module_LDADD = +@COND_i386_coreboot_TRUE@dm_nv_module_LDADD = +@COND_i386_efi_TRUE@dm_nv_module_LDADD = +@COND_i386_ieee1275_TRUE@dm_nv_module_LDADD = +@COND_i386_multiboot_TRUE@dm_nv_module_LDADD = +@COND_i386_pc_TRUE@dm_nv_module_LDADD = +@COND_i386_qemu_TRUE@dm_nv_module_LDADD = +@COND_mips_yeeloong_TRUE@dm_nv_module_LDADD = +@COND_powerpc_ieee1275_TRUE@dm_nv_module_LDADD = +@COND_sparc64_ieee1275_TRUE@dm_nv_module_LDADD = +@COND_x86_64_efi_TRUE@dm_nv_module_LDADD = +@COND_emu_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@dm_nv_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@dm_nv_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@dm_nv_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@dm_nv_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_i386_coreboot_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_i386_efi_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_i386_ieee1275_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_i386_multiboot_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_i386_pc_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_i386_qemu_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_mips_yeeloong_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_powerpc_ieee1275_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_sparc64_ieee1275_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_x86_64_efi_TRUE@loopback_module_SOURCES = disk/loopback.c ## platform sources +@COND_emu_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_loopback_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@loopback_module_LDADD = +@COND_i386_coreboot_TRUE@loopback_module_LDADD = +@COND_i386_efi_TRUE@loopback_module_LDADD = +@COND_i386_ieee1275_TRUE@loopback_module_LDADD = +@COND_i386_multiboot_TRUE@loopback_module_LDADD = +@COND_i386_pc_TRUE@loopback_module_LDADD = +@COND_i386_qemu_TRUE@loopback_module_LDADD = +@COND_mips_yeeloong_TRUE@loopback_module_LDADD = +@COND_powerpc_ieee1275_TRUE@loopback_module_LDADD = +@COND_sparc64_ieee1275_TRUE@loopback_module_LDADD = +@COND_x86_64_efi_TRUE@loopback_module_LDADD = +@COND_emu_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loopback_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loopback_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loopback_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@loopback_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_i386_coreboot_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_i386_efi_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_i386_ieee1275_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_i386_multiboot_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_i386_pc_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_i386_qemu_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_mips_yeeloong_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_powerpc_ieee1275_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_sparc64_ieee1275_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_x86_64_efi_TRUE@lvm_module_SOURCES = disk/lvm.c ## platform sources +@COND_emu_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_lvm_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@lvm_module_LDADD = +@COND_i386_coreboot_TRUE@lvm_module_LDADD = +@COND_i386_efi_TRUE@lvm_module_LDADD = +@COND_i386_ieee1275_TRUE@lvm_module_LDADD = +@COND_i386_multiboot_TRUE@lvm_module_LDADD = +@COND_i386_pc_TRUE@lvm_module_LDADD = +@COND_i386_qemu_TRUE@lvm_module_LDADD = +@COND_mips_yeeloong_TRUE@lvm_module_LDADD = +@COND_powerpc_ieee1275_TRUE@lvm_module_LDADD = +@COND_sparc64_ieee1275_TRUE@lvm_module_LDADD = +@COND_x86_64_efi_TRUE@lvm_module_LDADD = +@COND_emu_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lvm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lvm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lvm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@lvm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_i386_coreboot_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_i386_efi_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_i386_ieee1275_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_i386_multiboot_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_i386_pc_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_i386_qemu_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_mips_yeeloong_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_powerpc_ieee1275_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_sparc64_ieee1275_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_x86_64_efi_TRUE@mdraid09_module_SOURCES = disk/mdraid_linux.c ## platform sources +@COND_emu_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_mdraid09_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@mdraid09_module_LDADD = +@COND_i386_coreboot_TRUE@mdraid09_module_LDADD = +@COND_i386_efi_TRUE@mdraid09_module_LDADD = +@COND_i386_ieee1275_TRUE@mdraid09_module_LDADD = +@COND_i386_multiboot_TRUE@mdraid09_module_LDADD = +@COND_i386_pc_TRUE@mdraid09_module_LDADD = +@COND_i386_qemu_TRUE@mdraid09_module_LDADD = +@COND_mips_yeeloong_TRUE@mdraid09_module_LDADD = +@COND_powerpc_ieee1275_TRUE@mdraid09_module_LDADD = +@COND_sparc64_ieee1275_TRUE@mdraid09_module_LDADD = +@COND_x86_64_efi_TRUE@mdraid09_module_LDADD = +@COND_emu_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid09_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid09_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid09_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid09_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_i386_coreboot_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_i386_efi_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_i386_ieee1275_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_i386_multiboot_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_i386_pc_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_i386_qemu_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_mips_yeeloong_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_powerpc_ieee1275_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_sparc64_ieee1275_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_x86_64_efi_TRUE@mdraid1x_module_SOURCES = disk/mdraid1x_linux.c ## platform sources +@COND_emu_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_mdraid1x_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@mdraid1x_module_LDADD = +@COND_i386_coreboot_TRUE@mdraid1x_module_LDADD = +@COND_i386_efi_TRUE@mdraid1x_module_LDADD = +@COND_i386_ieee1275_TRUE@mdraid1x_module_LDADD = +@COND_i386_multiboot_TRUE@mdraid1x_module_LDADD = +@COND_i386_pc_TRUE@mdraid1x_module_LDADD = +@COND_i386_qemu_TRUE@mdraid1x_module_LDADD = +@COND_mips_yeeloong_TRUE@mdraid1x_module_LDADD = +@COND_powerpc_ieee1275_TRUE@mdraid1x_module_LDADD = +@COND_sparc64_ieee1275_TRUE@mdraid1x_module_LDADD = +@COND_x86_64_efi_TRUE@mdraid1x_module_LDADD = +@COND_emu_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid1x_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid1x_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid1x_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mdraid1x_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_i386_coreboot_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_i386_efi_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_i386_ieee1275_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_i386_multiboot_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_i386_pc_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_i386_qemu_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_mips_yeeloong_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_powerpc_ieee1275_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_sparc64_ieee1275_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_x86_64_efi_TRUE@raid_module_SOURCES = disk/raid.c ## platform sources +@COND_emu_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_raid_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@raid_module_LDADD = +@COND_i386_coreboot_TRUE@raid_module_LDADD = +@COND_i386_efi_TRUE@raid_module_LDADD = +@COND_i386_ieee1275_TRUE@raid_module_LDADD = +@COND_i386_multiboot_TRUE@raid_module_LDADD = +@COND_i386_pc_TRUE@raid_module_LDADD = +@COND_i386_qemu_TRUE@raid_module_LDADD = +@COND_mips_yeeloong_TRUE@raid_module_LDADD = +@COND_powerpc_ieee1275_TRUE@raid_module_LDADD = +@COND_sparc64_ieee1275_TRUE@raid_module_LDADD = +@COND_x86_64_efi_TRUE@raid_module_LDADD = +@COND_emu_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_i386_coreboot_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_i386_efi_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_i386_ieee1275_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_i386_multiboot_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_i386_pc_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_i386_qemu_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_mips_yeeloong_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_powerpc_ieee1275_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_sparc64_ieee1275_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_x86_64_efi_TRUE@raid5rec_module_SOURCES = disk/raid5_recover.c ## platform sources +@COND_emu_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_raid5rec_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@raid5rec_module_LDADD = +@COND_i386_coreboot_TRUE@raid5rec_module_LDADD = +@COND_i386_efi_TRUE@raid5rec_module_LDADD = +@COND_i386_ieee1275_TRUE@raid5rec_module_LDADD = +@COND_i386_multiboot_TRUE@raid5rec_module_LDADD = +@COND_i386_pc_TRUE@raid5rec_module_LDADD = +@COND_i386_qemu_TRUE@raid5rec_module_LDADD = +@COND_mips_yeeloong_TRUE@raid5rec_module_LDADD = +@COND_powerpc_ieee1275_TRUE@raid5rec_module_LDADD = +@COND_sparc64_ieee1275_TRUE@raid5rec_module_LDADD = +@COND_x86_64_efi_TRUE@raid5rec_module_LDADD = +@COND_emu_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid5rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid5rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid5rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid5rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_i386_coreboot_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_i386_efi_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_i386_ieee1275_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_i386_multiboot_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_i386_pc_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_i386_qemu_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_mips_yeeloong_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_powerpc_ieee1275_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_sparc64_ieee1275_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_x86_64_efi_TRUE@raid6rec_module_SOURCES = disk/raid6_recover.c ## platform sources +@COND_emu_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_raid6rec_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@raid6rec_module_LDADD = +@COND_i386_coreboot_TRUE@raid6rec_module_LDADD = +@COND_i386_efi_TRUE@raid6rec_module_LDADD = +@COND_i386_ieee1275_TRUE@raid6rec_module_LDADD = +@COND_i386_multiboot_TRUE@raid6rec_module_LDADD = +@COND_i386_pc_TRUE@raid6rec_module_LDADD = +@COND_i386_qemu_TRUE@raid6rec_module_LDADD = +@COND_mips_yeeloong_TRUE@raid6rec_module_LDADD = +@COND_powerpc_ieee1275_TRUE@raid6rec_module_LDADD = +@COND_sparc64_ieee1275_TRUE@raid6rec_module_LDADD = +@COND_x86_64_efi_TRUE@raid6rec_module_LDADD = +@COND_emu_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid6rec_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid6rec_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid6rec_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@raid6rec_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_i386_coreboot_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_i386_efi_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_i386_ieee1275_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_i386_multiboot_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_i386_pc_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_i386_qemu_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_mips_yeeloong_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_powerpc_ieee1275_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_sparc64_ieee1275_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_x86_64_efi_TRUE@scsi_module_SOURCES = disk/scsi.c ## platform sources +@COND_emu_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_scsi_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@scsi_module_LDADD = +@COND_i386_coreboot_TRUE@scsi_module_LDADD = +@COND_i386_efi_TRUE@scsi_module_LDADD = +@COND_i386_ieee1275_TRUE@scsi_module_LDADD = +@COND_i386_multiboot_TRUE@scsi_module_LDADD = +@COND_i386_pc_TRUE@scsi_module_LDADD = +@COND_i386_qemu_TRUE@scsi_module_LDADD = +@COND_mips_yeeloong_TRUE@scsi_module_LDADD = +@COND_powerpc_ieee1275_TRUE@scsi_module_LDADD = +@COND_sparc64_ieee1275_TRUE@scsi_module_LDADD = +@COND_x86_64_efi_TRUE@scsi_module_LDADD = +@COND_emu_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@scsi_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@scsi_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@scsi_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@scsi_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_i386_coreboot_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_i386_efi_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_i386_ieee1275_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_i386_multiboot_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_i386_pc_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_i386_qemu_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_mips_yeeloong_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_powerpc_ieee1275_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_sparc64_ieee1275_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_x86_64_efi_TRUE@memdisk_module_SOURCES = disk/memdisk.c ## platform sources +@COND_emu_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_memdisk_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@memdisk_module_LDADD = +@COND_i386_coreboot_TRUE@memdisk_module_LDADD = +@COND_i386_efi_TRUE@memdisk_module_LDADD = +@COND_i386_ieee1275_TRUE@memdisk_module_LDADD = +@COND_i386_multiboot_TRUE@memdisk_module_LDADD = +@COND_i386_pc_TRUE@memdisk_module_LDADD = +@COND_i386_qemu_TRUE@memdisk_module_LDADD = +@COND_mips_yeeloong_TRUE@memdisk_module_LDADD = +@COND_powerpc_ieee1275_TRUE@memdisk_module_LDADD = +@COND_sparc64_ieee1275_TRUE@memdisk_module_LDADD = +@COND_x86_64_efi_TRUE@memdisk_module_LDADD = +@COND_emu_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@memdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_i386_efi_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_i386_ieee1275_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_i386_multiboot_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_i386_pc_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_i386_qemu_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_mips_yeeloong_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_x86_64_efi_TRUE@ata_module_SOURCES = disk/ata.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ata_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@ata_module_LDADD = +@COND_i386_efi_TRUE@ata_module_LDADD = +@COND_i386_ieee1275_TRUE@ata_module_LDADD = +@COND_i386_multiboot_TRUE@ata_module_LDADD = +@COND_i386_pc_TRUE@ata_module_LDADD = +@COND_i386_qemu_TRUE@ata_module_LDADD = +@COND_mips_yeeloong_TRUE@ata_module_LDADD = +@COND_x86_64_efi_TRUE@ata_module_LDADD = +@COND_i386_coreboot_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_i386_efi_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_i386_ieee1275_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_i386_multiboot_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_i386_pc_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_i386_qemu_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_mips_yeeloong_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_x86_64_efi_TRUE@ata_pthru_module_SOURCES = disk/ata_pthru.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ata_pthru_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@ata_pthru_module_LDADD = +@COND_i386_efi_TRUE@ata_pthru_module_LDADD = +@COND_i386_ieee1275_TRUE@ata_pthru_module_LDADD = +@COND_i386_multiboot_TRUE@ata_pthru_module_LDADD = +@COND_i386_pc_TRUE@ata_pthru_module_LDADD = +@COND_i386_qemu_TRUE@ata_pthru_module_LDADD = +@COND_mips_yeeloong_TRUE@ata_pthru_module_LDADD = +@COND_x86_64_efi_TRUE@ata_pthru_module_LDADD = +@COND_i386_coreboot_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_pthru_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_pthru_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_pthru_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ata_pthru_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@biosdisk_module_SOURCES = disk/i386/pc/biosdisk.c ## platform sources +@COND_i386_pc_TRUE@nodist_biosdisk_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@biosdisk_module_LDADD = +@COND_i386_pc_TRUE@biosdisk_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@biosdisk_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@biosdisk_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@biosdisk_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_i386_coreboot_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_i386_efi_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_i386_ieee1275_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_i386_multiboot_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_i386_pc_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_i386_qemu_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_mips_yeeloong_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_x86_64_efi_TRUE@usbms_module_SOURCES = disk/usbms.c ## platform sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usbms_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms_module_LDADD = +@COND_i386_coreboot_TRUE@usbms_module_LDADD = +@COND_i386_efi_TRUE@usbms_module_LDADD = +@COND_i386_ieee1275_TRUE@usbms_module_LDADD = +@COND_i386_multiboot_TRUE@usbms_module_LDADD = +@COND_i386_pc_TRUE@usbms_module_LDADD = +@COND_i386_qemu_TRUE@usbms_module_LDADD = +@COND_mips_yeeloong_TRUE@usbms_module_LDADD = +@COND_x86_64_efi_TRUE@usbms_module_LDADD = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbms_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbms_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbms_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usbms_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nand_module_SOURCES = disk/ieee1275/nand.c ## platform sources +@COND_i386_ieee1275_TRUE@nodist_nand_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nand_module_LDADD = +@COND_i386_ieee1275_TRUE@nand_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nand_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nand_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nand_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@efiemu_module_SOURCES = efiemu/i386/pc/cfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +@COND_i386_ieee1275_TRUE@efiemu_module_SOURCES = efiemu/i386/nocfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +@COND_i386_multiboot_TRUE@efiemu_module_SOURCES = efiemu/i386/pc/cfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +@COND_i386_pc_TRUE@efiemu_module_SOURCES = efiemu/i386/pc/cfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +@COND_i386_qemu_TRUE@efiemu_module_SOURCES = efiemu/i386/nocfgtables.c efiemu/main.c efiemu/i386/loadcore32.c efiemu/i386/loadcore64.c efiemu/mm.c efiemu/loadcore_common.c efiemu/symbols.c efiemu/loadcore32.c efiemu/loadcore64.c efiemu/prepare32.c efiemu/prepare64.c efiemu/pnvram.c efiemu/i386/coredetect.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_efiemu_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_efiemu_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_efiemu_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_efiemu_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_efiemu_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@efiemu_module_LDADD = +@COND_i386_ieee1275_TRUE@efiemu_module_LDADD = +@COND_i386_multiboot_TRUE@efiemu_module_LDADD = +@COND_i386_pc_TRUE@efiemu_module_LDADD = +@COND_i386_qemu_TRUE@efiemu_module_LDADD = +@COND_i386_coreboot_TRUE@efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@efiemu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@efiemu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@efiemu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@efiemu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_i386_coreboot_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_i386_efi_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_i386_ieee1275_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_i386_multiboot_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_i386_pc_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_i386_qemu_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_powerpc_ieee1275_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_sparc64_ieee1275_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_x86_64_efi_TRUE@font_module_SOURCES = font/font.c font/font_cmd.c ## platform sources +@COND_emu_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_font_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@font_module_LDADD = +@COND_i386_coreboot_TRUE@font_module_LDADD = +@COND_i386_efi_TRUE@font_module_LDADD = +@COND_i386_ieee1275_TRUE@font_module_LDADD = +@COND_i386_multiboot_TRUE@font_module_LDADD = +@COND_i386_pc_TRUE@font_module_LDADD = +@COND_i386_qemu_TRUE@font_module_LDADD = +@COND_powerpc_ieee1275_TRUE@font_module_LDADD = +@COND_sparc64_ieee1275_TRUE@font_module_LDADD = +@COND_x86_64_efi_TRUE@font_module_LDADD = +@COND_emu_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@font_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@font_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@font_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@font_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_i386_coreboot_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_i386_efi_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_i386_ieee1275_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_i386_multiboot_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_i386_pc_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_i386_qemu_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_mips_yeeloong_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_x86_64_efi_TRUE@affs_module_SOURCES = fs/affs.c ## platform sources +@COND_emu_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_affs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@affs_module_LDADD = +@COND_i386_coreboot_TRUE@affs_module_LDADD = +@COND_i386_efi_TRUE@affs_module_LDADD = +@COND_i386_ieee1275_TRUE@affs_module_LDADD = +@COND_i386_multiboot_TRUE@affs_module_LDADD = +@COND_i386_pc_TRUE@affs_module_LDADD = +@COND_i386_qemu_TRUE@affs_module_LDADD = +@COND_mips_yeeloong_TRUE@affs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@affs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@affs_module_LDADD = +@COND_x86_64_efi_TRUE@affs_module_LDADD = +@COND_emu_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@affs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@affs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@affs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@affs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_i386_coreboot_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_i386_efi_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_i386_ieee1275_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_i386_multiboot_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_i386_pc_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_i386_qemu_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_mips_yeeloong_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_x86_64_efi_TRUE@afs_module_SOURCES = fs/afs.c ## platform sources +@COND_emu_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_afs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@afs_module_LDADD = +@COND_i386_coreboot_TRUE@afs_module_LDADD = +@COND_i386_efi_TRUE@afs_module_LDADD = +@COND_i386_ieee1275_TRUE@afs_module_LDADD = +@COND_i386_multiboot_TRUE@afs_module_LDADD = +@COND_i386_pc_TRUE@afs_module_LDADD = +@COND_i386_qemu_TRUE@afs_module_LDADD = +@COND_mips_yeeloong_TRUE@afs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@afs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@afs_module_LDADD = +@COND_x86_64_efi_TRUE@afs_module_LDADD = +@COND_emu_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_i386_coreboot_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_i386_efi_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_i386_ieee1275_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_i386_multiboot_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_i386_pc_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_i386_qemu_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_mips_yeeloong_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_powerpc_ieee1275_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_sparc64_ieee1275_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_x86_64_efi_TRUE@afs_be_module_SOURCES = fs/afs_be.c ## platform sources +@COND_emu_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_afs_be_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@afs_be_module_LDADD = +@COND_i386_coreboot_TRUE@afs_be_module_LDADD = +@COND_i386_efi_TRUE@afs_be_module_LDADD = +@COND_i386_ieee1275_TRUE@afs_be_module_LDADD = +@COND_i386_multiboot_TRUE@afs_be_module_LDADD = +@COND_i386_pc_TRUE@afs_be_module_LDADD = +@COND_i386_qemu_TRUE@afs_be_module_LDADD = +@COND_mips_yeeloong_TRUE@afs_be_module_LDADD = +@COND_powerpc_ieee1275_TRUE@afs_be_module_LDADD = +@COND_sparc64_ieee1275_TRUE@afs_be_module_LDADD = +@COND_x86_64_efi_TRUE@afs_be_module_LDADD = +@COND_emu_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@afs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_i386_coreboot_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_i386_efi_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_i386_ieee1275_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_i386_multiboot_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_i386_pc_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_i386_qemu_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_mips_yeeloong_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_x86_64_efi_TRUE@befs_module_SOURCES = fs/befs.c ## platform sources +@COND_emu_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_befs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@befs_module_LDADD = +@COND_i386_coreboot_TRUE@befs_module_LDADD = +@COND_i386_efi_TRUE@befs_module_LDADD = +@COND_i386_ieee1275_TRUE@befs_module_LDADD = +@COND_i386_multiboot_TRUE@befs_module_LDADD = +@COND_i386_pc_TRUE@befs_module_LDADD = +@COND_i386_qemu_TRUE@befs_module_LDADD = +@COND_mips_yeeloong_TRUE@befs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@befs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@befs_module_LDADD = +@COND_x86_64_efi_TRUE@befs_module_LDADD = +@COND_emu_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_i386_coreboot_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_i386_efi_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_i386_ieee1275_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_i386_multiboot_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_i386_pc_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_i386_qemu_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_mips_yeeloong_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_powerpc_ieee1275_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_sparc64_ieee1275_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_x86_64_efi_TRUE@befs_be_module_SOURCES = fs/befs_be.c ## platform sources +@COND_emu_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_befs_be_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@befs_be_module_LDADD = +@COND_i386_coreboot_TRUE@befs_be_module_LDADD = +@COND_i386_efi_TRUE@befs_be_module_LDADD = +@COND_i386_ieee1275_TRUE@befs_be_module_LDADD = +@COND_i386_multiboot_TRUE@befs_be_module_LDADD = +@COND_i386_pc_TRUE@befs_be_module_LDADD = +@COND_i386_qemu_TRUE@befs_be_module_LDADD = +@COND_mips_yeeloong_TRUE@befs_be_module_LDADD = +@COND_powerpc_ieee1275_TRUE@befs_be_module_LDADD = +@COND_sparc64_ieee1275_TRUE@befs_be_module_LDADD = +@COND_x86_64_efi_TRUE@befs_be_module_LDADD = +@COND_emu_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_be_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_be_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_be_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@befs_be_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_i386_coreboot_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_i386_efi_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_i386_ieee1275_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_i386_multiboot_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_i386_pc_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_i386_qemu_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_mips_yeeloong_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_powerpc_ieee1275_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_sparc64_ieee1275_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_x86_64_efi_TRUE@btrfs_module_SOURCES = fs/btrfs.c lib/crc.c ## platform sources +@COND_emu_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_btrfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@btrfs_module_LDADD = +@COND_i386_coreboot_TRUE@btrfs_module_LDADD = +@COND_i386_efi_TRUE@btrfs_module_LDADD = +@COND_i386_ieee1275_TRUE@btrfs_module_LDADD = +@COND_i386_multiboot_TRUE@btrfs_module_LDADD = +@COND_i386_pc_TRUE@btrfs_module_LDADD = +@COND_i386_qemu_TRUE@btrfs_module_LDADD = +@COND_mips_yeeloong_TRUE@btrfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@btrfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@btrfs_module_LDADD = +@COND_x86_64_efi_TRUE@btrfs_module_LDADD = +@COND_emu_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@btrfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@btrfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@btrfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@btrfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_i386_coreboot_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_i386_efi_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_i386_ieee1275_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_i386_multiboot_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_i386_pc_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_i386_qemu_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_mips_yeeloong_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_powerpc_ieee1275_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_sparc64_ieee1275_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_x86_64_efi_TRUE@cpio_module_SOURCES = fs/cpio.c ## platform sources +@COND_emu_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_cpio_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@cpio_module_LDADD = +@COND_i386_coreboot_TRUE@cpio_module_LDADD = +@COND_i386_efi_TRUE@cpio_module_LDADD = +@COND_i386_ieee1275_TRUE@cpio_module_LDADD = +@COND_i386_multiboot_TRUE@cpio_module_LDADD = +@COND_i386_pc_TRUE@cpio_module_LDADD = +@COND_i386_qemu_TRUE@cpio_module_LDADD = +@COND_mips_yeeloong_TRUE@cpio_module_LDADD = +@COND_powerpc_ieee1275_TRUE@cpio_module_LDADD = +@COND_sparc64_ieee1275_TRUE@cpio_module_LDADD = +@COND_x86_64_efi_TRUE@cpio_module_LDADD = +@COND_emu_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@cpio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_i386_coreboot_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_i386_efi_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_i386_ieee1275_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_i386_multiboot_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_i386_pc_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_i386_qemu_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_mips_yeeloong_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_powerpc_ieee1275_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_sparc64_ieee1275_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_x86_64_efi_TRUE@ext2_module_SOURCES = fs/ext2.c ## platform sources +@COND_emu_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ext2_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@ext2_module_LDADD = +@COND_i386_coreboot_TRUE@ext2_module_LDADD = +@COND_i386_efi_TRUE@ext2_module_LDADD = +@COND_i386_ieee1275_TRUE@ext2_module_LDADD = +@COND_i386_multiboot_TRUE@ext2_module_LDADD = +@COND_i386_pc_TRUE@ext2_module_LDADD = +@COND_i386_qemu_TRUE@ext2_module_LDADD = +@COND_mips_yeeloong_TRUE@ext2_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ext2_module_LDADD = +@COND_sparc64_ieee1275_TRUE@ext2_module_LDADD = +@COND_x86_64_efi_TRUE@ext2_module_LDADD = +@COND_emu_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ext2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ext2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ext2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ext2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_i386_coreboot_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_i386_efi_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_i386_ieee1275_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_i386_multiboot_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_i386_pc_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_i386_qemu_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_mips_yeeloong_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_powerpc_ieee1275_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_sparc64_ieee1275_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_x86_64_efi_TRUE@fat_module_SOURCES = fs/fat.c ## platform sources +@COND_emu_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_fat_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@fat_module_LDADD = +@COND_i386_coreboot_TRUE@fat_module_LDADD = +@COND_i386_efi_TRUE@fat_module_LDADD = +@COND_i386_ieee1275_TRUE@fat_module_LDADD = +@COND_i386_multiboot_TRUE@fat_module_LDADD = +@COND_i386_pc_TRUE@fat_module_LDADD = +@COND_i386_qemu_TRUE@fat_module_LDADD = +@COND_mips_yeeloong_TRUE@fat_module_LDADD = +@COND_powerpc_ieee1275_TRUE@fat_module_LDADD = +@COND_sparc64_ieee1275_TRUE@fat_module_LDADD = +@COND_x86_64_efi_TRUE@fat_module_LDADD = +@COND_emu_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fat_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fat_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fat_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fat_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_i386_coreboot_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_i386_efi_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_i386_ieee1275_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_i386_multiboot_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_i386_pc_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_i386_qemu_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_mips_yeeloong_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_powerpc_ieee1275_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_sparc64_ieee1275_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_x86_64_efi_TRUE@fshelp_module_SOURCES = fs/fshelp.c ## platform sources +@COND_emu_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_fshelp_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@fshelp_module_LDADD = +@COND_i386_coreboot_TRUE@fshelp_module_LDADD = +@COND_i386_efi_TRUE@fshelp_module_LDADD = +@COND_i386_ieee1275_TRUE@fshelp_module_LDADD = +@COND_i386_multiboot_TRUE@fshelp_module_LDADD = +@COND_i386_pc_TRUE@fshelp_module_LDADD = +@COND_i386_qemu_TRUE@fshelp_module_LDADD = +@COND_mips_yeeloong_TRUE@fshelp_module_LDADD = +@COND_powerpc_ieee1275_TRUE@fshelp_module_LDADD = +@COND_sparc64_ieee1275_TRUE@fshelp_module_LDADD = +@COND_x86_64_efi_TRUE@fshelp_module_LDADD = +@COND_emu_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fshelp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fshelp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fshelp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@fshelp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_i386_coreboot_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_i386_efi_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_i386_ieee1275_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_i386_multiboot_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_i386_pc_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_i386_qemu_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_mips_yeeloong_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_x86_64_efi_TRUE@hfs_module_SOURCES = fs/hfs.c ## platform sources +@COND_emu_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_hfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@hfs_module_LDADD = +@COND_i386_coreboot_TRUE@hfs_module_LDADD = +@COND_i386_efi_TRUE@hfs_module_LDADD = +@COND_i386_ieee1275_TRUE@hfs_module_LDADD = +@COND_i386_multiboot_TRUE@hfs_module_LDADD = +@COND_i386_pc_TRUE@hfs_module_LDADD = +@COND_i386_qemu_TRUE@hfs_module_LDADD = +@COND_mips_yeeloong_TRUE@hfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@hfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@hfs_module_LDADD = +@COND_x86_64_efi_TRUE@hfs_module_LDADD = +@COND_emu_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_i386_coreboot_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_i386_efi_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_i386_ieee1275_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_i386_multiboot_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_i386_pc_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_i386_qemu_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_mips_yeeloong_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_powerpc_ieee1275_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_sparc64_ieee1275_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_x86_64_efi_TRUE@hfsplus_module_SOURCES = fs/hfsplus.c ## platform sources +@COND_emu_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_hfsplus_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@hfsplus_module_LDADD = +@COND_i386_coreboot_TRUE@hfsplus_module_LDADD = +@COND_i386_efi_TRUE@hfsplus_module_LDADD = +@COND_i386_ieee1275_TRUE@hfsplus_module_LDADD = +@COND_i386_multiboot_TRUE@hfsplus_module_LDADD = +@COND_i386_pc_TRUE@hfsplus_module_LDADD = +@COND_i386_qemu_TRUE@hfsplus_module_LDADD = +@COND_mips_yeeloong_TRUE@hfsplus_module_LDADD = +@COND_powerpc_ieee1275_TRUE@hfsplus_module_LDADD = +@COND_sparc64_ieee1275_TRUE@hfsplus_module_LDADD = +@COND_x86_64_efi_TRUE@hfsplus_module_LDADD = +@COND_emu_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfsplus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfsplus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfsplus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hfsplus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_i386_coreboot_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_i386_efi_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_i386_ieee1275_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_i386_multiboot_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_i386_pc_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_i386_qemu_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_mips_yeeloong_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_powerpc_ieee1275_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_sparc64_ieee1275_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_x86_64_efi_TRUE@iso9660_module_SOURCES = fs/iso9660.c ## platform sources +@COND_emu_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_iso9660_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@iso9660_module_LDADD = +@COND_i386_coreboot_TRUE@iso9660_module_LDADD = +@COND_i386_efi_TRUE@iso9660_module_LDADD = +@COND_i386_ieee1275_TRUE@iso9660_module_LDADD = +@COND_i386_multiboot_TRUE@iso9660_module_LDADD = +@COND_i386_pc_TRUE@iso9660_module_LDADD = +@COND_i386_qemu_TRUE@iso9660_module_LDADD = +@COND_mips_yeeloong_TRUE@iso9660_module_LDADD = +@COND_powerpc_ieee1275_TRUE@iso9660_module_LDADD = +@COND_sparc64_ieee1275_TRUE@iso9660_module_LDADD = +@COND_x86_64_efi_TRUE@iso9660_module_LDADD = +@COND_emu_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iso9660_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iso9660_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iso9660_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@iso9660_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_i386_coreboot_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_i386_efi_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_i386_ieee1275_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_i386_multiboot_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_i386_pc_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_i386_qemu_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_mips_yeeloong_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_x86_64_efi_TRUE@jfs_module_SOURCES = fs/jfs.c ## platform sources +@COND_emu_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_jfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@jfs_module_LDADD = +@COND_i386_coreboot_TRUE@jfs_module_LDADD = +@COND_i386_efi_TRUE@jfs_module_LDADD = +@COND_i386_ieee1275_TRUE@jfs_module_LDADD = +@COND_i386_multiboot_TRUE@jfs_module_LDADD = +@COND_i386_pc_TRUE@jfs_module_LDADD = +@COND_i386_qemu_TRUE@jfs_module_LDADD = +@COND_mips_yeeloong_TRUE@jfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@jfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@jfs_module_LDADD = +@COND_x86_64_efi_TRUE@jfs_module_LDADD = +@COND_emu_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_i386_coreboot_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_i386_efi_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_i386_ieee1275_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_i386_multiboot_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_i386_pc_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_i386_qemu_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_mips_yeeloong_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_powerpc_ieee1275_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_sparc64_ieee1275_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_x86_64_efi_TRUE@minix_module_SOURCES = fs/minix.c ## platform sources +@COND_emu_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_minix_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@minix_module_LDADD = +@COND_i386_coreboot_TRUE@minix_module_LDADD = +@COND_i386_efi_TRUE@minix_module_LDADD = +@COND_i386_ieee1275_TRUE@minix_module_LDADD = +@COND_i386_multiboot_TRUE@minix_module_LDADD = +@COND_i386_pc_TRUE@minix_module_LDADD = +@COND_i386_qemu_TRUE@minix_module_LDADD = +@COND_mips_yeeloong_TRUE@minix_module_LDADD = +@COND_powerpc_ieee1275_TRUE@minix_module_LDADD = +@COND_sparc64_ieee1275_TRUE@minix_module_LDADD = +@COND_x86_64_efi_TRUE@minix_module_LDADD = +@COND_emu_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_i386_coreboot_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_i386_efi_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_i386_ieee1275_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_i386_multiboot_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_i386_pc_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_i386_qemu_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_mips_yeeloong_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_powerpc_ieee1275_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_sparc64_ieee1275_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_x86_64_efi_TRUE@minix2_module_SOURCES = fs/minix2.c ## platform sources +@COND_emu_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_minix2_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@minix2_module_LDADD = +@COND_i386_coreboot_TRUE@minix2_module_LDADD = +@COND_i386_efi_TRUE@minix2_module_LDADD = +@COND_i386_ieee1275_TRUE@minix2_module_LDADD = +@COND_i386_multiboot_TRUE@minix2_module_LDADD = +@COND_i386_pc_TRUE@minix2_module_LDADD = +@COND_i386_qemu_TRUE@minix2_module_LDADD = +@COND_mips_yeeloong_TRUE@minix2_module_LDADD = +@COND_powerpc_ieee1275_TRUE@minix2_module_LDADD = +@COND_sparc64_ieee1275_TRUE@minix2_module_LDADD = +@COND_x86_64_efi_TRUE@minix2_module_LDADD = +@COND_emu_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@minix2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_i386_coreboot_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_i386_efi_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_i386_ieee1275_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_i386_multiboot_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_i386_pc_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_i386_qemu_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_mips_yeeloong_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_powerpc_ieee1275_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_sparc64_ieee1275_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_x86_64_efi_TRUE@nilfs2_module_SOURCES = fs/nilfs2.c ## platform sources +@COND_emu_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_nilfs2_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@nilfs2_module_LDADD = +@COND_i386_coreboot_TRUE@nilfs2_module_LDADD = +@COND_i386_efi_TRUE@nilfs2_module_LDADD = +@COND_i386_ieee1275_TRUE@nilfs2_module_LDADD = +@COND_i386_multiboot_TRUE@nilfs2_module_LDADD = +@COND_i386_pc_TRUE@nilfs2_module_LDADD = +@COND_i386_qemu_TRUE@nilfs2_module_LDADD = +@COND_mips_yeeloong_TRUE@nilfs2_module_LDADD = +@COND_powerpc_ieee1275_TRUE@nilfs2_module_LDADD = +@COND_sparc64_ieee1275_TRUE@nilfs2_module_LDADD = +@COND_x86_64_efi_TRUE@nilfs2_module_LDADD = +@COND_emu_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@nilfs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@nilfs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@nilfs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@nilfs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_i386_coreboot_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_i386_efi_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_i386_ieee1275_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_i386_multiboot_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_i386_pc_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_i386_qemu_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_mips_yeeloong_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_x86_64_efi_TRUE@ntfs_module_SOURCES = fs/ntfs.c ## platform sources +@COND_emu_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ntfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@ntfs_module_LDADD = +@COND_i386_coreboot_TRUE@ntfs_module_LDADD = +@COND_i386_efi_TRUE@ntfs_module_LDADD = +@COND_i386_ieee1275_TRUE@ntfs_module_LDADD = +@COND_i386_multiboot_TRUE@ntfs_module_LDADD = +@COND_i386_pc_TRUE@ntfs_module_LDADD = +@COND_i386_qemu_TRUE@ntfs_module_LDADD = +@COND_mips_yeeloong_TRUE@ntfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ntfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@ntfs_module_LDADD = +@COND_x86_64_efi_TRUE@ntfs_module_LDADD = +@COND_emu_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_i386_coreboot_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_i386_efi_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_i386_ieee1275_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_i386_multiboot_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_i386_pc_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_i386_qemu_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_mips_yeeloong_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_powerpc_ieee1275_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_sparc64_ieee1275_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_x86_64_efi_TRUE@ntfscomp_module_SOURCES = fs/ntfscomp.c ## platform sources +@COND_emu_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ntfscomp_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@ntfscomp_module_LDADD = +@COND_i386_coreboot_TRUE@ntfscomp_module_LDADD = +@COND_i386_efi_TRUE@ntfscomp_module_LDADD = +@COND_i386_ieee1275_TRUE@ntfscomp_module_LDADD = +@COND_i386_multiboot_TRUE@ntfscomp_module_LDADD = +@COND_i386_pc_TRUE@ntfscomp_module_LDADD = +@COND_i386_qemu_TRUE@ntfscomp_module_LDADD = +@COND_mips_yeeloong_TRUE@ntfscomp_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ntfscomp_module_LDADD = +@COND_sparc64_ieee1275_TRUE@ntfscomp_module_LDADD = +@COND_x86_64_efi_TRUE@ntfscomp_module_LDADD = +@COND_emu_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfscomp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfscomp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfscomp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ntfscomp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_i386_coreboot_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_i386_efi_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_i386_ieee1275_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_i386_multiboot_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_i386_pc_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_i386_qemu_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_mips_yeeloong_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_x86_64_efi_TRUE@reiserfs_module_SOURCES = fs/reiserfs.c ## platform sources +@COND_emu_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_reiserfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@reiserfs_module_LDADD = +@COND_i386_coreboot_TRUE@reiserfs_module_LDADD = +@COND_i386_efi_TRUE@reiserfs_module_LDADD = +@COND_i386_ieee1275_TRUE@reiserfs_module_LDADD = +@COND_i386_multiboot_TRUE@reiserfs_module_LDADD = +@COND_i386_pc_TRUE@reiserfs_module_LDADD = +@COND_i386_qemu_TRUE@reiserfs_module_LDADD = +@COND_mips_yeeloong_TRUE@reiserfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@reiserfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@reiserfs_module_LDADD = +@COND_x86_64_efi_TRUE@reiserfs_module_LDADD = +@COND_emu_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reiserfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reiserfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reiserfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@reiserfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_i386_coreboot_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_i386_efi_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_i386_ieee1275_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_i386_multiboot_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_i386_pc_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_i386_qemu_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_mips_yeeloong_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_x86_64_efi_TRUE@sfs_module_SOURCES = fs/sfs.c ## platform sources +@COND_emu_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_sfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@sfs_module_LDADD = +@COND_i386_coreboot_TRUE@sfs_module_LDADD = +@COND_i386_efi_TRUE@sfs_module_LDADD = +@COND_i386_ieee1275_TRUE@sfs_module_LDADD = +@COND_i386_multiboot_TRUE@sfs_module_LDADD = +@COND_i386_pc_TRUE@sfs_module_LDADD = +@COND_i386_qemu_TRUE@sfs_module_LDADD = +@COND_mips_yeeloong_TRUE@sfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@sfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@sfs_module_LDADD = +@COND_x86_64_efi_TRUE@sfs_module_LDADD = +@COND_emu_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@sfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_i386_coreboot_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_i386_efi_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_i386_ieee1275_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_i386_multiboot_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_i386_pc_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_i386_qemu_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_mips_yeeloong_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_powerpc_ieee1275_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_sparc64_ieee1275_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_x86_64_efi_TRUE@tar_module_SOURCES = fs/tar.c ## platform sources +@COND_emu_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_tar_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@tar_module_LDADD = +@COND_i386_coreboot_TRUE@tar_module_LDADD = +@COND_i386_efi_TRUE@tar_module_LDADD = +@COND_i386_ieee1275_TRUE@tar_module_LDADD = +@COND_i386_multiboot_TRUE@tar_module_LDADD = +@COND_i386_pc_TRUE@tar_module_LDADD = +@COND_i386_qemu_TRUE@tar_module_LDADD = +@COND_mips_yeeloong_TRUE@tar_module_LDADD = +@COND_powerpc_ieee1275_TRUE@tar_module_LDADD = +@COND_sparc64_ieee1275_TRUE@tar_module_LDADD = +@COND_x86_64_efi_TRUE@tar_module_LDADD = +@COND_emu_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tar_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tar_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tar_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tar_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_i386_coreboot_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_i386_efi_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_i386_ieee1275_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_i386_multiboot_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_i386_pc_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_i386_qemu_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_mips_yeeloong_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_powerpc_ieee1275_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_sparc64_ieee1275_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_x86_64_efi_TRUE@udf_module_SOURCES = fs/udf.c ## platform sources +@COND_emu_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_udf_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@udf_module_LDADD = +@COND_i386_coreboot_TRUE@udf_module_LDADD = +@COND_i386_efi_TRUE@udf_module_LDADD = +@COND_i386_ieee1275_TRUE@udf_module_LDADD = +@COND_i386_multiboot_TRUE@udf_module_LDADD = +@COND_i386_pc_TRUE@udf_module_LDADD = +@COND_i386_qemu_TRUE@udf_module_LDADD = +@COND_mips_yeeloong_TRUE@udf_module_LDADD = +@COND_powerpc_ieee1275_TRUE@udf_module_LDADD = +@COND_sparc64_ieee1275_TRUE@udf_module_LDADD = +@COND_x86_64_efi_TRUE@udf_module_LDADD = +@COND_emu_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@udf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@udf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@udf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@udf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_i386_coreboot_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_i386_efi_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_i386_ieee1275_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_i386_multiboot_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_i386_pc_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_i386_qemu_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_mips_yeeloong_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_x86_64_efi_TRUE@ufs1_module_SOURCES = fs/ufs.c ## platform sources +@COND_emu_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ufs1_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@ufs1_module_LDADD = +@COND_i386_coreboot_TRUE@ufs1_module_LDADD = +@COND_i386_efi_TRUE@ufs1_module_LDADD = +@COND_i386_ieee1275_TRUE@ufs1_module_LDADD = +@COND_i386_multiboot_TRUE@ufs1_module_LDADD = +@COND_i386_pc_TRUE@ufs1_module_LDADD = +@COND_i386_qemu_TRUE@ufs1_module_LDADD = +@COND_mips_yeeloong_TRUE@ufs1_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ufs1_module_LDADD = +@COND_sparc64_ieee1275_TRUE@ufs1_module_LDADD = +@COND_x86_64_efi_TRUE@ufs1_module_LDADD = +@COND_emu_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_i386_coreboot_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_i386_efi_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_i386_ieee1275_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_i386_multiboot_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_i386_pc_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_i386_qemu_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_mips_yeeloong_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_powerpc_ieee1275_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_sparc64_ieee1275_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_x86_64_efi_TRUE@ufs2_module_SOURCES = fs/ufs2.c ## platform sources +@COND_emu_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_ufs2_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@ufs2_module_LDADD = +@COND_i386_coreboot_TRUE@ufs2_module_LDADD = +@COND_i386_efi_TRUE@ufs2_module_LDADD = +@COND_i386_ieee1275_TRUE@ufs2_module_LDADD = +@COND_i386_multiboot_TRUE@ufs2_module_LDADD = +@COND_i386_pc_TRUE@ufs2_module_LDADD = +@COND_i386_qemu_TRUE@ufs2_module_LDADD = +@COND_mips_yeeloong_TRUE@ufs2_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ufs2_module_LDADD = +@COND_sparc64_ieee1275_TRUE@ufs2_module_LDADD = +@COND_x86_64_efi_TRUE@ufs2_module_LDADD = +@COND_emu_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@ufs2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_i386_coreboot_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_i386_efi_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_i386_ieee1275_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_i386_multiboot_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_i386_pc_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_i386_qemu_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_mips_yeeloong_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_powerpc_ieee1275_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_sparc64_ieee1275_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_x86_64_efi_TRUE@xfs_module_SOURCES = fs/xfs.c ## platform sources +@COND_emu_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_xfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@xfs_module_LDADD = +@COND_i386_coreboot_TRUE@xfs_module_LDADD = +@COND_i386_efi_TRUE@xfs_module_LDADD = +@COND_i386_ieee1275_TRUE@xfs_module_LDADD = +@COND_i386_multiboot_TRUE@xfs_module_LDADD = +@COND_i386_pc_TRUE@xfs_module_LDADD = +@COND_i386_qemu_TRUE@xfs_module_LDADD = +@COND_mips_yeeloong_TRUE@xfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@xfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@xfs_module_LDADD = +@COND_x86_64_efi_TRUE@xfs_module_LDADD = +@COND_emu_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_i386_coreboot_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_i386_efi_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_i386_ieee1275_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_i386_multiboot_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_i386_pc_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_i386_qemu_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_mips_yeeloong_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_powerpc_ieee1275_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_sparc64_ieee1275_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_x86_64_efi_TRUE@zfs_module_SOURCES = fs/zfs/zfs.c fs/zfs/zfs_lzjb.c fs/zfs/zfs_sha256.c fs/zfs/zfs_fletcher.c ## platform sources +@COND_emu_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_zfs_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@zfs_module_LDADD = +@COND_i386_coreboot_TRUE@zfs_module_LDADD = +@COND_i386_efi_TRUE@zfs_module_LDADD = +@COND_i386_ieee1275_TRUE@zfs_module_LDADD = +@COND_i386_multiboot_TRUE@zfs_module_LDADD = +@COND_i386_pc_TRUE@zfs_module_LDADD = +@COND_i386_qemu_TRUE@zfs_module_LDADD = +@COND_mips_yeeloong_TRUE@zfs_module_LDADD = +@COND_powerpc_ieee1275_TRUE@zfs_module_LDADD = +@COND_sparc64_ieee1275_TRUE@zfs_module_LDADD = +@COND_x86_64_efi_TRUE@zfs_module_LDADD = +@COND_emu_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_i386_coreboot_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_i386_efi_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_i386_ieee1275_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_i386_multiboot_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_i386_pc_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_i386_qemu_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_mips_yeeloong_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_powerpc_ieee1275_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_sparc64_ieee1275_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_x86_64_efi_TRUE@zfsinfo_module_SOURCES = fs/zfs/zfsinfo.c ## platform sources +@COND_emu_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_zfsinfo_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@zfsinfo_module_LDADD = +@COND_i386_coreboot_TRUE@zfsinfo_module_LDADD = +@COND_i386_efi_TRUE@zfsinfo_module_LDADD = +@COND_i386_ieee1275_TRUE@zfsinfo_module_LDADD = +@COND_i386_multiboot_TRUE@zfsinfo_module_LDADD = +@COND_i386_pc_TRUE@zfsinfo_module_LDADD = +@COND_i386_qemu_TRUE@zfsinfo_module_LDADD = +@COND_mips_yeeloong_TRUE@zfsinfo_module_LDADD = +@COND_powerpc_ieee1275_TRUE@zfsinfo_module_LDADD = +@COND_sparc64_ieee1275_TRUE@zfsinfo_module_LDADD = +@COND_x86_64_efi_TRUE@zfsinfo_module_LDADD = +@COND_emu_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfsinfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfsinfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfsinfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@zfsinfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@pxe_module_SOURCES = fs/i386/pc/pxe.c ## platform sources +@COND_i386_pc_TRUE@nodist_pxe_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@pxe_module_LDADD = +@COND_i386_pc_TRUE@pxe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@pxe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@pxe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@pxe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_i386_coreboot_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_i386_efi_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_i386_ieee1275_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_i386_multiboot_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_i386_pc_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_i386_qemu_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_mips_yeeloong_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_x86_64_efi_TRUE@gettext_module_SOURCES = gettext/gettext.c ## platform sources +@COND_emu_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gettext_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gettext_module_LDADD = +@COND_i386_coreboot_TRUE@gettext_module_LDADD = +@COND_i386_efi_TRUE@gettext_module_LDADD = +@COND_i386_ieee1275_TRUE@gettext_module_LDADD = +@COND_i386_multiboot_TRUE@gettext_module_LDADD = +@COND_i386_pc_TRUE@gettext_module_LDADD = +@COND_i386_qemu_TRUE@gettext_module_LDADD = +@COND_mips_yeeloong_TRUE@gettext_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gettext_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gettext_module_LDADD = +@COND_x86_64_efi_TRUE@gettext_module_LDADD = +@COND_emu_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gettext_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gettext_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gettext_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gettext_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_i386_coreboot_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_i386_efi_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_i386_ieee1275_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_i386_multiboot_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_i386_pc_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_i386_qemu_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_mips_yeeloong_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_x86_64_efi_TRUE@gfxmenu_module_SOURCES = gfxmenu/gfxmenu.c gfxmenu/model.c gfxmenu/view.c gfxmenu/font.c gfxmenu/icon_manager.c gfxmenu/theme_loader.c gfxmenu/widget-box.c gfxmenu/gui_canvas.c gfxmenu/gui_circular_progress.c gfxmenu/gui_box.c gfxmenu/gui_label.c gfxmenu/gui_list.c gfxmenu/gui_image.c gfxmenu/gui_progress_bar.c gfxmenu/gui_util.c gfxmenu/gui_string_util.c gfxmenu/named_colors.c ## platform sources +@COND_emu_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gfxmenu_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gfxmenu_module_LDADD = +@COND_i386_coreboot_TRUE@gfxmenu_module_LDADD = +@COND_i386_efi_TRUE@gfxmenu_module_LDADD = +@COND_i386_ieee1275_TRUE@gfxmenu_module_LDADD = +@COND_i386_multiboot_TRUE@gfxmenu_module_LDADD = +@COND_i386_pc_TRUE@gfxmenu_module_LDADD = +@COND_i386_qemu_TRUE@gfxmenu_module_LDADD = +@COND_mips_yeeloong_TRUE@gfxmenu_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gfxmenu_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gfxmenu_module_LDADD = +@COND_x86_64_efi_TRUE@gfxmenu_module_LDADD = +@COND_emu_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxmenu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxmenu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxmenu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxmenu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_i386_coreboot_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_i386_efi_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_i386_ieee1275_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_i386_multiboot_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_i386_pc_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_i386_qemu_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_mips_yeeloong_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_powerpc_ieee1275_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_sparc64_ieee1275_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_x86_64_efi_TRUE@hello_module_SOURCES = hello/hello.c ## platform sources +@COND_emu_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_hello_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@hello_module_LDADD = +@COND_i386_coreboot_TRUE@hello_module_LDADD = +@COND_i386_efi_TRUE@hello_module_LDADD = +@COND_i386_ieee1275_TRUE@hello_module_LDADD = +@COND_i386_multiboot_TRUE@hello_module_LDADD = +@COND_i386_pc_TRUE@hello_module_LDADD = +@COND_i386_qemu_TRUE@hello_module_LDADD = +@COND_mips_yeeloong_TRUE@hello_module_LDADD = +@COND_powerpc_ieee1275_TRUE@hello_module_LDADD = +@COND_sparc64_ieee1275_TRUE@hello_module_LDADD = +@COND_x86_64_efi_TRUE@hello_module_LDADD = +@COND_emu_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hello_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hello_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hello_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@hello_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_i386_coreboot_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_i386_efi_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_i386_ieee1275_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_i386_multiboot_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_i386_pc_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_i386_qemu_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_mips_yeeloong_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_x86_64_efi_TRUE@gzio_module_SOURCES = io/gzio.c ## platform sources +@COND_emu_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gzio_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gzio_module_LDADD = +@COND_i386_coreboot_TRUE@gzio_module_LDADD = +@COND_i386_efi_TRUE@gzio_module_LDADD = +@COND_i386_ieee1275_TRUE@gzio_module_LDADD = +@COND_i386_multiboot_TRUE@gzio_module_LDADD = +@COND_i386_pc_TRUE@gzio_module_LDADD = +@COND_i386_qemu_TRUE@gzio_module_LDADD = +@COND_mips_yeeloong_TRUE@gzio_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gzio_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gzio_module_LDADD = +@COND_x86_64_efi_TRUE@gzio_module_LDADD = +@COND_emu_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_i386_coreboot_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_i386_efi_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_i386_ieee1275_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_i386_multiboot_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_i386_pc_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_i386_qemu_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_powerpc_ieee1275_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_sparc64_ieee1275_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_x86_64_efi_TRUE@bufio_module_SOURCES = io/bufio.c ## platform sources +@COND_emu_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_bufio_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@bufio_module_LDADD = +@COND_i386_coreboot_TRUE@bufio_module_LDADD = +@COND_i386_efi_TRUE@bufio_module_LDADD = +@COND_i386_ieee1275_TRUE@bufio_module_LDADD = +@COND_i386_multiboot_TRUE@bufio_module_LDADD = +@COND_i386_pc_TRUE@bufio_module_LDADD = +@COND_i386_qemu_TRUE@bufio_module_LDADD = +@COND_powerpc_ieee1275_TRUE@bufio_module_LDADD = +@COND_sparc64_ieee1275_TRUE@bufio_module_LDADD = +@COND_x86_64_efi_TRUE@bufio_module_LDADD = +@COND_emu_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bufio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bufio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bufio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bufio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_i386_coreboot_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_i386_efi_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_i386_ieee1275_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_i386_multiboot_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_i386_pc_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_i386_qemu_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_mips_yeeloong_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_powerpc_ieee1275_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_sparc64_ieee1275_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_x86_64_efi_TRUE@elf_module_SOURCES = kern/elf.c ## platform sources +@COND_emu_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_elf_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@elf_module_LDADD = +@COND_i386_coreboot_TRUE@elf_module_LDADD = +@COND_i386_efi_TRUE@elf_module_LDADD = +@COND_i386_ieee1275_TRUE@elf_module_LDADD = +@COND_i386_multiboot_TRUE@elf_module_LDADD = +@COND_i386_pc_TRUE@elf_module_LDADD = +@COND_i386_qemu_TRUE@elf_module_LDADD = +@COND_mips_yeeloong_TRUE@elf_module_LDADD = +@COND_powerpc_ieee1275_TRUE@elf_module_LDADD = +@COND_sparc64_ieee1275_TRUE@elf_module_LDADD = +@COND_x86_64_efi_TRUE@elf_module_LDADD = +@COND_emu_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@elf_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@elf_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@elf_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@elf_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_i386_coreboot_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_i386_efi_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_i386_ieee1275_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_i386_multiboot_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_i386_pc_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_i386_qemu_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_mips_yeeloong_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_powerpc_ieee1275_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_sparc64_ieee1275_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_x86_64_efi_TRUE@crypto_module_SOURCES = lib/crypto.c ## platform sources +@COND_emu_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_crypto_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@crypto_module_LDADD = +@COND_i386_coreboot_TRUE@crypto_module_LDADD = +@COND_i386_efi_TRUE@crypto_module_LDADD = +@COND_i386_ieee1275_TRUE@crypto_module_LDADD = +@COND_i386_multiboot_TRUE@crypto_module_LDADD = +@COND_i386_pc_TRUE@crypto_module_LDADD = +@COND_i386_qemu_TRUE@crypto_module_LDADD = +@COND_mips_yeeloong_TRUE@crypto_module_LDADD = +@COND_powerpc_ieee1275_TRUE@crypto_module_LDADD = +@COND_sparc64_ieee1275_TRUE@crypto_module_LDADD = +@COND_x86_64_efi_TRUE@crypto_module_LDADD = +@COND_emu_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@crypto_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@crypto_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@crypto_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@crypto_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_i386_coreboot_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_i386_efi_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_i386_ieee1275_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_i386_multiboot_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_i386_pc_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_i386_qemu_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_mips_yeeloong_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_powerpc_ieee1275_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_sparc64_ieee1275_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_x86_64_efi_TRUE@pbkdf2_module_SOURCES = lib/pbkdf2.c ## platform sources +@COND_emu_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_pbkdf2_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@pbkdf2_module_LDADD = +@COND_i386_coreboot_TRUE@pbkdf2_module_LDADD = +@COND_i386_efi_TRUE@pbkdf2_module_LDADD = +@COND_i386_ieee1275_TRUE@pbkdf2_module_LDADD = +@COND_i386_multiboot_TRUE@pbkdf2_module_LDADD = +@COND_i386_pc_TRUE@pbkdf2_module_LDADD = +@COND_i386_qemu_TRUE@pbkdf2_module_LDADD = +@COND_mips_yeeloong_TRUE@pbkdf2_module_LDADD = +@COND_powerpc_ieee1275_TRUE@pbkdf2_module_LDADD = +@COND_sparc64_ieee1275_TRUE@pbkdf2_module_LDADD = +@COND_x86_64_efi_TRUE@pbkdf2_module_LDADD = +@COND_emu_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pbkdf2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pbkdf2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pbkdf2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@pbkdf2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_i386_efi_TRUE@relocator_module_SOURCES = lib/efi/relocator.c lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_i386_ieee1275_TRUE@relocator_module_SOURCES = lib/ieee1275/relocator.c lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_i386_multiboot_TRUE@relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_i386_pc_TRUE@relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_i386_qemu_TRUE@relocator_module_SOURCES = lib/i386/relocator_asm.S lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_mips_yeeloong_TRUE@relocator_module_SOURCES = lib/mips/relocator_asm.S lib/mips/relocator.c lib/relocator.c ## platform sources +@COND_powerpc_ieee1275_TRUE@relocator_module_SOURCES = lib/powerpc/relocator_asm.S lib/powerpc/relocator.c lib/ieee1275/relocator.c lib/relocator.c ## platform sources +@COND_x86_64_efi_TRUE@relocator_module_SOURCES = lib/x86_64/relocator_asm.S lib/efi/relocator.c lib/i386/relocator16.S lib/i386/relocator32.S lib/i386/relocator64.S lib/i386/relocator.c lib/relocator.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_relocator_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@relocator_module_LDADD = +@COND_i386_efi_TRUE@relocator_module_LDADD = +@COND_i386_ieee1275_TRUE@relocator_module_LDADD = +@COND_i386_multiboot_TRUE@relocator_module_LDADD = +@COND_i386_pc_TRUE@relocator_module_LDADD = +@COND_i386_qemu_TRUE@relocator_module_LDADD = +@COND_mips_yeeloong_TRUE@relocator_module_LDADD = +@COND_powerpc_ieee1275_TRUE@relocator_module_LDADD = +@COND_x86_64_efi_TRUE@relocator_module_LDADD = +@COND_i386_coreboot_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@relocator_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@relocator_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@relocator_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@relocator_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +@COND_i386_efi_TRUE@datetime_module_SOURCES = lib/efi/datetime.c ## platform sources +@COND_i386_ieee1275_TRUE@datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +@COND_i386_multiboot_TRUE@datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +@COND_i386_pc_TRUE@datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +@COND_i386_qemu_TRUE@datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +@COND_mips_yeeloong_TRUE@datetime_module_SOURCES = lib/cmos_datetime.c ## platform sources +@COND_powerpc_ieee1275_TRUE@datetime_module_SOURCES = lib/ieee1275/datetime.c ## platform sources +@COND_sparc64_ieee1275_TRUE@datetime_module_SOURCES = lib/ieee1275/datetime.c ## platform sources +@COND_x86_64_efi_TRUE@datetime_module_SOURCES = lib/efi/datetime.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_datetime_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@datetime_module_LDADD = +@COND_i386_efi_TRUE@datetime_module_LDADD = +@COND_i386_ieee1275_TRUE@datetime_module_LDADD = +@COND_i386_multiboot_TRUE@datetime_module_LDADD = +@COND_i386_pc_TRUE@datetime_module_LDADD = +@COND_i386_qemu_TRUE@datetime_module_LDADD = +@COND_mips_yeeloong_TRUE@datetime_module_LDADD = +@COND_powerpc_ieee1275_TRUE@datetime_module_LDADD = +@COND_sparc64_ieee1275_TRUE@datetime_module_LDADD = +@COND_x86_64_efi_TRUE@datetime_module_LDADD = +@COND_i386_coreboot_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datetime_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datetime_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datetime_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datetime_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_i386_coreboot_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_i386_efi_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_i386_ieee1275_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_i386_multiboot_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_i386_pc_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_i386_qemu_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_mips_yeeloong_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_powerpc_ieee1275_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_sparc64_ieee1275_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_x86_64_efi_TRUE@setjmp_module_SOURCES = lib/setjmp.S ## platform sources +@COND_emu_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_setjmp_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@setjmp_module_LDADD = +@COND_i386_coreboot_TRUE@setjmp_module_LDADD = +@COND_i386_efi_TRUE@setjmp_module_LDADD = +@COND_i386_ieee1275_TRUE@setjmp_module_LDADD = +@COND_i386_multiboot_TRUE@setjmp_module_LDADD = +@COND_i386_pc_TRUE@setjmp_module_LDADD = +@COND_i386_qemu_TRUE@setjmp_module_LDADD = +@COND_mips_yeeloong_TRUE@setjmp_module_LDADD = +@COND_powerpc_ieee1275_TRUE@setjmp_module_LDADD = +@COND_sparc64_ieee1275_TRUE@setjmp_module_LDADD = +@COND_x86_64_efi_TRUE@setjmp_module_LDADD = +@COND_emu_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setjmp_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setjmp_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setjmp_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@setjmp_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_i386_efi_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_i386_ieee1275_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_i386_multiboot_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_i386_pc_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_i386_qemu_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_x86_64_efi_TRUE@aout_module_SOURCES = loader/aout.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_aout_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@aout_module_LDADD = +@COND_i386_efi_TRUE@aout_module_LDADD = +@COND_i386_ieee1275_TRUE@aout_module_LDADD = +@COND_i386_multiboot_TRUE@aout_module_LDADD = +@COND_i386_pc_TRUE@aout_module_LDADD = +@COND_i386_qemu_TRUE@aout_module_LDADD = +@COND_x86_64_efi_TRUE@aout_module_LDADD = +@COND_i386_coreboot_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@aout_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@aout_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@aout_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@aout_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_i386_efi_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_i386_ieee1275_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_i386_multiboot_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_i386_pc_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_i386_qemu_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_x86_64_efi_TRUE@bsd_module_SOURCES = loader/i386/bsd.c loader/i386/bsd32.c loader/i386/bsd64.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@bsd_module_LDADD = +@COND_i386_efi_TRUE@bsd_module_LDADD = +@COND_i386_ieee1275_TRUE@bsd_module_LDADD = +@COND_i386_multiboot_TRUE@bsd_module_LDADD = +@COND_i386_pc_TRUE@bsd_module_LDADD = +@COND_i386_qemu_TRUE@bsd_module_LDADD = +@COND_x86_64_efi_TRUE@bsd_module_LDADD = +@COND_i386_coreboot_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@linux16_module_SOURCES = loader/i386/pc/linux.c lib/cmdline.c ## platform sources +@COND_i386_pc_TRUE@nodist_linux16_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@linux16_module_LDADD = +@COND_i386_pc_TRUE@linux16_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@linux16_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@linux16_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@linux16_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@ntldr_module_SOURCES = loader/i386/pc/ntldr.c ## platform sources +@COND_i386_pc_TRUE@nodist_ntldr_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@ntldr_module_LDADD = +@COND_i386_pc_TRUE@ntldr_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@ntldr_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@ntldr_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@ntldr_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_i386_efi_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_i386_ieee1275_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_i386_multiboot_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_i386_pc_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_i386_qemu_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_mips_yeeloong_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_x86_64_efi_TRUE@multiboot2_module_SOURCES = loader/multiboot.c loader/multiboot_mbi2.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_multiboot2_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@multiboot2_module_LDADD = +@COND_i386_efi_TRUE@multiboot2_module_LDADD = +@COND_i386_ieee1275_TRUE@multiboot2_module_LDADD = +@COND_i386_multiboot_TRUE@multiboot2_module_LDADD = +@COND_i386_pc_TRUE@multiboot2_module_LDADD = +@COND_i386_qemu_TRUE@multiboot2_module_LDADD = +@COND_mips_yeeloong_TRUE@multiboot2_module_LDADD = +@COND_x86_64_efi_TRUE@multiboot2_module_LDADD = +@COND_i386_coreboot_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot2_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot2_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_i386_efi_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_i386_ieee1275_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_i386_multiboot_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_i386_pc_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_i386_qemu_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_mips_yeeloong_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_x86_64_efi_TRUE@multiboot2_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -DGRUB_USE_MULTIBOOT2 +@COND_i386_coreboot_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot2_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_i386_efi_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_i386_ieee1275_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_i386_multiboot_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_i386_pc_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_i386_qemu_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_x86_64_efi_TRUE@multiboot_module_SOURCES = loader/i386/multiboot_mbi.c loader/multiboot.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_multiboot_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@multiboot_module_LDADD = +@COND_i386_efi_TRUE@multiboot_module_LDADD = +@COND_i386_ieee1275_TRUE@multiboot_module_LDADD = +@COND_i386_multiboot_TRUE@multiboot_module_LDADD = +@COND_i386_pc_TRUE@multiboot_module_LDADD = +@COND_i386_qemu_TRUE@multiboot_module_LDADD = +@COND_x86_64_efi_TRUE@multiboot_module_LDADD = +@COND_i386_coreboot_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@multiboot_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_i386_efi_TRUE@linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_i386_ieee1275_TRUE@linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_i386_multiboot_TRUE@linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_i386_pc_TRUE@linux_module_SOURCES = lib/i386/pc/vesa_modes_table.c loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_i386_qemu_TRUE@linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_mips_yeeloong_TRUE@linux_module_SOURCES = loader/mips/linux.c lib/cmdline.c ## platform sources +@COND_powerpc_ieee1275_TRUE@linux_module_SOURCES = loader/powerpc/ieee1275/linux.c lib/cmdline.c ## platform sources +@COND_sparc64_ieee1275_TRUE@linux_module_SOURCES = loader/sparc64/ieee1275/linux.c lib/cmdline.c ## platform sources +@COND_x86_64_efi_TRUE@linux_module_SOURCES = loader/i386/linux.c lib/cmdline.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_linux_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@linux_module_LDADD = +@COND_i386_efi_TRUE@linux_module_LDADD = +@COND_i386_ieee1275_TRUE@linux_module_LDADD = +@COND_i386_multiboot_TRUE@linux_module_LDADD = +@COND_i386_pc_TRUE@linux_module_LDADD = +@COND_i386_qemu_TRUE@linux_module_LDADD = +@COND_mips_yeeloong_TRUE@linux_module_LDADD = +@COND_powerpc_ieee1275_TRUE@linux_module_LDADD = +@COND_sparc64_ieee1275_TRUE@linux_module_LDADD = +@COND_x86_64_efi_TRUE@linux_module_LDADD = +@COND_i386_coreboot_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@linux_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@linux_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@linux_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@linux_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_i386_efi_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_i386_ieee1275_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_i386_multiboot_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_i386_pc_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_i386_qemu_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_x86_64_efi_TRUE@xnu_module_SOURCES = loader/xnu_resume.c loader/i386/xnu.c loader/macho32.c loader/macho64.c loader/macho.c loader/xnu.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_xnu_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@xnu_module_LDADD = +@COND_i386_efi_TRUE@xnu_module_LDADD = +@COND_i386_ieee1275_TRUE@xnu_module_LDADD = +@COND_i386_multiboot_TRUE@xnu_module_LDADD = +@COND_i386_pc_TRUE@xnu_module_LDADD = +@COND_i386_qemu_TRUE@xnu_module_LDADD = +@COND_x86_64_efi_TRUE@xnu_module_LDADD = +@COND_i386_coreboot_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xnu_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@appleldr_module_SOURCES = loader/efi/appleloader.c ## platform sources +@COND_x86_64_efi_TRUE@appleldr_module_SOURCES = loader/efi/appleloader.c ## platform sources +@COND_i386_efi_TRUE@nodist_appleldr_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_appleldr_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@appleldr_module_LDADD = +@COND_x86_64_efi_TRUE@appleldr_module_LDADD = +@COND_i386_efi_TRUE@appleldr_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@appleldr_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@appleldr_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@appleldr_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@appleldr_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@appleldr_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@appleldr_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@appleldr_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@chain_module_SOURCES = loader/efi/chainloader.c ## platform sources +@COND_i386_pc_TRUE@chain_module_SOURCES = loader/i386/pc/chainloader.c ## platform sources +@COND_x86_64_efi_TRUE@chain_module_SOURCES = loader/efi/chainloader.c ## platform sources +@COND_i386_efi_TRUE@nodist_chain_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_chain_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_chain_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@chain_module_LDADD = +@COND_i386_pc_TRUE@chain_module_LDADD = +@COND_x86_64_efi_TRUE@chain_module_LDADD = +@COND_i386_efi_TRUE@chain_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@chain_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@chain_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@chain_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@chain_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@chain_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@chain_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@chain_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@chain_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@chain_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@chain_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@chain_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_i386_efi_TRUE@mmap_module_SOURCES = mmap/efi/mmap.c mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_i386_ieee1275_TRUE@mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_i386_multiboot_TRUE@mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_i386_pc_TRUE@mmap_module_SOURCES = mmap/i386/pc/mmap.c mmap/i386/pc/mmap_helper.S mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_i386_qemu_TRUE@mmap_module_SOURCES = mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_mips_yeeloong_TRUE@mmap_module_SOURCES = mmap/mips/yeeloong/uppermem.c mmap/mmap.c ## platform sources +@COND_x86_64_efi_TRUE@mmap_module_SOURCES = mmap/efi/mmap.c mmap/i386/uppermem.c mmap/i386/mmap.c mmap/mmap.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_mmap_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@mmap_module_LDADD = +@COND_i386_efi_TRUE@mmap_module_LDADD = +@COND_i386_ieee1275_TRUE@mmap_module_LDADD = +@COND_i386_multiboot_TRUE@mmap_module_LDADD = +@COND_i386_pc_TRUE@mmap_module_LDADD = +@COND_i386_qemu_TRUE@mmap_module_LDADD = +@COND_mips_yeeloong_TRUE@mmap_module_LDADD = +@COND_x86_64_efi_TRUE@mmap_module_LDADD = +@COND_i386_coreboot_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@mmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_i386_coreboot_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_i386_efi_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_i386_ieee1275_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_i386_multiboot_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_i386_pc_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_i386_qemu_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_mips_yeeloong_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_powerpc_ieee1275_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_sparc64_ieee1275_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_x86_64_efi_TRUE@normal_module_SOURCES = normal/main.c normal/cmdline.c normal/dyncmd.c normal/auth.c normal/autofs.c normal/color.c normal/completion.c normal/datetime.c normal/menu.c normal/menu_entry.c normal/menu_text.c normal/misc.c normal/crypto.c normal/term.c normal/context.c normal/charset.c script/main.c script/script.c script/execute.c script/function.c script/lexer.c script/argv.c commands/menuentry.c unidata.c ## platform sources +@COND_emu_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_i386_efi_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_i386_pc_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_normal_module_SOURCES = grub_script.tab.c grub_script.yy.c grub_script.tab.h grub_script.yy.h ## platform nodist sources +@COND_emu_TRUE@normal_module_LDADD = +@COND_i386_coreboot_TRUE@normal_module_LDADD = +@COND_i386_efi_TRUE@normal_module_LDADD = +@COND_i386_ieee1275_TRUE@normal_module_LDADD = +@COND_i386_multiboot_TRUE@normal_module_LDADD = +@COND_i386_pc_TRUE@normal_module_LDADD = +@COND_i386_qemu_TRUE@normal_module_LDADD = +@COND_mips_yeeloong_TRUE@normal_module_LDADD = +@COND_powerpc_ieee1275_TRUE@normal_module_LDADD = +@COND_sparc64_ieee1275_TRUE@normal_module_LDADD = +@COND_x86_64_efi_TRUE@normal_module_LDADD = +@COND_emu_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_i386_coreboot_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_i386_efi_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_i386_ieee1275_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_i386_multiboot_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_i386_pc_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_i386_qemu_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_mips_yeeloong_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_powerpc_ieee1275_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_sparc64_ieee1275_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_x86_64_efi_TRUE@normal_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_POSIX) -Wno-error +@COND_emu_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@normal_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_i386_coreboot_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_i386_efi_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_i386_ieee1275_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_i386_multiboot_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_i386_pc_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_i386_qemu_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_mips_yeeloong_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_powerpc_ieee1275_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_sparc64_ieee1275_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_x86_64_efi_TRUE@normal_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_POSIX) +@COND_emu_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@normal_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_i386_coreboot_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_i386_efi_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_i386_ieee1275_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_i386_multiboot_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_i386_pc_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_i386_qemu_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_mips_yeeloong_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_x86_64_efi_TRUE@part_acorn_module_SOURCES = partmap/acorn.c ## platform sources +@COND_emu_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_acorn_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_acorn_module_LDADD = +@COND_i386_coreboot_TRUE@part_acorn_module_LDADD = +@COND_i386_efi_TRUE@part_acorn_module_LDADD = +@COND_i386_ieee1275_TRUE@part_acorn_module_LDADD = +@COND_i386_multiboot_TRUE@part_acorn_module_LDADD = +@COND_i386_pc_TRUE@part_acorn_module_LDADD = +@COND_i386_qemu_TRUE@part_acorn_module_LDADD = +@COND_mips_yeeloong_TRUE@part_acorn_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_acorn_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_acorn_module_LDADD = +@COND_x86_64_efi_TRUE@part_acorn_module_LDADD = +@COND_emu_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_acorn_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_acorn_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_acorn_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_acorn_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_i386_coreboot_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_i386_efi_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_i386_ieee1275_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_i386_multiboot_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_i386_pc_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_i386_qemu_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_mips_yeeloong_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_x86_64_efi_TRUE@part_amiga_module_SOURCES = partmap/amiga.c ## platform sources +@COND_emu_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_amiga_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_amiga_module_LDADD = +@COND_i386_coreboot_TRUE@part_amiga_module_LDADD = +@COND_i386_efi_TRUE@part_amiga_module_LDADD = +@COND_i386_ieee1275_TRUE@part_amiga_module_LDADD = +@COND_i386_multiboot_TRUE@part_amiga_module_LDADD = +@COND_i386_pc_TRUE@part_amiga_module_LDADD = +@COND_i386_qemu_TRUE@part_amiga_module_LDADD = +@COND_mips_yeeloong_TRUE@part_amiga_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_amiga_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_amiga_module_LDADD = +@COND_x86_64_efi_TRUE@part_amiga_module_LDADD = +@COND_emu_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_amiga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_amiga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_amiga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_amiga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_i386_coreboot_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_i386_efi_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_i386_ieee1275_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_i386_multiboot_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_i386_pc_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_i386_qemu_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_mips_yeeloong_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_x86_64_efi_TRUE@part_apple_module_SOURCES = partmap/apple.c ## platform sources +@COND_emu_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_apple_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_apple_module_LDADD = +@COND_i386_coreboot_TRUE@part_apple_module_LDADD = +@COND_i386_efi_TRUE@part_apple_module_LDADD = +@COND_i386_ieee1275_TRUE@part_apple_module_LDADD = +@COND_i386_multiboot_TRUE@part_apple_module_LDADD = +@COND_i386_pc_TRUE@part_apple_module_LDADD = +@COND_i386_qemu_TRUE@part_apple_module_LDADD = +@COND_mips_yeeloong_TRUE@part_apple_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_apple_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_apple_module_LDADD = +@COND_x86_64_efi_TRUE@part_apple_module_LDADD = +@COND_emu_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_apple_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_apple_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_apple_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_apple_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_i386_coreboot_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_i386_efi_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_i386_ieee1275_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_i386_multiboot_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_i386_pc_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_i386_qemu_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_mips_yeeloong_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_x86_64_efi_TRUE@part_gpt_module_SOURCES = partmap/gpt.c ## platform sources +@COND_emu_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_gpt_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_gpt_module_LDADD = +@COND_i386_coreboot_TRUE@part_gpt_module_LDADD = +@COND_i386_efi_TRUE@part_gpt_module_LDADD = +@COND_i386_ieee1275_TRUE@part_gpt_module_LDADD = +@COND_i386_multiboot_TRUE@part_gpt_module_LDADD = +@COND_i386_pc_TRUE@part_gpt_module_LDADD = +@COND_i386_qemu_TRUE@part_gpt_module_LDADD = +@COND_mips_yeeloong_TRUE@part_gpt_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_gpt_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_gpt_module_LDADD = +@COND_x86_64_efi_TRUE@part_gpt_module_LDADD = +@COND_emu_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_gpt_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_gpt_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_gpt_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_gpt_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_i386_coreboot_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_i386_efi_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_i386_ieee1275_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_i386_multiboot_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_i386_pc_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_i386_qemu_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_mips_yeeloong_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_x86_64_efi_TRUE@part_msdos_module_SOURCES = partmap/msdos.c ## platform sources +@COND_emu_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_msdos_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_msdos_module_LDADD = +@COND_i386_coreboot_TRUE@part_msdos_module_LDADD = +@COND_i386_efi_TRUE@part_msdos_module_LDADD = +@COND_i386_ieee1275_TRUE@part_msdos_module_LDADD = +@COND_i386_multiboot_TRUE@part_msdos_module_LDADD = +@COND_i386_pc_TRUE@part_msdos_module_LDADD = +@COND_i386_qemu_TRUE@part_msdos_module_LDADD = +@COND_mips_yeeloong_TRUE@part_msdos_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_msdos_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_msdos_module_LDADD = +@COND_x86_64_efi_TRUE@part_msdos_module_LDADD = +@COND_emu_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_msdos_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_msdos_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_msdos_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_msdos_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_i386_coreboot_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_i386_efi_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_i386_ieee1275_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_i386_multiboot_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_i386_pc_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_i386_qemu_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_mips_yeeloong_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_x86_64_efi_TRUE@part_sun_module_SOURCES = partmap/sun.c ## platform sources +@COND_emu_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_sun_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_sun_module_LDADD = +@COND_i386_coreboot_TRUE@part_sun_module_LDADD = +@COND_i386_efi_TRUE@part_sun_module_LDADD = +@COND_i386_ieee1275_TRUE@part_sun_module_LDADD = +@COND_i386_multiboot_TRUE@part_sun_module_LDADD = +@COND_i386_pc_TRUE@part_sun_module_LDADD = +@COND_i386_qemu_TRUE@part_sun_module_LDADD = +@COND_mips_yeeloong_TRUE@part_sun_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_sun_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_sun_module_LDADD = +@COND_x86_64_efi_TRUE@part_sun_module_LDADD = +@COND_emu_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sun_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sun_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sun_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sun_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_i386_coreboot_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_i386_efi_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_i386_ieee1275_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_i386_multiboot_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_i386_pc_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_i386_qemu_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_mips_yeeloong_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_x86_64_efi_TRUE@part_bsd_module_SOURCES = partmap/bsdlabel.c ## platform sources +@COND_emu_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_bsd_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_bsd_module_LDADD = +@COND_i386_coreboot_TRUE@part_bsd_module_LDADD = +@COND_i386_efi_TRUE@part_bsd_module_LDADD = +@COND_i386_ieee1275_TRUE@part_bsd_module_LDADD = +@COND_i386_multiboot_TRUE@part_bsd_module_LDADD = +@COND_i386_pc_TRUE@part_bsd_module_LDADD = +@COND_i386_qemu_TRUE@part_bsd_module_LDADD = +@COND_mips_yeeloong_TRUE@part_bsd_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_bsd_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_bsd_module_LDADD = +@COND_x86_64_efi_TRUE@part_bsd_module_LDADD = +@COND_emu_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_bsd_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_bsd_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_bsd_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_bsd_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_i386_coreboot_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_i386_efi_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_i386_ieee1275_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_i386_multiboot_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_i386_pc_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_i386_qemu_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_mips_yeeloong_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_powerpc_ieee1275_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_sparc64_ieee1275_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_x86_64_efi_TRUE@part_sunpc_module_SOURCES = partmap/sunpc.c ## platform sources +@COND_emu_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_part_sunpc_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@part_sunpc_module_LDADD = +@COND_i386_coreboot_TRUE@part_sunpc_module_LDADD = +@COND_i386_efi_TRUE@part_sunpc_module_LDADD = +@COND_i386_ieee1275_TRUE@part_sunpc_module_LDADD = +@COND_i386_multiboot_TRUE@part_sunpc_module_LDADD = +@COND_i386_pc_TRUE@part_sunpc_module_LDADD = +@COND_i386_qemu_TRUE@part_sunpc_module_LDADD = +@COND_mips_yeeloong_TRUE@part_sunpc_module_LDADD = +@COND_powerpc_ieee1275_TRUE@part_sunpc_module_LDADD = +@COND_sparc64_ieee1275_TRUE@part_sunpc_module_LDADD = +@COND_x86_64_efi_TRUE@part_sunpc_module_LDADD = +@COND_emu_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sunpc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sunpc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sunpc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@part_sunpc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_i386_coreboot_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_i386_efi_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_i386_ieee1275_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_i386_multiboot_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_i386_pc_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_i386_qemu_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_mips_yeeloong_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_powerpc_ieee1275_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_sparc64_ieee1275_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_x86_64_efi_TRUE@msdospart_module_SOURCES = parttool/msdospart.c ## platform sources +@COND_emu_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_msdospart_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@msdospart_module_LDADD = +@COND_i386_coreboot_TRUE@msdospart_module_LDADD = +@COND_i386_efi_TRUE@msdospart_module_LDADD = +@COND_i386_ieee1275_TRUE@msdospart_module_LDADD = +@COND_i386_multiboot_TRUE@msdospart_module_LDADD = +@COND_i386_pc_TRUE@msdospart_module_LDADD = +@COND_i386_qemu_TRUE@msdospart_module_LDADD = +@COND_mips_yeeloong_TRUE@msdospart_module_LDADD = +@COND_powerpc_ieee1275_TRUE@msdospart_module_LDADD = +@COND_sparc64_ieee1275_TRUE@msdospart_module_LDADD = +@COND_x86_64_efi_TRUE@msdospart_module_LDADD = +@COND_emu_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@msdospart_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@msdospart_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@msdospart_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@msdospart_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_i386_efi_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_i386_ieee1275_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_i386_multiboot_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_i386_pc_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_i386_qemu_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_x86_64_efi_TRUE@at_keyboard_module_SOURCES = term/at_keyboard.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_at_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@at_keyboard_module_LDADD = +@COND_i386_efi_TRUE@at_keyboard_module_LDADD = +@COND_i386_ieee1275_TRUE@at_keyboard_module_LDADD = +@COND_i386_multiboot_TRUE@at_keyboard_module_LDADD = +@COND_i386_pc_TRUE@at_keyboard_module_LDADD = +@COND_i386_qemu_TRUE@at_keyboard_module_LDADD = +@COND_x86_64_efi_TRUE@at_keyboard_module_LDADD = +@COND_i386_coreboot_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@at_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@at_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@at_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@at_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_i386_coreboot_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_i386_efi_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_i386_ieee1275_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_i386_multiboot_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_i386_pc_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_i386_qemu_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_x86_64_efi_TRUE@gfxterm_module_SOURCES = term/gfxterm.c ## platform sources +@COND_emu_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gfxterm_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gfxterm_module_LDADD = +@COND_i386_coreboot_TRUE@gfxterm_module_LDADD = +@COND_i386_efi_TRUE@gfxterm_module_LDADD = +@COND_i386_ieee1275_TRUE@gfxterm_module_LDADD = +@COND_i386_multiboot_TRUE@gfxterm_module_LDADD = +@COND_i386_pc_TRUE@gfxterm_module_LDADD = +@COND_i386_qemu_TRUE@gfxterm_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gfxterm_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gfxterm_module_LDADD = +@COND_x86_64_efi_TRUE@gfxterm_module_LDADD = +@COND_emu_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxterm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxterm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxterm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gfxterm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial_module_SOURCES = term/serial.c ## platform sources +@COND_i386_coreboot_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_i386_efi_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_i386_ieee1275_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_i386_multiboot_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_i386_pc_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_i386_qemu_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_x86_64_efi_TRUE@serial_module_SOURCES = term/ns8250.c term/serial.c ## platform sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_serial_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial_module_LDADD = +@COND_i386_coreboot_TRUE@serial_module_LDADD = +@COND_i386_efi_TRUE@serial_module_LDADD = +@COND_i386_ieee1275_TRUE@serial_module_LDADD = +@COND_i386_multiboot_TRUE@serial_module_LDADD = +@COND_i386_pc_TRUE@serial_module_LDADD = +@COND_i386_qemu_TRUE@serial_module_LDADD = +@COND_x86_64_efi_TRUE@serial_module_LDADD = +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@serial_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@serial_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@serial_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@serial_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@sendkey_module_SOURCES = commands/i386/pc/sendkey.c ## platform sources +@COND_i386_pc_TRUE@nodist_sendkey_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@sendkey_module_LDADD = +@COND_i386_pc_TRUE@sendkey_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@sendkey_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@sendkey_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@sendkey_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_i386_coreboot_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_i386_efi_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_i386_multiboot_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_i386_pc_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_i386_qemu_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_x86_64_efi_TRUE@terminfo_module_SOURCES = term/terminfo.c term/tparm.c ## platform sources +@COND_emu_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_terminfo_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@terminfo_module_LDADD = +@COND_i386_coreboot_TRUE@terminfo_module_LDADD = +@COND_i386_efi_TRUE@terminfo_module_LDADD = +@COND_i386_multiboot_TRUE@terminfo_module_LDADD = +@COND_i386_pc_TRUE@terminfo_module_LDADD = +@COND_i386_qemu_TRUE@terminfo_module_LDADD = +@COND_x86_64_efi_TRUE@terminfo_module_LDADD = +@COND_emu_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminfo_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminfo_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminfo_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@terminfo_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_i386_efi_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_i386_ieee1275_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_i386_multiboot_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_i386_pc_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_i386_qemu_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_mips_yeeloong_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_x86_64_efi_TRUE@usb_keyboard_module_SOURCES = term/usb_keyboard.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_usb_keyboard_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@usb_keyboard_module_LDADD = +@COND_i386_efi_TRUE@usb_keyboard_module_LDADD = +@COND_i386_ieee1275_TRUE@usb_keyboard_module_LDADD = +@COND_i386_multiboot_TRUE@usb_keyboard_module_LDADD = +@COND_i386_pc_TRUE@usb_keyboard_module_LDADD = +@COND_i386_qemu_TRUE@usb_keyboard_module_LDADD = +@COND_mips_yeeloong_TRUE@usb_keyboard_module_LDADD = +@COND_x86_64_efi_TRUE@usb_keyboard_module_LDADD = +@COND_i386_coreboot_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_keyboard_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_keyboard_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_keyboard_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@usb_keyboard_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_module_SOURCES = video/i386/pc/vga.c ## platform sources +@COND_i386_pc_TRUE@nodist_vga_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@vga_module_LDADD = +@COND_i386_pc_TRUE@vga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@vga_text_module_SOURCES = term/i386/pc/vga_text.c term/i386/vga_common.c ## platform sources +@COND_i386_multiboot_TRUE@vga_text_module_SOURCES = term/i386/pc/vga_text.c term/i386/vga_common.c ## platform sources +@COND_i386_pc_TRUE@vga_text_module_SOURCES = term/i386/pc/vga_text.c term/i386/vga_common.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_vga_text_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_vga_text_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_vga_text_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@vga_text_module_LDADD = +@COND_i386_multiboot_TRUE@vga_text_module_LDADD = +@COND_i386_pc_TRUE@vga_text_module_LDADD = +@COND_i386_coreboot_TRUE@vga_text_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@vga_text_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_text_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@vga_text_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@vga_text_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_text_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@vga_text_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@vga_text_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_text_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@vga_text_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@vga_text_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@vga_text_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_i386_efi_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_i386_ieee1275_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_i386_multiboot_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_i386_pc_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_i386_qemu_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_x86_64_efi_TRUE@video_cirrus_module_SOURCES = video/cirrus.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_video_cirrus_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@video_cirrus_module_LDADD = +@COND_i386_efi_TRUE@video_cirrus_module_LDADD = +@COND_i386_ieee1275_TRUE@video_cirrus_module_LDADD = +@COND_i386_multiboot_TRUE@video_cirrus_module_LDADD = +@COND_i386_pc_TRUE@video_cirrus_module_LDADD = +@COND_i386_qemu_TRUE@video_cirrus_module_LDADD = +@COND_x86_64_efi_TRUE@video_cirrus_module_LDADD = +@COND_i386_coreboot_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_cirrus_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_cirrus_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_cirrus_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_cirrus_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_i386_efi_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_i386_ieee1275_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_i386_multiboot_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_i386_pc_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_i386_qemu_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_x86_64_efi_TRUE@video_bochs_module_SOURCES = video/bochs.c ## platform sources +@COND_i386_coreboot_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_video_bochs_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@video_bochs_module_LDADD = +@COND_i386_efi_TRUE@video_bochs_module_LDADD = +@COND_i386_ieee1275_TRUE@video_bochs_module_LDADD = +@COND_i386_multiboot_TRUE@video_bochs_module_LDADD = +@COND_i386_pc_TRUE@video_bochs_module_LDADD = +@COND_i386_qemu_TRUE@video_bochs_module_LDADD = +@COND_x86_64_efi_TRUE@video_bochs_module_LDADD = +@COND_i386_coreboot_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_bochs_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_bochs_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_bochs_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_bochs_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_i386_coreboot_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_i386_efi_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_i386_ieee1275_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_i386_multiboot_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_i386_pc_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_i386_qemu_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_mips_yeeloong_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_powerpc_ieee1275_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_sparc64_ieee1275_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_x86_64_efi_TRUE@functional_test_module_SOURCES = tests/lib/functional_test.c tests/lib/test.c ## platform sources +@COND_emu_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_functional_test_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@functional_test_module_LDADD = +@COND_i386_coreboot_TRUE@functional_test_module_LDADD = +@COND_i386_efi_TRUE@functional_test_module_LDADD = +@COND_i386_ieee1275_TRUE@functional_test_module_LDADD = +@COND_i386_multiboot_TRUE@functional_test_module_LDADD = +@COND_i386_pc_TRUE@functional_test_module_LDADD = +@COND_i386_qemu_TRUE@functional_test_module_LDADD = +@COND_mips_yeeloong_TRUE@functional_test_module_LDADD = +@COND_powerpc_ieee1275_TRUE@functional_test_module_LDADD = +@COND_sparc64_ieee1275_TRUE@functional_test_module_LDADD = +@COND_x86_64_efi_TRUE@functional_test_module_LDADD = +@COND_emu_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_i386_coreboot_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_i386_efi_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_i386_ieee1275_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_i386_multiboot_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_i386_pc_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_i386_qemu_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_mips_yeeloong_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_powerpc_ieee1275_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_sparc64_ieee1275_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_x86_64_efi_TRUE@example_functional_test_module_SOURCES = tests/example_functional_test.c ## platform sources +@COND_emu_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_example_functional_test_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@example_functional_test_module_LDADD = +@COND_i386_coreboot_TRUE@example_functional_test_module_LDADD = +@COND_i386_efi_TRUE@example_functional_test_module_LDADD = +@COND_i386_ieee1275_TRUE@example_functional_test_module_LDADD = +@COND_i386_multiboot_TRUE@example_functional_test_module_LDADD = +@COND_i386_pc_TRUE@example_functional_test_module_LDADD = +@COND_i386_qemu_TRUE@example_functional_test_module_LDADD = +@COND_mips_yeeloong_TRUE@example_functional_test_module_LDADD = +@COND_powerpc_ieee1275_TRUE@example_functional_test_module_LDADD = +@COND_sparc64_ieee1275_TRUE@example_functional_test_module_LDADD = +@COND_x86_64_efi_TRUE@example_functional_test_module_LDADD = +@COND_emu_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_i386_coreboot_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_i386_efi_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_i386_ieee1275_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_i386_multiboot_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_i386_pc_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_i386_qemu_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_mips_yeeloong_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_powerpc_ieee1275_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_sparc64_ieee1275_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_x86_64_efi_TRUE@example_functional_test_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) -Wno-format +@COND_emu_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@example_functional_test_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@example_functional_test_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@example_functional_test_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_i386_coreboot_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_i386_efi_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_i386_ieee1275_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_i386_multiboot_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_i386_pc_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_i386_qemu_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_powerpc_ieee1275_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_sparc64_ieee1275_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_x86_64_efi_TRUE@bitmap_module_SOURCES = video/bitmap.c ## platform sources +@COND_emu_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_bitmap_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@bitmap_module_LDADD = +@COND_i386_coreboot_TRUE@bitmap_module_LDADD = +@COND_i386_efi_TRUE@bitmap_module_LDADD = +@COND_i386_ieee1275_TRUE@bitmap_module_LDADD = +@COND_i386_multiboot_TRUE@bitmap_module_LDADD = +@COND_i386_pc_TRUE@bitmap_module_LDADD = +@COND_i386_qemu_TRUE@bitmap_module_LDADD = +@COND_powerpc_ieee1275_TRUE@bitmap_module_LDADD = +@COND_sparc64_ieee1275_TRUE@bitmap_module_LDADD = +@COND_x86_64_efi_TRUE@bitmap_module_LDADD = +@COND_emu_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_i386_coreboot_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_i386_efi_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_i386_ieee1275_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_i386_multiboot_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_i386_pc_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_i386_qemu_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_powerpc_ieee1275_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_sparc64_ieee1275_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_x86_64_efi_TRUE@bitmap_scale_module_SOURCES = video/bitmap_scale.c ## platform sources +@COND_emu_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_bitmap_scale_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@bitmap_scale_module_LDADD = +@COND_i386_coreboot_TRUE@bitmap_scale_module_LDADD = +@COND_i386_efi_TRUE@bitmap_scale_module_LDADD = +@COND_i386_ieee1275_TRUE@bitmap_scale_module_LDADD = +@COND_i386_multiboot_TRUE@bitmap_scale_module_LDADD = +@COND_i386_pc_TRUE@bitmap_scale_module_LDADD = +@COND_i386_qemu_TRUE@bitmap_scale_module_LDADD = +@COND_powerpc_ieee1275_TRUE@bitmap_scale_module_LDADD = +@COND_sparc64_ieee1275_TRUE@bitmap_scale_module_LDADD = +@COND_x86_64_efi_TRUE@bitmap_scale_module_LDADD = +@COND_emu_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_scale_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_scale_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_scale_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@bitmap_scale_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_gop_module_SOURCES = video/efi_gop.c ## platform sources +@COND_x86_64_efi_TRUE@efi_gop_module_SOURCES = video/efi_gop.c ## platform sources +@COND_i386_efi_TRUE@nodist_efi_gop_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_efi_gop_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@efi_gop_module_LDADD = +@COND_x86_64_efi_TRUE@efi_gop_module_LDADD = +@COND_i386_efi_TRUE@efi_gop_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_gop_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_gop_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_gop_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_gop_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_gop_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_gop_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_gop_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_uga_module_SOURCES = video/efi_uga.c ## platform sources +@COND_x86_64_efi_TRUE@efi_uga_module_SOURCES = video/efi_uga.c ## platform sources +@COND_i386_efi_TRUE@nodist_efi_uga_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_efi_uga_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@efi_uga_module_LDADD = +@COND_x86_64_efi_TRUE@efi_uga_module_LDADD = +@COND_i386_efi_TRUE@efi_uga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_uga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_uga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_uga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_uga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_uga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@efi_uga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@efi_uga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_i386_coreboot_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_i386_efi_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_i386_ieee1275_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_i386_multiboot_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_i386_pc_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_i386_qemu_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_mips_yeeloong_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_powerpc_ieee1275_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_sparc64_ieee1275_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_x86_64_efi_TRUE@jpeg_module_SOURCES = video/readers/jpeg.c ## platform sources +@COND_emu_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_jpeg_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@jpeg_module_LDADD = +@COND_i386_coreboot_TRUE@jpeg_module_LDADD = +@COND_i386_efi_TRUE@jpeg_module_LDADD = +@COND_i386_ieee1275_TRUE@jpeg_module_LDADD = +@COND_i386_multiboot_TRUE@jpeg_module_LDADD = +@COND_i386_pc_TRUE@jpeg_module_LDADD = +@COND_i386_qemu_TRUE@jpeg_module_LDADD = +@COND_mips_yeeloong_TRUE@jpeg_module_LDADD = +@COND_powerpc_ieee1275_TRUE@jpeg_module_LDADD = +@COND_sparc64_ieee1275_TRUE@jpeg_module_LDADD = +@COND_x86_64_efi_TRUE@jpeg_module_LDADD = +@COND_emu_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jpeg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jpeg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jpeg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@jpeg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_i386_coreboot_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_i386_efi_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_i386_ieee1275_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_i386_multiboot_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_i386_pc_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_i386_qemu_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_mips_yeeloong_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_powerpc_ieee1275_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_sparc64_ieee1275_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_x86_64_efi_TRUE@png_module_SOURCES = video/readers/png.c ## platform sources +@COND_emu_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_png_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@png_module_LDADD = +@COND_i386_coreboot_TRUE@png_module_LDADD = +@COND_i386_efi_TRUE@png_module_LDADD = +@COND_i386_ieee1275_TRUE@png_module_LDADD = +@COND_i386_multiboot_TRUE@png_module_LDADD = +@COND_i386_pc_TRUE@png_module_LDADD = +@COND_i386_qemu_TRUE@png_module_LDADD = +@COND_mips_yeeloong_TRUE@png_module_LDADD = +@COND_powerpc_ieee1275_TRUE@png_module_LDADD = +@COND_sparc64_ieee1275_TRUE@png_module_LDADD = +@COND_x86_64_efi_TRUE@png_module_LDADD = +@COND_emu_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@png_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@png_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@png_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@png_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_i386_coreboot_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_i386_efi_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_i386_ieee1275_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_i386_multiboot_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_i386_pc_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_i386_qemu_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_mips_yeeloong_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_powerpc_ieee1275_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_sparc64_ieee1275_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_x86_64_efi_TRUE@tga_module_SOURCES = video/readers/tga.c ## platform sources +@COND_emu_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_tga_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@tga_module_LDADD = +@COND_i386_coreboot_TRUE@tga_module_LDADD = +@COND_i386_efi_TRUE@tga_module_LDADD = +@COND_i386_ieee1275_TRUE@tga_module_LDADD = +@COND_i386_multiboot_TRUE@tga_module_LDADD = +@COND_i386_pc_TRUE@tga_module_LDADD = +@COND_i386_qemu_TRUE@tga_module_LDADD = +@COND_mips_yeeloong_TRUE@tga_module_LDADD = +@COND_powerpc_ieee1275_TRUE@tga_module_LDADD = +@COND_sparc64_ieee1275_TRUE@tga_module_LDADD = +@COND_x86_64_efi_TRUE@tga_module_LDADD = +@COND_emu_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tga_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tga_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tga_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@tga_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@vbe_module_SOURCES = video/i386/pc/vbe.c ## platform sources +@COND_i386_pc_TRUE@nodist_vbe_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@vbe_module_LDADD = +@COND_i386_pc_TRUE@vbe_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@vbe_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@vbe_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@vbe_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_i386_coreboot_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_i386_efi_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_i386_ieee1275_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_i386_multiboot_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_i386_pc_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_i386_qemu_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_powerpc_ieee1275_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_sparc64_ieee1275_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_x86_64_efi_TRUE@video_fb_module_SOURCES = video/fb/video_fb.c video/fb/fbblit.c video/fb/fbfill.c video/fb/fbutil.c ## platform sources +@COND_emu_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_video_fb_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@video_fb_module_LDADD = +@COND_i386_coreboot_TRUE@video_fb_module_LDADD = +@COND_i386_efi_TRUE@video_fb_module_LDADD = +@COND_i386_ieee1275_TRUE@video_fb_module_LDADD = +@COND_i386_multiboot_TRUE@video_fb_module_LDADD = +@COND_i386_pc_TRUE@video_fb_module_LDADD = +@COND_i386_qemu_TRUE@video_fb_module_LDADD = +@COND_powerpc_ieee1275_TRUE@video_fb_module_LDADD = +@COND_sparc64_ieee1275_TRUE@video_fb_module_LDADD = +@COND_x86_64_efi_TRUE@video_fb_module_LDADD = +@COND_emu_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_i386_coreboot_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_i386_efi_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_i386_ieee1275_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_i386_multiboot_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_i386_pc_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_i386_qemu_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_powerpc_ieee1275_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_sparc64_ieee1275_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_x86_64_efi_TRUE@video_module_SOURCES = video/video.c ## platform sources +@COND_emu_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_video_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@video_module_LDADD = +@COND_i386_coreboot_TRUE@video_module_LDADD = +@COND_i386_efi_TRUE@video_module_LDADD = +@COND_i386_ieee1275_TRUE@video_module_LDADD = +@COND_i386_multiboot_TRUE@video_module_LDADD = +@COND_i386_pc_TRUE@video_module_LDADD = +@COND_i386_qemu_TRUE@video_module_LDADD = +@COND_powerpc_ieee1275_TRUE@video_module_LDADD = +@COND_sparc64_ieee1275_TRUE@video_module_LDADD = +@COND_x86_64_efi_TRUE@video_module_LDADD = +@COND_emu_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@video_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ieee1275_fb_module_SOURCES = video/ieee1275.c ## platform sources +@COND_powerpc_ieee1275_TRUE@nodist_ieee1275_fb_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@ieee1275_fb_module_LDADD = +@COND_powerpc_ieee1275_TRUE@ieee1275_fb_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ieee1275_fb_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ieee1275_fb_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@ieee1275_fb_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl_module_SOURCES = video/emu/sdl.c ## platform sources +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@nodist_sdl_module_SOURCES = ## platform nodist sources +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl_module_LDADD = +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_i386_coreboot_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_i386_efi_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_i386_ieee1275_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_i386_multiboot_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_i386_pc_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_i386_qemu_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_mips_yeeloong_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_powerpc_ieee1275_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_sparc64_ieee1275_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_x86_64_efi_TRUE@datehook_module_SOURCES = hook/datehook.c ## platform sources +@COND_emu_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_datehook_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@datehook_module_LDADD = +@COND_i386_coreboot_TRUE@datehook_module_LDADD = +@COND_i386_efi_TRUE@datehook_module_LDADD = +@COND_i386_ieee1275_TRUE@datehook_module_LDADD = +@COND_i386_multiboot_TRUE@datehook_module_LDADD = +@COND_i386_pc_TRUE@datehook_module_LDADD = +@COND_i386_qemu_TRUE@datehook_module_LDADD = +@COND_mips_yeeloong_TRUE@datehook_module_LDADD = +@COND_powerpc_ieee1275_TRUE@datehook_module_LDADD = +@COND_sparc64_ieee1275_TRUE@datehook_module_LDADD = +@COND_x86_64_efi_TRUE@datehook_module_LDADD = +@COND_emu_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datehook_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datehook_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datehook_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@datehook_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@legacycfg_module_SOURCES = lib/i386/pc/vesa_modes_table.c commands/legacycfg.c lib/legacy_parse.c ## platform sources +@COND_i386_pc_TRUE@legacycfg_module_SOURCES = commands/legacycfg.c lib/legacy_parse.c ## platform sources +@COND_emu_TRUE@nodist_legacycfg_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_legacycfg_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@legacycfg_module_LDADD = +@COND_i386_pc_TRUE@legacycfg_module_LDADD = +@COND_emu_TRUE@legacycfg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@legacycfg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@legacycfg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@legacycfg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@legacycfg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@legacycfg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@legacycfg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@legacycfg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_i386_coreboot_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_i386_efi_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_i386_ieee1275_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_i386_multiboot_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_i386_pc_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_i386_qemu_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_mips_yeeloong_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_powerpc_ieee1275_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_sparc64_ieee1275_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_x86_64_efi_TRUE@test_blockarg_module_SOURCES = tests/test_blockarg.c ## platform sources +@COND_emu_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_test_blockarg_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@test_blockarg_module_LDADD = +@COND_i386_coreboot_TRUE@test_blockarg_module_LDADD = +@COND_i386_efi_TRUE@test_blockarg_module_LDADD = +@COND_i386_ieee1275_TRUE@test_blockarg_module_LDADD = +@COND_i386_multiboot_TRUE@test_blockarg_module_LDADD = +@COND_i386_pc_TRUE@test_blockarg_module_LDADD = +@COND_i386_qemu_TRUE@test_blockarg_module_LDADD = +@COND_mips_yeeloong_TRUE@test_blockarg_module_LDADD = +@COND_powerpc_ieee1275_TRUE@test_blockarg_module_LDADD = +@COND_sparc64_ieee1275_TRUE@test_blockarg_module_LDADD = +@COND_x86_64_efi_TRUE@test_blockarg_module_LDADD = +@COND_emu_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_blockarg_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_blockarg_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_blockarg_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@test_blockarg_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_i386_coreboot_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_i386_efi_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_i386_ieee1275_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_i386_multiboot_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_i386_pc_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_i386_qemu_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_mips_yeeloong_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_powerpc_ieee1275_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_sparc64_ieee1275_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_x86_64_efi_TRUE@xzio_module_SOURCES = io/xzio.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c ## platform sources +@COND_emu_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_xzio_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@xzio_module_LDADD = +@COND_i386_coreboot_TRUE@xzio_module_LDADD = +@COND_i386_efi_TRUE@xzio_module_LDADD = +@COND_i386_ieee1275_TRUE@xzio_module_LDADD = +@COND_i386_multiboot_TRUE@xzio_module_LDADD = +@COND_i386_pc_TRUE@xzio_module_LDADD = +@COND_i386_qemu_TRUE@xzio_module_LDADD = +@COND_mips_yeeloong_TRUE@xzio_module_LDADD = +@COND_powerpc_ieee1275_TRUE@xzio_module_LDADD = +@COND_sparc64_ieee1275_TRUE@xzio_module_LDADD = +@COND_x86_64_efi_TRUE@xzio_module_LDADD = +@COND_emu_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xzio_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xzio_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_i386_coreboot_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_i386_efi_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_i386_ieee1275_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_i386_multiboot_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_i386_pc_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_i386_qemu_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_mips_yeeloong_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_powerpc_ieee1275_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_sparc64_ieee1275_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_x86_64_efi_TRUE@xzio_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed +@COND_emu_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@xzio_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_i386_coreboot_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_i386_efi_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_i386_ieee1275_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_i386_multiboot_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_i386_pc_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_i386_qemu_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_mips_yeeloong_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_powerpc_ieee1275_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_sparc64_ieee1275_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_x86_64_efi_TRUE@testload_module_SOURCES = commands/testload.c ## platform sources +@COND_emu_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_testload_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@testload_module_LDADD = +@COND_i386_coreboot_TRUE@testload_module_LDADD = +@COND_i386_efi_TRUE@testload_module_LDADD = +@COND_i386_ieee1275_TRUE@testload_module_LDADD = +@COND_i386_multiboot_TRUE@testload_module_LDADD = +@COND_i386_pc_TRUE@testload_module_LDADD = +@COND_i386_qemu_TRUE@testload_module_LDADD = +@COND_mips_yeeloong_TRUE@testload_module_LDADD = +@COND_powerpc_ieee1275_TRUE@testload_module_LDADD = +@COND_sparc64_ieee1275_TRUE@testload_module_LDADD = +@COND_x86_64_efi_TRUE@testload_module_LDADD = +@COND_emu_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@testload_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@testload_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@testload_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@testload_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@lsapm_module_SOURCES = commands/i386/pc/lsapm.c ## platform sources +@COND_i386_pc_TRUE@nodist_lsapm_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@lsapm_module_LDADD = +@COND_i386_pc_TRUE@lsapm_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@lsapm_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@lsapm_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@lsapm_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_i386_coreboot_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_i386_efi_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_i386_ieee1275_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_i386_multiboot_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_i386_pc_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_i386_qemu_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_powerpc_ieee1275_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_sparc64_ieee1275_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_x86_64_efi_TRUE@keylayouts_module_SOURCES = commands/keylayouts.c ## platform sources +@COND_emu_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_keylayouts_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@keylayouts_module_LDADD = +@COND_i386_coreboot_TRUE@keylayouts_module_LDADD = +@COND_i386_efi_TRUE@keylayouts_module_LDADD = +@COND_i386_ieee1275_TRUE@keylayouts_module_LDADD = +@COND_i386_multiboot_TRUE@keylayouts_module_LDADD = +@COND_i386_pc_TRUE@keylayouts_module_LDADD = +@COND_i386_qemu_TRUE@keylayouts_module_LDADD = +@COND_powerpc_ieee1275_TRUE@keylayouts_module_LDADD = +@COND_sparc64_ieee1275_TRUE@keylayouts_module_LDADD = +@COND_x86_64_efi_TRUE@keylayouts_module_LDADD = +@COND_emu_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_efi_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_pc_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_i386_qemu_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keylayouts_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) +@COND_emu_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keylayouts_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_efi_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_pc_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_i386_qemu_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keylayouts_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) +@COND_emu_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@keylayouts_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_i386_efi_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_i386_pc_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_i386_qemu_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_arcfour_module_SOURCES = lib/libgcrypt-grub/cipher/arcfour.c ## platform sources +@COND_emu_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_arcfour_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_arcfour_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_arcfour_module_LDADD = +@COND_i386_efi_TRUE@gcry_arcfour_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_arcfour_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_arcfour_module_LDADD = +@COND_i386_pc_TRUE@gcry_arcfour_module_LDADD = +@COND_i386_qemu_TRUE@gcry_arcfour_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_arcfour_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_arcfour_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_arcfour_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_arcfour_module_LDADD = +@COND_emu_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_arcfour_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_arcfour_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_arcfour_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_arcfour_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_i386_efi_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_i386_pc_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_i386_qemu_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_blowfish_module_SOURCES = lib/libgcrypt-grub/cipher/blowfish.c ## platform sources +@COND_emu_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_blowfish_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_blowfish_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_blowfish_module_LDADD = +@COND_i386_efi_TRUE@gcry_blowfish_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_blowfish_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_blowfish_module_LDADD = +@COND_i386_pc_TRUE@gcry_blowfish_module_LDADD = +@COND_i386_qemu_TRUE@gcry_blowfish_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_blowfish_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_blowfish_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_blowfish_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_blowfish_module_LDADD = +@COND_emu_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_blowfish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_blowfish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_blowfish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_blowfish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_i386_efi_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_i386_pc_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_i386_qemu_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_camellia_module_SOURCES = lib/libgcrypt-grub/cipher/camellia-glue.c lib/libgcrypt-grub/cipher/camellia.c ## platform sources +@COND_emu_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_camellia_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_camellia_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_camellia_module_LDADD = +@COND_i386_efi_TRUE@gcry_camellia_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_camellia_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_camellia_module_LDADD = +@COND_i386_pc_TRUE@gcry_camellia_module_LDADD = +@COND_i386_qemu_TRUE@gcry_camellia_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_camellia_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_camellia_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_camellia_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_camellia_module_LDADD = +@COND_emu_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_camellia_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_camellia_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_camellia_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_camellia_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_i386_efi_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_i386_pc_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_i386_qemu_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_cast5_module_SOURCES = lib/libgcrypt-grub/cipher/cast5.c ## platform sources +@COND_emu_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_cast5_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_cast5_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_cast5_module_LDADD = +@COND_i386_efi_TRUE@gcry_cast5_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_cast5_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_cast5_module_LDADD = +@COND_i386_pc_TRUE@gcry_cast5_module_LDADD = +@COND_i386_qemu_TRUE@gcry_cast5_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_cast5_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_cast5_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_cast5_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_cast5_module_LDADD = +@COND_emu_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_cast5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_cast5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_cast5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_cast5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_i386_efi_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_i386_pc_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_i386_qemu_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_crc_module_SOURCES = lib/libgcrypt-grub/cipher/crc.c ## platform sources +@COND_emu_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_crc_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_crc_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_crc_module_LDADD = +@COND_i386_efi_TRUE@gcry_crc_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_crc_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_crc_module_LDADD = +@COND_i386_pc_TRUE@gcry_crc_module_LDADD = +@COND_i386_qemu_TRUE@gcry_crc_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_crc_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_crc_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_crc_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_crc_module_LDADD = +@COND_emu_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_crc_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_crc_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_crc_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_crc_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_i386_efi_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_i386_pc_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_i386_qemu_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_des_module_SOURCES = lib/libgcrypt-grub/cipher/des.c ## platform sources +@COND_emu_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_des_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_des_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_des_module_LDADD = +@COND_i386_efi_TRUE@gcry_des_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_des_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_des_module_LDADD = +@COND_i386_pc_TRUE@gcry_des_module_LDADD = +@COND_i386_qemu_TRUE@gcry_des_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_des_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_des_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_des_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_des_module_LDADD = +@COND_emu_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_des_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_des_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_des_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_des_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_i386_efi_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_i386_pc_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_i386_qemu_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_md4_module_SOURCES = lib/libgcrypt-grub/cipher/md4.c ## platform sources +@COND_emu_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_md4_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_md4_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_md4_module_LDADD = +@COND_i386_efi_TRUE@gcry_md4_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_md4_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_md4_module_LDADD = +@COND_i386_pc_TRUE@gcry_md4_module_LDADD = +@COND_i386_qemu_TRUE@gcry_md4_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_md4_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_md4_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_md4_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_md4_module_LDADD = +@COND_emu_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_md4_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_md4_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_md4_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_md4_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_i386_efi_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_i386_pc_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_i386_qemu_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_md5_module_SOURCES = lib/libgcrypt-grub/cipher/md5.c ## platform sources +@COND_emu_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_md5_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_md5_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_md5_module_LDADD = +@COND_i386_efi_TRUE@gcry_md5_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_md5_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_md5_module_LDADD = +@COND_i386_pc_TRUE@gcry_md5_module_LDADD = +@COND_i386_qemu_TRUE@gcry_md5_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_md5_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_md5_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_md5_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_md5_module_LDADD = +@COND_emu_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_md5_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_md5_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_md5_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_md5_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_i386_efi_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_i386_pc_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_i386_qemu_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_rfc2268_module_SOURCES = lib/libgcrypt-grub/cipher/rfc2268.c ## platform sources +@COND_emu_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_rfc2268_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_rfc2268_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_rfc2268_module_LDADD = +@COND_i386_efi_TRUE@gcry_rfc2268_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_rfc2268_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_rfc2268_module_LDADD = +@COND_i386_pc_TRUE@gcry_rfc2268_module_LDADD = +@COND_i386_qemu_TRUE@gcry_rfc2268_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_rfc2268_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_rfc2268_module_LDADD = +@COND_emu_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_rfc2268_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_rfc2268_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_rfc2268_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_rfc2268_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_i386_efi_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_i386_pc_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_i386_qemu_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_rijndael_module_SOURCES = lib/libgcrypt-grub/cipher/rijndael.c ## platform sources +@COND_emu_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_rijndael_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_rijndael_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_rijndael_module_LDADD = +@COND_i386_efi_TRUE@gcry_rijndael_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_rijndael_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_rijndael_module_LDADD = +@COND_i386_pc_TRUE@gcry_rijndael_module_LDADD = +@COND_i386_qemu_TRUE@gcry_rijndael_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_rijndael_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_rijndael_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_rijndael_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_rijndael_module_LDADD = +@COND_emu_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_rijndael_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_rijndael_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_rijndael_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_rijndael_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_i386_efi_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_i386_pc_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_i386_qemu_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_rmd160_module_SOURCES = lib/libgcrypt-grub/cipher/rmd160.c ## platform sources +@COND_emu_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_rmd160_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_rmd160_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_rmd160_module_LDADD = +@COND_i386_efi_TRUE@gcry_rmd160_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_rmd160_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_rmd160_module_LDADD = +@COND_i386_pc_TRUE@gcry_rmd160_module_LDADD = +@COND_i386_qemu_TRUE@gcry_rmd160_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_rmd160_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_rmd160_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_rmd160_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_rmd160_module_LDADD = +@COND_emu_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_rmd160_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_rmd160_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_rmd160_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_rmd160_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_i386_efi_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_i386_pc_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_i386_qemu_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_seed_module_SOURCES = lib/libgcrypt-grub/cipher/seed.c ## platform sources +@COND_emu_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_seed_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_seed_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_seed_module_LDADD = +@COND_i386_efi_TRUE@gcry_seed_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_seed_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_seed_module_LDADD = +@COND_i386_pc_TRUE@gcry_seed_module_LDADD = +@COND_i386_qemu_TRUE@gcry_seed_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_seed_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_seed_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_seed_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_seed_module_LDADD = +@COND_emu_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_seed_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_seed_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_seed_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_seed_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_i386_efi_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_i386_pc_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_i386_qemu_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_serpent_module_SOURCES = lib/libgcrypt-grub/cipher/serpent.c ## platform sources +@COND_emu_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_serpent_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_serpent_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_serpent_module_LDADD = +@COND_i386_efi_TRUE@gcry_serpent_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_serpent_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_serpent_module_LDADD = +@COND_i386_pc_TRUE@gcry_serpent_module_LDADD = +@COND_i386_qemu_TRUE@gcry_serpent_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_serpent_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_serpent_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_serpent_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_serpent_module_LDADD = +@COND_emu_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_serpent_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_serpent_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_serpent_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_serpent_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_i386_efi_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_i386_pc_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_i386_qemu_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_sha1_module_SOURCES = lib/libgcrypt-grub/cipher/sha1.c ## platform sources +@COND_emu_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_sha1_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_sha1_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_sha1_module_LDADD = +@COND_i386_efi_TRUE@gcry_sha1_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_sha1_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_sha1_module_LDADD = +@COND_i386_pc_TRUE@gcry_sha1_module_LDADD = +@COND_i386_qemu_TRUE@gcry_sha1_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_sha1_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_sha1_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_sha1_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_sha1_module_LDADD = +@COND_emu_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_sha1_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_sha1_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_sha1_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_sha1_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_i386_efi_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_i386_pc_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_i386_qemu_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_sha256_module_SOURCES = lib/libgcrypt-grub/cipher/sha256.c ## platform sources +@COND_emu_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_sha256_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_sha256_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_sha256_module_LDADD = +@COND_i386_efi_TRUE@gcry_sha256_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_sha256_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_sha256_module_LDADD = +@COND_i386_pc_TRUE@gcry_sha256_module_LDADD = +@COND_i386_qemu_TRUE@gcry_sha256_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_sha256_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_sha256_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_sha256_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_sha256_module_LDADD = +@COND_emu_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_sha256_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_sha256_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_sha256_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_sha256_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_i386_efi_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_i386_pc_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_i386_qemu_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_sha512_module_SOURCES = lib/libgcrypt-grub/cipher/sha512.c ## platform sources +@COND_emu_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_sha512_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_sha512_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_sha512_module_LDADD = +@COND_i386_efi_TRUE@gcry_sha512_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_sha512_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_sha512_module_LDADD = +@COND_i386_pc_TRUE@gcry_sha512_module_LDADD = +@COND_i386_qemu_TRUE@gcry_sha512_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_sha512_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_sha512_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_sha512_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_sha512_module_LDADD = +@COND_emu_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_sha512_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_sha512_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_sha512_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_sha512_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_i386_efi_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_i386_pc_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_i386_qemu_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_tiger_module_SOURCES = lib/libgcrypt-grub/cipher/tiger.c ## platform sources +@COND_emu_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_tiger_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_tiger_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_tiger_module_LDADD = +@COND_i386_efi_TRUE@gcry_tiger_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_tiger_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_tiger_module_LDADD = +@COND_i386_pc_TRUE@gcry_tiger_module_LDADD = +@COND_i386_qemu_TRUE@gcry_tiger_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_tiger_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_tiger_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_tiger_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_tiger_module_LDADD = +@COND_emu_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_tiger_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_tiger_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_tiger_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_tiger_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_i386_efi_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_i386_pc_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_i386_qemu_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_twofish_module_SOURCES = lib/libgcrypt-grub/cipher/twofish.c ## platform sources +@COND_emu_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_twofish_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_twofish_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_twofish_module_LDADD = +@COND_i386_efi_TRUE@gcry_twofish_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_twofish_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_twofish_module_LDADD = +@COND_i386_pc_TRUE@gcry_twofish_module_LDADD = +@COND_i386_qemu_TRUE@gcry_twofish_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_twofish_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_twofish_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_twofish_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_twofish_module_LDADD = +@COND_emu_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_twofish_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_twofish_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_twofish_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_twofish_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_i386_coreboot_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_i386_efi_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_i386_ieee1275_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_i386_multiboot_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_i386_pc_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_i386_qemu_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_mips_yeeloong_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_x86_64_efi_TRUE@gcry_whirlpool_module_SOURCES = lib/libgcrypt-grub/cipher/whirlpool.c ## platform sources +@COND_emu_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_i386_efi_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_gcry_whirlpool_module_SOURCES = ## platform nodist sources +@COND_emu_TRUE@gcry_whirlpool_module_LDADD = +@COND_i386_coreboot_TRUE@gcry_whirlpool_module_LDADD = +@COND_i386_efi_TRUE@gcry_whirlpool_module_LDADD = +@COND_i386_ieee1275_TRUE@gcry_whirlpool_module_LDADD = +@COND_i386_multiboot_TRUE@gcry_whirlpool_module_LDADD = +@COND_i386_pc_TRUE@gcry_whirlpool_module_LDADD = +@COND_i386_qemu_TRUE@gcry_whirlpool_module_LDADD = +@COND_mips_yeeloong_TRUE@gcry_whirlpool_module_LDADD = +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool_module_LDADD = +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool_module_LDADD = +@COND_x86_64_efi_TRUE@gcry_whirlpool_module_LDADD = +@COND_emu_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_whirlpool_module_CFLAGS = $(AM_CFLAGS) $(CFLAGS_MODULE) $(CFLAGS_GCRY) +@COND_emu_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_whirlpool_module_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_MODULE) +@COND_emu_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_coreboot_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_efi_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_ieee1275_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_multiboot_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_pc_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_i386_qemu_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_mips_yeeloong_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_x86_64_efi_TRUE@gcry_whirlpool_module_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_MODULE) $(CPPFLAGS_GCRY) +@COND_emu_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_coreboot_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_efi_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_ieee1275_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_multiboot_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_pc_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_i386_qemu_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_mips_yeeloong_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_x86_64_efi_TRUE@gcry_whirlpool_module_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_MODULE) +@COND_emu_TRUE@kernel_exec_SOURCES = disk/host.c gnulib/progname.c \ +@COND_emu_TRUE@ gnulib/error.c kern/emu/cache.S \ +@COND_emu_TRUE@ kern/emu/console.c kern/emu/getroot.c \ +@COND_emu_TRUE@ kern/emu/hostdisk.c kern/emu/hostfs.c \ +@COND_emu_TRUE@ kern/emu/main.c kern/emu/misc.c kern/emu/mm.c \ +@COND_emu_TRUE@ kern/emu/time.c kern/command.c kern/corecmd.c \ +@COND_emu_TRUE@ kern/device.c kern/disk.c kern/dl.c kern/env.c \ +@COND_emu_TRUE@ kern/err.c kern/file.c kern/fs.c kern/list.c \ +@COND_emu_TRUE@ kern/main.c kern/misc.c kern/parser.c \ +@COND_emu_TRUE@ kern/partition.c kern/rescue_parser.c \ +@COND_emu_TRUE@ kern/rescue_reader.c kern/term.c +@COND_i386_coreboot_TRUE@kernel_exec_SOURCES = \ +@COND_i386_coreboot_TRUE@ kern/i386/coreboot/startup.S \ +@COND_i386_coreboot_TRUE@ kern/generic/rtc_get_time_ms.c \ +@COND_i386_coreboot_TRUE@ kern/i386/coreboot/mmap.c \ +@COND_i386_coreboot_TRUE@ kern/i386/tsc.c \ +@COND_i386_coreboot_TRUE@ kern/i386/coreboot/init.c \ +@COND_i386_coreboot_TRUE@ term/i386/pc/vga_text.c \ +@COND_i386_coreboot_TRUE@ term/i386/vga_common.c kern/i386/dl.c \ +@COND_i386_coreboot_TRUE@ kern/i386/pit.c kern/mm.c kern/time.c \ +@COND_i386_coreboot_TRUE@ kern/generic/millisleep.c \ +@COND_i386_coreboot_TRUE@ kern/command.c kern/corecmd.c \ +@COND_i386_coreboot_TRUE@ kern/device.c kern/disk.c kern/dl.c \ +@COND_i386_coreboot_TRUE@ kern/env.c kern/err.c kern/file.c \ +@COND_i386_coreboot_TRUE@ kern/fs.c kern/list.c kern/main.c \ +@COND_i386_coreboot_TRUE@ kern/misc.c kern/parser.c \ +@COND_i386_coreboot_TRUE@ kern/partition.c kern/rescue_parser.c \ +@COND_i386_coreboot_TRUE@ kern/rescue_reader.c kern/term.c +@COND_i386_efi_TRUE@kernel_exec_SOURCES = kern/i386/efi/startup.S \ +@COND_i386_efi_TRUE@ kern/i386/tsc.c \ +@COND_i386_efi_TRUE@ kern/generic/rtc_get_time_ms.c \ +@COND_i386_efi_TRUE@ disk/efi/efidisk.c kern/efi/efi.c \ +@COND_i386_efi_TRUE@ kern/efi/init.c kern/efi/mm.c \ +@COND_i386_efi_TRUE@ kern/i386/efi/init.c term/efi/console.c \ +@COND_i386_efi_TRUE@ kern/i386/dl.c kern/i386/pit.c kern/mm.c \ +@COND_i386_efi_TRUE@ kern/time.c kern/generic/millisleep.c \ +@COND_i386_efi_TRUE@ kern/command.c kern/corecmd.c \ +@COND_i386_efi_TRUE@ kern/device.c kern/disk.c kern/dl.c \ +@COND_i386_efi_TRUE@ kern/env.c kern/err.c kern/file.c \ +@COND_i386_efi_TRUE@ kern/fs.c kern/list.c kern/main.c \ +@COND_i386_efi_TRUE@ kern/misc.c kern/parser.c kern/partition.c \ +@COND_i386_efi_TRUE@ kern/rescue_parser.c kern/rescue_reader.c \ +@COND_i386_efi_TRUE@ kern/term.c +@COND_i386_ieee1275_TRUE@kernel_exec_SOURCES = \ +@COND_i386_ieee1275_TRUE@ kern/i386/ieee1275/startup.S \ +@COND_i386_ieee1275_TRUE@ kern/ieee1275/init.c \ +@COND_i386_ieee1275_TRUE@ disk/ieee1275/ofdisk.c \ +@COND_i386_ieee1275_TRUE@ kern/ieee1275/cmain.c \ +@COND_i386_ieee1275_TRUE@ kern/ieee1275/ieee1275.c \ +@COND_i386_ieee1275_TRUE@ kern/ieee1275/mmap.c \ +@COND_i386_ieee1275_TRUE@ kern/ieee1275/openfw.c \ +@COND_i386_ieee1275_TRUE@ term/ieee1275/ofconsole.c \ +@COND_i386_ieee1275_TRUE@ term/terminfo.c term/tparm.c \ +@COND_i386_ieee1275_TRUE@ commands/extcmd.c lib/arg.c \ +@COND_i386_ieee1275_TRUE@ kern/i386/dl.c kern/i386/pit.c \ +@COND_i386_ieee1275_TRUE@ kern/mm.c kern/time.c \ +@COND_i386_ieee1275_TRUE@ kern/generic/millisleep.c \ +@COND_i386_ieee1275_TRUE@ kern/command.c kern/corecmd.c \ +@COND_i386_ieee1275_TRUE@ kern/device.c kern/disk.c kern/dl.c \ +@COND_i386_ieee1275_TRUE@ kern/env.c kern/err.c kern/file.c \ +@COND_i386_ieee1275_TRUE@ kern/fs.c kern/list.c kern/main.c \ +@COND_i386_ieee1275_TRUE@ kern/misc.c kern/parser.c \ +@COND_i386_ieee1275_TRUE@ kern/partition.c kern/rescue_parser.c \ +@COND_i386_ieee1275_TRUE@ kern/rescue_reader.c kern/term.c +@COND_i386_multiboot_TRUE@kernel_exec_SOURCES = \ +@COND_i386_multiboot_TRUE@ kern/i386/coreboot/startup.S \ +@COND_i386_multiboot_TRUE@ kern/generic/rtc_get_time_ms.c \ +@COND_i386_multiboot_TRUE@ kern/i386/multiboot_mmap.c \ +@COND_i386_multiboot_TRUE@ kern/i386/tsc.c \ +@COND_i386_multiboot_TRUE@ kern/i386/coreboot/init.c \ +@COND_i386_multiboot_TRUE@ term/i386/pc/vga_text.c \ +@COND_i386_multiboot_TRUE@ term/i386/vga_common.c \ +@COND_i386_multiboot_TRUE@ kern/i386/dl.c kern/i386/pit.c \ +@COND_i386_multiboot_TRUE@ kern/mm.c kern/time.c \ +@COND_i386_multiboot_TRUE@ kern/generic/millisleep.c \ +@COND_i386_multiboot_TRUE@ kern/command.c kern/corecmd.c \ +@COND_i386_multiboot_TRUE@ kern/device.c kern/disk.c kern/dl.c \ +@COND_i386_multiboot_TRUE@ kern/env.c kern/err.c kern/file.c \ +@COND_i386_multiboot_TRUE@ kern/fs.c kern/list.c kern/main.c \ +@COND_i386_multiboot_TRUE@ kern/misc.c kern/parser.c \ +@COND_i386_multiboot_TRUE@ kern/partition.c \ +@COND_i386_multiboot_TRUE@ kern/rescue_parser.c \ +@COND_i386_multiboot_TRUE@ kern/rescue_reader.c kern/term.c +@COND_i386_pc_TRUE@kernel_exec_SOURCES = kern/i386/pc/startup.S \ +@COND_i386_pc_TRUE@ kern/generic/rtc_get_time_ms.c \ +@COND_i386_pc_TRUE@ term/i386/vga_common.c kern/i386/pc/init.c \ +@COND_i386_pc_TRUE@ kern/i386/pc/mmap.c kern/i386/tsc.c \ +@COND_i386_pc_TRUE@ term/i386/pc/console.c kern/i386/dl.c \ +@COND_i386_pc_TRUE@ kern/i386/pit.c kern/mm.c kern/time.c \ +@COND_i386_pc_TRUE@ kern/generic/millisleep.c kern/command.c \ +@COND_i386_pc_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \ +@COND_i386_pc_TRUE@ kern/dl.c kern/env.c kern/err.c kern/file.c \ +@COND_i386_pc_TRUE@ kern/fs.c kern/list.c kern/main.c \ +@COND_i386_pc_TRUE@ kern/misc.c kern/parser.c kern/partition.c \ +@COND_i386_pc_TRUE@ kern/rescue_parser.c kern/rescue_reader.c \ +@COND_i386_pc_TRUE@ kern/term.c +@COND_i386_qemu_TRUE@kernel_exec_SOURCES = kern/i386/qemu/startup.S \ +@COND_i386_qemu_TRUE@ kern/generic/rtc_get_time_ms.c bus/pci.c \ +@COND_i386_qemu_TRUE@ kern/i386/qemu/init.c \ +@COND_i386_qemu_TRUE@ kern/i386/qemu/mmap.c kern/i386/tsc.c \ +@COND_i386_qemu_TRUE@ kern/i386/coreboot/init.c \ +@COND_i386_qemu_TRUE@ term/i386/pc/vga_text.c \ +@COND_i386_qemu_TRUE@ term/i386/vga_common.c kern/i386/dl.c \ +@COND_i386_qemu_TRUE@ kern/i386/pit.c kern/mm.c kern/time.c \ +@COND_i386_qemu_TRUE@ kern/generic/millisleep.c kern/command.c \ +@COND_i386_qemu_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \ +@COND_i386_qemu_TRUE@ kern/dl.c kern/env.c kern/err.c \ +@COND_i386_qemu_TRUE@ kern/file.c kern/fs.c kern/list.c \ +@COND_i386_qemu_TRUE@ kern/main.c kern/misc.c kern/parser.c \ +@COND_i386_qemu_TRUE@ kern/partition.c kern/rescue_parser.c \ +@COND_i386_qemu_TRUE@ kern/rescue_reader.c kern/term.c +@COND_mips_yeeloong_TRUE@kernel_exec_SOURCES = kern/mips/startup.S \ +@COND_mips_yeeloong_TRUE@ kern/generic/rtc_get_time_ms.c \ +@COND_mips_yeeloong_TRUE@ term/ns8250.c bus/bonito.c \ +@COND_mips_yeeloong_TRUE@ bus/cs5536.c bus/pci.c \ +@COND_mips_yeeloong_TRUE@ kern/mips/cache.S kern/mips/dl.c \ +@COND_mips_yeeloong_TRUE@ kern/mips/init.c \ +@COND_mips_yeeloong_TRUE@ kern/mips/yeeloong/init.c \ +@COND_mips_yeeloong_TRUE@ term/at_keyboard.c term/serial.c \ +@COND_mips_yeeloong_TRUE@ video/sm712.c commands/keylayouts.c \ +@COND_mips_yeeloong_TRUE@ term/gfxterm.c font/font.c \ +@COND_mips_yeeloong_TRUE@ font/font_cmd.c io/bufio.c \ +@COND_mips_yeeloong_TRUE@ video/bitmap.c video/bitmap_scale.c \ +@COND_mips_yeeloong_TRUE@ video/fb/fbblit.c video/fb/fbfill.c \ +@COND_mips_yeeloong_TRUE@ video/fb/fbutil.c video/fb/video_fb.c \ +@COND_mips_yeeloong_TRUE@ video/video.c commands/boot.c \ +@COND_mips_yeeloong_TRUE@ term/terminfo.c term/tparm.c \ +@COND_mips_yeeloong_TRUE@ commands/extcmd.c lib/arg.c kern/mm.c \ +@COND_mips_yeeloong_TRUE@ kern/time.c kern/generic/millisleep.c \ +@COND_mips_yeeloong_TRUE@ kern/command.c kern/corecmd.c \ +@COND_mips_yeeloong_TRUE@ kern/device.c kern/disk.c kern/dl.c \ +@COND_mips_yeeloong_TRUE@ kern/env.c kern/err.c kern/file.c \ +@COND_mips_yeeloong_TRUE@ kern/fs.c kern/list.c kern/main.c \ +@COND_mips_yeeloong_TRUE@ kern/misc.c kern/parser.c \ +@COND_mips_yeeloong_TRUE@ kern/partition.c kern/rescue_parser.c \ +@COND_mips_yeeloong_TRUE@ kern/rescue_reader.c kern/term.c +@COND_powerpc_ieee1275_TRUE@kernel_exec_SOURCES = \ +@COND_powerpc_ieee1275_TRUE@ kern/powerpc/ieee1275/startup.S \ +@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/init.c \ +@COND_powerpc_ieee1275_TRUE@ kern/powerpc/cache.S \ +@COND_powerpc_ieee1275_TRUE@ kern/powerpc/dl.c \ +@COND_powerpc_ieee1275_TRUE@ disk/ieee1275/ofdisk.c \ +@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/cmain.c \ +@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/ieee1275.c \ +@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/mmap.c \ +@COND_powerpc_ieee1275_TRUE@ kern/ieee1275/openfw.c \ +@COND_powerpc_ieee1275_TRUE@ term/ieee1275/ofconsole.c \ +@COND_powerpc_ieee1275_TRUE@ term/terminfo.c term/tparm.c \ +@COND_powerpc_ieee1275_TRUE@ commands/extcmd.c lib/arg.c \ +@COND_powerpc_ieee1275_TRUE@ kern/mm.c kern/time.c \ +@COND_powerpc_ieee1275_TRUE@ kern/generic/millisleep.c \ +@COND_powerpc_ieee1275_TRUE@ kern/command.c kern/corecmd.c \ +@COND_powerpc_ieee1275_TRUE@ kern/device.c kern/disk.c \ +@COND_powerpc_ieee1275_TRUE@ kern/dl.c kern/env.c kern/err.c \ +@COND_powerpc_ieee1275_TRUE@ kern/file.c kern/fs.c kern/list.c \ +@COND_powerpc_ieee1275_TRUE@ kern/main.c kern/misc.c \ +@COND_powerpc_ieee1275_TRUE@ kern/parser.c kern/partition.c \ +@COND_powerpc_ieee1275_TRUE@ kern/rescue_parser.c \ +@COND_powerpc_ieee1275_TRUE@ kern/rescue_reader.c kern/term.c +@COND_sparc64_ieee1275_TRUE@kernel_exec_SOURCES = \ +@COND_sparc64_ieee1275_TRUE@ kern/sparc64/ieee1275/crt0.S \ +@COND_sparc64_ieee1275_TRUE@ kern/sparc64/cache.S \ +@COND_sparc64_ieee1275_TRUE@ kern/sparc64/dl.c \ +@COND_sparc64_ieee1275_TRUE@ kern/sparc64/ieee1275/ieee1275.c \ +@COND_sparc64_ieee1275_TRUE@ kern/sparc64/ieee1275/init.c \ +@COND_sparc64_ieee1275_TRUE@ disk/ieee1275/ofdisk.c \ +@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/cmain.c \ +@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/ieee1275.c \ +@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/mmap.c \ +@COND_sparc64_ieee1275_TRUE@ kern/ieee1275/openfw.c \ +@COND_sparc64_ieee1275_TRUE@ term/ieee1275/ofconsole.c \ +@COND_sparc64_ieee1275_TRUE@ term/terminfo.c term/tparm.c \ +@COND_sparc64_ieee1275_TRUE@ commands/extcmd.c lib/arg.c \ +@COND_sparc64_ieee1275_TRUE@ kern/mm.c kern/time.c \ +@COND_sparc64_ieee1275_TRUE@ kern/generic/millisleep.c \ +@COND_sparc64_ieee1275_TRUE@ kern/command.c kern/corecmd.c \ +@COND_sparc64_ieee1275_TRUE@ kern/device.c kern/disk.c \ +@COND_sparc64_ieee1275_TRUE@ kern/dl.c kern/env.c kern/err.c \ +@COND_sparc64_ieee1275_TRUE@ kern/file.c kern/fs.c kern/list.c \ +@COND_sparc64_ieee1275_TRUE@ kern/main.c kern/misc.c \ +@COND_sparc64_ieee1275_TRUE@ kern/parser.c kern/partition.c \ +@COND_sparc64_ieee1275_TRUE@ kern/rescue_parser.c \ +@COND_sparc64_ieee1275_TRUE@ kern/rescue_reader.c kern/term.c +@COND_x86_64_efi_TRUE@kernel_exec_SOURCES = kern/x86_64/efi/startup.S \ +@COND_x86_64_efi_TRUE@ kern/i386/tsc.c kern/x86_64/dl.c \ +@COND_x86_64_efi_TRUE@ kern/x86_64/efi/callwrap.S \ +@COND_x86_64_efi_TRUE@ kern/generic/rtc_get_time_ms.c \ +@COND_x86_64_efi_TRUE@ disk/efi/efidisk.c kern/efi/efi.c \ +@COND_x86_64_efi_TRUE@ kern/efi/init.c kern/efi/mm.c \ +@COND_x86_64_efi_TRUE@ kern/i386/efi/init.c term/efi/console.c \ +@COND_x86_64_efi_TRUE@ kern/i386/pit.c kern/mm.c kern/time.c \ +@COND_x86_64_efi_TRUE@ kern/generic/millisleep.c kern/command.c \ +@COND_x86_64_efi_TRUE@ kern/corecmd.c kern/device.c kern/disk.c \ +@COND_x86_64_efi_TRUE@ kern/dl.c kern/env.c kern/err.c \ +@COND_x86_64_efi_TRUE@ kern/file.c kern/fs.c kern/list.c \ +@COND_x86_64_efi_TRUE@ kern/main.c kern/misc.c kern/parser.c \ +@COND_x86_64_efi_TRUE@ kern/partition.c kern/rescue_parser.c \ +@COND_x86_64_efi_TRUE@ kern/rescue_reader.c kern/term.c +@COND_emu_TRUE@nodist_kernel_exec_SOURCES = ## platform nodist sources +@COND_i386_coreboot_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_i386_efi_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_i386_ieee1275_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_i386_multiboot_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_i386_pc_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_mips_yeeloong_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_powerpc_ieee1275_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_x86_64_efi_TRUE@nodist_kernel_exec_SOURCES = symlist.c ## platform nodist sources +@COND_emu_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_i386_coreboot_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_i386_efi_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_i386_ieee1275_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_i386_multiboot_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_i386_pc_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_i386_qemu_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_mips_yeeloong_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_powerpc_ieee1275_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_sparc64_ieee1275_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_x86_64_efi_TRUE@kernel_exec_LDADD = $(LDADD_KERNEL) +@COND_emu_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) $(CFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_i386_efi_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_i386_ieee1275_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_i386_multiboot_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_i386_pc_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_i386_qemu_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_mips_yeeloong_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_powerpc_ieee1275_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_sparc64_ieee1275_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_x86_64_efi_TRUE@kernel_exec_CFLAGS = $(AM_CFLAGS) $(CFLAGS_KERNEL) +@COND_emu_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-r,-d +@COND_i386_coreboot_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext=0x8200 +@COND_i386_efi_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-r,-d +@COND_i386_ieee1275_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext=0x10000 +@COND_i386_multiboot_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext=0x8200 +@COND_i386_pc_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200 +@COND_i386_qemu_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200 +@COND_mips_yeeloong_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext,0x80200000 +@COND_powerpc_ieee1275_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext,0x200000 +@COND_sparc64_ieee1275_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-Ttext,0x4400 +@COND_x86_64_efi_TRUE@kernel_exec_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_KERNEL) -Wl,-r,-d +@COND_emu_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS_GNULIB) +@COND_i386_coreboot_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_i386_efi_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_i386_ieee1275_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_i386_multiboot_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_i386_pc_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_i386_qemu_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) -DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR) +@COND_mips_yeeloong_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) -DUSE_ASCII_FAILBACK +@COND_powerpc_ieee1275_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_sparc64_ieee1275_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_x86_64_efi_TRUE@kernel_exec_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) +@COND_emu_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_i386_coreboot_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_i386_efi_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_i386_ieee1275_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_i386_multiboot_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_i386_pc_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_i386_qemu_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_mips_yeeloong_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_powerpc_ieee1275_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_sparc64_ieee1275_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_x86_64_efi_TRUE@kernel_exec_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_KERNEL) +@COND_emu_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_i386_coreboot_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_i386_efi_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) --strip-unneeded -K start -R .note -R .comment +@COND_i386_ieee1275_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_i386_multiboot_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_i386_pc_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_i386_qemu_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_mips_yeeloong_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_powerpc_ieee1275_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_sparc64_ieee1275_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) +@COND_x86_64_efi_TRUE@kernel_exec_STRIPFLAGS = $(AM_STRIPFLAGS) $(STRIPFLAGS_KERNEL) --strip-unneeded -K start -R .note -R .comment +@COND_i386_pc_TRUE@boot_image_SOURCES = boot/i386/pc/boot.S +@COND_i386_qemu_TRUE@boot_image_SOURCES = boot/i386/qemu/boot.S +@COND_sparc64_ieee1275_TRUE@boot_image_SOURCES = boot/sparc64/ieee1275/boot.S +@COND_i386_pc_TRUE@nodist_boot_image_SOURCES = ## platform nodist sources +@COND_i386_qemu_TRUE@nodist_boot_image_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_boot_image_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@boot_image_LDADD = +@COND_i386_qemu_TRUE@boot_image_LDADD = +@COND_sparc64_ieee1275_TRUE@boot_image_LDADD = +@COND_i386_pc_TRUE@boot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_i386_qemu_TRUE@boot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_sparc64_ieee1275_TRUE@boot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_i386_pc_TRUE@boot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x7C00 +@COND_i386_qemu_TRUE@boot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR) +@COND_sparc64_ieee1275_TRUE@boot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -Wl,-Ttext=0x4000 +@COND_i386_pc_TRUE@boot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_i386_qemu_TRUE@boot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_sparc64_ieee1275_TRUE@boot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_i386_pc_TRUE@boot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_i386_qemu_TRUE@boot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) -DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR) +@COND_sparc64_ieee1275_TRUE@boot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_i386_pc_TRUE@boot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_i386_qemu_TRUE@boot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_sparc64_ieee1275_TRUE@boot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O a.out-sunos-big +@COND_i386_pc_TRUE@cdboot_image_SOURCES = boot/i386/pc/cdboot.S +@COND_i386_pc_TRUE@nodist_cdboot_image_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@cdboot_image_LDADD = +@COND_i386_pc_TRUE@cdboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_i386_pc_TRUE@cdboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x7C00 +@COND_i386_pc_TRUE@cdboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_i386_pc_TRUE@cdboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_i386_pc_TRUE@cdboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_i386_pc_TRUE@pxeboot_image_SOURCES = boot/i386/pc/pxeboot.S +@COND_i386_pc_TRUE@nodist_pxeboot_image_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@pxeboot_image_LDADD = +@COND_i386_pc_TRUE@pxeboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_i386_pc_TRUE@pxeboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x7C00 +@COND_i386_pc_TRUE@pxeboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_i386_pc_TRUE@pxeboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_i386_pc_TRUE@pxeboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_i386_pc_TRUE@diskboot_image_SOURCES = boot/i386/pc/diskboot.S +@COND_sparc64_ieee1275_TRUE@diskboot_image_SOURCES = boot/sparc64/ieee1275/diskboot.S +@COND_i386_pc_TRUE@nodist_diskboot_image_SOURCES = ## platform nodist sources +@COND_sparc64_ieee1275_TRUE@nodist_diskboot_image_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@diskboot_image_LDADD = +@COND_sparc64_ieee1275_TRUE@diskboot_image_LDADD = +@COND_i386_pc_TRUE@diskboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_sparc64_ieee1275_TRUE@diskboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_i386_pc_TRUE@diskboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8000 +@COND_sparc64_ieee1275_TRUE@diskboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -Wl,-Ttext=0x4200 +@COND_i386_pc_TRUE@diskboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_sparc64_ieee1275_TRUE@diskboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_i386_pc_TRUE@diskboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_sparc64_ieee1275_TRUE@diskboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_i386_pc_TRUE@diskboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_sparc64_ieee1275_TRUE@diskboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_i386_pc_TRUE@lnxboot_image_SOURCES = boot/i386/pc/lnxboot.S +@COND_i386_pc_TRUE@nodist_lnxboot_image_SOURCES = ## platform nodist sources +@COND_i386_pc_TRUE@lnxboot_image_LDADD = +@COND_i386_pc_TRUE@lnxboot_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_i386_pc_TRUE@lnxboot_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) $(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x6000 +@COND_i386_pc_TRUE@lnxboot_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_i386_pc_TRUE@lnxboot_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_i386_pc_TRUE@lnxboot_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_mips_yeeloong_TRUE@xz_decompress_image_SOURCES = boot/mips/startup_raw.S boot/decompressor/minilib.c boot/decompressor/xz.c lib/xzembed/xz_dec_bcj.c lib/xzembed/xz_dec_lzma2.c lib/xzembed/xz_dec_stream.c +@COND_mips_yeeloong_TRUE@nodist_xz_decompress_image_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@xz_decompress_image_LDADD = -lgcc +@COND_mips_yeeloong_TRUE@xz_decompress_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) -static-libgcc +@COND_mips_yeeloong_TRUE@xz_decompress_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -static-libgcc -Wl,-Ttext,0x80100000 +@COND_mips_yeeloong_TRUE@xz_decompress_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) -I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000 +@COND_mips_yeeloong_TRUE@xz_decompress_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_mips_yeeloong_TRUE@xz_decompress_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_mips_yeeloong_TRUE@none_decompress_image_SOURCES = boot/mips/startup_raw.S boot/decompressor/none.c +@COND_mips_yeeloong_TRUE@nodist_none_decompress_image_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@none_decompress_image_LDADD = -lgcc +@COND_mips_yeeloong_TRUE@none_decompress_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) -static-libgcc +@COND_mips_yeeloong_TRUE@none_decompress_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -static-libgcc -Wl,-Ttext,0x80100000 +@COND_mips_yeeloong_TRUE@none_decompress_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000 +@COND_mips_yeeloong_TRUE@none_decompress_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_mips_yeeloong_TRUE@none_decompress_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +@COND_mips_yeeloong_TRUE@fwstart_image_SOURCES = boot/mips/yeeloong/fwstart.S +@COND_mips_yeeloong_TRUE@nodist_fwstart_image_SOURCES = ## platform nodist sources +@COND_mips_yeeloong_TRUE@fwstart_image_LDADD = +@COND_mips_yeeloong_TRUE@fwstart_image_CFLAGS = $(AM_CFLAGS) $(CFLAGS_IMAGE) +@COND_mips_yeeloong_TRUE@fwstart_image_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_IMAGE) -static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic +@COND_mips_yeeloong_TRUE@fwstart_image_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_IMAGE) +@COND_mips_yeeloong_TRUE@fwstart_image_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_IMAGE) +@COND_mips_yeeloong_TRUE@fwstart_image_OBJCOPYFLAGS = $(OBJCOPYFLAGS_IMAGE) -O binary +libgnulib_a_SOURCES = $(am__append_12225) $(am__append_12234) \ + $(am__append_12243) $(am__append_12252) $(am__append_12261) \ + $(am__append_12270) $(am__append_12279) $(am__append_12288) \ + $(am__append_12297) $(am__append_12306) $(am__append_12315) +nodist_libgnulib_a_SOURCES = $(am__append_12226) $(am__append_12235) \ + $(am__append_12244) $(am__append_12253) $(am__append_12262) \ + $(am__append_12271) $(am__append_12280) $(am__append_12289) \ + $(am__append_12298) $(am__append_12307) $(am__append_12316) +libgnulib_a_CFLAGS = $(am__append_12227) $(am__append_12236) \ + $(am__append_12245) $(am__append_12254) $(am__append_12263) \ + $(am__append_12272) $(am__append_12281) $(am__append_12290) \ + $(am__append_12299) $(am__append_12308) $(am__append_12317) +libgnulib_a_CPPFLAGS = $(am__append_12228) $(am__append_12237) \ + $(am__append_12246) $(am__append_12255) $(am__append_12264) \ + $(am__append_12273) $(am__append_12282) $(am__append_12291) \ + $(am__append_12300) $(am__append_12309) $(am__append_12318) +libgnulib_a_CCASFLAGS = $(am__append_12229) $(am__append_12238) \ + $(am__append_12247) $(am__append_12256) $(am__append_12265) \ + $(am__append_12274) $(am__append_12283) $(am__append_12292) \ + $(am__append_12301) $(am__append_12310) $(am__append_12319) +@COND_emu_TRUE@grub_emu_SOURCES = kern/emu/full.c +@COND_emu_TRUE@nodist_grub_emu_SOURCES = grub_emu_init.c +@COND_emu_TRUE@grub_emu_LDADD = kernel.img$(EXEEXT) $(MODULE_FILES) $(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_emu_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_lite_SOURCES = kern/emu/lite.c +@COND_emu_TRUE@nodist_grub_emu_lite_SOURCES = symlist.c +@COND_emu_TRUE@grub_emu_lite_LDADD = kernel.img$(EXEEXT) $(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM) +@COND_emu_TRUE@grub_emu_lite_CFLAGS = $(AM_CFLAGS) $(CFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_lite_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_lite_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_PROGRAM) +@COND_emu_TRUE@grub_emu_lite_CCASFLAGS = $(AM_CCASFLAGS) $(CCASFLAGS_PROGRAM) +@COND_HAVE_ASM_USCORE_FALSE@ASM_PREFIX = +@COND_HAVE_ASM_USCORE_TRUE@ASM_PREFIX = _ +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .S .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/conf/Makefile.common $(srcdir)/Makefile.core.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu grub-core/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu grub-core/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +gnulib/$(am__dirstamp): + @$(MKDIR_P) gnulib + @: > gnulib/$(am__dirstamp) +gnulib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gnulib/$(DEPDIR) + @: > gnulib/$(DEPDIR)/$(am__dirstamp) +gnulib/libgnulib_a-regex.$(OBJEXT): gnulib/$(am__dirstamp) \ + gnulib/$(DEPDIR)/$(am__dirstamp) +libgnulib.a: $(libgnulib_a_OBJECTS) $(libgnulib_a_DEPENDENCIES) + -rm -f libgnulib.a + $(libgnulib_a_AR) libgnulib.a $(libgnulib_a_OBJECTS) $(libgnulib_a_LIBADD) + $(RANLIB) libgnulib.a +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +clean-checkPROGRAMS: + -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) + +clean-noinstPROGRAMS: + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +clean-sbinPROGRAMS: + -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) +commands/i386/pc/$(am__dirstamp): + @$(MKDIR_P) commands/i386/pc + @: > commands/i386/pc/$(am__dirstamp) +commands/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) commands/i386/pc/$(DEPDIR) + @: > commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +commands/i386/pc/acpi_module-acpi.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +commands/$(am__dirstamp): + @$(MKDIR_P) commands + @: > commands/$(am__dirstamp) +commands/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) commands/$(DEPDIR) + @: > commands/$(DEPDIR)/$(am__dirstamp) +commands/acpi_module-acpi.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +commands/efi/$(am__dirstamp): + @$(MKDIR_P) commands/efi + @: > commands/efi/$(am__dirstamp) +commands/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) commands/efi/$(DEPDIR) + @: > commands/efi/$(DEPDIR)/$(am__dirstamp) +commands/efi/acpi_module-acpi.$(OBJEXT): commands/efi/$(am__dirstamp) \ + commands/efi/$(DEPDIR)/$(am__dirstamp) +acpi.module$(EXEEXT): $(acpi_module_OBJECTS) $(acpi_module_DEPENDENCIES) + @rm -f acpi.module$(EXEEXT) + $(acpi_module_LINK) $(acpi_module_OBJECTS) $(acpi_module_LDADD) $(LIBS) +fs/$(am__dirstamp): + @$(MKDIR_P) fs + @: > fs/$(am__dirstamp) +fs/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) fs/$(DEPDIR) + @: > fs/$(DEPDIR)/$(am__dirstamp) +fs/affs_module-affs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +affs.module$(EXEEXT): $(affs_module_OBJECTS) $(affs_module_DEPENDENCIES) + @rm -f affs.module$(EXEEXT) + $(affs_module_LINK) $(affs_module_OBJECTS) $(affs_module_LDADD) $(LIBS) +fs/afs_module-afs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +afs.module$(EXEEXT): $(afs_module_OBJECTS) $(afs_module_DEPENDENCIES) + @rm -f afs.module$(EXEEXT) + $(afs_module_LINK) $(afs_module_OBJECTS) $(afs_module_LDADD) $(LIBS) +fs/afs_be_module-afs_be.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +afs_be.module$(EXEEXT): $(afs_be_module_OBJECTS) $(afs_be_module_DEPENDENCIES) + @rm -f afs_be.module$(EXEEXT) + $(afs_be_module_LINK) $(afs_be_module_OBJECTS) $(afs_be_module_LDADD) $(LIBS) +loader/$(am__dirstamp): + @$(MKDIR_P) loader + @: > loader/$(am__dirstamp) +loader/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/$(DEPDIR) + @: > loader/$(DEPDIR)/$(am__dirstamp) +loader/aout_module-aout.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +aout.module$(EXEEXT): $(aout_module_OBJECTS) $(aout_module_DEPENDENCIES) + @rm -f aout.module$(EXEEXT) + $(aout_module_LINK) $(aout_module_OBJECTS) $(aout_module_LDADD) $(LIBS) +loader/efi/$(am__dirstamp): + @$(MKDIR_P) loader/efi + @: > loader/efi/$(am__dirstamp) +loader/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/efi/$(DEPDIR) + @: > loader/efi/$(DEPDIR)/$(am__dirstamp) +loader/efi/appleldr_module-appleloader.$(OBJEXT): \ + loader/efi/$(am__dirstamp) \ + loader/efi/$(DEPDIR)/$(am__dirstamp) +appleldr.module$(EXEEXT): $(appleldr_module_OBJECTS) $(appleldr_module_DEPENDENCIES) + @rm -f appleldr.module$(EXEEXT) + $(appleldr_module_LINK) $(appleldr_module_OBJECTS) $(appleldr_module_LDADD) $(LIBS) +term/$(am__dirstamp): + @$(MKDIR_P) term + @: > term/$(am__dirstamp) +term/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) term/$(DEPDIR) + @: > term/$(DEPDIR)/$(am__dirstamp) +term/at_keyboard_module-at_keyboard.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +at_keyboard.module$(EXEEXT): $(at_keyboard_module_OBJECTS) $(at_keyboard_module_DEPENDENCIES) + @rm -f at_keyboard.module$(EXEEXT) + $(at_keyboard_module_LINK) $(at_keyboard_module_OBJECTS) $(at_keyboard_module_LDADD) $(LIBS) +disk/$(am__dirstamp): + @$(MKDIR_P) disk + @: > disk/$(am__dirstamp) +disk/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) disk/$(DEPDIR) + @: > disk/$(DEPDIR)/$(am__dirstamp) +disk/ata_module-ata.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +ata.module$(EXEEXT): $(ata_module_OBJECTS) $(ata_module_DEPENDENCIES) + @rm -f ata.module$(EXEEXT) + $(ata_module_LINK) $(ata_module_OBJECTS) $(ata_module_LDADD) $(LIBS) +disk/ata_pthru_module-ata_pthru.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +ata_pthru.module$(EXEEXT): $(ata_pthru_module_OBJECTS) $(ata_pthru_module_DEPENDENCIES) + @rm -f ata_pthru.module$(EXEEXT) + $(ata_pthru_module_LINK) $(ata_pthru_module_OBJECTS) $(ata_pthru_module_LDADD) $(LIBS) +fs/befs_module-befs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +befs.module$(EXEEXT): $(befs_module_OBJECTS) $(befs_module_DEPENDENCIES) + @rm -f befs.module$(EXEEXT) + $(befs_module_LINK) $(befs_module_OBJECTS) $(befs_module_LDADD) $(LIBS) +fs/befs_be_module-befs_be.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +befs_be.module$(EXEEXT): $(befs_be_module_OBJECTS) $(befs_be_module_DEPENDENCIES) + @rm -f befs_be.module$(EXEEXT) + $(befs_be_module_LINK) $(befs_be_module_OBJECTS) $(befs_be_module_LDADD) $(LIBS) +disk/i386/pc/$(am__dirstamp): + @$(MKDIR_P) disk/i386/pc + @: > disk/i386/pc/$(am__dirstamp) +disk/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) disk/i386/pc/$(DEPDIR) + @: > disk/i386/pc/$(DEPDIR)/$(am__dirstamp) +disk/i386/pc/biosdisk_module-biosdisk.$(OBJEXT): \ + disk/i386/pc/$(am__dirstamp) \ + disk/i386/pc/$(DEPDIR)/$(am__dirstamp) +biosdisk.module$(EXEEXT): $(biosdisk_module_OBJECTS) $(biosdisk_module_DEPENDENCIES) + @rm -f biosdisk.module$(EXEEXT) + $(biosdisk_module_LINK) $(biosdisk_module_OBJECTS) $(biosdisk_module_LDADD) $(LIBS) +video/$(am__dirstamp): + @$(MKDIR_P) video + @: > video/$(am__dirstamp) +video/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) video/$(DEPDIR) + @: > video/$(DEPDIR)/$(am__dirstamp) +video/bitmap_module-bitmap.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +bitmap.module$(EXEEXT): $(bitmap_module_OBJECTS) $(bitmap_module_DEPENDENCIES) + @rm -f bitmap.module$(EXEEXT) + $(bitmap_module_LINK) $(bitmap_module_OBJECTS) $(bitmap_module_LDADD) $(LIBS) +video/bitmap_scale_module-bitmap_scale.$(OBJEXT): \ + video/$(am__dirstamp) video/$(DEPDIR)/$(am__dirstamp) +bitmap_scale.module$(EXEEXT): $(bitmap_scale_module_OBJECTS) $(bitmap_scale_module_DEPENDENCIES) + @rm -f bitmap_scale.module$(EXEEXT) + $(bitmap_scale_module_LINK) $(bitmap_scale_module_OBJECTS) $(bitmap_scale_module_LDADD) $(LIBS) +commands/blocklist_module-blocklist.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +blocklist.module$(EXEEXT): $(blocklist_module_OBJECTS) $(blocklist_module_DEPENDENCIES) + @rm -f blocklist.module$(EXEEXT) + $(blocklist_module_LINK) $(blocklist_module_OBJECTS) $(blocklist_module_LDADD) $(LIBS) +boot/i386/pc/$(am__dirstamp): + @$(MKDIR_P) boot/i386/pc + @: > boot/i386/pc/$(am__dirstamp) +boot/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) boot/i386/pc/$(DEPDIR) + @: > boot/i386/pc/$(DEPDIR)/$(am__dirstamp) +boot/i386/pc/boot_image-boot.$(OBJEXT): boot/i386/pc/$(am__dirstamp) \ + boot/i386/pc/$(DEPDIR)/$(am__dirstamp) +boot/i386/qemu/$(am__dirstamp): + @$(MKDIR_P) boot/i386/qemu + @: > boot/i386/qemu/$(am__dirstamp) +boot/i386/qemu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) boot/i386/qemu/$(DEPDIR) + @: > boot/i386/qemu/$(DEPDIR)/$(am__dirstamp) +boot/i386/qemu/boot_image-boot.$(OBJEXT): \ + boot/i386/qemu/$(am__dirstamp) \ + boot/i386/qemu/$(DEPDIR)/$(am__dirstamp) +boot/sparc64/ieee1275/$(am__dirstamp): + @$(MKDIR_P) boot/sparc64/ieee1275 + @: > boot/sparc64/ieee1275/$(am__dirstamp) +boot/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) boot/sparc64/ieee1275/$(DEPDIR) + @: > boot/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +boot/sparc64/ieee1275/boot_image-boot.$(OBJEXT): \ + boot/sparc64/ieee1275/$(am__dirstamp) \ + boot/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +boot.image$(EXEEXT): $(boot_image_OBJECTS) $(boot_image_DEPENDENCIES) + @rm -f boot.image$(EXEEXT) + $(boot_image_LINK) $(boot_image_OBJECTS) $(boot_image_LDADD) $(LIBS) +commands/boot_module-boot.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/i386/pc/$(am__dirstamp): + @$(MKDIR_P) lib/i386/pc + @: > lib/i386/pc/$(am__dirstamp) +lib/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/i386/pc/$(DEPDIR) + @: > lib/i386/pc/$(DEPDIR)/$(am__dirstamp) +lib/i386/pc/boot_module-biosnum.$(OBJEXT): \ + lib/i386/pc/$(am__dirstamp) \ + lib/i386/pc/$(DEPDIR)/$(am__dirstamp) +boot.module$(EXEEXT): $(boot_module_OBJECTS) $(boot_module_DEPENDENCIES) + @rm -f boot.module$(EXEEXT) + $(boot_module_LINK) $(boot_module_OBJECTS) $(boot_module_LDADD) $(LIBS) +loader/i386/$(am__dirstamp): + @$(MKDIR_P) loader/i386 + @: > loader/i386/$(am__dirstamp) +loader/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/i386/$(DEPDIR) + @: > loader/i386/$(DEPDIR)/$(am__dirstamp) +loader/i386/bsd_module-bsd.$(OBJEXT): loader/i386/$(am__dirstamp) \ + loader/i386/$(DEPDIR)/$(am__dirstamp) +loader/i386/bsd_module-bsd32.$(OBJEXT): loader/i386/$(am__dirstamp) \ + loader/i386/$(DEPDIR)/$(am__dirstamp) +loader/i386/bsd_module-bsd64.$(OBJEXT): loader/i386/$(am__dirstamp) \ + loader/i386/$(DEPDIR)/$(am__dirstamp) +bsd.module$(EXEEXT): $(bsd_module_OBJECTS) $(bsd_module_DEPENDENCIES) + @rm -f bsd.module$(EXEEXT) + $(bsd_module_LINK) $(bsd_module_OBJECTS) $(bsd_module_LDADD) $(LIBS) +fs/btrfs_module-btrfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +lib/$(am__dirstamp): + @$(MKDIR_P) lib + @: > lib/$(am__dirstamp) +lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/$(DEPDIR) + @: > lib/$(DEPDIR)/$(am__dirstamp) +lib/btrfs_module-crc.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +btrfs.module$(EXEEXT): $(btrfs_module_OBJECTS) $(btrfs_module_DEPENDENCIES) + @rm -f btrfs.module$(EXEEXT) + $(btrfs_module_LINK) $(btrfs_module_OBJECTS) $(btrfs_module_LDADD) $(LIBS) +io/$(am__dirstamp): + @$(MKDIR_P) io + @: > io/$(am__dirstamp) +io/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) io/$(DEPDIR) + @: > io/$(DEPDIR)/$(am__dirstamp) +io/bufio_module-bufio.$(OBJEXT): io/$(am__dirstamp) \ + io/$(DEPDIR)/$(am__dirstamp) +bufio.module$(EXEEXT): $(bufio_module_OBJECTS) $(bufio_module_DEPENDENCIES) + @rm -f bufio.module$(EXEEXT) + $(bufio_module_LINK) $(bufio_module_OBJECTS) $(bufio_module_LDADD) $(LIBS) +commands/cat_module-cat.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +cat.module$(EXEEXT): $(cat_module_OBJECTS) $(cat_module_DEPENDENCIES) + @rm -f cat.module$(EXEEXT) + $(cat_module_LINK) $(cat_module_OBJECTS) $(cat_module_LDADD) $(LIBS) +boot/i386/pc/cdboot_image-cdboot.$(OBJEXT): \ + boot/i386/pc/$(am__dirstamp) \ + boot/i386/pc/$(DEPDIR)/$(am__dirstamp) +cdboot.image$(EXEEXT): $(cdboot_image_OBJECTS) $(cdboot_image_DEPENDENCIES) + @rm -f cdboot.image$(EXEEXT) + $(cdboot_image_LINK) $(cdboot_image_OBJECTS) $(cdboot_image_LDADD) $(LIBS) +loader/efi/chain_module-chainloader.$(OBJEXT): \ + loader/efi/$(am__dirstamp) \ + loader/efi/$(DEPDIR)/$(am__dirstamp) +loader/i386/pc/$(am__dirstamp): + @$(MKDIR_P) loader/i386/pc + @: > loader/i386/pc/$(am__dirstamp) +loader/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/i386/pc/$(DEPDIR) + @: > loader/i386/pc/$(DEPDIR)/$(am__dirstamp) +loader/i386/pc/chain_module-chainloader.$(OBJEXT): \ + loader/i386/pc/$(am__dirstamp) \ + loader/i386/pc/$(DEPDIR)/$(am__dirstamp) +chain.module$(EXEEXT): $(chain_module_OBJECTS) $(chain_module_DEPENDENCIES) + @rm -f chain.module$(EXEEXT) + $(chain_module_LINK) $(chain_module_OBJECTS) $(chain_module_LDADD) $(LIBS) +commands/i386/$(am__dirstamp): + @$(MKDIR_P) commands/i386 + @: > commands/i386/$(am__dirstamp) +commands/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) commands/i386/$(DEPDIR) + @: > commands/i386/$(DEPDIR)/$(am__dirstamp) +commands/i386/cmostest_module-cmostest.$(OBJEXT): \ + commands/i386/$(am__dirstamp) \ + commands/i386/$(DEPDIR)/$(am__dirstamp) +cmostest.module$(EXEEXT): $(cmostest_module_OBJECTS) $(cmostest_module_DEPENDENCIES) + @rm -f cmostest.module$(EXEEXT) + $(cmostest_module_LINK) $(cmostest_module_OBJECTS) $(cmostest_module_LDADD) $(LIBS) +commands/cmp_module-cmp.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +cmp.module$(EXEEXT): $(cmp_module_OBJECTS) $(cmp_module_DEPENDENCIES) + @rm -f cmp.module$(EXEEXT) + $(cmp_module_LINK) $(cmp_module_OBJECTS) $(cmp_module_LDADD) $(LIBS) +commands/configfile_module-configfile.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +configfile.module$(EXEEXT): $(configfile_module_OBJECTS) $(configfile_module_DEPENDENCIES) + @rm -f configfile.module$(EXEEXT) + $(configfile_module_LINK) $(configfile_module_OBJECTS) $(configfile_module_LDADD) $(LIBS) +fs/cpio_module-cpio.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +cpio.module$(EXEEXT): $(cpio_module_OBJECTS) $(cpio_module_DEPENDENCIES) + @rm -f cpio.module$(EXEEXT) + $(cpio_module_LINK) $(cpio_module_OBJECTS) $(cpio_module_LDADD) $(LIBS) +commands/i386/cpuid_module-cpuid.$(OBJEXT): \ + commands/i386/$(am__dirstamp) \ + commands/i386/$(DEPDIR)/$(am__dirstamp) +cpuid.module$(EXEEXT): $(cpuid_module_OBJECTS) $(cpuid_module_DEPENDENCIES) + @rm -f cpuid.module$(EXEEXT) + $(cpuid_module_LINK) $(cpuid_module_OBJECTS) $(cpuid_module_LDADD) $(LIBS) +lib/crypto_module-crypto.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +crypto.module$(EXEEXT): $(crypto_module_OBJECTS) $(crypto_module_DEPENDENCIES) + @rm -f crypto.module$(EXEEXT) + $(crypto_module_LINK) $(crypto_module_OBJECTS) $(crypto_module_LDADD) $(LIBS) +bus/$(am__dirstamp): + @$(MKDIR_P) bus + @: > bus/$(am__dirstamp) +bus/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) bus/$(DEPDIR) + @: > bus/$(DEPDIR)/$(am__dirstamp) +bus/cs5536_module-cs5536.$(OBJEXT): bus/$(am__dirstamp) \ + bus/$(DEPDIR)/$(am__dirstamp) +cs5536.module$(EXEEXT): $(cs5536_module_OBJECTS) $(cs5536_module_DEPENDENCIES) + @rm -f cs5536.module$(EXEEXT) + $(cs5536_module_LINK) $(cs5536_module_OBJECTS) $(cs5536_module_LDADD) $(LIBS) +commands/date_module-date.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +date.module$(EXEEXT): $(date_module_OBJECTS) $(date_module_DEPENDENCIES) + @rm -f date.module$(EXEEXT) + $(date_module_LINK) $(date_module_OBJECTS) $(date_module_LDADD) $(LIBS) +hook/$(am__dirstamp): + @$(MKDIR_P) hook + @: > hook/$(am__dirstamp) +hook/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) hook/$(DEPDIR) + @: > hook/$(DEPDIR)/$(am__dirstamp) +hook/datehook_module-datehook.$(OBJEXT): hook/$(am__dirstamp) \ + hook/$(DEPDIR)/$(am__dirstamp) +datehook.module$(EXEEXT): $(datehook_module_OBJECTS) $(datehook_module_DEPENDENCIES) + @rm -f datehook.module$(EXEEXT) + $(datehook_module_LINK) $(datehook_module_OBJECTS) $(datehook_module_LDADD) $(LIBS) +lib/datetime_module-cmos_datetime.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/efi/$(am__dirstamp): + @$(MKDIR_P) lib/efi + @: > lib/efi/$(am__dirstamp) +lib/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/efi/$(DEPDIR) + @: > lib/efi/$(DEPDIR)/$(am__dirstamp) +lib/efi/datetime_module-datetime.$(OBJEXT): lib/efi/$(am__dirstamp) \ + lib/efi/$(DEPDIR)/$(am__dirstamp) +lib/ieee1275/$(am__dirstamp): + @$(MKDIR_P) lib/ieee1275 + @: > lib/ieee1275/$(am__dirstamp) +lib/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/ieee1275/$(DEPDIR) + @: > lib/ieee1275/$(DEPDIR)/$(am__dirstamp) +lib/ieee1275/datetime_module-datetime.$(OBJEXT): \ + lib/ieee1275/$(am__dirstamp) \ + lib/ieee1275/$(DEPDIR)/$(am__dirstamp) +datetime.module$(EXEEXT): $(datetime_module_OBJECTS) $(datetime_module_DEPENDENCIES) + @rm -f datetime.module$(EXEEXT) + $(datetime_module_LINK) $(datetime_module_OBJECTS) $(datetime_module_LDADD) $(LIBS) +boot/i386/pc/diskboot_image-diskboot.$(OBJEXT): \ + boot/i386/pc/$(am__dirstamp) \ + boot/i386/pc/$(DEPDIR)/$(am__dirstamp) +boot/sparc64/ieee1275/diskboot_image-diskboot.$(OBJEXT): \ + boot/sparc64/ieee1275/$(am__dirstamp) \ + boot/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +diskboot.image$(EXEEXT): $(diskboot_image_OBJECTS) $(diskboot_image_DEPENDENCIES) + @rm -f diskboot.image$(EXEEXT) + $(diskboot_image_LINK) $(diskboot_image_OBJECTS) $(diskboot_image_LDADD) $(LIBS) +disk/dm_nv_module-dmraid_nvidia.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +dm_nv.module$(EXEEXT): $(dm_nv_module_OBJECTS) $(dm_nv_module_DEPENDENCIES) + @rm -f dm_nv.module$(EXEEXT) + $(dm_nv_module_LINK) $(dm_nv_module_OBJECTS) $(dm_nv_module_LDADD) $(LIBS) +commands/i386/pc/drivemap_module-drivemap.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +commands/i386/pc/drivemap_module-drivemap_int13h.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +drivemap.module$(EXEEXT): $(drivemap_module_OBJECTS) $(drivemap_module_DEPENDENCIES) + @rm -f drivemap.module$(EXEEXT) + $(drivemap_module_LINK) $(drivemap_module_OBJECTS) $(drivemap_module_LDADD) $(LIBS) +commands/echo_module-echo.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +echo.module$(EXEEXT): $(echo_module_OBJECTS) $(echo_module_DEPENDENCIES) + @rm -f echo.module$(EXEEXT) + $(echo_module_LINK) $(echo_module_OBJECTS) $(echo_module_LDADD) $(LIBS) +video/efi_gop_module-efi_gop.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +efi_gop.module$(EXEEXT): $(efi_gop_module_OBJECTS) $(efi_gop_module_DEPENDENCIES) + @rm -f efi_gop.module$(EXEEXT) + $(efi_gop_module_LINK) $(efi_gop_module_OBJECTS) $(efi_gop_module_LDADD) $(LIBS) +video/efi_uga_module-efi_uga.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +efi_uga.module$(EXEEXT): $(efi_uga_module_OBJECTS) $(efi_uga_module_DEPENDENCIES) + @rm -f efi_uga.module$(EXEEXT) + $(efi_uga_module_LINK) $(efi_uga_module_OBJECTS) $(efi_uga_module_LDADD) $(LIBS) +efiemu/i386/pc/$(am__dirstamp): + @$(MKDIR_P) efiemu/i386/pc + @: > efiemu/i386/pc/$(am__dirstamp) +efiemu/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) efiemu/i386/pc/$(DEPDIR) + @: > efiemu/i386/pc/$(DEPDIR)/$(am__dirstamp) +efiemu/i386/pc/efiemu_module-cfgtables.$(OBJEXT): \ + efiemu/i386/pc/$(am__dirstamp) \ + efiemu/i386/pc/$(DEPDIR)/$(am__dirstamp) +efiemu/$(am__dirstamp): + @$(MKDIR_P) efiemu + @: > efiemu/$(am__dirstamp) +efiemu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) efiemu/$(DEPDIR) + @: > efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-main.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/i386/$(am__dirstamp): + @$(MKDIR_P) efiemu/i386 + @: > efiemu/i386/$(am__dirstamp) +efiemu/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) efiemu/i386/$(DEPDIR) + @: > efiemu/i386/$(DEPDIR)/$(am__dirstamp) +efiemu/i386/efiemu_module-loadcore32.$(OBJEXT): \ + efiemu/i386/$(am__dirstamp) \ + efiemu/i386/$(DEPDIR)/$(am__dirstamp) +efiemu/i386/efiemu_module-loadcore64.$(OBJEXT): \ + efiemu/i386/$(am__dirstamp) \ + efiemu/i386/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-mm.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-loadcore_common.$(OBJEXT): \ + efiemu/$(am__dirstamp) efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-symbols.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-loadcore32.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-loadcore64.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-prepare32.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-prepare64.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/efiemu_module-pnvram.$(OBJEXT): efiemu/$(am__dirstamp) \ + efiemu/$(DEPDIR)/$(am__dirstamp) +efiemu/i386/efiemu_module-coredetect.$(OBJEXT): \ + efiemu/i386/$(am__dirstamp) \ + efiemu/i386/$(DEPDIR)/$(am__dirstamp) +efiemu/i386/efiemu_module-nocfgtables.$(OBJEXT): \ + efiemu/i386/$(am__dirstamp) \ + efiemu/i386/$(DEPDIR)/$(am__dirstamp) +efiemu.module$(EXEEXT): $(efiemu_module_OBJECTS) $(efiemu_module_DEPENDENCIES) + @rm -f efiemu.module$(EXEEXT) + $(efiemu_module_LINK) $(efiemu_module_OBJECTS) $(efiemu_module_LDADD) $(LIBS) +kern/$(am__dirstamp): + @$(MKDIR_P) kern + @: > kern/$(am__dirstamp) +kern/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/$(DEPDIR) + @: > kern/$(DEPDIR)/$(am__dirstamp) +kern/elf_module-elf.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +elf.module$(EXEEXT): $(elf_module_OBJECTS) $(elf_module_DEPENDENCIES) + @rm -f elf.module$(EXEEXT) + $(elf_module_LINK) $(elf_module_OBJECTS) $(elf_module_LDADD) $(LIBS) +tests/$(am__dirstamp): + @$(MKDIR_P) tests + @: > tests/$(am__dirstamp) +tests/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tests/$(DEPDIR) + @: > tests/$(DEPDIR)/$(am__dirstamp) +tests/example_functional_test_module-example_functional_test.$(OBJEXT): \ + tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) +example_functional_test.module$(EXEEXT): $(example_functional_test_module_OBJECTS) $(example_functional_test_module_DEPENDENCIES) + @rm -f example_functional_test.module$(EXEEXT) + $(example_functional_test_module_LINK) $(example_functional_test_module_OBJECTS) $(example_functional_test_module_LDADD) $(LIBS) +fs/ext2_module-ext2.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +ext2.module$(EXEEXT): $(ext2_module_OBJECTS) $(ext2_module_DEPENDENCIES) + @rm -f ext2.module$(EXEEXT) + $(ext2_module_LINK) $(ext2_module_OBJECTS) $(ext2_module_LDADD) $(LIBS) +commands/extcmd_module-extcmd.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/extcmd_module-arg.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +extcmd.module$(EXEEXT): $(extcmd_module_OBJECTS) $(extcmd_module_DEPENDENCIES) + @rm -f extcmd.module$(EXEEXT) + $(extcmd_module_LINK) $(extcmd_module_OBJECTS) $(extcmd_module_LDADD) $(LIBS) +fs/fat_module-fat.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +fat.module$(EXEEXT): $(fat_module_OBJECTS) $(fat_module_DEPENDENCIES) + @rm -f fat.module$(EXEEXT) + $(fat_module_LINK) $(fat_module_OBJECTS) $(fat_module_LDADD) $(LIBS) +commands/efi/fixvideo_module-fixvideo.$(OBJEXT): \ + commands/efi/$(am__dirstamp) \ + commands/efi/$(DEPDIR)/$(am__dirstamp) +fixvideo.module$(EXEEXT): $(fixvideo_module_OBJECTS) $(fixvideo_module_DEPENDENCIES) + @rm -f fixvideo.module$(EXEEXT) + $(fixvideo_module_LINK) $(fixvideo_module_OBJECTS) $(fixvideo_module_LDADD) $(LIBS) +font/$(am__dirstamp): + @$(MKDIR_P) font + @: > font/$(am__dirstamp) +font/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) font/$(DEPDIR) + @: > font/$(DEPDIR)/$(am__dirstamp) +font/font_module-font.$(OBJEXT): font/$(am__dirstamp) \ + font/$(DEPDIR)/$(am__dirstamp) +font/font_module-font_cmd.$(OBJEXT): font/$(am__dirstamp) \ + font/$(DEPDIR)/$(am__dirstamp) +font.module$(EXEEXT): $(font_module_OBJECTS) $(font_module_DEPENDENCIES) + @rm -f font.module$(EXEEXT) + $(font_module_LINK) $(font_module_OBJECTS) $(font_module_LDADD) $(LIBS) +fs/fshelp_module-fshelp.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +fshelp.module$(EXEEXT): $(fshelp_module_OBJECTS) $(fshelp_module_DEPENDENCIES) + @rm -f fshelp.module$(EXEEXT) + $(fshelp_module_LINK) $(fshelp_module_OBJECTS) $(fshelp_module_LDADD) $(LIBS) +tests/lib/$(am__dirstamp): + @$(MKDIR_P) tests/lib + @: > tests/lib/$(am__dirstamp) +tests/lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tests/lib/$(DEPDIR) + @: > tests/lib/$(DEPDIR)/$(am__dirstamp) +tests/lib/functional_test_module-functional_test.$(OBJEXT): \ + tests/lib/$(am__dirstamp) tests/lib/$(DEPDIR)/$(am__dirstamp) +tests/lib/functional_test_module-test.$(OBJEXT): \ + tests/lib/$(am__dirstamp) tests/lib/$(DEPDIR)/$(am__dirstamp) +functional_test.module$(EXEEXT): $(functional_test_module_OBJECTS) $(functional_test_module_DEPENDENCIES) + @rm -f functional_test.module$(EXEEXT) + $(functional_test_module_LINK) $(functional_test_module_OBJECTS) $(functional_test_module_LDADD) $(LIBS) +boot/mips/yeeloong/$(am__dirstamp): + @$(MKDIR_P) boot/mips/yeeloong + @: > boot/mips/yeeloong/$(am__dirstamp) +boot/mips/yeeloong/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) boot/mips/yeeloong/$(DEPDIR) + @: > boot/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +boot/mips/yeeloong/fwstart_image-fwstart.$(OBJEXT): \ + boot/mips/yeeloong/$(am__dirstamp) \ + boot/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +fwstart.image$(EXEEXT): $(fwstart_image_OBJECTS) $(fwstart_image_DEPENDENCIES) + @rm -f fwstart.image$(EXEEXT) + $(fwstart_image_LINK) $(fwstart_image_OBJECTS) $(fwstart_image_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/$(am__dirstamp): + @$(MKDIR_P) lib/libgcrypt-grub/cipher + @: > lib/libgcrypt-grub/cipher/$(am__dirstamp) +lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/libgcrypt-grub/cipher/$(DEPDIR) + @: > lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_arcfour.module$(EXEEXT): $(gcry_arcfour_module_OBJECTS) $(gcry_arcfour_module_DEPENDENCIES) + @rm -f gcry_arcfour.module$(EXEEXT) + $(gcry_arcfour_module_LINK) $(gcry_arcfour_module_OBJECTS) $(gcry_arcfour_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_blowfish.module$(EXEEXT): $(gcry_blowfish_module_OBJECTS) $(gcry_blowfish_module_DEPENDENCIES) + @rm -f gcry_blowfish.module$(EXEEXT) + $(gcry_blowfish_module_LINK) $(gcry_blowfish_module_OBJECTS) $(gcry_blowfish_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_camellia.module$(EXEEXT): $(gcry_camellia_module_OBJECTS) $(gcry_camellia_module_DEPENDENCIES) + @rm -f gcry_camellia.module$(EXEEXT) + $(gcry_camellia_module_LINK) $(gcry_camellia_module_OBJECTS) $(gcry_camellia_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_cast5.module$(EXEEXT): $(gcry_cast5_module_OBJECTS) $(gcry_cast5_module_DEPENDENCIES) + @rm -f gcry_cast5.module$(EXEEXT) + $(gcry_cast5_module_LINK) $(gcry_cast5_module_OBJECTS) $(gcry_cast5_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_crc.module$(EXEEXT): $(gcry_crc_module_OBJECTS) $(gcry_crc_module_DEPENDENCIES) + @rm -f gcry_crc.module$(EXEEXT) + $(gcry_crc_module_LINK) $(gcry_crc_module_OBJECTS) $(gcry_crc_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_des.module$(EXEEXT): $(gcry_des_module_OBJECTS) $(gcry_des_module_DEPENDENCIES) + @rm -f gcry_des.module$(EXEEXT) + $(gcry_des_module_LINK) $(gcry_des_module_OBJECTS) $(gcry_des_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_md4.module$(EXEEXT): $(gcry_md4_module_OBJECTS) $(gcry_md4_module_DEPENDENCIES) + @rm -f gcry_md4.module$(EXEEXT) + $(gcry_md4_module_LINK) $(gcry_md4_module_OBJECTS) $(gcry_md4_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_md5.module$(EXEEXT): $(gcry_md5_module_OBJECTS) $(gcry_md5_module_DEPENDENCIES) + @rm -f gcry_md5.module$(EXEEXT) + $(gcry_md5_module_LINK) $(gcry_md5_module_OBJECTS) $(gcry_md5_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_rfc2268.module$(EXEEXT): $(gcry_rfc2268_module_OBJECTS) $(gcry_rfc2268_module_DEPENDENCIES) + @rm -f gcry_rfc2268.module$(EXEEXT) + $(gcry_rfc2268_module_LINK) $(gcry_rfc2268_module_OBJECTS) $(gcry_rfc2268_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_rijndael.module$(EXEEXT): $(gcry_rijndael_module_OBJECTS) $(gcry_rijndael_module_DEPENDENCIES) + @rm -f gcry_rijndael.module$(EXEEXT) + $(gcry_rijndael_module_LINK) $(gcry_rijndael_module_OBJECTS) $(gcry_rijndael_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_rmd160.module$(EXEEXT): $(gcry_rmd160_module_OBJECTS) $(gcry_rmd160_module_DEPENDENCIES) + @rm -f gcry_rmd160.module$(EXEEXT) + $(gcry_rmd160_module_LINK) $(gcry_rmd160_module_OBJECTS) $(gcry_rmd160_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_seed.module$(EXEEXT): $(gcry_seed_module_OBJECTS) $(gcry_seed_module_DEPENDENCIES) + @rm -f gcry_seed.module$(EXEEXT) + $(gcry_seed_module_LINK) $(gcry_seed_module_OBJECTS) $(gcry_seed_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_serpent.module$(EXEEXT): $(gcry_serpent_module_OBJECTS) $(gcry_serpent_module_DEPENDENCIES) + @rm -f gcry_serpent.module$(EXEEXT) + $(gcry_serpent_module_LINK) $(gcry_serpent_module_OBJECTS) $(gcry_serpent_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_sha1.module$(EXEEXT): $(gcry_sha1_module_OBJECTS) $(gcry_sha1_module_DEPENDENCIES) + @rm -f gcry_sha1.module$(EXEEXT) + $(gcry_sha1_module_LINK) $(gcry_sha1_module_OBJECTS) $(gcry_sha1_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_sha256.module$(EXEEXT): $(gcry_sha256_module_OBJECTS) $(gcry_sha256_module_DEPENDENCIES) + @rm -f gcry_sha256.module$(EXEEXT) + $(gcry_sha256_module_LINK) $(gcry_sha256_module_OBJECTS) $(gcry_sha256_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_sha512.module$(EXEEXT): $(gcry_sha512_module_OBJECTS) $(gcry_sha512_module_DEPENDENCIES) + @rm -f gcry_sha512.module$(EXEEXT) + $(gcry_sha512_module_LINK) $(gcry_sha512_module_OBJECTS) $(gcry_sha512_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_tiger.module$(EXEEXT): $(gcry_tiger_module_OBJECTS) $(gcry_tiger_module_DEPENDENCIES) + @rm -f gcry_tiger.module$(EXEEXT) + $(gcry_tiger_module_LINK) $(gcry_tiger_module_OBJECTS) $(gcry_tiger_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_twofish.module$(EXEEXT): $(gcry_twofish_module_OBJECTS) $(gcry_twofish_module_DEPENDENCIES) + @rm -f gcry_twofish.module$(EXEEXT) + $(gcry_twofish_module_LINK) $(gcry_twofish_module_OBJECTS) $(gcry_twofish_module_LDADD) $(LIBS) +lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT): \ + lib/libgcrypt-grub/cipher/$(am__dirstamp) \ + lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) +gcry_whirlpool.module$(EXEEXT): $(gcry_whirlpool_module_OBJECTS) $(gcry_whirlpool_module_DEPENDENCIES) + @rm -f gcry_whirlpool.module$(EXEEXT) + $(gcry_whirlpool_module_LINK) $(gcry_whirlpool_module_OBJECTS) $(gcry_whirlpool_module_LDADD) $(LIBS) +gettext/$(am__dirstamp): + @$(MKDIR_P) gettext + @: > gettext/$(am__dirstamp) +gettext/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gettext/$(DEPDIR) + @: > gettext/$(DEPDIR)/$(am__dirstamp) +gettext/gettext_module-gettext.$(OBJEXT): gettext/$(am__dirstamp) \ + gettext/$(DEPDIR)/$(am__dirstamp) +gettext.module$(EXEEXT): $(gettext_module_OBJECTS) $(gettext_module_DEPENDENCIES) + @rm -f gettext.module$(EXEEXT) + $(gettext_module_LINK) $(gettext_module_OBJECTS) $(gettext_module_LDADD) $(LIBS) +gfxmenu/$(am__dirstamp): + @$(MKDIR_P) gfxmenu + @: > gfxmenu/$(am__dirstamp) +gfxmenu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gfxmenu/$(DEPDIR) + @: > gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-model.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-view.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-font.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT): \ + gfxmenu/$(am__dirstamp) gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT): \ + gfxmenu/$(am__dirstamp) gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-widget-box.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT): \ + gfxmenu/$(am__dirstamp) gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_box.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_label.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_list.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_image.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT): \ + gfxmenu/$(am__dirstamp) gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_util.$(OBJEXT): gfxmenu/$(am__dirstamp) \ + gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT): \ + gfxmenu/$(am__dirstamp) gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu/gfxmenu_module-named_colors.$(OBJEXT): \ + gfxmenu/$(am__dirstamp) gfxmenu/$(DEPDIR)/$(am__dirstamp) +gfxmenu.module$(EXEEXT): $(gfxmenu_module_OBJECTS) $(gfxmenu_module_DEPENDENCIES) + @rm -f gfxmenu.module$(EXEEXT) + $(gfxmenu_module_LINK) $(gfxmenu_module_OBJECTS) $(gfxmenu_module_LDADD) $(LIBS) +term/gfxterm_module-gfxterm.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +gfxterm.module$(EXEEXT): $(gfxterm_module_OBJECTS) $(gfxterm_module_DEPENDENCIES) + @rm -f gfxterm.module$(EXEEXT) + $(gfxterm_module_LINK) $(gfxterm_module_OBJECTS) $(gfxterm_module_LDADD) $(LIBS) +commands/gptsync_module-gptsync.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +gptsync.module$(EXEEXT): $(gptsync_module_OBJECTS) $(gptsync_module_DEPENDENCIES) + @rm -f gptsync.module$(EXEEXT) + $(gptsync_module_LINK) $(gptsync_module_OBJECTS) $(gptsync_module_LDADD) $(LIBS) +kern/emu/$(am__dirstamp): + @$(MKDIR_P) kern/emu + @: > kern/emu/$(am__dirstamp) +kern/emu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/emu/$(DEPDIR) + @: > kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/grub_emu-full.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-emu$(EXEEXT): $(grub_emu_OBJECTS) $(grub_emu_DEPENDENCIES) + @rm -f grub-emu$(EXEEXT) + $(grub_emu_LINK) $(grub_emu_OBJECTS) $(grub_emu_LDADD) $(LIBS) +kern/emu/grub_emu_lite-lite.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +grub-emu-lite$(EXEEXT): $(grub_emu_lite_OBJECTS) $(grub_emu_lite_DEPENDENCIES) + @rm -f grub-emu-lite$(EXEEXT) + $(grub_emu_lite_LINK) $(grub_emu_lite_OBJECTS) $(grub_emu_lite_LDADD) $(LIBS) +io/gzio_module-gzio.$(OBJEXT): io/$(am__dirstamp) \ + io/$(DEPDIR)/$(am__dirstamp) +gzio.module$(EXEEXT): $(gzio_module_OBJECTS) $(gzio_module_DEPENDENCIES) + @rm -f gzio.module$(EXEEXT) + $(gzio_module_LINK) $(gzio_module_OBJECTS) $(gzio_module_LDADD) $(LIBS) +lib/emu/$(am__dirstamp): + @$(MKDIR_P) lib/emu + @: > lib/emu/$(am__dirstamp) +lib/emu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/emu/$(DEPDIR) + @: > lib/emu/$(DEPDIR)/$(am__dirstamp) +lib/emu/halt_module-halt.$(OBJEXT): lib/emu/$(am__dirstamp) \ + lib/emu/$(DEPDIR)/$(am__dirstamp) +commands/halt_module-halt.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +commands/halt_module-acpihalt.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/i386/$(am__dirstamp): + @$(MKDIR_P) lib/i386 + @: > lib/i386/$(am__dirstamp) +lib/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/i386/$(DEPDIR) + @: > lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/i386/halt_module-halt.$(OBJEXT): lib/i386/$(am__dirstamp) \ + lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/efi/halt_module-halt.$(OBJEXT): lib/efi/$(am__dirstamp) \ + lib/efi/$(DEPDIR)/$(am__dirstamp) +lib/ieee1275/halt_module-halt.$(OBJEXT): lib/ieee1275/$(am__dirstamp) \ + lib/ieee1275/$(DEPDIR)/$(am__dirstamp) +commands/i386/pc/halt_module-halt.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +halt.module$(EXEEXT): $(halt_module_OBJECTS) $(halt_module_DEPENDENCIES) + @rm -f halt.module$(EXEEXT) + $(halt_module_LINK) $(halt_module_OBJECTS) $(halt_module_LDADD) $(LIBS) +commands/hashsum_module-hashsum.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +hashsum.module$(EXEEXT): $(hashsum_module_OBJECTS) $(hashsum_module_DEPENDENCIES) + @rm -f hashsum.module$(EXEEXT) + $(hashsum_module_LINK) $(hashsum_module_OBJECTS) $(hashsum_module_LDADD) $(LIBS) +commands/hdparm_module-hdparm.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/hdparm_module-hexdump.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +hdparm.module$(EXEEXT): $(hdparm_module_OBJECTS) $(hdparm_module_DEPENDENCIES) + @rm -f hdparm.module$(EXEEXT) + $(hdparm_module_LINK) $(hdparm_module_OBJECTS) $(hdparm_module_LDADD) $(LIBS) +hello/$(am__dirstamp): + @$(MKDIR_P) hello + @: > hello/$(am__dirstamp) +hello/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) hello/$(DEPDIR) + @: > hello/$(DEPDIR)/$(am__dirstamp) +hello/hello_module-hello.$(OBJEXT): hello/$(am__dirstamp) \ + hello/$(DEPDIR)/$(am__dirstamp) +hello.module$(EXEEXT): $(hello_module_OBJECTS) $(hello_module_DEPENDENCIES) + @rm -f hello.module$(EXEEXT) + $(hello_module_LINK) $(hello_module_OBJECTS) $(hello_module_LDADD) $(LIBS) +commands/help_module-help.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +help.module$(EXEEXT): $(help_module_OBJECTS) $(help_module_DEPENDENCIES) + @rm -f help.module$(EXEEXT) + $(help_module_LINK) $(help_module_OBJECTS) $(help_module_LDADD) $(LIBS) +commands/hexdump_module-hexdump.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/hexdump_module-hexdump.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +hexdump.module$(EXEEXT): $(hexdump_module_OBJECTS) $(hexdump_module_DEPENDENCIES) + @rm -f hexdump.module$(EXEEXT) + $(hexdump_module_LINK) $(hexdump_module_OBJECTS) $(hexdump_module_LDADD) $(LIBS) +fs/hfs_module-hfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +hfs.module$(EXEEXT): $(hfs_module_OBJECTS) $(hfs_module_DEPENDENCIES) + @rm -f hfs.module$(EXEEXT) + $(hfs_module_LINK) $(hfs_module_OBJECTS) $(hfs_module_LDADD) $(LIBS) +fs/hfsplus_module-hfsplus.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +hfsplus.module$(EXEEXT): $(hfsplus_module_OBJECTS) $(hfsplus_module_DEPENDENCIES) + @rm -f hfsplus.module$(EXEEXT) + $(hfsplus_module_LINK) $(hfsplus_module_OBJECTS) $(hfsplus_module_LDADD) $(LIBS) +video/ieee1275_fb_module-ieee1275.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +ieee1275_fb.module$(EXEEXT): $(ieee1275_fb_module_OBJECTS) $(ieee1275_fb_module_DEPENDENCIES) + @rm -f ieee1275_fb.module$(EXEEXT) + $(ieee1275_fb_module_LINK) $(ieee1275_fb_module_OBJECTS) $(ieee1275_fb_module_LDADD) $(LIBS) +commands/iorw_module-iorw.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +iorw.module$(EXEEXT): $(iorw_module_OBJECTS) $(iorw_module_DEPENDENCIES) + @rm -f iorw.module$(EXEEXT) + $(iorw_module_LINK) $(iorw_module_OBJECTS) $(iorw_module_LDADD) $(LIBS) +fs/iso9660_module-iso9660.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +iso9660.module$(EXEEXT): $(iso9660_module_OBJECTS) $(iso9660_module_DEPENDENCIES) + @rm -f iso9660.module$(EXEEXT) + $(iso9660_module_LINK) $(iso9660_module_OBJECTS) $(iso9660_module_LDADD) $(LIBS) +fs/jfs_module-jfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +jfs.module$(EXEEXT): $(jfs_module_OBJECTS) $(jfs_module_DEPENDENCIES) + @rm -f jfs.module$(EXEEXT) + $(jfs_module_LINK) $(jfs_module_OBJECTS) $(jfs_module_LDADD) $(LIBS) +video/readers/$(am__dirstamp): + @$(MKDIR_P) video/readers + @: > video/readers/$(am__dirstamp) +video/readers/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) video/readers/$(DEPDIR) + @: > video/readers/$(DEPDIR)/$(am__dirstamp) +video/readers/jpeg_module-jpeg.$(OBJEXT): \ + video/readers/$(am__dirstamp) \ + video/readers/$(DEPDIR)/$(am__dirstamp) +jpeg.module$(EXEEXT): $(jpeg_module_OBJECTS) $(jpeg_module_DEPENDENCIES) + @rm -f jpeg.module$(EXEEXT) + $(jpeg_module_LINK) $(jpeg_module_OBJECTS) $(jpeg_module_LDADD) $(LIBS) +disk/kernel_exec-host.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +gnulib/kernel_exec-progname.$(OBJEXT): gnulib/$(am__dirstamp) \ + gnulib/$(DEPDIR)/$(am__dirstamp) +gnulib/kernel_exec-error.$(OBJEXT): gnulib/$(am__dirstamp) \ + gnulib/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-cache.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-console.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-getroot.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-hostdisk.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-hostfs.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-main.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-misc.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-mm.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/emu/kernel_exec-time.$(OBJEXT): kern/emu/$(am__dirstamp) \ + kern/emu/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-command.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-corecmd.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-device.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-disk.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-dl.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-env.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-err.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-file.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-fs.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-list.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-main.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-misc.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-parser.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-partition.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-rescue_parser.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-rescue_reader.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-term.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/i386/coreboot/$(am__dirstamp): + @$(MKDIR_P) kern/i386/coreboot + @: > kern/i386/coreboot/$(am__dirstamp) +kern/i386/coreboot/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/i386/coreboot/$(DEPDIR) + @: > kern/i386/coreboot/$(DEPDIR)/$(am__dirstamp) +kern/i386/coreboot/kernel_exec-startup.$(OBJEXT): \ + kern/i386/coreboot/$(am__dirstamp) \ + kern/i386/coreboot/$(DEPDIR)/$(am__dirstamp) +kern/generic/$(am__dirstamp): + @$(MKDIR_P) kern/generic + @: > kern/generic/$(am__dirstamp) +kern/generic/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/generic/$(DEPDIR) + @: > kern/generic/$(DEPDIR)/$(am__dirstamp) +kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT): \ + kern/generic/$(am__dirstamp) \ + kern/generic/$(DEPDIR)/$(am__dirstamp) +kern/i386/coreboot/kernel_exec-mmap.$(OBJEXT): \ + kern/i386/coreboot/$(am__dirstamp) \ + kern/i386/coreboot/$(DEPDIR)/$(am__dirstamp) +kern/i386/$(am__dirstamp): + @$(MKDIR_P) kern/i386 + @: > kern/i386/$(am__dirstamp) +kern/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/i386/$(DEPDIR) + @: > kern/i386/$(DEPDIR)/$(am__dirstamp) +kern/i386/kernel_exec-tsc.$(OBJEXT): kern/i386/$(am__dirstamp) \ + kern/i386/$(DEPDIR)/$(am__dirstamp) +kern/i386/coreboot/kernel_exec-init.$(OBJEXT): \ + kern/i386/coreboot/$(am__dirstamp) \ + kern/i386/coreboot/$(DEPDIR)/$(am__dirstamp) +term/i386/pc/$(am__dirstamp): + @$(MKDIR_P) term/i386/pc + @: > term/i386/pc/$(am__dirstamp) +term/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) term/i386/pc/$(DEPDIR) + @: > term/i386/pc/$(DEPDIR)/$(am__dirstamp) +term/i386/pc/kernel_exec-vga_text.$(OBJEXT): \ + term/i386/pc/$(am__dirstamp) \ + term/i386/pc/$(DEPDIR)/$(am__dirstamp) +term/i386/$(am__dirstamp): + @$(MKDIR_P) term/i386 + @: > term/i386/$(am__dirstamp) +term/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) term/i386/$(DEPDIR) + @: > term/i386/$(DEPDIR)/$(am__dirstamp) +term/i386/kernel_exec-vga_common.$(OBJEXT): term/i386/$(am__dirstamp) \ + term/i386/$(DEPDIR)/$(am__dirstamp) +kern/i386/kernel_exec-dl.$(OBJEXT): kern/i386/$(am__dirstamp) \ + kern/i386/$(DEPDIR)/$(am__dirstamp) +kern/i386/kernel_exec-pit.$(OBJEXT): kern/i386/$(am__dirstamp) \ + kern/i386/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-mm.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/kernel_exec-time.$(OBJEXT): kern/$(am__dirstamp) \ + kern/$(DEPDIR)/$(am__dirstamp) +kern/generic/kernel_exec-millisleep.$(OBJEXT): \ + kern/generic/$(am__dirstamp) \ + kern/generic/$(DEPDIR)/$(am__dirstamp) +kern/i386/efi/$(am__dirstamp): + @$(MKDIR_P) kern/i386/efi + @: > kern/i386/efi/$(am__dirstamp) +kern/i386/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/i386/efi/$(DEPDIR) + @: > kern/i386/efi/$(DEPDIR)/$(am__dirstamp) +kern/i386/efi/kernel_exec-startup.$(OBJEXT): \ + kern/i386/efi/$(am__dirstamp) \ + kern/i386/efi/$(DEPDIR)/$(am__dirstamp) +disk/efi/$(am__dirstamp): + @$(MKDIR_P) disk/efi + @: > disk/efi/$(am__dirstamp) +disk/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) disk/efi/$(DEPDIR) + @: > disk/efi/$(DEPDIR)/$(am__dirstamp) +disk/efi/kernel_exec-efidisk.$(OBJEXT): disk/efi/$(am__dirstamp) \ + disk/efi/$(DEPDIR)/$(am__dirstamp) +kern/efi/$(am__dirstamp): + @$(MKDIR_P) kern/efi + @: > kern/efi/$(am__dirstamp) +kern/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/efi/$(DEPDIR) + @: > kern/efi/$(DEPDIR)/$(am__dirstamp) +kern/efi/kernel_exec-efi.$(OBJEXT): kern/efi/$(am__dirstamp) \ + kern/efi/$(DEPDIR)/$(am__dirstamp) +kern/efi/kernel_exec-init.$(OBJEXT): kern/efi/$(am__dirstamp) \ + kern/efi/$(DEPDIR)/$(am__dirstamp) +kern/efi/kernel_exec-mm.$(OBJEXT): kern/efi/$(am__dirstamp) \ + kern/efi/$(DEPDIR)/$(am__dirstamp) +kern/i386/efi/kernel_exec-init.$(OBJEXT): \ + kern/i386/efi/$(am__dirstamp) \ + kern/i386/efi/$(DEPDIR)/$(am__dirstamp) +term/efi/$(am__dirstamp): + @$(MKDIR_P) term/efi + @: > term/efi/$(am__dirstamp) +term/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) term/efi/$(DEPDIR) + @: > term/efi/$(DEPDIR)/$(am__dirstamp) +term/efi/kernel_exec-console.$(OBJEXT): term/efi/$(am__dirstamp) \ + term/efi/$(DEPDIR)/$(am__dirstamp) +kern/i386/ieee1275/$(am__dirstamp): + @$(MKDIR_P) kern/i386/ieee1275 + @: > kern/i386/ieee1275/$(am__dirstamp) +kern/i386/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/i386/ieee1275/$(DEPDIR) + @: > kern/i386/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/i386/ieee1275/kernel_exec-startup.$(OBJEXT): \ + kern/i386/ieee1275/$(am__dirstamp) \ + kern/i386/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/ieee1275/$(am__dirstamp): + @$(MKDIR_P) kern/ieee1275 + @: > kern/ieee1275/$(am__dirstamp) +kern/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/ieee1275/$(DEPDIR) + @: > kern/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/ieee1275/kernel_exec-init.$(OBJEXT): \ + kern/ieee1275/$(am__dirstamp) \ + kern/ieee1275/$(DEPDIR)/$(am__dirstamp) +disk/ieee1275/$(am__dirstamp): + @$(MKDIR_P) disk/ieee1275 + @: > disk/ieee1275/$(am__dirstamp) +disk/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) disk/ieee1275/$(DEPDIR) + @: > disk/ieee1275/$(DEPDIR)/$(am__dirstamp) +disk/ieee1275/kernel_exec-ofdisk.$(OBJEXT): \ + disk/ieee1275/$(am__dirstamp) \ + disk/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/ieee1275/kernel_exec-cmain.$(OBJEXT): \ + kern/ieee1275/$(am__dirstamp) \ + kern/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/ieee1275/kernel_exec-ieee1275.$(OBJEXT): \ + kern/ieee1275/$(am__dirstamp) \ + kern/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/ieee1275/kernel_exec-mmap.$(OBJEXT): \ + kern/ieee1275/$(am__dirstamp) \ + kern/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/ieee1275/kernel_exec-openfw.$(OBJEXT): \ + kern/ieee1275/$(am__dirstamp) \ + kern/ieee1275/$(DEPDIR)/$(am__dirstamp) +term/ieee1275/$(am__dirstamp): + @$(MKDIR_P) term/ieee1275 + @: > term/ieee1275/$(am__dirstamp) +term/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) term/ieee1275/$(DEPDIR) + @: > term/ieee1275/$(DEPDIR)/$(am__dirstamp) +term/ieee1275/kernel_exec-ofconsole.$(OBJEXT): \ + term/ieee1275/$(am__dirstamp) \ + term/ieee1275/$(DEPDIR)/$(am__dirstamp) +term/kernel_exec-terminfo.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +term/kernel_exec-tparm.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +commands/kernel_exec-extcmd.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/kernel_exec-arg.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +kern/i386/kernel_exec-multiboot_mmap.$(OBJEXT): \ + kern/i386/$(am__dirstamp) kern/i386/$(DEPDIR)/$(am__dirstamp) +kern/i386/pc/$(am__dirstamp): + @$(MKDIR_P) kern/i386/pc + @: > kern/i386/pc/$(am__dirstamp) +kern/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/i386/pc/$(DEPDIR) + @: > kern/i386/pc/$(DEPDIR)/$(am__dirstamp) +kern/i386/pc/kernel_exec-startup.$(OBJEXT): \ + kern/i386/pc/$(am__dirstamp) \ + kern/i386/pc/$(DEPDIR)/$(am__dirstamp) +kern/i386/pc/kernel_exec-init.$(OBJEXT): kern/i386/pc/$(am__dirstamp) \ + kern/i386/pc/$(DEPDIR)/$(am__dirstamp) +kern/i386/pc/kernel_exec-mmap.$(OBJEXT): kern/i386/pc/$(am__dirstamp) \ + kern/i386/pc/$(DEPDIR)/$(am__dirstamp) +term/i386/pc/kernel_exec-console.$(OBJEXT): \ + term/i386/pc/$(am__dirstamp) \ + term/i386/pc/$(DEPDIR)/$(am__dirstamp) +kern/i386/qemu/$(am__dirstamp): + @$(MKDIR_P) kern/i386/qemu + @: > kern/i386/qemu/$(am__dirstamp) +kern/i386/qemu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/i386/qemu/$(DEPDIR) + @: > kern/i386/qemu/$(DEPDIR)/$(am__dirstamp) +kern/i386/qemu/kernel_exec-startup.$(OBJEXT): \ + kern/i386/qemu/$(am__dirstamp) \ + kern/i386/qemu/$(DEPDIR)/$(am__dirstamp) +bus/kernel_exec-pci.$(OBJEXT): bus/$(am__dirstamp) \ + bus/$(DEPDIR)/$(am__dirstamp) +kern/i386/qemu/kernel_exec-init.$(OBJEXT): \ + kern/i386/qemu/$(am__dirstamp) \ + kern/i386/qemu/$(DEPDIR)/$(am__dirstamp) +kern/i386/qemu/kernel_exec-mmap.$(OBJEXT): \ + kern/i386/qemu/$(am__dirstamp) \ + kern/i386/qemu/$(DEPDIR)/$(am__dirstamp) +kern/mips/$(am__dirstamp): + @$(MKDIR_P) kern/mips + @: > kern/mips/$(am__dirstamp) +kern/mips/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/mips/$(DEPDIR) + @: > kern/mips/$(DEPDIR)/$(am__dirstamp) +kern/mips/kernel_exec-startup.$(OBJEXT): kern/mips/$(am__dirstamp) \ + kern/mips/$(DEPDIR)/$(am__dirstamp) +term/kernel_exec-ns8250.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +bus/kernel_exec-bonito.$(OBJEXT): bus/$(am__dirstamp) \ + bus/$(DEPDIR)/$(am__dirstamp) +bus/kernel_exec-cs5536.$(OBJEXT): bus/$(am__dirstamp) \ + bus/$(DEPDIR)/$(am__dirstamp) +kern/mips/kernel_exec-cache.$(OBJEXT): kern/mips/$(am__dirstamp) \ + kern/mips/$(DEPDIR)/$(am__dirstamp) +kern/mips/kernel_exec-dl.$(OBJEXT): kern/mips/$(am__dirstamp) \ + kern/mips/$(DEPDIR)/$(am__dirstamp) +kern/mips/kernel_exec-init.$(OBJEXT): kern/mips/$(am__dirstamp) \ + kern/mips/$(DEPDIR)/$(am__dirstamp) +kern/mips/yeeloong/$(am__dirstamp): + @$(MKDIR_P) kern/mips/yeeloong + @: > kern/mips/yeeloong/$(am__dirstamp) +kern/mips/yeeloong/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/mips/yeeloong/$(DEPDIR) + @: > kern/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +kern/mips/yeeloong/kernel_exec-init.$(OBJEXT): \ + kern/mips/yeeloong/$(am__dirstamp) \ + kern/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +term/kernel_exec-at_keyboard.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +term/kernel_exec-serial.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +video/kernel_exec-sm712.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +commands/kernel_exec-keylayouts.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +term/kernel_exec-gfxterm.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +font/kernel_exec-font.$(OBJEXT): font/$(am__dirstamp) \ + font/$(DEPDIR)/$(am__dirstamp) +font/kernel_exec-font_cmd.$(OBJEXT): font/$(am__dirstamp) \ + font/$(DEPDIR)/$(am__dirstamp) +io/kernel_exec-bufio.$(OBJEXT): io/$(am__dirstamp) \ + io/$(DEPDIR)/$(am__dirstamp) +video/kernel_exec-bitmap.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +video/kernel_exec-bitmap_scale.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +video/fb/$(am__dirstamp): + @$(MKDIR_P) video/fb + @: > video/fb/$(am__dirstamp) +video/fb/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) video/fb/$(DEPDIR) + @: > video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/kernel_exec-fbblit.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/kernel_exec-fbfill.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/kernel_exec-fbutil.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/kernel_exec-video_fb.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/kernel_exec-video.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +commands/kernel_exec-boot.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +kern/powerpc/ieee1275/$(am__dirstamp): + @$(MKDIR_P) kern/powerpc/ieee1275 + @: > kern/powerpc/ieee1275/$(am__dirstamp) +kern/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/powerpc/ieee1275/$(DEPDIR) + @: > kern/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/powerpc/ieee1275/kernel_exec-startup.$(OBJEXT): \ + kern/powerpc/ieee1275/$(am__dirstamp) \ + kern/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/powerpc/$(am__dirstamp): + @$(MKDIR_P) kern/powerpc + @: > kern/powerpc/$(am__dirstamp) +kern/powerpc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/powerpc/$(DEPDIR) + @: > kern/powerpc/$(DEPDIR)/$(am__dirstamp) +kern/powerpc/kernel_exec-cache.$(OBJEXT): \ + kern/powerpc/$(am__dirstamp) \ + kern/powerpc/$(DEPDIR)/$(am__dirstamp) +kern/powerpc/kernel_exec-dl.$(OBJEXT): kern/powerpc/$(am__dirstamp) \ + kern/powerpc/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/ieee1275/$(am__dirstamp): + @$(MKDIR_P) kern/sparc64/ieee1275 + @: > kern/sparc64/ieee1275/$(am__dirstamp) +kern/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/sparc64/ieee1275/$(DEPDIR) + @: > kern/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/ieee1275/kernel_exec-crt0.$(OBJEXT): \ + kern/sparc64/ieee1275/$(am__dirstamp) \ + kern/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/$(am__dirstamp): + @$(MKDIR_P) kern/sparc64 + @: > kern/sparc64/$(am__dirstamp) +kern/sparc64/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/sparc64/$(DEPDIR) + @: > kern/sparc64/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/kernel_exec-cache.$(OBJEXT): \ + kern/sparc64/$(am__dirstamp) \ + kern/sparc64/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/kernel_exec-dl.$(OBJEXT): kern/sparc64/$(am__dirstamp) \ + kern/sparc64/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/ieee1275/kernel_exec-ieee1275.$(OBJEXT): \ + kern/sparc64/ieee1275/$(am__dirstamp) \ + kern/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/sparc64/ieee1275/kernel_exec-init.$(OBJEXT): \ + kern/sparc64/ieee1275/$(am__dirstamp) \ + kern/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +kern/x86_64/efi/$(am__dirstamp): + @$(MKDIR_P) kern/x86_64/efi + @: > kern/x86_64/efi/$(am__dirstamp) +kern/x86_64/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/x86_64/efi/$(DEPDIR) + @: > kern/x86_64/efi/$(DEPDIR)/$(am__dirstamp) +kern/x86_64/efi/kernel_exec-startup.$(OBJEXT): \ + kern/x86_64/efi/$(am__dirstamp) \ + kern/x86_64/efi/$(DEPDIR)/$(am__dirstamp) +kern/x86_64/$(am__dirstamp): + @$(MKDIR_P) kern/x86_64 + @: > kern/x86_64/$(am__dirstamp) +kern/x86_64/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) kern/x86_64/$(DEPDIR) + @: > kern/x86_64/$(DEPDIR)/$(am__dirstamp) +kern/x86_64/kernel_exec-dl.$(OBJEXT): kern/x86_64/$(am__dirstamp) \ + kern/x86_64/$(DEPDIR)/$(am__dirstamp) +kern/x86_64/efi/kernel_exec-callwrap.$(OBJEXT): \ + kern/x86_64/efi/$(am__dirstamp) \ + kern/x86_64/efi/$(DEPDIR)/$(am__dirstamp) +kernel.exec$(EXEEXT): $(kernel_exec_OBJECTS) $(kernel_exec_DEPENDENCIES) + @rm -f kernel.exec$(EXEEXT) + $(kernel_exec_LINK) $(kernel_exec_OBJECTS) $(kernel_exec_LDADD) $(LIBS) +commands/keylayouts_module-keylayouts.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +keylayouts.module$(EXEEXT): $(keylayouts_module_OBJECTS) $(keylayouts_module_DEPENDENCIES) + @rm -f keylayouts.module$(EXEEXT) + $(keylayouts_module_LINK) $(keylayouts_module_OBJECTS) $(keylayouts_module_LDADD) $(LIBS) +commands/keystatus_module-keystatus.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +keystatus.module$(EXEEXT): $(keystatus_module_OBJECTS) $(keystatus_module_DEPENDENCIES) + @rm -f keystatus.module$(EXEEXT) + $(keystatus_module_LINK) $(keystatus_module_OBJECTS) $(keystatus_module_LDADD) $(LIBS) +lib/i386/pc/legacycfg_module-vesa_modes_table.$(OBJEXT): \ + lib/i386/pc/$(am__dirstamp) \ + lib/i386/pc/$(DEPDIR)/$(am__dirstamp) +commands/legacycfg_module-legacycfg.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +lib/legacycfg_module-legacy_parse.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +legacycfg.module$(EXEEXT): $(legacycfg_module_OBJECTS) $(legacycfg_module_DEPENDENCIES) + @rm -f legacycfg.module$(EXEEXT) + $(legacycfg_module_LINK) $(legacycfg_module_OBJECTS) $(legacycfg_module_LDADD) $(LIBS) +bus/usb/emu/$(am__dirstamp): + @$(MKDIR_P) bus/usb/emu + @: > bus/usb/emu/$(am__dirstamp) +bus/usb/emu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) bus/usb/emu/$(DEPDIR) + @: > bus/usb/emu/$(DEPDIR)/$(am__dirstamp) +bus/usb/emu/libusb_module-usb.$(OBJEXT): bus/usb/emu/$(am__dirstamp) \ + bus/usb/emu/$(DEPDIR)/$(am__dirstamp) +libusb.module$(EXEEXT): $(libusb_module_OBJECTS) $(libusb_module_DEPENDENCIES) + @rm -f libusb.module$(EXEEXT) + $(libusb_module_LINK) $(libusb_module_OBJECTS) $(libusb_module_LDADD) $(LIBS) +loader/i386/linux_module-linux.$(OBJEXT): loader/i386/$(am__dirstamp) \ + loader/i386/$(DEPDIR)/$(am__dirstamp) +lib/linux_module-cmdline.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/i386/pc/linux_module-vesa_modes_table.$(OBJEXT): \ + lib/i386/pc/$(am__dirstamp) \ + lib/i386/pc/$(DEPDIR)/$(am__dirstamp) +loader/mips/$(am__dirstamp): + @$(MKDIR_P) loader/mips + @: > loader/mips/$(am__dirstamp) +loader/mips/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/mips/$(DEPDIR) + @: > loader/mips/$(DEPDIR)/$(am__dirstamp) +loader/mips/linux_module-linux.$(OBJEXT): loader/mips/$(am__dirstamp) \ + loader/mips/$(DEPDIR)/$(am__dirstamp) +loader/powerpc/ieee1275/$(am__dirstamp): + @$(MKDIR_P) loader/powerpc/ieee1275 + @: > loader/powerpc/ieee1275/$(am__dirstamp) +loader/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/powerpc/ieee1275/$(DEPDIR) + @: > loader/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp) +loader/powerpc/ieee1275/linux_module-linux.$(OBJEXT): \ + loader/powerpc/ieee1275/$(am__dirstamp) \ + loader/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp) +loader/sparc64/ieee1275/$(am__dirstamp): + @$(MKDIR_P) loader/sparc64/ieee1275 + @: > loader/sparc64/ieee1275/$(am__dirstamp) +loader/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) loader/sparc64/ieee1275/$(DEPDIR) + @: > loader/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +loader/sparc64/ieee1275/linux_module-linux.$(OBJEXT): \ + loader/sparc64/ieee1275/$(am__dirstamp) \ + loader/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) +linux.module$(EXEEXT): $(linux_module_OBJECTS) $(linux_module_DEPENDENCIES) + @rm -f linux.module$(EXEEXT) + $(linux_module_LINK) $(linux_module_OBJECTS) $(linux_module_LDADD) $(LIBS) +loader/i386/pc/linux16_module-linux.$(OBJEXT): \ + loader/i386/pc/$(am__dirstamp) \ + loader/i386/pc/$(DEPDIR)/$(am__dirstamp) +lib/linux16_module-cmdline.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +linux16.module$(EXEEXT): $(linux16_module_OBJECTS) $(linux16_module_DEPENDENCIES) + @rm -f linux16.module$(EXEEXT) + $(linux16_module_LINK) $(linux16_module_OBJECTS) $(linux16_module_LDADD) $(LIBS) +boot/i386/pc/lnxboot_image-lnxboot.$(OBJEXT): \ + boot/i386/pc/$(am__dirstamp) \ + boot/i386/pc/$(DEPDIR)/$(am__dirstamp) +lnxboot.image$(EXEEXT): $(lnxboot_image_OBJECTS) $(lnxboot_image_DEPENDENCIES) + @rm -f lnxboot.image$(EXEEXT) + $(lnxboot_image_LINK) $(lnxboot_image_OBJECTS) $(lnxboot_image_LDADD) $(LIBS) +commands/efi/loadbios_module-loadbios.$(OBJEXT): \ + commands/efi/$(am__dirstamp) \ + commands/efi/$(DEPDIR)/$(am__dirstamp) +loadbios.module$(EXEEXT): $(loadbios_module_OBJECTS) $(loadbios_module_DEPENDENCIES) + @rm -f loadbios.module$(EXEEXT) + $(loadbios_module_LINK) $(loadbios_module_OBJECTS) $(loadbios_module_LDADD) $(LIBS) +commands/loadenv_module-loadenv.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lib/loadenv_module-envblk.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +loadenv.module$(EXEEXT): $(loadenv_module_OBJECTS) $(loadenv_module_DEPENDENCIES) + @rm -f loadenv.module$(EXEEXT) + $(loadenv_module_LINK) $(loadenv_module_OBJECTS) $(loadenv_module_LDADD) $(LIBS) +disk/loopback_module-loopback.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +loopback.module$(EXEEXT): $(loopback_module_OBJECTS) $(loopback_module_DEPENDENCIES) + @rm -f loopback.module$(EXEEXT) + $(loopback_module_LINK) $(loopback_module_OBJECTS) $(loopback_module_LDADD) $(LIBS) +commands/ls_module-ls.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +ls.module$(EXEEXT): $(ls_module_OBJECTS) $(ls_module_DEPENDENCIES) + @rm -f ls.module$(EXEEXT) + $(ls_module_LINK) $(ls_module_OBJECTS) $(ls_module_LDADD) $(LIBS) +commands/lsacpi_module-lsacpi.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lsacpi.module$(EXEEXT): $(lsacpi_module_OBJECTS) $(lsacpi_module_DEPENDENCIES) + @rm -f lsacpi.module$(EXEEXT) + $(lsacpi_module_LINK) $(lsacpi_module_OBJECTS) $(lsacpi_module_LDADD) $(LIBS) +commands/i386/pc/lsapm_module-lsapm.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +lsapm.module$(EXEEXT): $(lsapm_module_OBJECTS) $(lsapm_module_DEPENDENCIES) + @rm -f lsapm.module$(EXEEXT) + $(lsapm_module_LINK) $(lsapm_module_OBJECTS) $(lsapm_module_LDADD) $(LIBS) +commands/efi/lsefimmap_module-lsefimmap.$(OBJEXT): \ + commands/efi/$(am__dirstamp) \ + commands/efi/$(DEPDIR)/$(am__dirstamp) +lsefimmap.module$(EXEEXT): $(lsefimmap_module_OBJECTS) $(lsefimmap_module_DEPENDENCIES) + @rm -f lsefimmap.module$(EXEEXT) + $(lsefimmap_module_LINK) $(lsefimmap_module_OBJECTS) $(lsefimmap_module_LDADD) $(LIBS) +commands/efi/lsefisystab_module-lsefisystab.$(OBJEXT): \ + commands/efi/$(am__dirstamp) \ + commands/efi/$(DEPDIR)/$(am__dirstamp) +lsefisystab.module$(EXEEXT): $(lsefisystab_module_OBJECTS) $(lsefisystab_module_DEPENDENCIES) + @rm -f lsefisystab.module$(EXEEXT) + $(lsefisystab_module_LINK) $(lsefisystab_module_OBJECTS) $(lsefisystab_module_LDADD) $(LIBS) +commands/lsmmap_module-lsmmap.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lsmmap.module$(EXEEXT): $(lsmmap_module_OBJECTS) $(lsmmap_module_DEPENDENCIES) + @rm -f lsmmap.module$(EXEEXT) + $(lsmmap_module_LINK) $(lsmmap_module_OBJECTS) $(lsmmap_module_LDADD) $(LIBS) +commands/lspci_module-lspci.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +lspci.module$(EXEEXT): $(lspci_module_OBJECTS) $(lspci_module_DEPENDENCIES) + @rm -f lspci.module$(EXEEXT) + $(lspci_module_LINK) $(lspci_module_OBJECTS) $(lspci_module_LDADD) $(LIBS) +commands/efi/lssal_module-lssal.$(OBJEXT): \ + commands/efi/$(am__dirstamp) \ + commands/efi/$(DEPDIR)/$(am__dirstamp) +lssal.module$(EXEEXT): $(lssal_module_OBJECTS) $(lssal_module_DEPENDENCIES) + @rm -f lssal.module$(EXEEXT) + $(lssal_module_LINK) $(lssal_module_OBJECTS) $(lssal_module_LDADD) $(LIBS) +commands/mips/yeeloong/$(am__dirstamp): + @$(MKDIR_P) commands/mips/yeeloong + @: > commands/mips/yeeloong/$(am__dirstamp) +commands/mips/yeeloong/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) commands/mips/yeeloong/$(DEPDIR) + @: > commands/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +commands/mips/yeeloong/lsspd_module-lsspd.$(OBJEXT): \ + commands/mips/yeeloong/$(am__dirstamp) \ + commands/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +lsspd.module$(EXEEXT): $(lsspd_module_OBJECTS) $(lsspd_module_DEPENDENCIES) + @rm -f lsspd.module$(EXEEXT) + $(lsspd_module_LINK) $(lsspd_module_OBJECTS) $(lsspd_module_LDADD) $(LIBS) +disk/lvm_module-lvm.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +lvm.module$(EXEEXT): $(lvm_module_OBJECTS) $(lvm_module_DEPENDENCIES) + @rm -f lvm.module$(EXEEXT) + $(lvm_module_LINK) $(lvm_module_OBJECTS) $(lvm_module_LDADD) $(LIBS) +disk/mdraid09_module-mdraid_linux.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +mdraid09.module$(EXEEXT): $(mdraid09_module_OBJECTS) $(mdraid09_module_DEPENDENCIES) + @rm -f mdraid09.module$(EXEEXT) + $(mdraid09_module_LINK) $(mdraid09_module_OBJECTS) $(mdraid09_module_LDADD) $(LIBS) +disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +mdraid1x.module$(EXEEXT): $(mdraid1x_module_OBJECTS) $(mdraid1x_module_DEPENDENCIES) + @rm -f mdraid1x.module$(EXEEXT) + $(mdraid1x_module_LINK) $(mdraid1x_module_OBJECTS) $(mdraid1x_module_LDADD) $(LIBS) +disk/memdisk_module-memdisk.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +memdisk.module$(EXEEXT): $(memdisk_module_OBJECTS) $(memdisk_module_DEPENDENCIES) + @rm -f memdisk.module$(EXEEXT) + $(memdisk_module_LINK) $(memdisk_module_OBJECTS) $(memdisk_module_LDADD) $(LIBS) +commands/memrw_module-memrw.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +memrw.module$(EXEEXT): $(memrw_module_OBJECTS) $(memrw_module_DEPENDENCIES) + @rm -f memrw.module$(EXEEXT) + $(memrw_module_LINK) $(memrw_module_OBJECTS) $(memrw_module_LDADD) $(LIBS) +commands/minicmd_module-minicmd.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +minicmd.module$(EXEEXT): $(minicmd_module_OBJECTS) $(minicmd_module_DEPENDENCIES) + @rm -f minicmd.module$(EXEEXT) + $(minicmd_module_LINK) $(minicmd_module_OBJECTS) $(minicmd_module_LDADD) $(LIBS) +fs/minix_module-minix.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +minix.module$(EXEEXT): $(minix_module_OBJECTS) $(minix_module_DEPENDENCIES) + @rm -f minix.module$(EXEEXT) + $(minix_module_LINK) $(minix_module_OBJECTS) $(minix_module_LDADD) $(LIBS) +fs/minix2_module-minix2.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +minix2.module$(EXEEXT): $(minix2_module_OBJECTS) $(minix2_module_DEPENDENCIES) + @rm -f minix2.module$(EXEEXT) + $(minix2_module_LINK) $(minix2_module_OBJECTS) $(minix2_module_LDADD) $(LIBS) +mmap/i386/$(am__dirstamp): + @$(MKDIR_P) mmap/i386 + @: > mmap/i386/$(am__dirstamp) +mmap/i386/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mmap/i386/$(DEPDIR) + @: > mmap/i386/$(DEPDIR)/$(am__dirstamp) +mmap/i386/mmap_module-uppermem.$(OBJEXT): mmap/i386/$(am__dirstamp) \ + mmap/i386/$(DEPDIR)/$(am__dirstamp) +mmap/i386/mmap_module-mmap.$(OBJEXT): mmap/i386/$(am__dirstamp) \ + mmap/i386/$(DEPDIR)/$(am__dirstamp) +mmap/$(am__dirstamp): + @$(MKDIR_P) mmap + @: > mmap/$(am__dirstamp) +mmap/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mmap/$(DEPDIR) + @: > mmap/$(DEPDIR)/$(am__dirstamp) +mmap/mmap_module-mmap.$(OBJEXT): mmap/$(am__dirstamp) \ + mmap/$(DEPDIR)/$(am__dirstamp) +mmap/efi/$(am__dirstamp): + @$(MKDIR_P) mmap/efi + @: > mmap/efi/$(am__dirstamp) +mmap/efi/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mmap/efi/$(DEPDIR) + @: > mmap/efi/$(DEPDIR)/$(am__dirstamp) +mmap/efi/mmap_module-mmap.$(OBJEXT): mmap/efi/$(am__dirstamp) \ + mmap/efi/$(DEPDIR)/$(am__dirstamp) +mmap/i386/pc/$(am__dirstamp): + @$(MKDIR_P) mmap/i386/pc + @: > mmap/i386/pc/$(am__dirstamp) +mmap/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mmap/i386/pc/$(DEPDIR) + @: > mmap/i386/pc/$(DEPDIR)/$(am__dirstamp) +mmap/i386/pc/mmap_module-mmap.$(OBJEXT): mmap/i386/pc/$(am__dirstamp) \ + mmap/i386/pc/$(DEPDIR)/$(am__dirstamp) +mmap/i386/pc/mmap_module-mmap_helper.$(OBJEXT): \ + mmap/i386/pc/$(am__dirstamp) \ + mmap/i386/pc/$(DEPDIR)/$(am__dirstamp) +mmap/mips/yeeloong/$(am__dirstamp): + @$(MKDIR_P) mmap/mips/yeeloong + @: > mmap/mips/yeeloong/$(am__dirstamp) +mmap/mips/yeeloong/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mmap/mips/yeeloong/$(DEPDIR) + @: > mmap/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +mmap/mips/yeeloong/mmap_module-uppermem.$(OBJEXT): \ + mmap/mips/yeeloong/$(am__dirstamp) \ + mmap/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) +mmap.module$(EXEEXT): $(mmap_module_OBJECTS) $(mmap_module_DEPENDENCIES) + @rm -f mmap.module$(EXEEXT) + $(mmap_module_LINK) $(mmap_module_OBJECTS) $(mmap_module_LDADD) $(LIBS) +parttool/$(am__dirstamp): + @$(MKDIR_P) parttool + @: > parttool/$(am__dirstamp) +parttool/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) parttool/$(DEPDIR) + @: > parttool/$(DEPDIR)/$(am__dirstamp) +parttool/msdospart_module-msdospart.$(OBJEXT): \ + parttool/$(am__dirstamp) parttool/$(DEPDIR)/$(am__dirstamp) +msdospart.module$(EXEEXT): $(msdospart_module_OBJECTS) $(msdospart_module_DEPENDENCIES) + @rm -f msdospart.module$(EXEEXT) + $(msdospart_module_LINK) $(msdospart_module_OBJECTS) $(msdospart_module_LDADD) $(LIBS) +loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT): \ + loader/i386/$(am__dirstamp) \ + loader/i386/$(DEPDIR)/$(am__dirstamp) +loader/multiboot_module-multiboot.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +multiboot.module$(EXEEXT): $(multiboot_module_OBJECTS) $(multiboot_module_DEPENDENCIES) + @rm -f multiboot.module$(EXEEXT) + $(multiboot_module_LINK) $(multiboot_module_OBJECTS) $(multiboot_module_LDADD) $(LIBS) +loader/multiboot2_module-multiboot.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +loader/multiboot2_module-multiboot_mbi2.$(OBJEXT): \ + loader/$(am__dirstamp) loader/$(DEPDIR)/$(am__dirstamp) +multiboot2.module$(EXEEXT): $(multiboot2_module_OBJECTS) $(multiboot2_module_DEPENDENCIES) + @rm -f multiboot2.module$(EXEEXT) + $(multiboot2_module_LINK) $(multiboot2_module_OBJECTS) $(multiboot2_module_LDADD) $(LIBS) +disk/ieee1275/nand_module-nand.$(OBJEXT): \ + disk/ieee1275/$(am__dirstamp) \ + disk/ieee1275/$(DEPDIR)/$(am__dirstamp) +nand.module$(EXEEXT): $(nand_module_OBJECTS) $(nand_module_DEPENDENCIES) + @rm -f nand.module$(EXEEXT) + $(nand_module_LINK) $(nand_module_OBJECTS) $(nand_module_LDADD) $(LIBS) +fs/nilfs2_module-nilfs2.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +nilfs2.module$(EXEEXT): $(nilfs2_module_OBJECTS) $(nilfs2_module_DEPENDENCIES) + @rm -f nilfs2.module$(EXEEXT) + $(nilfs2_module_LINK) $(nilfs2_module_OBJECTS) $(nilfs2_module_LDADD) $(LIBS) +boot/mips/$(am__dirstamp): + @$(MKDIR_P) boot/mips + @: > boot/mips/$(am__dirstamp) +boot/mips/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) boot/mips/$(DEPDIR) + @: > boot/mips/$(DEPDIR)/$(am__dirstamp) +boot/mips/none_decompress_image-startup_raw.$(OBJEXT): \ + boot/mips/$(am__dirstamp) boot/mips/$(DEPDIR)/$(am__dirstamp) +boot/decompressor/$(am__dirstamp): + @$(MKDIR_P) boot/decompressor + @: > boot/decompressor/$(am__dirstamp) +boot/decompressor/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) boot/decompressor/$(DEPDIR) + @: > boot/decompressor/$(DEPDIR)/$(am__dirstamp) +boot/decompressor/none_decompress_image-none.$(OBJEXT): \ + boot/decompressor/$(am__dirstamp) \ + boot/decompressor/$(DEPDIR)/$(am__dirstamp) +none_decompress.image$(EXEEXT): $(none_decompress_image_OBJECTS) $(none_decompress_image_DEPENDENCIES) + @rm -f none_decompress.image$(EXEEXT) + $(none_decompress_image_LINK) $(none_decompress_image_OBJECTS) $(none_decompress_image_LDADD) $(LIBS) +normal/$(am__dirstamp): + @$(MKDIR_P) normal + @: > normal/$(am__dirstamp) +normal/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) normal/$(DEPDIR) + @: > normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-main.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-cmdline.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-dyncmd.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-auth.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-autofs.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-color.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-completion.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-datetime.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-menu.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-menu_entry.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-menu_text.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-misc.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-crypto.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-term.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-context.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +normal/normal_module-charset.$(OBJEXT): normal/$(am__dirstamp) \ + normal/$(DEPDIR)/$(am__dirstamp) +script/$(am__dirstamp): + @$(MKDIR_P) script + @: > script/$(am__dirstamp) +script/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) script/$(DEPDIR) + @: > script/$(DEPDIR)/$(am__dirstamp) +script/normal_module-main.$(OBJEXT): script/$(am__dirstamp) \ + script/$(DEPDIR)/$(am__dirstamp) +script/normal_module-script.$(OBJEXT): script/$(am__dirstamp) \ + script/$(DEPDIR)/$(am__dirstamp) +script/normal_module-execute.$(OBJEXT): script/$(am__dirstamp) \ + script/$(DEPDIR)/$(am__dirstamp) +script/normal_module-function.$(OBJEXT): script/$(am__dirstamp) \ + script/$(DEPDIR)/$(am__dirstamp) +script/normal_module-lexer.$(OBJEXT): script/$(am__dirstamp) \ + script/$(DEPDIR)/$(am__dirstamp) +script/normal_module-argv.$(OBJEXT): script/$(am__dirstamp) \ + script/$(DEPDIR)/$(am__dirstamp) +commands/normal_module-menuentry.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +normal.module$(EXEEXT): $(normal_module_OBJECTS) $(normal_module_DEPENDENCIES) + @rm -f normal.module$(EXEEXT) + $(normal_module_LINK) $(normal_module_OBJECTS) $(normal_module_LDADD) $(LIBS) +fs/ntfs_module-ntfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +ntfs.module$(EXEEXT): $(ntfs_module_OBJECTS) $(ntfs_module_DEPENDENCIES) + @rm -f ntfs.module$(EXEEXT) + $(ntfs_module_LINK) $(ntfs_module_OBJECTS) $(ntfs_module_LDADD) $(LIBS) +fs/ntfscomp_module-ntfscomp.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +ntfscomp.module$(EXEEXT): $(ntfscomp_module_OBJECTS) $(ntfscomp_module_DEPENDENCIES) + @rm -f ntfscomp.module$(EXEEXT) + $(ntfscomp_module_LINK) $(ntfscomp_module_OBJECTS) $(ntfscomp_module_LDADD) $(LIBS) +loader/i386/pc/ntldr_module-ntldr.$(OBJEXT): \ + loader/i386/pc/$(am__dirstamp) \ + loader/i386/pc/$(DEPDIR)/$(am__dirstamp) +ntldr.module$(EXEEXT): $(ntldr_module_OBJECTS) $(ntldr_module_DEPENDENCIES) + @rm -f ntldr.module$(EXEEXT) + $(ntldr_module_LINK) $(ntldr_module_OBJECTS) $(ntldr_module_LDADD) $(LIBS) +bus/usb/$(am__dirstamp): + @$(MKDIR_P) bus/usb + @: > bus/usb/$(am__dirstamp) +bus/usb/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) bus/usb/$(DEPDIR) + @: > bus/usb/$(DEPDIR)/$(am__dirstamp) +bus/usb/ohci_module-ohci.$(OBJEXT): bus/usb/$(am__dirstamp) \ + bus/usb/$(DEPDIR)/$(am__dirstamp) +ohci.module$(EXEEXT): $(ohci_module_OBJECTS) $(ohci_module_DEPENDENCIES) + @rm -f ohci.module$(EXEEXT) + $(ohci_module_LINK) $(ohci_module_OBJECTS) $(ohci_module_LDADD) $(LIBS) +partmap/$(am__dirstamp): + @$(MKDIR_P) partmap + @: > partmap/$(am__dirstamp) +partmap/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) partmap/$(DEPDIR) + @: > partmap/$(DEPDIR)/$(am__dirstamp) +partmap/part_acorn_module-acorn.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_acorn.module$(EXEEXT): $(part_acorn_module_OBJECTS) $(part_acorn_module_DEPENDENCIES) + @rm -f part_acorn.module$(EXEEXT) + $(part_acorn_module_LINK) $(part_acorn_module_OBJECTS) $(part_acorn_module_LDADD) $(LIBS) +partmap/part_amiga_module-amiga.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_amiga.module$(EXEEXT): $(part_amiga_module_OBJECTS) $(part_amiga_module_DEPENDENCIES) + @rm -f part_amiga.module$(EXEEXT) + $(part_amiga_module_LINK) $(part_amiga_module_OBJECTS) $(part_amiga_module_LDADD) $(LIBS) +partmap/part_apple_module-apple.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_apple.module$(EXEEXT): $(part_apple_module_OBJECTS) $(part_apple_module_DEPENDENCIES) + @rm -f part_apple.module$(EXEEXT) + $(part_apple_module_LINK) $(part_apple_module_OBJECTS) $(part_apple_module_LDADD) $(LIBS) +partmap/part_bsd_module-bsdlabel.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_bsd.module$(EXEEXT): $(part_bsd_module_OBJECTS) $(part_bsd_module_DEPENDENCIES) + @rm -f part_bsd.module$(EXEEXT) + $(part_bsd_module_LINK) $(part_bsd_module_OBJECTS) $(part_bsd_module_LDADD) $(LIBS) +partmap/part_gpt_module-gpt.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_gpt.module$(EXEEXT): $(part_gpt_module_OBJECTS) $(part_gpt_module_DEPENDENCIES) + @rm -f part_gpt.module$(EXEEXT) + $(part_gpt_module_LINK) $(part_gpt_module_OBJECTS) $(part_gpt_module_LDADD) $(LIBS) +partmap/part_msdos_module-msdos.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_msdos.module$(EXEEXT): $(part_msdos_module_OBJECTS) $(part_msdos_module_DEPENDENCIES) + @rm -f part_msdos.module$(EXEEXT) + $(part_msdos_module_LINK) $(part_msdos_module_OBJECTS) $(part_msdos_module_LDADD) $(LIBS) +partmap/part_sun_module-sun.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_sun.module$(EXEEXT): $(part_sun_module_OBJECTS) $(part_sun_module_DEPENDENCIES) + @rm -f part_sun.module$(EXEEXT) + $(part_sun_module_LINK) $(part_sun_module_OBJECTS) $(part_sun_module_LDADD) $(LIBS) +partmap/part_sunpc_module-sunpc.$(OBJEXT): partmap/$(am__dirstamp) \ + partmap/$(DEPDIR)/$(am__dirstamp) +part_sunpc.module$(EXEEXT): $(part_sunpc_module_OBJECTS) $(part_sunpc_module_DEPENDENCIES) + @rm -f part_sunpc.module$(EXEEXT) + $(part_sunpc_module_LINK) $(part_sunpc_module_OBJECTS) $(part_sunpc_module_LDADD) $(LIBS) +commands/parttool_module-parttool.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +parttool.module$(EXEEXT): $(parttool_module_OBJECTS) $(parttool_module_DEPENDENCIES) + @rm -f parttool.module$(EXEEXT) + $(parttool_module_LINK) $(parttool_module_OBJECTS) $(parttool_module_LDADD) $(LIBS) +commands/password_module-password.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +password.module$(EXEEXT): $(password_module_OBJECTS) $(password_module_DEPENDENCIES) + @rm -f password.module$(EXEEXT) + $(password_module_LINK) $(password_module_OBJECTS) $(password_module_LDADD) $(LIBS) +commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +password_pbkdf2.module$(EXEEXT): $(password_pbkdf2_module_OBJECTS) $(password_pbkdf2_module_DEPENDENCIES) + @rm -f password_pbkdf2.module$(EXEEXT) + $(password_pbkdf2_module_LINK) $(password_pbkdf2_module_OBJECTS) $(password_pbkdf2_module_LDADD) $(LIBS) +lib/pbkdf2_module-pbkdf2.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +pbkdf2.module$(EXEEXT): $(pbkdf2_module_OBJECTS) $(pbkdf2_module_DEPENDENCIES) + @rm -f pbkdf2.module$(EXEEXT) + $(pbkdf2_module_LINK) $(pbkdf2_module_OBJECTS) $(pbkdf2_module_LDADD) $(LIBS) +bus/emu/$(am__dirstamp): + @$(MKDIR_P) bus/emu + @: > bus/emu/$(am__dirstamp) +bus/emu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) bus/emu/$(DEPDIR) + @: > bus/emu/$(DEPDIR)/$(am__dirstamp) +bus/emu/pci_module-pci.$(OBJEXT): bus/emu/$(am__dirstamp) \ + bus/emu/$(DEPDIR)/$(am__dirstamp) +commands/pci_module-lspci.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +bus/pci_module-pci.$(OBJEXT): bus/$(am__dirstamp) \ + bus/$(DEPDIR)/$(am__dirstamp) +pci.module$(EXEEXT): $(pci_module_OBJECTS) $(pci_module_DEPENDENCIES) + @rm -f pci.module$(EXEEXT) + $(pci_module_LINK) $(pci_module_OBJECTS) $(pci_module_LDADD) $(LIBS) +commands/i386/pc/play_module-play.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +play.module$(EXEEXT): $(play_module_OBJECTS) $(play_module_DEPENDENCIES) + @rm -f play.module$(EXEEXT) + $(play_module_LINK) $(play_module_OBJECTS) $(play_module_LDADD) $(LIBS) +video/readers/png_module-png.$(OBJEXT): video/readers/$(am__dirstamp) \ + video/readers/$(DEPDIR)/$(am__dirstamp) +png.module$(EXEEXT): $(png_module_OBJECTS) $(png_module_DEPENDENCIES) + @rm -f png.module$(EXEEXT) + $(png_module_LINK) $(png_module_OBJECTS) $(png_module_LDADD) $(LIBS) +commands/probe_module-probe.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +probe.module$(EXEEXT): $(probe_module_OBJECTS) $(probe_module_DEPENDENCIES) + @rm -f probe.module$(EXEEXT) + $(probe_module_LINK) $(probe_module_OBJECTS) $(probe_module_LDADD) $(LIBS) +fs/i386/pc/$(am__dirstamp): + @$(MKDIR_P) fs/i386/pc + @: > fs/i386/pc/$(am__dirstamp) +fs/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) fs/i386/pc/$(DEPDIR) + @: > fs/i386/pc/$(DEPDIR)/$(am__dirstamp) +fs/i386/pc/pxe_module-pxe.$(OBJEXT): fs/i386/pc/$(am__dirstamp) \ + fs/i386/pc/$(DEPDIR)/$(am__dirstamp) +pxe.module$(EXEEXT): $(pxe_module_OBJECTS) $(pxe_module_DEPENDENCIES) + @rm -f pxe.module$(EXEEXT) + $(pxe_module_LINK) $(pxe_module_OBJECTS) $(pxe_module_LDADD) $(LIBS) +boot/i386/pc/pxeboot_image-pxeboot.$(OBJEXT): \ + boot/i386/pc/$(am__dirstamp) \ + boot/i386/pc/$(DEPDIR)/$(am__dirstamp) +pxeboot.image$(EXEEXT): $(pxeboot_image_OBJECTS) $(pxeboot_image_DEPENDENCIES) + @rm -f pxeboot.image$(EXEEXT) + $(pxeboot_image_LINK) $(pxeboot_image_OBJECTS) $(pxeboot_image_LDADD) $(LIBS) +commands/i386/pc/pxecmd_module-pxecmd.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +pxecmd.module$(EXEEXT): $(pxecmd_module_OBJECTS) $(pxecmd_module_DEPENDENCIES) + @rm -f pxecmd.module$(EXEEXT) + $(pxecmd_module_LINK) $(pxecmd_module_OBJECTS) $(pxecmd_module_LDADD) $(LIBS) +disk/raid_module-raid.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +raid.module$(EXEEXT): $(raid_module_OBJECTS) $(raid_module_DEPENDENCIES) + @rm -f raid.module$(EXEEXT) + $(raid_module_LINK) $(raid_module_OBJECTS) $(raid_module_LDADD) $(LIBS) +disk/raid5rec_module-raid5_recover.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +raid5rec.module$(EXEEXT): $(raid5rec_module_OBJECTS) $(raid5rec_module_DEPENDENCIES) + @rm -f raid5rec.module$(EXEEXT) + $(raid5rec_module_LINK) $(raid5rec_module_OBJECTS) $(raid5rec_module_LDADD) $(LIBS) +disk/raid6rec_module-raid6_recover.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +raid6rec.module$(EXEEXT): $(raid6rec_module_OBJECTS) $(raid6rec_module_DEPENDENCIES) + @rm -f raid6rec.module$(EXEEXT) + $(raid6rec_module_LINK) $(raid6rec_module_OBJECTS) $(raid6rec_module_LDADD) $(LIBS) +commands/read_module-read.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +read.module$(EXEEXT): $(read_module_OBJECTS) $(read_module_DEPENDENCIES) + @rm -f read.module$(EXEEXT) + $(read_module_LINK) $(read_module_OBJECTS) $(read_module_LDADD) $(LIBS) +commands/reboot_module-reboot.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +reboot.module$(EXEEXT): $(reboot_module_OBJECTS) $(reboot_module_DEPENDENCIES) + @rm -f reboot.module$(EXEEXT) + $(reboot_module_LINK) $(reboot_module_OBJECTS) $(reboot_module_LDADD) $(LIBS) +commands/regexp_module-regexp.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +commands/regexp_module-wildcard.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +regexp.module$(EXEEXT): $(regexp_module_OBJECTS) $(regexp_module_DEPENDENCIES) + @rm -f regexp.module$(EXEEXT) + $(regexp_module_LINK) $(regexp_module_OBJECTS) $(regexp_module_LDADD) $(LIBS) +fs/reiserfs_module-reiserfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +reiserfs.module$(EXEEXT): $(reiserfs_module_OBJECTS) $(reiserfs_module_DEPENDENCIES) + @rm -f reiserfs.module$(EXEEXT) + $(reiserfs_module_LINK) $(reiserfs_module_OBJECTS) $(reiserfs_module_LDADD) $(LIBS) +lib/i386/relocator_module-relocator_asm.$(OBJEXT): \ + lib/i386/$(am__dirstamp) lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/i386/relocator_module-relocator16.$(OBJEXT): \ + lib/i386/$(am__dirstamp) lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/i386/relocator_module-relocator32.$(OBJEXT): \ + lib/i386/$(am__dirstamp) lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/i386/relocator_module-relocator64.$(OBJEXT): \ + lib/i386/$(am__dirstamp) lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/i386/relocator_module-relocator.$(OBJEXT): \ + lib/i386/$(am__dirstamp) lib/i386/$(DEPDIR)/$(am__dirstamp) +lib/relocator_module-relocator.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/efi/relocator_module-relocator.$(OBJEXT): lib/efi/$(am__dirstamp) \ + lib/efi/$(DEPDIR)/$(am__dirstamp) +lib/ieee1275/relocator_module-relocator.$(OBJEXT): \ + lib/ieee1275/$(am__dirstamp) \ + lib/ieee1275/$(DEPDIR)/$(am__dirstamp) +lib/mips/$(am__dirstamp): + @$(MKDIR_P) lib/mips + @: > lib/mips/$(am__dirstamp) +lib/mips/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/mips/$(DEPDIR) + @: > lib/mips/$(DEPDIR)/$(am__dirstamp) +lib/mips/relocator_module-relocator_asm.$(OBJEXT): \ + lib/mips/$(am__dirstamp) lib/mips/$(DEPDIR)/$(am__dirstamp) +lib/mips/relocator_module-relocator.$(OBJEXT): \ + lib/mips/$(am__dirstamp) lib/mips/$(DEPDIR)/$(am__dirstamp) +lib/powerpc/$(am__dirstamp): + @$(MKDIR_P) lib/powerpc + @: > lib/powerpc/$(am__dirstamp) +lib/powerpc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/powerpc/$(DEPDIR) + @: > lib/powerpc/$(DEPDIR)/$(am__dirstamp) +lib/powerpc/relocator_module-relocator_asm.$(OBJEXT): \ + lib/powerpc/$(am__dirstamp) \ + lib/powerpc/$(DEPDIR)/$(am__dirstamp) +lib/powerpc/relocator_module-relocator.$(OBJEXT): \ + lib/powerpc/$(am__dirstamp) \ + lib/powerpc/$(DEPDIR)/$(am__dirstamp) +lib/x86_64/$(am__dirstamp): + @$(MKDIR_P) lib/x86_64 + @: > lib/x86_64/$(am__dirstamp) +lib/x86_64/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/x86_64/$(DEPDIR) + @: > lib/x86_64/$(DEPDIR)/$(am__dirstamp) +lib/x86_64/relocator_module-relocator_asm.$(OBJEXT): \ + lib/x86_64/$(am__dirstamp) \ + lib/x86_64/$(DEPDIR)/$(am__dirstamp) +relocator.module$(EXEEXT): $(relocator_module_OBJECTS) $(relocator_module_DEPENDENCIES) + @rm -f relocator.module$(EXEEXT) + $(relocator_module_LINK) $(relocator_module_OBJECTS) $(relocator_module_LDADD) $(LIBS) +disk/scsi_module-scsi.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +scsi.module$(EXEEXT): $(scsi_module_OBJECTS) $(scsi_module_DEPENDENCIES) + @rm -f scsi.module$(EXEEXT) + $(scsi_module_LINK) $(scsi_module_OBJECTS) $(scsi_module_LDADD) $(LIBS) +video/emu/$(am__dirstamp): + @$(MKDIR_P) video/emu + @: > video/emu/$(am__dirstamp) +video/emu/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) video/emu/$(DEPDIR) + @: > video/emu/$(DEPDIR)/$(am__dirstamp) +video/emu/sdl_module-sdl.$(OBJEXT): video/emu/$(am__dirstamp) \ + video/emu/$(DEPDIR)/$(am__dirstamp) +sdl.module$(EXEEXT): $(sdl_module_OBJECTS) $(sdl_module_DEPENDENCIES) + @rm -f sdl.module$(EXEEXT) + $(sdl_module_LINK) $(sdl_module_OBJECTS) $(sdl_module_LDADD) $(LIBS) +commands/search_module-search_wrap.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +search.module$(EXEEXT): $(search_module_OBJECTS) $(search_module_DEPENDENCIES) + @rm -f search.module$(EXEEXT) + $(search_module_LINK) $(search_module_OBJECTS) $(search_module_LDADD) $(LIBS) +commands/search_fs_file_module-search_file.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +search_fs_file.module$(EXEEXT): $(search_fs_file_module_OBJECTS) $(search_fs_file_module_DEPENDENCIES) + @rm -f search_fs_file.module$(EXEEXT) + $(search_fs_file_module_LINK) $(search_fs_file_module_OBJECTS) $(search_fs_file_module_LDADD) $(LIBS) +commands/search_fs_uuid_module-search_uuid.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +search_fs_uuid.module$(EXEEXT): $(search_fs_uuid_module_OBJECTS) $(search_fs_uuid_module_DEPENDENCIES) + @rm -f search_fs_uuid.module$(EXEEXT) + $(search_fs_uuid_module_LINK) $(search_fs_uuid_module_OBJECTS) $(search_fs_uuid_module_LDADD) $(LIBS) +commands/search_label_module-search_label.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +search_label.module$(EXEEXT): $(search_label_module_OBJECTS) $(search_label_module_DEPENDENCIES) + @rm -f search_label.module$(EXEEXT) + $(search_label_module_LINK) $(search_label_module_OBJECTS) $(search_label_module_LDADD) $(LIBS) +commands/i386/pc/sendkey_module-sendkey.$(OBJEXT): \ + commands/i386/pc/$(am__dirstamp) \ + commands/i386/pc/$(DEPDIR)/$(am__dirstamp) +sendkey.module$(EXEEXT): $(sendkey_module_OBJECTS) $(sendkey_module_DEPENDENCIES) + @rm -f sendkey.module$(EXEEXT) + $(sendkey_module_LINK) $(sendkey_module_OBJECTS) $(sendkey_module_LDADD) $(LIBS) +term/serial_module-serial.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +term/serial_module-ns8250.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +serial.module$(EXEEXT): $(serial_module_OBJECTS) $(serial_module_DEPENDENCIES) + @rm -f serial.module$(EXEEXT) + $(serial_module_LINK) $(serial_module_OBJECTS) $(serial_module_LDADD) $(LIBS) +lib/setjmp_module-setjmp.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +setjmp.module$(EXEEXT): $(setjmp_module_OBJECTS) $(setjmp_module_DEPENDENCIES) + @rm -f setjmp.module$(EXEEXT) + $(setjmp_module_LINK) $(setjmp_module_OBJECTS) $(setjmp_module_LDADD) $(LIBS) +commands/setpci_module-setpci.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +setpci.module$(EXEEXT): $(setpci_module_OBJECTS) $(setpci_module_DEPENDENCIES) + @rm -f setpci.module$(EXEEXT) + $(setpci_module_LINK) $(setpci_module_OBJECTS) $(setpci_module_LDADD) $(LIBS) +fs/sfs_module-sfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +sfs.module$(EXEEXT): $(sfs_module_OBJECTS) $(sfs_module_DEPENDENCIES) + @rm -f sfs.module$(EXEEXT) + $(sfs_module_LINK) $(sfs_module_OBJECTS) $(sfs_module_LDADD) $(LIBS) +commands/sleep_module-sleep.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +sleep.module$(EXEEXT): $(sleep_module_OBJECTS) $(sleep_module_DEPENDENCIES) + @rm -f sleep.module$(EXEEXT) + $(sleep_module_LINK) $(sleep_module_OBJECTS) $(sleep_module_LDADD) $(LIBS) +commands/ieee1275/$(am__dirstamp): + @$(MKDIR_P) commands/ieee1275 + @: > commands/ieee1275/$(am__dirstamp) +commands/ieee1275/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) commands/ieee1275/$(DEPDIR) + @: > commands/ieee1275/$(DEPDIR)/$(am__dirstamp) +commands/ieee1275/suspend_module-suspend.$(OBJEXT): \ + commands/ieee1275/$(am__dirstamp) \ + commands/ieee1275/$(DEPDIR)/$(am__dirstamp) +suspend.module$(EXEEXT): $(suspend_module_OBJECTS) $(suspend_module_DEPENDENCIES) + @rm -f suspend.module$(EXEEXT) + $(suspend_module_LINK) $(suspend_module_OBJECTS) $(suspend_module_LDADD) $(LIBS) +fs/tar_module-tar.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +tar.module$(EXEEXT): $(tar_module_OBJECTS) $(tar_module_DEPENDENCIES) + @rm -f tar.module$(EXEEXT) + $(tar_module_LINK) $(tar_module_OBJECTS) $(tar_module_LDADD) $(LIBS) +commands/terminal_module-terminal.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +terminal.module$(EXEEXT): $(terminal_module_OBJECTS) $(terminal_module_DEPENDENCIES) + @rm -f terminal.module$(EXEEXT) + $(terminal_module_LINK) $(terminal_module_OBJECTS) $(terminal_module_LDADD) $(LIBS) +term/terminfo_module-terminfo.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +term/terminfo_module-tparm.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +terminfo.module$(EXEEXT): $(terminfo_module_OBJECTS) $(terminfo_module_DEPENDENCIES) + @rm -f terminfo.module$(EXEEXT) + $(terminfo_module_LINK) $(terminfo_module_OBJECTS) $(terminfo_module_LDADD) $(LIBS) +commands/test_module-test.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +test.module$(EXEEXT): $(test_module_OBJECTS) $(test_module_DEPENDENCIES) + @rm -f test.module$(EXEEXT) + $(test_module_LINK) $(test_module_OBJECTS) $(test_module_LDADD) $(LIBS) +tests/test_blockarg_module-test_blockarg.$(OBJEXT): \ + tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) +test_blockarg.module$(EXEEXT): $(test_blockarg_module_OBJECTS) $(test_blockarg_module_DEPENDENCIES) + @rm -f test_blockarg.module$(EXEEXT) + $(test_blockarg_module_LINK) $(test_blockarg_module_OBJECTS) $(test_blockarg_module_LDADD) $(LIBS) +commands/testload_module-testload.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +testload.module$(EXEEXT): $(testload_module_OBJECTS) $(testload_module_DEPENDENCIES) + @rm -f testload.module$(EXEEXT) + $(testload_module_LINK) $(testload_module_OBJECTS) $(testload_module_LDADD) $(LIBS) +video/readers/tga_module-tga.$(OBJEXT): video/readers/$(am__dirstamp) \ + video/readers/$(DEPDIR)/$(am__dirstamp) +tga.module$(EXEEXT): $(tga_module_OBJECTS) $(tga_module_DEPENDENCIES) + @rm -f tga.module$(EXEEXT) + $(tga_module_LINK) $(tga_module_OBJECTS) $(tga_module_LDADD) $(LIBS) +trig.module$(EXEEXT): $(trig_module_OBJECTS) $(trig_module_DEPENDENCIES) + @rm -f trig.module$(EXEEXT) + $(trig_module_LINK) $(trig_module_OBJECTS) $(trig_module_LDADD) $(LIBS) +commands/true_module-true.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +true.module$(EXEEXT): $(true_module_OBJECTS) $(true_module_DEPENDENCIES) + @rm -f true.module$(EXEEXT) + $(true_module_LINK) $(true_module_OBJECTS) $(true_module_LDADD) $(LIBS) +fs/udf_module-udf.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +udf.module$(EXEEXT): $(udf_module_OBJECTS) $(udf_module_DEPENDENCIES) + @rm -f udf.module$(EXEEXT) + $(udf_module_LINK) $(udf_module_OBJECTS) $(udf_module_LDADD) $(LIBS) +fs/ufs1_module-ufs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +ufs1.module$(EXEEXT): $(ufs1_module_OBJECTS) $(ufs1_module_DEPENDENCIES) + @rm -f ufs1.module$(EXEEXT) + $(ufs1_module_LINK) $(ufs1_module_OBJECTS) $(ufs1_module_LDADD) $(LIBS) +fs/ufs2_module-ufs2.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +ufs2.module$(EXEEXT): $(ufs2_module_OBJECTS) $(ufs2_module_DEPENDENCIES) + @rm -f ufs2.module$(EXEEXT) + $(ufs2_module_LINK) $(ufs2_module_OBJECTS) $(ufs2_module_LDADD) $(LIBS) +bus/usb/uhci_module-uhci.$(OBJEXT): bus/usb/$(am__dirstamp) \ + bus/usb/$(DEPDIR)/$(am__dirstamp) +uhci.module$(EXEEXT): $(uhci_module_OBJECTS) $(uhci_module_DEPENDENCIES) + @rm -f uhci.module$(EXEEXT) + $(uhci_module_LINK) $(uhci_module_OBJECTS) $(uhci_module_LDADD) $(LIBS) +bus/usb/usb_module-usb.$(OBJEXT): bus/usb/$(am__dirstamp) \ + bus/usb/$(DEPDIR)/$(am__dirstamp) +bus/usb/usb_module-usbtrans.$(OBJEXT): bus/usb/$(am__dirstamp) \ + bus/usb/$(DEPDIR)/$(am__dirstamp) +bus/usb/usb_module-usbhub.$(OBJEXT): bus/usb/$(am__dirstamp) \ + bus/usb/$(DEPDIR)/$(am__dirstamp) +usb.module$(EXEEXT): $(usb_module_OBJECTS) $(usb_module_DEPENDENCIES) + @rm -f usb.module$(EXEEXT) + $(usb_module_LINK) $(usb_module_OBJECTS) $(usb_module_LDADD) $(LIBS) +term/usb_keyboard_module-usb_keyboard.$(OBJEXT): term/$(am__dirstamp) \ + term/$(DEPDIR)/$(am__dirstamp) +usb_keyboard.module$(EXEEXT): $(usb_keyboard_module_OBJECTS) $(usb_keyboard_module_DEPENDENCIES) + @rm -f usb_keyboard.module$(EXEEXT) + $(usb_keyboard_module_LINK) $(usb_keyboard_module_OBJECTS) $(usb_keyboard_module_LDADD) $(LIBS) +disk/usbms_module-usbms.$(OBJEXT): disk/$(am__dirstamp) \ + disk/$(DEPDIR)/$(am__dirstamp) +usbms.module$(EXEEXT): $(usbms_module_OBJECTS) $(usbms_module_DEPENDENCIES) + @rm -f usbms.module$(EXEEXT) + $(usbms_module_LINK) $(usbms_module_OBJECTS) $(usbms_module_LDADD) $(LIBS) +bus/usb/serial/$(am__dirstamp): + @$(MKDIR_P) bus/usb/serial + @: > bus/usb/serial/$(am__dirstamp) +bus/usb/serial/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) bus/usb/serial/$(DEPDIR) + @: > bus/usb/serial/$(DEPDIR)/$(am__dirstamp) +bus/usb/serial/usbserial_common_module-common.$(OBJEXT): \ + bus/usb/serial/$(am__dirstamp) \ + bus/usb/serial/$(DEPDIR)/$(am__dirstamp) +usbserial_common.module$(EXEEXT): $(usbserial_common_module_OBJECTS) $(usbserial_common_module_DEPENDENCIES) + @rm -f usbserial_common.module$(EXEEXT) + $(usbserial_common_module_LINK) $(usbserial_common_module_OBJECTS) $(usbserial_common_module_LDADD) $(LIBS) +bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT): \ + bus/usb/serial/$(am__dirstamp) \ + bus/usb/serial/$(DEPDIR)/$(am__dirstamp) +usbserial_ftdi.module$(EXEEXT): $(usbserial_ftdi_module_OBJECTS) $(usbserial_ftdi_module_DEPENDENCIES) + @rm -f usbserial_ftdi.module$(EXEEXT) + $(usbserial_ftdi_module_LINK) $(usbserial_ftdi_module_OBJECTS) $(usbserial_ftdi_module_LDADD) $(LIBS) +bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT): \ + bus/usb/serial/$(am__dirstamp) \ + bus/usb/serial/$(DEPDIR)/$(am__dirstamp) +usbserial_pl2303.module$(EXEEXT): $(usbserial_pl2303_module_OBJECTS) $(usbserial_pl2303_module_DEPENDENCIES) + @rm -f usbserial_pl2303.module$(EXEEXT) + $(usbserial_pl2303_module_LINK) $(usbserial_pl2303_module_OBJECTS) $(usbserial_pl2303_module_LDADD) $(LIBS) +commands/usbtest_module-usbtest.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +usbtest.module$(EXEEXT): $(usbtest_module_OBJECTS) $(usbtest_module_DEPENDENCIES) + @rm -f usbtest.module$(EXEEXT) + $(usbtest_module_LINK) $(usbtest_module_OBJECTS) $(usbtest_module_LDADD) $(LIBS) +video/i386/pc/$(am__dirstamp): + @$(MKDIR_P) video/i386/pc + @: > video/i386/pc/$(am__dirstamp) +video/i386/pc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) video/i386/pc/$(DEPDIR) + @: > video/i386/pc/$(DEPDIR)/$(am__dirstamp) +video/i386/pc/vbe_module-vbe.$(OBJEXT): video/i386/pc/$(am__dirstamp) \ + video/i386/pc/$(DEPDIR)/$(am__dirstamp) +vbe.module$(EXEEXT): $(vbe_module_OBJECTS) $(vbe_module_DEPENDENCIES) + @rm -f vbe.module$(EXEEXT) + $(vbe_module_LINK) $(vbe_module_OBJECTS) $(vbe_module_LDADD) $(LIBS) +video/i386/pc/vga_module-vga.$(OBJEXT): video/i386/pc/$(am__dirstamp) \ + video/i386/pc/$(DEPDIR)/$(am__dirstamp) +vga.module$(EXEEXT): $(vga_module_OBJECTS) $(vga_module_DEPENDENCIES) + @rm -f vga.module$(EXEEXT) + $(vga_module_LINK) $(vga_module_OBJECTS) $(vga_module_LDADD) $(LIBS) +term/i386/pc/vga_text_module-vga_text.$(OBJEXT): \ + term/i386/pc/$(am__dirstamp) \ + term/i386/pc/$(DEPDIR)/$(am__dirstamp) +term/i386/vga_text_module-vga_common.$(OBJEXT): \ + term/i386/$(am__dirstamp) term/i386/$(DEPDIR)/$(am__dirstamp) +vga_text.module$(EXEEXT): $(vga_text_module_OBJECTS) $(vga_text_module_DEPENDENCIES) + @rm -f vga_text.module$(EXEEXT) + $(vga_text_module_LINK) $(vga_text_module_OBJECTS) $(vga_text_module_LDADD) $(LIBS) +video/video_module-video.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +video.module$(EXEEXT): $(video_module_OBJECTS) $(video_module_DEPENDENCIES) + @rm -f video.module$(EXEEXT) + $(video_module_LINK) $(video_module_OBJECTS) $(video_module_LDADD) $(LIBS) +video/video_bochs_module-bochs.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +video_bochs.module$(EXEEXT): $(video_bochs_module_OBJECTS) $(video_bochs_module_DEPENDENCIES) + @rm -f video_bochs.module$(EXEEXT) + $(video_bochs_module_LINK) $(video_bochs_module_OBJECTS) $(video_bochs_module_LDADD) $(LIBS) +video/video_cirrus_module-cirrus.$(OBJEXT): video/$(am__dirstamp) \ + video/$(DEPDIR)/$(am__dirstamp) +video_cirrus.module$(EXEEXT): $(video_cirrus_module_OBJECTS) $(video_cirrus_module_DEPENDENCIES) + @rm -f video_cirrus.module$(EXEEXT) + $(video_cirrus_module_LINK) $(video_cirrus_module_OBJECTS) $(video_cirrus_module_LDADD) $(LIBS) +video/fb/video_fb_module-video_fb.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/video_fb_module-fbblit.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/video_fb_module-fbfill.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video/fb/video_fb_module-fbutil.$(OBJEXT): video/fb/$(am__dirstamp) \ + video/fb/$(DEPDIR)/$(am__dirstamp) +video_fb.module$(EXEEXT): $(video_fb_module_OBJECTS) $(video_fb_module_DEPENDENCIES) + @rm -f video_fb.module$(EXEEXT) + $(video_fb_module_LINK) $(video_fb_module_OBJECTS) $(video_fb_module_LDADD) $(LIBS) +commands/videoinfo_module-videoinfo.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +videoinfo.module$(EXEEXT): $(videoinfo_module_OBJECTS) $(videoinfo_module_DEPENDENCIES) + @rm -f videoinfo.module$(EXEEXT) + $(videoinfo_module_LINK) $(videoinfo_module_OBJECTS) $(videoinfo_module_LDADD) $(LIBS) +commands/videotest_module-videotest.$(OBJEXT): \ + commands/$(am__dirstamp) commands/$(DEPDIR)/$(am__dirstamp) +videotest.module$(EXEEXT): $(videotest_module_OBJECTS) $(videotest_module_DEPENDENCIES) + @rm -f videotest.module$(EXEEXT) + $(videotest_module_LINK) $(videotest_module_OBJECTS) $(videotest_module_LDADD) $(LIBS) +fs/xfs_module-xfs.$(OBJEXT): fs/$(am__dirstamp) \ + fs/$(DEPDIR)/$(am__dirstamp) +xfs.module$(EXEEXT): $(xfs_module_OBJECTS) $(xfs_module_DEPENDENCIES) + @rm -f xfs.module$(EXEEXT) + $(xfs_module_LINK) $(xfs_module_OBJECTS) $(xfs_module_LDADD) $(LIBS) +loader/xnu_module-xnu_resume.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +loader/i386/xnu_module-xnu.$(OBJEXT): loader/i386/$(am__dirstamp) \ + loader/i386/$(DEPDIR)/$(am__dirstamp) +loader/xnu_module-macho32.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +loader/xnu_module-macho64.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +loader/xnu_module-macho.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +loader/xnu_module-xnu.$(OBJEXT): loader/$(am__dirstamp) \ + loader/$(DEPDIR)/$(am__dirstamp) +xnu.module$(EXEEXT): $(xnu_module_OBJECTS) $(xnu_module_DEPENDENCIES) + @rm -f xnu.module$(EXEEXT) + $(xnu_module_LINK) $(xnu_module_OBJECTS) $(xnu_module_LDADD) $(LIBS) +commands/xnu_uuid_module-xnu_uuid.$(OBJEXT): commands/$(am__dirstamp) \ + commands/$(DEPDIR)/$(am__dirstamp) +xnu_uuid.module$(EXEEXT): $(xnu_uuid_module_OBJECTS) $(xnu_uuid_module_DEPENDENCIES) + @rm -f xnu_uuid.module$(EXEEXT) + $(xnu_uuid_module_LINK) $(xnu_uuid_module_OBJECTS) $(xnu_uuid_module_LDADD) $(LIBS) +boot/mips/xz_decompress_image-startup_raw.$(OBJEXT): \ + boot/mips/$(am__dirstamp) boot/mips/$(DEPDIR)/$(am__dirstamp) +boot/decompressor/xz_decompress_image-minilib.$(OBJEXT): \ + boot/decompressor/$(am__dirstamp) \ + boot/decompressor/$(DEPDIR)/$(am__dirstamp) +boot/decompressor/xz_decompress_image-xz.$(OBJEXT): \ + boot/decompressor/$(am__dirstamp) \ + boot/decompressor/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/$(am__dirstamp): + @$(MKDIR_P) lib/xzembed + @: > lib/xzembed/$(am__dirstamp) +lib/xzembed/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/xzembed/$(DEPDIR) + @: > lib/xzembed/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/xz_decompress_image-xz_dec_bcj.$(OBJEXT): \ + lib/xzembed/$(am__dirstamp) \ + lib/xzembed/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/xz_decompress_image-xz_dec_lzma2.$(OBJEXT): \ + lib/xzembed/$(am__dirstamp) \ + lib/xzembed/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/xz_decompress_image-xz_dec_stream.$(OBJEXT): \ + lib/xzembed/$(am__dirstamp) \ + lib/xzembed/$(DEPDIR)/$(am__dirstamp) +xz_decompress.image$(EXEEXT): $(xz_decompress_image_OBJECTS) $(xz_decompress_image_DEPENDENCIES) + @rm -f xz_decompress.image$(EXEEXT) + $(xz_decompress_image_LINK) $(xz_decompress_image_OBJECTS) $(xz_decompress_image_LDADD) $(LIBS) +io/xzio_module-xzio.$(OBJEXT): io/$(am__dirstamp) \ + io/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT): \ + lib/xzembed/$(am__dirstamp) \ + lib/xzembed/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT): \ + lib/xzembed/$(am__dirstamp) \ + lib/xzembed/$(DEPDIR)/$(am__dirstamp) +lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT): \ + lib/xzembed/$(am__dirstamp) \ + lib/xzembed/$(DEPDIR)/$(am__dirstamp) +xzio.module$(EXEEXT): $(xzio_module_OBJECTS) $(xzio_module_DEPENDENCIES) + @rm -f xzio.module$(EXEEXT) + $(xzio_module_LINK) $(xzio_module_OBJECTS) $(xzio_module_LDADD) $(LIBS) +fs/zfs/$(am__dirstamp): + @$(MKDIR_P) fs/zfs + @: > fs/zfs/$(am__dirstamp) +fs/zfs/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) fs/zfs/$(DEPDIR) + @: > fs/zfs/$(DEPDIR)/$(am__dirstamp) +fs/zfs/zfs_module-zfs.$(OBJEXT): fs/zfs/$(am__dirstamp) \ + fs/zfs/$(DEPDIR)/$(am__dirstamp) +fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT): fs/zfs/$(am__dirstamp) \ + fs/zfs/$(DEPDIR)/$(am__dirstamp) +fs/zfs/zfs_module-zfs_sha256.$(OBJEXT): fs/zfs/$(am__dirstamp) \ + fs/zfs/$(DEPDIR)/$(am__dirstamp) +fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT): fs/zfs/$(am__dirstamp) \ + fs/zfs/$(DEPDIR)/$(am__dirstamp) +zfs.module$(EXEEXT): $(zfs_module_OBJECTS) $(zfs_module_DEPENDENCIES) + @rm -f zfs.module$(EXEEXT) + $(zfs_module_LINK) $(zfs_module_OBJECTS) $(zfs_module_LDADD) $(LIBS) +fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT): fs/zfs/$(am__dirstamp) \ + fs/zfs/$(DEPDIR)/$(am__dirstamp) +zfsinfo.module$(EXEEXT): $(zfsinfo_module_OBJECTS) $(zfsinfo_module_DEPENDENCIES) + @rm -f zfsinfo.module$(EXEEXT) + $(zfsinfo_module_LINK) $(zfsinfo_module_OBJECTS) $(zfsinfo_module_LDADD) $(LIBS) +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files +install-grubconfSCRIPTS: $(grubconf_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(grubconfdir)" || $(MKDIR_P) "$(DESTDIR)$(grubconfdir)" + @list='$(grubconf_SCRIPTS)'; test -n "$(grubconfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(grubconfdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(grubconfdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-grubconfSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(grubconf_SCRIPTS)'; test -n "$(grubconfdir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(grubconfdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(grubconfdir)" && rm -f $$files +install-pkglibSCRIPTS: $(pkglib_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_SCRIPTS)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkglibdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkglibdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-pkglibSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_SCRIPTS)'; test -n "$(pkglibdir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files +install-sbinSCRIPTS: $(sbin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f boot/decompressor/none_decompress_image-none.$(OBJEXT) + -rm -f boot/decompressor/xz_decompress_image-minilib.$(OBJEXT) + -rm -f boot/decompressor/xz_decompress_image-xz.$(OBJEXT) + -rm -f boot/i386/pc/boot_image-boot.$(OBJEXT) + -rm -f boot/i386/pc/cdboot_image-cdboot.$(OBJEXT) + -rm -f boot/i386/pc/diskboot_image-diskboot.$(OBJEXT) + -rm -f boot/i386/pc/lnxboot_image-lnxboot.$(OBJEXT) + -rm -f boot/i386/pc/pxeboot_image-pxeboot.$(OBJEXT) + -rm -f boot/i386/qemu/boot_image-boot.$(OBJEXT) + -rm -f boot/mips/none_decompress_image-startup_raw.$(OBJEXT) + -rm -f boot/mips/xz_decompress_image-startup_raw.$(OBJEXT) + -rm -f boot/mips/yeeloong/fwstart_image-fwstart.$(OBJEXT) + -rm -f boot/sparc64/ieee1275/boot_image-boot.$(OBJEXT) + -rm -f boot/sparc64/ieee1275/diskboot_image-diskboot.$(OBJEXT) + -rm -f bus/cs5536_module-cs5536.$(OBJEXT) + -rm -f bus/emu/pci_module-pci.$(OBJEXT) + -rm -f bus/kernel_exec-bonito.$(OBJEXT) + -rm -f bus/kernel_exec-cs5536.$(OBJEXT) + -rm -f bus/kernel_exec-pci.$(OBJEXT) + -rm -f bus/pci_module-pci.$(OBJEXT) + -rm -f bus/usb/emu/libusb_module-usb.$(OBJEXT) + -rm -f bus/usb/ohci_module-ohci.$(OBJEXT) + -rm -f bus/usb/serial/usbserial_common_module-common.$(OBJEXT) + -rm -f bus/usb/serial/usbserial_ftdi_module-ftdi.$(OBJEXT) + -rm -f bus/usb/serial/usbserial_pl2303_module-pl2303.$(OBJEXT) + -rm -f bus/usb/uhci_module-uhci.$(OBJEXT) + -rm -f bus/usb/usb_module-usb.$(OBJEXT) + -rm -f bus/usb/usb_module-usbhub.$(OBJEXT) + -rm -f bus/usb/usb_module-usbtrans.$(OBJEXT) + -rm -f commands/acpi_module-acpi.$(OBJEXT) + -rm -f commands/blocklist_module-blocklist.$(OBJEXT) + -rm -f commands/boot_module-boot.$(OBJEXT) + -rm -f commands/cat_module-cat.$(OBJEXT) + -rm -f commands/cmp_module-cmp.$(OBJEXT) + -rm -f commands/configfile_module-configfile.$(OBJEXT) + -rm -f commands/date_module-date.$(OBJEXT) + -rm -f commands/echo_module-echo.$(OBJEXT) + -rm -f commands/efi/acpi_module-acpi.$(OBJEXT) + -rm -f commands/efi/fixvideo_module-fixvideo.$(OBJEXT) + -rm -f commands/efi/loadbios_module-loadbios.$(OBJEXT) + -rm -f commands/efi/lsefimmap_module-lsefimmap.$(OBJEXT) + -rm -f commands/efi/lsefisystab_module-lsefisystab.$(OBJEXT) + -rm -f commands/efi/lssal_module-lssal.$(OBJEXT) + -rm -f commands/extcmd_module-extcmd.$(OBJEXT) + -rm -f commands/gptsync_module-gptsync.$(OBJEXT) + -rm -f commands/halt_module-acpihalt.$(OBJEXT) + -rm -f commands/halt_module-halt.$(OBJEXT) + -rm -f commands/hashsum_module-hashsum.$(OBJEXT) + -rm -f commands/hdparm_module-hdparm.$(OBJEXT) + -rm -f commands/help_module-help.$(OBJEXT) + -rm -f commands/hexdump_module-hexdump.$(OBJEXT) + -rm -f commands/i386/cmostest_module-cmostest.$(OBJEXT) + -rm -f commands/i386/cpuid_module-cpuid.$(OBJEXT) + -rm -f commands/i386/pc/acpi_module-acpi.$(OBJEXT) + -rm -f commands/i386/pc/drivemap_module-drivemap.$(OBJEXT) + -rm -f commands/i386/pc/drivemap_module-drivemap_int13h.$(OBJEXT) + -rm -f commands/i386/pc/halt_module-halt.$(OBJEXT) + -rm -f commands/i386/pc/lsapm_module-lsapm.$(OBJEXT) + -rm -f commands/i386/pc/play_module-play.$(OBJEXT) + -rm -f commands/i386/pc/pxecmd_module-pxecmd.$(OBJEXT) + -rm -f commands/i386/pc/sendkey_module-sendkey.$(OBJEXT) + -rm -f commands/ieee1275/suspend_module-suspend.$(OBJEXT) + -rm -f commands/iorw_module-iorw.$(OBJEXT) + -rm -f commands/kernel_exec-boot.$(OBJEXT) + -rm -f commands/kernel_exec-extcmd.$(OBJEXT) + -rm -f commands/kernel_exec-keylayouts.$(OBJEXT) + -rm -f commands/keylayouts_module-keylayouts.$(OBJEXT) + -rm -f commands/keystatus_module-keystatus.$(OBJEXT) + -rm -f commands/legacycfg_module-legacycfg.$(OBJEXT) + -rm -f commands/loadenv_module-loadenv.$(OBJEXT) + -rm -f commands/ls_module-ls.$(OBJEXT) + -rm -f commands/lsacpi_module-lsacpi.$(OBJEXT) + -rm -f commands/lsmmap_module-lsmmap.$(OBJEXT) + -rm -f commands/lspci_module-lspci.$(OBJEXT) + -rm -f commands/memrw_module-memrw.$(OBJEXT) + -rm -f commands/minicmd_module-minicmd.$(OBJEXT) + -rm -f commands/mips/yeeloong/lsspd_module-lsspd.$(OBJEXT) + -rm -f commands/normal_module-menuentry.$(OBJEXT) + -rm -f commands/parttool_module-parttool.$(OBJEXT) + -rm -f commands/password_module-password.$(OBJEXT) + -rm -f commands/password_pbkdf2_module-password_pbkdf2.$(OBJEXT) + -rm -f commands/pci_module-lspci.$(OBJEXT) + -rm -f commands/probe_module-probe.$(OBJEXT) + -rm -f commands/read_module-read.$(OBJEXT) + -rm -f commands/reboot_module-reboot.$(OBJEXT) + -rm -f commands/regexp_module-regexp.$(OBJEXT) + -rm -f commands/regexp_module-wildcard.$(OBJEXT) + -rm -f commands/search_fs_file_module-search_file.$(OBJEXT) + -rm -f commands/search_fs_uuid_module-search_uuid.$(OBJEXT) + -rm -f commands/search_label_module-search_label.$(OBJEXT) + -rm -f commands/search_module-search_wrap.$(OBJEXT) + -rm -f commands/setpci_module-setpci.$(OBJEXT) + -rm -f commands/sleep_module-sleep.$(OBJEXT) + -rm -f commands/terminal_module-terminal.$(OBJEXT) + -rm -f commands/test_module-test.$(OBJEXT) + -rm -f commands/testload_module-testload.$(OBJEXT) + -rm -f commands/true_module-true.$(OBJEXT) + -rm -f commands/usbtest_module-usbtest.$(OBJEXT) + -rm -f commands/videoinfo_module-videoinfo.$(OBJEXT) + -rm -f commands/videotest_module-videotest.$(OBJEXT) + -rm -f commands/xnu_uuid_module-xnu_uuid.$(OBJEXT) + -rm -f disk/ata_module-ata.$(OBJEXT) + -rm -f disk/ata_pthru_module-ata_pthru.$(OBJEXT) + -rm -f disk/dm_nv_module-dmraid_nvidia.$(OBJEXT) + -rm -f disk/efi/kernel_exec-efidisk.$(OBJEXT) + -rm -f disk/i386/pc/biosdisk_module-biosdisk.$(OBJEXT) + -rm -f disk/ieee1275/kernel_exec-ofdisk.$(OBJEXT) + -rm -f disk/ieee1275/nand_module-nand.$(OBJEXT) + -rm -f disk/kernel_exec-host.$(OBJEXT) + -rm -f disk/loopback_module-loopback.$(OBJEXT) + -rm -f disk/lvm_module-lvm.$(OBJEXT) + -rm -f disk/mdraid09_module-mdraid_linux.$(OBJEXT) + -rm -f disk/mdraid1x_module-mdraid1x_linux.$(OBJEXT) + -rm -f disk/memdisk_module-memdisk.$(OBJEXT) + -rm -f disk/raid5rec_module-raid5_recover.$(OBJEXT) + -rm -f disk/raid6rec_module-raid6_recover.$(OBJEXT) + -rm -f disk/raid_module-raid.$(OBJEXT) + -rm -f disk/scsi_module-scsi.$(OBJEXT) + -rm -f disk/usbms_module-usbms.$(OBJEXT) + -rm -f efiemu/efiemu_module-loadcore32.$(OBJEXT) + -rm -f efiemu/efiemu_module-loadcore64.$(OBJEXT) + -rm -f efiemu/efiemu_module-loadcore_common.$(OBJEXT) + -rm -f efiemu/efiemu_module-main.$(OBJEXT) + -rm -f efiemu/efiemu_module-mm.$(OBJEXT) + -rm -f efiemu/efiemu_module-pnvram.$(OBJEXT) + -rm -f efiemu/efiemu_module-prepare32.$(OBJEXT) + -rm -f efiemu/efiemu_module-prepare64.$(OBJEXT) + -rm -f efiemu/efiemu_module-symbols.$(OBJEXT) + -rm -f efiemu/i386/efiemu_module-coredetect.$(OBJEXT) + -rm -f efiemu/i386/efiemu_module-loadcore32.$(OBJEXT) + -rm -f efiemu/i386/efiemu_module-loadcore64.$(OBJEXT) + -rm -f efiemu/i386/efiemu_module-nocfgtables.$(OBJEXT) + -rm -f efiemu/i386/pc/efiemu_module-cfgtables.$(OBJEXT) + -rm -f font/font_module-font.$(OBJEXT) + -rm -f font/font_module-font_cmd.$(OBJEXT) + -rm -f font/kernel_exec-font.$(OBJEXT) + -rm -f font/kernel_exec-font_cmd.$(OBJEXT) + -rm -f fs/affs_module-affs.$(OBJEXT) + -rm -f fs/afs_be_module-afs_be.$(OBJEXT) + -rm -f fs/afs_module-afs.$(OBJEXT) + -rm -f fs/befs_be_module-befs_be.$(OBJEXT) + -rm -f fs/befs_module-befs.$(OBJEXT) + -rm -f fs/btrfs_module-btrfs.$(OBJEXT) + -rm -f fs/cpio_module-cpio.$(OBJEXT) + -rm -f fs/ext2_module-ext2.$(OBJEXT) + -rm -f fs/fat_module-fat.$(OBJEXT) + -rm -f fs/fshelp_module-fshelp.$(OBJEXT) + -rm -f fs/hfs_module-hfs.$(OBJEXT) + -rm -f fs/hfsplus_module-hfsplus.$(OBJEXT) + -rm -f fs/i386/pc/pxe_module-pxe.$(OBJEXT) + -rm -f fs/iso9660_module-iso9660.$(OBJEXT) + -rm -f fs/jfs_module-jfs.$(OBJEXT) + -rm -f fs/minix2_module-minix2.$(OBJEXT) + -rm -f fs/minix_module-minix.$(OBJEXT) + -rm -f fs/nilfs2_module-nilfs2.$(OBJEXT) + -rm -f fs/ntfs_module-ntfs.$(OBJEXT) + -rm -f fs/ntfscomp_module-ntfscomp.$(OBJEXT) + -rm -f fs/reiserfs_module-reiserfs.$(OBJEXT) + -rm -f fs/sfs_module-sfs.$(OBJEXT) + -rm -f fs/tar_module-tar.$(OBJEXT) + -rm -f fs/udf_module-udf.$(OBJEXT) + -rm -f fs/ufs1_module-ufs.$(OBJEXT) + -rm -f fs/ufs2_module-ufs2.$(OBJEXT) + -rm -f fs/xfs_module-xfs.$(OBJEXT) + -rm -f fs/zfs/zfs_module-zfs.$(OBJEXT) + -rm -f fs/zfs/zfs_module-zfs_fletcher.$(OBJEXT) + -rm -f fs/zfs/zfs_module-zfs_lzjb.$(OBJEXT) + -rm -f fs/zfs/zfs_module-zfs_sha256.$(OBJEXT) + -rm -f fs/zfs/zfsinfo_module-zfsinfo.$(OBJEXT) + -rm -f gettext/gettext_module-gettext.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-font.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gfxmenu.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_box.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_canvas.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_circular_progress.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_image.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_label.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_list.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_progress_bar.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_string_util.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-gui_util.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-icon_manager.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-model.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-named_colors.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-theme_loader.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-view.$(OBJEXT) + -rm -f gfxmenu/gfxmenu_module-widget-box.$(OBJEXT) + -rm -f gnulib/kernel_exec-error.$(OBJEXT) + -rm -f gnulib/kernel_exec-progname.$(OBJEXT) + -rm -f gnulib/libgnulib_a-regex.$(OBJEXT) + -rm -f hello/hello_module-hello.$(OBJEXT) + -rm -f hook/datehook_module-datehook.$(OBJEXT) + -rm -f io/bufio_module-bufio.$(OBJEXT) + -rm -f io/gzio_module-gzio.$(OBJEXT) + -rm -f io/kernel_exec-bufio.$(OBJEXT) + -rm -f io/xzio_module-xzio.$(OBJEXT) + -rm -f kern/efi/kernel_exec-efi.$(OBJEXT) + -rm -f kern/efi/kernel_exec-init.$(OBJEXT) + -rm -f kern/efi/kernel_exec-mm.$(OBJEXT) + -rm -f kern/elf_module-elf.$(OBJEXT) + -rm -f kern/emu/grub_emu-full.$(OBJEXT) + -rm -f kern/emu/grub_emu_lite-lite.$(OBJEXT) + -rm -f kern/emu/kernel_exec-cache.$(OBJEXT) + -rm -f kern/emu/kernel_exec-console.$(OBJEXT) + -rm -f kern/emu/kernel_exec-getroot.$(OBJEXT) + -rm -f kern/emu/kernel_exec-hostdisk.$(OBJEXT) + -rm -f kern/emu/kernel_exec-hostfs.$(OBJEXT) + -rm -f kern/emu/kernel_exec-main.$(OBJEXT) + -rm -f kern/emu/kernel_exec-misc.$(OBJEXT) + -rm -f kern/emu/kernel_exec-mm.$(OBJEXT) + -rm -f kern/emu/kernel_exec-time.$(OBJEXT) + -rm -f kern/generic/kernel_exec-millisleep.$(OBJEXT) + -rm -f kern/generic/kernel_exec-rtc_get_time_ms.$(OBJEXT) + -rm -f kern/i386/coreboot/kernel_exec-init.$(OBJEXT) + -rm -f kern/i386/coreboot/kernel_exec-mmap.$(OBJEXT) + -rm -f kern/i386/coreboot/kernel_exec-startup.$(OBJEXT) + -rm -f kern/i386/efi/kernel_exec-init.$(OBJEXT) + -rm -f kern/i386/efi/kernel_exec-startup.$(OBJEXT) + -rm -f kern/i386/ieee1275/kernel_exec-startup.$(OBJEXT) + -rm -f kern/i386/kernel_exec-dl.$(OBJEXT) + -rm -f kern/i386/kernel_exec-multiboot_mmap.$(OBJEXT) + -rm -f kern/i386/kernel_exec-pit.$(OBJEXT) + -rm -f kern/i386/kernel_exec-tsc.$(OBJEXT) + -rm -f kern/i386/pc/kernel_exec-init.$(OBJEXT) + -rm -f kern/i386/pc/kernel_exec-mmap.$(OBJEXT) + -rm -f kern/i386/pc/kernel_exec-startup.$(OBJEXT) + -rm -f kern/i386/qemu/kernel_exec-init.$(OBJEXT) + -rm -f kern/i386/qemu/kernel_exec-mmap.$(OBJEXT) + -rm -f kern/i386/qemu/kernel_exec-startup.$(OBJEXT) + -rm -f kern/ieee1275/kernel_exec-cmain.$(OBJEXT) + -rm -f kern/ieee1275/kernel_exec-ieee1275.$(OBJEXT) + -rm -f kern/ieee1275/kernel_exec-init.$(OBJEXT) + -rm -f kern/ieee1275/kernel_exec-mmap.$(OBJEXT) + -rm -f kern/ieee1275/kernel_exec-openfw.$(OBJEXT) + -rm -f kern/kernel_exec-command.$(OBJEXT) + -rm -f kern/kernel_exec-corecmd.$(OBJEXT) + -rm -f kern/kernel_exec-device.$(OBJEXT) + -rm -f kern/kernel_exec-disk.$(OBJEXT) + -rm -f kern/kernel_exec-dl.$(OBJEXT) + -rm -f kern/kernel_exec-env.$(OBJEXT) + -rm -f kern/kernel_exec-err.$(OBJEXT) + -rm -f kern/kernel_exec-file.$(OBJEXT) + -rm -f kern/kernel_exec-fs.$(OBJEXT) + -rm -f kern/kernel_exec-list.$(OBJEXT) + -rm -f kern/kernel_exec-main.$(OBJEXT) + -rm -f kern/kernel_exec-misc.$(OBJEXT) + -rm -f kern/kernel_exec-mm.$(OBJEXT) + -rm -f kern/kernel_exec-parser.$(OBJEXT) + -rm -f kern/kernel_exec-partition.$(OBJEXT) + -rm -f kern/kernel_exec-rescue_parser.$(OBJEXT) + -rm -f kern/kernel_exec-rescue_reader.$(OBJEXT) + -rm -f kern/kernel_exec-term.$(OBJEXT) + -rm -f kern/kernel_exec-time.$(OBJEXT) + -rm -f kern/mips/kernel_exec-cache.$(OBJEXT) + -rm -f kern/mips/kernel_exec-dl.$(OBJEXT) + -rm -f kern/mips/kernel_exec-init.$(OBJEXT) + -rm -f kern/mips/kernel_exec-startup.$(OBJEXT) + -rm -f kern/mips/yeeloong/kernel_exec-init.$(OBJEXT) + -rm -f kern/powerpc/ieee1275/kernel_exec-startup.$(OBJEXT) + -rm -f kern/powerpc/kernel_exec-cache.$(OBJEXT) + -rm -f kern/powerpc/kernel_exec-dl.$(OBJEXT) + -rm -f kern/sparc64/ieee1275/kernel_exec-crt0.$(OBJEXT) + -rm -f kern/sparc64/ieee1275/kernel_exec-ieee1275.$(OBJEXT) + -rm -f kern/sparc64/ieee1275/kernel_exec-init.$(OBJEXT) + -rm -f kern/sparc64/kernel_exec-cache.$(OBJEXT) + -rm -f kern/sparc64/kernel_exec-dl.$(OBJEXT) + -rm -f kern/x86_64/efi/kernel_exec-callwrap.$(OBJEXT) + -rm -f kern/x86_64/efi/kernel_exec-startup.$(OBJEXT) + -rm -f kern/x86_64/kernel_exec-dl.$(OBJEXT) + -rm -f lib/btrfs_module-crc.$(OBJEXT) + -rm -f lib/crypto_module-crypto.$(OBJEXT) + -rm -f lib/datetime_module-cmos_datetime.$(OBJEXT) + -rm -f lib/efi/datetime_module-datetime.$(OBJEXT) + -rm -f lib/efi/halt_module-halt.$(OBJEXT) + -rm -f lib/efi/relocator_module-relocator.$(OBJEXT) + -rm -f lib/emu/halt_module-halt.$(OBJEXT) + -rm -f lib/extcmd_module-arg.$(OBJEXT) + -rm -f lib/hdparm_module-hexdump.$(OBJEXT) + -rm -f lib/hexdump_module-hexdump.$(OBJEXT) + -rm -f lib/i386/halt_module-halt.$(OBJEXT) + -rm -f lib/i386/pc/boot_module-biosnum.$(OBJEXT) + -rm -f lib/i386/pc/legacycfg_module-vesa_modes_table.$(OBJEXT) + -rm -f lib/i386/pc/linux_module-vesa_modes_table.$(OBJEXT) + -rm -f lib/i386/relocator_module-relocator.$(OBJEXT) + -rm -f lib/i386/relocator_module-relocator16.$(OBJEXT) + -rm -f lib/i386/relocator_module-relocator32.$(OBJEXT) + -rm -f lib/i386/relocator_module-relocator64.$(OBJEXT) + -rm -f lib/i386/relocator_module-relocator_asm.$(OBJEXT) + -rm -f lib/ieee1275/datetime_module-datetime.$(OBJEXT) + -rm -f lib/ieee1275/halt_module-halt.$(OBJEXT) + -rm -f lib/ieee1275/relocator_module-relocator.$(OBJEXT) + -rm -f lib/kernel_exec-arg.$(OBJEXT) + -rm -f lib/legacycfg_module-legacy_parse.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_crc_module-crc.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_des_module-des.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_md4_module-md4.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_md5_module-md5.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_seed_module-seed.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.$(OBJEXT) + -rm -f lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.$(OBJEXT) + -rm -f lib/linux16_module-cmdline.$(OBJEXT) + -rm -f lib/linux_module-cmdline.$(OBJEXT) + -rm -f lib/loadenv_module-envblk.$(OBJEXT) + -rm -f lib/mips/relocator_module-relocator.$(OBJEXT) + -rm -f lib/mips/relocator_module-relocator_asm.$(OBJEXT) + -rm -f lib/pbkdf2_module-pbkdf2.$(OBJEXT) + -rm -f lib/powerpc/relocator_module-relocator.$(OBJEXT) + -rm -f lib/powerpc/relocator_module-relocator_asm.$(OBJEXT) + -rm -f lib/relocator_module-relocator.$(OBJEXT) + -rm -f lib/setjmp_module-setjmp.$(OBJEXT) + -rm -f lib/x86_64/relocator_module-relocator_asm.$(OBJEXT) + -rm -f lib/xzembed/xz_decompress_image-xz_dec_bcj.$(OBJEXT) + -rm -f lib/xzembed/xz_decompress_image-xz_dec_lzma2.$(OBJEXT) + -rm -f lib/xzembed/xz_decompress_image-xz_dec_stream.$(OBJEXT) + -rm -f lib/xzembed/xzio_module-xz_dec_bcj.$(OBJEXT) + -rm -f lib/xzembed/xzio_module-xz_dec_lzma2.$(OBJEXT) + -rm -f lib/xzembed/xzio_module-xz_dec_stream.$(OBJEXT) + -rm -f loader/aout_module-aout.$(OBJEXT) + -rm -f loader/efi/appleldr_module-appleloader.$(OBJEXT) + -rm -f loader/efi/chain_module-chainloader.$(OBJEXT) + -rm -f loader/i386/bsd_module-bsd.$(OBJEXT) + -rm -f loader/i386/bsd_module-bsd32.$(OBJEXT) + -rm -f loader/i386/bsd_module-bsd64.$(OBJEXT) + -rm -f loader/i386/linux_module-linux.$(OBJEXT) + -rm -f loader/i386/multiboot_module-multiboot_mbi.$(OBJEXT) + -rm -f loader/i386/pc/chain_module-chainloader.$(OBJEXT) + -rm -f loader/i386/pc/linux16_module-linux.$(OBJEXT) + -rm -f loader/i386/pc/ntldr_module-ntldr.$(OBJEXT) + -rm -f loader/i386/xnu_module-xnu.$(OBJEXT) + -rm -f loader/mips/linux_module-linux.$(OBJEXT) + -rm -f loader/multiboot2_module-multiboot.$(OBJEXT) + -rm -f loader/multiboot2_module-multiboot_mbi2.$(OBJEXT) + -rm -f loader/multiboot_module-multiboot.$(OBJEXT) + -rm -f loader/powerpc/ieee1275/linux_module-linux.$(OBJEXT) + -rm -f loader/sparc64/ieee1275/linux_module-linux.$(OBJEXT) + -rm -f loader/xnu_module-macho.$(OBJEXT) + -rm -f loader/xnu_module-macho32.$(OBJEXT) + -rm -f loader/xnu_module-macho64.$(OBJEXT) + -rm -f loader/xnu_module-xnu.$(OBJEXT) + -rm -f loader/xnu_module-xnu_resume.$(OBJEXT) + -rm -f mmap/efi/mmap_module-mmap.$(OBJEXT) + -rm -f mmap/i386/mmap_module-mmap.$(OBJEXT) + -rm -f mmap/i386/mmap_module-uppermem.$(OBJEXT) + -rm -f mmap/i386/pc/mmap_module-mmap.$(OBJEXT) + -rm -f mmap/i386/pc/mmap_module-mmap_helper.$(OBJEXT) + -rm -f mmap/mips/yeeloong/mmap_module-uppermem.$(OBJEXT) + -rm -f mmap/mmap_module-mmap.$(OBJEXT) + -rm -f normal/normal_module-auth.$(OBJEXT) + -rm -f normal/normal_module-autofs.$(OBJEXT) + -rm -f normal/normal_module-charset.$(OBJEXT) + -rm -f normal/normal_module-cmdline.$(OBJEXT) + -rm -f normal/normal_module-color.$(OBJEXT) + -rm -f normal/normal_module-completion.$(OBJEXT) + -rm -f normal/normal_module-context.$(OBJEXT) + -rm -f normal/normal_module-crypto.$(OBJEXT) + -rm -f normal/normal_module-datetime.$(OBJEXT) + -rm -f normal/normal_module-dyncmd.$(OBJEXT) + -rm -f normal/normal_module-main.$(OBJEXT) + -rm -f normal/normal_module-menu.$(OBJEXT) + -rm -f normal/normal_module-menu_entry.$(OBJEXT) + -rm -f normal/normal_module-menu_text.$(OBJEXT) + -rm -f normal/normal_module-misc.$(OBJEXT) + -rm -f normal/normal_module-term.$(OBJEXT) + -rm -f partmap/part_acorn_module-acorn.$(OBJEXT) + -rm -f partmap/part_amiga_module-amiga.$(OBJEXT) + -rm -f partmap/part_apple_module-apple.$(OBJEXT) + -rm -f partmap/part_bsd_module-bsdlabel.$(OBJEXT) + -rm -f partmap/part_gpt_module-gpt.$(OBJEXT) + -rm -f partmap/part_msdos_module-msdos.$(OBJEXT) + -rm -f partmap/part_sun_module-sun.$(OBJEXT) + -rm -f partmap/part_sunpc_module-sunpc.$(OBJEXT) + -rm -f parttool/msdospart_module-msdospart.$(OBJEXT) + -rm -f script/normal_module-argv.$(OBJEXT) + -rm -f script/normal_module-execute.$(OBJEXT) + -rm -f script/normal_module-function.$(OBJEXT) + -rm -f script/normal_module-lexer.$(OBJEXT) + -rm -f script/normal_module-main.$(OBJEXT) + -rm -f script/normal_module-script.$(OBJEXT) + -rm -f term/at_keyboard_module-at_keyboard.$(OBJEXT) + -rm -f term/efi/kernel_exec-console.$(OBJEXT) + -rm -f term/gfxterm_module-gfxterm.$(OBJEXT) + -rm -f term/i386/kernel_exec-vga_common.$(OBJEXT) + -rm -f term/i386/pc/kernel_exec-console.$(OBJEXT) + -rm -f term/i386/pc/kernel_exec-vga_text.$(OBJEXT) + -rm -f term/i386/pc/vga_text_module-vga_text.$(OBJEXT) + -rm -f term/i386/vga_text_module-vga_common.$(OBJEXT) + -rm -f term/ieee1275/kernel_exec-ofconsole.$(OBJEXT) + -rm -f term/kernel_exec-at_keyboard.$(OBJEXT) + -rm -f term/kernel_exec-gfxterm.$(OBJEXT) + -rm -f term/kernel_exec-ns8250.$(OBJEXT) + -rm -f term/kernel_exec-serial.$(OBJEXT) + -rm -f term/kernel_exec-terminfo.$(OBJEXT) + -rm -f term/kernel_exec-tparm.$(OBJEXT) + -rm -f term/serial_module-ns8250.$(OBJEXT) + -rm -f term/serial_module-serial.$(OBJEXT) + -rm -f term/terminfo_module-terminfo.$(OBJEXT) + -rm -f term/terminfo_module-tparm.$(OBJEXT) + -rm -f term/usb_keyboard_module-usb_keyboard.$(OBJEXT) + -rm -f tests/example_functional_test_module-example_functional_test.$(OBJEXT) + -rm -f tests/lib/functional_test_module-functional_test.$(OBJEXT) + -rm -f tests/lib/functional_test_module-test.$(OBJEXT) + -rm -f tests/test_blockarg_module-test_blockarg.$(OBJEXT) + -rm -f video/bitmap_module-bitmap.$(OBJEXT) + -rm -f video/bitmap_scale_module-bitmap_scale.$(OBJEXT) + -rm -f video/efi_gop_module-efi_gop.$(OBJEXT) + -rm -f video/efi_uga_module-efi_uga.$(OBJEXT) + -rm -f video/emu/sdl_module-sdl.$(OBJEXT) + -rm -f video/fb/kernel_exec-fbblit.$(OBJEXT) + -rm -f video/fb/kernel_exec-fbfill.$(OBJEXT) + -rm -f video/fb/kernel_exec-fbutil.$(OBJEXT) + -rm -f video/fb/kernel_exec-video_fb.$(OBJEXT) + -rm -f video/fb/video_fb_module-fbblit.$(OBJEXT) + -rm -f video/fb/video_fb_module-fbfill.$(OBJEXT) + -rm -f video/fb/video_fb_module-fbutil.$(OBJEXT) + -rm -f video/fb/video_fb_module-video_fb.$(OBJEXT) + -rm -f video/i386/pc/vbe_module-vbe.$(OBJEXT) + -rm -f video/i386/pc/vga_module-vga.$(OBJEXT) + -rm -f video/ieee1275_fb_module-ieee1275.$(OBJEXT) + -rm -f video/kernel_exec-bitmap.$(OBJEXT) + -rm -f video/kernel_exec-bitmap_scale.$(OBJEXT) + -rm -f video/kernel_exec-sm712.$(OBJEXT) + -rm -f video/kernel_exec-video.$(OBJEXT) + -rm -f video/readers/jpeg_module-jpeg.$(OBJEXT) + -rm -f video/readers/png_module-png.$(OBJEXT) + -rm -f video/readers/tga_module-tga.$(OBJEXT) + -rm -f video/video_bochs_module-bochs.$(OBJEXT) + -rm -f video/video_cirrus_module-cirrus.$(OBJEXT) + -rm -f video/video_module-video.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/grub_emu-grub_emu_init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/grub_emu_lite-symlist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kernel_exec-symlist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/normal_module-grub_script.tab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/normal_module-grub_script.yy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/normal_module-unidata.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/trig_module-trigtables.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/decompressor/$(DEPDIR)/none_decompress_image-none.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/i386/pc/$(DEPDIR)/boot_image-boot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/i386/qemu/$(DEPDIR)/boot_image-boot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/$(DEPDIR)/cs5536_module-cs5536.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/$(DEPDIR)/kernel_exec-bonito.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/$(DEPDIR)/kernel_exec-cs5536.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/$(DEPDIR)/kernel_exec-pci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/$(DEPDIR)/pci_module-pci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/emu/$(DEPDIR)/pci_module-pci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/$(DEPDIR)/ohci_module-ohci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/$(DEPDIR)/uhci_module-uhci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/$(DEPDIR)/usb_module-usb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/$(DEPDIR)/usb_module-usbhub.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/$(DEPDIR)/usb_module-usbtrans.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/emu/$(DEPDIR)/libusb_module-usb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/acpi_module-acpi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/blocklist_module-blocklist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/boot_module-boot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/cat_module-cat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/cmp_module-cmp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/configfile_module-configfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/date_module-date.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/echo_module-echo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/extcmd_module-extcmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/gptsync_module-gptsync.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/halt_module-acpihalt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/halt_module-halt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/hashsum_module-hashsum.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/hdparm_module-hdparm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/help_module-help.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/hexdump_module-hexdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/iorw_module-iorw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/kernel_exec-boot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/kernel_exec-extcmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/kernel_exec-keylayouts.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/keylayouts_module-keylayouts.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/keystatus_module-keystatus.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/legacycfg_module-legacycfg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/loadenv_module-loadenv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/ls_module-ls.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/lsacpi_module-lsacpi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/lsmmap_module-lsmmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/lspci_module-lspci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/memrw_module-memrw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/minicmd_module-minicmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/normal_module-menuentry.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/parttool_module-parttool.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/password_module-password.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/pci_module-lspci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/probe_module-probe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/read_module-read.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/reboot_module-reboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/regexp_module-regexp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/regexp_module-wildcard.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/search_fs_file_module-search_file.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/search_label_module-search_label.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/search_module-search_wrap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/setpci_module-setpci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/sleep_module-sleep.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/terminal_module-terminal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/test_module-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/testload_module-testload.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/true_module-true.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/usbtest_module-usbtest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/videoinfo_module-videoinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/videotest_module-videotest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/efi/$(DEPDIR)/acpi_module-acpi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/efi/$(DEPDIR)/loadbios_module-loadbios.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/efi/$(DEPDIR)/lssal_module-lssal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/$(DEPDIR)/cmostest_module-cmostest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/$(DEPDIR)/cpuid_module-cpuid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/halt_module-halt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/play_module-play.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/ata_module-ata.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/kernel_exec-host.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/loopback_module-loopback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/lvm_module-lvm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/memdisk_module-memdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/raid5rec_module-raid5_recover.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/raid6rec_module-raid6_recover.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/raid_module-raid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/scsi_module-scsi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/$(DEPDIR)/usbms_module-usbms.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/efi/$(DEPDIR)/kernel_exec-efidisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk/ieee1275/$(DEPDIR)/nand_module-nand.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-loadcore32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-loadcore64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-mm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-pnvram.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-prepare32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-prepare64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/$(DEPDIR)/efiemu_module-symbols.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@font/$(DEPDIR)/font_module-font.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@font/$(DEPDIR)/font_module-font_cmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@font/$(DEPDIR)/kernel_exec-font.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@font/$(DEPDIR)/kernel_exec-font_cmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/affs_module-affs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/afs_be_module-afs_be.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/afs_module-afs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/befs_be_module-befs_be.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/befs_module-befs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/btrfs_module-btrfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/cpio_module-cpio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/ext2_module-ext2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/fat_module-fat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/fshelp_module-fshelp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/hfs_module-hfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/hfsplus_module-hfsplus.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/iso9660_module-iso9660.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/jfs_module-jfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/minix2_module-minix2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/minix_module-minix.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/nilfs2_module-nilfs2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/ntfs_module-ntfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/reiserfs_module-reiserfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/sfs_module-sfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/tar_module-tar.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/udf_module-udf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/ufs1_module-ufs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/ufs2_module-ufs2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/$(DEPDIR)/xfs_module-xfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/zfs/$(DEPDIR)/zfs_module-zfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gettext/$(DEPDIR)/gettext_module-gettext.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-font.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-model.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-view.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gnulib/$(DEPDIR)/kernel_exec-error.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gnulib/$(DEPDIR)/kernel_exec-progname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gnulib/$(DEPDIR)/libgnulib_a-regex.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@hello/$(DEPDIR)/hello_module-hello.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@hook/$(DEPDIR)/datehook_module-datehook.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@io/$(DEPDIR)/bufio_module-bufio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@io/$(DEPDIR)/gzio_module-gzio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@io/$(DEPDIR)/kernel_exec-bufio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@io/$(DEPDIR)/xzio_module-xzio.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/elf_module-elf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-command.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-corecmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-device.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-disk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-dl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-env.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-err.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-file.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-fs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-mm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-parser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-partition.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-rescue_parser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-rescue_reader.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-term.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/$(DEPDIR)/kernel_exec-time.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-efi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/efi/$(DEPDIR)/kernel_exec-mm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/grub_emu-full.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/grub_emu_lite-lite.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-cache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-console.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-getroot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-hostfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-mm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/emu/$(DEPDIR)/kernel_exec-time.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/generic/$(DEPDIR)/kernel_exec-millisleep.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/$(DEPDIR)/kernel_exec-dl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/$(DEPDIR)/kernel_exec-pit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/$(DEPDIR)/kernel_exec-tsc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/efi/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/pc/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/ieee1275/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/mips/$(DEPDIR)/kernel_exec-cache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/mips/$(DEPDIR)/kernel_exec-dl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/mips/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/mips/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/powerpc/$(DEPDIR)/kernel_exec-cache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/powerpc/$(DEPDIR)/kernel_exec-dl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/sparc64/$(DEPDIR)/kernel_exec-cache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/sparc64/$(DEPDIR)/kernel_exec-dl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/x86_64/$(DEPDIR)/kernel_exec-dl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/btrfs_module-crc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/crypto_module-crypto.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/datetime_module-cmos_datetime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/extcmd_module-arg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/hdparm_module-hexdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/hexdump_module-hexdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/kernel_exec-arg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/legacycfg_module-legacy_parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/linux16_module-cmdline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/linux_module-cmdline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/loadenv_module-envblk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/relocator_module-relocator.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/setjmp_module-setjmp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/efi/$(DEPDIR)/datetime_module-datetime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/efi/$(DEPDIR)/halt_module-halt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/efi/$(DEPDIR)/relocator_module-relocator.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/emu/$(DEPDIR)/halt_module-halt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/$(DEPDIR)/halt_module-halt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/$(DEPDIR)/relocator_module-relocator.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/$(DEPDIR)/relocator_module-relocator16.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/$(DEPDIR)/relocator_module-relocator32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/$(DEPDIR)/relocator_module-relocator64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/ieee1275/$(DEPDIR)/halt_module-halt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/mips/$(DEPDIR)/relocator_module-relocator.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/powerpc/$(DEPDIR)/relocator_module-relocator.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/aout_module-aout.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/multiboot2_module-multiboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/multiboot_module-multiboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/xnu_module-macho.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/xnu_module-macho32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/xnu_module-macho64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/xnu_module-xnu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/$(DEPDIR)/xnu_module-xnu_resume.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/efi/$(DEPDIR)/appleldr_module-appleloader.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/efi/$(DEPDIR)/chain_module-chainloader.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/$(DEPDIR)/bsd_module-bsd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/$(DEPDIR)/bsd_module-bsd32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/$(DEPDIR)/bsd_module-bsd64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/$(DEPDIR)/linux_module-linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/$(DEPDIR)/xnu_module-xnu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/pc/$(DEPDIR)/linux16_module-linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/mips/$(DEPDIR)/linux_module-linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/$(DEPDIR)/mmap_module-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/efi/$(DEPDIR)/mmap_module-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/i386/$(DEPDIR)/mmap_module-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/i386/$(DEPDIR)/mmap_module-uppermem.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-auth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-autofs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-charset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-cmdline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-color.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-completion.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-context.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-crypto.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-datetime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-dyncmd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-menu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-menu_entry.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-menu_text.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@normal/$(DEPDIR)/normal_module-term.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_acorn_module-acorn.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_amiga_module-amiga.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_apple_module-apple.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_gpt_module-gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_msdos_module-msdos.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_sun_module-sun.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@partmap/$(DEPDIR)/part_sunpc_module-sunpc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@parttool/$(DEPDIR)/msdospart_module-msdospart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@script/$(DEPDIR)/normal_module-argv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@script/$(DEPDIR)/normal_module-execute.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@script/$(DEPDIR)/normal_module-function.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@script/$(DEPDIR)/normal_module-lexer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@script/$(DEPDIR)/normal_module-main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@script/$(DEPDIR)/normal_module-script.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/at_keyboard_module-at_keyboard.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/gfxterm_module-gfxterm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/kernel_exec-at_keyboard.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/kernel_exec-gfxterm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/kernel_exec-ns8250.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/kernel_exec-serial.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/kernel_exec-terminfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/kernel_exec-tparm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/serial_module-ns8250.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/serial_module-serial.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/terminfo_module-terminfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/terminfo_module-tparm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/efi/$(DEPDIR)/kernel_exec-console.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/i386/$(DEPDIR)/kernel_exec-vga_common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/i386/$(DEPDIR)/vga_text_module-vga_common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/i386/pc/$(DEPDIR)/kernel_exec-console.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/lib/$(DEPDIR)/functional_test_module-functional_test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/lib/$(DEPDIR)/functional_test_module-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/bitmap_module-bitmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/efi_gop_module-efi_gop.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/efi_uga_module-efi_uga.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/kernel_exec-bitmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/kernel_exec-bitmap_scale.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/kernel_exec-sm712.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/kernel_exec-video.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/video_bochs_module-bochs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/video_cirrus_module-cirrus.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/$(DEPDIR)/video_module-video.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/emu/$(DEPDIR)/sdl_module-sdl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/kernel_exec-fbblit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/kernel_exec-fbfill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/kernel_exec-fbutil.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/kernel_exec-video_fb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/video_fb_module-fbblit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/video_fb_module-fbfill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/video_fb_module-fbutil.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/fb/$(DEPDIR)/video_fb_module-video_fb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/i386/pc/$(DEPDIR)/vbe_module-vbe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/i386/pc/$(DEPDIR)/vga_module-vga.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/readers/$(DEPDIR)/jpeg_module-jpeg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/readers/$(DEPDIR)/png_module-png.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@video/readers/$(DEPDIR)/tga_module-tga.Po@am__quote@ + +.S.o: +@am__fastdepCCAS_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ $< + +.S.obj: +@am__fastdepCCAS_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +boot/i386/pc/boot_image-boot.o: boot/i386/pc/boot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/boot_image-boot.o -MD -MP -MF boot/i386/pc/$(DEPDIR)/boot_image-boot.Tpo -c -o boot/i386/pc/boot_image-boot.o `test -f 'boot/i386/pc/boot.S' || echo '$(srcdir)/'`boot/i386/pc/boot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/boot_image-boot.Tpo boot/i386/pc/$(DEPDIR)/boot_image-boot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/boot.S' object='boot/i386/pc/boot_image-boot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/boot_image-boot.o `test -f 'boot/i386/pc/boot.S' || echo '$(srcdir)/'`boot/i386/pc/boot.S + +boot/i386/pc/boot_image-boot.obj: boot/i386/pc/boot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/boot_image-boot.obj -MD -MP -MF boot/i386/pc/$(DEPDIR)/boot_image-boot.Tpo -c -o boot/i386/pc/boot_image-boot.obj `if test -f 'boot/i386/pc/boot.S'; then $(CYGPATH_W) 'boot/i386/pc/boot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/boot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/boot_image-boot.Tpo boot/i386/pc/$(DEPDIR)/boot_image-boot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/boot.S' object='boot/i386/pc/boot_image-boot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/boot_image-boot.obj `if test -f 'boot/i386/pc/boot.S'; then $(CYGPATH_W) 'boot/i386/pc/boot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/boot.S'; fi` + +boot/i386/qemu/boot_image-boot.o: boot/i386/qemu/boot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/qemu/boot_image-boot.o -MD -MP -MF boot/i386/qemu/$(DEPDIR)/boot_image-boot.Tpo -c -o boot/i386/qemu/boot_image-boot.o `test -f 'boot/i386/qemu/boot.S' || echo '$(srcdir)/'`boot/i386/qemu/boot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/qemu/$(DEPDIR)/boot_image-boot.Tpo boot/i386/qemu/$(DEPDIR)/boot_image-boot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/qemu/boot.S' object='boot/i386/qemu/boot_image-boot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/qemu/boot_image-boot.o `test -f 'boot/i386/qemu/boot.S' || echo '$(srcdir)/'`boot/i386/qemu/boot.S + +boot/i386/qemu/boot_image-boot.obj: boot/i386/qemu/boot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/qemu/boot_image-boot.obj -MD -MP -MF boot/i386/qemu/$(DEPDIR)/boot_image-boot.Tpo -c -o boot/i386/qemu/boot_image-boot.obj `if test -f 'boot/i386/qemu/boot.S'; then $(CYGPATH_W) 'boot/i386/qemu/boot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/qemu/boot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/qemu/$(DEPDIR)/boot_image-boot.Tpo boot/i386/qemu/$(DEPDIR)/boot_image-boot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/qemu/boot.S' object='boot/i386/qemu/boot_image-boot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/qemu/boot_image-boot.obj `if test -f 'boot/i386/qemu/boot.S'; then $(CYGPATH_W) 'boot/i386/qemu/boot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/qemu/boot.S'; fi` + +boot/sparc64/ieee1275/boot_image-boot.o: boot/sparc64/ieee1275/boot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/sparc64/ieee1275/boot_image-boot.o -MD -MP -MF boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Tpo -c -o boot/sparc64/ieee1275/boot_image-boot.o `test -f 'boot/sparc64/ieee1275/boot.S' || echo '$(srcdir)/'`boot/sparc64/ieee1275/boot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Tpo boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/sparc64/ieee1275/boot.S' object='boot/sparc64/ieee1275/boot_image-boot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/sparc64/ieee1275/boot_image-boot.o `test -f 'boot/sparc64/ieee1275/boot.S' || echo '$(srcdir)/'`boot/sparc64/ieee1275/boot.S + +boot/sparc64/ieee1275/boot_image-boot.obj: boot/sparc64/ieee1275/boot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/sparc64/ieee1275/boot_image-boot.obj -MD -MP -MF boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Tpo -c -o boot/sparc64/ieee1275/boot_image-boot.obj `if test -f 'boot/sparc64/ieee1275/boot.S'; then $(CYGPATH_W) 'boot/sparc64/ieee1275/boot.S'; else $(CYGPATH_W) '$(srcdir)/boot/sparc64/ieee1275/boot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Tpo boot/sparc64/ieee1275/$(DEPDIR)/boot_image-boot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/sparc64/ieee1275/boot.S' object='boot/sparc64/ieee1275/boot_image-boot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_image_CPPFLAGS) $(CPPFLAGS) $(boot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/sparc64/ieee1275/boot_image-boot.obj `if test -f 'boot/sparc64/ieee1275/boot.S'; then $(CYGPATH_W) 'boot/sparc64/ieee1275/boot.S'; else $(CYGPATH_W) '$(srcdir)/boot/sparc64/ieee1275/boot.S'; fi` + +boot/i386/pc/cdboot_image-cdboot.o: boot/i386/pc/cdboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdboot_image_CPPFLAGS) $(CPPFLAGS) $(cdboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/cdboot_image-cdboot.o -MD -MP -MF boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Tpo -c -o boot/i386/pc/cdboot_image-cdboot.o `test -f 'boot/i386/pc/cdboot.S' || echo '$(srcdir)/'`boot/i386/pc/cdboot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Tpo boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/cdboot.S' object='boot/i386/pc/cdboot_image-cdboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdboot_image_CPPFLAGS) $(CPPFLAGS) $(cdboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/cdboot_image-cdboot.o `test -f 'boot/i386/pc/cdboot.S' || echo '$(srcdir)/'`boot/i386/pc/cdboot.S + +boot/i386/pc/cdboot_image-cdboot.obj: boot/i386/pc/cdboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdboot_image_CPPFLAGS) $(CPPFLAGS) $(cdboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/cdboot_image-cdboot.obj -MD -MP -MF boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Tpo -c -o boot/i386/pc/cdboot_image-cdboot.obj `if test -f 'boot/i386/pc/cdboot.S'; then $(CYGPATH_W) 'boot/i386/pc/cdboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/cdboot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Tpo boot/i386/pc/$(DEPDIR)/cdboot_image-cdboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/cdboot.S' object='boot/i386/pc/cdboot_image-cdboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cdboot_image_CPPFLAGS) $(CPPFLAGS) $(cdboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/cdboot_image-cdboot.obj `if test -f 'boot/i386/pc/cdboot.S'; then $(CYGPATH_W) 'boot/i386/pc/cdboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/cdboot.S'; fi` + +boot/i386/pc/diskboot_image-diskboot.o: boot/i386/pc/diskboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/diskboot_image-diskboot.o -MD -MP -MF boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Tpo -c -o boot/i386/pc/diskboot_image-diskboot.o `test -f 'boot/i386/pc/diskboot.S' || echo '$(srcdir)/'`boot/i386/pc/diskboot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Tpo boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/diskboot.S' object='boot/i386/pc/diskboot_image-diskboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/diskboot_image-diskboot.o `test -f 'boot/i386/pc/diskboot.S' || echo '$(srcdir)/'`boot/i386/pc/diskboot.S + +boot/i386/pc/diskboot_image-diskboot.obj: boot/i386/pc/diskboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/diskboot_image-diskboot.obj -MD -MP -MF boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Tpo -c -o boot/i386/pc/diskboot_image-diskboot.obj `if test -f 'boot/i386/pc/diskboot.S'; then $(CYGPATH_W) 'boot/i386/pc/diskboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/diskboot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Tpo boot/i386/pc/$(DEPDIR)/diskboot_image-diskboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/diskboot.S' object='boot/i386/pc/diskboot_image-diskboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/diskboot_image-diskboot.obj `if test -f 'boot/i386/pc/diskboot.S'; then $(CYGPATH_W) 'boot/i386/pc/diskboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/diskboot.S'; fi` + +boot/sparc64/ieee1275/diskboot_image-diskboot.o: boot/sparc64/ieee1275/diskboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/sparc64/ieee1275/diskboot_image-diskboot.o -MD -MP -MF boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Tpo -c -o boot/sparc64/ieee1275/diskboot_image-diskboot.o `test -f 'boot/sparc64/ieee1275/diskboot.S' || echo '$(srcdir)/'`boot/sparc64/ieee1275/diskboot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Tpo boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/sparc64/ieee1275/diskboot.S' object='boot/sparc64/ieee1275/diskboot_image-diskboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/sparc64/ieee1275/diskboot_image-diskboot.o `test -f 'boot/sparc64/ieee1275/diskboot.S' || echo '$(srcdir)/'`boot/sparc64/ieee1275/diskboot.S + +boot/sparc64/ieee1275/diskboot_image-diskboot.obj: boot/sparc64/ieee1275/diskboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/sparc64/ieee1275/diskboot_image-diskboot.obj -MD -MP -MF boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Tpo -c -o boot/sparc64/ieee1275/diskboot_image-diskboot.obj `if test -f 'boot/sparc64/ieee1275/diskboot.S'; then $(CYGPATH_W) 'boot/sparc64/ieee1275/diskboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/sparc64/ieee1275/diskboot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Tpo boot/sparc64/ieee1275/$(DEPDIR)/diskboot_image-diskboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/sparc64/ieee1275/diskboot.S' object='boot/sparc64/ieee1275/diskboot_image-diskboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(diskboot_image_CPPFLAGS) $(CPPFLAGS) $(diskboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/sparc64/ieee1275/diskboot_image-diskboot.obj `if test -f 'boot/sparc64/ieee1275/diskboot.S'; then $(CYGPATH_W) 'boot/sparc64/ieee1275/diskboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/sparc64/ieee1275/diskboot.S'; fi` + +commands/i386/pc/drivemap_module-drivemap_int13h.o: commands/i386/pc/drivemap_int13h.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CCASFLAGS) $(CCASFLAGS) -MT commands/i386/pc/drivemap_module-drivemap_int13h.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Tpo -c -o commands/i386/pc/drivemap_module-drivemap_int13h.o `test -f 'commands/i386/pc/drivemap_int13h.S' || echo '$(srcdir)/'`commands/i386/pc/drivemap_int13h.S +@am__fastdepCCAS_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Tpo commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='commands/i386/pc/drivemap_int13h.S' object='commands/i386/pc/drivemap_module-drivemap_int13h.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CCASFLAGS) $(CCASFLAGS) -c -o commands/i386/pc/drivemap_module-drivemap_int13h.o `test -f 'commands/i386/pc/drivemap_int13h.S' || echo '$(srcdir)/'`commands/i386/pc/drivemap_int13h.S + +commands/i386/pc/drivemap_module-drivemap_int13h.obj: commands/i386/pc/drivemap_int13h.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CCASFLAGS) $(CCASFLAGS) -MT commands/i386/pc/drivemap_module-drivemap_int13h.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Tpo -c -o commands/i386/pc/drivemap_module-drivemap_int13h.obj `if test -f 'commands/i386/pc/drivemap_int13h.S'; then $(CYGPATH_W) 'commands/i386/pc/drivemap_int13h.S'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/drivemap_int13h.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Tpo commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap_int13h.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='commands/i386/pc/drivemap_int13h.S' object='commands/i386/pc/drivemap_module-drivemap_int13h.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CCASFLAGS) $(CCASFLAGS) -c -o commands/i386/pc/drivemap_module-drivemap_int13h.obj `if test -f 'commands/i386/pc/drivemap_int13h.S'; then $(CYGPATH_W) 'commands/i386/pc/drivemap_int13h.S'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/drivemap_int13h.S'; fi` + +boot/mips/yeeloong/fwstart_image-fwstart.o: boot/mips/yeeloong/fwstart.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fwstart_image_CPPFLAGS) $(CPPFLAGS) $(fwstart_image_CCASFLAGS) $(CCASFLAGS) -MT boot/mips/yeeloong/fwstart_image-fwstart.o -MD -MP -MF boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Tpo -c -o boot/mips/yeeloong/fwstart_image-fwstart.o `test -f 'boot/mips/yeeloong/fwstart.S' || echo '$(srcdir)/'`boot/mips/yeeloong/fwstart.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Tpo boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/mips/yeeloong/fwstart.S' object='boot/mips/yeeloong/fwstart_image-fwstart.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fwstart_image_CPPFLAGS) $(CPPFLAGS) $(fwstart_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/mips/yeeloong/fwstart_image-fwstart.o `test -f 'boot/mips/yeeloong/fwstart.S' || echo '$(srcdir)/'`boot/mips/yeeloong/fwstart.S + +boot/mips/yeeloong/fwstart_image-fwstart.obj: boot/mips/yeeloong/fwstart.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fwstart_image_CPPFLAGS) $(CPPFLAGS) $(fwstart_image_CCASFLAGS) $(CCASFLAGS) -MT boot/mips/yeeloong/fwstart_image-fwstart.obj -MD -MP -MF boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Tpo -c -o boot/mips/yeeloong/fwstart_image-fwstart.obj `if test -f 'boot/mips/yeeloong/fwstart.S'; then $(CYGPATH_W) 'boot/mips/yeeloong/fwstart.S'; else $(CYGPATH_W) '$(srcdir)/boot/mips/yeeloong/fwstart.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Tpo boot/mips/yeeloong/$(DEPDIR)/fwstart_image-fwstart.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/mips/yeeloong/fwstart.S' object='boot/mips/yeeloong/fwstart_image-fwstart.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fwstart_image_CPPFLAGS) $(CPPFLAGS) $(fwstart_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/mips/yeeloong/fwstart_image-fwstart.obj `if test -f 'boot/mips/yeeloong/fwstart.S'; then $(CYGPATH_W) 'boot/mips/yeeloong/fwstart.S'; else $(CYGPATH_W) '$(srcdir)/boot/mips/yeeloong/fwstart.S'; fi` + +kern/emu/kernel_exec-cache.o: kern/emu/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/emu/kernel_exec-cache.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/emu/kernel_exec-cache.o `test -f 'kern/emu/cache.S' || echo '$(srcdir)/'`kern/emu/cache.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-cache.Tpo kern/emu/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/emu/cache.S' object='kern/emu/kernel_exec-cache.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/emu/kernel_exec-cache.o `test -f 'kern/emu/cache.S' || echo '$(srcdir)/'`kern/emu/cache.S + +kern/emu/kernel_exec-cache.obj: kern/emu/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/emu/kernel_exec-cache.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/emu/kernel_exec-cache.obj `if test -f 'kern/emu/cache.S'; then $(CYGPATH_W) 'kern/emu/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/emu/cache.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-cache.Tpo kern/emu/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/emu/cache.S' object='kern/emu/kernel_exec-cache.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/emu/kernel_exec-cache.obj `if test -f 'kern/emu/cache.S'; then $(CYGPATH_W) 'kern/emu/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/emu/cache.S'; fi` + +kern/i386/coreboot/kernel_exec-startup.o: kern/i386/coreboot/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/coreboot/kernel_exec-startup.o -MD -MP -MF kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/coreboot/kernel_exec-startup.o `test -f 'kern/i386/coreboot/startup.S' || echo '$(srcdir)/'`kern/i386/coreboot/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/coreboot/startup.S' object='kern/i386/coreboot/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/coreboot/kernel_exec-startup.o `test -f 'kern/i386/coreboot/startup.S' || echo '$(srcdir)/'`kern/i386/coreboot/startup.S + +kern/i386/coreboot/kernel_exec-startup.obj: kern/i386/coreboot/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/coreboot/kernel_exec-startup.obj -MD -MP -MF kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/coreboot/kernel_exec-startup.obj `if test -f 'kern/i386/coreboot/startup.S'; then $(CYGPATH_W) 'kern/i386/coreboot/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/coreboot/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/coreboot/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/coreboot/startup.S' object='kern/i386/coreboot/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/coreboot/kernel_exec-startup.obj `if test -f 'kern/i386/coreboot/startup.S'; then $(CYGPATH_W) 'kern/i386/coreboot/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/coreboot/startup.S'; fi` + +kern/i386/efi/kernel_exec-startup.o: kern/i386/efi/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/efi/kernel_exec-startup.o -MD -MP -MF kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/efi/kernel_exec-startup.o `test -f 'kern/i386/efi/startup.S' || echo '$(srcdir)/'`kern/i386/efi/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/efi/startup.S' object='kern/i386/efi/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/efi/kernel_exec-startup.o `test -f 'kern/i386/efi/startup.S' || echo '$(srcdir)/'`kern/i386/efi/startup.S + +kern/i386/efi/kernel_exec-startup.obj: kern/i386/efi/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/efi/kernel_exec-startup.obj -MD -MP -MF kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/efi/kernel_exec-startup.obj `if test -f 'kern/i386/efi/startup.S'; then $(CYGPATH_W) 'kern/i386/efi/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/efi/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/efi/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/efi/startup.S' object='kern/i386/efi/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/efi/kernel_exec-startup.obj `if test -f 'kern/i386/efi/startup.S'; then $(CYGPATH_W) 'kern/i386/efi/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/efi/startup.S'; fi` + +kern/i386/ieee1275/kernel_exec-startup.o: kern/i386/ieee1275/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/ieee1275/kernel_exec-startup.o -MD -MP -MF kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/ieee1275/kernel_exec-startup.o `test -f 'kern/i386/ieee1275/startup.S' || echo '$(srcdir)/'`kern/i386/ieee1275/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/ieee1275/startup.S' object='kern/i386/ieee1275/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/ieee1275/kernel_exec-startup.o `test -f 'kern/i386/ieee1275/startup.S' || echo '$(srcdir)/'`kern/i386/ieee1275/startup.S + +kern/i386/ieee1275/kernel_exec-startup.obj: kern/i386/ieee1275/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/ieee1275/kernel_exec-startup.obj -MD -MP -MF kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/ieee1275/kernel_exec-startup.obj `if test -f 'kern/i386/ieee1275/startup.S'; then $(CYGPATH_W) 'kern/i386/ieee1275/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/ieee1275/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/ieee1275/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/ieee1275/startup.S' object='kern/i386/ieee1275/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/ieee1275/kernel_exec-startup.obj `if test -f 'kern/i386/ieee1275/startup.S'; then $(CYGPATH_W) 'kern/i386/ieee1275/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/ieee1275/startup.S'; fi` + +kern/i386/pc/kernel_exec-startup.o: kern/i386/pc/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/pc/kernel_exec-startup.o -MD -MP -MF kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/pc/kernel_exec-startup.o `test -f 'kern/i386/pc/startup.S' || echo '$(srcdir)/'`kern/i386/pc/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/pc/startup.S' object='kern/i386/pc/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/pc/kernel_exec-startup.o `test -f 'kern/i386/pc/startup.S' || echo '$(srcdir)/'`kern/i386/pc/startup.S + +kern/i386/pc/kernel_exec-startup.obj: kern/i386/pc/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/pc/kernel_exec-startup.obj -MD -MP -MF kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/pc/kernel_exec-startup.obj `if test -f 'kern/i386/pc/startup.S'; then $(CYGPATH_W) 'kern/i386/pc/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pc/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/pc/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/pc/startup.S' object='kern/i386/pc/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/pc/kernel_exec-startup.obj `if test -f 'kern/i386/pc/startup.S'; then $(CYGPATH_W) 'kern/i386/pc/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pc/startup.S'; fi` + +kern/i386/qemu/kernel_exec-startup.o: kern/i386/qemu/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/qemu/kernel_exec-startup.o -MD -MP -MF kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/qemu/kernel_exec-startup.o `test -f 'kern/i386/qemu/startup.S' || echo '$(srcdir)/'`kern/i386/qemu/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/qemu/startup.S' object='kern/i386/qemu/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/qemu/kernel_exec-startup.o `test -f 'kern/i386/qemu/startup.S' || echo '$(srcdir)/'`kern/i386/qemu/startup.S + +kern/i386/qemu/kernel_exec-startup.obj: kern/i386/qemu/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/i386/qemu/kernel_exec-startup.obj -MD -MP -MF kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/i386/qemu/kernel_exec-startup.obj `if test -f 'kern/i386/qemu/startup.S'; then $(CYGPATH_W) 'kern/i386/qemu/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/qemu/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Tpo kern/i386/qemu/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/i386/qemu/startup.S' object='kern/i386/qemu/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/i386/qemu/kernel_exec-startup.obj `if test -f 'kern/i386/qemu/startup.S'; then $(CYGPATH_W) 'kern/i386/qemu/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/i386/qemu/startup.S'; fi` + +kern/mips/kernel_exec-startup.o: kern/mips/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/mips/kernel_exec-startup.o -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/mips/kernel_exec-startup.o `test -f 'kern/mips/startup.S' || echo '$(srcdir)/'`kern/mips/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-startup.Tpo kern/mips/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/mips/startup.S' object='kern/mips/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/mips/kernel_exec-startup.o `test -f 'kern/mips/startup.S' || echo '$(srcdir)/'`kern/mips/startup.S + +kern/mips/kernel_exec-startup.obj: kern/mips/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/mips/kernel_exec-startup.obj -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/mips/kernel_exec-startup.obj `if test -f 'kern/mips/startup.S'; then $(CYGPATH_W) 'kern/mips/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/mips/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-startup.Tpo kern/mips/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/mips/startup.S' object='kern/mips/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/mips/kernel_exec-startup.obj `if test -f 'kern/mips/startup.S'; then $(CYGPATH_W) 'kern/mips/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/mips/startup.S'; fi` + +kern/mips/kernel_exec-cache.o: kern/mips/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/mips/kernel_exec-cache.o -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/mips/kernel_exec-cache.o `test -f 'kern/mips/cache.S' || echo '$(srcdir)/'`kern/mips/cache.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-cache.Tpo kern/mips/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/mips/cache.S' object='kern/mips/kernel_exec-cache.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/mips/kernel_exec-cache.o `test -f 'kern/mips/cache.S' || echo '$(srcdir)/'`kern/mips/cache.S + +kern/mips/kernel_exec-cache.obj: kern/mips/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/mips/kernel_exec-cache.obj -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/mips/kernel_exec-cache.obj `if test -f 'kern/mips/cache.S'; then $(CYGPATH_W) 'kern/mips/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/mips/cache.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-cache.Tpo kern/mips/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/mips/cache.S' object='kern/mips/kernel_exec-cache.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/mips/kernel_exec-cache.obj `if test -f 'kern/mips/cache.S'; then $(CYGPATH_W) 'kern/mips/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/mips/cache.S'; fi` + +kern/powerpc/ieee1275/kernel_exec-startup.o: kern/powerpc/ieee1275/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/powerpc/ieee1275/kernel_exec-startup.o -MD -MP -MF kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/powerpc/ieee1275/kernel_exec-startup.o `test -f 'kern/powerpc/ieee1275/startup.S' || echo '$(srcdir)/'`kern/powerpc/ieee1275/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/powerpc/ieee1275/startup.S' object='kern/powerpc/ieee1275/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/powerpc/ieee1275/kernel_exec-startup.o `test -f 'kern/powerpc/ieee1275/startup.S' || echo '$(srcdir)/'`kern/powerpc/ieee1275/startup.S + +kern/powerpc/ieee1275/kernel_exec-startup.obj: kern/powerpc/ieee1275/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/powerpc/ieee1275/kernel_exec-startup.obj -MD -MP -MF kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/powerpc/ieee1275/kernel_exec-startup.obj `if test -f 'kern/powerpc/ieee1275/startup.S'; then $(CYGPATH_W) 'kern/powerpc/ieee1275/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/powerpc/ieee1275/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Tpo kern/powerpc/ieee1275/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/powerpc/ieee1275/startup.S' object='kern/powerpc/ieee1275/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/powerpc/ieee1275/kernel_exec-startup.obj `if test -f 'kern/powerpc/ieee1275/startup.S'; then $(CYGPATH_W) 'kern/powerpc/ieee1275/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/powerpc/ieee1275/startup.S'; fi` + +kern/powerpc/kernel_exec-cache.o: kern/powerpc/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/powerpc/kernel_exec-cache.o -MD -MP -MF kern/powerpc/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/powerpc/kernel_exec-cache.o `test -f 'kern/powerpc/cache.S' || echo '$(srcdir)/'`kern/powerpc/cache.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/powerpc/$(DEPDIR)/kernel_exec-cache.Tpo kern/powerpc/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/powerpc/cache.S' object='kern/powerpc/kernel_exec-cache.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/powerpc/kernel_exec-cache.o `test -f 'kern/powerpc/cache.S' || echo '$(srcdir)/'`kern/powerpc/cache.S + +kern/powerpc/kernel_exec-cache.obj: kern/powerpc/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/powerpc/kernel_exec-cache.obj -MD -MP -MF kern/powerpc/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/powerpc/kernel_exec-cache.obj `if test -f 'kern/powerpc/cache.S'; then $(CYGPATH_W) 'kern/powerpc/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/powerpc/cache.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/powerpc/$(DEPDIR)/kernel_exec-cache.Tpo kern/powerpc/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/powerpc/cache.S' object='kern/powerpc/kernel_exec-cache.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/powerpc/kernel_exec-cache.obj `if test -f 'kern/powerpc/cache.S'; then $(CYGPATH_W) 'kern/powerpc/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/powerpc/cache.S'; fi` + +kern/sparc64/ieee1275/kernel_exec-crt0.o: kern/sparc64/ieee1275/crt0.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/sparc64/ieee1275/kernel_exec-crt0.o -MD -MP -MF kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Tpo -c -o kern/sparc64/ieee1275/kernel_exec-crt0.o `test -f 'kern/sparc64/ieee1275/crt0.S' || echo '$(srcdir)/'`kern/sparc64/ieee1275/crt0.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Tpo kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/sparc64/ieee1275/crt0.S' object='kern/sparc64/ieee1275/kernel_exec-crt0.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/sparc64/ieee1275/kernel_exec-crt0.o `test -f 'kern/sparc64/ieee1275/crt0.S' || echo '$(srcdir)/'`kern/sparc64/ieee1275/crt0.S + +kern/sparc64/ieee1275/kernel_exec-crt0.obj: kern/sparc64/ieee1275/crt0.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/sparc64/ieee1275/kernel_exec-crt0.obj -MD -MP -MF kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Tpo -c -o kern/sparc64/ieee1275/kernel_exec-crt0.obj `if test -f 'kern/sparc64/ieee1275/crt0.S'; then $(CYGPATH_W) 'kern/sparc64/ieee1275/crt0.S'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/ieee1275/crt0.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Tpo kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-crt0.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/sparc64/ieee1275/crt0.S' object='kern/sparc64/ieee1275/kernel_exec-crt0.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/sparc64/ieee1275/kernel_exec-crt0.obj `if test -f 'kern/sparc64/ieee1275/crt0.S'; then $(CYGPATH_W) 'kern/sparc64/ieee1275/crt0.S'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/ieee1275/crt0.S'; fi` + +kern/sparc64/kernel_exec-cache.o: kern/sparc64/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/sparc64/kernel_exec-cache.o -MD -MP -MF kern/sparc64/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/sparc64/kernel_exec-cache.o `test -f 'kern/sparc64/cache.S' || echo '$(srcdir)/'`kern/sparc64/cache.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/sparc64/$(DEPDIR)/kernel_exec-cache.Tpo kern/sparc64/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/sparc64/cache.S' object='kern/sparc64/kernel_exec-cache.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/sparc64/kernel_exec-cache.o `test -f 'kern/sparc64/cache.S' || echo '$(srcdir)/'`kern/sparc64/cache.S + +kern/sparc64/kernel_exec-cache.obj: kern/sparc64/cache.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/sparc64/kernel_exec-cache.obj -MD -MP -MF kern/sparc64/$(DEPDIR)/kernel_exec-cache.Tpo -c -o kern/sparc64/kernel_exec-cache.obj `if test -f 'kern/sparc64/cache.S'; then $(CYGPATH_W) 'kern/sparc64/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/cache.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/sparc64/$(DEPDIR)/kernel_exec-cache.Tpo kern/sparc64/$(DEPDIR)/kernel_exec-cache.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/sparc64/cache.S' object='kern/sparc64/kernel_exec-cache.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/sparc64/kernel_exec-cache.obj `if test -f 'kern/sparc64/cache.S'; then $(CYGPATH_W) 'kern/sparc64/cache.S'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/cache.S'; fi` + +kern/x86_64/efi/kernel_exec-startup.o: kern/x86_64/efi/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/x86_64/efi/kernel_exec-startup.o -MD -MP -MF kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/x86_64/efi/kernel_exec-startup.o `test -f 'kern/x86_64/efi/startup.S' || echo '$(srcdir)/'`kern/x86_64/efi/startup.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Tpo kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/x86_64/efi/startup.S' object='kern/x86_64/efi/kernel_exec-startup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/x86_64/efi/kernel_exec-startup.o `test -f 'kern/x86_64/efi/startup.S' || echo '$(srcdir)/'`kern/x86_64/efi/startup.S + +kern/x86_64/efi/kernel_exec-startup.obj: kern/x86_64/efi/startup.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/x86_64/efi/kernel_exec-startup.obj -MD -MP -MF kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Tpo -c -o kern/x86_64/efi/kernel_exec-startup.obj `if test -f 'kern/x86_64/efi/startup.S'; then $(CYGPATH_W) 'kern/x86_64/efi/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/x86_64/efi/startup.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Tpo kern/x86_64/efi/$(DEPDIR)/kernel_exec-startup.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/x86_64/efi/startup.S' object='kern/x86_64/efi/kernel_exec-startup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/x86_64/efi/kernel_exec-startup.obj `if test -f 'kern/x86_64/efi/startup.S'; then $(CYGPATH_W) 'kern/x86_64/efi/startup.S'; else $(CYGPATH_W) '$(srcdir)/kern/x86_64/efi/startup.S'; fi` + +kern/x86_64/efi/kernel_exec-callwrap.o: kern/x86_64/efi/callwrap.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/x86_64/efi/kernel_exec-callwrap.o -MD -MP -MF kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Tpo -c -o kern/x86_64/efi/kernel_exec-callwrap.o `test -f 'kern/x86_64/efi/callwrap.S' || echo '$(srcdir)/'`kern/x86_64/efi/callwrap.S +@am__fastdepCCAS_TRUE@ $(am__mv) kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Tpo kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/x86_64/efi/callwrap.S' object='kern/x86_64/efi/kernel_exec-callwrap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/x86_64/efi/kernel_exec-callwrap.o `test -f 'kern/x86_64/efi/callwrap.S' || echo '$(srcdir)/'`kern/x86_64/efi/callwrap.S + +kern/x86_64/efi/kernel_exec-callwrap.obj: kern/x86_64/efi/callwrap.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -MT kern/x86_64/efi/kernel_exec-callwrap.obj -MD -MP -MF kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Tpo -c -o kern/x86_64/efi/kernel_exec-callwrap.obj `if test -f 'kern/x86_64/efi/callwrap.S'; then $(CYGPATH_W) 'kern/x86_64/efi/callwrap.S'; else $(CYGPATH_W) '$(srcdir)/kern/x86_64/efi/callwrap.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Tpo kern/x86_64/efi/$(DEPDIR)/kernel_exec-callwrap.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='kern/x86_64/efi/callwrap.S' object='kern/x86_64/efi/kernel_exec-callwrap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CCASFLAGS) $(CCASFLAGS) -c -o kern/x86_64/efi/kernel_exec-callwrap.obj `if test -f 'kern/x86_64/efi/callwrap.S'; then $(CYGPATH_W) 'kern/x86_64/efi/callwrap.S'; else $(CYGPATH_W) '$(srcdir)/kern/x86_64/efi/callwrap.S'; fi` + +boot/i386/pc/lnxboot_image-lnxboot.o: boot/i386/pc/lnxboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lnxboot_image_CPPFLAGS) $(CPPFLAGS) $(lnxboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/lnxboot_image-lnxboot.o -MD -MP -MF boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Tpo -c -o boot/i386/pc/lnxboot_image-lnxboot.o `test -f 'boot/i386/pc/lnxboot.S' || echo '$(srcdir)/'`boot/i386/pc/lnxboot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Tpo boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/lnxboot.S' object='boot/i386/pc/lnxboot_image-lnxboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lnxboot_image_CPPFLAGS) $(CPPFLAGS) $(lnxboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/lnxboot_image-lnxboot.o `test -f 'boot/i386/pc/lnxboot.S' || echo '$(srcdir)/'`boot/i386/pc/lnxboot.S + +boot/i386/pc/lnxboot_image-lnxboot.obj: boot/i386/pc/lnxboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lnxboot_image_CPPFLAGS) $(CPPFLAGS) $(lnxboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/lnxboot_image-lnxboot.obj -MD -MP -MF boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Tpo -c -o boot/i386/pc/lnxboot_image-lnxboot.obj `if test -f 'boot/i386/pc/lnxboot.S'; then $(CYGPATH_W) 'boot/i386/pc/lnxboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/lnxboot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Tpo boot/i386/pc/$(DEPDIR)/lnxboot_image-lnxboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/lnxboot.S' object='boot/i386/pc/lnxboot_image-lnxboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lnxboot_image_CPPFLAGS) $(CPPFLAGS) $(lnxboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/lnxboot_image-lnxboot.obj `if test -f 'boot/i386/pc/lnxboot.S'; then $(CYGPATH_W) 'boot/i386/pc/lnxboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/lnxboot.S'; fi` + +mmap/i386/pc/mmap_module-mmap_helper.o: mmap/i386/pc/mmap_helper.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CCASFLAGS) $(CCASFLAGS) -MT mmap/i386/pc/mmap_module-mmap_helper.o -MD -MP -MF mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Tpo -c -o mmap/i386/pc/mmap_module-mmap_helper.o `test -f 'mmap/i386/pc/mmap_helper.S' || echo '$(srcdir)/'`mmap/i386/pc/mmap_helper.S +@am__fastdepCCAS_TRUE@ $(am__mv) mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Tpo mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='mmap/i386/pc/mmap_helper.S' object='mmap/i386/pc/mmap_module-mmap_helper.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CCASFLAGS) $(CCASFLAGS) -c -o mmap/i386/pc/mmap_module-mmap_helper.o `test -f 'mmap/i386/pc/mmap_helper.S' || echo '$(srcdir)/'`mmap/i386/pc/mmap_helper.S + +mmap/i386/pc/mmap_module-mmap_helper.obj: mmap/i386/pc/mmap_helper.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CCASFLAGS) $(CCASFLAGS) -MT mmap/i386/pc/mmap_module-mmap_helper.obj -MD -MP -MF mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Tpo -c -o mmap/i386/pc/mmap_module-mmap_helper.obj `if test -f 'mmap/i386/pc/mmap_helper.S'; then $(CYGPATH_W) 'mmap/i386/pc/mmap_helper.S'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/pc/mmap_helper.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Tpo mmap/i386/pc/$(DEPDIR)/mmap_module-mmap_helper.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='mmap/i386/pc/mmap_helper.S' object='mmap/i386/pc/mmap_module-mmap_helper.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CCASFLAGS) $(CCASFLAGS) -c -o mmap/i386/pc/mmap_module-mmap_helper.obj `if test -f 'mmap/i386/pc/mmap_helper.S'; then $(CYGPATH_W) 'mmap/i386/pc/mmap_helper.S'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/pc/mmap_helper.S'; fi` + +boot/mips/none_decompress_image-startup_raw.o: boot/mips/startup_raw.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CCASFLAGS) $(CCASFLAGS) -MT boot/mips/none_decompress_image-startup_raw.o -MD -MP -MF boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Tpo -c -o boot/mips/none_decompress_image-startup_raw.o `test -f 'boot/mips/startup_raw.S' || echo '$(srcdir)/'`boot/mips/startup_raw.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Tpo boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/mips/startup_raw.S' object='boot/mips/none_decompress_image-startup_raw.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/mips/none_decompress_image-startup_raw.o `test -f 'boot/mips/startup_raw.S' || echo '$(srcdir)/'`boot/mips/startup_raw.S + +boot/mips/none_decompress_image-startup_raw.obj: boot/mips/startup_raw.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CCASFLAGS) $(CCASFLAGS) -MT boot/mips/none_decompress_image-startup_raw.obj -MD -MP -MF boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Tpo -c -o boot/mips/none_decompress_image-startup_raw.obj `if test -f 'boot/mips/startup_raw.S'; then $(CYGPATH_W) 'boot/mips/startup_raw.S'; else $(CYGPATH_W) '$(srcdir)/boot/mips/startup_raw.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Tpo boot/mips/$(DEPDIR)/none_decompress_image-startup_raw.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/mips/startup_raw.S' object='boot/mips/none_decompress_image-startup_raw.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/mips/none_decompress_image-startup_raw.obj `if test -f 'boot/mips/startup_raw.S'; then $(CYGPATH_W) 'boot/mips/startup_raw.S'; else $(CYGPATH_W) '$(srcdir)/boot/mips/startup_raw.S'; fi` + +boot/i386/pc/pxeboot_image-pxeboot.o: boot/i386/pc/pxeboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxeboot_image_CPPFLAGS) $(CPPFLAGS) $(pxeboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/pxeboot_image-pxeboot.o -MD -MP -MF boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Tpo -c -o boot/i386/pc/pxeboot_image-pxeboot.o `test -f 'boot/i386/pc/pxeboot.S' || echo '$(srcdir)/'`boot/i386/pc/pxeboot.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Tpo boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/pxeboot.S' object='boot/i386/pc/pxeboot_image-pxeboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxeboot_image_CPPFLAGS) $(CPPFLAGS) $(pxeboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/pxeboot_image-pxeboot.o `test -f 'boot/i386/pc/pxeboot.S' || echo '$(srcdir)/'`boot/i386/pc/pxeboot.S + +boot/i386/pc/pxeboot_image-pxeboot.obj: boot/i386/pc/pxeboot.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxeboot_image_CPPFLAGS) $(CPPFLAGS) $(pxeboot_image_CCASFLAGS) $(CCASFLAGS) -MT boot/i386/pc/pxeboot_image-pxeboot.obj -MD -MP -MF boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Tpo -c -o boot/i386/pc/pxeboot_image-pxeboot.obj `if test -f 'boot/i386/pc/pxeboot.S'; then $(CYGPATH_W) 'boot/i386/pc/pxeboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/pxeboot.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Tpo boot/i386/pc/$(DEPDIR)/pxeboot_image-pxeboot.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/i386/pc/pxeboot.S' object='boot/i386/pc/pxeboot_image-pxeboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxeboot_image_CPPFLAGS) $(CPPFLAGS) $(pxeboot_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/i386/pc/pxeboot_image-pxeboot.obj `if test -f 'boot/i386/pc/pxeboot.S'; then $(CYGPATH_W) 'boot/i386/pc/pxeboot.S'; else $(CYGPATH_W) '$(srcdir)/boot/i386/pc/pxeboot.S'; fi` + +lib/i386/relocator_module-relocator_asm.o: lib/i386/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator_asm.o -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/i386/relocator_module-relocator_asm.o `test -f 'lib/i386/relocator_asm.S' || echo '$(srcdir)/'`lib/i386/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator_asm.S' object='lib/i386/relocator_module-relocator_asm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator_asm.o `test -f 'lib/i386/relocator_asm.S' || echo '$(srcdir)/'`lib/i386/relocator_asm.S + +lib/i386/relocator_module-relocator_asm.obj: lib/i386/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator_asm.obj -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/i386/relocator_module-relocator_asm.obj `if test -f 'lib/i386/relocator_asm.S'; then $(CYGPATH_W) 'lib/i386/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator_asm.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator_asm.S' object='lib/i386/relocator_module-relocator_asm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator_asm.obj `if test -f 'lib/i386/relocator_asm.S'; then $(CYGPATH_W) 'lib/i386/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator_asm.S'; fi` + +lib/i386/relocator_module-relocator16.o: lib/i386/relocator16.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator16.o -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator16.Tpo -c -o lib/i386/relocator_module-relocator16.o `test -f 'lib/i386/relocator16.S' || echo '$(srcdir)/'`lib/i386/relocator16.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator16.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator16.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator16.S' object='lib/i386/relocator_module-relocator16.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator16.o `test -f 'lib/i386/relocator16.S' || echo '$(srcdir)/'`lib/i386/relocator16.S + +lib/i386/relocator_module-relocator16.obj: lib/i386/relocator16.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator16.obj -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator16.Tpo -c -o lib/i386/relocator_module-relocator16.obj `if test -f 'lib/i386/relocator16.S'; then $(CYGPATH_W) 'lib/i386/relocator16.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator16.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator16.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator16.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator16.S' object='lib/i386/relocator_module-relocator16.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator16.obj `if test -f 'lib/i386/relocator16.S'; then $(CYGPATH_W) 'lib/i386/relocator16.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator16.S'; fi` + +lib/i386/relocator_module-relocator32.o: lib/i386/relocator32.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator32.o -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator32.Tpo -c -o lib/i386/relocator_module-relocator32.o `test -f 'lib/i386/relocator32.S' || echo '$(srcdir)/'`lib/i386/relocator32.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator32.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator32.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator32.S' object='lib/i386/relocator_module-relocator32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator32.o `test -f 'lib/i386/relocator32.S' || echo '$(srcdir)/'`lib/i386/relocator32.S + +lib/i386/relocator_module-relocator32.obj: lib/i386/relocator32.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator32.obj -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator32.Tpo -c -o lib/i386/relocator_module-relocator32.obj `if test -f 'lib/i386/relocator32.S'; then $(CYGPATH_W) 'lib/i386/relocator32.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator32.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator32.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator32.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator32.S' object='lib/i386/relocator_module-relocator32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator32.obj `if test -f 'lib/i386/relocator32.S'; then $(CYGPATH_W) 'lib/i386/relocator32.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator32.S'; fi` + +lib/i386/relocator_module-relocator64.o: lib/i386/relocator64.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator64.o -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator64.Tpo -c -o lib/i386/relocator_module-relocator64.o `test -f 'lib/i386/relocator64.S' || echo '$(srcdir)/'`lib/i386/relocator64.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator64.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator64.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator64.S' object='lib/i386/relocator_module-relocator64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator64.o `test -f 'lib/i386/relocator64.S' || echo '$(srcdir)/'`lib/i386/relocator64.S + +lib/i386/relocator_module-relocator64.obj: lib/i386/relocator64.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/i386/relocator_module-relocator64.obj -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator64.Tpo -c -o lib/i386/relocator_module-relocator64.obj `if test -f 'lib/i386/relocator64.S'; then $(CYGPATH_W) 'lib/i386/relocator64.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator64.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator64.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator64.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/i386/relocator64.S' object='lib/i386/relocator_module-relocator64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/i386/relocator_module-relocator64.obj `if test -f 'lib/i386/relocator64.S'; then $(CYGPATH_W) 'lib/i386/relocator64.S'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator64.S'; fi` + +lib/mips/relocator_module-relocator_asm.o: lib/mips/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/mips/relocator_module-relocator_asm.o -MD -MP -MF lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/mips/relocator_module-relocator_asm.o `test -f 'lib/mips/relocator_asm.S' || echo '$(srcdir)/'`lib/mips/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/mips/relocator_asm.S' object='lib/mips/relocator_module-relocator_asm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/mips/relocator_module-relocator_asm.o `test -f 'lib/mips/relocator_asm.S' || echo '$(srcdir)/'`lib/mips/relocator_asm.S + +lib/mips/relocator_module-relocator_asm.obj: lib/mips/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/mips/relocator_module-relocator_asm.obj -MD -MP -MF lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/mips/relocator_module-relocator_asm.obj `if test -f 'lib/mips/relocator_asm.S'; then $(CYGPATH_W) 'lib/mips/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/mips/relocator_asm.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/mips/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/mips/relocator_asm.S' object='lib/mips/relocator_module-relocator_asm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/mips/relocator_module-relocator_asm.obj `if test -f 'lib/mips/relocator_asm.S'; then $(CYGPATH_W) 'lib/mips/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/mips/relocator_asm.S'; fi` + +lib/powerpc/relocator_module-relocator_asm.o: lib/powerpc/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/powerpc/relocator_module-relocator_asm.o -MD -MP -MF lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/powerpc/relocator_module-relocator_asm.o `test -f 'lib/powerpc/relocator_asm.S' || echo '$(srcdir)/'`lib/powerpc/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/powerpc/relocator_asm.S' object='lib/powerpc/relocator_module-relocator_asm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/powerpc/relocator_module-relocator_asm.o `test -f 'lib/powerpc/relocator_asm.S' || echo '$(srcdir)/'`lib/powerpc/relocator_asm.S + +lib/powerpc/relocator_module-relocator_asm.obj: lib/powerpc/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/powerpc/relocator_module-relocator_asm.obj -MD -MP -MF lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/powerpc/relocator_module-relocator_asm.obj `if test -f 'lib/powerpc/relocator_asm.S'; then $(CYGPATH_W) 'lib/powerpc/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/powerpc/relocator_asm.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/powerpc/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/powerpc/relocator_asm.S' object='lib/powerpc/relocator_module-relocator_asm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/powerpc/relocator_module-relocator_asm.obj `if test -f 'lib/powerpc/relocator_asm.S'; then $(CYGPATH_W) 'lib/powerpc/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/powerpc/relocator_asm.S'; fi` + +lib/x86_64/relocator_module-relocator_asm.o: lib/x86_64/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/x86_64/relocator_module-relocator_asm.o -MD -MP -MF lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/x86_64/relocator_module-relocator_asm.o `test -f 'lib/x86_64/relocator_asm.S' || echo '$(srcdir)/'`lib/x86_64/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/x86_64/relocator_asm.S' object='lib/x86_64/relocator_module-relocator_asm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/x86_64/relocator_module-relocator_asm.o `test -f 'lib/x86_64/relocator_asm.S' || echo '$(srcdir)/'`lib/x86_64/relocator_asm.S + +lib/x86_64/relocator_module-relocator_asm.obj: lib/x86_64/relocator_asm.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -MT lib/x86_64/relocator_module-relocator_asm.obj -MD -MP -MF lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Tpo -c -o lib/x86_64/relocator_module-relocator_asm.obj `if test -f 'lib/x86_64/relocator_asm.S'; then $(CYGPATH_W) 'lib/x86_64/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/x86_64/relocator_asm.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Tpo lib/x86_64/$(DEPDIR)/relocator_module-relocator_asm.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/x86_64/relocator_asm.S' object='lib/x86_64/relocator_module-relocator_asm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/x86_64/relocator_module-relocator_asm.obj `if test -f 'lib/x86_64/relocator_asm.S'; then $(CYGPATH_W) 'lib/x86_64/relocator_asm.S'; else $(CYGPATH_W) '$(srcdir)/lib/x86_64/relocator_asm.S'; fi` + +lib/setjmp_module-setjmp.o: lib/setjmp.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $(setjmp_module_CCASFLAGS) $(CCASFLAGS) -MT lib/setjmp_module-setjmp.o -MD -MP -MF lib/$(DEPDIR)/setjmp_module-setjmp.Tpo -c -o lib/setjmp_module-setjmp.o `test -f 'lib/setjmp.S' || echo '$(srcdir)/'`lib/setjmp.S +@am__fastdepCCAS_TRUE@ $(am__mv) lib/$(DEPDIR)/setjmp_module-setjmp.Tpo lib/$(DEPDIR)/setjmp_module-setjmp.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/setjmp.S' object='lib/setjmp_module-setjmp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $(setjmp_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/setjmp_module-setjmp.o `test -f 'lib/setjmp.S' || echo '$(srcdir)/'`lib/setjmp.S + +lib/setjmp_module-setjmp.obj: lib/setjmp.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $(setjmp_module_CCASFLAGS) $(CCASFLAGS) -MT lib/setjmp_module-setjmp.obj -MD -MP -MF lib/$(DEPDIR)/setjmp_module-setjmp.Tpo -c -o lib/setjmp_module-setjmp.obj `if test -f 'lib/setjmp.S'; then $(CYGPATH_W) 'lib/setjmp.S'; else $(CYGPATH_W) '$(srcdir)/lib/setjmp.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) lib/$(DEPDIR)/setjmp_module-setjmp.Tpo lib/$(DEPDIR)/setjmp_module-setjmp.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='lib/setjmp.S' object='lib/setjmp_module-setjmp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $(setjmp_module_CCASFLAGS) $(CCASFLAGS) -c -o lib/setjmp_module-setjmp.obj `if test -f 'lib/setjmp.S'; then $(CYGPATH_W) 'lib/setjmp.S'; else $(CYGPATH_W) '$(srcdir)/lib/setjmp.S'; fi` + +boot/mips/xz_decompress_image-startup_raw.o: boot/mips/startup_raw.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CCASFLAGS) $(CCASFLAGS) -MT boot/mips/xz_decompress_image-startup_raw.o -MD -MP -MF boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Tpo -c -o boot/mips/xz_decompress_image-startup_raw.o `test -f 'boot/mips/startup_raw.S' || echo '$(srcdir)/'`boot/mips/startup_raw.S +@am__fastdepCCAS_TRUE@ $(am__mv) boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Tpo boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/mips/startup_raw.S' object='boot/mips/xz_decompress_image-startup_raw.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/mips/xz_decompress_image-startup_raw.o `test -f 'boot/mips/startup_raw.S' || echo '$(srcdir)/'`boot/mips/startup_raw.S + +boot/mips/xz_decompress_image-startup_raw.obj: boot/mips/startup_raw.S +@am__fastdepCCAS_TRUE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CCASFLAGS) $(CCASFLAGS) -MT boot/mips/xz_decompress_image-startup_raw.obj -MD -MP -MF boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Tpo -c -o boot/mips/xz_decompress_image-startup_raw.obj `if test -f 'boot/mips/startup_raw.S'; then $(CYGPATH_W) 'boot/mips/startup_raw.S'; else $(CYGPATH_W) '$(srcdir)/boot/mips/startup_raw.S'; fi` +@am__fastdepCCAS_TRUE@ $(am__mv) boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Tpo boot/mips/$(DEPDIR)/xz_decompress_image-startup_raw.Po +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ source='boot/mips/startup_raw.S' object='boot/mips/xz_decompress_image-startup_raw.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCCAS_FALSE@ $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CCASFLAGS) $(CCASFLAGS) -c -o boot/mips/xz_decompress_image-startup_raw.obj `if test -f 'boot/mips/startup_raw.S'; then $(CYGPATH_W) 'boot/mips/startup_raw.S'; else $(CYGPATH_W) '$(srcdir)/boot/mips/startup_raw.S'; fi` + +.c.o: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +gnulib/libgnulib_a-regex.o: gnulib/regex.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgnulib_a_CPPFLAGS) $(CPPFLAGS) $(libgnulib_a_CFLAGS) $(CFLAGS) -MT gnulib/libgnulib_a-regex.o -MD -MP -MF gnulib/$(DEPDIR)/libgnulib_a-regex.Tpo -c -o gnulib/libgnulib_a-regex.o `test -f 'gnulib/regex.c' || echo '$(srcdir)/'`gnulib/regex.c +@am__fastdepCC_TRUE@ $(am__mv) gnulib/$(DEPDIR)/libgnulib_a-regex.Tpo gnulib/$(DEPDIR)/libgnulib_a-regex.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gnulib/regex.c' object='gnulib/libgnulib_a-regex.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgnulib_a_CPPFLAGS) $(CPPFLAGS) $(libgnulib_a_CFLAGS) $(CFLAGS) -c -o gnulib/libgnulib_a-regex.o `test -f 'gnulib/regex.c' || echo '$(srcdir)/'`gnulib/regex.c + +gnulib/libgnulib_a-regex.obj: gnulib/regex.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgnulib_a_CPPFLAGS) $(CPPFLAGS) $(libgnulib_a_CFLAGS) $(CFLAGS) -MT gnulib/libgnulib_a-regex.obj -MD -MP -MF gnulib/$(DEPDIR)/libgnulib_a-regex.Tpo -c -o gnulib/libgnulib_a-regex.obj `if test -f 'gnulib/regex.c'; then $(CYGPATH_W) 'gnulib/regex.c'; else $(CYGPATH_W) '$(srcdir)/gnulib/regex.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gnulib/$(DEPDIR)/libgnulib_a-regex.Tpo gnulib/$(DEPDIR)/libgnulib_a-regex.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gnulib/regex.c' object='gnulib/libgnulib_a-regex.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgnulib_a_CPPFLAGS) $(CPPFLAGS) $(libgnulib_a_CFLAGS) $(CFLAGS) -c -o gnulib/libgnulib_a-regex.obj `if test -f 'gnulib/regex.c'; then $(CYGPATH_W) 'gnulib/regex.c'; else $(CYGPATH_W) '$(srcdir)/gnulib/regex.c'; fi` + +commands/i386/pc/acpi_module-acpi.o: commands/i386/pc/acpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/acpi_module-acpi.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Tpo -c -o commands/i386/pc/acpi_module-acpi.o `test -f 'commands/i386/pc/acpi.c' || echo '$(srcdir)/'`commands/i386/pc/acpi.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Tpo commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/acpi.c' object='commands/i386/pc/acpi_module-acpi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/acpi_module-acpi.o `test -f 'commands/i386/pc/acpi.c' || echo '$(srcdir)/'`commands/i386/pc/acpi.c + +commands/i386/pc/acpi_module-acpi.obj: commands/i386/pc/acpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/acpi_module-acpi.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Tpo -c -o commands/i386/pc/acpi_module-acpi.obj `if test -f 'commands/i386/pc/acpi.c'; then $(CYGPATH_W) 'commands/i386/pc/acpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/acpi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Tpo commands/i386/pc/$(DEPDIR)/acpi_module-acpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/acpi.c' object='commands/i386/pc/acpi_module-acpi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/acpi_module-acpi.obj `if test -f 'commands/i386/pc/acpi.c'; then $(CYGPATH_W) 'commands/i386/pc/acpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/acpi.c'; fi` + +commands/acpi_module-acpi.o: commands/acpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -MT commands/acpi_module-acpi.o -MD -MP -MF commands/$(DEPDIR)/acpi_module-acpi.Tpo -c -o commands/acpi_module-acpi.o `test -f 'commands/acpi.c' || echo '$(srcdir)/'`commands/acpi.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/acpi_module-acpi.Tpo commands/$(DEPDIR)/acpi_module-acpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/acpi.c' object='commands/acpi_module-acpi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -c -o commands/acpi_module-acpi.o `test -f 'commands/acpi.c' || echo '$(srcdir)/'`commands/acpi.c + +commands/acpi_module-acpi.obj: commands/acpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -MT commands/acpi_module-acpi.obj -MD -MP -MF commands/$(DEPDIR)/acpi_module-acpi.Tpo -c -o commands/acpi_module-acpi.obj `if test -f 'commands/acpi.c'; then $(CYGPATH_W) 'commands/acpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/acpi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/acpi_module-acpi.Tpo commands/$(DEPDIR)/acpi_module-acpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/acpi.c' object='commands/acpi_module-acpi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -c -o commands/acpi_module-acpi.obj `if test -f 'commands/acpi.c'; then $(CYGPATH_W) 'commands/acpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/acpi.c'; fi` + +commands/efi/acpi_module-acpi.o: commands/efi/acpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -MT commands/efi/acpi_module-acpi.o -MD -MP -MF commands/efi/$(DEPDIR)/acpi_module-acpi.Tpo -c -o commands/efi/acpi_module-acpi.o `test -f 'commands/efi/acpi.c' || echo '$(srcdir)/'`commands/efi/acpi.c +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/acpi_module-acpi.Tpo commands/efi/$(DEPDIR)/acpi_module-acpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/acpi.c' object='commands/efi/acpi_module-acpi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -c -o commands/efi/acpi_module-acpi.o `test -f 'commands/efi/acpi.c' || echo '$(srcdir)/'`commands/efi/acpi.c + +commands/efi/acpi_module-acpi.obj: commands/efi/acpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -MT commands/efi/acpi_module-acpi.obj -MD -MP -MF commands/efi/$(DEPDIR)/acpi_module-acpi.Tpo -c -o commands/efi/acpi_module-acpi.obj `if test -f 'commands/efi/acpi.c'; then $(CYGPATH_W) 'commands/efi/acpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/acpi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/acpi_module-acpi.Tpo commands/efi/$(DEPDIR)/acpi_module-acpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/acpi.c' object='commands/efi/acpi_module-acpi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $(acpi_module_CFLAGS) $(CFLAGS) -c -o commands/efi/acpi_module-acpi.obj `if test -f 'commands/efi/acpi.c'; then $(CYGPATH_W) 'commands/efi/acpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/acpi.c'; fi` + +fs/affs_module-affs.o: fs/affs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $(affs_module_CFLAGS) $(CFLAGS) -MT fs/affs_module-affs.o -MD -MP -MF fs/$(DEPDIR)/affs_module-affs.Tpo -c -o fs/affs_module-affs.o `test -f 'fs/affs.c' || echo '$(srcdir)/'`fs/affs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/affs_module-affs.Tpo fs/$(DEPDIR)/affs_module-affs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/affs.c' object='fs/affs_module-affs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $(affs_module_CFLAGS) $(CFLAGS) -c -o fs/affs_module-affs.o `test -f 'fs/affs.c' || echo '$(srcdir)/'`fs/affs.c + +fs/affs_module-affs.obj: fs/affs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $(affs_module_CFLAGS) $(CFLAGS) -MT fs/affs_module-affs.obj -MD -MP -MF fs/$(DEPDIR)/affs_module-affs.Tpo -c -o fs/affs_module-affs.obj `if test -f 'fs/affs.c'; then $(CYGPATH_W) 'fs/affs.c'; else $(CYGPATH_W) '$(srcdir)/fs/affs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/affs_module-affs.Tpo fs/$(DEPDIR)/affs_module-affs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/affs.c' object='fs/affs_module-affs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $(affs_module_CFLAGS) $(CFLAGS) -c -o fs/affs_module-affs.obj `if test -f 'fs/affs.c'; then $(CYGPATH_W) 'fs/affs.c'; else $(CYGPATH_W) '$(srcdir)/fs/affs.c'; fi` + +fs/afs_module-afs.o: fs/afs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $(afs_module_CFLAGS) $(CFLAGS) -MT fs/afs_module-afs.o -MD -MP -MF fs/$(DEPDIR)/afs_module-afs.Tpo -c -o fs/afs_module-afs.o `test -f 'fs/afs.c' || echo '$(srcdir)/'`fs/afs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/afs_module-afs.Tpo fs/$(DEPDIR)/afs_module-afs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/afs.c' object='fs/afs_module-afs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $(afs_module_CFLAGS) $(CFLAGS) -c -o fs/afs_module-afs.o `test -f 'fs/afs.c' || echo '$(srcdir)/'`fs/afs.c + +fs/afs_module-afs.obj: fs/afs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $(afs_module_CFLAGS) $(CFLAGS) -MT fs/afs_module-afs.obj -MD -MP -MF fs/$(DEPDIR)/afs_module-afs.Tpo -c -o fs/afs_module-afs.obj `if test -f 'fs/afs.c'; then $(CYGPATH_W) 'fs/afs.c'; else $(CYGPATH_W) '$(srcdir)/fs/afs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/afs_module-afs.Tpo fs/$(DEPDIR)/afs_module-afs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/afs.c' object='fs/afs_module-afs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $(afs_module_CFLAGS) $(CFLAGS) -c -o fs/afs_module-afs.obj `if test -f 'fs/afs.c'; then $(CYGPATH_W) 'fs/afs.c'; else $(CYGPATH_W) '$(srcdir)/fs/afs.c'; fi` + +fs/afs_be_module-afs_be.o: fs/afs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $(afs_be_module_CFLAGS) $(CFLAGS) -MT fs/afs_be_module-afs_be.o -MD -MP -MF fs/$(DEPDIR)/afs_be_module-afs_be.Tpo -c -o fs/afs_be_module-afs_be.o `test -f 'fs/afs_be.c' || echo '$(srcdir)/'`fs/afs_be.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/afs_be_module-afs_be.Tpo fs/$(DEPDIR)/afs_be_module-afs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/afs_be.c' object='fs/afs_be_module-afs_be.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $(afs_be_module_CFLAGS) $(CFLAGS) -c -o fs/afs_be_module-afs_be.o `test -f 'fs/afs_be.c' || echo '$(srcdir)/'`fs/afs_be.c + +fs/afs_be_module-afs_be.obj: fs/afs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $(afs_be_module_CFLAGS) $(CFLAGS) -MT fs/afs_be_module-afs_be.obj -MD -MP -MF fs/$(DEPDIR)/afs_be_module-afs_be.Tpo -c -o fs/afs_be_module-afs_be.obj `if test -f 'fs/afs_be.c'; then $(CYGPATH_W) 'fs/afs_be.c'; else $(CYGPATH_W) '$(srcdir)/fs/afs_be.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/afs_be_module-afs_be.Tpo fs/$(DEPDIR)/afs_be_module-afs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/afs_be.c' object='fs/afs_be_module-afs_be.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $(afs_be_module_CFLAGS) $(CFLAGS) -c -o fs/afs_be_module-afs_be.obj `if test -f 'fs/afs_be.c'; then $(CYGPATH_W) 'fs/afs_be.c'; else $(CYGPATH_W) '$(srcdir)/fs/afs_be.c'; fi` + +loader/aout_module-aout.o: loader/aout.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $(aout_module_CFLAGS) $(CFLAGS) -MT loader/aout_module-aout.o -MD -MP -MF loader/$(DEPDIR)/aout_module-aout.Tpo -c -o loader/aout_module-aout.o `test -f 'loader/aout.c' || echo '$(srcdir)/'`loader/aout.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/aout_module-aout.Tpo loader/$(DEPDIR)/aout_module-aout.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/aout.c' object='loader/aout_module-aout.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $(aout_module_CFLAGS) $(CFLAGS) -c -o loader/aout_module-aout.o `test -f 'loader/aout.c' || echo '$(srcdir)/'`loader/aout.c + +loader/aout_module-aout.obj: loader/aout.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $(aout_module_CFLAGS) $(CFLAGS) -MT loader/aout_module-aout.obj -MD -MP -MF loader/$(DEPDIR)/aout_module-aout.Tpo -c -o loader/aout_module-aout.obj `if test -f 'loader/aout.c'; then $(CYGPATH_W) 'loader/aout.c'; else $(CYGPATH_W) '$(srcdir)/loader/aout.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/aout_module-aout.Tpo loader/$(DEPDIR)/aout_module-aout.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/aout.c' object='loader/aout_module-aout.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $(aout_module_CFLAGS) $(CFLAGS) -c -o loader/aout_module-aout.obj `if test -f 'loader/aout.c'; then $(CYGPATH_W) 'loader/aout.c'; else $(CYGPATH_W) '$(srcdir)/loader/aout.c'; fi` + +loader/efi/appleldr_module-appleloader.o: loader/efi/appleloader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $(appleldr_module_CFLAGS) $(CFLAGS) -MT loader/efi/appleldr_module-appleloader.o -MD -MP -MF loader/efi/$(DEPDIR)/appleldr_module-appleloader.Tpo -c -o loader/efi/appleldr_module-appleloader.o `test -f 'loader/efi/appleloader.c' || echo '$(srcdir)/'`loader/efi/appleloader.c +@am__fastdepCC_TRUE@ $(am__mv) loader/efi/$(DEPDIR)/appleldr_module-appleloader.Tpo loader/efi/$(DEPDIR)/appleldr_module-appleloader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/efi/appleloader.c' object='loader/efi/appleldr_module-appleloader.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $(appleldr_module_CFLAGS) $(CFLAGS) -c -o loader/efi/appleldr_module-appleloader.o `test -f 'loader/efi/appleloader.c' || echo '$(srcdir)/'`loader/efi/appleloader.c + +loader/efi/appleldr_module-appleloader.obj: loader/efi/appleloader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $(appleldr_module_CFLAGS) $(CFLAGS) -MT loader/efi/appleldr_module-appleloader.obj -MD -MP -MF loader/efi/$(DEPDIR)/appleldr_module-appleloader.Tpo -c -o loader/efi/appleldr_module-appleloader.obj `if test -f 'loader/efi/appleloader.c'; then $(CYGPATH_W) 'loader/efi/appleloader.c'; else $(CYGPATH_W) '$(srcdir)/loader/efi/appleloader.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/efi/$(DEPDIR)/appleldr_module-appleloader.Tpo loader/efi/$(DEPDIR)/appleldr_module-appleloader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/efi/appleloader.c' object='loader/efi/appleldr_module-appleloader.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $(appleldr_module_CFLAGS) $(CFLAGS) -c -o loader/efi/appleldr_module-appleloader.obj `if test -f 'loader/efi/appleloader.c'; then $(CYGPATH_W) 'loader/efi/appleloader.c'; else $(CYGPATH_W) '$(srcdir)/loader/efi/appleloader.c'; fi` + +term/at_keyboard_module-at_keyboard.o: term/at_keyboard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(at_keyboard_module_CFLAGS) $(CFLAGS) -MT term/at_keyboard_module-at_keyboard.o -MD -MP -MF term/$(DEPDIR)/at_keyboard_module-at_keyboard.Tpo -c -o term/at_keyboard_module-at_keyboard.o `test -f 'term/at_keyboard.c' || echo '$(srcdir)/'`term/at_keyboard.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/at_keyboard_module-at_keyboard.Tpo term/$(DEPDIR)/at_keyboard_module-at_keyboard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/at_keyboard.c' object='term/at_keyboard_module-at_keyboard.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(at_keyboard_module_CFLAGS) $(CFLAGS) -c -o term/at_keyboard_module-at_keyboard.o `test -f 'term/at_keyboard.c' || echo '$(srcdir)/'`term/at_keyboard.c + +term/at_keyboard_module-at_keyboard.obj: term/at_keyboard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(at_keyboard_module_CFLAGS) $(CFLAGS) -MT term/at_keyboard_module-at_keyboard.obj -MD -MP -MF term/$(DEPDIR)/at_keyboard_module-at_keyboard.Tpo -c -o term/at_keyboard_module-at_keyboard.obj `if test -f 'term/at_keyboard.c'; then $(CYGPATH_W) 'term/at_keyboard.c'; else $(CYGPATH_W) '$(srcdir)/term/at_keyboard.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/at_keyboard_module-at_keyboard.Tpo term/$(DEPDIR)/at_keyboard_module-at_keyboard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/at_keyboard.c' object='term/at_keyboard_module-at_keyboard.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(at_keyboard_module_CFLAGS) $(CFLAGS) -c -o term/at_keyboard_module-at_keyboard.obj `if test -f 'term/at_keyboard.c'; then $(CYGPATH_W) 'term/at_keyboard.c'; else $(CYGPATH_W) '$(srcdir)/term/at_keyboard.c'; fi` + +disk/ata_module-ata.o: disk/ata.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $(ata_module_CFLAGS) $(CFLAGS) -MT disk/ata_module-ata.o -MD -MP -MF disk/$(DEPDIR)/ata_module-ata.Tpo -c -o disk/ata_module-ata.o `test -f 'disk/ata.c' || echo '$(srcdir)/'`disk/ata.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/ata_module-ata.Tpo disk/$(DEPDIR)/ata_module-ata.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ata.c' object='disk/ata_module-ata.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $(ata_module_CFLAGS) $(CFLAGS) -c -o disk/ata_module-ata.o `test -f 'disk/ata.c' || echo '$(srcdir)/'`disk/ata.c + +disk/ata_module-ata.obj: disk/ata.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $(ata_module_CFLAGS) $(CFLAGS) -MT disk/ata_module-ata.obj -MD -MP -MF disk/$(DEPDIR)/ata_module-ata.Tpo -c -o disk/ata_module-ata.obj `if test -f 'disk/ata.c'; then $(CYGPATH_W) 'disk/ata.c'; else $(CYGPATH_W) '$(srcdir)/disk/ata.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/ata_module-ata.Tpo disk/$(DEPDIR)/ata_module-ata.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ata.c' object='disk/ata_module-ata.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $(ata_module_CFLAGS) $(CFLAGS) -c -o disk/ata_module-ata.obj `if test -f 'disk/ata.c'; then $(CYGPATH_W) 'disk/ata.c'; else $(CYGPATH_W) '$(srcdir)/disk/ata.c'; fi` + +disk/ata_pthru_module-ata_pthru.o: disk/ata_pthru.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $(ata_pthru_module_CFLAGS) $(CFLAGS) -MT disk/ata_pthru_module-ata_pthru.o -MD -MP -MF disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Tpo -c -o disk/ata_pthru_module-ata_pthru.o `test -f 'disk/ata_pthru.c' || echo '$(srcdir)/'`disk/ata_pthru.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Tpo disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ata_pthru.c' object='disk/ata_pthru_module-ata_pthru.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $(ata_pthru_module_CFLAGS) $(CFLAGS) -c -o disk/ata_pthru_module-ata_pthru.o `test -f 'disk/ata_pthru.c' || echo '$(srcdir)/'`disk/ata_pthru.c + +disk/ata_pthru_module-ata_pthru.obj: disk/ata_pthru.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $(ata_pthru_module_CFLAGS) $(CFLAGS) -MT disk/ata_pthru_module-ata_pthru.obj -MD -MP -MF disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Tpo -c -o disk/ata_pthru_module-ata_pthru.obj `if test -f 'disk/ata_pthru.c'; then $(CYGPATH_W) 'disk/ata_pthru.c'; else $(CYGPATH_W) '$(srcdir)/disk/ata_pthru.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Tpo disk/$(DEPDIR)/ata_pthru_module-ata_pthru.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ata_pthru.c' object='disk/ata_pthru_module-ata_pthru.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $(ata_pthru_module_CFLAGS) $(CFLAGS) -c -o disk/ata_pthru_module-ata_pthru.obj `if test -f 'disk/ata_pthru.c'; then $(CYGPATH_W) 'disk/ata_pthru.c'; else $(CYGPATH_W) '$(srcdir)/disk/ata_pthru.c'; fi` + +fs/befs_module-befs.o: fs/befs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $(befs_module_CFLAGS) $(CFLAGS) -MT fs/befs_module-befs.o -MD -MP -MF fs/$(DEPDIR)/befs_module-befs.Tpo -c -o fs/befs_module-befs.o `test -f 'fs/befs.c' || echo '$(srcdir)/'`fs/befs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/befs_module-befs.Tpo fs/$(DEPDIR)/befs_module-befs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/befs.c' object='fs/befs_module-befs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $(befs_module_CFLAGS) $(CFLAGS) -c -o fs/befs_module-befs.o `test -f 'fs/befs.c' || echo '$(srcdir)/'`fs/befs.c + +fs/befs_module-befs.obj: fs/befs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $(befs_module_CFLAGS) $(CFLAGS) -MT fs/befs_module-befs.obj -MD -MP -MF fs/$(DEPDIR)/befs_module-befs.Tpo -c -o fs/befs_module-befs.obj `if test -f 'fs/befs.c'; then $(CYGPATH_W) 'fs/befs.c'; else $(CYGPATH_W) '$(srcdir)/fs/befs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/befs_module-befs.Tpo fs/$(DEPDIR)/befs_module-befs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/befs.c' object='fs/befs_module-befs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $(befs_module_CFLAGS) $(CFLAGS) -c -o fs/befs_module-befs.obj `if test -f 'fs/befs.c'; then $(CYGPATH_W) 'fs/befs.c'; else $(CYGPATH_W) '$(srcdir)/fs/befs.c'; fi` + +fs/befs_be_module-befs_be.o: fs/befs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $(befs_be_module_CFLAGS) $(CFLAGS) -MT fs/befs_be_module-befs_be.o -MD -MP -MF fs/$(DEPDIR)/befs_be_module-befs_be.Tpo -c -o fs/befs_be_module-befs_be.o `test -f 'fs/befs_be.c' || echo '$(srcdir)/'`fs/befs_be.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/befs_be_module-befs_be.Tpo fs/$(DEPDIR)/befs_be_module-befs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/befs_be.c' object='fs/befs_be_module-befs_be.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $(befs_be_module_CFLAGS) $(CFLAGS) -c -o fs/befs_be_module-befs_be.o `test -f 'fs/befs_be.c' || echo '$(srcdir)/'`fs/befs_be.c + +fs/befs_be_module-befs_be.obj: fs/befs_be.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $(befs_be_module_CFLAGS) $(CFLAGS) -MT fs/befs_be_module-befs_be.obj -MD -MP -MF fs/$(DEPDIR)/befs_be_module-befs_be.Tpo -c -o fs/befs_be_module-befs_be.obj `if test -f 'fs/befs_be.c'; then $(CYGPATH_W) 'fs/befs_be.c'; else $(CYGPATH_W) '$(srcdir)/fs/befs_be.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/befs_be_module-befs_be.Tpo fs/$(DEPDIR)/befs_be_module-befs_be.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/befs_be.c' object='fs/befs_be_module-befs_be.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $(befs_be_module_CFLAGS) $(CFLAGS) -c -o fs/befs_be_module-befs_be.obj `if test -f 'fs/befs_be.c'; then $(CYGPATH_W) 'fs/befs_be.c'; else $(CYGPATH_W) '$(srcdir)/fs/befs_be.c'; fi` + +disk/i386/pc/biosdisk_module-biosdisk.o: disk/i386/pc/biosdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(biosdisk_module_CPPFLAGS) $(CPPFLAGS) $(biosdisk_module_CFLAGS) $(CFLAGS) -MT disk/i386/pc/biosdisk_module-biosdisk.o -MD -MP -MF disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Tpo -c -o disk/i386/pc/biosdisk_module-biosdisk.o `test -f 'disk/i386/pc/biosdisk.c' || echo '$(srcdir)/'`disk/i386/pc/biosdisk.c +@am__fastdepCC_TRUE@ $(am__mv) disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Tpo disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/i386/pc/biosdisk.c' object='disk/i386/pc/biosdisk_module-biosdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(biosdisk_module_CPPFLAGS) $(CPPFLAGS) $(biosdisk_module_CFLAGS) $(CFLAGS) -c -o disk/i386/pc/biosdisk_module-biosdisk.o `test -f 'disk/i386/pc/biosdisk.c' || echo '$(srcdir)/'`disk/i386/pc/biosdisk.c + +disk/i386/pc/biosdisk_module-biosdisk.obj: disk/i386/pc/biosdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(biosdisk_module_CPPFLAGS) $(CPPFLAGS) $(biosdisk_module_CFLAGS) $(CFLAGS) -MT disk/i386/pc/biosdisk_module-biosdisk.obj -MD -MP -MF disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Tpo -c -o disk/i386/pc/biosdisk_module-biosdisk.obj `if test -f 'disk/i386/pc/biosdisk.c'; then $(CYGPATH_W) 'disk/i386/pc/biosdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/i386/pc/biosdisk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Tpo disk/i386/pc/$(DEPDIR)/biosdisk_module-biosdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/i386/pc/biosdisk.c' object='disk/i386/pc/biosdisk_module-biosdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(biosdisk_module_CPPFLAGS) $(CPPFLAGS) $(biosdisk_module_CFLAGS) $(CFLAGS) -c -o disk/i386/pc/biosdisk_module-biosdisk.obj `if test -f 'disk/i386/pc/biosdisk.c'; then $(CYGPATH_W) 'disk/i386/pc/biosdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/i386/pc/biosdisk.c'; fi` + +video/bitmap_module-bitmap.o: video/bitmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_module_CFLAGS) $(CFLAGS) -MT video/bitmap_module-bitmap.o -MD -MP -MF video/$(DEPDIR)/bitmap_module-bitmap.Tpo -c -o video/bitmap_module-bitmap.o `test -f 'video/bitmap.c' || echo '$(srcdir)/'`video/bitmap.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/bitmap_module-bitmap.Tpo video/$(DEPDIR)/bitmap_module-bitmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap.c' object='video/bitmap_module-bitmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_module_CFLAGS) $(CFLAGS) -c -o video/bitmap_module-bitmap.o `test -f 'video/bitmap.c' || echo '$(srcdir)/'`video/bitmap.c + +video/bitmap_module-bitmap.obj: video/bitmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_module_CFLAGS) $(CFLAGS) -MT video/bitmap_module-bitmap.obj -MD -MP -MF video/$(DEPDIR)/bitmap_module-bitmap.Tpo -c -o video/bitmap_module-bitmap.obj `if test -f 'video/bitmap.c'; then $(CYGPATH_W) 'video/bitmap.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/bitmap_module-bitmap.Tpo video/$(DEPDIR)/bitmap_module-bitmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap.c' object='video/bitmap_module-bitmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_module_CFLAGS) $(CFLAGS) -c -o video/bitmap_module-bitmap.obj `if test -f 'video/bitmap.c'; then $(CYGPATH_W) 'video/bitmap.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap.c'; fi` + +video/bitmap_scale_module-bitmap_scale.o: video/bitmap_scale.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_scale_module_CFLAGS) $(CFLAGS) -MT video/bitmap_scale_module-bitmap_scale.o -MD -MP -MF video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Tpo -c -o video/bitmap_scale_module-bitmap_scale.o `test -f 'video/bitmap_scale.c' || echo '$(srcdir)/'`video/bitmap_scale.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Tpo video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap_scale.c' object='video/bitmap_scale_module-bitmap_scale.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_scale_module_CFLAGS) $(CFLAGS) -c -o video/bitmap_scale_module-bitmap_scale.o `test -f 'video/bitmap_scale.c' || echo '$(srcdir)/'`video/bitmap_scale.c + +video/bitmap_scale_module-bitmap_scale.obj: video/bitmap_scale.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_scale_module_CFLAGS) $(CFLAGS) -MT video/bitmap_scale_module-bitmap_scale.obj -MD -MP -MF video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Tpo -c -o video/bitmap_scale_module-bitmap_scale.obj `if test -f 'video/bitmap_scale.c'; then $(CYGPATH_W) 'video/bitmap_scale.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap_scale.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Tpo video/$(DEPDIR)/bitmap_scale_module-bitmap_scale.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap_scale.c' object='video/bitmap_scale_module-bitmap_scale.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $(bitmap_scale_module_CFLAGS) $(CFLAGS) -c -o video/bitmap_scale_module-bitmap_scale.obj `if test -f 'video/bitmap_scale.c'; then $(CYGPATH_W) 'video/bitmap_scale.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap_scale.c'; fi` + +commands/blocklist_module-blocklist.o: commands/blocklist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $(blocklist_module_CFLAGS) $(CFLAGS) -MT commands/blocklist_module-blocklist.o -MD -MP -MF commands/$(DEPDIR)/blocklist_module-blocklist.Tpo -c -o commands/blocklist_module-blocklist.o `test -f 'commands/blocklist.c' || echo '$(srcdir)/'`commands/blocklist.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/blocklist_module-blocklist.Tpo commands/$(DEPDIR)/blocklist_module-blocklist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/blocklist.c' object='commands/blocklist_module-blocklist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $(blocklist_module_CFLAGS) $(CFLAGS) -c -o commands/blocklist_module-blocklist.o `test -f 'commands/blocklist.c' || echo '$(srcdir)/'`commands/blocklist.c + +commands/blocklist_module-blocklist.obj: commands/blocklist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $(blocklist_module_CFLAGS) $(CFLAGS) -MT commands/blocklist_module-blocklist.obj -MD -MP -MF commands/$(DEPDIR)/blocklist_module-blocklist.Tpo -c -o commands/blocklist_module-blocklist.obj `if test -f 'commands/blocklist.c'; then $(CYGPATH_W) 'commands/blocklist.c'; else $(CYGPATH_W) '$(srcdir)/commands/blocklist.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/blocklist_module-blocklist.Tpo commands/$(DEPDIR)/blocklist_module-blocklist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/blocklist.c' object='commands/blocklist_module-blocklist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $(blocklist_module_CFLAGS) $(CFLAGS) -c -o commands/blocklist_module-blocklist.obj `if test -f 'commands/blocklist.c'; then $(CYGPATH_W) 'commands/blocklist.c'; else $(CYGPATH_W) '$(srcdir)/commands/blocklist.c'; fi` + +commands/boot_module-boot.o: commands/boot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -MT commands/boot_module-boot.o -MD -MP -MF commands/$(DEPDIR)/boot_module-boot.Tpo -c -o commands/boot_module-boot.o `test -f 'commands/boot.c' || echo '$(srcdir)/'`commands/boot.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/boot_module-boot.Tpo commands/$(DEPDIR)/boot_module-boot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/boot.c' object='commands/boot_module-boot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -c -o commands/boot_module-boot.o `test -f 'commands/boot.c' || echo '$(srcdir)/'`commands/boot.c + +commands/boot_module-boot.obj: commands/boot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -MT commands/boot_module-boot.obj -MD -MP -MF commands/$(DEPDIR)/boot_module-boot.Tpo -c -o commands/boot_module-boot.obj `if test -f 'commands/boot.c'; then $(CYGPATH_W) 'commands/boot.c'; else $(CYGPATH_W) '$(srcdir)/commands/boot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/boot_module-boot.Tpo commands/$(DEPDIR)/boot_module-boot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/boot.c' object='commands/boot_module-boot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -c -o commands/boot_module-boot.obj `if test -f 'commands/boot.c'; then $(CYGPATH_W) 'commands/boot.c'; else $(CYGPATH_W) '$(srcdir)/commands/boot.c'; fi` + +lib/i386/pc/boot_module-biosnum.o: lib/i386/pc/biosnum.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -MT lib/i386/pc/boot_module-biosnum.o -MD -MP -MF lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Tpo -c -o lib/i386/pc/boot_module-biosnum.o `test -f 'lib/i386/pc/biosnum.c' || echo '$(srcdir)/'`lib/i386/pc/biosnum.c +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Tpo lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/pc/biosnum.c' object='lib/i386/pc/boot_module-biosnum.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -c -o lib/i386/pc/boot_module-biosnum.o `test -f 'lib/i386/pc/biosnum.c' || echo '$(srcdir)/'`lib/i386/pc/biosnum.c + +lib/i386/pc/boot_module-biosnum.obj: lib/i386/pc/biosnum.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -MT lib/i386/pc/boot_module-biosnum.obj -MD -MP -MF lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Tpo -c -o lib/i386/pc/boot_module-biosnum.obj `if test -f 'lib/i386/pc/biosnum.c'; then $(CYGPATH_W) 'lib/i386/pc/biosnum.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/pc/biosnum.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Tpo lib/i386/pc/$(DEPDIR)/boot_module-biosnum.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/pc/biosnum.c' object='lib/i386/pc/boot_module-biosnum.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $(boot_module_CFLAGS) $(CFLAGS) -c -o lib/i386/pc/boot_module-biosnum.obj `if test -f 'lib/i386/pc/biosnum.c'; then $(CYGPATH_W) 'lib/i386/pc/biosnum.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/pc/biosnum.c'; fi` + +loader/i386/bsd_module-bsd.o: loader/i386/bsd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -MT loader/i386/bsd_module-bsd.o -MD -MP -MF loader/i386/$(DEPDIR)/bsd_module-bsd.Tpo -c -o loader/i386/bsd_module-bsd.o `test -f 'loader/i386/bsd.c' || echo '$(srcdir)/'`loader/i386/bsd.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/bsd_module-bsd.Tpo loader/i386/$(DEPDIR)/bsd_module-bsd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/bsd.c' object='loader/i386/bsd_module-bsd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -c -o loader/i386/bsd_module-bsd.o `test -f 'loader/i386/bsd.c' || echo '$(srcdir)/'`loader/i386/bsd.c + +loader/i386/bsd_module-bsd.obj: loader/i386/bsd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -MT loader/i386/bsd_module-bsd.obj -MD -MP -MF loader/i386/$(DEPDIR)/bsd_module-bsd.Tpo -c -o loader/i386/bsd_module-bsd.obj `if test -f 'loader/i386/bsd.c'; then $(CYGPATH_W) 'loader/i386/bsd.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/bsd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/bsd_module-bsd.Tpo loader/i386/$(DEPDIR)/bsd_module-bsd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/bsd.c' object='loader/i386/bsd_module-bsd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -c -o loader/i386/bsd_module-bsd.obj `if test -f 'loader/i386/bsd.c'; then $(CYGPATH_W) 'loader/i386/bsd.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/bsd.c'; fi` + +loader/i386/bsd_module-bsd32.o: loader/i386/bsd32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -MT loader/i386/bsd_module-bsd32.o -MD -MP -MF loader/i386/$(DEPDIR)/bsd_module-bsd32.Tpo -c -o loader/i386/bsd_module-bsd32.o `test -f 'loader/i386/bsd32.c' || echo '$(srcdir)/'`loader/i386/bsd32.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/bsd_module-bsd32.Tpo loader/i386/$(DEPDIR)/bsd_module-bsd32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/bsd32.c' object='loader/i386/bsd_module-bsd32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -c -o loader/i386/bsd_module-bsd32.o `test -f 'loader/i386/bsd32.c' || echo '$(srcdir)/'`loader/i386/bsd32.c + +loader/i386/bsd_module-bsd32.obj: loader/i386/bsd32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -MT loader/i386/bsd_module-bsd32.obj -MD -MP -MF loader/i386/$(DEPDIR)/bsd_module-bsd32.Tpo -c -o loader/i386/bsd_module-bsd32.obj `if test -f 'loader/i386/bsd32.c'; then $(CYGPATH_W) 'loader/i386/bsd32.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/bsd32.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/bsd_module-bsd32.Tpo loader/i386/$(DEPDIR)/bsd_module-bsd32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/bsd32.c' object='loader/i386/bsd_module-bsd32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -c -o loader/i386/bsd_module-bsd32.obj `if test -f 'loader/i386/bsd32.c'; then $(CYGPATH_W) 'loader/i386/bsd32.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/bsd32.c'; fi` + +loader/i386/bsd_module-bsd64.o: loader/i386/bsd64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -MT loader/i386/bsd_module-bsd64.o -MD -MP -MF loader/i386/$(DEPDIR)/bsd_module-bsd64.Tpo -c -o loader/i386/bsd_module-bsd64.o `test -f 'loader/i386/bsd64.c' || echo '$(srcdir)/'`loader/i386/bsd64.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/bsd_module-bsd64.Tpo loader/i386/$(DEPDIR)/bsd_module-bsd64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/bsd64.c' object='loader/i386/bsd_module-bsd64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -c -o loader/i386/bsd_module-bsd64.o `test -f 'loader/i386/bsd64.c' || echo '$(srcdir)/'`loader/i386/bsd64.c + +loader/i386/bsd_module-bsd64.obj: loader/i386/bsd64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -MT loader/i386/bsd_module-bsd64.obj -MD -MP -MF loader/i386/$(DEPDIR)/bsd_module-bsd64.Tpo -c -o loader/i386/bsd_module-bsd64.obj `if test -f 'loader/i386/bsd64.c'; then $(CYGPATH_W) 'loader/i386/bsd64.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/bsd64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/bsd_module-bsd64.Tpo loader/i386/$(DEPDIR)/bsd_module-bsd64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/bsd64.c' object='loader/i386/bsd_module-bsd64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $(bsd_module_CFLAGS) $(CFLAGS) -c -o loader/i386/bsd_module-bsd64.obj `if test -f 'loader/i386/bsd64.c'; then $(CYGPATH_W) 'loader/i386/bsd64.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/bsd64.c'; fi` + +fs/btrfs_module-btrfs.o: fs/btrfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -MT fs/btrfs_module-btrfs.o -MD -MP -MF fs/$(DEPDIR)/btrfs_module-btrfs.Tpo -c -o fs/btrfs_module-btrfs.o `test -f 'fs/btrfs.c' || echo '$(srcdir)/'`fs/btrfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/btrfs_module-btrfs.Tpo fs/$(DEPDIR)/btrfs_module-btrfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/btrfs.c' object='fs/btrfs_module-btrfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -c -o fs/btrfs_module-btrfs.o `test -f 'fs/btrfs.c' || echo '$(srcdir)/'`fs/btrfs.c + +fs/btrfs_module-btrfs.obj: fs/btrfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -MT fs/btrfs_module-btrfs.obj -MD -MP -MF fs/$(DEPDIR)/btrfs_module-btrfs.Tpo -c -o fs/btrfs_module-btrfs.obj `if test -f 'fs/btrfs.c'; then $(CYGPATH_W) 'fs/btrfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/btrfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/btrfs_module-btrfs.Tpo fs/$(DEPDIR)/btrfs_module-btrfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/btrfs.c' object='fs/btrfs_module-btrfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -c -o fs/btrfs_module-btrfs.obj `if test -f 'fs/btrfs.c'; then $(CYGPATH_W) 'fs/btrfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/btrfs.c'; fi` + +lib/btrfs_module-crc.o: lib/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -MT lib/btrfs_module-crc.o -MD -MP -MF lib/$(DEPDIR)/btrfs_module-crc.Tpo -c -o lib/btrfs_module-crc.o `test -f 'lib/crc.c' || echo '$(srcdir)/'`lib/crc.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/btrfs_module-crc.Tpo lib/$(DEPDIR)/btrfs_module-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/crc.c' object='lib/btrfs_module-crc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -c -o lib/btrfs_module-crc.o `test -f 'lib/crc.c' || echo '$(srcdir)/'`lib/crc.c + +lib/btrfs_module-crc.obj: lib/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -MT lib/btrfs_module-crc.obj -MD -MP -MF lib/$(DEPDIR)/btrfs_module-crc.Tpo -c -o lib/btrfs_module-crc.obj `if test -f 'lib/crc.c'; then $(CYGPATH_W) 'lib/crc.c'; else $(CYGPATH_W) '$(srcdir)/lib/crc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/btrfs_module-crc.Tpo lib/$(DEPDIR)/btrfs_module-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/crc.c' object='lib/btrfs_module-crc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $(btrfs_module_CFLAGS) $(CFLAGS) -c -o lib/btrfs_module-crc.obj `if test -f 'lib/crc.c'; then $(CYGPATH_W) 'lib/crc.c'; else $(CYGPATH_W) '$(srcdir)/lib/crc.c'; fi` + +io/bufio_module-bufio.o: io/bufio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $(bufio_module_CFLAGS) $(CFLAGS) -MT io/bufio_module-bufio.o -MD -MP -MF io/$(DEPDIR)/bufio_module-bufio.Tpo -c -o io/bufio_module-bufio.o `test -f 'io/bufio.c' || echo '$(srcdir)/'`io/bufio.c +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/bufio_module-bufio.Tpo io/$(DEPDIR)/bufio_module-bufio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/bufio.c' object='io/bufio_module-bufio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $(bufio_module_CFLAGS) $(CFLAGS) -c -o io/bufio_module-bufio.o `test -f 'io/bufio.c' || echo '$(srcdir)/'`io/bufio.c + +io/bufio_module-bufio.obj: io/bufio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $(bufio_module_CFLAGS) $(CFLAGS) -MT io/bufio_module-bufio.obj -MD -MP -MF io/$(DEPDIR)/bufio_module-bufio.Tpo -c -o io/bufio_module-bufio.obj `if test -f 'io/bufio.c'; then $(CYGPATH_W) 'io/bufio.c'; else $(CYGPATH_W) '$(srcdir)/io/bufio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/bufio_module-bufio.Tpo io/$(DEPDIR)/bufio_module-bufio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/bufio.c' object='io/bufio_module-bufio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $(bufio_module_CFLAGS) $(CFLAGS) -c -o io/bufio_module-bufio.obj `if test -f 'io/bufio.c'; then $(CYGPATH_W) 'io/bufio.c'; else $(CYGPATH_W) '$(srcdir)/io/bufio.c'; fi` + +commands/cat_module-cat.o: commands/cat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $(cat_module_CFLAGS) $(CFLAGS) -MT commands/cat_module-cat.o -MD -MP -MF commands/$(DEPDIR)/cat_module-cat.Tpo -c -o commands/cat_module-cat.o `test -f 'commands/cat.c' || echo '$(srcdir)/'`commands/cat.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/cat_module-cat.Tpo commands/$(DEPDIR)/cat_module-cat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/cat.c' object='commands/cat_module-cat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $(cat_module_CFLAGS) $(CFLAGS) -c -o commands/cat_module-cat.o `test -f 'commands/cat.c' || echo '$(srcdir)/'`commands/cat.c + +commands/cat_module-cat.obj: commands/cat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $(cat_module_CFLAGS) $(CFLAGS) -MT commands/cat_module-cat.obj -MD -MP -MF commands/$(DEPDIR)/cat_module-cat.Tpo -c -o commands/cat_module-cat.obj `if test -f 'commands/cat.c'; then $(CYGPATH_W) 'commands/cat.c'; else $(CYGPATH_W) '$(srcdir)/commands/cat.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/cat_module-cat.Tpo commands/$(DEPDIR)/cat_module-cat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/cat.c' object='commands/cat_module-cat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $(cat_module_CFLAGS) $(CFLAGS) -c -o commands/cat_module-cat.obj `if test -f 'commands/cat.c'; then $(CYGPATH_W) 'commands/cat.c'; else $(CYGPATH_W) '$(srcdir)/commands/cat.c'; fi` + +loader/efi/chain_module-chainloader.o: loader/efi/chainloader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -MT loader/efi/chain_module-chainloader.o -MD -MP -MF loader/efi/$(DEPDIR)/chain_module-chainloader.Tpo -c -o loader/efi/chain_module-chainloader.o `test -f 'loader/efi/chainloader.c' || echo '$(srcdir)/'`loader/efi/chainloader.c +@am__fastdepCC_TRUE@ $(am__mv) loader/efi/$(DEPDIR)/chain_module-chainloader.Tpo loader/efi/$(DEPDIR)/chain_module-chainloader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/efi/chainloader.c' object='loader/efi/chain_module-chainloader.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -c -o loader/efi/chain_module-chainloader.o `test -f 'loader/efi/chainloader.c' || echo '$(srcdir)/'`loader/efi/chainloader.c + +loader/efi/chain_module-chainloader.obj: loader/efi/chainloader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -MT loader/efi/chain_module-chainloader.obj -MD -MP -MF loader/efi/$(DEPDIR)/chain_module-chainloader.Tpo -c -o loader/efi/chain_module-chainloader.obj `if test -f 'loader/efi/chainloader.c'; then $(CYGPATH_W) 'loader/efi/chainloader.c'; else $(CYGPATH_W) '$(srcdir)/loader/efi/chainloader.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/efi/$(DEPDIR)/chain_module-chainloader.Tpo loader/efi/$(DEPDIR)/chain_module-chainloader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/efi/chainloader.c' object='loader/efi/chain_module-chainloader.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -c -o loader/efi/chain_module-chainloader.obj `if test -f 'loader/efi/chainloader.c'; then $(CYGPATH_W) 'loader/efi/chainloader.c'; else $(CYGPATH_W) '$(srcdir)/loader/efi/chainloader.c'; fi` + +loader/i386/pc/chain_module-chainloader.o: loader/i386/pc/chainloader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -MT loader/i386/pc/chain_module-chainloader.o -MD -MP -MF loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Tpo -c -o loader/i386/pc/chain_module-chainloader.o `test -f 'loader/i386/pc/chainloader.c' || echo '$(srcdir)/'`loader/i386/pc/chainloader.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Tpo loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/pc/chainloader.c' object='loader/i386/pc/chain_module-chainloader.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -c -o loader/i386/pc/chain_module-chainloader.o `test -f 'loader/i386/pc/chainloader.c' || echo '$(srcdir)/'`loader/i386/pc/chainloader.c + +loader/i386/pc/chain_module-chainloader.obj: loader/i386/pc/chainloader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -MT loader/i386/pc/chain_module-chainloader.obj -MD -MP -MF loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Tpo -c -o loader/i386/pc/chain_module-chainloader.obj `if test -f 'loader/i386/pc/chainloader.c'; then $(CYGPATH_W) 'loader/i386/pc/chainloader.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/pc/chainloader.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Tpo loader/i386/pc/$(DEPDIR)/chain_module-chainloader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/pc/chainloader.c' object='loader/i386/pc/chain_module-chainloader.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $(chain_module_CFLAGS) $(CFLAGS) -c -o loader/i386/pc/chain_module-chainloader.obj `if test -f 'loader/i386/pc/chainloader.c'; then $(CYGPATH_W) 'loader/i386/pc/chainloader.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/pc/chainloader.c'; fi` + +commands/i386/cmostest_module-cmostest.o: commands/i386/cmostest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $(cmostest_module_CFLAGS) $(CFLAGS) -MT commands/i386/cmostest_module-cmostest.o -MD -MP -MF commands/i386/$(DEPDIR)/cmostest_module-cmostest.Tpo -c -o commands/i386/cmostest_module-cmostest.o `test -f 'commands/i386/cmostest.c' || echo '$(srcdir)/'`commands/i386/cmostest.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/$(DEPDIR)/cmostest_module-cmostest.Tpo commands/i386/$(DEPDIR)/cmostest_module-cmostest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/cmostest.c' object='commands/i386/cmostest_module-cmostest.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $(cmostest_module_CFLAGS) $(CFLAGS) -c -o commands/i386/cmostest_module-cmostest.o `test -f 'commands/i386/cmostest.c' || echo '$(srcdir)/'`commands/i386/cmostest.c + +commands/i386/cmostest_module-cmostest.obj: commands/i386/cmostest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $(cmostest_module_CFLAGS) $(CFLAGS) -MT commands/i386/cmostest_module-cmostest.obj -MD -MP -MF commands/i386/$(DEPDIR)/cmostest_module-cmostest.Tpo -c -o commands/i386/cmostest_module-cmostest.obj `if test -f 'commands/i386/cmostest.c'; then $(CYGPATH_W) 'commands/i386/cmostest.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/cmostest.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/$(DEPDIR)/cmostest_module-cmostest.Tpo commands/i386/$(DEPDIR)/cmostest_module-cmostest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/cmostest.c' object='commands/i386/cmostest_module-cmostest.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $(cmostest_module_CFLAGS) $(CFLAGS) -c -o commands/i386/cmostest_module-cmostest.obj `if test -f 'commands/i386/cmostest.c'; then $(CYGPATH_W) 'commands/i386/cmostest.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/cmostest.c'; fi` + +commands/cmp_module-cmp.o: commands/cmp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $(cmp_module_CFLAGS) $(CFLAGS) -MT commands/cmp_module-cmp.o -MD -MP -MF commands/$(DEPDIR)/cmp_module-cmp.Tpo -c -o commands/cmp_module-cmp.o `test -f 'commands/cmp.c' || echo '$(srcdir)/'`commands/cmp.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/cmp_module-cmp.Tpo commands/$(DEPDIR)/cmp_module-cmp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/cmp.c' object='commands/cmp_module-cmp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $(cmp_module_CFLAGS) $(CFLAGS) -c -o commands/cmp_module-cmp.o `test -f 'commands/cmp.c' || echo '$(srcdir)/'`commands/cmp.c + +commands/cmp_module-cmp.obj: commands/cmp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $(cmp_module_CFLAGS) $(CFLAGS) -MT commands/cmp_module-cmp.obj -MD -MP -MF commands/$(DEPDIR)/cmp_module-cmp.Tpo -c -o commands/cmp_module-cmp.obj `if test -f 'commands/cmp.c'; then $(CYGPATH_W) 'commands/cmp.c'; else $(CYGPATH_W) '$(srcdir)/commands/cmp.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/cmp_module-cmp.Tpo commands/$(DEPDIR)/cmp_module-cmp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/cmp.c' object='commands/cmp_module-cmp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $(cmp_module_CFLAGS) $(CFLAGS) -c -o commands/cmp_module-cmp.obj `if test -f 'commands/cmp.c'; then $(CYGPATH_W) 'commands/cmp.c'; else $(CYGPATH_W) '$(srcdir)/commands/cmp.c'; fi` + +commands/configfile_module-configfile.o: commands/configfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $(configfile_module_CFLAGS) $(CFLAGS) -MT commands/configfile_module-configfile.o -MD -MP -MF commands/$(DEPDIR)/configfile_module-configfile.Tpo -c -o commands/configfile_module-configfile.o `test -f 'commands/configfile.c' || echo '$(srcdir)/'`commands/configfile.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/configfile_module-configfile.Tpo commands/$(DEPDIR)/configfile_module-configfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/configfile.c' object='commands/configfile_module-configfile.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $(configfile_module_CFLAGS) $(CFLAGS) -c -o commands/configfile_module-configfile.o `test -f 'commands/configfile.c' || echo '$(srcdir)/'`commands/configfile.c + +commands/configfile_module-configfile.obj: commands/configfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $(configfile_module_CFLAGS) $(CFLAGS) -MT commands/configfile_module-configfile.obj -MD -MP -MF commands/$(DEPDIR)/configfile_module-configfile.Tpo -c -o commands/configfile_module-configfile.obj `if test -f 'commands/configfile.c'; then $(CYGPATH_W) 'commands/configfile.c'; else $(CYGPATH_W) '$(srcdir)/commands/configfile.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/configfile_module-configfile.Tpo commands/$(DEPDIR)/configfile_module-configfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/configfile.c' object='commands/configfile_module-configfile.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $(configfile_module_CFLAGS) $(CFLAGS) -c -o commands/configfile_module-configfile.obj `if test -f 'commands/configfile.c'; then $(CYGPATH_W) 'commands/configfile.c'; else $(CYGPATH_W) '$(srcdir)/commands/configfile.c'; fi` + +fs/cpio_module-cpio.o: fs/cpio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $(cpio_module_CFLAGS) $(CFLAGS) -MT fs/cpio_module-cpio.o -MD -MP -MF fs/$(DEPDIR)/cpio_module-cpio.Tpo -c -o fs/cpio_module-cpio.o `test -f 'fs/cpio.c' || echo '$(srcdir)/'`fs/cpio.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/cpio_module-cpio.Tpo fs/$(DEPDIR)/cpio_module-cpio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/cpio.c' object='fs/cpio_module-cpio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $(cpio_module_CFLAGS) $(CFLAGS) -c -o fs/cpio_module-cpio.o `test -f 'fs/cpio.c' || echo '$(srcdir)/'`fs/cpio.c + +fs/cpio_module-cpio.obj: fs/cpio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $(cpio_module_CFLAGS) $(CFLAGS) -MT fs/cpio_module-cpio.obj -MD -MP -MF fs/$(DEPDIR)/cpio_module-cpio.Tpo -c -o fs/cpio_module-cpio.obj `if test -f 'fs/cpio.c'; then $(CYGPATH_W) 'fs/cpio.c'; else $(CYGPATH_W) '$(srcdir)/fs/cpio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/cpio_module-cpio.Tpo fs/$(DEPDIR)/cpio_module-cpio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/cpio.c' object='fs/cpio_module-cpio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $(cpio_module_CFLAGS) $(CFLAGS) -c -o fs/cpio_module-cpio.obj `if test -f 'fs/cpio.c'; then $(CYGPATH_W) 'fs/cpio.c'; else $(CYGPATH_W) '$(srcdir)/fs/cpio.c'; fi` + +commands/i386/cpuid_module-cpuid.o: commands/i386/cpuid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $(cpuid_module_CFLAGS) $(CFLAGS) -MT commands/i386/cpuid_module-cpuid.o -MD -MP -MF commands/i386/$(DEPDIR)/cpuid_module-cpuid.Tpo -c -o commands/i386/cpuid_module-cpuid.o `test -f 'commands/i386/cpuid.c' || echo '$(srcdir)/'`commands/i386/cpuid.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/$(DEPDIR)/cpuid_module-cpuid.Tpo commands/i386/$(DEPDIR)/cpuid_module-cpuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/cpuid.c' object='commands/i386/cpuid_module-cpuid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $(cpuid_module_CFLAGS) $(CFLAGS) -c -o commands/i386/cpuid_module-cpuid.o `test -f 'commands/i386/cpuid.c' || echo '$(srcdir)/'`commands/i386/cpuid.c + +commands/i386/cpuid_module-cpuid.obj: commands/i386/cpuid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $(cpuid_module_CFLAGS) $(CFLAGS) -MT commands/i386/cpuid_module-cpuid.obj -MD -MP -MF commands/i386/$(DEPDIR)/cpuid_module-cpuid.Tpo -c -o commands/i386/cpuid_module-cpuid.obj `if test -f 'commands/i386/cpuid.c'; then $(CYGPATH_W) 'commands/i386/cpuid.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/cpuid.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/$(DEPDIR)/cpuid_module-cpuid.Tpo commands/i386/$(DEPDIR)/cpuid_module-cpuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/cpuid.c' object='commands/i386/cpuid_module-cpuid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $(cpuid_module_CFLAGS) $(CFLAGS) -c -o commands/i386/cpuid_module-cpuid.obj `if test -f 'commands/i386/cpuid.c'; then $(CYGPATH_W) 'commands/i386/cpuid.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/cpuid.c'; fi` + +lib/crypto_module-crypto.o: lib/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $(crypto_module_CFLAGS) $(CFLAGS) -MT lib/crypto_module-crypto.o -MD -MP -MF lib/$(DEPDIR)/crypto_module-crypto.Tpo -c -o lib/crypto_module-crypto.o `test -f 'lib/crypto.c' || echo '$(srcdir)/'`lib/crypto.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/crypto_module-crypto.Tpo lib/$(DEPDIR)/crypto_module-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/crypto.c' object='lib/crypto_module-crypto.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $(crypto_module_CFLAGS) $(CFLAGS) -c -o lib/crypto_module-crypto.o `test -f 'lib/crypto.c' || echo '$(srcdir)/'`lib/crypto.c + +lib/crypto_module-crypto.obj: lib/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $(crypto_module_CFLAGS) $(CFLAGS) -MT lib/crypto_module-crypto.obj -MD -MP -MF lib/$(DEPDIR)/crypto_module-crypto.Tpo -c -o lib/crypto_module-crypto.obj `if test -f 'lib/crypto.c'; then $(CYGPATH_W) 'lib/crypto.c'; else $(CYGPATH_W) '$(srcdir)/lib/crypto.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/crypto_module-crypto.Tpo lib/$(DEPDIR)/crypto_module-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/crypto.c' object='lib/crypto_module-crypto.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $(crypto_module_CFLAGS) $(CFLAGS) -c -o lib/crypto_module-crypto.obj `if test -f 'lib/crypto.c'; then $(CYGPATH_W) 'lib/crypto.c'; else $(CYGPATH_W) '$(srcdir)/lib/crypto.c'; fi` + +bus/cs5536_module-cs5536.o: bus/cs5536.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $(cs5536_module_CFLAGS) $(CFLAGS) -MT bus/cs5536_module-cs5536.o -MD -MP -MF bus/$(DEPDIR)/cs5536_module-cs5536.Tpo -c -o bus/cs5536_module-cs5536.o `test -f 'bus/cs5536.c' || echo '$(srcdir)/'`bus/cs5536.c +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/cs5536_module-cs5536.Tpo bus/$(DEPDIR)/cs5536_module-cs5536.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/cs5536.c' object='bus/cs5536_module-cs5536.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $(cs5536_module_CFLAGS) $(CFLAGS) -c -o bus/cs5536_module-cs5536.o `test -f 'bus/cs5536.c' || echo '$(srcdir)/'`bus/cs5536.c + +bus/cs5536_module-cs5536.obj: bus/cs5536.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $(cs5536_module_CFLAGS) $(CFLAGS) -MT bus/cs5536_module-cs5536.obj -MD -MP -MF bus/$(DEPDIR)/cs5536_module-cs5536.Tpo -c -o bus/cs5536_module-cs5536.obj `if test -f 'bus/cs5536.c'; then $(CYGPATH_W) 'bus/cs5536.c'; else $(CYGPATH_W) '$(srcdir)/bus/cs5536.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/cs5536_module-cs5536.Tpo bus/$(DEPDIR)/cs5536_module-cs5536.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/cs5536.c' object='bus/cs5536_module-cs5536.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $(cs5536_module_CFLAGS) $(CFLAGS) -c -o bus/cs5536_module-cs5536.obj `if test -f 'bus/cs5536.c'; then $(CYGPATH_W) 'bus/cs5536.c'; else $(CYGPATH_W) '$(srcdir)/bus/cs5536.c'; fi` + +commands/date_module-date.o: commands/date.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $(date_module_CFLAGS) $(CFLAGS) -MT commands/date_module-date.o -MD -MP -MF commands/$(DEPDIR)/date_module-date.Tpo -c -o commands/date_module-date.o `test -f 'commands/date.c' || echo '$(srcdir)/'`commands/date.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/date_module-date.Tpo commands/$(DEPDIR)/date_module-date.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/date.c' object='commands/date_module-date.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $(date_module_CFLAGS) $(CFLAGS) -c -o commands/date_module-date.o `test -f 'commands/date.c' || echo '$(srcdir)/'`commands/date.c + +commands/date_module-date.obj: commands/date.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $(date_module_CFLAGS) $(CFLAGS) -MT commands/date_module-date.obj -MD -MP -MF commands/$(DEPDIR)/date_module-date.Tpo -c -o commands/date_module-date.obj `if test -f 'commands/date.c'; then $(CYGPATH_W) 'commands/date.c'; else $(CYGPATH_W) '$(srcdir)/commands/date.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/date_module-date.Tpo commands/$(DEPDIR)/date_module-date.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/date.c' object='commands/date_module-date.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $(date_module_CFLAGS) $(CFLAGS) -c -o commands/date_module-date.obj `if test -f 'commands/date.c'; then $(CYGPATH_W) 'commands/date.c'; else $(CYGPATH_W) '$(srcdir)/commands/date.c'; fi` + +hook/datehook_module-datehook.o: hook/datehook.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $(datehook_module_CFLAGS) $(CFLAGS) -MT hook/datehook_module-datehook.o -MD -MP -MF hook/$(DEPDIR)/datehook_module-datehook.Tpo -c -o hook/datehook_module-datehook.o `test -f 'hook/datehook.c' || echo '$(srcdir)/'`hook/datehook.c +@am__fastdepCC_TRUE@ $(am__mv) hook/$(DEPDIR)/datehook_module-datehook.Tpo hook/$(DEPDIR)/datehook_module-datehook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hook/datehook.c' object='hook/datehook_module-datehook.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $(datehook_module_CFLAGS) $(CFLAGS) -c -o hook/datehook_module-datehook.o `test -f 'hook/datehook.c' || echo '$(srcdir)/'`hook/datehook.c + +hook/datehook_module-datehook.obj: hook/datehook.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $(datehook_module_CFLAGS) $(CFLAGS) -MT hook/datehook_module-datehook.obj -MD -MP -MF hook/$(DEPDIR)/datehook_module-datehook.Tpo -c -o hook/datehook_module-datehook.obj `if test -f 'hook/datehook.c'; then $(CYGPATH_W) 'hook/datehook.c'; else $(CYGPATH_W) '$(srcdir)/hook/datehook.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) hook/$(DEPDIR)/datehook_module-datehook.Tpo hook/$(DEPDIR)/datehook_module-datehook.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hook/datehook.c' object='hook/datehook_module-datehook.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $(datehook_module_CFLAGS) $(CFLAGS) -c -o hook/datehook_module-datehook.obj `if test -f 'hook/datehook.c'; then $(CYGPATH_W) 'hook/datehook.c'; else $(CYGPATH_W) '$(srcdir)/hook/datehook.c'; fi` + +lib/datetime_module-cmos_datetime.o: lib/cmos_datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -MT lib/datetime_module-cmos_datetime.o -MD -MP -MF lib/$(DEPDIR)/datetime_module-cmos_datetime.Tpo -c -o lib/datetime_module-cmos_datetime.o `test -f 'lib/cmos_datetime.c' || echo '$(srcdir)/'`lib/cmos_datetime.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/datetime_module-cmos_datetime.Tpo lib/$(DEPDIR)/datetime_module-cmos_datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cmos_datetime.c' object='lib/datetime_module-cmos_datetime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -c -o lib/datetime_module-cmos_datetime.o `test -f 'lib/cmos_datetime.c' || echo '$(srcdir)/'`lib/cmos_datetime.c + +lib/datetime_module-cmos_datetime.obj: lib/cmos_datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -MT lib/datetime_module-cmos_datetime.obj -MD -MP -MF lib/$(DEPDIR)/datetime_module-cmos_datetime.Tpo -c -o lib/datetime_module-cmos_datetime.obj `if test -f 'lib/cmos_datetime.c'; then $(CYGPATH_W) 'lib/cmos_datetime.c'; else $(CYGPATH_W) '$(srcdir)/lib/cmos_datetime.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/datetime_module-cmos_datetime.Tpo lib/$(DEPDIR)/datetime_module-cmos_datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cmos_datetime.c' object='lib/datetime_module-cmos_datetime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -c -o lib/datetime_module-cmos_datetime.obj `if test -f 'lib/cmos_datetime.c'; then $(CYGPATH_W) 'lib/cmos_datetime.c'; else $(CYGPATH_W) '$(srcdir)/lib/cmos_datetime.c'; fi` + +lib/efi/datetime_module-datetime.o: lib/efi/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -MT lib/efi/datetime_module-datetime.o -MD -MP -MF lib/efi/$(DEPDIR)/datetime_module-datetime.Tpo -c -o lib/efi/datetime_module-datetime.o `test -f 'lib/efi/datetime.c' || echo '$(srcdir)/'`lib/efi/datetime.c +@am__fastdepCC_TRUE@ $(am__mv) lib/efi/$(DEPDIR)/datetime_module-datetime.Tpo lib/efi/$(DEPDIR)/datetime_module-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/efi/datetime.c' object='lib/efi/datetime_module-datetime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -c -o lib/efi/datetime_module-datetime.o `test -f 'lib/efi/datetime.c' || echo '$(srcdir)/'`lib/efi/datetime.c + +lib/efi/datetime_module-datetime.obj: lib/efi/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -MT lib/efi/datetime_module-datetime.obj -MD -MP -MF lib/efi/$(DEPDIR)/datetime_module-datetime.Tpo -c -o lib/efi/datetime_module-datetime.obj `if test -f 'lib/efi/datetime.c'; then $(CYGPATH_W) 'lib/efi/datetime.c'; else $(CYGPATH_W) '$(srcdir)/lib/efi/datetime.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/efi/$(DEPDIR)/datetime_module-datetime.Tpo lib/efi/$(DEPDIR)/datetime_module-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/efi/datetime.c' object='lib/efi/datetime_module-datetime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -c -o lib/efi/datetime_module-datetime.obj `if test -f 'lib/efi/datetime.c'; then $(CYGPATH_W) 'lib/efi/datetime.c'; else $(CYGPATH_W) '$(srcdir)/lib/efi/datetime.c'; fi` + +lib/ieee1275/datetime_module-datetime.o: lib/ieee1275/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -MT lib/ieee1275/datetime_module-datetime.o -MD -MP -MF lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Tpo -c -o lib/ieee1275/datetime_module-datetime.o `test -f 'lib/ieee1275/datetime.c' || echo '$(srcdir)/'`lib/ieee1275/datetime.c +@am__fastdepCC_TRUE@ $(am__mv) lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Tpo lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ieee1275/datetime.c' object='lib/ieee1275/datetime_module-datetime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -c -o lib/ieee1275/datetime_module-datetime.o `test -f 'lib/ieee1275/datetime.c' || echo '$(srcdir)/'`lib/ieee1275/datetime.c + +lib/ieee1275/datetime_module-datetime.obj: lib/ieee1275/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -MT lib/ieee1275/datetime_module-datetime.obj -MD -MP -MF lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Tpo -c -o lib/ieee1275/datetime_module-datetime.obj `if test -f 'lib/ieee1275/datetime.c'; then $(CYGPATH_W) 'lib/ieee1275/datetime.c'; else $(CYGPATH_W) '$(srcdir)/lib/ieee1275/datetime.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Tpo lib/ieee1275/$(DEPDIR)/datetime_module-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ieee1275/datetime.c' object='lib/ieee1275/datetime_module-datetime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $(datetime_module_CFLAGS) $(CFLAGS) -c -o lib/ieee1275/datetime_module-datetime.obj `if test -f 'lib/ieee1275/datetime.c'; then $(CYGPATH_W) 'lib/ieee1275/datetime.c'; else $(CYGPATH_W) '$(srcdir)/lib/ieee1275/datetime.c'; fi` + +disk/dm_nv_module-dmraid_nvidia.o: disk/dmraid_nvidia.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $(dm_nv_module_CFLAGS) $(CFLAGS) -MT disk/dm_nv_module-dmraid_nvidia.o -MD -MP -MF disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Tpo -c -o disk/dm_nv_module-dmraid_nvidia.o `test -f 'disk/dmraid_nvidia.c' || echo '$(srcdir)/'`disk/dmraid_nvidia.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Tpo disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/dmraid_nvidia.c' object='disk/dm_nv_module-dmraid_nvidia.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $(dm_nv_module_CFLAGS) $(CFLAGS) -c -o disk/dm_nv_module-dmraid_nvidia.o `test -f 'disk/dmraid_nvidia.c' || echo '$(srcdir)/'`disk/dmraid_nvidia.c + +disk/dm_nv_module-dmraid_nvidia.obj: disk/dmraid_nvidia.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $(dm_nv_module_CFLAGS) $(CFLAGS) -MT disk/dm_nv_module-dmraid_nvidia.obj -MD -MP -MF disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Tpo -c -o disk/dm_nv_module-dmraid_nvidia.obj `if test -f 'disk/dmraid_nvidia.c'; then $(CYGPATH_W) 'disk/dmraid_nvidia.c'; else $(CYGPATH_W) '$(srcdir)/disk/dmraid_nvidia.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Tpo disk/$(DEPDIR)/dm_nv_module-dmraid_nvidia.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/dmraid_nvidia.c' object='disk/dm_nv_module-dmraid_nvidia.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $(dm_nv_module_CFLAGS) $(CFLAGS) -c -o disk/dm_nv_module-dmraid_nvidia.obj `if test -f 'disk/dmraid_nvidia.c'; then $(CYGPATH_W) 'disk/dmraid_nvidia.c'; else $(CYGPATH_W) '$(srcdir)/disk/dmraid_nvidia.c'; fi` + +commands/i386/pc/drivemap_module-drivemap.o: commands/i386/pc/drivemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/drivemap_module-drivemap.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Tpo -c -o commands/i386/pc/drivemap_module-drivemap.o `test -f 'commands/i386/pc/drivemap.c' || echo '$(srcdir)/'`commands/i386/pc/drivemap.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Tpo commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/drivemap.c' object='commands/i386/pc/drivemap_module-drivemap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/drivemap_module-drivemap.o `test -f 'commands/i386/pc/drivemap.c' || echo '$(srcdir)/'`commands/i386/pc/drivemap.c + +commands/i386/pc/drivemap_module-drivemap.obj: commands/i386/pc/drivemap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/drivemap_module-drivemap.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Tpo -c -o commands/i386/pc/drivemap_module-drivemap.obj `if test -f 'commands/i386/pc/drivemap.c'; then $(CYGPATH_W) 'commands/i386/pc/drivemap.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/drivemap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Tpo commands/i386/pc/$(DEPDIR)/drivemap_module-drivemap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/drivemap.c' object='commands/i386/pc/drivemap_module-drivemap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $(drivemap_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/drivemap_module-drivemap.obj `if test -f 'commands/i386/pc/drivemap.c'; then $(CYGPATH_W) 'commands/i386/pc/drivemap.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/drivemap.c'; fi` + +commands/echo_module-echo.o: commands/echo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $(echo_module_CFLAGS) $(CFLAGS) -MT commands/echo_module-echo.o -MD -MP -MF commands/$(DEPDIR)/echo_module-echo.Tpo -c -o commands/echo_module-echo.o `test -f 'commands/echo.c' || echo '$(srcdir)/'`commands/echo.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/echo_module-echo.Tpo commands/$(DEPDIR)/echo_module-echo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/echo.c' object='commands/echo_module-echo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $(echo_module_CFLAGS) $(CFLAGS) -c -o commands/echo_module-echo.o `test -f 'commands/echo.c' || echo '$(srcdir)/'`commands/echo.c + +commands/echo_module-echo.obj: commands/echo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $(echo_module_CFLAGS) $(CFLAGS) -MT commands/echo_module-echo.obj -MD -MP -MF commands/$(DEPDIR)/echo_module-echo.Tpo -c -o commands/echo_module-echo.obj `if test -f 'commands/echo.c'; then $(CYGPATH_W) 'commands/echo.c'; else $(CYGPATH_W) '$(srcdir)/commands/echo.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/echo_module-echo.Tpo commands/$(DEPDIR)/echo_module-echo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/echo.c' object='commands/echo_module-echo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $(echo_module_CFLAGS) $(CFLAGS) -c -o commands/echo_module-echo.obj `if test -f 'commands/echo.c'; then $(CYGPATH_W) 'commands/echo.c'; else $(CYGPATH_W) '$(srcdir)/commands/echo.c'; fi` + +video/efi_gop_module-efi_gop.o: video/efi_gop.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $(efi_gop_module_CFLAGS) $(CFLAGS) -MT video/efi_gop_module-efi_gop.o -MD -MP -MF video/$(DEPDIR)/efi_gop_module-efi_gop.Tpo -c -o video/efi_gop_module-efi_gop.o `test -f 'video/efi_gop.c' || echo '$(srcdir)/'`video/efi_gop.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/efi_gop_module-efi_gop.Tpo video/$(DEPDIR)/efi_gop_module-efi_gop.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/efi_gop.c' object='video/efi_gop_module-efi_gop.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $(efi_gop_module_CFLAGS) $(CFLAGS) -c -o video/efi_gop_module-efi_gop.o `test -f 'video/efi_gop.c' || echo '$(srcdir)/'`video/efi_gop.c + +video/efi_gop_module-efi_gop.obj: video/efi_gop.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $(efi_gop_module_CFLAGS) $(CFLAGS) -MT video/efi_gop_module-efi_gop.obj -MD -MP -MF video/$(DEPDIR)/efi_gop_module-efi_gop.Tpo -c -o video/efi_gop_module-efi_gop.obj `if test -f 'video/efi_gop.c'; then $(CYGPATH_W) 'video/efi_gop.c'; else $(CYGPATH_W) '$(srcdir)/video/efi_gop.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/efi_gop_module-efi_gop.Tpo video/$(DEPDIR)/efi_gop_module-efi_gop.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/efi_gop.c' object='video/efi_gop_module-efi_gop.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $(efi_gop_module_CFLAGS) $(CFLAGS) -c -o video/efi_gop_module-efi_gop.obj `if test -f 'video/efi_gop.c'; then $(CYGPATH_W) 'video/efi_gop.c'; else $(CYGPATH_W) '$(srcdir)/video/efi_gop.c'; fi` + +video/efi_uga_module-efi_uga.o: video/efi_uga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $(efi_uga_module_CFLAGS) $(CFLAGS) -MT video/efi_uga_module-efi_uga.o -MD -MP -MF video/$(DEPDIR)/efi_uga_module-efi_uga.Tpo -c -o video/efi_uga_module-efi_uga.o `test -f 'video/efi_uga.c' || echo '$(srcdir)/'`video/efi_uga.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/efi_uga_module-efi_uga.Tpo video/$(DEPDIR)/efi_uga_module-efi_uga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/efi_uga.c' object='video/efi_uga_module-efi_uga.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $(efi_uga_module_CFLAGS) $(CFLAGS) -c -o video/efi_uga_module-efi_uga.o `test -f 'video/efi_uga.c' || echo '$(srcdir)/'`video/efi_uga.c + +video/efi_uga_module-efi_uga.obj: video/efi_uga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $(efi_uga_module_CFLAGS) $(CFLAGS) -MT video/efi_uga_module-efi_uga.obj -MD -MP -MF video/$(DEPDIR)/efi_uga_module-efi_uga.Tpo -c -o video/efi_uga_module-efi_uga.obj `if test -f 'video/efi_uga.c'; then $(CYGPATH_W) 'video/efi_uga.c'; else $(CYGPATH_W) '$(srcdir)/video/efi_uga.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/efi_uga_module-efi_uga.Tpo video/$(DEPDIR)/efi_uga_module-efi_uga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/efi_uga.c' object='video/efi_uga_module-efi_uga.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $(efi_uga_module_CFLAGS) $(CFLAGS) -c -o video/efi_uga_module-efi_uga.obj `if test -f 'video/efi_uga.c'; then $(CYGPATH_W) 'video/efi_uga.c'; else $(CYGPATH_W) '$(srcdir)/video/efi_uga.c'; fi` + +efiemu/i386/pc/efiemu_module-cfgtables.o: efiemu/i386/pc/cfgtables.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/pc/efiemu_module-cfgtables.o -MD -MP -MF efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Tpo -c -o efiemu/i386/pc/efiemu_module-cfgtables.o `test -f 'efiemu/i386/pc/cfgtables.c' || echo '$(srcdir)/'`efiemu/i386/pc/cfgtables.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Tpo efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/pc/cfgtables.c' object='efiemu/i386/pc/efiemu_module-cfgtables.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/pc/efiemu_module-cfgtables.o `test -f 'efiemu/i386/pc/cfgtables.c' || echo '$(srcdir)/'`efiemu/i386/pc/cfgtables.c + +efiemu/i386/pc/efiemu_module-cfgtables.obj: efiemu/i386/pc/cfgtables.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/pc/efiemu_module-cfgtables.obj -MD -MP -MF efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Tpo -c -o efiemu/i386/pc/efiemu_module-cfgtables.obj `if test -f 'efiemu/i386/pc/cfgtables.c'; then $(CYGPATH_W) 'efiemu/i386/pc/cfgtables.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/pc/cfgtables.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Tpo efiemu/i386/pc/$(DEPDIR)/efiemu_module-cfgtables.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/pc/cfgtables.c' object='efiemu/i386/pc/efiemu_module-cfgtables.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/pc/efiemu_module-cfgtables.obj `if test -f 'efiemu/i386/pc/cfgtables.c'; then $(CYGPATH_W) 'efiemu/i386/pc/cfgtables.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/pc/cfgtables.c'; fi` + +efiemu/efiemu_module-main.o: efiemu/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-main.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-main.Tpo -c -o efiemu/efiemu_module-main.o `test -f 'efiemu/main.c' || echo '$(srcdir)/'`efiemu/main.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-main.Tpo efiemu/$(DEPDIR)/efiemu_module-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/main.c' object='efiemu/efiemu_module-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-main.o `test -f 'efiemu/main.c' || echo '$(srcdir)/'`efiemu/main.c + +efiemu/efiemu_module-main.obj: efiemu/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-main.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-main.Tpo -c -o efiemu/efiemu_module-main.obj `if test -f 'efiemu/main.c'; then $(CYGPATH_W) 'efiemu/main.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/main.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-main.Tpo efiemu/$(DEPDIR)/efiemu_module-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/main.c' object='efiemu/efiemu_module-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-main.obj `if test -f 'efiemu/main.c'; then $(CYGPATH_W) 'efiemu/main.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/main.c'; fi` + +efiemu/i386/efiemu_module-loadcore32.o: efiemu/i386/loadcore32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-loadcore32.o -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Tpo -c -o efiemu/i386/efiemu_module-loadcore32.o `test -f 'efiemu/i386/loadcore32.c' || echo '$(srcdir)/'`efiemu/i386/loadcore32.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/loadcore32.c' object='efiemu/i386/efiemu_module-loadcore32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-loadcore32.o `test -f 'efiemu/i386/loadcore32.c' || echo '$(srcdir)/'`efiemu/i386/loadcore32.c + +efiemu/i386/efiemu_module-loadcore32.obj: efiemu/i386/loadcore32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-loadcore32.obj -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Tpo -c -o efiemu/i386/efiemu_module-loadcore32.obj `if test -f 'efiemu/i386/loadcore32.c'; then $(CYGPATH_W) 'efiemu/i386/loadcore32.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/loadcore32.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-loadcore32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/loadcore32.c' object='efiemu/i386/efiemu_module-loadcore32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-loadcore32.obj `if test -f 'efiemu/i386/loadcore32.c'; then $(CYGPATH_W) 'efiemu/i386/loadcore32.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/loadcore32.c'; fi` + +efiemu/i386/efiemu_module-loadcore64.o: efiemu/i386/loadcore64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-loadcore64.o -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Tpo -c -o efiemu/i386/efiemu_module-loadcore64.o `test -f 'efiemu/i386/loadcore64.c' || echo '$(srcdir)/'`efiemu/i386/loadcore64.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/loadcore64.c' object='efiemu/i386/efiemu_module-loadcore64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-loadcore64.o `test -f 'efiemu/i386/loadcore64.c' || echo '$(srcdir)/'`efiemu/i386/loadcore64.c + +efiemu/i386/efiemu_module-loadcore64.obj: efiemu/i386/loadcore64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-loadcore64.obj -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Tpo -c -o efiemu/i386/efiemu_module-loadcore64.obj `if test -f 'efiemu/i386/loadcore64.c'; then $(CYGPATH_W) 'efiemu/i386/loadcore64.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/loadcore64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-loadcore64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/loadcore64.c' object='efiemu/i386/efiemu_module-loadcore64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-loadcore64.obj `if test -f 'efiemu/i386/loadcore64.c'; then $(CYGPATH_W) 'efiemu/i386/loadcore64.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/loadcore64.c'; fi` + +efiemu/efiemu_module-mm.o: efiemu/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-mm.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-mm.Tpo -c -o efiemu/efiemu_module-mm.o `test -f 'efiemu/mm.c' || echo '$(srcdir)/'`efiemu/mm.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-mm.Tpo efiemu/$(DEPDIR)/efiemu_module-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/mm.c' object='efiemu/efiemu_module-mm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-mm.o `test -f 'efiemu/mm.c' || echo '$(srcdir)/'`efiemu/mm.c + +efiemu/efiemu_module-mm.obj: efiemu/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-mm.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-mm.Tpo -c -o efiemu/efiemu_module-mm.obj `if test -f 'efiemu/mm.c'; then $(CYGPATH_W) 'efiemu/mm.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/mm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-mm.Tpo efiemu/$(DEPDIR)/efiemu_module-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/mm.c' object='efiemu/efiemu_module-mm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-mm.obj `if test -f 'efiemu/mm.c'; then $(CYGPATH_W) 'efiemu/mm.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/mm.c'; fi` + +efiemu/efiemu_module-loadcore_common.o: efiemu/loadcore_common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-loadcore_common.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Tpo -c -o efiemu/efiemu_module-loadcore_common.o `test -f 'efiemu/loadcore_common.c' || echo '$(srcdir)/'`efiemu/loadcore_common.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Tpo efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/loadcore_common.c' object='efiemu/efiemu_module-loadcore_common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-loadcore_common.o `test -f 'efiemu/loadcore_common.c' || echo '$(srcdir)/'`efiemu/loadcore_common.c + +efiemu/efiemu_module-loadcore_common.obj: efiemu/loadcore_common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-loadcore_common.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Tpo -c -o efiemu/efiemu_module-loadcore_common.obj `if test -f 'efiemu/loadcore_common.c'; then $(CYGPATH_W) 'efiemu/loadcore_common.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/loadcore_common.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Tpo efiemu/$(DEPDIR)/efiemu_module-loadcore_common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/loadcore_common.c' object='efiemu/efiemu_module-loadcore_common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-loadcore_common.obj `if test -f 'efiemu/loadcore_common.c'; then $(CYGPATH_W) 'efiemu/loadcore_common.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/loadcore_common.c'; fi` + +efiemu/efiemu_module-symbols.o: efiemu/symbols.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-symbols.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-symbols.Tpo -c -o efiemu/efiemu_module-symbols.o `test -f 'efiemu/symbols.c' || echo '$(srcdir)/'`efiemu/symbols.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-symbols.Tpo efiemu/$(DEPDIR)/efiemu_module-symbols.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/symbols.c' object='efiemu/efiemu_module-symbols.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-symbols.o `test -f 'efiemu/symbols.c' || echo '$(srcdir)/'`efiemu/symbols.c + +efiemu/efiemu_module-symbols.obj: efiemu/symbols.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-symbols.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-symbols.Tpo -c -o efiemu/efiemu_module-symbols.obj `if test -f 'efiemu/symbols.c'; then $(CYGPATH_W) 'efiemu/symbols.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/symbols.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-symbols.Tpo efiemu/$(DEPDIR)/efiemu_module-symbols.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/symbols.c' object='efiemu/efiemu_module-symbols.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-symbols.obj `if test -f 'efiemu/symbols.c'; then $(CYGPATH_W) 'efiemu/symbols.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/symbols.c'; fi` + +efiemu/efiemu_module-loadcore32.o: efiemu/loadcore32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-loadcore32.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-loadcore32.Tpo -c -o efiemu/efiemu_module-loadcore32.o `test -f 'efiemu/loadcore32.c' || echo '$(srcdir)/'`efiemu/loadcore32.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-loadcore32.Tpo efiemu/$(DEPDIR)/efiemu_module-loadcore32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/loadcore32.c' object='efiemu/efiemu_module-loadcore32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-loadcore32.o `test -f 'efiemu/loadcore32.c' || echo '$(srcdir)/'`efiemu/loadcore32.c + +efiemu/efiemu_module-loadcore32.obj: efiemu/loadcore32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-loadcore32.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-loadcore32.Tpo -c -o efiemu/efiemu_module-loadcore32.obj `if test -f 'efiemu/loadcore32.c'; then $(CYGPATH_W) 'efiemu/loadcore32.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/loadcore32.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-loadcore32.Tpo efiemu/$(DEPDIR)/efiemu_module-loadcore32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/loadcore32.c' object='efiemu/efiemu_module-loadcore32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-loadcore32.obj `if test -f 'efiemu/loadcore32.c'; then $(CYGPATH_W) 'efiemu/loadcore32.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/loadcore32.c'; fi` + +efiemu/efiemu_module-loadcore64.o: efiemu/loadcore64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-loadcore64.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-loadcore64.Tpo -c -o efiemu/efiemu_module-loadcore64.o `test -f 'efiemu/loadcore64.c' || echo '$(srcdir)/'`efiemu/loadcore64.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-loadcore64.Tpo efiemu/$(DEPDIR)/efiemu_module-loadcore64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/loadcore64.c' object='efiemu/efiemu_module-loadcore64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-loadcore64.o `test -f 'efiemu/loadcore64.c' || echo '$(srcdir)/'`efiemu/loadcore64.c + +efiemu/efiemu_module-loadcore64.obj: efiemu/loadcore64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-loadcore64.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-loadcore64.Tpo -c -o efiemu/efiemu_module-loadcore64.obj `if test -f 'efiemu/loadcore64.c'; then $(CYGPATH_W) 'efiemu/loadcore64.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/loadcore64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-loadcore64.Tpo efiemu/$(DEPDIR)/efiemu_module-loadcore64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/loadcore64.c' object='efiemu/efiemu_module-loadcore64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-loadcore64.obj `if test -f 'efiemu/loadcore64.c'; then $(CYGPATH_W) 'efiemu/loadcore64.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/loadcore64.c'; fi` + +efiemu/efiemu_module-prepare32.o: efiemu/prepare32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-prepare32.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-prepare32.Tpo -c -o efiemu/efiemu_module-prepare32.o `test -f 'efiemu/prepare32.c' || echo '$(srcdir)/'`efiemu/prepare32.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-prepare32.Tpo efiemu/$(DEPDIR)/efiemu_module-prepare32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/prepare32.c' object='efiemu/efiemu_module-prepare32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-prepare32.o `test -f 'efiemu/prepare32.c' || echo '$(srcdir)/'`efiemu/prepare32.c + +efiemu/efiemu_module-prepare32.obj: efiemu/prepare32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-prepare32.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-prepare32.Tpo -c -o efiemu/efiemu_module-prepare32.obj `if test -f 'efiemu/prepare32.c'; then $(CYGPATH_W) 'efiemu/prepare32.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/prepare32.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-prepare32.Tpo efiemu/$(DEPDIR)/efiemu_module-prepare32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/prepare32.c' object='efiemu/efiemu_module-prepare32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-prepare32.obj `if test -f 'efiemu/prepare32.c'; then $(CYGPATH_W) 'efiemu/prepare32.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/prepare32.c'; fi` + +efiemu/efiemu_module-prepare64.o: efiemu/prepare64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-prepare64.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-prepare64.Tpo -c -o efiemu/efiemu_module-prepare64.o `test -f 'efiemu/prepare64.c' || echo '$(srcdir)/'`efiemu/prepare64.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-prepare64.Tpo efiemu/$(DEPDIR)/efiemu_module-prepare64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/prepare64.c' object='efiemu/efiemu_module-prepare64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-prepare64.o `test -f 'efiemu/prepare64.c' || echo '$(srcdir)/'`efiemu/prepare64.c + +efiemu/efiemu_module-prepare64.obj: efiemu/prepare64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-prepare64.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-prepare64.Tpo -c -o efiemu/efiemu_module-prepare64.obj `if test -f 'efiemu/prepare64.c'; then $(CYGPATH_W) 'efiemu/prepare64.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/prepare64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-prepare64.Tpo efiemu/$(DEPDIR)/efiemu_module-prepare64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/prepare64.c' object='efiemu/efiemu_module-prepare64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-prepare64.obj `if test -f 'efiemu/prepare64.c'; then $(CYGPATH_W) 'efiemu/prepare64.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/prepare64.c'; fi` + +efiemu/efiemu_module-pnvram.o: efiemu/pnvram.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-pnvram.o -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-pnvram.Tpo -c -o efiemu/efiemu_module-pnvram.o `test -f 'efiemu/pnvram.c' || echo '$(srcdir)/'`efiemu/pnvram.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-pnvram.Tpo efiemu/$(DEPDIR)/efiemu_module-pnvram.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/pnvram.c' object='efiemu/efiemu_module-pnvram.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-pnvram.o `test -f 'efiemu/pnvram.c' || echo '$(srcdir)/'`efiemu/pnvram.c + +efiemu/efiemu_module-pnvram.obj: efiemu/pnvram.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/efiemu_module-pnvram.obj -MD -MP -MF efiemu/$(DEPDIR)/efiemu_module-pnvram.Tpo -c -o efiemu/efiemu_module-pnvram.obj `if test -f 'efiemu/pnvram.c'; then $(CYGPATH_W) 'efiemu/pnvram.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/pnvram.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/$(DEPDIR)/efiemu_module-pnvram.Tpo efiemu/$(DEPDIR)/efiemu_module-pnvram.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/pnvram.c' object='efiemu/efiemu_module-pnvram.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/efiemu_module-pnvram.obj `if test -f 'efiemu/pnvram.c'; then $(CYGPATH_W) 'efiemu/pnvram.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/pnvram.c'; fi` + +efiemu/i386/efiemu_module-coredetect.o: efiemu/i386/coredetect.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-coredetect.o -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Tpo -c -o efiemu/i386/efiemu_module-coredetect.o `test -f 'efiemu/i386/coredetect.c' || echo '$(srcdir)/'`efiemu/i386/coredetect.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/coredetect.c' object='efiemu/i386/efiemu_module-coredetect.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-coredetect.o `test -f 'efiemu/i386/coredetect.c' || echo '$(srcdir)/'`efiemu/i386/coredetect.c + +efiemu/i386/efiemu_module-coredetect.obj: efiemu/i386/coredetect.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-coredetect.obj -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Tpo -c -o efiemu/i386/efiemu_module-coredetect.obj `if test -f 'efiemu/i386/coredetect.c'; then $(CYGPATH_W) 'efiemu/i386/coredetect.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/coredetect.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-coredetect.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/coredetect.c' object='efiemu/i386/efiemu_module-coredetect.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-coredetect.obj `if test -f 'efiemu/i386/coredetect.c'; then $(CYGPATH_W) 'efiemu/i386/coredetect.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/coredetect.c'; fi` + +efiemu/i386/efiemu_module-nocfgtables.o: efiemu/i386/nocfgtables.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-nocfgtables.o -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Tpo -c -o efiemu/i386/efiemu_module-nocfgtables.o `test -f 'efiemu/i386/nocfgtables.c' || echo '$(srcdir)/'`efiemu/i386/nocfgtables.c +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/nocfgtables.c' object='efiemu/i386/efiemu_module-nocfgtables.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-nocfgtables.o `test -f 'efiemu/i386/nocfgtables.c' || echo '$(srcdir)/'`efiemu/i386/nocfgtables.c + +efiemu/i386/efiemu_module-nocfgtables.obj: efiemu/i386/nocfgtables.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -MT efiemu/i386/efiemu_module-nocfgtables.obj -MD -MP -MF efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Tpo -c -o efiemu/i386/efiemu_module-nocfgtables.obj `if test -f 'efiemu/i386/nocfgtables.c'; then $(CYGPATH_W) 'efiemu/i386/nocfgtables.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/nocfgtables.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Tpo efiemu/i386/$(DEPDIR)/efiemu_module-nocfgtables.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='efiemu/i386/nocfgtables.c' object='efiemu/i386/efiemu_module-nocfgtables.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $(efiemu_module_CFLAGS) $(CFLAGS) -c -o efiemu/i386/efiemu_module-nocfgtables.obj `if test -f 'efiemu/i386/nocfgtables.c'; then $(CYGPATH_W) 'efiemu/i386/nocfgtables.c'; else $(CYGPATH_W) '$(srcdir)/efiemu/i386/nocfgtables.c'; fi` + +kern/elf_module-elf.o: kern/elf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $(elf_module_CFLAGS) $(CFLAGS) -MT kern/elf_module-elf.o -MD -MP -MF kern/$(DEPDIR)/elf_module-elf.Tpo -c -o kern/elf_module-elf.o `test -f 'kern/elf.c' || echo '$(srcdir)/'`kern/elf.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/elf_module-elf.Tpo kern/$(DEPDIR)/elf_module-elf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/elf.c' object='kern/elf_module-elf.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $(elf_module_CFLAGS) $(CFLAGS) -c -o kern/elf_module-elf.o `test -f 'kern/elf.c' || echo '$(srcdir)/'`kern/elf.c + +kern/elf_module-elf.obj: kern/elf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $(elf_module_CFLAGS) $(CFLAGS) -MT kern/elf_module-elf.obj -MD -MP -MF kern/$(DEPDIR)/elf_module-elf.Tpo -c -o kern/elf_module-elf.obj `if test -f 'kern/elf.c'; then $(CYGPATH_W) 'kern/elf.c'; else $(CYGPATH_W) '$(srcdir)/kern/elf.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/elf_module-elf.Tpo kern/$(DEPDIR)/elf_module-elf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/elf.c' object='kern/elf_module-elf.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $(elf_module_CFLAGS) $(CFLAGS) -c -o kern/elf_module-elf.obj `if test -f 'kern/elf.c'; then $(CYGPATH_W) 'kern/elf.c'; else $(CYGPATH_W) '$(srcdir)/kern/elf.c'; fi` + +tests/example_functional_test_module-example_functional_test.o: tests/example_functional_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $(example_functional_test_module_CFLAGS) $(CFLAGS) -MT tests/example_functional_test_module-example_functional_test.o -MD -MP -MF tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Tpo -c -o tests/example_functional_test_module-example_functional_test.o `test -f 'tests/example_functional_test.c' || echo '$(srcdir)/'`tests/example_functional_test.c +@am__fastdepCC_TRUE@ $(am__mv) tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Tpo tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/example_functional_test.c' object='tests/example_functional_test_module-example_functional_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $(example_functional_test_module_CFLAGS) $(CFLAGS) -c -o tests/example_functional_test_module-example_functional_test.o `test -f 'tests/example_functional_test.c' || echo '$(srcdir)/'`tests/example_functional_test.c + +tests/example_functional_test_module-example_functional_test.obj: tests/example_functional_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $(example_functional_test_module_CFLAGS) $(CFLAGS) -MT tests/example_functional_test_module-example_functional_test.obj -MD -MP -MF tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Tpo -c -o tests/example_functional_test_module-example_functional_test.obj `if test -f 'tests/example_functional_test.c'; then $(CYGPATH_W) 'tests/example_functional_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/example_functional_test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Tpo tests/$(DEPDIR)/example_functional_test_module-example_functional_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/example_functional_test.c' object='tests/example_functional_test_module-example_functional_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $(example_functional_test_module_CFLAGS) $(CFLAGS) -c -o tests/example_functional_test_module-example_functional_test.obj `if test -f 'tests/example_functional_test.c'; then $(CYGPATH_W) 'tests/example_functional_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/example_functional_test.c'; fi` + +fs/ext2_module-ext2.o: fs/ext2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $(ext2_module_CFLAGS) $(CFLAGS) -MT fs/ext2_module-ext2.o -MD -MP -MF fs/$(DEPDIR)/ext2_module-ext2.Tpo -c -o fs/ext2_module-ext2.o `test -f 'fs/ext2.c' || echo '$(srcdir)/'`fs/ext2.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ext2_module-ext2.Tpo fs/$(DEPDIR)/ext2_module-ext2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ext2.c' object='fs/ext2_module-ext2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $(ext2_module_CFLAGS) $(CFLAGS) -c -o fs/ext2_module-ext2.o `test -f 'fs/ext2.c' || echo '$(srcdir)/'`fs/ext2.c + +fs/ext2_module-ext2.obj: fs/ext2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $(ext2_module_CFLAGS) $(CFLAGS) -MT fs/ext2_module-ext2.obj -MD -MP -MF fs/$(DEPDIR)/ext2_module-ext2.Tpo -c -o fs/ext2_module-ext2.obj `if test -f 'fs/ext2.c'; then $(CYGPATH_W) 'fs/ext2.c'; else $(CYGPATH_W) '$(srcdir)/fs/ext2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ext2_module-ext2.Tpo fs/$(DEPDIR)/ext2_module-ext2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ext2.c' object='fs/ext2_module-ext2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $(ext2_module_CFLAGS) $(CFLAGS) -c -o fs/ext2_module-ext2.obj `if test -f 'fs/ext2.c'; then $(CYGPATH_W) 'fs/ext2.c'; else $(CYGPATH_W) '$(srcdir)/fs/ext2.c'; fi` + +commands/extcmd_module-extcmd.o: commands/extcmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -MT commands/extcmd_module-extcmd.o -MD -MP -MF commands/$(DEPDIR)/extcmd_module-extcmd.Tpo -c -o commands/extcmd_module-extcmd.o `test -f 'commands/extcmd.c' || echo '$(srcdir)/'`commands/extcmd.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/extcmd_module-extcmd.Tpo commands/$(DEPDIR)/extcmd_module-extcmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/extcmd.c' object='commands/extcmd_module-extcmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -c -o commands/extcmd_module-extcmd.o `test -f 'commands/extcmd.c' || echo '$(srcdir)/'`commands/extcmd.c + +commands/extcmd_module-extcmd.obj: commands/extcmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -MT commands/extcmd_module-extcmd.obj -MD -MP -MF commands/$(DEPDIR)/extcmd_module-extcmd.Tpo -c -o commands/extcmd_module-extcmd.obj `if test -f 'commands/extcmd.c'; then $(CYGPATH_W) 'commands/extcmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/extcmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/extcmd_module-extcmd.Tpo commands/$(DEPDIR)/extcmd_module-extcmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/extcmd.c' object='commands/extcmd_module-extcmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -c -o commands/extcmd_module-extcmd.obj `if test -f 'commands/extcmd.c'; then $(CYGPATH_W) 'commands/extcmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/extcmd.c'; fi` + +lib/extcmd_module-arg.o: lib/arg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -MT lib/extcmd_module-arg.o -MD -MP -MF lib/$(DEPDIR)/extcmd_module-arg.Tpo -c -o lib/extcmd_module-arg.o `test -f 'lib/arg.c' || echo '$(srcdir)/'`lib/arg.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/extcmd_module-arg.Tpo lib/$(DEPDIR)/extcmd_module-arg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/arg.c' object='lib/extcmd_module-arg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -c -o lib/extcmd_module-arg.o `test -f 'lib/arg.c' || echo '$(srcdir)/'`lib/arg.c + +lib/extcmd_module-arg.obj: lib/arg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -MT lib/extcmd_module-arg.obj -MD -MP -MF lib/$(DEPDIR)/extcmd_module-arg.Tpo -c -o lib/extcmd_module-arg.obj `if test -f 'lib/arg.c'; then $(CYGPATH_W) 'lib/arg.c'; else $(CYGPATH_W) '$(srcdir)/lib/arg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/extcmd_module-arg.Tpo lib/$(DEPDIR)/extcmd_module-arg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/arg.c' object='lib/extcmd_module-arg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $(extcmd_module_CFLAGS) $(CFLAGS) -c -o lib/extcmd_module-arg.obj `if test -f 'lib/arg.c'; then $(CYGPATH_W) 'lib/arg.c'; else $(CYGPATH_W) '$(srcdir)/lib/arg.c'; fi` + +fs/fat_module-fat.o: fs/fat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $(fat_module_CFLAGS) $(CFLAGS) -MT fs/fat_module-fat.o -MD -MP -MF fs/$(DEPDIR)/fat_module-fat.Tpo -c -o fs/fat_module-fat.o `test -f 'fs/fat.c' || echo '$(srcdir)/'`fs/fat.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/fat_module-fat.Tpo fs/$(DEPDIR)/fat_module-fat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/fat.c' object='fs/fat_module-fat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $(fat_module_CFLAGS) $(CFLAGS) -c -o fs/fat_module-fat.o `test -f 'fs/fat.c' || echo '$(srcdir)/'`fs/fat.c + +fs/fat_module-fat.obj: fs/fat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $(fat_module_CFLAGS) $(CFLAGS) -MT fs/fat_module-fat.obj -MD -MP -MF fs/$(DEPDIR)/fat_module-fat.Tpo -c -o fs/fat_module-fat.obj `if test -f 'fs/fat.c'; then $(CYGPATH_W) 'fs/fat.c'; else $(CYGPATH_W) '$(srcdir)/fs/fat.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/fat_module-fat.Tpo fs/$(DEPDIR)/fat_module-fat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/fat.c' object='fs/fat_module-fat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $(fat_module_CFLAGS) $(CFLAGS) -c -o fs/fat_module-fat.obj `if test -f 'fs/fat.c'; then $(CYGPATH_W) 'fs/fat.c'; else $(CYGPATH_W) '$(srcdir)/fs/fat.c'; fi` + +commands/efi/fixvideo_module-fixvideo.o: commands/efi/fixvideo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $(fixvideo_module_CFLAGS) $(CFLAGS) -MT commands/efi/fixvideo_module-fixvideo.o -MD -MP -MF commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Tpo -c -o commands/efi/fixvideo_module-fixvideo.o `test -f 'commands/efi/fixvideo.c' || echo '$(srcdir)/'`commands/efi/fixvideo.c +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Tpo commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/fixvideo.c' object='commands/efi/fixvideo_module-fixvideo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $(fixvideo_module_CFLAGS) $(CFLAGS) -c -o commands/efi/fixvideo_module-fixvideo.o `test -f 'commands/efi/fixvideo.c' || echo '$(srcdir)/'`commands/efi/fixvideo.c + +commands/efi/fixvideo_module-fixvideo.obj: commands/efi/fixvideo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $(fixvideo_module_CFLAGS) $(CFLAGS) -MT commands/efi/fixvideo_module-fixvideo.obj -MD -MP -MF commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Tpo -c -o commands/efi/fixvideo_module-fixvideo.obj `if test -f 'commands/efi/fixvideo.c'; then $(CYGPATH_W) 'commands/efi/fixvideo.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/fixvideo.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Tpo commands/efi/$(DEPDIR)/fixvideo_module-fixvideo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/fixvideo.c' object='commands/efi/fixvideo_module-fixvideo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $(fixvideo_module_CFLAGS) $(CFLAGS) -c -o commands/efi/fixvideo_module-fixvideo.obj `if test -f 'commands/efi/fixvideo.c'; then $(CYGPATH_W) 'commands/efi/fixvideo.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/fixvideo.c'; fi` + +font/font_module-font.o: font/font.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -MT font/font_module-font.o -MD -MP -MF font/$(DEPDIR)/font_module-font.Tpo -c -o font/font_module-font.o `test -f 'font/font.c' || echo '$(srcdir)/'`font/font.c +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/font_module-font.Tpo font/$(DEPDIR)/font_module-font.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font.c' object='font/font_module-font.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -c -o font/font_module-font.o `test -f 'font/font.c' || echo '$(srcdir)/'`font/font.c + +font/font_module-font.obj: font/font.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -MT font/font_module-font.obj -MD -MP -MF font/$(DEPDIR)/font_module-font.Tpo -c -o font/font_module-font.obj `if test -f 'font/font.c'; then $(CYGPATH_W) 'font/font.c'; else $(CYGPATH_W) '$(srcdir)/font/font.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/font_module-font.Tpo font/$(DEPDIR)/font_module-font.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font.c' object='font/font_module-font.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -c -o font/font_module-font.obj `if test -f 'font/font.c'; then $(CYGPATH_W) 'font/font.c'; else $(CYGPATH_W) '$(srcdir)/font/font.c'; fi` + +font/font_module-font_cmd.o: font/font_cmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -MT font/font_module-font_cmd.o -MD -MP -MF font/$(DEPDIR)/font_module-font_cmd.Tpo -c -o font/font_module-font_cmd.o `test -f 'font/font_cmd.c' || echo '$(srcdir)/'`font/font_cmd.c +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/font_module-font_cmd.Tpo font/$(DEPDIR)/font_module-font_cmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font_cmd.c' object='font/font_module-font_cmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -c -o font/font_module-font_cmd.o `test -f 'font/font_cmd.c' || echo '$(srcdir)/'`font/font_cmd.c + +font/font_module-font_cmd.obj: font/font_cmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -MT font/font_module-font_cmd.obj -MD -MP -MF font/$(DEPDIR)/font_module-font_cmd.Tpo -c -o font/font_module-font_cmd.obj `if test -f 'font/font_cmd.c'; then $(CYGPATH_W) 'font/font_cmd.c'; else $(CYGPATH_W) '$(srcdir)/font/font_cmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/font_module-font_cmd.Tpo font/$(DEPDIR)/font_module-font_cmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font_cmd.c' object='font/font_module-font_cmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $(font_module_CFLAGS) $(CFLAGS) -c -o font/font_module-font_cmd.obj `if test -f 'font/font_cmd.c'; then $(CYGPATH_W) 'font/font_cmd.c'; else $(CYGPATH_W) '$(srcdir)/font/font_cmd.c'; fi` + +fs/fshelp_module-fshelp.o: fs/fshelp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $(fshelp_module_CFLAGS) $(CFLAGS) -MT fs/fshelp_module-fshelp.o -MD -MP -MF fs/$(DEPDIR)/fshelp_module-fshelp.Tpo -c -o fs/fshelp_module-fshelp.o `test -f 'fs/fshelp.c' || echo '$(srcdir)/'`fs/fshelp.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/fshelp_module-fshelp.Tpo fs/$(DEPDIR)/fshelp_module-fshelp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/fshelp.c' object='fs/fshelp_module-fshelp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $(fshelp_module_CFLAGS) $(CFLAGS) -c -o fs/fshelp_module-fshelp.o `test -f 'fs/fshelp.c' || echo '$(srcdir)/'`fs/fshelp.c + +fs/fshelp_module-fshelp.obj: fs/fshelp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $(fshelp_module_CFLAGS) $(CFLAGS) -MT fs/fshelp_module-fshelp.obj -MD -MP -MF fs/$(DEPDIR)/fshelp_module-fshelp.Tpo -c -o fs/fshelp_module-fshelp.obj `if test -f 'fs/fshelp.c'; then $(CYGPATH_W) 'fs/fshelp.c'; else $(CYGPATH_W) '$(srcdir)/fs/fshelp.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/fshelp_module-fshelp.Tpo fs/$(DEPDIR)/fshelp_module-fshelp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/fshelp.c' object='fs/fshelp_module-fshelp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $(fshelp_module_CFLAGS) $(CFLAGS) -c -o fs/fshelp_module-fshelp.obj `if test -f 'fs/fshelp.c'; then $(CYGPATH_W) 'fs/fshelp.c'; else $(CYGPATH_W) '$(srcdir)/fs/fshelp.c'; fi` + +tests/lib/functional_test_module-functional_test.o: tests/lib/functional_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -MT tests/lib/functional_test_module-functional_test.o -MD -MP -MF tests/lib/$(DEPDIR)/functional_test_module-functional_test.Tpo -c -o tests/lib/functional_test_module-functional_test.o `test -f 'tests/lib/functional_test.c' || echo '$(srcdir)/'`tests/lib/functional_test.c +@am__fastdepCC_TRUE@ $(am__mv) tests/lib/$(DEPDIR)/functional_test_module-functional_test.Tpo tests/lib/$(DEPDIR)/functional_test_module-functional_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/lib/functional_test.c' object='tests/lib/functional_test_module-functional_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -c -o tests/lib/functional_test_module-functional_test.o `test -f 'tests/lib/functional_test.c' || echo '$(srcdir)/'`tests/lib/functional_test.c + +tests/lib/functional_test_module-functional_test.obj: tests/lib/functional_test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -MT tests/lib/functional_test_module-functional_test.obj -MD -MP -MF tests/lib/$(DEPDIR)/functional_test_module-functional_test.Tpo -c -o tests/lib/functional_test_module-functional_test.obj `if test -f 'tests/lib/functional_test.c'; then $(CYGPATH_W) 'tests/lib/functional_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/lib/functional_test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) tests/lib/$(DEPDIR)/functional_test_module-functional_test.Tpo tests/lib/$(DEPDIR)/functional_test_module-functional_test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/lib/functional_test.c' object='tests/lib/functional_test_module-functional_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -c -o tests/lib/functional_test_module-functional_test.obj `if test -f 'tests/lib/functional_test.c'; then $(CYGPATH_W) 'tests/lib/functional_test.c'; else $(CYGPATH_W) '$(srcdir)/tests/lib/functional_test.c'; fi` + +tests/lib/functional_test_module-test.o: tests/lib/test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -MT tests/lib/functional_test_module-test.o -MD -MP -MF tests/lib/$(DEPDIR)/functional_test_module-test.Tpo -c -o tests/lib/functional_test_module-test.o `test -f 'tests/lib/test.c' || echo '$(srcdir)/'`tests/lib/test.c +@am__fastdepCC_TRUE@ $(am__mv) tests/lib/$(DEPDIR)/functional_test_module-test.Tpo tests/lib/$(DEPDIR)/functional_test_module-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/lib/test.c' object='tests/lib/functional_test_module-test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -c -o tests/lib/functional_test_module-test.o `test -f 'tests/lib/test.c' || echo '$(srcdir)/'`tests/lib/test.c + +tests/lib/functional_test_module-test.obj: tests/lib/test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -MT tests/lib/functional_test_module-test.obj -MD -MP -MF tests/lib/$(DEPDIR)/functional_test_module-test.Tpo -c -o tests/lib/functional_test_module-test.obj `if test -f 'tests/lib/test.c'; then $(CYGPATH_W) 'tests/lib/test.c'; else $(CYGPATH_W) '$(srcdir)/tests/lib/test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) tests/lib/$(DEPDIR)/functional_test_module-test.Tpo tests/lib/$(DEPDIR)/functional_test_module-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/lib/test.c' object='tests/lib/functional_test_module-test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $(functional_test_module_CFLAGS) $(CFLAGS) -c -o tests/lib/functional_test_module-test.obj `if test -f 'tests/lib/test.c'; then $(CYGPATH_W) 'tests/lib/test.c'; else $(CYGPATH_W) '$(srcdir)/tests/lib/test.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.o: lib/libgcrypt-grub/cipher/arcfour.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $(gcry_arcfour_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.o `test -f 'lib/libgcrypt-grub/cipher/arcfour.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/arcfour.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/arcfour.c' object='lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $(gcry_arcfour_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.o `test -f 'lib/libgcrypt-grub/cipher/arcfour.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/arcfour.c + +lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.obj: lib/libgcrypt-grub/cipher/arcfour.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $(gcry_arcfour_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.obj `if test -f 'lib/libgcrypt-grub/cipher/arcfour.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/arcfour.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/arcfour.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_arcfour_module-arcfour.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/arcfour.c' object='lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $(gcry_arcfour_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_arcfour_module-arcfour.obj `if test -f 'lib/libgcrypt-grub/cipher/arcfour.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/arcfour.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/arcfour.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.o: lib/libgcrypt-grub/cipher/blowfish.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_blowfish_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.o `test -f 'lib/libgcrypt-grub/cipher/blowfish.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/blowfish.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/blowfish.c' object='lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_blowfish_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.o `test -f 'lib/libgcrypt-grub/cipher/blowfish.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/blowfish.c + +lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.obj: lib/libgcrypt-grub/cipher/blowfish.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_blowfish_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.obj `if test -f 'lib/libgcrypt-grub/cipher/blowfish.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/blowfish.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/blowfish.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_blowfish_module-blowfish.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/blowfish.c' object='lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_blowfish_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_blowfish_module-blowfish.obj `if test -f 'lib/libgcrypt-grub/cipher/blowfish.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/blowfish.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/blowfish.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.o: lib/libgcrypt-grub/cipher/camellia-glue.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.o `test -f 'lib/libgcrypt-grub/cipher/camellia-glue.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/camellia-glue.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/camellia-glue.c' object='lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.o `test -f 'lib/libgcrypt-grub/cipher/camellia-glue.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/camellia-glue.c + +lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.obj: lib/libgcrypt-grub/cipher/camellia-glue.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.obj `if test -f 'lib/libgcrypt-grub/cipher/camellia-glue.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/camellia-glue.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/camellia-glue.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia-glue.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/camellia-glue.c' object='lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia-glue.obj `if test -f 'lib/libgcrypt-grub/cipher/camellia-glue.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/camellia-glue.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/camellia-glue.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.o: lib/libgcrypt-grub/cipher/camellia.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.o `test -f 'lib/libgcrypt-grub/cipher/camellia.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/camellia.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/camellia.c' object='lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.o `test -f 'lib/libgcrypt-grub/cipher/camellia.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/camellia.c + +lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.obj: lib/libgcrypt-grub/cipher/camellia.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.obj `if test -f 'lib/libgcrypt-grub/cipher/camellia.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/camellia.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/camellia.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_camellia_module-camellia.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/camellia.c' object='lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $(gcry_camellia_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_camellia_module-camellia.obj `if test -f 'lib/libgcrypt-grub/cipher/camellia.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/camellia.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/camellia.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.o: lib/libgcrypt-grub/cipher/cast5.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_cast5_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.o `test -f 'lib/libgcrypt-grub/cipher/cast5.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/cast5.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/cast5.c' object='lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_cast5_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.o `test -f 'lib/libgcrypt-grub/cipher/cast5.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/cast5.c + +lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.obj: lib/libgcrypt-grub/cipher/cast5.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_cast5_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.obj `if test -f 'lib/libgcrypt-grub/cipher/cast5.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/cast5.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/cast5.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_cast5_module-cast5.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/cast5.c' object='lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_cast5_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_cast5_module-cast5.obj `if test -f 'lib/libgcrypt-grub/cipher/cast5.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/cast5.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/cast5.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_crc_module-crc.o: lib/libgcrypt-grub/cipher/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $(gcry_crc_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_crc_module-crc.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_crc_module-crc.o `test -f 'lib/libgcrypt-grub/cipher/crc.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/crc.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/crc.c' object='lib/libgcrypt-grub/cipher/gcry_crc_module-crc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $(gcry_crc_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_crc_module-crc.o `test -f 'lib/libgcrypt-grub/cipher/crc.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/crc.c + +lib/libgcrypt-grub/cipher/gcry_crc_module-crc.obj: lib/libgcrypt-grub/cipher/crc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $(gcry_crc_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_crc_module-crc.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_crc_module-crc.obj `if test -f 'lib/libgcrypt-grub/cipher/crc.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/crc.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/crc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_crc_module-crc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/crc.c' object='lib/libgcrypt-grub/cipher/gcry_crc_module-crc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $(gcry_crc_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_crc_module-crc.obj `if test -f 'lib/libgcrypt-grub/cipher/crc.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/crc.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/crc.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_des_module-des.o: lib/libgcrypt-grub/cipher/des.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $(gcry_des_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_des_module-des.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_des_module-des.o `test -f 'lib/libgcrypt-grub/cipher/des.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/des.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/des.c' object='lib/libgcrypt-grub/cipher/gcry_des_module-des.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $(gcry_des_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_des_module-des.o `test -f 'lib/libgcrypt-grub/cipher/des.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/des.c + +lib/libgcrypt-grub/cipher/gcry_des_module-des.obj: lib/libgcrypt-grub/cipher/des.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $(gcry_des_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_des_module-des.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_des_module-des.obj `if test -f 'lib/libgcrypt-grub/cipher/des.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/des.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/des.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_des_module-des.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/des.c' object='lib/libgcrypt-grub/cipher/gcry_des_module-des.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $(gcry_des_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_des_module-des.obj `if test -f 'lib/libgcrypt-grub/cipher/des.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/des.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/des.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_md4_module-md4.o: lib/libgcrypt-grub/cipher/md4.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md4_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_md4_module-md4.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_md4_module-md4.o `test -f 'lib/libgcrypt-grub/cipher/md4.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/md4.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/md4.c' object='lib/libgcrypt-grub/cipher/gcry_md4_module-md4.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md4_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_md4_module-md4.o `test -f 'lib/libgcrypt-grub/cipher/md4.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/md4.c + +lib/libgcrypt-grub/cipher/gcry_md4_module-md4.obj: lib/libgcrypt-grub/cipher/md4.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md4_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_md4_module-md4.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_md4_module-md4.obj `if test -f 'lib/libgcrypt-grub/cipher/md4.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/md4.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/md4.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md4_module-md4.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/md4.c' object='lib/libgcrypt-grub/cipher/gcry_md4_module-md4.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md4_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_md4_module-md4.obj `if test -f 'lib/libgcrypt-grub/cipher/md4.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/md4.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/md4.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_md5_module-md5.o: lib/libgcrypt-grub/cipher/md5.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md5_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_md5_module-md5.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_md5_module-md5.o `test -f 'lib/libgcrypt-grub/cipher/md5.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/md5.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/md5.c' object='lib/libgcrypt-grub/cipher/gcry_md5_module-md5.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md5_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_md5_module-md5.o `test -f 'lib/libgcrypt-grub/cipher/md5.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/md5.c + +lib/libgcrypt-grub/cipher/gcry_md5_module-md5.obj: lib/libgcrypt-grub/cipher/md5.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md5_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_md5_module-md5.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_md5_module-md5.obj `if test -f 'lib/libgcrypt-grub/cipher/md5.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/md5.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/md5.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_md5_module-md5.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/md5.c' object='lib/libgcrypt-grub/cipher/gcry_md5_module-md5.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $(gcry_md5_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_md5_module-md5.obj `if test -f 'lib/libgcrypt-grub/cipher/md5.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/md5.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/md5.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.o: lib/libgcrypt-grub/cipher/rfc2268.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rfc2268_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.o `test -f 'lib/libgcrypt-grub/cipher/rfc2268.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/rfc2268.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/rfc2268.c' object='lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rfc2268_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.o `test -f 'lib/libgcrypt-grub/cipher/rfc2268.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/rfc2268.c + +lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.obj: lib/libgcrypt-grub/cipher/rfc2268.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rfc2268_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.obj `if test -f 'lib/libgcrypt-grub/cipher/rfc2268.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/rfc2268.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/rfc2268.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rfc2268_module-rfc2268.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/rfc2268.c' object='lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rfc2268_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_rfc2268_module-rfc2268.obj `if test -f 'lib/libgcrypt-grub/cipher/rfc2268.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/rfc2268.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/rfc2268.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.o: lib/libgcrypt-grub/cipher/rijndael.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rijndael_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.o `test -f 'lib/libgcrypt-grub/cipher/rijndael.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/rijndael.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/rijndael.c' object='lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rijndael_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.o `test -f 'lib/libgcrypt-grub/cipher/rijndael.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/rijndael.c + +lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.obj: lib/libgcrypt-grub/cipher/rijndael.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rijndael_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.obj `if test -f 'lib/libgcrypt-grub/cipher/rijndael.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/rijndael.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/rijndael.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rijndael_module-rijndael.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/rijndael.c' object='lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rijndael_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_rijndael_module-rijndael.obj `if test -f 'lib/libgcrypt-grub/cipher/rijndael.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/rijndael.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/rijndael.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.o: lib/libgcrypt-grub/cipher/rmd160.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rmd160_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.o `test -f 'lib/libgcrypt-grub/cipher/rmd160.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/rmd160.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/rmd160.c' object='lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rmd160_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.o `test -f 'lib/libgcrypt-grub/cipher/rmd160.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/rmd160.c + +lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.obj: lib/libgcrypt-grub/cipher/rmd160.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rmd160_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.obj `if test -f 'lib/libgcrypt-grub/cipher/rmd160.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/rmd160.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/rmd160.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_rmd160_module-rmd160.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/rmd160.c' object='lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $(gcry_rmd160_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_rmd160_module-rmd160.obj `if test -f 'lib/libgcrypt-grub/cipher/rmd160.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/rmd160.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/rmd160.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_seed_module-seed.o: lib/libgcrypt-grub/cipher/seed.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $(gcry_seed_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_seed_module-seed.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_seed_module-seed.o `test -f 'lib/libgcrypt-grub/cipher/seed.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/seed.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/seed.c' object='lib/libgcrypt-grub/cipher/gcry_seed_module-seed.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $(gcry_seed_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_seed_module-seed.o `test -f 'lib/libgcrypt-grub/cipher/seed.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/seed.c + +lib/libgcrypt-grub/cipher/gcry_seed_module-seed.obj: lib/libgcrypt-grub/cipher/seed.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $(gcry_seed_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_seed_module-seed.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_seed_module-seed.obj `if test -f 'lib/libgcrypt-grub/cipher/seed.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/seed.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/seed.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_seed_module-seed.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/seed.c' object='lib/libgcrypt-grub/cipher/gcry_seed_module-seed.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $(gcry_seed_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_seed_module-seed.obj `if test -f 'lib/libgcrypt-grub/cipher/seed.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/seed.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/seed.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.o: lib/libgcrypt-grub/cipher/serpent.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $(gcry_serpent_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.o `test -f 'lib/libgcrypt-grub/cipher/serpent.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/serpent.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/serpent.c' object='lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $(gcry_serpent_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.o `test -f 'lib/libgcrypt-grub/cipher/serpent.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/serpent.c + +lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.obj: lib/libgcrypt-grub/cipher/serpent.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $(gcry_serpent_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.obj `if test -f 'lib/libgcrypt-grub/cipher/serpent.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/serpent.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/serpent.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_serpent_module-serpent.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/serpent.c' object='lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $(gcry_serpent_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_serpent_module-serpent.obj `if test -f 'lib/libgcrypt-grub/cipher/serpent.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/serpent.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/serpent.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.o: lib/libgcrypt-grub/cipher/sha1.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha1_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.o `test -f 'lib/libgcrypt-grub/cipher/sha1.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/sha1.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/sha1.c' object='lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha1_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.o `test -f 'lib/libgcrypt-grub/cipher/sha1.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/sha1.c + +lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.obj: lib/libgcrypt-grub/cipher/sha1.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha1_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.obj `if test -f 'lib/libgcrypt-grub/cipher/sha1.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/sha1.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/sha1.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha1_module-sha1.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/sha1.c' object='lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha1_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_sha1_module-sha1.obj `if test -f 'lib/libgcrypt-grub/cipher/sha1.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/sha1.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/sha1.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.o: lib/libgcrypt-grub/cipher/sha256.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha256_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.o `test -f 'lib/libgcrypt-grub/cipher/sha256.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/sha256.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/sha256.c' object='lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha256_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.o `test -f 'lib/libgcrypt-grub/cipher/sha256.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/sha256.c + +lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.obj: lib/libgcrypt-grub/cipher/sha256.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha256_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.obj `if test -f 'lib/libgcrypt-grub/cipher/sha256.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/sha256.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/sha256.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha256_module-sha256.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/sha256.c' object='lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha256_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_sha256_module-sha256.obj `if test -f 'lib/libgcrypt-grub/cipher/sha256.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/sha256.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/sha256.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.o: lib/libgcrypt-grub/cipher/sha512.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha512_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.o `test -f 'lib/libgcrypt-grub/cipher/sha512.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/sha512.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/sha512.c' object='lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha512_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.o `test -f 'lib/libgcrypt-grub/cipher/sha512.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/sha512.c + +lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.obj: lib/libgcrypt-grub/cipher/sha512.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha512_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.obj `if test -f 'lib/libgcrypt-grub/cipher/sha512.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/sha512.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/sha512.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_sha512_module-sha512.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/sha512.c' object='lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $(gcry_sha512_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_sha512_module-sha512.obj `if test -f 'lib/libgcrypt-grub/cipher/sha512.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/sha512.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/sha512.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.o: lib/libgcrypt-grub/cipher/tiger.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $(gcry_tiger_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.o `test -f 'lib/libgcrypt-grub/cipher/tiger.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/tiger.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/tiger.c' object='lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $(gcry_tiger_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.o `test -f 'lib/libgcrypt-grub/cipher/tiger.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/tiger.c + +lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.obj: lib/libgcrypt-grub/cipher/tiger.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $(gcry_tiger_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.obj `if test -f 'lib/libgcrypt-grub/cipher/tiger.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/tiger.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/tiger.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_tiger_module-tiger.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/tiger.c' object='lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $(gcry_tiger_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_tiger_module-tiger.obj `if test -f 'lib/libgcrypt-grub/cipher/tiger.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/tiger.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/tiger.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o: lib/libgcrypt-grub/cipher/twofish.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_twofish_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o `test -f 'lib/libgcrypt-grub/cipher/twofish.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/twofish.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/twofish.c' object='lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_twofish_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o `test -f 'lib/libgcrypt-grub/cipher/twofish.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/twofish.c + +lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.obj: lib/libgcrypt-grub/cipher/twofish.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_twofish_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.obj `if test -f 'lib/libgcrypt-grub/cipher/twofish.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/twofish.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/twofish.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_twofish_module-twofish.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/twofish.c' object='lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $(gcry_twofish_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.obj `if test -f 'lib/libgcrypt-grub/cipher/twofish.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/twofish.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/twofish.c'; fi` + +lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o: lib/libgcrypt-grub/cipher/whirlpool.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $(gcry_whirlpool_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o `test -f 'lib/libgcrypt-grub/cipher/whirlpool.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/whirlpool.c +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/whirlpool.c' object='lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $(gcry_whirlpool_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o `test -f 'lib/libgcrypt-grub/cipher/whirlpool.c' || echo '$(srcdir)/'`lib/libgcrypt-grub/cipher/whirlpool.c + +lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.obj: lib/libgcrypt-grub/cipher/whirlpool.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $(gcry_whirlpool_module_CFLAGS) $(CFLAGS) -MT lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.obj -MD -MP -MF lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Tpo -c -o lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.obj `if test -f 'lib/libgcrypt-grub/cipher/whirlpool.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/whirlpool.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/whirlpool.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Tpo lib/libgcrypt-grub/cipher/$(DEPDIR)/gcry_whirlpool_module-whirlpool.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/libgcrypt-grub/cipher/whirlpool.c' object='lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $(gcry_whirlpool_module_CFLAGS) $(CFLAGS) -c -o lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.obj `if test -f 'lib/libgcrypt-grub/cipher/whirlpool.c'; then $(CYGPATH_W) 'lib/libgcrypt-grub/cipher/whirlpool.c'; else $(CYGPATH_W) '$(srcdir)/lib/libgcrypt-grub/cipher/whirlpool.c'; fi` + +gettext/gettext_module-gettext.o: gettext/gettext.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $(gettext_module_CFLAGS) $(CFLAGS) -MT gettext/gettext_module-gettext.o -MD -MP -MF gettext/$(DEPDIR)/gettext_module-gettext.Tpo -c -o gettext/gettext_module-gettext.o `test -f 'gettext/gettext.c' || echo '$(srcdir)/'`gettext/gettext.c +@am__fastdepCC_TRUE@ $(am__mv) gettext/$(DEPDIR)/gettext_module-gettext.Tpo gettext/$(DEPDIR)/gettext_module-gettext.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gettext/gettext.c' object='gettext/gettext_module-gettext.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $(gettext_module_CFLAGS) $(CFLAGS) -c -o gettext/gettext_module-gettext.o `test -f 'gettext/gettext.c' || echo '$(srcdir)/'`gettext/gettext.c + +gettext/gettext_module-gettext.obj: gettext/gettext.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $(gettext_module_CFLAGS) $(CFLAGS) -MT gettext/gettext_module-gettext.obj -MD -MP -MF gettext/$(DEPDIR)/gettext_module-gettext.Tpo -c -o gettext/gettext_module-gettext.obj `if test -f 'gettext/gettext.c'; then $(CYGPATH_W) 'gettext/gettext.c'; else $(CYGPATH_W) '$(srcdir)/gettext/gettext.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gettext/$(DEPDIR)/gettext_module-gettext.Tpo gettext/$(DEPDIR)/gettext_module-gettext.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gettext/gettext.c' object='gettext/gettext_module-gettext.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $(gettext_module_CFLAGS) $(CFLAGS) -c -o gettext/gettext_module-gettext.obj `if test -f 'gettext/gettext.c'; then $(CYGPATH_W) 'gettext/gettext.c'; else $(CYGPATH_W) '$(srcdir)/gettext/gettext.c'; fi` + +gfxmenu/gfxmenu_module-gfxmenu.o: gfxmenu/gfxmenu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gfxmenu.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Tpo -c -o gfxmenu/gfxmenu_module-gfxmenu.o `test -f 'gfxmenu/gfxmenu.c' || echo '$(srcdir)/'`gfxmenu/gfxmenu.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gfxmenu.c' object='gfxmenu/gfxmenu_module-gfxmenu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gfxmenu.o `test -f 'gfxmenu/gfxmenu.c' || echo '$(srcdir)/'`gfxmenu/gfxmenu.c + +gfxmenu/gfxmenu_module-gfxmenu.obj: gfxmenu/gfxmenu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gfxmenu.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Tpo -c -o gfxmenu/gfxmenu_module-gfxmenu.obj `if test -f 'gfxmenu/gfxmenu.c'; then $(CYGPATH_W) 'gfxmenu/gfxmenu.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gfxmenu.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gfxmenu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gfxmenu.c' object='gfxmenu/gfxmenu_module-gfxmenu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gfxmenu.obj `if test -f 'gfxmenu/gfxmenu.c'; then $(CYGPATH_W) 'gfxmenu/gfxmenu.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gfxmenu.c'; fi` + +gfxmenu/gfxmenu_module-model.o: gfxmenu/model.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-model.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-model.Tpo -c -o gfxmenu/gfxmenu_module-model.o `test -f 'gfxmenu/model.c' || echo '$(srcdir)/'`gfxmenu/model.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-model.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-model.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/model.c' object='gfxmenu/gfxmenu_module-model.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-model.o `test -f 'gfxmenu/model.c' || echo '$(srcdir)/'`gfxmenu/model.c + +gfxmenu/gfxmenu_module-model.obj: gfxmenu/model.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-model.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-model.Tpo -c -o gfxmenu/gfxmenu_module-model.obj `if test -f 'gfxmenu/model.c'; then $(CYGPATH_W) 'gfxmenu/model.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/model.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-model.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-model.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/model.c' object='gfxmenu/gfxmenu_module-model.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-model.obj `if test -f 'gfxmenu/model.c'; then $(CYGPATH_W) 'gfxmenu/model.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/model.c'; fi` + +gfxmenu/gfxmenu_module-view.o: gfxmenu/view.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-view.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-view.Tpo -c -o gfxmenu/gfxmenu_module-view.o `test -f 'gfxmenu/view.c' || echo '$(srcdir)/'`gfxmenu/view.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-view.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-view.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/view.c' object='gfxmenu/gfxmenu_module-view.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-view.o `test -f 'gfxmenu/view.c' || echo '$(srcdir)/'`gfxmenu/view.c + +gfxmenu/gfxmenu_module-view.obj: gfxmenu/view.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-view.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-view.Tpo -c -o gfxmenu/gfxmenu_module-view.obj `if test -f 'gfxmenu/view.c'; then $(CYGPATH_W) 'gfxmenu/view.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/view.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-view.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-view.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/view.c' object='gfxmenu/gfxmenu_module-view.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-view.obj `if test -f 'gfxmenu/view.c'; then $(CYGPATH_W) 'gfxmenu/view.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/view.c'; fi` + +gfxmenu/gfxmenu_module-font.o: gfxmenu/font.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-font.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-font.Tpo -c -o gfxmenu/gfxmenu_module-font.o `test -f 'gfxmenu/font.c' || echo '$(srcdir)/'`gfxmenu/font.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-font.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-font.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/font.c' object='gfxmenu/gfxmenu_module-font.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-font.o `test -f 'gfxmenu/font.c' || echo '$(srcdir)/'`gfxmenu/font.c + +gfxmenu/gfxmenu_module-font.obj: gfxmenu/font.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-font.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-font.Tpo -c -o gfxmenu/gfxmenu_module-font.obj `if test -f 'gfxmenu/font.c'; then $(CYGPATH_W) 'gfxmenu/font.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/font.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-font.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-font.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/font.c' object='gfxmenu/gfxmenu_module-font.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-font.obj `if test -f 'gfxmenu/font.c'; then $(CYGPATH_W) 'gfxmenu/font.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/font.c'; fi` + +gfxmenu/gfxmenu_module-icon_manager.o: gfxmenu/icon_manager.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-icon_manager.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Tpo -c -o gfxmenu/gfxmenu_module-icon_manager.o `test -f 'gfxmenu/icon_manager.c' || echo '$(srcdir)/'`gfxmenu/icon_manager.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/icon_manager.c' object='gfxmenu/gfxmenu_module-icon_manager.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-icon_manager.o `test -f 'gfxmenu/icon_manager.c' || echo '$(srcdir)/'`gfxmenu/icon_manager.c + +gfxmenu/gfxmenu_module-icon_manager.obj: gfxmenu/icon_manager.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-icon_manager.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Tpo -c -o gfxmenu/gfxmenu_module-icon_manager.obj `if test -f 'gfxmenu/icon_manager.c'; then $(CYGPATH_W) 'gfxmenu/icon_manager.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/icon_manager.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-icon_manager.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/icon_manager.c' object='gfxmenu/gfxmenu_module-icon_manager.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-icon_manager.obj `if test -f 'gfxmenu/icon_manager.c'; then $(CYGPATH_W) 'gfxmenu/icon_manager.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/icon_manager.c'; fi` + +gfxmenu/gfxmenu_module-theme_loader.o: gfxmenu/theme_loader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-theme_loader.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Tpo -c -o gfxmenu/gfxmenu_module-theme_loader.o `test -f 'gfxmenu/theme_loader.c' || echo '$(srcdir)/'`gfxmenu/theme_loader.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/theme_loader.c' object='gfxmenu/gfxmenu_module-theme_loader.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-theme_loader.o `test -f 'gfxmenu/theme_loader.c' || echo '$(srcdir)/'`gfxmenu/theme_loader.c + +gfxmenu/gfxmenu_module-theme_loader.obj: gfxmenu/theme_loader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-theme_loader.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Tpo -c -o gfxmenu/gfxmenu_module-theme_loader.obj `if test -f 'gfxmenu/theme_loader.c'; then $(CYGPATH_W) 'gfxmenu/theme_loader.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/theme_loader.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-theme_loader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/theme_loader.c' object='gfxmenu/gfxmenu_module-theme_loader.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-theme_loader.obj `if test -f 'gfxmenu/theme_loader.c'; then $(CYGPATH_W) 'gfxmenu/theme_loader.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/theme_loader.c'; fi` + +gfxmenu/gfxmenu_module-widget-box.o: gfxmenu/widget-box.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-widget-box.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Tpo -c -o gfxmenu/gfxmenu_module-widget-box.o `test -f 'gfxmenu/widget-box.c' || echo '$(srcdir)/'`gfxmenu/widget-box.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/widget-box.c' object='gfxmenu/gfxmenu_module-widget-box.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-widget-box.o `test -f 'gfxmenu/widget-box.c' || echo '$(srcdir)/'`gfxmenu/widget-box.c + +gfxmenu/gfxmenu_module-widget-box.obj: gfxmenu/widget-box.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-widget-box.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Tpo -c -o gfxmenu/gfxmenu_module-widget-box.obj `if test -f 'gfxmenu/widget-box.c'; then $(CYGPATH_W) 'gfxmenu/widget-box.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/widget-box.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-widget-box.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/widget-box.c' object='gfxmenu/gfxmenu_module-widget-box.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-widget-box.obj `if test -f 'gfxmenu/widget-box.c'; then $(CYGPATH_W) 'gfxmenu/widget-box.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/widget-box.c'; fi` + +gfxmenu/gfxmenu_module-gui_canvas.o: gfxmenu/gui_canvas.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_canvas.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Tpo -c -o gfxmenu/gfxmenu_module-gui_canvas.o `test -f 'gfxmenu/gui_canvas.c' || echo '$(srcdir)/'`gfxmenu/gui_canvas.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_canvas.c' object='gfxmenu/gfxmenu_module-gui_canvas.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_canvas.o `test -f 'gfxmenu/gui_canvas.c' || echo '$(srcdir)/'`gfxmenu/gui_canvas.c + +gfxmenu/gfxmenu_module-gui_canvas.obj: gfxmenu/gui_canvas.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_canvas.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Tpo -c -o gfxmenu/gfxmenu_module-gui_canvas.obj `if test -f 'gfxmenu/gui_canvas.c'; then $(CYGPATH_W) 'gfxmenu/gui_canvas.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_canvas.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_canvas.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_canvas.c' object='gfxmenu/gfxmenu_module-gui_canvas.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_canvas.obj `if test -f 'gfxmenu/gui_canvas.c'; then $(CYGPATH_W) 'gfxmenu/gui_canvas.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_canvas.c'; fi` + +gfxmenu/gfxmenu_module-gui_circular_progress.o: gfxmenu/gui_circular_progress.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_circular_progress.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Tpo -c -o gfxmenu/gfxmenu_module-gui_circular_progress.o `test -f 'gfxmenu/gui_circular_progress.c' || echo '$(srcdir)/'`gfxmenu/gui_circular_progress.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_circular_progress.c' object='gfxmenu/gfxmenu_module-gui_circular_progress.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_circular_progress.o `test -f 'gfxmenu/gui_circular_progress.c' || echo '$(srcdir)/'`gfxmenu/gui_circular_progress.c + +gfxmenu/gfxmenu_module-gui_circular_progress.obj: gfxmenu/gui_circular_progress.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_circular_progress.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Tpo -c -o gfxmenu/gfxmenu_module-gui_circular_progress.obj `if test -f 'gfxmenu/gui_circular_progress.c'; then $(CYGPATH_W) 'gfxmenu/gui_circular_progress.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_circular_progress.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_circular_progress.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_circular_progress.c' object='gfxmenu/gfxmenu_module-gui_circular_progress.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_circular_progress.obj `if test -f 'gfxmenu/gui_circular_progress.c'; then $(CYGPATH_W) 'gfxmenu/gui_circular_progress.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_circular_progress.c'; fi` + +gfxmenu/gfxmenu_module-gui_box.o: gfxmenu/gui_box.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_box.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Tpo -c -o gfxmenu/gfxmenu_module-gui_box.o `test -f 'gfxmenu/gui_box.c' || echo '$(srcdir)/'`gfxmenu/gui_box.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_box.c' object='gfxmenu/gfxmenu_module-gui_box.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_box.o `test -f 'gfxmenu/gui_box.c' || echo '$(srcdir)/'`gfxmenu/gui_box.c + +gfxmenu/gfxmenu_module-gui_box.obj: gfxmenu/gui_box.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_box.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Tpo -c -o gfxmenu/gfxmenu_module-gui_box.obj `if test -f 'gfxmenu/gui_box.c'; then $(CYGPATH_W) 'gfxmenu/gui_box.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_box.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_box.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_box.c' object='gfxmenu/gfxmenu_module-gui_box.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_box.obj `if test -f 'gfxmenu/gui_box.c'; then $(CYGPATH_W) 'gfxmenu/gui_box.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_box.c'; fi` + +gfxmenu/gfxmenu_module-gui_label.o: gfxmenu/gui_label.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_label.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Tpo -c -o gfxmenu/gfxmenu_module-gui_label.o `test -f 'gfxmenu/gui_label.c' || echo '$(srcdir)/'`gfxmenu/gui_label.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_label.c' object='gfxmenu/gfxmenu_module-gui_label.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_label.o `test -f 'gfxmenu/gui_label.c' || echo '$(srcdir)/'`gfxmenu/gui_label.c + +gfxmenu/gfxmenu_module-gui_label.obj: gfxmenu/gui_label.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_label.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Tpo -c -o gfxmenu/gfxmenu_module-gui_label.obj `if test -f 'gfxmenu/gui_label.c'; then $(CYGPATH_W) 'gfxmenu/gui_label.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_label.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_label.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_label.c' object='gfxmenu/gfxmenu_module-gui_label.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_label.obj `if test -f 'gfxmenu/gui_label.c'; then $(CYGPATH_W) 'gfxmenu/gui_label.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_label.c'; fi` + +gfxmenu/gfxmenu_module-gui_list.o: gfxmenu/gui_list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_list.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Tpo -c -o gfxmenu/gfxmenu_module-gui_list.o `test -f 'gfxmenu/gui_list.c' || echo '$(srcdir)/'`gfxmenu/gui_list.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_list.c' object='gfxmenu/gfxmenu_module-gui_list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_list.o `test -f 'gfxmenu/gui_list.c' || echo '$(srcdir)/'`gfxmenu/gui_list.c + +gfxmenu/gfxmenu_module-gui_list.obj: gfxmenu/gui_list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_list.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Tpo -c -o gfxmenu/gfxmenu_module-gui_list.obj `if test -f 'gfxmenu/gui_list.c'; then $(CYGPATH_W) 'gfxmenu/gui_list.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_list.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_list.c' object='gfxmenu/gfxmenu_module-gui_list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_list.obj `if test -f 'gfxmenu/gui_list.c'; then $(CYGPATH_W) 'gfxmenu/gui_list.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_list.c'; fi` + +gfxmenu/gfxmenu_module-gui_image.o: gfxmenu/gui_image.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_image.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Tpo -c -o gfxmenu/gfxmenu_module-gui_image.o `test -f 'gfxmenu/gui_image.c' || echo '$(srcdir)/'`gfxmenu/gui_image.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_image.c' object='gfxmenu/gfxmenu_module-gui_image.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_image.o `test -f 'gfxmenu/gui_image.c' || echo '$(srcdir)/'`gfxmenu/gui_image.c + +gfxmenu/gfxmenu_module-gui_image.obj: gfxmenu/gui_image.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_image.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Tpo -c -o gfxmenu/gfxmenu_module-gui_image.obj `if test -f 'gfxmenu/gui_image.c'; then $(CYGPATH_W) 'gfxmenu/gui_image.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_image.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_image.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_image.c' object='gfxmenu/gfxmenu_module-gui_image.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_image.obj `if test -f 'gfxmenu/gui_image.c'; then $(CYGPATH_W) 'gfxmenu/gui_image.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_image.c'; fi` + +gfxmenu/gfxmenu_module-gui_progress_bar.o: gfxmenu/gui_progress_bar.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_progress_bar.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Tpo -c -o gfxmenu/gfxmenu_module-gui_progress_bar.o `test -f 'gfxmenu/gui_progress_bar.c' || echo '$(srcdir)/'`gfxmenu/gui_progress_bar.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_progress_bar.c' object='gfxmenu/gfxmenu_module-gui_progress_bar.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_progress_bar.o `test -f 'gfxmenu/gui_progress_bar.c' || echo '$(srcdir)/'`gfxmenu/gui_progress_bar.c + +gfxmenu/gfxmenu_module-gui_progress_bar.obj: gfxmenu/gui_progress_bar.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_progress_bar.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Tpo -c -o gfxmenu/gfxmenu_module-gui_progress_bar.obj `if test -f 'gfxmenu/gui_progress_bar.c'; then $(CYGPATH_W) 'gfxmenu/gui_progress_bar.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_progress_bar.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_progress_bar.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_progress_bar.c' object='gfxmenu/gfxmenu_module-gui_progress_bar.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_progress_bar.obj `if test -f 'gfxmenu/gui_progress_bar.c'; then $(CYGPATH_W) 'gfxmenu/gui_progress_bar.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_progress_bar.c'; fi` + +gfxmenu/gfxmenu_module-gui_util.o: gfxmenu/gui_util.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_util.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Tpo -c -o gfxmenu/gfxmenu_module-gui_util.o `test -f 'gfxmenu/gui_util.c' || echo '$(srcdir)/'`gfxmenu/gui_util.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_util.c' object='gfxmenu/gfxmenu_module-gui_util.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_util.o `test -f 'gfxmenu/gui_util.c' || echo '$(srcdir)/'`gfxmenu/gui_util.c + +gfxmenu/gfxmenu_module-gui_util.obj: gfxmenu/gui_util.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_util.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Tpo -c -o gfxmenu/gfxmenu_module-gui_util.obj `if test -f 'gfxmenu/gui_util.c'; then $(CYGPATH_W) 'gfxmenu/gui_util.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_util.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_util.c' object='gfxmenu/gfxmenu_module-gui_util.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_util.obj `if test -f 'gfxmenu/gui_util.c'; then $(CYGPATH_W) 'gfxmenu/gui_util.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_util.c'; fi` + +gfxmenu/gfxmenu_module-gui_string_util.o: gfxmenu/gui_string_util.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_string_util.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Tpo -c -o gfxmenu/gfxmenu_module-gui_string_util.o `test -f 'gfxmenu/gui_string_util.c' || echo '$(srcdir)/'`gfxmenu/gui_string_util.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_string_util.c' object='gfxmenu/gfxmenu_module-gui_string_util.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_string_util.o `test -f 'gfxmenu/gui_string_util.c' || echo '$(srcdir)/'`gfxmenu/gui_string_util.c + +gfxmenu/gfxmenu_module-gui_string_util.obj: gfxmenu/gui_string_util.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-gui_string_util.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Tpo -c -o gfxmenu/gfxmenu_module-gui_string_util.obj `if test -f 'gfxmenu/gui_string_util.c'; then $(CYGPATH_W) 'gfxmenu/gui_string_util.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_string_util.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-gui_string_util.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/gui_string_util.c' object='gfxmenu/gfxmenu_module-gui_string_util.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-gui_string_util.obj `if test -f 'gfxmenu/gui_string_util.c'; then $(CYGPATH_W) 'gfxmenu/gui_string_util.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/gui_string_util.c'; fi` + +gfxmenu/gfxmenu_module-named_colors.o: gfxmenu/named_colors.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-named_colors.o -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Tpo -c -o gfxmenu/gfxmenu_module-named_colors.o `test -f 'gfxmenu/named_colors.c' || echo '$(srcdir)/'`gfxmenu/named_colors.c +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/named_colors.c' object='gfxmenu/gfxmenu_module-named_colors.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-named_colors.o `test -f 'gfxmenu/named_colors.c' || echo '$(srcdir)/'`gfxmenu/named_colors.c + +gfxmenu/gfxmenu_module-named_colors.obj: gfxmenu/named_colors.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -MT gfxmenu/gfxmenu_module-named_colors.obj -MD -MP -MF gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Tpo -c -o gfxmenu/gfxmenu_module-named_colors.obj `if test -f 'gfxmenu/named_colors.c'; then $(CYGPATH_W) 'gfxmenu/named_colors.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/named_colors.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Tpo gfxmenu/$(DEPDIR)/gfxmenu_module-named_colors.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gfxmenu/named_colors.c' object='gfxmenu/gfxmenu_module-named_colors.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $(gfxmenu_module_CFLAGS) $(CFLAGS) -c -o gfxmenu/gfxmenu_module-named_colors.obj `if test -f 'gfxmenu/named_colors.c'; then $(CYGPATH_W) 'gfxmenu/named_colors.c'; else $(CYGPATH_W) '$(srcdir)/gfxmenu/named_colors.c'; fi` + +term/gfxterm_module-gfxterm.o: term/gfxterm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $(gfxterm_module_CFLAGS) $(CFLAGS) -MT term/gfxterm_module-gfxterm.o -MD -MP -MF term/$(DEPDIR)/gfxterm_module-gfxterm.Tpo -c -o term/gfxterm_module-gfxterm.o `test -f 'term/gfxterm.c' || echo '$(srcdir)/'`term/gfxterm.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/gfxterm_module-gfxterm.Tpo term/$(DEPDIR)/gfxterm_module-gfxterm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/gfxterm.c' object='term/gfxterm_module-gfxterm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $(gfxterm_module_CFLAGS) $(CFLAGS) -c -o term/gfxterm_module-gfxterm.o `test -f 'term/gfxterm.c' || echo '$(srcdir)/'`term/gfxterm.c + +term/gfxterm_module-gfxterm.obj: term/gfxterm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $(gfxterm_module_CFLAGS) $(CFLAGS) -MT term/gfxterm_module-gfxterm.obj -MD -MP -MF term/$(DEPDIR)/gfxterm_module-gfxterm.Tpo -c -o term/gfxterm_module-gfxterm.obj `if test -f 'term/gfxterm.c'; then $(CYGPATH_W) 'term/gfxterm.c'; else $(CYGPATH_W) '$(srcdir)/term/gfxterm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/gfxterm_module-gfxterm.Tpo term/$(DEPDIR)/gfxterm_module-gfxterm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/gfxterm.c' object='term/gfxterm_module-gfxterm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $(gfxterm_module_CFLAGS) $(CFLAGS) -c -o term/gfxterm_module-gfxterm.obj `if test -f 'term/gfxterm.c'; then $(CYGPATH_W) 'term/gfxterm.c'; else $(CYGPATH_W) '$(srcdir)/term/gfxterm.c'; fi` + +commands/gptsync_module-gptsync.o: commands/gptsync.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $(gptsync_module_CFLAGS) $(CFLAGS) -MT commands/gptsync_module-gptsync.o -MD -MP -MF commands/$(DEPDIR)/gptsync_module-gptsync.Tpo -c -o commands/gptsync_module-gptsync.o `test -f 'commands/gptsync.c' || echo '$(srcdir)/'`commands/gptsync.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/gptsync_module-gptsync.Tpo commands/$(DEPDIR)/gptsync_module-gptsync.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/gptsync.c' object='commands/gptsync_module-gptsync.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $(gptsync_module_CFLAGS) $(CFLAGS) -c -o commands/gptsync_module-gptsync.o `test -f 'commands/gptsync.c' || echo '$(srcdir)/'`commands/gptsync.c + +commands/gptsync_module-gptsync.obj: commands/gptsync.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $(gptsync_module_CFLAGS) $(CFLAGS) -MT commands/gptsync_module-gptsync.obj -MD -MP -MF commands/$(DEPDIR)/gptsync_module-gptsync.Tpo -c -o commands/gptsync_module-gptsync.obj `if test -f 'commands/gptsync.c'; then $(CYGPATH_W) 'commands/gptsync.c'; else $(CYGPATH_W) '$(srcdir)/commands/gptsync.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/gptsync_module-gptsync.Tpo commands/$(DEPDIR)/gptsync_module-gptsync.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/gptsync.c' object='commands/gptsync_module-gptsync.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $(gptsync_module_CFLAGS) $(CFLAGS) -c -o commands/gptsync_module-gptsync.obj `if test -f 'commands/gptsync.c'; then $(CYGPATH_W) 'commands/gptsync.c'; else $(CYGPATH_W) '$(srcdir)/commands/gptsync.c'; fi` + +kern/emu/grub_emu-full.o: kern/emu/full.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -MT kern/emu/grub_emu-full.o -MD -MP -MF kern/emu/$(DEPDIR)/grub_emu-full.Tpo -c -o kern/emu/grub_emu-full.o `test -f 'kern/emu/full.c' || echo '$(srcdir)/'`kern/emu/full.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/grub_emu-full.Tpo kern/emu/$(DEPDIR)/grub_emu-full.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/full.c' object='kern/emu/grub_emu-full.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -c -o kern/emu/grub_emu-full.o `test -f 'kern/emu/full.c' || echo '$(srcdir)/'`kern/emu/full.c + +kern/emu/grub_emu-full.obj: kern/emu/full.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -MT kern/emu/grub_emu-full.obj -MD -MP -MF kern/emu/$(DEPDIR)/grub_emu-full.Tpo -c -o kern/emu/grub_emu-full.obj `if test -f 'kern/emu/full.c'; then $(CYGPATH_W) 'kern/emu/full.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/full.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/grub_emu-full.Tpo kern/emu/$(DEPDIR)/grub_emu-full.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/full.c' object='kern/emu/grub_emu-full.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -c -o kern/emu/grub_emu-full.obj `if test -f 'kern/emu/full.c'; then $(CYGPATH_W) 'kern/emu/full.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/full.c'; fi` + +grub_emu-grub_emu_init.o: grub_emu_init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -MT grub_emu-grub_emu_init.o -MD -MP -MF $(DEPDIR)/grub_emu-grub_emu_init.Tpo -c -o grub_emu-grub_emu_init.o `test -f 'grub_emu_init.c' || echo '$(srcdir)/'`grub_emu_init.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/grub_emu-grub_emu_init.Tpo $(DEPDIR)/grub_emu-grub_emu_init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_emu_init.c' object='grub_emu-grub_emu_init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -c -o grub_emu-grub_emu_init.o `test -f 'grub_emu_init.c' || echo '$(srcdir)/'`grub_emu_init.c + +grub_emu-grub_emu_init.obj: grub_emu_init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -MT grub_emu-grub_emu_init.obj -MD -MP -MF $(DEPDIR)/grub_emu-grub_emu_init.Tpo -c -o grub_emu-grub_emu_init.obj `if test -f 'grub_emu_init.c'; then $(CYGPATH_W) 'grub_emu_init.c'; else $(CYGPATH_W) '$(srcdir)/grub_emu_init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/grub_emu-grub_emu_init.Tpo $(DEPDIR)/grub_emu-grub_emu_init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_emu_init.c' object='grub_emu-grub_emu_init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_CPPFLAGS) $(CPPFLAGS) $(grub_emu_CFLAGS) $(CFLAGS) -c -o grub_emu-grub_emu_init.obj `if test -f 'grub_emu_init.c'; then $(CYGPATH_W) 'grub_emu_init.c'; else $(CYGPATH_W) '$(srcdir)/grub_emu_init.c'; fi` + +kern/emu/grub_emu_lite-lite.o: kern/emu/lite.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -MT kern/emu/grub_emu_lite-lite.o -MD -MP -MF kern/emu/$(DEPDIR)/grub_emu_lite-lite.Tpo -c -o kern/emu/grub_emu_lite-lite.o `test -f 'kern/emu/lite.c' || echo '$(srcdir)/'`kern/emu/lite.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/grub_emu_lite-lite.Tpo kern/emu/$(DEPDIR)/grub_emu_lite-lite.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/lite.c' object='kern/emu/grub_emu_lite-lite.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -c -o kern/emu/grub_emu_lite-lite.o `test -f 'kern/emu/lite.c' || echo '$(srcdir)/'`kern/emu/lite.c + +kern/emu/grub_emu_lite-lite.obj: kern/emu/lite.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -MT kern/emu/grub_emu_lite-lite.obj -MD -MP -MF kern/emu/$(DEPDIR)/grub_emu_lite-lite.Tpo -c -o kern/emu/grub_emu_lite-lite.obj `if test -f 'kern/emu/lite.c'; then $(CYGPATH_W) 'kern/emu/lite.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/lite.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/grub_emu_lite-lite.Tpo kern/emu/$(DEPDIR)/grub_emu_lite-lite.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/lite.c' object='kern/emu/grub_emu_lite-lite.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -c -o kern/emu/grub_emu_lite-lite.obj `if test -f 'kern/emu/lite.c'; then $(CYGPATH_W) 'kern/emu/lite.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/lite.c'; fi` + +grub_emu_lite-symlist.o: symlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -MT grub_emu_lite-symlist.o -MD -MP -MF $(DEPDIR)/grub_emu_lite-symlist.Tpo -c -o grub_emu_lite-symlist.o `test -f 'symlist.c' || echo '$(srcdir)/'`symlist.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/grub_emu_lite-symlist.Tpo $(DEPDIR)/grub_emu_lite-symlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='symlist.c' object='grub_emu_lite-symlist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -c -o grub_emu_lite-symlist.o `test -f 'symlist.c' || echo '$(srcdir)/'`symlist.c + +grub_emu_lite-symlist.obj: symlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -MT grub_emu_lite-symlist.obj -MD -MP -MF $(DEPDIR)/grub_emu_lite-symlist.Tpo -c -o grub_emu_lite-symlist.obj `if test -f 'symlist.c'; then $(CYGPATH_W) 'symlist.c'; else $(CYGPATH_W) '$(srcdir)/symlist.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/grub_emu_lite-symlist.Tpo $(DEPDIR)/grub_emu_lite-symlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='symlist.c' object='grub_emu_lite-symlist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_emu_lite_CPPFLAGS) $(CPPFLAGS) $(grub_emu_lite_CFLAGS) $(CFLAGS) -c -o grub_emu_lite-symlist.obj `if test -f 'symlist.c'; then $(CYGPATH_W) 'symlist.c'; else $(CYGPATH_W) '$(srcdir)/symlist.c'; fi` + +io/gzio_module-gzio.o: io/gzio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $(gzio_module_CFLAGS) $(CFLAGS) -MT io/gzio_module-gzio.o -MD -MP -MF io/$(DEPDIR)/gzio_module-gzio.Tpo -c -o io/gzio_module-gzio.o `test -f 'io/gzio.c' || echo '$(srcdir)/'`io/gzio.c +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/gzio_module-gzio.Tpo io/$(DEPDIR)/gzio_module-gzio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/gzio.c' object='io/gzio_module-gzio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $(gzio_module_CFLAGS) $(CFLAGS) -c -o io/gzio_module-gzio.o `test -f 'io/gzio.c' || echo '$(srcdir)/'`io/gzio.c + +io/gzio_module-gzio.obj: io/gzio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $(gzio_module_CFLAGS) $(CFLAGS) -MT io/gzio_module-gzio.obj -MD -MP -MF io/$(DEPDIR)/gzio_module-gzio.Tpo -c -o io/gzio_module-gzio.obj `if test -f 'io/gzio.c'; then $(CYGPATH_W) 'io/gzio.c'; else $(CYGPATH_W) '$(srcdir)/io/gzio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/gzio_module-gzio.Tpo io/$(DEPDIR)/gzio_module-gzio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/gzio.c' object='io/gzio_module-gzio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $(gzio_module_CFLAGS) $(CFLAGS) -c -o io/gzio_module-gzio.obj `if test -f 'io/gzio.c'; then $(CYGPATH_W) 'io/gzio.c'; else $(CYGPATH_W) '$(srcdir)/io/gzio.c'; fi` + +lib/emu/halt_module-halt.o: lib/emu/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/emu/halt_module-halt.o -MD -MP -MF lib/emu/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/emu/halt_module-halt.o `test -f 'lib/emu/halt.c' || echo '$(srcdir)/'`lib/emu/halt.c +@am__fastdepCC_TRUE@ $(am__mv) lib/emu/$(DEPDIR)/halt_module-halt.Tpo lib/emu/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/emu/halt.c' object='lib/emu/halt_module-halt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/emu/halt_module-halt.o `test -f 'lib/emu/halt.c' || echo '$(srcdir)/'`lib/emu/halt.c + +lib/emu/halt_module-halt.obj: lib/emu/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/emu/halt_module-halt.obj -MD -MP -MF lib/emu/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/emu/halt_module-halt.obj `if test -f 'lib/emu/halt.c'; then $(CYGPATH_W) 'lib/emu/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/emu/halt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/emu/$(DEPDIR)/halt_module-halt.Tpo lib/emu/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/emu/halt.c' object='lib/emu/halt_module-halt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/emu/halt_module-halt.obj `if test -f 'lib/emu/halt.c'; then $(CYGPATH_W) 'lib/emu/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/emu/halt.c'; fi` + +commands/halt_module-halt.o: commands/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT commands/halt_module-halt.o -MD -MP -MF commands/$(DEPDIR)/halt_module-halt.Tpo -c -o commands/halt_module-halt.o `test -f 'commands/halt.c' || echo '$(srcdir)/'`commands/halt.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/halt_module-halt.Tpo commands/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/halt.c' object='commands/halt_module-halt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o commands/halt_module-halt.o `test -f 'commands/halt.c' || echo '$(srcdir)/'`commands/halt.c + +commands/halt_module-halt.obj: commands/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT commands/halt_module-halt.obj -MD -MP -MF commands/$(DEPDIR)/halt_module-halt.Tpo -c -o commands/halt_module-halt.obj `if test -f 'commands/halt.c'; then $(CYGPATH_W) 'commands/halt.c'; else $(CYGPATH_W) '$(srcdir)/commands/halt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/halt_module-halt.Tpo commands/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/halt.c' object='commands/halt_module-halt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o commands/halt_module-halt.obj `if test -f 'commands/halt.c'; then $(CYGPATH_W) 'commands/halt.c'; else $(CYGPATH_W) '$(srcdir)/commands/halt.c'; fi` + +commands/halt_module-acpihalt.o: commands/acpihalt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT commands/halt_module-acpihalt.o -MD -MP -MF commands/$(DEPDIR)/halt_module-acpihalt.Tpo -c -o commands/halt_module-acpihalt.o `test -f 'commands/acpihalt.c' || echo '$(srcdir)/'`commands/acpihalt.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/halt_module-acpihalt.Tpo commands/$(DEPDIR)/halt_module-acpihalt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/acpihalt.c' object='commands/halt_module-acpihalt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o commands/halt_module-acpihalt.o `test -f 'commands/acpihalt.c' || echo '$(srcdir)/'`commands/acpihalt.c + +commands/halt_module-acpihalt.obj: commands/acpihalt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT commands/halt_module-acpihalt.obj -MD -MP -MF commands/$(DEPDIR)/halt_module-acpihalt.Tpo -c -o commands/halt_module-acpihalt.obj `if test -f 'commands/acpihalt.c'; then $(CYGPATH_W) 'commands/acpihalt.c'; else $(CYGPATH_W) '$(srcdir)/commands/acpihalt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/halt_module-acpihalt.Tpo commands/$(DEPDIR)/halt_module-acpihalt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/acpihalt.c' object='commands/halt_module-acpihalt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o commands/halt_module-acpihalt.obj `if test -f 'commands/acpihalt.c'; then $(CYGPATH_W) 'commands/acpihalt.c'; else $(CYGPATH_W) '$(srcdir)/commands/acpihalt.c'; fi` + +lib/i386/halt_module-halt.o: lib/i386/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/i386/halt_module-halt.o -MD -MP -MF lib/i386/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/i386/halt_module-halt.o `test -f 'lib/i386/halt.c' || echo '$(srcdir)/'`lib/i386/halt.c +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/halt_module-halt.Tpo lib/i386/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/halt.c' object='lib/i386/halt_module-halt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/i386/halt_module-halt.o `test -f 'lib/i386/halt.c' || echo '$(srcdir)/'`lib/i386/halt.c + +lib/i386/halt_module-halt.obj: lib/i386/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/i386/halt_module-halt.obj -MD -MP -MF lib/i386/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/i386/halt_module-halt.obj `if test -f 'lib/i386/halt.c'; then $(CYGPATH_W) 'lib/i386/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/halt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/halt_module-halt.Tpo lib/i386/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/halt.c' object='lib/i386/halt_module-halt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/i386/halt_module-halt.obj `if test -f 'lib/i386/halt.c'; then $(CYGPATH_W) 'lib/i386/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/halt.c'; fi` + +lib/efi/halt_module-halt.o: lib/efi/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/efi/halt_module-halt.o -MD -MP -MF lib/efi/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/efi/halt_module-halt.o `test -f 'lib/efi/halt.c' || echo '$(srcdir)/'`lib/efi/halt.c +@am__fastdepCC_TRUE@ $(am__mv) lib/efi/$(DEPDIR)/halt_module-halt.Tpo lib/efi/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/efi/halt.c' object='lib/efi/halt_module-halt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/efi/halt_module-halt.o `test -f 'lib/efi/halt.c' || echo '$(srcdir)/'`lib/efi/halt.c + +lib/efi/halt_module-halt.obj: lib/efi/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/efi/halt_module-halt.obj -MD -MP -MF lib/efi/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/efi/halt_module-halt.obj `if test -f 'lib/efi/halt.c'; then $(CYGPATH_W) 'lib/efi/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/efi/halt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/efi/$(DEPDIR)/halt_module-halt.Tpo lib/efi/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/efi/halt.c' object='lib/efi/halt_module-halt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/efi/halt_module-halt.obj `if test -f 'lib/efi/halt.c'; then $(CYGPATH_W) 'lib/efi/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/efi/halt.c'; fi` + +lib/ieee1275/halt_module-halt.o: lib/ieee1275/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/ieee1275/halt_module-halt.o -MD -MP -MF lib/ieee1275/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/ieee1275/halt_module-halt.o `test -f 'lib/ieee1275/halt.c' || echo '$(srcdir)/'`lib/ieee1275/halt.c +@am__fastdepCC_TRUE@ $(am__mv) lib/ieee1275/$(DEPDIR)/halt_module-halt.Tpo lib/ieee1275/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ieee1275/halt.c' object='lib/ieee1275/halt_module-halt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/ieee1275/halt_module-halt.o `test -f 'lib/ieee1275/halt.c' || echo '$(srcdir)/'`lib/ieee1275/halt.c + +lib/ieee1275/halt_module-halt.obj: lib/ieee1275/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT lib/ieee1275/halt_module-halt.obj -MD -MP -MF lib/ieee1275/$(DEPDIR)/halt_module-halt.Tpo -c -o lib/ieee1275/halt_module-halt.obj `if test -f 'lib/ieee1275/halt.c'; then $(CYGPATH_W) 'lib/ieee1275/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/ieee1275/halt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/ieee1275/$(DEPDIR)/halt_module-halt.Tpo lib/ieee1275/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ieee1275/halt.c' object='lib/ieee1275/halt_module-halt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o lib/ieee1275/halt_module-halt.obj `if test -f 'lib/ieee1275/halt.c'; then $(CYGPATH_W) 'lib/ieee1275/halt.c'; else $(CYGPATH_W) '$(srcdir)/lib/ieee1275/halt.c'; fi` + +commands/i386/pc/halt_module-halt.o: commands/i386/pc/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/halt_module-halt.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/halt_module-halt.Tpo -c -o commands/i386/pc/halt_module-halt.o `test -f 'commands/i386/pc/halt.c' || echo '$(srcdir)/'`commands/i386/pc/halt.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/halt_module-halt.Tpo commands/i386/pc/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/halt.c' object='commands/i386/pc/halt_module-halt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/halt_module-halt.o `test -f 'commands/i386/pc/halt.c' || echo '$(srcdir)/'`commands/i386/pc/halt.c + +commands/i386/pc/halt_module-halt.obj: commands/i386/pc/halt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/halt_module-halt.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/halt_module-halt.Tpo -c -o commands/i386/pc/halt_module-halt.obj `if test -f 'commands/i386/pc/halt.c'; then $(CYGPATH_W) 'commands/i386/pc/halt.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/halt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/halt_module-halt.Tpo commands/i386/pc/$(DEPDIR)/halt_module-halt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/halt.c' object='commands/i386/pc/halt_module-halt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $(halt_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/halt_module-halt.obj `if test -f 'commands/i386/pc/halt.c'; then $(CYGPATH_W) 'commands/i386/pc/halt.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/halt.c'; fi` + +commands/hashsum_module-hashsum.o: commands/hashsum.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $(hashsum_module_CFLAGS) $(CFLAGS) -MT commands/hashsum_module-hashsum.o -MD -MP -MF commands/$(DEPDIR)/hashsum_module-hashsum.Tpo -c -o commands/hashsum_module-hashsum.o `test -f 'commands/hashsum.c' || echo '$(srcdir)/'`commands/hashsum.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/hashsum_module-hashsum.Tpo commands/$(DEPDIR)/hashsum_module-hashsum.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/hashsum.c' object='commands/hashsum_module-hashsum.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $(hashsum_module_CFLAGS) $(CFLAGS) -c -o commands/hashsum_module-hashsum.o `test -f 'commands/hashsum.c' || echo '$(srcdir)/'`commands/hashsum.c + +commands/hashsum_module-hashsum.obj: commands/hashsum.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $(hashsum_module_CFLAGS) $(CFLAGS) -MT commands/hashsum_module-hashsum.obj -MD -MP -MF commands/$(DEPDIR)/hashsum_module-hashsum.Tpo -c -o commands/hashsum_module-hashsum.obj `if test -f 'commands/hashsum.c'; then $(CYGPATH_W) 'commands/hashsum.c'; else $(CYGPATH_W) '$(srcdir)/commands/hashsum.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/hashsum_module-hashsum.Tpo commands/$(DEPDIR)/hashsum_module-hashsum.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/hashsum.c' object='commands/hashsum_module-hashsum.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $(hashsum_module_CFLAGS) $(CFLAGS) -c -o commands/hashsum_module-hashsum.obj `if test -f 'commands/hashsum.c'; then $(CYGPATH_W) 'commands/hashsum.c'; else $(CYGPATH_W) '$(srcdir)/commands/hashsum.c'; fi` + +commands/hdparm_module-hdparm.o: commands/hdparm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -MT commands/hdparm_module-hdparm.o -MD -MP -MF commands/$(DEPDIR)/hdparm_module-hdparm.Tpo -c -o commands/hdparm_module-hdparm.o `test -f 'commands/hdparm.c' || echo '$(srcdir)/'`commands/hdparm.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/hdparm_module-hdparm.Tpo commands/$(DEPDIR)/hdparm_module-hdparm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/hdparm.c' object='commands/hdparm_module-hdparm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -c -o commands/hdparm_module-hdparm.o `test -f 'commands/hdparm.c' || echo '$(srcdir)/'`commands/hdparm.c + +commands/hdparm_module-hdparm.obj: commands/hdparm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -MT commands/hdparm_module-hdparm.obj -MD -MP -MF commands/$(DEPDIR)/hdparm_module-hdparm.Tpo -c -o commands/hdparm_module-hdparm.obj `if test -f 'commands/hdparm.c'; then $(CYGPATH_W) 'commands/hdparm.c'; else $(CYGPATH_W) '$(srcdir)/commands/hdparm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/hdparm_module-hdparm.Tpo commands/$(DEPDIR)/hdparm_module-hdparm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/hdparm.c' object='commands/hdparm_module-hdparm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -c -o commands/hdparm_module-hdparm.obj `if test -f 'commands/hdparm.c'; then $(CYGPATH_W) 'commands/hdparm.c'; else $(CYGPATH_W) '$(srcdir)/commands/hdparm.c'; fi` + +lib/hdparm_module-hexdump.o: lib/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -MT lib/hdparm_module-hexdump.o -MD -MP -MF lib/$(DEPDIR)/hdparm_module-hexdump.Tpo -c -o lib/hdparm_module-hexdump.o `test -f 'lib/hexdump.c' || echo '$(srcdir)/'`lib/hexdump.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/hdparm_module-hexdump.Tpo lib/$(DEPDIR)/hdparm_module-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/hexdump.c' object='lib/hdparm_module-hexdump.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -c -o lib/hdparm_module-hexdump.o `test -f 'lib/hexdump.c' || echo '$(srcdir)/'`lib/hexdump.c + +lib/hdparm_module-hexdump.obj: lib/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -MT lib/hdparm_module-hexdump.obj -MD -MP -MF lib/$(DEPDIR)/hdparm_module-hexdump.Tpo -c -o lib/hdparm_module-hexdump.obj `if test -f 'lib/hexdump.c'; then $(CYGPATH_W) 'lib/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/lib/hexdump.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/hdparm_module-hexdump.Tpo lib/$(DEPDIR)/hdparm_module-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/hexdump.c' object='lib/hdparm_module-hexdump.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $(hdparm_module_CFLAGS) $(CFLAGS) -c -o lib/hdparm_module-hexdump.obj `if test -f 'lib/hexdump.c'; then $(CYGPATH_W) 'lib/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/lib/hexdump.c'; fi` + +hello/hello_module-hello.o: hello/hello.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $(hello_module_CFLAGS) $(CFLAGS) -MT hello/hello_module-hello.o -MD -MP -MF hello/$(DEPDIR)/hello_module-hello.Tpo -c -o hello/hello_module-hello.o `test -f 'hello/hello.c' || echo '$(srcdir)/'`hello/hello.c +@am__fastdepCC_TRUE@ $(am__mv) hello/$(DEPDIR)/hello_module-hello.Tpo hello/$(DEPDIR)/hello_module-hello.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hello/hello.c' object='hello/hello_module-hello.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $(hello_module_CFLAGS) $(CFLAGS) -c -o hello/hello_module-hello.o `test -f 'hello/hello.c' || echo '$(srcdir)/'`hello/hello.c + +hello/hello_module-hello.obj: hello/hello.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $(hello_module_CFLAGS) $(CFLAGS) -MT hello/hello_module-hello.obj -MD -MP -MF hello/$(DEPDIR)/hello_module-hello.Tpo -c -o hello/hello_module-hello.obj `if test -f 'hello/hello.c'; then $(CYGPATH_W) 'hello/hello.c'; else $(CYGPATH_W) '$(srcdir)/hello/hello.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) hello/$(DEPDIR)/hello_module-hello.Tpo hello/$(DEPDIR)/hello_module-hello.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hello/hello.c' object='hello/hello_module-hello.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $(hello_module_CFLAGS) $(CFLAGS) -c -o hello/hello_module-hello.obj `if test -f 'hello/hello.c'; then $(CYGPATH_W) 'hello/hello.c'; else $(CYGPATH_W) '$(srcdir)/hello/hello.c'; fi` + +commands/help_module-help.o: commands/help.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $(help_module_CFLAGS) $(CFLAGS) -MT commands/help_module-help.o -MD -MP -MF commands/$(DEPDIR)/help_module-help.Tpo -c -o commands/help_module-help.o `test -f 'commands/help.c' || echo '$(srcdir)/'`commands/help.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/help_module-help.Tpo commands/$(DEPDIR)/help_module-help.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/help.c' object='commands/help_module-help.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $(help_module_CFLAGS) $(CFLAGS) -c -o commands/help_module-help.o `test -f 'commands/help.c' || echo '$(srcdir)/'`commands/help.c + +commands/help_module-help.obj: commands/help.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $(help_module_CFLAGS) $(CFLAGS) -MT commands/help_module-help.obj -MD -MP -MF commands/$(DEPDIR)/help_module-help.Tpo -c -o commands/help_module-help.obj `if test -f 'commands/help.c'; then $(CYGPATH_W) 'commands/help.c'; else $(CYGPATH_W) '$(srcdir)/commands/help.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/help_module-help.Tpo commands/$(DEPDIR)/help_module-help.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/help.c' object='commands/help_module-help.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $(help_module_CFLAGS) $(CFLAGS) -c -o commands/help_module-help.obj `if test -f 'commands/help.c'; then $(CYGPATH_W) 'commands/help.c'; else $(CYGPATH_W) '$(srcdir)/commands/help.c'; fi` + +commands/hexdump_module-hexdump.o: commands/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -MT commands/hexdump_module-hexdump.o -MD -MP -MF commands/$(DEPDIR)/hexdump_module-hexdump.Tpo -c -o commands/hexdump_module-hexdump.o `test -f 'commands/hexdump.c' || echo '$(srcdir)/'`commands/hexdump.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/hexdump_module-hexdump.Tpo commands/$(DEPDIR)/hexdump_module-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/hexdump.c' object='commands/hexdump_module-hexdump.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -c -o commands/hexdump_module-hexdump.o `test -f 'commands/hexdump.c' || echo '$(srcdir)/'`commands/hexdump.c + +commands/hexdump_module-hexdump.obj: commands/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -MT commands/hexdump_module-hexdump.obj -MD -MP -MF commands/$(DEPDIR)/hexdump_module-hexdump.Tpo -c -o commands/hexdump_module-hexdump.obj `if test -f 'commands/hexdump.c'; then $(CYGPATH_W) 'commands/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/commands/hexdump.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/hexdump_module-hexdump.Tpo commands/$(DEPDIR)/hexdump_module-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/hexdump.c' object='commands/hexdump_module-hexdump.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -c -o commands/hexdump_module-hexdump.obj `if test -f 'commands/hexdump.c'; then $(CYGPATH_W) 'commands/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/commands/hexdump.c'; fi` + +lib/hexdump_module-hexdump.o: lib/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -MT lib/hexdump_module-hexdump.o -MD -MP -MF lib/$(DEPDIR)/hexdump_module-hexdump.Tpo -c -o lib/hexdump_module-hexdump.o `test -f 'lib/hexdump.c' || echo '$(srcdir)/'`lib/hexdump.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/hexdump_module-hexdump.Tpo lib/$(DEPDIR)/hexdump_module-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/hexdump.c' object='lib/hexdump_module-hexdump.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -c -o lib/hexdump_module-hexdump.o `test -f 'lib/hexdump.c' || echo '$(srcdir)/'`lib/hexdump.c + +lib/hexdump_module-hexdump.obj: lib/hexdump.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -MT lib/hexdump_module-hexdump.obj -MD -MP -MF lib/$(DEPDIR)/hexdump_module-hexdump.Tpo -c -o lib/hexdump_module-hexdump.obj `if test -f 'lib/hexdump.c'; then $(CYGPATH_W) 'lib/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/lib/hexdump.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/hexdump_module-hexdump.Tpo lib/$(DEPDIR)/hexdump_module-hexdump.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/hexdump.c' object='lib/hexdump_module-hexdump.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $(hexdump_module_CFLAGS) $(CFLAGS) -c -o lib/hexdump_module-hexdump.obj `if test -f 'lib/hexdump.c'; then $(CYGPATH_W) 'lib/hexdump.c'; else $(CYGPATH_W) '$(srcdir)/lib/hexdump.c'; fi` + +fs/hfs_module-hfs.o: fs/hfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $(hfs_module_CFLAGS) $(CFLAGS) -MT fs/hfs_module-hfs.o -MD -MP -MF fs/$(DEPDIR)/hfs_module-hfs.Tpo -c -o fs/hfs_module-hfs.o `test -f 'fs/hfs.c' || echo '$(srcdir)/'`fs/hfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/hfs_module-hfs.Tpo fs/$(DEPDIR)/hfs_module-hfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/hfs.c' object='fs/hfs_module-hfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $(hfs_module_CFLAGS) $(CFLAGS) -c -o fs/hfs_module-hfs.o `test -f 'fs/hfs.c' || echo '$(srcdir)/'`fs/hfs.c + +fs/hfs_module-hfs.obj: fs/hfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $(hfs_module_CFLAGS) $(CFLAGS) -MT fs/hfs_module-hfs.obj -MD -MP -MF fs/$(DEPDIR)/hfs_module-hfs.Tpo -c -o fs/hfs_module-hfs.obj `if test -f 'fs/hfs.c'; then $(CYGPATH_W) 'fs/hfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/hfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/hfs_module-hfs.Tpo fs/$(DEPDIR)/hfs_module-hfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/hfs.c' object='fs/hfs_module-hfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $(hfs_module_CFLAGS) $(CFLAGS) -c -o fs/hfs_module-hfs.obj `if test -f 'fs/hfs.c'; then $(CYGPATH_W) 'fs/hfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/hfs.c'; fi` + +fs/hfsplus_module-hfsplus.o: fs/hfsplus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $(hfsplus_module_CFLAGS) $(CFLAGS) -MT fs/hfsplus_module-hfsplus.o -MD -MP -MF fs/$(DEPDIR)/hfsplus_module-hfsplus.Tpo -c -o fs/hfsplus_module-hfsplus.o `test -f 'fs/hfsplus.c' || echo '$(srcdir)/'`fs/hfsplus.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/hfsplus_module-hfsplus.Tpo fs/$(DEPDIR)/hfsplus_module-hfsplus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/hfsplus.c' object='fs/hfsplus_module-hfsplus.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $(hfsplus_module_CFLAGS) $(CFLAGS) -c -o fs/hfsplus_module-hfsplus.o `test -f 'fs/hfsplus.c' || echo '$(srcdir)/'`fs/hfsplus.c + +fs/hfsplus_module-hfsplus.obj: fs/hfsplus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $(hfsplus_module_CFLAGS) $(CFLAGS) -MT fs/hfsplus_module-hfsplus.obj -MD -MP -MF fs/$(DEPDIR)/hfsplus_module-hfsplus.Tpo -c -o fs/hfsplus_module-hfsplus.obj `if test -f 'fs/hfsplus.c'; then $(CYGPATH_W) 'fs/hfsplus.c'; else $(CYGPATH_W) '$(srcdir)/fs/hfsplus.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/hfsplus_module-hfsplus.Tpo fs/$(DEPDIR)/hfsplus_module-hfsplus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/hfsplus.c' object='fs/hfsplus_module-hfsplus.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $(hfsplus_module_CFLAGS) $(CFLAGS) -c -o fs/hfsplus_module-hfsplus.obj `if test -f 'fs/hfsplus.c'; then $(CYGPATH_W) 'fs/hfsplus.c'; else $(CYGPATH_W) '$(srcdir)/fs/hfsplus.c'; fi` + +video/ieee1275_fb_module-ieee1275.o: video/ieee1275.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ieee1275_fb_module_CPPFLAGS) $(CPPFLAGS) $(ieee1275_fb_module_CFLAGS) $(CFLAGS) -MT video/ieee1275_fb_module-ieee1275.o -MD -MP -MF video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Tpo -c -o video/ieee1275_fb_module-ieee1275.o `test -f 'video/ieee1275.c' || echo '$(srcdir)/'`video/ieee1275.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Tpo video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/ieee1275.c' object='video/ieee1275_fb_module-ieee1275.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ieee1275_fb_module_CPPFLAGS) $(CPPFLAGS) $(ieee1275_fb_module_CFLAGS) $(CFLAGS) -c -o video/ieee1275_fb_module-ieee1275.o `test -f 'video/ieee1275.c' || echo '$(srcdir)/'`video/ieee1275.c + +video/ieee1275_fb_module-ieee1275.obj: video/ieee1275.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ieee1275_fb_module_CPPFLAGS) $(CPPFLAGS) $(ieee1275_fb_module_CFLAGS) $(CFLAGS) -MT video/ieee1275_fb_module-ieee1275.obj -MD -MP -MF video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Tpo -c -o video/ieee1275_fb_module-ieee1275.obj `if test -f 'video/ieee1275.c'; then $(CYGPATH_W) 'video/ieee1275.c'; else $(CYGPATH_W) '$(srcdir)/video/ieee1275.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Tpo video/$(DEPDIR)/ieee1275_fb_module-ieee1275.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/ieee1275.c' object='video/ieee1275_fb_module-ieee1275.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ieee1275_fb_module_CPPFLAGS) $(CPPFLAGS) $(ieee1275_fb_module_CFLAGS) $(CFLAGS) -c -o video/ieee1275_fb_module-ieee1275.obj `if test -f 'video/ieee1275.c'; then $(CYGPATH_W) 'video/ieee1275.c'; else $(CYGPATH_W) '$(srcdir)/video/ieee1275.c'; fi` + +commands/iorw_module-iorw.o: commands/iorw.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $(iorw_module_CFLAGS) $(CFLAGS) -MT commands/iorw_module-iorw.o -MD -MP -MF commands/$(DEPDIR)/iorw_module-iorw.Tpo -c -o commands/iorw_module-iorw.o `test -f 'commands/iorw.c' || echo '$(srcdir)/'`commands/iorw.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/iorw_module-iorw.Tpo commands/$(DEPDIR)/iorw_module-iorw.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/iorw.c' object='commands/iorw_module-iorw.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $(iorw_module_CFLAGS) $(CFLAGS) -c -o commands/iorw_module-iorw.o `test -f 'commands/iorw.c' || echo '$(srcdir)/'`commands/iorw.c + +commands/iorw_module-iorw.obj: commands/iorw.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $(iorw_module_CFLAGS) $(CFLAGS) -MT commands/iorw_module-iorw.obj -MD -MP -MF commands/$(DEPDIR)/iorw_module-iorw.Tpo -c -o commands/iorw_module-iorw.obj `if test -f 'commands/iorw.c'; then $(CYGPATH_W) 'commands/iorw.c'; else $(CYGPATH_W) '$(srcdir)/commands/iorw.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/iorw_module-iorw.Tpo commands/$(DEPDIR)/iorw_module-iorw.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/iorw.c' object='commands/iorw_module-iorw.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $(iorw_module_CFLAGS) $(CFLAGS) -c -o commands/iorw_module-iorw.obj `if test -f 'commands/iorw.c'; then $(CYGPATH_W) 'commands/iorw.c'; else $(CYGPATH_W) '$(srcdir)/commands/iorw.c'; fi` + +fs/iso9660_module-iso9660.o: fs/iso9660.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $(iso9660_module_CFLAGS) $(CFLAGS) -MT fs/iso9660_module-iso9660.o -MD -MP -MF fs/$(DEPDIR)/iso9660_module-iso9660.Tpo -c -o fs/iso9660_module-iso9660.o `test -f 'fs/iso9660.c' || echo '$(srcdir)/'`fs/iso9660.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/iso9660_module-iso9660.Tpo fs/$(DEPDIR)/iso9660_module-iso9660.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/iso9660.c' object='fs/iso9660_module-iso9660.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $(iso9660_module_CFLAGS) $(CFLAGS) -c -o fs/iso9660_module-iso9660.o `test -f 'fs/iso9660.c' || echo '$(srcdir)/'`fs/iso9660.c + +fs/iso9660_module-iso9660.obj: fs/iso9660.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $(iso9660_module_CFLAGS) $(CFLAGS) -MT fs/iso9660_module-iso9660.obj -MD -MP -MF fs/$(DEPDIR)/iso9660_module-iso9660.Tpo -c -o fs/iso9660_module-iso9660.obj `if test -f 'fs/iso9660.c'; then $(CYGPATH_W) 'fs/iso9660.c'; else $(CYGPATH_W) '$(srcdir)/fs/iso9660.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/iso9660_module-iso9660.Tpo fs/$(DEPDIR)/iso9660_module-iso9660.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/iso9660.c' object='fs/iso9660_module-iso9660.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $(iso9660_module_CFLAGS) $(CFLAGS) -c -o fs/iso9660_module-iso9660.obj `if test -f 'fs/iso9660.c'; then $(CYGPATH_W) 'fs/iso9660.c'; else $(CYGPATH_W) '$(srcdir)/fs/iso9660.c'; fi` + +fs/jfs_module-jfs.o: fs/jfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $(jfs_module_CFLAGS) $(CFLAGS) -MT fs/jfs_module-jfs.o -MD -MP -MF fs/$(DEPDIR)/jfs_module-jfs.Tpo -c -o fs/jfs_module-jfs.o `test -f 'fs/jfs.c' || echo '$(srcdir)/'`fs/jfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/jfs_module-jfs.Tpo fs/$(DEPDIR)/jfs_module-jfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/jfs.c' object='fs/jfs_module-jfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $(jfs_module_CFLAGS) $(CFLAGS) -c -o fs/jfs_module-jfs.o `test -f 'fs/jfs.c' || echo '$(srcdir)/'`fs/jfs.c + +fs/jfs_module-jfs.obj: fs/jfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $(jfs_module_CFLAGS) $(CFLAGS) -MT fs/jfs_module-jfs.obj -MD -MP -MF fs/$(DEPDIR)/jfs_module-jfs.Tpo -c -o fs/jfs_module-jfs.obj `if test -f 'fs/jfs.c'; then $(CYGPATH_W) 'fs/jfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/jfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/jfs_module-jfs.Tpo fs/$(DEPDIR)/jfs_module-jfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/jfs.c' object='fs/jfs_module-jfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $(jfs_module_CFLAGS) $(CFLAGS) -c -o fs/jfs_module-jfs.obj `if test -f 'fs/jfs.c'; then $(CYGPATH_W) 'fs/jfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/jfs.c'; fi` + +video/readers/jpeg_module-jpeg.o: video/readers/jpeg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $(jpeg_module_CFLAGS) $(CFLAGS) -MT video/readers/jpeg_module-jpeg.o -MD -MP -MF video/readers/$(DEPDIR)/jpeg_module-jpeg.Tpo -c -o video/readers/jpeg_module-jpeg.o `test -f 'video/readers/jpeg.c' || echo '$(srcdir)/'`video/readers/jpeg.c +@am__fastdepCC_TRUE@ $(am__mv) video/readers/$(DEPDIR)/jpeg_module-jpeg.Tpo video/readers/$(DEPDIR)/jpeg_module-jpeg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/readers/jpeg.c' object='video/readers/jpeg_module-jpeg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $(jpeg_module_CFLAGS) $(CFLAGS) -c -o video/readers/jpeg_module-jpeg.o `test -f 'video/readers/jpeg.c' || echo '$(srcdir)/'`video/readers/jpeg.c + +video/readers/jpeg_module-jpeg.obj: video/readers/jpeg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $(jpeg_module_CFLAGS) $(CFLAGS) -MT video/readers/jpeg_module-jpeg.obj -MD -MP -MF video/readers/$(DEPDIR)/jpeg_module-jpeg.Tpo -c -o video/readers/jpeg_module-jpeg.obj `if test -f 'video/readers/jpeg.c'; then $(CYGPATH_W) 'video/readers/jpeg.c'; else $(CYGPATH_W) '$(srcdir)/video/readers/jpeg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/readers/$(DEPDIR)/jpeg_module-jpeg.Tpo video/readers/$(DEPDIR)/jpeg_module-jpeg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/readers/jpeg.c' object='video/readers/jpeg_module-jpeg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $(jpeg_module_CFLAGS) $(CFLAGS) -c -o video/readers/jpeg_module-jpeg.obj `if test -f 'video/readers/jpeg.c'; then $(CYGPATH_W) 'video/readers/jpeg.c'; else $(CYGPATH_W) '$(srcdir)/video/readers/jpeg.c'; fi` + +disk/kernel_exec-host.o: disk/host.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT disk/kernel_exec-host.o -MD -MP -MF disk/$(DEPDIR)/kernel_exec-host.Tpo -c -o disk/kernel_exec-host.o `test -f 'disk/host.c' || echo '$(srcdir)/'`disk/host.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/kernel_exec-host.Tpo disk/$(DEPDIR)/kernel_exec-host.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/host.c' object='disk/kernel_exec-host.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o disk/kernel_exec-host.o `test -f 'disk/host.c' || echo '$(srcdir)/'`disk/host.c + +disk/kernel_exec-host.obj: disk/host.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT disk/kernel_exec-host.obj -MD -MP -MF disk/$(DEPDIR)/kernel_exec-host.Tpo -c -o disk/kernel_exec-host.obj `if test -f 'disk/host.c'; then $(CYGPATH_W) 'disk/host.c'; else $(CYGPATH_W) '$(srcdir)/disk/host.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/kernel_exec-host.Tpo disk/$(DEPDIR)/kernel_exec-host.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/host.c' object='disk/kernel_exec-host.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o disk/kernel_exec-host.obj `if test -f 'disk/host.c'; then $(CYGPATH_W) 'disk/host.c'; else $(CYGPATH_W) '$(srcdir)/disk/host.c'; fi` + +gnulib/kernel_exec-progname.o: gnulib/progname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT gnulib/kernel_exec-progname.o -MD -MP -MF gnulib/$(DEPDIR)/kernel_exec-progname.Tpo -c -o gnulib/kernel_exec-progname.o `test -f 'gnulib/progname.c' || echo '$(srcdir)/'`gnulib/progname.c +@am__fastdepCC_TRUE@ $(am__mv) gnulib/$(DEPDIR)/kernel_exec-progname.Tpo gnulib/$(DEPDIR)/kernel_exec-progname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gnulib/progname.c' object='gnulib/kernel_exec-progname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o gnulib/kernel_exec-progname.o `test -f 'gnulib/progname.c' || echo '$(srcdir)/'`gnulib/progname.c + +gnulib/kernel_exec-progname.obj: gnulib/progname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT gnulib/kernel_exec-progname.obj -MD -MP -MF gnulib/$(DEPDIR)/kernel_exec-progname.Tpo -c -o gnulib/kernel_exec-progname.obj `if test -f 'gnulib/progname.c'; then $(CYGPATH_W) 'gnulib/progname.c'; else $(CYGPATH_W) '$(srcdir)/gnulib/progname.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gnulib/$(DEPDIR)/kernel_exec-progname.Tpo gnulib/$(DEPDIR)/kernel_exec-progname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gnulib/progname.c' object='gnulib/kernel_exec-progname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o gnulib/kernel_exec-progname.obj `if test -f 'gnulib/progname.c'; then $(CYGPATH_W) 'gnulib/progname.c'; else $(CYGPATH_W) '$(srcdir)/gnulib/progname.c'; fi` + +gnulib/kernel_exec-error.o: gnulib/error.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT gnulib/kernel_exec-error.o -MD -MP -MF gnulib/$(DEPDIR)/kernel_exec-error.Tpo -c -o gnulib/kernel_exec-error.o `test -f 'gnulib/error.c' || echo '$(srcdir)/'`gnulib/error.c +@am__fastdepCC_TRUE@ $(am__mv) gnulib/$(DEPDIR)/kernel_exec-error.Tpo gnulib/$(DEPDIR)/kernel_exec-error.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gnulib/error.c' object='gnulib/kernel_exec-error.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o gnulib/kernel_exec-error.o `test -f 'gnulib/error.c' || echo '$(srcdir)/'`gnulib/error.c + +gnulib/kernel_exec-error.obj: gnulib/error.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT gnulib/kernel_exec-error.obj -MD -MP -MF gnulib/$(DEPDIR)/kernel_exec-error.Tpo -c -o gnulib/kernel_exec-error.obj `if test -f 'gnulib/error.c'; then $(CYGPATH_W) 'gnulib/error.c'; else $(CYGPATH_W) '$(srcdir)/gnulib/error.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) gnulib/$(DEPDIR)/kernel_exec-error.Tpo gnulib/$(DEPDIR)/kernel_exec-error.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gnulib/error.c' object='gnulib/kernel_exec-error.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o gnulib/kernel_exec-error.obj `if test -f 'gnulib/error.c'; then $(CYGPATH_W) 'gnulib/error.c'; else $(CYGPATH_W) '$(srcdir)/gnulib/error.c'; fi` + +kern/emu/kernel_exec-console.o: kern/emu/console.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-console.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-console.Tpo -c -o kern/emu/kernel_exec-console.o `test -f 'kern/emu/console.c' || echo '$(srcdir)/'`kern/emu/console.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-console.Tpo kern/emu/$(DEPDIR)/kernel_exec-console.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/console.c' object='kern/emu/kernel_exec-console.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-console.o `test -f 'kern/emu/console.c' || echo '$(srcdir)/'`kern/emu/console.c + +kern/emu/kernel_exec-console.obj: kern/emu/console.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-console.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-console.Tpo -c -o kern/emu/kernel_exec-console.obj `if test -f 'kern/emu/console.c'; then $(CYGPATH_W) 'kern/emu/console.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/console.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-console.Tpo kern/emu/$(DEPDIR)/kernel_exec-console.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/console.c' object='kern/emu/kernel_exec-console.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-console.obj `if test -f 'kern/emu/console.c'; then $(CYGPATH_W) 'kern/emu/console.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/console.c'; fi` + +kern/emu/kernel_exec-getroot.o: kern/emu/getroot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-getroot.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-getroot.Tpo -c -o kern/emu/kernel_exec-getroot.o `test -f 'kern/emu/getroot.c' || echo '$(srcdir)/'`kern/emu/getroot.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-getroot.Tpo kern/emu/$(DEPDIR)/kernel_exec-getroot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/getroot.c' object='kern/emu/kernel_exec-getroot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-getroot.o `test -f 'kern/emu/getroot.c' || echo '$(srcdir)/'`kern/emu/getroot.c + +kern/emu/kernel_exec-getroot.obj: kern/emu/getroot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-getroot.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-getroot.Tpo -c -o kern/emu/kernel_exec-getroot.obj `if test -f 'kern/emu/getroot.c'; then $(CYGPATH_W) 'kern/emu/getroot.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/getroot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-getroot.Tpo kern/emu/$(DEPDIR)/kernel_exec-getroot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/getroot.c' object='kern/emu/kernel_exec-getroot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-getroot.obj `if test -f 'kern/emu/getroot.c'; then $(CYGPATH_W) 'kern/emu/getroot.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/getroot.c'; fi` + +kern/emu/kernel_exec-hostdisk.o: kern/emu/hostdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-hostdisk.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Tpo -c -o kern/emu/kernel_exec-hostdisk.o `test -f 'kern/emu/hostdisk.c' || echo '$(srcdir)/'`kern/emu/hostdisk.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Tpo kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/hostdisk.c' object='kern/emu/kernel_exec-hostdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-hostdisk.o `test -f 'kern/emu/hostdisk.c' || echo '$(srcdir)/'`kern/emu/hostdisk.c + +kern/emu/kernel_exec-hostdisk.obj: kern/emu/hostdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-hostdisk.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Tpo -c -o kern/emu/kernel_exec-hostdisk.obj `if test -f 'kern/emu/hostdisk.c'; then $(CYGPATH_W) 'kern/emu/hostdisk.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/hostdisk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Tpo kern/emu/$(DEPDIR)/kernel_exec-hostdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/hostdisk.c' object='kern/emu/kernel_exec-hostdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-hostdisk.obj `if test -f 'kern/emu/hostdisk.c'; then $(CYGPATH_W) 'kern/emu/hostdisk.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/hostdisk.c'; fi` + +kern/emu/kernel_exec-hostfs.o: kern/emu/hostfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-hostfs.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-hostfs.Tpo -c -o kern/emu/kernel_exec-hostfs.o `test -f 'kern/emu/hostfs.c' || echo '$(srcdir)/'`kern/emu/hostfs.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-hostfs.Tpo kern/emu/$(DEPDIR)/kernel_exec-hostfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/hostfs.c' object='kern/emu/kernel_exec-hostfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-hostfs.o `test -f 'kern/emu/hostfs.c' || echo '$(srcdir)/'`kern/emu/hostfs.c + +kern/emu/kernel_exec-hostfs.obj: kern/emu/hostfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-hostfs.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-hostfs.Tpo -c -o kern/emu/kernel_exec-hostfs.obj `if test -f 'kern/emu/hostfs.c'; then $(CYGPATH_W) 'kern/emu/hostfs.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/hostfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-hostfs.Tpo kern/emu/$(DEPDIR)/kernel_exec-hostfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/hostfs.c' object='kern/emu/kernel_exec-hostfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-hostfs.obj `if test -f 'kern/emu/hostfs.c'; then $(CYGPATH_W) 'kern/emu/hostfs.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/hostfs.c'; fi` + +kern/emu/kernel_exec-main.o: kern/emu/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-main.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-main.Tpo -c -o kern/emu/kernel_exec-main.o `test -f 'kern/emu/main.c' || echo '$(srcdir)/'`kern/emu/main.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-main.Tpo kern/emu/$(DEPDIR)/kernel_exec-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/main.c' object='kern/emu/kernel_exec-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-main.o `test -f 'kern/emu/main.c' || echo '$(srcdir)/'`kern/emu/main.c + +kern/emu/kernel_exec-main.obj: kern/emu/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-main.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-main.Tpo -c -o kern/emu/kernel_exec-main.obj `if test -f 'kern/emu/main.c'; then $(CYGPATH_W) 'kern/emu/main.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/main.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-main.Tpo kern/emu/$(DEPDIR)/kernel_exec-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/main.c' object='kern/emu/kernel_exec-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-main.obj `if test -f 'kern/emu/main.c'; then $(CYGPATH_W) 'kern/emu/main.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/main.c'; fi` + +kern/emu/kernel_exec-misc.o: kern/emu/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-misc.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-misc.Tpo -c -o kern/emu/kernel_exec-misc.o `test -f 'kern/emu/misc.c' || echo '$(srcdir)/'`kern/emu/misc.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-misc.Tpo kern/emu/$(DEPDIR)/kernel_exec-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/misc.c' object='kern/emu/kernel_exec-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-misc.o `test -f 'kern/emu/misc.c' || echo '$(srcdir)/'`kern/emu/misc.c + +kern/emu/kernel_exec-misc.obj: kern/emu/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-misc.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-misc.Tpo -c -o kern/emu/kernel_exec-misc.obj `if test -f 'kern/emu/misc.c'; then $(CYGPATH_W) 'kern/emu/misc.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-misc.Tpo kern/emu/$(DEPDIR)/kernel_exec-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/misc.c' object='kern/emu/kernel_exec-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-misc.obj `if test -f 'kern/emu/misc.c'; then $(CYGPATH_W) 'kern/emu/misc.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/misc.c'; fi` + +kern/emu/kernel_exec-mm.o: kern/emu/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-mm.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-mm.Tpo -c -o kern/emu/kernel_exec-mm.o `test -f 'kern/emu/mm.c' || echo '$(srcdir)/'`kern/emu/mm.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-mm.Tpo kern/emu/$(DEPDIR)/kernel_exec-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/mm.c' object='kern/emu/kernel_exec-mm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-mm.o `test -f 'kern/emu/mm.c' || echo '$(srcdir)/'`kern/emu/mm.c + +kern/emu/kernel_exec-mm.obj: kern/emu/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-mm.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-mm.Tpo -c -o kern/emu/kernel_exec-mm.obj `if test -f 'kern/emu/mm.c'; then $(CYGPATH_W) 'kern/emu/mm.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/mm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-mm.Tpo kern/emu/$(DEPDIR)/kernel_exec-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/mm.c' object='kern/emu/kernel_exec-mm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-mm.obj `if test -f 'kern/emu/mm.c'; then $(CYGPATH_W) 'kern/emu/mm.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/mm.c'; fi` + +kern/emu/kernel_exec-time.o: kern/emu/time.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-time.o -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-time.Tpo -c -o kern/emu/kernel_exec-time.o `test -f 'kern/emu/time.c' || echo '$(srcdir)/'`kern/emu/time.c +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-time.Tpo kern/emu/$(DEPDIR)/kernel_exec-time.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/time.c' object='kern/emu/kernel_exec-time.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-time.o `test -f 'kern/emu/time.c' || echo '$(srcdir)/'`kern/emu/time.c + +kern/emu/kernel_exec-time.obj: kern/emu/time.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/emu/kernel_exec-time.obj -MD -MP -MF kern/emu/$(DEPDIR)/kernel_exec-time.Tpo -c -o kern/emu/kernel_exec-time.obj `if test -f 'kern/emu/time.c'; then $(CYGPATH_W) 'kern/emu/time.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/time.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/emu/$(DEPDIR)/kernel_exec-time.Tpo kern/emu/$(DEPDIR)/kernel_exec-time.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/emu/time.c' object='kern/emu/kernel_exec-time.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/emu/kernel_exec-time.obj `if test -f 'kern/emu/time.c'; then $(CYGPATH_W) 'kern/emu/time.c'; else $(CYGPATH_W) '$(srcdir)/kern/emu/time.c'; fi` + +kern/kernel_exec-command.o: kern/command.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-command.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-command.Tpo -c -o kern/kernel_exec-command.o `test -f 'kern/command.c' || echo '$(srcdir)/'`kern/command.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-command.Tpo kern/$(DEPDIR)/kernel_exec-command.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/command.c' object='kern/kernel_exec-command.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-command.o `test -f 'kern/command.c' || echo '$(srcdir)/'`kern/command.c + +kern/kernel_exec-command.obj: kern/command.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-command.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-command.Tpo -c -o kern/kernel_exec-command.obj `if test -f 'kern/command.c'; then $(CYGPATH_W) 'kern/command.c'; else $(CYGPATH_W) '$(srcdir)/kern/command.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-command.Tpo kern/$(DEPDIR)/kernel_exec-command.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/command.c' object='kern/kernel_exec-command.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-command.obj `if test -f 'kern/command.c'; then $(CYGPATH_W) 'kern/command.c'; else $(CYGPATH_W) '$(srcdir)/kern/command.c'; fi` + +kern/kernel_exec-corecmd.o: kern/corecmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-corecmd.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-corecmd.Tpo -c -o kern/kernel_exec-corecmd.o `test -f 'kern/corecmd.c' || echo '$(srcdir)/'`kern/corecmd.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-corecmd.Tpo kern/$(DEPDIR)/kernel_exec-corecmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/corecmd.c' object='kern/kernel_exec-corecmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-corecmd.o `test -f 'kern/corecmd.c' || echo '$(srcdir)/'`kern/corecmd.c + +kern/kernel_exec-corecmd.obj: kern/corecmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-corecmd.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-corecmd.Tpo -c -o kern/kernel_exec-corecmd.obj `if test -f 'kern/corecmd.c'; then $(CYGPATH_W) 'kern/corecmd.c'; else $(CYGPATH_W) '$(srcdir)/kern/corecmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-corecmd.Tpo kern/$(DEPDIR)/kernel_exec-corecmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/corecmd.c' object='kern/kernel_exec-corecmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-corecmd.obj `if test -f 'kern/corecmd.c'; then $(CYGPATH_W) 'kern/corecmd.c'; else $(CYGPATH_W) '$(srcdir)/kern/corecmd.c'; fi` + +kern/kernel_exec-device.o: kern/device.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-device.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-device.Tpo -c -o kern/kernel_exec-device.o `test -f 'kern/device.c' || echo '$(srcdir)/'`kern/device.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-device.Tpo kern/$(DEPDIR)/kernel_exec-device.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/device.c' object='kern/kernel_exec-device.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-device.o `test -f 'kern/device.c' || echo '$(srcdir)/'`kern/device.c + +kern/kernel_exec-device.obj: kern/device.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-device.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-device.Tpo -c -o kern/kernel_exec-device.obj `if test -f 'kern/device.c'; then $(CYGPATH_W) 'kern/device.c'; else $(CYGPATH_W) '$(srcdir)/kern/device.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-device.Tpo kern/$(DEPDIR)/kernel_exec-device.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/device.c' object='kern/kernel_exec-device.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-device.obj `if test -f 'kern/device.c'; then $(CYGPATH_W) 'kern/device.c'; else $(CYGPATH_W) '$(srcdir)/kern/device.c'; fi` + +kern/kernel_exec-disk.o: kern/disk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-disk.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-disk.Tpo -c -o kern/kernel_exec-disk.o `test -f 'kern/disk.c' || echo '$(srcdir)/'`kern/disk.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-disk.Tpo kern/$(DEPDIR)/kernel_exec-disk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/disk.c' object='kern/kernel_exec-disk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-disk.o `test -f 'kern/disk.c' || echo '$(srcdir)/'`kern/disk.c + +kern/kernel_exec-disk.obj: kern/disk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-disk.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-disk.Tpo -c -o kern/kernel_exec-disk.obj `if test -f 'kern/disk.c'; then $(CYGPATH_W) 'kern/disk.c'; else $(CYGPATH_W) '$(srcdir)/kern/disk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-disk.Tpo kern/$(DEPDIR)/kernel_exec-disk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/disk.c' object='kern/kernel_exec-disk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-disk.obj `if test -f 'kern/disk.c'; then $(CYGPATH_W) 'kern/disk.c'; else $(CYGPATH_W) '$(srcdir)/kern/disk.c'; fi` + +kern/kernel_exec-dl.o: kern/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-dl.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/kernel_exec-dl.o `test -f 'kern/dl.c' || echo '$(srcdir)/'`kern/dl.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-dl.Tpo kern/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/dl.c' object='kern/kernel_exec-dl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-dl.o `test -f 'kern/dl.c' || echo '$(srcdir)/'`kern/dl.c + +kern/kernel_exec-dl.obj: kern/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-dl.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/kernel_exec-dl.obj `if test -f 'kern/dl.c'; then $(CYGPATH_W) 'kern/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/dl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-dl.Tpo kern/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/dl.c' object='kern/kernel_exec-dl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-dl.obj `if test -f 'kern/dl.c'; then $(CYGPATH_W) 'kern/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/dl.c'; fi` + +kern/kernel_exec-env.o: kern/env.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-env.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-env.Tpo -c -o kern/kernel_exec-env.o `test -f 'kern/env.c' || echo '$(srcdir)/'`kern/env.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-env.Tpo kern/$(DEPDIR)/kernel_exec-env.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/env.c' object='kern/kernel_exec-env.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-env.o `test -f 'kern/env.c' || echo '$(srcdir)/'`kern/env.c + +kern/kernel_exec-env.obj: kern/env.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-env.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-env.Tpo -c -o kern/kernel_exec-env.obj `if test -f 'kern/env.c'; then $(CYGPATH_W) 'kern/env.c'; else $(CYGPATH_W) '$(srcdir)/kern/env.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-env.Tpo kern/$(DEPDIR)/kernel_exec-env.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/env.c' object='kern/kernel_exec-env.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-env.obj `if test -f 'kern/env.c'; then $(CYGPATH_W) 'kern/env.c'; else $(CYGPATH_W) '$(srcdir)/kern/env.c'; fi` + +kern/kernel_exec-err.o: kern/err.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-err.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-err.Tpo -c -o kern/kernel_exec-err.o `test -f 'kern/err.c' || echo '$(srcdir)/'`kern/err.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-err.Tpo kern/$(DEPDIR)/kernel_exec-err.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/err.c' object='kern/kernel_exec-err.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-err.o `test -f 'kern/err.c' || echo '$(srcdir)/'`kern/err.c + +kern/kernel_exec-err.obj: kern/err.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-err.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-err.Tpo -c -o kern/kernel_exec-err.obj `if test -f 'kern/err.c'; then $(CYGPATH_W) 'kern/err.c'; else $(CYGPATH_W) '$(srcdir)/kern/err.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-err.Tpo kern/$(DEPDIR)/kernel_exec-err.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/err.c' object='kern/kernel_exec-err.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-err.obj `if test -f 'kern/err.c'; then $(CYGPATH_W) 'kern/err.c'; else $(CYGPATH_W) '$(srcdir)/kern/err.c'; fi` + +kern/kernel_exec-file.o: kern/file.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-file.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-file.Tpo -c -o kern/kernel_exec-file.o `test -f 'kern/file.c' || echo '$(srcdir)/'`kern/file.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-file.Tpo kern/$(DEPDIR)/kernel_exec-file.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/file.c' object='kern/kernel_exec-file.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-file.o `test -f 'kern/file.c' || echo '$(srcdir)/'`kern/file.c + +kern/kernel_exec-file.obj: kern/file.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-file.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-file.Tpo -c -o kern/kernel_exec-file.obj `if test -f 'kern/file.c'; then $(CYGPATH_W) 'kern/file.c'; else $(CYGPATH_W) '$(srcdir)/kern/file.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-file.Tpo kern/$(DEPDIR)/kernel_exec-file.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/file.c' object='kern/kernel_exec-file.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-file.obj `if test -f 'kern/file.c'; then $(CYGPATH_W) 'kern/file.c'; else $(CYGPATH_W) '$(srcdir)/kern/file.c'; fi` + +kern/kernel_exec-fs.o: kern/fs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-fs.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-fs.Tpo -c -o kern/kernel_exec-fs.o `test -f 'kern/fs.c' || echo '$(srcdir)/'`kern/fs.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-fs.Tpo kern/$(DEPDIR)/kernel_exec-fs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/fs.c' object='kern/kernel_exec-fs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-fs.o `test -f 'kern/fs.c' || echo '$(srcdir)/'`kern/fs.c + +kern/kernel_exec-fs.obj: kern/fs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-fs.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-fs.Tpo -c -o kern/kernel_exec-fs.obj `if test -f 'kern/fs.c'; then $(CYGPATH_W) 'kern/fs.c'; else $(CYGPATH_W) '$(srcdir)/kern/fs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-fs.Tpo kern/$(DEPDIR)/kernel_exec-fs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/fs.c' object='kern/kernel_exec-fs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-fs.obj `if test -f 'kern/fs.c'; then $(CYGPATH_W) 'kern/fs.c'; else $(CYGPATH_W) '$(srcdir)/kern/fs.c'; fi` + +kern/kernel_exec-list.o: kern/list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-list.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-list.Tpo -c -o kern/kernel_exec-list.o `test -f 'kern/list.c' || echo '$(srcdir)/'`kern/list.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-list.Tpo kern/$(DEPDIR)/kernel_exec-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/list.c' object='kern/kernel_exec-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-list.o `test -f 'kern/list.c' || echo '$(srcdir)/'`kern/list.c + +kern/kernel_exec-list.obj: kern/list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-list.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-list.Tpo -c -o kern/kernel_exec-list.obj `if test -f 'kern/list.c'; then $(CYGPATH_W) 'kern/list.c'; else $(CYGPATH_W) '$(srcdir)/kern/list.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-list.Tpo kern/$(DEPDIR)/kernel_exec-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/list.c' object='kern/kernel_exec-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-list.obj `if test -f 'kern/list.c'; then $(CYGPATH_W) 'kern/list.c'; else $(CYGPATH_W) '$(srcdir)/kern/list.c'; fi` + +kern/kernel_exec-main.o: kern/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-main.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-main.Tpo -c -o kern/kernel_exec-main.o `test -f 'kern/main.c' || echo '$(srcdir)/'`kern/main.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-main.Tpo kern/$(DEPDIR)/kernel_exec-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/main.c' object='kern/kernel_exec-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-main.o `test -f 'kern/main.c' || echo '$(srcdir)/'`kern/main.c + +kern/kernel_exec-main.obj: kern/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-main.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-main.Tpo -c -o kern/kernel_exec-main.obj `if test -f 'kern/main.c'; then $(CYGPATH_W) 'kern/main.c'; else $(CYGPATH_W) '$(srcdir)/kern/main.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-main.Tpo kern/$(DEPDIR)/kernel_exec-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/main.c' object='kern/kernel_exec-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-main.obj `if test -f 'kern/main.c'; then $(CYGPATH_W) 'kern/main.c'; else $(CYGPATH_W) '$(srcdir)/kern/main.c'; fi` + +kern/kernel_exec-misc.o: kern/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-misc.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-misc.Tpo -c -o kern/kernel_exec-misc.o `test -f 'kern/misc.c' || echo '$(srcdir)/'`kern/misc.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-misc.Tpo kern/$(DEPDIR)/kernel_exec-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/misc.c' object='kern/kernel_exec-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-misc.o `test -f 'kern/misc.c' || echo '$(srcdir)/'`kern/misc.c + +kern/kernel_exec-misc.obj: kern/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-misc.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-misc.Tpo -c -o kern/kernel_exec-misc.obj `if test -f 'kern/misc.c'; then $(CYGPATH_W) 'kern/misc.c'; else $(CYGPATH_W) '$(srcdir)/kern/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-misc.Tpo kern/$(DEPDIR)/kernel_exec-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/misc.c' object='kern/kernel_exec-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-misc.obj `if test -f 'kern/misc.c'; then $(CYGPATH_W) 'kern/misc.c'; else $(CYGPATH_W) '$(srcdir)/kern/misc.c'; fi` + +kern/kernel_exec-parser.o: kern/parser.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-parser.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-parser.Tpo -c -o kern/kernel_exec-parser.o `test -f 'kern/parser.c' || echo '$(srcdir)/'`kern/parser.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-parser.Tpo kern/$(DEPDIR)/kernel_exec-parser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/parser.c' object='kern/kernel_exec-parser.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-parser.o `test -f 'kern/parser.c' || echo '$(srcdir)/'`kern/parser.c + +kern/kernel_exec-parser.obj: kern/parser.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-parser.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-parser.Tpo -c -o kern/kernel_exec-parser.obj `if test -f 'kern/parser.c'; then $(CYGPATH_W) 'kern/parser.c'; else $(CYGPATH_W) '$(srcdir)/kern/parser.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-parser.Tpo kern/$(DEPDIR)/kernel_exec-parser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/parser.c' object='kern/kernel_exec-parser.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-parser.obj `if test -f 'kern/parser.c'; then $(CYGPATH_W) 'kern/parser.c'; else $(CYGPATH_W) '$(srcdir)/kern/parser.c'; fi` + +kern/kernel_exec-partition.o: kern/partition.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-partition.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-partition.Tpo -c -o kern/kernel_exec-partition.o `test -f 'kern/partition.c' || echo '$(srcdir)/'`kern/partition.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-partition.Tpo kern/$(DEPDIR)/kernel_exec-partition.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/partition.c' object='kern/kernel_exec-partition.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-partition.o `test -f 'kern/partition.c' || echo '$(srcdir)/'`kern/partition.c + +kern/kernel_exec-partition.obj: kern/partition.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-partition.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-partition.Tpo -c -o kern/kernel_exec-partition.obj `if test -f 'kern/partition.c'; then $(CYGPATH_W) 'kern/partition.c'; else $(CYGPATH_W) '$(srcdir)/kern/partition.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-partition.Tpo kern/$(DEPDIR)/kernel_exec-partition.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/partition.c' object='kern/kernel_exec-partition.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-partition.obj `if test -f 'kern/partition.c'; then $(CYGPATH_W) 'kern/partition.c'; else $(CYGPATH_W) '$(srcdir)/kern/partition.c'; fi` + +kern/kernel_exec-rescue_parser.o: kern/rescue_parser.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-rescue_parser.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-rescue_parser.Tpo -c -o kern/kernel_exec-rescue_parser.o `test -f 'kern/rescue_parser.c' || echo '$(srcdir)/'`kern/rescue_parser.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-rescue_parser.Tpo kern/$(DEPDIR)/kernel_exec-rescue_parser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/rescue_parser.c' object='kern/kernel_exec-rescue_parser.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-rescue_parser.o `test -f 'kern/rescue_parser.c' || echo '$(srcdir)/'`kern/rescue_parser.c + +kern/kernel_exec-rescue_parser.obj: kern/rescue_parser.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-rescue_parser.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-rescue_parser.Tpo -c -o kern/kernel_exec-rescue_parser.obj `if test -f 'kern/rescue_parser.c'; then $(CYGPATH_W) 'kern/rescue_parser.c'; else $(CYGPATH_W) '$(srcdir)/kern/rescue_parser.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-rescue_parser.Tpo kern/$(DEPDIR)/kernel_exec-rescue_parser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/rescue_parser.c' object='kern/kernel_exec-rescue_parser.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-rescue_parser.obj `if test -f 'kern/rescue_parser.c'; then $(CYGPATH_W) 'kern/rescue_parser.c'; else $(CYGPATH_W) '$(srcdir)/kern/rescue_parser.c'; fi` + +kern/kernel_exec-rescue_reader.o: kern/rescue_reader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-rescue_reader.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-rescue_reader.Tpo -c -o kern/kernel_exec-rescue_reader.o `test -f 'kern/rescue_reader.c' || echo '$(srcdir)/'`kern/rescue_reader.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-rescue_reader.Tpo kern/$(DEPDIR)/kernel_exec-rescue_reader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/rescue_reader.c' object='kern/kernel_exec-rescue_reader.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-rescue_reader.o `test -f 'kern/rescue_reader.c' || echo '$(srcdir)/'`kern/rescue_reader.c + +kern/kernel_exec-rescue_reader.obj: kern/rescue_reader.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-rescue_reader.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-rescue_reader.Tpo -c -o kern/kernel_exec-rescue_reader.obj `if test -f 'kern/rescue_reader.c'; then $(CYGPATH_W) 'kern/rescue_reader.c'; else $(CYGPATH_W) '$(srcdir)/kern/rescue_reader.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-rescue_reader.Tpo kern/$(DEPDIR)/kernel_exec-rescue_reader.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/rescue_reader.c' object='kern/kernel_exec-rescue_reader.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-rescue_reader.obj `if test -f 'kern/rescue_reader.c'; then $(CYGPATH_W) 'kern/rescue_reader.c'; else $(CYGPATH_W) '$(srcdir)/kern/rescue_reader.c'; fi` + +kern/kernel_exec-term.o: kern/term.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-term.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-term.Tpo -c -o kern/kernel_exec-term.o `test -f 'kern/term.c' || echo '$(srcdir)/'`kern/term.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-term.Tpo kern/$(DEPDIR)/kernel_exec-term.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/term.c' object='kern/kernel_exec-term.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-term.o `test -f 'kern/term.c' || echo '$(srcdir)/'`kern/term.c + +kern/kernel_exec-term.obj: kern/term.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-term.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-term.Tpo -c -o kern/kernel_exec-term.obj `if test -f 'kern/term.c'; then $(CYGPATH_W) 'kern/term.c'; else $(CYGPATH_W) '$(srcdir)/kern/term.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-term.Tpo kern/$(DEPDIR)/kernel_exec-term.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/term.c' object='kern/kernel_exec-term.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-term.obj `if test -f 'kern/term.c'; then $(CYGPATH_W) 'kern/term.c'; else $(CYGPATH_W) '$(srcdir)/kern/term.c'; fi` + +kern/generic/kernel_exec-rtc_get_time_ms.o: kern/generic/rtc_get_time_ms.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/generic/kernel_exec-rtc_get_time_ms.o -MD -MP -MF kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Tpo -c -o kern/generic/kernel_exec-rtc_get_time_ms.o `test -f 'kern/generic/rtc_get_time_ms.c' || echo '$(srcdir)/'`kern/generic/rtc_get_time_ms.c +@am__fastdepCC_TRUE@ $(am__mv) kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Tpo kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/generic/rtc_get_time_ms.c' object='kern/generic/kernel_exec-rtc_get_time_ms.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/generic/kernel_exec-rtc_get_time_ms.o `test -f 'kern/generic/rtc_get_time_ms.c' || echo '$(srcdir)/'`kern/generic/rtc_get_time_ms.c + +kern/generic/kernel_exec-rtc_get_time_ms.obj: kern/generic/rtc_get_time_ms.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/generic/kernel_exec-rtc_get_time_ms.obj -MD -MP -MF kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Tpo -c -o kern/generic/kernel_exec-rtc_get_time_ms.obj `if test -f 'kern/generic/rtc_get_time_ms.c'; then $(CYGPATH_W) 'kern/generic/rtc_get_time_ms.c'; else $(CYGPATH_W) '$(srcdir)/kern/generic/rtc_get_time_ms.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Tpo kern/generic/$(DEPDIR)/kernel_exec-rtc_get_time_ms.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/generic/rtc_get_time_ms.c' object='kern/generic/kernel_exec-rtc_get_time_ms.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/generic/kernel_exec-rtc_get_time_ms.obj `if test -f 'kern/generic/rtc_get_time_ms.c'; then $(CYGPATH_W) 'kern/generic/rtc_get_time_ms.c'; else $(CYGPATH_W) '$(srcdir)/kern/generic/rtc_get_time_ms.c'; fi` + +kern/i386/coreboot/kernel_exec-mmap.o: kern/i386/coreboot/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/coreboot/kernel_exec-mmap.o -MD -MP -MF kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/i386/coreboot/kernel_exec-mmap.o `test -f 'kern/i386/coreboot/mmap.c' || echo '$(srcdir)/'`kern/i386/coreboot/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Tpo kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/coreboot/mmap.c' object='kern/i386/coreboot/kernel_exec-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/coreboot/kernel_exec-mmap.o `test -f 'kern/i386/coreboot/mmap.c' || echo '$(srcdir)/'`kern/i386/coreboot/mmap.c + +kern/i386/coreboot/kernel_exec-mmap.obj: kern/i386/coreboot/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/coreboot/kernel_exec-mmap.obj -MD -MP -MF kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/i386/coreboot/kernel_exec-mmap.obj `if test -f 'kern/i386/coreboot/mmap.c'; then $(CYGPATH_W) 'kern/i386/coreboot/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/coreboot/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Tpo kern/i386/coreboot/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/coreboot/mmap.c' object='kern/i386/coreboot/kernel_exec-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/coreboot/kernel_exec-mmap.obj `if test -f 'kern/i386/coreboot/mmap.c'; then $(CYGPATH_W) 'kern/i386/coreboot/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/coreboot/mmap.c'; fi` + +kern/i386/kernel_exec-tsc.o: kern/i386/tsc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-tsc.o -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-tsc.Tpo -c -o kern/i386/kernel_exec-tsc.o `test -f 'kern/i386/tsc.c' || echo '$(srcdir)/'`kern/i386/tsc.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-tsc.Tpo kern/i386/$(DEPDIR)/kernel_exec-tsc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/tsc.c' object='kern/i386/kernel_exec-tsc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-tsc.o `test -f 'kern/i386/tsc.c' || echo '$(srcdir)/'`kern/i386/tsc.c + +kern/i386/kernel_exec-tsc.obj: kern/i386/tsc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-tsc.obj -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-tsc.Tpo -c -o kern/i386/kernel_exec-tsc.obj `if test -f 'kern/i386/tsc.c'; then $(CYGPATH_W) 'kern/i386/tsc.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/tsc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-tsc.Tpo kern/i386/$(DEPDIR)/kernel_exec-tsc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/tsc.c' object='kern/i386/kernel_exec-tsc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-tsc.obj `if test -f 'kern/i386/tsc.c'; then $(CYGPATH_W) 'kern/i386/tsc.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/tsc.c'; fi` + +kern/i386/coreboot/kernel_exec-init.o: kern/i386/coreboot/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/coreboot/kernel_exec-init.o -MD -MP -MF kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/coreboot/kernel_exec-init.o `test -f 'kern/i386/coreboot/init.c' || echo '$(srcdir)/'`kern/i386/coreboot/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/coreboot/init.c' object='kern/i386/coreboot/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/coreboot/kernel_exec-init.o `test -f 'kern/i386/coreboot/init.c' || echo '$(srcdir)/'`kern/i386/coreboot/init.c + +kern/i386/coreboot/kernel_exec-init.obj: kern/i386/coreboot/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/coreboot/kernel_exec-init.obj -MD -MP -MF kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/coreboot/kernel_exec-init.obj `if test -f 'kern/i386/coreboot/init.c'; then $(CYGPATH_W) 'kern/i386/coreboot/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/coreboot/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/coreboot/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/coreboot/init.c' object='kern/i386/coreboot/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/coreboot/kernel_exec-init.obj `if test -f 'kern/i386/coreboot/init.c'; then $(CYGPATH_W) 'kern/i386/coreboot/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/coreboot/init.c'; fi` + +term/i386/pc/kernel_exec-vga_text.o: term/i386/pc/vga_text.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/i386/pc/kernel_exec-vga_text.o -MD -MP -MF term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Tpo -c -o term/i386/pc/kernel_exec-vga_text.o `test -f 'term/i386/pc/vga_text.c' || echo '$(srcdir)/'`term/i386/pc/vga_text.c +@am__fastdepCC_TRUE@ $(am__mv) term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Tpo term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/pc/vga_text.c' object='term/i386/pc/kernel_exec-vga_text.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/i386/pc/kernel_exec-vga_text.o `test -f 'term/i386/pc/vga_text.c' || echo '$(srcdir)/'`term/i386/pc/vga_text.c + +term/i386/pc/kernel_exec-vga_text.obj: term/i386/pc/vga_text.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/i386/pc/kernel_exec-vga_text.obj -MD -MP -MF term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Tpo -c -o term/i386/pc/kernel_exec-vga_text.obj `if test -f 'term/i386/pc/vga_text.c'; then $(CYGPATH_W) 'term/i386/pc/vga_text.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/pc/vga_text.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Tpo term/i386/pc/$(DEPDIR)/kernel_exec-vga_text.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/pc/vga_text.c' object='term/i386/pc/kernel_exec-vga_text.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/i386/pc/kernel_exec-vga_text.obj `if test -f 'term/i386/pc/vga_text.c'; then $(CYGPATH_W) 'term/i386/pc/vga_text.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/pc/vga_text.c'; fi` + +term/i386/kernel_exec-vga_common.o: term/i386/vga_common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/i386/kernel_exec-vga_common.o -MD -MP -MF term/i386/$(DEPDIR)/kernel_exec-vga_common.Tpo -c -o term/i386/kernel_exec-vga_common.o `test -f 'term/i386/vga_common.c' || echo '$(srcdir)/'`term/i386/vga_common.c +@am__fastdepCC_TRUE@ $(am__mv) term/i386/$(DEPDIR)/kernel_exec-vga_common.Tpo term/i386/$(DEPDIR)/kernel_exec-vga_common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/vga_common.c' object='term/i386/kernel_exec-vga_common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/i386/kernel_exec-vga_common.o `test -f 'term/i386/vga_common.c' || echo '$(srcdir)/'`term/i386/vga_common.c + +term/i386/kernel_exec-vga_common.obj: term/i386/vga_common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/i386/kernel_exec-vga_common.obj -MD -MP -MF term/i386/$(DEPDIR)/kernel_exec-vga_common.Tpo -c -o term/i386/kernel_exec-vga_common.obj `if test -f 'term/i386/vga_common.c'; then $(CYGPATH_W) 'term/i386/vga_common.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/vga_common.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/i386/$(DEPDIR)/kernel_exec-vga_common.Tpo term/i386/$(DEPDIR)/kernel_exec-vga_common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/vga_common.c' object='term/i386/kernel_exec-vga_common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/i386/kernel_exec-vga_common.obj `if test -f 'term/i386/vga_common.c'; then $(CYGPATH_W) 'term/i386/vga_common.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/vga_common.c'; fi` + +kern/i386/kernel_exec-dl.o: kern/i386/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-dl.o -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/i386/kernel_exec-dl.o `test -f 'kern/i386/dl.c' || echo '$(srcdir)/'`kern/i386/dl.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-dl.Tpo kern/i386/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/dl.c' object='kern/i386/kernel_exec-dl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-dl.o `test -f 'kern/i386/dl.c' || echo '$(srcdir)/'`kern/i386/dl.c + +kern/i386/kernel_exec-dl.obj: kern/i386/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-dl.obj -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/i386/kernel_exec-dl.obj `if test -f 'kern/i386/dl.c'; then $(CYGPATH_W) 'kern/i386/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/dl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-dl.Tpo kern/i386/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/dl.c' object='kern/i386/kernel_exec-dl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-dl.obj `if test -f 'kern/i386/dl.c'; then $(CYGPATH_W) 'kern/i386/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/dl.c'; fi` + +kern/i386/kernel_exec-pit.o: kern/i386/pit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-pit.o -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-pit.Tpo -c -o kern/i386/kernel_exec-pit.o `test -f 'kern/i386/pit.c' || echo '$(srcdir)/'`kern/i386/pit.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-pit.Tpo kern/i386/$(DEPDIR)/kernel_exec-pit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/pit.c' object='kern/i386/kernel_exec-pit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-pit.o `test -f 'kern/i386/pit.c' || echo '$(srcdir)/'`kern/i386/pit.c + +kern/i386/kernel_exec-pit.obj: kern/i386/pit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-pit.obj -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-pit.Tpo -c -o kern/i386/kernel_exec-pit.obj `if test -f 'kern/i386/pit.c'; then $(CYGPATH_W) 'kern/i386/pit.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pit.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-pit.Tpo kern/i386/$(DEPDIR)/kernel_exec-pit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/pit.c' object='kern/i386/kernel_exec-pit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-pit.obj `if test -f 'kern/i386/pit.c'; then $(CYGPATH_W) 'kern/i386/pit.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pit.c'; fi` + +kern/kernel_exec-mm.o: kern/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-mm.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-mm.Tpo -c -o kern/kernel_exec-mm.o `test -f 'kern/mm.c' || echo '$(srcdir)/'`kern/mm.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-mm.Tpo kern/$(DEPDIR)/kernel_exec-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mm.c' object='kern/kernel_exec-mm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-mm.o `test -f 'kern/mm.c' || echo '$(srcdir)/'`kern/mm.c + +kern/kernel_exec-mm.obj: kern/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-mm.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-mm.Tpo -c -o kern/kernel_exec-mm.obj `if test -f 'kern/mm.c'; then $(CYGPATH_W) 'kern/mm.c'; else $(CYGPATH_W) '$(srcdir)/kern/mm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-mm.Tpo kern/$(DEPDIR)/kernel_exec-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mm.c' object='kern/kernel_exec-mm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-mm.obj `if test -f 'kern/mm.c'; then $(CYGPATH_W) 'kern/mm.c'; else $(CYGPATH_W) '$(srcdir)/kern/mm.c'; fi` + +kern/kernel_exec-time.o: kern/time.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-time.o -MD -MP -MF kern/$(DEPDIR)/kernel_exec-time.Tpo -c -o kern/kernel_exec-time.o `test -f 'kern/time.c' || echo '$(srcdir)/'`kern/time.c +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-time.Tpo kern/$(DEPDIR)/kernel_exec-time.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/time.c' object='kern/kernel_exec-time.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-time.o `test -f 'kern/time.c' || echo '$(srcdir)/'`kern/time.c + +kern/kernel_exec-time.obj: kern/time.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/kernel_exec-time.obj -MD -MP -MF kern/$(DEPDIR)/kernel_exec-time.Tpo -c -o kern/kernel_exec-time.obj `if test -f 'kern/time.c'; then $(CYGPATH_W) 'kern/time.c'; else $(CYGPATH_W) '$(srcdir)/kern/time.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/$(DEPDIR)/kernel_exec-time.Tpo kern/$(DEPDIR)/kernel_exec-time.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/time.c' object='kern/kernel_exec-time.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/kernel_exec-time.obj `if test -f 'kern/time.c'; then $(CYGPATH_W) 'kern/time.c'; else $(CYGPATH_W) '$(srcdir)/kern/time.c'; fi` + +kern/generic/kernel_exec-millisleep.o: kern/generic/millisleep.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/generic/kernel_exec-millisleep.o -MD -MP -MF kern/generic/$(DEPDIR)/kernel_exec-millisleep.Tpo -c -o kern/generic/kernel_exec-millisleep.o `test -f 'kern/generic/millisleep.c' || echo '$(srcdir)/'`kern/generic/millisleep.c +@am__fastdepCC_TRUE@ $(am__mv) kern/generic/$(DEPDIR)/kernel_exec-millisleep.Tpo kern/generic/$(DEPDIR)/kernel_exec-millisleep.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/generic/millisleep.c' object='kern/generic/kernel_exec-millisleep.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/generic/kernel_exec-millisleep.o `test -f 'kern/generic/millisleep.c' || echo '$(srcdir)/'`kern/generic/millisleep.c + +kern/generic/kernel_exec-millisleep.obj: kern/generic/millisleep.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/generic/kernel_exec-millisleep.obj -MD -MP -MF kern/generic/$(DEPDIR)/kernel_exec-millisleep.Tpo -c -o kern/generic/kernel_exec-millisleep.obj `if test -f 'kern/generic/millisleep.c'; then $(CYGPATH_W) 'kern/generic/millisleep.c'; else $(CYGPATH_W) '$(srcdir)/kern/generic/millisleep.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/generic/$(DEPDIR)/kernel_exec-millisleep.Tpo kern/generic/$(DEPDIR)/kernel_exec-millisleep.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/generic/millisleep.c' object='kern/generic/kernel_exec-millisleep.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/generic/kernel_exec-millisleep.obj `if test -f 'kern/generic/millisleep.c'; then $(CYGPATH_W) 'kern/generic/millisleep.c'; else $(CYGPATH_W) '$(srcdir)/kern/generic/millisleep.c'; fi` + +disk/efi/kernel_exec-efidisk.o: disk/efi/efidisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT disk/efi/kernel_exec-efidisk.o -MD -MP -MF disk/efi/$(DEPDIR)/kernel_exec-efidisk.Tpo -c -o disk/efi/kernel_exec-efidisk.o `test -f 'disk/efi/efidisk.c' || echo '$(srcdir)/'`disk/efi/efidisk.c +@am__fastdepCC_TRUE@ $(am__mv) disk/efi/$(DEPDIR)/kernel_exec-efidisk.Tpo disk/efi/$(DEPDIR)/kernel_exec-efidisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/efi/efidisk.c' object='disk/efi/kernel_exec-efidisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o disk/efi/kernel_exec-efidisk.o `test -f 'disk/efi/efidisk.c' || echo '$(srcdir)/'`disk/efi/efidisk.c + +disk/efi/kernel_exec-efidisk.obj: disk/efi/efidisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT disk/efi/kernel_exec-efidisk.obj -MD -MP -MF disk/efi/$(DEPDIR)/kernel_exec-efidisk.Tpo -c -o disk/efi/kernel_exec-efidisk.obj `if test -f 'disk/efi/efidisk.c'; then $(CYGPATH_W) 'disk/efi/efidisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/efi/efidisk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/efi/$(DEPDIR)/kernel_exec-efidisk.Tpo disk/efi/$(DEPDIR)/kernel_exec-efidisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/efi/efidisk.c' object='disk/efi/kernel_exec-efidisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o disk/efi/kernel_exec-efidisk.obj `if test -f 'disk/efi/efidisk.c'; then $(CYGPATH_W) 'disk/efi/efidisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/efi/efidisk.c'; fi` + +kern/efi/kernel_exec-efi.o: kern/efi/efi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-efi.o -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-efi.Tpo -c -o kern/efi/kernel_exec-efi.o `test -f 'kern/efi/efi.c' || echo '$(srcdir)/'`kern/efi/efi.c +@am__fastdepCC_TRUE@ $(am__mv) kern/efi/$(DEPDIR)/kernel_exec-efi.Tpo kern/efi/$(DEPDIR)/kernel_exec-efi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/efi/efi.c' object='kern/efi/kernel_exec-efi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-efi.o `test -f 'kern/efi/efi.c' || echo '$(srcdir)/'`kern/efi/efi.c + +kern/efi/kernel_exec-efi.obj: kern/efi/efi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-efi.obj -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-efi.Tpo -c -o kern/efi/kernel_exec-efi.obj `if test -f 'kern/efi/efi.c'; then $(CYGPATH_W) 'kern/efi/efi.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/efi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/efi/$(DEPDIR)/kernel_exec-efi.Tpo kern/efi/$(DEPDIR)/kernel_exec-efi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/efi/efi.c' object='kern/efi/kernel_exec-efi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-efi.obj `if test -f 'kern/efi/efi.c'; then $(CYGPATH_W) 'kern/efi/efi.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/efi.c'; fi` + +kern/efi/kernel_exec-init.o: kern/efi/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-init.o -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/efi/kernel_exec-init.o `test -f 'kern/efi/init.c' || echo '$(srcdir)/'`kern/efi/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/efi/$(DEPDIR)/kernel_exec-init.Tpo kern/efi/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/efi/init.c' object='kern/efi/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-init.o `test -f 'kern/efi/init.c' || echo '$(srcdir)/'`kern/efi/init.c + +kern/efi/kernel_exec-init.obj: kern/efi/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-init.obj -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/efi/kernel_exec-init.obj `if test -f 'kern/efi/init.c'; then $(CYGPATH_W) 'kern/efi/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/efi/$(DEPDIR)/kernel_exec-init.Tpo kern/efi/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/efi/init.c' object='kern/efi/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-init.obj `if test -f 'kern/efi/init.c'; then $(CYGPATH_W) 'kern/efi/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/init.c'; fi` + +kern/efi/kernel_exec-mm.o: kern/efi/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-mm.o -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-mm.Tpo -c -o kern/efi/kernel_exec-mm.o `test -f 'kern/efi/mm.c' || echo '$(srcdir)/'`kern/efi/mm.c +@am__fastdepCC_TRUE@ $(am__mv) kern/efi/$(DEPDIR)/kernel_exec-mm.Tpo kern/efi/$(DEPDIR)/kernel_exec-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/efi/mm.c' object='kern/efi/kernel_exec-mm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-mm.o `test -f 'kern/efi/mm.c' || echo '$(srcdir)/'`kern/efi/mm.c + +kern/efi/kernel_exec-mm.obj: kern/efi/mm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/efi/kernel_exec-mm.obj -MD -MP -MF kern/efi/$(DEPDIR)/kernel_exec-mm.Tpo -c -o kern/efi/kernel_exec-mm.obj `if test -f 'kern/efi/mm.c'; then $(CYGPATH_W) 'kern/efi/mm.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/mm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/efi/$(DEPDIR)/kernel_exec-mm.Tpo kern/efi/$(DEPDIR)/kernel_exec-mm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/efi/mm.c' object='kern/efi/kernel_exec-mm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/efi/kernel_exec-mm.obj `if test -f 'kern/efi/mm.c'; then $(CYGPATH_W) 'kern/efi/mm.c'; else $(CYGPATH_W) '$(srcdir)/kern/efi/mm.c'; fi` + +kern/i386/efi/kernel_exec-init.o: kern/i386/efi/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/efi/kernel_exec-init.o -MD -MP -MF kern/i386/efi/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/efi/kernel_exec-init.o `test -f 'kern/i386/efi/init.c' || echo '$(srcdir)/'`kern/i386/efi/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/efi/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/efi/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/efi/init.c' object='kern/i386/efi/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/efi/kernel_exec-init.o `test -f 'kern/i386/efi/init.c' || echo '$(srcdir)/'`kern/i386/efi/init.c + +kern/i386/efi/kernel_exec-init.obj: kern/i386/efi/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/efi/kernel_exec-init.obj -MD -MP -MF kern/i386/efi/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/efi/kernel_exec-init.obj `if test -f 'kern/i386/efi/init.c'; then $(CYGPATH_W) 'kern/i386/efi/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/efi/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/efi/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/efi/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/efi/init.c' object='kern/i386/efi/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/efi/kernel_exec-init.obj `if test -f 'kern/i386/efi/init.c'; then $(CYGPATH_W) 'kern/i386/efi/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/efi/init.c'; fi` + +term/efi/kernel_exec-console.o: term/efi/console.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/efi/kernel_exec-console.o -MD -MP -MF term/efi/$(DEPDIR)/kernel_exec-console.Tpo -c -o term/efi/kernel_exec-console.o `test -f 'term/efi/console.c' || echo '$(srcdir)/'`term/efi/console.c +@am__fastdepCC_TRUE@ $(am__mv) term/efi/$(DEPDIR)/kernel_exec-console.Tpo term/efi/$(DEPDIR)/kernel_exec-console.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/efi/console.c' object='term/efi/kernel_exec-console.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/efi/kernel_exec-console.o `test -f 'term/efi/console.c' || echo '$(srcdir)/'`term/efi/console.c + +term/efi/kernel_exec-console.obj: term/efi/console.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/efi/kernel_exec-console.obj -MD -MP -MF term/efi/$(DEPDIR)/kernel_exec-console.Tpo -c -o term/efi/kernel_exec-console.obj `if test -f 'term/efi/console.c'; then $(CYGPATH_W) 'term/efi/console.c'; else $(CYGPATH_W) '$(srcdir)/term/efi/console.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/efi/$(DEPDIR)/kernel_exec-console.Tpo term/efi/$(DEPDIR)/kernel_exec-console.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/efi/console.c' object='term/efi/kernel_exec-console.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/efi/kernel_exec-console.obj `if test -f 'term/efi/console.c'; then $(CYGPATH_W) 'term/efi/console.c'; else $(CYGPATH_W) '$(srcdir)/term/efi/console.c'; fi` + +kern/ieee1275/kernel_exec-init.o: kern/ieee1275/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-init.o -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/ieee1275/kernel_exec-init.o `test -f 'kern/ieee1275/init.c' || echo '$(srcdir)/'`kern/ieee1275/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/init.c' object='kern/ieee1275/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-init.o `test -f 'kern/ieee1275/init.c' || echo '$(srcdir)/'`kern/ieee1275/init.c + +kern/ieee1275/kernel_exec-init.obj: kern/ieee1275/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-init.obj -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/ieee1275/kernel_exec-init.obj `if test -f 'kern/ieee1275/init.c'; then $(CYGPATH_W) 'kern/ieee1275/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/init.c' object='kern/ieee1275/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-init.obj `if test -f 'kern/ieee1275/init.c'; then $(CYGPATH_W) 'kern/ieee1275/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/init.c'; fi` + +disk/ieee1275/kernel_exec-ofdisk.o: disk/ieee1275/ofdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT disk/ieee1275/kernel_exec-ofdisk.o -MD -MP -MF disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Tpo -c -o disk/ieee1275/kernel_exec-ofdisk.o `test -f 'disk/ieee1275/ofdisk.c' || echo '$(srcdir)/'`disk/ieee1275/ofdisk.c +@am__fastdepCC_TRUE@ $(am__mv) disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Tpo disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ieee1275/ofdisk.c' object='disk/ieee1275/kernel_exec-ofdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o disk/ieee1275/kernel_exec-ofdisk.o `test -f 'disk/ieee1275/ofdisk.c' || echo '$(srcdir)/'`disk/ieee1275/ofdisk.c + +disk/ieee1275/kernel_exec-ofdisk.obj: disk/ieee1275/ofdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT disk/ieee1275/kernel_exec-ofdisk.obj -MD -MP -MF disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Tpo -c -o disk/ieee1275/kernel_exec-ofdisk.obj `if test -f 'disk/ieee1275/ofdisk.c'; then $(CYGPATH_W) 'disk/ieee1275/ofdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/ieee1275/ofdisk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Tpo disk/ieee1275/$(DEPDIR)/kernel_exec-ofdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ieee1275/ofdisk.c' object='disk/ieee1275/kernel_exec-ofdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o disk/ieee1275/kernel_exec-ofdisk.obj `if test -f 'disk/ieee1275/ofdisk.c'; then $(CYGPATH_W) 'disk/ieee1275/ofdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/ieee1275/ofdisk.c'; fi` + +kern/ieee1275/kernel_exec-cmain.o: kern/ieee1275/cmain.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-cmain.o -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Tpo -c -o kern/ieee1275/kernel_exec-cmain.o `test -f 'kern/ieee1275/cmain.c' || echo '$(srcdir)/'`kern/ieee1275/cmain.c +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/cmain.c' object='kern/ieee1275/kernel_exec-cmain.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-cmain.o `test -f 'kern/ieee1275/cmain.c' || echo '$(srcdir)/'`kern/ieee1275/cmain.c + +kern/ieee1275/kernel_exec-cmain.obj: kern/ieee1275/cmain.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-cmain.obj -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Tpo -c -o kern/ieee1275/kernel_exec-cmain.obj `if test -f 'kern/ieee1275/cmain.c'; then $(CYGPATH_W) 'kern/ieee1275/cmain.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/cmain.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-cmain.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/cmain.c' object='kern/ieee1275/kernel_exec-cmain.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-cmain.obj `if test -f 'kern/ieee1275/cmain.c'; then $(CYGPATH_W) 'kern/ieee1275/cmain.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/cmain.c'; fi` + +kern/ieee1275/kernel_exec-ieee1275.o: kern/ieee1275/ieee1275.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-ieee1275.o -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo -c -o kern/ieee1275/kernel_exec-ieee1275.o `test -f 'kern/ieee1275/ieee1275.c' || echo '$(srcdir)/'`kern/ieee1275/ieee1275.c +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/ieee1275.c' object='kern/ieee1275/kernel_exec-ieee1275.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-ieee1275.o `test -f 'kern/ieee1275/ieee1275.c' || echo '$(srcdir)/'`kern/ieee1275/ieee1275.c + +kern/ieee1275/kernel_exec-ieee1275.obj: kern/ieee1275/ieee1275.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-ieee1275.obj -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo -c -o kern/ieee1275/kernel_exec-ieee1275.obj `if test -f 'kern/ieee1275/ieee1275.c'; then $(CYGPATH_W) 'kern/ieee1275/ieee1275.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/ieee1275.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/ieee1275.c' object='kern/ieee1275/kernel_exec-ieee1275.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-ieee1275.obj `if test -f 'kern/ieee1275/ieee1275.c'; then $(CYGPATH_W) 'kern/ieee1275/ieee1275.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/ieee1275.c'; fi` + +kern/ieee1275/kernel_exec-mmap.o: kern/ieee1275/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-mmap.o -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/ieee1275/kernel_exec-mmap.o `test -f 'kern/ieee1275/mmap.c' || echo '$(srcdir)/'`kern/ieee1275/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/mmap.c' object='kern/ieee1275/kernel_exec-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-mmap.o `test -f 'kern/ieee1275/mmap.c' || echo '$(srcdir)/'`kern/ieee1275/mmap.c + +kern/ieee1275/kernel_exec-mmap.obj: kern/ieee1275/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-mmap.obj -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/ieee1275/kernel_exec-mmap.obj `if test -f 'kern/ieee1275/mmap.c'; then $(CYGPATH_W) 'kern/ieee1275/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/mmap.c' object='kern/ieee1275/kernel_exec-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-mmap.obj `if test -f 'kern/ieee1275/mmap.c'; then $(CYGPATH_W) 'kern/ieee1275/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/mmap.c'; fi` + +kern/ieee1275/kernel_exec-openfw.o: kern/ieee1275/openfw.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-openfw.o -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Tpo -c -o kern/ieee1275/kernel_exec-openfw.o `test -f 'kern/ieee1275/openfw.c' || echo '$(srcdir)/'`kern/ieee1275/openfw.c +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/openfw.c' object='kern/ieee1275/kernel_exec-openfw.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-openfw.o `test -f 'kern/ieee1275/openfw.c' || echo '$(srcdir)/'`kern/ieee1275/openfw.c + +kern/ieee1275/kernel_exec-openfw.obj: kern/ieee1275/openfw.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/ieee1275/kernel_exec-openfw.obj -MD -MP -MF kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Tpo -c -o kern/ieee1275/kernel_exec-openfw.obj `if test -f 'kern/ieee1275/openfw.c'; then $(CYGPATH_W) 'kern/ieee1275/openfw.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/openfw.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Tpo kern/ieee1275/$(DEPDIR)/kernel_exec-openfw.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/ieee1275/openfw.c' object='kern/ieee1275/kernel_exec-openfw.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/ieee1275/kernel_exec-openfw.obj `if test -f 'kern/ieee1275/openfw.c'; then $(CYGPATH_W) 'kern/ieee1275/openfw.c'; else $(CYGPATH_W) '$(srcdir)/kern/ieee1275/openfw.c'; fi` + +term/ieee1275/kernel_exec-ofconsole.o: term/ieee1275/ofconsole.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/ieee1275/kernel_exec-ofconsole.o -MD -MP -MF term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Tpo -c -o term/ieee1275/kernel_exec-ofconsole.o `test -f 'term/ieee1275/ofconsole.c' || echo '$(srcdir)/'`term/ieee1275/ofconsole.c +@am__fastdepCC_TRUE@ $(am__mv) term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Tpo term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/ieee1275/ofconsole.c' object='term/ieee1275/kernel_exec-ofconsole.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/ieee1275/kernel_exec-ofconsole.o `test -f 'term/ieee1275/ofconsole.c' || echo '$(srcdir)/'`term/ieee1275/ofconsole.c + +term/ieee1275/kernel_exec-ofconsole.obj: term/ieee1275/ofconsole.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/ieee1275/kernel_exec-ofconsole.obj -MD -MP -MF term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Tpo -c -o term/ieee1275/kernel_exec-ofconsole.obj `if test -f 'term/ieee1275/ofconsole.c'; then $(CYGPATH_W) 'term/ieee1275/ofconsole.c'; else $(CYGPATH_W) '$(srcdir)/term/ieee1275/ofconsole.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Tpo term/ieee1275/$(DEPDIR)/kernel_exec-ofconsole.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/ieee1275/ofconsole.c' object='term/ieee1275/kernel_exec-ofconsole.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/ieee1275/kernel_exec-ofconsole.obj `if test -f 'term/ieee1275/ofconsole.c'; then $(CYGPATH_W) 'term/ieee1275/ofconsole.c'; else $(CYGPATH_W) '$(srcdir)/term/ieee1275/ofconsole.c'; fi` + +term/kernel_exec-terminfo.o: term/terminfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-terminfo.o -MD -MP -MF term/$(DEPDIR)/kernel_exec-terminfo.Tpo -c -o term/kernel_exec-terminfo.o `test -f 'term/terminfo.c' || echo '$(srcdir)/'`term/terminfo.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-terminfo.Tpo term/$(DEPDIR)/kernel_exec-terminfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/terminfo.c' object='term/kernel_exec-terminfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-terminfo.o `test -f 'term/terminfo.c' || echo '$(srcdir)/'`term/terminfo.c + +term/kernel_exec-terminfo.obj: term/terminfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-terminfo.obj -MD -MP -MF term/$(DEPDIR)/kernel_exec-terminfo.Tpo -c -o term/kernel_exec-terminfo.obj `if test -f 'term/terminfo.c'; then $(CYGPATH_W) 'term/terminfo.c'; else $(CYGPATH_W) '$(srcdir)/term/terminfo.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-terminfo.Tpo term/$(DEPDIR)/kernel_exec-terminfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/terminfo.c' object='term/kernel_exec-terminfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-terminfo.obj `if test -f 'term/terminfo.c'; then $(CYGPATH_W) 'term/terminfo.c'; else $(CYGPATH_W) '$(srcdir)/term/terminfo.c'; fi` + +term/kernel_exec-tparm.o: term/tparm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-tparm.o -MD -MP -MF term/$(DEPDIR)/kernel_exec-tparm.Tpo -c -o term/kernel_exec-tparm.o `test -f 'term/tparm.c' || echo '$(srcdir)/'`term/tparm.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-tparm.Tpo term/$(DEPDIR)/kernel_exec-tparm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/tparm.c' object='term/kernel_exec-tparm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-tparm.o `test -f 'term/tparm.c' || echo '$(srcdir)/'`term/tparm.c + +term/kernel_exec-tparm.obj: term/tparm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-tparm.obj -MD -MP -MF term/$(DEPDIR)/kernel_exec-tparm.Tpo -c -o term/kernel_exec-tparm.obj `if test -f 'term/tparm.c'; then $(CYGPATH_W) 'term/tparm.c'; else $(CYGPATH_W) '$(srcdir)/term/tparm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-tparm.Tpo term/$(DEPDIR)/kernel_exec-tparm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/tparm.c' object='term/kernel_exec-tparm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-tparm.obj `if test -f 'term/tparm.c'; then $(CYGPATH_W) 'term/tparm.c'; else $(CYGPATH_W) '$(srcdir)/term/tparm.c'; fi` + +commands/kernel_exec-extcmd.o: commands/extcmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT commands/kernel_exec-extcmd.o -MD -MP -MF commands/$(DEPDIR)/kernel_exec-extcmd.Tpo -c -o commands/kernel_exec-extcmd.o `test -f 'commands/extcmd.c' || echo '$(srcdir)/'`commands/extcmd.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/kernel_exec-extcmd.Tpo commands/$(DEPDIR)/kernel_exec-extcmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/extcmd.c' object='commands/kernel_exec-extcmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o commands/kernel_exec-extcmd.o `test -f 'commands/extcmd.c' || echo '$(srcdir)/'`commands/extcmd.c + +commands/kernel_exec-extcmd.obj: commands/extcmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT commands/kernel_exec-extcmd.obj -MD -MP -MF commands/$(DEPDIR)/kernel_exec-extcmd.Tpo -c -o commands/kernel_exec-extcmd.obj `if test -f 'commands/extcmd.c'; then $(CYGPATH_W) 'commands/extcmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/extcmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/kernel_exec-extcmd.Tpo commands/$(DEPDIR)/kernel_exec-extcmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/extcmd.c' object='commands/kernel_exec-extcmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o commands/kernel_exec-extcmd.obj `if test -f 'commands/extcmd.c'; then $(CYGPATH_W) 'commands/extcmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/extcmd.c'; fi` + +lib/kernel_exec-arg.o: lib/arg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT lib/kernel_exec-arg.o -MD -MP -MF lib/$(DEPDIR)/kernel_exec-arg.Tpo -c -o lib/kernel_exec-arg.o `test -f 'lib/arg.c' || echo '$(srcdir)/'`lib/arg.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/kernel_exec-arg.Tpo lib/$(DEPDIR)/kernel_exec-arg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/arg.c' object='lib/kernel_exec-arg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o lib/kernel_exec-arg.o `test -f 'lib/arg.c' || echo '$(srcdir)/'`lib/arg.c + +lib/kernel_exec-arg.obj: lib/arg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT lib/kernel_exec-arg.obj -MD -MP -MF lib/$(DEPDIR)/kernel_exec-arg.Tpo -c -o lib/kernel_exec-arg.obj `if test -f 'lib/arg.c'; then $(CYGPATH_W) 'lib/arg.c'; else $(CYGPATH_W) '$(srcdir)/lib/arg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/kernel_exec-arg.Tpo lib/$(DEPDIR)/kernel_exec-arg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/arg.c' object='lib/kernel_exec-arg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o lib/kernel_exec-arg.obj `if test -f 'lib/arg.c'; then $(CYGPATH_W) 'lib/arg.c'; else $(CYGPATH_W) '$(srcdir)/lib/arg.c'; fi` + +kern/i386/kernel_exec-multiboot_mmap.o: kern/i386/multiboot_mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-multiboot_mmap.o -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Tpo -c -o kern/i386/kernel_exec-multiboot_mmap.o `test -f 'kern/i386/multiboot_mmap.c' || echo '$(srcdir)/'`kern/i386/multiboot_mmap.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Tpo kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/multiboot_mmap.c' object='kern/i386/kernel_exec-multiboot_mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-multiboot_mmap.o `test -f 'kern/i386/multiboot_mmap.c' || echo '$(srcdir)/'`kern/i386/multiboot_mmap.c + +kern/i386/kernel_exec-multiboot_mmap.obj: kern/i386/multiboot_mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/kernel_exec-multiboot_mmap.obj -MD -MP -MF kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Tpo -c -o kern/i386/kernel_exec-multiboot_mmap.obj `if test -f 'kern/i386/multiboot_mmap.c'; then $(CYGPATH_W) 'kern/i386/multiboot_mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/multiboot_mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Tpo kern/i386/$(DEPDIR)/kernel_exec-multiboot_mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/multiboot_mmap.c' object='kern/i386/kernel_exec-multiboot_mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/kernel_exec-multiboot_mmap.obj `if test -f 'kern/i386/multiboot_mmap.c'; then $(CYGPATH_W) 'kern/i386/multiboot_mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/multiboot_mmap.c'; fi` + +kern/i386/pc/kernel_exec-init.o: kern/i386/pc/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/pc/kernel_exec-init.o -MD -MP -MF kern/i386/pc/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/pc/kernel_exec-init.o `test -f 'kern/i386/pc/init.c' || echo '$(srcdir)/'`kern/i386/pc/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/pc/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/pc/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/pc/init.c' object='kern/i386/pc/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/pc/kernel_exec-init.o `test -f 'kern/i386/pc/init.c' || echo '$(srcdir)/'`kern/i386/pc/init.c + +kern/i386/pc/kernel_exec-init.obj: kern/i386/pc/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/pc/kernel_exec-init.obj -MD -MP -MF kern/i386/pc/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/pc/kernel_exec-init.obj `if test -f 'kern/i386/pc/init.c'; then $(CYGPATH_W) 'kern/i386/pc/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pc/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/pc/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/pc/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/pc/init.c' object='kern/i386/pc/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/pc/kernel_exec-init.obj `if test -f 'kern/i386/pc/init.c'; then $(CYGPATH_W) 'kern/i386/pc/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pc/init.c'; fi` + +kern/i386/pc/kernel_exec-mmap.o: kern/i386/pc/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/pc/kernel_exec-mmap.o -MD -MP -MF kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/i386/pc/kernel_exec-mmap.o `test -f 'kern/i386/pc/mmap.c' || echo '$(srcdir)/'`kern/i386/pc/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Tpo kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/pc/mmap.c' object='kern/i386/pc/kernel_exec-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/pc/kernel_exec-mmap.o `test -f 'kern/i386/pc/mmap.c' || echo '$(srcdir)/'`kern/i386/pc/mmap.c + +kern/i386/pc/kernel_exec-mmap.obj: kern/i386/pc/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/pc/kernel_exec-mmap.obj -MD -MP -MF kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/i386/pc/kernel_exec-mmap.obj `if test -f 'kern/i386/pc/mmap.c'; then $(CYGPATH_W) 'kern/i386/pc/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pc/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Tpo kern/i386/pc/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/pc/mmap.c' object='kern/i386/pc/kernel_exec-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/pc/kernel_exec-mmap.obj `if test -f 'kern/i386/pc/mmap.c'; then $(CYGPATH_W) 'kern/i386/pc/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/pc/mmap.c'; fi` + +term/i386/pc/kernel_exec-console.o: term/i386/pc/console.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/i386/pc/kernel_exec-console.o -MD -MP -MF term/i386/pc/$(DEPDIR)/kernel_exec-console.Tpo -c -o term/i386/pc/kernel_exec-console.o `test -f 'term/i386/pc/console.c' || echo '$(srcdir)/'`term/i386/pc/console.c +@am__fastdepCC_TRUE@ $(am__mv) term/i386/pc/$(DEPDIR)/kernel_exec-console.Tpo term/i386/pc/$(DEPDIR)/kernel_exec-console.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/pc/console.c' object='term/i386/pc/kernel_exec-console.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/i386/pc/kernel_exec-console.o `test -f 'term/i386/pc/console.c' || echo '$(srcdir)/'`term/i386/pc/console.c + +term/i386/pc/kernel_exec-console.obj: term/i386/pc/console.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/i386/pc/kernel_exec-console.obj -MD -MP -MF term/i386/pc/$(DEPDIR)/kernel_exec-console.Tpo -c -o term/i386/pc/kernel_exec-console.obj `if test -f 'term/i386/pc/console.c'; then $(CYGPATH_W) 'term/i386/pc/console.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/pc/console.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/i386/pc/$(DEPDIR)/kernel_exec-console.Tpo term/i386/pc/$(DEPDIR)/kernel_exec-console.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/pc/console.c' object='term/i386/pc/kernel_exec-console.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/i386/pc/kernel_exec-console.obj `if test -f 'term/i386/pc/console.c'; then $(CYGPATH_W) 'term/i386/pc/console.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/pc/console.c'; fi` + +bus/kernel_exec-pci.o: bus/pci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT bus/kernel_exec-pci.o -MD -MP -MF bus/$(DEPDIR)/kernel_exec-pci.Tpo -c -o bus/kernel_exec-pci.o `test -f 'bus/pci.c' || echo '$(srcdir)/'`bus/pci.c +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/kernel_exec-pci.Tpo bus/$(DEPDIR)/kernel_exec-pci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/pci.c' object='bus/kernel_exec-pci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o bus/kernel_exec-pci.o `test -f 'bus/pci.c' || echo '$(srcdir)/'`bus/pci.c + +bus/kernel_exec-pci.obj: bus/pci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT bus/kernel_exec-pci.obj -MD -MP -MF bus/$(DEPDIR)/kernel_exec-pci.Tpo -c -o bus/kernel_exec-pci.obj `if test -f 'bus/pci.c'; then $(CYGPATH_W) 'bus/pci.c'; else $(CYGPATH_W) '$(srcdir)/bus/pci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/kernel_exec-pci.Tpo bus/$(DEPDIR)/kernel_exec-pci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/pci.c' object='bus/kernel_exec-pci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o bus/kernel_exec-pci.obj `if test -f 'bus/pci.c'; then $(CYGPATH_W) 'bus/pci.c'; else $(CYGPATH_W) '$(srcdir)/bus/pci.c'; fi` + +kern/i386/qemu/kernel_exec-init.o: kern/i386/qemu/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/qemu/kernel_exec-init.o -MD -MP -MF kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/qemu/kernel_exec-init.o `test -f 'kern/i386/qemu/init.c' || echo '$(srcdir)/'`kern/i386/qemu/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/qemu/init.c' object='kern/i386/qemu/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/qemu/kernel_exec-init.o `test -f 'kern/i386/qemu/init.c' || echo '$(srcdir)/'`kern/i386/qemu/init.c + +kern/i386/qemu/kernel_exec-init.obj: kern/i386/qemu/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/qemu/kernel_exec-init.obj -MD -MP -MF kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/i386/qemu/kernel_exec-init.obj `if test -f 'kern/i386/qemu/init.c'; then $(CYGPATH_W) 'kern/i386/qemu/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/qemu/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Tpo kern/i386/qemu/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/qemu/init.c' object='kern/i386/qemu/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/qemu/kernel_exec-init.obj `if test -f 'kern/i386/qemu/init.c'; then $(CYGPATH_W) 'kern/i386/qemu/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/qemu/init.c'; fi` + +kern/i386/qemu/kernel_exec-mmap.o: kern/i386/qemu/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/qemu/kernel_exec-mmap.o -MD -MP -MF kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/i386/qemu/kernel_exec-mmap.o `test -f 'kern/i386/qemu/mmap.c' || echo '$(srcdir)/'`kern/i386/qemu/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Tpo kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/qemu/mmap.c' object='kern/i386/qemu/kernel_exec-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/qemu/kernel_exec-mmap.o `test -f 'kern/i386/qemu/mmap.c' || echo '$(srcdir)/'`kern/i386/qemu/mmap.c + +kern/i386/qemu/kernel_exec-mmap.obj: kern/i386/qemu/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/i386/qemu/kernel_exec-mmap.obj -MD -MP -MF kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Tpo -c -o kern/i386/qemu/kernel_exec-mmap.obj `if test -f 'kern/i386/qemu/mmap.c'; then $(CYGPATH_W) 'kern/i386/qemu/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/qemu/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Tpo kern/i386/qemu/$(DEPDIR)/kernel_exec-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/i386/qemu/mmap.c' object='kern/i386/qemu/kernel_exec-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/i386/qemu/kernel_exec-mmap.obj `if test -f 'kern/i386/qemu/mmap.c'; then $(CYGPATH_W) 'kern/i386/qemu/mmap.c'; else $(CYGPATH_W) '$(srcdir)/kern/i386/qemu/mmap.c'; fi` + +term/kernel_exec-ns8250.o: term/ns8250.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-ns8250.o -MD -MP -MF term/$(DEPDIR)/kernel_exec-ns8250.Tpo -c -o term/kernel_exec-ns8250.o `test -f 'term/ns8250.c' || echo '$(srcdir)/'`term/ns8250.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-ns8250.Tpo term/$(DEPDIR)/kernel_exec-ns8250.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/ns8250.c' object='term/kernel_exec-ns8250.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-ns8250.o `test -f 'term/ns8250.c' || echo '$(srcdir)/'`term/ns8250.c + +term/kernel_exec-ns8250.obj: term/ns8250.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-ns8250.obj -MD -MP -MF term/$(DEPDIR)/kernel_exec-ns8250.Tpo -c -o term/kernel_exec-ns8250.obj `if test -f 'term/ns8250.c'; then $(CYGPATH_W) 'term/ns8250.c'; else $(CYGPATH_W) '$(srcdir)/term/ns8250.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-ns8250.Tpo term/$(DEPDIR)/kernel_exec-ns8250.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/ns8250.c' object='term/kernel_exec-ns8250.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-ns8250.obj `if test -f 'term/ns8250.c'; then $(CYGPATH_W) 'term/ns8250.c'; else $(CYGPATH_W) '$(srcdir)/term/ns8250.c'; fi` + +bus/kernel_exec-bonito.o: bus/bonito.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT bus/kernel_exec-bonito.o -MD -MP -MF bus/$(DEPDIR)/kernel_exec-bonito.Tpo -c -o bus/kernel_exec-bonito.o `test -f 'bus/bonito.c' || echo '$(srcdir)/'`bus/bonito.c +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/kernel_exec-bonito.Tpo bus/$(DEPDIR)/kernel_exec-bonito.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/bonito.c' object='bus/kernel_exec-bonito.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o bus/kernel_exec-bonito.o `test -f 'bus/bonito.c' || echo '$(srcdir)/'`bus/bonito.c + +bus/kernel_exec-bonito.obj: bus/bonito.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT bus/kernel_exec-bonito.obj -MD -MP -MF bus/$(DEPDIR)/kernel_exec-bonito.Tpo -c -o bus/kernel_exec-bonito.obj `if test -f 'bus/bonito.c'; then $(CYGPATH_W) 'bus/bonito.c'; else $(CYGPATH_W) '$(srcdir)/bus/bonito.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/kernel_exec-bonito.Tpo bus/$(DEPDIR)/kernel_exec-bonito.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/bonito.c' object='bus/kernel_exec-bonito.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o bus/kernel_exec-bonito.obj `if test -f 'bus/bonito.c'; then $(CYGPATH_W) 'bus/bonito.c'; else $(CYGPATH_W) '$(srcdir)/bus/bonito.c'; fi` + +bus/kernel_exec-cs5536.o: bus/cs5536.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT bus/kernel_exec-cs5536.o -MD -MP -MF bus/$(DEPDIR)/kernel_exec-cs5536.Tpo -c -o bus/kernel_exec-cs5536.o `test -f 'bus/cs5536.c' || echo '$(srcdir)/'`bus/cs5536.c +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/kernel_exec-cs5536.Tpo bus/$(DEPDIR)/kernel_exec-cs5536.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/cs5536.c' object='bus/kernel_exec-cs5536.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o bus/kernel_exec-cs5536.o `test -f 'bus/cs5536.c' || echo '$(srcdir)/'`bus/cs5536.c + +bus/kernel_exec-cs5536.obj: bus/cs5536.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT bus/kernel_exec-cs5536.obj -MD -MP -MF bus/$(DEPDIR)/kernel_exec-cs5536.Tpo -c -o bus/kernel_exec-cs5536.obj `if test -f 'bus/cs5536.c'; then $(CYGPATH_W) 'bus/cs5536.c'; else $(CYGPATH_W) '$(srcdir)/bus/cs5536.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/kernel_exec-cs5536.Tpo bus/$(DEPDIR)/kernel_exec-cs5536.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/cs5536.c' object='bus/kernel_exec-cs5536.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o bus/kernel_exec-cs5536.obj `if test -f 'bus/cs5536.c'; then $(CYGPATH_W) 'bus/cs5536.c'; else $(CYGPATH_W) '$(srcdir)/bus/cs5536.c'; fi` + +kern/mips/kernel_exec-dl.o: kern/mips/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/mips/kernel_exec-dl.o -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/mips/kernel_exec-dl.o `test -f 'kern/mips/dl.c' || echo '$(srcdir)/'`kern/mips/dl.c +@am__fastdepCC_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-dl.Tpo kern/mips/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mips/dl.c' object='kern/mips/kernel_exec-dl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/mips/kernel_exec-dl.o `test -f 'kern/mips/dl.c' || echo '$(srcdir)/'`kern/mips/dl.c + +kern/mips/kernel_exec-dl.obj: kern/mips/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/mips/kernel_exec-dl.obj -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/mips/kernel_exec-dl.obj `if test -f 'kern/mips/dl.c'; then $(CYGPATH_W) 'kern/mips/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/mips/dl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-dl.Tpo kern/mips/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mips/dl.c' object='kern/mips/kernel_exec-dl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/mips/kernel_exec-dl.obj `if test -f 'kern/mips/dl.c'; then $(CYGPATH_W) 'kern/mips/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/mips/dl.c'; fi` + +kern/mips/kernel_exec-init.o: kern/mips/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/mips/kernel_exec-init.o -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/mips/kernel_exec-init.o `test -f 'kern/mips/init.c' || echo '$(srcdir)/'`kern/mips/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-init.Tpo kern/mips/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mips/init.c' object='kern/mips/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/mips/kernel_exec-init.o `test -f 'kern/mips/init.c' || echo '$(srcdir)/'`kern/mips/init.c + +kern/mips/kernel_exec-init.obj: kern/mips/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/mips/kernel_exec-init.obj -MD -MP -MF kern/mips/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/mips/kernel_exec-init.obj `if test -f 'kern/mips/init.c'; then $(CYGPATH_W) 'kern/mips/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/mips/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/mips/$(DEPDIR)/kernel_exec-init.Tpo kern/mips/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mips/init.c' object='kern/mips/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/mips/kernel_exec-init.obj `if test -f 'kern/mips/init.c'; then $(CYGPATH_W) 'kern/mips/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/mips/init.c'; fi` + +kern/mips/yeeloong/kernel_exec-init.o: kern/mips/yeeloong/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/mips/yeeloong/kernel_exec-init.o -MD -MP -MF kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/mips/yeeloong/kernel_exec-init.o `test -f 'kern/mips/yeeloong/init.c' || echo '$(srcdir)/'`kern/mips/yeeloong/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Tpo kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mips/yeeloong/init.c' object='kern/mips/yeeloong/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/mips/yeeloong/kernel_exec-init.o `test -f 'kern/mips/yeeloong/init.c' || echo '$(srcdir)/'`kern/mips/yeeloong/init.c + +kern/mips/yeeloong/kernel_exec-init.obj: kern/mips/yeeloong/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/mips/yeeloong/kernel_exec-init.obj -MD -MP -MF kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/mips/yeeloong/kernel_exec-init.obj `if test -f 'kern/mips/yeeloong/init.c'; then $(CYGPATH_W) 'kern/mips/yeeloong/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/mips/yeeloong/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Tpo kern/mips/yeeloong/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/mips/yeeloong/init.c' object='kern/mips/yeeloong/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/mips/yeeloong/kernel_exec-init.obj `if test -f 'kern/mips/yeeloong/init.c'; then $(CYGPATH_W) 'kern/mips/yeeloong/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/mips/yeeloong/init.c'; fi` + +term/kernel_exec-at_keyboard.o: term/at_keyboard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-at_keyboard.o -MD -MP -MF term/$(DEPDIR)/kernel_exec-at_keyboard.Tpo -c -o term/kernel_exec-at_keyboard.o `test -f 'term/at_keyboard.c' || echo '$(srcdir)/'`term/at_keyboard.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-at_keyboard.Tpo term/$(DEPDIR)/kernel_exec-at_keyboard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/at_keyboard.c' object='term/kernel_exec-at_keyboard.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-at_keyboard.o `test -f 'term/at_keyboard.c' || echo '$(srcdir)/'`term/at_keyboard.c + +term/kernel_exec-at_keyboard.obj: term/at_keyboard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-at_keyboard.obj -MD -MP -MF term/$(DEPDIR)/kernel_exec-at_keyboard.Tpo -c -o term/kernel_exec-at_keyboard.obj `if test -f 'term/at_keyboard.c'; then $(CYGPATH_W) 'term/at_keyboard.c'; else $(CYGPATH_W) '$(srcdir)/term/at_keyboard.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-at_keyboard.Tpo term/$(DEPDIR)/kernel_exec-at_keyboard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/at_keyboard.c' object='term/kernel_exec-at_keyboard.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-at_keyboard.obj `if test -f 'term/at_keyboard.c'; then $(CYGPATH_W) 'term/at_keyboard.c'; else $(CYGPATH_W) '$(srcdir)/term/at_keyboard.c'; fi` + +term/kernel_exec-serial.o: term/serial.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-serial.o -MD -MP -MF term/$(DEPDIR)/kernel_exec-serial.Tpo -c -o term/kernel_exec-serial.o `test -f 'term/serial.c' || echo '$(srcdir)/'`term/serial.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-serial.Tpo term/$(DEPDIR)/kernel_exec-serial.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/serial.c' object='term/kernel_exec-serial.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-serial.o `test -f 'term/serial.c' || echo '$(srcdir)/'`term/serial.c + +term/kernel_exec-serial.obj: term/serial.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-serial.obj -MD -MP -MF term/$(DEPDIR)/kernel_exec-serial.Tpo -c -o term/kernel_exec-serial.obj `if test -f 'term/serial.c'; then $(CYGPATH_W) 'term/serial.c'; else $(CYGPATH_W) '$(srcdir)/term/serial.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-serial.Tpo term/$(DEPDIR)/kernel_exec-serial.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/serial.c' object='term/kernel_exec-serial.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-serial.obj `if test -f 'term/serial.c'; then $(CYGPATH_W) 'term/serial.c'; else $(CYGPATH_W) '$(srcdir)/term/serial.c'; fi` + +video/kernel_exec-sm712.o: video/sm712.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-sm712.o -MD -MP -MF video/$(DEPDIR)/kernel_exec-sm712.Tpo -c -o video/kernel_exec-sm712.o `test -f 'video/sm712.c' || echo '$(srcdir)/'`video/sm712.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-sm712.Tpo video/$(DEPDIR)/kernel_exec-sm712.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/sm712.c' object='video/kernel_exec-sm712.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-sm712.o `test -f 'video/sm712.c' || echo '$(srcdir)/'`video/sm712.c + +video/kernel_exec-sm712.obj: video/sm712.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-sm712.obj -MD -MP -MF video/$(DEPDIR)/kernel_exec-sm712.Tpo -c -o video/kernel_exec-sm712.obj `if test -f 'video/sm712.c'; then $(CYGPATH_W) 'video/sm712.c'; else $(CYGPATH_W) '$(srcdir)/video/sm712.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-sm712.Tpo video/$(DEPDIR)/kernel_exec-sm712.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/sm712.c' object='video/kernel_exec-sm712.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-sm712.obj `if test -f 'video/sm712.c'; then $(CYGPATH_W) 'video/sm712.c'; else $(CYGPATH_W) '$(srcdir)/video/sm712.c'; fi` + +commands/kernel_exec-keylayouts.o: commands/keylayouts.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT commands/kernel_exec-keylayouts.o -MD -MP -MF commands/$(DEPDIR)/kernel_exec-keylayouts.Tpo -c -o commands/kernel_exec-keylayouts.o `test -f 'commands/keylayouts.c' || echo '$(srcdir)/'`commands/keylayouts.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/kernel_exec-keylayouts.Tpo commands/$(DEPDIR)/kernel_exec-keylayouts.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/keylayouts.c' object='commands/kernel_exec-keylayouts.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o commands/kernel_exec-keylayouts.o `test -f 'commands/keylayouts.c' || echo '$(srcdir)/'`commands/keylayouts.c + +commands/kernel_exec-keylayouts.obj: commands/keylayouts.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT commands/kernel_exec-keylayouts.obj -MD -MP -MF commands/$(DEPDIR)/kernel_exec-keylayouts.Tpo -c -o commands/kernel_exec-keylayouts.obj `if test -f 'commands/keylayouts.c'; then $(CYGPATH_W) 'commands/keylayouts.c'; else $(CYGPATH_W) '$(srcdir)/commands/keylayouts.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/kernel_exec-keylayouts.Tpo commands/$(DEPDIR)/kernel_exec-keylayouts.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/keylayouts.c' object='commands/kernel_exec-keylayouts.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o commands/kernel_exec-keylayouts.obj `if test -f 'commands/keylayouts.c'; then $(CYGPATH_W) 'commands/keylayouts.c'; else $(CYGPATH_W) '$(srcdir)/commands/keylayouts.c'; fi` + +term/kernel_exec-gfxterm.o: term/gfxterm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-gfxterm.o -MD -MP -MF term/$(DEPDIR)/kernel_exec-gfxterm.Tpo -c -o term/kernel_exec-gfxterm.o `test -f 'term/gfxterm.c' || echo '$(srcdir)/'`term/gfxterm.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-gfxterm.Tpo term/$(DEPDIR)/kernel_exec-gfxterm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/gfxterm.c' object='term/kernel_exec-gfxterm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-gfxterm.o `test -f 'term/gfxterm.c' || echo '$(srcdir)/'`term/gfxterm.c + +term/kernel_exec-gfxterm.obj: term/gfxterm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT term/kernel_exec-gfxterm.obj -MD -MP -MF term/$(DEPDIR)/kernel_exec-gfxterm.Tpo -c -o term/kernel_exec-gfxterm.obj `if test -f 'term/gfxterm.c'; then $(CYGPATH_W) 'term/gfxterm.c'; else $(CYGPATH_W) '$(srcdir)/term/gfxterm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/kernel_exec-gfxterm.Tpo term/$(DEPDIR)/kernel_exec-gfxterm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/gfxterm.c' object='term/kernel_exec-gfxterm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o term/kernel_exec-gfxterm.obj `if test -f 'term/gfxterm.c'; then $(CYGPATH_W) 'term/gfxterm.c'; else $(CYGPATH_W) '$(srcdir)/term/gfxterm.c'; fi` + +font/kernel_exec-font.o: font/font.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT font/kernel_exec-font.o -MD -MP -MF font/$(DEPDIR)/kernel_exec-font.Tpo -c -o font/kernel_exec-font.o `test -f 'font/font.c' || echo '$(srcdir)/'`font/font.c +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/kernel_exec-font.Tpo font/$(DEPDIR)/kernel_exec-font.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font.c' object='font/kernel_exec-font.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o font/kernel_exec-font.o `test -f 'font/font.c' || echo '$(srcdir)/'`font/font.c + +font/kernel_exec-font.obj: font/font.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT font/kernel_exec-font.obj -MD -MP -MF font/$(DEPDIR)/kernel_exec-font.Tpo -c -o font/kernel_exec-font.obj `if test -f 'font/font.c'; then $(CYGPATH_W) 'font/font.c'; else $(CYGPATH_W) '$(srcdir)/font/font.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/kernel_exec-font.Tpo font/$(DEPDIR)/kernel_exec-font.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font.c' object='font/kernel_exec-font.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o font/kernel_exec-font.obj `if test -f 'font/font.c'; then $(CYGPATH_W) 'font/font.c'; else $(CYGPATH_W) '$(srcdir)/font/font.c'; fi` + +font/kernel_exec-font_cmd.o: font/font_cmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT font/kernel_exec-font_cmd.o -MD -MP -MF font/$(DEPDIR)/kernel_exec-font_cmd.Tpo -c -o font/kernel_exec-font_cmd.o `test -f 'font/font_cmd.c' || echo '$(srcdir)/'`font/font_cmd.c +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/kernel_exec-font_cmd.Tpo font/$(DEPDIR)/kernel_exec-font_cmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font_cmd.c' object='font/kernel_exec-font_cmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o font/kernel_exec-font_cmd.o `test -f 'font/font_cmd.c' || echo '$(srcdir)/'`font/font_cmd.c + +font/kernel_exec-font_cmd.obj: font/font_cmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT font/kernel_exec-font_cmd.obj -MD -MP -MF font/$(DEPDIR)/kernel_exec-font_cmd.Tpo -c -o font/kernel_exec-font_cmd.obj `if test -f 'font/font_cmd.c'; then $(CYGPATH_W) 'font/font_cmd.c'; else $(CYGPATH_W) '$(srcdir)/font/font_cmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) font/$(DEPDIR)/kernel_exec-font_cmd.Tpo font/$(DEPDIR)/kernel_exec-font_cmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='font/font_cmd.c' object='font/kernel_exec-font_cmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o font/kernel_exec-font_cmd.obj `if test -f 'font/font_cmd.c'; then $(CYGPATH_W) 'font/font_cmd.c'; else $(CYGPATH_W) '$(srcdir)/font/font_cmd.c'; fi` + +io/kernel_exec-bufio.o: io/bufio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT io/kernel_exec-bufio.o -MD -MP -MF io/$(DEPDIR)/kernel_exec-bufio.Tpo -c -o io/kernel_exec-bufio.o `test -f 'io/bufio.c' || echo '$(srcdir)/'`io/bufio.c +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/kernel_exec-bufio.Tpo io/$(DEPDIR)/kernel_exec-bufio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/bufio.c' object='io/kernel_exec-bufio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o io/kernel_exec-bufio.o `test -f 'io/bufio.c' || echo '$(srcdir)/'`io/bufio.c + +io/kernel_exec-bufio.obj: io/bufio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT io/kernel_exec-bufio.obj -MD -MP -MF io/$(DEPDIR)/kernel_exec-bufio.Tpo -c -o io/kernel_exec-bufio.obj `if test -f 'io/bufio.c'; then $(CYGPATH_W) 'io/bufio.c'; else $(CYGPATH_W) '$(srcdir)/io/bufio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/kernel_exec-bufio.Tpo io/$(DEPDIR)/kernel_exec-bufio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/bufio.c' object='io/kernel_exec-bufio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o io/kernel_exec-bufio.obj `if test -f 'io/bufio.c'; then $(CYGPATH_W) 'io/bufio.c'; else $(CYGPATH_W) '$(srcdir)/io/bufio.c'; fi` + +video/kernel_exec-bitmap.o: video/bitmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-bitmap.o -MD -MP -MF video/$(DEPDIR)/kernel_exec-bitmap.Tpo -c -o video/kernel_exec-bitmap.o `test -f 'video/bitmap.c' || echo '$(srcdir)/'`video/bitmap.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-bitmap.Tpo video/$(DEPDIR)/kernel_exec-bitmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap.c' object='video/kernel_exec-bitmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-bitmap.o `test -f 'video/bitmap.c' || echo '$(srcdir)/'`video/bitmap.c + +video/kernel_exec-bitmap.obj: video/bitmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-bitmap.obj -MD -MP -MF video/$(DEPDIR)/kernel_exec-bitmap.Tpo -c -o video/kernel_exec-bitmap.obj `if test -f 'video/bitmap.c'; then $(CYGPATH_W) 'video/bitmap.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-bitmap.Tpo video/$(DEPDIR)/kernel_exec-bitmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap.c' object='video/kernel_exec-bitmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-bitmap.obj `if test -f 'video/bitmap.c'; then $(CYGPATH_W) 'video/bitmap.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap.c'; fi` + +video/kernel_exec-bitmap_scale.o: video/bitmap_scale.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-bitmap_scale.o -MD -MP -MF video/$(DEPDIR)/kernel_exec-bitmap_scale.Tpo -c -o video/kernel_exec-bitmap_scale.o `test -f 'video/bitmap_scale.c' || echo '$(srcdir)/'`video/bitmap_scale.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-bitmap_scale.Tpo video/$(DEPDIR)/kernel_exec-bitmap_scale.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap_scale.c' object='video/kernel_exec-bitmap_scale.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-bitmap_scale.o `test -f 'video/bitmap_scale.c' || echo '$(srcdir)/'`video/bitmap_scale.c + +video/kernel_exec-bitmap_scale.obj: video/bitmap_scale.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-bitmap_scale.obj -MD -MP -MF video/$(DEPDIR)/kernel_exec-bitmap_scale.Tpo -c -o video/kernel_exec-bitmap_scale.obj `if test -f 'video/bitmap_scale.c'; then $(CYGPATH_W) 'video/bitmap_scale.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap_scale.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-bitmap_scale.Tpo video/$(DEPDIR)/kernel_exec-bitmap_scale.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bitmap_scale.c' object='video/kernel_exec-bitmap_scale.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-bitmap_scale.obj `if test -f 'video/bitmap_scale.c'; then $(CYGPATH_W) 'video/bitmap_scale.c'; else $(CYGPATH_W) '$(srcdir)/video/bitmap_scale.c'; fi` + +video/fb/kernel_exec-fbblit.o: video/fb/fbblit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-fbblit.o -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-fbblit.Tpo -c -o video/fb/kernel_exec-fbblit.o `test -f 'video/fb/fbblit.c' || echo '$(srcdir)/'`video/fb/fbblit.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-fbblit.Tpo video/fb/$(DEPDIR)/kernel_exec-fbblit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbblit.c' object='video/fb/kernel_exec-fbblit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-fbblit.o `test -f 'video/fb/fbblit.c' || echo '$(srcdir)/'`video/fb/fbblit.c + +video/fb/kernel_exec-fbblit.obj: video/fb/fbblit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-fbblit.obj -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-fbblit.Tpo -c -o video/fb/kernel_exec-fbblit.obj `if test -f 'video/fb/fbblit.c'; then $(CYGPATH_W) 'video/fb/fbblit.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbblit.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-fbblit.Tpo video/fb/$(DEPDIR)/kernel_exec-fbblit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbblit.c' object='video/fb/kernel_exec-fbblit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-fbblit.obj `if test -f 'video/fb/fbblit.c'; then $(CYGPATH_W) 'video/fb/fbblit.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbblit.c'; fi` + +video/fb/kernel_exec-fbfill.o: video/fb/fbfill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-fbfill.o -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-fbfill.Tpo -c -o video/fb/kernel_exec-fbfill.o `test -f 'video/fb/fbfill.c' || echo '$(srcdir)/'`video/fb/fbfill.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-fbfill.Tpo video/fb/$(DEPDIR)/kernel_exec-fbfill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbfill.c' object='video/fb/kernel_exec-fbfill.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-fbfill.o `test -f 'video/fb/fbfill.c' || echo '$(srcdir)/'`video/fb/fbfill.c + +video/fb/kernel_exec-fbfill.obj: video/fb/fbfill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-fbfill.obj -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-fbfill.Tpo -c -o video/fb/kernel_exec-fbfill.obj `if test -f 'video/fb/fbfill.c'; then $(CYGPATH_W) 'video/fb/fbfill.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbfill.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-fbfill.Tpo video/fb/$(DEPDIR)/kernel_exec-fbfill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbfill.c' object='video/fb/kernel_exec-fbfill.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-fbfill.obj `if test -f 'video/fb/fbfill.c'; then $(CYGPATH_W) 'video/fb/fbfill.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbfill.c'; fi` + +video/fb/kernel_exec-fbutil.o: video/fb/fbutil.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-fbutil.o -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-fbutil.Tpo -c -o video/fb/kernel_exec-fbutil.o `test -f 'video/fb/fbutil.c' || echo '$(srcdir)/'`video/fb/fbutil.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-fbutil.Tpo video/fb/$(DEPDIR)/kernel_exec-fbutil.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbutil.c' object='video/fb/kernel_exec-fbutil.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-fbutil.o `test -f 'video/fb/fbutil.c' || echo '$(srcdir)/'`video/fb/fbutil.c + +video/fb/kernel_exec-fbutil.obj: video/fb/fbutil.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-fbutil.obj -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-fbutil.Tpo -c -o video/fb/kernel_exec-fbutil.obj `if test -f 'video/fb/fbutil.c'; then $(CYGPATH_W) 'video/fb/fbutil.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbutil.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-fbutil.Tpo video/fb/$(DEPDIR)/kernel_exec-fbutil.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbutil.c' object='video/fb/kernel_exec-fbutil.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-fbutil.obj `if test -f 'video/fb/fbutil.c'; then $(CYGPATH_W) 'video/fb/fbutil.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbutil.c'; fi` + +video/fb/kernel_exec-video_fb.o: video/fb/video_fb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-video_fb.o -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-video_fb.Tpo -c -o video/fb/kernel_exec-video_fb.o `test -f 'video/fb/video_fb.c' || echo '$(srcdir)/'`video/fb/video_fb.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-video_fb.Tpo video/fb/$(DEPDIR)/kernel_exec-video_fb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/video_fb.c' object='video/fb/kernel_exec-video_fb.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-video_fb.o `test -f 'video/fb/video_fb.c' || echo '$(srcdir)/'`video/fb/video_fb.c + +video/fb/kernel_exec-video_fb.obj: video/fb/video_fb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/fb/kernel_exec-video_fb.obj -MD -MP -MF video/fb/$(DEPDIR)/kernel_exec-video_fb.Tpo -c -o video/fb/kernel_exec-video_fb.obj `if test -f 'video/fb/video_fb.c'; then $(CYGPATH_W) 'video/fb/video_fb.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/video_fb.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/kernel_exec-video_fb.Tpo video/fb/$(DEPDIR)/kernel_exec-video_fb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/video_fb.c' object='video/fb/kernel_exec-video_fb.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/fb/kernel_exec-video_fb.obj `if test -f 'video/fb/video_fb.c'; then $(CYGPATH_W) 'video/fb/video_fb.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/video_fb.c'; fi` + +video/kernel_exec-video.o: video/video.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-video.o -MD -MP -MF video/$(DEPDIR)/kernel_exec-video.Tpo -c -o video/kernel_exec-video.o `test -f 'video/video.c' || echo '$(srcdir)/'`video/video.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-video.Tpo video/$(DEPDIR)/kernel_exec-video.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/video.c' object='video/kernel_exec-video.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-video.o `test -f 'video/video.c' || echo '$(srcdir)/'`video/video.c + +video/kernel_exec-video.obj: video/video.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT video/kernel_exec-video.obj -MD -MP -MF video/$(DEPDIR)/kernel_exec-video.Tpo -c -o video/kernel_exec-video.obj `if test -f 'video/video.c'; then $(CYGPATH_W) 'video/video.c'; else $(CYGPATH_W) '$(srcdir)/video/video.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/kernel_exec-video.Tpo video/$(DEPDIR)/kernel_exec-video.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/video.c' object='video/kernel_exec-video.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o video/kernel_exec-video.obj `if test -f 'video/video.c'; then $(CYGPATH_W) 'video/video.c'; else $(CYGPATH_W) '$(srcdir)/video/video.c'; fi` + +commands/kernel_exec-boot.o: commands/boot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT commands/kernel_exec-boot.o -MD -MP -MF commands/$(DEPDIR)/kernel_exec-boot.Tpo -c -o commands/kernel_exec-boot.o `test -f 'commands/boot.c' || echo '$(srcdir)/'`commands/boot.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/kernel_exec-boot.Tpo commands/$(DEPDIR)/kernel_exec-boot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/boot.c' object='commands/kernel_exec-boot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o commands/kernel_exec-boot.o `test -f 'commands/boot.c' || echo '$(srcdir)/'`commands/boot.c + +commands/kernel_exec-boot.obj: commands/boot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT commands/kernel_exec-boot.obj -MD -MP -MF commands/$(DEPDIR)/kernel_exec-boot.Tpo -c -o commands/kernel_exec-boot.obj `if test -f 'commands/boot.c'; then $(CYGPATH_W) 'commands/boot.c'; else $(CYGPATH_W) '$(srcdir)/commands/boot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/kernel_exec-boot.Tpo commands/$(DEPDIR)/kernel_exec-boot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/boot.c' object='commands/kernel_exec-boot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o commands/kernel_exec-boot.obj `if test -f 'commands/boot.c'; then $(CYGPATH_W) 'commands/boot.c'; else $(CYGPATH_W) '$(srcdir)/commands/boot.c'; fi` + +kern/powerpc/kernel_exec-dl.o: kern/powerpc/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/powerpc/kernel_exec-dl.o -MD -MP -MF kern/powerpc/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/powerpc/kernel_exec-dl.o `test -f 'kern/powerpc/dl.c' || echo '$(srcdir)/'`kern/powerpc/dl.c +@am__fastdepCC_TRUE@ $(am__mv) kern/powerpc/$(DEPDIR)/kernel_exec-dl.Tpo kern/powerpc/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/powerpc/dl.c' object='kern/powerpc/kernel_exec-dl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/powerpc/kernel_exec-dl.o `test -f 'kern/powerpc/dl.c' || echo '$(srcdir)/'`kern/powerpc/dl.c + +kern/powerpc/kernel_exec-dl.obj: kern/powerpc/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/powerpc/kernel_exec-dl.obj -MD -MP -MF kern/powerpc/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/powerpc/kernel_exec-dl.obj `if test -f 'kern/powerpc/dl.c'; then $(CYGPATH_W) 'kern/powerpc/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/powerpc/dl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/powerpc/$(DEPDIR)/kernel_exec-dl.Tpo kern/powerpc/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/powerpc/dl.c' object='kern/powerpc/kernel_exec-dl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/powerpc/kernel_exec-dl.obj `if test -f 'kern/powerpc/dl.c'; then $(CYGPATH_W) 'kern/powerpc/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/powerpc/dl.c'; fi` + +kern/sparc64/kernel_exec-dl.o: kern/sparc64/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/sparc64/kernel_exec-dl.o -MD -MP -MF kern/sparc64/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/sparc64/kernel_exec-dl.o `test -f 'kern/sparc64/dl.c' || echo '$(srcdir)/'`kern/sparc64/dl.c +@am__fastdepCC_TRUE@ $(am__mv) kern/sparc64/$(DEPDIR)/kernel_exec-dl.Tpo kern/sparc64/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/sparc64/dl.c' object='kern/sparc64/kernel_exec-dl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/sparc64/kernel_exec-dl.o `test -f 'kern/sparc64/dl.c' || echo '$(srcdir)/'`kern/sparc64/dl.c + +kern/sparc64/kernel_exec-dl.obj: kern/sparc64/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/sparc64/kernel_exec-dl.obj -MD -MP -MF kern/sparc64/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/sparc64/kernel_exec-dl.obj `if test -f 'kern/sparc64/dl.c'; then $(CYGPATH_W) 'kern/sparc64/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/dl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/sparc64/$(DEPDIR)/kernel_exec-dl.Tpo kern/sparc64/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/sparc64/dl.c' object='kern/sparc64/kernel_exec-dl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/sparc64/kernel_exec-dl.obj `if test -f 'kern/sparc64/dl.c'; then $(CYGPATH_W) 'kern/sparc64/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/dl.c'; fi` + +kern/sparc64/ieee1275/kernel_exec-ieee1275.o: kern/sparc64/ieee1275/ieee1275.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/sparc64/ieee1275/kernel_exec-ieee1275.o -MD -MP -MF kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo -c -o kern/sparc64/ieee1275/kernel_exec-ieee1275.o `test -f 'kern/sparc64/ieee1275/ieee1275.c' || echo '$(srcdir)/'`kern/sparc64/ieee1275/ieee1275.c +@am__fastdepCC_TRUE@ $(am__mv) kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/sparc64/ieee1275/ieee1275.c' object='kern/sparc64/ieee1275/kernel_exec-ieee1275.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/sparc64/ieee1275/kernel_exec-ieee1275.o `test -f 'kern/sparc64/ieee1275/ieee1275.c' || echo '$(srcdir)/'`kern/sparc64/ieee1275/ieee1275.c + +kern/sparc64/ieee1275/kernel_exec-ieee1275.obj: kern/sparc64/ieee1275/ieee1275.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/sparc64/ieee1275/kernel_exec-ieee1275.obj -MD -MP -MF kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo -c -o kern/sparc64/ieee1275/kernel_exec-ieee1275.obj `if test -f 'kern/sparc64/ieee1275/ieee1275.c'; then $(CYGPATH_W) 'kern/sparc64/ieee1275/ieee1275.c'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/ieee1275/ieee1275.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Tpo kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-ieee1275.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/sparc64/ieee1275/ieee1275.c' object='kern/sparc64/ieee1275/kernel_exec-ieee1275.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/sparc64/ieee1275/kernel_exec-ieee1275.obj `if test -f 'kern/sparc64/ieee1275/ieee1275.c'; then $(CYGPATH_W) 'kern/sparc64/ieee1275/ieee1275.c'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/ieee1275/ieee1275.c'; fi` + +kern/sparc64/ieee1275/kernel_exec-init.o: kern/sparc64/ieee1275/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/sparc64/ieee1275/kernel_exec-init.o -MD -MP -MF kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/sparc64/ieee1275/kernel_exec-init.o `test -f 'kern/sparc64/ieee1275/init.c' || echo '$(srcdir)/'`kern/sparc64/ieee1275/init.c +@am__fastdepCC_TRUE@ $(am__mv) kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/sparc64/ieee1275/init.c' object='kern/sparc64/ieee1275/kernel_exec-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/sparc64/ieee1275/kernel_exec-init.o `test -f 'kern/sparc64/ieee1275/init.c' || echo '$(srcdir)/'`kern/sparc64/ieee1275/init.c + +kern/sparc64/ieee1275/kernel_exec-init.obj: kern/sparc64/ieee1275/init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/sparc64/ieee1275/kernel_exec-init.obj -MD -MP -MF kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo -c -o kern/sparc64/ieee1275/kernel_exec-init.obj `if test -f 'kern/sparc64/ieee1275/init.c'; then $(CYGPATH_W) 'kern/sparc64/ieee1275/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/ieee1275/init.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Tpo kern/sparc64/ieee1275/$(DEPDIR)/kernel_exec-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/sparc64/ieee1275/init.c' object='kern/sparc64/ieee1275/kernel_exec-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/sparc64/ieee1275/kernel_exec-init.obj `if test -f 'kern/sparc64/ieee1275/init.c'; then $(CYGPATH_W) 'kern/sparc64/ieee1275/init.c'; else $(CYGPATH_W) '$(srcdir)/kern/sparc64/ieee1275/init.c'; fi` + +kern/x86_64/kernel_exec-dl.o: kern/x86_64/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/x86_64/kernel_exec-dl.o -MD -MP -MF kern/x86_64/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/x86_64/kernel_exec-dl.o `test -f 'kern/x86_64/dl.c' || echo '$(srcdir)/'`kern/x86_64/dl.c +@am__fastdepCC_TRUE@ $(am__mv) kern/x86_64/$(DEPDIR)/kernel_exec-dl.Tpo kern/x86_64/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/x86_64/dl.c' object='kern/x86_64/kernel_exec-dl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/x86_64/kernel_exec-dl.o `test -f 'kern/x86_64/dl.c' || echo '$(srcdir)/'`kern/x86_64/dl.c + +kern/x86_64/kernel_exec-dl.obj: kern/x86_64/dl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kern/x86_64/kernel_exec-dl.obj -MD -MP -MF kern/x86_64/$(DEPDIR)/kernel_exec-dl.Tpo -c -o kern/x86_64/kernel_exec-dl.obj `if test -f 'kern/x86_64/dl.c'; then $(CYGPATH_W) 'kern/x86_64/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/x86_64/dl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) kern/x86_64/$(DEPDIR)/kernel_exec-dl.Tpo kern/x86_64/$(DEPDIR)/kernel_exec-dl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kern/x86_64/dl.c' object='kern/x86_64/kernel_exec-dl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kern/x86_64/kernel_exec-dl.obj `if test -f 'kern/x86_64/dl.c'; then $(CYGPATH_W) 'kern/x86_64/dl.c'; else $(CYGPATH_W) '$(srcdir)/kern/x86_64/dl.c'; fi` + +kernel_exec-symlist.o: symlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kernel_exec-symlist.o -MD -MP -MF $(DEPDIR)/kernel_exec-symlist.Tpo -c -o kernel_exec-symlist.o `test -f 'symlist.c' || echo '$(srcdir)/'`symlist.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/kernel_exec-symlist.Tpo $(DEPDIR)/kernel_exec-symlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='symlist.c' object='kernel_exec-symlist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kernel_exec-symlist.o `test -f 'symlist.c' || echo '$(srcdir)/'`symlist.c + +kernel_exec-symlist.obj: symlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -MT kernel_exec-symlist.obj -MD -MP -MF $(DEPDIR)/kernel_exec-symlist.Tpo -c -o kernel_exec-symlist.obj `if test -f 'symlist.c'; then $(CYGPATH_W) 'symlist.c'; else $(CYGPATH_W) '$(srcdir)/symlist.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/kernel_exec-symlist.Tpo $(DEPDIR)/kernel_exec-symlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='symlist.c' object='kernel_exec-symlist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(kernel_exec_CPPFLAGS) $(CPPFLAGS) $(kernel_exec_CFLAGS) $(CFLAGS) -c -o kernel_exec-symlist.obj `if test -f 'symlist.c'; then $(CYGPATH_W) 'symlist.c'; else $(CYGPATH_W) '$(srcdir)/symlist.c'; fi` + +commands/keylayouts_module-keylayouts.o: commands/keylayouts.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $(keylayouts_module_CFLAGS) $(CFLAGS) -MT commands/keylayouts_module-keylayouts.o -MD -MP -MF commands/$(DEPDIR)/keylayouts_module-keylayouts.Tpo -c -o commands/keylayouts_module-keylayouts.o `test -f 'commands/keylayouts.c' || echo '$(srcdir)/'`commands/keylayouts.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/keylayouts_module-keylayouts.Tpo commands/$(DEPDIR)/keylayouts_module-keylayouts.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/keylayouts.c' object='commands/keylayouts_module-keylayouts.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $(keylayouts_module_CFLAGS) $(CFLAGS) -c -o commands/keylayouts_module-keylayouts.o `test -f 'commands/keylayouts.c' || echo '$(srcdir)/'`commands/keylayouts.c + +commands/keylayouts_module-keylayouts.obj: commands/keylayouts.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $(keylayouts_module_CFLAGS) $(CFLAGS) -MT commands/keylayouts_module-keylayouts.obj -MD -MP -MF commands/$(DEPDIR)/keylayouts_module-keylayouts.Tpo -c -o commands/keylayouts_module-keylayouts.obj `if test -f 'commands/keylayouts.c'; then $(CYGPATH_W) 'commands/keylayouts.c'; else $(CYGPATH_W) '$(srcdir)/commands/keylayouts.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/keylayouts_module-keylayouts.Tpo commands/$(DEPDIR)/keylayouts_module-keylayouts.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/keylayouts.c' object='commands/keylayouts_module-keylayouts.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $(keylayouts_module_CFLAGS) $(CFLAGS) -c -o commands/keylayouts_module-keylayouts.obj `if test -f 'commands/keylayouts.c'; then $(CYGPATH_W) 'commands/keylayouts.c'; else $(CYGPATH_W) '$(srcdir)/commands/keylayouts.c'; fi` + +commands/keystatus_module-keystatus.o: commands/keystatus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $(keystatus_module_CFLAGS) $(CFLAGS) -MT commands/keystatus_module-keystatus.o -MD -MP -MF commands/$(DEPDIR)/keystatus_module-keystatus.Tpo -c -o commands/keystatus_module-keystatus.o `test -f 'commands/keystatus.c' || echo '$(srcdir)/'`commands/keystatus.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/keystatus_module-keystatus.Tpo commands/$(DEPDIR)/keystatus_module-keystatus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/keystatus.c' object='commands/keystatus_module-keystatus.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $(keystatus_module_CFLAGS) $(CFLAGS) -c -o commands/keystatus_module-keystatus.o `test -f 'commands/keystatus.c' || echo '$(srcdir)/'`commands/keystatus.c + +commands/keystatus_module-keystatus.obj: commands/keystatus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $(keystatus_module_CFLAGS) $(CFLAGS) -MT commands/keystatus_module-keystatus.obj -MD -MP -MF commands/$(DEPDIR)/keystatus_module-keystatus.Tpo -c -o commands/keystatus_module-keystatus.obj `if test -f 'commands/keystatus.c'; then $(CYGPATH_W) 'commands/keystatus.c'; else $(CYGPATH_W) '$(srcdir)/commands/keystatus.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/keystatus_module-keystatus.Tpo commands/$(DEPDIR)/keystatus_module-keystatus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/keystatus.c' object='commands/keystatus_module-keystatus.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $(keystatus_module_CFLAGS) $(CFLAGS) -c -o commands/keystatus_module-keystatus.obj `if test -f 'commands/keystatus.c'; then $(CYGPATH_W) 'commands/keystatus.c'; else $(CYGPATH_W) '$(srcdir)/commands/keystatus.c'; fi` + +lib/i386/pc/legacycfg_module-vesa_modes_table.o: lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -MT lib/i386/pc/legacycfg_module-vesa_modes_table.o -MD -MP -MF lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Tpo -c -o lib/i386/pc/legacycfg_module-vesa_modes_table.o `test -f 'lib/i386/pc/vesa_modes_table.c' || echo '$(srcdir)/'`lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Tpo lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/pc/vesa_modes_table.c' object='lib/i386/pc/legacycfg_module-vesa_modes_table.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -c -o lib/i386/pc/legacycfg_module-vesa_modes_table.o `test -f 'lib/i386/pc/vesa_modes_table.c' || echo '$(srcdir)/'`lib/i386/pc/vesa_modes_table.c + +lib/i386/pc/legacycfg_module-vesa_modes_table.obj: lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -MT lib/i386/pc/legacycfg_module-vesa_modes_table.obj -MD -MP -MF lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Tpo -c -o lib/i386/pc/legacycfg_module-vesa_modes_table.obj `if test -f 'lib/i386/pc/vesa_modes_table.c'; then $(CYGPATH_W) 'lib/i386/pc/vesa_modes_table.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/pc/vesa_modes_table.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Tpo lib/i386/pc/$(DEPDIR)/legacycfg_module-vesa_modes_table.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/pc/vesa_modes_table.c' object='lib/i386/pc/legacycfg_module-vesa_modes_table.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -c -o lib/i386/pc/legacycfg_module-vesa_modes_table.obj `if test -f 'lib/i386/pc/vesa_modes_table.c'; then $(CYGPATH_W) 'lib/i386/pc/vesa_modes_table.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/pc/vesa_modes_table.c'; fi` + +commands/legacycfg_module-legacycfg.o: commands/legacycfg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -MT commands/legacycfg_module-legacycfg.o -MD -MP -MF commands/$(DEPDIR)/legacycfg_module-legacycfg.Tpo -c -o commands/legacycfg_module-legacycfg.o `test -f 'commands/legacycfg.c' || echo '$(srcdir)/'`commands/legacycfg.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/legacycfg_module-legacycfg.Tpo commands/$(DEPDIR)/legacycfg_module-legacycfg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/legacycfg.c' object='commands/legacycfg_module-legacycfg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -c -o commands/legacycfg_module-legacycfg.o `test -f 'commands/legacycfg.c' || echo '$(srcdir)/'`commands/legacycfg.c + +commands/legacycfg_module-legacycfg.obj: commands/legacycfg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -MT commands/legacycfg_module-legacycfg.obj -MD -MP -MF commands/$(DEPDIR)/legacycfg_module-legacycfg.Tpo -c -o commands/legacycfg_module-legacycfg.obj `if test -f 'commands/legacycfg.c'; then $(CYGPATH_W) 'commands/legacycfg.c'; else $(CYGPATH_W) '$(srcdir)/commands/legacycfg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/legacycfg_module-legacycfg.Tpo commands/$(DEPDIR)/legacycfg_module-legacycfg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/legacycfg.c' object='commands/legacycfg_module-legacycfg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -c -o commands/legacycfg_module-legacycfg.obj `if test -f 'commands/legacycfg.c'; then $(CYGPATH_W) 'commands/legacycfg.c'; else $(CYGPATH_W) '$(srcdir)/commands/legacycfg.c'; fi` + +lib/legacycfg_module-legacy_parse.o: lib/legacy_parse.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -MT lib/legacycfg_module-legacy_parse.o -MD -MP -MF lib/$(DEPDIR)/legacycfg_module-legacy_parse.Tpo -c -o lib/legacycfg_module-legacy_parse.o `test -f 'lib/legacy_parse.c' || echo '$(srcdir)/'`lib/legacy_parse.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/legacycfg_module-legacy_parse.Tpo lib/$(DEPDIR)/legacycfg_module-legacy_parse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/legacy_parse.c' object='lib/legacycfg_module-legacy_parse.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -c -o lib/legacycfg_module-legacy_parse.o `test -f 'lib/legacy_parse.c' || echo '$(srcdir)/'`lib/legacy_parse.c + +lib/legacycfg_module-legacy_parse.obj: lib/legacy_parse.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -MT lib/legacycfg_module-legacy_parse.obj -MD -MP -MF lib/$(DEPDIR)/legacycfg_module-legacy_parse.Tpo -c -o lib/legacycfg_module-legacy_parse.obj `if test -f 'lib/legacy_parse.c'; then $(CYGPATH_W) 'lib/legacy_parse.c'; else $(CYGPATH_W) '$(srcdir)/lib/legacy_parse.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/legacycfg_module-legacy_parse.Tpo lib/$(DEPDIR)/legacycfg_module-legacy_parse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/legacy_parse.c' object='lib/legacycfg_module-legacy_parse.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $(legacycfg_module_CFLAGS) $(CFLAGS) -c -o lib/legacycfg_module-legacy_parse.obj `if test -f 'lib/legacy_parse.c'; then $(CYGPATH_W) 'lib/legacy_parse.c'; else $(CYGPATH_W) '$(srcdir)/lib/legacy_parse.c'; fi` + +bus/usb/emu/libusb_module-usb.o: bus/usb/emu/usb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libusb_module_CPPFLAGS) $(CPPFLAGS) $(libusb_module_CFLAGS) $(CFLAGS) -MT bus/usb/emu/libusb_module-usb.o -MD -MP -MF bus/usb/emu/$(DEPDIR)/libusb_module-usb.Tpo -c -o bus/usb/emu/libusb_module-usb.o `test -f 'bus/usb/emu/usb.c' || echo '$(srcdir)/'`bus/usb/emu/usb.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/emu/$(DEPDIR)/libusb_module-usb.Tpo bus/usb/emu/$(DEPDIR)/libusb_module-usb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/emu/usb.c' object='bus/usb/emu/libusb_module-usb.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libusb_module_CPPFLAGS) $(CPPFLAGS) $(libusb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/emu/libusb_module-usb.o `test -f 'bus/usb/emu/usb.c' || echo '$(srcdir)/'`bus/usb/emu/usb.c + +bus/usb/emu/libusb_module-usb.obj: bus/usb/emu/usb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libusb_module_CPPFLAGS) $(CPPFLAGS) $(libusb_module_CFLAGS) $(CFLAGS) -MT bus/usb/emu/libusb_module-usb.obj -MD -MP -MF bus/usb/emu/$(DEPDIR)/libusb_module-usb.Tpo -c -o bus/usb/emu/libusb_module-usb.obj `if test -f 'bus/usb/emu/usb.c'; then $(CYGPATH_W) 'bus/usb/emu/usb.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/emu/usb.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/emu/$(DEPDIR)/libusb_module-usb.Tpo bus/usb/emu/$(DEPDIR)/libusb_module-usb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/emu/usb.c' object='bus/usb/emu/libusb_module-usb.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libusb_module_CPPFLAGS) $(CPPFLAGS) $(libusb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/emu/libusb_module-usb.obj `if test -f 'bus/usb/emu/usb.c'; then $(CYGPATH_W) 'bus/usb/emu/usb.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/emu/usb.c'; fi` + +loader/i386/linux_module-linux.o: loader/i386/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/i386/linux_module-linux.o -MD -MP -MF loader/i386/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/i386/linux_module-linux.o `test -f 'loader/i386/linux.c' || echo '$(srcdir)/'`loader/i386/linux.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/linux_module-linux.Tpo loader/i386/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/linux.c' object='loader/i386/linux_module-linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/i386/linux_module-linux.o `test -f 'loader/i386/linux.c' || echo '$(srcdir)/'`loader/i386/linux.c + +loader/i386/linux_module-linux.obj: loader/i386/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/i386/linux_module-linux.obj -MD -MP -MF loader/i386/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/i386/linux_module-linux.obj `if test -f 'loader/i386/linux.c'; then $(CYGPATH_W) 'loader/i386/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/linux_module-linux.Tpo loader/i386/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/linux.c' object='loader/i386/linux_module-linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/i386/linux_module-linux.obj `if test -f 'loader/i386/linux.c'; then $(CYGPATH_W) 'loader/i386/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/linux.c'; fi` + +lib/linux_module-cmdline.o: lib/cmdline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT lib/linux_module-cmdline.o -MD -MP -MF lib/$(DEPDIR)/linux_module-cmdline.Tpo -c -o lib/linux_module-cmdline.o `test -f 'lib/cmdline.c' || echo '$(srcdir)/'`lib/cmdline.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/linux_module-cmdline.Tpo lib/$(DEPDIR)/linux_module-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cmdline.c' object='lib/linux_module-cmdline.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o lib/linux_module-cmdline.o `test -f 'lib/cmdline.c' || echo '$(srcdir)/'`lib/cmdline.c + +lib/linux_module-cmdline.obj: lib/cmdline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT lib/linux_module-cmdline.obj -MD -MP -MF lib/$(DEPDIR)/linux_module-cmdline.Tpo -c -o lib/linux_module-cmdline.obj `if test -f 'lib/cmdline.c'; then $(CYGPATH_W) 'lib/cmdline.c'; else $(CYGPATH_W) '$(srcdir)/lib/cmdline.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/linux_module-cmdline.Tpo lib/$(DEPDIR)/linux_module-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cmdline.c' object='lib/linux_module-cmdline.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o lib/linux_module-cmdline.obj `if test -f 'lib/cmdline.c'; then $(CYGPATH_W) 'lib/cmdline.c'; else $(CYGPATH_W) '$(srcdir)/lib/cmdline.c'; fi` + +lib/i386/pc/linux_module-vesa_modes_table.o: lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT lib/i386/pc/linux_module-vesa_modes_table.o -MD -MP -MF lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Tpo -c -o lib/i386/pc/linux_module-vesa_modes_table.o `test -f 'lib/i386/pc/vesa_modes_table.c' || echo '$(srcdir)/'`lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Tpo lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/pc/vesa_modes_table.c' object='lib/i386/pc/linux_module-vesa_modes_table.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o lib/i386/pc/linux_module-vesa_modes_table.o `test -f 'lib/i386/pc/vesa_modes_table.c' || echo '$(srcdir)/'`lib/i386/pc/vesa_modes_table.c + +lib/i386/pc/linux_module-vesa_modes_table.obj: lib/i386/pc/vesa_modes_table.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT lib/i386/pc/linux_module-vesa_modes_table.obj -MD -MP -MF lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Tpo -c -o lib/i386/pc/linux_module-vesa_modes_table.obj `if test -f 'lib/i386/pc/vesa_modes_table.c'; then $(CYGPATH_W) 'lib/i386/pc/vesa_modes_table.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/pc/vesa_modes_table.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Tpo lib/i386/pc/$(DEPDIR)/linux_module-vesa_modes_table.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/pc/vesa_modes_table.c' object='lib/i386/pc/linux_module-vesa_modes_table.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o lib/i386/pc/linux_module-vesa_modes_table.obj `if test -f 'lib/i386/pc/vesa_modes_table.c'; then $(CYGPATH_W) 'lib/i386/pc/vesa_modes_table.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/pc/vesa_modes_table.c'; fi` + +loader/mips/linux_module-linux.o: loader/mips/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/mips/linux_module-linux.o -MD -MP -MF loader/mips/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/mips/linux_module-linux.o `test -f 'loader/mips/linux.c' || echo '$(srcdir)/'`loader/mips/linux.c +@am__fastdepCC_TRUE@ $(am__mv) loader/mips/$(DEPDIR)/linux_module-linux.Tpo loader/mips/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/mips/linux.c' object='loader/mips/linux_module-linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/mips/linux_module-linux.o `test -f 'loader/mips/linux.c' || echo '$(srcdir)/'`loader/mips/linux.c + +loader/mips/linux_module-linux.obj: loader/mips/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/mips/linux_module-linux.obj -MD -MP -MF loader/mips/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/mips/linux_module-linux.obj `if test -f 'loader/mips/linux.c'; then $(CYGPATH_W) 'loader/mips/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/mips/linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/mips/$(DEPDIR)/linux_module-linux.Tpo loader/mips/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/mips/linux.c' object='loader/mips/linux_module-linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/mips/linux_module-linux.obj `if test -f 'loader/mips/linux.c'; then $(CYGPATH_W) 'loader/mips/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/mips/linux.c'; fi` + +loader/powerpc/ieee1275/linux_module-linux.o: loader/powerpc/ieee1275/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/powerpc/ieee1275/linux_module-linux.o -MD -MP -MF loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/powerpc/ieee1275/linux_module-linux.o `test -f 'loader/powerpc/ieee1275/linux.c' || echo '$(srcdir)/'`loader/powerpc/ieee1275/linux.c +@am__fastdepCC_TRUE@ $(am__mv) loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Tpo loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/powerpc/ieee1275/linux.c' object='loader/powerpc/ieee1275/linux_module-linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/powerpc/ieee1275/linux_module-linux.o `test -f 'loader/powerpc/ieee1275/linux.c' || echo '$(srcdir)/'`loader/powerpc/ieee1275/linux.c + +loader/powerpc/ieee1275/linux_module-linux.obj: loader/powerpc/ieee1275/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/powerpc/ieee1275/linux_module-linux.obj -MD -MP -MF loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/powerpc/ieee1275/linux_module-linux.obj `if test -f 'loader/powerpc/ieee1275/linux.c'; then $(CYGPATH_W) 'loader/powerpc/ieee1275/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/powerpc/ieee1275/linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Tpo loader/powerpc/ieee1275/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/powerpc/ieee1275/linux.c' object='loader/powerpc/ieee1275/linux_module-linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/powerpc/ieee1275/linux_module-linux.obj `if test -f 'loader/powerpc/ieee1275/linux.c'; then $(CYGPATH_W) 'loader/powerpc/ieee1275/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/powerpc/ieee1275/linux.c'; fi` + +loader/sparc64/ieee1275/linux_module-linux.o: loader/sparc64/ieee1275/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/sparc64/ieee1275/linux_module-linux.o -MD -MP -MF loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/sparc64/ieee1275/linux_module-linux.o `test -f 'loader/sparc64/ieee1275/linux.c' || echo '$(srcdir)/'`loader/sparc64/ieee1275/linux.c +@am__fastdepCC_TRUE@ $(am__mv) loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Tpo loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/sparc64/ieee1275/linux.c' object='loader/sparc64/ieee1275/linux_module-linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/sparc64/ieee1275/linux_module-linux.o `test -f 'loader/sparc64/ieee1275/linux.c' || echo '$(srcdir)/'`loader/sparc64/ieee1275/linux.c + +loader/sparc64/ieee1275/linux_module-linux.obj: loader/sparc64/ieee1275/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -MT loader/sparc64/ieee1275/linux_module-linux.obj -MD -MP -MF loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Tpo -c -o loader/sparc64/ieee1275/linux_module-linux.obj `if test -f 'loader/sparc64/ieee1275/linux.c'; then $(CYGPATH_W) 'loader/sparc64/ieee1275/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/sparc64/ieee1275/linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Tpo loader/sparc64/ieee1275/$(DEPDIR)/linux_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/sparc64/ieee1275/linux.c' object='loader/sparc64/ieee1275/linux_module-linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $(linux_module_CFLAGS) $(CFLAGS) -c -o loader/sparc64/ieee1275/linux_module-linux.obj `if test -f 'loader/sparc64/ieee1275/linux.c'; then $(CYGPATH_W) 'loader/sparc64/ieee1275/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/sparc64/ieee1275/linux.c'; fi` + +loader/i386/pc/linux16_module-linux.o: loader/i386/pc/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -MT loader/i386/pc/linux16_module-linux.o -MD -MP -MF loader/i386/pc/$(DEPDIR)/linux16_module-linux.Tpo -c -o loader/i386/pc/linux16_module-linux.o `test -f 'loader/i386/pc/linux.c' || echo '$(srcdir)/'`loader/i386/pc/linux.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/pc/$(DEPDIR)/linux16_module-linux.Tpo loader/i386/pc/$(DEPDIR)/linux16_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/pc/linux.c' object='loader/i386/pc/linux16_module-linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -c -o loader/i386/pc/linux16_module-linux.o `test -f 'loader/i386/pc/linux.c' || echo '$(srcdir)/'`loader/i386/pc/linux.c + +loader/i386/pc/linux16_module-linux.obj: loader/i386/pc/linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -MT loader/i386/pc/linux16_module-linux.obj -MD -MP -MF loader/i386/pc/$(DEPDIR)/linux16_module-linux.Tpo -c -o loader/i386/pc/linux16_module-linux.obj `if test -f 'loader/i386/pc/linux.c'; then $(CYGPATH_W) 'loader/i386/pc/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/pc/linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/pc/$(DEPDIR)/linux16_module-linux.Tpo loader/i386/pc/$(DEPDIR)/linux16_module-linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/pc/linux.c' object='loader/i386/pc/linux16_module-linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -c -o loader/i386/pc/linux16_module-linux.obj `if test -f 'loader/i386/pc/linux.c'; then $(CYGPATH_W) 'loader/i386/pc/linux.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/pc/linux.c'; fi` + +lib/linux16_module-cmdline.o: lib/cmdline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -MT lib/linux16_module-cmdline.o -MD -MP -MF lib/$(DEPDIR)/linux16_module-cmdline.Tpo -c -o lib/linux16_module-cmdline.o `test -f 'lib/cmdline.c' || echo '$(srcdir)/'`lib/cmdline.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/linux16_module-cmdline.Tpo lib/$(DEPDIR)/linux16_module-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cmdline.c' object='lib/linux16_module-cmdline.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -c -o lib/linux16_module-cmdline.o `test -f 'lib/cmdline.c' || echo '$(srcdir)/'`lib/cmdline.c + +lib/linux16_module-cmdline.obj: lib/cmdline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -MT lib/linux16_module-cmdline.obj -MD -MP -MF lib/$(DEPDIR)/linux16_module-cmdline.Tpo -c -o lib/linux16_module-cmdline.obj `if test -f 'lib/cmdline.c'; then $(CYGPATH_W) 'lib/cmdline.c'; else $(CYGPATH_W) '$(srcdir)/lib/cmdline.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/linux16_module-cmdline.Tpo lib/$(DEPDIR)/linux16_module-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cmdline.c' object='lib/linux16_module-cmdline.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $(linux16_module_CFLAGS) $(CFLAGS) -c -o lib/linux16_module-cmdline.obj `if test -f 'lib/cmdline.c'; then $(CYGPATH_W) 'lib/cmdline.c'; else $(CYGPATH_W) '$(srcdir)/lib/cmdline.c'; fi` + +commands/efi/loadbios_module-loadbios.o: commands/efi/loadbios.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $(loadbios_module_CFLAGS) $(CFLAGS) -MT commands/efi/loadbios_module-loadbios.o -MD -MP -MF commands/efi/$(DEPDIR)/loadbios_module-loadbios.Tpo -c -o commands/efi/loadbios_module-loadbios.o `test -f 'commands/efi/loadbios.c' || echo '$(srcdir)/'`commands/efi/loadbios.c +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/loadbios_module-loadbios.Tpo commands/efi/$(DEPDIR)/loadbios_module-loadbios.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/loadbios.c' object='commands/efi/loadbios_module-loadbios.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $(loadbios_module_CFLAGS) $(CFLAGS) -c -o commands/efi/loadbios_module-loadbios.o `test -f 'commands/efi/loadbios.c' || echo '$(srcdir)/'`commands/efi/loadbios.c + +commands/efi/loadbios_module-loadbios.obj: commands/efi/loadbios.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $(loadbios_module_CFLAGS) $(CFLAGS) -MT commands/efi/loadbios_module-loadbios.obj -MD -MP -MF commands/efi/$(DEPDIR)/loadbios_module-loadbios.Tpo -c -o commands/efi/loadbios_module-loadbios.obj `if test -f 'commands/efi/loadbios.c'; then $(CYGPATH_W) 'commands/efi/loadbios.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/loadbios.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/loadbios_module-loadbios.Tpo commands/efi/$(DEPDIR)/loadbios_module-loadbios.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/loadbios.c' object='commands/efi/loadbios_module-loadbios.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $(loadbios_module_CFLAGS) $(CFLAGS) -c -o commands/efi/loadbios_module-loadbios.obj `if test -f 'commands/efi/loadbios.c'; then $(CYGPATH_W) 'commands/efi/loadbios.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/loadbios.c'; fi` + +commands/loadenv_module-loadenv.o: commands/loadenv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -MT commands/loadenv_module-loadenv.o -MD -MP -MF commands/$(DEPDIR)/loadenv_module-loadenv.Tpo -c -o commands/loadenv_module-loadenv.o `test -f 'commands/loadenv.c' || echo '$(srcdir)/'`commands/loadenv.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/loadenv_module-loadenv.Tpo commands/$(DEPDIR)/loadenv_module-loadenv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/loadenv.c' object='commands/loadenv_module-loadenv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -c -o commands/loadenv_module-loadenv.o `test -f 'commands/loadenv.c' || echo '$(srcdir)/'`commands/loadenv.c + +commands/loadenv_module-loadenv.obj: commands/loadenv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -MT commands/loadenv_module-loadenv.obj -MD -MP -MF commands/$(DEPDIR)/loadenv_module-loadenv.Tpo -c -o commands/loadenv_module-loadenv.obj `if test -f 'commands/loadenv.c'; then $(CYGPATH_W) 'commands/loadenv.c'; else $(CYGPATH_W) '$(srcdir)/commands/loadenv.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/loadenv_module-loadenv.Tpo commands/$(DEPDIR)/loadenv_module-loadenv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/loadenv.c' object='commands/loadenv_module-loadenv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -c -o commands/loadenv_module-loadenv.obj `if test -f 'commands/loadenv.c'; then $(CYGPATH_W) 'commands/loadenv.c'; else $(CYGPATH_W) '$(srcdir)/commands/loadenv.c'; fi` + +lib/loadenv_module-envblk.o: lib/envblk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -MT lib/loadenv_module-envblk.o -MD -MP -MF lib/$(DEPDIR)/loadenv_module-envblk.Tpo -c -o lib/loadenv_module-envblk.o `test -f 'lib/envblk.c' || echo '$(srcdir)/'`lib/envblk.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/loadenv_module-envblk.Tpo lib/$(DEPDIR)/loadenv_module-envblk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/envblk.c' object='lib/loadenv_module-envblk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -c -o lib/loadenv_module-envblk.o `test -f 'lib/envblk.c' || echo '$(srcdir)/'`lib/envblk.c + +lib/loadenv_module-envblk.obj: lib/envblk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -MT lib/loadenv_module-envblk.obj -MD -MP -MF lib/$(DEPDIR)/loadenv_module-envblk.Tpo -c -o lib/loadenv_module-envblk.obj `if test -f 'lib/envblk.c'; then $(CYGPATH_W) 'lib/envblk.c'; else $(CYGPATH_W) '$(srcdir)/lib/envblk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/loadenv_module-envblk.Tpo lib/$(DEPDIR)/loadenv_module-envblk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/envblk.c' object='lib/loadenv_module-envblk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $(loadenv_module_CFLAGS) $(CFLAGS) -c -o lib/loadenv_module-envblk.obj `if test -f 'lib/envblk.c'; then $(CYGPATH_W) 'lib/envblk.c'; else $(CYGPATH_W) '$(srcdir)/lib/envblk.c'; fi` + +disk/loopback_module-loopback.o: disk/loopback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $(loopback_module_CFLAGS) $(CFLAGS) -MT disk/loopback_module-loopback.o -MD -MP -MF disk/$(DEPDIR)/loopback_module-loopback.Tpo -c -o disk/loopback_module-loopback.o `test -f 'disk/loopback.c' || echo '$(srcdir)/'`disk/loopback.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/loopback_module-loopback.Tpo disk/$(DEPDIR)/loopback_module-loopback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/loopback.c' object='disk/loopback_module-loopback.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $(loopback_module_CFLAGS) $(CFLAGS) -c -o disk/loopback_module-loopback.o `test -f 'disk/loopback.c' || echo '$(srcdir)/'`disk/loopback.c + +disk/loopback_module-loopback.obj: disk/loopback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $(loopback_module_CFLAGS) $(CFLAGS) -MT disk/loopback_module-loopback.obj -MD -MP -MF disk/$(DEPDIR)/loopback_module-loopback.Tpo -c -o disk/loopback_module-loopback.obj `if test -f 'disk/loopback.c'; then $(CYGPATH_W) 'disk/loopback.c'; else $(CYGPATH_W) '$(srcdir)/disk/loopback.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/loopback_module-loopback.Tpo disk/$(DEPDIR)/loopback_module-loopback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/loopback.c' object='disk/loopback_module-loopback.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $(loopback_module_CFLAGS) $(CFLAGS) -c -o disk/loopback_module-loopback.obj `if test -f 'disk/loopback.c'; then $(CYGPATH_W) 'disk/loopback.c'; else $(CYGPATH_W) '$(srcdir)/disk/loopback.c'; fi` + +commands/ls_module-ls.o: commands/ls.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $(ls_module_CFLAGS) $(CFLAGS) -MT commands/ls_module-ls.o -MD -MP -MF commands/$(DEPDIR)/ls_module-ls.Tpo -c -o commands/ls_module-ls.o `test -f 'commands/ls.c' || echo '$(srcdir)/'`commands/ls.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/ls_module-ls.Tpo commands/$(DEPDIR)/ls_module-ls.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/ls.c' object='commands/ls_module-ls.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $(ls_module_CFLAGS) $(CFLAGS) -c -o commands/ls_module-ls.o `test -f 'commands/ls.c' || echo '$(srcdir)/'`commands/ls.c + +commands/ls_module-ls.obj: commands/ls.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $(ls_module_CFLAGS) $(CFLAGS) -MT commands/ls_module-ls.obj -MD -MP -MF commands/$(DEPDIR)/ls_module-ls.Tpo -c -o commands/ls_module-ls.obj `if test -f 'commands/ls.c'; then $(CYGPATH_W) 'commands/ls.c'; else $(CYGPATH_W) '$(srcdir)/commands/ls.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/ls_module-ls.Tpo commands/$(DEPDIR)/ls_module-ls.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/ls.c' object='commands/ls_module-ls.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $(ls_module_CFLAGS) $(CFLAGS) -c -o commands/ls_module-ls.obj `if test -f 'commands/ls.c'; then $(CYGPATH_W) 'commands/ls.c'; else $(CYGPATH_W) '$(srcdir)/commands/ls.c'; fi` + +commands/lsacpi_module-lsacpi.o: commands/lsacpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $(lsacpi_module_CFLAGS) $(CFLAGS) -MT commands/lsacpi_module-lsacpi.o -MD -MP -MF commands/$(DEPDIR)/lsacpi_module-lsacpi.Tpo -c -o commands/lsacpi_module-lsacpi.o `test -f 'commands/lsacpi.c' || echo '$(srcdir)/'`commands/lsacpi.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/lsacpi_module-lsacpi.Tpo commands/$(DEPDIR)/lsacpi_module-lsacpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lsacpi.c' object='commands/lsacpi_module-lsacpi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $(lsacpi_module_CFLAGS) $(CFLAGS) -c -o commands/lsacpi_module-lsacpi.o `test -f 'commands/lsacpi.c' || echo '$(srcdir)/'`commands/lsacpi.c + +commands/lsacpi_module-lsacpi.obj: commands/lsacpi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $(lsacpi_module_CFLAGS) $(CFLAGS) -MT commands/lsacpi_module-lsacpi.obj -MD -MP -MF commands/$(DEPDIR)/lsacpi_module-lsacpi.Tpo -c -o commands/lsacpi_module-lsacpi.obj `if test -f 'commands/lsacpi.c'; then $(CYGPATH_W) 'commands/lsacpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/lsacpi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/lsacpi_module-lsacpi.Tpo commands/$(DEPDIR)/lsacpi_module-lsacpi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lsacpi.c' object='commands/lsacpi_module-lsacpi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $(lsacpi_module_CFLAGS) $(CFLAGS) -c -o commands/lsacpi_module-lsacpi.obj `if test -f 'commands/lsacpi.c'; then $(CYGPATH_W) 'commands/lsacpi.c'; else $(CYGPATH_W) '$(srcdir)/commands/lsacpi.c'; fi` + +commands/i386/pc/lsapm_module-lsapm.o: commands/i386/pc/lsapm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsapm_module_CPPFLAGS) $(CPPFLAGS) $(lsapm_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/lsapm_module-lsapm.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Tpo -c -o commands/i386/pc/lsapm_module-lsapm.o `test -f 'commands/i386/pc/lsapm.c' || echo '$(srcdir)/'`commands/i386/pc/lsapm.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Tpo commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/lsapm.c' object='commands/i386/pc/lsapm_module-lsapm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsapm_module_CPPFLAGS) $(CPPFLAGS) $(lsapm_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/lsapm_module-lsapm.o `test -f 'commands/i386/pc/lsapm.c' || echo '$(srcdir)/'`commands/i386/pc/lsapm.c + +commands/i386/pc/lsapm_module-lsapm.obj: commands/i386/pc/lsapm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsapm_module_CPPFLAGS) $(CPPFLAGS) $(lsapm_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/lsapm_module-lsapm.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Tpo -c -o commands/i386/pc/lsapm_module-lsapm.obj `if test -f 'commands/i386/pc/lsapm.c'; then $(CYGPATH_W) 'commands/i386/pc/lsapm.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/lsapm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Tpo commands/i386/pc/$(DEPDIR)/lsapm_module-lsapm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/lsapm.c' object='commands/i386/pc/lsapm_module-lsapm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsapm_module_CPPFLAGS) $(CPPFLAGS) $(lsapm_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/lsapm_module-lsapm.obj `if test -f 'commands/i386/pc/lsapm.c'; then $(CYGPATH_W) 'commands/i386/pc/lsapm.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/lsapm.c'; fi` + +commands/efi/lsefimmap_module-lsefimmap.o: commands/efi/lsefimmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $(lsefimmap_module_CFLAGS) $(CFLAGS) -MT commands/efi/lsefimmap_module-lsefimmap.o -MD -MP -MF commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Tpo -c -o commands/efi/lsefimmap_module-lsefimmap.o `test -f 'commands/efi/lsefimmap.c' || echo '$(srcdir)/'`commands/efi/lsefimmap.c +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Tpo commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/lsefimmap.c' object='commands/efi/lsefimmap_module-lsefimmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $(lsefimmap_module_CFLAGS) $(CFLAGS) -c -o commands/efi/lsefimmap_module-lsefimmap.o `test -f 'commands/efi/lsefimmap.c' || echo '$(srcdir)/'`commands/efi/lsefimmap.c + +commands/efi/lsefimmap_module-lsefimmap.obj: commands/efi/lsefimmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $(lsefimmap_module_CFLAGS) $(CFLAGS) -MT commands/efi/lsefimmap_module-lsefimmap.obj -MD -MP -MF commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Tpo -c -o commands/efi/lsefimmap_module-lsefimmap.obj `if test -f 'commands/efi/lsefimmap.c'; then $(CYGPATH_W) 'commands/efi/lsefimmap.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/lsefimmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Tpo commands/efi/$(DEPDIR)/lsefimmap_module-lsefimmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/lsefimmap.c' object='commands/efi/lsefimmap_module-lsefimmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $(lsefimmap_module_CFLAGS) $(CFLAGS) -c -o commands/efi/lsefimmap_module-lsefimmap.obj `if test -f 'commands/efi/lsefimmap.c'; then $(CYGPATH_W) 'commands/efi/lsefimmap.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/lsefimmap.c'; fi` + +commands/efi/lsefisystab_module-lsefisystab.o: commands/efi/lsefisystab.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $(lsefisystab_module_CFLAGS) $(CFLAGS) -MT commands/efi/lsefisystab_module-lsefisystab.o -MD -MP -MF commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Tpo -c -o commands/efi/lsefisystab_module-lsefisystab.o `test -f 'commands/efi/lsefisystab.c' || echo '$(srcdir)/'`commands/efi/lsefisystab.c +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Tpo commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/lsefisystab.c' object='commands/efi/lsefisystab_module-lsefisystab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $(lsefisystab_module_CFLAGS) $(CFLAGS) -c -o commands/efi/lsefisystab_module-lsefisystab.o `test -f 'commands/efi/lsefisystab.c' || echo '$(srcdir)/'`commands/efi/lsefisystab.c + +commands/efi/lsefisystab_module-lsefisystab.obj: commands/efi/lsefisystab.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $(lsefisystab_module_CFLAGS) $(CFLAGS) -MT commands/efi/lsefisystab_module-lsefisystab.obj -MD -MP -MF commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Tpo -c -o commands/efi/lsefisystab_module-lsefisystab.obj `if test -f 'commands/efi/lsefisystab.c'; then $(CYGPATH_W) 'commands/efi/lsefisystab.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/lsefisystab.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Tpo commands/efi/$(DEPDIR)/lsefisystab_module-lsefisystab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/lsefisystab.c' object='commands/efi/lsefisystab_module-lsefisystab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $(lsefisystab_module_CFLAGS) $(CFLAGS) -c -o commands/efi/lsefisystab_module-lsefisystab.obj `if test -f 'commands/efi/lsefisystab.c'; then $(CYGPATH_W) 'commands/efi/lsefisystab.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/lsefisystab.c'; fi` + +commands/lsmmap_module-lsmmap.o: commands/lsmmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $(lsmmap_module_CFLAGS) $(CFLAGS) -MT commands/lsmmap_module-lsmmap.o -MD -MP -MF commands/$(DEPDIR)/lsmmap_module-lsmmap.Tpo -c -o commands/lsmmap_module-lsmmap.o `test -f 'commands/lsmmap.c' || echo '$(srcdir)/'`commands/lsmmap.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/lsmmap_module-lsmmap.Tpo commands/$(DEPDIR)/lsmmap_module-lsmmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lsmmap.c' object='commands/lsmmap_module-lsmmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $(lsmmap_module_CFLAGS) $(CFLAGS) -c -o commands/lsmmap_module-lsmmap.o `test -f 'commands/lsmmap.c' || echo '$(srcdir)/'`commands/lsmmap.c + +commands/lsmmap_module-lsmmap.obj: commands/lsmmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $(lsmmap_module_CFLAGS) $(CFLAGS) -MT commands/lsmmap_module-lsmmap.obj -MD -MP -MF commands/$(DEPDIR)/lsmmap_module-lsmmap.Tpo -c -o commands/lsmmap_module-lsmmap.obj `if test -f 'commands/lsmmap.c'; then $(CYGPATH_W) 'commands/lsmmap.c'; else $(CYGPATH_W) '$(srcdir)/commands/lsmmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/lsmmap_module-lsmmap.Tpo commands/$(DEPDIR)/lsmmap_module-lsmmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lsmmap.c' object='commands/lsmmap_module-lsmmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $(lsmmap_module_CFLAGS) $(CFLAGS) -c -o commands/lsmmap_module-lsmmap.obj `if test -f 'commands/lsmmap.c'; then $(CYGPATH_W) 'commands/lsmmap.c'; else $(CYGPATH_W) '$(srcdir)/commands/lsmmap.c'; fi` + +commands/lspci_module-lspci.o: commands/lspci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $(lspci_module_CFLAGS) $(CFLAGS) -MT commands/lspci_module-lspci.o -MD -MP -MF commands/$(DEPDIR)/lspci_module-lspci.Tpo -c -o commands/lspci_module-lspci.o `test -f 'commands/lspci.c' || echo '$(srcdir)/'`commands/lspci.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/lspci_module-lspci.Tpo commands/$(DEPDIR)/lspci_module-lspci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lspci.c' object='commands/lspci_module-lspci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $(lspci_module_CFLAGS) $(CFLAGS) -c -o commands/lspci_module-lspci.o `test -f 'commands/lspci.c' || echo '$(srcdir)/'`commands/lspci.c + +commands/lspci_module-lspci.obj: commands/lspci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $(lspci_module_CFLAGS) $(CFLAGS) -MT commands/lspci_module-lspci.obj -MD -MP -MF commands/$(DEPDIR)/lspci_module-lspci.Tpo -c -o commands/lspci_module-lspci.obj `if test -f 'commands/lspci.c'; then $(CYGPATH_W) 'commands/lspci.c'; else $(CYGPATH_W) '$(srcdir)/commands/lspci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/lspci_module-lspci.Tpo commands/$(DEPDIR)/lspci_module-lspci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lspci.c' object='commands/lspci_module-lspci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $(lspci_module_CFLAGS) $(CFLAGS) -c -o commands/lspci_module-lspci.obj `if test -f 'commands/lspci.c'; then $(CYGPATH_W) 'commands/lspci.c'; else $(CYGPATH_W) '$(srcdir)/commands/lspci.c'; fi` + +commands/efi/lssal_module-lssal.o: commands/efi/lssal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $(lssal_module_CFLAGS) $(CFLAGS) -MT commands/efi/lssal_module-lssal.o -MD -MP -MF commands/efi/$(DEPDIR)/lssal_module-lssal.Tpo -c -o commands/efi/lssal_module-lssal.o `test -f 'commands/efi/lssal.c' || echo '$(srcdir)/'`commands/efi/lssal.c +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/lssal_module-lssal.Tpo commands/efi/$(DEPDIR)/lssal_module-lssal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/lssal.c' object='commands/efi/lssal_module-lssal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $(lssal_module_CFLAGS) $(CFLAGS) -c -o commands/efi/lssal_module-lssal.o `test -f 'commands/efi/lssal.c' || echo '$(srcdir)/'`commands/efi/lssal.c + +commands/efi/lssal_module-lssal.obj: commands/efi/lssal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $(lssal_module_CFLAGS) $(CFLAGS) -MT commands/efi/lssal_module-lssal.obj -MD -MP -MF commands/efi/$(DEPDIR)/lssal_module-lssal.Tpo -c -o commands/efi/lssal_module-lssal.obj `if test -f 'commands/efi/lssal.c'; then $(CYGPATH_W) 'commands/efi/lssal.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/lssal.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/efi/$(DEPDIR)/lssal_module-lssal.Tpo commands/efi/$(DEPDIR)/lssal_module-lssal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/efi/lssal.c' object='commands/efi/lssal_module-lssal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $(lssal_module_CFLAGS) $(CFLAGS) -c -o commands/efi/lssal_module-lssal.obj `if test -f 'commands/efi/lssal.c'; then $(CYGPATH_W) 'commands/efi/lssal.c'; else $(CYGPATH_W) '$(srcdir)/commands/efi/lssal.c'; fi` + +commands/mips/yeeloong/lsspd_module-lsspd.o: commands/mips/yeeloong/lsspd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsspd_module_CPPFLAGS) $(CPPFLAGS) $(lsspd_module_CFLAGS) $(CFLAGS) -MT commands/mips/yeeloong/lsspd_module-lsspd.o -MD -MP -MF commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Tpo -c -o commands/mips/yeeloong/lsspd_module-lsspd.o `test -f 'commands/mips/yeeloong/lsspd.c' || echo '$(srcdir)/'`commands/mips/yeeloong/lsspd.c +@am__fastdepCC_TRUE@ $(am__mv) commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Tpo commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/mips/yeeloong/lsspd.c' object='commands/mips/yeeloong/lsspd_module-lsspd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsspd_module_CPPFLAGS) $(CPPFLAGS) $(lsspd_module_CFLAGS) $(CFLAGS) -c -o commands/mips/yeeloong/lsspd_module-lsspd.o `test -f 'commands/mips/yeeloong/lsspd.c' || echo '$(srcdir)/'`commands/mips/yeeloong/lsspd.c + +commands/mips/yeeloong/lsspd_module-lsspd.obj: commands/mips/yeeloong/lsspd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsspd_module_CPPFLAGS) $(CPPFLAGS) $(lsspd_module_CFLAGS) $(CFLAGS) -MT commands/mips/yeeloong/lsspd_module-lsspd.obj -MD -MP -MF commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Tpo -c -o commands/mips/yeeloong/lsspd_module-lsspd.obj `if test -f 'commands/mips/yeeloong/lsspd.c'; then $(CYGPATH_W) 'commands/mips/yeeloong/lsspd.c'; else $(CYGPATH_W) '$(srcdir)/commands/mips/yeeloong/lsspd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Tpo commands/mips/yeeloong/$(DEPDIR)/lsspd_module-lsspd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/mips/yeeloong/lsspd.c' object='commands/mips/yeeloong/lsspd_module-lsspd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsspd_module_CPPFLAGS) $(CPPFLAGS) $(lsspd_module_CFLAGS) $(CFLAGS) -c -o commands/mips/yeeloong/lsspd_module-lsspd.obj `if test -f 'commands/mips/yeeloong/lsspd.c'; then $(CYGPATH_W) 'commands/mips/yeeloong/lsspd.c'; else $(CYGPATH_W) '$(srcdir)/commands/mips/yeeloong/lsspd.c'; fi` + +disk/lvm_module-lvm.o: disk/lvm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $(lvm_module_CFLAGS) $(CFLAGS) -MT disk/lvm_module-lvm.o -MD -MP -MF disk/$(DEPDIR)/lvm_module-lvm.Tpo -c -o disk/lvm_module-lvm.o `test -f 'disk/lvm.c' || echo '$(srcdir)/'`disk/lvm.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/lvm_module-lvm.Tpo disk/$(DEPDIR)/lvm_module-lvm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/lvm.c' object='disk/lvm_module-lvm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $(lvm_module_CFLAGS) $(CFLAGS) -c -o disk/lvm_module-lvm.o `test -f 'disk/lvm.c' || echo '$(srcdir)/'`disk/lvm.c + +disk/lvm_module-lvm.obj: disk/lvm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $(lvm_module_CFLAGS) $(CFLAGS) -MT disk/lvm_module-lvm.obj -MD -MP -MF disk/$(DEPDIR)/lvm_module-lvm.Tpo -c -o disk/lvm_module-lvm.obj `if test -f 'disk/lvm.c'; then $(CYGPATH_W) 'disk/lvm.c'; else $(CYGPATH_W) '$(srcdir)/disk/lvm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/lvm_module-lvm.Tpo disk/$(DEPDIR)/lvm_module-lvm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/lvm.c' object='disk/lvm_module-lvm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $(lvm_module_CFLAGS) $(CFLAGS) -c -o disk/lvm_module-lvm.obj `if test -f 'disk/lvm.c'; then $(CYGPATH_W) 'disk/lvm.c'; else $(CYGPATH_W) '$(srcdir)/disk/lvm.c'; fi` + +disk/mdraid09_module-mdraid_linux.o: disk/mdraid_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $(mdraid09_module_CFLAGS) $(CFLAGS) -MT disk/mdraid09_module-mdraid_linux.o -MD -MP -MF disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Tpo -c -o disk/mdraid09_module-mdraid_linux.o `test -f 'disk/mdraid_linux.c' || echo '$(srcdir)/'`disk/mdraid_linux.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Tpo disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/mdraid_linux.c' object='disk/mdraid09_module-mdraid_linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $(mdraid09_module_CFLAGS) $(CFLAGS) -c -o disk/mdraid09_module-mdraid_linux.o `test -f 'disk/mdraid_linux.c' || echo '$(srcdir)/'`disk/mdraid_linux.c + +disk/mdraid09_module-mdraid_linux.obj: disk/mdraid_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $(mdraid09_module_CFLAGS) $(CFLAGS) -MT disk/mdraid09_module-mdraid_linux.obj -MD -MP -MF disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Tpo -c -o disk/mdraid09_module-mdraid_linux.obj `if test -f 'disk/mdraid_linux.c'; then $(CYGPATH_W) 'disk/mdraid_linux.c'; else $(CYGPATH_W) '$(srcdir)/disk/mdraid_linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Tpo disk/$(DEPDIR)/mdraid09_module-mdraid_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/mdraid_linux.c' object='disk/mdraid09_module-mdraid_linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $(mdraid09_module_CFLAGS) $(CFLAGS) -c -o disk/mdraid09_module-mdraid_linux.obj `if test -f 'disk/mdraid_linux.c'; then $(CYGPATH_W) 'disk/mdraid_linux.c'; else $(CYGPATH_W) '$(srcdir)/disk/mdraid_linux.c'; fi` + +disk/mdraid1x_module-mdraid1x_linux.o: disk/mdraid1x_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $(mdraid1x_module_CFLAGS) $(CFLAGS) -MT disk/mdraid1x_module-mdraid1x_linux.o -MD -MP -MF disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Tpo -c -o disk/mdraid1x_module-mdraid1x_linux.o `test -f 'disk/mdraid1x_linux.c' || echo '$(srcdir)/'`disk/mdraid1x_linux.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Tpo disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/mdraid1x_linux.c' object='disk/mdraid1x_module-mdraid1x_linux.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $(mdraid1x_module_CFLAGS) $(CFLAGS) -c -o disk/mdraid1x_module-mdraid1x_linux.o `test -f 'disk/mdraid1x_linux.c' || echo '$(srcdir)/'`disk/mdraid1x_linux.c + +disk/mdraid1x_module-mdraid1x_linux.obj: disk/mdraid1x_linux.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $(mdraid1x_module_CFLAGS) $(CFLAGS) -MT disk/mdraid1x_module-mdraid1x_linux.obj -MD -MP -MF disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Tpo -c -o disk/mdraid1x_module-mdraid1x_linux.obj `if test -f 'disk/mdraid1x_linux.c'; then $(CYGPATH_W) 'disk/mdraid1x_linux.c'; else $(CYGPATH_W) '$(srcdir)/disk/mdraid1x_linux.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Tpo disk/$(DEPDIR)/mdraid1x_module-mdraid1x_linux.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/mdraid1x_linux.c' object='disk/mdraid1x_module-mdraid1x_linux.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $(mdraid1x_module_CFLAGS) $(CFLAGS) -c -o disk/mdraid1x_module-mdraid1x_linux.obj `if test -f 'disk/mdraid1x_linux.c'; then $(CYGPATH_W) 'disk/mdraid1x_linux.c'; else $(CYGPATH_W) '$(srcdir)/disk/mdraid1x_linux.c'; fi` + +disk/memdisk_module-memdisk.o: disk/memdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $(memdisk_module_CFLAGS) $(CFLAGS) -MT disk/memdisk_module-memdisk.o -MD -MP -MF disk/$(DEPDIR)/memdisk_module-memdisk.Tpo -c -o disk/memdisk_module-memdisk.o `test -f 'disk/memdisk.c' || echo '$(srcdir)/'`disk/memdisk.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/memdisk_module-memdisk.Tpo disk/$(DEPDIR)/memdisk_module-memdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/memdisk.c' object='disk/memdisk_module-memdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $(memdisk_module_CFLAGS) $(CFLAGS) -c -o disk/memdisk_module-memdisk.o `test -f 'disk/memdisk.c' || echo '$(srcdir)/'`disk/memdisk.c + +disk/memdisk_module-memdisk.obj: disk/memdisk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $(memdisk_module_CFLAGS) $(CFLAGS) -MT disk/memdisk_module-memdisk.obj -MD -MP -MF disk/$(DEPDIR)/memdisk_module-memdisk.Tpo -c -o disk/memdisk_module-memdisk.obj `if test -f 'disk/memdisk.c'; then $(CYGPATH_W) 'disk/memdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/memdisk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/memdisk_module-memdisk.Tpo disk/$(DEPDIR)/memdisk_module-memdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/memdisk.c' object='disk/memdisk_module-memdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $(memdisk_module_CFLAGS) $(CFLAGS) -c -o disk/memdisk_module-memdisk.obj `if test -f 'disk/memdisk.c'; then $(CYGPATH_W) 'disk/memdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk/memdisk.c'; fi` + +commands/memrw_module-memrw.o: commands/memrw.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $(memrw_module_CFLAGS) $(CFLAGS) -MT commands/memrw_module-memrw.o -MD -MP -MF commands/$(DEPDIR)/memrw_module-memrw.Tpo -c -o commands/memrw_module-memrw.o `test -f 'commands/memrw.c' || echo '$(srcdir)/'`commands/memrw.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/memrw_module-memrw.Tpo commands/$(DEPDIR)/memrw_module-memrw.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/memrw.c' object='commands/memrw_module-memrw.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $(memrw_module_CFLAGS) $(CFLAGS) -c -o commands/memrw_module-memrw.o `test -f 'commands/memrw.c' || echo '$(srcdir)/'`commands/memrw.c + +commands/memrw_module-memrw.obj: commands/memrw.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $(memrw_module_CFLAGS) $(CFLAGS) -MT commands/memrw_module-memrw.obj -MD -MP -MF commands/$(DEPDIR)/memrw_module-memrw.Tpo -c -o commands/memrw_module-memrw.obj `if test -f 'commands/memrw.c'; then $(CYGPATH_W) 'commands/memrw.c'; else $(CYGPATH_W) '$(srcdir)/commands/memrw.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/memrw_module-memrw.Tpo commands/$(DEPDIR)/memrw_module-memrw.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/memrw.c' object='commands/memrw_module-memrw.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $(memrw_module_CFLAGS) $(CFLAGS) -c -o commands/memrw_module-memrw.obj `if test -f 'commands/memrw.c'; then $(CYGPATH_W) 'commands/memrw.c'; else $(CYGPATH_W) '$(srcdir)/commands/memrw.c'; fi` + +commands/minicmd_module-minicmd.o: commands/minicmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $(minicmd_module_CFLAGS) $(CFLAGS) -MT commands/minicmd_module-minicmd.o -MD -MP -MF commands/$(DEPDIR)/minicmd_module-minicmd.Tpo -c -o commands/minicmd_module-minicmd.o `test -f 'commands/minicmd.c' || echo '$(srcdir)/'`commands/minicmd.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/minicmd_module-minicmd.Tpo commands/$(DEPDIR)/minicmd_module-minicmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/minicmd.c' object='commands/minicmd_module-minicmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $(minicmd_module_CFLAGS) $(CFLAGS) -c -o commands/minicmd_module-minicmd.o `test -f 'commands/minicmd.c' || echo '$(srcdir)/'`commands/minicmd.c + +commands/minicmd_module-minicmd.obj: commands/minicmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $(minicmd_module_CFLAGS) $(CFLAGS) -MT commands/minicmd_module-minicmd.obj -MD -MP -MF commands/$(DEPDIR)/minicmd_module-minicmd.Tpo -c -o commands/minicmd_module-minicmd.obj `if test -f 'commands/minicmd.c'; then $(CYGPATH_W) 'commands/minicmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/minicmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/minicmd_module-minicmd.Tpo commands/$(DEPDIR)/minicmd_module-minicmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/minicmd.c' object='commands/minicmd_module-minicmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $(minicmd_module_CFLAGS) $(CFLAGS) -c -o commands/minicmd_module-minicmd.obj `if test -f 'commands/minicmd.c'; then $(CYGPATH_W) 'commands/minicmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/minicmd.c'; fi` + +fs/minix_module-minix.o: fs/minix.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $(minix_module_CFLAGS) $(CFLAGS) -MT fs/minix_module-minix.o -MD -MP -MF fs/$(DEPDIR)/minix_module-minix.Tpo -c -o fs/minix_module-minix.o `test -f 'fs/minix.c' || echo '$(srcdir)/'`fs/minix.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/minix_module-minix.Tpo fs/$(DEPDIR)/minix_module-minix.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/minix.c' object='fs/minix_module-minix.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $(minix_module_CFLAGS) $(CFLAGS) -c -o fs/minix_module-minix.o `test -f 'fs/minix.c' || echo '$(srcdir)/'`fs/minix.c + +fs/minix_module-minix.obj: fs/minix.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $(minix_module_CFLAGS) $(CFLAGS) -MT fs/minix_module-minix.obj -MD -MP -MF fs/$(DEPDIR)/minix_module-minix.Tpo -c -o fs/minix_module-minix.obj `if test -f 'fs/minix.c'; then $(CYGPATH_W) 'fs/minix.c'; else $(CYGPATH_W) '$(srcdir)/fs/minix.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/minix_module-minix.Tpo fs/$(DEPDIR)/minix_module-minix.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/minix.c' object='fs/minix_module-minix.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $(minix_module_CFLAGS) $(CFLAGS) -c -o fs/minix_module-minix.obj `if test -f 'fs/minix.c'; then $(CYGPATH_W) 'fs/minix.c'; else $(CYGPATH_W) '$(srcdir)/fs/minix.c'; fi` + +fs/minix2_module-minix2.o: fs/minix2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $(minix2_module_CFLAGS) $(CFLAGS) -MT fs/minix2_module-minix2.o -MD -MP -MF fs/$(DEPDIR)/minix2_module-minix2.Tpo -c -o fs/minix2_module-minix2.o `test -f 'fs/minix2.c' || echo '$(srcdir)/'`fs/minix2.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/minix2_module-minix2.Tpo fs/$(DEPDIR)/minix2_module-minix2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/minix2.c' object='fs/minix2_module-minix2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $(minix2_module_CFLAGS) $(CFLAGS) -c -o fs/minix2_module-minix2.o `test -f 'fs/minix2.c' || echo '$(srcdir)/'`fs/minix2.c + +fs/minix2_module-minix2.obj: fs/minix2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $(minix2_module_CFLAGS) $(CFLAGS) -MT fs/minix2_module-minix2.obj -MD -MP -MF fs/$(DEPDIR)/minix2_module-minix2.Tpo -c -o fs/minix2_module-minix2.obj `if test -f 'fs/minix2.c'; then $(CYGPATH_W) 'fs/minix2.c'; else $(CYGPATH_W) '$(srcdir)/fs/minix2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/minix2_module-minix2.Tpo fs/$(DEPDIR)/minix2_module-minix2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/minix2.c' object='fs/minix2_module-minix2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $(minix2_module_CFLAGS) $(CFLAGS) -c -o fs/minix2_module-minix2.obj `if test -f 'fs/minix2.c'; then $(CYGPATH_W) 'fs/minix2.c'; else $(CYGPATH_W) '$(srcdir)/fs/minix2.c'; fi` + +mmap/i386/mmap_module-uppermem.o: mmap/i386/uppermem.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/i386/mmap_module-uppermem.o -MD -MP -MF mmap/i386/$(DEPDIR)/mmap_module-uppermem.Tpo -c -o mmap/i386/mmap_module-uppermem.o `test -f 'mmap/i386/uppermem.c' || echo '$(srcdir)/'`mmap/i386/uppermem.c +@am__fastdepCC_TRUE@ $(am__mv) mmap/i386/$(DEPDIR)/mmap_module-uppermem.Tpo mmap/i386/$(DEPDIR)/mmap_module-uppermem.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/i386/uppermem.c' object='mmap/i386/mmap_module-uppermem.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/i386/mmap_module-uppermem.o `test -f 'mmap/i386/uppermem.c' || echo '$(srcdir)/'`mmap/i386/uppermem.c + +mmap/i386/mmap_module-uppermem.obj: mmap/i386/uppermem.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/i386/mmap_module-uppermem.obj -MD -MP -MF mmap/i386/$(DEPDIR)/mmap_module-uppermem.Tpo -c -o mmap/i386/mmap_module-uppermem.obj `if test -f 'mmap/i386/uppermem.c'; then $(CYGPATH_W) 'mmap/i386/uppermem.c'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/uppermem.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) mmap/i386/$(DEPDIR)/mmap_module-uppermem.Tpo mmap/i386/$(DEPDIR)/mmap_module-uppermem.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/i386/uppermem.c' object='mmap/i386/mmap_module-uppermem.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/i386/mmap_module-uppermem.obj `if test -f 'mmap/i386/uppermem.c'; then $(CYGPATH_W) 'mmap/i386/uppermem.c'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/uppermem.c'; fi` + +mmap/i386/mmap_module-mmap.o: mmap/i386/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/i386/mmap_module-mmap.o -MD -MP -MF mmap/i386/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/i386/mmap_module-mmap.o `test -f 'mmap/i386/mmap.c' || echo '$(srcdir)/'`mmap/i386/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) mmap/i386/$(DEPDIR)/mmap_module-mmap.Tpo mmap/i386/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/i386/mmap.c' object='mmap/i386/mmap_module-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/i386/mmap_module-mmap.o `test -f 'mmap/i386/mmap.c' || echo '$(srcdir)/'`mmap/i386/mmap.c + +mmap/i386/mmap_module-mmap.obj: mmap/i386/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/i386/mmap_module-mmap.obj -MD -MP -MF mmap/i386/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/i386/mmap_module-mmap.obj `if test -f 'mmap/i386/mmap.c'; then $(CYGPATH_W) 'mmap/i386/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) mmap/i386/$(DEPDIR)/mmap_module-mmap.Tpo mmap/i386/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/i386/mmap.c' object='mmap/i386/mmap_module-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/i386/mmap_module-mmap.obj `if test -f 'mmap/i386/mmap.c'; then $(CYGPATH_W) 'mmap/i386/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/mmap.c'; fi` + +mmap/mmap_module-mmap.o: mmap/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/mmap_module-mmap.o -MD -MP -MF mmap/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/mmap_module-mmap.o `test -f 'mmap/mmap.c' || echo '$(srcdir)/'`mmap/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) mmap/$(DEPDIR)/mmap_module-mmap.Tpo mmap/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/mmap.c' object='mmap/mmap_module-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/mmap_module-mmap.o `test -f 'mmap/mmap.c' || echo '$(srcdir)/'`mmap/mmap.c + +mmap/mmap_module-mmap.obj: mmap/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/mmap_module-mmap.obj -MD -MP -MF mmap/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/mmap_module-mmap.obj `if test -f 'mmap/mmap.c'; then $(CYGPATH_W) 'mmap/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) mmap/$(DEPDIR)/mmap_module-mmap.Tpo mmap/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/mmap.c' object='mmap/mmap_module-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/mmap_module-mmap.obj `if test -f 'mmap/mmap.c'; then $(CYGPATH_W) 'mmap/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/mmap.c'; fi` + +mmap/efi/mmap_module-mmap.o: mmap/efi/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/efi/mmap_module-mmap.o -MD -MP -MF mmap/efi/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/efi/mmap_module-mmap.o `test -f 'mmap/efi/mmap.c' || echo '$(srcdir)/'`mmap/efi/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) mmap/efi/$(DEPDIR)/mmap_module-mmap.Tpo mmap/efi/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/efi/mmap.c' object='mmap/efi/mmap_module-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/efi/mmap_module-mmap.o `test -f 'mmap/efi/mmap.c' || echo '$(srcdir)/'`mmap/efi/mmap.c + +mmap/efi/mmap_module-mmap.obj: mmap/efi/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/efi/mmap_module-mmap.obj -MD -MP -MF mmap/efi/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/efi/mmap_module-mmap.obj `if test -f 'mmap/efi/mmap.c'; then $(CYGPATH_W) 'mmap/efi/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/efi/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) mmap/efi/$(DEPDIR)/mmap_module-mmap.Tpo mmap/efi/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/efi/mmap.c' object='mmap/efi/mmap_module-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/efi/mmap_module-mmap.obj `if test -f 'mmap/efi/mmap.c'; then $(CYGPATH_W) 'mmap/efi/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/efi/mmap.c'; fi` + +mmap/i386/pc/mmap_module-mmap.o: mmap/i386/pc/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/i386/pc/mmap_module-mmap.o -MD -MP -MF mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/i386/pc/mmap_module-mmap.o `test -f 'mmap/i386/pc/mmap.c' || echo '$(srcdir)/'`mmap/i386/pc/mmap.c +@am__fastdepCC_TRUE@ $(am__mv) mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Tpo mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/i386/pc/mmap.c' object='mmap/i386/pc/mmap_module-mmap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/i386/pc/mmap_module-mmap.o `test -f 'mmap/i386/pc/mmap.c' || echo '$(srcdir)/'`mmap/i386/pc/mmap.c + +mmap/i386/pc/mmap_module-mmap.obj: mmap/i386/pc/mmap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/i386/pc/mmap_module-mmap.obj -MD -MP -MF mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Tpo -c -o mmap/i386/pc/mmap_module-mmap.obj `if test -f 'mmap/i386/pc/mmap.c'; then $(CYGPATH_W) 'mmap/i386/pc/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/pc/mmap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Tpo mmap/i386/pc/$(DEPDIR)/mmap_module-mmap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/i386/pc/mmap.c' object='mmap/i386/pc/mmap_module-mmap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/i386/pc/mmap_module-mmap.obj `if test -f 'mmap/i386/pc/mmap.c'; then $(CYGPATH_W) 'mmap/i386/pc/mmap.c'; else $(CYGPATH_W) '$(srcdir)/mmap/i386/pc/mmap.c'; fi` + +mmap/mips/yeeloong/mmap_module-uppermem.o: mmap/mips/yeeloong/uppermem.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/mips/yeeloong/mmap_module-uppermem.o -MD -MP -MF mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Tpo -c -o mmap/mips/yeeloong/mmap_module-uppermem.o `test -f 'mmap/mips/yeeloong/uppermem.c' || echo '$(srcdir)/'`mmap/mips/yeeloong/uppermem.c +@am__fastdepCC_TRUE@ $(am__mv) mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Tpo mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/mips/yeeloong/uppermem.c' object='mmap/mips/yeeloong/mmap_module-uppermem.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/mips/yeeloong/mmap_module-uppermem.o `test -f 'mmap/mips/yeeloong/uppermem.c' || echo '$(srcdir)/'`mmap/mips/yeeloong/uppermem.c + +mmap/mips/yeeloong/mmap_module-uppermem.obj: mmap/mips/yeeloong/uppermem.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -MT mmap/mips/yeeloong/mmap_module-uppermem.obj -MD -MP -MF mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Tpo -c -o mmap/mips/yeeloong/mmap_module-uppermem.obj `if test -f 'mmap/mips/yeeloong/uppermem.c'; then $(CYGPATH_W) 'mmap/mips/yeeloong/uppermem.c'; else $(CYGPATH_W) '$(srcdir)/mmap/mips/yeeloong/uppermem.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Tpo mmap/mips/yeeloong/$(DEPDIR)/mmap_module-uppermem.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mmap/mips/yeeloong/uppermem.c' object='mmap/mips/yeeloong/mmap_module-uppermem.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $(mmap_module_CFLAGS) $(CFLAGS) -c -o mmap/mips/yeeloong/mmap_module-uppermem.obj `if test -f 'mmap/mips/yeeloong/uppermem.c'; then $(CYGPATH_W) 'mmap/mips/yeeloong/uppermem.c'; else $(CYGPATH_W) '$(srcdir)/mmap/mips/yeeloong/uppermem.c'; fi` + +parttool/msdospart_module-msdospart.o: parttool/msdospart.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $(msdospart_module_CFLAGS) $(CFLAGS) -MT parttool/msdospart_module-msdospart.o -MD -MP -MF parttool/$(DEPDIR)/msdospart_module-msdospart.Tpo -c -o parttool/msdospart_module-msdospart.o `test -f 'parttool/msdospart.c' || echo '$(srcdir)/'`parttool/msdospart.c +@am__fastdepCC_TRUE@ $(am__mv) parttool/$(DEPDIR)/msdospart_module-msdospart.Tpo parttool/$(DEPDIR)/msdospart_module-msdospart.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parttool/msdospart.c' object='parttool/msdospart_module-msdospart.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $(msdospart_module_CFLAGS) $(CFLAGS) -c -o parttool/msdospart_module-msdospart.o `test -f 'parttool/msdospart.c' || echo '$(srcdir)/'`parttool/msdospart.c + +parttool/msdospart_module-msdospart.obj: parttool/msdospart.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $(msdospart_module_CFLAGS) $(CFLAGS) -MT parttool/msdospart_module-msdospart.obj -MD -MP -MF parttool/$(DEPDIR)/msdospart_module-msdospart.Tpo -c -o parttool/msdospart_module-msdospart.obj `if test -f 'parttool/msdospart.c'; then $(CYGPATH_W) 'parttool/msdospart.c'; else $(CYGPATH_W) '$(srcdir)/parttool/msdospart.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) parttool/$(DEPDIR)/msdospart_module-msdospart.Tpo parttool/$(DEPDIR)/msdospart_module-msdospart.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parttool/msdospart.c' object='parttool/msdospart_module-msdospart.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $(msdospart_module_CFLAGS) $(CFLAGS) -c -o parttool/msdospart_module-msdospart.obj `if test -f 'parttool/msdospart.c'; then $(CYGPATH_W) 'parttool/msdospart.c'; else $(CYGPATH_W) '$(srcdir)/parttool/msdospart.c'; fi` + +loader/i386/multiboot_module-multiboot_mbi.o: loader/i386/multiboot_mbi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -MT loader/i386/multiboot_module-multiboot_mbi.o -MD -MP -MF loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Tpo -c -o loader/i386/multiboot_module-multiboot_mbi.o `test -f 'loader/i386/multiboot_mbi.c' || echo '$(srcdir)/'`loader/i386/multiboot_mbi.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Tpo loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/multiboot_mbi.c' object='loader/i386/multiboot_module-multiboot_mbi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -c -o loader/i386/multiboot_module-multiboot_mbi.o `test -f 'loader/i386/multiboot_mbi.c' || echo '$(srcdir)/'`loader/i386/multiboot_mbi.c + +loader/i386/multiboot_module-multiboot_mbi.obj: loader/i386/multiboot_mbi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -MT loader/i386/multiboot_module-multiboot_mbi.obj -MD -MP -MF loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Tpo -c -o loader/i386/multiboot_module-multiboot_mbi.obj `if test -f 'loader/i386/multiboot_mbi.c'; then $(CYGPATH_W) 'loader/i386/multiboot_mbi.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/multiboot_mbi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Tpo loader/i386/$(DEPDIR)/multiboot_module-multiboot_mbi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/multiboot_mbi.c' object='loader/i386/multiboot_module-multiboot_mbi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -c -o loader/i386/multiboot_module-multiboot_mbi.obj `if test -f 'loader/i386/multiboot_mbi.c'; then $(CYGPATH_W) 'loader/i386/multiboot_mbi.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/multiboot_mbi.c'; fi` + +loader/multiboot_module-multiboot.o: loader/multiboot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -MT loader/multiboot_module-multiboot.o -MD -MP -MF loader/$(DEPDIR)/multiboot_module-multiboot.Tpo -c -o loader/multiboot_module-multiboot.o `test -f 'loader/multiboot.c' || echo '$(srcdir)/'`loader/multiboot.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/multiboot_module-multiboot.Tpo loader/$(DEPDIR)/multiboot_module-multiboot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/multiboot.c' object='loader/multiboot_module-multiboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -c -o loader/multiboot_module-multiboot.o `test -f 'loader/multiboot.c' || echo '$(srcdir)/'`loader/multiboot.c + +loader/multiboot_module-multiboot.obj: loader/multiboot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -MT loader/multiboot_module-multiboot.obj -MD -MP -MF loader/$(DEPDIR)/multiboot_module-multiboot.Tpo -c -o loader/multiboot_module-multiboot.obj `if test -f 'loader/multiboot.c'; then $(CYGPATH_W) 'loader/multiboot.c'; else $(CYGPATH_W) '$(srcdir)/loader/multiboot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/multiboot_module-multiboot.Tpo loader/$(DEPDIR)/multiboot_module-multiboot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/multiboot.c' object='loader/multiboot_module-multiboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $(multiboot_module_CFLAGS) $(CFLAGS) -c -o loader/multiboot_module-multiboot.obj `if test -f 'loader/multiboot.c'; then $(CYGPATH_W) 'loader/multiboot.c'; else $(CYGPATH_W) '$(srcdir)/loader/multiboot.c'; fi` + +loader/multiboot2_module-multiboot.o: loader/multiboot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -MT loader/multiboot2_module-multiboot.o -MD -MP -MF loader/$(DEPDIR)/multiboot2_module-multiboot.Tpo -c -o loader/multiboot2_module-multiboot.o `test -f 'loader/multiboot.c' || echo '$(srcdir)/'`loader/multiboot.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/multiboot2_module-multiboot.Tpo loader/$(DEPDIR)/multiboot2_module-multiboot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/multiboot.c' object='loader/multiboot2_module-multiboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -c -o loader/multiboot2_module-multiboot.o `test -f 'loader/multiboot.c' || echo '$(srcdir)/'`loader/multiboot.c + +loader/multiboot2_module-multiboot.obj: loader/multiboot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -MT loader/multiboot2_module-multiboot.obj -MD -MP -MF loader/$(DEPDIR)/multiboot2_module-multiboot.Tpo -c -o loader/multiboot2_module-multiboot.obj `if test -f 'loader/multiboot.c'; then $(CYGPATH_W) 'loader/multiboot.c'; else $(CYGPATH_W) '$(srcdir)/loader/multiboot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/multiboot2_module-multiboot.Tpo loader/$(DEPDIR)/multiboot2_module-multiboot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/multiboot.c' object='loader/multiboot2_module-multiboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -c -o loader/multiboot2_module-multiboot.obj `if test -f 'loader/multiboot.c'; then $(CYGPATH_W) 'loader/multiboot.c'; else $(CYGPATH_W) '$(srcdir)/loader/multiboot.c'; fi` + +loader/multiboot2_module-multiboot_mbi2.o: loader/multiboot_mbi2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -MT loader/multiboot2_module-multiboot_mbi2.o -MD -MP -MF loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Tpo -c -o loader/multiboot2_module-multiboot_mbi2.o `test -f 'loader/multiboot_mbi2.c' || echo '$(srcdir)/'`loader/multiboot_mbi2.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Tpo loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/multiboot_mbi2.c' object='loader/multiboot2_module-multiboot_mbi2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -c -o loader/multiboot2_module-multiboot_mbi2.o `test -f 'loader/multiboot_mbi2.c' || echo '$(srcdir)/'`loader/multiboot_mbi2.c + +loader/multiboot2_module-multiboot_mbi2.obj: loader/multiboot_mbi2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -MT loader/multiboot2_module-multiboot_mbi2.obj -MD -MP -MF loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Tpo -c -o loader/multiboot2_module-multiboot_mbi2.obj `if test -f 'loader/multiboot_mbi2.c'; then $(CYGPATH_W) 'loader/multiboot_mbi2.c'; else $(CYGPATH_W) '$(srcdir)/loader/multiboot_mbi2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Tpo loader/$(DEPDIR)/multiboot2_module-multiboot_mbi2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/multiboot_mbi2.c' object='loader/multiboot2_module-multiboot_mbi2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $(multiboot2_module_CFLAGS) $(CFLAGS) -c -o loader/multiboot2_module-multiboot_mbi2.obj `if test -f 'loader/multiboot_mbi2.c'; then $(CYGPATH_W) 'loader/multiboot_mbi2.c'; else $(CYGPATH_W) '$(srcdir)/loader/multiboot_mbi2.c'; fi` + +disk/ieee1275/nand_module-nand.o: disk/ieee1275/nand.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nand_module_CPPFLAGS) $(CPPFLAGS) $(nand_module_CFLAGS) $(CFLAGS) -MT disk/ieee1275/nand_module-nand.o -MD -MP -MF disk/ieee1275/$(DEPDIR)/nand_module-nand.Tpo -c -o disk/ieee1275/nand_module-nand.o `test -f 'disk/ieee1275/nand.c' || echo '$(srcdir)/'`disk/ieee1275/nand.c +@am__fastdepCC_TRUE@ $(am__mv) disk/ieee1275/$(DEPDIR)/nand_module-nand.Tpo disk/ieee1275/$(DEPDIR)/nand_module-nand.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ieee1275/nand.c' object='disk/ieee1275/nand_module-nand.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nand_module_CPPFLAGS) $(CPPFLAGS) $(nand_module_CFLAGS) $(CFLAGS) -c -o disk/ieee1275/nand_module-nand.o `test -f 'disk/ieee1275/nand.c' || echo '$(srcdir)/'`disk/ieee1275/nand.c + +disk/ieee1275/nand_module-nand.obj: disk/ieee1275/nand.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nand_module_CPPFLAGS) $(CPPFLAGS) $(nand_module_CFLAGS) $(CFLAGS) -MT disk/ieee1275/nand_module-nand.obj -MD -MP -MF disk/ieee1275/$(DEPDIR)/nand_module-nand.Tpo -c -o disk/ieee1275/nand_module-nand.obj `if test -f 'disk/ieee1275/nand.c'; then $(CYGPATH_W) 'disk/ieee1275/nand.c'; else $(CYGPATH_W) '$(srcdir)/disk/ieee1275/nand.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/ieee1275/$(DEPDIR)/nand_module-nand.Tpo disk/ieee1275/$(DEPDIR)/nand_module-nand.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/ieee1275/nand.c' object='disk/ieee1275/nand_module-nand.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nand_module_CPPFLAGS) $(CPPFLAGS) $(nand_module_CFLAGS) $(CFLAGS) -c -o disk/ieee1275/nand_module-nand.obj `if test -f 'disk/ieee1275/nand.c'; then $(CYGPATH_W) 'disk/ieee1275/nand.c'; else $(CYGPATH_W) '$(srcdir)/disk/ieee1275/nand.c'; fi` + +fs/nilfs2_module-nilfs2.o: fs/nilfs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $(nilfs2_module_CFLAGS) $(CFLAGS) -MT fs/nilfs2_module-nilfs2.o -MD -MP -MF fs/$(DEPDIR)/nilfs2_module-nilfs2.Tpo -c -o fs/nilfs2_module-nilfs2.o `test -f 'fs/nilfs2.c' || echo '$(srcdir)/'`fs/nilfs2.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/nilfs2_module-nilfs2.Tpo fs/$(DEPDIR)/nilfs2_module-nilfs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/nilfs2.c' object='fs/nilfs2_module-nilfs2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $(nilfs2_module_CFLAGS) $(CFLAGS) -c -o fs/nilfs2_module-nilfs2.o `test -f 'fs/nilfs2.c' || echo '$(srcdir)/'`fs/nilfs2.c + +fs/nilfs2_module-nilfs2.obj: fs/nilfs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $(nilfs2_module_CFLAGS) $(CFLAGS) -MT fs/nilfs2_module-nilfs2.obj -MD -MP -MF fs/$(DEPDIR)/nilfs2_module-nilfs2.Tpo -c -o fs/nilfs2_module-nilfs2.obj `if test -f 'fs/nilfs2.c'; then $(CYGPATH_W) 'fs/nilfs2.c'; else $(CYGPATH_W) '$(srcdir)/fs/nilfs2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/nilfs2_module-nilfs2.Tpo fs/$(DEPDIR)/nilfs2_module-nilfs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/nilfs2.c' object='fs/nilfs2_module-nilfs2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $(nilfs2_module_CFLAGS) $(CFLAGS) -c -o fs/nilfs2_module-nilfs2.obj `if test -f 'fs/nilfs2.c'; then $(CYGPATH_W) 'fs/nilfs2.c'; else $(CYGPATH_W) '$(srcdir)/fs/nilfs2.c'; fi` + +boot/decompressor/none_decompress_image-none.o: boot/decompressor/none.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CFLAGS) $(CFLAGS) -MT boot/decompressor/none_decompress_image-none.o -MD -MP -MF boot/decompressor/$(DEPDIR)/none_decompress_image-none.Tpo -c -o boot/decompressor/none_decompress_image-none.o `test -f 'boot/decompressor/none.c' || echo '$(srcdir)/'`boot/decompressor/none.c +@am__fastdepCC_TRUE@ $(am__mv) boot/decompressor/$(DEPDIR)/none_decompress_image-none.Tpo boot/decompressor/$(DEPDIR)/none_decompress_image-none.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='boot/decompressor/none.c' object='boot/decompressor/none_decompress_image-none.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CFLAGS) $(CFLAGS) -c -o boot/decompressor/none_decompress_image-none.o `test -f 'boot/decompressor/none.c' || echo '$(srcdir)/'`boot/decompressor/none.c + +boot/decompressor/none_decompress_image-none.obj: boot/decompressor/none.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CFLAGS) $(CFLAGS) -MT boot/decompressor/none_decompress_image-none.obj -MD -MP -MF boot/decompressor/$(DEPDIR)/none_decompress_image-none.Tpo -c -o boot/decompressor/none_decompress_image-none.obj `if test -f 'boot/decompressor/none.c'; then $(CYGPATH_W) 'boot/decompressor/none.c'; else $(CYGPATH_W) '$(srcdir)/boot/decompressor/none.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) boot/decompressor/$(DEPDIR)/none_decompress_image-none.Tpo boot/decompressor/$(DEPDIR)/none_decompress_image-none.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='boot/decompressor/none.c' object='boot/decompressor/none_decompress_image-none.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_decompress_image_CPPFLAGS) $(CPPFLAGS) $(none_decompress_image_CFLAGS) $(CFLAGS) -c -o boot/decompressor/none_decompress_image-none.obj `if test -f 'boot/decompressor/none.c'; then $(CYGPATH_W) 'boot/decompressor/none.c'; else $(CYGPATH_W) '$(srcdir)/boot/decompressor/none.c'; fi` + +normal/normal_module-main.o: normal/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-main.o -MD -MP -MF normal/$(DEPDIR)/normal_module-main.Tpo -c -o normal/normal_module-main.o `test -f 'normal/main.c' || echo '$(srcdir)/'`normal/main.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-main.Tpo normal/$(DEPDIR)/normal_module-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/main.c' object='normal/normal_module-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-main.o `test -f 'normal/main.c' || echo '$(srcdir)/'`normal/main.c + +normal/normal_module-main.obj: normal/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-main.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-main.Tpo -c -o normal/normal_module-main.obj `if test -f 'normal/main.c'; then $(CYGPATH_W) 'normal/main.c'; else $(CYGPATH_W) '$(srcdir)/normal/main.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-main.Tpo normal/$(DEPDIR)/normal_module-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/main.c' object='normal/normal_module-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-main.obj `if test -f 'normal/main.c'; then $(CYGPATH_W) 'normal/main.c'; else $(CYGPATH_W) '$(srcdir)/normal/main.c'; fi` + +normal/normal_module-cmdline.o: normal/cmdline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-cmdline.o -MD -MP -MF normal/$(DEPDIR)/normal_module-cmdline.Tpo -c -o normal/normal_module-cmdline.o `test -f 'normal/cmdline.c' || echo '$(srcdir)/'`normal/cmdline.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-cmdline.Tpo normal/$(DEPDIR)/normal_module-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/cmdline.c' object='normal/normal_module-cmdline.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-cmdline.o `test -f 'normal/cmdline.c' || echo '$(srcdir)/'`normal/cmdline.c + +normal/normal_module-cmdline.obj: normal/cmdline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-cmdline.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-cmdline.Tpo -c -o normal/normal_module-cmdline.obj `if test -f 'normal/cmdline.c'; then $(CYGPATH_W) 'normal/cmdline.c'; else $(CYGPATH_W) '$(srcdir)/normal/cmdline.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-cmdline.Tpo normal/$(DEPDIR)/normal_module-cmdline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/cmdline.c' object='normal/normal_module-cmdline.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-cmdline.obj `if test -f 'normal/cmdline.c'; then $(CYGPATH_W) 'normal/cmdline.c'; else $(CYGPATH_W) '$(srcdir)/normal/cmdline.c'; fi` + +normal/normal_module-dyncmd.o: normal/dyncmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-dyncmd.o -MD -MP -MF normal/$(DEPDIR)/normal_module-dyncmd.Tpo -c -o normal/normal_module-dyncmd.o `test -f 'normal/dyncmd.c' || echo '$(srcdir)/'`normal/dyncmd.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-dyncmd.Tpo normal/$(DEPDIR)/normal_module-dyncmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/dyncmd.c' object='normal/normal_module-dyncmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-dyncmd.o `test -f 'normal/dyncmd.c' || echo '$(srcdir)/'`normal/dyncmd.c + +normal/normal_module-dyncmd.obj: normal/dyncmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-dyncmd.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-dyncmd.Tpo -c -o normal/normal_module-dyncmd.obj `if test -f 'normal/dyncmd.c'; then $(CYGPATH_W) 'normal/dyncmd.c'; else $(CYGPATH_W) '$(srcdir)/normal/dyncmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-dyncmd.Tpo normal/$(DEPDIR)/normal_module-dyncmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/dyncmd.c' object='normal/normal_module-dyncmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-dyncmd.obj `if test -f 'normal/dyncmd.c'; then $(CYGPATH_W) 'normal/dyncmd.c'; else $(CYGPATH_W) '$(srcdir)/normal/dyncmd.c'; fi` + +normal/normal_module-auth.o: normal/auth.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-auth.o -MD -MP -MF normal/$(DEPDIR)/normal_module-auth.Tpo -c -o normal/normal_module-auth.o `test -f 'normal/auth.c' || echo '$(srcdir)/'`normal/auth.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-auth.Tpo normal/$(DEPDIR)/normal_module-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/auth.c' object='normal/normal_module-auth.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-auth.o `test -f 'normal/auth.c' || echo '$(srcdir)/'`normal/auth.c + +normal/normal_module-auth.obj: normal/auth.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-auth.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-auth.Tpo -c -o normal/normal_module-auth.obj `if test -f 'normal/auth.c'; then $(CYGPATH_W) 'normal/auth.c'; else $(CYGPATH_W) '$(srcdir)/normal/auth.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-auth.Tpo normal/$(DEPDIR)/normal_module-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/auth.c' object='normal/normal_module-auth.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-auth.obj `if test -f 'normal/auth.c'; then $(CYGPATH_W) 'normal/auth.c'; else $(CYGPATH_W) '$(srcdir)/normal/auth.c'; fi` + +normal/normal_module-autofs.o: normal/autofs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-autofs.o -MD -MP -MF normal/$(DEPDIR)/normal_module-autofs.Tpo -c -o normal/normal_module-autofs.o `test -f 'normal/autofs.c' || echo '$(srcdir)/'`normal/autofs.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-autofs.Tpo normal/$(DEPDIR)/normal_module-autofs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/autofs.c' object='normal/normal_module-autofs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-autofs.o `test -f 'normal/autofs.c' || echo '$(srcdir)/'`normal/autofs.c + +normal/normal_module-autofs.obj: normal/autofs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-autofs.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-autofs.Tpo -c -o normal/normal_module-autofs.obj `if test -f 'normal/autofs.c'; then $(CYGPATH_W) 'normal/autofs.c'; else $(CYGPATH_W) '$(srcdir)/normal/autofs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-autofs.Tpo normal/$(DEPDIR)/normal_module-autofs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/autofs.c' object='normal/normal_module-autofs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-autofs.obj `if test -f 'normal/autofs.c'; then $(CYGPATH_W) 'normal/autofs.c'; else $(CYGPATH_W) '$(srcdir)/normal/autofs.c'; fi` + +normal/normal_module-color.o: normal/color.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-color.o -MD -MP -MF normal/$(DEPDIR)/normal_module-color.Tpo -c -o normal/normal_module-color.o `test -f 'normal/color.c' || echo '$(srcdir)/'`normal/color.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-color.Tpo normal/$(DEPDIR)/normal_module-color.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/color.c' object='normal/normal_module-color.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-color.o `test -f 'normal/color.c' || echo '$(srcdir)/'`normal/color.c + +normal/normal_module-color.obj: normal/color.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-color.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-color.Tpo -c -o normal/normal_module-color.obj `if test -f 'normal/color.c'; then $(CYGPATH_W) 'normal/color.c'; else $(CYGPATH_W) '$(srcdir)/normal/color.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-color.Tpo normal/$(DEPDIR)/normal_module-color.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/color.c' object='normal/normal_module-color.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-color.obj `if test -f 'normal/color.c'; then $(CYGPATH_W) 'normal/color.c'; else $(CYGPATH_W) '$(srcdir)/normal/color.c'; fi` + +normal/normal_module-completion.o: normal/completion.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-completion.o -MD -MP -MF normal/$(DEPDIR)/normal_module-completion.Tpo -c -o normal/normal_module-completion.o `test -f 'normal/completion.c' || echo '$(srcdir)/'`normal/completion.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-completion.Tpo normal/$(DEPDIR)/normal_module-completion.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/completion.c' object='normal/normal_module-completion.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-completion.o `test -f 'normal/completion.c' || echo '$(srcdir)/'`normal/completion.c + +normal/normal_module-completion.obj: normal/completion.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-completion.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-completion.Tpo -c -o normal/normal_module-completion.obj `if test -f 'normal/completion.c'; then $(CYGPATH_W) 'normal/completion.c'; else $(CYGPATH_W) '$(srcdir)/normal/completion.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-completion.Tpo normal/$(DEPDIR)/normal_module-completion.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/completion.c' object='normal/normal_module-completion.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-completion.obj `if test -f 'normal/completion.c'; then $(CYGPATH_W) 'normal/completion.c'; else $(CYGPATH_W) '$(srcdir)/normal/completion.c'; fi` + +normal/normal_module-datetime.o: normal/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-datetime.o -MD -MP -MF normal/$(DEPDIR)/normal_module-datetime.Tpo -c -o normal/normal_module-datetime.o `test -f 'normal/datetime.c' || echo '$(srcdir)/'`normal/datetime.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-datetime.Tpo normal/$(DEPDIR)/normal_module-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/datetime.c' object='normal/normal_module-datetime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-datetime.o `test -f 'normal/datetime.c' || echo '$(srcdir)/'`normal/datetime.c + +normal/normal_module-datetime.obj: normal/datetime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-datetime.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-datetime.Tpo -c -o normal/normal_module-datetime.obj `if test -f 'normal/datetime.c'; then $(CYGPATH_W) 'normal/datetime.c'; else $(CYGPATH_W) '$(srcdir)/normal/datetime.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-datetime.Tpo normal/$(DEPDIR)/normal_module-datetime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/datetime.c' object='normal/normal_module-datetime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-datetime.obj `if test -f 'normal/datetime.c'; then $(CYGPATH_W) 'normal/datetime.c'; else $(CYGPATH_W) '$(srcdir)/normal/datetime.c'; fi` + +normal/normal_module-menu.o: normal/menu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-menu.o -MD -MP -MF normal/$(DEPDIR)/normal_module-menu.Tpo -c -o normal/normal_module-menu.o `test -f 'normal/menu.c' || echo '$(srcdir)/'`normal/menu.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-menu.Tpo normal/$(DEPDIR)/normal_module-menu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/menu.c' object='normal/normal_module-menu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-menu.o `test -f 'normal/menu.c' || echo '$(srcdir)/'`normal/menu.c + +normal/normal_module-menu.obj: normal/menu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-menu.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-menu.Tpo -c -o normal/normal_module-menu.obj `if test -f 'normal/menu.c'; then $(CYGPATH_W) 'normal/menu.c'; else $(CYGPATH_W) '$(srcdir)/normal/menu.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-menu.Tpo normal/$(DEPDIR)/normal_module-menu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/menu.c' object='normal/normal_module-menu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-menu.obj `if test -f 'normal/menu.c'; then $(CYGPATH_W) 'normal/menu.c'; else $(CYGPATH_W) '$(srcdir)/normal/menu.c'; fi` + +normal/normal_module-menu_entry.o: normal/menu_entry.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-menu_entry.o -MD -MP -MF normal/$(DEPDIR)/normal_module-menu_entry.Tpo -c -o normal/normal_module-menu_entry.o `test -f 'normal/menu_entry.c' || echo '$(srcdir)/'`normal/menu_entry.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-menu_entry.Tpo normal/$(DEPDIR)/normal_module-menu_entry.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/menu_entry.c' object='normal/normal_module-menu_entry.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-menu_entry.o `test -f 'normal/menu_entry.c' || echo '$(srcdir)/'`normal/menu_entry.c + +normal/normal_module-menu_entry.obj: normal/menu_entry.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-menu_entry.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-menu_entry.Tpo -c -o normal/normal_module-menu_entry.obj `if test -f 'normal/menu_entry.c'; then $(CYGPATH_W) 'normal/menu_entry.c'; else $(CYGPATH_W) '$(srcdir)/normal/menu_entry.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-menu_entry.Tpo normal/$(DEPDIR)/normal_module-menu_entry.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/menu_entry.c' object='normal/normal_module-menu_entry.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-menu_entry.obj `if test -f 'normal/menu_entry.c'; then $(CYGPATH_W) 'normal/menu_entry.c'; else $(CYGPATH_W) '$(srcdir)/normal/menu_entry.c'; fi` + +normal/normal_module-menu_text.o: normal/menu_text.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-menu_text.o -MD -MP -MF normal/$(DEPDIR)/normal_module-menu_text.Tpo -c -o normal/normal_module-menu_text.o `test -f 'normal/menu_text.c' || echo '$(srcdir)/'`normal/menu_text.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-menu_text.Tpo normal/$(DEPDIR)/normal_module-menu_text.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/menu_text.c' object='normal/normal_module-menu_text.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-menu_text.o `test -f 'normal/menu_text.c' || echo '$(srcdir)/'`normal/menu_text.c + +normal/normal_module-menu_text.obj: normal/menu_text.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-menu_text.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-menu_text.Tpo -c -o normal/normal_module-menu_text.obj `if test -f 'normal/menu_text.c'; then $(CYGPATH_W) 'normal/menu_text.c'; else $(CYGPATH_W) '$(srcdir)/normal/menu_text.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-menu_text.Tpo normal/$(DEPDIR)/normal_module-menu_text.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/menu_text.c' object='normal/normal_module-menu_text.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-menu_text.obj `if test -f 'normal/menu_text.c'; then $(CYGPATH_W) 'normal/menu_text.c'; else $(CYGPATH_W) '$(srcdir)/normal/menu_text.c'; fi` + +normal/normal_module-misc.o: normal/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-misc.o -MD -MP -MF normal/$(DEPDIR)/normal_module-misc.Tpo -c -o normal/normal_module-misc.o `test -f 'normal/misc.c' || echo '$(srcdir)/'`normal/misc.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-misc.Tpo normal/$(DEPDIR)/normal_module-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/misc.c' object='normal/normal_module-misc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-misc.o `test -f 'normal/misc.c' || echo '$(srcdir)/'`normal/misc.c + +normal/normal_module-misc.obj: normal/misc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-misc.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-misc.Tpo -c -o normal/normal_module-misc.obj `if test -f 'normal/misc.c'; then $(CYGPATH_W) 'normal/misc.c'; else $(CYGPATH_W) '$(srcdir)/normal/misc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-misc.Tpo normal/$(DEPDIR)/normal_module-misc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/misc.c' object='normal/normal_module-misc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-misc.obj `if test -f 'normal/misc.c'; then $(CYGPATH_W) 'normal/misc.c'; else $(CYGPATH_W) '$(srcdir)/normal/misc.c'; fi` + +normal/normal_module-crypto.o: normal/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-crypto.o -MD -MP -MF normal/$(DEPDIR)/normal_module-crypto.Tpo -c -o normal/normal_module-crypto.o `test -f 'normal/crypto.c' || echo '$(srcdir)/'`normal/crypto.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-crypto.Tpo normal/$(DEPDIR)/normal_module-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/crypto.c' object='normal/normal_module-crypto.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-crypto.o `test -f 'normal/crypto.c' || echo '$(srcdir)/'`normal/crypto.c + +normal/normal_module-crypto.obj: normal/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-crypto.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-crypto.Tpo -c -o normal/normal_module-crypto.obj `if test -f 'normal/crypto.c'; then $(CYGPATH_W) 'normal/crypto.c'; else $(CYGPATH_W) '$(srcdir)/normal/crypto.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-crypto.Tpo normal/$(DEPDIR)/normal_module-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/crypto.c' object='normal/normal_module-crypto.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-crypto.obj `if test -f 'normal/crypto.c'; then $(CYGPATH_W) 'normal/crypto.c'; else $(CYGPATH_W) '$(srcdir)/normal/crypto.c'; fi` + +normal/normal_module-term.o: normal/term.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-term.o -MD -MP -MF normal/$(DEPDIR)/normal_module-term.Tpo -c -o normal/normal_module-term.o `test -f 'normal/term.c' || echo '$(srcdir)/'`normal/term.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-term.Tpo normal/$(DEPDIR)/normal_module-term.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/term.c' object='normal/normal_module-term.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-term.o `test -f 'normal/term.c' || echo '$(srcdir)/'`normal/term.c + +normal/normal_module-term.obj: normal/term.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-term.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-term.Tpo -c -o normal/normal_module-term.obj `if test -f 'normal/term.c'; then $(CYGPATH_W) 'normal/term.c'; else $(CYGPATH_W) '$(srcdir)/normal/term.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-term.Tpo normal/$(DEPDIR)/normal_module-term.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/term.c' object='normal/normal_module-term.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-term.obj `if test -f 'normal/term.c'; then $(CYGPATH_W) 'normal/term.c'; else $(CYGPATH_W) '$(srcdir)/normal/term.c'; fi` + +normal/normal_module-context.o: normal/context.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-context.o -MD -MP -MF normal/$(DEPDIR)/normal_module-context.Tpo -c -o normal/normal_module-context.o `test -f 'normal/context.c' || echo '$(srcdir)/'`normal/context.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-context.Tpo normal/$(DEPDIR)/normal_module-context.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/context.c' object='normal/normal_module-context.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-context.o `test -f 'normal/context.c' || echo '$(srcdir)/'`normal/context.c + +normal/normal_module-context.obj: normal/context.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-context.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-context.Tpo -c -o normal/normal_module-context.obj `if test -f 'normal/context.c'; then $(CYGPATH_W) 'normal/context.c'; else $(CYGPATH_W) '$(srcdir)/normal/context.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-context.Tpo normal/$(DEPDIR)/normal_module-context.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/context.c' object='normal/normal_module-context.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-context.obj `if test -f 'normal/context.c'; then $(CYGPATH_W) 'normal/context.c'; else $(CYGPATH_W) '$(srcdir)/normal/context.c'; fi` + +normal/normal_module-charset.o: normal/charset.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-charset.o -MD -MP -MF normal/$(DEPDIR)/normal_module-charset.Tpo -c -o normal/normal_module-charset.o `test -f 'normal/charset.c' || echo '$(srcdir)/'`normal/charset.c +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-charset.Tpo normal/$(DEPDIR)/normal_module-charset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/charset.c' object='normal/normal_module-charset.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-charset.o `test -f 'normal/charset.c' || echo '$(srcdir)/'`normal/charset.c + +normal/normal_module-charset.obj: normal/charset.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal/normal_module-charset.obj -MD -MP -MF normal/$(DEPDIR)/normal_module-charset.Tpo -c -o normal/normal_module-charset.obj `if test -f 'normal/charset.c'; then $(CYGPATH_W) 'normal/charset.c'; else $(CYGPATH_W) '$(srcdir)/normal/charset.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) normal/$(DEPDIR)/normal_module-charset.Tpo normal/$(DEPDIR)/normal_module-charset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='normal/charset.c' object='normal/normal_module-charset.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal/normal_module-charset.obj `if test -f 'normal/charset.c'; then $(CYGPATH_W) 'normal/charset.c'; else $(CYGPATH_W) '$(srcdir)/normal/charset.c'; fi` + +script/normal_module-main.o: script/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-main.o -MD -MP -MF script/$(DEPDIR)/normal_module-main.Tpo -c -o script/normal_module-main.o `test -f 'script/main.c' || echo '$(srcdir)/'`script/main.c +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-main.Tpo script/$(DEPDIR)/normal_module-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/main.c' object='script/normal_module-main.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-main.o `test -f 'script/main.c' || echo '$(srcdir)/'`script/main.c + +script/normal_module-main.obj: script/main.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-main.obj -MD -MP -MF script/$(DEPDIR)/normal_module-main.Tpo -c -o script/normal_module-main.obj `if test -f 'script/main.c'; then $(CYGPATH_W) 'script/main.c'; else $(CYGPATH_W) '$(srcdir)/script/main.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-main.Tpo script/$(DEPDIR)/normal_module-main.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/main.c' object='script/normal_module-main.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-main.obj `if test -f 'script/main.c'; then $(CYGPATH_W) 'script/main.c'; else $(CYGPATH_W) '$(srcdir)/script/main.c'; fi` + +script/normal_module-script.o: script/script.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-script.o -MD -MP -MF script/$(DEPDIR)/normal_module-script.Tpo -c -o script/normal_module-script.o `test -f 'script/script.c' || echo '$(srcdir)/'`script/script.c +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-script.Tpo script/$(DEPDIR)/normal_module-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/script.c' object='script/normal_module-script.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-script.o `test -f 'script/script.c' || echo '$(srcdir)/'`script/script.c + +script/normal_module-script.obj: script/script.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-script.obj -MD -MP -MF script/$(DEPDIR)/normal_module-script.Tpo -c -o script/normal_module-script.obj `if test -f 'script/script.c'; then $(CYGPATH_W) 'script/script.c'; else $(CYGPATH_W) '$(srcdir)/script/script.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-script.Tpo script/$(DEPDIR)/normal_module-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/script.c' object='script/normal_module-script.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-script.obj `if test -f 'script/script.c'; then $(CYGPATH_W) 'script/script.c'; else $(CYGPATH_W) '$(srcdir)/script/script.c'; fi` + +script/normal_module-execute.o: script/execute.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-execute.o -MD -MP -MF script/$(DEPDIR)/normal_module-execute.Tpo -c -o script/normal_module-execute.o `test -f 'script/execute.c' || echo '$(srcdir)/'`script/execute.c +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-execute.Tpo script/$(DEPDIR)/normal_module-execute.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/execute.c' object='script/normal_module-execute.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-execute.o `test -f 'script/execute.c' || echo '$(srcdir)/'`script/execute.c + +script/normal_module-execute.obj: script/execute.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-execute.obj -MD -MP -MF script/$(DEPDIR)/normal_module-execute.Tpo -c -o script/normal_module-execute.obj `if test -f 'script/execute.c'; then $(CYGPATH_W) 'script/execute.c'; else $(CYGPATH_W) '$(srcdir)/script/execute.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-execute.Tpo script/$(DEPDIR)/normal_module-execute.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/execute.c' object='script/normal_module-execute.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-execute.obj `if test -f 'script/execute.c'; then $(CYGPATH_W) 'script/execute.c'; else $(CYGPATH_W) '$(srcdir)/script/execute.c'; fi` + +script/normal_module-function.o: script/function.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-function.o -MD -MP -MF script/$(DEPDIR)/normal_module-function.Tpo -c -o script/normal_module-function.o `test -f 'script/function.c' || echo '$(srcdir)/'`script/function.c +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-function.Tpo script/$(DEPDIR)/normal_module-function.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/function.c' object='script/normal_module-function.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-function.o `test -f 'script/function.c' || echo '$(srcdir)/'`script/function.c + +script/normal_module-function.obj: script/function.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-function.obj -MD -MP -MF script/$(DEPDIR)/normal_module-function.Tpo -c -o script/normal_module-function.obj `if test -f 'script/function.c'; then $(CYGPATH_W) 'script/function.c'; else $(CYGPATH_W) '$(srcdir)/script/function.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-function.Tpo script/$(DEPDIR)/normal_module-function.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/function.c' object='script/normal_module-function.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-function.obj `if test -f 'script/function.c'; then $(CYGPATH_W) 'script/function.c'; else $(CYGPATH_W) '$(srcdir)/script/function.c'; fi` + +script/normal_module-lexer.o: script/lexer.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-lexer.o -MD -MP -MF script/$(DEPDIR)/normal_module-lexer.Tpo -c -o script/normal_module-lexer.o `test -f 'script/lexer.c' || echo '$(srcdir)/'`script/lexer.c +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-lexer.Tpo script/$(DEPDIR)/normal_module-lexer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/lexer.c' object='script/normal_module-lexer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-lexer.o `test -f 'script/lexer.c' || echo '$(srcdir)/'`script/lexer.c + +script/normal_module-lexer.obj: script/lexer.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-lexer.obj -MD -MP -MF script/$(DEPDIR)/normal_module-lexer.Tpo -c -o script/normal_module-lexer.obj `if test -f 'script/lexer.c'; then $(CYGPATH_W) 'script/lexer.c'; else $(CYGPATH_W) '$(srcdir)/script/lexer.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-lexer.Tpo script/$(DEPDIR)/normal_module-lexer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/lexer.c' object='script/normal_module-lexer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-lexer.obj `if test -f 'script/lexer.c'; then $(CYGPATH_W) 'script/lexer.c'; else $(CYGPATH_W) '$(srcdir)/script/lexer.c'; fi` + +script/normal_module-argv.o: script/argv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-argv.o -MD -MP -MF script/$(DEPDIR)/normal_module-argv.Tpo -c -o script/normal_module-argv.o `test -f 'script/argv.c' || echo '$(srcdir)/'`script/argv.c +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-argv.Tpo script/$(DEPDIR)/normal_module-argv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/argv.c' object='script/normal_module-argv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-argv.o `test -f 'script/argv.c' || echo '$(srcdir)/'`script/argv.c + +script/normal_module-argv.obj: script/argv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT script/normal_module-argv.obj -MD -MP -MF script/$(DEPDIR)/normal_module-argv.Tpo -c -o script/normal_module-argv.obj `if test -f 'script/argv.c'; then $(CYGPATH_W) 'script/argv.c'; else $(CYGPATH_W) '$(srcdir)/script/argv.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) script/$(DEPDIR)/normal_module-argv.Tpo script/$(DEPDIR)/normal_module-argv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='script/argv.c' object='script/normal_module-argv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o script/normal_module-argv.obj `if test -f 'script/argv.c'; then $(CYGPATH_W) 'script/argv.c'; else $(CYGPATH_W) '$(srcdir)/script/argv.c'; fi` + +commands/normal_module-menuentry.o: commands/menuentry.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT commands/normal_module-menuentry.o -MD -MP -MF commands/$(DEPDIR)/normal_module-menuentry.Tpo -c -o commands/normal_module-menuentry.o `test -f 'commands/menuentry.c' || echo '$(srcdir)/'`commands/menuentry.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/normal_module-menuentry.Tpo commands/$(DEPDIR)/normal_module-menuentry.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/menuentry.c' object='commands/normal_module-menuentry.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o commands/normal_module-menuentry.o `test -f 'commands/menuentry.c' || echo '$(srcdir)/'`commands/menuentry.c + +commands/normal_module-menuentry.obj: commands/menuentry.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT commands/normal_module-menuentry.obj -MD -MP -MF commands/$(DEPDIR)/normal_module-menuentry.Tpo -c -o commands/normal_module-menuentry.obj `if test -f 'commands/menuentry.c'; then $(CYGPATH_W) 'commands/menuentry.c'; else $(CYGPATH_W) '$(srcdir)/commands/menuentry.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/normal_module-menuentry.Tpo commands/$(DEPDIR)/normal_module-menuentry.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/menuentry.c' object='commands/normal_module-menuentry.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o commands/normal_module-menuentry.obj `if test -f 'commands/menuentry.c'; then $(CYGPATH_W) 'commands/menuentry.c'; else $(CYGPATH_W) '$(srcdir)/commands/menuentry.c'; fi` + +normal_module-unidata.o: unidata.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal_module-unidata.o -MD -MP -MF $(DEPDIR)/normal_module-unidata.Tpo -c -o normal_module-unidata.o `test -f 'unidata.c' || echo '$(srcdir)/'`unidata.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/normal_module-unidata.Tpo $(DEPDIR)/normal_module-unidata.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='unidata.c' object='normal_module-unidata.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal_module-unidata.o `test -f 'unidata.c' || echo '$(srcdir)/'`unidata.c + +normal_module-unidata.obj: unidata.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal_module-unidata.obj -MD -MP -MF $(DEPDIR)/normal_module-unidata.Tpo -c -o normal_module-unidata.obj `if test -f 'unidata.c'; then $(CYGPATH_W) 'unidata.c'; else $(CYGPATH_W) '$(srcdir)/unidata.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/normal_module-unidata.Tpo $(DEPDIR)/normal_module-unidata.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='unidata.c' object='normal_module-unidata.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal_module-unidata.obj `if test -f 'unidata.c'; then $(CYGPATH_W) 'unidata.c'; else $(CYGPATH_W) '$(srcdir)/unidata.c'; fi` + +normal_module-grub_script.tab.o: grub_script.tab.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal_module-grub_script.tab.o -MD -MP -MF $(DEPDIR)/normal_module-grub_script.tab.Tpo -c -o normal_module-grub_script.tab.o `test -f 'grub_script.tab.c' || echo '$(srcdir)/'`grub_script.tab.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/normal_module-grub_script.tab.Tpo $(DEPDIR)/normal_module-grub_script.tab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.tab.c' object='normal_module-grub_script.tab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal_module-grub_script.tab.o `test -f 'grub_script.tab.c' || echo '$(srcdir)/'`grub_script.tab.c + +normal_module-grub_script.tab.obj: grub_script.tab.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal_module-grub_script.tab.obj -MD -MP -MF $(DEPDIR)/normal_module-grub_script.tab.Tpo -c -o normal_module-grub_script.tab.obj `if test -f 'grub_script.tab.c'; then $(CYGPATH_W) 'grub_script.tab.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.tab.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/normal_module-grub_script.tab.Tpo $(DEPDIR)/normal_module-grub_script.tab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.tab.c' object='normal_module-grub_script.tab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal_module-grub_script.tab.obj `if test -f 'grub_script.tab.c'; then $(CYGPATH_W) 'grub_script.tab.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.tab.c'; fi` + +normal_module-grub_script.yy.o: grub_script.yy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal_module-grub_script.yy.o -MD -MP -MF $(DEPDIR)/normal_module-grub_script.yy.Tpo -c -o normal_module-grub_script.yy.o `test -f 'grub_script.yy.c' || echo '$(srcdir)/'`grub_script.yy.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/normal_module-grub_script.yy.Tpo $(DEPDIR)/normal_module-grub_script.yy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.yy.c' object='normal_module-grub_script.yy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal_module-grub_script.yy.o `test -f 'grub_script.yy.c' || echo '$(srcdir)/'`grub_script.yy.c + +normal_module-grub_script.yy.obj: grub_script.yy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -MT normal_module-grub_script.yy.obj -MD -MP -MF $(DEPDIR)/normal_module-grub_script.yy.Tpo -c -o normal_module-grub_script.yy.obj `if test -f 'grub_script.yy.c'; then $(CYGPATH_W) 'grub_script.yy.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.yy.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/normal_module-grub_script.yy.Tpo $(DEPDIR)/normal_module-grub_script.yy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grub_script.yy.c' object='normal_module-grub_script.yy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $(normal_module_CFLAGS) $(CFLAGS) -c -o normal_module-grub_script.yy.obj `if test -f 'grub_script.yy.c'; then $(CYGPATH_W) 'grub_script.yy.c'; else $(CYGPATH_W) '$(srcdir)/grub_script.yy.c'; fi` + +fs/ntfs_module-ntfs.o: fs/ntfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $(ntfs_module_CFLAGS) $(CFLAGS) -MT fs/ntfs_module-ntfs.o -MD -MP -MF fs/$(DEPDIR)/ntfs_module-ntfs.Tpo -c -o fs/ntfs_module-ntfs.o `test -f 'fs/ntfs.c' || echo '$(srcdir)/'`fs/ntfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ntfs_module-ntfs.Tpo fs/$(DEPDIR)/ntfs_module-ntfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ntfs.c' object='fs/ntfs_module-ntfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $(ntfs_module_CFLAGS) $(CFLAGS) -c -o fs/ntfs_module-ntfs.o `test -f 'fs/ntfs.c' || echo '$(srcdir)/'`fs/ntfs.c + +fs/ntfs_module-ntfs.obj: fs/ntfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $(ntfs_module_CFLAGS) $(CFLAGS) -MT fs/ntfs_module-ntfs.obj -MD -MP -MF fs/$(DEPDIR)/ntfs_module-ntfs.Tpo -c -o fs/ntfs_module-ntfs.obj `if test -f 'fs/ntfs.c'; then $(CYGPATH_W) 'fs/ntfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/ntfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ntfs_module-ntfs.Tpo fs/$(DEPDIR)/ntfs_module-ntfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ntfs.c' object='fs/ntfs_module-ntfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $(ntfs_module_CFLAGS) $(CFLAGS) -c -o fs/ntfs_module-ntfs.obj `if test -f 'fs/ntfs.c'; then $(CYGPATH_W) 'fs/ntfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/ntfs.c'; fi` + +fs/ntfscomp_module-ntfscomp.o: fs/ntfscomp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $(ntfscomp_module_CFLAGS) $(CFLAGS) -MT fs/ntfscomp_module-ntfscomp.o -MD -MP -MF fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Tpo -c -o fs/ntfscomp_module-ntfscomp.o `test -f 'fs/ntfscomp.c' || echo '$(srcdir)/'`fs/ntfscomp.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Tpo fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ntfscomp.c' object='fs/ntfscomp_module-ntfscomp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $(ntfscomp_module_CFLAGS) $(CFLAGS) -c -o fs/ntfscomp_module-ntfscomp.o `test -f 'fs/ntfscomp.c' || echo '$(srcdir)/'`fs/ntfscomp.c + +fs/ntfscomp_module-ntfscomp.obj: fs/ntfscomp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $(ntfscomp_module_CFLAGS) $(CFLAGS) -MT fs/ntfscomp_module-ntfscomp.obj -MD -MP -MF fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Tpo -c -o fs/ntfscomp_module-ntfscomp.obj `if test -f 'fs/ntfscomp.c'; then $(CYGPATH_W) 'fs/ntfscomp.c'; else $(CYGPATH_W) '$(srcdir)/fs/ntfscomp.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Tpo fs/$(DEPDIR)/ntfscomp_module-ntfscomp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ntfscomp.c' object='fs/ntfscomp_module-ntfscomp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $(ntfscomp_module_CFLAGS) $(CFLAGS) -c -o fs/ntfscomp_module-ntfscomp.obj `if test -f 'fs/ntfscomp.c'; then $(CYGPATH_W) 'fs/ntfscomp.c'; else $(CYGPATH_W) '$(srcdir)/fs/ntfscomp.c'; fi` + +loader/i386/pc/ntldr_module-ntldr.o: loader/i386/pc/ntldr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntldr_module_CPPFLAGS) $(CPPFLAGS) $(ntldr_module_CFLAGS) $(CFLAGS) -MT loader/i386/pc/ntldr_module-ntldr.o -MD -MP -MF loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Tpo -c -o loader/i386/pc/ntldr_module-ntldr.o `test -f 'loader/i386/pc/ntldr.c' || echo '$(srcdir)/'`loader/i386/pc/ntldr.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Tpo loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/pc/ntldr.c' object='loader/i386/pc/ntldr_module-ntldr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntldr_module_CPPFLAGS) $(CPPFLAGS) $(ntldr_module_CFLAGS) $(CFLAGS) -c -o loader/i386/pc/ntldr_module-ntldr.o `test -f 'loader/i386/pc/ntldr.c' || echo '$(srcdir)/'`loader/i386/pc/ntldr.c + +loader/i386/pc/ntldr_module-ntldr.obj: loader/i386/pc/ntldr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntldr_module_CPPFLAGS) $(CPPFLAGS) $(ntldr_module_CFLAGS) $(CFLAGS) -MT loader/i386/pc/ntldr_module-ntldr.obj -MD -MP -MF loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Tpo -c -o loader/i386/pc/ntldr_module-ntldr.obj `if test -f 'loader/i386/pc/ntldr.c'; then $(CYGPATH_W) 'loader/i386/pc/ntldr.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/pc/ntldr.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Tpo loader/i386/pc/$(DEPDIR)/ntldr_module-ntldr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/pc/ntldr.c' object='loader/i386/pc/ntldr_module-ntldr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntldr_module_CPPFLAGS) $(CPPFLAGS) $(ntldr_module_CFLAGS) $(CFLAGS) -c -o loader/i386/pc/ntldr_module-ntldr.obj `if test -f 'loader/i386/pc/ntldr.c'; then $(CYGPATH_W) 'loader/i386/pc/ntldr.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/pc/ntldr.c'; fi` + +bus/usb/ohci_module-ohci.o: bus/usb/ohci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $(ohci_module_CFLAGS) $(CFLAGS) -MT bus/usb/ohci_module-ohci.o -MD -MP -MF bus/usb/$(DEPDIR)/ohci_module-ohci.Tpo -c -o bus/usb/ohci_module-ohci.o `test -f 'bus/usb/ohci.c' || echo '$(srcdir)/'`bus/usb/ohci.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/ohci_module-ohci.Tpo bus/usb/$(DEPDIR)/ohci_module-ohci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/ohci.c' object='bus/usb/ohci_module-ohci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $(ohci_module_CFLAGS) $(CFLAGS) -c -o bus/usb/ohci_module-ohci.o `test -f 'bus/usb/ohci.c' || echo '$(srcdir)/'`bus/usb/ohci.c + +bus/usb/ohci_module-ohci.obj: bus/usb/ohci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $(ohci_module_CFLAGS) $(CFLAGS) -MT bus/usb/ohci_module-ohci.obj -MD -MP -MF bus/usb/$(DEPDIR)/ohci_module-ohci.Tpo -c -o bus/usb/ohci_module-ohci.obj `if test -f 'bus/usb/ohci.c'; then $(CYGPATH_W) 'bus/usb/ohci.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/ohci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/ohci_module-ohci.Tpo bus/usb/$(DEPDIR)/ohci_module-ohci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/ohci.c' object='bus/usb/ohci_module-ohci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $(ohci_module_CFLAGS) $(CFLAGS) -c -o bus/usb/ohci_module-ohci.obj `if test -f 'bus/usb/ohci.c'; then $(CYGPATH_W) 'bus/usb/ohci.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/ohci.c'; fi` + +partmap/part_acorn_module-acorn.o: partmap/acorn.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $(part_acorn_module_CFLAGS) $(CFLAGS) -MT partmap/part_acorn_module-acorn.o -MD -MP -MF partmap/$(DEPDIR)/part_acorn_module-acorn.Tpo -c -o partmap/part_acorn_module-acorn.o `test -f 'partmap/acorn.c' || echo '$(srcdir)/'`partmap/acorn.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_acorn_module-acorn.Tpo partmap/$(DEPDIR)/part_acorn_module-acorn.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/acorn.c' object='partmap/part_acorn_module-acorn.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $(part_acorn_module_CFLAGS) $(CFLAGS) -c -o partmap/part_acorn_module-acorn.o `test -f 'partmap/acorn.c' || echo '$(srcdir)/'`partmap/acorn.c + +partmap/part_acorn_module-acorn.obj: partmap/acorn.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $(part_acorn_module_CFLAGS) $(CFLAGS) -MT partmap/part_acorn_module-acorn.obj -MD -MP -MF partmap/$(DEPDIR)/part_acorn_module-acorn.Tpo -c -o partmap/part_acorn_module-acorn.obj `if test -f 'partmap/acorn.c'; then $(CYGPATH_W) 'partmap/acorn.c'; else $(CYGPATH_W) '$(srcdir)/partmap/acorn.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_acorn_module-acorn.Tpo partmap/$(DEPDIR)/part_acorn_module-acorn.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/acorn.c' object='partmap/part_acorn_module-acorn.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $(part_acorn_module_CFLAGS) $(CFLAGS) -c -o partmap/part_acorn_module-acorn.obj `if test -f 'partmap/acorn.c'; then $(CYGPATH_W) 'partmap/acorn.c'; else $(CYGPATH_W) '$(srcdir)/partmap/acorn.c'; fi` + +partmap/part_amiga_module-amiga.o: partmap/amiga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $(part_amiga_module_CFLAGS) $(CFLAGS) -MT partmap/part_amiga_module-amiga.o -MD -MP -MF partmap/$(DEPDIR)/part_amiga_module-amiga.Tpo -c -o partmap/part_amiga_module-amiga.o `test -f 'partmap/amiga.c' || echo '$(srcdir)/'`partmap/amiga.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_amiga_module-amiga.Tpo partmap/$(DEPDIR)/part_amiga_module-amiga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/amiga.c' object='partmap/part_amiga_module-amiga.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $(part_amiga_module_CFLAGS) $(CFLAGS) -c -o partmap/part_amiga_module-amiga.o `test -f 'partmap/amiga.c' || echo '$(srcdir)/'`partmap/amiga.c + +partmap/part_amiga_module-amiga.obj: partmap/amiga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $(part_amiga_module_CFLAGS) $(CFLAGS) -MT partmap/part_amiga_module-amiga.obj -MD -MP -MF partmap/$(DEPDIR)/part_amiga_module-amiga.Tpo -c -o partmap/part_amiga_module-amiga.obj `if test -f 'partmap/amiga.c'; then $(CYGPATH_W) 'partmap/amiga.c'; else $(CYGPATH_W) '$(srcdir)/partmap/amiga.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_amiga_module-amiga.Tpo partmap/$(DEPDIR)/part_amiga_module-amiga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/amiga.c' object='partmap/part_amiga_module-amiga.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $(part_amiga_module_CFLAGS) $(CFLAGS) -c -o partmap/part_amiga_module-amiga.obj `if test -f 'partmap/amiga.c'; then $(CYGPATH_W) 'partmap/amiga.c'; else $(CYGPATH_W) '$(srcdir)/partmap/amiga.c'; fi` + +partmap/part_apple_module-apple.o: partmap/apple.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $(part_apple_module_CFLAGS) $(CFLAGS) -MT partmap/part_apple_module-apple.o -MD -MP -MF partmap/$(DEPDIR)/part_apple_module-apple.Tpo -c -o partmap/part_apple_module-apple.o `test -f 'partmap/apple.c' || echo '$(srcdir)/'`partmap/apple.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_apple_module-apple.Tpo partmap/$(DEPDIR)/part_apple_module-apple.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/apple.c' object='partmap/part_apple_module-apple.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $(part_apple_module_CFLAGS) $(CFLAGS) -c -o partmap/part_apple_module-apple.o `test -f 'partmap/apple.c' || echo '$(srcdir)/'`partmap/apple.c + +partmap/part_apple_module-apple.obj: partmap/apple.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $(part_apple_module_CFLAGS) $(CFLAGS) -MT partmap/part_apple_module-apple.obj -MD -MP -MF partmap/$(DEPDIR)/part_apple_module-apple.Tpo -c -o partmap/part_apple_module-apple.obj `if test -f 'partmap/apple.c'; then $(CYGPATH_W) 'partmap/apple.c'; else $(CYGPATH_W) '$(srcdir)/partmap/apple.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_apple_module-apple.Tpo partmap/$(DEPDIR)/part_apple_module-apple.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/apple.c' object='partmap/part_apple_module-apple.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $(part_apple_module_CFLAGS) $(CFLAGS) -c -o partmap/part_apple_module-apple.obj `if test -f 'partmap/apple.c'; then $(CYGPATH_W) 'partmap/apple.c'; else $(CYGPATH_W) '$(srcdir)/partmap/apple.c'; fi` + +partmap/part_bsd_module-bsdlabel.o: partmap/bsdlabel.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $(part_bsd_module_CFLAGS) $(CFLAGS) -MT partmap/part_bsd_module-bsdlabel.o -MD -MP -MF partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Tpo -c -o partmap/part_bsd_module-bsdlabel.o `test -f 'partmap/bsdlabel.c' || echo '$(srcdir)/'`partmap/bsdlabel.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Tpo partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/bsdlabel.c' object='partmap/part_bsd_module-bsdlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $(part_bsd_module_CFLAGS) $(CFLAGS) -c -o partmap/part_bsd_module-bsdlabel.o `test -f 'partmap/bsdlabel.c' || echo '$(srcdir)/'`partmap/bsdlabel.c + +partmap/part_bsd_module-bsdlabel.obj: partmap/bsdlabel.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $(part_bsd_module_CFLAGS) $(CFLAGS) -MT partmap/part_bsd_module-bsdlabel.obj -MD -MP -MF partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Tpo -c -o partmap/part_bsd_module-bsdlabel.obj `if test -f 'partmap/bsdlabel.c'; then $(CYGPATH_W) 'partmap/bsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/partmap/bsdlabel.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Tpo partmap/$(DEPDIR)/part_bsd_module-bsdlabel.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/bsdlabel.c' object='partmap/part_bsd_module-bsdlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $(part_bsd_module_CFLAGS) $(CFLAGS) -c -o partmap/part_bsd_module-bsdlabel.obj `if test -f 'partmap/bsdlabel.c'; then $(CYGPATH_W) 'partmap/bsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/partmap/bsdlabel.c'; fi` + +partmap/part_gpt_module-gpt.o: partmap/gpt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $(part_gpt_module_CFLAGS) $(CFLAGS) -MT partmap/part_gpt_module-gpt.o -MD -MP -MF partmap/$(DEPDIR)/part_gpt_module-gpt.Tpo -c -o partmap/part_gpt_module-gpt.o `test -f 'partmap/gpt.c' || echo '$(srcdir)/'`partmap/gpt.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_gpt_module-gpt.Tpo partmap/$(DEPDIR)/part_gpt_module-gpt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/gpt.c' object='partmap/part_gpt_module-gpt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $(part_gpt_module_CFLAGS) $(CFLAGS) -c -o partmap/part_gpt_module-gpt.o `test -f 'partmap/gpt.c' || echo '$(srcdir)/'`partmap/gpt.c + +partmap/part_gpt_module-gpt.obj: partmap/gpt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $(part_gpt_module_CFLAGS) $(CFLAGS) -MT partmap/part_gpt_module-gpt.obj -MD -MP -MF partmap/$(DEPDIR)/part_gpt_module-gpt.Tpo -c -o partmap/part_gpt_module-gpt.obj `if test -f 'partmap/gpt.c'; then $(CYGPATH_W) 'partmap/gpt.c'; else $(CYGPATH_W) '$(srcdir)/partmap/gpt.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_gpt_module-gpt.Tpo partmap/$(DEPDIR)/part_gpt_module-gpt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/gpt.c' object='partmap/part_gpt_module-gpt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $(part_gpt_module_CFLAGS) $(CFLAGS) -c -o partmap/part_gpt_module-gpt.obj `if test -f 'partmap/gpt.c'; then $(CYGPATH_W) 'partmap/gpt.c'; else $(CYGPATH_W) '$(srcdir)/partmap/gpt.c'; fi` + +partmap/part_msdos_module-msdos.o: partmap/msdos.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $(part_msdos_module_CFLAGS) $(CFLAGS) -MT partmap/part_msdos_module-msdos.o -MD -MP -MF partmap/$(DEPDIR)/part_msdos_module-msdos.Tpo -c -o partmap/part_msdos_module-msdos.o `test -f 'partmap/msdos.c' || echo '$(srcdir)/'`partmap/msdos.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_msdos_module-msdos.Tpo partmap/$(DEPDIR)/part_msdos_module-msdos.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/msdos.c' object='partmap/part_msdos_module-msdos.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $(part_msdos_module_CFLAGS) $(CFLAGS) -c -o partmap/part_msdos_module-msdos.o `test -f 'partmap/msdos.c' || echo '$(srcdir)/'`partmap/msdos.c + +partmap/part_msdos_module-msdos.obj: partmap/msdos.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $(part_msdos_module_CFLAGS) $(CFLAGS) -MT partmap/part_msdos_module-msdos.obj -MD -MP -MF partmap/$(DEPDIR)/part_msdos_module-msdos.Tpo -c -o partmap/part_msdos_module-msdos.obj `if test -f 'partmap/msdos.c'; then $(CYGPATH_W) 'partmap/msdos.c'; else $(CYGPATH_W) '$(srcdir)/partmap/msdos.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_msdos_module-msdos.Tpo partmap/$(DEPDIR)/part_msdos_module-msdos.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/msdos.c' object='partmap/part_msdos_module-msdos.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $(part_msdos_module_CFLAGS) $(CFLAGS) -c -o partmap/part_msdos_module-msdos.obj `if test -f 'partmap/msdos.c'; then $(CYGPATH_W) 'partmap/msdos.c'; else $(CYGPATH_W) '$(srcdir)/partmap/msdos.c'; fi` + +partmap/part_sun_module-sun.o: partmap/sun.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $(part_sun_module_CFLAGS) $(CFLAGS) -MT partmap/part_sun_module-sun.o -MD -MP -MF partmap/$(DEPDIR)/part_sun_module-sun.Tpo -c -o partmap/part_sun_module-sun.o `test -f 'partmap/sun.c' || echo '$(srcdir)/'`partmap/sun.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_sun_module-sun.Tpo partmap/$(DEPDIR)/part_sun_module-sun.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/sun.c' object='partmap/part_sun_module-sun.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $(part_sun_module_CFLAGS) $(CFLAGS) -c -o partmap/part_sun_module-sun.o `test -f 'partmap/sun.c' || echo '$(srcdir)/'`partmap/sun.c + +partmap/part_sun_module-sun.obj: partmap/sun.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $(part_sun_module_CFLAGS) $(CFLAGS) -MT partmap/part_sun_module-sun.obj -MD -MP -MF partmap/$(DEPDIR)/part_sun_module-sun.Tpo -c -o partmap/part_sun_module-sun.obj `if test -f 'partmap/sun.c'; then $(CYGPATH_W) 'partmap/sun.c'; else $(CYGPATH_W) '$(srcdir)/partmap/sun.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_sun_module-sun.Tpo partmap/$(DEPDIR)/part_sun_module-sun.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/sun.c' object='partmap/part_sun_module-sun.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $(part_sun_module_CFLAGS) $(CFLAGS) -c -o partmap/part_sun_module-sun.obj `if test -f 'partmap/sun.c'; then $(CYGPATH_W) 'partmap/sun.c'; else $(CYGPATH_W) '$(srcdir)/partmap/sun.c'; fi` + +partmap/part_sunpc_module-sunpc.o: partmap/sunpc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $(part_sunpc_module_CFLAGS) $(CFLAGS) -MT partmap/part_sunpc_module-sunpc.o -MD -MP -MF partmap/$(DEPDIR)/part_sunpc_module-sunpc.Tpo -c -o partmap/part_sunpc_module-sunpc.o `test -f 'partmap/sunpc.c' || echo '$(srcdir)/'`partmap/sunpc.c +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_sunpc_module-sunpc.Tpo partmap/$(DEPDIR)/part_sunpc_module-sunpc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/sunpc.c' object='partmap/part_sunpc_module-sunpc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $(part_sunpc_module_CFLAGS) $(CFLAGS) -c -o partmap/part_sunpc_module-sunpc.o `test -f 'partmap/sunpc.c' || echo '$(srcdir)/'`partmap/sunpc.c + +partmap/part_sunpc_module-sunpc.obj: partmap/sunpc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $(part_sunpc_module_CFLAGS) $(CFLAGS) -MT partmap/part_sunpc_module-sunpc.obj -MD -MP -MF partmap/$(DEPDIR)/part_sunpc_module-sunpc.Tpo -c -o partmap/part_sunpc_module-sunpc.obj `if test -f 'partmap/sunpc.c'; then $(CYGPATH_W) 'partmap/sunpc.c'; else $(CYGPATH_W) '$(srcdir)/partmap/sunpc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) partmap/$(DEPDIR)/part_sunpc_module-sunpc.Tpo partmap/$(DEPDIR)/part_sunpc_module-sunpc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='partmap/sunpc.c' object='partmap/part_sunpc_module-sunpc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $(part_sunpc_module_CFLAGS) $(CFLAGS) -c -o partmap/part_sunpc_module-sunpc.obj `if test -f 'partmap/sunpc.c'; then $(CYGPATH_W) 'partmap/sunpc.c'; else $(CYGPATH_W) '$(srcdir)/partmap/sunpc.c'; fi` + +commands/parttool_module-parttool.o: commands/parttool.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $(parttool_module_CFLAGS) $(CFLAGS) -MT commands/parttool_module-parttool.o -MD -MP -MF commands/$(DEPDIR)/parttool_module-parttool.Tpo -c -o commands/parttool_module-parttool.o `test -f 'commands/parttool.c' || echo '$(srcdir)/'`commands/parttool.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/parttool_module-parttool.Tpo commands/$(DEPDIR)/parttool_module-parttool.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/parttool.c' object='commands/parttool_module-parttool.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $(parttool_module_CFLAGS) $(CFLAGS) -c -o commands/parttool_module-parttool.o `test -f 'commands/parttool.c' || echo '$(srcdir)/'`commands/parttool.c + +commands/parttool_module-parttool.obj: commands/parttool.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $(parttool_module_CFLAGS) $(CFLAGS) -MT commands/parttool_module-parttool.obj -MD -MP -MF commands/$(DEPDIR)/parttool_module-parttool.Tpo -c -o commands/parttool_module-parttool.obj `if test -f 'commands/parttool.c'; then $(CYGPATH_W) 'commands/parttool.c'; else $(CYGPATH_W) '$(srcdir)/commands/parttool.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/parttool_module-parttool.Tpo commands/$(DEPDIR)/parttool_module-parttool.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/parttool.c' object='commands/parttool_module-parttool.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $(parttool_module_CFLAGS) $(CFLAGS) -c -o commands/parttool_module-parttool.obj `if test -f 'commands/parttool.c'; then $(CYGPATH_W) 'commands/parttool.c'; else $(CYGPATH_W) '$(srcdir)/commands/parttool.c'; fi` + +commands/password_module-password.o: commands/password.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $(password_module_CFLAGS) $(CFLAGS) -MT commands/password_module-password.o -MD -MP -MF commands/$(DEPDIR)/password_module-password.Tpo -c -o commands/password_module-password.o `test -f 'commands/password.c' || echo '$(srcdir)/'`commands/password.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/password_module-password.Tpo commands/$(DEPDIR)/password_module-password.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/password.c' object='commands/password_module-password.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $(password_module_CFLAGS) $(CFLAGS) -c -o commands/password_module-password.o `test -f 'commands/password.c' || echo '$(srcdir)/'`commands/password.c + +commands/password_module-password.obj: commands/password.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $(password_module_CFLAGS) $(CFLAGS) -MT commands/password_module-password.obj -MD -MP -MF commands/$(DEPDIR)/password_module-password.Tpo -c -o commands/password_module-password.obj `if test -f 'commands/password.c'; then $(CYGPATH_W) 'commands/password.c'; else $(CYGPATH_W) '$(srcdir)/commands/password.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/password_module-password.Tpo commands/$(DEPDIR)/password_module-password.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/password.c' object='commands/password_module-password.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $(password_module_CFLAGS) $(CFLAGS) -c -o commands/password_module-password.obj `if test -f 'commands/password.c'; then $(CYGPATH_W) 'commands/password.c'; else $(CYGPATH_W) '$(srcdir)/commands/password.c'; fi` + +commands/password_pbkdf2_module-password_pbkdf2.o: commands/password_pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(password_pbkdf2_module_CFLAGS) $(CFLAGS) -MT commands/password_pbkdf2_module-password_pbkdf2.o -MD -MP -MF commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Tpo -c -o commands/password_pbkdf2_module-password_pbkdf2.o `test -f 'commands/password_pbkdf2.c' || echo '$(srcdir)/'`commands/password_pbkdf2.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Tpo commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/password_pbkdf2.c' object='commands/password_pbkdf2_module-password_pbkdf2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(password_pbkdf2_module_CFLAGS) $(CFLAGS) -c -o commands/password_pbkdf2_module-password_pbkdf2.o `test -f 'commands/password_pbkdf2.c' || echo '$(srcdir)/'`commands/password_pbkdf2.c + +commands/password_pbkdf2_module-password_pbkdf2.obj: commands/password_pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(password_pbkdf2_module_CFLAGS) $(CFLAGS) -MT commands/password_pbkdf2_module-password_pbkdf2.obj -MD -MP -MF commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Tpo -c -o commands/password_pbkdf2_module-password_pbkdf2.obj `if test -f 'commands/password_pbkdf2.c'; then $(CYGPATH_W) 'commands/password_pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/commands/password_pbkdf2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Tpo commands/$(DEPDIR)/password_pbkdf2_module-password_pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/password_pbkdf2.c' object='commands/password_pbkdf2_module-password_pbkdf2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(password_pbkdf2_module_CFLAGS) $(CFLAGS) -c -o commands/password_pbkdf2_module-password_pbkdf2.obj `if test -f 'commands/password_pbkdf2.c'; then $(CYGPATH_W) 'commands/password_pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/commands/password_pbkdf2.c'; fi` + +lib/pbkdf2_module-pbkdf2.o: lib/pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(pbkdf2_module_CFLAGS) $(CFLAGS) -MT lib/pbkdf2_module-pbkdf2.o -MD -MP -MF lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Tpo -c -o lib/pbkdf2_module-pbkdf2.o `test -f 'lib/pbkdf2.c' || echo '$(srcdir)/'`lib/pbkdf2.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Tpo lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/pbkdf2.c' object='lib/pbkdf2_module-pbkdf2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(pbkdf2_module_CFLAGS) $(CFLAGS) -c -o lib/pbkdf2_module-pbkdf2.o `test -f 'lib/pbkdf2.c' || echo '$(srcdir)/'`lib/pbkdf2.c + +lib/pbkdf2_module-pbkdf2.obj: lib/pbkdf2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(pbkdf2_module_CFLAGS) $(CFLAGS) -MT lib/pbkdf2_module-pbkdf2.obj -MD -MP -MF lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Tpo -c -o lib/pbkdf2_module-pbkdf2.obj `if test -f 'lib/pbkdf2.c'; then $(CYGPATH_W) 'lib/pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/lib/pbkdf2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Tpo lib/$(DEPDIR)/pbkdf2_module-pbkdf2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/pbkdf2.c' object='lib/pbkdf2_module-pbkdf2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $(pbkdf2_module_CFLAGS) $(CFLAGS) -c -o lib/pbkdf2_module-pbkdf2.obj `if test -f 'lib/pbkdf2.c'; then $(CYGPATH_W) 'lib/pbkdf2.c'; else $(CYGPATH_W) '$(srcdir)/lib/pbkdf2.c'; fi` + +bus/emu/pci_module-pci.o: bus/emu/pci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -MT bus/emu/pci_module-pci.o -MD -MP -MF bus/emu/$(DEPDIR)/pci_module-pci.Tpo -c -o bus/emu/pci_module-pci.o `test -f 'bus/emu/pci.c' || echo '$(srcdir)/'`bus/emu/pci.c +@am__fastdepCC_TRUE@ $(am__mv) bus/emu/$(DEPDIR)/pci_module-pci.Tpo bus/emu/$(DEPDIR)/pci_module-pci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/emu/pci.c' object='bus/emu/pci_module-pci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -c -o bus/emu/pci_module-pci.o `test -f 'bus/emu/pci.c' || echo '$(srcdir)/'`bus/emu/pci.c + +bus/emu/pci_module-pci.obj: bus/emu/pci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -MT bus/emu/pci_module-pci.obj -MD -MP -MF bus/emu/$(DEPDIR)/pci_module-pci.Tpo -c -o bus/emu/pci_module-pci.obj `if test -f 'bus/emu/pci.c'; then $(CYGPATH_W) 'bus/emu/pci.c'; else $(CYGPATH_W) '$(srcdir)/bus/emu/pci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/emu/$(DEPDIR)/pci_module-pci.Tpo bus/emu/$(DEPDIR)/pci_module-pci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/emu/pci.c' object='bus/emu/pci_module-pci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -c -o bus/emu/pci_module-pci.obj `if test -f 'bus/emu/pci.c'; then $(CYGPATH_W) 'bus/emu/pci.c'; else $(CYGPATH_W) '$(srcdir)/bus/emu/pci.c'; fi` + +commands/pci_module-lspci.o: commands/lspci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -MT commands/pci_module-lspci.o -MD -MP -MF commands/$(DEPDIR)/pci_module-lspci.Tpo -c -o commands/pci_module-lspci.o `test -f 'commands/lspci.c' || echo '$(srcdir)/'`commands/lspci.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/pci_module-lspci.Tpo commands/$(DEPDIR)/pci_module-lspci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lspci.c' object='commands/pci_module-lspci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -c -o commands/pci_module-lspci.o `test -f 'commands/lspci.c' || echo '$(srcdir)/'`commands/lspci.c + +commands/pci_module-lspci.obj: commands/lspci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -MT commands/pci_module-lspci.obj -MD -MP -MF commands/$(DEPDIR)/pci_module-lspci.Tpo -c -o commands/pci_module-lspci.obj `if test -f 'commands/lspci.c'; then $(CYGPATH_W) 'commands/lspci.c'; else $(CYGPATH_W) '$(srcdir)/commands/lspci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/pci_module-lspci.Tpo commands/$(DEPDIR)/pci_module-lspci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/lspci.c' object='commands/pci_module-lspci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -c -o commands/pci_module-lspci.obj `if test -f 'commands/lspci.c'; then $(CYGPATH_W) 'commands/lspci.c'; else $(CYGPATH_W) '$(srcdir)/commands/lspci.c'; fi` + +bus/pci_module-pci.o: bus/pci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -MT bus/pci_module-pci.o -MD -MP -MF bus/$(DEPDIR)/pci_module-pci.Tpo -c -o bus/pci_module-pci.o `test -f 'bus/pci.c' || echo '$(srcdir)/'`bus/pci.c +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/pci_module-pci.Tpo bus/$(DEPDIR)/pci_module-pci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/pci.c' object='bus/pci_module-pci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -c -o bus/pci_module-pci.o `test -f 'bus/pci.c' || echo '$(srcdir)/'`bus/pci.c + +bus/pci_module-pci.obj: bus/pci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -MT bus/pci_module-pci.obj -MD -MP -MF bus/$(DEPDIR)/pci_module-pci.Tpo -c -o bus/pci_module-pci.obj `if test -f 'bus/pci.c'; then $(CYGPATH_W) 'bus/pci.c'; else $(CYGPATH_W) '$(srcdir)/bus/pci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/$(DEPDIR)/pci_module-pci.Tpo bus/$(DEPDIR)/pci_module-pci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/pci.c' object='bus/pci_module-pci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $(pci_module_CFLAGS) $(CFLAGS) -c -o bus/pci_module-pci.obj `if test -f 'bus/pci.c'; then $(CYGPATH_W) 'bus/pci.c'; else $(CYGPATH_W) '$(srcdir)/bus/pci.c'; fi` + +commands/i386/pc/play_module-play.o: commands/i386/pc/play.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $(play_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/play_module-play.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/play_module-play.Tpo -c -o commands/i386/pc/play_module-play.o `test -f 'commands/i386/pc/play.c' || echo '$(srcdir)/'`commands/i386/pc/play.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/play_module-play.Tpo commands/i386/pc/$(DEPDIR)/play_module-play.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/play.c' object='commands/i386/pc/play_module-play.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $(play_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/play_module-play.o `test -f 'commands/i386/pc/play.c' || echo '$(srcdir)/'`commands/i386/pc/play.c + +commands/i386/pc/play_module-play.obj: commands/i386/pc/play.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $(play_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/play_module-play.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/play_module-play.Tpo -c -o commands/i386/pc/play_module-play.obj `if test -f 'commands/i386/pc/play.c'; then $(CYGPATH_W) 'commands/i386/pc/play.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/play.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/play_module-play.Tpo commands/i386/pc/$(DEPDIR)/play_module-play.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/play.c' object='commands/i386/pc/play_module-play.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $(play_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/play_module-play.obj `if test -f 'commands/i386/pc/play.c'; then $(CYGPATH_W) 'commands/i386/pc/play.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/play.c'; fi` + +video/readers/png_module-png.o: video/readers/png.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $(png_module_CFLAGS) $(CFLAGS) -MT video/readers/png_module-png.o -MD -MP -MF video/readers/$(DEPDIR)/png_module-png.Tpo -c -o video/readers/png_module-png.o `test -f 'video/readers/png.c' || echo '$(srcdir)/'`video/readers/png.c +@am__fastdepCC_TRUE@ $(am__mv) video/readers/$(DEPDIR)/png_module-png.Tpo video/readers/$(DEPDIR)/png_module-png.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/readers/png.c' object='video/readers/png_module-png.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $(png_module_CFLAGS) $(CFLAGS) -c -o video/readers/png_module-png.o `test -f 'video/readers/png.c' || echo '$(srcdir)/'`video/readers/png.c + +video/readers/png_module-png.obj: video/readers/png.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $(png_module_CFLAGS) $(CFLAGS) -MT video/readers/png_module-png.obj -MD -MP -MF video/readers/$(DEPDIR)/png_module-png.Tpo -c -o video/readers/png_module-png.obj `if test -f 'video/readers/png.c'; then $(CYGPATH_W) 'video/readers/png.c'; else $(CYGPATH_W) '$(srcdir)/video/readers/png.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/readers/$(DEPDIR)/png_module-png.Tpo video/readers/$(DEPDIR)/png_module-png.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/readers/png.c' object='video/readers/png_module-png.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $(png_module_CFLAGS) $(CFLAGS) -c -o video/readers/png_module-png.obj `if test -f 'video/readers/png.c'; then $(CYGPATH_W) 'video/readers/png.c'; else $(CYGPATH_W) '$(srcdir)/video/readers/png.c'; fi` + +commands/probe_module-probe.o: commands/probe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $(probe_module_CFLAGS) $(CFLAGS) -MT commands/probe_module-probe.o -MD -MP -MF commands/$(DEPDIR)/probe_module-probe.Tpo -c -o commands/probe_module-probe.o `test -f 'commands/probe.c' || echo '$(srcdir)/'`commands/probe.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/probe_module-probe.Tpo commands/$(DEPDIR)/probe_module-probe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/probe.c' object='commands/probe_module-probe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $(probe_module_CFLAGS) $(CFLAGS) -c -o commands/probe_module-probe.o `test -f 'commands/probe.c' || echo '$(srcdir)/'`commands/probe.c + +commands/probe_module-probe.obj: commands/probe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $(probe_module_CFLAGS) $(CFLAGS) -MT commands/probe_module-probe.obj -MD -MP -MF commands/$(DEPDIR)/probe_module-probe.Tpo -c -o commands/probe_module-probe.obj `if test -f 'commands/probe.c'; then $(CYGPATH_W) 'commands/probe.c'; else $(CYGPATH_W) '$(srcdir)/commands/probe.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/probe_module-probe.Tpo commands/$(DEPDIR)/probe_module-probe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/probe.c' object='commands/probe_module-probe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $(probe_module_CFLAGS) $(CFLAGS) -c -o commands/probe_module-probe.obj `if test -f 'commands/probe.c'; then $(CYGPATH_W) 'commands/probe.c'; else $(CYGPATH_W) '$(srcdir)/commands/probe.c'; fi` + +fs/i386/pc/pxe_module-pxe.o: fs/i386/pc/pxe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxe_module_CPPFLAGS) $(CPPFLAGS) $(pxe_module_CFLAGS) $(CFLAGS) -MT fs/i386/pc/pxe_module-pxe.o -MD -MP -MF fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Tpo -c -o fs/i386/pc/pxe_module-pxe.o `test -f 'fs/i386/pc/pxe.c' || echo '$(srcdir)/'`fs/i386/pc/pxe.c +@am__fastdepCC_TRUE@ $(am__mv) fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Tpo fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/i386/pc/pxe.c' object='fs/i386/pc/pxe_module-pxe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxe_module_CPPFLAGS) $(CPPFLAGS) $(pxe_module_CFLAGS) $(CFLAGS) -c -o fs/i386/pc/pxe_module-pxe.o `test -f 'fs/i386/pc/pxe.c' || echo '$(srcdir)/'`fs/i386/pc/pxe.c + +fs/i386/pc/pxe_module-pxe.obj: fs/i386/pc/pxe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxe_module_CPPFLAGS) $(CPPFLAGS) $(pxe_module_CFLAGS) $(CFLAGS) -MT fs/i386/pc/pxe_module-pxe.obj -MD -MP -MF fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Tpo -c -o fs/i386/pc/pxe_module-pxe.obj `if test -f 'fs/i386/pc/pxe.c'; then $(CYGPATH_W) 'fs/i386/pc/pxe.c'; else $(CYGPATH_W) '$(srcdir)/fs/i386/pc/pxe.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Tpo fs/i386/pc/$(DEPDIR)/pxe_module-pxe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/i386/pc/pxe.c' object='fs/i386/pc/pxe_module-pxe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxe_module_CPPFLAGS) $(CPPFLAGS) $(pxe_module_CFLAGS) $(CFLAGS) -c -o fs/i386/pc/pxe_module-pxe.obj `if test -f 'fs/i386/pc/pxe.c'; then $(CYGPATH_W) 'fs/i386/pc/pxe.c'; else $(CYGPATH_W) '$(srcdir)/fs/i386/pc/pxe.c'; fi` + +commands/i386/pc/pxecmd_module-pxecmd.o: commands/i386/pc/pxecmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxecmd_module_CPPFLAGS) $(CPPFLAGS) $(pxecmd_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/pxecmd_module-pxecmd.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Tpo -c -o commands/i386/pc/pxecmd_module-pxecmd.o `test -f 'commands/i386/pc/pxecmd.c' || echo '$(srcdir)/'`commands/i386/pc/pxecmd.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Tpo commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/pxecmd.c' object='commands/i386/pc/pxecmd_module-pxecmd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxecmd_module_CPPFLAGS) $(CPPFLAGS) $(pxecmd_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/pxecmd_module-pxecmd.o `test -f 'commands/i386/pc/pxecmd.c' || echo '$(srcdir)/'`commands/i386/pc/pxecmd.c + +commands/i386/pc/pxecmd_module-pxecmd.obj: commands/i386/pc/pxecmd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxecmd_module_CPPFLAGS) $(CPPFLAGS) $(pxecmd_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/pxecmd_module-pxecmd.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Tpo -c -o commands/i386/pc/pxecmd_module-pxecmd.obj `if test -f 'commands/i386/pc/pxecmd.c'; then $(CYGPATH_W) 'commands/i386/pc/pxecmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/pxecmd.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Tpo commands/i386/pc/$(DEPDIR)/pxecmd_module-pxecmd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/pxecmd.c' object='commands/i386/pc/pxecmd_module-pxecmd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxecmd_module_CPPFLAGS) $(CPPFLAGS) $(pxecmd_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/pxecmd_module-pxecmd.obj `if test -f 'commands/i386/pc/pxecmd.c'; then $(CYGPATH_W) 'commands/i386/pc/pxecmd.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/pxecmd.c'; fi` + +disk/raid_module-raid.o: disk/raid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $(raid_module_CFLAGS) $(CFLAGS) -MT disk/raid_module-raid.o -MD -MP -MF disk/$(DEPDIR)/raid_module-raid.Tpo -c -o disk/raid_module-raid.o `test -f 'disk/raid.c' || echo '$(srcdir)/'`disk/raid.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/raid_module-raid.Tpo disk/$(DEPDIR)/raid_module-raid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/raid.c' object='disk/raid_module-raid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $(raid_module_CFLAGS) $(CFLAGS) -c -o disk/raid_module-raid.o `test -f 'disk/raid.c' || echo '$(srcdir)/'`disk/raid.c + +disk/raid_module-raid.obj: disk/raid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $(raid_module_CFLAGS) $(CFLAGS) -MT disk/raid_module-raid.obj -MD -MP -MF disk/$(DEPDIR)/raid_module-raid.Tpo -c -o disk/raid_module-raid.obj `if test -f 'disk/raid.c'; then $(CYGPATH_W) 'disk/raid.c'; else $(CYGPATH_W) '$(srcdir)/disk/raid.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/raid_module-raid.Tpo disk/$(DEPDIR)/raid_module-raid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/raid.c' object='disk/raid_module-raid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $(raid_module_CFLAGS) $(CFLAGS) -c -o disk/raid_module-raid.obj `if test -f 'disk/raid.c'; then $(CYGPATH_W) 'disk/raid.c'; else $(CYGPATH_W) '$(srcdir)/disk/raid.c'; fi` + +disk/raid5rec_module-raid5_recover.o: disk/raid5_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $(raid5rec_module_CFLAGS) $(CFLAGS) -MT disk/raid5rec_module-raid5_recover.o -MD -MP -MF disk/$(DEPDIR)/raid5rec_module-raid5_recover.Tpo -c -o disk/raid5rec_module-raid5_recover.o `test -f 'disk/raid5_recover.c' || echo '$(srcdir)/'`disk/raid5_recover.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/raid5rec_module-raid5_recover.Tpo disk/$(DEPDIR)/raid5rec_module-raid5_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/raid5_recover.c' object='disk/raid5rec_module-raid5_recover.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $(raid5rec_module_CFLAGS) $(CFLAGS) -c -o disk/raid5rec_module-raid5_recover.o `test -f 'disk/raid5_recover.c' || echo '$(srcdir)/'`disk/raid5_recover.c + +disk/raid5rec_module-raid5_recover.obj: disk/raid5_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $(raid5rec_module_CFLAGS) $(CFLAGS) -MT disk/raid5rec_module-raid5_recover.obj -MD -MP -MF disk/$(DEPDIR)/raid5rec_module-raid5_recover.Tpo -c -o disk/raid5rec_module-raid5_recover.obj `if test -f 'disk/raid5_recover.c'; then $(CYGPATH_W) 'disk/raid5_recover.c'; else $(CYGPATH_W) '$(srcdir)/disk/raid5_recover.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/raid5rec_module-raid5_recover.Tpo disk/$(DEPDIR)/raid5rec_module-raid5_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/raid5_recover.c' object='disk/raid5rec_module-raid5_recover.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $(raid5rec_module_CFLAGS) $(CFLAGS) -c -o disk/raid5rec_module-raid5_recover.obj `if test -f 'disk/raid5_recover.c'; then $(CYGPATH_W) 'disk/raid5_recover.c'; else $(CYGPATH_W) '$(srcdir)/disk/raid5_recover.c'; fi` + +disk/raid6rec_module-raid6_recover.o: disk/raid6_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $(raid6rec_module_CFLAGS) $(CFLAGS) -MT disk/raid6rec_module-raid6_recover.o -MD -MP -MF disk/$(DEPDIR)/raid6rec_module-raid6_recover.Tpo -c -o disk/raid6rec_module-raid6_recover.o `test -f 'disk/raid6_recover.c' || echo '$(srcdir)/'`disk/raid6_recover.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/raid6rec_module-raid6_recover.Tpo disk/$(DEPDIR)/raid6rec_module-raid6_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/raid6_recover.c' object='disk/raid6rec_module-raid6_recover.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $(raid6rec_module_CFLAGS) $(CFLAGS) -c -o disk/raid6rec_module-raid6_recover.o `test -f 'disk/raid6_recover.c' || echo '$(srcdir)/'`disk/raid6_recover.c + +disk/raid6rec_module-raid6_recover.obj: disk/raid6_recover.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $(raid6rec_module_CFLAGS) $(CFLAGS) -MT disk/raid6rec_module-raid6_recover.obj -MD -MP -MF disk/$(DEPDIR)/raid6rec_module-raid6_recover.Tpo -c -o disk/raid6rec_module-raid6_recover.obj `if test -f 'disk/raid6_recover.c'; then $(CYGPATH_W) 'disk/raid6_recover.c'; else $(CYGPATH_W) '$(srcdir)/disk/raid6_recover.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/raid6rec_module-raid6_recover.Tpo disk/$(DEPDIR)/raid6rec_module-raid6_recover.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/raid6_recover.c' object='disk/raid6rec_module-raid6_recover.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $(raid6rec_module_CFLAGS) $(CFLAGS) -c -o disk/raid6rec_module-raid6_recover.obj `if test -f 'disk/raid6_recover.c'; then $(CYGPATH_W) 'disk/raid6_recover.c'; else $(CYGPATH_W) '$(srcdir)/disk/raid6_recover.c'; fi` + +commands/read_module-read.o: commands/read.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $(read_module_CFLAGS) $(CFLAGS) -MT commands/read_module-read.o -MD -MP -MF commands/$(DEPDIR)/read_module-read.Tpo -c -o commands/read_module-read.o `test -f 'commands/read.c' || echo '$(srcdir)/'`commands/read.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/read_module-read.Tpo commands/$(DEPDIR)/read_module-read.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/read.c' object='commands/read_module-read.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $(read_module_CFLAGS) $(CFLAGS) -c -o commands/read_module-read.o `test -f 'commands/read.c' || echo '$(srcdir)/'`commands/read.c + +commands/read_module-read.obj: commands/read.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $(read_module_CFLAGS) $(CFLAGS) -MT commands/read_module-read.obj -MD -MP -MF commands/$(DEPDIR)/read_module-read.Tpo -c -o commands/read_module-read.obj `if test -f 'commands/read.c'; then $(CYGPATH_W) 'commands/read.c'; else $(CYGPATH_W) '$(srcdir)/commands/read.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/read_module-read.Tpo commands/$(DEPDIR)/read_module-read.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/read.c' object='commands/read_module-read.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $(read_module_CFLAGS) $(CFLAGS) -c -o commands/read_module-read.obj `if test -f 'commands/read.c'; then $(CYGPATH_W) 'commands/read.c'; else $(CYGPATH_W) '$(srcdir)/commands/read.c'; fi` + +commands/reboot_module-reboot.o: commands/reboot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $(reboot_module_CFLAGS) $(CFLAGS) -MT commands/reboot_module-reboot.o -MD -MP -MF commands/$(DEPDIR)/reboot_module-reboot.Tpo -c -o commands/reboot_module-reboot.o `test -f 'commands/reboot.c' || echo '$(srcdir)/'`commands/reboot.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/reboot_module-reboot.Tpo commands/$(DEPDIR)/reboot_module-reboot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/reboot.c' object='commands/reboot_module-reboot.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $(reboot_module_CFLAGS) $(CFLAGS) -c -o commands/reboot_module-reboot.o `test -f 'commands/reboot.c' || echo '$(srcdir)/'`commands/reboot.c + +commands/reboot_module-reboot.obj: commands/reboot.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $(reboot_module_CFLAGS) $(CFLAGS) -MT commands/reboot_module-reboot.obj -MD -MP -MF commands/$(DEPDIR)/reboot_module-reboot.Tpo -c -o commands/reboot_module-reboot.obj `if test -f 'commands/reboot.c'; then $(CYGPATH_W) 'commands/reboot.c'; else $(CYGPATH_W) '$(srcdir)/commands/reboot.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/reboot_module-reboot.Tpo commands/$(DEPDIR)/reboot_module-reboot.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/reboot.c' object='commands/reboot_module-reboot.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $(reboot_module_CFLAGS) $(CFLAGS) -c -o commands/reboot_module-reboot.obj `if test -f 'commands/reboot.c'; then $(CYGPATH_W) 'commands/reboot.c'; else $(CYGPATH_W) '$(srcdir)/commands/reboot.c'; fi` + +commands/regexp_module-regexp.o: commands/regexp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -MT commands/regexp_module-regexp.o -MD -MP -MF commands/$(DEPDIR)/regexp_module-regexp.Tpo -c -o commands/regexp_module-regexp.o `test -f 'commands/regexp.c' || echo '$(srcdir)/'`commands/regexp.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/regexp_module-regexp.Tpo commands/$(DEPDIR)/regexp_module-regexp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/regexp.c' object='commands/regexp_module-regexp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -c -o commands/regexp_module-regexp.o `test -f 'commands/regexp.c' || echo '$(srcdir)/'`commands/regexp.c + +commands/regexp_module-regexp.obj: commands/regexp.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -MT commands/regexp_module-regexp.obj -MD -MP -MF commands/$(DEPDIR)/regexp_module-regexp.Tpo -c -o commands/regexp_module-regexp.obj `if test -f 'commands/regexp.c'; then $(CYGPATH_W) 'commands/regexp.c'; else $(CYGPATH_W) '$(srcdir)/commands/regexp.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/regexp_module-regexp.Tpo commands/$(DEPDIR)/regexp_module-regexp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/regexp.c' object='commands/regexp_module-regexp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -c -o commands/regexp_module-regexp.obj `if test -f 'commands/regexp.c'; then $(CYGPATH_W) 'commands/regexp.c'; else $(CYGPATH_W) '$(srcdir)/commands/regexp.c'; fi` + +commands/regexp_module-wildcard.o: commands/wildcard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -MT commands/regexp_module-wildcard.o -MD -MP -MF commands/$(DEPDIR)/regexp_module-wildcard.Tpo -c -o commands/regexp_module-wildcard.o `test -f 'commands/wildcard.c' || echo '$(srcdir)/'`commands/wildcard.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/regexp_module-wildcard.Tpo commands/$(DEPDIR)/regexp_module-wildcard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/wildcard.c' object='commands/regexp_module-wildcard.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -c -o commands/regexp_module-wildcard.o `test -f 'commands/wildcard.c' || echo '$(srcdir)/'`commands/wildcard.c + +commands/regexp_module-wildcard.obj: commands/wildcard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -MT commands/regexp_module-wildcard.obj -MD -MP -MF commands/$(DEPDIR)/regexp_module-wildcard.Tpo -c -o commands/regexp_module-wildcard.obj `if test -f 'commands/wildcard.c'; then $(CYGPATH_W) 'commands/wildcard.c'; else $(CYGPATH_W) '$(srcdir)/commands/wildcard.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/regexp_module-wildcard.Tpo commands/$(DEPDIR)/regexp_module-wildcard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/wildcard.c' object='commands/regexp_module-wildcard.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $(regexp_module_CFLAGS) $(CFLAGS) -c -o commands/regexp_module-wildcard.obj `if test -f 'commands/wildcard.c'; then $(CYGPATH_W) 'commands/wildcard.c'; else $(CYGPATH_W) '$(srcdir)/commands/wildcard.c'; fi` + +fs/reiserfs_module-reiserfs.o: fs/reiserfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $(reiserfs_module_CFLAGS) $(CFLAGS) -MT fs/reiserfs_module-reiserfs.o -MD -MP -MF fs/$(DEPDIR)/reiserfs_module-reiserfs.Tpo -c -o fs/reiserfs_module-reiserfs.o `test -f 'fs/reiserfs.c' || echo '$(srcdir)/'`fs/reiserfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/reiserfs_module-reiserfs.Tpo fs/$(DEPDIR)/reiserfs_module-reiserfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/reiserfs.c' object='fs/reiserfs_module-reiserfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $(reiserfs_module_CFLAGS) $(CFLAGS) -c -o fs/reiserfs_module-reiserfs.o `test -f 'fs/reiserfs.c' || echo '$(srcdir)/'`fs/reiserfs.c + +fs/reiserfs_module-reiserfs.obj: fs/reiserfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $(reiserfs_module_CFLAGS) $(CFLAGS) -MT fs/reiserfs_module-reiserfs.obj -MD -MP -MF fs/$(DEPDIR)/reiserfs_module-reiserfs.Tpo -c -o fs/reiserfs_module-reiserfs.obj `if test -f 'fs/reiserfs.c'; then $(CYGPATH_W) 'fs/reiserfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/reiserfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/reiserfs_module-reiserfs.Tpo fs/$(DEPDIR)/reiserfs_module-reiserfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/reiserfs.c' object='fs/reiserfs_module-reiserfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $(reiserfs_module_CFLAGS) $(CFLAGS) -c -o fs/reiserfs_module-reiserfs.obj `if test -f 'fs/reiserfs.c'; then $(CYGPATH_W) 'fs/reiserfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/reiserfs.c'; fi` + +lib/i386/relocator_module-relocator.o: lib/i386/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/i386/relocator_module-relocator.o -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/i386/relocator_module-relocator.o `test -f 'lib/i386/relocator.c' || echo '$(srcdir)/'`lib/i386/relocator.c +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/relocator.c' object='lib/i386/relocator_module-relocator.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/i386/relocator_module-relocator.o `test -f 'lib/i386/relocator.c' || echo '$(srcdir)/'`lib/i386/relocator.c + +lib/i386/relocator_module-relocator.obj: lib/i386/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/i386/relocator_module-relocator.obj -MD -MP -MF lib/i386/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/i386/relocator_module-relocator.obj `if test -f 'lib/i386/relocator.c'; then $(CYGPATH_W) 'lib/i386/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/i386/$(DEPDIR)/relocator_module-relocator.Tpo lib/i386/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/i386/relocator.c' object='lib/i386/relocator_module-relocator.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/i386/relocator_module-relocator.obj `if test -f 'lib/i386/relocator.c'; then $(CYGPATH_W) 'lib/i386/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/i386/relocator.c'; fi` + +lib/relocator_module-relocator.o: lib/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/relocator_module-relocator.o -MD -MP -MF lib/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/relocator_module-relocator.o `test -f 'lib/relocator.c' || echo '$(srcdir)/'`lib/relocator.c +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/relocator_module-relocator.Tpo lib/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/relocator.c' object='lib/relocator_module-relocator.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/relocator_module-relocator.o `test -f 'lib/relocator.c' || echo '$(srcdir)/'`lib/relocator.c + +lib/relocator_module-relocator.obj: lib/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/relocator_module-relocator.obj -MD -MP -MF lib/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/relocator_module-relocator.obj `if test -f 'lib/relocator.c'; then $(CYGPATH_W) 'lib/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/relocator.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/$(DEPDIR)/relocator_module-relocator.Tpo lib/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/relocator.c' object='lib/relocator_module-relocator.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/relocator_module-relocator.obj `if test -f 'lib/relocator.c'; then $(CYGPATH_W) 'lib/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/relocator.c'; fi` + +lib/efi/relocator_module-relocator.o: lib/efi/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/efi/relocator_module-relocator.o -MD -MP -MF lib/efi/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/efi/relocator_module-relocator.o `test -f 'lib/efi/relocator.c' || echo '$(srcdir)/'`lib/efi/relocator.c +@am__fastdepCC_TRUE@ $(am__mv) lib/efi/$(DEPDIR)/relocator_module-relocator.Tpo lib/efi/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/efi/relocator.c' object='lib/efi/relocator_module-relocator.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/efi/relocator_module-relocator.o `test -f 'lib/efi/relocator.c' || echo '$(srcdir)/'`lib/efi/relocator.c + +lib/efi/relocator_module-relocator.obj: lib/efi/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/efi/relocator_module-relocator.obj -MD -MP -MF lib/efi/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/efi/relocator_module-relocator.obj `if test -f 'lib/efi/relocator.c'; then $(CYGPATH_W) 'lib/efi/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/efi/relocator.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/efi/$(DEPDIR)/relocator_module-relocator.Tpo lib/efi/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/efi/relocator.c' object='lib/efi/relocator_module-relocator.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/efi/relocator_module-relocator.obj `if test -f 'lib/efi/relocator.c'; then $(CYGPATH_W) 'lib/efi/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/efi/relocator.c'; fi` + +lib/ieee1275/relocator_module-relocator.o: lib/ieee1275/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/ieee1275/relocator_module-relocator.o -MD -MP -MF lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/ieee1275/relocator_module-relocator.o `test -f 'lib/ieee1275/relocator.c' || echo '$(srcdir)/'`lib/ieee1275/relocator.c +@am__fastdepCC_TRUE@ $(am__mv) lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Tpo lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ieee1275/relocator.c' object='lib/ieee1275/relocator_module-relocator.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/ieee1275/relocator_module-relocator.o `test -f 'lib/ieee1275/relocator.c' || echo '$(srcdir)/'`lib/ieee1275/relocator.c + +lib/ieee1275/relocator_module-relocator.obj: lib/ieee1275/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/ieee1275/relocator_module-relocator.obj -MD -MP -MF lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/ieee1275/relocator_module-relocator.obj `if test -f 'lib/ieee1275/relocator.c'; then $(CYGPATH_W) 'lib/ieee1275/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/ieee1275/relocator.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Tpo lib/ieee1275/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ieee1275/relocator.c' object='lib/ieee1275/relocator_module-relocator.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/ieee1275/relocator_module-relocator.obj `if test -f 'lib/ieee1275/relocator.c'; then $(CYGPATH_W) 'lib/ieee1275/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/ieee1275/relocator.c'; fi` + +lib/mips/relocator_module-relocator.o: lib/mips/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/mips/relocator_module-relocator.o -MD -MP -MF lib/mips/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/mips/relocator_module-relocator.o `test -f 'lib/mips/relocator.c' || echo '$(srcdir)/'`lib/mips/relocator.c +@am__fastdepCC_TRUE@ $(am__mv) lib/mips/$(DEPDIR)/relocator_module-relocator.Tpo lib/mips/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/mips/relocator.c' object='lib/mips/relocator_module-relocator.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/mips/relocator_module-relocator.o `test -f 'lib/mips/relocator.c' || echo '$(srcdir)/'`lib/mips/relocator.c + +lib/mips/relocator_module-relocator.obj: lib/mips/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/mips/relocator_module-relocator.obj -MD -MP -MF lib/mips/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/mips/relocator_module-relocator.obj `if test -f 'lib/mips/relocator.c'; then $(CYGPATH_W) 'lib/mips/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/mips/relocator.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/mips/$(DEPDIR)/relocator_module-relocator.Tpo lib/mips/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/mips/relocator.c' object='lib/mips/relocator_module-relocator.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/mips/relocator_module-relocator.obj `if test -f 'lib/mips/relocator.c'; then $(CYGPATH_W) 'lib/mips/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/mips/relocator.c'; fi` + +lib/powerpc/relocator_module-relocator.o: lib/powerpc/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/powerpc/relocator_module-relocator.o -MD -MP -MF lib/powerpc/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/powerpc/relocator_module-relocator.o `test -f 'lib/powerpc/relocator.c' || echo '$(srcdir)/'`lib/powerpc/relocator.c +@am__fastdepCC_TRUE@ $(am__mv) lib/powerpc/$(DEPDIR)/relocator_module-relocator.Tpo lib/powerpc/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/powerpc/relocator.c' object='lib/powerpc/relocator_module-relocator.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/powerpc/relocator_module-relocator.o `test -f 'lib/powerpc/relocator.c' || echo '$(srcdir)/'`lib/powerpc/relocator.c + +lib/powerpc/relocator_module-relocator.obj: lib/powerpc/relocator.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -MT lib/powerpc/relocator_module-relocator.obj -MD -MP -MF lib/powerpc/$(DEPDIR)/relocator_module-relocator.Tpo -c -o lib/powerpc/relocator_module-relocator.obj `if test -f 'lib/powerpc/relocator.c'; then $(CYGPATH_W) 'lib/powerpc/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/powerpc/relocator.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/powerpc/$(DEPDIR)/relocator_module-relocator.Tpo lib/powerpc/$(DEPDIR)/relocator_module-relocator.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/powerpc/relocator.c' object='lib/powerpc/relocator_module-relocator.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $(relocator_module_CFLAGS) $(CFLAGS) -c -o lib/powerpc/relocator_module-relocator.obj `if test -f 'lib/powerpc/relocator.c'; then $(CYGPATH_W) 'lib/powerpc/relocator.c'; else $(CYGPATH_W) '$(srcdir)/lib/powerpc/relocator.c'; fi` + +disk/scsi_module-scsi.o: disk/scsi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $(scsi_module_CFLAGS) $(CFLAGS) -MT disk/scsi_module-scsi.o -MD -MP -MF disk/$(DEPDIR)/scsi_module-scsi.Tpo -c -o disk/scsi_module-scsi.o `test -f 'disk/scsi.c' || echo '$(srcdir)/'`disk/scsi.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/scsi_module-scsi.Tpo disk/$(DEPDIR)/scsi_module-scsi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/scsi.c' object='disk/scsi_module-scsi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $(scsi_module_CFLAGS) $(CFLAGS) -c -o disk/scsi_module-scsi.o `test -f 'disk/scsi.c' || echo '$(srcdir)/'`disk/scsi.c + +disk/scsi_module-scsi.obj: disk/scsi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $(scsi_module_CFLAGS) $(CFLAGS) -MT disk/scsi_module-scsi.obj -MD -MP -MF disk/$(DEPDIR)/scsi_module-scsi.Tpo -c -o disk/scsi_module-scsi.obj `if test -f 'disk/scsi.c'; then $(CYGPATH_W) 'disk/scsi.c'; else $(CYGPATH_W) '$(srcdir)/disk/scsi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/scsi_module-scsi.Tpo disk/$(DEPDIR)/scsi_module-scsi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/scsi.c' object='disk/scsi_module-scsi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $(scsi_module_CFLAGS) $(CFLAGS) -c -o disk/scsi_module-scsi.obj `if test -f 'disk/scsi.c'; then $(CYGPATH_W) 'disk/scsi.c'; else $(CYGPATH_W) '$(srcdir)/disk/scsi.c'; fi` + +video/emu/sdl_module-sdl.o: video/emu/sdl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sdl_module_CPPFLAGS) $(CPPFLAGS) $(sdl_module_CFLAGS) $(CFLAGS) -MT video/emu/sdl_module-sdl.o -MD -MP -MF video/emu/$(DEPDIR)/sdl_module-sdl.Tpo -c -o video/emu/sdl_module-sdl.o `test -f 'video/emu/sdl.c' || echo '$(srcdir)/'`video/emu/sdl.c +@am__fastdepCC_TRUE@ $(am__mv) video/emu/$(DEPDIR)/sdl_module-sdl.Tpo video/emu/$(DEPDIR)/sdl_module-sdl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/emu/sdl.c' object='video/emu/sdl_module-sdl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sdl_module_CPPFLAGS) $(CPPFLAGS) $(sdl_module_CFLAGS) $(CFLAGS) -c -o video/emu/sdl_module-sdl.o `test -f 'video/emu/sdl.c' || echo '$(srcdir)/'`video/emu/sdl.c + +video/emu/sdl_module-sdl.obj: video/emu/sdl.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sdl_module_CPPFLAGS) $(CPPFLAGS) $(sdl_module_CFLAGS) $(CFLAGS) -MT video/emu/sdl_module-sdl.obj -MD -MP -MF video/emu/$(DEPDIR)/sdl_module-sdl.Tpo -c -o video/emu/sdl_module-sdl.obj `if test -f 'video/emu/sdl.c'; then $(CYGPATH_W) 'video/emu/sdl.c'; else $(CYGPATH_W) '$(srcdir)/video/emu/sdl.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/emu/$(DEPDIR)/sdl_module-sdl.Tpo video/emu/$(DEPDIR)/sdl_module-sdl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/emu/sdl.c' object='video/emu/sdl_module-sdl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sdl_module_CPPFLAGS) $(CPPFLAGS) $(sdl_module_CFLAGS) $(CFLAGS) -c -o video/emu/sdl_module-sdl.obj `if test -f 'video/emu/sdl.c'; then $(CYGPATH_W) 'video/emu/sdl.c'; else $(CYGPATH_W) '$(srcdir)/video/emu/sdl.c'; fi` + +commands/search_module-search_wrap.o: commands/search_wrap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $(search_module_CFLAGS) $(CFLAGS) -MT commands/search_module-search_wrap.o -MD -MP -MF commands/$(DEPDIR)/search_module-search_wrap.Tpo -c -o commands/search_module-search_wrap.o `test -f 'commands/search_wrap.c' || echo '$(srcdir)/'`commands/search_wrap.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_module-search_wrap.Tpo commands/$(DEPDIR)/search_module-search_wrap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_wrap.c' object='commands/search_module-search_wrap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $(search_module_CFLAGS) $(CFLAGS) -c -o commands/search_module-search_wrap.o `test -f 'commands/search_wrap.c' || echo '$(srcdir)/'`commands/search_wrap.c + +commands/search_module-search_wrap.obj: commands/search_wrap.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $(search_module_CFLAGS) $(CFLAGS) -MT commands/search_module-search_wrap.obj -MD -MP -MF commands/$(DEPDIR)/search_module-search_wrap.Tpo -c -o commands/search_module-search_wrap.obj `if test -f 'commands/search_wrap.c'; then $(CYGPATH_W) 'commands/search_wrap.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_wrap.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_module-search_wrap.Tpo commands/$(DEPDIR)/search_module-search_wrap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_wrap.c' object='commands/search_module-search_wrap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $(search_module_CFLAGS) $(CFLAGS) -c -o commands/search_module-search_wrap.obj `if test -f 'commands/search_wrap.c'; then $(CYGPATH_W) 'commands/search_wrap.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_wrap.c'; fi` + +commands/search_fs_file_module-search_file.o: commands/search_file.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_file_module_CFLAGS) $(CFLAGS) -MT commands/search_fs_file_module-search_file.o -MD -MP -MF commands/$(DEPDIR)/search_fs_file_module-search_file.Tpo -c -o commands/search_fs_file_module-search_file.o `test -f 'commands/search_file.c' || echo '$(srcdir)/'`commands/search_file.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_fs_file_module-search_file.Tpo commands/$(DEPDIR)/search_fs_file_module-search_file.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_file.c' object='commands/search_fs_file_module-search_file.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_file_module_CFLAGS) $(CFLAGS) -c -o commands/search_fs_file_module-search_file.o `test -f 'commands/search_file.c' || echo '$(srcdir)/'`commands/search_file.c + +commands/search_fs_file_module-search_file.obj: commands/search_file.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_file_module_CFLAGS) $(CFLAGS) -MT commands/search_fs_file_module-search_file.obj -MD -MP -MF commands/$(DEPDIR)/search_fs_file_module-search_file.Tpo -c -o commands/search_fs_file_module-search_file.obj `if test -f 'commands/search_file.c'; then $(CYGPATH_W) 'commands/search_file.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_file.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_fs_file_module-search_file.Tpo commands/$(DEPDIR)/search_fs_file_module-search_file.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_file.c' object='commands/search_fs_file_module-search_file.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_file_module_CFLAGS) $(CFLAGS) -c -o commands/search_fs_file_module-search_file.obj `if test -f 'commands/search_file.c'; then $(CYGPATH_W) 'commands/search_file.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_file.c'; fi` + +commands/search_fs_uuid_module-search_uuid.o: commands/search_uuid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_uuid_module_CFLAGS) $(CFLAGS) -MT commands/search_fs_uuid_module-search_uuid.o -MD -MP -MF commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Tpo -c -o commands/search_fs_uuid_module-search_uuid.o `test -f 'commands/search_uuid.c' || echo '$(srcdir)/'`commands/search_uuid.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Tpo commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_uuid.c' object='commands/search_fs_uuid_module-search_uuid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_uuid_module_CFLAGS) $(CFLAGS) -c -o commands/search_fs_uuid_module-search_uuid.o `test -f 'commands/search_uuid.c' || echo '$(srcdir)/'`commands/search_uuid.c + +commands/search_fs_uuid_module-search_uuid.obj: commands/search_uuid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_uuid_module_CFLAGS) $(CFLAGS) -MT commands/search_fs_uuid_module-search_uuid.obj -MD -MP -MF commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Tpo -c -o commands/search_fs_uuid_module-search_uuid.obj `if test -f 'commands/search_uuid.c'; then $(CYGPATH_W) 'commands/search_uuid.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_uuid.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Tpo commands/$(DEPDIR)/search_fs_uuid_module-search_uuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_uuid.c' object='commands/search_fs_uuid_module-search_uuid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $(search_fs_uuid_module_CFLAGS) $(CFLAGS) -c -o commands/search_fs_uuid_module-search_uuid.obj `if test -f 'commands/search_uuid.c'; then $(CYGPATH_W) 'commands/search_uuid.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_uuid.c'; fi` + +commands/search_label_module-search_label.o: commands/search_label.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $(search_label_module_CFLAGS) $(CFLAGS) -MT commands/search_label_module-search_label.o -MD -MP -MF commands/$(DEPDIR)/search_label_module-search_label.Tpo -c -o commands/search_label_module-search_label.o `test -f 'commands/search_label.c' || echo '$(srcdir)/'`commands/search_label.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_label_module-search_label.Tpo commands/$(DEPDIR)/search_label_module-search_label.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_label.c' object='commands/search_label_module-search_label.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $(search_label_module_CFLAGS) $(CFLAGS) -c -o commands/search_label_module-search_label.o `test -f 'commands/search_label.c' || echo '$(srcdir)/'`commands/search_label.c + +commands/search_label_module-search_label.obj: commands/search_label.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $(search_label_module_CFLAGS) $(CFLAGS) -MT commands/search_label_module-search_label.obj -MD -MP -MF commands/$(DEPDIR)/search_label_module-search_label.Tpo -c -o commands/search_label_module-search_label.obj `if test -f 'commands/search_label.c'; then $(CYGPATH_W) 'commands/search_label.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_label.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/search_label_module-search_label.Tpo commands/$(DEPDIR)/search_label_module-search_label.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/search_label.c' object='commands/search_label_module-search_label.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $(search_label_module_CFLAGS) $(CFLAGS) -c -o commands/search_label_module-search_label.obj `if test -f 'commands/search_label.c'; then $(CYGPATH_W) 'commands/search_label.c'; else $(CYGPATH_W) '$(srcdir)/commands/search_label.c'; fi` + +commands/i386/pc/sendkey_module-sendkey.o: commands/i386/pc/sendkey.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sendkey_module_CPPFLAGS) $(CPPFLAGS) $(sendkey_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/sendkey_module-sendkey.o -MD -MP -MF commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Tpo -c -o commands/i386/pc/sendkey_module-sendkey.o `test -f 'commands/i386/pc/sendkey.c' || echo '$(srcdir)/'`commands/i386/pc/sendkey.c +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Tpo commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/sendkey.c' object='commands/i386/pc/sendkey_module-sendkey.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sendkey_module_CPPFLAGS) $(CPPFLAGS) $(sendkey_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/sendkey_module-sendkey.o `test -f 'commands/i386/pc/sendkey.c' || echo '$(srcdir)/'`commands/i386/pc/sendkey.c + +commands/i386/pc/sendkey_module-sendkey.obj: commands/i386/pc/sendkey.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sendkey_module_CPPFLAGS) $(CPPFLAGS) $(sendkey_module_CFLAGS) $(CFLAGS) -MT commands/i386/pc/sendkey_module-sendkey.obj -MD -MP -MF commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Tpo -c -o commands/i386/pc/sendkey_module-sendkey.obj `if test -f 'commands/i386/pc/sendkey.c'; then $(CYGPATH_W) 'commands/i386/pc/sendkey.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/sendkey.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Tpo commands/i386/pc/$(DEPDIR)/sendkey_module-sendkey.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/i386/pc/sendkey.c' object='commands/i386/pc/sendkey_module-sendkey.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sendkey_module_CPPFLAGS) $(CPPFLAGS) $(sendkey_module_CFLAGS) $(CFLAGS) -c -o commands/i386/pc/sendkey_module-sendkey.obj `if test -f 'commands/i386/pc/sendkey.c'; then $(CYGPATH_W) 'commands/i386/pc/sendkey.c'; else $(CYGPATH_W) '$(srcdir)/commands/i386/pc/sendkey.c'; fi` + +term/serial_module-serial.o: term/serial.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -MT term/serial_module-serial.o -MD -MP -MF term/$(DEPDIR)/serial_module-serial.Tpo -c -o term/serial_module-serial.o `test -f 'term/serial.c' || echo '$(srcdir)/'`term/serial.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/serial_module-serial.Tpo term/$(DEPDIR)/serial_module-serial.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/serial.c' object='term/serial_module-serial.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -c -o term/serial_module-serial.o `test -f 'term/serial.c' || echo '$(srcdir)/'`term/serial.c + +term/serial_module-serial.obj: term/serial.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -MT term/serial_module-serial.obj -MD -MP -MF term/$(DEPDIR)/serial_module-serial.Tpo -c -o term/serial_module-serial.obj `if test -f 'term/serial.c'; then $(CYGPATH_W) 'term/serial.c'; else $(CYGPATH_W) '$(srcdir)/term/serial.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/serial_module-serial.Tpo term/$(DEPDIR)/serial_module-serial.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/serial.c' object='term/serial_module-serial.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -c -o term/serial_module-serial.obj `if test -f 'term/serial.c'; then $(CYGPATH_W) 'term/serial.c'; else $(CYGPATH_W) '$(srcdir)/term/serial.c'; fi` + +term/serial_module-ns8250.o: term/ns8250.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -MT term/serial_module-ns8250.o -MD -MP -MF term/$(DEPDIR)/serial_module-ns8250.Tpo -c -o term/serial_module-ns8250.o `test -f 'term/ns8250.c' || echo '$(srcdir)/'`term/ns8250.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/serial_module-ns8250.Tpo term/$(DEPDIR)/serial_module-ns8250.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/ns8250.c' object='term/serial_module-ns8250.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -c -o term/serial_module-ns8250.o `test -f 'term/ns8250.c' || echo '$(srcdir)/'`term/ns8250.c + +term/serial_module-ns8250.obj: term/ns8250.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -MT term/serial_module-ns8250.obj -MD -MP -MF term/$(DEPDIR)/serial_module-ns8250.Tpo -c -o term/serial_module-ns8250.obj `if test -f 'term/ns8250.c'; then $(CYGPATH_W) 'term/ns8250.c'; else $(CYGPATH_W) '$(srcdir)/term/ns8250.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/serial_module-ns8250.Tpo term/$(DEPDIR)/serial_module-ns8250.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/ns8250.c' object='term/serial_module-ns8250.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $(serial_module_CFLAGS) $(CFLAGS) -c -o term/serial_module-ns8250.obj `if test -f 'term/ns8250.c'; then $(CYGPATH_W) 'term/ns8250.c'; else $(CYGPATH_W) '$(srcdir)/term/ns8250.c'; fi` + +commands/setpci_module-setpci.o: commands/setpci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $(setpci_module_CFLAGS) $(CFLAGS) -MT commands/setpci_module-setpci.o -MD -MP -MF commands/$(DEPDIR)/setpci_module-setpci.Tpo -c -o commands/setpci_module-setpci.o `test -f 'commands/setpci.c' || echo '$(srcdir)/'`commands/setpci.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/setpci_module-setpci.Tpo commands/$(DEPDIR)/setpci_module-setpci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/setpci.c' object='commands/setpci_module-setpci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $(setpci_module_CFLAGS) $(CFLAGS) -c -o commands/setpci_module-setpci.o `test -f 'commands/setpci.c' || echo '$(srcdir)/'`commands/setpci.c + +commands/setpci_module-setpci.obj: commands/setpci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $(setpci_module_CFLAGS) $(CFLAGS) -MT commands/setpci_module-setpci.obj -MD -MP -MF commands/$(DEPDIR)/setpci_module-setpci.Tpo -c -o commands/setpci_module-setpci.obj `if test -f 'commands/setpci.c'; then $(CYGPATH_W) 'commands/setpci.c'; else $(CYGPATH_W) '$(srcdir)/commands/setpci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/setpci_module-setpci.Tpo commands/$(DEPDIR)/setpci_module-setpci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/setpci.c' object='commands/setpci_module-setpci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $(setpci_module_CFLAGS) $(CFLAGS) -c -o commands/setpci_module-setpci.obj `if test -f 'commands/setpci.c'; then $(CYGPATH_W) 'commands/setpci.c'; else $(CYGPATH_W) '$(srcdir)/commands/setpci.c'; fi` + +fs/sfs_module-sfs.o: fs/sfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $(sfs_module_CFLAGS) $(CFLAGS) -MT fs/sfs_module-sfs.o -MD -MP -MF fs/$(DEPDIR)/sfs_module-sfs.Tpo -c -o fs/sfs_module-sfs.o `test -f 'fs/sfs.c' || echo '$(srcdir)/'`fs/sfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/sfs_module-sfs.Tpo fs/$(DEPDIR)/sfs_module-sfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/sfs.c' object='fs/sfs_module-sfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $(sfs_module_CFLAGS) $(CFLAGS) -c -o fs/sfs_module-sfs.o `test -f 'fs/sfs.c' || echo '$(srcdir)/'`fs/sfs.c + +fs/sfs_module-sfs.obj: fs/sfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $(sfs_module_CFLAGS) $(CFLAGS) -MT fs/sfs_module-sfs.obj -MD -MP -MF fs/$(DEPDIR)/sfs_module-sfs.Tpo -c -o fs/sfs_module-sfs.obj `if test -f 'fs/sfs.c'; then $(CYGPATH_W) 'fs/sfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/sfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/sfs_module-sfs.Tpo fs/$(DEPDIR)/sfs_module-sfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/sfs.c' object='fs/sfs_module-sfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $(sfs_module_CFLAGS) $(CFLAGS) -c -o fs/sfs_module-sfs.obj `if test -f 'fs/sfs.c'; then $(CYGPATH_W) 'fs/sfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/sfs.c'; fi` + +commands/sleep_module-sleep.o: commands/sleep.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $(sleep_module_CFLAGS) $(CFLAGS) -MT commands/sleep_module-sleep.o -MD -MP -MF commands/$(DEPDIR)/sleep_module-sleep.Tpo -c -o commands/sleep_module-sleep.o `test -f 'commands/sleep.c' || echo '$(srcdir)/'`commands/sleep.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/sleep_module-sleep.Tpo commands/$(DEPDIR)/sleep_module-sleep.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/sleep.c' object='commands/sleep_module-sleep.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $(sleep_module_CFLAGS) $(CFLAGS) -c -o commands/sleep_module-sleep.o `test -f 'commands/sleep.c' || echo '$(srcdir)/'`commands/sleep.c + +commands/sleep_module-sleep.obj: commands/sleep.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $(sleep_module_CFLAGS) $(CFLAGS) -MT commands/sleep_module-sleep.obj -MD -MP -MF commands/$(DEPDIR)/sleep_module-sleep.Tpo -c -o commands/sleep_module-sleep.obj `if test -f 'commands/sleep.c'; then $(CYGPATH_W) 'commands/sleep.c'; else $(CYGPATH_W) '$(srcdir)/commands/sleep.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/sleep_module-sleep.Tpo commands/$(DEPDIR)/sleep_module-sleep.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/sleep.c' object='commands/sleep_module-sleep.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $(sleep_module_CFLAGS) $(CFLAGS) -c -o commands/sleep_module-sleep.obj `if test -f 'commands/sleep.c'; then $(CYGPATH_W) 'commands/sleep.c'; else $(CYGPATH_W) '$(srcdir)/commands/sleep.c'; fi` + +commands/ieee1275/suspend_module-suspend.o: commands/ieee1275/suspend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $(suspend_module_CFLAGS) $(CFLAGS) -MT commands/ieee1275/suspend_module-suspend.o -MD -MP -MF commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Tpo -c -o commands/ieee1275/suspend_module-suspend.o `test -f 'commands/ieee1275/suspend.c' || echo '$(srcdir)/'`commands/ieee1275/suspend.c +@am__fastdepCC_TRUE@ $(am__mv) commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Tpo commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/ieee1275/suspend.c' object='commands/ieee1275/suspend_module-suspend.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $(suspend_module_CFLAGS) $(CFLAGS) -c -o commands/ieee1275/suspend_module-suspend.o `test -f 'commands/ieee1275/suspend.c' || echo '$(srcdir)/'`commands/ieee1275/suspend.c + +commands/ieee1275/suspend_module-suspend.obj: commands/ieee1275/suspend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $(suspend_module_CFLAGS) $(CFLAGS) -MT commands/ieee1275/suspend_module-suspend.obj -MD -MP -MF commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Tpo -c -o commands/ieee1275/suspend_module-suspend.obj `if test -f 'commands/ieee1275/suspend.c'; then $(CYGPATH_W) 'commands/ieee1275/suspend.c'; else $(CYGPATH_W) '$(srcdir)/commands/ieee1275/suspend.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Tpo commands/ieee1275/$(DEPDIR)/suspend_module-suspend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/ieee1275/suspend.c' object='commands/ieee1275/suspend_module-suspend.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $(suspend_module_CFLAGS) $(CFLAGS) -c -o commands/ieee1275/suspend_module-suspend.obj `if test -f 'commands/ieee1275/suspend.c'; then $(CYGPATH_W) 'commands/ieee1275/suspend.c'; else $(CYGPATH_W) '$(srcdir)/commands/ieee1275/suspend.c'; fi` + +fs/tar_module-tar.o: fs/tar.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $(tar_module_CFLAGS) $(CFLAGS) -MT fs/tar_module-tar.o -MD -MP -MF fs/$(DEPDIR)/tar_module-tar.Tpo -c -o fs/tar_module-tar.o `test -f 'fs/tar.c' || echo '$(srcdir)/'`fs/tar.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/tar_module-tar.Tpo fs/$(DEPDIR)/tar_module-tar.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/tar.c' object='fs/tar_module-tar.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $(tar_module_CFLAGS) $(CFLAGS) -c -o fs/tar_module-tar.o `test -f 'fs/tar.c' || echo '$(srcdir)/'`fs/tar.c + +fs/tar_module-tar.obj: fs/tar.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $(tar_module_CFLAGS) $(CFLAGS) -MT fs/tar_module-tar.obj -MD -MP -MF fs/$(DEPDIR)/tar_module-tar.Tpo -c -o fs/tar_module-tar.obj `if test -f 'fs/tar.c'; then $(CYGPATH_W) 'fs/tar.c'; else $(CYGPATH_W) '$(srcdir)/fs/tar.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/tar_module-tar.Tpo fs/$(DEPDIR)/tar_module-tar.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/tar.c' object='fs/tar_module-tar.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $(tar_module_CFLAGS) $(CFLAGS) -c -o fs/tar_module-tar.obj `if test -f 'fs/tar.c'; then $(CYGPATH_W) 'fs/tar.c'; else $(CYGPATH_W) '$(srcdir)/fs/tar.c'; fi` + +commands/terminal_module-terminal.o: commands/terminal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $(terminal_module_CFLAGS) $(CFLAGS) -MT commands/terminal_module-terminal.o -MD -MP -MF commands/$(DEPDIR)/terminal_module-terminal.Tpo -c -o commands/terminal_module-terminal.o `test -f 'commands/terminal.c' || echo '$(srcdir)/'`commands/terminal.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/terminal_module-terminal.Tpo commands/$(DEPDIR)/terminal_module-terminal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/terminal.c' object='commands/terminal_module-terminal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $(terminal_module_CFLAGS) $(CFLAGS) -c -o commands/terminal_module-terminal.o `test -f 'commands/terminal.c' || echo '$(srcdir)/'`commands/terminal.c + +commands/terminal_module-terminal.obj: commands/terminal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $(terminal_module_CFLAGS) $(CFLAGS) -MT commands/terminal_module-terminal.obj -MD -MP -MF commands/$(DEPDIR)/terminal_module-terminal.Tpo -c -o commands/terminal_module-terminal.obj `if test -f 'commands/terminal.c'; then $(CYGPATH_W) 'commands/terminal.c'; else $(CYGPATH_W) '$(srcdir)/commands/terminal.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/terminal_module-terminal.Tpo commands/$(DEPDIR)/terminal_module-terminal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/terminal.c' object='commands/terminal_module-terminal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $(terminal_module_CFLAGS) $(CFLAGS) -c -o commands/terminal_module-terminal.obj `if test -f 'commands/terminal.c'; then $(CYGPATH_W) 'commands/terminal.c'; else $(CYGPATH_W) '$(srcdir)/commands/terminal.c'; fi` + +term/terminfo_module-terminfo.o: term/terminfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -MT term/terminfo_module-terminfo.o -MD -MP -MF term/$(DEPDIR)/terminfo_module-terminfo.Tpo -c -o term/terminfo_module-terminfo.o `test -f 'term/terminfo.c' || echo '$(srcdir)/'`term/terminfo.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/terminfo_module-terminfo.Tpo term/$(DEPDIR)/terminfo_module-terminfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/terminfo.c' object='term/terminfo_module-terminfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -c -o term/terminfo_module-terminfo.o `test -f 'term/terminfo.c' || echo '$(srcdir)/'`term/terminfo.c + +term/terminfo_module-terminfo.obj: term/terminfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -MT term/terminfo_module-terminfo.obj -MD -MP -MF term/$(DEPDIR)/terminfo_module-terminfo.Tpo -c -o term/terminfo_module-terminfo.obj `if test -f 'term/terminfo.c'; then $(CYGPATH_W) 'term/terminfo.c'; else $(CYGPATH_W) '$(srcdir)/term/terminfo.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/terminfo_module-terminfo.Tpo term/$(DEPDIR)/terminfo_module-terminfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/terminfo.c' object='term/terminfo_module-terminfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -c -o term/terminfo_module-terminfo.obj `if test -f 'term/terminfo.c'; then $(CYGPATH_W) 'term/terminfo.c'; else $(CYGPATH_W) '$(srcdir)/term/terminfo.c'; fi` + +term/terminfo_module-tparm.o: term/tparm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -MT term/terminfo_module-tparm.o -MD -MP -MF term/$(DEPDIR)/terminfo_module-tparm.Tpo -c -o term/terminfo_module-tparm.o `test -f 'term/tparm.c' || echo '$(srcdir)/'`term/tparm.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/terminfo_module-tparm.Tpo term/$(DEPDIR)/terminfo_module-tparm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/tparm.c' object='term/terminfo_module-tparm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -c -o term/terminfo_module-tparm.o `test -f 'term/tparm.c' || echo '$(srcdir)/'`term/tparm.c + +term/terminfo_module-tparm.obj: term/tparm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -MT term/terminfo_module-tparm.obj -MD -MP -MF term/$(DEPDIR)/terminfo_module-tparm.Tpo -c -o term/terminfo_module-tparm.obj `if test -f 'term/tparm.c'; then $(CYGPATH_W) 'term/tparm.c'; else $(CYGPATH_W) '$(srcdir)/term/tparm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/terminfo_module-tparm.Tpo term/$(DEPDIR)/terminfo_module-tparm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/tparm.c' object='term/terminfo_module-tparm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $(terminfo_module_CFLAGS) $(CFLAGS) -c -o term/terminfo_module-tparm.obj `if test -f 'term/tparm.c'; then $(CYGPATH_W) 'term/tparm.c'; else $(CYGPATH_W) '$(srcdir)/term/tparm.c'; fi` + +commands/test_module-test.o: commands/test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $(test_module_CFLAGS) $(CFLAGS) -MT commands/test_module-test.o -MD -MP -MF commands/$(DEPDIR)/test_module-test.Tpo -c -o commands/test_module-test.o `test -f 'commands/test.c' || echo '$(srcdir)/'`commands/test.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/test_module-test.Tpo commands/$(DEPDIR)/test_module-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/test.c' object='commands/test_module-test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $(test_module_CFLAGS) $(CFLAGS) -c -o commands/test_module-test.o `test -f 'commands/test.c' || echo '$(srcdir)/'`commands/test.c + +commands/test_module-test.obj: commands/test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $(test_module_CFLAGS) $(CFLAGS) -MT commands/test_module-test.obj -MD -MP -MF commands/$(DEPDIR)/test_module-test.Tpo -c -o commands/test_module-test.obj `if test -f 'commands/test.c'; then $(CYGPATH_W) 'commands/test.c'; else $(CYGPATH_W) '$(srcdir)/commands/test.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/test_module-test.Tpo commands/$(DEPDIR)/test_module-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/test.c' object='commands/test_module-test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $(test_module_CFLAGS) $(CFLAGS) -c -o commands/test_module-test.obj `if test -f 'commands/test.c'; then $(CYGPATH_W) 'commands/test.c'; else $(CYGPATH_W) '$(srcdir)/commands/test.c'; fi` + +tests/test_blockarg_module-test_blockarg.o: tests/test_blockarg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $(test_blockarg_module_CFLAGS) $(CFLAGS) -MT tests/test_blockarg_module-test_blockarg.o -MD -MP -MF tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Tpo -c -o tests/test_blockarg_module-test_blockarg.o `test -f 'tests/test_blockarg.c' || echo '$(srcdir)/'`tests/test_blockarg.c +@am__fastdepCC_TRUE@ $(am__mv) tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Tpo tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/test_blockarg.c' object='tests/test_blockarg_module-test_blockarg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $(test_blockarg_module_CFLAGS) $(CFLAGS) -c -o tests/test_blockarg_module-test_blockarg.o `test -f 'tests/test_blockarg.c' || echo '$(srcdir)/'`tests/test_blockarg.c + +tests/test_blockarg_module-test_blockarg.obj: tests/test_blockarg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $(test_blockarg_module_CFLAGS) $(CFLAGS) -MT tests/test_blockarg_module-test_blockarg.obj -MD -MP -MF tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Tpo -c -o tests/test_blockarg_module-test_blockarg.obj `if test -f 'tests/test_blockarg.c'; then $(CYGPATH_W) 'tests/test_blockarg.c'; else $(CYGPATH_W) '$(srcdir)/tests/test_blockarg.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Tpo tests/$(DEPDIR)/test_blockarg_module-test_blockarg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tests/test_blockarg.c' object='tests/test_blockarg_module-test_blockarg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $(test_blockarg_module_CFLAGS) $(CFLAGS) -c -o tests/test_blockarg_module-test_blockarg.obj `if test -f 'tests/test_blockarg.c'; then $(CYGPATH_W) 'tests/test_blockarg.c'; else $(CYGPATH_W) '$(srcdir)/tests/test_blockarg.c'; fi` + +commands/testload_module-testload.o: commands/testload.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $(testload_module_CFLAGS) $(CFLAGS) -MT commands/testload_module-testload.o -MD -MP -MF commands/$(DEPDIR)/testload_module-testload.Tpo -c -o commands/testload_module-testload.o `test -f 'commands/testload.c' || echo '$(srcdir)/'`commands/testload.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/testload_module-testload.Tpo commands/$(DEPDIR)/testload_module-testload.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/testload.c' object='commands/testload_module-testload.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $(testload_module_CFLAGS) $(CFLAGS) -c -o commands/testload_module-testload.o `test -f 'commands/testload.c' || echo '$(srcdir)/'`commands/testload.c + +commands/testload_module-testload.obj: commands/testload.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $(testload_module_CFLAGS) $(CFLAGS) -MT commands/testload_module-testload.obj -MD -MP -MF commands/$(DEPDIR)/testload_module-testload.Tpo -c -o commands/testload_module-testload.obj `if test -f 'commands/testload.c'; then $(CYGPATH_W) 'commands/testload.c'; else $(CYGPATH_W) '$(srcdir)/commands/testload.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/testload_module-testload.Tpo commands/$(DEPDIR)/testload_module-testload.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/testload.c' object='commands/testload_module-testload.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $(testload_module_CFLAGS) $(CFLAGS) -c -o commands/testload_module-testload.obj `if test -f 'commands/testload.c'; then $(CYGPATH_W) 'commands/testload.c'; else $(CYGPATH_W) '$(srcdir)/commands/testload.c'; fi` + +video/readers/tga_module-tga.o: video/readers/tga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $(tga_module_CFLAGS) $(CFLAGS) -MT video/readers/tga_module-tga.o -MD -MP -MF video/readers/$(DEPDIR)/tga_module-tga.Tpo -c -o video/readers/tga_module-tga.o `test -f 'video/readers/tga.c' || echo '$(srcdir)/'`video/readers/tga.c +@am__fastdepCC_TRUE@ $(am__mv) video/readers/$(DEPDIR)/tga_module-tga.Tpo video/readers/$(DEPDIR)/tga_module-tga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/readers/tga.c' object='video/readers/tga_module-tga.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $(tga_module_CFLAGS) $(CFLAGS) -c -o video/readers/tga_module-tga.o `test -f 'video/readers/tga.c' || echo '$(srcdir)/'`video/readers/tga.c + +video/readers/tga_module-tga.obj: video/readers/tga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $(tga_module_CFLAGS) $(CFLAGS) -MT video/readers/tga_module-tga.obj -MD -MP -MF video/readers/$(DEPDIR)/tga_module-tga.Tpo -c -o video/readers/tga_module-tga.obj `if test -f 'video/readers/tga.c'; then $(CYGPATH_W) 'video/readers/tga.c'; else $(CYGPATH_W) '$(srcdir)/video/readers/tga.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/readers/$(DEPDIR)/tga_module-tga.Tpo video/readers/$(DEPDIR)/tga_module-tga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/readers/tga.c' object='video/readers/tga_module-tga.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $(tga_module_CFLAGS) $(CFLAGS) -c -o video/readers/tga_module-tga.obj `if test -f 'video/readers/tga.c'; then $(CYGPATH_W) 'video/readers/tga.c'; else $(CYGPATH_W) '$(srcdir)/video/readers/tga.c'; fi` + +trig_module-trigtables.o: trigtables.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $(trig_module_CFLAGS) $(CFLAGS) -MT trig_module-trigtables.o -MD -MP -MF $(DEPDIR)/trig_module-trigtables.Tpo -c -o trig_module-trigtables.o `test -f 'trigtables.c' || echo '$(srcdir)/'`trigtables.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/trig_module-trigtables.Tpo $(DEPDIR)/trig_module-trigtables.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='trigtables.c' object='trig_module-trigtables.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $(trig_module_CFLAGS) $(CFLAGS) -c -o trig_module-trigtables.o `test -f 'trigtables.c' || echo '$(srcdir)/'`trigtables.c + +trig_module-trigtables.obj: trigtables.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $(trig_module_CFLAGS) $(CFLAGS) -MT trig_module-trigtables.obj -MD -MP -MF $(DEPDIR)/trig_module-trigtables.Tpo -c -o trig_module-trigtables.obj `if test -f 'trigtables.c'; then $(CYGPATH_W) 'trigtables.c'; else $(CYGPATH_W) '$(srcdir)/trigtables.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/trig_module-trigtables.Tpo $(DEPDIR)/trig_module-trigtables.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='trigtables.c' object='trig_module-trigtables.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $(trig_module_CFLAGS) $(CFLAGS) -c -o trig_module-trigtables.obj `if test -f 'trigtables.c'; then $(CYGPATH_W) 'trigtables.c'; else $(CYGPATH_W) '$(srcdir)/trigtables.c'; fi` + +commands/true_module-true.o: commands/true.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $(true_module_CFLAGS) $(CFLAGS) -MT commands/true_module-true.o -MD -MP -MF commands/$(DEPDIR)/true_module-true.Tpo -c -o commands/true_module-true.o `test -f 'commands/true.c' || echo '$(srcdir)/'`commands/true.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/true_module-true.Tpo commands/$(DEPDIR)/true_module-true.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/true.c' object='commands/true_module-true.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $(true_module_CFLAGS) $(CFLAGS) -c -o commands/true_module-true.o `test -f 'commands/true.c' || echo '$(srcdir)/'`commands/true.c + +commands/true_module-true.obj: commands/true.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $(true_module_CFLAGS) $(CFLAGS) -MT commands/true_module-true.obj -MD -MP -MF commands/$(DEPDIR)/true_module-true.Tpo -c -o commands/true_module-true.obj `if test -f 'commands/true.c'; then $(CYGPATH_W) 'commands/true.c'; else $(CYGPATH_W) '$(srcdir)/commands/true.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/true_module-true.Tpo commands/$(DEPDIR)/true_module-true.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/true.c' object='commands/true_module-true.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $(true_module_CFLAGS) $(CFLAGS) -c -o commands/true_module-true.obj `if test -f 'commands/true.c'; then $(CYGPATH_W) 'commands/true.c'; else $(CYGPATH_W) '$(srcdir)/commands/true.c'; fi` + +fs/udf_module-udf.o: fs/udf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $(udf_module_CFLAGS) $(CFLAGS) -MT fs/udf_module-udf.o -MD -MP -MF fs/$(DEPDIR)/udf_module-udf.Tpo -c -o fs/udf_module-udf.o `test -f 'fs/udf.c' || echo '$(srcdir)/'`fs/udf.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/udf_module-udf.Tpo fs/$(DEPDIR)/udf_module-udf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/udf.c' object='fs/udf_module-udf.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $(udf_module_CFLAGS) $(CFLAGS) -c -o fs/udf_module-udf.o `test -f 'fs/udf.c' || echo '$(srcdir)/'`fs/udf.c + +fs/udf_module-udf.obj: fs/udf.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $(udf_module_CFLAGS) $(CFLAGS) -MT fs/udf_module-udf.obj -MD -MP -MF fs/$(DEPDIR)/udf_module-udf.Tpo -c -o fs/udf_module-udf.obj `if test -f 'fs/udf.c'; then $(CYGPATH_W) 'fs/udf.c'; else $(CYGPATH_W) '$(srcdir)/fs/udf.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/udf_module-udf.Tpo fs/$(DEPDIR)/udf_module-udf.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/udf.c' object='fs/udf_module-udf.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $(udf_module_CFLAGS) $(CFLAGS) -c -o fs/udf_module-udf.obj `if test -f 'fs/udf.c'; then $(CYGPATH_W) 'fs/udf.c'; else $(CYGPATH_W) '$(srcdir)/fs/udf.c'; fi` + +fs/ufs1_module-ufs.o: fs/ufs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $(ufs1_module_CFLAGS) $(CFLAGS) -MT fs/ufs1_module-ufs.o -MD -MP -MF fs/$(DEPDIR)/ufs1_module-ufs.Tpo -c -o fs/ufs1_module-ufs.o `test -f 'fs/ufs.c' || echo '$(srcdir)/'`fs/ufs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ufs1_module-ufs.Tpo fs/$(DEPDIR)/ufs1_module-ufs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ufs.c' object='fs/ufs1_module-ufs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $(ufs1_module_CFLAGS) $(CFLAGS) -c -o fs/ufs1_module-ufs.o `test -f 'fs/ufs.c' || echo '$(srcdir)/'`fs/ufs.c + +fs/ufs1_module-ufs.obj: fs/ufs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $(ufs1_module_CFLAGS) $(CFLAGS) -MT fs/ufs1_module-ufs.obj -MD -MP -MF fs/$(DEPDIR)/ufs1_module-ufs.Tpo -c -o fs/ufs1_module-ufs.obj `if test -f 'fs/ufs.c'; then $(CYGPATH_W) 'fs/ufs.c'; else $(CYGPATH_W) '$(srcdir)/fs/ufs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ufs1_module-ufs.Tpo fs/$(DEPDIR)/ufs1_module-ufs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ufs.c' object='fs/ufs1_module-ufs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $(ufs1_module_CFLAGS) $(CFLAGS) -c -o fs/ufs1_module-ufs.obj `if test -f 'fs/ufs.c'; then $(CYGPATH_W) 'fs/ufs.c'; else $(CYGPATH_W) '$(srcdir)/fs/ufs.c'; fi` + +fs/ufs2_module-ufs2.o: fs/ufs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $(ufs2_module_CFLAGS) $(CFLAGS) -MT fs/ufs2_module-ufs2.o -MD -MP -MF fs/$(DEPDIR)/ufs2_module-ufs2.Tpo -c -o fs/ufs2_module-ufs2.o `test -f 'fs/ufs2.c' || echo '$(srcdir)/'`fs/ufs2.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ufs2_module-ufs2.Tpo fs/$(DEPDIR)/ufs2_module-ufs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ufs2.c' object='fs/ufs2_module-ufs2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $(ufs2_module_CFLAGS) $(CFLAGS) -c -o fs/ufs2_module-ufs2.o `test -f 'fs/ufs2.c' || echo '$(srcdir)/'`fs/ufs2.c + +fs/ufs2_module-ufs2.obj: fs/ufs2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $(ufs2_module_CFLAGS) $(CFLAGS) -MT fs/ufs2_module-ufs2.obj -MD -MP -MF fs/$(DEPDIR)/ufs2_module-ufs2.Tpo -c -o fs/ufs2_module-ufs2.obj `if test -f 'fs/ufs2.c'; then $(CYGPATH_W) 'fs/ufs2.c'; else $(CYGPATH_W) '$(srcdir)/fs/ufs2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/ufs2_module-ufs2.Tpo fs/$(DEPDIR)/ufs2_module-ufs2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/ufs2.c' object='fs/ufs2_module-ufs2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $(ufs2_module_CFLAGS) $(CFLAGS) -c -o fs/ufs2_module-ufs2.obj `if test -f 'fs/ufs2.c'; then $(CYGPATH_W) 'fs/ufs2.c'; else $(CYGPATH_W) '$(srcdir)/fs/ufs2.c'; fi` + +bus/usb/uhci_module-uhci.o: bus/usb/uhci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $(uhci_module_CFLAGS) $(CFLAGS) -MT bus/usb/uhci_module-uhci.o -MD -MP -MF bus/usb/$(DEPDIR)/uhci_module-uhci.Tpo -c -o bus/usb/uhci_module-uhci.o `test -f 'bus/usb/uhci.c' || echo '$(srcdir)/'`bus/usb/uhci.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/uhci_module-uhci.Tpo bus/usb/$(DEPDIR)/uhci_module-uhci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/uhci.c' object='bus/usb/uhci_module-uhci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $(uhci_module_CFLAGS) $(CFLAGS) -c -o bus/usb/uhci_module-uhci.o `test -f 'bus/usb/uhci.c' || echo '$(srcdir)/'`bus/usb/uhci.c + +bus/usb/uhci_module-uhci.obj: bus/usb/uhci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $(uhci_module_CFLAGS) $(CFLAGS) -MT bus/usb/uhci_module-uhci.obj -MD -MP -MF bus/usb/$(DEPDIR)/uhci_module-uhci.Tpo -c -o bus/usb/uhci_module-uhci.obj `if test -f 'bus/usb/uhci.c'; then $(CYGPATH_W) 'bus/usb/uhci.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/uhci.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/uhci_module-uhci.Tpo bus/usb/$(DEPDIR)/uhci_module-uhci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/uhci.c' object='bus/usb/uhci_module-uhci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $(uhci_module_CFLAGS) $(CFLAGS) -c -o bus/usb/uhci_module-uhci.obj `if test -f 'bus/usb/uhci.c'; then $(CYGPATH_W) 'bus/usb/uhci.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/uhci.c'; fi` + +bus/usb/usb_module-usb.o: bus/usb/usb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -MT bus/usb/usb_module-usb.o -MD -MP -MF bus/usb/$(DEPDIR)/usb_module-usb.Tpo -c -o bus/usb/usb_module-usb.o `test -f 'bus/usb/usb.c' || echo '$(srcdir)/'`bus/usb/usb.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/usb_module-usb.Tpo bus/usb/$(DEPDIR)/usb_module-usb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/usb.c' object='bus/usb/usb_module-usb.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/usb_module-usb.o `test -f 'bus/usb/usb.c' || echo '$(srcdir)/'`bus/usb/usb.c + +bus/usb/usb_module-usb.obj: bus/usb/usb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -MT bus/usb/usb_module-usb.obj -MD -MP -MF bus/usb/$(DEPDIR)/usb_module-usb.Tpo -c -o bus/usb/usb_module-usb.obj `if test -f 'bus/usb/usb.c'; then $(CYGPATH_W) 'bus/usb/usb.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/usb.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/usb_module-usb.Tpo bus/usb/$(DEPDIR)/usb_module-usb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/usb.c' object='bus/usb/usb_module-usb.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/usb_module-usb.obj `if test -f 'bus/usb/usb.c'; then $(CYGPATH_W) 'bus/usb/usb.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/usb.c'; fi` + +bus/usb/usb_module-usbtrans.o: bus/usb/usbtrans.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -MT bus/usb/usb_module-usbtrans.o -MD -MP -MF bus/usb/$(DEPDIR)/usb_module-usbtrans.Tpo -c -o bus/usb/usb_module-usbtrans.o `test -f 'bus/usb/usbtrans.c' || echo '$(srcdir)/'`bus/usb/usbtrans.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/usb_module-usbtrans.Tpo bus/usb/$(DEPDIR)/usb_module-usbtrans.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/usbtrans.c' object='bus/usb/usb_module-usbtrans.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/usb_module-usbtrans.o `test -f 'bus/usb/usbtrans.c' || echo '$(srcdir)/'`bus/usb/usbtrans.c + +bus/usb/usb_module-usbtrans.obj: bus/usb/usbtrans.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -MT bus/usb/usb_module-usbtrans.obj -MD -MP -MF bus/usb/$(DEPDIR)/usb_module-usbtrans.Tpo -c -o bus/usb/usb_module-usbtrans.obj `if test -f 'bus/usb/usbtrans.c'; then $(CYGPATH_W) 'bus/usb/usbtrans.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/usbtrans.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/usb_module-usbtrans.Tpo bus/usb/$(DEPDIR)/usb_module-usbtrans.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/usbtrans.c' object='bus/usb/usb_module-usbtrans.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/usb_module-usbtrans.obj `if test -f 'bus/usb/usbtrans.c'; then $(CYGPATH_W) 'bus/usb/usbtrans.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/usbtrans.c'; fi` + +bus/usb/usb_module-usbhub.o: bus/usb/usbhub.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -MT bus/usb/usb_module-usbhub.o -MD -MP -MF bus/usb/$(DEPDIR)/usb_module-usbhub.Tpo -c -o bus/usb/usb_module-usbhub.o `test -f 'bus/usb/usbhub.c' || echo '$(srcdir)/'`bus/usb/usbhub.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/usb_module-usbhub.Tpo bus/usb/$(DEPDIR)/usb_module-usbhub.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/usbhub.c' object='bus/usb/usb_module-usbhub.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/usb_module-usbhub.o `test -f 'bus/usb/usbhub.c' || echo '$(srcdir)/'`bus/usb/usbhub.c + +bus/usb/usb_module-usbhub.obj: bus/usb/usbhub.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -MT bus/usb/usb_module-usbhub.obj -MD -MP -MF bus/usb/$(DEPDIR)/usb_module-usbhub.Tpo -c -o bus/usb/usb_module-usbhub.obj `if test -f 'bus/usb/usbhub.c'; then $(CYGPATH_W) 'bus/usb/usbhub.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/usbhub.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/$(DEPDIR)/usb_module-usbhub.Tpo bus/usb/$(DEPDIR)/usb_module-usbhub.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/usbhub.c' object='bus/usb/usb_module-usbhub.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $(usb_module_CFLAGS) $(CFLAGS) -c -o bus/usb/usb_module-usbhub.obj `if test -f 'bus/usb/usbhub.c'; then $(CYGPATH_W) 'bus/usb/usbhub.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/usbhub.c'; fi` + +term/usb_keyboard_module-usb_keyboard.o: term/usb_keyboard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(usb_keyboard_module_CFLAGS) $(CFLAGS) -MT term/usb_keyboard_module-usb_keyboard.o -MD -MP -MF term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Tpo -c -o term/usb_keyboard_module-usb_keyboard.o `test -f 'term/usb_keyboard.c' || echo '$(srcdir)/'`term/usb_keyboard.c +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Tpo term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/usb_keyboard.c' object='term/usb_keyboard_module-usb_keyboard.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(usb_keyboard_module_CFLAGS) $(CFLAGS) -c -o term/usb_keyboard_module-usb_keyboard.o `test -f 'term/usb_keyboard.c' || echo '$(srcdir)/'`term/usb_keyboard.c + +term/usb_keyboard_module-usb_keyboard.obj: term/usb_keyboard.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(usb_keyboard_module_CFLAGS) $(CFLAGS) -MT term/usb_keyboard_module-usb_keyboard.obj -MD -MP -MF term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Tpo -c -o term/usb_keyboard_module-usb_keyboard.obj `if test -f 'term/usb_keyboard.c'; then $(CYGPATH_W) 'term/usb_keyboard.c'; else $(CYGPATH_W) '$(srcdir)/term/usb_keyboard.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Tpo term/$(DEPDIR)/usb_keyboard_module-usb_keyboard.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/usb_keyboard.c' object='term/usb_keyboard_module-usb_keyboard.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $(usb_keyboard_module_CFLAGS) $(CFLAGS) -c -o term/usb_keyboard_module-usb_keyboard.obj `if test -f 'term/usb_keyboard.c'; then $(CYGPATH_W) 'term/usb_keyboard.c'; else $(CYGPATH_W) '$(srcdir)/term/usb_keyboard.c'; fi` + +disk/usbms_module-usbms.o: disk/usbms.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $(usbms_module_CFLAGS) $(CFLAGS) -MT disk/usbms_module-usbms.o -MD -MP -MF disk/$(DEPDIR)/usbms_module-usbms.Tpo -c -o disk/usbms_module-usbms.o `test -f 'disk/usbms.c' || echo '$(srcdir)/'`disk/usbms.c +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/usbms_module-usbms.Tpo disk/$(DEPDIR)/usbms_module-usbms.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/usbms.c' object='disk/usbms_module-usbms.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $(usbms_module_CFLAGS) $(CFLAGS) -c -o disk/usbms_module-usbms.o `test -f 'disk/usbms.c' || echo '$(srcdir)/'`disk/usbms.c + +disk/usbms_module-usbms.obj: disk/usbms.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $(usbms_module_CFLAGS) $(CFLAGS) -MT disk/usbms_module-usbms.obj -MD -MP -MF disk/$(DEPDIR)/usbms_module-usbms.Tpo -c -o disk/usbms_module-usbms.obj `if test -f 'disk/usbms.c'; then $(CYGPATH_W) 'disk/usbms.c'; else $(CYGPATH_W) '$(srcdir)/disk/usbms.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) disk/$(DEPDIR)/usbms_module-usbms.Tpo disk/$(DEPDIR)/usbms_module-usbms.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='disk/usbms.c' object='disk/usbms_module-usbms.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $(usbms_module_CFLAGS) $(CFLAGS) -c -o disk/usbms_module-usbms.obj `if test -f 'disk/usbms.c'; then $(CYGPATH_W) 'disk/usbms.c'; else $(CYGPATH_W) '$(srcdir)/disk/usbms.c'; fi` + +bus/usb/serial/usbserial_common_module-common.o: bus/usb/serial/common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_common_module_CFLAGS) $(CFLAGS) -MT bus/usb/serial/usbserial_common_module-common.o -MD -MP -MF bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Tpo -c -o bus/usb/serial/usbserial_common_module-common.o `test -f 'bus/usb/serial/common.c' || echo '$(srcdir)/'`bus/usb/serial/common.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Tpo bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/serial/common.c' object='bus/usb/serial/usbserial_common_module-common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_common_module_CFLAGS) $(CFLAGS) -c -o bus/usb/serial/usbserial_common_module-common.o `test -f 'bus/usb/serial/common.c' || echo '$(srcdir)/'`bus/usb/serial/common.c + +bus/usb/serial/usbserial_common_module-common.obj: bus/usb/serial/common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_common_module_CFLAGS) $(CFLAGS) -MT bus/usb/serial/usbserial_common_module-common.obj -MD -MP -MF bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Tpo -c -o bus/usb/serial/usbserial_common_module-common.obj `if test -f 'bus/usb/serial/common.c'; then $(CYGPATH_W) 'bus/usb/serial/common.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/serial/common.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Tpo bus/usb/serial/$(DEPDIR)/usbserial_common_module-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/serial/common.c' object='bus/usb/serial/usbserial_common_module-common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_common_module_CFLAGS) $(CFLAGS) -c -o bus/usb/serial/usbserial_common_module-common.obj `if test -f 'bus/usb/serial/common.c'; then $(CYGPATH_W) 'bus/usb/serial/common.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/serial/common.c'; fi` + +bus/usb/serial/usbserial_ftdi_module-ftdi.o: bus/usb/serial/ftdi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_ftdi_module_CFLAGS) $(CFLAGS) -MT bus/usb/serial/usbserial_ftdi_module-ftdi.o -MD -MP -MF bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Tpo -c -o bus/usb/serial/usbserial_ftdi_module-ftdi.o `test -f 'bus/usb/serial/ftdi.c' || echo '$(srcdir)/'`bus/usb/serial/ftdi.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Tpo bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/serial/ftdi.c' object='bus/usb/serial/usbserial_ftdi_module-ftdi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_ftdi_module_CFLAGS) $(CFLAGS) -c -o bus/usb/serial/usbserial_ftdi_module-ftdi.o `test -f 'bus/usb/serial/ftdi.c' || echo '$(srcdir)/'`bus/usb/serial/ftdi.c + +bus/usb/serial/usbserial_ftdi_module-ftdi.obj: bus/usb/serial/ftdi.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_ftdi_module_CFLAGS) $(CFLAGS) -MT bus/usb/serial/usbserial_ftdi_module-ftdi.obj -MD -MP -MF bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Tpo -c -o bus/usb/serial/usbserial_ftdi_module-ftdi.obj `if test -f 'bus/usb/serial/ftdi.c'; then $(CYGPATH_W) 'bus/usb/serial/ftdi.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/serial/ftdi.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Tpo bus/usb/serial/$(DEPDIR)/usbserial_ftdi_module-ftdi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/serial/ftdi.c' object='bus/usb/serial/usbserial_ftdi_module-ftdi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_ftdi_module_CFLAGS) $(CFLAGS) -c -o bus/usb/serial/usbserial_ftdi_module-ftdi.obj `if test -f 'bus/usb/serial/ftdi.c'; then $(CYGPATH_W) 'bus/usb/serial/ftdi.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/serial/ftdi.c'; fi` + +bus/usb/serial/usbserial_pl2303_module-pl2303.o: bus/usb/serial/pl2303.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_pl2303_module_CFLAGS) $(CFLAGS) -MT bus/usb/serial/usbserial_pl2303_module-pl2303.o -MD -MP -MF bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Tpo -c -o bus/usb/serial/usbserial_pl2303_module-pl2303.o `test -f 'bus/usb/serial/pl2303.c' || echo '$(srcdir)/'`bus/usb/serial/pl2303.c +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Tpo bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/serial/pl2303.c' object='bus/usb/serial/usbserial_pl2303_module-pl2303.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_pl2303_module_CFLAGS) $(CFLAGS) -c -o bus/usb/serial/usbserial_pl2303_module-pl2303.o `test -f 'bus/usb/serial/pl2303.c' || echo '$(srcdir)/'`bus/usb/serial/pl2303.c + +bus/usb/serial/usbserial_pl2303_module-pl2303.obj: bus/usb/serial/pl2303.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_pl2303_module_CFLAGS) $(CFLAGS) -MT bus/usb/serial/usbserial_pl2303_module-pl2303.obj -MD -MP -MF bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Tpo -c -o bus/usb/serial/usbserial_pl2303_module-pl2303.obj `if test -f 'bus/usb/serial/pl2303.c'; then $(CYGPATH_W) 'bus/usb/serial/pl2303.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/serial/pl2303.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Tpo bus/usb/serial/$(DEPDIR)/usbserial_pl2303_module-pl2303.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bus/usb/serial/pl2303.c' object='bus/usb/serial/usbserial_pl2303_module-pl2303.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $(usbserial_pl2303_module_CFLAGS) $(CFLAGS) -c -o bus/usb/serial/usbserial_pl2303_module-pl2303.obj `if test -f 'bus/usb/serial/pl2303.c'; then $(CYGPATH_W) 'bus/usb/serial/pl2303.c'; else $(CYGPATH_W) '$(srcdir)/bus/usb/serial/pl2303.c'; fi` + +commands/usbtest_module-usbtest.o: commands/usbtest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $(usbtest_module_CFLAGS) $(CFLAGS) -MT commands/usbtest_module-usbtest.o -MD -MP -MF commands/$(DEPDIR)/usbtest_module-usbtest.Tpo -c -o commands/usbtest_module-usbtest.o `test -f 'commands/usbtest.c' || echo '$(srcdir)/'`commands/usbtest.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/usbtest_module-usbtest.Tpo commands/$(DEPDIR)/usbtest_module-usbtest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/usbtest.c' object='commands/usbtest_module-usbtest.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $(usbtest_module_CFLAGS) $(CFLAGS) -c -o commands/usbtest_module-usbtest.o `test -f 'commands/usbtest.c' || echo '$(srcdir)/'`commands/usbtest.c + +commands/usbtest_module-usbtest.obj: commands/usbtest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $(usbtest_module_CFLAGS) $(CFLAGS) -MT commands/usbtest_module-usbtest.obj -MD -MP -MF commands/$(DEPDIR)/usbtest_module-usbtest.Tpo -c -o commands/usbtest_module-usbtest.obj `if test -f 'commands/usbtest.c'; then $(CYGPATH_W) 'commands/usbtest.c'; else $(CYGPATH_W) '$(srcdir)/commands/usbtest.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/usbtest_module-usbtest.Tpo commands/$(DEPDIR)/usbtest_module-usbtest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/usbtest.c' object='commands/usbtest_module-usbtest.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $(usbtest_module_CFLAGS) $(CFLAGS) -c -o commands/usbtest_module-usbtest.obj `if test -f 'commands/usbtest.c'; then $(CYGPATH_W) 'commands/usbtest.c'; else $(CYGPATH_W) '$(srcdir)/commands/usbtest.c'; fi` + +video/i386/pc/vbe_module-vbe.o: video/i386/pc/vbe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vbe_module_CPPFLAGS) $(CPPFLAGS) $(vbe_module_CFLAGS) $(CFLAGS) -MT video/i386/pc/vbe_module-vbe.o -MD -MP -MF video/i386/pc/$(DEPDIR)/vbe_module-vbe.Tpo -c -o video/i386/pc/vbe_module-vbe.o `test -f 'video/i386/pc/vbe.c' || echo '$(srcdir)/'`video/i386/pc/vbe.c +@am__fastdepCC_TRUE@ $(am__mv) video/i386/pc/$(DEPDIR)/vbe_module-vbe.Tpo video/i386/pc/$(DEPDIR)/vbe_module-vbe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/i386/pc/vbe.c' object='video/i386/pc/vbe_module-vbe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vbe_module_CPPFLAGS) $(CPPFLAGS) $(vbe_module_CFLAGS) $(CFLAGS) -c -o video/i386/pc/vbe_module-vbe.o `test -f 'video/i386/pc/vbe.c' || echo '$(srcdir)/'`video/i386/pc/vbe.c + +video/i386/pc/vbe_module-vbe.obj: video/i386/pc/vbe.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vbe_module_CPPFLAGS) $(CPPFLAGS) $(vbe_module_CFLAGS) $(CFLAGS) -MT video/i386/pc/vbe_module-vbe.obj -MD -MP -MF video/i386/pc/$(DEPDIR)/vbe_module-vbe.Tpo -c -o video/i386/pc/vbe_module-vbe.obj `if test -f 'video/i386/pc/vbe.c'; then $(CYGPATH_W) 'video/i386/pc/vbe.c'; else $(CYGPATH_W) '$(srcdir)/video/i386/pc/vbe.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/i386/pc/$(DEPDIR)/vbe_module-vbe.Tpo video/i386/pc/$(DEPDIR)/vbe_module-vbe.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/i386/pc/vbe.c' object='video/i386/pc/vbe_module-vbe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vbe_module_CPPFLAGS) $(CPPFLAGS) $(vbe_module_CFLAGS) $(CFLAGS) -c -o video/i386/pc/vbe_module-vbe.obj `if test -f 'video/i386/pc/vbe.c'; then $(CYGPATH_W) 'video/i386/pc/vbe.c'; else $(CYGPATH_W) '$(srcdir)/video/i386/pc/vbe.c'; fi` + +video/i386/pc/vga_module-vga.o: video/i386/pc/vga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_module_CPPFLAGS) $(CPPFLAGS) $(vga_module_CFLAGS) $(CFLAGS) -MT video/i386/pc/vga_module-vga.o -MD -MP -MF video/i386/pc/$(DEPDIR)/vga_module-vga.Tpo -c -o video/i386/pc/vga_module-vga.o `test -f 'video/i386/pc/vga.c' || echo '$(srcdir)/'`video/i386/pc/vga.c +@am__fastdepCC_TRUE@ $(am__mv) video/i386/pc/$(DEPDIR)/vga_module-vga.Tpo video/i386/pc/$(DEPDIR)/vga_module-vga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/i386/pc/vga.c' object='video/i386/pc/vga_module-vga.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_module_CPPFLAGS) $(CPPFLAGS) $(vga_module_CFLAGS) $(CFLAGS) -c -o video/i386/pc/vga_module-vga.o `test -f 'video/i386/pc/vga.c' || echo '$(srcdir)/'`video/i386/pc/vga.c + +video/i386/pc/vga_module-vga.obj: video/i386/pc/vga.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_module_CPPFLAGS) $(CPPFLAGS) $(vga_module_CFLAGS) $(CFLAGS) -MT video/i386/pc/vga_module-vga.obj -MD -MP -MF video/i386/pc/$(DEPDIR)/vga_module-vga.Tpo -c -o video/i386/pc/vga_module-vga.obj `if test -f 'video/i386/pc/vga.c'; then $(CYGPATH_W) 'video/i386/pc/vga.c'; else $(CYGPATH_W) '$(srcdir)/video/i386/pc/vga.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/i386/pc/$(DEPDIR)/vga_module-vga.Tpo video/i386/pc/$(DEPDIR)/vga_module-vga.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/i386/pc/vga.c' object='video/i386/pc/vga_module-vga.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_module_CPPFLAGS) $(CPPFLAGS) $(vga_module_CFLAGS) $(CFLAGS) -c -o video/i386/pc/vga_module-vga.obj `if test -f 'video/i386/pc/vga.c'; then $(CYGPATH_W) 'video/i386/pc/vga.c'; else $(CYGPATH_W) '$(srcdir)/video/i386/pc/vga.c'; fi` + +term/i386/pc/vga_text_module-vga_text.o: term/i386/pc/vga_text.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -MT term/i386/pc/vga_text_module-vga_text.o -MD -MP -MF term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Tpo -c -o term/i386/pc/vga_text_module-vga_text.o `test -f 'term/i386/pc/vga_text.c' || echo '$(srcdir)/'`term/i386/pc/vga_text.c +@am__fastdepCC_TRUE@ $(am__mv) term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Tpo term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/pc/vga_text.c' object='term/i386/pc/vga_text_module-vga_text.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -c -o term/i386/pc/vga_text_module-vga_text.o `test -f 'term/i386/pc/vga_text.c' || echo '$(srcdir)/'`term/i386/pc/vga_text.c + +term/i386/pc/vga_text_module-vga_text.obj: term/i386/pc/vga_text.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -MT term/i386/pc/vga_text_module-vga_text.obj -MD -MP -MF term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Tpo -c -o term/i386/pc/vga_text_module-vga_text.obj `if test -f 'term/i386/pc/vga_text.c'; then $(CYGPATH_W) 'term/i386/pc/vga_text.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/pc/vga_text.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Tpo term/i386/pc/$(DEPDIR)/vga_text_module-vga_text.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/pc/vga_text.c' object='term/i386/pc/vga_text_module-vga_text.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -c -o term/i386/pc/vga_text_module-vga_text.obj `if test -f 'term/i386/pc/vga_text.c'; then $(CYGPATH_W) 'term/i386/pc/vga_text.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/pc/vga_text.c'; fi` + +term/i386/vga_text_module-vga_common.o: term/i386/vga_common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -MT term/i386/vga_text_module-vga_common.o -MD -MP -MF term/i386/$(DEPDIR)/vga_text_module-vga_common.Tpo -c -o term/i386/vga_text_module-vga_common.o `test -f 'term/i386/vga_common.c' || echo '$(srcdir)/'`term/i386/vga_common.c +@am__fastdepCC_TRUE@ $(am__mv) term/i386/$(DEPDIR)/vga_text_module-vga_common.Tpo term/i386/$(DEPDIR)/vga_text_module-vga_common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/vga_common.c' object='term/i386/vga_text_module-vga_common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -c -o term/i386/vga_text_module-vga_common.o `test -f 'term/i386/vga_common.c' || echo '$(srcdir)/'`term/i386/vga_common.c + +term/i386/vga_text_module-vga_common.obj: term/i386/vga_common.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -MT term/i386/vga_text_module-vga_common.obj -MD -MP -MF term/i386/$(DEPDIR)/vga_text_module-vga_common.Tpo -c -o term/i386/vga_text_module-vga_common.obj `if test -f 'term/i386/vga_common.c'; then $(CYGPATH_W) 'term/i386/vga_common.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/vga_common.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) term/i386/$(DEPDIR)/vga_text_module-vga_common.Tpo term/i386/$(DEPDIR)/vga_text_module-vga_common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='term/i386/vga_common.c' object='term/i386/vga_text_module-vga_common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $(vga_text_module_CFLAGS) $(CFLAGS) -c -o term/i386/vga_text_module-vga_common.obj `if test -f 'term/i386/vga_common.c'; then $(CYGPATH_W) 'term/i386/vga_common.c'; else $(CYGPATH_W) '$(srcdir)/term/i386/vga_common.c'; fi` + +video/video_module-video.o: video/video.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $(video_module_CFLAGS) $(CFLAGS) -MT video/video_module-video.o -MD -MP -MF video/$(DEPDIR)/video_module-video.Tpo -c -o video/video_module-video.o `test -f 'video/video.c' || echo '$(srcdir)/'`video/video.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/video_module-video.Tpo video/$(DEPDIR)/video_module-video.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/video.c' object='video/video_module-video.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $(video_module_CFLAGS) $(CFLAGS) -c -o video/video_module-video.o `test -f 'video/video.c' || echo '$(srcdir)/'`video/video.c + +video/video_module-video.obj: video/video.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $(video_module_CFLAGS) $(CFLAGS) -MT video/video_module-video.obj -MD -MP -MF video/$(DEPDIR)/video_module-video.Tpo -c -o video/video_module-video.obj `if test -f 'video/video.c'; then $(CYGPATH_W) 'video/video.c'; else $(CYGPATH_W) '$(srcdir)/video/video.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/video_module-video.Tpo video/$(DEPDIR)/video_module-video.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/video.c' object='video/video_module-video.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $(video_module_CFLAGS) $(CFLAGS) -c -o video/video_module-video.obj `if test -f 'video/video.c'; then $(CYGPATH_W) 'video/video.c'; else $(CYGPATH_W) '$(srcdir)/video/video.c'; fi` + +video/video_bochs_module-bochs.o: video/bochs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $(video_bochs_module_CFLAGS) $(CFLAGS) -MT video/video_bochs_module-bochs.o -MD -MP -MF video/$(DEPDIR)/video_bochs_module-bochs.Tpo -c -o video/video_bochs_module-bochs.o `test -f 'video/bochs.c' || echo '$(srcdir)/'`video/bochs.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/video_bochs_module-bochs.Tpo video/$(DEPDIR)/video_bochs_module-bochs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bochs.c' object='video/video_bochs_module-bochs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $(video_bochs_module_CFLAGS) $(CFLAGS) -c -o video/video_bochs_module-bochs.o `test -f 'video/bochs.c' || echo '$(srcdir)/'`video/bochs.c + +video/video_bochs_module-bochs.obj: video/bochs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $(video_bochs_module_CFLAGS) $(CFLAGS) -MT video/video_bochs_module-bochs.obj -MD -MP -MF video/$(DEPDIR)/video_bochs_module-bochs.Tpo -c -o video/video_bochs_module-bochs.obj `if test -f 'video/bochs.c'; then $(CYGPATH_W) 'video/bochs.c'; else $(CYGPATH_W) '$(srcdir)/video/bochs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/video_bochs_module-bochs.Tpo video/$(DEPDIR)/video_bochs_module-bochs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/bochs.c' object='video/video_bochs_module-bochs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $(video_bochs_module_CFLAGS) $(CFLAGS) -c -o video/video_bochs_module-bochs.obj `if test -f 'video/bochs.c'; then $(CYGPATH_W) 'video/bochs.c'; else $(CYGPATH_W) '$(srcdir)/video/bochs.c'; fi` + +video/video_cirrus_module-cirrus.o: video/cirrus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $(video_cirrus_module_CFLAGS) $(CFLAGS) -MT video/video_cirrus_module-cirrus.o -MD -MP -MF video/$(DEPDIR)/video_cirrus_module-cirrus.Tpo -c -o video/video_cirrus_module-cirrus.o `test -f 'video/cirrus.c' || echo '$(srcdir)/'`video/cirrus.c +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/video_cirrus_module-cirrus.Tpo video/$(DEPDIR)/video_cirrus_module-cirrus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/cirrus.c' object='video/video_cirrus_module-cirrus.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $(video_cirrus_module_CFLAGS) $(CFLAGS) -c -o video/video_cirrus_module-cirrus.o `test -f 'video/cirrus.c' || echo '$(srcdir)/'`video/cirrus.c + +video/video_cirrus_module-cirrus.obj: video/cirrus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $(video_cirrus_module_CFLAGS) $(CFLAGS) -MT video/video_cirrus_module-cirrus.obj -MD -MP -MF video/$(DEPDIR)/video_cirrus_module-cirrus.Tpo -c -o video/video_cirrus_module-cirrus.obj `if test -f 'video/cirrus.c'; then $(CYGPATH_W) 'video/cirrus.c'; else $(CYGPATH_W) '$(srcdir)/video/cirrus.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/$(DEPDIR)/video_cirrus_module-cirrus.Tpo video/$(DEPDIR)/video_cirrus_module-cirrus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/cirrus.c' object='video/video_cirrus_module-cirrus.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $(video_cirrus_module_CFLAGS) $(CFLAGS) -c -o video/video_cirrus_module-cirrus.obj `if test -f 'video/cirrus.c'; then $(CYGPATH_W) 'video/cirrus.c'; else $(CYGPATH_W) '$(srcdir)/video/cirrus.c'; fi` + +video/fb/video_fb_module-video_fb.o: video/fb/video_fb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-video_fb.o -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-video_fb.Tpo -c -o video/fb/video_fb_module-video_fb.o `test -f 'video/fb/video_fb.c' || echo '$(srcdir)/'`video/fb/video_fb.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-video_fb.Tpo video/fb/$(DEPDIR)/video_fb_module-video_fb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/video_fb.c' object='video/fb/video_fb_module-video_fb.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-video_fb.o `test -f 'video/fb/video_fb.c' || echo '$(srcdir)/'`video/fb/video_fb.c + +video/fb/video_fb_module-video_fb.obj: video/fb/video_fb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-video_fb.obj -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-video_fb.Tpo -c -o video/fb/video_fb_module-video_fb.obj `if test -f 'video/fb/video_fb.c'; then $(CYGPATH_W) 'video/fb/video_fb.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/video_fb.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-video_fb.Tpo video/fb/$(DEPDIR)/video_fb_module-video_fb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/video_fb.c' object='video/fb/video_fb_module-video_fb.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-video_fb.obj `if test -f 'video/fb/video_fb.c'; then $(CYGPATH_W) 'video/fb/video_fb.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/video_fb.c'; fi` + +video/fb/video_fb_module-fbblit.o: video/fb/fbblit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-fbblit.o -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-fbblit.Tpo -c -o video/fb/video_fb_module-fbblit.o `test -f 'video/fb/fbblit.c' || echo '$(srcdir)/'`video/fb/fbblit.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-fbblit.Tpo video/fb/$(DEPDIR)/video_fb_module-fbblit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbblit.c' object='video/fb/video_fb_module-fbblit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-fbblit.o `test -f 'video/fb/fbblit.c' || echo '$(srcdir)/'`video/fb/fbblit.c + +video/fb/video_fb_module-fbblit.obj: video/fb/fbblit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-fbblit.obj -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-fbblit.Tpo -c -o video/fb/video_fb_module-fbblit.obj `if test -f 'video/fb/fbblit.c'; then $(CYGPATH_W) 'video/fb/fbblit.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbblit.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-fbblit.Tpo video/fb/$(DEPDIR)/video_fb_module-fbblit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbblit.c' object='video/fb/video_fb_module-fbblit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-fbblit.obj `if test -f 'video/fb/fbblit.c'; then $(CYGPATH_W) 'video/fb/fbblit.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbblit.c'; fi` + +video/fb/video_fb_module-fbfill.o: video/fb/fbfill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-fbfill.o -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-fbfill.Tpo -c -o video/fb/video_fb_module-fbfill.o `test -f 'video/fb/fbfill.c' || echo '$(srcdir)/'`video/fb/fbfill.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-fbfill.Tpo video/fb/$(DEPDIR)/video_fb_module-fbfill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbfill.c' object='video/fb/video_fb_module-fbfill.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-fbfill.o `test -f 'video/fb/fbfill.c' || echo '$(srcdir)/'`video/fb/fbfill.c + +video/fb/video_fb_module-fbfill.obj: video/fb/fbfill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-fbfill.obj -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-fbfill.Tpo -c -o video/fb/video_fb_module-fbfill.obj `if test -f 'video/fb/fbfill.c'; then $(CYGPATH_W) 'video/fb/fbfill.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbfill.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-fbfill.Tpo video/fb/$(DEPDIR)/video_fb_module-fbfill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbfill.c' object='video/fb/video_fb_module-fbfill.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-fbfill.obj `if test -f 'video/fb/fbfill.c'; then $(CYGPATH_W) 'video/fb/fbfill.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbfill.c'; fi` + +video/fb/video_fb_module-fbutil.o: video/fb/fbutil.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-fbutil.o -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-fbutil.Tpo -c -o video/fb/video_fb_module-fbutil.o `test -f 'video/fb/fbutil.c' || echo '$(srcdir)/'`video/fb/fbutil.c +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-fbutil.Tpo video/fb/$(DEPDIR)/video_fb_module-fbutil.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbutil.c' object='video/fb/video_fb_module-fbutil.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-fbutil.o `test -f 'video/fb/fbutil.c' || echo '$(srcdir)/'`video/fb/fbutil.c + +video/fb/video_fb_module-fbutil.obj: video/fb/fbutil.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -MT video/fb/video_fb_module-fbutil.obj -MD -MP -MF video/fb/$(DEPDIR)/video_fb_module-fbutil.Tpo -c -o video/fb/video_fb_module-fbutil.obj `if test -f 'video/fb/fbutil.c'; then $(CYGPATH_W) 'video/fb/fbutil.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbutil.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) video/fb/$(DEPDIR)/video_fb_module-fbutil.Tpo video/fb/$(DEPDIR)/video_fb_module-fbutil.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='video/fb/fbutil.c' object='video/fb/video_fb_module-fbutil.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $(video_fb_module_CFLAGS) $(CFLAGS) -c -o video/fb/video_fb_module-fbutil.obj `if test -f 'video/fb/fbutil.c'; then $(CYGPATH_W) 'video/fb/fbutil.c'; else $(CYGPATH_W) '$(srcdir)/video/fb/fbutil.c'; fi` + +commands/videoinfo_module-videoinfo.o: commands/videoinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $(videoinfo_module_CFLAGS) $(CFLAGS) -MT commands/videoinfo_module-videoinfo.o -MD -MP -MF commands/$(DEPDIR)/videoinfo_module-videoinfo.Tpo -c -o commands/videoinfo_module-videoinfo.o `test -f 'commands/videoinfo.c' || echo '$(srcdir)/'`commands/videoinfo.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/videoinfo_module-videoinfo.Tpo commands/$(DEPDIR)/videoinfo_module-videoinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/videoinfo.c' object='commands/videoinfo_module-videoinfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $(videoinfo_module_CFLAGS) $(CFLAGS) -c -o commands/videoinfo_module-videoinfo.o `test -f 'commands/videoinfo.c' || echo '$(srcdir)/'`commands/videoinfo.c + +commands/videoinfo_module-videoinfo.obj: commands/videoinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $(videoinfo_module_CFLAGS) $(CFLAGS) -MT commands/videoinfo_module-videoinfo.obj -MD -MP -MF commands/$(DEPDIR)/videoinfo_module-videoinfo.Tpo -c -o commands/videoinfo_module-videoinfo.obj `if test -f 'commands/videoinfo.c'; then $(CYGPATH_W) 'commands/videoinfo.c'; else $(CYGPATH_W) '$(srcdir)/commands/videoinfo.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/videoinfo_module-videoinfo.Tpo commands/$(DEPDIR)/videoinfo_module-videoinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/videoinfo.c' object='commands/videoinfo_module-videoinfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $(videoinfo_module_CFLAGS) $(CFLAGS) -c -o commands/videoinfo_module-videoinfo.obj `if test -f 'commands/videoinfo.c'; then $(CYGPATH_W) 'commands/videoinfo.c'; else $(CYGPATH_W) '$(srcdir)/commands/videoinfo.c'; fi` + +commands/videotest_module-videotest.o: commands/videotest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $(videotest_module_CFLAGS) $(CFLAGS) -MT commands/videotest_module-videotest.o -MD -MP -MF commands/$(DEPDIR)/videotest_module-videotest.Tpo -c -o commands/videotest_module-videotest.o `test -f 'commands/videotest.c' || echo '$(srcdir)/'`commands/videotest.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/videotest_module-videotest.Tpo commands/$(DEPDIR)/videotest_module-videotest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/videotest.c' object='commands/videotest_module-videotest.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $(videotest_module_CFLAGS) $(CFLAGS) -c -o commands/videotest_module-videotest.o `test -f 'commands/videotest.c' || echo '$(srcdir)/'`commands/videotest.c + +commands/videotest_module-videotest.obj: commands/videotest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $(videotest_module_CFLAGS) $(CFLAGS) -MT commands/videotest_module-videotest.obj -MD -MP -MF commands/$(DEPDIR)/videotest_module-videotest.Tpo -c -o commands/videotest_module-videotest.obj `if test -f 'commands/videotest.c'; then $(CYGPATH_W) 'commands/videotest.c'; else $(CYGPATH_W) '$(srcdir)/commands/videotest.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/videotest_module-videotest.Tpo commands/$(DEPDIR)/videotest_module-videotest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/videotest.c' object='commands/videotest_module-videotest.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $(videotest_module_CFLAGS) $(CFLAGS) -c -o commands/videotest_module-videotest.obj `if test -f 'commands/videotest.c'; then $(CYGPATH_W) 'commands/videotest.c'; else $(CYGPATH_W) '$(srcdir)/commands/videotest.c'; fi` + +fs/xfs_module-xfs.o: fs/xfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $(xfs_module_CFLAGS) $(CFLAGS) -MT fs/xfs_module-xfs.o -MD -MP -MF fs/$(DEPDIR)/xfs_module-xfs.Tpo -c -o fs/xfs_module-xfs.o `test -f 'fs/xfs.c' || echo '$(srcdir)/'`fs/xfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/xfs_module-xfs.Tpo fs/$(DEPDIR)/xfs_module-xfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/xfs.c' object='fs/xfs_module-xfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $(xfs_module_CFLAGS) $(CFLAGS) -c -o fs/xfs_module-xfs.o `test -f 'fs/xfs.c' || echo '$(srcdir)/'`fs/xfs.c + +fs/xfs_module-xfs.obj: fs/xfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $(xfs_module_CFLAGS) $(CFLAGS) -MT fs/xfs_module-xfs.obj -MD -MP -MF fs/$(DEPDIR)/xfs_module-xfs.Tpo -c -o fs/xfs_module-xfs.obj `if test -f 'fs/xfs.c'; then $(CYGPATH_W) 'fs/xfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/xfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/$(DEPDIR)/xfs_module-xfs.Tpo fs/$(DEPDIR)/xfs_module-xfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/xfs.c' object='fs/xfs_module-xfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $(xfs_module_CFLAGS) $(CFLAGS) -c -o fs/xfs_module-xfs.obj `if test -f 'fs/xfs.c'; then $(CYGPATH_W) 'fs/xfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/xfs.c'; fi` + +loader/xnu_module-xnu_resume.o: loader/xnu_resume.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-xnu_resume.o -MD -MP -MF loader/$(DEPDIR)/xnu_module-xnu_resume.Tpo -c -o loader/xnu_module-xnu_resume.o `test -f 'loader/xnu_resume.c' || echo '$(srcdir)/'`loader/xnu_resume.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-xnu_resume.Tpo loader/$(DEPDIR)/xnu_module-xnu_resume.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/xnu_resume.c' object='loader/xnu_module-xnu_resume.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-xnu_resume.o `test -f 'loader/xnu_resume.c' || echo '$(srcdir)/'`loader/xnu_resume.c + +loader/xnu_module-xnu_resume.obj: loader/xnu_resume.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-xnu_resume.obj -MD -MP -MF loader/$(DEPDIR)/xnu_module-xnu_resume.Tpo -c -o loader/xnu_module-xnu_resume.obj `if test -f 'loader/xnu_resume.c'; then $(CYGPATH_W) 'loader/xnu_resume.c'; else $(CYGPATH_W) '$(srcdir)/loader/xnu_resume.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-xnu_resume.Tpo loader/$(DEPDIR)/xnu_module-xnu_resume.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/xnu_resume.c' object='loader/xnu_module-xnu_resume.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-xnu_resume.obj `if test -f 'loader/xnu_resume.c'; then $(CYGPATH_W) 'loader/xnu_resume.c'; else $(CYGPATH_W) '$(srcdir)/loader/xnu_resume.c'; fi` + +loader/i386/xnu_module-xnu.o: loader/i386/xnu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/i386/xnu_module-xnu.o -MD -MP -MF loader/i386/$(DEPDIR)/xnu_module-xnu.Tpo -c -o loader/i386/xnu_module-xnu.o `test -f 'loader/i386/xnu.c' || echo '$(srcdir)/'`loader/i386/xnu.c +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/xnu_module-xnu.Tpo loader/i386/$(DEPDIR)/xnu_module-xnu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/xnu.c' object='loader/i386/xnu_module-xnu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/i386/xnu_module-xnu.o `test -f 'loader/i386/xnu.c' || echo '$(srcdir)/'`loader/i386/xnu.c + +loader/i386/xnu_module-xnu.obj: loader/i386/xnu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/i386/xnu_module-xnu.obj -MD -MP -MF loader/i386/$(DEPDIR)/xnu_module-xnu.Tpo -c -o loader/i386/xnu_module-xnu.obj `if test -f 'loader/i386/xnu.c'; then $(CYGPATH_W) 'loader/i386/xnu.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/xnu.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/i386/$(DEPDIR)/xnu_module-xnu.Tpo loader/i386/$(DEPDIR)/xnu_module-xnu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/i386/xnu.c' object='loader/i386/xnu_module-xnu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/i386/xnu_module-xnu.obj `if test -f 'loader/i386/xnu.c'; then $(CYGPATH_W) 'loader/i386/xnu.c'; else $(CYGPATH_W) '$(srcdir)/loader/i386/xnu.c'; fi` + +loader/xnu_module-macho32.o: loader/macho32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-macho32.o -MD -MP -MF loader/$(DEPDIR)/xnu_module-macho32.Tpo -c -o loader/xnu_module-macho32.o `test -f 'loader/macho32.c' || echo '$(srcdir)/'`loader/macho32.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-macho32.Tpo loader/$(DEPDIR)/xnu_module-macho32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/macho32.c' object='loader/xnu_module-macho32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-macho32.o `test -f 'loader/macho32.c' || echo '$(srcdir)/'`loader/macho32.c + +loader/xnu_module-macho32.obj: loader/macho32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-macho32.obj -MD -MP -MF loader/$(DEPDIR)/xnu_module-macho32.Tpo -c -o loader/xnu_module-macho32.obj `if test -f 'loader/macho32.c'; then $(CYGPATH_W) 'loader/macho32.c'; else $(CYGPATH_W) '$(srcdir)/loader/macho32.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-macho32.Tpo loader/$(DEPDIR)/xnu_module-macho32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/macho32.c' object='loader/xnu_module-macho32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-macho32.obj `if test -f 'loader/macho32.c'; then $(CYGPATH_W) 'loader/macho32.c'; else $(CYGPATH_W) '$(srcdir)/loader/macho32.c'; fi` + +loader/xnu_module-macho64.o: loader/macho64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-macho64.o -MD -MP -MF loader/$(DEPDIR)/xnu_module-macho64.Tpo -c -o loader/xnu_module-macho64.o `test -f 'loader/macho64.c' || echo '$(srcdir)/'`loader/macho64.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-macho64.Tpo loader/$(DEPDIR)/xnu_module-macho64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/macho64.c' object='loader/xnu_module-macho64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-macho64.o `test -f 'loader/macho64.c' || echo '$(srcdir)/'`loader/macho64.c + +loader/xnu_module-macho64.obj: loader/macho64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-macho64.obj -MD -MP -MF loader/$(DEPDIR)/xnu_module-macho64.Tpo -c -o loader/xnu_module-macho64.obj `if test -f 'loader/macho64.c'; then $(CYGPATH_W) 'loader/macho64.c'; else $(CYGPATH_W) '$(srcdir)/loader/macho64.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-macho64.Tpo loader/$(DEPDIR)/xnu_module-macho64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/macho64.c' object='loader/xnu_module-macho64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-macho64.obj `if test -f 'loader/macho64.c'; then $(CYGPATH_W) 'loader/macho64.c'; else $(CYGPATH_W) '$(srcdir)/loader/macho64.c'; fi` + +loader/xnu_module-macho.o: loader/macho.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-macho.o -MD -MP -MF loader/$(DEPDIR)/xnu_module-macho.Tpo -c -o loader/xnu_module-macho.o `test -f 'loader/macho.c' || echo '$(srcdir)/'`loader/macho.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-macho.Tpo loader/$(DEPDIR)/xnu_module-macho.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/macho.c' object='loader/xnu_module-macho.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-macho.o `test -f 'loader/macho.c' || echo '$(srcdir)/'`loader/macho.c + +loader/xnu_module-macho.obj: loader/macho.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-macho.obj -MD -MP -MF loader/$(DEPDIR)/xnu_module-macho.Tpo -c -o loader/xnu_module-macho.obj `if test -f 'loader/macho.c'; then $(CYGPATH_W) 'loader/macho.c'; else $(CYGPATH_W) '$(srcdir)/loader/macho.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-macho.Tpo loader/$(DEPDIR)/xnu_module-macho.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/macho.c' object='loader/xnu_module-macho.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-macho.obj `if test -f 'loader/macho.c'; then $(CYGPATH_W) 'loader/macho.c'; else $(CYGPATH_W) '$(srcdir)/loader/macho.c'; fi` + +loader/xnu_module-xnu.o: loader/xnu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-xnu.o -MD -MP -MF loader/$(DEPDIR)/xnu_module-xnu.Tpo -c -o loader/xnu_module-xnu.o `test -f 'loader/xnu.c' || echo '$(srcdir)/'`loader/xnu.c +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-xnu.Tpo loader/$(DEPDIR)/xnu_module-xnu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/xnu.c' object='loader/xnu_module-xnu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-xnu.o `test -f 'loader/xnu.c' || echo '$(srcdir)/'`loader/xnu.c + +loader/xnu_module-xnu.obj: loader/xnu.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -MT loader/xnu_module-xnu.obj -MD -MP -MF loader/$(DEPDIR)/xnu_module-xnu.Tpo -c -o loader/xnu_module-xnu.obj `if test -f 'loader/xnu.c'; then $(CYGPATH_W) 'loader/xnu.c'; else $(CYGPATH_W) '$(srcdir)/loader/xnu.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) loader/$(DEPDIR)/xnu_module-xnu.Tpo loader/$(DEPDIR)/xnu_module-xnu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='loader/xnu.c' object='loader/xnu_module-xnu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $(xnu_module_CFLAGS) $(CFLAGS) -c -o loader/xnu_module-xnu.obj `if test -f 'loader/xnu.c'; then $(CYGPATH_W) 'loader/xnu.c'; else $(CYGPATH_W) '$(srcdir)/loader/xnu.c'; fi` + +commands/xnu_uuid_module-xnu_uuid.o: commands/xnu_uuid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $(xnu_uuid_module_CFLAGS) $(CFLAGS) -MT commands/xnu_uuid_module-xnu_uuid.o -MD -MP -MF commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Tpo -c -o commands/xnu_uuid_module-xnu_uuid.o `test -f 'commands/xnu_uuid.c' || echo '$(srcdir)/'`commands/xnu_uuid.c +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Tpo commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/xnu_uuid.c' object='commands/xnu_uuid_module-xnu_uuid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $(xnu_uuid_module_CFLAGS) $(CFLAGS) -c -o commands/xnu_uuid_module-xnu_uuid.o `test -f 'commands/xnu_uuid.c' || echo '$(srcdir)/'`commands/xnu_uuid.c + +commands/xnu_uuid_module-xnu_uuid.obj: commands/xnu_uuid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $(xnu_uuid_module_CFLAGS) $(CFLAGS) -MT commands/xnu_uuid_module-xnu_uuid.obj -MD -MP -MF commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Tpo -c -o commands/xnu_uuid_module-xnu_uuid.obj `if test -f 'commands/xnu_uuid.c'; then $(CYGPATH_W) 'commands/xnu_uuid.c'; else $(CYGPATH_W) '$(srcdir)/commands/xnu_uuid.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Tpo commands/$(DEPDIR)/xnu_uuid_module-xnu_uuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='commands/xnu_uuid.c' object='commands/xnu_uuid_module-xnu_uuid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $(xnu_uuid_module_CFLAGS) $(CFLAGS) -c -o commands/xnu_uuid_module-xnu_uuid.obj `if test -f 'commands/xnu_uuid.c'; then $(CYGPATH_W) 'commands/xnu_uuid.c'; else $(CYGPATH_W) '$(srcdir)/commands/xnu_uuid.c'; fi` + +boot/decompressor/xz_decompress_image-minilib.o: boot/decompressor/minilib.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT boot/decompressor/xz_decompress_image-minilib.o -MD -MP -MF boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Tpo -c -o boot/decompressor/xz_decompress_image-minilib.o `test -f 'boot/decompressor/minilib.c' || echo '$(srcdir)/'`boot/decompressor/minilib.c +@am__fastdepCC_TRUE@ $(am__mv) boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Tpo boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='boot/decompressor/minilib.c' object='boot/decompressor/xz_decompress_image-minilib.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o boot/decompressor/xz_decompress_image-minilib.o `test -f 'boot/decompressor/minilib.c' || echo '$(srcdir)/'`boot/decompressor/minilib.c + +boot/decompressor/xz_decompress_image-minilib.obj: boot/decompressor/minilib.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT boot/decompressor/xz_decompress_image-minilib.obj -MD -MP -MF boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Tpo -c -o boot/decompressor/xz_decompress_image-minilib.obj `if test -f 'boot/decompressor/minilib.c'; then $(CYGPATH_W) 'boot/decompressor/minilib.c'; else $(CYGPATH_W) '$(srcdir)/boot/decompressor/minilib.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Tpo boot/decompressor/$(DEPDIR)/xz_decompress_image-minilib.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='boot/decompressor/minilib.c' object='boot/decompressor/xz_decompress_image-minilib.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o boot/decompressor/xz_decompress_image-minilib.obj `if test -f 'boot/decompressor/minilib.c'; then $(CYGPATH_W) 'boot/decompressor/minilib.c'; else $(CYGPATH_W) '$(srcdir)/boot/decompressor/minilib.c'; fi` + +boot/decompressor/xz_decompress_image-xz.o: boot/decompressor/xz.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT boot/decompressor/xz_decompress_image-xz.o -MD -MP -MF boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Tpo -c -o boot/decompressor/xz_decompress_image-xz.o `test -f 'boot/decompressor/xz.c' || echo '$(srcdir)/'`boot/decompressor/xz.c +@am__fastdepCC_TRUE@ $(am__mv) boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Tpo boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='boot/decompressor/xz.c' object='boot/decompressor/xz_decompress_image-xz.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o boot/decompressor/xz_decompress_image-xz.o `test -f 'boot/decompressor/xz.c' || echo '$(srcdir)/'`boot/decompressor/xz.c + +boot/decompressor/xz_decompress_image-xz.obj: boot/decompressor/xz.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT boot/decompressor/xz_decompress_image-xz.obj -MD -MP -MF boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Tpo -c -o boot/decompressor/xz_decompress_image-xz.obj `if test -f 'boot/decompressor/xz.c'; then $(CYGPATH_W) 'boot/decompressor/xz.c'; else $(CYGPATH_W) '$(srcdir)/boot/decompressor/xz.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Tpo boot/decompressor/$(DEPDIR)/xz_decompress_image-xz.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='boot/decompressor/xz.c' object='boot/decompressor/xz_decompress_image-xz.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o boot/decompressor/xz_decompress_image-xz.obj `if test -f 'boot/decompressor/xz.c'; then $(CYGPATH_W) 'boot/decompressor/xz.c'; else $(CYGPATH_W) '$(srcdir)/boot/decompressor/xz.c'; fi` + +lib/xzembed/xz_decompress_image-xz_dec_bcj.o: lib/xzembed/xz_dec_bcj.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT lib/xzembed/xz_decompress_image-xz_dec_bcj.o -MD -MP -MF lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Tpo -c -o lib/xzembed/xz_decompress_image-xz_dec_bcj.o `test -f 'lib/xzembed/xz_dec_bcj.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_bcj.c +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Tpo lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_bcj.c' object='lib/xzembed/xz_decompress_image-xz_dec_bcj.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xz_decompress_image-xz_dec_bcj.o `test -f 'lib/xzembed/xz_dec_bcj.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_bcj.c + +lib/xzembed/xz_decompress_image-xz_dec_bcj.obj: lib/xzembed/xz_dec_bcj.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT lib/xzembed/xz_decompress_image-xz_dec_bcj.obj -MD -MP -MF lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Tpo -c -o lib/xzembed/xz_decompress_image-xz_dec_bcj.obj `if test -f 'lib/xzembed/xz_dec_bcj.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_bcj.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_bcj.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Tpo lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_bcj.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_bcj.c' object='lib/xzembed/xz_decompress_image-xz_dec_bcj.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xz_decompress_image-xz_dec_bcj.obj `if test -f 'lib/xzembed/xz_dec_bcj.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_bcj.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_bcj.c'; fi` + +lib/xzembed/xz_decompress_image-xz_dec_lzma2.o: lib/xzembed/xz_dec_lzma2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT lib/xzembed/xz_decompress_image-xz_dec_lzma2.o -MD -MP -MF lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Tpo -c -o lib/xzembed/xz_decompress_image-xz_dec_lzma2.o `test -f 'lib/xzembed/xz_dec_lzma2.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_lzma2.c +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Tpo lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_lzma2.c' object='lib/xzembed/xz_decompress_image-xz_dec_lzma2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xz_decompress_image-xz_dec_lzma2.o `test -f 'lib/xzembed/xz_dec_lzma2.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_lzma2.c + +lib/xzembed/xz_decompress_image-xz_dec_lzma2.obj: lib/xzembed/xz_dec_lzma2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT lib/xzembed/xz_decompress_image-xz_dec_lzma2.obj -MD -MP -MF lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Tpo -c -o lib/xzembed/xz_decompress_image-xz_dec_lzma2.obj `if test -f 'lib/xzembed/xz_dec_lzma2.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_lzma2.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_lzma2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Tpo lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_lzma2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_lzma2.c' object='lib/xzembed/xz_decompress_image-xz_dec_lzma2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xz_decompress_image-xz_dec_lzma2.obj `if test -f 'lib/xzembed/xz_dec_lzma2.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_lzma2.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_lzma2.c'; fi` + +lib/xzembed/xz_decompress_image-xz_dec_stream.o: lib/xzembed/xz_dec_stream.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT lib/xzembed/xz_decompress_image-xz_dec_stream.o -MD -MP -MF lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Tpo -c -o lib/xzembed/xz_decompress_image-xz_dec_stream.o `test -f 'lib/xzembed/xz_dec_stream.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_stream.c +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Tpo lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_stream.c' object='lib/xzembed/xz_decompress_image-xz_dec_stream.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xz_decompress_image-xz_dec_stream.o `test -f 'lib/xzembed/xz_dec_stream.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_stream.c + +lib/xzembed/xz_decompress_image-xz_dec_stream.obj: lib/xzembed/xz_dec_stream.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -MT lib/xzembed/xz_decompress_image-xz_dec_stream.obj -MD -MP -MF lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Tpo -c -o lib/xzembed/xz_decompress_image-xz_dec_stream.obj `if test -f 'lib/xzembed/xz_dec_stream.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_stream.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Tpo lib/xzembed/$(DEPDIR)/xz_decompress_image-xz_dec_stream.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_stream.c' object='lib/xzembed/xz_decompress_image-xz_dec_stream.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_decompress_image_CPPFLAGS) $(CPPFLAGS) $(xz_decompress_image_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xz_decompress_image-xz_dec_stream.obj `if test -f 'lib/xzembed/xz_dec_stream.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_stream.c'; fi` + +io/xzio_module-xzio.o: io/xzio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT io/xzio_module-xzio.o -MD -MP -MF io/$(DEPDIR)/xzio_module-xzio.Tpo -c -o io/xzio_module-xzio.o `test -f 'io/xzio.c' || echo '$(srcdir)/'`io/xzio.c +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/xzio_module-xzio.Tpo io/$(DEPDIR)/xzio_module-xzio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/xzio.c' object='io/xzio_module-xzio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o io/xzio_module-xzio.o `test -f 'io/xzio.c' || echo '$(srcdir)/'`io/xzio.c + +io/xzio_module-xzio.obj: io/xzio.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT io/xzio_module-xzio.obj -MD -MP -MF io/$(DEPDIR)/xzio_module-xzio.Tpo -c -o io/xzio_module-xzio.obj `if test -f 'io/xzio.c'; then $(CYGPATH_W) 'io/xzio.c'; else $(CYGPATH_W) '$(srcdir)/io/xzio.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) io/$(DEPDIR)/xzio_module-xzio.Tpo io/$(DEPDIR)/xzio_module-xzio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='io/xzio.c' object='io/xzio_module-xzio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o io/xzio_module-xzio.obj `if test -f 'io/xzio.c'; then $(CYGPATH_W) 'io/xzio.c'; else $(CYGPATH_W) '$(srcdir)/io/xzio.c'; fi` + +lib/xzembed/xzio_module-xz_dec_bcj.o: lib/xzembed/xz_dec_bcj.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT lib/xzembed/xzio_module-xz_dec_bcj.o -MD -MP -MF lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Tpo -c -o lib/xzembed/xzio_module-xz_dec_bcj.o `test -f 'lib/xzembed/xz_dec_bcj.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_bcj.c +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Tpo lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_bcj.c' object='lib/xzembed/xzio_module-xz_dec_bcj.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xzio_module-xz_dec_bcj.o `test -f 'lib/xzembed/xz_dec_bcj.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_bcj.c + +lib/xzembed/xzio_module-xz_dec_bcj.obj: lib/xzembed/xz_dec_bcj.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT lib/xzembed/xzio_module-xz_dec_bcj.obj -MD -MP -MF lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Tpo -c -o lib/xzembed/xzio_module-xz_dec_bcj.obj `if test -f 'lib/xzembed/xz_dec_bcj.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_bcj.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_bcj.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Tpo lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_bcj.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_bcj.c' object='lib/xzembed/xzio_module-xz_dec_bcj.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xzio_module-xz_dec_bcj.obj `if test -f 'lib/xzembed/xz_dec_bcj.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_bcj.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_bcj.c'; fi` + +lib/xzembed/xzio_module-xz_dec_lzma2.o: lib/xzembed/xz_dec_lzma2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT lib/xzembed/xzio_module-xz_dec_lzma2.o -MD -MP -MF lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Tpo -c -o lib/xzembed/xzio_module-xz_dec_lzma2.o `test -f 'lib/xzembed/xz_dec_lzma2.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_lzma2.c +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Tpo lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_lzma2.c' object='lib/xzembed/xzio_module-xz_dec_lzma2.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xzio_module-xz_dec_lzma2.o `test -f 'lib/xzembed/xz_dec_lzma2.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_lzma2.c + +lib/xzembed/xzio_module-xz_dec_lzma2.obj: lib/xzembed/xz_dec_lzma2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT lib/xzembed/xzio_module-xz_dec_lzma2.obj -MD -MP -MF lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Tpo -c -o lib/xzembed/xzio_module-xz_dec_lzma2.obj `if test -f 'lib/xzembed/xz_dec_lzma2.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_lzma2.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_lzma2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Tpo lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_lzma2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_lzma2.c' object='lib/xzembed/xzio_module-xz_dec_lzma2.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xzio_module-xz_dec_lzma2.obj `if test -f 'lib/xzembed/xz_dec_lzma2.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_lzma2.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_lzma2.c'; fi` + +lib/xzembed/xzio_module-xz_dec_stream.o: lib/xzembed/xz_dec_stream.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT lib/xzembed/xzio_module-xz_dec_stream.o -MD -MP -MF lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Tpo -c -o lib/xzembed/xzio_module-xz_dec_stream.o `test -f 'lib/xzembed/xz_dec_stream.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_stream.c +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Tpo lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_stream.c' object='lib/xzembed/xzio_module-xz_dec_stream.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xzio_module-xz_dec_stream.o `test -f 'lib/xzembed/xz_dec_stream.c' || echo '$(srcdir)/'`lib/xzembed/xz_dec_stream.c + +lib/xzembed/xzio_module-xz_dec_stream.obj: lib/xzembed/xz_dec_stream.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -MT lib/xzembed/xzio_module-xz_dec_stream.obj -MD -MP -MF lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Tpo -c -o lib/xzembed/xzio_module-xz_dec_stream.obj `if test -f 'lib/xzembed/xz_dec_stream.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_stream.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Tpo lib/xzembed/$(DEPDIR)/xzio_module-xz_dec_stream.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xzembed/xz_dec_stream.c' object='lib/xzembed/xzio_module-xz_dec_stream.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $(xzio_module_CFLAGS) $(CFLAGS) -c -o lib/xzembed/xzio_module-xz_dec_stream.obj `if test -f 'lib/xzembed/xz_dec_stream.c'; then $(CYGPATH_W) 'lib/xzembed/xz_dec_stream.c'; else $(CYGPATH_W) '$(srcdir)/lib/xzembed/xz_dec_stream.c'; fi` + +fs/zfs/zfs_module-zfs.o: fs/zfs/zfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs.o -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs.Tpo -c -o fs/zfs/zfs_module-zfs.o `test -f 'fs/zfs/zfs.c' || echo '$(srcdir)/'`fs/zfs/zfs.c +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs.c' object='fs/zfs/zfs_module-zfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs.o `test -f 'fs/zfs/zfs.c' || echo '$(srcdir)/'`fs/zfs/zfs.c + +fs/zfs/zfs_module-zfs.obj: fs/zfs/zfs.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs.obj -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs.Tpo -c -o fs/zfs/zfs_module-zfs.obj `if test -f 'fs/zfs/zfs.c'; then $(CYGPATH_W) 'fs/zfs/zfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs.c' object='fs/zfs/zfs_module-zfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs.obj `if test -f 'fs/zfs/zfs.c'; then $(CYGPATH_W) 'fs/zfs/zfs.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs.c'; fi` + +fs/zfs/zfs_module-zfs_lzjb.o: fs/zfs/zfs_lzjb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs_lzjb.o -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Tpo -c -o fs/zfs/zfs_module-zfs_lzjb.o `test -f 'fs/zfs/zfs_lzjb.c' || echo '$(srcdir)/'`fs/zfs/zfs_lzjb.c +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs_lzjb.c' object='fs/zfs/zfs_module-zfs_lzjb.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs_lzjb.o `test -f 'fs/zfs/zfs_lzjb.c' || echo '$(srcdir)/'`fs/zfs/zfs_lzjb.c + +fs/zfs/zfs_module-zfs_lzjb.obj: fs/zfs/zfs_lzjb.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs_lzjb.obj -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Tpo -c -o fs/zfs/zfs_module-zfs_lzjb.obj `if test -f 'fs/zfs/zfs_lzjb.c'; then $(CYGPATH_W) 'fs/zfs/zfs_lzjb.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs_lzjb.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs_lzjb.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs_lzjb.c' object='fs/zfs/zfs_module-zfs_lzjb.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs_lzjb.obj `if test -f 'fs/zfs/zfs_lzjb.c'; then $(CYGPATH_W) 'fs/zfs/zfs_lzjb.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs_lzjb.c'; fi` + +fs/zfs/zfs_module-zfs_sha256.o: fs/zfs/zfs_sha256.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs_sha256.o -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Tpo -c -o fs/zfs/zfs_module-zfs_sha256.o `test -f 'fs/zfs/zfs_sha256.c' || echo '$(srcdir)/'`fs/zfs/zfs_sha256.c +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs_sha256.c' object='fs/zfs/zfs_module-zfs_sha256.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs_sha256.o `test -f 'fs/zfs/zfs_sha256.c' || echo '$(srcdir)/'`fs/zfs/zfs_sha256.c + +fs/zfs/zfs_module-zfs_sha256.obj: fs/zfs/zfs_sha256.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs_sha256.obj -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Tpo -c -o fs/zfs/zfs_module-zfs_sha256.obj `if test -f 'fs/zfs/zfs_sha256.c'; then $(CYGPATH_W) 'fs/zfs/zfs_sha256.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs_sha256.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs_sha256.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs_sha256.c' object='fs/zfs/zfs_module-zfs_sha256.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs_sha256.obj `if test -f 'fs/zfs/zfs_sha256.c'; then $(CYGPATH_W) 'fs/zfs/zfs_sha256.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs_sha256.c'; fi` + +fs/zfs/zfs_module-zfs_fletcher.o: fs/zfs/zfs_fletcher.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs_fletcher.o -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Tpo -c -o fs/zfs/zfs_module-zfs_fletcher.o `test -f 'fs/zfs/zfs_fletcher.c' || echo '$(srcdir)/'`fs/zfs/zfs_fletcher.c +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs_fletcher.c' object='fs/zfs/zfs_module-zfs_fletcher.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs_fletcher.o `test -f 'fs/zfs/zfs_fletcher.c' || echo '$(srcdir)/'`fs/zfs/zfs_fletcher.c + +fs/zfs/zfs_module-zfs_fletcher.obj: fs/zfs/zfs_fletcher.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfs_module-zfs_fletcher.obj -MD -MP -MF fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Tpo -c -o fs/zfs/zfs_module-zfs_fletcher.obj `if test -f 'fs/zfs/zfs_fletcher.c'; then $(CYGPATH_W) 'fs/zfs/zfs_fletcher.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs_fletcher.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Tpo fs/zfs/$(DEPDIR)/zfs_module-zfs_fletcher.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfs_fletcher.c' object='fs/zfs/zfs_module-zfs_fletcher.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $(zfs_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfs_module-zfs_fletcher.obj `if test -f 'fs/zfs/zfs_fletcher.c'; then $(CYGPATH_W) 'fs/zfs/zfs_fletcher.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfs_fletcher.c'; fi` + +fs/zfs/zfsinfo_module-zfsinfo.o: fs/zfs/zfsinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $(zfsinfo_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfsinfo_module-zfsinfo.o -MD -MP -MF fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Tpo -c -o fs/zfs/zfsinfo_module-zfsinfo.o `test -f 'fs/zfs/zfsinfo.c' || echo '$(srcdir)/'`fs/zfs/zfsinfo.c +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Tpo fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfsinfo.c' object='fs/zfs/zfsinfo_module-zfsinfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $(zfsinfo_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfsinfo_module-zfsinfo.o `test -f 'fs/zfs/zfsinfo.c' || echo '$(srcdir)/'`fs/zfs/zfsinfo.c + +fs/zfs/zfsinfo_module-zfsinfo.obj: fs/zfs/zfsinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $(zfsinfo_module_CFLAGS) $(CFLAGS) -MT fs/zfs/zfsinfo_module-zfsinfo.obj -MD -MP -MF fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Tpo -c -o fs/zfs/zfsinfo_module-zfsinfo.obj `if test -f 'fs/zfs/zfsinfo.c'; then $(CYGPATH_W) 'fs/zfs/zfsinfo.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfsinfo.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Tpo fs/zfs/$(DEPDIR)/zfsinfo_module-zfsinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fs/zfs/zfsinfo.c' object='fs/zfs/zfsinfo_module-zfsinfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $(zfsinfo_module_CFLAGS) $(CFLAGS) -c -o fs/zfs/zfsinfo_module-zfsinfo.obj `if test -f 'fs/zfs/zfsinfo.c'; then $(CYGPATH_W) 'fs/zfs/zfsinfo.c'; else $(CYGPATH_W) '$(srcdir)/fs/zfs/zfsinfo.c'; fi` +install-man1: $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" + @list=''; test -n "$(man1dir)" || exit 0; \ + { for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } +install-grubconfDATA: $(grubconf_DATA) + @$(NORMAL_INSTALL) + test -z "$(grubconfdir)" || $(MKDIR_P) "$(DESTDIR)$(grubconfdir)" + @list='$(grubconf_DATA)'; test -n "$(grubconfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(grubconfdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(grubconfdir)" || exit $$?; \ + done + +uninstall-grubconfDATA: + @$(NORMAL_UNINSTALL) + @list='$(grubconf_DATA)'; test -n "$(grubconfdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(grubconfdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(grubconfdir)" && rm -f $$files +install-pkglibDATA: $(pkglib_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkglibdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkglibdir)" || exit $$?; \ + done + +uninstall-pkglibDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files +install-platformDATA: $(platform_DATA) + @$(NORMAL_INSTALL) + test -z "$(platformdir)" || $(MKDIR_P) "$(DESTDIR)$(platformdir)" + @list='$(platform_DATA)'; test -n "$(platformdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(platformdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(platformdir)" || exit $$?; \ + done + +uninstall-platformDATA: + @$(NORMAL_UNINSTALL) + @list='$(platform_DATA)'; test -n "$(platformdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(platformdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(platformdir)" && rm -f $$files + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + echo "$$grn$$dashes"; \ + else \ + echo "$$red$$dashes"; \ + fi; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes$$std"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @list='$(MANS)'; if test -n "$$list"; then \ + list=`for p in $$list; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ + if test -n "$$list" && \ + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ + echo " typically \`make maintainer-clean' will remove them" >&2; \ + exit 1; \ + else :; fi; \ + else :; fi + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(grubconfdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(grubconfdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(platformdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f boot/decompressor/$(DEPDIR)/$(am__dirstamp) + -rm -f boot/decompressor/$(am__dirstamp) + -rm -f boot/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f boot/i386/pc/$(am__dirstamp) + -rm -f boot/i386/qemu/$(DEPDIR)/$(am__dirstamp) + -rm -f boot/i386/qemu/$(am__dirstamp) + -rm -f boot/mips/$(DEPDIR)/$(am__dirstamp) + -rm -f boot/mips/$(am__dirstamp) + -rm -f boot/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) + -rm -f boot/mips/yeeloong/$(am__dirstamp) + -rm -f boot/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f boot/sparc64/ieee1275/$(am__dirstamp) + -rm -f bus/$(DEPDIR)/$(am__dirstamp) + -rm -f bus/$(am__dirstamp) + -rm -f bus/emu/$(DEPDIR)/$(am__dirstamp) + -rm -f bus/emu/$(am__dirstamp) + -rm -f bus/usb/$(DEPDIR)/$(am__dirstamp) + -rm -f bus/usb/$(am__dirstamp) + -rm -f bus/usb/emu/$(DEPDIR)/$(am__dirstamp) + -rm -f bus/usb/emu/$(am__dirstamp) + -rm -f bus/usb/serial/$(DEPDIR)/$(am__dirstamp) + -rm -f bus/usb/serial/$(am__dirstamp) + -rm -f commands/$(DEPDIR)/$(am__dirstamp) + -rm -f commands/$(am__dirstamp) + -rm -f commands/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f commands/efi/$(am__dirstamp) + -rm -f commands/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f commands/i386/$(am__dirstamp) + -rm -f commands/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f commands/i386/pc/$(am__dirstamp) + -rm -f commands/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f commands/ieee1275/$(am__dirstamp) + -rm -f commands/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) + -rm -f commands/mips/yeeloong/$(am__dirstamp) + -rm -f disk/$(DEPDIR)/$(am__dirstamp) + -rm -f disk/$(am__dirstamp) + -rm -f disk/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f disk/efi/$(am__dirstamp) + -rm -f disk/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f disk/i386/pc/$(am__dirstamp) + -rm -f disk/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f disk/ieee1275/$(am__dirstamp) + -rm -f efiemu/$(DEPDIR)/$(am__dirstamp) + -rm -f efiemu/$(am__dirstamp) + -rm -f efiemu/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f efiemu/i386/$(am__dirstamp) + -rm -f efiemu/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f efiemu/i386/pc/$(am__dirstamp) + -rm -f font/$(DEPDIR)/$(am__dirstamp) + -rm -f font/$(am__dirstamp) + -rm -f fs/$(DEPDIR)/$(am__dirstamp) + -rm -f fs/$(am__dirstamp) + -rm -f fs/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f fs/i386/pc/$(am__dirstamp) + -rm -f fs/zfs/$(DEPDIR)/$(am__dirstamp) + -rm -f fs/zfs/$(am__dirstamp) + -rm -f gettext/$(DEPDIR)/$(am__dirstamp) + -rm -f gettext/$(am__dirstamp) + -rm -f gfxmenu/$(DEPDIR)/$(am__dirstamp) + -rm -f gfxmenu/$(am__dirstamp) + -rm -f gnulib/$(DEPDIR)/$(am__dirstamp) + -rm -f gnulib/$(am__dirstamp) + -rm -f hello/$(DEPDIR)/$(am__dirstamp) + -rm -f hello/$(am__dirstamp) + -rm -f hook/$(DEPDIR)/$(am__dirstamp) + -rm -f hook/$(am__dirstamp) + -rm -f io/$(DEPDIR)/$(am__dirstamp) + -rm -f io/$(am__dirstamp) + -rm -f kern/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/$(am__dirstamp) + -rm -f kern/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/efi/$(am__dirstamp) + -rm -f kern/emu/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/emu/$(am__dirstamp) + -rm -f kern/generic/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/generic/$(am__dirstamp) + -rm -f kern/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/i386/$(am__dirstamp) + -rm -f kern/i386/coreboot/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/i386/coreboot/$(am__dirstamp) + -rm -f kern/i386/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/i386/efi/$(am__dirstamp) + -rm -f kern/i386/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/i386/ieee1275/$(am__dirstamp) + -rm -f kern/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/i386/pc/$(am__dirstamp) + -rm -f kern/i386/qemu/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/i386/qemu/$(am__dirstamp) + -rm -f kern/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/ieee1275/$(am__dirstamp) + -rm -f kern/mips/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/mips/$(am__dirstamp) + -rm -f kern/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/mips/yeeloong/$(am__dirstamp) + -rm -f kern/powerpc/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/powerpc/$(am__dirstamp) + -rm -f kern/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/powerpc/ieee1275/$(am__dirstamp) + -rm -f kern/sparc64/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/sparc64/$(am__dirstamp) + -rm -f kern/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/sparc64/ieee1275/$(am__dirstamp) + -rm -f kern/x86_64/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/x86_64/$(am__dirstamp) + -rm -f kern/x86_64/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f kern/x86_64/efi/$(am__dirstamp) + -rm -f lib/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/$(am__dirstamp) + -rm -f lib/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/efi/$(am__dirstamp) + -rm -f lib/emu/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/emu/$(am__dirstamp) + -rm -f lib/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/i386/$(am__dirstamp) + -rm -f lib/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/i386/pc/$(am__dirstamp) + -rm -f lib/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/ieee1275/$(am__dirstamp) + -rm -f lib/libgcrypt-grub/cipher/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/libgcrypt-grub/cipher/$(am__dirstamp) + -rm -f lib/mips/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/mips/$(am__dirstamp) + -rm -f lib/powerpc/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/powerpc/$(am__dirstamp) + -rm -f lib/x86_64/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/x86_64/$(am__dirstamp) + -rm -f lib/xzembed/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/xzembed/$(am__dirstamp) + -rm -f loader/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/$(am__dirstamp) + -rm -f loader/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/efi/$(am__dirstamp) + -rm -f loader/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/i386/$(am__dirstamp) + -rm -f loader/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/i386/pc/$(am__dirstamp) + -rm -f loader/mips/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/mips/$(am__dirstamp) + -rm -f loader/powerpc/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/powerpc/ieee1275/$(am__dirstamp) + -rm -f loader/sparc64/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f loader/sparc64/ieee1275/$(am__dirstamp) + -rm -f mmap/$(DEPDIR)/$(am__dirstamp) + -rm -f mmap/$(am__dirstamp) + -rm -f mmap/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f mmap/efi/$(am__dirstamp) + -rm -f mmap/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f mmap/i386/$(am__dirstamp) + -rm -f mmap/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f mmap/i386/pc/$(am__dirstamp) + -rm -f mmap/mips/yeeloong/$(DEPDIR)/$(am__dirstamp) + -rm -f mmap/mips/yeeloong/$(am__dirstamp) + -rm -f normal/$(DEPDIR)/$(am__dirstamp) + -rm -f normal/$(am__dirstamp) + -rm -f partmap/$(DEPDIR)/$(am__dirstamp) + -rm -f partmap/$(am__dirstamp) + -rm -f parttool/$(DEPDIR)/$(am__dirstamp) + -rm -f parttool/$(am__dirstamp) + -rm -f script/$(DEPDIR)/$(am__dirstamp) + -rm -f script/$(am__dirstamp) + -rm -f term/$(DEPDIR)/$(am__dirstamp) + -rm -f term/$(am__dirstamp) + -rm -f term/efi/$(DEPDIR)/$(am__dirstamp) + -rm -f term/efi/$(am__dirstamp) + -rm -f term/i386/$(DEPDIR)/$(am__dirstamp) + -rm -f term/i386/$(am__dirstamp) + -rm -f term/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f term/i386/pc/$(am__dirstamp) + -rm -f term/ieee1275/$(DEPDIR)/$(am__dirstamp) + -rm -f term/ieee1275/$(am__dirstamp) + -rm -f tests/$(DEPDIR)/$(am__dirstamp) + -rm -f tests/$(am__dirstamp) + -rm -f tests/lib/$(DEPDIR)/$(am__dirstamp) + -rm -f tests/lib/$(am__dirstamp) + -rm -f video/$(DEPDIR)/$(am__dirstamp) + -rm -f video/$(am__dirstamp) + -rm -f video/emu/$(DEPDIR)/$(am__dirstamp) + -rm -f video/emu/$(am__dirstamp) + -rm -f video/fb/$(DEPDIR)/$(am__dirstamp) + -rm -f video/fb/$(am__dirstamp) + -rm -f video/i386/pc/$(DEPDIR)/$(am__dirstamp) + -rm -f video/i386/pc/$(am__dirstamp) + -rm -f video/readers/$(DEPDIR)/$(am__dirstamp) + -rm -f video/readers/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ + clean-noinstLIBRARIES clean-noinstPROGRAMS clean-sbinPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) boot/decompressor/$(DEPDIR) boot/i386/pc/$(DEPDIR) boot/i386/qemu/$(DEPDIR) boot/mips/$(DEPDIR) boot/mips/yeeloong/$(DEPDIR) boot/sparc64/ieee1275/$(DEPDIR) bus/$(DEPDIR) bus/emu/$(DEPDIR) bus/usb/$(DEPDIR) bus/usb/emu/$(DEPDIR) bus/usb/serial/$(DEPDIR) commands/$(DEPDIR) commands/efi/$(DEPDIR) commands/i386/$(DEPDIR) commands/i386/pc/$(DEPDIR) commands/ieee1275/$(DEPDIR) commands/mips/yeeloong/$(DEPDIR) disk/$(DEPDIR) disk/efi/$(DEPDIR) disk/i386/pc/$(DEPDIR) disk/ieee1275/$(DEPDIR) efiemu/$(DEPDIR) efiemu/i386/$(DEPDIR) efiemu/i386/pc/$(DEPDIR) font/$(DEPDIR) fs/$(DEPDIR) fs/i386/pc/$(DEPDIR) fs/zfs/$(DEPDIR) gettext/$(DEPDIR) gfxmenu/$(DEPDIR) gnulib/$(DEPDIR) hello/$(DEPDIR) hook/$(DEPDIR) io/$(DEPDIR) kern/$(DEPDIR) kern/efi/$(DEPDIR) kern/emu/$(DEPDIR) kern/generic/$(DEPDIR) kern/i386/$(DEPDIR) kern/i386/coreboot/$(DEPDIR) kern/i386/efi/$(DEPDIR) kern/i386/ieee1275/$(DEPDIR) kern/i386/pc/$(DEPDIR) kern/i386/qemu/$(DEPDIR) kern/ieee1275/$(DEPDIR) kern/mips/$(DEPDIR) kern/mips/yeeloong/$(DEPDIR) kern/powerpc/$(DEPDIR) kern/powerpc/ieee1275/$(DEPDIR) kern/sparc64/$(DEPDIR) kern/sparc64/ieee1275/$(DEPDIR) kern/x86_64/$(DEPDIR) kern/x86_64/efi/$(DEPDIR) lib/$(DEPDIR) lib/efi/$(DEPDIR) lib/emu/$(DEPDIR) lib/i386/$(DEPDIR) lib/i386/pc/$(DEPDIR) lib/ieee1275/$(DEPDIR) lib/libgcrypt-grub/cipher/$(DEPDIR) lib/mips/$(DEPDIR) lib/powerpc/$(DEPDIR) lib/x86_64/$(DEPDIR) lib/xzembed/$(DEPDIR) loader/$(DEPDIR) loader/efi/$(DEPDIR) loader/i386/$(DEPDIR) loader/i386/pc/$(DEPDIR) loader/mips/$(DEPDIR) loader/powerpc/ieee1275/$(DEPDIR) loader/sparc64/ieee1275/$(DEPDIR) mmap/$(DEPDIR) mmap/efi/$(DEPDIR) mmap/i386/$(DEPDIR) mmap/i386/pc/$(DEPDIR) mmap/mips/yeeloong/$(DEPDIR) normal/$(DEPDIR) partmap/$(DEPDIR) parttool/$(DEPDIR) script/$(DEPDIR) term/$(DEPDIR) term/efi/$(DEPDIR) term/i386/$(DEPDIR) term/i386/pc/$(DEPDIR) term/ieee1275/$(DEPDIR) tests/$(DEPDIR) tests/lib/$(DEPDIR) video/$(DEPDIR) video/emu/$(DEPDIR) video/fb/$(DEPDIR) video/i386/pc/$(DEPDIR) video/readers/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-grubconfDATA install-grubconfSCRIPTS \ + install-man install-platformDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-binSCRIPTS \ + install-pkglibDATA install-pkglibSCRIPTS install-sbinPROGRAMS \ + install-sbinSCRIPTS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: install-man1 + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) boot/decompressor/$(DEPDIR) boot/i386/pc/$(DEPDIR) boot/i386/qemu/$(DEPDIR) boot/mips/$(DEPDIR) boot/mips/yeeloong/$(DEPDIR) boot/sparc64/ieee1275/$(DEPDIR) bus/$(DEPDIR) bus/emu/$(DEPDIR) bus/usb/$(DEPDIR) bus/usb/emu/$(DEPDIR) bus/usb/serial/$(DEPDIR) commands/$(DEPDIR) commands/efi/$(DEPDIR) commands/i386/$(DEPDIR) commands/i386/pc/$(DEPDIR) commands/ieee1275/$(DEPDIR) commands/mips/yeeloong/$(DEPDIR) disk/$(DEPDIR) disk/efi/$(DEPDIR) disk/i386/pc/$(DEPDIR) disk/ieee1275/$(DEPDIR) efiemu/$(DEPDIR) efiemu/i386/$(DEPDIR) efiemu/i386/pc/$(DEPDIR) font/$(DEPDIR) fs/$(DEPDIR) fs/i386/pc/$(DEPDIR) fs/zfs/$(DEPDIR) gettext/$(DEPDIR) gfxmenu/$(DEPDIR) gnulib/$(DEPDIR) hello/$(DEPDIR) hook/$(DEPDIR) io/$(DEPDIR) kern/$(DEPDIR) kern/efi/$(DEPDIR) kern/emu/$(DEPDIR) kern/generic/$(DEPDIR) kern/i386/$(DEPDIR) kern/i386/coreboot/$(DEPDIR) kern/i386/efi/$(DEPDIR) kern/i386/ieee1275/$(DEPDIR) kern/i386/pc/$(DEPDIR) kern/i386/qemu/$(DEPDIR) kern/ieee1275/$(DEPDIR) kern/mips/$(DEPDIR) kern/mips/yeeloong/$(DEPDIR) kern/powerpc/$(DEPDIR) kern/powerpc/ieee1275/$(DEPDIR) kern/sparc64/$(DEPDIR) kern/sparc64/ieee1275/$(DEPDIR) kern/x86_64/$(DEPDIR) kern/x86_64/efi/$(DEPDIR) lib/$(DEPDIR) lib/efi/$(DEPDIR) lib/emu/$(DEPDIR) lib/i386/$(DEPDIR) lib/i386/pc/$(DEPDIR) lib/ieee1275/$(DEPDIR) lib/libgcrypt-grub/cipher/$(DEPDIR) lib/mips/$(DEPDIR) lib/powerpc/$(DEPDIR) lib/x86_64/$(DEPDIR) lib/xzembed/$(DEPDIR) loader/$(DEPDIR) loader/efi/$(DEPDIR) loader/i386/$(DEPDIR) loader/i386/pc/$(DEPDIR) loader/mips/$(DEPDIR) loader/powerpc/ieee1275/$(DEPDIR) loader/sparc64/ieee1275/$(DEPDIR) mmap/$(DEPDIR) mmap/efi/$(DEPDIR) mmap/i386/$(DEPDIR) mmap/i386/pc/$(DEPDIR) mmap/mips/yeeloong/$(DEPDIR) normal/$(DEPDIR) partmap/$(DEPDIR) parttool/$(DEPDIR) script/$(DEPDIR) term/$(DEPDIR) term/efi/$(DEPDIR) term/i386/$(DEPDIR) term/i386/pc/$(DEPDIR) term/ieee1275/$(DEPDIR) tests/$(DEPDIR) tests/lib/$(DEPDIR) video/$(DEPDIR) video/emu/$(DEPDIR) video/fb/$(DEPDIR) video/i386/pc/$(DEPDIR) video/readers/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ + uninstall-grubconfDATA uninstall-grubconfSCRIPTS uninstall-man \ + uninstall-pkglibDATA uninstall-pkglibSCRIPTS \ + uninstall-platformDATA uninstall-sbinPROGRAMS \ + uninstall-sbinSCRIPTS + +uninstall-man: uninstall-man1 + +.MAKE: all check check-am install install-am install-strip + +.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \ + clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ + clean-noinstLIBRARIES clean-noinstPROGRAMS clean-sbinPROGRAMS \ + ctags distclean distclean-compile distclean-generic \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-binPROGRAMS install-binSCRIPTS \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-grubconfDATA \ + install-grubconfSCRIPTS install-html install-html-am \ + install-info install-info-am install-man install-man1 \ + install-pdf install-pdf-am install-pkglibDATA \ + install-pkglibSCRIPTS install-platformDATA install-ps \ + install-ps-am install-sbinPROGRAMS install-sbinSCRIPTS \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-binSCRIPTS uninstall-grubconfDATA \ + uninstall-grubconfSCRIPTS uninstall-man uninstall-man1 \ + uninstall-pkglibDATA uninstall-pkglibSCRIPTS \ + uninstall-platformDATA uninstall-sbinPROGRAMS \ + uninstall-sbinSCRIPTS + + +export LC_COLLATE := C +export LC_CTYPE := C +unexport LC_ALL + +# Rules for autogen definition files + +.PRECIOUS: $(top_srcdir)/Makefile.tpl +$(top_srcdir)/Makefile.tpl: $(top_srcdir)/gentpl.py + python $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +.PRECIOUS: $(top_srcdir)/Makefile.util.am +$(top_srcdir)/Makefile.util.am: $(top_srcdir)/Makefile.util.def $(top_srcdir)/Makefile.tpl + autogen -T $(top_srcdir)/Makefile.tpl $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +.PRECIOUS: $(top_srcdir)/grub-core/Makefile.core.am +$(top_srcdir)/grub-core/Makefile.core.am: $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def $(top_srcdir)/Makefile.tpl + if [ "x$$GRUB_CONTRIB" != x ]; then echo "You need to run ./autogen.sh manually." >&2; exit 1; fi + autogen -T $(top_srcdir)/Makefile.tpl $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1) + mv $@.new $@ + +# gentrigtables +gentrigtables: gentrigtables.c + $(BUILD_CC) -o $@ -I$(top_srcdir)/include $(CPPFLAGS) $< -lm + +# trigtables.c +trigtables.c: gentrigtables gentrigtables.c $(top_srcdir)/configure.ac + $(builddir)/gentrigtables > $@ + +# XXX Use Automake's LEX & YACC support +grub_script.tab.h: script/parser.y + $(YACC) -d -p grub_script_yy -b grub_script $< +grub_script.tab.c: grub_script.tab.h + +# For the lexer. +grub_script.yy.h: script/yylex.l + $(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $< +grub_script.yy.c: grub_script.yy.h + +rs_decoder.S: $(srcdir)/lib/reed_solomon.c + $(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -Os -I$(top_builddir) -S -DSTANDALONE -o $@ $< -g0 -mregparm=3 + +kern/i386/pc/startup.S: $(builddir)/rs_decoder.S + +@COND_emu_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@trig.marker: $(trig_module_SOURCES) $(nodist_trig_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(trig_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@cs5536.marker: $(cs5536_module_SOURCES) $(nodist_cs5536_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cs5536_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@libusb.marker: $(libusb_module_SOURCES) $(nodist_libusb_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libusb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@lsspd.marker: $(lsspd_module_SOURCES) $(nodist_lsspd_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsspd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usb.marker: $(usb_module_SOURCES) $(nodist_usb_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usbserial_common.marker: $(usbserial_common_module_SOURCES) $(nodist_usbserial_common_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_common_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usbserial_pl2303.marker: $(usbserial_pl2303_module_SOURCES) $(nodist_usbserial_pl2303_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_pl2303_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usbserial_ftdi.marker: $(usbserial_ftdi_module_SOURCES) $(nodist_usbserial_ftdi_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbserial_ftdi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@uhci.marker: $(uhci_module_SOURCES) $(nodist_uhci_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(uhci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ohci.marker: $(ohci_module_SOURCES) $(nodist_ohci_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ohci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_PCI_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@pci.marker: $(pci_module_SOURCES) $(nodist_pci_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@cmostest.marker: $(cmostest_module_SOURCES) $(nodist_cmostest_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmostest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@iorw.marker: $(iorw_module_SOURCES) $(nodist_iorw_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iorw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@regexp.marker: $(regexp_module_SOURCES) $(nodist_regexp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(regexp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@acpi.marker: $(acpi_module_SOURCES) $(nodist_acpi_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(acpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lsacpi.marker: $(lsacpi_module_SOURCES) $(nodist_lsacpi_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsacpi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lsefisystab.marker: $(lsefisystab_module_SOURCES) $(nodist_lsefisystab_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lsefisystab.marker: $(lsefisystab_module_SOURCES) $(nodist_lsefisystab_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefisystab_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lssal.marker: $(lssal_module_SOURCES) $(nodist_lssal_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lssal.marker: $(lssal_module_SOURCES) $(nodist_lssal_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lssal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lsefimmap.marker: $(lsefimmap_module_SOURCES) $(nodist_lsefimmap_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lsefimmap.marker: $(lsefimmap_module_SOURCES) $(nodist_lsefimmap_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsefimmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@blocklist.marker: $(blocklist_module_SOURCES) $(nodist_blocklist_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(blocklist_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@boot.marker: $(boot_module_SOURCES) $(nodist_boot_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(boot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@cat.marker: $(cat_module_SOURCES) $(nodist_cat_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@cmp.marker: $(cmp_module_SOURCES) $(nodist_cmp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@configfile.marker: $(configfile_module_SOURCES) $(nodist_configfile_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(configfile_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@cpuid.marker: $(cpuid_module_SOURCES) $(nodist_cpuid_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@date.marker: $(date_module_SOURCES) $(nodist_date_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(date_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@drivemap.marker: $(drivemap_module_SOURCES) $(nodist_drivemap_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(drivemap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@echo.marker: $(echo_module_SOURCES) $(nodist_echo_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(echo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@extcmd.marker: $(extcmd_module_SOURCES) $(nodist_extcmd_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(extcmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@fixvideo.marker: $(fixvideo_module_SOURCES) $(nodist_fixvideo_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@fixvideo.marker: $(fixvideo_module_SOURCES) $(nodist_fixvideo_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fixvideo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gptsync.marker: $(gptsync_module_SOURCES) $(nodist_gptsync_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gptsync_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@halt.marker: $(halt_module_SOURCES) $(nodist_halt_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(halt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@hashsum.marker: $(hashsum_module_SOURCES) $(nodist_hashsum_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hashsum_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@hdparm.marker: $(hdparm_module_SOURCES) $(nodist_hdparm_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hdparm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@help.marker: $(help_module_SOURCES) $(nodist_help_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(help_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@hexdump.marker: $(hexdump_module_SOURCES) $(nodist_hexdump_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hexdump_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@keystatus.marker: $(keystatus_module_SOURCES) $(nodist_keystatus_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keystatus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@loadbios.marker: $(loadbios_module_SOURCES) $(nodist_loadbios_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@loadbios.marker: $(loadbios_module_SOURCES) $(nodist_loadbios_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadbios_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@loadenv.marker: $(loadenv_module_SOURCES) $(nodist_loadenv_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loadenv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ls.marker: $(ls_module_SOURCES) $(nodist_ls_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ls_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@lsmmap.marker: $(lsmmap_module_SOURCES) $(nodist_lsmmap_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsmmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@lspci.marker: $(lspci_module_SOURCES) $(nodist_lspci_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lspci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@memrw.marker: $(memrw_module_SOURCES) $(nodist_memrw_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memrw_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@minicmd.marker: $(minicmd_module_SOURCES) $(nodist_minicmd_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minicmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@parttool.marker: $(parttool_module_SOURCES) $(nodist_parttool_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(parttool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@password.marker: $(password_module_SOURCES) $(nodist_password_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@password_pbkdf2.marker: $(password_pbkdf2_module_SOURCES) $(nodist_password_pbkdf2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(password_pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@play.marker: $(play_module_SOURCES) $(nodist_play_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(play_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@probe.marker: $(probe_module_SOURCES) $(nodist_probe_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(probe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@pxecmd.marker: $(pxecmd_module_SOURCES) $(nodist_pxecmd_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxecmd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@read.marker: $(read_module_SOURCES) $(nodist_read_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(read_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@reboot.marker: $(reboot_module_SOURCES) $(nodist_reboot_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@search.marker: $(search_module_SOURCES) $(nodist_search_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@search_fs_file.marker: $(search_fs_file_module_SOURCES) $(nodist_search_fs_file_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_file_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@search_fs_uuid.marker: $(search_fs_uuid_module_SOURCES) $(nodist_search_fs_uuid_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_fs_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@search_label.marker: $(search_label_module_SOURCES) $(nodist_search_label_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(search_label_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@setpci.marker: $(setpci_module_SOURCES) $(nodist_setpci_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setpci_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@sleep.marker: $(sleep_module_SOURCES) $(nodist_sleep_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sleep_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@suspend.marker: $(suspend_module_SOURCES) $(nodist_suspend_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@suspend.marker: $(suspend_module_SOURCES) $(nodist_suspend_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(suspend_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@terminal.marker: $(terminal_module_SOURCES) $(nodist_terminal_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@test.marker: $(test_module_SOURCES) $(nodist_test_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@true.marker: $(true_module_SOURCES) $(nodist_true_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(true_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usbtest.marker: $(usbtest_module_SOURCES) $(nodist_usbtest_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbtest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@videoinfo.marker: $(videoinfo_module_SOURCES) $(nodist_videoinfo_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videoinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@videotest.marker: $(videotest_module_SOURCES) $(nodist_videotest_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(videotest_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@xnu_uuid.marker: $(xnu_uuid_module_SOURCES) $(nodist_xnu_uuid_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_uuid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@dm_nv.marker: $(dm_nv_module_SOURCES) $(nodist_dm_nv_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dm_nv_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@loopback.marker: $(loopback_module_SOURCES) $(nodist_loopback_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(loopback_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@lvm.marker: $(lvm_module_SOURCES) $(nodist_lvm_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lvm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@mdraid09.marker: $(mdraid09_module_SOURCES) $(nodist_mdraid09_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid09_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@mdraid1x.marker: $(mdraid1x_module_SOURCES) $(nodist_mdraid1x_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mdraid1x_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@raid.marker: $(raid_module_SOURCES) $(nodist_raid_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@raid5rec.marker: $(raid5rec_module_SOURCES) $(nodist_raid5rec_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid5rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@raid6rec.marker: $(raid6rec_module_SOURCES) $(nodist_raid6rec_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(raid6rec_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@scsi.marker: $(scsi_module_SOURCES) $(nodist_scsi_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(scsi_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@memdisk.marker: $(memdisk_module_SOURCES) $(nodist_memdisk_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(memdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ata.marker: $(ata_module_SOURCES) $(nodist_ata_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ata_pthru.marker: $(ata_pthru_module_SOURCES) $(nodist_ata_pthru_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ata_pthru_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@biosdisk.marker: $(biosdisk_module_SOURCES) $(nodist_biosdisk_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(biosdisk_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usbms.marker: $(usbms_module_SOURCES) $(nodist_usbms_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usbms_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@nand.marker: $(nand_module_SOURCES) $(nodist_nand_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nand_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@efiemu.marker: $(efiemu_module_SOURCES) $(nodist_efiemu_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efiemu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@font.marker: $(font_module_SOURCES) $(nodist_font_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(font_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@affs.marker: $(affs_module_SOURCES) $(nodist_affs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(affs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@afs.marker: $(afs_module_SOURCES) $(nodist_afs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@afs_be.marker: $(afs_be_module_SOURCES) $(nodist_afs_be_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(afs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@befs.marker: $(befs_module_SOURCES) $(nodist_befs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@befs_be.marker: $(befs_be_module_SOURCES) $(nodist_befs_be_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(befs_be_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@btrfs.marker: $(btrfs_module_SOURCES) $(nodist_btrfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(btrfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@cpio.marker: $(cpio_module_SOURCES) $(nodist_cpio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(cpio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ext2.marker: $(ext2_module_SOURCES) $(nodist_ext2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ext2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@fat.marker: $(fat_module_SOURCES) $(nodist_fat_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fat_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@fshelp.marker: $(fshelp_module_SOURCES) $(nodist_fshelp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fshelp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@hfs.marker: $(hfs_module_SOURCES) $(nodist_hfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@hfsplus.marker: $(hfsplus_module_SOURCES) $(nodist_hfsplus_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hfsplus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@iso9660.marker: $(iso9660_module_SOURCES) $(nodist_iso9660_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(iso9660_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@jfs.marker: $(jfs_module_SOURCES) $(nodist_jfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@minix.marker: $(minix_module_SOURCES) $(nodist_minix_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@minix2.marker: $(minix2_module_SOURCES) $(nodist_minix2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(minix2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@nilfs2.marker: $(nilfs2_module_SOURCES) $(nodist_nilfs2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(nilfs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ntfs.marker: $(ntfs_module_SOURCES) $(nodist_ntfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ntfscomp.marker: $(ntfscomp_module_SOURCES) $(nodist_ntfscomp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntfscomp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@reiserfs.marker: $(reiserfs_module_SOURCES) $(nodist_reiserfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(reiserfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@sfs.marker: $(sfs_module_SOURCES) $(nodist_sfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@tar.marker: $(tar_module_SOURCES) $(nodist_tar_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tar_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@udf.marker: $(udf_module_SOURCES) $(nodist_udf_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(udf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ufs1.marker: $(ufs1_module_SOURCES) $(nodist_ufs1_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ufs2.marker: $(ufs2_module_SOURCES) $(nodist_ufs2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ufs2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@xfs.marker: $(xfs_module_SOURCES) $(nodist_xfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@zfs.marker: $(zfs_module_SOURCES) $(nodist_zfs_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@zfsinfo.marker: $(zfsinfo_module_SOURCES) $(nodist_zfsinfo_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(zfsinfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@pxe.marker: $(pxe_module_SOURCES) $(nodist_pxe_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pxe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gettext.marker: $(gettext_module_SOURCES) $(nodist_gettext_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gettext_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gfxmenu.marker: $(gfxmenu_module_SOURCES) $(nodist_gfxmenu_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxmenu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@hello.marker: $(hello_module_SOURCES) $(nodist_hello_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gzio.marker: $(gzio_module_SOURCES) $(nodist_gzio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@bufio.marker: $(bufio_module_SOURCES) $(nodist_bufio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bufio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@elf.marker: $(elf_module_SOURCES) $(nodist_elf_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(elf_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@crypto.marker: $(crypto_module_SOURCES) $(nodist_crypto_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(crypto_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@pbkdf2.marker: $(pbkdf2_module_SOURCES) $(nodist_pbkdf2_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pbkdf2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@relocator.marker: $(relocator_module_SOURCES) $(nodist_relocator_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(relocator_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@datetime.marker: $(datetime_module_SOURCES) $(nodist_datetime_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datetime_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@setjmp.marker: $(setjmp_module_SOURCES) $(nodist_setjmp_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(setjmp_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@aout.marker: $(aout_module_SOURCES) $(nodist_aout_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(aout_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@bsd.marker: $(bsd_module_SOURCES) $(nodist_bsd_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@linux16.marker: $(linux16_module_SOURCES) $(nodist_linux16_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux16_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@ntldr.marker: $(ntldr_module_SOURCES) $(nodist_ntldr_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ntldr_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@multiboot2.marker: $(multiboot2_module_SOURCES) $(nodist_multiboot2_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot2_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@multiboot.marker: $(multiboot_module_SOURCES) $(nodist_multiboot_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(multiboot_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@linux.marker: $(linux_module_SOURCES) $(nodist_linux_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(linux_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@xnu.marker: $(xnu_module_SOURCES) $(nodist_xnu_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xnu_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@appleldr.marker: $(appleldr_module_SOURCES) $(nodist_appleldr_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@appleldr.marker: $(appleldr_module_SOURCES) $(nodist_appleldr_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(appleldr_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@chain.marker: $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@chain.marker: $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@chain.marker: $(chain_module_SOURCES) $(nodist_chain_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(chain_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@mmap.marker: $(mmap_module_SOURCES) $(nodist_mmap_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@normal.marker: $(normal_module_SOURCES) $(nodist_normal_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(normal_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_acorn.marker: $(part_acorn_module_SOURCES) $(nodist_part_acorn_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_acorn_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_amiga.marker: $(part_amiga_module_SOURCES) $(nodist_part_amiga_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_amiga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_apple.marker: $(part_apple_module_SOURCES) $(nodist_part_apple_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_apple_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_gpt.marker: $(part_gpt_module_SOURCES) $(nodist_part_gpt_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_gpt_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_msdos.marker: $(part_msdos_module_SOURCES) $(nodist_part_msdos_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_msdos_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_sun.marker: $(part_sun_module_SOURCES) $(nodist_part_sun_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sun_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_bsd.marker: $(part_bsd_module_SOURCES) $(nodist_part_bsd_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_bsd_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@part_sunpc.marker: $(part_sunpc_module_SOURCES) $(nodist_part_sunpc_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(part_sunpc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@msdospart.marker: $(msdospart_module_SOURCES) $(nodist_msdospart_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(msdospart_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@at_keyboard.marker: $(at_keyboard_module_SOURCES) $(nodist_at_keyboard_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(at_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gfxterm.marker: $(gfxterm_module_SOURCES) $(nodist_gfxterm_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gfxterm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_USB_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@serial.marker: $(serial_module_SOURCES) $(nodist_serial_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(serial_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@sendkey.marker: $(sendkey_module_SOURCES) $(nodist_sendkey_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sendkey_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@terminfo.marker: $(terminfo_module_SOURCES) $(nodist_terminfo_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(terminfo_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@usb_keyboard.marker: $(usb_keyboard_module_SOURCES) $(nodist_usb_keyboard_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(usb_keyboard_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@vga.marker: $(vga_module_SOURCES) $(nodist_vga_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@vga_text.marker: $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@vga_text.marker: $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@vga_text.marker: $(vga_text_module_SOURCES) $(nodist_vga_text_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vga_text_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@video_cirrus.marker: $(video_cirrus_module_SOURCES) $(nodist_video_cirrus_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_cirrus_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@video_bochs.marker: $(video_bochs_module_SOURCES) $(nodist_video_bochs_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_bochs_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@functional_test.marker: $(functional_test_module_SOURCES) $(nodist_functional_test_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@example_functional_test.marker: $(example_functional_test_module_SOURCES) $(nodist_example_functional_test_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_functional_test_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@bitmap.marker: $(bitmap_module_SOURCES) $(nodist_bitmap_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@bitmap_scale.marker: $(bitmap_scale_module_SOURCES) $(nodist_bitmap_scale_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bitmap_scale_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@efi_gop.marker: $(efi_gop_module_SOURCES) $(nodist_efi_gop_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@efi_gop.marker: $(efi_gop_module_SOURCES) $(nodist_efi_gop_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_gop_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@efi_uga.marker: $(efi_uga_module_SOURCES) $(nodist_efi_uga_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@efi_uga.marker: $(efi_uga_module_SOURCES) $(nodist_efi_uga_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(efi_uga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@jpeg.marker: $(jpeg_module_SOURCES) $(nodist_jpeg_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(jpeg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@png.marker: $(png_module_SOURCES) $(nodist_png_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(png_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@tga.marker: $(tga_module_SOURCES) $(nodist_tga_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(tga_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@vbe.marker: $(vbe_module_SOURCES) $(nodist_vbe_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(vbe_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@video_fb.marker: $(video_fb_module_SOURCES) $(nodist_video_fb_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@video.marker: $(video_module_SOURCES) $(nodist_video_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(video_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@ieee1275_fb.marker: $(ieee1275_fb_module_SOURCES) $(nodist_ieee1275_fb_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ieee1275_fb_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@sdl.marker: $(sdl_module_SOURCES) $(nodist_sdl_module_SOURCES) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sdl_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_GRUB_EMU_SDL_TRUE@@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@datehook.marker: $(datehook_module_SOURCES) $(nodist_datehook_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(datehook_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@legacycfg.marker: $(legacycfg_module_SOURCES) $(nodist_legacycfg_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@legacycfg.marker: $(legacycfg_module_SOURCES) $(nodist_legacycfg_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(legacycfg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@test_blockarg.marker: $(test_blockarg_module_SOURCES) $(nodist_test_blockarg_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_blockarg_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@xzio.marker: $(xzio_module_SOURCES) $(nodist_xzio_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xzio_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@testload.marker: $(testload_module_SOURCES) $(nodist_testload_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testload_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@lsapm.marker: $(lsapm_module_SOURCES) $(nodist_lsapm_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lsapm_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@keylayouts.marker: $(keylayouts_module_SOURCES) $(nodist_keylayouts_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(keylayouts_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_arcfour.marker: $(gcry_arcfour_module_SOURCES) $(nodist_gcry_arcfour_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_arcfour_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_blowfish.marker: $(gcry_blowfish_module_SOURCES) $(nodist_gcry_blowfish_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_blowfish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_camellia.marker: $(gcry_camellia_module_SOURCES) $(nodist_gcry_camellia_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_camellia_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_cast5.marker: $(gcry_cast5_module_SOURCES) $(nodist_gcry_cast5_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_cast5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_crc.marker: $(gcry_crc_module_SOURCES) $(nodist_gcry_crc_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_crc_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_des.marker: $(gcry_des_module_SOURCES) $(nodist_gcry_des_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_des_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_md4.marker: $(gcry_md4_module_SOURCES) $(nodist_gcry_md4_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md4_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_md5.marker: $(gcry_md5_module_SOURCES) $(nodist_gcry_md5_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_md5_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_rfc2268.marker: $(gcry_rfc2268_module_SOURCES) $(nodist_gcry_rfc2268_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rfc2268_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_rijndael.marker: $(gcry_rijndael_module_SOURCES) $(nodist_gcry_rijndael_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rijndael_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_rmd160.marker: $(gcry_rmd160_module_SOURCES) $(nodist_gcry_rmd160_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_rmd160_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_seed.marker: $(gcry_seed_module_SOURCES) $(nodist_gcry_seed_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_seed_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_serpent.marker: $(gcry_serpent_module_SOURCES) $(nodist_gcry_serpent_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_serpent_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_sha1.marker: $(gcry_sha1_module_SOURCES) $(nodist_gcry_sha1_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha1_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_sha256.marker: $(gcry_sha256_module_SOURCES) $(nodist_gcry_sha256_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha256_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_sha512.marker: $(gcry_sha512_module_SOURCES) $(nodist_gcry_sha512_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_sha512_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_tiger.marker: $(gcry_tiger_module_SOURCES) $(nodist_gcry_tiger_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_tiger_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_twofish.marker: $(gcry_twofish_module_SOURCES) $(nodist_gcry_twofish_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_twofish_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_emu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_emu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_pc_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_pc_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_pc_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_efi_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_qemu_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_qemu_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_qemu_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_coreboot_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_coreboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_coreboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_multiboot_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_multiboot_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_multiboot_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_i386_ieee1275_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_i386_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_i386_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_x86_64_efi_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_x86_64_efi_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_x86_64_efi_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_mips_yeeloong_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_mips_yeeloong_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_mips_yeeloong_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_sparc64_ieee1275_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_sparc64_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_sparc64_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_powerpc_ieee1275_TRUE@gcry_whirlpool.marker: $(gcry_whirlpool_module_SOURCES) $(nodist_gcry_whirlpool_module_SOURCES) +@COND_powerpc_ieee1275_TRUE@ $(TARGET_CPP) -DGRUB_LST_GENERATOR $(CPPFLAGS_MARKER) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(gcry_whirlpool_module_CPPFLAGS) $(CPPFLAGS) $^ > $@.new || (rm -f $@; exit 1) +@COND_powerpc_ieee1275_TRUE@ grep 'MARKER' $@.new > $@; rm -f $@.new + +@COND_emu_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_emu_TRUE@ cp $< $@ + +@COND_i386_pc_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_i386_pc_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_i386_efi_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_i386_efi_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_i386_qemu_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_i386_qemu_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_i386_coreboot_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_i386_coreboot_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_i386_multiboot_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_i386_multiboot_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_i386_ieee1275_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_i386_ieee1275_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_x86_64_efi_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_x86_64_efi_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_mips_yeeloong_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_mips_yeeloong_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_sparc64_ieee1275_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_powerpc_ieee1275_TRUE@kernel.img: kernel.exec$(EXEEXT) +@COND_powerpc_ieee1275_TRUE@ $(STRIP) $(kernel_exec_STRIPFLAGS) -o $@ $< + +@COND_i386_pc_TRUE@boot.img: boot.image$(EXEEXT) +@COND_i386_pc_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(boot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_i386_qemu_TRUE@boot.img: boot.image$(EXEEXT) +@COND_i386_qemu_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(boot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_sparc64_ieee1275_TRUE@boot.img: boot.image$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(boot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_i386_pc_TRUE@cdboot.img: cdboot.image$(EXEEXT) +@COND_i386_pc_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(cdboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_i386_pc_TRUE@pxeboot.img: pxeboot.image$(EXEEXT) +@COND_i386_pc_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(pxeboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_i386_pc_TRUE@diskboot.img: diskboot.image$(EXEEXT) +@COND_i386_pc_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(diskboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_sparc64_ieee1275_TRUE@diskboot.img: diskboot.image$(EXEEXT) +@COND_sparc64_ieee1275_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(diskboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_i386_pc_TRUE@lnxboot.img: lnxboot.image$(EXEEXT) +@COND_i386_pc_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(lnxboot_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_mips_yeeloong_TRUE@xz_decompress.img: xz_decompress.image$(EXEEXT) +@COND_mips_yeeloong_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(xz_decompress_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_mips_yeeloong_TRUE@none_decompress.img: none_decompress.image$(EXEEXT) +@COND_mips_yeeloong_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(none_decompress_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_mips_yeeloong_TRUE@fwstart.img: fwstart.image$(EXEEXT) +@COND_mips_yeeloong_TRUE@ if test x$(USE_APPLE_CC_FIXES) = xyes; then $(MACHO2IMG) $< $@; else $(OBJCOPY) $(fwstart_image_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; fi + +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@grub-emu.1: grub-emu +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ chmod a+x grub-emu +@COND_MAN_PAGES_TRUE@@COND_emu_TRUE@ PATH=$(builddir):$$PATH $(HELP2MAN) --section=1 -i $(top_srcdir)/docs/man/grub-emu.h2m -o $@ grub-emu + +@COND_emu_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x gensyminfo.sh + +@COND_i386_pc_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x gensyminfo.sh + +@COND_i386_efi_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x gensyminfo.sh + +@COND_i386_qemu_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x gensyminfo.sh + +@COND_i386_coreboot_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x gensyminfo.sh + +@COND_i386_multiboot_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x gensyminfo.sh + +@COND_i386_ieee1275_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x gensyminfo.sh + +@COND_x86_64_efi_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x gensyminfo.sh + +@COND_mips_yeeloong_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x gensyminfo.sh + +@COND_sparc64_ieee1275_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x gensyminfo.sh + +@COND_powerpc_ieee1275_TRUE@gensyminfo.sh: gensyminfo.sh.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x gensyminfo.sh + +@COND_emu_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_emu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_emu_TRUE@ chmod a+x genmod.sh + +@COND_i386_pc_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_i386_pc_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_pc_TRUE@ chmod a+x genmod.sh + +@COND_i386_efi_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_i386_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_efi_TRUE@ chmod a+x genmod.sh + +@COND_i386_qemu_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_i386_qemu_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_qemu_TRUE@ chmod a+x genmod.sh + +@COND_i386_coreboot_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_i386_coreboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_coreboot_TRUE@ chmod a+x genmod.sh + +@COND_i386_multiboot_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_i386_multiboot_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_multiboot_TRUE@ chmod a+x genmod.sh + +@COND_i386_ieee1275_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_i386_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_i386_ieee1275_TRUE@ chmod a+x genmod.sh + +@COND_x86_64_efi_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_x86_64_efi_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_x86_64_efi_TRUE@ chmod a+x genmod.sh + +@COND_mips_yeeloong_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_mips_yeeloong_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_mips_yeeloong_TRUE@ chmod a+x genmod.sh + +@COND_sparc64_ieee1275_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_sparc64_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_sparc64_ieee1275_TRUE@ chmod a+x genmod.sh + +@COND_powerpc_ieee1275_TRUE@genmod.sh: genmod.sh.in $(top_builddir)/config.status +@COND_powerpc_ieee1275_TRUE@ $(top_builddir)/config.status --file=-:$< | sed -e 's,@pkglib_DATA@,$(pkglib_DATA),g' > $@ +@COND_powerpc_ieee1275_TRUE@ chmod a+x genmod.sh + +symlist.h: $(top_builddir)/config.h $(KERNEL_HEADER_FILES) + @list='$^'; \ + for p in $$list; do \ + echo "#include <$$p>" >> $@ || (rm -f $@; exit 1); \ + done + +symlist.c: symlist.h gensymlist.sh + $(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) -DGRUB_SYMBOL_GENERATOR=1 symlist.h > symlist.p || (rm -f symlist.p; exit 1) + cat symlist.p | /bin/sh $(srcdir)/gensymlist.sh $(top_builddir)/config.h $(KERNEL_HEADER_FILES) >$@ || (rm -f $@; exit 1) + rm -f symlist.p + +kernel_syms.lst: $(KERNEL_HEADER_FILES) $(top_builddir)/config.h + $(TARGET_CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS_KERNEL) $(CPPFLAGS) $(CFLAGS) -DGRUB_SYMBOL_GENERATOR=1 $^ >kernel_syms.input + cat kernel_syms.input | grep -v '^#' | sed -n \ + -e '/EXPORT_FUNC *([a-zA-Z0-9_]*)/{s/.*EXPORT_FUNC *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \ + -e '/EXPORT_VAR *([a-zA-Z0-9_]*)/{s/.*EXPORT_VAR *(\([a-zA-Z0-9_]*\)).*/defined kernel '"$(ASM_PREFIX)"'\1/;p;}' \ + | sort -u >$@ + rm -f kernel_syms.input + +@COND_emu_TRUE@kern/emu/grub_emu-main.$(OBJEXT):grub_emu_init.h +@COND_emu_TRUE@grub_emu-grub_emu_init.$(OBJEXT):grub_emu_init.h +@COND_emu_TRUE@kern/emu/grub_emu_dyn-main.$(OBJEXT):grub_emu_init.h +@COND_emu_TRUE@grub_emu_dyn-grub_emu_init.$(OBJEXT):grub_emu_init.h + +@COND_emu_TRUE@grub_emu_init.h: genemuinitheader.sh $(MOD_FILES) +@COND_emu_TRUE@ rm -f $@; echo $(MOD_FILES) | sh $(srcdir)/genemuinitheader.sh $(NM) > $@ + +@COND_emu_TRUE@grub_emu_init.c: grub_emu_init.h genemuinit.sh $(MOD_FILES) +@COND_emu_TRUE@ rm -f $@; echo $(MOD_FILES) | sh $(srcdir)/genemuinit.sh $(NM) > $@ + +# List files + +fs.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + if grep 'FS_LIST_MARKER' $$pp >/dev/null 2>&1; then \ + echo $$b; \ + fi; \ + done) | sort -u > $@ + +command.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + sed -n \ + -e "/EXTCOMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $$b/;p;}" \ + -e "/P1COMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $$b/;p;}" \ + -e "/COMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $$b/;p;}" $$pp; \ + done) | sort -u > $@ + +partmap.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + if grep 'PARTMAP_LIST_MARKER' $$pp >/dev/null 2>&1; then \ + echo $$b; \ + fi; \ + done) | sort -u > $@ + +terminal.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + sed -n \ + -e "/INPUT_TERMINAL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/i\1: $$b/;p;}" \ + -e "/OUTPUT_TERMINAL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/o\1: $$b/;p;}" $$pp; \ + done) | sort -u > $@ + +parttool.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + sed -n \ + -e "/PARTTOOL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $$b/;p;}" $$pp; \ + done) | sort -u > $@ + +video.lst: $(MARKER_FILES) + (for pp in $^; do \ + b=`basename $$pp .marker`; \ + if grep 'VIDEO_LIST_MARKER' $$pp >/dev/null 2>&1; then \ + echo $$b; \ + fi; \ + done) | sort -u > $@ + +# but, crypto.lst is simply copied +crypto.lst: $(srcdir)/lib/libgcrypt-grub/cipher/crypto.lst + cp $^ $@ + +syminfo.lst: gensyminfo.sh kernel_syms.lst $(MODULE_FILES) + cat kernel_syms.lst > $@.new + for m in $(MODULE_FILES); do \ + sh $< $$m >> $@.new || exit 1; \ + done + mv $@.new $@ + +# generate global module dependencies list +moddep.lst: syminfo.lst genmoddep.awk + cat $< | sort | awk -f $(srcdir)/genmoddep.awk > $@ || (rm -f $@; exit 1) + +$(MOD_FILES): %.mod : genmod.sh moddep.lst %.module$(EXEEXT) + TARGET_OBJ2ELF=@TARGET_OBJ2ELF@ sh $^ $@ + +@COND_ENABLE_EFIEMU_TRUE@efiemu32.o: efiemu/runtime/efiemu.c $(TARGET_OBJ2ELF) +@COND_ENABLE_EFIEMU_TRUE@ -rm -f $@; \ +@COND_ENABLE_EFIEMU_TRUE@ if test "x$(TARGET_APPLE_CC)" = x1; then \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF32 -DAPPLE_CC -m32 -Wall -Werror -nostdlib -O2 -c -o $@.bin $< || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ $(OBJCONV) -felf32 -nu -nd $@.bin $@ || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ rm -f $@.bin; \ +@COND_ENABLE_EFIEMU_TRUE@ else \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF32 -m32 -Wall -Werror -nostdlib -O2 -c -o $@ $< || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ if test ! -z "$(TARGET_OBJ2ELF)"; then $(TARGET_OBJ2ELF) $@ || (rm -f $@; exit 1); fi; \ +@COND_ENABLE_EFIEMU_TRUE@ fi + +@COND_ENABLE_EFIEMU_TRUE@efiemu64_c.o: efiemu/runtime/efiemu.c +@COND_ENABLE_EFIEMU_TRUE@ if test "x$(TARGET_APPLE_CC)" = x1; then \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -DAPPLE_CC=1 -m64 -nostdlib -Wall -Werror -mno-red-zone -c -o $@ $< || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ else \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -m64 -nostdlib -Wall -Werror -O2 -mcmodel=large -mno-red-zone -c -o $@ $< || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ fi + +@COND_ENABLE_EFIEMU_TRUE@efiemu64_s.o: efiemu/runtime/efiemu.S +@COND_ENABLE_EFIEMU_TRUE@ -rm -f $@ +@COND_ENABLE_EFIEMU_TRUE@ if test "x$(TARGET_APPLE_CC)" = x1; then \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -DAPPLE_CC=1 -m64 -Wall -Werror -nostdlib -O2 -mno-red-zone -c -o $@ $< || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ else \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) $(DEFS) $(INCLUDES) $(CPPFLAGS_EFIEMU) $(CPPFLAGS_DEFAULT) -DELF64 -m64 -Wall -Werror -nostdlib -O2 -mcmodel=large -mno-red-zone -c -o $@ $< || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ fi + +@COND_ENABLE_EFIEMU_TRUE@efiemu64.o: efiemu64_c.o efiemu64_s.o $(TARGET_OBJ2ELEF) +@COND_ENABLE_EFIEMU_TRUE@ -rm -f $@; \ +@COND_ENABLE_EFIEMU_TRUE@ if test "x$(TARGET_APPLE_CC)" = x1; then \ +@COND_ENABLE_EFIEMU_TRUE@ rm -f $@.bin; \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) -m64 -Wl,-r -nostdlib -o $@.bin $^ || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ $(OBJCONV) -felf64 -nu -nd $@.bin $@ || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ rm -f $@.bin; \ +@COND_ENABLE_EFIEMU_TRUE@ else \ +@COND_ENABLE_EFIEMU_TRUE@ $(TARGET_CC) -m64 -nostdlib -Wl,-r -o $@ $^ || exit 1; \ +@COND_ENABLE_EFIEMU_TRUE@ if test ! -z "$(TARGET_OBJ2ELF)"; then $(TARGET_OBJ2ELF) $@ || (rm -f $@; exit 1); fi; \ +@COND_ENABLE_EFIEMU_TRUE@ fi + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/grub-core/boot/decompressor/minilib.c b/grub-core/boot/decompressor/minilib.c new file mode 100644 index 0000000..f2a2ef7 --- /dev/null +++ b/grub-core/boot/decompressor/minilib.c @@ -0,0 +1,102 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +void * +memset (void *s, int c, grub_size_t len) +{ + grub_uint8_t *ptr; + for (ptr = s; len; ptr++, len--) + *ptr = c; + return s; +} + +void * +grub_memmove (void *dest, const void *src, grub_size_t n) +{ + char *d = (char *) dest; + const char *s = (const char *) src; + + if (d < s) + while (n--) + *d++ = *s++; + else + { + d += n; + s += n; + + while (n--) + *--d = *--s; + } + + return dest; +} + +int +grub_memcmp (const void *s1, const void *s2, grub_size_t n) +{ + const char *t1 = s1; + const char *t2 = s2; + + while (n--) + { + if (*t1 != *t2) + return (int) *t1 - (int) *t2; + + t1++; + t2++; + } + + return 0; +} + +int memcmp (const void *s1, const void *s2, grub_size_t n) + __attribute__ ((alias ("grub_memcmp"))); + +void *memmove (void *dest, const void *src, grub_size_t n) + __attribute__ ((alias ("grub_memmove"))); + +void *memcpy (void *dest, const void *src, grub_size_t n) + __attribute__ ((alias ("grub_memmove"))); + +void *grub_decompressor_scratch; + +void +find_scratch (void *src, void *dst, unsigned long srcsize, + unsigned long dstsize) +{ +#ifdef _mips + /* Decoding from ROM. */ + if (((grub_addr_t) src & 0x10000000)) + { + grub_decompressor_scratch = (void *) ALIGN_UP((grub_addr_t) dst + dstsize, + 256); + return; + } +#endif + if ((char *) src + srcsize > (char *) dst + dstsize) + grub_decompressor_scratch = (void *) ALIGN_UP ((grub_addr_t) src + srcsize, + 256); + else + grub_decompressor_scratch = (void *) ALIGN_UP ((grub_addr_t) dst + dstsize, + 256); + return; +} diff --git a/grub-core/boot/decompressor/none.c b/grub-core/boot/decompressor/none.c new file mode 100644 index 0000000..44f56ce --- /dev/null +++ b/grub-core/boot/decompressor/none.c @@ -0,0 +1,39 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +void +grub_decompress_core (void *src, void *dest, unsigned long n, + unsigned long dstsize __attribute__ ((unused))) +{ + char *d = (char *) dest; + const char *s = (const char *) src; + + if (d < s) + while (n--) + *d++ = *s++; + else + { + d += n; + s += n; + + while (n--) + *--d = *--s; + } +} diff --git a/grub-core/boot/decompressor/xz.c b/grub-core/boot/decompressor/xz.c new file mode 100644 index 0000000..2279118 --- /dev/null +++ b/grub-core/boot/decompressor/xz.c @@ -0,0 +1,60 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +#include "xz.h" +#include "xz_stream.h" + +void +grub_decompress_core (void *src, void *dst, unsigned long srcsize, + unsigned long dstsize) +{ + struct xz_dec *dec; + struct xz_buf buf; + + find_scratch (src, dst, srcsize, dstsize); + + dec = xz_dec_init (GRUB_DECOMPRESSOR_DICT_SIZE); + + buf.in = src; + buf.in_pos = 0; + buf.in_size = srcsize; + buf.out = dst; + buf.out_pos = 0; + buf.out_size = dstsize; + + while (buf.in_pos != buf.in_size) + { + enum xz_ret xzret; + xzret = xz_dec_run (dec, &buf); + switch (xzret) + { + case XZ_MEMLIMIT_ERROR: + case XZ_FORMAT_ERROR: + case XZ_OPTIONS_ERROR: + case XZ_DATA_ERROR: + case XZ_BUF_ERROR: + return; + default: + break; + } + } +} diff --git a/grub-core/boot/i386/pc/boot.S b/grub-core/boot/i386/pc/boot.S new file mode 100644 index 0000000..635599a --- /dev/null +++ b/grub-core/boot/i386/pc/boot.S @@ -0,0 +1,481 @@ +/* -*-Asm-*- */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +/* + * defines for the code go here + */ + + /* Print message string */ +#define MSG(x) movw $x, %si; call LOCAL(message) +#define ERR(x) movw $x, %si; jmp LOCAL(error_message) + + .file "boot.S" + + .text + + /* Tell GAS to generate 16-bit instructions so that this code works + in real mode. */ + .code16 + +.globl _start, start; +_start: +start: + /* + * _start is loaded at 0x7c00 and is jumped to with CS:IP 0:0x7c00 + */ + + /* + * Beginning of the sector is compatible with the FAT/HPFS BIOS + * parameter block. + */ + + jmp LOCAL(after_BPB) + nop /* do I care about this ??? */ + + /* + * This space is for the BIOS parameter block!!!! Don't change + * the first jump, nor start the code anywhere but right after + * this area. + */ + + . = _start + GRUB_BOOT_MACHINE_BPB_START + . = _start + 4 + + /* scratch space */ +mode: + .byte 0 +disk_address_packet: +sectors: + .long 0 +heads: + .long 0 +cylinders: + .word 0 +sector_start: + .byte 0 +head_start: + .byte 0 +cylinder_start: + .word 0 + /* more space... */ + + . = _start + GRUB_BOOT_MACHINE_BPB_END + + /* + * End of BIOS parameter block. + */ + +kernel_address: + .word GRUB_BOOT_MACHINE_KERNEL_ADDR + + . = _start + GRUB_BOOT_MACHINE_KERNEL_SECTOR +kernel_sector: + .long 1, 0 + + . = _start + GRUB_BOOT_MACHINE_BOOT_DRIVE +boot_drive: + .byte 0xff /* the disk to load kernel from */ + /* 0xff means use the boot drive */ + +LOCAL(after_BPB): + +/* general setup */ + cli /* we're not safe here! */ + + /* + * This is a workaround for buggy BIOSes which don't pass boot + * drive correctly. If GRUB is installed into a HDD, check if + * DL is masked correctly. If not, assume that the BIOS passed + * a bogus value and set DL to 0x80, since this is the only + * possible boot drive. If GRUB is installed into a floppy, + * this does nothing (only jump). + */ + . = _start + GRUB_BOOT_MACHINE_DRIVE_CHECK +boot_drive_check: + jmp 3f /* grub-setup may overwrite this jump */ + testb $0x80, %dl + jz 2f +3: + /* Ignore %dl different from 0-0x0f and 0x80-0x8f. */ + testb $0x70, %dl + jz 1f +2: + movb $0x80, %dl +1: + /* + * ljmp to the next instruction because some bogus BIOSes + * jump to 07C0:0000 instead of 0000:7C00. + */ + ljmp $0, $real_start + +real_start: + + /* set up %ds and %ss as offset from 0 */ + xorw %ax, %ax + movw %ax, %ds + movw %ax, %ss + + /* set up the REAL stack */ + movw $GRUB_BOOT_MACHINE_STACK_SEG, %sp + + sti /* we're safe again */ + + /* + * Check if we have a forced disk reference here + */ + movb boot_drive, %al + cmpb $0xff, %al + je 1f + movb %al, %dl +1: + /* save drive reference first thing! */ + pushw %dx + + /* print a notification message on the screen */ + MSG(notification_string) + + /* set %si to the disk address packet */ + movw $disk_address_packet, %si + + /* check if LBA is supported */ + movb $0x41, %ah + movw $0x55aa, %bx + int $0x13 + + /* + * %dl may have been clobbered by INT 13, AH=41H. + * This happens, for example, with AST BIOS 1.04. + */ + popw %dx + pushw %dx + + /* use CHS if fails */ + jc LOCAL(chs_mode) + cmpw $0xaa55, %bx + jne LOCAL(chs_mode) + + andw $1, %cx + jz LOCAL(chs_mode) + +lba_mode: + xorw %ax, %ax + movw %ax, 4(%si) + + incw %ax + /* set the mode to non-zero */ + movb %al, -1(%si) + + /* the blocks */ + movw %ax, 2(%si) + + /* the size and the reserved byte */ + movw $0x0010, (%si) + + /* the absolute address */ + movl kernel_sector, %ebx + movl %ebx, 8(%si) + movl kernel_sector + 4, %ebx + movl %ebx, 12(%si) + + /* the segment of buffer address */ + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, 6(%si) + +/* + * BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory + * Call with %ah = 0x42 + * %dl = drive number + * %ds:%si = segment:offset of disk address packet + * Return: + * %al = 0x0 on success; err code on failure + */ + + movb $0x42, %ah + int $0x13 + + /* LBA read is not supported, so fallback to CHS. */ + jc LOCAL(chs_mode) + + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx + jmp LOCAL(copy_buffer) + +LOCAL(chs_mode): + /* + * Determine the hard disk geometry from the BIOS! + * We do this first, so that LS-120 IDE floppies work correctly. + */ + movb $8, %ah + int $0x13 + jnc LOCAL(final_init) + + /* + * The call failed, so maybe use the floppy probe instead. + */ + testb $GRUB_BOOT_MACHINE_BIOS_HD_FLAG, %dl + jz LOCAL(floppy_probe) + + /* Nope, we definitely have a hard disk, and we're screwed. */ + ERR(hd_probe_error_string) + +LOCAL(final_init): + /* set the mode to zero */ + movzbl %dh, %eax + movb %ah, -1(%si) + + /* save number of heads */ + incw %ax + movl %eax, 4(%si) + + movzbw %cl, %dx + shlw $2, %dx + movb %ch, %al + movb %dh, %ah + + /* save number of cylinders */ + incw %ax + movw %ax, 8(%si) + + movzbw %dl, %ax + shrb $2, %al + + /* save number of sectors */ + movl %eax, (%si) + +setup_sectors: + /* load logical sector start (top half) */ + movl kernel_sector + 4, %eax + + orl %eax, %eax + jnz LOCAL(geometry_error) + + /* load logical sector start (bottom half) */ + movl kernel_sector, %eax + + /* zero %edx */ + xorl %edx, %edx + + /* divide by number of sectors */ + divl (%si) + + /* save sector start */ + movb %dl, %cl + + xorw %dx, %dx /* zero %edx */ + divl 4(%si) /* divide by number of heads */ + + /* do we need too many cylinders? */ + cmpw 8(%si), %ax + jge LOCAL(geometry_error) + + /* normalize sector start (1-based) */ + incb %cl + + /* low bits of cylinder start */ + movb %al, %ch + + /* high bits of cylinder start */ + xorb %al, %al + shrw $2, %ax + orb %al, %cl + + /* save head start */ + movb %dl, %al + + /* restore %dl */ + popw %dx + + /* head start */ + movb %al, %dh + +/* + * BIOS call "INT 0x13 Function 0x2" to read sectors from disk into memory + * Call with %ah = 0x2 + * %al = number of sectors + * %ch = cylinder + * %cl = sector (bits 6-7 are high bits of "cylinder") + * %dh = head + * %dl = drive (0x80 for hard disk, 0x0 for floppy disk) + * %es:%bx = segment:offset of buffer + * Return: + * %al = 0x0 on success; err code on failure + */ + + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx + movw %bx, %es /* load %es segment with disk buffer */ + + xorw %bx, %bx /* %bx = 0, put it at 0 in the segment */ + movw $0x0201, %ax /* function 2 */ + int $0x13 + + jc LOCAL(read_error) + + movw %es, %bx + +LOCAL(copy_buffer): + /* + * We need to save %cx and %si because the startup code in + * kernel uses them without initializing them. + */ + pusha + pushw %ds + + movw $0x100, %cx + movw %bx, %ds + xorw %si, %si + movw $GRUB_BOOT_MACHINE_KERNEL_ADDR, %di + movw %si, %es + + cld + + rep + movsw + + popw %ds + popa + + /* boot kernel */ + jmp *(kernel_address) + +/* END OF MAIN LOOP */ + +/* + * BIOS Geometry translation error (past the end of the disk geometry!). + */ +LOCAL(geometry_error): + ERR(geometry_error_string) + +/* + * Read error on the disk. + */ +LOCAL(read_error): + movw $read_error_string, %si +LOCAL(error_message): + call LOCAL(message) +LOCAL(general_error): + MSG(general_error_string) + +/* go here when you need to stop the machine hard after an error condition */ + /* tell the BIOS a boot failure, which may result in no effect */ + int $0x18 +LOCAL(stop): + jmp LOCAL(stop) + +notification_string: .asciz "GRUB " +geometry_error_string: .asciz "Geom" +hd_probe_error_string: .asciz "Hard Disk" +read_error_string: .asciz "Read" +general_error_string: .asciz " Error\r\n" + +/* + * message: write the string pointed to by %si + * + * WARNING: trashes %si, %ax, and %bx + */ + + /* + * Use BIOS "int 10H Function 0Eh" to write character in teletype mode + * %ah = 0xe %al = character + * %bh = page %bl = foreground color (graphics modes) + */ +1: + movw $0x0001, %bx + movb $0xe, %ah + int $0x10 /* display a byte */ +LOCAL(message): + lodsb + cmpb $0, %al + jne 1b /* if not end of string, jmp to display */ + ret + + /* + * Windows NT breaks compatibility by embedding a magic + * number here. + */ + + . = _start + GRUB_BOOT_MACHINE_WINDOWS_NT_MAGIC +nt_magic: + .long 0 + .word 0 + + /* + * This is where an MBR would go if on a hard disk. The code + * here isn't even referenced unless we're on a floppy. Kinda + * sneaky, huh? + */ + + . = _start + GRUB_BOOT_MACHINE_PART_START +part_start: + +probe_values: + .byte 36, 18, 15, 9, 0 + +LOCAL(floppy_probe): +/* + * Perform floppy probe. + */ + + movw $probe_values - 1, %si + +LOCAL(probe_loop): + /* reset floppy controller INT 13h AH=0 */ + xorw %ax, %ax + int $0x13 + + incw %si + movb (%si), %cl + + /* if number of sectors is 0, display error and die */ + cmpb $0, %cl + jne 1f + +/* + * Floppy disk probe failure. + */ + MSG(fd_probe_error_string) + jmp LOCAL(general_error) + +/* "Floppy" */ +fd_probe_error_string: .asciz "Floppy" + +1: + /* perform read */ + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx + movw %bx, %es + xorw %bx, %bx + movw $0x201, %ax + movb $0, %ch + movb $0, %dh + int $0x13 + + /* if error, jump to "LOCAL(probe_loop)" */ + jc LOCAL(probe_loop) + + /* %cl is already the correct value! */ + movb $1, %dh + movb $79, %ch + + jmp LOCAL(final_init) + + . = _start + GRUB_BOOT_MACHINE_PART_END + +/* the last 2 bytes in the sector 0 contain the signature */ + .word GRUB_BOOT_MACHINE_SIGNATURE diff --git a/grub-core/boot/i386/pc/cdboot.S b/grub-core/boot/i386/pc/cdboot.S new file mode 100644 index 0000000..33569ce --- /dev/null +++ b/grub-core/boot/i386/pc/cdboot.S @@ -0,0 +1,173 @@ +/* -*-Asm-*- */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + + .file "cdboot.S" + +#define CODE_ADDR 0x6000 +#define DATA_ADDR ((GRUB_BOOT_MACHINE_KERNEL_ADDR) + 0x200) + +#define CDSEC_SHIFT 11 +#define CDBLK_LENG 16 + + .text + + .code16 + + .globl start, _start + +start: +_start: + call LOCAL(next) + +LOCAL(next): + jmp 1f + + . = start + 8 + +bi_pvd: + .long 0 /* LBA of primary volume descriptor. */ +bi_file: + .long 0 /* LBA of boot file. */ +bi_length: + .long 0 /* Length of boot file. */ +bi_csum: + .long 0 /* Checksum of boot file */ +bi_reserved: + .space (10*4) /* Reserved */ + +1: + popw %bx + + /* Boot from CDROM. */ + + xorw %ax, %ax + movw %ax, %ss + movw $(CODE_ADDR), %sp + movw %ax, %ds + movw %ax, %es + + movw $(0x7C00 + err_noboot_msg - start), %si + movl %cs: bi_length - LOCAL(next)(%bx), %ecx + orl %ecx, %ecx + jz LOCAL(fail) + + addl $((1 << CDSEC_SHIFT) - 1), %ecx + shrl $CDSEC_SHIFT, %ecx + + movl %cs: bi_file - LOCAL(next)(%bx), %esi + + call LOCAL(read_cdrom) + + ljmp $(DATA_ADDR >> 4), $0 + +/* + * Parameters: + * esi: start sector + * ecx: number of sectors + */ +LOCAL(read_cdrom): + xorl %eax, %eax + + /* Number of blocks to read. */ + pushw $CDBLK_LENG + + /* Block number. */ + pushl %eax + pushl %esi + + /* Buffer address. */ + pushw $((DATA_ADDR - 0x400)>> 4) + pushl %eax + pushw $0x10 + + xorl %edi, %edi + movw %sp, %si + +1: + movw 0x10(%si), %di + cmpl %ecx, %edi + jbe 2f + movl %ecx, %edi + +2: + mov %di, 2(%si) + + pushl %ecx + + movb $0x42, %ah + int $0x13 + + jnc 3f + + movb $0x42, %ah /* Try again. */ + int $0x13 + + jnc 3f + +2: + shrw $1, %di /* Reduce transfer size. */ + jz LOCAL(cdrom_fail) + movw %di, 0x10(%si) + movw %di, 2(%si) + movb $0x42, %ah + int $0x13 + jc 2b + +3: + + movw %di, %ax + shlw $(CDSEC_SHIFT - 4), %ax + addw %ax, 6(%si) + addl %edi, 8(%si) + + popl %ecx + subl %edi, %ecx + jnz 1b + + addw $0x12, %sp + ret + +LOCAL(cdrom_fail): + movw $(0x7C00 + err_cdfail_msg - start), %si + +LOCAL(fail): + movb $0x0e, %ah + xorw %bx, %bx +1: + lodsb (%si), %al + int $0x10 + cmpb $0, %al + jne 1b +1: jmp 1b + +err_noboot_msg: + .ascii "no boot info\0" + +err_cdfail_msg: + .ascii "cdrom read fails\0" + + . = start + 0x1FF + + .byte 0 diff --git a/grub-core/boot/i386/pc/diskboot.S b/grub-core/boot/i386/pc/diskboot.S new file mode 100644 index 0000000..92f223f --- /dev/null +++ b/grub-core/boot/i386/pc/diskboot.S @@ -0,0 +1,380 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2006,2007,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +/* + * defines for the code go here + */ + +#define MSG(x) movw $x, %si; call LOCAL(message) + + .file "diskboot.S" + + .text + + /* Tell GAS to generate 16-bit instructions so that this code works + in real mode. */ + .code16 + + .globl start, _start +start: +_start: + /* + * _start is loaded at 0x2000 and is jumped to with + * CS:IP 0:0x2000 in kernel. + */ + + /* + * we continue to use the stack for boot.img and assume that + * some registers are set to correct values. See boot.S + * for more information. + */ + + /* save drive reference first thing! */ + pushw %dx + + /* print a notification message on the screen */ + pushw %si + MSG(notification_string) + popw %si + + /* this sets up for the first run through "bootloop" */ + movw $(firstlist - GRUB_BOOT_MACHINE_LIST_SIZE), %di + + /* save the sector number of the second sector in %ebp */ + movl (%di), %ebp + + /* this is the loop for reading the rest of the kernel in */ +LOCAL(bootloop): + + /* check the number of sectors to read */ + cmpw $0, 8(%di) + + /* if zero, go to the start function */ + je LOCAL(bootit) + +LOCAL(setup_sectors): + /* check if we use LBA or CHS */ + cmpb $0, -1(%si) + + /* use CHS if zero, LBA otherwise */ + je LOCAL(chs_mode) + + /* load logical sector start */ + movl (%di), %ebx + movl 4(%di), %ecx + + /* the maximum is limited to 0x7f because of Phoenix EDD */ + xorl %eax, %eax + movb $0x7f, %al + + /* how many do we really want to read? */ + cmpw %ax, 8(%di) /* compare against total number of sectors */ + + /* which is greater? */ + jg 1f + + /* if less than, set to total */ + movw 8(%di), %ax + +1: + /* subtract from total */ + subw %ax, 8(%di) + + /* add into logical sector start */ + addl %eax, (%di) + adcl $0, 4(%di) + + /* set up disk address packet */ + + /* the size and the reserved byte */ + movw $0x0010, (%si) + + /* the number of sectors */ + movw %ax, 2(%si) + + /* the absolute address */ + movl %ebx, 8(%si) + movl %ecx, 12(%si) + + /* the segment of buffer address */ + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, 6(%si) + + /* save %ax from destruction! */ + pushw %ax + + /* the offset of buffer address */ + movw $0, 4(%si) + +/* + * BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory + * Call with %ah = 0x42 + * %dl = drive number + * %ds:%si = segment:offset of disk address packet + * Return: + * %al = 0x0 on success; err code on failure + */ + + movb $0x42, %ah + int $0x13 + + jc LOCAL(read_error) + + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx + jmp LOCAL(copy_buffer) + +LOCAL(chs_mode): + /* load logical sector start (top half) */ + movl 4(%di), %eax + orl %eax, %eax + jnz LOCAL(geometry_error) + + /* load logical sector start (bottom half) */ + movl (%di), %eax + + /* zero %edx */ + xorl %edx, %edx + + /* divide by number of sectors */ + divl (%si) + + /* save sector start */ + movb %dl, 10(%si) + + xorl %edx, %edx /* zero %edx */ + divl 4(%si) /* divide by number of heads */ + + /* save head start */ + movb %dl, 11(%si) + + /* save cylinder start */ + movw %ax, 12(%si) + + /* do we need too many cylinders? */ + cmpw 8(%si), %ax + jge LOCAL(geometry_error) + + /* determine the maximum sector length of this read */ + movw (%si), %ax /* get number of sectors per track/head */ + + /* subtract sector start */ + subb 10(%si), %al + + /* how many do we really want to read? */ + cmpw %ax, 8(%di) /* compare against total number of sectors */ + + + /* which is greater? */ + jg 2f + + /* if less than, set to total */ + movw 8(%di), %ax + +2: + /* subtract from total */ + subw %ax, 8(%di) + + /* add into logical sector start */ + addl %eax, (%di) + adcl $0, 4(%di) + +/* + * This is the loop for taking care of BIOS geometry translation (ugh!) + */ + + /* get high bits of cylinder */ + movb 13(%si), %dl + + shlb $6, %dl /* shift left by 6 bits */ + movb 10(%si), %cl /* get sector */ + + incb %cl /* normalize sector (sectors go + from 1-N, not 0-(N-1) ) */ + orb %dl, %cl /* composite together */ + movb 12(%si), %ch /* sector+hcyl in cl, cylinder in ch */ + + /* restore %dx */ + popw %dx + pushw %dx + + /* head number */ + movb 11(%si), %dh + + pushw %ax /* save %ax from destruction! */ + +/* + * BIOS call "INT 0x13 Function 0x2" to read sectors from disk into memory + * Call with %ah = 0x2 + * %al = number of sectors + * %ch = cylinder + * %cl = sector (bits 6-7 are high bits of "cylinder") + * %dh = head + * %dl = drive (0x80 for hard disk, 0x0 for floppy disk) + * %es:%bx = segment:offset of buffer + * Return: + * %al = 0x0 on success; err code on failure + */ + + movw $GRUB_BOOT_MACHINE_BUFFER_SEG, %bx + movw %bx, %es /* load %es segment with disk buffer */ + + xorw %bx, %bx /* %bx = 0, put it at 0 in the segment */ + movb $0x2, %ah /* function 2 */ + int $0x13 + + jc LOCAL(read_error) + + /* save source segment */ + movw %es, %bx + +LOCAL(copy_buffer): + + /* load addresses for copy from disk buffer to destination */ + movw 10(%di), %es /* load destination segment */ + + /* restore %ax */ + popw %ax + + /* determine the next possible destination address (presuming + 512 byte sectors!) */ + shlw $5, %ax /* shift %ax five bits to the left */ + addw %ax, 10(%di) /* add the corrected value to the destination + address for next time */ + + /* save addressing regs */ + pusha + pushw %ds + + /* get the copy length */ + shlw $3, %ax + movw %ax, %cx + + xorw %di, %di /* zero offset of destination addresses */ + xorw %si, %si /* zero offset of source addresses */ + movw %bx, %ds /* restore the source segment */ + + cld /* sets the copy direction to forward */ + + /* perform copy */ + rep /* sets a repeat */ + movsw /* this runs the actual copy */ + + /* restore addressing regs and print a dot with correct DS + (MSG modifies SI, which is saved, and unused AX and BX) */ + popw %ds + MSG(notification_step) + popa + + /* check if finished with this dataset */ + cmpw $0, 8(%di) + jne LOCAL(setup_sectors) + + /* update position to load from */ + subw $GRUB_BOOT_MACHINE_LIST_SIZE, %di + + /* jump to bootloop */ + jmp LOCAL(bootloop) + +/* END OF MAIN LOOP */ + +LOCAL(bootit): + /* print a newline */ + MSG(notification_done) + popw %dx /* this makes sure %dl is our "boot" drive */ + ljmp $0, $(GRUB_BOOT_MACHINE_KERNEL_ADDR + 0x200) + + +/* + * BIOS Geometry translation error (past the end of the disk geometry!). + */ +LOCAL(geometry_error): + MSG(geometry_error_string) + jmp LOCAL(general_error) + +/* + * Read error on the disk. + */ +LOCAL(read_error): + MSG(read_error_string) + +LOCAL(general_error): + MSG(general_error_string) + +/* go here when you need to stop the machine hard after an error condition */ +LOCAL(stop): jmp LOCAL(stop) + +notification_string: .asciz "loading" + +notification_step: .asciz "." +notification_done: .asciz "\r\n" + +geometry_error_string: .asciz "Geom" +read_error_string: .asciz "Read" +general_error_string: .asciz " Error" + +/* + * message: write the string pointed to by %si + * + * WARNING: trashes %si, %ax, and %bx + */ + + /* + * Use BIOS "int 10H Function 0Eh" to write character in teletype mode + * %ah = 0xe %al = character + * %bh = page %bl = foreground color (graphics modes) + */ +1: + movw $0x0001, %bx + movb $0xe, %ah + int $0x10 /* display a byte */ + + incw %si +LOCAL(message): + movb (%si), %al + cmpb $0, %al + jne 1b /* if not end of string, jmp to display */ + ret + +/* + * This area is an empty space between the main body of code below which + * grows up (fixed after compilation, but between releases it may change + * in size easily), and the lists of sectors to read, which grows down + * from a fixed top location. + */ + + .word 0 + .word 0 + + . = _start + 0x200 - GRUB_BOOT_MACHINE_LIST_SIZE + + /* fill the first data listing with the default */ +blocklist_default_start: + /* this is the sector start parameter, in logical sectors from + the start of the disk, sector 0 */ + .long 2, 0 +blocklist_default_len: + /* this is the number of sectors to read. grub-mkimage + will fill this up */ + .word 0 +blocklist_default_seg: + /* this is the segment of the starting address to load the data into */ + .word (GRUB_BOOT_MACHINE_KERNEL_SEG + 0x20) + +firstlist: /* this label has to be after the list data!!! */ diff --git a/grub-core/boot/i386/pc/lnxboot.S b/grub-core/boot/i386/pc/lnxboot.S new file mode 100644 index 0000000..2c75960 --- /dev/null +++ b/grub-core/boot/i386/pc/lnxboot.S @@ -0,0 +1,299 @@ +/* -*-Asm-*- */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + + .file "lnxboot.S" + +#define CODE_ADDR 0x6000 +#define CODE_SECTORS 1 +#define DATA_ADDR ((GRUB_BOOT_MACHINE_KERNEL_ADDR) + 0x200) + +#define BLCK_LENG 0x4000 + + .text + + .code16 + + .globl start, _start + +data_start: + xorl %ebp, %ebp + jmp LOCAL(linux_next) + + . = data_start + 0x1F1 + +setup_sects: + .byte CODE_SECTORS +root_flags: + .word 0 +syssize: + .word 0 +swap_dev: + .word 0 +ram_size: + .word 0 +vid_mode: + .word 0 +root_dev: + .word 0 +boot_flag: + .word 0xAA55 + +start: +_start: + + jmp LOCAL(linux_init) + + .ascii "HdrS" /* Header signature. */ + .word 0x0203 /* Header version number. */ + +realmode_swtch: + .word 0, 0 /* default_switch, SETUPSEG. */ +start_sys_seg: + .word 0x1000 /* Obsolete. */ +version_ptr: + .word 0 /* Version string ptr. */ +type_of_loader: + .byte 0 /* Filled in by boot loader. */ +loadflags: + .byte 1 /* Please load high. */ +setup_move_size: + .word 0 /* Unused. */ +code32_start: + .long 0x100000 /* 32-bit start address. */ +ramdisk_image: + .long 0 /* Loaded ramdisk image address. */ +ramdisk_size: + .long 0 /* Size of loaded ramdisk. */ +bootsect_kludge: + .word 0, 0 +heap_end_ptr: + .word 0 +pad1: + .word 0 +cmd_line_ptr: + .long 0 /* Command line. */ +ramdisk_max: + .long 0xffffffff /* Highest allowed ramdisk address. */ + +gdt: + .long 0, 0, 0, 0 /* Must be zero. */ + .word 0xffff /* 64 K segment size. */ +gdt_src1: + .byte 0, 0 ,0 /* Low 24 bits of source address. */ + .byte 0x93 /* Access rights. */ + .byte 0 /* Extended access rights. */ +gdt_src2: + .byte 0 /* High 8 bits of source address. */ + .word 0xffff /* 64 K segment size. */ +gdt_dst1: + .byte 0, 0, 0 /* Low 24 bits of target address. */ + .byte 0x93 /* Access rights. */ + .byte 0 /* Extended access rights. */ +gdt_dst2: + .byte 0 /* High 8 bits of source address. */ + .long 0, 0, 0, 0 /* More space for the BIOS. */ + +reg_edx: + .byte 0x80, 0, 0xFF, 0xFF + +data_leng: + .long 0 + +LOCAL(linux_init): + movw %cs:(reg_edx - start), %dx + movl %cs:(code32_start - start), %ebp + +LOCAL(linux_next): + + call LOCAL(normalize) + +LOCAL(normalize): + popw %bx + subw $(LOCAL(normalize) - start), %bx + shrw $4, %bx + movw %cs, %ax + addw %bx, %ax + pushw %ax + pushw $(real_code - start) + lret /* Jump to real_code. */ + +real_code: + subw $0x20, %ax + movw %ax, %ds + movw (setup_sects - data_start), %cx + shlw $7, %cx + + /* Setup stack. */ + + xorw %si, %si + movw %si, %ss + movw $(CODE_ADDR), %sp + + /* Move itself to 0:CODE_ADDR. */ + + cld + movw %cs, %ax + movw %ax, %ds + movw $(CODE_ADDR >> 4), %ax + movw %ax, %es + movw %si, %di + + rep + movsl + ljmp $(CODE_ADDR >> 4), $(real_code_2 - start) + +real_code_2: + + xchgl %ebp, %esi + orl %esi, %esi + jnz 1f + movw %ds, %si + shll $4, %esi + addl %ebp, %esi +1: + + pushw %es + popw %ds + +#if GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART + 4 < 0x200 + movl $0x200, %ecx + addl %ecx, %esi +#else + movl $(GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART + 4), %ecx + addl $0x200, %esi +#endif + movl $DATA_ADDR, %edi + + call LOCAL(move_memory) + + /* Check for multiboot signature. */ + cmpl $MULTIBOOT_HEADER_MAGIC, %ss:(DATA_ADDR + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART) + jz 1f + + movl (ramdisk_image - start), %esi + movl (ramdisk_size - start), %ecx + movl $(DATA_ADDR - 0x200), %edi + jmp 2f + +1: + + movl %ss:(DATA_ADDR + GRUB_KERNEL_MACHINE_COMPRESSED_SIZE), %ecx +#if GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART + 4 < 0x200 + addl $(GRUB_KERNEL_MACHINE_RAW_SIZE - 0x200), %ecx +#else + addl $(GRUB_KERNEL_MACHINE_RAW_SIZE - (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART + 4)), %ecx +#endif + +2: + call LOCAL(move_memory) + + movsbl %dh, %eax + movl %eax, %ss:(DATA_ADDR + GRUB_KERNEL_MACHINE_INSTALL_DOS_PART) + movsbl (reg_edx + 2 - start), %eax + movl %eax, %ss:(DATA_ADDR + GRUB_KERNEL_MACHINE_INSTALL_BSD_PART) + + movb $0xFF, %dh + + ljmp $(DATA_ADDR >> 4), $0 + +/* + * Parameters: + * esi: source address + * edi: target address + * ecx: number of bytes + */ + +LOCAL(move_memory): + incl %ecx + andb $0xFE, %cl + pushw %dx +1: + pushl %esi + pushl %edi + pushl %ecx + cmpl $BLCK_LENG, %ecx + jbe 2f + movl $BLCK_LENG, %ecx +2: + pushl %ecx + + movl %esi, %eax + movw %si, (gdt_src1 - start) + shrl $16, %eax + movb %al, (gdt_src1 + 2 - start) + movb %ah, (gdt_src2 - start) + + movl %edi, %eax + movw %di, (gdt_dst1 - start) + shrl $16, %eax + movb %al, (gdt_dst1 + 2 - start) + movb %ah, (gdt_dst2 - start) + + movw $(gdt - start), %si + movb $0x87, %ah + shrw $1, %cx + + int $0x15 + + popl %eax + popl %ecx + popl %edi + popl %esi + + jnc 2f + movw $(err_int15_msg - start), %si + jmp LOCAL(fail) + +2: + + addl %eax, %esi + addl %eax, %edi + subl %eax, %ecx + jnz 1b + + + popw %dx + ret + +/* + * Parameters: + * si: message + */ + +LOCAL(fail): + movb $0x0e, %ah + xorw %bx, %bx +1: + lodsb (%si), %al + int $0x10 + cmpb $0, %al + jne 1b +1: jmp 1b + +err_int15_msg: + .ascii "move memory fails\0" + + . = _start + CODE_SECTORS * 512 diff --git a/grub-core/boot/i386/pc/pxeboot.S b/grub-core/boot/i386/pc/pxeboot.S new file mode 100644 index 0000000..446bfc7 --- /dev/null +++ b/grub-core/boot/i386/pc/pxeboot.S @@ -0,0 +1,42 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000,2005,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + + .file "pxeboot.S" + .text + + /* Start with the prehistoric environment... */ + .code16 + + /* Let's go */ +.globl start, _start; +_start: +start: + + /* Use drive number 0x7F for PXE */ + movb $GRUB_BOOT_MACHINE_PXE_DL, %dl + + /* Jump to the real world */ + ljmp $0, $0x8200 + + /* This region is a junk. Do you say that this is wasteful? + But I like that the memory layout of the body is consistent + among different kernels rather than scamping just for 1.5KB. */ + . = _start + 0x8200 - 0x7C00 - 0x200 - 1 + .byte 0 diff --git a/grub-core/boot/i386/qemu/boot.S b/grub-core/boot/i386/qemu/boot.S new file mode 100644 index 0000000..97aeab9 --- /dev/null +++ b/grub-core/boot/i386/qemu/boot.S @@ -0,0 +1,68 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + + .text + .code16 + .globl _start +_start: + /* Disable interrupts. */ + cli + + jmp 1f + + . = _start + GRUB_BOOT_I386_QEMU_CORE_ENTRY_ADDR +VARIABLE(grub_core_entry_addr) + .long 0 +1: + + /* Set up %ds, %ss, and %es. */ + xorw %ax, %ax + movw %ax, %ds + movw %ax, %ss + movw %ax, %es + + /* Set up the real mode stack. */ + movl $GRUB_MEMORY_MACHINE_REAL_STACK, %esp + + /* Transition to protected mode. We use pushl to force generation + of a flat return address. */ + pushl $1f + DATA32 jmp real_to_prot + .code32 +1: + movl grub_core_entry_addr, %edx + jmp *%edx + +#include "../../../kern/i386/realmode.S" + + /* Intel, in its infinite wisdom, decided to put the i8086 entry point + *right here* and this is why we need this kludge. */ + + . = GRUB_BOOT_MACHINE_SIZE - 16 + + .code16 + + jmp _start + . = GRUB_BOOT_MACHINE_SIZE diff --git a/grub-core/boot/mips/startup_raw.S b/grub-core/boot/mips/startup_raw.S new file mode 100644 index 0000000..6ba04c1 --- /dev/null +++ b/grub-core/boot/mips/startup_raw.S @@ -0,0 +1,196 @@ +/* startup.S - Startup code for the MIPS. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +#define BASE_ADDR 8 + +.extern __bss_start +.extern _end + + .globl __start, _start, start + .set noreorder + .set nomacro +__start: +_start: +start: + + bal codestart + nop +base: + . = _start + GRUB_KERNEL_MACHINE_COMPRESSED_SIZE +compressed_size: + .long 0 + . = _start + GRUB_KERNEL_MACHINE_UNCOMPRESSED_SIZE +uncompressed_size: + .long 0 +codestart: + /* Save our base. */ + move $s0, $ra + + /* Parse arguments. Has to be done before relocation. + So need to do it in asm. */ +#ifdef GRUB_MACHINE_MIPS_YEELOONG + move $s2, $zero + move $s3, $zero + move $s4, $zero + move $s5, $zero + + /* $a2 has the environment. */ + addiu $t0, $a2, 1 + beq $t0, $zero, argdone + nop + move $t0, $a2 +argcont: + lw $t1, 0($t0) + beq $t1, $zero, argdone + nop +#define DO_PARSE(str, reg) \ + addiu $t2, $s0, (str-base);\ + bal parsestr;\ + nop ;\ + beq $v0, $zero, 1f;\ + nop ;\ + b 2f;\ + move reg, $v0; \ +1: + DO_PARSE (busclockstr, $s2) + DO_PARSE (cpuclockstr, $s3) + DO_PARSE (memsizestr, $s4) + DO_PARSE (highmemsizestr, $s5) +2: + b argcont + addiu $t0, $t0, 4 +parsestr: + move $v0, $zero + move $t3, $t1 +3: + lb $t4, 0($t2) + lb $t5, 0($t3) + addiu $t2, $t2, 1 + addiu $t3, $t3, 1 + beq $t5, $zero, 1f + nop + beq $t5, $t4, 3b + nop + bne $t4, $zero, 1f + nop + + addiu $t3, $t3, 0xffff +digcont: + lb $t5, 0($t3) + /* Substract '0' from digit. */ + addiu $t5, $t5, 0xffd0 + bltz $t5, 1f + nop + addiu $t4, $t5, 0xfff7 + bgtz $t4, 1f + nop + /* Multiply $v0 by 10 with bitshifts. */ + sll $v0, $v0, 1 + sll $t4, $v0, 2 + addu $v0, $v0, $t4 + addu $v0, $v0, $t5 + addiu $t3, $t3, 1 + b digcont + nop +1: + jr $ra + nop +busclockstr: .asciiz "busclock=" +cpuclockstr: .asciiz "cpuclock=" +memsizestr: .asciiz "memsize=" +highmemsizestr: .asciiz "highmemsize=" + .p2align 2 +argdone: +#endif + /* Copy the decompressor. */ + lui $t1, %hi(base) + addiu $t1, $t1, %lo(base) + lui $t3, %hi(__bss_start) + addiu $t3, $t3, %lo(__bss_start) + move $t2, $s0 + +1: + beq $t1, $t3, 2f + lb $t4, 0($t2) + sb $t4, 0($t1) + addiu $t1, $t1, 1 + b 1b + addiu $t2, $t2, 1 +2: + /* Clean out its BSS. */ + lui $t1, %hi(__bss_start) + addiu $t1, $t1, %lo(__bss_start) + lui $t2, %hi(_end) + addiu $t2, $t2, %lo(_end) +1: + beq $t1, $t2, 2f + nop + sb $zero, 0($t1) + b 1b + addiu $t1, $t1, 1 +2: + lui $a0, %hi(base) + addiu $a0, $a0, %lo(base) + lui $a1, %hi(_end) + addiu $a1, %lo(_end) + subu $a1,$a1,$a0 + +#include "../../kern/mips/cache_flush.S" + + /* Decompress the payload. */ + lui $a0, %hi(__bss_start) + addiu $a0, $a0, %lo(__bss_start) + lui $t0, %hi(base) + addiu $t0, $t0, %lo(base) + subu $a0, $a0, $t0 + addu $a0, $a0, $s0 + + lui $a1, %hi(GRUB_MACHINE_LINK_ADDR) + addiu $a1, %lo(GRUB_MACHINE_LINK_ADDR) + lw $a2, (GRUB_KERNEL_MACHINE_COMPRESSED_SIZE - BASE_ADDR)($s0) + lw $a3, (GRUB_KERNEL_MACHINE_UNCOMPRESSED_SIZE - BASE_ADDR)($s0) + move $s1, $a1 + + /* $a0 contains source compressed address, $a1 is destination, + $a2 is compressed size, $a3 is uncompressed size. + */ + move $s6, $a3 + + lui $t0, %hi(EXT_C(grub_decompress_core)) + addiu $t0, $t0, %lo(EXT_C(grub_decompress_core)) + + lui $sp, %hi(_start - 256) + jalr $t0 + addiu $sp, $sp, %lo(_start - 256) + + move $a0, $s1 + move $a1, $s6 + +#include "../../kern/mips/cache_flush.S" + + lui $t1, %hi(GRUB_MACHINE_LINK_ADDR) + addiu $t1, %lo(GRUB_MACHINE_LINK_ADDR) + + jr $t1 + nop diff --git a/grub-core/boot/mips/yeeloong/fwstart.S b/grub-core/boot/mips/yeeloong/fwstart.S new file mode 100644 index 0000000..2eec876 --- /dev/null +++ b/grub-core/boot/mips/yeeloong/fwstart.S @@ -0,0 +1,632 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000,2001,2002,2003,2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + + .set noreorder + .set noat + .set nomacro + .set mips3 + + .global start,_start,__start +start: +_start: +__start: + bal serial_hw_init + nop + /* Find CS5536 controller. */ + /* $t4 chooses device in priority encoding. */ + /* Resulting value is kept in GRUB_MACHINE_PCI_CONF_CTRL_REG. + This way we don't need to sacrifice a register for it. */ + /* We have only one bus (0). Function is 0. */ + lui $t0, %hi(GRUB_MACHINE_PCI_CONF_CTRL_REG_ADDR) + lui $t1, %hi(GRUB_MACHINE_PCI_CONFSPACE) + lui $t3, %hi(GRUB_CS5536_PCIID) + addiu $t3, $t3, %lo(GRUB_CS5536_PCIID) + ori $t4, $zero, 1 + lui $a0, %hi(no_cs5536) +1: + andi $t4, $t4, ((1 << GRUB_PCI_NUM_DEVICES) - 1) + beql $t4, $zero, fatal + addiu $a0, $a0, %lo(no_cs5536) + sw $t4, %lo(GRUB_MACHINE_PCI_CONF_CTRL_REG_ADDR) ($t0) + lw $t2, (%lo(GRUB_MACHINE_PCI_CONFSPACE) + GRUB_PCI_REG_PCI_ID) ($t1) + bnel $t2, $t3, 1b + sll $t4, $t4, 1 + + bal message + addiu $a0, $a0, %lo(cs5536_found) + bal printhex + move $a0, $t4 + + /* Initialise SMBus controller. */ + /* Set GPIO LBAR. */ + lui $a0, %hi(GRUB_CS5536_MSR_GPIO_BAR) + addiu $a0, $a0, %lo(GRUB_CS5536_MSR_GPIO_BAR) + ori $a1, $zero, GRUB_CS5536_LBAR_GPIO + /* Set mask to 0xf and enabled bit to 1. */ + bal wrmsr + ori $a2, $zero, ((GRUB_CS5536_LBAR_MASK_MASK \ + | GRUB_CS5536_LBAR_ENABLE) >> 32) + + /* Set SMBUS LBAR. */ + lui $a0, %hi(GRUB_CS5536_MSR_SMB_BAR) + addiu $a0, $a0, %lo(GRUB_CS5536_MSR_SMB_BAR) + ori $a1, $zero, GRUB_CS5536_LBAR_SMBUS + /* Set mask to 0xf and enabled bit to 1. */ + bal wrmsr + ori $a2, $zero, ((GRUB_CS5536_LBAR_MASK_MASK \ + | GRUB_CS5536_LBAR_ENABLE) >> 32) + + lui $a0, %hi(smbus_enabled) + bal message + addiu $a0, $a0, %lo(smbus_enabled) + + /* Enable SMBus controller pins. */ + lui $t0, %hi(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_GPIO) + ori $t1, $zero, GRUB_GPIO_SMBUS_PINS + sw $t1, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_GPIO + GRUB_GPIO_REG_OUT_EN) ($t0) + sw $t1, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_GPIO + GRUB_GPIO_REG_OUT_AUX1) ($t0) + sw $t1, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_GPIO + GRUB_GPIO_REG_IN_EN) ($t0) + sw $t1, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_GPIO + GRUB_GPIO_REG_IN_AUX1) ($t0) + + lui $t0, %hi(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_SMBUS) + + /* Disable SMB. */ + sb $zero, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL2) ($t0) + + /* Disable interrupts. */ + sb $zero, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1) ($t0) + + /* Set as master. */ + sb $zero, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_ADDR) ($t0) + + /* Launch SMBus controller at slowest speed possible. */ + ori $t1, $zero, 0xff + sb $t1, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL3) ($t0) + sb $t1, %lo(GRUB_MACHINE_PCI_IO_BASE + GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL2) ($t0) + + /* Yeeloong has only one memory slot. */ + /* Output first byte on serial for debugging. */ + ori $a1, $zero, GRUB_SMB_RAM_START_ADDR + bal read_spd + move $a0, $zero + bal printhex + move $a0, $v0 + + bal read_spd + ori $a0, $zero, GRUB_SMBUS_SPD_MEMORY_TYPE_ADDR + ori $t0, $zero, GRUB_SMBUS_SPD_MEMORY_TYPE_DDR2 + lui $a0, %hi(unimplemented_memory_type) + bne $t0, $v0, fatal + addiu $a0, $a0, %lo(unimplemented_memory_type) + + /* And here is our goal: DDR2 controller initialisation. */ + lui $t0, %hi(GRUB_CPU_LOONGSON_CORECFG) + ld $t1, %lo(GRUB_CPU_LOONGSON_CORECFG) ($t0) + /* Use addiu for sign-extension. */ + addiu $t2, $zero, ~(GRUB_CPU_LOONGSON_CORECFG_DISABLE_DDR2_SPACE|GRUB_CPU_LOONGSON_CORECFG_BUFFER_CPU) + and $t1, $t1, $t2 + sd $t1, %lo (GRUB_CPU_LOONGSON_CORECFG) ($t0) + + b continue + + . = start + GRUB_CPU_LOONGSON_FLASH_TLB_REFILL - GRUB_CPU_LOONGSON_FLASH_START +tlb_refill: + mfc0 $s1, GRUB_CPU_LOONGSON_COP0_EPC + mfc0 $s2, GRUB_CPU_LOONGSON_COP0_BADVADDR + move $s3, $ra + lui $a0, %hi(epc) + bal message + addiu $a0, $a0, %lo(epc) + + bal printhex + move $a0, $s1 + + lui $a0, %hi(badvaddr) + bal message + addiu $a0, $a0, %lo(badvaddr) + + bal printhex + move $a0, $s2 + + lui $a0, %hi(return_msg) + bal message + addiu $a0, $a0, %lo(return_msg) + + bal printhex + move $a0, $s3 + + lui $a0, %hi(newline) + bal message + addiu $a0, $a0, %lo(newline) + + lui $a0, %hi(unhandled_tlb_refill) + b fatal + addiu $a0, $a0, %lo(unhandled_tlb_refill) + + . = start + GRUB_CPU_LOONGSON_FLASH_CACHE_ERROR - GRUB_CPU_LOONGSON_FLASH_START +cache_error: + lui $a0, %hi(unhandled_cache_error) + b fatal + addiu $a0, $a0, %lo(unhandled_cache_error) + + . = start + GRUB_CPU_LOONGSON_FLASH_OTHER_EXCEPTION - GRUB_CPU_LOONGSON_FLASH_START +other_exception: + mfc0 $s0, GRUB_CPU_LOONGSON_COP0_CAUSE + mfc0 $s1, GRUB_CPU_LOONGSON_COP0_EPC + mfc0 $s2, GRUB_CPU_LOONGSON_COP0_BADVADDR + lui $a0, %hi(cause) + bal message + addiu $a0, $a0, %lo(cause) + + bal printhex + move $a0, $s0 + + lui $a0, %hi(epc) + bal message + addiu $a0, $a0, %lo(epc) + + bal printhex + move $a0, $s1 + + lui $a0, %hi(badvaddr) + bal message + addiu $a0, $a0, %lo(badvaddr) + + bal printhex + move $a0, $s2 + + lui $a0, %hi(newline) + bal message + addiu $a0, $a0, %lo(newline) + + lui $a0, %hi(unhandled_exception) + b fatal + addiu $a0, $a0, %lo(unhandled_exception) + + /* Same as similarly named C function but in asm since + we need it early. */ + /* In: none. Out: none. Clobbered: $t0, $t1, $a0. */ +serial_hw_init: + lui $t0, %hi (GRUB_MACHINE_SERIAL_PORT) + + /* Turn off the interrupt. */ + sb $zero, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_IER)($t0) + + /* Set DLAB. */ + ori $t1, $zero, UART_DLAB + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_LCR)($t0) + + /* Set the baud rate 115200. */ + ori $t1, $zero, GRUB_MACHINE_SERIAL_DIVISOR_115200 + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_DLL)($t0) + sb $zero, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_DLH)($t0) + + /* Set the line status. */ + ori $t1, $zero, (UART_NO_PARITY | UART_8BITS_WORD | UART_1_STOP_BIT) + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_LCR)($t0) + + /* Enable the FIFO. */ + ori $t1, $zero, UART_ENABLE_FIFO_TRIGGER1 + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_FCR)($t0) + + /* Turn on DTR and RTS. */ + ori $t1, $zero, UART_ENABLE_DTRRTS + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_MCR)($t0) + + /* Let message return to original caller. */ + lui $a0, %hi(notification_string) + addiu $a0, $a0, %lo(notification_string) + + /* Print message on serial console. */ + /* In: $a0 = asciiz message. Out: none. Clobbered: $t0, $t1, $a0. */ +message: + lui $t0, %hi (GRUB_MACHINE_SERIAL_PORT) +1: + lb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_LSR)($t0) + andi $t1, $t1, UART_EMPTY_TRANSMITTER + beq $t1, $zero, 1b + nop + lb $t1, 0($a0) + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_TX)($t0) + bne $t1, $zero, 1b + addiu $a0, $a0, 1 + jr $ra + nop + + /* Print 32-bit hexadecimal on serial. + In: $a0. Out: None. Clobbered: $a0, $t0, $t1, $t2 + */ +printhex: + lui $t0, %hi (GRUB_MACHINE_SERIAL_PORT) + ori $t2, $zero, 8 +1: + lb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_LSR)($t0) + andi $t1, $t1, UART_EMPTY_TRANSMITTER + beq $t1, $zero, 1b + nop + srl $t1, $a0, 28 + addiu $t1, $t1, -10 + blt $t1, $zero, 2f + sll $a0, $a0, 4 + addiu $t1, $t1, 'A'-10-'0' +2: addiu $t1, $t1, '0'+10 + sb $t1, (%lo (GRUB_MACHINE_SERIAL_PORT) + UART_TX)($t0) + addiu $t2, $t2, -1 + bne $t2, $zero, 1b + nop + jr $ra + nop + +fatal: + bal message + nop +self: + b self + nop + + /* Write CS5536 MSR. + In: $a0 address, $a1 lower word, $a2 upper word. + Out: None + Clobbered: $t0 + */ +wrmsr: + lui $t0, %hi(GRUB_MACHINE_PCI_CONFSPACE) + sw $a0, (%lo(GRUB_MACHINE_PCI_CONFSPACE) + GRUB_CS5536_MSR_MAILBOX_ADDR) ($t0) + sw $a1, (%lo(GRUB_MACHINE_PCI_CONFSPACE) + GRUB_CS5536_MSR_MAILBOX_DATA0) ($t0) + jr $ra + sw $a2, (%lo(GRUB_MACHINE_PCI_CONFSPACE) + GRUB_CS5536_MSR_MAILBOX_DATA1) ($t0) + + /* Wait for SMBus data or empty transmitter. */ + /* In: $a0 = exception handler. Out: none. Clobbered: $t0, $t1 */ +smbus_wait: +1: + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_STATUS + GRUB_MACHINE_PCI_IO_BASE) + lb $t0, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_STATUS + GRUB_MACHINE_PCI_IO_BASE) ($t0) + andi $t1, $t0, GRUB_CS5536_SMB_REG_STATUS_SDAST + bne $t1, $zero, return + nop + andi $t1, $t0, (GRUB_CS5536_SMB_REG_STATUS_BER | GRUB_CS5536_SMB_REG_STATUS_NACK) + beq $t1, $zero, 1b + nop + jr $a0 + nop +return: + jr $ra + nop + + /* Read SPD byte. In: $a0 byte, $a1 device. Out: $v0 read byte (0x100 on failure). + Clobbered: $t0, $t1, $t2, $t3, $a0. */ +read_spd: + move $t2, $a0 + move $t3, $ra + lui $a0, %hi(read_spd_fail) + addiu $a0, $a0, %hi(read_spd_fail) + + /* Send START. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) + lb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + ori $t1, $t1, GRUB_CS5536_SMB_REG_CTRL1_START + bal smbus_wait + sb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + /* Send device address. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) + sll $t1, $a1, 1 + bal smbus_wait + sb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + /* Send ACK. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) + lb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + ori $t1, $t1, GRUB_CS5536_SMB_REG_CTRL1_ACK + sb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + /* Send byte address. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) + bal smbus_wait + sb $t2, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + /* Send START. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) + lb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + ori $t1, $t1, GRUB_CS5536_SMB_REG_CTRL1_START + bal smbus_wait + sb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + /* Send device address. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) + sll $t1, $a1, 1 + ori $t1, $t1, 1 + bal smbus_wait + sb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + /* Send STOP. */ + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) + lb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + ori $t1, $t1, GRUB_CS5536_SMB_REG_CTRL1_STOP + bal smbus_wait + sb $t1, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_CTRL1 + GRUB_MACHINE_PCI_IO_BASE) ($t0) + + lui $t0, %hi(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) + lb $v0, %lo(GRUB_CS5536_LBAR_SMBUS + GRUB_CS5536_SMB_REG_DATA + GRUB_MACHINE_PCI_IO_BASE) ($t0) + jr $t3 + andi $v0, $v0, 0xff +read_spd_fail: + jr $t3 + ori $v0, $v0, 0x100 + +notification_string: .asciz "GRUB " +no_cs5536: .asciz "No CS5536 found.\n\r" +cs5536_found: .asciz "CS5536 at " +sm_failed: .asciz "SM transaction failed.\n\r" +unhandled_tlb_refill: .asciz "Unhandled TLB refill.\n\r" +unhandled_cache_error: .asciz "Unhandled cache error.\n\r" +unhandled_exception: .asciz "Unhandled exception.\n\r" +smbus_enabled: .asciz "SMBus controller enabled.\n\r" +unimplemented_memory_type: .asciz "non-DDR2 memory isn't supported.\n\r" +no_cas_latency: .asciz "Couldn't determine CAS latency.\n\r" +cause: .asciz "Cause: " +epc: .asciz "\n\rEPC: " +badvaddr: .asciz "\n\rBadVaddr: " +newline: .asciz "\n\r" +return_msg: .asciz "\n\rReturn address: " +caches_enabled: .asciz "Caches enabled\n\r" + + .p2align 3 + +regdump: + .quad 0x0100010000000101 /* 0 */ + .quad 0x0100010100000000 /* 2 */ + .quad 0x0101000001000000 /* 3 */ + .quad 0x0100020200010101 /* 4 */ + .quad 0x0a04030603050203 /* 6 */ + .quad 0x0f0e040000010a0b /* 7 */ + .quad 0x0000010200000102 /* 8 */ + .quad 0x0000060c00000000 /* 9 */ + .quad 0x2323233f3f1f0200 /* a */ + .quad 0x5f7f232323232323 /* b */ + .quad 0x002a3c0615000000 /* c */ + .quad 0x002a002a002a002a /* d */ + .quad 0x002a002a002a002a /* e */ + .quad 0x00b40020006d0004 /* f */ + .quad 0x070007ff00000087 /* 10 */ + .quad 0x000000000016101f /* 11 */ + .quad 0x001c000000000000 /* 12 */ + .quad 0x28e1000200c8006b /* 13 */ + .quad 0x0000204200c8002f /* 14 */ + .quad 0x0000000000030d40 /* 15 */ + .quad 0 /* 16 */ + .quad 0 /* 17 */ + .quad 0 /* 18 */ + .quad 0 /* 19 */ + .quad 0 /* 1a */ + .quad 0 /* 1b */ + .quad 0 /* 1c */ + + .p2align + +write_dumpreg: + ld $t2, 0($t6) + sd $t2, 0($t4) + addiu $t4, $t4, GRUB_CPU_LOONGSON_DDR2_REG_STEP + jr $ra + addiu $t6, $t6, GRUB_CPU_LOONGSON_DDR2_REG_SIZE + +continue: + lui $t4, %hi(GRUB_CPU_LOONGSON_DDR2_BASE) + addiu $t4, $t4, %lo(GRUB_CPU_LOONGSON_DDR2_BASE) + lui $t6, %hi(regdump) + + /* 0 */ + bal write_dumpreg + addiu $t6, $t6, %lo(regdump) + + /* 1 */ + ori $a1, $a1, GRUB_SMB_RAM_START_ADDR + move $t8, $zero + lui $t5, 0x0001 + bal read_spd + ori $a0, $zero, GRUB_SMBUS_SPD_MEMORY_NUM_BANKS_ADDR + ori $t7, $zero, 8 + bne $v0, $t7, 1f + ori $t5, $t5, 0x0001 + ori $t8, $t8, GRUB_CPU_LOONGSON_DDR2_REG1_HI_8BANKS +1: + dsll $t8, $t8, 32 + or $t5, $t5, $t8 + sd $t5, 0 ($t4) + addiu $t4, $t4, GRUB_CPU_LOONGSON_DDR2_REG_STEP + + /* 2 */ + bal write_dumpreg + nop + + /* 3 */ + bal write_dumpreg + nop + + /* 4 */ + bal write_dumpreg + nop + + /* 5 */ + /* FIXME: figure termination resistance. */ + ori $t5, $zero, 0x2 + bal read_spd + ori $a0, $zero, GRUB_SMBUS_SPD_MEMORY_NUM_ROWS_ADDR + /* $v0 = 15 - $v0. */ + xori $v0, $v0, 0xf + andi $v0, $v0, 0x7 + sll $v0, $v0, 8 + or $t5, $t5, $v0 + + /* Find the fastest supported CAS latency. */ + bal read_spd + ori $a0, $zero, GRUB_SMBUS_SPD_MEMORY_CAS_LATENCY_ADDR + ori $t0, $zero, GRUB_SMBUS_SPD_MEMORY_CAS_LATENCY_MIN_VALUE + ori $t1, $zero, (1 << GRUB_SMBUS_SPD_MEMORY_CAS_LATENCY_MIN_VALUE) +2: + and $t2, $t1, $v0 + bne $t2, $zero, 1f + ori $t3, $zero, 8 + lui $a0, %hi(no_cas_latency) + beq $t0, $t3, fatal + addiu $a0, $a0, %lo(no_cas_latency) + addiu $t0, $t0, 1 + b 2b + sll $t1, $t1, 1 +1: + sll $t0, $t0, 16 + or $t5, $t5, $t0 + + bal read_spd + ori $a0, $zero, GRUB_SMBUS_SPD_MEMORY_NUM_COLUMNS_ADDR + /* $v0 = 15 - ($v0 + 1) = 14 - $v0. */ + addiu $v0, $v0, 1 + xori $v0, $v0, 0xf + andi $v0, $v0, 0x7 + sll $v0, 24 + or $t5, $t5, $v0 + sd $t5, 0 ($t4) + + addiu $t4, $t4, GRUB_CPU_LOONGSON_DDR2_REG_STEP + + ori $t7, $zero, 0x16 + +1: + ld $t2, 0($t6) + sd $t2, 0($t4) + addiu $t4, $t4, GRUB_CPU_LOONGSON_DDR2_REG_STEP + addiu $t7, $t7, -1 + bne $t7, $zero, 1b + addiu $t6, $t6, GRUB_CPU_LOONGSON_DDR2_REG_SIZE + + lui $t4, %hi(GRUB_CPU_LOONGSON_DDR2_BASE) + ld $t5, (%lo(GRUB_CPU_LOONGSON_DDR2_BASE) + 0x30) ($t4) + ori $t0, $zero, 1 + dsll $t0, $t0, 40 + or $t5, $t5, $t0 + sd $t5, (%lo(GRUB_CPU_LOONGSON_DDR2_BASE) + 0x30) ($t4) + + /* Desactivate DDR2 registers. */ + lui $t0, %hi (GRUB_CPU_LOONGSON_CORECFG) + ld $t1, %lo (GRUB_CPU_LOONGSON_CORECFG) ($t0) + ori $t1, $t1, GRUB_CPU_LOONGSON_CORECFG_DISABLE_DDR2_SPACE + sd $t1, %lo (GRUB_CPU_LOONGSON_CORECFG) ($t0) + + /* Enable cache. */ + mfc0 $t0, GRUB_CPU_LOONGSON_COP0_CACHE_CONFIG + addiu $t1, $zero, ~GRUB_CPU_LOONGSON_CACHE_TYPE_MASK + and $t0, $t1, $t1 + /* Set line size to 32 bytes and disabled cache. */ + ori $t0, $t0, (GRUB_CPU_LOONGSON_COP0_CACHE_CONFIG_ILINESIZE \ + | GRUB_CPU_LOONGSON_COP0_CACHE_CONFIG_DLINESIZE \ + | GRUB_CPU_LOONGSON_CACHE_ACCELERATED) + mtc0 $t0, GRUB_CPU_LOONGSON_COP0_CACHE_CONFIG + + /* Invalidate all I-cache entries. */ + srl $t1, $t0, GRUB_CPU_LOONGSON_COP0_CACHE_ISIZE_SHIFT + andi $t1, $t1, GRUB_CPU_LOONGSON_COP0_CACHE_SIZE_MASK + ori $t2, $zero, (1 << (GRUB_CPU_LOONGSON_COP0_CACHE_SIZE_OFFSET \ + - GRUB_CPU_LOONGSON_CACHE_LINE_SIZE_LOG_BIG \ + - GRUB_CPU_LOONGSON_I_CACHE_LOG_WAYS)) + sll $t1, $t2, $t1 + lui $t2, 0x8000 + +1: + cache GRUB_CPU_LOONGSON_COP0_I_INDEX_INVALIDATE, 0($t2) + addiu $t1, $t1, -1 + bne $t1, $zero, 1b + addiu $t2, $t2, (1 << GRUB_CPU_LOONGSON_COP0_I_INDEX_BIT_OFFSET) + + /* Invalidate all D-cache entries. */ + srl $t1, $t0, GRUB_CPU_LOONGSON_COP0_CACHE_DSIZE_SHIFT + andi $t1, $t1, GRUB_CPU_LOONGSON_COP0_CACHE_SIZE_MASK + ori $t2, $zero, (1 << (GRUB_CPU_LOONGSON_COP0_CACHE_SIZE_OFFSET \ + - GRUB_CPU_LOONGSON_CACHE_LINE_SIZE_LOG_BIG \ + - GRUB_CPU_LOONGSON_D_CACHE_LOG_WAYS)) + sll $t1, $t2, $t1 + lui $t2, 0x8000 + mtc0 $zero, GRUB_CPU_LOONGSON_COP0_CACHE_TAGLO + mtc0 $zero, GRUB_CPU_LOONGSON_COP0_CACHE_TAGHI +1: + /* All four ways. */ + cache GRUB_CPU_LOONGSON_COP0_D_INDEX_TAG_STORE, 0($t2) + cache GRUB_CPU_LOONGSON_COP0_D_INDEX_TAG_STORE, 1($t2) + cache GRUB_CPU_LOONGSON_COP0_D_INDEX_TAG_STORE, 2($t2) + cache GRUB_CPU_LOONGSON_COP0_D_INDEX_TAG_STORE, 3($t2) + addiu $t1, $t1, -1 + bne $t1, $zero, 1b + addiu $t2, $t2, (1 << GRUB_CPU_LOONGSON_COP0_D_INDEX_BIT_OFFSET) + + /* Invalidate all S-cache entries. */ + ori $t1, $zero, (1 << (GRUB_CPU_LOONGSON_SECONDARY_CACHE_LOG_SIZE \ + - GRUB_CPU_LOONGSON_CACHE_LINE_SIZE_LOG_BIG \ + - GRUB_CPU_LOONGSON_S_CACHE_LOG_WAYS)) + lui $t2, 0x8000 + mtc0 $zero, GRUB_CPU_LOONGSON_COP0_CACHE_TAGLO + mtc0 $zero, GRUB_CPU_LOONGSON_COP0_CACHE_TAGHI +1: + /* All four ways. */ + cache GRUB_CPU_LOONGSON_COP0_S_INDEX_TAG_STORE, 0($t2) + cache GRUB_CPU_LOONGSON_COP0_S_INDEX_TAG_STORE, 1($t2) + cache GRUB_CPU_LOONGSON_COP0_S_INDEX_TAG_STORE, 2($t2) + cache GRUB_CPU_LOONGSON_COP0_S_INDEX_TAG_STORE, 3($t2) + addiu $t1, $t1, -1 + bne $t1, $zero, 1b + addiu $t2, $t2, (1 << GRUB_CPU_LOONGSON_COP0_D_INDEX_BIT_OFFSET) + + /* Finally enable cache. */ + mfc0 $t0, GRUB_CPU_LOONGSON_COP0_CACHE_CONFIG + addiu $t1, $zero, ~GRUB_CPU_LOONGSON_CACHE_TYPE_MASK + and $t0, $t1, $t1 + ori $t0, $t0, GRUB_CPU_LOONGSON_CACHE_CACHED + mtc0 $t0, GRUB_CPU_LOONGSON_COP0_CACHE_CONFIG + + lui $a0, %hi(caches_enabled) + bal message + addiu $a0, $a0, %lo(caches_enabled) + + /* Set ROM delay cycles to 1. */ + lui $t0, %hi(GRUB_CPU_LOONGSON_LIOCFG) + lw $t1, %lo(GRUB_CPU_LOONGSON_LIOCFG) ($t0) + addiu $t2, $zero, ~(GRUB_CPU_LOONGSON_ROM_DELAY_MASK \ + << GRUB_CPU_LOONGSON_ROM_DELAY_OFFSET) + and $t1, $t1, $t2 + ori $t1, $t1, (1 << GRUB_CPU_LOONGSON_ROM_DELAY_OFFSET) + sw $t1, %lo(GRUB_CPU_LOONGSON_LIOCFG) ($t0) + + addiu $a0, $zero, -1 + addiu $a1, $zero, -1 + + /* Take advantage of cache. */ + lui $t0, %hi(cached_continue - 0x20000000) + addiu $t0, $t0, %lo(cached_continue - 0x20000000) + jr $t0 + addiu $a2, $zero, -1 + +cached_continue: \ No newline at end of file diff --git a/grub-core/boot/sparc64/ieee1275/boot.S b/grub-core/boot/sparc64/ieee1275/boot.S new file mode 100644 index 0000000..f08258f --- /dev/null +++ b/grub-core/boot/sparc64/ieee1275/boot.S @@ -0,0 +1,209 @@ +/* -*-Asm-*- */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + + .text + .align 4 + .globl _start +_start: + /* OF CIF entry point arrives in %o4 */ +pic_base: + call boot_continue + mov %o4, CIF_REG + + . = _start + GRUB_BOOT_MACHINE_VER_MAJ +boot_version: .byte GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR + + /* The offsets to these locations are defined by the + * GRUB_BOOT_MACHINE_foo macros in include/grub/sparc/ieee1275/boot.h, + * and grub-setup uses this to patch these next three values as needed. + * + * The boot_path will be the OF device path of the partition where the + * rest of the GRUB kernel image resides. kernel_sector will be set to + * the location of the first block of the GRUB kernel, and + * kernel_address is the location where we should load that first block. + * + * After loading in that block we will execute it by jumping to the + * load address plus the size of the prepended A.OUT header (32 bytes). + */ +boot_path: + . = _start + GRUB_BOOT_MACHINE_KERNEL_BYTE +boot_path_end: +kernel_byte: .xword (2 << 9) +kernel_address: .word GRUB_BOOT_MACHINE_KERNEL_ADDR + +prom_finddev_name: .asciz "finddevice" +prom_chosen_path: .asciz "/chosen" +prom_getprop_name: .asciz "getprop" +prom_stdout_name: .asciz "stdout" +prom_write_name: .asciz "write" +prom_bootpath_name: .asciz "bootpath" +prom_open_name: .asciz "open" +prom_seek_name: .asciz "seek" +prom_read_name: .asciz "read" +prom_exit_name: .asciz "exit" +grub_name: .asciz "GRUB " +#define GRUB_NAME_LEN 5 + + .align 4 + +prom_open_error: + GET_ABS(prom_open_name, %o2) + call console_write + mov 4, %o3 + /* fallthru */ + +prom_error: + GET_ABS(prom_exit_name, %o0) + /* fallthru */ + + /* %o0: OF call name + * %o1: input arg 1 + */ +prom_call_1_1_o2: + clr %o2 + ba prom_call_x_1 + mov 1, %g1 + +prom_call_getprop: + mov 4, %g1 + stx %g1, [%l1 + 256] + mov CHOSEN_NODE_REG, %o1 + ba prom_call_x_1 + GET_ABS(prom_getprop_name, %o0) + +prom_call_3_1_o1: + ba prom_call_3_1 + mov BOOTDEV_REG, %o1 + + + /* %o2: message string + * %o3: message length + */ +console_write: + GET_ABS(prom_write_name, %o0) + mov STDOUT_NODE_REG, %o1 + /* fallthru */ + + /* %o0: OF call name + * %o1: input arg 1 + * %o2: input arg 2 + * %o3: input arg 3 + */ +prom_call_3_1: + mov 3, %g1 +prom_call_x_1: + mov 1, %o5 + /* fallthru */ + + /* %o0: OF call name + * %g1: num inputs + * %o5: num outputs + * %o1-%o4: inputs + */ +prom_call: + stx %o0, [%l1 + 0x00] + stx %g1, [%l1 + 0x08] + stx %o5, [%l1 + 0x10] + stx %o1, [%l1 + 0x18] + stx %o2, [%l1 + 0x20] + stx %o3, [%l1 + 0x28] + stx %o4, [%l1 + 0x30] + jmpl CIF_REG, %g0 + mov %l1, %o0 + +boot_continue: + mov %o7, PIC_REG /* PIC base */ + sethi %hi(SCRATCH_PAD_BOOT), %l1 /* OF argument slots */ + + /* Find the /chosen node so we can fetch the stdout handle, + * and thus perform console output. + * + * chosen_node = prom_finddevice("/chosen") + */ + GET_ABS(prom_finddev_name, %o0) + call prom_call_1_1_o2 + GET_ABS(prom_chosen_path, %o1) + + ldx [%l1 + 0x20], CHOSEN_NODE_REG + brz CHOSEN_NODE_REG, prom_error + + /* getprop(chosen_node, "stdout", &buffer, buffer_size) */ + GET_ABS(prom_stdout_name, %o2) + add %l1, 256, %o3 + call prom_call_getprop + mov 1024, %o4 + + lduw [%l1 + 256], STDOUT_NODE_REG + brz,pn STDOUT_NODE_REG, prom_error + + /* write(stdout_node, "GRUB ", strlen("GRUB ")) */ + GET_ABS(grub_name, %o2) + call console_write + mov GRUB_NAME_LEN, %o3 + + GET_ABS(boot_path, %o3) + ldub [%o3], %o1 + brnz,pn %o1, bootpath_known + + /* getprop(chosen_node, "bootpath", &buffer, buffer_size) */ + GET_ABS(prom_bootpath_name, %o2) + call prom_call_getprop + mov (boot_path_end - boot_path), %o4 + +bootpath_known: + + /* Open up the boot_path, and use that handle to read the + * first block of the GRUB kernel image. + * + * bootdev_handle = open(boot_path) + */ + GET_ABS(prom_open_name, %o0) + call prom_call_1_1_o2 + GET_ABS(boot_path, %o1) + + ldx [%l1 + 0x20], BOOTDEV_REG + brz,pn BOOTDEV_REG, prom_open_error + + /* Since we have 64-bit cells, the high cell of the seek offset + * is zero and the low cell is the entire value. + * + * seek(bootdev, 0, *kernel_byte) + */ + GET_ABS(prom_seek_name, %o0) + clr %o2 + call prom_call_3_1_o1 + LDX_ABS(kernel_byte, 0x00, %o3) + + /* read(bootdev, *kernel_address, 512) */ + GET_ABS(prom_read_name, %o0) + LDUW_ABS(kernel_address, 0x00, %o2) + call prom_call_3_1_o1 + mov 512, %o3 + + LDUW_ABS(kernel_address, 0x00, %o2) + jmpl %o2, %o7 + nop + + . = _start + GRUB_BOOT_MACHINE_CODE_END + +/* the last 4 bytes in the sector 0 contain the signature */ + .word GRUB_BOOT_MACHINE_SIGNATURE diff --git a/grub-core/boot/sparc64/ieee1275/diskboot.S b/grub-core/boot/sparc64/ieee1275/diskboot.S new file mode 100644 index 0000000..83dfee0 --- /dev/null +++ b/grub-core/boot/sparc64/ieee1275/diskboot.S @@ -0,0 +1,146 @@ +/* -*-Asm-*- */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + + .text + .align 4 + .globl _start +_start: + /* First stage boot block jumps to us here. */ +pic_base: + call after_info_block + mov %o7, PIC_REG + +prom_write_name: .asciz "write" +prom_seek_name: .asciz "seek" +prom_read_name: .asciz "read" +prom_close_name: .asciz "close" + +notification_string: .asciz "Loading kernel" +#define NOTIFICATION_STRING_LEN 14 + +notification_step: .asciz "." +#define NOTIFICATION_STEP_LEN 1 + +notification_done: .asciz "\r\n" +#define NOTIFICATION_DONE_LEN 2 + + .align 4 + + /* %o2: message string + * %o3: message length + */ +console_write: + GET_ABS(prom_write_name, %o0) + mov STDOUT_NODE_REG, %o1 + /* fallthru */ + + /* %o0: OF call name + * %o1: input arg 1 + * %o2: input arg 2 + * %o3: input arg 3 + */ +prom_call_3_1: + mov 3, %g1 + mov 1, %o5 + /* fallthru */ + + /* %o0: OF call name + * %g1: num inputs + * %o5: num outputs + * %o1-%o4: inputs + */ +prom_call: + stx %o0, [%l1 + 0x00] + stx %g1, [%l1 + 0x08] + stx %o5, [%l1 + 0x10] + stx %o1, [%l1 + 0x18] + stx %o2, [%l1 + 0x20] + stx %o3, [%l1 + 0x28] + stx %o4, [%l1 + 0x30] + jmpl CIF_REG, %g0 + mov %l1, %o0 + + +after_info_block: + sethi %hi(SCRATCH_PAD_DISKBOOT), %l1 /* OF argument slots */ + + GET_ABS(notification_string, %o2) + call console_write + mov NOTIFICATION_STRING_LEN, %o3 + + GET_ABS(firstlist - GRUB_BOOT_SPARC64_IEEE1275_LIST_SIZE, %l2) + set GRUB_BOOT_SPARC64_IEEE1275_IMAGE_ADDRESS, %l3 +bootloop: + lduw [%l2 + 0x08], %o0 + brz %o0, bootit + lduw [%l2 + 0x00], %o3 + sllx %o3, 32, %o3 + lduw [%l2 + 0x04], %o4 + or %o3, %o4, %o3 + GET_ABS(prom_seek_name, %o0) + mov BOOTDEV_REG, %o1 + clr %o2 + call prom_call_3_1 + sllx %o3, 9, %o3 + + GET_ABS(prom_read_name, %o0) + mov BOOTDEV_REG, %o1 + lduw [%l2 + 0x08], %o3 + sllx %o3, 9, %o3 + mov %l3, %o2 + call prom_call_3_1 + add %l3, %o3, %l3 + + GET_ABS(notification_step, %o2) + call console_write + mov NOTIFICATION_STEP_LEN, %o3 + + ba bootloop + sub %l2, GRUB_BOOT_SPARC64_IEEE1275_LIST_SIZE, %l2 + +bootit: + GET_ABS(prom_close_name, %o0) + mov 1, %g1 + mov 0, %o5 + call prom_call + mov BOOTDEV_REG, %o1 + + GET_ABS(notification_done, %o2) + call console_write + mov NOTIFICATION_DONE_LEN, %o3 + sethi %hi(GRUB_BOOT_SPARC64_IEEE1275_IMAGE_ADDRESS), %o2 + jmpl %o2 + %lo(GRUB_BOOT_SPARC64_IEEE1275_IMAGE_ADDRESS), %o7 + mov CIF_REG, %o4 +1: ba,a 1b + +lastlist: + .word 0 + .word 0 + + . = _start + (0x200 - GRUB_BOOT_SPARC64_IEEE1275_LIST_SIZE) +blocklist_default_start: + .word 0 + .word 2 +blocklist_default_len: + .word 0 +firstlist: diff --git a/grub-core/bus/bonito.c b/grub-core/bus/bonito.c new file mode 100644 index 0000000..c2e0cd6 --- /dev/null +++ b/grub-core/bus/bonito.c @@ -0,0 +1,90 @@ +/* bonito.c - PCI bonito interface. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +static grub_uint32_t base_win[GRUB_MACHINE_PCI_NUM_WIN]; +static const grub_size_t sizes_win[GRUB_MACHINE_PCI_NUM_WIN] = + {GRUB_MACHINE_PCI_WIN1_SIZE, GRUB_MACHINE_PCI_WIN_SIZE, + GRUB_MACHINE_PCI_WIN_SIZE}; +/* Usage counters. */ +static int usage_win[GRUB_MACHINE_PCI_NUM_WIN]; +static grub_addr_t addr_win[GRUB_MACHINE_PCI_NUM_WIN] = + {GRUB_MACHINE_PCI_WIN1_ADDR, GRUB_MACHINE_PCI_WIN2_ADDR, + GRUB_MACHINE_PCI_WIN3_ADDR}; + +static inline void +write_bases (void) +{ + int i; + grub_uint32_t reg = 0; + for (i = 0; i < GRUB_MACHINE_PCI_NUM_WIN; i++) + reg |= (((base_win[i] >> GRUB_MACHINE_PCI_WIN_SHIFT) + & GRUB_MACHINE_PCI_WIN_MASK) + << (i * GRUB_MACHINE_PCI_WIN_MASK_SIZE)); + GRUB_MACHINE_PCI_IO_CTRL_REG = reg; +} + +volatile void * +grub_pci_device_map_range (grub_pci_device_t dev __attribute__ ((unused)), + grub_addr_t base, grub_size_t size) +{ + int i; + grub_addr_t newbase; + + /* First try already used registers. */ + for (i = 0; i < GRUB_MACHINE_PCI_NUM_WIN; i++) + if (usage_win[i] && base_win[i] <= base + && base_win[i] + sizes_win[i] > base + size) + { + usage_win[i]++; + return (void *) + (addr_win[i] | (base & GRUB_MACHINE_PCI_WIN_OFFSET_MASK)); + } + /* Map new register. */ + newbase = base & ~GRUB_MACHINE_PCI_WIN_OFFSET_MASK; + for (i = 0; i < GRUB_MACHINE_PCI_NUM_WIN; i++) + if (!usage_win[i] && newbase <= base + && newbase + sizes_win[i] > base + size) + { + usage_win[i]++; + base_win[i] = newbase; + write_bases (); + return (void *) + (addr_win[i] | (base & GRUB_MACHINE_PCI_WIN_OFFSET_MASK)); + } + grub_fatal ("Out of PCI windows."); +} + +void +grub_pci_device_unmap_range (grub_pci_device_t dev __attribute__ ((unused)), + volatile void *mem __attribute__ ((unused)), + grub_size_t size __attribute__ ((unused))) +{ + int i; + for (i = 0; i < GRUB_MACHINE_PCI_NUM_WIN; i++) + if (usage_win[i] && addr_win[i] + == (((grub_addr_t) mem) & ~GRUB_MACHINE_PCI_WIN_OFFSET_MASK)) + { + usage_win[i]--; + return; + } + grub_fatal ("Tried to unmap not mapped region"); +} diff --git a/grub-core/bus/cs5536.c b/grub-core/bus/cs5536.c new file mode 100644 index 0000000..fbcb83c --- /dev/null +++ b/grub-core/bus/cs5536.c @@ -0,0 +1,384 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +int +grub_cs5536_find (grub_pci_device_t *devp) +{ + int found = 0; + auto int NESTED_FUNC_ATTR hook (grub_pci_device_t dev, + grub_pci_id_t pciid); + + int NESTED_FUNC_ATTR hook (grub_pci_device_t dev, + grub_pci_id_t pciid) + { + if (pciid == GRUB_CS5536_PCIID) + { + *devp = dev; + found = 1; + return 1; + } + return 0; + } + + grub_pci_iterate (hook); + + return found; +} + +grub_uint64_t +grub_cs5536_read_msr (grub_pci_device_t dev, grub_uint32_t addr) +{ + grub_uint64_t ret = 0; + grub_pci_write (grub_pci_make_address (dev, GRUB_CS5536_MSR_MAILBOX_ADDR), + addr); + ret = (grub_uint64_t) + grub_pci_read (grub_pci_make_address (dev, GRUB_CS5536_MSR_MAILBOX_DATA0)); + ret |= (((grub_uint64_t) + grub_pci_read (grub_pci_make_address (dev, + GRUB_CS5536_MSR_MAILBOX_DATA1))) + << 32); + return ret; +} + +void +grub_cs5536_write_msr (grub_pci_device_t dev, grub_uint32_t addr, + grub_uint64_t val) +{ + grub_pci_write (grub_pci_make_address (dev, GRUB_CS5536_MSR_MAILBOX_ADDR), + addr); + grub_pci_write (grub_pci_make_address (dev, GRUB_CS5536_MSR_MAILBOX_DATA0), + val & 0xffffffff); + grub_pci_write (grub_pci_make_address (dev, GRUB_CS5536_MSR_MAILBOX_DATA1), + val >> 32); +} + +grub_err_t +grub_cs5536_smbus_wait (grub_port_t smbbase) +{ + grub_uint64_t start = grub_get_time_ms (); + while (1) + { + grub_uint8_t status; + status = grub_inb (smbbase + GRUB_CS5536_SMB_REG_STATUS); + if (status & GRUB_CS5536_SMB_REG_STATUS_SDAST) + return GRUB_ERR_NONE; + if (status & GRUB_CS5536_SMB_REG_STATUS_BER) + return grub_error (GRUB_ERR_IO, "SM bus error"); + if (status & GRUB_CS5536_SMB_REG_STATUS_NACK) + return grub_error (GRUB_ERR_IO, "NACK received"); + if (grub_get_time_ms () > start + 40) + return grub_error (GRUB_ERR_IO, "SM stalled"); + } + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_cs5536_read_spd_byte (grub_port_t smbbase, grub_uint8_t dev, + grub_uint8_t addr, grub_uint8_t *res) +{ + grub_err_t err; + + /* Send START. */ + grub_outb (grub_inb (smbbase + GRUB_CS5536_SMB_REG_CTRL1) + | GRUB_CS5536_SMB_REG_CTRL1_START, + smbbase + GRUB_CS5536_SMB_REG_CTRL1); + + /* Send device address. */ + err = grub_cs5536_smbus_wait (smbbase); + if (err) + return err; + grub_outb (dev << 1, smbbase + GRUB_CS5536_SMB_REG_DATA); + + /* Send ACK. */ + err = grub_cs5536_smbus_wait (smbbase); + if (err) + return err; + grub_outb (grub_inb (smbbase + GRUB_CS5536_SMB_REG_CTRL1) + | GRUB_CS5536_SMB_REG_CTRL1_ACK, + smbbase + GRUB_CS5536_SMB_REG_CTRL1); + + /* Send byte address. */ + grub_outb (addr, smbbase + GRUB_CS5536_SMB_REG_DATA); + + /* Send START. */ + err = grub_cs5536_smbus_wait (smbbase); + if (err) + return err; + grub_outb (grub_inb (smbbase + GRUB_CS5536_SMB_REG_CTRL1) + | GRUB_CS5536_SMB_REG_CTRL1_START, + smbbase + GRUB_CS5536_SMB_REG_CTRL1); + + /* Send device address. */ + err = grub_cs5536_smbus_wait (smbbase); + if (err) + return err; + grub_outb ((dev << 1) | 1, smbbase + GRUB_CS5536_SMB_REG_DATA); + + /* Send STOP. */ + err = grub_cs5536_smbus_wait (smbbase); + if (err) + return err; + grub_outb (grub_inb (smbbase + GRUB_CS5536_SMB_REG_CTRL1) + | GRUB_CS5536_SMB_REG_CTRL1_STOP, + smbbase + GRUB_CS5536_SMB_REG_CTRL1); + + err = grub_cs5536_smbus_wait (smbbase); + if (err) + return err; + *res = grub_inb (smbbase + GRUB_CS5536_SMB_REG_DATA); + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_cs5536_init_smbus (grub_pci_device_t dev, grub_uint16_t divisor, + grub_port_t *smbbase) +{ + grub_uint64_t smbbar; + + smbbar = grub_cs5536_read_msr (dev, GRUB_CS5536_MSR_SMB_BAR); + + /* FIXME */ + if (!(smbbar & GRUB_CS5536_LBAR_ENABLE)) + return grub_error(GRUB_ERR_IO, "SMB controller not enabled\n"); + *smbbase = (smbbar & GRUB_CS5536_LBAR_ADDR_MASK) + GRUB_MACHINE_PCI_IO_BASE; + + if (divisor < 8) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid divisor"); + + /* Disable SMB. */ + grub_outb (0, *smbbase + GRUB_CS5536_SMB_REG_CTRL2); + + /* Disable interrupts. */ + grub_outb (0, *smbbase + GRUB_CS5536_SMB_REG_CTRL1); + + /* Set as master. */ + grub_outb (GRUB_CS5536_SMB_REG_ADDR_MASTER, + *smbbase + GRUB_CS5536_SMB_REG_ADDR); + + /* Launch. */ + grub_outb (((divisor >> 7) & 0xff), *smbbase + GRUB_CS5536_SMB_REG_CTRL3); + grub_outb (((divisor << 1) & 0xfe) | GRUB_CS5536_SMB_REG_CTRL2_ENABLE, + *smbbase + GRUB_CS5536_SMB_REG_CTRL2); + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_cs5536_read_spd (grub_port_t smbbase, grub_uint8_t dev, + struct grub_smbus_spd *res) +{ + grub_err_t err; + grub_size_t size; + grub_uint8_t b; + grub_size_t ptr; + + err = grub_cs5536_read_spd_byte (smbbase, dev, 0, &b); + if (err) + return err; + if (b == 0) + return grub_error (GRUB_ERR_IO, "no SPD found"); + size = b; + + ((grub_uint8_t *) res)[0] = b; + for (ptr = 1; ptr < size; ptr++) + { + err = grub_cs5536_read_spd_byte (smbbase, dev, ptr, + &((grub_uint8_t *) res)[ptr]); + if (err) + return err; + } + return GRUB_ERR_NONE; +} + +/* Dump of GPIO connections. FIXME: Remove useless and macroify. */ +static grub_uint32_t gpiodump[] = { + 0xffff0000, 0x2ffdd002, 0xffff0000, 0xffff0000, + 0x2fffd000, 0xffff0000, 0x1000efff, 0xefff1000, + 0x3ffbc004, 0xffff0000, 0xffff0000, 0xffff0000, + 0x3ffbc004, 0x3ffbc004, 0xffff0000, 0x00000000, + 0xffff0000, 0xffff0000, 0x3ffbc004, 0x3f9bc064, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0xffff0000, 0xffff0000, 0xffff0000, 0xffff0000, + 0xffff0000, 0xffff0000, 0x0000ffff, 0xffff0000, + 0xefff1000, 0xffff0000, 0xffff0000, 0xffff0000, + 0xefff1000, 0xefff1000, 0xffff0000, 0x00000000, + 0xffff0000, 0xffff0000, 0xefff1000, 0xffff0000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x50000000, 0x00000000, 0x00000000, +}; + +static inline void +set_io_space (grub_pci_device_t dev, int num, grub_uint16_t start, + grub_uint16_t len) +{ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_GL_REGIONS_START + num, + ((((grub_uint64_t) start + len - 4) + << GRUB_CS5536_MSR_GL_REGION_IO_TOP_SHIFT) + & GRUB_CS5536_MSR_GL_REGION_TOP_MASK) + | (((grub_uint64_t) start + << GRUB_CS5536_MSR_GL_REGION_IO_BASE_SHIFT) + & GRUB_CS5536_MSR_GL_REGION_BASE_MASK) + | GRUB_CS5536_MSR_GL_REGION_IO + | GRUB_CS5536_MSR_GL_REGION_ENABLE); +} + +static inline void +set_iod (grub_pci_device_t dev, int num, int dest, int start, int mask) +{ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_GL_IOD_START + num, + ((grub_uint64_t) dest << GRUB_CS5536_IOD_DEST_SHIFT) + | (((grub_uint64_t) start & GRUB_CS5536_IOD_ADDR_MASK) + << GRUB_CS5536_IOD_BASE_SHIFT) + | ((mask & GRUB_CS5536_IOD_ADDR_MASK) + << GRUB_CS5536_IOD_MASK_SHIFT)); +} + +static inline void +set_p2d (grub_pci_device_t dev, int num, int dest, grub_uint32_t start) +{ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_GL_P2D_START + num, + (((grub_uint64_t) dest) << GRUB_CS5536_P2D_DEST_SHIFT) + | ((grub_uint64_t) (start >> GRUB_CS5536_P2D_LOG_ALIGN) + << GRUB_CS5536_P2D_BASE_SHIFT) + | (((1 << (32 - GRUB_CS5536_P2D_LOG_ALIGN)) - 1) + << GRUB_CS5536_P2D_MASK_SHIFT)); +} + +void +grub_cs5536_init_geode (grub_pci_device_t dev) +{ + int i; + + /* Make sure GPIO is where we expect it to be. */ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_GPIO_BAR, + GRUB_CS5536_LBAR_TURN_ON | GRUB_CS5536_LBAR_GPIO); + + /* Setup GPIO. */ + for (i = 0; i < (int) ARRAY_SIZE (gpiodump); i++) + ((volatile grub_uint32_t *) (GRUB_MACHINE_PCI_IO_BASE + + GRUB_CS5536_LBAR_GPIO)) [i] = gpiodump[i]; + + /* Enable more BARs. */ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_IRQ_MAP_BAR, + GRUB_CS5536_LBAR_TURN_ON | GRUB_CS5536_LBAR_IRQ_MAP); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_MFGPT_BAR, + GRUB_CS5536_LBAR_TURN_ON | GRUB_CS5536_LBAR_MFGPT); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_ACPI_BAR, + GRUB_CS5536_LBAR_TURN_ON | GRUB_CS5536_LBAR_ACPI); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_PM_BAR, + GRUB_CS5536_LBAR_TURN_ON | GRUB_CS5536_LBAR_PM); + + /* Setup DIVIL. */ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_DIVIL_LEG_IO, + GRUB_CS5536_MSR_DIVIL_LEG_IO_MODE_X86 + | GRUB_CS5536_MSR_DIVIL_LEG_IO_F_REMAP + | GRUB_CS5536_MSR_DIVIL_LEG_IO_RTC_ENABLE0 + | GRUB_CS5536_MSR_DIVIL_LEG_IO_RTC_ENABLE1); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_DIVIL_IRQ_MAPPER_PRIMARY_MASK, + (~GRUB_CS5536_DIVIL_LPC_INTERRUPTS) & 0xffff); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_DIVIL_IRQ_MAPPER_LPC_MASK, + GRUB_CS5536_DIVIL_LPC_INTERRUPTS); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_DIVIL_LPC_SERIAL_IRQ_CONTROL, + GRUB_CS5536_MSR_DIVIL_LPC_SERIAL_IRQ_CONTROL_ENABLE); + + /* Initialise USB controller. */ + /* FIXME: assign adresses dynamically. */ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_USB_OHCI_BASE, + GRUB_CS5536_MSR_USB_BASE_BUS_MASTER + | GRUB_CS5536_MSR_USB_BASE_MEMORY_ENABLE + | 0x05024000); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_USB_EHCI_BASE, + GRUB_CS5536_MSR_USB_BASE_BUS_MASTER + | GRUB_CS5536_MSR_USB_BASE_MEMORY_ENABLE + | (0x20ULL << GRUB_CS5536_MSR_USB_EHCI_BASE_FLDJ_SHIFT) + | 0x05023000); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_USB_CONTROLLER_BASE, + GRUB_CS5536_MSR_USB_BASE_BUS_MASTER + | GRUB_CS5536_MSR_USB_BASE_MEMORY_ENABLE | 0x05020000); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_USB_OPTION_CONTROLLER_BASE, + GRUB_CS5536_MSR_USB_BASE_MEMORY_ENABLE | 0x05022000); + set_p2d (dev, 0, GRUB_CS5536_DESTINATION_USB, 0x05020000); + set_p2d (dev, 1, GRUB_CS5536_DESTINATION_USB, 0x05022000); + set_p2d (dev, 5, GRUB_CS5536_DESTINATION_USB, 0x05024000); + set_p2d (dev, 6, GRUB_CS5536_DESTINATION_USB, 0x05023000); + + { + volatile grub_uint32_t *oc; + oc = grub_pci_device_map_range (dev, 0x05022000, + GRUB_CS5536_USB_OPTION_REGS_SIZE); + + oc[GRUB_CS5536_USB_OPTION_REG_UOCMUX] = + (oc[GRUB_CS5536_USB_OPTION_REG_UOCMUX] + & ~GRUB_CS5536_USB_OPTION_REG_UOCMUX_PMUX_MASK) + | GRUB_CS5536_USB_OPTION_REG_UOCMUX_PMUX_HC; + grub_pci_device_unmap_range (dev, oc, GRUB_CS5536_USB_OPTION_REGS_SIZE); + } + + /* Setup IDE controller. */ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_IDE_IO_BAR, + GRUB_CS5536_LBAR_IDE + | GRUB_CS5536_MSR_IDE_IO_BAR_UNITS); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_IDE_CFG, + GRUB_CS5536_MSR_IDE_CFG_CHANNEL_ENABLE); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_IDE_TIMING, + (GRUB_CS5536_MSR_IDE_TIMING_PIO0 + << GRUB_CS5536_MSR_IDE_TIMING_DRIVE0_SHIFT) + | (GRUB_CS5536_MSR_IDE_TIMING_PIO0 + << GRUB_CS5536_MSR_IDE_TIMING_DRIVE1_SHIFT)); + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_IDE_CAS_TIMING, + (GRUB_CS5536_MSR_IDE_CAS_TIMING_CMD_PIO0 + << GRUB_CS5536_MSR_IDE_CAS_TIMING_CMD_SHIFT) + | (GRUB_CS5536_MSR_IDE_CAS_TIMING_PIO0 + << GRUB_CS5536_MSR_IDE_CAS_TIMING_DRIVE0_SHIFT) + | (GRUB_CS5536_MSR_IDE_CAS_TIMING_PIO0 + << GRUB_CS5536_MSR_IDE_CAS_TIMING_DRIVE1_SHIFT)); + + /* Setup Geodelink PCI. */ + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_GL_PCI_CTRL, + (4ULL << GRUB_CS5536_MSR_GL_PCI_CTRL_OUT_THR_SHIFT) + | (4ULL << GRUB_CS5536_MSR_GL_PCI_CTRL_IN_THR_SHIFT) + | (8ULL << GRUB_CS5536_MSR_GL_PCI_CTRL_LATENCY_SHIFT) + | GRUB_CS5536_MSR_GL_PCI_CTRL_IO_ENABLE + | GRUB_CS5536_MSR_GL_PCI_CTRL_MEMORY_ENABLE); + + /* Setup windows. */ + set_io_space (dev, 0, GRUB_CS5536_LBAR_SMBUS, GRUB_CS5536_SMBUS_REGS_SIZE); + set_io_space (dev, 1, GRUB_CS5536_LBAR_GPIO, GRUB_CS5536_GPIO_REGS_SIZE); + set_io_space (dev, 2, GRUB_CS5536_LBAR_MFGPT, GRUB_CS5536_MFGPT_REGS_SIZE); + set_io_space (dev, 3, GRUB_CS5536_LBAR_IRQ_MAP, GRUB_CS5536_IRQ_MAP_REGS_SIZE); + set_io_space (dev, 4, GRUB_CS5536_LBAR_PM, GRUB_CS5536_PM_REGS_SIZE); + set_io_space (dev, 5, GRUB_CS5536_LBAR_ACPI, GRUB_CS5536_ACPI_REGS_SIZE); + set_iod (dev, 0, GRUB_CS5536_DESTINATION_IDE, GRUB_ATA_CH0_PORT1, 0xffff8); + set_iod (dev, 1, GRUB_CS5536_DESTINATION_ACC, GRUB_CS5536_LBAR_ACC, 0xfff80); + set_iod (dev, 2, GRUB_CS5536_DESTINATION_IDE, GRUB_CS5536_LBAR_IDE, 0xffff0); +} diff --git a/grub-core/bus/emu/pci.c b/grub-core/bus/emu/pci.c new file mode 100644 index 0000000..d1beb56 --- /dev/null +++ b/grub-core/bus/emu/pci.c @@ -0,0 +1,77 @@ +/* pci.c - Generic PCI interfaces. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +grub_pci_address_t +grub_pci_make_address (grub_pci_device_t dev, int reg) +{ + grub_pci_address_t ret; + ret.dev = dev; + ret.pos = reg; + return ret; +} + +void +grub_pci_iterate (grub_pci_iteratefunc_t hook) +{ + struct pci_device_iterator *iter; + struct pci_slot_match slot; + struct pci_device *dev; + slot.domain = PCI_MATCH_ANY; + slot.bus = PCI_MATCH_ANY; + slot.dev = PCI_MATCH_ANY; + slot.func = PCI_MATCH_ANY; + iter = pci_slot_match_iterator_create (&slot); + while ((dev = pci_device_next (iter))) + hook (dev, dev->vendor_id | (dev->device_id << 16)); + pci_iterator_destroy (iter); +} + +void * +grub_pci_device_map_range (grub_pci_device_t dev, grub_addr_t base, + grub_size_t size) +{ + void *addr; + int err; + err = pci_device_map_range (dev, base, size, PCI_DEV_MAP_FLAG_WRITABLE, &addr); + if (err) + grub_util_error ("mapping 0x%x failed (error %d)\n", base, err); + return addr; +} + +void +grub_pci_device_unmap_range (grub_pci_device_t dev, void *mem, + grub_size_t size) +{ + pci_device_unmap_range (dev, mem, size); +} + +GRUB_MOD_INIT (pci) +{ + pci_system_init (); +} + +GRUB_MOD_FINI (pci) +{ + pci_system_cleanup (); +} diff --git a/grub-core/bus/pci.c b/grub-core/bus/pci.c new file mode 100644 index 0000000..766b6d7 --- /dev/null +++ b/grub-core/bus/pci.c @@ -0,0 +1,137 @@ +/* pci.c - Generic PCI interfaces. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* FIXME: correctly support 64-bit architectures. */ +/* #if GRUB_TARGET_SIZEOF_VOID_P == 4 */ +struct grub_pci_dma_chunk * +grub_memalign_dma32 (grub_size_t align, grub_size_t size) +{ + void *ret = grub_memalign (align, size); + if (!ret) + return 0; + grub_arch_sync_dma_caches (ret, size); + return ret; +} + +/* FIXME: evil. */ +void +grub_dma_free (struct grub_pci_dma_chunk *ch) +{ + grub_size_t size = (((struct grub_mm_header *) ch) - 1)->size * GRUB_MM_ALIGN; + grub_arch_sync_dma_caches (ch, size); + grub_free (ch); +} +/* #endif */ + +#ifdef GRUB_MACHINE_MIPS_YEELOONG +volatile void * +grub_dma_get_virt (struct grub_pci_dma_chunk *ch) +{ + return (void *) ((((grub_uint32_t) ch) & 0x1fffffff) | 0xa0000000); +} + +grub_uint32_t +grub_dma_get_phys (struct grub_pci_dma_chunk *ch) +{ + return (((grub_uint32_t) ch) & 0x1fffffff) | 0x80000000; +} +#else + +volatile void * +grub_dma_get_virt (struct grub_pci_dma_chunk *ch) +{ + return (void *) ch; +} + +grub_uint32_t +grub_dma_get_phys (struct grub_pci_dma_chunk *ch) +{ + return (grub_uint32_t) (grub_addr_t) ch; +} + +#endif + +grub_pci_address_t +grub_pci_make_address (grub_pci_device_t dev, int reg) +{ + return (1 << 31) | (dev.bus << 16) | (dev.device << 11) + | (dev.function << 8) | reg; +} + +void +grub_pci_iterate (grub_pci_iteratefunc_t hook) +{ + grub_pci_device_t dev; + grub_pci_address_t addr; + grub_pci_id_t id; + grub_uint32_t hdr; + + for (dev.bus = 0; dev.bus < GRUB_PCI_NUM_BUS; dev.bus++) + { + for (dev.device = 0; dev.device < GRUB_PCI_NUM_DEVICES; dev.device++) + { + for (dev.function = 0; dev.function < 8; dev.function++) + { + addr = grub_pci_make_address (dev, GRUB_PCI_REG_PCI_ID); + id = grub_pci_read (addr); + + /* Check if there is a device present. */ + if (id >> 16 == 0xFFFF) + { + if (dev.function == 0) + /* Devices are required to implement function 0, so if + it's missing then there is no device here. */ + break; + else + continue; + } + +#ifdef GRUB_MACHINE_MIPS_YEELOONG + /* Skip ghosts. */ + if (id == GRUB_YEELOONG_OHCI_PCIID + && dev.function == GRUB_YEELOONG_OHCI_GHOST_FUNCTION) + continue; + if (id == GRUB_YEELOONG_EHCI_PCIID + && dev.function == GRUB_YEELOONG_EHCI_GHOST_FUNCTION) + continue; +#endif + + if (hook (dev, id)) + return; + + /* Probe only func = 0 if the device if not multifunction */ + if (dev.function == 0) + { + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CACHELINE); + hdr = grub_pci_read (addr); + if (!(hdr & 0x800000)) + break; + } + } + } + } +} diff --git a/grub-core/bus/usb/emu/usb.c b/grub-core/bus/usb/emu/usb.c new file mode 100644 index 0000000..38c5f01 --- /dev/null +++ b/grub-core/bus/usb/emu/usb.c @@ -0,0 +1,203 @@ +/* usb.c -- libusb USB support for GRUB. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + + +static struct grub_usb_controller_dev usb_controller = +{ + .name = "libusb" +}; + +static struct grub_usb_device *grub_usb_devs[128]; + +struct usb_bus *busses; + +static grub_err_t +grub_libusb_devices (void) + +{ + struct usb_bus *bus; + int last = 0; + + busses = usb_get_busses(); + + for (bus = busses; bus; bus = bus->next) + { + struct usb_device *usbdev; + struct grub_usb_device *dev; + + for (usbdev = bus->devices; usbdev; usbdev = usbdev->next) + { + struct usb_device_descriptor *desc = &usbdev->descriptor; + grub_err_t err; + + if (! desc->bcdUSB) + continue; + + dev = grub_malloc (sizeof (*dev)); + if (! dev) + return grub_errno; + + dev->data = usbdev; + + /* Fill in all descriptors. */ + err = grub_usb_device_initialize (dev); + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + + /* Register the device. */ + grub_usb_devs[last++] = dev; + } + } + + return GRUB_USB_ERR_NONE; +} + +void +grub_usb_poll_devices (void) +{ + /* TODO: recheck grub_usb_devs */ +} + + +int +grub_usb_iterate (int (*hook) (grub_usb_device_t dev)) +{ + int i; + + for (i = 0; i < 128; i++) + { + if (grub_usb_devs[i]) + { + if (hook (grub_usb_devs[i])) + return 1; + } + } + + return 0; +} + +grub_usb_err_t +grub_usb_root_hub (grub_usb_controller_t controller __attribute__((unused))) +{ + return GRUB_USB_ERR_NONE; +} + +grub_usb_err_t +grub_usb_control_msg (grub_usb_device_t dev, grub_uint8_t reqtype, + grub_uint8_t request, grub_uint16_t value, + grub_uint16_t idx, grub_size_t size, char *data) +{ + usb_dev_handle *devh; + struct usb_device *d = dev->data; + + devh = usb_open (d); + if (usb_control_msg (devh, reqtype, request, + value, idx, data, size, 20) < 0) + { + usb_close (devh); + return GRUB_USB_ERR_STALL; + } + + usb_close (devh); + + return GRUB_USB_ERR_NONE; +} + +grub_usb_err_t +grub_usb_bulk_read (grub_usb_device_t dev, + int endpoint, grub_size_t size, char *data) +{ + usb_dev_handle *devh; + struct usb_device *d = dev->data; + + devh = usb_open (d); + if (usb_claim_interface (devh, 0) < 1) + { + usb_close (devh); + return GRUB_USB_ERR_STALL; + } + + if (usb_bulk_read (devh, endpoint, data, size, 20) < 1) + { + usb_close (devh); + return GRUB_USB_ERR_STALL; + } + + usb_release_interface (devh, 0); + usb_close (devh); + + return GRUB_USB_ERR_NONE; +} + +grub_usb_err_t +grub_usb_bulk_write (grub_usb_device_t dev, + int endpoint, grub_size_t size, char *data) +{ + usb_dev_handle *devh; + struct usb_device *d = dev->data; + + devh = usb_open (d); + if (usb_claim_interface (devh, 0) < 0) + goto fail; + + if (usb_bulk_write (devh, endpoint, data, size, 20) < 0) + goto fail; + + if (usb_release_interface (devh, 0) < 0) + goto fail; + + usb_close (devh); + + return GRUB_USB_ERR_NONE; + + fail: + usb_close (devh); + return GRUB_USB_ERR_STALL; +} + +GRUB_MOD_INIT (libusb) +{ + usb_init(); + usb_find_busses(); + usb_find_devices(); + + if (grub_libusb_devices ()) + return; + + grub_usb_controller_dev_register (&usb_controller); + + return; +} + +GRUB_MOD_FINI (libusb) +{ + return; +} diff --git a/grub-core/bus/usb/ohci.c b/grub-core/bus/usb/ohci.c new file mode 100644 index 0000000..df0d0f4 --- /dev/null +++ b/grub-core/bus/usb/ohci.c @@ -0,0 +1,1441 @@ +/* ohci.c - OHCI Support. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct grub_ohci_hcca +{ + /* Pointers to Interrupt Endpoint Descriptors. Not used by + GRUB. */ + grub_uint32_t inttable[32]; + + /* Current frame number. */ + grub_uint16_t framenumber; + + grub_uint16_t pad; + + /* List of completed TDs. */ + grub_uint32_t donehead; + + grub_uint8_t reserved[116]; +} __attribute__((packed)); + +/* OHCI General Transfer Descriptor */ +struct grub_ohci_td +{ + /* Information used to construct the TOKEN packet. */ + grub_uint32_t token; + grub_uint32_t buffer; /* LittleEndian physical address */ + grub_uint32_t next_td; /* LittleEndian physical address */ + grub_uint32_t buffer_end; /* LittleEndian physical address */ + /* next values are not for OHCI HW */ + volatile struct grub_ohci_td *link_td; /* pointer to next free/chained TD + * pointer as uint32 */ + grub_uint32_t prev_td_phys; /* we need it to find previous TD + * physical address in CPU endian */ + grub_uint32_t tr_index; /* index of TD in transfer */ + grub_uint8_t pad[8 - sizeof (volatile struct grub_ohci_td *)]; /* padding to 32 bytes */ +} __attribute__((packed)); + +/* OHCI Endpoint Descriptor. */ +struct grub_ohci_ed +{ + grub_uint32_t target; + grub_uint32_t td_tail; + grub_uint32_t td_head; + grub_uint32_t next_ed; +} __attribute__((packed)); + +typedef volatile struct grub_ohci_td *grub_ohci_td_t; +typedef volatile struct grub_ohci_ed *grub_ohci_ed_t; + +/* Experimental change of ED/TD allocation */ +/* Little bit similar as in UHCI */ +/* Implementation assumes: + * 32-bits architecture - XXX: fix for 64-bits + * memory allocated by grub_memalign_dma32 must be continuous + * in virtual and also in physical memory */ +struct grub_ohci +{ + volatile grub_uint32_t *iobase; + volatile struct grub_ohci_hcca *hcca; + grub_uint32_t hcca_addr; + struct grub_pci_dma_chunk *hcca_chunk; + grub_ohci_ed_t ed_ctrl; /* EDs for CONTROL */ + grub_uint32_t ed_ctrl_addr; + struct grub_pci_dma_chunk *ed_ctrl_chunk; + grub_ohci_ed_t ed_bulk; /* EDs for BULK */ + grub_uint32_t ed_bulk_addr; + struct grub_pci_dma_chunk *ed_bulk_chunk; + grub_ohci_td_t td; /* TDs */ + grub_uint32_t td_addr; + struct grub_pci_dma_chunk *td_chunk; + struct grub_ohci *next; + grub_ohci_td_t td_free; /* Pointer to first free TD */ +}; + +static struct grub_ohci *ohci; + +typedef enum +{ + GRUB_OHCI_REG_REVISION = 0x00, + GRUB_OHCI_REG_CONTROL, + GRUB_OHCI_REG_CMDSTATUS, + GRUB_OHCI_REG_INTSTATUS, + GRUB_OHCI_REG_INTENA, + GRUB_OHCI_REG_INTDIS, + GRUB_OHCI_REG_HCCA, + GRUB_OHCI_REG_PERIODIC, + GRUB_OHCI_REG_CONTROLHEAD, + GRUB_OHCI_REG_CONTROLCURR, + GRUB_OHCI_REG_BULKHEAD, + GRUB_OHCI_REG_BULKCURR, + GRUB_OHCI_REG_DONEHEAD, + GRUB_OHCI_REG_FRAME_INTERVAL, + GRUB_OHCI_REG_PERIODIC_START = 16, + GRUB_OHCI_REG_RHUBA = 18, + GRUB_OHCI_REG_RHUBPORT = 21, + GRUB_OHCI_REG_LEGACY_CONTROL = 0x100, + GRUB_OHCI_REG_LEGACY_INPUT = 0x104, + GRUB_OHCI_REG_LEGACY_OUTPUT = 0x108, + GRUB_OHCI_REG_LEGACY_STATUS = 0x10c +} grub_ohci_reg_t; + +#define GRUB_OHCI_RHUB_PORT_POWER_MASK 0x300 +#define GRUB_OHCI_RHUB_PORT_ALL_POWERED 0x200 + +#define GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_MASK 0x8fff0000 +#define GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_SHIFT 16 +#define GRUB_OHCI_REG_FRAME_INTERVAL_FI_SHIFT 0 + +/* XXX: Is this choice of timings sane? */ +#define GRUB_OHCI_FSMPS 0x2778 +#define GRUB_OHCI_PERIODIC_START 0x257f +#define GRUB_OHCI_FRAME_INTERVAL 0x2edf + +#define GRUB_OHCI_SET_PORT_ENABLE (1 << 1) +#define GRUB_OHCI_CLEAR_PORT_ENABLE (1 << 0) +#define GRUB_OHCI_SET_PORT_RESET (1 << 4) +#define GRUB_OHCI_SET_PORT_RESET_STATUS_CHANGE (1 << 20) + +#define GRUB_OHCI_REG_CONTROL_BULK_ENABLE (1 << 5) +#define GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE (1 << 4) + +#define GRUB_OHCI_RESET_CONNECT_CHANGE (1 << 16) +#define GRUB_OHCI_CTRL_EDS 256 +#define GRUB_OHCI_BULK_EDS 510 +#define GRUB_OHCI_TDS 640 + +#define GRUB_OHCI_ED_ADDR_MASK 0x7ff + +static inline grub_ohci_ed_t +grub_ohci_ed_phys2virt (struct grub_ohci *o, int bulk, grub_uint32_t x) +{ + if (!x) + return NULL; + if (bulk) + return (grub_ohci_ed_t) (x - o->ed_bulk_addr + + (grub_uint8_t *) o->ed_bulk); + return (grub_ohci_ed_t) (x - o->ed_ctrl_addr + + (grub_uint8_t *) o->ed_ctrl); +} + +static grub_uint32_t +grub_ohci_virt_to_phys (struct grub_ohci *o, int bulk, grub_ohci_ed_t x) +{ + if (!x) + return 0; + + if (bulk) + return (grub_uint8_t *) x - (grub_uint8_t *) o->ed_bulk + o->ed_bulk_addr; + return (grub_uint8_t *) x - (grub_uint8_t *) o->ed_ctrl + o->ed_ctrl_addr; +} + +static inline grub_ohci_td_t +grub_ohci_td_phys2virt (struct grub_ohci *o, grub_uint32_t x) +{ + if (!x) + return NULL; + return (grub_ohci_td_t) (x - o->td_addr + (grub_uint8_t *) o->td); +} + +static grub_uint32_t +grub_ohci_td_virt2phys (struct grub_ohci *o, grub_ohci_td_t x) +{ + if (!x) + return 0; + return (grub_uint8_t *)x - (grub_uint8_t *)o->td + o->td_addr; +} + + +static grub_uint32_t +grub_ohci_readreg32 (struct grub_ohci *o, grub_ohci_reg_t reg) +{ + return grub_le_to_cpu32 (*(o->iobase + reg)); +} + +static void +grub_ohci_writereg32 (struct grub_ohci *o, + grub_ohci_reg_t reg, grub_uint32_t val) +{ + *(o->iobase + reg) = grub_cpu_to_le32 (val); +} + + + +/* Iterate over all PCI devices. Determine if a device is an OHCI + controller. If this is the case, initialize it. */ +static int NESTED_FUNC_ATTR +grub_ohci_pci_iter (grub_pci_device_t dev, + grub_pci_id_t pciid) +{ + grub_uint32_t interf; + grub_uint32_t base; + grub_pci_address_t addr; + struct grub_ohci *o; + grub_uint32_t revision; + int j; + + /* Determine IO base address. */ + grub_dprintf ("ohci", "pciid = %x\n", pciid); + + if (pciid == GRUB_CS5536_PCIID) + { + grub_uint64_t basereg; + + basereg = grub_cs5536_read_msr (dev, GRUB_CS5536_MSR_USB_OHCI_BASE); + if (!(basereg & GRUB_CS5536_MSR_USB_BASE_MEMORY_ENABLE)) + { + /* Shouldn't happen. */ + grub_dprintf ("ohci", "No OHCI address is assigned\n"); + return 0; + } + base = (basereg & GRUB_CS5536_MSR_USB_BASE_ADDR_MASK); + basereg |= GRUB_CS5536_MSR_USB_BASE_BUS_MASTER; + basereg &= ~GRUB_CS5536_MSR_USB_BASE_PME_ENABLED; + basereg &= ~GRUB_CS5536_MSR_USB_BASE_PME_STATUS; + grub_cs5536_write_msr (dev, GRUB_CS5536_MSR_USB_OHCI_BASE, basereg); + } + else + { + grub_uint32_t class_code; + grub_uint32_t class; + grub_uint32_t subclass; + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); + class_code = grub_pci_read (addr) >> 8; + + interf = class_code & 0xFF; + subclass = (class_code >> 8) & 0xFF; + class = class_code >> 16; + + /* If this is not an OHCI controller, just return. */ + if (class != 0x0c || subclass != 0x03 || interf != 0x10) + return 0; + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); + base = grub_pci_read (addr); + +#if 0 + /* Stop if there is no IO space base address defined. */ + if (! (base & 1)) + return 0; +#endif + + grub_dprintf ("ohci", "class=0x%02x 0x%02x interface 0x%02x\n", + class, subclass, interf); + } + + /* Allocate memory for the controller and register it. */ + o = grub_malloc (sizeof (*o)); + if (! o) + return 1; + grub_memset ((void*)o, 0, sizeof (*o)); + o->iobase = grub_pci_device_map_range (dev, base, 0x800); + + grub_dprintf ("ohci", "base=%p\n", o->iobase); + + /* Reserve memory for the HCCA. */ + o->hcca_chunk = grub_memalign_dma32 (256, 256); + if (! o->hcca_chunk) + goto fail; + o->hcca = grub_dma_get_virt (o->hcca_chunk); + o->hcca_addr = grub_dma_get_phys (o->hcca_chunk); + grub_memset ((void*)o->hcca, 0, sizeof(*o->hcca)); + grub_dprintf ("ohci", "hcca: chunk=%p, virt=%p, phys=0x%02x\n", + o->hcca_chunk, o->hcca, o->hcca_addr); + + /* Reserve memory for ctrl EDs. */ + o->ed_ctrl_chunk = grub_memalign_dma32 (16, sizeof(struct grub_ohci_ed)*GRUB_OHCI_CTRL_EDS); + if (! o->ed_ctrl_chunk) + goto fail; + o->ed_ctrl = grub_dma_get_virt (o->ed_ctrl_chunk); + o->ed_ctrl_addr = grub_dma_get_phys (o->ed_ctrl_chunk); + /* Preset EDs */ + grub_memset ((void*)o->ed_ctrl, 0, sizeof(struct grub_ohci_ed) * GRUB_OHCI_CTRL_EDS); + for (j=0; j < GRUB_OHCI_CTRL_EDS; j++) + o->ed_ctrl[j].target = grub_cpu_to_le32 (1 << 14); /* skip */ + + grub_dprintf ("ohci", "EDs-C: chunk=%p, virt=%p, phys=0x%02x\n", + o->ed_ctrl_chunk, o->ed_ctrl, o->ed_ctrl_addr); + + /* Reserve memory for bulk EDs. */ + o->ed_bulk_chunk = grub_memalign_dma32 (16, sizeof(struct grub_ohci_ed)*GRUB_OHCI_BULK_EDS); + if (! o->ed_bulk_chunk) + goto fail; + o->ed_bulk = grub_dma_get_virt (o->ed_bulk_chunk); + o->ed_bulk_addr = grub_dma_get_phys (o->ed_bulk_chunk); + /* Preset EDs */ + grub_memset ((void*)o->ed_bulk, 0, sizeof(struct grub_ohci_ed) * GRUB_OHCI_BULK_EDS); + for (j=0; j < GRUB_OHCI_BULK_EDS; j++) + o->ed_bulk[j].target = grub_cpu_to_le32 (1 << 14); /* skip */ + + grub_dprintf ("ohci", "EDs-B: chunk=%p, virt=%p, phys=0x%02x\n", + o->ed_bulk_chunk, o->ed_bulk, o->ed_bulk_addr); + + /* Reserve memory for TDs. */ + o->td_chunk = grub_memalign_dma32 (32, sizeof(struct grub_ohci_td)*GRUB_OHCI_TDS); + /* Why is it aligned on 32 boundary if spec. says 16 ? + * We have structure 32 bytes long and we don't want cross + * 4K boundary inside structure. */ + if (! o->td_chunk) + goto fail; + o->td_free = o->td = grub_dma_get_virt (o->td_chunk); + o->td_addr = grub_dma_get_phys (o->td_chunk); + /* Preset free TDs chain in TDs */ + grub_memset ((void*)o->td, 0, sizeof(struct grub_ohci_td) * GRUB_OHCI_TDS); + for (j=0; j < (GRUB_OHCI_TDS-1); j++) + o->td[j].link_td = &o->td[j+1]; + + grub_dprintf ("ohci", "TDs: chunk=%p, virt=%p, phys=0x%02x\n", + o->td_chunk, o->td, o->td_addr); + + /* Check if the OHCI revision is actually 1.0 as supported. */ + revision = grub_ohci_readreg32 (o, GRUB_OHCI_REG_REVISION); + grub_dprintf ("ohci", "OHCI revision=0x%02x\n", revision & 0xFF); + if ((revision & 0xFF) != 0x10) + goto fail; + + { + grub_uint32_t control; + /* Check SMM/BIOS ownership of OHCI (SMM = USB Legacy Support driver for BIOS) */ + control = grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL); + if ((control & 0x100) != 0) + { + unsigned i; + grub_dprintf("ohci", "OHCI is owned by SMM\n"); + /* Do change of ownership */ + /* Ownership change request */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, (1<<3)); /* XXX: Magic. */ + /* Waiting for SMM deactivation */ + for (i=0; i < 10; i++) + { + if ((grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL) & 0x100) == 0) + { + grub_dprintf("ohci", "Ownership changed normally.\n"); + break; + } + grub_millisleep (100); + } + if (i >= 10) + { + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROL, + grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL) & ~0x100); + grub_dprintf("ohci", "Ownership changing timeout, change forced !\n"); + } + } + else if (((control & 0x100) == 0) && + ((control & 0xc0) != 0)) /* Not owned by SMM nor reset */ + { + grub_dprintf("ohci", "OHCI is owned by BIOS\n"); + /* Do change of ownership - not implemented yet... */ + /* In fact we probably need to do nothing ...? */ + } + else + { + grub_dprintf("ohci", "OHCI is not owned by SMM nor BIOS\n"); + /* We can setup OHCI. */ + } + } + + /* Suspend the OHCI by issuing a reset. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1); /* XXX: Magic. */ + grub_millisleep (1); + grub_dprintf ("ohci", "OHCI reset\n"); + + grub_ohci_writereg32 (o, GRUB_OHCI_REG_FRAME_INTERVAL, + (GRUB_OHCI_FSMPS + << GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_SHIFT) + | (GRUB_OHCI_FRAME_INTERVAL + << GRUB_OHCI_REG_FRAME_INTERVAL_FI_SHIFT)); + + grub_ohci_writereg32 (o, GRUB_OHCI_REG_PERIODIC_START, + GRUB_OHCI_PERIODIC_START); + + /* Setup the HCCA. */ + o->hcca->donehead = 0; + grub_ohci_writereg32 (o, GRUB_OHCI_REG_HCCA, o->hcca_addr); + grub_dprintf ("ohci", "OHCI HCCA\n"); + + /* Misc. pre-sets. */ + o->hcca->donehead = 0; + grub_ohci_writereg32 (o, GRUB_OHCI_REG_INTSTATUS, 0x7f); /* Clears everything */ + /* We don't want modify CONTROL/BULK HEAD registers. + * So we assign to HEAD registers zero ED from related array + * and we will not use this ED, it will be always skipped. + * It should not produce notable performance penalty (I hope). */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLHEAD, o->ed_ctrl_addr); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLCURR, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKHEAD, o->ed_bulk_addr); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKCURR, 0); + + /* Check OHCI Legacy Support */ + if ((revision & 0x100) != 0) + { + grub_dprintf ("ohci", "Legacy Support registers detected\n"); + grub_dprintf ("ohci", "Current state of legacy control reg.: 0x%04x\n", + grub_ohci_readreg32 (o, GRUB_OHCI_REG_LEGACY_CONTROL)); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_LEGACY_CONTROL, + (grub_ohci_readreg32 (o, GRUB_OHCI_REG_LEGACY_CONTROL)) & ~1); + grub_dprintf ("ohci", "OHCI Legacy Support disabled.\n"); + } + + /* Enable the OHCI + enable CONTROL and BULK LIST. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROL, + (2 << 6) + | GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE + | GRUB_OHCI_REG_CONTROL_BULK_ENABLE ); + grub_dprintf ("ohci", "OHCI enable: 0x%02x\n", + (grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL) >> 6) & 3); + + /* Power on all ports */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBA, + (grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBA) + & ~GRUB_OHCI_RHUB_PORT_POWER_MASK) + | GRUB_OHCI_RHUB_PORT_ALL_POWERED); +#if 0 /* We don't need it at all, handled via hotplugging */ + /* Now we have hot-plugging, we need to wait for stable power only */ + grub_millisleep (100); +#endif + + /* Link to ohci now that initialisation is successful. */ + o->next = ohci; + ohci = o; + + return 0; + + fail: + if (o) + grub_dma_free (o->td_chunk); + grub_dma_free (o->ed_bulk_chunk); + grub_dma_free (o->ed_ctrl_chunk); + grub_dma_free (o->hcca_chunk); + grub_free (o); + + return 0; +} + + +static void +grub_ohci_inithw (void) +{ + grub_pci_iterate (grub_ohci_pci_iter); +} + + + +static int +grub_ohci_iterate (int (*hook) (grub_usb_controller_t dev)) +{ + struct grub_ohci *o; + struct grub_usb_controller dev; + + for (o = ohci; o; o = o->next) + { + dev.data = o; + if (hook (&dev)) + return 1; + } + + return 0; +} + +static grub_ohci_ed_t +grub_ohci_find_ed (struct grub_ohci *o, int bulk, grub_uint32_t target) +{ + grub_ohci_ed_t ed, ed_next; + grub_uint32_t target_addr = target & GRUB_OHCI_ED_ADDR_MASK; + int count; + int i; + + /* Use proper values and structures. */ + if (bulk) + { + count = GRUB_OHCI_BULK_EDS; + ed = o->ed_bulk; + ed_next = grub_ohci_ed_phys2virt(o, bulk, + grub_le_to_cpu32 (ed->next_ed) ); + } + else + { + count = GRUB_OHCI_CTRL_EDS; + ed = o->ed_ctrl; + ed_next = grub_ohci_ed_phys2virt(o, bulk, + grub_le_to_cpu32 (ed->next_ed) ); + } + + /* First try to find existing ED with proper target address */ + for (i = 0; ; ) + { + if (i && /* We ignore zero ED */ + ((ed->target & GRUB_OHCI_ED_ADDR_MASK) == target_addr)) + return ed; /* Found proper existing ED */ + i++; + if (ed_next && (i < count)) + { + ed = ed_next; + ed_next = grub_ohci_ed_phys2virt(o, bulk, + grub_le_to_cpu32 (ed->next_ed) ); + continue; + } + break; + } + /* ED with target_addr does not exist, we have to add it */ + /* Have we any free ED in array ? */ + if (i >= count) /* No. */ + return NULL; + /* Currently we simply take next ED in array, no allocation + * function is used. It should be no problem until hot-plugging + * will be implemented, i.e. until we will need to de-allocate EDs + * of unplugged devices. */ + /* We can link new ED to previous ED safely as the new ED should + * still have set skip bit. */ + ed->next_ed = grub_cpu_to_le32 ( grub_ohci_virt_to_phys (o, + bulk, &ed[1])); + return &ed[1]; +} + +static grub_ohci_td_t +grub_ohci_alloc_td (struct grub_ohci *o) +{ + grub_ohci_td_t ret; + + /* Check if there is a Transfer Descriptor available. */ + if (! o->td_free) + return NULL; + + ret = o->td_free; /* Take current free TD */ + o->td_free = (grub_ohci_td_t)ret->link_td; /* Advance to next free TD in chain */ + ret->link_td = 0; /* Reset link_td in allocated TD */ + return ret; +} + +static void +grub_ohci_free_td (struct grub_ohci *o, grub_ohci_td_t td) +{ + grub_memset ( (void*)td, 0, sizeof(struct grub_ohci_td) ); + td->link_td = o->td_free; /* Cahin new free TD & rest */ + o->td_free = td; /* Change address of first free TD */ +} + +static void +grub_ohci_free_tds (struct grub_ohci *o, grub_ohci_td_t td) +{ + if (!td) + return; + + /* Unchain first TD from previous TD if it is chained */ + if (td->prev_td_phys) + { + grub_ohci_td_t td_prev_virt = grub_ohci_td_phys2virt(o, + td->prev_td_phys); + + if (td == (grub_ohci_td_t) td_prev_virt->link_td) + td_prev_virt->link_td = 0; + } + + /* Free all TDs from td (chained by link_td) */ + while (td) + { + grub_ohci_td_t tdprev; + + /* Unlink the queue. */ + tdprev = td; + td = (grub_ohci_td_t) td->link_td; + + /* Free the TD. */ + grub_ohci_free_td (o, tdprev); + } +} + +static void +grub_ohci_transaction (grub_ohci_td_t td, + grub_transfer_type_t type, unsigned int toggle, + grub_size_t size, grub_uint32_t data) +{ + grub_uint32_t token; + grub_uint32_t buffer; + grub_uint32_t buffer_end; + + grub_dprintf ("ohci", "OHCI transaction td=%p type=%d, toggle=%d, size=%lu\n", + td, type, toggle, (unsigned long) size); + + switch (type) + { + case GRUB_USB_TRANSFER_TYPE_SETUP: + token = 0 << 19; + break; + case GRUB_USB_TRANSFER_TYPE_IN: + token = 2 << 19; + break; + case GRUB_USB_TRANSFER_TYPE_OUT: + token = 1 << 19; + break; + default: + token = 0; + break; + } + + /* Set the token */ + token |= ( 7 << 21); /* Never generate interrupt */ + token |= toggle << 24; + token |= 1 << 25; + + /* Set "Not accessed" error code */ + token |= 15 << 28; + + buffer = data; + buffer_end = buffer + size - 1; + + /* Set correct buffer values in TD if zero transfer occurs */ + if (size) + { + buffer = (grub_uint32_t) data; + buffer_end = buffer + size - 1; + td->buffer = grub_cpu_to_le32 (buffer); + td->buffer_end = grub_cpu_to_le32 (buffer_end); + } + else + { + td->buffer = 0; + td->buffer_end = 0; + } + + /* Set the rest of TD */ + td->token = grub_cpu_to_le32 (token); + td->next_td = 0; +} + +struct grub_ohci_transfer_controller_data +{ + grub_uint32_t tderr_phys; + grub_uint32_t td_last_phys; + grub_ohci_ed_t ed_virt; + grub_ohci_td_t td_current_virt; + grub_ohci_td_t td_head_virt; +}; + +static grub_usb_err_t +grub_ohci_setup_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer) +{ + struct grub_ohci *o = (struct grub_ohci *) dev->data; + int bulk = 0; + grub_ohci_td_t td_next_virt; + grub_uint32_t target; + grub_uint32_t td_head_phys; + grub_uint32_t td_tail_phys; + int i; + struct grub_ohci_transfer_controller_data *cdata; + + cdata = grub_zalloc (sizeof (*cdata)); + if (!cdata) + return GRUB_USB_ERR_INTERNAL; + + /* Pre-set target for ED - we need it to find proper ED */ + /* Set the device address. */ + target = transfer->devaddr; + /* Set the endpoint. It should be masked, we need 4 bits only. */ + target |= (transfer->endpoint & 15) << 7; + /* Set the device speed. */ + target |= (transfer->dev->speed == GRUB_USB_SPEED_LOW) << 13; + /* Set the maximum packet size. */ + target |= transfer->max << 16; + + /* Determine if transfer type is bulk - we need to select proper ED */ + switch (transfer->type) + { + case GRUB_USB_TRANSACTION_TYPE_BULK: + bulk = 1; + break; + + case GRUB_USB_TRANSACTION_TYPE_CONTROL: + break; + + default: + grub_free (cdata); + return GRUB_USB_ERR_INTERNAL; + } + + /* Find proper ED or add new ED */ + cdata->ed_virt = grub_ohci_find_ed (o, bulk, target); + if (!cdata->ed_virt) + { + grub_dprintf ("ohci","Fatal: No free ED !\n"); + grub_free (cdata); + return GRUB_USB_ERR_INTERNAL; + } + + /* Take pointer to first TD from ED */ + td_head_phys = grub_le_to_cpu32 (cdata->ed_virt->td_head) & ~0xf; + td_tail_phys = grub_le_to_cpu32 (cdata->ed_virt->td_tail) & ~0xf; + + /* Sanity check - td_head should be equal to td_tail */ + if (td_head_phys != td_tail_phys) /* Should never happen ! */ + { + grub_dprintf ("ohci", "Fatal: HEAD is not equal to TAIL !\n"); + grub_dprintf ("ohci", "HEAD = 0x%02x, TAIL = 0x%02x\n", + td_head_phys, td_tail_phys); + /* XXX: Fix: What to do ? */ + grub_free (cdata); + return GRUB_USB_ERR_INTERNAL; + } + + /* Now we should handle first TD. If ED is newly allocated, + * we must allocate the first TD. */ + if (!td_head_phys) + { + cdata->td_head_virt = grub_ohci_alloc_td (o); + if (!cdata->td_head_virt) + return GRUB_USB_ERR_INTERNAL; /* We don't need de-allocate ED */ + /* We can set td_head only when ED is not active, i.e. + * when it is newly allocated. */ + cdata->ed_virt->td_head + = grub_cpu_to_le32 (grub_ohci_td_virt2phys (o, cdata->td_head_virt)); + cdata->ed_virt->td_tail = cdata->ed_virt->td_head; + } + else + cdata->td_head_virt = grub_ohci_td_phys2virt ( o, td_head_phys ); + + /* Set TDs */ + cdata->td_last_phys = td_head_phys; /* initial value to make compiler happy... */ + for (i = 0, cdata->td_current_virt = cdata->td_head_virt; + i < transfer->transcnt; i++) + { + grub_usb_transaction_t tr = &transfer->transactions[i]; + + grub_ohci_transaction (cdata->td_current_virt, tr->pid, tr->toggle, + tr->size, tr->data); + + /* Set index of TD in transfer */ + cdata->td_current_virt->tr_index = (grub_uint32_t) i; + + /* Remember last used (processed) TD phys. addr. */ + cdata->td_last_phys = grub_ohci_td_virt2phys (o, cdata->td_current_virt); + + /* Allocate next TD */ + td_next_virt = grub_ohci_alloc_td (o); + if (!td_next_virt) /* No free TD, cancel transfer and free TDs except head TD */ + { + if (i) /* if i==0 we have nothing to free... */ + grub_ohci_free_tds (o, grub_ohci_td_phys2virt(o, + grub_le_to_cpu32 (cdata->td_head_virt->next_td))); + /* Reset head TD */ + grub_memset ( (void*)cdata->td_head_virt, 0, + sizeof(struct grub_ohci_td) ); + grub_dprintf ("ohci", "Fatal: No free TD !"); + grub_free (cdata); + return GRUB_USB_ERR_INTERNAL; + } + + /* Chain TDs */ + + cdata->td_current_virt->link_td = td_next_virt; + cdata->td_current_virt->next_td = grub_cpu_to_le32 ( + grub_ohci_td_virt2phys (o, + td_next_virt) ); + td_next_virt->prev_td_phys = grub_ohci_td_virt2phys (o, + cdata->td_current_virt); + cdata->td_current_virt = td_next_virt; + } + + grub_dprintf ("ohci", "Tail TD (not processed) = %p\n", + cdata->td_current_virt); + + /* Setup the Endpoint Descriptor for transfer. */ + /* First set necessary fields in TARGET but keep (or set) skip bit */ + /* Note: It could be simpler if speed, format and max. packet + * size never change after first allocation of ED. + * But unfortunately max. packet size may change during initial + * setup sequence and we must handle it. */ + cdata->ed_virt->target = grub_cpu_to_le32 (target | (1 << 14)); + /* Set td_tail */ + cdata->ed_virt->td_tail + = grub_cpu_to_le32 (grub_ohci_td_virt2phys (o, cdata->td_current_virt)); + /* Now reset skip bit */ + cdata->ed_virt->target = grub_cpu_to_le32 (target); + /* ed_virt->td_head = grub_cpu_to_le32 (td_head); Must not be changed, it is maintained by OHCI */ + /* ed_virt->next_ed = grub_cpu_to_le32 (0); Handled by grub_ohci_find_ed, do not change ! */ + + grub_dprintf ("ohci", "program OHCI\n"); + + /* Program the OHCI to actually transfer. */ + switch (transfer->type) + { + case GRUB_USB_TRANSACTION_TYPE_BULK: + { + grub_dprintf ("ohci", "BULK list filled\n"); + /* Set BulkListFilled. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1 << 2); + /* Read back of register should ensure it is really written */ + grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS); + break; + } + + case GRUB_USB_TRANSACTION_TYPE_CONTROL: + { + grub_dprintf ("ohci", "CONTROL list filled\n"); + /* Set ControlListFilled. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1 << 1); + /* Read back of register should ensure it is really written */ + grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS); + break; + } + } + + transfer->controller_data = cdata; + + return GRUB_USB_ERR_NONE; +} + +static void +pre_finish_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer) +{ + struct grub_ohci *o = dev->data; + struct grub_ohci_transfer_controller_data *cdata = transfer->controller_data; + grub_uint32_t target; + grub_uint32_t status; + grub_uint32_t control; + grub_uint32_t intstatus; + + /* There are many ways how the loop above can finish: + * - normally without any error via INTSTATUS WDH bit + * : tderr_phys == td_last_phys, td_head == td_tail + * - normally with error via HALT bit in ED TD HEAD + * : td_head = next TD after TD with error + * : tderr_phys = last processed and retired TD with error, + * i.e. should be != 0 + * : if bad_OHCI == TRUE, tderr_phys will be probably invalid + * - unrecoverable error - I never seen it but it could be + * : err_unrec == TRUE, other values can contain anything... + * - timeout, it can be caused by: + * -- bad USB device - some devices have some bugs, see Linux source + * and related links + * -- bad OHCI controller - e.g. lost interrupts or does not set + * proper bits in INTSTATUS when real IRQ not enabled etc., + * see Linux source and related links + * One known bug is handled - if transfer finished + * successfully (i.e. HEAD==TAIL, last transfer TD is retired, + * HALT bit is not set) and WDH bit is not set in INTSTATUS - in + * this case we set o->bad_OHCI=TRUE and do alternate loop + * and error handling - but there is problem how to find retired + * TD with error code if HALT occurs and if DONEHEAD is not + * working - we need to find TD previous to current ED HEAD + * -- bad code of this driver or some unknown reasons - :-( + * it can be e.g. bad handling of EDs/TDs/toggle bit... + */ + + /* Remember target for debug and set skip flag in ED */ + /* It should be normaly not necessary but we need it at least + * in case of timeout */ + target = grub_le_to_cpu32 ( cdata->ed_virt->target ); + cdata->ed_virt->target = grub_cpu_to_le32 (target | (1 << 14)); + /* Read registers for debug - they should be read now because + * debug prints case unwanted delays, so something can happen + * in the meantime... */ + control = grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL); + status = grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS); + intstatus = grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS); + /* Now print debug values - to have full info what happened */ + grub_dprintf ("ohci", "loop finished: control=0x%02x status=0x%02x\n", + control, status); + grub_dprintf ("ohci", "intstatus=0x%02x, td_last_phys=0x%02x\n", + intstatus, cdata->td_last_phys); + grub_dprintf ("ohci", "TARGET=0x%02x, HEAD=0x%02x, TAIL=0x%02x\n", + target, + grub_le_to_cpu32 (cdata->ed_virt->td_head), + grub_le_to_cpu32 (cdata->ed_virt->td_tail) ); + +} + +static void +finish_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer) +{ + struct grub_ohci *o = dev->data; + struct grub_ohci_transfer_controller_data *cdata = transfer->controller_data; + + /* Set empty ED - set HEAD = TAIL = last (not processed) TD */ + cdata->ed_virt->td_head = grub_cpu_to_le32 (grub_le_to_cpu32 (cdata->ed_virt->td_tail) & ~0xf); + + /* At this point always should be: + * ED has skip bit set and halted or empty or after next SOF, + * i.e. it is safe to free all TDs except last not processed + * ED HEAD == TAIL == phys. addr. of td_current_virt */ + + /* Un-chainig of last TD */ + if (cdata->td_current_virt->prev_td_phys) + { + grub_ohci_td_t td_prev_virt + = grub_ohci_td_phys2virt (o, cdata->td_current_virt->prev_td_phys); + + if (cdata->td_current_virt == (grub_ohci_td_t) td_prev_virt->link_td) + td_prev_virt->link_td = 0; + + cdata->td_current_virt->prev_td_phys = 0; + } + + grub_dprintf ("ohci", "OHCI finished, freeing\n"); + grub_ohci_free_tds (o, cdata->td_head_virt); + grub_free (cdata); +} + +static grub_usb_err_t +parse_halt (grub_usb_controller_t dev, + grub_usb_transfer_t transfer, + grub_size_t *actual) +{ + struct grub_ohci *o = dev->data; + struct grub_ohci_transfer_controller_data *cdata = transfer->controller_data; + grub_uint8_t errcode = 0; + grub_usb_err_t err = GRUB_USB_ERR_NAK; + grub_ohci_td_t tderr_virt = NULL; + + *actual = 0; + + pre_finish_transfer (dev, transfer); + + /* First we must get proper tderr_phys value */ + /* Retired TD with error should be previous TD to ED->td_head */ + cdata->tderr_phys = grub_ohci_td_phys2virt (o, + grub_le_to_cpu32 (cdata->ed_virt->td_head) & ~0xf ) + ->prev_td_phys; + + /* Prepare pointer to last processed TD and get error code */ + tderr_virt = grub_ohci_td_phys2virt (o, cdata->tderr_phys); + /* Set index of last processed TD */ + if (tderr_virt) + { + errcode = grub_le_to_cpu32 (tderr_virt->token) >> 28; + transfer->last_trans = tderr_virt->tr_index; + } + else + transfer->last_trans = -1; + + /* Evaluation of error code */ + grub_dprintf ("ohci", "OHCI tderr_phys=0x%02x, errcode=0x%02x\n", + cdata->tderr_phys, errcode); + switch (errcode) + { + case 0: + /* XXX: Should not happen! */ + grub_error (GRUB_ERR_IO, "OHCI failed without reporting the reason"); + err = GRUB_USB_ERR_INTERNAL; + break; + + case 1: + /* XXX: CRC error. */ + err = GRUB_USB_ERR_TIMEOUT; + break; + + case 2: + err = GRUB_USB_ERR_BITSTUFF; + break; + + case 3: + /* XXX: Data Toggle error. */ + err = GRUB_USB_ERR_DATA; + break; + + case 4: + err = GRUB_USB_ERR_STALL; + break; + + case 5: + /* XXX: Not responding. */ + err = GRUB_USB_ERR_TIMEOUT; + break; + + case 6: + /* XXX: PID Check bits failed. */ + err = GRUB_USB_ERR_BABBLE; + break; + + case 7: + /* XXX: PID unexpected failed. */ + err = GRUB_USB_ERR_BABBLE; + break; + + case 8: + /* XXX: Data overrun error. */ + err = GRUB_USB_ERR_DATA; + grub_dprintf ("ohci", "Overrun, failed TD address: %p, index: %d\n", + tderr_virt, tderr_virt->tr_index); + break; + + case 9: + /* XXX: Data underrun error. */ + grub_dprintf ("ohci", "Underrun, failed TD address: %p, index: %d\n", + tderr_virt, tderr_virt->tr_index); + if (transfer->last_trans == -1) + break; + *actual = transfer->transactions[transfer->last_trans].size + - (grub_le_to_cpu32 (tderr_virt->buffer_end) + - grub_le_to_cpu32 (tderr_virt->buffer)) + + transfer->transactions[transfer->last_trans].preceding; + err = GRUB_USB_ERR_NONE; + break; + + case 10: + /* XXX: Reserved. */ + err = GRUB_USB_ERR_NAK; + break; + + case 11: + /* XXX: Reserved. */ + err = GRUB_USB_ERR_NAK; + break; + + case 12: + /* XXX: Buffer overrun. */ + err = GRUB_USB_ERR_DATA; + break; + + case 13: + /* XXX: Buffer underrun. */ + err = GRUB_USB_ERR_DATA; + break; + + default: + err = GRUB_USB_ERR_NAK; + break; + } + + finish_transfer (dev, transfer); + + return err; +} + +static grub_usb_err_t +parse_success (grub_usb_controller_t dev, + grub_usb_transfer_t transfer, + grub_size_t *actual) +{ + struct grub_ohci *o = dev->data; + struct grub_ohci_transfer_controller_data *cdata = transfer->controller_data; + grub_ohci_td_t tderr_virt = NULL; + + pre_finish_transfer (dev, transfer); + + /* I hope we can do it as transfer (most probably) finished OK */ + cdata->tderr_phys = cdata->td_last_phys; + + /* Prepare pointer to last processed TD */ + tderr_virt = grub_ohci_td_phys2virt (o, cdata->tderr_phys); + + /* Set index of last processed TD */ + if (tderr_virt) + transfer->last_trans = tderr_virt->tr_index; + else + transfer->last_trans = -1; + *actual = transfer->size + 1; + + finish_transfer (dev, transfer); + + return GRUB_USB_ERR_NONE; +} + +static grub_usb_err_t +parse_unrec (grub_usb_controller_t dev, + grub_usb_transfer_t transfer, + grub_size_t *actual) +{ + struct grub_ohci *o = dev->data; + + *actual = 0; + + pre_finish_transfer (dev, transfer); + + /* Don't try to get error code and last processed TD for proper + * toggle bit value - anything can be invalid */ + grub_dprintf("ohci", "Unrecoverable error!"); + + /* Do OHCI reset in case of unrecoverable error - maybe we will need + * do more - re-enumerate bus etc. (?) */ + + /* Suspend the OHCI by issuing a reset. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1); /* XXX: Magic. */ + /* Read back of register should ensure it is really written */ + grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS); + grub_millisleep (1); + grub_dprintf ("ohci", "Unrecoverable error - OHCI reset\n"); + + /* Misc. resets. */ + o->hcca->donehead = 0; + grub_ohci_writereg32 (o, GRUB_OHCI_REG_INTSTATUS, 0x7f); /* Clears everything */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLHEAD, o->ed_ctrl_addr); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLCURR, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKHEAD, o->ed_bulk_addr); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKCURR, 0); + /* Read back of register should ensure it is really written */ + grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS); + + /* Enable the OHCI. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROL, + (2 << 6) + | GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE + | GRUB_OHCI_REG_CONTROL_BULK_ENABLE ); + finish_transfer (dev, transfer); + + return GRUB_USB_ERR_UNRECOVERABLE; +} + +static grub_usb_err_t +grub_ohci_check_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer, + grub_size_t *actual) +{ + struct grub_ohci *o = dev->data; + struct grub_ohci_transfer_controller_data *cdata = transfer->controller_data; + grub_uint32_t intstatus; + + /* Check transfer status */ + intstatus = grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS); + + if ((intstatus & 0x10) != 0) + /* Unrecoverable error - only reset can help...! */ + return parse_unrec (dev, transfer, actual); + + /* Detected a HALT. */ + if ((grub_le_to_cpu32 (cdata->ed_virt->td_head) & 1)) + return parse_halt (dev, transfer, actual); + + /* Finished ED detection */ + if ( (grub_le_to_cpu32 (cdata->ed_virt->td_head) & ~0xf) == + (grub_le_to_cpu32 (cdata->ed_virt->td_tail) & ~0xf) ) /* Empty ED */ + { + /* Check the HALT bit */ + /* It looks like nonsense - it was tested previously... + * but it can change because OHCI is working + * simultaneously via DMA... */ + if (grub_le_to_cpu32 (cdata->ed_virt->td_head) & 1) + return parse_halt (dev, transfer, actual); + else + return parse_success (dev, transfer, actual); + } + + return GRUB_USB_ERR_WAIT; +} + +static grub_usb_err_t +grub_ohci_cancel_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer) +{ + struct grub_ohci *o = dev->data; + struct grub_ohci_transfer_controller_data *cdata = transfer->controller_data; + grub_ohci_td_t tderr_virt = NULL; + + pre_finish_transfer (dev, transfer); + + grub_dprintf("ohci", "Timeout !\n"); + + /* We should wait for next SOF to be sure that ED is unaccessed + * by OHCI */ + /* SF bit reset. (SF bit indicates Start Of Frame (SOF) packet) */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_INTSTATUS, (1<<2)); + /* Wait for new SOF */ + while ((grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS) & 0x4) == 0); + + /* Possible retired TD with error should be previous TD to ED->td_head */ + cdata->tderr_phys + = grub_ohci_td_phys2virt (o, grub_le_to_cpu32 (cdata->ed_virt->td_head) + & ~0xf)->prev_td_phys; + + tderr_virt = grub_ohci_td_phys2virt (o,cdata-> tderr_phys); + + grub_dprintf ("ohci", "Cancel: tderr_phys=0x%x, tderr_virt=%p\n", + cdata->tderr_phys, tderr_virt); + + if (tderr_virt) + transfer->last_trans = tderr_virt->tr_index; + else + transfer->last_trans = -1; + + finish_transfer (dev, transfer); + + return GRUB_USB_ERR_NONE; +} + +static grub_err_t +grub_ohci_portstatus (grub_usb_controller_t dev, + unsigned int port, unsigned int enable) +{ + struct grub_ohci *o = (struct grub_ohci *) dev->data; + grub_uint64_t endtime; + int i; + + grub_dprintf ("ohci", "begin of portstatus=0x%02x\n", + grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port)); + + if (!enable) /* We don't need reset port */ + { + /* Disable the port and wait for it. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, + GRUB_OHCI_CLEAR_PORT_ENABLE); + endtime = grub_get_time_ms () + 1000; + while ((grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port) + & (1 << 1))) + if (grub_get_time_ms () > endtime) + return grub_error (GRUB_ERR_IO, "OHCI Timed out - disable"); + + grub_dprintf ("ohci", "end of portstatus=0x%02x\n", + grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port)); + return GRUB_ERR_NONE; + } + + /* OHCI does one reset signal 10ms long but USB spec. + * requests 50ms for root hub (no need to be continuous). + * So, we do reset 5 times... */ + for (i = 0; i < 5; i++) + { + /* Reset the port - timing of reset is done by OHCI */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, + GRUB_OHCI_SET_PORT_RESET); + + /* Wait for reset completion */ + endtime = grub_get_time_ms () + 1000; + while (! (grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port) + & GRUB_OHCI_SET_PORT_RESET_STATUS_CHANGE)) + if (grub_get_time_ms () > endtime) + return grub_error (GRUB_ERR_IO, "OHCI Timed out - reset"); + + /* End the reset signaling - reset the reset status change */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, + GRUB_OHCI_SET_PORT_RESET_STATUS_CHANGE); + grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port); + } + + /* Enable port */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, + GRUB_OHCI_SET_PORT_ENABLE); + grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port); + + /* Wait for signal enabled */ + endtime = grub_get_time_ms () + 1000; + while (! (grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port) + & (1 << 1))) + if (grub_get_time_ms () > endtime) + return grub_error (GRUB_ERR_IO, "OHCI Timed out - enable"); + + /* Reset bit Connect Status Change */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, + GRUB_OHCI_RESET_CONNECT_CHANGE); + + /* "Reset recovery time" (USB spec.) */ + grub_millisleep (10); + + grub_dprintf ("ohci", "end of portstatus=0x%02x\n", + grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port)); + + return GRUB_ERR_NONE; +} + +static grub_usb_speed_t +grub_ohci_detect_dev (grub_usb_controller_t dev, int port, int *changed) +{ + struct grub_ohci *o = (struct grub_ohci *) dev->data; + grub_uint32_t status; + + status = grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBPORT + port); + + grub_dprintf ("ohci", "detect_dev status=0x%02x\n", status); + + /* Connect Status Change bit - it detects change of connection */ + if (status & GRUB_OHCI_RESET_CONNECT_CHANGE) + { + *changed = 1; + /* Reset bit Connect Status Change */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + port, + GRUB_OHCI_RESET_CONNECT_CHANGE); + } + else + *changed = 0; + + if (! (status & 1)) + return GRUB_USB_SPEED_NONE; + else if (status & (1 << 9)) + return GRUB_USB_SPEED_LOW; + else + return GRUB_USB_SPEED_FULL; +} + +static int +grub_ohci_hubports (grub_usb_controller_t dev) +{ + struct grub_ohci *o = (struct grub_ohci *) dev->data; + grub_uint32_t portinfo; + + portinfo = grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBA); + + grub_dprintf ("ohci", "root hub ports=%d\n", portinfo & 0xFF); + + return portinfo & 0xFF; +} + +static grub_err_t +grub_ohci_fini_hw (int noreturn __attribute__ ((unused))) +{ + struct grub_ohci *o; + + for (o = ohci; o; o = o->next) + { + int i, nports = grub_ohci_readreg32 (o, GRUB_OHCI_REG_RHUBA) & 0xff; + grub_uint64_t maxtime; + + /* Set skip in all EDs */ + if (o->ed_bulk) + for (i=0; i < GRUB_OHCI_BULK_EDS; i++) + o->ed_bulk[i].target |= grub_cpu_to_le32 (1 << 14); /* skip */ + if (o->ed_ctrl) + for (i=0; i < GRUB_OHCI_CTRL_EDS; i++) + o->ed_ctrl[i].target |= grub_cpu_to_le32 (1 << 14); /* skip */ + + /* We should wait for next SOF to be sure that all EDs are + * unaccessed by OHCI. But OHCI can be non-functional, so + * more than 1ms timeout have to be applied. */ + /* SF bit reset. (SF bit indicates Start Of Frame (SOF) packet) */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_INTSTATUS, (1<<2)); + maxtime = grub_get_time_ms () + 2; + /* Wait for new SOF or timeout */ + while ( ((grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS) & 0x4) + == 0) || (grub_get_time_ms () >= maxtime) ); + + for (i = 0; i < nports; i++) + grub_ohci_writereg32 (o, GRUB_OHCI_REG_RHUBPORT + i, + GRUB_OHCI_CLEAR_PORT_ENABLE); + + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CMDSTATUS, 1); + grub_millisleep (1); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_HCCA, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLHEAD, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLCURR, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKHEAD, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKCURR, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_DONEHEAD, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROL, 0); + /* Read back of register should ensure it is really written */ + grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS); + +#if 0 /* Is this necessary before booting? Probably not .(?) + * But it must be done if module is removed ! (Or not ?) + * How to do it ? - Probably grub_ohci_restore_hw should be more + * complicated. (?) + * (If we do it, we need to reallocate EDs and TDs in function + * grub_ohci_restore_hw ! */ + + /* Free allocated EDs and TDs */ + grub_dma_free (o->td_chunk); + grub_dma_free (o->ed_bulk_chunk); + grub_dma_free (o->ed_ctrl_chunk); + grub_dma_free (o->hcca_chunk); +#endif + } + grub_millisleep (10); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_ohci_restore_hw (void) +{ + struct grub_ohci *o; + + for (o = ohci; o; o = o->next) + { + grub_ohci_writereg32 (o, GRUB_OHCI_REG_HCCA, o->hcca_addr); + o->hcca->donehead = 0; + grub_ohci_writereg32 (o, GRUB_OHCI_REG_INTSTATUS, 0x7f); /* Clears everything */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLHEAD, o->ed_ctrl_addr); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROLCURR, 0); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKHEAD, o->ed_bulk_addr); + grub_ohci_writereg32 (o, GRUB_OHCI_REG_BULKCURR, 0); + /* Read back of register should ensure it is really written */ + grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS); + + /* Enable the OHCI. */ + grub_ohci_writereg32 (o, GRUB_OHCI_REG_CONTROL, + (2 << 6) + | GRUB_OHCI_REG_CONTROL_CONTROL_ENABLE + | GRUB_OHCI_REG_CONTROL_BULK_ENABLE ); + } + + return GRUB_ERR_NONE; +} + + +static struct grub_usb_controller_dev usb_controller = +{ + .name = "ohci", + .iterate = grub_ohci_iterate, + .setup_transfer = grub_ohci_setup_transfer, + .check_transfer = grub_ohci_check_transfer, + .cancel_transfer = grub_ohci_cancel_transfer, + .hubports = grub_ohci_hubports, + .portstatus = grub_ohci_portstatus, + .detect_dev = grub_ohci_detect_dev +}; + +GRUB_MOD_INIT(ohci) +{ + COMPILE_TIME_ASSERT (sizeof (struct grub_ohci_td) == 32); + COMPILE_TIME_ASSERT (sizeof (struct grub_ohci_ed) == 16); + grub_ohci_inithw (); + grub_usb_controller_dev_register (&usb_controller); + grub_loader_register_preboot_hook (grub_ohci_fini_hw, grub_ohci_restore_hw, + GRUB_LOADER_PREBOOT_HOOK_PRIO_DISK); +} + +GRUB_MOD_FINI(ohci) +{ + grub_ohci_fini_hw (0); + grub_usb_controller_dev_unregister (&usb_controller); +} diff --git a/grub-core/bus/usb/serial/common.c b/grub-core/bus/usb/serial/common.c new file mode 100644 index 0000000..55d1884 --- /dev/null +++ b/grub-core/bus/usb/serial/common.c @@ -0,0 +1,134 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000,2001,2002,2003,2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +void +grub_usbserial_fini (struct grub_serial_port *port) +{ + port->usbdev->config[port->configno].interf[port->interfno].detach_hook = 0; + port->usbdev->config[port->configno].interf[port->interfno].attached = 0; +} + +void +grub_usbserial_detach (grub_usb_device_t usbdev, int configno, int interfno) +{ + static struct grub_serial_port *port; + port = usbdev->config[configno].interf[interfno].detach_data; + + grub_serial_unregister (port); +} + +static int usbnum = 0; + +int +grub_usbserial_attach (grub_usb_device_t usbdev, int configno, int interfno, + struct grub_serial_driver *driver) +{ + struct grub_serial_port *port; + int j; + struct grub_usb_desc_if *interf; + grub_usb_err_t err = GRUB_USB_ERR_NONE; + + interf = usbdev->config[configno].interf[interfno].descif; + + port = grub_malloc (sizeof (*port)); + if (!port) + { + grub_print_error (); + return 0; + } + + port->name = grub_xasprintf ("usb%d", usbnum++); + if (!port->name) + { + grub_free (port); + grub_print_error (); + return 0; + } + + port->usbdev = usbdev; + port->driver = driver; + for (j = 0; j < interf->endpointcnt; j++) + { + struct grub_usb_desc_endp *endp; + endp = &usbdev->config[0].interf[interfno].descendp[j]; + + if ((endp->endp_addr & 128) && (endp->attrib & 3) == 2) + { + /* Bulk IN endpoint. */ + port->in_endp = endp; + } + else if (!(endp->endp_addr & 128) && (endp->attrib & 3) == 2) + { + /* Bulk OUT endpoint. */ + port->out_endp = endp; + } + } + + /* Configure device */ + if (port->out_endp && port->in_endp) + err = grub_usb_set_configuration (usbdev, configno + 1); + + if (!port->out_endp || !port->in_endp || err) + { + grub_free (port->name); + grub_free (port); + return 0; + } + + port->configno = configno; + port->interfno = interfno; + + grub_serial_config_defaults (port); + grub_serial_register (port); + + port->usbdev->config[port->configno].interf[port->interfno].detach_hook + = grub_usbserial_detach; + port->usbdev->config[port->configno].interf[port->interfno].detach_data + = port; + + return 1; +} + +int +grub_usbserial_fetch (struct grub_serial_port *port, grub_size_t header_size) +{ + grub_usb_err_t err; + grub_size_t actual; + + if (port->bufstart < port->bufend) + return port->buf[port->bufstart++]; + + err = grub_usb_bulk_read_extended (port->usbdev, port->in_endp->endp_addr, + sizeof (port->buf), port->buf, 10, + &actual); + if (err != GRUB_USB_ERR_NONE) + return -1; + + port->bufstart = header_size; + port->bufend = actual; + if (port->bufstart >= port->bufend) + return -1; + + return port->buf[port->bufstart++]; +} diff --git a/grub-core/bus/usb/serial/ftdi.c b/grub-core/bus/usb/serial/ftdi.c new file mode 100644 index 0000000..07ac7ac --- /dev/null +++ b/grub-core/bus/usb/serial/ftdi.c @@ -0,0 +1,207 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000,2001,2002,2003,2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +enum + { + GRUB_FTDI_MODEM_CTRL = 0x01, + GRUB_FTDI_FLOW_CTRL = 0x02, + GRUB_FTDI_SPEED_CTRL = 0x03, + GRUB_FTDI_DATA_CTRL = 0x04 + }; + +#define GRUB_FTDI_MODEM_CTRL_DTRRTS 3 +#define GRUB_FTDI_FLOW_CTRL_DTRRTS 3 + +/* Convert speed to divisor. */ +static grub_uint32_t +get_divisor (unsigned int speed) +{ + unsigned int i; + + /* The structure for speed vs. divisor. */ + struct divisor + { + unsigned int speed; + grub_uint32_t div; + }; + + /* The table which lists common configurations. */ + /* Computed with a division formula with 3MHz as base frequency. */ + static struct divisor divisor_tab[] = + { + { 2400, 0x04e2 }, + { 4800, 0x0271 }, + { 9600, 0x4138 }, + { 19200, 0x809c }, + { 38400, 0xc04e }, + { 57600, 0xc034 }, + { 115200, 0x001a } + }; + + /* Set the baud rate. */ + for (i = 0; i < ARRAY_SIZE (divisor_tab); i++) + if (divisor_tab[i].speed == speed) + return divisor_tab[i].div; + return 0; +} + +static void +real_config (struct grub_serial_port *port) +{ + grub_uint32_t divisor; + const grub_uint16_t parities[] = { + [GRUB_SERIAL_PARITY_NONE] = 0x0000, + [GRUB_SERIAL_PARITY_ODD] = 0x0100, + [GRUB_SERIAL_PARITY_EVEN] = 0x0200 + }; + const grub_uint16_t stop_bits[] = { + [GRUB_SERIAL_STOP_BITS_1] = 0x0000, + [GRUB_SERIAL_STOP_BITS_2] = 0x1000, + }; + + if (port->configured) + return; + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + GRUB_FTDI_MODEM_CTRL, + GRUB_FTDI_MODEM_CTRL_DTRRTS, 0, 0, 0); + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + GRUB_FTDI_FLOW_CTRL, + GRUB_FTDI_FLOW_CTRL_DTRRTS, 0, 0, 0); + + divisor = get_divisor (port->config.speed); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + GRUB_FTDI_SPEED_CTRL, + divisor & 0xffff, divisor >> 16, 0, 0); + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + GRUB_FTDI_DATA_CTRL, + parities[port->config.parity] + | stop_bits[port->config.stop_bits] + | port->config.word_len, 0, 0, 0); + + port->configured = 1; +} + +/* Fetch a key. */ +static int +ftdi_hw_fetch (struct grub_serial_port *port) +{ + real_config (port); + + return grub_usbserial_fetch (port, 2); +} + +/* Put a character. */ +static void +ftdi_hw_put (struct grub_serial_port *port, const int c) +{ + char cc = c; + + real_config (port); + + grub_usb_bulk_write (port->usbdev, port->out_endp->endp_addr, 1, &cc); +} + +static grub_err_t +ftdi_hw_configure (struct grub_serial_port *port, + struct grub_serial_config *config) +{ + grub_uint16_t divisor; + + divisor = get_divisor (config->speed); + if (divisor == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "bad speed"); + + if (config->parity != GRUB_SERIAL_PARITY_NONE + && config->parity != GRUB_SERIAL_PARITY_ODD + && config->parity != GRUB_SERIAL_PARITY_EVEN) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unsupported parity"); + + if (config->stop_bits != GRUB_SERIAL_STOP_BITS_1 + && config->stop_bits != GRUB_SERIAL_STOP_BITS_2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unsupported stop bits"); + + if (config->word_len < 5 || config->word_len > 8) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unsupported word length"); + + port->config = *config; + port->configured = 0; + + return GRUB_ERR_NONE; +} + +static struct grub_serial_driver grub_ftdi_driver = + { + .configure = ftdi_hw_configure, + .fetch = ftdi_hw_fetch, + .put = ftdi_hw_put, + .fini = grub_usbserial_fini + }; + +static const struct +{ + grub_uint16_t vendor, product; +} products[] = + { + {0x0403, 0x6001} /* QEMU virtual USBserial. */ + }; + +static int +grub_ftdi_attach (grub_usb_device_t usbdev, int configno, int interfno) +{ + unsigned j; + + for (j = 0; j < ARRAY_SIZE (products); j++) + if (usbdev->descdev.vendorid == products[j].vendor + && usbdev->descdev.prodid == products[j].product) + break; + if (j == ARRAY_SIZE (products)) + return 0; + + return grub_usbserial_attach (usbdev, configno, interfno, + &grub_ftdi_driver); +} + +static struct grub_usb_attach_desc attach_hook = +{ + .class = 0xff, + .hook = grub_ftdi_attach +}; + +GRUB_MOD_INIT(usbserial_ftdi) +{ + grub_usb_register_attach_hook_class (&attach_hook); +} + +GRUB_MOD_FINI(usbserial_ftdi) +{ + grub_serial_unregister_driver (&grub_ftdi_driver); + grub_usb_unregister_attach_hook_class (&attach_hook); +} diff --git a/grub-core/bus/usb/serial/pl2303.c b/grub-core/bus/usb/serial/pl2303.c new file mode 100644 index 0000000..b995411 --- /dev/null +++ b/grub-core/bus/usb/serial/pl2303.c @@ -0,0 +1,220 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000,2001,2002,2003,2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Convert speed to divisor. */ +static grub_uint32_t +is_speed_supported (unsigned int speed) +{ + unsigned int i; + unsigned int supported[] = { 2400, 4800, 9600, 19200, 38400, 57600, 115200}; + + for (i = 0; i < ARRAY_SIZE (supported); i++) + if (supported[i] == speed) + return 1; + return 0; +} + +#define GRUB_PL2303_REQUEST_SET_CONFIG 0x20 +#define GRUB_PL2303_STOP_BITS_1 0x0 +#define GRUB_PL2303_STOP_BITS_2 0x2 + +#define GRUB_PL2303_PARITY_NONE 0 +#define GRUB_PL2303_PARITY_ODD 1 +#define GRUB_PL2303_PARITY_EVEN 2 + +struct grub_pl2303_config +{ + grub_uint32_t speed; + grub_uint8_t stop_bits; + grub_uint8_t parity; + grub_uint8_t word_len; +} __attribute__ ((packed)); + +static void +real_config (struct grub_serial_port *port) +{ + struct grub_pl2303_config config_pl2303; + char xx; + + if (port->configured) + return; + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_IN, + 1, 0x8484, 0, 1, &xx); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 0x0404, 0, 0, 0); + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_IN, + 1, 0x8484, 0, 1, &xx); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_IN, + 1, 0x8383, 0, 1, &xx); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_IN, + 1, 0x8484, 0, 1, &xx); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 0x0404, 1, 0, 0); + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_IN, + 1, 0x8484, 0, 1, &xx); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_IN, + 1, 0x8383, 0, 1, &xx); + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 0, 1, 0, 0); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 1, 0, 0, 0); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 2, 0x44, 0, 0); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 8, 0, 0, 0); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 9, 0, 0, 0); + + if (port->config.stop_bits == GRUB_SERIAL_STOP_BITS_2) + config_pl2303.stop_bits = GRUB_PL2303_STOP_BITS_2; + else + config_pl2303.stop_bits = GRUB_PL2303_STOP_BITS_1; + + switch (port->config.parity) + { + case GRUB_SERIAL_PARITY_NONE: + config_pl2303.parity = GRUB_PL2303_PARITY_NONE; + break; + case GRUB_SERIAL_PARITY_ODD: + config_pl2303.parity = GRUB_PL2303_PARITY_ODD; + break; + case GRUB_SERIAL_PARITY_EVEN: + config_pl2303.parity = GRUB_PL2303_PARITY_EVEN; + break; + } + + config_pl2303.word_len = port->config.word_len; + config_pl2303.speed = port->config.speed; + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_CLASS_INTERFACE_OUT, + GRUB_PL2303_REQUEST_SET_CONFIG, 0, 0, + sizeof (config_pl2303), (char *) &config_pl2303); + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_CLASS_INTERFACE_OUT, + 0x22, 3, 0, 0, 0); + + grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT, + 1, 0, 0x61, 0, 0); + port->configured = 1; +} + +/* Fetch a key. */ +static int +pl2303_hw_fetch (struct grub_serial_port *port) +{ + real_config (port); + + return grub_usbserial_fetch (port, 0); +} + +/* Put a character. */ +static void +pl2303_hw_put (struct grub_serial_port *port, const int c) +{ + char cc = c; + + real_config (port); + + grub_usb_bulk_write (port->usbdev, port->out_endp->endp_addr, 1, &cc); +} + +static grub_err_t +pl2303_hw_configure (struct grub_serial_port *port, + struct grub_serial_config *config) +{ + if (!is_speed_supported (config->speed)) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "bad speed"); + + if (config->parity != GRUB_SERIAL_PARITY_NONE + && config->parity != GRUB_SERIAL_PARITY_ODD + && config->parity != GRUB_SERIAL_PARITY_EVEN) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unsupported parity"); + + if (config->stop_bits != GRUB_SERIAL_STOP_BITS_1 + && config->stop_bits != GRUB_SERIAL_STOP_BITS_2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unsupported stop bits"); + + if (config->word_len < 5 || config->word_len > 8) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unsupported word length"); + + port->config = *config; + port->configured = 0; + + return GRUB_ERR_NONE; +} + +static struct grub_serial_driver grub_pl2303_driver = + { + .configure = pl2303_hw_configure, + .fetch = pl2303_hw_fetch, + .put = pl2303_hw_put, + .fini = grub_usbserial_fini + }; + +static const struct +{ + grub_uint16_t vendor, product; +} products[] = + { + {0x067b, 0x2303} + }; + +static int +grub_pl2303_attach (grub_usb_device_t usbdev, int configno, int interfno) +{ + unsigned j; + + for (j = 0; j < ARRAY_SIZE (products); j++) + if (usbdev->descdev.vendorid == products[j].vendor + && usbdev->descdev.prodid == products[j].product) + break; + if (j == ARRAY_SIZE (products)) + return 0; + + return grub_usbserial_attach (usbdev, configno, interfno, + &grub_pl2303_driver); +} + +static struct grub_usb_attach_desc attach_hook = +{ + .class = 0xff, + .hook = grub_pl2303_attach +}; + +GRUB_MOD_INIT(usbserial_pl2303) +{ + grub_usb_register_attach_hook_class (&attach_hook); +} + +GRUB_MOD_FINI(usbserial_pl2303) +{ + grub_serial_unregister_driver (&grub_pl2303_driver); + grub_usb_unregister_attach_hook_class (&attach_hook); +} diff --git a/grub-core/bus/usb/uhci.c b/grub-core/bus/usb/uhci.c new file mode 100644 index 0000000..99e597f --- /dev/null +++ b/grub-core/bus/usb/uhci.c @@ -0,0 +1,816 @@ +/* uhci.c - UHCI Support. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_UHCI_IOMASK (0x7FF << 5) + +#define N_QH 256 +#define N_TD 640 + +typedef enum + { + GRUB_UHCI_REG_USBCMD = 0x00, + GRUB_UHCI_REG_FLBASEADD = 0x08, + GRUB_UHCI_REG_PORTSC1 = 0x10, + GRUB_UHCI_REG_PORTSC2 = 0x12 + } grub_uhci_reg_t; + +#define GRUB_UHCI_LINK_TERMINATE 1 +#define GRUB_UHCI_LINK_QUEUE_HEAD 2 + +enum + { + GRUB_UHCI_REG_PORTSC_CONNECT_CHANGED = 0x0002, + GRUB_UHCI_REG_PORTSC_PORT_ENABLED = 0x0004, + GRUB_UHCI_REG_PORTSC_RESUME = 0x0040, + GRUB_UHCI_REG_PORTSC_RESET = 0x0200, + GRUB_UHCI_REG_PORTSC_SUSPEND = 0x1000, + GRUB_UHCI_REG_PORTSC_RW = GRUB_UHCI_REG_PORTSC_PORT_ENABLED + | GRUB_UHCI_REG_PORTSC_RESUME | GRUB_UHCI_REG_PORTSC_RESET + | GRUB_UHCI_REG_PORTSC_SUSPEND, + /* These bits should not be written as 1 unless we really need it */ + GRUB_UHCI_PORTSC_RWC = ((1 << 1) | (1 << 3) | (1 << 11) | (3 << 13)) + }; + +/* UHCI Queue Head. */ +struct grub_uhci_qh +{ + /* Queue head link pointer which points to the next queue head. */ + grub_uint32_t linkptr; + + /* Queue element link pointer which points to the first data object + within the queue. */ + grub_uint32_t elinkptr; + + /* Queue heads are aligned on 16 bytes, pad so a queue head is 16 + bytes so we can store many in a 4K page. */ + grub_uint8_t pad[8]; +} __attribute__ ((packed)); + +/* UHCI Transfer Descriptor. */ +struct grub_uhci_td +{ + /* Pointer to the next TD in the list. */ + grub_uint32_t linkptr; + + /* Control and status bits. */ + grub_uint32_t ctrl_status; + + /* All information required to transfer the Token packet. */ + grub_uint32_t token; + + /* A pointer to the data buffer, UHCI requires this pointer to be 32 + bits. */ + grub_uint32_t buffer; + + /* Another linkptr that is not overwritten by the Host Controller. + This is GRUB specific. */ + grub_uint32_t linkptr2; + + /* 3 additional 32 bits words reserved for the Host Controller Driver. */ + grub_uint32_t data[3]; +} __attribute__ ((packed)); + +typedef volatile struct grub_uhci_td *grub_uhci_td_t; +typedef volatile struct grub_uhci_qh *grub_uhci_qh_t; + +struct grub_uhci +{ + int iobase; + grub_uint32_t *framelist; + + /* N_QH Queue Heads. */ + grub_uhci_qh_t qh; + + /* N_TD Transfer Descriptors. */ + grub_uhci_td_t td; + + /* Free Transfer Descriptors. */ + grub_uhci_td_t tdfree; + + int qh_busy[N_QH]; + + struct grub_uhci *next; +}; + +static struct grub_uhci *uhci; + +static grub_uint16_t +grub_uhci_readreg16 (struct grub_uhci *u, grub_uhci_reg_t reg) +{ + return grub_inw (u->iobase + reg); +} + +#if 0 +static grub_uint32_t +grub_uhci_readreg32 (struct grub_uhci *u, grub_uhci_reg_t reg) +{ + return grub_inl (u->iobase + reg); +} +#endif + +static void +grub_uhci_writereg16 (struct grub_uhci *u, + grub_uhci_reg_t reg, grub_uint16_t val) +{ + grub_outw (val, u->iobase + reg); +} + +static void +grub_uhci_writereg32 (struct grub_uhci *u, + grub_uhci_reg_t reg, grub_uint32_t val) +{ + grub_outl (val, u->iobase + reg); +} + +static grub_err_t +grub_uhci_portstatus (grub_usb_controller_t dev, + unsigned int port, unsigned int enable); + + +/* Iterate over all PCI devices. Determine if a device is an UHCI + controller. If this is the case, initialize it. */ +static int NESTED_FUNC_ATTR +grub_uhci_pci_iter (grub_pci_device_t dev, + grub_pci_id_t pciid __attribute__((unused))) +{ + grub_uint32_t class_code; + grub_uint32_t class; + grub_uint32_t subclass; + grub_uint32_t interf; + grub_uint32_t base; + grub_uint32_t fp; + grub_pci_address_t addr; + struct grub_uhci *u; + int i; + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); + class_code = grub_pci_read (addr) >> 8; + + interf = class_code & 0xFF; + subclass = (class_code >> 8) & 0xFF; + class = class_code >> 16; + + /* If this is not an UHCI controller, just return. */ + if (class != 0x0c || subclass != 0x03 || interf != 0x00) + return 0; + + /* Determine IO base address. */ + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG4); + base = grub_pci_read (addr); + /* Stop if there is no IO space base address defined. */ + if (! (base & 1)) + return 0; + + /* Allocate memory for the controller and register it. */ + u = grub_zalloc (sizeof (*u)); + if (! u) + return 1; + + u->iobase = base & GRUB_UHCI_IOMASK; + + /* Reserve a page for the frame list. */ + u->framelist = grub_memalign (4096, 4096); + if (! u->framelist) + goto fail; + + grub_dprintf ("uhci", "class=0x%02x 0x%02x interface 0x%02x base=0x%x framelist=%p\n", + class, subclass, interf, u->iobase, u->framelist); + + /* The framelist pointer of UHCI is only 32 bits, make sure this + code works on on 64 bits architectures. */ +#if GRUB_CPU_SIZEOF_VOID_P == 8 + if ((grub_uint64_t) u->framelist >> 32) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, + "allocated frame list memory not <4GB"); + goto fail; + } +#endif + + /* The QH pointer of UHCI is only 32 bits, make sure this + code works on on 64 bits architectures. */ + u->qh = (grub_uhci_qh_t) grub_memalign (4096, sizeof(struct grub_uhci_qh)*N_QH); + if (! u->qh) + goto fail; + +#if GRUB_CPU_SIZEOF_VOID_P == 8 + if ((grub_uint64_t) u->qh >> 32) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, "allocated QH memory not <4GB"); + goto fail; + } +#endif + + /* The TD pointer of UHCI is only 32 bits, make sure this + code works on on 64 bits architectures. */ + u->td = (grub_uhci_td_t) grub_memalign (4096, sizeof(struct grub_uhci_td)*N_TD); + if (! u->td) + goto fail; + +#if GRUB_CPU_SIZEOF_VOID_P == 8 + if ((grub_uint64_t) u->td >> 32) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, "allocated TD memory not <4GB"); + goto fail; + } +#endif + + grub_dprintf ("uhci", "QH=%p, TD=%p\n", + u->qh, u->td); + + /* Link all Transfer Descriptors in a list of available Transfer + Descriptors. */ + for (i = 0; i < N_TD; i++) + u->td[i].linkptr = (grub_uint32_t) (grub_addr_t) &u->td[i + 1]; + u->td[N_TD - 2].linkptr = 0; + u->tdfree = u->td; + + /* Make sure UHCI is disabled! */ + grub_uhci_writereg16 (u, GRUB_UHCI_REG_USBCMD, 0); + + /* Setup the frame list pointers. Since no isochronous transfers + are and will be supported, they all point to the (same!) queue + head. */ + fp = (grub_uint32_t) (grub_addr_t) u->qh & (~15); + /* Mark this as a queue head. */ + fp |= 2; + for (i = 0; i < 1024; i++) + u->framelist[i] = fp; + /* Program the framelist address into the UHCI controller. */ + grub_uhci_writereg32 (u, GRUB_UHCI_REG_FLBASEADD, + (grub_uint32_t) (grub_addr_t) u->framelist); + + /* Make the Queue Heads point to each other. */ + for (i = 0; i < N_QH; i++) + { + /* Point to the next QH. */ + u->qh[i].linkptr = (grub_uint32_t) (grub_addr_t) (&u->qh[i + 1]) & (~15); + + /* This is a QH. */ + u->qh[i].linkptr |= GRUB_UHCI_LINK_QUEUE_HEAD; + + /* For the moment, do not point to a Transfer Descriptor. These + are set at transfer time, so just terminate it. */ + u->qh[i].elinkptr = 1; + } + + /* The last Queue Head should terminate. */ + u->qh[N_QH - 1].linkptr = 1; + + /* Enable UHCI again. */ + grub_uhci_writereg16 (u, GRUB_UHCI_REG_USBCMD, 1 | (1 << 7)); + + /* UHCI is initialized and ready for transfers. */ + grub_dprintf ("uhci", "UHCI initialized\n"); + + +#if 0 + { + int i; + for (i = 0; i < 10; i++) + { + grub_uint16_t frnum; + + frnum = grub_uhci_readreg16 (u, 6); + grub_dprintf ("uhci", "Framenum=%d\n", frnum); + grub_millisleep (100); + } + } +#endif + + /* Link to uhci now that initialisation is successful. */ + u->next = uhci; + uhci = u; + + return 0; + + fail: + if (u) + { + grub_free ((void *) u->qh); + grub_free (u->framelist); + } + grub_free (u); + + return 1; +} + +static void +grub_uhci_inithw (void) +{ + grub_pci_iterate (grub_uhci_pci_iter); +} + +static grub_uhci_td_t +grub_alloc_td (struct grub_uhci *u) +{ + grub_uhci_td_t ret; + + /* Check if there is a Transfer Descriptor available. */ + if (! u->tdfree) + return NULL; + + ret = u->tdfree; + u->tdfree = (grub_uhci_td_t) (grub_addr_t) u->tdfree->linkptr; + + return ret; +} + +static void +grub_free_td (struct grub_uhci *u, grub_uhci_td_t td) +{ + td->linkptr = (grub_uint32_t) (grub_addr_t) u->tdfree; + u->tdfree = td; +} + +static void +grub_free_queue (struct grub_uhci *u, grub_uhci_qh_t qh, grub_uhci_td_t td, + grub_usb_transfer_t transfer, grub_size_t *actual) +{ + int i; /* Index of TD in transfer */ + + u->qh_busy[qh - u->qh] = 0; + + *actual = 0; + + /* Free the TDs in this queue and set last_trans. */ + for (i=0; td; i++) + { + grub_uhci_td_t tdprev; + + /* Check state of TD and possibly set last_trans */ + if (transfer && (td->linkptr & 1)) + transfer->last_trans = i; + + *actual += (td->ctrl_status + 1) & 0x7ff; + + /* Unlink the queue. */ + tdprev = td; + td = (grub_uhci_td_t) (grub_addr_t) td->linkptr2; + + /* Free the TD. */ + grub_free_td (u, tdprev); + } +} + +static grub_uhci_qh_t +grub_alloc_qh (struct grub_uhci *u, + grub_transaction_type_t tr __attribute__((unused))) +{ + int i; + grub_uhci_qh_t qh; + + /* Look for a Queue Head for this transfer. Skip the first QH if + this is a Interrupt Transfer. */ +#if 0 + if (tr == GRUB_USB_TRANSACTION_TYPE_INTERRUPT) + i = 0; + else +#endif + i = 1; + + for (; i < N_QH; i++) + { + if (!u->qh_busy[i]) + break; + } + qh = &u->qh[i]; + if (i == N_QH) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, + "no free queue heads available"); + return NULL; + } + + u->qh_busy[qh - u->qh] = 1; + + return qh; +} + +static grub_uhci_td_t +grub_uhci_transaction (struct grub_uhci *u, unsigned int endp, + grub_transfer_type_t type, unsigned int addr, + unsigned int toggle, grub_size_t size, + grub_uint32_t data, grub_usb_speed_t speed) +{ + grub_uhci_td_t td; + static const unsigned int tf[] = { 0x69, 0xE1, 0x2D }; + + /* XXX: Check if data is <4GB. If it isn't, just copy stuff around. + This is only relevant for 64 bits architectures. */ + + /* Grab a free Transfer Descriptor and initialize it. */ + td = grub_alloc_td (u); + if (! td) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, + "no transfer descriptors available for UHCI transfer"); + return 0; + } + + grub_dprintf ("uhci", + "transaction: endp=%d, type=%d, addr=%d, toggle=%d, size=%lu data=0x%x td=%p\n", + endp, type, addr, toggle, (unsigned long) size, data, td); + + /* Don't point to any TD, just terminate. */ + td->linkptr = 1; + + /* Active! Only retry a transfer 3 times. */ + td->ctrl_status = (1 << 23) | (3 << 27) | + ((speed == GRUB_USB_SPEED_LOW) ? (1 << 26) : 0); + + /* If zero bytes are transmitted, size is 0x7FF. Otherwise size is + size-1. */ + if (size == 0) + size = 0x7FF; + else + size = size - 1; + + /* Setup whatever is required for the token packet. */ + td->token = ((size << 21) | (toggle << 19) | (endp << 15) + | (addr << 8) | tf[type]); + + td->buffer = data; + + return td; +} + +struct grub_uhci_transfer_controller_data +{ + grub_uhci_qh_t qh; + grub_uhci_td_t td_first; +}; + +static grub_usb_err_t +grub_uhci_setup_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer) +{ + struct grub_uhci *u = (struct grub_uhci *) dev->data; + grub_uhci_td_t td; + grub_uhci_td_t td_prev = NULL; + int i; + struct grub_uhci_transfer_controller_data *cdata; + + cdata = grub_malloc (sizeof (*cdata)); + if (!cdata) + return GRUB_USB_ERR_INTERNAL; + + cdata->td_first = NULL; + + /* Allocate a queue head for the transfer queue. */ + cdata->qh = grub_alloc_qh (u, GRUB_USB_TRANSACTION_TYPE_CONTROL); + if (! cdata->qh) + { + grub_free (cdata); + return GRUB_USB_ERR_INTERNAL; + } + + grub_dprintf ("uhci", "transfer, iobase:%08x\n", u->iobase); + + for (i = 0; i < transfer->transcnt; i++) + { + grub_usb_transaction_t tr = &transfer->transactions[i]; + + td = grub_uhci_transaction (u, transfer->endpoint & 15, tr->pid, + transfer->devaddr, tr->toggle, + tr->size, tr->data, + transfer->dev->speed); + if (! td) + { + grub_size_t actual = 0; + /* Terminate and free. */ + td_prev->linkptr2 = 0; + td_prev->linkptr = 1; + + if (cdata->td_first) + grub_free_queue (u, cdata->qh, cdata->td_first, NULL, &actual); + + grub_free (cdata); + return GRUB_USB_ERR_INTERNAL; + } + + if (! cdata->td_first) + cdata->td_first = td; + else + { + td_prev->linkptr2 = (grub_uint32_t) (grub_addr_t) td; + td_prev->linkptr = (grub_uint32_t) (grub_addr_t) td; + td_prev->linkptr |= 4; + } + td_prev = td; + } + td_prev->linkptr2 = 0; + td_prev->linkptr = 1; + + grub_dprintf ("uhci", "setup transaction %d\n", transfer->type); + + /* Link it into the queue and terminate. Now the transaction can + take place. */ + cdata->qh->elinkptr = (grub_uint32_t) (grub_addr_t) cdata->td_first; + + grub_dprintf ("uhci", "initiate transaction\n"); + + transfer->controller_data = cdata; + + return GRUB_USB_ERR_NONE; +} + +static grub_usb_err_t +grub_uhci_check_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer, + grub_size_t *actual) +{ + struct grub_uhci *u = (struct grub_uhci *) dev->data; + grub_uhci_td_t errtd; + struct grub_uhci_transfer_controller_data *cdata = transfer->controller_data; + + *actual = 0; + + errtd = (grub_uhci_td_t) (grub_addr_t) (cdata->qh->elinkptr & ~0x0f); + + grub_dprintf ("uhci", ">t status=0x%02x data=0x%02x td=%p\n", + errtd->ctrl_status, errtd->buffer & (~15), errtd); + + /* Check if the transaction completed. */ + if (cdata->qh->elinkptr & 1) + { + grub_dprintf ("uhci", "transaction complete\n"); + + /* Place the QH back in the free list and deallocate the associated + TDs. */ + cdata->qh->elinkptr = 1; + grub_free_queue (u, cdata->qh, cdata->td_first, transfer, actual); + grub_free (cdata); + return GRUB_USB_ERR_NONE; + } + + grub_dprintf ("uhci", "t status=0x%02x\n", errtd->ctrl_status); + + if (!(errtd->ctrl_status & (1 << 23))) + { + grub_usb_err_t err = GRUB_USB_ERR_NONE; + + /* Check if the endpoint is stalled. */ + if (errtd->ctrl_status & (1 << 22)) + err = GRUB_USB_ERR_STALL; + + /* Check if an error related to the data buffer occurred. */ + else if (errtd->ctrl_status & (1 << 21)) + err = GRUB_USB_ERR_DATA; + + /* Check if a babble error occurred. */ + else if (errtd->ctrl_status & (1 << 20)) + err = GRUB_USB_ERR_BABBLE; + + /* Check if a NAK occurred. */ + else if (errtd->ctrl_status & (1 << 19)) + err = GRUB_USB_ERR_NAK; + + /* Check if a timeout occurred. */ + else if (errtd->ctrl_status & (1 << 18)) + err = GRUB_USB_ERR_TIMEOUT; + + /* Check if a bitstuff error occurred. */ + else if (errtd->ctrl_status & (1 << 17)) + err = GRUB_USB_ERR_BITSTUFF; + + if (err) + { + grub_dprintf ("uhci", "transaction failed\n"); + + /* Place the QH back in the free list and deallocate the associated + TDs. */ + cdata->qh->elinkptr = 1; + grub_free_queue (u, cdata->qh, cdata->td_first, transfer, actual); + grub_free (cdata); + + return err; + } + } + + /* Fall through, no errors occurred, so the QH might be + updated. */ + grub_dprintf ("uhci", "transaction fallthrough\n"); + + return GRUB_USB_ERR_WAIT; +} + +static grub_usb_err_t +grub_uhci_cancel_transfer (grub_usb_controller_t dev, + grub_usb_transfer_t transfer) +{ + struct grub_uhci *u = (struct grub_uhci *) dev->data; + grub_size_t actual; + struct grub_uhci_transfer_controller_data *cdata = transfer->controller_data; + + grub_dprintf ("uhci", "transaction cancel\n"); + + /* Place the QH back in the free list and deallocate the associated + TDs. */ + cdata->qh->elinkptr = 1; + grub_free_queue (u, cdata->qh, cdata->td_first, transfer, &actual); + grub_free (cdata); + + return GRUB_USB_ERR_NONE; +} + +static int +grub_uhci_iterate (int (*hook) (grub_usb_controller_t dev)) +{ + struct grub_uhci *u; + struct grub_usb_controller dev; + + for (u = uhci; u; u = u->next) + { + dev.data = u; + if (hook (&dev)) + return 1; + } + + return 0; +} + +static grub_err_t +grub_uhci_portstatus (grub_usb_controller_t dev, + unsigned int port, unsigned int enable) +{ + struct grub_uhci *u = (struct grub_uhci *) dev->data; + int reg; + unsigned int status; + grub_uint64_t endtime; + + grub_dprintf ("uhci", "portstatus, iobase:%08x\n", u->iobase); + + grub_dprintf ("uhci", "enable=%d port=%d\n", enable, port); + + if (port == 0) + reg = GRUB_UHCI_REG_PORTSC1; + else if (port == 1) + reg = GRUB_UHCI_REG_PORTSC2; + else + return grub_error (GRUB_ERR_OUT_OF_RANGE, + "UHCI Root Hub port does not exist"); + + status = grub_uhci_readreg16 (u, reg); + grub_dprintf ("uhci", "detect=0x%02x\n", status); + + if (!enable) /* We don't need reset port */ + { + /* Disable the port. */ + grub_uhci_writereg16 (u, reg, 0 << 2); + grub_dprintf ("uhci", "waiting for the port to be disabled\n"); + endtime = grub_get_time_ms () + 1000; + while ((grub_uhci_readreg16 (u, reg) & (1 << 2))) + if (grub_get_time_ms () > endtime) + return grub_error (GRUB_ERR_IO, "UHCI Timed out - disable"); + + status = grub_uhci_readreg16 (u, reg); + grub_dprintf ("uhci", ">3detect=0x%02x\n", status); + return GRUB_ERR_NONE; + } + + /* Reset the port. */ + status = grub_uhci_readreg16 (u, reg) & ~GRUB_UHCI_PORTSC_RWC; + grub_uhci_writereg16 (u, reg, status | (1 << 9)); + grub_uhci_readreg16 (u, reg); /* Ensure it is writen... */ + + /* Wait for the reset to complete. XXX: How long exactly? */ + grub_millisleep (50); /* For root hub should be nominaly 50ms */ + status = grub_uhci_readreg16 (u, reg) & ~GRUB_UHCI_PORTSC_RWC; + grub_uhci_writereg16 (u, reg, status & ~(1 << 9)); + grub_uhci_readreg16 (u, reg); /* Ensure it is writen... */ + + /* Note: some debug prints were removed because they affected reset/enable timing. */ + + grub_millisleep (1); /* Probably not needed at all or only few microsecs. */ + + /* Reset bits Connect & Enable Status Change */ + status = grub_uhci_readreg16 (u, reg) & ~GRUB_UHCI_PORTSC_RWC; + grub_uhci_writereg16 (u, reg, status | (1 << 3) | GRUB_UHCI_REG_PORTSC_CONNECT_CHANGED); + grub_uhci_readreg16 (u, reg); /* Ensure it is writen... */ + + /* Enable the port. */ + status = grub_uhci_readreg16 (u, reg) & ~GRUB_UHCI_PORTSC_RWC; + grub_uhci_writereg16 (u, reg, status | (1 << 2)); + grub_uhci_readreg16 (u, reg); /* Ensure it is writen... */ + + endtime = grub_get_time_ms () + 1000; + while (! ((status = grub_uhci_readreg16 (u, reg)) & (1 << 2))) + if (grub_get_time_ms () > endtime) + return grub_error (GRUB_ERR_IO, "UHCI Timed out - enable"); + + /* Reset recovery time */ + grub_millisleep (10); + + /* Read final port status */ + status = grub_uhci_readreg16 (u, reg); + grub_dprintf ("uhci", ">3detect=0x%02x\n", status); + + + return GRUB_ERR_NONE; +} + +static grub_usb_speed_t +grub_uhci_detect_dev (grub_usb_controller_t dev, int port, int *changed) +{ + struct grub_uhci *u = (struct grub_uhci *) dev->data; + int reg; + unsigned int status; + + grub_dprintf ("uhci", "detect_dev, iobase:%08x\n", u->iobase); + + if (port == 0) + reg = GRUB_UHCI_REG_PORTSC1; + else if (port == 1) + reg = GRUB_UHCI_REG_PORTSC2; + else + return GRUB_USB_SPEED_NONE; + + status = grub_uhci_readreg16 (u, reg); + + grub_dprintf ("uhci", "detect=0x%02x port=%d\n", status, port); + + /* Connect Status Change bit - it detects change of connection */ + if (status & (1 << 1)) + { + *changed = 1; + /* Reset bit Connect Status Change */ + grub_uhci_writereg16 (u, reg, (status & GRUB_UHCI_REG_PORTSC_RW) + | GRUB_UHCI_REG_PORTSC_CONNECT_CHANGED); + } + else + *changed = 0; + + if (! (status & 1)) + return GRUB_USB_SPEED_NONE; + else if (status & (1 << 8)) + return GRUB_USB_SPEED_LOW; + else + return GRUB_USB_SPEED_FULL; +} + +static int +grub_uhci_hubports (grub_usb_controller_t dev __attribute__((unused))) +{ + /* The root hub has exactly two ports. */ + return 2; +} + + +static struct grub_usb_controller_dev usb_controller = +{ + .name = "uhci", + .iterate = grub_uhci_iterate, + .setup_transfer = grub_uhci_setup_transfer, + .check_transfer = grub_uhci_check_transfer, + .cancel_transfer = grub_uhci_cancel_transfer, + .hubports = grub_uhci_hubports, + .portstatus = grub_uhci_portstatus, + .detect_dev = grub_uhci_detect_dev +}; + +GRUB_MOD_INIT(uhci) +{ + grub_uhci_inithw (); + grub_usb_controller_dev_register (&usb_controller); + grub_dprintf ("uhci", "registered\n"); +} + +GRUB_MOD_FINI(uhci) +{ + struct grub_uhci *u; + + /* Disable all UHCI controllers. */ + for (u = uhci; u; u = u->next) + grub_uhci_writereg16 (u, GRUB_UHCI_REG_USBCMD, 0); + + /* Unregister the controller. */ + grub_usb_controller_dev_unregister (&usb_controller); +} diff --git a/grub-core/bus/usb/usb.c b/grub-core/bus/usb/usb.c new file mode 100644 index 0000000..005d3bc --- /dev/null +++ b/grub-core/bus/usb/usb.c @@ -0,0 +1,349 @@ +/* usb.c - Generic USB interfaces. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_usb_controller_dev_t grub_usb_list; +static struct grub_usb_attach_desc *attach_hooks; + +void +grub_usb_controller_dev_register (grub_usb_controller_dev_t usb) +{ + auto int iterate_hook (grub_usb_controller_t dev); + + /* Iterate over all controllers found by the driver. */ + int iterate_hook (grub_usb_controller_t dev) + { + dev->dev = usb; + + /* Enable the ports of the USB Root Hub. */ + grub_usb_root_hub (dev); + + return 0; + } + + usb->next = grub_usb_list; + grub_usb_list = usb; + + if (usb->iterate) + usb->iterate (iterate_hook); +} + +void +grub_usb_controller_dev_unregister (grub_usb_controller_dev_t usb) +{ + grub_usb_controller_dev_t *p, q; + + for (p = &grub_usb_list, q = *p; q; p = &(q->next), q = q->next) + if (q == usb) + { + *p = q->next; + break; + } +} + +#if 0 +int +grub_usb_controller_iterate (int (*hook) (grub_usb_controller_t dev)) +{ + grub_usb_controller_dev_t p; + + auto int iterate_hook (grub_usb_controller_t dev); + + int iterate_hook (grub_usb_controller_t dev) + { + dev->dev = p; + if (hook (dev)) + return 1; + return 0; + } + + /* Iterate over all controller drivers. */ + for (p = grub_usb_list; p; p = p->next) + { + /* Iterate over the busses of the controllers. XXX: Actually, a + hub driver should do this. */ + if (p->iterate (iterate_hook)) + return 1; + } + + return 0; +} +#endif + + +grub_usb_err_t +grub_usb_clear_halt (grub_usb_device_t dev, int endpoint) +{ + dev->toggle[endpoint] = 0; + return grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_STANDARD + | GRUB_USB_REQTYPE_TARGET_ENDP), + GRUB_USB_REQ_CLEAR_FEATURE, + GRUB_USB_FEATURE_ENDP_HALT, + endpoint, 0, 0); +} + +grub_usb_err_t +grub_usb_set_configuration (grub_usb_device_t dev, int configuration) +{ + grub_memset (dev->toggle, 0, sizeof (dev->toggle)); + + return grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_STANDARD + | GRUB_USB_REQTYPE_TARGET_DEV), + GRUB_USB_REQ_SET_CONFIGURATION, configuration, + 0, 0, NULL); +} + +grub_usb_err_t +grub_usb_get_descriptor (grub_usb_device_t dev, + grub_uint8_t type, grub_uint8_t index, + grub_size_t size, char *data) +{ + return grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_IN + | GRUB_USB_REQTYPE_STANDARD + | GRUB_USB_REQTYPE_TARGET_DEV), + GRUB_USB_REQ_GET_DESCRIPTOR, + (type << 8) | index, + 0, size, data); +} + +struct grub_usb_desc_endp * +grub_usb_get_endpdescriptor (grub_usb_device_t usbdev, int addr) +{ + int i; + + for (i = 0; i < usbdev->config[0].descconf->numif; i++) + { + struct grub_usb_desc_if *interf; + int j; + + interf = usbdev->config[0].interf[i].descif; + + for (j = 0; j < interf->endpointcnt; j++) + { + struct grub_usb_desc_endp *endp; + endp = &usbdev->config[0].interf[i].descendp[j]; + + if (endp->endp_addr == addr) + return endp; + } + } + + return NULL; +} + +grub_usb_err_t +grub_usb_device_initialize (grub_usb_device_t dev) +{ + struct grub_usb_desc_device *descdev; + struct grub_usb_desc_config config; + grub_usb_err_t err; + int i; + + /* First we have to read first 8 bytes only and determine + * max. size of packet */ + dev->descdev.maxsize0 = 0; /* invalidating, for safety only, can be removed if it is sure it is zero here */ + err = grub_usb_get_descriptor (dev, GRUB_USB_DESCRIPTOR_DEVICE, + 0, 8, (char *) &dev->descdev); + if (err) + return err; + + /* Now we have valid value in dev->descdev.maxsize0, + * so we can read whole device descriptor */ + err = grub_usb_get_descriptor (dev, GRUB_USB_DESCRIPTOR_DEVICE, + 0, sizeof (struct grub_usb_desc_device), + (char *) &dev->descdev); + if (err) + return err; + descdev = &dev->descdev; + + for (i = 0; i < 8; i++) + dev->config[i].descconf = NULL; + + for (i = 0; i < descdev->configcnt; i++) + { + int pos; + int currif; + char *data; + + /* First just read the first 4 bytes of the configuration + descriptor, after that it is known how many bytes really have + to be read. */ + err = grub_usb_get_descriptor (dev, GRUB_USB_DESCRIPTOR_CONFIG, i, 4, + (char *) &config); + + data = grub_malloc (config.totallen); + if (! data) + { + err = GRUB_USB_ERR_INTERNAL; + goto fail; + } + + dev->config[i].descconf = (struct grub_usb_desc_config *) data; + err = grub_usb_get_descriptor (dev, GRUB_USB_DESCRIPTOR_CONFIG, i, + config.totallen, data); + if (err) + goto fail; + + /* Skip the configuration descriptor. */ + pos = dev->config[i].descconf->length; + + /* Read all interfaces. */ + for (currif = 0; currif < dev->config[i].descconf->numif; currif++) + { + while (pos < config.totallen + && ((struct grub_usb_desc *)&data[pos])->type + != GRUB_USB_DESCRIPTOR_INTERFACE) + pos += ((struct grub_usb_desc *)&data[pos])->length; + dev->config[i].interf[currif].descif + = (struct grub_usb_desc_if *) &data[pos]; + pos += dev->config[i].interf[currif].descif->length; + + while (pos < config.totallen + && ((struct grub_usb_desc *)&data[pos])->type + != GRUB_USB_DESCRIPTOR_ENDPOINT) + pos += ((struct grub_usb_desc *)&data[pos])->length; + + /* Point to the first endpoint. */ + dev->config[i].interf[currif].descendp + = (struct grub_usb_desc_endp *) &data[pos]; + pos += (sizeof (struct grub_usb_desc_endp) + * dev->config[i].interf[currif].descif->endpointcnt); + } + } + + return GRUB_USB_ERR_NONE; + + fail: + + for (i = 0; i < 8; i++) + grub_free (dev->config[i].descconf); + + return err; +} + +void grub_usb_device_attach (grub_usb_device_t dev) +{ + int i; + + /* XXX: Just check configuration 0 for now. */ + for (i = 0; i < dev->config[0].descconf->numif; i++) + { + struct grub_usb_desc_if *interf; + struct grub_usb_attach_desc *desc; + + interf = dev->config[0].interf[i].descif; + + grub_dprintf ("usb", "iterate: interf=%d, class=%d, subclass=%d, protocol=%d\n", + i, interf->class, interf->subclass, interf->protocol); + + if (dev->config[0].interf[i].attached) + continue; + + for (desc = attach_hooks; desc; desc = desc->next) + if (interf->class == desc->class && desc->hook (dev, 0, i)) + dev->config[0].interf[i].attached = 1; + + if (dev->config[0].interf[i].attached) + continue; + + switch (interf->class) + { + case GRUB_USB_CLASS_MASS_STORAGE: + grub_dl_load ("usbms"); + break; + case GRUB_USB_CLASS_HID: + grub_dl_load ("usb_keyboard"); + break; + case 0xff: + /* FIXME: don't load useless modules. */ + grub_dl_load ("usbserial_ftdi"); + grub_dl_load ("usbserial_pl2303"); + break; + } + } +} + +void +grub_usb_register_attach_hook_class (struct grub_usb_attach_desc *desc) +{ + auto int usb_iterate (grub_usb_device_t dev); + + int usb_iterate (grub_usb_device_t usbdev) + { + struct grub_usb_desc_device *descdev = &usbdev->descdev; + int i; + + if (descdev->class != 0 || descdev->subclass || descdev->protocol != 0 + || descdev->configcnt == 0) + return 0; + + /* XXX: Just check configuration 0 for now. */ + for (i = 0; i < usbdev->config[0].descconf->numif; i++) + { + struct grub_usb_desc_if *interf; + + interf = usbdev->config[0].interf[i].descif; + + grub_dprintf ("usb", "iterate: interf=%d, class=%d, subclass=%d, protocol=%d\n", + i, interf->class, interf->subclass, interf->protocol); + + if (usbdev->config[0].interf[i].attached) + continue; + + if (interf->class != desc->class) + continue; + if (desc->hook (usbdev, 0, i)) + usbdev->config[0].interf[i].attached = 1; + } + + return 0; + } + + desc->next = attach_hooks; + attach_hooks = desc; + + grub_usb_iterate (usb_iterate); +} + +void +grub_usb_unregister_attach_hook_class (struct grub_usb_attach_desc *desc) +{ + grub_list_remove (GRUB_AS_LIST_P (&attach_hooks), GRUB_AS_LIST (desc)); +} + + +GRUB_MOD_INIT(usb) +{ + grub_term_poll_usb = grub_usb_poll_devices; +} + +GRUB_MOD_FINI(usb) +{ + grub_term_poll_usb = NULL; +} diff --git a/grub-core/bus/usb/usbhub.c b/grub-core/bus/usb/usbhub.c new file mode 100644 index 0000000..82bb2da --- /dev/null +++ b/grub-core/bus/usb/usbhub.c @@ -0,0 +1,559 @@ +/* usb.c - USB Hub Support. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +#define GRUB_USBHUB_MAX_DEVICES 128 + +/* USB Supports 127 devices, with device 0 as special case. */ +static struct grub_usb_device *grub_usb_devs[GRUB_USBHUB_MAX_DEVICES]; + +static int rescan = 0; + +struct grub_usb_hub +{ + struct grub_usb_hub *next; + grub_usb_controller_t controller; + int nports; + struct grub_usb_device **devices; + grub_usb_device_t dev; +}; + +static struct grub_usb_hub *hubs; + +/* Add a device that currently has device number 0 and resides on + CONTROLLER, the Hub reported that the device speed is SPEED. */ +static grub_usb_device_t +grub_usb_hub_add_dev (grub_usb_controller_t controller, grub_usb_speed_t speed) +{ + grub_usb_device_t dev; + int i; + grub_usb_err_t err; + + dev = grub_zalloc (sizeof (struct grub_usb_device)); + if (! dev) + return NULL; + + dev->controller = *controller; + dev->speed = speed; + + err = grub_usb_device_initialize (dev); + if (err) + { + grub_free (dev); + return NULL; + } + + /* Assign a new address to the device. */ + for (i = 1; i < GRUB_USBHUB_MAX_DEVICES; i++) + { + if (! grub_usb_devs[i]) + break; + } + if (i == GRUB_USBHUB_MAX_DEVICES) + { + grub_error (GRUB_ERR_IO, "can't assign address to USB device"); + for (i = 0; i < 8; i++) + grub_free (dev->config[i].descconf); + grub_free (dev); + return NULL; + } + + err = grub_usb_control_msg (dev, + (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_STANDARD + | GRUB_USB_REQTYPE_TARGET_DEV), + GRUB_USB_REQ_SET_ADDRESS, + i, 0, 0, NULL); + if (err) + { + for (i = 0; i < 8; i++) + grub_free (dev->config[i].descconf); + grub_free (dev); + return NULL; + } + + dev->addr = i; + dev->initialized = 1; + grub_usb_devs[i] = dev; + + /* Wait "recovery interval", spec. says 2ms */ + grub_millisleep (2); + + grub_usb_device_attach (dev); + + return dev; +} + + +static grub_usb_err_t +grub_usb_add_hub (grub_usb_device_t dev) +{ + struct grub_usb_usb_hubdesc hubdesc; + grub_usb_err_t err; + int i; + + err = grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_IN + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_DEV), + GRUB_USB_REQ_GET_DESCRIPTOR, + (GRUB_USB_DESCRIPTOR_HUB << 8) | 0, + 0, sizeof (hubdesc), (char *) &hubdesc); + if (err) + return err; + grub_dprintf ("usb", "Hub descriptor:\n\t\t len:%d, typ:0x%02x, cnt:%d, char:0x%02x, pwg:%d, curr:%d\n", + hubdesc.length, hubdesc.type, hubdesc.portcnt, + hubdesc.characteristics, hubdesc.pwdgood, + hubdesc.current); + + /* Activate the first configuration. Hubs should have only one conf. */ + grub_dprintf ("usb", "Hub set configuration\n"); + grub_usb_set_configuration (dev, 1); + + dev->children = grub_zalloc (hubdesc.portcnt * sizeof (dev->children[0])); + if (!dev->children) + return GRUB_USB_ERR_INTERNAL; + dev->nports = hubdesc.portcnt; + + /* Power on all Hub ports. */ + for (i = 1; i <= hubdesc.portcnt; i++) + { + grub_dprintf ("usb", "Power on - port %d\n", i); + /* Power on the port and wait for possible device connect */ + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_SET_FEATURE, + GRUB_USB_HUB_FEATURE_PORT_POWER, + i, 0, NULL); + } + + /* Rest will be done on next usb poll. */ + for (i = 0; i < dev->config[0].interf[0].descif->endpointcnt; + i++) + { + struct grub_usb_desc_endp *endp = NULL; + endp = &dev->config[0].interf[0].descendp[i]; + + if ((endp->endp_addr & 128) && grub_usb_get_ep_type(endp) + == GRUB_USB_EP_INTERRUPT) + { + dev->hub_endpoint = endp; + dev->hub_transfer + = grub_usb_bulk_read_background (dev, endp->endp_addr, + grub_min (endp->maxpacket, + sizeof (dev->statuschange)), + (char *) &dev->statuschange); + break; + } + } + + rescan = 1; + + return GRUB_ERR_NONE; +} + +static void +attach_root_port (struct grub_usb_hub *hub, int portno, + grub_usb_speed_t speed) +{ + grub_usb_device_t dev; + grub_err_t err; + int total, i; + grub_usb_speed_t current_speed = GRUB_USB_SPEED_NONE; + int changed=0; + +#if 0 +/* Specification does not say about disabling of port when device + * connected. If disabling is really necessary for some devices, + * delete this #if 0 and related #endif */ + /* Disable the port. XXX: Why? */ + err = hub->controller->dev->portstatus (hub->controller, portno, 0); + if (err) + return; +#endif + /* Wait for completion of insertion and stable power (USB spec.) + * Should be at least 100ms, some devices requires more... + * There is also another thing - some devices have worse contacts + * and connected signal is unstable for some time - we should handle + * it - but prevent deadlock in case when device is too faulty... */ + for (total = i = 0; (i < 250) && (total < 2000); i++, total++) + { + grub_millisleep (1); + current_speed = hub->controller->dev->detect_dev + (hub->controller, portno, &changed); + if (current_speed == GRUB_USB_SPEED_NONE) + i = 0; + } + grub_dprintf ("usb", "total=%d\n", total); + if (total >= 2000) + return; + + /* Enable the port. */ + err = hub->controller->dev->portstatus (hub->controller, portno, 1); + if (err) + return; + hub->controller->dev->pending_reset = grub_get_time_ms () + 5000; + + /* Enable the port and create a device. */ + dev = grub_usb_hub_add_dev (hub->controller, speed); + hub->controller->dev->pending_reset = 0; + if (! dev) + return; + + hub->devices[portno] = dev; + + /* If the device is a Hub, scan it for more devices. */ + if (dev->descdev.class == 0x09) + grub_usb_add_hub (dev); +} + +grub_usb_err_t +grub_usb_root_hub (grub_usb_controller_t controller) +{ + int i; + struct grub_usb_hub *hub; + int changed=0; + + hub = grub_malloc (sizeof (*hub)); + if (!hub) + return GRUB_USB_ERR_INTERNAL; + + hub->next = hubs; + hubs = hub; + hub->controller = grub_malloc (sizeof (*controller)); + if (!hub->controller) + { + grub_free (hub); + return GRUB_USB_ERR_INTERNAL; + } + + grub_memcpy (hub->controller, controller, sizeof (*controller)); + hub->dev = 0; + + /* Query the number of ports the root Hub has. */ + hub->nports = controller->dev->hubports (controller); + hub->devices = grub_zalloc (sizeof (hub->devices[0]) * hub->nports); + if (!hub->devices) + { + grub_free (hub->controller); + grub_free (hub); + return GRUB_USB_ERR_INTERNAL; + } + + for (i = 0; i < hub->nports; i++) + { + grub_usb_speed_t speed; + if (!controller->dev->pending_reset) + { + speed = controller->dev->detect_dev (hub->controller, i, + &changed); + + if (speed != GRUB_USB_SPEED_NONE) + attach_root_port (hub, i, speed); + } + } + + return GRUB_USB_ERR_NONE; +} + +static void detach_device (grub_usb_device_t dev); + +static void +detach_device (grub_usb_device_t dev) +{ + unsigned i; + int k; + if (!dev) + return; + if (dev->descdev.class == GRUB_USB_CLASS_HUB) + { + if (dev->hub_transfer) + grub_usb_cancel_transfer (dev->hub_transfer); + + for (i = 0; i < dev->nports; i++) + detach_device (dev->children[i]); + grub_free (dev->children); + } + for (i = 0; i < ARRAY_SIZE (dev->config); i++) + if (dev->config[i].descconf) + for (k = 0; k < dev->config[i].descconf->numif; k++) + { + struct grub_usb_interface *inter = &dev->config[i].interf[k]; + if (inter && inter->detach_hook) + inter->detach_hook (dev, i, k); + } + grub_usb_devs[dev->addr] = 0; +} + +static void +poll_nonroot_hub (grub_usb_device_t dev) +{ + grub_usb_err_t err; + unsigned i; + grub_uint8_t changed; + grub_size_t actual; + int j, total; + + if (!dev->hub_transfer) + return; + + err = grub_usb_check_transfer (dev->hub_transfer, &actual); + + if (err == GRUB_USB_ERR_WAIT) + return; + + changed = dev->statuschange; + + dev->hub_transfer + = grub_usb_bulk_read_background (dev, dev->hub_endpoint->endp_addr, + grub_min (dev->hub_endpoint->maxpacket, + sizeof (dev->statuschange)), + (char *) &dev->statuschange); + + if (err || actual == 0 || changed == 0) + return; + + /* Iterate over the Hub ports. */ + for (i = 1; i <= dev->nports; i++) + { + grub_uint32_t status; + grub_uint32_t current_status = 0; + + if (!(changed & (1 << i))) + continue; + + /* Get the port status. */ + err = grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_IN + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_GET_STATUS, + 0, i, sizeof (status), (char *) &status); + + grub_printf ("dev = %p, i = %d, status = %08x\n", + dev, i, status); + + if (err) + continue; + + /* FIXME: properly handle these conditions. */ + if (status & GRUB_USB_HUB_STATUS_C_PORT_ENABLED) + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_CLEAR_FEATURE, + GRUB_USB_HUB_FEATURE_C_PORT_ENABLED, i, 0, 0); + + if (status & GRUB_USB_HUB_STATUS_C_PORT_SUSPEND) + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_CLEAR_FEATURE, + GRUB_USB_HUB_FEATURE_C_PORT_SUSPEND, i, 0, 0); + + if (status & GRUB_USB_HUB_STATUS_C_PORT_OVERCURRENT) + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_CLEAR_FEATURE, + GRUB_USB_HUB_FEATURE_C_PORT_OVERCURRENT, i, 0, 0); + + if (!dev->controller.dev->pending_reset && + (status & GRUB_USB_HUB_STATUS_C_PORT_CONNECTED)) + { + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_CLEAR_FEATURE, + GRUB_USB_HUB_FEATURE_C_PORT_CONNECTED, i, 0, 0); + + detach_device (dev->children[i - 1]); + dev->children[i - 1] = NULL; + + /* Connected and status of connection changed ? */ + if (status & GRUB_USB_HUB_STATUS_PORT_CONNECTED) + { + /* A device is actually connected to this port. */ + /* Wait for completion of insertion and stable power (USB spec.) + * Should be at least 100ms, some devices requires more... + * There is also another thing - some devices have worse contacts + * and connected signal is unstable for some time - we should handle + * it - but prevent deadlock in case when device is too faulty... */ + for (total = j = 0; (j < 250) && (total < 2000); j++, total++) + { + grub_millisleep (1); + /* Get the port status. */ + err = grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_IN + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_GET_STATUS, + 0, i, + sizeof (current_status), + (char *) ¤t_status); + if (err) + { + total = 2000; + break; + } + if (!(current_status & GRUB_USB_HUB_STATUS_PORT_CONNECTED)) + j = 0; + } + grub_dprintf ("usb", "(non-root) total=%d\n", total); + if (total >= 2000) + continue; + + /* Now do reset of port. */ + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_SET_FEATURE, + GRUB_USB_HUB_FEATURE_PORT_RESET, + i, 0, 0); + rescan = 1; + /* We cannot reset more than one device at the same time ! + * Resetting more devices together results in very bad + * situation: more than one device has default address 0 + * at the same time !!! + * Additionaly, we cannot perform another reset + * anywhere on the same OHCI controller until + * we will finish addressing of reseted device ! */ + dev->controller.dev->pending_reset = grub_get_time_ms () + 5000; + return; + } + } + + if (status & GRUB_USB_HUB_STATUS_C_PORT_RESET) + { + grub_usb_control_msg (dev, (GRUB_USB_REQTYPE_OUT + | GRUB_USB_REQTYPE_CLASS + | GRUB_USB_REQTYPE_TARGET_OTHER), + GRUB_USB_REQ_CLEAR_FEATURE, + GRUB_USB_HUB_FEATURE_C_PORT_RESET, i, 0, 0); + + if (status & GRUB_USB_HUB_STATUS_PORT_CONNECTED) + { + grub_usb_speed_t speed; + grub_usb_device_t next_dev; + + /* Determine the device speed. */ + if (status & GRUB_USB_HUB_STATUS_PORT_LOWSPEED) + speed = GRUB_USB_SPEED_LOW; + else + { + if (status & GRUB_USB_HUB_STATUS_PORT_HIGHSPEED) + speed = GRUB_USB_SPEED_HIGH; + else + speed = GRUB_USB_SPEED_FULL; + } + + /* Wait a recovery time after reset, spec. says 10ms */ + grub_millisleep (10); + + /* Add the device and assign a device address to it. */ + next_dev = grub_usb_hub_add_dev (&dev->controller, speed); + dev->controller.dev->pending_reset = 0; + if (! next_dev) + continue; + + dev->children[i - 1] = next_dev; + + /* If the device is a Hub, scan it for more devices. */ + if (next_dev->descdev.class == 0x09) + grub_usb_add_hub (next_dev); + } + } + } +} + +void +grub_usb_poll_devices (void) +{ + struct grub_usb_hub *hub; + int i; + + for (hub = hubs; hub; hub = hub->next) + { + /* Do we have to recheck number of ports? */ + /* No, it should be never changed, it should be constant. */ + for (i = 0; i < hub->nports; i++) + { + grub_usb_speed_t speed = GRUB_USB_SPEED_NONE; + int changed = 0; + + if (!hub->controller->dev->pending_reset) + { + /* Check for possible timeout */ + if (grub_get_time_ms () > hub->controller->dev->pending_reset) + { + /* Something went wrong, reset device was not + * addressed properly, timeout happened */ + hub->controller->dev->pending_reset = 0; + speed = hub->controller->dev->detect_dev (hub->controller, + i, &changed); + } + } + if (changed) + { + detach_device (hub->devices[i]); + hub->devices[i] = NULL; + if (speed != GRUB_USB_SPEED_NONE) + attach_root_port (hub, i, speed); + } + } + } + + while (1) + { + rescan = 0; + + /* We should check changes of non-root hubs too. */ + for (i = 0; i < GRUB_USBHUB_MAX_DEVICES; i++) + { + grub_usb_device_t dev = grub_usb_devs[i]; + + if (dev && dev->descdev.class == 0x09) + poll_nonroot_hub (dev); + } + if (!rescan) + break; + grub_millisleep (50); + } + +} + +int +grub_usb_iterate (int (*hook) (grub_usb_device_t dev)) +{ + int i; + + for (i = 0; i < GRUB_USBHUB_MAX_DEVICES; i++) + { + if (grub_usb_devs[i]) + { + if (hook (grub_usb_devs[i])) + return 1; + } + } + + return 0; +} diff --git a/grub-core/bus/usb/usbtrans.c b/grub-core/bus/usb/usbtrans.c new file mode 100644 index 0000000..167fae5 --- /dev/null +++ b/grub-core/bus/usb/usbtrans.c @@ -0,0 +1,413 @@ +/* usbtrans.c - USB Transfers and Transactions. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +static grub_usb_err_t +grub_usb_execute_and_wait_transfer (grub_usb_device_t dev, + grub_usb_transfer_t transfer, + int timeout, grub_size_t *actual) +{ + grub_usb_err_t err; + grub_uint64_t endtime; + + err = dev->controller.dev->setup_transfer (&dev->controller, transfer); + if (err) + return err; + /* endtime moved behind setup transfer to prevent false timeouts + * while debugging... */ + endtime = grub_get_time_ms () + timeout; + while (1) + { + err = dev->controller.dev->check_transfer (&dev->controller, transfer, + actual); + if (!err) + return GRUB_USB_ERR_NONE; + if (err != GRUB_USB_ERR_WAIT) + return err; + if (grub_get_time_ms () > endtime) + { + err = dev->controller.dev->cancel_transfer (&dev->controller, + transfer); + if (err) + return err; + return GRUB_USB_ERR_TIMEOUT; + } + grub_cpu_idle (); + } +} + +grub_usb_err_t +grub_usb_control_msg (grub_usb_device_t dev, + grub_uint8_t reqtype, + grub_uint8_t request, + grub_uint16_t value, + grub_uint16_t index, + grub_size_t size0, char *data_in) +{ + int i; + grub_usb_transfer_t transfer; + int datablocks; + volatile struct grub_usb_packet_setup *setupdata; + grub_uint32_t setupdata_addr; + grub_usb_err_t err; + unsigned int max; + struct grub_pci_dma_chunk *data_chunk, *setupdata_chunk; + volatile char *data; + grub_uint32_t data_addr; + grub_size_t size = size0; + grub_size_t actual; + + /* FIXME: avoid allocation any kind of buffer in a first place. */ + data_chunk = grub_memalign_dma32 (128, size ? : 16); + if (!data_chunk) + return GRUB_USB_ERR_INTERNAL; + data = grub_dma_get_virt (data_chunk); + data_addr = grub_dma_get_phys (data_chunk); + grub_memcpy ((char *) data, data_in, size); + + grub_dprintf ("usb", + "control: reqtype=0x%02x req=0x%02x val=0x%02x idx=0x%02x size=%lu\n", + reqtype, request, value, index, (unsigned long)size); + + /* Create a transfer. */ + transfer = grub_malloc (sizeof (*transfer)); + if (! transfer) + { + grub_dma_free (data_chunk); + return GRUB_USB_ERR_INTERNAL; + } + + setupdata_chunk = grub_memalign_dma32 (32, sizeof (*setupdata)); + if (! setupdata_chunk) + { + grub_free (transfer); + grub_dma_free (data_chunk); + return GRUB_USB_ERR_INTERNAL; + } + + setupdata = grub_dma_get_virt (setupdata_chunk); + setupdata_addr = grub_dma_get_phys (setupdata_chunk); + + /* Determine the maximum packet size. */ + if (dev->descdev.maxsize0) + max = dev->descdev.maxsize0; + else + max = 64; + + grub_dprintf ("usb", "control: transfer = %p, dev = %p\n", transfer, dev); + + datablocks = (size + max - 1) / max; + + /* XXX: Discriminate between different types of control + messages. */ + transfer->transcnt = datablocks + 2; + transfer->size = size; /* XXX ? */ + transfer->endpoint = 0; + transfer->devaddr = dev->addr; + transfer->type = GRUB_USB_TRANSACTION_TYPE_CONTROL; + transfer->max = max; + transfer->dev = dev; + + /* Allocate an array of transfer data structures. */ + transfer->transactions = grub_malloc (transfer->transcnt + * sizeof (struct grub_usb_transfer)); + if (! transfer->transactions) + { + grub_free (transfer); + grub_dma_free (setupdata_chunk); + grub_dma_free (data_chunk); + return GRUB_USB_ERR_INTERNAL; + } + + /* Build a Setup packet. XXX: Endianness. */ + setupdata->reqtype = reqtype; + setupdata->request = request; + setupdata->value = value; + setupdata->index = index; + setupdata->length = size; + transfer->transactions[0].size = sizeof (*setupdata); + transfer->transactions[0].pid = GRUB_USB_TRANSFER_TYPE_SETUP; + transfer->transactions[0].data = setupdata_addr; + transfer->transactions[0].toggle = 0; + + /* Now the data... XXX: Is this the right way to transfer control + transfers? */ + for (i = 0; i < datablocks; i++) + { + grub_usb_transaction_t tr = &transfer->transactions[i + 1]; + + tr->size = (size > max) ? max : size; + /* Use the right most bit as the data toggle. Simple and + effective. */ + tr->toggle = !(i & 1); + if (reqtype & 128) + tr->pid = GRUB_USB_TRANSFER_TYPE_IN; + else + tr->pid = GRUB_USB_TRANSFER_TYPE_OUT; + tr->data = data_addr + i * max; + tr->preceding = i * max; + size -= max; + } + + /* End with an empty OUT transaction. */ + transfer->transactions[datablocks + 1].size = 0; + transfer->transactions[datablocks + 1].data = 0; + if ((reqtype & 128) && datablocks) + transfer->transactions[datablocks + 1].pid = GRUB_USB_TRANSFER_TYPE_OUT; + else + transfer->transactions[datablocks + 1].pid = GRUB_USB_TRANSFER_TYPE_IN; + + transfer->transactions[datablocks + 1].toggle = 1; + + err = grub_usb_execute_and_wait_transfer (dev, transfer, 1000, &actual); + + grub_dprintf ("usb", "control: err=%d\n", err); + + grub_free (transfer->transactions); + + grub_free (transfer); + grub_dma_free (data_chunk); + grub_dma_free (setupdata_chunk); + + grub_memcpy (data_in, (char *) data, size0); + + return err; +} + +static grub_usb_transfer_t +grub_usb_bulk_setup_readwrite (grub_usb_device_t dev, + int endpoint, grub_size_t size0, char *data_in, + grub_transfer_type_t type) +{ + int i; + grub_usb_transfer_t transfer; + int datablocks; + unsigned int max; + volatile char *data; + grub_uint32_t data_addr; + struct grub_pci_dma_chunk *data_chunk; + grub_size_t size = size0; + int toggle = dev->toggle[endpoint]; + + grub_dprintf ("usb", "bulk: size=0x%02lx type=%d\n", (unsigned long) size, + type); + + /* FIXME: avoid allocation any kind of buffer in a first place. */ + data_chunk = grub_memalign_dma32 (128, size); + if (!data_chunk) + return NULL; + data = grub_dma_get_virt (data_chunk); + data_addr = grub_dma_get_phys (data_chunk); + if (type == GRUB_USB_TRANSFER_TYPE_OUT) + grub_memcpy ((char *) data, data_in, size); + + /* Use the maximum packet size given in the endpoint descriptor. */ + if (dev->initialized) + { + struct grub_usb_desc_endp *endpdesc; + endpdesc = grub_usb_get_endpdescriptor (dev, endpoint); + + if (endpdesc) + max = endpdesc->maxpacket; + else + max = 64; + } + else + max = 64; + + /* Create a transfer. */ + transfer = grub_malloc (sizeof (struct grub_usb_transfer)); + if (! transfer) + { + grub_dma_free (data_chunk); + return NULL; + } + + datablocks = ((size + max - 1) / max); + transfer->transcnt = datablocks; + transfer->size = size - 1; + transfer->endpoint = endpoint; + transfer->devaddr = dev->addr; + transfer->type = GRUB_USB_TRANSACTION_TYPE_BULK; + transfer->dir = type; + transfer->max = max; + transfer->dev = dev; + transfer->last_trans = -1; /* Reset index of last processed transaction (TD) */ + transfer->data_chunk = data_chunk; + transfer->data = data_in; + + /* Allocate an array of transfer data structures. */ + transfer->transactions = grub_malloc (transfer->transcnt + * sizeof (struct grub_usb_transfer)); + if (! transfer->transactions) + { + grub_free (transfer); + grub_dma_free (data_chunk); + return NULL; + } + + /* Set up all transfers. */ + for (i = 0; i < datablocks; i++) + { + grub_usb_transaction_t tr = &transfer->transactions[i]; + + tr->size = (size > max) ? max : size; + /* XXX: Use the right most bit as the data toggle. Simple and + effective. */ + tr->toggle = toggle; + toggle = toggle ? 0 : 1; + tr->pid = type; + tr->data = data_addr + i * max; + tr->preceding = i * max; + size -= tr->size; + } + return transfer; +} + +static void +grub_usb_bulk_finish_readwrite (grub_usb_transfer_t transfer) +{ + grub_usb_device_t dev = transfer->dev; + int toggle = dev->toggle[transfer->endpoint]; + + /* We must remember proper toggle value even if some transactions + * were not processed - correct value should be inversion of last + * processed transaction (TD). */ + if (transfer->last_trans >= 0) + toggle = transfer->transactions[transfer->last_trans].toggle ? 0 : 1; + else + toggle = dev->toggle[transfer->endpoint]; /* Nothing done, take original */ + grub_dprintf ("usb", "bulk: toggle=%d\n", toggle); + dev->toggle[transfer->endpoint] = toggle; + + if (transfer->dir == GRUB_USB_TRANSFER_TYPE_IN) + grub_memcpy (transfer->data, (void *) + grub_dma_get_virt (transfer->data_chunk), + transfer->size + 1); + + grub_free (transfer->transactions); + grub_free (transfer); + grub_dma_free (transfer->data_chunk); +} + +static grub_usb_err_t +grub_usb_bulk_readwrite (grub_usb_device_t dev, + int endpoint, grub_size_t size0, char *data_in, + grub_transfer_type_t type, int timeout, + grub_size_t *actual) +{ + grub_usb_err_t err; + grub_usb_transfer_t transfer; + + transfer = grub_usb_bulk_setup_readwrite (dev, endpoint, size0, + data_in, type); + if (!transfer) + return GRUB_USB_ERR_INTERNAL; + err = grub_usb_execute_and_wait_transfer (dev, transfer, timeout, actual); + + grub_usb_bulk_finish_readwrite (transfer); + + return err; +} + +grub_usb_err_t +grub_usb_bulk_write (grub_usb_device_t dev, + int endpoint, grub_size_t size, char *data) +{ + grub_size_t actual; + grub_usb_err_t err; + + err = grub_usb_bulk_readwrite (dev, endpoint, size, data, + GRUB_USB_TRANSFER_TYPE_OUT, 1000, &actual); + if (!err && actual != size) + err = GRUB_USB_ERR_DATA; + return err; +} + +grub_usb_err_t +grub_usb_bulk_read (grub_usb_device_t dev, + int endpoint, grub_size_t size, char *data) +{ + grub_size_t actual; + grub_usb_err_t err; + err = grub_usb_bulk_readwrite (dev, endpoint, size, data, + GRUB_USB_TRANSFER_TYPE_IN, 1000, &actual); + if (!err && actual != size) + err = GRUB_USB_ERR_DATA; + return err; +} + +grub_usb_err_t +grub_usb_check_transfer (grub_usb_transfer_t transfer, grub_size_t *actual) +{ + grub_usb_err_t err; + grub_usb_device_t dev = transfer->dev; + + err = dev->controller.dev->check_transfer (&dev->controller, transfer, + actual); + if (err == GRUB_USB_ERR_WAIT) + return err; + + grub_usb_bulk_finish_readwrite (transfer); + + return err; +} + +grub_usb_transfer_t +grub_usb_bulk_read_background (grub_usb_device_t dev, + int endpoint, grub_size_t size, void *data) +{ + grub_usb_err_t err; + grub_usb_transfer_t transfer; + + transfer = grub_usb_bulk_setup_readwrite (dev, endpoint, size, + data, GRUB_USB_TRANSFER_TYPE_IN); + if (!transfer) + return NULL; + + err = dev->controller.dev->setup_transfer (&dev->controller, transfer); + if (err) + return NULL; + + return transfer; +} + +void +grub_usb_cancel_transfer (grub_usb_transfer_t transfer) +{ + grub_usb_device_t dev = transfer->dev; + dev->controller.dev->cancel_transfer (&dev->controller, transfer); + grub_errno = GRUB_ERR_NONE; +} + +grub_usb_err_t +grub_usb_bulk_read_extended (grub_usb_device_t dev, + int endpoint, grub_size_t size, char *data, + int timeout, grub_size_t *actual) +{ + return grub_usb_bulk_readwrite (dev, endpoint, size, data, + GRUB_USB_TRANSFER_TYPE_IN, timeout, actual); +} diff --git a/grub-core/commands/acpi.c b/grub-core/commands/acpi.c new file mode 100644 index 0000000..8f44296 --- /dev/null +++ b/grub-core/commands/acpi.c @@ -0,0 +1,774 @@ +/* acpi.c - modify acpi tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef GRUB_MACHINE_EFI +#include +#include +#endif + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = { + {"exclude", 'x', 0, + N_("Don't load host tables specified by comma-separated list."), + 0, ARG_TYPE_STRING}, + {"load-only", 'n', 0, + N_("Load only tables specified by comma-separated list."), 0, ARG_TYPE_STRING}, + {"v1", '1', 0, N_("Expose v1 tables."), 0, ARG_TYPE_NONE}, + {"v2", '2', 0, N_("Expose v2 and v3 tables."), 0, ARG_TYPE_NONE}, + {"oemid", 'o', 0, N_("Set OEMID of RSDP, XSDT and RSDT."), 0, ARG_TYPE_STRING}, + {"oemtable", 't', 0, + N_("Set OEMTABLE ID of RSDP, XSDT and RSDT."), 0, ARG_TYPE_STRING}, + {"oemtablerev", 'r', 0, + N_("Set OEMTABLE revision of RSDP, XSDT and RSDT."), 0, ARG_TYPE_INT}, + {"oemtablecreator", 'c', 0, + N_("Set creator field of RSDP, XSDT and RSDT."), 0, ARG_TYPE_STRING}, + {"oemtablecreatorrev", 'd', 0, + N_("Set creator revision of RSDP, XSDT and RSDT."), 0, ARG_TYPE_INT}, + {"no-ebda", 'e', 0, N_("Don't update EBDA. May fix failures or hangs on some." + " BIOSes but makes it ineffective with OS not receiving RSDP from GRUB."), + 0, ARG_TYPE_NONE}, + {0, 0, 0, 0, 0, 0} +}; + +/* Simple checksum by summing all bytes. Used by ACPI and SMBIOS. */ +grub_uint8_t +grub_byte_checksum (void *base, grub_size_t size) +{ + grub_uint8_t *ptr; + grub_uint8_t ret = 0; + for (ptr = (grub_uint8_t *) base; ptr < ((grub_uint8_t *) base) + size; + ptr++) + ret += *ptr; + return ret; +} + +/* rev1 is 1 if ACPIv1 is to be generated, 0 otherwise. + rev2 contains the revision of ACPIv2+ to generate or 0 if none. */ +static int rev1, rev2; +/* OEMID of RSDP, RSDT and XSDT. */ +static char root_oemid[6]; +/* OEMTABLE of the same tables. */ +static char root_oemtable[8]; +/* OEMREVISION of the same tables. */ +static grub_uint32_t root_oemrev; +/* CreatorID of the same tables. */ +static char root_creator_id[4]; +/* CreatorRevision of the same tables. */ +static grub_uint32_t root_creator_rev; +static struct grub_acpi_rsdp_v10 *rsdpv1_new = 0; +static struct grub_acpi_rsdp_v20 *rsdpv2_new = 0; +static char *playground = 0, *playground_ptr = 0; +static int playground_size = 0; + +/* Linked list of ACPI tables. */ +struct efiemu_acpi_table +{ + void *addr; + grub_size_t size; + struct efiemu_acpi_table *next; +}; +static struct efiemu_acpi_table *acpi_tables = 0; + +/* DSDT isn't in RSDT. So treat it specially. */ +static void *table_dsdt = 0; +/* Pointer to recreated RSDT. */ +static void *rsdt_addr = 0; + +/* Allocation handles for different tables. */ +static grub_size_t dsdt_size = 0; + +/* Address of original FACS. */ +static grub_uint32_t facs_addr = 0; + +struct grub_acpi_rsdp_v20 * +grub_acpi_get_rsdpv2 (void) +{ + if (rsdpv2_new) + return rsdpv2_new; + if (rsdpv1_new) + return 0; + return grub_machine_acpi_get_rsdpv2 (); +} + +struct grub_acpi_rsdp_v10 * +grub_acpi_get_rsdpv1 (void) +{ + if (rsdpv1_new) + return rsdpv1_new; + if (rsdpv2_new) + return 0; + return grub_machine_acpi_get_rsdpv1 (); +} + +static inline int +iszero (grub_uint8_t *reg, int size) +{ + int i; + for (i = 0; i < size; i++) + if (reg[i]) + return 0; + return 1; +} + +grub_err_t +grub_acpi_create_ebda (void) +{ + int ebda_kb_len; + int ebda_len; + int mmapregion = 0; + grub_uint8_t *ebda, *v1inebda = 0, *v2inebda = 0; + grub_uint64_t highestlow = 0; + grub_uint8_t *targetebda, *target; + struct grub_acpi_rsdp_v10 *v1; + struct grub_acpi_rsdp_v20 *v2; + auto int NESTED_FUNC_ATTR find_hook (grub_uint64_t, grub_uint64_t, + grub_uint32_t); + int NESTED_FUNC_ATTR find_hook (grub_uint64_t start, grub_uint64_t size, + grub_memory_type_t type) + { + grub_uint64_t end = start + size; + if (type != GRUB_MEMORY_AVAILABLE) + return 0; + if (end > 0x100000) + end = 0x100000; + if (end > start + ebda_len + && highestlow < ((end - ebda_len) & (~0xf)) ) + highestlow = (end - ebda_len) & (~0xf); + return 0; + } + + ebda = (grub_uint8_t *) UINT_TO_PTR ((*((grub_uint16_t *)0x40e)) << 4); + ebda_kb_len = *(grub_uint16_t *) ebda; + if (! ebda || ebda_kb_len > 16) + ebda_kb_len = 0; + ebda_len = (ebda_kb_len + 1) << 10; + + /* FIXME: use low-memory mm allocation once it's available. */ + grub_mmap_iterate (find_hook); + targetebda = (grub_uint8_t *) UINT_TO_PTR (highestlow); + grub_dprintf ("acpi", "creating ebda @%llx\n", + (unsigned long long) highestlow); + if (! highestlow) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't find space for the new EBDA"); + + mmapregion = grub_mmap_register (PTR_TO_UINT64 (targetebda), ebda_len, + GRUB_MEMORY_RESERVED); + if (! mmapregion) + return grub_errno; + + /* XXX: EBDA is unstandardized, so this implementation is heuristical. */ + if (ebda_kb_len) + grub_memcpy (targetebda, ebda, 0x400); + else + grub_memset (targetebda, 0, 0x400); + *((grub_uint16_t *) targetebda) = ebda_kb_len + 1; + target = targetebda; + + v1 = grub_acpi_get_rsdpv1 (); + v2 = grub_acpi_get_rsdpv2 (); + if (v2 && v2->length > 40) + v2 = 0; + + /* First try to replace already existing rsdp. */ + if (v2) + { + grub_dprintf ("acpi", "Scanning EBDA for old rsdpv2\n"); + for (; target < targetebda + 0x400 - v2->length; target += 0x10) + if (grub_memcmp (target, "RSD PTR ", 8) == 0 + && grub_byte_checksum (target, + sizeof (struct grub_acpi_rsdp_v10)) == 0 + && ((struct grub_acpi_rsdp_v10 *) target)->revision != 0 + && ((struct grub_acpi_rsdp_v20 *) target)->length <= v2->length) + { + grub_memcpy (target, v2, v2->length); + grub_dprintf ("acpi", "Copying rsdpv2 to %p\n", target); + v2inebda = target; + target += v2->length; + target = (grub_uint8_t *) ((((long) target - 1) | 0xf) + 1); + v2 = 0; + break; + } + } + + if (v1) + { + grub_dprintf ("acpi", "Scanning EBDA for old rsdpv1\n"); + for (; target < targetebda + 0x400 - sizeof (struct grub_acpi_rsdp_v10); + target += 0x10) + if (grub_memcmp (target, "RSD PTR ", 8) == 0 + && grub_byte_checksum (target, + sizeof (struct grub_acpi_rsdp_v10)) == 0) + { + grub_memcpy (target, v1, sizeof (struct grub_acpi_rsdp_v10)); + grub_dprintf ("acpi", "Copying rsdpv1 to %p\n", target); + v1inebda = target; + target += sizeof (struct grub_acpi_rsdp_v10); + target = (grub_uint8_t *) ((((long) target - 1) | 0xf) + 1); + v1 = 0; + break; + } + } + + target = targetebda + 0x100; + + /* Try contiguous zeros. */ + if (v2) + { + grub_dprintf ("acpi", "Scanning EBDA for block of zeros\n"); + for (; target < targetebda + 0x400 - v2->length; target += 0x10) + if (iszero (target, v2->length)) + { + grub_dprintf ("acpi", "Copying rsdpv2 to %p\n", target); + grub_memcpy (target, v2, v2->length); + v2inebda = target; + target += v2->length; + target = (grub_uint8_t *) ((((long) target - 1) | 0xf) + 1); + v2 = 0; + break; + } + } + + if (v1) + { + grub_dprintf ("acpi", "Scanning EBDA for block of zeros\n"); + for (; target < targetebda + 0x400 - sizeof (struct grub_acpi_rsdp_v10); + target += 0x10) + if (iszero (target, sizeof (struct grub_acpi_rsdp_v10))) + { + grub_dprintf ("acpi", "Copying rsdpv1 to %p\n", target); + grub_memcpy (target, v1, sizeof (struct grub_acpi_rsdp_v10)); + v1inebda = target; + target += sizeof (struct grub_acpi_rsdp_v10); + target = (grub_uint8_t *) ((((long) target - 1) | 0xf) + 1); + v1 = 0; + break; + } + } + + if (v1 || v2) + { + grub_mmap_unregister (mmapregion); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't find suitable spot in EBDA"); + } + + /* Remove any other RSDT. */ + for (target = targetebda; + target < targetebda + 0x400 - sizeof (struct grub_acpi_rsdp_v10); + target += 0x10) + if (grub_memcmp (target, "RSD PTR ", 8) == 0 + && grub_byte_checksum (target, + sizeof (struct grub_acpi_rsdp_v10)) == 0 + && target != v1inebda && target != v2inebda) + *target = 0; + + grub_dprintf ("acpi", "Switching EBDA\n"); + (*((grub_uint16_t *) 0x40e)) = ((long)targetebda) >> 4; + grub_dprintf ("acpi", "EBDA switched\n"); + + return GRUB_ERR_NONE; +} + +/* Create tables common to ACPIv1 and ACPIv2+ */ +static void +setup_common_tables (void) +{ + struct efiemu_acpi_table *cur; + struct grub_acpi_table_header *rsdt; + grub_uint32_t *rsdt_entry; + int numoftables; + + /* Treat DSDT. */ + grub_memcpy (playground_ptr, table_dsdt, dsdt_size); + grub_free (table_dsdt); + table_dsdt = playground_ptr; + playground_ptr += dsdt_size; + + /* Treat other tables. */ + for (cur = acpi_tables; cur; cur = cur->next) + { + struct grub_acpi_fadt *fadt; + + grub_memcpy (playground_ptr, cur->addr, cur->size); + grub_free (cur->addr); + cur->addr = playground_ptr; + playground_ptr += cur->size; + + /* If it's FADT correct DSDT and FACS addresses. */ + fadt = (struct grub_acpi_fadt *) cur->addr; + if (grub_memcmp (fadt->hdr.signature, GRUB_ACPI_FADT_SIGNATURE, + sizeof (fadt->hdr.signature)) == 0) + { + fadt->dsdt_addr = PTR_TO_UINT32 (table_dsdt); + fadt->facs_addr = facs_addr; + + /* Does a revision 2 exist at all? */ + if (fadt->hdr.revision >= 3) + { + fadt->dsdt_xaddr = PTR_TO_UINT64 (table_dsdt); + fadt->facs_xaddr = facs_addr; + } + + /* Recompute checksum. */ + fadt->hdr.checksum = 0; + fadt->hdr.checksum = 1 + ~grub_byte_checksum (fadt, fadt->hdr.length); + } + } + + /* Fill RSDT entries. */ + numoftables = 0; + for (cur = acpi_tables; cur; cur = cur->next) + numoftables++; + + rsdt_addr = rsdt = (struct grub_acpi_table_header *) playground_ptr; + playground_ptr += sizeof (struct grub_acpi_table_header) + 4 * numoftables; + + rsdt_entry = (grub_uint32_t *) (rsdt + 1); + + /* Fill RSDT header. */ + grub_memcpy (&(rsdt->signature), "RSDT", 4); + rsdt->length = sizeof (struct grub_acpi_table_header) + 4 * numoftables; + rsdt->revision = 1; + grub_memcpy (&(rsdt->oemid), root_oemid, sizeof (rsdt->oemid)); + grub_memcpy (&(rsdt->oemtable), root_oemtable, sizeof (rsdt->oemtable)); + rsdt->oemrev = root_oemrev; + grub_memcpy (&(rsdt->creator_id), root_creator_id, sizeof (rsdt->creator_id)); + rsdt->creator_rev = root_creator_rev; + + for (cur = acpi_tables; cur; cur = cur->next) + *(rsdt_entry++) = PTR_TO_UINT32 (cur->addr); + + /* Recompute checksum. */ + rsdt->checksum = 0; + rsdt->checksum = 1 + ~grub_byte_checksum (rsdt, rsdt->length); +} + +/* Regenerate ACPIv1 RSDP */ +static void +setv1table (void) +{ + /* Create RSDP. */ + rsdpv1_new = (struct grub_acpi_rsdp_v10 *) playground_ptr; + playground_ptr += sizeof (struct grub_acpi_rsdp_v10); + grub_memcpy (&(rsdpv1_new->signature), "RSD PTR ", + sizeof (rsdpv1_new->signature)); + grub_memcpy (&(rsdpv1_new->oemid), root_oemid, sizeof (rsdpv1_new->oemid)); + rsdpv1_new->revision = 0; + rsdpv1_new->rsdt_addr = PTR_TO_UINT32 (rsdt_addr); + rsdpv1_new->checksum = 0; + rsdpv1_new->checksum = 1 + ~grub_byte_checksum (rsdpv1_new, + sizeof (*rsdpv1_new)); + grub_dprintf ("acpi", "Generated ACPIv1 tables\n"); +} + +static void +setv2table (void) +{ + struct grub_acpi_table_header *xsdt; + struct efiemu_acpi_table *cur; + grub_uint64_t *xsdt_entry; + int numoftables; + + numoftables = 0; + for (cur = acpi_tables; cur; cur = cur->next) + numoftables++; + + /* Create XSDT. */ + xsdt = (struct grub_acpi_table_header *) playground_ptr; + playground_ptr += sizeof (struct grub_acpi_table_header) + 8 * numoftables; + + xsdt_entry = (grub_uint64_t *)(xsdt + 1); + for (cur = acpi_tables; cur; cur = cur->next) + *(xsdt_entry++) = PTR_TO_UINT64 (cur->addr); + grub_memcpy (&(xsdt->signature), "XSDT", 4); + xsdt->length = sizeof (struct grub_acpi_table_header) + 8 * numoftables; + xsdt->revision = 1; + grub_memcpy (&(xsdt->oemid), root_oemid, sizeof (xsdt->oemid)); + grub_memcpy (&(xsdt->oemtable), root_oemtable, sizeof (xsdt->oemtable)); + xsdt->oemrev = root_oemrev; + grub_memcpy (&(xsdt->creator_id), root_creator_id, sizeof (xsdt->creator_id)); + xsdt->creator_rev = root_creator_rev; + xsdt->checksum = 0; + xsdt->checksum = 1 + ~grub_byte_checksum (xsdt, xsdt->length); + + /* Create RSDPv2. */ + rsdpv2_new = (struct grub_acpi_rsdp_v20 *) playground_ptr; + playground_ptr += sizeof (struct grub_acpi_rsdp_v20); + grub_memcpy (&(rsdpv2_new->rsdpv1.signature), "RSD PTR ", + sizeof (rsdpv2_new->rsdpv1.signature)); + grub_memcpy (&(rsdpv2_new->rsdpv1.oemid), root_oemid, + sizeof (rsdpv2_new->rsdpv1.oemid)); + rsdpv2_new->rsdpv1.revision = rev2; + rsdpv2_new->rsdpv1.rsdt_addr = PTR_TO_UINT32 (rsdt_addr); + rsdpv2_new->rsdpv1.checksum = 0; + rsdpv2_new->rsdpv1.checksum = 1 + ~grub_byte_checksum + (&(rsdpv2_new->rsdpv1), sizeof (rsdpv2_new->rsdpv1)); + rsdpv2_new->length = sizeof (*rsdpv2_new); + rsdpv2_new->xsdt_addr = PTR_TO_UINT64 (xsdt); + rsdpv2_new->checksum = 0; + rsdpv2_new->checksum = 1 + ~grub_byte_checksum (rsdpv2_new, + rsdpv2_new->length); + grub_dprintf ("acpi", "Generated ACPIv2 tables\n"); +} + +static void +free_tables (void) +{ + struct efiemu_acpi_table *cur, *t; + if (table_dsdt) + grub_free (table_dsdt); + for (cur = acpi_tables; cur;) + { + t = cur; + grub_free (cur->addr); + cur = cur->next; + grub_free (t); + } + acpi_tables = 0; + table_dsdt = 0; +} + +static grub_err_t +grub_cmd_acpi (struct grub_extcmd_context *ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + struct grub_acpi_rsdp_v10 *rsdp; + struct efiemu_acpi_table *cur, *t; + grub_err_t err; + int i, mmapregion; + int numoftables; + + /* Default values if no RSDP is found. */ + rev1 = 1; + rev2 = 3; + + facs_addr = 0; + playground = playground_ptr = 0; + playground_size = 0; + + rsdp = (struct grub_acpi_rsdp_v10 *) grub_machine_acpi_get_rsdpv2 (); + + if (! rsdp) + rsdp = grub_machine_acpi_get_rsdpv1 (); + + if (rsdp) + { + grub_uint32_t *entry_ptr; + char *exclude = 0; + char *load_only = 0; + char *ptr; + /* RSDT consists of header and an array of 32-bit pointers. */ + struct grub_acpi_table_header *rsdt; + + exclude = state[0].set ? grub_strdup (state[0].arg) : 0; + if (exclude) + { + for (ptr = exclude; *ptr; ptr++) + *ptr = grub_tolower (*ptr); + } + + load_only = state[1].set ? grub_strdup (state[1].arg) : 0; + if (load_only) + { + for (ptr = load_only; *ptr; ptr++) + *ptr = grub_tolower (*ptr); + } + + /* Set revision variables to replicate the same version as host. */ + rev1 = ! rsdp->revision; + rev2 = rsdp->revision; + rsdt = (struct grub_acpi_table_header *) UINT_TO_PTR (rsdp->rsdt_addr); + /* Load host tables. */ + for (entry_ptr = (grub_uint32_t *) (rsdt + 1); + entry_ptr < (grub_uint32_t *) (((grub_uint8_t *) rsdt) + + rsdt->length); + entry_ptr++) + { + char signature[5]; + struct efiemu_acpi_table *table; + struct grub_acpi_table_header *curtable + = (struct grub_acpi_table_header *) UINT_TO_PTR (*entry_ptr); + signature[4] = 0; + for (i = 0; i < 4;i++) + signature[i] = grub_tolower (curtable->signature[i]); + + /* If it's FADT it contains addresses of DSDT and FACS. */ + if (grub_strcmp (signature, "facp") == 0) + { + struct grub_acpi_table_header *dsdt; + struct grub_acpi_fadt *fadt = (struct grub_acpi_fadt *) curtable; + + /* Set root header variables to the same values + as FADT by default. */ + grub_memcpy (&root_oemid, &(fadt->hdr.oemid), + sizeof (root_oemid)); + grub_memcpy (&root_oemtable, &(fadt->hdr.oemtable), + sizeof (root_oemtable)); + root_oemrev = fadt->hdr.oemrev; + grub_memcpy (&root_creator_id, &(fadt->hdr.creator_id), + sizeof (root_creator_id)); + root_creator_rev = fadt->hdr.creator_rev; + + /* Load DSDT if not excluded. */ + dsdt = (struct grub_acpi_table_header *) + UINT_TO_PTR (fadt->dsdt_addr); + if (dsdt && (! exclude || ! grub_strword (exclude, "dsdt")) + && (! load_only || grub_strword (load_only, "dsdt")) + && dsdt->length >= sizeof (*dsdt)) + { + dsdt_size = dsdt->length; + table_dsdt = grub_malloc (dsdt->length); + if (! table_dsdt) + { + free_tables (); + grub_free (exclude); + grub_free (load_only); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate table"); + } + grub_memcpy (table_dsdt, dsdt, dsdt->length); + } + + /* Save FACS address. FACS shouldn't be overridden. */ + facs_addr = fadt->facs_addr; + } + + /* Skip excluded tables. */ + if (exclude && grub_strword (exclude, signature)) + continue; + if (load_only && ! grub_strword (load_only, signature)) + continue; + + /* Sanity check. */ + if (curtable->length < sizeof (*curtable)) + continue; + + table = (struct efiemu_acpi_table *) grub_malloc + (sizeof (struct efiemu_acpi_table)); + if (! table) + { + free_tables (); + grub_free (exclude); + grub_free (load_only); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate table structure"); + } + table->size = curtable->length; + table->addr = grub_malloc (table->size); + playground_size += table->size; + if (! table->addr) + { + free_tables (); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate table"); + } + table->next = acpi_tables; + acpi_tables = table; + grub_memcpy (table->addr, curtable, table->size); + } + grub_free (exclude); + grub_free (load_only); + } + + /* Does user specify versions to generate? */ + if (state[2].set || state[3].set) + { + rev1 = state[2].set; + if (state[3].set) + rev2 = rev2 ? : 2; + else + rev2 = 0; + } + + /* Does user override root header information? */ + if (state[4].set) + grub_strncpy (root_oemid, state[4].arg, sizeof (root_oemid)); + if (state[5].set) + grub_strncpy (root_oemtable, state[5].arg, sizeof (root_oemtable)); + if (state[6].set) + root_oemrev = grub_strtoul (state[6].arg, 0, 0); + if (state[7].set) + grub_strncpy (root_creator_id, state[7].arg, sizeof (root_creator_id)); + if (state[8].set) + root_creator_rev = grub_strtoul (state[8].arg, 0, 0); + + /* Load user tables */ + for (i = 0; i < argc; i++) + { + grub_file_t file; + grub_size_t size; + char *buf; + + file = grub_file_open (args[i]); + if (! file) + { + free_tables (); + return grub_error (GRUB_ERR_BAD_OS, "couldn't open file %s", args[i]); + } + + size = grub_file_size (file); + if (size < sizeof (struct grub_acpi_table_header)) + { + grub_file_close (file); + free_tables (); + return grub_error (GRUB_ERR_BAD_OS, "file %s is too small", args[i]); + } + + buf = (char *) grub_malloc (size); + if (! buf) + { + grub_file_close (file); + free_tables (); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't read file %s", args[i]); + } + + if (grub_file_read (file, buf, size) != (int) size) + { + grub_file_close (file); + free_tables (); + return grub_error (GRUB_ERR_BAD_OS, "couldn't read file %s", args[i]); + } + grub_file_close (file); + + if (grub_memcmp (((struct grub_acpi_table_header *) buf)->signature, + "DSDT", 4) == 0) + { + grub_free (table_dsdt); + table_dsdt = buf; + dsdt_size = size; + } + else + { + struct efiemu_acpi_table *table; + table = (struct efiemu_acpi_table *) grub_malloc + (sizeof (struct efiemu_acpi_table)); + if (! table) + { + free_tables (); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate table structure"); + } + + table->size = size; + table->addr = buf; + playground_size += table->size; + + table->next = acpi_tables; + acpi_tables = table; + } + } + + numoftables = 0; + for (cur = acpi_tables; cur; cur = cur->next) + numoftables++; + + /* DSDT. */ + playground_size += dsdt_size; + /* RSDT. */ + playground_size += sizeof (struct grub_acpi_table_header) + 4 * numoftables; + /* RSDPv1. */ + playground_size += sizeof (struct grub_acpi_rsdp_v10); + /* XSDT. */ + playground_size += sizeof (struct grub_acpi_table_header) + 8 * numoftables; + /* RSDPv2. */ + playground_size += sizeof (struct grub_acpi_rsdp_v20); + + playground = playground_ptr + = grub_mmap_malign_and_register (1, playground_size, &mmapregion, + GRUB_MEMORY_ACPI, 0); + + if (! playground) + { + free_tables (); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate space for ACPI tables"); + } + + setup_common_tables (); + + /* Request space for RSDPv1. */ + if (rev1) + setv1table (); + + /* Request space for RSDPv2+ and XSDT. */ + if (rev2) + setv2table (); + + for (cur = acpi_tables; cur;) + { + t = cur; + cur = cur->next; + grub_free (t); + } + acpi_tables = 0; + + if (! state[9].set && (err = grub_acpi_create_ebda ())) + { + rsdpv1_new = 0; + rsdpv2_new = 0; + grub_mmap_free_and_unregister (mmapregion); + return err; + } + +#ifdef GRUB_MACHINE_EFI + { + struct grub_efi_guid acpi = GRUB_EFI_ACPI_TABLE_GUID; + struct grub_efi_guid acpi20 = GRUB_EFI_ACPI_20_TABLE_GUID; + + grub_efi_system_table->boot_services->install_configuration_table + (&acpi20, grub_acpi_get_rsdpv2 ()); + grub_efi_system_table->boot_services->install_configuration_table + (&acpi, grub_acpi_get_rsdpv1 ()); + } +#endif + + return GRUB_ERR_NONE; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(acpi) +{ + cmd = grub_register_extcmd ("acpi", grub_cmd_acpi, 0, + N_("[-1|-2] [--exclude=TABLE1,TABLE2|" + "--load-only=table1,table2] FILE1" + " [FILE2] [...]"), + N_("Load host ACPI tables and tables " + "specified by arguments."), + options); +} + +GRUB_MOD_FINI(acpi) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/acpihalt.c b/grub-core/commands/acpihalt.c new file mode 100644 index 0000000..9a4cda5 --- /dev/null +++ b/grub-core/commands/acpihalt.c @@ -0,0 +1,332 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#ifdef GRUB_DSDT_TEST +#include +#include +#include +#include +#include + +#define grub_dprintf(cond, args...) printf ( args ) +#define grub_printf printf +typedef uint64_t grub_uint64_t; +typedef uint32_t grub_uint32_t; +typedef uint16_t grub_uint16_t; +typedef uint8_t grub_uint8_t; + +#endif + +#include + +#ifndef GRUB_DSDT_TEST +#include +#include +#include +#endif + +static inline grub_uint32_t +decode_length (const grub_uint8_t *ptr, int *numlen) +{ + int num_bytes, i; + grub_uint32_t ret; + if (*ptr < 64) + { + if (numlen) + *numlen = 1; + return *ptr; + } + num_bytes = *ptr >> 6; + if (numlen) + *numlen = num_bytes + 1; + ret = *ptr & 0xf; + ptr++; + for (i = 0; i < num_bytes; i++) + { + ret |= *ptr << (8 * i + 4); + ptr++; + } + return ret; +} + +static inline grub_uint32_t +skip_name_string (const grub_uint8_t *ptr, const grub_uint8_t *end) +{ + const grub_uint8_t *ptr0 = ptr; + + while (ptr < end && (*ptr == '^' || *ptr == '\\')) + ptr++; + switch (*ptr) + { + case '.': + ptr++; + ptr += 8; + break; + case '/': + ptr++; + ptr += 1 + (*ptr) * 4; + break; + case 0: + ptr++; + break; + default: + ptr += 4; + break; + } + return ptr - ptr0; +} + +static inline grub_uint32_t +skip_data_ref_object (const grub_uint8_t *ptr, const grub_uint8_t *end) +{ + grub_dprintf ("acpi", "data type = 0x%x\n", *ptr); + switch (*ptr) + { + case GRUB_ACPI_OPCODE_PACKAGE: + return 1 + decode_length (ptr + 1, 0); + case GRUB_ACPI_OPCODE_ZERO: + case GRUB_ACPI_OPCODE_ONES: + case GRUB_ACPI_OPCODE_ONE: + return 1; + case GRUB_ACPI_OPCODE_BYTE_CONST: + return 2; + case GRUB_ACPI_OPCODE_WORD_CONST: + return 3; + case GRUB_ACPI_OPCODE_DWORD_CONST: + return 5; + default: + if (*ptr == '^' || *ptr == '\\' || *ptr == '_' + || (*ptr >= 'A' && *ptr <= 'Z')) + return skip_name_string (ptr, end); + grub_printf ("Unknown opcode 0x%x\n", *ptr); + return 0; + } +} + +static inline grub_uint32_t +skip_ext_op (const grub_uint8_t *ptr, const grub_uint8_t *end) +{ + const grub_uint8_t *ptr0 = ptr; + int add; + grub_dprintf ("acpi", "Extended opcode: 0x%x\n", *ptr); + switch (*ptr) + { + case GRUB_ACPI_EXTOPCODE_MUTEX: + ptr++; + ptr += skip_name_string (ptr, end); + ptr++; + break; + case GRUB_ACPI_EXTOPCODE_OPERATION_REGION: + ptr++; + ptr += skip_name_string (ptr, end); + ptr++; + ptr += add = skip_data_ref_object (ptr, end); + if (!add) + return 0; + ptr += add = skip_data_ref_object (ptr, end); + if (!add) + return 0; + break; + case GRUB_ACPI_EXTOPCODE_FIELD_OP: + case GRUB_ACPI_EXTOPCODE_INDEX_FIELD_OP: + ptr++; + ptr += decode_length (ptr, 0); + break; + default: + grub_printf ("Unexpected extended opcode: 0x%x\n", *ptr); + return 0; + } + return ptr - ptr0; +} + +static int +get_sleep_type (grub_uint8_t *table, grub_uint8_t *end) +{ + grub_uint8_t *ptr, *prev = table; + int sleep_type = -1; + + ptr = table + sizeof (struct grub_acpi_table_header); + while (ptr < end && prev < ptr) + { + int add; + prev = ptr; + grub_dprintf ("acpi", "Opcode 0x%x\n", *ptr); + grub_dprintf ("acpi", "Tell %x\n", (unsigned) (ptr - table)); + switch (*ptr) + { + case GRUB_ACPI_OPCODE_EXTOP: + ptr++; + ptr += add = skip_ext_op (ptr, end); + if (!add) + return -1; + break; + case GRUB_ACPI_OPCODE_NAME: + ptr++; + if (memcmp (ptr, "_S5_", 4) == 0 || memcmp (ptr, "\\_S5_", 4) == 0) + { + int ll; + grub_uint8_t *ptr2 = ptr; + grub_dprintf ("acpi", "S5 found\n"); + ptr2 += skip_name_string (ptr, end); + if (*ptr2 != 0x12) + { + grub_printf ("Unknown opcode in _S5: 0x%x\n", *ptr2); + return -1; + } + ptr2++; + decode_length (ptr2, &ll); + ptr2 += ll; + ptr2++; + switch (*ptr2) + { + case GRUB_ACPI_OPCODE_ZERO: + sleep_type = 0; + break; + case GRUB_ACPI_OPCODE_ONE: + sleep_type = 1; + break; + case GRUB_ACPI_OPCODE_BYTE_CONST: + sleep_type = ptr2[1]; + break; + default: + grub_printf ("Unknown data type in _S5: 0x%x\n", *ptr2); + return -1; + } + } + ptr += add = skip_name_string (ptr, end); + if (!add) + return -1; + ptr += add = skip_data_ref_object (ptr, end); + if (!add) + return -1; + break; + case GRUB_ACPI_OPCODE_SCOPE: + case GRUB_ACPI_OPCODE_IF: + case GRUB_ACPI_OPCODE_METHOD: + { + ptr++; + ptr += decode_length (ptr, 0); + break; + } + } + } + + grub_dprintf ("acpi", "TYP = %d\n", sleep_type); + return sleep_type; +} + +#ifdef GRUB_DSDT_TEST +int +main (int argc, char **argv) +{ + FILE *f; + size_t len; + unsigned char *buf; + if (argc < 2) + printf ("Usage: %s FILE\n", argv[0]); + f = fopen (argv[1], "rb"); + if (!f) + { + printf ("Couldn't open file\n"); + return 1; + } + fseek (f, 0, SEEK_END); + len = ftell (f); + fseek (f, 0, SEEK_SET); + buf = malloc (len); + if (!buf) + { + printf ("Couldn't malloc buffer\n"); + fclose (f); + return 2; + } + if (fread (buf, 1, len, f) != len) + { + printf ("Read failed\n"); + free (buf); + fclose (f); + return 2; + } + + printf ("Sleep type = %d\n", get_sleep_type (buf, buf + len)); + free (buf); + fclose (f); + return 0; +} + +#else + +void +grub_acpi_halt (void) +{ + struct grub_acpi_rsdp_v20 *rsdp2; + struct grub_acpi_rsdp_v10 *rsdp1; + struct grub_acpi_table_header *rsdt; + grub_uint32_t *entry_ptr; + + rsdp2 = grub_acpi_get_rsdpv2 (); + if (rsdp2) + rsdp1 = &(rsdp2->rsdpv1); + else + rsdp1 = grub_acpi_get_rsdpv1 (); + grub_dprintf ("acpi", "rsdp1=%p\n", rsdp1); + if (!rsdp1) + return; + + rsdt = (struct grub_acpi_table_header *) (grub_addr_t) rsdp1->rsdt_addr; + for (entry_ptr = (grub_uint32_t *) (rsdt + 1); + entry_ptr < (grub_uint32_t *) (((grub_uint8_t *) rsdt) + + rsdt->length); + entry_ptr++) + { + if (grub_memcmp ((void *) (grub_addr_t) *entry_ptr, "FACP", 4) == 0) + { + grub_uint32_t port; + struct grub_acpi_fadt *fadt + = ((struct grub_acpi_fadt *) (grub_addr_t) *entry_ptr); + struct grub_acpi_table_header *dsdt + = (struct grub_acpi_table_header *) (grub_addr_t) fadt->dsdt_addr; + int sleep_type = -1; + + port = fadt->pm1a; + + grub_dprintf ("acpi", "PM1a port=%x\n", port); + + if (grub_memcmp (dsdt->signature, "DSDT", + sizeof (dsdt->signature)) != 0) + break; + + sleep_type = get_sleep_type ((grub_uint8_t *) dsdt, + (grub_uint8_t *) dsdt + dsdt->length); + + if (sleep_type < 0 || sleep_type >= 8) + break; + + grub_dprintf ("acpi", "SLP_TYP = %d, port = 0x%x\n", + sleep_type, port); + + grub_outw (GRUB_ACPI_SLP_EN + | (sleep_type << GRUB_ACPI_SLP_TYP_OFFSET), port & 0xffff); + } + } + + grub_millisleep (1500); + + grub_printf ("ACPI shutdown failed\n"); +} +#endif diff --git a/grub-core/commands/blocklist.c b/grub-core/commands/blocklist.c new file mode 100644 index 0000000..5eb12e4 --- /dev/null +++ b/grub-core/commands/blocklist.c @@ -0,0 +1,122 @@ +/* blocklist.c - print the block list of a file */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_blocklist (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_file_t file; + char buf[GRUB_DISK_SECTOR_SIZE]; + unsigned long start_sector = 0; + unsigned num_sectors = 0; + int num_entries = 0; + grub_disk_addr_t part_start = 0; + auto void NESTED_FUNC_ATTR read_blocklist (grub_disk_addr_t sector, unsigned offset, + unsigned length); + auto void NESTED_FUNC_ATTR print_blocklist (grub_disk_addr_t sector, unsigned num, + unsigned offset, unsigned length); + + void NESTED_FUNC_ATTR read_blocklist (grub_disk_addr_t sector, unsigned offset, + unsigned length) + { + if (num_sectors > 0) + { + if (start_sector + num_sectors == sector + && offset == 0 && length == GRUB_DISK_SECTOR_SIZE) + { + num_sectors++; + return; + } + + print_blocklist (start_sector, num_sectors, 0, 0); + num_sectors = 0; + } + + if (offset == 0 && length == GRUB_DISK_SECTOR_SIZE) + { + start_sector = sector; + num_sectors++; + } + else + print_blocklist (sector, 0, offset, length); + } + + void NESTED_FUNC_ATTR print_blocklist (grub_disk_addr_t sector, unsigned num, + unsigned offset, unsigned length) + { + if (num_entries++) + grub_printf (","); + + grub_printf ("%llu", (unsigned long long) (sector - part_start)); + if (num > 0) + grub_printf ("+%u", num); + if (offset != 0 || length != 0) + grub_printf ("[%u-%u]", offset, offset + length); + } + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no file specified"); + + grub_file_filter_disable_compression (); + file = grub_file_open (args[0]); + if (! file) + return grub_errno; + + if (! file->device->disk) + return grub_error (GRUB_ERR_BAD_DEVICE, + "this command is available only for disk devices"); + + part_start = grub_partition_get_start (file->device->disk->partition); + + file->read_hook = read_blocklist; + + while (grub_file_read (file, buf, sizeof (buf)) > 0) + ; + + if (num_sectors > 0) + print_blocklist (start_sector, num_sectors, 0, 0); + + grub_file_close (file); + + return grub_errno; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(blocklist) +{ + cmd = grub_register_command ("blocklist", grub_cmd_blocklist, + N_("FILE"), N_("Print a block list.")); +} + +GRUB_MOD_FINI(blocklist) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/boot.c b/grub-core/commands/boot.c new file mode 100644 index 0000000..7714011 --- /dev/null +++ b/grub-core/commands/boot.c @@ -0,0 +1,198 @@ +/* boot.c - command to boot an operating system */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t (*grub_loader_boot_func) (void); +static grub_err_t (*grub_loader_unload_func) (void); +static int grub_loader_noreturn; + +struct grub_preboot_t +{ + grub_err_t (*preboot_func) (int); + grub_err_t (*preboot_rest_func) (void); + grub_loader_preboot_hook_prio_t prio; + struct grub_preboot_t *next; + struct grub_preboot_t *prev; +}; + +static int grub_loader_loaded; +static struct grub_preboot_t *preboots_head = 0, + *preboots_tail = 0; + +int +grub_loader_is_loaded (void) +{ + return grub_loader_loaded; +} + +/* Register a preboot hook. */ +void * +grub_loader_register_preboot_hook (grub_err_t (*preboot_func) (int noreturn), + grub_err_t (*preboot_rest_func) (void), + grub_loader_preboot_hook_prio_t prio) +{ + struct grub_preboot_t *cur, *new_preboot; + + if (! preboot_func && ! preboot_rest_func) + return 0; + + new_preboot = (struct grub_preboot_t *) + grub_malloc (sizeof (struct grub_preboot_t)); + if (! new_preboot) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, "hook not added"); + return 0; + } + + new_preboot->preboot_func = preboot_func; + new_preboot->preboot_rest_func = preboot_rest_func; + new_preboot->prio = prio; + + for (cur = preboots_head; cur && cur->prio > prio; cur = cur->next); + + if (cur) + { + new_preboot->next = cur; + new_preboot->prev = cur->prev; + cur->prev = new_preboot; + } + else + { + new_preboot->next = 0; + new_preboot->prev = preboots_tail; + preboots_tail = new_preboot; + } + if (new_preboot->prev) + new_preboot->prev->next = new_preboot; + else + preboots_head = new_preboot; + + return new_preboot; +} + +void +grub_loader_unregister_preboot_hook (void *hnd) +{ + struct grub_preboot_t *preb = hnd; + + if (preb->next) + preb->next->prev = preb->prev; + else + preboots_tail = preb->prev; + if (preb->prev) + preb->prev->next = preb->next; + else + preboots_head = preb->next; + + grub_free (preb); +} + +void +grub_loader_set (grub_err_t (*boot) (void), + grub_err_t (*unload) (void), + int noreturn) +{ + if (grub_loader_loaded && grub_loader_unload_func) + grub_loader_unload_func (); + + grub_loader_boot_func = boot; + grub_loader_unload_func = unload; + grub_loader_noreturn = noreturn; + + grub_loader_loaded = 1; +} + +void +grub_loader_unset(void) +{ + if (grub_loader_loaded && grub_loader_unload_func) + grub_loader_unload_func (); + + grub_loader_boot_func = 0; + grub_loader_unload_func = 0; + + grub_loader_loaded = 0; +} + +grub_err_t +grub_loader_boot (void) +{ + grub_err_t err = GRUB_ERR_NONE; + struct grub_preboot_t *cur; + + if (! grub_loader_loaded) + return grub_error (GRUB_ERR_NO_KERNEL, "no loaded kernel"); + + if (grub_loader_noreturn) + grub_machine_fini (); + + for (cur = preboots_head; cur; cur = cur->next) + { + err = cur->preboot_func (grub_loader_noreturn); + if (err) + { + for (cur = cur->prev; cur; cur = cur->prev) + cur->preboot_rest_func (); + return err; + } + } + err = (grub_loader_boot_func) (); + + for (cur = preboots_tail; cur; cur = cur->prev) + if (! err) + err = cur->preboot_rest_func (); + else + cur->preboot_rest_func (); + + return err; +} + +/* boot */ +static grub_err_t +grub_cmd_boot (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + return grub_loader_boot (); +} + + + +static grub_command_t cmd_boot; + +GRUB_MOD_INIT(boot) +{ + cmd_boot = + grub_register_command ("boot", grub_cmd_boot, + 0, N_("Boot an operating system.")); +} + +GRUB_MOD_FINI(boot) +{ + grub_unregister_command (cmd_boot); +} diff --git a/grub-core/commands/cat.c b/grub-core/commands/cat.c new file mode 100644 index 0000000..9be6cbc --- /dev/null +++ b/grub-core/commands/cat.c @@ -0,0 +1,104 @@ +/* cat.c - command to show the contents of a file */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"dos", -1, 0, N_("Accept DOS-style CR/NL line endings."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static grub_err_t +grub_cmd_cat (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + int dos = 0; + grub_file_t file; + char buf[GRUB_DISK_SECTOR_SIZE]; + grub_ssize_t size; + int key = 0; + + if (state[0].set) + dos = 1; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name required"); + + file = grub_file_open (args[0]); + if (! file) + return grub_errno; + + while ((size = grub_file_read (file, buf, sizeof (buf))) > 0 + && key != GRUB_TERM_ESC) + { + int i; + + for (i = 0; i < size; i++) + { + unsigned char c = buf[i]; + + if ((grub_isprint (c) || grub_isspace (c)) && c != '\r') + grub_printf ("%c", c); + else if (dos && c == '\r' && i + 1 < size && buf[i + 1] == '\n') + { + grub_printf ("\n"); + i++; + } + else + { + grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT); + grub_printf ("<%x>", (int) c); + grub_setcolorstate (GRUB_TERM_COLOR_STANDARD); + } + } + + while (grub_checkkey () >= 0 && + (key = grub_getkey ()) != GRUB_TERM_ESC) + ; + } + + grub_xputs ("\n"); + grub_refresh (); + grub_file_close (file); + + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(cat) +{ + cmd = grub_register_extcmd ("cat", grub_cmd_cat, 0, + N_("FILE"), N_("Show the contents of a file."), + options); +} + +GRUB_MOD_FINI(cat) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/cmp.c b/grub-core/commands/cmp.c new file mode 100644 index 0000000..0222927 --- /dev/null +++ b/grub-core/commands/cmp.c @@ -0,0 +1,120 @@ +/* cmd.c - command to cmp an operating system */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define BUFFER_SIZE 512 + +static grub_err_t +grub_cmd_cmp (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_ssize_t rd1, rd2; + grub_off_t pos; + grub_file_t file1 = 0; + grub_file_t file2 = 0; + char *buf1 = 0; + char *buf2 = 0; + + if (argc != 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "two arguments required"); + + grub_printf ("Compare file `%s' with `%s':\n", args[0], + args[1]); + + file1 = grub_file_open (args[0]); + file2 = grub_file_open (args[1]); + if (! file1 || ! file2) + goto cleanup; + + if (grub_file_size (file1) != grub_file_size (file2)) + grub_printf ("Files differ in size: %llu [%s], %llu [%s]\n", + (unsigned long long) grub_file_size (file1), args[0], + (unsigned long long) grub_file_size (file2), args[1]); + else + { + pos = 0; + + buf1 = grub_malloc (BUFFER_SIZE); + buf2 = grub_malloc (BUFFER_SIZE); + + if (! buf1 || ! buf2) + goto cleanup; + + do + { + int i; + + rd1 = grub_file_read (file1, buf1, BUFFER_SIZE); + rd2 = grub_file_read (file2, buf2, BUFFER_SIZE); + + if (rd1 != rd2) + goto cleanup; + + for (i = 0; i < rd2; i++) + { + if (buf1[i] != buf2[i]) + { + grub_printf ("Files differ at the offset %llu: 0x%x [%s], 0x%x [%s]\n", + (unsigned long long) (i + pos), buf1[i], args[0], + buf2[i], args[1]); + goto cleanup; + } + } + pos += BUFFER_SIZE; + + } + while (rd2); + + grub_printf ("The files are identical.\n"); + } + +cleanup: + + if (buf1) + grub_free (buf1); + if (buf2) + grub_free (buf2); + if (file1) + grub_file_close (file1); + if (file2) + grub_file_close (file2); + + return grub_errno; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(cmp) +{ + cmd = grub_register_command ("cmp", grub_cmd_cmp, + N_("FILE1 FILE2"), N_("Compare two files.")); +} + +GRUB_MOD_FINI(cmp) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/configfile.c b/grub-core/commands/configfile.c new file mode 100644 index 0000000..124a09a --- /dev/null +++ b/grub-core/commands/configfile.c @@ -0,0 +1,98 @@ +/* configfile.c - command to manually load config file */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_source (grub_command_t cmd, int argc, char **args) +{ + int new_env, extractor; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name required"); + + extractor = (cmd->name[0] == 'e'); + new_env = (cmd->name[extractor ? sizeof ("extract_entries_") - 1 : 0] == 'c'); + + if (new_env) + grub_cls (); + + if (new_env && !extractor) + grub_env_context_open (); + if (extractor) + grub_env_extractor_open (!new_env); + + grub_normal_execute (args[0], 1, ! new_env); + + if (new_env && !extractor) + grub_env_context_close (); + if (extractor) + grub_env_extractor_close (!new_env); + + return 0; +} + +static grub_command_t cmd_configfile, cmd_source, cmd_dot; +static grub_command_t cmd_extractor_source, cmd_extractor_configfile; + +GRUB_MOD_INIT(configfile) +{ + cmd_configfile = + grub_register_command ("configfile", grub_cmd_source, + N_("FILE"), N_("Load another config file.")); + cmd_source = + grub_register_command ("source", grub_cmd_source, + N_("FILE"), + N_("Load another config file without changing context.") + ); + + cmd_extractor_source = + grub_register_command ("extract_entries_source", grub_cmd_source, + N_("FILE"), + N_("Load another config file without changing context but take only menuentries.") + ); + + cmd_extractor_configfile = + grub_register_command ("extract_entries_configfile", grub_cmd_source, + N_("FILE"), + N_("Load another config file without changing context but take only menuentries.") + ); + + cmd_dot = + grub_register_command (".", grub_cmd_source, + N_("FILE"), + N_("Load another config file without changing context.") + ); +} + +GRUB_MOD_FINI(configfile) +{ + grub_unregister_command (cmd_configfile); + grub_unregister_command (cmd_source); + grub_unregister_command (cmd_extractor_configfile); + grub_unregister_command (cmd_extractor_source); + grub_unregister_command (cmd_dot); +} diff --git a/grub-core/commands/date.c b/grub-core/commands/date.c new file mode 100644 index 0000000..d271620 --- /dev/null +++ b/grub-core/commands/date.c @@ -0,0 +1,148 @@ +/* date.c - command to display/set current datetime. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_DATETIME_SET_YEAR 1 +#define GRUB_DATETIME_SET_MONTH 2 +#define GRUB_DATETIME_SET_DAY 4 +#define GRUB_DATETIME_SET_HOUR 8 +#define GRUB_DATETIME_SET_MINUTE 16 +#define GRUB_DATETIME_SET_SECOND 32 + +static grub_err_t +grub_cmd_date (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + struct grub_datetime datetime; + int limit[6][2] = {{1980, 2079}, {1, 12}, {1, 31}, {0, 23}, {0, 59}, {0, 59}}; + int value[6], mask; + + if (argc == 0) + { + if (grub_get_datetime (&datetime)) + return grub_errno; + + grub_printf ("%d-%02d-%02d %02d:%02d:%02d %s\n", + datetime.year, datetime.month, datetime.day, + datetime.hour, datetime.minute, datetime.second, + grub_get_weekday_name (&datetime)); + + return 0; + } + + grub_memset (&value, 0, sizeof (value)); + mask = 0; + + for (; argc; argc--, args++) + { + char *p, c; + int m1, ofs, n, cur_mask; + + p = args[0]; + m1 = grub_strtoul (p, &p, 10); + + c = *p; + if (c == '-') + ofs = 0; + else if (c == ':') + ofs = 3; + else + goto fail; + + value[ofs] = m1; + cur_mask = (1 << ofs); + mask &= ~(cur_mask * (1 + 2 + 4)); + + for (n = 1; (n < 3) && (*p); n++) + { + if (*p != c) + goto fail; + + value[ofs + n] = grub_strtoul (p + 1, &p, 10); + cur_mask |= (1 << (ofs + n)); + } + + if (*p) + goto fail; + + if ((ofs == 0) && (n == 2)) + { + value[ofs + 2] = value[ofs + 1]; + value[ofs + 1] = value[ofs]; + ofs++; + cur_mask <<= 1; + } + + for (; n; n--, ofs++) + if ((value [ofs] < limit[ofs][0]) || + (value [ofs] > limit[ofs][1])) + goto fail; + + mask |= cur_mask; + } + + if (grub_get_datetime (&datetime)) + return grub_errno; + + if (mask & GRUB_DATETIME_SET_YEAR) + datetime.year = value[0]; + + if (mask & GRUB_DATETIME_SET_MONTH) + datetime.month = value[1]; + + if (mask & GRUB_DATETIME_SET_DAY) + datetime.day = value[2]; + + if (mask & GRUB_DATETIME_SET_HOUR) + datetime.hour = value[3]; + + if (mask & GRUB_DATETIME_SET_MINUTE) + datetime.minute = value[4]; + + if (mask & GRUB_DATETIME_SET_SECOND) + datetime.second = value[5]; + + return grub_set_datetime (&datetime); + +fail: + return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid datetime"); +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(date) +{ + cmd = + grub_register_command ("date", grub_cmd_date, + N_("[[year-]month-day] [hour:minute[:second]]"), + N_("Command to display/set current datetime.")); +} + +GRUB_MOD_FINI(date) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/echo.c b/grub-core/commands/echo.c new file mode 100644 index 0000000..81ba50d --- /dev/null +++ b/grub-core/commands/echo.c @@ -0,0 +1,141 @@ +/* echo.c - Command to display a line of text */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {0, 'n', 0, N_("Do not output the trailing newline."), 0, 0}, + {0, 'e', 0, N_("Enable interpretation of backslash escapes."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static grub_err_t +grub_cmd_echo (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + int newline = 1; + int i; + + /* Check if `-n' was used. */ + if (state[0].set) + newline = 0; + + for (i = 0; i < argc; i++) + { + char *arg = *args; + /* Unescaping results in a string no longer than the original. */ + char *unescaped = grub_malloc (grub_strlen (arg) + 1); + char *p = unescaped; + args++; + + if (!unescaped) + return grub_errno; + + while (*arg) + { + /* In case `-e' is used, parse backslashes. */ + if (*arg == '\\' && state[1].set) + { + arg++; + if (*arg == '\0') + break; + + switch (*arg) + { + case '\\': + *p++ = '\\'; + break; + + case 'a': + *p++ = '\a'; + break; + + case 'c': + newline = 0; + break; + + case 'f': + *p++ = '\f'; + break; + + case 'n': + *p++ = '\n'; + break; + + case 'r': + *p++ = '\r'; + break; + + case 't': + *p++ = '\t'; + break; + + case 'v': + *p++ = '\v'; + break; + } + arg++; + continue; + } + + /* This was not an escaped character, or escaping is not + enabled. */ + *p++ = *arg; + arg++; + } + + *p = '\0'; + grub_xputs (unescaped); + grub_free (unescaped); + + /* If another argument follows, insert a space. */ + if (i != argc - 1) + grub_printf (" " ); + } + + if (newline) + grub_printf ("\n"); + + grub_refresh (); + + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(echo) +{ + cmd = grub_register_extcmd ("echo", grub_cmd_echo, + GRUB_COMMAND_ACCEPT_DASH + | GRUB_COMMAND_OPTIONS_AT_START, + N_("[-e|-n] STRING"), N_("Display a line of text."), + options); +} + +GRUB_MOD_FINI(echo) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/efi/acpi.c b/grub-core/commands/efi/acpi.c new file mode 100644 index 0000000..93a560d --- /dev/null +++ b/grub-core/commands/efi/acpi.c @@ -0,0 +1,59 @@ +/* acpi.c - get acpi tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +struct grub_acpi_rsdp_v10 * +grub_machine_acpi_get_rsdpv1 (void) +{ + unsigned i; + static grub_efi_guid_t acpi_guid = GRUB_EFI_ACPI_TABLE_GUID; + + for (i = 0; i < grub_efi_system_table->num_table_entries; i++) + { + grub_efi_guid_t *guid = + &grub_efi_system_table->configuration_table[i].vendor_guid; + + if (! grub_memcmp (guid, &acpi_guid, sizeof (grub_efi_guid_t))) + return (struct grub_acpi_rsdp_v10 *) + grub_efi_system_table->configuration_table[i].vendor_table; + } + return 0; +} + +struct grub_acpi_rsdp_v20 * +grub_machine_acpi_get_rsdpv2 (void) +{ + unsigned i; + static grub_efi_guid_t acpi20_guid = GRUB_EFI_ACPI_20_TABLE_GUID; + + for (i = 0; i < grub_efi_system_table->num_table_entries; i++) + { + grub_efi_guid_t *guid = + &grub_efi_system_table->configuration_table[i].vendor_guid; + + if (! grub_memcmp (guid, &acpi20_guid, sizeof (grub_efi_guid_t))) + return (struct grub_acpi_rsdp_v20 *) + grub_efi_system_table->configuration_table[i].vendor_table; + } + return 0; +} diff --git a/grub-core/commands/efi/fixvideo.c b/grub-core/commands/efi/fixvideo.c new file mode 100644 index 0000000..c53e47d --- /dev/null +++ b/grub-core/commands/efi/fixvideo.c @@ -0,0 +1,112 @@ +/* fixvideo.c - fix video problem in efi */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static struct grub_video_patch +{ + const char *name; + grub_uint32_t pci_id; + grub_uint32_t mmio_bar; + grub_uint32_t mmio_reg; + grub_uint32_t mmio_old; +} video_patches[] = + { + {"Intel 945GM", 0x27a28086, 0, 0x71184, 0x1000000}, /* DSPBBASE */ + {"Intel 965GM", 0x2a028086, 0, 0x7119C, 0x1000000}, /* DSPBSURF */ + {0, 0, 0, 0, 0} + }; + +static int NESTED_FUNC_ATTR +scan_card (grub_pci_device_t dev, grub_pci_id_t pciid) +{ + grub_pci_address_t addr; + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); + if (grub_pci_read_byte (addr + 3) == 0x3) + { + struct grub_video_patch *p = video_patches; + + while (p->name) + { + if (p->pci_id == pciid) + { + grub_target_addr_t base; + + grub_printf ("Found graphic card: %s\n", p->name); + addr += 8 + p->mmio_bar * 4; + base = grub_pci_read (addr); + if ((! base) || (base & GRUB_PCI_ADDR_SPACE_IO) || + (base & GRUB_PCI_ADDR_MEM_PREFETCH)) + grub_printf ("Invalid MMIO bar %d\n", p->mmio_bar); + else + { + base &= GRUB_PCI_ADDR_MEM_MASK; + base += p->mmio_reg; + + if (*((volatile grub_uint32_t *) base) != p->mmio_old) + grub_printf ("Old value don't match\n"); + else + { + *((volatile grub_uint32_t *) base) = 0; + if (*((volatile grub_uint32_t *) base)) + grub_printf ("Set MMIO fails\n"); + } + } + + return 1; + } + p++; + } + + grub_printf ("Unknown graphic card: %x\n", pciid); + } + + return 0; +} + +static grub_err_t +grub_cmd_fixvideo (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + grub_pci_iterate (scan_card); + return 0; +} + +static grub_command_t cmd_fixvideo; + +GRUB_MOD_INIT(fixvideo) +{ + cmd_fixvideo = grub_register_command ("fix_video", grub_cmd_fixvideo, + 0, N_("Fix video problem.")); + +} + +GRUB_MOD_FINI(fixvideo) +{ + grub_unregister_command (cmd_fixvideo); +} diff --git a/grub-core/commands/efi/loadbios.c b/grub-core/commands/efi/loadbios.c new file mode 100644 index 0000000..1383112 --- /dev/null +++ b/grub-core/commands/efi/loadbios.c @@ -0,0 +1,220 @@ +/* loadbios.c - command to load a bios dump */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_efi_guid_t acpi_guid = GRUB_EFI_ACPI_TABLE_GUID; +static grub_efi_guid_t acpi2_guid = GRUB_EFI_ACPI_20_TABLE_GUID; +static grub_efi_guid_t smbios_guid = GRUB_EFI_SMBIOS_TABLE_GUID; + +#define EBDA_SEG_ADDR 0x40e +#define LOW_MEM_ADDR 0x413 +#define FAKE_EBDA_SEG 0x9fc0 + +#define BLANK_MEM 0xffffffff +#define VBIOS_ADDR 0xc0000 +#define SBIOS_ADDR 0xf0000 + +static int +enable_rom_area (void) +{ + grub_pci_address_t addr; + grub_uint32_t *rom_ptr; + grub_pci_device_t dev = { .bus = 0, .device = 0, .function = 0}; + + rom_ptr = (grub_uint32_t *) VBIOS_ADDR; + if (*rom_ptr != BLANK_MEM) + { + grub_printf ("ROM image is present.\n"); + return 0; + } + + /* FIXME: should be macroified. */ + addr = grub_pci_make_address (dev, 144); + grub_pci_write_byte (addr++, 0x30); + grub_pci_write_byte (addr++, 0x33); + grub_pci_write_byte (addr++, 0x33); + grub_pci_write_byte (addr++, 0x33); + grub_pci_write_byte (addr++, 0x33); + grub_pci_write_byte (addr++, 0x33); + grub_pci_write_byte (addr++, 0x33); + grub_pci_write_byte (addr, 0); + + *rom_ptr = 0; + if (*rom_ptr != 0) + { + grub_printf ("Can\'t enable ROM area.\n"); + return 0; + } + + return 1; +} + +static void +lock_rom_area (void) +{ + grub_pci_address_t addr; + grub_pci_device_t dev = { .bus = 0, .device = 0, .function = 0}; + + /* FIXME: should be macroified. */ + addr = grub_pci_make_address (dev, 144); + grub_pci_write_byte (addr++, 0x10); + grub_pci_write_byte (addr++, 0x11); + grub_pci_write_byte (addr++, 0x11); + grub_pci_write_byte (addr++, 0x11); + grub_pci_write_byte (addr, 0x11); +} + +static void +fake_bios_data (int use_rom) +{ + unsigned i; + void *acpi, *smbios; + grub_uint16_t *ebda_seg_ptr, *low_mem_ptr; + + ebda_seg_ptr = (grub_uint16_t *) EBDA_SEG_ADDR; + low_mem_ptr = (grub_uint16_t *) LOW_MEM_ADDR; + if ((*ebda_seg_ptr) || (*low_mem_ptr)) + return; + + acpi = 0; + smbios = 0; + for (i = 0; i < grub_efi_system_table->num_table_entries; i++) + { + grub_efi_guid_t *guid = + &grub_efi_system_table->configuration_table[i].vendor_guid; + + if (! grub_memcmp (guid, &acpi2_guid, sizeof (grub_efi_guid_t))) + { + acpi = grub_efi_system_table->configuration_table[i].vendor_table; + grub_dprintf ("efi", "ACPI2: %p\n", acpi); + } + else if (! grub_memcmp (guid, &acpi_guid, sizeof (grub_efi_guid_t))) + { + void *t; + + t = grub_efi_system_table->configuration_table[i].vendor_table; + if (! acpi) + acpi = t; + grub_dprintf ("efi", "ACPI: %p\n", t); + } + else if (! grub_memcmp (guid, &smbios_guid, sizeof (grub_efi_guid_t))) + { + smbios = grub_efi_system_table->configuration_table[i].vendor_table; + grub_dprintf ("efi", "SMBIOS: %p\n", smbios); + } + } + + *ebda_seg_ptr = FAKE_EBDA_SEG; + *low_mem_ptr = (FAKE_EBDA_SEG >> 6); + + *((grub_uint16_t *) (FAKE_EBDA_SEG << 4)) = 640 - *low_mem_ptr; + + if (acpi) + grub_memcpy ((char *) ((FAKE_EBDA_SEG << 4) + 16), acpi, 1024 - 16); + + if ((use_rom) && (smbios)) + grub_memcpy ((char *) SBIOS_ADDR, (char *) smbios + 16, 16); +} + +static grub_err_t +grub_cmd_fakebios (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + if (enable_rom_area ()) + { + fake_bios_data (1); + lock_rom_area (); + } + else + fake_bios_data (0); + + return 0; +} + +static grub_err_t +grub_cmd_loadbios (grub_command_t cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + grub_file_t file; + int size; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no ROM image specified"); + + if (argc > 1) + { + file = grub_file_open (argv[1]); + if (! file) + return grub_errno; + + if (file->size != 4) + grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid int10 dump size"); + else + grub_file_read (file, (void *) 0x40, 4); + + grub_file_close (file); + if (grub_errno) + return grub_errno; + } + + file = grub_file_open (argv[0]); + if (! file) + return grub_errno; + + size = file->size; + if ((size < 0x10000) || (size > 0x40000)) + grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid bios dump size"); + else if (enable_rom_area ()) + { + grub_file_read (file, (void *) VBIOS_ADDR, size); + fake_bios_data (size <= 0x40000); + lock_rom_area (); + } + + grub_file_close (file); + return grub_errno; +} + +static grub_command_t cmd_fakebios, cmd_loadbios; + +GRUB_MOD_INIT(loadbios) +{ + cmd_fakebios = grub_register_command ("fakebios", grub_cmd_fakebios, + 0, N_("Fake BIOS.")); + + cmd_loadbios = grub_register_command ("loadbios", grub_cmd_loadbios, + "BIOS_DUMP [INT10_DUMP]", + N_("Load BIOS dump.")); +} + +GRUB_MOD_FINI(loadbios) +{ + grub_unregister_command (cmd_fakebios); + grub_unregister_command (cmd_loadbios); +} diff --git a/grub-core/commands/efi/lsefimmap.c b/grub-core/commands/efi/lsefimmap.c new file mode 100644 index 0000000..215b45b --- /dev/null +++ b/grub-core/commands/efi/lsefimmap.c @@ -0,0 +1,145 @@ +/* lsefimemmap.c - Display memory map. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define ADD_MEMORY_DESCRIPTOR(desc, size) \ + ((grub_efi_memory_descriptor_t *) ((char *) (desc) + (size))) + +static grub_err_t +grub_cmd_lsefimmap (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_efi_uintn_t map_size; + grub_efi_memory_descriptor_t *memory_map; + grub_efi_memory_descriptor_t *memory_map_end; + grub_efi_memory_descriptor_t *desc; + grub_efi_uintn_t desc_size; + + map_size = 0; + if (grub_efi_get_memory_map (&map_size, NULL, NULL, &desc_size, 0) < 0) + return 0; + + memory_map = grub_malloc (map_size); + if (memory_map == NULL) + return grub_errno; + if (grub_efi_get_memory_map (&map_size, memory_map, NULL, &desc_size, 0) <= 0) + goto fail; + + grub_printf + ("Type Physical start - end #Pages " + " Size Attributes\n"); + memory_map_end = ADD_MEMORY_DESCRIPTOR (memory_map, map_size); + for (desc = memory_map; + desc < memory_map_end; + desc = ADD_MEMORY_DESCRIPTOR (desc, desc_size)) + { + grub_efi_uint64_t size; + grub_efi_uint64_t attr; + static const char types_str[][9] = + { + "reserved", + "ldr-code", + "ldr-data", + "BS-code ", + "BS-data ", + "RT-code ", + "RT-data ", + "conv-mem", + "unusable", + "ACPI-rec", + "ACPI-nvs", + "MMIO ", + "IO-ports", + "PAL-code" + }; + if (desc->type < ARRAY_SIZE (types_str)) + grub_printf ("%s ", types_str[desc->type]); + else + grub_printf ("Unk %02x ", desc->type); + + grub_printf (" %016" PRIxGRUB_UINT64_T "-%016" PRIxGRUB_UINT64_T + " %08" PRIxGRUB_UINT64_T, + desc->physical_start, + desc->physical_start + (desc->num_pages << 12) - 1, + desc->num_pages); + + size = desc->num_pages; + size <<= (12 - 10); + if (size < 1024) + grub_printf (" %4" PRIuGRUB_UINT64_T "KB", size); + else + { + size /= 1024; + if (size < 1024) + grub_printf (" %4" PRIuGRUB_UINT64_T "MB", size); + else + { + size /= 1024; + grub_printf (" %4" PRIuGRUB_UINT64_T "GB", size); + } + } + + attr = desc->attribute; + if (attr & GRUB_EFI_MEMORY_RUNTIME) + grub_printf (" RT"); + if (attr & GRUB_EFI_MEMORY_UC) + grub_printf (" UC"); + if (attr & GRUB_EFI_MEMORY_WC) + grub_printf (" WC"); + if (attr & GRUB_EFI_MEMORY_WT) + grub_printf (" WT"); + if (attr & GRUB_EFI_MEMORY_WB) + grub_printf (" WB"); + if (attr & GRUB_EFI_MEMORY_UCE) + grub_printf (" UCE"); + if (attr & GRUB_EFI_MEMORY_WP) + grub_printf (" WP"); + if (attr & GRUB_EFI_MEMORY_RP) + grub_printf (" RP"); + if (attr & GRUB_EFI_MEMORY_XP) + grub_printf (" XP"); + + grub_printf ("\n"); + } + + fail: + grub_free (memory_map); + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(lsefimmap) +{ + cmd = grub_register_command ("lsefimmap", grub_cmd_lsefimmap, + "", "Display EFI memory map."); +} + +GRUB_MOD_FINI(lsefimmap) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/efi/lsefisystab.c b/grub-core/commands/efi/lsefisystab.c new file mode 100644 index 0000000..b235925 --- /dev/null +++ b/grub-core/commands/efi/lsefisystab.c @@ -0,0 +1,110 @@ +/* lsefisystab.c - Display EFI systab. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct guid_mapping +{ + grub_efi_guid_t guid; + const char *name; +}; + +static const struct guid_mapping guid_mappings[] = + { + { GRUB_EFI_ACPI_20_TABLE_GUID, "ACPI-2.0"}, + { GRUB_EFI_ACPI_TABLE_GUID, "ACPI-1.0"}, + { GRUB_EFI_SAL_TABLE_GUID, "SAL"}, + { GRUB_EFI_SMBIOS_TABLE_GUID, "SMBIOS"}, + { GRUB_EFI_MPS_TABLE_GUID, "MPS"}, + { GRUB_EFI_HCDP_TABLE_GUID, "HCDP"} + }; + +static grub_err_t +grub_cmd_lsefisystab (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + const grub_efi_system_table_t *st = grub_efi_system_table; + grub_efi_configuration_table_t *t; + unsigned int i; + + grub_printf ("Signature: %016" PRIxGRUB_UINT64_T " revision: %08x\n", + st->hdr.signature, st->hdr.revision); + { + char *vendor; + grub_uint16_t *vendor_utf16; + grub_printf ("Vendor: "); + + for (vendor_utf16 = st->firmware_vendor; *vendor_utf16; vendor_utf16++); + vendor = grub_malloc (4 * (vendor_utf16 - st->firmware_vendor) + 1); + if (!vendor) + return grub_errno; + *grub_utf16_to_utf8 ((grub_uint8_t *) vendor, st->firmware_vendor, + vendor_utf16 - st->firmware_vendor) = 0; + grub_printf ("%s", vendor); + grub_free (vendor); + } + + grub_printf (", Version=%x\n", st->firmware_revision); + + grub_printf ("%ld tables:\n", st->num_table_entries); + t = st->configuration_table; + for (i = 0; i < st->num_table_entries; i++) + { + unsigned int j; + + grub_printf ("%p ", t->vendor_table); + + grub_printf ("%08x-%04x-%04x-", + t->vendor_guid.data1, t->vendor_guid.data2, + t->vendor_guid.data3); + for (j = 0; j < 8; j++) + grub_printf ("%02x", t->vendor_guid.data4[j]); + + for (j = 0; j < ARRAY_SIZE (guid_mappings); j++) + if (grub_memcmp (&guid_mappings[j].guid, &t->vendor_guid, + sizeof (grub_efi_guid_t)) == 0) + grub_printf (" %s", guid_mappings[j].name); + + grub_printf ("\n"); + t++; + } + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(lsefisystab) +{ + cmd = grub_register_command ("lsefisystab", grub_cmd_lsefisystab, + "", "Display EFI system tables."); +} + +GRUB_MOD_FINI(lsefisystab) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/efi/lssal.c b/grub-core/commands/efi/lssal.c new file mode 100644 index 0000000..fa8005b --- /dev/null +++ b/grub-core/commands/efi/lssal.c @@ -0,0 +1,165 @@ +/* lssal.c - Display EFI SAL systab. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static void +disp_sal (void *table) +{ + struct grub_efi_sal_system_table *t = table; + void *desc; + grub_uint32_t len, l; + + grub_printf ("SAL rev: %02x, signature: %x, len:%x\n", + t->sal_rev, t->signature, t->total_table_len); + grub_printf ("nbr entry: %d, chksum: %02x, SAL version A: %02x B: %02x\n", + t->entry_count, t->checksum, + t->sal_a_version, t->sal_b_version); + grub_printf ("OEM-ID: %-32s\n", t->oem_id); + grub_printf ("Product-ID: %-32s\n", t->product_id); + + desc = t->entries; + len = t->total_table_len - sizeof (struct grub_efi_sal_system_table); + while (len > 0) + { + switch (*(grub_uint8_t *) desc) + { + case GRUB_EFI_SAL_SYSTEM_TABLE_TYPE_ENTRYPOINT_DESCRIPTOR: + { + struct grub_efi_sal_system_table_entrypoint_descriptor *c = desc; + l = sizeof (*c); + grub_printf (" Entry point: PAL=%016" PRIxGRUB_UINT64_T + " SAL=%016" PRIxGRUB_UINT64_T " GP=%016" + PRIxGRUB_UINT64_T "\n", + c->pal_proc_addr, c->sal_proc_addr, + c->global_data_ptr); + } + break; + case GRUB_EFI_SAL_SYSTEM_TABLE_TYPE_MEMORY_DESCRIPTOR: + { + struct grub_efi_sal_system_table_memory_descriptor *c = desc; + l = sizeof (*c); + grub_printf (" Memory descriptor entry addr=%016" PRIxGRUB_UINT64_T + " len=%" PRIuGRUB_UINT64_T "KB\n", + c->addr, c->len * 4); + grub_printf (" sal_used=%d attr=%x AR=%x attr_mask=%x " + "type=%x usage=%x\n", + c->sal_used, c->attr, c->ar, c->attr_mask, c->mem_type, + c->usage); + } + break; + case GRUB_EFI_SAL_SYSTEM_TABLE_TYPE_PLATFORM_FEATURES: + { + struct grub_efi_sal_system_table_platform_features *c = desc; + l = sizeof (*c); + grub_printf (" Platform features: %02x", c->flags); + if (c->flags & GRUB_EFI_SAL_SYSTEM_TABLE_PLATFORM_FEATURE_BUSLOCK) + grub_printf (" BusLock"); + if (c->flags & GRUB_EFI_SAL_SYSTEM_TABLE_PLATFORM_FEATURE_IRQREDIRECT) + grub_printf (" IrqRedirect"); + if (c->flags & GRUB_EFI_SAL_SYSTEM_TABLE_PLATFORM_FEATURE_IPIREDIRECT) + + grub_printf (" IPIRedirect"); + if (c->flags & GRUB_EFI_SAL_SYSTEM_TABLE_PLATFORM_FEATURE_ITCDRIFT) + + grub_printf (" ITCDrift"); + grub_printf ("\n"); + } + break; + case GRUB_EFI_SAL_SYSTEM_TABLE_TYPE_TRANSLATION_REGISTER_DESCRIPTOR: + { + struct grub_efi_sal_system_table_translation_register_descriptor *c + = desc; + l = sizeof (*c); + grub_printf (" TR type=%d num=%d va=%016" PRIxGRUB_UINT64_T + " pte=%016" PRIxGRUB_UINT64_T "\n", + c->register_type, c->register_number, + c->addr, c->page_size); + } + break; + case GRUB_EFI_SAL_SYSTEM_TABLE_TYPE_PURGE_TRANSLATION_COHERENCE: + { + struct grub_efi_sal_system_table_purge_translation_coherence *c + = desc; + l = sizeof (*c); + grub_printf (" PTC coherence nbr=%d addr=%016" PRIxGRUB_UINT64_T "\n", + c->ndomains, c->coherence); + } + break; + case GRUB_EFI_SAL_SYSTEM_TABLE_TYPE_AP_WAKEUP: + { + struct grub_efi_sal_system_table_ap_wakeup *c = desc; + l = sizeof (*c); + grub_printf (" AP wake-up: mec=%d vect=%" PRIxGRUB_UINT64_T "\n", + c->mechanism, c->vector); + } + break; + default: + grub_printf (" unknown entry 0x%x\n", *(grub_uint8_t *)desc); + return; + } + desc = (grub_uint8_t *)desc + l; + len -= l; + } +} + +static grub_err_t +grub_cmd_lssal (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + const grub_efi_system_table_t *st = grub_efi_system_table; + grub_efi_configuration_table_t *t = st->configuration_table; + unsigned int i; + grub_efi_guid_t guid = GRUB_EFI_SAL_TABLE_GUID; + + for (i = 0; i < st->num_table_entries; i++) + { + if (grub_memcmp (&guid, &t->vendor_guid, + sizeof (grub_efi_guid_t)) == 0) + { + disp_sal (t->vendor_table); + return GRUB_ERR_NONE; + } + t++; + } + grub_printf ("SAL not found\n"); + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(lssal) +{ + cmd = grub_register_command ("lssal", grub_cmd_lssal, "", + "Display SAL system table."); +} + +GRUB_MOD_FINI(lssal) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/extcmd.c b/grub-core/commands/extcmd.c new file mode 100644 index 0000000..69574e2 --- /dev/null +++ b/grub-core/commands/extcmd.c @@ -0,0 +1,118 @@ +/* extcmd.c - support extended command */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +grub_err_t +grub_extcmd_dispatcher (struct grub_command *cmd, int argc, char **args, + struct grub_script *script) +{ + int new_argc; + char **new_args; + struct grub_arg_list *state; + struct grub_extcmd_context context; + grub_err_t ret; + grub_extcmd_t ext = cmd->data; + + context.state = 0; + context.extcmd = ext; + context.script = script; + + if (! ext->options) + { + ret = (ext->func) (&context, argc, args); + return ret; + } + + state = grub_arg_list_alloc (ext, argc, args); + if (grub_arg_parse (ext, argc, args, state, &new_args, &new_argc)) + { + context.state = state; + ret = (ext->func) (&context, new_argc, new_args); + grub_free (new_args); + grub_free (state); + return ret; + } + + grub_free (state); + return grub_errno; +} + +static grub_err_t +grub_extcmd_dispatch (struct grub_command *cmd, int argc, char **args) +{ + return grub_extcmd_dispatcher (cmd, argc, args, 0); +} + +grub_extcmd_t +grub_register_extcmd_prio (const char *name, grub_extcmd_func_t func, + grub_command_flags_t flags, const char *summary, + const char *description, + const struct grub_arg_option *parser, + int prio) +{ + grub_extcmd_t ext; + grub_command_t cmd; + + ext = (grub_extcmd_t) grub_malloc (sizeof (*ext)); + if (! ext) + return 0; + + cmd = grub_register_command_prio (name, grub_extcmd_dispatch, + summary, description, prio); + if (! cmd) + { + grub_free (ext); + return 0; + } + + cmd->flags = (flags | GRUB_COMMAND_FLAG_EXTCMD); + cmd->data = ext; + + ext->cmd = cmd; + ext->func = func; + ext->options = parser; + ext->data = 0; + + return ext; +} + +grub_extcmd_t +grub_register_extcmd (const char *name, grub_extcmd_func_t func, + grub_command_flags_t flags, const char *summary, + const char *description, + const struct grub_arg_option *parser) +{ + return grub_register_extcmd_prio (name, func, flags, + summary, description, parser, 1); +} + +void +grub_unregister_extcmd (grub_extcmd_t ext) +{ + grub_unregister_command (ext->cmd); + grub_free (ext); +} diff --git a/grub-core/commands/gptsync.c b/grub-core/commands/gptsync.c new file mode 100644 index 0000000..e92dc20 --- /dev/null +++ b/grub-core/commands/gptsync.c @@ -0,0 +1,258 @@ +/* gptsync.c - fill the mbr based on gpt entries */ +/* XXX: I don't know what to do if sector size isn't 512 bytes */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Convert a LBA address to a CHS address in the INT 13 format. */ +/* Taken from grub1. */ +/* XXX: use hardcoded geometry of C = 1024, H = 255, S = 63. + Is it a problem? +*/ +static void +lba_to_chs (int lba, grub_uint8_t *cl, grub_uint8_t *ch, + grub_uint8_t *dh) +{ + int cylinder, head, sector; + int sectors = 63, heads = 255, cylinders = 1024; + + sector = lba % sectors + 1; + head = (lba / sectors) % heads; + cylinder = lba / (sectors * heads); + + if (cylinder >= cylinders) + { + *cl = *ch = *dh = 0xff; + return; + } + + *cl = sector | ((cylinder & 0x300) >> 2); + *ch = cylinder & 0xFF; + *dh = head; +} + +static grub_err_t +grub_cmd_gptsync (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_device_t dev; + struct grub_msdos_partition_mbr mbr; + struct grub_partition *partition; + grub_disk_addr_t first_sector; + int numactive = 0; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "device name required"); + if (argc > 4) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "only 3 partitions can be " + "in hybrid MBR"); + + if (args[0][0] == '(' && args[0][grub_strlen (args[0]) - 1] == ')') + { + args[0][grub_strlen (args[0]) - 1] = 0; + dev = grub_device_open (args[0] + 1); + args[0][grub_strlen (args[0])] = ')'; + } + else + dev = grub_device_open (args[0]); + + if (! dev) + return grub_errno; + + if (! dev->disk) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "not a disk"); + } + + /* Read the protective MBR. */ + if (grub_disk_read (dev->disk, 0, 0, sizeof (mbr), &mbr)) + { + grub_device_close (dev); + return grub_errno; + } + + /* Check if it is valid. */ + if (mbr.signature != grub_cpu_to_le16 (GRUB_PC_PARTITION_SIGNATURE)) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_BAD_PART_TABLE, "no signature"); + } + + /* Make sure the MBR is a protective MBR and not a normal MBR. */ + if (mbr.entries[0].type != GRUB_PC_PARTITION_TYPE_GPT_DISK) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_BAD_PART_TABLE, "no GPT partition map found"); + } + + int i; + first_sector = dev->disk->total_sectors; + for (i = 1; i < argc; i++) + { + char *separator, csep = 0; + grub_uint8_t type; + separator = grub_strchr (args[i], '+'); + if (! separator) + separator = grub_strchr (args[i], '-'); + if (separator) + { + csep = *separator; + *separator = 0; + } + partition = grub_partition_probe (dev->disk, args[i]); + if (separator) + *separator = csep; + if (! partition) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such partition"); + } + + if (partition->start + partition->len > 0xffffffff) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_OUT_OF_RANGE, + "only partitions residing in the first 2TB " + "can be present in hybrid MBR"); + } + + + if (first_sector > partition->start) + first_sector = partition->start; + + if (separator && *(separator + 1)) + type = grub_strtoul (separator + 1, 0, 0); + else + { + grub_fs_t fs = 0; + dev->disk->partition = partition; + fs = grub_fs_probe (dev); + + /* Unknown filesystem isn't fatal. */ + if (grub_errno == GRUB_ERR_UNKNOWN_FS) + { + fs = 0; + grub_errno = GRUB_ERR_NONE; + } + + if (fs && grub_strcmp (fs->name, "ntfs") == 0) + type = GRUB_PC_PARTITION_TYPE_NTFS; + else if (fs && grub_strcmp (fs->name, "fat") == 0) + /* FIXME: detect FAT16. */ + type = GRUB_PC_PARTITION_TYPE_FAT32_LBA; + else if (fs && (grub_strcmp (fs->name, "hfsplus") == 0 + || grub_strcmp (fs->name, "hfs") == 0)) + type = GRUB_PC_PARTITION_TYPE_HFS; + else + /* FIXME: detect more types. */ + type = GRUB_PC_PARTITION_TYPE_EXT2FS; + + dev->disk->partition = 0; + } + + mbr.entries[i].flag = (csep == '+') ? 0x80 : 0; + if (csep == '+') + { + numactive++; + if (numactive == 2) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "only one partition can be active"); + } + } + mbr.entries[i].type = type; + mbr.entries[i].start = grub_cpu_to_le32 (partition->start); + lba_to_chs (partition->start, + &(mbr.entries[i].start_sector), + &(mbr.entries[i].start_cylinder), + &(mbr.entries[i].start_head)); + lba_to_chs (partition->start + partition->len - 1, + &(mbr.entries[i].end_sector), + &(mbr.entries[i].end_cylinder), + &(mbr.entries[i].end_head)); + mbr.entries[i].length = grub_cpu_to_le32 (partition->len); + grub_free (partition); + } + for (; i < 4; i++) + grub_memset (&(mbr.entries[i]), 0, sizeof (mbr.entries[i])); + + /* The protective partition. */ + if (first_sector > 0xffffffff) + first_sector = 0xffffffff; + else + first_sector--; + mbr.entries[0].flag = 0; + mbr.entries[0].type = GRUB_PC_PARTITION_TYPE_GPT_DISK; + mbr.entries[0].start = grub_cpu_to_le32 (1); + lba_to_chs (1, + &(mbr.entries[0].start_sector), + &(mbr.entries[0].start_cylinder), + &(mbr.entries[0].start_head)); + lba_to_chs (first_sector, + &(mbr.entries[0].end_sector), + &(mbr.entries[0].end_cylinder), + &(mbr.entries[0].end_head)); + mbr.entries[0].length = grub_cpu_to_le32 (first_sector); + + mbr.signature = grub_cpu_to_le16 (GRUB_PC_PARTITION_SIGNATURE); + + if (grub_disk_write (dev->disk, 0, 0, sizeof (mbr), &mbr)) + { + grub_device_close (dev); + return grub_errno; + } + + grub_printf ("New MBR is written to '%s'\n", args[0]); + + return GRUB_ERR_NONE; +} + + +static grub_command_t cmd; + +GRUB_MOD_INIT(gptsync) +{ + (void) mod; /* To stop warning. */ + cmd = grub_register_command ("gptsync", grub_cmd_gptsync, + N_("DEVICE [PARTITION[+/-[TYPE]]] ..."), + N_("Fill hybrid MBR of GPT drive DEVICE. " + "Specified partitions will be a part " + "of hybrid MBR. Up to 3 partitions are " + "allowed. TYPE is an MBR type. " + "+ means that partition is active. " + "Only one partition can be active.")); +} + +GRUB_MOD_FINI(gptsync) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/halt.c b/grub-core/commands/halt.c new file mode 100644 index 0000000..317f775 --- /dev/null +++ b/grub-core/commands/halt.c @@ -0,0 +1,48 @@ +/* halt.c - command to halt the computer. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_halt (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_halt (); + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(halt) +{ + cmd = grub_register_command ("halt", grub_cmd_halt, + 0, N_("Halts the computer. This command does" + " not work on all firmware implementations.")); +} + +GRUB_MOD_FINI(halt) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/hashsum.c b/grub-core/commands/hashsum.c new file mode 100644 index 0000000..6825d48 --- /dev/null +++ b/grub-core/commands/hashsum.c @@ -0,0 +1,300 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = { + {"hash", 'h', 0, N_("Specify hash to use."), N_("HASH"), ARG_TYPE_STRING}, + {"check", 'c', 0, N_("Check hash list file."), N_("FILE"), ARG_TYPE_STRING}, + {"prefix", 'p', 0, N_("Base directory for hash list."), N_("DIRECTORY"), + ARG_TYPE_STRING}, + {"keep-going", 'k', 0, N_("Don't stop after first error."), 0, 0}, + {"uncompress", 'u', 0, N_("Uncompress file before checksumming."), 0, 0}, + {0, 0, 0, 0, 0, 0} +}; + +static struct { const char *name; const char *hashname; } aliases[] = + { + {"sha256sum", "sha256"}, + {"sha512sum", "sha512"}, + {"sha1sum", "sha1"}, + {"md5sum", "md5"}, + {"crc", "crc32"}, + }; + +static inline int +hextoval (char c) +{ + if (c >= '0' && c <= '9') + return c - '0'; + if (c >= 'a' && c <= 'f') + return c - 'a' + 10; + if (c >= 'A' && c <= 'F') + return c - 'A' + 10; + return -1; +} + +static grub_err_t +hash_file (grub_file_t file, const gcry_md_spec_t *hash, void *result) +{ + grub_uint8_t context[hash->contextsize]; + grub_uint8_t readbuf[4096]; + + grub_memset (context, 0, sizeof (context)); + hash->init (context); + while (1) + { + grub_ssize_t r; + r = grub_file_read (file, readbuf, sizeof (readbuf)); + if (r < 0) + return grub_errno; + if (r == 0) + break; + hash->write (context, readbuf, r); + } + hash->final (context); + grub_memcpy (result, hash->read (context), hash->mdlen); + + return GRUB_ERR_NONE; +} + +static grub_err_t +check_list (const gcry_md_spec_t *hash, const char *hashfilename, + const char *prefix, int keep, int uncompress) +{ + grub_file_t hashlist, file; + char *buf = NULL; + grub_uint8_t expected[hash->mdlen]; + grub_uint8_t actual[hash->mdlen]; + grub_err_t err; + unsigned i; + unsigned unread = 0, mismatch = 0; + + hashlist = grub_file_open (hashfilename); + if (!hashlist) + return grub_errno; + + while (grub_free (buf), (buf = grub_file_getline (hashlist))) + { + const char *p = buf; + for (i = 0; i < hash->mdlen; i++) + { + int high, low; + high = hextoval (*p++); + low = hextoval (*p++); + if (high < 0 || low < 0) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "invalid hash list"); + expected[i] = (high << 4) | low; + } + if (*p++ != ' ' || *p++ != ' ') + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "invalid hash list"); + if (prefix) + { + char *filename; + + filename = grub_xasprintf ("%s/%s", prefix, p); + if (!filename) + return grub_errno; + if (!uncompress) + grub_file_filter_disable_compression (); + file = grub_file_open (filename); + grub_free (filename); + } + else + { + if (!uncompress) + grub_file_filter_disable_compression (); + file = grub_file_open (p); + } + if (!file) + { + grub_file_close (hashlist); + grub_free (buf); + return grub_errno; + } + err = hash_file (file, hash, actual); + grub_file_close (file); + if (err) + { + grub_printf ("%s: READ ERROR\n", p); + if (!keep) + { + grub_file_close (hashlist); + grub_free (buf); + return err; + } + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + unread++; + continue; + } + if (grub_crypto_memcmp (expected, actual, hash->mdlen) != 0) + { + grub_printf ("%s: HASH MISMATCH\n", p); + if (!keep) + { + grub_file_close (hashlist); + grub_free (buf); + return grub_error (GRUB_ERR_TEST_FAILURE, + "hash of '%s' mismatches", p); + } + mismatch++; + continue; + } + grub_printf ("%s: OK\n", p); + } + if (mismatch || unread) + return grub_error (GRUB_ERR_TEST_FAILURE, + "%d files couldn't be read and hash " + "of %d files mismatches", unread, mismatch); + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_hashsum (struct grub_extcmd_context *ctxt, + int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + const char *hashname = NULL; + const char *prefix = NULL; + const gcry_md_spec_t *hash; + unsigned i; + int keep = state[3].set; + int uncompress = state[4].set; + unsigned unread = 0; + + for (i = 0; i < ARRAY_SIZE (aliases); i++) + if (grub_strcmp (ctxt->extcmd->cmd->name, aliases[i].name) == 0) + hashname = aliases[i].hashname; + if (state[0].set) + hashname = state[0].arg; + + if (!hashname) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no hash specified"); + + hash = grub_crypto_lookup_md_by_name (hashname); + if (!hash) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unknown hash"); + + if (state[2].set) + prefix = state[2].arg; + + if (state[1].set) + { + if (argc != 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "--check is incompatible with file list"); + return check_list (hash, state[1].arg, prefix, keep, uncompress); + } + + for (i = 0; i < (unsigned) argc; i++) + { + grub_uint8_t result[hash->mdlen]; + grub_file_t file; + grub_err_t err; + unsigned j; + if (!uncompress) + grub_file_filter_disable_compression (); + file = grub_file_open (args[i]); + if (!file) + { + if (!keep) + return grub_errno; + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + unread++; + continue; + } + err = hash_file (file, hash, result); + grub_file_close (file); + if (err) + { + if (!keep) + return err; + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + unread++; + continue; + } + for (j = 0; j < hash->mdlen; j++) + grub_printf ("%02x", result[j]); + grub_printf (" %s\n", args[i]); + } + + if (unread) + return grub_error (GRUB_ERR_TEST_FAILURE, "%d files couldn't be read.", + unread); + return GRUB_ERR_NONE; +} + +static grub_extcmd_t cmd, cmd_md5, cmd_sha1, cmd_sha256, cmd_sha512, cmd_crc; + +GRUB_MOD_INIT(hashsum) +{ + cmd = grub_register_extcmd ("hashsum", grub_cmd_hashsum, 0, + "hashsum -h HASH [-c FILE [-p PREFIX]] " + "[FILE1 [FILE2 ...]]", + N_("Compute or check hash checksum."), + options); + cmd_md5 = grub_register_extcmd ("md5sum", grub_cmd_hashsum, 0, + N_("[-c FILE [-p PREFIX]] " + "[FILE1 [FILE2 ...]]"), + N_("Compute or check hash checksum."), + options); + cmd_sha1 = grub_register_extcmd ("sha1sum", grub_cmd_hashsum, 0, + N_("[-c FILE [-p PREFIX]] " + "[FILE1 [FILE2 ...]]"), + N_("Compute or check hash checksum."), + options); + cmd_sha256 = grub_register_extcmd ("sha256sum", grub_cmd_hashsum, 0, + N_("[-c FILE [-p PREFIX]] " + "[FILE1 [FILE2 ...]]"), + N_("Compute or check hash checksum."), + options); + cmd_sha512 = grub_register_extcmd ("sha512sum", grub_cmd_hashsum, 0, + N_("[-c FILE [-p PREFIX]] " + "[FILE1 [FILE2 ...]]"), + N_("Compute or check hash checksum."), + options); + + cmd_crc = grub_register_extcmd ("crc", grub_cmd_hashsum, 0, + N_("[-c FILE [-p PREFIX]] " + "[FILE1 [FILE2 ...]]"), + N_("Compute or check hash checksum."), + options); +} + +GRUB_MOD_FINI(hashsum) +{ + grub_unregister_extcmd (cmd); + grub_unregister_extcmd (cmd_md5); + grub_unregister_extcmd (cmd_sha1); + grub_unregister_extcmd (cmd_sha256); + grub_unregister_extcmd (cmd_sha512); + grub_unregister_extcmd (cmd_crc); +} diff --git a/grub-core/commands/hdparm.c b/grub-core/commands/hdparm.c new file mode 100644 index 0000000..0c12b88 --- /dev/null +++ b/grub-core/commands/hdparm.c @@ -0,0 +1,422 @@ +/* hdparm.c - command to get/set ATA disk parameters. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = { + {"apm", 'B', 0, N_("Set Advanced Power Management\n" + "(1=low, ..., 254=high, 255=off)."), + 0, ARG_TYPE_INT}, + {"power", 'C', 0, N_("Check power mode."), 0, ARG_TYPE_NONE}, + {"security-freeze", 'F', 0, N_("Freeze ATA security settings until reset."), + 0, ARG_TYPE_NONE}, + {"health", 'H', 0, N_("Check SMART health status."), 0, ARG_TYPE_NONE}, + {"aam", 'M', 0, N_("Set Automatic Acoustic Management\n" + "(0=off, 128=quiet, ..., 254=fast)."), + 0, ARG_TYPE_INT}, + {"standby-timeout", 'S', 0, N_("Set standby timeout\n" + "(0=off, 1=5s, 2=10s, ..., 240=20m, 241=30m, ...)."), + 0, ARG_TYPE_INT}, + {"standby", 'y', 0, N_("Set drive to standby mode."), 0, ARG_TYPE_NONE}, + {"sleep", 'Y', 0, N_("Set drive to sleep mode."), 0, ARG_TYPE_NONE}, + {"identify", 'i', 0, N_("Print drive identity and settings."), + 0, ARG_TYPE_NONE}, + {"dumpid", 'I', 0, N_("Dump contents of ATA IDENTIFY sector."), + 0, ARG_TYPE_NONE}, + {"smart", -1, 0, N_("Disable/enable SMART (0/1)."), 0, ARG_TYPE_INT}, + {"quiet", 'q', 0, N_("Do not print messages."), 0, ARG_TYPE_NONE}, + {0, 0, 0, 0, 0, 0} +}; + +enum grub_ata_smart_commands + { + GRUB_ATA_FEAT_SMART_ENABLE = 0xd8, + GRUB_ATA_FEAT_SMART_DISABLE = 0xd9, + GRUB_ATA_FEAT_SMART_STATUS = 0xda, + }; + +static int quiet = 0; + +static grub_err_t +grub_hdparm_do_ata_cmd (grub_disk_t disk, grub_uint8_t cmd, + grub_uint8_t features, grub_uint8_t sectors, + void * buffer, int size) +{ + struct grub_disk_ata_pass_through_parms apt; + grub_memset (&apt, 0, sizeof (apt)); + + apt.taskfile[GRUB_ATA_REG_CMD] = cmd; + apt.taskfile[GRUB_ATA_REG_FEATURES] = features; + apt.taskfile[GRUB_ATA_REG_SECTORS] = sectors; + apt.buffer = buffer; + apt.size = size; + + if (grub_disk_ata_pass_through (disk, &apt)) + return grub_errno; + + return GRUB_ERR_NONE; +} + +static int +grub_hdparm_do_check_powermode_cmd (grub_disk_t disk) +{ + struct grub_disk_ata_pass_through_parms apt; + grub_memset (&apt, 0, sizeof (apt)); + + apt.taskfile[GRUB_ATA_REG_CMD] = GRUB_ATA_CMD_CHECK_POWER_MODE; + + if (grub_disk_ata_pass_through (disk, &apt)) + return -1; + + return apt.taskfile[GRUB_ATA_REG_SECTORS]; +} + +static int +grub_hdparm_do_smart_cmd (grub_disk_t disk, grub_uint8_t features) +{ + struct grub_disk_ata_pass_through_parms apt; + grub_memset (&apt, 0, sizeof (apt)); + + apt.taskfile[GRUB_ATA_REG_CMD] = GRUB_ATA_CMD_SMART; + apt.taskfile[GRUB_ATA_REG_FEATURES] = features; + apt.taskfile[GRUB_ATA_REG_LBAMID] = 0x4f; + apt.taskfile[GRUB_ATA_REG_LBAHIGH] = 0xc2; + + if (grub_disk_ata_pass_through (disk, &apt)) + return -1; + + if (features == GRUB_ATA_FEAT_SMART_STATUS) + { + if ( apt.taskfile[GRUB_ATA_REG_LBAMID] == 0x4f + && apt.taskfile[GRUB_ATA_REG_LBAHIGH] == 0xc2) + return 0; /* Good SMART status. */ + else if ( apt.taskfile[GRUB_ATA_REG_LBAMID] == 0xf4 + && apt.taskfile[GRUB_ATA_REG_LBAHIGH] == 0x2c) + return 1; /* Bad SMART status. */ + else + return -1; + } + return 0; +} + +static grub_err_t +grub_hdparm_simple_cmd (const char * msg, + grub_disk_t disk, grub_uint8_t cmd) +{ + if (! quiet && msg) + grub_printf ("%s", msg); + + grub_err_t err = grub_hdparm_do_ata_cmd (disk, cmd, 0, 0, NULL, 0); + + if (! quiet && msg) + grub_printf ("%s\n", ! err ? "" : ": not supported"); + return err; +} + +static grub_err_t +grub_hdparm_set_val_cmd (const char * msg, int val, + grub_disk_t disk, grub_uint8_t cmd, + grub_uint8_t features, grub_uint8_t sectors) +{ + if (! quiet && msg && *msg) + { + if (val >= 0) + grub_printf ("Set %s to %d", msg, val); + else + grub_printf ("Disable %s", msg); + } + + grub_err_t err = grub_hdparm_do_ata_cmd (disk, cmd, features, sectors, + NULL, 0); + + if (! quiet && msg) + grub_printf ("%s\n", ! err ? "" : ": not supported"); + return err; +} + +static const char * +le16_to_char (char *dest, const grub_uint16_t * src16, unsigned bytes) +{ + grub_uint16_t * dest16 = (grub_uint16_t *) dest; + unsigned i; + for (i = 0; i < bytes / 2; i++) + dest16[i] = grub_be_to_cpu16 (src16[i]); + return dest; +} + +static void +grub_hdparm_print_identify (const char * idbuf) +{ + const grub_uint16_t * idw = (const grub_uint16_t *) idbuf; + + /* Print identity strings. */ + char tmp[40]; + grub_printf ("Model: \"%.40s\"\n", le16_to_char (tmp, &idw[27], 40)); + grub_printf ("Firmware: \"%.8s\"\n", le16_to_char (tmp, &idw[23], 8)); + grub_printf ("Serial: \"%.20s\"\n", le16_to_char (tmp, &idw[10], 20)); + + /* Print AAM, APM and SMART settings. */ + grub_uint16_t features1 = grub_le_to_cpu16 (idw[82]); + grub_uint16_t features2 = grub_le_to_cpu16 (idw[83]); + grub_uint16_t enabled1 = grub_le_to_cpu16 (idw[85]); + grub_uint16_t enabled2 = grub_le_to_cpu16 (idw[86]); + + grub_printf ("Automatic Acoustic Management: "); + if (features2 & 0x0200) + { + if (enabled2 & 0x0200) + { + grub_uint16_t aam = grub_le_to_cpu16 (idw[94]); + grub_printf ("%u (128=quiet, ..., 254=fast, recommended=%u)\n", + aam & 0xff, (aam >> 8) & 0xff); + } + else + grub_printf ("disabled\n"); + } + else + grub_printf ("not supported\n"); + + grub_printf ("Advanced Power Management: "); + if (features2 & 0x0008) + { + if (enabled2 & 0x0008) + grub_printf ("%u (1=low, ..., 254=high)\n", + grub_le_to_cpu16 (idw[91]) & 0xff); + else + grub_printf ("disabled\n"); + } + else + grub_printf ("not supported\n"); + + grub_printf ("SMART Feature Set: "); + if (features1 & 0x0001) + grub_printf ("%sabled\n", (enabled1 & 0x0001 ? "en" : "dis")); + else + grub_printf ("not supported\n"); + + /* Print security settings. */ + grub_uint16_t security = grub_le_to_cpu16 (idw[128]); + + grub_printf ("ATA Security: "); + if (security & 0x0001) + grub_printf ("%s, %s, %s, %s\n", + (security & 0x0002 ? "ENABLED" : "disabled"), + (security & 0x0004 ? "**LOCKED**" : "not locked"), + (security & 0x0008 ? "frozen" : "NOT FROZEN"), + (security & 0x0010 ? "COUNT EXPIRED" : "count not expired")); + else + grub_printf ("not supported\n"); +} + +static void +grub_hdparm_print_standby_tout (int timeout) +{ + if (timeout == 0) + grub_printf ("off"); + else if (timeout <= 252 || timeout == 255) + { + int h = 0, m = 0 , s = 0; + if (timeout == 255) + { + m = 21; + s = 15; + } + else if (timeout == 252) + m = 21; + else if (timeout <= 240) + { + s = timeout * 5; + m = s / 60; + s %= 60; + } + else + { + m = (timeout - 240) * 30; + h = m / 60; + m %= 60; + } + grub_printf ("%02d:%02d:%02d", h, m, s); + } + else + grub_printf ("invalid or vendor-specific"); +} + +static int get_int_arg (const struct grub_arg_list *state) +{ + return (state->set ? (int)grub_strtoul (state->arg, 0, 0) : -1); +} + +static grub_err_t +grub_cmd_hdparm (grub_extcmd_context_t ctxt, int argc, char **args) // state???? +{ + struct grub_arg_list *state = ctxt->state; + + /* Check command line. */ + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "missing device name argument"); + + grub_size_t len = grub_strlen (args[0]); + if (! (args[0][0] == '(' && args[0][len - 1] == ')')) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "argument is not a device name"); + args[0][len - 1] = 0; + + if (! grub_disk_ata_pass_through) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "ATA pass through not available"); + + int i = 0; + int apm = get_int_arg (&state[i++]); + int power = state[i++].set; + int sec_freeze = state[i++].set; + int health = state[i++].set; + int aam = get_int_arg (&state[i++]); + int standby_tout = get_int_arg (&state[i++]); + int standby_now = state[i++].set; + int sleep_now = state[i++].set; + int ident = state[i++].set; + int dumpid = state[i++].set; + int enable_smart = get_int_arg (&state[i++]); + quiet = state[i++].set; + + /* Open disk. */ + grub_disk_t disk = grub_disk_open (&args[0][1]); + if (! disk) + return grub_errno; + + if (disk->partition) + { + grub_disk_close (disk); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "partition not allowed"); + } + + /* Change settings. */ + if (aam >= 0) + grub_hdparm_set_val_cmd ("Automatic Acoustic Management", (aam ? aam : -1), + disk, GRUB_ATA_CMD_SET_FEATURES, (aam ? 0x42 : 0xc2), aam); + + if (apm >= 0) + grub_hdparm_set_val_cmd ("Advanced Power Management", + (apm != 255 ? apm : -1), disk, GRUB_ATA_CMD_SET_FEATURES, + (apm != 255 ? 0x05 : 0x85), (apm != 255 ? apm : 0)); + + if (standby_tout >= 0) + { + if (! quiet) + { + grub_printf ("Set standby timeout to %d (", standby_tout); + grub_hdparm_print_standby_tout (standby_tout); + grub_printf (")"); + } + /* The IDLE cmd sets disk to idle mode and configures standby timer. */ + grub_hdparm_set_val_cmd ("", -1, disk, GRUB_ATA_CMD_IDLE, 0, standby_tout); + } + + if (enable_smart >= 0) + { + if (! quiet) + grub_printf ("%sable SMART operations", (enable_smart ? "En" : "Dis")); + int err = grub_hdparm_do_smart_cmd (disk, (enable_smart ? + GRUB_ATA_FEAT_SMART_ENABLE : GRUB_ATA_FEAT_SMART_DISABLE)); + if (! quiet) + grub_printf ("%s\n", err ? ": not supported" : ""); + } + + if (sec_freeze) + grub_hdparm_simple_cmd ("Freeze security settings", disk, + GRUB_ATA_CMD_SECURITY_FREEZE_LOCK); + + /* Print/dump IDENTIFY. */ + if (ident || dumpid) + { + char buf[GRUB_DISK_SECTOR_SIZE]; + if (grub_hdparm_do_ata_cmd (disk, GRUB_ATA_CMD_IDENTIFY_DEVICE, + 0, 0, buf, sizeof (buf))) + grub_printf ("Cannot read ATA IDENTIFY data\n"); + else + { + if (ident) + grub_hdparm_print_identify (buf); + if (dumpid) + hexdump (0, buf, sizeof (buf)); + } + } + + /* Check power mode. */ + if (power) + { + grub_printf ("Disk power mode is: "); + int mode = grub_hdparm_do_check_powermode_cmd (disk); + if (mode < 0) + grub_printf ("unknown\n"); + else + grub_printf ("%s (0x%02x)\n", + (mode == 0xff ? "active/idle" : + mode == 0x80 ? "idle" : + mode == 0x00 ? "standby" : "unknown"), mode); + } + + /* Check health. */ + int status = 0; + if (health) + { + if (! quiet) + grub_printf ("SMART status is: "); + int err = grub_hdparm_do_smart_cmd (disk, GRUB_ATA_FEAT_SMART_STATUS); + if (! quiet) + grub_printf ("%s\n", (err < 0 ? "unknown" : + err == 0 ? "OK" : "*BAD*")); + status = (err > 0); + } + + /* Change power mode. */ + if (standby_now) + grub_hdparm_simple_cmd ("Set disk to standby mode", disk, + GRUB_ATA_CMD_STANDBY_IMMEDIATE); + + if (sleep_now) + grub_hdparm_simple_cmd ("Set disk to sleep mode", disk, + GRUB_ATA_CMD_SLEEP); + + grub_disk_close (disk); + + grub_errno = GRUB_ERR_NONE; + return status; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(hdparm) +{ + cmd = grub_register_extcmd ("hdparm", grub_cmd_hdparm, 0, + N_("[OPTIONS] DISK"), + N_("Get/set ATA disk parameters."), options); +} + +GRUB_MOD_FINI(hdparm) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/help.c b/grub-core/commands/help.c new file mode 100644 index 0000000..82f3200 --- /dev/null +++ b/grub-core/commands/help.c @@ -0,0 +1,143 @@ +/* help.c - command to show a help text. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_help (grub_extcmd_context_t ctxt __attribute__ ((unused)), int argc, + char **args) +{ + int cnt = 0; + char *currarg; + + if (argc == 0) + { + grub_command_t cmd; + FOR_COMMANDS(cmd) + { + if ((cmd->prio & GRUB_PRIO_LIST_FLAG_ACTIVE)) + { + struct grub_term_output *term; + const char *summary_translated = _(cmd->summary); + char *command_help; + grub_uint32_t *unicode_command_help; + grub_uint32_t *unicode_last_position; + + command_help = grub_xasprintf ("%s %s", cmd->name, summary_translated); + if (!command_help) + break; + + grub_utf8_to_ucs4_alloc (command_help, &unicode_command_help, + &unicode_last_position); + + FOR_ACTIVE_TERM_OUTPUTS(term) + { + unsigned stringwidth; + grub_uint32_t *unicode_last_screen_position; + + unicode_last_screen_position = unicode_command_help; + + stringwidth = 0; + + while (unicode_last_screen_position < unicode_last_position && + stringwidth < ((grub_term_width (term) / 2) - 2)) + { + struct grub_unicode_glyph glyph; + unicode_last_screen_position + += grub_unicode_aglomerate_comb (unicode_last_screen_position, + unicode_last_position + - unicode_last_screen_position, + &glyph); + + stringwidth + += grub_term_getcharwidth (term, &glyph); + } + + grub_print_ucs4 (unicode_command_help, + unicode_last_screen_position, 0, 0, term); + if (!(cnt % 2)) + grub_print_spaces (term, grub_term_width (term) / 2 + - stringwidth); + } + + if (cnt % 2) + grub_printf ("\n"); + cnt++; + + grub_free (command_help); + grub_free (unicode_command_help); + } + } + if (!(cnt % 2)) + grub_printf ("\n"); + } + else + { + int i; + grub_command_t cmd; + + for (i = 0; i < argc; i++) + { + currarg = args[i]; + FOR_COMMANDS(cmd) + { + if (cmd->prio & GRUB_PRIO_LIST_FLAG_ACTIVE) + { + if (! grub_strncmp (cmd->name, currarg, grub_strlen (currarg))) + { + if (cnt++ > 0) + grub_printf ("\n\n"); + + if ((cmd->flags & GRUB_COMMAND_FLAG_EXTCMD) && + ! (cmd->flags & GRUB_COMMAND_FLAG_DYNCMD)) + grub_arg_show_help ((grub_extcmd_t) cmd->data); + else + grub_printf ("%s %s %s\n%s\n", _("Usage:"), cmd->name, _(cmd->summary), + _(cmd->description)); + } + } + } + } + } + + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(help) +{ + cmd = grub_register_extcmd ("help", grub_cmd_help, 0, + N_("[PATTERN ...]"), + N_("Show a help message."), 0); +} + +GRUB_MOD_FINI(help) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/hexdump.c b/grub-core/commands/hexdump.c new file mode 100644 index 0000000..9ba8359 --- /dev/null +++ b/grub-core/commands/hexdump.c @@ -0,0 +1,133 @@ +/* hexdump.c - command to dump the contents of a file or memory */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = { + {"skip", 's', 0, N_("Skip offset bytes from the beginning of file."), 0, + ARG_TYPE_INT}, + {"length", 'n', 0, N_("Read only LENGTH bytes."), 0, ARG_TYPE_INT}, + {0, 0, 0, 0, 0, 0} +}; + +static grub_err_t +grub_cmd_hexdump (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + char buf[GRUB_DISK_SECTOR_SIZE * 4]; + grub_ssize_t size, length; + grub_disk_addr_t skip; + int namelen; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name required"); + + namelen = grub_strlen (args[0]); + skip = (state[0].set) ? grub_strtoull (state[0].arg, 0, 0) : 0; + length = (state[1].set) ? grub_strtoul (state[1].arg, 0, 0) : 256; + + if (!grub_strcmp (args[0], "(mem)")) + hexdump (skip, (char *) (grub_addr_t) skip, length); + else if ((args[0][0] == '(') && (args[0][namelen - 1] == ')')) + { + grub_disk_t disk; + grub_disk_addr_t sector; + grub_size_t ofs; + + args[0][namelen - 1] = 0; + disk = grub_disk_open (&args[0][1]); + if (! disk) + return 0; + + sector = (skip >> (GRUB_DISK_SECTOR_BITS + 2)) * 4; + ofs = skip & (GRUB_DISK_SECTOR_SIZE * 4 - 1); + while (length) + { + grub_size_t len; + + len = length; + if (len > sizeof (buf)) + len = sizeof (buf); + + if (grub_disk_read (disk, sector, ofs, len, buf)) + break; + + hexdump (skip, buf, len); + + ofs = 0; + skip += len; + length -= len; + sector += 4; + } + + grub_disk_close (disk); + } + else + { + grub_file_t file; + + file = grub_file_open (args[0]); + if (! file) + return 0; + + file->offset = skip; + + while ((size = grub_file_read (file, buf, sizeof (buf))) > 0) + { + unsigned long len; + + len = ((length) && (size > length)) ? length : size; + hexdump (skip, buf, len); + skip += len; + if (length) + { + length -= len; + if (!length) + break; + } + } + + grub_file_close (file); + } + + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT (hexdump) +{ + cmd = grub_register_extcmd ("hexdump", grub_cmd_hexdump, 0, + N_("[OPTIONS] FILE_OR_DEVICE"), + N_("Dump the contents of a file or memory."), + options); +} + +GRUB_MOD_FINI (hexdump) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/i386/cmostest.c b/grub-core/commands/i386/cmostest.c new file mode 100644 index 0000000..c79bd03 --- /dev/null +++ b/grub-core/commands/i386/cmostest.c @@ -0,0 +1,92 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +parse_args (int argc, char *argv[], int *byte, int *bit) +{ + char *rest; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Address required."); + + *byte = grub_strtoul (argv[0], &rest, 0); + if (*rest != ':') + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Address required."); + + *bit = grub_strtoul (rest + 1, 0, 0); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_cmostest (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + int byte, bit; + grub_err_t err; + + err = parse_args (argc, argv, &byte, &bit); + if (err) + return err; + + if (grub_cmos_read (byte) & (1 << bit)) + return GRUB_ERR_NONE; + + return grub_error (GRUB_ERR_TEST_FAILURE, "false"); +} + +static grub_err_t +grub_cmd_cmosclean (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + int byte, bit; + grub_err_t err; + + err = parse_args (argc, argv, &byte, &bit); + if (err) + return err; + + grub_cmos_write (byte, grub_cmos_read (byte) & (~(1 << bit))); + return GRUB_ERR_NONE; +} + +static grub_command_t cmd, cmd_clean; + + +GRUB_MOD_INIT(cmostest) +{ + cmd = grub_register_command ("cmostest", grub_cmd_cmostest, + "cmostest BYTE:BIT", + "Test bit at BYTE:BIT in CMOS."); + cmd_clean = grub_register_command ("cmosclean", grub_cmd_cmosclean, + "cmosclean BYTE:BIT", + "Clean bit at BYTE:BIT in CMOS."); +} + +GRUB_MOD_FINI(cmostest) +{ + grub_unregister_command (cmd); + grub_unregister_command (cmd_clean); +} diff --git a/grub-core/commands/i386/cpuid.c b/grub-core/commands/i386/cpuid.c new file mode 100644 index 0000000..6a771ba --- /dev/null +++ b/grub-core/commands/i386/cpuid.c @@ -0,0 +1,100 @@ +/* cpuid.c - test for CPU features */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc. + * Based on gcc/gcc/config/i386/driver-i386.c + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define cpuid(num,a,b,c,d) \ + asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \ + : "=a" (a), "=r" (b), "=c" (c), "=d" (d) \ + : "0" (num)) + +static const struct grub_arg_option options[] = + { + {"long-mode", 'l', 0, N_("Check for long mode flag (default)."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +#define bit_LM (1 << 29) + +unsigned char grub_cpuid_has_longmode = 0; + +static grub_err_t +grub_cmd_cpuid (grub_extcmd_context_t ctxt __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + return grub_cpuid_has_longmode ? GRUB_ERR_NONE + : grub_error (GRUB_ERR_TEST_FAILURE, "false"); +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(cpuid) +{ +#ifdef __x86_64__ + /* grub-emu */ + grub_cpuid_has_longmode = 1; +#else + unsigned int eax, ebx, ecx, edx; + unsigned int max_level; + unsigned int ext_level; + + /* See if we can use cpuid. */ + asm volatile ("pushfl; pushfl; popl %0; movl %0,%1; xorl %2,%0;" + "pushl %0; popfl; pushfl; popl %0; popfl" + : "=&r" (eax), "=&r" (ebx) + : "i" (0x00200000)); + if (((eax ^ ebx) & 0x00200000) == 0) + goto done; + + /* Check the highest input value for eax. */ + cpuid (0, eax, ebx, ecx, edx); + /* We only look at the first four characters. */ + max_level = eax; + if (max_level == 0) + goto done; + + cpuid (0x80000000, eax, ebx, ecx, edx); + ext_level = eax; + if (ext_level < 0x80000000) + goto done; + + cpuid (0x80000001, eax, ebx, ecx, edx); + grub_cpuid_has_longmode = !!(edx & bit_LM); +done: +#endif + + cmd = grub_register_extcmd ("cpuid", grub_cmd_cpuid, 0, + "[-l]", N_("Check for CPU features."), options); +} + +GRUB_MOD_FINI(cpuid) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/i386/pc/acpi.c b/grub-core/commands/i386/pc/acpi.c new file mode 100644 index 0000000..88e4f55 --- /dev/null +++ b/grub-core/commands/i386/pc/acpi.c @@ -0,0 +1,81 @@ +/* acpi.c - get acpi tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +struct grub_acpi_rsdp_v10 * +grub_machine_acpi_get_rsdpv1 (void) +{ + int ebda_len; + grub_uint8_t *ebda, *ptr; + + grub_dprintf ("acpi", "Looking for RSDP. Scanning EBDA\n"); + ebda = (grub_uint8_t *) ((* ((grub_uint16_t *) 0x40e)) << 4); + ebda_len = * (grub_uint16_t *) ebda; + if (! ebda_len) + return 0; + for (ptr = ebda; ptr < ebda + 0x400; ptr += 16) + if (grub_memcmp (ptr, "RSD PTR ", 8) == 0 + && grub_byte_checksum (ptr, sizeof (struct grub_acpi_rsdp_v10)) == 0 + && ((struct grub_acpi_rsdp_v10 *) ptr)->revision == 0) + return (struct grub_acpi_rsdp_v10 *) ptr; + + grub_dprintf ("acpi", "Looking for RSDP. Scanning BIOS\n"); + for (ptr = (grub_uint8_t *) 0xe0000; ptr < (grub_uint8_t *) 0x100000; + ptr += 16) + if (grub_memcmp (ptr, "RSD PTR ", 8) == 0 + && grub_byte_checksum (ptr, sizeof (struct grub_acpi_rsdp_v10)) == 0 + && ((struct grub_acpi_rsdp_v10 *) ptr)->revision == 0) + return (struct grub_acpi_rsdp_v10 *) ptr; + return 0; +} + +struct grub_acpi_rsdp_v20 * +grub_machine_acpi_get_rsdpv2 (void) +{ + int ebda_len; + grub_uint8_t *ebda, *ptr; + + grub_dprintf ("acpi", "Looking for RSDP. Scanning EBDA\n"); + ebda = (grub_uint8_t *) ((* ((grub_uint16_t *) 0x40e)) << 4); + ebda_len = * (grub_uint16_t *) ebda; + if (! ebda_len) + return 0; + for (ptr = ebda; ptr < ebda + 0x400; ptr += 16) + if (grub_memcmp (ptr, "RSD PTR ", 8) == 0 + && grub_byte_checksum (ptr, sizeof (struct grub_acpi_rsdp_v10)) == 0 + && ((struct grub_acpi_rsdp_v10 *) ptr)->revision != 0 + && ((struct grub_acpi_rsdp_v20 *) ptr)->length < 1024 + && grub_byte_checksum (ptr, ((struct grub_acpi_rsdp_v20 *) ptr)->length) + == 0) + return (struct grub_acpi_rsdp_v20 *) ptr; + + grub_dprintf ("acpi", "Looking for RSDP. Scanning BIOS\n"); + for (ptr = (grub_uint8_t *) 0xe0000; ptr < (grub_uint8_t *) 0x100000; + ptr += 16) + if (grub_memcmp (ptr, "RSD PTR ", 8) == 0 + && grub_byte_checksum (ptr, sizeof (struct grub_acpi_rsdp_v10)) == 0 + && ((struct grub_acpi_rsdp_v10 *) ptr)->revision != 0 + && ((struct grub_acpi_rsdp_v20 *) ptr)->length < 1024 + && grub_byte_checksum (ptr, ((struct grub_acpi_rsdp_v20 *) ptr)->length) + == 0) + return (struct grub_acpi_rsdp_v20 *) ptr; + return 0; +} diff --git a/grub-core/commands/i386/pc/drivemap.c b/grub-core/commands/i386/pc/drivemap.c new file mode 100644 index 0000000..c9c8881 --- /dev/null +++ b/grub-core/commands/i386/pc/drivemap.c @@ -0,0 +1,422 @@ +/* drivemap.c - command to manage the BIOS drive mappings. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Real mode IVT slot (seg:off far pointer) for interrupt 0x13. */ +static grub_uint32_t *const int13slot = UINT_TO_PTR (4 * 0x13); + +/* Remember to update enum opt_idxs accordingly. */ +static const struct grub_arg_option options[] = { + {"list", 'l', 0, N_("Show the current mappings."), 0, 0}, + {"reset", 'r', 0, N_("Reset all mappings to the default values."), 0, 0}, + {"swap", 's', 0, N_("Perform both direct and reverse mappings."), 0, 0}, + {0, 0, 0, 0, 0, 0} +}; + +/* Remember to update options[] accordingly. */ +enum opt_idxs +{ + OPTIDX_LIST = 0, + OPTIDX_RESET, + OPTIDX_SWAP, +}; + +/* Realmode far ptr (2 * 16b) to the previous INT13h handler. */ +extern grub_uint32_t grub_drivemap_oldhandler; + +/* The type "void" is used for imported assembly labels, takes no storage and + serves just to take the address with &label. */ + +/* The assembly function to replace the old INT13h handler. It does not follow + any C callspecs and returns with IRET. */ +extern const void grub_drivemap_handler; + +/* Start of the drive mappings area (space reserved at runtime). */ +extern const void grub_drivemap_mapstart; + +typedef struct drivemap_node +{ + struct drivemap_node *next; + grub_uint8_t newdrive; + grub_uint8_t redirto; +} drivemap_node_t; + +typedef struct __attribute__ ((packed)) int13map_node +{ + grub_uint8_t disknum; + grub_uint8_t mapto; +} int13map_node_t; + +#define INT13H_OFFSET(x) \ + (((grub_uint8_t *)(x)) - ((grub_uint8_t *)&grub_drivemap_handler)) + +static drivemap_node_t *map_head; +static void *drivemap_hook; +static int drivemap_mmap; + +/* Puts the specified mapping into the table, replacing an existing mapping + for newdrive or adding a new one if required. */ +static grub_err_t +drivemap_set (grub_uint8_t newdrive, grub_uint8_t redirto) +{ + drivemap_node_t *mapping = 0; + drivemap_node_t *search = map_head; + while (search) + { + if (search->newdrive == newdrive) + { + mapping = search; + break; + } + search = search->next; + } + + /* Check for pre-existing mappings to modify before creating a new one. */ + if (mapping) + mapping->redirto = redirto; + else + { + mapping = grub_malloc (sizeof (drivemap_node_t)); + if (! mapping) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "cannot allocate map entry, not enough memory"); + mapping->newdrive = newdrive; + mapping->redirto = redirto; + mapping->next = map_head; + map_head = mapping; + } + return GRUB_ERR_NONE; +} + +/* Removes the mapping for newdrive from the table. If there is no mapping, + then this function behaves like a no-op on the map. */ +static void +drivemap_remove (grub_uint8_t newdrive) +{ + drivemap_node_t *mapping = 0; + drivemap_node_t *search = map_head; + drivemap_node_t *previous = 0; + + while (search) + { + if (search->newdrive == newdrive) + { + mapping = search; + break; + } + previous = search; + search = search->next; + } + + if (mapping) + { + if (previous) + previous->next = mapping->next; + else + map_head = mapping->next; + grub_free (mapping); + } +} + +/* Given a GRUB-like device name and a convenient location, stores the + related BIOS disk number. Accepts devices like \((f|h)dN\), with + 0 <= N < 128. */ +static grub_err_t +tryparse_diskstring (const char *str, grub_uint8_t *output) +{ + /* Skip opening paren in order to allow both (hd0) and hd0. */ + if (*str == '(') + str++; + if ((str[0] == 'f' || str[0] == 'h') && str[1] == 'd') + { + grub_uint8_t bios_num = (str[0] == 'h') ? 0x80 : 0x00; + unsigned long drivenum = grub_strtoul (str + 2, 0, 0); + if (grub_errno == GRUB_ERR_NONE && drivenum < 128) + { + bios_num |= drivenum; + if (output) + *output = bios_num; + return GRUB_ERR_NONE; + } + } + return grub_error (GRUB_ERR_BAD_ARGUMENT, "device format \"%s\" " + "invalid: must be (f|h)dN, with 0 <= N < 128", str); +} + +static grub_err_t +list_mappings (void) +{ + /* Show: list mappings. */ + if (! map_head) + { + grub_printf ("No drives have been remapped\n"); + return GRUB_ERR_NONE; + } + + grub_printf ("OS disk #num ------> GRUB/BIOS device\n"); + drivemap_node_t *curnode = map_head; + while (curnode) + { + grub_printf ("%cD #%-3u (0x%02x) %cd%d\n", + (curnode->newdrive & 0x80) ? 'H' : 'F', + curnode->newdrive & 0x7F, curnode->newdrive, + (curnode->redirto & 0x80) ? 'h' : 'f', + curnode->redirto & 0x7F + ); + curnode = curnode->next; + } + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_drivemap (struct grub_extcmd_context *ctxt, int argc, char **args) +{ + if (ctxt->state[OPTIDX_LIST].set) + { + return list_mappings (); + } + else if (ctxt->state[OPTIDX_RESET].set) + { + /* Reset: just delete all mappings, freeing their memory. */ + drivemap_node_t *curnode = map_head; + drivemap_node_t *prevnode = 0; + while (curnode) + { + prevnode = curnode; + curnode = curnode->next; + grub_free (prevnode); + } + map_head = 0; + return GRUB_ERR_NONE; + } + else if (!ctxt->state[OPTIDX_SWAP].set && argc == 0) + { + /* No arguments */ + return list_mappings (); + } + + /* Neither flag: put mapping. */ + grub_uint8_t mapfrom = 0; + grub_uint8_t mapto = 0xFF; + grub_err_t err; + + if (argc != 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "two arguments required"); + + err = tryparse_diskstring (args[0], &mapfrom); + if (err != GRUB_ERR_NONE) + return err; + + err = tryparse_diskstring (args[1], &mapto); + if (err != GRUB_ERR_NONE) + return err; + + if (mapto == mapfrom) + { + /* Reset to default. */ + grub_dprintf ("drivemap", "Removing mapping for %s (%02x)\n", + args[0], mapfrom); + drivemap_remove (mapfrom); + return GRUB_ERR_NONE; + } + /* Set the mapping for the disk (overwrites any existing mapping). */ + grub_dprintf ("drivemap", "%s %s (%02x) = %s (%02x)\n", + ctxt->state[OPTIDX_SWAP].set ? "Swapping" : "Mapping", + args[1], mapto, args[0], mapfrom); + err = drivemap_set (mapto, mapfrom); + /* If -s, perform the reverse mapping too (only if the first was OK). */ + if (ctxt->state[OPTIDX_SWAP].set && err == GRUB_ERR_NONE) + err = drivemap_set (mapfrom, mapto); + return err; +} + +/* Int13h handler installer - reserves conventional memory for the handler, + copies it over and sets the IVT entry for int13h. + This code rests on the assumption that GRUB does not activate any kind + of memory mapping apart from identity paging, since it accesses + realmode structures by their absolute addresses, like the IVT at 0; + and transforms a pmode pointer into a rmode seg:off far ptr. */ +static grub_err_t +install_int13_handler (int noret __attribute__ ((unused))) +{ + /* Size of the full int13 handler "bundle", including code and map. */ + grub_uint32_t total_size; + /* Base address of the space reserved for the handler bundle. */ + grub_uint8_t *handler_base = 0; + /* Address of the map within the deployed bundle. */ + int13map_node_t *handler_map; + + int i; + int entries = 0; + drivemap_node_t *curentry = map_head; + + /* Count entries to prepare a contiguous map block. */ + while (curentry) + { + entries++; + curentry = curentry->next; + } + if (entries == 0) + { + /* No need to install the int13h handler. */ + grub_dprintf ("drivemap", "No drives marked as remapped, not installing " + "our int13h handler.\n"); + return GRUB_ERR_NONE; + } + + grub_dprintf ("drivemap", "Installing our int13h handler\n"); + + /* Save the pointer to the old handler. */ + grub_drivemap_oldhandler = *int13slot; + grub_dprintf ("drivemap", "Original int13 handler: %04x:%04x\n", + (grub_drivemap_oldhandler >> 16) & 0x0ffff, + grub_drivemap_oldhandler & 0x0ffff); + + /* Find a rmode-segment-aligned zone in conventional memory big + enough to hold the handler and its data. */ + total_size = INT13H_OFFSET (&grub_drivemap_mapstart) + + (entries + 1) * sizeof (int13map_node_t); + grub_dprintf ("drivemap", "Payload is %u bytes long\n", total_size); + handler_base = grub_mmap_malign_and_register (16, total_size, + &drivemap_mmap, + GRUB_MEMORY_RESERVED, + GRUB_MMAP_MALLOC_LOW); + if (! handler_base) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, "couldn't reserve " + "memory for the int13h handler"); + + /* Copy int13h handler bundle to reserved area. */ + grub_dprintf ("drivemap", "Reserved memory at %p, copying handler\n", + handler_base); + grub_memcpy (handler_base, &grub_drivemap_handler, + INT13H_OFFSET (&grub_drivemap_mapstart)); + + /* Copy the mappings to the reserved area. */ + curentry = map_head; + handler_map = (int13map_node_t *) (handler_base + + INT13H_OFFSET (&grub_drivemap_mapstart)); + grub_dprintf ("drivemap", "Target map at %p, copying mappings\n", handler_map); + for (i = 0; i < entries; ++i, curentry = curentry->next) + { + handler_map[i].disknum = curentry->newdrive; + handler_map[i].mapto = curentry->redirto; + grub_dprintf ("drivemap", "\t#%d: 0x%02x <- 0x%02x\n", i, + handler_map[i].disknum, handler_map[i].mapto); + } + /* Signal end-of-map. */ + handler_map[i].disknum = 0; + handler_map[i].mapto = 0; + grub_dprintf ("drivemap", "\t#%d: 0x00 <- 0x00 (end)\n", i); + + /* Install our function as the int13h handler in the IVT. */ + *int13slot = ((grub_uint32_t) handler_base) << 12; /* Segment address. */ + grub_dprintf ("drivemap", "New int13 handler: %04x:%04x\n", + (*int13slot >> 16) & 0x0ffff, *int13slot & 0x0ffff); + + return GRUB_ERR_NONE; +} + +static grub_err_t +uninstall_int13_handler (void) +{ + if (! grub_drivemap_oldhandler) + return GRUB_ERR_NONE; + + *int13slot = grub_drivemap_oldhandler; + grub_mmap_free_and_unregister (drivemap_mmap); + grub_drivemap_oldhandler = 0; + grub_dprintf ("drivemap", "Restored int13 handler: %04x:%04x\n", + (*int13slot >> 16) & 0x0ffff, *int13slot & 0x0ffff); + + return GRUB_ERR_NONE; +} + +static int +grub_get_root_biosnumber_drivemap (void) +{ + char *biosnum; + int ret = -1; + grub_device_t dev; + + biosnum = grub_env_get ("biosnum"); + + if (biosnum) + return grub_strtoul (biosnum, 0, 0); + + dev = grub_device_open (0); + if (dev && dev->disk && dev->disk->dev + && dev->disk->dev->id == GRUB_DISK_DEVICE_BIOSDISK_ID) + { + drivemap_node_t *curnode = map_head; + ret = (int) dev->disk->id; + while (curnode) + { + if (curnode->redirto == ret) + { + ret = curnode->newdrive; + break; + } + curnode = curnode->next; + } + + } + + if (dev) + grub_device_close (dev); + + return ret; +} + +static grub_extcmd_t cmd; +static int (*grub_get_root_biosnumber_saved) (void); + +GRUB_MOD_INIT (drivemap) +{ + grub_get_root_biosnumber_saved = grub_get_root_biosnumber; + grub_get_root_biosnumber = grub_get_root_biosnumber_drivemap; + cmd = grub_register_extcmd ("drivemap", grub_cmd_drivemap, 0, + N_("-l | -r | [-s] grubdev osdisk."), + N_("Manage the BIOS drive mappings."), + options); + drivemap_hook = + grub_loader_register_preboot_hook (&install_int13_handler, + &uninstall_int13_handler, + GRUB_LOADER_PREBOOT_HOOK_PRIO_NORMAL); +} + +GRUB_MOD_FINI (drivemap) +{ + grub_get_root_biosnumber = grub_get_root_biosnumber_saved; + grub_loader_unregister_preboot_hook (drivemap_hook); + drivemap_hook = 0; + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/i386/pc/drivemap_int13h.S b/grub-core/commands/i386/pc/drivemap_int13h.S new file mode 100644 index 0000000..b460cd7 --- /dev/null +++ b/grub-core/commands/i386/pc/drivemap_int13h.S @@ -0,0 +1,110 @@ +/* drivemap_int13h.S - interrupt handler for the BIOS drive remapper */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +#define INT13H_OFFSET(x) ((x) - LOCAL (base)) + +.code16 + +/* Copy starts here. When deployed, this code must be segment-aligned. */ + +/* The replacement int13 handler. Preserve all registers. */ +FUNCTION(grub_drivemap_handler) +LOCAL (base): + /* Save %dx for future restore. */ + push %dx + /* Push flags. Used to simulate interrupt with original flags. */ + pushf + + /* Map the drive number (always in DL). */ + push %ax + push %bx + movw $INT13H_OFFSET(LOCAL (mapstart)), %bx + +more_remaining: + movw %cs:(%bx), %ax + cmpb %ah, %al + jz not_found /* DRV=DST => map end - drive not remapped, keep DL. */ + inc %bx + inc %bx + cmpb %dl, %al + jnz more_remaining /* Not found, but more remaining, loop. */ + movb %ah, %dl /* Found - drive remapped, modify DL. */ + +not_found: + pop %bx + pop %ax + + /* If the call isn't ah=0x8 or ah=0x15 we must restore %dx. */ + cmpb $0x8, %ah + jz norestore + cmpb $0x15, %ah + jz norestore + + /* Restore flags. */ + popf + pushf + + lcall *%cs:INT13H_OFFSET (LOCAL (oldhandler)) + + push %bp + mov %sp, %bp + +tail: + /* Save new flags below %esp so the caller will recieve new flags. */ + pushf + pop %dx + mov %dx, 8(%bp) + + pop %bp + + /* Restore %dx. */ + pop %dx + iret + +norestore: + + /* Restore flags. */ + popf + pushf + + lcall *%cs:INT13H_OFFSET (LOCAL (oldhandler)) + + push %bp + mov %sp, %bp + + /* Save %dx. So it won't be restored to original value. */ + mov %dx, 2(%bp) + + jmp tail + +/* Far pointer to the old handler. Stored as a CS:IP in the style of real-mode + IVT entries (thus PI:SC in mem). */ +VARIABLE(grub_drivemap_oldhandler) +LOCAL (oldhandler): + .word 0x0, 0x0 + +/* This label MUST be at the end of the copied block, since the installer code + reserves additional space for mappings at runtime and copies them over it. */ + .align 2 + +VARIABLE(grub_drivemap_mapstart) +LOCAL (mapstart): + .byte 0 diff --git a/grub-core/commands/i386/pc/halt.c b/grub-core/commands/i386/pc/halt.c new file mode 100644 index 0000000..e7c191d --- /dev/null +++ b/grub-core/commands/i386/pc/halt.c @@ -0,0 +1,127 @@ +/* halt.c - command to halt the computer. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"no-apm", 'n', 0, N_("Do not use APM to halt the computer."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static inline void __attribute__ ((noreturn)) +stop (void) +{ + while (1) + { + asm volatile ("hlt"); + } +} +/* + * Halt the system, using APM if possible. If NO_APM is true, don't use + * APM even if it is available. + */ +void +grub_halt (int no_apm) +{ + struct grub_bios_int_registers regs; + + grub_acpi_halt (); + + if (no_apm) + stop (); + + /* detect APM */ + regs.eax = 0x5300; + regs.ebx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + stop (); + + /* disconnect APM first */ + regs.eax = 0x5304; + regs.ebx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + + /* connect APM */ + regs.eax = 0x5301; + regs.ebx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + stop (); + + /* set APM protocol level - 1.1 or bust. (this covers APM 1.2 also) */ + regs.eax = 0x530E; + regs.ebx = 0; + regs.ecx = 0x0101; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + stop (); + + /* set the power state to off */ + regs.eax = 0x5307; + regs.ebx = 1; + regs.ecx = 3; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + + /* shouldn't reach here */ + stop (); +} + +static grub_err_t +grub_cmd_halt (grub_extcmd_context_t ctxt, + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) + +{ + struct grub_arg_list *state = ctxt->state; + int no_apm = 0; + + if (state[0].set) + no_apm = 1; + grub_halt (no_apm); + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(halt) +{ + cmd = grub_register_extcmd ("halt", grub_cmd_halt, 0, "[-n]", + N_("Halt the system, if possible using APM."), + options); +} + +GRUB_MOD_FINI(halt) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/i386/pc/lsapm.c b/grub-core/commands/i386/pc/lsapm.c new file mode 100644 index 0000000..17bcfd6 --- /dev/null +++ b/grub-core/commands/i386/pc/lsapm.c @@ -0,0 +1,115 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +int +grub_apm_get_info (struct grub_apm_info *info) +{ + struct grub_bios_int_registers regs; + + /* detect APM */ + regs.eax = 0x5300; + regs.ebx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + return 0; + info->version = regs.eax & 0xffff; + info->flags = regs.ecx & 0xffff; + + /* disconnect APM first */ + regs.eax = 0x5304; + regs.ebx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + + /* connect APM */ + regs.eax = 0x5303; + regs.ebx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + return 0; + + info->cseg = regs.eax & 0xffff; + info->offset = regs.ebx; + info->cseg_16 = regs.ecx & 0xffff; + info->dseg = regs.edx & 0xffff; + info->cseg_len = regs.esi >> 16; + info->cseg_16_len = regs.esi & 0xffff; + info->dseg_len = regs.edi; + + return 1; +} + +static grub_err_t +grub_cmd_lsapm (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), char **args __attribute__ ((unused))) +{ + struct grub_apm_info info; + if (!grub_apm_get_info (&info)) + return grub_error (GRUB_ERR_IO, "no APM found"); + + grub_printf ("Vesion %u.%u\n" + "32-bit CS = 0x%x, len = 0x%x, offset = 0x%x\n" + "16-bit CS = 0x%x, len = 0x%x\n" + "DS = 0x%x, len = 0x%x\n", + info.version >> 8, info.version & 0xff, + info.cseg, info.cseg_len, info.offset, + info.cseg_16, info.cseg_16_len, + info.dseg, info.dseg_len); + grub_xputs (info.flags & GRUB_APM_FLAGS_16BITPROTECTED_SUPPORTED + ? "16-bit protected interface supported\n" + : "16-bit protected interface unsupported\n"); + grub_xputs (info.flags & GRUB_APM_FLAGS_32BITPROTECTED_SUPPORTED + ? "32-bit protected interface supported\n" + : "32-bit protected interface unsupported\n"); + grub_xputs (info.flags & GRUB_APM_FLAGS_CPUIDLE_SLOWS_DOWN + ? "CPU Idle slows down processor\n" + : "CPU Idle doesn't slow down processor\n"); + grub_xputs (info.flags & GRUB_APM_FLAGS_DISABLED + ? "APM disabled\n" : "APM enabled\n"); + grub_xputs (info.flags & GRUB_APM_FLAGS_DISENGAGED + ? "APM disengaged\n" : "APM engaged\n"); + + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(lsapm) +{ + cmd = grub_register_command ("lsapm", grub_cmd_lsapm, 0, + N_("Show APM information.")); +} + +GRUB_MOD_FINI(lsapm) +{ + grub_unregister_command (cmd); +} + + diff --git a/grub-core/commands/i386/pc/play.c b/grub-core/commands/i386/pc/play.c new file mode 100644 index 0000000..57980eb --- /dev/null +++ b/grub-core/commands/i386/pc/play.c @@ -0,0 +1,275 @@ +/* play.c - command to play a tune */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* Lots of this file is borrowed from GNU/Hurd generic-speaker driver. */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define BASE_TEMPO (60 * GRUB_TICKS_PER_SECOND) + +/* The speaker port. */ +#define SPEAKER 0x61 + +/* If 0, follow state of SPEAKER_DATA bit, otherwise enable output + from timer 2. */ +#define SPEAKER_TMR2 0x01 + +/* If SPEAKER_TMR2 is not set, this provides direct input into the + speaker. Otherwise, this enables or disables the output from the + timer. */ +#define SPEAKER_DATA 0x02 + +/* The PIT channel value ports. You can write to and read from them. + Do not mess with timer 0 or 1. */ +#define PIT_COUNTER_0 0x40 +#define PIT_COUNTER_1 0x41 +#define PIT_COUNTER_2 0x42 + +/* The frequency of the PIT clock. */ +#define PIT_FREQUENCY 0x1234dd + +/* The PIT control port. You can only write to it. Do not mess with + timer 0 or 1. */ +#define PIT_CTRL 0x43 +#define PIT_CTRL_SELECT_MASK 0xc0 +#define PIT_CTRL_SELECT_0 0x00 +#define PIT_CTRL_SELECT_1 0x40 +#define PIT_CTRL_SELECT_2 0x80 + +/* Read and load control. */ +#define PIT_CTRL_READLOAD_MASK 0x30 +#define PIT_CTRL_COUNTER_LATCH 0x00 /* Hold timer value until read. */ +#define PIT_CTRL_READLOAD_LSB 0x10 /* Read/load the LSB. */ +#define PIT_CTRL_READLOAD_MSB 0x20 /* Read/load the MSB. */ +#define PIT_CTRL_READLOAD_WORD 0x30 /* Read/load the LSB then the MSB. */ + +/* Mode control. */ +#define PIT_CTRL_MODE_MASK 0x0e + +/* Interrupt on terminal count. Setting the mode sets output to low. + When counter is set and terminated, output is set to high. */ +#define PIT_CTRL_INTR_ON_TERM 0x00 + +/* Programmable one-shot. When loading counter, output is set to + high. When counter terminated, output is set to low. Can be + triggered again from that point on by setting the gate pin to + high. */ +#define PIT_CTRL_PROGR_ONE_SHOT 0x02 + +/* Rate generator. Output is low for one period of the counter, and + high for the other. */ +#define PIT_CTRL_RATE_GEN 0x04 + +/* Square wave generator. Output is low for one half of the period, + and high for the other half. */ +#define PIT_CTRL_SQUAREWAVE_GEN 0x06 + +/* Software triggered strobe. Setting the mode sets output to high. + When counter is set and terminated, output is set to low. */ +#define PIT_CTRL_SOFTSTROBE 0x08 + +/* Hardware triggered strobe. Like software triggered strobe, but + only starts the counter when the gate pin is set to high. */ +#define PIT_CTRL_HARDSTROBE 0x0a + +/* Count mode. */ +#define PIT_CTRL_COUNT_MASK 0x01 +#define PIT_CTRL_COUNT_BINARY 0x00 /* 16-bit binary counter. */ +#define PIT_CTRL_COUNT_BCD 0x01 /* 4-decade BCD counter. */ + +#define T_REST ((grub_uint16_t) 0) +#define T_FINE ((grub_uint16_t) -1) + +struct note +{ + grub_uint16_t pitch; + grub_uint16_t duration; +}; + +static void +beep_off (void) +{ + unsigned char status; + + status = grub_inb (SPEAKER); + grub_outb (status & ~(SPEAKER_TMR2 | SPEAKER_DATA), SPEAKER); +} + +static void +beep_on (grub_uint16_t pitch) +{ + unsigned char status; + unsigned int counter; + + if (pitch < 20) + pitch = 20; + else if (pitch > 20000) + pitch = 20000; + + counter = PIT_FREQUENCY / pitch; + + /* Program timer 2. */ + grub_outb (PIT_CTRL_SELECT_2 | PIT_CTRL_READLOAD_WORD + | PIT_CTRL_SQUAREWAVE_GEN | PIT_CTRL_COUNT_BINARY, PIT_CTRL); + grub_outb (counter & 0xff, PIT_COUNTER_2); /* LSB */ + grub_outb ((counter >> 8) & 0xff, PIT_COUNTER_2); /* MSB */ + + /* Start speaker. */ + status = grub_inb (SPEAKER); + grub_outb (status | SPEAKER_TMR2 | SPEAKER_DATA, SPEAKER); +} + +/* Returns whether playing should continue. */ +static int +play (unsigned tempo, struct note *note) +{ + unsigned int to; + + if (note->pitch == T_FINE || grub_checkkey () >= 0) + return 1; + + grub_dprintf ("play", "pitch = %d, duration = %d\n", note->pitch, + note->duration); + + switch (note->pitch) + { + case T_REST: + beep_off (); + break; + + default: + beep_on (note->pitch); + break; + } + + to = grub_get_rtc () + BASE_TEMPO * note->duration / tempo; + while (((unsigned int) grub_get_rtc () <= to) && (grub_checkkey () < 0)) + ; + + return 0; +} + +static grub_err_t +grub_cmd_play (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name or tempo and notes required"); + + if (argc == 1) + { + struct note buf; + grub_uint32_t tempo; + grub_file_t file; + + file = grub_file_open (args[0]); + + if (! file) + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + + if (grub_file_read (file, &tempo, sizeof (tempo)) != sizeof (tempo)) + { + grub_file_close (file); + return grub_error (GRUB_ERR_FILE_READ_ERROR, + "file doesn't even contains a full tempo record"); + } + + tempo = grub_le_to_cpu32 (tempo); + grub_dprintf ("play","tempo = %d\n", tempo); + + while (grub_file_read (file, &buf, + sizeof (struct note)) == sizeof (struct note)) + { + buf.pitch = grub_le_to_cpu16 (buf.pitch); + buf.duration = grub_le_to_cpu16 (buf.duration); + + if (play (tempo, &buf)) + break; + } + + grub_file_close (file); + } + else + { + char *end; + unsigned tempo; + struct note note; + int i; + + tempo = grub_strtoul (args[0], &end, 0); + + if (*end) + /* Was not a number either, assume it was supposed to be a file name. */ + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + + grub_dprintf ("play","tempo = %d\n", tempo); + + for (i = 1; i + 1 < argc; i += 2) + { + note.pitch = grub_strtoul (args[i], &end, 0); + if (*end) + { + grub_error (GRUB_ERR_BAD_NUMBER, "bogus pitch number"); + break; + } + + note.duration = grub_strtoul (args[i + 1], &end, 0); + if (*end) + { + grub_error (GRUB_ERR_BAD_NUMBER, "bogus duration number"); + break; + } + + if (play (tempo, ¬e)) + break; + } + } + + beep_off (); + + while (grub_checkkey () > 0) + grub_getkey (); + + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(play) +{ + cmd = grub_register_command ("play", grub_cmd_play, + N_("FILE | TEMPO [PITCH1 DURATION1] [PITCH2 DURATION2] ... "), + N_("Play a tune.")); +} + +GRUB_MOD_FINI(play) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/i386/pc/pxecmd.c b/grub-core/commands/i386/pc/pxecmd.c new file mode 100644 index 0000000..dffa15a --- /dev/null +++ b/grub-core/commands/i386/pc/pxecmd.c @@ -0,0 +1,54 @@ +/* pxe.c - command to control the pxe driver */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_pxe_unload (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + if (! grub_pxe_pxenv) + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "no pxe environment"); + + grub_pxe_unload (); + + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(pxecmd) +{ + cmd = grub_register_command ("pxe_unload", grub_cmd_pxe_unload, + 0, + N_("Unload PXE environment.")); +} + +GRUB_MOD_FINI(pxecmd) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/i386/pc/sendkey.c b/grub-core/commands/i386/pc/sendkey.c new file mode 100644 index 0000000..a55d17b --- /dev/null +++ b/grub-core/commands/i386/pc/sendkey.c @@ -0,0 +1,385 @@ +/* sendkey.c - fake keystroke. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv2+"); + +static char sendkey[0x20]; +/* Length of sendkey. */ +static int keylen = 0; +static int noled = 0; +static const struct grub_arg_option options[] = + { + {"num", 'n', 0, "set numlock mode", "[on|off]", ARG_TYPE_STRING}, + {"caps", 'c', 0, "set capslock mode", "[on|off]", ARG_TYPE_STRING}, + {"scroll", 's', 0, "set scrolllock mode", "[on|off]", ARG_TYPE_STRING}, + {"insert", 0, 0, "set insert mode", "[on|off]", ARG_TYPE_STRING}, + {"pause", 0, 0, "set pause mode", "[on|off]", ARG_TYPE_STRING}, + {"left-shift", 0, 0, "press left shift", "[on|off]", ARG_TYPE_STRING}, + {"right-shift", 0, 0, "press right shift", "[on|off]", ARG_TYPE_STRING}, + {"sysrq", 0, 0, "press SysRq", "[on|off]", ARG_TYPE_STRING}, + {"numkey", 0, 0, "press NumLock key", "[on|off]", ARG_TYPE_STRING}, + {"capskey", 0, 0, "press CapsLock key", "[on|off]", ARG_TYPE_STRING}, + {"scrollkey", 0, 0, "press ScrollLock key", "[on|off]", ARG_TYPE_STRING}, + {"insertkey", 0, 0, "press Insert key", "[on|off]", ARG_TYPE_STRING}, + {"left-alt", 0, 0, "press left alt", "[on|off]", ARG_TYPE_STRING}, + {"right-alt", 0, 0, "press right alt", "[on|off]", ARG_TYPE_STRING}, + {"left-ctrl", 0, 0, "press left ctrl", "[on|off]", ARG_TYPE_STRING}, + {"right-ctrl", 0, 0, "press right ctrl", "[on|off]", ARG_TYPE_STRING}, + {"no-led", 0, 0, "don't update LED state", 0, 0}, + {0, 0, 0, 0, 0, 0} + }; +static int simple_flag_offsets[] += {5, 6, 4, 7, 11, 1, 0, 10, 13, 14, 12, 15, 9, 3, 8, 2}; + +static grub_uint32_t andmask = 0xffffffff, ormask = 0; + +struct +keysym +{ + char *unshifted_name; /* the name in unshifted state */ + char *shifted_name; /* the name in shifted state */ + unsigned char unshifted_ascii; /* the ascii code in unshifted state */ + unsigned char shifted_ascii; /* the ascii code in shifted state */ + unsigned char keycode; /* keyboard scancode */ +}; + +/* The table for key symbols. If the "shifted" member of an entry is + NULL, the entry does not have shifted state. Copied from GRUB Legacy setkey fuction */ +static struct keysym keysym_table[] = +{ + {"escape", 0, 0x1b, 0, 0x01}, + {"1", "exclam", '1', '!', 0x02}, + {"2", "at", '2', '@', 0x03}, + {"3", "numbersign", '3', '#', 0x04}, + {"4", "dollar", '4', '$', 0x05}, + {"5", "percent", '5', '%', 0x06}, + {"6", "caret", '6', '^', 0x07}, + {"7", "ampersand", '7', '&', 0x08}, + {"8", "asterisk", '8', '*', 0x09}, + {"9", "parenleft", '9', '(', 0x0a}, + {"0", "parenright", '0', ')', 0x0b}, + {"minus", "underscore", '-', '_', 0x0c}, + {"equal", "plus", '=', '+', 0x0d}, + {"backspace", 0, '\b', 0, 0x0e}, + {"tab", 0, '\t', 0, 0x0f}, + {"q", "Q", 'q', 'Q', 0x10}, + {"w", "W", 'w', 'W', 0x11}, + {"e", "E", 'e', 'E', 0x12}, + {"r", "R", 'r', 'R', 0x13}, + {"t", "T", 't', 'T', 0x14}, + {"y", "Y", 'y', 'Y', 0x15}, + {"u", "U", 'u', 'U', 0x16}, + {"i", "I", 'i', 'I', 0x17}, + {"o", "O", 'o', 'O', 0x18}, + {"p", "P", 'p', 'P', 0x19}, + {"bracketleft", "braceleft", '[', '{', 0x1a}, + {"bracketright", "braceright", ']', '}', 0x1b}, + {"enter", 0, '\r', 0, 0x1c}, + {"control", 0, 0, 0, 0x1d}, + {"a", "A", 'a', 'A', 0x1e}, + {"s", "S", 's', 'S', 0x1f}, + {"d", "D", 'd', 'D', 0x20}, + {"f", "F", 'f', 'F', 0x21}, + {"g", "G", 'g', 'G', 0x22}, + {"h", "H", 'h', 'H', 0x23}, + {"j", "J", 'j', 'J', 0x24}, + {"k", "K", 'k', 'K', 0x25}, + {"l", "L", 'l', 'L', 0x26}, + {"semicolon", "colon", ';', ':', 0x27}, + {"quote", "doublequote", '\'', '"', 0x28}, + {"backquote", "tilde", '`', '~', 0x29}, + {"shift", 0, 0, 0, 0x2a}, + {"backslash", "bar", '\\', '|', 0x2b}, + {"z", "Z", 'z', 'Z', 0x2c}, + {"x", "X", 'x', 'X', 0x2d}, + {"c", "C", 'c', 'C', 0x2e}, + {"v", "V", 'v', 'V', 0x2f}, + {"b", "B", 'b', 'B', 0x30}, + {"n", "N", 'n', 'N', 0x31}, + {"m", "M", 'm', 'M', 0x32}, + {"comma", "less", ',', '<', 0x33}, + {"period", "greater", '.', '>', 0x34}, + {"slash", "question", '/', '?', 0x35}, + {"rshift", 0, 0, 0, 0x36}, + {"numasterisk", 0, '*', 0, 0x37}, + {"alt", 0, 0, 0, 0x38}, + {"space", 0, ' ', 0, 0x39}, + {"capslock", 0, 0, 0, 0x3a}, + {"F1", 0, 0, 0, 0x3b}, + {"F2", 0, 0, 0, 0x3c}, + {"F3", 0, 0, 0, 0x3d}, + {"F4", 0, 0, 0, 0x3e}, + {"F5", 0, 0, 0, 0x3f}, + {"F6", 0, 0, 0, 0x40}, + {"F7", 0, 0, 0, 0x41}, + {"F8", 0, 0, 0, 0x42}, + {"F9", 0, 0, 0, 0x43}, + {"F10", 0, 0, 0, 0x44}, + {"num7", "numhome", '7', 0, 0x47}, + {"num8", "numup", '8', 0, 0x48}, + {"num9", "numpgup", '9', 0, 0x49}, + {"numminus", 0, '-', 0, 0x4a}, + {"num4", "numleft", '4', 0, 0x4b}, + {"num5", "numcenter", '5', 0, 0x4c}, + {"num6", "numright", '6', 0, 0x4d}, + {"numplus", 0, '-', 0, 0x4e}, + {"num1", "numend", '1', 0, 0x4f}, + {"num2", "numdown", '2', 0, 0x50}, + {"num3", "numpgdown", '3', 0, 0x51}, + {"num0", "numinsert", '0', 0, 0x52}, + {"numperiod", "numdelete", 0, 0x7f, 0x53}, + {"F11", 0, 0, 0, 0x57}, + {"F12", 0, 0, 0, 0x58}, + {"numenter", 0, '\r', 0, 0xe0}, + {"numslash", 0, '/', 0, 0xe0}, + {"delete", 0, 0x7f, 0, 0xe0}, + {"insert", 0, 0xe0, 0, 0x52}, + {"home", 0, 0xe0, 0, 0x47}, + {"end", 0, 0xe0, 0, 0x4f}, + {"pgdown", 0, 0xe0, 0, 0x51}, + {"pgup", 0, 0xe0, 0, 0x49}, + {"down", 0, 0xe0, 0, 0x50}, + {"up", 0, 0xe0, 0, 0x48}, + {"left", 0, 0xe0, 0, 0x4b}, + {"right", 0, 0xe0, 0, 0x4d} +}; + +/* Set a simple flag in flags variable + OUTOFFSET - offset of flag in FLAGS, + OP - action id +*/ +static void +grub_sendkey_set_simple_flag (int outoffset, int op) +{ + if (op == 2) + { + andmask |= (1 << outoffset); + ormask &= ~(1 << outoffset); + } + else + { + andmask &= (~(1 << outoffset)); + if (op == 1) + ormask |= (1 << outoffset); + else + ormask &= ~(1 << outoffset); + } +} + +static int +grub_sendkey_parse_op (struct grub_arg_list state) +{ + if (! state.set) + return 2; + + if (grub_strcmp (state.arg, "off") == 0 || grub_strcmp (state.arg, "0") == 0 + || grub_strcmp (state.arg, "unpress") == 0) + return 0; + + if (grub_strcmp (state.arg, "on") == 0 || grub_strcmp (state.arg, "1") == 0 + || grub_strcmp (state.arg, "press") == 0) + return 1; + + return 2; +} + +static grub_uint32_t oldflags; + +static grub_err_t +grub_sendkey_postboot (void) +{ + /* For convention: pointer to flags. */ + grub_uint32_t *flags = (grub_uint32_t *) 0x417; + + *flags = oldflags; + + *((char *) 0x41a) = 0x1e; + *((char *) 0x41c) = 0x1e; + + return GRUB_ERR_NONE; +} + +/* Set keyboard buffer to our sendkey */ +static grub_err_t +grub_sendkey_preboot (int noret __attribute__ ((unused))) +{ + /* For convention: pointer to flags. */ + grub_uint32_t *flags = (grub_uint32_t *) 0x417; + + oldflags = *flags; + + /* Set the sendkey. */ + *((char *) 0x41a) = 0x1e; + *((char *) 0x41c) = keylen + 0x1e; + grub_memcpy ((char *) 0x41e, sendkey, 0x20); + + /* Transform "any ctrl" to "right ctrl" flag. */ + if (*flags & (1 << 8)) + *flags &= ~(1 << 2); + + /* Transform "any alt" to "right alt" flag. */ + if (*flags & (1 << 9)) + *flags &= ~(1 << 3); + + *flags = (*flags & andmask) | ormask; + + /* Transform "right ctrl" to "any ctrl" flag. */ + if (*flags & (1 << 8)) + *flags |= (1 << 2); + + /* Transform "right alt" to "any alt" flag. */ + if (*flags & (1 << 9)) + *flags |= (1 << 3); + + /* Write new LED state */ + if (!noled) + { + int value = 0; + int failed; + /* Try 5 times */ + for (failed = 0; failed < 5; failed++) + { + value = 0; + /* Send command change LEDs */ + grub_outb (0xed, 0x60); + + /* Wait */ + do + value = grub_inb (0x60); + while ((value != 0xfa) && (value != 0xfe)); + + if (value == 0xfa) + { + /* Set new LEDs*/ + grub_outb ((*flags >> 4) & 7, 0x60); + break; + } + } + } + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_sendkey (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + + auto int find_key_code (char *key); + auto int find_ascii_code (char *key); + + int find_key_code (char *key) + { + unsigned i; + + for (i = 0; i < sizeof (keysym_table) / sizeof (keysym_table[0]); i++) + { + if (keysym_table[i].unshifted_name + && grub_strcmp (key, keysym_table[i].unshifted_name) == 0) + return keysym_table[i].keycode; + else if (keysym_table[i].shifted_name + && grub_strcmp (key, keysym_table[i].shifted_name) == 0) + return keysym_table[i].keycode; + } + + return 0; + } + + int find_ascii_code (char *key) + { + unsigned i; + + for (i = 0; i < sizeof (keysym_table) / sizeof (keysym_table[0]); i++) + { + if (keysym_table[i].unshifted_name + && grub_strcmp (key, keysym_table[i].unshifted_name) == 0) + return keysym_table[i].unshifted_ascii; + else if (keysym_table[i].shifted_name + && grub_strcmp (key, keysym_table[i].shifted_name) == 0) + return keysym_table[i].shifted_ascii; + } + + return 0; + } + + andmask = 0xffffffff; + ormask = 0; + + { + int i; + + keylen = 0; + + for (i = 0; i < argc && keylen < 0x20; i++) + { + int key_code; + + key_code = find_key_code (args[i]); + if (key_code) + { + sendkey[keylen++] = find_ascii_code (args[i]); + sendkey[keylen++] = key_code; + } + } + } + + { + unsigned i; + for (i = 0; i < sizeof (simple_flag_offsets) + / sizeof (simple_flag_offsets[0]); i++) + grub_sendkey_set_simple_flag (simple_flag_offsets[i], + grub_sendkey_parse_op(state[i])); + } + + /* Set noled. */ + noled = (state[sizeof (simple_flag_offsets) + / sizeof (simple_flag_offsets[0])].set); + + return GRUB_ERR_NONE; +} + +static grub_extcmd_t cmd; +static void *preboot_hook; + +GRUB_MOD_INIT (sendkey) +{ + cmd = grub_register_extcmd ("sendkey", grub_cmd_sendkey, 0, + "sendkey [KEYSTROKE1] [KEYSTROKE2] ...", + "Emulate a keystroke", options); + + preboot_hook + = grub_loader_register_preboot_hook (grub_sendkey_preboot, + grub_sendkey_postboot, + GRUB_LOADER_PREBOOT_HOOK_PRIO_CONSOLE); +} + +GRUB_MOD_FINI (sendkey) +{ + grub_unregister_extcmd (cmd); + grub_loader_unregister_preboot_hook (preboot_hook); +} diff --git a/grub-core/commands/ieee1275/suspend.c b/grub-core/commands/ieee1275/suspend.c new file mode 100644 index 0000000..de06895 --- /dev/null +++ b/grub-core/commands/ieee1275/suspend.c @@ -0,0 +1,51 @@ +/* suspend.c - command to suspend GRUB and return to Open Firmware */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_suspend (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_printf ("Run 'go' to resume GRUB.\n"); + grub_ieee1275_enter (); + grub_cls (); + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(ieee1275_suspend) +{ + cmd = grub_register_command ("suspend", grub_cmd_suspend, + 0, N_("Return to Open Firmware prompt.")); +} + +GRUB_MOD_FINI(ieee1275_suspend) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/iorw.c b/grub-core/commands/iorw.c new file mode 100644 index 0000000..e7035b5 --- /dev/null +++ b/grub-core/commands/iorw.c @@ -0,0 +1,152 @@ +/* memrw.c - command to read / write physical memory */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_extcmd_t cmd_read_byte, cmd_read_word, cmd_read_dword; +static grub_command_t cmd_write_byte, cmd_write_word, cmd_write_dword; + +static const struct grub_arg_option options[] = + { + {0, 'v', 0, N_("Save read value into variable VARNAME."), + N_("VARNAME"), ARG_TYPE_STRING}, + {0, 0, 0, 0, 0, 0} + }; + + +static grub_err_t +grub_cmd_read (grub_extcmd_context_t ctxt, int argc, char **argv) +{ + grub_target_addr_t addr; + grub_uint32_t value = 0; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Invalid number of arguments"); + + addr = grub_strtoul (argv[0], 0, 0); + switch (ctxt->extcmd->cmd->name[sizeof ("in") - 1]) + { + case 'l': + value = grub_inl (addr); + break; + + case 'w': + value = grub_inw (addr); + break; + + case 'b': + value = grub_inb (addr); + break; + } + + if (ctxt->state[0].set) + { + char buf[sizeof ("XXXXXXXX")]; + grub_snprintf (buf, sizeof (buf), "%x", value); + grub_env_set (ctxt->state[0].arg, buf); + } + else + grub_printf ("0x%x\n", value); + + return 0; +} + +static grub_err_t +grub_cmd_write (grub_command_t cmd, int argc, char **argv) +{ + grub_target_addr_t addr; + grub_uint32_t value; + grub_uint32_t mask = 0xffffffff; + + if (argc != 2 && argc != 3) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Invalid number of arguments"); + + addr = grub_strtoul (argv[0], 0, 0); + value = grub_strtoul (argv[1], 0, 0); + if (argc == 3) + mask = grub_strtoul (argv[2], 0, 0); + value &= mask; + switch (cmd->name[sizeof ("out") - 1]) + { + case 'l': + if (mask != 0xffffffff) + grub_outl ((grub_inl (addr) & ~mask) | value, addr); + else + grub_outl (value, addr); + break; + + case 'w': + if ((mask & 0xffff) != 0xffff) + grub_outw ((grub_inw (addr) & ~mask) | value, addr); + else + grub_outw (value, addr); + break; + + case 'b': + if ((mask & 0xff) != 0xff) + grub_outb ((grub_inb (addr) & ~mask) | value, addr); + else + grub_outb (value, addr); + break; + } + + return 0; +} + +GRUB_MOD_INIT(memrw) +{ + cmd_read_byte = + grub_register_extcmd ("inb", grub_cmd_read, 0, + N_("PORT"), N_("Read byte from PORT."), options); + cmd_read_word = + grub_register_extcmd ("inw", grub_cmd_read, 0, + N_("PORT"), N_("Read word from PORT."), options); + cmd_read_dword = + grub_register_extcmd ("inl", grub_cmd_read, 0, + N_("PORT"), N_("Read dword from PORT."), options); + cmd_write_byte = + grub_register_command ("outb", grub_cmd_write, + N_("PORT VALUE [MASK]"), + N_("Write byte VALUE to PORT.")); + cmd_write_word = + grub_register_command ("outw", grub_cmd_write, + N_("PORT VALUE [MASK]"), + N_("Write word VALUE to PORT.")); + cmd_write_dword = + grub_register_command ("outl", grub_cmd_write, + N_("ADDR VALUE [MASK]"), + N_("Write dword VALUE to PORT.")); +} + +GRUB_MOD_FINI(memrw) +{ + grub_unregister_extcmd (cmd_read_byte); + grub_unregister_extcmd (cmd_read_word); + grub_unregister_extcmd (cmd_read_dword); + grub_unregister_command (cmd_write_byte); + grub_unregister_command (cmd_write_word); + grub_unregister_command (cmd_write_dword); +} diff --git a/grub-core/commands/keylayouts.c b/grub-core/commands/keylayouts.c new file mode 100644 index 0000000..6c5913a --- /dev/null +++ b/grub-core/commands/keylayouts.c @@ -0,0 +1,299 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static struct grub_keyboard_layout layout_us = { + .keyboard_map = { + /* Keyboard errors. Handled by driver. */ + /* 0x00 */ 0, 0, 0, 0, + + /* 0x04 */ 'a', 'b', 'c', 'd', + /* 0x08 */ 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', + /* 0x10 */ 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', + /* 0x18 */ 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', + /* 0x20 */ '3', '4', '5', '6', '7', '8', '9', '0', + /* 0x28 */ '\n', '\e', '\b', '\t', ' ', '-', '=', '[', + /* According to usage table 0x31 should be mapped to '/' + but testing with real keyboard shows that 0x32 is remapped to '/'. + Map 0x31 to 0. + */ + /* 0x30 */ ']', 0, '\\', ';', '\'', '`', ',', '.', + /* 0x39 is CapsLock. Handled by driver. */ + /* 0x38 */ '/', 0, GRUB_TERM_KEY_F1, GRUB_TERM_KEY_F2, + /* 0x3c */ GRUB_TERM_KEY_F3, GRUB_TERM_KEY_F4, + /* 0x3e */ GRUB_TERM_KEY_F5, GRUB_TERM_KEY_F6, + /* 0x40 */ GRUB_TERM_KEY_F7, GRUB_TERM_KEY_F8, + /* 0x42 */ GRUB_TERM_KEY_F9, GRUB_TERM_KEY_F10, + /* 0x44 */ GRUB_TERM_KEY_F11, GRUB_TERM_KEY_F12, + /* PrtScr and ScrollLock. Not handled yet. */ + /* 0x46 */ 0, 0, + /* 0x48 is Pause. Not handled yet. */ + /* 0x48 */ 0, GRUB_TERM_KEY_INSERT, + /* 0x4a */ GRUB_TERM_KEY_HOME, GRUB_TERM_KEY_PPAGE, + /* 0x4c */ GRUB_TERM_KEY_DC, GRUB_TERM_KEY_END, + /* 0x4e */ GRUB_TERM_KEY_NPAGE, GRUB_TERM_KEY_RIGHT, + /* 0x50 */ GRUB_TERM_KEY_LEFT, GRUB_TERM_KEY_DOWN, + /* 0x53 is NumLock. Handled by driver. */ + /* 0x52 */ GRUB_TERM_KEY_UP, 0, + /* 0x54 */ '/', '*', + /* 0x56 */ '-', '+', + /* 0x58 */ '\n', GRUB_TERM_KEY_END, + /* 0x5a */ GRUB_TERM_KEY_DOWN, GRUB_TERM_KEY_NPAGE, + /* 0x5c */ GRUB_TERM_KEY_LEFT, GRUB_TERM_KEY_CENTER, + /* 0x5e */ GRUB_TERM_KEY_RIGHT, GRUB_TERM_KEY_HOME, + /* 0x60 */ GRUB_TERM_KEY_UP, GRUB_TERM_KEY_PPAGE, + /* 0x62 */ GRUB_TERM_KEY_INSERT, GRUB_TERM_KEY_DC, + /* 0x64 */ '\\' + }, + .keyboard_map_shift = { + /* Keyboard errors. Handled by driver. */ + /* 0x00 */ 0, 0, 0, 0, + + /* 0x04 */ 'A', 'B', 'C', 'D', + /* 0x08 */ 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', + /* 0x10 */ 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', + /* 0x18 */ 'U', 'V', 'W', 'X', 'Y', 'Z', '!', '@', + /* 0x20 */ '#', '$', '%', '^', '&', '*', '(', ')', + /* 0x28 */ '\n' | GRUB_TERM_SHIFT, '\e' | GRUB_TERM_SHIFT, + /* 0x2a */ '\b' | GRUB_TERM_SHIFT, '\t' | GRUB_TERM_SHIFT, + /* 0x2c */ ' ' | GRUB_TERM_SHIFT, '_', '+', '{', + /* According to usage table 0x31 should be mapped to '/' + but testing with real keyboard shows that 0x32 is remapped to '/'. + Map 0x31 to 0. + */ + /* 0x30 */ '}', 0, '|', ':', '"', '~', '<', '>', + /* 0x39 is CapsLock. Handled by driver. */ + /* 0x38 */ '?', 0, + /* 0x3a */ GRUB_TERM_KEY_F1 | GRUB_TERM_SHIFT, + /* 0x3b */ GRUB_TERM_KEY_F2 | GRUB_TERM_SHIFT, + /* 0x3c */ GRUB_TERM_KEY_F3 | GRUB_TERM_SHIFT, + /* 0x3d */ GRUB_TERM_KEY_F4 | GRUB_TERM_SHIFT, + /* 0x3e */ GRUB_TERM_KEY_F5 | GRUB_TERM_SHIFT, + /* 0x3f */ GRUB_TERM_KEY_F6 | GRUB_TERM_SHIFT, + /* 0x40 */ GRUB_TERM_KEY_F7 | GRUB_TERM_SHIFT, + /* 0x41 */ GRUB_TERM_KEY_F8 | GRUB_TERM_SHIFT, + /* 0x42 */ GRUB_TERM_KEY_F9 | GRUB_TERM_SHIFT, + /* 0x43 */ GRUB_TERM_KEY_F10 | GRUB_TERM_SHIFT, + /* 0x44 */ GRUB_TERM_KEY_F11 | GRUB_TERM_SHIFT, + /* 0x45 */ GRUB_TERM_KEY_F12 | GRUB_TERM_SHIFT, + /* PrtScr and ScrollLock. Not handled yet. */ + /* 0x46 */ 0, 0, + /* 0x48 is Pause. Not handled yet. */ + /* 0x48 */ 0, GRUB_TERM_KEY_INSERT | GRUB_TERM_SHIFT, + /* 0x4a */ GRUB_TERM_KEY_HOME | GRUB_TERM_SHIFT, + /* 0x4b */ GRUB_TERM_KEY_PPAGE | GRUB_TERM_SHIFT, + /* 0x4c */ GRUB_TERM_KEY_DC | GRUB_TERM_SHIFT, + /* 0x4d */ GRUB_TERM_KEY_END | GRUB_TERM_SHIFT, + /* 0x4e */ GRUB_TERM_KEY_NPAGE | GRUB_TERM_SHIFT, + /* 0x4f */ GRUB_TERM_KEY_RIGHT | GRUB_TERM_SHIFT, + /* 0x50 */ GRUB_TERM_KEY_LEFT | GRUB_TERM_SHIFT, + /* 0x51 */ GRUB_TERM_KEY_DOWN | GRUB_TERM_SHIFT, + /* 0x53 is NumLock. Handled by driver. */ + /* 0x52 */ GRUB_TERM_KEY_UP | GRUB_TERM_SHIFT, 0, + /* 0x54 */ '/', '*', + /* 0x56 */ '-', '+', + /* 0x58 */ '\n' | GRUB_TERM_SHIFT, '1', '2', '3', '4', '5','6', '7', + /* 0x60 */ '8', '9', '0', '.', '|' + } +}; + +static struct grub_keyboard_layout *grub_current_layout = &layout_us; + +static int +map_key_core (int code, int status, int *alt_gr_consumed) +{ + *alt_gr_consumed = 0; + + if (status & GRUB_TERM_STATUS_RALT) + { + if (status & (GRUB_TERM_STATUS_LSHIFT | GRUB_TERM_STATUS_RSHIFT)) + { + if (grub_current_layout->keyboard_map_shift_l3[code]) + { + *alt_gr_consumed = 1; + return grub_current_layout->keyboard_map_shift_l3[code]; + } + } + else if (grub_current_layout->keyboard_map_l3[code]) + { + *alt_gr_consumed = 1; + return grub_current_layout->keyboard_map_l3[code]; + } + } + if (status & (GRUB_TERM_STATUS_LSHIFT | GRUB_TERM_STATUS_RSHIFT)) + return grub_current_layout->keyboard_map_shift[code]; + else + return grub_current_layout->keyboard_map[code]; +} + +unsigned +grub_term_map_key (grub_keyboard_key_t code, int status) +{ + int alt_gr_consumed = 0; + int key; + + if (code >= 0x59 && code <= 0x63 && (status & GRUB_TERM_STATUS_NUM)) + { + if (status & (GRUB_TERM_STATUS_RSHIFT | GRUB_TERM_STATUS_LSHIFT)) + status &= ~(GRUB_TERM_STATUS_RSHIFT | GRUB_TERM_STATUS_LSHIFT); + else + status |= GRUB_TERM_STATUS_RSHIFT; + } + + key = map_key_core (code, status, &alt_gr_consumed); + + if (key == 0 || key == GRUB_TERM_SHIFT) + grub_printf ("Unknown key 0x%x detected\n", code); + + if (status & GRUB_TERM_STATUS_CAPS) + { + if ((key >= 'a') && (key <= 'z')) + key += 'A' - 'a'; + else if ((key >= 'A') && (key <= 'Z')) + key += 'a' - 'A'; + } + + if ((status & GRUB_TERM_STATUS_LALT) || + ((status & GRUB_TERM_STATUS_RALT) && !alt_gr_consumed)) + key |= GRUB_TERM_ALT; + if (status & (GRUB_TERM_STATUS_LCTRL | GRUB_TERM_STATUS_RCTRL)) + key |= GRUB_TERM_CTRL; + + return key; +} + +static grub_err_t +grub_cmd_keymap (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + char *filename; + grub_file_t file; + grub_uint32_t version; + grub_uint8_t magic[GRUB_KEYBOARD_LAYOUTS_FILEMAGIC_SIZE]; + struct grub_keyboard_layout *newmap = NULL; + unsigned i; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file or layout name required"); + if (argv[0][0] != '(' && argv[0][0] != '/' && argv[0][0] != '+') + { + const char *prefix = grub_env_get ("prefix"); + if (!prefix) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "No prefix set"); + filename = grub_xasprintf ("%s/layouts/%s.gkb", prefix, argv[0]); + if (!filename) + return grub_errno; + } + else + filename = argv[0]; + + file = grub_file_open (filename); + if (! file) + goto fail; + + if (grub_file_read (file, magic, sizeof (magic)) != sizeof (magic)) + { + if (!grub_errno) + grub_error (GRUB_ERR_BAD_ARGUMENT, "file is too short"); + goto fail; + } + + if (grub_memcmp (magic, GRUB_KEYBOARD_LAYOUTS_FILEMAGIC, + GRUB_KEYBOARD_LAYOUTS_FILEMAGIC_SIZE) != 0) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid magic"); + goto fail; + } + + if (grub_file_read (file, &version, sizeof (version)) != sizeof (version)) + { + if (!grub_errno) + grub_error (GRUB_ERR_BAD_ARGUMENT, "file is too short"); + goto fail; + } + + if (grub_le_to_cpu32 (version) != GRUB_KEYBOARD_LAYOUTS_VERSION) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid version"); + goto fail; + } + + newmap = grub_malloc (sizeof (*newmap)); + if (!newmap) + goto fail; + + if (grub_file_read (file, newmap, sizeof (*newmap)) != sizeof (*newmap)) + { + if (!grub_errno) + grub_error (GRUB_ERR_BAD_ARGUMENT, "file is too short"); + goto fail; + } + + for (i = 0; i < ARRAY_SIZE (newmap->keyboard_map); i++) + newmap->keyboard_map[i] = grub_le_to_cpu32(newmap->keyboard_map[i]); + + for (i = 0; i < ARRAY_SIZE (newmap->keyboard_map_shift); i++) + newmap->keyboard_map_shift[i] + = grub_le_to_cpu32(newmap->keyboard_map_shift[i]); + + for (i = 0; i < ARRAY_SIZE (newmap->keyboard_map_l3); i++) + newmap->keyboard_map_l3[i] + = grub_le_to_cpu32(newmap->keyboard_map_l3[i]); + + for (i = 0; i < ARRAY_SIZE (newmap->keyboard_map_shift_l3); i++) + newmap->keyboard_map_shift_l3[i] + = grub_le_to_cpu32(newmap->keyboard_map_shift_l3[i]); + + grub_current_layout = newmap; + + return GRUB_ERR_NONE; + + fail: + if (filename != argv[0]) + grub_free (filename); + grub_free (newmap); + if (file) + grub_file_close (file); + return grub_errno; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(keylayouts) +{ + cmd = grub_register_command ("keymap", grub_cmd_keymap, + 0, N_("Load a keyboard layout.")); +} + +GRUB_MOD_FINI(keylayouts) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/keystatus.c b/grub-core/commands/keystatus.c new file mode 100644 index 0000000..f3a6699 --- /dev/null +++ b/grub-core/commands/keystatus.c @@ -0,0 +1,110 @@ +/* keystatus.c - Command to check key modifier status. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"shift", 's', 0, N_("Check Shift key."), 0, 0}, + {"ctrl", 'c', 0, N_("Check Control key."), 0, 0}, + {"alt", 'a', 0, N_("Check Alt key."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static int +grub_getkeystatus (void) +{ + int status = 0; + grub_term_input_t term; + + if (grub_term_poll_usb) + grub_term_poll_usb (); + + FOR_ACTIVE_TERM_INPUTS(term) + { + if (term->getkeystatus) + status |= term->getkeystatus (term); + } + + return status; +} + +static grub_err_t +grub_cmd_keystatus (grub_extcmd_context_t ctxt, + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + struct grub_arg_list *state = ctxt->state; + int expect_mods = 0; + int mods; + + if (state[0].set) + expect_mods |= (GRUB_TERM_STATUS_LSHIFT | GRUB_TERM_STATUS_RSHIFT); + if (state[1].set) + expect_mods |= (GRUB_TERM_STATUS_LCTRL | GRUB_TERM_STATUS_RCTRL); + if (state[2].set) + expect_mods |= (GRUB_TERM_STATUS_LALT | GRUB_TERM_STATUS_RALT); + + grub_dprintf ("keystatus", "expect_mods: %d\n", expect_mods); + + /* Without arguments, just check whether getkeystatus is supported at + all. */ + if (expect_mods == 0) + { + grub_term_input_t term; + int nterms = 0; + + FOR_ACTIVE_TERM_INPUTS (term) + if (!term->getkeystatus) + return grub_error (GRUB_ERR_TEST_FAILURE, "false"); + else + nterms++; + if (!nterms) + return grub_error (GRUB_ERR_TEST_FAILURE, "false"); + return 0; + } + + mods = grub_getkeystatus (); + grub_dprintf ("keystatus", "mods: %d\n", mods); + if (mods >= 0 && (mods & expect_mods) != 0) + return 0; + else + return grub_error (GRUB_ERR_TEST_FAILURE, "false"); +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(keystatus) +{ + cmd = grub_register_extcmd ("keystatus", grub_cmd_keystatus, 0, + N_("[--shift] [--ctrl] [--alt]"), + N_("Check key modifier status."), + options); +} + +GRUB_MOD_FINI(keystatus) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/legacycfg.c b/grub-core/commands/legacycfg.c new file mode 100644 index 0000000..e68b331 --- /dev/null +++ b/grub-core/commands/legacycfg.c @@ -0,0 +1,820 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000, 2001, 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +legacy_file (const char *filename) +{ + grub_file_t file; + char *entryname = NULL, *entrysrc = NULL; + grub_menu_t menu; + char *suffix = grub_strdup (""); + + auto grub_err_t getline (char **line, int cont); + grub_err_t getline (char **line, + int cont __attribute__ ((unused))) + { + *line = 0; + return GRUB_ERR_NONE; + } + + if (!suffix) + return grub_errno; + + file = grub_file_open (filename); + if (! file) + return grub_errno; + + menu = grub_env_get_menu (); + if (! menu) + { + menu = grub_zalloc (sizeof (*menu)); + if (! menu) + return grub_errno; + + grub_env_set_menu (menu); + } + + while (1) + { + char *buf = grub_file_getline (file); + char *parsed = NULL; + + if (!buf && grub_errno) + { + grub_file_close (file); + return grub_errno; + } + + if (!buf) + break; + + { + char *oldname = NULL; + char *newsuffix; + char *ptr; + + for (ptr = buf; *ptr && grub_isspace (*ptr); ptr++); + + oldname = entryname; + parsed = grub_legacy_parse (ptr, &entryname, &newsuffix); + grub_free (buf); + buf = NULL; + if (newsuffix) + { + char *t; + + t = suffix; + suffix = grub_realloc (suffix, grub_strlen (suffix) + + grub_strlen (newsuffix) + 1); + if (!suffix) + { + grub_free (t); + grub_free (entrysrc); + grub_free (parsed); + grub_free (newsuffix); + grub_free (suffix); + return grub_errno; + } + grub_memcpy (suffix + grub_strlen (suffix), newsuffix, + grub_strlen (newsuffix) + 1); + grub_free (newsuffix); + newsuffix = NULL; + } + if (oldname != entryname && oldname) + { + const char **args = grub_malloc (sizeof (args[0])); + if (!args) + { + grub_file_close (file); + return grub_errno; + } + args[0] = oldname; + grub_normal_add_menu_entry (1, args, NULL, NULL, NULL, NULL, + entrysrc, 0); + grub_free (args); + entrysrc[0] = 0; + grub_free (oldname); + } + } + + if (parsed && !entryname) + { + grub_normal_parse_line (parsed, getline); + grub_print_error (); + grub_free (parsed); + parsed = NULL; + } + else if (parsed) + { + if (!entrysrc) + entrysrc = parsed; + else + { + char *t; + + t = entrysrc; + entrysrc = grub_realloc (entrysrc, grub_strlen (entrysrc) + + grub_strlen (parsed) + 1); + if (!entrysrc) + { + grub_free (t); + grub_free (parsed); + grub_free (suffix); + return grub_errno; + } + grub_memcpy (entrysrc + grub_strlen (entrysrc), parsed, + grub_strlen (parsed) + 1); + grub_free (parsed); + parsed = NULL; + } + } + } + grub_file_close (file); + + if (entryname) + { + const char **args = grub_malloc (sizeof (args[0])); + if (!args) + { + grub_file_close (file); + return grub_errno; + } + args[0] = entryname; + grub_normal_add_menu_entry (1, args, NULL, NULL, NULL, NULL, entrysrc, 0); + grub_free (args); + } + + grub_normal_parse_line (suffix, getline); + grub_print_error (); + grub_free (suffix); + grub_free (entrysrc); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_legacy_source (struct grub_command *cmd, + int argc, char **args) +{ + int new_env, extractor; + grub_err_t ret; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name required"); + + extractor = (cmd->name[0] == 'e'); + new_env = (cmd->name[extractor ? (sizeof ("extract_legacy_entries_") - 1) + : (sizeof ("legacy_") - 1)] == 'c'); + + if (new_env) + grub_cls (); + + if (new_env && !extractor) + grub_env_context_open (); + if (extractor) + grub_env_extractor_open (!new_env); + + ret = legacy_file (args[0]); + + if (new_env) + { + grub_menu_t menu; + menu = grub_env_get_menu (); + if (menu && menu->size) + grub_show_menu (menu, 1, 0); + if (!extractor) + grub_env_context_close (); + } + if (extractor) + grub_env_extractor_close (!new_env); + + return ret; +} + +static enum + { + GUESS_IT, LINUX, MULTIBOOT, KFREEBSD, KNETBSD, KOPENBSD + } kernel_type; + +static grub_err_t +grub_cmd_legacy_kernel (struct grub_command *mycmd __attribute__ ((unused)), + int argc, char **args) +{ + int i; +#ifdef TODO + int no_mem_option = 0; +#endif + struct grub_command *cmd; + char **cutargs; + int cutargc; + + for (i = 0; i < 2; i++) + { + /* FIXME: really support this. */ + if (argc >= 1 && grub_strcmp (args[0], "--no-mem-option") == 0) + { +#ifdef TODO + no_mem_option = 1; +#endif + argc--; + args++; + continue; + } + + /* linux16 handles both zImages and bzImages. */ + if (argc >= 1 && (grub_strcmp (args[0], "--type=linux") == 0 + || grub_strcmp (args[0], "--type=biglinux") == 0)) + { + kernel_type = LINUX; + argc--; + args++; + continue; + } + + if (argc >= 1 && grub_strcmp (args[0], "--type=multiboot") == 0) + { + kernel_type = MULTIBOOT; + argc--; + args++; + continue; + } + + if (argc >= 1 && grub_strcmp (args[0], "--type=freebsd") == 0) + { + kernel_type = KFREEBSD; + argc--; + args++; + continue; + } + + if (argc >= 1 && grub_strcmp (args[0], "--type=openbsd") == 0) + { + kernel_type = KOPENBSD; + argc--; + args++; + continue; + } + + if (argc >= 1 && grub_strcmp (args[0], "--type=netbsd") == 0) + { + kernel_type = KNETBSD; + argc--; + args++; + continue; + } + } + + if (argc < 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "filename required"); + + cutargs = grub_malloc (sizeof (cutargs[0]) * (argc - 1)); + cutargc = argc - 1; + grub_memcpy (cutargs + 1, args + 2, sizeof (cutargs[0]) * (argc - 2)); + cutargs[0] = args[0]; + + do + { + /* First try Linux. */ + if (kernel_type == GUESS_IT || kernel_type == LINUX) + { + cmd = grub_command_find ("linux16"); + if (cmd) + { + if (!(cmd->func) (cmd, cutargc, cutargs)) + { + kernel_type = LINUX; + return GRUB_ERR_NONE; + } + } + grub_errno = GRUB_ERR_NONE; + } + + /* Then multiboot. */ + if (kernel_type == GUESS_IT || kernel_type == MULTIBOOT) + { + cmd = grub_command_find ("multiboot"); + if (cmd) + { + if (!(cmd->func) (cmd, argc, args)) + { + kernel_type = MULTIBOOT; + return GRUB_ERR_NONE; + } + } + grub_errno = GRUB_ERR_NONE; + } + + { + int bsd_device = -1; + int bsd_slice = -1; + int bsd_part = -1; + { + grub_device_t dev; + char *hdbiasstr; + int hdbias = 0; + hdbiasstr = grub_env_get ("legacy_hdbias"); + if (hdbiasstr) + { + hdbias = grub_strtoul (hdbiasstr, 0, 0); + grub_errno = GRUB_ERR_NONE; + } + dev = grub_device_open (0); + if (dev && dev->disk + && dev->disk->dev->id == GRUB_DISK_DEVICE_BIOSDISK_ID + && dev->disk->dev->id >= 0x80 && dev->disk->dev->id <= 0x90) + { + struct grub_partition *part = dev->disk->partition; + bsd_device = dev->disk->id - 0x80 - hdbias; + if (part && (grub_strcmp (part->partmap->name, "netbsd") == 0 + || grub_strcmp (part->partmap->name, "openbsd") == 0 + || grub_strcmp (part->partmap->name, "bsd") == 0)) + { + bsd_part = part->number; + part = part->parent; + } + if (part && grub_strcmp (part->partmap->name, "msdos") == 0) + bsd_slice = part->number; + } + } + + /* k*BSD didn't really work well with grub-legacy. */ + if (kernel_type == GUESS_IT || kernel_type == KFREEBSD) + { + char buf[sizeof("adXXXXXXXXXXXXsXXXXXXXXXXXXYYY")]; + if (bsd_device != -1) + { + if (bsd_slice != -1 && bsd_part != -1) + grub_snprintf(buf, sizeof(buf), "ad%ds%d%c", bsd_device, + bsd_slice, 'a' + bsd_part); + else if (bsd_slice != -1) + grub_snprintf(buf, sizeof(buf), "ad%ds%d", bsd_device, + bsd_slice); + else + grub_snprintf(buf, sizeof(buf), "ad%d", bsd_device); + grub_env_set ("kFreeBSD.vfs.root.mountfrom", buf); + } + else + grub_env_unset ("kFreeBSD.vfs.root.mountfrom"); + cmd = grub_command_find ("kfreebsd"); + if (cmd) + { + if (!(cmd->func) (cmd, cutargc, cutargs)) + { + kernel_type = KFREEBSD; + return GRUB_ERR_NONE; + } + } + grub_errno = GRUB_ERR_NONE; + } + { + char **bsdargs; + int bsdargc; + char bsddevname[sizeof ("wdXXXXXXXXXXXXY")]; + if (bsd_device == -1) + { + bsdargs = cutargs; + bsdargc = cutargc; + } + else + { + bsdargc = cutargc + 2; + bsdargs = grub_malloc (sizeof (bsdargs[0]) * bsdargc); + grub_memcpy (bsdargs, args, argc * sizeof (bsdargs[0])); + bsdargs[argc] = "-r"; + bsdargs[argc + 1] = bsddevname; + grub_snprintf (bsddevname, sizeof (bsddevname), + "wd%d%c", bsd_device, + bsd_part != -1 ? bsd_part + 'a' : 'c'); + } + if (kernel_type == GUESS_IT || kernel_type == KNETBSD) + { + cmd = grub_command_find ("knetbsd"); + if (cmd) + { + if (!(cmd->func) (cmd, bsdargc, bsdargs)) + { + kernel_type = KNETBSD; + return GRUB_ERR_NONE; + } + } + grub_errno = GRUB_ERR_NONE; + } + if (kernel_type == GUESS_IT || kernel_type == KOPENBSD) + { + cmd = grub_command_find ("kopenbsd"); + if (cmd) + { + if (!(cmd->func) (cmd, bsdargc, bsdargs)) + { + kernel_type = KOPENBSD; + return GRUB_ERR_NONE; + } + } + grub_errno = GRUB_ERR_NONE; + } + if (bsdargs != cutargs) + grub_free (bsdargs); + } + } + } + while (0); + + return grub_error (GRUB_ERR_BAD_OS, "couldn't load file %s\n", + args[0]); +} + +static grub_err_t +grub_cmd_legacy_initrd (struct grub_command *mycmd __attribute__ ((unused)), + int argc, char **args) +{ + struct grub_command *cmd; + + if (kernel_type == LINUX) + { + cmd = grub_command_find ("initrd16"); + if (!cmd) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "command initrd16 not found"); + + return cmd->func (cmd, argc, args); + } + if (kernel_type == MULTIBOOT) + { + cmd = grub_command_find ("module"); + if (!cmd) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "command module not found"); + + return cmd->func (cmd, argc, args); + } + + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "no kernel with module support is loaded in legacy way"); +} + +static grub_err_t +grub_cmd_legacy_initrdnounzip (struct grub_command *mycmd __attribute__ ((unused)), + int argc, char **args) +{ + struct grub_command *cmd; + + if (kernel_type == LINUX) + { + cmd = grub_command_find ("initrd16"); + if (!cmd) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "command initrd16 not found"); + + return cmd->func (cmd, argc, args); + } + if (kernel_type == MULTIBOOT) + { + char **newargs; + grub_err_t err; + newargs = grub_malloc ((argc + 1) * sizeof (newargs[0])); + if (!newargs) + return grub_errno; + grub_memcpy (newargs + 1, args, argc * sizeof (newargs[0])); + newargs[0] = "--nounzip"; + cmd = grub_command_find ("module"); + if (!cmd) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "command module not found"); + + err = cmd->func (cmd, argc + 1, newargs); + grub_free (newargs); + return err; + } + + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "no kernel with module support is loaded in legacy way"); +} + +static grub_err_t +check_password_deny (const char *user __attribute__ ((unused)), + const char *entered __attribute__ ((unused)), + void *password __attribute__ ((unused))) +{ + return GRUB_ACCESS_DENIED; +} + +#define MD5_HASHLEN 16 + +struct legacy_md5_password +{ + grub_uint8_t *salt; + int saltlen; + grub_uint8_t hash[MD5_HASHLEN]; +}; + +static int +check_password_md5_real (const char *entered, + struct legacy_md5_password *pw) +{ + int enteredlen = grub_strlen (entered); + unsigned char alt_result[MD5_HASHLEN]; + unsigned char *digest; + grub_uint8_t ctx[GRUB_MD_MD5->contextsize]; + int i; + + GRUB_MD_MD5->init (ctx); + GRUB_MD_MD5->write (ctx, entered, enteredlen); + GRUB_MD_MD5->write (ctx, pw->salt + 3, pw->saltlen - 3); + GRUB_MD_MD5->write (ctx, entered, enteredlen); + digest = GRUB_MD_MD5->read (ctx); + GRUB_MD_MD5->final (ctx); + memcpy (alt_result, digest, MD5_HASHLEN); + + GRUB_MD_MD5->init (ctx); + GRUB_MD_MD5->write (ctx, entered, enteredlen); + GRUB_MD_MD5->write (ctx, pw->salt, pw->saltlen); /* include the $1$ header */ + for (i = enteredlen; i > 16; i -= 16) + GRUB_MD_MD5->write (ctx, alt_result, 16); + GRUB_MD_MD5->write (ctx, alt_result, i); + + for (i = enteredlen; i > 0; i >>= 1) + GRUB_MD_MD5->write (ctx, entered + ((i & 1) ? enteredlen : 0), 1); + digest = GRUB_MD_MD5->read (ctx); + GRUB_MD_MD5->final (ctx); + + for (i = 0; i < 1000; i++) + { + memcpy (alt_result, digest, 16); + + GRUB_MD_MD5->init (ctx); + if ((i & 1) != 0) + GRUB_MD_MD5->write (ctx, entered, enteredlen); + else + GRUB_MD_MD5->write (ctx, alt_result, 16); + + if (i % 3 != 0) + GRUB_MD_MD5->write (ctx, pw->salt + 3, pw->saltlen - 3); + + if (i % 7 != 0) + GRUB_MD_MD5->write (ctx, entered, enteredlen); + + if ((i & 1) != 0) + GRUB_MD_MD5->write (ctx, alt_result, 16); + else + GRUB_MD_MD5->write (ctx, entered, enteredlen); + digest = GRUB_MD_MD5->read (ctx); + GRUB_MD_MD5->final (ctx); + } + + return (grub_crypto_memcmp (digest, pw->hash, MD5_HASHLEN) == 0); +} + +static grub_err_t +check_password_md5 (const char *user, + const char *entered, + void *password) +{ + if (!check_password_md5_real (entered, password)) + return GRUB_ACCESS_DENIED; + + grub_auth_authenticate (user); + + return GRUB_ERR_NONE; +} + +static inline int +ib64t (char c) +{ + if (c == '.') + return 0; + if (c == '/') + return 1; + if (c >= '0' && c <= '9') + return c - '0' + 2; + if (c >= 'A' && c <= 'Z') + return c - 'A' + 12; + if (c >= 'a' && c <= 'z') + return c - 'a' + 38; + return -1; +} + +static struct legacy_md5_password * +parse_legacy_md5 (int argc, char **args) +{ + const char *salt, *saltend; + struct legacy_md5_password *pw = NULL; + int i; + const char *p; + + if (grub_memcmp (args[0], "--md5", sizeof ("--md5")) != 0) + goto fail; + if (argc == 1) + goto fail; + if (grub_strlen(args[1]) <= 3) + goto fail; + salt = args[1]; + saltend = grub_strchr (salt + 3, '$'); + if (!saltend) + goto fail; + pw = grub_malloc (sizeof (*pw)); + if (!pw) + goto fail; + + p = saltend + 1; + for (i = 0; i < 5; i++) + { + int n; + grub_uint32_t w = 0; + + for (n = 0; n < 4; n++) + { + int ww = ib64t(*p++); + if (ww == -1) + goto fail; + w |= ww << (n * 6); + } + pw->hash[i == 4 ? 5 : 12+i] = w & 0xff; + pw->hash[6+i] = (w >> 8) & 0xff; + pw->hash[i] = (w >> 16) & 0xff; + } + { + int n; + grub_uint32_t w = 0; + for (n = 0; n < 2; n++) + { + int ww = ib64t(*p++); + if (ww == -1) + goto fail; + w |= ww << (6 * n); + } + if (w >= 0x100) + goto fail; + pw->hash[11] = w; + } + + pw->saltlen = saltend - salt; + pw->salt = (grub_uint8_t *) grub_strndup (salt, pw->saltlen); + if (!pw->salt) + goto fail; + + return pw; + + fail: + grub_free (pw); + return NULL; +} + +static grub_err_t +grub_cmd_legacy_password (struct grub_command *mycmd __attribute__ ((unused)), + int argc, char **args) +{ + struct legacy_md5_password *pw = NULL; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "arguments expected"); + if (args[0][0] != '-' || args[0][1] != '-') + return grub_normal_set_password ("legacy", args[0]); + + pw = parse_legacy_md5 (argc, args); + + if (pw) + return grub_auth_register_authentication ("legacy", check_password_md5, pw); + else + /* This is to imitate minor difference between grub-legacy in GRUB2. + If 2 password commands are executed in a row and second one fails + on GRUB2 the password of first one is used, whereas in grub-legacy + authenthication is denied. In case of no password command was executed + early both versions deny any access. */ + return grub_auth_register_authentication ("legacy", check_password_deny, + NULL); +} + +static grub_err_t +grub_cmd_legacy_check_password (struct grub_command *mycmd __attribute__ ((unused)), + int argc, char **args) +{ + struct legacy_md5_password *pw = NULL; + char entered[GRUB_AUTH_MAX_PASSLEN]; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "arguments expected"); + grub_printf ("Enter password:"); + if (!grub_password_get (entered, GRUB_AUTH_MAX_PASSLEN)) + return GRUB_ACCESS_DENIED; + + if (args[0][0] != '-' || args[0][1] != '-') + { + char correct[GRUB_AUTH_MAX_PASSLEN]; + + grub_memset (correct, 0, sizeof (correct)); + grub_strncpy (correct, args[0], sizeof (correct)); + + if (grub_crypto_memcmp (entered, correct, GRUB_AUTH_MAX_PASSLEN) != 0) + return GRUB_ACCESS_DENIED; + return GRUB_ERR_NONE; + } + + pw = parse_legacy_md5 (argc, args); + + if (!pw) + return GRUB_ACCESS_DENIED; + + if (!check_password_md5_real (entered, pw)) + return GRUB_ACCESS_DENIED; + + return GRUB_ERR_NONE; +} + +static grub_command_t cmd_source, cmd_configfile; +static grub_command_t cmd_source_extract, cmd_configfile_extract; +static grub_command_t cmd_kernel, cmd_initrd, cmd_initrdnounzip; +static grub_command_t cmd_password, cmd_check_password; + +GRUB_MOD_INIT(legacycfg) +{ + cmd_source + = grub_register_command ("legacy_source", + grub_cmd_legacy_source, + N_("FILE"), + N_("Parse legacy config in same context")); + cmd_configfile + = grub_register_command ("legacy_configfile", + grub_cmd_legacy_source, + N_("FILE"), + N_("Parse legacy config in new context")); + cmd_source_extract + = grub_register_command ("extract_legacy_entries_source", + grub_cmd_legacy_source, + N_("FILE"), + N_("Parse legacy config in same context taking only menu entries")); + cmd_configfile_extract + = grub_register_command ("extract_legacy_entries_configfile", + grub_cmd_legacy_source, + N_("FILE"), + N_("Parse legacy config in new context taking only menu entries")); + + cmd_kernel = grub_register_command ("legacy_kernel", + grub_cmd_legacy_kernel, + N_("[--no-mem-option] [--type=TYPE] FILE [ARG ...]"), + N_("Simulate grub-legacy kernel command")); + + cmd_initrd = grub_register_command ("legacy_initrd", + grub_cmd_legacy_initrd, + N_("FILE [ARG ...]"), + N_("Simulate grub-legacy initrd command")); + cmd_initrdnounzip = grub_register_command ("legacy_initrd_nounzip", + grub_cmd_legacy_initrdnounzip, + N_("FILE [ARG ...]"), + N_("Simulate grub-legacy modulenounzip command")); + + cmd_password = grub_register_command ("legacy_password", + grub_cmd_legacy_password, + N_("[--md5] PASSWD [FILE]"), + N_("Simulate grub-legacy password command")); + + cmd_check_password = grub_register_command ("legacy_check_password", + grub_cmd_legacy_check_password, + N_("[--md5] PASSWD [FILE]"), + N_("Simulate grub-legacy password command in menuentry mode")); + +} + +GRUB_MOD_FINI(legacycfg) +{ + grub_unregister_command (cmd_source); + grub_unregister_command (cmd_configfile); + grub_unregister_command (cmd_source_extract); + grub_unregister_command (cmd_configfile_extract); + + grub_unregister_command (cmd_kernel); + grub_unregister_command (cmd_initrd); + grub_unregister_command (cmd_initrdnounzip); + + grub_unregister_command (cmd_password); + grub_unregister_command (cmd_check_password); +} diff --git a/grub-core/commands/loadenv.c b/grub-core/commands/loadenv.c new file mode 100644 index 0000000..5d53a8e --- /dev/null +++ b/grub-core/commands/loadenv.c @@ -0,0 +1,399 @@ +/* loadenv.c - command to load/save environment variable. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"file", 'f', 0, N_("Specify filename."), 0, ARG_TYPE_PATHNAME}, + {0, 0, 0, 0, 0, 0} + }; + +static grub_file_t +open_envblk_file (char *filename) +{ + grub_file_t file; + + if (! filename) + { + char *prefix; + + prefix = grub_env_get ("prefix"); + if (prefix) + { + int len; + + len = grub_strlen (prefix); + filename = grub_malloc (len + 1 + sizeof (GRUB_ENVBLK_DEFCFG)); + if (! filename) + return 0; + + grub_strcpy (filename, prefix); + filename[len] = '/'; + grub_strcpy (filename + len + 1, GRUB_ENVBLK_DEFCFG); + grub_file_filter_disable_compression (); + file = grub_file_open (filename); + grub_free (filename); + return file; + } + else + { + grub_error (GRUB_ERR_FILE_NOT_FOUND, "prefix is not found"); + return 0; + } + } + + grub_file_filter_disable_compression (); + return grub_file_open (filename); +} + +static grub_envblk_t +read_envblk_file (grub_file_t file) +{ + grub_off_t offset = 0; + char *buf; + grub_size_t size = grub_file_size (file); + grub_envblk_t envblk; + + buf = grub_malloc (size); + if (! buf) + return 0; + + while (size > 0) + { + grub_ssize_t ret; + + ret = grub_file_read (file, buf + offset, size); + if (ret <= 0) + { + if (grub_errno == GRUB_ERR_NONE) + grub_error (GRUB_ERR_FILE_READ_ERROR, "cannot read"); + grub_free (buf); + return 0; + } + + size -= ret; + offset += ret; + } + + envblk = grub_envblk_open (buf, offset); + if (! envblk) + { + grub_free (buf); + grub_error (GRUB_ERR_BAD_FILE_TYPE, "invalid environment block"); + return 0; + } + + return envblk; +} + +static grub_err_t +grub_cmd_load_env (grub_extcmd_context_t ctxt, + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + struct grub_arg_list *state = ctxt->state; + grub_file_t file; + grub_envblk_t envblk; + + auto int set_var (const char *name, const char *value); + int set_var (const char *name, const char *value) + { + grub_env_set (name, value); + return 0; + } + + file = open_envblk_file ((state[0].set) ? state[0].arg : 0); + if (! file) + return grub_errno; + + envblk = read_envblk_file (file); + if (! envblk) + goto fail; + + grub_envblk_iterate (envblk, set_var); + grub_envblk_close (envblk); + + fail: + grub_file_close (file); + return grub_errno; +} + +static grub_err_t +grub_cmd_list_env (grub_extcmd_context_t ctxt, + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + struct grub_arg_list *state = ctxt->state; + grub_file_t file; + grub_envblk_t envblk; + + /* Print all variables in current context. */ + auto int print_var (const char *name, const char *value); + int print_var (const char *name, const char *value) + { + grub_printf ("%s=%s\n", name, value); + return 0; + } + + file = open_envblk_file ((state[0].set) ? state[0].arg : 0); + if (! file) + return grub_errno; + + envblk = read_envblk_file (file); + if (! envblk) + goto fail; + + grub_envblk_iterate (envblk, print_var); + grub_envblk_close (envblk); + + fail: + grub_file_close (file); + return grub_errno; +} + +/* Used to maintain a variable length of blocklists internally. */ +struct blocklist +{ + grub_disk_addr_t sector; + unsigned offset; + unsigned length; + struct blocklist *next; +}; + +static void +free_blocklists (struct blocklist *p) +{ + struct blocklist *q; + + for (; p; p = q) + { + q = p->next; + grub_free (p); + } +} + +static grub_err_t +check_blocklists (grub_envblk_t envblk, struct blocklist *blocklists, + grub_file_t file) +{ + grub_size_t total_length; + grub_size_t index; + grub_disk_t disk; + grub_disk_addr_t part_start; + struct blocklist *p; + char *buf; + + /* Sanity checks. */ + total_length = 0; + for (p = blocklists; p; p = p->next) + { + struct blocklist *q; + for (q = p->next; q; q = q->next) + { + /* Check if any pair of blocks overlap. */ + if (p->sector == q->sector) + { + /* This might be actually valid, but it is unbelievable that + any filesystem makes such a silly allocation. */ + return grub_error (GRUB_ERR_BAD_FS, "malformed file"); + } + } + + total_length += p->length; + } + + if (total_length != grub_file_size (file)) + { + /* Maybe sparse, unallocated sectors. No way in GRUB. */ + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "sparse file not allowed"); + } + + /* One more sanity check. Re-read all sectors by blocklists, and compare + those with the data read via a file. */ + disk = file->device->disk; + + part_start = grub_partition_get_start (disk->partition); + + buf = grub_envblk_buffer (envblk); + for (p = blocklists, index = 0; p; index += p->length, p = p->next) + { + char blockbuf[GRUB_DISK_SECTOR_SIZE]; + + if (grub_disk_read (disk, p->sector - part_start, + p->offset, p->length, blockbuf)) + return grub_errno; + + if (grub_memcmp (buf + index, blockbuf, p->length) != 0) + return grub_error (GRUB_ERR_FILE_READ_ERROR, "invalid blocklist"); + } + + return GRUB_ERR_NONE; +} + +static int +write_blocklists (grub_envblk_t envblk, struct blocklist *blocklists, + grub_file_t file) +{ + char *buf; + grub_disk_t disk; + grub_disk_addr_t part_start; + struct blocklist *p; + grub_size_t index; + + buf = grub_envblk_buffer (envblk); + disk = file->device->disk; + part_start = grub_partition_get_start (disk->partition); + + index = 0; + for (p = blocklists; p; index += p->length, p = p->next) + { + if (grub_disk_write (disk, p->sector - part_start, + p->offset, p->length, buf + index)) + return 0; + } + + return 1; +} + +static grub_err_t +grub_cmd_save_env (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + grub_file_t file; + grub_envblk_t envblk; + struct blocklist *head = 0; + struct blocklist *tail = 0; + + /* Store blocklists in a linked list. */ + auto void NESTED_FUNC_ATTR read_hook (grub_disk_addr_t sector, + unsigned offset, + unsigned length); + void NESTED_FUNC_ATTR read_hook (grub_disk_addr_t sector, + unsigned offset, unsigned length) + { + struct blocklist *block; + + if (offset + length > GRUB_DISK_SECTOR_SIZE) + /* Seemingly a bug. */ + return; + + block = grub_malloc (sizeof (*block)); + if (! block) + return; + + block->sector = sector; + block->offset = offset; + block->length = length; + + /* Slightly complicated, because the list should be FIFO. */ + block->next = 0; + if (tail) + tail->next = block; + tail = block; + if (! head) + head = block; + } + + if (! argc) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no variable is specified"); + + file = open_envblk_file ((state[0].set) ? state[0].arg : 0); + if (! file) + return grub_errno; + + if (! file->device->disk) + { + grub_file_close (file); + return grub_error (GRUB_ERR_BAD_DEVICE, "disk device required"); + } + + file->read_hook = read_hook; + envblk = read_envblk_file (file); + file->read_hook = 0; + if (! envblk) + goto fail; + + if (check_blocklists (envblk, head, file)) + goto fail; + + while (argc) + { + char *value; + + value = grub_env_get (args[0]); + if (value) + { + if (! grub_envblk_set (envblk, args[0], value)) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "environment block too small"); + goto fail; + } + } + + argc--; + args++; + } + + write_blocklists (envblk, head, file); + + fail: + if (envblk) + grub_envblk_close (envblk); + free_blocklists (head); + grub_file_close (file); + return grub_errno; +} + +static grub_extcmd_t cmd_load, cmd_list, cmd_save; + +GRUB_MOD_INIT(loadenv) +{ + cmd_load = + grub_register_extcmd ("load_env", grub_cmd_load_env, 0, N_("[-f FILE]"), + N_("Load variables from environment block file."), + options); + cmd_list = + grub_register_extcmd ("list_env", grub_cmd_list_env, 0, N_("[-f FILE]"), + N_("List variables from environment block file."), + options); + cmd_save = + grub_register_extcmd ("save_env", grub_cmd_save_env, 0, + N_("[-f FILE] variable_name [...]"), + N_("Save variables to environment block file."), + options); +} + +GRUB_MOD_FINI(loadenv) +{ + grub_unregister_extcmd (cmd_load); + grub_unregister_extcmd (cmd_list); + grub_unregister_extcmd (cmd_save); +} diff --git a/grub-core/commands/ls.c b/grub-core/commands/ls.c new file mode 100644 index 0000000..5fc648a --- /dev/null +++ b/grub-core/commands/ls.c @@ -0,0 +1,282 @@ +/* ls.c - command to list files and devices */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"long", 'l', 0, N_("Show a long list with more detailed information."), 0, 0}, + {"human-readable", 'h', 0, N_("Print sizes in a human readable format."), 0, 0}, + {"all", 'a', 0, N_("List all files."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static const char grub_human_sizes[] = {' ', 'K', 'M', 'G', 'T'}; + +static grub_err_t +grub_ls_list_devices (int longlist) +{ + auto int grub_ls_print_devices (const char *name); + int grub_ls_print_devices (const char *name) + { + if (longlist) + grub_normal_print_device_info (name); + else + grub_printf ("(%s) ", name); + + return 0; + } + + grub_device_iterate (grub_ls_print_devices); + grub_xputs ("\n"); + grub_refresh (); + + return 0; +} + +static grub_err_t +grub_ls_list_files (char *dirname, int longlist, int all, int human) +{ + char *device_name; + grub_fs_t fs; + const char *path; + grub_device_t dev; + + auto int print_files (const char *filename, + const struct grub_dirhook_info *info); + auto int print_files_long (const char *filename, + const struct grub_dirhook_info *info); + + int print_files (const char *filename, const struct grub_dirhook_info *info) + { + if (all || filename[0] != '.') + grub_printf ("%s%s ", filename, info->dir ? "/" : ""); + + return 0; + } + + int print_files_long (const char *filename, + const struct grub_dirhook_info *info) + { + if ((! all) && (filename[0] == '.')) + return 0; + + if (! info->dir) + { + grub_file_t file; + char *pathname; + + if (dirname[grub_strlen (dirname) - 1] == '/') + pathname = grub_xasprintf ("%s%s", dirname, filename); + else + pathname = grub_xasprintf ("%s/%s", dirname, filename); + + if (!pathname) + return 1; + + /* XXX: For ext2fs symlinks are detected as files while they + should be reported as directories. */ + grub_file_filter_disable_compression (); + file = grub_file_open (pathname); + if (! file) + { + grub_errno = 0; + grub_free (pathname); + return 0; + } + + if (! human) + grub_printf ("%-12llu", (unsigned long long) file->size); + else + { + grub_uint64_t fsize = file->size * 100ULL; + int fsz = file->size; + int units = 0; + char buf[20]; + + while (fsz / 1024) + { + fsize = (fsize + 512) / 1024; + fsz /= 1024; + units++; + } + + if (units) + { + grub_uint32_t whole, fraction; + + whole = grub_divmod64 (fsize, 100, &fraction); + grub_snprintf (buf, sizeof (buf), + "%u.%02u%c", whole, fraction, + grub_human_sizes[units]); + grub_printf ("%-12s", buf); + } + else + grub_printf ("%-12llu", (unsigned long long) file->size); + + } + grub_file_close (file); + grub_free (pathname); + } + else + grub_printf ("%-12s", "DIR"); + + if (info->mtimeset) + { + struct grub_datetime datetime; + grub_unixtime2datetime (info->mtime, &datetime); + if (human) + grub_printf (" %d-%02d-%02d %02d:%02d:%02d %-11s ", + datetime.year, datetime.month, datetime.day, + datetime.hour, datetime.minute, + datetime.second, + grub_get_weekday_name (&datetime)); + else + grub_printf (" %04d%02d%02d%02d%02d%02d ", + datetime.year, datetime.month, + datetime.day, datetime.hour, + datetime.minute, datetime.second); + } + grub_printf ("%s%s\n", filename, info->dir ? "/" : ""); + + return 0; + } + + device_name = grub_file_get_device_name (dirname); + dev = grub_device_open (device_name); + if (! dev) + goto fail; + + fs = grub_fs_probe (dev); + path = grub_strchr (dirname, ')'); + if (! path) + path = dirname; + else + path++; + + if (! path && ! device_name) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid argument"); + goto fail; + } + + if (! *path) + { + if (grub_errno == GRUB_ERR_UNKNOWN_FS) + grub_errno = GRUB_ERR_NONE; + + grub_normal_print_device_info (device_name); + } + else if (fs) + { + if (longlist) + (fs->dir) (dev, path, print_files_long); + else + (fs->dir) (dev, path, print_files); + + if (grub_errno == GRUB_ERR_BAD_FILE_TYPE + && path[grub_strlen (path) - 1] != '/') + { + /* PATH might be a regular file. */ + char *p; + grub_file_t file; + struct grub_dirhook_info info; + grub_errno = 0; + + grub_file_filter_disable_compression (); + file = grub_file_open (dirname); + if (! file) + goto fail; + + grub_file_close (file); + + p = grub_strrchr (dirname, '/') + 1; + dirname = grub_strndup (dirname, p - dirname); + if (! dirname) + goto fail; + + all = 1; + grub_memset (&info, 0, sizeof (info)); + if (longlist) + print_files_long (p, &info); + else + print_files (p, &info); + + grub_free (dirname); + } + + if (grub_errno == GRUB_ERR_NONE) + grub_xputs ("\n"); + + grub_refresh (); + } + + fail: + if (dev) + grub_device_close (dev); + + grub_free (device_name); + + return 0; +} + +static grub_err_t +grub_cmd_ls (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + int i; + + if (argc == 0) + grub_ls_list_devices (state[0].set); + else + for (i = 0; i < argc; i++) + grub_ls_list_files (args[i], state[0].set, state[2].set, + state[1].set); + + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(ls) +{ + cmd = grub_register_extcmd ("ls", grub_cmd_ls, 0, + N_("[-l|-h|-a] [FILE ...]"), + N_("List devices and files."), options); +} + +GRUB_MOD_FINI(ls) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/lsacpi.c b/grub-core/commands/lsacpi.c new file mode 100644 index 0000000..fd19e38 --- /dev/null +++ b/grub-core/commands/lsacpi.c @@ -0,0 +1,252 @@ +/* acpi.c - Display acpi tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static void +print_strn (grub_uint8_t *str, grub_size_t len) +{ + for (; *str && len; str++, len--) + grub_printf ("%c", *str); + for (len++; len; len--) + grub_printf (" "); +} + +#define print_field(x) print_strn(x, sizeof (x)) + +static void +disp_acpi_table (struct grub_acpi_table_header *t) +{ + print_field (t->signature); + grub_printf ("%4" PRIuGRUB_UINT32_T "B rev=%u OEM=", t->length, t->revision); + print_field (t->oemid); + print_field (t->oemtable); + grub_printf ("OEMrev=%08" PRIxGRUB_UINT32_T " ", t->oemrev); + print_field (t->creator_id); + grub_printf (" %08" PRIxGRUB_UINT32_T "\n", t->creator_rev); +} + +static void +disp_madt_table (struct grub_acpi_madt *t) +{ + struct grub_acpi_madt_entry_header *d; + grub_uint32_t len; + + disp_acpi_table (&t->hdr); + grub_printf ("Local APIC=%08" PRIxGRUB_UINT32_T " Flags=%08" + PRIxGRUB_UINT32_T "\n", + t->lapic_addr, t->flags); + len = t->hdr.length - sizeof (struct grub_acpi_madt); + d = t->entries; + for (;len > 0; len -= d->len, d = (void *) ((grub_uint8_t *) d + d->len)) + { + grub_printf (" type=%x l=%u ", d->type, d->len); + + switch (d->type) + { + case GRUB_ACPI_MADT_ENTRY_TYPE_INTERRUPT_OVERRIDE: + { + struct grub_acpi_madt_entry_interrupt_override *dt = (void *) d; + grub_printf ("Int Override bus=%x src=%x GSI=%08x Flags=%04x\n", + dt->bus, dt->source, dt->global_sys_interrupt, + dt->flags); + } + break; + case GRUB_ACPI_MADT_ENTRY_TYPE_SAPIC: + { + struct grub_acpi_madt_entry_sapic *dt = (void *) d; + grub_printf ("IOSAPIC Id=%02x GSI=%08x Addr=%016" PRIxGRUB_UINT64_T + "\n", + dt->id, dt->global_sys_interrupt_base, + dt->addr); + } + break; + case GRUB_ACPI_MADT_ENTRY_TYPE_LSAPIC: + { + struct grub_acpi_madt_entry_lsapic *dt = (void *) d; + grub_printf ("LSAPIC ProcId=%02x ID=%02x EID=%02x Flags=%x", + dt->cpu_id, dt->id, dt->eid, dt->flags); + if (dt->flags & GRUB_ACPI_MADT_ENTRY_SAPIC_FLAGS_ENABLED) + grub_printf (" Enabled\n"); + else + grub_printf (" Disabled\n"); + if (d->len > sizeof (struct grub_acpi_madt_entry_sapic)) + grub_printf (" UID val=%08x, Str=%s\n", dt->cpu_uid, + dt->cpu_uid_str); + } + break; + case GRUB_ACPI_MADT_ENTRY_TYPE_PLATFORM_INT_SOURCE: + { + struct grub_acpi_madt_entry_platform_int_source *dt = (void *) d; + static const char * const platint_type[] = + {"Nul", "PMI", "INIT", "CPEI"}; + + grub_printf ("Platform INT flags=%04x type=%02x (%s)" + " ID=%02x EID=%02x\n", + dt->flags, dt->inttype, + (dt->inttype < ARRAY_SIZE (platint_type)) + ? platint_type[dt->inttype] : "??", dt->cpu_id, + dt->cpu_eid); + grub_printf (" IOSAPIC Vec=%02x GSI=%08x source flags=%08x\n", + dt->sapic_vector, dt->global_sys_int, dt->src_flags); + } + break; + default: + grub_printf (" ??\n"); + } + } +} + +static void +disp_acpi_xsdt_table (struct grub_acpi_table_header *t) +{ + grub_uint32_t len; + grub_uint64_t *desc; + + disp_acpi_table (t); + len = t->length - sizeof (*t); + desc = (grub_uint64_t *) (t + 1); + for (; len > 0; desc++, len -= sizeof (*desc)) + { + if (sizeof (grub_addr_t) == 4 && *desc >= (1ULL << 32)) + { + grub_printf ("Unreachable table\n"); + continue; + } + t = (struct grub_acpi_table_header *) (grub_addr_t) *desc; + + if (t == NULL) + continue; + + if (grub_memcmp (t->signature, GRUB_ACPI_MADT_SIGNATURE, + sizeof (t->signature)) == 0) + disp_madt_table ((struct grub_acpi_madt *) t); + else + disp_acpi_table (t); + } +} + +static void +disp_acpi_rsdt_table (struct grub_acpi_table_header *t) +{ + grub_uint32_t len; + grub_uint32_t *desc; + + disp_acpi_table (t); + len = t->length - sizeof (*t); + desc = (grub_uint32_t *) (t + 1); + for (; len > 0; desc++, len -= sizeof (*desc)) + { + t = (struct grub_acpi_table_header *) (grub_addr_t) *desc; + + if (t == NULL) + continue; + + if (grub_memcmp (t->signature, GRUB_ACPI_MADT_SIGNATURE, + sizeof (t->signature)) == 0) + disp_madt_table ((struct grub_acpi_madt *) t); + else + disp_acpi_table (t); + } +} + +static void +disp_acpi_rsdpv1 (struct grub_acpi_rsdp_v10 *rsdp) +{ + print_field (rsdp->signature); + grub_printf ("chksum:%02x, OEM-ID: ", rsdp->checksum); + print_field (rsdp->oemid); + grub_printf ("rev=%d\n", rsdp->revision); + grub_printf ("RSDT=%08" PRIxGRUB_UINT32_T "\n", rsdp->rsdt_addr); +} + +static void +disp_acpi_rsdpv2 (struct grub_acpi_rsdp_v20 *rsdp) +{ + disp_acpi_rsdpv1 (&rsdp->rsdpv1); + grub_printf ("len=%d XSDT=%016" PRIxGRUB_UINT64_T "\n", rsdp->length, + rsdp->xsdt_addr); +} + +static const struct grub_arg_option options[] = { + {"v1", '1', 0, N_("Show v1 tables only."), 0, ARG_TYPE_NONE}, + {"v2", '2', 0, N_("Show v2 and v3 tablesv only."), 0, ARG_TYPE_NONE} +}; + +static grub_err_t +grub_cmd_lsacpi (struct grub_extcmd_context *ctxt, + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + if (!ctxt->state[1].set) + { + struct grub_acpi_rsdp_v10 *rsdp1 = grub_acpi_get_rsdpv1 (); + if (!rsdp1) + grub_printf ("No RSDPv1\n"); + else + { + grub_printf ("RSDPv1 signature:"); + disp_acpi_rsdpv1 (rsdp1); + disp_acpi_rsdt_table ((void *) (grub_addr_t) rsdp1->rsdt_addr); + } + } + + if (!ctxt->state[0].set) + { + struct grub_acpi_rsdp_v20 *rsdp2 = grub_acpi_get_rsdpv2 (); + if (!rsdp2) + grub_printf ("No RSDPv2\n"); + else + { + if (sizeof (grub_addr_t) == 4 && rsdp2->xsdt_addr >= (1ULL << 32)) + grub_printf ("Unreachable RSDPv2\n"); + else + { + grub_printf ("RSDPv2 signature:"); + disp_acpi_rsdpv2 (rsdp2); + disp_acpi_xsdt_table ((void *) (grub_addr_t) rsdp2->xsdt_addr); + grub_printf ("\n"); + } + } + } + return GRUB_ERR_NONE; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(lsapi) +{ + cmd = grub_register_extcmd ("lsacpi", grub_cmd_lsacpi, 0, N_("[-1|-2]"), + N_("Show ACPI information."), options); +} + +GRUB_MOD_FINI(lsacpi) +{ + grub_unregister_extcmd (cmd); +} + + diff --git a/grub-core/commands/lsmmap.c b/grub-core/commands/lsmmap.c new file mode 100644 index 0000000..44598f0 --- /dev/null +++ b/grub-core/commands/lsmmap.c @@ -0,0 +1,74 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const char *names[] = + { + [GRUB_MEMORY_AVAILABLE] = "available", + [GRUB_MEMORY_RESERVED] = "reserved", + [GRUB_MEMORY_ACPI] = "ACPI reclamaible", + [GRUB_MEMORY_NVS] = "NVS", + [GRUB_MEMORY_BADRAM] = "BadRAM", + [GRUB_MEMORY_CODE] = "firmware code", + [GRUB_MEMORY_HOLE] = "hole" + }; + +static grub_err_t +grub_cmd_lsmmap (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) + +{ + auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t, grub_memory_type_t); + int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, + grub_memory_type_t type) + { + if (type < ARRAY_SIZE (names) && names[type]) + grub_printf ("base_addr = 0x%llx, length = 0x%llx, %s\n", + (long long) addr, (long long) size, names[type]); + else + grub_printf ("base_addr = 0x%llx, length = 0x%llx, type = 0x%x\n", + (long long) addr, (long long) size, type); + return 0; + } +#ifndef GRUB_MACHINE_EMU + grub_machine_mmap_iterate (hook); +#endif + + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(lsmmap) +{ + cmd = grub_register_command ("lsmmap", grub_cmd_lsmmap, + 0, N_("List memory map provided by firmware.")); +} + +GRUB_MOD_FINI(lsmmap) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/lspci.c b/grub-core/commands/lspci.c new file mode 100644 index 0000000..03541df --- /dev/null +++ b/grub-core/commands/lspci.c @@ -0,0 +1,236 @@ +/* lspci.c - List PCI devices. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct grub_pci_classname +{ + int class; + int subclass; + char *desc; +}; + +static const struct grub_pci_classname grub_pci_classes[] = + { + { 0, 0, "" }, + { 1, 0, "SCSI Controller" }, + { 1, 1, "IDE Controller" }, + { 1, 2, "Floppy Controller" }, + { 1, 3, "IPI Controller" }, + { 1, 4, "RAID Controller" }, + { 1, 6, "SATA Controller" }, + { 1, 0x80, "Mass storage Controller" }, + { 2, 0, "Ethernet Controller" }, + { 2, 1, "Token Ring Controller" }, + { 2, 2, "FDDI Controller" }, + { 2, 3, "ATM Controller" }, + { 2, 4, "ISDN Controller" }, + { 2, 0x80, "Network controller" }, + { 3, 0, "VGA Controller" }, + { 3, 1, "XGA Controller" }, + { 3, 2, "3D Controller" }, + { 3, 0x80, "Display Controller" }, + { 4, 0, "Multimedia Video Device" }, + { 4, 1, "Multimedia Audio Device" }, + { 4, 2, "Multimedia Telephony Device" }, + { 4, 0x80, "Multimedia device" }, + { 5, 0, "RAM Controller" }, + { 5, 1, "Flash Memory Controller" }, + { 5, 0x80, "Memory Controller" }, + { 6, 0, "Host Bridge" }, + { 6, 1, "ISA Bridge" }, + { 6, 2, "EISA Bride" }, + { 6, 3, "MCA Bridge" }, + { 6, 4, "PCI-PCI Bridge" }, + { 6, 5, "PCMCIA Bridge" }, + { 6, 6, "NuBus Bridge" }, + { 6, 7, "CardBus Bridge" }, + { 6, 8, "Raceway Bridge" }, + { 6, 0x80, "Unknown Bridge" }, + { 7, 0x80, "Communication controller" }, + { 8, 0x80, "System hardware" }, + { 9, 0, "Keyboard Controller" }, + { 9, 1, "Digitizer" }, + { 9, 2, "Mouse Controller" }, + { 9, 3, "Scanner Controller" }, + { 9, 4, "Gameport Controller" }, + { 9, 0x80, "Unknown Input Device" }, + { 10, 0, "Generic Docking Station" }, + { 10, 0x80, "Unknown Docking Station" }, + { 11, 0, "80386 Processor" }, + { 11, 1, "80486 Processor" }, + { 11, 2, "Pentium Processor" }, + { 11, 0x10, "Alpha Processor" }, + { 11, 0x20, "PowerPC Processor" }, + { 11, 0x30, "MIPS Processor" }, + { 11, 0x40, "Co-Processor" }, + { 11, 0x80, "Unknown Processor" }, + { 12, 3, "USB Controller" }, + { 12, 0x80, "Serial Bus Controller" }, + { 13, 0x80, "Wireless Controller" }, + { 14, 0, "I2O" }, + { 15, 0, "IrDA Controller" }, + { 15, 1, "Consumer IR" }, + { 15, 0x10, "RF-Controller" }, + { 15, 0x80, "Satellite Communication Controller" }, + { 16, 0, "Network Decryption" }, + { 16, 1, "Entertainment Decryption" }, + { 16, 0x80, "Unknown Decryption Controller" }, + { 17, 0, "Digital IO Module" }, + { 17, 0x80, "Unknown Data Input System" }, + { 0, 0, 0 }, + }; + +static const char * +grub_pci_get_class (int class, int subclass) +{ + const struct grub_pci_classname *curr = grub_pci_classes; + + while (curr->desc) + { + if (curr->class == class && curr->subclass == subclass) + return curr->desc; + curr++; + } + + return 0; +} + +static const struct grub_arg_option options[] = + { + {"iospace", 'i', 0, "show I/O spaces", 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static int iospace; + +static int NESTED_FUNC_ATTR +grub_lspci_iter (grub_pci_device_t dev, grub_pci_id_t pciid) +{ + grub_uint32_t class; + const char *sclass; + grub_pci_address_t addr; + int reg; + + grub_printf ("%02x:%02x.%x %04x:%04x", grub_pci_get_bus (dev), + grub_pci_get_device (dev), grub_pci_get_function (dev), + pciid & 0xFFFF, pciid >> 16); + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); + class = grub_pci_read (addr); + + /* Lookup the class name, if there isn't a specific one, + retry with 0x80 to get the generic class name. */ + sclass = grub_pci_get_class (class >> 24, (class >> 16) & 0xFF); + if (! sclass) + sclass = grub_pci_get_class (class >> 24, 0x80); + if (! sclass) + sclass = ""; + + grub_printf (" [%04x] %s", (class >> 16) & 0xffff, sclass); + + grub_uint8_t pi = (class >> 8) & 0xff; + if (pi) + grub_printf (" [PI %02x]", pi); + + grub_printf ("\n"); + + if (iospace) + { + reg = GRUB_PCI_REG_ADDRESSES; + while (reg < GRUB_PCI_REG_CIS_POINTER) + { + grub_uint64_t space; + addr = grub_pci_make_address (dev, reg); + space = grub_pci_read (addr); + + reg += sizeof (grub_uint32_t); + + if (space == 0) + continue; + + switch (space & GRUB_PCI_ADDR_SPACE_MASK) + { + case GRUB_PCI_ADDR_SPACE_IO: + grub_printf ("\tIO space %d at 0x%llx\n", + (unsigned) ((reg - GRUB_PCI_REG_ADDRESSES) + / sizeof (grub_uint32_t)) - 1, + (unsigned long long) + (space & GRUB_PCI_ADDR_IO_MASK)); + break; + case GRUB_PCI_ADDR_SPACE_MEMORY: + if ((space & GRUB_PCI_ADDR_MEM_TYPE_MASK) + == GRUB_PCI_ADDR_MEM_TYPE_64) + { + addr = grub_pci_make_address (dev, reg); + space |= ((grub_uint64_t) grub_pci_read (addr)) << 32; + reg += sizeof (grub_uint32_t); + grub_printf ("\t64-bit memory space %d at 0x%016llx [%s]\n", + (unsigned) ((reg - GRUB_PCI_REG_ADDRESSES) + / sizeof (grub_uint32_t)) - 2, + (unsigned long long) + (space & GRUB_PCI_ADDR_MEM_MASK), + space & GRUB_PCI_ADDR_MEM_PREFETCH + ? "prefetchable" : "non-prefetchable"); + + } + else + grub_printf ("\t32-bit memory space %d at 0x%016llx [%s]\n", + (unsigned) ((reg - GRUB_PCI_REG_ADDRESSES) + / sizeof (grub_uint32_t)) - 1, + (unsigned long long) + (space & GRUB_PCI_ADDR_MEM_MASK), + space & GRUB_PCI_ADDR_MEM_PREFETCH + ? "prefetchable" : "non-prefetchable"); + break; + } + } + } + + + return 0; +} + +static grub_err_t +grub_cmd_lspci (grub_extcmd_context_t ctxt, + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + iospace = ctxt->state[0].set; + grub_pci_iterate (grub_lspci_iter); + return GRUB_ERR_NONE; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(lspci) +{ + cmd = grub_register_extcmd ("lspci", grub_cmd_lspci, 0, "[-i]", + N_("List PCI devices."), options); +} + +GRUB_MOD_FINI(lspci) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/memrw.c b/grub-core/commands/memrw.c new file mode 100644 index 0000000..3b51189 --- /dev/null +++ b/grub-core/commands/memrw.c @@ -0,0 +1,151 @@ +/* memrw.c - command to read / write physical memory */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_extcmd_t cmd_read_byte, cmd_read_word, cmd_read_dword; +static grub_command_t cmd_write_byte, cmd_write_word, cmd_write_dword; + +static const struct grub_arg_option options[] = + { + {0, 'v', 0, N_("Save read value into variable VARNAME."), + "VARNAME", ARG_TYPE_STRING}, + {0, 0, 0, 0, 0, 0} + }; + + +static grub_err_t +grub_cmd_read (grub_extcmd_context_t ctxt, int argc, char **argv) +{ + grub_target_addr_t addr; + grub_uint32_t value = 0; + char buf[sizeof ("XXXXXXXX")]; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid number of arguments"); + + addr = grub_strtoul (argv[0], 0, 0); + switch (ctxt->extcmd->cmd->name[sizeof ("read_") - 1]) + { + case 'd': + value = *((volatile grub_uint32_t *) addr); + break; + + case 'w': + value = *((volatile grub_uint16_t *) addr); + break; + + case 'b': + value = *((volatile grub_uint8_t *) addr); + break; + } + + if (ctxt->state[0].set) + { + grub_snprintf (buf, sizeof (buf), "%x", value); + grub_env_set (ctxt->state[0].arg, buf); + } + else + grub_printf ("0x%x\n", value); + + return 0; +} + +static grub_err_t +grub_cmd_write (grub_command_t cmd, int argc, char **argv) +{ + grub_target_addr_t addr; + grub_uint32_t value; + grub_uint32_t mask = 0xffffffff; + + if (argc != 2 && argc != 3) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid number of arguments"); + + addr = grub_strtoul (argv[0], 0, 0); + value = grub_strtoul (argv[1], 0, 0); + if (argc == 3) + mask = grub_strtoul (argv[2], 0, 0); + value &= mask; + switch (cmd->name[sizeof ("write_") - 1]) + { + case 'd': + if (mask != 0xffffffff) + *((volatile grub_uint32_t *) addr) + = (*((volatile grub_uint32_t *) addr) & ~mask) | value; + else + *((volatile grub_uint32_t *) addr) = value; + break; + + case 'w': + if ((mask & 0xffff) != 0xffff) + *((volatile grub_uint16_t *) addr) + = (*((volatile grub_uint16_t *) addr) & ~mask) | value; + else + *((volatile grub_uint16_t *) addr) = value; + break; + + case 'b': + if ((mask & 0xff) != 0xff) + *((volatile grub_uint8_t *) addr) + = (*((volatile grub_uint8_t *) addr) & ~mask) | value; + else + *((volatile grub_uint8_t *) addr) = value; + break; + } + + return 0; +} + +GRUB_MOD_INIT(memrw) +{ + cmd_read_byte = + grub_register_extcmd ("read_byte", grub_cmd_read, 0, + N_("ADDR"), N_("Read byte from ADDR."), options); + cmd_read_word = + grub_register_extcmd ("read_word", grub_cmd_read, 0, + N_("ADDR"), N_("Read word from ADDR."), options); + cmd_read_dword = + grub_register_extcmd ("read_dword", grub_cmd_read, 0, + N_("ADDR"), N_("Read dword from ADDR."), options); + cmd_write_byte = + grub_register_command ("write_byte", grub_cmd_write, + N_("ADDR VALUE [MASK]"), N_("Write byte VALUE to ADDR.")); + cmd_write_word = + grub_register_command ("write_word", grub_cmd_write, + N_("ADDR VALUE [MASK]"), N_("Write word VALUE to ADDR.")); + cmd_write_dword = + grub_register_command ("write_dword", grub_cmd_write, + N_("ADDR VALUE [MASK]"), N_("Write dword VALUE to ADDR.")); +} + +GRUB_MOD_FINI(memrw) +{ + grub_unregister_extcmd (cmd_read_byte); + grub_unregister_extcmd (cmd_read_word); + grub_unregister_extcmd (cmd_read_dword); + grub_unregister_command (cmd_write_byte); + grub_unregister_command (cmd_write_word); + grub_unregister_command (cmd_write_dword); +} diff --git a/grub-core/commands/menuentry.c b/grub-core/commands/menuentry.c new file mode 100644 index 0000000..4849f8b --- /dev/null +++ b/grub-core/commands/menuentry.c @@ -0,0 +1,307 @@ +/* menuentry.c - menuentry command */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +static const struct grub_arg_option options[] = + { + {"class", 1, GRUB_ARG_OPTION_REPEATABLE, + N_("Menu entry type."), "STRING", ARG_TYPE_STRING}, + {"users", 2, 0, + N_("Users allowed to boot this entry."), "USERNAME", ARG_TYPE_STRING}, + {"hotkey", 3, 0, + N_("Keyboard key for this entry."), "KEY", ARG_TYPE_STRING}, + {"source", 4, 0, + N_("Menu entry definition as a string."), "STRING", ARG_TYPE_STRING}, + {0, 0, 0, 0, 0, 0} + }; + +static struct +{ + char *name; + int key; +} hotkey_aliases[] = + { + {"backspace", '\b'}, + {"tab", '\t'}, + {"delete", GRUB_TERM_KEY_DC}, + {"insert", GRUB_TERM_KEY_INSERT}, + {"f1", GRUB_TERM_KEY_F1}, + {"f2", GRUB_TERM_KEY_F2}, + {"f3", GRUB_TERM_KEY_F3}, + {"f4", GRUB_TERM_KEY_F4}, + {"f5", GRUB_TERM_KEY_F5}, + {"f6", GRUB_TERM_KEY_F6}, + {"f7", GRUB_TERM_KEY_F7}, + {"f8", GRUB_TERM_KEY_F8}, + {"f9", GRUB_TERM_KEY_F9}, + {"f10", GRUB_TERM_KEY_F10}, + {"f11", GRUB_TERM_KEY_F11}, + {"f12", GRUB_TERM_KEY_F12}, + }; + +/* Add a menu entry to the current menu context (as given by the environment + variable data slot `menu'). As the configuration file is read, the script + parser calls this when a menu entry is to be created. */ +grub_err_t +grub_normal_add_menu_entry (int argc, const char **args, char **classes, + const char *users, const char *hotkey, + const char *prefix, const char *sourcecode, + int submenu) +{ + int menu_hotkey = 0; + char **menu_args = NULL; + char *menu_users = NULL; + char *menu_title = NULL; + char *menu_sourcecode = NULL; + struct grub_menu_entry_class *menu_classes = NULL; + + grub_menu_t menu; + grub_menu_entry_t *last; + + menu = grub_env_get_menu (); + if (! menu) + return grub_error (GRUB_ERR_MENU, "no menu context"); + + last = &menu->entry_list; + + menu_sourcecode = grub_xasprintf ("%s%s", prefix ?: "", sourcecode); + if (! menu_sourcecode) + return grub_errno; + + if (classes && classes[0]) + { + int i; + for (i = 0; classes[i]; i++); /* count # of menuentry classes */ + menu_classes = grub_zalloc (sizeof (struct grub_menu_entry_class) * i); + if (! menu_classes) + goto fail; + + for (i = 0; classes[i]; i++) + { + menu_classes[i].name = grub_strdup (classes[i]); + if (! menu_classes[i].name) + goto fail; + menu_classes[i].next = classes[i + 1] ? &menu_classes[i + 1] : NULL; + } + } + + if (users) + { + menu_users = grub_strdup (users); + if (! menu_users) + goto fail; + } + + if (hotkey) + { + unsigned i; + for (i = 0; i < ARRAY_SIZE (hotkey_aliases); i++) + if (grub_strcmp (hotkey, hotkey_aliases[i].name) == 0) + { + menu_hotkey = hotkey_aliases[i].key; + break; + } + if (i == ARRAY_SIZE (hotkey_aliases)) + menu_hotkey = hotkey[0]; + } + + if (! argc) + { + grub_error (GRUB_ERR_MENU, "menuentry is missing title"); + goto fail; + } + + menu_title = grub_strdup (args[0]); + if (! menu_title) + goto fail; + + /* Save argc, args to pass as parameters to block arg later. */ + menu_args = grub_malloc (sizeof (char*) * (argc + 1)); + if (! menu_args) + goto fail; + + { + int i; + for (i = 0; i < argc; i++) + { + menu_args[i] = grub_strdup (args[i]); + if (! menu_args[i]) + goto fail; + } + menu_args[argc] = NULL; + } + + /* Add the menu entry at the end of the list. */ + while (*last) + last = &(*last)->next; + + *last = grub_zalloc (sizeof (**last)); + if (! *last) + goto fail; + + (*last)->title = menu_title; + (*last)->hotkey = menu_hotkey; + (*last)->classes = menu_classes; + if (menu_users) + (*last)->restricted = 1; + (*last)->users = menu_users; + (*last)->argc = argc; + (*last)->args = menu_args; + (*last)->sourcecode = menu_sourcecode; + (*last)->submenu = submenu; + + menu->size++; + return GRUB_ERR_NONE; + + fail: + + grub_free (menu_sourcecode); + { + int i; + for (i = 0; menu_classes && menu_classes[i].name; i++) + grub_free (menu_classes[i].name); + grub_free (menu_classes); + } + + { + int i; + for (i = 0; menu_args && menu_args[i]; i++) + grub_free (menu_args[i]); + grub_free (menu_args); + } + + grub_free (menu_users); + grub_free (menu_title); + return grub_errno; +} + +static char * +setparams_prefix (int argc, char **args) +{ + int i; + int j; + char *p; + char *result; + grub_size_t len = 10; + + /* Count resulting string length */ + for (i = 0; i < argc; i++) + { + len += 3; /* 3 = 1 space + 2 quotes */ + p = args[i]; + while (*p) + len += (*p++ == '\'' ? 3 : 1); + } + + result = grub_malloc (len + 2); + if (! result) + return 0; + + grub_strcpy (result, "setparams"); + p = result + 9; + + for (j = 0; j < argc; j++) + { + *p++ = ' '; + *p++ = '\''; + p = grub_strchrsub (p, args[j], '\'', "'\\''"); + *p++ = '\''; + } + *p++ = '\n'; + *p = '\0'; + return result; +} + +static grub_err_t +grub_cmd_menuentry (grub_extcmd_context_t ctxt, int argc, char **args) +{ + char ch; + char *src; + char *prefix; + unsigned len; + grub_err_t r; + + if (! argc) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "missing arguments"); + + if (ctxt->state[3].set && ctxt->script) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "multiple menuentry definitions"); + + if (! ctxt->state[3].set && ! ctxt->script) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no menuentry definition"); + + if (! ctxt->script) + return grub_normal_add_menu_entry (argc, (const char **) args, + (ctxt->state[0].set ? ctxt->state[0].args + : NULL), ctxt->state[1].arg, + ctxt->state[2].arg, 0, + ctxt->state[3].arg, + ctxt->extcmd->cmd->name[0] == 's'); + + src = args[argc - 1]; + args[argc - 1] = NULL; + + len = grub_strlen(src); + ch = src[len - 1]; + src[len - 1] = '\0'; + + prefix = setparams_prefix (argc - 1, args); + if (! prefix) + return grub_errno; + + r = grub_normal_add_menu_entry (argc - 1, (const char **) args, + ctxt->state[0].args, ctxt->state[1].arg, + ctxt->state[2].arg, prefix, src + 1, + ctxt->extcmd->cmd->name[0] == 's'); + + src[len - 1] = ch; + args[argc - 1] = src; + grub_free (prefix); + return r; +} + +static grub_extcmd_t cmd, cmd_sub; + +void +grub_menu_init (void) +{ + cmd = grub_register_extcmd ("menuentry", grub_cmd_menuentry, + GRUB_COMMAND_FLAG_BLOCKS + | GRUB_COMMAND_FLAG_EXTRACTOR, + N_("BLOCK"), N_("Define a menuentry."), options); + cmd_sub = grub_register_extcmd ("submenu", grub_cmd_menuentry, + GRUB_COMMAND_FLAG_BLOCKS + | GRUB_COMMAND_FLAG_EXTRACTOR, + N_("BLOCK"), N_("Define a submenu."), + options); +} + +void +grub_menu_fini (void) +{ + grub_unregister_extcmd (cmd); + grub_unregister_extcmd (cmd_sub); +} diff --git a/grub-core/commands/minicmd.c b/grub-core/commands/minicmd.c new file mode 100644 index 0000000..c7d1ec4 --- /dev/null +++ b/grub-core/commands/minicmd.c @@ -0,0 +1,230 @@ +/* minicmd.c - commands for the rescue mode */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* cat FILE */ +static grub_err_t +grub_mini_cmd_cat (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + grub_file_t file; + char buf[GRUB_DISK_SECTOR_SIZE]; + grub_ssize_t size; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no file specified"); + + file = grub_file_open (argv[0]); + if (! file) + return grub_errno; + + while ((size = grub_file_read (file, buf, sizeof (buf))) > 0) + { + int i; + + for (i = 0; i < size; i++) + { + unsigned char c = buf[i]; + + if ((grub_isprint (c) || grub_isspace (c)) && c != '\r') + grub_printf ("%c", c); + else + { + grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT); + grub_printf ("<%x>", (int) c); + grub_setcolorstate (GRUB_TERM_COLOR_STANDARD); + } + } + } + + grub_xputs ("\n"); + grub_refresh (); + grub_file_close (file); + + return 0; +} + +/* help */ +static grub_err_t +grub_mini_cmd_help (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + grub_command_t p; + + for (p = grub_command_list; p; p = p->next) + grub_printf ("%s (%d%c)\t%s\n", p->name, + p->prio & GRUB_PRIO_LIST_PRIO_MASK, + (p->prio & GRUB_PRIO_LIST_FLAG_ACTIVE) ? '+' : '-', + p->description); + + return 0; +} + +#if 0 +static void +grub_rescue_cmd_info (void) +{ + extern void grub_disk_cache_get_performance (unsigned long *, + unsigned long *); + unsigned long hits, misses; + + grub_disk_cache_get_performance (&hits, &misses); + grub_printf ("Disk cache: hits = %u, misses = %u ", hits, misses); + if (hits + misses) + { + unsigned long ratio = hits * 10000 / (hits + misses); + grub_printf ("(%u.%u%%)\n", ratio / 100, ratio % 100); + } + else + grub_printf ("(N/A)\n"); +} +#endif + +/* dump ADDRESS [SIZE] */ +static grub_err_t +grub_mini_cmd_dump (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + grub_uint8_t *addr; + grub_size_t size = 4; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no address specified"); + + addr = (grub_uint8_t *) grub_strtoul (argv[0], 0, 0); + if (grub_errno) + return grub_errno; + + if (argc > 1) + size = (grub_size_t) grub_strtoul (argv[1], 0, 0); + + while (size--) + { + grub_printf ("%x%x ", *addr >> 4, *addr & 0xf); + addr++; + } + + return 0; +} + +/* rmmod MODULE */ +static grub_err_t +grub_mini_cmd_rmmod (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + grub_dl_t mod; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no module specified"); + + mod = grub_dl_get (argv[0]); + if (! mod) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no such module"); + + if (grub_dl_unref (mod) <= 0) + grub_dl_unload (mod); + + return 0; +} + +/* lsmod */ +static grub_err_t +grub_mini_cmd_lsmod (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + grub_dl_t mod; + + grub_printf ("Name\tRef Count\tDependencies\n"); + FOR_DL_MODULES (mod) + { + grub_dl_dep_t dep; + + grub_printf ("%s\t%d\t\t", mod->name, mod->ref_count); + for (dep = mod->dep; dep; dep = dep->next) + { + if (dep != mod->dep) + grub_xputs (","); + + grub_printf ("%s", dep->mod->name); + } + grub_xputs ("\n"); + } + + return 0; +} + +/* exit */ +static grub_err_t +grub_mini_cmd_exit (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + grub_exit (); + return 0; +} + +static grub_command_t cmd_cat, cmd_help; +static grub_command_t cmd_dump, cmd_rmmod, cmd_lsmod, cmd_exit; + +GRUB_MOD_INIT(minicmd) +{ + cmd_cat = + grub_register_command ("cat", grub_mini_cmd_cat, + N_("FILE"), N_("Show the contents of a file.")); + cmd_help = + grub_register_command ("help", grub_mini_cmd_help, + 0, N_("Show this message.")); + cmd_dump = + grub_register_command ("dump", grub_mini_cmd_dump, + N_("ADDR"), N_("Dump memory.")); + cmd_rmmod = + grub_register_command ("rmmod", grub_mini_cmd_rmmod, + N_("MODULE"), N_("Remove a module.")); + cmd_lsmod = + grub_register_command ("lsmod", grub_mini_cmd_lsmod, + 0, N_("Show loaded modules.")); + cmd_exit = + grub_register_command ("exit", grub_mini_cmd_exit, + 0, N_("Exit from GRUB.")); +} + +GRUB_MOD_FINI(minicmd) +{ + grub_unregister_command (cmd_cat); + grub_unregister_command (cmd_help); + grub_unregister_command (cmd_dump); + grub_unregister_command (cmd_rmmod); + grub_unregister_command (cmd_lsmod); + grub_unregister_command (cmd_exit); +} diff --git a/grub-core/commands/mips/yeeloong/lsspd.c b/grub-core/commands/mips/yeeloong/lsspd.c new file mode 100644 index 0000000..c1c5e2e --- /dev/null +++ b/grub-core/commands/mips/yeeloong/lsspd.c @@ -0,0 +1,94 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_lsspd (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_pci_device_t dev; + grub_port_t smbbase; + int i; + grub_err_t err; + + if (!grub_cs5536_find (&dev)) + { + grub_printf ("No CS5536 found\n"); + return GRUB_ERR_NONE; + } + grub_printf ("CS5536 at %d:%d.%d\n", grub_pci_get_bus (dev), + grub_pci_get_device (dev), grub_pci_get_function (dev)); + + err = grub_cs5536_init_smbus (dev, 0x7fff, &smbbase); + if (err) + return err; + + grub_printf ("SMB base = 0x%x\n", smbbase); + + for (i = GRUB_SMB_RAM_START_ADDR; + i < GRUB_SMB_RAM_START_ADDR + GRUB_SMB_RAM_NUM_MAX; i++) + { + struct grub_smbus_spd spd; + grub_memset (&spd, 0, sizeof (spd)); + grub_printf ("Device %d\n", i); + err = grub_cs5536_read_spd (smbbase, i, &spd); + if (err) + { + grub_print_error (); + continue; + } + grub_printf ("Written SPD bytes: %d B.\n", spd.written_size); + grub_printf ("Total flash size: %d B.\n", 1 << spd.log_total_flash_size); + if (spd.memory_type == GRUB_SMBUS_SPD_MEMORY_TYPE_DDR2) + { + char str[sizeof (spd.ddr2.part_number) + 1]; + grub_printf ("Memory type: DDR2.\n"); + grub_memcpy (str, spd.ddr2.part_number, + sizeof (spd.ddr2.part_number)); + str[sizeof (spd.ddr2.part_number)] = 0; + grub_printf ("Part no: %s.\n", str); + } + else + grub_printf ("Memory type: Unknown.\n"); + } + + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(lsspd) +{ + cmd = grub_register_command ("lsspd", grub_cmd_lsspd, 0, + "Print Memory information."); +} + +GRUB_MOD_FINI(lsspd) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/parttool.c b/grub-core/commands/parttool.c new file mode 100644 index 0000000..a542861 --- /dev/null +++ b/grub-core/commands/parttool.c @@ -0,0 +1,333 @@ +/* parttool.c - common dispatcher and parser for partition operations */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv2+"); + +static struct grub_parttool *parts = 0; +static int curhandle = 0; +static grub_dl_t mymod; +static char helpmsg[] = + "Perform COMMANDS on partition.\n" + "Use \"parttool PARTITION help\" for the list " + "of available commands."; + +int +grub_parttool_register(const char *part_name, + const grub_parttool_function_t func, + const struct grub_parttool_argdesc *args) +{ + struct grub_parttool *cur; + int nargs = 0; + + if (! parts) + grub_dl_ref (mymod); + + cur = (struct grub_parttool *) grub_malloc (sizeof (struct grub_parttool)); + cur->next = parts; + cur->name = grub_strdup (part_name); + cur->handle = curhandle++; + for (nargs = 0; args[nargs].name != 0; nargs++); + cur->nargs = nargs; + cur->args = (struct grub_parttool_argdesc *) + grub_malloc ((nargs + 1) * sizeof (struct grub_parttool_argdesc)); + grub_memcpy (cur->args, args, + (nargs + 1) * sizeof (struct grub_parttool_argdesc)); + + cur->func = func; + parts = cur; + return cur->handle; +} + +void +grub_parttool_unregister (int handle) +{ + struct grub_parttool *prev = 0, *cur, *t; + for (cur = parts; cur; ) + if (cur->handle == handle) + { + grub_free (cur->args); + grub_free (cur->name); + if (prev) + prev->next = cur->next; + else + parts = cur->next; + t = cur; + cur = cur->next; + grub_free (t); + } + else + { + prev = cur; + cur = cur->next; + } + if (! parts) + grub_dl_unref (mymod); +} + +static grub_err_t +grub_cmd_parttool (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_device_t dev; + struct grub_parttool *cur, *ptool; + int *parsed; + int i, j; + grub_err_t err = GRUB_ERR_NONE; + + auto grub_err_t show_help (void); + grub_err_t show_help (void) + { + int found = 0; + for (cur = parts; cur; cur = cur->next) + if (grub_strcmp (dev->disk->partition->partmap->name, cur->name) == 0) + { + struct grub_parttool_argdesc *curarg; + found = 1; + for (curarg = cur->args; curarg->name; curarg++) + { + int spacing = 20; + + spacing -= grub_strlen (curarg->name); + grub_printf ("%s", curarg->name); + + switch (curarg->type) + { + case GRUB_PARTTOOL_ARG_BOOL: + grub_printf ("+/-"); + spacing -= 3; + break; + + case GRUB_PARTTOOL_ARG_VAL: + grub_printf ("=VAL"); + spacing -= 4; + break; + + case GRUB_PARTTOOL_ARG_END: + break; + } + while (spacing-- > 0) + grub_printf (" "); + grub_printf ("%s\n", curarg->desc); + } + } + if (! found) + grub_printf ("Sorry no parttool is available for %s\n", + dev->disk->partition->partmap->name); + return GRUB_ERR_NONE; + } + + if (argc < 1) + { + grub_printf ("%s\n", helpmsg); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "too few arguments"); + } + + if (args[0][0] == '(' && args[0][grub_strlen (args[0]) - 1] == ')') + { + args[0][grub_strlen (args[0]) - 1] = 0; + dev = grub_device_open (args[0] + 1); + args[0][grub_strlen (args[0]) - 1] = ')'; + } + else + dev = grub_device_open (args[0]); + + if (! dev) + return grub_errno; + + if (! dev->disk) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "not a disk"); + } + + if (! dev->disk->partition) + { + grub_device_close (dev); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "not a partition"); + } + + /* Load modules. */ + if (! grub_no_autoload) + { + const char *prefix; + prefix = grub_env_get ("prefix"); + if (prefix) + { + char *filename; + + filename = grub_xasprintf ("%s/parttool.lst", prefix); + if (filename) + { + grub_file_t file; + + file = grub_file_open (filename); + if (file) + { + char *buf = 0; + for (;; grub_free(buf)) + { + char *p, *name; + + buf = grub_file_getline (file); + + if (! buf) + break; + + name = buf; + + if (! grub_isgraph (name[0])) + continue; + + p = grub_strchr (name, ':'); + if (! p) + continue; + + *p = '\0'; + while (*++p == ' ') + ; + + if (! grub_isgraph (*p)) + continue; + + if (grub_strcmp (name, dev->disk->partition->partmap->name) + != 0) + continue; + + grub_dl_load (p); + } + + grub_file_close (file); + } + + grub_free (filename); + } + } + /* Ignore errors. */ + grub_errno = GRUB_ERR_NONE; + } + + if (argc == 1) + return show_help (); + + for (i = 1; i < argc; i++) + if (grub_strcmp (args[i], "help") == 0) + return show_help (); + + parsed = (int *) grub_zalloc (argc * sizeof (int)); + + for (i = 1; i < argc; i++) + if (! parsed[i]) + { + struct grub_parttool_argdesc *curarg; + struct grub_parttool_args *pargs; + for (cur = parts; cur; cur = cur->next) + if (grub_strcmp (dev->disk->partition->partmap->name, cur->name) == 0) + { + for (curarg = cur->args; curarg->name; curarg++) + if (grub_strncmp (curarg->name, args[i], + grub_strlen (curarg->name)) == 0 + && ((curarg->type == GRUB_PARTTOOL_ARG_BOOL + && (args[i][grub_strlen (curarg->name)] == '+' + || args[i][grub_strlen (curarg->name)] == '-' + || args[i][grub_strlen (curarg->name)] == 0)) + || (curarg->type == GRUB_PARTTOOL_ARG_VAL + && args[i][grub_strlen (curarg->name)] == '='))) + + break; + if (curarg->name) + break; + } + if (! cur) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unrecognised argument %s", + args[i]); + ptool = cur; + pargs = (struct grub_parttool_args *) + grub_zalloc (ptool->nargs * sizeof (struct grub_parttool_args)); + for (j = i; j < argc; j++) + if (! parsed[j]) + { + for (curarg = ptool->args; curarg->name; curarg++) + if (grub_strncmp (curarg->name, args[j], + grub_strlen (curarg->name)) == 0 + && ((curarg->type == GRUB_PARTTOOL_ARG_BOOL + && (args[j][grub_strlen (curarg->name)] == '+' + || args[j][grub_strlen (curarg->name)] == '-' + || args[j][grub_strlen (curarg->name)] == 0)) + || (curarg->type == GRUB_PARTTOOL_ARG_VAL + && args[j][grub_strlen (curarg->name)] == '='))) + { + parsed[j] = 1; + pargs[curarg - ptool->args].set = 1; + switch (curarg->type) + { + case GRUB_PARTTOOL_ARG_BOOL: + pargs[curarg - ptool->args].bool + = (args[j][grub_strlen (curarg->name)] != '-'); + break; + + case GRUB_PARTTOOL_ARG_VAL: + pargs[curarg - ptool->args].str + = (args[j] + grub_strlen (curarg->name) + 1); + break; + + case GRUB_PARTTOOL_ARG_END: + break; + } + } + } + + err = ptool->func (dev, pargs); + grub_free (pargs); + if (err) + break; + } + + grub_free (parsed); + grub_device_close (dev); + return err; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(parttool) +{ + mymod = mod; + cmd = grub_register_command ("parttool", grub_cmd_parttool, + N_("PARTITION COMMANDS"), + helpmsg); +} + +GRUB_MOD_FINI(parttool) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/password.c b/grub-core/commands/password.c new file mode 100644 index 0000000..8821607 --- /dev/null +++ b/grub-core/commands/password.c @@ -0,0 +1,93 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_dl_t my_mod; + +static grub_err_t +check_password (const char *user, const char *entered, + void *password) +{ + if (grub_crypto_memcmp (entered, password, GRUB_AUTH_MAX_PASSLEN) != 0) + return GRUB_ACCESS_DENIED; + + grub_auth_authenticate (user); + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_normal_set_password (const char *user, const char *password) +{ + grub_err_t err; + char *pass; + int copylen; + + pass = grub_zalloc (GRUB_AUTH_MAX_PASSLEN); + if (!pass) + return grub_errno; + copylen = grub_strlen (password); + if (copylen >= GRUB_AUTH_MAX_PASSLEN) + copylen = GRUB_AUTH_MAX_PASSLEN - 1; + grub_memcpy (pass, password, copylen); + + err = grub_auth_register_authentication (user, check_password, pass); + if (err) + { + grub_free (pass); + return err; + } + grub_dl_ref (my_mod); + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_password (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + if (argc != 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "two arguments expected"); + return grub_normal_set_password (args[0], args[1]); +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(password) +{ + my_mod = mod; + cmd = grub_register_command ("password", grub_cmd_password, + N_("USER PASSWORD"), + N_("Set user password (plaintext). " + "Unrecommended and insecure.")); +} + +GRUB_MOD_FINI(password) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/password_pbkdf2.c b/grub-core/commands/password_pbkdf2.c new file mode 100644 index 0000000..05a6272 --- /dev/null +++ b/grub-core/commands/password_pbkdf2.c @@ -0,0 +1,199 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_dl_t my_mod; + +struct pbkdf2_password +{ + grub_uint8_t *salt; + grub_size_t saltlen; + unsigned int c; + grub_uint8_t *expected; + grub_size_t buflen; +}; + +static grub_err_t +check_password (const char *user, const char *entered, void *pin) +{ + grub_uint8_t *buf; + struct pbkdf2_password *pass = pin; + gcry_err_code_t err; + + buf = grub_malloc (pass->buflen); + if (!buf) + return grub_crypto_gcry_error (GPG_ERR_OUT_OF_MEMORY); + + err = grub_crypto_pbkdf2 (GRUB_MD_SHA512, (grub_uint8_t *) entered, + grub_strlen (entered), + pass->salt, pass->saltlen, pass->c, + buf, pass->buflen); + if (err) + { + grub_free (buf); + return grub_crypto_gcry_error (err); + } + + if (grub_crypto_memcmp (buf, pass->expected, pass->buflen) != 0) + return GRUB_ACCESS_DENIED; + + grub_auth_authenticate (user); + + return GRUB_ERR_NONE; +} + +static inline int +hex2val (char hex) +{ + if ('0' <= hex && hex <= '9') + return hex - '0'; + if ('a' <= hex && hex <= 'f') + return hex - 'a' + 10; + if ('A' <= hex && hex <= 'F') + return hex - 'A' + 10; + return -1; +} + +static grub_err_t +grub_cmd_password (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_err_t err; + char *ptr, *ptr2; + grub_uint8_t *ptro; + struct pbkdf2_password *pass; + + if (argc != 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Two arguments expected."); + + if (grub_memcmp (args[1], "grub.pbkdf2.sha512.", + sizeof ("grub.pbkdf2.sha512.") - 1) != 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Incorrect PBKDF2 password."); + + ptr = args[1] + sizeof ("grub.pbkdf2.sha512.") - 1; + + pass = grub_malloc (sizeof (*pass)); + if (!pass) + return grub_errno; + + pass->c = grub_strtoul (ptr, &ptr, 0); + if (*ptr != '.') + { + grub_free (pass); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Incorrect PBKDF2 password."); + } + ptr++; + + ptr2 = grub_strchr (ptr, '.'); + if (!ptr2 || ((ptr2 - ptr) & 1) || grub_strlen (ptr2 + 1) & 1) + { + grub_free (pass); + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Incorrect PBKDF2 password."); + } + + pass->saltlen = (ptr2 - ptr) >> 1; + pass->buflen = grub_strlen (ptr2 + 1) >> 1; + ptro = pass->salt = grub_malloc (pass->saltlen); + if (!ptro) + { + grub_free (pass); + return grub_errno; + } + while (ptr < ptr2) + { + int hex1, hex2; + hex1 = hex2val (*ptr); + ptr++; + hex2 = hex2val (*ptr); + ptr++; + if (hex1 < 0 || hex2 < 0) + { + grub_free (pass->salt); + grub_free (pass); + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "Incorrect PBKDF2 password."); + } + + *ptro = (hex1 << 4) | hex2; + ptro++; + } + + ptro = pass->expected = grub_malloc (pass->buflen); + if (!ptro) + { + grub_free (pass->salt); + grub_free (pass); + return grub_errno; + } + ptr = ptr2 + 1; + ptr2 += grub_strlen (ptr2); + while (ptr < ptr2) + { + int hex1, hex2; + hex1 = hex2val (*ptr); + ptr++; + hex2 = hex2val (*ptr); + ptr++; + if (hex1 < 0 || hex2 < 0) + { + grub_free (pass->expected); + grub_free (pass->salt); + grub_free (pass); + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "Incorrect PBKDF2 password."); + } + + *ptro = (hex1 << 4) | hex2; + ptro++; + } + + err = grub_auth_register_authentication (args[0], check_password, pass); + if (err) + { + grub_free (pass); + return err; + } + grub_dl_ref (my_mod); + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(password_pbkdf2) +{ + my_mod = mod; + cmd = grub_register_command ("password_pbkdf2", grub_cmd_password, + N_("USER PBKDF2_PASSWORD"), + N_("Set user password (PBKDF2). ")); +} + +GRUB_MOD_FINI(password_pbkdf2) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/probe.c b/grub-core/commands/probe.c new file mode 100644 index 0000000..c5f9463 --- /dev/null +++ b/grub-core/commands/probe.c @@ -0,0 +1,162 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"set", 's', 0, + N_("Set a variable to return value."), "VAR", ARG_TYPE_STRING}, + {"driver", 'd', 0, N_("Determine driver."), 0, 0}, + {"partmap", 'p', 0, N_("Determine partition map type."), 0, 0}, + {"fs", 'f', 0, N_("Determine filesystem type."), 0, 0}, + {"fs-uuid", 'u', 0, N_("Determine filesystem UUID."), 0, 0}, + {"label", 'l', 0, N_("Determine filesystem label."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static grub_err_t +grub_cmd_probe (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + grub_device_t dev; + grub_fs_t fs; + char *ptr; + grub_err_t err; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "device name required"); + + ptr = args[0] + grub_strlen (args[0]) - 1; + if (args[0][0] == '(' && *ptr == ')') + { + *ptr = 0; + dev = grub_device_open (args[0] + 1); + *ptr = ')'; + } + else + dev = grub_device_open (args[0]); + if (! dev) + return grub_error (GRUB_ERR_BAD_DEVICE, "couldn't open device"); + + if (state[1].set) + { + const char *val = "none"; + if (dev->net) + val = dev->net->dev->name; + if (dev->disk) + val = dev->disk->dev->name; + if (state[0].set) + grub_env_set (state[0].arg, val); + else + grub_printf ("%s", val); + return GRUB_ERR_NONE; + } + if (state[2].set) + { + const char *val = "none"; + if (dev->disk && dev->disk->partition) + val = dev->disk->partition->partmap->name; + if (state[0].set) + grub_env_set (state[0].arg, val); + else + grub_printf ("%s", val); + return GRUB_ERR_NONE; + } + fs = grub_fs_probe (dev); + if (! fs) + return grub_error (GRUB_ERR_UNKNOWN_FS, "unrecognised fs"); + if (state[3].set) + { + if (state[0].set) + grub_env_set (state[0].arg, fs->name); + else + grub_printf ("%s", fs->name); + return GRUB_ERR_NONE; + } + if (state[4].set) + { + char *uuid; + if (! fs->uuid) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "uuid for this FS isn't supported yet"); + err = fs->uuid (dev, &uuid); + if (err) + return err; + if (! uuid) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "uuid for this FS isn't supported yet"); + + if (state[0].set) + grub_env_set (state[0].arg, uuid); + else + grub_printf ("%s", uuid); + grub_free (uuid); + return GRUB_ERR_NONE; + } + if (state[5].set) + { + char *label; + if (! fs->label) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "label for this FS isn't supported yet"); + err = fs->label (dev, &label); + if (err) + return err; + if (! label) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "uuid for this FS isn't supported yet"); + + if (state[0].set) + grub_env_set (state[0].arg, label); + else + grub_printf ("%s", label); + grub_free (label); + return GRUB_ERR_NONE; + } + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unrecognised target"); +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT (probe) +{ + cmd = grub_register_extcmd ("probe", grub_cmd_probe, 0, N_("DEVICE"), + N_("Retrieve device info."), options); +} + +GRUB_MOD_FINI (probe) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/read.c b/grub-core/commands/read.c new file mode 100644 index 0000000..fe3e88b --- /dev/null +++ b/grub-core/commands/read.c @@ -0,0 +1,92 @@ +/* read.c - Command to read variables from user. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static char * +grub_getline (void) +{ + int i; + char *line; + char *tmp; + char c; + + i = 0; + line = grub_malloc (1 + i + sizeof('\0')); + if (! line) + return NULL; + + while (1) + { + c = grub_getkey (); + if ((c == '\n') || (c == '\r')) + break; + + line[i] = c; + if (grub_isprint (c)) + grub_printf ("%c", c); + i++; + tmp = grub_realloc (line, 1 + i + sizeof('\0')); + if (! tmp) + { + grub_free (line); + return NULL; + } + line = tmp; + } + line[i] = '\0'; + + return line; +} + +static grub_err_t +grub_cmd_read (grub_command_t cmd __attribute__ ((unused)), int argc, char **args) +{ + char *line = grub_getline (); + if (! line) + return grub_errno; + if (argc > 0) + grub_env_set (args[0], line); + + grub_free (line); + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(read) +{ + cmd = grub_register_command ("read", grub_cmd_read, + N_("[ENVVAR]"), + N_("Set variable with user input.")); +} + +GRUB_MOD_FINI(read) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/reboot.c b/grub-core/commands/reboot.c new file mode 100644 index 0000000..8e18083 --- /dev/null +++ b/grub-core/commands/reboot.c @@ -0,0 +1,47 @@ +/* reboot.c - command to reboot the computer. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_reboot (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_reboot (); + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(reboot) +{ + cmd = grub_register_command ("reboot", grub_cmd_reboot, + 0, N_("Reboot the computer.")); +} + +GRUB_MOD_FINI(reboot) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/regexp.c b/grub-core/commands/regexp.c new file mode 100644 index 0000000..1e8a6f3 --- /dev/null +++ b/grub-core/commands/regexp.c @@ -0,0 +1,151 @@ +/* regexp.c -- The regexp command. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + { "set", 's', GRUB_ARG_OPTION_REPEATABLE, + N_("Variable names to update with matches."), + N_("[NUMBER:]VARNAME"), ARG_TYPE_STRING }, + { 0, 0, 0, 0, 0, 0 } + }; + +static grub_err_t +set_matches (char **varnames, char *str, grub_size_t nmatches, + regmatch_t *matches) +{ + int i; + char ch; + char *p; + char *q; + grub_err_t err; + unsigned long j; + + auto void setvar (char *v, regmatch_t *m); + void setvar (char *v, regmatch_t *m) + { + ch = str[m->rm_eo]; + str[m->rm_eo] = '\0'; + err = grub_env_set (v, str + m->rm_so); + str[m->rm_eo] = ch; + } + + for (i = 0; varnames && varnames[i]; i++) + { + if (! (p = grub_strchr (varnames[i], ':'))) + { + /* varname w/o index defaults to 1 */ + if (nmatches < 2 || matches[1].rm_so == -1) + grub_env_unset (varnames[i]); + else + setvar (varnames[i], &matches[1]); + } + else + { + j = grub_strtoul (varnames[i], &q, 10); + if (q != p) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "invalid variable name format %s", varnames[i]); + + if (nmatches <= j || matches[j].rm_so == -1) + grub_env_unset (p + 1); + else + setvar (p + 1, &matches[j]); + } + + if (err != GRUB_ERR_NONE) + return err; + } + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_regexp (grub_extcmd_context_t ctxt, int argc, char **args) +{ + regex_t regex; + int ret; + grub_size_t s; + char *comperr; + grub_err_t err; + regmatch_t *matches = 0; + + if (argc != 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "2 arguments expected"); + + ret = regcomp (®ex, args[0], REG_EXTENDED); + if (ret) + goto fail; + + matches = grub_zalloc (sizeof (*matches) * (regex.re_nsub + 1)); + if (! matches) + goto fail; + + ret = regexec (®ex, args[1], regex.re_nsub + 1, matches, 0); + if (!ret) + { + err = set_matches (ctxt->state[0].args, args[1], + regex.re_nsub + 1, matches); + regfree (®ex); + grub_free (matches); + return err; + } + + fail: + grub_free (matches); + s = regerror (ret, ®ex, 0, 0); + comperr = grub_malloc (s); + if (!comperr) + { + regfree (®ex); + return grub_errno; + } + regerror (ret, ®ex, comperr, s); + err = grub_error (GRUB_ERR_TEST_FAILURE, "%s", comperr); + regfree (®ex); + grub_free (comperr); + return err; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(regexp) +{ + cmd = grub_register_extcmd ("regexp", grub_cmd_regexp, 0, N_("REGEXP STRING"), + N_("Test if REGEXP matches STRING."), options); + + /* Setup GRUB script wildcard translator. */ + grub_wildcard_translator = &grub_filename_translator; +} + +GRUB_MOD_FINI(regexp) +{ + grub_unregister_extcmd (cmd); + grub_wildcard_translator = 0; +} diff --git a/grub-core/commands/search.c b/grub-core/commands/search.c new file mode 100644 index 0000000..ba80d80 --- /dev/null +++ b/grub-core/commands/search.c @@ -0,0 +1,245 @@ +/* search.c - search devices based on a file or a filesystem label */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +void +FUNC_NAME (const char *key, const char *var, int no_floppy, + char **hints, unsigned nhints) +{ + int count = 0; + grub_fs_autoload_hook_t saved_autoload; + + auto int iterate_device (const char *name); + int iterate_device (const char *name) + { + int found = 0; + + /* Skip floppy drives when requested. */ + if (no_floppy && + name[0] == 'f' && name[1] == 'd' && name[2] >= '0' && name[2] <= '9') + return 0; + +#ifdef DO_SEARCH_FILE + { + char *buf; + grub_file_t file; + + buf = grub_xasprintf ("(%s)%s", name, key); + if (! buf) + return 1; + + grub_file_filter_disable_compression (); + file = grub_file_open (buf); + if (file) + { + found = 1; + grub_file_close (file); + } + grub_free (buf); + } +#else + { + /* SEARCH_FS_UUID or SEARCH_LABEL */ + grub_device_t dev; + grub_fs_t fs; + char *quid; + + dev = grub_device_open (name); + if (dev) + { + fs = grub_fs_probe (dev); + +#ifdef DO_SEARCH_FS_UUID +#define compare_fn grub_strcasecmp +#define read_fn uuid +#else +#define compare_fn grub_strcmp +#define read_fn label +#endif + + if (fs && fs->read_fn) + { + fs->read_fn (dev, &quid); + + if (grub_errno == GRUB_ERR_NONE && quid) + { + if (compare_fn (quid, key) == 0) + found = 1; + + grub_free (quid); + } + } + + grub_device_close (dev); + } + } +#endif + + if (found) + { + count++; + if (var) + grub_env_set (var, name); + else + grub_printf (" %s", name); + } + + grub_errno = GRUB_ERR_NONE; + return (found && var); + } + + auto int part_hook (grub_disk_t disk, const grub_partition_t partition); + int part_hook (grub_disk_t disk, const grub_partition_t partition) + { + char *partition_name, *devname; + int ret; + + partition_name = grub_partition_get_name (partition); + if (! partition_name) + return 1; + + devname = grub_xasprintf ("%s,%s", disk->name, partition_name); + grub_free (partition_name); + if (!devname) + return 1; + ret = iterate_device (devname); + grub_free (devname); + + return ret; + } + + auto void try (void); + void try (void) + { + unsigned i; + for (i = 0; i < nhints; i++) + { + char *end; + if (!hints[i][0]) + continue; + end = hints[i] + grub_strlen (hints[i]) - 1; + if (*end == ',') + *end = 0; + if (iterate_device (hints[i])) + { + if (!*end) + *end = ','; + return; + } + if (!*end) + { + grub_device_t dev; + int ret; + dev = grub_device_open (hints[i]); + if (!dev) + { + *end = ','; + continue; + } + if (!dev->disk) + { + grub_device_close (dev); + *end = ','; + continue; + } + ret = grub_partition_iterate (dev->disk, part_hook); + *end = ','; + grub_device_close (dev); + if (ret) + return; + } + } + grub_device_iterate (iterate_device); + } + + /* First try without autoloading if we're setting variable. */ + if (var) + { + saved_autoload = grub_fs_autoload_hook; + grub_fs_autoload_hook = 0; + try (); + + /* Restore autoload hook. */ + grub_fs_autoload_hook = saved_autoload; + + /* Retry with autoload if nothing found. */ + if (grub_errno == GRUB_ERR_NONE && count == 0) + try (); + } + else + try (); + + if (grub_errno == GRUB_ERR_NONE && count == 0) + grub_error (GRUB_ERR_FILE_NOT_FOUND, "no such device: %s", key); +} + +static grub_err_t +grub_cmd_do_search (grub_command_t cmd __attribute__ ((unused)), int argc, + char **args) +{ + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no argument specified"); + + FUNC_NAME (args[0], argc == 1 ? 0 : args[1], 0, (args + 2), + argc > 2 ? argc - 2 : 0); + + return grub_errno; +} + +static grub_command_t cmd; + +#ifdef DO_SEARCH_FILE +GRUB_MOD_INIT(search_fs_file) +#elif defined (DO_SEARCH_FS_UUID) +GRUB_MOD_INIT(search_fs_uuid) +#else +GRUB_MOD_INIT(search_label) +#endif +{ + cmd = + grub_register_command (COMMAND_NAME, grub_cmd_do_search, + N_("NAME [VARIABLE] [HINTS]"), + HELP_MESSAGE); +} + +#ifdef DO_SEARCH_FILE +GRUB_MOD_FINI(search_fs_file) +#elif defined (DO_SEARCH_FS_UUID) +GRUB_MOD_FINI(search_fs_uuid) +#else +GRUB_MOD_FINI(search_label) +#endif +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/search_file.c b/grub-core/commands/search_file.c new file mode 100644 index 0000000..73ce89c --- /dev/null +++ b/grub-core/commands/search_file.c @@ -0,0 +1,6 @@ +#define DO_SEARCH_FILE 1 +#define FUNC_NAME grub_search_fs_file +#define COMMAND_NAME "search.file" +#define SEARCH_TARGET "file" +#define HELP_MESSAGE N_("Search devices by file. If VARIABLE is specified, the first device found is set to a variable.") +#include "search.c" diff --git a/grub-core/commands/search_label.c b/grub-core/commands/search_label.c new file mode 100644 index 0000000..ee9c792 --- /dev/null +++ b/grub-core/commands/search_label.c @@ -0,0 +1,6 @@ +#define DO_SEARCH_FS_LABEL 1 +#define FUNC_NAME grub_search_label +#define COMMAND_NAME "search.fs_label" +#define SEARCH_TARGET "filesystem label" +#define HELP_MESSAGE N_("Search devices by label. If VARIABLE is specified, the first device found is set to a variable.") +#include "search.c" diff --git a/grub-core/commands/search_uuid.c b/grub-core/commands/search_uuid.c new file mode 100644 index 0000000..52f8381 --- /dev/null +++ b/grub-core/commands/search_uuid.c @@ -0,0 +1,6 @@ +#define DO_SEARCH_FS_UUID 1 +#define FUNC_NAME grub_search_fs_uuid +#define COMMAND_NAME "search.fs_uuid" +#define SEARCH_TARGET "filesystem UUID" +#define HELP_MESSAGE N_("Search devices by UUID. If VARIABLE is specified, the first device found is set to a variable.") +#include "search.c" diff --git a/grub-core/commands/search_wrap.c b/grub-core/commands/search_wrap.c new file mode 100644 index 0000000..7b0a995 --- /dev/null +++ b/grub-core/commands/search_wrap.c @@ -0,0 +1,109 @@ +/* search.c - search devices based on a file or a filesystem label */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"file", 'f', 0, N_("Search devices by a file."), 0, 0}, + {"label", 'l', 0, N_("Search devices by a filesystem label."), + 0, 0}, + {"fs-uuid", 'u', 0, N_("Search devices by a filesystem UUID."), + 0, 0}, + {"set", 's', GRUB_ARG_OPTION_OPTIONAL, + N_("Set a variable to the first device found."), "VAR", ARG_TYPE_STRING}, + {"no-floppy", 'n', 0, N_("Do not probe any floppy drive."), 0, 0}, + {"hint", 'h', GRUB_ARG_OPTION_REPEATABLE, + N_("First try the device HINT. If HINT ends in comma, " + "also try subpartitions"), N_("HINT"), ARG_TYPE_STRING}, + {0, 0, 0, 0, 0, 0} + }; + +enum options + { + SEARCH_FILE, + SEARCH_LABEL, + SEARCH_FS_UUID, + SEARCH_SET, + SEARCH_NO_FLOPPY, + SEARCH_HINT + }; + +static grub_err_t +grub_cmd_search (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + const char *var = 0; + int nhints = 0; + + if (state[SEARCH_HINT].set) + while (state[SEARCH_HINT].args[nhints]) + nhints++; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no argument specified"); + + if (state[SEARCH_SET].set) + var = state[SEARCH_SET].arg ? state[SEARCH_SET].arg : "root"; + + if (state[SEARCH_LABEL].set) + grub_search_label (args[0], var, state[SEARCH_NO_FLOPPY].set, + state[SEARCH_HINT].args, nhints); + else if (state[SEARCH_FS_UUID].set) + grub_search_fs_uuid (args[0], var, state[SEARCH_NO_FLOPPY].set, + state[SEARCH_HINT].args, nhints); + else if (state[SEARCH_FILE].set) + grub_search_fs_file (args[0], var, state[SEARCH_NO_FLOPPY].set, + state[SEARCH_HINT].args, nhints); + else + return grub_error (GRUB_ERR_INVALID_COMMAND, "unspecified search type"); + + return grub_errno; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(search) +{ + cmd = + grub_register_extcmd ("search", grub_cmd_search, GRUB_COMMAND_FLAG_EXTRACTOR, + N_("[-f|-l|-u|-s|-n] [--hint HINT [--hint HINT] ...]" + " NAME"), + N_("Search devices by file, filesystem label" + " or filesystem UUID." + " If --set is specified, the first device found is" + " set to a variable. If no variable name is" + " specified, \"root\" is used."), + options); +} + +GRUB_MOD_FINI(search) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/setpci.c b/grub-core/commands/setpci.c new file mode 100644 index 0000000..70f5bcd --- /dev/null +++ b/grub-core/commands/setpci.c @@ -0,0 +1,343 @@ +/* lspci.c - List PCI devices. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct pci_register +{ + const char *name; + grub_uint16_t addr; + unsigned size; +}; + +static struct pci_register pci_registers[] = + { + {"VENDOR_ID", GRUB_PCI_REG_VENDOR , 2}, + {"DEVICE_ID", GRUB_PCI_REG_DEVICE , 2}, + {"COMMAND", GRUB_PCI_REG_COMMAND , 2}, + {"STATUS", GRUB_PCI_REG_STATUS , 2}, + {"REVISION", GRUB_PCI_REG_REVISION , 1}, + {"CLASS_PROG", GRUB_PCI_REG_CLASS + 1 , 1}, + {"CLASS_DEVICE", GRUB_PCI_REG_CLASS + 2 , 2}, + {"CACHE_LINE_SIZE", GRUB_PCI_REG_CACHELINE , 1}, + {"LATENCY_TIMER", GRUB_PCI_REG_LAT_TIMER , 1}, + {"HEADER_TYPE", GRUB_PCI_REG_HEADER_TYPE , 1}, + {"BIST", GRUB_PCI_REG_BIST , 1}, + {"BASE_ADDRESS_0", GRUB_PCI_REG_ADDRESS_REG0, 4}, + {"BASE_ADDRESS_1", GRUB_PCI_REG_ADDRESS_REG1, 4}, + {"BASE_ADDRESS_2", GRUB_PCI_REG_ADDRESS_REG2, 4}, + {"BASE_ADDRESS_3", GRUB_PCI_REG_ADDRESS_REG3, 4}, + {"BASE_ADDRESS_4", GRUB_PCI_REG_ADDRESS_REG4, 4}, + {"BASE_ADDRESS_5", GRUB_PCI_REG_ADDRESS_REG5, 4}, + {"CARDBUS_CIS", GRUB_PCI_REG_CIS_POINTER , 4}, + {"SUBVENDOR_ID", GRUB_PCI_REG_SUBVENDOR , 2}, + {"SUBSYSTEM_ID", GRUB_PCI_REG_SUBSYSTEM , 2}, + {"ROM_ADDRESS", GRUB_PCI_REG_ROM_ADDRESS , 4}, + {"CAP_POINTER", GRUB_PCI_REG_CAP_POINTER , 1}, + {"INTERRUPT_LINE", GRUB_PCI_REG_IRQ_LINE , 1}, + {"INTERRUPT_PIN", GRUB_PCI_REG_IRQ_PIN , 1}, + {"MIN_GNT", GRUB_PCI_REG_MIN_GNT , 1}, + {"MAX_LAT", GRUB_PCI_REG_MIN_GNT , 1}, + }; + +static const struct grub_arg_option options[] = + { + {0, 'd', 0, "Select device by vendor and device IDs.", + "[vendor]:[device]", ARG_TYPE_STRING}, + {0, 's', 0, "Select device by its position on the bus.", + "[bus]:[slot][.func]", ARG_TYPE_STRING}, + {0, 'v', 0, "Save read value into variable VARNAME.", + "VARNAME", ARG_TYPE_STRING}, + {0, 0, 0, 0, 0, 0} + }; + +static grub_uint32_t pciid_check_mask, pciid_check_value; +static int bus, device, function; +static int check_bus, check_device, check_function; +static grub_uint32_t write_mask, regwrite; +static int regsize; +static grub_uint16_t regaddr; +static const char *varname; + +static int NESTED_FUNC_ATTR +grub_setpci_iter (grub_pci_device_t dev, grub_pci_id_t pciid) +{ + grub_uint32_t regval = 0; + grub_pci_address_t addr; + + if ((pciid & pciid_check_mask) != pciid_check_value) + return 0; + + if (check_bus && grub_pci_get_bus (dev) != bus) + return 0; + + if (check_device && grub_pci_get_device (dev) != device) + return 0; + + if (check_function && grub_pci_get_function (dev) != function) + return 0; + + addr = grub_pci_make_address (dev, regaddr); + + switch (regsize) + { + case 1: + regval = grub_pci_read_byte (addr); + break; + + case 2: + regval = grub_pci_read_word (addr); + break; + + case 4: + regval = grub_pci_read (addr); + break; + } + + if (varname) + { + char buf[sizeof ("XXXXXXXX")]; + grub_snprintf (buf, sizeof (buf), "%x", regval); + grub_env_set (varname, buf); + return 1; + } + + if (!write_mask) + { + grub_printf ("Register %x of %d:%d.%d is %x\n", regaddr, + grub_pci_get_bus (dev), + grub_pci_get_device (dev), + grub_pci_get_function (dev), + regval); + return 0; + } + + regval = (regval & ~write_mask) | regwrite; + + switch (regsize) + { + case 1: + grub_pci_write_byte (addr, regval); + break; + + case 2: + grub_pci_write_word (addr, regval); + break; + + case 4: + grub_pci_write (addr, regval); + break; + } + + return 0; +} + +static grub_err_t +grub_cmd_setpci (grub_extcmd_context_t ctxt, int argc, char **argv) +{ + const char *ptr; + unsigned i; + + pciid_check_value = 0; + pciid_check_mask = 0; + + if (ctxt->state[0].set) + { + ptr = ctxt->state[0].arg; + pciid_check_value |= (grub_strtoul (ptr, (char **) &ptr, 16) & 0xffff); + if (grub_errno == GRUB_ERR_BAD_NUMBER) + { + grub_errno = GRUB_ERR_NONE; + ptr = ctxt->state[0].arg; + } + else + pciid_check_mask |= 0xffff; + if (grub_errno) + return grub_errno; + if (*ptr != ':') + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Colon expected."); + ptr++; + pciid_check_value |= (grub_strtoul (ptr, (char **) &ptr, 16) & 0xffff) + << 16; + if (grub_errno == GRUB_ERR_BAD_NUMBER) + grub_errno = GRUB_ERR_NONE; + else + pciid_check_mask |= 0xffff0000; + } + + pciid_check_value &= pciid_check_mask; + + check_bus = check_device = check_function = 0; + + if (ctxt->state[1].set) + { + const char *optr; + + ptr = ctxt->state[1].arg; + optr = ptr; + bus = grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno == GRUB_ERR_BAD_NUMBER) + { + grub_errno = GRUB_ERR_NONE; + ptr = optr; + } + else + check_bus = 1; + if (grub_errno) + return grub_errno; + if (*ptr != ':') + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Colon expected."); + ptr++; + optr = ptr; + device = grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno == GRUB_ERR_BAD_NUMBER) + { + grub_errno = GRUB_ERR_NONE; + ptr = optr; + } + else + check_device = 1; + if (*ptr == '.') + { + ptr++; + function = grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno) + return grub_errno; + check_function = 1; + } + } + + if (ctxt->state[2].set) + varname = ctxt->state[2].arg; + else + varname = NULL; + + write_mask = 0; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Command expected."); + + if (argc > 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Only one command is supported."); + + ptr = argv[0]; + + for (i = 0; i < ARRAY_SIZE (pci_registers); i++) + { + if (grub_strncmp (ptr, pci_registers[i].name, + grub_strlen (pci_registers[i].name)) == 0) + break; + } + if (i == ARRAY_SIZE (pci_registers)) + { + regsize = 0; + regaddr = grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "Unknown register"); + } + else + { + regaddr = pci_registers[i].addr; + regsize = pci_registers[i].size; + ptr += grub_strlen (pci_registers[i].name); + } + + if (grub_errno) + return grub_errno; + + if (*ptr == '+') + { + ptr++; + regaddr += grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno) + return grub_errno; + } + + if (grub_memcmp (ptr, ".L", sizeof (".L") - 1) == 0 + || grub_memcmp (ptr, ".l", sizeof (".l") - 1) == 0) + { + regsize = 4; + ptr += sizeof (".l") - 1; + } + else if (grub_memcmp (ptr, ".W", sizeof (".W") - 1) == 0 + || grub_memcmp (ptr, ".w", sizeof (".w") - 1) == 0) + { + regsize = 2; + ptr += sizeof (".w") - 1; + } + else if (grub_memcmp (ptr, ".B", sizeof (".B") - 1) == 0 + || grub_memcmp (ptr, ".b", sizeof (".b") - 1) == 0) + { + regsize = 1; + ptr += sizeof (".b") - 1; + } + + if (!regsize) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "Unknown register size."); + + write_mask = 0; + if (*ptr == '=') + { + ptr++; + regwrite = grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno) + return grub_errno; + write_mask = 0xffffffff; + if (*ptr == ':') + { + ptr++; + write_mask = grub_strtoul (ptr, (char **) &ptr, 16); + if (grub_errno) + return grub_errno; + write_mask = 0xffffffff; + } + regwrite &= write_mask; + } + + if (write_mask && varname) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "Option -v isn't valid for writes."); + + grub_pci_iterate (grub_setpci_iter); + return GRUB_ERR_NONE; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(setpci) +{ + cmd = grub_register_extcmd ("setpci", grub_cmd_setpci, 0, + N_("[-s POSITION] [-d DEVICE] [-v VAR] " + "[REGISTER][=VALUE[:MASK]]"), + N_("Manipulate PCI devices."), options); +} + +GRUB_MOD_FINI(setpci) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/sleep.c b/grub-core/commands/sleep.c new file mode 100644 index 0000000..97e7a40 --- /dev/null +++ b/grub-core/commands/sleep.c @@ -0,0 +1,114 @@ +/* sleep.c - Command to wait a specified number of seconds. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const struct grub_arg_option options[] = + { + {"verbose", 'v', 0, N_("Verbose countdown."), 0, 0}, + {"interruptible", 'i', 0, N_("Interruptible with ESC."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +static grub_uint16_t *pos; + +static void +do_print (int n) +{ + grub_term_restore_pos (pos); + /* NOTE: Do not remove the trailing space characters. + They are required to clear the line. */ + grub_printf ("%d ", n); +} + +/* Based on grub_millisleep() from kern/generic/millisleep.c. */ +static int +grub_interruptible_millisleep (grub_uint32_t ms) +{ + grub_uint64_t start; + + start = grub_get_time_ms (); + + while (grub_get_time_ms () - start < ms) + if (grub_checkkey () >= 0 && grub_getkey () == GRUB_TERM_ESC) + return 1; + + return 0; +} + +static grub_err_t +grub_cmd_sleep (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + int n; + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "missing operand"); + + n = grub_strtoul (args[0], 0, 10); + + if (n == 0) + { + /* Either `0' or broken input. */ + return 0; + } + + pos = grub_term_save_pos (); + + for (; n; n--) + { + if (state[0].set) + do_print (n); + + if (state[1].set) + { + if (grub_interruptible_millisleep (1000)) + return 1; + } + else + grub_millisleep (1000); + } + if (state[0].set) + do_print (0); + + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(sleep) +{ + cmd = grub_register_extcmd ("sleep", grub_cmd_sleep, 0, + N_("NUMBER_OF_SECONDS"), + N_("Wait for a specified number of seconds."), + options); +} + +GRUB_MOD_FINI(sleep) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/commands/terminal.c b/grub-core/commands/terminal.c new file mode 100644 index 0000000..0adfd3d --- /dev/null +++ b/grub-core/commands/terminal.c @@ -0,0 +1,258 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct grub_term_autoload *grub_term_input_autoload = NULL; +struct grub_term_autoload *grub_term_output_autoload = NULL; + +struct abstract_terminal +{ + struct abstract_terminal *next; + const char *name; + grub_err_t (*init) (struct abstract_terminal *term); + grub_err_t (*fini) (struct abstract_terminal *term); +}; + +static grub_err_t +handle_command (int argc, char **args, struct abstract_terminal **enabled, + struct abstract_terminal **disabled, + struct grub_term_autoload *autoloads, + const char *active_str, + const char *available_str) +{ + int i; + struct abstract_terminal *term; + struct grub_term_autoload *aut; + + if (argc == 0) + { + grub_puts_ (active_str); + for (term = *enabled; term; term = term->next) + grub_printf ("%s ", term->name); + grub_printf ("\n"); + grub_puts_ (available_str); + for (term = *disabled; term; term = term->next) + grub_printf ("%s ", term->name); + /* This is quadratic but we don't expect mode than 30 terminal + modules ever. */ + for (aut = autoloads; aut; aut = aut->next) + { + for (term = *disabled; term; term = term->next) + if (grub_strcmp (term->name, aut->name) == 0 + || (aut->name[0] && aut->name[grub_strlen (aut->name) - 1] == '*' + && grub_memcmp (term->name, aut->name, + grub_strlen (aut->name) - 1) == 0)) + break; + if (!term) + for (term = *enabled; term; term = term->next) + if (grub_strcmp (term->name, aut->name) == 0 + || (aut->name[0] && aut->name[grub_strlen (aut->name) - 1] == '*' + && grub_memcmp (term->name, aut->name, + grub_strlen (aut->name) - 1) == 0)) + break; + if (!term) + grub_printf ("%s ", aut->name); + } + grub_printf ("\n"); + return GRUB_ERR_NONE; + } + i = 0; + + if (grub_strcmp (args[0], "--append") == 0 + || grub_strcmp (args[0], "--remove") == 0) + i++; + + if (i == argc) + return grub_error (GRUB_ERR_BAD_ARGUMENT, N_ ("no terminal specified")); + + for (; i < argc; i++) + { + int again = 0; + while (1) + { + for (term = *disabled; term; term = term->next) + if (grub_strcmp (args[i], term->name) == 0) + break; + if (term == 0) + for (term = *enabled; term; term = term->next) + if (grub_strcmp (args[i], term->name) == 0) + break; + if (term) + break; + if (again) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unknown terminal '%s'\n", + args[i]); + for (aut = autoloads; aut; aut = aut->next) + if (grub_strcmp (args[i], aut->name) == 0 + || (aut->name[0] && aut->name[grub_strlen (aut->name) - 1] == '*' + && grub_memcmp (args[i], aut->name, + grub_strlen (aut->name) - 1) == 0)) + { + grub_dl_t mod; + mod = grub_dl_load (aut->modname); + if (mod) + grub_dl_ref (mod); + grub_errno = GRUB_ERR_NONE; + break; + } + if (!aut) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unknown terminal '%s'\n", + args[i]); + again = 1; + } + } + + if (grub_strcmp (args[0], "--append") == 0) + { + for (i = 1; i < argc; i++) + { + for (term = *disabled; term; term = term->next) + if (grub_strcmp (args[i], term->name) == 0) + break; + if (term) + { + if (term->init && term->init (term) != GRUB_ERR_NONE) + return grub_errno; + + grub_list_remove (GRUB_AS_LIST_P (disabled), GRUB_AS_LIST (term)); + grub_list_push (GRUB_AS_LIST_P (enabled), GRUB_AS_LIST (term)); + } + } + return GRUB_ERR_NONE; + } + + if (grub_strcmp (args[0], "--remove") == 0) + { + for (i = 1; i < argc; i++) + { + for (term = *enabled; term; term = term->next) + if (grub_strcmp (args[i], term->name) == 0) + break; + if (term) + { + if (!term->next && term == *enabled) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "can't remove the last terminal"); + grub_list_remove (GRUB_AS_LIST_P (enabled), GRUB_AS_LIST (term)); + if (term->fini) + term->fini (term); + grub_list_push (GRUB_AS_LIST_P (disabled), GRUB_AS_LIST (term)); + } + } + return GRUB_ERR_NONE; + } + for (i = 0; i < argc; i++) + { + for (term = *disabled; term; term = term->next) + if (grub_strcmp (args[i], term->name) == 0) + break; + if (term) + { + if (term->init && term->init (term) != GRUB_ERR_NONE) + return grub_errno; + + grub_list_remove (GRUB_AS_LIST_P (disabled), GRUB_AS_LIST (term)); + grub_list_push (GRUB_AS_LIST_P (enabled), GRUB_AS_LIST (term)); + } + } + + { + struct abstract_terminal *next; + for (term = *enabled; term; term = next) + { + next = term->next; + for (i = 0; i < argc; i++) + if (grub_strcmp (args[i], term->name) == 0) + break; + if (i == argc) + { + if (!term->next && term == *enabled) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "can't remove the last terminal"); + grub_list_remove (GRUB_AS_LIST_P (enabled), GRUB_AS_LIST (term)); + if (term->fini) + term->fini (term); + grub_list_push (GRUB_AS_LIST_P (disabled), GRUB_AS_LIST (term)); + } + } + } + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_terminal_input (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + (void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, next); + (void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, name); + (void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, init); + (void) GRUB_FIELD_MATCH (grub_term_inputs, struct abstract_terminal *, fini); + return handle_command (argc, args, + (struct abstract_terminal **) (void *) &grub_term_inputs, + (struct abstract_terminal **) (void *) &grub_term_inputs_disabled, + grub_term_input_autoload, + N_ ("Active input terminals:"), + N_ ("Available input terminals:")); +} + +static grub_err_t +grub_cmd_terminal_output (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, next); + (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, name); + (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, init); + (void) GRUB_FIELD_MATCH (grub_term_outputs, struct abstract_terminal *, fini); + return handle_command (argc, args, + (struct abstract_terminal **) (void *) &grub_term_outputs, + (struct abstract_terminal **) (void *) &grub_term_outputs_disabled, + grub_term_output_autoload, + N_ ("Active output terminals:"), + N_ ("Available output terminals:")); +} + +static grub_command_t cmd_terminal_input, cmd_terminal_output; + +GRUB_MOD_INIT(terminal) +{ + cmd_terminal_input = + grub_register_command ("terminal_input", grub_cmd_terminal_input, + N_("[--append|--remove] " + "[TERMINAL1] [TERMINAL2] ..."), + N_("List or select an input terminal.")); + cmd_terminal_output = + grub_register_command ("terminal_output", grub_cmd_terminal_output, + N_("[--append|--remove] " + "[TERMINAL1] [TERMINAL2] ..."), + N_("List or select an output terminal.")); +} + +GRUB_MOD_FINI(terminal) +{ + grub_unregister_command (cmd_terminal_input); + grub_unregister_command (cmd_terminal_output); +} diff --git a/grub-core/commands/test.c b/grub-core/commands/test.c new file mode 100644 index 0000000..50d5aba --- /dev/null +++ b/grub-core/commands/test.c @@ -0,0 +1,438 @@ +/* test.c -- The test command.. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* A simple implementation for signed numbers. */ +static int +grub_strtosl (char *arg, char **end, int base) +{ + if (arg[0] == '-') + return -grub_strtoul (arg + 1, end, base); + return grub_strtoul (arg, end, base); +} + +/* Parse a test expression starting from *argn. */ +static int +test_parse (char **args, int *argn, int argc) +{ + int ret = 0, discard = 0, invert = 0; + int file_exists; + struct grub_dirhook_info file_info; + + auto void update_val (int val); + auto void get_fileinfo (char *pathname); + + /* Take care of discarding and inverting. */ + void update_val (int val) + { + if (! discard) + ret = invert ? ! val : val; + invert = discard = 0; + } + + /* Check if file exists and fetch its information. */ + void get_fileinfo (char *path) + { + char *filename, *pathname; + char *device_name; + grub_fs_t fs; + grub_device_t dev; + + /* A hook for iterating directories. */ + auto int find_file (const char *cur_filename, + const struct grub_dirhook_info *info); + int find_file (const char *cur_filename, + const struct grub_dirhook_info *info) + { + if ((info->case_insensitive ? grub_strcasecmp (cur_filename, filename) + : grub_strcmp (cur_filename, filename)) == 0) + { + file_info = *info; + file_exists = 1; + return 1; + } + return 0; + } + + file_exists = 0; + device_name = grub_file_get_device_name (path); + dev = grub_device_open (device_name); + if (! dev) + { + grub_free (device_name); + return; + } + + fs = grub_fs_probe (dev); + if (! fs) + { + grub_free (device_name); + grub_device_close (dev); + return; + } + + pathname = grub_strchr (path, ')'); + if (! pathname) + pathname = path; + else + pathname++; + + /* Remove trailing '/'. */ + while (*pathname && pathname[grub_strlen (pathname) - 1] == '/') + pathname[grub_strlen (pathname) - 1] = 0; + + /* Split into path and filename. */ + filename = grub_strrchr (pathname, '/'); + if (! filename) + { + path = grub_strdup ("/"); + filename = pathname; + } + else + { + filename++; + path = grub_strdup (pathname); + path[filename - pathname] = 0; + } + + /* It's the whole device. */ + if (! *pathname) + { + file_exists = 1; + grub_memset (&file_info, 0, sizeof (file_info)); + /* Root is always a directory. */ + file_info.dir = 1; + + /* Fetch writing time. */ + file_info.mtimeset = 0; + if (fs->mtime) + { + if (! fs->mtime (dev, &file_info.mtime)) + file_info.mtimeset = 1; + grub_errno = GRUB_ERR_NONE; + } + } + else + (fs->dir) (dev, path, find_file); + + grub_device_close (dev); + grub_free (path); + grub_free (device_name); + } + + /* Here we have the real parsing. */ + while (*argn < argc) + { + /* First try 3 argument tests. */ + if (*argn + 2 < argc) + { + /* String tests. */ + if (grub_strcmp (args[*argn + 1], "=") == 0 + || grub_strcmp (args[*argn + 1], "==") == 0) + { + update_val (grub_strcmp (args[*argn], args[*argn + 2]) == 0); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "!=") == 0) + { + update_val (grub_strcmp (args[*argn], args[*argn + 2]) != 0); + (*argn) += 3; + continue; + } + + /* GRUB extension: lexicographical sorting. */ + if (grub_strcmp (args[*argn + 1], "<") == 0) + { + update_val (grub_strcmp (args[*argn], args[*argn + 2]) < 0); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "<=") == 0) + { + update_val (grub_strcmp (args[*argn], args[*argn + 2]) <= 0); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], ">") == 0) + { + update_val (grub_strcmp (args[*argn], args[*argn + 2]) > 0); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], ">=") == 0) + { + update_val (grub_strcmp (args[*argn], args[*argn + 2]) >= 0); + (*argn) += 3; + continue; + } + + /* Number tests. */ + if (grub_strcmp (args[*argn + 1], "-eq") == 0) + { + update_val (grub_strtosl (args[*argn], 0, 0) + == grub_strtosl (args[*argn + 2], 0, 0)); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "-ge") == 0) + { + update_val (grub_strtosl (args[*argn], 0, 0) + >= grub_strtosl (args[*argn + 2], 0, 0)); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "-gt") == 0) + { + update_val (grub_strtosl (args[*argn], 0, 0) + > grub_strtosl (args[*argn + 2], 0, 0)); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "-le") == 0) + { + update_val (grub_strtosl (args[*argn], 0, 0) + <= grub_strtosl (args[*argn + 2], 0, 0)); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "-lt") == 0) + { + update_val (grub_strtosl (args[*argn], 0, 0) + < grub_strtosl (args[*argn + 2], 0, 0)); + (*argn) += 3; + continue; + } + + if (grub_strcmp (args[*argn + 1], "-ne") == 0) + { + update_val (grub_strtosl (args[*argn], 0, 0) + != grub_strtosl (args[*argn + 2], 0, 0)); + (*argn) += 3; + continue; + } + + /* GRUB extension: compare numbers skipping prefixes. + Useful for comparing versions. E.g. vmlinuz-2 -plt vmlinuz-11. */ + if (grub_strcmp (args[*argn + 1], "-pgt") == 0 + || grub_strcmp (args[*argn + 1], "-plt") == 0) + { + int i; + /* Skip common prefix. */ + for (i = 0; args[*argn][i] == args[*argn + 2][i] + && args[*argn][i]; i++); + + /* Go the digits back. */ + i--; + while (grub_isdigit (args[*argn][i]) && i > 0) + i--; + i++; + + if (grub_strcmp (args[*argn + 1], "-pgt") == 0) + update_val (grub_strtoul (args[*argn] + i, 0, 0) + > grub_strtoul (args[*argn + 2] + i, 0, 0)); + else + update_val (grub_strtoul (args[*argn] + i, 0, 0) + < grub_strtoul (args[*argn + 2] + i, 0, 0)); + (*argn) += 3; + continue; + } + + /* -nt and -ot tests. GRUB extension: when doing -?t bias + will be added to the first mtime. */ + if (grub_memcmp (args[*argn + 1], "-nt", 3) == 0 + || grub_memcmp (args[*argn + 1], "-ot", 3) == 0) + { + struct grub_dirhook_info file1; + int file1exists; + int bias = 0; + + /* Fetch fileinfo. */ + get_fileinfo (args[*argn]); + file1 = file_info; + file1exists = file_exists; + get_fileinfo (args[*argn + 2]); + + if (args[*argn + 1][3]) + bias = grub_strtosl (args[*argn + 1] + 3, 0, 0); + + if (grub_memcmp (args[*argn + 1], "-nt", 3) == 0) + update_val ((file1exists && ! file_exists) + || (file1.mtimeset && file_info.mtimeset + && file1.mtime + bias > file_info.mtime)); + else + update_val ((! file1exists && file_exists) + || (file1.mtimeset && file_info.mtimeset + && file1.mtime + bias < file_info.mtime)); + (*argn) += 3; + continue; + } + } + + /* Two-argument tests. */ + if (*argn + 1 < argc) + { + /* File tests. */ + if (grub_strcmp (args[*argn], "-d") == 0) + { + get_fileinfo (args[*argn + 1]); + update_val (file_exists && file_info.dir); + (*argn) += 2; + return ret; + } + + if (grub_strcmp (args[*argn], "-e") == 0) + { + get_fileinfo (args[*argn + 1]); + update_val (file_exists); + (*argn) += 2; + return ret; + } + + if (grub_strcmp (args[*argn], "-f") == 0) + { + get_fileinfo (args[*argn + 1]); + /* FIXME: check for other types. */ + update_val (file_exists && ! file_info.dir); + (*argn) += 2; + return ret; + } + + if (grub_strcmp (args[*argn], "-s") == 0) + { + grub_file_t file; + grub_file_filter_disable_compression (); + file = grub_file_open (args[*argn + 1]); + update_val (file && (grub_file_size (file) != 0)); + if (file) + grub_file_close (file); + grub_errno = GRUB_ERR_NONE; + (*argn) += 2; + return ret; + } + + /* String tests. */ + if (grub_strcmp (args[*argn], "-n") == 0) + { + update_val (args[*argn + 1][0]); + + (*argn) += 2; + continue; + } + if (grub_strcmp (args[*argn], "-z") == 0) + { + update_val (! args[*argn + 1][0]); + (*argn) += 2; + continue; + } + } + + /* Special modifiers. */ + + /* End of expression. return to parent. */ + if (grub_strcmp (args[*argn], ")") == 0) + { + (*argn)++; + return ret; + } + /* Recursively invoke if parenthesis. */ + if (grub_strcmp (args[*argn], "(") == 0) + { + (*argn)++; + update_val (test_parse (args, argn, argc)); + continue; + } + + if (grub_strcmp (args[*argn], "!") == 0) + { + invert = ! invert; + (*argn)++; + continue; + } + if (grub_strcmp (args[*argn], "-a") == 0) + { + /* If current value is 0 second value is to be discarded. */ + discard = ! ret; + (*argn)++; + continue; + } + if (grub_strcmp (args[*argn], "-o") == 0) + { + /* If current value is 1 second value is to be discarded. */ + discard = ret; + (*argn)++; + continue; + } + + /* No test found. Interpret if as just a string. */ + update_val (args[*argn][0]); + (*argn)++; + } + return ret; +} + +static grub_err_t +grub_cmd_test (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + int argn = 0; + + if (argc >= 1 && grub_strcmp (args[argc - 1], "]") == 0) + argc--; + + return test_parse (args, &argn, argc) ? GRUB_ERR_NONE + : grub_error (GRUB_ERR_TEST_FAILURE, "false"); +} + +static grub_command_t cmd_1, cmd_2; + +GRUB_MOD_INIT(test) +{ + cmd_1 = grub_register_command ("[", grub_cmd_test, + N_("EXPRESSION ]"), N_("Evaluate an expression.")); + cmd_1->flags |= GRUB_COMMAND_FLAG_EXTRACTOR; + cmd_2 = grub_register_command ("test", grub_cmd_test, + N_("EXPRESSION"), N_("Evaluate an expression.")); + cmd_2->flags |= GRUB_COMMAND_FLAG_EXTRACTOR; +} + +GRUB_MOD_FINI(test) +{ + grub_unregister_command (cmd_1); + grub_unregister_command (cmd_2); +} diff --git a/grub-core/commands/testload.c b/grub-core/commands/testload.c new file mode 100644 index 0000000..fe06f3d --- /dev/null +++ b/grub-core/commands/testload.c @@ -0,0 +1,157 @@ +/* testload.c - load the same file in multiple ways */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_testload (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + grub_file_t file; + char *buf; + grub_size_t size; + grub_off_t pos; + auto void NESTED_FUNC_ATTR read_func (grub_disk_addr_t sector, unsigned offset, unsigned len); + + void NESTED_FUNC_ATTR read_func (grub_disk_addr_t sector __attribute__ ((unused)), + unsigned offset __attribute__ ((unused)), + unsigned len __attribute__ ((unused))) + { + grub_xputs ("."); + grub_refresh (); + } + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no file specified"); + + file = grub_file_open (argv[0]); + if (! file) + return grub_errno; + + size = grub_file_size (file) & ~(GRUB_DISK_SECTOR_SIZE - 1); + if (size == 0) + { + grub_file_close (file); + return GRUB_ERR_NONE; + } + + buf = grub_malloc (size); + if (! buf) + goto fail; + + grub_printf ("Reading %s sequentially", argv[0]); + file->read_hook = read_func; + if (grub_file_read (file, buf, size) != (grub_ssize_t) size) + goto fail; + grub_printf (" Done.\n"); + + /* Read sequentially again. */ + grub_printf ("Reading %s sequentially again", argv[0]); + grub_file_seek (file, 0); + + for (pos = 0; pos < size; pos += GRUB_DISK_SECTOR_SIZE) + { + char sector[GRUB_DISK_SECTOR_SIZE]; + + if (grub_file_read (file, sector, GRUB_DISK_SECTOR_SIZE) + != GRUB_DISK_SECTOR_SIZE) + goto fail; + + if (grub_memcmp (sector, buf + pos, GRUB_DISK_SECTOR_SIZE) != 0) + { + grub_printf ("\nDiffers in %lld\n", (unsigned long long) pos); + goto fail; + } + } + grub_printf (" Done.\n"); + + /* Read backwards and compare. */ + grub_printf ("Reading %s backwards", argv[0]); + pos = size; + while (pos > 0) + { + char sector[GRUB_DISK_SECTOR_SIZE]; + + pos -= GRUB_DISK_SECTOR_SIZE; + + grub_file_seek (file, pos); + + if (grub_file_read (file, sector, GRUB_DISK_SECTOR_SIZE) + != GRUB_DISK_SECTOR_SIZE) + goto fail; + + if (grub_memcmp (sector, buf + pos, GRUB_DISK_SECTOR_SIZE) != 0) + { + int i; + + grub_printf ("\nDiffers in %lld\n", (unsigned long long) pos); + + for (i = 0; i < GRUB_DISK_SECTOR_SIZE; i++) + { + grub_printf ("%02x ", buf[pos + i]); + if ((i & 15) == 15) + grub_printf ("\n"); + } + + if (i) + grub_refresh (); + + goto fail; + } + } + grub_printf (" Done.\n"); + + return GRUB_ERR_NONE; + + fail: + + grub_file_close (file); + grub_free (buf); + + if (!grub_errno) + grub_error (GRUB_ERR_IO, "bad read"); + return grub_errno; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(testload) +{ + cmd = + grub_register_command ("testload", grub_cmd_testload, + N_("FILE"), + N_("Load the same file in multiple ways.")); +} + +GRUB_MOD_FINI(testload) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/true.c b/grub-core/commands/true.c new file mode 100644 index 0000000..82775e7 --- /dev/null +++ b/grub-core/commands/true.c @@ -0,0 +1,59 @@ +/* true.c - true and false commands. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_true (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + return 0; +} + +static grub_err_t +grub_cmd_false (struct grub_command *cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *argv[] __attribute__ ((unused))) +{ + return grub_error (GRUB_ERR_TEST_FAILURE, "false"); +} + +static grub_command_t cmd_true, cmd_false; + + +GRUB_MOD_INIT(true) +{ + cmd_true = + grub_register_command ("true", grub_cmd_true, + 0, N_("Do nothing, successfully.")); + cmd_false = + grub_register_command ("false", grub_cmd_false, + 0, N_("Do nothing, unsuccessfully.")); +} + +GRUB_MOD_FINI(true) +{ + grub_unregister_command (cmd_true); + grub_unregister_command (cmd_false); +} diff --git a/grub-core/commands/usbtest.c b/grub-core/commands/usbtest.c new file mode 100644 index 0000000..4a051ad --- /dev/null +++ b/grub-core/commands/usbtest.c @@ -0,0 +1,218 @@ +/* usbtest.c - test module for USB */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static const char *usb_classes[] = + { + "Unknown", + "Audio", + "Communication Interface", + "HID", + "Unknown", + "Physical", + "Image", + "Printer", + "Mass Storage", + "Hub", + "Data Interface", + "Smart Card", + "Content Security", + "Video" + }; + +static const char *usb_endp_type[] = + { + "Control", + "Isochronous", + "Bulk", + "Interrupt" + }; + +static const char *usb_devspeed[] = + { + "", + "Low", + "Full", + "High" + }; + +static grub_usb_err_t +grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int langid, + char **string) +{ + struct grub_usb_desc_str descstr; + struct grub_usb_desc_str *descstrp; + grub_usb_err_t err; + + /* Only get the length. */ + err = grub_usb_control_msg (dev, 1 << 7, + 0x06, (3 << 8) | index, + langid, 1, (char *) &descstr); + if (err) + return err; + + descstrp = grub_malloc (descstr.length); + if (! descstrp) + return GRUB_USB_ERR_INTERNAL; + err = grub_usb_control_msg (dev, 1 << 7, + 0x06, (3 << 8) | index, + langid, descstr.length, (char *) descstrp); + + if (descstrp->length == 0) + { + grub_free (descstrp); + *string = grub_strdup (""); + if (! *string) + return GRUB_USB_ERR_INTERNAL; + return GRUB_USB_ERR_NONE; + } + + *string = grub_malloc (descstr.length * 2 + 1); + if (! *string) + { + grub_free (descstrp); + return GRUB_USB_ERR_INTERNAL; + } + + *grub_utf16_to_utf8 ((grub_uint8_t *) *string, descstrp->str, + descstrp->length / 2 - 1) = 0; + grub_free (descstrp); + + return GRUB_USB_ERR_NONE; +} + +static void +usb_print_str (const char *description, grub_usb_device_t dev, int idx) +{ + char *name; + grub_usb_err_t err; + /* XXX: LANGID */ + + if (! idx) + return; + + err = grub_usb_get_string (dev, idx, 0x0409, &name); + if (err) + grub_printf ("Error %d retrieving %s\n", err, description); + else + { + grub_printf ("%s: `%s'\n", description, name); + grub_free (name); + } +} + +static int +usb_iterate (grub_usb_device_t dev) +{ + struct grub_usb_desc_device *descdev; + int i; + + descdev = &dev->descdev; + + usb_print_str ("Product", dev, descdev->strprod); + usb_print_str ("Vendor", dev, descdev->strvendor); + usb_print_str ("Serial", dev, descdev->strserial); + + grub_printf ("Class: (0x%02x) %s, Subclass: 0x%02x, Protocol: 0x%02x\n", + descdev->class, descdev->class < ARRAY_SIZE (usb_classes) + ? usb_classes[descdev->class] : "Unknown", + descdev->subclass, descdev->protocol); + grub_printf ("USB version %d.%d, VendorID: 0x%02x, ProductID: 0x%02x, #conf: %d\n", + descdev->usbrel >> 8, (descdev->usbrel >> 4) & 0x0F, + descdev->vendorid, descdev->prodid, descdev->configcnt); + + grub_printf ("%s speed device\n", usb_devspeed[dev->speed]); + + for (i = 0; i < descdev->configcnt; i++) + { + struct grub_usb_desc_config *config; + + config = dev->config[i].descconf; + usb_print_str ("Configuration:", dev, config->strconfig); + } + + for (i = 0; i < dev->config[0].descconf->numif; i++) + { + int j; + struct grub_usb_desc_if *interf; + interf = dev->config[0].interf[i].descif; + + grub_printf ("Interface #%d: #Endpoints: %d ", + i, interf->endpointcnt); + grub_printf ("Class: (0x%02x) %s, Subclass: 0x%02x, Protocol: 0x%02x\n", + interf->class, interf->class < ARRAY_SIZE (usb_classes) + ? usb_classes[interf->class] : "Unknown", + interf->subclass, interf->protocol); + + usb_print_str ("Interface", dev, interf->strif); + + for (j = 0; j < interf->endpointcnt; j++) + { + struct grub_usb_desc_endp *endp; + endp = &dev->config[0].interf[i].descendp[j]; + + grub_printf ("Endpoint #%d: %s, max packed size: %d, transfer type: %s, latency: %d\n", + endp->endp_addr & 15, + (endp->endp_addr & 128) ? "IN" : "OUT", + endp->maxpacket, usb_endp_type[endp->attrib & 3], + endp->interval); + } + } + + grub_printf("\n"); + + return 0; +} + +static grub_err_t +grub_cmd_usbtest (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_usb_poll_devices (); + + grub_printf ("USB devices:\n\n"); + grub_usb_iterate (usb_iterate); + + return 0; +} + +static grub_command_t cmd; + +GRUB_MOD_INIT(usbtest) +{ + cmd = grub_register_command ("usb", grub_cmd_usbtest, + 0, N_("Test USB support.")); +} + +GRUB_MOD_FINI(usbtest) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/commands/videoinfo.c b/grub-core/commands/videoinfo.c new file mode 100644 index 0000000..3e0c1a1 --- /dev/null +++ b/grub-core/commands/videoinfo.c @@ -0,0 +1,186 @@ +/* videoinfo.c - command to list video modes. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static unsigned height, width, depth; + +static int +hook (const struct grub_video_mode_info *info) +{ + if (height && width && (info->width != width || info->height != height)) + return 0; + + if (depth && info->bpp != depth) + return 0; + + if (info->mode_number == GRUB_VIDEO_MODE_NUMBER_INVALID) + grub_printf (" "); + else + grub_printf (" 0x%03x ", info->mode_number); + grub_printf ("%4d x %4d x %2d ", info->width, info->height, info->bpp); + + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_PURE_TEXT) + grub_printf ("Text-only "); + /* Show mask and position details for direct color modes. */ + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_RGB) + grub_printf ("Direct, mask: %d/%d/%d/%d pos: %d/%d/%d/%d", + info->red_mask_size, + info->green_mask_size, + info->blue_mask_size, + info->reserved_mask_size, + info->red_field_pos, + info->green_field_pos, + info->blue_field_pos, + info->reserved_field_pos); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_INDEX_COLOR) + grub_printf ("Packed "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_YUV) + grub_printf ("YUV "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_PLANAR) + grub_printf ("Planar "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_HERCULES) + grub_printf ("Hercules "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_CGA) + grub_printf ("CGA "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_NONCHAIN4) + grub_printf ("Non-chain 4 "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_1BIT_BITMAP) + grub_printf ("Monochrome "); + if (info->mode_type & GRUB_VIDEO_MODE_TYPE_UNKNOWN) + grub_printf ("Unknown "); + + grub_printf ("\n"); + + return 0; +} + +static grub_err_t +grub_cmd_videoinfo (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_video_adapter_t adapter; + grub_video_driver_id_t id; + + height = width = depth = 0; + if (argc) + { + char *ptr; + ptr = args[0]; + width = grub_strtoul (ptr, &ptr, 0); + if (grub_errno) + return grub_errno; + if (*ptr != 'x') + return grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid mode specification"); + ptr++; + height = grub_strtoul (ptr, &ptr, 0); + if (grub_errno) + return grub_errno; + if (*ptr == 'x') + { + ptr++; + depth = grub_strtoul (ptr, &ptr, 0); + if (grub_errno) + return grub_errno; + } + } + +#ifdef GRUB_MACHINE_PCBIOS + if (grub_strcmp (cmd->name, "vbeinfo") == 0) + grub_dl_load ("vbe"); +#endif + + id = grub_video_get_driver_id (); + + grub_printf ("List of supported video modes:\n"); + grub_printf ("Legend: P=Packed pixel, D=Direct color, " + "mask/pos=R/G/B/reserved\n"); + + FOR_VIDEO_ADAPTERS (adapter) + { + grub_printf ("Adapter '%s':\n", adapter->name); + + if (!adapter->iterate) + { + grub_printf (" No info available\n"); + continue; + } + + if (adapter->id != id) + { + if (adapter->init ()) + { + grub_printf (" Failed\n"); + grub_errno = GRUB_ERR_NONE; + continue; + } + } + + if (adapter->print_adapter_specific_info) + adapter->print_adapter_specific_info (); + + adapter->iterate (hook); + + if (adapter->id != id) + { + if (adapter->fini ()) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + } + } + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; +#ifdef GRUB_MACHINE_PCBIOS +static grub_command_t cmd_vbe; +#endif + +GRUB_MOD_INIT(videoinfo) +{ + cmd = grub_register_command ("videoinfo", grub_cmd_videoinfo, "[WxH[xD]]", + N_("List available video modes. If " + "resolution is given show only modes" + " matching it.")); +#ifdef GRUB_MACHINE_PCBIOS + cmd_vbe = grub_register_command ("vbeinfo", grub_cmd_videoinfo, "[WxH[xD]]", + N_("List available video modes. If " + "resolution is given show only modes" + " matching it.")); +#endif +} + +GRUB_MOD_FINI(videoinfo) +{ + grub_unregister_command (cmd); +#ifdef GRUB_MACHINE_PCBIOS + grub_unregister_command (cmd_vbe); +#endif +} + diff --git a/grub-core/commands/videotest.c b/grub-core/commands/videotest.c new file mode 100644 index 0000000..dc7a648 --- /dev/null +++ b/grub-core/commands/videotest.c @@ -0,0 +1,218 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_videotest (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_err_t err; + grub_video_color_t color; + unsigned int x; + unsigned int y; + unsigned int width; + unsigned int height; + int i; + struct grub_video_render_target *text_layer; + grub_video_color_t palette[16]; + const char *mode = NULL; + +#ifdef GRUB_MACHINE_PCBIOS + if (grub_strcmp (cmd->name, "vbetest") == 0) + grub_dl_load ("vbe"); +#endif + + mode = grub_env_get ("gfxmode"); + if (argc) + mode = args[0]; + if (!mode) + mode = "auto"; + + err = grub_video_set_mode (mode, GRUB_VIDEO_MODE_TYPE_PURE_TEXT, 0); + if (err) + return err; + + grub_video_get_viewport (&x, &y, &width, &height); + + { + const char *str; + int texty; + grub_font_t sansbig; + grub_font_t sans; + grub_font_t sanssmall; + grub_font_t fixed; + struct grub_font_glyph *glyph; + + grub_video_create_render_target (&text_layer, width, height, + GRUB_VIDEO_MODE_TYPE_RGB + | GRUB_VIDEO_MODE_TYPE_ALPHA); + + grub_video_set_active_render_target (text_layer); + + color = grub_video_map_rgb (0, 255, 255); + sansbig = grub_font_get ("Unknown Regular 16"); + sans = grub_font_get ("Unknown Regular 16"); + sanssmall = grub_font_get ("Unknown Regular 16"); + fixed = grub_font_get ("Fixed 20"); + if (! sansbig || ! sans || ! sanssmall || ! fixed) + return grub_error (GRUB_ERR_BAD_FONT, "no font loaded"); + + glyph = grub_font_get_glyph (fixed, '*'); + grub_font_draw_glyph (glyph, color, 200 ,0); + + color = grub_video_map_rgb (255, 255, 255); + + texty = 32; + grub_font_draw_string ("The quick brown fox jumped over the lazy dog.", + sans, color, 16, texty); + texty += grub_font_get_descent (sans) + grub_font_get_leading (sans); + + texty += grub_font_get_ascent (fixed); + grub_font_draw_string ("The quick brown fox jumped over the lazy dog.", + fixed, color, 16, texty); + texty += grub_font_get_descent (fixed) + grub_font_get_leading (fixed); + + /* To convert Unicode characters into UTF-8 for this test, the following + command is useful: + echo -ne '\x00\x00\x26\x3A' | iconv -f UTF-32BE -t UTF-8 | od -t x1 + This converts the Unicode character U+263A to UTF-8. */ + + /* Characters used: + Code point Description UTF-8 encoding + ----------- ------------------------------ -------------- + U+263A unfilled smiley face E2 98 BA + U+00A1 inverted exclamation point C2 A1 + U+00A3 British pound currency symbol C2 A3 + U+03C4 Greek tau CF 84 + U+00E4 lowercase letter a with umlaut C3 A4 + U+2124 set 'Z' symbol (integers) E2 84 A4 + U+2287 subset symbol E2 8A 87 + U+211D set 'R' symbol (real numbers) E2 84 9D */ + + str = + "Unicode test: happy\xE2\x98\xBA \xC2\xA3 5.00" + " \xC2\xA1\xCF\x84\xC3\xA4u! " + " \xE2\x84\xA4\xE2\x8A\x87\xE2\x84\x9D"; + color = grub_video_map_rgb (128, 128, 255); + + /* All characters in the string exist in the 'Fixed 20' (10x20) font. */ + texty += grub_font_get_ascent(fixed); + grub_font_draw_string (str, fixed, color, 16, texty); + texty += grub_font_get_descent (fixed) + grub_font_get_leading (fixed); + + texty += grub_font_get_ascent(sansbig); + grub_font_draw_string (str, sansbig, color, 16, texty); + texty += grub_font_get_descent (sansbig) + grub_font_get_leading (sansbig); + + texty += grub_font_get_ascent(sans); + grub_font_draw_string (str, sans, color, 16, texty); + texty += grub_font_get_descent (sans) + grub_font_get_leading (sans); + + texty += grub_font_get_ascent(sanssmall); + grub_font_draw_string (str, sanssmall, color, 16, texty); + texty += (grub_font_get_descent (sanssmall) + + grub_font_get_leading (sanssmall)); + + glyph = grub_font_get_glyph (fixed, '*'); + + for (i = 0; i < 16; i++) + { + color = grub_video_map_color (i); + palette[i] = color; + grub_font_draw_glyph (glyph, color, 16 + i * 16, 220); + } + } + + grub_video_set_active_render_target (GRUB_VIDEO_RENDER_TARGET_DISPLAY); + + for (i = 0; i < 2; i++) + { + color = grub_video_map_rgb (0, 0, 0); + grub_video_fill_rect (color, 0, 0, width, height); + + color = grub_video_map_rgb (255, 0, 0); + grub_video_fill_rect (color, 0, 0, 100, 100); + + color = grub_video_map_rgb (0, 255, 255); + grub_video_fill_rect (color, 100, 100, 100, 100); + + grub_video_set_viewport (x + 150, y + 150, + width - 150 * 2, height - 150 * 2); + color = grub_video_map_rgb (77, 33, 77); + grub_video_fill_rect (color, 0, 0, width, height); + grub_video_swap_buffers (); + } + + for (i = 0; i < 5; i++) + { + color = grub_video_map_rgb (i, 33, 77); + grub_video_fill_rect (color, 0, 0, width, height); + grub_video_blit_render_target (text_layer, GRUB_VIDEO_BLIT_BLEND, 0, 0, + 0, 0, width, height); + grub_video_swap_buffers (); + } + + grub_getkey (); + + grub_video_delete_render_target (text_layer); + + grub_video_restore (); + + for (i = 0; i < 16; i++) + grub_printf("color %d: %08x\n", i, palette[i]); + + grub_errno = GRUB_ERR_NONE; + return grub_errno; +} + +static grub_command_t cmd; +#ifdef GRUB_MACHINE_PCBIOS +static grub_command_t cmd_vbe; +#endif + +GRUB_MOD_INIT(videotest) +{ + cmd = grub_register_command ("videotest", grub_cmd_videotest, + "[WxH]", + N_("Test video subsystem in mode WxH.")); +#ifdef GRUB_MACHINE_PCBIOS + cmd_vbe = grub_register_command ("vbetest", grub_cmd_videotest, + 0, N_("Test video subsystem.")); +#endif +} + +GRUB_MOD_FINI(videotest) +{ + grub_unregister_command (cmd); +#ifdef GRUB_MACHINE_PCBIOS + grub_unregister_command (cmd_vbe); +#endif +} diff --git a/grub-core/commands/wildcard.c b/grub-core/commands/wildcard.c new file mode 100644 index 0000000..32561ab --- /dev/null +++ b/grub-core/commands/wildcard.c @@ -0,0 +1,495 @@ +/* wildcard.c - Wildcard character expansion for GRUB script. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +#include + +static inline int isregexop (char ch); +static char ** merge (char **lhs, char **rhs); +static char *make_dir (const char *prefix, const char *start, const char *end); +static int make_regex (const char *regex_start, const char *regex_end, + regex_t *regexp); +static void split_path (const char *path, const char **suffix_end, const char **regex_end); +static char ** match_devices (const regex_t *regexp, int noparts); +static char ** match_files (const char *prefix, const char *suffix_start, + const char *suffix_end, const regex_t *regexp); + +static char* wildcard_escape (const char *s); +static char* wildcard_unescape (const char *s); +static grub_err_t wildcard_expand (const char *s, char ***strs); + +struct grub_script_wildcard_translator grub_filename_translator = { + .expand = wildcard_expand, + .escape = wildcard_escape, + .unescape = wildcard_unescape +}; + +static char ** +merge (char **dest, char **ps) +{ + int i; + int j; + char **p; + + if (! dest) + return ps; + + if (! ps) + return dest; + + for (i = 0; dest[i]; i++) + ; + for (j = 0; ps[j]; j++) + ; + + p = grub_realloc (dest, sizeof (char*) * (i + j + 1)); + if (! p) + { + grub_free (dest); + grub_free (ps); + return 0; + } + + dest = p; + for (j = 0; ps[j]; j++) + dest[i++] = ps[j]; + dest[i] = 0; + + grub_free (ps); + return dest; +} + +static inline int +isregexop (char ch) +{ + return grub_strchr ("*.\\", ch) ? 1 : 0; +} + +static char * +make_dir (const char *prefix, const char *start, const char *end) +{ + char ch; + unsigned i; + unsigned n; + char *result; + + i = grub_strlen (prefix); + n = i + end - start; + + result = grub_malloc (n + 1); + if (! result) + return 0; + + grub_strcpy (result, prefix); + while (start < end && (ch = *start++)) + if (ch == '\\' && isregexop (*start)) + result[i++] = *start++; + else + result[i++] = ch; + + result[i] = '\0'; + return result; +} + +static int +make_regex (const char *start, const char *end, regex_t *regexp) +{ + char ch; + int i = 0; + unsigned len = end - start; + char *buffer = grub_malloc (len * 2 + 2 + 1); /* worst case size. */ + + if (! buffer) + return 1; + + buffer[i++] = '^'; + while (start < end) + { + /* XXX Only * expansion for now. */ + switch ((ch = *start++)) + { + case '\\': + buffer[i++] = ch; + if (*start != '\0') + buffer[i++] = *start++; + break; + + case '.': + case '(': + case ')': + buffer[i++] = '\\'; + buffer[i++] = ch; + break; + + case '*': + buffer[i++] = '.'; + buffer[i++] = '*'; + break; + + default: + buffer[i++] = ch; + } + } + buffer[i++] = '$'; + buffer[i] = '\0'; + grub_dprintf ("expand", "Regexp is %s\n", buffer); + + if (regcomp (regexp, buffer, RE_SYNTAX_GNU_AWK)) + { + grub_free (buffer); + return 1; + } + + grub_free (buffer); + return 0; +} + +/* Split `str' into two parts: (1) dirname that is regexop free (2) + dirname that has a regexop. */ +static void +split_path (const char *str, const char **noregexop, const char **regexop) +{ + char ch = 0; + int regex = 0; + + const char *end; + const char *split; /* points till the end of dirnaname that doesn't + need expansion. */ + + split = end = str; + while ((ch = *end)) + { + if (ch == '\\' && end[1]) + end++; + + else if (isregexop (ch)) + regex = 1; + + else if (ch == '/' && ! regex) + split = end + 1; /* forward to next regexop-free dirname */ + + else if (ch == '/' && regex) + break; /* stop at the first dirname with a regexop */ + + end++; + } + + *regexop = end; + if (! regex) + *noregexop = end; + else + *noregexop = split; +} + +static char ** +match_devices (const regex_t *regexp, int noparts) +{ + int i; + int ndev; + char **devs; + + auto int match (const char *name); + int match (const char *name) + { + char **t; + char *buffer; + + /* skip partitions if asked to. */ + if (noparts && grub_strchr(name, ',')) + return 0; + + buffer = grub_xasprintf ("(%s)", name); + if (! buffer) + return 1; + + grub_dprintf ("expand", "matching: %s\n", buffer); + if (regexec (regexp, buffer, 0, 0, 0)) + { + grub_dprintf ("expand", "not matched\n"); + grub_free (buffer); + return 0; + } + + t = grub_realloc (devs, sizeof (char*) * (ndev + 2)); + if (! t) + return 1; + + devs = t; + devs[ndev++] = buffer; + devs[ndev] = 0; + return 0; + } + + ndev = 0; + devs = 0; + + if (grub_device_iterate (match)) + goto fail; + + return devs; + + fail: + + for (i = 0; devs && devs[i]; i++) + grub_free (devs[i]); + + if (devs) + grub_free (devs); + + return 0; +} + +static char ** +match_files (const char *prefix, const char *suffix, const char *end, + const regex_t *regexp) +{ + int i; + char **files; + unsigned nfile; + char *dir; + const char *path; + char *device_name; + grub_fs_t fs; + grub_device_t dev; + + auto int match (const char *name, const struct grub_dirhook_info *info); + int match (const char *name, const struct grub_dirhook_info *info) + { + char **t; + char *buffer; + + /* skip . and .. names */ + if (grub_strcmp(".", name) == 0 || grub_strcmp("..", name) == 0) + return 0; + + grub_dprintf ("expand", "matching: %s in %s\n", name, dir); + if (regexec (regexp, name, 0, 0, 0)) + return 0; + + buffer = grub_xasprintf ("%s%s", dir, name); + if (! buffer) + return 1; + + t = grub_realloc (files, sizeof (char*) * (nfile + 2)); + if (! t) + { + grub_free (buffer); + return 1; + } + + files = t; + files[nfile++] = buffer; + files[nfile] = 0; + return 0; + } + + nfile = 0; + files = 0; + dev = 0; + device_name = 0; + grub_error_push (); + + dir = make_dir (prefix, suffix, end); + if (! dir) + goto fail; + + device_name = grub_file_get_device_name (dir); + dev = grub_device_open (device_name); + if (! dev) + goto fail; + + fs = grub_fs_probe (dev); + if (! fs) + goto fail; + + path = grub_strchr (dir, ')'); + if (! path) + goto fail; + path++; + + if (fs->dir (dev, path, match)) + goto fail; + + grub_free (dir); + grub_device_close (dev); + grub_free (device_name); + grub_error_pop (); + return files; + + fail: + + if (dir) + grub_free (dir); + + for (i = 0; files && files[i]; i++) + grub_free (files[i]); + + if (files) + grub_free (files); + + if (dev) + grub_device_close (dev); + + if (device_name) + grub_free (device_name); + + grub_error_pop (); + return 0; +} + +static char* +wildcard_escape (const char *s) +{ + int i; + int len; + char ch; + char *p; + + len = grub_strlen (s); + p = grub_malloc (len * 2 + 1); + if (! p) + return NULL; + + i = 0; + while ((ch = *s++)) + { + if (isregexop (ch)) + p[i++] = '\\'; + p[i++] = ch; + } + p[i] = '\0'; + return p; +} + +static char* +wildcard_unescape (const char *s) +{ + int i; + int len; + char ch; + char *p; + + len = grub_strlen (s); + p = grub_malloc (len + 1); + if (! p) + return NULL; + + i = 0; + while ((ch = *s++)) + { + if (ch == '\\' && isregexop (*s)) + p[i++] = *s++; + else + p[i++] = ch; + } + p[i] = '\0'; + return p; +} + +static grub_err_t +wildcard_expand (const char *s, char ***strs) +{ + const char *start; + const char *regexop; + const char *noregexop; + char **paths = 0; + + unsigned i; + regex_t regexp; + + start = s; + while (*start) + { + split_path (start, &noregexop, ®exop); + if (noregexop >= regexop) /* no more wildcards */ + break; + + if (make_regex (noregexop, regexop, ®exp)) + goto fail; + + if (paths == 0) + { + if (start == noregexop) /* device part has regexop */ + paths = match_devices (®exp, *start != '('); + + else if (*start == '(') /* device part explicit wo regexop */ + paths = match_files ("", start, noregexop, ®exp); + + else if (*start == '/') /* no device part */ + { + char *root; + char *prefix; + + root = grub_env_get ("root"); + if (! root) + goto fail; + + prefix = grub_xasprintf ("(%s)", root); + if (! prefix) + goto fail; + + paths = match_files (prefix, start, noregexop, ®exp); + grub_free (prefix); + } + } + else + { + char **r = 0; + + for (i = 0; paths[i]; i++) + { + char **p; + + p = match_files (paths[i], start, noregexop, ®exp); + if (! p) + continue; + + r = merge (r, p); + if (! r) + goto fail; + } + paths = r; + } + + regfree (®exp); + if (! paths) + goto done; + + start = regexop; + } + + done: + + *strs = paths; + return 0; + + fail: + + for (i = 0; paths && paths[i]; i++) + grub_free (paths[i]); + grub_free (paths); + regfree (®exp); + return grub_errno; +} diff --git a/grub-core/commands/xnu_uuid.c b/grub-core/commands/xnu_uuid.c new file mode 100644 index 0000000..f618b4e --- /dev/null +++ b/grub-core/commands/xnu_uuid.c @@ -0,0 +1,102 @@ +/* xnu_uuid.c - transform 64-bit serial number + to 128-bit uuid suitable for xnu. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1995,1996,1998,1999,2001,2002, + * 2003, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* This prefix is used by xnu and boot-132 to hash + together with volume serial. */ +static grub_uint8_t hash_prefix[16] + = {0xB3, 0xE2, 0x0F, 0x39, 0xF2, 0x92, 0x11, 0xD6, + 0x97, 0xA4, 0x00, 0x30, 0x65, 0x43, 0xEC, 0xAC}; + +static grub_err_t +grub_cmd_xnu_uuid (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + grub_uint64_t serial; + grub_uint8_t *xnu_uuid; + char uuid_string[sizeof ("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")]; + char *ptr; + grub_uint8_t ctx[GRUB_MD_MD5->contextsize]; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "UUID required"); + + serial = grub_cpu_to_be64 (grub_strtoull (args[0], 0, 16)); + + GRUB_MD_MD5->init (&ctx); + GRUB_MD_MD5->write (&ctx, hash_prefix, sizeof (hash_prefix)); + GRUB_MD_MD5->write (&ctx, &serial, sizeof (serial)); + GRUB_MD_MD5->final (&ctx); + xnu_uuid = GRUB_MD_MD5->read (&ctx); + + grub_snprintf (uuid_string, sizeof (uuid_string), + "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", + (unsigned int) xnu_uuid[0], (unsigned int) xnu_uuid[1], + (unsigned int) xnu_uuid[2], (unsigned int) xnu_uuid[3], + (unsigned int) xnu_uuid[4], (unsigned int) xnu_uuid[5], + (unsigned int) ((xnu_uuid[6] & 0xf) | 0x30), + (unsigned int) xnu_uuid[7], + (unsigned int) ((xnu_uuid[8] & 0x3f) | 0x80), + (unsigned int) xnu_uuid[9], + (unsigned int) xnu_uuid[10], (unsigned int) xnu_uuid[11], + (unsigned int) xnu_uuid[12], (unsigned int) xnu_uuid[13], + (unsigned int) xnu_uuid[14], (unsigned int) xnu_uuid[15]); + for (ptr = uuid_string; *ptr; ptr++) + *ptr = grub_toupper (*ptr); + if (argc == 1) + grub_printf ("%s", uuid_string); + if (argc > 1) + grub_env_set (args[1], uuid_string); + + return GRUB_ERR_NONE; +} + +static grub_command_t cmd; + + +GRUB_MOD_INIT (xnu_uuid) +{ + cmd = grub_register_command ("xnu_uuid", grub_cmd_xnu_uuid, + N_("GRUBUUID [VARNAME]"), + N_("Transform 64-bit UUID to format " + "suitable for XNU.")); +} + +GRUB_MOD_FINI (xnu_uuid) +{ + grub_unregister_command (cmd); +} diff --git a/grub-core/disk/ata.c b/grub-core/disk/ata.c new file mode 100644 index 0000000..391ccb9 --- /dev/null +++ b/grub-core/disk/ata.c @@ -0,0 +1,933 @@ +/* ata.c - ATA disk access. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* At the moment, only two IDE ports are supported. */ +static const grub_port_t grub_ata_ioaddress[] = { GRUB_ATA_CH0_PORT1, + GRUB_ATA_CH1_PORT1 }; +static const grub_port_t grub_ata_ioaddress2[] = { GRUB_ATA_CH0_PORT2, + GRUB_ATA_CH1_PORT2 }; + +static struct grub_ata_device *grub_ata_devices; + +/* Wait for !BSY. */ +grub_err_t +grub_ata_wait_not_busy (struct grub_ata_device *dev, int milliseconds) +{ + /* ATA requires 400ns (after a write to CMD register) or + 1 PIO cycle (after a DRQ block transfer) before + first check of BSY. */ + grub_millisleep (1); + + int i = 1; + grub_uint8_t sts; + while ((sts = grub_ata_regget (dev, GRUB_ATA_REG_STATUS)) + & GRUB_ATA_STATUS_BUSY) + { + if (i >= milliseconds) + { + grub_dprintf ("ata", "timeout: %dms, status=0x%x\n", + milliseconds, sts); + return grub_error (GRUB_ERR_TIMEOUT, "ATA timeout"); + } + + grub_millisleep (1); + i++; + } + + return GRUB_ERR_NONE; +} + +static inline void +grub_ata_wait (void) +{ + grub_millisleep (50); +} + +/* Wait for !BSY, DRQ. */ +grub_err_t +grub_ata_wait_drq (struct grub_ata_device *dev, int rw, + int milliseconds) +{ + if (grub_ata_wait_not_busy (dev, milliseconds)) + return grub_errno; + + /* !DRQ implies error condition. */ + grub_uint8_t sts = grub_ata_regget (dev, GRUB_ATA_REG_STATUS); + if ((sts & (GRUB_ATA_STATUS_DRQ | GRUB_ATA_STATUS_ERR)) + != GRUB_ATA_STATUS_DRQ) + { + grub_dprintf ("ata", "ata error: status=0x%x, error=0x%x\n", + sts, grub_ata_regget (dev, GRUB_ATA_REG_ERROR)); + if (! rw) + return grub_error (GRUB_ERR_READ_ERROR, "ATA read error"); + else + return grub_error (GRUB_ERR_WRITE_ERROR, "ATA write error"); + } + + return GRUB_ERR_NONE; +} + +/* Byteorder has to be changed before strings can be read. */ +static void +grub_ata_strncpy (char *dst, char *src, grub_size_t len) +{ + grub_uint16_t *src16 = (grub_uint16_t *) src; + grub_uint16_t *dst16 = (grub_uint16_t *) dst; + unsigned int i; + + for (i = 0; i < len / 2; i++) + *(dst16++) = grub_be_to_cpu16 (*(src16++)); + dst[len] = '\0'; +} + +void +grub_ata_pio_read (struct grub_ata_device *dev, char *buf, grub_size_t size) +{ + grub_uint16_t *buf16 = (grub_uint16_t *) buf; + unsigned int i; + + /* Read in the data, word by word. */ + for (i = 0; i < size / 2; i++) + buf16[i] = grub_le_to_cpu16 (grub_inw(dev->ioaddress + GRUB_ATA_REG_DATA)); +} + +static void +grub_ata_pio_write (struct grub_ata_device *dev, char *buf, grub_size_t size) +{ + grub_uint16_t *buf16 = (grub_uint16_t *) buf; + unsigned int i; + + /* Write the data, word by word. */ + for (i = 0; i < size / 2; i++) + grub_outw(grub_cpu_to_le16 (buf16[i]), dev->ioaddress + GRUB_ATA_REG_DATA); +} + +static void +grub_ata_dumpinfo (struct grub_ata_device *dev, char *info) +{ + char text[41]; + + /* The device information was read, dump it for debugging. */ + grub_ata_strncpy (text, info + 20, 20); + grub_dprintf ("ata", "Serial: %s\n", text); + grub_ata_strncpy (text, info + 46, 8); + grub_dprintf ("ata", "Firmware: %s\n", text); + grub_ata_strncpy (text, info + 54, 40); + grub_dprintf ("ata", "Model: %s\n", text); + + if (! dev->atapi) + { + grub_dprintf ("ata", "Addressing: %d\n", dev->addr); + grub_dprintf ("ata", "Sectors: %lld\n", (unsigned long long) dev->size); + } +} + +static grub_err_t +grub_atapi_identify (struct grub_ata_device *dev) +{ + char *info; + + info = grub_malloc (GRUB_DISK_SECTOR_SIZE); + if (! info) + return grub_errno; + + grub_ata_regset (dev, GRUB_ATA_REG_DISK, 0xE0 | dev->device << 4); + grub_ata_wait (); + if ((grub_ata_regget (dev, GRUB_ATA_REG_STATUS) & GRUB_ATA_STATUS_BUSY) + && grub_ata_wait_not_busy (dev, dev->present ? GRUB_ATA_TOUT_DEV_INIT + : GRUB_ATA_TOUT_STD)) + { + grub_free (info); + dev->present = 0; + return grub_errno; + } + + grub_ata_regset (dev, GRUB_ATA_REG_CMD, GRUB_ATA_CMD_IDENTIFY_PACKET_DEVICE); + grub_ata_wait (); + + if (grub_ata_wait_drq (dev, 0, dev->present ? GRUB_ATA_TOUT_DEV_INIT + : GRUB_ATA_TOUT_STD)) + { + grub_free (info); + dev->present = 0; + return grub_errno; + } + grub_ata_pio_read (dev, info, GRUB_DISK_SECTOR_SIZE); + + dev->atapi = 1; + + grub_ata_dumpinfo (dev, info); + + grub_free (info); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_atapi_wait_drq (struct grub_ata_device *dev, + grub_uint8_t ireason, + int milliseconds) +{ + /* Wait for !BSY, DRQ, ireason */ + if (grub_ata_wait_not_busy (dev, milliseconds)) + return grub_errno; + + grub_uint8_t sts = grub_ata_regget (dev, GRUB_ATA_REG_STATUS); + grub_uint8_t irs = grub_ata_regget (dev, GRUB_ATAPI_REG_IREASON); + + /* OK if DRQ is asserted and interrupt reason is as expected. */ + if ((sts & GRUB_ATA_STATUS_DRQ) + && (irs & GRUB_ATAPI_IREASON_MASK) == ireason) + return GRUB_ERR_NONE; + + /* !DRQ implies error condition. */ + grub_dprintf ("ata", "atapi error: status=0x%x, ireason=0x%x, error=0x%x\n", + sts, irs, grub_ata_regget (dev, GRUB_ATA_REG_ERROR)); + + if (! (sts & GRUB_ATA_STATUS_DRQ) + && (irs & GRUB_ATAPI_IREASON_MASK) == GRUB_ATAPI_IREASON_ERROR) + { + if (ireason == GRUB_ATAPI_IREASON_CMD_OUT) + return grub_error (GRUB_ERR_READ_ERROR, "ATA PACKET command error"); + else + return grub_error (GRUB_ERR_READ_ERROR, "ATAPI read error"); + } + + return grub_error (GRUB_ERR_READ_ERROR, "ATAPI protocol error"); +} + +static grub_err_t +grub_atapi_packet (struct grub_ata_device *dev, char *packet, + grub_size_t size) +{ + grub_ata_regset (dev, GRUB_ATA_REG_DISK, dev->device << 4); + if (grub_ata_check_ready (dev)) + return grub_errno; + + /* Send ATA PACKET command. */ + grub_ata_regset (dev, GRUB_ATA_REG_FEATURES, 0); + grub_ata_regset (dev, GRUB_ATAPI_REG_IREASON, 0); + grub_ata_regset (dev, GRUB_ATAPI_REG_CNTHIGH, size >> 8); + grub_ata_regset (dev, GRUB_ATAPI_REG_CNTLOW, size & 0xFF); + + grub_ata_regset (dev, GRUB_ATA_REG_CMD, GRUB_ATA_CMD_PACKET); + + /* Wait for !BSY, DRQ, !I/O, C/D. */ + if (grub_atapi_wait_drq (dev, GRUB_ATAPI_IREASON_CMD_OUT, GRUB_ATA_TOUT_STD)) + return grub_errno; + + /* Write the packet. */ + grub_ata_pio_write (dev, packet, 12); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_ata_identify (struct grub_ata_device *dev) +{ + char *info; + grub_uint16_t *info16; + + info = grub_malloc (GRUB_DISK_SECTOR_SIZE); + if (! info) + return grub_errno; + + info16 = (grub_uint16_t *) info; + + grub_ata_regset (dev, GRUB_ATA_REG_DISK, 0xE0 | dev->device << 4); + grub_ata_wait (); + if ((grub_ata_regget (dev, GRUB_ATA_REG_STATUS) & GRUB_ATA_STATUS_BUSY) + && grub_ata_wait_not_busy (dev, dev->present ? GRUB_ATA_TOUT_DEV_INIT + : GRUB_ATA_TOUT_STD)) + { + dev->present = 0; + grub_free (info); + return grub_errno; + } + + grub_ata_regset (dev, GRUB_ATA_REG_CMD, GRUB_ATA_CMD_IDENTIFY_DEVICE); + grub_ata_wait (); + + if (grub_ata_wait_drq (dev, 0, dev->present ? GRUB_ATA_TOUT_DEV_INIT + : GRUB_ATA_TOUT_STD)) + { + grub_free (info); + grub_errno = GRUB_ERR_NONE; + grub_uint8_t sts = grub_ata_regget (dev, GRUB_ATA_REG_STATUS); + + if ((sts & (GRUB_ATA_STATUS_BUSY | GRUB_ATA_STATUS_DRQ + | GRUB_ATA_STATUS_ERR)) == GRUB_ATA_STATUS_ERR + && (grub_ata_regget (dev, GRUB_ATA_REG_ERROR) & 0x04 /* ABRT */)) + /* Device without ATA IDENTIFY, try ATAPI. */ + return grub_atapi_identify (dev); + + else if (sts == 0x00) + { + dev->present = 0; + /* No device, return error but don't print message. */ + return GRUB_ERR_UNKNOWN_DEVICE; + } + else + { + dev->present = 0; + /* Other Error. */ + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "device cannot be identified"); + } + } + + grub_ata_pio_read (dev, info, GRUB_DISK_SECTOR_SIZE); + + /* Re-check status to avoid bogus identify data due to stuck DRQ. */ + grub_uint8_t sts = grub_ata_regget (dev, GRUB_ATA_REG_STATUS); + if (sts & (GRUB_ATA_STATUS_BUSY | GRUB_ATA_STATUS_DRQ | GRUB_ATA_STATUS_ERR)) + { + grub_dprintf ("ata", "bad status=0x%x\n", sts); + grub_free (info); + /* No device, return error but don't print message. */ + grub_errno = GRUB_ERR_NONE; + return GRUB_ERR_UNKNOWN_DEVICE; + } + + /* Now it is certain that this is not an ATAPI device. */ + dev->atapi = 0; + + /* CHS is always supported. */ + dev->addr = GRUB_ATA_CHS; + + /* Check if LBA is supported. */ + if (info16[49] & (1 << 9)) + { + /* Check if LBA48 is supported. */ + if (info16[83] & (1 << 10)) + dev->addr = GRUB_ATA_LBA48; + else + dev->addr = GRUB_ATA_LBA; + } + + /* Determine the amount of sectors. */ + if (dev->addr != GRUB_ATA_LBA48) + dev->size = grub_le_to_cpu32(*((grub_uint32_t *) &info16[60])); + else + dev->size = grub_le_to_cpu64(*((grub_uint64_t *) &info16[100])); + + /* Read CHS information. */ + dev->cylinders = info16[1]; + dev->heads = info16[3]; + dev->sectors_per_track = info16[6]; + + grub_ata_dumpinfo (dev, info); + + grub_free(info); + + return 0; +} + +static grub_err_t +check_device (struct grub_ata_device *dev) +{ + grub_ata_regset (dev, GRUB_ATA_REG_DISK, dev->device << 4); + grub_ata_wait (); + + /* Try to detect if the port is in use by writing to it, + waiting for a while and reading it again. If the value + was preserved, there is a device connected. */ + grub_ata_regset (dev, GRUB_ATA_REG_SECTORS, 0x5A); + grub_ata_wait (); + grub_uint8_t sec = grub_ata_regget (dev, GRUB_ATA_REG_SECTORS); + grub_dprintf ("ata", "sectors=0x%x\n", sec); + if (sec != 0x5A) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no device connected"); + + /* The above test may detect a second (slave) device + connected to a SATA controller which supports only one + (master) device. It is not safe to use the status register + READY bit to check for controller channel existence. Some + ATAPI commands (RESET, DIAGNOSTIC) may clear this bit. */ + + /* Use the IDENTIFY DEVICE command to query the device. */ + return grub_ata_identify (dev); +} + +static grub_err_t +grub_ata_device_initialize (int port, int device, int addr, int addr2) +{ + struct grub_ata_device *dev; + struct grub_ata_device **devp; + grub_err_t err; + + grub_dprintf ("ata", "detecting device %d,%d (0x%x, 0x%x)\n", + port, device, addr, addr2); + + dev = grub_malloc (sizeof(*dev)); + if (! dev) + return grub_errno; + + /* Setup the device information. */ + dev->port = port; + dev->device = device; + dev->ioaddress = addr + GRUB_MACHINE_PCI_IO_BASE; + dev->ioaddress2 = addr2 + GRUB_MACHINE_PCI_IO_BASE; + dev->present = 1; + dev->next = NULL; + + /* Register the device. */ + for (devp = &grub_ata_devices; *devp; devp = &(*devp)->next); + *devp = dev; + + err = check_device (dev); + if (err) + grub_print_error (); + + return 0; +} + +static int NESTED_FUNC_ATTR +grub_ata_pciinit (grub_pci_device_t dev, + grub_pci_id_t pciid) +{ + static int compat_use[2] = { 0 }; + grub_pci_address_t addr; + grub_uint32_t class; + grub_uint32_t bar1; + grub_uint32_t bar2; + int rega; + int regb; + int i; + static int controller = 0; + int cs5536 = 0; + int nports = 2; + + /* Read class. */ + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); + class = grub_pci_read (addr); + + /* AMD CS5536 Southbridge. */ + if (pciid == GRUB_CS5536_PCIID) + { + cs5536 = 1; + nports = 1; + } + + /* Check if this class ID matches that of a PCI IDE Controller. */ + if (!cs5536 && (class >> 16 != 0x0101)) + return 0; + + for (i = 0; i < nports; i++) + { + /* Set to 0 when the channel operated in compatibility mode. */ + int compat; + + /* We don't support non-compatibility mode for CS5536. */ + if (cs5536) + compat = 0; + else + compat = (class >> (8 + 2 * i)) & 1; + + rega = 0; + regb = 0; + + /* If the channel is in compatibility mode, just assign the + default registers. */ + if (compat == 0 && !compat_use[i]) + { + rega = grub_ata_ioaddress[i]; + regb = grub_ata_ioaddress2[i]; + compat_use[i] = 1; + } + else if (compat) + { + /* Read the BARs, which either contain a mmapped IO address + or the IO port address. */ + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESSES + + sizeof (grub_uint64_t) * i); + bar1 = grub_pci_read (addr); + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESSES + + sizeof (grub_uint64_t) * i + + sizeof (grub_uint32_t)); + bar2 = grub_pci_read (addr); + + /* Check if the BARs describe an IO region. */ + if ((bar1 & 1) && (bar2 & 1)) + { + rega = bar1 & ~3; + regb = bar2 & ~3; + } + } + + grub_dprintf ("ata", + "PCI dev (%d,%d,%d) compat=%d rega=0x%x regb=0x%x\n", + grub_pci_get_bus (dev), grub_pci_get_device (dev), + grub_pci_get_function (dev), compat, rega, regb); + + if (rega && regb) + { + grub_errno = GRUB_ERR_NONE; + grub_ata_device_initialize (controller * 2 + i, 0, rega, regb); + + /* Most errors raised by grub_ata_device_initialize() are harmless. + They just indicate this particular drive is not responding, most + likely because it doesn't exist. We might want to ignore specific + error types here, instead of printing them. */ + if (grub_errno) + { + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + } + + grub_ata_device_initialize (controller * 2 + i, 1, rega, regb); + + /* Likewise. */ + if (grub_errno) + { + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + } + } + } + + controller++; + + return 0; +} + +static grub_err_t +grub_ata_initialize (void) +{ + grub_pci_iterate (grub_ata_pciinit); + return 0; +} + +static void +grub_ata_setlba (struct grub_ata_device *dev, grub_disk_addr_t sector, + grub_size_t size) +{ + grub_ata_regset (dev, GRUB_ATA_REG_SECTORS, size); + grub_ata_regset (dev, GRUB_ATA_REG_LBALOW, sector & 0xFF); + grub_ata_regset (dev, GRUB_ATA_REG_LBAMID, (sector >> 8) & 0xFF); + grub_ata_regset (dev, GRUB_ATA_REG_LBAHIGH, (sector >> 16) & 0xFF); +} + +static grub_err_t +grub_ata_setaddress (struct grub_ata_device *dev, + grub_ata_addressing_t addressing, + grub_disk_addr_t sector, + grub_size_t size) +{ + switch (addressing) + { + case GRUB_ATA_CHS: + { + unsigned int cylinder; + unsigned int head; + unsigned int sect; + + /* Calculate the sector, cylinder and head to use. */ + sect = ((grub_uint32_t) sector % dev->sectors_per_track) + 1; + cylinder = (((grub_uint32_t) sector / dev->sectors_per_track) + / dev->heads); + head = ((grub_uint32_t) sector / dev->sectors_per_track) % dev->heads; + + if (sect > dev->sectors_per_track + || cylinder > dev->cylinders + || head > dev->heads) + return grub_error (GRUB_ERR_OUT_OF_RANGE, + "sector %d cannot be addressed " + "using CHS addressing", sector); + + grub_ata_regset (dev, GRUB_ATA_REG_DISK, (dev->device << 4) | head); + if (grub_ata_check_ready (dev)) + return grub_errno; + + grub_ata_regset (dev, GRUB_ATA_REG_SECTNUM, sect); + grub_ata_regset (dev, GRUB_ATA_REG_CYLLSB, cylinder & 0xFF); + grub_ata_regset (dev, GRUB_ATA_REG_CYLMSB, cylinder >> 8); + + break; + } + + case GRUB_ATA_LBA: + if (size == 256) + size = 0; + grub_ata_regset (dev, GRUB_ATA_REG_DISK, + 0xE0 | (dev->device << 4) | ((sector >> 24) & 0x0F)); + if (grub_ata_check_ready (dev)) + return grub_errno; + + grub_ata_setlba (dev, sector, size); + break; + + case GRUB_ATA_LBA48: + if (size == 65536) + size = 0; + + grub_ata_regset (dev, GRUB_ATA_REG_DISK, 0xE0 | (dev->device << 4)); + if (grub_ata_check_ready (dev)) + return grub_errno; + + /* Set "Previous". */ + grub_ata_setlba (dev, sector >> 24, size >> 8); + /* Set "Current". */ + grub_ata_setlba (dev, sector, size); + + break; + } + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_ata_readwrite (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf, int rw) +{ + struct grub_ata_device *dev = (struct grub_ata_device *) disk->data; + + grub_dprintf("ata", "grub_ata_readwrite (size=%llu, rw=%d)\n", (unsigned long long) size, rw); + + grub_ata_addressing_t addressing = dev->addr; + grub_size_t batch; + int cmd, cmd_write; + + if (addressing == GRUB_ATA_LBA48 && ((sector + size) >> 28) != 0) + { + batch = 65536; + cmd = GRUB_ATA_CMD_READ_SECTORS_EXT; + cmd_write = GRUB_ATA_CMD_WRITE_SECTORS_EXT; + } + else + { + if (addressing == GRUB_ATA_LBA48) + addressing = GRUB_ATA_LBA; + batch = 256; + cmd = GRUB_ATA_CMD_READ_SECTORS; + cmd_write = GRUB_ATA_CMD_WRITE_SECTORS; + } + + grub_size_t nsectors = 0; + while (nsectors < size) + { + if (size - nsectors < batch) + batch = size - nsectors; + + grub_dprintf("ata", "rw=%d, sector=%llu, batch=%llu\n", rw, (unsigned long long) sector, (unsigned long long) batch); + + /* Send read/write command. */ + if (grub_ata_setaddress (dev, addressing, sector, batch)) + return grub_errno; + + grub_ata_regset (dev, GRUB_ATA_REG_CMD, (! rw ? cmd : cmd_write)); + + unsigned sect; + for (sect = 0; sect < batch; sect++) + { + /* Wait for !BSY, DRQ. */ + if (grub_ata_wait_drq (dev, rw, GRUB_ATA_TOUT_DATA)) + return grub_errno; + + /* Transfer data. */ + if (! rw) + grub_ata_pio_read (dev, buf, GRUB_DISK_SECTOR_SIZE); + else + grub_ata_pio_write (dev, buf, GRUB_DISK_SECTOR_SIZE); + + buf += GRUB_DISK_SECTOR_SIZE; + } + + if (rw) + { + /* Check for write error. */ + if (grub_ata_wait_not_busy (dev, GRUB_ATA_TOUT_DATA)) + return grub_errno; + + if (grub_ata_regget (dev, GRUB_ATA_REG_STATUS) + & (GRUB_ATA_STATUS_DRQ | GRUB_ATA_STATUS_ERR)) + return grub_error (GRUB_ERR_WRITE_ERROR, "ATA write error"); + } + + sector += batch; + nsectors += batch; + } + + return GRUB_ERR_NONE; +} + + + +static int +grub_ata_iterate (int (*hook) (const char *name)) +{ + struct grub_ata_device *dev; + + for (dev = grub_ata_devices; dev; dev = dev->next) + { + char devname[10]; + grub_err_t err; + + err = check_device (dev); + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + + if (dev->atapi) + continue; + + grub_snprintf (devname, sizeof (devname), + "ata%d", dev->port * 2 + dev->device); + + if (hook (devname)) + return 1; + } + + return 0; +} + +static grub_err_t +grub_ata_open (const char *name, grub_disk_t disk) +{ + struct grub_ata_device *dev; + grub_err_t err; + + for (dev = grub_ata_devices; dev; dev = dev->next) + { + char devname[10]; + grub_snprintf (devname, sizeof (devname), + "ata%d", dev->port * 2 + dev->device); + if (grub_strcmp (name, devname) == 0) + break; + } + + if (! dev) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't open device"); + + if (dev->atapi) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not an ATA harddisk"); + + err = check_device (dev); + + if (err) + return err; + + disk->total_sectors = dev->size; + + disk->id = (unsigned long) dev; + + disk->data = dev; + + return 0; +} + +static void +grub_ata_close (grub_disk_t disk __attribute__((unused))) +{ + +} + +static grub_err_t +grub_ata_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + return grub_ata_readwrite (disk, sector, size, buf, 0); +} + +static grub_err_t +grub_ata_write (grub_disk_t disk, + grub_disk_addr_t sector, + grub_size_t size, + const char *buf) +{ + return grub_ata_readwrite (disk, sector, size, (char *) buf, 1); +} + +static struct grub_disk_dev grub_atadisk_dev = + { + .name = "ATA", + .id = GRUB_DISK_DEVICE_ATA_ID, + .iterate = grub_ata_iterate, + .open = grub_ata_open, + .close = grub_ata_close, + .read = grub_ata_read, + .write = grub_ata_write, + .next = 0 + }; + + + +/* ATAPI code. */ + +static int +grub_atapi_iterate (int (*hook) (int bus, int luns)) +{ + struct grub_ata_device *dev; + + for (dev = grub_ata_devices; dev; dev = dev->next) + { + grub_err_t err; + + err = check_device (dev); + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + + if (! dev->atapi) + continue; + + if (hook (dev->port * 2 + dev->device, 1)) + return 1; + } + + return 0; + +} + +static grub_err_t +grub_atapi_read (struct grub_scsi *scsi, + grub_size_t cmdsize __attribute__((unused)), + char *cmd, grub_size_t size, char *buf) +{ + struct grub_ata_device *dev = (struct grub_ata_device *) scsi->data; + + grub_dprintf("ata", "grub_atapi_read (size=%llu)\n", (unsigned long long) size); + + if (grub_atapi_packet (dev, cmd, size)) + return grub_errno; + + grub_size_t nread = 0; + while (nread < size) + { + /* Wait for !BSY, DRQ, I/O, !C/D. */ + if (grub_atapi_wait_drq (dev, GRUB_ATAPI_IREASON_DATA_IN, GRUB_ATA_TOUT_DATA)) + return grub_errno; + + /* Get byte count for this DRQ assertion. */ + unsigned cnt = grub_ata_regget (dev, GRUB_ATAPI_REG_CNTHIGH) << 8 + | grub_ata_regget (dev, GRUB_ATAPI_REG_CNTLOW); + grub_dprintf("ata", "DRQ count=%u\n", cnt); + + /* Count of last transfer may be uneven. */ + if (! (0 < cnt && cnt <= size - nread && (! (cnt & 1) || cnt == size - nread))) + return grub_error (GRUB_ERR_READ_ERROR, "invalid ATAPI transfer count"); + + /* Read the data. */ + grub_ata_pio_read (dev, buf + nread, cnt); + + if (cnt & 1) + buf[nread + cnt - 1] = (char) grub_le_to_cpu16 (grub_inw (dev->ioaddress + GRUB_ATA_REG_DATA)); + + nread += cnt; + } + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_atapi_write (struct grub_scsi *scsi __attribute__((unused)), + grub_size_t cmdsize __attribute__((unused)), + char *cmd __attribute__((unused)), + grub_size_t size __attribute__((unused)), + char *buf __attribute__((unused))) +{ + // XXX: scsi.mod does not use write yet. + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, "ATAPI write not implemented"); +} + +static grub_err_t +grub_atapi_open (int devnum, struct grub_scsi *scsi) +{ + struct grub_ata_device *dev; + struct grub_ata_device *devfnd = 0; + grub_err_t err; + + for (dev = grub_ata_devices; dev; dev = dev->next) + { + if (dev->port * 2 + dev->device == devnum) + { + devfnd = dev; + break; + } + } + + grub_dprintf ("ata", "opening ATAPI dev `ata%d'\n", devnum); + + if (! devfnd) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such ATAPI device"); + + err = check_device (devfnd); + if (err) + return err; + + if (! devfnd->atapi) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such ATAPI device"); + + scsi->data = devfnd; + + return GRUB_ERR_NONE; +} + + +static struct grub_scsi_dev grub_atapi_dev = + { + .name = "ata", + .id = GRUB_SCSI_SUBSYSTEM_ATAPI, + .iterate = grub_atapi_iterate, + .open = grub_atapi_open, + .read = grub_atapi_read, + .write = grub_atapi_write + }; + + + +GRUB_MOD_INIT(ata) +{ + /* To prevent two drivers operating on the same disks. */ + grub_disk_firmware_is_tainted = 1; + if (grub_disk_firmware_fini) + { + grub_disk_firmware_fini (); + grub_disk_firmware_fini = NULL; + } + + /* ATA initialization. */ + grub_ata_initialize (); + + grub_disk_dev_register (&grub_atadisk_dev); + + /* ATAPI devices are handled by scsi.mod. */ + grub_scsi_dev_register (&grub_atapi_dev); +} + +GRUB_MOD_FINI(ata) +{ + grub_scsi_dev_unregister (&grub_atapi_dev); + grub_disk_dev_unregister (&grub_atadisk_dev); +} diff --git a/grub-core/disk/ata_pthru.c b/grub-core/disk/ata_pthru.c new file mode 100644 index 0000000..eb9cb5f --- /dev/null +++ b/grub-core/disk/ata_pthru.c @@ -0,0 +1,108 @@ +/* ata_pthru.c - ATA pass through for ata.mod. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* ATA pass through support, used by hdparm.mod. */ +static grub_err_t +grub_ata_pass_through (grub_disk_t disk, + struct grub_disk_ata_pass_through_parms *parms) +{ + if (disk->dev->id != GRUB_DISK_DEVICE_ATA_ID) + return grub_error (GRUB_ERR_BAD_DEVICE, + "device not accessed via ata.mod"); + + struct grub_ata_device *dev = (struct grub_ata_device *) disk->data; + + if (! (parms->size == 0 || parms->size == GRUB_DISK_SECTOR_SIZE)) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "ATA multi-sector read and DATA OUT not implemented"); + + grub_dprintf ("ata", "ata_pass_through: cmd=0x%x, features=0x%x, sectors=0x%x\n", + parms->taskfile[GRUB_ATA_REG_CMD], + parms->taskfile[GRUB_ATA_REG_FEATURES], + parms->taskfile[GRUB_ATA_REG_SECTORS]); + grub_dprintf ("ata", "lba_high=0x%x, lba_mid=0x%x, lba_low=0x%x, size=%d\n", + parms->taskfile[GRUB_ATA_REG_LBAHIGH], + parms->taskfile[GRUB_ATA_REG_LBAMID], + parms->taskfile[GRUB_ATA_REG_LBALOW], parms->size); + + /* Set registers. */ + grub_ata_regset (dev, GRUB_ATA_REG_DISK, 0xE0 | dev->device << 4 + | (parms->taskfile[GRUB_ATA_REG_DISK] & 0xf)); + if (grub_ata_check_ready (dev)) + return grub_errno; + + int i; + for (i = GRUB_ATA_REG_FEATURES; i <= GRUB_ATA_REG_LBAHIGH; i++) + grub_ata_regset (dev, i, parms->taskfile[i]); + + /* Start command. */ + grub_ata_regset (dev, GRUB_ATA_REG_CMD, parms->taskfile[GRUB_ATA_REG_CMD]); + + /* Wait for !BSY. */ + if (grub_ata_wait_not_busy (dev, GRUB_ATA_TOUT_DATA)) + return grub_errno; + + /* Check status. */ + grub_int8_t sts = grub_ata_regget (dev, GRUB_ATA_REG_STATUS); + grub_dprintf ("ata", "status=0x%x\n", sts); + + /* Transfer data. */ + if ((sts & (GRUB_ATA_STATUS_DRQ | GRUB_ATA_STATUS_ERR)) == GRUB_ATA_STATUS_DRQ) + { + if (parms->size != GRUB_DISK_SECTOR_SIZE) + return grub_error (GRUB_ERR_READ_ERROR, "DRQ unexpected"); + grub_ata_pio_read (dev, parms->buffer, GRUB_DISK_SECTOR_SIZE); + } + + /* Return registers. */ + for (i = GRUB_ATA_REG_ERROR; i <= GRUB_ATA_REG_STATUS; i++) + parms->taskfile[i] = grub_ata_regget (dev, i); + + grub_dprintf ("ata", "status=0x%x, error=0x%x, sectors=0x%x\n", + parms->taskfile[GRUB_ATA_REG_STATUS], + parms->taskfile[GRUB_ATA_REG_ERROR], + parms->taskfile[GRUB_ATA_REG_SECTORS]); + + if (parms->taskfile[GRUB_ATA_REG_STATUS] + & (GRUB_ATA_STATUS_DRQ | GRUB_ATA_STATUS_ERR)) + return grub_error (GRUB_ERR_READ_ERROR, "ATA passthrough failed"); + + return GRUB_ERR_NONE; +} + + + +GRUB_MOD_INIT(ata_pthru) +{ + /* Register ATA pass through function. */ + grub_disk_ata_pass_through = grub_ata_pass_through; +} + +GRUB_MOD_FINI(ata_pthru) +{ + if (grub_disk_ata_pass_through == grub_ata_pass_through) + grub_disk_ata_pass_through = NULL; +} diff --git a/grub-core/disk/dmraid_nvidia.c b/grub-core/disk/dmraid_nvidia.c new file mode 100644 index 0000000..154193e --- /dev/null +++ b/grub-core/disk/dmraid_nvidia.c @@ -0,0 +1,171 @@ +/* dmraid_nvidia.c - module to handle Nvidia fakeraid. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define NV_SIGNATURES 4 + +#define NV_IDLE 0 +#define NV_SCDB_INIT_RAID 2 +#define NV_SCDB_REBUILD_RAID 3 +#define NV_SCDB_UPGRADE_RAID 4 +#define NV_SCDB_SYNC_RAID 5 + +#define NV_LEVEL_UNKNOWN 0x00 +#define NV_LEVEL_JBOD 0xFF +#define NV_LEVEL_0 0x80 +#define NV_LEVEL_1 0x81 +#define NV_LEVEL_3 0x83 +#define NV_LEVEL_5 0x85 +#define NV_LEVEL_10 0x8a +#define NV_LEVEL_1_0 0x8180 + +#define NV_ARRAY_FLAG_BOOT 1 /* BIOS use only. */ +#define NV_ARRAY_FLAG_ERROR 2 /* Degraded or offline. */ +#define NV_ARRAY_FLAG_PARITY_VALID 4 /* RAID-3/5 parity valid. */ + +struct grub_nv_array +{ + grub_uint32_t version; + grub_uint32_t signature[NV_SIGNATURES]; + grub_uint8_t raid_job_code; + grub_uint8_t stripe_width; + grub_uint8_t total_volumes; + grub_uint8_t original_width; + grub_uint32_t raid_level; + grub_uint32_t stripe_block_size; + grub_uint32_t stripe_block_size_bytes; + grub_uint32_t stripe_block_size_log2; + grub_uint32_t stripe_mask; + grub_uint32_t stripe_size; + grub_uint32_t stripe_size_bytes; + grub_uint32_t raid_job_mask; + grub_uint32_t original_capacity; + grub_uint32_t flags; +}; + +#define NV_ID_LEN 8 +#define NV_ID_STRING "NVIDIA" +#define NV_VERSION 100 + +#define NV_PRODID_LEN 16 +#define NV_PRODREV_LEN 4 + +struct grub_nv_super +{ + char vendor[NV_ID_LEN]; /* 0x00 - 0x07 ID string. */ + grub_uint32_t size; /* 0x08 - 0x0B Size of metadata in dwords. */ + grub_uint32_t chksum; /* 0x0C - 0x0F Checksum of this struct. */ + grub_uint16_t version; /* 0x10 - 0x11 NV version. */ + grub_uint8_t unit_number; /* 0x12 Disk index in array. */ + grub_uint8_t reserved; /* 0x13. */ + grub_uint32_t capacity; /* 0x14 - 0x17 Array capacity in sectors. */ + grub_uint32_t sector_size; /* 0x18 - 0x1B Sector size. */ + char prodid[NV_PRODID_LEN]; /* 0x1C - 0x2B Array product ID. */ + char prodrev[NV_PRODREV_LEN]; /* 0x2C - 0x2F Array product revision */ + grub_uint32_t unit_flags; /* 0x30 - 0x33 Flags for this disk */ + struct grub_nv_array array; /* Array information */ +} __attribute__ ((packed)); + +static grub_err_t +grub_dmraid_nv_detect (grub_disk_t disk, struct grub_raid_array *array, + grub_disk_addr_t *start_sector) +{ + grub_disk_addr_t sector; + struct grub_nv_super sb; + + if (disk->partition) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "skip partition"); + + sector = grub_disk_get_size (disk) - 2; + + if (grub_disk_read (disk, sector, 0, sizeof (sb), &sb)) + return grub_errno; + + if (grub_memcmp (sb.vendor, NV_ID_STRING, 6)) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "not raid"); + + if (sb.version != NV_VERSION) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unknown version: %d.%d", sb.version); + + switch (sb.array.raid_level) + { + case NV_LEVEL_0: + array->level = 0; + array->disk_size = sb.capacity / sb.array.total_volumes; + break; + + case NV_LEVEL_1: + array->level = 1; + array->disk_size = sb.capacity; + break; + + case NV_LEVEL_5: + array->level = 5; + array->layout = GRUB_RAID_LAYOUT_LEFT_ASYMMETRIC; + array->disk_size = sb.capacity / (sb.array.total_volumes - 1); + break; + + default: + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unsupported RAID level: %d", sb.array.raid_level); + } + + array->name = NULL; + array->number = 0; + array->total_devs = sb.array.total_volumes; + array->chunk_size = sb.array.stripe_block_size; + array->index = sb.unit_number; + array->uuid_len = sizeof (sb.array.signature); + array->uuid = grub_malloc (sizeof (sb.array.signature)); + if (! array->uuid) + return grub_errno; + + grub_memcpy (array->uuid, (char *) &sb.array.signature, + sizeof (sb.array.signature)); + + *start_sector = 0; + + return 0; +} + +static struct grub_raid grub_dmraid_nv_dev = +{ + .name = "dmraid_nv", + .detect = grub_dmraid_nv_detect, + .next = 0 +}; + +GRUB_MOD_INIT(dm_nv) +{ + grub_raid_register (&grub_dmraid_nv_dev); +} + +GRUB_MOD_FINI(dm_nv) +{ + grub_raid_unregister (&grub_dmraid_nv_dev); +} diff --git a/grub-core/disk/efi/efidisk.c b/grub-core/disk/efi/efidisk.c new file mode 100644 index 0000000..08094fa --- /dev/null +++ b/grub-core/disk/efi/efidisk.c @@ -0,0 +1,850 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +struct grub_efidisk_data +{ + grub_efi_handle_t handle; + grub_efi_device_path_t *device_path; + grub_efi_device_path_t *last_device_path; + grub_efi_block_io_t *block_io; + grub_efi_disk_io_t *disk_io; + struct grub_efidisk_data *next; +}; + +/* GUIDs. */ +static grub_efi_guid_t disk_io_guid = GRUB_EFI_DISK_IO_GUID; +static grub_efi_guid_t block_io_guid = GRUB_EFI_BLOCK_IO_GUID; + +static struct grub_efidisk_data *fd_devices; +static struct grub_efidisk_data *hd_devices; +static struct grub_efidisk_data *cd_devices; + +/* Duplicate a device path. */ +static grub_efi_device_path_t * +duplicate_device_path (const grub_efi_device_path_t *dp) +{ + grub_efi_device_path_t *p; + grub_size_t total_size = 0; + + for (p = (grub_efi_device_path_t *) dp; + ; + p = GRUB_EFI_NEXT_DEVICE_PATH (p)) + { + total_size += GRUB_EFI_DEVICE_PATH_LENGTH (p); + if (GRUB_EFI_END_ENTIRE_DEVICE_PATH (p)) + break; + } + + p = grub_malloc (total_size); + if (! p) + return 0; + + grub_memcpy (p, dp, total_size); + return p; +} + +/* Return the device path node right before the end node. */ +static grub_efi_device_path_t * +find_last_device_path (const grub_efi_device_path_t *dp) +{ + grub_efi_device_path_t *next, *p; + + if (GRUB_EFI_END_ENTIRE_DEVICE_PATH (dp)) + return 0; + + for (p = (grub_efi_device_path_t *) dp, next = GRUB_EFI_NEXT_DEVICE_PATH (p); + ! GRUB_EFI_END_ENTIRE_DEVICE_PATH (next); + p = next, next = GRUB_EFI_NEXT_DEVICE_PATH (next)) + ; + + return p; +} + +/* Compare device paths. */ +static int +compare_device_paths (const grub_efi_device_path_t *dp1, + const grub_efi_device_path_t *dp2) +{ + if (! dp1 || ! dp2) + /* Return non-zero. */ + return 1; + + while (1) + { + grub_efi_uint8_t type1, type2; + grub_efi_uint8_t subtype1, subtype2; + grub_efi_uint16_t len1, len2; + int ret; + + type1 = GRUB_EFI_DEVICE_PATH_TYPE (dp1); + type2 = GRUB_EFI_DEVICE_PATH_TYPE (dp2); + + if (type1 != type2) + return (int) type2 - (int) type1; + + subtype1 = GRUB_EFI_DEVICE_PATH_SUBTYPE (dp1); + subtype2 = GRUB_EFI_DEVICE_PATH_SUBTYPE (dp2); + + if (subtype1 != subtype2) + return (int) subtype1 - (int) subtype2; + + len1 = GRUB_EFI_DEVICE_PATH_LENGTH (dp1); + len2 = GRUB_EFI_DEVICE_PATH_LENGTH (dp2); + + if (len1 != len2) + return (int) len1 - (int) len2; + + ret = grub_memcmp (dp1, dp2, len1); + if (ret != 0) + return ret; + + if (GRUB_EFI_END_ENTIRE_DEVICE_PATH (dp1)) + break; + + dp1 = (grub_efi_device_path_t *) ((char *) dp1 + len1); + dp2 = (grub_efi_device_path_t *) ((char *) dp2 + len2); + } + + return 0; +} + +static struct grub_efidisk_data * +make_devices (void) +{ + grub_efi_uintn_t num_handles; + grub_efi_handle_t *handles; + grub_efi_handle_t *handle; + struct grub_efidisk_data *devices = 0; + + /* Find handles which support the disk io interface. */ + handles = grub_efi_locate_handle (GRUB_EFI_BY_PROTOCOL, &disk_io_guid, + 0, &num_handles); + if (! handles) + return 0; + + /* Make a linked list of devices. */ + for (handle = handles; num_handles--; handle++) + { + grub_efi_device_path_t *dp; + grub_efi_device_path_t *ldp; + struct grub_efidisk_data *d; + grub_efi_block_io_t *bio; + grub_efi_disk_io_t *dio; + + dp = grub_efi_get_device_path (*handle); + if (! dp) + continue; + + ldp = find_last_device_path (dp); + if (! ldp) + /* This is empty. Why? */ + continue; + + bio = grub_efi_open_protocol (*handle, &block_io_guid, + GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL); + dio = grub_efi_open_protocol (*handle, &disk_io_guid, + GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL); + if (! bio || ! dio) + /* This should not happen... Why? */ + continue; + + d = grub_malloc (sizeof (*d)); + if (! d) + { + /* Uggh. */ + grub_free (handles); + return 0; + } + + d->handle = *handle; + d->device_path = dp; + d->last_device_path = ldp; + d->block_io = bio; + d->disk_io = dio; + d->next = devices; + devices = d; + } + + grub_free (handles); + + return devices; +} + +/* Find the parent device. */ +static struct grub_efidisk_data * +find_parent_device (struct grub_efidisk_data *devices, + struct grub_efidisk_data *d) +{ + grub_efi_device_path_t *dp, *ldp; + struct grub_efidisk_data *parent; + + dp = duplicate_device_path (d->device_path); + if (! dp) + return 0; + + ldp = find_last_device_path (dp); + ldp->type = GRUB_EFI_END_DEVICE_PATH_TYPE; + ldp->subtype = GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE; + ldp->length[0] = sizeof (*ldp); + ldp->length[1] = 0; + + for (parent = devices; parent; parent = parent->next) + { + /* Ignore itself. */ + if (parent == d) + continue; + + if (compare_device_paths (parent->device_path, dp) == 0) + { + /* Found. */ + if (! parent->last_device_path) + parent = 0; + + break; + } + } + + grub_free (dp); + return parent; +} + +static int +iterate_child_devices (struct grub_efidisk_data *devices, + struct grub_efidisk_data *d, + int (*hook) (struct grub_efidisk_data *child)) +{ + struct grub_efidisk_data *p; + + for (p = devices; p; p = p->next) + { + grub_efi_device_path_t *dp, *ldp; + + dp = duplicate_device_path (p->device_path); + if (! dp) + return 0; + + ldp = find_last_device_path (dp); + ldp->type = GRUB_EFI_END_DEVICE_PATH_TYPE; + ldp->subtype = GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE; + ldp->length[0] = sizeof (*ldp); + ldp->length[1] = 0; + + if (compare_device_paths (dp, d->device_path) == 0) + if (hook (p)) + { + grub_free (dp); + return 1; + } + + grub_free (dp); + } + + return 0; +} + +/* Add a device into a list of devices in an ascending order. */ +static void +add_device (struct grub_efidisk_data **devices, struct grub_efidisk_data *d) +{ + struct grub_efidisk_data **p; + struct grub_efidisk_data *n; + + for (p = devices; *p; p = &((*p)->next)) + { + int ret; + + ret = compare_device_paths (find_last_device_path ((*p)->device_path), + find_last_device_path (d->device_path)); + if (ret == 0) + ret = compare_device_paths ((*p)->device_path, + d->device_path); + if (ret == 0) + return; + else if (ret > 0) + break; + } + + n = grub_malloc (sizeof (*n)); + if (! n) + return; + + grub_memcpy (n, d, sizeof (*n)); + n->next = (*p); + (*p) = n; +} + +/* Name the devices. */ +static void +name_devices (struct grub_efidisk_data *devices) +{ + struct grub_efidisk_data *d; + + /* First, identify devices by media device paths. */ + for (d = devices; d; d = d->next) + { + grub_efi_device_path_t *dp; + + dp = d->last_device_path; + if (! dp) + continue; + + if (GRUB_EFI_DEVICE_PATH_TYPE (dp) == GRUB_EFI_MEDIA_DEVICE_PATH_TYPE) + { + int is_hard_drive = 0; + + switch (GRUB_EFI_DEVICE_PATH_SUBTYPE (dp)) + { + case GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE: + is_hard_drive = 1; + /* Fall through by intention. */ + case GRUB_EFI_CDROM_DEVICE_PATH_SUBTYPE: + { + struct grub_efidisk_data *parent; + + parent = find_parent_device (devices, d); + if (parent) + { + if (is_hard_drive) + { +#if 0 + grub_printf ("adding a hard drive by a partition: "); + grub_print_device_path (parent->device_path); +#endif + add_device (&hd_devices, parent); + } + else + { +#if 0 + grub_printf ("adding a cdrom by a partition: "); + grub_print_device_path (parent->device_path); +#endif + add_device (&cd_devices, parent); + } + + /* Mark the parent as used. */ + parent->last_device_path = 0; + } + } + /* Mark itself as used. */ + d->last_device_path = 0; + break; + + default: + /* For now, ignore the others. */ + break; + } + } + } + + /* Let's see what can be added more. */ + for (d = devices; d; d = d->next) + { + grub_efi_device_path_t *dp; + grub_efi_block_io_media_t *m; + + dp = d->last_device_path; + if (! dp) + continue; + + m = d->block_io->media; + if (m->logical_partition) + { + /* Only one partition in a non-media device. Assume that this + is a floppy drive. */ +#if 0 + grub_printf ("adding a floppy by guessing: "); + grub_print_device_path (d->device_path); +#endif + add_device (&fd_devices, d); + } + else if (m->read_only && m->block_size > GRUB_DISK_SECTOR_SIZE) + { + /* This check is too heuristic, but assume that this is a + CDROM drive. */ +#if 0 + grub_printf ("adding a cdrom by guessing: "); + grub_print_device_path (d->device_path); +#endif + add_device (&cd_devices, d); + } + else + { + /* The default is a hard drive. */ +#if 0 + grub_printf ("adding a hard drive by guessing: "); + grub_print_device_path (d->device_path); +#endif + add_device (&hd_devices, d); + } + } +} + +static void +free_devices (struct grub_efidisk_data *devices) +{ + struct grub_efidisk_data *p, *q; + + for (p = devices; p; p = q) + { + q = p->next; + grub_free (p); + } +} + +/* Enumerate all disks to name devices. */ +static void +enumerate_disks (void) +{ + struct grub_efidisk_data *devices; + + devices = make_devices (); + if (! devices) + return; + + name_devices (devices); + free_devices (devices); +} + +static int +grub_efidisk_iterate (int (*hook) (const char *name)) +{ + struct grub_efidisk_data *d; + char buf[16]; + int count; + + for (d = fd_devices, count = 0; d; d = d->next, count++) + { + grub_snprintf (buf, sizeof (buf), "fd%d", count); + grub_dprintf ("efidisk", "iterating %s\n", buf); + if (hook (buf)) + return 1; + } + + for (d = hd_devices, count = 0; d; d = d->next, count++) + { + grub_snprintf (buf, sizeof (buf), "hd%d", count); + grub_dprintf ("efidisk", "iterating %s\n", buf); + if (hook (buf)) + return 1; + } + + for (d = cd_devices, count = 0; d; d = d->next, count++) + { + grub_snprintf (buf, sizeof (buf), "cd%d", count); + grub_dprintf ("efidisk", "iterating %s\n", buf); + if (hook (buf)) + return 1; + } + + return 0; +} + +static int +get_drive_number (const char *name) +{ + unsigned long drive; + + if ((name[0] != 'f' && name[0] != 'h' && name[0] != 'c') || name[1] != 'd') + goto fail; + + drive = grub_strtoul (name + 2, 0, 10); + if (grub_errno != GRUB_ERR_NONE) + goto fail; + + return (int) drive ; + + fail: + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a efidisk"); + return -1; +} + +static struct grub_efidisk_data * +get_device (struct grub_efidisk_data *devices, int num) +{ + struct grub_efidisk_data *d; + + for (d = devices; d && num; d = d->next, num--) + ; + + if (num == 0) + return d; + + return 0; +} + +static grub_err_t +grub_efidisk_open (const char *name, struct grub_disk *disk) +{ + int num; + struct grub_efidisk_data *d = 0; + grub_efi_block_io_media_t *m; + + grub_dprintf ("efidisk", "opening %s\n", name); + + num = get_drive_number (name); + if (num < 0) + return grub_errno; + + switch (name[0]) + { + case 'f': + d = get_device (fd_devices, num); + break; + case 'c': + d = get_device (cd_devices, num); + break; + case 'h': + d = get_device (hd_devices, num); + break; + default: + /* Never reach here. */ + break; + } + + if (! d) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such device"); + + disk->id = ((num << 8) | name[0]); + m = d->block_io->media; + /* FIXME: Probably it is better to store the block size in the disk, + and total sectors should be replaced with total blocks. */ + grub_dprintf ("efidisk", "m = %p, last block = %llx, block size = %x\n", + m, (unsigned long long) m->last_block, m->block_size); + disk->total_sectors = (m->last_block + * (m->block_size >> GRUB_DISK_SECTOR_BITS)); + disk->data = d; + + grub_dprintf ("efidisk", "opening %s succeeded\n", name); + + return GRUB_ERR_NONE; +} + +static void +grub_efidisk_close (struct grub_disk *disk __attribute__ ((unused))) +{ + /* EFI disks do not allocate extra memory, so nothing to do here. */ + grub_dprintf ("efidisk", "closing %s\n", disk->name); +} + +static grub_err_t +grub_efidisk_read (struct grub_disk *disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + /* For now, use the disk io interface rather than the block io's. */ + struct grub_efidisk_data *d; + grub_efi_disk_io_t *dio; + grub_efi_block_io_t *bio; + grub_efi_status_t status; + + d = disk->data; + dio = d->disk_io; + bio = d->block_io; + + grub_dprintf ("efidisk", + "reading 0x%lx sectors at the sector 0x%llx from %s\n", + (unsigned long) size, (unsigned long long) sector, disk->name); + + status = efi_call_5 (dio->read, dio, bio->media->media_id, + (grub_efi_uint64_t) sector << GRUB_DISK_SECTOR_BITS, + (grub_efi_uintn_t) size << GRUB_DISK_SECTOR_BITS, + buf); + if (status != GRUB_EFI_SUCCESS) + return grub_error (GRUB_ERR_READ_ERROR, "efidisk read error"); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_efidisk_write (struct grub_disk *disk, grub_disk_addr_t sector, + grub_size_t size, const char *buf) +{ + /* For now, use the disk io interface rather than the block io's. */ + struct grub_efidisk_data *d; + grub_efi_disk_io_t *dio; + grub_efi_block_io_t *bio; + grub_efi_status_t status; + + d = disk->data; + dio = d->disk_io; + bio = d->block_io; + + grub_dprintf ("efidisk", + "writing 0x%lx sectors at the sector 0x%llx to %s\n", + (unsigned long) size, (unsigned long long) sector, disk->name); + + status = efi_call_5 (dio->write, dio, bio->media->media_id, + (grub_efi_uint64_t) sector << GRUB_DISK_SECTOR_BITS, + (grub_efi_uintn_t) size << GRUB_DISK_SECTOR_BITS, + (void *) buf); + if (status != GRUB_EFI_SUCCESS) + return grub_error (GRUB_ERR_WRITE_ERROR, "efidisk write error"); + + return GRUB_ERR_NONE; +} + +static struct grub_disk_dev grub_efidisk_dev = + { + .name = "efidisk", + .id = GRUB_DISK_DEVICE_EFIDISK_ID, + .iterate = grub_efidisk_iterate, + .open = grub_efidisk_open, + .close = grub_efidisk_close, + .read = grub_efidisk_read, + .write = grub_efidisk_write, + .next = 0 + }; + +void +grub_efidisk_init (void) +{ + enumerate_disks (); + grub_disk_dev_register (&grub_efidisk_dev); +} + +void +grub_efidisk_fini (void) +{ + free_devices (fd_devices); + free_devices (hd_devices); + free_devices (cd_devices); + grub_disk_dev_unregister (&grub_efidisk_dev); +} + +/* Some utility functions to map GRUB devices with EFI devices. */ +grub_efi_handle_t +grub_efidisk_get_device_handle (grub_disk_t disk) +{ + struct grub_efidisk_data *d; + char type; + + if (disk->dev->id != GRUB_DISK_DEVICE_EFIDISK_ID) + return 0; + + d = disk->data; + type = disk->name[0]; + + switch (type) + { + case 'f': + /* This is the simplest case. */ + return d->handle; + + case 'c': + /* FIXME: probably this is not correct. */ + return d->handle; + + case 'h': + /* If this is the whole disk, just return its own data. */ + if (! disk->partition) + return d->handle; + + /* Otherwise, we must query the corresponding device to the firmware. */ + { + struct grub_efidisk_data *devices; + grub_efi_handle_t handle = 0; + auto int find_partition (struct grub_efidisk_data *c); + + int find_partition (struct grub_efidisk_data *c) + { + grub_efi_hard_drive_device_path_t hd; + + grub_memcpy (&hd, c->last_device_path, sizeof (hd)); + + if ((GRUB_EFI_DEVICE_PATH_TYPE (c->last_device_path) + == GRUB_EFI_MEDIA_DEVICE_PATH_TYPE) + && (GRUB_EFI_DEVICE_PATH_SUBTYPE (c->last_device_path) + == GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE) + && (grub_partition_get_start (disk->partition) + == hd.partition_start) + && (grub_partition_get_len (disk->partition) + == hd.partition_size)) + { + handle = c->handle; + return 1; + } + + return 0; + } + + devices = make_devices (); + iterate_child_devices (devices, d, find_partition); + free_devices (devices); + + if (handle != 0) + return handle; + } + break; + + default: + break; + } + + return 0; +} + +char * +grub_efidisk_get_device_name (grub_efi_handle_t *handle) +{ + grub_efi_device_path_t *dp, *ldp; + + dp = grub_efi_get_device_path (handle); + if (! dp) + return 0; + + ldp = find_last_device_path (dp); + if (! ldp) + return 0; + + if (GRUB_EFI_DEVICE_PATH_TYPE (ldp) == GRUB_EFI_MEDIA_DEVICE_PATH_TYPE + && (GRUB_EFI_DEVICE_PATH_SUBTYPE (ldp) + == GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE)) + { + /* This is a hard disk partition. */ + grub_disk_t parent = 0; + grub_partition_t tpart = NULL; + char *device_name; + grub_efi_device_path_t *dup_dp, *dup_ldp; + grub_efi_hard_drive_device_path_t hd; + auto int find_parent_disk (const char *name); + auto int find_partition (grub_disk_t disk, const grub_partition_t part); + + /* Find the disk which is the parent of a given hard disk partition. */ + int find_parent_disk (const char *name) + { + grub_disk_t disk; + + disk = grub_disk_open (name); + if (! disk) + return 1; + + if (disk->dev->id == GRUB_DISK_DEVICE_EFIDISK_ID) + { + struct grub_efidisk_data *d; + + d = disk->data; + if (compare_device_paths (d->device_path, dup_dp) == 0) + { + parent = disk; + return 1; + } + } + + grub_disk_close (disk); + return 0; + } + + /* Find the identical partition. */ + int find_partition (grub_disk_t disk __attribute__ ((unused)), + const grub_partition_t part) + { + if (grub_partition_get_start (part) == hd.partition_start + && grub_partition_get_len (part) == hd.partition_size) + { + tpart = part; + return 1; + } + + return 0; + } + + /* It is necessary to duplicate the device path so that GRUB + can overwrite it. */ + dup_dp = duplicate_device_path (dp); + if (! dup_dp) + return 0; + + dup_ldp = find_last_device_path (dup_dp); + dup_ldp->type = GRUB_EFI_END_DEVICE_PATH_TYPE; + dup_ldp->subtype = GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE; + dup_ldp->length[0] = sizeof (*dup_ldp); + dup_ldp->length[1] = 0; + + grub_efidisk_iterate (find_parent_disk); + grub_free (dup_dp); + + if (! parent) + return 0; + + /* Find a partition which matches the hard drive device path. */ + grub_memcpy (&hd, ldp, sizeof (hd)); + grub_partition_iterate (parent, find_partition); + + if (! tpart) + { + grub_disk_close (parent); + return 0; + } + + { + char *partition_name = grub_partition_get_name (tpart); + device_name = grub_xasprintf ("%s,%s", parent->name, partition_name); + grub_free (partition_name); + } + grub_disk_close (parent); + + return device_name; + } + else + { + /* This should be an entire disk. */ + auto int find_disk (const char *name); + char *device_name = 0; + + int find_disk (const char *name) + { + grub_disk_t disk; + + disk = grub_disk_open (name); + if (! disk) + return 1; + + if (disk->dev->id == GRUB_DISK_DEVICE_EFIDISK_ID) + { + struct grub_efidisk_data *d; + + d = disk->data; + if (compare_device_paths (d->device_path, dp) == 0) + { + device_name = grub_strdup (disk->name); + grub_disk_close (disk); + return 1; + } + } + + grub_disk_close (disk); + return 0; + + } + + grub_efidisk_iterate (find_disk); + return device_name; + } + + return 0; +} diff --git a/grub-core/disk/host.c b/grub-core/disk/host.c new file mode 100644 index 0000000..c519662 --- /dev/null +++ b/grub-core/disk/host.c @@ -0,0 +1,95 @@ +/* host.c - Dummy disk driver to provide access to the hosts filesystem */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* When using the disk, make a reference to this module. Otherwise + the user will end up with a useless module :-). */ + +#include +#include +#include + +int grub_disk_host_i_want_a_reference; + +static int +grub_host_iterate (int (*hook) (const char *name)) +{ + if (hook ("host")) + return 1; + return 0; +} + +static grub_err_t +grub_host_open (const char *name, grub_disk_t disk) +{ + if (grub_strcmp (name, "host")) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a host disk"); + + disk->total_sectors = 0; + disk->id = (unsigned long) "host"; + + disk->data = 0; + + return GRUB_ERR_NONE; +} + +static void +grub_host_close (grub_disk_t disk __attribute((unused))) +{ +} + +static grub_err_t +grub_host_read (grub_disk_t disk __attribute((unused)), + grub_disk_addr_t sector __attribute((unused)), + grub_size_t size __attribute((unused)), + char *buf __attribute((unused))) +{ + return GRUB_ERR_OUT_OF_RANGE; +} + +static grub_err_t +grub_host_write (grub_disk_t disk __attribute ((unused)), + grub_disk_addr_t sector __attribute ((unused)), + grub_size_t size __attribute ((unused)), + const char *buf __attribute ((unused))) +{ + return GRUB_ERR_OUT_OF_RANGE; +} + +static struct grub_disk_dev grub_host_dev = + { + /* The only important line in this file :-) */ + .name = "host", + .id = GRUB_DISK_DEVICE_HOST_ID, + .iterate = grub_host_iterate, + .open = grub_host_open, + .close = grub_host_close, + .read = grub_host_read, + .write = grub_host_write, + .next = 0 + }; + +GRUB_MOD_INIT(host) +{ + grub_disk_dev_register (&grub_host_dev); +} + +GRUB_MOD_FINI(host) +{ + grub_disk_dev_unregister (&grub_host_dev); +} diff --git a/grub-core/disk/i386/pc/biosdisk.c b/grub-core/disk/i386/pc/biosdisk.c new file mode 100644 index 0000000..1d47dc7 --- /dev/null +++ b/grub-core/disk/i386/pc/biosdisk.c @@ -0,0 +1,641 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static int cd_drive = 0; +static int grub_biosdisk_rw_int13_extensions (int ah, int drive, void *dap); + +static int grub_biosdisk_get_num_floppies (void) +{ + struct grub_bios_int_registers regs; + int drive; + + /* reset the disk system first */ + regs.eax = 0; + regs.edx = 0; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + + grub_bios_interrupt (0x13, ®s); + + for (drive = 0; drive < 2; drive++) + { + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT | GRUB_CPU_INT_FLAGS_CARRY; + regs.edx = drive; + + /* call GET DISK TYPE */ + regs.eax = 0x1500; + grub_bios_interrupt (0x13, ®s); + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + break; + + /* check if this drive exists */ + if (!(regs.eax & 0x300)) + break; + } + + return drive; +} + +/* + * Call IBM/MS INT13 Extensions (int 13 %ah=AH) for DRIVE. DAP + * is passed for disk address packet. If an error occurs, return + * non-zero, otherwise zero. + */ + +static int +grub_biosdisk_rw_int13_extensions (int ah, int drive, void *dap) +{ + struct grub_bios_int_registers regs; + regs.eax = ah << 8; + /* compute the address of disk_address_packet */ + regs.ds = (((grub_addr_t) dap) & 0xffff0000) >> 4; + regs.esi = (((grub_addr_t) dap) & 0xffff); + regs.edx = drive; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + + grub_bios_interrupt (0x13, ®s); + return (regs.eax >> 8) & 0xff; +} + +/* + * Call standard and old INT13 (int 13 %ah=AH) for DRIVE. Read/write + * NSEC sectors from COFF/HOFF/SOFF into SEGMENT. If an error occurs, + * return non-zero, otherwise zero. + */ +static int +grub_biosdisk_rw_standard (int ah, int drive, int coff, int hoff, + int soff, int nsec, int segment) +{ + int ret, i; + + /* Try 3 times. */ + for (i = 0; i < 3; i++) + { + struct grub_bios_int_registers regs; + + /* set up CHS information */ + /* set %ch to low eight bits of cylinder */ + regs.ecx = (coff << 8) & 0xff00; + /* set bits 6-7 of %cl to high two bits of cylinder */ + regs.ecx |= (coff >> 2) & 0xc0; + /* set bits 0-5 of %cl to sector */ + regs.ecx |= soff & 0x3f; + + /* set %dh to head and %dl to drive */ + regs.edx = (drive & 0xff) | ((hoff << 8) & 0xff00); + /* set %ah to AH */ + regs.eax = (ah << 8) & 0xff00; + /* set %al to NSEC */ + regs.eax |= nsec & 0xff; + + regs.ebx = 0; + regs.es = segment; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + + grub_bios_interrupt (0x13, ®s); + /* check if successful */ + if (!(regs.flags & GRUB_CPU_INT_FLAGS_CARRY)) + return 0; + + /* save return value */ + ret = regs.eax >> 8; + + /* if fail, reset the disk system */ + regs.eax = 0; + regs.edx = (drive & 0xff); + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x13, ®s); + } + return ret; +} + +/* + * Check if LBA is supported for DRIVE. If it is supported, then return + * the major version of extensions, otherwise zero. + */ +static int +grub_biosdisk_check_int13_extensions (int drive) +{ + struct grub_bios_int_registers regs; + + regs.edx = drive & 0xff; + regs.eax = 0x4100; + regs.ebx = 0x55aa; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x13, ®s); + + if (regs.flags & GRUB_CPU_INT_FLAGS_CARRY) + return 0; + + if ((regs.ebx & 0xffff) != 0xaa55) + return 0; + + /* check if AH=0x42 is supported */ + if (!(regs.ecx & 1)) + return 0; + + return (regs.eax >> 8) & 0xff; +} + +/* + * Return the geometry of DRIVE in CYLINDERS, HEADS and SECTORS. If an + * error occurs, then return non-zero, otherwise zero. + */ +static int +grub_biosdisk_get_diskinfo_standard (int drive, + unsigned long *cylinders, + unsigned long *heads, + unsigned long *sectors) +{ + struct grub_bios_int_registers regs; + + regs.eax = 0x0800; + regs.edx = drive & 0xff; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x13, ®s); + + /* Check if unsuccessful. Ignore return value if carry isn't set to + workaround some buggy BIOSes. */ + if ((regs.flags & GRUB_CPU_INT_FLAGS_CARRY) && ((regs.eax & 0xff00) != 0)) + return (regs.eax & 0xff00) >> 8; + + /* bogus BIOSes may not return an error number */ + /* 0 sectors means no disk */ + if (!(regs.ecx & 0x3f)) + /* XXX 0x60 is one of the unused error numbers */ + return 0x60; + + /* the number of heads is counted from zero */ + *heads = ((regs.edx >> 8) & 0xff) + 1; + *cylinders = (((regs.ecx >> 8) & 0xff) | ((regs.ecx << 2) & 0x0300)) + 1; + *sectors = regs.ecx & 0x3f; + return 0; +} + +static int +grub_biosdisk_get_diskinfo_real (int drive, void *drp, grub_uint16_t ax) +{ + struct grub_bios_int_registers regs; + + regs.eax = ax; + + /* compute the address of drive parameters */ + regs.esi = ((grub_addr_t) drp) & 0xf; + regs.ds = ((grub_addr_t) drp) >> 4; + regs.edx = drive & 0xff; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x13, ®s); + + /* Check if unsuccessful. Ignore return value if carry isn't set to + workaround some buggy BIOSes. */ + if ((regs.flags & GRUB_CPU_INT_FLAGS_CARRY) && ((regs.eax & 0xff00) != 0)) + return (regs.eax & 0xff00) >> 8; + + return 0; +} + +/* + * Return the cdrom information of DRIVE in CDRP. If an error occurs, + * then return non-zero, otherwise zero. + */ +static int +grub_biosdisk_get_cdinfo_int13_extensions (int drive, void *cdrp) +{ + return grub_biosdisk_get_diskinfo_real (drive, cdrp, 0x4b01); +} + +/* + * Return the geometry of DRIVE in a drive parameters, DRP. If an error + * occurs, then return non-zero, otherwise zero. + */ +static int +grub_biosdisk_get_diskinfo_int13_extensions (int drive, void *drp) +{ + return grub_biosdisk_get_diskinfo_real (drive, drp, 0x4800); +} + +static int +grub_biosdisk_get_drive (const char *name) +{ + unsigned long drive; + + if (name[0] == 'c' && name[1] == 'd' && name[2] == 0 && cd_drive) + return cd_drive; + + if ((name[0] != 'f' && name[0] != 'h') || name[1] != 'd') + goto fail; + + drive = grub_strtoul (name + 2, 0, 10); + if (grub_errno != GRUB_ERR_NONE) + goto fail; + + if (name[0] == 'h') + drive += 0x80; + + return (int) drive ; + + fail: + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a biosdisk"); + return -1; +} + +static int +grub_biosdisk_call_hook (int (*hook) (const char *name), int drive) +{ + char name[10]; + + if (cd_drive && drive == cd_drive) + return hook ("cd"); + + grub_snprintf (name, sizeof (name), + (drive & 0x80) ? "hd%d" : "fd%d", drive & (~0x80)); + return hook (name); +} + +static int +grub_biosdisk_iterate (int (*hook) (const char *name)) +{ + int drive; + int num_floppies; + + /* For hard disks, attempt to read the MBR. */ + for (drive = 0x80; drive < 0x90; drive++) + { + if (grub_biosdisk_rw_standard (0x02, drive, 0, 0, 1, 1, + GRUB_MEMORY_MACHINE_SCRATCH_SEG) != 0) + { + grub_dprintf ("disk", "Read error when probing drive 0x%2x\n", drive); + break; + } + + if (grub_biosdisk_call_hook (hook, drive)) + return 1; + } + + if (cd_drive) + { + if (grub_biosdisk_call_hook (hook, cd_drive)) + return 1; + } + + /* For floppy disks, we can get the number safely. */ + num_floppies = grub_biosdisk_get_num_floppies (); + for (drive = 0; drive < num_floppies; drive++) + if (grub_biosdisk_call_hook (hook, drive)) + return 1; + + return 0; +} + +static grub_err_t +grub_biosdisk_open (const char *name, grub_disk_t disk) +{ + grub_uint64_t total_sectors = 0; + int drive; + struct grub_biosdisk_data *data; + + drive = grub_biosdisk_get_drive (name); + if (drive < 0) + return grub_errno; + + disk->id = drive; + + data = (struct grub_biosdisk_data *) grub_zalloc (sizeof (*data)); + if (! data) + return grub_errno; + + data->drive = drive; + + if ((cd_drive) && (drive == cd_drive)) + { + data->flags = GRUB_BIOSDISK_FLAG_LBA | GRUB_BIOSDISK_FLAG_CDROM; + data->sectors = 32; + /* TODO: get the correct size. */ + total_sectors = GRUB_DISK_SIZE_UNKNOWN; + } + else + { + /* HDD */ + int version; + + version = grub_biosdisk_check_int13_extensions (drive); + if (version) + { + struct grub_biosdisk_drp *drp + = (struct grub_biosdisk_drp *) GRUB_MEMORY_MACHINE_SCRATCH_ADDR; + + /* Clear out the DRP. */ + grub_memset (drp, 0, sizeof (*drp)); + drp->size = sizeof (*drp); + if (! grub_biosdisk_get_diskinfo_int13_extensions (drive, drp)) + { + data->flags = GRUB_BIOSDISK_FLAG_LBA; + + if (drp->total_sectors) + total_sectors = drp->total_sectors; + else + /* Some buggy BIOSes doesn't return the total sectors + correctly but returns zero. So if it is zero, compute + it by C/H/S returned by the LBA BIOS call. */ + total_sectors = drp->cylinders * drp->heads * drp->sectors; + } + } + } + + if (! (data->flags & GRUB_BIOSDISK_FLAG_CDROM)) + { + if (grub_biosdisk_get_diskinfo_standard (drive, + &data->cylinders, + &data->heads, + &data->sectors) != 0) + { + if (total_sectors && (data->flags & GRUB_BIOSDISK_FLAG_LBA)) + { + data->sectors = 63; + data->heads = 255; + data->cylinders + = grub_divmod64 (total_sectors + + data->heads * data->sectors - 1, + data->heads * data->sectors, 0); + } + else + { + grub_free (data); + return grub_error (GRUB_ERR_BAD_DEVICE, "%s cannot get C/H/S values", disk->name); + } + } + + if (! total_sectors) + total_sectors = data->cylinders * data->heads * data->sectors; + } + + disk->total_sectors = total_sectors; + disk->data = data; + + return GRUB_ERR_NONE; +} + +static void +grub_biosdisk_close (grub_disk_t disk) +{ + grub_free (disk->data); +} + +/* For readability. */ +#define GRUB_BIOSDISK_READ 0 +#define GRUB_BIOSDISK_WRITE 1 + +#define GRUB_BIOSDISK_CDROM_RETRY_COUNT 3 + +static grub_err_t +grub_biosdisk_rw (int cmd, grub_disk_t disk, + grub_disk_addr_t sector, grub_size_t size, + unsigned segment) +{ + struct grub_biosdisk_data *data = disk->data; + + if (data->flags & GRUB_BIOSDISK_FLAG_LBA) + { + struct grub_biosdisk_dap *dap; + + dap = (struct grub_biosdisk_dap *) (GRUB_MEMORY_MACHINE_SCRATCH_ADDR + + (data->sectors + << GRUB_DISK_SECTOR_BITS)); + dap->length = sizeof (*dap); + dap->reserved = 0; + dap->blocks = size; + dap->buffer = segment << 16; /* The format SEGMENT:ADDRESS. */ + dap->block = sector; + + if (data->flags & GRUB_BIOSDISK_FLAG_CDROM) + { + int i; + + if (cmd) + return grub_error (GRUB_ERR_WRITE_ERROR, "can\'t write to cdrom"); + + dap->blocks = ALIGN_UP (dap->blocks, 4) >> 2; + dap->block >>= 2; + + for (i = 0; i < GRUB_BIOSDISK_CDROM_RETRY_COUNT; i++) + if (! grub_biosdisk_rw_int13_extensions (0x42, data->drive, dap)) + break; + + if (i == GRUB_BIOSDISK_CDROM_RETRY_COUNT) + return grub_error (GRUB_ERR_READ_ERROR, "cdrom read error"); + } + else + if (grub_biosdisk_rw_int13_extensions (cmd + 0x42, data->drive, dap)) + { + /* Fall back to the CHS mode. */ + data->flags &= ~GRUB_BIOSDISK_FLAG_LBA; + disk->total_sectors = data->cylinders * data->heads * data->sectors; + return grub_biosdisk_rw (cmd, disk, sector, size, segment); + } + } + else + { + unsigned coff, hoff, soff; + unsigned head; + + /* It is impossible to reach over 8064 MiB (a bit less than LBA24) with + the traditional CHS access. */ + if (sector > + 1024 /* cylinders */ * + 256 /* heads */ * + 63 /* spt */) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "%s out of disk", disk->name); + + soff = ((grub_uint32_t) sector) % data->sectors + 1; + head = ((grub_uint32_t) sector) / data->sectors; + hoff = head % data->heads; + coff = head / data->heads; + + if (coff >= data->cylinders) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "%s out of disk", disk->name); + + if (grub_biosdisk_rw_standard (cmd + 0x02, data->drive, + coff, hoff, soff, size, segment)) + { + switch (cmd) + { + case GRUB_BIOSDISK_READ: + return grub_error (GRUB_ERR_READ_ERROR, "%s read error", disk->name); + case GRUB_BIOSDISK_WRITE: + return grub_error (GRUB_ERR_WRITE_ERROR, "%s write error", disk->name); + } + } + } + + return GRUB_ERR_NONE; +} + +/* Return the number of sectors which can be read safely at a time. */ +static grub_size_t +get_safe_sectors (grub_disk_addr_t sector, grub_uint32_t sectors) +{ + grub_size_t size; + grub_uint32_t offset; + + /* OFFSET = SECTOR % SECTORS */ + grub_divmod64 (sector, sectors, &offset); + + size = sectors - offset; + + /* Limit the max to 0x7f because of Phoenix EDD. */ + if (size > 0x7f) + size = 0x7f; + + return size; +} + +static grub_err_t +grub_biosdisk_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + struct grub_biosdisk_data *data = disk->data; + + while (size) + { + grub_size_t len; + grub_size_t cdoff = 0; + + len = get_safe_sectors (sector, data->sectors); + + if (data->flags & GRUB_BIOSDISK_FLAG_CDROM) + { + cdoff = (sector & 3) << GRUB_DISK_SECTOR_BITS; + len = ALIGN_UP (sector + len, 4) - (sector & ~3); + sector &= ~3; + } + + if (len > size) + len = size; + + if (grub_biosdisk_rw (GRUB_BIOSDISK_READ, disk, sector, len, + GRUB_MEMORY_MACHINE_SCRATCH_SEG)) + return grub_errno; + + grub_memcpy (buf, (void *) (GRUB_MEMORY_MACHINE_SCRATCH_ADDR + cdoff), + len << GRUB_DISK_SECTOR_BITS); + buf += len << GRUB_DISK_SECTOR_BITS; + sector += len; + size -= len; + } + + return grub_errno; +} + +static grub_err_t +grub_biosdisk_write (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, const char *buf) +{ + struct grub_biosdisk_data *data = disk->data; + + if (data->flags & GRUB_BIOSDISK_FLAG_CDROM) + return grub_error (GRUB_ERR_IO, "can't write to CDROM"); + + while (size) + { + grub_size_t len; + + len = get_safe_sectors (sector, data->sectors); + if (len > size) + len = size; + + grub_memcpy ((void *) GRUB_MEMORY_MACHINE_SCRATCH_ADDR, buf, + len << GRUB_DISK_SECTOR_BITS); + + if (grub_biosdisk_rw (GRUB_BIOSDISK_WRITE, disk, sector, len, + GRUB_MEMORY_MACHINE_SCRATCH_SEG)) + return grub_errno; + + buf += len << GRUB_DISK_SECTOR_BITS; + sector += len; + size -= len; + } + + return grub_errno; +} + +static struct grub_disk_dev grub_biosdisk_dev = + { + .name = "biosdisk", + .id = GRUB_DISK_DEVICE_BIOSDISK_ID, + .iterate = grub_biosdisk_iterate, + .open = grub_biosdisk_open, + .close = grub_biosdisk_close, + .read = grub_biosdisk_read, + .write = grub_biosdisk_write, + .next = 0 + }; + +static void +grub_disk_biosdisk_fini (void) +{ + grub_disk_dev_unregister (&grub_biosdisk_dev); +} + +GRUB_MOD_INIT(biosdisk) +{ + struct grub_biosdisk_cdrp *cdrp + = (struct grub_biosdisk_cdrp *) GRUB_MEMORY_MACHINE_SCRATCH_ADDR; + + if (grub_disk_firmware_is_tainted) + { + grub_printf ("Firmware is marked as tainted, refusing to initialize.\n"); + return; + } + grub_disk_firmware_fini = grub_disk_biosdisk_fini; + + grub_memset (cdrp, 0, sizeof (*cdrp)); + cdrp->size = sizeof (*cdrp); + cdrp->media_type = 0xFF; + if ((! grub_biosdisk_get_cdinfo_int13_extensions (grub_boot_drive, cdrp)) && + ((cdrp->media_type & GRUB_BIOSDISK_CDTYPE_MASK) + == GRUB_BIOSDISK_CDTYPE_NO_EMUL)) + cd_drive = cdrp->drive_no; + /* Since diskboot.S rejects devices over 0x90 it must be a CD booted with + cdboot.S + */ + if (grub_boot_drive >= 0x90) + cd_drive = grub_boot_drive; + + grub_disk_dev_register (&grub_biosdisk_dev); +} + +GRUB_MOD_FINI(biosdisk) +{ + grub_disk_biosdisk_fini (); +} diff --git a/grub-core/disk/ieee1275/nand.c b/grub-core/disk/ieee1275/nand.c new file mode 100644 index 0000000..e945016 --- /dev/null +++ b/grub-core/disk/ieee1275/nand.c @@ -0,0 +1,216 @@ +/* nand.c - NAND flash disk access. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct grub_nand_data +{ + grub_ieee1275_ihandle_t handle; + grub_uint32_t block_size; +}; + +static int +grub_nand_iterate (int (*hook) (const char *name)) +{ + auto int dev_iterate (struct grub_ieee1275_devalias *alias); + int dev_iterate (struct grub_ieee1275_devalias *alias) + { + if (! grub_strcmp (alias->name, "nand")) + { + hook (alias->name); + return 1; + } + + return 0; + } + + return grub_devalias_iterate (dev_iterate); +} + +static grub_err_t +grub_nand_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf); + +static grub_err_t +grub_nand_open (const char *name, grub_disk_t disk) +{ + grub_ieee1275_ihandle_t dev_ihandle = 0; + struct grub_nand_data *data = 0; + struct size_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t result; + grub_ieee1275_cell_t size1; + grub_ieee1275_cell_t size2; + } args; + + if (! grub_strstr (name, "nand")) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a NAND device"); + + data = grub_malloc (sizeof (*data)); + if (! data) + goto fail; + + grub_ieee1275_open (name, &dev_ihandle); + if (! dev_ihandle) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't open device"); + goto fail; + } + + data->handle = dev_ihandle; + + INIT_IEEE1275_COMMON (&args.common, "call-method", 2, 2); + args.method = (grub_ieee1275_cell_t) "block-size"; + args.ihandle = dev_ihandle; + args.result = 1; + + if ((IEEE1275_CALL_ENTRY_FN (&args) == -1) || (args.result)) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't get block size"); + goto fail; + } + + data->block_size = (args.size1 >> GRUB_DISK_SECTOR_BITS); + + INIT_IEEE1275_COMMON (&args.common, "call-method", 2, 3); + args.method = (grub_ieee1275_cell_t) "size"; + args.ihandle = dev_ihandle; + args.result = 1; + + if ((IEEE1275_CALL_ENTRY_FN (&args) == -1) || (args.result)) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't get disk size"); + goto fail; + } + + disk->total_sectors = args.size1; + disk->total_sectors <<= 32; + disk->total_sectors += args.size2; + disk->total_sectors >>= GRUB_DISK_SECTOR_BITS; + + disk->id = dev_ihandle; + + disk->data = data; + + return 0; + +fail: + if (dev_ihandle) + grub_ieee1275_close (dev_ihandle); + grub_free (data); + return grub_errno; +} + +static void +grub_nand_close (grub_disk_t disk) +{ + grub_ieee1275_close (((struct grub_nand_data *) disk->data)->handle); + grub_free (disk->data); +} + +static grub_err_t +grub_nand_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + struct grub_nand_data *data = disk->data; + grub_size_t bsize, ofs; + + struct read_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t ofs; + grub_ieee1275_cell_t page; + grub_ieee1275_cell_t len; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t result; + } args; + + INIT_IEEE1275_COMMON (&args.common, "call-method", 6, 1); + args.method = (grub_ieee1275_cell_t) "pio-read"; + args.ihandle = data->handle; + args.buf = (grub_ieee1275_cell_t) buf; + args.page = (grub_ieee1275_cell_t) ((grub_size_t) sector / data->block_size); + + ofs = ((grub_size_t) sector % data->block_size) << GRUB_DISK_SECTOR_BITS; + size <<= GRUB_DISK_SECTOR_BITS; + bsize = (data->block_size << GRUB_DISK_SECTOR_BITS); + + do + { + grub_size_t len; + + len = (ofs + size > bsize) ? (bsize - ofs) : size; + + args.len = (grub_ieee1275_cell_t) len; + args.ofs = (grub_ieee1275_cell_t) ofs; + args.result = 1; + + if ((IEEE1275_CALL_ENTRY_FN (&args) == -1) || (args.result)) + return grub_error (GRUB_ERR_READ_ERROR, "read error"); + + ofs = 0; + size -= len; + args.buf += len; + args.page++; + } while (size); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_nand_write (grub_disk_t disk __attribute ((unused)), + grub_disk_addr_t sector __attribute ((unused)), + grub_size_t size __attribute ((unused)), + const char *buf __attribute ((unused))) +{ + return GRUB_ERR_NOT_IMPLEMENTED_YET; +} + +static struct grub_disk_dev grub_nand_dev = + { + .name = "nand", + .id = GRUB_DISK_DEVICE_NAND_ID, + .iterate = grub_nand_iterate, + .open = grub_nand_open, + .close = grub_nand_close, + .read = grub_nand_read, + .write = grub_nand_write, + .next = 0 + }; + +GRUB_MOD_INIT(nand) +{ + grub_disk_dev_register (&grub_nand_dev); +} + +GRUB_MOD_FINI(nand) +{ + grub_disk_dev_unregister (&grub_nand_dev); +} diff --git a/grub-core/disk/ieee1275/ofdisk.c b/grub-core/disk/ieee1275/ofdisk.c new file mode 100644 index 0000000..0a935d5 --- /dev/null +++ b/grub-core/disk/ieee1275/ofdisk.c @@ -0,0 +1,373 @@ +/* ofdisk.c - Open Firmware disk access. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +static char *last_devpath; +static grub_ieee1275_ihandle_t last_ihandle; + +struct ofdisk_hash_ent +{ + char *devpath; + /* Pointer to shortest available name on nodes representing canonical names, + otherwise NULL. */ + const char *shortest; + struct ofdisk_hash_ent *next; +}; + +#define OFDISK_HASH_SZ 8 +static struct ofdisk_hash_ent *ofdisk_hash[OFDISK_HASH_SZ]; + +static int +ofdisk_hash_fn (const char *devpath) +{ + int hash = 0; + while (*devpath) + hash ^= *devpath++; + return (hash & (OFDISK_HASH_SZ - 1)); +} + +static struct ofdisk_hash_ent * +ofdisk_hash_find (const char *devpath) +{ + struct ofdisk_hash_ent *p = ofdisk_hash[ofdisk_hash_fn(devpath)]; + + while (p) + { + if (!grub_strcmp (p->devpath, devpath)) + break; + p = p->next; + } + return p; +} + +static struct ofdisk_hash_ent * +ofdisk_hash_add_real (char *devpath) +{ + struct ofdisk_hash_ent *p; + struct ofdisk_hash_ent **head = &ofdisk_hash[ofdisk_hash_fn(devpath)]; + + p = grub_malloc(sizeof (*p)); + if (!p) + return NULL; + + p->devpath = devpath; + p->next = *head; + p->shortest = 0; + *head = p; + return p; +} + +static struct ofdisk_hash_ent * +ofdisk_hash_add (char *devpath, char *curcan) +{ + struct ofdisk_hash_ent *p, *pcan; + + p = ofdisk_hash_add_real (devpath); + + grub_dprintf ("disk", "devpath = %s, canonical = %s\n", devpath, curcan); + + if (!curcan) + { + p->shortest = devpath; + return p; + } + + pcan = ofdisk_hash_find (curcan); + if (!pcan) + pcan = ofdisk_hash_add_real (curcan); + else + grub_free (curcan); + + if (!pcan) + grub_errno = GRUB_ERR_NONE; + else + { + if (!pcan->shortest + || grub_strlen (pcan->shortest) > grub_strlen (devpath)) + pcan->shortest = devpath; + } + + return p; +} + +static void +scan (void) +{ + auto int dev_iterate (struct grub_ieee1275_devalias *alias); + + int dev_iterate (struct grub_ieee1275_devalias *alias) + { + struct ofdisk_hash_ent *op; + + grub_dprintf ("disk", "device name = %s type = %s\n", alias->name, + alias->type); + + if (grub_strcmp (alias->type, "block") != 0) + return 0; + + grub_dprintf ("disk", "disk name = %s\n", alias->name); + grub_dprintf ("disk", "disk name = %s, path = %s\n", alias->name, + alias->path); + + op = ofdisk_hash_find (alias->name); + if (!op) + { + char *name = grub_strdup (alias->name); + char *can = grub_strdup (alias->path); + if (!name || !can) + { + grub_errno = GRUB_ERR_NONE; + grub_free (name); + grub_free (can); + return 0; + } + op = ofdisk_hash_add (name, can); + } + return 0; + } + + grub_devalias_iterate (dev_iterate); + grub_ieee1275_devices_iterate (dev_iterate); +} + +static int +grub_ofdisk_iterate (int (*hook) (const char *name)) +{ + unsigned i; + scan (); + + for (i = 0; i < ARRAY_SIZE (ofdisk_hash); i++) + { + static struct ofdisk_hash_ent *ent; + for (ent = ofdisk_hash[i]; ent; ent = ent->next) + { + if (!ent->shortest) + continue; + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY)) + { + grub_ieee1275_phandle_t dev; + char tmp[8]; + + if (grub_ieee1275_finddevice (ent->devpath, &dev)) + { + grub_dprintf ("disk", "finddevice (%s) failed\n", + ent->devpath); + continue; + } + + if (grub_ieee1275_get_property (dev, "iconname", tmp, + sizeof tmp, 0)) + { + grub_dprintf ("disk", "get iconname failed\n"); + continue; + } + + if (grub_strcmp (tmp, "sdmmc") != 0) + { + grub_dprintf ("disk", "device is not an SD card\n"); + continue; + } + } + + if (grub_strncmp (ent->shortest, "cdrom", 5) == 0) + continue; + + if (hook (ent->shortest)) + return 1; + } + } + return 0; +} + +static char * +compute_dev_path (const char *name) +{ + char *devpath = grub_malloc (grub_strlen (name) + 3); + char *p, c; + + if (!devpath) + return NULL; + + /* Un-escape commas. */ + p = devpath; + while ((c = *name++) != '\0') + { + if (c == '\\' && *name == ',') + { + *p++ = ','; + name++; + } + else + *p++ = c; + } + + *p++ = '\0'; + + return devpath; +} + +static grub_err_t +grub_ofdisk_open (const char *name, grub_disk_t disk) +{ + grub_ieee1275_phandle_t dev; + char *devpath; + /* XXX: This should be large enough for any possible case. */ + char prop[64]; + grub_ssize_t actual; + + devpath = compute_dev_path (name); + if (! devpath) + return grub_errno; + + grub_dprintf ("disk", "Opening `%s'.\n", devpath); + + if (grub_ieee1275_finddevice (devpath, &dev)) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't read device properties"); + + if (grub_ieee1275_get_property (dev, "device_type", prop, sizeof (prop), + &actual)) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't read the device type"); + + if (grub_strcmp (prop, "block")) + return grub_error (GRUB_ERR_BAD_DEVICE, "not a block device"); + + /* XXX: There is no property to read the number of blocks. There + should be a property `#blocks', but it is not there. Perhaps it + is possible to use seek for this. */ + disk->total_sectors = GRUB_DISK_SIZE_UNKNOWN; + + { + struct ofdisk_hash_ent *op; + op = ofdisk_hash_find (devpath); + if (!op) + op = ofdisk_hash_add (devpath, NULL); + else + grub_free (devpath); + if (!op) + return grub_errno; + disk->id = (unsigned long) op; + disk->data = op->devpath; + } + + return 0; +} + +static void +grub_ofdisk_close (grub_disk_t disk) +{ + if (disk->data == last_devpath) + { + if (last_ihandle) + grub_ieee1275_close (last_ihandle); + last_ihandle = 0; + last_devpath = NULL; + } + disk->data = 0; +} + +static grub_err_t +grub_ofdisk_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_ssize_t status, actual; + unsigned long long pos; + + if (disk->data != last_devpath) + { + if (last_ihandle) + grub_ieee1275_close (last_ihandle); + last_ihandle = 0; + last_devpath = NULL; + + if (! grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_NO_PARTITION_0)) + { + char name2[grub_strlen (disk->data) + 3]; + char *p; + + grub_strcpy (name2, disk->data); + p = name2 + grub_strlen (name2); + *p++ = ':'; + *p++ = '0'; + *p = 0; + grub_ieee1275_open (name2, &last_ihandle); + } + else + grub_ieee1275_open (disk->data, &last_ihandle); + if (! last_ihandle) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't open device"); + last_devpath = disk->data; + } + + pos = sector * 512UL; + + grub_ieee1275_seek (last_ihandle, pos, &status); + if (status < 0) + return grub_error (GRUB_ERR_READ_ERROR, + "seek error, can't seek block %llu", + (long long) sector); + grub_ieee1275_read (last_ihandle, buf, size * 512UL, &actual); + if (actual != (grub_ssize_t) (size * 512UL)) + return grub_error (GRUB_ERR_READ_ERROR, "read error on block: %llu", + (long long) sector); + + return 0; +} + +static grub_err_t +grub_ofdisk_write (grub_disk_t disk __attribute ((unused)), + grub_disk_addr_t sector __attribute ((unused)), + grub_size_t size __attribute ((unused)), + const char *buf __attribute ((unused))) +{ + return GRUB_ERR_NOT_IMPLEMENTED_YET; +} + +static struct grub_disk_dev grub_ofdisk_dev = + { + .name = "ofdisk", + .id = GRUB_DISK_DEVICE_OFDISK_ID, + .iterate = grub_ofdisk_iterate, + .open = grub_ofdisk_open, + .close = grub_ofdisk_close, + .read = grub_ofdisk_read, + .write = grub_ofdisk_write, + .next = 0 + }; + +void +grub_ofdisk_init (void) +{ + grub_disk_dev_register (&grub_ofdisk_dev); +} + +void +grub_ofdisk_fini (void) +{ + if (last_ihandle) + grub_ieee1275_close (last_ihandle); + last_ihandle = 0; + last_devpath = NULL; + + grub_disk_dev_unregister (&grub_ofdisk_dev); +} diff --git a/grub-core/disk/loopback.c b/grub-core/disk/loopback.c new file mode 100644 index 0000000..d50f353 --- /dev/null +++ b/grub-core/disk/loopback.c @@ -0,0 +1,232 @@ +/* loopback.c - command to add loopback devices. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2006,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct grub_loopback +{ + char *devname; + grub_file_t file; + struct grub_loopback *next; +}; + +static struct grub_loopback *loopback_list; + +static const struct grub_arg_option options[] = + { + {"delete", 'd', 0, N_("Delete the loopback device entry."), 0, 0}, + {0, 0, 0, 0, 0, 0} + }; + +/* Delete the loopback device NAME. */ +static grub_err_t +delete_loopback (const char *name) +{ + struct grub_loopback *dev; + struct grub_loopback **prev; + + /* Search for the device. */ + for (dev = loopback_list, prev = &loopback_list; + dev; + prev = &dev->next, dev = dev->next) + if (grub_strcmp (dev->devname, name) == 0) + break; + + if (! dev) + return grub_error (GRUB_ERR_BAD_DEVICE, "device not found"); + + /* Remove the device from the list. */ + *prev = dev->next; + + grub_free (dev->devname); + grub_file_close (dev->file); + grub_free (dev); + + return 0; +} + +/* The command to add and remove loopback devices. */ +static grub_err_t +grub_cmd_loopback (grub_extcmd_context_t ctxt, int argc, char **args) +{ + struct grub_arg_list *state = ctxt->state; + grub_file_t file; + struct grub_loopback *newdev; + grub_err_t ret; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "device name required"); + + /* Check if `-d' was used. */ + if (state[0].set) + return delete_loopback (args[0]); + + if (argc < 2) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "file name required"); + + file = grub_file_open (args[1]); + if (! file) + return grub_errno; + + /* First try to replace the old device. */ + for (newdev = loopback_list; newdev; newdev = newdev->next) + if (grub_strcmp (newdev->devname, args[0]) == 0) + break; + + if (newdev) + { + grub_file_close (newdev->file); + newdev->file = file; + + return 0; + } + + /* Unable to replace it, make a new entry. */ + newdev = grub_malloc (sizeof (struct grub_loopback)); + if (! newdev) + goto fail; + + newdev->devname = grub_strdup (args[0]); + if (! newdev->devname) + { + grub_free (newdev); + goto fail; + } + + newdev->file = file; + + /* Add the new entry to the list. */ + newdev->next = loopback_list; + loopback_list = newdev; + + return 0; + +fail: + ret = grub_errno; + grub_file_close (file); + return ret; +} + + +static int +grub_loopback_iterate (int (*hook) (const char *name)) +{ + struct grub_loopback *d; + for (d = loopback_list; d; d = d->next) + { + if (hook (d->devname)) + return 1; + } + return 0; +} + +static grub_err_t +grub_loopback_open (const char *name, grub_disk_t disk) +{ + struct grub_loopback *dev; + + for (dev = loopback_list; dev; dev = dev->next) + if (grub_strcmp (dev->devname, name) == 0) + break; + + if (! dev) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "can't open device"); + + /* Use the filesize for the disk size, round up to a complete sector. */ + if (dev->file->size != GRUB_FILE_SIZE_UNKNOWN) + disk->total_sectors = ((dev->file->size + GRUB_DISK_SECTOR_SIZE - 1) + / GRUB_DISK_SECTOR_SIZE); + else + disk->total_sectors = GRUB_DISK_SIZE_UNKNOWN; + disk->id = (unsigned long) dev; + + disk->data = dev; + + return 0; +} + +static grub_err_t +grub_loopback_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_file_t file = ((struct grub_loopback *) disk->data)->file; + grub_off_t pos; + + grub_file_seek (file, sector << GRUB_DISK_SECTOR_BITS); + + grub_file_read (file, buf, size << GRUB_DISK_SECTOR_BITS); + if (grub_errno) + return grub_errno; + + /* In case there is more data read than there is available, in case + of files that are not a multiple of GRUB_DISK_SECTOR_SIZE, fill + the rest with zeros. */ + pos = (sector + size) << GRUB_DISK_SECTOR_BITS; + if (pos > file->size) + { + grub_size_t amount = pos - file->size; + grub_memset (buf + (size << GRUB_DISK_SECTOR_BITS) - amount, 0, amount); + } + + return 0; +} + +static grub_err_t +grub_loopback_write (grub_disk_t disk __attribute ((unused)), + grub_disk_addr_t sector __attribute ((unused)), + grub_size_t size __attribute ((unused)), + const char *buf __attribute ((unused))) +{ + return GRUB_ERR_NOT_IMPLEMENTED_YET; +} + +static struct grub_disk_dev grub_loopback_dev = + { + .name = "loopback", + .id = GRUB_DISK_DEVICE_LOOPBACK_ID, + .iterate = grub_loopback_iterate, + .open = grub_loopback_open, + .read = grub_loopback_read, + .write = grub_loopback_write, + .next = 0 + }; + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(loopback) +{ + cmd = grub_register_extcmd ("loopback", grub_cmd_loopback, 0, + N_("[-d] DEVICENAME FILE."), + N_("Make a device of a file."), options); + grub_disk_dev_register (&grub_loopback_dev); +} + +GRUB_MOD_FINI(loopback) +{ + grub_unregister_extcmd (cmd); + grub_disk_dev_unregister (&grub_loopback_dev); +} diff --git a/grub-core/disk/lvm.c b/grub-core/disk/lvm.c new file mode 100644 index 0000000..206e3e2 --- /dev/null +++ b/grub-core/disk/lvm.c @@ -0,0 +1,896 @@ +/* lvm.c - module to read Logical Volumes. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +#ifdef GRUB_UTIL +#include +#endif + +GRUB_MOD_LICENSE ("GPLv3+"); + +static struct grub_lvm_vg *vg_list; +static int lv_count; + + +/* Go the string STR and return the number after STR. *P will point + at the number. In case STR is not found, *P will be NULL and the + return value will be 0. */ +static int +grub_lvm_getvalue (char **p, char *str) +{ + *p = grub_strstr (*p, str); + if (! *p) + return 0; + *p += grub_strlen (str); + return grub_strtoul (*p, NULL, 10); +} + +#if 0 +static int +grub_lvm_checkvalue (char **p, char *str, char *tmpl) +{ + int tmpllen = grub_strlen (tmpl); + *p = grub_strstr (*p, str); + if (! *p) + return 0; + *p += grub_strlen (str); + if (**p != '"') + return 0; + return (grub_memcmp (*p + 1, tmpl, tmpllen) == 0 && (*p)[tmpllen + 1] == '"'); +} +#endif + +static int +grub_lvm_check_flag (char *p, char *str, char *flag) +{ + int len_str = grub_strlen (str), len_flag = grub_strlen (flag); + while (1) + { + char *q; + p = grub_strstr (p, str); + if (! p) + return 0; + p += len_str; + if (grub_memcmp (p, " = [", sizeof (" = [") - 1) != 0) + continue; + q = p + sizeof (" = [") - 1; + while (1) + { + while (grub_isspace (*q)) + q++; + if (*q != '"') + return 0; + q++; + if (grub_memcmp (q, flag, len_flag) == 0 && q[len_flag] == '"') + return 1; + while (*q != '"') + q++; + q++; + if (*q == ']') + return 0; + q++; + } + } +} + +static int +grub_lvm_iterate (int (*hook) (const char *name)) +{ + struct grub_lvm_vg *vg; + for (vg = vg_list; vg; vg = vg->next) + { + struct grub_lvm_lv *lv; + if (vg->lvs) + for (lv = vg->lvs; lv; lv = lv->next) + if (lv->visible && hook (lv->name)) + return 1; + } + + return 0; +} + +#ifdef GRUB_UTIL +static grub_disk_memberlist_t +grub_lvm_memberlist (grub_disk_t disk) +{ + struct grub_lvm_lv *lv = disk->data; + grub_disk_memberlist_t list = NULL, tmp; + struct grub_lvm_pv *pv; + + if (lv->vg->pvs) + for (pv = lv->vg->pvs; pv; pv = pv->next) + { + if (!pv->disk) + grub_util_error ("Couldn't find PV %s. Check your device.map", + pv->name); + tmp = grub_malloc (sizeof (*tmp)); + tmp->disk = pv->disk; + tmp->next = list; + list = tmp; + } + + return list; +} +#endif + +static grub_err_t +grub_lvm_open (const char *name, grub_disk_t disk) +{ + struct grub_lvm_vg *vg; + struct grub_lvm_lv *lv = NULL; + for (vg = vg_list; vg; vg = vg->next) + { + if (vg->lvs) + for (lv = vg->lvs; lv; lv = lv->next) + if (! grub_strcmp (lv->name, name)) + break; + + if (lv) + break; + } + + if (! lv) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "unknown LVM device %s", name); + + disk->id = lv->number; + disk->data = lv; + disk->total_sectors = lv->size; + + return 0; +} + +static void +grub_lvm_close (grub_disk_t disk __attribute ((unused))) +{ + return; +} + +static grub_err_t +read_lv (struct grub_lvm_lv *lv, grub_disk_addr_t sector, + grub_size_t size, char *buf); + +static grub_err_t +read_node (const struct grub_lvm_node *node, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + /* Check whether we actually know the physical volume we want to + read from. */ + if (node->pv) + { + if (node->pv->disk) + return grub_disk_read (node->pv->disk, sector + node->pv->start, 0, + size << GRUB_DISK_SECTOR_BITS, buf); + else + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "physical volume %s not found", node->pv->name); + + } + if (node->lv) + return read_lv (node->lv, sector, size, buf); + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "unknown node '%s'", node->name); +} + +static grub_err_t +read_lv (struct grub_lvm_lv *lv, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_err_t err = 0; + struct grub_lvm_vg *vg = lv->vg; + struct grub_lvm_segment *seg = lv->segments; + struct grub_lvm_node *node; + grub_uint64_t offset; + grub_uint64_t extent; + unsigned int i; + + if (!lv) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "unknown volume"); + + extent = grub_divmod64 (sector, vg->extent_size, NULL); + + /* Find the right segment. */ + for (i = 0; i < lv->segment_count; i++) + { + if ((seg->start_extent <= extent) + && ((seg->start_extent + seg->extent_count) > extent)) + { + break; + } + + seg++; + } + + if (i == lv->segment_count) + return grub_error (GRUB_ERR_READ_ERROR, "incorrect segment"); + + switch (seg->type) + { + case GRUB_LVM_STRIPED: + if (seg->node_count == 1) + { + /* This segment is linear, so that's easy. We just need to find + out the offset in the physical volume and read SIZE bytes + from that. */ + struct grub_lvm_node *stripe = seg->nodes; + grub_uint64_t seg_offset; /* Offset of the segment in PV device. */ + + node = stripe; + seg_offset = ((grub_uint64_t) stripe->start + * (grub_uint64_t) vg->extent_size); + + offset = sector - ((grub_uint64_t) seg->start_extent + * (grub_uint64_t) vg->extent_size) + seg_offset; + } + else + { + /* This is a striped segment. We have to find the right PV + similar to RAID0. */ + struct grub_lvm_node *stripe = seg->nodes; + grub_uint32_t a, b; + grub_uint64_t seg_offset; /* Offset of the segment in PV device. */ + unsigned int stripenr; + + offset = sector - ((grub_uint64_t) seg->start_extent + * (grub_uint64_t) vg->extent_size); + + a = grub_divmod64 (offset, seg->stripe_size, NULL); + grub_divmod64 (a, seg->node_count, &stripenr); + + a = grub_divmod64 (offset, seg->stripe_size * seg->node_count, NULL); + grub_divmod64 (offset, seg->stripe_size, &b); + offset = a * seg->stripe_size + b; + + stripe += stripenr; + node = stripe; + + seg_offset = ((grub_uint64_t) stripe->start + * (grub_uint64_t) vg->extent_size); + + offset += seg_offset; + } + return read_node (node, offset, size, buf); + case GRUB_LVM_MIRROR: + i = 0; + while (1) + { + err = read_node (&seg->nodes[i], sector, size, buf); + if (!err) + return err; + if (++i >= seg->node_count) + return err; + grub_errno = GRUB_ERR_NONE; + } + } + return grub_error (GRUB_ERR_IO, "unknown LVM segment"); +} + +static grub_err_t +grub_lvm_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + return read_lv (disk->data, sector, size, buf); +} + +static grub_err_t +grub_lvm_write (grub_disk_t disk __attribute ((unused)), + grub_disk_addr_t sector __attribute ((unused)), + grub_size_t size __attribute ((unused)), + const char *buf __attribute ((unused))) +{ + return GRUB_ERR_NOT_IMPLEMENTED_YET; +} + +static int +grub_lvm_scan_device (const char *name) +{ + grub_err_t err; + grub_disk_t disk; + grub_uint64_t mda_offset, mda_size; + char buf[GRUB_LVM_LABEL_SIZE]; + char vg_id[GRUB_LVM_ID_STRLEN+1]; + char pv_id[GRUB_LVM_ID_STRLEN+1]; + char *metadatabuf, *p, *q, *vgname; + struct grub_lvm_label_header *lh = (struct grub_lvm_label_header *) buf; + struct grub_lvm_pv_header *pvh; + struct grub_lvm_disk_locn *dlocn; + struct grub_lvm_mda_header *mdah; + struct grub_lvm_raw_locn *rlocn; + unsigned int i, j, vgname_len; + struct grub_lvm_vg *vg; + struct grub_lvm_pv *pv; + +#ifdef GRUB_UTIL + grub_util_info ("scanning %s for LVM", name); +#endif + + disk = grub_disk_open (name); + if (!disk) + { + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_errno = GRUB_ERR_NONE; + return 0; + } + + /* Search for label. */ + for (i = 0; i < GRUB_LVM_LABEL_SCAN_SECTORS; i++) + { + err = grub_disk_read (disk, i, 0, sizeof(buf), buf); + if (err) + goto fail; + + if ((! grub_strncmp ((char *)lh->id, GRUB_LVM_LABEL_ID, + sizeof (lh->id))) + && (! grub_strncmp ((char *)lh->type, GRUB_LVM_LVM2_LABEL, + sizeof (lh->type)))) + break; + } + + /* Return if we didn't find a label. */ + if (i == GRUB_LVM_LABEL_SCAN_SECTORS) + { +#ifdef GRUB_UTIL + grub_util_info ("no LVM signature found"); +#endif + goto fail; + } + + pvh = (struct grub_lvm_pv_header *) (buf + grub_le_to_cpu32(lh->offset_xl)); + + for (i = 0, j = 0; i < GRUB_LVM_ID_LEN; i++) + { + pv_id[j++] = pvh->pv_uuid[i]; + if ((i != 1) && (i != 29) && (i % 4 == 1)) + pv_id[j++] = '-'; + } + pv_id[j] = '\0'; + + dlocn = pvh->disk_areas_xl; + + dlocn++; + /* Is it possible to have multiple data/metadata areas? I haven't + seen devices that have it. */ + if (dlocn->offset) + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "we don't support multiple LVM data areas"); + +#ifdef GRUB_UTIL + grub_util_info ("we don't support multiple LVM data areas\n"); +#endif + goto fail; + } + + dlocn++; + mda_offset = grub_le_to_cpu64 (dlocn->offset); + mda_size = grub_le_to_cpu64 (dlocn->size); + + /* It's possible to have multiple copies of metadata areas, we just use the + first one. */ + + /* Allocate buffer space for the circular worst-case scenario. */ + metadatabuf = grub_malloc (2 * mda_size); + if (! metadatabuf) + goto fail; + + err = grub_disk_read (disk, 0, mda_offset, mda_size, metadatabuf); + if (err) + goto fail2; + + mdah = (struct grub_lvm_mda_header *) metadatabuf; + if ((grub_strncmp ((char *)mdah->magic, GRUB_LVM_FMTT_MAGIC, + sizeof (mdah->magic))) + || (grub_le_to_cpu32 (mdah->version) != GRUB_LVM_FMTT_VERSION)) + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unknown LVM metadata header"); +#ifdef GRUB_UTIL + grub_util_info ("unknown LVM metadata header\n"); +#endif + goto fail2; + } + + rlocn = mdah->raw_locns; + if (grub_le_to_cpu64 (rlocn->offset) + grub_le_to_cpu64 (rlocn->size) > + grub_le_to_cpu64 (mdah->size)) + { + /* Metadata is circular. Copy the wrap in place. */ + grub_memcpy (metadatabuf + mda_size, + metadatabuf + GRUB_LVM_MDA_HEADER_SIZE, + grub_le_to_cpu64 (rlocn->offset) + + grub_le_to_cpu64 (rlocn->size) - + grub_le_to_cpu64 (mdah->size)); + } + p = q = metadatabuf + grub_le_to_cpu64 (rlocn->offset); + + while (*q != ' ' && q < metadatabuf + mda_size) + q++; + + if (q == metadatabuf + mda_size) + { +#ifdef GRUB_UTIL + grub_util_info ("error parsing metadata\n"); +#endif + goto fail2; + } + + vgname_len = q - p; + vgname = grub_malloc (vgname_len + 1); + if (!vgname) + goto fail2; + + grub_memcpy (vgname, p, vgname_len); + vgname[vgname_len] = '\0'; + + p = grub_strstr (q, "id = \""); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("couldn't find ID\n"); +#endif + goto fail3; + } + p += sizeof ("id = \"") - 1; + grub_memcpy (vg_id, p, GRUB_LVM_ID_STRLEN); + vg_id[GRUB_LVM_ID_STRLEN] = '\0'; + + for (vg = vg_list; vg; vg = vg->next) + { + if (! grub_memcmp(vg_id, vg->id, GRUB_LVM_ID_STRLEN)) + break; + } + + if (! vg) + { + /* First time we see this volume group. We've to create the + whole volume group structure. */ + vg = grub_malloc (sizeof (*vg)); + if (! vg) + goto fail3; + vg->name = vgname; + grub_memcpy (vg->id, vg_id, GRUB_LVM_ID_STRLEN+1); + + vg->extent_size = grub_lvm_getvalue (&p, "extent_size = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown extent size\n"); +#endif + goto fail4; + } + + vg->lvs = NULL; + vg->pvs = NULL; + + p = grub_strstr (p, "physical_volumes {"); + if (p) + { + p += sizeof ("physical_volumes {") - 1; + + /* Add all the pvs to the volume group. */ + while (1) + { + int s; + while (grub_isspace (*p)) + p++; + + if (*p == '}') + break; + + pv = grub_malloc (sizeof (*pv)); + q = p; + while (*q != ' ') + q++; + + s = q - p; + pv->name = grub_malloc (s + 1); + grub_memcpy (pv->name, p, s); + pv->name[s] = '\0'; + + p = grub_strstr (p, "id = \""); + if (p == NULL) + goto pvs_fail; + p += sizeof("id = \"") - 1; + + grub_memcpy (pv->id, p, GRUB_LVM_ID_STRLEN); + pv->id[GRUB_LVM_ID_STRLEN] = '\0'; + + pv->start = grub_lvm_getvalue (&p, "pe_start = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown pe_start\n"); +#endif + goto pvs_fail; + } + + p = grub_strchr (p, '}'); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("error parsing pe_start\n"); +#endif + goto pvs_fail; + } + p++; + + pv->disk = NULL; + pv->next = vg->pvs; + vg->pvs = pv; + + continue; + pvs_fail: + grub_free (pv->name); + grub_free (pv); + goto fail4; + } + } + + p = grub_strstr (p, "logical_volumes"); + if (p) + { + p += 18; + + /* And add all the lvs to the volume group. */ + while (1) + { + int s; + int skip_lv = 0; + struct grub_lvm_lv *lv; + struct grub_lvm_segment *seg; + int is_pvmove; + + while (grub_isspace (*p)) + p++; + + if (*p == '}') + break; + + lv = grub_malloc (sizeof (*lv)); + + q = p; + while (*q != ' ') + q++; + + s = q - p; + lv->name = grub_malloc (vgname_len + 1 + s + 1); + grub_memcpy (lv->name, vgname, vgname_len); + lv->name[vgname_len] = '-'; + grub_memcpy (lv->name + vgname_len + 1, p, s); + lv->name[vgname_len + 1 + s] = '\0'; + + lv->size = 0; + + lv->visible = grub_lvm_check_flag (p, "status", "VISIBLE"); + is_pvmove = grub_lvm_check_flag (p, "status", "PVMOVE"); + + lv->segment_count = grub_lvm_getvalue (&p, "segment_count = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown segment_count\n"); +#endif + goto lvs_fail; + } + lv->segments = grub_malloc (sizeof (*seg) * lv->segment_count); + seg = lv->segments; + + for (i = 0; i < lv->segment_count; i++) + { + + p = grub_strstr (p, "segment"); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown segment\n"); +#endif + goto lvs_segment_fail; + } + + seg->start_extent = grub_lvm_getvalue (&p, "start_extent = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown start_extent\n"); +#endif + goto lvs_segment_fail; + } + seg->extent_count = grub_lvm_getvalue (&p, "extent_count = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown extent_count\n"); +#endif + goto lvs_segment_fail; + } + + p = grub_strstr (p, "type = \""); + if (p == NULL) + goto lvs_segment_fail; + p += sizeof("type = \"") - 1; + + lv->size += seg->extent_count * vg->extent_size; + + if (grub_memcmp (p, "striped\"", + sizeof ("striped\"") - 1) == 0) + { + struct grub_lvm_node *stripe; + + seg->type = GRUB_LVM_STRIPED; + seg->node_count = grub_lvm_getvalue (&p, "stripe_count = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown stripe_count\n"); +#endif + goto lvs_segment_fail; + } + + if (seg->node_count != 1) + seg->stripe_size = grub_lvm_getvalue (&p, "stripe_size = "); + + seg->nodes = grub_zalloc (sizeof (*stripe) + * seg->node_count); + stripe = seg->nodes; + + p = grub_strstr (p, "stripes = ["); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown stripes\n"); +#endif + goto lvs_segment_fail2; + } + p += sizeof("stripes = [") - 1; + + for (j = 0; j < seg->node_count; j++) + { + p = grub_strchr (p, '"'); + if (p == NULL) + continue; + q = ++p; + while (*q != '"') + q++; + + s = q - p; + + stripe->name = grub_malloc (s + 1); + if (stripe->name == NULL) + goto lvs_segment_fail2; + + grub_memcpy (stripe->name, p, s); + stripe->name[s] = '\0'; + + stripe->start = grub_lvm_getvalue (&p, ","); + if (p == NULL) + continue; + + stripe++; + } + } + else if (grub_memcmp (p, "mirror\"", sizeof ("mirror\"") - 1) + == 0) + { + seg->type = GRUB_LVM_MIRROR; + seg->node_count = grub_lvm_getvalue (&p, "mirror_count = "); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown mirror_count\n"); +#endif + goto lvs_segment_fail; + } + + seg->nodes = grub_zalloc (sizeof (seg->nodes[0]) + * seg->node_count); + + p = grub_strstr (p, "mirrors = ["); + if (p == NULL) + { +#ifdef GRUB_UTIL + grub_util_info ("unknown mirrors\n"); +#endif + goto lvs_segment_fail2; + } + p += sizeof("mirrors = [") - 1; + + for (j = 0; j < seg->node_count; j++) + { + char *lvname; + + p = grub_strchr (p, '"'); + if (p == NULL) + continue; + q = ++p; + while (*q != '"') + q++; + + s = q - p; + + lvname = grub_malloc (s + 1); + if (lvname == NULL) + goto lvs_segment_fail2; + + grub_memcpy (lvname, p, s); + lvname[s] = '\0'; + seg->nodes[j].name = lvname; + p = q + 1; + } + /* Only first (original) is ok with in progress pvmove. */ + if (is_pvmove) + seg->node_count = 1; + } + else + { +#ifdef GRUB_UTIL + char *p2; + p2 = grub_strchr (p, '"'); + if (p2) + *p2 = 0; + grub_util_info ("unknown LVM type %s\n", p); + if (p2) + *p2 ='"'; +#endif + /* Found a non-supported type, give up and move on. */ + skip_lv = 1; + break; + } + + seg++; + + continue; + lvs_segment_fail2: + grub_free (seg->nodes); + lvs_segment_fail: + goto fail4; + } + + if (p != NULL) + p = grub_strchr (p, '}'); + if (p == NULL) + goto lvs_fail; + p += 3; + + if (skip_lv) + { + grub_free (lv->name); + grub_free (lv); + continue; + } + + lv->number = lv_count++; + lv->vg = vg; + lv->next = vg->lvs; + vg->lvs = lv; + + continue; + lvs_fail: + grub_free (lv->name); + grub_free (lv); + goto fail4; + } + } + + /* Match lvs. */ + { + struct grub_lvm_lv *lv1; + struct grub_lvm_lv *lv2; + for (lv1 = vg->lvs; lv1; lv1 = lv1->next) + for (i = 0; i < lv1->segment_count; i++) + for (j = 0; j < lv1->segments[i].node_count; j++) + { + if (vg->pvs) + for (pv = vg->pvs; pv; pv = pv->next) + { + if (! grub_strcmp (pv->name, + lv1->segments[i].nodes[j].name)) + { + lv1->segments[i].nodes[j].pv = pv; + break; + } + } + if (lv1->segments[i].nodes[j].pv == NULL) + for (lv2 = vg->lvs; lv2; lv2 = lv2->next) + if (grub_strcmp (lv2->name + grub_strlen (vg->name) + 1, + lv1->segments[i].nodes[j].name) == 0) + lv1->segments[i].nodes[j].lv = lv2; + } + + } + + vg->next = vg_list; + vg_list = vg; + } + else + { + grub_free (vgname); + } + + /* Match the device we are currently reading from with the right + PV. */ + if (vg->pvs) + for (pv = vg->pvs; pv; pv = pv->next) + { + if (! grub_memcmp (pv->id, pv_id, GRUB_LVM_ID_STRLEN)) + { + /* This could happen to LVM on RAID, pv->disk points to the + raid device, we shouldn't change it. */ + if (! pv->disk) + pv->disk = grub_disk_open (name); + break; + } + } + + goto fail2; + + /* Failure path. */ + fail4: + grub_free (vg); + fail3: + grub_free (vgname); + + /* Normal exit path. */ + fail2: + grub_free (metadatabuf); + fail: + grub_disk_close (disk); + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_errno = GRUB_ERR_NONE; + grub_print_error (); + return 0; +} + +static struct grub_disk_dev grub_lvm_dev = + { + .name = "lvm", + .id = GRUB_DISK_DEVICE_LVM_ID, + .iterate = grub_lvm_iterate, + .open = grub_lvm_open, + .close = grub_lvm_close, + .read = grub_lvm_read, + .write = grub_lvm_write, +#ifdef GRUB_UTIL + .memberlist = grub_lvm_memberlist, +#endif + .next = 0 + }; + + +GRUB_MOD_INIT(lvm) +{ + grub_device_iterate (&grub_lvm_scan_device); + if (grub_errno) + { + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + } + + grub_disk_dev_register (&grub_lvm_dev); +} + +GRUB_MOD_FINI(lvm) +{ + grub_disk_dev_unregister (&grub_lvm_dev); + vg_list = NULL; + /* FIXME: free the lvm list. */ +} diff --git a/grub-core/disk/mdraid1x_linux.c b/grub-core/disk/mdraid1x_linux.c new file mode 100644 index 0000000..19c43f4 --- /dev/null +++ b/grub-core/disk/mdraid1x_linux.c @@ -0,0 +1,247 @@ +/* mdraid_linux.c - module to handle Linux Software RAID. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Linux RAID on disk structures and constants, + copied from include/linux/raid/md_p.h. */ + +#define SB_MAGIC 0xa92b4efc + +/* + * The version-1 superblock : + * All numeric fields are little-endian. + * + * Total size: 256 bytes plus 2 per device. + * 1K allows 384 devices. + */ + +struct grub_raid_super_1x +{ + /* Constant array information - 128 bytes. */ + grub_uint32_t magic; /* MD_SB_MAGIC: 0xa92b4efc - little endian. */ + grub_uint32_t major_version; /* 1. */ + grub_uint32_t feature_map; /* Bit 0 set if 'bitmap_offset' is meaningful. */ + grub_uint32_t pad0; /* Always set to 0 when writing. */ + + grub_uint8_t set_uuid[16]; /* User-space generated. */ + char set_name[32]; /* Set and interpreted by user-space. */ + + grub_uint64_t ctime; /* Lo 40 bits are seconds, top 24 are microseconds or 0. */ + grub_uint32_t level; /* -4 (multipath), -1 (linear), 0,1,4,5. */ + grub_uint32_t layout; /* only for raid5 and raid10 currently. */ + grub_uint64_t size; /* Used size of component devices, in 512byte sectors. */ + + grub_uint32_t chunksize; /* In 512byte sectors. */ + grub_uint32_t raid_disks; + grub_uint32_t bitmap_offset; /* Sectors after start of superblock that bitmap starts + * NOTE: signed, so bitmap can be before superblock + * only meaningful of feature_map[0] is set. + */ + + /* These are only valid with feature bit '4'. */ + grub_uint32_t new_level; /* New level we are reshaping to. */ + grub_uint64_t reshape_position; /* Next address in array-space for reshape. */ + grub_uint32_t delta_disks; /* Change in number of raid_disks. */ + grub_uint32_t new_layout; /* New layout. */ + grub_uint32_t new_chunk; /* New chunk size (512byte sectors). */ + grub_uint8_t pad1[128 - 124]; /* Set to 0 when written. */ + + /* Constant this-device information - 64 bytes. */ + grub_uint64_t data_offset; /* Sector start of data, often 0. */ + grub_uint64_t data_size; /* Sectors in this device that can be used for data. */ + grub_uint64_t super_offset; /* Sector start of this superblock. */ + grub_uint64_t recovery_offset; /* Sectors before this offset (from data_offset) have been recovered. */ + grub_uint32_t dev_number; /* Permanent identifier of this device - not role in raid. */ + grub_uint32_t cnt_corrected_read; /* Number of read errors that were corrected by re-writing. */ + grub_uint8_t device_uuid[16]; /* User-space setable, ignored by kernel. */ + grub_uint8_t devflags; /* Per-device flags. Only one defined... */ + grub_uint8_t pad2[64 - 57]; /* Set to 0 when writing. */ + + /* Array state information - 64 bytes. */ + grub_uint64_t utime; /* 40 bits second, 24 btes microseconds. */ + grub_uint64_t events; /* Incremented when superblock updated. */ + grub_uint64_t resync_offset; /* Data before this offset (from data_offset) known to be in sync. */ + grub_uint32_t sb_csum; /* Checksum upto devs[max_dev]. */ + grub_uint32_t max_dev; /* Size of devs[] array to consider. */ + grub_uint8_t pad3[64 - 32]; /* Set to 0 when writing. */ + + /* Device state information. Indexed by dev_number. + * 2 bytes per device. + * Note there are no per-device state flags. State information is rolled + * into the 'roles' value. If a device is spare or faulty, then it doesn't + * have a meaningful role. + */ + grub_uint16_t dev_roles[0]; /* Role in array, or 0xffff for a spare, or 0xfffe for faulty. */ +}; +/* Could be __attribute__ ((packed)), but since all members in this struct + are already appropriately aligned, we can omit this and avoid suboptimal + assembly in some cases. */ + +#define WriteMostly1 1 /* Mask for writemostly flag in above devflags. */ + +static grub_err_t +grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array, + grub_disk_addr_t *start_sector) +{ + grub_disk_addr_t sector = 0; + grub_uint64_t size; + struct grub_raid_super_1x sb; + grub_uint8_t minor_version; + + size = grub_disk_get_size (disk); + + /* Check for an 1.x superblock. + * It's always aligned to a 4K boundary + * and depending on the minor version it can be: + * 0: At least 8K, but less than 12K, from end of device + * 1: At start of device + * 2: 4K from start of device. + */ + + for (minor_version = 0; minor_version < 3; ++minor_version) + { + if (size == GRUB_DISK_SIZE_UNKNOWN && minor_version == 0) + continue; + + switch (minor_version) + { + case 0: + sector = (size - 8 * 2) & ~(4 * 2 - 1); + break; + case 1: + sector = 0; + break; + case 2: + sector = 4 * 2; + break; + } + + if (grub_disk_read (disk, sector, 0, sizeof (struct grub_raid_super_1x), + &sb)) + return grub_errno; + + if (grub_le_to_cpu32 (sb.magic) != SB_MAGIC + || grub_le_to_cpu64 (sb.super_offset) != sector) + continue; + + { + grub_uint64_t sb_size; + struct grub_raid_super_1x *real_sb; + grub_uint32_t level; + + if (grub_le_to_cpu32 (sb.major_version) != 1) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "Unsupported RAID version: %d", + grub_le_to_cpu32 (sb.major_version)); + + level = grub_le_to_cpu32 (sb.level); + + /* Multipath. */ + if ((int) level == -4) + level = 1; + + if (level != 0 && level != 1 && level != 4 && + level != 5 && level != 6 && level != 10) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "Unsupported RAID level: %d", sb.level); + + /* 1.x superblocks don't have a fixed size on disk. So we have to + read it again now that we now the max device count. */ + sb_size = sizeof (struct grub_raid_super_1x) + + 2 * grub_le_to_cpu32 (sb.max_dev); + real_sb = grub_malloc (sb_size); + if (! real_sb) + return grub_errno; + + if (grub_disk_read (disk, sector, 0, sb_size, real_sb)) + { + grub_free (real_sb); + return grub_errno; + } + + array->name = grub_strdup (real_sb->set_name); + if (! array->name) + { + grub_free (real_sb); + return grub_errno; + } + + array->number = 0; + array->level = grub_le_to_cpu32 (real_sb->level); + array->layout = grub_le_to_cpu32 (real_sb->layout); + array->total_devs = grub_le_to_cpu32 (real_sb->raid_disks); + if (real_sb->size) + array->disk_size = grub_le_to_cpu64 (real_sb->size); + else + array->disk_size = grub_le_to_cpu64 (real_sb->data_size); + array->chunk_size = grub_le_to_cpu32 (real_sb->chunksize); + + if (grub_le_to_cpu32 (real_sb->dev_number) >= + grub_le_to_cpu32 (real_sb->max_dev)) + return grub_error (GRUB_ERR_OUT_OF_RANGE, + "spares aren't implemented"); + + array->index = grub_le_to_cpu16 + (real_sb->dev_roles[grub_le_to_cpu32 (real_sb->dev_number)]); + if (array->index >= array->total_devs) + return grub_error (GRUB_ERR_OUT_OF_RANGE, + "spares aren't implemented"); + array->uuid_len = 16; + array->uuid = grub_malloc (16); + if (!array->uuid) + { + grub_free (real_sb); + return grub_errno; + } + + grub_memcpy (array->uuid, real_sb->set_uuid, 16); + + *start_sector = grub_le_to_cpu64 (real_sb->data_offset); + + grub_free (real_sb); + return 0; + } + } + + return grub_error (GRUB_ERR_OUT_OF_RANGE, "not 1.x raid"); +} + +static struct grub_raid grub_mdraid_dev = { + .name = "mdraid1x", + .detect = grub_mdraid_detect, + .next = 0 +}; + +GRUB_MOD_INIT (mdraid1x) +{ + grub_raid_register (&grub_mdraid_dev); +} + +GRUB_MOD_FINI (mdraid1x) +{ + grub_raid_unregister (&grub_mdraid_dev); +} diff --git a/grub-core/disk/mdraid_linux.c b/grub-core/disk/mdraid_linux.c new file mode 100644 index 0000000..0e2d850 --- /dev/null +++ b/grub-core/disk/mdraid_linux.c @@ -0,0 +1,248 @@ +/* mdraid_linux.c - module to handle Linux Software RAID. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* Linux RAID on disk structures and constants, + copied from include/linux/raid/md_p.h. */ + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define RESERVED_BYTES (64 * 1024) +#define RESERVED_SECTORS (RESERVED_BYTES / 512) + +#define NEW_SIZE_SECTORS(x) ((x & ~(RESERVED_SECTORS - 1)) \ + - RESERVED_SECTORS) + +#define SB_BYTES 4096 +#define SB_WORDS (SB_BYTES / 4) +#define SB_SECTORS (SB_BYTES / 512) + +/* + * The following are counted in 32-bit words + */ +#define SB_GENERIC_OFFSET 0 + +#define SB_PERSONALITY_OFFSET 64 +#define SB_DISKS_OFFSET 128 +#define SB_DESCRIPTOR_OFFSET 992 + +#define SB_GENERIC_CONSTANT_WORDS 32 +#define SB_GENERIC_STATE_WORDS 32 +#define SB_GENERIC_WORDS (SB_GENERIC_CONSTANT_WORDS + \ + SB_GENERIC_STATE_WORDS) + +#define SB_PERSONALITY_WORDS 64 +#define SB_DESCRIPTOR_WORDS 32 +#define SB_DISKS 27 +#define SB_DISKS_WORDS (SB_DISKS * SB_DESCRIPTOR_WORDS) + +#define SB_RESERVED_WORDS (1024 \ + - SB_GENERIC_WORDS \ + - SB_PERSONALITY_WORDS \ + - SB_DISKS_WORDS \ + - SB_DESCRIPTOR_WORDS) + +#define SB_EQUAL_WORDS (SB_GENERIC_WORDS \ + + SB_PERSONALITY_WORDS \ + + SB_DISKS_WORDS) + +/* + * Device "operational" state bits + */ +#define DISK_FAULTY 0 +#define DISK_ACTIVE 1 +#define DISK_SYNC 2 +#define DISK_REMOVED 3 + +#define DISK_WRITEMOSTLY 9 + +#define SB_MAGIC 0xa92b4efc + +/* + * Superblock state bits + */ +#define SB_CLEAN 0 +#define SB_ERRORS 1 + +#define SB_BITMAP_PRESENT 8 + +struct grub_raid_disk_09 +{ + grub_uint32_t number; /* Device number in the entire set. */ + grub_uint32_t major; /* Device major number. */ + grub_uint32_t minor; /* Device minor number. */ + grub_uint32_t raid_disk; /* The role of the device in the raid set. */ + grub_uint32_t state; /* Operational state. */ + grub_uint32_t reserved[SB_DESCRIPTOR_WORDS - 5]; +}; + +struct grub_raid_super_09 +{ + /* + * Constant generic information + */ + grub_uint32_t md_magic; /* MD identifier. */ + grub_uint32_t major_version; /* Major version. */ + grub_uint32_t minor_version; /* Minor version. */ + grub_uint32_t patch_version; /* Patchlevel version. */ + grub_uint32_t gvalid_words; /* Number of used words in this section. */ + grub_uint32_t set_uuid0; /* Raid set identifier. */ + grub_uint32_t ctime; /* Creation time. */ + grub_uint32_t level; /* Raid personality. */ + grub_uint32_t size; /* Apparent size of each individual disk. */ + grub_uint32_t nr_disks; /* Total disks in the raid set. */ + grub_uint32_t raid_disks; /* Disks in a fully functional raid set. */ + grub_uint32_t md_minor; /* Preferred MD minor device number. */ + grub_uint32_t not_persistent; /* Does it have a persistent superblock. */ + grub_uint32_t set_uuid1; /* Raid set identifier #2. */ + grub_uint32_t set_uuid2; /* Raid set identifier #3. */ + grub_uint32_t set_uuid3; /* Raid set identifier #4. */ + grub_uint32_t gstate_creserved[SB_GENERIC_CONSTANT_WORDS - 16]; + + /* + * Generic state information + */ + grub_uint32_t utime; /* Superblock update time. */ + grub_uint32_t state; /* State bits (clean, ...). */ + grub_uint32_t active_disks; /* Number of currently active disks. */ + grub_uint32_t working_disks; /* Number of working disks. */ + grub_uint32_t failed_disks; /* Number of failed disks. */ + grub_uint32_t spare_disks; /* Number of spare disks. */ + grub_uint32_t sb_csum; /* Checksum of the whole superblock. */ + grub_uint64_t events; /* Superblock update count. */ + grub_uint64_t cp_events; /* Checkpoint update count. */ + grub_uint32_t recovery_cp; /* Recovery checkpoint sector count. */ + grub_uint32_t gstate_sreserved[SB_GENERIC_STATE_WORDS - 12]; + + /* + * Personality information + */ + grub_uint32_t layout; /* The array's physical layout. */ + grub_uint32_t chunk_size; /* Chunk size in bytes. */ + grub_uint32_t root_pv; /* LV root PV. */ + grub_uint32_t root_block; /* LV root block. */ + grub_uint32_t pstate_reserved[SB_PERSONALITY_WORDS - 4]; + + /* + * Disks information + */ + struct grub_raid_disk_09 disks[SB_DISKS]; + + /* + * Reserved + */ + grub_uint32_t reserved[SB_RESERVED_WORDS]; + + /* + * Active descriptor + */ + struct grub_raid_disk_09 this_disk; +} __attribute__ ((packed)); + +static grub_err_t +grub_mdraid_detect (grub_disk_t disk, struct grub_raid_array *array, + grub_disk_addr_t *start_sector) +{ + grub_disk_addr_t sector; + grub_uint64_t size; + struct grub_raid_super_09 sb; + grub_uint32_t *uuid; + grub_uint32_t level; + + /* The sector where the mdraid 0.90 superblock is stored, if available. */ + size = grub_disk_get_size (disk); + if (size == GRUB_DISK_SIZE_UNKNOWN) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "not 0.9x raid"); + sector = NEW_SIZE_SECTORS (size); + + if (grub_disk_read (disk, sector, 0, SB_BYTES, &sb)) + return grub_errno; + + /* Look whether there is a mdraid 0.90 superblock. */ + if (grub_le_to_cpu32 (sb.md_magic) != SB_MAGIC) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "not 0.9x raid"); + + if (grub_le_to_cpu32 (sb.major_version) != 0 + || grub_le_to_cpu32 (sb.minor_version) != 90) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unsupported RAID version: %d.%d", + grub_le_to_cpu32 (sb.major_version), + grub_le_to_cpu32 (sb.minor_version)); + + /* FIXME: Check the checksum. */ + + level = grub_le_to_cpu32 (sb.level); + /* Multipath. */ + if ((int) level == -4) + level = 1; + + if (level != 0 && level != 1 && level != 4 && + level != 5 && level != 6 && level != 10) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unsupported RAID level: %d", level); + if (grub_le_to_cpu32 (sb.this_disk.number) == 0xffff + || grub_le_to_cpu32 (sb.this_disk.number) == 0xfffe) + return grub_error (GRUB_ERR_OUT_OF_RANGE, + "spares aren't implemented"); + + array->name = NULL; + array->number = grub_le_to_cpu32 (sb.md_minor); + array->level = level; + array->layout = grub_le_to_cpu32 (sb.layout); + array->total_devs = grub_le_to_cpu32 (sb.raid_disks); + array->disk_size = (sb.size) ? grub_le_to_cpu32 (sb.size) * 2 : sector; + array->chunk_size = grub_le_to_cpu32 (sb.chunk_size) >> 9; + array->index = grub_le_to_cpu32 (sb.this_disk.number); + array->uuid_len = 16; + array->uuid = grub_malloc (16); + if (!array->uuid) + return grub_errno; + + uuid = (grub_uint32_t *) array->uuid; + uuid[0] = grub_swap_bytes32 (sb.set_uuid0); + uuid[1] = grub_swap_bytes32 (sb.set_uuid1); + uuid[2] = grub_swap_bytes32 (sb.set_uuid2); + uuid[3] = grub_swap_bytes32 (sb.set_uuid3); + + *start_sector = 0; + + return 0; +} + +static struct grub_raid grub_mdraid_dev = { + .name = "mdraid09", + .detect = grub_mdraid_detect, + .next = 0 +}; + +GRUB_MOD_INIT (mdraid09) +{ + grub_raid_register (&grub_mdraid_dev); +} + +GRUB_MOD_FINI (mdraid09) +{ + grub_raid_unregister (&grub_mdraid_dev); +} diff --git a/grub-core/disk/memdisk.c b/grub-core/disk/memdisk.c new file mode 100644 index 0000000..114ac0d --- /dev/null +++ b/grub-core/disk/memdisk.c @@ -0,0 +1,117 @@ +/* memdisk.c - Access embedded memory disk. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static char *memdisk_addr; +static grub_off_t memdisk_size = 0; + +static int +grub_memdisk_iterate (int (*hook) (const char *name)) +{ + return hook ("memdisk"); +} + +static grub_err_t +grub_memdisk_open (const char *name, grub_disk_t disk) +{ + if (grub_strcmp (name, "memdisk")) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a memdisk"); + + disk->total_sectors = memdisk_size / GRUB_DISK_SECTOR_SIZE; + disk->id = (unsigned long) "mdsk"; + + return GRUB_ERR_NONE; +} + +static void +grub_memdisk_close (grub_disk_t disk __attribute((unused))) +{ +} + +static grub_err_t +grub_memdisk_read (grub_disk_t disk __attribute((unused)), grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_memcpy (buf, memdisk_addr + (sector << GRUB_DISK_SECTOR_BITS), size << GRUB_DISK_SECTOR_BITS); + return 0; +} + +static grub_err_t +grub_memdisk_write (grub_disk_t disk __attribute((unused)), grub_disk_addr_t sector, + grub_size_t size, const char *buf) +{ + grub_memcpy (memdisk_addr + (sector << GRUB_DISK_SECTOR_BITS), buf, size << GRUB_DISK_SECTOR_BITS); + return 0; +} + +static struct grub_disk_dev grub_memdisk_dev = + { + .name = "memdisk", + .id = GRUB_DISK_DEVICE_MEMDISK_ID, + .iterate = grub_memdisk_iterate, + .open = grub_memdisk_open, + .close = grub_memdisk_close, + .read = grub_memdisk_read, + .write = grub_memdisk_write, + .next = 0 + }; + +GRUB_MOD_INIT(memdisk) +{ + auto int hook (struct grub_module_header *); + int hook (struct grub_module_header *header) + { + if (header->type == OBJ_TYPE_MEMDISK) + { + char *memdisk_orig_addr; + memdisk_orig_addr = (char *) header + sizeof (struct grub_module_header); + + grub_dprintf ("memdisk", "Found memdisk image at %p\n", memdisk_orig_addr); + + memdisk_size = header->size - sizeof (struct grub_module_header); + memdisk_addr = grub_malloc (memdisk_size); + + grub_dprintf ("memdisk", "Copying memdisk image to dynamic memory\n"); + grub_memmove (memdisk_addr, memdisk_orig_addr, memdisk_size); + + grub_disk_dev_register (&grub_memdisk_dev); + return 1; + } + + return 0; + } + + grub_module_iterate (hook); +} + +GRUB_MOD_FINI(memdisk) +{ + if (! memdisk_size) + return; + grub_free (memdisk_addr); + grub_disk_dev_unregister (&grub_memdisk_dev); +} diff --git a/grub-core/disk/raid.c b/grub-core/disk/raid.c new file mode 100644 index 0000000..946e6d2 --- /dev/null +++ b/grub-core/disk/raid.c @@ -0,0 +1,812 @@ +/* raid.c - module to read RAID arrays. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#ifdef GRUB_UTIL +#include +#endif + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Linked list of RAID arrays. */ +static struct grub_raid_array *array_list; +grub_raid5_recover_func_t grub_raid5_recover_func; +grub_raid6_recover_func_t grub_raid6_recover_func; + + +static char +grub_is_array_readable (struct grub_raid_array *array) +{ + switch (array->level) + { + case 0: + if (array->nr_devs == array->total_devs) + return 1; + break; + + case 1: + if (array->nr_devs >= 1) + return 1; + break; + + case 4: + case 5: + case 6: + case 10: + { + unsigned int n; + + if (array->level == 10) + { + n = array->layout & 0xFF; + if (n == 1) + n = (array->layout >> 8) & 0xFF; + + n--; + } + else + n = array->level / 3; + + if (array->nr_devs >= array->total_devs - n) + return 1; + + break; + } + } + + return 0; +} + +static int +grub_raid_iterate (int (*hook) (const char *name)) +{ + struct grub_raid_array *array; + + for (array = array_list; array != NULL; array = array->next) + { + if (grub_is_array_readable (array)) + if (hook (array->name)) + return 1; + } + + return 0; +} + +#ifdef GRUB_UTIL +static grub_disk_memberlist_t +grub_raid_memberlist (grub_disk_t disk) +{ + struct grub_raid_array *array = disk->data; + grub_disk_memberlist_t list = NULL, tmp; + unsigned int i; + + for (i = 0; i < array->total_devs; i++) + if (array->members[i].device) + { + tmp = grub_malloc (sizeof (*tmp)); + tmp->disk = array->members[i].device; + tmp->next = list; + list = tmp; + } + + return list; +} + +static const char * +grub_raid_getname (struct grub_disk *disk) +{ + struct grub_raid_array *array = disk->data; + + return array->driver->name; +} +#endif + +static inline int +ascii2hex (char c) +{ + if (c >= '0' && c <= '9') + return c - '0'; + if (c >= 'a' && c <= 'f') + return c - 'a' + 10; + if (c >= 'A' && c <= 'F') + return c - 'A' + 10; + return 0; +} + +static grub_err_t +grub_raid_open (const char *name, grub_disk_t disk) +{ + struct grub_raid_array *array; + unsigned n; + + if (grub_memcmp (name, "mduuid/", sizeof ("mduuid/") - 1) == 0) + { + const char *uuidstr = name + sizeof ("mduuid/") - 1; + grub_size_t uuid_len = grub_strlen (uuidstr) / 2; + grub_uint8_t uuidbin[uuid_len]; + unsigned i; + for (i = 0; i < uuid_len; i++) + uuidbin[i] = ascii2hex (uuidstr[2 * i + 1]) + | (ascii2hex (uuidstr[2 * i]) << 4); + + for (array = array_list; array != NULL; array = array->next) + { + if (uuid_len == (unsigned) array->uuid_len + && grub_memcmp (uuidbin, array->uuid, uuid_len) == 0) + if (grub_is_array_readable (array)) + break; + } + } + else + for (array = array_list; array != NULL; array = array->next) + { + if (!grub_strcmp (array->name, name)) + if (grub_is_array_readable (array)) + break; + } + + if (!array) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "unknown RAID device %s", + name); + + disk->id = array->number; + disk->data = array; + + grub_dprintf ("raid", "%s: total_devs=%d, disk_size=%lld\n", name, + array->total_devs, (unsigned long long) array->disk_size); + + switch (array->level) + { + case 1: + disk->total_sectors = array->disk_size; + break; + + case 10: + n = array->layout & 0xFF; + if (n == 1) + n = (array->layout >> 8) & 0xFF; + + disk->total_sectors = grub_divmod64 (array->total_devs * + array->disk_size, + n, 0); + break; + + case 0: + case 4: + case 5: + case 6: + n = array->level / 3; + + disk->total_sectors = (array->total_devs - n) * array->disk_size; + break; + } + + grub_dprintf ("raid", "%s: level=%d, total_sectors=%lld\n", name, + array->level, (unsigned long long) disk->total_sectors); + + return 0; +} + +static void +grub_raid_close (grub_disk_t disk __attribute ((unused))) +{ + return; +} + +void +grub_raid_block_xor (char *buf1, const char *buf2, int size) +{ + grub_size_t *p1; + const grub_size_t *p2; + + p1 = (grub_size_t *) buf1; + p2 = (const grub_size_t *) buf2; + size /= GRUB_CPU_SIZEOF_VOID_P; + + while (size) + { + *(p1++) ^= *(p2++); + size--; + } +} + +static grub_err_t +grub_raid_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + struct grub_raid_array *array = disk->data; + grub_err_t err = 0; + + switch (array->level) + { + case 0: + case 1: + case 10: + { + grub_disk_addr_t read_sector, far_ofs; + grub_uint32_t disknr, b, near, far, ofs; + + read_sector = grub_divmod64 (sector, array->chunk_size, &b); + far = ofs = near = 1; + far_ofs = 0; + + if (array->level == 1) + near = array->total_devs; + else if (array->level == 10) + { + near = array->layout & 0xFF; + far = (array->layout >> 8) & 0xFF; + if (array->layout >> 16) + { + ofs = far; + far_ofs = 1; + } + else + far_ofs = grub_divmod64 (array->disk_size, + far * array->chunk_size, 0); + + far_ofs *= array->chunk_size; + } + + read_sector = grub_divmod64 (read_sector * near, array->total_devs, + &disknr); + + ofs *= array->chunk_size; + read_sector *= ofs; + + while (1) + { + grub_size_t read_size; + unsigned int i, j; + + read_size = array->chunk_size - b; + if (read_size > size) + read_size = size; + + for (i = 0; i < near; i++) + { + unsigned int k; + + k = disknr; + for (j = 0; j < far; j++) + { + if (array->members[k].device) + { + if (grub_errno == GRUB_ERR_READ_ERROR) + grub_errno = GRUB_ERR_NONE; + + err = grub_disk_read (array->members[k].device, + array->members[k].start_sector + + read_sector + j * far_ofs + b, + 0, + read_size << GRUB_DISK_SECTOR_BITS, + buf); + if (! err) + break; + else if (err != GRUB_ERR_READ_ERROR) + return err; + } + else + err = grub_error (GRUB_ERR_READ_ERROR, + "disk missing"); + + k++; + if (k == array->total_devs) + k = 0; + } + + if (! err) + break; + + disknr++; + if (disknr == array->total_devs) + { + disknr = 0; + read_sector += ofs; + } + } + + if (err) + return err; + + buf += read_size << GRUB_DISK_SECTOR_BITS; + size -= read_size; + if (! size) + break; + + b = 0; + disknr += (near - i); + while (disknr >= array->total_devs) + { + disknr -= array->total_devs; + read_sector += ofs; + } + } + break; + } + + case 4: + case 5: + case 6: + { + grub_disk_addr_t read_sector; + grub_uint32_t b, p, n, disknr, e; + + /* n = 1 for level 4 and 5, 2 for level 6. */ + n = array->level / 3; + + /* Find the first sector to read. */ + read_sector = grub_divmod64 (sector, array->chunk_size, &b); + read_sector = grub_divmod64 (read_sector, array->total_devs - n, + &disknr); + if (array->level >= 5) + { + grub_divmod64 (read_sector, array->total_devs, &p); + + if (! (array->layout & GRUB_RAID_LAYOUT_RIGHT_MASK)) + p = array->total_devs - 1 - p; + + if (array->layout & GRUB_RAID_LAYOUT_SYMMETRIC_MASK) + { + disknr += p + n; + } + else + { + grub_uint32_t q; + + q = p + (n - 1); + if (q >= array->total_devs) + q -= array->total_devs; + + if (disknr >= p) + disknr += n; + else if (disknr >= q) + disknr += q + 1; + } + + if (disknr >= array->total_devs) + disknr -= array->total_devs; + } + else + p = array->total_devs - n; + + read_sector *= array->chunk_size; + + while (1) + { + grub_size_t read_size; + int next_level; + + read_size = array->chunk_size - b; + if (read_size > size) + read_size = size; + + e = 0; + if (array->members[disknr].device) + { + /* Reset read error. */ + if (grub_errno == GRUB_ERR_READ_ERROR) + grub_errno = GRUB_ERR_NONE; + + err = grub_disk_read (array->members[disknr].device, + array->members[disknr].start_sector + + read_sector + b, 0, + read_size << GRUB_DISK_SECTOR_BITS, + buf); + + if ((err) && (err != GRUB_ERR_READ_ERROR)) + break; + e++; + } + else + err = GRUB_ERR_READ_ERROR; + + if (err) + { + if (array->nr_devs < array->total_devs - n + e) + break; + + grub_errno = GRUB_ERR_NONE; + if (array->level == 6) + { + err = ((grub_raid6_recover_func) ? + (*grub_raid6_recover_func) (array, disknr, p, + buf, read_sector + b, + read_size) : + grub_error (GRUB_ERR_BAD_DEVICE, + "raid6rec is not loaded")); + } + else + { + err = ((grub_raid5_recover_func) ? + (*grub_raid5_recover_func) (array, disknr, + buf, read_sector + b, + read_size) : + grub_error (GRUB_ERR_BAD_DEVICE, + "raid5rec is not loaded")); + } + + if (err) + break; + } + + buf += read_size << GRUB_DISK_SECTOR_BITS; + size -= read_size; + if (! size) + break; + + b = 0; + disknr++; + + if (array->layout & GRUB_RAID_LAYOUT_SYMMETRIC_MASK) + { + if (disknr == array->total_devs) + disknr = 0; + + next_level = (disknr == p); + } + else + { + if (disknr == p) + disknr += n; + + next_level = (disknr >= array->total_devs); + } + + if (next_level) + { + read_sector += array->chunk_size; + + if (array->level >= 5) + { + if (array->layout & GRUB_RAID_LAYOUT_RIGHT_MASK) + p = (p == array->total_devs - 1) ? 0 : p + 1; + else + p = (p == 0) ? array->total_devs - 1 : p - 1; + + if (array->layout & GRUB_RAID_LAYOUT_SYMMETRIC_MASK) + { + disknr = p + n; + if (disknr >= array->total_devs) + disknr -= array->total_devs; + } + else + { + disknr -= array->total_devs; + if (disknr == p) + disknr += n; + } + } + else + disknr = 0; + } + } + } + break; + } + + return err; +} + +static grub_err_t +grub_raid_write (grub_disk_t disk __attribute ((unused)), + grub_disk_addr_t sector __attribute ((unused)), + grub_size_t size __attribute ((unused)), + const char *buf __attribute ((unused))) +{ + return GRUB_ERR_NOT_IMPLEMENTED_YET; +} + +static grub_err_t +insert_array (grub_disk_t disk, struct grub_raid_array *new_array, + grub_disk_addr_t start_sector, const char *scanner_name, + grub_raid_t raid __attribute__ ((unused))) +{ + struct grub_raid_array *array = 0, *p; + + /* See whether the device is part of an array we have already seen a + device from. */ + for (p = array_list; p != NULL; p = p->next) + if ((p->uuid_len == new_array->uuid_len) && + (! grub_memcmp (p->uuid, new_array->uuid, p->uuid_len))) + { + grub_free (new_array->uuid); + array = p; + + /* Do some checks before adding the device to the array. */ + + if (new_array->index >= array->allocated_devs) + { + void *tmp; + unsigned int newnum = 2 * (new_array->index + 1); + tmp = grub_realloc (array->members, newnum + * sizeof (array->members[0])); + if (!tmp) + return grub_errno; + array->members = tmp; + grub_memset (array->members + array->allocated_devs, + 0, (newnum - array->allocated_devs) + * sizeof (array->members[0])); + array->allocated_devs = newnum; + } + + /* FIXME: Check whether the update time of the superblocks are + the same. */ + + if (array->total_devs == array->nr_devs) + /* We found more members of the array than the array + actually has according to its superblock. This shouldn't + happen normally. */ + return grub_error (GRUB_ERR_BAD_DEVICE, + "superfluous RAID member (%d found)", + array->total_devs); + + if (array->members[new_array->index].device != NULL) + /* We found multiple devices with the same number. Again, + this shouldn't happen. */ + return grub_error (GRUB_ERR_BAD_DEVICE, + "found two disks with the index %d for RAID %s", + new_array->index, array->name); + + if (new_array->disk_size < array->disk_size) + array->disk_size = new_array->disk_size; + break; + } + + /* Add an array to the list if we didn't find any. */ + if (!array) + { + array = grub_malloc (sizeof (*array)); + if (!array) + { + grub_free (new_array->uuid); + return grub_errno; + } + + *array = *new_array; + array->nr_devs = 0; +#ifdef GRUB_UTIL + array->driver = raid; +#endif + array->allocated_devs = 32; + if (new_array->index >= array->allocated_devs) + array->allocated_devs = 2 * (new_array->index + 1); + + array->members = grub_zalloc (array->allocated_devs + * sizeof (array->members[0])); + + if (!array->members) + { + grub_free (new_array->uuid); + return grub_errno; + } + + if (! array->name) + { + for (p = array_list; p != NULL; p = p->next) + { + if (p->number == array->number) + break; + } + } + + if (array->name || p) + { + /* The number is already in use, so we need to find a new one. + (Or, in the case of named arrays, the array doesn't have its + own number, but we need one that doesn't clash for use as a key + in the disk cache. */ + int i = array->name ? 0x40000000 : 0; + + while (1) + { + for (p = array_list; p != NULL; p = p->next) + { + if (p->number == i) + break; + } + + if (! p) + { + /* We found an unused number. */ + array->number = i; + break; + } + + i++; + } + } + + /* mdraid 1.x superblocks have only a name stored not a number. + Use it directly as GRUB device. */ + if (! array->name) + { + array->name = grub_xasprintf ("md%d", array->number); + if (! array->name) + { + grub_free (array->members); + grub_free (array->uuid); + grub_free (array); + + return grub_errno; + } + } + else + { + /* Strip off the homehost if present. */ + char *colon = grub_strchr (array->name, ':'); + char *new_name = grub_xasprintf ("md/%s", + colon ? colon + 1 : array->name); + + if (! new_name) + { + grub_free (array->members); + grub_free (array->uuid); + grub_free (array); + + return grub_errno; + } + + grub_free (array->name); + array->name = new_name; + } + + grub_dprintf ("raid", "Found array %s (%s)\n", array->name, + scanner_name); +#ifdef GRUB_UTIL + grub_util_info ("Found array %s (%s)", array->name, + scanner_name); +#endif + + /* Add our new array to the list. */ + array->next = array_list; + array_list = array; + + /* RAID 1 doesn't use a chunksize but code assumes one so set + one. */ + if (array->level == 1) + array->chunk_size = 64; + } + + /* Add the device to the array. */ + array->members[new_array->index].device = disk; + array->members[new_array->index].start_sector = start_sector; + array->nr_devs++; + + return 0; +} + +static grub_raid_t grub_raid_list; + +static void +free_array (void) +{ + struct grub_raid_array *array; + + array = array_list; + while (array) + { + struct grub_raid_array *p; + unsigned int i; + + p = array; + array = array->next; + + for (i = 0; i < p->allocated_devs; i++) + if (p->members[i].device) + grub_disk_close (p->members[i].device); + grub_free (p->members); + + grub_free (p->uuid); + grub_free (p->name); + grub_free (p); + } + + array_list = 0; +} + +void +grub_raid_register (grub_raid_t raid) +{ + auto int hook (const char *name); + int hook (const char *name) + { + grub_disk_t disk; + struct grub_raid_array array; + grub_disk_addr_t start_sector; + + grub_dprintf ("raid", "Scanning for %s RAID devices on disk %s\n", + grub_raid_list->name, name); +#ifdef GRUB_UTIL + grub_util_info ("Scanning for %s RAID devices on disk %s", + grub_raid_list->name, name); +#endif + + disk = grub_disk_open (name); + if (!disk) + return 0; + + if ((disk->total_sectors != GRUB_ULONG_MAX) && + (! grub_raid_list->detect (disk, &array, &start_sector)) && + (! insert_array (disk, &array, start_sector, grub_raid_list->name, + grub_raid_list))) + return 0; + + /* This error usually means it's not raid, no need to display + it. */ + if (grub_errno != GRUB_ERR_OUT_OF_RANGE) + grub_print_error (); + + grub_errno = GRUB_ERR_NONE; + + grub_disk_close (disk); + + return 0; + } + + raid->next = grub_raid_list; + grub_raid_list = raid; + grub_device_iterate (&hook); +} + +void +grub_raid_unregister (grub_raid_t raid) +{ + grub_raid_t *p, q; + + for (p = &grub_raid_list, q = *p; q; p = &(q->next), q = q->next) + if (q == raid) + { + *p = q->next; + break; + } +} + +static struct grub_disk_dev grub_raid_dev = + { + .name = "raid", + .id = GRUB_DISK_DEVICE_RAID_ID, + .iterate = grub_raid_iterate, + .open = grub_raid_open, + .close = grub_raid_close, + .read = grub_raid_read, + .write = grub_raid_write, +#ifdef GRUB_UTIL + .memberlist = grub_raid_memberlist, + .raidname = grub_raid_getname, +#endif + .next = 0 + }; + + +GRUB_MOD_INIT(raid) +{ + grub_disk_dev_register (&grub_raid_dev); +} + +GRUB_MOD_FINI(raid) +{ + grub_disk_dev_unregister (&grub_raid_dev); + free_array (); +} diff --git a/grub-core/disk/raid5_recover.c b/grub-core/disk/raid5_recover.c new file mode 100644 index 0000000..c26d05e --- /dev/null +++ b/grub-core/disk/raid5_recover.c @@ -0,0 +1,76 @@ +/* raid5_recover.c - module to recover from faulty RAID4/5 arrays. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_raid5_recover (struct grub_raid_array *array, int disknr, + char *buf, grub_disk_addr_t sector, int size) +{ + char *buf2; + int i; + + size <<= GRUB_DISK_SECTOR_BITS; + buf2 = grub_malloc (size); + if (!buf2) + return grub_errno; + + grub_memset (buf, 0, size); + + for (i = 0; i < (int) array->total_devs; i++) + { + grub_err_t err; + + if (i == disknr) + continue; + + err = grub_disk_read (array->members[i].device, + array->members[i].start_sector + sector, + 0, size, buf2); + + if (err) + { + grub_free (buf2); + return err; + } + + grub_raid_block_xor (buf, buf2, size); + } + + grub_free (buf2); + + return GRUB_ERR_NONE; +} + +GRUB_MOD_INIT(raid5rec) +{ + grub_raid5_recover_func = grub_raid5_recover; +} + +GRUB_MOD_FINI(raid5rec) +{ + grub_raid5_recover_func = 0; +} diff --git a/grub-core/disk/raid6_recover.c b/grub-core/disk/raid6_recover.c new file mode 100644 index 0000000..25b50eb --- /dev/null +++ b/grub-core/disk/raid6_recover.c @@ -0,0 +1,230 @@ +/* raid6_recover.c - module to recover from faulty RAID6 arrays. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_uint8_t raid6_table1[256][256]; +static grub_uint8_t raid6_table2[256][256]; + +static void +grub_raid_block_mul (grub_uint8_t mul, char *buf, int size) +{ + int i; + grub_uint8_t *p; + + p = (grub_uint8_t *) buf; + for (i = 0; i < size; i++, p++) + *p = raid6_table1[mul][*p]; +} + +static void +grub_raid6_init_table (void) +{ + int i, j; + + for (i = 0; i < 256; i++) + raid6_table1[i][1] = raid6_table1[1][i] = i; + + for (i = 2; i < 256; i++) + for (j = i; j < 256; j++) + { + int n; + grub_uint8_t c; + + n = i >> 1; + + c = raid6_table1[n][j]; + c = (c << 1) ^ ((c & 0x80) ? 0x1d : 0); + if (i & 1) + c ^= j; + + raid6_table1[j][i] = raid6_table1[i][j] = c; + } + + raid6_table2[0][0] = 1; + for (i = 1; i < 256; i++) + raid6_table2[i][i] = raid6_table1[raid6_table2[i - 1][i - 1]][2]; + + for (i = 0; i < 254; i++) + for (j = 0; j < 254; j++) + { + grub_uint8_t c, n; + int k; + + if (i == j) + continue; + + k = i - j; + if (k < 0) + k += 255; + + c = n = raid6_table2[k][k] ^ 1; + for (k = 0; k < 253; k++) + c = raid6_table1[c][n]; + + raid6_table2[i][j] = raid6_table1[raid6_table2[255 - j][255 - j]][c]; + } +} + +static grub_err_t +grub_raid6_recover (struct grub_raid_array *array, int disknr, int p, + char *buf, grub_disk_addr_t sector, int size) +{ + int i, q, pos; + int bad1 = -1, bad2 = -1; + char *pbuf = 0, *qbuf = 0; + + size <<= GRUB_DISK_SECTOR_BITS; + pbuf = grub_zalloc (size); + if (!pbuf) + goto quit; + + qbuf = grub_zalloc (size); + if (!qbuf) + goto quit; + + q = p + 1; + if (q == (int) array->total_devs) + q = 0; + + pos = q + 1; + if (pos == (int) array->total_devs) + pos = 0; + + for (i = 0; i < (int) array->total_devs - 2; i++) + { + if (pos == disknr) + bad1 = i; + else + { + if ((array->members[pos].device) && + (! grub_disk_read (array->members[pos].device, + array->members[i].start_sector + sector, + 0, size, buf))) + { + grub_raid_block_xor (pbuf, buf, size); + grub_raid_block_mul (raid6_table2[i][i], buf, size); + grub_raid_block_xor (qbuf, buf, size); + } + else + { + /* Too many bad devices */ + if (bad2 >= 0) + goto quit; + + bad2 = i; + grub_errno = GRUB_ERR_NONE; + } + } + + pos++; + if (pos == (int) array->total_devs) + pos = 0; + } + + /* Invalid disknr or p */ + if (bad1 < 0) + goto quit; + + if (bad2 < 0) + { + /* One bad device */ + if ((array->members[p].device) && + (! grub_disk_read (array->members[p].device, + array->members[i].start_sector + sector, + 0, size, buf))) + { + grub_raid_block_xor (buf, pbuf, size); + goto quit; + } + + if (! array->members[q].device) + { + grub_error (GRUB_ERR_READ_ERROR, "not enough disk to restore"); + goto quit; + } + + grub_errno = GRUB_ERR_NONE; + if (grub_disk_read (array->members[q].device, + array->members[i].start_sector + sector, 0, size, buf)) + goto quit; + + grub_raid_block_xor (buf, qbuf, size); + grub_raid_block_mul (raid6_table2[255 - bad1][255 - bad1], buf, + size); + } + else + { + /* Two bad devices */ + grub_uint8_t c; + + if ((! array->members[p].device) || (! array->members[q].device)) + { + grub_error (GRUB_ERR_READ_ERROR, "not enough disk to restore"); + goto quit; + } + + if (grub_disk_read (array->members[p].device, + array->members[i].start_sector + sector, + 0, size, buf)) + goto quit; + + grub_raid_block_xor (pbuf, buf, size); + + if (grub_disk_read (array->members[q].device, + array->members[i].start_sector + sector, + 0, size, buf)) + goto quit; + + grub_raid_block_xor (qbuf, buf, size); + + c = raid6_table2[bad2][bad1]; + grub_raid_block_mul (c, qbuf, size); + + c = raid6_table1[raid6_table2[bad2][bad2]][c]; + grub_raid_block_mul (c, pbuf, size); + + grub_raid_block_xor (pbuf, qbuf, size); + grub_memcpy (buf, pbuf, size); + } + +quit: + grub_free (pbuf); + grub_free (qbuf); + + return grub_errno; +} + +GRUB_MOD_INIT(raid6rec) +{ + grub_raid6_init_table (); + grub_raid6_recover_func = grub_raid6_recover; +} + +GRUB_MOD_FINI(raid6rec) +{ + grub_raid6_recover_func = 0; +} diff --git a/grub-core/disk/scsi.c b/grub-core/disk/scsi.c new file mode 100644 index 0000000..25f0e3a --- /dev/null +++ b/grub-core/disk/scsi.c @@ -0,0 +1,606 @@ +/* scsi.c - scsi support. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + + +static grub_scsi_dev_t grub_scsi_dev_list; + +void +grub_scsi_dev_register (grub_scsi_dev_t dev) +{ + dev->next = grub_scsi_dev_list; + grub_scsi_dev_list = dev; +} + +void +grub_scsi_dev_unregister (grub_scsi_dev_t dev) +{ + grub_scsi_dev_t *p, q; + + for (p = &grub_scsi_dev_list, q = *p; q; p = &(q->next), q = q->next) + if (q == dev) + { + *p = q->next; + break; + } +} + + +/* Check result of previous operation. */ +static grub_err_t +grub_scsi_request_sense (grub_scsi_t scsi) +{ + struct grub_scsi_request_sense rs; + struct grub_scsi_request_sense_data rsd; + grub_err_t err; + + rs.opcode = grub_scsi_cmd_request_sense; + rs.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + rs.reserved1 = 0; + rs.reserved2 = 0; + rs.alloc_length = 0x12; /* XXX: Hardcoded for now */ + rs.control = 0; + grub_memset (rs.pad, 0, sizeof(rs.pad)); + + err = scsi->dev->read (scsi, sizeof (rs), (char *) &rs, + sizeof (rsd), (char *) &rsd); + if (err) + return err; + + return GRUB_ERR_NONE; +} +/* Self commenting... */ +static grub_err_t +grub_scsi_test_unit_ready (grub_scsi_t scsi) +{ + struct grub_scsi_test_unit_ready tur; + grub_err_t err; + grub_err_t err_sense; + + tur.opcode = grub_scsi_cmd_test_unit_ready; + tur.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + tur.reserved1 = 0; + tur.reserved2 = 0; + tur.reserved3 = 0; + tur.control = 0; + grub_memset (tur.pad, 0, sizeof(tur.pad)); + + err = scsi->dev->read (scsi, sizeof (tur), (char *) &tur, + 0, NULL); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; + /* err_sense is ignored for now and Request Sense Data also... */ + + if (err) + return err; + + return GRUB_ERR_NONE; +} + +/* Determine if the device is removable and the type of the device + SCSI. */ +static grub_err_t +grub_scsi_inquiry (grub_scsi_t scsi) +{ + struct grub_scsi_inquiry iq; + struct grub_scsi_inquiry_data iqd; + grub_err_t err; + grub_err_t err_sense; + + iq.opcode = grub_scsi_cmd_inquiry; + iq.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + iq.page = 0; + iq.reserved = 0; + iq.alloc_length = 0x24; /* XXX: Hardcoded for now */ + iq.control = 0; + grub_memset (iq.pad, 0, sizeof(iq.pad)); + + err = scsi->dev->read (scsi, sizeof (iq), (char *) &iq, + sizeof (iqd), (char *) &iqd); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; + /* err_sense is ignored for now and Request Sense Data also... */ + + if (err) + return err; + + scsi->devtype = iqd.devtype & GRUB_SCSI_DEVTYPE_MASK; + scsi->removable = iqd.rmb >> GRUB_SCSI_REMOVABLE_BIT; + + return GRUB_ERR_NONE; +} + +/* Read the capacity and block size of SCSI. */ +static grub_err_t +grub_scsi_read_capacity (grub_scsi_t scsi) +{ + struct grub_scsi_read_capacity rc; + struct grub_scsi_read_capacity_data rcd; + grub_err_t err; + grub_err_t err_sense; + + rc.opcode = grub_scsi_cmd_read_capacity; + rc.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + rc.logical_block_addr = 0; + rc.reserved1 = 0; + rc.reserved2 = 0; + rc.PMI = 0; + rc.control = 0; + rc.pad = 0; + + err = scsi->dev->read (scsi, sizeof (rc), (char *) &rc, + sizeof (rcd), (char *) &rcd); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; +/* err_sense is ignored for now and Request Sense Data also... */ + + if (err) + return err; + + scsi->size = grub_be_to_cpu32 (rcd.size); + scsi->blocksize = grub_be_to_cpu32 (rcd.blocksize); + + return GRUB_ERR_NONE; +} + +/* Send a SCSI request for DISK: read SIZE sectors starting with + sector SECTOR to BUF. */ +static grub_err_t +grub_scsi_read10 (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_scsi_t scsi; + struct grub_scsi_read10 rd; + grub_err_t err; + grub_err_t err_sense; + + scsi = disk->data; + + rd.opcode = grub_scsi_cmd_read10; + rd.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + rd.lba = grub_cpu_to_be32 (sector); + rd.reserved = 0; + rd.size = grub_cpu_to_be16 (size); + rd.reserved2 = 0; + rd.pad = 0; + + err = scsi->dev->read (scsi, sizeof (rd), (char *) &rd, size * scsi->blocksize, buf); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; + /* err_sense is ignored for now and Request Sense Data also... */ + + return err; +} + +/* Send a SCSI request for DISK: read SIZE sectors starting with + sector SECTOR to BUF. */ +static grub_err_t +grub_scsi_read12 (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_scsi_t scsi; + struct grub_scsi_read12 rd; + grub_err_t err; + grub_err_t err_sense; + + scsi = disk->data; + + rd.opcode = grub_scsi_cmd_read12; + rd.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + rd.lba = grub_cpu_to_be32 (sector); + rd.size = grub_cpu_to_be32 (size); + rd.reserved = 0; + rd.control = 0; + + err = scsi->dev->read (scsi, sizeof (rd), (char *) &rd, size * scsi->blocksize, buf); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; + /* err_sense is ignored for now and Request Sense Data also... */ + + return err; +} + +#if 0 +/* Send a SCSI request for DISK: write the data stored in BUF to SIZE + sectors starting with SECTOR. */ +static grub_err_t +grub_scsi_write10 (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_scsi_t scsi; + struct grub_scsi_write10 wr; + grub_err_t err; + grub_err_t err_sense; + + scsi = disk->data; + + wr.opcode = grub_scsi_cmd_write10; + wr.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + wr.lba = grub_cpu_to_be32 (sector); + wr.reserved = 0; + wr.size = grub_cpu_to_be16 (size); + wr.reserved2 = 0; + wr.pad = 0; + + err = scsi->dev->write (scsi, sizeof (wr), (char *) &wr, size * scsi->blocksize, buf); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; + /* err_sense is ignored for now and Request Sense Data also... */ + + return err; +} + +/* Send a SCSI request for DISK: write the data stored in BUF to SIZE + sectors starting with SECTOR. */ +static grub_err_t +grub_scsi_write12 (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_scsi_t scsi; + struct grub_scsi_write12 wr; + grub_err_t err; + grub_err_t err_sense; + + scsi = disk->data; + + wr.opcode = grub_scsi_cmd_write12; + wr.lun = scsi->lun << GRUB_SCSI_LUN_SHIFT; + wr.lba = grub_cpu_to_be32 (sector); + wr.size = grub_cpu_to_be32 (size); + wr.reserved = 0; + wr.control = 0; + + err = scsi->dev->write (scsi, sizeof (wr), (char *) &wr, size * scsi->blocksize, buf); + + /* Each SCSI command should be followed by Request Sense. + If not so, many devices STALLs or definitely freezes. */ + err_sense = grub_scsi_request_sense (scsi); + if (err_sense != GRUB_ERR_NONE) + grub_errno = err; + /* err_sense is ignored for now and Request Sense Data also... */ + + return err; +} +#endif + + +static int +grub_scsi_iterate (int (*hook) (const char *name)) +{ + grub_scsi_dev_t p; + + auto int scsi_iterate (int bus, int luns); + + int scsi_iterate (int bus, int luns) + { + int i; + + /* In case of a single LUN, just return `usbX'. */ + if (luns == 1) + { + char *sname; + int ret; + sname = grub_xasprintf ("%s%d", p->name, bus); + if (!sname) + return 1; + ret = hook (sname); + grub_free (sname); + return ret; + } + + /* In case of multiple LUNs, every LUN will get a prefix to + distinguish it. */ + for (i = 0; i < luns; i++) + { + char *sname; + int ret; + sname = grub_xasprintf ("%s%d%c", p->name, bus, 'a' + i); + if (!sname) + return 1; + ret = hook (sname); + grub_free (sname); + if (ret) + return 1; + } + return 0; + } + + for (p = grub_scsi_dev_list; p; p = p->next) + if (p->iterate && (p->iterate) (scsi_iterate)) + return 1; + + return 0; +} + +static grub_err_t +grub_scsi_open (const char *name, grub_disk_t disk) +{ + grub_scsi_dev_t p; + grub_scsi_t scsi; + grub_err_t err; + int lun, bus; + grub_uint64_t maxtime; + const char *nameend; + + nameend = name + grub_strlen (name) - 1; + /* Try to detect a LUN ('a'-'z'), otherwise just use the first + LUN. */ + if (nameend >= name && *nameend >= 'a' && *nameend <= 'z') + { + lun = *nameend - 'a'; + nameend--; + } + else + lun = 0; + + while (nameend >= name && grub_isdigit (*nameend)) + nameend--; + + if (!nameend[1] || !grub_isdigit (nameend[1])) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a SCSI disk"); + + bus = grub_strtoul (nameend + 1, 0, 0); + + scsi = grub_malloc (sizeof (*scsi)); + if (! scsi) + return grub_errno; + + for (p = grub_scsi_dev_list; p; p = p->next) + { + if (grub_strncmp (p->name, name, nameend - name) != 0) + continue; + + if (p->open (bus, scsi)) + continue; + + disk->id = grub_make_scsi_id (p->id, bus, lun); + disk->data = scsi; + scsi->dev = p; + scsi->lun = lun; + scsi->bus = bus; + + grub_dprintf ("scsi", "dev opened\n"); + + err = grub_scsi_inquiry (scsi); + if (err) + { + grub_free (scsi); + grub_dprintf ("scsi", "inquiry failed\n"); + return err; + } + + grub_dprintf ("scsi", "inquiry: devtype=0x%02x removable=%d\n", + scsi->devtype, scsi->removable); + + /* Try to be conservative about the device types + supported. */ + if (scsi->devtype != grub_scsi_devtype_direct + && scsi->devtype != grub_scsi_devtype_cdrom) + { + grub_free (scsi); + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "unknown SCSI device"); + } + + /* According to USB MS tests specification, issue Test Unit Ready + * until OK */ + maxtime = grub_get_time_ms () + 5000; /* It is safer value */ + do + { + /* Timeout is necessary - for example in case when we have + * universal card reader with more LUNs and we have only + * one card inserted (or none), so only one LUN (or none) + * will be ready - and we want not to hang... */ + if (grub_get_time_ms () > maxtime) + { + err = GRUB_ERR_READ_ERROR; + grub_free (scsi); + grub_dprintf ("scsi", "LUN is not ready - timeout\n"); + return err; + } + err = grub_scsi_test_unit_ready (scsi); + } + while (err == GRUB_ERR_READ_ERROR); + /* Reset grub_errno ! + * It is set to some error code in loop before... */ + grub_errno = GRUB_ERR_NONE; + + /* Read capacity of media */ + err = grub_scsi_read_capacity (scsi); + if (err) + { + grub_free (scsi); + grub_dprintf ("scsi", "READ CAPACITY failed\n"); + return err; + } + + /* SCSI blocks can be something else than 512, although GRUB + wants 512 byte blocks. */ + disk->total_sectors = ((grub_uint64_t)scsi->size + * (grub_uint64_t)scsi->blocksize) + >> GRUB_DISK_SECTOR_BITS; + + grub_dprintf ("scsi", "blocks=%u, blocksize=%u\n", + scsi->size, scsi->blocksize); + grub_dprintf ("scsi", "Disk total 512 sectors = %llu\n", + (unsigned long long) disk->total_sectors); + + return GRUB_ERR_NONE; + } + + grub_free (scsi); + + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a SCSI disk"); +} + +static void +grub_scsi_close (grub_disk_t disk) +{ + grub_scsi_t scsi; + + scsi = disk->data; + if (scsi->dev->close) + scsi->dev->close (scsi); + grub_free (scsi); +} + +static grub_err_t +grub_scsi_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + grub_scsi_t scsi; + + scsi = disk->data; + + /* SCSI sectors are variable in size. GRUB uses 512 byte + sectors. */ + if (scsi->blocksize != GRUB_DISK_SECTOR_SIZE) + { + unsigned spb = scsi->blocksize >> GRUB_DISK_SECTOR_BITS; + if (spb == 0 || (scsi->blocksize & (GRUB_DISK_SECTOR_SIZE - 1)) != 0) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unsupported SCSI block size"); + + grub_uint32_t sector_mod = 0; + sector = grub_divmod64 (sector, spb, §or_mod); + + if (! (sector_mod == 0 && size % spb == 0)) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unaligned SCSI read not supported"); + + size /= spb; + } + + /* Depending on the type, select a read function. */ + switch (scsi->devtype) + { + case grub_scsi_devtype_direct: + return grub_scsi_read10 (disk, sector, size, buf); + + case grub_scsi_devtype_cdrom: + return grub_scsi_read12 (disk, sector, size, buf); + } + + /* XXX: Never reached. */ + return GRUB_ERR_NONE; + +#if 0 /* Workaround - it works - but very slowly, from some reason + * unknown to me (specially on OHCI). Do not use it. */ + /* Split transfer requests to device sector size because */ + /* some devices are not able to transfer more than 512-1024 bytes */ + grub_err_t err = GRUB_ERR_NONE; + + for ( ; size; size--) + { + /* Depending on the type, select a read function. */ + switch (scsi->devtype) + { + case grub_scsi_devtype_direct: + err = grub_scsi_read10 (disk, sector, 1, buf); + break; + + case grub_scsi_devtype_cdrom: + err = grub_scsi_read12 (disk, sector, 1, buf); + break; + + default: /* This should not happen */ + return GRUB_ERR_READ_ERROR; + } + if (err) + return err; + sector++; + buf += scsi->blocksize; + } + + return err; +#endif +} + +static grub_err_t +grub_scsi_write (grub_disk_t disk __attribute((unused)), + grub_disk_addr_t sector __attribute((unused)), + grub_size_t size __attribute((unused)), + const char *buf __attribute((unused))) +{ +#if 0 + /* XXX: Not tested yet! */ + + /* XXX: This should depend on the device type? */ + return grub_scsi_write10 (disk, sector, size, buf); +#endif + return GRUB_ERR_NOT_IMPLEMENTED_YET; +} + + +static struct grub_disk_dev grub_scsi_dev = + { + .name = "scsi", + .id = GRUB_DISK_DEVICE_SCSI_ID, + .iterate = grub_scsi_iterate, + .open = grub_scsi_open, + .close = grub_scsi_close, + .read = grub_scsi_read, + .write = grub_scsi_write, + .next = 0 + }; + +GRUB_MOD_INIT(scsi) +{ + grub_disk_dev_register (&grub_scsi_dev); +} + +GRUB_MOD_FINI(scsi) +{ + grub_disk_dev_unregister (&grub_scsi_dev); +} diff --git a/grub-core/disk/usbms.c b/grub-core/disk/usbms.c new file mode 100644 index 0000000..2f1dbd4 --- /dev/null +++ b/grub-core/disk/usbms.c @@ -0,0 +1,441 @@ +/* usbms.c - USB Mass Storage Support. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_USBMS_DIRECTION_BIT 7 + +/* The USB Mass Storage Command Block Wrapper. */ +struct grub_usbms_cbw +{ + grub_uint32_t signature; + grub_uint32_t tag; + grub_uint32_t transfer_length; + grub_uint8_t flags; + grub_uint8_t lun; + grub_uint8_t length; + grub_uint8_t cbwcb[16]; +} __attribute__ ((packed)); + +struct grub_usbms_csw +{ + grub_uint32_t signature; + grub_uint32_t tag; + grub_uint32_t residue; + grub_uint8_t status; +} __attribute__ ((packed)); + +struct grub_usbms_dev +{ + struct grub_usb_device *dev; + + int luns; + + int config; + int interface; + struct grub_usb_desc_endp *in; + struct grub_usb_desc_endp *out; + + int in_maxsz; + int out_maxsz; +}; +typedef struct grub_usbms_dev *grub_usbms_dev_t; + +/* FIXME: remove limit. */ +#define MAX_USBMS_DEVICES 128 +static grub_usbms_dev_t grub_usbms_devices[MAX_USBMS_DEVICES]; +static int first_available_slot = 0; + +static grub_err_t +grub_usbms_reset (grub_usb_device_t dev, int interface) +{ + grub_usb_err_t u; + u = grub_usb_control_msg (dev, 0x21, 255, 0, interface, 0, 0); + if (u) + return grub_error (GRUB_ERR_IO, "USB error %d", u); + return GRUB_ERR_NONE; +} + +static void +grub_usbms_detach (grub_usb_device_t usbdev, int config, int interface) +{ + unsigned i; + for (i = 0; i < ARRAY_SIZE (grub_usbms_devices); i++) + if (grub_usbms_devices[i] && grub_usbms_devices[i]->dev == usbdev + && grub_usbms_devices[i]->interface == interface + && grub_usbms_devices[i]->config == config) + { + grub_free (grub_usbms_devices[i]); + grub_usbms_devices[i] = 0; + } +} + +static int +grub_usbms_attach (grub_usb_device_t usbdev, int configno, int interfno) +{ + struct grub_usb_desc_if *interf + = usbdev->config[configno].interf[interfno].descif; + int j; + grub_uint8_t luns = 0; + unsigned curnum; + grub_usb_err_t err; + + if (first_available_slot == ARRAY_SIZE (grub_usbms_devices)) + return 0; + + curnum = first_available_slot; + first_available_slot++; + + interf = usbdev->config[configno].interf[interfno].descif; + + if ((interf->subclass != GRUB_USBMS_SUBCLASS_BULK + /* Experimental support of RBC, MMC-2, UFI, SFF-8070i devices */ + && interf->subclass != GRUB_USBMS_SUBCLASS_RBC + && interf->subclass != GRUB_USBMS_SUBCLASS_MMC2 + && interf->subclass != GRUB_USBMS_SUBCLASS_UFI + && interf->subclass != GRUB_USBMS_SUBCLASS_SFF8070 ) + || interf->protocol != GRUB_USBMS_PROTOCOL_BULK) + return 0; + + grub_usbms_devices[curnum] = grub_zalloc (sizeof (struct grub_usbms_dev)); + if (! grub_usbms_devices[curnum]) + return 0; + + grub_usbms_devices[curnum]->dev = usbdev; + grub_usbms_devices[curnum]->interface = interfno; + + grub_dprintf ("usbms", "alive\n"); + + /* Iterate over all endpoints of this interface, at least a + IN and OUT bulk endpoint are required. */ + for (j = 0; j < interf->endpointcnt; j++) + { + struct grub_usb_desc_endp *endp; + endp = &usbdev->config[0].interf[interfno].descendp[j]; + + if ((endp->endp_addr & 128) && (endp->attrib & 3) == 2) + { + /* Bulk IN endpoint. */ + grub_usbms_devices[curnum]->in = endp; + /* Clear Halt is not possible yet! */ + /* grub_usb_clear_halt (usbdev, endp->endp_addr); */ + grub_usbms_devices[curnum]->in_maxsz = endp->maxpacket; + } + else if (!(endp->endp_addr & 128) && (endp->attrib & 3) == 2) + { + /* Bulk OUT endpoint. */ + grub_usbms_devices[curnum]->out = endp; + /* Clear Halt is not possible yet! */ + /* grub_usb_clear_halt (usbdev, endp->endp_addr); */ + grub_usbms_devices[curnum]->out_maxsz = endp->maxpacket; + } + } + + if (!grub_usbms_devices[curnum]->in || !grub_usbms_devices[curnum]->out) + { + grub_free (grub_usbms_devices[curnum]); + grub_usbms_devices[curnum] = 0; + return 0; + } + + grub_dprintf ("usbms", "alive\n"); + + /* XXX: Activate the first configuration. */ + grub_usb_set_configuration (usbdev, 1); + + /* Query the amount of LUNs. */ + err = grub_usb_control_msg (usbdev, 0xA1, 254, 0, interfno, 1, (char *) &luns); + + if (err) + { + /* In case of a stall, clear the stall. */ + if (err == GRUB_USB_ERR_STALL) + { + grub_usb_clear_halt (usbdev, grub_usbms_devices[curnum]->in->endp_addr); + grub_usb_clear_halt (usbdev, grub_usbms_devices[curnum]->out->endp_addr); + } + /* Just set the amount of LUNs to one. */ + grub_errno = GRUB_ERR_NONE; + grub_usbms_devices[curnum]->luns = 1; + } + else + /* luns = 0 means one LUN with ID 0 present ! */ + /* We get from device not number of LUNs but highest + * LUN number. LUNs are numbered from 0, + * i.e. number of LUNs is luns+1 ! */ + grub_usbms_devices[curnum]->luns = luns + 1; + + grub_dprintf ("usbms", "alive\n"); + + usbdev->config[configno].interf[interfno].detach_hook = grub_usbms_detach; + +#if 0 /* All this part should be probably deleted. + * This make trouble on some devices if they are not in + * Phase Error state - and there they should be not in such state... + * Bulk only mass storage reset procedure should be used only + * on place and in time when it is really necessary. */ + /* Reset recovery procedure */ + /* Bulk-Only Mass Storage Reset, after the reset commands + will be accepted. */ + grub_usbms_reset (usbdev, i); + grub_usb_clear_halt (usbdev, usbms->in->endp_addr); + grub_usb_clear_halt (usbdev, usbms->out->endp_addr); +#endif + + return 1; +} + + + +static int +grub_usbms_iterate (int (*hook) (int bus, int luns)) +{ + unsigned i; + + grub_usb_poll_devices (); + + for (i = 0; i < ARRAY_SIZE (grub_usbms_devices); i++) + if (grub_usbms_devices[i]) + { + if (hook (i, grub_usbms_devices[i]->luns)) + return 1; + } + + return 0; +} + +static grub_err_t +grub_usbms_transfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, + grub_size_t size, char *buf, int read_write) +{ + struct grub_usbms_cbw cbw; + grub_usbms_dev_t dev = (grub_usbms_dev_t) scsi->data; + struct grub_usbms_csw status; + static grub_uint32_t tag = 0; + grub_usb_err_t err = GRUB_USB_ERR_NONE; + grub_usb_err_t errCSW = GRUB_USB_ERR_NONE; + int retrycnt = 3 + 1; + + retry: + retrycnt--; + if (retrycnt == 0) + return grub_error (GRUB_ERR_IO, "USB Mass Storage stalled"); + + /* Setup the request. */ + grub_memset (&cbw, 0, sizeof (cbw)); + cbw.signature = grub_cpu_to_le32 (0x43425355); + cbw.tag = tag++; + cbw.transfer_length = grub_cpu_to_le32 (size); + cbw.flags = (!read_write) << GRUB_USBMS_DIRECTION_BIT; + cbw.lun = scsi->lun; /* In USB MS CBW are LUN bits on another place than in SCSI CDB, both should be set correctly. */ + cbw.length = cmdsize; + grub_memcpy (cbw.cbwcb, cmd, cmdsize); + + /* Debug print of CBW content. */ + grub_dprintf ("usb", "CBW: sign=0x%08x tag=0x%08x len=0x%08x\n", + cbw.signature, cbw.tag, cbw.transfer_length); + grub_dprintf ("usb", "CBW: flags=0x%02x lun=0x%02x CB_len=0x%02x\n", + cbw.flags, cbw.lun, cbw.length); + grub_dprintf ("usb", "CBW: cmd:\n %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n", + cbw.cbwcb[ 0], cbw.cbwcb[ 1], cbw.cbwcb[ 2], cbw.cbwcb[ 3], + cbw.cbwcb[ 4], cbw.cbwcb[ 5], cbw.cbwcb[ 6], cbw.cbwcb[ 7], + cbw.cbwcb[ 8], cbw.cbwcb[ 9], cbw.cbwcb[10], cbw.cbwcb[11], + cbw.cbwcb[12], cbw.cbwcb[13], cbw.cbwcb[14], cbw.cbwcb[15]); + + /* Write the request. + * XXX: Error recovery is maybe still not fully correct. */ + err = grub_usb_bulk_write (dev->dev, dev->out->endp_addr, + sizeof (cbw), (char *) &cbw); + if (err) + { + if (err == GRUB_USB_ERR_STALL) + { + grub_usb_clear_halt (dev->dev, dev->out->endp_addr); + goto CheckCSW; + } + return grub_error (GRUB_ERR_IO, "USB Mass Storage request failed"); + } + + /* Read/write the data, (maybe) according to specification. */ + if (size && (read_write == 0)) + { + err = grub_usb_bulk_read (dev->dev, dev->in->endp_addr, size, buf); + grub_dprintf ("usb", "read: %d %d\n", err, GRUB_USB_ERR_STALL); + if (err) + { + if (err == GRUB_USB_ERR_STALL) + grub_usb_clear_halt (dev->dev, dev->in->endp_addr); + goto CheckCSW; + } + /* Debug print of received data. */ + grub_dprintf ("usb", "buf:\n"); + if (size <= 64) + { + unsigned i; + for (i = 0; i < size; i++) + grub_dprintf ("usb", "0x%02x: 0x%02x\n", i, buf[i]); + } + else + grub_dprintf ("usb", "Too much data for debug print...\n"); + } + else if (size) + { + err = grub_usb_bulk_write (dev->dev, dev->out->endp_addr, size, buf); + grub_dprintf ("usb", "write: %d %d\n", err, GRUB_USB_ERR_STALL); + grub_dprintf ("usb", "First 16 bytes of sent data:\n %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n", + buf[ 0], buf[ 1], buf[ 2], buf[ 3], + buf[ 4], buf[ 5], buf[ 6], buf[ 7], + buf[ 8], buf[ 9], buf[10], buf[11], + buf[12], buf[13], buf[14], buf[15]); + if (err) + { + if (err == GRUB_USB_ERR_STALL) + grub_usb_clear_halt (dev->dev, dev->out->endp_addr); + goto CheckCSW; + } + /* Debug print of sent data. */ + if (size <= 256) + { + unsigned i; + for (i=0; idev, dev->in->endp_addr, + sizeof (status), (char *) &status); + if (errCSW) + { + grub_usb_clear_halt (dev->dev, dev->in->endp_addr); + errCSW = grub_usb_bulk_read (dev->dev, dev->in->endp_addr, + sizeof (status), (char *) &status); + if (errCSW) + { /* Bulk-only reset device. */ + grub_dprintf ("usb", "Bulk-only reset device - errCSW\n"); + grub_usbms_reset (dev->dev, dev->interface); + grub_usb_clear_halt (dev->dev, dev->in->endp_addr); + grub_usb_clear_halt (dev->dev, dev->out->endp_addr); + goto retry; + } + } + + /* Debug print of CSW content. */ + grub_dprintf ("usb", "CSW: sign=0x%08x tag=0x%08x resid=0x%08x\n", + status.signature, status.tag, status.residue); + grub_dprintf ("usb", "CSW: status=0x%02x\n", status.status); + + /* If phase error or not valid signature, do bulk-only reset device. */ + if ((status.status == 2) || + (status.signature != grub_cpu_to_le32(0x53425355))) + { /* Bulk-only reset device. */ + grub_dprintf ("usb", "Bulk-only reset device - bad status\n"); + grub_usbms_reset (dev->dev, dev->interface); + grub_usb_clear_halt (dev->dev, dev->in->endp_addr); + grub_usb_clear_halt (dev->dev, dev->out->endp_addr); + + goto retry; + } + + /* If "command failed" status or data transfer failed -> error */ + if ((status.status || err) && !read_write) + return grub_error (GRUB_ERR_READ_ERROR, + "error communication with USB Mass Storage device"); + else if ((status.status || err) && read_write) + return grub_error (GRUB_ERR_WRITE_ERROR, + "error communication with USB Mass Storage device"); + + return GRUB_ERR_NONE; +} + + +static grub_err_t +grub_usbms_read (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, + grub_size_t size, char *buf) +{ + return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 0); +} + +static grub_err_t +grub_usbms_write (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd, + grub_size_t size, char *buf) +{ + return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 1); +} + +static grub_err_t +grub_usbms_open (int devnum, struct grub_scsi *scsi) +{ + grub_usb_poll_devices (); + + if (!grub_usbms_devices[devnum]) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "unknown USB Mass Storage device"); + + scsi->data = grub_usbms_devices[devnum]; + scsi->luns = grub_usbms_devices[devnum]->luns; + + return GRUB_ERR_NONE; +} + +static struct grub_scsi_dev grub_usbms_dev = + { + .name = "usb", + .id = GRUB_SCSI_SUBSYSTEM_USBMS, + .iterate = grub_usbms_iterate, + .open = grub_usbms_open, + .read = grub_usbms_read, + .write = grub_usbms_write + }; + +static struct grub_usb_attach_desc attach_hook = +{ + .class = GRUB_USB_CLASS_MASS_STORAGE, + .hook = grub_usbms_attach +}; + +GRUB_MOD_INIT(usbms) +{ + grub_usb_register_attach_hook_class (&attach_hook); + grub_scsi_dev_register (&grub_usbms_dev); +} + +GRUB_MOD_FINI(usbms) +{ + unsigned i; + for (i = 0; i < ARRAY_SIZE (grub_usbms_devices); i++) + { + grub_usbms_devices[i]->dev->config[grub_usbms_devices[i]->config] + .interf[grub_usbms_devices[i]->interface].detach_hook = 0; + grub_usbms_devices[i]->dev->config[grub_usbms_devices[i]->config] + .interf[grub_usbms_devices[i]->interface].attached = 0; + } + grub_usb_unregister_attach_hook_class (&attach_hook); + grub_scsi_dev_unregister (&grub_usbms_dev); +} diff --git a/grub-core/efiemu/i386/coredetect.c b/grub-core/efiemu/i386/coredetect.c new file mode 100644 index 0000000..975c4aa --- /dev/null +++ b/grub-core/efiemu/i386/coredetect.c @@ -0,0 +1,59 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +#define cpuid(num,a,b,c,d) \ + asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \ + : "=a" (a), "=r" (b), "=c" (c), "=d" (d) \ + : "0" (num)) + +#define bit_LM (1 << 29) + +char * +grub_efiemu_get_default_core_name (void) +{ + + unsigned int eax, ebx, ecx, edx; + unsigned int max_level; + unsigned int ext_level; + + /* See if we can use cpuid. */ + asm volatile ("pushfl; pushfl; popl %0; movl %0,%1; xorl %2,%0;" + "pushl %0; popfl; pushfl; popl %0; popfl" + : "=&r" (eax), "=&r" (ebx) + : "i" (0x00200000)); + if (((eax ^ ebx) & 0x00200000) == 0) + return "efiemu32.o"; + + /* Check the highest input value for eax. */ + cpuid (0, eax, ebx, ecx, edx); + /* We only look at the first four characters. */ + max_level = eax; + if (max_level == 0) + return "efiemu32.o"; + + cpuid (0x80000000, eax, ebx, ecx, edx); + ext_level = eax; + if (ext_level < 0x80000000) + return "efiemu32.o"; + + cpuid (0x80000001, eax, ebx, ecx, edx); + return (edx & bit_LM) ? "efiemu64.o" : "efiemu32.o"; +} diff --git a/grub-core/efiemu/i386/loadcore32.c b/grub-core/efiemu/i386/loadcore32.c new file mode 100644 index 0000000..24b63ec --- /dev/null +++ b/grub-core/efiemu/i386/loadcore32.c @@ -0,0 +1,114 @@ +/* i386 CPU-specific part of loadcore.c for 32-bit mode */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* Check if EHDR is a valid ELF header. */ +int +grub_arch_efiemu_check_header32 (void *ehdr) +{ + Elf32_Ehdr *e = ehdr; + + /* Check the magic numbers. */ + return (e->e_ident[EI_CLASS] == ELFCLASS32 + && e->e_ident[EI_DATA] == ELFDATA2LSB + && e->e_machine == EM_386); +} + +/* Relocate symbols. */ +grub_err_t +grub_arch_efiemu_relocate_symbols32 (grub_efiemu_segment_t segs, + struct grub_efiemu_elf_sym *elfsyms, + void *ehdr) +{ + unsigned i; + Elf32_Ehdr *e = ehdr; + Elf32_Shdr *s; + grub_err_t err; + + grub_dprintf ("efiemu", "relocating symbols %d %d\n", + e->e_shoff, e->e_shnum); + + for (i = 0, s = (Elf32_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf32_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_REL) + { + grub_efiemu_segment_t seg; + grub_dprintf ("efiemu", "shtrel\n"); + + /* Find the target segment. */ + for (seg = segs; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf32_Rel *rel, *max; + + for (rel = (Elf32_Rel *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + { + Elf32_Word *addr; + struct grub_efiemu_elf_sym sym; + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr = (Elf32_Word *) + ((char *) grub_efiemu_mm_obtain_request (seg->handle) + + seg->off + rel->r_offset); + sym = elfsyms[ELF32_R_SYM (rel->r_info)]; + + switch (ELF32_R_TYPE (rel->r_info)) + { + case R_386_32: + if ((err = grub_efiemu_write_value + (addr, sym.off + *addr, sym.handle, 0, + seg->ptv_rel_needed, sizeof (grub_uint32_t)))) + return err; + + break; + + case R_386_PC32: + if ((err = grub_efiemu_write_value + (addr, sym.off + *addr - rel->r_offset + - seg->off, sym.handle, seg->handle, + seg->ptv_rel_needed, sizeof (grub_uint32_t)))) + return err; + break; + default: + return grub_error (GRUB_ERR_BAD_OS, + "unrecognised relocation"); + } + } + } + } + + return GRUB_ERR_NONE; +} + + diff --git a/grub-core/efiemu/i386/loadcore64.c b/grub-core/efiemu/i386/loadcore64.c new file mode 100644 index 0000000..a692790 --- /dev/null +++ b/grub-core/efiemu/i386/loadcore64.c @@ -0,0 +1,120 @@ +/* i386 CPU-specific part of loadcore.c for 32-bit mode */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* Check if EHDR is a valid ELF header. */ +int +grub_arch_efiemu_check_header64 (void *ehdr) +{ + Elf64_Ehdr *e = ehdr; + + return (e->e_ident[EI_CLASS] == ELFCLASS64 + && e->e_ident[EI_DATA] == ELFDATA2LSB + && e->e_machine == EM_X86_64); +} + +/* Relocate symbols. */ +grub_err_t +grub_arch_efiemu_relocate_symbols64 (grub_efiemu_segment_t segs, + struct grub_efiemu_elf_sym *elfsyms, + void *ehdr) +{ + unsigned i; + Elf64_Ehdr *e = ehdr; + Elf64_Shdr *s; + grub_err_t err; + + for (i = 0, s = (Elf64_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf64_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_RELA) + { + grub_efiemu_segment_t seg; + grub_dprintf ("efiemu", "shtrel\n"); + + /* Find the target segment. */ + for (seg = segs; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf64_Rela *rel, *max; + + for (rel = (Elf64_Rela *) ((char *) e + s->sh_offset), + max = rel + (unsigned long) s->sh_size + / (unsigned long)s->sh_entsize; + rel < max; + rel++) + { + void *addr; + grub_uint32_t *addr32; + grub_uint64_t *addr64; + struct grub_efiemu_elf_sym sym; + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr = + ((char *) grub_efiemu_mm_obtain_request (seg->handle) + + seg->off + rel->r_offset); + addr32 = (grub_uint32_t *) addr; + addr64 = (grub_uint64_t *) addr; + sym = elfsyms[ELF64_R_SYM (rel->r_info)]; + + switch (ELF64_R_TYPE (rel->r_info)) + { + case R_X86_64_64: + if ((err = grub_efiemu_write_value + (addr, *addr64 + rel->r_addend + sym.off, sym.handle, + 0, seg->ptv_rel_needed, sizeof (grub_uint64_t)))) + return err; + break; + + case R_X86_64_PC32: + if ((err = grub_efiemu_write_value + (addr, *addr32 + rel->r_addend + sym.off + - rel->r_offset - seg->off, sym.handle, seg->handle, + seg->ptv_rel_needed, sizeof (grub_uint32_t)))) + return err; + break; + + case R_X86_64_32: + case R_X86_64_32S: + if ((err = grub_efiemu_write_value + (addr, *addr32 + rel->r_addend + sym.off, sym.handle, + 0, seg->ptv_rel_needed, sizeof (grub_uint32_t)))) + return err; + break; + default: + return grub_error (GRUB_ERR_BAD_OS, + "unrecognised relocation"); + } + } + } + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/efiemu/i386/nocfgtables.c b/grub-core/efiemu/i386/nocfgtables.c new file mode 100644 index 0000000..775f1d0 --- /dev/null +++ b/grub-core/efiemu/i386/nocfgtables.c @@ -0,0 +1,30 @@ +/* Register SMBIOS and ACPI tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +grub_err_t +grub_machine_efiemu_init_tables (void) +{ + return GRUB_ERR_NONE; +} diff --git a/grub-core/efiemu/i386/pc/cfgtables.c b/grub-core/efiemu/i386/pc/cfgtables.c new file mode 100644 index 0000000..7b6a40c --- /dev/null +++ b/grub-core/efiemu/i386/pc/cfgtables.c @@ -0,0 +1,75 @@ +/* Register SMBIOS and ACPI tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +grub_err_t +grub_machine_efiemu_init_tables (void) +{ + grub_uint8_t *ptr; + void *table; + grub_err_t err; + grub_efi_guid_t smbios = GRUB_EFI_SMBIOS_TABLE_GUID; + grub_efi_guid_t acpi20 = GRUB_EFI_ACPI_20_TABLE_GUID; + grub_efi_guid_t acpi = GRUB_EFI_ACPI_TABLE_GUID; + + err = grub_efiemu_unregister_configuration_table (smbios); + if (err) + return err; + err = grub_efiemu_unregister_configuration_table (acpi); + if (err) + return err; + err = grub_efiemu_unregister_configuration_table (acpi20); + if (err) + return err; + + table = grub_acpi_get_rsdpv1 (); + if (table) + { + err = grub_efiemu_register_configuration_table (acpi, 0, 0, table); + if (err) + return err; + } + table = grub_acpi_get_rsdpv2 (); + if (table) + { + err = grub_efiemu_register_configuration_table (acpi20, 0, 0, table); + if (err) + return err; + } + + for (ptr = (grub_uint8_t *) 0xf0000; ptr < (grub_uint8_t *) 0x100000; + ptr += 16) + if (grub_memcmp (ptr, "_SM_", 4) == 0 + && grub_byte_checksum (ptr, *(ptr + 5)) == 0) + break; + + if (ptr < (grub_uint8_t *) 0x100000) + { + grub_dprintf ("efiemu", "Registering SMBIOS\n"); + if ((err = grub_efiemu_register_configuration_table (smbios, 0, 0, ptr))) + return err; + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/efiemu/loadcore.c b/grub-core/efiemu/loadcore.c new file mode 100644 index 0000000..edadd45 --- /dev/null +++ b/grub-core/efiemu/loadcore.c @@ -0,0 +1,369 @@ +/* Load runtime image of EFIemu. Functions specific to 32/64-bit mode */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* ELF symbols and their values */ +static struct grub_efiemu_elf_sym *grub_efiemu_elfsyms = 0; +static int grub_efiemu_nelfsyms = 0; + +/* Return the address of a section whose index is N. */ +static grub_err_t +grub_efiemu_get_section_addr (grub_efiemu_segment_t segs, unsigned n, + int *handle, grub_off_t *off) +{ + grub_efiemu_segment_t seg; + + for (seg = segs; seg; seg = seg->next) + if (seg->section == n) + { + *handle = seg->handle; + *off = seg->off; + return GRUB_ERR_NONE; + } + + return grub_error (GRUB_ERR_BAD_OS, "section %d not found", n); +} + +grub_err_t +SUFFIX (grub_efiemu_loadcore_unload) (void) +{ + grub_free (grub_efiemu_elfsyms); + grub_efiemu_elfsyms = 0; + return GRUB_ERR_NONE; +} + +/* Check if EHDR is a valid ELF header. */ +int +SUFFIX (grub_efiemu_check_header) (void *ehdr, grub_size_t size) +{ + Elf_Ehdr *e = ehdr; + + /* Check the header size. */ + if (size < sizeof (Elf_Ehdr)) + return 0; + + /* Check the magic numbers. */ + if (!SUFFIX (grub_arch_efiemu_check_header) (ehdr) + || e->e_ident[EI_MAG0] != ELFMAG0 + || e->e_ident[EI_MAG1] != ELFMAG1 + || e->e_ident[EI_MAG2] != ELFMAG2 + || e->e_ident[EI_MAG3] != ELFMAG3 + || e->e_ident[EI_VERSION] != EV_CURRENT + || e->e_version != EV_CURRENT) + return 0; + + return 1; +} + +/* Load all segments from memory specified by E. */ +static grub_err_t +grub_efiemu_load_segments (grub_efiemu_segment_t segs, const Elf_Ehdr *e) +{ + Elf_Shdr *s; + grub_efiemu_segment_t cur; + + grub_dprintf ("efiemu", "loading segments\n"); + + for (cur=segs; cur; cur = cur->next) + { + s = (Elf_Shdr *)cur->srcptr; + + if ((s->sh_flags & SHF_ALLOC) && s->sh_size) + { + void *addr; + + addr = (grub_uint8_t *) grub_efiemu_mm_obtain_request (cur->handle) + + cur->off; + + switch (s->sh_type) + { + case SHT_PROGBITS: + grub_memcpy (addr, (char *) e + s->sh_offset, s->sh_size); + break; + case SHT_NOBITS: + grub_memset (addr, 0, s->sh_size); + break; + } + } + } + + return GRUB_ERR_NONE; +} + +/* Get a string at offset OFFSET from strtab */ +static char * +grub_efiemu_get_string (unsigned offset, const Elf_Ehdr *e) +{ + unsigned i; + Elf_Shdr *s; + + for (i = 0, s = (Elf_Shdr *)((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *)((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_STRTAB && offset < s->sh_size) + return (char *) e + s->sh_offset + offset; + return 0; +} + +/* Request memory for segments and fill segments info */ +static grub_err_t +grub_efiemu_init_segments (grub_efiemu_segment_t *segs, const Elf_Ehdr *e) +{ + unsigned i; + Elf_Shdr *s; + + for (i = 0, s = (Elf_Shdr *)((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *)((char *) s + e->e_shentsize)) + { + if (s->sh_flags & SHF_ALLOC) + { + grub_efiemu_segment_t seg; + seg = (grub_efiemu_segment_t) grub_malloc (sizeof (*seg)); + if (! seg) + return grub_errno; + + if (s->sh_size) + { + seg->handle + = grub_efiemu_request_memalign + (s->sh_addralign, s->sh_size, + s->sh_flags & SHF_EXECINSTR ? GRUB_EFI_RUNTIME_SERVICES_CODE + : GRUB_EFI_RUNTIME_SERVICES_DATA); + if (seg->handle < 0) + return grub_errno; + seg->off = 0; + } + + /* + .text-physical doesn't need to be relocated when switching to + virtual mode + */ + if (!grub_strcmp (grub_efiemu_get_string (s->sh_name, e), + ".text-physical")) + seg->ptv_rel_needed = 0; + else + seg->ptv_rel_needed = 1; + seg->size = s->sh_size; + seg->section = i; + seg->next = *segs; + seg->srcptr = s; + *segs = seg; + } + } + + return GRUB_ERR_NONE; +} + +/* Count symbols and relocators and allocate/request memory for them */ +static grub_err_t +grub_efiemu_count_symbols (const Elf_Ehdr *e) +{ + unsigned i; + Elf_Shdr *s; + int num = 0; + + /* Symbols */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_OS, "no symbol table"); + + grub_efiemu_nelfsyms = (unsigned) s->sh_size / (unsigned) s->sh_entsize; + grub_efiemu_elfsyms = (struct grub_efiemu_elf_sym *) + grub_malloc (sizeof (struct grub_efiemu_elf_sym) * grub_efiemu_nelfsyms); + + /* Relocators */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_REL || s->sh_type == SHT_RELA) + num += ((unsigned) s->sh_size) / ((unsigned) s->sh_entsize); + + grub_efiemu_request_symbols (num); + + return GRUB_ERR_NONE; +} + +/* Fill grub_efiemu_elfsyms with symbol values */ +static grub_err_t +grub_efiemu_resolve_symbols (grub_efiemu_segment_t segs, Elf_Ehdr *e) +{ + unsigned i; + Elf_Shdr *s; + Elf_Sym *sym; + const char *str; + Elf_Word size, entsize; + + grub_dprintf ("efiemu", "resolving symbols\n"); + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_OS, "no symbol table"); + + sym = (Elf_Sym *) ((char *) e + s->sh_offset); + size = s->sh_size; + entsize = s->sh_entsize; + + s = (Elf_Shdr *) ((char *) e + e->e_shoff + e->e_shentsize * s->sh_link); + str = (char *) e + s->sh_offset; + + for (i = 0; + i < size / entsize; + i++, sym = (Elf_Sym *) ((char *) sym + entsize)) + { + unsigned char type = ELF_ST_TYPE (sym->st_info); + unsigned char bind = ELF_ST_BIND (sym->st_info); + int handle; + grub_off_t off; + grub_err_t err; + const char *name = str + sym->st_name; + grub_efiemu_elfsyms[i].section = sym->st_shndx; + switch (type) + { + case STT_NOTYPE: + /* Resolve a global symbol. */ + if (sym->st_name != 0 && sym->st_shndx == 0) + { + if ((err = grub_efiemu_resolve_symbol (name, &handle, &off))) + return err; + grub_efiemu_elfsyms[i].handle = handle; + grub_efiemu_elfsyms[i].off = off; + } + else + sym->st_value = 0; + break; + + case STT_OBJECT: + if ((err = grub_efiemu_get_section_addr + (segs, sym->st_shndx, &handle, &off))) + return err; + + off += sym->st_value; + if (bind != STB_LOCAL) + if ((err = grub_efiemu_register_symbol (name, handle, off))) + return err; + grub_efiemu_elfsyms[i].handle = handle; + grub_efiemu_elfsyms[i].off = off; + break; + + case STT_FUNC: + if ((err = grub_efiemu_get_section_addr + (segs, sym->st_shndx, &handle, &off))) + return err; + + off += sym->st_value; + if (bind != STB_LOCAL) + if ((err = grub_efiemu_register_symbol (name, handle, off))) + return err; + grub_efiemu_elfsyms[i].handle = handle; + grub_efiemu_elfsyms[i].off = off; + break; + + case STT_SECTION: + if ((err = grub_efiemu_get_section_addr + (segs, sym->st_shndx, &handle, &off))) + { + grub_efiemu_elfsyms[i].handle = 0; + grub_efiemu_elfsyms[i].off = 0; + grub_errno = GRUB_ERR_NONE; + break; + } + + grub_efiemu_elfsyms[i].handle = handle; + grub_efiemu_elfsyms[i].off = off; + break; + + case STT_FILE: + grub_efiemu_elfsyms[i].handle = 0; + grub_efiemu_elfsyms[i].off = 0; + break; + + default: + return grub_error (GRUB_ERR_BAD_MODULE, + "unknown symbol type `%d'", (int) type); + } + } + + return GRUB_ERR_NONE; +} + +/* Load runtime to the memory and request memory for definitive location*/ +grub_err_t +SUFFIX (grub_efiemu_loadcore_init) (void *core, grub_size_t core_size, + grub_efiemu_segment_t *segments) +{ + Elf_Ehdr *e = (Elf_Ehdr *) core; + grub_err_t err; + + if (e->e_type != ET_REL) + return grub_error (GRUB_ERR_BAD_MODULE, "invalid ELF file type"); + + /* Make sure that every section is within the core. */ + if ((grub_size_t) core_size < e->e_shoff + e->e_shentsize * e->e_shnum) + return grub_error (GRUB_ERR_BAD_OS, "ELF sections outside core"); + + if ((err = grub_efiemu_init_segments (segments, core))) + return err; + if ((err = grub_efiemu_count_symbols (core))) + return err; + + grub_efiemu_request_symbols (1); + return GRUB_ERR_NONE; +} + +/* Load runtime definitively */ +grub_err_t +SUFFIX (grub_efiemu_loadcore_load) (void *core, + grub_size_t core_size + __attribute__ ((unused)), + grub_efiemu_segment_t segments) +{ + grub_err_t err; + err = grub_efiemu_load_segments (segments, core); + if (err) + return err; + + err = grub_efiemu_resolve_symbols (segments, core); + if (err) + return err; + + err = SUFFIX (grub_arch_efiemu_relocate_symbols) (segments, + grub_efiemu_elfsyms, + core); + if (err) + return err; + + return GRUB_ERR_NONE; +} diff --git a/grub-core/efiemu/loadcore32.c b/grub-core/efiemu/loadcore32.c new file mode 100644 index 0000000..c1e033b --- /dev/null +++ b/grub-core/efiemu/loadcore32.c @@ -0,0 +1,22 @@ +/* This file contains definitions so that loadcore.c compiles for 32-bit */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define SUFFIX(x) x ## 32 +#define GRUB_TARGET_WORDSIZE 32 +#include "loadcore.c" diff --git a/grub-core/efiemu/loadcore64.c b/grub-core/efiemu/loadcore64.c new file mode 100644 index 0000000..ce7284f --- /dev/null +++ b/grub-core/efiemu/loadcore64.c @@ -0,0 +1,22 @@ +/* This file contains definitions so that loadcore.c compiles for 64-bit */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define SUFFIX(x) x ## 64 +#define GRUB_TARGET_WORDSIZE 64 +#include "loadcore.c" diff --git a/grub-core/efiemu/loadcore_common.c b/grub-core/efiemu/loadcore_common.c new file mode 100644 index 0000000..a4db0ee --- /dev/null +++ b/grub-core/efiemu/loadcore_common.c @@ -0,0 +1,189 @@ +/* Load runtime image of EFIemu. Functions common to 32/64-bit mode */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* Are we in 32 or 64-bit mode?*/ +static grub_efiemu_mode_t grub_efiemu_mode = GRUB_EFIEMU_NOTLOADED; +/* Runtime ELF file */ +static grub_ssize_t efiemu_core_size; +static void *efiemu_core = 0; +/* Linked list of segments */ +static grub_efiemu_segment_t efiemu_segments = 0; + +/* equivalent to sizeof (grub_efi_uintn_t) but taking the mode into account*/ +int +grub_efiemu_sizeof_uintn_t (void) +{ + if (grub_efiemu_mode == GRUB_EFIEMU32) + return 4; + if (grub_efiemu_mode == GRUB_EFIEMU64) + return 8; + return 0; +} + +/* Check the header and set mode */ +static grub_err_t +grub_efiemu_check_header (void *ehdr, grub_size_t size, + grub_efiemu_mode_t *mode) +{ + /* Check the magic numbers. */ + if ((*mode == GRUB_EFIEMU_NOTLOADED || *mode == GRUB_EFIEMU32) + && grub_efiemu_check_header32 (ehdr,size)) + { + *mode = GRUB_EFIEMU32; + return GRUB_ERR_NONE; + } + if ((*mode == GRUB_EFIEMU_NOTLOADED || *mode == GRUB_EFIEMU64) + && grub_efiemu_check_header64 (ehdr,size)) + { + *mode = GRUB_EFIEMU64; + return GRUB_ERR_NONE; + } + return grub_error (GRUB_ERR_BAD_OS, "invalid ELF magic"); +} + +/* Unload segments */ +static int +grub_efiemu_unload_segs (grub_efiemu_segment_t seg) +{ + grub_efiemu_segment_t segn; + for (; seg; seg = segn) + { + segn = seg->next; + grub_efiemu_mm_return_request (seg->handle); + grub_free (seg); + } + return 1; +} + + +grub_err_t +grub_efiemu_loadcore_unload(void) +{ + switch (grub_efiemu_mode) + { + case GRUB_EFIEMU32: + grub_efiemu_loadcore_unload32 (); + break; + + case GRUB_EFIEMU64: + grub_efiemu_loadcore_unload64 (); + break; + + default: + break; + } + + grub_efiemu_mode = GRUB_EFIEMU_NOTLOADED; + + grub_free (efiemu_core); + efiemu_core = 0; + + grub_efiemu_unload_segs (efiemu_segments); + efiemu_segments = 0; + + grub_efiemu_free_syms (); + + return GRUB_ERR_NONE; +} + +/* Load runtime file and do some initial preparations */ +grub_err_t +grub_efiemu_loadcore_init (grub_file_t file) +{ + grub_err_t err; + + efiemu_core_size = grub_file_size (file); + efiemu_core = 0; + efiemu_core = grub_malloc (efiemu_core_size); + if (! efiemu_core) + return grub_errno; + + if (grub_file_read (file, efiemu_core, efiemu_core_size) + != (int) efiemu_core_size) + { + grub_free (efiemu_core); + efiemu_core = 0; + return grub_errno; + } + + if (grub_efiemu_check_header (efiemu_core, efiemu_core_size, + &grub_efiemu_mode)) + { + grub_free (efiemu_core); + efiemu_core = 0; + return GRUB_ERR_BAD_MODULE; + } + + switch (grub_efiemu_mode) + { + case GRUB_EFIEMU32: + if ((err = grub_efiemu_loadcore_init32 (efiemu_core, efiemu_core_size, + &efiemu_segments))) + { + grub_free (efiemu_core); + efiemu_core = 0; + grub_efiemu_mode = GRUB_EFIEMU_NOTLOADED; + return err; + } + break; + + case GRUB_EFIEMU64: + if ((err = grub_efiemu_loadcore_init64 (efiemu_core, efiemu_core_size, + &efiemu_segments))) + { + grub_free (efiemu_core); + efiemu_core = 0; + grub_efiemu_mode = GRUB_EFIEMU_NOTLOADED; + return err; + } + break; + + default: + return grub_error (GRUB_ERR_BAD_OS, "unknown EFI runtime"); + } + return GRUB_ERR_NONE; +} + +grub_err_t +grub_efiemu_loadcore_load (void) +{ + grub_err_t err; + switch (grub_efiemu_mode) + { + case GRUB_EFIEMU32: + if ((err = grub_efiemu_loadcore_load32 (efiemu_core, efiemu_core_size, + efiemu_segments))) + grub_efiemu_loadcore_unload (); + return err; + case GRUB_EFIEMU64: + if ((err = grub_efiemu_loadcore_load64 (efiemu_core, efiemu_core_size, + efiemu_segments))) + grub_efiemu_loadcore_unload (); + return err; + default: + return grub_error (GRUB_ERR_BAD_OS, "unknown EFI runtime"); + } +} diff --git a/grub-core/efiemu/main.c b/grub-core/efiemu/main.c new file mode 100644 index 0000000..7ad3abb --- /dev/null +++ b/grub-core/efiemu/main.c @@ -0,0 +1,334 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* This is an emulation of EFI runtime services. + This allows a more uniform boot on i386 machines. + As it emulates only runtime service it isn't able + to chainload EFI bootloader on non-EFI system. */ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* System table. Two version depending on mode */ +grub_efi_system_table32_t *grub_efiemu_system_table32 = 0; +grub_efi_system_table64_t *grub_efiemu_system_table64 = 0; +/* Modules may need to execute some actions after memory allocation happens */ +static struct grub_efiemu_prepare_hook *efiemu_prepare_hooks = 0; +/* Linked list of configuration tables */ +static struct grub_efiemu_configuration_table *efiemu_config_tables = 0; +static int prepared = 0; + +/* Free all allocated space */ +grub_err_t +grub_efiemu_unload (void) +{ + struct grub_efiemu_configuration_table *cur, *d; + struct grub_efiemu_prepare_hook *curhook, *d2; + grub_efiemu_loadcore_unload (); + + grub_efiemu_mm_unload (); + + for (cur = efiemu_config_tables; cur;) + { + d = cur->next; + if (cur->unload) + cur->unload (cur->data); + grub_free (cur); + cur = d; + } + efiemu_config_tables = 0; + + for (curhook = efiemu_prepare_hooks; curhook;) + { + d2 = curhook->next; + if (curhook->unload) + curhook->unload (curhook->data); + grub_free (curhook); + curhook = d2; + } + efiemu_prepare_hooks = 0; + + prepared = 0; + + return GRUB_ERR_NONE; +} + +/* Remove previously registered table from the list */ +grub_err_t +grub_efiemu_unregister_configuration_table (grub_efi_guid_t guid) +{ + struct grub_efiemu_configuration_table *cur, *prev; + + /* Special treating if head is to remove */ + while (efiemu_config_tables + && !grub_memcmp (&(efiemu_config_tables->guid), &guid, sizeof (guid))) + { + if (efiemu_config_tables->unload) + efiemu_config_tables->unload (efiemu_config_tables->data); + cur = efiemu_config_tables->next; + grub_free (efiemu_config_tables); + efiemu_config_tables = cur; + } + if (!efiemu_config_tables) + return GRUB_ERR_NONE; + + /* Remove from chain */ + for (prev = efiemu_config_tables, cur = prev->next; cur;) + if (grub_memcmp (&(cur->guid), &guid, sizeof (guid)) == 0) + { + if (cur->unload) + cur->unload (cur->data); + prev->next = cur->next; + grub_free (cur); + cur = prev->next; + } + else + { + prev = cur; + cur = cur->next; + } + return GRUB_ERR_NONE; +} + +grub_err_t +grub_efiemu_register_prepare_hook (grub_err_t (*hook) (void *data), + void (*unload) (void *data), + void *data) +{ + struct grub_efiemu_prepare_hook *nhook; + if (! hook) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "you must supply the hook"); + nhook = (struct grub_efiemu_prepare_hook *) grub_malloc (sizeof (*nhook)); + if (! nhook) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, "couldn't prepare hook"); + nhook->hook = hook; + nhook->unload = unload; + nhook->data = data; + nhook->next = efiemu_prepare_hooks; + efiemu_prepare_hooks = nhook; + return GRUB_ERR_NONE; +} + +/* Register a configuration table either supplying the address directly + or with a hook +*/ +grub_err_t +grub_efiemu_register_configuration_table (grub_efi_guid_t guid, + void * (*get_table) (void *data), + void (*unload) (void *data), + void *data) +{ + struct grub_efiemu_configuration_table *tbl; + grub_err_t err; + + if (! get_table && ! data) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "you must set at least get_table or data"); + if ((err = grub_efiemu_unregister_configuration_table (guid))) + return err; + + tbl = (struct grub_efiemu_configuration_table *) grub_malloc (sizeof (*tbl)); + if (! tbl) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, "couldn't register table"); + + tbl->guid = guid; + tbl->get_table = get_table; + tbl->unload = unload; + tbl->data = data; + tbl->next = efiemu_config_tables; + efiemu_config_tables = tbl; + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_efiemu_unload (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *args[] __attribute__ ((unused))) +{ + return grub_efiemu_unload (); +} + +static grub_err_t +grub_cmd_efiemu_prepare (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char *args[] __attribute__ ((unused))) +{ + return grub_efiemu_prepare (); +} + + + +/* Load the runtime from the file FILENAME. */ +static grub_err_t +grub_efiemu_load_file (const char *filename) +{ + grub_file_t file; + grub_err_t err; + + file = grub_file_open (filename); + if (! file) + return grub_errno; + + err = grub_efiemu_mm_init (); + if (err) + { + grub_file_close (file); + grub_efiemu_unload (); + return grub_error (grub_errno, "couldn't init memory management"); + } + + grub_dprintf ("efiemu", "mm initialized\n"); + + err = grub_efiemu_loadcore_init (file); + if (err) + { + grub_file_close (file); + grub_efiemu_unload (); + return err; + } + + grub_file_close (file); + + /* For configuration tables entry in system table. */ + grub_efiemu_request_symbols (1); + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_efiemu_autocore (void) +{ + const char *prefix; + char *filename; + char *suffix; + grub_err_t err; + + if (grub_efiemu_sizeof_uintn_t () != 0) + return GRUB_ERR_NONE; + + prefix = grub_env_get ("prefix"); + + if (! prefix) + return grub_error (GRUB_ERR_FILE_NOT_FOUND, + "couldn't find efiemu core because prefix " + "isn't set"); + + suffix = grub_efiemu_get_default_core_name (); + + filename = grub_xasprintf ("%s/%s", prefix, suffix); + if (! filename) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate temporary space"); + + + err = grub_efiemu_load_file (filename); + grub_free (filename); + if (err) + return err; +#ifndef GRUB_MACHINE_EMU + err = grub_machine_efiemu_init_tables (); + if (err) + return err; +#endif + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_efiemu_prepare (void) +{ + grub_err_t err; + + if (prepared) + return GRUB_ERR_NONE; + + err = grub_efiemu_autocore (); + if (err) + return err; + + grub_dprintf ("efiemu", "Preparing %d-bit efiemu\n", + 8 * grub_efiemu_sizeof_uintn_t ()); + + /* Create NVRAM. */ + grub_efiemu_pnvram (); + + prepared = 1; + + if (grub_efiemu_sizeof_uintn_t () == 4) + return grub_efiemu_prepare32 (efiemu_prepare_hooks, efiemu_config_tables); + else + return grub_efiemu_prepare64 (efiemu_prepare_hooks, efiemu_config_tables); +} + + +static grub_err_t +grub_cmd_efiemu_load (grub_command_t cmd __attribute__ ((unused)), + int argc, char *args[]) +{ + grub_err_t err; + + grub_efiemu_unload (); + + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "filename required"); + + err = grub_efiemu_load_file (args[0]); + if (err) + return err; +#ifndef GRUB_MACHINE_EMU + err = grub_machine_efiemu_init_tables (); + if (err) + return err; +#endif + return GRUB_ERR_NONE; +} + +static grub_command_t cmd_loadcore, cmd_prepare, cmd_unload; + +GRUB_MOD_INIT(efiemu) +{ + cmd_loadcore = grub_register_command ("efiemu_loadcore", + grub_cmd_efiemu_load, + N_("FILE"), + N_("Load and initialize EFI emulator.")); + cmd_prepare = grub_register_command ("efiemu_prepare", + grub_cmd_efiemu_prepare, + 0, + N_("Finalize loading of EFI emulator.")); + cmd_unload = grub_register_command ("efiemu_unload", grub_cmd_efiemu_unload, + 0, + N_("Unload EFI emulator.")); +} + +GRUB_MOD_FINI(efiemu) +{ + grub_unregister_command (cmd_loadcore); + grub_unregister_command (cmd_prepare); + grub_unregister_command (cmd_unload); +} diff --git a/grub-core/efiemu/mm.c b/grub-core/efiemu/mm.c new file mode 100644 index 0000000..3c1dc29 --- /dev/null +++ b/grub-core/efiemu/mm.c @@ -0,0 +1,652 @@ +/* Memory management for efiemu */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +/* + To keep efiemu runtime contiguous this mm is special. + It uses deferred allocation. + In the first stage you may request memory with grub_efiemu_request_memalign + It will give you a handle with which in the second phase you can access your + memory with grub_efiemu_mm_obtain_request (handle). It's guaranteed that + subsequent calls with the same handle return the same result. You can't request any additional memory once you're in the second phase +*/ + +#include +#include +#include +#include +#include +#include + +struct grub_efiemu_memrequest +{ + struct grub_efiemu_memrequest *next; + grub_efi_memory_type_t type; + grub_size_t size; + grub_size_t align_overhead; + int handle; + void *val; +}; +/* Linked list of requested memory. */ +static struct grub_efiemu_memrequest *memrequests = 0; +/* Memory map. */ +static grub_efi_memory_descriptor_t *efiemu_mmap = 0; +/* Pointer to allocated memory */ +static void *resident_memory = 0; +/* Size of requested memory per type */ +static grub_size_t requested_memory[GRUB_EFI_MAX_MEMORY_TYPE]; +/* How many slots is allocated for memory_map and how many are already used */ +static int mmap_reserved_size = 0, mmap_num = 0; + +/* Add a memory region to map*/ +static grub_err_t +grub_efiemu_add_to_mmap (grub_uint64_t start, grub_uint64_t size, + grub_efi_memory_type_t type) +{ + grub_uint64_t page_start, npages; + + /* Extend map if necessary*/ + if (mmap_num >= mmap_reserved_size) + { + efiemu_mmap = (grub_efi_memory_descriptor_t *) + grub_realloc (efiemu_mmap, (++mmap_reserved_size) + * sizeof (grub_efi_memory_descriptor_t)); + if (!efiemu_mmap) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "not enough space for memory map"); + } + + /* Fill slot*/ + page_start = start - (start % GRUB_EFIEMU_PAGESIZE); + npages = (size + (start % GRUB_EFIEMU_PAGESIZE) + GRUB_EFIEMU_PAGESIZE - 1) + / GRUB_EFIEMU_PAGESIZE; + efiemu_mmap[mmap_num].physical_start = page_start; + efiemu_mmap[mmap_num].virtual_start = page_start; + efiemu_mmap[mmap_num].num_pages = npages; + efiemu_mmap[mmap_num].type = type; + mmap_num++; + + return GRUB_ERR_NONE; +} + +/* Request a resident memory of type TYPE of size SIZE aligned at ALIGN + ALIGN must be a divisor of page size (if it's a divisor of 4096 + it should be ok on all platforms) + */ +int +grub_efiemu_request_memalign (grub_size_t align, grub_size_t size, + grub_efi_memory_type_t type) +{ + grub_size_t align_overhead; + struct grub_efiemu_memrequest *ret, *cur, *prev; + /* Check that the request is correct */ + if (type >= GRUB_EFI_MAX_MEMORY_TYPE || type <= GRUB_EFI_LOADER_CODE) + return -2; + + /* Add new size to requested size */ + align_overhead = align - (requested_memory[type]%align); + if (align_overhead == align) + align_overhead = 0; + requested_memory[type] += align_overhead + size; + + /* Remember the request */ + ret = grub_zalloc (sizeof (*ret)); + if (!ret) + return -1; + ret->type = type; + ret->size = size; + ret->align_overhead = align_overhead; + prev = 0; + + /* Add request to the end of the chain. + It should be at the end because otherwise alignment isn't guaranteed */ + for (cur = memrequests; cur; prev = cur, cur = cur->next); + if (prev) + { + ret->handle = prev->handle + 1; + prev->next = ret; + } + else + { + ret->handle = 1; /* Avoid 0 handle*/ + memrequests = ret; + } + return ret->handle; +} + +/* Really allocate the memory */ +static grub_err_t +efiemu_alloc_requests (void) +{ + grub_size_t align_overhead = 0; + grub_uint8_t *curptr, *typestart; + struct grub_efiemu_memrequest *cur; + grub_size_t total_alloc = 0; + unsigned i; + /* Order of memory regions */ + grub_efi_memory_type_t reqorder[] = + { + /* First come regions usable by OS*/ + GRUB_EFI_LOADER_CODE, + GRUB_EFI_LOADER_DATA, + GRUB_EFI_BOOT_SERVICES_CODE, + GRUB_EFI_BOOT_SERVICES_DATA, + GRUB_EFI_CONVENTIONAL_MEMORY, + GRUB_EFI_ACPI_RECLAIM_MEMORY, + + /* Then memory used by runtime */ + /* This way all our regions are in a single block */ + GRUB_EFI_RUNTIME_SERVICES_CODE, + GRUB_EFI_RUNTIME_SERVICES_DATA, + GRUB_EFI_ACPI_MEMORY_NVS, + + /* And then unavailable memory types. This is more for a completeness. + You should double think before allocating memory of any of these types + */ + GRUB_EFI_UNUSABLE_MEMORY, + GRUB_EFI_MEMORY_MAPPED_IO, + GRUB_EFI_MEMORY_MAPPED_IO_PORT_SPACE, + GRUB_EFI_PAL_CODE + }; + + /* Compute total memory needed */ + for (i = 0; i < sizeof (reqorder) / sizeof (reqorder[0]); i++) + { + align_overhead = GRUB_EFIEMU_PAGESIZE + - (requested_memory[reqorder[i]] % GRUB_EFIEMU_PAGESIZE); + if (align_overhead == GRUB_EFIEMU_PAGESIZE) + align_overhead = 0; + total_alloc += requested_memory[reqorder[i]] + align_overhead; + } + + /* Allocate the whole memory in one block */ + resident_memory = grub_memalign (GRUB_EFIEMU_PAGESIZE, total_alloc); + if (!resident_memory) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate resident memory"); + + /* Split the memory into blocks by type */ + curptr = resident_memory; + for (i = 0; i < sizeof (reqorder) / sizeof (reqorder[0]); i++) + { + if (!requested_memory[reqorder[i]]) + continue; + typestart = curptr; + + /* Write pointers to requests */ + for (cur = memrequests; cur; cur = cur->next) + if (cur->type == reqorder[i]) + { + curptr = ((grub_uint8_t *)curptr) + cur->align_overhead; + cur->val = curptr; + curptr = ((grub_uint8_t *)curptr) + cur->size; + } + + /* Ensure that the regions are page-aligned */ + align_overhead = GRUB_EFIEMU_PAGESIZE + - (requested_memory[reqorder[i]] % GRUB_EFIEMU_PAGESIZE); + if (align_overhead == GRUB_EFIEMU_PAGESIZE) + align_overhead = 0; + curptr = ((grub_uint8_t *)curptr) + align_overhead; + + /* Add the region to memory map */ + grub_efiemu_add_to_mmap (PTR_TO_UINT64 (typestart), + curptr - typestart, reqorder[i]); + } + + return GRUB_ERR_NONE; +} + +/* Get a pointer to requested memory from handle */ +void * +grub_efiemu_mm_obtain_request (int handle) +{ + struct grub_efiemu_memrequest *cur; + for (cur = memrequests; cur; cur = cur->next) + if (cur->handle == handle) + return cur->val; + return 0; +} + +/* Get type of requested memory by handle */ +grub_efi_memory_type_t +grub_efiemu_mm_get_type (int handle) +{ + struct grub_efiemu_memrequest *cur; + for (cur = memrequests; cur; cur = cur->next) + if (cur->handle == handle) + return cur->type; + return 0; +} + +/* Free a request */ +void +grub_efiemu_mm_return_request (int handle) +{ + struct grub_efiemu_memrequest *cur, *prev; + + /* Remove head if necessary */ + while (memrequests && memrequests->handle == handle) + { + cur = memrequests->next; + grub_free (memrequests); + memrequests = cur; + } + if (!memrequests) + return; + + /* Remove request from a middle of chain*/ + for (prev = memrequests, cur = prev->next; cur;) + if (cur->handle == handle) + { + prev->next = cur->next; + grub_free (cur); + cur = prev->next; + } + else + { + prev = cur; + cur = prev->next; + } +} + +/* Reserve space for memory map */ +static grub_err_t +grub_efiemu_mmap_init (void) +{ + auto int NESTED_FUNC_ATTR bounds_hook (grub_uint64_t, grub_uint64_t, + grub_memory_type_t); + int NESTED_FUNC_ATTR bounds_hook (grub_uint64_t addr __attribute__ ((unused)), + grub_uint64_t size __attribute__ ((unused)), + grub_memory_type_t type + __attribute__ ((unused))) + { + mmap_reserved_size++; + return 0; + } + + // the place for memory used by efiemu itself + mmap_reserved_size = GRUB_EFI_MAX_MEMORY_TYPE + 1; + +#ifndef GRUB_MACHINE_EMU + grub_machine_mmap_iterate (bounds_hook); +#endif + + return GRUB_ERR_NONE; +} + +/* This is a drop-in replacement of grub_efi_get_memory_map */ +/* Get the memory map as defined in the EFI spec. Return 1 if successful, + return 0 if partial, or return -1 if an error occurs. */ +int +grub_efiemu_get_memory_map (grub_efi_uintn_t *memory_map_size, + grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t *map_key, + grub_efi_uintn_t *descriptor_size, + grub_efi_uint32_t *descriptor_version) +{ + if (!efiemu_mmap) + { + grub_error (GRUB_ERR_INVALID_COMMAND, + "you need to first launch efiemu_prepare"); + return -1; + } + + if (*memory_map_size < mmap_num * sizeof (grub_efi_memory_descriptor_t)) + { + *memory_map_size = mmap_num * sizeof (grub_efi_memory_descriptor_t); + return 0; + } + + *memory_map_size = mmap_num * sizeof (grub_efi_memory_descriptor_t); + grub_memcpy (memory_map, efiemu_mmap, *memory_map_size); + if (descriptor_size) + *descriptor_size = sizeof (grub_efi_memory_descriptor_t); + if (descriptor_version) + *descriptor_version = 1; + if (map_key) + *map_key = 0; + + return 1; +} + +grub_err_t +grub_efiemu_finish_boot_services (grub_efi_uintn_t *memory_map_size, + grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t *map_key, + grub_efi_uintn_t *descriptor_size, + grub_efi_uint32_t *descriptor_version) +{ + int val = grub_efiemu_get_memory_map (memory_map_size, + memory_map, map_key, + descriptor_size, + descriptor_version); + if (val == 1) + return GRUB_ERR_NONE; + if (val == -1) + return grub_errno; + return grub_error (GRUB_ERR_IO, "memory map buffer is too small"); +} + + +/* Free everything */ +grub_err_t +grub_efiemu_mm_unload (void) +{ + struct grub_efiemu_memrequest *cur, *d; + for (cur = memrequests; cur;) + { + d = cur->next; + grub_free (cur); + cur = d; + } + memrequests = 0; + grub_memset (&requested_memory, 0, sizeof (requested_memory)); + grub_free (resident_memory); + resident_memory = 0; + grub_free (efiemu_mmap); + efiemu_mmap = 0; + mmap_reserved_size = mmap_num = 0; + return GRUB_ERR_NONE; +} + +/* This function should be called before doing any requests */ +grub_err_t +grub_efiemu_mm_init (void) +{ + grub_err_t err; + + err = grub_efiemu_mm_unload (); + if (err) + return err; + + grub_efiemu_mmap_init (); + + return GRUB_ERR_NONE; +} + +/* Copy host memory map */ +static grub_err_t +grub_efiemu_mmap_fill (void) +{ + auto int NESTED_FUNC_ATTR fill_hook (grub_uint64_t, grub_uint64_t, + grub_memory_type_t); + int NESTED_FUNC_ATTR fill_hook (grub_uint64_t addr, + grub_uint64_t size, + grub_memory_type_t type) + { + switch (type) + { + case GRUB_MEMORY_AVAILABLE: + return grub_efiemu_add_to_mmap (addr, size, + GRUB_EFI_CONVENTIONAL_MEMORY); + + case GRUB_MEMORY_ACPI: + return grub_efiemu_add_to_mmap (addr, size, + GRUB_EFI_ACPI_RECLAIM_MEMORY); + + case GRUB_MEMORY_NVS: + return grub_efiemu_add_to_mmap (addr, size, + GRUB_EFI_ACPI_MEMORY_NVS); + + default: + grub_printf ("Unknown memory type %d. Assuming unusable\n", type); + case GRUB_MEMORY_RESERVED: + return grub_efiemu_add_to_mmap (addr, size, + GRUB_EFI_UNUSABLE_MEMORY); + } + } + +#ifndef GRUB_MACHINE_EMU + grub_machine_mmap_iterate (fill_hook); +#endif + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_efiemu_mmap_iterate (grub_memory_hook_t hook) +{ + unsigned i; + + for (i = 0; i < (unsigned) mmap_num; i++) + switch (efiemu_mmap[i].type) + { + case GRUB_EFI_RUNTIME_SERVICES_CODE: + hook (efiemu_mmap[i].physical_start, efiemu_mmap[i].num_pages * 4096, + GRUB_MEMORY_CODE); + break; + + case GRUB_EFI_UNUSABLE_MEMORY: + hook (efiemu_mmap[i].physical_start, efiemu_mmap[i].num_pages * 4096, + GRUB_MEMORY_BADRAM); + break; + + case GRUB_EFI_RESERVED_MEMORY_TYPE: + case GRUB_EFI_RUNTIME_SERVICES_DATA: + case GRUB_EFI_MEMORY_MAPPED_IO: + case GRUB_EFI_MEMORY_MAPPED_IO_PORT_SPACE: + case GRUB_EFI_PAL_CODE: + case GRUB_EFI_MAX_MEMORY_TYPE: + hook (efiemu_mmap[i].physical_start, efiemu_mmap[i].num_pages * 4096, + GRUB_MEMORY_RESERVED); + break; + + case GRUB_EFI_LOADER_CODE: + case GRUB_EFI_LOADER_DATA: + case GRUB_EFI_BOOT_SERVICES_CODE: + case GRUB_EFI_BOOT_SERVICES_DATA: + case GRUB_EFI_CONVENTIONAL_MEMORY: + hook (efiemu_mmap[i].physical_start, efiemu_mmap[i].num_pages * 4096, + GRUB_MEMORY_AVAILABLE); + break; + + case GRUB_EFI_ACPI_RECLAIM_MEMORY: + hook (efiemu_mmap[i].physical_start, efiemu_mmap[i].num_pages * 4096, + GRUB_MEMORY_ACPI); + break; + + case GRUB_EFI_ACPI_MEMORY_NVS: + hook (efiemu_mmap[i].physical_start, efiemu_mmap[i].num_pages * 4096, + GRUB_MEMORY_NVS); + break; + } + + return 0; +} + + +/* This function resolves overlapping regions and sorts the memory map + It uses scanline (sweeping) algorithm + */ +static grub_err_t +grub_efiemu_mmap_sort_and_uniq (void) +{ + /* If same page is used by multiple types it's resolved + according to priority + 0 - free memory + 1 - memory immediately usable after ExitBootServices + 2 - memory usable after loading ACPI tables + 3 - efiemu memory + 4 - unusable memory + */ + int priority[GRUB_EFI_MAX_MEMORY_TYPE] = + { + [GRUB_EFI_RESERVED_MEMORY_TYPE] = 4, + [GRUB_EFI_LOADER_CODE] = 1, + [GRUB_EFI_LOADER_DATA] = 1, + [GRUB_EFI_BOOT_SERVICES_CODE] = 1, + [GRUB_EFI_BOOT_SERVICES_DATA] = 1, + [GRUB_EFI_RUNTIME_SERVICES_CODE] = 3, + [GRUB_EFI_RUNTIME_SERVICES_DATA] = 3, + [GRUB_EFI_CONVENTIONAL_MEMORY] = 0, + [GRUB_EFI_UNUSABLE_MEMORY] = 4, + [GRUB_EFI_ACPI_RECLAIM_MEMORY] = 2, + [GRUB_EFI_ACPI_MEMORY_NVS] = 3, + [GRUB_EFI_MEMORY_MAPPED_IO] = 4, + [GRUB_EFI_MEMORY_MAPPED_IO_PORT_SPACE] = 4, + [GRUB_EFI_PAL_CODE] = 4 + }; + + int i, j, k, done; + + /* Scanline events */ + struct grub_efiemu_mmap_scan + { + /* At which memory address*/ + grub_uint64_t pos; + /* 0 = region starts, 1 = region ends */ + int type; + /* Which type of memory region */ + grub_efi_memory_type_t memtype; + }; + struct grub_efiemu_mmap_scan *scanline_events; + struct grub_efiemu_mmap_scan t; + + /* Previous scanline event */ + grub_uint64_t lastaddr; + int lasttype; + /* Current scanline event */ + int curtype; + /* how many regions of given type overlap at current location */ + int present[GRUB_EFI_MAX_MEMORY_TYPE]; + /* Here is stored the resulting memory map*/ + grub_efi_memory_descriptor_t *result; + + /* Initialize variables*/ + grub_memset (present, 0, sizeof (int) * GRUB_EFI_MAX_MEMORY_TYPE); + scanline_events = (struct grub_efiemu_mmap_scan *) + grub_malloc (sizeof (struct grub_efiemu_mmap_scan) * 2 * mmap_num); + + /* Number of chunks can't increase more than by factor of 2 */ + result = (grub_efi_memory_descriptor_t *) + grub_malloc (sizeof (grub_efi_memory_descriptor_t) * 2 * mmap_num); + if (!result || !scanline_events) + { + grub_free (result); + grub_free (scanline_events); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "couldn't allocate space for new memory map"); + } + + /* Register scanline events */ + for (i = 0; i < mmap_num; i++) + { + scanline_events[2 * i].pos = efiemu_mmap[i].physical_start; + scanline_events[2 * i].type = 0; + scanline_events[2 * i].memtype = efiemu_mmap[i].type; + scanline_events[2 * i + 1].pos = efiemu_mmap[i].physical_start + + efiemu_mmap[i].num_pages * GRUB_EFIEMU_PAGESIZE; + scanline_events[2 * i + 1].type = 1; + scanline_events[2 * i + 1].memtype = efiemu_mmap[i].type; + } + + /* Primitive bubble sort. It has complexity O(n^2) but since we're + unlikely to have more than 100 chunks it's probably one of the + fastest for one purpose */ + done = 1; + while (done) + { + done = 0; + for (i = 0; i < 2 * mmap_num - 1; i++) + if (scanline_events[i + 1].pos < scanline_events[i].pos) + { + t = scanline_events[i + 1]; + scanline_events[i + 1] = scanline_events[i]; + scanline_events[i] = t; + done = 1; + } + } + + /* Pointer in resulting memory map */ + j = 0; + lastaddr = scanline_events[0].pos; + lasttype = scanline_events[0].memtype; + for (i = 0; i < 2 * mmap_num; i++) + { + /* Process event */ + if (scanline_events[i].type) + present[scanline_events[i].memtype]--; + else + present[scanline_events[i].memtype]++; + + /* Determine current region type */ + curtype = -1; + for (k = 0; k < GRUB_EFI_MAX_MEMORY_TYPE; k++) + if (present[k] && (curtype == -1 || priority[k] > priority[curtype])) + curtype = k; + + /* Add memory region to resulting map if necessary */ + if ((curtype == -1 || curtype != lasttype) + && lastaddr != scanline_events[i].pos + && lasttype != -1) + { + result[j].virtual_start = result[j].physical_start = lastaddr; + result[j].num_pages = (scanline_events[i].pos - lastaddr) + / GRUB_EFIEMU_PAGESIZE; + result[j].type = lasttype; + + /* We set runtime attribute on pages we need to be mapped */ + result[j].attribute + = (lasttype == GRUB_EFI_RUNTIME_SERVICES_CODE + || lasttype == GRUB_EFI_RUNTIME_SERVICES_DATA) + ? GRUB_EFI_MEMORY_RUNTIME : 0; + grub_dprintf ("efiemu", + "mmap entry: type %d start 0x%llx 0x%llx pages\n", + result[j].type, + result[j].physical_start, result[j].num_pages); + j++; + } + + /* Update last values if necessary */ + if (curtype == -1 || curtype != lasttype) + { + lasttype = curtype; + lastaddr = scanline_events[i].pos; + } + } + + grub_free (scanline_events); + + /* Shrink resulting memory map to really used size and replace efiemu_mmap + by new value */ + grub_free (efiemu_mmap); + efiemu_mmap = grub_realloc (result, j * sizeof (*result)); + return GRUB_ERR_NONE; +} + +/* This function is called to switch from first to second phase */ +grub_err_t +grub_efiemu_mm_do_alloc (void) +{ + grub_err_t err; + + /* Preallocate mmap */ + efiemu_mmap = (grub_efi_memory_descriptor_t *) + grub_malloc (mmap_reserved_size * sizeof (grub_efi_memory_descriptor_t)); + if (!efiemu_mmap) + { + grub_efiemu_unload (); + return grub_error (GRUB_ERR_OUT_OF_MEMORY, "couldn't initialize mmap"); + } + + if ((err = efiemu_alloc_requests ())) + return err; + if ((err = grub_efiemu_mmap_fill ())) + return err; + return grub_efiemu_mmap_sort_and_uniq (); +} diff --git a/grub-core/efiemu/pnvram.c b/grub-core/efiemu/pnvram.c new file mode 100644 index 0000000..e58fce8 --- /dev/null +++ b/grub-core/efiemu/pnvram.c @@ -0,0 +1,280 @@ +/* Export pnvram and some variables for runtime */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Place for final location of variables */ +static int nvram_handle = 0; +static int nvramsize_handle = 0; +static int high_monotonic_count_handle = 0; +static int timezone_handle = 0; +static int accuracy_handle = 0; +static int daylight_handle = 0; + +static grub_size_t nvramsize; + +/* Parse signed value */ +static int +grub_strtosl (const char *arg, char **end, int base) +{ + if (arg[0] == '-') + return -grub_strtoul (arg + 1, end, base); + return grub_strtoul (arg, end, base); +} + +static inline int +hextoval (char c) +{ + if (c >= '0' && c <= '9') + return c - '0'; + if (c >= 'a' && c <= 'z') + return c - 'a' + 10; + if (c >= 'A' && c <= 'Z') + return c - 'A' + 10; + return 0; +} + +static inline grub_err_t +unescape (char *in, char *out, char *outmax, int *len) +{ + char *ptr, *dptr; + dptr = out; + for (ptr = in; *ptr && dptr < outmax; ) + if (*ptr == '%' && ptr[1] && ptr[2]) + { + *dptr = (hextoval (ptr[1]) << 4) | (hextoval (ptr[2])); + ptr += 3; + dptr++; + } + else + { + *dptr = *ptr; + ptr++; + dptr++; + } + if (dptr == outmax) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "too many NVRAM variables for reserved variable space." + " Try increasing EfiEmu.pnvram.size"); + *len = dptr - out; + return 0; +} + +/* Export stuff for efiemu */ +static grub_err_t +nvram_set (void * data __attribute__ ((unused))) +{ + const char *env; + /* Take definitive pointers */ + char *nvram = grub_efiemu_mm_obtain_request (nvram_handle); + grub_uint32_t *nvramsize_def + = grub_efiemu_mm_obtain_request (nvramsize_handle); + grub_uint32_t *high_monotonic_count + = grub_efiemu_mm_obtain_request (high_monotonic_count_handle); + grub_int16_t *timezone + = grub_efiemu_mm_obtain_request (timezone_handle); + grub_uint8_t *daylight + = grub_efiemu_mm_obtain_request (daylight_handle); + grub_uint32_t *accuracy + = grub_efiemu_mm_obtain_request (accuracy_handle); + char *nvramptr; + + auto int iterate_env (struct grub_env_var *var); + int iterate_env (struct grub_env_var *var) + { + char *guid, *attr, *name, *varname; + struct efi_variable *efivar; + int len = 0; + int i; + grub_uint64_t guidcomp; + + if (grub_memcmp (var->name, "EfiEmu.pnvram.", + sizeof ("EfiEmu.pnvram.") - 1) != 0) + return 0; + + guid = var->name + sizeof ("EfiEmu.pnvram.") - 1; + + attr = grub_strchr (guid, '.'); + if (!attr) + return 0; + attr++; + + name = grub_strchr (attr, '.'); + if (!name) + return 0; + name++; + + efivar = (struct efi_variable *) nvramptr; + if (nvramptr - nvram + sizeof (struct efi_variable) > nvramsize) + { + grub_error (GRUB_ERR_OUT_OF_MEMORY, + "too many NVRAM variables for reserved variable space." + " Try increasing EfiEmu.pnvram.size"); + return 1; + } + + nvramptr += sizeof (struct efi_variable); + + efivar->guid.data1 = grub_cpu_to_le32 (grub_strtoul (guid, &guid, 16)); + if (*guid != '-') + return 0; + guid++; + + efivar->guid.data2 = grub_cpu_to_le16 (grub_strtoul (guid, &guid, 16)); + if (*guid != '-') + return 0; + guid++; + + efivar->guid.data3 = grub_cpu_to_le16 (grub_strtoul (guid, &guid, 16)); + if (*guid != '-') + return 0; + guid++; + + guidcomp = grub_strtoull (guid, 0, 16); + for (i = 0; i < 8; i++) + efivar->guid.data4[i] = (guidcomp >> (56 - 8 * i)) & 0xff; + + efivar->attributes = grub_strtoull (attr, 0, 16); + + varname = grub_malloc (grub_strlen (name) + 1); + if (! varname) + return 1; + + if (unescape (name, varname, varname + grub_strlen (name) + 1, &len)) + return 1; + + len = grub_utf8_to_utf16 ((grub_uint16_t *) nvramptr, + (nvramsize - (nvramptr - nvram)) / 2, + (grub_uint8_t *) varname, len, NULL); + + if (len < 0) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "broken UTF-8 in variable name"); + return 1; + } + + nvramptr += 2 * len; + *((grub_uint16_t *) nvramptr) = 0; + nvramptr += 2; + efivar->namelen = 2 * len + 2; + + if (unescape (var->value, nvramptr, nvram + nvramsize, &len)) + { + efivar->namelen = 0; + return 1; + } + + nvramptr += len; + + efivar->size = len; + + return 0; + } + + /* Copy to definitive loaction */ + grub_dprintf ("efiemu", "preparing pnvram\n"); + + env = grub_env_get ("EfiEmu.pnvram.high_monotonic_count"); + *high_monotonic_count = env ? grub_strtoul (env, 0, 0) : 1; + env = grub_env_get ("EfiEmu.pnvram.timezone"); + *timezone = env ? grub_strtosl (env, 0, 0) : GRUB_EFI_UNSPECIFIED_TIMEZONE; + env = grub_env_get ("EfiEmu.pnvram.accuracy"); + *accuracy = env ? grub_strtoul (env, 0, 0) : 50000000; + env = grub_env_get ("EfiEmu.pnvram.daylight"); + *daylight = env ? grub_strtoul (env, 0, 0) : 0; + + nvramptr = nvram; + grub_memset (nvram, 0, nvramsize); + grub_env_iterate (iterate_env); + if (grub_errno) + return grub_errno; + *nvramsize_def = nvramsize; + + /* Register symbols */ + grub_efiemu_register_symbol ("efiemu_variables", nvram_handle, 0); + grub_efiemu_register_symbol ("efiemu_varsize", nvramsize_handle, 0); + grub_efiemu_register_symbol ("efiemu_high_monotonic_count", + high_monotonic_count_handle, 0); + grub_efiemu_register_symbol ("efiemu_time_zone", timezone_handle, 0); + grub_efiemu_register_symbol ("efiemu_time_daylight", daylight_handle, 0); + grub_efiemu_register_symbol ("efiemu_time_accuracy", + accuracy_handle, 0); + + return GRUB_ERR_NONE; +} + +static void +nvram_unload (void * data __attribute__ ((unused))) +{ + grub_efiemu_mm_return_request (nvram_handle); + grub_efiemu_mm_return_request (nvramsize_handle); + grub_efiemu_mm_return_request (high_monotonic_count_handle); + grub_efiemu_mm_return_request (timezone_handle); + grub_efiemu_mm_return_request (accuracy_handle); + grub_efiemu_mm_return_request (daylight_handle); +} + +grub_err_t +grub_efiemu_pnvram (void) +{ + const char *size; + grub_err_t err; + + nvramsize = 0; + + size = grub_env_get ("EfiEmu.pnvram.size"); + if (size) + nvramsize = grub_strtoul (size, 0, 0); + + if (!nvramsize) + nvramsize = 2048; + + err = grub_efiemu_register_prepare_hook (nvram_set, nvram_unload, 0); + if (err) + return err; + + nvram_handle + = grub_efiemu_request_memalign (1, nvramsize, + GRUB_EFI_RUNTIME_SERVICES_DATA); + nvramsize_handle + = grub_efiemu_request_memalign (1, sizeof (grub_uint32_t), + GRUB_EFI_RUNTIME_SERVICES_DATA); + high_monotonic_count_handle + = grub_efiemu_request_memalign (1, sizeof (grub_uint32_t), + GRUB_EFI_RUNTIME_SERVICES_DATA); + timezone_handle + = grub_efiemu_request_memalign (1, sizeof (grub_uint16_t), + GRUB_EFI_RUNTIME_SERVICES_DATA); + daylight_handle + = grub_efiemu_request_memalign (1, sizeof (grub_uint8_t), + GRUB_EFI_RUNTIME_SERVICES_DATA); + accuracy_handle + = grub_efiemu_request_memalign (1, sizeof (grub_uint32_t), + GRUB_EFI_RUNTIME_SERVICES_DATA); + + return GRUB_ERR_NONE; +} diff --git a/grub-core/efiemu/prepare.c b/grub-core/efiemu/prepare.c new file mode 100644 index 0000000..171e092 --- /dev/null +++ b/grub-core/efiemu/prepare.c @@ -0,0 +1,160 @@ +/* Prepare efiemu. E.g. allocate memory, load the runtime + to appropriate place, etc */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +grub_err_t +SUFFIX (grub_efiemu_prepare) (struct grub_efiemu_prepare_hook *prepare_hooks, + struct grub_efiemu_configuration_table + *config_tables) +{ + grub_err_t err; + int conftable_handle; + struct grub_efiemu_configuration_table *cur; + struct grub_efiemu_prepare_hook *curhook; + + int cntconftables = 0; + struct SUFFIX (grub_efiemu_configuration_table) *conftables = 0; + int i; + int handle; + grub_off_t off; + + grub_dprintf ("efiemu", "Preparing EfiEmu\n"); + + /* Request space for the list of configuration tables */ + for (cur = config_tables; cur; cur = cur->next) + cntconftables++; + conftable_handle + = grub_efiemu_request_memalign (GRUB_EFIEMU_PAGESIZE, + cntconftables * sizeof (*conftables), + GRUB_EFI_RUNTIME_SERVICES_DATA); + + /* Switch from phase 1 (counting) to phase 2 (real job) */ + grub_efiemu_alloc_syms (); + grub_efiemu_mm_do_alloc (); + grub_efiemu_write_sym_markers (); + + grub_efiemu_system_table32 = 0; + grub_efiemu_system_table64 = 0; + + /* Execute hooks */ + for (curhook = prepare_hooks; curhook; curhook = curhook->next) + curhook->hook (curhook->data); + + /* Move runtime to its due place */ + err = grub_efiemu_loadcore_load (); + if (err) + { + grub_efiemu_unload (); + return err; + } + + err = grub_efiemu_resolve_symbol ("efiemu_system_table", &handle, &off); + if (err) + { + grub_efiemu_unload (); + return err; + } + + SUFFIX (grub_efiemu_system_table) + = (struct SUFFIX (grub_efi_system_table) *) + ((grub_uint8_t *) grub_efiemu_mm_obtain_request (handle) + off); + + /* Put pointer to the list of configuration tables in system table */ + grub_efiemu_write_value + (&(SUFFIX (grub_efiemu_system_table)->configuration_table), 0, + conftable_handle, 0, 1, + sizeof (SUFFIX (grub_efiemu_system_table)->configuration_table)); + SUFFIX(grub_efiemu_system_table)->num_table_entries = cntconftables; + + /* Fill the list of configuration tables */ + conftables = (struct SUFFIX (grub_efiemu_configuration_table) *) + grub_efiemu_mm_obtain_request (conftable_handle); + i = 0; + for (cur = config_tables; cur; cur = cur->next, i++) + { + grub_memcpy (&(conftables[i].vendor_guid), &(cur->guid), + sizeof (cur->guid)); + if (cur->get_table) + conftables[i].vendor_table + = PTR_TO_UINT64 (cur->get_table (cur->data)); + else + conftables[i].vendor_table = PTR_TO_UINT64 (cur->data); + } + + err = SUFFIX (grub_efiemu_crc) (); + if (err) + { + grub_efiemu_unload (); + return err; + } + + grub_dprintf ("efiemu","system_table = %p, conftables = %p (%d entries)\n", + SUFFIX (grub_efiemu_system_table), conftables, cntconftables); + + return GRUB_ERR_NONE; +} + +grub_err_t +SUFFIX (grub_efiemu_crc) (void) +{ + grub_err_t err; + int handle; + grub_off_t off; + struct SUFFIX (grub_efiemu_runtime_services) *runtime_services; + grub_uint8_t crc32_context[GRUB_MD_CRC32->contextsize]; + + /* compute CRC32 of runtime_services */ + err = grub_efiemu_resolve_symbol ("efiemu_runtime_services", + &handle, &off); + if (err) + return err; + + runtime_services = (struct SUFFIX (grub_efiemu_runtime_services) *) + ((grub_uint8_t *) grub_efiemu_mm_obtain_request (handle) + off); + + GRUB_MD_CRC32->init(crc32_context); + GRUB_MD_CRC32->write(crc32_context, runtime_services, runtime_services->hdr.header_size); + GRUB_MD_CRC32->final(crc32_context); + + runtime_services->hdr.crc32 = + grub_be_to_cpu32(*(grub_uint32_t*)GRUB_MD_CRC32->read(crc32_context)); + + err = grub_efiemu_resolve_symbol ("efiemu_system_table", &handle, &off); + if (err) + return err; + + /* compute CRC32 of system table */ + GRUB_MD_CRC32->init(crc32_context); + GRUB_MD_CRC32->write(crc32_context, SUFFIX (grub_efiemu_system_table), + SUFFIX (grub_efiemu_system_table)->hdr.header_size); + GRUB_MD_CRC32->final(crc32_context); + SUFFIX (grub_efiemu_system_table)->hdr.crc32 = + grub_be_to_cpu32(*(grub_uint32_t*)GRUB_MD_CRC32->read(crc32_context)); + + grub_dprintf ("efiemu","system_table = %p, runtime_services = %p\n", + SUFFIX (grub_efiemu_system_table), runtime_services); + + return GRUB_ERR_NONE; +} diff --git a/grub-core/efiemu/prepare32.c b/grub-core/efiemu/prepare32.c new file mode 100644 index 0000000..fd6109e --- /dev/null +++ b/grub-core/efiemu/prepare32.c @@ -0,0 +1,22 @@ +/* This file contains definitions so that prepare.c compiles for 32-bit */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define SUFFIX(x) x ## 32 + +#include "prepare.c" diff --git a/grub-core/efiemu/prepare64.c b/grub-core/efiemu/prepare64.c new file mode 100644 index 0000000..811f558 --- /dev/null +++ b/grub-core/efiemu/prepare64.c @@ -0,0 +1,22 @@ +/* This file contains definitions so that prepare.c compiles for 64-bit */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define SUFFIX(x) x ## 64 + +#include "prepare.c" diff --git a/grub-core/efiemu/runtime/config.h b/grub-core/efiemu/runtime/config.h new file mode 100644 index 0000000..26fb2ff --- /dev/null +++ b/grub-core/efiemu/runtime/config.h @@ -0,0 +1,34 @@ +/* This is a pseudo config.h so that types.h compiles nicely */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define GRUB_TYPES_CPU_HEADER 1 + +#ifdef ELF32 +# define SIZEOF_VOID_P 4 +# define SIZEOF_LONG 4 +# define GRUB_TARGET_SIZEOF_VOID_P 4 +# define GRUB_TARGET_SIZEOF_LONG 4 +# define EFI_FUNC(x) x +#else +# define SIZEOF_VOID_P 8 +# define SIZEOF_LONG 8 +# define GRUB_TARGET_SIZEOF_VOID_P 8 +# define GRUB_TARGET_SIZEOF_LONG 8 +# define EFI_FUNC(x) x ## _real +#endif diff --git a/grub-core/efiemu/runtime/efiemu.S b/grub-core/efiemu/runtime/efiemu.S new file mode 100644 index 0000000..b502314 --- /dev/null +++ b/grub-core/efiemu/runtime/efiemu.S @@ -0,0 +1,159 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +/* + * x86_64 uses registry to pass parameters. Unfortunately, gcc and efi use + * different call conversion, so we need to do some conversion. + * + * gcc: + * %rdi, %rsi, %rdx, %rcx, %r8, %r9, 8(%rsp), 16(%rsp), ... + * + * efi: + * %rcx, %rdx, %r8, %r9, 32(%rsp), 40(%rsp), 48(%rsp), ... + * + */ + + .file "efiemu.S" + .text + +FUNCTION (efiemu_get_time) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + call efiemu_get_time_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_set_time) + push %rdi + push %rsi + mov %rcx, %rdi + call efiemu_set_time_real + pop %rsi + pop %rdi + ret + + +FUNCTION (efiemu_get_wakeup_time) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + mov %r8, %rdx + call efiemu_get_wakeup_time_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_set_wakeup_time) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + call efiemu_set_wakeup_time_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_get_variable) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + mov %r8, %rdx + mov %r9, %rcx + mov 56(%rsp), %r8 + call efiemu_get_variable_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_get_next_variable_name) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + mov %r8, %rdx + call efiemu_get_next_variable_name_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_set_variable) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + mov %r8, %rdx + mov %r9, %rcx + mov 56(%rsp), %r8 + call efiemu_set_variable_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_get_next_high_monotonic_count) + push %rdi + push %rsi + mov %rcx, %rdi + call efiemu_get_next_high_monotonic_count_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_reset_system) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + mov %r8, %rdx + mov %r9, %rcx + call efiemu_reset_system_real + pop %rsi + pop %rdi + ret + + /* The following functions are always called in physical mode */ + .section ".text-physical", "ax" + +FUNCTION (efiemu_set_virtual_address_map) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + mov %r8, %rdx + mov %r9, %rcx + call efiemu_set_virtual_address_map_real + pop %rsi + pop %rdi + ret + +FUNCTION (efiemu_convert_pointer) + push %rdi + push %rsi + mov %rcx, %rdi + mov %rdx, %rsi + call efiemu_convert_pointer_real + pop %rsi + pop %rdi + ret + diff --git a/grub-core/efiemu/runtime/efiemu.c b/grub-core/efiemu/runtime/efiemu.c new file mode 100644 index 0000000..7389341 --- /dev/null +++ b/grub-core/efiemu/runtime/efiemu.c @@ -0,0 +1,630 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* This is an emulation of EFI runtime services. + This allows a more uniform boot on i386 machines. + As it emulates only runtime serviceit isn't able + to chainload EFI bootloader on non-EFI system (TODO) */ + +#include +#include +#include +#include + +grub_efi_status_t +efiemu_get_time (grub_efi_time_t *time, + grub_efi_time_capabilities_t *capabilities); +grub_efi_status_t +efiemu_set_time (grub_efi_time_t *time); + +grub_efi_status_t +efiemu_get_wakeup_time (grub_efi_boolean_t *enabled, + grub_efi_boolean_t *pending, + grub_efi_time_t *time); +grub_efi_status_t +efiemu_set_wakeup_time (grub_efi_boolean_t enabled, + grub_efi_time_t *time); + +#ifdef APPLE_CC +#define PHYSICAL_ATTRIBUTE __attribute__ ((section("_text-physical, _text-physical"))); +#else +#define PHYSICAL_ATTRIBUTE __attribute__ ((section(".text-physical"))); +#endif + +grub_efi_status_t +efiemu_set_virtual_address_map (grub_efi_uintn_t memory_map_size, + grub_efi_uintn_t descriptor_size, + grub_efi_uint32_t descriptor_version, + grub_efi_memory_descriptor_t *virtual_map) + PHYSICAL_ATTRIBUTE; + +grub_efi_status_t +efiemu_convert_pointer (grub_efi_uintn_t debug_disposition, + void **address) + PHYSICAL_ATTRIBUTE; + +grub_efi_status_t +efiemu_get_variable (grub_efi_char16_t *variable_name, + grub_efi_guid_t *vendor_guid, + grub_efi_uint32_t *attributes, + grub_efi_uintn_t *data_size, + void *data); + +grub_efi_status_t +efiemu_get_next_variable_name (grub_efi_uintn_t *variable_name_size, + grub_efi_char16_t *variable_name, + grub_efi_guid_t *vendor_guid); + +grub_efi_status_t +efiemu_set_variable (grub_efi_char16_t *variable_name, + grub_efi_guid_t *vendor_guid, + grub_efi_uint32_t attributes, + grub_efi_uintn_t data_size, + void *data); +grub_efi_status_t +efiemu_get_next_high_monotonic_count (grub_efi_uint32_t *high_count); +void +efiemu_reset_system (grub_efi_reset_type_t reset_type, + grub_efi_status_t reset_status, + grub_efi_uintn_t data_size, + grub_efi_char16_t *reset_data); + +grub_efi_status_t +EFI_FUNC (efiemu_set_virtual_address_map) (grub_efi_uintn_t, + grub_efi_uintn_t, + grub_efi_uint32_t, + grub_efi_memory_descriptor_t *) + PHYSICAL_ATTRIBUTE; +grub_efi_status_t +EFI_FUNC (efiemu_convert_pointer) (grub_efi_uintn_t debug_disposition, + void **address) + PHYSICAL_ATTRIBUTE; +static grub_uint32_t +efiemu_getcrc32 (grub_uint32_t crc, void *buf, int size) + PHYSICAL_ATTRIBUTE; +static void +init_crc32_table (void) + PHYSICAL_ATTRIBUTE; +static grub_uint32_t +reflect (grub_uint32_t ref, int len) + PHYSICAL_ATTRIBUTE; + +/* + The log. It's used when examining memory dump +*/ +static grub_uint8_t loge[1000] = "EFIEMULOG"; +static int logn = 9; +#define LOG(x) { if (logn<900) loge[logn++]=x; } + +/* Interface with grub */ +extern grub_uint8_t efiemu_ptv_relocated; +struct grub_efi_runtime_services efiemu_runtime_services; +struct grub_efi_system_table efiemu_system_table; +extern struct grub_efiemu_ptv_rel efiemu_ptv_relloc[]; +extern grub_uint8_t efiemu_variables[]; +extern grub_uint32_t efiemu_varsize; +extern grub_uint32_t efiemu_high_monotonic_count; +extern grub_int16_t efiemu_time_zone; +extern grub_uint8_t efiemu_time_daylight; +extern grub_uint32_t efiemu_time_accuracy; + +/* Some standard functions because we need to be standalone */ +static void +efiemu_memcpy (void *to, void *from, int count) +{ + int i; + for (i = 0; i < count; i++) + ((grub_uint8_t *) to)[i] = ((grub_uint8_t *) from)[i]; +} + +static int +efiemu_str16equal (grub_uint16_t *a, grub_uint16_t *b) +{ + grub_uint16_t *ptr1, *ptr2; + for (ptr1=a,ptr2=b; *ptr1 && *ptr2 == *ptr1; ptr1++, ptr2++); + return *ptr2 == *ptr1; +} + +static grub_size_t +efiemu_str16len (grub_uint16_t *a) +{ + grub_uint16_t *ptr1; + for (ptr1 = a; *ptr1; ptr1++); + return ptr1 - a; +} + +static int +efiemu_memequal (void *a, void *b, grub_size_t n) +{ + grub_uint8_t *ptr1, *ptr2; + for (ptr1 = (grub_uint8_t *) a, ptr2 = (grub_uint8_t *)b; + ptr1 < (grub_uint8_t *)a + n && *ptr2 == *ptr1; ptr1++, ptr2++); + return ptr1 == a + n; +} + +static void +efiemu_memset (grub_uint8_t *a, grub_uint8_t b, grub_size_t n) +{ + grub_uint8_t *ptr1; + for (ptr1=a; ptr1 < a + n; ptr1++) + *ptr1 = b; +} + +static inline void +write_cmos (grub_uint8_t addr, grub_uint8_t val) +{ + __asm__ __volatile__ ("outb %%al,$0x70\n" + "mov %%cl, %%al\n" + "outb %%al,$0x71": :"a" (addr), "c" (val)); +} + +static inline grub_uint8_t +read_cmos (grub_uint8_t addr) +{ + grub_uint8_t ret; + __asm__ __volatile__ ("outb %%al, $0x70\n" + "inb $0x71, %%al": "=a"(ret) :"a" (addr)); + return ret; +} + +/* Needed by some gcc versions */ +int __stack_chk_fail () +{ + return 0; +} + +/* The function that implement runtime services as specified in + EFI specification */ +static inline grub_uint8_t +bcd_to_hex (grub_uint8_t in) +{ + return 10 * ((in & 0xf0) >> 4) + (in & 0x0f); +} + +grub_efi_status_t +EFI_FUNC (efiemu_get_time) (grub_efi_time_t *time, + grub_efi_time_capabilities_t *capabilities) +{ + LOG ('a'); + grub_uint8_t state; + state = read_cmos (0xb); + if (!(state & (1 << 2))) + { + time->year = 2000 + bcd_to_hex (read_cmos (0x9)); + time->month = bcd_to_hex (read_cmos (0x8)); + time->day = bcd_to_hex (read_cmos (0x7)); + time->hour = bcd_to_hex (read_cmos (0x4)); + if (time->hour >= 81) + time->hour -= 80 - 12; + if (time->hour == 24) + time->hour = 0; + time->minute = bcd_to_hex (read_cmos (0x2)); + time->second = bcd_to_hex (read_cmos (0x0)); + } + else + { + time->year = 2000 + read_cmos (0x9); + time->month = read_cmos (0x8); + time->day = read_cmos (0x7); + time->hour = read_cmos (0x4); + if (time->hour >= 0x81) + time->hour -= 0x80 - 12; + if (time->hour == 24) + time->hour = 0; + time->minute = read_cmos (0x2); + time->second = read_cmos (0x0); + } + time->nanosecond = 0; + time->pad1 = 0; + time->pad2 = 0; + time->time_zone = efiemu_time_zone; + time->daylight = efiemu_time_daylight; + capabilities->resolution = 1; + capabilities->accuracy = efiemu_time_accuracy; + capabilities->sets_to_zero = 0; + return GRUB_EFI_SUCCESS; +} + +grub_efi_status_t +EFI_FUNC (efiemu_set_time) (grub_efi_time_t *time) +{ + LOG ('b'); + grub_uint8_t state; + state = read_cmos (0xb); + write_cmos (0xb, state | 0x6); + write_cmos (0x9, time->year - 2000); + write_cmos (0x8, time->month); + write_cmos (0x7, time->day); + write_cmos (0x4, time->hour); + write_cmos (0x2, time->minute); + write_cmos (0x0, time->second); + efiemu_time_zone = time->time_zone; + efiemu_time_daylight = time->daylight; + return GRUB_EFI_SUCCESS; +} + +/* Following 2 functions are vendor specific. So announce it as unsupported */ +grub_efi_status_t +EFI_FUNC (efiemu_get_wakeup_time) (grub_efi_boolean_t *enabled, + grub_efi_boolean_t *pending, + grub_efi_time_t *time) +{ + LOG ('c'); + return GRUB_EFI_UNSUPPORTED; +} + +grub_efi_status_t +EFI_FUNC (efiemu_set_wakeup_time) (grub_efi_boolean_t enabled, + grub_efi_time_t *time) +{ + LOG ('d'); + return GRUB_EFI_UNSUPPORTED; +} + +static grub_uint32_t crc32_table [256]; + +static grub_uint32_t +reflect (grub_uint32_t ref, int len) +{ + grub_uint32_t result = 0; + int i; + + for (i = 1; i <= len; i++) + { + if (ref & 1) + result |= 1 << (len - i); + ref >>= 1; + } + + return result; +} + +static void +init_crc32_table (void) +{ + grub_uint32_t polynomial = 0x04c11db7; + int i, j; + + for(i = 0; i < 256; i++) + { + crc32_table[i] = reflect(i, 8) << 24; + for (j = 0; j < 8; j++) + crc32_table[i] = (crc32_table[i] << 1) ^ + (crc32_table[i] & (1 << 31) ? polynomial : 0); + crc32_table[i] = reflect(crc32_table[i], 32); + } +} + +static grub_uint32_t +efiemu_getcrc32 (grub_uint32_t crc, void *buf, int size) +{ + int i; + grub_uint8_t *data = buf; + + if (! crc32_table[1]) + init_crc32_table (); + + crc^= 0xffffffff; + + for (i = 0; i < size; i++) + { + crc = (crc >> 8) ^ crc32_table[(crc & 0xFF) ^ *data]; + data++; + } + + return crc ^ 0xffffffff; +} + + +grub_efi_status_t EFI_FUNC +(efiemu_set_virtual_address_map) (grub_efi_uintn_t memory_map_size, + grub_efi_uintn_t descriptor_size, + grub_efi_uint32_t descriptor_version, + grub_efi_memory_descriptor_t *virtual_map) +{ + struct grub_efiemu_ptv_rel *cur_relloc; + + LOG ('e'); + + /* Ensure that we are called only once */ + if (efiemu_ptv_relocated) + return GRUB_EFI_UNSUPPORTED; + efiemu_ptv_relocated = 1; + + /* Correct addresses using information supplied by grub */ + for (cur_relloc = efiemu_ptv_relloc; cur_relloc->size;cur_relloc++) + { + grub_int64_t corr = 0; + grub_efi_memory_descriptor_t *descptr; + + /* Compute correction */ + for (descptr = virtual_map; + ((grub_uint8_t *) descptr - (grub_uint8_t *) virtual_map) + < memory_map_size; + descptr = (grub_efi_memory_descriptor_t *) + ((grub_uint8_t *) descptr + descriptor_size)) + { + if (descptr->type == cur_relloc->plustype) + corr += descptr->virtual_start - descptr->physical_start; + if (descptr->type == cur_relloc->minustype) + corr -= descptr->virtual_start - descptr->physical_start; + } + + /* Apply correction */ + switch (cur_relloc->size) + { + case 8: + *((grub_uint64_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + case 4: + *((grub_uint32_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + case 2: + *((grub_uint16_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + case 1: + *((grub_uint8_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + } + } + + /* Recompute crc32 of system table and runtime services */ + efiemu_system_table.hdr.crc32 = 0; + efiemu_system_table.hdr.crc32 = efiemu_getcrc32 + (0, &efiemu_system_table, sizeof (efiemu_system_table)); + + efiemu_runtime_services.hdr.crc32 = 0; + efiemu_runtime_services.hdr.crc32 = efiemu_getcrc32 + (0, &efiemu_runtime_services, sizeof (efiemu_runtime_services)); + + return GRUB_EFI_SUCCESS; +} + +/* since efiemu_set_virtual_address_map corrects all the pointers + we don't need efiemu_convert_pointer */ +grub_efi_status_t +EFI_FUNC (efiemu_convert_pointer) (grub_efi_uintn_t debug_disposition, + void **address) +{ + LOG ('f'); + return GRUB_EFI_UNSUPPORTED; +} + +/* Next comes variable services. Because we have no vendor-independent + way to store these variables we have no non-volatility */ + +/* Find variable by name and GUID. */ +static struct efi_variable * +find_variable (grub_efi_guid_t *vendor_guid, + grub_efi_char16_t *variable_name) +{ + grub_uint8_t *ptr; + struct efi_variable *efivar; + + for (ptr = efiemu_variables; ptr < efiemu_variables + efiemu_varsize; ) + { + efivar = (struct efi_variable *) ptr; + if (!efivar->namelen) + return 0; + if (efiemu_str16equal((grub_efi_char16_t *)(efivar + 1), variable_name) + && efiemu_memequal (&(efivar->guid), vendor_guid, + sizeof (efivar->guid))) + return efivar; + ptr += efivar->namelen + efivar->size + sizeof (*efivar); + } + return 0; +} + +grub_efi_status_t +EFI_FUNC (efiemu_get_variable) (grub_efi_char16_t *variable_name, + grub_efi_guid_t *vendor_guid, + grub_efi_uint32_t *attributes, + grub_efi_uintn_t *data_size, + void *data) +{ + struct efi_variable *efivar; + LOG ('g'); + efivar = find_variable (vendor_guid, variable_name); + if (!efivar) + return GRUB_EFI_NOT_FOUND; + if (*data_size < efivar->size) + { + *data_size = efivar->size; + return GRUB_EFI_BUFFER_TOO_SMALL; + } + *data_size = efivar->size; + efiemu_memcpy (data, (grub_uint8_t *)(efivar + 1) + efivar->namelen, + efivar->size); + *attributes = efivar->attributes; + + return GRUB_EFI_SUCCESS; +} + +grub_efi_status_t EFI_FUNC +(efiemu_get_next_variable_name) (grub_efi_uintn_t *variable_name_size, + grub_efi_char16_t *variable_name, + grub_efi_guid_t *vendor_guid) +{ + struct efi_variable *efivar; + LOG ('l'); + + if (!variable_name_size || !variable_name || !vendor_guid) + return GRUB_EFI_INVALID_PARAMETER; + if (variable_name[0]) + { + efivar = find_variable (vendor_guid, variable_name); + if (!efivar) + return GRUB_EFI_NOT_FOUND; + efivar = (struct efi_variable *)((grub_uint8_t *)efivar + + efivar->namelen + + efivar->size + sizeof (*efivar)); + } + else + efivar = (struct efi_variable *) (efiemu_variables); + + LOG ('m'); + if ((grub_uint8_t *)efivar >= efiemu_variables + efiemu_varsize + || !efivar->namelen) + return GRUB_EFI_NOT_FOUND; + if (*variable_name_size < efivar->namelen) + { + *variable_name_size = efivar->namelen; + return GRUB_EFI_BUFFER_TOO_SMALL; + } + + efiemu_memcpy (variable_name, efivar + 1, efivar->namelen); + efiemu_memcpy (vendor_guid, &(efivar->guid), + sizeof (efivar->guid)); + + LOG('h'); + return GRUB_EFI_SUCCESS; +} + +grub_efi_status_t +EFI_FUNC (efiemu_set_variable) (grub_efi_char16_t *variable_name, + grub_efi_guid_t *vendor_guid, + grub_efi_uint32_t attributes, + grub_efi_uintn_t data_size, + void *data) +{ + struct efi_variable *efivar; + grub_uint8_t *ptr; + LOG('i'); + if (!variable_name[0]) + return GRUB_EFI_INVALID_PARAMETER; + efivar = find_variable (vendor_guid, variable_name); + + /* Delete variable if any */ + if (efivar) + { + efiemu_memcpy (efivar, (grub_uint8_t *)(efivar + 1) + + efivar->namelen + efivar->size, + (efiemu_variables + efiemu_varsize) + - ((grub_uint8_t *)(efivar + 1) + + efivar->namelen + efivar->size)); + efiemu_memset (efiemu_variables + efiemu_varsize + - (sizeof (*efivar) + efivar->namelen + efivar->size), + 0, (sizeof (*efivar) + efivar->namelen + efivar->size)); + } + + if (!data_size) + return GRUB_EFI_SUCCESS; + + for (ptr = efiemu_variables; ptr < efiemu_variables + efiemu_varsize; ) + { + efivar = (struct efi_variable *) ptr; + ptr += efivar->namelen + efivar->size + sizeof (*efivar); + if (!efivar->namelen) + break; + } + if ((grub_uint8_t *)(efivar + 1) + data_size + + 2 * (efiemu_str16len (variable_name) + 1) + >= efiemu_variables + efiemu_varsize) + return GRUB_EFI_OUT_OF_RESOURCES; + + efiemu_memcpy (&(efivar->guid), vendor_guid, sizeof (efivar->guid)); + efivar->namelen = 2 * (efiemu_str16len (variable_name) + 1); + efivar->size = data_size; + efivar->attributes = attributes; + efiemu_memcpy (efivar + 1, variable_name, + 2 * (efiemu_str16len (variable_name) + 1)); + efiemu_memcpy ((grub_uint8_t *)(efivar + 1) + + 2 * (efiemu_str16len (variable_name) + 1), + data, data_size); + + return GRUB_EFI_SUCCESS; +} + +grub_efi_status_t EFI_FUNC +(efiemu_get_next_high_monotonic_count) (grub_efi_uint32_t *high_count) +{ + LOG ('j'); + if (!high_count) + return GRUB_EFI_INVALID_PARAMETER; + *high_count = ++efiemu_high_monotonic_count; + return GRUB_EFI_SUCCESS; +} + +/* To implement it with APM we need to go to real mode. It's too much hassle + Besides EFI specification says that this function shouldn't be used + on systems supporting ACPI + */ +void +EFI_FUNC (efiemu_reset_system) (grub_efi_reset_type_t reset_type, + grub_efi_status_t reset_status, + grub_efi_uintn_t data_size, + grub_efi_char16_t *reset_data) +{ + LOG ('k'); +} + +struct grub_efi_runtime_services efiemu_runtime_services = +{ + .hdr = + { + .signature = GRUB_EFIEMU_RUNTIME_SERVICES_SIGNATURE, + .revision = 0x0001000a, + .header_size = sizeof (struct grub_efi_runtime_services), + .crc32 = 0, /* filled later*/ + .reserved = 0 + }, + .get_time = efiemu_get_time, + .set_time = efiemu_set_time, + .get_wakeup_time = efiemu_get_wakeup_time, + .set_wakeup_time = efiemu_set_wakeup_time, + + .set_virtual_address_map = efiemu_set_virtual_address_map, + .convert_pointer = efiemu_convert_pointer, + + .get_variable = efiemu_get_variable, + .get_next_variable_name = efiemu_get_next_variable_name, + .set_variable = efiemu_set_variable, + .get_next_high_monotonic_count = efiemu_get_next_high_monotonic_count, + + .reset_system = efiemu_reset_system +}; + + +static grub_uint16_t efiemu_vendor[] = + {'G', 'R', 'U', 'B', ' ', 'E', 'F', 'I', ' ', + 'R', 'U', 'N', 'T', 'I', 'M', 'E', 0}; + +struct grub_efi_system_table efiemu_system_table = +{ + .hdr = + { + .signature = GRUB_EFIEMU_SYSTEM_TABLE_SIGNATURE, + .revision = 0x0001000a, + .header_size = sizeof (struct grub_efi_system_table), + .crc32 = 0, /* filled later*/ + .reserved = 0 + }, + .firmware_vendor = efiemu_vendor, + .firmware_revision = 0x0001000a, + .console_in_handler = 0, + .con_in = 0, + .console_out_handler = 0, + .con_out = 0, + .standard_error_handle = 0, + .std_err = 0, + .runtime_services = &efiemu_runtime_services, + .boot_services = 0, + .num_table_entries = 0, + .configuration_table = 0 +}; + diff --git a/grub-core/efiemu/symbols.c b/grub-core/efiemu/symbols.c new file mode 100644 index 0000000..4fc546b --- /dev/null +++ b/grub-core/efiemu/symbols.c @@ -0,0 +1,271 @@ +/* Code for managing symbols and pointers in efiemu */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +static int ptv_written = 0; +static int ptv_alloc = 0; +static int ptv_handle = 0; +static int relocated_handle = 0; +static int ptv_requested = 0; +static struct grub_efiemu_sym *efiemu_syms = 0; + +struct grub_efiemu_sym +{ + struct grub_efiemu_sym *next; + char *name; + int handle; + grub_off_t off; +}; + +void +grub_efiemu_free_syms (void) +{ + struct grub_efiemu_sym *cur, *d; + for (cur = efiemu_syms; cur;) + { + d = cur->next; + grub_free (cur->name); + grub_free (cur); + cur = d; + } + efiemu_syms = 0; + ptv_written = 0; + ptv_alloc = 0; + ptv_requested = 0; + grub_efiemu_mm_return_request (ptv_handle); + ptv_handle = 0; + grub_efiemu_mm_return_request (relocated_handle); + relocated_handle = 0; +} + +/* Announce that the module will need NUM allocators */ +/* Because of deferred memory allocation all the relocators have to be + announced during phase 1*/ +grub_err_t +grub_efiemu_request_symbols (int num) +{ + if (ptv_alloc) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "symbols have already been allocated"); + if (num < 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "can't request negative symbols"); + ptv_requested += num; + return GRUB_ERR_NONE; +} + +/* Resolve the symbol name NAME and set HANDLE and OFF accordingly */ +grub_err_t +grub_efiemu_resolve_symbol (const char *name, int *handle, grub_off_t *off) +{ + struct grub_efiemu_sym *cur; + for (cur = efiemu_syms; cur; cur = cur->next) + if (!grub_strcmp (name, cur->name)) + { + *handle = cur->handle; + *off = cur->off; + return GRUB_ERR_NONE; + } + grub_dprintf ("efiemu", "%s not found\n", name); + return grub_error (GRUB_ERR_BAD_OS, "symbol %s isn't found", name); +} + +/* Register symbol named NAME in memory handle HANDLE at offset OFF */ +grub_err_t +grub_efiemu_register_symbol (const char *name, int handle, grub_off_t off) +{ + struct grub_efiemu_sym *cur; + cur = (struct grub_efiemu_sym *) grub_malloc (sizeof (*cur)); + grub_dprintf ("efiemu", "registering symbol '%s'\n", name); + if (!cur) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, "couldn't register symbol"); + cur->name = grub_strdup (name); + cur->next = efiemu_syms; + cur->handle = handle; + cur->off = off; + efiemu_syms = cur; + + return 0; +} + +/* Go from phase 1 to phase 2. Must be called before similar function in mm.c */ +grub_err_t +grub_efiemu_alloc_syms (void) +{ + ptv_alloc = ptv_requested; + ptv_handle = grub_efiemu_request_memalign + (1, (ptv_requested + 1) * sizeof (struct grub_efiemu_ptv_rel), + GRUB_EFI_RUNTIME_SERVICES_DATA); + relocated_handle = grub_efiemu_request_memalign + (1, sizeof (grub_uint8_t), GRUB_EFI_RUNTIME_SERVICES_DATA); + + grub_efiemu_register_symbol ("efiemu_ptv_relocated", relocated_handle, 0); + grub_efiemu_register_symbol ("efiemu_ptv_relloc", ptv_handle, 0); + return grub_errno; +} + +grub_err_t +grub_efiemu_write_sym_markers (void) +{ + struct grub_efiemu_ptv_rel *ptv_rels + = grub_efiemu_mm_obtain_request (ptv_handle); + grub_uint8_t *relocated = grub_efiemu_mm_obtain_request (relocated_handle); + grub_memset (ptv_rels, 0, (ptv_requested + 1) + * sizeof (struct grub_efiemu_ptv_rel)); + *relocated = 0; + return GRUB_ERR_NONE; +} + +/* Write value (pointer to memory PLUS_HANDLE) + - (pointer to memory MINUS_HANDLE) + VALUE to ADDR assuming that the + size SIZE bytes. If PTV_NEEDED is 1 then announce it to runtime that this + value needs to be recomputed before going to virtual mode +*/ +grub_err_t +grub_efiemu_write_value (void *addr, grub_uint32_t value, int plus_handle, + int minus_handle, int ptv_needed, int size) +{ + /* Announce relocator to runtime */ + if (ptv_needed) + { + struct grub_efiemu_ptv_rel *ptv_rels + = grub_efiemu_mm_obtain_request (ptv_handle); + + if (ptv_needed && ptv_written >= ptv_alloc) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "your module didn't declare efiemu " + " relocators correctly"); + + if (minus_handle) + ptv_rels[ptv_written].minustype + = grub_efiemu_mm_get_type (minus_handle); + else + ptv_rels[ptv_written].minustype = 0; + + if (plus_handle) + ptv_rels[ptv_written].plustype + = grub_efiemu_mm_get_type (plus_handle); + else + ptv_rels[ptv_written].plustype = 0; + + ptv_rels[ptv_written].addr = PTR_TO_UINT64 (addr); + ptv_rels[ptv_written].size = size; + ptv_written++; + + /* memset next value to zero to mark the end */ + grub_memset (&ptv_rels[ptv_written], 0, sizeof (ptv_rels[ptv_written])); + } + + /* Compute the value */ + if (minus_handle) + value -= PTR_TO_UINT32 (grub_efiemu_mm_obtain_request (minus_handle)); + + if (plus_handle) + value += PTR_TO_UINT32 (grub_efiemu_mm_obtain_request (plus_handle)); + + /* Write the value */ + switch (size) + { + case 8: + *((grub_uint64_t *) addr) = value; + break; + case 4: + *((grub_uint32_t *) addr) = value; + break; + case 2: + *((grub_uint16_t *) addr) = value; + break; + case 1: + *((grub_uint8_t *) addr) = value; + break; + default: + return grub_error (GRUB_ERR_BAD_ARGUMENT, "wrong symbol size"); + } + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_efiemu_set_virtual_address_map (grub_efi_uintn_t memory_map_size, + grub_efi_uintn_t descriptor_size, + grub_efi_uint32_t descriptor_version + __attribute__ ((unused)), + grub_efi_memory_descriptor_t *virtual_map) +{ + grub_uint8_t *ptv_relocated; + struct grub_efiemu_ptv_rel *cur_relloc; + struct grub_efiemu_ptv_rel *ptv_rels; + + ptv_relocated = grub_efiemu_mm_obtain_request (relocated_handle); + ptv_rels = grub_efiemu_mm_obtain_request (ptv_handle); + + /* Ensure that we are called only once */ + if (*ptv_relocated) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "EfiEmu is already relocated"); + *ptv_relocated = 1; + + /* Correct addresses using information supplied by grub */ + for (cur_relloc = ptv_rels; cur_relloc->size; cur_relloc++) + { + grub_int64_t corr = 0; + grub_efi_memory_descriptor_t *descptr; + + /* Compute correction */ + for (descptr = virtual_map; + (grub_size_t) ((grub_uint8_t *) descptr + - (grub_uint8_t *) virtual_map) < memory_map_size; + descptr = (grub_efi_memory_descriptor_t *) + ((grub_uint8_t *) descptr + descriptor_size)) + { + if (descptr->type == cur_relloc->plustype) + corr += descptr->virtual_start - descptr->physical_start; + if (descptr->type == cur_relloc->minustype) + corr -= descptr->virtual_start - descptr->physical_start; + } + + /* Apply correction */ + switch (cur_relloc->size) + { + case 8: + *((grub_uint64_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + case 4: + *((grub_uint32_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + case 2: + *((grub_uint16_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + case 1: + *((grub_uint8_t *) UINT_TO_PTR (cur_relloc->addr)) += corr; + break; + } + } + + /* Recompute crc32 of system table and runtime services */ + + if (grub_efiemu_sizeof_uintn_t () == 4) + return grub_efiemu_crc32 (); + else + return grub_efiemu_crc64 (); +} diff --git a/grub-core/font/font.c b/grub-core/font/font.c new file mode 100644 index 0000000..26eac4c --- /dev/null +++ b/grub-core/font/font.c @@ -0,0 +1,1538 @@ +/* font.c - Font API and font file loader. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#ifdef USE_ASCII_FAILBACK +#include "ascii.h" +#endif + +#ifndef FONT_DEBUG +#define FONT_DEBUG 0 +#endif + +struct char_index_entry +{ + grub_uint32_t code; + grub_uint8_t storage_flags; + grub_uint32_t offset; + + /* Glyph if loaded, or NULL otherwise. */ + struct grub_font_glyph *glyph; +}; + +#define FONT_WEIGHT_NORMAL 100 +#define FONT_WEIGHT_BOLD 200 +#define ASCII_BITMAP_SIZE 16 + +struct grub_font +{ + char *name; + grub_file_t file; + char *family; + short point_size; + short weight; + short max_char_width; + short max_char_height; + short ascent; + short descent; + short leading; + grub_uint32_t num_chars; + struct char_index_entry *char_index; + grub_uint16_t *bmp_idx; +}; + +/* Definition of font registry. */ +struct grub_font_node *grub_font_list; + +static int register_font (grub_font_t font); +static void font_init (grub_font_t font); +static void free_font (grub_font_t font); +static void remove_font (grub_font_t font); + +struct font_file_section +{ + /* The file this section is in. */ + grub_file_t file; + + /* FOURCC name of the section. */ + char name[4]; + + /* Length of the section contents. */ + grub_uint32_t length; + + /* Set by open_section() on EOF. */ + int eof; +}; + +/* Replace unknown glyphs with a rounded question mark. */ +static grub_uint8_t unknown_glyph_bitmap[] = { + /* 76543210 */ + 0x7C, /* ooooo */ + 0x82, /* o o */ + 0xBA, /* o ooo o */ + 0xAA, /* o o o o */ + 0xAA, /* o o o o */ + 0x8A, /* o o o */ + 0x9A, /* o oo o */ + 0x92, /* o o o */ + 0x92, /* o o o */ + 0x92, /* o o o */ + 0x92, /* o o o */ + 0x82, /* o o */ + 0x92, /* o o o */ + 0x82, /* o o */ + 0x7C, /* ooooo */ + 0x00 /* */ +}; + +/* The "unknown glyph" glyph, used as a last resort. */ +static struct grub_font_glyph *unknown_glyph; + +/* The font structure used when no other font is loaded. This functions + as a "Null Object" pattern, so that code everywhere does not have to + check for a NULL grub_font_t to avoid dereferencing a null pointer. */ +static struct grub_font null_font; + +/* Flag to ensure module is initialized only once. */ +static grub_uint8_t font_loader_initialized; + +#ifdef USE_ASCII_FAILBACK +static struct grub_font_glyph *ascii_font_glyph[0x80]; +#endif + +static struct grub_font_glyph * +ascii_glyph_lookup (grub_uint32_t code) +{ +#ifdef USE_ASCII_FAILBACK + static int ascii_failback_initialized = 0; + + if (code >= 0x80) + return NULL; + + if (ascii_failback_initialized == 0) + { + int current; + for (current = 0; current < 0x80; current++) + { + ascii_font_glyph[current] = + grub_malloc (sizeof (struct grub_font_glyph) + ASCII_BITMAP_SIZE); + + ascii_font_glyph[current]->width = 8; + ascii_font_glyph[current]->height = 16; + ascii_font_glyph[current]->offset_x = 0; + ascii_font_glyph[current]->offset_y = -2; + ascii_font_glyph[current]->device_width = 8; + ascii_font_glyph[current]->font = NULL; + + grub_memcpy (ascii_font_glyph[current]->bitmap, + &ascii_bitmaps[current * ASCII_BITMAP_SIZE], + ASCII_BITMAP_SIZE); + } + + ascii_failback_initialized = 1; + } + + return ascii_font_glyph[code]; +#else + (void) code; + return NULL; +#endif +} + +void +grub_font_loader_init (void) +{ + /* Only initialize font loader once. */ + if (font_loader_initialized) + return; + + /* Make glyph for unknown glyph. */ + unknown_glyph = grub_malloc (sizeof (struct grub_font_glyph) + + sizeof (unknown_glyph_bitmap)); + if (!unknown_glyph) + return; + + unknown_glyph->width = 8; + unknown_glyph->height = 16; + unknown_glyph->offset_x = 0; + unknown_glyph->offset_y = -3; + unknown_glyph->device_width = 8; + grub_memcpy (unknown_glyph->bitmap, + unknown_glyph_bitmap, sizeof (unknown_glyph_bitmap)); + + /* Initialize the null font. */ + font_init (&null_font); + null_font.name = ""; + null_font.ascent = unknown_glyph->height - 3; + null_font.descent = 3; + null_font.max_char_width = unknown_glyph->width; + null_font.max_char_height = unknown_glyph->height; + + font_loader_initialized = 1; +} + +/* Initialize the font object with initial default values. */ +static void +font_init (grub_font_t font) +{ + font->name = 0; + font->file = 0; + font->family = 0; + font->point_size = 0; + font->weight = 0; + + /* Default leading value, not in font file yet. */ + font->leading = 1; + + font->max_char_width = 0; + font->max_char_height = 0; + font->ascent = 0; + font->descent = 0; + font->num_chars = 0; + font->char_index = 0; + font->bmp_idx = 0; +} + +/* Open the next section in the file. + + On success, the section name is stored in section->name and the length in + section->length, and 0 is returned. On failure, 1 is returned and + grub_errno is set appropriately with an error message. + + If 1 is returned due to being at the end of the file, then section->eof is + set to 1; otherwise, section->eof is set to 0. */ +static int +open_section (grub_file_t file, struct font_file_section *section) +{ + grub_ssize_t retval; + grub_uint32_t raw_length; + + section->file = file; + section->eof = 0; + + /* Read the FOURCC section name. */ + retval = grub_file_read (file, section->name, 4); + if (retval >= 0 && retval < 4) + { + /* EOF encountered. */ + section->eof = 1; + return 1; + } + else if (retval < 0) + { + grub_error (GRUB_ERR_BAD_FONT, + "font format error: can't read section name"); + return 1; + } + + /* Read the big-endian 32-bit section length. */ + retval = grub_file_read (file, &raw_length, 4); + if (retval >= 0 && retval < 4) + { + /* EOF encountered. */ + section->eof = 1; + return 1; + } + else if (retval < 0) + { + grub_error (GRUB_ERR_BAD_FONT, + "font format error: can't read section length"); + return 1; + } + + /* Convert byte-order and store in *length. */ + section->length = grub_be_to_cpu32 (raw_length); + + return 0; +} + +/* Size in bytes of each character index (CHIX section) + entry in the font file. */ +#define FONT_CHAR_INDEX_ENTRY_SIZE (4 + 1 + 4) + +/* Load the character index (CHIX) section contents from the font file. This + presumes that the position of FILE is positioned immediately after the + section length for the CHIX section (i.e., at the start of the section + contents). Returns 0 upon success, nonzero for failure (in which case + grub_errno is set appropriately). */ +static int +load_font_index (grub_file_t file, grub_uint32_t sect_length, struct + grub_font *font) +{ + unsigned i; + grub_uint32_t last_code; + +#if FONT_DEBUG >= 2 + grub_printf ("load_font_index(sect_length=%d)\n", sect_length); +#endif + + /* Sanity check: ensure section length is divisible by the entry size. */ + if ((sect_length % FONT_CHAR_INDEX_ENTRY_SIZE) != 0) + { + grub_error (GRUB_ERR_BAD_FONT, + "font file format error: character index length %d " + "is not a multiple of the entry size %d", + sect_length, FONT_CHAR_INDEX_ENTRY_SIZE); + return 1; + } + + /* Calculate the number of characters. */ + font->num_chars = sect_length / FONT_CHAR_INDEX_ENTRY_SIZE; + + /* Allocate the character index array. */ + font->char_index = grub_malloc (font->num_chars + * sizeof (struct char_index_entry)); + if (!font->char_index) + return 1; + font->bmp_idx = grub_malloc (0x10000 * sizeof (grub_uint16_t)); + if (!font->bmp_idx) + return 1; + grub_memset (font->bmp_idx, 0xff, 0x10000 * sizeof (grub_uint16_t)); + + +#if FONT_DEBUG >= 2 + grub_printf ("num_chars=%d)\n", font->num_chars); +#endif + + last_code = 0; + + /* Load the character index data from the file. */ + for (i = 0; i < font->num_chars; i++) + { + struct char_index_entry *entry = &font->char_index[i]; + + /* Read code point value; convert to native byte order. */ + if (grub_file_read (file, &entry->code, 4) != 4) + return 1; + entry->code = grub_be_to_cpu32 (entry->code); + + /* Verify that characters are in ascending order. */ + if (i != 0 && entry->code <= last_code) + { + grub_error (GRUB_ERR_BAD_FONT, + "font characters not in ascending order: %u <= %u", + entry->code, last_code); + return 1; + } + + if (entry->code < 0x10000) + font->bmp_idx[entry->code] = i; + + last_code = entry->code; + + /* Read storage flags byte. */ + if (grub_file_read (file, &entry->storage_flags, 1) != 1) + return 1; + + /* Read glyph data offset; convert to native byte order. */ + if (grub_file_read (file, &entry->offset, 4) != 4) + return 1; + entry->offset = grub_be_to_cpu32 (entry->offset); + + /* No glyph loaded. Will be loaded on demand and cached thereafter. */ + entry->glyph = 0; + +#if FONT_DEBUG >= 5 + /* Print the 1st 10 characters. */ + if (i < 10) + grub_printf ("c=%d o=%d\n", entry->code, entry->offset); +#endif + } + + return 0; +} + +/* Read the contents of the specified section as a string, which is + allocated on the heap. Returns 0 if there is an error. */ +static char * +read_section_as_string (struct font_file_section *section) +{ + char *str; + grub_ssize_t ret; + + str = grub_malloc (section->length + 1); + if (!str) + return 0; + + ret = grub_file_read (section->file, str, section->length); + if (ret < 0 || ret != (grub_ssize_t) section->length) + { + grub_free (str); + return 0; + } + + str[section->length] = '\0'; + return str; +} + +/* Read the contents of the current section as a 16-bit integer value, + which is stored into *VALUE. + Returns 0 upon success, nonzero upon failure. */ +static int +read_section_as_short (struct font_file_section *section, + grub_int16_t * value) +{ + grub_uint16_t raw_value; + + if (section->length != 2) + { + grub_error (GRUB_ERR_BAD_FONT, + "font file format error: section %c%c%c%c length " + "is %d but should be 2", + section->name[0], section->name[1], + section->name[2], section->name[3], section->length); + return 1; + } + if (grub_file_read (section->file, &raw_value, 2) != 2) + return 1; + + *value = grub_be_to_cpu16 (raw_value); + return 0; +} + +/* Load a font and add it to the beginning of the global font list. + Returns 0 upon success, nonzero upon failure. */ +int +grub_font_load (const char *filename) +{ + grub_file_t file = 0; + struct font_file_section section; + char magic[4]; + grub_font_t font = 0; + +#if FONT_DEBUG >= 1 + grub_printf ("add_font(%s)\n", filename); +#endif + + file = grub_buffile_open (filename, 1024); + if (!file) + goto fail; + +#if FONT_DEBUG >= 3 + grub_printf ("file opened\n"); +#endif + + /* Read the FILE section. It indicates the file format. */ + if (open_section (file, §ion) != 0) + goto fail; + +#if FONT_DEBUG >= 3 + grub_printf ("opened FILE section\n"); +#endif + if (grub_memcmp (section.name, FONT_FORMAT_SECTION_NAMES_FILE, + sizeof (FONT_FORMAT_SECTION_NAMES_FILE) - 1) != 0) + { + grub_error (GRUB_ERR_BAD_FONT, + "font file format error: 1st section must be FILE"); + goto fail; + } + +#if FONT_DEBUG >= 3 + grub_printf ("section name ok\n"); +#endif + if (section.length != 4) + { + grub_error (GRUB_ERR_BAD_FONT, + "font file format error (file type ID length is %d " + "but should be 4)", section.length); + goto fail; + } + +#if FONT_DEBUG >= 3 + grub_printf ("section length ok\n"); +#endif + /* Check the file format type code. */ + if (grub_file_read (file, magic, 4) != 4) + goto fail; + +#if FONT_DEBUG >= 3 + grub_printf ("read magic ok\n"); +#endif + + if (grub_memcmp (magic, FONT_FORMAT_PFF2_MAGIC, 4) != 0) + { + grub_error (GRUB_ERR_BAD_FONT, "invalid font magic %x %x %x %x", + magic[0], magic[1], magic[2], magic[3]); + goto fail; + } + +#if FONT_DEBUG >= 3 + grub_printf ("compare magic ok\n"); +#endif + + /* Allocate the font object. */ + font = (grub_font_t) grub_zalloc (sizeof (struct grub_font)); + if (!font) + goto fail; + + font_init (font); + font->file = file; + +#if FONT_DEBUG >= 3 + grub_printf ("allocate font ok; loading font info\n"); +#endif + + /* Load the font information. */ + while (1) + { + if (open_section (file, §ion) != 0) + { + if (section.eof) + break; /* Done reading the font file. */ + else + goto fail; + } + +#if FONT_DEBUG >= 2 + grub_printf ("opened section %c%c%c%c ok\n", + section.name[0], section.name[1], + section.name[2], section.name[3]); +#endif + + if (grub_memcmp (section.name, FONT_FORMAT_SECTION_NAMES_FONT_NAME, + sizeof (FONT_FORMAT_SECTION_NAMES_FONT_NAME) - 1) == 0) + { + font->name = read_section_as_string (§ion); + if (!font->name) + goto fail; + } + else if (grub_memcmp (section.name, + FONT_FORMAT_SECTION_NAMES_POINT_SIZE, + sizeof (FONT_FORMAT_SECTION_NAMES_POINT_SIZE) - + 1) == 0) + { + if (read_section_as_short (§ion, &font->point_size) != 0) + goto fail; + } + else if (grub_memcmp (section.name, FONT_FORMAT_SECTION_NAMES_WEIGHT, + sizeof (FONT_FORMAT_SECTION_NAMES_WEIGHT) - 1) + == 0) + { + char *wt; + wt = read_section_as_string (§ion); + if (!wt) + continue; + /* Convert the weight string 'normal' or 'bold' into a number. */ + if (grub_strcmp (wt, "normal") == 0) + font->weight = FONT_WEIGHT_NORMAL; + else if (grub_strcmp (wt, "bold") == 0) + font->weight = FONT_WEIGHT_BOLD; + grub_free (wt); + } + else if (grub_memcmp (section.name, + FONT_FORMAT_SECTION_NAMES_MAX_CHAR_WIDTH, + sizeof (FONT_FORMAT_SECTION_NAMES_MAX_CHAR_WIDTH) + - 1) == 0) + { + if (read_section_as_short (§ion, &font->max_char_width) != 0) + goto fail; + } + else if (grub_memcmp (section.name, + FONT_FORMAT_SECTION_NAMES_MAX_CHAR_HEIGHT, + sizeof (FONT_FORMAT_SECTION_NAMES_MAX_CHAR_HEIGHT) + - 1) == 0) + { + if (read_section_as_short (§ion, &font->max_char_height) != 0) + goto fail; + } + else if (grub_memcmp (section.name, + FONT_FORMAT_SECTION_NAMES_ASCENT, + sizeof (FONT_FORMAT_SECTION_NAMES_ASCENT) - 1) + == 0) + { + if (read_section_as_short (§ion, &font->ascent) != 0) + goto fail; + } + else if (grub_memcmp (section.name, FONT_FORMAT_SECTION_NAMES_DESCENT, + sizeof (FONT_FORMAT_SECTION_NAMES_DESCENT) - 1) + == 0) + { + if (read_section_as_short (§ion, &font->descent) != 0) + goto fail; + } + else if (grub_memcmp (section.name, + FONT_FORMAT_SECTION_NAMES_CHAR_INDEX, + sizeof (FONT_FORMAT_SECTION_NAMES_CHAR_INDEX) - + 1) == 0) + { + if (load_font_index (file, section.length, font) != 0) + goto fail; + } + else if (grub_memcmp (section.name, FONT_FORMAT_SECTION_NAMES_DATA, + sizeof (FONT_FORMAT_SECTION_NAMES_DATA) - 1) == 0) + { + /* When the DATA section marker is reached, we stop reading. */ + break; + } + else + { + /* Unhandled section type, simply skip past it. */ +#if FONT_DEBUG >= 3 + grub_printf ("Unhandled section type, skipping.\n"); +#endif + grub_off_t section_end = grub_file_tell (file) + section.length; + if ((int) grub_file_seek (file, section_end) == -1) + goto fail; + } + } + + if (!font->name) + { + grub_printf ("Note: Font has no name.\n"); + font->name = grub_strdup ("Unknown"); + } + +#if FONT_DEBUG >= 1 + grub_printf ("Loaded font `%s'.\n" + "Ascent=%d Descent=%d MaxW=%d MaxH=%d Number of characters=%d.\n", + font->name, + font->ascent, font->descent, + font->max_char_width, font->max_char_height, font->num_chars); +#endif + + if (font->max_char_width == 0 + || font->max_char_height == 0 + || font->num_chars == 0 + || font->char_index == 0 || font->ascent == 0 || font->descent == 0) + { + grub_error (GRUB_ERR_BAD_FONT, + "invalid font file: missing some required data"); + goto fail; + } + + /* Add the font to the global font registry. */ + if (register_font (font) != 0) + goto fail; + + return 0; + +fail: + if (file) + grub_file_close (file); + if (font) + font->file = 0; + + free_font (font); + return 1; +} + +/* Read a 16-bit big-endian integer from FILE, convert it to native byte + order, and store it in *VALUE. + Returns 0 on success, 1 on failure. */ +static int +read_be_uint16 (grub_file_t file, grub_uint16_t * value) +{ + if (grub_file_read (file, value, 2) != 2) + return 1; + *value = grub_be_to_cpu16 (*value); + return 0; +} + +static int +read_be_int16 (grub_file_t file, grub_int16_t * value) +{ + /* For the signed integer version, use the same code as for unsigned. */ + return read_be_uint16 (file, (grub_uint16_t *) value); +} + +/* Return a pointer to the character index entry for the glyph corresponding to + the codepoint CODE in the font FONT. If not found, return zero. */ +static inline struct char_index_entry * +find_glyph (const grub_font_t font, grub_uint32_t code) +{ + struct char_index_entry *table; + grub_size_t lo; + grub_size_t hi; + grub_size_t mid; + + table = font->char_index; + + /* Use BMP index if possible. */ + if (code < 0x10000 && font->bmp_idx) + { + if (font->bmp_idx[code] == 0xffff) + return 0; + return &table[font->bmp_idx[code]]; + } + + /* Do a binary search in `char_index', which is ordered by code point. */ + lo = 0; + hi = font->num_chars - 1; + + if (!table) + return 0; + + while (lo <= hi) + { + mid = lo + (hi - lo) / 2; + if (code < table[mid].code) + hi = mid - 1; + else if (code > table[mid].code) + lo = mid + 1; + else + return &table[mid]; + } + + return 0; +} + +/* Get a glyph for the Unicode character CODE in FONT. The glyph is loaded + from the font file if has not been loaded yet. + Returns a pointer to the glyph if found, or 0 if it is not found. */ +static struct grub_font_glyph * +grub_font_get_glyph_internal (grub_font_t font, grub_uint32_t code) +{ + struct char_index_entry *index_entry; + + index_entry = find_glyph (font, code); + if (index_entry) + { + struct grub_font_glyph *glyph = 0; + grub_uint16_t width; + grub_uint16_t height; + grub_int16_t xoff; + grub_int16_t yoff; + grub_int16_t dwidth; + int len; + + if (index_entry->glyph) + /* Return cached glyph. */ + return index_entry->glyph; + + if (!font->file) + /* No open file, can't load any glyphs. */ + return 0; + + /* Make sure we can find glyphs for error messages. Push active + error message to error stack and reset error message. */ + grub_error_push (); + + grub_file_seek (font->file, index_entry->offset); + + /* Read the glyph width, height, and baseline. */ + if (read_be_uint16 (font->file, &width) != 0 + || read_be_uint16 (font->file, &height) != 0 + || read_be_int16 (font->file, &xoff) != 0 + || read_be_int16 (font->file, &yoff) != 0 + || read_be_int16 (font->file, &dwidth) != 0) + { + remove_font (font); + return 0; + } + + len = (width * height + 7) / 8; + glyph = grub_malloc (sizeof (struct grub_font_glyph) + len); + if (!glyph) + { + remove_font (font); + return 0; + } + + glyph->font = font; + glyph->width = width; + glyph->height = height; + glyph->offset_x = xoff; + glyph->offset_y = yoff; + glyph->device_width = dwidth; + + /* Don't try to read empty bitmaps (e.g., space characters). */ + if (len != 0) + { + if (grub_file_read (font->file, glyph->bitmap, len) != len) + { + remove_font (font); + return 0; + } + } + + /* Restore old error message. */ + grub_error_pop (); + + /* Cache the glyph. */ + index_entry->glyph = glyph; + + return glyph; + } + + return 0; +} + +/* Free the memory used by FONT. + This should not be called if the font has been made available to + users (once it is added to the global font list), since there would + be the possibility of a dangling pointer. */ +static void +free_font (grub_font_t font) +{ + if (font) + { + if (font->file) + grub_file_close (font->file); + grub_free (font->name); + grub_free (font->family); + grub_free (font->char_index); + grub_free (font->bmp_idx); + grub_free (font); + } +} + +/* Add FONT to the global font registry. + Returns 0 upon success, nonzero on failure + (the font was not registered). */ +static int +register_font (grub_font_t font) +{ + struct grub_font_node *node = 0; + + node = grub_malloc (sizeof (struct grub_font_node)); + if (!node) + return 1; + + node->value = font; + node->next = grub_font_list; + grub_font_list = node; + + return 0; +} + +/* Remove the font from the global font list. We don't actually free the + font's memory since users could be holding references to the font. */ +static void +remove_font (grub_font_t font) +{ + struct grub_font_node **nextp, *cur; + + for (nextp = &grub_font_list, cur = *nextp; + cur; nextp = &cur->next, cur = cur->next) + { + if (cur->value == font) + { + *nextp = cur->next; + + /* Free the node, but not the font itself. */ + grub_free (cur); + + return; + } + } +} + +/* Get a font from the list of loaded fonts. This function will return + another font if the requested font is not available. If no fonts are + loaded, then a special 'null font' is returned, which contains no glyphs, + but is not a null pointer so the caller may omit checks for NULL. */ +grub_font_t +grub_font_get (const char *font_name) +{ + struct grub_font_node *node; + + for (node = grub_font_list; node; node = node->next) + { + grub_font_t font = node->value; + if (grub_strcmp (font->name, font_name) == 0) + return font; + } + + /* If no font by that name is found, return the first font in the list + as a fallback. */ + if (grub_font_list && grub_font_list->value) + return grub_font_list->value; + else + /* The null_font is a last resort. */ + return &null_font; +} + +/* Get the full name of the font. */ +const char * +grub_font_get_name (grub_font_t font) +{ + return font->name; +} + +/* Get the maximum width of any character in the font in pixels. */ +int +grub_font_get_max_char_width (grub_font_t font) +{ + return font->max_char_width; +} + +/* Get the maximum height of any character in the font in pixels. */ +int +grub_font_get_max_char_height (grub_font_t font) +{ + return font->max_char_height; +} + +/* Get the distance in pixels from the top of characters to the baseline. */ +int +grub_font_get_ascent (grub_font_t font) +{ + return font->ascent; +} + +/* Get the distance in pixels from the baseline to the lowest descenders + (for instance, in a lowercase 'y', 'g', etc.). */ +int +grub_font_get_descent (grub_font_t font) +{ + return font->descent; +} + +/* FIXME: not correct for all fonts. */ +int +grub_font_get_xheight (grub_font_t font) +{ + return font->ascent / 2; +} + +/* Get the *standard leading* of the font in pixel, which is the spacing + between two lines of text. Specifically, it is the space between the + descent of one line and the ascent of the next line. This is included + in the *height* metric. */ +int +grub_font_get_leading (grub_font_t font) +{ + return font->leading; +} + +/* Get the distance in pixels between baselines of adjacent lines of text. */ +int +grub_font_get_height (grub_font_t font) +{ + return font->ascent + font->descent + font->leading; +} + +/* Get the glyph for FONT corresponding to the Unicode code point CODE. + Returns the ASCII glyph for the code if no other fonts are available. + The glyphs are cached once loaded. */ +struct grub_font_glyph * +grub_font_get_glyph (grub_font_t font, grub_uint32_t code) +{ + struct grub_font_glyph *glyph = 0; + if (font) + glyph = grub_font_get_glyph_internal (font, code); + if (glyph == 0) + { + glyph = ascii_glyph_lookup (code); + } + return glyph; +} + + +/* Calculate a subject value representing "how similar" two fonts are. + This is used to prioritize the order that fonts are scanned for missing + glyphs. The object is to select glyphs from the most similar font + possible, for the best appearance. + The heuristic is crude, but it helps greatly when fonts of similar + sizes are used so that tiny 8 point glyphs are not mixed into a string + of 24 point text unless there is no other choice. */ +static int +get_font_diversity (grub_font_t a, grub_font_t b) +{ + int d; + + d = 0; + + if (a->ascent && b->ascent) + d += grub_abs (a->ascent - b->ascent) * 8; + else + /* Penalty for missing attributes. */ + d += 50; + + if (a->max_char_height && b->max_char_height) + d += grub_abs (a->max_char_height - b->max_char_height) * 8; + else + /* Penalty for missing attributes. */ + d += 50; + + /* Weight is a minor factor. */ + d += (a->weight != b->weight) ? 5 : 0; + + return d; +} + +/* Get a glyph corresponding to the codepoint CODE. If FONT contains the + specified glyph, then it is returned. Otherwise, all other loaded fonts + are searched until one is found that contains a glyph for CODE. + If no glyph is available for CODE in the loaded fonts, then a glyph + representing an unknown character is returned. + This function never returns NULL. + The returned glyph is owned by the font manager and should not be freed + by the caller. The glyphs are cached. */ +struct grub_font_glyph * +grub_font_get_glyph_with_fallback (grub_font_t font, grub_uint32_t code) +{ + struct grub_font_glyph *glyph; + struct grub_font_node *node; + /* Keep track of next node, in case there's an I/O error in + grub_font_get_glyph_internal() and the font is removed from the list. */ + struct grub_font_node *next; + /* Information on the best glyph found so far, to help find the glyph in + the best matching to the requested one. */ + int best_diversity; + struct grub_font_glyph *best_glyph; + + if (font) + { + /* First try to get the glyph from the specified font. */ + glyph = grub_font_get_glyph_internal (font, code); + if (glyph) + return glyph; + } + + /* Otherwise, search all loaded fonts for the glyph and use the one from + the font that best matches the requested font. */ + best_diversity = 10000; + best_glyph = 0; + + for (node = grub_font_list; node; node = next) + { + grub_font_t curfont; + + curfont = node->value; + next = node->next; + + glyph = grub_font_get_glyph_internal (curfont, code); + if (glyph && !font) + return glyph; + if (glyph) + { + int d; + + d = get_font_diversity (curfont, font); + if (d < best_diversity) + { + best_diversity = d; + best_glyph = glyph; + } + } + } + + return best_glyph; +} + +static struct grub_font_glyph * +grub_font_dup_glyph (struct grub_font_glyph *glyph) +{ + static struct grub_font_glyph *ret; + ret = grub_malloc (sizeof (*ret) + (glyph->width * glyph->height + 7) / 8); + if (!ret) + return NULL; + grub_memcpy (ret, glyph, sizeof (*ret) + + (glyph->width * glyph->height + 7) / 8); + return ret; +} + +/* FIXME: suboptimal. */ +static void +grub_font_blit_glyph (struct grub_font_glyph *target, + struct grub_font_glyph *src, unsigned dx, unsigned dy) +{ + unsigned src_bit, tgt_bit, src_byte, tgt_byte; + unsigned i, j; + for (i = 0; i < src->height; i++) + { + src_bit = (src->width * i) % 8; + src_byte = (src->width * i) / 8; + tgt_bit = (target->width * (dy + i) + dx) % 8; + tgt_byte = (target->width * (dy + i) + dx) / 8; + for (j = 0; j < src->width; j++) + { + target->bitmap[tgt_byte] |= ((src->bitmap[src_byte] << src_bit) + & 0x80) >> tgt_bit; + src_bit++; + tgt_bit++; + if (src_bit == 8) + { + src_byte++; + src_bit = 0; + } + if (tgt_bit == 8) + { + tgt_byte++; + tgt_bit = 0; + } + } + } +} + +static void +grub_font_blit_glyph_mirror (struct grub_font_glyph *target, + struct grub_font_glyph *src, + unsigned dx, unsigned dy) +{ + unsigned tgt_bit, src_byte, tgt_byte; + signed src_bit; + unsigned i, j; + for (i = 0; i < src->height; i++) + { + src_bit = (src->width * i + src->width - 1) % 8; + src_byte = (src->width * i + src->width - 1) / 8; + tgt_bit = (target->width * (dy + i) + dx) % 8; + tgt_byte = (target->width * (dy + i) + dx) / 8; + for (j = 0; j < src->width; j++) + { + target->bitmap[tgt_byte] |= ((src->bitmap[src_byte] << src_bit) + & 0x80) >> tgt_bit; + src_bit--; + tgt_bit++; + if (src_bit == -1) + { + src_byte--; + src_bit = 7; + } + if (tgt_bit == 8) + { + tgt_byte++; + tgt_bit = 0; + } + } + } +} + +static void +blit_comb (const struct grub_unicode_glyph *glyph_id, + struct grub_font_glyph *glyph, + struct grub_video_signed_rect *bounds_out, + struct grub_font_glyph *main_glyph, + struct grub_font_glyph **combining_glyphs, int *device_width) +{ + struct grub_video_signed_rect bounds; + unsigned i; + signed above_rightx, above_righty; + signed above_leftx, above_lefty; + signed below_rightx, below_righty; + signed min_devwidth = 0; + auto void NESTED_FUNC_ATTR do_blit (struct grub_font_glyph *src, + signed dx, signed dy); + void NESTED_FUNC_ATTR do_blit (struct grub_font_glyph *src, + signed dx, signed dy) + { + if (glyph) + grub_font_blit_glyph (glyph, src, dx - glyph->offset_x, + (glyph->height + glyph->offset_y) + dy); + if (dx < bounds.x) + { + bounds.width += bounds.x - dx; + bounds.x = dx; + } + if (bounds.y > -src->height - dy) + { + bounds.height += bounds.y - (-src->height - dy); + bounds.y = (-src->height - dy); + } + if (dx + src->width - bounds.x >= (signed) bounds.width) + bounds.width = dx + src->width - bounds.x + 1; + if ((signed) bounds.height < src->height + (-src->height - dy) - bounds.y) + bounds.height = src->height + (-src->height - dy) - bounds.y; + } + + auto void add_device_width (int val); + void add_device_width (int val) + { + if (glyph) + glyph->device_width += val; + if (device_width) + *device_width += val; + } + + if (glyph) + glyph->device_width = main_glyph->device_width; + if (device_width) + *device_width = main_glyph->device_width; + + bounds.x = main_glyph->offset_x; + bounds.y = main_glyph->offset_y; + bounds.width = main_glyph->width; + bounds.height = main_glyph->height; + + above_rightx = main_glyph->offset_x + main_glyph->width; + above_righty = bounds.y + bounds.height; + + above_leftx = main_glyph->offset_x; + above_lefty = bounds.y + bounds.height; + + below_rightx = bounds.x + bounds.width; + below_righty = bounds.y; + + for (i = 0; i < glyph_id->ncomb; i++) + { + grub_int16_t space = 0; + /* Center by default. */ + grub_int16_t targetx; + + if (!combining_glyphs[i]) + continue; + targetx = (bounds.width - combining_glyphs[i]->width) / 2 + bounds.x; + /* CGJ is to avoid diacritics reordering. */ + if (glyph_id->combining[i].code + == GRUB_UNICODE_COMBINING_GRAPHEME_JOINER) + continue; + switch (glyph_id->combining[i].type) + { + case GRUB_UNICODE_COMB_OVERLAY: + do_blit (combining_glyphs[i], + targetx, + (bounds.height - combining_glyphs[i]->height) / 2 + - (bounds.height + bounds.y)); + if (min_devwidth < combining_glyphs[i]->width) + min_devwidth = combining_glyphs[i]->width; + break; + + case GRUB_UNICODE_COMB_ATTACHED_ABOVE_RIGHT: + do_blit (combining_glyphs[i], above_rightx, -above_righty); + above_rightx += combining_glyphs[i]->width; + break; + + case GRUB_UNICODE_COMB_ABOVE_RIGHT: + do_blit (combining_glyphs[i], above_rightx, + -(above_righty + combining_glyphs[i]->height)); + above_rightx += combining_glyphs[i]->width; + break; + + case GRUB_UNICODE_COMB_ABOVE_LEFT: + above_leftx -= combining_glyphs[i]->width; + do_blit (combining_glyphs[i], above_leftx, + -(above_lefty + combining_glyphs[i]->height)); + break; + + case GRUB_UNICODE_COMB_BELOW_RIGHT: + do_blit (combining_glyphs[i], below_rightx, below_righty); + below_rightx += combining_glyphs[i]->width; + break; + + case GRUB_UNICODE_COMB_HEBREW_HOLAM: + if (glyph_id->base != GRUB_UNICODE_HEBREW_WAW) + targetx = + main_glyph->offset_x - combining_glyphs[i]->width - + (combining_glyphs[i]->width + 3) / 4; + goto above_on_main; + + case GRUB_UNICODE_COMB_HEBREW_SIN_DOT: + targetx = main_glyph->offset_x + combining_glyphs[i]->width / 4; + goto above_on_main; + + case GRUB_UNICODE_COMB_HEBREW_SHIN_DOT: + targetx = + main_glyph->width + main_glyph->offset_x - + combining_glyphs[i]->width; + above_on_main: + space = combining_glyphs[i]->offset_y + - grub_font_get_xheight (combining_glyphs[i]->font) - 1; + if (space <= 0) + space = 1 + (grub_font_get_xheight (main_glyph->font)) / 8; + do_blit (combining_glyphs[i], targetx, + -(main_glyph->height + main_glyph->offset_y + space + + combining_glyphs[i]->height)); + if (min_devwidth < combining_glyphs[i]->width) + min_devwidth = combining_glyphs[i]->width; + break; + + /* TODO: Put dammah, fathah and alif nearer to shadda. */ + case GRUB_UNICODE_COMB_SYRIAC_SUPERSCRIPT_ALAPH: + case GRUB_UNICODE_COMB_ARABIC_DAMMAH: + case GRUB_UNICODE_COMB_ARABIC_DAMMATAN: + case GRUB_UNICODE_COMB_ARABIC_FATHATAN: + case GRUB_UNICODE_COMB_ARABIC_FATHAH: + case GRUB_UNICODE_COMB_ARABIC_SUPERSCRIPT_ALIF: + case GRUB_UNICODE_COMB_ARABIC_SUKUN: + case GRUB_UNICODE_COMB_ARABIC_SHADDA: + case GRUB_UNICODE_COMB_HEBREW_RAFE: + case GRUB_UNICODE_STACK_ABOVE: + stacked_above: + space = combining_glyphs[i]->offset_y + - grub_font_get_xheight (combining_glyphs[i]->font) - 1; + if (space <= 0) + space = 1 + (grub_font_get_xheight (main_glyph->font)) / 8; + + case GRUB_UNICODE_STACK_ATTACHED_ABOVE: + do_blit (combining_glyphs[i], targetx, + -(bounds.height + bounds.y + space + + combining_glyphs[i]->height)); + if (min_devwidth < combining_glyphs[i]->width) + min_devwidth = combining_glyphs[i]->width; + break; + + case GRUB_UNICODE_COMB_HEBREW_SHEVA: + case GRUB_UNICODE_COMB_HEBREW_HIRIQ: + case GRUB_UNICODE_COMB_HEBREW_QAMATS: + case GRUB_UNICODE_COMB_HEBREW_TSERE: + case GRUB_UNICODE_COMB_HEBREW_SEGOL: + /* TODO: placement in final kaf and under reish. */ + + case GRUB_UNICODE_COMB_HEBREW_HATAF_SEGOL: + case GRUB_UNICODE_COMB_HEBREW_HATAF_PATAH: + case GRUB_UNICODE_COMB_HEBREW_HATAF_QAMATS: + case GRUB_UNICODE_COMB_HEBREW_PATAH: + case GRUB_UNICODE_COMB_HEBREW_QUBUTS: + case GRUB_UNICODE_COMB_HEBREW_METEG: + /* TODO: Put kasra and kasratan under shadda. */ + case GRUB_UNICODE_COMB_ARABIC_KASRA: + case GRUB_UNICODE_COMB_ARABIC_KASRATAN: + /* I don't know how ypogegrammeni differs from subscript. */ + case GRUB_UNICODE_COMB_YPOGEGRAMMENI: + case GRUB_UNICODE_STACK_BELOW: + stacked_below: + space = -(combining_glyphs[i]->offset_y + + combining_glyphs[i]->height); + if (space <= 0) + space = 1 + (grub_font_get_xheight (main_glyph->font)) / 8; + + case GRUB_UNICODE_STACK_ATTACHED_BELOW: + do_blit (combining_glyphs[i], targetx, -(bounds.y - space)); + if (min_devwidth < combining_glyphs[i]->width) + min_devwidth = combining_glyphs[i]->width; + break; + + case GRUB_UNICODE_COMB_MN: + switch (glyph_id->combining[i].code) + { + case GRUB_UNICODE_THAANA_ABAFILI: + case GRUB_UNICODE_THAANA_AABAAFILI: + case GRUB_UNICODE_THAANA_UBUFILI: + case GRUB_UNICODE_THAANA_OOBOOFILI: + case GRUB_UNICODE_THAANA_EBEFILI: + case GRUB_UNICODE_THAANA_EYBEYFILI: + case GRUB_UNICODE_THAANA_OBOFILI: + case GRUB_UNICODE_THAANA_OABOAFILI: + case GRUB_UNICODE_THAANA_SUKUN: + goto stacked_above; + case GRUB_UNICODE_THAANA_IBIFILI: + case GRUB_UNICODE_THAANA_EEBEEFILI: + goto stacked_below; + } + /* Fall through. */ + default: + { + /* Default handling. Just draw combining character on top + of base character. + FIXME: support more unicode types correctly. + */ + do_blit (combining_glyphs[i], + main_glyph->device_width + + combining_glyphs[i]->offset_x, + -(combining_glyphs[i]->height + + combining_glyphs[i]->offset_y)); + add_device_width (combining_glyphs[i]->device_width); + } + } + } + add_device_width ((above_rightx > + below_rightx ? above_rightx : below_rightx) - + (main_glyph->offset_x + main_glyph->width)); + add_device_width (above_leftx - main_glyph->offset_x); + if (glyph && glyph->device_width < min_devwidth) + glyph->device_width = min_devwidth; + if (device_width && *device_width < min_devwidth) + *device_width = min_devwidth; + + if (bounds_out) + *bounds_out = bounds; +} + +static struct grub_font_glyph * +grub_font_construct_dry_run (grub_font_t hinted_font, + const struct grub_unicode_glyph *glyph_id, + struct grub_video_signed_rect *bounds, + struct grub_font_glyph ***combining_glyphs_out, + int *device_width) +{ + struct grub_font_glyph *main_glyph = NULL; + struct grub_font_glyph **combining_glyphs; + grub_uint32_t desired_attributes = 0; + + if (combining_glyphs_out) + *combining_glyphs_out = NULL; + + if (glyph_id->attributes & GRUB_UNICODE_GLYPH_ATTRIBUTE_RIGHT_JOINED) + desired_attributes |= GRUB_FONT_CODE_RIGHT_JOINED; + + if (glyph_id->attributes & GRUB_UNICODE_GLYPH_ATTRIBUTE_LEFT_JOINED) + desired_attributes |= GRUB_FONT_CODE_LEFT_JOINED; + + main_glyph = grub_font_get_glyph_with_fallback (hinted_font, glyph_id->base + | desired_attributes); + + if (!main_glyph) + main_glyph = grub_font_get_glyph_with_fallback (hinted_font, + glyph_id->base); + + /* Glyph not available in any font. Use ASCII fallback. */ + if (!main_glyph) + main_glyph = ascii_glyph_lookup (glyph_id->base); + + /* Glyph not available in any font. Return unknown glyph. */ + if (!main_glyph) + return NULL; + + if (device_width) + *device_width = main_glyph->device_width; + + if (!glyph_id->ncomb && !glyph_id->attributes) + return main_glyph; + + combining_glyphs = grub_malloc (sizeof (combining_glyphs[0]) + * glyph_id->ncomb); + if (glyph_id->ncomb && !combining_glyphs) + { + grub_errno = GRUB_ERR_NONE; + return main_glyph; + } + + { + unsigned i; + for (i = 0; i < glyph_id->ncomb; i++) + combining_glyphs[i] + = grub_font_get_glyph_with_fallback (main_glyph->font, + glyph_id->combining[i].code); + } + + blit_comb (glyph_id, NULL, bounds, main_glyph, combining_glyphs, + device_width); + if (combining_glyphs_out) + *combining_glyphs_out = combining_glyphs; + else + grub_free (combining_glyphs); + + return main_glyph; +} + +int +grub_font_get_constructed_device_width (grub_font_t hinted_font, + const struct grub_unicode_glyph + *glyph_id) +{ + int ret; + struct grub_font_glyph *main_glyph; + main_glyph = grub_font_construct_dry_run (hinted_font, glyph_id, NULL, + NULL, &ret); + if (!main_glyph) + return unknown_glyph->device_width; + return ret; +} + +struct grub_font_glyph * +grub_font_construct_glyph (grub_font_t hinted_font, + const struct grub_unicode_glyph *glyph_id) +{ + struct grub_font_glyph *main_glyph; + struct grub_video_signed_rect bounds; + struct grub_font_glyph *glyph; + struct grub_font_glyph **combining_glyphs; + + main_glyph = grub_font_construct_dry_run (hinted_font, glyph_id, + &bounds, &combining_glyphs, NULL); + + if (!main_glyph) + return grub_font_dup_glyph (unknown_glyph); + + if (!combining_glyphs) + return grub_font_dup_glyph (main_glyph); + + glyph = + grub_zalloc (sizeof (*glyph) + (bounds.width * bounds.height + 7) / 8); + if (!glyph) + { + grub_errno = GRUB_ERR_NONE; + return grub_font_dup_glyph (main_glyph); + } + + glyph->font = main_glyph->font; + glyph->width = bounds.width; + glyph->height = bounds.height; + glyph->offset_x = bounds.x; + glyph->offset_y = bounds.y; + + if (glyph_id->attributes & GRUB_UNICODE_GLYPH_ATTRIBUTE_MIRROR) + grub_font_blit_glyph_mirror (glyph, main_glyph, + main_glyph->offset_x - glyph->offset_x, + (glyph->height + glyph->offset_y) + - (main_glyph->height + + main_glyph->offset_y)); + else + grub_font_blit_glyph (glyph, main_glyph, + main_glyph->offset_x - glyph->offset_x, + (glyph->height + glyph->offset_y) + - (main_glyph->height + main_glyph->offset_y)); + + blit_comb (glyph_id, glyph, NULL, main_glyph, combining_glyphs, NULL); + + return glyph; +} + +/* Draw the specified glyph at (x, y). The y coordinate designates the + baseline of the character, while the x coordinate designates the left + side location of the character. */ +grub_err_t +grub_font_draw_glyph (struct grub_font_glyph * glyph, + grub_video_color_t color, int left_x, int baseline_y) +{ + struct grub_video_bitmap glyph_bitmap; + + /* Don't try to draw empty glyphs (U+0020, etc.). */ + if (glyph->width == 0 || glyph->height == 0) + return GRUB_ERR_NONE; + + glyph_bitmap.mode_info.width = glyph->width; + glyph_bitmap.mode_info.height = glyph->height; + glyph_bitmap.mode_info.mode_type + = (1 << GRUB_VIDEO_MODE_TYPE_DEPTH_POS) | GRUB_VIDEO_MODE_TYPE_1BIT_BITMAP; + glyph_bitmap.mode_info.blit_format = GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED; + glyph_bitmap.mode_info.bpp = 1; + + /* Really 1 bit per pixel. */ + glyph_bitmap.mode_info.bytes_per_pixel = 0; + + /* Packed densely as bits. */ + glyph_bitmap.mode_info.pitch = glyph->width; + + glyph_bitmap.mode_info.number_of_colors = 2; + glyph_bitmap.mode_info.bg_red = 0; + glyph_bitmap.mode_info.bg_green = 0; + glyph_bitmap.mode_info.bg_blue = 0; + glyph_bitmap.mode_info.bg_alpha = 0; + grub_video_unmap_color (color, + &glyph_bitmap.mode_info.fg_red, + &glyph_bitmap.mode_info.fg_green, + &glyph_bitmap.mode_info.fg_blue, + &glyph_bitmap.mode_info.fg_alpha); + glyph_bitmap.data = glyph->bitmap; + + int bitmap_left = left_x + glyph->offset_x; + int bitmap_bottom = baseline_y - glyph->offset_y; + int bitmap_top = bitmap_bottom - glyph->height; + + return grub_video_blit_bitmap (&glyph_bitmap, GRUB_VIDEO_BLIT_BLEND, + bitmap_left, bitmap_top, + 0, 0, glyph->width, glyph->height); +} diff --git a/grub-core/font/font_cmd.c b/grub-core/font/font_cmd.c new file mode 100644 index 0000000..98f0b88 --- /dev/null +++ b/grub-core/font/font_cmd.c @@ -0,0 +1,84 @@ +/* font_cmd.c - Font command definition. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +static grub_err_t +loadfont_command (grub_command_t cmd __attribute__ ((unused)), + int argc, + char **args) +{ + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no font specified"); + + while (argc--) + if (grub_font_load (*args++) != 0) + { + if (!grub_errno) + return grub_error (GRUB_ERR_BAD_FONT, "invalid font"); + return grub_errno; + } + + return GRUB_ERR_NONE; +} + +static grub_err_t +lsfonts_command (grub_command_t cmd __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + struct grub_font_node *node; + + grub_printf ("Loaded fonts:\n"); + for (node = grub_font_list; node; node = node->next) + { + grub_font_t font = node->value; + grub_printf ("%s\n", grub_font_get_name (font)); + } + + return GRUB_ERR_NONE; +} + +static grub_command_t cmd_loadfont, cmd_lsfonts; + +GRUB_MOD_INIT(font) +{ + grub_font_loader_init (); + + cmd_loadfont = + grub_register_command ("loadfont", loadfont_command, + N_("FILE..."), + N_("Specify one or more font files to load.")); + cmd_lsfonts = + grub_register_command ("lsfonts", lsfonts_command, + 0, N_("List the loaded fonts.")); +} + +GRUB_MOD_FINI(font) +{ + /* TODO: Determine way to free allocated resources. + Warning: possible pointer references could be in use. */ + + grub_unregister_command (cmd_loadfont); + grub_unregister_command (cmd_lsfonts); +} diff --git a/grub-core/fs/affs.c b/grub-core/fs/affs.c new file mode 100644 index 0000000..1c4f80e --- /dev/null +++ b/grub-core/fs/affs.c @@ -0,0 +1,555 @@ +/* affs.c - Amiga Fast FileSystem. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* The affs bootblock. */ +struct grub_affs_bblock +{ + grub_uint8_t type[3]; + grub_uint8_t flags; + grub_uint32_t checksum; + grub_uint32_t rootblock; +} __attribute__ ((packed)); + +/* Set if the filesystem is a AFFS filesystem. Otherwise this is an + OFS filesystem. */ +#define GRUB_AFFS_FLAG_FFS 1 + +/* The affs rootblock. */ +struct grub_affs_rblock +{ + grub_uint8_t type[4]; + grub_uint8_t unused1[8]; + grub_uint32_t htsize; + grub_uint32_t unused2; + grub_uint32_t checksum; + grub_uint32_t hashtable[1]; +} __attribute__ ((packed)); + +/* The second part of a file header block. */ +struct grub_affs_file +{ + grub_uint8_t unused1[12]; + grub_uint32_t size; + grub_uint8_t unused2[104]; + grub_uint8_t namelen; + grub_uint8_t name[30]; + grub_uint8_t unused3[33]; + grub_uint32_t next; + grub_uint32_t parent; + grub_uint32_t extension; + grub_int32_t type; +} __attribute__ ((packed)); + +/* The location of `struct grub_affs_file' relative to the end of a + file header block. */ +#define GRUB_AFFS_FILE_LOCATION 200 + +/* The offset in both the rootblock and the file header block for the + hashtable, symlink and block pointers (all synonyms). */ +#define GRUB_AFFS_HASHTABLE_OFFSET 24 +#define GRUB_AFFS_BLOCKPTR_OFFSET 24 +#define GRUB_AFFS_SYMLINK_OFFSET 24 + +#define GRUB_AFFS_SYMLINK_SIZE(blocksize) ((blocksize) - 225) + +#define GRUB_AFFS_FILETYPE_DIR -3 +#define GRUB_AFFS_FILETYPE_REG 2 +#define GRUB_AFFS_FILETYPE_SYMLINK 3 + + +struct grub_fshelp_node +{ + struct grub_affs_data *data; + int block; + int size; + int parent; +}; + +/* Information about a "mounted" affs filesystem. */ +struct grub_affs_data +{ + struct grub_affs_bblock bblock; + struct grub_fshelp_node diropen; + grub_disk_t disk; + + /* Blocksize in sectors. */ + int blocksize; + + /* The number of entries in the hashtable. */ + int htsize; +}; + +static grub_dl_t my_mod; + + +static grub_disk_addr_t +grub_affs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + int links; + grub_uint32_t pos; + int block = node->block; + struct grub_affs_file file; + struct grub_affs_data *data = node->data; + grub_uint32_t mod; + + /* Find the block that points to the fileblock we are looking up by + following the chain until the right table is reached. */ + for (links = grub_divmod64 (fileblock, data->htsize, &mod); links; links--) + { + grub_disk_read (data->disk, block + data->blocksize - 1, + data->blocksize * (GRUB_DISK_SECTOR_SIZE + - GRUB_AFFS_FILE_LOCATION), + sizeof (file), &file); + if (grub_errno) + return 0; + + block = grub_be_to_cpu32 (file.extension); + } + + /* Translate the fileblock to the block within the right table. */ + fileblock = mod; + grub_disk_read (data->disk, block, + GRUB_AFFS_BLOCKPTR_OFFSET + + (data->htsize - fileblock - 1) * sizeof (pos), + sizeof (pos), &pos); + if (grub_errno) + return 0; + + return grub_be_to_cpu32 (pos); +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_affs_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_affs_read_block, + node->size, 0); +} + + +static struct grub_affs_data * +grub_affs_mount (grub_disk_t disk) +{ + struct grub_affs_data *data; + grub_uint32_t *rootblock = 0; + struct grub_affs_rblock *rblock; + + int checksum = 0; + int checksumr = 0; + int blocksize = 0; + + data = grub_malloc (sizeof (struct grub_affs_data)); + if (!data) + return 0; + + /* Read the bootblock. */ + grub_disk_read (disk, 0, 0, sizeof (struct grub_affs_bblock), + &data->bblock); + if (grub_errno) + goto fail; + + /* Make sure this is an affs filesystem. */ + if (grub_strncmp ((char *) (data->bblock.type), "DOS", 3)) + { + grub_error (GRUB_ERR_BAD_FS, "not an AFFS filesystem"); + goto fail; + } + + /* Test if the filesystem is a OFS filesystem. */ + if (! (data->bblock.flags & GRUB_AFFS_FLAG_FFS)) + { + grub_error (GRUB_ERR_BAD_FS, "OFS not yet supported"); + goto fail; + } + + /* Read the bootblock. */ + grub_disk_read (disk, 0, 0, sizeof (struct grub_affs_bblock), + &data->bblock); + if (grub_errno) + goto fail; + + /* No sane person uses more than 8KB for a block. At least I hope + for that person because in that case this won't work. */ + rootblock = grub_malloc (GRUB_DISK_SECTOR_SIZE * 16); + if (!rootblock) + goto fail; + + rblock = (struct grub_affs_rblock *) rootblock; + + /* Read the rootblock. */ + grub_disk_read (disk, grub_be_to_cpu32 (data->bblock.rootblock), 0, + GRUB_DISK_SECTOR_SIZE * 16, rootblock); + if (grub_errno) + goto fail; + + /* The filesystem blocksize is not stored anywhere in the filesystem + itself. One way to determine it is reading blocks for the + rootblock until the checksum is correct. */ + checksumr = grub_be_to_cpu32 (rblock->checksum); + rblock->checksum = 0; + for (blocksize = 0; blocksize < 8; blocksize++) + { + grub_uint32_t *currblock = rootblock + GRUB_DISK_SECTOR_SIZE * blocksize; + unsigned int i; + + for (i = 0; i < GRUB_DISK_SECTOR_SIZE / sizeof (*currblock); i++) + checksum += grub_be_to_cpu32 (currblock[i]); + + if (checksumr == -checksum) + break; + } + if (-checksum != checksumr) + { + grub_error (GRUB_ERR_BAD_FS, "AFFS blocksize couldn't be determined"); + goto fail; + } + blocksize++; + + data->blocksize = blocksize; + data->disk = disk; + data->htsize = grub_be_to_cpu32 (rblock->htsize); + data->diropen.data = data; + data->diropen.block = grub_be_to_cpu32 (data->bblock.rootblock); + + grub_free (rootblock); + + return data; + + fail: + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not an AFFS filesystem"); + + grub_free (data); + grub_free (rootblock); + return 0; +} + + +static char * +grub_affs_read_symlink (grub_fshelp_node_t node) +{ + struct grub_affs_data *data = node->data; + char *symlink; + + symlink = grub_malloc (GRUB_AFFS_SYMLINK_SIZE (data->blocksize)); + if (!symlink) + return 0; + + grub_disk_read (data->disk, node->block, GRUB_AFFS_SYMLINK_OFFSET, + GRUB_AFFS_SYMLINK_SIZE (data->blocksize), symlink); + if (grub_errno) + { + grub_free (symlink); + return 0; + } + grub_dprintf ("affs", "Symlink: `%s'\n", symlink); + return symlink; +} + + +static int +grub_affs_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + int i; + struct grub_affs_file file; + struct grub_fshelp_node *node = 0; + struct grub_affs_data *data = dir->data; + grub_uint32_t *hashtable; + + auto int NESTED_FUNC_ATTR grub_affs_create_node (const char *name, int block, + int size, int type); + + int NESTED_FUNC_ATTR grub_affs_create_node (const char *name, int block, + int size, int type) + { + node = grub_malloc (sizeof (*node)); + if (!node) + { + grub_free (hashtable); + return 1; + } + + node->data = data; + node->size = size; + node->block = block; + node->parent = grub_be_to_cpu32 (file.parent); + + if (hook (name, type, node)) + { + grub_free (hashtable); + return 1; + } + return 0; + } + + hashtable = grub_malloc (data->htsize * sizeof (*hashtable)); + if (!hashtable) + return 1; + + grub_disk_read (data->disk, dir->block, GRUB_AFFS_HASHTABLE_OFFSET, + data->htsize * sizeof (*hashtable), (char *) hashtable); + if (grub_errno) + goto fail; + + /* Create the directory entries for `.' and `..'. */ + if (grub_affs_create_node (".", dir->block, dir->size, GRUB_FSHELP_DIR)) + return 1; + if (grub_affs_create_node ("..", dir->parent ? dir->parent : dir->block, + dir->size, GRUB_FSHELP_DIR)) + return 1; + + for (i = 0; i < data->htsize; i++) + { + enum grub_fshelp_filetype type; + grub_uint64_t next; + + if (!hashtable[i]) + continue; + + /* Every entry in the hashtable can be chained. Read the entire + chain. */ + next = grub_be_to_cpu32 (hashtable[i]); + + while (next) + { + grub_disk_read (data->disk, next + data->blocksize - 1, + data->blocksize * GRUB_DISK_SECTOR_SIZE + - GRUB_AFFS_FILE_LOCATION, + sizeof (file), (char *) &file); + if (grub_errno) + goto fail; + + file.name[file.namelen] = '\0'; + + if ((int) grub_be_to_cpu32 (file.type) == GRUB_AFFS_FILETYPE_DIR) + type = GRUB_FSHELP_REG; + else if (grub_be_to_cpu32 (file.type) == GRUB_AFFS_FILETYPE_REG) + type = GRUB_FSHELP_DIR; + else if (grub_be_to_cpu32 (file.type) == GRUB_AFFS_FILETYPE_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else + type = GRUB_FSHELP_UNKNOWN; + + if (grub_affs_create_node ((char *) (file.name), next, + grub_be_to_cpu32 (file.size), type)) + return 1; + + next = grub_be_to_cpu32 (file.next); + } + } + + grub_free (hashtable); + return 0; + + fail: + grub_free (node); + grub_free (hashtable); + return 0; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_affs_open (struct grub_file *file, const char *name) +{ + struct grub_affs_data *data; + struct grub_fshelp_node *fdiro = 0; + + grub_dl_ref (my_mod); + + data = grub_affs_mount (file->device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (name, &data->diropen, &fdiro, grub_affs_iterate_dir, + grub_affs_read_symlink, GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + + file->size = fdiro->size; + data->diropen = *fdiro; + grub_free (fdiro); + + file->data = data; + file->offset = 0; + + return 0; + + fail: + if (data && fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_err_t +grub_affs_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + + +/* Read LEN bytes data from FILE into BUF. */ +static grub_ssize_t +grub_affs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_affs_data *data = + (struct grub_affs_data *) file->data; + + int size = grub_affs_read_file (&data->diropen, file->read_hook, + file->offset, len, buf); + + return size; +} + + +static grub_err_t +grub_affs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_affs_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_affs_mount (device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (path, &data->diropen, &fdiro, grub_affs_iterate_dir, + grub_affs_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + grub_affs_iterate_dir (fdiro, iterate); + + fail: + if (data && fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_err_t +grub_affs_label (grub_device_t device, char **label) +{ + struct grub_affs_data *data; + struct grub_affs_file file; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_affs_mount (disk); + if (data) + { + /* The rootblock maps quite well on a file header block, it's + something we can use here. */ + grub_disk_read (data->disk, grub_be_to_cpu32 (data->bblock.rootblock), + data->blocksize * (GRUB_DISK_SECTOR_SIZE + - GRUB_AFFS_FILE_LOCATION), + sizeof (file), &file); + if (grub_errno) + return 0; + + *label = grub_strndup ((char *) (file.name), file.namelen); + } + else + *label = 0; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + +static struct grub_fs grub_affs_fs = + { + .name = "affs", + .dir = grub_affs_dir, + .open = grub_affs_open, + .read = grub_affs_read, + .close = grub_affs_close, + .label = grub_affs_label, +#ifdef GRUB_UTIL + .reserved_first_sector = 0, +#endif + .next = 0 + }; + +GRUB_MOD_INIT(affs) +{ + grub_fs_register (&grub_affs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(affs) +{ + grub_fs_unregister (&grub_affs_fs); +} diff --git a/grub-core/fs/afs.c b/grub-core/fs/afs.c new file mode 100644 index 0000000..35ef499 --- /dev/null +++ b/grub-core/fs/afs.c @@ -0,0 +1,720 @@ +/* afs.c - The native AtheOS file-system. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#ifdef MODE_BIGENDIAN +#define GRUB_AFS_FSNAME_SUFFIX "_be" +#else +#define GRUB_AFS_FSNAME_SUFFIX "" +#endif + +#ifdef MODE_BFS +#define GRUB_AFS_FSNAME "befs" GRUB_AFS_FSNAME_SUFFIX +#else +#define GRUB_AFS_FSNAME "afs" GRUB_AFS_FSNAME_SUFFIX +#endif + +#define GRUB_AFS_DIRECT_BLOCK_COUNT 12 +#define GRUB_AFS_BLOCKS_PER_DI_RUN 4 + +#ifdef MODE_BFS +#define GRUB_AFS_SBLOCK_SECTOR 1 +#define GRUB_AFS_SBLOCK_MAGIC1 0x42465331 /* BFS1. */ +#else +#define GRUB_AFS_SBLOCK_SECTOR 2 +#define GRUB_AFS_SBLOCK_MAGIC1 0x41465331 /* AFS1. */ +#endif + +#define GRUB_AFS_SBLOCK_MAGIC2 0xdd121031 +#define GRUB_AFS_SBLOCK_MAGIC3 0x15b6830e + +#define GRUB_AFS_INODE_MAGIC 0x64358428 + +#ifdef MODE_BFS +#define GRUB_AFS_BTREE_MAGIC 0x69f6c2e8 +#else +#define GRUB_AFS_BTREE_MAGIC 0x65768995 +#endif + +#define GRUB_AFS_BNODE_SIZE 1024 + +#define GRUB_AFS_S_IFMT 00170000 +#define GRUB_AFS_S_IFLNK 0120000 + +#define GRUB_AFS_S_IFREG 0100000 +#define GRUB_AFS_S_IFDIR 0040000 +#define GRUB_AFS_S_IFIFO 0010000 + +#define GRUB_AFS_NULL_VAL ((grub_afs_bvalue_t)-1) + +#ifdef MODE_BIGENDIAN +#define grub_afs_to_cpu16(x) grub_be_to_cpu16 (x) +#define grub_afs_to_cpu32(x) grub_be_to_cpu32 (x) +#define grub_afs_to_cpu64(x) grub_be_to_cpu64 (x) +#else +#define grub_afs_to_cpu16(x) grub_le_to_cpu16 (x) +#define grub_afs_to_cpu32(x) grub_le_to_cpu32 (x) +#define grub_afs_to_cpu64(x) grub_le_to_cpu64 (x) +#endif + +#ifdef MODE_BFS +#define B_KEY_INDEX_ALIGN 8 +#else +#define B_KEY_INDEX_ALIGN 4 +#endif + +#define B_KEY_INDEX_OFFSET(node) ((grub_uint16_t *) \ + ((char *) (node) \ + + ALIGN_UP (sizeof (struct grub_afs_bnode) \ + + node->key_size, \ + B_KEY_INDEX_ALIGN))) + +#define B_KEY_VALUE_OFFSET(node) ((grub_afs_bvalue_t *) \ + ((char *) B_KEY_INDEX_OFFSET (node) + \ + node->key_count * 2)) + +typedef grub_uint64_t grub_afs_off_t; +typedef grub_uint64_t grub_afs_bigtime; +typedef grub_uint64_t grub_afs_bvalue_t; + +struct grub_afs_blockrun +{ + grub_uint32_t group; + grub_uint16_t start; + grub_uint16_t len; +} __attribute__ ((packed)); + +struct grub_afs_datastream +{ + struct grub_afs_blockrun direct[GRUB_AFS_DIRECT_BLOCK_COUNT]; + grub_afs_off_t max_direct_range; + struct grub_afs_blockrun indirect; + grub_afs_off_t max_indirect_range; + struct grub_afs_blockrun double_indirect; + grub_afs_off_t max_double_indirect_range; + grub_afs_off_t size; +} __attribute__ ((packed)); + +struct grub_afs_bnode +{ + grub_afs_bvalue_t left; + grub_afs_bvalue_t right; + grub_afs_bvalue_t overflow; +#ifdef MODE_BFS + grub_uint16_t key_count; + grub_uint16_t key_size; +#else + grub_uint32_t key_count; + grub_uint32_t key_size; +#endif + char key_data[0]; +} __attribute__ ((packed)); + +#ifdef MODE_BFS +struct grub_afs_btree +{ + grub_uint32_t magic; + grub_uint32_t unused1; + grub_uint32_t tree_depth; + grub_uint32_t unused2; + grub_afs_bvalue_t root; + grub_uint32_t unused3[4]; +} __attribute__ ((packed)); +#else +struct grub_afs_btree +{ + grub_uint32_t magic; + grub_afs_bvalue_t root; + grub_uint32_t tree_depth; + grub_afs_bvalue_t last_node; + grub_afs_bvalue_t first_free; +} __attribute__ ((packed)); +#endif + +/* Beware that following structure describes AtheFS and if you write code + which uses currently unused fields check it with both AtheFS and BeFS. + */ +struct grub_afs_sblock +{ + char name[32]; + grub_uint32_t magic1; + grub_uint32_t byte_order; + grub_uint32_t block_size; + grub_uint32_t block_shift; + grub_afs_off_t num_blocks; + grub_afs_off_t used_blocks; + grub_uint32_t inode_size; + grub_uint32_t magic2; + grub_uint32_t block_per_group; /* Number of blocks per allocation + group. (Max 65536) */ + grub_uint32_t alloc_group_shift; /* Number of bits to shift a group + number to get a byte address. */ + grub_uint32_t alloc_group_count; + grub_uint32_t flags; + struct grub_afs_blockrun log_block; + grub_afs_off_t log_start; + grub_uint32_t valid_log_blocks; + grub_uint32_t log_size; + grub_uint32_t magic3; + struct grub_afs_blockrun root_dir; /* Root dir inode. */ + struct grub_afs_blockrun deleted_files; /* Directory containing files + scheduled for deletion. */ + struct grub_afs_blockrun index_dir; /* Directory of index files. */ + grub_uint32_t boot_loader_size; + grub_uint32_t pad[7]; +} __attribute__ ((packed)); + +struct grub_afs_inode +{ + grub_uint32_t magic1; + struct grub_afs_blockrun inode_num; + grub_uint32_t uid; + grub_uint32_t gid; + grub_uint32_t mode; + grub_uint32_t flags; +#ifndef MODE_BFS + grub_uint32_t link_count; +#endif + grub_afs_bigtime create_time; + grub_afs_bigtime modified_time; + struct grub_afs_blockrun parent; + struct grub_afs_blockrun attrib_dir; + grub_uint32_t index_type; /* Key data-key only used for index files. */ + grub_uint32_t inode_size; + grub_uint32_t unused; + struct grub_afs_datastream stream; + grub_uint32_t pad[4]; + grub_uint32_t small_data[1]; +} __attribute__ ((packed)); + +struct grub_fshelp_node +{ + struct grub_afs_data *data; + struct grub_afs_inode inode; +}; + +struct grub_afs_data +{ + grub_disk_t disk; + struct grub_afs_sblock sblock; + struct grub_afs_inode *inode; + struct grub_fshelp_node diropen; +}; + +static grub_dl_t my_mod; + +static grub_afs_off_t +grub_afs_run_to_num (struct grub_afs_sblock *sb, + struct grub_afs_blockrun *run) +{ + return ((grub_afs_off_t) grub_afs_to_cpu32 (run->group) + * sb->block_per_group + grub_afs_to_cpu16 (run->start)); +} + +static grub_err_t +grub_afs_read_inode (struct grub_afs_data *data, + grub_uint32_t ino, struct grub_afs_inode *inode) +{ + return grub_disk_read (data->disk, + ino * + (data->sblock.block_size >> GRUB_DISK_SECTOR_BITS), + 0, sizeof (struct grub_afs_inode), + inode); +} + +static grub_disk_addr_t +grub_afs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + struct grub_afs_sblock *sb = &node->data->sblock; + struct grub_afs_datastream *ds = &node->inode.stream; + + if (fileblock < grub_afs_to_cpu64 (ds->max_direct_range)) + { + int i; + + for (i = 0; i < GRUB_AFS_DIRECT_BLOCK_COUNT; i++) + { + if (fileblock < grub_afs_to_cpu16 (ds->direct[i].len)) + return grub_afs_run_to_num (sb, &ds->direct[i]) + fileblock; + fileblock -= grub_afs_to_cpu16 (ds->direct[i].len); + } + } + else if (fileblock < grub_afs_to_cpu64 (ds->max_indirect_range)) + { + int ptrs_per_blk = sb->block_size / sizeof (struct grub_afs_blockrun); + struct grub_afs_blockrun indir[ptrs_per_blk]; + grub_afs_off_t blk = grub_afs_run_to_num (sb, &ds->indirect); + int i; + + fileblock -= grub_afs_to_cpu64 (ds->max_direct_range); + for (i = 0; i < ds->indirect.len; i++, blk++) + { + int j; + + if (grub_disk_read (node->data->disk, + blk * (sb->block_size >> GRUB_DISK_SECTOR_BITS), + 0, sizeof (indir), + indir)) + return 0; + + for (j = 0; j < ptrs_per_blk; j++) + { + if (fileblock < grub_afs_to_cpu16 (indir[j].len)) + return grub_afs_run_to_num (sb, &indir[j]) + fileblock; + + fileblock -= grub_afs_to_cpu16 (indir[j].len); + } + } + } + else + { + int ptrs_per_blk = sb->block_size / sizeof (struct grub_afs_blockrun); + struct grub_afs_blockrun indir[ptrs_per_blk]; + + /* ([idblk][idptr]) ([dblk][dptr]) [blk] */ + int cur_pos = fileblock - grub_afs_to_cpu64 (ds->max_indirect_range); + + int dptr_size = GRUB_AFS_BLOCKS_PER_DI_RUN; + int dblk_size = dptr_size * ptrs_per_blk; + int idptr_size = dblk_size * GRUB_AFS_BLOCKS_PER_DI_RUN; + int idblk_size = idptr_size * ptrs_per_blk; + + int off = cur_pos % GRUB_AFS_BLOCKS_PER_DI_RUN; + int dptr = (cur_pos / dptr_size) % ptrs_per_blk; + int dblk = (cur_pos / dblk_size) % GRUB_AFS_BLOCKS_PER_DI_RUN; + int idptr = (cur_pos / idptr_size) % ptrs_per_blk; + int idblk = (cur_pos / idblk_size); + + if (grub_disk_read (node->data->disk, + (grub_afs_run_to_num (sb, &ds->double_indirect) + + idblk) * + (sb->block_size >> GRUB_DISK_SECTOR_BITS), + 0, sizeof (indir), + indir)) + return 0; + + if (grub_disk_read (node->data->disk, + (grub_afs_run_to_num (sb, &indir[idptr]) + dblk) * + (sb->block_size >> GRUB_DISK_SECTOR_BITS), + 0, sizeof (indir), + indir)) + return 0; + + return grub_afs_run_to_num (sb, &indir[dptr]) + off; + } + + return 0; +} + +static grub_ssize_t +grub_afs_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_afs_read_block, + grub_afs_to_cpu64 (node->inode.stream.size), + node->data->sblock.block_shift + - GRUB_DISK_SECTOR_BITS); +} + +static char * +grub_afs_read_symlink (grub_fshelp_node_t node) +{ + char *ret; + grub_afs_off_t size = grub_afs_to_cpu64 (node->inode.stream.size); + + if (size == 0) + { + size = sizeof (node->inode.stream); + ret = grub_zalloc (size + 1); + if (! ret) + return 0; + grub_memcpy (ret, (char *) &(node->inode.stream), + sizeof (node->inode.stream)); + return ret; + } + ret = grub_zalloc (size + 1); + if (! ret) + return 0; + grub_afs_read_file (node, 0, 0, size, ret); + return ret; +} + +static int +grub_afs_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + struct grub_afs_btree head; + char node_data [GRUB_AFS_BNODE_SIZE]; + struct grub_afs_bnode *node = (struct grub_afs_bnode *) node_data; + int i; + + if ((dir->inode.stream.size == 0) + || ((grub_afs_to_cpu32 (dir->inode.mode) & GRUB_AFS_S_IFMT) + != GRUB_AFS_S_IFDIR)) + return 0; + + grub_afs_read_file (dir, 0, 0, sizeof (head), (char *) &head); + if (grub_errno) + return 0; + + grub_afs_read_file (dir, 0, grub_afs_to_cpu64 (head.root), + GRUB_AFS_BNODE_SIZE, (char *) node); + if (grub_errno) + return 0; + + for (i = 0; i < (int) grub_afs_to_cpu32 (head.tree_depth) - 1; i++) + { + grub_afs_bvalue_t blk; + + blk = grub_afs_to_cpu64(B_KEY_VALUE_OFFSET (node) [0]); + grub_afs_read_file (dir, 0, blk, GRUB_AFS_BNODE_SIZE, (char *) node); + if (grub_errno) + return 0; + } + + if (node->key_count) + { + grub_uint32_t cur_key = 0; + + while (1) + { + int key_start, key_size; + grub_uint16_t *index; + + index = B_KEY_INDEX_OFFSET (node); + + key_start = (cur_key > 0) + ? grub_afs_to_cpu16 (index[cur_key - 1]) : 0; + key_size = grub_afs_to_cpu16 (index[cur_key]) - key_start; + if (key_size > 0) + { + char filename [key_size + 1]; + struct grub_fshelp_node *fdiro; + int mode, type; + + fdiro = grub_malloc (sizeof (struct grub_fshelp_node)); + if (! fdiro) + return 0; + + fdiro->data = dir->data; + if (grub_afs_read_inode (dir->data, + grub_afs_to_cpu64 + (B_KEY_VALUE_OFFSET (node) [cur_key]), + &fdiro->inode)) + return 0; + + grub_memcpy (filename, &node->key_data[key_start], key_size); + filename [key_size] = 0; + + mode = (grub_afs_to_cpu32 (fdiro->inode.mode) & GRUB_AFS_S_IFMT); + if (mode == GRUB_AFS_S_IFDIR) + type = GRUB_FSHELP_DIR; + else if (mode == GRUB_AFS_S_IFREG) + type = GRUB_FSHELP_REG; + else if (mode == GRUB_AFS_S_IFLNK) + type = GRUB_FSHELP_SYMLINK; + else + type = GRUB_FSHELP_UNKNOWN; + + if (hook (filename, type, fdiro)) + return 1; + } + + cur_key++; + if (cur_key >= grub_afs_to_cpu32 (node->key_count)) + { + if (node->right == GRUB_AFS_NULL_VAL) + break; + + grub_afs_read_file (dir, 0, grub_afs_to_cpu64 (node->right), + GRUB_AFS_BNODE_SIZE, (char *) node); + if (grub_errno) + return 0; + + cur_key = 0; + } + } + } + + return 0; +} + +static int +grub_afs_validate_sblock (struct grub_afs_sblock *sb) +{ + if (grub_afs_to_cpu32 (sb->magic1) == GRUB_AFS_SBLOCK_MAGIC1) + { + sb->magic2 = grub_afs_to_cpu32 (sb->magic2); + sb->magic3 = grub_afs_to_cpu32 (sb->magic3); + sb->block_shift = grub_afs_to_cpu32 (sb->block_shift); + sb->block_size = grub_afs_to_cpu32 (sb->block_size); + sb->used_blocks = grub_afs_to_cpu64 (sb->used_blocks); + sb->num_blocks = grub_afs_to_cpu64 (sb->num_blocks); + sb->inode_size = grub_afs_to_cpu32 (sb->inode_size); + sb->alloc_group_count = grub_afs_to_cpu32 (sb->alloc_group_count); + sb->alloc_group_shift = grub_afs_to_cpu32 (sb->alloc_group_shift); + sb->block_per_group = grub_afs_to_cpu32 (sb->block_per_group); + sb->alloc_group_count = grub_afs_to_cpu32 (sb->alloc_group_count); + sb->log_size = grub_afs_to_cpu32 (sb->log_size); + } + else + return 0; + + if ((sb->magic2 != GRUB_AFS_SBLOCK_MAGIC2) || + (sb->magic3 != GRUB_AFS_SBLOCK_MAGIC3)) + return 0; + +#ifdef MODE_BFS + sb->block_per_group = 1 << (sb->alloc_group_shift); +#endif + + if (((grub_uint32_t) (1 << sb->block_shift) != sb->block_size) + || (sb->used_blocks > sb->num_blocks ) + || (sb->inode_size != sb->block_size) + || (0 == sb->block_size) +#ifndef MODE_BFS + || ((grub_uint32_t) (1 << sb->alloc_group_shift) != + sb->block_per_group * sb->block_size) + || (sb->alloc_group_count * sb->block_per_group < sb->num_blocks) + || (grub_afs_to_cpu16 (sb->log_block.len) != sb->log_size) + || (grub_afs_to_cpu32 (sb->valid_log_blocks) > sb->log_size) +#endif + ) + return 0; + + return 1; +} + +static struct grub_afs_data * +grub_afs_mount (grub_disk_t disk) +{ + struct grub_afs_data *data = 0; + + data = grub_malloc (sizeof (struct grub_afs_data)); + if (!data) + return 0; + + /* Read the superblock. */ + if (grub_disk_read (disk, GRUB_AFS_SBLOCK_SECTOR, 0, + sizeof (struct grub_afs_sblock), &data->sblock)) + goto fail; + + if (! grub_afs_validate_sblock (&data->sblock)) + goto fail; + + data->diropen.data = data; + data->inode = &data->diropen.inode; + data->disk = disk; + + if (grub_afs_read_inode (data, + grub_afs_run_to_num (&data->sblock, + &data->sblock.root_dir), + data->inode)) + goto fail; + + return data; + +fail: + grub_error (GRUB_ERR_BAD_FS, "not an " GRUB_AFS_FSNAME " filesystem"); + + grub_free (data); + return 0; +} + +static grub_err_t +grub_afs_open (struct grub_file *file, const char *name) +{ + struct grub_afs_data *data; + struct grub_fshelp_node *fdiro = 0; + + grub_dl_ref (my_mod); + + data = grub_afs_mount (file->device->disk); + if (! data) + goto fail; + + grub_fshelp_find_file (name, &data->diropen, &fdiro, grub_afs_iterate_dir, + grub_afs_read_symlink, GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + + grub_memcpy (data->inode, &fdiro->inode, sizeof (struct grub_afs_inode)); + grub_free (fdiro); + + file->size = grub_afs_to_cpu64 (data->inode->stream.size); + file->data = data; + file->offset = 0; + + return 0; + +fail: + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_ssize_t +grub_afs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_afs_data *data = (struct grub_afs_data *) file->data; + + return grub_afs_read_file (&data->diropen, file->read_hook, + file->offset, len, buf); +} + +static grub_err_t +grub_afs_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_afs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_afs_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + info.mtimeset = 1; +#ifdef MODE_BFS + info.mtime = grub_afs_to_cpu64 (node->inode.modified_time) >> 16; +#else + info.mtime = grub_divmod64 (grub_afs_to_cpu64 (node->inode.modified_time), + 1000000, 0); +#endif + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_afs_mount (device->disk); + if (! data) + goto fail; + + grub_fshelp_find_file (path, &data->diropen, &fdiro, grub_afs_iterate_dir, + grub_afs_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + grub_afs_iterate_dir (fdiro, iterate); + + if (fdiro != &data->diropen) + grub_free (fdiro); + + fail: + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_afs_label (grub_device_t device, char **label) +{ + struct grub_afs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_afs_mount (disk); + if (data) + *label = grub_strndup (data->sblock.name, sizeof (data->sblock.name)); + else + *label = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + +static struct grub_fs grub_afs_fs = { + .name = GRUB_AFS_FSNAME, + .dir = grub_afs_dir, + .open = grub_afs_open, + .read = grub_afs_read, + .close = grub_afs_close, + .label = grub_afs_label, + .next = 0 +}; + +#if defined (MODE_BIGENDIAN) && defined (MODE_BFS) +GRUB_MOD_INIT (befs_be) +#elif defined (MODE_BFS) +GRUB_MOD_INIT (befs) +#elif defined (MODE_BIGENDIAN) +GRUB_MOD_INIT (afs_be) +#else +GRUB_MOD_INIT (afs) +#endif +{ + grub_fs_register (&grub_afs_fs); + my_mod = mod; +} + +#if defined (MODE_BIGENDIAN) && defined (MODE_BFS) +GRUB_MOD_FINI (befs_be) +#elif defined (MODE_BFS) +GRUB_MOD_FINI (befs) +#elif defined (MODE_BIGENDIAN) +GRUB_MOD_FINI (afs_be) +#else +GRUB_MOD_FINI (afs) +#endif +{ + grub_fs_unregister (&grub_afs_fs); +} diff --git a/grub-core/fs/afs_be.c b/grub-core/fs/afs_be.c new file mode 100644 index 0000000..1f1f48f --- /dev/null +++ b/grub-core/fs/afs_be.c @@ -0,0 +1,2 @@ +#define MODE_BIGENDIAN 1 +#include "afs.c" diff --git a/grub-core/fs/befs.c b/grub-core/fs/befs.c new file mode 100644 index 0000000..c54d8e1 --- /dev/null +++ b/grub-core/fs/befs.c @@ -0,0 +1,3 @@ +/* befs.c - The native BeOS/Haiku file-system. */ +#define MODE_BFS 1 +#include "afs.c" diff --git a/grub-core/fs/befs_be.c b/grub-core/fs/befs_be.c new file mode 100644 index 0000000..f6e8179 --- /dev/null +++ b/grub-core/fs/befs_be.c @@ -0,0 +1,4 @@ +/* befs.c - The native BeOS/Haiku file-system. */ +#define MODE_BFS 1 +#define MODE_BIGENDIAN 1 +#include "afs.c" diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c new file mode 100644 index 0000000..42aa257 --- /dev/null +++ b/grub-core/fs/btrfs.c @@ -0,0 +1,1491 @@ +/* btrfs.c - B-tree file system. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_BTRFS_SIGNATURE "_BHRfS_M" + +typedef grub_uint8_t grub_btrfs_checksum_t[0x20]; +typedef grub_uint16_t grub_btrfs_uuid_t[8]; + +struct grub_btrfs_device +{ + grub_uint64_t device_id; + grub_uint8_t dummy[0x62 - 8]; +} __attribute__ ((packed)); + +struct grub_btrfs_superblock +{ + grub_btrfs_checksum_t checksum; + grub_btrfs_uuid_t uuid; + grub_uint8_t dummy[0x10]; + grub_uint8_t signature[sizeof (GRUB_BTRFS_SIGNATURE) - 1]; + grub_uint64_t generation; + grub_uint64_t root_tree; + grub_uint64_t chunk_tree; + grub_uint8_t dummy2[0x20]; + grub_uint64_t root_dir_objectid; + grub_uint8_t dummy3[0x41]; + struct grub_btrfs_device this_device; + char label[0x100]; + grub_uint8_t dummy4[0x100]; + grub_uint8_t bootstrap_mapping[0x800]; +} __attribute__ ((packed)); + +struct btrfs_header +{ + grub_btrfs_checksum_t checksum; + grub_btrfs_uuid_t uuid; + grub_uint8_t dummy[0x30]; + grub_uint32_t nitems; + grub_uint8_t level; +} __attribute__ ((packed)); + +struct grub_btrfs_device_desc +{ + grub_device_t dev; + grub_uint64_t id; +}; + +struct grub_btrfs_data +{ + struct grub_btrfs_superblock sblock; + grub_uint64_t tree; + grub_uint64_t inode; + + struct grub_btrfs_device_desc *devices_attached; + unsigned n_devices_attached; + unsigned n_devices_allocated; + + /* Cached extent data. */ + grub_uint64_t extstart; + grub_uint64_t extend; + grub_uint64_t extino; + grub_uint64_t exttree; + grub_size_t extsize; + struct grub_btrfs_extent_data *extent; +}; + +struct grub_btrfs_key +{ + grub_uint64_t object_id; +#define GRUB_BTRFS_ITEM_TYPE_INODE_ITEM 0x01 +#define GRUB_BTRFS_ITEM_TYPE_DIR_ITEM 0x54 +#define GRUB_BTRFS_ITEM_TYPE_EXTENT_ITEM 0x6c +#define GRUB_BTRFS_ITEM_TYPE_ROOT_ITEM 0x84 +#define GRUB_BTRFS_ITEM_TYPE_DEVICE 0xd8 +#define GRUB_BTRFS_ITEM_TYPE_CHUNK 0xe4 + grub_uint8_t type; + grub_uint64_t offset; +} __attribute__ ((packed)); + +struct grub_btrfs_chunk_item +{ + grub_uint64_t size; + grub_uint64_t dummy; + grub_uint64_t stripe_length; + grub_uint64_t type; +#define GRUB_BTRFS_CHUNK_TYPE_BITS_DONTCARE 0x07 +#define GRUB_BTRFS_CHUNK_TYPE_SINGLE 0x00 +#define GRUB_BTRFS_CHUNK_TYPE_RAID0 0x08 +#define GRUB_BTRFS_CHUNK_TYPE_RAID1 0x10 +#define GRUB_BTRFS_CHUNK_TYPE_DUPLICATED 0x20 +#define GRUB_BTRFS_CHUNK_TYPE_RAID10 0x40 + grub_uint8_t dummy2[0xc]; + grub_uint16_t nstripes; + grub_uint16_t nsubstripes; +} __attribute__ ((packed)); + +struct grub_btrfs_chunk_stripe +{ + grub_uint64_t device_id; + grub_uint64_t offset; + grub_btrfs_uuid_t device_uuid; +} __attribute__ ((packed)); + +struct grub_btrfs_leaf_node +{ + struct grub_btrfs_key key; + grub_uint32_t offset; + grub_uint32_t size; +} __attribute__ ((packed)); + +struct grub_btrfs_internal_node +{ + struct grub_btrfs_key key; + grub_uint64_t addr; + grub_uint64_t dummy; +} __attribute__ ((packed)); + +struct grub_btrfs_dir_item +{ + struct grub_btrfs_key key; + grub_uint8_t dummy[8]; + grub_uint16_t m; + grub_uint16_t n; +#define GRUB_BTRFS_DIR_ITEM_TYPE_REGULAR 1 +#define GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY 2 +#define GRUB_BTRFS_DIR_ITEM_TYPE_SYMLINK 7 + grub_uint8_t type; + char name[0]; +} __attribute__ ((packed)); + +struct grub_btrfs_leaf_descriptor +{ + unsigned depth; + unsigned allocated; + struct { + grub_disk_addr_t addr; + unsigned iter; + unsigned maxiter; + int leaf; + } *data; +}; + +struct grub_btrfs_root_item +{ + grub_uint8_t dummy[0xb0]; + grub_uint64_t tree; + grub_uint64_t inode; +}; + +struct grub_btrfs_time +{ + grub_int64_t sec; + grub_uint32_t nanosec; +} __attribute__ ((aligned(4))); + +struct grub_btrfs_inode +{ + grub_uint8_t dummy1[0x10]; + grub_uint64_t size; + grub_uint8_t dummy2[0x70]; + struct grub_btrfs_time mtime; +} __attribute__ ((packed)); + +struct grub_btrfs_extent_data +{ + grub_uint64_t dummy; + grub_uint64_t size; + grub_uint8_t compression; + grub_uint8_t encryption; + grub_uint16_t encoding; + grub_uint8_t type; + union + { + char inl[0]; + struct + { + grub_uint64_t laddr; + grub_uint64_t compressed_size; + grub_uint64_t offset; + grub_uint64_t filled; + }; + }; +} __attribute__ ((packed)); + +#define GRUB_BTRFS_EXTENT_INLINE 0 +#define GRUB_BTRFS_EXTENT_REGULAR 1 + +#define GRUB_BTRFS_COMPRESSION_NONE 0 +#define GRUB_BTRFS_COMPRESSION_ZLIB 1 + +#define GRUB_BTRFS_OBJECT_ID_CHUNK 0x100 + +static grub_disk_addr_t superblock_sectors[] = { 64 * 2, 64 * 1024 * 2, + 256 * 1048576 * 2, + 1048576ULL * 1048576ULL * 2 }; + +static grub_err_t +grub_btrfs_read_logical (struct grub_btrfs_data *data, + grub_disk_addr_t addr, void *buf, grub_size_t size); + +static grub_err_t +read_sblock (grub_disk_t disk, struct grub_btrfs_superblock *sb) +{ + unsigned i; + grub_err_t err = GRUB_ERR_NONE; + for (i = 0; i < ARRAY_SIZE (superblock_sectors); i++) + { + struct grub_btrfs_superblock sblock; + err = grub_disk_read (disk, superblock_sectors[i], 0, + sizeof (sblock), &sblock); + if (err == GRUB_ERR_OUT_OF_RANGE) + break; + + if (grub_memcmp ((char *) sblock.signature, GRUB_BTRFS_SIGNATURE, + sizeof (GRUB_BTRFS_SIGNATURE) - 1) != 0) + break; + if (i == 0 || grub_le_to_cpu64 (sblock.generation) + > grub_le_to_cpu64 (sb->generation)) + grub_memcpy (sb, &sblock, sizeof (sblock)); + } + + if ((err == GRUB_ERR_OUT_OF_RANGE || !err) && i == 0) + return grub_error (GRUB_ERR_BAD_FS, "not a Btrfs filesystem"); + + if (err == GRUB_ERR_OUT_OF_RANGE) + grub_errno = err = GRUB_ERR_NONE; + + return err; +} + +static int +key_cmp (const struct grub_btrfs_key *a, const struct grub_btrfs_key *b) +{ + if (grub_cpu_to_le64 (a->object_id) < grub_cpu_to_le64 (b->object_id)) + return -1; + if (grub_cpu_to_le64 (a->object_id) > grub_cpu_to_le64 (b->object_id)) + return +1; + + if (a->type < b->type) + return -1; + if (a->type > b->type) + return +1; + + if (grub_cpu_to_le64 (a->offset) < grub_cpu_to_le64 (b->offset)) + return -1; + if (grub_cpu_to_le64 (a->offset) > grub_cpu_to_le64 (b->offset)) + return +1; + return 0; +} + +static void +free_iterator (struct grub_btrfs_leaf_descriptor *desc) +{ + grub_free (desc->data); +} + +static grub_err_t +save_ref (struct grub_btrfs_leaf_descriptor *desc, + grub_disk_addr_t addr, unsigned i, unsigned m, int l) +{ + desc->depth++; + if (desc->allocated < desc->depth) + { + void *newdata; + desc->allocated *= 2; + newdata = grub_realloc (desc->data, sizeof (desc->data[0]) + * desc->allocated); + if (!newdata) + return grub_errno; + desc->data = newdata; + } + desc->data[desc->depth - 1].addr = addr; + desc->data[desc->depth - 1].iter = i; + desc->data[desc->depth - 1].maxiter = m; + desc->data[desc->depth - 1].leaf = l; + return GRUB_ERR_NONE; +} + +static int +next (struct grub_btrfs_data *data, + struct grub_btrfs_leaf_descriptor *desc, + grub_disk_addr_t *outaddr, grub_size_t *outsize, + struct grub_btrfs_key *key_out) +{ + grub_err_t err; + struct grub_btrfs_leaf_node leaf; + + for (; desc->depth > 0; desc->depth--) + { + desc->data[desc->depth - 1].iter++; + if (desc->data[desc->depth - 1].iter + < desc->data[desc->depth - 1].maxiter) + break; + } + if (desc->depth == 0) + return 0; + while (!desc->data[desc->depth - 1].leaf) + { + struct grub_btrfs_internal_node node; + struct btrfs_header head; + + err = grub_btrfs_read_logical (data, desc->data[desc->depth - 1].iter + * sizeof (node) + + sizeof (struct btrfs_header) + + desc->data[desc->depth - 1].addr, &node, + sizeof (node)); + if (err) + return -err; + + err = grub_btrfs_read_logical (data, grub_le_to_cpu64 (node.addr), &head, + sizeof (head)); + if (err) + return -err; + + save_ref (desc, grub_le_to_cpu64 (node.addr), 0, + grub_le_to_cpu32 (head.nitems), !head.level); + } + err = grub_btrfs_read_logical (data, desc->data[desc->depth - 1].iter + * sizeof (leaf) + + sizeof (struct btrfs_header) + + desc->data[desc->depth - 1].addr, &leaf, + sizeof (leaf)); + if (err) + return -err; + *outsize = grub_le_to_cpu32 (leaf.size); + *outaddr = desc->data[desc->depth - 1].addr + sizeof (struct btrfs_header) + + grub_le_to_cpu32 (leaf.offset); + *key_out = leaf.key; + return 1; +} + +static grub_err_t +lower_bound (struct grub_btrfs_data *data, + const struct grub_btrfs_key *key_in, + struct grub_btrfs_key *key_out, + grub_disk_addr_t root, + grub_disk_addr_t *outaddr, grub_size_t *outsize, + struct grub_btrfs_leaf_descriptor *desc) +{ + grub_disk_addr_t addr = root; + int depth = -1; + + if (desc) + { + desc->allocated = 16; + desc->depth = 0; + desc->data = grub_malloc (sizeof (desc->data[0]) * desc->allocated); + if (!desc->data) + return grub_errno; + } + + grub_dprintf ("btrfs", + "retrieving %" PRIxGRUB_UINT64_T + " %x %" PRIxGRUB_UINT64_T "\n", + key_in->object_id, key_in->type, key_in->offset); + + while (1) + { + grub_err_t err; + struct btrfs_header head; + + reiter: + depth++; + /* FIXME: preread few nodes into buffer. */ + err = grub_btrfs_read_logical (data, addr, &head, sizeof (head)); + if (err) + return err; + addr += sizeof (head); + if (head.level) + { + unsigned i; + struct grub_btrfs_internal_node node, node_last; + int have_last = 0; + grub_memset (&node_last, 0, sizeof (node_last)); + for (i = 0; i < grub_le_to_cpu32 (head.nitems); i++) + { + err = grub_btrfs_read_logical (data, addr + i * sizeof (node), + &node, sizeof (node)); + if (err) + return err; + + grub_dprintf ("btrfs", + "internal node (depth %d) %" PRIxGRUB_UINT64_T + " %x %" PRIxGRUB_UINT64_T "\n", depth, + node.key.object_id, node.key.type, node.key.offset); + + if (key_cmp (&node.key, key_in) == 0) + { + err = GRUB_ERR_NONE; + if (desc) + err = save_ref (desc, addr - sizeof (head), i, + grub_le_to_cpu32 (head.nitems), 0); + if (err) + return err; + addr = grub_le_to_cpu64 (node.addr); + goto reiter; + } + if (key_cmp (&node.key, key_in) > 0) + break; + node_last = node; + have_last = 1; + } + if (have_last) + { + err = GRUB_ERR_NONE; + if (desc) + err = save_ref (desc, addr - sizeof (head), i - 1, + grub_le_to_cpu32 (head.nitems), 0); + if (err) + return err; + addr = grub_le_to_cpu64 (node_last.addr); + goto reiter; + } + *outsize = 0; + *outaddr = 0; + grub_memset (key_out, 0, sizeof (*key_out)); + if (desc) + return save_ref (desc, addr - sizeof (head), -1, + grub_le_to_cpu32 (head.nitems), 0); + return GRUB_ERR_NONE; + } + { + unsigned i; + struct grub_btrfs_leaf_node leaf, leaf_last; + int have_last = 0; + for (i = 0; i < grub_le_to_cpu32 (head.nitems); i++) + { + err = grub_btrfs_read_logical (data, addr + i * sizeof (leaf), + &leaf, sizeof (leaf)); + if (err) + return err; + + grub_dprintf ("btrfs", + "leaf (depth %d) %" PRIxGRUB_UINT64_T + " %x %" PRIxGRUB_UINT64_T "\n", depth, + leaf.key.object_id, leaf.key.type, leaf.key.offset); + + if (key_cmp (&leaf.key, key_in) == 0) + { + grub_memcpy (key_out, &leaf.key, sizeof(*key_out)); + *outsize = grub_le_to_cpu32 (leaf.size); + *outaddr = addr + grub_le_to_cpu32 (leaf.offset); + if (desc) + return save_ref (desc, addr - sizeof (head), i, + grub_le_to_cpu32 (head.nitems), 1); + return GRUB_ERR_NONE; + } + + if (key_cmp (&leaf.key, key_in) > 0) + break; + + have_last = 1; + leaf_last = leaf; + } + + if (have_last) + { + grub_memcpy (key_out, &leaf_last.key, sizeof(*key_out)); + *outsize = grub_le_to_cpu32 (leaf_last.size); + *outaddr = addr + grub_le_to_cpu32 (leaf_last.offset); + if (desc) + return save_ref (desc, addr - sizeof (head), i - 1, + grub_le_to_cpu32 (head.nitems), 1); + return GRUB_ERR_NONE; + } + *outsize = 0; + *outaddr = 0; + grub_memset (key_out, 0, sizeof (*key_out)); + if (desc) + return save_ref (desc, addr - sizeof (head), -1, + grub_le_to_cpu32 (head.nitems), 1); + return GRUB_ERR_NONE; + } + } +} + +static grub_device_t +find_device (struct grub_btrfs_data *data, grub_uint64_t id, + int do_rescan) +{ + grub_device_t dev_found = NULL; + auto int hook (const char *name); + int hook (const char *name) + { + grub_device_t dev; + grub_err_t err; + struct grub_btrfs_superblock sb; + dev = grub_device_open (name); + if (!dev) + return 0; + if (!dev->disk) + { + grub_device_close (dev); + return 0; + } + err = read_sblock (dev->disk, &sb); + if (err == GRUB_ERR_BAD_FS) + { + grub_device_close (dev); + grub_errno = GRUB_ERR_NONE; + return 0; + } + if (err) + { + grub_device_close (dev); + grub_print_error (); + return 0; + } + if (grub_memcmp (data->sblock.uuid, sb.uuid, sizeof (sb.uuid)) != 0 + || sb.this_device.device_id != id) + { + grub_device_close (dev); + return 0; + } + + dev_found = dev; + return 1; + } + + unsigned i; + + for (i = 0; i < data->n_devices_attached; i++) + if (id == data->devices_attached[i].id) + return data->devices_attached[i].dev; + if (do_rescan) + grub_device_iterate (hook); + if (!dev_found) + { + grub_error (GRUB_ERR_BAD_FS, "couldn't find a member device"); + return NULL; + } + data->n_devices_attached++; + if (data->n_devices_attached > data->n_devices_allocated) + { + void *tmp; + data->n_devices_allocated = 2 * data->n_devices_attached + 1; + data->devices_attached + = grub_realloc (tmp = data->devices_attached, + data->n_devices_allocated + * sizeof (data->devices_attached[0])); + if (!data->devices_attached) + { + grub_device_close (dev_found); + data->devices_attached = tmp; + return NULL; + } + } + data->devices_attached[data->n_devices_attached - 1].id = id; + data->devices_attached[data->n_devices_attached - 1].dev = dev_found; + return dev_found; +} + +static grub_err_t +grub_btrfs_read_logical (struct grub_btrfs_data *data, + grub_disk_addr_t addr, + void *buf, grub_size_t size) +{ + while (size > 0) + { + grub_uint8_t *ptr; + struct grub_btrfs_key *key; + struct grub_btrfs_chunk_item *chunk; + grub_uint64_t csize; + grub_err_t err; + struct grub_btrfs_key key_out; + int challoc = 0; + grub_device_t dev; + grub_dprintf ("btrfs", "searching for laddr %" PRIxGRUB_UINT64_T "\n", + addr); + for (ptr = data->sblock.bootstrap_mapping; + ptr < data->sblock.bootstrap_mapping + + sizeof (data->sblock.bootstrap_mapping) + - sizeof (struct grub_btrfs_key); + ) + { + key = (struct grub_btrfs_key *) ptr; + if (key->type != GRUB_BTRFS_ITEM_TYPE_CHUNK) + break; + chunk = (struct grub_btrfs_chunk_item *) (key + 1); + grub_dprintf ("btrfs", "%" PRIxGRUB_UINT64_T " %" PRIxGRUB_UINT64_T " \n", + grub_le_to_cpu64 (key->offset), + grub_le_to_cpu64 (chunk->size)); + if (grub_le_to_cpu64 (key->offset) <= addr + && addr < grub_le_to_cpu64 (key->offset) + + grub_le_to_cpu64 (chunk->size)) + goto chunk_found; + ptr += sizeof (*key) + sizeof (*chunk) + + sizeof (struct grub_btrfs_chunk_stripe) + * grub_le_to_cpu16 (chunk->nstripes); + } + struct grub_btrfs_key key_in; + grub_size_t chsize; + grub_disk_addr_t chaddr; + key_in.object_id = GRUB_BTRFS_OBJECT_ID_CHUNK; + key_in.type = GRUB_BTRFS_ITEM_TYPE_CHUNK; + key_in.offset = addr; + err = lower_bound (data, &key_in, &key_out, + grub_le_to_cpu64 (data->sblock.chunk_tree), + &chaddr, &chsize, NULL); + if (err) + return err; + key = &key_out; + if (key->type != GRUB_BTRFS_ITEM_TYPE_CHUNK + || !(grub_le_to_cpu64 (key->offset) <= addr)) + return grub_error (GRUB_ERR_BAD_FS, + "couldn't find the chunk descriptor"); + + chunk = grub_malloc (chsize); + if (!chunk) + return grub_errno; + + challoc = 1; + err = grub_btrfs_read_logical (data, chaddr, chunk, chsize); + if (err) + { + grub_free (chunk); + return err; + } + + chunk_found: + { + grub_uint32_t stripen; + grub_uint64_t stripe_offset; + grub_uint64_t off = addr - grub_le_to_cpu64 (key->offset); + unsigned redundancy = 1; + unsigned i, j; + + if (grub_le_to_cpu64 (chunk->size) <= off) + { + grub_dprintf ("btrfs", "no chunk\n"); + return grub_error (GRUB_ERR_BAD_FS, + "couldn't find the chunk descriptor"); + } + + grub_dprintf ("btrfs", "chunk 0x%" PRIxGRUB_UINT64_T + "+0x%" PRIxGRUB_UINT64_T + " (%d stripes (%d substripes) of %" + PRIxGRUB_UINT64_T ")\n", + grub_le_to_cpu64 (key->offset), + grub_le_to_cpu64 (chunk->size), + grub_le_to_cpu16 (chunk->nstripes), + grub_le_to_cpu16 (chunk->nsubstripes), + grub_le_to_cpu64 (chunk->stripe_length)); + + switch (grub_le_to_cpu64 (chunk->type) + & ~GRUB_BTRFS_CHUNK_TYPE_BITS_DONTCARE) + { + case GRUB_BTRFS_CHUNK_TYPE_SINGLE: + { + grub_uint64_t stripe_length; + grub_dprintf ("btrfs", "single\n"); + stripe_length = grub_divmod64_full (grub_le_to_cpu64 (chunk->size), + grub_le_to_cpu16 (chunk->nstripes), + NULL); + stripen = grub_divmod64_full (off, stripe_length, &stripe_offset); + csize = (stripen + 1) * stripe_length - off; + break; + } + case GRUB_BTRFS_CHUNK_TYPE_DUPLICATED: + case GRUB_BTRFS_CHUNK_TYPE_RAID1: + { + grub_dprintf ("btrfs", "RAID1\n"); + stripen = 0; + stripe_offset = off; + csize = grub_le_to_cpu64 (chunk->size) - off; + redundancy = 2; + break; + } + case GRUB_BTRFS_CHUNK_TYPE_RAID0: + { + grub_uint64_t middle, high; + grub_uint32_t low; + grub_dprintf ("btrfs", "RAID0\n"); + middle = grub_divmod64 (off, + grub_le_to_cpu64 (chunk->stripe_length), + &low); + + high = grub_divmod64 (middle, grub_le_to_cpu16 (chunk->nstripes), + &stripen); + stripe_offset = low + grub_le_to_cpu64 (chunk->stripe_length) + * high; + csize = grub_le_to_cpu64 (chunk->stripe_length) - low; + break; + } + case GRUB_BTRFS_CHUNK_TYPE_RAID10: + { + grub_uint64_t middle, high; + grub_uint32_t low; + middle = grub_divmod64 (off, + grub_le_to_cpu64 (chunk->stripe_length), + &low); + + high = grub_divmod64 (middle, + grub_le_to_cpu16 (chunk->nsubstripes), + &stripen); + stripen *= grub_le_to_cpu16 (chunk->nstripes) + / grub_le_to_cpu16 (chunk->nsubstripes); + redundancy = grub_le_to_cpu16 (chunk->nstripes) + / grub_le_to_cpu16 (chunk->nsubstripes); + stripe_offset = low + grub_le_to_cpu64 (chunk->stripe_length) + * high; + csize = grub_le_to_cpu64 (chunk->stripe_length) - low; + break; + } + default: + grub_dprintf ("btrfs", "unsupported RAID\n"); + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unsupported RAID flags %" PRIxGRUB_UINT64_T, + grub_le_to_cpu64 (chunk->type)); + } + if (csize == 0) + return grub_error (GRUB_ERR_BUG, + "couldn't find the chunk descriptor"); + if ((grub_size_t) csize > size) + csize = size; + + for (j = 0; j < 2; j++) + { + for (i = 0; i < redundancy; i++) + { + struct grub_btrfs_chunk_stripe *stripe; + grub_disk_addr_t paddr; + + stripe = (struct grub_btrfs_chunk_stripe *) (chunk + 1); + /* Right now the redundancy handling is easy. + With RAID5-like it will be more difficult. */ + stripe += stripen + i; + + paddr = stripe->offset + stripe_offset; + + grub_dprintf ("btrfs", "chunk 0x%" PRIxGRUB_UINT64_T + "+0x%" PRIxGRUB_UINT64_T " (%d stripes (%d substripes) of %" + PRIxGRUB_UINT64_T ") stripe %" PRIxGRUB_UINT32_T + " maps to 0x%" PRIxGRUB_UINT64_T "\n", + grub_le_to_cpu64 (key->offset), + grub_le_to_cpu64 (chunk->size), + grub_le_to_cpu16 (chunk->nstripes), + grub_le_to_cpu16 (chunk->nsubstripes), + grub_le_to_cpu64 (chunk->stripe_length), + stripen, stripe->offset); + grub_dprintf ("btrfs", "reading paddr 0x%" PRIxGRUB_UINT64_T + " for laddr 0x%" PRIxGRUB_UINT64_T"\n", paddr, + addr); + + dev = find_device (data, stripe->device_id, j); + if (!dev) + { + err = grub_errno; + grub_errno = GRUB_ERR_NONE; + continue; + } + + err = grub_disk_read (dev->disk, paddr >> GRUB_DISK_SECTOR_BITS, + paddr & (GRUB_DISK_SECTOR_SIZE - 1), + csize, buf); + if (!err) + break; + grub_errno = GRUB_ERR_NONE; + } + if (i != redundancy) + break; + } + if (err) + return grub_errno = err; + } + size -= csize; + buf = (grub_uint8_t *) buf + csize; + addr += csize; + if (challoc) + grub_free (chunk); + } + return GRUB_ERR_NONE; +} + +static struct grub_btrfs_data * +grub_btrfs_mount (grub_device_t dev) +{ + struct grub_btrfs_data *data; + grub_err_t err; + + if (!dev->disk) + { + grub_error (GRUB_ERR_BAD_FS, "not BtrFS"); + return NULL; + } + + data = grub_zalloc (sizeof (*data)); + if (! data) + return NULL; + + err = read_sblock (dev->disk, &data->sblock); + if (err) + { + grub_free (data); + return NULL; + } + + data->n_devices_allocated = 16; + data->devices_attached = grub_malloc (sizeof (data->devices_attached[0]) + * data->n_devices_allocated); + if (!data->devices_attached) + { + grub_free (data); + return NULL; + } + data->n_devices_attached = 1; + data->devices_attached[0].dev = dev; + data->devices_attached[0].id = data->sblock.this_device.device_id; + + return data; +} + +static void +grub_btrfs_unmount (struct grub_btrfs_data *data) +{ + unsigned i; + /* The device 0 is closed one layer upper. */ + for (i = 1; i < data->n_devices_attached; i++) + grub_device_close (data->devices_attached[i].dev); + grub_free (data->devices_attached); + grub_free (data->extent); + grub_free (data); +} + +static grub_err_t +grub_btrfs_read_inode (struct grub_btrfs_data *data, + struct grub_btrfs_inode *inode, grub_uint64_t num, + grub_uint64_t tree) +{ + struct grub_btrfs_key key_in, key_out; + grub_disk_addr_t elemaddr; + grub_size_t elemsize; + grub_err_t err; + + key_in.object_id = num; + key_in.type = GRUB_BTRFS_ITEM_TYPE_INODE_ITEM; + key_in.offset = 0; + + err = lower_bound (data, &key_in, &key_out, tree, + &elemaddr, &elemsize, NULL); + if (err) + return err; + if (num != key_out.object_id + || key_out.type != GRUB_BTRFS_ITEM_TYPE_INODE_ITEM) + return grub_error (GRUB_ERR_BAD_FS, "inode not found"); + + return grub_btrfs_read_logical (data, elemaddr, inode, sizeof (*inode)); +} + +static grub_ssize_t +grub_btrfs_extent_read (struct grub_btrfs_data *data, + grub_uint64_t ino, grub_uint64_t tree, + grub_off_t pos0, char *buf, grub_size_t len) +{ + grub_off_t pos = pos0; + while (len) + { + grub_size_t csize; + grub_err_t err; + grub_off_t extoff; + if (!data->extent || data->extstart > pos || data->extino != ino + || data->exttree != tree || data->extend <= pos) + { + struct grub_btrfs_key key_in, key_out; + grub_disk_addr_t elemaddr; + grub_size_t elemsize; + + grub_free (data->extent); + key_in.object_id = ino; + key_in.type = GRUB_BTRFS_ITEM_TYPE_EXTENT_ITEM; + key_in.offset = grub_cpu_to_le64 (pos); + err = lower_bound (data, &key_in, &key_out, tree, + &elemaddr, &elemsize, NULL); + if (err) + return -1; + if (key_out.object_id != ino + || key_out.type != GRUB_BTRFS_ITEM_TYPE_EXTENT_ITEM) + { + grub_error (GRUB_ERR_BAD_FS, "extent not found"); + return -1; + } + data->extstart = grub_le_to_cpu64 (key_out.offset); + data->extsize = elemsize; + data->extent = grub_malloc (elemsize); + data->extino = ino; + data->exttree = tree; + if (!data->extent) + return grub_errno; + + err = grub_btrfs_read_logical (data, elemaddr, + data->extent, elemsize); + if (err) + return err; + + data->extend = data->extstart + + grub_le_to_cpu64 (data->extent->size); + if (data->extent->type == GRUB_BTRFS_EXTENT_REGULAR + && (char *) &data->extent + elemsize + >= (char *) &data->extent->filled + + sizeof (data->extent->filled)) + data->extend = data->extstart + + grub_le_to_cpu64 (data->extent->filled); + + grub_dprintf ("btrfs", "extent 0x%" PRIxGRUB_UINT64_T "+0x%" + PRIxGRUB_UINT64_T " (0x%" + PRIxGRUB_UINT64_T ")\n", + grub_le_to_cpu64 (key_out.offset), + grub_le_to_cpu64 (data->extent->size), + grub_le_to_cpu64 (data->extent->filled)); + if (data->extend <= pos) + { + grub_error (GRUB_ERR_BAD_FS, "extent not found"); + return -1; + } + } + csize = data->extend - pos; + extoff = pos - data->extstart; + if (csize > len) + csize = len; + + if (data->extent->encryption) + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "encryption not supported"); + return -1; + } + + if (data->extent->compression != GRUB_BTRFS_COMPRESSION_NONE + && data->extent->compression != GRUB_BTRFS_COMPRESSION_ZLIB) + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "compression type 0x%x not supported", + data->extent->compression); + return -1; + } + + if (data->extent->encoding) + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "encoding not supported"); + return -1; + } + + switch (data->extent->type) + { + case GRUB_BTRFS_EXTENT_INLINE: + if (data->extent->compression == GRUB_BTRFS_COMPRESSION_ZLIB) + { + if (grub_zlib_decompress (data->extent->inl, data->extsize - + ((grub_uint8_t *) data->extent->inl + - (grub_uint8_t *) data->extent), + extoff, buf, csize) + != (grub_ssize_t) csize) + return -1; + } + else + grub_memcpy (buf, data->extent->inl + extoff, csize); + break; + case GRUB_BTRFS_EXTENT_REGULAR: + if (!data->extent->laddr) + { + grub_memset (buf, 0, csize); + break; + } + if (data->extent->compression == GRUB_BTRFS_COMPRESSION_ZLIB) + { + char *tmp; + grub_uint64_t zsize; + zsize = grub_le_to_cpu64 (data->extent->compressed_size); + tmp = grub_malloc (zsize); + if (!tmp) + return -1; + err = grub_btrfs_read_logical (data, + grub_le_to_cpu64 (data->extent->laddr), + tmp, zsize); + if (err) + { + grub_free (tmp); + return -1; + } + if (grub_zlib_decompress (tmp, zsize, extoff + + grub_le_to_cpu64 (data->extent->offset), + buf, csize) != (grub_ssize_t) csize) + { + grub_free (tmp); + return -1; + } + grub_free (tmp); + break; + } + err = grub_btrfs_read_logical (data, + grub_le_to_cpu64 (data->extent->laddr) + + grub_le_to_cpu64 (data->extent->offset) + + extoff, + buf, csize); + if (err) + return -1; + break; + default: + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unsupported extent type 0x%x", data->extent->type); + return -1; + } + buf += csize; + pos += csize; + len -= csize; + } + return pos - pos0; +} + +static grub_err_t +find_path (struct grub_btrfs_data *data, + const char *path, struct grub_btrfs_key *key, + grub_uint64_t *tree, grub_uint8_t *type) +{ + const char *slash = path; + grub_err_t err; + grub_disk_addr_t elemaddr; + grub_size_t elemsize; + grub_size_t allocated = 0; + struct grub_btrfs_dir_item *direl = NULL; + struct grub_btrfs_key key_out; + int skip_default; + const char *ctoken; + grub_size_t ctokenlen; + char *path_alloc = NULL; + unsigned symlinks_max = 32; + + *type = GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY; + *tree = data->sblock.root_tree; + key->object_id = data->sblock.root_dir_objectid; + key->type = GRUB_BTRFS_ITEM_TYPE_DIR_ITEM; + key->offset = 0; + skip_default = 1; + + while (1) + { + if (!skip_default) + { + while (path[0] == '/') + path++; + if (!path[0]) + break; + slash = grub_strchr (path, '/'); + if (!slash) + slash = path + grub_strlen (path); + ctoken = path; + ctokenlen = slash - path; + } + else + { + ctoken = "default"; + ctokenlen = sizeof ("default") - 1; + } + + if (*type != GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY) + { + grub_free (path_alloc); + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + } + + key->type = GRUB_BTRFS_ITEM_TYPE_DIR_ITEM; + key->offset = grub_cpu_to_le64 (~grub_getcrc32c (1, ctoken, ctokenlen)); + + err = lower_bound (data, key, &key_out, *tree, + &elemaddr, &elemsize, NULL); + if (err) + { + grub_free (direl); + grub_free (path_alloc); + return err; + } + if (key_cmp (key, &key_out) != 0) + { + grub_free (direl); + grub_free (path_alloc); + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + } + + struct grub_btrfs_dir_item *cdirel; + if (elemsize > allocated) + { + allocated = 2 * elemsize; + grub_free (direl); + direl = grub_malloc (allocated + 1); + if (!direl) + { + grub_free (path_alloc); + return grub_errno; + } + } + + err = grub_btrfs_read_logical (data, elemaddr, direl, elemsize); + if (err) + { + grub_free (direl); + grub_free (path_alloc); + return err; + } + + for (cdirel = direl; + (grub_uint8_t *) cdirel - (grub_uint8_t *) direl + < (grub_ssize_t) elemsize; + cdirel = (void *) ((grub_uint8_t *) (direl + 1) + + grub_le_to_cpu16 (cdirel->n) + + grub_le_to_cpu16 (cdirel->m))) + { + if (ctokenlen == grub_le_to_cpu16 (cdirel->n) + && grub_memcmp (cdirel->name, ctoken, ctokenlen) == 0) + break; + } + if ((grub_uint8_t *) cdirel - (grub_uint8_t *) direl + >= (grub_ssize_t) elemsize) + { + grub_free (direl); + grub_free (path_alloc); + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + } + + if (!skip_default) + path = slash; + skip_default = 0; + if (cdirel->type == GRUB_BTRFS_DIR_ITEM_TYPE_SYMLINK) + { + struct grub_btrfs_inode inode; + char *tmp; + if (--symlinks_max == 0) + { + grub_free (direl); + grub_free (path_alloc); + return grub_error (GRUB_ERR_SYMLINK_LOOP, + "too deep nesting of symlinks"); + } + + err = grub_btrfs_read_inode (data, &inode, + cdirel->key.object_id, *tree); + if (err) + { + grub_free (direl); + grub_free (path_alloc); + return err; + } + tmp = grub_malloc (grub_le_to_cpu64 (inode.size) + + grub_strlen (path) + 1); + if (!tmp) + { + grub_free (direl); + grub_free (path_alloc); + return grub_errno; + } + + if (grub_btrfs_extent_read (data, cdirel->key.object_id, + *tree, 0, tmp, + grub_le_to_cpu64 (inode.size)) + != (grub_ssize_t) grub_le_to_cpu64 (inode.size)) + { + grub_free (direl); + grub_free (path_alloc); + grub_free (tmp); + return grub_errno; + } + grub_memcpy (tmp + grub_le_to_cpu64 (inode.size), path, + grub_strlen (path) + 1); + grub_free (path_alloc); + path = path_alloc = tmp; + if (path[0] == '/') + { + *type = GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY; + *tree = data->sblock.root_tree; + key->object_id = data->sblock.root_dir_objectid; + key->type = GRUB_BTRFS_ITEM_TYPE_DIR_ITEM; + key->offset = 0; + skip_default = 1; + } + continue; + } + *type = cdirel->type; + + switch (cdirel->key.type) + { + case GRUB_BTRFS_ITEM_TYPE_ROOT_ITEM: + { + struct grub_btrfs_root_item ri; + err = lower_bound (data, &cdirel->key, &key_out, + data->sblock.root_tree, + &elemaddr, &elemsize, NULL); + if (err) + { + grub_free (direl); + grub_free (path_alloc); + return err; + } + if (cdirel->key.object_id != key_out.object_id + || cdirel->key.type != key_out.type) + { + grub_free (direl); + grub_free (path_alloc); + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + } + err = grub_btrfs_read_logical (data, elemaddr, + &ri, sizeof (ri)); + if (err) + { + grub_free (direl); + grub_free (path_alloc); + return err; + } + key->type = GRUB_BTRFS_ITEM_TYPE_DIR_ITEM; + key->offset = 0; + key->object_id = GRUB_BTRFS_OBJECT_ID_CHUNK; + *tree = grub_le_to_cpu64 (ri.tree); + break; + } + case GRUB_BTRFS_ITEM_TYPE_INODE_ITEM: + if (*slash && *type == GRUB_BTRFS_DIR_ITEM_TYPE_REGULAR) + { + grub_free (direl); + grub_free (path_alloc); + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + } + *key = cdirel->key; + if (*type == GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY) + key->type = GRUB_BTRFS_ITEM_TYPE_DIR_ITEM; + break; + default: + grub_free (path_alloc); + grub_free (direl); + return grub_error (GRUB_ERR_BAD_FS, "unrecognised object type 0x%x", + cdirel->key.type); + } + } + + grub_free (direl); + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_btrfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_btrfs_data *data = grub_btrfs_mount (device); + struct grub_btrfs_key key_in, key_out; + grub_err_t err; + grub_disk_addr_t elemaddr; + grub_size_t elemsize; + grub_size_t allocated = 0; + struct grub_btrfs_dir_item *direl = NULL; + struct grub_btrfs_leaf_descriptor desc; + int r = 0; + grub_uint64_t tree; + grub_uint8_t type; + + if (!data) + return grub_errno; + + err = find_path (data, path, &key_in, &tree, &type); + if (err) + return err; + if (type != GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + + err = lower_bound (data, &key_in, &key_out, tree, + &elemaddr, &elemsize, &desc); + if (err) + return err; + if (key_out.type != GRUB_BTRFS_ITEM_TYPE_DIR_ITEM + || key_out.object_id != key_in.object_id) + { + r = next (data, &desc, &elemaddr, &elemsize, &key_out); + if (r <= 0) + { + free_iterator (&desc); + return -r; + } + } + do + { + struct grub_btrfs_dir_item *cdirel; + if (key_out.type != GRUB_BTRFS_ITEM_TYPE_DIR_ITEM + || key_out.object_id != key_in.object_id) + { + r = 0; + break; + } + if (elemsize > allocated) + { + allocated = 2 * elemsize; + grub_free (direl); + direl = grub_malloc (allocated + 1); + if (!direl) + { + free_iterator (&desc); + return grub_errno; + } + } + + err = grub_btrfs_read_logical (data, elemaddr, direl, elemsize); + if (err) + return err; + + for (cdirel = direl; + (grub_uint8_t *) cdirel - (grub_uint8_t *) direl + < (grub_ssize_t) elemsize; + cdirel = (void *) ((grub_uint8_t *) (direl + 1) + + grub_le_to_cpu16 (cdirel->n) + + grub_le_to_cpu16 (cdirel->m))) + { + char c; + struct grub_btrfs_inode inode; + struct grub_dirhook_info info; + err = grub_btrfs_read_inode (data, &inode, cdirel->key.object_id, + tree); + grub_memset (&info, 0, sizeof (info)); + if (err) + grub_errno = GRUB_ERR_NONE; + else + { + info.mtime = inode.mtime.sec; + info.mtimeset = 1; + } + c = cdirel->name[grub_le_to_cpu16 (cdirel->n)]; + cdirel->name[grub_le_to_cpu16 (cdirel->n)] = 0; + info.dir = (cdirel->type == GRUB_BTRFS_DIR_ITEM_TYPE_DIRECTORY); + if (hook (cdirel->name, &info)) + goto out; + cdirel->name[grub_le_to_cpu16 (cdirel->n)] = c; + } + r = next (data, &desc, &elemaddr, &elemsize, &key_out); + } + while (r > 0); + + out: + grub_free (direl); + + free_iterator (&desc); + grub_btrfs_unmount (data); + + return -r; +} + +static grub_err_t +grub_btrfs_open (struct grub_file *file, const char *name) +{ + struct grub_btrfs_data *data = grub_btrfs_mount (file->device); + grub_err_t err; + struct grub_btrfs_inode inode; + grub_uint8_t type; + struct grub_btrfs_key key_in; + + if (!data) + return grub_errno; + + err = find_path (data, name, &key_in, &data->tree, &type); + if (err) + { + grub_btrfs_unmount (data); + return err; + } + if (type != GRUB_BTRFS_DIR_ITEM_TYPE_REGULAR) + { + grub_btrfs_unmount (data); + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a regular file"); + } + + data->inode = key_in.object_id; + err = grub_btrfs_read_inode (data, &inode, data->inode, data->tree); + if (err) + { + grub_btrfs_unmount (data); + return err; + } + + file->data = data; + file->size = grub_le_to_cpu64 (inode.size); + + return err; +} + +static grub_err_t +grub_btrfs_close (grub_file_t file) +{ + grub_btrfs_unmount (file->data); + + return GRUB_ERR_NONE; +} + +static grub_ssize_t +grub_btrfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_btrfs_data *data = file->data; + + return grub_btrfs_extent_read (data, data->inode, + data->tree, file->offset, buf, len); +} + +static grub_err_t +grub_btrfs_uuid (grub_device_t device, char **uuid) +{ + struct grub_btrfs_data *data; + + *uuid = NULL; + + data = grub_btrfs_mount (device); + if (! data) + return grub_errno; + + *uuid = grub_xasprintf ("%04x%04x-%04x-%04x-%04x-%04x%04x%04x", + grub_be_to_cpu16 (data->sblock.uuid[0]), + grub_be_to_cpu16 (data->sblock.uuid[1]), + grub_be_to_cpu16 (data->sblock.uuid[2]), + grub_be_to_cpu16 (data->sblock.uuid[3]), + grub_be_to_cpu16 (data->sblock.uuid[4]), + grub_be_to_cpu16 (data->sblock.uuid[5]), + grub_be_to_cpu16 (data->sblock.uuid[6]), + grub_be_to_cpu16 (data->sblock.uuid[7])); + + grub_btrfs_unmount (data); + + return grub_errno; +} + +static grub_err_t +grub_btrfs_label (grub_device_t device, char **label) +{ + struct grub_btrfs_data *data; + + *label = NULL; + + data = grub_btrfs_mount (device); + if (! data) + return grub_errno; + + *label = grub_strndup (data->sblock.label, sizeof (data->sblock.label)); + + grub_btrfs_unmount (data); + + return grub_errno; +} + +static struct grub_fs grub_btrfs_fs = + { + .name = "btrfs", + .dir = grub_btrfs_dir, + .open = grub_btrfs_open, + .read = grub_btrfs_read, + .close = grub_btrfs_close, + .uuid = grub_btrfs_uuid, + .label = grub_btrfs_label, +#ifdef GRUB_UTIL + .reserved_first_sector = 1, +#endif + }; + +GRUB_MOD_INIT(btrfs) +{ + grub_fs_register (&grub_btrfs_fs); +} + +GRUB_MOD_FINI(btrfs) +{ + grub_fs_unregister (&grub_btrfs_fs); +} diff --git a/grub-core/fs/cpio.c b/grub-core/fs/cpio.c new file mode 100644 index 0000000..a7ccfbd --- /dev/null +++ b/grub-core/fs/cpio.c @@ -0,0 +1,381 @@ +/* cpio.c - cpio and tar filesystem. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008,2009 Free Software Foundation, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#ifndef MODE_USTAR +/* cpio support */ +#define MAGIC_BCPIO 070707 +struct head +{ + grub_uint16_t magic; + grub_uint16_t dev; + grub_uint16_t ino; + grub_uint16_t mode; + grub_uint16_t uid; + grub_uint16_t gid; + grub_uint16_t nlink; + grub_uint16_t rdev; + grub_uint16_t mtime_1; + grub_uint16_t mtime_2; + grub_uint16_t namesize; + grub_uint16_t filesize_1; + grub_uint16_t filesize_2; +} __attribute__ ((packed)); +#else +/* tar support */ +#define MAGIC_USTAR "ustar" +struct head +{ + char name[100]; + char mode[8]; + char uid[8]; + char gid[8]; + char size[12]; + char mtime[12]; + char chksum[8]; + char typeflag; + char linkname[100]; + char magic[6]; + char version[2]; + char uname[32]; + char gname[32]; + char devmajor[8]; + char devminor[8]; + char prefix[155]; +} __attribute__ ((packed)); +#endif + +struct grub_cpio_data +{ + grub_disk_t disk; + grub_uint32_t hofs; + grub_uint32_t dofs; + grub_uint32_t size; +}; + +static grub_dl_t my_mod; + +static grub_err_t +grub_cpio_find_file (struct grub_cpio_data *data, char **name, + grub_uint32_t * ofs) +{ +#ifndef MODE_USTAR + struct head hd; + + if (grub_disk_read + (data->disk, 0, data->hofs, sizeof (hd), &hd)) + return grub_errno; + + if (hd.magic != MAGIC_BCPIO) + return grub_error (GRUB_ERR_BAD_FS, "invalid cpio archive"); + + data->size = (((grub_uint32_t) hd.filesize_1) << 16) + hd.filesize_2; + + if (hd.namesize & 1) + hd.namesize++; + + if ((*name = grub_malloc (hd.namesize)) == NULL) + return grub_errno; + + if (grub_disk_read (data->disk, 0, data->hofs + sizeof (hd), + hd.namesize, *name)) + { + grub_free (*name); + return grub_errno; + } + + if (data->size == 0 && hd.mode == 0 && hd.namesize == 11 + 1 + && ! grub_memcmp(*name, "TRAILER!!!", 11)) + { + *ofs = 0; + return GRUB_ERR_NONE; + } + + data->dofs = data->hofs + sizeof (hd) + hd.namesize; + *ofs = data->dofs + data->size; + if (data->size & 1) + (*ofs)++; +#else + struct head hd; + + if (grub_disk_read + (data->disk, 0, data->hofs, sizeof (hd), &hd)) + return grub_errno; + + if (!hd.name[0]) + { + *ofs = 0; + return GRUB_ERR_NONE; + } + + if (grub_memcmp (hd.magic, MAGIC_USTAR, sizeof (MAGIC_USTAR) - 1)) + return grub_error (GRUB_ERR_BAD_FS, "invalid tar archive"); + + if ((*name = grub_strdup (hd.name)) == NULL) + return grub_errno; + + data->size = grub_strtoul (hd.size, NULL, 8); + data->dofs = data->hofs + GRUB_DISK_SECTOR_SIZE; + *ofs = data->dofs + ((data->size + GRUB_DISK_SECTOR_SIZE - 1) & + ~(GRUB_DISK_SECTOR_SIZE - 1)); +#endif + return GRUB_ERR_NONE; +} + +static struct grub_cpio_data * +grub_cpio_mount (grub_disk_t disk) +{ + struct head hd; + struct grub_cpio_data *data; + + if (grub_disk_read (disk, 0, 0, sizeof (hd), &hd)) + goto fail; + +#ifndef MODE_USTAR + if (hd.magic != MAGIC_BCPIO) +#else + if (grub_memcmp (hd.magic, MAGIC_USTAR, + sizeof (MAGIC_USTAR) - 1)) +#endif + goto fail; + + data = (struct grub_cpio_data *) grub_malloc (sizeof (*data)); + if (!data) + goto fail; + + data->disk = disk; + + return data; + +fail: + grub_error (GRUB_ERR_BAD_FS, "not a " +#ifdef MODE_USTAR + "tar" +#else + "cpio" +#endif + " filesystem"); + return 0; +} + +static grub_err_t +grub_cpio_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_cpio_data *data; + grub_uint32_t ofs; + char *prev, *name; + const char *np; + int len; + + grub_dl_ref (my_mod); + + prev = 0; + + data = grub_cpio_mount (device->disk); + if (!data) + goto fail; + + np = path + 1; + len = grub_strlen (path) - 1; + + data->hofs = 0; + while (1) + { + if (grub_cpio_find_file (data, &name, &ofs)) + goto fail; + + if (!ofs) + break; + + if (grub_memcmp (np, name, len) == 0) + { + char *p, *n; + + n = name + len; + if (*n == '/') + n++; + + p = grub_strchr (name + len, '/'); + if (p) + *p = 0; + + if ((!prev) || (grub_strcmp (prev, name) != 0)) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = (p != NULL); + + hook (name + len, &info); + if (prev) + grub_free (prev); + prev = name; + } + else + grub_free (name); + } + data->hofs = ofs; + } + +fail: + + if (prev) + grub_free (prev); + + if (data) + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_cpio_open (grub_file_t file, const char *name) +{ + struct grub_cpio_data *data; + grub_uint32_t ofs; + char *fn; + int i, j; + + grub_dl_ref (my_mod); + + data = grub_cpio_mount (file->device->disk); + if (!data) + goto fail; + + data->hofs = 0; + while (1) + { + if (grub_cpio_find_file (data, &fn, &ofs)) + goto fail; + + if (!ofs) + { + grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + break; + } + + /* Compare NAME and FN by hand in order to cope with duplicate + slashes. */ + i = 0; + j = 0; + while (name[i] == '/') + i++; + while (1) + { + if (name[i] != fn[j]) + goto no_match; + + if (name[i] == '\0') + break; + + while (name[i] == '/' && name[i+1] == '/') + i++; + + i++; + j++; + } + + if (name[i] != fn[j]) + goto no_match; + + file->data = data; + file->size = data->size; + grub_free (fn); + + return GRUB_ERR_NONE; + + no_match: + + grub_free (fn); + data->hofs = ofs; + } + +fail: + + if (data) + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_ssize_t +grub_cpio_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_cpio_data *data; + + data = file->data; + return (grub_disk_read (data->disk, 0, data->dofs + file->offset, + len, buf)) ? -1 : (grub_ssize_t) len; +} + +static grub_err_t +grub_cpio_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static struct grub_fs grub_cpio_fs = { +#ifdef MODE_USTAR + .name = "tarfs", +#else + .name = "cpiofs", +#endif + .dir = grub_cpio_dir, + .open = grub_cpio_open, + .read = grub_cpio_read, + .close = grub_cpio_close, +#ifdef GRUB_UTIL + .reserved_first_sector = 0, +#endif +}; + +#ifdef MODE_USTAR +GRUB_MOD_INIT (tar) +#else +GRUB_MOD_INIT (cpio) +#endif +{ + grub_fs_register (&grub_cpio_fs); + my_mod = mod; +} + +#ifdef MODE_USTAR +GRUB_MOD_FINI (tar) +#else +GRUB_MOD_FINI (cpio) +#endif +{ + grub_fs_unregister (&grub_cpio_fs); +} diff --git a/grub-core/fs/ext2.c b/grub-core/fs/ext2.c new file mode 100644 index 0000000..0fdf151 --- /dev/null +++ b/grub-core/fs/ext2.c @@ -0,0 +1,991 @@ +/* ext2.c - Second Extended filesystem */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* Magic value used to identify an ext2 filesystem. */ +#define EXT2_MAGIC 0xEF53 +/* Amount of indirect blocks in an inode. */ +#define INDIRECT_BLOCKS 12 +/* Maximum length of a pathname. */ +#define EXT2_PATH_MAX 4096 +/* Maximum nesting of symlinks, used to prevent a loop. */ +#define EXT2_MAX_SYMLINKCNT 8 + +/* The good old revision and the default inode size. */ +#define EXT2_GOOD_OLD_REVISION 0 +#define EXT2_GOOD_OLD_INODE_SIZE 128 + +/* Filetype used in directory entry. */ +#define FILETYPE_UNKNOWN 0 +#define FILETYPE_REG 1 +#define FILETYPE_DIRECTORY 2 +#define FILETYPE_SYMLINK 7 + +/* Filetype information as used in inodes. */ +#define FILETYPE_INO_MASK 0170000 +#define FILETYPE_INO_REG 0100000 +#define FILETYPE_INO_DIRECTORY 0040000 +#define FILETYPE_INO_SYMLINK 0120000 + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Log2 size of ext2 block in 512 blocks. */ +#define LOG2_EXT2_BLOCK_SIZE(data) \ + (grub_le_to_cpu32 (data->sblock.log2_block_size) + 1) + +/* Log2 size of ext2 block in bytes. */ +#define LOG2_BLOCK_SIZE(data) \ + (grub_le_to_cpu32 (data->sblock.log2_block_size) + 10) + +/* The size of an ext2 block in bytes. */ +#define EXT2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE (data)) + +/* The revision level. */ +#define EXT2_REVISION(data) grub_le_to_cpu32 (data->sblock.revision_level) + +/* The inode size. */ +#define EXT2_INODE_SIZE(data) \ + (EXT2_REVISION (data) == EXT2_GOOD_OLD_REVISION \ + ? EXT2_GOOD_OLD_INODE_SIZE \ + : grub_le_to_cpu16 (data->sblock.inode_size)) + +/* Superblock filesystem feature flags (RW compatible) + * A filesystem with any of these enabled can be read and written by a driver + * that does not understand them without causing metadata/data corruption. */ +#define EXT2_FEATURE_COMPAT_DIR_PREALLOC 0x0001 +#define EXT2_FEATURE_COMPAT_IMAGIC_INODES 0x0002 +#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004 +#define EXT2_FEATURE_COMPAT_EXT_ATTR 0x0008 +#define EXT2_FEATURE_COMPAT_RESIZE_INODE 0x0010 +#define EXT2_FEATURE_COMPAT_DIR_INDEX 0x0020 +/* Superblock filesystem feature flags (RO compatible) + * A filesystem with any of these enabled can be safely read by a driver that + * does not understand them, but should not be written to, usually because + * additional metadata is required. */ +#define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001 +#define EXT2_FEATURE_RO_COMPAT_LARGE_FILE 0x0002 +#define EXT2_FEATURE_RO_COMPAT_BTREE_DIR 0x0004 +#define EXT4_FEATURE_RO_COMPAT_GDT_CSUM 0x0010 +#define EXT4_FEATURE_RO_COMPAT_DIR_NLINK 0x0020 +#define EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE 0x0040 +/* Superblock filesystem feature flags (back-incompatible) + * A filesystem with any of these enabled should not be attempted to be read + * by a driver that does not understand them, since they usually indicate + * metadata format changes that might confuse the reader. */ +#define EXT2_FEATURE_INCOMPAT_COMPRESSION 0x0001 +#define EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002 +#define EXT3_FEATURE_INCOMPAT_RECOVER 0x0004 /* Needs recovery */ +#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008 /* Volume is journal device */ +#define EXT2_FEATURE_INCOMPAT_META_BG 0x0010 +#define EXT4_FEATURE_INCOMPAT_EXTENTS 0x0040 /* Extents used */ +#define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 +#define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 + +/* The set of back-incompatible features this driver DOES support. Add (OR) + * flags here as the related features are implemented into the driver. */ +#define EXT2_DRIVER_SUPPORTED_INCOMPAT ( EXT2_FEATURE_INCOMPAT_FILETYPE \ + | EXT4_FEATURE_INCOMPAT_EXTENTS \ + | EXT4_FEATURE_INCOMPAT_FLEX_BG ) +/* List of rationales for the ignored "incompatible" features: + * needs_recovery: Not really back-incompatible - was added as such to forbid + * ext2 drivers from mounting an ext3 volume with a dirty + * journal because they will ignore the journal, but the next + * ext3 driver to mount the volume will find the journal and + * replay it, potentially corrupting the metadata written by + * the ext2 drivers. Safe to ignore for this RO driver. */ +#define EXT2_DRIVER_IGNORED_INCOMPAT ( EXT3_FEATURE_INCOMPAT_RECOVER ) + + +#define EXT3_JOURNAL_MAGIC_NUMBER 0xc03b3998U + +#define EXT3_JOURNAL_DESCRIPTOR_BLOCK 1 +#define EXT3_JOURNAL_COMMIT_BLOCK 2 +#define EXT3_JOURNAL_SUPERBLOCK_V1 3 +#define EXT3_JOURNAL_SUPERBLOCK_V2 4 +#define EXT3_JOURNAL_REVOKE_BLOCK 5 + +#define EXT3_JOURNAL_FLAG_ESCAPE 1 +#define EXT3_JOURNAL_FLAG_SAME_UUID 2 +#define EXT3_JOURNAL_FLAG_DELETED 4 +#define EXT3_JOURNAL_FLAG_LAST_TAG 8 + +#define EXT4_EXTENTS_FLAG 0x80000 + +/* The ext2 superblock. */ +struct grub_ext2_sblock +{ + grub_uint32_t total_inodes; + grub_uint32_t total_blocks; + grub_uint32_t reserved_blocks; + grub_uint32_t free_blocks; + grub_uint32_t free_inodes; + grub_uint32_t first_data_block; + grub_uint32_t log2_block_size; + grub_uint32_t log2_fragment_size; + grub_uint32_t blocks_per_group; + grub_uint32_t fragments_per_group; + grub_uint32_t inodes_per_group; + grub_uint32_t mtime; + grub_uint32_t utime; + grub_uint16_t mnt_count; + grub_uint16_t max_mnt_count; + grub_uint16_t magic; + grub_uint16_t fs_state; + grub_uint16_t error_handling; + grub_uint16_t minor_revision_level; + grub_uint32_t lastcheck; + grub_uint32_t checkinterval; + grub_uint32_t creator_os; + grub_uint32_t revision_level; + grub_uint16_t uid_reserved; + grub_uint16_t gid_reserved; + grub_uint32_t first_inode; + grub_uint16_t inode_size; + grub_uint16_t block_group_number; + grub_uint32_t feature_compatibility; + grub_uint32_t feature_incompat; + grub_uint32_t feature_ro_compat; + grub_uint16_t uuid[8]; + char volume_name[16]; + char last_mounted_on[64]; + grub_uint32_t compression_info; + grub_uint8_t prealloc_blocks; + grub_uint8_t prealloc_dir_blocks; + grub_uint16_t reserved_gdt_blocks; + grub_uint8_t journal_uuid[16]; + grub_uint32_t journal_inum; + grub_uint32_t journal_dev; + grub_uint32_t last_orphan; + grub_uint32_t hash_seed[4]; + grub_uint8_t def_hash_version; + grub_uint8_t jnl_backup_type; + grub_uint16_t reserved_word_pad; + grub_uint32_t default_mount_opts; + grub_uint32_t first_meta_bg; + grub_uint32_t mkfs_time; + grub_uint32_t jnl_blocks[17]; +}; + +/* The ext2 blockgroup. */ +struct grub_ext2_block_group +{ + grub_uint32_t block_id; + grub_uint32_t inode_id; + grub_uint32_t inode_table_id; + grub_uint16_t free_blocks; + grub_uint16_t free_inodes; + grub_uint16_t used_dirs; + grub_uint16_t pad; + grub_uint32_t reserved[3]; +}; + +/* The ext2 inode. */ +struct grub_ext2_inode +{ + grub_uint16_t mode; + grub_uint16_t uid; + grub_uint32_t size; + grub_uint32_t atime; + grub_uint32_t ctime; + grub_uint32_t mtime; + grub_uint32_t dtime; + grub_uint16_t gid; + grub_uint16_t nlinks; + grub_uint32_t blockcnt; /* Blocks of 512 bytes!! */ + grub_uint32_t flags; + grub_uint32_t osd1; + union + { + struct datablocks + { + grub_uint32_t dir_blocks[INDIRECT_BLOCKS]; + grub_uint32_t indir_block; + grub_uint32_t double_indir_block; + grub_uint32_t triple_indir_block; + } blocks; + char symlink[60]; + }; + grub_uint32_t version; + grub_uint32_t acl; + grub_uint32_t size_high; + grub_uint32_t fragment_addr; + grub_uint32_t osd2[3]; +}; + +/* The header of an ext2 directory entry. */ +struct ext2_dirent +{ + grub_uint32_t inode; + grub_uint16_t direntlen; + grub_uint8_t namelen; + grub_uint8_t filetype; +}; + +struct grub_ext3_journal_header +{ + grub_uint32_t magic; + grub_uint32_t block_type; + grub_uint32_t sequence; +}; + +struct grub_ext3_journal_revoke_header +{ + struct grub_ext3_journal_header header; + grub_uint32_t count; + grub_uint32_t data[0]; +}; + +struct grub_ext3_journal_block_tag +{ + grub_uint32_t block; + grub_uint32_t flags; +}; + +struct grub_ext3_journal_sblock +{ + struct grub_ext3_journal_header header; + grub_uint32_t block_size; + grub_uint32_t maxlen; + grub_uint32_t first; + grub_uint32_t sequence; + grub_uint32_t start; +}; + +#define EXT4_EXT_MAGIC 0xf30a + +struct grub_ext4_extent_header +{ + grub_uint16_t magic; + grub_uint16_t entries; + grub_uint16_t max; + grub_uint16_t depth; + grub_uint32_t generation; +}; + +struct grub_ext4_extent +{ + grub_uint32_t block; + grub_uint16_t len; + grub_uint16_t start_hi; + grub_uint32_t start; +}; + +struct grub_ext4_extent_idx +{ + grub_uint32_t block; + grub_uint32_t leaf; + grub_uint16_t leaf_hi; + grub_uint16_t unused; +}; + +struct grub_fshelp_node +{ + struct grub_ext2_data *data; + struct grub_ext2_inode inode; + int ino; + int inode_read; +}; + +/* Information about a "mounted" ext2 filesystem. */ +struct grub_ext2_data +{ + struct grub_ext2_sblock sblock; + grub_disk_t disk; + struct grub_ext2_inode *inode; + struct grub_fshelp_node diropen; +}; + +static grub_dl_t my_mod; + + + +/* Read into BLKGRP the blockgroup descriptor of blockgroup GROUP of + the mounted filesystem DATA. */ +inline static grub_err_t +grub_ext2_blockgroup (struct grub_ext2_data *data, int group, + struct grub_ext2_block_group *blkgrp) +{ + return grub_disk_read (data->disk, + ((grub_le_to_cpu32 (data->sblock.first_data_block) + 1) + << LOG2_EXT2_BLOCK_SIZE (data)), + group * sizeof (struct grub_ext2_block_group), + sizeof (struct grub_ext2_block_group), blkgrp); +} + +static struct grub_ext4_extent_header * +grub_ext4_find_leaf (struct grub_ext2_data *data, char *buf, + struct grub_ext4_extent_header *ext_block, + grub_uint32_t fileblock) +{ + struct grub_ext4_extent_idx *index; + + while (1) + { + int i; + grub_disk_addr_t block; + + index = (struct grub_ext4_extent_idx *) (ext_block + 1); + + if (grub_le_to_cpu16(ext_block->magic) != EXT4_EXT_MAGIC) + return 0; + + if (ext_block->depth == 0) + return ext_block; + + for (i = 0; i < grub_le_to_cpu16 (ext_block->entries); i++) + { + if (fileblock < grub_le_to_cpu32(index[i].block)) + break; + } + + if (--i < 0) + return 0; + + block = grub_le_to_cpu16 (index[i].leaf_hi); + block = (block << 32) + grub_le_to_cpu32 (index[i].leaf); + if (grub_disk_read (data->disk, + block << LOG2_EXT2_BLOCK_SIZE (data), + 0, EXT2_BLOCK_SIZE(data), buf)) + return 0; + + ext_block = (struct grub_ext4_extent_header *) buf; + } +} + +static grub_disk_addr_t +grub_ext2_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + struct grub_ext2_data *data = node->data; + struct grub_ext2_inode *inode = &node->inode; + int blknr = -1; + unsigned int blksz = EXT2_BLOCK_SIZE (data); + int log2_blksz = LOG2_EXT2_BLOCK_SIZE (data); + + if (grub_le_to_cpu32(inode->flags) & EXT4_EXTENTS_FLAG) + { + char buf[EXT2_BLOCK_SIZE(data)]; + struct grub_ext4_extent_header *leaf; + struct grub_ext4_extent *ext; + int i; + + leaf = grub_ext4_find_leaf (data, buf, + (struct grub_ext4_extent_header *) inode->blocks.dir_blocks, + fileblock); + if (! leaf) + { + grub_error (GRUB_ERR_BAD_FS, "invalid extent"); + return -1; + } + + ext = (struct grub_ext4_extent *) (leaf + 1); + for (i = 0; i < grub_le_to_cpu16 (leaf->entries); i++) + { + if (fileblock < grub_le_to_cpu32 (ext[i].block)) + break; + } + + if (--i >= 0) + { + fileblock -= grub_le_to_cpu32 (ext[i].block); + if (fileblock >= grub_le_to_cpu16 (ext[i].len)) + return 0; + else + { + grub_disk_addr_t start; + + start = grub_le_to_cpu16 (ext[i].start_hi); + start = (start << 32) + grub_le_to_cpu32 (ext[i].start); + + return fileblock + start; + } + } + else + { + grub_error (GRUB_ERR_BAD_FS, "something wrong with extent"); + return -1; + } + } + /* Direct blocks. */ + if (fileblock < INDIRECT_BLOCKS) + blknr = grub_le_to_cpu32 (inode->blocks.dir_blocks[fileblock]); + /* Indirect. */ + else if (fileblock < INDIRECT_BLOCKS + blksz / 4) + { + grub_uint32_t indir[blksz / 4]; + + if (grub_disk_read (data->disk, + ((grub_disk_addr_t) + grub_le_to_cpu32 (inode->blocks.indir_block)) + << log2_blksz, + 0, blksz, indir)) + return grub_errno; + + blknr = grub_le_to_cpu32 (indir[fileblock - INDIRECT_BLOCKS]); + } + /* Double indirect. */ + else if (fileblock < INDIRECT_BLOCKS + blksz / 4 * (blksz / 4 + 1)) + { + unsigned int perblock = blksz / 4; + unsigned int rblock = fileblock - (INDIRECT_BLOCKS + + blksz / 4); + grub_uint32_t indir[blksz / 4]; + + if (grub_disk_read (data->disk, + ((grub_disk_addr_t) + grub_le_to_cpu32 (inode->blocks.double_indir_block)) + << log2_blksz, + 0, blksz, indir)) + return grub_errno; + + if (grub_disk_read (data->disk, + ((grub_disk_addr_t) + grub_le_to_cpu32 (indir[rblock / perblock])) + << log2_blksz, + 0, blksz, indir)) + return grub_errno; + + + blknr = grub_le_to_cpu32 (indir[rblock % perblock]); + } + /* triple indirect. */ + else if (fileblock < INDIRECT_BLOCKS + blksz / 4 * (blksz / 4 + 1) + + (blksz / 4) * (blksz / 4) * (blksz / 4 + 1)) + { + unsigned int perblock = blksz / 4; + unsigned int rblock = fileblock - (INDIRECT_BLOCKS + blksz / 4 + * (blksz / 4 + 1)); + grub_uint32_t indir[blksz / 4]; + + if (grub_disk_read (data->disk, + ((grub_disk_addr_t) + grub_le_to_cpu32 (inode->blocks.triple_indir_block)) + << log2_blksz, + 0, blksz, indir)) + return grub_errno; + + if (grub_disk_read (data->disk, + ((grub_disk_addr_t) + grub_le_to_cpu32 (indir[(rblock / perblock) / perblock])) + << log2_blksz, + 0, blksz, indir)) + return grub_errno; + + if (grub_disk_read (data->disk, + ((grub_disk_addr_t) + grub_le_to_cpu32 (indir[(rblock / perblock) % perblock])) + << log2_blksz, + 0, blksz, indir)) + return grub_errno; + + blknr = grub_le_to_cpu32 (indir[rblock % perblock]); + } + else + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "ext2fs doesn't support quadruple indirect blocks"); + } + + return blknr; +} + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_ext2_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + grub_off_t pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_ext2_read_block, + grub_cpu_to_le32 (node->inode.size) + | (((grub_off_t) grub_cpu_to_le32 (node->inode.size_high)) << 32), + LOG2_EXT2_BLOCK_SIZE (node->data)); + +} + + +/* Read the inode INO for the file described by DATA into INODE. */ +static grub_err_t +grub_ext2_read_inode (struct grub_ext2_data *data, + int ino, struct grub_ext2_inode *inode) +{ + struct grub_ext2_block_group blkgrp; + struct grub_ext2_sblock *sblock = &data->sblock; + int inodes_per_block; + unsigned int blkno; + unsigned int blkoff; + + /* It is easier to calculate if the first inode is 0. */ + ino--; + + grub_ext2_blockgroup (data, + ino / grub_le_to_cpu32 (sblock->inodes_per_group), + &blkgrp); + if (grub_errno) + return grub_errno; + + inodes_per_block = EXT2_BLOCK_SIZE (data) / EXT2_INODE_SIZE (data); + blkno = (ino % grub_le_to_cpu32 (sblock->inodes_per_group)) + / inodes_per_block; + blkoff = (ino % grub_le_to_cpu32 (sblock->inodes_per_group)) + % inodes_per_block; + + /* Read the inode. */ + if (grub_disk_read (data->disk, + (((grub_disk_addr_t) grub_le_to_cpu32 (blkgrp.inode_table_id) + blkno) + << LOG2_EXT2_BLOCK_SIZE (data)), + EXT2_INODE_SIZE (data) * blkoff, + sizeof (struct grub_ext2_inode), inode)) + return grub_errno; + + return 0; +} + +static struct grub_ext2_data * +grub_ext2_mount (grub_disk_t disk) +{ + struct grub_ext2_data *data; + + data = grub_malloc (sizeof (struct grub_ext2_data)); + if (!data) + return 0; + + /* Read the superblock. */ + grub_disk_read (disk, 1 * 2, 0, sizeof (struct grub_ext2_sblock), + &data->sblock); + if (grub_errno) + goto fail; + + /* Make sure this is an ext2 filesystem. */ + if (grub_le_to_cpu16 (data->sblock.magic) != EXT2_MAGIC) + { + grub_error (GRUB_ERR_BAD_FS, "not an ext2 filesystem"); + goto fail; + } + + /* Check the FS doesn't have feature bits enabled that we don't support. */ + if (grub_le_to_cpu32 (data->sblock.feature_incompat) + & ~(EXT2_DRIVER_SUPPORTED_INCOMPAT | EXT2_DRIVER_IGNORED_INCOMPAT)) + { + grub_error (GRUB_ERR_BAD_FS, "filesystem has unsupported incompatible features"); + goto fail; + } + + + data->disk = disk; + + data->diropen.data = data; + data->diropen.ino = 2; + data->diropen.inode_read = 1; + + data->inode = &data->diropen.inode; + + grub_ext2_read_inode (data, 2, data->inode); + if (grub_errno) + goto fail; + + return data; + + fail: + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not an ext2 filesystem"); + + grub_free (data); + return 0; +} + +static char * +grub_ext2_read_symlink (grub_fshelp_node_t node) +{ + char *symlink; + struct grub_fshelp_node *diro = node; + + if (! diro->inode_read) + { + grub_ext2_read_inode (diro->data, diro->ino, &diro->inode); + if (grub_errno) + return 0; + } + + symlink = grub_malloc (grub_le_to_cpu32 (diro->inode.size) + 1); + if (! symlink) + return 0; + + /* If the filesize of the symlink is bigger than + 60 the symlink is stored in a separate block, + otherwise it is stored in the inode. */ + if (grub_le_to_cpu32 (diro->inode.size) <= 60) + grub_strncpy (symlink, + diro->inode.symlink, + grub_le_to_cpu32 (diro->inode.size)); + else + { + grub_ext2_read_file (diro, 0, 0, + grub_le_to_cpu32 (diro->inode.size), + symlink); + if (grub_errno) + { + grub_free (symlink); + return 0; + } + } + + symlink[grub_le_to_cpu32 (diro->inode.size)] = '\0'; + return symlink; +} + +static int +grub_ext2_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + unsigned int fpos = 0; + struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir; + + if (! diro->inode_read) + { + grub_ext2_read_inode (diro->data, diro->ino, &diro->inode); + if (grub_errno) + return 0; + } + + /* Search the file. */ + while (fpos < grub_le_to_cpu32 (diro->inode.size)) + { + struct ext2_dirent dirent; + + grub_ext2_read_file (diro, 0, fpos, sizeof (struct ext2_dirent), + (char *) &dirent); + if (grub_errno) + return 0; + + if (dirent.direntlen == 0) + return 0; + + if (dirent.namelen != 0) + { + char filename[dirent.namelen + 1]; + struct grub_fshelp_node *fdiro; + enum grub_fshelp_filetype type = GRUB_FSHELP_UNKNOWN; + + grub_ext2_read_file (diro, 0, fpos + sizeof (struct ext2_dirent), + dirent.namelen, filename); + if (grub_errno) + return 0; + + fdiro = grub_malloc (sizeof (struct grub_fshelp_node)); + if (! fdiro) + return 0; + + fdiro->data = diro->data; + fdiro->ino = grub_le_to_cpu32 (dirent.inode); + + filename[dirent.namelen] = '\0'; + + if (dirent.filetype != FILETYPE_UNKNOWN) + { + fdiro->inode_read = 0; + + if (dirent.filetype == FILETYPE_DIRECTORY) + type = GRUB_FSHELP_DIR; + else if (dirent.filetype == FILETYPE_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else if (dirent.filetype == FILETYPE_REG) + type = GRUB_FSHELP_REG; + } + else + { + /* The filetype can not be read from the dirent, read + the inode to get more information. */ + grub_ext2_read_inode (diro->data, + grub_le_to_cpu32 (dirent.inode), + &fdiro->inode); + if (grub_errno) + { + grub_free (fdiro); + return 0; + } + + fdiro->inode_read = 1; + + if ((grub_le_to_cpu16 (fdiro->inode.mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_DIRECTORY) + type = GRUB_FSHELP_DIR; + else if ((grub_le_to_cpu16 (fdiro->inode.mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else if ((grub_le_to_cpu16 (fdiro->inode.mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_REG) + type = GRUB_FSHELP_REG; + } + + if (hook (filename, type, fdiro)) + return 1; + } + + fpos += grub_le_to_cpu16 (dirent.direntlen); + } + + return 0; +} + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_ext2_open (struct grub_file *file, const char *name) +{ + struct grub_ext2_data *data; + struct grub_fshelp_node *fdiro = 0; + grub_err_t err; + + grub_dl_ref (my_mod); + + data = grub_ext2_mount (file->device->disk); + if (! data) + { + err = grub_errno; + goto fail; + } + + err = grub_fshelp_find_file (name, &data->diropen, &fdiro, + grub_ext2_iterate_dir, + grub_ext2_read_symlink, GRUB_FSHELP_REG); + if (err) + goto fail; + + if (! fdiro->inode_read) + { + err = grub_ext2_read_inode (data, fdiro->ino, &fdiro->inode); + if (err) + goto fail; + } + + grub_memcpy (data->inode, &fdiro->inode, sizeof (struct grub_ext2_inode)); + grub_free (fdiro); + + file->size = grub_le_to_cpu32 (data->inode->size); + file->size |= ((grub_off_t) grub_le_to_cpu32 (data->inode->size_high)) << 32; + file->data = data; + file->offset = 0; + + return 0; + + fail: + if (fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return err; +} + +static grub_err_t +grub_ext2_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + +/* Read LEN bytes data from FILE into BUF. */ +static grub_ssize_t +grub_ext2_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_ext2_data *data = (struct grub_ext2_data *) file->data; + + return grub_ext2_read_file (&data->diropen, file->read_hook, + file->offset, len, buf); +} + + +static grub_err_t +grub_ext2_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_ext2_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + if (! node->inode_read) + { + grub_ext2_read_inode (data, node->ino, &node->inode); + if (!grub_errno) + node->inode_read = 1; + grub_errno = GRUB_ERR_NONE; + } + if (node->inode_read) + { + info.mtimeset = 1; + info.mtime = grub_le_to_cpu32 (node->inode.mtime); + } + + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_ext2_mount (device->disk); + if (! data) + goto fail; + + grub_fshelp_find_file (path, &data->diropen, &fdiro, grub_ext2_iterate_dir, + grub_ext2_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + grub_ext2_iterate_dir (fdiro, iterate); + + fail: + if (fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_ext2_label (grub_device_t device, char **label) +{ + struct grub_ext2_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_ext2_mount (disk); + if (data) + *label = grub_strndup (data->sblock.volume_name, 14); + else + *label = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static grub_err_t +grub_ext2_uuid (grub_device_t device, char **uuid) +{ + struct grub_ext2_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_ext2_mount (disk); + if (data) + { + *uuid = grub_xasprintf ("%04x%04x-%04x-%04x-%04x-%04x%04x%04x", + grub_be_to_cpu16 (data->sblock.uuid[0]), + grub_be_to_cpu16 (data->sblock.uuid[1]), + grub_be_to_cpu16 (data->sblock.uuid[2]), + grub_be_to_cpu16 (data->sblock.uuid[3]), + grub_be_to_cpu16 (data->sblock.uuid[4]), + grub_be_to_cpu16 (data->sblock.uuid[5]), + grub_be_to_cpu16 (data->sblock.uuid[6]), + grub_be_to_cpu16 (data->sblock.uuid[7])); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +/* Get mtime. */ +static grub_err_t +grub_ext2_mtime (grub_device_t device, grub_int32_t *tm) +{ + struct grub_ext2_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_ext2_mount (disk); + if (!data) + *tm = 0; + else + *tm = grub_le_to_cpu32 (data->sblock.utime); + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; + +} + + + +static struct grub_fs grub_ext2_fs = + { + .name = "ext2", + .dir = grub_ext2_dir, + .open = grub_ext2_open, + .read = grub_ext2_read, + .close = grub_ext2_close, + .label = grub_ext2_label, + .uuid = grub_ext2_uuid, + .mtime = grub_ext2_mtime, +#ifdef GRUB_UTIL + .reserved_first_sector = 1, +#endif + .next = 0 + }; + +GRUB_MOD_INIT(ext2) +{ + grub_fs_register (&grub_ext2_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(ext2) +{ + grub_fs_unregister (&grub_ext2_fs); +} diff --git a/grub-core/fs/fat.c b/grub-core/fs/fat.c new file mode 100644 index 0000000..76b9c52 --- /dev/null +++ b/grub-core/fs/fat.c @@ -0,0 +1,878 @@ +/* fat.c - FAT filesystem */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2000,2001,2002,2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_FAT_DIR_ENTRY_SIZE 32 + +#define GRUB_FAT_ATTR_READ_ONLY 0x01 +#define GRUB_FAT_ATTR_HIDDEN 0x02 +#define GRUB_FAT_ATTR_SYSTEM 0x04 +#define GRUB_FAT_ATTR_VOLUME_ID 0x08 +#define GRUB_FAT_ATTR_DIRECTORY 0x10 +#define GRUB_FAT_ATTR_ARCHIVE 0x20 + +#define GRUB_FAT_MAXFILE 256 + +#define GRUB_FAT_ATTR_LONG_NAME (GRUB_FAT_ATTR_READ_ONLY \ + | GRUB_FAT_ATTR_HIDDEN \ + | GRUB_FAT_ATTR_SYSTEM \ + | GRUB_FAT_ATTR_VOLUME_ID) +#define GRUB_FAT_ATTR_VALID (GRUB_FAT_ATTR_READ_ONLY \ + | GRUB_FAT_ATTR_HIDDEN \ + | GRUB_FAT_ATTR_SYSTEM \ + | GRUB_FAT_ATTR_DIRECTORY \ + | GRUB_FAT_ATTR_ARCHIVE \ + | GRUB_FAT_ATTR_VOLUME_ID) + +struct grub_fat_bpb +{ + grub_uint8_t jmp_boot[3]; + grub_uint8_t oem_name[8]; + grub_uint16_t bytes_per_sector; + grub_uint8_t sectors_per_cluster; + grub_uint16_t num_reserved_sectors; + grub_uint8_t num_fats; + grub_uint16_t num_root_entries; + grub_uint16_t num_total_sectors_16; + grub_uint8_t media; + grub_uint16_t sectors_per_fat_16; + grub_uint16_t sectors_per_track; + grub_uint16_t num_heads; + grub_uint32_t num_hidden_sectors; + grub_uint32_t num_total_sectors_32; + union + { + struct + { + grub_uint8_t num_ph_drive; + grub_uint8_t reserved; + grub_uint8_t boot_sig; + grub_uint32_t num_serial; + grub_uint8_t label[11]; + grub_uint8_t fstype[8]; + } __attribute__ ((packed)) fat12_or_fat16; + struct + { + grub_uint32_t sectors_per_fat_32; + grub_uint16_t extended_flags; + grub_uint16_t fs_version; + grub_uint32_t root_cluster; + grub_uint16_t fs_info; + grub_uint16_t backup_boot_sector; + grub_uint8_t reserved[12]; + grub_uint8_t num_ph_drive; + grub_uint8_t reserved1; + grub_uint8_t boot_sig; + grub_uint32_t num_serial; + grub_uint8_t label[11]; + grub_uint8_t fstype[8]; + } __attribute__ ((packed)) fat32; + } __attribute__ ((packed)) version_specific; +} __attribute__ ((packed)); + +struct grub_fat_dir_entry +{ + grub_uint8_t name[11]; + grub_uint8_t attr; + grub_uint8_t nt_reserved; + grub_uint8_t c_time_tenth; + grub_uint16_t c_time; + grub_uint16_t c_date; + grub_uint16_t a_date; + grub_uint16_t first_cluster_high; + grub_uint16_t w_time; + grub_uint16_t w_date; + grub_uint16_t first_cluster_low; + grub_uint32_t file_size; +} __attribute__ ((packed)); + +struct grub_fat_long_name_entry +{ + grub_uint8_t id; + grub_uint16_t name1[5]; + grub_uint8_t attr; + grub_uint8_t reserved; + grub_uint8_t checksum; + grub_uint16_t name2[6]; + grub_uint16_t first_cluster; + grub_uint16_t name3[2]; +} __attribute__ ((packed)); + +struct grub_fat_data +{ + int logical_sector_bits; + grub_uint32_t num_sectors; + + grub_uint16_t fat_sector; + grub_uint32_t sectors_per_fat; + int fat_size; + + grub_uint32_t root_cluster; + grub_uint32_t root_sector; + grub_uint32_t num_root_sectors; + + int cluster_bits; + grub_uint32_t cluster_eof_mark; + grub_uint32_t cluster_sector; + grub_uint32_t num_clusters; + + grub_uint8_t attr; + grub_ssize_t file_size; + grub_uint32_t file_cluster; + grub_uint32_t cur_cluster_num; + grub_uint32_t cur_cluster; + + grub_uint32_t uuid; +}; + +static grub_dl_t my_mod; + +static int +fat_log2 (unsigned x) +{ + int i; + + if (x == 0) + return -1; + + for (i = 0; (x & 1) == 0; i++) + x >>= 1; + + if (x != 1) + return -1; + + return i; +} + +static struct grub_fat_data * +grub_fat_mount (grub_disk_t disk) +{ + struct grub_fat_bpb bpb; + struct grub_fat_data *data = 0; + grub_uint32_t first_fat, magic; + + if (! disk) + goto fail; + + data = (struct grub_fat_data *) grub_malloc (sizeof (*data)); + if (! data) + goto fail; + + /* Read the BPB. */ + if (grub_disk_read (disk, 0, 0, sizeof (bpb), &bpb)) + goto fail; + + if (grub_strncmp((const char *) bpb.version_specific.fat12_or_fat16.fstype, "FAT12", 5) + && grub_strncmp((const char *) bpb.version_specific.fat12_or_fat16.fstype, "FAT16", 5) + && grub_strncmp((const char *) bpb.version_specific.fat32.fstype, "FAT32", 5)) + goto fail; + + /* Get the sizes of logical sectors and clusters. */ + data->logical_sector_bits = + fat_log2 (grub_le_to_cpu16 (bpb.bytes_per_sector)); + if (data->logical_sector_bits < GRUB_DISK_SECTOR_BITS) + goto fail; + data->logical_sector_bits -= GRUB_DISK_SECTOR_BITS; + + data->cluster_bits = fat_log2 (bpb.sectors_per_cluster); + if (data->cluster_bits < 0) + goto fail; + data->cluster_bits += data->logical_sector_bits; + + /* Get information about FATs. */ + data->fat_sector = (grub_le_to_cpu16 (bpb.num_reserved_sectors) + << data->logical_sector_bits); + if (data->fat_sector == 0) + goto fail; + + data->sectors_per_fat = ((bpb.sectors_per_fat_16 + ? grub_le_to_cpu16 (bpb.sectors_per_fat_16) + : grub_le_to_cpu32 (bpb.version_specific.fat32.sectors_per_fat_32)) + << data->logical_sector_bits); + if (data->sectors_per_fat == 0) + goto fail; + + /* Get the number of sectors in this volume. */ + data->num_sectors = ((bpb.num_total_sectors_16 + ? grub_le_to_cpu16 (bpb.num_total_sectors_16) + : grub_le_to_cpu32 (bpb.num_total_sectors_32)) + << data->logical_sector_bits); + if (data->num_sectors == 0) + goto fail; + + /* Get information about the root directory. */ + if (bpb.num_fats == 0) + goto fail; + + data->root_sector = data->fat_sector + bpb.num_fats * data->sectors_per_fat; + data->num_root_sectors + = ((((grub_uint32_t) grub_le_to_cpu16 (bpb.num_root_entries) + * GRUB_FAT_DIR_ENTRY_SIZE + + grub_le_to_cpu16 (bpb.bytes_per_sector) - 1) + >> (data->logical_sector_bits + GRUB_DISK_SECTOR_BITS)) + << (data->logical_sector_bits)); + + data->cluster_sector = data->root_sector + data->num_root_sectors; + data->num_clusters = (((data->num_sectors - data->cluster_sector) + >> (data->cluster_bits + data->logical_sector_bits)) + + 2); + + if (data->num_clusters <= 2) + goto fail; + + if (! bpb.sectors_per_fat_16) + { + /* FAT32. */ + grub_uint16_t flags = grub_le_to_cpu16 (bpb.version_specific.fat32.extended_flags); + + data->root_cluster = grub_le_to_cpu32 (bpb.version_specific.fat32.root_cluster); + data->fat_size = 32; + data->cluster_eof_mark = 0x0ffffff8; + + if (flags & 0x80) + { + /* Get an active FAT. */ + unsigned active_fat = flags & 0xf; + + if (active_fat > bpb.num_fats) + goto fail; + + data->fat_sector += active_fat * data->sectors_per_fat; + } + + if (bpb.num_root_entries != 0 || bpb.version_specific.fat32.fs_version != 0) + goto fail; + } + else + { + /* FAT12 or FAT16. */ + data->root_cluster = ~0U; + + if (data->num_clusters <= 4085 + 2) + { + /* FAT12. */ + data->fat_size = 12; + data->cluster_eof_mark = 0x0ff8; + } + else + { + /* FAT16. */ + data->fat_size = 16; + data->cluster_eof_mark = 0xfff8; + } + } + + /* More sanity checks. */ + if (data->num_sectors <= data->fat_sector) + goto fail; + + if (grub_disk_read (disk, + data->fat_sector, + 0, + sizeof (first_fat), + &first_fat)) + goto fail; + + first_fat = grub_le_to_cpu32 (first_fat); + + if (data->fat_size == 32) + { + first_fat &= 0x0fffffff; + magic = 0x0fffff00; + } + else if (data->fat_size == 16) + { + first_fat &= 0x0000ffff; + magic = 0xff00; + } + else + { + first_fat &= 0x00000fff; + magic = 0x0f00; + } + + /* Serial number. */ + if (bpb.sectors_per_fat_16) + data->uuid = grub_le_to_cpu32 (bpb.version_specific.fat12_or_fat16.num_serial); + else + data->uuid = grub_le_to_cpu32 (bpb.version_specific.fat32.num_serial); + + /* Ignore the 3rd bit, because some BIOSes assigns 0xF0 to the media + descriptor, even if it is a so-called superfloppy (e.g. an USB key). + The check may be too strict for this kind of stupid BIOSes, as + they overwrite the media descriptor. */ + if ((first_fat | 0x8) != (magic | bpb.media | 0x8)) + goto fail; + + /* Start from the root directory. */ + data->file_cluster = data->root_cluster; + data->cur_cluster_num = ~0U; + data->attr = GRUB_FAT_ATTR_DIRECTORY; + return data; + + fail: + + grub_free (data); + grub_error (GRUB_ERR_BAD_FS, "not a FAT filesystem"); + return 0; +} + +static grub_ssize_t +grub_fat_read_data (grub_disk_t disk, struct grub_fat_data *data, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + grub_off_t offset, grub_size_t len, char *buf) +{ + grub_size_t size; + grub_uint32_t logical_cluster; + unsigned logical_cluster_bits; + grub_ssize_t ret = 0; + unsigned long sector; + + /* This is a special case. FAT12 and FAT16 doesn't have the root directory + in clusters. */ + if (data->file_cluster == ~0U) + { + size = (data->num_root_sectors << GRUB_DISK_SECTOR_BITS) - offset; + if (size > len) + size = len; + + if (grub_disk_read (disk, data->root_sector, offset, size, buf)) + return -1; + + return size; + } + + /* Calculate the logical cluster number and offset. */ + logical_cluster_bits = (data->cluster_bits + + data->logical_sector_bits + + GRUB_DISK_SECTOR_BITS); + logical_cluster = offset >> logical_cluster_bits; + offset &= (1 << logical_cluster_bits) - 1; + + if (logical_cluster < data->cur_cluster_num) + { + data->cur_cluster_num = 0; + data->cur_cluster = data->file_cluster; + } + + while (len) + { + while (logical_cluster > data->cur_cluster_num) + { + /* Find next cluster. */ + grub_uint32_t next_cluster; + unsigned long fat_offset; + + switch (data->fat_size) + { + case 32: + fat_offset = data->cur_cluster << 2; + break; + case 16: + fat_offset = data->cur_cluster << 1; + break; + default: + /* case 12: */ + fat_offset = data->cur_cluster + (data->cur_cluster >> 1); + break; + } + + /* Read the FAT. */ + if (grub_disk_read (disk, data->fat_sector, fat_offset, + (data->fat_size + 7) >> 3, + (char *) &next_cluster)) + return -1; + + next_cluster = grub_le_to_cpu32 (next_cluster); + switch (data->fat_size) + { + case 16: + next_cluster &= 0xFFFF; + break; + case 12: + if (data->cur_cluster & 1) + next_cluster >>= 4; + + next_cluster &= 0x0FFF; + break; + } + + grub_dprintf ("fat", "fat_size=%d, next_cluster=%u\n", + data->fat_size, next_cluster); + + /* Check the end. */ + if (next_cluster >= data->cluster_eof_mark) + return ret; + + if (next_cluster < 2 || next_cluster >= data->num_clusters) + { + grub_error (GRUB_ERR_BAD_FS, "invalid cluster %u", + next_cluster); + return -1; + } + + data->cur_cluster = next_cluster; + data->cur_cluster_num++; + } + + /* Read the data here. */ + sector = (data->cluster_sector + + ((data->cur_cluster - 2) + << (data->cluster_bits + data->logical_sector_bits))); + size = (1 << logical_cluster_bits) - offset; + if (size > len) + size = len; + + disk->read_hook = read_hook; + grub_disk_read (disk, sector, offset, size, buf); + disk->read_hook = 0; + if (grub_errno) + return -1; + + len -= size; + buf += size; + ret += size; + logical_cluster++; + offset = 0; + } + + return ret; +} + +static grub_err_t +grub_fat_iterate_dir (grub_disk_t disk, struct grub_fat_data *data, + int (*hook) (const char *filename, + struct grub_fat_dir_entry *dir)) +{ + struct grub_fat_dir_entry dir; + char *filename, *filep = 0; + grub_uint16_t *unibuf; + int slot = -1, slots = -1; + int checksum = -1; + grub_ssize_t offset = -sizeof(dir); + + if (! (data->attr & GRUB_FAT_ATTR_DIRECTORY)) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + + /* Allocate space enough to hold a long name. */ + filename = grub_malloc (0x40 * 13 * 4 + 1); + unibuf = (grub_uint16_t *) grub_malloc (0x40 * 13 * 2); + if (! filename || ! unibuf) + { + grub_free (filename); + grub_free (unibuf); + return 0; + } + + while (1) + { + unsigned i; + + /* Adjust the offset. */ + offset += sizeof (dir); + + /* Read a directory entry. */ + if ((grub_fat_read_data (disk, data, 0, + offset, sizeof (dir), (char *) &dir) + != sizeof (dir) || dir.name[0] == 0)) + break; + /* Handle long name entries. */ + if (dir.attr == GRUB_FAT_ATTR_LONG_NAME) + { + struct grub_fat_long_name_entry *long_name + = (struct grub_fat_long_name_entry *) &dir; + grub_uint8_t id = long_name->id; + + if (id & 0x40) + { + id &= 0x3f; + slots = slot = id; + checksum = long_name->checksum; + } + + if (id != slot || slot == 0 || checksum != long_name->checksum) + { + checksum = -1; + continue; + } + + slot--; + grub_memcpy (unibuf + slot * 13, long_name->name1, 5 * 2); + grub_memcpy (unibuf + slot * 13 + 5, long_name->name2, 6 * 2); + grub_memcpy (unibuf + slot * 13 + 11, long_name->name3, 2 * 2); + continue; + } + + /* Check if this entry is valid. */ + if (dir.name[0] == 0xe5 || (dir.attr & ~GRUB_FAT_ATTR_VALID)) + continue; + + /* This is a workaround for Japanese. */ + if (dir.name[0] == 0x05) + dir.name[0] = 0xe5; + + if (checksum != -1 && slot == 0) + { + grub_uint8_t sum; + + for (sum = 0, i = 0; i < sizeof (dir.name); i++) + sum = ((sum >> 1) | (sum << 7)) + dir.name[i]; + + if (sum == checksum) + { + int u; + + for (u = 0; u < slots * 13; u++) + unibuf[u] = grub_le_to_cpu16 (unibuf[u]); + + *grub_utf16_to_utf8 ((grub_uint8_t *) filename, unibuf, + slots * 13) = '\0'; + + if (hook (filename, &dir)) + break; + + checksum = -1; + continue; + } + + checksum = -1; + } + + /* Convert the 8.3 file name. */ + filep = filename; + if (dir.attr & GRUB_FAT_ATTR_VOLUME_ID) + { + for (i = 0; i < sizeof (dir.name) && dir.name[i] + && ! grub_isspace (dir.name[i]); i++) + *filep++ = dir.name[i]; + } + else + { + for (i = 0; i < 8 && dir.name[i] && ! grub_isspace (dir.name[i]); i++) + *filep++ = grub_tolower (dir.name[i]); + + *filep = '.'; + + for (i = 8; i < 11 && dir.name[i] && ! grub_isspace (dir.name[i]); i++) + *++filep = grub_tolower (dir.name[i]); + + if (*filep != '.') + filep++; + } + *filep = '\0'; + + if (hook (filename, &dir)) + break; + } + + grub_free (filename); + grub_free (unibuf); + + return grub_errno; +} + + +/* Find the underlying directory or file in PATH and return the + next path. If there is no next path or an error occurs, return NULL. + If HOOK is specified, call it with each file name. */ +static char * +grub_fat_find_dir (grub_disk_t disk, struct grub_fat_data *data, + const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + char *dirname, *dirp; + int call_hook; + int found = 0; + + auto int iter_hook (const char *filename, struct grub_fat_dir_entry *dir); + int iter_hook (const char *filename, struct grub_fat_dir_entry *dir) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + + info.dir = !! (dir->attr & GRUB_FAT_ATTR_DIRECTORY); + info.case_insensitive = 1; + + if (dir->attr & GRUB_FAT_ATTR_VOLUME_ID) + return 0; + if (*dirname == '\0' && call_hook) + return hook (filename, &info); + + if (grub_strcasecmp (dirname, filename) == 0) + { + found = 1; + data->attr = dir->attr; + data->file_size = grub_le_to_cpu32 (dir->file_size); + data->file_cluster = ((grub_le_to_cpu16 (dir->first_cluster_high) << 16) + | grub_le_to_cpu16 (dir->first_cluster_low)); + data->cur_cluster_num = ~0U; + + if (call_hook) + hook (filename, &info); + + return 1; + } + return 0; + } + + if (! (data->attr & GRUB_FAT_ATTR_DIRECTORY)) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + return 0; + } + + /* Extract a directory name. */ + while (*path == '/') + path++; + + dirp = grub_strchr (path, '/'); + if (dirp) + { + unsigned len = dirp - path; + + dirname = grub_malloc (len + 1); + if (! dirname) + return 0; + + grub_memcpy (dirname, path, len); + dirname[len] = '\0'; + } + else + /* This is actually a file. */ + dirname = grub_strdup (path); + + call_hook = (! dirp && hook); + + grub_fat_iterate_dir (disk, data, iter_hook); + if (grub_errno == GRUB_ERR_NONE && ! found && !call_hook) + grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + + grub_free (dirname); + + return found ? dirp : 0; +} + +static grub_err_t +grub_fat_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_fat_data *data = 0; + grub_disk_t disk = device->disk; + grub_size_t len; + char *dirname = 0; + char *p; + + grub_dl_ref (my_mod); + + data = grub_fat_mount (disk); + if (! data) + goto fail; + + /* Make sure that DIRNAME terminates with '/'. */ + len = grub_strlen (path); + dirname = grub_malloc (len + 1 + 1); + if (! dirname) + goto fail; + grub_memcpy (dirname, path, len); + p = dirname + len; + if (path[len - 1] != '/') + *p++ = '/'; + *p = '\0'; + p = dirname; + + do + { + p = grub_fat_find_dir (disk, data, p, hook); + } + while (p && grub_errno == GRUB_ERR_NONE); + + fail: + + grub_free (dirname); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_fat_open (grub_file_t file, const char *name) +{ + struct grub_fat_data *data = 0; + char *p = (char *) name; + + grub_dl_ref (my_mod); + + data = grub_fat_mount (file->device->disk); + if (! data) + goto fail; + + do + { + p = grub_fat_find_dir (file->device->disk, data, p, 0); + if (grub_errno != GRUB_ERR_NONE) + goto fail; + } + while (p); + + if (data->attr & GRUB_FAT_ATTR_DIRECTORY) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a file"); + goto fail; + } + + file->data = data; + file->size = data->file_size; + + return GRUB_ERR_NONE; + + fail: + + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_ssize_t +grub_fat_read (grub_file_t file, char *buf, grub_size_t len) +{ + return grub_fat_read_data (file->device->disk, file->data, file->read_hook, + file->offset, len, buf); +} + +static grub_err_t +grub_fat_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_fat_label (grub_device_t device, char **label) +{ + struct grub_fat_data *data; + grub_disk_t disk = device->disk; + + auto int iter_hook (const char *filename, struct grub_fat_dir_entry *dir); + int iter_hook (const char *filename, struct grub_fat_dir_entry *dir) + { + if (dir->attr == GRUB_FAT_ATTR_VOLUME_ID) + { + *label = grub_strdup (filename); + return 1; + } + return 0; + } + + grub_dl_ref (my_mod); + + data = grub_fat_mount (disk); + if (! data) + goto fail; + + if (! (data->attr & GRUB_FAT_ATTR_DIRECTORY)) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + return 0; + } + + *label = 0; + + grub_fat_iterate_dir (disk, data, iter_hook); + + fail: + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static grub_err_t +grub_fat_uuid (grub_device_t device, char **uuid) +{ + struct grub_fat_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_fat_mount (disk); + if (data) + { + *uuid = grub_xasprintf ("%04x-%04x", + (grub_uint16_t) (data->uuid >> 16), + (grub_uint16_t) data->uuid); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static struct grub_fs grub_fat_fs = + { + .name = "fat", + .dir = grub_fat_dir, + .open = grub_fat_open, + .read = grub_fat_read, + .close = grub_fat_close, + .label = grub_fat_label, + .uuid = grub_fat_uuid, +#ifdef GRUB_UTIL + .reserved_first_sector = 1, +#endif + .next = 0 + }; + +GRUB_MOD_INIT(fat) +{ + grub_fs_register (&grub_fat_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(fat) +{ + grub_fs_unregister (&grub_fat_fs); +} + diff --git a/grub-core/fs/fshelp.c b/grub-core/fs/fshelp.c new file mode 100644 index 0000000..f879885 --- /dev/null +++ b/grub-core/fs/fshelp.c @@ -0,0 +1,317 @@ +/* fshelp.c -- Filesystem helper functions */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Lookup the node PATH. The node ROOTNODE describes the root of the + directory tree. The node found is returned in FOUNDNODE, which is + either a ROOTNODE or a new malloc'ed node. ITERATE_DIR is used to + iterate over all directory entries in the current node. + READ_SYMLINK is used to read the symlink if a node is a symlink. + EXPECTTYPE is the type node that is expected by the called, an + error is generated if the node is not of the expected type. Make + sure you use the NESTED_FUNC_ATTR macro for HOOK, this is required + because GCC has a nasty bug when using regparm=3. */ +grub_err_t +grub_fshelp_find_file (const char *path, grub_fshelp_node_t rootnode, + grub_fshelp_node_t *foundnode, + int (*iterate_dir) (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR (*hook) + (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)), + char *(*read_symlink) (grub_fshelp_node_t node), + enum grub_fshelp_filetype expecttype) +{ + grub_err_t err; + enum grub_fshelp_filetype foundtype = GRUB_FSHELP_DIR; + int symlinknest = 0; + + auto grub_err_t NESTED_FUNC_ATTR find_file (const char *currpath, + grub_fshelp_node_t currroot, + grub_fshelp_node_t *currfound); + + grub_err_t NESTED_FUNC_ATTR find_file (const char *currpath, + grub_fshelp_node_t currroot, + grub_fshelp_node_t *currfound) + { + char fpath[grub_strlen (currpath) + 1]; + char *name = fpath; + char *next; + // unsigned int pos = 0; + enum grub_fshelp_filetype type = GRUB_FSHELP_DIR; + grub_fshelp_node_t currnode = currroot; + grub_fshelp_node_t oldnode = currroot; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + auto void free_node (grub_fshelp_node_t node); + + void free_node (grub_fshelp_node_t node) + { + if (node != rootnode && node != currroot) + grub_free (node); + } + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + if (filetype == GRUB_FSHELP_UNKNOWN || + (grub_strcmp (name, filename) && + (! (filetype & GRUB_FSHELP_CASE_INSENSITIVE) || + grub_strncasecmp (name, filename, GRUB_LONG_MAX)))) + { + grub_free (node); + return 0; + } + + /* The node is found, stop iterating over the nodes. */ + type = filetype & ~GRUB_FSHELP_CASE_INSENSITIVE; + oldnode = currnode; + currnode = node; + + return 1; + } + + grub_strncpy (fpath, currpath, grub_strlen (currpath) + 1); + + /* Remove all leading slashes. */ + while (*name == '/') + name++; + + if (! *name) + { + *currfound = currnode; + return 0; + } + + for (;;) + { + int found; + + /* Extract the actual part from the pathname. */ + next = grub_strchr (name, '/'); + if (next) + { + /* Remove all leading slashes. */ + while (*next == '/') + *(next++) = '\0'; + } + + /* At this point it is expected that the current node is a + directory, check if this is true. */ + if (type != GRUB_FSHELP_DIR) + { + free_node (currnode); + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + } + + /* Iterate over the directory. */ + found = iterate_dir (currnode, iterate); + if (! found) + { + if (grub_errno) + return grub_errno; + + break; + } + + /* Read in the symlink and follow it. */ + if (type == GRUB_FSHELP_SYMLINK) + { + char *symlink; + + /* Test if the symlink does not loop. */ + if (++symlinknest == 8) + { + free_node (currnode); + free_node (oldnode); + return grub_error (GRUB_ERR_SYMLINK_LOOP, + "too deep nesting of symlinks"); + } + + symlink = read_symlink (currnode); + free_node (currnode); + + if (!symlink) + { + free_node (oldnode); + return grub_errno; + } + + /* The symlink is an absolute path, go back to the root inode. */ + if (symlink[0] == '/') + { + free_node (oldnode); + oldnode = rootnode; + } + + /* Lookup the node the symlink points to. */ + find_file (symlink, oldnode, &currnode); + type = foundtype; + grub_free (symlink); + + if (grub_errno) + { + free_node (oldnode); + return grub_errno; + } + } + + free_node (oldnode); + + /* Found the node! */ + if (! next || *next == '\0') + { + *currfound = currnode; + foundtype = type; + return 0; + } + + name = next; + } + + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + } + + if (!path || path[0] != '/') + { + grub_error (GRUB_ERR_BAD_FILENAME, "bad filename"); + return grub_errno; + } + + err = find_file (path, rootnode, foundnode); + if (err) + return err; + + /* Check if the node that was found was of the expected type. */ + if (expecttype == GRUB_FSHELP_REG && foundtype != expecttype) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a regular file"); + else if (expecttype == GRUB_FSHELP_DIR && foundtype != expecttype) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + + return 0; +} + +/* Read LEN bytes from the file NODE on disk DISK into the buffer BUF, + beginning with the block POS. READ_HOOK should be set before + reading a block from the file. GET_BLOCK is used to translate file + blocks to disk blocks. The file is FILESIZE bytes big and the + blocks have a size of LOG2BLOCKSIZE (in log2). */ +grub_ssize_t +grub_fshelp_read_file (grub_disk_t disk, grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, + unsigned length), + grub_off_t pos, grub_size_t len, char *buf, + grub_disk_addr_t (*get_block) (grub_fshelp_node_t node, + grub_disk_addr_t block), + grub_off_t filesize, int log2blocksize) +{ + grub_disk_addr_t i, blockcnt; + int blocksize = 1 << (log2blocksize + GRUB_DISK_SECTOR_BITS); + + /* Adjust LEN so it we can't read past the end of the file. */ + if (pos + len > filesize) + len = filesize - pos; + + blockcnt = ((len + pos) + blocksize - 1) >> (log2blocksize + GRUB_DISK_SECTOR_BITS); + + for (i = pos >> (log2blocksize + GRUB_DISK_SECTOR_BITS); i < blockcnt; i++) + { + grub_disk_addr_t blknr; + int blockoff = pos & (blocksize - 1); + int blockend = blocksize; + + int skipfirst = 0; + + blknr = get_block (node, i); + if (grub_errno) + return -1; + + blknr = blknr << log2blocksize; + + /* Last block. */ + if (i == blockcnt - 1) + { + blockend = (len + pos) & (blocksize - 1); + + /* The last portion is exactly blocksize. */ + if (! blockend) + blockend = blocksize; + } + + /* First block. */ + if (i == (pos >> (log2blocksize + GRUB_DISK_SECTOR_BITS))) + { + skipfirst = blockoff; + blockend -= skipfirst; + } + + /* If the block number is 0 this block is not stored on disk but + is zero filled instead. */ + if (blknr) + { + disk->read_hook = read_hook; + + grub_disk_read (disk, blknr, skipfirst, + blockend, buf); + disk->read_hook = 0; + if (grub_errno) + return -1; + } + else + grub_memset (buf, 0, blockend); + + buf += blocksize - skipfirst; + } + + return len; +} + +unsigned int +grub_fshelp_log2blksize (unsigned int blksize, unsigned int *pow) +{ + int mod; + + *pow = 0; + while (blksize > 1) + { + mod = blksize - ((blksize >> 1) << 1); + blksize >>= 1; + + /* Check if it really is a power of two. */ + if (mod) + return grub_error (GRUB_ERR_BAD_NUMBER, + "the blocksize is not a power of two"); + (*pow)++; + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/fs/hfs.c b/grub-core/fs/hfs.c new file mode 100644 index 0000000..1f67ea1 --- /dev/null +++ b/grub-core/fs/hfs.c @@ -0,0 +1,1124 @@ +/* hfs.c - HFS. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* HFS is documented at + http://developer.apple.com/documentation/mac/Files/Files-2.html */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_HFS_SBLOCK 2 +#define GRUB_HFS_EMBED_HFSPLUS_SIG 0x482B + +#define GRUB_HFS_BLKS (data->blksz >> 9) + +#define GRUB_HFS_NODE_LEAF 0xFF + +/* The two supported filesystems a record can have. */ +enum + { + GRUB_HFS_FILETYPE_DIR = 1, + GRUB_HFS_FILETYPE_FILE = 2 + }; + +/* Catalog node ID (CNID). */ +enum grub_hfs_cnid_type + { + GRUB_HFS_CNID_ROOT_PARENT = 1, + GRUB_HFS_CNID_ROOT = 2, + GRUB_HFS_CNID_EXT = 3, + GRUB_HFS_CNID_CAT = 4, + GRUB_HFS_CNID_BAD = 5 + }; + +/* A node descriptor. This is the header of every node. */ +struct grub_hfs_node +{ + grub_uint32_t next; + grub_uint32_t prev; + grub_uint8_t type; + grub_uint8_t level; + grub_uint16_t reccnt; + grub_uint16_t unused; +} __attribute__ ((packed)); + +/* The head of the B*-Tree. */ +struct grub_hfs_treeheader +{ + grub_uint16_t tree_depth; + /* The number of the first node. */ + grub_uint32_t root_node; + grub_uint32_t leaves; + grub_uint32_t first_leaf; + grub_uint32_t last_leaf; + grub_uint16_t node_size; + grub_uint16_t key_size; + grub_uint32_t nodes; + grub_uint32_t free_nodes; + grub_uint8_t unused[76]; +} __attribute__ ((packed)); + +/* The state of a mounted HFS filesystem. */ +struct grub_hfs_data +{ + struct grub_hfs_sblock sblock; + grub_disk_t disk; + grub_hfs_datarecord_t extents; + int fileid; + int size; + int ext_root; + int ext_size; + int cat_root; + int cat_size; + int blksz; + int log2_blksz; + int rootdir; +}; + +/* The key as used on disk in a catalog tree. This is used to lookup + file/directory nodes by parent directory ID and filename. */ +struct grub_hfs_catalog_key +{ + grub_uint8_t unused; + grub_uint32_t parent_dir; + + /* Filename length. */ + grub_uint8_t strlen; + + /* Filename. */ + grub_uint8_t str[31]; +} __attribute__ ((packed)); + +/* The key as used on disk in a extent overflow tree. Using this key + the extents can be looked up using a fileid and logical start block + as index. */ +struct grub_hfs_extent_key +{ + /* The kind of fork. This is used to store meta information like + icons, attributes, etc. We will only use the datafork, which is + 0. */ + grub_uint8_t forktype; + grub_uint32_t fileid; + grub_uint16_t first_block; +} __attribute__ ((packed)); + +/* A directory record. This is used to find out the directory ID. */ +struct grub_hfs_dirrec +{ + /* For a directory, type == 1. */ + grub_uint8_t type; + grub_uint8_t unused[5]; + grub_uint32_t dirid; +} __attribute__ ((packed)); + +/* Information about a file. */ +struct grub_hfs_filerec +{ + /* For a file, type == 2. */ + grub_uint8_t type; + grub_uint8_t unused[19]; + grub_uint32_t fileid; + grub_uint8_t unused2[2]; + grub_uint32_t size; + grub_uint8_t unused3[44]; + + /* The first 3 extents of the file. The other extents can be found + in the extent overflow file. */ + grub_hfs_datarecord_t extents; +} __attribute__ ((packed)); + +/* A record descriptor, both key and data, used to pass to call back + functions. */ +struct grub_hfs_record +{ + void *key; + int keylen; + void *data; + int datalen; +}; + +static grub_dl_t my_mod; + +static int grub_hfs_find_node (struct grub_hfs_data *, char *, + grub_uint32_t, int, char *, int); + +/* Find block BLOCK of the file FILE in the mounted UFS filesystem + DATA. The first 3 extents are described by DAT. If cache is set, + using caching to improve non-random reads. */ +static unsigned int +grub_hfs_block (struct grub_hfs_data *data, grub_hfs_datarecord_t dat, + int file, int block, int cache) +{ + grub_hfs_datarecord_t dr; + int pos = 0; + struct grub_hfs_extent_key key; + + int tree = 0; + static int cache_file = 0; + static int cache_pos = 0; + static grub_hfs_datarecord_t cache_dr; + + grub_memcpy (dr, dat, sizeof (dr)); + + key.forktype = 0; + key.fileid = grub_cpu_to_be32 (file); + + if (cache && cache_file == file && block > cache_pos) + { + pos = cache_pos; + key.first_block = grub_cpu_to_be16 (pos); + grub_memcpy (dr, cache_dr, sizeof (cache_dr)); + } + + for (;;) + { + int i; + + /* Try all 3 extents. */ + for (i = 0; i < 3; i++) + { + /* Check if the block is stored in this extent. */ + if (grub_be_to_cpu16 (dr[i].count) + pos > block) + { + int first = grub_be_to_cpu16 (dr[i].first_block); + + /* If the cache is enabled, store the current position + in the tree. */ + if (tree && cache) + { + cache_file = file; + cache_pos = pos; + grub_memcpy (cache_dr, dr, sizeof (cache_dr)); + } + + return (grub_be_to_cpu16 (data->sblock.first_block) + + (first + block - pos) * GRUB_HFS_BLKS); + } + + /* Try the next extent. */ + pos += grub_be_to_cpu16 (dr[i].count); + } + + /* Lookup the block in the extent overflow file. */ + key.first_block = grub_cpu_to_be16 (pos); + tree = 1; + grub_hfs_find_node (data, (char *) &key, data->ext_root, + 1, (char *) &dr, sizeof (dr)); + if (grub_errno) + return 0; + } +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_hfs_read_file (struct grub_hfs_data *data, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + int i; + int blockcnt; + + blockcnt = ((len + pos) + + data->blksz - 1) / data->blksz; + + for (i = pos / data->blksz; i < blockcnt; i++) + { + int blknr; + int blockoff = pos % data->blksz; + int blockend = data->blksz; + + int skipfirst = 0; + + blknr = grub_hfs_block (data, data->extents, data->fileid, i, 1); + if (grub_errno) + return -1; + + /* Last block. */ + if (i == blockcnt - 1) + { + blockend = (len + pos) % data->blksz; + + /* The last portion is exactly EXT2_BLOCK_SIZE (data). */ + if (! blockend) + blockend = data->blksz; + } + + /* First block. */ + if (i == pos / data->blksz) + { + skipfirst = blockoff; + blockend -= skipfirst; + } + + /* If the block number is 0 this block is not stored on disk but + is zero filled instead. */ + if (blknr) + { + data->disk->read_hook = read_hook; + grub_disk_read (data->disk, blknr, skipfirst, + blockend, buf); + data->disk->read_hook = 0; + if (grub_errno) + return -1; + } + + buf += data->blksz - skipfirst; + } + + return len; +} + + +/* Mount the filesystem on the disk DISK. */ +static struct grub_hfs_data * +grub_hfs_mount (grub_disk_t disk) +{ + struct grub_hfs_data *data; + struct grub_hfs_catalog_key key; + struct grub_hfs_dirrec dir; + int first_block; + + struct + { + struct grub_hfs_node node; + struct grub_hfs_treeheader head; + } treehead; + + data = grub_malloc (sizeof (struct grub_hfs_data)); + if (!data) + return 0; + + /* Read the superblock. */ + if (grub_disk_read (disk, GRUB_HFS_SBLOCK, 0, + sizeof (struct grub_hfs_sblock), &data->sblock)) + goto fail; + + /* Check if this is a HFS filesystem. */ + if (grub_be_to_cpu16 (data->sblock.magic) != GRUB_HFS_MAGIC) + { + grub_error (GRUB_ERR_BAD_FS, "not an HFS filesystem"); + goto fail; + } + + /* Check if this is an embedded HFS+ filesystem. */ + if (grub_be_to_cpu16 (data->sblock.embed_sig) == GRUB_HFS_EMBED_HFSPLUS_SIG) + { + grub_error (GRUB_ERR_BAD_FS, "embedded HFS+ filesystem"); + goto fail; + } + + data->blksz = grub_be_to_cpu32 (data->sblock.blksz); + data->disk = disk; + + /* Lookup the root node of the extent overflow tree. */ + first_block = ((grub_be_to_cpu16 (data->sblock.extent_recs[0].first_block) + * GRUB_HFS_BLKS) + + grub_be_to_cpu16 (data->sblock.first_block)); + + if (grub_disk_read (data->disk, first_block, 0, + sizeof (treehead), &treehead)) + goto fail; + data->ext_root = grub_be_to_cpu32 (treehead.head.root_node); + data->ext_size = grub_be_to_cpu16 (treehead.head.node_size); + + /* Lookup the root node of the catalog tree. */ + first_block = ((grub_be_to_cpu16 (data->sblock.catalog_recs[0].first_block) + * GRUB_HFS_BLKS) + + grub_be_to_cpu16 (data->sblock.first_block)); + if (grub_disk_read (data->disk, first_block, 0, + sizeof (treehead), &treehead)) + goto fail; + data->cat_root = grub_be_to_cpu32 (treehead.head.root_node); + data->cat_size = grub_be_to_cpu16 (treehead.head.node_size); + + /* Lookup the root directory node in the catalog tree using the + volume name. */ + key.parent_dir = grub_cpu_to_be32 (1); + key.strlen = data->sblock.volname[0]; + grub_strcpy ((char *) key.str, (char *) (data->sblock.volname + 1)); + + if (grub_hfs_find_node (data, (char *) &key, data->cat_root, + 0, (char *) &dir, sizeof (dir)) == 0) + { + grub_error (GRUB_ERR_BAD_FS, "cannot find the HFS root directory"); + goto fail; + } + + if (grub_errno) + goto fail; + + data->rootdir = grub_be_to_cpu32 (dir.dirid); + + return data; + fail: + grub_free (data); + + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not a HFS filesystem"); + + return 0; +} + +/* Compare the K1 and K2 catalog file keys using HFS character ordering. */ +static int +grub_hfs_cmp_catkeys (struct grub_hfs_catalog_key *k1, + struct grub_hfs_catalog_key *k2) +{ + /* Taken from hfsutils 3.2.6 and converted to a readable form */ + static const unsigned char hfs_charorder[256] = { + [0x00] = 0, + [0x01] = 1, + [0x02] = 2, + [0x03] = 3, + [0x04] = 4, + [0x05] = 5, + [0x06] = 6, + [0x07] = 7, + [0x08] = 8, + [0x09] = 9, + [0x0A] = 10, + [0x0B] = 11, + [0x0C] = 12, + [0x0D] = 13, + [0x0E] = 14, + [0x0F] = 15, + [0x10] = 16, + [0x11] = 17, + [0x12] = 18, + [0x13] = 19, + [0x14] = 20, + [0x15] = 21, + [0x16] = 22, + [0x17] = 23, + [0x18] = 24, + [0x19] = 25, + [0x1A] = 26, + [0x1B] = 27, + [0x1C] = 28, + [0x1D] = 29, + [0x1E] = 30, + [0x1F] = 31, + [' '] = 32, [0xCA] = 32, + ['!'] = 33, + ['"'] = 34, + [0xD2] = 35, + [0xD3] = 36, + [0xC7] = 37, + [0xC8] = 38, + ['#'] = 39, + ['$'] = 40, + ['%'] = 41, + ['&'] = 42, + ['\''] = 43, + [0xD4] = 44, + [0xD5] = 45, + ['('] = 46, + [')'] = 47, + ['*'] = 48, + ['+'] = 49, + [','] = 50, + ['-'] = 51, + ['.'] = 52, + ['/'] = 53, + ['0'] = 54, + ['1'] = 55, + ['2'] = 56, + ['3'] = 57, + ['4'] = 58, + ['5'] = 59, + ['6'] = 60, + ['7'] = 61, + ['8'] = 62, + ['9'] = 63, + [':'] = 64, + [';'] = 65, + ['<'] = 66, + ['='] = 67, + ['>'] = 68, + ['?'] = 69, + ['@'] = 70, + ['A'] = 71, ['a'] = 71, + [0x88] = 72, [0xCB] = 72, + [0x80] = 73, [0x8A] = 73, + [0x8B] = 74, [0xCC] = 74, + [0x81] = 75, [0x8C] = 75, + [0xAE] = 76, [0xBE] = 76, + ['`'] = 77, + [0x87] = 78, + [0x89] = 79, + [0xBB] = 80, + ['B'] = 81, ['b'] = 81, + ['C'] = 82, ['c'] = 82, + [0x82] = 83, [0x8D] = 83, + ['D'] = 84, ['d'] = 84, + ['E'] = 85, ['e'] = 85, + [0x83] = 86, [0x8E] = 86, + [0x8F] = 87, + [0x90] = 88, + [0x91] = 89, + ['F'] = 90, ['f'] = 90, + ['G'] = 91, ['g'] = 91, + ['H'] = 92, ['h'] = 92, + ['I'] = 93, ['i'] = 93, + [0x92] = 94, + [0x93] = 95, + [0x94] = 96, + [0x95] = 97, + ['J'] = 98, ['j'] = 98, + ['K'] = 99, ['k'] = 99, + ['L'] = 100, ['l'] = 100, + ['M'] = 101, ['m'] = 101, + ['N'] = 102, ['n'] = 102, + [0x84] = 103, [0x96] = 103, + ['O'] = 104, ['o'] = 104, + [0x85] = 105, [0x9A] = 105, + [0x9B] = 106, [0xCD] = 106, + [0xAF] = 107, [0xBF] = 107, + [0xCE] = 108, [0xCF] = 108, + [0x97] = 109, + [0x98] = 110, + [0x99] = 111, + [0xBC] = 112, + ['P'] = 113, ['p'] = 113, + ['Q'] = 114, ['q'] = 114, + ['R'] = 115, ['r'] = 115, + ['S'] = 116, ['s'] = 116, + [0xA7] = 117, + ['T'] = 118, ['t'] = 118, + ['U'] = 119, ['u'] = 119, + [0x86] = 120, [0x9F] = 120, + [0x9C] = 121, + [0x9D] = 122, + [0x9E] = 123, + ['V'] = 124, ['v'] = 124, + ['W'] = 125, ['w'] = 125, + ['X'] = 126, ['x'] = 126, + ['Y'] = 127, ['y'] = 127, + [0xD8] = 128, + ['Z'] = 129, ['z'] = 129, + ['['] = 130, + ['\\'] = 131, + [']'] = 132, + ['^'] = 133, + ['_'] = 134, + ['{'] = 135, + ['|'] = 136, + ['}'] = 137, + ['~'] = 138, + [0x7F] = 139, + [0xA0] = 140, + [0xA1] = 141, + [0xA2] = 142, + [0xA3] = 143, + [0xA4] = 144, + [0xA5] = 145, + [0xA6] = 146, + [0xA8] = 147, + [0xA9] = 148, + [0xAA] = 149, + [0xAB] = 150, + [0xAC] = 151, + [0xAD] = 152, + [0xB0] = 153, + [0xB1] = 154, + [0xB2] = 155, + [0xB3] = 156, + [0xB4] = 157, + [0xB5] = 158, + [0xB6] = 159, + [0xB7] = 160, + [0xB8] = 161, + [0xB9] = 162, + [0xBA] = 163, + [0xBD] = 164, + [0xC0] = 165, + [0xC1] = 166, + [0xC2] = 167, + [0xC3] = 168, + [0xC4] = 169, + [0xC5] = 170, + [0xC6] = 171, + [0xC9] = 172, + [0xD0] = 173, + [0xD1] = 174, + [0xD6] = 175, + [0xD7] = 176, + [0xD9] = 177, + [0xDA] = 178, + [0xDB] = 179, + [0xDC] = 180, + [0xDD] = 181, + [0xDE] = 182, + [0xDF] = 183, + [0xE0] = 184, + [0xE1] = 185, + [0xE2] = 186, + [0xE3] = 187, + [0xE4] = 188, + [0xE5] = 189, + [0xE6] = 190, + [0xE7] = 191, + [0xE8] = 192, + [0xE9] = 193, + [0xEA] = 194, + [0xEB] = 195, + [0xEC] = 196, + [0xED] = 197, + [0xEE] = 198, + [0xEF] = 199, + [0xF0] = 200, + [0xF1] = 201, + [0xF2] = 202, + [0xF3] = 203, + [0xF4] = 204, + [0xF5] = 205, + [0xF6] = 206, + [0xF7] = 207, + [0xF8] = 208, + [0xF9] = 209, + [0xFA] = 210, + [0xFB] = 211, + [0xFC] = 212, + [0xFD] = 213, + [0xFE] = 214, + [0xFF] = 215, + }; + int i; + int cmp; + int minlen = (k1->strlen < k2->strlen) ? k1->strlen : k2->strlen; + + cmp = (grub_be_to_cpu32 (k1->parent_dir) - grub_be_to_cpu32 (k2->parent_dir)); + if (cmp != 0) + return cmp; + + for (i = 0; i < minlen; i++) + { + cmp = (hfs_charorder[k1->str[i]] - hfs_charorder[k2->str[i]]); + if (cmp != 0) + return cmp; + } + + /* Shorter strings precede long ones. */ + return (k1->strlen - k2->strlen); +} + + +/* Compare the K1 and K2 extent overflow file keys. */ +static int +grub_hfs_cmp_extkeys (struct grub_hfs_extent_key *k1, + struct grub_hfs_extent_key *k2) +{ + int cmp = k1->forktype - k2->forktype; + if (cmp == 0) + cmp = grub_be_to_cpu32 (k1->fileid) - grub_be_to_cpu32 (k2->fileid); + if (cmp == 0) + cmp = (grub_be_to_cpu16 (k1->first_block) + - grub_be_to_cpu16 (k2->first_block)); + return cmp; +} + + +/* Iterate the records in the node with index IDX in the mounted HFS + filesystem DATA. This node holds data of the type TYPE (0 = + catalog node, 1 = extent overflow node). If this is set, continue + iterating to the next node. For every records, call NODE_HOOK. */ +static grub_err_t +grub_hfs_iterate_records (struct grub_hfs_data *data, int type, int idx, + int this, int (*node_hook) (struct grub_hfs_node *hnd, + struct grub_hfs_record *)) +{ + int nodesize = type == 0 ? data->cat_size : data->ext_size; + + union + { + struct grub_hfs_node node; + char rawnode[nodesize]; + grub_uint16_t offsets[nodesize / 2]; + } node; + + do + { + int i; + struct grub_hfs_extent *dat; + int blk; + + dat = (struct grub_hfs_extent *) (type == 0 + ? (&data->sblock.catalog_recs) + : (&data->sblock.extent_recs)); + + /* Read the node into memory. */ + blk = grub_hfs_block (data, dat, + (type == 0) ? GRUB_HFS_CNID_CAT : GRUB_HFS_CNID_EXT, + idx / (data->blksz / nodesize), 0); + blk += (idx % (data->blksz / nodesize)); + if (grub_errno) + return grub_errno; + + if (grub_disk_read (data->disk, blk, 0, + sizeof (node), &node)) + return grub_errno; + + /* Iterate over all records in this node. */ + for (i = 0; i < grub_be_to_cpu16 (node.node.reccnt); i++) + { + int pos = (nodesize >> 1) - 1 - i; + struct pointer + { + grub_uint8_t keylen; + grub_uint8_t key; + } __attribute__ ((packed)) *pnt; + pnt = (struct pointer *) (grub_be_to_cpu16 (node.offsets[pos]) + + node.rawnode); + + struct grub_hfs_record rec = + { + &pnt->key, + pnt->keylen, + &pnt->key + pnt->keylen +(pnt->keylen + 1) % 2, + nodesize - grub_be_to_cpu16 (node.offsets[pos]) + - pnt->keylen - 1 + }; + + if (node_hook (&node.node, &rec)) + return 0; + } + + idx = grub_be_to_cpu32 (node.node.next); + } while (idx && this); + + return 0; +} + + +/* Lookup a record in the mounted filesystem DATA using the key KEY. + The index of the node on top of the tree is IDX. The tree is of + the type TYPE (0 = catalog node, 1 = extent overflow node). Return + the data in DATAR with a maximum length of DATALEN. */ +static int +grub_hfs_find_node (struct grub_hfs_data *data, char *key, + grub_uint32_t idx, int type, char *datar, int datalen) +{ + int found = -1; + int isleaf = 0; + int done = 0; + + auto int node_found (struct grub_hfs_node *, struct grub_hfs_record *); + + int node_found (struct grub_hfs_node *hnd, struct grub_hfs_record *rec) + { + int cmp = 1; + + if (type == 0) + cmp = grub_hfs_cmp_catkeys (rec->key, (void *) key); + else + cmp = grub_hfs_cmp_extkeys (rec->key, (void *) key); + + /* If the key is smaller or equal to the current node, mark the + entry. In case of a non-leaf mode it will be used to lookup + the rest of the tree. */ + if (cmp <= 0) + { + grub_uint32_t *node = (grub_uint32_t *) rec->data; + found = grub_be_to_cpu32 (*node); + } + else /* The key can not be found in the tree. */ + return 1; + + /* Check if this node is a leaf node. */ + if (hnd->type == GRUB_HFS_NODE_LEAF) + { + isleaf = 1; + + /* Found it!!!! */ + if (cmp == 0) + { + done = 1; + + grub_memcpy (datar, rec->data, + rec->datalen < datalen ? rec->datalen : datalen); + return 1; + } + } + + return 0; + } + + do + { + found = -1; + + if (grub_hfs_iterate_records (data, type, idx, 0, node_found)) + return 0; + + if (found == -1) + return 0; + + idx = found; + } while (! isleaf); + + return done; +} + + +/* Iterate over the directory with the id DIR. The tree is searched + starting with the node ROOT_IDX. For every entry in this directory + call HOOK. */ +static grub_err_t +grub_hfs_iterate_dir (struct grub_hfs_data *data, grub_uint32_t root_idx, + unsigned int dir, int (*hook) (struct grub_hfs_record *)) +{ + int found = -1; + int isleaf = 0; + int next = 0; + + /* The lowest key possible with DIR as root directory. */ + struct grub_hfs_catalog_key key = {0, grub_cpu_to_be32 (dir), 0, ""}; + + auto int node_found (struct grub_hfs_node *, struct grub_hfs_record *); + auto int it_dir (struct grub_hfs_node * __attribute ((unused)), + struct grub_hfs_record *); + + + int node_found (struct grub_hfs_node *hnd, struct grub_hfs_record *rec) + { + struct grub_hfs_catalog_key *ckey = rec->key; + + if (grub_hfs_cmp_catkeys (rec->key, (void *) &key) <= 0) + found = grub_be_to_cpu32 (*(grub_uint32_t *) rec->data); + + if (hnd->type == 0xFF && ckey->strlen > 0) + { + isleaf = 1; + next = grub_be_to_cpu32 (hnd->next); + + /* An entry was found. */ + if (grub_be_to_cpu32 (ckey->parent_dir) == dir) + return hook (rec); + } + + return 0; + } + + int it_dir (struct grub_hfs_node *hnd __attribute ((unused)), + struct grub_hfs_record *rec) + { + struct grub_hfs_catalog_key *ckey = rec->key; + struct grub_hfs_catalog_key *origkey = &key; + + /* Stop when the entries do not match anymore. */ + if (grub_be_to_cpu32 (ckey->parent_dir) + != grub_be_to_cpu32 ((origkey)->parent_dir)) + return 1; + + return hook (rec); + } + + do + { + found = -1; + + if (grub_hfs_iterate_records (data, 0, root_idx, 0, node_found)) + return grub_errno; + + if (found == -1) + return 0; + + root_idx = found; + } while (! isleaf); + + /* If there was a matching record in this leaf node, continue the + iteration until the last record was found. */ + grub_hfs_iterate_records (data, 0, next, 1, it_dir); + return grub_errno; +} + + +/* Find a file or directory with the pathname PATH in the filesystem + DATA. Return the file record in RETDATA when it is non-zero. + Return the directory number in RETINODE when it is non-zero. */ +static grub_err_t +grub_hfs_find_dir (struct grub_hfs_data *data, const char *path, + struct grub_hfs_filerec *retdata, int *retinode) +{ + int inode = data->rootdir; + char *next; + char *origpath; + union { + struct grub_hfs_filerec frec; + struct grub_hfs_dirrec dir; + } fdrec; + + fdrec.frec.type = GRUB_HFS_FILETYPE_DIR; + + if (path[0] != '/') + { + grub_error (GRUB_ERR_BAD_FILENAME, "bad filename"); + return 0; + } + + origpath = grub_strdup (path); + if (!origpath) + return grub_errno; + + path = origpath; + while (*path == '/') + path++; + + while (path && grub_strlen (path)) + { + if (fdrec.frec.type != GRUB_HFS_FILETYPE_DIR) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + goto fail; + } + + /* Isolate a part of the path. */ + next = grub_strchr (path, '/'); + if (next) + { + while (*next == '/') + *(next++) = '\0'; + } + + struct grub_hfs_catalog_key key; + + key.parent_dir = grub_cpu_to_be32 (inode); + key.strlen = grub_strlen (path); + grub_strcpy ((char *) (key.str), path); + + /* Lookup this node. */ + if (! grub_hfs_find_node (data, (char *) &key, data->cat_root, + 0, (char *) &fdrec.frec, sizeof (fdrec.frec))) + { + grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + goto fail; + } + + if (grub_errno) + goto fail; + + inode = grub_be_to_cpu32 (fdrec.dir.dirid); + path = next; + } + + if (retdata) + grub_memcpy (retdata, &fdrec.frec, sizeof (fdrec.frec)); + + if (retinode) + *retinode = inode; + + fail: + grub_free (origpath); + return grub_errno; +} + + + +static grub_err_t +grub_hfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + int inode; + + auto int dir_hook (struct grub_hfs_record *rec); + + int dir_hook (struct grub_hfs_record *rec) + { + char fname[32] = { 0 }; + char *filetype = rec->data; + struct grub_hfs_catalog_key *ckey = rec->key; + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + + grub_strncpy (fname, (char *) (ckey->str), ckey->strlen); + + if (*filetype == GRUB_HFS_FILETYPE_DIR + || *filetype == GRUB_HFS_FILETYPE_FILE) + { + info.dir = (*filetype == GRUB_HFS_FILETYPE_DIR); + return hook (fname, &info); + } + return 0; + } + + struct grub_hfs_data *data; + struct grub_hfs_filerec frec; + + grub_dl_ref (my_mod); + + data = grub_hfs_mount (device->disk); + if (!data) + goto fail; + + /* First the directory ID for the directory. */ + if (grub_hfs_find_dir (data, path, &frec, &inode)) + goto fail; + + if (frec.type != GRUB_HFS_FILETYPE_DIR) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + goto fail; + } + + grub_hfs_iterate_dir (data, data->cat_root, inode, dir_hook); + + fail: + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_hfs_open (struct grub_file *file, const char *name) +{ + struct grub_hfs_data *data; + struct grub_hfs_filerec frec; + + grub_dl_ref (my_mod); + + data = grub_hfs_mount (file->device->disk); + + if (grub_hfs_find_dir (data, name, &frec, 0)) + { + grub_free (data); + grub_dl_unref (my_mod); + return grub_errno; + } + + if (frec.type != GRUB_HFS_FILETYPE_FILE) + { + grub_free (data); + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a file"); + grub_dl_unref (my_mod); + return grub_errno; + } + + grub_memcpy (data->extents, frec.extents, sizeof (grub_hfs_datarecord_t)); + file->size = grub_be_to_cpu32 (frec.size); + data->size = grub_be_to_cpu32 (frec.size); + data->fileid = grub_be_to_cpu32 (frec.fileid); + file->offset = 0; + + file->data = data; + + return 0; +} + +static grub_ssize_t +grub_hfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_hfs_data *data = + (struct grub_hfs_data *) file->data; + + return grub_hfs_read_file (data, file->read_hook, file->offset, len, buf); +} + + +static grub_err_t +grub_hfs_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return 0; +} + + +static grub_err_t +grub_hfs_label (grub_device_t device, char **label) +{ + struct grub_hfs_data *data; + + data = grub_hfs_mount (device->disk); + + if (data) + *label = grub_strndup ((char *) (data->sblock.volname + 1), + *data->sblock.volname); + else + *label = 0; + + grub_free (data); + return grub_errno; +} + +static grub_err_t +grub_hfs_uuid (grub_device_t device, char **uuid) +{ + struct grub_hfs_data *data; + + grub_dl_ref (my_mod); + + data = grub_hfs_mount (device->disk); + if (data && data->sblock.num_serial != 0) + { + *uuid = grub_xasprintf ("%016llx", + (unsigned long long) + grub_be_to_cpu64 (data->sblock.num_serial)); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + + +static struct grub_fs grub_hfs_fs = + { + .name = "hfs", + .dir = grub_hfs_dir, + .open = grub_hfs_open, + .read = grub_hfs_read, + .close = grub_hfs_close, + .label = grub_hfs_label, + .uuid = grub_hfs_uuid, + .next = 0 + }; + +GRUB_MOD_INIT(hfs) +{ + grub_fs_register (&grub_hfs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(hfs) +{ + grub_fs_unregister (&grub_hfs_fs); +} diff --git a/grub-core/fs/hfsplus.c b/grub-core/fs/hfsplus.c new file mode 100644 index 0000000..304b321 --- /dev/null +++ b/grub-core/fs/hfsplus.c @@ -0,0 +1,1050 @@ +/* hfsplus.c - HFS+ Filesystem. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* HFS+ is documented at http://developer.apple.com/technotes/tn/tn1150.html */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_HFSPLUS_MAGIC 0x482B +#define GRUB_HFSPLUSX_MAGIC 0x4858 +#define GRUB_HFSPLUS_SBLOCK 2 + +/* A HFS+ extent. */ +struct grub_hfsplus_extent +{ + /* The first block of a file on disk. */ + grub_uint32_t start; + /* The amount of blocks described by this extent. */ + grub_uint32_t count; +} __attribute__ ((packed)); + +/* The descriptor of a fork. */ +struct grub_hfsplus_forkdata +{ + grub_uint64_t size; + grub_uint32_t clumpsize; + grub_uint32_t blocks; + struct grub_hfsplus_extent extents[8]; +} __attribute__ ((packed)); + +/* The HFS+ Volume Header. */ +struct grub_hfsplus_volheader +{ + grub_uint16_t magic; + grub_uint16_t version; + grub_uint32_t attributes; + grub_uint8_t unused1[12]; + grub_uint32_t utime; + grub_uint8_t unused2[16]; + grub_uint32_t blksize; + grub_uint8_t unused3[60]; + grub_uint64_t num_serial; + struct grub_hfsplus_forkdata allocations_file; + struct grub_hfsplus_forkdata extents_file; + struct grub_hfsplus_forkdata catalog_file; + struct grub_hfsplus_forkdata attrib_file; + struct grub_hfsplus_forkdata startup_file; +} __attribute__ ((packed)); + +/* The type of node. */ +enum grub_hfsplus_btnode_type + { + GRUB_HFSPLUS_BTNODE_TYPE_LEAF = -1, + GRUB_HFSPLUS_BTNODE_TYPE_INDEX = 0, + GRUB_HFSPLUS_BTNODE_TYPE_HEADER = 1, + GRUB_HFSPLUS_BTNODE_TYPE_MAP = 2, + }; + +struct grub_hfsplus_btnode +{ + grub_uint32_t next; + grub_uint32_t prev; + grub_int8_t type; + grub_uint8_t height; + grub_uint16_t count; + grub_uint16_t unused; +} __attribute__ ((packed)); + +/* The header of a HFS+ B+ Tree. */ +struct grub_hfsplus_btheader +{ + grub_uint16_t depth; + grub_uint32_t root; + grub_uint32_t leaf_records; + grub_uint32_t first_leaf_node; + grub_uint32_t last_leaf_node; + grub_uint16_t nodesize; + grub_uint16_t keysize; + grub_uint32_t total_nodes; + grub_uint32_t free_nodes; + grub_uint16_t reserved1; + grub_uint32_t clump_size; /* ignored */ + grub_uint8_t btree_type; + grub_uint8_t key_compare; + grub_uint32_t attributes; +} __attribute__ ((packed)); + +/* The on disk layout of a catalog key. */ +struct grub_hfsplus_catkey +{ + grub_uint16_t keylen; + grub_uint32_t parent; + grub_uint16_t namelen; + grub_uint16_t name[30]; +} __attribute__ ((packed)); + +/* The on disk layout of an extent overflow file key. */ +struct grub_hfsplus_extkey +{ + grub_uint16_t keylen; + grub_uint8_t type; + grub_uint8_t unused; + grub_uint32_t fileid; + grub_uint32_t start; +} __attribute__ ((packed)); + +struct grub_hfsplus_key +{ + union + { + struct grub_hfsplus_extkey extkey; + struct grub_hfsplus_catkey catkey; + grub_uint16_t keylen; + }; +} __attribute__ ((packed)); + +struct grub_hfsplus_catfile +{ + grub_uint16_t type; + grub_uint16_t flags; + grub_uint32_t reserved; + grub_uint32_t fileid; + grub_uint8_t unused1[4]; + grub_uint32_t mtime; + grub_uint8_t unused2[22]; + grub_uint16_t mode; + grub_uint8_t unused3[44]; + struct grub_hfsplus_forkdata data; + struct grub_hfsplus_forkdata resource; +} __attribute__ ((packed)); + +/* Filetype information as used in inodes. */ +#define GRUB_HFSPLUS_FILEMODE_MASK 0170000 +#define GRUB_HFSPLUS_FILEMODE_REG 0100000 +#define GRUB_HFSPLUS_FILEMODE_DIRECTORY 0040000 +#define GRUB_HFSPLUS_FILEMODE_SYMLINK 0120000 + +/* Some pre-defined file IDs. */ +#define GRUB_HFSPLUS_FILEID_ROOTDIR 2 +#define GRUB_HFSPLUS_FILEID_OVERFLOW 3 +#define GRUB_HFSPLUS_FILEID_CATALOG 4 + +enum grub_hfsplus_filetype + { + GRUB_HFSPLUS_FILETYPE_DIR = 1, + GRUB_HFSPLUS_FILETYPE_REG = 2, + GRUB_HFSPLUS_FILETYPE_DIR_THREAD = 3, + GRUB_HFSPLUS_FILETYPE_REG_THREAD = 4 + }; + +#define GRUB_HFSPLUSX_BINARYCOMPARE 0xBC +#define GRUB_HFSPLUSX_CASEFOLDING 0xCF + +/* Internal representation of a catalog key. */ +struct grub_hfsplus_catkey_internal +{ + grub_uint32_t parent; + char *name; +}; + +/* Internal representation of an extent overflow key. */ +struct grub_hfsplus_extkey_internal +{ + grub_uint32_t fileid; + grub_uint32_t start; +}; + +struct grub_hfsplus_key_internal +{ + union + { + struct grub_hfsplus_extkey_internal extkey; + struct grub_hfsplus_catkey_internal catkey; + }; +}; + + + +struct grub_fshelp_node +{ + struct grub_hfsplus_data *data; + struct grub_hfsplus_extent extents[8]; + grub_uint64_t size; + grub_uint32_t fileid; + grub_int32_t mtime; +}; + +struct grub_hfsplus_btree +{ + grub_uint32_t root; + int nodesize; + + /* Catalog file node. */ + struct grub_fshelp_node file; +}; + +/* Information about a "mounted" HFS+ filesystem. */ +struct grub_hfsplus_data +{ + struct grub_hfsplus_volheader volheader; + grub_disk_t disk; + + unsigned int log2blksize; + + struct grub_hfsplus_btree catalog_tree; + struct grub_hfsplus_btree extoverflow_tree; + + struct grub_fshelp_node dirroot; + struct grub_fshelp_node opened_file; + + /* This is the offset into the physical disk for an embedded HFS+ + filesystem (one inside a plain HFS wrapper). */ + int embedded_offset; + int case_sensitive; +}; + +static grub_dl_t my_mod; + + +/* Return the offset of the record with the index INDEX, in the node + NODE which is part of the B+ tree BTREE. */ +static inline unsigned int +grub_hfsplus_btree_recoffset (struct grub_hfsplus_btree *btree, + struct grub_hfsplus_btnode *node, int index) +{ + char *cnode = (char *) node; + grub_uint16_t *recptr; + recptr = (grub_uint16_t *) (&cnode[btree->nodesize + - index * sizeof (grub_uint16_t) - 2]); + return grub_be_to_cpu16 (*recptr); +} + +/* Return a pointer to the record with the index INDEX, in the node + NODE which is part of the B+ tree BTREE. */ +static inline struct grub_hfsplus_key * +grub_hfsplus_btree_recptr (struct grub_hfsplus_btree *btree, + struct grub_hfsplus_btnode *node, int index) +{ + char *cnode = (char *) node; + unsigned int offset; + offset = grub_hfsplus_btree_recoffset (btree, node, index); + return (struct grub_hfsplus_key *) &cnode[offset]; +} + + +/* Find the extent that points to FILEBLOCK. If it is not in one of + the 8 extents described by EXTENT, return -1. In that case set + FILEBLOCK to the next block. */ +static int +grub_hfsplus_find_block (struct grub_hfsplus_extent *extent, + int *fileblock) +{ + int i; + grub_size_t blksleft = *fileblock; + + /* First lookup the file in the given extents. */ + for (i = 0; i < 8; i++) + { + if (blksleft < grub_be_to_cpu32 (extent[i].count)) + return grub_be_to_cpu32 (extent[i].start) + blksleft; + blksleft -= grub_be_to_cpu32 (extent[i].count); + } + + *fileblock = blksleft; + return -1; +} + +static grub_err_t +grub_hfsplus_btree_search (struct grub_hfsplus_btree *btree, + struct grub_hfsplus_key_internal *key, + int (*compare_keys) (struct grub_hfsplus_key *keya, + struct grub_hfsplus_key_internal *keyb), + struct grub_hfsplus_btnode **matchnode, int *keyoffset); + +static int grub_hfsplus_cmp_extkey (struct grub_hfsplus_key *keya, + struct grub_hfsplus_key_internal *keyb); + +/* Search for the block FILEBLOCK inside the file NODE. Return the + blocknumber of this block on disk. */ +static grub_disk_addr_t +grub_hfsplus_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + struct grub_hfsplus_btnode *nnode = 0; + int blksleft = fileblock; + struct grub_hfsplus_extent *extents = &node->extents[0]; + + while (1) + { + struct grub_hfsplus_extkey *key; + struct grub_hfsplus_extkey_internal extoverflow; + int blk; + int ptr; + + /* Try to find this block in the current set of extents. */ + blk = grub_hfsplus_find_block (extents, &blksleft); + + /* The previous iteration of this loop allocated memory. The + code above used this memory, it can be freed now. */ + grub_free (nnode); + nnode = 0; + + if (blk != -1) + return (blk + + (node->data->embedded_offset >> (node->data->log2blksize + - GRUB_DISK_SECTOR_BITS))); + + /* For the extent overflow file, extra extents can't be found in + the extent overflow file. If this happens, you found a + bug... */ + if (node->fileid == GRUB_HFSPLUS_FILEID_OVERFLOW) + { + grub_error (GRUB_ERR_READ_ERROR, + "extra extents found in an extend overflow file"); + break; + } + + /* Set up the key to look for in the extent overflow file. */ + extoverflow.fileid = node->fileid; + extoverflow.start = fileblock - blksleft; + + if (grub_hfsplus_btree_search (&node->data->extoverflow_tree, + (struct grub_hfsplus_key_internal *) &extoverflow, + grub_hfsplus_cmp_extkey, &nnode, &ptr)) + { + grub_error (GRUB_ERR_READ_ERROR, + "no block found for the file id 0x%x and the block offset 0x%x", + node->fileid, fileblock); + break; + } + + /* The extent overflow file has 8 extents right after the key. */ + key = (struct grub_hfsplus_extkey *) + grub_hfsplus_btree_recptr (&node->data->extoverflow_tree, nnode, ptr); + extents = (struct grub_hfsplus_extent *) (key + 1); + + /* The block wasn't found. Perhaps the next iteration will find + it. The last block we found is stored in BLKSLEFT now. */ + } + + grub_free (nnode); + + /* Too bad, you lose. */ + return -1; +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_hfsplus_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_hfsplus_read_block, + node->size, + node->data->log2blksize - GRUB_DISK_SECTOR_BITS); +} + +static struct grub_hfsplus_data * +grub_hfsplus_mount (grub_disk_t disk) +{ + struct grub_hfsplus_data *data; + struct grub_hfsplus_btheader header; + struct grub_hfsplus_btnode node; + grub_uint16_t magic; + union { + struct grub_hfs_sblock hfs; + struct grub_hfsplus_volheader hfsplus; + } volheader; + + data = grub_malloc (sizeof (*data)); + if (!data) + return 0; + + data->disk = disk; + + /* Read the bootblock. */ + grub_disk_read (disk, GRUB_HFSPLUS_SBLOCK, 0, sizeof (volheader), + &volheader); + if (grub_errno) + goto fail; + + data->embedded_offset = 0; + if (grub_be_to_cpu16 (volheader.hfs.magic) == GRUB_HFS_MAGIC) + { + int extent_start; + int ablk_size; + int ablk_start; + + /* See if there's an embedded HFS+ filesystem. */ + if (grub_be_to_cpu16 (volheader.hfs.embed_sig) != GRUB_HFSPLUS_MAGIC) + { + grub_error (GRUB_ERR_BAD_FS, "not a HFS+ filesystem"); + goto fail; + } + + /* Calculate the offset needed to translate HFS+ sector numbers. */ + extent_start = grub_be_to_cpu16 (volheader.hfs.embed_extent.first_block); + ablk_size = grub_be_to_cpu32 (volheader.hfs.blksz); + ablk_start = grub_be_to_cpu16 (volheader.hfs.first_block); + data->embedded_offset = (ablk_start + + extent_start + * (ablk_size >> GRUB_DISK_SECTOR_BITS)); + + grub_disk_read (disk, data->embedded_offset + GRUB_HFSPLUS_SBLOCK, 0, + sizeof (volheader), &volheader); + if (grub_errno) + goto fail; + } + + /* Make sure this is an HFS+ filesystem. XXX: Do we really support + HFX? */ + magic = grub_be_to_cpu16 (volheader.hfsplus.magic); + if ((magic != GRUB_HFSPLUS_MAGIC) && (magic != GRUB_HFSPLUSX_MAGIC)) + { + grub_error (GRUB_ERR_BAD_FS, "not a HFS+ filesystem"); + goto fail; + } + + grub_memcpy (&data->volheader, &volheader.hfsplus, + sizeof (volheader.hfsplus)); + + if (grub_fshelp_log2blksize (grub_be_to_cpu32 (data->volheader.blksize), + &data->log2blksize)) + goto fail; + + /* Make a new node for the catalog tree. */ + data->catalog_tree.file.data = data; + data->catalog_tree.file.fileid = GRUB_HFSPLUS_FILEID_CATALOG; + grub_memcpy (&data->catalog_tree.file.extents, + data->volheader.catalog_file.extents, + sizeof data->volheader.catalog_file.extents); + data->catalog_tree.file.size = + grub_be_to_cpu64 (data->volheader.catalog_file.size); + + /* Make a new node for the extent overflow file. */ + data->extoverflow_tree.file.data = data; + data->extoverflow_tree.file.fileid = GRUB_HFSPLUS_FILEID_OVERFLOW; + grub_memcpy (&data->extoverflow_tree.file.extents, + data->volheader.extents_file.extents, + sizeof data->volheader.catalog_file.extents); + + data->extoverflow_tree.file.size = + grub_be_to_cpu64 (data->volheader.extents_file.size); + + /* Read the essential information about the trees. */ + if (grub_hfsplus_read_file (&data->catalog_tree.file, 0, + sizeof (struct grub_hfsplus_btnode), + sizeof (header), (char *) &header) <= 0) + goto fail; + + data->catalog_tree.root = grub_be_to_cpu32 (header.root); + data->catalog_tree.nodesize = grub_be_to_cpu16 (header.nodesize); + data->case_sensitive = ((magic == GRUB_HFSPLUSX_MAGIC) && + (header.key_compare == GRUB_HFSPLUSX_BINARYCOMPARE)); + + if (grub_hfsplus_read_file (&data->extoverflow_tree.file, 0, + sizeof (struct grub_hfsplus_btnode), + sizeof (header), (char *) &header) <= 0) + goto fail; + + data->extoverflow_tree.root = grub_be_to_cpu32 (header.root); + + if (grub_hfsplus_read_file (&data->extoverflow_tree.file, 0, 0, + sizeof (node), (char *) &node) <= 0) + goto fail; + + data->extoverflow_tree.root = grub_be_to_cpu32 (header.root); + data->extoverflow_tree.nodesize = grub_be_to_cpu16 (header.nodesize); + + data->dirroot.data = data; + data->dirroot.fileid = GRUB_HFSPLUS_FILEID_ROOTDIR; + + return data; + + fail: + + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not a HFS+ filesystem"); + + grub_free (data); + return 0; +} + +/* Compare the on disk catalog key KEYA with the catalog key we are + looking for (KEYB). */ +static int +grub_hfsplus_cmp_catkey (struct grub_hfsplus_key *keya, + struct grub_hfsplus_key_internal *keyb) +{ + struct grub_hfsplus_catkey *catkey_a = &keya->catkey; + struct grub_hfsplus_catkey_internal *catkey_b = &keyb->catkey; + char *filename; + int i; + int diff; + + /* Safe unsigned comparison */ + grub_uint32_t aparent = grub_be_to_cpu32 (catkey_a->parent); + if (aparent > catkey_b->parent) + return 1; + if (aparent < catkey_b->parent) + return -1; + + /* Change the filename in keya so the endianness is correct. */ + for (i = 0; i < grub_be_to_cpu16 (catkey_a->namelen); i++) + catkey_a->name[i] = grub_be_to_cpu16 (catkey_a->name[i]); + + filename = grub_malloc (grub_be_to_cpu16 (catkey_a->namelen) + 1); + + if (! grub_utf16_to_utf8 ((grub_uint8_t *) filename, catkey_a->name, + grub_be_to_cpu16 (catkey_a->namelen))) + return -1; /* XXX: This error never occurs, but in case it happens + just skip this entry. */ + + diff = grub_strncmp (filename, catkey_b->name, + grub_be_to_cpu16 (catkey_a->namelen)); + + grub_free (filename); + + /* The endianness was changed to host format, change it back to + whatever it was. */ + for (i = 0; i < grub_be_to_cpu16 (catkey_a->namelen); i++) + catkey_a->name[i] = grub_cpu_to_be16 (catkey_a->name[i]); + return diff; +} + +/* Compare the on disk extent overflow key KEYA with the extent + overflow key we are looking for (KEYB). */ +static int +grub_hfsplus_cmp_extkey (struct grub_hfsplus_key *keya, + struct grub_hfsplus_key_internal *keyb) +{ + struct grub_hfsplus_extkey *extkey_a = &keya->extkey; + struct grub_hfsplus_extkey_internal *extkey_b = &keyb->extkey; + grub_uint32_t akey; + + /* Safe unsigned comparison */ + akey = grub_be_to_cpu32 (extkey_a->fileid); + if (akey > extkey_b->fileid) + return 1; + if (akey < extkey_b->fileid) + return -1; + + akey = grub_be_to_cpu32 (extkey_a->start); + if (akey > extkey_b->start) + return 1; + if (akey < extkey_b->start) + return -1; + return 0; +} + +static char * +grub_hfsplus_read_symlink (grub_fshelp_node_t node) +{ + char *symlink; + grub_ssize_t numread; + + symlink = grub_malloc (node->size + 1); + if (!symlink) + return 0; + + numread = grub_hfsplus_read_file (node, 0, 0, node->size, symlink); + if (numread != (grub_ssize_t) node->size) + { + grub_free (symlink); + return 0; + } + symlink[node->size] = '\0'; + + return symlink; +} + +static int +grub_hfsplus_btree_iterate_node (struct grub_hfsplus_btree *btree, + struct grub_hfsplus_btnode *first_node, + int first_rec, + int (*hook) (void *record)) +{ + int rec; + + for (;;) + { + char *cnode = (char *) first_node; + + /* Iterate over all records in this node. */ + for (rec = first_rec; rec < grub_be_to_cpu16 (first_node->count); rec++) + { + if (hook (grub_hfsplus_btree_recptr (btree, first_node, rec))) + return 1; + } + + if (! first_node->next) + break; + + if (grub_hfsplus_read_file (&btree->file, 0, + (grub_be_to_cpu32 (first_node->next) + * btree->nodesize), + btree->nodesize, cnode) <= 0) + return 1; + + /* Don't skip any record in the next iteration. */ + first_rec = 0; + } + + return 0; +} + +/* Lookup the node described by KEY in the B+ Tree BTREE. Compare + keys using the function COMPARE_KEYS. When a match is found, + return the node in MATCHNODE and a pointer to the data in this node + in KEYOFFSET. MATCHNODE should be freed by the caller. */ +static grub_err_t +grub_hfsplus_btree_search (struct grub_hfsplus_btree *btree, + struct grub_hfsplus_key_internal *key, + int (*compare_keys) (struct grub_hfsplus_key *keya, + struct grub_hfsplus_key_internal *keyb), + struct grub_hfsplus_btnode **matchnode, int *keyoffset) +{ + grub_uint64_t currnode; + char *node; + struct grub_hfsplus_btnode *nodedesc; + int rec; + + node = grub_malloc (btree->nodesize); + if (! node) + return grub_errno; + + currnode = btree->root; + while (1) + { + int match = 0; + + /* Read a node. */ + if (grub_hfsplus_read_file (&btree->file, 0, + (long)currnode * (long)btree->nodesize, + btree->nodesize, (char *) node) <= 0) + { + grub_free (node); + return grub_error (GRUB_ERR_BAD_FS, "couldn't read i-node"); + } + + nodedesc = (struct grub_hfsplus_btnode *) node; + + /* Find the record in this tree. */ + for (rec = 0; rec < grub_be_to_cpu16 (nodedesc->count); rec++) + { + struct grub_hfsplus_key *currkey; + currkey = grub_hfsplus_btree_recptr (btree, nodedesc, rec); + + /* The action that has to be taken depend on the type of + record. */ + if (nodedesc->type == GRUB_HFSPLUS_BTNODE_TYPE_LEAF + && compare_keys (currkey, key) == 0) + { + /* An exact match was found! */ + + *matchnode = nodedesc; + *keyoffset = rec; + + return 0; + } + else if (nodedesc->type == GRUB_HFSPLUS_BTNODE_TYPE_INDEX) + { + grub_uint32_t *pointer; + + /* The place where the key could have been found didn't + contain the key. This means that the previous match + is the one that should be followed. */ + if (compare_keys (currkey, key) > 0) + break; + + /* Mark the last key which is lower or equal to the key + that we are looking for. The last match that is + found will be used to locate the child which can + contain the record. */ + pointer = (grub_uint32_t *) ((char *) currkey + + grub_be_to_cpu16 (currkey->keylen) + + 2); + currnode = grub_be_to_cpu32 (*pointer); + match = 1; + } + } + + /* No match is found, no record with this key exists in the + tree. */ + if (! match) + { + *matchnode = 0; + grub_free (node); + return 1; + } + } +} + +static int +grub_hfsplus_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + int ret = 0; + + auto int list_nodes (void *record); + int list_nodes (void *record) + { + struct grub_hfsplus_catkey *catkey; + char *filename; + int i; + struct grub_fshelp_node *node; + struct grub_hfsplus_catfile *fileinfo; + enum grub_fshelp_filetype type = GRUB_FSHELP_UNKNOWN; + + catkey = (struct grub_hfsplus_catkey *) record; + + fileinfo = + (struct grub_hfsplus_catfile *) ((char *) record + + grub_be_to_cpu16 (catkey->keylen) + + 2 + (grub_be_to_cpu16(catkey->keylen) + % 2)); + + /* Stop iterating when the last directory entry is found. */ + if (grub_be_to_cpu32 (catkey->parent) != dir->fileid) + return 1; + + /* Determine the type of the node that is found. */ + if (grub_be_to_cpu16 (fileinfo->type) == GRUB_HFSPLUS_FILETYPE_REG) + { + int mode = (grub_be_to_cpu16 (fileinfo->mode) + & GRUB_HFSPLUS_FILEMODE_MASK); + + if (mode == GRUB_HFSPLUS_FILEMODE_REG) + type = GRUB_FSHELP_REG; + else if (mode == GRUB_HFSPLUS_FILEMODE_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else + type = GRUB_FSHELP_UNKNOWN; + } + else if (grub_be_to_cpu16 (fileinfo->type) == GRUB_HFSPLUS_FILETYPE_DIR) + type = GRUB_FSHELP_DIR; + + if (type == GRUB_FSHELP_UNKNOWN) + return 0; + + /* Make sure the byte order of the UTF16 string is correct. */ + for (i = 0; i < grub_be_to_cpu16 (catkey->namelen); i++) + { + catkey->name[i] = grub_be_to_cpu16 (catkey->name[i]); + + /* If the name is obviously invalid, skip this node. */ + if (catkey->name[i] == 0) + return 0; + } + + filename = grub_malloc (grub_be_to_cpu16 (catkey->namelen) + 1); + if (! filename) + return 0; + + if (! grub_utf16_to_utf8 ((grub_uint8_t *) filename, catkey->name, + grub_be_to_cpu16 (catkey->namelen))) + { + grub_free (filename); + return 0; + } + + filename[grub_be_to_cpu16 (catkey->namelen)] = '\0'; + + /* Restore the byte order to what it was previously. */ + for (i = 0; i < grub_be_to_cpu16 (catkey->namelen); i++) + catkey->name[i] = grub_be_to_cpu16 (catkey->name[i]); + + /* hfs+ is case insensitive. */ + if (! dir->data->case_sensitive) + type |= GRUB_FSHELP_CASE_INSENSITIVE; + + /* Only accept valid nodes. */ + if (grub_strlen (filename) == grub_be_to_cpu16 (catkey->namelen)) + { + /* A valid node is found; setup the node and call the + callback function. */ + node = grub_malloc (sizeof (*node)); + node->data = dir->data; + + grub_memcpy (node->extents, fileinfo->data.extents, + sizeof (node->extents)); + node->mtime = grub_be_to_cpu32 (fileinfo->mtime) - 2082844800; + node->size = grub_be_to_cpu64 (fileinfo->data.size); + node->fileid = grub_be_to_cpu32 (fileinfo->fileid); + + ret = hook (filename, type, node); + } + + grub_free (filename); + + return ret; + } + + struct grub_hfsplus_key_internal intern; + struct grub_hfsplus_btnode *node; + int ptr; + + /* Create a key that points to the first entry in the directory. */ + intern.catkey.parent = dir->fileid; + intern.catkey.name = ""; + + /* First lookup the first entry. */ + if (grub_hfsplus_btree_search (&dir->data->catalog_tree, &intern, + grub_hfsplus_cmp_catkey, &node, &ptr)) + return 0; + + /* Iterate over all entries in this directory. */ + grub_hfsplus_btree_iterate_node (&dir->data->catalog_tree, node, ptr, + list_nodes); + + grub_free (node); + + return ret; +} + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_hfsplus_open (struct grub_file *file, const char *name) +{ + struct grub_hfsplus_data *data; + struct grub_fshelp_node *fdiro = 0; + + grub_dl_ref (my_mod); + + data = grub_hfsplus_mount (file->device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (name, &data->dirroot, &fdiro, + grub_hfsplus_iterate_dir, + grub_hfsplus_read_symlink, GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + + file->size = fdiro->size; + data->opened_file = *fdiro; + grub_free (fdiro); + + file->data = data; + file->offset = 0; + + return 0; + + fail: + if (data && fdiro != &data->dirroot) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_err_t +grub_hfsplus_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + + +/* Read LEN bytes data from FILE into BUF. */ +static grub_ssize_t +grub_hfsplus_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_hfsplus_data *data = + (struct grub_hfsplus_data *) file->data; + + int size = grub_hfsplus_read_file (&data->opened_file, file->read_hook, + file->offset, len, buf); + + return size; +} + + +static grub_err_t +grub_hfsplus_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_hfsplus_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + info.mtimeset = 1; + info.mtime = node->mtime; + info.case_insensitive = !! (filetype & GRUB_FSHELP_CASE_INSENSITIVE); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_hfsplus_mount (device->disk); + if (!data) + goto fail; + + /* Find the directory that should be opened. */ + grub_fshelp_find_file (path, &data->dirroot, &fdiro, + grub_hfsplus_iterate_dir, + grub_hfsplus_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + /* Iterate over all entries in this directory. */ + grub_hfsplus_iterate_dir (fdiro, iterate); + + fail: + if (data && fdiro != &data->dirroot) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_err_t +grub_hfsplus_label (grub_device_t device __attribute__((unused)) + , char **label __attribute__((unused))) +{ + /* XXX: It's not documented how to read a label. */ + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "reading the label of a HFS+ " + "partition is not implemented"); +} + +/* Get mtime. */ +static grub_err_t +grub_hfsplus_mtime (grub_device_t device, grub_int32_t *tm) +{ + struct grub_hfsplus_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_hfsplus_mount (disk); + if (!data) + *tm = 0; + else + *tm = grub_be_to_cpu32 (data->volheader.utime) - 2082844800; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; + +} + +static grub_err_t +grub_hfsplus_uuid (grub_device_t device, char **uuid) +{ + struct grub_hfsplus_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_hfsplus_mount (disk); + if (data) + { + *uuid = grub_xasprintf ("%016llx", + (unsigned long long) + grub_be_to_cpu64 (data->volheader.num_serial)); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + + +static struct grub_fs grub_hfsplus_fs = + { + .name = "hfsplus", + .dir = grub_hfsplus_dir, + .open = grub_hfsplus_open, + .read = grub_hfsplus_read, + .close = grub_hfsplus_close, + .label = grub_hfsplus_label, + .mtime = grub_hfsplus_mtime, + .uuid = grub_hfsplus_uuid, +#ifdef GRUB_UTIL + .reserved_first_sector = 1, +#endif + .next = 0 + }; + +GRUB_MOD_INIT(hfsplus) +{ + grub_fs_register (&grub_hfsplus_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(hfsplus) +{ + grub_fs_unregister (&grub_hfsplus_fs); +} diff --git a/grub-core/fs/i386/pc/pxe.c b/grub-core/fs/i386/pc/pxe.c new file mode 100644 index 0000000..4304881 --- /dev/null +++ b/grub-core/fs/i386/pc/pxe.c @@ -0,0 +1,652 @@ +/* pxe.c - Driver to provide access to the pxe filesystem */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define SEGMENT(x) ((x) >> 4) +#define OFFSET(x) ((x) & 0xF) +#define SEGOFS(x) ((SEGMENT(x) << 16) + OFFSET(x)) +#define LINEAR(x) (void *) (((x >> 16) <<4) + (x & 0xFFFF)) + +struct grub_pxe_disk_data +{ + grub_uint32_t server_ip; + grub_uint32_t gateway_ip; +}; + +struct grub_pxe_bangpxe *grub_pxe_pxenv; +static grub_uint32_t grub_pxe_your_ip; +static grub_uint32_t grub_pxe_default_server_ip; +static grub_uint32_t grub_pxe_default_gateway_ip; +static unsigned grub_pxe_blksize = GRUB_PXE_MIN_BLKSIZE; + +static grub_file_t curr_file = 0; + +struct grub_pxe_data +{ + grub_uint32_t packet_number; + grub_uint32_t block_size; + char filename[0]; +}; + +static grub_uint32_t pxe_rm_entry = 0; + +static struct grub_pxe_bangpxe * +grub_pxe_scan (void) +{ + struct grub_bios_int_registers regs; + struct grub_pxenv *pxenv; + struct grub_pxe_bangpxe *bangpxe; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + + regs.ebx = 0; + regs.ecx = 0; + regs.eax = 0x5650; + regs.es = 0; + + grub_bios_interrupt (0x1a, ®s); + + if ((regs.eax & 0xffff) != 0x564e) + return NULL; + + pxenv = (struct grub_pxenv *) ((regs.es << 4) + (regs.ebx & 0xffff)); + if (grub_memcmp (pxenv->signature, GRUB_PXE_SIGNATURE, + sizeof (pxenv->signature)) + != 0) + return NULL; + + if (pxenv->version < 0x201) + return NULL; + + bangpxe = (void *) ((((pxenv->pxe_ptr & 0xffff0000) >> 16) << 4) + + (pxenv->pxe_ptr & 0xffff)); + + if (!bangpxe) + return NULL; + + if (grub_memcmp (bangpxe->signature, GRUB_PXE_BANGPXE_SIGNATURE, + sizeof (bangpxe->signature)) != 0) + return NULL; + + pxe_rm_entry = bangpxe->rm_entry; + + return bangpxe; +} + +static int +grub_pxe_iterate (int (*hook) (const char *name)) +{ + if (hook ("pxe")) + return 1; + return 0; +} + +static grub_err_t +parse_ip (const char *val, grub_uint32_t *ip, const char **rest) +{ + grub_uint32_t newip = 0; + unsigned long t; + int i; + const char *ptr = val; + + for (i = 0; i < 4; i++) + { + t = grub_strtoul (ptr, (char **) &ptr, 0); + if (grub_errno) + return grub_errno; + if (t & ~0xff) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "Invalid IP."); + newip >>= 8; + newip |= (t << 24); + if (i != 3 && *ptr != '.') + return grub_error (GRUB_ERR_OUT_OF_RANGE, "Invalid IP."); + ptr++; + } + *ip = newip; + if (rest) + *rest = ptr - 1; + return 0; +} + +static grub_err_t +grub_pxe_open (const char *name, grub_disk_t disk) +{ + struct grub_pxe_disk_data *data; + + if (grub_strcmp (name, "pxe") != 0 + && grub_strncmp (name, "pxe:", sizeof ("pxe:") - 1) != 0) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a pxe disk"); + + data = grub_malloc (sizeof (*data)); + if (!data) + return grub_errno; + + if (grub_strncmp (name, "pxe:", sizeof ("pxe:") - 1) == 0) + { + const char *ptr; + grub_err_t err; + + ptr = name + sizeof ("pxe:") - 1; + err = parse_ip (ptr, &(data->server_ip), &ptr); + if (err) + return err; + if (*ptr == ':') + { + err = parse_ip (ptr + 1, &(data->gateway_ip), 0); + if (err) + return err; + } + else + data->gateway_ip = grub_pxe_default_gateway_ip; + } + else + { + data->server_ip = grub_pxe_default_server_ip; + data->gateway_ip = grub_pxe_default_gateway_ip; + } + + disk->total_sectors = 0; + disk->id = (unsigned long) data; + + disk->data = data; + + return GRUB_ERR_NONE; +} + +static void +grub_pxe_close (grub_disk_t disk) +{ + grub_free (disk->data); +} + +static grub_err_t +grub_pxe_read (grub_disk_t disk __attribute((unused)), + grub_disk_addr_t sector __attribute((unused)), + grub_size_t size __attribute((unused)), + char *buf __attribute((unused))) +{ + return GRUB_ERR_OUT_OF_RANGE; +} + +static grub_err_t +grub_pxe_write (grub_disk_t disk __attribute((unused)), + grub_disk_addr_t sector __attribute((unused)), + grub_size_t size __attribute((unused)), + const char *buf __attribute((unused))) +{ + return GRUB_ERR_OUT_OF_RANGE; +} + +static struct grub_disk_dev grub_pxe_dev = + { + .name = "pxe", + .id = GRUB_DISK_DEVICE_PXE_ID, + .iterate = grub_pxe_iterate, + .open = grub_pxe_open, + .close = grub_pxe_close, + .read = grub_pxe_read, + .write = grub_pxe_write, + .next = 0 + }; + +static grub_err_t +grub_pxefs_dir (grub_device_t device, + const char *path __attribute__ ((unused)), + int (*hook) (const char *filename, + const struct grub_dirhook_info *info) + __attribute__ ((unused))) +{ + if (device->disk->dev->id != GRUB_DISK_DEVICE_PXE_ID) + return grub_error (GRUB_ERR_BAD_FS, "not a pxe disk"); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_pxefs_open (struct grub_file *file, const char *name) +{ + union + { + struct grub_pxenv_tftp_get_fsize c1; + struct grub_pxenv_tftp_open c2; + } c; + struct grub_pxe_data *data; + struct grub_pxe_disk_data *disk_data = file->device->disk->data; + grub_file_t file_int, bufio; + + if (file->device->disk->dev->id != GRUB_DISK_DEVICE_PXE_ID) + return grub_error (GRUB_ERR_BAD_FS, "not a pxe disk"); + + if (curr_file != 0) + { + grub_pxe_call (GRUB_PXENV_TFTP_CLOSE, &c.c2, pxe_rm_entry); + curr_file = 0; + } + + c.c1.server_ip = disk_data->server_ip; + c.c1.gateway_ip = disk_data->gateway_ip; + grub_strcpy ((char *)&c.c1.filename[0], name); + grub_pxe_call (GRUB_PXENV_TFTP_GET_FSIZE, &c.c1, pxe_rm_entry); + if (c.c1.status) + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + + file->size = c.c1.file_size; + + c.c2.tftp_port = grub_cpu_to_be16 (GRUB_PXE_TFTP_PORT); + c.c2.packet_size = grub_pxe_blksize; + grub_pxe_call (GRUB_PXENV_TFTP_OPEN, &c.c2, pxe_rm_entry); + if (c.c2.status) + return grub_error (GRUB_ERR_BAD_FS, "open fails"); + + data = grub_zalloc (sizeof (struct grub_pxe_data) + grub_strlen (name) + 1); + if (! data) + return grub_errno; + + data->block_size = c.c2.packet_size; + grub_strcpy (data->filename, name); + + file_int = grub_malloc (sizeof (*file_int)); + if (! file_int) + { + grub_free (data); + return grub_errno; + } + + file->data = data; + file->not_easily_seekable = 1; + grub_memcpy (file_int, file, sizeof (struct grub_file)); + curr_file = file_int; + + bufio = grub_bufio_open (file_int, data->block_size); + if (! bufio) + { + grub_free (file_int); + grub_free (data); + return grub_errno; + } + + grub_memcpy (file, bufio, sizeof (struct grub_file)); + + return GRUB_ERR_NONE; +} + +static grub_ssize_t +grub_pxefs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_pxenv_tftp_read c; + struct grub_pxe_data *data; + struct grub_pxe_disk_data *disk_data = file->device->disk->data; + grub_uint32_t pn, r; + + data = file->data; + + pn = grub_divmod64 (file->offset, data->block_size, &r); + if (r) + { + grub_error (GRUB_ERR_BAD_FS, + "read access must be aligned to packet size"); + return -1; + } + + if ((curr_file != file) || (data->packet_number > pn)) + { + struct grub_pxenv_tftp_open o; + + if (curr_file != 0) + grub_pxe_call (GRUB_PXENV_TFTP_CLOSE, &o, pxe_rm_entry); + + o.server_ip = disk_data->server_ip; + o.gateway_ip = disk_data->gateway_ip; + grub_strcpy ((char *)&o.filename[0], data->filename); + o.tftp_port = grub_cpu_to_be16 (GRUB_PXE_TFTP_PORT); + o.packet_size = data->block_size; + grub_pxe_call (GRUB_PXENV_TFTP_OPEN, &o, pxe_rm_entry); + if (o.status) + { + grub_error (GRUB_ERR_BAD_FS, "open fails"); + return -1; + } + data->block_size = o.packet_size; + data->packet_number = 0; + curr_file = file; + } + + c.buffer = SEGOFS (GRUB_MEMORY_MACHINE_SCRATCH_ADDR); + while (pn >= data->packet_number) + { + c.buffer_size = data->block_size; + grub_pxe_call (GRUB_PXENV_TFTP_READ, &c, pxe_rm_entry); + if (c.status) + { + grub_error (GRUB_ERR_BAD_FS, "read fails"); + return -1; + } + data->packet_number++; + } + + grub_memcpy (buf, (char *) GRUB_MEMORY_MACHINE_SCRATCH_ADDR, len); + + return len; +} + +static grub_err_t +grub_pxefs_close (grub_file_t file) +{ + struct grub_pxenv_tftp_close c; + + if (curr_file == file) + { + grub_pxe_call (GRUB_PXENV_TFTP_CLOSE, &c, pxe_rm_entry); + curr_file = 0; + } + + grub_free (file->data); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_pxefs_label (grub_device_t device __attribute ((unused)), + char **label __attribute ((unused))) +{ + *label = 0; + return GRUB_ERR_NONE; +} + +static struct grub_fs grub_pxefs_fs = + { + .name = "pxefs", + .dir = grub_pxefs_dir, + .open = grub_pxefs_open, + .read = grub_pxefs_read, + .close = grub_pxefs_close, + .label = grub_pxefs_label, + .next = 0 + }; + +static char * +grub_env_write_readonly (struct grub_env_var *var __attribute__ ((unused)), + const char *val __attribute__ ((unused))) +{ + return NULL; +} + +static void +set_mac_env (grub_uint8_t *mac_addr, grub_size_t mac_len) +{ + char buf[(sizeof ("XX:") - 1) * mac_len + 1]; + char *ptr = buf; + unsigned i; + + for (i = 0; i < mac_len; i++) + { + grub_snprintf (ptr, sizeof (buf) - (ptr - buf), + "%02x:", mac_addr[i] & 0xff); + ptr += (sizeof ("XX:") - 1); + } + if (mac_len) + *(ptr - 1) = 0; + else + buf[0] = 0; + + grub_env_set ("net_pxe_mac", buf); + /* XXX: Is it possible to change MAC in PXE? */ + grub_register_variable_hook ("net_pxe_mac", 0, grub_env_write_readonly); + grub_env_export ("net_pxe_mac"); +} + +static void +set_env_limn_ro (const char *varname, char *value, grub_size_t len) +{ + char c; + c = value[len]; + value[len] = 0; + grub_env_set (varname, value); + value[len] = c; + grub_register_variable_hook (varname, 0, grub_env_write_readonly); + grub_env_export (varname); +} + +static void +parse_dhcp_vendor (void *vend, int limit) +{ + grub_uint8_t *ptr, *ptr0; + + ptr = ptr0 = vend; + + if (grub_be_to_cpu32 (*(grub_uint32_t *) ptr) != 0x63825363) + return; + ptr = ptr + sizeof (grub_uint32_t); + while (ptr - ptr0 < limit) + { + grub_uint8_t tagtype; + grub_uint8_t taglength; + + tagtype = *ptr++; + + /* Pad tag. */ + if (tagtype == 0) + continue; + + /* End tag. */ + if (tagtype == 0xff) + return; + + taglength = *ptr++; + + switch (tagtype) + { + case 12: + set_env_limn_ro ("net_pxe_hostname", (char *) ptr, taglength); + break; + + case 15: + set_env_limn_ro ("net_pxe_domain", (char *) ptr, taglength); + break; + + case 17: + set_env_limn_ro ("net_pxe_rootpath", (char *) ptr, taglength); + break; + + case 18: + set_env_limn_ro ("net_pxe_extensionspath", (char *) ptr, taglength); + break; + + /* If you need any other options please contact GRUB + development team. */ + } + + ptr += taglength; + } +} + +static void +grub_pxe_detect (void) +{ + struct grub_pxe_bangpxe *pxenv; + struct grub_pxenv_get_cached_info ci; + struct grub_pxenv_boot_player *bp; + + pxenv = grub_pxe_scan (); + if (! pxenv) + return; + + ci.packet_type = GRUB_PXENV_PACKET_TYPE_DHCP_ACK; + ci.buffer = 0; + ci.buffer_size = 0; + grub_pxe_call (GRUB_PXENV_GET_CACHED_INFO, &ci, pxe_rm_entry); + if (ci.status) + return; + + bp = LINEAR (ci.buffer); + + grub_pxe_your_ip = bp->your_ip; + grub_pxe_default_server_ip = bp->server_ip; + grub_pxe_default_gateway_ip = bp->gateway_ip; + set_mac_env (bp->mac_addr, bp->hw_len < sizeof (bp->mac_addr) ? bp->hw_len + : sizeof (bp->mac_addr)); + set_env_limn_ro ("net_pxe_boot_file", (char *) bp->boot_file, + sizeof (bp->boot_file)); + set_env_limn_ro ("net_pxe_dhcp_server_name", (char *) bp->server_name, + sizeof (bp->server_name)); + parse_dhcp_vendor (&bp->vendor, sizeof (bp->vendor)); + grub_pxe_pxenv = pxenv; +} + +void +grub_pxe_unload (void) +{ + if (grub_pxe_pxenv) + { + grub_fs_unregister (&grub_pxefs_fs); + grub_disk_dev_unregister (&grub_pxe_dev); + + grub_pxe_pxenv = 0; + } +} + +static void +set_ip_env (char *varname, grub_uint32_t ip) +{ + char buf[sizeof ("XXX.XXX.XXX.XXX")]; + + grub_snprintf (buf, sizeof (buf), "%d.%d.%d.%d", (ip & 0xff), + (ip >> 8) & 0xff, (ip >> 16) & 0xff, (ip >> 24) & 0xff); + grub_env_set (varname, buf); +} + +static char * +write_ip_env (grub_uint32_t *ip, const char *val) +{ + char *buf; + grub_err_t err; + grub_uint32_t newip; + + err = parse_ip (val, &newip, 0); + if (err) + return 0; + + /* Normalize the IP. */ + buf = grub_xasprintf ("%d.%d.%d.%d", (newip & 0xff), (newip >> 8) & 0xff, + (newip >> 16) & 0xff, (newip >> 24) & 0xff); + if (!buf) + return 0; + + *ip = newip; + + return buf; +} + +static char * +grub_env_write_pxe_default_server (struct grub_env_var *var + __attribute__ ((unused)), + const char *val) +{ + return write_ip_env (&grub_pxe_default_server_ip, val); +} + +static char * +grub_env_write_pxe_default_gateway (struct grub_env_var *var + __attribute__ ((unused)), + const char *val) +{ + return write_ip_env (&grub_pxe_default_gateway_ip, val); +} + +static char * +grub_env_write_pxe_blocksize (struct grub_env_var *var __attribute__ ((unused)), + const char *val) +{ + unsigned size; + char *buf; + + size = grub_strtoul (val, 0, 0); + if (grub_errno) + return 0; + + if (size < GRUB_PXE_MIN_BLKSIZE) + size = GRUB_PXE_MIN_BLKSIZE; + else if (size > GRUB_PXE_MAX_BLKSIZE) + size = GRUB_PXE_MAX_BLKSIZE; + + buf = grub_xasprintf ("%d", size); + if (!buf) + return 0; + + grub_pxe_blksize = size; + + return buf; +} + + +GRUB_MOD_INIT(pxe) +{ + grub_pxe_detect (); + if (grub_pxe_pxenv) + { + char *buf; + + buf = grub_xasprintf ("%d", grub_pxe_blksize); + if (buf) + grub_env_set ("pxe_blksize", buf); + grub_free (buf); + + set_ip_env ("pxe_default_server", grub_pxe_default_server_ip); + set_ip_env ("pxe_default_gateway", grub_pxe_default_gateway_ip); + set_ip_env ("net_pxe_ip", grub_pxe_your_ip); + grub_register_variable_hook ("pxe_default_server", 0, + grub_env_write_pxe_default_server); + grub_register_variable_hook ("pxe_default_gateway", 0, + grub_env_write_pxe_default_gateway); + + + /* XXX: Is it possible to change IP in PXE? */ + grub_register_variable_hook ("net_pxe_ip", 0, + grub_env_write_readonly); + grub_register_variable_hook ("pxe_blksize", 0, + grub_env_write_pxe_blocksize); + + grub_env_export ("pxe_default_server"); + grub_env_export ("pxe_default_gateway"); + grub_env_export ("net_pxe_ip"); + grub_env_export ("pxe_blksize"); + + grub_disk_dev_register (&grub_pxe_dev); + grub_fs_register (&grub_pxefs_fs); + } +} + +GRUB_MOD_FINI(pxe) +{ + grub_pxe_unload (); +} diff --git a/grub-core/fs/iso9660.c b/grub-core/fs/iso9660.c new file mode 100644 index 0000000..a9a17fe --- /dev/null +++ b/grub-core/fs/iso9660.c @@ -0,0 +1,908 @@ +/* iso9660.c - iso9660 implementation with extensions: + SUSP, Rock Ridge. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_ISO9660_FSTYPE_DIR 0040000 +#define GRUB_ISO9660_FSTYPE_REG 0100000 +#define GRUB_ISO9660_FSTYPE_SYMLINK 0120000 +#define GRUB_ISO9660_FSTYPE_MASK 0170000 + +#define GRUB_ISO9660_LOG2_BLKSZ 2 +#define GRUB_ISO9660_BLKSZ 2048 + +#define GRUB_ISO9660_RR_DOT 2 +#define GRUB_ISO9660_RR_DOTDOT 4 + +#define GRUB_ISO9660_VOLDESC_BOOT 0 +#define GRUB_ISO9660_VOLDESC_PRIMARY 1 +#define GRUB_ISO9660_VOLDESC_SUPP 2 +#define GRUB_ISO9660_VOLDESC_PART 3 +#define GRUB_ISO9660_VOLDESC_END 255 + +/* The head of a volume descriptor. */ +struct grub_iso9660_voldesc +{ + grub_uint8_t type; + grub_uint8_t magic[5]; + grub_uint8_t version; +} __attribute__ ((packed)); + +/* A directory entry. */ +struct grub_iso9660_dir +{ + grub_uint8_t len; + grub_uint8_t ext_sectors; + grub_uint32_t first_sector; + grub_uint32_t first_sector_be; + grub_uint32_t size; + grub_uint32_t size_be; + grub_uint8_t unused1[7]; + grub_uint8_t flags; + grub_uint8_t unused2[6]; + grub_uint8_t namelen; +} __attribute__ ((packed)); + +struct grub_iso9660_date +{ + grub_uint8_t year[4]; + grub_uint8_t month[2]; + grub_uint8_t day[2]; + grub_uint8_t hour[2]; + grub_uint8_t minute[2]; + grub_uint8_t second[2]; + grub_uint8_t hundredth[2]; + grub_uint8_t offset; +} __attribute__ ((packed)); + +/* The primary volume descriptor. Only little endian is used. */ +struct grub_iso9660_primary_voldesc +{ + struct grub_iso9660_voldesc voldesc; + grub_uint8_t unused1[33]; + grub_uint8_t volname[32]; + grub_uint8_t unused2[16]; + grub_uint8_t escape[32]; + grub_uint8_t unused3[12]; + grub_uint32_t path_table_size; + grub_uint8_t unused4[4]; + grub_uint32_t path_table; + grub_uint8_t unused5[12]; + struct grub_iso9660_dir rootdir; + grub_uint8_t unused6[624]; + struct grub_iso9660_date created; + struct grub_iso9660_date modified; +} __attribute__ ((packed)); + +/* A single entry in the path table. */ +struct grub_iso9660_path +{ + grub_uint8_t len; + grub_uint8_t sectors; + grub_uint32_t first_sector; + grub_uint16_t parentdir; + grub_uint8_t name[0]; +} __attribute__ ((packed)); + +/* An entry in the System Usage area of the directory entry. */ +struct grub_iso9660_susp_entry +{ + grub_uint8_t sig[2]; + grub_uint8_t len; + grub_uint8_t version; + grub_uint8_t data[0]; +} __attribute__ ((packed)); + +/* The CE entry. This is used to describe the next block where data + can be found. */ +struct grub_iso9660_susp_ce +{ + struct grub_iso9660_susp_entry entry; + grub_uint32_t blk; + grub_uint32_t blk_be; + grub_uint32_t off; + grub_uint32_t off_be; + grub_uint32_t len; + grub_uint32_t len_be; +} __attribute__ ((packed)); + +struct grub_iso9660_data +{ + struct grub_iso9660_primary_voldesc voldesc; + grub_disk_t disk; + unsigned int first_sector; + int rockridge; + int susp_skip; + int joliet; +}; + +struct grub_fshelp_node +{ + struct grub_iso9660_data *data; + unsigned int size; + unsigned int blk; + unsigned int dir_blk; + unsigned int dir_off; +}; + +static grub_dl_t my_mod; + + +/* Iterate over the susp entries, starting with block SUA_BLOCK on the + offset SUA_POS with a size of SUA_SIZE bytes. Hook is called for + every entry. */ +static grub_err_t +grub_iso9660_susp_iterate (struct grub_iso9660_data *data, + int sua_block, int sua_pos, int sua_size, + grub_err_t (*hook) + (struct grub_iso9660_susp_entry *entry)) +{ + char *sua; + struct grub_iso9660_susp_entry *entry; + + auto grub_err_t load_sua (void); + + /* Load a part of the System Usage Area. */ + grub_err_t load_sua (void) + { + sua = grub_malloc (sua_size); + if (!sua) + return grub_errno; + + if (grub_disk_read (data->disk, sua_block, sua_pos, + sua_size, sua)) + return grub_errno; + + entry = (struct grub_iso9660_susp_entry *) sua; + return 0; + } + + if (load_sua ()) + return grub_errno; + + for (; (char *) entry < (char *) sua + sua_size - 1; + entry = (struct grub_iso9660_susp_entry *) + ((char *) entry + entry->len)) + { + /* The last entry. */ + if (grub_strncmp ((char *) entry->sig, "ST", 2) == 0) + break; + + /* Additional entries are stored elsewhere. */ + if (grub_strncmp ((char *) entry->sig, "CE", 2) == 0) + { + struct grub_iso9660_susp_ce *ce; + + ce = (struct grub_iso9660_susp_ce *) entry; + sua_size = grub_le_to_cpu32 (ce->len); + sua_pos = grub_le_to_cpu32 (ce->off); + sua_block = grub_le_to_cpu32 (ce->blk) << GRUB_ISO9660_LOG2_BLKSZ; + + grub_free (sua); + if (load_sua ()) + return grub_errno; + } + + if (hook (entry)) + { + grub_free (sua); + return 0; + } + } + + grub_free (sua); + return 0; +} + +static char * +grub_iso9660_convert_string (grub_uint16_t *us, int len) +{ + char *p; + int i; + + p = grub_malloc (len * 4 + 1); + if (! p) + return p; + + for (i=0; isig, "ER", 2) == 0) + { + data->rockridge = 1; + return 1; + } + return 0; + } + + data = grub_zalloc (sizeof (struct grub_iso9660_data)); + if (! data) + return 0; + + data->disk = disk; + + block = 16; + do + { + int copy_voldesc = 0; + + /* Read the superblock. */ + if (grub_disk_read (disk, block << GRUB_ISO9660_LOG2_BLKSZ, 0, + sizeof (struct grub_iso9660_primary_voldesc), + (char *) &voldesc)) + { + grub_error (GRUB_ERR_BAD_FS, "not a ISO9660 filesystem"); + goto fail; + } + + if (grub_strncmp ((char *) voldesc.voldesc.magic, "CD001", 5) != 0) + { + grub_error (GRUB_ERR_BAD_FS, "not a ISO9660 filesystem"); + goto fail; + } + + if (voldesc.voldesc.type == GRUB_ISO9660_VOLDESC_PRIMARY) + copy_voldesc = 1; + else if ((voldesc.voldesc.type == GRUB_ISO9660_VOLDESC_SUPP) && + (voldesc.escape[0] == 0x25) && (voldesc.escape[1] == 0x2f) && + ((voldesc.escape[2] == 0x40) || /* UCS-2 Level 1. */ + (voldesc.escape[2] == 0x43) || /* UCS-2 Level 2. */ + (voldesc.escape[2] == 0x45))) /* UCS-2 Level 3. */ + { + copy_voldesc = 1; + data->joliet = 1; + } + + if (copy_voldesc) + grub_memcpy((char *) &data->voldesc, (char *) &voldesc, + sizeof (struct grub_iso9660_primary_voldesc)); + + block++; + } while (voldesc.voldesc.type != GRUB_ISO9660_VOLDESC_END); + + /* Read the system use area and test it to see if SUSP is + supported. */ + if (grub_disk_read (disk, (grub_le_to_cpu32 (data->voldesc.rootdir.first_sector) + << GRUB_ISO9660_LOG2_BLKSZ), 0, + sizeof (rootdir), (char *) &rootdir)) + { + grub_error (GRUB_ERR_BAD_FS, "not a ISO9660 filesystem"); + goto fail; + } + + sua_pos = (sizeof (rootdir) + rootdir.namelen + + (rootdir.namelen % 2) - 1); + sua_size = rootdir.len - sua_pos; + + sua = grub_malloc (sua_size); + if (! sua) + goto fail; + + if (grub_disk_read (disk, (grub_le_to_cpu32 (data->voldesc.rootdir.first_sector) + << GRUB_ISO9660_LOG2_BLKSZ), sua_pos, + sua_size, sua)) + { + grub_error (GRUB_ERR_BAD_FS, "not a ISO9660 filesystem"); + goto fail; + } + + entry = (struct grub_iso9660_susp_entry *) sua; + + /* Test if the SUSP protocol is used on this filesystem. */ + if (grub_strncmp ((char *) entry->sig, "SP", 2) == 0) + { + /* The 2nd data byte stored how many bytes are skipped every time + to get to the SUA (System Usage Area). */ + data->susp_skip = entry->data[2]; + entry = (struct grub_iso9660_susp_entry *) ((char *) entry + entry->len); + + /* Iterate over the entries in the SUA area to detect + extensions. */ + if (grub_iso9660_susp_iterate (data, + (grub_le_to_cpu32 (data->voldesc.rootdir.first_sector) + << GRUB_ISO9660_LOG2_BLKSZ), + sua_pos, sua_size, susp_iterate)) + goto fail; + } + + return data; + + fail: + grub_free (data); + return 0; +} + + +static char * +grub_iso9660_read_symlink (grub_fshelp_node_t node) +{ + struct grub_iso9660_dir dirent; + int sua_off; + int sua_size; + char *symlink = 0; + int addslash = 0; + + auto void add_part (const char *part, int len); + auto grub_err_t susp_iterate_sl (struct grub_iso9660_susp_entry *); + + /* Extend the symlink. */ + void add_part (const char *part, int len) + { + int size = grub_strlen (symlink); + + symlink = grub_realloc (symlink, size + len + 1); + if (! symlink) + return; + + grub_strncat (symlink, part, len); + } + + /* Read in a symlink. */ + grub_err_t susp_iterate_sl (struct grub_iso9660_susp_entry *entry) + { + if (grub_strncmp ("SL", (char *) entry->sig, 2) == 0) + { + unsigned int pos = 1; + + /* The symlink is not stored as a POSIX symlink, translate it. */ + while (pos < grub_le_to_cpu32 (entry->len)) + { + if (addslash) + { + add_part ("/", 1); + addslash = 0; + } + + /* The current position is the `Component Flag'. */ + switch (entry->data[pos] & 30) + { + case 0: + { + /* The data on pos + 2 is the actual data, pos + 1 + is the length. Both are part of the `Component + Record'. */ + add_part ((char *) &entry->data[pos + 2], + entry->data[pos + 1]); + if ((entry->data[pos] & 1)) + addslash = 1; + + break; + } + + case 2: + add_part ("./", 2); + break; + + case 4: + add_part ("../", 3); + break; + + case 8: + add_part ("/", 1); + break; + } + /* In pos + 1 the length of the `Component Record' is + stored. */ + pos += entry->data[pos + 1] + 2; + } + + /* Check if `grub_realloc' failed. */ + if (grub_errno) + return grub_errno; + } + + return 0; + } + + if (grub_disk_read (node->data->disk, node->dir_blk, node->dir_off, + sizeof (dirent), (char *) &dirent)) + return 0; + + sua_off = (sizeof (dirent) + dirent.namelen + 1 - (dirent.namelen % 2) + + node->data->susp_skip); + sua_size = dirent.len - sua_off; + + symlink = grub_malloc (1); + if (!symlink) + return 0; + + *symlink = '\0'; + + if (grub_iso9660_susp_iterate (node->data, node->dir_blk, + node->dir_off + sua_off, + sua_size, susp_iterate_sl)) + { + grub_free (symlink); + return 0; + } + + return symlink; +} + + +static int +grub_iso9660_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + struct grub_iso9660_dir dirent; + unsigned int offset = 0; + char *filename; + int filename_alloc = 0; + enum grub_fshelp_filetype type; + + auto grub_err_t susp_iterate_dir (struct grub_iso9660_susp_entry *); + + grub_err_t susp_iterate_dir (struct grub_iso9660_susp_entry *entry) + { + /* The filename in the rock ridge entry. */ + if (grub_strncmp ("NM", (char *) entry->sig, 2) == 0) + { + /* The flags are stored at the data position 0, here the + filename type is stored. */ + if (entry->data[0] & GRUB_ISO9660_RR_DOT) + filename = "."; + else if (entry->data[0] & GRUB_ISO9660_RR_DOTDOT) + filename = ".."; + else + { + int size = 1; + if (filename) + { + size += grub_strlen (filename); + grub_realloc (filename, + grub_strlen (filename) + + entry->len); + } + else + { + size = entry->len - 5; + filename = grub_zalloc (size + 1); + } + filename_alloc = 1; + grub_strncpy (filename, (char *) &entry->data[1], size); + filename[size] = '\0'; + } + } + /* The mode information (st_mode). */ + else if (grub_strncmp ((char *) entry->sig, "PX", 2) == 0) + { + /* At position 0 of the PX record the st_mode information is + stored (little-endian). */ + grub_uint32_t mode = ((entry->data[0] + (entry->data[1] << 8)) + & GRUB_ISO9660_FSTYPE_MASK); + + switch (mode) + { + case GRUB_ISO9660_FSTYPE_DIR: + type = GRUB_FSHELP_DIR; + break; + case GRUB_ISO9660_FSTYPE_REG: + type = GRUB_FSHELP_REG; + break; + case GRUB_ISO9660_FSTYPE_SYMLINK: + type = GRUB_FSHELP_SYMLINK; + break; + default: + type = GRUB_FSHELP_UNKNOWN; + } + } + + return 0; + } + + while (offset < dir->size) + { + if (grub_disk_read (dir->data->disk, + (dir->blk << GRUB_ISO9660_LOG2_BLKSZ) + + offset / GRUB_DISK_SECTOR_SIZE, + offset % GRUB_DISK_SECTOR_SIZE, + sizeof (dirent), (char *) &dirent)) + return 0; + + /* The end of the block, skip to the next one. */ + if (!dirent.len) + { + offset = (offset / GRUB_ISO9660_BLKSZ + 1) * GRUB_ISO9660_BLKSZ; + continue; + } + + { + char name[dirent.namelen + 1]; + int nameoffset = offset + sizeof (dirent); + struct grub_fshelp_node *node; + int sua_off = (sizeof (dirent) + dirent.namelen + 1 + - (dirent.namelen % 2)); + int sua_size = dirent.len - sua_off; + + sua_off += offset + dir->data->susp_skip; + + filename = 0; + filename_alloc = 0; + type = GRUB_FSHELP_UNKNOWN; + + if (dir->data->rockridge + && grub_iso9660_susp_iterate (dir->data, + (dir->blk << GRUB_ISO9660_LOG2_BLKSZ) + + (sua_off + / GRUB_DISK_SECTOR_SIZE), + sua_off % GRUB_DISK_SECTOR_SIZE, + sua_size, susp_iterate_dir)) + return 0; + + /* Read the name. */ + if (grub_disk_read (dir->data->disk, + (dir->blk << GRUB_ISO9660_LOG2_BLKSZ) + + nameoffset / GRUB_DISK_SECTOR_SIZE, + nameoffset % GRUB_DISK_SECTOR_SIZE, + dirent.namelen, (char *) name)) + return 0; + + node = grub_malloc (sizeof (struct grub_fshelp_node)); + if (!node) + return 0; + + /* Setup a new node. */ + node->data = dir->data; + node->size = grub_le_to_cpu32 (dirent.size); + node->blk = grub_le_to_cpu32 (dirent.first_sector); + node->dir_blk = ((dir->blk << GRUB_ISO9660_LOG2_BLKSZ) + + offset / GRUB_DISK_SECTOR_SIZE); + node->dir_off = offset % GRUB_DISK_SECTOR_SIZE; + + /* If the filetype was not stored using rockridge, use + whatever is stored in the iso9660 filesystem. */ + if (type == GRUB_FSHELP_UNKNOWN) + { + if ((dirent.flags & 3) == 2) + type = GRUB_FSHELP_DIR; + else + type = GRUB_FSHELP_REG; + } + + /* The filename was not stored in a rock ridge entry. Read it + from the iso9660 filesystem. */ + if (!filename) + { + name[dirent.namelen] = '\0'; + filename = grub_strrchr (name, ';'); + if (filename) + *filename = '\0'; + + if (dirent.namelen == 1 && name[0] == 0) + filename = "."; + else if (dirent.namelen == 1 && name[0] == 1) + filename = ".."; + else + filename = name; + } + + if (dir->data->joliet) + { + char *oldname, *semicolon; + + oldname = filename; + filename = grub_iso9660_convert_string + ((grub_uint16_t *) oldname, dirent.namelen >> 1); + + semicolon = grub_strrchr (filename, ';'); + if (semicolon) + *semicolon = '\0'; + + if (filename_alloc) + grub_free (oldname); + + filename_alloc = 1; + } + + if (hook (filename, type, node)) + { + if (filename_alloc) + grub_free (filename); + return 1; + } + if (filename_alloc) + grub_free (filename); + } + + offset += dirent.len; + } + + return 0; +} + + + +static grub_err_t +grub_iso9660_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_iso9660_data *data = 0; + struct grub_fshelp_node rootnode; + struct grub_fshelp_node *foundnode; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_iso9660_mount (device->disk); + if (! data) + goto fail; + + rootnode.data = data; + rootnode.blk = grub_le_to_cpu32 (data->voldesc.rootdir.first_sector); + rootnode.size = grub_le_to_cpu32 (data->voldesc.rootdir.size); + + /* Use the fshelp function to traverse the path. */ + if (grub_fshelp_find_file (path, &rootnode, + &foundnode, + grub_iso9660_iterate_dir, + grub_iso9660_read_symlink, + GRUB_FSHELP_DIR)) + goto fail; + + /* List the files in the directory. */ + grub_iso9660_iterate_dir (foundnode, iterate); + + if (foundnode != &rootnode) + grub_free (foundnode); + + fail: + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_iso9660_open (struct grub_file *file, const char *name) +{ + struct grub_iso9660_data *data; + struct grub_fshelp_node rootnode; + struct grub_fshelp_node *foundnode; + + grub_dl_ref (my_mod); + + data = grub_iso9660_mount (file->device->disk); + if (!data) + goto fail; + + rootnode.data = data; + rootnode.blk = grub_le_to_cpu32 (data->voldesc.rootdir.first_sector); + rootnode.size = grub_le_to_cpu32 (data->voldesc.rootdir.size); + + /* Use the fshelp function to traverse the path. */ + if (grub_fshelp_find_file (name, &rootnode, + &foundnode, + grub_iso9660_iterate_dir, + grub_iso9660_read_symlink, + GRUB_FSHELP_REG)) + goto fail; + + data->first_sector = foundnode->blk; + + file->data = data; + file->size = foundnode->size; + file->offset = 0; + + return 0; + + fail: + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + +static grub_ssize_t +grub_iso9660_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_iso9660_data *data = + (struct grub_iso9660_data *) file->data; + + /* XXX: The file is stored in as a single extent. */ + data->disk->read_hook = file->read_hook; + grub_disk_read (data->disk, + data->first_sector << GRUB_ISO9660_LOG2_BLKSZ, + file->offset, + len, buf); + data->disk->read_hook = NULL; + + if (grub_errno) + return -1; + + return len; +} + + +static grub_err_t +grub_iso9660_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + + +static grub_err_t +grub_iso9660_label (grub_device_t device, char **label) +{ + struct grub_iso9660_data *data; + data = grub_iso9660_mount (device->disk); + + if (data) + { + if (data->joliet) + *label = grub_iso9660_convert_string + ((grub_uint16_t *) &data->voldesc.volname, 16); + else + *label = grub_strndup ((char *) data->voldesc.volname, 32); + if (*label) + { + char *ptr; + for (ptr = *label; *ptr;ptr++); + ptr--; + while (ptr >= *label && *ptr == ' ') + *ptr-- = 0; + } + + grub_free (data); + } + else + *label = 0; + + return grub_errno; +} + + +static grub_err_t +grub_iso9660_uuid (grub_device_t device, char **uuid) +{ + struct grub_iso9660_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_iso9660_mount (disk); + if (data) + { + if (! data->voldesc.modified.year[0] && ! data->voldesc.modified.year[1] + && ! data->voldesc.modified.year[2] && ! data->voldesc.modified.year[3] + && ! data->voldesc.modified.month[0] && ! data->voldesc.modified.month[1] + && ! data->voldesc.modified.day[0] && ! data->voldesc.modified.day[1] + && ! data->voldesc.modified.hour[0] && ! data->voldesc.modified.hour[1] + && ! data->voldesc.modified.minute[0] && ! data->voldesc.modified.minute[1] + && ! data->voldesc.modified.second[0] && ! data->voldesc.modified.second[1] + && ! data->voldesc.modified.hundredth[0] && ! data->voldesc.modified.hundredth[1]) + { + grub_error (GRUB_ERR_BAD_NUMBER, "no creation date in filesystem to generate UUID"); + *uuid = NULL; + } + else + { + *uuid = grub_xasprintf ("%c%c%c%c-%c%c-%c%c-%c%c-%c%c-%c%c-%c%c", + data->voldesc.modified.year[0], + data->voldesc.modified.year[1], + data->voldesc.modified.year[2], + data->voldesc.modified.year[3], + data->voldesc.modified.month[0], + data->voldesc.modified.month[1], + data->voldesc.modified.day[0], + data->voldesc.modified.day[1], + data->voldesc.modified.hour[0], + data->voldesc.modified.hour[1], + data->voldesc.modified.minute[0], + data->voldesc.modified.minute[1], + data->voldesc.modified.second[0], + data->voldesc.modified.second[1], + data->voldesc.modified.hundredth[0], + data->voldesc.modified.hundredth[1]); + } + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + + +static struct grub_fs grub_iso9660_fs = + { + .name = "iso9660", + .dir = grub_iso9660_dir, + .open = grub_iso9660_open, + .read = grub_iso9660_read, + .close = grub_iso9660_close, + .label = grub_iso9660_label, + .uuid = grub_iso9660_uuid, + .next = 0 + }; + +GRUB_MOD_INIT(iso9660) +{ + grub_fs_register (&grub_iso9660_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(iso9660) +{ + grub_fs_unregister (&grub_iso9660_fs); +} diff --git a/grub-core/fs/jfs.c b/grub-core/fs/jfs.c new file mode 100644 index 0000000..72e6adc --- /dev/null +++ b/grub-core/fs/jfs.c @@ -0,0 +1,908 @@ +/* jfs.c - JFS. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_JFS_MAX_SYMLNK_CNT 8 +#define GRUB_JFS_FILETYPE_MASK 0170000 +#define GRUB_JFS_FILETYPE_REG 0100000 +#define GRUB_JFS_FILETYPE_LNK 0120000 +#define GRUB_JFS_FILETYPE_DIR 0040000 + +#define GRUB_JFS_SBLOCK 64 +#define GRUB_JFS_AGGR_INODE 2 +#define GRUB_JFS_FS1_INODE_BLK 104 + +#define GRUB_JFS_TREE_LEAF 2 + +struct grub_jfs_sblock +{ + /* The magic for JFS. It should contain the string "JFS1". */ + grub_uint8_t magic[4]; + grub_uint32_t version; + grub_uint64_t ag_size; + + /* The size of a filesystem block in bytes. XXX: currently only + 4096 was tested. */ + grub_uint32_t blksz; + grub_uint16_t log2_blksz; + + grub_uint8_t unused[71]; + grub_uint8_t volname[11]; + grub_uint8_t unused2[32]; + grub_uint8_t uuid[16]; +}; + +struct grub_jfs_extent +{ + /* The length of the extent in filesystem blocks. */ + grub_uint16_t length; + grub_uint8_t length2; + + /* The physical offset of the first block on the disk. */ + grub_uint8_t blk1; + grub_uint32_t blk2; +} __attribute__ ((packed)); + +struct grub_jfs_iag +{ + grub_uint8_t unused[3072]; + struct grub_jfs_extent inodes[128]; +} __attribute__ ((packed)); + + +/* The head of the tree used to find extents. */ +struct grub_jfs_treehead +{ + grub_uint64_t next; + grub_uint64_t prev; + + grub_uint8_t flags; + grub_uint8_t unused; + + grub_uint16_t count; + grub_uint16_t max; + grub_uint8_t unused2[10]; +} __attribute__ ((packed)); + +/* A node in the extent tree. */ +struct grub_jfs_tree_extent +{ + grub_uint8_t flags; + grub_uint16_t unused; + + /* The offset is the key used to lookup an extent. */ + grub_uint8_t offset1; + grub_uint32_t offset2; + + struct grub_jfs_extent extent; +} __attribute__ ((packed)); + +/* The tree of directory entries. */ +struct grub_jfs_tree_dir +{ + /* Pointers to the previous and next tree headers of other nodes on + this level. */ + grub_uint64_t nextb; + grub_uint64_t prevb; + + grub_uint8_t flags; + + /* The amount of dirents in this node. */ + grub_uint8_t count; + grub_uint8_t freecnt; + grub_uint8_t freelist; + grub_uint8_t maxslot; + + /* The location of the sorted array of pointers to dirents. */ + grub_uint8_t sindex; + grub_uint8_t unused[10]; +} __attribute__ ((packed)); + +/* An internal node in the dirents tree. */ +struct grub_jfs_internal_dirent +{ + struct grub_jfs_extent ex; + grub_uint8_t next; + grub_uint8_t len; + grub_uint16_t namepart[11]; +} __attribute__ ((packed)); + +/* A leaf node in the dirents tree. */ +struct grub_jfs_leaf_dirent +{ + /* The inode for this dirent. */ + grub_uint32_t inode; + grub_uint8_t next; + + /* The size of the name. */ + grub_uint8_t len; + grub_uint16_t namepart[11]; + grub_uint32_t index; +} __attribute__ ((packed)); + +/* A leaf in the dirents tree. This one is used if the previously + dirent was not big enough to store the name. */ +struct grub_jfs_leaf_next_dirent +{ + grub_uint8_t next; + grub_uint8_t len; + grub_uint16_t namepart[15]; +} __attribute__ ((packed)); + +struct grub_jfs_inode +{ + grub_uint32_t stamp; + grub_uint32_t fileset; + grub_uint32_t inode; + grub_uint8_t unused[12]; + grub_uint64_t size; + grub_uint8_t unused2[20]; + grub_uint32_t mode; + grub_uint8_t unused3[72]; + grub_uint8_t unused4[96]; + + union + { + /* The tree describing the extents of the file. */ + struct __attribute__ ((packed)) + { + struct grub_jfs_treehead tree; + struct grub_jfs_tree_extent extents[16]; + } file; + union + { + /* The tree describing the dirents. */ + struct + { + grub_uint8_t unused[16]; + grub_uint8_t flags; + + /* Amount of dirents in this node. */ + grub_uint8_t count; + grub_uint8_t freecnt; + grub_uint8_t freelist; + grub_uint32_t idotdot; + grub_uint8_t sorted[8]; + } header; + struct grub_jfs_leaf_dirent dirents[8]; + } dir __attribute__ ((packed)); + /* Fast symlink. */ + struct + { + grub_uint8_t unused[32]; + grub_uint8_t path[128]; + } symlink; + } __attribute__ ((packed)); +} __attribute__ ((packed)); + +struct grub_jfs_data +{ + struct grub_jfs_sblock sblock; + grub_disk_t disk; + struct grub_jfs_inode fileset; + struct grub_jfs_inode currinode; + int pos; + int linknest; +} __attribute__ ((packed)); + +struct grub_jfs_diropen +{ + int index; + union + { + struct grub_jfs_tree_dir header; + struct grub_jfs_leaf_dirent dirent[0]; + struct grub_jfs_leaf_next_dirent next_dirent[0]; + grub_uint8_t sorted[0]; + } *dirpage __attribute__ ((packed)); + struct grub_jfs_data *data; + struct grub_jfs_inode *inode; + int count; + grub_uint8_t *sorted; + struct grub_jfs_leaf_dirent *leaf; + struct grub_jfs_leaf_next_dirent *next_leaf; + + /* The filename and inode of the last read dirent. */ + char name[255]; + grub_uint32_t ino; +} __attribute__ ((packed)); + + +static grub_dl_t my_mod; + +static grub_err_t grub_jfs_lookup_symlink (struct grub_jfs_data *data, grub_uint32_t ino); + +/* Get the block number for the block BLK in the node INODE in the + mounted filesystem DATA. */ +static grub_int64_t +grub_jfs_blkno (struct grub_jfs_data *data, struct grub_jfs_inode *inode, + grub_uint64_t blk) +{ + auto int getblk (struct grub_jfs_treehead *treehead, + struct grub_jfs_tree_extent *extents); + + int getblk (struct grub_jfs_treehead *treehead, + struct grub_jfs_tree_extent *extents) + { + int found = -1; + int i; + + for (i = 0; i < grub_le_to_cpu16 (treehead->count) - 2; i++) + { + if (treehead->flags & GRUB_JFS_TREE_LEAF) + { + /* Read the leafnode. */ + if (grub_le_to_cpu32 (extents[i].offset2) <= blk + && ((grub_le_to_cpu16 (extents[i].extent.length)) + + (extents[i].extent.length2 << 8) + + grub_le_to_cpu32 (extents[i].offset2)) > blk) + return (blk - grub_le_to_cpu32 (extents[i].offset2) + + grub_le_to_cpu32 (extents[i].extent.blk2)); + } + else + if (blk >= grub_le_to_cpu32 (extents[i].offset2)) + found = i; + } + + if (found != -1) + { + struct + { + struct grub_jfs_treehead treehead; + struct grub_jfs_tree_extent extents[254]; + } tree; + + if (grub_disk_read (data->disk, + grub_le_to_cpu32 (extents[found].extent.blk2) + << (grub_le_to_cpu16 (data->sblock.log2_blksz) + - GRUB_DISK_SECTOR_BITS), 0, + sizeof (tree), (char *) &tree)) + return -1; + + return getblk (&tree.treehead, &tree.extents[0]); + } + + return -1; + } + + return getblk (&inode->file.tree, &inode->file.extents[0]); +} + + +static grub_err_t +grub_jfs_read_inode (struct grub_jfs_data *data, grub_uint32_t ino, + struct grub_jfs_inode *inode) +{ + struct grub_jfs_iag iag; + grub_uint32_t iagnum = ino / 4096; + unsigned inoext = (ino % 4096) / 32; + unsigned inonum = (ino % 4096) % 32; + grub_uint64_t iagblk; + grub_uint64_t inoblk; + + iagblk = grub_jfs_blkno (data, &data->fileset, iagnum + 1); + if (grub_errno) + return grub_errno; + + /* Read in the IAG. */ + if (grub_disk_read (data->disk, + iagblk << (grub_le_to_cpu16 (data->sblock.log2_blksz) + - GRUB_DISK_SECTOR_BITS), 0, + sizeof (struct grub_jfs_iag), &iag)) + return grub_errno; + + inoblk = grub_le_to_cpu32 (iag.inodes[inoext].blk2); + inoblk <<= (grub_le_to_cpu16 (data->sblock.log2_blksz) + - GRUB_DISK_SECTOR_BITS); + inoblk += inonum; + + if (grub_disk_read (data->disk, inoblk, 0, + sizeof (struct grub_jfs_inode), inode)) + return grub_errno; + + return 0; +} + + +static struct grub_jfs_data * +grub_jfs_mount (grub_disk_t disk) +{ + struct grub_jfs_data *data = 0; + + data = grub_malloc (sizeof (struct grub_jfs_data)); + if (!data) + return 0; + + /* Read the superblock. */ + if (grub_disk_read (disk, GRUB_JFS_SBLOCK, 0, + sizeof (struct grub_jfs_sblock), &data->sblock)) + goto fail; + + if (grub_strncmp ((char *) (data->sblock.magic), "JFS1", 4)) + { + grub_error (GRUB_ERR_BAD_FS, "not a JFS filesystem"); + goto fail; + } + + if (grub_le_to_cpu32 (data->sblock.blksz) + != (1U << grub_le_to_cpu16 (data->sblock.log2_blksz))) + { + grub_error (GRUB_ERR_BAD_FS, "not a JFS filesystem"); + goto fail; + } + + data->disk = disk; + data->pos = 0; + data->linknest = 0; + + /* Read the inode of the first fileset. */ + if (grub_disk_read (data->disk, GRUB_JFS_FS1_INODE_BLK, 0, + sizeof (struct grub_jfs_inode), &data->fileset)) + goto fail; + + return data; + + fail: + grub_free (data); + + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not a JFS filesystem"); + + return 0; +} + + +static struct grub_jfs_diropen * +grub_jfs_opendir (struct grub_jfs_data *data, struct grub_jfs_inode *inode) +{ + struct grub_jfs_internal_dirent *de; + struct grub_jfs_diropen *diro; + grub_disk_addr_t blk; + + de = (struct grub_jfs_internal_dirent *) inode->dir.dirents; + + if (!((grub_le_to_cpu32 (inode->mode) + & GRUB_JFS_FILETYPE_MASK) == GRUB_JFS_FILETYPE_DIR)) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + return 0; + } + + diro = grub_zalloc (sizeof (struct grub_jfs_diropen)); + if (!diro) + return 0; + + diro->data = data; + diro->inode = inode; + + /* Check if the entire tree is contained within the inode. */ + if (inode->file.tree.flags & GRUB_JFS_TREE_LEAF) + { + diro->leaf = inode->dir.dirents; + diro->next_leaf = (struct grub_jfs_leaf_next_dirent *) de; + diro->sorted = inode->dir.header.sorted; + diro->count = inode->dir.header.count; + + return diro; + } + + diro->dirpage = grub_malloc (grub_le_to_cpu32 (data->sblock.blksz)); + if (!diro->dirpage) + { + grub_free (diro); + return 0; + } + + blk = grub_le_to_cpu32 (de[inode->dir.header.sorted[0]].ex.blk2); + blk <<= (grub_le_to_cpu16 (data->sblock.log2_blksz) - GRUB_DISK_SECTOR_BITS); + + /* Read in the nodes until we are on the leaf node level. */ + do + { + int index; + if (grub_disk_read (data->disk, blk, 0, + grub_le_to_cpu32 (data->sblock.blksz), + diro->dirpage->sorted)) + { + grub_free (diro->dirpage); + grub_free (diro); + return 0; + } + + de = (struct grub_jfs_internal_dirent *) diro->dirpage->dirent; + index = diro->dirpage->sorted[diro->dirpage->header.sindex * 32]; + blk = (grub_le_to_cpu32 (de[index].ex.blk2) + << (grub_le_to_cpu16 (data->sblock.log2_blksz) + - GRUB_DISK_SECTOR_BITS)); + } while (!(diro->dirpage->header.flags & GRUB_JFS_TREE_LEAF)); + + diro->leaf = diro->dirpage->dirent; + diro->next_leaf = diro->dirpage->next_dirent; + diro->sorted = &diro->dirpage->sorted[diro->dirpage->header.sindex * 32]; + diro->count = diro->dirpage->header.count; + + return diro; +} + + +static void +grub_jfs_closedir (struct grub_jfs_diropen *diro) +{ + if (!diro) + return; + grub_free (diro->dirpage); + grub_free (diro); +} + + +/* Read in the next dirent from the directory described by DIRO. */ +static grub_err_t +grub_jfs_getent (struct grub_jfs_diropen *diro) +{ + int strpos = 0; + struct grub_jfs_leaf_dirent *leaf; + struct grub_jfs_leaf_next_dirent *next_leaf; + int len; + int nextent; + grub_uint16_t filename[255]; + + auto void addstr (grub_uint16_t *uname, int ulen); + + /* Add the unicode string to the utf16 filename buffer. */ + void addstr (grub_uint16_t *name, int ulen) + { + while (ulen--) + filename[strpos++] = *(name++); + } + + /* The last node, read in more. */ + if (diro->index == diro->count) + { + grub_disk_addr_t next; + + /* If the inode contains the entry tree or if this was the last + node, there is nothing to read. */ + if ((diro->inode->file.tree.flags & GRUB_JFS_TREE_LEAF) + || !grub_le_to_cpu64 (diro->dirpage->header.nextb)) + return GRUB_ERR_OUT_OF_RANGE; + + next = grub_le_to_cpu64 (diro->dirpage->header.nextb); + next <<= (grub_le_to_cpu16 (diro->data->sblock.log2_blksz) + - GRUB_DISK_SECTOR_BITS); + + if (grub_disk_read (diro->data->disk, next, 0, + grub_le_to_cpu32 (diro->data->sblock.blksz), + diro->dirpage->sorted)) + return grub_errno; + + diro->leaf = diro->dirpage->dirent; + diro->next_leaf = diro->dirpage->next_dirent; + diro->sorted = &diro->dirpage->sorted[diro->dirpage->header.sindex * 32]; + diro->count = diro->dirpage->header.count; + diro->index = 0; + } + + leaf = &diro->leaf[diro->sorted[diro->index]]; + next_leaf = &diro->next_leaf[diro->index]; + + len = leaf->len; + if (!len) + { + diro->index++; + return grub_jfs_getent (diro); + } + + addstr (leaf->namepart, len < 11 ? len : 11); + diro->ino = grub_le_to_cpu32 (leaf->inode); + len -= 11; + + /* Move down to the leaf level. */ + nextent = leaf->next; + if (leaf->next != 255) + do + { + next_leaf = &diro->next_leaf[nextent]; + addstr (next_leaf->namepart, len < 15 ? len : 15 ); + + len -= 15; + nextent = next_leaf->next; + } while (next_leaf->next != 255 && len > 0); + + diro->index++; + + /* Convert the temporary UTF16 filename to UTF8. */ + *grub_utf16_to_utf8 ((grub_uint8_t *) (diro->name), filename, strpos) = '\0'; + + return 0; +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_jfs_read_file (struct grub_jfs_data *data, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + grub_uint64_t pos, grub_size_t len, char *buf) +{ + grub_uint64_t i; + grub_uint64_t blockcnt; + + blockcnt = (len + pos + grub_le_to_cpu32 (data->sblock.blksz) - 1) + >> grub_le_to_cpu16 (data->sblock.log2_blksz); + + for (i = pos >> grub_le_to_cpu16 (data->sblock.log2_blksz); i < blockcnt; i++) + { + grub_disk_addr_t blknr; + grub_uint32_t blockoff = pos & (grub_le_to_cpu32 (data->sblock.blksz) - 1); + grub_uint32_t blockend = grub_le_to_cpu32 (data->sblock.blksz); + + grub_uint64_t skipfirst = 0; + + blknr = grub_jfs_blkno (data, &data->currinode, i); + if (grub_errno) + return -1; + + /* Last block. */ + if (i == blockcnt - 1) + { + blockend = (len + pos) & (grub_le_to_cpu32 (data->sblock.blksz) - 1); + + if (!blockend) + blockend = grub_le_to_cpu32 (data->sblock.blksz); + } + + /* First block. */ + if (i == (pos >> grub_le_to_cpu16 (data->sblock.log2_blksz))) + { + skipfirst = blockoff; + blockend -= skipfirst; + } + + data->disk->read_hook = read_hook; + grub_disk_read (data->disk, + blknr << (grub_le_to_cpu16 (data->sblock.log2_blksz) + - GRUB_DISK_SECTOR_BITS), + skipfirst, blockend, buf); + + data->disk->read_hook = 0; + if (grub_errno) + return -1; + + buf += grub_le_to_cpu32 (data->sblock.blksz) - skipfirst; + } + + return len; +} + + +/* Find the file with the pathname PATH on the filesystem described by + DATA. */ +static grub_err_t +grub_jfs_find_file (struct grub_jfs_data *data, const char *path) +{ + char fpath[grub_strlen (path)]; + char *name = fpath; + char *next; + struct grub_jfs_diropen *diro; + + grub_strncpy (fpath, path, grub_strlen (path) + 1); + + if (grub_jfs_read_inode (data, GRUB_JFS_AGGR_INODE, &data->currinode)) + return grub_errno; + + /* Skip the first slashes. */ + while (*name == '/') + { + name++; + if (!*name) + return 0; + } + + /* Extract the actual part from the pathname. */ + next = grub_strchr (name, '/'); + if (next) + { + while (*next == '/') + { + next[0] = '\0'; + next++; + } + } + diro = grub_jfs_opendir (data, &data->currinode); + if (!diro) + return grub_errno; + + for (;;) + { + if (grub_strlen (name) == 0) + return GRUB_ERR_NONE; + + if (grub_jfs_getent (diro) == GRUB_ERR_OUT_OF_RANGE) + break; + + /* Check if the current direntry matches the current part of the + pathname. */ + if (!grub_strcmp (name, diro->name)) + { + grub_uint32_t ino = diro->ino; + grub_uint32_t dirino = grub_le_to_cpu32 (data->currinode.inode); + + grub_jfs_closedir (diro); + diro = 0; + + if (grub_jfs_read_inode (data, ino, &data->currinode)) + break; + + /* Check if this is a symlink. */ + if ((grub_le_to_cpu32 (data->currinode.mode) + & GRUB_JFS_FILETYPE_MASK) == GRUB_JFS_FILETYPE_LNK) + { + grub_jfs_lookup_symlink (data, dirino); + if (grub_errno) + return grub_errno; + } + + if (!next) + return 0; + + name = next; + next = grub_strchr (name, '/'); + if (next) + { + next[0] = '\0'; + next++; + } + + /* Open this directory for reading dirents. */ + diro = grub_jfs_opendir (data, &data->currinode); + if (!diro) + return grub_errno; + + continue; + } + } + + grub_jfs_closedir (diro); + grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + return grub_errno; +} + + +static grub_err_t +grub_jfs_lookup_symlink (struct grub_jfs_data *data, grub_uint32_t ino) +{ + grub_uint64_t size = grub_le_to_cpu64 (data->currinode.size); + char symlink[size + 1]; + + if (++data->linknest > GRUB_JFS_MAX_SYMLNK_CNT) + return grub_error (GRUB_ERR_SYMLINK_LOOP, "too deep nesting of symlinks"); + + if (size <= 128) + grub_strncpy (symlink, (char *) (data->currinode.symlink.path), 128); + else if (grub_jfs_read_file (data, 0, 0, size, symlink) < 0) + return grub_errno; + + symlink[size] = '\0'; + + /* The symlink is an absolute path, go back to the root inode. */ + if (symlink[0] == '/') + ino = 2; + + /* Now load in the old inode. */ + if (grub_jfs_read_inode (data, ino, &data->currinode)) + return grub_errno; + + grub_jfs_find_file (data, symlink); + if (grub_errno) + grub_error (grub_errno, "cannot follow symlink `%s'", symlink); + + return grub_errno; +} + + +static grub_err_t +grub_jfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_jfs_data *data = 0; + struct grub_jfs_diropen *diro = 0; + + grub_dl_ref (my_mod); + + data = grub_jfs_mount (device->disk); + if (!data) + goto fail; + + if (grub_jfs_find_file (data, path)) + goto fail; + + diro = grub_jfs_opendir (data, &data->currinode); + if (!diro) + goto fail; + + /* Iterate over the dirents in the directory that was found. */ + while (grub_jfs_getent (diro) != GRUB_ERR_OUT_OF_RANGE) + { + struct grub_jfs_inode inode; + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + + if (grub_jfs_read_inode (data, diro->ino, &inode)) + goto fail; + + info.dir = (grub_le_to_cpu32 (inode.mode) + & GRUB_JFS_FILETYPE_MASK) == GRUB_JFS_FILETYPE_DIR; + if (hook (diro->name, &info)) + goto fail; + } + + /* XXX: GRUB_ERR_OUT_OF_RANGE is used for the last dirent. */ + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_errno = 0; + + fail: + grub_jfs_closedir (diro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_jfs_open (struct grub_file *file, const char *name) +{ + struct grub_jfs_data *data; + + grub_dl_ref (my_mod); + + data = grub_jfs_mount (file->device->disk); + if (!data) + goto fail; + + grub_jfs_find_file (data, name); + if (grub_errno) + goto fail; + + /* It is only possible for open regular files. */ + if (! ((grub_le_to_cpu32 (data->currinode.mode) + & GRUB_JFS_FILETYPE_MASK) == GRUB_JFS_FILETYPE_REG)) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a regular file"); + goto fail; + } + + file->data = data; + file->size = grub_le_to_cpu64 (data->currinode.size); + + return 0; + + fail: + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + +static grub_ssize_t +grub_jfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_jfs_data *data = + (struct grub_jfs_data *) file->data; + + return grub_jfs_read_file (data, file->read_hook, file->offset, len, buf); +} + + +static grub_err_t +grub_jfs_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_jfs_uuid (grub_device_t device, char **uuid) +{ + struct grub_jfs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_jfs_mount (disk); + if (data) + { + *uuid = grub_xasprintf ("%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-" + "%02x%02x%02x%02x%02x%02x", + data->sblock.uuid[0], data->sblock.uuid[1], + data->sblock.uuid[2], data->sblock.uuid[3], + data->sblock.uuid[4], data->sblock.uuid[5], + data->sblock.uuid[6], data->sblock.uuid[7], + data->sblock.uuid[8], data->sblock.uuid[9], + data->sblock.uuid[10], data->sblock.uuid[11], + data->sblock.uuid[12], data->sblock.uuid[13], + data->sblock.uuid[14], data->sblock.uuid[15]); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static grub_err_t +grub_jfs_label (grub_device_t device, char **label) +{ + struct grub_jfs_data *data; + data = grub_jfs_mount (device->disk); + + if (data) + *label = grub_strndup ((char *) (data->sblock.volname), 11); + else + *label = 0; + + return grub_errno; +} + + +static struct grub_fs grub_jfs_fs = + { + .name = "jfs", + .dir = grub_jfs_dir, + .open = grub_jfs_open, + .read = grub_jfs_read, + .close = grub_jfs_close, + .label = grub_jfs_label, + .uuid = grub_jfs_uuid, + .next = 0 + }; + +GRUB_MOD_INIT(jfs) +{ + grub_fs_register (&grub_jfs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(jfs) +{ + grub_fs_unregister (&grub_jfs_fs); +} diff --git a/grub-core/fs/minix.c b/grub-core/fs/minix.c new file mode 100644 index 0000000..523e6e6 --- /dev/null +++ b/grub-core/fs/minix.c @@ -0,0 +1,590 @@ +/* minix.c - The minix filesystem, version 1 and 2. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#ifdef MODE_MINIX2 +#define GRUB_MINIX_MAGIC 0x2468 +#define GRUB_MINIX_MAGIC_30 0x2478 +#else +#define GRUB_MINIX_MAGIC 0x137F +#define GRUB_MINIX_MAGIC_30 0x138F +#endif +#define GRUB_MINIX_BSIZE 1024U +#define GRUB_MINIX_LOG2_BSIZE 1 +#define GRUB_MINIX_ROOT_INODE 1 +#define GRUB_MINIX_MAX_SYMLNK_CNT 8 +#define GRUB_MINIX_SBLOCK 2 + +#define GRUB_MINIX_IFDIR 0040000U +#define GRUB_MINIX_IFLNK 0120000U + +#ifdef MODE_MINIX2 +typedef grub_uint32_t grub_minix_uintn_t; +#define grub_minix_le_to_cpu_n grub_le_to_cpu32 +#else +typedef grub_uint16_t grub_minix_uintn_t; +#define grub_minix_le_to_cpu_n grub_le_to_cpu16 +#endif + +#define GRUB_MINIX_INODE_BLKSZ(data) sizeof (grub_minix_uintn_t) + +#define GRUB_MINIX_INODE_SIZE(data) (grub_minix_le_to_cpu_n (data->inode.size)) +#define GRUB_MINIX_INODE_MODE(data) (grub_le_to_cpu16 (data->inode.mode)) +#define GRUB_MINIX_INODE_DIR_ZONES(data,blk) (grub_minix_le_to_cpu_n \ + (data->inode.dir_zones[blk])) +#define GRUB_MINIX_INODE_INDIR_ZONE(data) (grub_minix_le_to_cpu_n \ + (data->inode.indir_zone)) +#define GRUB_MINIX_INODE_DINDIR_ZONE(data) (grub_minix_le_to_cpu_n \ + (data->inode.double_indir_zone)) + +#define GRUB_MINIX_LOG2_ZONESZ (GRUB_MINIX_LOG2_BSIZE \ + + grub_le_to_cpu16 (sblock->log2_zone_size)) +#define GRUB_MINIX_ZONESZ (GRUB_MINIX_BSIZE \ + << grub_le_to_cpu16 (sblock->log2_zone_size)) + +struct grub_minix_sblock +{ + grub_uint16_t inode_cnt; + grub_uint16_t zone_cnt; + grub_uint16_t inode_bmap_size; + grub_uint16_t zone_bmap_size; + grub_uint16_t first_data_zone; + grub_uint16_t log2_zone_size; + grub_uint32_t max_file_size; + grub_uint16_t magic; +}; + +#ifndef MODE_MINIX2 +struct grub_minix_inode +{ + grub_uint16_t mode; + grub_uint16_t uid; + grub_uint16_t size; + grub_uint32_t ctime; + grub_uint8_t gid; + grub_uint8_t nlinks; + grub_uint16_t dir_zones[7]; + grub_uint16_t indir_zone; + grub_uint16_t double_indir_zone; +}; + +#else + +struct grub_minix_inode +{ + grub_uint16_t mode; + grub_uint16_t nlinks; + grub_uint16_t uid; + grub_uint16_t gid; + grub_uint32_t size; + grub_uint32_t atime; + grub_uint32_t mtime; + grub_uint32_t ctime; + grub_uint32_t dir_zones[7]; + grub_uint32_t indir_zone; + grub_uint32_t double_indir_zone; + grub_uint32_t unused; + +}; + +#endif + +/* Information about a "mounted" minix filesystem. */ +struct grub_minix_data +{ + struct grub_minix_sblock sblock; + struct grub_minix_inode inode; + int ino; + int linknest; + grub_disk_t disk; + int filename_size; +}; + +static grub_dl_t my_mod; + +static grub_err_t grub_minix_find_file (struct grub_minix_data *data, + const char *path); + +static int +grub_minix_get_file_block (struct grub_minix_data *data, unsigned int blk) +{ + struct grub_minix_sblock *sblock = &data->sblock; + int indir; + + auto int grub_get_indir (int, int); + + /* Read the block pointer in ZONE, on the offset NUM. */ + int grub_get_indir (int zone, int num) + { + grub_minix_uintn_t indirn; + grub_disk_read (data->disk, + zone << GRUB_MINIX_LOG2_ZONESZ, + sizeof (grub_minix_uintn_t) * num, + sizeof (grub_minix_uintn_t), (char *) &indirn); + return grub_minix_le_to_cpu_n (indirn); + } + + /* Direct block. */ + if (blk < 7) + return GRUB_MINIX_INODE_DIR_ZONES (data, blk); + + /* Indirect block. */ + blk -= 7; + if (blk < GRUB_MINIX_ZONESZ / GRUB_MINIX_INODE_BLKSZ (data)) + { + indir = grub_get_indir (GRUB_MINIX_INODE_INDIR_ZONE (data), blk); + return indir; + } + + /* Double indirect block. */ + blk -= GRUB_MINIX_ZONESZ / GRUB_MINIX_INODE_BLKSZ (data); + if (blk < (GRUB_MINIX_ZONESZ / GRUB_MINIX_INODE_BLKSZ (data)) + * (GRUB_MINIX_ZONESZ / GRUB_MINIX_INODE_BLKSZ (data))) + { + indir = grub_get_indir (GRUB_MINIX_INODE_DINDIR_ZONE (data), + blk / GRUB_MINIX_ZONESZ); + + indir = grub_get_indir (indir, blk % GRUB_MINIX_ZONESZ); + + return indir; + } + + /* This should never happen. */ + grub_error (GRUB_ERR_OUT_OF_RANGE, "file bigger than maximum size"); + + return 0; +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_minix_read_file (struct grub_minix_data *data, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_disk_addr_t len, char *buf) +{ + struct grub_minix_sblock *sblock = &data->sblock; + int i; + int blockcnt; + + /* Adjust len so it we can't read past the end of the file. */ + if (len + pos > GRUB_MINIX_INODE_SIZE (data)) + len = GRUB_MINIX_INODE_SIZE (data) - pos; + + blockcnt = (len + pos + GRUB_MINIX_BSIZE - 1) / GRUB_MINIX_BSIZE; + + for (i = pos / GRUB_MINIX_BSIZE; i < blockcnt; i++) + { + int blknr; + int blockoff = pos % GRUB_MINIX_BSIZE; + int blockend = GRUB_MINIX_BSIZE; + + int skipfirst = 0; + + blknr = grub_minix_get_file_block (data, i); + if (grub_errno) + return -1; + + /* Last block. */ + if (i == blockcnt - 1) + { + blockend = (len + pos) % GRUB_MINIX_BSIZE; + + if (!blockend) + blockend = GRUB_MINIX_BSIZE; + } + + /* First block. */ + if (i == (pos / (int) GRUB_MINIX_BSIZE)) + { + skipfirst = blockoff; + blockend -= skipfirst; + } + + data->disk->read_hook = read_hook; + grub_disk_read (data->disk, blknr << GRUB_MINIX_LOG2_ZONESZ, + skipfirst, blockend, buf); + + data->disk->read_hook = 0; + if (grub_errno) + return -1; + + buf += GRUB_MINIX_BSIZE - skipfirst; + } + + return len; +} + + +/* Read inode INO from the mounted filesystem described by DATA. This + inode is used by default now. */ +static grub_err_t +grub_minix_read_inode (struct grub_minix_data *data, int ino) +{ + struct grub_minix_sblock *sblock = &data->sblock; + + /* Block in which the inode is stored. */ + int block; + data->ino = ino; + + /* The first inode in minix is inode 1. */ + ino--; + + block = ((2 + grub_le_to_cpu16 (sblock->inode_bmap_size) + + grub_le_to_cpu16 (sblock->zone_bmap_size)) + << GRUB_MINIX_LOG2_BSIZE); + + block += ino / (GRUB_DISK_SECTOR_SIZE / sizeof (struct grub_minix_inode)); + int offs = (ino % (GRUB_DISK_SECTOR_SIZE + / sizeof (struct grub_minix_inode)) + * sizeof (struct grub_minix_inode)); + + grub_disk_read (data->disk, block, offs, + sizeof (struct grub_minix_inode), &data->inode); + + return GRUB_ERR_NONE; +} + + +/* Lookup the symlink the current inode points to. INO is the inode + number of the directory the symlink is relative to. */ +static grub_err_t +grub_minix_lookup_symlink (struct grub_minix_data *data, int ino) +{ + char symlink[GRUB_MINIX_INODE_SIZE (data) + 1]; + + if (++data->linknest > GRUB_MINIX_MAX_SYMLNK_CNT) + return grub_error (GRUB_ERR_SYMLINK_LOOP, "too deep nesting of symlinks"); + + if (grub_minix_read_file (data, 0, 0, + GRUB_MINIX_INODE_SIZE (data), symlink) < 0) + return grub_errno; + + symlink[GRUB_MINIX_INODE_SIZE (data)] = '\0'; + + /* The symlink is an absolute path, go back to the root inode. */ + if (symlink[0] == '/') + ino = GRUB_MINIX_ROOT_INODE; + + /* Now load in the old inode. */ + if (grub_minix_read_inode (data, ino)) + return grub_errno; + + grub_minix_find_file (data, symlink); + if (grub_errno) + grub_error (grub_errno, "cannot follow symlink `%s'", symlink); + + return grub_errno; +} + + +/* Find the file with the pathname PATH on the filesystem described by + DATA. */ +static grub_err_t +grub_minix_find_file (struct grub_minix_data *data, const char *path) +{ + char fpath[grub_strlen (path) + 1]; + char *name = fpath; + char *next; + unsigned int pos = 0; + int dirino; + + grub_strcpy (fpath, path); + + /* Skip the first slash. */ + if (name[0] == '/') + { + name++; + if (!*name) + return 0; + } + + /* Extract the actual part from the pathname. */ + next = grub_strchr (name, '/'); + if (next) + { + next[0] = '\0'; + next++; + } + + do + { + grub_uint16_t ino; + char filename[data->filename_size + 1]; + + if (grub_strlen (name) == 0) + return GRUB_ERR_NONE; + + if (grub_minix_read_file (data, 0, pos, sizeof (ino), + (char *) &ino) < 0) + return grub_errno; + if (grub_minix_read_file (data, 0, pos + sizeof (ino), + data->filename_size, (char *) filename)< 0) + return grub_errno; + + filename[data->filename_size] = '\0'; + + /* Check if the current direntry matches the current part of the + pathname. */ + if (!grub_strcmp (name, filename)) + { + dirino = data->ino; + grub_minix_read_inode (data, grub_le_to_cpu16 (ino)); + + /* Follow the symlink. */ + if ((GRUB_MINIX_INODE_MODE (data) + & GRUB_MINIX_IFLNK) == GRUB_MINIX_IFLNK) + { + grub_minix_lookup_symlink (data, dirino); + if (grub_errno) + return grub_errno; + } + + if (!next) + return 0; + + pos = 0; + + name = next; + next = grub_strchr (name, '/'); + if (next) + { + next[0] = '\0'; + next++; + } + + if ((GRUB_MINIX_INODE_MODE (data) + & GRUB_MINIX_IFDIR) != GRUB_MINIX_IFDIR) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + + continue; + } + + pos += sizeof (ino) + data->filename_size; + } while (pos < GRUB_MINIX_INODE_SIZE (data)); + + grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + return grub_errno; +} + + +/* Mount the filesystem on the disk DISK. */ +static struct grub_minix_data * +grub_minix_mount (grub_disk_t disk) +{ + struct grub_minix_data *data; + + data = grub_malloc (sizeof (struct grub_minix_data)); + if (!data) + return 0; + + /* Read the superblock. */ + grub_disk_read (disk, GRUB_MINIX_SBLOCK, 0, + sizeof (struct grub_minix_sblock),&data->sblock); + if (grub_errno) + goto fail; + + if (grub_le_to_cpu16 (data->sblock.magic) == GRUB_MINIX_MAGIC) + data->filename_size = 14; + else if (grub_le_to_cpu16 (data->sblock.magic) == GRUB_MINIX_MAGIC_30) + data->filename_size = 30; + else + goto fail; + + data->disk = disk; + data->linknest = 0; + + return data; + + fail: + grub_free (data); +#ifdef MODE_MINIX2 + grub_error (GRUB_ERR_BAD_FS, "not a minix2 filesystem"); +#else + grub_error (GRUB_ERR_BAD_FS, "not a minix filesystem"); +#endif + return 0; +} + +static grub_err_t +grub_minix_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_minix_data *data = 0; + unsigned int pos = 0; + + data = grub_minix_mount (device->disk); + if (!data) + return grub_errno; + + grub_minix_read_inode (data, GRUB_MINIX_ROOT_INODE); + if (grub_errno) + goto fail; + + grub_minix_find_file (data, path); + if (grub_errno) + goto fail; + + if ((GRUB_MINIX_INODE_MODE (data) & GRUB_MINIX_IFDIR) != GRUB_MINIX_IFDIR) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + goto fail; + } + + while (pos < GRUB_MINIX_INODE_SIZE (data)) + { + grub_uint16_t ino; + char filename[data->filename_size + 1]; + int dirino = data->ino; + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + + + if (grub_minix_read_file (data, 0, pos, sizeof (ino), + (char *) &ino) < 0) + return grub_errno; + + if (grub_minix_read_file (data, 0, pos + sizeof (ino), + data->filename_size, + (char *) filename) < 0) + return grub_errno; + filename[data->filename_size] = '\0'; + + /* The filetype is not stored in the dirent. Read the inode to + find out the filetype. This *REALLY* sucks. */ + grub_minix_read_inode (data, grub_le_to_cpu16 (ino)); + info.dir = ((GRUB_MINIX_INODE_MODE (data) + & GRUB_MINIX_IFDIR) == GRUB_MINIX_IFDIR); + if (hook (filename, &info) ? 1 : 0) + break; + + /* Load the old inode back in. */ + grub_minix_read_inode (data, dirino); + + pos += sizeof (ino) + data->filename_size; + } + + fail: + grub_free (data); + return grub_errno; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_minix_open (struct grub_file *file, const char *name) +{ + struct grub_minix_data *data; + data = grub_minix_mount (file->device->disk); + if (!data) + return grub_errno; + + /* Open the inode op the root directory. */ + grub_minix_read_inode (data, GRUB_MINIX_ROOT_INODE); + if (grub_errno) + { + grub_free (data); + return grub_errno; + } + + if (!name || name[0] != '/') + { + grub_error (GRUB_ERR_BAD_FILENAME, "bad filename"); + return grub_errno; + } + + /* Traverse the directory tree to the node that should be + opened. */ + grub_minix_find_file (data, name); + if (grub_errno) + { + grub_free (data); + return grub_errno; + } + + file->data = data; + file->size = GRUB_MINIX_INODE_SIZE (data); + + return GRUB_ERR_NONE; +} + + +static grub_ssize_t +grub_minix_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_minix_data *data = + (struct grub_minix_data *) file->data; + + return grub_minix_read_file (data, file->read_hook, file->offset, len, buf); +} + + +static grub_err_t +grub_minix_close (grub_file_t file) +{ + grub_free (file->data); + + return GRUB_ERR_NONE; +} + + + +static struct grub_fs grub_minix_fs = + { +#ifdef MODE_MINIX2 + .name = "minix2", +#else + .name = "minix", +#endif + .dir = grub_minix_dir, + .open = grub_minix_open, + .read = grub_minix_read, + .close = grub_minix_close, + .next = 0 + }; + +#ifdef MODE_MINIX2 +GRUB_MOD_INIT(minix2) +#else +GRUB_MOD_INIT(minix) +#endif +{ + grub_fs_register (&grub_minix_fs); + my_mod = mod; +} + +#ifdef MODE_MINIX2 +GRUB_MOD_FINI(minix2) +#else +GRUB_MOD_FINI(minix) +#endif +{ + grub_fs_unregister (&grub_minix_fs); +} diff --git a/grub-core/fs/minix2.c b/grub-core/fs/minix2.c new file mode 100644 index 0000000..0fcd4b1 --- /dev/null +++ b/grub-core/fs/minix2.c @@ -0,0 +1,2 @@ +#define MODE_MINIX2 1 +#include "minix.c" diff --git a/grub-core/fs/nilfs2.c b/grub-core/fs/nilfs2.c new file mode 100644 index 0000000..4c8d763 --- /dev/null +++ b/grub-core/fs/nilfs2.c @@ -0,0 +1,1186 @@ +/* + * nilfs2.c - New Implementation of Log filesystem + * + * Written by Jiro SEKIBA + * + * Copyright (C) 2003,2004,2005,2007,2008,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + + +/* Filetype information as used in inodes. */ +#define FILETYPE_INO_MASK 0170000 +#define FILETYPE_INO_REG 0100000 +#define FILETYPE_INO_DIRECTORY 0040000 +#define FILETYPE_INO_SYMLINK 0120000 + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define NILFS_INODE_BMAP_SIZE 7 + +#define NILFS_SUPORT_REV 2 + +/* Magic value used to identify an nilfs2 filesystem. */ +#define NILFS2_SUPER_MAGIC 0x3434 +/* nilfs btree node flag. */ +#define NILFS_BTREE_NODE_ROOT 0x01 + +/* nilfs btree node level. */ +#define NILFS_BTREE_LEVEL_DATA 0 +#define NILFS_BTREE_LEVEL_NODE_MIN (NILFS_BTREE_LEVEL_DATA + 1) +#define NILFS_BTREE_LEVEL_MAX 14 + +/* nilfs 1st super block posission from beginning of the partition + in 512 block size */ +#define NILFS_1ST_SUPER_BLOCK 2 +/* nilfs 2nd super block posission from beginning of the partition + in 512 block size */ +#define NILFS_2ND_SUPER_BLOCK(devsize) (((devsize >> 3) - 1) << 3) + +struct grub_nilfs2_inode +{ + grub_uint64_t i_blocks; + grub_uint64_t i_size; + grub_uint64_t i_ctime; + grub_uint64_t i_mtime; + grub_uint32_t i_ctime_nsec; + grub_uint32_t i_mtime_nsec; + grub_uint32_t i_uid; + grub_uint32_t i_gid; + grub_uint16_t i_mode; + grub_uint16_t i_links_count; + grub_uint32_t i_flags; + grub_uint64_t i_bmap[NILFS_INODE_BMAP_SIZE]; +#define i_device_code i_bmap[0] + grub_uint64_t i_xattr; + grub_uint32_t i_generation; + grub_uint32_t i_pad; +}; + +struct grub_nilfs2_super_root +{ + grub_uint32_t sr_sum; + grub_uint16_t sr_bytes; + grub_uint16_t sr_flags; + grub_uint64_t sr_nongc_ctime; + struct grub_nilfs2_inode sr_dat; + struct grub_nilfs2_inode sr_cpfile; + struct grub_nilfs2_inode sr_sufile; +}; + +struct grub_nilfs2_super_block +{ + grub_uint32_t s_rev_level; + grub_uint16_t s_minor_rev_level; + grub_uint16_t s_magic; + grub_uint16_t s_bytes; + grub_uint16_t s_flags; + grub_uint32_t s_crc_seed; + grub_uint32_t s_sum; + grub_uint32_t s_log_block_size; + grub_uint64_t s_nsegments; + grub_uint64_t s_dev_size; + grub_uint64_t s_first_data_block; + grub_uint32_t s_blocks_per_segment; + grub_uint32_t s_r_segments_percentage; + grub_uint64_t s_last_cno; + grub_uint64_t s_last_pseg; + grub_uint64_t s_last_seq; + grub_uint64_t s_free_blocks_count; + grub_uint64_t s_ctime; + grub_uint64_t s_mtime; + grub_uint64_t s_wtime; + grub_uint16_t s_mnt_count; + grub_uint16_t s_max_mnt_count; + grub_uint16_t s_state; + grub_uint16_t s_errors; + grub_uint64_t s_lastcheck; + grub_uint32_t s_checkinterval; + grub_uint32_t s_creator_os; + grub_uint16_t s_def_resuid; + grub_uint16_t s_def_resgid; + grub_uint32_t s_first_ino; + grub_uint16_t s_inode_size; + grub_uint16_t s_dat_entry_size; + grub_uint16_t s_checkpoint_size; + grub_uint16_t s_segment_usage_size; + grub_uint8_t s_uuid[16]; + char s_volume_name[16]; + char s_last_mounted[64]; + grub_uint32_t s_c_interval; + grub_uint32_t s_c_block_max; + grub_uint32_t s_reserved[192]; +}; + +struct grub_nilfs2_dir_entry +{ + grub_uint64_t inode; + grub_uint16_t rec_len; + grub_uint8_t name_len; + grub_uint8_t file_type; +#if 0 /* followed by file name. */ + char name[NILFS_NAME_LEN]; + char pad; +#endif +} __attribute__ ((packed)); + +enum +{ + NILFS_FT_UNKNOWN, + NILFS_FT_REG_FILE, + NILFS_FT_DIR, + NILFS_FT_CHRDEV, + NILFS_FT_BLKDEV, + NILFS_FT_FIFO, + NILFS_FT_SOCK, + NILFS_FT_SYMLINK, + NILFS_FT_MAX +}; + +struct grub_nilfs2_finfo +{ + grub_uint64_t fi_ino; + grub_uint64_t fi_cno; + grub_uint32_t fi_nblocks; + grub_uint32_t fi_ndatablk; +}; + +struct grub_nilfs2_binfo_v +{ + grub_uint64_t bi_vblocknr; + grub_uint64_t bi_blkoff; +}; + +struct grub_nilfs2_binfo_dat +{ + grub_uint64_t bi_blkoff; + grub_uint8_t bi_level; + grub_uint8_t bi_pad[7]; +}; + +union grub_nilfs2_binfo +{ + struct grub_nilfs2_binfo_v bi_v; + struct grub_nilfs2_binfo_dat bi_dat; +}; + +struct grub_nilfs2_segment_summary +{ + grub_uint32_t ss_datasum; + grub_uint32_t ss_sumsum; + grub_uint32_t ss_magic; + grub_uint16_t ss_bytes; + grub_uint16_t ss_flags; + grub_uint64_t ss_seq; + grub_uint64_t ss_create; + grub_uint64_t ss_next; + grub_uint32_t ss_nblocks; + grub_uint32_t ss_nfinfo; + grub_uint32_t ss_sumbytes; + grub_uint32_t ss_pad; +}; + +struct grub_nilfs2_btree_node +{ + grub_uint8_t bn_flags; + grub_uint8_t bn_level; + grub_uint16_t bn_nchildren; + grub_uint32_t bn_pad; +}; + +struct grub_nilfs2_palloc_group_desc +{ + grub_uint32_t pg_nfrees; +}; + +struct grub_nilfs2_dat_entry +{ + grub_uint64_t de_blocknr; + grub_uint64_t de_start; + grub_uint64_t de_end; + grub_uint64_t de_rsv; +}; + +struct grub_nilfs2_snapshot_list +{ + grub_uint64_t ssl_next; + grub_uint64_t ssl_prev; +}; + +struct grub_nilfs2_cpfile_header +{ + grub_uint64_t ch_ncheckpoints; + grub_uint64_t ch_nsnapshots; + struct grub_nilfs2_snapshot_list ch_snapshot_list; +}; + +struct grub_nilfs2_checkpoint +{ + grub_uint32_t cp_flags; + grub_uint32_t cp_checkpoints_count; + struct grub_nilfs2_snapshot_list cp_snapshot_list; + grub_uint64_t cp_cno; + grub_uint64_t cp_create; + grub_uint64_t cp_nblk_inc; + grub_uint64_t cp_inodes_count; + grub_uint64_t cp_blocks_count; + struct grub_nilfs2_inode cp_ifile_inode; +}; + + +#define NILFS_BMAP_LARGE 0x1 +#define NILFS_BMAP_SIZE (NILFS_INODE_BMAP_SIZE * sizeof(grub_uint64_t)) + +/* nilfs extra padding for nonroot btree node. */ +#define NILFS_BTREE_NODE_EXTRA_PAD_SIZE (sizeof(grub_uint64_t)) +#define NILFS_BTREE_ROOT_SIZE NILFS_BMAP_SIZE +#define NILFS_BTREE_ROOT_NCHILDREN_MAX \ + ((NILFS_BTREE_ROOT_SIZE - sizeof(struct nilfs_btree_node)) / \ + (sizeof(grub_uint64_t) + sizeof(grub_uint64_t)) ) + + +struct grub_fshelp_node +{ + struct grub_nilfs2_data *data; + struct grub_nilfs2_inode inode; + grub_uint64_t ino; + int inode_read; +}; + +struct grub_nilfs2_data +{ + struct grub_nilfs2_super_block sblock; + struct grub_nilfs2_super_root sroot; + struct grub_nilfs2_inode ifile; + grub_disk_t disk; + struct grub_nilfs2_inode *inode; + struct grub_fshelp_node diropen; +}; + +/* Log2 size of nilfs2 block in 512 blocks. */ +#define LOG2_NILFS2_BLOCK_SIZE(data) \ + (grub_le_to_cpu32 (data->sblock.s_log_block_size) + 1) + +/* Log2 size of nilfs2 block in bytes. */ +#define LOG2_BLOCK_SIZE(data) \ + (grub_le_to_cpu32 (data->sblock.s_log_block_size) + 10) + +/* The size of an nilfs2 block in bytes. */ +#define NILFS2_BLOCK_SIZE(data) (1 << LOG2_BLOCK_SIZE (data)) + +static grub_uint64_t +grub_nilfs2_dat_translate (struct grub_nilfs2_data *data, grub_uint64_t key); +static grub_dl_t my_mod; + + + +static inline unsigned long +grub_nilfs2_palloc_entries_per_group (struct grub_nilfs2_data *data) +{ + return 1UL << (LOG2_BLOCK_SIZE (data) + 3); +} + +static inline grub_uint64_t +grub_nilfs2_palloc_group (struct grub_nilfs2_data *data, + grub_uint64_t nr, grub_uint32_t * offset) +{ + return grub_divmod64 (nr, grub_nilfs2_palloc_entries_per_group (data), + offset); +} + +static inline grub_uint32_t +grub_nilfs2_palloc_groups_per_desc_block (struct grub_nilfs2_data *data) +{ + return NILFS2_BLOCK_SIZE (data) / + sizeof (struct grub_nilfs2_palloc_group_desc); +} + +static inline grub_uint32_t +grub_nilfs2_entries_per_block (struct grub_nilfs2_data *data, + unsigned long entry_size) +{ + return NILFS2_BLOCK_SIZE (data) / entry_size; +} + + +static inline grub_uint32_t +grub_nilfs2_blocks_per_group (struct grub_nilfs2_data *data, + unsigned long entry_size) +{ + return grub_div_roundup (grub_nilfs2_palloc_entries_per_group (data), + grub_nilfs2_entries_per_block (data, + entry_size)) + 1; +} + +static inline grub_uint32_t +grub_nilfs2_blocks_per_desc_block (struct grub_nilfs2_data *data, + unsigned long entry_size) +{ + return grub_nilfs2_palloc_groups_per_desc_block (data) * + grub_nilfs2_blocks_per_group (data, entry_size) + 1; +} + +static inline grub_uint32_t +grub_nilfs2_palloc_desc_block_offset (struct grub_nilfs2_data *data, + unsigned long group, + unsigned long entry_size) +{ + grub_uint32_t desc_block = + group / grub_nilfs2_palloc_groups_per_desc_block (data); + return desc_block * grub_nilfs2_blocks_per_desc_block (data, entry_size); +} + +static inline grub_uint32_t +grub_nilfs2_palloc_bitmap_block_offset (struct grub_nilfs2_data *data, + unsigned long group, + unsigned long entry_size) +{ + unsigned long desc_offset = group % + grub_nilfs2_palloc_groups_per_desc_block (data); + + return grub_nilfs2_palloc_desc_block_offset (data, group, entry_size) + 1 + + desc_offset * grub_nilfs2_blocks_per_group (data, entry_size); +} + +static inline grub_uint32_t +grub_nilfs2_palloc_entry_offset (struct grub_nilfs2_data *data, + grub_uint64_t nr, unsigned long entry_size) +{ + unsigned long group; + grub_uint32_t group_offset; + + group = grub_nilfs2_palloc_group (data, nr, &group_offset); + + return grub_nilfs2_palloc_bitmap_block_offset (data, group, + entry_size) + 1 + + group_offset / grub_nilfs2_entries_per_block (data, entry_size); + +} + +static inline struct grub_nilfs2_btree_node * +grub_nilfs2_btree_get_root (struct grub_nilfs2_inode *inode) +{ + return (struct grub_nilfs2_btree_node *) &inode->i_bmap[0]; +} + +static inline int +grub_nilfs2_btree_get_level (struct grub_nilfs2_btree_node *node) +{ + return node->bn_level; +} + +static inline grub_uint64_t * +grub_nilfs2_btree_node_dkeys (struct grub_nilfs2_btree_node *node) +{ + return (grub_uint64_t *) ((char *) (node + 1) + + ((node->bn_flags & NILFS_BTREE_NODE_ROOT) ? + 0 : NILFS_BTREE_NODE_EXTRA_PAD_SIZE)); +} + +static inline grub_uint64_t +grub_nilfs2_btree_node_get_key (struct grub_nilfs2_btree_node *node, + int index) +{ + return grub_le_to_cpu64 (*(grub_nilfs2_btree_node_dkeys (node) + index)); +} + +static inline int +grub_nilfs2_btree_node_lookup (struct grub_nilfs2_btree_node *node, + grub_uint64_t key, int *indexp) +{ + grub_uint64_t nkey; + int index, low, high, s; + + low = 0; + high = grub_le_to_cpu16 (node->bn_nchildren) - 1; + index = 0; + s = 0; + while (low <= high) + { + index = (low + high) / 2; + nkey = grub_nilfs2_btree_node_get_key (node, index); + if (nkey == key) + { + *indexp = index; + return 1; + } + else if (nkey < key) + { + low = index + 1; + s = -1; + } + else + { + high = index - 1; + s = 1; + } + } + + if (node->bn_level > NILFS_BTREE_LEVEL_NODE_MIN) + { + if (s > 0 && index > 0) + index--; + } + else if (s < 0) + index++; + + *indexp = index; + return s == 0; +} + +static inline int +grub_nilfs2_btree_node_nchildren_max (struct grub_nilfs2_data *data, + struct grub_nilfs2_btree_node *node) +{ + int node_children_max = ((NILFS2_BLOCK_SIZE (data) - + sizeof (struct grub_nilfs2_btree_node) - + NILFS_BTREE_NODE_EXTRA_PAD_SIZE) / + (sizeof (grub_uint64_t) + sizeof (grub_uint64_t))); + + return (node->bn_flags & NILFS_BTREE_NODE_ROOT) ? 3 : node_children_max; +} + +static inline grub_uint64_t * +grub_nilfs2_btree_node_dptrs (struct grub_nilfs2_data *data, + struct grub_nilfs2_btree_node *node) +{ + return (grub_uint64_t *) (grub_nilfs2_btree_node_dkeys (node) + + grub_nilfs2_btree_node_nchildren_max (data, + node)); +} + +static inline grub_uint64_t +grub_nilfs2_btree_node_get_ptr (struct grub_nilfs2_data *data, + struct grub_nilfs2_btree_node *node, + int index) +{ + return + grub_le_to_cpu64 (*(grub_nilfs2_btree_node_dptrs (data, node) + index)); +} + +static inline int +grub_nilfs2_btree_get_nonroot_node (struct grub_nilfs2_data *data, + grub_uint64_t ptr, void *block) +{ + grub_disk_t disk = data->disk; + unsigned int nilfs2_block_count = (1 << LOG2_NILFS2_BLOCK_SIZE (data)); + + return grub_disk_read (disk, ptr * nilfs2_block_count, 0, + NILFS2_BLOCK_SIZE (data), block); +} + +static grub_uint64_t +grub_nilfs2_btree_lookup (struct grub_nilfs2_data *data, + struct grub_nilfs2_inode *inode, + grub_uint64_t key, int need_translate) +{ + struct grub_nilfs2_btree_node *node; + unsigned char block[NILFS2_BLOCK_SIZE (data)]; + grub_uint64_t ptr; + int level, found, index; + + node = grub_nilfs2_btree_get_root (inode); + level = grub_nilfs2_btree_get_level (node); + + found = grub_nilfs2_btree_node_lookup (node, key, &index); + ptr = grub_nilfs2_btree_node_get_ptr (data, node, index); + if (need_translate) + ptr = grub_nilfs2_dat_translate (data, ptr); + + for (level--; level >= NILFS_BTREE_LEVEL_NODE_MIN; level--) + { + grub_nilfs2_btree_get_nonroot_node (data, ptr, block); + if (grub_errno) + { + return -1; + } + node = (struct grub_nilfs2_btree_node *) block; + + if (node->bn_level != level) + { + grub_error (GRUB_ERR_BAD_FS, "btree level mismatch\n"); + return -1; + } + + if (!found) + found = grub_nilfs2_btree_node_lookup (node, key, &index); + else + index = 0; + + if (index < grub_nilfs2_btree_node_nchildren_max (data, node)) + { + ptr = grub_nilfs2_btree_node_get_ptr (data, node, index); + if (need_translate) + ptr = grub_nilfs2_dat_translate (data, ptr); + } + else + { + grub_error (GRUB_ERR_BAD_FS, "btree corruption\n"); + return -1; + } + } + + if (!found) + return -1; + + return ptr; +} + +static inline grub_uint64_t +grub_nilfs2_direct_lookup (struct grub_nilfs2_inode *inode, grub_uint64_t key) +{ + return grub_le_to_cpu64 (inode->i_bmap[1 + key]); +} + +static inline grub_uint64_t +grub_nilfs2_bmap_lookup (struct grub_nilfs2_data *data, + struct grub_nilfs2_inode *inode, + grub_uint64_t key, int need_translate) +{ + struct grub_nilfs2_btree_node *root = grub_nilfs2_btree_get_root (inode); + if (root->bn_flags & NILFS_BMAP_LARGE) + return grub_nilfs2_btree_lookup (data, inode, key, need_translate); + else + { + grub_uint64_t ptr; + ptr = grub_nilfs2_direct_lookup (inode, key); + if (need_translate) + ptr = grub_nilfs2_dat_translate (data, ptr); + return ptr; + } +} + +static grub_uint64_t +grub_nilfs2_dat_translate (struct grub_nilfs2_data *data, grub_uint64_t key) +{ + struct grub_nilfs2_dat_entry entry; + grub_disk_t disk = data->disk; + grub_uint64_t pptr; + grub_uint32_t blockno, offset; + unsigned int nilfs2_block_count = (1 << LOG2_NILFS2_BLOCK_SIZE (data)); + + blockno = grub_nilfs2_palloc_entry_offset (data, key, + sizeof (struct + grub_nilfs2_dat_entry)); + + grub_divmod64 (key * sizeof (struct grub_nilfs2_dat_entry), + NILFS2_BLOCK_SIZE (data), &offset); + + pptr = grub_nilfs2_bmap_lookup (data, &data->sroot.sr_dat, blockno, 0); + if (pptr == (grub_uint64_t) - 1) + { + grub_error (GRUB_ERR_BAD_FS, "btree lookup failure"); + return -1; + } + + grub_disk_read (disk, pptr * nilfs2_block_count, offset, + sizeof (struct grub_nilfs2_dat_entry), &entry); + + return grub_le_to_cpu64 (entry.de_blocknr); +} + + +static grub_disk_addr_t +grub_nilfs2_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + struct grub_nilfs2_data *data = node->data; + struct grub_nilfs2_inode *inode = &node->inode; + grub_uint64_t pptr = -1; + + pptr = grub_nilfs2_bmap_lookup (data, inode, fileblock, 1); + if (pptr == (grub_uint64_t) - 1) + { + grub_error (GRUB_ERR_BAD_FS, "btree lookup failure"); + return -1; + } + + return pptr; +} + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_nilfs2_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t + sector, + unsigned offset, + unsigned length), + int pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_nilfs2_read_block, + grub_le_to_cpu64 (node->inode.i_size), + LOG2_NILFS2_BLOCK_SIZE (node->data)); + +} + +static grub_err_t +grub_nilfs2_read_checkpoint (struct grub_nilfs2_data *data, + grub_uint64_t cpno, + struct grub_nilfs2_checkpoint *cpp) +{ + grub_uint64_t blockno; + grub_uint32_t offset; + grub_uint64_t pptr; + grub_disk_t disk = data->disk; + unsigned int nilfs2_block_count = (1 << LOG2_NILFS2_BLOCK_SIZE (data)); + + /* Assume sizeof(struct grub_nilfs2_cpfile_header) < + sizeof(struct grub_nilfs2_checkpoint). + */ + blockno = grub_divmod64 (cpno, NILFS2_BLOCK_SIZE (data) / + sizeof (struct grub_nilfs2_checkpoint), &offset); + + pptr = grub_nilfs2_bmap_lookup (data, &data->sroot.sr_cpfile, blockno, 1); + if (pptr == (grub_uint64_t) - 1) + { + return grub_error (GRUB_ERR_BAD_FS, "btree lookup failure"); + } + + return grub_disk_read (disk, pptr * nilfs2_block_count, + offset * sizeof (struct grub_nilfs2_checkpoint), + sizeof (struct grub_nilfs2_checkpoint), cpp); +} + +static inline grub_err_t +grub_nilfs2_read_last_checkpoint (struct grub_nilfs2_data *data, + struct grub_nilfs2_checkpoint *cpp) +{ + return grub_nilfs2_read_checkpoint (data, + grub_le_to_cpu64 (data-> + sblock.s_last_cno), + cpp); +} + +/* Read the inode INO for the file described by DATA into INODE. */ +static grub_err_t +grub_nilfs2_read_inode (struct grub_nilfs2_data *data, + grub_uint64_t ino, struct grub_nilfs2_inode *inodep) +{ + grub_uint64_t blockno; + unsigned int offset; + grub_uint64_t pptr; + grub_disk_t disk = data->disk; + unsigned int nilfs2_block_count = (1 << LOG2_NILFS2_BLOCK_SIZE (data)); + + blockno = grub_nilfs2_palloc_entry_offset (data, ino, + sizeof (struct + grub_nilfs2_inode)); + + grub_divmod64 (sizeof (struct grub_nilfs2_inode) * ino, + NILFS2_BLOCK_SIZE (data), &offset); + pptr = grub_nilfs2_bmap_lookup (data, &data->ifile, blockno, 1); + if (pptr == (grub_uint64_t) - 1) + { + return grub_error (GRUB_ERR_BAD_FS, "btree lookup failure"); + } + + return grub_disk_read (disk, pptr * nilfs2_block_count, offset, + sizeof (struct grub_nilfs2_inode), inodep); +} + +static int +grub_nilfs2_valid_sb (struct grub_nilfs2_super_block *sbp) +{ + if (grub_le_to_cpu16 (sbp->s_magic) != NILFS2_SUPER_MAGIC) + return 0; + + if (grub_le_to_cpu32 (sbp->s_rev_level) != NILFS_SUPORT_REV) + return 0; + + return 1; +} + +static grub_err_t +grub_nilfs2_load_sb (struct grub_nilfs2_data *data) +{ + grub_disk_t disk = data->disk; + struct grub_nilfs2_super_block sb2; + grub_uint64_t partition_size; + int valid[2]; + int swp = 0; + grub_err_t err; + + /* Read first super block. */ + err = grub_disk_read (disk, NILFS_1ST_SUPER_BLOCK, 0, + sizeof (struct grub_nilfs2_super_block), &data->sblock); + if (err) + return err; + /* Make sure if 1st super block is valid. */ + valid[0] = grub_nilfs2_valid_sb (&data->sblock); + + partition_size = grub_disk_get_size (disk); + if (partition_size != GRUB_DISK_SIZE_UNKNOWN) + { + /* Read second super block. */ + err = grub_disk_read (disk, NILFS_2ND_SUPER_BLOCK (partition_size), 0, + sizeof (struct grub_nilfs2_super_block), &sb2); + if (err) + { + valid[1] = 0; + grub_errno = GRUB_ERR_NONE; + } + else + /* Make sure if 2nd super block is valid. */ + valid[1] = grub_nilfs2_valid_sb (&sb2); + } + else + /* 2nd super block may not exist, so it's invalid. */ + valid[1] = 0; + + if (!valid[0] && !valid[1]) + return grub_error (GRUB_ERR_BAD_FS, "not a nilfs2 filesystem"); + + swp = valid[1] && (!valid[0] || + grub_le_to_cpu64 (data->sblock.s_last_cno) < + grub_le_to_cpu64 (sb2.s_last_cno)); + + /* swap if first super block is invalid or older than second one. */ + if (swp) + grub_memcpy (&data->sblock, &sb2, + sizeof (struct grub_nilfs2_super_block)); + + return GRUB_ERR_NONE; +} + +static struct grub_nilfs2_data * +grub_nilfs2_mount (grub_disk_t disk) +{ + struct grub_nilfs2_data *data; + struct grub_nilfs2_segment_summary ss; + struct grub_nilfs2_checkpoint last_checkpoint; + grub_uint64_t last_pseg; + grub_uint32_t nblocks; + unsigned int nilfs2_block_count; + + data = grub_malloc (sizeof (struct grub_nilfs2_data)); + if (!data) + return 0; + + data->disk = disk; + + /* Read the superblock. */ + grub_nilfs2_load_sb (data); + if (grub_errno) + goto fail; + + nilfs2_block_count = (1 << LOG2_NILFS2_BLOCK_SIZE (data)); + + /* Read the last segment summary. */ + last_pseg = grub_le_to_cpu64 (data->sblock.s_last_pseg); + grub_disk_read (disk, last_pseg * nilfs2_block_count, 0, + sizeof (struct grub_nilfs2_segment_summary), &ss); + + if (grub_errno) + goto fail; + + /* Read the super root block. */ + nblocks = grub_le_to_cpu32 (ss.ss_nblocks); + grub_disk_read (disk, (last_pseg + (nblocks - 1)) * nilfs2_block_count, 0, + sizeof (struct grub_nilfs2_super_root), &data->sroot); + + if (grub_errno) + goto fail; + + grub_nilfs2_read_last_checkpoint (data, &last_checkpoint); + + if (grub_errno) + goto fail; + + grub_memcpy (&data->ifile, &last_checkpoint.cp_ifile_inode, + sizeof (struct grub_nilfs2_inode)); + + data->diropen.data = data; + data->diropen.ino = 2; + data->diropen.inode_read = 1; + data->inode = &data->diropen.inode; + + grub_nilfs2_read_inode (data, 2, data->inode); + + return data; + +fail: + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not a nilfs2 filesystem"); + + grub_free (data); + return 0; +} + +static char * +grub_nilfs2_read_symlink (grub_fshelp_node_t node) +{ + char *symlink; + struct grub_fshelp_node *diro = node; + + if (!diro->inode_read) + { + grub_nilfs2_read_inode (diro->data, diro->ino, &diro->inode); + if (grub_errno) + return 0; + } + + symlink = grub_malloc (grub_le_to_cpu64 (diro->inode.i_size) + 1); + if (!symlink) + return 0; + + grub_nilfs2_read_file (diro, 0, 0, + grub_le_to_cpu64 (diro->inode.i_size), symlink); + if (grub_errno) + { + grub_free (symlink); + return 0; + } + + symlink[grub_le_to_cpu64 (diro->inode.i_size)] = '\0'; + return symlink; +} + +static int +grub_nilfs2_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + unsigned int fpos = 0; + struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir; + + if (!diro->inode_read) + { + grub_nilfs2_read_inode (diro->data, diro->ino, &diro->inode); + if (grub_errno) + return 0; + } + + /* Iterate files. */ + while (fpos < grub_le_to_cpu64 (diro->inode.i_size)) + { + struct grub_nilfs2_dir_entry dirent; + + grub_nilfs2_read_file (diro, 0, fpos, + sizeof (struct grub_nilfs2_dir_entry), + (char *) &dirent); + if (grub_errno) + return 0; + + if (dirent.rec_len == 0) + return 0; + + if (dirent.name_len != 0) + { + char filename[dirent.name_len + 1]; + struct grub_fshelp_node *fdiro; + enum grub_fshelp_filetype type = GRUB_FSHELP_UNKNOWN; + + grub_nilfs2_read_file (diro, 0, + fpos + sizeof (struct grub_nilfs2_dir_entry), + dirent.name_len, filename); + if (grub_errno) + return 0; + + fdiro = grub_malloc (sizeof (struct grub_fshelp_node)); + if (!fdiro) + return 0; + + fdiro->data = diro->data; + fdiro->ino = grub_le_to_cpu64 (dirent.inode); + + filename[dirent.name_len] = '\0'; + + if (dirent.file_type != NILFS_FT_UNKNOWN) + { + fdiro->inode_read = 0; + + if (dirent.file_type == NILFS_FT_DIR) + type = GRUB_FSHELP_DIR; + else if (dirent.file_type == NILFS_FT_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else if (dirent.file_type == NILFS_FT_REG_FILE) + type = GRUB_FSHELP_REG; + } + else + { + /* The filetype can not be read from the dirent, read + the inode to get more information. */ + grub_nilfs2_read_inode (diro->data, + grub_le_to_cpu64 (dirent.inode), + &fdiro->inode); + if (grub_errno) + { + grub_free (fdiro); + return 0; + } + + fdiro->inode_read = 1; + + if ((grub_le_to_cpu16 (fdiro->inode.i_mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_DIRECTORY) + type = GRUB_FSHELP_DIR; + else if ((grub_le_to_cpu16 (fdiro->inode.i_mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else if ((grub_le_to_cpu16 (fdiro->inode.i_mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_REG) + type = GRUB_FSHELP_REG; + } + + if (hook (filename, type, fdiro)) + return 1; + } + + fpos += grub_le_to_cpu16 (dirent.rec_len); + } + + return 0; +} + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_nilfs2_open (struct grub_file *file, const char *name) +{ + struct grub_nilfs2_data *data = NULL; + struct grub_fshelp_node *fdiro = 0; + + grub_dl_ref (my_mod); + + data = grub_nilfs2_mount (file->device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (name, &data->diropen, &fdiro, + grub_nilfs2_iterate_dir, grub_nilfs2_read_symlink, + GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + + if (!fdiro->inode_read) + { + grub_nilfs2_read_inode (data, fdiro->ino, &fdiro->inode); + if (grub_errno) + goto fail; + } + + grub_memcpy (data->inode, &fdiro->inode, sizeof (struct grub_nilfs2_inode)); + grub_free (fdiro); + + file->size = grub_le_to_cpu64 (data->inode->i_size); + file->data = data; + file->offset = 0; + + return 0; + +fail: + if (fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_nilfs2_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + +/* Read LEN bytes data from FILE into BUF. */ +static grub_ssize_t +grub_nilfs2_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_nilfs2_data *data = (struct grub_nilfs2_data *) file->data; + + return grub_nilfs2_read_file (&data->diropen, file->read_hook, + file->offset, len, buf); +} + +static grub_err_t +grub_nilfs2_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info * info)) +{ + struct grub_nilfs2_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + if (!node->inode_read) + { + grub_nilfs2_read_inode (data, node->ino, &node->inode); + if (!grub_errno) + node->inode_read = 1; + grub_errno = GRUB_ERR_NONE; + } + if (node->inode_read) + { + info.mtimeset = 1; + info.mtime = grub_le_to_cpu64 (node->inode.i_mtime); + } + + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_nilfs2_mount (device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (path, &data->diropen, &fdiro, + grub_nilfs2_iterate_dir, grub_nilfs2_read_symlink, + GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + grub_nilfs2_iterate_dir (fdiro, iterate); + +fail: + if (fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_nilfs2_label (grub_device_t device, char **label) +{ + struct grub_nilfs2_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_nilfs2_mount (disk); + if (data) + *label = grub_strndup (data->sblock.s_volume_name, 14); + else + *label = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static grub_err_t +grub_nilfs2_uuid (grub_device_t device, char **uuid) +{ + struct grub_nilfs2_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_nilfs2_mount (disk); + if (data) + { + *uuid = + grub_xasprintf + ("%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%0x-%02x%02x%02x%02x%02x%02x", + data->sblock.s_uuid[0], data->sblock.s_uuid[1], + data->sblock.s_uuid[2], data->sblock.s_uuid[3], + data->sblock.s_uuid[4], data->sblock.s_uuid[5], + data->sblock.s_uuid[6], data->sblock.s_uuid[7], + data->sblock.s_uuid[8], data->sblock.s_uuid[9], + data->sblock.s_uuid[10], data->sblock.s_uuid[11], + data->sblock.s_uuid[12], data->sblock.s_uuid[13], + data->sblock.s_uuid[14], data->sblock.s_uuid[15]); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +/* Get mtime. */ +static grub_err_t +grub_nilfs2_mtime (grub_device_t device, grub_int32_t * tm) +{ + struct grub_nilfs2_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_nilfs2_mount (disk); + if (!data) + *tm = 0; + else + *tm = (grub_int32_t) grub_le_to_cpu64 (data->sblock.s_mtime); + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + + +static struct grub_fs grub_nilfs2_fs = { + .name = "nilfs2", + .dir = grub_nilfs2_dir, + .open = grub_nilfs2_open, + .read = grub_nilfs2_read, + .close = grub_nilfs2_close, + .label = grub_nilfs2_label, + .uuid = grub_nilfs2_uuid, + .mtime = grub_nilfs2_mtime, +#ifdef GRUB_UTIL + .reserved_first_sector = 1, +#endif + .next = 0 +}; + +GRUB_MOD_INIT (nilfs2) +{ + grub_fs_register (&grub_nilfs2_fs); + my_mod = mod; +} + +GRUB_MOD_FINI (nilfs2) +{ + grub_fs_unregister (&grub_nilfs2_fs); +} diff --git a/grub-core/fs/ntfs.c b/grub-core/fs/ntfs.c new file mode 100644 index 0000000..e01ce34 --- /dev/null +++ b/grub-core/fs/ntfs.c @@ -0,0 +1,1117 @@ +/* ntfs.c - NTFS filesystem */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008,2009 Free Software Foundation, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_dl_t my_mod; + +ntfscomp_func_t grub_ntfscomp_func; + +static grub_err_t +fixup (struct grub_ntfs_data *data, char *buf, int len, char *magic) +{ + int ss; + char *pu; + grub_uint16_t us; + + if (grub_memcmp (buf, magic, 4)) + return grub_error (GRUB_ERR_BAD_FS, "%s label not found", magic); + + ss = u16at (buf, 6) - 1; + if (ss * (int) data->blocksize != len * GRUB_DISK_SECTOR_SIZE) + return grub_error (GRUB_ERR_BAD_FS, "size not match", + ss * (int) data->blocksize, + len * GRUB_DISK_SECTOR_SIZE); + pu = buf + u16at (buf, 4); + us = u16at (pu, 0); + buf -= 2; + while (ss > 0) + { + buf += data->blocksize; + pu += 2; + if (u16at (buf, 0) != us) + return grub_error (GRUB_ERR_BAD_FS, "fixup signature not match"); + v16at (buf, 0) = v16at (pu, 0); + ss--; + } + + return 0; +} + +static grub_err_t read_mft (struct grub_ntfs_data *data, char *buf, + grub_uint32_t mftno); +static grub_err_t read_attr (struct grub_ntfs_attr *at, char *dest, + grub_disk_addr_t ofs, grub_size_t len, + int cached, + void + NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t + sector, + unsigned offset, + unsigned length)); + +static grub_err_t read_data (struct grub_ntfs_attr *at, char *pa, char *dest, + grub_disk_addr_t ofs, grub_size_t len, + int cached, + void + NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t + sector, + unsigned offset, + unsigned length)); + +static void +init_attr (struct grub_ntfs_attr *at, struct grub_ntfs_file *mft) +{ + at->mft = mft; + at->flags = (mft == &mft->data->mmft) ? AF_MMFT : 0; + at->attr_nxt = mft->buf + u16at (mft->buf, 0x14); + at->attr_end = at->emft_buf = at->edat_buf = at->sbuf = NULL; +} + +static void +free_attr (struct grub_ntfs_attr *at) +{ + grub_free (at->emft_buf); + grub_free (at->edat_buf); + grub_free (at->sbuf); +} + +static char * +find_attr (struct grub_ntfs_attr *at, unsigned char attr) +{ + if (at->flags & AF_ALST) + { + retry: + while (at->attr_nxt < at->attr_end) + { + at->attr_cur = at->attr_nxt; + at->attr_nxt += u16at (at->attr_cur, 4); + if (((unsigned char) *at->attr_cur == attr) || (attr == 0)) + { + char *new_pos; + + if (at->flags & AF_MMFT) + { + if ((grub_disk_read + (at->mft->data->disk, v32at (at->attr_cur, 0x10), 0, + 512, at->emft_buf)) + || + (grub_disk_read + (at->mft->data->disk, v32at (at->attr_cur, 0x14), 0, + 512, at->emft_buf + 512))) + return NULL; + + if (fixup + (at->mft->data, at->emft_buf, at->mft->data->mft_size, + "FILE")) + return NULL; + } + else + { + if (read_mft (at->mft->data, at->emft_buf, + u32at (at->attr_cur, 0x10))) + return NULL; + } + + new_pos = &at->emft_buf[u16at (at->emft_buf, 0x14)]; + while ((unsigned char) *new_pos != 0xFF) + { + if (((unsigned char) *new_pos == + (unsigned char) *at->attr_cur) + && (u16at (new_pos, 0xE) == u16at (at->attr_cur, 0x18))) + { + return new_pos; + } + new_pos += u16at (new_pos, 4); + } + grub_error (GRUB_ERR_BAD_FS, + "can\'t find 0x%X in attribute list", + (unsigned char) *at->attr_cur); + return NULL; + } + } + return NULL; + } + at->attr_cur = at->attr_nxt; + while ((unsigned char) *at->attr_cur != 0xFF) + { + at->attr_nxt += u16at (at->attr_cur, 4); + if ((unsigned char) *at->attr_cur == AT_ATTRIBUTE_LIST) + at->attr_end = at->attr_cur; + if (((unsigned char) *at->attr_cur == attr) || (attr == 0)) + return at->attr_cur; + at->attr_cur = at->attr_nxt; + } + if (at->attr_end) + { + char *pa; + + at->emft_buf = grub_malloc (at->mft->data->mft_size << BLK_SHR); + if (at->emft_buf == NULL) + return NULL; + + pa = at->attr_end; + if (pa[8]) + { + int n; + + n = ((u32at (pa, 0x30) + GRUB_DISK_SECTOR_SIZE - 1) + & (~(GRUB_DISK_SECTOR_SIZE - 1))); + at->attr_cur = at->attr_end; + at->edat_buf = grub_malloc (n); + if (!at->edat_buf) + return NULL; + if (read_data (at, pa, at->edat_buf, 0, n, 0, 0)) + { + grub_error (GRUB_ERR_BAD_FS, + "fail to read non-resident attribute list"); + return NULL; + } + at->attr_nxt = at->edat_buf; + at->attr_end = at->edat_buf + u32at (pa, 0x30); + } + else + { + at->attr_nxt = at->attr_end + u16at (pa, 0x14); + at->attr_end = at->attr_end + u32at (pa, 4); + } + at->flags |= AF_ALST; + while (at->attr_nxt < at->attr_end) + { + if (((unsigned char) *at->attr_nxt == attr) || (attr == 0)) + break; + at->attr_nxt += u16at (at->attr_nxt, 4); + } + if (at->attr_nxt >= at->attr_end) + return NULL; + + if ((at->flags & AF_MMFT) && (attr == AT_DATA)) + { + at->flags |= AF_GPOS; + at->attr_cur = at->attr_nxt; + pa = at->attr_cur; + v32at (pa, 0x10) = at->mft->data->mft_start; + v32at (pa, 0x14) = at->mft->data->mft_start + 1; + pa = at->attr_nxt + u16at (pa, 4); + while (pa < at->attr_end) + { + if ((unsigned char) *pa != attr) + break; + if (read_attr + (at, pa + 0x10, + u32at (pa, 0x10) * (at->mft->data->mft_size << BLK_SHR), + at->mft->data->mft_size << BLK_SHR, 0, 0)) + return NULL; + pa += u16at (pa, 4); + } + at->attr_nxt = at->attr_cur; + at->flags &= ~AF_GPOS; + } + goto retry; + } + return NULL; +} + +static char * +locate_attr (struct grub_ntfs_attr *at, struct grub_ntfs_file *mft, + unsigned char attr) +{ + char *pa; + + init_attr (at, mft); + if ((pa = find_attr (at, attr)) == NULL) + return NULL; + if ((at->flags & AF_ALST) == 0) + { + while (1) + { + if ((pa = find_attr (at, attr)) == NULL) + break; + if (at->flags & AF_ALST) + return pa; + } + grub_errno = GRUB_ERR_NONE; + free_attr (at); + init_attr (at, mft); + pa = find_attr (at, attr); + } + return pa; +} + +static char * +read_run_data (char *run, int nn, grub_disk_addr_t * val, int sig) +{ + grub_disk_addr_t r, v; + + r = 0; + v = 1; + + while (nn--) + { + r += v * (*(unsigned char *) (run++)); + v <<= 8; + } + + if ((sig) && (r & (v >> 1))) + r -= v; + + *val = r; + return run; +} + +grub_err_t +grub_ntfs_read_run_list (struct grub_ntfs_rlst * ctx) +{ + int c1, c2; + grub_disk_addr_t val; + char *run; + + run = ctx->cur_run; +retry: + c1 = ((unsigned char) (*run) & 0xF); + c2 = ((unsigned char) (*run) >> 4); + if (!c1) + { + if ((ctx->attr) && (ctx->attr->flags & AF_ALST)) + { + void NESTED_FUNC_ATTR (*save_hook) (grub_disk_addr_t sector, + unsigned offset, + unsigned length); + + save_hook = ctx->comp.disk->read_hook; + ctx->comp.disk->read_hook = 0; + run = find_attr (ctx->attr, (unsigned char) *ctx->attr->attr_cur); + ctx->comp.disk->read_hook = save_hook; + if (run) + { + if (run[8] == 0) + return grub_error (GRUB_ERR_BAD_FS, + "$DATA should be non-resident"); + + run += u16at (run, 0x20); + ctx->curr_lcn = 0; + goto retry; + } + } + return grub_error (GRUB_ERR_BAD_FS, "run list overflown"); + } + run = read_run_data (run + 1, c1, &val, 0); /* length of current VCN */ + ctx->curr_vcn = ctx->next_vcn; + ctx->next_vcn += val; + run = read_run_data (run, c2, &val, 1); /* offset to previous LCN */ + ctx->curr_lcn += val; + if (val == 0) + ctx->flags |= RF_BLNK; + else + ctx->flags &= ~RF_BLNK; + ctx->cur_run = run; + return 0; +} + +static grub_disk_addr_t +grub_ntfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t block) +{ + struct grub_ntfs_rlst *ctx; + + ctx = (struct grub_ntfs_rlst *) node; + if (block >= ctx->next_vcn) + { + if (grub_ntfs_read_run_list (ctx)) + return -1; + return ctx->curr_lcn; + } + else + return (ctx->flags & RF_BLNK) ? 0 : (block - + ctx->curr_vcn + ctx->curr_lcn); +} + +static grub_err_t +read_data (struct grub_ntfs_attr *at, char *pa, char *dest, + grub_disk_addr_t ofs, grub_size_t len, int cached, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, + unsigned length)) +{ + grub_disk_addr_t vcn; + struct grub_ntfs_rlst cc, *ctx; + + if (len == 0) + return 0; + + grub_memset (&cc, 0, sizeof (cc)); + ctx = &cc; + ctx->attr = at; + ctx->comp.spc = at->mft->data->spc; + ctx->comp.disk = at->mft->data->disk; + + if (pa[8] == 0) + { + if (ofs + len > u32at (pa, 0x10)) + return grub_error (GRUB_ERR_BAD_FS, "read out of range"); + grub_memcpy (dest, pa + u32at (pa, 0x14) + ofs, len); + return 0; + } + + if (u16at (pa, 0xC) & FLAG_COMPRESSED) + ctx->flags |= RF_COMP; + else + ctx->flags &= ~RF_COMP; + ctx->cur_run = pa + u16at (pa, 0x20); + + if (ctx->flags & RF_COMP) + { + if (!cached) + return grub_error (GRUB_ERR_BAD_FS, "attribute can\'t be compressed"); + + if (at->sbuf) + { + if ((ofs & (~(COM_LEN - 1))) == at->save_pos) + { + grub_disk_addr_t n; + + n = COM_LEN - (ofs - at->save_pos); + if (n > len) + n = len; + + grub_memcpy (dest, at->sbuf + ofs - at->save_pos, n); + if (n == len) + return 0; + + dest += n; + len -= n; + ofs += n; + } + } + else + { + at->sbuf = grub_malloc (COM_LEN); + if (at->sbuf == NULL) + return grub_errno; + at->save_pos = 1; + } + + vcn = ctx->target_vcn = (ofs >> COM_LOG_LEN) * (COM_SEC / ctx->comp.spc); + ctx->target_vcn &= ~0xF; + } + else + vcn = ctx->target_vcn = grub_divmod64 (ofs >> BLK_SHR, ctx->comp.spc, 0); + + ctx->next_vcn = u32at (pa, 0x10); + ctx->curr_lcn = 0; + while (ctx->next_vcn <= ctx->target_vcn) + { + if (grub_ntfs_read_run_list (ctx)) + return grub_errno; + } + + if (at->flags & AF_GPOS) + { + grub_disk_addr_t st0, st1; + grub_uint32_t m; + + grub_divmod64 (ofs >> BLK_SHR, ctx->comp.spc, &m); + + st0 = + (ctx->target_vcn - ctx->curr_vcn + ctx->curr_lcn) * ctx->comp.spc + m; + st1 = st0 + 1; + if (st1 == + (ctx->next_vcn - ctx->curr_vcn + ctx->curr_lcn) * ctx->comp.spc) + { + if (grub_ntfs_read_run_list (ctx)) + return grub_errno; + st1 = ctx->curr_lcn * ctx->comp.spc; + } + v32at (dest, 0) = st0; + v32at (dest, 4) = st1; + return 0; + } + + if (!(ctx->flags & RF_COMP)) + { + unsigned int pow; + + if (!grub_fshelp_log2blksize (ctx->comp.spc, &pow)) + grub_fshelp_read_file (ctx->comp.disk, (grub_fshelp_node_t) ctx, + read_hook, ofs, len, dest, + grub_ntfs_read_block, ofs + len, pow); + return grub_errno; + } + + return (grub_ntfscomp_func) ? grub_ntfscomp_func (at, dest, ofs, len, ctx, + vcn) : + grub_error (GRUB_ERR_BAD_FS, "ntfscomp module not loaded"); +} + +static grub_err_t +read_attr (struct grub_ntfs_attr *at, char *dest, grub_disk_addr_t ofs, + grub_size_t len, int cached, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, + unsigned length)) +{ + char *save_cur; + unsigned char attr; + char *pp; + grub_err_t ret; + + save_cur = at->attr_cur; + at->attr_nxt = at->attr_cur; + attr = (unsigned char) *at->attr_nxt; + if (at->flags & AF_ALST) + { + char *pa; + grub_disk_addr_t vcn; + + vcn = grub_divmod64 (ofs, at->mft->data->spc << BLK_SHR, 0); + pa = at->attr_nxt + u16at (at->attr_nxt, 4); + while (pa < at->attr_end) + { + if ((unsigned char) *pa != attr) + break; + if (u32at (pa, 8) > vcn) + break; + at->attr_nxt = pa; + pa += u16at (pa, 4); + } + } + pp = find_attr (at, attr); + if (pp) + ret = read_data (at, pp, dest, ofs, len, cached, read_hook); + else + ret = + (grub_errno) ? grub_errno : grub_error (GRUB_ERR_BAD_FS, + "attribute not found"); + at->attr_cur = save_cur; + return ret; +} + +static grub_err_t +read_mft (struct grub_ntfs_data *data, char *buf, grub_uint32_t mftno) +{ + if (read_attr + (&data->mmft.attr, buf, mftno * ((grub_disk_addr_t) data->mft_size << BLK_SHR), + data->mft_size << BLK_SHR, 0, 0)) + return grub_error (GRUB_ERR_BAD_FS, "read MFT 0x%X fails", mftno); + return fixup (data, buf, data->mft_size, "FILE"); +} + +static grub_err_t +init_file (struct grub_ntfs_file *mft, grub_uint32_t mftno) +{ + unsigned short flag; + + mft->inode_read = 1; + + mft->buf = grub_malloc (mft->data->mft_size << BLK_SHR); + if (mft->buf == NULL) + return grub_errno; + + if (read_mft (mft->data, mft->buf, mftno)) + return grub_errno; + + flag = u16at (mft->buf, 0x16); + if ((flag & 1) == 0) + return grub_error (GRUB_ERR_BAD_FS, "MFT 0x%X is not in use", mftno); + + if ((flag & 2) == 0) + { + char *pa; + + pa = locate_attr (&mft->attr, mft, AT_DATA); + if (pa == NULL) + return grub_error (GRUB_ERR_BAD_FS, "no $DATA in MFT 0x%X", mftno); + + if (!pa[8]) + mft->size = u32at (pa, 0x10); + else + mft->size = u64at (pa, 0x30); + + if ((mft->attr.flags & AF_ALST) == 0) + mft->attr.attr_end = 0; /* Don't jump to attribute list */ + } + else + init_attr (&mft->attr, mft); + + return 0; +} + +static void +free_file (struct grub_ntfs_file *mft) +{ + free_attr (&mft->attr); + grub_free (mft->buf); +} + +static int +list_file (struct grub_ntfs_file *diro, char *pos, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + char *np; + int ns; + + while (1) + { + char *ustr, namespace; + + if (pos[0xC] & 2) /* end signature */ + break; + + np = pos + 0x50; + ns = (unsigned char) *(np++); + namespace = *(np++); + + /* + * Ignore files in DOS namespace, as they will reappear as Win32 + * names. + */ + if ((ns) && (namespace != 2)) + { + enum grub_fshelp_filetype type; + struct grub_ntfs_file *fdiro; + + if (u16at (pos, 4)) + { + grub_error (GRUB_ERR_BAD_FS, "64-bit MFT number"); + return 0; + } + + type = + (u32at (pos, 0x48) & ATTR_DIRECTORY) ? GRUB_FSHELP_DIR : + GRUB_FSHELP_REG; + + fdiro = grub_zalloc (sizeof (struct grub_ntfs_file)); + if (!fdiro) + return 0; + + fdiro->data = diro->data; + fdiro->ino = u32at (pos, 0); + + ustr = grub_malloc (ns * 4 + 1); + if (ustr == NULL) + return 0; + *grub_utf16_to_utf8 ((grub_uint8_t *) ustr, (grub_uint16_t *) np, + ns) = '\0'; + + if (namespace) + type |= GRUB_FSHELP_CASE_INSENSITIVE; + + if (hook (ustr, type, fdiro)) + { + grub_free (ustr); + return 1; + } + + grub_free (ustr); + } + pos += u16at (pos, 8); + } + return 0; +} + +static int +grub_ntfs_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + unsigned char *bitmap; + struct grub_ntfs_attr attr, *at; + char *cur_pos, *indx, *bmp; + int ret = 0; + grub_size_t bitmap_len; + struct grub_ntfs_file *mft; + + mft = (struct grub_ntfs_file *) dir; + + if (!mft->inode_read) + { + if (init_file (mft, mft->ino)) + return 0; + } + + indx = NULL; + bmp = NULL; + + at = &attr; + init_attr (at, mft); + while (1) + { + if ((cur_pos = find_attr (at, AT_INDEX_ROOT)) == NULL) + { + grub_error (GRUB_ERR_BAD_FS, "no $INDEX_ROOT"); + goto done; + } + + /* Resident, Namelen=4, Offset=0x18, Flags=0x00, Name="$I30" */ + if ((u32at (cur_pos, 8) != 0x180400) || + (u32at (cur_pos, 0x18) != 0x490024) || + (u32at (cur_pos, 0x1C) != 0x300033)) + continue; + cur_pos += u16at (cur_pos, 0x14); + if (*cur_pos != 0x30) /* Not filename index */ + continue; + break; + } + + cur_pos += 0x10; /* Skip index root */ + ret = list_file (mft, cur_pos + u16at (cur_pos, 0), hook); + if (ret) + goto done; + + bitmap = NULL; + bitmap_len = 0; + free_attr (at); + init_attr (at, mft); + while ((cur_pos = find_attr (at, AT_BITMAP)) != NULL) + { + int ofs; + + ofs = (unsigned char) cur_pos[0xA]; + /* Namelen=4, Name="$I30" */ + if ((cur_pos[9] == 4) && + (u32at (cur_pos, ofs) == 0x490024) && + (u32at (cur_pos, ofs + 4) == 0x300033)) + { + int is_resident = (cur_pos[8] == 0); + + bitmap_len = ((is_resident) ? u32at (cur_pos, 0x10) : + u32at (cur_pos, 0x28)); + + bmp = grub_malloc (bitmap_len); + if (bmp == NULL) + goto done; + + if (is_resident) + { + grub_memcpy (bmp, (char *) (cur_pos + u16at (cur_pos, 0x14)), + bitmap_len); + } + else + { + if (read_data (at, cur_pos, bmp, 0, bitmap_len, 0, 0)) + { + grub_error (GRUB_ERR_BAD_FS, + "fails to read non-resident $BITMAP"); + goto done; + } + bitmap_len = u32at (cur_pos, 0x30); + } + + bitmap = (unsigned char *) bmp; + break; + } + } + + free_attr (at); + cur_pos = locate_attr (at, mft, AT_INDEX_ALLOCATION); + while (cur_pos != NULL) + { + /* Non-resident, Namelen=4, Offset=0x40, Flags=0, Name="$I30" */ + if ((u32at (cur_pos, 8) == 0x400401) && + (u32at (cur_pos, 0x40) == 0x490024) && + (u32at (cur_pos, 0x44) == 0x300033)) + break; + cur_pos = find_attr (at, AT_INDEX_ALLOCATION); + } + + if ((!cur_pos) && (bitmap)) + { + grub_error (GRUB_ERR_BAD_FS, "$BITMAP without $INDEX_ALLOCATION"); + goto done; + } + + if (bitmap) + { + grub_disk_addr_t v, i; + + indx = grub_malloc (mft->data->idx_size << BLK_SHR); + if (indx == NULL) + goto done; + + v = 1; + for (i = 0; i < (grub_disk_addr_t)bitmap_len * 8; i++) + { + if (*bitmap & v) + { + if ((read_attr + (at, indx, i * (mft->data->idx_size << BLK_SHR), + (mft->data->idx_size << BLK_SHR), 0, 0)) + || (fixup (mft->data, indx, mft->data->idx_size, "INDX"))) + goto done; + ret = list_file (mft, &indx[0x18 + u16at (indx, 0x18)], hook); + if (ret) + goto done; + } + v <<= 1; + if (v >= 0x100) + { + v = 1; + bitmap++; + } + } + } + +done: + free_attr (at); + grub_free (indx); + grub_free (bmp); + + return ret; +} + +static struct grub_ntfs_data * +grub_ntfs_mount (grub_disk_t disk) +{ + struct grub_ntfs_bpb bpb; + struct grub_ntfs_data *data = 0; + + if (!disk) + goto fail; + + data = (struct grub_ntfs_data *) grub_zalloc (sizeof (*data)); + if (!data) + goto fail; + + data->disk = disk; + + /* Read the BPB. */ + if (grub_disk_read (disk, 0, 0, sizeof (bpb), &bpb)) + goto fail; + + if (grub_memcmp ((char *) &bpb.oem_name, "NTFS", 4)) + goto fail; + + data->blocksize = grub_le_to_cpu16 (bpb.bytes_per_sector); + data->spc = bpb.sectors_per_cluster * (data->blocksize >> BLK_SHR); + + if (bpb.clusters_per_mft > 0) + data->mft_size = data->spc * bpb.clusters_per_mft; + else + data->mft_size = 1 << (-bpb.clusters_per_mft - BLK_SHR); + + if (bpb.clusters_per_index > 0) + data->idx_size = data->spc * bpb.clusters_per_index; + else + data->idx_size = 1 << (-bpb.clusters_per_index - BLK_SHR); + + data->mft_start = grub_le_to_cpu64 (bpb.mft_lcn) * data->spc; + + if ((data->mft_size > MAX_MFT) || (data->idx_size > MAX_IDX)) + goto fail; + + data->mmft.data = data; + data->cmft.data = data; + + data->mmft.buf = grub_malloc (data->mft_size << BLK_SHR); + if (!data->mmft.buf) + goto fail; + + if (grub_disk_read + (disk, data->mft_start, 0, data->mft_size << BLK_SHR, data->mmft.buf)) + goto fail; + + data->uuid = grub_le_to_cpu64 (bpb.num_serial); + + if (fixup (data, data->mmft.buf, data->mft_size, "FILE")) + goto fail; + + if (!locate_attr (&data->mmft.attr, &data->mmft, AT_DATA)) + goto fail; + + if (init_file (&data->cmft, FILE_ROOT)) + goto fail; + + return data; + +fail: + grub_error (GRUB_ERR_BAD_FS, "not an ntfs filesystem"); + + if (data) + { + free_file (&data->mmft); + free_file (&data->cmft); + grub_free (data); + } + return 0; +} + +static grub_err_t +grub_ntfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_ntfs_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_ntfs_mount (device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (path, &data->cmft, &fdiro, grub_ntfs_iterate_dir, + 0, GRUB_FSHELP_DIR); + + if (grub_errno) + goto fail; + + grub_ntfs_iterate_dir (fdiro, iterate); + +fail: + if ((fdiro) && (fdiro != &data->cmft)) + { + free_file (fdiro); + grub_free (fdiro); + } + if (data) + { + free_file (&data->mmft); + free_file (&data->cmft); + grub_free (data); + } + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_ntfs_open (grub_file_t file, const char *name) +{ + struct grub_ntfs_data *data = 0; + struct grub_fshelp_node *mft = 0; + + grub_dl_ref (my_mod); + + data = grub_ntfs_mount (file->device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (name, &data->cmft, &mft, grub_ntfs_iterate_dir, + 0, GRUB_FSHELP_REG); + + if (grub_errno) + goto fail; + + if (mft != &data->cmft) + { + free_file (&data->cmft); + grub_memcpy (&data->cmft, mft, sizeof (*mft)); + grub_free (mft); + if (!data->cmft.inode_read) + { + if (init_file (&data->cmft, data->cmft.ino)) + goto fail; + } + } + + file->size = data->cmft.size; + file->data = data; + file->offset = 0; + + return 0; + +fail: + if (data) + { + free_file (&data->mmft); + free_file (&data->cmft); + grub_free (data); + } + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_ssize_t +grub_ntfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_ntfs_file *mft; + + mft = &((struct grub_ntfs_data *) file->data)->cmft; + if (file->read_hook) + mft->attr.save_pos = 1; + + read_attr (&mft->attr, buf, file->offset, len, 1, file->read_hook); + return (grub_errno) ? 0 : len; +} + +static grub_err_t +grub_ntfs_close (grub_file_t file) +{ + struct grub_ntfs_data *data; + + data = file->data; + + if (data) + { + free_file (&data->mmft); + free_file (&data->cmft); + grub_free (data); + } + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_ntfs_label (grub_device_t device, char **label) +{ + struct grub_ntfs_data *data = 0; + struct grub_fshelp_node *mft = 0; + char *pa; + + grub_dl_ref (my_mod); + + *label = 0; + + data = grub_ntfs_mount (device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file ("/$Volume", &data->cmft, &mft, grub_ntfs_iterate_dir, + 0, GRUB_FSHELP_REG); + + if (grub_errno) + goto fail; + + if (!mft->inode_read) + { + mft->buf = grub_malloc (mft->data->mft_size << BLK_SHR); + if (mft->buf == NULL) + goto fail; + + if (read_mft (mft->data, mft->buf, mft->ino)) + goto fail; + } + + init_attr (&mft->attr, mft); + pa = find_attr (&mft->attr, AT_VOLUME_NAME); + if ((pa) && (pa[8] == 0) && (u32at (pa, 0x10))) + { + char *buf; + int len; + + len = u32at (pa, 0x10) / 2; + buf = grub_malloc (len * 4 + 1); + pa += u16at (pa, 0x14); + *grub_utf16_to_utf8 ((grub_uint8_t *) buf, (grub_uint16_t *) pa, len) = + '\0'; + *label = buf; + } + +fail: + if ((mft) && (mft != &data->cmft)) + { + free_file (mft); + grub_free (mft); + } + if (data) + { + free_file (&data->mmft); + free_file (&data->cmft); + grub_free (data); + } + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_ntfs_uuid (grub_device_t device, char **uuid) +{ + struct grub_ntfs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_ntfs_mount (disk); + if (data) + { + char *ptr; + *uuid = grub_xasprintf ("%016llx", (unsigned long long) data->uuid); + if (*uuid) + for (ptr = *uuid; *ptr; ptr++) + *ptr = grub_toupper (*ptr); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static struct grub_fs grub_ntfs_fs = + { + .name = "ntfs", + .dir = grub_ntfs_dir, + .open = grub_ntfs_open, + .read = grub_ntfs_read, + .close = grub_ntfs_close, + .label = grub_ntfs_label, + .uuid = grub_ntfs_uuid, +#ifdef GRUB_UTIL + .reserved_first_sector = 1, +#endif + .next = 0 +}; + +GRUB_MOD_INIT (ntfs) +{ + grub_fs_register (&grub_ntfs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI (ntfs) +{ + grub_fs_unregister (&grub_ntfs_fs); +} diff --git a/grub-core/fs/ntfscomp.c b/grub-core/fs/ntfscomp.c new file mode 100644 index 0000000..d2893cb --- /dev/null +++ b/grub-core/fs/ntfscomp.c @@ -0,0 +1,376 @@ +/* ntfscomp.c - compression support for the NTFS filesystem */ +/* + * Copyright (C) 2007 Free Software Foundation, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +decomp_nextvcn (struct grub_ntfs_comp *cc) +{ + if (cc->comp_head >= cc->comp_tail) + return grub_error (GRUB_ERR_BAD_FS, "compression block overflown"); + if (grub_disk_read + (cc->disk, + (cc->comp_table[cc->comp_head][1] - + (cc->comp_table[cc->comp_head][0] - cc->cbuf_vcn)) * cc->spc, 0, + cc->spc << BLK_SHR, cc->cbuf)) + return grub_errno; + cc->cbuf_vcn++; + if ((cc->cbuf_vcn >= cc->comp_table[cc->comp_head][0])) + cc->comp_head++; + cc->cbuf_ofs = 0; + return 0; +} + +static grub_err_t +decomp_getch (struct grub_ntfs_comp *cc, unsigned char *res) +{ + if (cc->cbuf_ofs >= (cc->spc << BLK_SHR)) + { + if (decomp_nextvcn (cc)) + return grub_errno; + } + *res = (unsigned char) cc->cbuf[cc->cbuf_ofs++]; + return 0; +} + +static grub_err_t +decomp_get16 (struct grub_ntfs_comp *cc, grub_uint16_t * res) +{ + unsigned char c1 = 0, c2 = 0; + + if ((decomp_getch (cc, &c1)) || (decomp_getch (cc, &c2))) + return grub_errno; + *res = ((grub_uint16_t) c2) * 256 + ((grub_uint16_t) c1); + return 0; +} + +/* Decompress a block (4096 bytes) */ +static grub_err_t +decomp_block (struct grub_ntfs_comp *cc, char *dest) +{ + grub_uint16_t flg, cnt; + + if (decomp_get16 (cc, &flg)) + return grub_errno; + cnt = (flg & 0xFFF) + 1; + + if (dest) + { + if (flg & 0x8000) + { + unsigned char tag; + grub_uint32_t bits, copied; + + bits = copied = tag = 0; + while (cnt > 0) + { + if (copied > COM_LEN) + return grub_error (GRUB_ERR_BAD_FS, + "compression block too large"); + + if (!bits) + { + if (decomp_getch (cc, &tag)) + return grub_errno; + + bits = 8; + cnt--; + if (cnt <= 0) + break; + } + if (tag & 1) + { + grub_uint32_t i, len, delta, code, lmask, dshift; + grub_uint16_t word; + + if (decomp_get16 (cc, &word)) + return grub_errno; + + code = word; + cnt -= 2; + + if (!copied) + { + grub_error (GRUB_ERR_BAD_FS, "nontext window empty"); + return 0; + } + + for (i = copied - 1, lmask = 0xFFF, dshift = 12; i >= 0x10; + i >>= 1) + { + lmask >>= 1; + dshift--; + } + + delta = code >> dshift; + len = (code & lmask) + 3; + + for (i = 0; i < len; i++) + { + dest[copied] = dest[copied - delta - 1]; + copied++; + } + } + else + { + unsigned char ch = 0; + + if (decomp_getch (cc, &ch)) + return grub_errno; + dest[copied++] = ch; + cnt--; + } + tag >>= 1; + bits--; + } + return 0; + } + else + { + if (cnt != COM_LEN) + return grub_error (GRUB_ERR_BAD_FS, + "invalid compression block size"); + } + } + + while (cnt > 0) + { + int n; + + n = (cc->spc << BLK_SHR) - cc->cbuf_ofs; + if (n > cnt) + n = cnt; + if ((dest) && (n)) + { + grub_memcpy (dest, &cc->cbuf[cc->cbuf_ofs], n); + dest += n; + } + cnt -= n; + cc->cbuf_ofs += n; + if ((cnt) && (decomp_nextvcn (cc))) + return grub_errno; + } + return 0; +} + +static grub_err_t +read_block (struct grub_ntfs_rlst *ctx, char *buf, int num) +{ + int cpb = COM_SEC / ctx->comp.spc; + + while (num) + { + int nn; + + if ((ctx->target_vcn & 0xF) == 0) + { + + if (ctx->comp.comp_head != ctx->comp.comp_tail) + return grub_error (GRUB_ERR_BAD_FS, "invalid compression block"); + ctx->comp.comp_head = ctx->comp.comp_tail = 0; + ctx->comp.cbuf_vcn = ctx->target_vcn; + ctx->comp.cbuf_ofs = (ctx->comp.spc << BLK_SHR); + if (ctx->target_vcn >= ctx->next_vcn) + { + if (grub_ntfs_read_run_list (ctx)) + return grub_errno; + } + while (ctx->target_vcn + 16 > ctx->next_vcn) + { + if (ctx->flags & RF_BLNK) + break; + ctx->comp.comp_table[ctx->comp.comp_tail][0] = ctx->next_vcn; + ctx->comp.comp_table[ctx->comp.comp_tail][1] = + ctx->curr_lcn + ctx->next_vcn - ctx->curr_vcn; + ctx->comp.comp_tail++; + if (grub_ntfs_read_run_list (ctx)) + return grub_errno; + } + } + + nn = (16 - (unsigned) (ctx->target_vcn & 0xF)) / cpb; + if (nn > num) + nn = num; + num -= nn; + + if (ctx->flags & RF_BLNK) + { + ctx->target_vcn += nn * cpb; + if (ctx->comp.comp_tail == 0) + { + if (buf) + { + grub_memset (buf, 0, nn * COM_LEN); + buf += nn * COM_LEN; + } + } + else + { + while (nn) + { + if (decomp_block (&ctx->comp, buf)) + return grub_errno; + if (buf) + buf += COM_LEN; + nn--; + } + } + } + else + { + nn *= cpb; + while ((ctx->comp.comp_head < ctx->comp.comp_tail) && (nn)) + { + int tt; + + tt = + ctx->comp.comp_table[ctx->comp.comp_head][0] - + ctx->target_vcn; + if (tt > nn) + tt = nn; + ctx->target_vcn += tt; + if (buf) + { + if (grub_disk_read + (ctx->comp.disk, + (ctx->comp.comp_table[ctx->comp.comp_head][1] - + (ctx->comp.comp_table[ctx->comp.comp_head][0] - + ctx->target_vcn)) * ctx->comp.spc, 0, + tt * (ctx->comp.spc << BLK_SHR), buf)) + return grub_errno; + buf += tt * (ctx->comp.spc << BLK_SHR); + } + nn -= tt; + if (ctx->target_vcn >= + ctx->comp.comp_table[ctx->comp.comp_head][0]) + ctx->comp.comp_head++; + } + if (nn) + { + if (buf) + { + if (grub_disk_read + (ctx->comp.disk, + (ctx->target_vcn - ctx->curr_vcn + + ctx->curr_lcn) * ctx->comp.spc, 0, + nn * (ctx->comp.spc << BLK_SHR), buf)) + return grub_errno; + buf += nn * (ctx->comp.spc << BLK_SHR); + } + ctx->target_vcn += nn; + } + } + } + return 0; +} + +static grub_err_t +ntfscomp (struct grub_ntfs_attr *at, char *dest, grub_uint32_t ofs, + grub_uint32_t len, struct grub_ntfs_rlst *ctx, grub_uint32_t vcn) +{ + grub_err_t ret; + + ctx->comp.comp_head = ctx->comp.comp_tail = 0; + ctx->comp.cbuf = grub_malloc ((ctx->comp.spc) << BLK_SHR); + if (!ctx->comp.cbuf) + return 0; + + ret = 0; + + //ctx->comp.disk->read_hook = read_hook; + + if ((vcn > ctx->target_vcn) && + (read_block + (ctx, NULL, ((vcn - ctx->target_vcn) * ctx->comp.spc) / COM_SEC))) + { + ret = grub_errno; + goto quit; + } + + if (ofs % COM_LEN) + { + grub_uint32_t t, n, o; + + t = ctx->target_vcn * (ctx->comp.spc << BLK_SHR); + if (read_block (ctx, at->sbuf, 1)) + { + ret = grub_errno; + goto quit; + } + + at->save_pos = t; + + o = ofs % COM_LEN; + n = COM_LEN - o; + if (n > len) + n = len; + grub_memcpy (dest, &at->sbuf[o], n); + if (n == len) + goto quit; + dest += n; + len -= n; + } + + if (read_block (ctx, dest, len / COM_LEN)) + { + ret = grub_errno; + goto quit; + } + + dest += (len / COM_LEN) * COM_LEN; + len = len % COM_LEN; + if (len) + { + grub_uint32_t t; + + t = ctx->target_vcn * (ctx->comp.spc << BLK_SHR); + if (read_block (ctx, at->sbuf, 1)) + { + ret = grub_errno; + goto quit; + } + + at->save_pos = t; + + grub_memcpy (dest, at->sbuf, len); + } + +quit: + //ctx->comp.disk->read_hook = 0; + if (ctx->comp.cbuf) + grub_free (ctx->comp.cbuf); + return ret; +} + +GRUB_MOD_INIT (ntfscomp) +{ + grub_ntfscomp_func = ntfscomp; +} + +GRUB_MOD_FINI (ntfscomp) +{ + grub_ntfscomp_func = NULL; +} diff --git a/grub-core/fs/reiserfs.c b/grub-core/fs/reiserfs.c new file mode 100644 index 0000000..f2984f8 --- /dev/null +++ b/grub-core/fs/reiserfs.c @@ -0,0 +1,1384 @@ +/* reiserfs.c - ReiserFS versions up to 3.6 */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* + TODO: + implement journal handling (ram replay) + test tail packing & direct files + validate partition label position +*/ + +#if 0 +# define GRUB_REISERFS_DEBUG +# define GRUB_REISERFS_JOURNALING +# define GRUB_HEXDUMP +#endif + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define MIN(a, b) \ + ({ typeof (a) _a = (a); \ + typeof (b) _b = (b); \ + _a < _b ? _a : _b; }) + +#define MAX(a, b) \ + ({ typeof (a) _a = (a); \ + typeof (b) _b = (b); \ + _a > _b ? _a : _b; }) + +#define REISERFS_SUPER_BLOCK_OFFSET 0x10000 +#define REISERFS_MAGIC_LEN 12 +#define REISERFS_MAGIC_STRING "ReIsEr" +#define REISERFS_MAGIC_DESC_BLOCK "ReIsErLB" +/* If the 3rd bit of an item state is set, then it's visible. */ +#define GRUB_REISERFS_VISIBLE_MASK ((grub_uint16_t) 0x04) +#define REISERFS_MAX_LABEL_LENGTH 16 +#define REISERFS_LABEL_OFFSET 0x64 + +#define S_IFLNK 0xA000 + +static grub_dl_t my_mod; + +#define assert(boolean) real_assert (boolean, GRUB_FILE, __LINE__) +static inline void +real_assert (int boolean, const char *file, const int line) +{ + if (! boolean) + grub_printf ("Assertion failed at %s:%d\n", file, line); +} + +enum grub_reiserfs_item_type + { + GRUB_REISERFS_STAT, + GRUB_REISERFS_DIRECTORY, + GRUB_REISERFS_DIRECT, + GRUB_REISERFS_INDIRECT, + /* Matches both _DIRECT and _INDIRECT when searching. */ + GRUB_REISERFS_ANY, + GRUB_REISERFS_UNKNOWN + }; + +struct grub_reiserfs_superblock +{ + grub_uint32_t block_count; + grub_uint32_t block_free_count; + grub_uint32_t root_block; + grub_uint32_t journal_block; + grub_uint32_t journal_device; + grub_uint32_t journal_original_size; + grub_uint32_t journal_max_transaction_size; + grub_uint32_t journal_block_count; + grub_uint32_t journal_max_batch; + grub_uint32_t journal_max_commit_age; + grub_uint32_t journal_max_transaction_age; + grub_uint16_t block_size; + grub_uint16_t oid_max_size; + grub_uint16_t oid_current_size; + grub_uint16_t state; + grub_uint8_t magic_string[REISERFS_MAGIC_LEN]; + grub_uint32_t function_hash_code; + grub_uint16_t tree_height; + grub_uint16_t bitmap_number; + grub_uint16_t version; + grub_uint16_t reserved; + grub_uint32_t inode_generation; + grub_uint8_t unused[4]; + grub_uint16_t uuid[8]; +} __attribute__ ((packed)); + +struct grub_reiserfs_journal_header +{ + grub_uint32_t last_flush_uid; + grub_uint32_t unflushed_offset; + grub_uint32_t mount_id; +} __attribute__ ((packed)); + +struct grub_reiserfs_description_block +{ + grub_uint32_t id; + grub_uint32_t len; + grub_uint32_t mount_id; + grub_uint32_t real_blocks[0]; +} __attribute__ ((packed)); + +struct grub_reiserfs_commit_block +{ + grub_uint32_t id; + grub_uint32_t len; + grub_uint32_t real_blocks[0]; +} __attribute__ ((packed)); + +struct grub_reiserfs_stat_item_v1 +{ + grub_uint16_t mode; + grub_uint16_t hardlink_count; + grub_uint16_t uid; + grub_uint16_t gid; + grub_uint32_t size; + grub_uint32_t atime; + grub_uint32_t mtime; + grub_uint32_t ctime; + grub_uint32_t rdev; + grub_uint32_t first_direct_byte; +} __attribute__ ((packed)); + +struct grub_reiserfs_stat_item_v2 +{ + grub_uint16_t mode; + grub_uint16_t reserved; + grub_uint32_t hardlink_count; + grub_uint64_t size; + grub_uint32_t uid; + grub_uint32_t gid; + grub_uint32_t atime; + grub_uint32_t mtime; + grub_uint32_t ctime; + grub_uint32_t blocks; + grub_uint32_t first_direct_byte; +} __attribute__ ((packed)); + +struct grub_reiserfs_key +{ + grub_uint32_t directory_id; + grub_uint32_t object_id; + union + { + struct + { + grub_uint32_t offset; + grub_uint32_t type; + } v1 __attribute__ ((packed)); + struct + { + grub_uint64_t offset_type; + } v2 __attribute__ ((packed)); + } u; +} __attribute__ ((packed)); + +struct grub_reiserfs_item_header +{ + struct grub_reiserfs_key key; + union + { + grub_uint16_t free_space; + grub_uint16_t entry_count; + } u __attribute__ ((packed)); + grub_uint16_t item_size; + grub_uint16_t item_location; + grub_uint16_t version; +} __attribute__ ((packed)); + +struct grub_reiserfs_block_header +{ + grub_uint16_t level; + grub_uint16_t item_count; + grub_uint16_t free_space; + grub_uint16_t reserved; + struct grub_reiserfs_key block_right_delimiting_key; +} __attribute__ ((packed)); + +struct grub_reiserfs_disk_child +{ + grub_uint32_t block_number; + grub_uint16_t size; + grub_uint16_t reserved; +} __attribute__ ((packed)); + +struct grub_reiserfs_directory_header +{ + grub_uint32_t offset; + grub_uint32_t directory_id; + grub_uint32_t object_id; + grub_uint16_t location; + grub_uint16_t state; +} __attribute__ ((packed)); + +struct grub_fshelp_node +{ + struct grub_reiserfs_data *data; + grub_uint32_t block_number; /* 0 if node is not found. */ + grub_uint16_t block_position; + grub_uint64_t next_offset; + enum grub_reiserfs_item_type type; /* To know how to read the header. */ + struct grub_reiserfs_item_header header; +}; + +/* Returned when opening a file. */ +struct grub_reiserfs_data +{ + struct grub_reiserfs_superblock superblock; + grub_disk_t disk; +}; + +/* Internal-only functions. Not to be used outside of this file. */ + +/* Return the type of given v2 key. */ +static enum grub_reiserfs_item_type +grub_reiserfs_get_key_v2_type (const struct grub_reiserfs_key *key) +{ + switch (grub_le_to_cpu64 (key->u.v2.offset_type) >> 60) + { + case 0: + return GRUB_REISERFS_STAT; + case 15: + return GRUB_REISERFS_ANY; + case 3: + return GRUB_REISERFS_DIRECTORY; + case 2: + return GRUB_REISERFS_DIRECT; + case 1: + return GRUB_REISERFS_INDIRECT; + } + return GRUB_REISERFS_UNKNOWN; +} + +/* Return the type of given v1 key. */ +static enum grub_reiserfs_item_type +grub_reiserfs_get_key_v1_type (const struct grub_reiserfs_key *key) +{ + switch (grub_le_to_cpu32 (key->u.v1.type)) + { + case 0: + return GRUB_REISERFS_STAT; + case 555: + return GRUB_REISERFS_ANY; + case 500: + return GRUB_REISERFS_DIRECTORY; + case 0x20000000: + case 0xFFFFFFFF: + return GRUB_REISERFS_DIRECT; + case 0x10000000: + case 0xFFFFFFFE: + return GRUB_REISERFS_INDIRECT; + } + return GRUB_REISERFS_UNKNOWN; +} + +/* Return 1 if the given key is version 1 key, 2 otherwise. */ +static int +grub_reiserfs_get_key_version (const struct grub_reiserfs_key *key) +{ + return grub_reiserfs_get_key_v1_type (key) == GRUB_REISERFS_UNKNOWN ? 2 : 1; +} + +#ifdef GRUB_HEXDUMP +static void +grub_hexdump (char *buffer, grub_size_t len) +{ + grub_size_t a; + for (a = 0; a < len; a++) + { + if (! (a & 0x0F)) + grub_printf ("\n%08x ", a); + grub_printf ("%02x ", + ((unsigned int) ((unsigned char *) buffer)[a]) & 0xFF); + } + grub_printf ("\n"); +} +#endif + +#ifdef GRUB_REISERFS_DEBUG +static grub_uint64_t +grub_reiserfs_get_key_offset (const struct grub_reiserfs_key *key); + +static enum grub_reiserfs_item_type +grub_reiserfs_get_key_type (const struct grub_reiserfs_key *key); + +static void +grub_reiserfs_print_key (const struct grub_reiserfs_key *key) +{ + unsigned int a; + char *reiserfs_type_strings[] = { + "stat ", + "directory", + "direct ", + "indirect ", + "any ", + "unknown " + }; + + for (a = 0; a < sizeof (struct grub_reiserfs_key); a++) + grub_printf ("%02x ", ((unsigned int) ((unsigned char *) key)[a]) & 0xFF); + grub_printf ("parent id = 0x%08x, self id = 0x%08x, type = %s, offset = ", + grub_le_to_cpu32 (key->directory_id), + grub_le_to_cpu32 (key->object_id), + reiserfs_type_strings [grub_reiserfs_get_key_type (key)]); + if (grub_reiserfs_get_key_version (key) == 1) + grub_printf("%08x", (unsigned int) grub_reiserfs_get_key_offset (key)); + else + grub_printf("0x%07x%08x", + (unsigned) (grub_reiserfs_get_key_offset (key) >> 32), + (unsigned) (grub_reiserfs_get_key_offset (key) & 0xFFFFFFFF)); + grub_printf ("\n"); +} +#endif + +/* Return the offset of given key. */ +static grub_uint64_t +grub_reiserfs_get_key_offset (const struct grub_reiserfs_key *key) +{ + if (grub_reiserfs_get_key_version (key) == 1) + return grub_le_to_cpu32 (key->u.v1.offset); + else + return grub_le_to_cpu64 (key->u.v2.offset_type) & (~0ULL >> 4); +} + +/* Set the offset of given key. */ +static void +grub_reiserfs_set_key_offset (struct grub_reiserfs_key *key, + grub_uint64_t value) +{ + if (grub_reiserfs_get_key_version (key) == 1) + key->u.v1.offset = grub_cpu_to_le32 (value); + else + key->u.v2.offset_type \ + = ((key->u.v2.offset_type & grub_cpu_to_le64 (15ULL << 60)) + | grub_cpu_to_le64 (value & (~0ULL >> 4))); +} + +/* Return the type of given key. */ +static enum grub_reiserfs_item_type +grub_reiserfs_get_key_type (const struct grub_reiserfs_key *key) +{ + if (grub_reiserfs_get_key_version (key) == 1) + return grub_reiserfs_get_key_v1_type (key); + else + return grub_reiserfs_get_key_v2_type (key); +} + +/* Set the type of given key, with given version number. */ +static void +grub_reiserfs_set_key_type (struct grub_reiserfs_key *key, + enum grub_reiserfs_item_type grub_type, + int version) +{ + grub_uint32_t type; + + switch (grub_type) + { + case GRUB_REISERFS_STAT: + type = 0; + break; + case GRUB_REISERFS_ANY: + type = (version == 1) ? 555 : 15; + break; + case GRUB_REISERFS_DIRECTORY: + type = (version == 1) ? 500 : 3; + break; + case GRUB_REISERFS_DIRECT: + type = (version == 1) ? 0xFFFFFFFF : 2; + break; + case GRUB_REISERFS_INDIRECT: + type = (version == 1) ? 0xFFFFFFFE : 1; + break; + default: + return; + } + + if (version == 1) + key->u.v1.type = grub_cpu_to_le32 (type); + else + key->u.v2.offset_type + = ((key->u.v2.offset_type & grub_cpu_to_le64 (~0ULL >> 4)) + | grub_cpu_to_le64 ((grub_uint64_t) type << 60)); + + assert (grub_reiserfs_get_key_type (key) == grub_type); +} + +/* -1 if key 1 if lower than key 2. + 0 if key 1 is equal to key 2. + 1 if key 1 is higher than key 2. */ +static int +grub_reiserfs_compare_keys (const struct grub_reiserfs_key *key1, + const struct grub_reiserfs_key *key2) +{ + grub_uint64_t offset1, offset2; + enum grub_reiserfs_item_type type1, type2; + grub_uint32_t id1, id2; + + if (! key1 || ! key2) + return -2; + + id1 = grub_le_to_cpu32 (key1->directory_id); + id2 = grub_le_to_cpu32 (key2->directory_id); + if (id1 < id2) + return -1; + if (id1 > id2) + return 1; + + id1 = grub_le_to_cpu32 (key1->object_id); + id2 = grub_le_to_cpu32 (key2->object_id); + if (id1 < id2) + return -1; + if (id1 > id2) + return 1; + + offset1 = grub_reiserfs_get_key_offset (key1); + offset2 = grub_reiserfs_get_key_offset (key2); + if (offset1 < offset2) + return -1; + if (offset1 > offset2) + return 1; + + type1 = grub_reiserfs_get_key_type (key1); + type2 = grub_reiserfs_get_key_type (key2); + if ((type1 == GRUB_REISERFS_ANY + && (type2 == GRUB_REISERFS_DIRECT + || type2 == GRUB_REISERFS_INDIRECT)) + || (type2 == GRUB_REISERFS_ANY + && (type1 == GRUB_REISERFS_DIRECT + || type1 == GRUB_REISERFS_INDIRECT))) + return 0; + if (type1 < type2) + return -1; + if (type1 > type2) + return 1; + + return 0; +} + +/* Find the item identified by KEY in mounted filesystem DATA, and fill ITEM + accordingly to what was found. */ +static grub_err_t +grub_reiserfs_get_item (struct grub_reiserfs_data *data, + const struct grub_reiserfs_key *key, + struct grub_fshelp_node *item) +{ + grub_uint32_t block_number; + struct grub_reiserfs_block_header *block_header = 0; + struct grub_reiserfs_key *block_key = 0; + grub_uint16_t block_size, item_count, current_level; + grub_uint16_t i; + grub_uint16_t previous_level = ~0; + struct grub_reiserfs_item_header *item_headers = 0; + + if (! data) + { + grub_error (GRUB_ERR_TEST_FAILURE, "data is NULL"); + goto fail; + } + + if (! key) + { + grub_error (GRUB_ERR_TEST_FAILURE, "key is NULL"); + goto fail; + } + + if (! item) + { + grub_error (GRUB_ERR_TEST_FAILURE, "item is NULL"); + goto fail; + } + + block_size = grub_le_to_cpu16 (data->superblock.block_size); + block_number = grub_le_to_cpu32 (data->superblock.root_block); +#ifdef GRUB_REISERFS_DEBUG + grub_printf("Searching for "); + grub_reiserfs_print_key (key); +#endif + block_header = grub_malloc (block_size); + if (! block_header) + goto fail; + + item->next_offset = 0; + do + { + grub_disk_read (data->disk, + block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + (((grub_off_t) block_number * block_size) + & (GRUB_DISK_SECTOR_SIZE - 1)), + block_size, block_header); + if (grub_errno) + goto fail; + current_level = grub_le_to_cpu16 (block_header->level); + grub_dprintf ("reiserfs_tree", " at level %d\n", current_level); + if (current_level >= previous_level) + { + grub_dprintf ("reiserfs_tree", "level loop detected, aborting\n"); + grub_error (GRUB_ERR_FILE_READ_ERROR, "level loop"); + goto fail; + } + previous_level = current_level; + item_count = grub_le_to_cpu16 (block_header->item_count); + grub_dprintf ("reiserfs_tree", " number of contained items : %d\n", + item_count); + if (current_level > 1) + { + /* Internal node. Navigate to the child that should contain + the searched key. */ + struct grub_reiserfs_key *keys + = (struct grub_reiserfs_key *) (block_header + 1); + struct grub_reiserfs_disk_child *children + = ((struct grub_reiserfs_disk_child *) + (keys + item_count)); + + for (i = 0; + i < item_count + && grub_reiserfs_compare_keys (key, &(keys[i])) >= 0; + i++) + { +#ifdef GRUB_REISERFS_DEBUG + grub_printf("i %03d/%03d ", i + 1, item_count + 1); + grub_reiserfs_print_key (&(keys[i])); +#endif + } + block_number = grub_le_to_cpu32 (children[i].block_number); + if ((i < item_count) && (key->directory_id == keys[i].directory_id) + && (key->object_id == keys[i].object_id)) + item->next_offset = grub_reiserfs_get_key_offset(&(keys[i])); +#ifdef GRUB_REISERFS_DEBUG + if (i == item_count + || grub_reiserfs_compare_keys (key, &(keys[i])) == 0) + grub_printf(">"); + else + grub_printf("<"); + if (i < item_count) + { + grub_printf (" %03d/%03d ", i + 1, item_count + 1); + grub_reiserfs_print_key (&(keys[i])); + if (i + 1 < item_count) + { + grub_printf ("+ %03d/%03d ", i + 2, item_count); + grub_reiserfs_print_key (&(keys[i + 1])); + } + } + else + grub_printf ("Accessing rightmost child at block %d.\n", + block_number); +#endif + } + else + { + /* Leaf node. Check that the key is actually present. */ + item_headers + = (struct grub_reiserfs_item_header *) (block_header + 1); + for (i = 0; + i < item_count + && (grub_reiserfs_compare_keys (key, &(item_headers[i].key)) + != 0); + i++) + { +#ifdef GRUB_REISERFS_DEBUG + if (key->directory_id == item_headers[i].key.directory_id && \ + key->object_id == item_headers[i].key.object_id) + grub_printf("C"); + else + grub_printf(" "); + grub_printf(" %03d/%03d ", i + 1, item_count); + grub_reiserfs_print_key (&(item_headers[i].key)); +#endif + } + if (i < item_count) + block_key = &(item_headers[i].key); + } + } + while (current_level > 1); + + item->data = data; + + if (i == item_count || grub_reiserfs_compare_keys (key, block_key)) + { + item->block_number = 0; + item->block_position = 0; + item->type = GRUB_REISERFS_UNKNOWN; +#ifdef GRUB_REISERFS_DEBUG + grub_printf("Not found.\n"); +#endif + } + else + { + item->block_number = block_number; + item->block_position = i; + item->type = grub_reiserfs_get_key_type (block_key); + grub_memcpy (&(item->header), &(item_headers[i]), + sizeof (struct grub_reiserfs_item_header)); +#ifdef GRUB_REISERFS_DEBUG + grub_printf ("F %03d/%03d ", i + 1, item_count); + grub_reiserfs_print_key (block_key); +#endif + } + + assert (grub_errno == GRUB_ERR_NONE); + grub_free (block_header); + return GRUB_ERR_NONE; + + fail: + assert (grub_errno != GRUB_ERR_NONE); + grub_free (block_header); + assert (grub_errno != GRUB_ERR_NONE); + return grub_errno; +} + +/* Return the path of the file which is pointed at by symlink NODE. */ +static char * +grub_reiserfs_read_symlink (grub_fshelp_node_t node) +{ + char *symlink_buffer = 0; + grub_uint16_t block_size; + grub_disk_addr_t block; + grub_off_t offset; + grub_size_t len; + struct grub_fshelp_node found; + struct grub_reiserfs_key key; + + grub_memcpy (&key, &(node->header.key), sizeof (key)); + grub_reiserfs_set_key_offset (&key, 1); + grub_reiserfs_set_key_type (&key, GRUB_REISERFS_DIRECT, + grub_reiserfs_get_key_version (&key)); + + if (grub_reiserfs_get_item (node->data, &key, &found) != GRUB_ERR_NONE) + goto fail; + + if (found.block_number == 0) + goto fail; + + block_size = grub_le_to_cpu16 (node->data->superblock.block_size); + len = grub_le_to_cpu16 (found.header.item_size); + block = found.block_number * (block_size >> GRUB_DISK_SECTOR_BITS); + offset = grub_le_to_cpu16 (found.header.item_location); + + symlink_buffer = grub_malloc (len + 1); + if (! symlink_buffer) + goto fail; + + grub_disk_read (node->data->disk, block, offset, len, symlink_buffer); + if (grub_errno) + goto fail; + + symlink_buffer[len] = 0; + return symlink_buffer; + + fail: + grub_free (symlink_buffer); + return 0; +} + +/* Fill the mounted filesystem structure and return it. */ +static struct grub_reiserfs_data * +grub_reiserfs_mount (grub_disk_t disk) +{ + struct grub_reiserfs_data *data = 0; + data = grub_malloc (sizeof (*data)); + if (! data) + goto fail; + grub_disk_read (disk, REISERFS_SUPER_BLOCK_OFFSET / GRUB_DISK_SECTOR_SIZE, + 0, sizeof (data->superblock), &(data->superblock)); + if (grub_errno) + goto fail; + if (grub_memcmp (data->superblock.magic_string, + REISERFS_MAGIC_STRING, sizeof (REISERFS_MAGIC_STRING) - 1)) + { + grub_error (GRUB_ERR_BAD_FS, "not a ReiserFS filesystem"); + goto fail; + } + data->disk = disk; + return data; + + fail: + /* Disk is too small to contain a ReiserFS. */ + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not a ReiserFS filesystem"); + + grub_free (data); + return 0; +} + +/* Call HOOK for each file in directory ITEM. */ +static int +grub_reiserfs_iterate_dir (grub_fshelp_node_t item, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + struct grub_reiserfs_data *data = item->data; + struct grub_reiserfs_block_header *block_header = 0; + grub_uint16_t block_size, block_position; + grub_uint32_t block_number; + grub_uint64_t next_offset = item->next_offset; + int ret = 0; + + if (item->type != GRUB_REISERFS_DIRECTORY) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, + "grub_reiserfs_iterate_dir called on a non-directory item"); + goto fail; + } + block_size = grub_le_to_cpu16 (data->superblock.block_size); + block_header = grub_malloc (block_size); + if (! block_header) + goto fail; + block_number = item->block_number; + block_position = item->block_position; + grub_dprintf ("reiserfs", "Iterating directory...\n"); + do + { + struct grub_reiserfs_directory_header *directory_headers; + struct grub_fshelp_node directory_item; + grub_uint16_t entry_count, entry_number; + struct grub_reiserfs_item_header *item_headers; + + grub_disk_read (data->disk, + block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + (((grub_off_t) block_number * block_size) + & (GRUB_DISK_SECTOR_SIZE - 1)), + block_size, (char *) block_header); + if (grub_errno) + goto fail; + +#if 0 + if (grub_le_to_cpu16 (block_header->level) != 1) + { + grub_error (GRUB_ERR_TEST_FAILURE, + "reiserfs: block %d is not a leaf block", + block_number); + goto fail; + } +#endif + + item_headers = (struct grub_reiserfs_item_header *) (block_header + 1); + directory_headers + = ((struct grub_reiserfs_directory_header *) + ((char *) block_header + + grub_le_to_cpu16 (item_headers[block_position].item_location))); + entry_count + = grub_le_to_cpu16 (item_headers[block_position].u.entry_count); + for (entry_number = 0; entry_number < entry_count; entry_number++) + { + struct grub_reiserfs_directory_header *directory_header + = &directory_headers[entry_number]; + grub_uint16_t entry_state + = grub_le_to_cpu16 (directory_header->state); + + if (entry_state & GRUB_REISERFS_VISIBLE_MASK) + { + grub_fshelp_node_t entry_item; + struct grub_reiserfs_key entry_key; + enum grub_reiserfs_item_type entry_type; + char *entry_name; + + entry_name = (((char *) directory_headers) + + grub_le_to_cpu16 (directory_header->location)); + entry_key.directory_id = directory_header->directory_id; + entry_key.object_id = directory_header->object_id; + entry_key.u.v2.offset_type = 0; + grub_reiserfs_set_key_type (&entry_key, GRUB_REISERFS_DIRECTORY, + 2); + grub_reiserfs_set_key_offset (&entry_key, 1); + + entry_item = grub_malloc (sizeof (*entry_item)); + if (! entry_item) + goto fail; + + if (grub_reiserfs_get_item (data, &entry_key, entry_item) + != GRUB_ERR_NONE) + { + grub_free (entry_item); + goto fail; + } + + if (entry_item->type == GRUB_REISERFS_DIRECTORY) + entry_type = GRUB_FSHELP_DIR; + else + { + grub_uint32_t entry_block_number; + /* Order is very important here. + First set the offset to 0 using current key version. + Then change the key type, which affects key version + detection. */ + grub_reiserfs_set_key_offset (&entry_key, 0); + grub_reiserfs_set_key_type (&entry_key, GRUB_REISERFS_STAT, + 2); + if (grub_reiserfs_get_item (data, &entry_key, entry_item) + != GRUB_ERR_NONE) + { + grub_free (entry_item); + goto fail; + } + + if (entry_item->block_number != 0) + { + grub_uint16_t entry_version; + entry_version + = grub_le_to_cpu16 (entry_item->header.version); + entry_block_number = entry_item->block_number; +#if 0 + grub_dprintf ("reiserfs", + "version %04x block %08x (%08x) position %08x\n", + entry_version, entry_block_number, + ((grub_disk_addr_t) entry_block_number * block_size) / GRUB_DISK_SECTOR_SIZE, + grub_le_to_cpu16 (entry_item->header.item_location)); +#endif + if (entry_version == 0) /* Version 1 stat item. */ + { + struct grub_reiserfs_stat_item_v1 entry_v1_stat; + grub_disk_read (data->disk, + entry_block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + grub_le_to_cpu16 (entry_item->header.item_location), + sizeof (entry_v1_stat), + (char *) &entry_v1_stat); + if (grub_errno) + goto fail; +#if 0 + grub_dprintf ("reiserfs", + "%04x %04x %04x %04x %08x %08x | %08x %08x %08x %08x\n", + grub_le_to_cpu16 (entry_v1_stat.mode), + grub_le_to_cpu16 (entry_v1_stat.hardlink_count), + grub_le_to_cpu16 (entry_v1_stat.uid), + grub_le_to_cpu16 (entry_v1_stat.gid), + grub_le_to_cpu32 (entry_v1_stat.size), + grub_le_to_cpu32 (entry_v1_stat.atime), + grub_le_to_cpu32 (entry_v1_stat.mtime), + grub_le_to_cpu32 (entry_v1_stat.ctime), + grub_le_to_cpu32 (entry_v1_stat.rdev), + grub_le_to_cpu32 (entry_v1_stat.first_direct_byte)); + grub_dprintf ("reiserfs", + "%04x %04x %04x %04x %08x %08x | %08x %08x %08x %08x\n", + entry_v1_stat.mode, + entry_v1_stat.hardlink_count, + entry_v1_stat.uid, + entry_v1_stat.gid, + entry_v1_stat.size, + entry_v1_stat.atime, + entry_v1_stat.mtime, + entry_v1_stat.ctime, + entry_v1_stat.rdev, + entry_v1_stat.first_direct_byte); +#endif + if ((grub_le_to_cpu16 (entry_v1_stat.mode) & S_IFLNK) + == S_IFLNK) + entry_type = GRUB_FSHELP_SYMLINK; + else + entry_type = GRUB_FSHELP_REG; + } + else + { + struct grub_reiserfs_stat_item_v2 entry_v2_stat; + grub_disk_read (data->disk, + entry_block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + grub_le_to_cpu16 (entry_item->header.item_location), + sizeof (entry_v2_stat), + (char *) &entry_v2_stat); + if (grub_errno) + goto fail; +#if 0 + grub_dprintf ("reiserfs", + "%04x %04x %08x %08x%08x | %08x %08x %08x %08x | %08x %08x %08x\n", + grub_le_to_cpu16 (entry_v2_stat.mode), + grub_le_to_cpu16 (entry_v2_stat.reserved), + grub_le_to_cpu32 (entry_v2_stat.hardlink_count), + (unsigned int) (grub_le_to_cpu64 (entry_v2_stat.size) >> 32), + (unsigned int) (grub_le_to_cpu64 (entry_v2_stat.size) && 0xFFFFFFFF), + grub_le_to_cpu32 (entry_v2_stat.uid), + grub_le_to_cpu32 (entry_v2_stat.gid), + grub_le_to_cpu32 (entry_v2_stat.atime), + grub_le_to_cpu32 (entry_v2_stat.mtime), + grub_le_to_cpu32 (entry_v2_stat.ctime), + grub_le_to_cpu32 (entry_v2_stat.blocks), + grub_le_to_cpu32 (entry_v2_stat.first_direct_byte)); + grub_dprintf ("reiserfs", + "%04x %04x %08x %08x%08x | %08x %08x %08x %08x | %08x %08x %08x\n", + entry_v2_stat.mode, + entry_v2_stat.reserved, + entry_v2_stat.hardlink_count, + (unsigned int) (entry_v2_stat.size >> 32), + (unsigned int) (entry_v2_stat.size && 0xFFFFFFFF), + entry_v2_stat.uid, + entry_v2_stat.gid, + entry_v2_stat.atime, + entry_v2_stat.mtime, + entry_v2_stat.ctime, + entry_v2_stat.blocks, + entry_v2_stat.first_direct_byte); +#endif + if ((grub_le_to_cpu16 (entry_v2_stat.mode) & S_IFLNK) + == S_IFLNK) + entry_type = GRUB_FSHELP_SYMLINK; + else + entry_type = GRUB_FSHELP_REG; + } + } + else + { + /* Pseudo file ".." never has stat block. */ + if (grub_strcmp (entry_name, "..")) + grub_dprintf ("reiserfs", + "Warning : %s has no stat block !\n", + entry_name); + grub_free (entry_item); + goto next; + } + } + if (hook (entry_name, entry_type, entry_item)) + { + grub_dprintf ("reiserfs", "Found : %s, type=%d\n", + entry_name, entry_type); + ret = 1; + goto found; + } + +next: + *entry_name = 0; /* Make sure next entry name (which is just + before this one in disk order) stops before + the current one. */ + } + } + + if (next_offset == 0) + break; + + grub_reiserfs_set_key_offset (&(item_headers[block_position].key), + next_offset); + if (grub_reiserfs_get_item (data, &(item_headers[block_position].key), + &directory_item) != GRUB_ERR_NONE) + goto fail; + block_number = directory_item.block_number; + block_position = directory_item.block_position; + next_offset = directory_item.next_offset; + } + while (block_number); + + found: + assert (grub_errno == GRUB_ERR_NONE); + grub_free (block_header); + return ret; + fail: + assert (grub_errno != GRUB_ERR_NONE); + grub_free (block_header); + return 0; +} + +/****************************************************************************/ +/* grub api functions */ +/****************************************************************************/ + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_reiserfs_open (struct grub_file *file, const char *name) +{ + struct grub_reiserfs_data *data = 0; + struct grub_fshelp_node root, *found = 0, info; + struct grub_reiserfs_key key; + grub_uint32_t block_number; + grub_uint16_t entry_version, block_size, entry_location; + + grub_dl_ref (my_mod); + data = grub_reiserfs_mount (file->device->disk); + if (! data) + goto fail; + block_size = grub_le_to_cpu16 (data->superblock.block_size); + key.directory_id = grub_cpu_to_le32 (1); + key.object_id = grub_cpu_to_le32 (2); + key.u.v2.offset_type = 0; + grub_reiserfs_set_key_type (&key, GRUB_REISERFS_DIRECTORY, 2); + grub_reiserfs_set_key_offset (&key, 1); + if (grub_reiserfs_get_item (data, &key, &root) != GRUB_ERR_NONE) + goto fail; + if (root.block_number == 0) + { + grub_error (GRUB_ERR_BAD_FS, "unable to find root item"); + goto fail; /* Should never happen since checked at mount. */ + } + grub_fshelp_find_file (name, &root, &found, + grub_reiserfs_iterate_dir, + grub_reiserfs_read_symlink, GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + key.directory_id = found->header.key.directory_id; + key.object_id = found->header.key.object_id; + grub_reiserfs_set_key_type (&key, GRUB_REISERFS_STAT, 2); + grub_reiserfs_set_key_offset (&key, 0); + if (grub_reiserfs_get_item (data, &key, &info) != GRUB_ERR_NONE) + goto fail; + if (info.block_number == 0) + { + grub_error (GRUB_ERR_BAD_FS, "unable to find searched item"); + goto fail; + } + entry_version = grub_le_to_cpu16 (info.header.version); + entry_location = grub_le_to_cpu16 (info.header.item_location); + block_number = info.block_number; + if (entry_version == 0) /* Version 1 stat item. */ + { + struct grub_reiserfs_stat_item_v1 entry_v1_stat; + grub_disk_read (data->disk, + block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + entry_location + + (((grub_off_t) block_number * block_size) + & (GRUB_DISK_SECTOR_SIZE - 1)), + sizeof (entry_v1_stat), &entry_v1_stat); + if (grub_errno) + goto fail; + file->size = (grub_off_t) grub_le_to_cpu64 (entry_v1_stat.size); + } + else + { + struct grub_reiserfs_stat_item_v2 entry_v2_stat; + grub_disk_read (data->disk, + block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + entry_location + + (((grub_off_t) block_number * block_size) + & (GRUB_DISK_SECTOR_SIZE - 1)), + sizeof (entry_v2_stat), &entry_v2_stat); + if (grub_errno) + goto fail; + file->size = (grub_off_t) grub_le_to_cpu64 (entry_v2_stat.size); + } + grub_dprintf ("reiserfs", "file size : %d (%08x%08x)\n", + (unsigned int) file->size, + (unsigned int) (file->size >> 32), (unsigned int) file->size); + file->offset = 0; + file->data = found; + return GRUB_ERR_NONE; + + fail: + assert (grub_errno != GRUB_ERR_NONE); + grub_free (found); + grub_free (data); + grub_dl_unref (my_mod); + return grub_errno; +} + +static grub_ssize_t +grub_reiserfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + unsigned int indirect_block, indirect_block_count; + struct grub_reiserfs_key key; + struct grub_fshelp_node *node = file->data; + struct grub_reiserfs_data *data = node->data; + struct grub_fshelp_node found; + grub_uint16_t block_size = grub_le_to_cpu16 (data->superblock.block_size); + grub_uint16_t item_size; + grub_uint32_t *indirect_block_ptr = 0; + grub_uint64_t current_key_offset = 1; + grub_off_t initial_position, current_position, final_position, length; + grub_disk_addr_t block; + grub_off_t offset; + + key.directory_id = node->header.key.directory_id; + key.object_id = node->header.key.object_id; + key.u.v2.offset_type = 0; + grub_reiserfs_set_key_type (&key, GRUB_REISERFS_ANY, 2); + initial_position = file->offset; + current_position = 0; + final_position = MIN (len + initial_position, file->size); + grub_dprintf ("reiserfs", + "Reading from %lld to %lld (%lld instead of requested %ld)\n", + (unsigned long long) initial_position, + (unsigned long long) final_position, + (unsigned long long) (final_position - initial_position), + (unsigned long) len); + while (current_position < final_position) + { + grub_reiserfs_set_key_offset (&key, current_key_offset); + + if (grub_reiserfs_get_item (data, &key, &found) != GRUB_ERR_NONE) + goto fail; + if (found.block_number == 0) + goto fail; + item_size = grub_le_to_cpu16 (found.header.item_size); + switch (found.type) + { + case GRUB_REISERFS_DIRECT: + block = found.block_number * (block_size >> GRUB_DISK_SECTOR_BITS); + grub_dprintf ("reiserfs_blocktype", "D: %u\n", (unsigned) block); + if (initial_position < current_position + item_size) + { + offset = MAX ((signed) (initial_position - current_position), 0); + length = (MIN (item_size, final_position - current_position) + - offset); + grub_dprintf ("reiserfs", + "Reading direct block %u from %u to %u...\n", + (unsigned) block, (unsigned) offset, + (unsigned) (offset + length)); + found.data->disk->read_hook = file->read_hook; + grub_disk_read (found.data->disk, + block, + offset + + grub_le_to_cpu16 (found.header.item_location), + length, buf); + found.data->disk->read_hook = 0; + if (grub_errno) + goto fail; + buf += length; + current_position += offset + length; + } + else + current_position += item_size; + break; + case GRUB_REISERFS_INDIRECT: + indirect_block_count = item_size / sizeof (*indirect_block_ptr); + indirect_block_ptr = grub_malloc (item_size); + if (! indirect_block_ptr) + goto fail; + grub_disk_read (found.data->disk, + found.block_number * (block_size >> GRUB_DISK_SECTOR_BITS), + grub_le_to_cpu16 (found.header.item_location), + item_size, indirect_block_ptr); + if (grub_errno) + goto fail; + found.data->disk->read_hook = file->read_hook; + for (indirect_block = 0; + indirect_block < indirect_block_count + && current_position < final_position; + indirect_block++) + { + block = grub_le_to_cpu32 (indirect_block_ptr[indirect_block]) * + (block_size >> GRUB_DISK_SECTOR_BITS); + grub_dprintf ("reiserfs_blocktype", "I: %u\n", (unsigned) block); + if (current_position + block_size >= initial_position) + { + offset = MAX ((signed) (initial_position - current_position), + 0); + length = (MIN (block_size, final_position - current_position) + - offset); + grub_dprintf ("reiserfs", + "Reading indirect block %u from %u to %u...\n", + (unsigned) block, (unsigned) offset, + (unsigned) (offset + length)); +#if 0 + grub_dprintf ("reiserfs", + "\nib=%04d/%04d, ip=%d, cp=%d, fp=%d, off=%d, l=%d, tl=%d\n", + indirect_block + 1, indirect_block_count, + initial_position, current_position, + final_position, offset, length, len); +#endif + grub_disk_read (found.data->disk, block, offset, length, buf); + if (grub_errno) + goto fail; + buf += length; + current_position += offset + length; + } + else + current_position += block_size; + } + found.data->disk->read_hook = 0; + grub_free (indirect_block_ptr); + indirect_block_ptr = 0; + break; + default: + goto fail; + } + current_key_offset = current_position + 1; + } + + grub_dprintf ("reiserfs", + "Have successfully read %lld bytes (%ld requested)\n", + (unsigned long long) (current_position - initial_position), + (unsigned long) len); + return current_position - initial_position; + +#if 0 + switch (found.type) + { + case GRUB_REISERFS_DIRECT: + read_length = MIN (len, item_size - file->offset); + grub_disk_read (found.data->disk, + (found.block_number * block_size) / GRUB_DISK_SECTOR_SIZE, + grub_le_to_cpu16 (found.header.item_location) + file->offset, + read_length, buf); + if (grub_errno) + goto fail; + break; + case GRUB_REISERFS_INDIRECT: + indirect_block_count = item_size / sizeof (*indirect_block_ptr); + indirect_block_ptr = grub_malloc (item_size); + if (!indirect_block_ptr) + goto fail; + grub_disk_read (found.data->disk, + (found.block_number * block_size) / GRUB_DISK_SECTOR_SIZE, + grub_le_to_cpu16 (found.header.item_location), + item_size, (char *) indirect_block_ptr); + if (grub_errno) + goto fail; + len = MIN (len, file->size - file->offset); + for (indirect_block = file->offset / block_size; + indirect_block < indirect_block_count && read_length < len; + indirect_block++) + { + read = MIN (block_size, len - read_length); + grub_disk_read (found.data->disk, + (grub_le_to_cpu32 (indirect_block_ptr[indirect_block]) * block_size) / GRUB_DISK_SECTOR_SIZE, + file->offset % block_size, read, + ((void *) buf) + read_length); + if (grub_errno) + goto fail; + read_length += read; + } + grub_free (indirect_block_ptr); + break; + default: + goto fail; + } + + return read_length; +#endif + + fail: + grub_free (indirect_block_ptr); + return 0; +} + +/* Close the file FILE. */ +static grub_err_t +grub_reiserfs_close (grub_file_t file) +{ + struct grub_fshelp_node *node = file->data; + struct grub_reiserfs_data *data = node->data; + + grub_free (data); + grub_free (node); + grub_dl_unref (my_mod); + return GRUB_ERR_NONE; +} + +/* Call HOOK with each file under DIR. */ +static grub_err_t +grub_reiserfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_reiserfs_data *data = 0; + struct grub_fshelp_node root, *found; + struct grub_reiserfs_key root_key; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + grub_dl_ref (my_mod); + data = grub_reiserfs_mount (device->disk); + if (! data) + goto fail; + root_key.directory_id = grub_cpu_to_le32 (1); + root_key.object_id = grub_cpu_to_le32 (2); + root_key.u.v2.offset_type = 0; + grub_reiserfs_set_key_type (&root_key, GRUB_REISERFS_DIRECTORY, 2); + grub_reiserfs_set_key_offset (&root_key, 1); + if (grub_reiserfs_get_item (data, &root_key, &root) != GRUB_ERR_NONE) + goto fail; + if (root.block_number == 0) + { + grub_error(GRUB_ERR_BAD_FS, "root not found"); + goto fail; + } + grub_fshelp_find_file (path, &root, &found, grub_reiserfs_iterate_dir, + grub_reiserfs_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + grub_reiserfs_iterate_dir (found, iterate); + grub_free (data); + grub_dl_unref (my_mod); + return GRUB_ERR_NONE; + + fail: + grub_free (data); + grub_dl_unref (my_mod); + return grub_errno; +} + +/* Return the label of the device DEVICE in LABEL. The label is + returned in a grub_malloc'ed buffer and should be freed by the + caller. */ +static grub_err_t +grub_reiserfs_label (grub_device_t device, char **label) +{ + *label = grub_malloc (REISERFS_MAX_LABEL_LENGTH); + if (*label) + { + grub_disk_read (device->disk, + REISERFS_SUPER_BLOCK_OFFSET / GRUB_DISK_SECTOR_SIZE, + REISERFS_LABEL_OFFSET, REISERFS_MAX_LABEL_LENGTH, + *label); + } + return grub_errno; +} + +static grub_err_t +grub_reiserfs_uuid (grub_device_t device, char **uuid) +{ + struct grub_reiserfs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_reiserfs_mount (disk); + if (data) + { + *uuid = grub_xasprintf ("%04x%04x-%04x-%04x-%04x-%04x%04x%04x", + grub_be_to_cpu16 (data->superblock.uuid[0]), + grub_be_to_cpu16 (data->superblock.uuid[1]), + grub_be_to_cpu16 (data->superblock.uuid[2]), + grub_be_to_cpu16 (data->superblock.uuid[3]), + grub_be_to_cpu16 (data->superblock.uuid[4]), + grub_be_to_cpu16 (data->superblock.uuid[5]), + grub_be_to_cpu16 (data->superblock.uuid[6]), + grub_be_to_cpu16 (data->superblock.uuid[7])); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static struct grub_fs grub_reiserfs_fs = + { + .name = "reiserfs", + .dir = grub_reiserfs_dir, + .open = grub_reiserfs_open, + .read = grub_reiserfs_read, + .close = grub_reiserfs_close, + .label = grub_reiserfs_label, + .uuid = grub_reiserfs_uuid, + .next = 0 + }; + +GRUB_MOD_INIT(reiserfs) +{ + grub_fs_register (&grub_reiserfs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(reiserfs) +{ + grub_fs_unregister (&grub_reiserfs_fs); +} diff --git a/grub-core/fs/sfs.c b/grub-core/fs/sfs.c new file mode 100644 index 0000000..4557431 --- /dev/null +++ b/grub-core/fs/sfs.c @@ -0,0 +1,599 @@ +/* sfs.c - Amiga Smart FileSystem. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* The common header for a block. */ +struct grub_sfs_bheader +{ + grub_uint8_t magic[4]; + grub_uint32_t chksum; + grub_uint32_t ipointtomyself; +} __attribute__ ((packed)); + +/* The sfs rootblock. */ +struct grub_sfs_rblock +{ + struct grub_sfs_bheader header; + grub_uint32_t version; + grub_uint8_t unused1[36]; + grub_uint32_t blocksize; + grub_uint8_t unused2[40]; + grub_uint8_t unused3[8]; + grub_uint32_t rootobject; + grub_uint32_t btree; +} __attribute__ ((packed)); + +/* A SFS object container. */ +struct grub_sfs_obj +{ + grub_uint8_t unused1[4]; + grub_uint32_t nodeid; + grub_uint8_t unused2[4]; + union + { + struct + { + grub_uint32_t first_block; + grub_uint32_t size; + } file __attribute__ ((packed)); + struct + { + grub_uint32_t hashtable; + grub_uint32_t dir_objc; + } dir __attribute__ ((packed)); + } file_dir; + grub_uint8_t unused3[4]; + grub_uint8_t type; + grub_uint8_t filename[1]; + grub_uint8_t comment[1]; +} __attribute__ ((packed)); + +#define GRUB_SFS_TYPE_DELETED 32 +#define GRUB_SFS_TYPE_SYMLINK 64 +#define GRUB_SFS_TYPE_DIR 128 + +/* A SFS object container. */ +struct grub_sfs_objc +{ + struct grub_sfs_bheader header; + grub_uint32_t parent; + grub_uint32_t next; + grub_uint32_t prev; + /* The amount of objects depends on the blocksize. */ + struct grub_sfs_obj objects[1]; +} __attribute__ ((packed)); + +struct grub_sfs_btree_node +{ + grub_uint32_t key; + grub_uint32_t data; +} __attribute__ ((packed)); + +struct grub_sfs_btree_extent +{ + grub_uint32_t key; + grub_uint32_t next; + grub_uint32_t prev; + grub_uint16_t size; +} __attribute__ ((packed)); + +struct grub_sfs_btree +{ + struct grub_sfs_bheader header; + grub_uint16_t nodes; + grub_uint8_t leaf; + grub_uint8_t nodesize; + /* Normally this can be kind of node, but just extents are + supported. */ + struct grub_sfs_btree_node node[1]; +} __attribute__ ((packed)); + + + +struct grub_fshelp_node +{ + struct grub_sfs_data *data; + int block; + int size; +}; + +/* Information about a "mounted" sfs filesystem. */ +struct grub_sfs_data +{ + struct grub_sfs_rblock rblock; + struct grub_fshelp_node diropen; + grub_disk_t disk; + + /* Blocksize in sectors. */ + unsigned int blocksize; + + /* Label of the filesystem. */ + char *label; +}; + +static grub_dl_t my_mod; + + +/* Lookup the extent starting with BLOCK in the filesystem described + by DATA. Return the extent size in SIZE and the following extent + in NEXTEXT. */ +static grub_err_t +grub_sfs_read_extent (struct grub_sfs_data *data, unsigned int block, + int *size, int *nextext) +{ + char *treeblock; + struct grub_sfs_btree *tree; + int i; + int next; + + treeblock = grub_malloc (data->blocksize); + if (!block) + return 0; + + next = grub_be_to_cpu32 (data->rblock.btree); + tree = (struct grub_sfs_btree *) treeblock; + + /* Handle this level in the btree. */ + do + { + grub_disk_read (data->disk, next, 0, data->blocksize, treeblock); + if (grub_errno) + { + grub_free (treeblock); + return grub_errno; + } + + for (i = grub_be_to_cpu16 (tree->nodes) - 1; i >= 0; i--) + { + +#define EXTNODE(tree, index) \ + ((struct grub_sfs_btree_node *) (((char *) &(tree)->node[0]) \ + + (index) * (tree)->nodesize)) + + /* Follow the tree down to the leaf level. */ + if ((grub_be_to_cpu32 (EXTNODE(tree, i)->key) <= block) + && !tree->leaf) + { + next = grub_be_to_cpu32 (EXTNODE (tree, i)->data); + break; + } + + /* If the leaf level is reached, just find the correct extent. */ + if (grub_be_to_cpu32 (EXTNODE (tree, i)->key) == block && tree->leaf) + { + struct grub_sfs_btree_extent *extent; + extent = (struct grub_sfs_btree_extent *) EXTNODE (tree, i); + + /* We found a correct leaf. */ + *size = grub_be_to_cpu16 (extent->size); + *nextext = grub_be_to_cpu32 (extent->next); + + grub_free (treeblock); + return 0; + } + +#undef EXTNODE + + } + } while (!tree->leaf); + + grub_free (treeblock); + + return grub_error (GRUB_ERR_FILE_READ_ERROR, "SFS extent not found"); +} + +static grub_disk_addr_t +grub_sfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + int blk = node->block; + int size = 0; + int next = 0; + + while (blk) + { + grub_err_t err; + + /* In case of the first block we don't have to lookup the + extent, the minimum size is always 1. */ + if (fileblock == 0) + return blk; + + err = grub_sfs_read_extent (node->data, blk, &size, &next); + if (err) + return 0; + + if (fileblock < (unsigned int) size) + return fileblock + blk; + + fileblock -= size; + + blk = next; + } + + grub_error (GRUB_ERR_FILE_READ_ERROR, + "reading a SFS block outside the extent"); + + return 0; +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_sfs_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_sfs_read_block, + node->size, 0); +} + + +static struct grub_sfs_data * +grub_sfs_mount (grub_disk_t disk) +{ + struct grub_sfs_data *data; + struct grub_sfs_objc *rootobjc; + char *rootobjc_data = 0; + unsigned int blk; + + data = grub_malloc (sizeof (*data)); + if (!data) + return 0; + + /* Read the rootblock. */ + grub_disk_read (disk, 0, 0, sizeof (struct grub_sfs_rblock), + &data->rblock); + if (grub_errno) + goto fail; + + /* Make sure this is a sfs filesystem. */ + if (grub_strncmp ((char *) (data->rblock.header.magic), "SFS", 4)) + { + grub_error (GRUB_ERR_BAD_FS, "not a SFS filesystem"); + goto fail; + } + + data->blocksize = grub_be_to_cpu32 (data->rblock.blocksize); + rootobjc_data = grub_malloc (data->blocksize); + if (! rootobjc_data) + goto fail; + + /* Read the root object container. */ + grub_disk_read (disk, grub_be_to_cpu32 (data->rblock.rootobject), 0, + data->blocksize, rootobjc_data); + if (grub_errno) + goto fail; + + rootobjc = (struct grub_sfs_objc *) rootobjc_data; + + blk = grub_be_to_cpu32 (rootobjc->objects[0].file_dir.dir.dir_objc); + data->diropen.size = 0; + data->diropen.block = blk; + data->diropen.data = data; + data->disk = disk; + data->label = grub_strdup ((char *) (rootobjc->objects[0].filename)); + + return data; + + fail: + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not an SFS filesystem"); + + grub_free (data); + grub_free (rootobjc_data); + return 0; +} + + +static char * +grub_sfs_read_symlink (grub_fshelp_node_t node) +{ + struct grub_sfs_data *data = node->data; + char *symlink; + char *block; + + block = grub_malloc (data->blocksize); + if (!block) + return 0; + + grub_disk_read (data->disk, node->block, 0, data->blocksize, block); + if (grub_errno) + { + grub_free (block); + return 0; + } + + /* This is just a wild guess, but it always worked for me. How the + SLNK block looks like is not documented in the SFS docs. */ + symlink = grub_strdup (&block[24]); + grub_free (block); + if (!symlink) + return 0; + + return symlink; +} + +static int +grub_sfs_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + struct grub_fshelp_node *node = 0; + struct grub_sfs_data *data = dir->data; + char *objc_data; + struct grub_sfs_objc *objc; + unsigned int next = dir->block; + int pos; + + auto int NESTED_FUNC_ATTR grub_sfs_create_node (const char *name, int block, + int size, int type); + + int NESTED_FUNC_ATTR grub_sfs_create_node (const char *name, int block, + int size, int type) + { + node = grub_malloc (sizeof (*node)); + if (!node) + return 1; + + node->data = data; + node->size = size; + node->block = block; + + return hook (name, type, node); + } + + objc_data = grub_malloc (data->blocksize); + if (!objc_data) + goto fail; + + /* The Object container can consist of multiple blocks, iterate over + every block. */ + while (next) + { + grub_disk_read (data->disk, next, 0, data->blocksize, objc_data); + if (grub_errno) + goto fail; + + objc = (struct grub_sfs_objc *) objc_data; + + pos = (char *) &objc->objects[0] - (char *) objc; + + /* Iterate over all entries in this block. */ + while (pos + sizeof (struct grub_sfs_obj) < data->blocksize) + { + struct grub_sfs_obj *obj; + obj = (struct grub_sfs_obj *) ((char *) objc + pos); + char *filename = (char *) (obj->filename); + int len; + enum grub_fshelp_filetype type; + unsigned int block; + + /* The filename and comment dynamically increase the size of + the object. */ + len = grub_strlen (filename); + len += grub_strlen (filename + len + 1); + + pos += sizeof (*obj) + len; + /* Round up to a multiple of two bytes. */ + pos = ((pos + 1) >> 1) << 1; + + if (grub_strlen (filename) == 0) + continue; + + /* First check if the file was not deleted. */ + if (obj->type & GRUB_SFS_TYPE_DELETED) + continue; + else if (obj->type & GRUB_SFS_TYPE_SYMLINK) + type = GRUB_FSHELP_SYMLINK; + else if (obj->type & GRUB_SFS_TYPE_DIR) + type = GRUB_FSHELP_DIR; + else + type = GRUB_FSHELP_REG; + + if (type == GRUB_FSHELP_DIR) + block = grub_be_to_cpu32 (obj->file_dir.dir.dir_objc); + else + block = grub_be_to_cpu32 (obj->file_dir.file.first_block); + + if (grub_sfs_create_node (filename, block, + grub_be_to_cpu32 (obj->file_dir.file.size), + type)) + { + grub_free (objc_data); + return 1; + } + } + + next = grub_be_to_cpu32 (objc->next); + } + + fail: + grub_free (objc_data); + return 0; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_sfs_open (struct grub_file *file, const char *name) +{ + struct grub_sfs_data *data; + struct grub_fshelp_node *fdiro = 0; + + grub_dl_ref (my_mod); + + data = grub_sfs_mount (file->device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (name, &data->diropen, &fdiro, grub_sfs_iterate_dir, + grub_sfs_read_symlink, GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + + file->size = fdiro->size; + data->diropen = *fdiro; + grub_free (fdiro); + + file->data = data; + file->offset = 0; + + return 0; + + fail: + if (data && fdiro != &data->diropen) + grub_free (fdiro); + if (data) + grub_free (data->label); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_err_t +grub_sfs_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + + +/* Read LEN bytes data from FILE into BUF. */ +static grub_ssize_t +grub_sfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_sfs_data *data = (struct grub_sfs_data *) file->data; + + int size = grub_sfs_read_file (&data->diropen, file->read_hook, + file->offset, len, buf); + + return size; +} + + +static grub_err_t +grub_sfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_sfs_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_sfs_mount (device->disk); + if (!data) + goto fail; + + grub_fshelp_find_file (path, &data->diropen, &fdiro, grub_sfs_iterate_dir, + grub_sfs_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + grub_sfs_iterate_dir (fdiro, iterate); + + fail: + if (data && fdiro != &data->diropen) + grub_free (fdiro); + if (data) + grub_free (data->label); + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_err_t +grub_sfs_label (grub_device_t device, char **label) +{ + struct grub_sfs_data *data; + grub_disk_t disk = device->disk; + + data = grub_sfs_mount (disk); + if (data) + *label = data->label; + + grub_free (data); + + return grub_errno; +} + + +static struct grub_fs grub_sfs_fs = + { + .name = "sfs", + .dir = grub_sfs_dir, + .open = grub_sfs_open, + .read = grub_sfs_read, + .close = grub_sfs_close, + .label = grub_sfs_label, +#ifdef GRUB_UTIL + .reserved_first_sector = 0, +#endif + .next = 0 + }; + +GRUB_MOD_INIT(sfs) +{ + grub_fs_register (&grub_sfs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(sfs) +{ + grub_fs_unregister (&grub_sfs_fs); +} diff --git a/grub-core/fs/tar.c b/grub-core/fs/tar.c new file mode 100644 index 0000000..6ab62bc --- /dev/null +++ b/grub-core/fs/tar.c @@ -0,0 +1,2 @@ +#define MODE_USTAR 1 +#include "cpio.c" diff --git a/grub-core/fs/udf.c b/grub-core/fs/udf.c new file mode 100644 index 0000000..5842d5d --- /dev/null +++ b/grub-core/fs/udf.c @@ -0,0 +1,1061 @@ +/* udf.c - Universal Disk Format filesystem. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_UDF_MAX_PDS 2 +#define GRUB_UDF_MAX_PMS 6 + +#define U16 grub_le_to_cpu16 +#define U32 grub_le_to_cpu32 +#define U64 grub_le_to_cpu64 + +#define GRUB_UDF_TAG_IDENT_PVD 0x0001 +#define GRUB_UDF_TAG_IDENT_AVDP 0x0002 +#define GRUB_UDF_TAG_IDENT_VDP 0x0003 +#define GRUB_UDF_TAG_IDENT_IUVD 0x0004 +#define GRUB_UDF_TAG_IDENT_PD 0x0005 +#define GRUB_UDF_TAG_IDENT_LVD 0x0006 +#define GRUB_UDF_TAG_IDENT_USD 0x0007 +#define GRUB_UDF_TAG_IDENT_TD 0x0008 +#define GRUB_UDF_TAG_IDENT_LVID 0x0009 + +#define GRUB_UDF_TAG_IDENT_FSD 0x0100 +#define GRUB_UDF_TAG_IDENT_FID 0x0101 +#define GRUB_UDF_TAG_IDENT_AED 0x0102 +#define GRUB_UDF_TAG_IDENT_IE 0x0103 +#define GRUB_UDF_TAG_IDENT_TE 0x0104 +#define GRUB_UDF_TAG_IDENT_FE 0x0105 +#define GRUB_UDF_TAG_IDENT_EAHD 0x0106 +#define GRUB_UDF_TAG_IDENT_USE 0x0107 +#define GRUB_UDF_TAG_IDENT_SBD 0x0108 +#define GRUB_UDF_TAG_IDENT_PIE 0x0109 +#define GRUB_UDF_TAG_IDENT_EFE 0x010A + +#define GRUB_UDF_ICBTAG_TYPE_UNDEF 0x00 +#define GRUB_UDF_ICBTAG_TYPE_USE 0x01 +#define GRUB_UDF_ICBTAG_TYPE_PIE 0x02 +#define GRUB_UDF_ICBTAG_TYPE_IE 0x03 +#define GRUB_UDF_ICBTAG_TYPE_DIRECTORY 0x04 +#define GRUB_UDF_ICBTAG_TYPE_REGULAR 0x05 +#define GRUB_UDF_ICBTAG_TYPE_BLOCK 0x06 +#define GRUB_UDF_ICBTAG_TYPE_CHAR 0x07 +#define GRUB_UDF_ICBTAG_TYPE_EA 0x08 +#define GRUB_UDF_ICBTAG_TYPE_FIFO 0x09 +#define GRUB_UDF_ICBTAG_TYPE_SOCKET 0x0A +#define GRUB_UDF_ICBTAG_TYPE_TE 0x0B +#define GRUB_UDF_ICBTAG_TYPE_SYMLINK 0x0C +#define GRUB_UDF_ICBTAG_TYPE_STREAMDIR 0x0D + +#define GRUB_UDF_ICBTAG_FLAG_AD_MASK 0x0007 +#define GRUB_UDF_ICBTAG_FLAG_AD_SHORT 0x0000 +#define GRUB_UDF_ICBTAG_FLAG_AD_LONG 0x0001 +#define GRUB_UDF_ICBTAG_FLAG_AD_EXT 0x0002 +#define GRUB_UDF_ICBTAG_FLAG_AD_IN_ICB 0x0003 + +#define GRUB_UDF_EXT_NORMAL 0x00000000 +#define GRUB_UDF_EXT_NREC_ALLOC 0x40000000 +#define GRUB_UDF_EXT_NREC_NALLOC 0x80000000 +#define GRUB_UDF_EXT_MASK 0xC0000000 + +#define GRUB_UDF_FID_CHAR_HIDDEN 0x01 +#define GRUB_UDF_FID_CHAR_DIRECTORY 0x02 +#define GRUB_UDF_FID_CHAR_DELETED 0x04 +#define GRUB_UDF_FID_CHAR_PARENT 0x08 +#define GRUB_UDF_FID_CHAR_METADATA 0x10 + +#define GRUB_UDF_STD_IDENT_BEA01 "BEA01" +#define GRUB_UDF_STD_IDENT_BOOT2 "BOOT2" +#define GRUB_UDF_STD_IDENT_CD001 "CD001" +#define GRUB_UDF_STD_IDENT_CDW02 "CDW02" +#define GRUB_UDF_STD_IDENT_NSR02 "NSR02" +#define GRUB_UDF_STD_IDENT_NSR03 "NSR03" +#define GRUB_UDF_STD_IDENT_TEA01 "TEA01" + +#define GRUB_UDF_CHARSPEC_TYPE_CS0 0x00 +#define GRUB_UDF_CHARSPEC_TYPE_CS1 0x01 +#define GRUB_UDF_CHARSPEC_TYPE_CS2 0x02 +#define GRUB_UDF_CHARSPEC_TYPE_CS3 0x03 +#define GRUB_UDF_CHARSPEC_TYPE_CS4 0x04 +#define GRUB_UDF_CHARSPEC_TYPE_CS5 0x05 +#define GRUB_UDF_CHARSPEC_TYPE_CS6 0x06 +#define GRUB_UDF_CHARSPEC_TYPE_CS7 0x07 +#define GRUB_UDF_CHARSPEC_TYPE_CS8 0x08 + +#define GRUB_UDF_PARTMAP_TYPE_1 1 +#define GRUB_UDF_PARTMAP_TYPE_2 2 + +struct grub_udf_lb_addr +{ + grub_uint32_t block_num; + grub_uint16_t part_ref; +} __attribute__ ((packed)); + +struct grub_udf_short_ad +{ + grub_uint32_t length; + grub_uint32_t position; +} __attribute__ ((packed)); + +struct grub_udf_long_ad +{ + grub_uint32_t length; + struct grub_udf_lb_addr block; + grub_uint8_t imp_use[6]; +} __attribute__ ((packed)); + +struct grub_udf_extent_ad +{ + grub_uint32_t length; + grub_uint32_t start; +} __attribute__ ((packed)); + +struct grub_udf_charspec +{ + grub_uint8_t charset_type; + grub_uint8_t charset_info[63]; +} __attribute__ ((packed)); + +struct grub_udf_timestamp +{ + grub_uint16_t type_and_timezone; + grub_uint16_t year; + grub_uint8_t month; + grub_uint8_t day; + grub_uint8_t hour; + grub_uint8_t minute; + grub_uint8_t second; + grub_uint8_t centi_seconds; + grub_uint8_t hundreds_of_micro_seconds; + grub_uint8_t micro_seconds; +} __attribute__ ((packed)); + +struct grub_udf_regid +{ + grub_uint8_t flags; + grub_uint8_t ident[23]; + grub_uint8_t ident_suffix[8]; +} __attribute__ ((packed)); + +struct grub_udf_tag +{ + grub_uint16_t tag_ident; + grub_uint16_t desc_version; + grub_uint8_t tag_checksum; + grub_uint8_t reserved; + grub_uint16_t tag_serial_number; + grub_uint16_t desc_crc; + grub_uint16_t desc_crc_length; + grub_uint32_t tag_location; +} __attribute__ ((packed)); + +struct grub_udf_fileset +{ + struct grub_udf_tag tag; + struct grub_udf_timestamp datetime; + grub_uint16_t interchange_level; + grub_uint16_t max_interchange_level; + grub_uint32_t charset_list; + grub_uint32_t max_charset_list; + grub_uint32_t fileset_num; + grub_uint32_t fileset_desc_num; + struct grub_udf_charspec vol_charset; + grub_uint8_t vol_ident[128]; + struct grub_udf_charspec fileset_charset; + grub_uint8_t fileset_ident[32]; + grub_uint8_t copyright_file_ident[32]; + grub_uint8_t abstract_file_ident[32]; + struct grub_udf_long_ad root_icb; + struct grub_udf_regid domain_ident; + struct grub_udf_long_ad next_ext; + struct grub_udf_long_ad streamdir_icb; +} __attribute__ ((packed)); + +struct grub_udf_icbtag +{ + grub_uint32_t prior_recorded_num_direct_entries; + grub_uint16_t strategy_type; + grub_uint16_t strategy_parameter; + grub_uint16_t num_entries; + grub_uint8_t reserved; + grub_uint8_t file_type; + struct grub_udf_lb_addr parent_idb; + grub_uint16_t flags; +} __attribute__ ((packed)); + +struct grub_udf_file_ident +{ + struct grub_udf_tag tag; + grub_uint16_t version_num; + grub_uint8_t characteristics; + grub_uint8_t file_ident_length; + struct grub_udf_long_ad icb; + grub_uint16_t imp_use_length; +} __attribute__ ((packed)); + +struct grub_udf_file_entry +{ + struct grub_udf_tag tag; + struct grub_udf_icbtag icbtag; + grub_uint32_t uid; + grub_uint32_t gid; + grub_uint32_t permissions; + grub_uint16_t link_count; + grub_uint8_t record_format; + grub_uint8_t record_display_attr; + grub_uint32_t record_length; + grub_uint64_t file_size; + grub_uint64_t blocks_recorded; + struct grub_udf_timestamp access_time; + struct grub_udf_timestamp modification_time; + struct grub_udf_timestamp attr_time; + grub_uint32_t checkpoint; + struct grub_udf_long_ad extended_attr_idb; + struct grub_udf_regid imp_ident; + grub_uint64_t unique_id; + grub_uint32_t ext_attr_length; + grub_uint32_t alloc_descs_length; + grub_uint8_t ext_attr[1872]; +} __attribute__ ((packed)); + +struct grub_udf_extended_file_entry +{ + struct grub_udf_tag tag; + struct grub_udf_icbtag icbtag; + grub_uint32_t uid; + grub_uint32_t gid; + grub_uint32_t permissions; + grub_uint16_t link_count; + grub_uint8_t record_format; + grub_uint8_t record_display_attr; + grub_uint32_t record_length; + grub_uint64_t file_size; + grub_uint64_t object_size; + grub_uint64_t blocks_recorded; + struct grub_udf_timestamp access_time; + struct grub_udf_timestamp modification_time; + struct grub_udf_timestamp create_time; + struct grub_udf_timestamp attr_time; + grub_uint32_t checkpoint; + grub_uint32_t reserved; + struct grub_udf_long_ad extended_attr_icb; + struct grub_udf_long_ad streamdir_icb; + struct grub_udf_regid imp_ident; + grub_uint64_t unique_id; + grub_uint32_t ext_attr_length; + grub_uint32_t alloc_descs_length; + grub_uint8_t ext_attr[1832]; +} __attribute__ ((packed)); + +struct grub_udf_vrs +{ + grub_uint8_t type; + grub_uint8_t magic[5]; + grub_uint8_t version; +} __attribute__ ((packed)); + +struct grub_udf_avdp +{ + struct grub_udf_tag tag; + struct grub_udf_extent_ad vds; +} __attribute__ ((packed)); + +struct grub_udf_pd +{ + struct grub_udf_tag tag; + grub_uint32_t seq_num; + grub_uint16_t flags; + grub_uint16_t part_num; + struct grub_udf_regid contents; + grub_uint8_t contents_use[128]; + grub_uint32_t access_type; + grub_uint32_t start; + grub_uint32_t length; +} __attribute__ ((packed)); + +struct grub_udf_partmap +{ + grub_uint8_t type; + grub_uint8_t length; + union + { + struct + { + grub_uint16_t seq_num; + grub_uint16_t part_num; + } type1; + + struct + { + grub_uint8_t ident[62]; + } type2; + }; +}; + +struct grub_udf_lvd +{ + struct grub_udf_tag tag; + grub_uint32_t seq_num; + struct grub_udf_charspec charset; + grub_uint8_t ident[128]; + grub_uint32_t bsize; + struct grub_udf_regid domain_ident; + struct grub_udf_long_ad root_fileset; + grub_uint32_t map_table_length; + grub_uint32_t num_part_maps; + struct grub_udf_regid imp_ident; + grub_uint8_t imp_use[128]; + struct grub_udf_extent_ad integrity_seq_ext; + grub_uint8_t part_maps[1608]; +} __attribute__ ((packed)); + +struct grub_udf_aed +{ + struct grub_udf_tag tag; + grub_uint32_t prev_ae; + grub_uint32_t ae_len; +} __attribute__ ((packed)); + +struct grub_udf_data +{ + grub_disk_t disk; + struct grub_udf_lvd lvd; + struct grub_udf_pd pds[GRUB_UDF_MAX_PDS]; + struct grub_udf_partmap *pms[GRUB_UDF_MAX_PMS]; + struct grub_udf_long_ad root_icb; + int npd, npm, lbshift; +}; + +struct grub_fshelp_node +{ + struct grub_udf_data *data; + union + { + struct grub_udf_file_entry fe; + struct grub_udf_extended_file_entry efe; + }; + int part_ref; +}; + +static grub_dl_t my_mod; + +static grub_uint32_t +grub_udf_get_block (struct grub_udf_data *data, + grub_uint16_t part_ref, grub_uint32_t block) +{ + part_ref = U16 (part_ref); + + if (part_ref >= data->npm) + { + grub_error (GRUB_ERR_BAD_FS, "invalid part ref"); + return 0; + } + + return (U32 (data->pds[data->pms[part_ref]->type1.part_num].start) + + U32 (block)); +} + +static grub_err_t +grub_udf_read_icb (struct grub_udf_data *data, + struct grub_udf_long_ad *icb, + struct grub_fshelp_node *node) +{ + grub_uint32_t block; + + block = grub_udf_get_block (data, + icb->block.part_ref, + icb->block.block_num); + + if (grub_errno) + return grub_errno; + + if (grub_disk_read (data->disk, block << data->lbshift, 0, + sizeof (struct grub_udf_file_entry), + &node->fe)) + return grub_errno; + + if ((U16 (node->fe.tag.tag_ident) != GRUB_UDF_TAG_IDENT_FE) && + (U16 (node->fe.tag.tag_ident) != GRUB_UDF_TAG_IDENT_EFE)) + return grub_error (GRUB_ERR_BAD_FS, "invalid fe/efe descriptor"); + + node->part_ref = icb->block.part_ref; + node->data = data; + return 0; +} + +static grub_disk_addr_t +grub_udf_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + char *buf = NULL; + char *ptr; + grub_ssize_t len; + grub_disk_addr_t filebytes; + + switch (U16 (node->fe.tag.tag_ident)) + { + case GRUB_UDF_TAG_IDENT_FE: + ptr = (char *) &node->fe.ext_attr[0] + U32 (node->fe.ext_attr_length); + len = U32 (node->fe.alloc_descs_length); + break; + + case GRUB_UDF_TAG_IDENT_EFE: + ptr = (char *) &node->efe.ext_attr[0] + U32 (node->efe.ext_attr_length); + len = U32 (node->efe.alloc_descs_length); + break; + + default: + grub_error (GRUB_ERR_BAD_FS, "invalid file entry"); + return 0; + } + + if ((U16 (node->fe.icbtag.flags) & GRUB_UDF_ICBTAG_FLAG_AD_MASK) + == GRUB_UDF_ICBTAG_FLAG_AD_SHORT) + { + struct grub_udf_short_ad *ad = (struct grub_udf_short_ad *) ptr; + + filebytes = fileblock * U32 (node->data->lvd.bsize); + while (len >= (grub_ssize_t) sizeof (struct grub_udf_short_ad)) + { + grub_uint32_t adlen = U32 (ad->length) & 0x3fffffff; + grub_uint32_t adtype = U32 (ad->length) >> 30; + if (adtype == 3) + { + struct grub_udf_aed *extension; + grub_disk_addr_t sec = grub_udf_get_block(node->data, + node->part_ref, + ad->position); + if (!buf) + { + buf = grub_malloc (U32 (node->data->lvd.bsize)); + if (!buf) + return 0; + } + if (grub_disk_read (node->data->disk, sec << node->data->lbshift, + 0, adlen, buf)) + goto fail; + + extension = (struct grub_udf_aed *) buf; + if (U16 (extension->tag.tag_ident) != GRUB_UDF_TAG_IDENT_AED) + { + grub_error (GRUB_ERR_BAD_FS, "invalid aed tag"); + goto fail; + } + + len = U32 (extension->ae_len); + ad = (struct grub_udf_short_ad *) + (buf + sizeof (struct grub_udf_aed)); + continue; + } + + if (filebytes < adlen) + { + grub_uint32_t ad_pos = ad->position; + grub_free (buf); + return ((U32 (ad_pos) & GRUB_UDF_EXT_MASK) ? 0 : + (grub_udf_get_block (node->data, node->part_ref, ad_pos) + + (filebytes >> (GRUB_DISK_SECTOR_BITS + + node->data->lbshift)))); + } + + filebytes -= adlen; + ad++; + len -= sizeof (struct grub_udf_short_ad); + } + } + else + { + struct grub_udf_long_ad *ad = (struct grub_udf_long_ad *) ptr; + + filebytes = fileblock * U32 (node->data->lvd.bsize); + while (len >= (grub_ssize_t) sizeof (struct grub_udf_long_ad)) + { + grub_uint32_t adlen = U32 (ad->length) & 0x3fffffff; + grub_uint32_t adtype = U32 (ad->length) >> 30; + if (adtype == 3) + { + struct grub_udf_aed *extension; + grub_disk_addr_t sec = grub_udf_get_block(node->data, + ad->block.part_ref, + ad->block.block_num); + if (!buf) + { + buf = grub_malloc (U32 (node->data->lvd.bsize)); + if (!buf) + return 0; + } + if (grub_disk_read (node->data->disk, sec << node->data->lbshift, + 0, adlen, buf)) + goto fail; + + extension = (struct grub_udf_aed *) buf; + if (U16 (extension->tag.tag_ident) != GRUB_UDF_TAG_IDENT_AED) + { + grub_error (GRUB_ERR_BAD_FS, "invalid aed tag"); + goto fail; + } + + len = U32 (extension->ae_len); + ad = (struct grub_udf_long_ad *) + (buf + sizeof (struct grub_udf_aed)); + continue; + } + + if (filebytes < adlen) + { + grub_uint32_t ad_block_num = ad->block.block_num; + grub_uint32_t ad_part_ref = ad->block.part_ref; + grub_free (buf); + return ((U32 (ad_block_num) & GRUB_UDF_EXT_MASK) ? 0 : + (grub_udf_get_block (node->data, ad_part_ref, + ad_block_num) + + (filebytes >> (GRUB_DISK_SECTOR_BITS + + node->data->lbshift)))); + } + + filebytes -= adlen; + ad++; + len -= sizeof (struct grub_udf_long_ad); + } + } + +fail: + if (buf) + grub_free (buf); + + return 0; +} + +static grub_ssize_t +grub_udf_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR + (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + grub_off_t pos, grub_size_t len, char *buf) +{ + switch (U16 (node->fe.icbtag.flags) & GRUB_UDF_ICBTAG_FLAG_AD_MASK) + { + case GRUB_UDF_ICBTAG_FLAG_AD_IN_ICB: + { + char *ptr; + + ptr = ((U16 (node->fe.tag.tag_ident) == GRUB_UDF_TAG_IDENT_FE) ? + ((char *) &node->fe.ext_attr[0] + + U32 (node->fe.ext_attr_length)) : + ((char *) &node->efe.ext_attr[0] + + U32 (node->efe.ext_attr_length))); + + grub_memcpy (buf, ptr + pos, len); + + return len; + } + + case GRUB_UDF_ICBTAG_FLAG_AD_EXT: + grub_error (GRUB_ERR_BAD_FS, "invalid extent type"); + return 0; + } + + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_udf_read_block, + U64 (node->fe.file_size), + node->data->lbshift); +} + +static unsigned sblocklist[] = { 256, 512, 0 }; + +static struct grub_udf_data * +grub_udf_mount (grub_disk_t disk) +{ + struct grub_udf_data *data = 0; + struct grub_udf_fileset root_fs; + unsigned *sblklist; + grub_uint32_t block, vblock; + int i, lbshift; + + data = grub_malloc (sizeof (struct grub_udf_data)); + if (!data) + return 0; + + data->disk = disk; + + /* Search for Anchor Volume Descriptor Pointer (AVDP) + * and determine logical block size. */ + block = 0; + for (lbshift = 0; lbshift < 4; lbshift++) + { + for (sblklist = sblocklist; *sblklist; sblklist++) + { + struct grub_udf_avdp avdp; + + if (grub_disk_read (disk, *sblklist << lbshift, 0, + sizeof (struct grub_udf_avdp), &avdp)) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + + if (U16 (avdp.tag.tag_ident) == GRUB_UDF_TAG_IDENT_AVDP && + U32 (avdp.tag.tag_location) == *sblklist) + { + block = U32 (avdp.vds.start); + break; + } + } + + if (block) + break; + } + + if (!block) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + data->lbshift = lbshift; + + /* Search for Volume Recognition Sequence (VRS). */ + for (vblock = (32767 >> (lbshift + GRUB_DISK_SECTOR_BITS)) + 1;; + vblock += (2047 >> (lbshift + GRUB_DISK_SECTOR_BITS)) + 1) + { + struct grub_udf_vrs vrs; + + if (grub_disk_read (disk, vblock << lbshift, 0, + sizeof (struct grub_udf_vrs), &vrs)) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + + if ((!grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_NSR03, 5)) || + (!grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_NSR02, 5))) + break; + + if ((grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_BEA01, 5)) && + (grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_BOOT2, 5)) && + (grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_CD001, 5)) && + (grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_CDW02, 5)) && + (grub_memcmp (vrs.magic, GRUB_UDF_STD_IDENT_TEA01, 5))) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + } + + data->npd = data->npm = 0; + /* Locate Partition Descriptor (PD) and Logical Volume Descriptor (LVD). */ + while (1) + { + struct grub_udf_tag tag; + + if (grub_disk_read (disk, block << lbshift, 0, + sizeof (struct grub_udf_tag), &tag)) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + + tag.tag_ident = U16 (tag.tag_ident); + if (tag.tag_ident == GRUB_UDF_TAG_IDENT_PD) + { + if (data->npd >= GRUB_UDF_MAX_PDS) + { + grub_error (GRUB_ERR_BAD_FS, "too many PDs"); + goto fail; + } + + if (grub_disk_read (disk, block << lbshift, 0, + sizeof (struct grub_udf_pd), + &data->pds[data->npd])) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + + data->npd++; + } + else if (tag.tag_ident == GRUB_UDF_TAG_IDENT_LVD) + { + int k; + + struct grub_udf_partmap *ppm; + + if (grub_disk_read (disk, block << lbshift, 0, + sizeof (struct grub_udf_lvd), + &data->lvd)) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + + if (data->npm + U32 (data->lvd.num_part_maps) > GRUB_UDF_MAX_PMS) + { + grub_error (GRUB_ERR_BAD_FS, "too many partition maps"); + goto fail; + } + + ppm = (struct grub_udf_partmap *) &data->lvd.part_maps; + for (k = U32 (data->lvd.num_part_maps); k > 0; k--) + { + if (ppm->type != GRUB_UDF_PARTMAP_TYPE_1) + { + grub_error (GRUB_ERR_BAD_FS, "partmap type not supported"); + goto fail; + } + + data->pms[data->npm++] = ppm; + ppm = (struct grub_udf_partmap *) ((char *) ppm + + U32 (ppm->length)); + } + } + else if (tag.tag_ident > GRUB_UDF_TAG_IDENT_TD) + { + grub_error (GRUB_ERR_BAD_FS, "invalid tag ident"); + goto fail; + } + else if (tag.tag_ident == GRUB_UDF_TAG_IDENT_TD) + break; + + block++; + } + + for (i = 0; i < data->npm; i++) + { + int j; + + for (j = 0; j < data->npd; j++) + if (data->pms[i]->type1.part_num == data->pds[j].part_num) + { + data->pms[i]->type1.part_num = j; + break; + } + + if (j == data->npd) + { + grub_error (GRUB_ERR_BAD_FS, "can\'t find PD"); + goto fail; + } + } + + block = grub_udf_get_block (data, + data->lvd.root_fileset.block.part_ref, + data->lvd.root_fileset.block.block_num); + + if (grub_errno) + goto fail; + + if (grub_disk_read (disk, block << lbshift, 0, + sizeof (struct grub_udf_fileset), &root_fs)) + { + grub_error (GRUB_ERR_BAD_FS, "not an UDF filesystem"); + goto fail; + } + + if (U16 (root_fs.tag.tag_ident) != GRUB_UDF_TAG_IDENT_FSD) + { + grub_error (GRUB_ERR_BAD_FS, "invalid fileset descriptor"); + goto fail; + } + + data->root_icb = root_fs.root_icb; + + return data; + +fail: + grub_free (data); + return 0; +} + +static char * +read_string (grub_uint8_t *raw, grub_size_t sz) +{ + grub_uint16_t *utf16 = NULL; + char *ret; + grub_size_t utf16len = 0; + + if (raw[0] != 8 && raw[0] != 16) + return NULL; + + if (raw[0] == 8) + { + unsigned i; + utf16len = sz - 1; + utf16 = grub_malloc (utf16len * sizeof (utf16[0])); + if (!utf16) + return NULL; + for (i = 0; i < utf16len; i++) + utf16[i] = raw[i + 1]; + } + if (raw[0] == 16) + { + unsigned i; + utf16len = (sz - 1) / 2; + utf16 = grub_malloc (utf16len * sizeof (utf16[0])); + if (!utf16) + return NULL; + for (i = 0; i < utf16len; i++) + utf16[i] = (raw[2 * i + 1] << 8) | raw[2*i + 2]; + } + ret = grub_malloc (utf16len * 3 + 1); + if (ret) + *grub_utf16_to_utf8 ((grub_uint8_t *) ret, utf16, utf16len) = '\0'; + grub_free (utf16); + return ret; +} + +static int +grub_udf_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + grub_fshelp_node_t child; + struct grub_udf_file_ident dirent; + grub_off_t offset = 0; + + child = grub_malloc (sizeof (struct grub_fshelp_node)); + if (!child) + return 0; + + /* The current directory is not stored. */ + grub_memcpy ((char *) child, (char *) dir, + sizeof (struct grub_fshelp_node)); + + if (hook (".", GRUB_FSHELP_DIR, child)) + return 1; + + while (offset < U64 (dir->fe.file_size)) + { + if (grub_udf_read_file (dir, 0, offset, sizeof (dirent), + (char *) &dirent) != sizeof (dirent)) + return 0; + + if (U16 (dirent.tag.tag_ident) != GRUB_UDF_TAG_IDENT_FID) + { + grub_error (GRUB_ERR_BAD_FS, "invalid fid tag"); + return 0; + } + + offset += sizeof (dirent) + U16 (dirent.imp_use_length); + if (!(dirent.characteristics & GRUB_UDF_FID_CHAR_DELETED)) + { + child = grub_malloc (sizeof (struct grub_fshelp_node)); + if (!child) + return 0; + + if (grub_udf_read_icb (dir->data, &dirent.icb, child)) + return 0; + + if (dirent.characteristics & GRUB_UDF_FID_CHAR_PARENT) + { + /* This is the parent directory. */ + if (hook ("..", GRUB_FSHELP_DIR, child)) + return 1; + } + else + { + enum grub_fshelp_filetype type; + char *filename; + grub_uint8_t raw[dirent.file_ident_length]; + + type = ((dirent.characteristics & GRUB_UDF_FID_CHAR_DIRECTORY) ? + (GRUB_FSHELP_DIR) : (GRUB_FSHELP_REG)); + + if ((grub_udf_read_file (dir, 0, offset, + dirent.file_ident_length, + (char *) raw)) + != dirent.file_ident_length) + return 0; + + filename = read_string (raw, dirent.file_ident_length); + if (!filename) + grub_print_error (); + + if (filename && hook (filename, type, child)) + { + grub_free (filename); + return 1; + } + grub_free (filename); + } + } + + /* Align to dword boundary. */ + offset = (offset + dirent.file_ident_length + 3) & (~3); + } + + return 0; +} + +static grub_err_t +grub_udf_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_udf_data *data = 0; + struct grub_fshelp_node rootnode; + struct grub_fshelp_node *foundnode; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_udf_mount (device->disk); + if (!data) + goto fail; + + if (grub_udf_read_icb (data, &data->root_icb, &rootnode)) + goto fail; + + if (grub_fshelp_find_file (path, &rootnode, + &foundnode, + grub_udf_iterate_dir, 0, GRUB_FSHELP_DIR)) + goto fail; + + grub_udf_iterate_dir (foundnode, iterate); + + if (foundnode != &rootnode) + grub_free (foundnode); + +fail: + grub_free (data); + + grub_dl_unref (my_mod); + + return grub_errno; +} + +static grub_err_t +grub_udf_open (struct grub_file *file, const char *name) +{ + struct grub_udf_data *data; + struct grub_fshelp_node rootnode; + struct grub_fshelp_node *foundnode; + + grub_dl_ref (my_mod); + + data = grub_udf_mount (file->device->disk); + if (!data) + goto fail; + + if (grub_udf_read_icb (data, &data->root_icb, &rootnode)) + goto fail; + + if (grub_fshelp_find_file (name, &rootnode, + &foundnode, + grub_udf_iterate_dir, 0, GRUB_FSHELP_REG)) + goto fail; + + file->data = foundnode; + file->offset = 0; + file->size = U64 (foundnode->fe.file_size); + + return 0; + +fail: + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static grub_ssize_t +grub_udf_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_fshelp_node *node = (struct grub_fshelp_node *) file->data; + + return grub_udf_read_file (node, file->read_hook, file->offset, len, buf); +} + +static grub_err_t +grub_udf_close (grub_file_t file) +{ + if (file->data) + { + struct grub_fshelp_node *node = (struct grub_fshelp_node *) file->data; + + grub_free (node->data); + grub_free (node); + } + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_udf_label (grub_device_t device, char **label) +{ + struct grub_udf_data *data; + data = grub_udf_mount (device->disk); + + if (data) + { + *label = read_string (data->lvd.ident, sizeof (data->lvd.ident)); + grub_free (data); + } + else + *label = 0; + + return grub_errno; +} + +static struct grub_fs grub_udf_fs = { + .name = "udf", + .dir = grub_udf_dir, + .open = grub_udf_open, + .read = grub_udf_read, + .close = grub_udf_close, + .label = grub_udf_label, + .next = 0 +}; + +GRUB_MOD_INIT (udf) +{ + grub_fs_register (&grub_udf_fs); + my_mod = mod; +} + +GRUB_MOD_FINI (udf) +{ + grub_fs_unregister (&grub_udf_fs); +} diff --git a/grub-core/fs/ufs.c b/grub-core/fs/ufs.c new file mode 100644 index 0000000..86fe8af --- /dev/null +++ b/grub-core/fs/ufs.c @@ -0,0 +1,812 @@ +/* ufs.c - Unix File System */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#ifdef MODE_UFS2 +#define GRUB_UFS_MAGIC 0x19540119 +#else +#define GRUB_UFS_MAGIC 0x11954 +#endif + +#define GRUB_UFS_INODE 2 +#define GRUB_UFS_FILETYPE_DIR 4 +#define GRUB_UFS_FILETYPE_LNK 10 +#define GRUB_UFS_MAX_SYMLNK_CNT 8 + +#define GRUB_UFS_DIRBLKS 12 +#define GRUB_UFS_INDIRBLKS 3 + +#define GRUB_UFS_ATTR_TYPE 0160000 +#define GRUB_UFS_ATTR_FILE 0100000 +#define GRUB_UFS_ATTR_DIR 0040000 +#define GRUB_UFS_ATTR_LNK 0120000 + +#define GRUB_UFS_VOLNAME_LEN 32 + +/* Calculate in which group the inode can be found. */ +#define UFS_BLKSZ(sblock) (grub_le_to_cpu32 (sblock->bsize)) + +#define INODE(data,field) data->inode. field +#ifdef MODE_UFS2 +#define INODE_ENDIAN(data,field,bits1,bits2) grub_le_to_cpu##bits2 (data->inode.field) +#else +#define INODE_ENDIAN(data,field,bits1,bits2) grub_le_to_cpu##bits1 (data->inode.field) +#endif + +#define INODE_SIZE(data) INODE_ENDIAN (data,size,32,64) +#define INODE_NBLOCKS(data) INODE_ENDIAN (data,nblocks,32,64) + +#define INODE_MODE(data) INODE_ENDIAN (data,mode,16,16) +#ifdef MODE_UFS2 +#define INODE_BLKSZ 8 +#else +#define INODE_BLKSZ 4 +#endif +#ifdef MODE_UFS2 +#define UFS_INODE_PER_BLOCK 2 +#else +#define UFS_INODE_PER_BLOCK 4 +#endif +#define INODE_DIRBLOCKS(data,blk) INODE_ENDIAN \ + (data,blocks.dir_blocks[blk],32,64) +#define INODE_INDIRBLOCKS(data,blk) INODE_ENDIAN \ + (data,blocks.indir_blocks[blk],32,64) + +/* The blocks on which the superblock can be found. */ +static int sblocklist[] = { 128, 16, 0, 512, -1 }; + +struct grub_ufs_sblock +{ + grub_uint8_t unused[16]; + /* The offset of the inodes in the cylinder group. */ + grub_uint32_t inoblk_offs; + + grub_uint8_t unused2[4]; + + /* The start of the cylinder group. */ + grub_uint32_t cylg_offset; + grub_uint32_t cylg_mask; + + grub_uint32_t mtime; + grub_uint8_t unused4[12]; + + /* The size of a block in bytes. */ + grub_int32_t bsize; + grub_uint8_t unused5[48]; + + /* The size of filesystem blocks to disk blocks. */ + grub_uint32_t log2_blksz; + grub_uint8_t unused6[40]; + grub_uint32_t uuidhi; + grub_uint32_t uuidlow; + grub_uint8_t unused7[32]; + + /* Inodes stored per cylinder group. */ + grub_uint32_t ino_per_group; + + /* The frags per cylinder group. */ + grub_uint32_t frags_per_group; + + grub_uint8_t unused8[488]; + + /* Volume name for UFS2. */ + grub_uint8_t volume_name[GRUB_UFS_VOLNAME_LEN]; + grub_uint8_t unused9[360]; + + grub_uint64_t mtime2; + grub_uint8_t unused10[292]; + + /* Magic value to check if this is really a UFS filesystem. */ + grub_uint32_t magic; +}; + +#ifdef MODE_UFS2 +/* UFS inode. */ +struct grub_ufs_inode +{ + grub_uint16_t mode; + grub_uint16_t nlinks; + grub_uint32_t uid; + grub_uint32_t gid; + grub_uint32_t blocksize; + grub_int64_t size; + grub_int64_t nblocks; + grub_uint64_t atime; + grub_uint64_t mtime; + grub_uint64_t ctime; + grub_uint64_t create_time; + grub_uint32_t atime_sec; + grub_uint32_t mtime_sec; + grub_uint32_t ctime_sec; + grub_uint32_t create_time_sec; + grub_uint32_t gen; + grub_uint32_t kernel_flags; + grub_uint32_t flags; + grub_uint32_t extsz; + grub_uint64_t ext[2]; + union + { + struct + { + grub_uint64_t dir_blocks[GRUB_UFS_DIRBLKS]; + grub_uint64_t indir_blocks[GRUB_UFS_INDIRBLKS]; + } blocks; + grub_uint8_t symlink[(GRUB_UFS_DIRBLKS + GRUB_UFS_INDIRBLKS) * 8]; + }; + + grub_uint8_t unused[24]; +} __attribute__ ((packed)); +#else +/* UFS inode. */ +struct grub_ufs_inode +{ + grub_uint16_t mode; + grub_uint16_t nlinks; + grub_uint16_t uid; + grub_uint16_t gid; + grub_int64_t size; + grub_uint64_t atime; + grub_uint64_t mtime; + grub_uint64_t ctime; + union + { + struct + { + grub_uint32_t dir_blocks[GRUB_UFS_DIRBLKS]; + grub_uint32_t indir_blocks[GRUB_UFS_INDIRBLKS]; + } blocks; + grub_uint8_t symlink[(GRUB_UFS_DIRBLKS + GRUB_UFS_INDIRBLKS) * 4]; + }; + grub_uint32_t flags; + grub_uint32_t nblocks; + grub_uint32_t gen; + grub_uint32_t unused; + grub_uint8_t pad[12]; +} __attribute__ ((packed)); +#endif + +/* Directory entry. */ +struct grub_ufs_dirent +{ + grub_uint32_t ino; + grub_uint16_t direntlen; + union + { + grub_uint16_t namelen; + struct + { + grub_uint8_t filetype_bsd; + grub_uint8_t namelen_bsd; + }; + }; +} __attribute__ ((packed)); + +/* Information about a "mounted" ufs filesystem. */ +struct grub_ufs_data +{ + struct grub_ufs_sblock sblock; + grub_disk_t disk; + struct grub_ufs_inode inode; + int ino; + int linknest; +}; + +static grub_dl_t my_mod; + +/* Forward declaration. */ +static grub_err_t grub_ufs_find_file (struct grub_ufs_data *data, + const char *path); + + +static grub_disk_addr_t +grub_ufs_get_file_block (struct grub_ufs_data *data, unsigned int blk) +{ + struct grub_ufs_sblock *sblock = &data->sblock; + unsigned int indirsz; + int log2_blksz; + + /* Direct. */ + if (blk < GRUB_UFS_DIRBLKS) + return INODE_DIRBLOCKS (data, blk); + + log2_blksz = grub_le_to_cpu32 (data->sblock.log2_blksz); + + blk -= GRUB_UFS_DIRBLKS; + + indirsz = UFS_BLKSZ (sblock) / INODE_BLKSZ; + /* Single indirect block. */ + if (blk < indirsz) + { +#ifdef MODE_UFS2 + grub_uint64_t indir[UFS_BLKSZ (sblock) / sizeof (grub_uint64_t)]; +#else + grub_uint32_t indir[UFS_BLKSZ (sblock) / sizeof (grub_uint32_t)]; +#endif + grub_disk_read (data->disk, INODE_INDIRBLOCKS (data, 0) << log2_blksz, + 0, sizeof (indir), indir); + return indir[blk]; + } + blk -= indirsz; + + /* Double indirect block. */ + if (blk < indirsz * indirsz) + { +#ifdef MODE_UFS2 + grub_uint64_t indir[UFS_BLKSZ (sblock) / sizeof (grub_uint64_t)]; +#else + grub_uint32_t indir[UFS_BLKSZ (sblock) / sizeof (grub_uint32_t)]; +#endif + + grub_disk_read (data->disk, INODE_INDIRBLOCKS (data, 1) << log2_blksz, + 0, sizeof (indir), indir); + grub_disk_read (data->disk, + (indir [blk / indirsz]) + << log2_blksz, + 0, sizeof (indir), indir); + + return indir[blk % indirsz]; + } + + + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "ufs does not support triple indirect blocks"); + return 0; +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_ufs_read_file (struct grub_ufs_data *data, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + struct grub_ufs_sblock *sblock = &data->sblock; + int i; + int blockcnt; + + /* Adjust len so it we can't read past the end of the file. */ + if (len + pos > INODE_SIZE (data)) + len = INODE_SIZE (data) - pos; + + blockcnt = (len + pos + UFS_BLKSZ (sblock) - 1) / UFS_BLKSZ (sblock); + + for (i = pos / UFS_BLKSZ (sblock); i < blockcnt; i++) + { + int blknr; + int blockoff = pos % UFS_BLKSZ (sblock); + int blockend = UFS_BLKSZ (sblock); + + int skipfirst = 0; + + blknr = grub_ufs_get_file_block (data, i); + if (grub_errno) + return -1; + + /* Last block. */ + if (i == blockcnt - 1) + { + blockend = (len + pos) % UFS_BLKSZ (sblock); + + if (!blockend) + blockend = UFS_BLKSZ (sblock); + } + + /* First block. */ + if (i == (pos / (int) UFS_BLKSZ (sblock))) + { + skipfirst = blockoff; + blockend -= skipfirst; + } + + /* XXX: If the block number is 0 this block is not stored on + disk but is zero filled instead. */ + if (blknr) + { + data->disk->read_hook = read_hook; + grub_disk_read (data->disk, + blknr << grub_le_to_cpu32 (data->sblock.log2_blksz), + skipfirst, blockend, buf); + data->disk->read_hook = 0; + if (grub_errno) + return -1; + } + else + grub_memset (buf, UFS_BLKSZ (sblock) - skipfirst, 0); + + buf += UFS_BLKSZ (sblock) - skipfirst; + } + + return len; +} + +/* Read inode INO from the mounted filesystem described by DATA. This + inode is used by default now. */ +static grub_err_t +grub_ufs_read_inode (struct grub_ufs_data *data, int ino, char *inode) +{ + struct grub_ufs_sblock *sblock = &data->sblock; + + /* Determine the group the inode is in. */ + int group = ino / grub_le_to_cpu32 (sblock->ino_per_group); + + /* Determine the inode within the group. */ + int grpino = ino % grub_le_to_cpu32 (sblock->ino_per_group); + + /* The first block of the group. */ + int grpblk = group * (grub_le_to_cpu32 (sblock->frags_per_group)); + +#ifndef MODE_UFS2 + grpblk += grub_le_to_cpu32 (sblock->cylg_offset) + * (group & (~grub_le_to_cpu32 (sblock->cylg_mask))); +#endif + + if (!inode) + { + inode = (char *) &data->inode; + data->ino = ino; + } + + grub_disk_read (data->disk, + ((grub_le_to_cpu32 (sblock->inoblk_offs) + grpblk) + << grub_le_to_cpu32 (data->sblock.log2_blksz)) + + grpino / UFS_INODE_PER_BLOCK, + (grpino % UFS_INODE_PER_BLOCK) + * sizeof (struct grub_ufs_inode), + sizeof (struct grub_ufs_inode), + inode); + + return grub_errno; +} + + +/* Lookup the symlink the current inode points to. INO is the inode + number of the directory the symlink is relative to. */ +static grub_err_t +grub_ufs_lookup_symlink (struct grub_ufs_data *data, int ino) +{ + char symlink[INODE_SIZE (data)]; + + if (++data->linknest > GRUB_UFS_MAX_SYMLNK_CNT) + return grub_error (GRUB_ERR_SYMLINK_LOOP, "too deep nesting of symlinks"); + + if (INODE_NBLOCKS (data) == 0) + grub_strcpy (symlink, (char *) INODE (data, symlink)); + else + { + grub_disk_read (data->disk, + (INODE_DIRBLOCKS (data, 0) + << grub_le_to_cpu32 (data->sblock.log2_blksz)), + 0, INODE_SIZE (data), symlink); + symlink[INODE_SIZE (data)] = '\0'; + } + + /* The symlink is an absolute path, go back to the root inode. */ + if (symlink[0] == '/') + ino = GRUB_UFS_INODE; + + /* Now load in the old inode. */ + if (grub_ufs_read_inode (data, ino, 0)) + return grub_errno; + + grub_ufs_find_file (data, symlink); + if (grub_errno) + grub_error (grub_errno, "cannot follow symlink `%s'", symlink); + + return grub_errno; +} + + +/* Find the file with the pathname PATH on the filesystem described by + DATA. */ +static grub_err_t +grub_ufs_find_file (struct grub_ufs_data *data, const char *path) +{ + char fpath[grub_strlen (path) + 1]; + char *name = fpath; + char *next; + unsigned int pos = 0; + int dirino; + + grub_strcpy (fpath, path); + + /* Skip the first slash. */ + if (name[0] == '/') + { + name++; + if (!*name) + return 0; + } + + /* Extract the actual part from the pathname. */ + next = grub_strchr (name, '/'); + if (next) + { + next[0] = '\0'; + next++; + } + + do + { + struct grub_ufs_dirent dirent; + int namelen; + + if (grub_strlen (name) == 0) + return GRUB_ERR_NONE; + + if (grub_ufs_read_file (data, 0, pos, sizeof (dirent), + (char *) &dirent) < 0) + return grub_errno; + +#ifdef MODE_UFS2 + namelen = dirent.namelen_bsd; +#else + namelen = grub_le_to_cpu16 (dirent.namelen); +#endif + { + char filename[namelen + 1]; + + if (grub_ufs_read_file (data, 0, pos + sizeof (dirent), + namelen, filename) < 0) + return grub_errno; + + filename[namelen] = '\0'; + + if (!grub_strcmp (name, filename)) + { + dirino = data->ino; + grub_ufs_read_inode (data, grub_le_to_cpu32 (dirent.ino), 0); + + if ((INODE_MODE(data) & GRUB_UFS_ATTR_TYPE) + == GRUB_UFS_ATTR_LNK) + { + grub_ufs_lookup_symlink (data, dirino); + if (grub_errno) + return grub_errno; + } + + if (!next) + return 0; + + pos = 0; + + name = next; + next = grub_strchr (name, '/'); + if (next) + { + next[0] = '\0'; + next++; + } + + if ((INODE_MODE(data) & GRUB_UFS_ATTR_TYPE) != GRUB_UFS_ATTR_DIR) + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + + continue; + } + } + + pos += grub_le_to_cpu16 (dirent.direntlen); + } while (pos < INODE_SIZE (data)); + + grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found"); + return grub_errno; +} + + +/* Mount the filesystem on the disk DISK. */ +static struct grub_ufs_data * +grub_ufs_mount (grub_disk_t disk) +{ + struct grub_ufs_data *data; + int *sblklist = sblocklist; + + data = grub_malloc (sizeof (struct grub_ufs_data)); + if (!data) + return 0; + + /* Find a UFS sblock. */ + while (*sblklist != -1) + { + grub_disk_read (disk, *sblklist, 0, sizeof (struct grub_ufs_sblock), + &data->sblock); + if (grub_errno) + goto fail; + + if (grub_le_to_cpu32 (data->sblock.magic) == GRUB_UFS_MAGIC) + { + data->disk = disk; + data->linknest = 0; + return data; + } + sblklist++; + } + + fail: + + if (grub_errno == GRUB_ERR_NONE || grub_errno == GRUB_ERR_OUT_OF_RANGE) + { +#ifdef MODE_UFS2 + grub_error (GRUB_ERR_BAD_FS, "not an ufs2 filesystem"); +#else + grub_error (GRUB_ERR_BAD_FS, "not an ufs1 filesystem"); +#endif + } + + grub_free (data); + + return 0; +} + + +static grub_err_t +grub_ufs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_ufs_data *data; + unsigned int pos = 0; + + data = grub_ufs_mount (device->disk); + if (!data) + return grub_errno; + + grub_ufs_read_inode (data, GRUB_UFS_INODE, 0); + if (grub_errno) + return grub_errno; + + if (!path || path[0] != '/') + { + grub_error (GRUB_ERR_BAD_FILENAME, "bad filename"); + return grub_errno; + } + + grub_ufs_find_file (data, path); + if (grub_errno) + goto fail; + + if ((INODE_MODE (data) & GRUB_UFS_ATTR_TYPE) != GRUB_UFS_ATTR_DIR) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + goto fail; + } + + while (pos < INODE_SIZE (data)) + { + struct grub_ufs_dirent dirent; + int namelen; + + if (grub_ufs_read_file (data, 0, pos, sizeof (dirent), + (char *) &dirent) < 0) + break; + +#ifdef MODE_UFS2 + namelen = dirent.namelen_bsd; +#else + namelen = grub_le_to_cpu16 (dirent.namelen); +#endif + + { + char filename[namelen + 1]; + struct grub_dirhook_info info; + struct grub_ufs_inode inode; + + grub_memset (&info, 0, sizeof (info)); + + if (grub_ufs_read_file (data, 0, pos + sizeof (dirent), + namelen, filename) < 0) + break; + + filename[namelen] = '\0'; + grub_ufs_read_inode (data, dirent.ino, (char *) &inode); + + info.dir = ((grub_le_to_cpu16 (inode.mode) & GRUB_UFS_ATTR_TYPE) + == GRUB_UFS_ATTR_DIR); + info.mtime = grub_le_to_cpu64 (inode.mtime); + info.mtimeset = 1; + + if (hook (filename, &info)) + break; + } + + pos += grub_le_to_cpu16 (dirent.direntlen); + } + + fail: + grub_free (data); + + return grub_errno; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_ufs_open (struct grub_file *file, const char *name) +{ + struct grub_ufs_data *data; + data = grub_ufs_mount (file->device->disk); + if (!data) + return grub_errno; + + grub_ufs_read_inode (data, 2, 0); + if (grub_errno) + { + grub_free (data); + return grub_errno; + } + + if (!name || name[0] != '/') + { + grub_error (GRUB_ERR_BAD_FILENAME, "bad filename"); + return grub_errno; + } + + grub_ufs_find_file (data, name); + if (grub_errno) + { + grub_free (data); + return grub_errno; + } + + file->data = data; + file->size = INODE_SIZE (data); + + return GRUB_ERR_NONE; +} + + +static grub_ssize_t +grub_ufs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_ufs_data *data = + (struct grub_ufs_data *) file->data; + + return grub_ufs_read_file (data, file->read_hook, file->offset, len, buf); +} + + +static grub_err_t +grub_ufs_close (grub_file_t file) +{ + grub_free (file->data); + + return GRUB_ERR_NONE; +} + + +#ifdef MODE_UFS2 +static grub_err_t +grub_ufs_label (grub_device_t device, char **label) +{ + struct grub_ufs_data *data = 0; + + grub_dl_ref (my_mod); + + *label = 0; + + data = grub_ufs_mount (device->disk); + if (data) + *label = grub_strdup ((char *) data->sblock.volume_name); + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} +#endif + +static grub_err_t +grub_ufs_uuid (grub_device_t device, char **uuid) +{ + struct grub_ufs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_ufs_mount (disk); + if (data && (data->sblock.uuidhi != 0 || data->sblock.uuidlow != 0)) + *uuid = grub_xasprintf ("%08x%08x", + (unsigned) grub_le_to_cpu32 (data->sblock.uuidhi), + (unsigned) grub_le_to_cpu32 (data->sblock.uuidlow)); + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + +/* Get mtime. */ +static grub_err_t +grub_ufs_mtime (grub_device_t device, grub_int32_t *tm) +{ + struct grub_ufs_data *data = 0; + + grub_dl_ref (my_mod); + + data = grub_ufs_mount (device->disk); + if (!data) + *tm = 0; + else +#ifdef MODE_UFS2 + *tm = grub_le_to_cpu64 (data->sblock.mtime2); +#else + *tm = grub_le_to_cpu32 (data->sblock.mtime); +#endif + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + + +static struct grub_fs grub_ufs_fs = + { +#ifdef MODE_UFS2 + .name = "ufs2", +#else + .name = "ufs1", +#endif + .dir = grub_ufs_dir, + .open = grub_ufs_open, + .read = grub_ufs_read, + .close = grub_ufs_close, +#ifdef MODE_UFS2 + .label = grub_ufs_label, +#endif + .uuid = grub_ufs_uuid, + .mtime = grub_ufs_mtime, + .next = 0 + }; + +#ifdef MODE_UFS2 +GRUB_MOD_INIT(ufs2) +#else +GRUB_MOD_INIT(ufs1) +#endif +{ + grub_fs_register (&grub_ufs_fs); + my_mod = mod; +} + +#ifdef MODE_UFS2 +GRUB_MOD_FINI(ufs2) +#else +GRUB_MOD_FINI(ufs1) +#endif +{ + grub_fs_unregister (&grub_ufs_fs); +} + diff --git a/grub-core/fs/ufs2.c b/grub-core/fs/ufs2.c new file mode 100644 index 0000000..7f4eb95 --- /dev/null +++ b/grub-core/fs/ufs2.c @@ -0,0 +1,3 @@ +/* ufs2.c - Unix File System 2 */ +#define MODE_UFS2 1 +#include "ufs.c" diff --git a/grub-core/fs/xfs.c b/grub-core/fs/xfs.c new file mode 100644 index 0000000..2eadc37 --- /dev/null +++ b/grub-core/fs/xfs.c @@ -0,0 +1,837 @@ +/* xfs.c - XFS. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define XFS_INODE_EXTENTS 9 + +#define XFS_INODE_FORMAT_INO 1 +#define XFS_INODE_FORMAT_EXT 2 +#define XFS_INODE_FORMAT_BTREE 3 + + +struct grub_xfs_sblock +{ + grub_uint8_t magic[4]; + grub_uint32_t bsize; + grub_uint8_t unused1[24]; + grub_uint16_t uuid[8]; + grub_uint8_t unused2[8]; + grub_uint64_t rootino; + grub_uint8_t unused3[20]; + grub_uint32_t agsize; + grub_uint8_t unused4[20]; + grub_uint8_t label[12]; + grub_uint8_t log2_bsize; + grub_uint8_t log2_sect; + grub_uint8_t log2_inode; + grub_uint8_t log2_inop; + grub_uint8_t log2_agblk; + grub_uint8_t unused6[67]; + grub_uint8_t log2_dirblk; +} __attribute__ ((packed)); + +struct grub_xfs_dir_header +{ + grub_uint8_t count; + grub_uint8_t smallino; + union + { + grub_uint32_t i4; + grub_uint64_t i8; + } parent __attribute__ ((packed)); +} __attribute__ ((packed)); + +struct grub_xfs_dir_entry +{ + grub_uint8_t len; + grub_uint16_t offset; + char name[1]; + /* Inode number follows, 32 bits. */ +} __attribute__ ((packed)); + +struct grub_xfs_dir2_entry +{ + grub_uint64_t inode; + grub_uint8_t len; +} __attribute__ ((packed)); + +typedef grub_uint32_t grub_xfs_extent[4]; + +struct grub_xfs_btree_node +{ + grub_uint8_t magic[4]; + grub_uint16_t level; + grub_uint16_t numrecs; + grub_uint64_t left; + grub_uint64_t right; + grub_uint64_t keys[1]; +} __attribute__ ((packed)); + +struct grub_xfs_btree_root +{ + grub_uint16_t level; + grub_uint16_t numrecs; + grub_uint64_t keys[1]; +} __attribute__ ((packed)); + +struct grub_xfs_inode +{ + grub_uint8_t magic[2]; + grub_uint16_t mode; + grub_uint8_t version; + grub_uint8_t format; + grub_uint8_t unused2[50]; + grub_uint64_t size; + grub_uint64_t nblocks; + grub_uint32_t extsize; + grub_uint32_t nextents; + grub_uint8_t unused3[20]; + union + { + char raw[156]; + struct dir + { + struct grub_xfs_dir_header dirhead; + struct grub_xfs_dir_entry direntry[1]; + } dir; + grub_xfs_extent extents[XFS_INODE_EXTENTS]; + struct grub_xfs_btree_root btree; + } data __attribute__ ((packed)); +} __attribute__ ((packed)); + +struct grub_xfs_dirblock_tail +{ + grub_uint32_t leaf_count; + grub_uint32_t leaf_stale; +} __attribute__ ((packed)); + +struct grub_fshelp_node +{ + struct grub_xfs_data *data; + grub_uint64_t ino; + int inode_read; + struct grub_xfs_inode inode; +}; + +struct grub_xfs_data +{ + struct grub_xfs_sblock sblock; + grub_disk_t disk; + int pos; + int bsize; + int agsize; + struct grub_fshelp_node diropen; +}; + +static grub_dl_t my_mod; + + + +/* Filetype information as used in inodes. */ +#define FILETYPE_INO_MASK 0170000 +#define FILETYPE_INO_REG 0100000 +#define FILETYPE_INO_DIRECTORY 0040000 +#define FILETYPE_INO_SYMLINK 0120000 + +#define GRUB_XFS_INO_AGBITS(data) \ + ((data)->sblock.log2_agblk + (data)->sblock.log2_inop) +#define GRUB_XFS_INO_INOINAG(data, ino) \ + (grub_be_to_cpu64 (ino) & ((1LL << GRUB_XFS_INO_AGBITS (data)) - 1)) +#define GRUB_XFS_INO_AG(data,ino) \ + (grub_be_to_cpu64 (ino) >> GRUB_XFS_INO_AGBITS (data)) + +#define GRUB_XFS_FSB_TO_BLOCK(data, fsb) \ + (((fsb) >> (data)->sblock.log2_agblk) * (data)->agsize \ + + ((fsb) & ((1LL << (data)->sblock.log2_agblk) - 1))) + +#define GRUB_XFS_EXTENT_OFFSET(exts,ex) \ + ((grub_be_to_cpu32 (exts[ex][0]) & ~(1 << 31)) << 23 \ + | grub_be_to_cpu32 (exts[ex][1]) >> 9) + +#define GRUB_XFS_EXTENT_BLOCK(exts,ex) \ + ((grub_uint64_t) (grub_be_to_cpu32 (exts[ex][1]) \ + & (0x1ff)) << 43 \ + | (grub_uint64_t) grub_be_to_cpu32 (exts[ex][2]) << 11 \ + | grub_be_to_cpu32 (exts[ex][3]) >> 21) + +#define GRUB_XFS_EXTENT_SIZE(exts,ex) \ + (grub_be_to_cpu32 (exts[ex][3]) & ((1 << 20) - 1)) + +#define GRUB_XFS_ROUND_TO_DIRENT(pos) ((((pos) + 8 - 1) / 8) * 8) +#define GRUB_XFS_NEXT_DIRENT(pos,len) \ + (pos) + GRUB_XFS_ROUND_TO_DIRENT (8 + 1 + len + 2) + +static inline grub_uint64_t +grub_xfs_inode_block (struct grub_xfs_data *data, + grub_uint64_t ino) +{ + long long int inoinag = GRUB_XFS_INO_INOINAG (data, ino); + long long ag = GRUB_XFS_INO_AG (data, ino); + long long block; + + block = (inoinag >> data->sblock.log2_inop) + ag * data->agsize; + block <<= (data->sblock.log2_bsize - GRUB_DISK_SECTOR_BITS); + return block; +} + + +static inline int +grub_xfs_inode_offset (struct grub_xfs_data *data, + grub_uint64_t ino) +{ + int inoag = GRUB_XFS_INO_INOINAG (data, ino); + return ((inoag & ((1 << data->sblock.log2_inop) - 1)) << + data->sblock.log2_inode); +} + + +static grub_err_t +grub_xfs_read_inode (struct grub_xfs_data *data, grub_uint64_t ino, + struct grub_xfs_inode *inode) +{ + grub_uint64_t block = grub_xfs_inode_block (data, ino); + int offset = grub_xfs_inode_offset (data, ino); + + /* Read the inode. */ + if (grub_disk_read (data->disk, block, offset, + 1 << data->sblock.log2_inode, inode)) + return grub_errno; + + if (grub_strncmp ((char *) inode->magic, "IN", 2)) + return grub_error (GRUB_ERR_BAD_FS, "not a correct XFS inode"); + + return 0; +} + + +static grub_disk_addr_t +grub_xfs_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock) +{ + struct grub_xfs_btree_node *leaf = 0; + int ex, nrec; + grub_xfs_extent *exts; + grub_uint64_t ret = 0; + + if (node->inode.format == XFS_INODE_FORMAT_BTREE) + { + grub_uint64_t *keys; + + leaf = grub_malloc (node->data->sblock.bsize); + if (leaf == 0) + return 0; + + nrec = grub_be_to_cpu16 (node->inode.data.btree.numrecs); + keys = &node->inode.data.btree.keys[0]; + do + { + int i; + + for (i = 0; i < nrec; i++) + { + if (fileblock < grub_be_to_cpu64 (keys[i])) + break; + } + + /* Sparse block. */ + if (i == 0) + { + grub_free (leaf); + return 0; + } + + if (grub_disk_read (node->data->disk, + grub_be_to_cpu64 (keys[i - 1 + nrec]) + << (node->data->sblock.log2_bsize + - GRUB_DISK_SECTOR_BITS), + 0, node->data->sblock.bsize, leaf)) + return 0; + + if (grub_strncmp ((char *) leaf->magic, "BMAP", 4)) + { + grub_free (leaf); + grub_error (GRUB_ERR_BAD_FS, "not a correct XFS BMAP node"); + return 0; + } + + nrec = grub_be_to_cpu16 (leaf->numrecs); + keys = &leaf->keys[0]; + } while (leaf->level); + exts = (grub_xfs_extent *) keys; + } + else if (node->inode.format == XFS_INODE_FORMAT_EXT) + { + nrec = grub_be_to_cpu32 (node->inode.nextents); + exts = &node->inode.data.extents[0]; + } + else + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "XFS does not support inode format %d yet", + node->inode.format); + return 0; + } + + /* Iterate over each extent to figure out which extent has + the block we are looking for. */ + for (ex = 0; ex < nrec; ex++) + { + grub_uint64_t start = GRUB_XFS_EXTENT_BLOCK (exts, ex); + grub_uint64_t offset = GRUB_XFS_EXTENT_OFFSET (exts, ex); + grub_uint64_t size = GRUB_XFS_EXTENT_SIZE (exts, ex); + + /* Sparse block. */ + if (fileblock < offset) + break; + else if (fileblock < offset + size) + { + ret = (fileblock - offset + start); + break; + } + } + + if (leaf) + grub_free (leaf); + + return GRUB_XFS_FSB_TO_BLOCK(node->data, ret); +} + + +/* Read LEN bytes from the file described by DATA starting with byte + POS. Return the amount of read bytes in READ. */ +static grub_ssize_t +grub_xfs_read_file (grub_fshelp_node_t node, + void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, + unsigned offset, unsigned length), + int pos, grub_size_t len, char *buf) +{ + return grub_fshelp_read_file (node->data->disk, node, read_hook, + pos, len, buf, grub_xfs_read_block, + grub_be_to_cpu64 (node->inode.size), + node->data->sblock.log2_bsize + - GRUB_DISK_SECTOR_BITS); +} + + +static char * +grub_xfs_read_symlink (grub_fshelp_node_t node) +{ + int size = grub_be_to_cpu64 (node->inode.size); + + switch (node->inode.format) + { + case XFS_INODE_FORMAT_INO: + return grub_strndup (node->inode.data.raw, size); + + case XFS_INODE_FORMAT_EXT: + { + char *symlink; + grub_ssize_t numread; + + symlink = grub_malloc (size + 1); + if (!symlink) + return 0; + + numread = grub_xfs_read_file (node, 0, 0, size, symlink); + if (numread != size) + { + grub_free (symlink); + return 0; + } + symlink[size] = '\0'; + return symlink; + } + } + + return 0; +} + + +static enum grub_fshelp_filetype +grub_xfs_mode_to_filetype (grub_uint16_t mode) +{ + if ((grub_be_to_cpu16 (mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_DIRECTORY) + return GRUB_FSHELP_DIR; + else if ((grub_be_to_cpu16 (mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_SYMLINK) + return GRUB_FSHELP_SYMLINK; + else if ((grub_be_to_cpu16 (mode) + & FILETYPE_INO_MASK) == FILETYPE_INO_REG) + return GRUB_FSHELP_REG; + return GRUB_FSHELP_UNKNOWN; +} + + +static int +grub_xfs_iterate_dir (grub_fshelp_node_t dir, + int NESTED_FUNC_ATTR + (*hook) (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node)) +{ + struct grub_fshelp_node *diro = (struct grub_fshelp_node *) dir; + auto int NESTED_FUNC_ATTR call_hook (grub_uint64_t ino, char *filename); + + int NESTED_FUNC_ATTR call_hook (grub_uint64_t ino, char *filename) + { + struct grub_fshelp_node *fdiro; + + fdiro = grub_malloc (sizeof (struct grub_fshelp_node) + - sizeof (struct grub_xfs_inode) + + (1 << diro->data->sblock.log2_inode)); + if (!fdiro) + return 0; + + /* The inode should be read, otherwise the filetype can + not be determined. */ + fdiro->ino = ino; + fdiro->inode_read = 1; + fdiro->data = diro->data; + grub_xfs_read_inode (diro->data, ino, &fdiro->inode); + + return hook (filename, + grub_xfs_mode_to_filetype (fdiro->inode.mode), + fdiro); + } + + switch (diro->inode.format) + { + case XFS_INODE_FORMAT_INO: + { + struct grub_xfs_dir_entry *de = &diro->inode.data.dir.direntry[0]; + int smallino = !diro->inode.data.dir.dirhead.smallino; + int i; + grub_uint64_t parent; + + /* If small inode numbers are used to pack the direntry, the + parent inode number is small too. */ + if (smallino) + { + parent = grub_be_to_cpu32 (diro->inode.data.dir.dirhead.parent.i4); + parent = grub_cpu_to_be64 (parent); + /* The header is a bit smaller than usual. */ + de = (struct grub_xfs_dir_entry *) ((char *) de - 4); + } + else + { + parent = diro->inode.data.dir.dirhead.parent.i8; + } + + /* Synthesize the direntries for `.' and `..'. */ + if (call_hook (diro->ino, ".")) + return 1; + + if (call_hook (parent, "..")) + return 1; + + for (i = 0; i < diro->inode.data.dir.dirhead.count; i++) + { + grub_uint64_t ino; + grub_uint8_t *inopos = (((grub_uint8_t *) de) + + sizeof (struct grub_xfs_dir_entry) + + de->len - 1); + char name[de->len + 1]; + + /* inopos might be unaligned. */ + if (smallino) + ino = (((grub_uint32_t) inopos[0]) << 24) + | (((grub_uint32_t) inopos[1]) << 16) + | (((grub_uint32_t) inopos[2]) << 8) + | (((grub_uint32_t) inopos[3]) << 0); + else + ino = (((grub_uint64_t) inopos[0]) << 56) + | (((grub_uint64_t) inopos[1]) << 48) + | (((grub_uint64_t) inopos[2]) << 40) + | (((grub_uint64_t) inopos[3]) << 32) + | (((grub_uint64_t) inopos[4]) << 24) + | (((grub_uint64_t) inopos[5]) << 16) + | (((grub_uint64_t) inopos[6]) << 8) + | (((grub_uint64_t) inopos[7]) << 0); + ino = grub_cpu_to_be64 (ino); + + grub_memcpy (name, de->name, de->len); + name[de->len] = '\0'; + if (call_hook (ino, name)) + return 1; + + de = ((struct grub_xfs_dir_entry *) + (((char *) de)+ sizeof (struct grub_xfs_dir_entry) + de->len + + ((smallino ? sizeof (grub_uint32_t) + : sizeof (grub_uint64_t))) - 1)); + } + break; + } + + case XFS_INODE_FORMAT_BTREE: + case XFS_INODE_FORMAT_EXT: + { + grub_ssize_t numread; + char *dirblock; + grub_uint64_t blk; + int dirblk_size, dirblk_log2; + + dirblk_log2 = (dir->data->sblock.log2_bsize + + dir->data->sblock.log2_dirblk); + dirblk_size = 1 << dirblk_log2; + + dirblock = grub_malloc (dirblk_size); + if (! dirblock) + return 0; + + /* Iterate over every block the directory has. */ + for (blk = 0; + blk < (grub_be_to_cpu64 (dir->inode.size) + >> dirblk_log2); + blk++) + { + /* The header is skipped, the first direntry is stored + from byte 16. */ + int pos = 16; + int entries; + int tail_start = (dirblk_size + - sizeof (struct grub_xfs_dirblock_tail)); + + struct grub_xfs_dirblock_tail *tail; + tail = (struct grub_xfs_dirblock_tail *) &dirblock[tail_start]; + + numread = grub_xfs_read_file (dir, 0, + blk << dirblk_log2, + dirblk_size, dirblock); + if (numread != dirblk_size) + return 0; + + entries = (grub_be_to_cpu32 (tail->leaf_count) + - grub_be_to_cpu32 (tail->leaf_stale)); + + /* Iterate over all entries within this block. */ + while (pos < (dirblk_size + - (int) sizeof (struct grub_xfs_dir2_entry))) + { + struct grub_xfs_dir2_entry *direntry; + grub_uint16_t *freetag; + char *filename; + + direntry = (struct grub_xfs_dir2_entry *) &dirblock[pos]; + freetag = (grub_uint16_t *) direntry; + + if (*freetag == 0XFFFF) + { + grub_uint16_t *skip = (grub_uint16_t *) (freetag + 1); + + /* This entry is not used, go to the next one. */ + pos += grub_be_to_cpu16 (*skip); + + continue; + } + + filename = &dirblock[pos + sizeof (*direntry)]; + /* The byte after the filename is for the tag, which + is not used by GRUB. So it can be overwritten. */ + filename[direntry->len] = '\0'; + + if (call_hook (direntry->inode, filename)) + { + grub_free (dirblock); + return 1; + } + + /* Check if last direntry in this block is + reached. */ + entries--; + if (!entries) + break; + + /* Select the next directory entry. */ + pos = GRUB_XFS_NEXT_DIRENT (pos, direntry->len); + pos = GRUB_XFS_ROUND_TO_DIRENT (pos); + } + } + grub_free (dirblock); + break; + } + + default: + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "XFS does not support inode format %d yet", + diro->inode.format); + } + return 0; +} + + +static struct grub_xfs_data * +grub_xfs_mount (grub_disk_t disk) +{ + struct grub_xfs_data *data = 0; + + data = grub_zalloc (sizeof (struct grub_xfs_data)); + if (!data) + return 0; + + /* Read the superblock. */ + if (grub_disk_read (disk, 0, 0, + sizeof (struct grub_xfs_sblock), &data->sblock)) + goto fail; + + if (grub_strncmp ((char *) (data->sblock.magic), "XFSB", 4)) + { + grub_error (GRUB_ERR_BAD_FS, "not a XFS filesystem"); + goto fail; + } + + data = grub_realloc (data, + sizeof (struct grub_xfs_data) + - sizeof (struct grub_xfs_inode) + + (1 << data->sblock.log2_inode)); + + if (! data) + goto fail; + + data->diropen.data = data; + data->diropen.ino = data->sblock.rootino; + data->diropen.inode_read = 1; + data->bsize = grub_be_to_cpu32 (data->sblock.bsize); + data->agsize = grub_be_to_cpu32 (data->sblock.agsize); + + data->disk = disk; + data->pos = 0; + + grub_xfs_read_inode (data, data->diropen.ino, &data->diropen.inode); + + return data; + fail: + + if (grub_errno == GRUB_ERR_OUT_OF_RANGE) + grub_error (GRUB_ERR_BAD_FS, "not an XFS filesystem"); + + grub_free (data); + + return 0; +} + + +static grub_err_t +grub_xfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + struct grub_xfs_data *data = 0; + struct grub_fshelp_node *fdiro = 0; + + auto int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node); + + int NESTED_FUNC_ATTR iterate (const char *filename, + enum grub_fshelp_filetype filetype, + grub_fshelp_node_t node) + { + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + info.dir = ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR); + grub_free (node); + return hook (filename, &info); + } + + grub_dl_ref (my_mod); + + data = grub_xfs_mount (device->disk); + if (!data) + goto mount_fail; + + grub_fshelp_find_file (path, &data->diropen, &fdiro, grub_xfs_iterate_dir, + grub_xfs_read_symlink, GRUB_FSHELP_DIR); + if (grub_errno) + goto fail; + + grub_xfs_iterate_dir (fdiro, iterate); + + fail: + if (fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + mount_fail: + + grub_dl_unref (my_mod); + + return grub_errno; +} + + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_xfs_open (struct grub_file *file, const char *name) +{ + struct grub_xfs_data *data; + struct grub_fshelp_node *fdiro = 0; + + grub_dl_ref (my_mod); + + data = grub_xfs_mount (file->device->disk); + if (!data) + goto mount_fail; + + grub_fshelp_find_file (name, &data->diropen, &fdiro, grub_xfs_iterate_dir, + grub_xfs_read_symlink, GRUB_FSHELP_REG); + if (grub_errno) + goto fail; + + if (!fdiro->inode_read) + { + grub_xfs_read_inode (data, fdiro->ino, &fdiro->inode); + if (grub_errno) + goto fail; + } + + if (fdiro != &data->diropen) + grub_memcpy (&data->diropen, fdiro, + sizeof (struct grub_fshelp_node) + - sizeof (struct grub_xfs_inode) + + (1 << data->sblock.log2_inode)); + + file->size = grub_be_to_cpu64 (data->diropen.inode.size); + file->data = data; + file->offset = 0; + + return 0; + + fail: + if (fdiro != &data->diropen) + grub_free (fdiro); + grub_free (data); + + mount_fail: + grub_dl_unref (my_mod); + + return grub_errno; +} + + +static grub_ssize_t +grub_xfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_xfs_data *data = + (struct grub_xfs_data *) file->data; + + return grub_xfs_read_file (&data->diropen, file->read_hook, + file->offset, len, buf); +} + + +static grub_err_t +grub_xfs_close (grub_file_t file) +{ + grub_free (file->data); + + grub_dl_unref (my_mod); + + return GRUB_ERR_NONE; +} + + +static grub_err_t +grub_xfs_label (grub_device_t device, char **label) +{ + struct grub_xfs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_xfs_mount (disk); + if (data) + *label = grub_strndup ((char *) (data->sblock.label), 12); + else + *label = 0; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + +static grub_err_t +grub_xfs_uuid (grub_device_t device, char **uuid) +{ + struct grub_xfs_data *data; + grub_disk_t disk = device->disk; + + grub_dl_ref (my_mod); + + data = grub_xfs_mount (disk); + if (data) + { + *uuid = grub_xasprintf ("%04x%04x-%04x-%04x-%04x-%04x%04x%04x", + grub_be_to_cpu16 (data->sblock.uuid[0]), + grub_be_to_cpu16 (data->sblock.uuid[1]), + grub_be_to_cpu16 (data->sblock.uuid[2]), + grub_be_to_cpu16 (data->sblock.uuid[3]), + grub_be_to_cpu16 (data->sblock.uuid[4]), + grub_be_to_cpu16 (data->sblock.uuid[5]), + grub_be_to_cpu16 (data->sblock.uuid[6]), + grub_be_to_cpu16 (data->sblock.uuid[7])); + } + else + *uuid = NULL; + + grub_dl_unref (my_mod); + + grub_free (data); + + return grub_errno; +} + + + +static struct grub_fs grub_xfs_fs = + { + .name = "xfs", + .dir = grub_xfs_dir, + .open = grub_xfs_open, + .read = grub_xfs_read, + .close = grub_xfs_close, + .label = grub_xfs_label, + .uuid = grub_xfs_uuid, +#ifdef GRUB_UTIL + .reserved_first_sector = 0, +#endif + .next = 0 + }; + +GRUB_MOD_INIT(xfs) +{ + grub_fs_register (&grub_xfs_fs); + my_mod = mod; +} + +GRUB_MOD_FINI(xfs) +{ + grub_fs_unregister (&grub_xfs_fs); +} diff --git a/grub-core/fs/zfs/zfs.c b/grub-core/fs/zfs/zfs.c new file mode 100644 index 0000000..8d86cf9 --- /dev/null +++ b/grub-core/fs/zfs/zfs.c @@ -0,0 +1,2550 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2009,2010 Free Software Foundation, Inc. + * Copyright 2010 Sun Microsystems, Inc. + * + * GRUB is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +/* + * The zfs plug-in routines for GRUB are: + * + * zfs_mount() - locates a valid uberblock of the root pool and reads + * in its MOS at the memory address MOS. + * + * zfs_open() - locates a plain file object by following the MOS + * and places its dnode at the memory address DNODE. + * + * zfs_read() - read in the data blocks pointed by the DNODE. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define ZPOOL_PROP_BOOTFS "bootfs" + +#define MIN(a,b) (((a) < (b)) ? (a) : (b)) + +/* + * For nvlist manipulation. (from nvpair.h) + */ +#define NV_ENCODE_NATIVE 0 +#define NV_ENCODE_XDR 1 +#define NV_BIG_ENDIAN 0 +#define NV_LITTLE_ENDIAN 1 +#define DATA_TYPE_UINT64 8 +#define DATA_TYPE_STRING 9 +#define DATA_TYPE_NVLIST 19 +#define DATA_TYPE_NVLIST_ARRAY 20 + +#ifndef GRUB_UTIL +static grub_dl_t my_mod; +#endif + +#define P2PHASE(x, align) ((x) & ((align) - 1)) +#define DVA_OFFSET_TO_PHYS_SECTOR(offset) \ + ((offset + VDEV_LABEL_START_SIZE) >> SPA_MINBLOCKSHIFT) + +/* + * FAT ZAP data structures + */ +#define ZFS_CRC64_POLY 0xC96C5795D7870F42ULL /* ECMA-182, reflected form */ +#define ZAP_HASH_IDX(hash, n) (((n) == 0) ? 0 : ((hash) >> (64 - (n)))) +#define CHAIN_END 0xffff /* end of the chunk chain */ + +/* + * The amount of space within the chunk available for the array is: + * chunk size - space for type (1) - space for next pointer (2) + */ +#define ZAP_LEAF_ARRAY_BYTES (ZAP_LEAF_CHUNKSIZE - 3) + +#define ZAP_LEAF_HASH_SHIFT(bs) (bs - 5) +#define ZAP_LEAF_HASH_NUMENTRIES(bs) (1 << ZAP_LEAF_HASH_SHIFT(bs)) +#define LEAF_HASH(bs, h) \ + ((ZAP_LEAF_HASH_NUMENTRIES(bs)-1) & \ + ((h) >> (64 - ZAP_LEAF_HASH_SHIFT(bs)-l->l_hdr.lh_prefix_len))) + +/* + * The amount of space available for chunks is: + * block size shift - hash entry size (2) * number of hash + * entries - header space (2*chunksize) + */ +#define ZAP_LEAF_NUMCHUNKS(bs) \ + (((1<l_hash + ZAP_LEAF_HASH_NUMENTRIES(bs)))[idx] +#define ZAP_LEAF_ENTRY(l, bs, idx) (&ZAP_LEAF_CHUNK(l, bs, idx).l_entry) + + +/* + * Decompression Entry - lzjb + */ +#ifndef NBBY +#define NBBY 8 +#endif + +extern grub_err_t lzjb_decompress (void *, void *, grub_size_t, grub_size_t); + +typedef grub_err_t zfs_decomp_func_t (void *s_start, void *d_start, + grub_size_t s_len, grub_size_t d_len); +typedef struct decomp_entry +{ + char *name; + zfs_decomp_func_t *decomp_func; +} decomp_entry_t; + +typedef struct dnode_end +{ + dnode_phys_t dn; + grub_zfs_endian_t endian; +} dnode_end_t; + +struct grub_zfs_data +{ + /* cache for a file block of the currently zfs_open()-ed file */ + char *file_buf; + grub_uint64_t file_start; + grub_uint64_t file_end; + + /* cache for a dnode block */ + dnode_phys_t *dnode_buf; + dnode_phys_t *dnode_mdn; + grub_uint64_t dnode_start; + grub_uint64_t dnode_end; + grub_zfs_endian_t dnode_endian; + + uberblock_t current_uberblock; + grub_disk_t disk; + + dnode_end_t mos; + dnode_end_t mdn; + dnode_end_t dnode; + + grub_disk_addr_t vdev_phys_sector; +}; + +static decomp_entry_t decomp_table[ZIO_COMPRESS_FUNCTIONS] = { + {"inherit", NULL}, /* ZIO_COMPRESS_INHERIT */ + {"on", lzjb_decompress}, /* ZIO_COMPRESS_ON */ + {"off", NULL}, /* ZIO_COMPRESS_OFF */ + {"lzjb", lzjb_decompress}, /* ZIO_COMPRESS_LZJB */ + {"empty", NULL}, /* ZIO_COMPRESS_EMPTY */ + {"gzip", NULL}, /* ZIO_COMPRESS_GZIP */ +}; + +static grub_err_t zio_read_data (blkptr_t * bp, grub_zfs_endian_t endian, + void *buf, struct grub_zfs_data *data); + +/* + * Our own version of log2(). Same thing as highbit()-1. + */ +static int +zfs_log2 (grub_uint64_t num) +{ + int i = 0; + + while (num > 1) + { + i++; + num = num >> 1; + } + + return (i); +} + +/* Checksum Functions */ +static void +zio_checksum_off (const void *buf __attribute__ ((unused)), + grub_uint64_t size __attribute__ ((unused)), + grub_zfs_endian_t endian __attribute__ ((unused)), + zio_cksum_t * zcp) +{ + ZIO_SET_CHECKSUM (zcp, 0, 0, 0, 0); +} + +/* Checksum Table and Values */ +static zio_checksum_info_t zio_checksum_table[ZIO_CHECKSUM_FUNCTIONS] = { + {NULL, 0, 0, "inherit"}, + {NULL, 0, 0, "on"}, + {zio_checksum_off, 0, 0, "off"}, + {zio_checksum_SHA256, 1, 1, "label"}, + {zio_checksum_SHA256, 1, 1, "gang_header"}, + {NULL, 0, 0, "zilog"}, + {fletcher_2, 0, 0, "fletcher2"}, + {fletcher_4, 1, 0, "fletcher4"}, + {zio_checksum_SHA256, 1, 0, "SHA256"}, + {NULL, 0, 0, "zilog2"}, +}; + +/* + * zio_checksum_verify: Provides support for checksum verification. + * + * Fletcher2, Fletcher4, and SHA256 are supported. + * + */ +static grub_err_t +zio_checksum_verify (zio_cksum_t zc, grub_uint32_t checksum, + grub_zfs_endian_t endian, char *buf, int size) +{ + zio_eck_t *zec = (zio_eck_t *) (buf + size) - 1; + zio_checksum_info_t *ci = &zio_checksum_table[checksum]; + zio_cksum_t actual_cksum, expected_cksum; + + if (checksum >= ZIO_CHECKSUM_FUNCTIONS || ci->ci_func == NULL) + { + grub_dprintf ("zfs", "unknown checksum function %d\n", checksum); + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "unknown checksum function %d", checksum); + } + + if (ci->ci_eck) + { + expected_cksum = zec->zec_cksum; + zec->zec_cksum = zc; + ci->ci_func (buf, size, endian, &actual_cksum); + zec->zec_cksum = expected_cksum; + zc = expected_cksum; + } + else + ci->ci_func (buf, size, endian, &actual_cksum); + + if ((actual_cksum.zc_word[0] != zc.zc_word[0]) + || (actual_cksum.zc_word[1] != zc.zc_word[1]) + || (actual_cksum.zc_word[2] != zc.zc_word[2]) + || (actual_cksum.zc_word[3] != zc.zc_word[3])) + { + grub_dprintf ("zfs", "checksum %d verification failed\n", checksum); + grub_dprintf ("zfs", "actual checksum %16llx %16llx %16llx %16llx\n", + (unsigned long long) actual_cksum.zc_word[0], + (unsigned long long) actual_cksum.zc_word[1], + (unsigned long long) actual_cksum.zc_word[2], + (unsigned long long) actual_cksum.zc_word[3]); + grub_dprintf ("zfs", "expected checksum %16llx %16llx %16llx %16llx\n", + (unsigned long long) zc.zc_word[0], + (unsigned long long) zc.zc_word[1], + (unsigned long long) zc.zc_word[2], + (unsigned long long) zc.zc_word[3]); + return grub_error (GRUB_ERR_BAD_FS, "checksum verification failed"); + } + + return GRUB_ERR_NONE; +} + +/* + * vdev_uberblock_compare takes two uberblock structures and returns an integer + * indicating the more recent of the two. + * Return Value = 1 if ub2 is more recent + * Return Value = -1 if ub1 is more recent + * The most recent uberblock is determined using its transaction number and + * timestamp. The uberblock with the highest transaction number is + * considered "newer". If the transaction numbers of the two blocks match, the + * timestamps are compared to determine the "newer" of the two. + */ +static int +vdev_uberblock_compare (uberblock_t * ub1, uberblock_t * ub2) +{ + grub_zfs_endian_t ub1_endian, ub2_endian; + if (grub_zfs_to_cpu64 (ub1->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC) + ub1_endian = LITTLE_ENDIAN; + else + ub1_endian = BIG_ENDIAN; + if (grub_zfs_to_cpu64 (ub2->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC) + ub2_endian = LITTLE_ENDIAN; + else + ub2_endian = BIG_ENDIAN; + + if (grub_zfs_to_cpu64 (ub1->ub_txg, ub1_endian) + < grub_zfs_to_cpu64 (ub2->ub_txg, ub2_endian)) + return (-1); + if (grub_zfs_to_cpu64 (ub1->ub_txg, ub1_endian) + > grub_zfs_to_cpu64 (ub2->ub_txg, ub2_endian)) + return (1); + + if (grub_zfs_to_cpu64 (ub1->ub_timestamp, ub1_endian) + < grub_zfs_to_cpu64 (ub2->ub_timestamp, ub2_endian)) + return (-1); + if (grub_zfs_to_cpu64 (ub1->ub_timestamp, ub1_endian) + > grub_zfs_to_cpu64 (ub2->ub_timestamp, ub2_endian)) + return (1); + + return (0); +} + +/* + * Three pieces of information are needed to verify an uberblock: the magic + * number, the version number, and the checksum. + * + * Currently Implemented: version number, magic number + * Need to Implement: checksum + * + */ +static grub_err_t +uberblock_verify (uberblock_phys_t * ub, int offset) +{ + uberblock_t *uber = &ub->ubp_uberblock; + grub_err_t err; + grub_zfs_endian_t endian = UNKNOWN_ENDIAN; + zio_cksum_t zc; + + if (grub_zfs_to_cpu64 (uber->ub_magic, LITTLE_ENDIAN) == UBERBLOCK_MAGIC + && grub_zfs_to_cpu64 (uber->ub_version, LITTLE_ENDIAN) > 0 + && grub_zfs_to_cpu64 (uber->ub_version, LITTLE_ENDIAN) <= SPA_VERSION) + endian = LITTLE_ENDIAN; + + if (grub_zfs_to_cpu64 (uber->ub_magic, BIG_ENDIAN) == UBERBLOCK_MAGIC + && grub_zfs_to_cpu64 (uber->ub_version, BIG_ENDIAN) > 0 + && grub_zfs_to_cpu64 (uber->ub_version, BIG_ENDIAN) <= SPA_VERSION) + endian = BIG_ENDIAN; + + if (endian == UNKNOWN_ENDIAN) + return grub_error (GRUB_ERR_BAD_FS, "invalid uberblock magic"); + + grub_memset (&zc, 0, sizeof (zc)); + + zc.zc_word[0] = grub_cpu_to_zfs64 (offset, endian); + err = zio_checksum_verify (zc, ZIO_CHECKSUM_LABEL, endian, + (char *) ub, UBERBLOCK_SIZE); + + return err; +} + +/* + * Find the best uberblock. + * Return: + * Success - Pointer to the best uberblock. + * Failure - NULL + */ +static uberblock_phys_t * +find_bestub (uberblock_phys_t * ub_array, grub_disk_addr_t sector) +{ + uberblock_phys_t *ubbest = NULL; + int i; + grub_disk_addr_t offset; + grub_err_t err = GRUB_ERR_NONE; + + for (i = 0; i < (VDEV_UBERBLOCK_RING >> VDEV_UBERBLOCK_SHIFT); i++) + { + offset = (sector << SPA_MINBLOCKSHIFT) + VDEV_PHYS_SIZE + + (i << VDEV_UBERBLOCK_SHIFT); + + err = uberblock_verify (&ub_array[i], offset); + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + if (ubbest == NULL + || vdev_uberblock_compare (&(ub_array[i].ubp_uberblock), + &(ubbest->ubp_uberblock)) > 0) + ubbest = &ub_array[i]; + } + if (!ubbest) + grub_errno = err; + + return (ubbest); +} + +static inline grub_size_t +get_psize (blkptr_t * bp, grub_zfs_endian_t endian) +{ + return ((((grub_zfs_to_cpu64 ((bp)->blk_prop, endian) >> 16) & 0xffff) + 1) + << SPA_MINBLOCKSHIFT); +} + +static grub_uint64_t +dva_get_offset (dva_t * dva, grub_zfs_endian_t endian) +{ + grub_dprintf ("zfs", "dva=%llx, %llx\n", + (unsigned long long) dva->dva_word[0], + (unsigned long long) dva->dva_word[1]); + return grub_zfs_to_cpu64 ((dva)->dva_word[1], + endian) << SPA_MINBLOCKSHIFT; +} + + +/* + * Read a block of data based on the gang block address dva, + * and put its data in buf. + * + */ +static grub_err_t +zio_read_gang (blkptr_t * bp, grub_zfs_endian_t endian, dva_t * dva, void *buf, + struct grub_zfs_data *data) +{ + zio_gbh_phys_t *zio_gb; + grub_uint64_t offset, sector; + unsigned i; + grub_err_t err; + zio_cksum_t zc; + + grub_memset (&zc, 0, sizeof (zc)); + + zio_gb = grub_malloc (SPA_GANGBLOCKSIZE); + if (!zio_gb) + return grub_errno; + grub_dprintf ("zfs", endian == LITTLE_ENDIAN ? "little-endian gang\n" + :"big-endian gang\n"); + offset = dva_get_offset (dva, endian); + sector = DVA_OFFSET_TO_PHYS_SECTOR (offset); + grub_dprintf ("zfs", "offset=%llx\n", (unsigned long long) offset); + + /* read in the gang block header */ + err = grub_disk_read (data->disk, sector, 0, SPA_GANGBLOCKSIZE, + (char *) zio_gb); + if (err) + { + grub_free (zio_gb); + return err; + } + + /* XXX */ + /* self checksuming the gang block header */ + ZIO_SET_CHECKSUM (&zc, DVA_GET_VDEV (dva), + dva_get_offset (dva, endian), bp->blk_birth, 0); + err = zio_checksum_verify (zc, ZIO_CHECKSUM_GANG_HEADER, endian, + (char *) zio_gb, SPA_GANGBLOCKSIZE); + if (err) + { + grub_free (zio_gb); + return err; + } + + endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1; + + for (i = 0; i < SPA_GBH_NBLKPTRS; i++) + { + if (zio_gb->zg_blkptr[i].blk_birth == 0) + continue; + + err = zio_read_data (&zio_gb->zg_blkptr[i], endian, buf, data); + if (err) + { + grub_free (zio_gb); + return err; + } + buf = (char *) buf + get_psize (&zio_gb->zg_blkptr[i], endian); + } + grub_free (zio_gb); + return GRUB_ERR_NONE; +} + +/* + * Read in a block of raw data to buf. + */ +static grub_err_t +zio_read_data (blkptr_t * bp, grub_zfs_endian_t endian, void *buf, + struct grub_zfs_data *data) +{ + int i, psize; + grub_err_t err = GRUB_ERR_NONE; + + psize = get_psize (bp, endian); + + /* pick a good dva from the block pointer */ + for (i = 0; i < SPA_DVAS_PER_BP; i++) + { + grub_uint64_t offset, sector; + + if (bp->blk_dva[i].dva_word[0] == 0 && bp->blk_dva[i].dva_word[1] == 0) + continue; + + if ((grub_zfs_to_cpu64 (bp->blk_dva[i].dva_word[1], endian)>>63) & 1) + err = zio_read_gang (bp, endian, &bp->blk_dva[i], buf, data); + else + { + /* read in a data block */ + offset = dva_get_offset (&bp->blk_dva[i], endian); + sector = DVA_OFFSET_TO_PHYS_SECTOR (offset); + err = grub_disk_read (data->disk, sector, 0, psize, buf); + } + if (!err) + return GRUB_ERR_NONE; + grub_errno = GRUB_ERR_NONE; + } + + if (!err) + err = grub_error (GRUB_ERR_BAD_FS, "couldn't find a valid DVA"); + grub_errno = err; + + return err; +} + +/* + * Read in a block of data, verify its checksum, decompress if needed, + * and put the uncompressed data in buf. + */ +static grub_err_t +zio_read (blkptr_t * bp, grub_zfs_endian_t endian, void **buf, + grub_size_t *size, struct grub_zfs_data *data) +{ + grub_size_t lsize, psize; + unsigned int comp; + char *compbuf = NULL; + grub_err_t err; + zio_cksum_t zc = bp->blk_cksum; + grub_uint32_t checksum; + + *buf = NULL; + + checksum = (grub_zfs_to_cpu64((bp)->blk_prop, endian) >> 40) & 0xff; + comp = (grub_zfs_to_cpu64((bp)->blk_prop, endian)>>32) & 0x7; + lsize = (BP_IS_HOLE(bp) ? 0 : + (((grub_zfs_to_cpu64 ((bp)->blk_prop, endian) & 0xffff) + 1) + << SPA_MINBLOCKSHIFT)); + psize = get_psize (bp, endian); + + if (size) + *size = lsize; + + if (comp >= ZIO_COMPRESS_FUNCTIONS) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "compression algorithm %u not supported\n", (unsigned int) comp); + + if (comp != ZIO_COMPRESS_OFF && decomp_table[comp].decomp_func == NULL) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "compression algorithm %s not supported\n", decomp_table[comp].name); + + if (comp != ZIO_COMPRESS_OFF) + { + compbuf = grub_malloc (psize); + if (! compbuf) + return grub_errno; + } + else + compbuf = *buf = grub_malloc (lsize); + + grub_dprintf ("zfs", "endian = %d\n", endian); + err = zio_read_data (bp, endian, compbuf, data); + if (err) + { + grub_free (compbuf); + *buf = NULL; + return err; + } + + err = zio_checksum_verify (zc, checksum, endian, compbuf, psize); + if (err) + { + grub_dprintf ("zfs", "incorrect checksum\n"); + grub_free (compbuf); + *buf = NULL; + return err; + } + + if (comp != ZIO_COMPRESS_OFF) + { + *buf = grub_malloc (lsize); + if (!*buf) + { + grub_free (compbuf); + return grub_errno; + } + + err = decomp_table[comp].decomp_func (compbuf, *buf, psize, lsize); + grub_free (compbuf); + if (err) + { + grub_free (*buf); + *buf = NULL; + return err; + } + } + + return GRUB_ERR_NONE; +} + +/* + * Get the block from a block id. + * push the block onto the stack. + * + */ +static grub_err_t +dmu_read (dnode_end_t * dn, grub_uint64_t blkid, void **buf, + grub_zfs_endian_t *endian_out, struct grub_zfs_data *data) +{ + int idx, level; + blkptr_t *bp_array = dn->dn.dn_blkptr; + int epbs = dn->dn.dn_indblkshift - SPA_BLKPTRSHIFT; + blkptr_t *bp; + void *tmpbuf = 0; + grub_zfs_endian_t endian; + grub_err_t err = GRUB_ERR_NONE; + + bp = grub_malloc (sizeof (blkptr_t)); + if (!bp) + return grub_errno; + + endian = dn->endian; + for (level = dn->dn.dn_nlevels - 1; level >= 0; level--) + { + grub_dprintf ("zfs", "endian = %d\n", endian); + idx = (blkid >> (epbs * level)) & ((1 << epbs) - 1); + *bp = bp_array[idx]; + if (bp_array != dn->dn.dn_blkptr) + { + grub_free (bp_array); + bp_array = 0; + } + + if (BP_IS_HOLE (bp)) + { + grub_size_t size = grub_zfs_to_cpu16 (dn->dn.dn_datablkszsec, + dn->endian) + << SPA_MINBLOCKSHIFT; + *buf = grub_malloc (size); + if (*buf) + { + err = grub_errno; + break; + } + grub_memset (*buf, 0, size); + endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1; + break; + } + if (level == 0) + { + grub_dprintf ("zfs", "endian = %d\n", endian); + err = zio_read (bp, endian, buf, 0, data); + endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1; + break; + } + grub_dprintf ("zfs", "endian = %d\n", endian); + err = zio_read (bp, endian, &tmpbuf, 0, data); + endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1; + if (err) + break; + bp_array = tmpbuf; + } + if (bp_array != dn->dn.dn_blkptr) + grub_free (bp_array); + if (endian_out) + *endian_out = endian; + + grub_free (bp); + return err; +} + +/* + * mzap_lookup: Looks up property described by "name" and returns the value + * in "value". + */ +static grub_err_t +mzap_lookup (mzap_phys_t * zapobj, grub_zfs_endian_t endian, + int objsize, char *name, grub_uint64_t * value) +{ + int i, chunks; + mzap_ent_phys_t *mzap_ent = zapobj->mz_chunk; + + chunks = objsize / MZAP_ENT_LEN - 1; + for (i = 0; i < chunks; i++) + { + if (grub_strcmp (mzap_ent[i].mze_name, name) == 0) + { + *value = grub_zfs_to_cpu64 (mzap_ent[i].mze_value, endian); + return GRUB_ERR_NONE; + } + } + + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "couldn't find %s", name); +} + +static int +mzap_iterate (mzap_phys_t * zapobj, grub_zfs_endian_t endian, int objsize, + int NESTED_FUNC_ATTR (*hook) (const char *name, + grub_uint64_t val)) +{ + int i, chunks; + mzap_ent_phys_t *mzap_ent = zapobj->mz_chunk; + + chunks = objsize / MZAP_ENT_LEN - 1; + for (i = 0; i < chunks; i++) + { + grub_dprintf ("zfs", "zap: name = %s, value = %llx, cd = %x\n", + mzap_ent[i].mze_name, (long long)mzap_ent[i].mze_value, + (int)mzap_ent[i].mze_cd); + if (hook (mzap_ent[i].mze_name, + grub_zfs_to_cpu64 (mzap_ent[i].mze_value, endian))) + return 1; + } + + return 0; +} + +static grub_uint64_t +zap_hash (grub_uint64_t salt, const char *name) +{ + static grub_uint64_t table[256]; + const grub_uint8_t *cp; + grub_uint8_t c; + grub_uint64_t crc = salt; + + if (table[128] == 0) + { + grub_uint64_t *ct; + int i, j; + for (i = 0; i < 256; i++) + { + for (ct = table + i, *ct = i, j = 8; j > 0; j--) + *ct = (*ct >> 1) ^ (-(*ct & 1) & ZFS_CRC64_POLY); + } + } + + for (cp = (const grub_uint8_t *) name; (c = *cp) != '\0'; cp++) + crc = (crc >> 8) ^ table[(crc ^ c) & 0xFF]; + + /* + * Only use 28 bits, since we need 4 bits in the cookie for the + * collision differentiator. We MUST use the high bits, since + * those are the onces that we first pay attention to when + * chosing the bucket. + */ + crc &= ~((1ULL << (64 - ZAP_HASHBITS)) - 1); + + return (crc); +} + +/* + * Only to be used on 8-bit arrays. + * array_len is actual len in bytes (not encoded le_value_length). + * buf is null-terminated. + */ +/* XXX */ +static int +zap_leaf_array_equal (zap_leaf_phys_t * l, grub_zfs_endian_t endian, + int blksft, int chunk, int array_len, const char *buf) +{ + int bseen = 0; + + while (bseen < array_len) + { + struct zap_leaf_array *la = &ZAP_LEAF_CHUNK (l, blksft, chunk).l_array; + int toread = MIN (array_len - bseen, ZAP_LEAF_ARRAY_BYTES); + + if (chunk >= ZAP_LEAF_NUMCHUNKS (blksft)) + return (0); + + if (grub_memcmp (la->la_array, buf + bseen, toread) != 0) + break; + chunk = grub_zfs_to_cpu16 (la->la_next, endian); + bseen += toread; + } + return (bseen == array_len); +} + +/* XXX */ +static grub_err_t +zap_leaf_array_get (zap_leaf_phys_t * l, grub_zfs_endian_t endian, int blksft, + int chunk, int array_len, char *buf) +{ + int bseen = 0; + + while (bseen < array_len) + { + struct zap_leaf_array *la = &ZAP_LEAF_CHUNK (l, blksft, chunk).l_array; + int toread = MIN (array_len - bseen, ZAP_LEAF_ARRAY_BYTES); + + if (chunk >= ZAP_LEAF_NUMCHUNKS (blksft)) + /* Don't use grub_error because this error is to be ignored. */ + return GRUB_ERR_BAD_FS; + + grub_memcpy (buf + bseen,la->la_array, toread); + chunk = grub_zfs_to_cpu16 (la->la_next, endian); + bseen += toread; + } + return GRUB_ERR_NONE; +} + + +/* + * Given a zap_leaf_phys_t, walk thru the zap leaf chunks to get the + * value for the property "name". + * + */ +/* XXX */ +static grub_err_t +zap_leaf_lookup (zap_leaf_phys_t * l, grub_zfs_endian_t endian, + int blksft, grub_uint64_t h, + const char *name, grub_uint64_t * value) +{ + grub_uint16_t chunk; + struct zap_leaf_entry *le; + + /* Verify if this is a valid leaf block */ + if (grub_zfs_to_cpu64 (l->l_hdr.lh_block_type, endian) != ZBT_LEAF) + return grub_error (GRUB_ERR_BAD_FS, "invalid leaf type"); + if (grub_zfs_to_cpu32 (l->l_hdr.lh_magic, endian) != ZAP_LEAF_MAGIC) + return grub_error (GRUB_ERR_BAD_FS, "invalid leaf magic"); + + for (chunk = grub_zfs_to_cpu16 (l->l_hash[LEAF_HASH (blksft, h)], endian); + chunk != CHAIN_END; chunk = le->le_next) + { + + if (chunk >= ZAP_LEAF_NUMCHUNKS (blksft)) + return grub_error (GRUB_ERR_BAD_FS, "invalid chunk number"); + + le = ZAP_LEAF_ENTRY (l, blksft, chunk); + + /* Verify the chunk entry */ + if (le->le_type != ZAP_CHUNK_ENTRY) + return grub_error (GRUB_ERR_BAD_FS, "invalid chunk entry"); + + if (grub_zfs_to_cpu64 (le->le_hash,endian) != h) + continue; + + grub_dprintf ("zfs", "fzap: length %d\n", (int) le->le_name_length); + + if (zap_leaf_array_equal (l, endian, blksft, + grub_zfs_to_cpu16 (le->le_name_chunk,endian), + grub_zfs_to_cpu16 (le->le_name_length, endian), + name)) + { + struct zap_leaf_array *la; + + if (le->le_int_size != 8 || le->le_value_length != 1) + return grub_error (GRUB_ERR_BAD_FS, "invalid leaf chunk entry"); + + /* get the uint64_t property value */ + la = &ZAP_LEAF_CHUNK (l, blksft, le->le_value_chunk).l_array; + + *value = grub_be_to_cpu64 (la->la_array64); + + return GRUB_ERR_NONE; + } + } + + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "couldn't find %s", name); +} + + +/* Verify if this is a fat zap header block */ +static grub_err_t +zap_verify (zap_phys_t *zap) +{ + if (zap->zap_magic != (grub_uint64_t) ZAP_MAGIC) + return grub_error (GRUB_ERR_BAD_FS, "bad ZAP magic"); + + if (zap->zap_flags != 0) + return grub_error (GRUB_ERR_BAD_FS, "bad ZAP flags"); + + if (zap->zap_salt == 0) + return grub_error (GRUB_ERR_BAD_FS, "bad ZAP salt"); + + return GRUB_ERR_NONE; +} + +/* + * Fat ZAP lookup + * + */ +/* XXX */ +static grub_err_t +fzap_lookup (dnode_end_t * zap_dnode, zap_phys_t * zap, + char *name, grub_uint64_t * value, struct grub_zfs_data *data) +{ + void *l; + grub_uint64_t hash, idx, blkid; + int blksft = zfs_log2 (grub_zfs_to_cpu16 (zap_dnode->dn.dn_datablkszsec, + zap_dnode->endian) << DNODE_SHIFT); + grub_err_t err; + grub_zfs_endian_t leafendian; + + err = zap_verify (zap); + if (err) + return err; + + hash = zap_hash (zap->zap_salt, name); + + /* get block id from index */ + if (zap->zap_ptrtbl.zt_numblks != 0) + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "external pointer tables not supported"); + idx = ZAP_HASH_IDX (hash, zap->zap_ptrtbl.zt_shift); + blkid = ((grub_uint64_t *) zap)[idx + (1 << (blksft - 3 - 1))]; + + /* Get the leaf block */ + if ((1U << blksft) < sizeof (zap_leaf_phys_t)) + return grub_error (GRUB_ERR_BAD_FS, "ZAP leaf is too small"); + err = dmu_read (zap_dnode, blkid, &l, &leafendian, data); + if (err) + return err; + + err = zap_leaf_lookup (l, leafendian, blksft, hash, name, value); + grub_free (l); + return err; +} + +/* XXX */ +static int +fzap_iterate (dnode_end_t * zap_dnode, zap_phys_t * zap, + int NESTED_FUNC_ATTR (*hook) (const char *name, + grub_uint64_t val), + struct grub_zfs_data *data) +{ + zap_leaf_phys_t *l; + void *l_in; + grub_uint64_t idx, blkid; + grub_uint16_t chunk; + int blksft = zfs_log2 (grub_zfs_to_cpu16 (zap_dnode->dn.dn_datablkszsec, + zap_dnode->endian) << DNODE_SHIFT); + grub_err_t err; + grub_zfs_endian_t endian; + + if (zap_verify (zap)) + return 0; + + /* get block id from index */ + if (zap->zap_ptrtbl.zt_numblks != 0) + { + grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "external pointer tables not supported"); + return 0; + } + /* Get the leaf block */ + if ((1U << blksft) < sizeof (zap_leaf_phys_t)) + { + grub_error (GRUB_ERR_BAD_FS, "ZAP leaf is too small"); + return 0; + } + for (idx = 0; idx < zap->zap_ptrtbl.zt_numblks; idx++) + { + blkid = ((grub_uint64_t *) zap)[idx + (1 << (blksft - 3 - 1))]; + + err = dmu_read (zap_dnode, blkid, &l_in, &endian, data); + l = l_in; + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + + /* Verify if this is a valid leaf block */ + if (grub_zfs_to_cpu64 (l->l_hdr.lh_block_type, endian) != ZBT_LEAF) + { + grub_free (l); + continue; + } + if (grub_zfs_to_cpu32 (l->l_hdr.lh_magic, endian) != ZAP_LEAF_MAGIC) + { + grub_free (l); + continue; + } + + for (chunk = 0; chunk < ZAP_LEAF_NUMCHUNKS (blksft); chunk++) + { + char *buf; + struct zap_leaf_array *la; + struct zap_leaf_entry *le; + grub_uint64_t val; + le = ZAP_LEAF_ENTRY (l, blksft, chunk); + + /* Verify the chunk entry */ + if (le->le_type != ZAP_CHUNK_ENTRY) + continue; + + buf = grub_malloc (grub_zfs_to_cpu16 (le->le_name_length, endian) + + 1); + if (zap_leaf_array_get (l, endian, blksft, le->le_name_chunk, + le->le_name_length, buf)) + { + grub_free (buf); + continue; + } + buf[le->le_name_length] = 0; + + if (le->le_int_size != 8 + || grub_zfs_to_cpu16 (le->le_value_length, endian) != 1) + continue; + + /* get the uint64_t property value */ + la = &ZAP_LEAF_CHUNK (l, blksft, le->le_value_chunk).l_array; + val = grub_be_to_cpu64 (la->la_array64); + if (hook (buf, val)) + return 1; + grub_free (buf); + } + } + return 0; +} + + +/* + * Read in the data of a zap object and find the value for a matching + * property name. + * + */ +static grub_err_t +zap_lookup (dnode_end_t * zap_dnode, char *name, grub_uint64_t * val, + struct grub_zfs_data *data) +{ + grub_uint64_t block_type; + int size; + void *zapbuf; + grub_err_t err; + grub_zfs_endian_t endian; + + grub_dprintf ("zfs", "looking for '%s'\n", name); + + /* Read in the first block of the zap object data. */ + size = grub_zfs_to_cpu16 (zap_dnode->dn.dn_datablkszsec, + zap_dnode->endian) << SPA_MINBLOCKSHIFT; + err = dmu_read (zap_dnode, 0, &zapbuf, &endian, data); + if (err) + return err; + block_type = grub_zfs_to_cpu64 (*((grub_uint64_t *) zapbuf), endian); + + grub_dprintf ("zfs", "zap read\n"); + + if (block_type == ZBT_MICRO) + { + grub_dprintf ("zfs", "micro zap\n"); + err = (mzap_lookup (zapbuf, endian, size, name, val)); + grub_dprintf ("zfs", "returned %d\n", err); + grub_free (zapbuf); + return err; + } + else if (block_type == ZBT_HEADER) + { + grub_dprintf ("zfs", "fat zap\n"); + /* this is a fat zap */ + err = (fzap_lookup (zap_dnode, zapbuf, name, val, data)); + grub_dprintf ("zfs", "returned %d\n", err); + grub_free (zapbuf); + return err; + } + + return grub_error (GRUB_ERR_BAD_FS, "unknown ZAP type"); +} + +static int +zap_iterate (dnode_end_t * zap_dnode, + int NESTED_FUNC_ATTR (*hook) (const char *name, grub_uint64_t val), + struct grub_zfs_data *data) +{ + grub_uint64_t block_type; + int size; + void *zapbuf; + grub_err_t err; + int ret; + grub_zfs_endian_t endian; + + /* Read in the first block of the zap object data. */ + size = grub_zfs_to_cpu16 (zap_dnode->dn.dn_datablkszsec, zap_dnode->endian) << SPA_MINBLOCKSHIFT; + err = dmu_read (zap_dnode, 0, &zapbuf, &endian, data); + if (err) + return 0; + block_type = grub_zfs_to_cpu64 (*((grub_uint64_t *) zapbuf), endian); + + grub_dprintf ("zfs", "zap read\n"); + + if (block_type == ZBT_MICRO) + { + grub_dprintf ("zfs", "micro zap\n"); + ret = mzap_iterate (zapbuf, endian, size, hook); + grub_free (zapbuf); + return ret; + } + else if (block_type == ZBT_HEADER) + { + grub_dprintf ("zfs", "fat zap\n"); + /* this is a fat zap */ + ret = fzap_iterate (zap_dnode, zapbuf, hook, data); + grub_free (zapbuf); + return ret; + } + grub_error (GRUB_ERR_BAD_FS, "unknown ZAP type"); + return 0; +} + + +/* + * Get the dnode of an object number from the metadnode of an object set. + * + * Input + * mdn - metadnode to get the object dnode + * objnum - object number for the object dnode + * buf - data buffer that holds the returning dnode + */ +static grub_err_t +dnode_get (dnode_end_t * mdn, grub_uint64_t objnum, grub_uint8_t type, + dnode_end_t * buf, struct grub_zfs_data *data) +{ + grub_uint64_t blkid, blksz; /* the block id this object dnode is in */ + int epbs; /* shift of number of dnodes in a block */ + int idx; /* index within a block */ + void *dnbuf; + grub_err_t err; + grub_zfs_endian_t endian; + + blksz = grub_zfs_to_cpu16 (mdn->dn.dn_datablkszsec, + mdn->endian) << SPA_MINBLOCKSHIFT; + epbs = zfs_log2 (blksz) - DNODE_SHIFT; + blkid = objnum >> epbs; + idx = objnum & ((1 << epbs) - 1); + + if (data->dnode_buf != NULL && grub_memcmp (data->dnode_mdn, mdn, + sizeof (*mdn)) == 0 + && objnum >= data->dnode_start && objnum < data->dnode_end) + { + grub_memmove (&(buf->dn), &(data->dnode_buf)[idx], DNODE_SIZE); + buf->endian = data->dnode_endian; + if (type && buf->dn.dn_type != type) + return grub_error(GRUB_ERR_BAD_FS, "incorrect dnode type"); + return GRUB_ERR_NONE; + } + + grub_dprintf ("zfs", "endian = %d, blkid=%llx\n", mdn->endian, + (unsigned long long) blkid); + err = dmu_read (mdn, blkid, &dnbuf, &endian, data); + if (err) + return err; + grub_dprintf ("zfs", "alive\n"); + + grub_free (data->dnode_buf); + grub_free (data->dnode_mdn); + data->dnode_mdn = grub_malloc (sizeof (*mdn)); + if (! data->dnode_mdn) + { + grub_errno = GRUB_ERR_NONE; + data->dnode_buf = 0; + } + else + { + grub_memcpy (data->dnode_mdn, mdn, sizeof (*mdn)); + data->dnode_buf = dnbuf; + data->dnode_start = blkid << epbs; + data->dnode_end = (blkid + 1) << epbs; + data->dnode_endian = endian; + } + + grub_memmove (&(buf->dn), (dnode_phys_t *) dnbuf + idx, DNODE_SIZE); + buf->endian = endian; + if (type && buf->dn.dn_type != type) + return grub_error(GRUB_ERR_BAD_FS, "incorrect dnode type"); + + return GRUB_ERR_NONE; +} + +/* + * Get the file dnode for a given file name where mdn is the meta dnode + * for this ZFS object set. When found, place the file dnode in dn. + * The 'path' argument will be mangled. + * + */ +static grub_err_t +dnode_get_path (dnode_end_t * mdn, const char *path_in, dnode_end_t * dn, + struct grub_zfs_data *data) +{ + grub_uint64_t objnum, version; + char *cname, ch; + grub_err_t err = GRUB_ERR_NONE; + char *path, *path_buf; + struct dnode_chain + { + struct dnode_chain *next; + dnode_end_t dn; + }; + struct dnode_chain *dnode_path = 0, *dn_new, *root; + + dn_new = grub_malloc (sizeof (*dn_new)); + if (! dn_new) + return grub_errno; + dn_new->next = 0; + dnode_path = root = dn_new; + + err = dnode_get (mdn, MASTER_NODE_OBJ, DMU_OT_MASTER_NODE, + &(dnode_path->dn), data); + if (err) + { + grub_free (dn_new); + return err; + } + + err = zap_lookup (&(dnode_path->dn), ZPL_VERSION_STR, &version, data); + if (err) + { + grub_free (dn_new); + return err; + } + if (version > ZPL_VERSION) + { + grub_free (dn_new); + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, "too new ZPL version"); + } + + err = zap_lookup (&(dnode_path->dn), ZFS_ROOT_OBJ, &objnum, data); + if (err) + { + grub_free (dn_new); + return err; + } + + err = dnode_get (mdn, objnum, 0, &(dnode_path->dn), data); + if (err) + { + grub_free (dn_new); + return err; + } + + path = path_buf = grub_strdup (path_in); + if (!path_buf) + { + grub_free (dn_new); + return grub_errno; + } + + while (1) + { + /* skip leading slashes */ + while (*path == '/') + path++; + if (!*path) + break; + /* get the next component name */ + cname = path; + while (*path && *path != '/') + path++; + /* Skip dot. */ + if (cname + 1 == path && cname[0] == '.') + continue; + /* Handle double dot. */ + if (cname + 2 == path && cname[0] == '.' && cname[1] == '.') + { + if (dn_new->next) + { + dn_new = dnode_path; + dnode_path = dn_new->next; + grub_free (dn_new); + } + else + { + err = grub_error (GRUB_ERR_FILE_NOT_FOUND, + "can't resolve .."); + break; + } + continue; + } + + ch = *path; + *path = 0; /* ensure null termination */ + + if (dnode_path->dn.dn.dn_type != DMU_OT_DIRECTORY_CONTENTS) + { + grub_free (path_buf); + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + } + err = zap_lookup (&(dnode_path->dn), cname, &objnum, data); + if (err) + break; + + dn_new = grub_malloc (sizeof (*dn_new)); + if (! dn_new) + { + err = grub_errno; + break; + } + dn_new->next = dnode_path; + dnode_path = dn_new; + + objnum = ZFS_DIRENT_OBJ (objnum); + err = dnode_get (mdn, objnum, 0, &(dnode_path->dn), data); + if (err) + break; + + *path = ch; +#if 0 + if (((grub_zfs_to_cpu64(((znode_phys_t *) DN_BONUS (&dnode_path->dn.dn))->zp_mode, dnode_path->dn.endian) >> 12) & 0xf) == 0xa && ch) + { + char *oldpath = path, *oldpathbuf = path_buf; + path = path_buf + = grub_malloc (sizeof (dnode_path->dn.dn.dn_bonus) + - sizeof (znode_phys_t) + grub_strlen (oldpath) + 1); + if (!path_buf) + { + grub_free (oldpathbuf); + return grub_errno; + } + grub_memcpy (path, + (char *) DN_BONUS(&dnode_path->dn.dn) + sizeof (znode_phys_t), + sizeof (dnode_path->dn.dn.dn_bonus) - sizeof (znode_phys_t)); + path [sizeof (dnode_path->dn.dn.dn_bonus) - sizeof (znode_phys_t)] = 0; + grub_memcpy (path + grub_strlen (path), oldpath, + grub_strlen (oldpath) + 1); + + grub_free (oldpathbuf); + if (path[0] != '/') + { + dn_new = dnode_path; + dnode_path = dn_new->next; + grub_free (dn_new); + } + else while (dnode_path != root) + { + dn_new = dnode_path; + dnode_path = dn_new->next; + grub_free (dn_new); + } + } +#endif + } + + if (!err) + grub_memcpy (dn, &(dnode_path->dn), sizeof (*dn)); + + while (dnode_path) + { + dn_new = dnode_path->next; + grub_free (dnode_path); + dnode_path = dn_new; + } + grub_free (path_buf); + return err; +} + +#if 0 +/* + * Get the default 'bootfs' property value from the rootpool. + * + */ +static grub_err_t +get_default_bootfsobj (dnode_phys_t * mosmdn, grub_uint64_t * obj, + struct grub_zfs_data *data) +{ + grub_uint64_t objnum = 0; + dnode_phys_t *dn; + if (!dn) + return grub_errno; + + if ((grub_errno = dnode_get (mosmdn, DMU_POOL_DIRECTORY_OBJECT, + DMU_OT_OBJECT_DIRECTORY, dn, data))) + { + grub_free (dn); + return (grub_errno); + } + + /* + * find the object number for 'pool_props', and get the dnode + * of the 'pool_props'. + */ + if (zap_lookup (dn, DMU_POOL_PROPS, &objnum, data)) + { + grub_free (dn); + return (GRUB_ERR_BAD_FS); + } + if ((grub_errno = dnode_get (mosmdn, objnum, DMU_OT_POOL_PROPS, dn, data))) + { + grub_free (dn); + return (grub_errno); + } + if (zap_lookup (dn, ZPOOL_PROP_BOOTFS, &objnum, data)) + { + grub_free (dn); + return (GRUB_ERR_BAD_FS); + } + + if (!objnum) + { + grub_free (dn); + return (GRUB_ERR_BAD_FS); + } + + *obj = objnum; + return (0); +} +#endif +/* + * Given a MOS metadnode, get the metadnode of a given filesystem name (fsname), + * e.g. pool/rootfs, or a given object number (obj), e.g. the object number + * of pool/rootfs. + * + * If no fsname and no obj are given, return the DSL_DIR metadnode. + * If fsname is given, return its metadnode and its matching object number. + * If only obj is given, return the metadnode for this object number. + * + */ +static grub_err_t +get_filesystem_dnode (dnode_end_t * mosmdn, char *fsname, + dnode_end_t * mdn, struct grub_zfs_data *data) +{ + grub_uint64_t objnum; + grub_err_t err; + + grub_dprintf ("zfs", "endian = %d\n", mosmdn->endian); + + err = dnode_get (mosmdn, DMU_POOL_DIRECTORY_OBJECT, + DMU_OT_OBJECT_DIRECTORY, mdn, data); + if (err) + return err; + + grub_dprintf ("zfs", "alive\n"); + + err = zap_lookup (mdn, DMU_POOL_ROOT_DATASET, &objnum, data); + if (err) + return err; + + grub_dprintf ("zfs", "alive\n"); + + err = dnode_get (mosmdn, objnum, DMU_OT_DSL_DIR, mdn, data); + if (err) + return err; + + grub_dprintf ("zfs", "alive\n"); + + while (*fsname) + { + grub_uint64_t childobj; + char *cname, ch; + + while (*fsname == '/') + fsname++; + + if (! *fsname || *fsname == '@') + break; + + cname = fsname; + while (*fsname && !grub_isspace (*fsname) && *fsname != '/') + fsname++; + ch = *fsname; + *fsname = 0; + + childobj = grub_zfs_to_cpu64 ((((dsl_dir_phys_t *) DN_BONUS (&mdn->dn)))->dd_child_dir_zapobj, mdn->endian); + err = dnode_get (mosmdn, childobj, + DMU_OT_DSL_DIR_CHILD_MAP, mdn, data); + if (err) + return err; + + err = zap_lookup (mdn, cname, &objnum, data); + if (err) + return err; + + err = dnode_get (mosmdn, objnum, DMU_OT_DSL_DIR, mdn, data); + if (err) + return err; + + *fsname = ch; + } + return GRUB_ERR_NONE; +} + +static grub_err_t +make_mdn (dnode_end_t * mdn, struct grub_zfs_data *data) +{ + void *osp; + blkptr_t *bp; + grub_size_t ospsize; + grub_err_t err; + + grub_dprintf ("zfs", "endian = %d\n", mdn->endian); + + bp = &(((dsl_dataset_phys_t *) DN_BONUS (&mdn->dn))->ds_bp); + err = zio_read (bp, mdn->endian, &osp, &ospsize, data); + if (err) + return err; + if (ospsize < OBJSET_PHYS_SIZE_V14) + { + grub_free (osp); + return grub_error (GRUB_ERR_BAD_FS, "too small osp"); + } + + mdn->endian = (grub_zfs_to_cpu64 (bp->blk_prop, mdn->endian)>>63) & 1; + grub_memmove ((char *) &(mdn->dn), + (char *) &((objset_phys_t *) osp)->os_meta_dnode, DNODE_SIZE); + grub_free (osp); + return GRUB_ERR_NONE; +} + +static grub_err_t +dnode_get_fullpath (const char *fullpath, dnode_end_t * mdn, + grub_uint64_t *mdnobj, dnode_end_t * dn, int *isfs, + struct grub_zfs_data *data) +{ + char *fsname, *snapname; + const char *ptr_at, *filename; + grub_uint64_t headobj; + grub_err_t err; + + ptr_at = grub_strchr (fullpath, '@'); + if (! ptr_at) + { + *isfs = 1; + filename = 0; + snapname = 0; + fsname = grub_strdup (fullpath); + } + else + { + const char *ptr_slash = grub_strchr (ptr_at, '/'); + + *isfs = 0; + fsname = grub_malloc (ptr_at - fullpath + 1); + if (!fsname) + return grub_errno; + grub_memcpy (fsname, fullpath, ptr_at - fullpath); + fsname[ptr_at - fullpath] = 0; + if (ptr_at[1] && ptr_at[1] != '/') + { + snapname = grub_malloc (ptr_slash - ptr_at); + if (!snapname) + { + grub_free (fsname); + return grub_errno; + } + grub_memcpy (snapname, ptr_at + 1, ptr_slash - ptr_at - 1); + snapname[ptr_slash - ptr_at - 1] = 0; + } + else + snapname = 0; + if (ptr_slash) + filename = ptr_slash; + else + filename = "/"; + grub_dprintf ("zfs", "fsname = '%s' snapname='%s' filename = '%s'\n", + fsname, snapname, filename); + } + grub_dprintf ("zfs", "alive\n"); + err = get_filesystem_dnode (&(data->mos), fsname, dn, data); + if (err) + { + grub_free (fsname); + grub_free (snapname); + return err; + } + + grub_dprintf ("zfs", "alive\n"); + + headobj = grub_zfs_to_cpu64 (((dsl_dir_phys_t *) DN_BONUS (&dn->dn))->dd_head_dataset_obj, dn->endian); + + grub_dprintf ("zfs", "endian = %d\n", mdn->endian); + + err = dnode_get (&(data->mos), headobj, DMU_OT_DSL_DATASET, mdn, data); + if (err) + { + grub_free (fsname); + grub_free (snapname); + return err; + } + grub_dprintf ("zfs", "endian = %d\n", mdn->endian); + + if (snapname) + { + grub_uint64_t snapobj; + + snapobj = grub_zfs_to_cpu64 (((dsl_dataset_phys_t *) DN_BONUS (&mdn->dn))->ds_snapnames_zapobj, mdn->endian); + + err = dnode_get (&(data->mos), snapobj, + DMU_OT_DSL_DS_SNAP_MAP, mdn, data); + if (!err) + err = zap_lookup (mdn, snapname, &headobj, data); + if (!err) + err = dnode_get (&(data->mos), headobj, DMU_OT_DSL_DATASET, mdn, data); + if (err) + { + grub_free (fsname); + grub_free (snapname); + return err; + } + } + + if (mdnobj) + *mdnobj = headobj; + + make_mdn (mdn, data); + + grub_dprintf ("zfs", "endian = %d\n", mdn->endian); + + if (*isfs) + { + grub_free (fsname); + grub_free (snapname); + return GRUB_ERR_NONE; + } + err = dnode_get_path (mdn, filename, dn, data); + grub_free (fsname); + grub_free (snapname); + return err; +} + +/* + * For a given XDR packed nvlist, verify the first 4 bytes and move on. + * + * An XDR packed nvlist is encoded as (comments from nvs_xdr_create) : + * + * encoding method/host endian (4 bytes) + * nvl_version (4 bytes) + * nvl_nvflag (4 bytes) + * encoded nvpairs: + * encoded size of the nvpair (4 bytes) + * decoded size of the nvpair (4 bytes) + * name string size (4 bytes) + * name string data (sizeof(NV_ALIGN4(string)) + * data type (4 bytes) + * # of elements in the nvpair (4 bytes) + * data + * 2 zero's for the last nvpair + * (end of the entire list) (8 bytes) + * + */ + +static int +nvlist_find_value (char *nvlist, char *name, int valtype, char **val, + grub_size_t *size_out, grub_size_t *nelm_out) +{ + int name_len, type, encode_size; + char *nvpair, *nvp_name; + + /* Verify if the 1st and 2nd byte in the nvlist are valid. */ + /* NOTE: independently of what endianness header announces all + subsequent values are big-endian. */ + if (nvlist[0] != NV_ENCODE_XDR || (nvlist[1] != NV_LITTLE_ENDIAN + && nvlist[1] != NV_BIG_ENDIAN)) + { + grub_dprintf ("zfs", "incorrect nvlist header\n"); + grub_error (GRUB_ERR_BAD_FS, "incorrect nvlist"); + return 0; + } + + /* skip the header, nvl_version, and nvl_nvflag */ + nvlist = nvlist + 4 * 3; + /* + * Loop thru the nvpair list + * The XDR representation of an integer is in big-endian byte order. + */ + while ((encode_size = grub_be_to_cpu32 (*(grub_uint32_t *) nvlist))) + { + int nelm; + + nvpair = nvlist + 4 * 2; /* skip the encode/decode size */ + + name_len = grub_be_to_cpu32 (*(grub_uint32_t *) nvpair); + nvpair += 4; + + nvp_name = nvpair; + nvpair = nvpair + ((name_len + 3) & ~3); /* align */ + + type = grub_be_to_cpu32 (*(grub_uint32_t *) nvpair); + nvpair += 4; + + nelm = grub_be_to_cpu32 (*(grub_uint32_t *) nvpair); + if (nelm < 1) + return grub_error (GRUB_ERR_BAD_FS, "empty nvpair"); + + nvpair += 4; + + if ((grub_strncmp (nvp_name, name, name_len) == 0) && type == valtype) + { + *val = nvpair; + *size_out = encode_size; + if (nelm_out) + *nelm_out = nelm; + return 1; + } + + nvlist += encode_size; /* goto the next nvpair */ + } + return 0; +} + +int +grub_zfs_nvlist_lookup_uint64 (char *nvlist, char *name, grub_uint64_t * out) +{ + char *nvpair; + grub_size_t size; + int found; + + found = nvlist_find_value (nvlist, name, DATA_TYPE_UINT64, &nvpair, &size, 0); + if (!found) + return 0; + if (size < sizeof (grub_uint64_t)) + { + grub_error (GRUB_ERR_BAD_FS, "invalid uint64"); + return 0; + } + + *out = grub_be_to_cpu64 (*(grub_uint64_t *) nvpair); + return 1; +} + +char * +grub_zfs_nvlist_lookup_string (char *nvlist, char *name) +{ + char *nvpair; + char *ret; + grub_size_t slen; + grub_size_t size; + int found; + + found = nvlist_find_value (nvlist, name, DATA_TYPE_STRING, &nvpair, &size, 0); + if (!found) + return 0; + if (size < 4) + { + grub_error (GRUB_ERR_BAD_FS, "invalid string"); + return 0; + } + slen = grub_be_to_cpu32 (*(grub_uint32_t *) nvpair); + if (slen > size - 4) + slen = size - 4; + ret = grub_malloc (slen + 1); + if (!ret) + return 0; + grub_memcpy (ret, nvpair + 4, slen); + ret[slen] = 0; + return ret; +} + +char * +grub_zfs_nvlist_lookup_nvlist (char *nvlist, char *name) +{ + char *nvpair; + char *ret; + grub_size_t size; + int found; + + found = nvlist_find_value (nvlist, name, DATA_TYPE_NVLIST, &nvpair, + &size, 0); + if (!found) + return 0; + ret = grub_zalloc (size + 3 * sizeof (grub_uint32_t)); + if (!ret) + return 0; + grub_memcpy (ret, nvlist, sizeof (grub_uint32_t)); + + grub_memcpy (ret + sizeof (grub_uint32_t), nvpair, size); + return ret; +} + +int +grub_zfs_nvlist_lookup_nvlist_array_get_nelm (char *nvlist, char *name) +{ + char *nvpair; + grub_size_t nelm, size; + int found; + + found = nvlist_find_value (nvlist, name, DATA_TYPE_NVLIST, &nvpair, + &size, &nelm); + if (! found) + return -1; + return nelm; +} + +char * +grub_zfs_nvlist_lookup_nvlist_array (char *nvlist, char *name, + grub_size_t index) +{ + char *nvpair, *nvpairptr; + int found; + char *ret; + grub_size_t size; + unsigned i; + grub_size_t nelm; + + found = nvlist_find_value (nvlist, name, DATA_TYPE_NVLIST, &nvpair, + &size, &nelm); + if (!found) + return 0; + if (index >= nelm) + { + grub_error (GRUB_ERR_OUT_OF_RANGE, "trying to lookup past nvlist array"); + return 0; + } + + nvpairptr = nvpair; + + for (i = 0; i < index; i++) + { + grub_uint32_t encode_size; + + /* skip the header, nvl_version, and nvl_nvflag */ + nvpairptr = nvpairptr + 4 * 2; + + while (nvpairptr < nvpair + size + && (encode_size = grub_be_to_cpu32 (*(grub_uint32_t *) nvpairptr))) + nvlist += encode_size; /* goto the next nvpair */ + + nvlist = nvlist + 4 * 2; /* skip the ending 2 zeros - 8 bytes */ + } + + if (nvpairptr >= nvpair + size + || nvpairptr + grub_be_to_cpu32 (*(grub_uint32_t *) (nvpairptr + 4 * 2)) + >= nvpair + size) + { + grub_error (GRUB_ERR_BAD_FS, "incorrect nvlist array"); + return 0; + } + + ret = grub_zalloc (grub_be_to_cpu32 (*(grub_uint32_t *) (nvpairptr + 4 * 2)) + + 3 * sizeof (grub_uint32_t)); + if (!ret) + return 0; + grub_memcpy (ret, nvlist, sizeof (grub_uint32_t)); + + grub_memcpy (ret + sizeof (grub_uint32_t), nvpairptr, size); + return ret; +} + +static grub_err_t +zfs_fetch_nvlist (struct grub_zfs_data * data, char **nvlist) +{ + grub_err_t err; + + *nvlist = grub_malloc (VDEV_PHYS_SIZE); + /* Read in the vdev name-value pair list (112K). */ + err = grub_disk_read (data->disk, data->vdev_phys_sector, 0, + VDEV_PHYS_SIZE, *nvlist); + if (err) + { + grub_free (*nvlist); + *nvlist = 0; + return err; + } + return GRUB_ERR_NONE; +} + +/* + * Check the disk label information and retrieve needed vdev name-value pairs. + * + */ +static grub_err_t +check_pool_label (struct grub_zfs_data *data) +{ + grub_uint64_t pool_state, txg = 0; + char *nvlist; +#if 0 + char *nv; +#endif + grub_uint64_t diskguid; + grub_uint64_t version; + int found; + grub_err_t err; + + err = zfs_fetch_nvlist (data, &nvlist); + if (err) + return err; + + grub_dprintf ("zfs", "check 2 passed\n"); + + found = grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_POOL_STATE, + &pool_state); + if (! found) + { + grub_free (nvlist); + if (! grub_errno) + grub_error (GRUB_ERR_BAD_FS, ZPOOL_CONFIG_POOL_STATE " not found"); + return grub_errno; + } + grub_dprintf ("zfs", "check 3 passed\n"); + + if (pool_state == POOL_STATE_DESTROYED) + { + grub_free (nvlist); + return grub_error (GRUB_ERR_BAD_FS, "zpool is marked as destroyed"); + } + grub_dprintf ("zfs", "check 4 passed\n"); + + found = grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_POOL_TXG, &txg); + if (!found) + { + grub_free (nvlist); + if (! grub_errno) + grub_error (GRUB_ERR_BAD_FS, ZPOOL_CONFIG_POOL_TXG " not found"); + return grub_errno; + } + grub_dprintf ("zfs", "check 6 passed\n"); + + /* not an active device */ + if (txg == 0) + { + grub_free (nvlist); + return grub_error (GRUB_ERR_BAD_FS, "zpool isn't active"); + } + grub_dprintf ("zfs", "check 7 passed\n"); + + found = grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_VERSION, + &version); + if (! found) + { + grub_free (nvlist); + if (! grub_errno) + grub_error (GRUB_ERR_BAD_FS, ZPOOL_CONFIG_VERSION " not found"); + return grub_errno; + } + grub_dprintf ("zfs", "check 8 passed\n"); + + if (version > SPA_VERSION) + { + grub_free (nvlist); + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "too new version %llu > %llu", + (unsigned long long) version, + (unsigned long long) SPA_VERSION); + } + grub_dprintf ("zfs", "check 9 passed\n"); +#if 0 + if (nvlist_lookup_value (nvlist, ZPOOL_CONFIG_VDEV_TREE, &nv, + DATA_TYPE_NVLIST, NULL)) + { + grub_free (vdev); + return (GRUB_ERR_BAD_FS); + } + grub_dprintf ("zfs", "check 10 passed\n"); +#endif + + found = grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_GUID, &diskguid); + if (! found) + { + grub_free (nvlist); + if (! grub_errno) + grub_error (GRUB_ERR_BAD_FS, ZPOOL_CONFIG_GUID " not found"); + return grub_errno; + } + grub_dprintf ("zfs", "check 11 passed\n"); + + grub_free (nvlist); + + return GRUB_ERR_NONE; +} + +static void +zfs_unmount (struct grub_zfs_data *data) +{ + grub_free (data->dnode_buf); + grub_free (data->dnode_mdn); + grub_free (data->file_buf); + grub_free (data); +} + +/* + * zfs_mount() locates a valid uberblock of the root pool and read in its MOS + * to the memory address MOS. + * + */ +static struct grub_zfs_data * +zfs_mount (grub_device_t dev) +{ + struct grub_zfs_data *data = 0; + int label = 0; + uberblock_phys_t *ub_array, *ubbest = NULL; + vdev_boot_header_t *bh; + void *osp = 0; + grub_size_t ospsize; + grub_err_t err; + int vdevnum; + + if (! dev->disk) + { + grub_error (GRUB_ERR_BAD_DEVICE, "not a disk"); + return 0; + } + + data = grub_malloc (sizeof (*data)); + if (!data) + return 0; + grub_memset (data, 0, sizeof (*data)); +#if 0 + /* if it's our first time here, zero the best uberblock out */ + if (data->best_drive == 0 && data->best_part == 0 && find_best_root) + grub_memset (¤t_uberblock, 0, sizeof (uberblock_t)); +#endif + + data->disk = dev->disk; + + ub_array = grub_malloc (VDEV_UBERBLOCK_RING); + if (!ub_array) + { + zfs_unmount (data); + return 0; + } + + bh = grub_malloc (VDEV_BOOT_HEADER_SIZE); + if (!bh) + { + zfs_unmount (data); + grub_free (ub_array); + return 0; + } + + vdevnum = VDEV_LABELS; + + /* Don't check back labels on CDROM. */ + if (grub_disk_get_size (dev->disk) == GRUB_DISK_SIZE_UNKNOWN) + vdevnum = VDEV_LABELS / 2; + + for (label = 0; ubbest == NULL && label < vdevnum; label++) + { + grub_zfs_endian_t ub_endian = UNKNOWN_ENDIAN; + grub_dprintf ("zfs", "label %d\n", label); + + data->vdev_phys_sector + = label * (sizeof (vdev_label_t) >> SPA_MINBLOCKSHIFT) + + ((VDEV_SKIP_SIZE + VDEV_BOOT_HEADER_SIZE) >> SPA_MINBLOCKSHIFT) + + (label < VDEV_LABELS / 2 ? 0 : grub_disk_get_size (dev->disk) + - VDEV_LABELS * (sizeof (vdev_label_t) >> SPA_MINBLOCKSHIFT)); + + /* Read in the uberblock ring (128K). */ + err = grub_disk_read (data->disk, data->vdev_phys_sector + + (VDEV_PHYS_SIZE >> SPA_MINBLOCKSHIFT), + 0, VDEV_UBERBLOCK_RING, (char *) ub_array); + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } + grub_dprintf ("zfs", "label ok %d\n", label); + + ubbest = find_bestub (ub_array, data->vdev_phys_sector); + if (!ubbest) + { + grub_dprintf ("zfs", "No uberblock found\n"); + grub_errno = GRUB_ERR_NONE; + continue; + } + ub_endian = (grub_zfs_to_cpu64 (ubbest->ubp_uberblock.ub_magic, + LITTLE_ENDIAN) == UBERBLOCK_MAGIC + ? LITTLE_ENDIAN : BIG_ENDIAN); + err = zio_read (&ubbest->ubp_uberblock.ub_rootbp, + ub_endian, + &osp, &ospsize, data); + if (err) + { + grub_dprintf ("zfs", "couldn't zio_read\n"); + grub_errno = GRUB_ERR_NONE; + continue; + } + + if (ospsize < OBJSET_PHYS_SIZE_V14) + { + grub_dprintf ("zfs", "osp too small\n"); + grub_free (osp); + continue; + } + grub_dprintf ("zfs", "ubbest %p\n", ubbest); + + err = check_pool_label (data); + if (err) + { + grub_errno = GRUB_ERR_NONE; + continue; + } +#if 0 + if (find_best_root && + vdev_uberblock_compare (&ubbest->ubp_uberblock, + &(current_uberblock)) <= 0) + continue; +#endif + /* Got the MOS. Save it at the memory addr MOS. */ + grub_memmove (&(data->mos.dn), &((objset_phys_t *) osp)->os_meta_dnode, + DNODE_SIZE); + data->mos.endian = (grub_zfs_to_cpu64 (ubbest->ubp_uberblock.ub_rootbp.blk_prop, ub_endian) >> 63) & 1; + grub_memmove (&(data->current_uberblock), + &ubbest->ubp_uberblock, sizeof (uberblock_t)); + grub_free (ub_array); + grub_free (bh); + grub_free (osp); + return data; + } + grub_error (GRUB_ERR_BAD_FS, "couldn't find a valid label"); + zfs_unmount (data); + grub_free (ub_array); + grub_free (bh); + grub_free (osp); + + return 0; +} + +grub_err_t +grub_zfs_fetch_nvlist (grub_device_t dev, char **nvlist) +{ + struct grub_zfs_data *zfs; + grub_err_t err; + + zfs = zfs_mount (dev); + if (!zfs) + return grub_errno; + err = zfs_fetch_nvlist (zfs, nvlist); + zfs_unmount (zfs); + return err; +} + +static grub_err_t +zfs_label (grub_device_t device, char **label) +{ + char *nvlist; + grub_err_t err; + struct grub_zfs_data *data; + + data = zfs_mount (device); + if (! data) + return grub_errno; + + err = zfs_fetch_nvlist (data, &nvlist); + if (err) + { + zfs_unmount (data); + return err; + } + + *label = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_POOL_NAME); + grub_free (nvlist); + zfs_unmount (data); + return grub_errno; +} + +static grub_err_t +zfs_uuid (grub_device_t device, char **uuid) +{ + char *nvlist; + int found; + struct grub_zfs_data *data; + grub_uint64_t guid; + grub_err_t err; + + *uuid = 0; + + data = zfs_mount (device); + if (! data) + return grub_errno; + + err = zfs_fetch_nvlist (data, &nvlist); + if (err) + { + zfs_unmount (data); + return err; + } + + found = grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_POOL_GUID, &guid); + if (! found) + return grub_errno; + grub_free (nvlist); + *uuid = grub_xasprintf ("%016llx", (long long unsigned) guid); + zfs_unmount (data); + if (! *uuid) + return grub_errno; + return GRUB_ERR_NONE; +} + +/* + * zfs_open() locates a file in the rootpool by following the + * MOS and places the dnode of the file in the memory address DNODE. + */ +static grub_err_t +grub_zfs_open (struct grub_file *file, const char *fsfilename) +{ + struct grub_zfs_data *data; + grub_err_t err; + int isfs; + + data = zfs_mount (file->device); + if (! data) + return grub_errno; + + err = dnode_get_fullpath (fsfilename, &(data->mdn), 0, + &(data->dnode), &isfs, data); + if (err) + { + zfs_unmount (data); + return err; + } + + if (isfs) + { + zfs_unmount (data); + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "Missing @ or / separator"); + } + + /* We found the dnode for this file. Verify if it is a plain file. */ + if (data->dnode.dn.dn_type != DMU_OT_PLAIN_FILE_CONTENTS) + { + zfs_unmount (data); + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a file"); + } + + /* get the file size and set the file position to 0 */ + + /* + * For DMU_OT_SA we will need to locate the SIZE attribute + * attribute, which could be either in the bonus buffer + * or the "spill" block. + */ + if (data->dnode.dn.dn_bonustype == DMU_OT_SA) + { + void *sahdrp; + int hdrsize; + + if (data->dnode.dn.dn_bonuslen != 0) + { + sahdrp = (sa_hdr_phys_t *) DN_BONUS (&data->dnode.dn); + } + else if (data->dnode.dn.dn_flags & DNODE_FLAG_SPILL_BLKPTR) + { + blkptr_t *bp = &data->dnode.dn.dn_spill; + + err = zio_read (bp, data->dnode.endian, &sahdrp, NULL, data); + if (err) + return err; + } + else + { + return grub_error (GRUB_ERR_BAD_FS, "filesystem is corrupt"); + } + + hdrsize = SA_HDR_SIZE (((sa_hdr_phys_t *) sahdrp)); + file->size = *(grub_uint64_t *) ((char *) sahdrp + hdrsize + SA_SIZE_OFFSET); + } + else + { + file->size = grub_zfs_to_cpu64 (((znode_phys_t *) DN_BONUS (&data->dnode.dn))->zp_size, data->dnode.endian); + } + + file->data = data; + file->offset = 0; + +#ifndef GRUB_UTIL + grub_dl_ref (my_mod); +#endif + + return GRUB_ERR_NONE; +} + +static grub_ssize_t +grub_zfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_zfs_data *data = (struct grub_zfs_data *) file->data; + int blksz, movesize; + grub_size_t length; + grub_size_t read; + grub_err_t err; + + if (data->file_buf == NULL) + { + data->file_buf = grub_malloc (SPA_MAXBLOCKSIZE); + if (!data->file_buf) + return -1; + data->file_start = data->file_end = 0; + } + + /* + * If offset is in memory, move it into the buffer provided and return. + */ + if (file->offset >= data->file_start + && file->offset + len <= data->file_end) + { + grub_memmove (buf, data->file_buf + file->offset - data->file_start, + len); + return len; + } + + blksz = grub_zfs_to_cpu16 (data->dnode.dn.dn_datablkszsec, + data->dnode.endian) << SPA_MINBLOCKSHIFT; + + /* + * Entire Dnode is too big to fit into the space available. We + * will need to read it in chunks. This could be optimized to + * read in as large a chunk as there is space available, but for + * now, this only reads in one data block at a time. + */ + length = len; + read = 0; + while (length) + { + void *t; + /* + * Find requested blkid and the offset within that block. + */ + grub_uint64_t blkid = grub_divmod64 (file->offset + read, blksz, 0); + grub_free (data->file_buf); + data->file_buf = 0; + + err = dmu_read (&(data->dnode), blkid, &t, + 0, data); + data->file_buf = t; + if (err) + return -1; + + data->file_start = blkid * blksz; + data->file_end = data->file_start + blksz; + + movesize = MIN (length, data->file_end - (int) file->offset - read); + + grub_memmove (buf, data->file_buf + file->offset + read + - data->file_start, movesize); + buf += movesize; + length -= movesize; + read += movesize; + } + + return len; +} + +static grub_err_t +grub_zfs_close (grub_file_t file) +{ + zfs_unmount ((struct grub_zfs_data *) file->data); + +#ifndef GRUB_UTIL + grub_dl_unref (my_mod); +#endif + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_zfs_getmdnobj (grub_device_t dev, const char *fsfilename, + grub_uint64_t *mdnobj) +{ + struct grub_zfs_data *data; + grub_err_t err; + int isfs; + + data = zfs_mount (dev); + if (! data) + return grub_errno; + + err = dnode_get_fullpath (fsfilename, &(data->mdn), mdnobj, + &(data->dnode), &isfs, data); + zfs_unmount (data); + return err; +} + +static void +fill_fs_info (struct grub_dirhook_info *info, + dnode_end_t mdn, struct grub_zfs_data *data) +{ + grub_err_t err; + dnode_end_t dn; + grub_uint64_t objnum; + grub_uint64_t headobj; + + grub_memset (info, 0, sizeof (*info)); + + info->dir = 1; + + if (mdn.dn.dn_type == DMU_OT_DSL_DIR) + { + headobj = grub_zfs_to_cpu64 (((dsl_dir_phys_t *) DN_BONUS (&mdn.dn))->dd_head_dataset_obj, mdn.endian); + + err = dnode_get (&(data->mos), headobj, DMU_OT_DSL_DATASET, &mdn, data); + if (err) + { + grub_dprintf ("zfs", "failed here\n"); + return; + } + } + make_mdn (&mdn, data); + err = dnode_get (&mdn, MASTER_NODE_OBJ, DMU_OT_MASTER_NODE, + &dn, data); + if (err) + { + grub_dprintf ("zfs", "failed here\n"); + return; + } + + err = zap_lookup (&dn, ZFS_ROOT_OBJ, &objnum, data); + if (err) + { + grub_dprintf ("zfs", "failed here\n"); + return; + } + + err = dnode_get (&mdn, objnum, 0, &dn, data); + if (err) + { + grub_dprintf ("zfs", "failed here\n"); + return; + } + + info->mtimeset = 1; + info->mtime = grub_zfs_to_cpu64 (((znode_phys_t *) DN_BONUS (&dn.dn))->zp_mtime[0], dn.endian); + return; +} + +static grub_err_t +grub_zfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *, const struct grub_dirhook_info *)) +{ + struct grub_zfs_data *data; + grub_err_t err; + int isfs; + auto int NESTED_FUNC_ATTR iterate_zap (const char *name, grub_uint64_t val); + auto int NESTED_FUNC_ATTR iterate_zap_fs (const char *name, + grub_uint64_t val); + auto int NESTED_FUNC_ATTR iterate_zap_snap (const char *name, + grub_uint64_t val); + + int NESTED_FUNC_ATTR iterate_zap (const char *name, grub_uint64_t val) + { + struct grub_dirhook_info info; + dnode_end_t dn; + grub_memset (&info, 0, sizeof (info)); + + dnode_get (&(data->mdn), val, 0, &dn, data); + info.mtimeset = 1; + info.mtime = grub_zfs_to_cpu64 (((znode_phys_t *) DN_BONUS (&dn.dn))->zp_mtime[0], dn.endian); + info.dir = (dn.dn.dn_type == DMU_OT_DIRECTORY_CONTENTS); + grub_dprintf ("zfs", "type=%d, name=%s\n", + (int)dn.dn.dn_type, (char *)name); + return hook (name, &info); + } + + int NESTED_FUNC_ATTR iterate_zap_fs (const char *name, grub_uint64_t val) + { + struct grub_dirhook_info info; + dnode_end_t mdn; + err = dnode_get (&(data->mos), val, 0, &mdn, data); + if (err) + return 0; + if (mdn.dn.dn_type != DMU_OT_DSL_DIR) + return 0; + + fill_fs_info (&info, mdn, data); + return hook (name, &info); + } + int NESTED_FUNC_ATTR iterate_zap_snap (const char *name, grub_uint64_t val) + { + struct grub_dirhook_info info; + char *name2; + int ret; + dnode_end_t mdn; + + err = dnode_get (&(data->mos), val, 0, &mdn, data); + if (err) + return 0; + + if (mdn.dn.dn_type != DMU_OT_DSL_DATASET) + return 0; + + fill_fs_info (&info, mdn, data); + + name2 = grub_malloc (grub_strlen (name) + 2); + name2[0] = '@'; + grub_memcpy (name2 + 1, name, grub_strlen (name) + 1); + ret = hook (name2, &info); + grub_free (name2); + return ret; + } + + data = zfs_mount (device); + if (! data) + return grub_errno; + err = dnode_get_fullpath (path, &(data->mdn), 0, &(data->dnode), &isfs, data); + if (err) + { + zfs_unmount (data); + return err; + } + if (isfs) + { + grub_uint64_t childobj, headobj; + grub_uint64_t snapobj; + dnode_end_t dn; + struct grub_dirhook_info info; + + fill_fs_info (&info, data->dnode, data); + hook ("@", &info); + + childobj = grub_zfs_to_cpu64 (((dsl_dir_phys_t *) DN_BONUS (&data->dnode.dn))->dd_child_dir_zapobj, data->dnode.endian); + headobj = grub_zfs_to_cpu64 (((dsl_dir_phys_t *) DN_BONUS (&data->dnode.dn))->dd_head_dataset_obj, data->dnode.endian); + err = dnode_get (&(data->mos), childobj, + DMU_OT_DSL_DIR_CHILD_MAP, &dn, data); + if (err) + { + zfs_unmount (data); + return err; + } + + zap_iterate (&dn, iterate_zap_fs, data); + + err = dnode_get (&(data->mos), headobj, DMU_OT_DSL_DATASET, &dn, data); + if (err) + { + zfs_unmount (data); + return err; + } + + snapobj = grub_zfs_to_cpu64 (((dsl_dataset_phys_t *) DN_BONUS (&dn.dn))->ds_snapnames_zapobj, dn.endian); + + err = dnode_get (&(data->mos), snapobj, + DMU_OT_DSL_DS_SNAP_MAP, &dn, data); + if (err) + { + zfs_unmount (data); + return err; + } + + zap_iterate (&dn, iterate_zap_snap, data); + } + else + { + if (data->dnode.dn.dn_type != DMU_OT_DIRECTORY_CONTENTS) + { + zfs_unmount (data); + return grub_error (GRUB_ERR_BAD_FILE_TYPE, "not a directory"); + } + zap_iterate (&(data->dnode), iterate_zap, data); + } + zfs_unmount (data); + return grub_errno; +} + +static struct grub_fs grub_zfs_fs = { + .name = "zfs", + .dir = grub_zfs_dir, + .open = grub_zfs_open, + .read = grub_zfs_read, + .close = grub_zfs_close, + .label = zfs_label, + .uuid = zfs_uuid, + .mtime = 0, + .next = 0 +}; + +GRUB_MOD_INIT (zfs) +{ + grub_fs_register (&grub_zfs_fs); +#ifndef GRUB_UTIL + my_mod = mod; +#endif +} + +GRUB_MOD_FINI (zfs) +{ + grub_fs_unregister (&grub_zfs_fs); +} diff --git a/grub-core/fs/zfs/zfs_fletcher.c b/grub-core/fs/zfs/zfs_fletcher.c new file mode 100644 index 0000000..7d27b05 --- /dev/null +++ b/grub-core/fs/zfs/zfs_fletcher.c @@ -0,0 +1,84 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2009 Free Software Foundation, Inc. + * Copyright 2007 Sun Microsystems, Inc. + * + * GRUB is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void +fletcher_2(const void *buf, grub_uint64_t size, grub_zfs_endian_t endian, + zio_cksum_t *zcp) +{ + const grub_uint64_t *ip = buf; + const grub_uint64_t *ipend = ip + (size / sizeof (grub_uint64_t)); + grub_uint64_t a0, b0, a1, b1; + + for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip += 2) + { + a0 += grub_zfs_to_cpu64 (ip[0], endian); + a1 += grub_zfs_to_cpu64 (ip[1], endian); + b0 += a0; + b1 += a1; + } + + zcp->zc_word[0] = grub_cpu_to_zfs64 (a0, endian); + zcp->zc_word[1] = grub_cpu_to_zfs64 (a1, endian); + zcp->zc_word[2] = grub_cpu_to_zfs64 (b0, endian); + zcp->zc_word[3] = grub_cpu_to_zfs64 (b1, endian); +} + +void +fletcher_4 (const void *buf, grub_uint64_t size, grub_zfs_endian_t endian, + zio_cksum_t *zcp) +{ + const grub_uint32_t *ip = buf; + const grub_uint32_t *ipend = ip + (size / sizeof (grub_uint32_t)); + grub_uint64_t a, b, c, d; + + for (a = b = c = d = 0; ip < ipend; ip++) + { + a += grub_zfs_to_cpu32 (ip[0], endian);; + b += a; + c += b; + d += c; + } + + zcp->zc_word[0] = grub_cpu_to_zfs64 (a, endian); + zcp->zc_word[1] = grub_cpu_to_zfs64 (b, endian); + zcp->zc_word[2] = grub_cpu_to_zfs64 (c, endian); + zcp->zc_word[3] = grub_cpu_to_zfs64 (d, endian); +} + diff --git a/grub-core/fs/zfs/zfs_lzjb.c b/grub-core/fs/zfs/zfs_lzjb.c new file mode 100644 index 0000000..62b5ea6 --- /dev/null +++ b/grub-core/fs/zfs/zfs_lzjb.c @@ -0,0 +1,93 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2009 Free Software Foundation, Inc. + * Copyright 2007 Sun Microsystems, Inc. + * + * GRUB is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define MATCH_BITS 6 +#define MATCH_MIN 3 +#define OFFSET_MASK ((1 << (16 - MATCH_BITS)) - 1) + +/* + * Decompression Entry - lzjb + */ +#ifndef NBBY +#define NBBY 8 +#endif + +grub_err_t +lzjb_decompress (void *s_start, void *d_start, grub_size_t s_len, + grub_size_t d_len); + +grub_err_t +lzjb_decompress (void *s_start, void *d_start, grub_size_t s_len, + grub_size_t d_len) +{ + grub_uint8_t *src = s_start; + grub_uint8_t *dst = d_start; + grub_uint8_t *d_end = (grub_uint8_t *) d_start + d_len; + grub_uint8_t *s_end = (grub_uint8_t *) s_start + s_len; + grub_uint8_t *cpy, copymap = 0; + int copymask = 1 << (NBBY - 1); + + while (dst < d_end && src < s_end) + { + if ((copymask <<= 1) == (1 << NBBY)) + { + copymask = 1; + copymap = *src++; + } + if (src >= s_end) + return grub_error (GRUB_ERR_BAD_FS, "lzjb decompression failed"); + if (copymap & copymask) + { + int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; + int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; + src += 2; + cpy = dst - offset; + if (src > s_end || cpy < (grub_uint8_t *) d_start) + return grub_error (GRUB_ERR_BAD_FS, "lzjb decompression failed"); + while (--mlen >= 0 && dst < d_end) + *dst++ = *cpy++; + } + else + *dst++ = *src++; + } + if (dst < d_end) + return grub_error (GRUB_ERR_BAD_FS, "lzjb decompression failed"); + return GRUB_ERR_NONE; +} diff --git a/grub-core/fs/zfs/zfs_sha256.c b/grub-core/fs/zfs/zfs_sha256.c new file mode 100644 index 0000000..ba510cf --- /dev/null +++ b/grub-core/fs/zfs/zfs_sha256.c @@ -0,0 +1,143 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2009 Free Software Foundation, Inc. + * Copyright 2007 Sun Microsystems, Inc. + * + * GRUB is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* + * SHA-256 checksum, as specified in FIPS 180-2, available at: + * http://csrc.nist.gov/cryptval + * + * This is a very compact implementation of SHA-256. + * It is designed to be simple and portable, not to be fast. + */ + +/* + * The literal definitions according to FIPS180-2 would be: + * + * Ch(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) + * Maj(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) + * + * We use logical equivalents which require one less op. + */ +#define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) +#define Maj(x, y, z) (((x) & (y)) ^ ((z) & ((x) ^ (y)))) +#define Rot32(x, s) (((x) >> s) | ((x) << (32 - s))) +#define SIGMA0(x) (Rot32(x, 2) ^ Rot32(x, 13) ^ Rot32(x, 22)) +#define SIGMA1(x) (Rot32(x, 6) ^ Rot32(x, 11) ^ Rot32(x, 25)) +#define sigma0(x) (Rot32(x, 7) ^ Rot32(x, 18) ^ ((x) >> 3)) +#define sigma1(x) (Rot32(x, 17) ^ Rot32(x, 19) ^ ((x) >> 10)) + +static const grub_uint32_t SHA256_K[64] = { + 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, + 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, + 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, + 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, + 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, + 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, + 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, + 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, + 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, + 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, + 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, + 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, + 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, + 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, + 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, + 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 +}; + +static void +SHA256Transform(grub_uint32_t *H, const grub_uint8_t *cp) +{ + grub_uint32_t a, b, c, d, e, f, g, h, t, T1, T2, W[64]; + + for (t = 0; t < 16; t++, cp += 4) + W[t] = (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | cp[3]; + + for (t = 16; t < 64; t++) + W[t] = sigma1(W[t - 2]) + W[t - 7] + + sigma0(W[t - 15]) + W[t - 16]; + + a = H[0]; b = H[1]; c = H[2]; d = H[3]; + e = H[4]; f = H[5]; g = H[6]; h = H[7]; + + for (t = 0; t < 64; t++) { + T1 = h + SIGMA1(e) + Ch(e, f, g) + SHA256_K[t] + W[t]; + T2 = SIGMA0(a) + Maj(a, b, c); + h = g; g = f; f = e; e = d + T1; + d = c; c = b; b = a; a = T1 + T2; + } + + H[0] += a; H[1] += b; H[2] += c; H[3] += d; + H[4] += e; H[5] += f; H[6] += g; H[7] += h; +} + +void +zio_checksum_SHA256(const void *buf, grub_uint64_t size, + grub_zfs_endian_t endian, zio_cksum_t *zcp) +{ + grub_uint32_t H[8] = { 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, + 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 }; + grub_uint8_t pad[128]; + unsigned padsize = size & 63; + unsigned i; + + for (i = 0; i < size - padsize; i += 64) + SHA256Transform(H, (grub_uint8_t *)buf + i); + + for (i = 0; i < padsize; i++) + pad[i] = ((grub_uint8_t *)buf)[i]; + + for (pad[padsize++] = 0x80; (padsize & 63) != 56; padsize++) + pad[padsize] = 0; + + for (i = 0; i < 8; i++) + pad[padsize++] = (size << 3) >> (56 - 8 * i); + + for (i = 0; i < padsize; i += 64) + SHA256Transform(H, pad + i); + + zcp->zc_word[0] = grub_cpu_to_zfs64 ((grub_uint64_t)H[0] << 32 | H[1], + endian); + zcp->zc_word[1] = grub_cpu_to_zfs64 ((grub_uint64_t)H[2] << 32 | H[3], + endian); + zcp->zc_word[2] = grub_cpu_to_zfs64 ((grub_uint64_t)H[4] << 32 | H[5], + endian); + zcp->zc_word[3] = grub_cpu_to_zfs64 ((grub_uint64_t)H[6] << 32 | H[7], + endian); +} diff --git a/grub-core/fs/zfs/zfsinfo.c b/grub-core/fs/zfs/zfsinfo.c new file mode 100644 index 0000000..1968ed5 --- /dev/null +++ b/grub-core/fs/zfs/zfsinfo.c @@ -0,0 +1,409 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2009 Free Software Foundation, Inc. + * Copyright 2008 Sun Microsystems, Inc. + * + * GRUB is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static inline void +print_tabs (int n) +{ + int i; + + for (i = 0; i < n; i++) + grub_printf (" "); +} + +static grub_err_t +print_state (char *nvlist, int tab) +{ + grub_uint64_t ival; + int isok = 1; + + print_tabs (tab); + grub_printf ("State: "); + + if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_REMOVED, &ival)) + { + grub_printf ("removed "); + isok = 0; + } + + if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_FAULTED, &ival)) + { + grub_printf ("faulted "); + isok = 0; + } + + if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_OFFLINE, &ival)) + { + grub_printf ("offline "); + isok = 0; + } + + if (grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_FAULTED, &ival)) + grub_printf ("degraded "); + + if (isok) + grub_printf ("online"); + grub_printf ("\n"); + + return GRUB_ERR_NONE; +} + +static grub_err_t +print_vdev_info (char *nvlist, int tab) +{ + char *type = 0; + + type = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_TYPE); + + if (!type) + { + print_tabs (tab); + grub_printf ("Incorrect VDEV: no type available\n"); + return grub_errno; + } + + if (grub_strcmp (type, VDEV_TYPE_DISK) == 0) + { + char *bootpath = 0; + char *path = 0; + char *devid = 0; + + print_tabs (tab); + grub_printf ("Leaf VDEV\n"); + + print_state (nvlist, tab); + + bootpath = + grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_PHYS_PATH); + print_tabs (tab); + if (!bootpath) + grub_printf ("Bootpath: unavailable\n"); + else + grub_printf ("Bootpath: %s\n", bootpath); + + path = grub_zfs_nvlist_lookup_string (nvlist, "path"); + print_tabs (tab); + if (!path) + grub_printf ("Path: unavailable\n"); + else + grub_printf ("Path: %s\n", path); + + devid = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_DEVID); + print_tabs (tab); + if (!devid) + grub_printf ("Devid: unavailable\n"); + else + grub_printf ("Devid: %s\n", devid); + grub_free (bootpath); + grub_free (devid); + grub_free (path); + return GRUB_ERR_NONE; + } + + if (grub_strcmp (type, VDEV_TYPE_MIRROR) == 0) + { + int nelm, i; + + nelm = grub_zfs_nvlist_lookup_nvlist_array_get_nelm + (nvlist, ZPOOL_CONFIG_CHILDREN); + + print_tabs (tab); + if (nelm <= 0) + { + grub_printf ("Incorrect mirror VDEV\n"); + return GRUB_ERR_NONE; + } + grub_printf ("Mirror VDEV with %d children\n", nelm); + print_state (nvlist, tab); + + for (i = 0; i < nelm; i++) + { + char *child; + + child = grub_zfs_nvlist_lookup_nvlist_array + (nvlist, ZPOOL_CONFIG_CHILDREN, i); + + print_tabs (tab); + if (!child) + { + grub_printf ("Mirror VDEV element %d isn't correct\n", i); + continue; + } + + grub_printf ("Mirror VDEV element %d:\n", i); + print_vdev_info (child, tab + 1); + + grub_free (child); + } + } + + print_tabs (tab); + grub_printf ("Unknown VDEV type: %s\n", type); + + return GRUB_ERR_NONE; +} + +static grub_err_t +get_bootpath (char *nvlist, char **bootpath, char **devid) +{ + char *type = 0; + + type = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_TYPE); + + if (!type) + return grub_errno; + + if (grub_strcmp (type, VDEV_TYPE_DISK) == 0) + { + *bootpath = grub_zfs_nvlist_lookup_string (nvlist, + ZPOOL_CONFIG_PHYS_PATH); + *devid = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_DEVID); + if (!*bootpath || !*devid) + { + grub_free (*bootpath); + grub_free (*devid); + *bootpath = 0; + *devid = 0; + } + return GRUB_ERR_NONE; + } + + if (grub_strcmp (type, VDEV_TYPE_MIRROR) == 0) + { + int nelm, i; + + nelm = grub_zfs_nvlist_lookup_nvlist_array_get_nelm + (nvlist, ZPOOL_CONFIG_CHILDREN); + + for (i = 0; i < nelm; i++) + { + char *child; + + child = grub_zfs_nvlist_lookup_nvlist_array (nvlist, + ZPOOL_CONFIG_CHILDREN, + i); + + get_bootpath (child, bootpath, devid); + + grub_free (child); + + if (*bootpath && *devid) + return GRUB_ERR_NONE; + } + } + + return GRUB_ERR_NONE; +} + +static char *poolstates[] = { + [POOL_STATE_ACTIVE] = "active", + [POOL_STATE_EXPORTED] = "exported", + [POOL_STATE_DESTROYED] = "destroyed", + [POOL_STATE_SPARE] = "reserved for hot spare", + [POOL_STATE_L2CACHE] = "level 2 ARC device", + [POOL_STATE_UNINITIALIZED] = "uninitialized", + [POOL_STATE_UNAVAIL] = "unavailable", + [POOL_STATE_POTENTIALLY_ACTIVE] = "potentially active" +}; + +static grub_err_t +grub_cmd_zfsinfo (grub_command_t cmd __attribute__ ((unused)), int argc, + char **args) +{ + grub_device_t dev; + char *devname; + grub_err_t err; + char *nvlist = 0; + char *nv = 0; + char *poolname; + grub_uint64_t guid; + grub_uint64_t pool_state; + int found; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "device name required"); + + if (args[0][0] == '(' && args[0][grub_strlen (args[0]) - 1] == ')') + { + devname = grub_strdup (args[0] + 1); + if (devname) + devname[grub_strlen (devname) - 1] = 0; + } + else + devname = grub_strdup (args[0]); + if (!devname) + return grub_errno; + + dev = grub_device_open (devname); + grub_free (devname); + if (!dev) + return grub_errno; + + err = grub_zfs_fetch_nvlist (dev, &nvlist); + + grub_device_close (dev); + + if (err) + return err; + + poolname = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_POOL_NAME); + if (!poolname) + grub_printf ("Pool name: unavailable\n"); + else + grub_printf ("Pool name: %s\n", poolname); + + found = + grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_POOL_GUID, &guid); + if (!found) + grub_printf ("Pool GUID: unavailable\n"); + else + grub_printf ("Pool GUID: %016llx\n", (long long unsigned) guid); + + found = grub_zfs_nvlist_lookup_uint64 (nvlist, ZPOOL_CONFIG_POOL_STATE, + &pool_state); + if (!found) + grub_printf ("Unable to retrieve pool state\n"); + else if (pool_state >= ARRAY_SIZE (poolstates)) + grub_printf ("Unrecognized pool state\n"); + else + grub_printf ("Pool state: %s\n", poolstates[pool_state]); + + nv = grub_zfs_nvlist_lookup_nvlist (nvlist, ZPOOL_CONFIG_VDEV_TREE); + + if (!nv) + grub_printf ("No vdev tree available\n"); + else + print_vdev_info (nv, 1); + + grub_free (nv); + grub_free (nvlist); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_cmd_zfs_bootfs (grub_command_t cmd __attribute__ ((unused)), int argc, + char **args) +{ + grub_device_t dev; + char *devname; + grub_err_t err; + char *nvlist = 0; + char *nv = 0; + char *bootpath = 0, *devid = 0; + char *fsname; + char *bootfs; + char *poolname; + grub_uint64_t mdnobj; + + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "filesystem name required"); + + devname = grub_file_get_device_name (args[0]); + if (grub_errno) + return grub_errno; + + dev = grub_device_open (devname); + grub_free (devname); + if (!dev) + return grub_errno; + + err = grub_zfs_fetch_nvlist (dev, &nvlist); + + fsname = grub_strchr (args[0], ')'); + if (fsname) + fsname++; + else + fsname = args[0]; + + if (!err) + err = grub_zfs_getmdnobj (dev, fsname, &mdnobj); + + grub_device_close (dev); + + if (err) + return err; + + poolname = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_POOL_NAME); + if (!poolname) + { + if (!grub_errno) + grub_error (GRUB_ERR_BAD_FS, "No poolname found"); + return grub_errno; + } + + nv = grub_zfs_nvlist_lookup_nvlist (nvlist, ZPOOL_CONFIG_VDEV_TREE); + + if (nv) + get_bootpath (nv, &bootpath, &devid); + + grub_free (nv); + grub_free (nvlist); + + bootfs = grub_xasprintf ("zfs-bootfs=%s/%llu%s%s%s%s%s%s", + poolname, (unsigned long long) mdnobj, + bootpath ? ",bootpath=\"" : "", + bootpath ? : "", + bootpath ? "\"" : "", + devid ? ",diskdevid=\"" : "", + devid ? : "", + devid ? "\"" : ""); + if (!bootfs) + return grub_errno; + if (argc >= 2) + grub_env_set (args[1], bootfs); + else + grub_printf ("%s\n", bootfs); + + grub_free (bootfs); + grub_free (poolname); + grub_free (bootpath); + grub_free (devid); + + return GRUB_ERR_NONE; +} + + +static grub_command_t cmd_info, cmd_bootfs; + +GRUB_MOD_INIT (zfsinfo) +{ + cmd_info = grub_register_command ("zfsinfo", grub_cmd_zfsinfo, + "zfsinfo DEVICE", + "Print ZFS info about DEVICE."); + cmd_bootfs = grub_register_command ("zfs-bootfs", grub_cmd_zfs_bootfs, + "zfs-bootfs FILESYSTEM [VARIABLE]", + "Print ZFS-BOOTFSOBJ or set it to VARIABLE"); +} + +GRUB_MOD_FINI (zfsinfo) +{ + grub_unregister_command (cmd_info); + grub_unregister_command (cmd_bootfs); +} diff --git a/grub-core/genemuinit.sh b/grub-core/genemuinit.sh new file mode 100644 index 0000000..45c15ec --- /dev/null +++ b/grub-core/genemuinit.sh @@ -0,0 +1,72 @@ +#! /bin/sh +# +# Copyright (C) 2002,2005,2007 Free Software Foundation, Inc. +# +# This gensymlist.sh is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +nm="$1" +shift + +cat <. + */ + +#include "grub_emu_init.h" + +EOF + +cat < /dev/null; then + echo "grub_${line}_init ();" | sed 's,\.mod,,g;' + fi +done + +cat < /dev/null; then + echo "grub_${line}_fini ();" | sed 's,\.mod,,g;' + fi +done + +cat <. + */ + +EOF + +cat < /dev/null; then + echo "void grub_${line}_init (void);" | sed 's,\.mod,,g;' + fi + if ${nm} --defined-only -P -p ${line} | grep grub_mod_fini > /dev/null; then + echo "void grub_${line}_fini (void);" | sed 's,\.mod,,g;' + fi +done diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in new file mode 100644 index 0000000..023cd10 --- /dev/null +++ b/grub-core/genmod.sh.in @@ -0,0 +1,73 @@ +#! /bin/sh -e +# +# Copyright (C) 2010 Free Software Foundation, Inc. +# +# This gensymlist.sh is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# +# Example: +# +# genmod.sh moddep.lst normal.module normal.mod +# + +moddep=$1 +infile=$2 +outfile=$3 + +tmpfile=${outfile}.tmp +modname=`echo $infile | sed -e 's@\.module.*$@@'` + +if ! grep ^$modname: $moddep >/dev/null; then + echo "warning: moddep.lst has no dependencies for $modname" >&2 + exit 0 +fi + +deps=`grep ^$modname: $moddep | sed s@^.*:@@` + +# remove old files if any +rm -f $tmpfile $outfile + +# stripout .modname and .moddeps sections from input module +@OBJCOPY@ -R .modname -R .moddeps $infile $tmpfile + +# Attach .modname and .moddeps sections +t1=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 +printf "$modname\0" >$t1 + +t2=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 +for dep in $deps; do printf "$dep\0" >> $t2; done + +if test -n "$deps"; then + @OBJCOPY@ --add-section .modname=$t1 --add-section .moddeps=$t2 $tmpfile +else + @OBJCOPY@ --add-section .modname=$t1 $tmpfile +fi +rm -f $t1 $t2 + +if test x@TARGET_APPLE_CC@ != x1; then + if ! test -z "${TARGET_OBJ2ELF}"; then + ./${TARGET_OBJ2ELF} $tmpfile || exit 1 + fi + if test x@platform@ != xemu; then + @STRIP@ --strip-unneeded \ + -K grub_mod_init -K grub_mod_fini \ + -K _grub_mod_init -K _grub_mod_fini \ + -R .note -R .comment $tmpfile || exit 1 + fi +else +# XXX Test these Apple CC fixes + cp $tmpfile $tmpfile.bin + @OBJCONV@ -f@TARGET_MODULE_FORMAT@ \ + -nr:_grub_mod_init:grub_mod_init \ + -nr:_grub_mod_fini:grub_mod_fini \ + -wd1106 -ew2030 -ew2050 -nu -nd $tmpfile.bin $tmpfile || exit 1 + rm -f $name.bin +fi +mv $tmpfile $outfile diff --git a/grub-core/genmoddep.awk b/grub-core/genmoddep.awk new file mode 100644 index 0000000..e412d43 --- /dev/null +++ b/grub-core/genmoddep.awk @@ -0,0 +1,62 @@ +#! /usr/bin/awk -f +# +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This genmoddep.awk is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# Read symbols' info from stdin. +BEGIN { + error = 0 + lineno = 0; + while (getline <"/dev/stdin") { + lineno++; + if ($1 == "defined") { + symtab[$3] = $2; + modtab[$2] = "" modtab[$2] + } else if ($1 == "undefined") { + if ($3 in symtab) + modtab[$2] = modtab[$2] " " symtab[$3]; + else if ($3 != "__gnu_local_gp") { + printf "%s in %s is not defined\n", $3, $2 >"/dev/stderr"; + error++; + } + } + else { + printf "error: %u: unrecognized input format\n", lineno; + error++; + break; + } + } +} + +# Output the result. +END { + if (error >= 1) + exit 1; + + for (mod in modtab) { + # Remove duplications. + split(modtab[mod], depmods, " "); + for (depmod in uniqmods) { + delete uniqmods[depmod]; + } + for (i in depmods) { + depmod = depmods[i]; + # Ignore kernel, as always loaded. + if (depmod != "kernel" && depmod != mod) + uniqmods[depmod] = 1; + } + modlist = "" + for (depmod in uniqmods) { + modlist = modlist " " depmod; + } + printf "%s:%s\n", mod, modlist; + } +} diff --git a/grub-core/gensyminfo.sh.in b/grub-core/gensyminfo.sh.in new file mode 100644 index 0000000..4f51849 --- /dev/null +++ b/grub-core/gensyminfo.sh.in @@ -0,0 +1,34 @@ +#! /bin/sh -e +# +# Copyright (C) 2010 Free Software Foundation, Inc. +# +# This gensymlist.sh is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# +# Example: +# +# gensyms.sh normal.module +# + +module=$1 +modname=`echo $module | sed -e 's@\.module.*$@@'` + +# Print all symbols defined by module +if test x@TARGET_APPLE_CC@ = x1; then + @NM@ -g -P -p $module | \ + grep -E '^[a-zA-Z0-9_]* [TDS]' | \ + sed "s@^\([^ ]*\).*@defined $modname \1@g" +else + @NM@ -g --defined-only -P -p $module | \ + sed "s@^\([^ ]*\).*@defined $modname \1@g" +fi + +# Print all undefined symbols used by module +@NM@ -u -P -p $module | sed "s@^\([^ ]*\).*@undefined $modname \1@g" diff --git a/grub-core/gensymlist.sh b/grub-core/gensymlist.sh new file mode 100644 index 0000000..0ab56e9 --- /dev/null +++ b/grub-core/gensymlist.sh @@ -0,0 +1,71 @@ +#! /bin/sh +# +# Copyright (C) 2002,2006,2007,2008,2009,2010 Free Software Foundation, Inc. +# +# This gensymlist.sh.in is free software; the author +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +cat <. + */ + +EOF + +for i in $*; do + echo "#include <$i>" +done + +cat < sizeof (tab[0])); + for (p = tab; p->name; p++) + grub_dl_register_symbol (p->name, p->addr, 0); +} +EOF diff --git a/grub-core/gentrigtables.c b/grub-core/gentrigtables.c new file mode 100644 index 0000000..8c03957 --- /dev/null +++ b/grub-core/gentrigtables.c @@ -0,0 +1,57 @@ +/* Generate trigonometric function tables. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define _GNU_SOURCE 1 + +#include +#include +#include + +int +main (int argc __attribute__ ((unused)), + char **argv __attribute__ ((unused))) +{ + int i; + + printf ("#include \n"); + printf ("#include \n"); + printf ("\n"); + + printf ("/* Under copyright legislature such automated output isn't\n"); + printf ("covered by any copyright. Hence it's public domain. Public\n"); + printf ("domain works can be dual-licenced with any license. */\n"); + printf ("GRUB_MOD_LICENSE (\"GPLv3+\");"); + printf ("GRUB_MOD_DUAL_LICENSE (\"Public Domain\");"); + +#define TAB(op) \ + printf ("grub_int16_t grub_trig_" #op "tab[] =\n{"); \ + for (i = 0; i < GRUB_TRIG_ANGLE_MAX; i++) \ + { \ + double x = i * 2 * M_PI / GRUB_TRIG_ANGLE_MAX; \ + if (i % 10 == 0) \ + printf ("\n "); \ + printf ("%d,", (int) (round (op (x) * GRUB_TRIG_FRACTION_SCALE))); \ + } \ + printf ("\n};\n") + + TAB(sin); + TAB(cos); + + return 0; +} diff --git a/grub-core/gettext/gettext.c b/grub-core/gettext/gettext.c new file mode 100644 index 0000000..cca8b90 --- /dev/null +++ b/grub-core/gettext/gettext.c @@ -0,0 +1,400 @@ +/* gettext.c - gettext module */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* + .mo file information from: + http://www.gnu.org/software/autoconf/manual/gettext/MO-Files.html . +*/ + + +static grub_file_t fd_mo; + +static int grub_gettext_offsetoriginal; +static int grub_gettext_max; + +static const char *(*grub_gettext_original) (const char *s); + +struct grub_gettext_msg +{ + struct grub_gettext_msg *next; + const char *name; + + const char *translated; +}; + +static struct grub_gettext_msg *grub_gettext_msg_list = NULL; + +#define GETTEXT_MAGIC_NUMBER 0 +#define GETTEXT_FILE_FORMAT 4 +#define GETTEXT_NUMBER_OF_STRINGS 8 +#define GETTEXT_OFFSET_ORIGINAL 12 +#define GETTEXT_OFFSET_TRANSLATION 16 + +#define MO_MAGIC_NUMBER 0x950412de + +static grub_ssize_t +grub_gettext_pread (grub_file_t file, void *buf, grub_size_t len, + grub_off_t offset) +{ + if (grub_file_seek (file, offset) == (grub_off_t) - 1) + { + return -1; + } + return grub_file_read (file, buf, len); +} + +static grub_uint32_t +grub_gettext_get_info (int offset) +{ + grub_uint32_t value; + + grub_gettext_pread (fd_mo, (char *) &value, 4, offset); + + value = grub_cpu_to_le32 (value); + return value; +} + +static void +grub_gettext_getstring_from_offset (grub_uint32_t offset, + grub_uint32_t length, char *translation) +{ + grub_gettext_pread (fd_mo, translation, length, offset); + translation[length] = '\0'; +} + +static const char * +grub_gettext_gettranslation_from_position (int position) +{ + int offsettranslation; + int internal_position; + grub_uint32_t length, offset; + char *translation; + + offsettranslation = grub_gettext_get_info (GETTEXT_OFFSET_TRANSLATION); + + internal_position = offsettranslation + position * 8; + + grub_gettext_pread (fd_mo, (char *) &length, 4, internal_position); + length = grub_cpu_to_le32 (length); + + grub_gettext_pread (fd_mo, (char *) &offset, 4, internal_position + 4); + offset = grub_cpu_to_le32 (offset); + + translation = grub_malloc (length + 1); + grub_gettext_getstring_from_offset (offset, length, translation); + + return translation; +} + +static char * +grub_gettext_getstring_from_position (int position) +{ + int internal_position; + int length, offset; + char *original; + + /* Get position for string i. */ + internal_position = grub_gettext_offsetoriginal + (position * 8); + + /* Get the length of the string i. */ + grub_gettext_pread (fd_mo, (char *) &length, 4, internal_position); + + /* Get the offset of the string i. */ + grub_gettext_pread (fd_mo, (char *) &offset, 4, internal_position + 4); + + /* Get the string i. */ + original = grub_malloc (length + 1); + grub_gettext_getstring_from_offset (offset, length, original); + + return original; +} + +static const char * +grub_gettext_translate (const char *orig) +{ + char *current_string; + const char *ret; + + int min, max, current; + int found = 0; + + struct grub_gettext_msg *cur; + + /* Make sure we can use grub_gettext_translate for error messages. Push + active error message to error stack and reset error message. */ + grub_error_push (); + + cur = grub_named_list_find (GRUB_AS_NAMED_LIST (grub_gettext_msg_list), + orig); + + if (cur) + { + grub_error_pop (); + return cur->translated; + } + + if (fd_mo == 0) + { + grub_error_pop (); + return orig; + } + + min = 0; + max = grub_gettext_max; + + current = (max + min) / 2; + + while (current != min && current != max && found == 0) + { + current_string = grub_gettext_getstring_from_position (current); + + /* Search by bisection. */ + if (grub_strcmp (current_string, orig) < 0) + { + grub_free (current_string); + min = current; + } + else if (grub_strcmp (current_string, orig) > 0) + { + grub_free (current_string); + max = current; + } + else if (grub_strcmp (current_string, orig) == 0) + { + grub_free (current_string); + found = 1; + } + current = (max + min) / 2; + } + + ret = found ? grub_gettext_gettranslation_from_position (current) : orig; + + if (found) + { + cur = grub_zalloc (sizeof (*cur)); + + if (cur) + { + cur->name = grub_strdup (orig); + if (cur->name) + { + cur->translated = ret; + grub_list_push (GRUB_AS_LIST_P (&grub_gettext_msg_list), + GRUB_AS_LIST (cur)); + } + } + else + grub_errno = GRUB_ERR_NONE; + } + + grub_error_pop (); + return ret; +} + +/* This is similar to grub_file_open. */ +static grub_file_t +grub_mofile_open (const char *filename) +{ + int unsigned magic; + int version; + + /* Using fd_mo and not another variable because + it's needed for grub_gettext_get_info. */ + + fd_mo = grub_file_open (filename); + grub_errno = GRUB_ERR_NONE; + + if (!fd_mo) + { + grub_dprintf ("gettext", "Cannot read %s\n", filename); + return 0; + } + + magic = grub_gettext_get_info (GETTEXT_MAGIC_NUMBER); + + if (magic != MO_MAGIC_NUMBER) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "mo: invalid mo file: %s", + filename); + grub_file_close (fd_mo); + fd_mo = 0; + return 0; + } + + version = grub_gettext_get_info (GETTEXT_FILE_FORMAT); + + if (version != 0) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, + "mo: invalid mo version in file: %s", filename); + fd_mo = 0; + return 0; + } + + return fd_mo; +} + +/* Returning grub_file_t would be more natural, but grub_mofile_open assigns + to fd_mo anyway ... */ +static void +grub_mofile_open_lang (const char *locale_dir, const char *locale) +{ + char *mo_file; + + /* mo_file e.g.: /boot/grub/locale/ca.mo */ + + mo_file = grub_xasprintf ("%s/%s.mo", locale_dir, locale); + if (!mo_file) + return; + + fd_mo = grub_mofile_open (mo_file); + + /* Will try adding .gz as well. */ + if (fd_mo == NULL) + { + char *mo_file_old; + mo_file_old = mo_file; + mo_file = grub_xasprintf ("%s.gz", mo_file); + grub_free (mo_file_old); + if (!mo_file) + return; + fd_mo = grub_mofile_open (mo_file); + } +} + +static void +grub_gettext_init_ext (const char *locale) +{ + char *locale_dir; + + locale_dir = grub_env_get ("locale_dir"); + if (locale_dir == NULL) + { + grub_dprintf ("gettext", "locale_dir variable is not set up.\n"); + return; + } + + fd_mo = NULL; + + grub_mofile_open_lang (locale_dir, locale); + + /* ll_CC didn't work, so try ll. */ + if (fd_mo == NULL) + { + char *lang = grub_strdup (locale); + char *underscore = grub_strchr (lang, '_'); + + if (underscore) + { + *underscore = '\0'; + grub_mofile_open_lang (locale_dir, lang); + } + + grub_free (lang); + } + + if (fd_mo) + { + grub_gettext_offsetoriginal = + grub_gettext_get_info (GETTEXT_OFFSET_ORIGINAL); + grub_gettext_max = grub_gettext_get_info (GETTEXT_NUMBER_OF_STRINGS); + + grub_gettext_original = grub_gettext; + grub_gettext = grub_gettext_translate; + } +} + +static void +grub_gettext_delete_list (void) +{ + while (grub_gettext_msg_list) + { + grub_free ((char *) grub_gettext_msg_list->name); + grub_gettext_msg_list = grub_gettext_msg_list->next; + /* Don't delete the translated message because could be in use. */ + } +} + +static char * +grub_gettext_env_write_lang (struct grub_env_var *var + __attribute__ ((unused)), const char *val) +{ + grub_gettext_init_ext (val); + + grub_gettext_delete_list (); + + return grub_strdup (val); +} + +static grub_err_t +grub_cmd_translate (grub_command_t cmd __attribute__ ((unused)), + int argc, char **args) +{ + if (argc != 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "text to translate required"); + + const char *translation; + translation = grub_gettext_translate (args[0]); + grub_printf ("%s\n", translation); + return 0; +} + +GRUB_MOD_INIT (gettext) +{ + (void) mod; /* To stop warning. */ + + const char *lang; + + lang = grub_env_get ("lang"); + + grub_gettext_init_ext (lang); + + grub_register_command_p1 ("gettext", grub_cmd_translate, + N_("STRING"), + N_("Translates the string with the current settings.")); + + /* Reload .mo file information if lang changes. */ + grub_register_variable_hook ("lang", NULL, grub_gettext_env_write_lang); + + /* Preserve hooks after context changes. */ + grub_env_export ("lang"); +} + +GRUB_MOD_FINI (gettext) +{ + if (fd_mo != 0) + grub_file_close (fd_mo); + + grub_gettext_delete_list (); + + grub_gettext = grub_gettext_original; +} diff --git a/grub-core/gfxmenu/font.c b/grub-core/gfxmenu/font.c new file mode 100644 index 0000000..3c15e19 --- /dev/null +++ b/grub-core/gfxmenu/font.c @@ -0,0 +1,109 @@ +/* font.c - Font API and font file loader. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Draw a UTF-8 string of text on the current video render target. + The x coordinate specifies the starting x position for the first character, + while the y coordinate specifies the baseline position. + If the string contains a character that FONT does not contain, then + a glyph from another loaded font may be used instead. */ +grub_err_t +grub_font_draw_string (const char *str, grub_font_t font, + grub_video_color_t color, + int left_x, int baseline_y) +{ + int x; + struct grub_font_glyph *glyph; + grub_uint32_t *logical; + grub_ssize_t logical_len, visual_len; + struct grub_unicode_glyph *visual, *ptr; + + logical_len = grub_utf8_to_ucs4_alloc (str, &logical, 0); + if (logical_len < 0) + return grub_errno; + + visual_len = grub_bidi_logical_to_visual (logical, logical_len, &visual, + 0, 0, 0); + grub_free (logical); + if (visual_len < 0) + return grub_errno; + + for (ptr = visual, x = left_x; ptr < visual + visual_len; ptr++) + { + grub_err_t err; + glyph = grub_font_construct_glyph (font, ptr); + if (!glyph) + return grub_errno; + err = grub_font_draw_glyph (glyph, color, x, baseline_y); + x += glyph->device_width; + grub_free (glyph); + if (err) + return err; + } + + grub_free (visual); + + return GRUB_ERR_NONE; +} + +/* Get the width in pixels of the specified UTF-8 string, when rendered in + in the specified font (but falling back on other fonts for glyphs that + are missing). */ +int +grub_font_get_string_width (grub_font_t font, const char *str) +{ + int width = 0; + grub_uint32_t *ptr; + grub_ssize_t logical_len; + grub_uint32_t *logical; + + logical_len = grub_utf8_to_ucs4_alloc (str, &logical, 0); + if (logical_len < 0) + { + grub_errno = GRUB_ERR_NONE; + return 0; + } + + for (ptr = logical; ptr < logical + logical_len;) + { + struct grub_unicode_glyph glyph; + + ptr += grub_unicode_aglomerate_comb (ptr, + logical_len - (ptr - logical), + &glyph); + width += grub_font_get_constructed_device_width (font, &glyph); + + grub_free (glyph.combining); + } + + return width; +} diff --git a/grub-core/gfxmenu/gfxmenu.c b/grub-core/gfxmenu/gfxmenu.c new file mode 100644 index 0000000..2f210e0 --- /dev/null +++ b/grub-core/gfxmenu/gfxmenu.c @@ -0,0 +1,135 @@ +/* gfxmenu.c - Graphical menu interface controller. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_gfxmenu_view_t cached_view; + +static void +grub_gfxmenu_viewer_fini (void *data __attribute__ ((unused))) +{ +} + +/* FIXME: Previously 't' changed to text menu is it necessary? */ +static grub_err_t +grub_gfxmenu_try (int entry, grub_menu_t menu, int nested) +{ + grub_gfxmenu_view_t view = NULL; + const char *theme_path; + struct grub_menu_viewer *instance; + grub_err_t err; + struct grub_video_mode_info mode_info; + + theme_path = grub_env_get ("theme"); + if (! theme_path) + return grub_error (GRUB_ERR_FILE_NOT_FOUND, "no theme specified"); + + instance = grub_zalloc (sizeof (*instance)); + if (!instance) + return grub_errno; + + err = grub_video_get_info (&mode_info); + if (err) + return err; + + if (!cached_view || grub_strcmp (cached_view->theme_path, theme_path) != 0 + || cached_view->screen.width != mode_info.width + || cached_view->screen.height != mode_info.height) + { + grub_free (cached_view); + /* Create the view. */ + cached_view = grub_gfxmenu_view_new (theme_path, mode_info.width, + mode_info.height); + } + + if (! cached_view) + { + grub_free (instance); + return grub_errno; + } + + view = cached_view; + + view->double_repaint = (mode_info.mode_type + & GRUB_VIDEO_MODE_TYPE_DOUBLE_BUFFERED) + && !(mode_info.mode_type & GRUB_VIDEO_MODE_TYPE_UPDATING_SWAP); + view->selected = entry; + view->menu = menu; + view->nested = nested; + view->first_timeout = -1; + + grub_video_set_viewport (0, 0, mode_info.width, mode_info.height); + if (view->double_repaint) + { + grub_video_swap_buffers (); + grub_video_set_viewport (0, 0, mode_info.width, mode_info.height); + } + + grub_gfxmenu_view_draw (view); + + instance->data = view; + instance->set_chosen_entry = grub_gfxmenu_set_chosen_entry; + instance->fini = grub_gfxmenu_viewer_fini; + instance->print_timeout = grub_gfxmenu_print_timeout; + instance->clear_timeout = grub_gfxmenu_clear_timeout; + + grub_menu_register_viewer (instance); + + return GRUB_ERR_NONE; +} + +GRUB_MOD_INIT (gfxmenu) +{ + struct grub_term_output *term; + + FOR_ACTIVE_TERM_OUTPUTS(term) + if (grub_gfxmenu_try_hook && grub_strcmp (term->name, "gfxterm") == 0) + { + grub_gfxterm_fullscreen (); + break; + } + + grub_gfxmenu_try_hook = grub_gfxmenu_try; +} + +GRUB_MOD_FINI (gfxmenu) +{ + grub_gfxmenu_view_destroy (cached_view); + grub_gfxmenu_try_hook = NULL; +} diff --git a/grub-core/gfxmenu/gui_box.c b/grub-core/gfxmenu/gui_box.c new file mode 100644 index 0000000..38b15f9 --- /dev/null +++ b/grub-core/gfxmenu/gui_box.c @@ -0,0 +1,412 @@ +/* gui_box.c - GUI container that stack components. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +struct component_node +{ + grub_gui_component_t component; + struct component_node *next; + struct component_node *prev; +}; + +typedef struct grub_gui_box *grub_gui_box_t; + +typedef void (*layout_func_t) (grub_gui_box_t self, int modify_layout, + unsigned *minimal_width, + unsigned *minimal_height); + +struct grub_gui_box +{ + struct grub_gui_container container; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + + /* Doubly linked list of components with dummy head & tail nodes. */ + struct component_node chead; + struct component_node ctail; + + /* The layout function: differs for vertical and horizontal boxes. */ + layout_func_t layout_func; +}; + +static void +box_destroy (void *vself) +{ + grub_gui_box_t self = vself; + struct component_node *cur; + struct component_node *next; + for (cur = self->chead.next; cur != &self->ctail; cur = next) + { + /* Copy the 'next' pointer, since we need it for the next iteration, + and we're going to free the memory it is stored in. */ + next = cur->next; + /* Destroy the child component. */ + cur->component->ops->destroy (cur->component); + /* Free the linked list node. */ + grub_free (cur); + } + grub_free (self); +} + +static const char * +box_get_id (void *vself) +{ + grub_gui_box_t self = vself; + return self->id; +} + +static int +box_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return (grub_strcmp (type, "component") == 0 + || grub_strcmp (type, "container") == 0); +} + +static void +layout_horizontally (grub_gui_box_t self, int modify_layout, + unsigned *min_width, unsigned *min_height) +{ + /* Start at the left (chead) and set the x coordinates as we go right. */ + /* All components have their width set to the box's width. */ + + struct component_node *cur; + unsigned w = 0, mwfrac = 0, h = 0, x = 0; + grub_fixed_signed_t wfrac = 0; + int bogus_frac = 0; + + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + { + grub_gui_component_t c = cur->component; + unsigned mw = 0, mh = 0; + + if (c->ops->get_minimal_size) + c->ops->get_minimal_size (c, &mw, &mh); + + if (c->h > (signed) h) + h = c->h; + if (mh > h) + h = mh; + wfrac += c->wfrac; + w += c->w; + if (mw - c->w > 0) + mwfrac += mw - c->w; + } + if (wfrac > GRUB_FIXED_1 || (w > 0 && wfrac == GRUB_FIXED_1)) + bogus_frac = 1; + + if (min_width) + { + if (wfrac < GRUB_FIXED_1) + *min_width = grub_fixed_sfs_divide (w, GRUB_FIXED_1 - wfrac); + else + *min_width = w; + if (*min_width < w + mwfrac) + *min_width = w + mwfrac; + } + if (min_height) + *min_height = h; + + if (!modify_layout) + return; + + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + { + grub_video_rect_t r; + grub_gui_component_t c = cur->component; + unsigned mw = 0, mh = 0; + + r.x = x; + r.y = 0; + r.height = h; + + if (c->ops->get_minimal_size) + c->ops->get_minimal_size (c, &mw, &mh); + + r.width = c->w; + if (!bogus_frac) + r.width += grub_fixed_sfs_multiply (self->bounds.width, c->wfrac); + + if (r.width < mw) + r.width = mw; + + c->ops->set_bounds (c, &r); + + x += r.width; + } +} + +static void +layout_vertically (grub_gui_box_t self, int modify_layout, + unsigned *min_width, unsigned *min_height) +{ + /* Start at the top (chead) and set the y coordinates as we go rdown. */ + /* All components have their height set to the box's height. */ + + struct component_node *cur; + unsigned h = 0, mhfrac = 0, w = 0, y = 0; + grub_fixed_signed_t hfrac = 0; + int bogus_frac = 0; + + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + { + grub_gui_component_t c = cur->component; + unsigned mw = 0, mh = 0; + + if (c->ops->get_minimal_size) + c->ops->get_minimal_size (c, &mw, &mh); + + if (c->w > (signed) w) + w = c->w; + if (mw > w) + w = mw; + hfrac += c->hfrac; + h += c->h; + if (mh - c->h > 0) + mhfrac += mh - c->h; + } + if (hfrac > GRUB_FIXED_1 || (h > 0 && hfrac == GRUB_FIXED_1)) + bogus_frac = 1; + + if (min_height) + { + if (hfrac < GRUB_FIXED_1) + *min_height = grub_fixed_sfs_divide (h, GRUB_FIXED_1 - hfrac); + else + *min_height = h; + if (*min_height < h + mhfrac) + *min_height = h + mhfrac; + } + if (min_width) + *min_width = w; + + if (!modify_layout) + return; + + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + { + grub_video_rect_t r; + grub_gui_component_t c = cur->component; + unsigned mw = 0, mh = 0; + + r.x = 0; + r.y = y; + r.width = w; + + if (c->ops->get_minimal_size) + c->ops->get_minimal_size (c, &mw, &mh); + + r.height = c->h; + if (!bogus_frac) + r.height += grub_fixed_sfs_multiply (self->bounds.height, c->hfrac); + + if (r.height < mh) + r.height = mh; + + c->ops->set_bounds (c, &r); + + y += r.height; + } +} + +static void +box_paint (void *vself, const grub_video_rect_t *region) +{ + grub_gui_box_t self = vself; + struct component_node *cur; + grub_video_rect_t vpsave; + + grub_gui_set_viewport (&self->bounds, &vpsave); + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + { + grub_gui_component_t comp = cur->component; + comp->ops->paint (comp, region); + } + grub_gui_restore_viewport (&vpsave); +} + +static void +box_set_parent (void *vself, grub_gui_container_t parent) +{ + grub_gui_box_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +box_get_parent (void *vself) +{ + grub_gui_box_t self = vself; + return self->parent; +} + +static void +box_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + grub_gui_box_t self = vself; + self->bounds = *bounds; + self->layout_func (self, 1, 0, 0); /* Relayout the children. */ +} + +static void +box_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + grub_gui_box_t self = vself; + *bounds = self->bounds; +} + +/* The box's preferred size is based on the preferred sizes + of its children. */ +static void +box_get_minimal_size (void *vself, unsigned *width, unsigned *height) +{ + grub_gui_box_t self = vself; + self->layout_func (self, 0, width, height); /* Just calculate the size. */ +} + +static grub_err_t +box_set_property (void *vself, const char *name, const char *value) +{ + grub_gui_box_t self = vself; + if (grub_strcmp (name, "id") == 0) + { + grub_free (self->id); + if (value) + { + self->id = grub_strdup (value); + if (! self->id) + return grub_errno; + } + else + self->id = 0; + } + + return grub_errno; +} + +static void +box_add (void *vself, grub_gui_component_t comp) +{ + grub_gui_box_t self = vself; + struct component_node *node; + node = grub_malloc (sizeof (*node)); + if (! node) + return; /* Note: probably should handle the error. */ + node->component = comp; + /* Insert the node before the tail. */ + node->prev = self->ctail.prev; + node->prev->next = node; + node->next = &self->ctail; + node->next->prev = node; + + comp->ops->set_parent (comp, (grub_gui_container_t) self); + self->layout_func (self, 1, 0, 0); /* Relayout the children. */ +} + +static void +box_remove (void *vself, grub_gui_component_t comp) +{ + grub_gui_box_t self = vself; + struct component_node *cur; + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + { + if (cur->component == comp) + { + /* Unlink 'cur' from the list. */ + cur->prev->next = cur->next; + cur->next->prev = cur->prev; + /* Free the node's memory (but don't destroy the component). */ + grub_free (cur); + /* Must not loop again, since 'cur' would be dereferenced! */ + return; + } + } +} + +static void +box_iterate_children (void *vself, + grub_gui_component_callback cb, void *userdata) +{ + grub_gui_box_t self = vself; + struct component_node *cur; + for (cur = self->chead.next; cur != &self->ctail; cur = cur->next) + cb (cur->component, userdata); +} + +static struct grub_gui_component_ops box_comp_ops = + { + .destroy = box_destroy, + .get_id = box_get_id, + .is_instance = box_is_instance, + .paint = box_paint, + .set_parent = box_set_parent, + .get_parent = box_get_parent, + .set_bounds = box_set_bounds, + .get_bounds = box_get_bounds, + .get_minimal_size = box_get_minimal_size, + .set_property = box_set_property + }; + +static struct grub_gui_container_ops box_ops = +{ + .add = box_add, + .remove = box_remove, + .iterate_children = box_iterate_children +}; + +/* Box constructor. Specify the appropriate layout function to create + a horizontal or vertical stacking box. */ +static grub_gui_box_t +box_new (layout_func_t layout_func) +{ + grub_gui_box_t box; + box = grub_zalloc (sizeof (*box)); + if (! box) + return 0; + box->container.ops = &box_ops; + box->container.component.ops = &box_comp_ops; + box->chead.next = &box->ctail; + box->ctail.prev = &box->chead; + box->layout_func = layout_func; + return box; +} + +/* Create a new container that stacks its child components horizontally, + from left to right. Each child get a width corresponding to its + preferred width. The height of each child is set the maximum of the + preferred heights of all children. */ +grub_gui_container_t +grub_gui_hbox_new (void) +{ + return (grub_gui_container_t) box_new (layout_horizontally); +} + +/* Create a new container that stacks its child components verticallyj, + from top to bottom. Each child get a height corresponding to its + preferred height. The width of each child is set the maximum of the + preferred widths of all children. */ +grub_gui_container_t +grub_gui_vbox_new (void) +{ + return (grub_gui_container_t) box_new (layout_vertically); +} diff --git a/grub-core/gfxmenu/gui_canvas.c b/grub-core/gfxmenu/gui_canvas.c new file mode 100644 index 0000000..b3919c2 --- /dev/null +++ b/grub-core/gfxmenu/gui_canvas.c @@ -0,0 +1,267 @@ +/* gui_canvas.c - GUI container allowing manually placed components. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* TODO Add layering so that components can be properly overlaid. */ + +struct component_node +{ + grub_gui_component_t component; + struct component_node *next; +}; + +struct grub_gui_canvas +{ + struct grub_gui_container container; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + /* Component list (dummy head node). */ + struct component_node components; +}; + +typedef struct grub_gui_canvas *grub_gui_canvas_t; + +static void +canvas_destroy (void *vself) +{ + grub_gui_canvas_t self = vself; + struct component_node *cur; + struct component_node *next; + for (cur = self->components.next; cur; cur = next) + { + /* Copy the 'next' pointer, since we need it for the next iteration, + and we're going to free the memory it is stored in. */ + next = cur->next; + /* Destroy the child component. */ + cur->component->ops->destroy (cur->component); + /* Free the linked list node. */ + grub_free (cur); + } + grub_free (self); +} + +static const char * +canvas_get_id (void *vself) +{ + grub_gui_canvas_t self = vself; + return self->id; +} + +static int +canvas_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return (grub_strcmp (type, "component") == 0 + || grub_strcmp (type, "container") == 0); +} + +static void +canvas_paint (void *vself, const grub_video_rect_t *region) +{ + grub_gui_canvas_t self = vself; + struct component_node *cur; + grub_video_rect_t vpsave; + + grub_gui_set_viewport (&self->bounds, &vpsave); + for (cur = self->components.next; cur; cur = cur->next) + { + grub_video_rect_t r; + grub_gui_component_t comp; + signed x, y, w, h; + + comp = cur->component; + + w = grub_fixed_sfs_multiply (self->bounds.width, comp->wfrac) + comp->w; + h = grub_fixed_sfs_multiply (self->bounds.height, comp->hfrac) + comp->h; + x = grub_fixed_sfs_multiply (self->bounds.width, comp->xfrac) + comp->x; + y = grub_fixed_sfs_multiply (self->bounds.height, comp->yfrac) + comp->y; + + if (comp->ops->get_minimal_size) + { + unsigned mw; + unsigned mh; + comp->ops->get_minimal_size (comp, &mw, &mh); + if (w < (signed) mw) + w = mw; + if (h < (signed) mh) + h = mh; + } + + /* Sanity checks. */ + if (w <= 0) + w = 32; + if (h <= 0) + h = 32; + + if (x >= (signed) self->bounds.width) + x = self->bounds.width - 32; + if (y >= (signed) self->bounds.height) + y = self->bounds.height - 32; + + if (x < 0) + x = 0; + if (y < 0) + y = 0; + + if (x + w >= (signed) self->bounds.width) + w = self->bounds.width - x; + if (y + h >= (signed) self->bounds.height) + h = self->bounds.height - y; + + r.x = x; + r.y = y; + r.width = w; + r.height = h; + comp->ops->set_bounds (comp, &r); + + /* Paint the child. */ + if (grub_video_have_common_points (region, &r)) + comp->ops->paint (comp, region); + } + grub_gui_restore_viewport (&vpsave); +} + +static void +canvas_set_parent (void *vself, grub_gui_container_t parent) +{ + grub_gui_canvas_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +canvas_get_parent (void *vself) +{ + grub_gui_canvas_t self = vself; + return self->parent; +} + +static void +canvas_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + grub_gui_canvas_t self = vself; + self->bounds = *bounds; +} + +static void +canvas_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + grub_gui_canvas_t self = vself; + *bounds = self->bounds; +} + +static grub_err_t +canvas_set_property (void *vself, const char *name, const char *value) +{ + grub_gui_canvas_t self = vself; + if (grub_strcmp (name, "id") == 0) + { + grub_free (self->id); + if (value) + { + self->id = grub_strdup (value); + if (! self->id) + return grub_errno; + } + else + self->id = 0; + } + return grub_errno; +} + +static void +canvas_add (void *vself, grub_gui_component_t comp) +{ + grub_gui_canvas_t self = vself; + struct component_node *node; + node = grub_malloc (sizeof (*node)); + if (! node) + return; /* Note: probably should handle the error. */ + node->component = comp; + node->next = self->components.next; + self->components.next = node; + comp->ops->set_parent (comp, (grub_gui_container_t) self); +} + +static void +canvas_remove (void *vself, grub_gui_component_t comp) +{ + grub_gui_canvas_t self = vself; + struct component_node *cur; + struct component_node *prev; + prev = &self->components; + for (cur = self->components.next; cur; prev = cur, cur = cur->next) + { + if (cur->component == comp) + { + /* Unlink 'cur' from the list. */ + prev->next = cur->next; + /* Free the node's memory (but don't destroy the component). */ + grub_free (cur); + /* Must not loop again, since 'cur' would be dereferenced! */ + return; + } + } +} + +static void +canvas_iterate_children (void *vself, + grub_gui_component_callback cb, void *userdata) +{ + grub_gui_canvas_t self = vself; + struct component_node *cur; + for (cur = self->components.next; cur; cur = cur->next) + cb (cur->component, userdata); +} + +static struct grub_gui_component_ops canvas_comp_ops = +{ + .destroy = canvas_destroy, + .get_id = canvas_get_id, + .is_instance = canvas_is_instance, + .paint = canvas_paint, + .set_parent = canvas_set_parent, + .get_parent = canvas_get_parent, + .set_bounds = canvas_set_bounds, + .get_bounds = canvas_get_bounds, + .set_property = canvas_set_property +}; + +static struct grub_gui_container_ops canvas_ops = +{ + .add = canvas_add, + .remove = canvas_remove, + .iterate_children = canvas_iterate_children +}; + +grub_gui_container_t +grub_gui_canvas_new (void) +{ + grub_gui_canvas_t canvas; + canvas = grub_zalloc (sizeof (*canvas)); + if (! canvas) + return 0; + canvas->container.ops = &canvas_ops; + canvas->container.component.ops = &canvas_comp_ops; + return (grub_gui_container_t) canvas; +} diff --git a/grub-core/gfxmenu/gui_circular_progress.c b/grub-core/gfxmenu/gui_circular_progress.c new file mode 100644 index 0000000..098ae1c --- /dev/null +++ b/grub-core/gfxmenu/gui_circular_progress.c @@ -0,0 +1,308 @@ +/* gui_circular_process.c - GUI circular progress indicator component. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +struct grub_gui_circular_progress +{ + struct grub_gui_progress progress; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + int visible; + int start; + int end; + int value; + int num_ticks; + int start_angle; + int ticks_disappear; + char *theme_dir; + int need_to_load_pixmaps; + char *center_file; + char *tick_file; + struct grub_video_bitmap *center_bitmap; + struct grub_video_bitmap *tick_bitmap; +}; + +typedef struct grub_gui_circular_progress *circular_progress_t; + +static void +circprog_destroy (void *vself) +{ + circular_progress_t self = vself; + grub_gfxmenu_timeout_unregister ((grub_gui_component_t) self); + grub_free (self); +} + +static const char * +circprog_get_id (void *vself) +{ + circular_progress_t self = vself; + return self->id; +} + +static int +circprog_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return grub_strcmp (type, "component") == 0; +} + +static struct grub_video_bitmap * +load_bitmap (const char *dir, const char *file) +{ + struct grub_video_bitmap *bitmap; + char *abspath; + + /* Check arguments. */ + if (! dir || ! file) + return 0; + + /* Resolve to an absolute path. */ + abspath = grub_resolve_relative_path (dir, file); + if (! abspath) + return 0; + + /* Load the image. */ + grub_errno = GRUB_ERR_NONE; + grub_video_bitmap_load (&bitmap, abspath); + grub_errno = GRUB_ERR_NONE; + + grub_free (abspath); + return bitmap; +} + +static int +check_pixmaps (circular_progress_t self) +{ + if (self->need_to_load_pixmaps) + { + if (self->center_bitmap) + grub_video_bitmap_destroy (self->center_bitmap); + self->center_bitmap = load_bitmap (self->theme_dir, self->center_file); + self->tick_bitmap = load_bitmap (self->theme_dir, self->tick_file); + self->need_to_load_pixmaps = 0; + } + + return (self->center_bitmap != 0 && self->tick_bitmap != 0); +} + +static void +circprog_paint (void *vself, const grub_video_rect_t *region) +{ + circular_progress_t self = vself; + + if (! self->visible) + return; + + if (!grub_video_have_common_points (region, &self->bounds)) + return; + + if (! check_pixmaps (self)) + return; + + grub_video_rect_t vpsave; + grub_gui_set_viewport (&self->bounds, &vpsave); + + int width = self->bounds.width; + int height = self->bounds.height; + int center_width = grub_video_bitmap_get_width (self->center_bitmap); + int center_height = grub_video_bitmap_get_height (self->center_bitmap); + int tick_width = grub_video_bitmap_get_width (self->tick_bitmap); + int tick_height = grub_video_bitmap_get_height (self->tick_bitmap); + grub_video_blit_bitmap (self->center_bitmap, GRUB_VIDEO_BLIT_BLEND, + (width - center_width) / 2, + (height - center_height) / 2, 0, 0, + center_width, center_height); + + int radius = width / 2 - tick_width / 2 - 1; + int nticks; + int tick_begin; + int tick_end; + if (self->end == self->start) + nticks = 0; + else + nticks = (self->num_ticks + * (self->value - self->start) + / (self->end - self->start)); + /* Do ticks appear or disappear as the value approached the end? */ + if (self->ticks_disappear) + { + tick_begin = nticks; + tick_end = self->num_ticks - 1; + } + else + { + tick_begin = 0; + tick_end = nticks - 1; + } + + int i; + for (i = tick_begin; i < tick_end; i++) + { + int x; + int y; + int angle; + + /* Calculate the location of the tick. */ + angle = self->start_angle + i * GRUB_TRIG_ANGLE_MAX / self->num_ticks; + x = width / 2 + (grub_cos (angle) * radius / GRUB_TRIG_FRACTION_SCALE); + y = height / 2 + (grub_sin (angle) * radius / GRUB_TRIG_FRACTION_SCALE); + + /* Adjust (x,y) so the tick is centered. */ + x -= tick_width / 2; + y -= tick_height / 2; + + /* Draw the tick. */ + grub_video_blit_bitmap (self->tick_bitmap, GRUB_VIDEO_BLIT_BLEND, + x, y, 0, 0, tick_width, tick_height); + } + + grub_gui_restore_viewport (&vpsave); +} + +static void +circprog_set_parent (void *vself, grub_gui_container_t parent) +{ + circular_progress_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +circprog_get_parent (void *vself) +{ + circular_progress_t self = vself; + return self->parent; +} + +static void +circprog_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + circular_progress_t self = vself; + self->bounds = *bounds; +} + +static void +circprog_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + circular_progress_t self = vself; + *bounds = self->bounds; +} + +static void +circprog_set_state (void *vself, int visible, int start, + int current, int end) +{ + circular_progress_t self = vself; + self->visible = visible; + self->start = start; + self->value = current; + self->end = end; +} + +static grub_err_t +circprog_set_property (void *vself, const char *name, const char *value) +{ + circular_progress_t self = vself; + if (grub_strcmp (name, "num_ticks") == 0) + { + self->num_ticks = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "start_angle") == 0) + { + self->start_angle = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "ticks_disappear") == 0) + { + self->ticks_disappear = grub_strcmp (value, "false") != 0; + } + else if (grub_strcmp (name, "center_bitmap") == 0) + { + self->need_to_load_pixmaps = 1; + grub_free (self->center_file); + self->center_file = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "tick_bitmap") == 0) + { + self->need_to_load_pixmaps = 1; + grub_free (self->tick_file); + self->tick_file = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "theme_dir") == 0) + { + self->need_to_load_pixmaps = 1; + grub_free (self->theme_dir); + self->theme_dir = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "id") == 0) + { + grub_gfxmenu_timeout_unregister ((grub_gui_component_t) self); + grub_free (self->id); + if (value) + self->id = grub_strdup (value); + else + self->id = 0; + if (self->id && grub_strcmp (self->id, GRUB_GFXMENU_TIMEOUT_COMPONENT_ID) + == 0) + grub_gfxmenu_timeout_register ((grub_gui_component_t) self, + circprog_set_state); + } + return grub_errno; +} + +static struct grub_gui_component_ops circprog_ops = +{ + .destroy = circprog_destroy, + .get_id = circprog_get_id, + .is_instance = circprog_is_instance, + .paint = circprog_paint, + .set_parent = circprog_set_parent, + .get_parent = circprog_get_parent, + .set_bounds = circprog_set_bounds, + .get_bounds = circprog_get_bounds, + .set_property = circprog_set_property +}; + +static struct grub_gui_progress_ops circprog_prog_ops = + { + .set_state = circprog_set_state + }; + +grub_gui_component_t +grub_gui_circular_progress_new (void) +{ + circular_progress_t self; + self = grub_zalloc (sizeof (*self)); + if (! self) + return 0; + self->progress.ops = &circprog_prog_ops; + self->progress.component.ops = &circprog_ops; + self->visible = 1; + self->num_ticks = 64; + self->start_angle = -64; + + return (grub_gui_component_t) self; +} diff --git a/grub-core/gfxmenu/gui_image.c b/grub-core/gfxmenu/gui_image.c new file mode 100644 index 0000000..60e4a46 --- /dev/null +++ b/grub-core/gfxmenu/gui_image.c @@ -0,0 +1,272 @@ +/* gui_image.c - GUI component to display an image. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +struct grub_gui_image +{ + struct grub_gui_component component; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + char *theme_dir; + struct grub_video_bitmap *raw_bitmap; + struct grub_video_bitmap *bitmap; +}; + +typedef struct grub_gui_image *grub_gui_image_t; + +static void +image_destroy (void *vself) +{ + grub_gui_image_t self = vself; + + /* Free the scaled bitmap, unless it's a reference to the raw bitmap. */ + if (self->bitmap && (self->bitmap != self->raw_bitmap)) + grub_video_bitmap_destroy (self->bitmap); + if (self->raw_bitmap) + grub_video_bitmap_destroy (self->raw_bitmap); + + grub_free (self); +} + +static const char * +image_get_id (void *vself) +{ + grub_gui_image_t self = vself; + return self->id; +} + +static int +image_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return grub_strcmp (type, "component") == 0; +} + +static void +image_paint (void *vself, const grub_video_rect_t *region) +{ + grub_gui_image_t self = vself; + grub_video_rect_t vpsave; + + if (! self->bitmap) + return; + if (!grub_video_have_common_points (region, &self->bounds)) + return; + + grub_gui_set_viewport (&self->bounds, &vpsave); + grub_video_blit_bitmap (self->bitmap, GRUB_VIDEO_BLIT_BLEND, + 0, 0, 0, 0, + grub_video_bitmap_get_width (self->bitmap), + grub_video_bitmap_get_height (self->bitmap)); + grub_gui_restore_viewport (&vpsave); +} + +static void +image_set_parent (void *vself, grub_gui_container_t parent) +{ + grub_gui_image_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +image_get_parent (void *vself) +{ + grub_gui_image_t self = vself; + return self->parent; +} + +static grub_err_t +rescale_image (grub_gui_image_t self) +{ + signed width; + signed height; + + if (! self->raw_bitmap) + { + if (self->bitmap) + { + grub_video_bitmap_destroy (self->bitmap); + self->bitmap = 0; + } + return grub_errno; + } + + width = self->bounds.width; + height = self->bounds.height; + + if (self->bitmap + && ((signed) grub_video_bitmap_get_width (self->bitmap) == width) + && ((signed) grub_video_bitmap_get_height (self->bitmap) == height)) + { + /* Nothing to do; already the right size. */ + return grub_errno; + } + + /* Free any old scaled bitmap, + *unless* it's a reference to the raw bitmap. */ + if (self->bitmap && (self->bitmap != self->raw_bitmap)) + grub_video_bitmap_destroy (self->bitmap); + + self->bitmap = 0; + + /* Create a scaled bitmap, unless the requested size is the same + as the raw size -- in that case a reference is made. */ + if ((signed) grub_video_bitmap_get_width (self->raw_bitmap) == width + && (signed) grub_video_bitmap_get_height (self->raw_bitmap) == height) + { + self->bitmap = self->raw_bitmap; + return grub_errno; + } + + /* Don't scale to an invalid size. */ + if (width <= 0 || height <= 0) + return grub_errno; + + /* Create the scaled bitmap. */ + grub_video_bitmap_create_scaled (&self->bitmap, + width, + height, + self->raw_bitmap, + GRUB_VIDEO_BITMAP_SCALE_METHOD_BEST); + if (grub_errno != GRUB_ERR_NONE) + { + grub_error_push (); + grub_error (grub_errno, "failed to scale bitmap for image component"); + } + return grub_errno; +} + +static void +image_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + grub_gui_image_t self = vself; + self->bounds = *bounds; + rescale_image (self); +} + +static void +image_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + grub_gui_image_t self = vself; + *bounds = self->bounds; +} + +/* FIXME: inform rendering system it's not forced minimum. */ +static void +image_get_minimal_size (void *vself, unsigned *width, unsigned *height) +{ + grub_gui_image_t self = vself; + + if (self->raw_bitmap) + { + *width = grub_video_bitmap_get_width (self->raw_bitmap); + *height = grub_video_bitmap_get_height (self->raw_bitmap); + } + else + { + *width = 0; + *height = 0; + } +} + +static grub_err_t +load_image (grub_gui_image_t self, const char *path) +{ + struct grub_video_bitmap *bitmap; + if (grub_video_bitmap_load (&bitmap, path) != GRUB_ERR_NONE) + return grub_errno; + + if (self->bitmap && (self->bitmap != self->raw_bitmap)) + grub_video_bitmap_destroy (self->bitmap); + if (self->raw_bitmap) + grub_video_bitmap_destroy (self->raw_bitmap); + + self->raw_bitmap = bitmap; + return rescale_image (self); +} + +static grub_err_t +image_set_property (void *vself, const char *name, const char *value) +{ + grub_gui_image_t self = vself; + if (grub_strcmp (name, "theme_dir") == 0) + { + grub_free (self->theme_dir); + self->theme_dir = grub_strdup (value); + } + else if (grub_strcmp (name, "file") == 0) + { + char *absvalue; + grub_err_t err; + + /* Resolve to an absolute path. */ + if (! self->theme_dir) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "unspecified theme_dir"); + absvalue = grub_resolve_relative_path (self->theme_dir, value); + if (! absvalue) + return grub_errno; + + err = load_image (self, absvalue); + grub_free (absvalue); + + return err; + } + else if (grub_strcmp (name, "id") == 0) + { + grub_free (self->id); + if (value) + self->id = grub_strdup (value); + else + self->id = 0; + } + return grub_errno; +} + +static struct grub_gui_component_ops image_ops = +{ + .destroy = image_destroy, + .get_id = image_get_id, + .is_instance = image_is_instance, + .paint = image_paint, + .set_parent = image_set_parent, + .get_parent = image_get_parent, + .set_bounds = image_set_bounds, + .get_bounds = image_get_bounds, + .get_minimal_size = image_get_minimal_size, + .set_property = image_set_property +}; + +grub_gui_component_t +grub_gui_image_new (void) +{ + grub_gui_image_t image; + image = grub_zalloc (sizeof (*image)); + if (! image) + return 0; + image->component.ops = &image_ops; + return (grub_gui_component_t) image; +} + diff --git a/grub-core/gfxmenu/gui_label.c b/grub-core/gfxmenu/gui_label.c new file mode 100644 index 0000000..15a352f --- /dev/null +++ b/grub-core/gfxmenu/gui_label.c @@ -0,0 +1,254 @@ +/* gui_label.c - GUI component to display a line of text. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +static const char *align_options[] = +{ + "left", + "center", + "right", + 0 +}; + +enum align_mode { + align_left, + align_center, + align_right +}; + +struct grub_gui_label +{ + struct grub_gui_component comp; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + int visible; + char *text; + char *template; + grub_font_t font; + grub_gui_color_t color; + int value; + enum align_mode align; +}; + +typedef struct grub_gui_label *grub_gui_label_t; + +static void +label_destroy (void *vself) +{ + grub_gui_label_t self = vself; + grub_gfxmenu_timeout_unregister ((grub_gui_component_t) self); + grub_free (self->text); + grub_free (self->template); + grub_free (self); +} + +static const char * +label_get_id (void *vself) +{ + grub_gui_label_t self = vself; + return self->id; +} + +static int +label_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return grub_strcmp (type, "component") == 0; +} + +static void +label_paint (void *vself, const grub_video_rect_t *region) +{ + grub_gui_label_t self = vself; + + if (! self->visible) + return; + + if (!grub_video_have_common_points (region, &self->bounds)) + return; + + /* Calculate the starting x coordinate. */ + int left_x; + if (self->align == align_left) + left_x = 0; + else if (self->align == align_center) + left_x = ((self->bounds.width + - grub_font_get_string_width (self->font, self->text)) + ) / 2; + else if (self->align == align_right) + left_x = (self->bounds.width + - grub_font_get_string_width (self->font, self->text)); + else + return; /* Invalid alignment. */ + + grub_video_rect_t vpsave; + grub_gui_set_viewport (&self->bounds, &vpsave); + grub_font_draw_string (self->text, + self->font, + grub_gui_map_color (self->color), + left_x, + grub_font_get_ascent (self->font)); + grub_gui_restore_viewport (&vpsave); +} + +static void +label_set_parent (void *vself, grub_gui_container_t parent) +{ + grub_gui_label_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +label_get_parent (void *vself) +{ + grub_gui_label_t self = vself; + return self->parent; +} + +static void +label_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + grub_gui_label_t self = vself; + self->bounds = *bounds; +} + +static void +label_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + grub_gui_label_t self = vself; + *bounds = self->bounds; +} + +static void +label_get_minimal_size (void *vself, unsigned *width, unsigned *height) +{ + grub_gui_label_t self = vself; + *width = grub_font_get_string_width (self->font, self->text); + *height = (grub_font_get_ascent (self->font) + + grub_font_get_descent (self->font)); +} + +static void +label_set_state (void *vself, int visible, int start __attribute__ ((unused)), + int current, int end __attribute__ ((unused))) +{ + grub_gui_label_t self = vself; + self->value = -current; + self->visible = visible; + grub_free (self->text); + self->text = grub_xasprintf (self->template ? : "%d", self->value); +} + +static grub_err_t +label_set_property (void *vself, const char *name, const char *value) +{ + grub_gui_label_t self = vself; + if (grub_strcmp (name, "text") == 0) + { + grub_free (self->text); + grub_free (self->template); + if (! value) + { + self->template = NULL; + self->text = grub_strdup (""); + } + else + { + self->template = grub_strdup (value); + self->text = grub_xasprintf (value, self->value); + } + } + else if (grub_strcmp (name, "font") == 0) + { + self->font = grub_font_get (value); + } + else if (grub_strcmp (name, "color") == 0) + { + grub_gui_parse_color (value, &self->color); + } + else if (grub_strcmp (name, "align") == 0) + { + int i; + for (i = 0; align_options[i]; i++) + { + if (grub_strcmp (align_options[i], value) == 0) + { + self->align = i; /* Set the alignment mode. */ + break; + } + } + } + else if (grub_strcmp (name, "visible") == 0) + { + self->visible = grub_strcmp (value, "false") != 0; + } + else if (grub_strcmp (name, "id") == 0) + { + grub_gfxmenu_timeout_unregister ((grub_gui_component_t) self); + grub_free (self->id); + if (value) + self->id = grub_strdup (value); + else + self->id = 0; + if (self->id && grub_strcmp (self->id, GRUB_GFXMENU_TIMEOUT_COMPONENT_ID) + == 0) + grub_gfxmenu_timeout_register ((grub_gui_component_t) self, + label_set_state); + } + return GRUB_ERR_NONE; +} + +static struct grub_gui_component_ops label_ops = +{ + .destroy = label_destroy, + .get_id = label_get_id, + .is_instance = label_is_instance, + .paint = label_paint, + .set_parent = label_set_parent, + .get_parent = label_get_parent, + .set_bounds = label_set_bounds, + .get_bounds = label_get_bounds, + .get_minimal_size = label_get_minimal_size, + .set_property = label_set_property +}; + +grub_gui_component_t +grub_gui_label_new (void) +{ + grub_gui_label_t label; + label = grub_zalloc (sizeof (*label)); + if (! label) + return 0; + label->comp.ops = &label_ops; + label->visible = 1; + label->text = grub_strdup (""); + label->font = grub_font_get ("Unknown Regular 16"); + label->color.red = 0; + label->color.green = 0; + label->color.blue = 0; + label->color.alpha = 255; + label->align = align_left; + return (grub_gui_component_t) label; +} diff --git a/grub-core/gfxmenu/gui_list.c b/grub-core/gfxmenu/gui_list.c new file mode 100644 index 0000000..e5d6fc2 --- /dev/null +++ b/grub-core/gfxmenu/gui_list.c @@ -0,0 +1,620 @@ +/* gui_list.c - GUI component to display a selectable list of items. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +struct grub_gui_list_impl +{ + struct grub_gui_list list; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + int visible; + + int icon_width; + int icon_height; + int item_height; + int item_padding; + int item_icon_space; + int item_spacing; + grub_font_t item_font; + grub_font_t selected_item_font; + grub_gui_color_t item_color; + int selected_item_color_set; + grub_gui_color_t selected_item_color; + + int draw_scrollbar; + int need_to_recreate_scrollbar; + char *scrollbar_frame_pattern; + char *scrollbar_thumb_pattern; + grub_gfxmenu_box_t scrollbar_frame; + grub_gfxmenu_box_t scrollbar_thumb; + int scrollbar_width; + + int first_shown_index; + + int need_to_recreate_boxes; + char *theme_dir; + char *menu_box_pattern; + char *selected_item_box_pattern; + grub_gfxmenu_box_t menu_box; + grub_gfxmenu_box_t selected_item_box; + + grub_gfxmenu_icon_manager_t icon_manager; + + grub_gfxmenu_view_t view; +}; + +typedef struct grub_gui_list_impl *list_impl_t; + +static void +list_destroy (void *vself) +{ + list_impl_t self = vself; + + grub_free (self->theme_dir); + grub_free (self->menu_box_pattern); + grub_free (self->selected_item_box_pattern); + if (self->menu_box) + self->menu_box->destroy (self->menu_box); + if (self->selected_item_box) + self->selected_item_box->destroy (self->selected_item_box); + if (self->icon_manager) + grub_gfxmenu_icon_manager_destroy (self->icon_manager); + + grub_free (self); +} + +static int +get_num_shown_items (list_impl_t self) +{ + int boxpad = self->item_padding; + int item_vspace = self->item_spacing; + int item_height = self->item_height; + + grub_gfxmenu_box_t box = self->menu_box; + int box_top_pad = box->get_top_pad (box); + int box_bottom_pad = box->get_bottom_pad (box); + + return (self->bounds.height + item_vspace - 2 * boxpad + - box_top_pad - box_bottom_pad) / (item_height + item_vspace); +} + +static int +check_boxes (list_impl_t self) +{ + if (self->need_to_recreate_boxes) + { + grub_gui_recreate_box (&self->menu_box, + self->menu_box_pattern, + self->theme_dir); + + grub_gui_recreate_box (&self->selected_item_box, + self->selected_item_box_pattern, + self->theme_dir); + + self->need_to_recreate_boxes = 0; + } + + return (self->menu_box != 0 && self->selected_item_box != 0); +} + +static int +check_scrollbar (list_impl_t self) +{ + if (self->need_to_recreate_scrollbar) + { + grub_gui_recreate_box (&self->scrollbar_frame, + self->scrollbar_frame_pattern, + self->theme_dir); + + grub_gui_recreate_box (&self->scrollbar_thumb, + self->scrollbar_thumb_pattern, + self->theme_dir); + + self->need_to_recreate_scrollbar = 0; + } + + return (self->scrollbar_frame != 0 && self->scrollbar_thumb != 0); +} + +static const char * +list_get_id (void *vself) +{ + list_impl_t self = vself; + return self->id; +} + +static int +list_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return (grub_strcmp (type, "component") == 0 + || grub_strcmp (type, "list") == 0); +} + +static struct grub_video_bitmap * +get_item_icon (list_impl_t self, int item_index) +{ + grub_menu_entry_t entry; + entry = grub_menu_get_entry (self->view->menu, item_index); + if (! entry) + return 0; + + return grub_gfxmenu_icon_manager_get_icon (self->icon_manager, entry); +} + +static void +make_selected_item_visible (list_impl_t self) +{ + int selected_index = self->view->selected; + if (selected_index < 0) + return; /* No item is selected. */ + int num_shown_items = get_num_shown_items (self); + int last_shown_index = self->first_shown_index + (num_shown_items - 1); + if (selected_index < self->first_shown_index) + self->first_shown_index = selected_index; + else if (selected_index > last_shown_index) + self->first_shown_index = selected_index - (num_shown_items - 1); +} + +/* Draw a scrollbar on the menu. */ +static void +draw_scrollbar (list_impl_t self, + int value, int extent, int min, int max, + int rightx, int topy, int height) +{ + grub_gfxmenu_box_t frame = self->scrollbar_frame; + grub_gfxmenu_box_t thumb = self->scrollbar_thumb; + int frame_vertical_pad = (frame->get_top_pad (frame) + + frame->get_bottom_pad (frame)); + int frame_horizontal_pad = (frame->get_left_pad (frame) + + frame->get_right_pad (frame)); + int tracktop = topy + frame->get_top_pad (frame); + int tracklen = height - frame_vertical_pad; + frame->set_content_size (frame, self->scrollbar_width, tracklen); + int thumby = tracktop + tracklen * (value - min) / (max - min); + int thumbheight = tracklen * extent / (max - min) + 1; + thumb->set_content_size (thumb, + self->scrollbar_width - frame_horizontal_pad, + thumbheight - (thumb->get_top_pad (thumb) + + thumb->get_bottom_pad (thumb))); + frame->draw (frame, + rightx - (self->scrollbar_width + frame_horizontal_pad), + topy); + thumb->draw (thumb, + rightx - (self->scrollbar_width - frame->get_right_pad (frame)), + thumby); +} + +/* Draw the list of items. */ +static void +draw_menu (list_impl_t self, int num_shown_items) +{ + if (! self->menu_box || ! self->selected_item_box) + return; + + int boxpad = self->item_padding; + int icon_text_space = self->item_icon_space; + int item_vspace = self->item_spacing; + + int ascent = grub_font_get_ascent (self->item_font); + int descent = grub_font_get_descent (self->item_font); + int item_height = self->item_height; + + make_selected_item_visible (self); + + grub_gfxmenu_box_t selbox = self->selected_item_box; + int sel_leftpad = selbox->get_left_pad (selbox); + int sel_toppad = selbox->get_top_pad (selbox); + int item_top = sel_toppad; + int menu_index; + int visible_index; + struct grub_video_rect oviewport; + + grub_video_get_viewport (&oviewport.x, &oviewport.y, + &oviewport.width, &oviewport.height); + grub_video_set_viewport (oviewport.x + boxpad, + oviewport.y + boxpad, + oviewport.width - 2 * boxpad, + oviewport.height - 2 * boxpad); + + for (visible_index = 0, menu_index = self->first_shown_index; + visible_index < num_shown_items && menu_index < self->view->menu->size; + visible_index++, menu_index++) + { + int is_selected = (menu_index == self->view->selected); + + if (is_selected) + { + int cwidth = oviewport.width - 2 * boxpad - 2; + if (selbox->get_border_width) + cwidth -= selbox->get_border_width (selbox); + selbox->set_content_size (selbox, cwidth, item_height - 1); + selbox->draw (selbox, 0, + item_top - sel_toppad); + } + + struct grub_video_bitmap *icon; + if ((icon = get_item_icon (self, menu_index)) != 0) + grub_video_blit_bitmap (icon, GRUB_VIDEO_BLIT_BLEND, + sel_leftpad, + item_top + (item_height - self->icon_height) / 2, + 0, 0, self->icon_width, self->icon_height); + + const char *item_title = + grub_menu_get_entry (self->view->menu, menu_index)->title; + grub_font_t font = + (is_selected && self->selected_item_font + ? self->selected_item_font + : self->item_font); + grub_gui_color_t text_color = + ((is_selected && self->selected_item_color_set) + ? self->selected_item_color + : self->item_color); + grub_font_draw_string (item_title, + font, + grub_gui_map_color (text_color), + sel_leftpad + self->icon_width + icon_text_space, + (item_top + (item_height - (ascent + descent)) + / 2 + ascent)); + + item_top += item_height + item_vspace; + } + grub_video_set_viewport (oviewport.x, + oviewport.y, + oviewport.width, + oviewport.height); +} + +static void +list_paint (void *vself, const grub_video_rect_t *region) +{ + list_impl_t self = vself; + grub_video_rect_t vpsave; + + if (! self->visible) + return; + if (!grub_video_have_common_points (region, &self->bounds)) + return; + + check_boxes (self); + + if (! self->menu_box || ! self->selected_item_box) + return; + + grub_gui_set_viewport (&self->bounds, &vpsave); + { + grub_gfxmenu_box_t box = self->menu_box; + int box_left_pad = box->get_left_pad (box); + int box_top_pad = box->get_top_pad (box); + int box_right_pad = box->get_right_pad (box); + int box_bottom_pad = box->get_bottom_pad (box); + grub_video_rect_t vpsave2, content_rect; + int num_shown_items = get_num_shown_items (self); + int drawing_scrollbar = (self->draw_scrollbar + && (num_shown_items < self->view->menu->size) + && check_scrollbar (self)); + + content_rect.x = box_left_pad; + content_rect.y = box_top_pad; + content_rect.width = self->bounds.width - box_left_pad - box_right_pad; + content_rect.height = self->bounds.height - box_top_pad - box_bottom_pad; + + box->set_content_size (box, content_rect.width, content_rect.height); + + box->draw (box, 0, 0); + + grub_gui_set_viewport (&content_rect, &vpsave2); + draw_menu (self, num_shown_items); + grub_gui_restore_viewport (&vpsave2); + + if (drawing_scrollbar) + draw_scrollbar (self, + self->first_shown_index, num_shown_items, + 0, self->view->menu->size, + self->bounds.width - box_right_pad + + self->scrollbar_width, + box_top_pad, + self->bounds.height - box_top_pad - box_bottom_pad); + } + + grub_gui_restore_viewport (&vpsave); +} + +static void +list_set_parent (void *vself, grub_gui_container_t parent) +{ + list_impl_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +list_get_parent (void *vself) +{ + list_impl_t self = vself; + return self->parent; +} + +static void +list_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + list_impl_t self = vself; + self->bounds = *bounds; +} + +static void +list_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + list_impl_t self = vself; + *bounds = self->bounds; +} + +static void +list_get_minimal_size (void *vself, unsigned *width, unsigned *height) +{ + list_impl_t self = vself; + + if (check_boxes (self)) + { + int boxpad = self->item_padding; + int item_vspace = self->item_spacing; + int item_height = self->item_height; + int num_items = 3; + + grub_gfxmenu_box_t box = self->menu_box; + int box_left_pad = box->get_left_pad (box); + int box_top_pad = box->get_top_pad (box); + int box_right_pad = box->get_right_pad (box); + int box_bottom_pad = box->get_bottom_pad (box); + unsigned width_s; + + grub_gfxmenu_box_t selbox = self->selected_item_box; + int sel_toppad = selbox->get_top_pad (selbox); + + *width = grub_font_get_string_width (self->item_font, "Typical OS"); + width_s = grub_font_get_string_width (self->selected_item_font, + "Typical OS"); + if (*width < width_s) + *width = width_s; + + *width += 2 * boxpad + box_left_pad + box_right_pad; + + /* Set the menu box height to fit the items. */ + *height = (item_height * num_items + + item_vspace * (num_items - 1) + + 2 * boxpad + + box_top_pad + box_bottom_pad + sel_toppad); + } + else + { + *width = 0; + *height = 0; + } +} + +static grub_err_t +list_set_property (void *vself, const char *name, const char *value) +{ + list_impl_t self = vself; + if (grub_strcmp (name, "item_font") == 0) + { + self->item_font = grub_font_get (value); + } + else if (grub_strcmp (name, "selected_item_font") == 0) + { + if (! value || grub_strcmp (value, "inherit") == 0) + self->selected_item_font = 0; + else + self->selected_item_font = grub_font_get (value); + } + else if (grub_strcmp (name, "item_color") == 0) + { + grub_gui_parse_color (value, &self->item_color); + } + else if (grub_strcmp (name, "selected_item_color") == 0) + { + if (! value || grub_strcmp (value, "inherit") == 0) + { + self->selected_item_color_set = 0; + } + else + { + if (grub_gui_parse_color (value, &self->selected_item_color) + == GRUB_ERR_NONE) + self->selected_item_color_set = 1; + } + } + else if (grub_strcmp (name, "icon_width") == 0) + { + self->icon_width = grub_strtol (value, 0, 10); + grub_gfxmenu_icon_manager_set_icon_size (self->icon_manager, + self->icon_width, + self->icon_height); + } + else if (grub_strcmp (name, "icon_height") == 0) + { + self->icon_height = grub_strtol (value, 0, 10); + grub_gfxmenu_icon_manager_set_icon_size (self->icon_manager, + self->icon_width, + self->icon_height); + } + else if (grub_strcmp (name, "item_height") == 0) + { + self->item_height = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "item_padding") == 0) + { + self->item_padding = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "item_icon_space") == 0) + { + self->item_icon_space = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "item_spacing") == 0) + { + self->item_spacing = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "visible") == 0) + { + self->visible = grub_strcmp (value, "false") != 0; + } + else if (grub_strcmp (name, "menu_pixmap_style") == 0) + { + self->need_to_recreate_boxes = 1; + grub_free (self->menu_box_pattern); + self->menu_box_pattern = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "selected_item_pixmap_style") == 0) + { + self->need_to_recreate_boxes = 1; + grub_free (self->selected_item_box_pattern); + self->selected_item_box_pattern = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "scrollbar_frame") == 0) + { + self->need_to_recreate_scrollbar = 1; + grub_free (self->scrollbar_frame_pattern); + self->scrollbar_frame_pattern = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "scrollbar_thumb") == 0) + { + self->need_to_recreate_scrollbar = 1; + grub_free (self->scrollbar_thumb_pattern); + self->scrollbar_thumb_pattern = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "scrollbar_width") == 0) + { + self->scrollbar_width = grub_strtol (value, 0, 10); + } + else if (grub_strcmp (name, "scrollbar") == 0) + { + self->draw_scrollbar = grub_strcmp (value, "false") != 0; + } + else if (grub_strcmp (name, "theme_dir") == 0) + { + self->need_to_recreate_boxes = 1; + grub_free (self->theme_dir); + self->theme_dir = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "id") == 0) + { + grub_free (self->id); + if (value) + self->id = grub_strdup (value); + else + self->id = 0; + } + return grub_errno; +} + +/* Set necessary information that the gfxmenu view provides. */ +static void +list_set_view_info (void *vself, + grub_gfxmenu_view_t view) +{ + list_impl_t self = vself; + grub_gfxmenu_icon_manager_set_theme_path (self->icon_manager, + view->theme_path); + self->view = view; +} + +static struct grub_gui_component_ops list_comp_ops = + { + .destroy = list_destroy, + .get_id = list_get_id, + .is_instance = list_is_instance, + .paint = list_paint, + .set_parent = list_set_parent, + .get_parent = list_get_parent, + .set_bounds = list_set_bounds, + .get_bounds = list_get_bounds, + .get_minimal_size = list_get_minimal_size, + .set_property = list_set_property + }; + +static struct grub_gui_list_ops list_ops = +{ + .set_view_info = list_set_view_info +}; + +grub_gui_component_t +grub_gui_list_new (void) +{ + list_impl_t self; + grub_font_t default_font; + grub_gui_color_t default_fg_color; + + self = grub_zalloc (sizeof (*self)); + if (! self) + return 0; + + self->list.ops = &list_ops; + self->list.component.ops = &list_comp_ops; + + self->visible = 1; + + default_font = grub_font_get ("Unknown Regular 16"); + default_fg_color = grub_gui_color_rgb (0, 0, 0); + + self->icon_width = 32; + self->icon_height = 32; + self->item_height = 42; + self->item_padding = 14; + self->item_icon_space = 4; + self->item_spacing = 16; + self->item_font = default_font; + self->selected_item_font = 0; /* Default to using the item_font. */ + self->item_color = default_fg_color; + self->selected_item_color_set = 0; /* Default to using the item_color. */ + self->selected_item_color = default_fg_color; + + self->draw_scrollbar = 1; + self->need_to_recreate_scrollbar = 1; + self->scrollbar_frame = 0; + self->scrollbar_thumb = 0; + self->scrollbar_frame_pattern = 0; + self->scrollbar_thumb_pattern = 0; + self->scrollbar_width = 16; + + self->first_shown_index = 0; + + self->need_to_recreate_boxes = 0; + self->theme_dir = 0; + self->menu_box_pattern = 0; + self->selected_item_box_pattern = 0; + self->menu_box = grub_gfxmenu_create_box (0, 0); + self->selected_item_box = grub_gfxmenu_create_box (0, 0); + + self->icon_manager = grub_gfxmenu_icon_manager_new (); + if (! self->icon_manager) + { + self->list.component.ops->destroy (self); + return 0; + } + grub_gfxmenu_icon_manager_set_icon_size (self->icon_manager, + self->icon_width, + self->icon_height); + return (grub_gui_component_t) self; +} diff --git a/grub-core/gfxmenu/gui_progress_bar.c b/grub-core/gfxmenu/gui_progress_bar.c new file mode 100644 index 0000000..e1b3179 --- /dev/null +++ b/grub-core/gfxmenu/gui_progress_bar.c @@ -0,0 +1,391 @@ +/* gui_progress_bar.c - GUI progress bar component. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +struct grub_gui_progress_bar +{ + struct grub_gui_progress progress; + + grub_gui_container_t parent; + grub_video_rect_t bounds; + char *id; + int visible; + int start; + int end; + int value; + int show_text; + char *template; + grub_font_t font; + grub_gui_color_t text_color; + grub_gui_color_t border_color; + grub_gui_color_t bg_color; + grub_gui_color_t fg_color; + + char *theme_dir; + int need_to_recreate_pixmaps; + int pixmapbar_available; + char *bar_pattern; + char *highlight_pattern; + grub_gfxmenu_box_t bar_box; + grub_gfxmenu_box_t highlight_box; +}; + +typedef struct grub_gui_progress_bar *grub_gui_progress_bar_t; + +static void +progress_bar_destroy (void *vself) +{ + grub_gui_progress_bar_t self = vself; + grub_gfxmenu_timeout_unregister ((grub_gui_component_t) self); + grub_free (self); +} + +static const char * +progress_bar_get_id (void *vself) +{ + grub_gui_progress_bar_t self = vself; + return self->id; +} + +static int +progress_bar_is_instance (void *vself __attribute__((unused)), const char *type) +{ + return grub_strcmp (type, "component") == 0; +} + +static int +check_pixmaps (grub_gui_progress_bar_t self) +{ + if (!self->pixmapbar_available) + return 0; + if (self->need_to_recreate_pixmaps) + { + grub_gui_recreate_box (&self->bar_box, + self->bar_pattern, + self->theme_dir); + + grub_gui_recreate_box (&self->highlight_box, + self->highlight_pattern, + self->theme_dir); + + self->need_to_recreate_pixmaps = 0; + } + + return (self->bar_box != 0 && self->highlight_box != 0); +} + +static void +draw_filled_rect_bar (grub_gui_progress_bar_t self) +{ + /* Set the progress bar's frame. */ + grub_video_rect_t f; + f.x = 1; + f.y = 1; + f.width = self->bounds.width - 2; + f.height = self->bounds.height - 2; + + /* Border. */ + grub_video_fill_rect (grub_gui_map_color (self->border_color), + f.x - 1, f.y - 1, + f.width + 2, f.height + 2); + + /* Bar background. */ + int barwidth = (f.width + * (self->value - self->start) + / (self->end - self->start)); + grub_video_fill_rect (grub_gui_map_color (self->bg_color), + f.x + barwidth, f.y, + f.width - barwidth, f.height); + + /* Bar foreground. */ + grub_video_fill_rect (grub_gui_map_color (self->fg_color), + f.x, f.y, + barwidth, f.height); +} + +static void +draw_pixmap_bar (grub_gui_progress_bar_t self) +{ + grub_gfxmenu_box_t bar = self->bar_box; + grub_gfxmenu_box_t hl = self->highlight_box; + int w = self->bounds.width; + int h = self->bounds.height; + int bar_l_pad = bar->get_left_pad (bar); + int bar_r_pad = bar->get_right_pad (bar); + int bar_t_pad = bar->get_top_pad (bar); + int bar_b_pad = bar->get_bottom_pad (bar); + int bar_h_pad = bar_l_pad + bar_r_pad; + int bar_v_pad = bar_t_pad + bar_b_pad; + int tracklen = w - bar_h_pad; + int trackheight = h - bar_v_pad; + int barwidth; + + bar->set_content_size (bar, tracklen, trackheight); + + barwidth = (tracklen * (self->value - self->start) + / (self->end - self->start)); + + hl->set_content_size (hl, barwidth, h - bar_v_pad); + + bar->draw (bar, 0, 0); + hl->draw (hl, bar_l_pad, bar_t_pad); +} + +static void +draw_text (grub_gui_progress_bar_t self) +{ + if (self->template) + { + grub_font_t font = self->font; + grub_video_color_t text_color = grub_gui_map_color (self->text_color); + int width = self->bounds.width; + int height = self->bounds.height; + char *text; + text = grub_xasprintf (self->template, + self->value > 0 ? self->value : -self->value); + if (!text) + { + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + return; + } + /* Center the text. */ + int text_width = grub_font_get_string_width (font, text); + int x = (width - text_width) / 2; + int y = ((height - grub_font_get_descent (font)) / 2 + + grub_font_get_ascent (font) / 2); + grub_font_draw_string (text, font, text_color, x, y); + } +} + +static void +progress_bar_paint (void *vself, const grub_video_rect_t *region) +{ + grub_gui_progress_bar_t self = vself; + grub_video_rect_t vpsave; + + if (! self->visible) + return; + if (!grub_video_have_common_points (region, &self->bounds)) + return; + + if (self->end == self->start) + return; + + grub_gui_set_viewport (&self->bounds, &vpsave); + + if (check_pixmaps (self)) + draw_pixmap_bar (self); + else + draw_filled_rect_bar (self); + + draw_text (self); + + grub_gui_restore_viewport (&vpsave); +} + +static void +progress_bar_set_parent (void *vself, grub_gui_container_t parent) +{ + grub_gui_progress_bar_t self = vself; + self->parent = parent; +} + +static grub_gui_container_t +progress_bar_get_parent (void *vself) +{ + grub_gui_progress_bar_t self = vself; + return self->parent; +} + +static void +progress_bar_set_bounds (void *vself, const grub_video_rect_t *bounds) +{ + grub_gui_progress_bar_t self = vself; + self->bounds = *bounds; +} + +static void +progress_bar_get_bounds (void *vself, grub_video_rect_t *bounds) +{ + grub_gui_progress_bar_t self = vself; + *bounds = self->bounds; +} + +static void +progress_bar_get_minimal_size (void *vself, + unsigned *width, unsigned *height) +{ + unsigned text_width = 0, text_height = 0; + grub_gui_progress_bar_t self = vself; + + if (self->template) + { + text_width = grub_font_get_string_width (self->font, self->template); + text_width += grub_font_get_string_width (self->font, "XXXXXXXXXX"); + text_height = grub_font_get_descent (self->font) + + grub_font_get_ascent (self->font); + } + *width = 200; + if (*width < text_width) + *width = text_width; + *height = 28; + if (*height < text_height) + *height = text_height; +} + +static void +progress_bar_set_state (void *vself, int visible, int start, + int current, int end) +{ + grub_gui_progress_bar_t self = vself; + self->visible = visible; + self->start = start; + self->value = current; + self->end = end; +} + +static grub_err_t +progress_bar_set_property (void *vself, const char *name, const char *value) +{ + grub_gui_progress_bar_t self = vself; + if (grub_strcmp (name, "text") == 0) + { + grub_free (self->template); + if (grub_strcmp (value, "@TIMEOUT_NOTIFICATION_LONG@") == 0) + value + = _("The highlighted entry will be executed automatically in %ds."); + else if (grub_strcmp (value, "@TIMEOUT_NOTIFICATION_MIDDLE@") == 0) + /* TRANSLATORS: 's' stands for seconds. + It's a standalone timeout notification. + Please use the short form in your language. */ + value = _("%ds remaining."); + else if (grub_strcmp (value, "@TIMEOUT_NOTIFICATION_SHORT@") == 0) + /* TRANSLATORS: 's' stands for seconds. + It's a standalone timeout notification. + Please use the shortest form available in you language. */ + value = _("%ds"); + + self->template = grub_strdup (value); + } + else if (grub_strcmp (name, "font") == 0) + { + self->font = grub_font_get (value); + } + else if (grub_strcmp (name, "text_color") == 0) + { + grub_gui_parse_color (value, &self->text_color); + } + else if (grub_strcmp (name, "border_color") == 0) + { + grub_gui_parse_color (value, &self->border_color); + } + else if (grub_strcmp (name, "bg_color") == 0) + { + grub_gui_parse_color (value, &self->bg_color); + } + else if (grub_strcmp (name, "fg_color") == 0) + { + grub_gui_parse_color (value, &self->fg_color); + } + else if (grub_strcmp (name, "bar_style") == 0) + { + self->need_to_recreate_pixmaps = 1; + self->pixmapbar_available = 1; + grub_free (self->bar_pattern); + self->bar_pattern = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "highlight_style") == 0) + { + self->need_to_recreate_pixmaps = 1; + self->pixmapbar_available = 1; + grub_free (self->highlight_pattern); + self->highlight_pattern = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "theme_dir") == 0) + { + self->need_to_recreate_pixmaps = 1; + grub_free (self->theme_dir); + self->theme_dir = value ? grub_strdup (value) : 0; + } + else if (grub_strcmp (name, "id") == 0) + { + grub_gfxmenu_timeout_unregister ((grub_gui_component_t) self); + grub_free (self->id); + if (value) + self->id = grub_strdup (value); + else + self->id = 0; + /* if (self->id && grub_strcmp (self->id, GRUB_GFXMENU_TIMEOUT_COMPONENT_ID) + == 0)*/ + grub_gfxmenu_timeout_register ((grub_gui_component_t) self, + progress_bar_set_state); + } + return grub_errno; +} + +static struct grub_gui_component_ops progress_bar_ops = +{ + .destroy = progress_bar_destroy, + .get_id = progress_bar_get_id, + .is_instance = progress_bar_is_instance, + .paint = progress_bar_paint, + .set_parent = progress_bar_set_parent, + .get_parent = progress_bar_get_parent, + .set_bounds = progress_bar_set_bounds, + .get_bounds = progress_bar_get_bounds, + .get_minimal_size = progress_bar_get_minimal_size, + .set_property = progress_bar_set_property +}; + +static struct grub_gui_progress_ops progress_bar_pb_ops = + { + .set_state = progress_bar_set_state + }; + +grub_gui_component_t +grub_gui_progress_bar_new (void) +{ + grub_gui_progress_bar_t self; + self = grub_zalloc (sizeof (*self)); + if (! self) + return 0; + + self->progress.ops = &progress_bar_pb_ops; + self->progress.component.ops = &progress_bar_ops; + self->visible = 1; + self->font = grub_font_get ("Unknown Regular 16"); + grub_gui_color_t black = { .red = 0, .green = 0, .blue = 0, .alpha = 255 }; + grub_gui_color_t gray = { .red = 128, .green = 128, .blue = 128, .alpha = 255 }; + grub_gui_color_t lightgray = { .red = 200, .green = 200, .blue = 200, .alpha = 255 }; + self->text_color = black; + self->border_color = black; + self->bg_color = gray; + self->fg_color = lightgray; + + return (grub_gui_component_t) self; +} diff --git a/grub-core/gfxmenu/gui_string_util.c b/grub-core/gfxmenu/gui_string_util.c new file mode 100644 index 0000000..8c51e39 --- /dev/null +++ b/grub-core/gfxmenu/gui_string_util.c @@ -0,0 +1,327 @@ +/* gui_string_util.c - String utilities used by the GUI system. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* Create a new NUL-terminated string on the heap as a substring of BUF. + The range of buf included is the half-open interval [START,END). + The index START is inclusive, END is exclusive. */ +char * +grub_new_substring (const char *buf, + grub_size_t start, grub_size_t end) +{ + if (end < start) + return 0; + grub_size_t len = end - start; + char *s = grub_malloc (len + 1); + if (! s) + return 0; + grub_memcpy (s, buf + start, len); + s[len] = '\0'; + return s; +} + +/* Eliminate "." and ".." path elements from PATH. A new heap-allocated + string is returned. */ +static char * +canonicalize_path (const char *path) +{ + int i; + const char *p; + char *newpath = 0; + + /* Count the path components in path. */ + int components = 1; + for (p = path; *p; p++) + if (*p == '/') + components++; + + char **path_array = grub_malloc (components * sizeof (*path_array)); + if (! path_array) + return 0; + + /* Initialize array elements to NULL pointers; in case once of the + allocations fails, the cleanup code can just call grub_free() for all + pointers in the array. */ + for (i = 0; i < components; i++) + path_array[i] = 0; + + /* Parse the path into path_array. */ + p = path; + for (i = 0; i < components && p; i++) + { + /* Find the end of the path element. */ + const char *end = grub_strchr (p, '/'); + if (!end) + end = p + grub_strlen (p); + + /* Copy the element. */ + path_array[i] = grub_new_substring (p, 0, end - p); + if (! path_array[i]) + goto cleanup; + + /* Advance p to point to the start of the next element, or NULL. */ + if (*end) + p = end + 1; + else + p = 0; + } + + /* Eliminate '.' and '..' elements from the path array. */ + int newpath_length = 0; + for (i = components - 1; i >= 0; --i) + { + if (! grub_strcmp (path_array[i], ".")) + { + grub_free (path_array[i]); + path_array[i] = 0; + } + else if (! grub_strcmp (path_array[i], "..") + && i > 0) + { + /* Delete the '..' and the prior path element. */ + grub_free (path_array[i]); + path_array[i] = 0; + --i; + grub_free (path_array[i]); + path_array[i] = 0; + } + else + { + newpath_length += grub_strlen (path_array[i]) + 1; + } + } + + /* Construct a new path string. */ + newpath = grub_malloc (newpath_length + 1); + if (! newpath) + goto cleanup; + + newpath[0] = '\0'; + char *newpath_end = newpath; + int first = 1; + for (i = 0; i < components; i++) + { + char *element = path_array[i]; + if (element) + { + /* For all components but the first, prefix with a slash. */ + if (! first) + newpath_end = grub_stpcpy (newpath_end, "/"); + newpath_end = grub_stpcpy (newpath_end, element); + first = 0; + } + } + +cleanup: + for (i = 0; i < components; i++) + grub_free (path_array[i]); + grub_free (path_array); + + return newpath; +} + +/* Return a new heap-allocated string representing to absolute path + to the file referred to by PATH. If PATH is an absolute path, then + the returned path is a copy of PATH. If PATH is a relative path, then + BASE is with PATH used to construct the absolute path. */ +char * +grub_resolve_relative_path (const char *base, const char *path) +{ + char *abspath; + char *canonpath; + char *p; + grub_size_t l; + + /* If PATH is an absolute path, then just use it as is. */ + if (path[0] == '/' || path[0] == '(') + return canonicalize_path (path); + + abspath = grub_malloc (grub_strlen (base) + grub_strlen (path) + 3); + if (! abspath) + return 0; + + /* Concatenate BASE and PATH. */ + p = grub_stpcpy (abspath, base); + l = grub_strlen (abspath); + if (l == 0 || abspath[l-1] != '/') + { + *p = '/'; + p++; + *p = 0; + } + grub_stpcpy (p, path); + + canonpath = canonicalize_path (abspath); + if (! canonpath) + return abspath; + + grub_free (abspath); + return canonpath; +} + +/* Get the path of the directory where the file at FILE_PATH is located. + FILE_PATH should refer to a file, not a directory. The returned path + includes a trailing slash. + This does not handle GRUB "(hd0,0)" paths properly yet since it only + looks at slashes. */ +char * +grub_get_dirname (const char *file_path) +{ + int i; + int last_slash; + + last_slash = -1; + for (i = grub_strlen (file_path) - 1; i >= 0; --i) + { + if (file_path[i] == '/') + { + last_slash = i; + break; + } + } + if (last_slash == -1) + return grub_strdup ("/"); + + return grub_new_substring (file_path, 0, last_slash + 1); +} + +static __inline int +my_isxdigit (char c) +{ + return ((c >= '0' && c <= '9') + || (c >= 'a' && c <= 'f') + || (c >= 'A' && c <= 'F')); +} + +static int +parse_hex_color_component (const char *s, unsigned start, unsigned end) +{ + unsigned len; + char buf[3]; + + len = end - start; + /* Check the limits so we don't overrun the buffer. */ + if (len < 1 || len > 2) + return 0; + + if (len == 1) + { + buf[0] = s[start]; /* Get the first and only hex digit. */ + buf[1] = buf[0]; /* Duplicate the hex digit. */ + } + else if (len == 2) + { + buf[0] = s[start]; + buf[1] = s[start + 1]; + } + + buf[2] = '\0'; + + return grub_strtoul (buf, 0, 16); +} + +/* Parse a color string of the form "r, g, b", "#RGB", "#RGBA", + "#RRGGBB", or "#RRGGBBAA". */ +grub_err_t +grub_gui_parse_color (const char *s, grub_gui_color_t *color) +{ + grub_gui_color_t c; + + /* Skip whitespace. */ + while (*s && grub_isspace (*s)) + s++; + + if (*s == '#') + { + /* HTML-style. Number if hex digits: + [6] #RRGGBB [3] #RGB + [8] #RRGGBBAA [4] #RGBA */ + + s++; /* Skip the '#'. */ + /* Count the hexits to determine the format. */ + int hexits = 0; + const char *end = s; + while (my_isxdigit (*end)) + { + end++; + hexits++; + } + + /* Parse the color components based on the format. */ + if (hexits == 3 || hexits == 4) + { + c.red = parse_hex_color_component (s, 0, 1); + c.green = parse_hex_color_component (s, 1, 2); + c.blue = parse_hex_color_component (s, 2, 3); + if (hexits == 4) + c.alpha = parse_hex_color_component (s, 3, 4); + else + c.alpha = 255; + } + else if (hexits == 6 || hexits == 8) + { + c.red = parse_hex_color_component (s, 0, 2); + c.green = parse_hex_color_component (s, 2, 4); + c.blue = parse_hex_color_component (s, 4, 6); + if (hexits == 8) + c.alpha = parse_hex_color_component (s, 6, 8); + else + c.alpha = 255; + } + else + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "invalid HTML-type color string `%s'", s); + } + else if (grub_isdigit (*s)) + { + /* Comma separated decimal values. */ + c.red = grub_strtoul (s, 0, 0); + if ((s = grub_strchr (s, ',')) == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "missing 1st comma separator in color `%s'", s); + s++; + c.green = grub_strtoul (s, 0, 0); + if ((s = grub_strchr (s, ',')) == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "missing 2nd comma separator in color `%s'", s); + s++; + c.blue = grub_strtoul (s, 0, 0); + if ((s = grub_strchr (s, ',')) == 0) + c.alpha = 255; + else + { + s++; + c.alpha = grub_strtoul (s, 0, 0); + } + } + else + { + if (! grub_gui_get_named_color (s, &c)) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "invalid named color `%s'", s); + } + + if (grub_errno == GRUB_ERR_NONE) + *color = c; + return grub_errno; +} diff --git a/grub-core/gfxmenu/gui_util.c b/grub-core/gfxmenu/gui_util.c new file mode 100644 index 0000000..eba7bb3 --- /dev/null +++ b/grub-core/gfxmenu/gui_util.c @@ -0,0 +1,101 @@ +/* gui_util.c - GUI utility functions. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + + +struct find_by_id_state +{ + const char *match_id; + grub_gui_component_callback match_callback; + void *match_userdata; +}; + +static void +find_by_id_recursively (grub_gui_component_t component, void *userdata) +{ + struct find_by_id_state *state; + const char *id; + + state = (struct find_by_id_state *) userdata; + id = component->ops->get_id (component); + if (id && grub_strcmp (id, state->match_id) == 0) + state->match_callback (component, state->match_userdata); + + if (component->ops->is_instance (component, "container")) + { + grub_gui_container_t container; + container = (grub_gui_container_t) component; + container->ops->iterate_children (container, + find_by_id_recursively, + state); + } +} + +void +grub_gui_find_by_id (grub_gui_component_t root, + const char *id, + grub_gui_component_callback cb, + void *userdata) +{ + struct find_by_id_state state; + state.match_id = id; + state.match_callback = cb; + state.match_userdata = userdata; + find_by_id_recursively (root, &state); +} + + +struct iterate_recursively_state +{ + grub_gui_component_callback callback; + void *userdata; +}; + +static +void iterate_recursively_cb (grub_gui_component_t component, void *userdata) +{ + struct iterate_recursively_state *state; + + state = (struct iterate_recursively_state *) userdata; + state->callback (component, state->userdata); + + if (component->ops->is_instance (component, "container")) + { + grub_gui_container_t container; + container = (grub_gui_container_t) component; + container->ops->iterate_children (container, + iterate_recursively_cb, + state); + } +} + +void +grub_gui_iterate_recursively (grub_gui_component_t root, + grub_gui_component_callback cb, + void *userdata) +{ + struct iterate_recursively_state state; + state.callback = cb; + state.userdata = userdata; + iterate_recursively_cb (root, &state); +} diff --git a/grub-core/gfxmenu/icon_manager.c b/grub-core/gfxmenu/icon_manager.c new file mode 100644 index 0000000..6990d05 --- /dev/null +++ b/grub-core/gfxmenu/icon_manager.c @@ -0,0 +1,263 @@ +/* icon_manager.c - gfxmenu icon manager. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Currently hard coded to '.png' extension. */ +static const char icon_extension[] = ".png"; + +typedef struct icon_entry +{ + char *class_name; + struct grub_video_bitmap *bitmap; + struct icon_entry *next; +} *icon_entry_t; + +struct grub_gfxmenu_icon_manager +{ + char *theme_path; + int icon_width; + int icon_height; + + /* Icon cache: linked list w/ dummy head node. */ + struct icon_entry cache; +}; + + +/* Create a new icon manager and return a point to it. */ +grub_gfxmenu_icon_manager_t +grub_gfxmenu_icon_manager_new (void) +{ + grub_gfxmenu_icon_manager_t mgr; + mgr = grub_malloc (sizeof (*mgr)); + if (! mgr) + return 0; + + mgr->theme_path = 0; + mgr->icon_width = 0; + mgr->icon_height = 0; + + /* Initialize the dummy head node. */ + mgr->cache.class_name = 0; + mgr->cache.bitmap = 0; + mgr->cache.next = 0; + + return mgr; +} + +/* Destroy the icon manager MGR, freeing all resources used by it. + +Note: Any bitmaps returned by grub_gfxmenu_icon_manager_get_icon() +are destroyed and must not be used by the caller after this function +is called. */ +void +grub_gfxmenu_icon_manager_destroy (grub_gfxmenu_icon_manager_t mgr) +{ + grub_gfxmenu_icon_manager_clear_cache (mgr); + grub_free (mgr->theme_path); + grub_free (mgr); +} + +/* Clear the icon cache. */ +void +grub_gfxmenu_icon_manager_clear_cache (grub_gfxmenu_icon_manager_t mgr) +{ + icon_entry_t cur; + icon_entry_t next; + for (cur = mgr->cache.next; cur; cur = next) + { + next = cur->next; + grub_free (cur->class_name); + grub_video_bitmap_destroy (cur->bitmap); + grub_free (cur); + } + mgr->cache.next = 0; +} + +/* Set the theme path. If the theme path is changed, the icon cache + is cleared. */ +void +grub_gfxmenu_icon_manager_set_theme_path (grub_gfxmenu_icon_manager_t mgr, + const char *path) +{ + /* Clear the cache if the theme path has changed. */ + if (((mgr->theme_path == 0) != (path == 0)) + || (grub_strcmp (mgr->theme_path, path) != 0)) + grub_gfxmenu_icon_manager_clear_cache (mgr); + + grub_free (mgr->theme_path); + mgr->theme_path = path ? grub_strdup (path) : 0; +} + +/* Set the icon size. When icons are requested from the icon manager, + they are scaled to this size before being returned. If the size is + changed, the icon cache is cleared. */ +void +grub_gfxmenu_icon_manager_set_icon_size (grub_gfxmenu_icon_manager_t mgr, + int width, int height) +{ + /* If the width or height is changed, we must clear the cache, since the + scaled bitmaps are stored in the cache. */ + if (width != mgr->icon_width || height != mgr->icon_height) + grub_gfxmenu_icon_manager_clear_cache (mgr); + + mgr->icon_width = width; + mgr->icon_height = height; +} + +/* Try to load an icon for the specified CLASS_NAME in the directory DIR. + Returns 0 if the icon could not be loaded, or returns a pointer to a new + bitmap if it was successful. */ +static struct grub_video_bitmap * +try_loading_icon (grub_gfxmenu_icon_manager_t mgr, + const char *dir, const char *class_name) +{ + char *path; + int l; + + path = grub_malloc (grub_strlen (dir) + grub_strlen (class_name) + + grub_strlen (icon_extension) + 3); + if (! path) + return 0; + + grub_strcpy (path, dir); + l = grub_strlen (path); + if (path[l-1] != '/') + { + path[l] = '/'; + path[l+1] = 0; + } + grub_strcat (path, class_name); + grub_strcat (path, icon_extension); + + struct grub_video_bitmap *raw_bitmap; + grub_video_bitmap_load (&raw_bitmap, path); + grub_free (path); + grub_errno = GRUB_ERR_NONE; /* Critical to clear the error!! */ + if (! raw_bitmap) + return 0; + + struct grub_video_bitmap *scaled_bitmap; + grub_video_bitmap_create_scaled (&scaled_bitmap, + mgr->icon_width, mgr->icon_height, + raw_bitmap, + GRUB_VIDEO_BITMAP_SCALE_METHOD_BEST); + grub_video_bitmap_destroy (raw_bitmap); + if (! scaled_bitmap) + { + grub_error_push (); + grub_error (grub_errno, "failed to scale icon"); + return 0; + } + + return scaled_bitmap; +} + +/* Get the icon for the specified class CLASS_NAME. If an icon for + CLASS_NAME already exists in the cache, then a reference to the cached + bitmap is returned. If it is not cached, then it is loaded and cached. + If no icon could be could for CLASS_NAME, then 0 is returned. */ +static struct grub_video_bitmap * +get_icon_by_class (grub_gfxmenu_icon_manager_t mgr, const char *class_name) +{ + /* First check the icon cache. */ + icon_entry_t entry; + for (entry = mgr->cache.next; entry; entry = entry->next) + { + if (grub_strcmp (entry->class_name, class_name) == 0) + return entry->bitmap; + } + + if (! mgr->theme_path) + return 0; + + /* Otherwise, we search for an icon to load. */ + char *theme_dir = grub_get_dirname (mgr->theme_path); + char *icons_dir; + struct grub_video_bitmap *icon; + icon = 0; + /* First try the theme's own icons, from "grub/themes/NAME/icons/" */ + icons_dir = grub_resolve_relative_path (theme_dir, "icons/"); + if (icons_dir) + { + icon = try_loading_icon (mgr, icons_dir, class_name); + grub_free (icons_dir); + } + + grub_free (theme_dir); + if (! icon) + { + const char *icondir; + + icondir = grub_env_get ("icondir"); + if (icondir) + icon = try_loading_icon (mgr, icondir, class_name); + } + + /* No icon was found. */ + /* This should probably be noted in the cache, so that a search is not + performed each time an icon for CLASS_NAME is requested. */ + if (! icon) + return 0; + + /* Insert a new cache entry for this icon. */ + entry = grub_malloc (sizeof (*entry)); + if (! entry) + { + grub_video_bitmap_destroy (icon); + return 0; + } + entry->class_name = grub_strdup (class_name); + entry->bitmap = icon; + entry->next = mgr->cache.next; + mgr->cache.next = entry; /* Link it into the cache. */ + return entry->bitmap; +} + +/* Get the best available icon for ENTRY. Beginning with the first class + listed in the menu entry and proceeding forward, an icon for each class + is searched for. The first icon found is returned. The returned icon + is scaled to the size specified by + grub_gfxmenu_icon_manager_set_icon_size(). + + Note: Bitmaps returned by this function are destroyed when the + icon manager is destroyed. + */ +struct grub_video_bitmap * +grub_gfxmenu_icon_manager_get_icon (grub_gfxmenu_icon_manager_t mgr, + grub_menu_entry_t entry) +{ + struct grub_menu_entry_class *c; + struct grub_video_bitmap *icon; + + /* Try each class in succession. */ + icon = 0; + for (c = entry->classes; c && ! icon; c = c->next) + icon = get_icon_by_class (mgr, c->name); + return icon; +} diff --git a/grub-core/gfxmenu/model.c b/grub-core/gfxmenu/model.c new file mode 100644 index 0000000..e69de29 diff --git a/grub-core/gfxmenu/named_colors.c b/grub-core/gfxmenu/named_colors.c new file mode 100644 index 0000000..eedbc47 --- /dev/null +++ b/grub-core/gfxmenu/named_colors.c @@ -0,0 +1,209 @@ +/* named_colors.c - Named color values. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +struct named_color +{ + const char *name; + grub_gui_color_t color; +}; + +/* + Named color list generated from the list of SVG color keywords from + , + processed through the following Perl command: + perl -ne 'chomp;split;print "{ \"$_[0]\", RGB_COLOR($_[2]) },\n"' + */ + +#define RGB_COLOR(r,g,b) {.red = r, .green = g, .blue = b, .alpha = 255} + +static struct named_color named_colors[] = +{ + { "aliceblue", RGB_COLOR(240,248,255) }, + { "antiquewhite", RGB_COLOR(250,235,215) }, + { "aqua", RGB_COLOR(0,255,255) }, + { "aquamarine", RGB_COLOR(127,255,212) }, + { "azure", RGB_COLOR(240,255,255) }, + { "beige", RGB_COLOR(245,245,220) }, + { "bisque", RGB_COLOR(255,228,196) }, + { "black", RGB_COLOR(0,0,0) }, + { "blanchedalmond", RGB_COLOR(255,235,205) }, + { "blue", RGB_COLOR(0,0,255) }, + { "blueviolet", RGB_COLOR(138,43,226) }, + { "brown", RGB_COLOR(165,42,42) }, + { "burlywood", RGB_COLOR(222,184,135) }, + { "cadetblue", RGB_COLOR(95,158,160) }, + { "chartreuse", RGB_COLOR(127,255,0) }, + { "chocolate", RGB_COLOR(210,105,30) }, + { "coral", RGB_COLOR(255,127,80) }, + { "cornflowerblue", RGB_COLOR(100,149,237) }, + { "cornsilk", RGB_COLOR(255,248,220) }, + { "crimson", RGB_COLOR(220,20,60) }, + { "cyan", RGB_COLOR(0,255,255) }, + { "darkblue", RGB_COLOR(0,0,139) }, + { "darkcyan", RGB_COLOR(0,139,139) }, + { "darkgoldenrod", RGB_COLOR(184,134,11) }, + { "darkgray", RGB_COLOR(169,169,169) }, + { "darkgreen", RGB_COLOR(0,100,0) }, + { "darkgrey", RGB_COLOR(169,169,169) }, + { "darkkhaki", RGB_COLOR(189,183,107) }, + { "darkmagenta", RGB_COLOR(139,0,139) }, + { "darkolivegreen", RGB_COLOR(85,107,47) }, + { "darkorange", RGB_COLOR(255,140,0) }, + { "darkorchid", RGB_COLOR(153,50,204) }, + { "darkred", RGB_COLOR(139,0,0) }, + { "darksalmon", RGB_COLOR(233,150,122) }, + { "darkseagreen", RGB_COLOR(143,188,143) }, + { "darkslateblue", RGB_COLOR(72,61,139) }, + { "darkslategray", RGB_COLOR(47,79,79) }, + { "darkslategrey", RGB_COLOR(47,79,79) }, + { "darkturquoise", RGB_COLOR(0,206,209) }, + { "darkviolet", RGB_COLOR(148,0,211) }, + { "deeppink", RGB_COLOR(255,20,147) }, + { "deepskyblue", RGB_COLOR(0,191,255) }, + { "dimgray", RGB_COLOR(105,105,105) }, + { "dimgrey", RGB_COLOR(105,105,105) }, + { "dodgerblue", RGB_COLOR(30,144,255) }, + { "firebrick", RGB_COLOR(178,34,34) }, + { "floralwhite", RGB_COLOR(255,250,240) }, + { "forestgreen", RGB_COLOR(34,139,34) }, + { "fuchsia", RGB_COLOR(255,0,255) }, + { "gainsboro", RGB_COLOR(220,220,220) }, + { "ghostwhite", RGB_COLOR(248,248,255) }, + { "gold", RGB_COLOR(255,215,0) }, + { "goldenrod", RGB_COLOR(218,165,32) }, + { "gray", RGB_COLOR(128,128,128) }, + { "green", RGB_COLOR(0,128,0) }, + { "greenyellow", RGB_COLOR(173,255,47) }, + { "grey", RGB_COLOR(128,128,128) }, + { "honeydew", RGB_COLOR(240,255,240) }, + { "hotpink", RGB_COLOR(255,105,180) }, + { "indianred", RGB_COLOR(205,92,92) }, + { "indigo", RGB_COLOR(75,0,130) }, + { "ivory", RGB_COLOR(255,255,240) }, + { "khaki", RGB_COLOR(240,230,140) }, + { "lavender", RGB_COLOR(230,230,250) }, + { "lavenderblush", RGB_COLOR(255,240,245) }, + { "lawngreen", RGB_COLOR(124,252,0) }, + { "lemonchiffon", RGB_COLOR(255,250,205) }, + { "lightblue", RGB_COLOR(173,216,230) }, + { "lightcoral", RGB_COLOR(240,128,128) }, + { "lightcyan", RGB_COLOR(224,255,255) }, + { "lightgoldenrodyellow", RGB_COLOR(250,250,210) }, + { "lightgray", RGB_COLOR(211,211,211) }, + { "lightgreen", RGB_COLOR(144,238,144) }, + { "lightgrey", RGB_COLOR(211,211,211) }, + { "lightpink", RGB_COLOR(255,182,193) }, + { "lightsalmon", RGB_COLOR(255,160,122) }, + { "lightseagreen", RGB_COLOR(32,178,170) }, + { "lightskyblue", RGB_COLOR(135,206,250) }, + { "lightslategray", RGB_COLOR(119,136,153) }, + { "lightslategrey", RGB_COLOR(119,136,153) }, + { "lightsteelblue", RGB_COLOR(176,196,222) }, + { "lightyellow", RGB_COLOR(255,255,224) }, + { "lime", RGB_COLOR(0,255,0) }, + { "limegreen", RGB_COLOR(50,205,50) }, + { "linen", RGB_COLOR(250,240,230) }, + { "magenta", RGB_COLOR(255,0,255) }, + { "maroon", RGB_COLOR(128,0,0) }, + { "mediumaquamarine", RGB_COLOR(102,205,170) }, + { "mediumblue", RGB_COLOR(0,0,205) }, + { "mediumorchid", RGB_COLOR(186,85,211) }, + { "mediumpurple", RGB_COLOR(147,112,219) }, + { "mediumseagreen", RGB_COLOR(60,179,113) }, + { "mediumslateblue", RGB_COLOR(123,104,238) }, + { "mediumspringgreen", RGB_COLOR(0,250,154) }, + { "mediumturquoise", RGB_COLOR(72,209,204) }, + { "mediumvioletred", RGB_COLOR(199,21,133) }, + { "midnightblue", RGB_COLOR(25,25,112) }, + { "mintcream", RGB_COLOR(245,255,250) }, + { "mistyrose", RGB_COLOR(255,228,225) }, + { "moccasin", RGB_COLOR(255,228,181) }, + { "navajowhite", RGB_COLOR(255,222,173) }, + { "navy", RGB_COLOR(0,0,128) }, + { "oldlace", RGB_COLOR(253,245,230) }, + { "olive", RGB_COLOR(128,128,0) }, + { "olivedrab", RGB_COLOR(107,142,35) }, + { "orange", RGB_COLOR(255,165,0) }, + { "orangered", RGB_COLOR(255,69,0) }, + { "orchid", RGB_COLOR(218,112,214) }, + { "palegoldenrod", RGB_COLOR(238,232,170) }, + { "palegreen", RGB_COLOR(152,251,152) }, + { "paleturquoise", RGB_COLOR(175,238,238) }, + { "palevioletred", RGB_COLOR(219,112,147) }, + { "papayawhip", RGB_COLOR(255,239,213) }, + { "peachpuff", RGB_COLOR(255,218,185) }, + { "peru", RGB_COLOR(205,133,63) }, + { "pink", RGB_COLOR(255,192,203) }, + { "plum", RGB_COLOR(221,160,221) }, + { "powderblue", RGB_COLOR(176,224,230) }, + { "purple", RGB_COLOR(128,0,128) }, + { "red", RGB_COLOR(255,0,0) }, + { "rosybrown", RGB_COLOR(188,143,143) }, + { "royalblue", RGB_COLOR(65,105,225) }, + { "saddlebrown", RGB_COLOR(139,69,19) }, + { "salmon", RGB_COLOR(250,128,114) }, + { "sandybrown", RGB_COLOR(244,164,96) }, + { "seagreen", RGB_COLOR(46,139,87) }, + { "seashell", RGB_COLOR(255,245,238) }, + { "sienna", RGB_COLOR(160,82,45) }, + { "silver", RGB_COLOR(192,192,192) }, + { "skyblue", RGB_COLOR(135,206,235) }, + { "slateblue", RGB_COLOR(106,90,205) }, + { "slategray", RGB_COLOR(112,128,144) }, + { "slategrey", RGB_COLOR(112,128,144) }, + { "snow", RGB_COLOR(255,250,250) }, + { "springgreen", RGB_COLOR(0,255,127) }, + { "steelblue", RGB_COLOR(70,130,180) }, + { "tan", RGB_COLOR(210,180,140) }, + { "teal", RGB_COLOR(0,128,128) }, + { "thistle", RGB_COLOR(216,191,216) }, + { "tomato", RGB_COLOR(255,99,71) }, + { "turquoise", RGB_COLOR(64,224,208) }, + { "violet", RGB_COLOR(238,130,238) }, + { "wheat", RGB_COLOR(245,222,179) }, + { "white", RGB_COLOR(255,255,255) }, + { "whitesmoke", RGB_COLOR(245,245,245) }, + { "yellow", RGB_COLOR(255,255,0) }, + { "yellowgreen", RGB_COLOR(154,205,50) }, + { 0, { 0, 0, 0, 0 } } /* Terminator. */ +}; + +/* Get the color named NAME. If the color was found, returns 1 and + stores the color into *COLOR. If the color was not found, returns 0 and + does not modify *COLOR. */ +int +grub_gui_get_named_color (const char *name, + grub_gui_color_t *color) +{ + int i; + for (i = 0; named_colors[i].name; i++) + { + if (grub_strcmp (named_colors[i].name, name) == 0) + { + *color = named_colors[i].color; + return 1; + } + } + return 0; +} diff --git a/grub-core/gfxmenu/theme_loader.c b/grub-core/gfxmenu/theme_loader.c new file mode 100644 index 0000000..3854c6c --- /dev/null +++ b/grub-core/gfxmenu/theme_loader.c @@ -0,0 +1,723 @@ +/* theme_loader.c - Theme file loader for gfxmenu. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Construct a new box widget using ABSPATTERN to find the pixmap files for + it, storing the new box instance at *BOXPTR. + PATTERN should be of the form: "(hd0,0)/somewhere/style*.png". + The '*' then gets substituted with the various pixmap names that the + box uses. */ +static grub_err_t +recreate_box_absolute (grub_gfxmenu_box_t *boxptr, const char *abspattern) +{ + char *prefix; + char *suffix; + char *star; + grub_gfxmenu_box_t box; + + star = grub_strchr (abspattern, '*'); + if (! star) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "missing `*' in box pixmap pattern `%s'", abspattern); + + /* Prefix: Get the part before the '*'. */ + prefix = grub_malloc (star - abspattern + 1); + if (! prefix) + return grub_errno; + + grub_memcpy (prefix, abspattern, star - abspattern); + prefix[star - abspattern] = '\0'; + + /* Suffix: Everything after the '*' is the suffix. */ + suffix = star + 1; + + box = grub_gfxmenu_create_box (prefix, suffix); + grub_free (prefix); + if (! box) + return grub_errno; + + if (*boxptr) + (*boxptr)->destroy (*boxptr); + *boxptr = box; + return grub_errno; +} + + +/* Construct a new box widget using PATTERN to find the pixmap files for it, + storing the new widget at *BOXPTR. PATTERN should be of the form: + "somewhere/style*.png". The '*' then gets substituted with the various + pixmap names that the widget uses. + + Important! The value of *BOXPTR must be initialized! It must either + (1) Be 0 (a NULL pointer), or + (2) Be a pointer to a valid 'grub_gfxmenu_box_t' instance. + In this case, the previous instance is destroyed. */ +grub_err_t +grub_gui_recreate_box (grub_gfxmenu_box_t *boxptr, + const char *pattern, const char *theme_dir) +{ + char *abspattern; + + /* Check arguments. */ + if (! pattern) + { + /* If no pixmap pattern is given, then just create an empty box. */ + if (*boxptr) + (*boxptr)->destroy (*boxptr); + *boxptr = grub_gfxmenu_create_box (0, 0); + return grub_errno; + } + + if (! theme_dir) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "styled box missing theme directory"); + + /* Resolve to an absolute path. */ + abspattern = grub_resolve_relative_path (theme_dir, pattern); + if (! abspattern) + return grub_errno; + + /* Create the box. */ + recreate_box_absolute (boxptr, abspattern); + grub_free (abspattern); + return grub_errno; +} + +/* Set the specified property NAME on the view to the given string VALUE. + The caller is responsible for the lifetimes of NAME and VALUE. */ +static grub_err_t +theme_set_string (grub_gfxmenu_view_t view, + const char *name, + const char *value, + const char *theme_dir, + const char *filename, + int line_num, + int col_num) +{ + if (! grub_strcmp ("title-font", name)) + view->title_font = grub_font_get (value); + else if (! grub_strcmp ("message-font", name)) + view->message_font = grub_font_get (value); + else if (! grub_strcmp ("terminal-font", name)) + { + grub_free (view->terminal_font_name); + view->terminal_font_name = grub_strdup (value); + if (! view->terminal_font_name) + return grub_errno; + } + else if (! grub_strcmp ("title-color", name)) + grub_gui_parse_color (value, &view->title_color); + else if (! grub_strcmp ("message-color", name)) + grub_gui_parse_color (value, &view->message_color); + else if (! grub_strcmp ("message-bg-color", name)) + grub_gui_parse_color (value, &view->message_bg_color); + else if (! grub_strcmp ("desktop-image", name)) + { + struct grub_video_bitmap *raw_bitmap; + struct grub_video_bitmap *scaled_bitmap; + char *path; + path = grub_resolve_relative_path (theme_dir, value); + if (! path) + return grub_errno; + if (grub_video_bitmap_load (&raw_bitmap, path) != GRUB_ERR_NONE) + { + grub_free (path); + return grub_errno; + } + grub_free(path); + grub_video_bitmap_create_scaled (&scaled_bitmap, + view->screen.width, + view->screen.height, + raw_bitmap, + GRUB_VIDEO_BITMAP_SCALE_METHOD_BEST); + grub_video_bitmap_destroy (raw_bitmap); + if (! scaled_bitmap) + { + grub_error_push (); + return grub_error (grub_errno, "error scaling desktop image"); + } + + grub_video_bitmap_destroy (view->desktop_image); + view->desktop_image = scaled_bitmap; + } + else if (! grub_strcmp ("desktop-color", name)) + grub_gui_parse_color (value, &view->desktop_color); + else if (! grub_strcmp ("terminal-box", name)) + { + grub_err_t err; + err = grub_gui_recreate_box (&view->terminal_box, value, theme_dir); + if (err != GRUB_ERR_NONE) + return err; + } + else if (! grub_strcmp ("title-text", name)) + { + grub_free (view->title_text); + view->title_text = grub_strdup (value); + if (! view->title_text) + return grub_errno; + } + else + { + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "%s:%d:%d unknown property `%s'", + filename, line_num, col_num, name); + } + return grub_errno; +} + +struct parsebuf +{ + char *buf; + int pos; + int len; + int line_num; + int col_num; + const char *filename; + char *theme_dir; + grub_gfxmenu_view_t view; +}; + +static int +has_more (struct parsebuf *p) +{ + return p->pos < p->len; +} + +static int +read_char (struct parsebuf *p) +{ + if (has_more (p)) + { + char c; + c = p->buf[p->pos++]; + if (c == '\n') + { + p->line_num++; + p->col_num = 1; + } + else + { + p->col_num++; + } + return c; + } + else + return -1; +} + +static int +peek_char (struct parsebuf *p) +{ + if (has_more (p)) + return p->buf[p->pos]; + else + return -1; +} + +static int +is_whitespace (char c) +{ + return (c == ' ' + || c == '\t' + || c == '\r' + || c == '\n' + || c == '\f'); +} + +static void +skip_whitespace (struct parsebuf *p) +{ + while (has_more (p) && is_whitespace(peek_char (p))) + read_char (p); +} + +static void +advance_to_next_line (struct parsebuf *p) +{ + int c; + + /* Eat characters up to the newline. */ + do + { + c = read_char (p); + } + while (c != -1 && c != '\n'); +} + +static int +is_identifier_char (int c) +{ + return (c != -1 + && (grub_isalpha(c) + || grub_isdigit(c) + || c == '_' + || c == '-')); +} + +static char * +read_identifier (struct parsebuf *p) +{ + /* Index of the first character of the identifier in p->buf. */ + int start; + /* Next index after the last character of the identifer in p->buf. */ + int end; + + skip_whitespace (p); + + /* Capture the start of the identifier. */ + start = p->pos; + + /* Scan for the end. */ + while (is_identifier_char (peek_char (p))) + read_char (p); + end = p->pos; + + if (end - start < 1) + return 0; + + return grub_new_substring (p->buf, start, end); +} + +static char * +read_expression (struct parsebuf *p) +{ + int start; + int end; + + skip_whitespace (p); + if (peek_char (p) == '"') + { + /* Read as a quoted string. + The quotation marks are not included in the expression value. */ + /* Skip opening quotation mark. */ + read_char (p); + start = p->pos; + while (has_more (p) && peek_char (p) != '"') + read_char (p); + end = p->pos; + /* Skip the terminating quotation mark. */ + read_char (p); + } + else if (peek_char (p) == '(') + { + /* Read as a parenthesized string -- for tuples/coordinates. */ + /* The parentheses are included in the expression value. */ + int c; + + start = p->pos; + do + { + c = read_char (p); + } + while (c != -1 && c != ')'); + end = p->pos; + } + else if (has_more (p)) + { + /* Read as a single word -- for numeric values or words without + whitespace. */ + start = p->pos; + while (has_more (p) && ! is_whitespace (peek_char (p))) + read_char (p); + end = p->pos; + } + else + { + /* The end of the theme file has been reached. */ + grub_error (GRUB_ERR_IO, "%s:%d:%d expression expected in theme file", + p->filename, p->line_num, p->col_num); + return 0; + } + + return grub_new_substring (p->buf, start, end); +} + +static grub_err_t +parse_proportional_spec (char *value, signed *abs, grub_fixed_signed_t *prop) +{ + signed num; + char *ptr; + int sig = 0; + *abs = 0; + *prop = 0; + ptr = value; + while (*ptr) + { + sig = 0; + + while (*ptr == '-' || *ptr == '+') + { + if (*ptr == '-') + sig = !sig; + ptr++; + } + + num = grub_strtoul (ptr, &ptr, 0); + if (grub_errno) + return grub_errno; + if (sig) + num = -num; + if (*ptr == '%') + { + *prop += grub_fixed_fsf_divide (grub_signed_to_fixed (num), 100); + ptr++; + } + else + *abs += num; + } + return GRUB_ERR_NONE; +} + + +/* Read a GUI object specification from the theme file. + Any components created will be added to the GUI container PARENT. */ +static grub_err_t +read_object (struct parsebuf *p, grub_gui_container_t parent) +{ + grub_video_rect_t bounds; + + char *name; + name = read_identifier (p); + if (! name) + goto cleanup; + + grub_gui_component_t component = 0; + if (grub_strcmp (name, "label") == 0) + { + component = grub_gui_label_new (); + } + else if (grub_strcmp (name, "image") == 0) + { + component = grub_gui_image_new (); + } + else if (grub_strcmp (name, "vbox") == 0) + { + component = (grub_gui_component_t) grub_gui_vbox_new (); + } + else if (grub_strcmp (name, "hbox") == 0) + { + component = (grub_gui_component_t) grub_gui_hbox_new (); + } + else if (grub_strcmp (name, "canvas") == 0) + { + component = (grub_gui_component_t) grub_gui_canvas_new (); + } + else if (grub_strcmp (name, "progress_bar") == 0) + { + component = grub_gui_progress_bar_new (); + } + else if (grub_strcmp (name, "circular_progress") == 0) + { + component = grub_gui_circular_progress_new (); + } + else if (grub_strcmp (name, "boot_menu") == 0) + { + component = grub_gui_list_new (); + } + else + { + /* Unknown type. */ + grub_error (GRUB_ERR_IO, "%s:%d:%d unknown object type `%s'", + p->filename, p->line_num, p->col_num, name); + goto cleanup; + } + + if (! component) + goto cleanup; + + /* Inform the component about the theme so it can find its resources. */ + component->ops->set_property (component, "theme_dir", p->theme_dir); + component->ops->set_property (component, "theme_path", p->filename); + + /* Add the component as a child of PARENT. */ + bounds.x = 0; + bounds.y = 0; + bounds.width = -1; + bounds.height = -1; + component->ops->set_bounds (component, &bounds); + parent->ops->add (parent, component); + + skip_whitespace (p); + if (read_char (p) != '{') + { + grub_error (GRUB_ERR_IO, + "%s:%d:%d expected `{' after object type name `%s'", + p->filename, p->line_num, p->col_num, name); + goto cleanup; + } + + while (has_more (p)) + { + skip_whitespace (p); + + /* Check whether the end has been encountered. */ + if (peek_char (p) == '}') + { + /* Skip the closing brace. */ + read_char (p); + break; + } + + if (peek_char (p) == '#') + { + /* Skip comments. */ + advance_to_next_line (p); + continue; + } + + if (peek_char (p) == '+') + { + /* Skip the '+'. */ + read_char (p); + + /* Check whether this component is a container. */ + if (component->ops->is_instance (component, "container")) + { + /* Read the sub-object recursively and add it as a child. */ + if (read_object (p, (grub_gui_container_t) component) != 0) + goto cleanup; + /* After reading the sub-object, resume parsing, expecting + another property assignment or sub-object definition. */ + continue; + } + else + { + grub_error (GRUB_ERR_IO, + "%s:%d:%d attempted to add object to non-container", + p->filename, p->line_num, p->col_num); + goto cleanup; + } + } + + char *property; + property = read_identifier (p); + if (! property) + { + grub_error (GRUB_ERR_IO, "%s:%d:%d identifier expected in theme file", + p->filename, p->line_num, p->col_num); + goto cleanup; + } + + skip_whitespace (p); + if (read_char (p) != '=') + { + grub_error (GRUB_ERR_IO, + "%s:%d:%d expected `=' after property name `%s'", + p->filename, p->line_num, p->col_num, property); + grub_free (property); + goto cleanup; + } + skip_whitespace (p); + + char *value; + value = read_expression (p); + if (! value) + { + grub_free (property); + goto cleanup; + } + + /* Handle the property value. */ + if (grub_strcmp (property, "left") == 0) + parse_proportional_spec (value, &component->x, &component->xfrac); + else if (grub_strcmp (property, "top") == 0) + parse_proportional_spec (value, &component->y, &component->yfrac); + else if (grub_strcmp (property, "width") == 0) + parse_proportional_spec (value, &component->w, &component->wfrac); + else if (grub_strcmp (property, "height") == 0) + parse_proportional_spec (value, &component->h, &component->hfrac); + else + /* General property handling. */ + component->ops->set_property (component, property, value); + + grub_free (value); + grub_free (property); + if (grub_errno != GRUB_ERR_NONE) + goto cleanup; + } + +cleanup: + grub_free (name); + return grub_errno; +} + +static grub_err_t +read_property (struct parsebuf *p) +{ + char *name; + + /* Read the property name. */ + name = read_identifier (p); + if (! name) + { + advance_to_next_line (p); + return grub_errno; + } + + /* Skip whitespace before separator. */ + skip_whitespace (p); + + /* Read separator. */ + if (read_char (p) != ':') + { + grub_error (GRUB_ERR_IO, + "%s:%d:%d missing separator after property name `%s'", + p->filename, p->line_num, p->col_num, name); + goto done; + } + + /* Skip whitespace after separator. */ + skip_whitespace (p); + + /* Get the value based on its type. */ + if (peek_char (p) == '"') + { + /* String value (e.g., '"My string"'). */ + char *value = read_expression (p); + if (! value) + { + grub_error (GRUB_ERR_IO, "%s:%d:%d missing property value", + p->filename, p->line_num, p->col_num); + goto done; + } + /* If theme_set_string results in an error, grub_errno will be returned + below. */ + theme_set_string (p->view, name, value, p->theme_dir, + p->filename, p->line_num, p->col_num); + grub_free (value); + } + else + { + grub_error (GRUB_ERR_IO, + "%s:%d:%d property value invalid; " + "enclose literal values in quotes (\")", + p->filename, p->line_num, p->col_num); + goto done; + } + +done: + grub_free (name); + return grub_errno; +} + +/* Set properties on the view based on settings from the specified + theme file. */ +grub_err_t +grub_gfxmenu_view_load_theme (grub_gfxmenu_view_t view, const char *theme_path) +{ + grub_file_t file; + struct parsebuf p; + + p.view = view; + p.theme_dir = grub_get_dirname (theme_path); + + file = grub_file_open (theme_path); + if (! file) + { + grub_free (p.theme_dir); + return grub_errno; + } + + p.len = grub_file_size (file); + p.buf = grub_malloc (p.len); + p.pos = 0; + p.line_num = 1; + p.col_num = 1; + p.filename = theme_path; + if (! p.buf) + { + grub_file_close (file); + grub_free (p.theme_dir); + return grub_errno; + } + if (grub_file_read (file, p.buf, p.len) != p.len) + { + grub_free (p.buf); + grub_file_close (file); + grub_free (p.theme_dir); + return grub_errno; + } + + if (view->canvas) + view->canvas->component.ops->destroy (view->canvas); + + view->canvas = grub_gui_canvas_new (); + ((grub_gui_component_t) view->canvas) + ->ops->set_bounds ((grub_gui_component_t) view->canvas, + &view->screen); + + while (has_more (&p)) + { + /* Skip comments (lines beginning with #). */ + if (peek_char (&p) == '#') + { + advance_to_next_line (&p); + continue; + } + + /* Find the first non-whitespace character. */ + skip_whitespace (&p); + + /* Handle the content. */ + if (peek_char (&p) == '+') + { + /* Skip the '+'. */ + read_char (&p); + read_object (&p, view->canvas); + } + else + { + read_property (&p); + } + + if (grub_errno != GRUB_ERR_NONE) + goto fail; + } + + /* Set the new theme path. */ + grub_free (view->theme_path); + view->theme_path = grub_strdup (theme_path); + goto cleanup; + +fail: + if (view->canvas) + { + view->canvas->component.ops->destroy (view->canvas); + view->canvas = 0; + } + +cleanup: + grub_free (p.buf); + grub_file_close (file); + grub_free (p.theme_dir); + return grub_errno; +} diff --git a/grub-core/gfxmenu/view.c b/grub-core/gfxmenu/view.c new file mode 100644 index 0000000..901cdc8 --- /dev/null +++ b/grub-core/gfxmenu/view.c @@ -0,0 +1,446 @@ +/* view.c - Graphical menu interface MVC view. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static void +init_terminal (grub_gfxmenu_view_t view); +static grub_video_rect_t term_rect; +static grub_gfxmenu_view_t term_view; + +/* Create a new view object, loading the theme specified by THEME_PATH and + associating MODEL with the view. */ +grub_gfxmenu_view_t +grub_gfxmenu_view_new (const char *theme_path, + int width, int height) +{ + grub_gfxmenu_view_t view; + grub_font_t default_font; + grub_gui_color_t default_fg_color; + grub_gui_color_t default_bg_color; + + view = grub_malloc (sizeof (*view)); + if (! view) + return 0; + + view->screen.x = 0; + view->screen.y = 0; + view->screen.width = width; + view->screen.height = height; + + default_font = grub_font_get ("Unknown Regular 16"); + default_fg_color = grub_gui_color_rgb (0, 0, 0); + default_bg_color = grub_gui_color_rgb (255, 255, 255); + + view->canvas = 0; + + view->title_font = default_font; + view->message_font = default_font; + view->terminal_font_name = grub_strdup ("Fixed 10"); + view->title_color = default_fg_color; + view->message_color = default_bg_color; + view->message_bg_color = default_fg_color; + view->desktop_image = 0; + view->desktop_color = default_bg_color; + view->terminal_box = grub_gfxmenu_create_box (0, 0); + view->title_text = grub_strdup ("GRUB Boot Menu"); + view->progress_message_text = 0; + view->theme_path = 0; + + /* Set the timeout bar's frame. */ + view->progress_message_frame.width = view->screen.width * 4 / 5; + view->progress_message_frame.height = 50; + view->progress_message_frame.x = view->screen.x + + (view->screen.width - view->progress_message_frame.width) / 2; + view->progress_message_frame.y = view->screen.y + + view->screen.height - 90 - 20 - view->progress_message_frame.height; + + if (grub_gfxmenu_view_load_theme (view, theme_path) != 0) + { + grub_gfxmenu_view_destroy (view); + return 0; + } + + return view; +} + +/* Destroy the view object. All used memory is freed. */ +void +grub_gfxmenu_view_destroy (grub_gfxmenu_view_t view) +{ + if (!view) + return; + grub_video_bitmap_destroy (view->desktop_image); + if (view->terminal_box) + view->terminal_box->destroy (view->terminal_box); + grub_free (view->terminal_font_name); + grub_free (view->title_text); + grub_free (view->progress_message_text); + grub_free (view->theme_path); + if (view->canvas) + view->canvas->component.ops->destroy (view->canvas); + grub_free (view); +} + +static void +redraw_background (grub_gfxmenu_view_t view, + const grub_video_rect_t *bounds) +{ + if (view->desktop_image) + { + struct grub_video_bitmap *img = view->desktop_image; + grub_video_blit_bitmap (img, GRUB_VIDEO_BLIT_REPLACE, + bounds->x, bounds->y, + bounds->x - view->screen.x, + bounds->y - view->screen.y, + bounds->width, bounds->height); + } + else + { + grub_video_fill_rect (grub_gui_map_color (view->desktop_color), + bounds->x, bounds->y, + bounds->width, bounds->height); + } +} + +static void +draw_title (grub_gfxmenu_view_t view) +{ + if (! view->title_text) + return; + + /* Center the title. */ + int title_width = grub_font_get_string_width (view->title_font, + view->title_text); + int x = (view->screen.width - title_width) / 2; + int y = 40 + grub_font_get_ascent (view->title_font); + grub_font_draw_string (view->title_text, + view->title_font, + grub_gui_map_color (view->title_color), + x, y); +} + +struct progress_value_data +{ + int visible; + int start; + int end; + int value; +}; + +struct grub_gfxmenu_timeout_notify *grub_gfxmenu_timeout_notifications; + +static void +update_timeouts (int visible, int start, int value, int end) +{ + struct grub_gfxmenu_timeout_notify *cur; + + for (cur = grub_gfxmenu_timeout_notifications; cur; cur = cur->next) + cur->set_state (cur->self, visible, start, value, end); +} + +static void +redraw_timeouts (struct grub_gfxmenu_view *view) +{ + struct grub_gfxmenu_timeout_notify *cur; + + for (cur = grub_gfxmenu_timeout_notifications; cur; cur = cur->next) + { + grub_video_rect_t bounds; + cur->self->ops->get_bounds (cur->self, &bounds); + grub_gfxmenu_view_redraw (view, &bounds); + } +} + +void +grub_gfxmenu_print_timeout (int timeout, void *data) +{ + struct grub_gfxmenu_view *view = data; + + if (view->first_timeout == -1) + view->first_timeout = timeout; + + update_timeouts (1, -(view->first_timeout + 1), -timeout, 0); + redraw_timeouts (view); + grub_video_swap_buffers (); + if (view->double_repaint) + redraw_timeouts (view); +} + +void +grub_gfxmenu_clear_timeout (void *data) +{ + struct grub_gfxmenu_view *view = data; + + update_timeouts (0, 1, 0, 0); + redraw_timeouts (view); + grub_video_swap_buffers (); + if (view->double_repaint) + redraw_timeouts (view); +} + +static void +update_menu_visit (grub_gui_component_t component, + void *userdata) +{ + grub_gfxmenu_view_t view; + view = userdata; + if (component->ops->is_instance (component, "list")) + { + grub_gui_list_t list = (grub_gui_list_t) component; + list->ops->set_view_info (list, view); + } +} + +/* Update any boot menu components with the current menu model and + theme path. */ +static void +update_menu_components (grub_gfxmenu_view_t view) +{ + grub_gui_iterate_recursively ((grub_gui_component_t) view->canvas, + update_menu_visit, view); +} + +static void +draw_message (grub_gfxmenu_view_t view) +{ + char *text = view->progress_message_text; + grub_video_rect_t f = view->progress_message_frame; + if (! text) + return; + + grub_font_t font = view->message_font; + grub_video_color_t color = grub_gui_map_color (view->message_color); + + /* Border. */ + grub_video_fill_rect (color, + f.x-1, f.y-1, f.width+2, f.height+2); + /* Fill. */ + grub_video_fill_rect (grub_gui_map_color (view->message_bg_color), + f.x, f.y, f.width, f.height); + + /* Center the text. */ + int text_width = grub_font_get_string_width (font, text); + int x = f.x + (f.width - text_width) / 2; + int y = (f.y + (f.height - grub_font_get_descent (font)) / 2 + + grub_font_get_ascent (font) / 2); + grub_font_draw_string (text, font, color, x, y); +} + +void +grub_gfxmenu_view_redraw (grub_gfxmenu_view_t view, + const grub_video_rect_t *region) +{ + if (grub_video_have_common_points (&term_rect, region)) + grub_gfxterm_schedule_repaint (); + + grub_video_set_active_render_target (GRUB_VIDEO_RENDER_TARGET_DISPLAY); + + redraw_background (view, region); + if (view->canvas) + view->canvas->component.ops->paint (view->canvas, region); + draw_title (view); + if (grub_video_have_common_points (&view->progress_message_frame, region)) + draw_message (view); +} + +void +grub_gfxmenu_view_draw (grub_gfxmenu_view_t view) +{ + init_terminal (view); + + /* Clear the screen; there may be garbage left over in video memory. */ + grub_video_fill_rect (grub_video_map_rgb (0, 0, 0), + view->screen.x, view->screen.y, + view->screen.width, view->screen.height); + grub_video_swap_buffers (); + if (view->double_repaint) + grub_video_fill_rect (grub_video_map_rgb (0, 0, 0), + view->screen.x, view->screen.y, + view->screen.width, view->screen.height); + + update_menu_components (view); + + grub_gfxmenu_view_redraw (view, &view->screen); + grub_video_swap_buffers (); + if (view->double_repaint) + grub_gfxmenu_view_redraw (view, &view->screen); +} + +static void +redraw_menu_visit (grub_gui_component_t component, + void *userdata) +{ + grub_gfxmenu_view_t view; + view = userdata; + if (component->ops->is_instance (component, "list")) + { + grub_video_rect_t bounds; + + component->ops->get_bounds (component, &bounds); + grub_gfxmenu_view_redraw (view, &bounds); + } +} + +void +grub_gfxmenu_redraw_menu (grub_gfxmenu_view_t view) +{ + update_menu_components (view); + + grub_gui_iterate_recursively ((grub_gui_component_t) view->canvas, + redraw_menu_visit, view); + grub_video_swap_buffers (); + if (view->double_repaint) + { + grub_gui_iterate_recursively ((grub_gui_component_t) view->canvas, + redraw_menu_visit, view); + } +} + +void +grub_gfxmenu_set_chosen_entry (int entry, void *data) +{ + grub_gfxmenu_view_t view = data; + + view->selected = entry; + grub_gfxmenu_redraw_menu (view); +} + +static void +grub_gfxmenu_draw_terminal_box (void) +{ + grub_gfxmenu_box_t term_box; + + term_box = term_view->terminal_box; + if (!term_box) + return; + + term_box->set_content_size (term_box, term_rect.width, + term_rect.height); + + term_box->draw (term_box, + term_rect.x - term_box->get_left_pad (term_box), + term_rect.y - term_box->get_top_pad (term_box)); +} + +static void +init_terminal (grub_gfxmenu_view_t view) +{ + term_rect.width = view->screen.width * 7 / 10; + term_rect.height = view->screen.height * 7 / 10; + + term_rect.x = view->screen.x + view->screen.width * (10 - 7) / 10 / 2; + term_rect.y = view->screen.y + view->screen.height * (10 - 7) / 10 / 2; + + term_view = view; + + /* Note: currently there is no API for changing the gfxterm font + on the fly, so whatever font the initially loaded theme specifies + will be permanent. */ + grub_gfxterm_set_window (GRUB_VIDEO_RENDER_TARGET_DISPLAY, term_rect.x, + term_rect.y, + term_rect.width, term_rect.height, + view->double_repaint, view->terminal_font_name, 3); + grub_gfxterm_decorator_hook = grub_gfxmenu_draw_terminal_box; +} + +/* FIXME: previously notifications were displayed in special case. + Is it necessary? + */ +#if 0 +/* Sets MESSAGE as the progress message for the view. + MESSAGE can be 0, in which case no message is displayed. */ +static void +set_progress_message (grub_gfxmenu_view_t view, const char *message) +{ + grub_free (view->progress_message_text); + if (message) + view->progress_message_text = grub_strdup (message); + else + view->progress_message_text = 0; +} + +static void +notify_booting (grub_menu_entry_t entry, void *userdata) +{ + grub_gfxmenu_view_t view = (grub_gfxmenu_view_t) userdata; + + char *s = grub_malloc (100 + grub_strlen (entry->title)); + if (!s) + return; + + grub_sprintf (s, "Booting '%s'", entry->title); + set_progress_message (view, s); + grub_free (s); + grub_gfxmenu_view_redraw (view, &view->progress_message_frame); + grub_video_swap_buffers (); + if (view->double_repaint) + grub_gfxmenu_view_redraw (view, &view->progress_message_frame); +} + +static void +notify_fallback (grub_menu_entry_t entry, void *userdata) +{ + grub_gfxmenu_view_t view = (grub_gfxmenu_view_t) userdata; + + char *s = grub_malloc (100 + grub_strlen (entry->title)); + if (!s) + return; + + grub_sprintf (s, "Falling back to '%s'", entry->title); + set_progress_message (view, s); + grub_free (s); + grub_gfxmenu_view_redraw (view, &view->progress_message_frame); + grub_video_swap_buffers (); + if (view->double_repaint) + grub_gfxmenu_view_redraw (view, &view->progress_message_frame); +} + +static void +notify_execution_failure (void *userdata __attribute__ ((unused))) +{ +} + + +static struct grub_menu_execute_callback execute_callback = +{ + .notify_booting = notify_booting, + .notify_fallback = notify_fallback, + .notify_failure = notify_execution_failure +}; + +#endif diff --git a/grub-core/gfxmenu/widget-box.c b/grub-core/gfxmenu/widget-box.c new file mode 100644 index 0000000..41ca7f5 --- /dev/null +++ b/grub-core/gfxmenu/widget-box.c @@ -0,0 +1,310 @@ +/* widget_box.c - Pixmap-stylized box widget. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +enum box_pixmaps +{ + BOX_PIXMAP_NW, BOX_PIXMAP_NE, BOX_PIXMAP_SE, BOX_PIXMAP_SW, + BOX_PIXMAP_N, BOX_PIXMAP_E, BOX_PIXMAP_S, BOX_PIXMAP_W, + BOX_PIXMAP_CENTER +}; + +static const char *box_pixmap_names[] = { + /* Corners: */ + "nw", "ne", "se", "sw", + /* Sides: */ + "n", "e", "s", "w", + /* Center: */ + "c" +}; + +#define BOX_NUM_PIXMAPS (sizeof(box_pixmap_names)/sizeof(*box_pixmap_names)) + +static int +get_height (struct grub_video_bitmap *bitmap) +{ + if (bitmap) + return grub_video_bitmap_get_height (bitmap); + else + return 0; +} + +static int +get_width (struct grub_video_bitmap *bitmap) +{ + if (bitmap) + return grub_video_bitmap_get_width (bitmap); + else + return 0; +} + +static void +blit (grub_gfxmenu_box_t self, int pixmap_index, int x, int y) +{ + struct grub_video_bitmap *bitmap; + bitmap = self->scaled_pixmaps[pixmap_index]; + if (! bitmap) + return; + grub_video_blit_bitmap (bitmap, GRUB_VIDEO_BLIT_BLEND, + x, y, 0, 0, + grub_video_bitmap_get_width (bitmap), + grub_video_bitmap_get_height (bitmap)); +} + +static void +draw (grub_gfxmenu_box_t self, int x, int y) +{ + int height_n; + int width_w; + + height_n = get_height (self->scaled_pixmaps[BOX_PIXMAP_N]); + width_w = get_width (self->scaled_pixmaps[BOX_PIXMAP_W]); + + /* Draw sides. */ + blit (self, BOX_PIXMAP_N, x + width_w, y); + blit (self, BOX_PIXMAP_S, x + width_w, y + height_n + self->content_height); + blit (self, BOX_PIXMAP_E, x + width_w + self->content_width, y + height_n); + blit (self, BOX_PIXMAP_W, x, y + height_n); + + /* Draw corners. */ + blit (self, BOX_PIXMAP_NW, x, y); + blit (self, BOX_PIXMAP_NE, x + width_w + self->content_width, y); + blit (self, BOX_PIXMAP_SE, + x + width_w + self->content_width, + y + height_n + self->content_height); + blit (self, BOX_PIXMAP_SW, x, y + height_n + self->content_height); + + /* Draw center. */ + blit (self, BOX_PIXMAP_CENTER, x + width_w, y + height_n); +} + +static grub_err_t +scale_pixmap (grub_gfxmenu_box_t self, int i, int w, int h) +{ + struct grub_video_bitmap **scaled = &self->scaled_pixmaps[i]; + struct grub_video_bitmap *raw = self->raw_pixmaps[i]; + + if (raw == 0) + return grub_errno; + + if (w == -1) + w = grub_video_bitmap_get_width (raw); + if (h == -1) + h = grub_video_bitmap_get_height (raw); + + if (*scaled == 0 + || ((int) grub_video_bitmap_get_width (*scaled) != w) + || ((int) grub_video_bitmap_get_height (*scaled) != h)) + { + if (*scaled) + { + grub_video_bitmap_destroy (*scaled); + *scaled = 0; + } + + /* Don't try to create a bitmap with a zero dimension. */ + if (w != 0 && h != 0) + grub_video_bitmap_create_scaled (scaled, w, h, raw, + GRUB_VIDEO_BITMAP_SCALE_METHOD_BEST); + if (grub_errno != GRUB_ERR_NONE) + { + grub_error_push (); + grub_error (grub_errno, + "failed to scale bitmap for styled box pixmap #%d", i); + } + } + + return grub_errno; +} + +static void +set_content_size (grub_gfxmenu_box_t self, + int width, int height) +{ + self->content_width = width; + self->content_height = height; + + /* Resize sides to match the width and height. */ + /* It is assumed that the corners width/height match the adjacent sides. */ + + /* Resize N and S sides to match width. */ + if (scale_pixmap(self, BOX_PIXMAP_N, width, -1) != GRUB_ERR_NONE) + return; + if (scale_pixmap(self, BOX_PIXMAP_S, width, -1) != GRUB_ERR_NONE) + return; + + /* Resize E and W sides to match height. */ + if (scale_pixmap(self, BOX_PIXMAP_E, -1, height) != GRUB_ERR_NONE) + return; + if (scale_pixmap(self, BOX_PIXMAP_W, -1, height) != GRUB_ERR_NONE) + return; + + /* Don't scale the corners--they are assumed to match the sides. */ + if (scale_pixmap(self, BOX_PIXMAP_NW, -1, -1) != GRUB_ERR_NONE) + return; + if (scale_pixmap(self, BOX_PIXMAP_SW, -1, -1) != GRUB_ERR_NONE) + return; + if (scale_pixmap(self, BOX_PIXMAP_NE, -1, -1) != GRUB_ERR_NONE) + return; + if (scale_pixmap(self, BOX_PIXMAP_SE, -1, -1) != GRUB_ERR_NONE) + return; + + /* Scale the center area. */ + if (scale_pixmap(self, BOX_PIXMAP_CENTER, width, height) != GRUB_ERR_NONE) + return; +} + +static int +get_border_width (grub_gfxmenu_box_t self) +{ + return (get_width (self->raw_pixmaps[BOX_PIXMAP_E]) + + get_width (self->raw_pixmaps[BOX_PIXMAP_W])); +} + +static int +get_left_pad (grub_gfxmenu_box_t self) +{ + return get_width (self->raw_pixmaps[BOX_PIXMAP_W]); +} + +static int +get_top_pad (grub_gfxmenu_box_t self) +{ + return get_height (self->raw_pixmaps[BOX_PIXMAP_N]); +} + +static int +get_right_pad (grub_gfxmenu_box_t self) +{ + return get_width (self->raw_pixmaps[BOX_PIXMAP_E]); +} + +static int +get_bottom_pad (grub_gfxmenu_box_t self) +{ + return get_height (self->raw_pixmaps[BOX_PIXMAP_S]); +} + +static void +destroy (grub_gfxmenu_box_t self) +{ + unsigned i; + for (i = 0; i < BOX_NUM_PIXMAPS; i++) + { + if (self->raw_pixmaps[i]) + grub_video_bitmap_destroy(self->raw_pixmaps[i]); + self->raw_pixmaps[i] = 0; + + if (self->scaled_pixmaps[i]) + grub_video_bitmap_destroy(self->scaled_pixmaps[i]); + self->scaled_pixmaps[i] = 0; + } + grub_free (self->raw_pixmaps); + self->raw_pixmaps = 0; + grub_free (self->scaled_pixmaps); + self->scaled_pixmaps = 0; + + /* Free self: must be the last step! */ + grub_free (self); +} + + +/* Create a new box. If PIXMAPS_PREFIX and PIXMAPS_SUFFIX are both non-null, + then an attempt is made to load the north, south, east, west, northwest, + northeast, southeast, southwest, and center pixmaps. + If either PIXMAPS_PREFIX or PIXMAPS_SUFFIX is 0, then no pixmaps are + loaded, and the box has zero-width borders and is drawn transparent. */ +grub_gfxmenu_box_t +grub_gfxmenu_create_box (const char *pixmaps_prefix, + const char *pixmaps_suffix) +{ + unsigned i; + grub_gfxmenu_box_t box; + + box = (grub_gfxmenu_box_t) grub_malloc (sizeof (*box)); + if (! box) + return 0; + + box->content_width = 0; + box->content_height = 0; + box->raw_pixmaps = + (struct grub_video_bitmap **) + grub_malloc (BOX_NUM_PIXMAPS * sizeof (struct grub_video_bitmap *)); + box->scaled_pixmaps = + (struct grub_video_bitmap **) + grub_malloc (BOX_NUM_PIXMAPS * sizeof (struct grub_video_bitmap *)); + + /* Initialize all pixmap pointers to NULL so that proper destruction can + be performed if an error is encountered partway through construction. */ + for (i = 0; i < BOX_NUM_PIXMAPS; i++) + box->raw_pixmaps[i] = 0; + for (i = 0; i < BOX_NUM_PIXMAPS; i++) + box->scaled_pixmaps[i] = 0; + + /* Load the pixmaps. */ + for (i = 0; i < BOX_NUM_PIXMAPS; i++) + { + if (pixmaps_prefix && pixmaps_suffix) + { + char *path; + char *path_end; + + path = grub_malloc (grub_strlen (pixmaps_prefix) + + grub_strlen (box_pixmap_names[i]) + + grub_strlen (pixmaps_suffix) + + 1); + if (! path) + goto fail_and_destroy; + + /* Construct the specific path for this pixmap. */ + path_end = grub_stpcpy (path, pixmaps_prefix); + path_end = grub_stpcpy (path_end, box_pixmap_names[i]); + path_end = grub_stpcpy (path_end, pixmaps_suffix); + + grub_video_bitmap_load (&box->raw_pixmaps[i], path); + grub_free (path); + + /* Ignore missing pixmaps. */ + grub_errno = GRUB_ERR_NONE; + } + } + + box->draw = draw; + box->set_content_size = set_content_size; + box->get_border_width = get_border_width; + + box->get_left_pad = get_left_pad; + box->get_top_pad = get_top_pad; + box->get_right_pad = get_right_pad; + box->get_bottom_pad = get_bottom_pad; + box->destroy = destroy; + return box; + +fail_and_destroy: + destroy (box); + return 0; +} diff --git a/grub-core/gnulib/Makefile.am b/grub-core/gnulib/Makefile.am new file mode 100644 index 0000000..fb1525f --- /dev/null +++ b/grub-core/gnulib/Makefile.am @@ -0,0 +1,1359 @@ +## DO NOT EDIT! GENERATED AUTOMATICALLY! +## Process this file with automake to produce Makefile.in. +# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# +# This file is free software, distributed under the terms of the GNU +# General Public License. As a special exception to the GNU General +# Public License, this file may be distributed as part of a program +# that contains a configuration script generated by Autoconf, under +# the same distribution terms as the rest of that program. +# +# Generated by gnulib-tool. +# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=grub-core/gnulib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl --no-vc-files argp error fnmatch getdelim getline gettext progname regex + +AUTOMAKE_OPTIONS = 1.5 gnits + +SUBDIRS = +noinst_HEADERS = +noinst_LIBRARIES = +noinst_LTLIBRARIES = +EXTRA_DIST = +BUILT_SOURCES = +SUFFIXES = +MOSTLYCLEANFILES = core *.stackdump +MOSTLYCLEANDIRS = +CLEANFILES = +DISTCLEANFILES = +MAINTAINERCLEANFILES = + +AM_CPPFLAGS = +AM_CFLAGS = + +noinst_LIBRARIES += libgnu.a + +libgnu_a_SOURCES = +libgnu_a_LIBADD = $(gl_LIBOBJS) +libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) +EXTRA_libgnu_a_SOURCES = + +## begin gnulib module alloca + + +EXTRA_DIST += alloca.c + +EXTRA_libgnu_a_SOURCES += alloca.c + +libgnu_a_LIBADD += @ALLOCA@ +libgnu_a_DEPENDENCIES += @ALLOCA@ +## end gnulib module alloca + +## begin gnulib module alloca-opt + +BUILT_SOURCES += $(ALLOCA_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +alloca.h: alloca.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/alloca.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += alloca.h alloca.h-t + +EXTRA_DIST += alloca.in.h + +## end gnulib module alloca-opt + +## begin gnulib module arg-nonnull + +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += arg-nonnull.h +# The arg-nonnull.h that gets inserted into generated .h files is the same as +# build-aux/arg-nonnull.h, except that it has the copyright header cut off. +arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_ARG_NONNULL/,$$p' \ + < $(top_srcdir)/build-aux/arg-nonnull.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t + +ARG_NONNULL_H=arg-nonnull.h + +EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h + +## end gnulib module arg-nonnull + +## begin gnulib module argp + +libgnu_a_SOURCES += argp.h argp-ba.c argp-eexst.c \ + argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c \ + argp-namefrob.h argp-parse.c argp-pin.c argp-pv.c argp-pvh.c \ + argp-xinl.c + +## end gnulib module argp + +## begin gnulib module btowc + + +EXTRA_DIST += btowc.c + +EXTRA_libgnu_a_SOURCES += btowc.c + +## end gnulib module btowc + +## begin gnulib module c++defs + +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += c++defs.h +# The c++defs.h that gets inserted into generated .h files is the same as +# build-aux/c++defs.h, except that it has the copyright header cut off. +c++defs.h: $(top_srcdir)/build-aux/c++defs.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/_GL_CXXDEFS/,$$p' \ + < $(top_srcdir)/build-aux/c++defs.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += c++defs.h c++defs.h-t + +CXXDEFS_H=c++defs.h + +EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h + +## end gnulib module c++defs + +## begin gnulib module configmake + +# Retrieve values of the variables through 'configure' followed by +# 'make', not directly through 'configure', so that a user who +# sets some of these variables consistently on the 'make' command +# line gets correct results. +# +# One advantage of this approach, compared to the classical +# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS, +# is that it protects against the use of undefined variables. +# If, say, $(libdir) is not set in the Makefile, LIBDIR is not +# defined by this module, and code using LIBDIR gives a +# compilation error. +# +# Another advantage is that 'make' output is shorter. +# +# Listed in the same order as the GNU makefile conventions. +# The Automake-defined pkg* macros are appended, in the order +# listed in the Automake 1.10a+ documentation. +configmake.h: Makefile + $(AM_V_GEN)rm -f $@-t && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + echo '#define PREFIX "$(prefix)"'; \ + echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ + echo '#define BINDIR "$(bindir)"'; \ + echo '#define SBINDIR "$(sbindir)"'; \ + echo '#define LIBEXECDIR "$(libexecdir)"'; \ + echo '#define DATAROOTDIR "$(datarootdir)"'; \ + echo '#define DATADIR "$(datadir)"'; \ + echo '#define SYSCONFDIR "$(sysconfdir)"'; \ + echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ + echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ + echo '#define INCLUDEDIR "$(includedir)"'; \ + echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ + echo '#define DOCDIR "$(docdir)"'; \ + echo '#define INFODIR "$(infodir)"'; \ + echo '#define HTMLDIR "$(htmldir)"'; \ + echo '#define DVIDIR "$(dvidir)"'; \ + echo '#define PDFDIR "$(pdfdir)"'; \ + echo '#define PSDIR "$(psdir)"'; \ + echo '#define LIBDIR "$(libdir)"'; \ + echo '#define LISPDIR "$(lispdir)"'; \ + echo '#define LOCALEDIR "$(localedir)"'; \ + echo '#define MANDIR "$(mandir)"'; \ + echo '#define MANEXT "$(manext)"'; \ + echo '#define PKGDATADIR "$(pkgdatadir)"'; \ + echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ + echo '#define PKGLIBDIR "$(pkglibdir)"'; \ + echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ + } | sed '/""/d' > $@-t && \ + if test -f $@ && cmp $@-t $@ > /dev/null; then \ + rm -f $@-t; \ + else \ + rm -f $@; mv $@-t $@; \ + fi + +BUILT_SOURCES += configmake.h +CLEANFILES += configmake.h configmake.h-t + +## end gnulib module configmake + +## begin gnulib module dirname-lgpl + + +EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c + +EXTRA_libgnu_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c + +## end gnulib module dirname-lgpl + +## begin gnulib module errno + +BUILT_SOURCES += $(ERRNO_H) + +# We need the following in order to create when the system +# doesn't have one that is POSIX compliant. +errno.h: errno.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ + -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ + -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ + -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ + -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ + -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ + -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ + < $(srcdir)/errno.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += errno.h errno.h-t + +EXTRA_DIST += errno.in.h + +## end gnulib module errno + +## begin gnulib module error + + +EXTRA_DIST += error.c error.h + +EXTRA_libgnu_a_SOURCES += error.c + +## end gnulib module error + +## begin gnulib module float + +BUILT_SOURCES += $(FLOAT_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +float.h: float.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ + < $(srcdir)/float.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += float.h float.h-t + +EXTRA_DIST += float.in.h + +## end gnulib module float + +## begin gnulib module fnmatch + +BUILT_SOURCES += $(FNMATCH_H) + +# We need the following in order to create when the system +# doesn't have one that supports the required API. +fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/fnmatch.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t + +EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c + +EXTRA_libgnu_a_SOURCES += fnmatch.c fnmatch_loop.c + +## end gnulib module fnmatch + +## begin gnulib module getdelim + + +EXTRA_DIST += getdelim.c + +EXTRA_libgnu_a_SOURCES += getdelim.c + +## end gnulib module getdelim + +## begin gnulib module getline + + +EXTRA_DIST += getline.c + +EXTRA_libgnu_a_SOURCES += getline.c + +## end gnulib module getline + +## begin gnulib module getopt-posix + +BUILT_SOURCES += $(GETOPT_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +getopt.h: getopt.in.h $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/getopt.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += getopt.h getopt.h-t + +EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h + +EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c + +## end gnulib module getopt-posix + +## begin gnulib module gettext + +# This is for those projects which use "gettextize --intl" to put a source-code +# copy of libintl into their package. In such projects, every Makefile.am needs +# -I$(top_builddir)/intl, so that can be found in this directory. +# For the Makefile.ams in other directories it is the maintainer's +# responsibility; for the one from gnulib we do it here. +# This option has no effect when the user disables NLS (because then the intl +# directory contains no libintl.h file) or when the project does not use +# "gettextize --intl". +AM_CPPFLAGS += -I$(top_builddir)/intl + +EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath + +## end gnulib module gettext + +## begin gnulib module gettext-h + +libgnu_a_SOURCES += gettext.h + +## end gnulib module gettext-h + +## begin gnulib module havelib + + +EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath + +## end gnulib module havelib + +## begin gnulib module intprops + + +EXTRA_DIST += intprops.h + +## end gnulib module intprops + +## begin gnulib module langinfo + +BUILT_SOURCES += langinfo.h + +# We need the following in order to create an empty placeholder for +# when the system doesn't have one. +langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ + -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \ + -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ + -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ + -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ + -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ + -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ + -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/langinfo.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += langinfo.h langinfo.h-t + +EXTRA_DIST += langinfo.in.h + +## end gnulib module langinfo + +## begin gnulib module localcharset + +libgnu_a_SOURCES += localcharset.h localcharset.c + +# We need the following in order to install a simple file in $(libdir) +# which is shared with other installed packages. We use a list of referencing +# packages so that "make uninstall" will remove the file if and only if it +# is not used by another installed package. +# On systems with glibc-2.1 or newer, the file is redundant, therefore we +# avoid installing it. + +all-local: charset.alias ref-add.sed ref-del.sed + +charset_alias = $(DESTDIR)$(libdir)/charset.alias +charset_tmp = $(DESTDIR)$(libdir)/charset.tmp +install-exec-local: install-exec-localcharset +install-exec-localcharset: all-local + if test $(GLIBC21) = no; then \ + case '$(host_os)' in \ + darwin[56]*) \ + need_charset_alias=true ;; \ + darwin* | cygwin* | mingw* | pw32* | cegcc*) \ + need_charset_alias=false ;; \ + *) \ + need_charset_alias=true ;; \ + esac ; \ + else \ + need_charset_alias=false ; \ + fi ; \ + if $$need_charset_alias; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir) ; \ + fi ; \ + if test -f $(charset_alias); then \ + sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ + rm -f $(charset_tmp) ; \ + else \ + if $$need_charset_alias; then \ + sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ + rm -f $(charset_tmp) ; \ + fi ; \ + fi + +uninstall-local: uninstall-localcharset +uninstall-localcharset: all-local + if test -f $(charset_alias); then \ + sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ + if grep '^# Packages using this file: $$' $(charset_tmp) \ + > /dev/null; then \ + rm -f $(charset_alias); \ + else \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ + fi; \ + rm -f $(charset_tmp); \ + fi + +charset.alias: config.charset + $(AM_V_GEN)rm -f t-$@ $@ && \ + $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \ + mv t-$@ $@ + +SUFFIXES += .sed .sin +.sin.sed: + $(AM_V_GEN)rm -f t-$@ $@ && \ + sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \ + mv t-$@ $@ + +CLEANFILES += charset.alias ref-add.sed ref-del.sed + +EXTRA_DIST += config.charset ref-add.sin ref-del.sin + +## end gnulib module localcharset + +## begin gnulib module malloc-gnu + + +EXTRA_DIST += malloc.c + +EXTRA_libgnu_a_SOURCES += malloc.c + +## end gnulib module malloc-gnu + +## begin gnulib module malloc-posix + + +EXTRA_DIST += malloc.c + +EXTRA_libgnu_a_SOURCES += malloc.c + +## end gnulib module malloc-posix + +## begin gnulib module mbrtowc + + +EXTRA_DIST += mbrtowc.c + +EXTRA_libgnu_a_SOURCES += mbrtowc.c + +## end gnulib module mbrtowc + +## begin gnulib module mbsinit + + +EXTRA_DIST += mbsinit.c + +EXTRA_libgnu_a_SOURCES += mbsinit.c + +## end gnulib module mbsinit + +## begin gnulib module mbsrtowcs + + +EXTRA_DIST += mbsrtowcs-state.c mbsrtowcs.c + +EXTRA_libgnu_a_SOURCES += mbsrtowcs-state.c mbsrtowcs.c + +## end gnulib module mbsrtowcs + +## begin gnulib module memchr + + +EXTRA_DIST += memchr.c memchr.valgrind + +EXTRA_libgnu_a_SOURCES += memchr.c + +## end gnulib module memchr + +## begin gnulib module mempcpy + + +EXTRA_DIST += mempcpy.c + +EXTRA_libgnu_a_SOURCES += mempcpy.c + +## end gnulib module mempcpy + +## begin gnulib module nl_langinfo + + +EXTRA_DIST += nl_langinfo.c + +EXTRA_libgnu_a_SOURCES += nl_langinfo.c + +## end gnulib module nl_langinfo + +## begin gnulib module progname + +libgnu_a_SOURCES += progname.h progname.c + +## end gnulib module progname + +## begin gnulib module rawmemchr + + +EXTRA_DIST += rawmemchr.c rawmemchr.valgrind + +EXTRA_libgnu_a_SOURCES += rawmemchr.c + +## end gnulib module rawmemchr + +## begin gnulib module realloc-posix + + +EXTRA_DIST += realloc.c + +EXTRA_libgnu_a_SOURCES += realloc.c + +## end gnulib module realloc-posix + +## begin gnulib module regex + + +EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c + +EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c + +## end gnulib module regex + +## begin gnulib module size_max + +libgnu_a_SOURCES += size_max.h + +## end gnulib module size_max + +## begin gnulib module sleep + + +EXTRA_DIST += sleep.c + +EXTRA_libgnu_a_SOURCES += sleep.c + +## end gnulib module sleep + +## begin gnulib module stdbool + +BUILT_SOURCES += $(STDBOOL_H) + +# We need the following in order to create when the system +# doesn't have one that works. +stdbool.h: stdbool.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stdbool.h stdbool.h-t + +EXTRA_DIST += stdbool.in.h + +## end gnulib module stdbool + +## begin gnulib module stddef + +BUILT_SOURCES += $(STDDEF_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stddef.h: stddef.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ + -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ + -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ + < $(srcdir)/stddef.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stddef.h stddef.h-t + +EXTRA_DIST += stddef.in.h + +## end gnulib module stddef + +## begin gnulib module stdint + +BUILT_SOURCES += $(STDINT_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stdint.h: stdint.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ + -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ + -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ + -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ + -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ + -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ + -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ + -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ + -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ + -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ + -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ + -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ + -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ + -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ + -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ + < $(srcdir)/stdint.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stdint.h stdint.h-t + +EXTRA_DIST += stdint.in.h + +## end gnulib module stdint + +## begin gnulib module stdio + +BUILT_SOURCES += stdio.h + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ + -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \ + -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \ + -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \ + -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \ + -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \ + -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \ + -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \ + -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \ + -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \ + -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \ + -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \ + -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \ + -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \ + -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \ + -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \ + -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \ + -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \ + -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \ + -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \ + -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \ + -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \ + -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \ + -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \ + -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \ + -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \ + -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \ + -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \ + -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \ + -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \ + -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \ + -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \ + -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \ + -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \ + -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \ + -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \ + -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \ + -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \ + < $(srcdir)/stdio.in.h | \ + sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ + -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ + -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ + -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ + -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ + -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ + -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ + -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ + -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ + -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ + -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ + -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ + -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ + -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ + -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ + -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ + -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ + -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ + -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ + -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ + -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ + -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ + -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ + -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ + -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ + -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ + -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ + -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ + -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ + -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ + -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ + -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ + -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ + -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ + -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ + -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ + -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ + -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ + -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ + -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ + -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ + -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ + -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stdio.h stdio.h-t + +EXTRA_DIST += stdio-write.c stdio.in.h + +EXTRA_libgnu_a_SOURCES += stdio-write.c + +## end gnulib module stdio + +## begin gnulib module stdlib + +BUILT_SOURCES += stdlib.h + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ + -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \ + -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \ + -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \ + -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \ + -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ + -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ + -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ + -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ + -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ + -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ + -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \ + -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \ + -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \ + -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \ + -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \ + -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \ + -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \ + -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \ + -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \ + -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \ + -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \ + -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \ + -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ + -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ + -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ + -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ + -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ + -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ + -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ + -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ + -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ + -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ + -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ + -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ + -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ + -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ + -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ + -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ + -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ + -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \ + -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ + -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ + -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ + -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ + -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ + -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ + -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \ + -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ + -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ + -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ + -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ + -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ + -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ + -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ + -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ + -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/stdlib.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += stdlib.h stdlib.h-t + +EXTRA_DIST += stdlib.in.h + +## end gnulib module stdlib + +## begin gnulib module strcase + + +EXTRA_DIST += strcasecmp.c strncasecmp.c + +EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c + +## end gnulib module strcase + +## begin gnulib module strchrnul + + +EXTRA_DIST += strchrnul.c strchrnul.valgrind + +EXTRA_libgnu_a_SOURCES += strchrnul.c + +## end gnulib module strchrnul + +## begin gnulib module streq + + +EXTRA_DIST += streq.h + +## end gnulib module streq + +## begin gnulib module strerror + + +EXTRA_DIST += strerror.c + +EXTRA_libgnu_a_SOURCES += strerror.c + +## end gnulib module strerror + +## begin gnulib module string + +BUILT_SOURCES += string.h + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ + -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \ + -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \ + -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \ + -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \ + -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \ + -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \ + -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \ + -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \ + -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \ + -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \ + -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \ + -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \ + -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \ + -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \ + -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \ + -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \ + -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \ + -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \ + -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \ + -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \ + -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \ + -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \ + -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \ + -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \ + -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \ + -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \ + -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \ + -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \ + -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \ + -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \ + -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \ + -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \ + -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \ + -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \ + < $(srcdir)/string.in.h | \ + sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ + -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ + -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ + -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ + -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ + -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ + -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ + -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ + -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ + -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ + -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ + -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ + -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ + -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ + -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ + -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ + -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ + -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ + -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ + -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ + -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ + -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ + -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ + -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ + -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ + -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ + -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ + -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ + -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ + -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ + -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + < $(srcdir)/string.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += string.h string.h-t + +EXTRA_DIST += string.in.h + +## end gnulib module string + +## begin gnulib module strings + +BUILT_SOURCES += strings.h + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ + -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ + -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/strings.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += strings.h strings.h-t + +EXTRA_DIST += strings.in.h + +## end gnulib module strings + +## begin gnulib module strndup + + +EXTRA_DIST += strndup.c + +EXTRA_libgnu_a_SOURCES += strndup.c + +## end gnulib module strndup + +## begin gnulib module strnlen + + +EXTRA_DIST += strnlen.c + +EXTRA_libgnu_a_SOURCES += strnlen.c + +## end gnulib module strnlen + +## begin gnulib module strnlen1 + +libgnu_a_SOURCES += strnlen1.h strnlen1.c + +## end gnulib module strnlen1 + +## begin gnulib module sys_wait + +BUILT_SOURCES += sys/wait.h + +# We need the following in order to create when the system +# has one that is incomplete. +sys/wait.h: sys_wait.in.h + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \ + < $(srcdir)/sys_wait.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t +MOSTLYCLEANDIRS += sys + +EXTRA_DIST += sys_wait.in.h + +## end gnulib module sys_wait + +## begin gnulib module sysexits + +BUILT_SOURCES += $(SYSEXITS_H) + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +sysexits.h: sysexits.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \ + < $(srcdir)/sysexits.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +MOSTLYCLEANFILES += sysexits.h sysexits.h-t + +EXTRA_DIST += sysexits.in.h + +## end gnulib module sysexits + +## begin gnulib module unistd + +BUILT_SOURCES += unistd.h + +# We need the following in order to create an empty placeholder for +# when the system doesn't have one. +unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ + -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \ + -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \ + -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \ + -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \ + -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \ + -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \ + -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \ + -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \ + -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \ + -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \ + -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \ + -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \ + -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \ + -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \ + -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \ + -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \ + -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \ + -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ + -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ + -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ + -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ + -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ + -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \ + -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \ + -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \ + -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \ + -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \ + -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \ + -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \ + -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \ + -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \ + -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \ + -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \ + -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \ + -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \ + -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \ + -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \ + -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \ + -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \ + -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \ + < $(srcdir)/unistd.in.h | \ + sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ + -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ + -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ + -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ + -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ + -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ + -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ + -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ + -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ + -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \ + -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ + -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ + -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ + -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ + -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ + -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ + -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ + -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ + -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ + -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ + -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ + -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ + -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ + -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ + -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ + -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ + -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \ + -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ + -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ + -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ + -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ + -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ + -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ + -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ + -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ + -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ + -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ + -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ + -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ + -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ + -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ + -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ + -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ + -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ + -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ + -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ + -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ + -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ + -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ + -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ + -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ + -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ + -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ + -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ + -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ + -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ + -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ + -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ + -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ + -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += unistd.h unistd.h-t + +EXTRA_DIST += unistd.in.h + +## end gnulib module unistd + +## begin gnulib module vasnprintf + + +EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h + +EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c + +## end gnulib module vasnprintf + +## begin gnulib module verify + +libgnu_a_SOURCES += verify.h + +## end gnulib module verify + +## begin gnulib module vsnprintf + + +EXTRA_DIST += vsnprintf.c + +EXTRA_libgnu_a_SOURCES += vsnprintf.c + +## end gnulib module vsnprintf + +## begin gnulib module warn-on-use + +BUILT_SOURCES += warn-on-use.h +# The warn-on-use.h that gets inserted into generated .h files is the same as +# build-aux/warn-on-use.h, except that it has the copyright header cut off. +warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/^.ifndef/,$$p' \ + < $(top_srcdir)/build-aux/warn-on-use.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t + +WARN_ON_USE_H=warn-on-use.h + +EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h + +## end gnulib module warn-on-use + +## begin gnulib module wchar + +BUILT_SOURCES += wchar.h + +# We need the following in order to create when the system +# version does not work standalone. +wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ + -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ + -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \ + -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \ + -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \ + -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \ + -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \ + -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \ + -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \ + -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \ + -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \ + -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \ + -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \ + -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ + -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ + -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ + -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ + -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ + -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ + -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ + -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ + -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ + -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ + -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ + -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ + -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ + -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ + -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ + -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ + -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ + -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ + -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ + -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ + -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ + -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ + -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ + -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/wchar.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += wchar.h wchar.h-t + +EXTRA_DIST += wchar.in.h + +## end gnulib module wchar + +## begin gnulib module wcrtomb + + +EXTRA_DIST += wcrtomb.c + +EXTRA_libgnu_a_SOURCES += wcrtomb.c + +## end gnulib module wcrtomb + +## begin gnulib module wctype + +BUILT_SOURCES += wctype.h + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ + -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ + -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ + -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ + -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ + -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/wctype.in.h; \ + } > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += wctype.h wctype.h-t + +EXTRA_DIST += wctype.in.h + +## end gnulib module wctype + +## begin gnulib module xsize + +libgnu_a_SOURCES += xsize.h + +## end gnulib module xsize + + +mostlyclean-local: mostlyclean-generic + @for dir in '' $(MOSTLYCLEANDIRS); do \ + if test -n "$$dir" && test -d $$dir; then \ + echo "rmdir $$dir"; rmdir $$dir; \ + fi; \ + done; \ + : diff --git a/grub-core/gnulib/Makefile.in b/grub-core/gnulib/Makefile.in new file mode 100644 index 0000000..0533f9d --- /dev/null +++ b/grub-core/gnulib/Makefile.in @@ -0,0 +1,2107 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# +# This file is free software, distributed under the terms of the GNU +# General Public License. As a special exception to the GNU General +# Public License, this file may be distributed as part of a program +# that contains a configuration script generated by Autoconf, under +# the same distribution terms as the rest of that program. +# +# Generated by gnulib-tool. +# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=grub-core/gnulib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl --no-vc-files argp error fnmatch getdelim getline gettext progname regex + + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +subdir = grub-core/gnulib +DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in alloca.c +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ + $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/argp.m4 \ + $(top_srcdir)/m4/asm-underscore.m4 $(top_srcdir)/m4/btowc.m4 \ + $(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/dirname.m4 \ + $(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \ + $(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \ + $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fcntl-o.m4 \ + $(top_srcdir)/m4/float_h.m4 $(top_srcdir)/m4/fnmatch.m4 \ + $(top_srcdir)/m4/getdelim.m4 $(top_srcdir)/m4/getline.m4 \ + $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gnulib-common.m4 \ + $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/include_next.m4 \ + $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/intmax_t.m4 \ + $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/langinfo_h.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \ + $(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-zh.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/malloc.m4 \ + $(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \ + $(top_srcdir)/m4/mbsrtowcs.m4 $(top_srcdir)/m4/mbstate_t.m4 \ + $(top_srcdir)/m4/memchr.m4 $(top_srcdir)/m4/mempcpy.m4 \ + $(top_srcdir)/m4/mmap-anon.m4 $(top_srcdir)/m4/multiarch.m4 \ + $(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/rawmemchr.m4 \ + $(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/sleep.m4 \ + $(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stdbool.m4 \ + $(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \ + $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/stdio_h.m4 \ + $(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \ + $(top_srcdir)/m4/strchrnul.m4 $(top_srcdir)/m4/strerror.m4 \ + $(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strings_h.m4 \ + $(top_srcdir)/m4/strndup.m4 $(top_srcdir)/m4/strnlen.m4 \ + $(top_srcdir)/m4/sys_wait_h.m4 $(top_srcdir)/m4/sysexits.m4 \ + $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/vasnprintf.m4 \ + $(top_srcdir)/m4/vsnprintf.m4 $(top_srcdir)/m4/warn-on-use.m4 \ + $(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \ + $(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctype_h.m4 \ + $(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xsize.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config-util.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +libgnu_a_AR = $(AR) $(ARFLAGS) +am__DEPENDENCIES_1 = +am_libgnu_a_OBJECTS = argp-ba.$(OBJEXT) argp-eexst.$(OBJEXT) \ + argp-fmtstream.$(OBJEXT) argp-fs-xinl.$(OBJEXT) \ + argp-help.$(OBJEXT) argp-parse.$(OBJEXT) argp-pin.$(OBJEXT) \ + argp-pv.$(OBJEXT) argp-pvh.$(OBJEXT) argp-xinl.$(OBJEXT) \ + localcharset.$(OBJEXT) progname.$(OBJEXT) strnlen1.$(OBJEXT) +libgnu_a_OBJECTS = $(am_libgnu_a_OBJECTS) +LTLIBRARIES = $(noinst_LTLIBRARIES) +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) +DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +HEADERS = $(noinst_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ADDR32 = @ADDR32@ +ALLOCA = @ALLOCA@ +ALLOCA_H = @ALLOCA_H@ +AMTAR = @AMTAR@ +APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ +ASM_SYMBOL_PREFIX = @ASM_SYMBOL_PREFIX@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ +BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ +BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ +BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ +BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ +BSS_START_SYMBOL = @BSS_START_SYMBOL@ +BUILD_CC = @BUILD_CC@ +CC = @CC@ +CCAS = @CCAS@ +CCASDEPMODE = @CCASDEPMODE@ +CCASFLAGS = @CCASFLAGS@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CMP = @CMP@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATA32 = @DATA32@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ +EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ +END_SYMBOL = @END_SYMBOL@ +ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ +ENOLINK_VALUE = @ENOLINK_VALUE@ +EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ +EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ +ERRNO_H = @ERRNO_H@ +EXEEXT = @EXEEXT@ +FLOAT_H = @FLOAT_H@ +FNMATCH_H = @FNMATCH_H@ +FONT_SOURCE = @FONT_SOURCE@ +FREETYPE = @FREETYPE@ +GETOPT_H = @GETOPT_H@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GNULIB_ATOLL = @GNULIB_ATOLL@ +GNULIB_BTOWC = @GNULIB_BTOWC@ +GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ +GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ +GNULIB_CHOWN = @GNULIB_CHOWN@ +GNULIB_CLOSE = @GNULIB_CLOSE@ +GNULIB_DPRINTF = @GNULIB_DPRINTF@ +GNULIB_DUP2 = @GNULIB_DUP2@ +GNULIB_DUP3 = @GNULIB_DUP3@ +GNULIB_ENVIRON = @GNULIB_ENVIRON@ +GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ +GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ +GNULIB_FCHDIR = @GNULIB_FCHDIR@ +GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ +GNULIB_FCLOSE = @GNULIB_FCLOSE@ +GNULIB_FFLUSH = @GNULIB_FFLUSH@ +GNULIB_FOPEN = @GNULIB_FOPEN@ +GNULIB_FPRINTF = @GNULIB_FPRINTF@ +GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ +GNULIB_FPURGE = @GNULIB_FPURGE@ +GNULIB_FPUTC = @GNULIB_FPUTC@ +GNULIB_FPUTS = @GNULIB_FPUTS@ +GNULIB_FREOPEN = @GNULIB_FREOPEN@ +GNULIB_FSEEK = @GNULIB_FSEEK@ +GNULIB_FSEEKO = @GNULIB_FSEEKO@ +GNULIB_FSYNC = @GNULIB_FSYNC@ +GNULIB_FTELL = @GNULIB_FTELL@ +GNULIB_FTELLO = @GNULIB_FTELLO@ +GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ +GNULIB_FWRITE = @GNULIB_FWRITE@ +GNULIB_GETCWD = @GNULIB_GETCWD@ +GNULIB_GETDELIM = @GNULIB_GETDELIM@ +GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ +GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ +GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ +GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ +GNULIB_GETLINE = @GNULIB_GETLINE@ +GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ +GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ +GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ +GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ +GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ +GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ +GNULIB_GRANTPT = @GNULIB_GRANTPT@ +GNULIB_LCHOWN = @GNULIB_LCHOWN@ +GNULIB_LINK = @GNULIB_LINK@ +GNULIB_LINKAT = @GNULIB_LINKAT@ +GNULIB_LSEEK = @GNULIB_LSEEK@ +GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ +GNULIB_MBRLEN = @GNULIB_MBRLEN@ +GNULIB_MBRTOWC = @GNULIB_MBRTOWC@ +GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ +GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ +GNULIB_MBSCHR = @GNULIB_MBSCHR@ +GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ +GNULIB_MBSINIT = @GNULIB_MBSINIT@ +GNULIB_MBSLEN = @GNULIB_MBSLEN@ +GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ +GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ +GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@ +GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ +GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ +GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ +GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@ +GNULIB_MBSSEP = @GNULIB_MBSSEP@ +GNULIB_MBSSPN = @GNULIB_MBSSPN@ +GNULIB_MBSSTR = @GNULIB_MBSSTR@ +GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ +GNULIB_MEMCHR = @GNULIB_MEMCHR@ +GNULIB_MEMMEM = @GNULIB_MEMMEM@ +GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ +GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ +GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ +GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ +GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ +GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ +GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ +GNULIB_NL_LANGINFO = @GNULIB_NL_LANGINFO@ +GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ +GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ +GNULIB_PERROR = @GNULIB_PERROR@ +GNULIB_PIPE2 = @GNULIB_PIPE2@ +GNULIB_POPEN = @GNULIB_POPEN@ +GNULIB_PREAD = @GNULIB_PREAD@ +GNULIB_PRINTF = @GNULIB_PRINTF@ +GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ +GNULIB_PTSNAME = @GNULIB_PTSNAME@ +GNULIB_PUTC = @GNULIB_PUTC@ +GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ +GNULIB_PUTENV = @GNULIB_PUTENV@ +GNULIB_PUTS = @GNULIB_PUTS@ +GNULIB_PWRITE = @GNULIB_PWRITE@ +GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ +GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ +GNULIB_READLINK = @GNULIB_READLINK@ +GNULIB_READLINKAT = @GNULIB_READLINKAT@ +GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ +GNULIB_REALPATH = @GNULIB_REALPATH@ +GNULIB_REMOVE = @GNULIB_REMOVE@ +GNULIB_RENAME = @GNULIB_RENAME@ +GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ +GNULIB_RMDIR = @GNULIB_RMDIR@ +GNULIB_RPMATCH = @GNULIB_RPMATCH@ +GNULIB_SETENV = @GNULIB_SETENV@ +GNULIB_SLEEP = @GNULIB_SLEEP@ +GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ +GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ +GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ +GNULIB_STPCPY = @GNULIB_STPCPY@ +GNULIB_STPNCPY = @GNULIB_STPNCPY@ +GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ +GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ +GNULIB_STRDUP = @GNULIB_STRDUP@ +GNULIB_STRERROR = @GNULIB_STRERROR@ +GNULIB_STRNCAT = @GNULIB_STRNCAT@ +GNULIB_STRNDUP = @GNULIB_STRNDUP@ +GNULIB_STRNLEN = @GNULIB_STRNLEN@ +GNULIB_STRPBRK = @GNULIB_STRPBRK@ +GNULIB_STRSEP = @GNULIB_STRSEP@ +GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ +GNULIB_STRSTR = @GNULIB_STRSTR@ +GNULIB_STRTOD = @GNULIB_STRTOD@ +GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ +GNULIB_STRTOLL = @GNULIB_STRTOLL@ +GNULIB_STRTOULL = @GNULIB_STRTOULL@ +GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ +GNULIB_SYMLINK = @GNULIB_SYMLINK@ +GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ +GNULIB_TMPFILE = @GNULIB_TMPFILE@ +GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ +GNULIB_UNISTD_H_GETOPT = @GNULIB_UNISTD_H_GETOPT@ +GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ +GNULIB_UNLINK = @GNULIB_UNLINK@ +GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ +GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ +GNULIB_UNSETENV = @GNULIB_UNSETENV@ +GNULIB_USLEEP = @GNULIB_USLEEP@ +GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ +GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ +GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ +GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ +GNULIB_VPRINTF = @GNULIB_VPRINTF@ +GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ +GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ +GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ +GNULIB_WCRTOMB = @GNULIB_WCRTOMB@ +GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@ +GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@ +GNULIB_WCTOB = @GNULIB_WCTOB@ +GNULIB_WCWIDTH = @GNULIB_WCWIDTH@ +GNULIB_WRITE = @GNULIB_WRITE@ +GNULIB__EXIT = @GNULIB__EXIT@ +GREP = @GREP@ +GRUB_BOOT_MACHINE_LINK_ADDR = @GRUB_BOOT_MACHINE_LINK_ADDR@ +HAVE_ASM_USCORE = @HAVE_ASM_USCORE@ +HAVE_ATOLL = @HAVE_ATOLL@ +HAVE_BTOWC = @HAVE_BTOWC@ +HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ +HAVE_CHOWN = @HAVE_CHOWN@ +HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ +HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ +HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ +HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ +HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ +HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ +HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ +HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ +HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ +HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ +HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ +HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ +HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ +HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@ +HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ +HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ +HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ +HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ +HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ +HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@ +HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@ +HAVE_DPRINTF = @HAVE_DPRINTF@ +HAVE_DUP2 = @HAVE_DUP2@ +HAVE_DUP3 = @HAVE_DUP3@ +HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ +HAVE_FACCESSAT = @HAVE_FACCESSAT@ +HAVE_FCHDIR = @HAVE_FCHDIR@ +HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ +HAVE_FSEEKO = @HAVE_FSEEKO@ +HAVE_FSYNC = @HAVE_FSYNC@ +HAVE_FTELLO = @HAVE_FTELLO@ +HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ +HAVE_GETDOMAINNAME = @HAVE_GETDOMAINNAME@ +HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ +HAVE_GETGROUPS = @HAVE_GETGROUPS@ +HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ +HAVE_GETLOGIN = @HAVE_GETLOGIN@ +HAVE_GETOPT_H = @HAVE_GETOPT_H@ +HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ +HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ +HAVE_GRANTPT = @HAVE_GRANTPT@ +HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ +HAVE_ISWBLANK = @HAVE_ISWBLANK@ +HAVE_ISWCNTRL = @HAVE_ISWCNTRL@ +HAVE_LANGINFO_CODESET = @HAVE_LANGINFO_CODESET@ +HAVE_LANGINFO_ERA = @HAVE_LANGINFO_ERA@ +HAVE_LANGINFO_H = @HAVE_LANGINFO_H@ +HAVE_LANGINFO_T_FMT_AMPM = @HAVE_LANGINFO_T_FMT_AMPM@ +HAVE_LANGINFO_YESEXPR = @HAVE_LANGINFO_YESEXPR@ +HAVE_LCHOWN = @HAVE_LCHOWN@ +HAVE_LINK = @HAVE_LINK@ +HAVE_LINKAT = @HAVE_LINKAT@ +HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ +HAVE_MBRLEN = @HAVE_MBRLEN@ +HAVE_MBRTOWC = @HAVE_MBRTOWC@ +HAVE_MBSINIT = @HAVE_MBSINIT@ +HAVE_MBSLEN = @HAVE_MBSLEN@ +HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@ +HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@ +HAVE_MEMCHR = @HAVE_MEMCHR@ +HAVE_MEMPCPY = @HAVE_MEMPCPY@ +HAVE_MKDTEMP = @HAVE_MKDTEMP@ +HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ +HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ +HAVE_MKSTEMP = @HAVE_MKSTEMP@ +HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ +HAVE_NL_LANGINFO = @HAVE_NL_LANGINFO@ +HAVE_OS_H = @HAVE_OS_H@ +HAVE_PIPE2 = @HAVE_PIPE2@ +HAVE_PREAD = @HAVE_PREAD@ +HAVE_PTSNAME = @HAVE_PTSNAME@ +HAVE_PWRITE = @HAVE_PWRITE@ +HAVE_RANDOM_H = @HAVE_RANDOM_H@ +HAVE_RANDOM_R = @HAVE_RANDOM_R@ +HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ +HAVE_READLINK = @HAVE_READLINK@ +HAVE_READLINKAT = @HAVE_READLINKAT@ +HAVE_REALPATH = @HAVE_REALPATH@ +HAVE_RENAMEAT = @HAVE_RENAMEAT@ +HAVE_RPMATCH = @HAVE_RPMATCH@ +HAVE_SETENV = @HAVE_SETENV@ +HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ +HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ +HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ +HAVE_SLEEP = @HAVE_SLEEP@ +HAVE_STDINT_H = @HAVE_STDINT_H@ +HAVE_STPCPY = @HAVE_STPCPY@ +HAVE_STPNCPY = @HAVE_STPNCPY@ +HAVE_STRCASECMP = @HAVE_STRCASECMP@ +HAVE_STRCASESTR = @HAVE_STRCASESTR@ +HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ +HAVE_STRPBRK = @HAVE_STRPBRK@ +HAVE_STRSEP = @HAVE_STRSEP@ +HAVE_STRTOD = @HAVE_STRTOD@ +HAVE_STRTOLL = @HAVE_STRTOLL@ +HAVE_STRTOULL = @HAVE_STRTOULL@ +HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ +HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ +HAVE_SYMLINK = @HAVE_SYMLINK@ +HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ +HAVE_SYSEXITS_H = @HAVE_SYSEXITS_H@ +HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ +HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ +HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ +HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ +HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ +HAVE_TTYNAME_R = @HAVE_TTYNAME_R@ +HAVE_UNISTD_H = @HAVE_UNISTD_H@ +HAVE_UNLINKAT = @HAVE_UNLINKAT@ +HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ +HAVE_UNSETENV = @HAVE_UNSETENV@ +HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ +HAVE_USLEEP = @HAVE_USLEEP@ +HAVE_VASPRINTF = @HAVE_VASPRINTF@ +HAVE_VDPRINTF = @HAVE_VDPRINTF@ +HAVE_WCHAR_H = @HAVE_WCHAR_H@ +HAVE_WCHAR_T = @HAVE_WCHAR_T@ +HAVE_WCRTOMB = @HAVE_WCRTOMB@ +HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@ +HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@ +HAVE_WCTYPE_H = @HAVE_WCTYPE_H@ +HAVE_WINT_T = @HAVE_WINT_T@ +HAVE__BOOL = @HAVE__BOOL@ +HAVE__EXIT = @HAVE__EXIT@ +HELP2MAN = @HELP2MAN@ +HOST_CC = @HOST_CC@ +HOST_CCASFLAGS = @HOST_CCASFLAGS@ +HOST_CFLAGS = @HOST_CFLAGS@ +HOST_CPPFLAGS = @HOST_CPPFLAGS@ +HOST_LDFLAGS = @HOST_LDFLAGS@ +INCLUDE_NEXT = @INCLUDE_NEXT@ +INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBCURSES = @LIBCURSES@ +LIBDEVMAPPER = @LIBDEVMAPPER@ +LIBGEOM = @LIBGEOM@ +LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@ +LIBGNU_LTLIBDEPS = @LIBGNU_LTLIBDEPS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBLZMA = @LIBLZMA@ +LIBNVPAIR = @LIBNVPAIR@ +LIBOBJS = @LIBOBJS@ +LIBPCIACCESS = @LIBPCIACCESS@ +LIBS = @LIBS@ +LIBSDL = @LIBSDL@ +LIBUSB = @LIBUSB@ +LIBUTIL = @LIBUTIL@ +LIBZFS = @LIBZFS@ +LN_S = @LN_S@ +LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@ +LOCALE_FR = @LOCALE_FR@ +LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@ +LOCALE_JA = @LOCALE_JA@ +LOCALE_ZH_CN = @LOCALE_ZH_CN@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NEED_ENABLE_EXECUTE_STACK = @NEED_ENABLE_EXECUTE_STACK@ +NEED_REGISTER_FRAME_INFO = @NEED_REGISTER_FRAME_INFO@ +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H = @NEXT_AS_FIRST_DIRECTIVE_FLOAT_H@ +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = @NEXT_AS_FIRST_DIRECTIVE_GETOPT_H@ +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H = @NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ +NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ +NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ +NEXT_AS_FIRST_DIRECTIVE_STRINGS_H = @NEXT_AS_FIRST_DIRECTIVE_STRINGS_H@ +NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ +NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H = @NEXT_AS_FIRST_DIRECTIVE_SYSEXITS_H@ +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H@ +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H = @NEXT_AS_FIRST_DIRECTIVE_WCHAR_H@ +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H = @NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H@ +NEXT_ERRNO_H = @NEXT_ERRNO_H@ +NEXT_FLOAT_H = @NEXT_FLOAT_H@ +NEXT_GETOPT_H = @NEXT_GETOPT_H@ +NEXT_LANGINFO_H = @NEXT_LANGINFO_H@ +NEXT_STDDEF_H = @NEXT_STDDEF_H@ +NEXT_STDINT_H = @NEXT_STDINT_H@ +NEXT_STDIO_H = @NEXT_STDIO_H@ +NEXT_STDLIB_H = @NEXT_STDLIB_H@ +NEXT_STRINGS_H = @NEXT_STRINGS_H@ +NEXT_STRING_H = @NEXT_STRING_H@ +NEXT_SYSEXITS_H = @NEXT_SYSEXITS_H@ +NEXT_SYS_WAIT_H = @NEXT_SYS_WAIT_H@ +NEXT_UNISTD_H = @NEXT_UNISTD_H@ +NEXT_WCHAR_H = @NEXT_WCHAR_H@ +NEXT_WCTYPE_H = @NEXT_WCTYPE_H@ +NM = @NM@ +OBJCONV = @OBJCONV@ +OBJCOPY = @OBJCOPY@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ +PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ +RANLIB = @RANLIB@ +REPLACE_BTOWC = @REPLACE_BTOWC@ +REPLACE_CALLOC = @REPLACE_CALLOC@ +REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ +REPLACE_CHOWN = @REPLACE_CHOWN@ +REPLACE_CLOSE = @REPLACE_CLOSE@ +REPLACE_DPRINTF = @REPLACE_DPRINTF@ +REPLACE_DUP = @REPLACE_DUP@ +REPLACE_DUP2 = @REPLACE_DUP2@ +REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ +REPLACE_FCLOSE = @REPLACE_FCLOSE@ +REPLACE_FFLUSH = @REPLACE_FFLUSH@ +REPLACE_FOPEN = @REPLACE_FOPEN@ +REPLACE_FPRINTF = @REPLACE_FPRINTF@ +REPLACE_FPURGE = @REPLACE_FPURGE@ +REPLACE_FREOPEN = @REPLACE_FREOPEN@ +REPLACE_FSEEK = @REPLACE_FSEEK@ +REPLACE_FSEEKO = @REPLACE_FSEEKO@ +REPLACE_FTELL = @REPLACE_FTELL@ +REPLACE_FTELLO = @REPLACE_FTELLO@ +REPLACE_GETCWD = @REPLACE_GETCWD@ +REPLACE_GETDELIM = @REPLACE_GETDELIM@ +REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ +REPLACE_GETLINE = @REPLACE_GETLINE@ +REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ +REPLACE_ISWBLANK = @REPLACE_ISWBLANK@ +REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@ +REPLACE_LCHOWN = @REPLACE_LCHOWN@ +REPLACE_LINK = @REPLACE_LINK@ +REPLACE_LINKAT = @REPLACE_LINKAT@ +REPLACE_LSEEK = @REPLACE_LSEEK@ +REPLACE_MALLOC = @REPLACE_MALLOC@ +REPLACE_MBRLEN = @REPLACE_MBRLEN@ +REPLACE_MBRTOWC = @REPLACE_MBRTOWC@ +REPLACE_MBSINIT = @REPLACE_MBSINIT@ +REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@ +REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@ +REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@ +REPLACE_MEMCHR = @REPLACE_MEMCHR@ +REPLACE_MEMMEM = @REPLACE_MEMMEM@ +REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ +REPLACE_NL_LANGINFO = @REPLACE_NL_LANGINFO@ +REPLACE_NULL = @REPLACE_NULL@ +REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ +REPLACE_PERROR = @REPLACE_PERROR@ +REPLACE_POPEN = @REPLACE_POPEN@ +REPLACE_PREAD = @REPLACE_PREAD@ +REPLACE_PRINTF = @REPLACE_PRINTF@ +REPLACE_PUTENV = @REPLACE_PUTENV@ +REPLACE_PWRITE = @REPLACE_PWRITE@ +REPLACE_READLINK = @REPLACE_READLINK@ +REPLACE_REALLOC = @REPLACE_REALLOC@ +REPLACE_REALPATH = @REPLACE_REALPATH@ +REPLACE_REMOVE = @REPLACE_REMOVE@ +REPLACE_RENAME = @REPLACE_RENAME@ +REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ +REPLACE_RMDIR = @REPLACE_RMDIR@ +REPLACE_SETENV = @REPLACE_SETENV@ +REPLACE_SLEEP = @REPLACE_SLEEP@ +REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ +REPLACE_SPRINTF = @REPLACE_SPRINTF@ +REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ +REPLACE_STPNCPY = @REPLACE_STPNCPY@ +REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ +REPLACE_STRDUP = @REPLACE_STRDUP@ +REPLACE_STRERROR = @REPLACE_STRERROR@ +REPLACE_STRNCAT = @REPLACE_STRNCAT@ +REPLACE_STRNDUP = @REPLACE_STRNDUP@ +REPLACE_STRNLEN = @REPLACE_STRNLEN@ +REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ +REPLACE_STRSTR = @REPLACE_STRSTR@ +REPLACE_STRTOD = @REPLACE_STRTOD@ +REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ +REPLACE_SYMLINK = @REPLACE_SYMLINK@ +REPLACE_TMPFILE = @REPLACE_TMPFILE@ +REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ +REPLACE_UNLINK = @REPLACE_UNLINK@ +REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ +REPLACE_UNSETENV = @REPLACE_UNSETENV@ +REPLACE_USLEEP = @REPLACE_USLEEP@ +REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ +REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ +REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ +REPLACE_VPRINTF = @REPLACE_VPRINTF@ +REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ +REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ +REPLACE_WCRTOMB = @REPLACE_WCRTOMB@ +REPLACE_WCSNRTOMBS = @REPLACE_WCSNRTOMBS@ +REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@ +REPLACE_WCTOB = @REPLACE_WCTOB@ +REPLACE_WCWIDTH = @REPLACE_WCWIDTH@ +REPLACE_WRITE = @REPLACE_WRITE@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ +SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ +STDBOOL_H = @STDBOOL_H@ +STDDEF_H = @STDDEF_H@ +STDINT_H = @STDINT_H@ +STRIP = @STRIP@ +SYSEXITS_H = @SYSEXITS_H@ +TARGET_APPLE_CC = @TARGET_APPLE_CC@ +TARGET_CC = @TARGET_CC@ +TARGET_CCAS = @TARGET_CCAS@ +TARGET_CCASFLAGS = @TARGET_CCASFLAGS@ +TARGET_CFLAGS = @TARGET_CFLAGS@ +TARGET_CPP = @TARGET_CPP@ +TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ +TARGET_IMG_BASE_LDOPT = @TARGET_IMG_BASE_LDOPT@ +TARGET_IMG_CFLAGS = @TARGET_IMG_CFLAGS@ +TARGET_IMG_LDFLAGS = @TARGET_IMG_LDFLAGS@ +TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@ +TARGET_LDFLAGS = @TARGET_LDFLAGS@ +TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@ +TARGET_OBJ2ELF = @TARGET_OBJ2ELF@ +UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ +UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ +USE_APPLE_CC_FIXES = @USE_APPLE_CC_FIXES@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ +WINT_T_SUFFIX = @WINT_T_SUFFIX@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_TARGET_CC = @ac_ct_TARGET_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +bootdirname = @bootdirname@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_efiemu = @enable_efiemu@ +enable_grub_emu_pci = @enable_grub_emu_pci@ +enable_grub_emu_sdl = @enable_grub_emu_sdl@ +enable_grub_emu_usb = @enable_grub_emu_usb@ +enable_grub_mkfont = @enable_grub_mkfont@ +exec_prefix = @exec_prefix@ +freetype_cflags = @freetype_cflags@ +freetype_libs = @freetype_libs@ +gl_LIBOBJS = @gl_LIBOBJS@ +gl_LTLIBOBJS = @gl_LTLIBOBJS@ +gltests_LIBOBJS = @gltests_LIBOBJS@ +gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ +gltests_WITNESS = @gltests_WITNESS@ +grubdirname = @grubdirname@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_kernel = @host_kernel@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkglibrootdir = @pkglibrootdir@ +platform = @platform@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +AUTOMAKE_OPTIONS = 1.5 gnits +SUBDIRS = +noinst_HEADERS = +noinst_LIBRARIES = libgnu.a +noinst_LTLIBRARIES = +EXTRA_DIST = alloca.c alloca.in.h \ + $(top_srcdir)/build-aux/arg-nonnull.h btowc.c \ + $(top_srcdir)/build-aux/c++defs.h basename-lgpl.c \ + dirname-lgpl.c dirname.h stripslash.c errno.in.h error.c \ + error.h float.in.h fnmatch.c fnmatch.in.h fnmatch_loop.c \ + getdelim.c getline.c getopt.c getopt.in.h getopt1.c \ + getopt_int.h $(top_srcdir)/build-aux/config.rpath \ + $(top_srcdir)/build-aux/config.rpath intprops.h langinfo.in.h \ + config.charset ref-add.sin ref-del.sin malloc.c malloc.c \ + mbrtowc.c mbsinit.c mbsrtowcs-state.c mbsrtowcs.c memchr.c \ + memchr.valgrind mempcpy.c nl_langinfo.c rawmemchr.c \ + rawmemchr.valgrind realloc.c regcomp.c regex.c regex.h \ + regex_internal.c regex_internal.h regexec.c sleep.c \ + stdbool.in.h stddef.in.h stdint.in.h stdio-write.c stdio.in.h \ + stdlib.in.h strcasecmp.c strncasecmp.c strchrnul.c \ + strchrnul.valgrind streq.h strerror.c string.in.h strings.in.h \ + strndup.c strnlen.c sys_wait.in.h sysexits.in.h unistd.in.h \ + asnprintf.c float+.h printf-args.c printf-args.h \ + printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h \ + vsnprintf.c $(top_srcdir)/build-aux/warn-on-use.h wchar.in.h \ + wcrtomb.c wctype.in.h + +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. +BUILT_SOURCES = $(ALLOCA_H) arg-nonnull.h c++defs.h configmake.h \ + $(ERRNO_H) $(FLOAT_H) $(FNMATCH_H) $(GETOPT_H) langinfo.h \ + $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) stdio.h stdlib.h string.h \ + strings.h sys/wait.h $(SYSEXITS_H) unistd.h warn-on-use.h \ + wchar.h wctype.h +SUFFIXES = .sed .sin +MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t arg-nonnull.h \ + arg-nonnull.h-t c++defs.h c++defs.h-t errno.h errno.h-t \ + float.h float.h-t fnmatch.h fnmatch.h-t getopt.h getopt.h-t \ + langinfo.h langinfo.h-t stdbool.h stdbool.h-t stddef.h \ + stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h \ + stdlib.h-t string.h string.h-t strings.h strings.h-t \ + sys/wait.h sys/wait.h-t sysexits.h sysexits.h-t unistd.h \ + unistd.h-t warn-on-use.h warn-on-use.h-t wchar.h wchar.h-t \ + wctype.h wctype.h-t +MOSTLYCLEANDIRS = sys +CLEANFILES = configmake.h configmake.h-t charset.alias ref-add.sed \ + ref-del.sed +DISTCLEANFILES = +MAINTAINERCLEANFILES = + +# This is for those projects which use "gettextize --intl" to put a source-code +# copy of libintl into their package. In such projects, every Makefile.am needs +# -I$(top_builddir)/intl, so that can be found in this directory. +# For the Makefile.ams in other directories it is the maintainer's +# responsibility; for the one from gnulib we do it here. +# This option has no effect when the user disables NLS (because then the intl +# directory contains no libintl.h file) or when the project does not use +# "gettextize --intl". +AM_CPPFLAGS = -I$(top_builddir)/intl +AM_CFLAGS = +libgnu_a_SOURCES = argp.h argp-ba.c argp-eexst.c argp-fmtstream.c \ + argp-fmtstream.h argp-fs-xinl.c argp-help.c argp-namefrob.h \ + argp-parse.c argp-pin.c argp-pv.c argp-pvh.c argp-xinl.c \ + gettext.h localcharset.h localcharset.c progname.h progname.c \ + size_max.h strnlen1.h strnlen1.c verify.h xsize.h +libgnu_a_LIBADD = $(gl_LIBOBJS) @ALLOCA@ +libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) @ALLOCA@ +EXTRA_libgnu_a_SOURCES = alloca.c btowc.c basename-lgpl.c \ + dirname-lgpl.c stripslash.c error.c fnmatch.c fnmatch_loop.c \ + getdelim.c getline.c getopt.c getopt1.c malloc.c malloc.c \ + mbrtowc.c mbsinit.c mbsrtowcs-state.c mbsrtowcs.c memchr.c \ + mempcpy.c nl_langinfo.c rawmemchr.c realloc.c regcomp.c \ + regex.c regex_internal.c regexec.c sleep.c stdio-write.c \ + strcasecmp.c strncasecmp.c strchrnul.c strerror.c strndup.c \ + strnlen.c asnprintf.c printf-args.c printf-parse.c \ + vasnprintf.c vsnprintf.c wcrtomb.c +ARG_NONNULL_H = arg-nonnull.h +CXXDEFS_H = c++defs.h +charset_alias = $(DESTDIR)$(libdir)/charset.alias +charset_tmp = $(DESTDIR)$(libdir)/charset.tmp +WARN_ON_USE_H = warn-on-use.h +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .sed .sin .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits grub-core/gnulib/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnits grub-core/gnulib/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +libgnu.a: $(libgnu_a_OBJECTS) $(libgnu_a_DEPENDENCIES) + -rm -f libgnu.a + $(libgnu_a_AR) libgnu.a $(libgnu_a_OBJECTS) $(libgnu_a_LIBADD) + $(RANLIB) libgnu.a + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/alloca.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alloca.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-ba.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-eexst.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-fmtstream.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-fs-xinl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-help.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-pin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-pv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-pvh.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/argp-xinl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asnprintf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/basename-lgpl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/btowc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirname-lgpl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/error.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fnmatch.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fnmatch_loop.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdelim.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/localcharset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbrtowc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbsinit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbsrtowcs-state.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbsrtowcs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memchr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mempcpy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nl_langinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-args.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/printf-parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rawmemchr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/realloc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regcomp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex_internal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sleep.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stdio-write.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasecmp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strchrnul.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strerror.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stripslash.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strncasecmp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strndup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strnlen1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vasnprintf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vsnprintf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wcrtomb.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS) all-local +installdirs: installdirs-recursive +installdirs-am: +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-recursive + +clean-am: clean-generic clean-noinstLIBRARIES clean-noinstLTLIBRARIES \ + mostlyclean-am + +distclean: distclean-recursive + -rm -rf $(DEPDIR) ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-exec-local + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -rf $(DEPDIR) ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-local + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-local + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ + ctags-recursive install install-am install-strip \ + tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am all-local check check-am clean clean-generic \ + clean-noinstLIBRARIES clean-noinstLTLIBRARIES ctags \ + ctags-recursive distclean distclean-compile distclean-generic \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-exec-local \ + install-html install-html-am install-info install-info-am \ + install-man install-pdf install-pdf-am install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-local pdf pdf-am ps ps-am tags \ + tags-recursive uninstall uninstall-am uninstall-local + + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +alloca.h: alloca.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/alloca.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +# The arg-nonnull.h that gets inserted into generated .h files is the same as +# build-aux/arg-nonnull.h, except that it has the copyright header cut off. +arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_ARG_NONNULL/,$$p' \ + < $(top_srcdir)/build-aux/arg-nonnull.h \ + > $@-t && \ + mv $@-t $@ +# The c++defs.h that gets inserted into generated .h files is the same as +# build-aux/c++defs.h, except that it has the copyright header cut off. +c++defs.h: $(top_srcdir)/build-aux/c++defs.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/_GL_CXXDEFS/,$$p' \ + < $(top_srcdir)/build-aux/c++defs.h \ + > $@-t && \ + mv $@-t $@ + +# Retrieve values of the variables through 'configure' followed by +# 'make', not directly through 'configure', so that a user who +# sets some of these variables consistently on the 'make' command +# line gets correct results. +# +# One advantage of this approach, compared to the classical +# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS, +# is that it protects against the use of undefined variables. +# If, say, $(libdir) is not set in the Makefile, LIBDIR is not +# defined by this module, and code using LIBDIR gives a +# compilation error. +# +# Another advantage is that 'make' output is shorter. +# +# Listed in the same order as the GNU makefile conventions. +# The Automake-defined pkg* macros are appended, in the order +# listed in the Automake 1.10a+ documentation. +configmake.h: Makefile + $(AM_V_GEN)rm -f $@-t && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + echo '#define PREFIX "$(prefix)"'; \ + echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ + echo '#define BINDIR "$(bindir)"'; \ + echo '#define SBINDIR "$(sbindir)"'; \ + echo '#define LIBEXECDIR "$(libexecdir)"'; \ + echo '#define DATAROOTDIR "$(datarootdir)"'; \ + echo '#define DATADIR "$(datadir)"'; \ + echo '#define SYSCONFDIR "$(sysconfdir)"'; \ + echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ + echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ + echo '#define INCLUDEDIR "$(includedir)"'; \ + echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ + echo '#define DOCDIR "$(docdir)"'; \ + echo '#define INFODIR "$(infodir)"'; \ + echo '#define HTMLDIR "$(htmldir)"'; \ + echo '#define DVIDIR "$(dvidir)"'; \ + echo '#define PDFDIR "$(pdfdir)"'; \ + echo '#define PSDIR "$(psdir)"'; \ + echo '#define LIBDIR "$(libdir)"'; \ + echo '#define LISPDIR "$(lispdir)"'; \ + echo '#define LOCALEDIR "$(localedir)"'; \ + echo '#define MANDIR "$(mandir)"'; \ + echo '#define MANEXT "$(manext)"'; \ + echo '#define PKGDATADIR "$(pkgdatadir)"'; \ + echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ + echo '#define PKGLIBDIR "$(pkglibdir)"'; \ + echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ + } | sed '/""/d' > $@-t && \ + if test -f $@ && cmp $@-t $@ > /dev/null; then \ + rm -f $@-t; \ + else \ + rm -f $@; mv $@-t $@; \ + fi + +# We need the following in order to create when the system +# doesn't have one that is POSIX compliant. +errno.h: errno.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ + -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ + -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ + -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ + -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ + -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ + -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ + < $(srcdir)/errno.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +float.h: float.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ + < $(srcdir)/float.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that supports the required API. +fnmatch.h: fnmatch.in.h $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/fnmatch.in.h; \ + } > $@-t && \ + mv -f $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +getopt.h: getopt.in.h $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + < $(srcdir)/getopt.in.h; \ + } > $@-t && \ + mv -f $@-t $@ + +# We need the following in order to create an empty placeholder for +# when the system doesn't have one. +langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ + -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \ + -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ + -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ + -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \ + -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \ + -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \ + -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/langinfo.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to install a simple file in $(libdir) +# which is shared with other installed packages. We use a list of referencing +# packages so that "make uninstall" will remove the file if and only if it +# is not used by another installed package. +# On systems with glibc-2.1 or newer, the file is redundant, therefore we +# avoid installing it. + +all-local: charset.alias ref-add.sed ref-del.sed +install-exec-local: install-exec-localcharset +install-exec-localcharset: all-local + if test $(GLIBC21) = no; then \ + case '$(host_os)' in \ + darwin[56]*) \ + need_charset_alias=true ;; \ + darwin* | cygwin* | mingw* | pw32* | cegcc*) \ + need_charset_alias=false ;; \ + *) \ + need_charset_alias=true ;; \ + esac ; \ + else \ + need_charset_alias=false ; \ + fi ; \ + if $$need_charset_alias; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir) ; \ + fi ; \ + if test -f $(charset_alias); then \ + sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ + rm -f $(charset_tmp) ; \ + else \ + if $$need_charset_alias; then \ + sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ + rm -f $(charset_tmp) ; \ + fi ; \ + fi + +uninstall-local: uninstall-localcharset +uninstall-localcharset: all-local + if test -f $(charset_alias); then \ + sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \ + if grep '^# Packages using this file: $$' $(charset_tmp) \ + > /dev/null; then \ + rm -f $(charset_alias); \ + else \ + $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \ + fi; \ + rm -f $(charset_tmp); \ + fi + +charset.alias: config.charset + $(AM_V_GEN)rm -f t-$@ $@ && \ + $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \ + mv t-$@ $@ +.sin.sed: + $(AM_V_GEN)rm -f t-$@ $@ && \ + sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \ + mv t-$@ $@ + +# We need the following in order to create when the system +# doesn't have one that works. +stdbool.h: stdbool.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stddef.h: stddef.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ + -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ + -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ + < $(srcdir)/stddef.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stdint.h: stdint.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ + -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ + -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ + -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ + -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ + -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ + -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ + -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ + -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ + -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ + -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ + -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ + -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ + -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ + -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ + -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ + -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ + < $(srcdir)/stdint.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ + -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \ + -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \ + -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \ + -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \ + -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \ + -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \ + -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \ + -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \ + -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \ + -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \ + -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \ + -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \ + -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \ + -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \ + -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \ + -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \ + -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \ + -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \ + -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \ + -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \ + -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \ + -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \ + -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \ + -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \ + -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \ + -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \ + -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \ + -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \ + -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \ + -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \ + -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \ + -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \ + -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \ + -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \ + -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \ + -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \ + -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \ + -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \ + < $(srcdir)/stdio.in.h | \ + sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ + -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ + -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ + -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ + -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ + -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ + -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ + -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ + -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ + -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ + -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ + -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ + -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ + -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ + -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ + -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ + -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ + -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ + -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ + -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ + -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ + -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ + -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ + -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ + -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ + -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ + -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ + -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ + -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ + -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ + -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ + -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ + -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ + -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ + -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ + -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ + -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ + -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ + -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ + -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ + -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ + -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ + -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ + -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \ + -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \ + -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \ + -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \ + -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ + -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \ + -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \ + -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ + -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \ + -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \ + -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \ + -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \ + -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \ + -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \ + -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \ + -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \ + -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \ + -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \ + -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \ + -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \ + -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \ + -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \ + -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ + -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ + -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ + -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ + -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ + -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ + -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ + -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ + -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ + -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ + -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ + -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ + -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ + -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ + -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ + -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ + -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ + -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \ + -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ + -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ + -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ + -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ + -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ + -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ + -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \ + -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ + -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ + -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ + -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ + -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ + -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ + -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ + -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ + -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ + -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/stdlib.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ + -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \ + -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \ + -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \ + -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \ + -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \ + -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \ + -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \ + -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \ + -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \ + -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \ + -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \ + -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \ + -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \ + -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \ + -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \ + -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \ + -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \ + -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \ + -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \ + -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \ + -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \ + -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \ + -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \ + -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \ + -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \ + -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \ + -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \ + -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \ + -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \ + -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \ + -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \ + -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \ + -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \ + -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \ + < $(srcdir)/string.in.h | \ + sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ + -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ + -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ + -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ + -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ + -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ + -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ + -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ + -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ + -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ + -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ + -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ + -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ + -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ + -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ + -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ + -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ + -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ + -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ + -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ + -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ + -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ + -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ + -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ + -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ + -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ + -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ + -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ + -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ + -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ + -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + < $(srcdir)/string.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \ + -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \ + -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/strings.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# has one that is incomplete. +sys/wait.h: sys_wait.in.h + $(AM_V_at)$(MKDIR_P) sys + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \ + < $(srcdir)/sys_wait.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +sysexits.h: sysexits.in.h + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_SYSEXITS_H''@|$(NEXT_SYSEXITS_H)|g' \ + < $(srcdir)/sysexits.in.h; \ + } > $@-t && \ + mv -f $@-t $@ + +# We need the following in order to create an empty placeholder for +# when the system doesn't have one. +unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ + -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \ + -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \ + -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \ + -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \ + -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \ + -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \ + -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \ + -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \ + -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \ + -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \ + -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \ + -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \ + -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \ + -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \ + -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \ + -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \ + -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \ + -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ + -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ + -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ + -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ + -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ + -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \ + -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \ + -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \ + -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \ + -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \ + -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \ + -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \ + -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \ + -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \ + -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \ + -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \ + -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \ + -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \ + -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \ + -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \ + -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \ + -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \ + -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \ + < $(srcdir)/unistd.in.h | \ + sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ + -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ + -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ + -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ + -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ + -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ + -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ + -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ + -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ + -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \ + -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ + -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ + -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ + -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ + -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ + -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ + -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ + -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ + -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ + -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ + -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ + -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ + -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ + -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ + -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ + -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ + -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \ + -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ + -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ + -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ + -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ + -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ + -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ + -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ + -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ + -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ + -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ + -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ + -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ + -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ + -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ + -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ + -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ + -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ + -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ + -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ + -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ + -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ + -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ + -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ + -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ + -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ + -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ + -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ + -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ + -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ + -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ + -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ + -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ + -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ + } > $@-t && \ + mv $@-t $@ +# The warn-on-use.h that gets inserted into generated .h files is the same as +# build-aux/warn-on-use.h, except that it has the copyright header cut off. +warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/^.ifndef/,$$p' \ + < $(top_srcdir)/build-aux/warn-on-use.h \ + > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# version does not work standalone. +wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ + -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ + -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \ + -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \ + -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \ + -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \ + -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \ + -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \ + -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \ + -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \ + -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \ + -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \ + -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \ + -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ + -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ + -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \ + -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \ + -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \ + -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \ + -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \ + -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \ + -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \ + -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \ + -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \ + -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \ + -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \ + -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \ + -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \ + -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \ + -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \ + -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \ + -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \ + -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \ + -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \ + -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ + -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ + -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/wchar.in.h; \ + } > $@-t && \ + mv $@-t $@ + +# We need the following in order to create when the system +# doesn't have one that works with the given compiler. +wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ + -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ + -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ + -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ + -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ + -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \ + -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/wctype.in.h; \ + } > $@-t && \ + mv $@-t $@ + +mostlyclean-local: mostlyclean-generic + @for dir in '' $(MOSTLYCLEANDIRS); do \ + if test -n "$$dir" && test -d $$dir; then \ + echo "rmdir $$dir"; rmdir $$dir; \ + fi; \ + done; \ + : + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/grub-core/gnulib/alloca.c b/grub-core/gnulib/alloca.c new file mode 100644 index 0000000..75afdb9 --- /dev/null +++ b/grub-core/gnulib/alloca.c @@ -0,0 +1,489 @@ +/* alloca.c -- allocate automatically reclaimed memory + (Mostly) portable public-domain implementation -- D A Gwyn + + This implementation of the PWB library alloca function, + which is used to allocate space off the run-time stack so + that it is automatically reclaimed upon procedure exit, + was inspired by discussions with J. Q. Johnson of Cornell. + J.Otto Tennant contributed the Cray support. + + There are some preprocessor constants that can + be defined when compiling for your specific system, for + improved efficiency; however, the defaults should be okay. + + The general concept of this implementation is to keep + track of all alloca-allocated blocks, and reclaim any + that are found to be deeper in the stack than the current + invocation. This heuristic does not reclaim storage as + soon as it becomes invalid, but it will do so eventually. + + As a special case, alloca(0) reclaims storage without + allocating any. It is a good idea to use alloca(0) in + your main control loop, etc. to force garbage collection. */ + +#include + +#include + +#include +#include + +#ifdef emacs +# include "lisp.h" +# include "blockinput.h" +# ifdef EMACS_FREE +# undef free +# define free EMACS_FREE +# endif +#else +# define memory_full() abort () +#endif + +/* If compiling with GCC 2, this file's not needed. */ +#if !defined (__GNUC__) || __GNUC__ < 2 + +/* If someone has defined alloca as a macro, + there must be some other way alloca is supposed to work. */ +# ifndef alloca + +# ifdef emacs +# ifdef static +/* actually, only want this if static is defined as "" + -- this is for usg, in which emacs must undefine static + in order to make unexec workable + */ +# ifndef STACK_DIRECTION +you +lose +-- must know STACK_DIRECTION at compile-time +/* Using #error here is not wise since this file should work for + old and obscure compilers. */ +# endif /* STACK_DIRECTION undefined */ +# endif /* static */ +# endif /* emacs */ + +/* If your stack is a linked list of frames, you have to + provide an "address metric" ADDRESS_FUNCTION macro. */ + +# if defined (CRAY) && defined (CRAY_STACKSEG_END) +long i00afunc (); +# define ADDRESS_FUNCTION(arg) (char *) i00afunc (&(arg)) +# else +# define ADDRESS_FUNCTION(arg) &(arg) +# endif + +/* Define STACK_DIRECTION if you know the direction of stack + growth for your system; otherwise it will be automatically + deduced at run-time. + + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ + +# ifndef STACK_DIRECTION +# define STACK_DIRECTION 0 /* Direction unknown. */ +# endif + +# if STACK_DIRECTION != 0 + +# define STACK_DIR STACK_DIRECTION /* Known at compile-time. */ + +# else /* STACK_DIRECTION == 0; need run-time code. */ + +static int stack_dir; /* 1 or -1 once known. */ +# define STACK_DIR stack_dir + +static void +find_stack_direction (void) +{ + static char *addr = NULL; /* Address of first `dummy', once known. */ + auto char dummy; /* To get stack address. */ + + if (addr == NULL) + { /* Initial entry. */ + addr = ADDRESS_FUNCTION (dummy); + + find_stack_direction (); /* Recurse once. */ + } + else + { + /* Second entry. */ + if (ADDRESS_FUNCTION (dummy) > addr) + stack_dir = 1; /* Stack grew upward. */ + else + stack_dir = -1; /* Stack grew downward. */ + } +} + +# endif /* STACK_DIRECTION == 0 */ + +/* An "alloca header" is used to: + (a) chain together all alloca'ed blocks; + (b) keep track of stack depth. + + It is very important that sizeof(header) agree with malloc + alignment chunk size. The following default should work okay. */ + +# ifndef ALIGN_SIZE +# define ALIGN_SIZE sizeof(double) +# endif + +typedef union hdr +{ + char align[ALIGN_SIZE]; /* To force sizeof(header). */ + struct + { + union hdr *next; /* For chaining headers. */ + char *deep; /* For stack depth measure. */ + } h; +} header; + +static header *last_alloca_header = NULL; /* -> last alloca header. */ + +/* Return a pointer to at least SIZE bytes of storage, + which will be automatically reclaimed upon exit from + the procedure that called alloca. Originally, this space + was supposed to be taken from the current stack frame of the + caller, but that method cannot be made to work for some + implementations of C, for example under Gould's UTX/32. */ + +void * +alloca (size_t size) +{ + auto char probe; /* Probes stack depth: */ + register char *depth = ADDRESS_FUNCTION (probe); + +# if STACK_DIRECTION == 0 + if (STACK_DIR == 0) /* Unknown growth direction. */ + find_stack_direction (); +# endif + + /* Reclaim garbage, defined as all alloca'd storage that + was allocated from deeper in the stack than currently. */ + + { + register header *hp; /* Traverses linked list. */ + +# ifdef emacs + BLOCK_INPUT; +# endif + + for (hp = last_alloca_header; hp != NULL;) + if ((STACK_DIR > 0 && hp->h.deep > depth) + || (STACK_DIR < 0 && hp->h.deep < depth)) + { + register header *np = hp->h.next; + + free (hp); /* Collect garbage. */ + + hp = np; /* -> next header. */ + } + else + break; /* Rest are not deeper. */ + + last_alloca_header = hp; /* -> last valid storage. */ + +# ifdef emacs + UNBLOCK_INPUT; +# endif + } + + if (size == 0) + return NULL; /* No allocation required. */ + + /* Allocate combined header + user data storage. */ + + { + /* Address of header. */ + register header *new; + + size_t combined_size = sizeof (header) + size; + if (combined_size < sizeof (header)) + memory_full (); + + new = malloc (combined_size); + + if (! new) + memory_full (); + + new->h.next = last_alloca_header; + new->h.deep = depth; + + last_alloca_header = new; + + /* User storage begins just after header. */ + + return (void *) (new + 1); + } +} + +# if defined (CRAY) && defined (CRAY_STACKSEG_END) + +# ifdef DEBUG_I00AFUNC +# include +# endif + +# ifndef CRAY_STACK +# define CRAY_STACK +# ifndef CRAY2 +/* Stack structures for CRAY-1, CRAY X-MP, and CRAY Y-MP */ +struct stack_control_header + { + long shgrow:32; /* Number of times stack has grown. */ + long shaseg:32; /* Size of increments to stack. */ + long shhwm:32; /* High water mark of stack. */ + long shsize:32; /* Current size of stack (all segments). */ + }; + +/* The stack segment linkage control information occurs at + the high-address end of a stack segment. (The stack + grows from low addresses to high addresses.) The initial + part of the stack segment linkage control information is + 0200 (octal) words. This provides for register storage + for the routine which overflows the stack. */ + +struct stack_segment_linkage + { + long ss[0200]; /* 0200 overflow words. */ + long sssize:32; /* Number of words in this segment. */ + long ssbase:32; /* Offset to stack base. */ + long:32; + long sspseg:32; /* Offset to linkage control of previous + segment of stack. */ + long:32; + long sstcpt:32; /* Pointer to task common address block. */ + long sscsnm; /* Private control structure number for + microtasking. */ + long ssusr1; /* Reserved for user. */ + long ssusr2; /* Reserved for user. */ + long sstpid; /* Process ID for pid based multi-tasking. */ + long ssgvup; /* Pointer to multitasking thread giveup. */ + long sscray[7]; /* Reserved for Cray Research. */ + long ssa0; + long ssa1; + long ssa2; + long ssa3; + long ssa4; + long ssa5; + long ssa6; + long ssa7; + long sss0; + long sss1; + long sss2; + long sss3; + long sss4; + long sss5; + long sss6; + long sss7; + }; + +# else /* CRAY2 */ +/* The following structure defines the vector of words + returned by the STKSTAT library routine. */ +struct stk_stat + { + long now; /* Current total stack size. */ + long maxc; /* Amount of contiguous space which would + be required to satisfy the maximum + stack demand to date. */ + long high_water; /* Stack high-water mark. */ + long overflows; /* Number of stack overflow ($STKOFEN) calls. */ + long hits; /* Number of internal buffer hits. */ + long extends; /* Number of block extensions. */ + long stko_mallocs; /* Block allocations by $STKOFEN. */ + long underflows; /* Number of stack underflow calls ($STKRETN). */ + long stko_free; /* Number of deallocations by $STKRETN. */ + long stkm_free; /* Number of deallocations by $STKMRET. */ + long segments; /* Current number of stack segments. */ + long maxs; /* Maximum number of stack segments so far. */ + long pad_size; /* Stack pad size. */ + long current_address; /* Current stack segment address. */ + long current_size; /* Current stack segment size. This + number is actually corrupted by STKSTAT to + include the fifteen word trailer area. */ + long initial_address; /* Address of initial segment. */ + long initial_size; /* Size of initial segment. */ + }; + +/* The following structure describes the data structure which trails + any stack segment. I think that the description in 'asdef' is + out of date. I only describe the parts that I am sure about. */ + +struct stk_trailer + { + long this_address; /* Address of this block. */ + long this_size; /* Size of this block (does not include + this trailer). */ + long unknown2; + long unknown3; + long link; /* Address of trailer block of previous + segment. */ + long unknown5; + long unknown6; + long unknown7; + long unknown8; + long unknown9; + long unknown10; + long unknown11; + long unknown12; + long unknown13; + long unknown14; + }; + +# endif /* CRAY2 */ +# endif /* not CRAY_STACK */ + +# ifdef CRAY2 +/* Determine a "stack measure" for an arbitrary ADDRESS. + I doubt that "lint" will like this much. */ + +static long +i00afunc (long *address) +{ + struct stk_stat status; + struct stk_trailer *trailer; + long *block, size; + long result = 0; + + /* We want to iterate through all of the segments. The first + step is to get the stack status structure. We could do this + more quickly and more directly, perhaps, by referencing the + $LM00 common block, but I know that this works. */ + + STKSTAT (&status); + + /* Set up the iteration. */ + + trailer = (struct stk_trailer *) (status.current_address + + status.current_size + - 15); + + /* There must be at least one stack segment. Therefore it is + a fatal error if "trailer" is null. */ + + if (trailer == 0) + abort (); + + /* Discard segments that do not contain our argument address. */ + + while (trailer != 0) + { + block = (long *) trailer->this_address; + size = trailer->this_size; + if (block == 0 || size == 0) + abort (); + trailer = (struct stk_trailer *) trailer->link; + if ((block <= address) && (address < (block + size))) + break; + } + + /* Set the result to the offset in this segment and add the sizes + of all predecessor segments. */ + + result = address - block; + + if (trailer == 0) + { + return result; + } + + do + { + if (trailer->this_size <= 0) + abort (); + result += trailer->this_size; + trailer = (struct stk_trailer *) trailer->link; + } + while (trailer != 0); + + /* We are done. Note that if you present a bogus address (one + not in any segment), you will get a different number back, formed + from subtracting the address of the first block. This is probably + not what you want. */ + + return (result); +} + +# else /* not CRAY2 */ +/* Stack address function for a CRAY-1, CRAY X-MP, or CRAY Y-MP. + Determine the number of the cell within the stack, + given the address of the cell. The purpose of this + routine is to linearize, in some sense, stack addresses + for alloca. */ + +static long +i00afunc (long address) +{ + long stkl = 0; + + long size, pseg, this_segment, stack; + long result = 0; + + struct stack_segment_linkage *ssptr; + + /* Register B67 contains the address of the end of the + current stack segment. If you (as a subprogram) store + your registers on the stack and find that you are past + the contents of B67, you have overflowed the segment. + + B67 also points to the stack segment linkage control + area, which is what we are really interested in. */ + + stkl = CRAY_STACKSEG_END (); + ssptr = (struct stack_segment_linkage *) stkl; + + /* If one subtracts 'size' from the end of the segment, + one has the address of the first word of the segment. + + If this is not the first segment, 'pseg' will be + nonzero. */ + + pseg = ssptr->sspseg; + size = ssptr->sssize; + + this_segment = stkl - size; + + /* It is possible that calling this routine itself caused + a stack overflow. Discard stack segments which do not + contain the target address. */ + + while (!(this_segment <= address && address <= stkl)) + { +# ifdef DEBUG_I00AFUNC + fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl); +# endif + if (pseg == 0) + break; + stkl = stkl - pseg; + ssptr = (struct stack_segment_linkage *) stkl; + size = ssptr->sssize; + pseg = ssptr->sspseg; + this_segment = stkl - size; + } + + result = address - this_segment; + + /* If you subtract pseg from the current end of the stack, + you get the address of the previous stack segment's end. + This seems a little convoluted to me, but I'll bet you save + a cycle somewhere. */ + + while (pseg != 0) + { +# ifdef DEBUG_I00AFUNC + fprintf (stderr, "%011o %011o\n", pseg, size); +# endif + stkl = stkl - pseg; + ssptr = (struct stack_segment_linkage *) stkl; + size = ssptr->sssize; + pseg = ssptr->sspseg; + result += size; + } + return (result); +} + +# endif /* not CRAY2 */ +# endif /* CRAY */ + +# endif /* no alloca */ +#endif /* not GCC version 3 */ diff --git a/grub-core/gnulib/alloca.in.h b/grub-core/gnulib/alloca.in.h new file mode 100644 index 0000000..44f20b7 --- /dev/null +++ b/grub-core/gnulib/alloca.in.h @@ -0,0 +1,56 @@ +/* Memory allocation on the stack. + + Copyright (C) 1995, 1999, 2001-2004, 2006-2010 Free Software Foundation, + Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + USA. */ + +/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H + means there is a real alloca function. */ +#ifndef _GL_ALLOCA_H +#define _GL_ALLOCA_H + +/* alloca (N) returns a pointer to N bytes of memory + allocated on the stack, which will last until the function returns. + Use of alloca should be avoided: + - inside arguments of function calls - undefined behaviour, + - in inline functions - the allocation may actually last until the + calling function returns, + - for huge N (say, N >= 65536) - you never know how large (or small) + the stack is, and when the stack cannot fulfill the memory allocation + request, the program just crashes. + */ + +#ifndef alloca +# ifdef __GNUC__ +# define alloca __builtin_alloca +# elif defined _AIX +# define alloca __alloca +# elif defined _MSC_VER +# include +# define alloca _alloca +# elif defined __DECC && defined __VMS +# define alloca __ALLOCA +# else +# include +# ifdef __cplusplus +extern "C" +# endif +void *alloca (size_t); +# endif +#endif + +#endif /* _GL_ALLOCA_H */ diff --git a/grub-core/gnulib/argp-ba.c b/grub-core/gnulib/argp-ba.c new file mode 100644 index 0000000..95feabb --- /dev/null +++ b/grub-core/gnulib/argp-ba.c @@ -0,0 +1,34 @@ +/* Default definition for ARGP_PROGRAM_BUG_ADDRESS. + Copyright (C) 1996, 1997, 1999, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* If set by the user program, it should point to string that is the + bug-reporting address for the program. It will be printed by argp_help if + the ARGP_HELP_BUG_ADDR flag is set (as it is by various standard help + messages), embedded in a sentence that says something like `Report bugs to + ADDR.'. */ +const char *argp_program_bug_address +/* This variable should be zero-initialized. On most systems, putting it into + BSS is sufficient. Not so on MacOS X 10.3 and 10.4, see + + . */ +#if defined __ELF__ + /* On ELF systems, variables in BSS behave well. */ +#else + = (const char *) 0 +#endif + ; diff --git a/grub-core/gnulib/argp-eexst.c b/grub-core/gnulib/argp-eexst.c new file mode 100644 index 0000000..115a8cd --- /dev/null +++ b/grub-core/gnulib/argp-eexst.c @@ -0,0 +1,30 @@ +/* Default definition for ARGP_ERR_EXIT_STATUS + Copyright (C) 1997, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#include "argp.h" + +/* The exit status that argp will use when exiting due to a parsing error. + If not defined or set by the user program, this defaults to EX_USAGE from + . */ +error_t argp_err_exit_status = EX_USAGE; diff --git a/grub-core/gnulib/argp-fmtstream.c b/grub-core/gnulib/argp-fmtstream.c new file mode 100644 index 0000000..70bbebc --- /dev/null +++ b/grub-core/gnulib/argp-fmtstream.c @@ -0,0 +1,435 @@ +/* Word-wrapping and line-truncating streams + Copyright (C) 1997-1999, 2001-2003, 2005, 2009-2010 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* This package emulates glibc `line_wrap_stream' semantics for systems that + don't have that. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include + +#include "argp-fmtstream.h" +#include "argp-namefrob.h" + +#ifndef ARGP_FMTSTREAM_USE_LINEWRAP + +#ifndef isblank +#define isblank(ch) ((ch)==' ' || (ch)=='\t') +#endif + +#if defined _LIBC && defined USE_IN_LIBIO +# include +# include +# define __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a) +#endif + +#define INIT_BUF_SIZE 200 +#define PRINTF_SIZE_GUESS 150 + +/* Return an argp_fmtstream that outputs to STREAM, and which prefixes lines + written on it with LMARGIN spaces and limits them to RMARGIN columns + total. If WMARGIN >= 0, words that extend past RMARGIN are wrapped by + replacing the whitespace before them with a newline and WMARGIN spaces. + Otherwise, chars beyond RMARGIN are simply dropped until a newline. + Returns NULL if there was an error. */ +argp_fmtstream_t +__argp_make_fmtstream (FILE *stream, + size_t lmargin, size_t rmargin, ssize_t wmargin) +{ + argp_fmtstream_t fs; + + fs = (struct argp_fmtstream *) malloc (sizeof (struct argp_fmtstream)); + if (fs != NULL) + { + fs->stream = stream; + + fs->lmargin = lmargin; + fs->rmargin = rmargin; + fs->wmargin = wmargin; + fs->point_col = 0; + fs->point_offs = 0; + + fs->buf = (char *) malloc (INIT_BUF_SIZE); + if (! fs->buf) + { + free (fs); + fs = 0; + } + else + { + fs->p = fs->buf; + fs->end = fs->buf + INIT_BUF_SIZE; + } + } + + return fs; +} +#if 0 +/* Not exported. */ +#ifdef weak_alias +weak_alias (__argp_make_fmtstream, argp_make_fmtstream) +#endif +#endif + +/* Flush FS to its stream, and free it (but don't close the stream). */ +void +__argp_fmtstream_free (argp_fmtstream_t fs) +{ + __argp_fmtstream_update (fs); + if (fs->p > fs->buf) + { +#ifdef USE_IN_LIBIO + __fxprintf (fs->stream, "%.*s", (int) (fs->p - fs->buf), fs->buf); +#else + fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream); +#endif + } + free (fs->buf); + free (fs); +} +#if 0 +/* Not exported. */ +#ifdef weak_alias +weak_alias (__argp_fmtstream_free, argp_fmtstream_free) +#endif +#endif + +/* Process FS's buffer so that line wrapping is done from POINT_OFFS to the + end of its buffer. This code is mostly from glibc stdio/linewrap.c. */ +void +__argp_fmtstream_update (argp_fmtstream_t fs) +{ + char *buf, *nl; + size_t len; + + /* Scan the buffer for newlines. */ + buf = fs->buf + fs->point_offs; + while (buf < fs->p) + { + size_t r; + + if (fs->point_col == 0 && fs->lmargin != 0) + { + /* We are starting a new line. Print spaces to the left margin. */ + const size_t pad = fs->lmargin; + if (fs->p + pad < fs->end) + { + /* We can fit in them in the buffer by moving the + buffer text up and filling in the beginning. */ + memmove (buf + pad, buf, fs->p - buf); + fs->p += pad; /* Compensate for bigger buffer. */ + memset (buf, ' ', pad); /* Fill in the spaces. */ + buf += pad; /* Don't bother searching them. */ + } + else + { + /* No buffer space for spaces. Must flush. */ + size_t i; + for (i = 0; i < pad; i++) + { +#ifdef USE_IN_LIBIO + if (_IO_fwide (fs->stream, 0) > 0) + putwc_unlocked (L' ', fs->stream); + else +#endif + putc_unlocked (' ', fs->stream); + } + } + fs->point_col = pad; + } + + len = fs->p - buf; + nl = memchr (buf, '\n', len); + + if (fs->point_col < 0) + fs->point_col = 0; + + if (!nl) + { + /* The buffer ends in a partial line. */ + + if (fs->point_col + len < fs->rmargin) + { + /* The remaining buffer text is a partial line and fits + within the maximum line width. Advance point for the + characters to be written and stop scanning. */ + fs->point_col += len; + break; + } + else + /* Set the end-of-line pointer for the code below to + the end of the buffer. */ + nl = fs->p; + } + else if (fs->point_col + (nl - buf) < (ssize_t) fs->rmargin) + { + /* The buffer contains a full line that fits within the maximum + line width. Reset point and scan the next line. */ + fs->point_col = 0; + buf = nl + 1; + continue; + } + + /* This line is too long. */ + r = fs->rmargin - 1; + + if (fs->wmargin < 0) + { + /* Truncate the line by overwriting the excess with the + newline and anything after it in the buffer. */ + if (nl < fs->p) + { + memmove (buf + (r - fs->point_col), nl, fs->p - nl); + fs->p -= buf + (r - fs->point_col) - nl; + /* Reset point for the next line and start scanning it. */ + fs->point_col = 0; + buf += r + 1; /* Skip full line plus \n. */ + } + else + { + /* The buffer ends with a partial line that is beyond the + maximum line width. Advance point for the characters + written, and discard those past the max from the buffer. */ + fs->point_col += len; + fs->p -= fs->point_col - r; + break; + } + } + else + { + /* Do word wrap. Go to the column just past the maximum line + width and scan back for the beginning of the word there. + Then insert a line break. */ + + char *p, *nextline; + int i; + + p = buf + (r + 1 - fs->point_col); + while (p >= buf && !isblank ((unsigned char) *p)) + --p; + nextline = p + 1; /* This will begin the next line. */ + + if (nextline > buf) + { + /* Swallow separating blanks. */ + if (p >= buf) + do + --p; + while (p >= buf && isblank ((unsigned char) *p)); + nl = p + 1; /* The newline will replace the first blank. */ + } + else + { + /* A single word that is greater than the maximum line width. + Oh well. Put it on an overlong line by itself. */ + p = buf + (r + 1 - fs->point_col); + /* Find the end of the long word. */ + if (p < nl) + do + ++p; + while (p < nl && !isblank ((unsigned char) *p)); + if (p == nl) + { + /* It already ends a line. No fussing required. */ + fs->point_col = 0; + buf = nl + 1; + continue; + } + /* We will move the newline to replace the first blank. */ + nl = p; + /* Swallow separating blanks. */ + do + ++p; + while (isblank ((unsigned char) *p)); + /* The next line will start here. */ + nextline = p; + } + + /* Note: There are a bunch of tests below for + NEXTLINE == BUF + LEN + 1; this case is where NL happens to fall + at the end of the buffer, and NEXTLINE is in fact empty (and so + we need not be careful to maintain its contents). */ + + if ((nextline == buf + len + 1 + ? fs->end - nl < fs->wmargin + 1 + : nextline - (nl + 1) < fs->wmargin) + && fs->p > nextline) + { + /* The margin needs more blanks than we removed. */ + if (fs->end - fs->p > fs->wmargin + 1) + /* Make some space for them. */ + { + size_t mv = fs->p - nextline; + memmove (nl + 1 + fs->wmargin, nextline, mv); + nextline = nl + 1 + fs->wmargin; + len = nextline + mv - buf; + *nl++ = '\n'; + } + else + /* Output the first line so we can use the space. */ + { +#ifdef _LIBC + __fxprintf (fs->stream, "%.*s\n", + (int) (nl - fs->buf), fs->buf); +#else + if (nl > fs->buf) + fwrite_unlocked (fs->buf, 1, nl - fs->buf, fs->stream); + putc_unlocked ('\n', fs->stream); +#endif + + len += buf - fs->buf; + nl = buf = fs->buf; + } + } + else + /* We can fit the newline and blanks in before + the next word. */ + *nl++ = '\n'; + + if (nextline - nl >= fs->wmargin + || (nextline == buf + len + 1 && fs->end - nextline >= fs->wmargin)) + /* Add blanks up to the wrap margin column. */ + for (i = 0; i < fs->wmargin; ++i) + *nl++ = ' '; + else + for (i = 0; i < fs->wmargin; ++i) +#ifdef USE_IN_LIBIO + if (_IO_fwide (fs->stream, 0) > 0) + putwc_unlocked (L' ', fs->stream); + else +#endif + putc_unlocked (' ', fs->stream); + + /* Copy the tail of the original buffer into the current buffer + position. */ + if (nl < nextline) + memmove (nl, nextline, buf + len - nextline); + len -= nextline - buf; + + /* Continue the scan on the remaining lines in the buffer. */ + buf = nl; + + /* Restore bufp to include all the remaining text. */ + fs->p = nl + len; + + /* Reset the counter of what has been output this line. If wmargin + is 0, we want to avoid the lmargin getting added, so we set + point_col to a magic value of -1 in that case. */ + fs->point_col = fs->wmargin ? fs->wmargin : -1; + } + } + + /* Remember that we've scanned as far as the end of the buffer. */ + fs->point_offs = fs->p - fs->buf; +} + +/* Ensure that FS has space for AMOUNT more bytes in its buffer, either by + growing the buffer, or by flushing it. True is returned iff we succeed. */ +int +__argp_fmtstream_ensure (struct argp_fmtstream *fs, size_t amount) +{ + if ((size_t) (fs->end - fs->p) < amount) + { + ssize_t wrote; + + /* Flush FS's buffer. */ + __argp_fmtstream_update (fs); + +#ifdef _LIBC + __fxprintf (fs->stream, "%.*s", (int) (fs->p - fs->buf), fs->buf); + wrote = fs->p - fs->buf; +#else + wrote = fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream); +#endif + if (wrote == fs->p - fs->buf) + { + fs->p = fs->buf; + fs->point_offs = 0; + } + else + { + fs->p -= wrote; + fs->point_offs -= wrote; + memmove (fs->buf, fs->buf + wrote, fs->p - fs->buf); + return 0; + } + + if ((size_t) (fs->end - fs->buf) < amount) + /* Gotta grow the buffer. */ + { + size_t old_size = fs->end - fs->buf; + size_t new_size = old_size + amount; + char *new_buf; + + if (new_size < old_size || ! (new_buf = realloc (fs->buf, new_size))) + { + __set_errno (ENOMEM); + return 0; + } + + fs->buf = new_buf; + fs->end = new_buf + new_size; + fs->p = fs->buf; + } + } + + return 1; +} + +ssize_t +__argp_fmtstream_printf (struct argp_fmtstream *fs, const char *fmt, ...) +{ + int out; + size_t avail; + size_t size_guess = PRINTF_SIZE_GUESS; /* How much space to reserve. */ + + do + { + va_list args; + + if (! __argp_fmtstream_ensure (fs, size_guess)) + return -1; + + va_start (args, fmt); + avail = fs->end - fs->p; + out = __vsnprintf (fs->p, avail, fmt, args); + va_end (args); + if ((size_t) out >= avail) + size_guess = out + 1; + } + while ((size_t) out >= avail); + + fs->p += out; + + return out; +} +#if 0 +/* Not exported. */ +#ifdef weak_alias +weak_alias (__argp_fmtstream_printf, argp_fmtstream_printf) +#endif +#endif + +#endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ diff --git a/grub-core/gnulib/argp-fmtstream.h b/grub-core/gnulib/argp-fmtstream.h new file mode 100644 index 0000000..b913d1b --- /dev/null +++ b/grub-core/gnulib/argp-fmtstream.h @@ -0,0 +1,354 @@ +/* Word-wrapping and line-truncating streams. + Copyright (C) 1997, 2006-2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* This package emulates glibc `line_wrap_stream' semantics for systems that + don't have that. If the system does have it, it is just a wrapper for + that. This header file is only used internally while compiling argp, and + shouldn't be installed. */ + +#ifndef _ARGP_FMTSTREAM_H +#define _ARGP_FMTSTREAM_H + +#include +#include +#include + +#ifndef __attribute__ +/* The __attribute__ feature is available in gcc versions 2.5 and later. + The __-protected variants of the attributes 'format' and 'printf' are + accepted by gcc versions 2.6.4 (effectively 2.7) and later. + We enable __attribute__ only if these are supported too, because + gnulib and libintl do '#define printf __printf__' when they override + the 'printf' function. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(Spec) /* empty */ +# endif +#endif + +#if (_LIBC - 0 && !defined (USE_IN_LIBIO)) \ + || (defined (__GNU_LIBRARY__) && defined (HAVE_LINEWRAP_H)) +/* line_wrap_stream is available, so use that. */ +#define ARGP_FMTSTREAM_USE_LINEWRAP +#endif + +#ifdef ARGP_FMTSTREAM_USE_LINEWRAP +/* Just be a simple wrapper for line_wrap_stream; the semantics are + *slightly* different, as line_wrap_stream doesn't actually make a new + object, it just modifies the given stream (reversibly) to do + line-wrapping. Since we control who uses this code, it doesn't matter. */ + +#include + +typedef FILE *argp_fmtstream_t; + +#define argp_make_fmtstream line_wrap_stream +#define __argp_make_fmtstream line_wrap_stream +#define argp_fmtstream_free line_unwrap_stream +#define __argp_fmtstream_free line_unwrap_stream + +#define __argp_fmtstream_putc(fs,ch) putc(ch,fs) +#define argp_fmtstream_putc(fs,ch) putc(ch,fs) +#define __argp_fmtstream_puts(fs,str) fputs(str,fs) +#define argp_fmtstream_puts(fs,str) fputs(str,fs) +#define __argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs) +#define argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs) +#define __argp_fmtstream_printf fprintf +#define argp_fmtstream_printf fprintf + +#define __argp_fmtstream_lmargin line_wrap_lmargin +#define argp_fmtstream_lmargin line_wrap_lmargin +#define __argp_fmtstream_set_lmargin line_wrap_set_lmargin +#define argp_fmtstream_set_lmargin line_wrap_set_lmargin +#define __argp_fmtstream_rmargin line_wrap_rmargin +#define argp_fmtstream_rmargin line_wrap_rmargin +#define __argp_fmtstream_set_rmargin line_wrap_set_rmargin +#define argp_fmtstream_set_rmargin line_wrap_set_rmargin +#define __argp_fmtstream_wmargin line_wrap_wmargin +#define argp_fmtstream_wmargin line_wrap_wmargin +#define __argp_fmtstream_set_wmargin line_wrap_set_wmargin +#define argp_fmtstream_set_wmargin line_wrap_set_wmargin +#define __argp_fmtstream_point line_wrap_point +#define argp_fmtstream_point line_wrap_point + +#else /* !ARGP_FMTSTREAM_USE_LINEWRAP */ +/* Guess we have to define our own version. */ + +struct argp_fmtstream +{ + FILE *stream; /* The stream we're outputting to. */ + + size_t lmargin, rmargin; /* Left and right margins. */ + ssize_t wmargin; /* Margin to wrap to, or -1 to truncate. */ + + /* Point in buffer to which we've processed for wrapping, but not output. */ + size_t point_offs; + /* Output column at POINT_OFFS, or -1 meaning 0 but don't add lmargin. */ + ssize_t point_col; + + char *buf; /* Output buffer. */ + char *p; /* Current end of text in BUF. */ + char *end; /* Absolute end of BUF. */ +}; + +typedef struct argp_fmtstream *argp_fmtstream_t; + +/* Return an argp_fmtstream that outputs to STREAM, and which prefixes lines + written on it with LMARGIN spaces and limits them to RMARGIN columns + total. If WMARGIN >= 0, words that extend past RMARGIN are wrapped by + replacing the whitespace before them with a newline and WMARGIN spaces. + Otherwise, chars beyond RMARGIN are simply dropped until a newline. + Returns NULL if there was an error. */ +extern argp_fmtstream_t __argp_make_fmtstream (FILE *__stream, + size_t __lmargin, + size_t __rmargin, + ssize_t __wmargin); +extern argp_fmtstream_t argp_make_fmtstream (FILE *__stream, + size_t __lmargin, + size_t __rmargin, + ssize_t __wmargin); + +/* Flush __FS to its stream, and free it (but don't close the stream). */ +extern void __argp_fmtstream_free (argp_fmtstream_t __fs); +extern void argp_fmtstream_free (argp_fmtstream_t __fs); + +extern ssize_t __argp_fmtstream_printf (argp_fmtstream_t __fs, + const char *__fmt, ...) + __attribute__ ((__format__ (printf, 2, 3))); +extern ssize_t argp_fmtstream_printf (argp_fmtstream_t __fs, + const char *__fmt, ...) + __attribute__ ((__format__ (printf, 2, 3))); + +#if _LIBC || !defined __OPTIMIZE__ +extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); +extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch); + +extern int __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str); +extern int argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str); + +extern size_t __argp_fmtstream_write (argp_fmtstream_t __fs, + const char *__str, size_t __len); +extern size_t argp_fmtstream_write (argp_fmtstream_t __fs, + const char *__str, size_t __len); +#endif + +/* Access macros for various bits of state. */ +#define argp_fmtstream_lmargin(__fs) ((__fs)->lmargin) +#define argp_fmtstream_rmargin(__fs) ((__fs)->rmargin) +#define argp_fmtstream_wmargin(__fs) ((__fs)->wmargin) +#define __argp_fmtstream_lmargin argp_fmtstream_lmargin +#define __argp_fmtstream_rmargin argp_fmtstream_rmargin +#define __argp_fmtstream_wmargin argp_fmtstream_wmargin + +#if _LIBC || !defined __OPTIMIZE__ +/* Set __FS's left margin to LMARGIN and return the old value. */ +extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, + size_t __lmargin); +extern size_t __argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, + size_t __lmargin); + +/* Set __FS's right margin to __RMARGIN and return the old value. */ +extern size_t argp_fmtstream_set_rmargin (argp_fmtstream_t __fs, + size_t __rmargin); +extern size_t __argp_fmtstream_set_rmargin (argp_fmtstream_t __fs, + size_t __rmargin); + +/* Set __FS's wrap margin to __WMARGIN and return the old value. */ +extern size_t argp_fmtstream_set_wmargin (argp_fmtstream_t __fs, + size_t __wmargin); +extern size_t __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs, + size_t __wmargin); + +/* Return the column number of the current output point in __FS. */ +extern size_t argp_fmtstream_point (argp_fmtstream_t __fs); +extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs); +#endif + +/* Internal routines. */ +extern void _argp_fmtstream_update (argp_fmtstream_t __fs); +extern void __argp_fmtstream_update (argp_fmtstream_t __fs); +extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount); +extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount); + +#ifdef __OPTIMIZE__ +/* Inline versions of above routines. */ + +#if !_LIBC +#define __argp_fmtstream_putc argp_fmtstream_putc +#define __argp_fmtstream_puts argp_fmtstream_puts +#define __argp_fmtstream_write argp_fmtstream_write +#define __argp_fmtstream_set_lmargin argp_fmtstream_set_lmargin +#define __argp_fmtstream_set_rmargin argp_fmtstream_set_rmargin +#define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin +#define __argp_fmtstream_point argp_fmtstream_point +#define __argp_fmtstream_update _argp_fmtstream_update +#define __argp_fmtstream_ensure _argp_fmtstream_ensure +#endif + +#ifndef ARGP_FS_EI +# ifdef __GNUC__ + /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 + inline semantics, unless -fgnu89-inline is used. It defines a macro + __GNUC_STDC_INLINE__ to indicate this situation or a macro + __GNUC_GNU_INLINE__ to indicate the opposite situation. + + GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline + semantics but warns, unless -fgnu89-inline is used: + warning: C99 inline functions are not supported; using GNU89 + warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute + It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. + + Whereas Apple GCC 4.0.1 build 5479 without -std=c99 or -std=gnu99 + implements the GNU C inline semantics and defines the macro + __GNUC_GNU_INLINE__, but it does not warn and does not support + __attribute__ ((__gnu_inline__)). + + All in all, these are the possible combinations. For every compiler, + we need to choose ARGP_FS_EI so that the corresponding table cell + contains an "ok". + + \ ARGP_FS_EI inline extern extern + \ inline inline + CC \ __attribute__ + ((gnu_inline)) + + gcc 4.3.0 error ok ok + gcc 4.3.0 -std=gnu99 -fgnu89-inline error ok ok + gcc 4.3.0 -std=gnu99 ok error ok + + gcc 4.2.2 error ok ok + gcc 4.2.2 -std=gnu99 -fgnu89-inline error ok ok + gcc 4.2.2 -std=gnu99 error warning ok + + gcc 4.1.2 error ok warning + gcc 4.1.2 -std=gnu99 error ok warning + + Apple gcc 4.0.1 error ok warning + Apple gcc 4.0.1 -std=gnu99 ok error warning + */ +# if defined __GNUC_STDC_INLINE__ +# define ARGP_FS_EI inline +# elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) +# define ARGP_FS_EI extern inline __attribute__ ((__gnu_inline__)) +# else +# define ARGP_FS_EI extern inline +# endif +# else + /* With other compilers, assume the ISO C99 meaning of 'inline', if + the compiler supports 'inline' at all. */ +# define ARGP_FS_EI inline +# endif +#endif + +ARGP_FS_EI size_t +__argp_fmtstream_write (argp_fmtstream_t __fs, + const char *__str, size_t __len) +{ + if (__fs->p + __len <= __fs->end || __argp_fmtstream_ensure (__fs, __len)) + { + memcpy (__fs->p, __str, __len); + __fs->p += __len; + return __len; + } + else + return 0; +} + +ARGP_FS_EI int +__argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str) +{ + size_t __len = strlen (__str); + if (__len) + { + size_t __wrote = __argp_fmtstream_write (__fs, __str, __len); + return __wrote == __len ? 0 : -1; + } + else + return 0; +} + +ARGP_FS_EI int +__argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch) +{ + if (__fs->p < __fs->end || __argp_fmtstream_ensure (__fs, 1)) + return *__fs->p++ = __ch; + else + return EOF; +} + +/* Set __FS's left margin to __LMARGIN and return the old value. */ +ARGP_FS_EI size_t +__argp_fmtstream_set_lmargin (argp_fmtstream_t __fs, size_t __lmargin) +{ + size_t __old; + if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) + __argp_fmtstream_update (__fs); + __old = __fs->lmargin; + __fs->lmargin = __lmargin; + return __old; +} + +/* Set __FS's right margin to __RMARGIN and return the old value. */ +ARGP_FS_EI size_t +__argp_fmtstream_set_rmargin (argp_fmtstream_t __fs, size_t __rmargin) +{ + size_t __old; + if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) + __argp_fmtstream_update (__fs); + __old = __fs->rmargin; + __fs->rmargin = __rmargin; + return __old; +} + +/* Set FS's wrap margin to __WMARGIN and return the old value. */ +ARGP_FS_EI size_t +__argp_fmtstream_set_wmargin (argp_fmtstream_t __fs, size_t __wmargin) +{ + size_t __old; + if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) + __argp_fmtstream_update (__fs); + __old = __fs->wmargin; + __fs->wmargin = __wmargin; + return __old; +} + +/* Return the column number of the current output point in __FS. */ +ARGP_FS_EI size_t +__argp_fmtstream_point (argp_fmtstream_t __fs) +{ + if ((size_t) (__fs->p - __fs->buf) > __fs->point_offs) + __argp_fmtstream_update (__fs); + return __fs->point_col >= 0 ? __fs->point_col : 0; +} + +#if !_LIBC +#undef __argp_fmtstream_putc +#undef __argp_fmtstream_puts +#undef __argp_fmtstream_write +#undef __argp_fmtstream_set_lmargin +#undef __argp_fmtstream_set_rmargin +#undef __argp_fmtstream_set_wmargin +#undef __argp_fmtstream_point +#undef __argp_fmtstream_update +#undef __argp_fmtstream_ensure +#endif + +#endif /* __OPTIMIZE__ */ + +#endif /* ARGP_FMTSTREAM_USE_LINEWRAP */ + +#endif /* argp-fmtstream.h */ diff --git a/grub-core/gnulib/argp-fs-xinl.c b/grub-core/gnulib/argp-fs-xinl.c new file mode 100644 index 0000000..2c683f9 --- /dev/null +++ b/grub-core/gnulib/argp-fs-xinl.c @@ -0,0 +1,42 @@ +/* Real definitions for extern inline functions in argp-fmtstream.h + Copyright (C) 1997, 2003, 2004, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define ARGP_FS_EI +#undef __OPTIMIZE__ +#define __OPTIMIZE__ 1 +#include "argp-fmtstream.h" + +#if 0 +/* Not exported. */ +/* Add weak aliases. */ +#if _LIBC - 0 && !defined (ARGP_FMTSTREAM_USE_LINEWRAP) && defined (weak_alias) + +weak_alias (__argp_fmtstream_putc, argp_fmtstream_putc) +weak_alias (__argp_fmtstream_puts, argp_fmtstream_puts) +weak_alias (__argp_fmtstream_write, argp_fmtstream_write) +weak_alias (__argp_fmtstream_set_lmargin, argp_fmtstream_set_lmargin) +weak_alias (__argp_fmtstream_set_rmargin, argp_fmtstream_set_rmargin) +weak_alias (__argp_fmtstream_set_wmargin, argp_fmtstream_set_wmargin) +weak_alias (__argp_fmtstream_point, argp_fmtstream_point) + +#endif +#endif diff --git a/grub-core/gnulib/argp-help.c b/grub-core/gnulib/argp-help.c new file mode 100644 index 0000000..5b6d950 --- /dev/null +++ b/grub-core/gnulib/argp-help.c @@ -0,0 +1,1951 @@ +/* Hierarchial argument parsing help output + Copyright (C) 1995-2005, 2007, 2009-2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef USE_IN_LIBIO +# include +#endif + +#ifdef _LIBC +# include +# undef dgettext +# define dgettext(domain, msgid) \ + INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES) +#else +# include "gettext.h" +#endif + +#include "argp.h" +#include "argp-fmtstream.h" +#include "argp-namefrob.h" + +#ifndef SIZE_MAX +# define SIZE_MAX ((size_t) -1) +#endif + +/* User-selectable (using an environment variable) formatting parameters. + + These may be specified in an environment variable called `ARGP_HELP_FMT', + with a contents like: VAR1=VAL1,VAR2=VAL2,BOOLVAR2,no-BOOLVAR2 + Where VALn must be a positive integer. The list of variables is in the + UPARAM_NAMES vector, below. */ + +/* Default parameters. */ +#define DUP_ARGS 0 /* True if option argument can be duplicated. */ +#define DUP_ARGS_NOTE 1 /* True to print a note about duplicate args. */ +#define SHORT_OPT_COL 2 /* column in which short options start */ +#define LONG_OPT_COL 6 /* column in which long options start */ +#define DOC_OPT_COL 2 /* column in which doc options start */ +#define OPT_DOC_COL 29 /* column in which option text starts */ +#define HEADER_COL 1 /* column in which group headers are printed */ +#define USAGE_INDENT 12 /* indentation of wrapped usage lines */ +#define RMARGIN 79 /* right margin used for wrapping */ + +/* User-selectable (using an environment variable) formatting parameters. + They must all be of type `int' for the parsing code to work. */ +struct uparams +{ + /* If true, arguments for an option are shown with both short and long + options, even when a given option has both, e.g. `-x ARG, --longx=ARG'. + If false, then if an option has both, the argument is only shown with + the long one, e.g., `-x, --longx=ARG', and a message indicating that + this really means both is printed below the options. */ + int dup_args; + + /* This is true if when DUP_ARGS is false, and some duplicate arguments have + been suppressed, an explanatory message should be printed. */ + int dup_args_note; + + /* Various output columns. */ + int short_opt_col; /* column in which short options start */ + int long_opt_col; /* column in which long options start */ + int doc_opt_col; /* column in which doc options start */ + int opt_doc_col; /* column in which option text starts */ + int header_col; /* column in which group headers are printed */ + int usage_indent; /* indentation of wrapped usage lines */ + int rmargin; /* right margin used for wrapping */ + + int valid; /* True when the values in here are valid. */ +}; + +/* This is a global variable, as user options are only ever read once. */ +static struct uparams uparams = { + DUP_ARGS, DUP_ARGS_NOTE, + SHORT_OPT_COL, LONG_OPT_COL, DOC_OPT_COL, OPT_DOC_COL, HEADER_COL, + USAGE_INDENT, RMARGIN, + 0 +}; + +/* A particular uparam, and what the user name is. */ +struct uparam_name +{ + const char *name; /* User name. */ + int is_bool; /* Whether it's `boolean'. */ + size_t uparams_offs; /* Location of the (int) field in UPARAMS. */ +}; + +/* The name-field mappings we know about. */ +static const struct uparam_name uparam_names[] = +{ + { "dup-args", 1, offsetof (struct uparams, dup_args) }, + { "dup-args-note", 1, offsetof (struct uparams, dup_args_note) }, + { "short-opt-col", 0, offsetof (struct uparams, short_opt_col) }, + { "long-opt-col", 0, offsetof (struct uparams, long_opt_col) }, + { "doc-opt-col", 0, offsetof (struct uparams, doc_opt_col) }, + { "opt-doc-col", 0, offsetof (struct uparams, opt_doc_col) }, + { "header-col", 0, offsetof (struct uparams, header_col) }, + { "usage-indent", 0, offsetof (struct uparams, usage_indent) }, + { "rmargin", 0, offsetof (struct uparams, rmargin) }, + { 0 } +}; + +static void +validate_uparams (const struct argp_state *state, struct uparams *upptr) +{ + const struct uparam_name *up; + + for (up = uparam_names; up->name; up++) + { + if (up->is_bool + || up->uparams_offs == offsetof (struct uparams, rmargin)) + continue; + if (*(int *)((char *)upptr + up->uparams_offs) >= upptr->rmargin) + { + __argp_failure (state, 0, 0, + dgettext (state->root_argp->argp_domain, + "\ +ARGP_HELP_FMT: %s value is less than or equal to %s"), + "rmargin", up->name); + return; + } + } + uparams = *upptr; + uparams.valid = 1; +} + +/* Read user options from the environment, and fill in UPARAMS appropiately. */ +static void +fill_in_uparams (const struct argp_state *state) +{ + const char *var = getenv ("ARGP_HELP_FMT"); + struct uparams new_params = uparams; + +#define SKIPWS(p) do { while (isspace ((unsigned char) *p)) p++; } while (0); + + if (var) + { + /* Parse var. */ + while (*var) + { + SKIPWS (var); + + if (isalpha ((unsigned char) *var)) + { + size_t var_len; + const struct uparam_name *un; + int unspec = 0, val = 0; + const char *arg = var; + + while (isalnum ((unsigned char) *arg) || *arg == '-' || *arg == '_') + arg++; + var_len = arg - var; + + SKIPWS (arg); + + if (*arg == '\0' || *arg == ',') + unspec = 1; + else if (*arg == '=') + { + arg++; + SKIPWS (arg); + } + + if (unspec) + { + if (var[0] == 'n' && var[1] == 'o' && var[2] == '-') + { + val = 0; + var += 3; + var_len -= 3; + } + else + val = 1; + } + else if (isdigit ((unsigned char) *arg)) + { + val = atoi (arg); + while (isdigit ((unsigned char) *arg)) + arg++; + SKIPWS (arg); + } + + for (un = uparam_names; un->name; un++) + if (strlen (un->name) == var_len + && strncmp (var, un->name, var_len) == 0) + { + if (unspec && !un->is_bool) + __argp_failure (state, 0, 0, + dgettext (state->root_argp->argp_domain, + "\ +%.*s: ARGP_HELP_FMT parameter requires a value"), + (int) var_len, var); + else if (val < 0) + __argp_failure (state, 0, 0, + dgettext (state->root_argp->argp_domain, + "\ +%.*s: ARGP_HELP_FMT parameter must be positive"), + (int) var_len, var); + else + *(int *)((char *)&new_params + un->uparams_offs) = val; + break; + } + if (! un->name) + __argp_failure (state, 0, 0, + dgettext (state->root_argp->argp_domain, "\ +%.*s: Unknown ARGP_HELP_FMT parameter"), + (int) var_len, var); + + var = arg; + if (*var == ',') + var++; + } + else if (*var) + { + __argp_failure (state, 0, 0, + dgettext (state->root_argp->argp_domain, + "Garbage in ARGP_HELP_FMT: %s"), var); + break; + } + } + validate_uparams (state, &new_params); + } +} + +/* Returns true if OPT hasn't been marked invisible. Visibility only affects + whether OPT is displayed or used in sorting, not option shadowing. */ +#define ovisible(opt) (! ((opt)->flags & OPTION_HIDDEN)) + +/* Returns true if OPT is an alias for an earlier option. */ +#define oalias(opt) ((opt)->flags & OPTION_ALIAS) + +/* Returns true if OPT is an documentation-only entry. */ +#define odoc(opt) ((opt)->flags & OPTION_DOC) + +/* Returns true if OPT should not be translated */ +#define onotrans(opt) ((opt)->flags & OPTION_NO_TRANS) + +/* Returns true if OPT is the end-of-list marker for a list of options. */ +#define oend(opt) __option_is_end (opt) + +/* Returns true if OPT has a short option. */ +#define oshort(opt) __option_is_short (opt) + +/* + The help format for a particular option is like: + + -xARG, -yARG, --long1=ARG, --long2=ARG Documentation... + + Where ARG will be omitted if there's no argument, for this option, or + will be surrounded by "[" and "]" appropiately if the argument is + optional. The documentation string is word-wrapped appropiately, and if + the list of options is long enough, it will be started on a separate line. + If there are no short options for a given option, the first long option is + indented slighly in a way that's supposed to make most long options appear + to be in a separate column. + + For example, the following output (from ps): + + -p PID, --pid=PID List the process PID + --pgrp=PGRP List processes in the process group PGRP + -P, -x, --no-parent Include processes without parents + -Q, --all-fields Don't elide unusable fields (normally if there's + some reason ps can't print a field for any + process, it's removed from the output entirely) + -r, --reverse, --gratuitously-long-reverse-option + Reverse the order of any sort + --session[=SID] Add the processes from the session SID (which + defaults to the sid of the current process) + + Here are some more options: + -f ZOT, --foonly=ZOT Glork a foonly + -z, --zaza Snit a zar + + -?, --help Give this help list + --usage Give a short usage message + -V, --version Print program version + + The struct argp_option array for the above could look like: + + { + {"pid", 'p', "PID", 0, "List the process PID"}, + {"pgrp", OPT_PGRP, "PGRP", 0, "List processes in the process group PGRP"}, + {"no-parent", 'P', 0, 0, "Include processes without parents"}, + {0, 'x', 0, OPTION_ALIAS}, + {"all-fields",'Q', 0, 0, "Don't elide unusable fields (normally" + " if there's some reason ps can't" + " print a field for any process, it's" + " removed from the output entirely)" }, + {"reverse", 'r', 0, 0, "Reverse the order of any sort"}, + {"gratuitously-long-reverse-option", 0, 0, OPTION_ALIAS}, + {"session", OPT_SESS, "SID", OPTION_ARG_OPTIONAL, + "Add the processes from the session" + " SID (which defaults to the sid of" + " the current process)" }, + + {0,0,0,0, "Here are some more options:"}, + {"foonly", 'f', "ZOT", 0, "Glork a foonly"}, + {"zaza", 'z', 0, 0, "Snit a zar"}, + + {0} + } + + Note that the last three options are automatically supplied by argp_parse, + unless you tell it not to with ARGP_NO_HELP. + +*/ + +/* Returns true if CH occurs between BEG and END. */ +static int +find_char (char ch, char *beg, char *end) +{ + while (beg < end) + if (*beg == ch) + return 1; + else + beg++; + return 0; +} + +struct hol_cluster; /* fwd decl */ + +struct hol_entry +{ + /* First option. */ + const struct argp_option *opt; + /* Number of options (including aliases). */ + unsigned num; + + /* A pointers into the HOL's short_options field, to the first short option + letter for this entry. The order of the characters following this point + corresponds to the order of options pointed to by OPT, and there are at + most NUM. A short option recorded in a option following OPT is only + valid if it occurs in the right place in SHORT_OPTIONS (otherwise it's + probably been shadowed by some other entry). */ + char *short_options; + + /* Entries are sorted by their group first, in the order: + 1, 2, ..., n, 0, -m, ..., -2, -1 + and then alphabetically within each group. The default is 0. */ + int group; + + /* The cluster of options this entry belongs to, or 0 if none. */ + struct hol_cluster *cluster; + + /* The argp from which this option came. */ + const struct argp *argp; + + /* Position in the array */ + unsigned ord; +}; + +/* A cluster of entries to reflect the argp tree structure. */ +struct hol_cluster +{ + /* A descriptive header printed before options in this cluster. */ + const char *header; + + /* Used to order clusters within the same group with the same parent, + according to the order in which they occurred in the parent argp's child + list. */ + int index; + + /* How to sort this cluster with respect to options and other clusters at the + same depth (clusters always follow options in the same group). */ + int group; + + /* The cluster to which this cluster belongs, or 0 if it's at the base + level. */ + struct hol_cluster *parent; + + /* The argp from which this cluster is (eventually) derived. */ + const struct argp *argp; + + /* The distance this cluster is from the root. */ + int depth; + + /* Clusters in a given hol are kept in a linked list, to make freeing them + possible. */ + struct hol_cluster *next; +}; + +/* A list of options for help. */ +struct hol +{ + /* An array of hol_entry's. */ + struct hol_entry *entries; + /* The number of entries in this hol. If this field is zero, the others + are undefined. */ + unsigned num_entries; + + /* A string containing all short options in this HOL. Each entry contains + pointers into this string, so the order can't be messed with blindly. */ + char *short_options; + + /* Clusters of entries in this hol. */ + struct hol_cluster *clusters; +}; + +/* Create a struct hol from the options in ARGP. CLUSTER is the + hol_cluster in which these entries occur, or 0, if at the root. */ +static struct hol * +make_hol (const struct argp *argp, struct hol_cluster *cluster) +{ + char *so; + const struct argp_option *o; + const struct argp_option *opts = argp->options; + struct hol_entry *entry; + unsigned num_short_options = 0; + struct hol *hol = malloc (sizeof (struct hol)); + + assert (hol); + + hol->num_entries = 0; + hol->clusters = 0; + + if (opts) + { + int cur_group = 0; + + /* The first option must not be an alias. */ + assert (! oalias (opts)); + + /* Calculate the space needed. */ + for (o = opts; ! oend (o); o++) + { + if (! oalias (o)) + hol->num_entries++; + if (oshort (o)) + num_short_options++; /* This is an upper bound. */ + } + + hol->entries = malloc (sizeof (struct hol_entry) * hol->num_entries); + hol->short_options = malloc (num_short_options + 1); + + assert (hol->entries && hol->short_options); + if (SIZE_MAX <= UINT_MAX) + assert (hol->num_entries <= SIZE_MAX / sizeof (struct hol_entry)); + + /* Fill in the entries. */ + so = hol->short_options; + for (o = opts, entry = hol->entries; ! oend (o); entry++) + { + entry->opt = o; + entry->num = 0; + entry->short_options = so; + entry->group = cur_group = + o->group + ? o->group + : ((!o->name && !o->key) + ? cur_group + 1 + : cur_group); + entry->cluster = cluster; + entry->argp = argp; + + do + { + entry->num++; + if (oshort (o) && ! find_char (o->key, hol->short_options, so)) + /* O has a valid short option which hasn't already been used.*/ + *so++ = o->key; + o++; + } + while (! oend (o) && oalias (o)); + } + *so = '\0'; /* null terminated so we can find the length */ + } + + return hol; +} + +/* Add a new cluster to HOL, with the given GROUP and HEADER (taken from the + associated argp child list entry), INDEX, and PARENT, and return a pointer + to it. ARGP is the argp that this cluster results from. */ +static struct hol_cluster * +hol_add_cluster (struct hol *hol, int group, const char *header, int index, + struct hol_cluster *parent, const struct argp *argp) +{ + struct hol_cluster *cl = malloc (sizeof (struct hol_cluster)); + if (cl) + { + cl->group = group; + cl->header = header; + + cl->index = index; + cl->parent = parent; + cl->argp = argp; + cl->depth = parent ? parent->depth + 1 : 0; + + cl->next = hol->clusters; + hol->clusters = cl; + } + return cl; +} + +/* Free HOL and any resources it uses. */ +static void +hol_free (struct hol *hol) +{ + struct hol_cluster *cl = hol->clusters; + + while (cl) + { + struct hol_cluster *next = cl->next; + free (cl); + cl = next; + } + + if (hol->num_entries > 0) + { + free (hol->entries); + free (hol->short_options); + } + + free (hol); +} + +static int +hol_entry_short_iterate (const struct hol_entry *entry, + int (*func)(const struct argp_option *opt, + const struct argp_option *real, + const char *domain, void *cookie), + const char *domain, void *cookie) +{ + unsigned nopts; + int val = 0; + const struct argp_option *opt, *real = entry->opt; + char *so = entry->short_options; + + for (opt = real, nopts = entry->num; nopts > 0 && !val; opt++, nopts--) + if (oshort (opt) && *so == opt->key) + { + if (!oalias (opt)) + real = opt; + if (ovisible (opt)) + val = (*func)(opt, real, domain, cookie); + so++; + } + + return val; +} + +static inline int +__attribute__ ((always_inline)) +hol_entry_long_iterate (const struct hol_entry *entry, + int (*func)(const struct argp_option *opt, + const struct argp_option *real, + const char *domain, void *cookie), + const char *domain, void *cookie) +{ + unsigned nopts; + int val = 0; + const struct argp_option *opt, *real = entry->opt; + + for (opt = real, nopts = entry->num; nopts > 0 && !val; opt++, nopts--) + if (opt->name) + { + if (!oalias (opt)) + real = opt; + if (ovisible (opt)) + val = (*func)(opt, real, domain, cookie); + } + + return val; +} + +/* Iterator that returns true for the first short option. */ +static int +until_short (const struct argp_option *opt, const struct argp_option *real, + const char *domain, void *cookie) +{ + return oshort (opt) ? opt->key : 0; +} + +/* Returns the first valid short option in ENTRY, or 0 if there is none. */ +static char +hol_entry_first_short (const struct hol_entry *entry) +{ + return hol_entry_short_iterate (entry, until_short, + entry->argp->argp_domain, 0); +} + +/* Returns the first valid long option in ENTRY, or 0 if there is none. */ +static const char * +hol_entry_first_long (const struct hol_entry *entry) +{ + const struct argp_option *opt; + unsigned num; + for (opt = entry->opt, num = entry->num; num > 0; opt++, num--) + if (opt->name && ovisible (opt)) + return opt->name; + return 0; +} + +/* Returns the entry in HOL with the long option name NAME, or 0 if there is + none. */ +static struct hol_entry * +hol_find_entry (struct hol *hol, const char *name) +{ + struct hol_entry *entry = hol->entries; + unsigned num_entries = hol->num_entries; + + while (num_entries-- > 0) + { + const struct argp_option *opt = entry->opt; + unsigned num_opts = entry->num; + + while (num_opts-- > 0) + if (opt->name && ovisible (opt) && strcmp (opt->name, name) == 0) + return entry; + else + opt++; + + entry++; + } + + return 0; +} + +/* If an entry with the long option NAME occurs in HOL, set it's special + sort position to GROUP. */ +static void +hol_set_group (struct hol *hol, const char *name, int group) +{ + struct hol_entry *entry = hol_find_entry (hol, name); + if (entry) + entry->group = group; +} + +/* Order by group: 0, 1, 2, ..., n, -m, ..., -2, -1. + EQ is what to return if GROUP1 and GROUP2 are the same. */ +static int +group_cmp (int group1, int group2, int eq) +{ + if (group1 == group2) + return eq; + else if ((group1 < 0 && group2 < 0) || (group1 >= 0 && group2 >= 0)) + return group1 - group2; + else + return group2 - group1; +} + +/* Compare clusters CL1 & CL2 by the order that they should appear in + output. */ +static int +hol_cluster_cmp (const struct hol_cluster *cl1, const struct hol_cluster *cl2) +{ + /* If one cluster is deeper than the other, use its ancestor at the same + level, so that finding the common ancestor is straightforward. + + clN->depth > 0 means that clN->parent != NULL (see hol_add_cluster) */ + while (cl1->depth > cl2->depth) + cl1 = cl1->parent; + while (cl2->depth > cl1->depth) + cl2 = cl2->parent; + + /* Now reduce both clusters to their ancestors at the point where both have + a common parent; these can be directly compared. */ + while (cl1->parent != cl2->parent) + cl1 = cl1->parent, cl2 = cl2->parent; + + return group_cmp (cl1->group, cl2->group, cl2->index - cl1->index); +} + +/* Return the ancestor of CL that's just below the root (i.e., has a parent + of 0). */ +static struct hol_cluster * +hol_cluster_base (struct hol_cluster *cl) +{ + while (cl->parent) + cl = cl->parent; + return cl; +} + +/* Return true if CL1 is a child of CL2. */ +static int +hol_cluster_is_child (const struct hol_cluster *cl1, + const struct hol_cluster *cl2) +{ + while (cl1 && cl1 != cl2) + cl1 = cl1->parent; + return cl1 == cl2; +} + +/* Given the name of a OPTION_DOC option, modifies NAME to start at the tail + that should be used for comparisons, and returns true iff it should be + treated as a non-option. */ +static int +canon_doc_option (const char **name) +{ + int non_opt; + + if (!*name) + non_opt = 1; + else + { + /* Skip initial whitespace. */ + while (isspace ((unsigned char) **name)) + (*name)++; + /* Decide whether this looks like an option (leading `-') or not. */ + non_opt = (**name != '-'); + /* Skip until part of name used for sorting. */ + while (**name && !isalnum ((unsigned char) **name)) + (*name)++; + } + return non_opt; +} + +#define HOL_ENTRY_PTRCMP(a,b) ((a)->ord < (b)->ord ? -1 : 1) + +/* Order ENTRY1 & ENTRY2 by the order which they should appear in a help + listing. */ +static int +hol_entry_cmp (const struct hol_entry *entry1, + const struct hol_entry *entry2) +{ + /* The group numbers by which the entries should be ordered; if either is + in a cluster, then this is just the group within the cluster. */ + int group1 = entry1->group, group2 = entry2->group; + int rc; + + if (entry1->cluster != entry2->cluster) + { + /* The entries are not within the same cluster, so we can't compare them + directly, we have to use the appropiate clustering level too. */ + if (! entry1->cluster) + /* ENTRY1 is at the `base level', not in a cluster, so we have to + compare it's group number with that of the base cluster in which + ENTRY2 resides. Note that if they're in the same group, the + clustered option always comes laster. */ + return group_cmp (group1, hol_cluster_base (entry2->cluster)->group, -1); + else if (! entry2->cluster) + /* Likewise, but ENTRY2's not in a cluster. */ + return group_cmp (hol_cluster_base (entry1->cluster)->group, group2, 1); + else + /* Both entries are in clusters, we can just compare the clusters. */ + return (rc = hol_cluster_cmp (entry1->cluster, entry2->cluster)) ? + rc : HOL_ENTRY_PTRCMP (entry1, entry2); + } + else if (group1 == group2) + /* The entries are both in the same cluster and group, so compare them + alphabetically. */ + { + int short1 = hol_entry_first_short (entry1); + int short2 = hol_entry_first_short (entry2); + int doc1 = odoc (entry1->opt); + int doc2 = odoc (entry2->opt); + const char *long1 = hol_entry_first_long (entry1); + const char *long2 = hol_entry_first_long (entry2); + + if (doc1) + doc1 = canon_doc_option (&long1); + if (doc2) + doc2 = canon_doc_option (&long2); + + if (doc1 != doc2) + /* `documentation' options always follow normal options (or + documentation options that *look* like normal options). */ + return doc1 - doc2; + else if (!short1 && !short2 && long1 && long2) + /* Only long options. */ + return (rc = __strcasecmp (long1, long2)) ? + rc : HOL_ENTRY_PTRCMP (entry1, entry2); + else + /* Compare short/short, long/short, short/long, using the first + character of long options. Entries without *any* valid + options (such as options with OPTION_HIDDEN set) will be put + first, but as they're not displayed, it doesn't matter where + they are. */ + { + unsigned char first1 = short1 ? short1 : long1 ? *long1 : 0; + unsigned char first2 = short2 ? short2 : long2 ? *long2 : 0; + /* Use tolower, not _tolower, since only the former is + guaranteed to work on something already lower case. */ + int lower_cmp = tolower (first1) - tolower (first2); + /* Compare ignoring case, except when the options are both the + same letter, in which case lower-case always comes first. */ + return lower_cmp ? lower_cmp : + (rc = first2 - first1) ? + rc : HOL_ENTRY_PTRCMP (entry1, entry2); + } + } + else + /* Within the same cluster, but not the same group, so just compare + groups. */ + return group_cmp (group1, group2, HOL_ENTRY_PTRCMP (entry1, entry2)); +} + +/* Version of hol_entry_cmp with correct signature for qsort. */ +static int +hol_entry_qcmp (const void *entry1_v, const void *entry2_v) +{ + return hol_entry_cmp (entry1_v, entry2_v); +} + +/* Sort HOL by group and alphabetically by option name (with short options + taking precedence over long). Since the sorting is for display purposes + only, the shadowing of options isn't effected. */ +static void +hol_sort (struct hol *hol) +{ + if (hol->num_entries > 0) + { + unsigned i; + struct hol_entry *e; + for (i = 0, e = hol->entries; i < hol->num_entries; i++, e++) + e->ord = i; + qsort (hol->entries, hol->num_entries, sizeof (struct hol_entry), + hol_entry_qcmp); + } +} + +/* Append MORE to HOL, destroying MORE in the process. Options in HOL shadow + any in MORE with the same name. */ +static void +hol_append (struct hol *hol, struct hol *more) +{ + struct hol_cluster **cl_end = &hol->clusters; + + /* Steal MORE's cluster list, and add it to the end of HOL's. */ + while (*cl_end) + cl_end = &(*cl_end)->next; + *cl_end = more->clusters; + more->clusters = 0; + + /* Merge entries. */ + if (more->num_entries > 0) + { + if (hol->num_entries == 0) + { + hol->num_entries = more->num_entries; + hol->entries = more->entries; + hol->short_options = more->short_options; + more->num_entries = 0; /* Mark MORE's fields as invalid. */ + } + else + /* Append the entries in MORE to those in HOL, taking care to only add + non-shadowed SHORT_OPTIONS values. */ + { + unsigned left; + char *so, *more_so; + struct hol_entry *e; + unsigned num_entries = hol->num_entries + more->num_entries; + struct hol_entry *entries = + malloc (num_entries * sizeof (struct hol_entry)); + unsigned hol_so_len = strlen (hol->short_options); + char *short_options = + malloc (hol_so_len + strlen (more->short_options) + 1); + + assert (entries && short_options); + if (SIZE_MAX <= UINT_MAX) + assert (num_entries <= SIZE_MAX / sizeof (struct hol_entry)); + + __mempcpy (__mempcpy (entries, hol->entries, + hol->num_entries * sizeof (struct hol_entry)), + more->entries, + more->num_entries * sizeof (struct hol_entry)); + + __mempcpy (short_options, hol->short_options, hol_so_len); + + /* Fix up the short options pointers from HOL. */ + for (e = entries, left = hol->num_entries; left > 0; e++, left--) + e->short_options += (short_options - hol->short_options); + + /* Now add the short options from MORE, fixing up its entries + too. */ + so = short_options + hol_so_len; + more_so = more->short_options; + for (left = more->num_entries; left > 0; e++, left--) + { + int opts_left; + const struct argp_option *opt; + + e->short_options = so; + + for (opts_left = e->num, opt = e->opt; opts_left; opt++, opts_left--) + { + int ch = *more_so; + if (oshort (opt) && ch == opt->key) + /* The next short option in MORE_SO, CH, is from OPT. */ + { + if (! find_char (ch, short_options, + short_options + hol_so_len)) + /* The short option CH isn't shadowed by HOL's options, + so add it to the sum. */ + *so++ = ch; + more_so++; + } + } + } + + *so = '\0'; + + free (hol->entries); + free (hol->short_options); + + hol->entries = entries; + hol->num_entries = num_entries; + hol->short_options = short_options; + } + } + + hol_free (more); +} + +/* Inserts enough spaces to make sure STREAM is at column COL. */ +static void +indent_to (argp_fmtstream_t stream, unsigned col) +{ + int needed = col - __argp_fmtstream_point (stream); + while (needed-- > 0) + __argp_fmtstream_putc (stream, ' '); +} + +/* Output to STREAM either a space, or a newline if there isn't room for at + least ENSURE characters before the right margin. */ +static void +space (argp_fmtstream_t stream, size_t ensure) +{ + if (__argp_fmtstream_point (stream) + ensure + >= __argp_fmtstream_rmargin (stream)) + __argp_fmtstream_putc (stream, '\n'); + else + __argp_fmtstream_putc (stream, ' '); +} + +/* If the option REAL has an argument, we print it in using the printf + format REQ_FMT or OPT_FMT depending on whether it's a required or + optional argument. */ +static void +arg (const struct argp_option *real, const char *req_fmt, const char *opt_fmt, + const char *domain, argp_fmtstream_t stream) +{ + if (real->arg) + { + if (real->flags & OPTION_ARG_OPTIONAL) + __argp_fmtstream_printf (stream, opt_fmt, + dgettext (domain, real->arg)); + else + __argp_fmtstream_printf (stream, req_fmt, + dgettext (domain, real->arg)); + } +} + +/* Helper functions for hol_entry_help. */ + +/* State used during the execution of hol_help. */ +struct hol_help_state +{ + /* PREV_ENTRY should contain the previous entry printed, or 0. */ + struct hol_entry *prev_entry; + + /* If an entry is in a different group from the previous one, and SEP_GROUPS + is true, then a blank line will be printed before any output. */ + int sep_groups; + + /* True if a duplicate option argument was suppressed (only ever set if + UPARAMS.dup_args is false). */ + int suppressed_dup_arg; +}; + +/* Some state used while printing a help entry (used to communicate with + helper functions). See the doc for hol_entry_help for more info, as most + of the fields are copied from its arguments. */ +struct pentry_state +{ + const struct hol_entry *entry; + argp_fmtstream_t stream; + struct hol_help_state *hhstate; + + /* True if nothing's been printed so far. */ + int first; + + /* If non-zero, the state that was used to print this help. */ + const struct argp_state *state; +}; + +/* If a user doc filter should be applied to DOC, do so. */ +static const char * +filter_doc (const char *doc, int key, const struct argp *argp, + const struct argp_state *state) +{ + if (argp->help_filter) + /* We must apply a user filter to this output. */ + { + void *input = __argp_input (argp, state); + return (*argp->help_filter) (key, doc, input); + } + else + /* No filter. */ + return doc; +} + +/* Prints STR as a header line, with the margin lines set appropiately, and + notes the fact that groups should be separated with a blank line. ARGP is + the argp that should dictate any user doc filtering to take place. Note + that the previous wrap margin isn't restored, but the left margin is reset + to 0. */ +static void +print_header (const char *str, const struct argp *argp, + struct pentry_state *pest) +{ + const char *tstr = dgettext (argp->argp_domain, str); + const char *fstr = filter_doc (tstr, ARGP_KEY_HELP_HEADER, argp, pest->state); + + if (fstr) + { + if (*fstr) + { + if (pest->hhstate->prev_entry) + /* Precede with a blank line. */ + __argp_fmtstream_putc (pest->stream, '\n'); + indent_to (pest->stream, uparams.header_col); + __argp_fmtstream_set_lmargin (pest->stream, uparams.header_col); + __argp_fmtstream_set_wmargin (pest->stream, uparams.header_col); + __argp_fmtstream_puts (pest->stream, fstr); + __argp_fmtstream_set_lmargin (pest->stream, 0); + __argp_fmtstream_putc (pest->stream, '\n'); + } + + pest->hhstate->sep_groups = 1; /* Separate subsequent groups. */ + } + + if (fstr != tstr) + free ((char *) fstr); +} + +/* Inserts a comma if this isn't the first item on the line, and then makes + sure we're at least to column COL. If this *is* the first item on a line, + prints any pending whitespace/headers that should precede this line. Also + clears FIRST. */ +static void +comma (unsigned col, struct pentry_state *pest) +{ + if (pest->first) + { + const struct hol_entry *pe = pest->hhstate->prev_entry; + const struct hol_cluster *cl = pest->entry->cluster; + + if (pest->hhstate->sep_groups && pe && pest->entry->group != pe->group) + __argp_fmtstream_putc (pest->stream, '\n'); + + if (cl && cl->header && *cl->header + && (!pe + || (pe->cluster != cl + && !hol_cluster_is_child (pe->cluster, cl)))) + /* If we're changing clusters, then this must be the start of the + ENTRY's cluster unless that is an ancestor of the previous one + (in which case we had just popped into a sub-cluster for a bit). + If so, then print the cluster's header line. */ + { + int old_wm = __argp_fmtstream_wmargin (pest->stream); + print_header (cl->header, cl->argp, pest); + __argp_fmtstream_set_wmargin (pest->stream, old_wm); + } + + pest->first = 0; + } + else + __argp_fmtstream_puts (pest->stream, ", "); + + indent_to (pest->stream, col); +} + +/* Print help for ENTRY to STREAM. */ +static void +hol_entry_help (struct hol_entry *entry, const struct argp_state *state, + argp_fmtstream_t stream, struct hol_help_state *hhstate) +{ + unsigned num; + const struct argp_option *real = entry->opt, *opt; + char *so = entry->short_options; + int have_long_opt = 0; /* We have any long options. */ + /* Saved margins. */ + int old_lm = __argp_fmtstream_set_lmargin (stream, 0); + int old_wm = __argp_fmtstream_wmargin (stream); + /* PEST is a state block holding some of our variables that we'd like to + share with helper functions. */ + struct pentry_state pest; + + pest.entry = entry; + pest.stream = stream; + pest.hhstate = hhstate; + pest.first = 1; + pest.state = state; + + if (! odoc (real)) + for (opt = real, num = entry->num; num > 0; opt++, num--) + if (opt->name && ovisible (opt)) + { + have_long_opt = 1; + break; + } + + /* First emit short options. */ + __argp_fmtstream_set_wmargin (stream, uparams.short_opt_col); /* For truly bizarre cases. */ + for (opt = real, num = entry->num; num > 0; opt++, num--) + if (oshort (opt) && opt->key == *so) + /* OPT has a valid (non shadowed) short option. */ + { + if (ovisible (opt)) + { + comma (uparams.short_opt_col, &pest); + __argp_fmtstream_putc (stream, '-'); + __argp_fmtstream_putc (stream, *so); + if (!have_long_opt || uparams.dup_args) + arg (real, " %s", "[%s]", state->root_argp->argp_domain, stream); + else if (real->arg) + hhstate->suppressed_dup_arg = 1; + } + so++; + } + + /* Now, long options. */ + if (odoc (real)) + /* A `documentation' option. */ + { + __argp_fmtstream_set_wmargin (stream, uparams.doc_opt_col); + for (opt = real, num = entry->num; num > 0; opt++, num--) + if (opt->name && *opt->name && ovisible (opt)) + { + comma (uparams.doc_opt_col, &pest); + /* Calling dgettext here isn't quite right, since sorting will + have been done on the original; but documentation options + should be pretty rare anyway... */ + __argp_fmtstream_puts (stream, + onotrans (opt) ? + opt->name : + dgettext (state->root_argp->argp_domain, + opt->name)); + } + } + else + /* A real long option. */ + { + int first_long_opt = 1; + + __argp_fmtstream_set_wmargin (stream, uparams.long_opt_col); + for (opt = real, num = entry->num; num > 0; opt++, num--) + if (opt->name && ovisible (opt)) + { + comma (uparams.long_opt_col, &pest); + __argp_fmtstream_printf (stream, "--%s", opt->name); + if (first_long_opt || uparams.dup_args) + arg (real, "=%s", "[=%s]", state->root_argp->argp_domain, + stream); + else if (real->arg) + hhstate->suppressed_dup_arg = 1; + } + } + + /* Next, documentation strings. */ + __argp_fmtstream_set_lmargin (stream, 0); + + if (pest.first) + { + /* Didn't print any switches, what's up? */ + if (!oshort (real) && !real->name) + /* This is a group header, print it nicely. */ + print_header (real->doc, entry->argp, &pest); + else + /* Just a totally shadowed option or null header; print nothing. */ + goto cleanup; /* Just return, after cleaning up. */ + } + else + { + const char *tstr = real->doc ? dgettext (state->root_argp->argp_domain, + real->doc) : 0; + const char *fstr = filter_doc (tstr, real->key, entry->argp, state); + if (fstr && *fstr) + { + unsigned int col = __argp_fmtstream_point (stream); + + __argp_fmtstream_set_lmargin (stream, uparams.opt_doc_col); + __argp_fmtstream_set_wmargin (stream, uparams.opt_doc_col); + + if (col > (unsigned int) (uparams.opt_doc_col + 3)) + __argp_fmtstream_putc (stream, '\n'); + else if (col >= (unsigned int) uparams.opt_doc_col) + __argp_fmtstream_puts (stream, " "); + else + indent_to (stream, uparams.opt_doc_col); + + __argp_fmtstream_puts (stream, fstr); + } + if (fstr && fstr != tstr) + free ((char *) fstr); + + /* Reset the left margin. */ + __argp_fmtstream_set_lmargin (stream, 0); + __argp_fmtstream_putc (stream, '\n'); + } + + hhstate->prev_entry = entry; + +cleanup: + __argp_fmtstream_set_lmargin (stream, old_lm); + __argp_fmtstream_set_wmargin (stream, old_wm); +} + +/* Output a long help message about the options in HOL to STREAM. */ +static void +hol_help (struct hol *hol, const struct argp_state *state, + argp_fmtstream_t stream) +{ + unsigned num; + struct hol_entry *entry; + struct hol_help_state hhstate = { 0, 0, 0 }; + + for (entry = hol->entries, num = hol->num_entries; num > 0; entry++, num--) + hol_entry_help (entry, state, stream, &hhstate); + + if (hhstate.suppressed_dup_arg && uparams.dup_args_note) + { + const char *tstr = dgettext (state->root_argp->argp_domain, "\ +Mandatory or optional arguments to long options are also mandatory or \ +optional for any corresponding short options."); + const char *fstr = filter_doc (tstr, ARGP_KEY_HELP_DUP_ARGS_NOTE, + state ? state->root_argp : 0, state); + if (fstr && *fstr) + { + __argp_fmtstream_putc (stream, '\n'); + __argp_fmtstream_puts (stream, fstr); + __argp_fmtstream_putc (stream, '\n'); + } + if (fstr && fstr != tstr) + free ((char *) fstr); + } +} + +/* Helper functions for hol_usage. */ + +/* If OPT is a short option without an arg, append its key to the string + pointer pointer to by COOKIE, and advance the pointer. */ +static int +add_argless_short_opt (const struct argp_option *opt, + const struct argp_option *real, + const char *domain, void *cookie) +{ + char **snao_end = cookie; + if (!(opt->arg || real->arg) + && !((opt->flags | real->flags) & OPTION_NO_USAGE)) + *(*snao_end)++ = opt->key; + return 0; +} + +/* If OPT is a short option with an arg, output a usage entry for it to the + stream pointed at by COOKIE. */ +static int +usage_argful_short_opt (const struct argp_option *opt, + const struct argp_option *real, + const char *domain, void *cookie) +{ + argp_fmtstream_t stream = cookie; + const char *arg = opt->arg; + int flags = opt->flags | real->flags; + + if (! arg) + arg = real->arg; + + if (arg && !(flags & OPTION_NO_USAGE)) + { + arg = dgettext (domain, arg); + + if (flags & OPTION_ARG_OPTIONAL) + __argp_fmtstream_printf (stream, " [-%c[%s]]", opt->key, arg); + else + { + /* Manually do line wrapping so that it (probably) won't + get wrapped at the embedded space. */ + space (stream, 6 + strlen (arg)); + __argp_fmtstream_printf (stream, "[-%c %s]", opt->key, arg); + } + } + + return 0; +} + +/* Output a usage entry for the long option opt to the stream pointed at by + COOKIE. */ +static int +usage_long_opt (const struct argp_option *opt, + const struct argp_option *real, + const char *domain, void *cookie) +{ + argp_fmtstream_t stream = cookie; + const char *arg = opt->arg; + int flags = opt->flags | real->flags; + + if (! arg) + arg = real->arg; + + if (! (flags & OPTION_NO_USAGE) && !odoc (opt)) + { + if (arg) + { + arg = dgettext (domain, arg); + if (flags & OPTION_ARG_OPTIONAL) + __argp_fmtstream_printf (stream, " [--%s[=%s]]", opt->name, arg); + else + __argp_fmtstream_printf (stream, " [--%s=%s]", opt->name, arg); + } + else + __argp_fmtstream_printf (stream, " [--%s]", opt->name); + } + + return 0; +} + +/* Print a short usage description for the arguments in HOL to STREAM. */ +static void +hol_usage (struct hol *hol, argp_fmtstream_t stream) +{ + if (hol->num_entries > 0) + { + unsigned nentries; + struct hol_entry *entry; + char *short_no_arg_opts = alloca (strlen (hol->short_options) + 1); + char *snao_end = short_no_arg_opts; + + /* First we put a list of short options without arguments. */ + for (entry = hol->entries, nentries = hol->num_entries + ; nentries > 0 + ; entry++, nentries--) + hol_entry_short_iterate (entry, add_argless_short_opt, + entry->argp->argp_domain, &snao_end); + if (snao_end > short_no_arg_opts) + { + *snao_end++ = 0; + __argp_fmtstream_printf (stream, " [-%s]", short_no_arg_opts); + } + + /* Now a list of short options *with* arguments. */ + for (entry = hol->entries, nentries = hol->num_entries + ; nentries > 0 + ; entry++, nentries--) + hol_entry_short_iterate (entry, usage_argful_short_opt, + entry->argp->argp_domain, stream); + + /* Finally, a list of long options (whew!). */ + for (entry = hol->entries, nentries = hol->num_entries + ; nentries > 0 + ; entry++, nentries--) + hol_entry_long_iterate (entry, usage_long_opt, + entry->argp->argp_domain, stream); + } +} + +/* Make a HOL containing all levels of options in ARGP. CLUSTER is the + cluster in which ARGP's entries should be clustered, or 0. */ +static struct hol * +argp_hol (const struct argp *argp, struct hol_cluster *cluster) +{ + const struct argp_child *child = argp->children; + struct hol *hol = make_hol (argp, cluster); + if (child) + while (child->argp) + { + struct hol_cluster *child_cluster = + ((child->group || child->header) + /* Put CHILD->argp within its own cluster. */ + ? hol_add_cluster (hol, child->group, child->header, + child - argp->children, cluster, argp) + /* Just merge it into the parent's cluster. */ + : cluster); + hol_append (hol, argp_hol (child->argp, child_cluster)) ; + child++; + } + return hol; +} + +/* Calculate how many different levels with alternative args strings exist in + ARGP. */ +static size_t +argp_args_levels (const struct argp *argp) +{ + size_t levels = 0; + const struct argp_child *child = argp->children; + + if (argp->args_doc && strchr (argp->args_doc, '\n')) + levels++; + + if (child) + while (child->argp) + levels += argp_args_levels ((child++)->argp); + + return levels; +} + +/* Print all the non-option args documented in ARGP to STREAM. Any output is + preceded by a space. LEVELS is a pointer to a byte vector the length + returned by argp_args_levels; it should be initialized to zero, and + updated by this routine for the next call if ADVANCE is true. True is + returned as long as there are more patterns to output. */ +static int +argp_args_usage (const struct argp *argp, const struct argp_state *state, + char **levels, int advance, argp_fmtstream_t stream) +{ + char *our_level = *levels; + int multiple = 0; + const struct argp_child *child = argp->children; + const char *tdoc = dgettext (argp->argp_domain, argp->args_doc), *nl = 0; + const char *fdoc = filter_doc (tdoc, ARGP_KEY_HELP_ARGS_DOC, argp, state); + + if (fdoc) + { + const char *cp = fdoc; + nl = __strchrnul (cp, '\n'); + if (*nl != '\0') + /* This is a `multi-level' args doc; advance to the correct position + as determined by our state in LEVELS, and update LEVELS. */ + { + int i; + multiple = 1; + for (i = 0; i < *our_level; i++) + cp = nl + 1, nl = __strchrnul (cp, '\n'); + (*levels)++; + } + + /* Manually do line wrapping so that it (probably) won't get wrapped at + any embedded spaces. */ + space (stream, 1 + nl - cp); + + __argp_fmtstream_write (stream, cp, nl - cp); + } + if (fdoc && fdoc != tdoc) + free ((char *)fdoc); /* Free user's modified doc string. */ + + if (child) + while (child->argp) + advance = !argp_args_usage ((child++)->argp, state, levels, advance, stream); + + if (advance && multiple) + { + /* Need to increment our level. */ + if (*nl) + /* There's more we can do here. */ + { + (*our_level)++; + advance = 0; /* Our parent shouldn't advance also. */ + } + else if (*our_level > 0) + /* We had multiple levels, but used them up; reset to zero. */ + *our_level = 0; + } + + return !advance; +} + +/* Print the documentation for ARGP to STREAM; if POST is false, then + everything preceeding a `\v' character in the documentation strings (or + the whole string, for those with none) is printed, otherwise, everything + following the `\v' character (nothing for strings without). Each separate + bit of documentation is separated a blank line, and if PRE_BLANK is true, + then the first is as well. If FIRST_ONLY is true, only the first + occurrence is output. Returns true if anything was output. */ +static int +argp_doc (const struct argp *argp, const struct argp_state *state, + int post, int pre_blank, int first_only, + argp_fmtstream_t stream) +{ + const char *text; + const char *inp_text; + size_t inp_text_len = 0; + const char *trans_text; + void *input = 0; + int anything = 0; + const struct argp_child *child = argp->children; + + if (argp->doc) + { + char *vt = strchr (argp->doc, '\v'); + if (vt) + { + if (post) + inp_text = vt + 1; + else + { + inp_text_len = vt - argp->doc; + inp_text = __strndup (argp->doc, inp_text_len); + } + } + else + inp_text = post ? 0 : argp->doc; + trans_text = inp_text ? dgettext (argp->argp_domain, inp_text) : NULL; + } + else + trans_text = inp_text = 0; + + if (argp->help_filter) + /* We have to filter the doc strings. */ + { + input = __argp_input (argp, state); + text = + (*argp->help_filter) (post + ? ARGP_KEY_HELP_POST_DOC + : ARGP_KEY_HELP_PRE_DOC, + trans_text, input); + } + else + text = (const char *) trans_text; + + if (text) + { + if (pre_blank) + __argp_fmtstream_putc (stream, '\n'); + + __argp_fmtstream_puts (stream, text); + + if (__argp_fmtstream_point (stream) > __argp_fmtstream_lmargin (stream)) + __argp_fmtstream_putc (stream, '\n'); + + anything = 1; + } + + if (text && text != trans_text) + free ((char *) text); /* Free TEXT returned from the help filter. */ + + if (inp_text && inp_text_len) + free ((char *) inp_text); /* We copied INP_TEXT, so free it now. */ + + if (post && argp->help_filter) + /* Now see if we have to output a ARGP_KEY_HELP_EXTRA text. */ + { + text = (*argp->help_filter) (ARGP_KEY_HELP_EXTRA, 0, input); + if (text) + { + if (anything || pre_blank) + __argp_fmtstream_putc (stream, '\n'); + __argp_fmtstream_puts (stream, text); + free ((char *) text); + if (__argp_fmtstream_point (stream) + > __argp_fmtstream_lmargin (stream)) + __argp_fmtstream_putc (stream, '\n'); + anything = 1; + } + } + + if (child) + while (child->argp && !(first_only && anything)) + anything |= + argp_doc ((child++)->argp, state, + post, anything || pre_blank, first_only, + stream); + + return anything; +} + +/* Output a usage message for ARGP to STREAM. If called from + argp_state_help, STATE is the relevent parsing state. FLAGS are from the + set ARGP_HELP_*. NAME is what to use wherever a `program name' is + needed. */ +static void +_help (const struct argp *argp, const struct argp_state *state, FILE *stream, + unsigned flags, char *name) +{ + int anything = 0; /* Whether we've output anything. */ + struct hol *hol = 0; + argp_fmtstream_t fs; + + if (! stream) + return; + +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __flockfile (stream); +#endif + + if (! uparams.valid) + fill_in_uparams (state); + + fs = __argp_make_fmtstream (stream, 0, uparams.rmargin, 0); + if (! fs) + { +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __funlockfile (stream); +#endif + return; + } + + if (flags & (ARGP_HELP_USAGE | ARGP_HELP_SHORT_USAGE | ARGP_HELP_LONG)) + { + hol = argp_hol (argp, 0); + + /* If present, these options always come last. */ + hol_set_group (hol, "help", -1); + hol_set_group (hol, "version", -1); + + hol_sort (hol); + } + + if (flags & (ARGP_HELP_USAGE | ARGP_HELP_SHORT_USAGE)) + /* Print a short `Usage:' message. */ + { + int first_pattern = 1, more_patterns; + size_t num_pattern_levels = argp_args_levels (argp); + char *pattern_levels = alloca (num_pattern_levels); + + memset (pattern_levels, 0, num_pattern_levels); + + do + { + int old_lm; + int old_wm = __argp_fmtstream_set_wmargin (fs, uparams.usage_indent); + char *levels = pattern_levels; + + if (first_pattern) + __argp_fmtstream_printf (fs, "%s %s", + dgettext (argp->argp_domain, "Usage:"), + name); + else + __argp_fmtstream_printf (fs, "%s %s", + dgettext (argp->argp_domain, " or: "), + name); + + /* We set the lmargin as well as the wmargin, because hol_usage + manually wraps options with newline to avoid annoying breaks. */ + old_lm = __argp_fmtstream_set_lmargin (fs, uparams.usage_indent); + + if (flags & ARGP_HELP_SHORT_USAGE) + /* Just show where the options go. */ + { + if (hol->num_entries > 0) + __argp_fmtstream_puts (fs, dgettext (argp->argp_domain, + " [OPTION...]")); + } + else + /* Actually print the options. */ + { + hol_usage (hol, fs); + flags |= ARGP_HELP_SHORT_USAGE; /* But only do so once. */ + } + + more_patterns = argp_args_usage (argp, state, &levels, 1, fs); + + __argp_fmtstream_set_wmargin (fs, old_wm); + __argp_fmtstream_set_lmargin (fs, old_lm); + + __argp_fmtstream_putc (fs, '\n'); + anything = 1; + + first_pattern = 0; + } + while (more_patterns); + } + + if (flags & ARGP_HELP_PRE_DOC) + anything |= argp_doc (argp, state, 0, 0, 1, fs); + + if (flags & ARGP_HELP_SEE) + { + __argp_fmtstream_printf (fs, dgettext (argp->argp_domain, "\ +Try `%s --help' or `%s --usage' for more information.\n"), + name, name); + anything = 1; + } + + if (flags & ARGP_HELP_LONG) + /* Print a long, detailed help message. */ + { + /* Print info about all the options. */ + if (hol->num_entries > 0) + { + if (anything) + __argp_fmtstream_putc (fs, '\n'); + hol_help (hol, state, fs); + anything = 1; + } + } + + if (flags & ARGP_HELP_POST_DOC) + /* Print any documentation strings at the end. */ + anything |= argp_doc (argp, state, 1, anything, 0, fs); + + if ((flags & ARGP_HELP_BUG_ADDR) && argp_program_bug_address) + { + if (anything) + __argp_fmtstream_putc (fs, '\n'); + __argp_fmtstream_printf (fs, dgettext (argp->argp_domain, + "Report bugs to %s.\n"), + argp_program_bug_address); + anything = 1; + } + +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __funlockfile (stream); +#endif + + if (hol) + hol_free (hol); + + __argp_fmtstream_free (fs); +} + +/* Output a usage message for ARGP to STREAM. FLAGS are from the set + ARGP_HELP_*. NAME is what to use wherever a `program name' is needed. */ +void __argp_help (const struct argp *argp, FILE *stream, + unsigned flags, char *name) +{ + struct argp_state state; + memset (&state, 0, sizeof state); + state.root_argp = argp; + _help (argp, &state, stream, flags, name); +} +#ifdef weak_alias +weak_alias (__argp_help, argp_help) +#endif + +#if ! (defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME) +char * +__argp_short_program_name (void) +{ +# if HAVE_DECL_PROGRAM_INVOCATION_NAME + return __argp_base_name (program_invocation_name); +# else + /* FIXME: What now? Miles suggests that it is better to use NULL, + but currently the value is passed on directly to fputs_unlocked, + so that requires more changes. */ +# if __GNUC__ +# warning No reasonable value to return +# endif /* __GNUC__ */ + return ""; +# endif +} +#endif + +/* Output, if appropriate, a usage message for STATE to STREAM. FLAGS are + from the set ARGP_HELP_*. */ +void +__argp_state_help (const struct argp_state *state, FILE *stream, unsigned flags) +{ + if ((!state || ! (state->flags & ARGP_NO_ERRS)) && stream) + { + if (state && (state->flags & ARGP_LONG_ONLY)) + flags |= ARGP_HELP_LONG_ONLY; + + _help (state ? state->root_argp : 0, state, stream, flags, + state ? state->name : __argp_short_program_name ()); + + if (!state || ! (state->flags & ARGP_NO_EXIT)) + { + if (flags & ARGP_HELP_EXIT_ERR) + exit (argp_err_exit_status); + if (flags & ARGP_HELP_EXIT_OK) + exit (0); + } + } +} +#ifdef weak_alias +weak_alias (__argp_state_help, argp_state_help) +#endif + +/* If appropriate, print the printf string FMT and following args, preceded + by the program name and `:', to stderr, and followed by a `Try ... --help' + message, then exit (1). */ +void +__argp_error (const struct argp_state *state, const char *fmt, ...) +{ + if (!state || !(state->flags & ARGP_NO_ERRS)) + { + FILE *stream = state ? state->err_stream : stderr; + + if (stream) + { + va_list ap; + +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __flockfile (stream); +#endif + + va_start (ap, fmt); + +#ifdef USE_IN_LIBIO + if (_IO_fwide (stream, 0) > 0) + { + char *buf; + + if (__asprintf (&buf, fmt, ap) < 0) + buf = NULL; + + __fwprintf (stream, L"%s: %s\n", + state ? state->name : __argp_short_program_name (), + buf); + + free (buf); + } + else +#endif + { + fputs_unlocked (state + ? state->name : __argp_short_program_name (), + stream); + putc_unlocked (':', stream); + putc_unlocked (' ', stream); + + vfprintf (stream, fmt, ap); + + putc_unlocked ('\n', stream); + } + + __argp_state_help (state, stream, ARGP_HELP_STD_ERR); + + va_end (ap); + +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __funlockfile (stream); +#endif + } + } +} +#ifdef weak_alias +weak_alias (__argp_error, argp_error) +#endif + +/* Similar to the standard gnu error-reporting function error(), but will + respect the ARGP_NO_EXIT and ARGP_NO_ERRS flags in STATE, and will print + to STATE->err_stream. This is useful for argument parsing code that is + shared between program startup (when exiting is desired) and runtime + option parsing (when typically an error code is returned instead). The + difference between this function and argp_error is that the latter is for + *parsing errors*, and the former is for other problems that occur during + parsing but don't reflect a (syntactic) problem with the input. */ +void +__argp_failure (const struct argp_state *state, int status, int errnum, + const char *fmt, ...) +{ + if (!state || !(state->flags & ARGP_NO_ERRS)) + { + FILE *stream = state ? state->err_stream : stderr; + + if (stream) + { +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __flockfile (stream); +#endif + +#ifdef USE_IN_LIBIO + if (_IO_fwide (stream, 0) > 0) + __fwprintf (stream, L"%s", + state ? state->name : __argp_short_program_name ()); + else +#endif + fputs_unlocked (state + ? state->name : __argp_short_program_name (), + stream); + + if (fmt) + { + va_list ap; + + va_start (ap, fmt); +#ifdef USE_IN_LIBIO + if (_IO_fwide (stream, 0) > 0) + { + char *buf; + + if (__asprintf (&buf, fmt, ap) < 0) + buf = NULL; + + __fwprintf (stream, L": %s", buf); + + free (buf); + } + else +#endif + { + putc_unlocked (':', stream); + putc_unlocked (' ', stream); + + vfprintf (stream, fmt, ap); + } + + va_end (ap); + } + + if (errnum) + { + char buf[200]; + +#ifdef USE_IN_LIBIO + if (_IO_fwide (stream, 0) > 0) + __fwprintf (stream, L": %s", + __strerror_r (errnum, buf, sizeof (buf))); + else +#endif + { + char const *s = NULL; + putc_unlocked (':', stream); + putc_unlocked (' ', stream); +#if _LIBC || (HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P) + s = __strerror_r (errnum, buf, sizeof buf); +#elif HAVE_DECL_STRERROR_R + if (__strerror_r (errnum, buf, sizeof buf) == 0) + s = buf; +#endif +#if !_LIBC + if (! s && ! (s = strerror (errnum))) + s = dgettext (state->root_argp->argp_domain, + "Unknown system error"); +#endif + fputs (s, stream); + } + } + +#ifdef USE_IN_LIBIO + if (_IO_fwide (stream, 0) > 0) + putwc_unlocked (L'\n', stream); + else +#endif + putc_unlocked ('\n', stream); + +#if _LIBC || (HAVE_FLOCKFILE && HAVE_FUNLOCKFILE) + __funlockfile (stream); +#endif + + if (status && (!state || !(state->flags & ARGP_NO_EXIT))) + exit (status); + } + } +} +#ifdef weak_alias +weak_alias (__argp_failure, argp_failure) +#endif diff --git a/grub-core/gnulib/argp-namefrob.h b/grub-core/gnulib/argp-namefrob.h new file mode 100644 index 0000000..24581a6 --- /dev/null +++ b/grub-core/gnulib/argp-namefrob.h @@ -0,0 +1,157 @@ +/* Name frobnication for compiling argp outside of glibc + Copyright (C) 1997, 2003, 2007, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#if !_LIBC +/* This code is written for inclusion in gnu-libc, and uses names in the + namespace reserved for libc. If we're not compiling in libc, define those + names to be the normal ones instead. */ + +/* argp-parse functions */ +#undef __argp_parse +#define __argp_parse argp_parse +#undef __option_is_end +#define __option_is_end _option_is_end +#undef __option_is_short +#define __option_is_short _option_is_short +#undef __argp_input +#define __argp_input _argp_input + +/* argp-help functions */ +#undef __argp_help +#define __argp_help argp_help +#undef __argp_error +#define __argp_error argp_error +#undef __argp_failure +#define __argp_failure argp_failure +#undef __argp_state_help +#define __argp_state_help argp_state_help +#undef __argp_usage +#define __argp_usage argp_usage + +/* argp-fmtstream functions */ +#undef __argp_make_fmtstream +#define __argp_make_fmtstream argp_make_fmtstream +#undef __argp_fmtstream_free +#define __argp_fmtstream_free argp_fmtstream_free +#undef __argp_fmtstream_putc +#define __argp_fmtstream_putc argp_fmtstream_putc +#undef __argp_fmtstream_puts +#define __argp_fmtstream_puts argp_fmtstream_puts +#undef __argp_fmtstream_write +#define __argp_fmtstream_write argp_fmtstream_write +#undef __argp_fmtstream_printf +#define __argp_fmtstream_printf argp_fmtstream_printf +#undef __argp_fmtstream_set_lmargin +#define __argp_fmtstream_set_lmargin argp_fmtstream_set_lmargin +#undef __argp_fmtstream_set_rmargin +#define __argp_fmtstream_set_rmargin argp_fmtstream_set_rmargin +#undef __argp_fmtstream_set_wmargin +#define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin +#undef __argp_fmtstream_point +#define __argp_fmtstream_point argp_fmtstream_point +#undef __argp_fmtstream_update +#define __argp_fmtstream_update _argp_fmtstream_update +#undef __argp_fmtstream_ensure +#define __argp_fmtstream_ensure _argp_fmtstream_ensure +#undef __argp_fmtstream_lmargin +#define __argp_fmtstream_lmargin argp_fmtstream_lmargin +#undef __argp_fmtstream_rmargin +#define __argp_fmtstream_rmargin argp_fmtstream_rmargin +#undef __argp_fmtstream_wmargin +#define __argp_fmtstream_wmargin argp_fmtstream_wmargin + +/* normal libc functions we call */ +#undef __flockfile +#define __flockfile flockfile +#undef __funlockfile +#define __funlockfile funlockfile +#undef __mempcpy +#define __mempcpy mempcpy +#undef __sleep +#define __sleep sleep +#undef __strcasecmp +#define __strcasecmp strcasecmp +#undef __strchrnul +#define __strchrnul strchrnul +#undef __strerror_r +#define __strerror_r strerror_r +#undef __strndup +#define __strndup strndup +#undef __vsnprintf +#define __vsnprintf vsnprintf + +#if defined(HAVE_DECL_CLEARERR_UNLOCKED) && !HAVE_DECL_CLEARERR_UNLOCKED +# define clearerr_unlocked(x) clearerr (x) +#endif +#if defined(HAVE_DECL_FEOF_UNLOCKED) && !HAVE_DECL_FEOF_UNLOCKED +# define feof_unlocked(x) feof (x) +# endif +#if defined(HAVE_DECL_FERROR_UNLOCKED) && !HAVE_DECL_FERROR_UNLOCKED +# define ferror_unlocked(x) ferror (x) +# endif +#if defined(HAVE_DECL_FFLUSH_UNLOCKED) && !HAVE_DECL_FFLUSH_UNLOCKED +# define fflush_unlocked(x) fflush (x) +# endif +#if defined(HAVE_DECL_FGETS_UNLOCKED) && !HAVE_DECL_FGETS_UNLOCKED +# define fgets_unlocked(x,y,z) fgets (x,y,z) +# endif +#if defined(HAVE_DECL_FPUTC_UNLOCKED) && !HAVE_DECL_FPUTC_UNLOCKED +# define fputc_unlocked(x,y) fputc (x,y) +# endif +#if defined(HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED +# define fputs_unlocked(x,y) fputs (x,y) +# endif +#if defined(HAVE_DECL_FREAD_UNLOCKED) && !HAVE_DECL_FREAD_UNLOCKED +# define fread_unlocked(w,x,y,z) fread (w,x,y,z) +# endif +#if defined(HAVE_DECL_FWRITE_UNLOCKED) && !HAVE_DECL_FWRITE_UNLOCKED +# define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) +# endif +#if defined(HAVE_DECL_GETC_UNLOCKED) && !HAVE_DECL_GETC_UNLOCKED +# define getc_unlocked(x) getc (x) +# endif +#if defined(HAVE_DECL_GETCHAR_UNLOCKED) && !HAVE_DECL_GETCHAR_UNLOCKED +# define getchar_unlocked() getchar () +# endif +#if defined(HAVE_DECL_PUTC_UNLOCKED) && !HAVE_DECL_PUTC_UNLOCKED +# define putc_unlocked(x,y) putc (x,y) +# endif +#if defined(HAVE_DECL_PUTCHAR_UNLOCKED) && !HAVE_DECL_PUTCHAR_UNLOCKED +# define putchar_unlocked(x) putchar (x) +# endif + +#endif /* !_LIBC */ + +#ifndef __set_errno +#define __set_errno(e) (errno = (e)) +#endif + +#if defined GNULIB_ARGP_DISABLE_DIRNAME +# define __argp_base_name(arg) arg +#elif defined GNULIB_ARGP_EXTERN_BASENAME +extern char *__argp_base_name (const char *arg); +#else +# include "dirname.h" +# define __argp_base_name last_component +#endif + +#if defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME +# define __argp_short_program_name() (program_invocation_short_name) +#else +extern char *__argp_short_program_name (void); +#endif diff --git a/grub-core/gnulib/argp-parse.c b/grub-core/gnulib/argp-parse.c new file mode 100644 index 0000000..9c05465 --- /dev/null +++ b/grub-core/gnulib/argp-parse.c @@ -0,0 +1,952 @@ +/* Hierarchial argument parsing, layered over getopt + Copyright (C) 1995-2000, 2002-2004, 2009-2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef _LIBC +# include +# undef dgettext +# define dgettext(domain, msgid) \ + INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES) +#else +# include "gettext.h" +#endif +#define N_(msgid) msgid + +#include "argp.h" +#include "argp-namefrob.h" + +#define alignof(type) offsetof (struct { char c; type x; }, x) +#define alignto(n, d) ((((n) + (d) - 1) / (d)) * (d)) + +/* Getopt return values. */ +#define KEY_END (-1) /* The end of the options. */ +#define KEY_ARG 1 /* A non-option argument. */ +#define KEY_ERR '?' /* An error parsing the options. */ + +/* The meta-argument used to prevent any further arguments being interpreted + as options. */ +#define QUOTE "--" + +/* The number of bits we steal in a long-option value for our own use. */ +#define GROUP_BITS CHAR_BIT + +/* The number of bits available for the user value. */ +#define USER_BITS ((sizeof ((struct option *)0)->val * CHAR_BIT) - GROUP_BITS) +#define USER_MASK ((1 << USER_BITS) - 1) + +/* EZ alias for ARGP_ERR_UNKNOWN. */ +#define EBADKEY ARGP_ERR_UNKNOWN + +/* Default options. */ + +/* When argp is given the --HANG switch, _ARGP_HANG is set and argp will sleep + for one second intervals, decrementing _ARGP_HANG until it's zero. Thus + you can force the program to continue by attaching a debugger and setting + it to 0 yourself. */ +static volatile int _argp_hang; + +#define OPT_PROGNAME -2 +#define OPT_USAGE -3 +#define OPT_HANG -4 + +static const struct argp_option argp_default_options[] = +{ + {"help", '?', 0, 0, N_("give this help list"), -1}, + {"usage", OPT_USAGE, 0, 0, N_("give a short usage message"), 0}, + {"program-name",OPT_PROGNAME,N_("NAME"), OPTION_HIDDEN, N_("set the program name"), 0}, + {"HANG", OPT_HANG, N_("SECS"), OPTION_ARG_OPTIONAL | OPTION_HIDDEN, + N_("hang for SECS seconds (default 3600)"), 0}, + {NULL, 0, 0, 0, NULL, 0} +}; + +static error_t +argp_default_parser (int key, char *arg, struct argp_state *state) +{ + switch (key) + { + case '?': + __argp_state_help (state, state->out_stream, ARGP_HELP_STD_HELP); + break; + case OPT_USAGE: + __argp_state_help (state, state->out_stream, + ARGP_HELP_USAGE | ARGP_HELP_EXIT_OK); + break; + + case OPT_PROGNAME: /* Set the program name. */ +#if defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_NAME + program_invocation_name = arg; +#endif + /* [Note that some systems only have PROGRAM_INVOCATION_SHORT_NAME (aka + __PROGNAME), in which case, PROGRAM_INVOCATION_NAME is just defined + to be that, so we have to be a bit careful here.] */ + + /* Update what we use for messages. */ + state->name = __argp_base_name (arg); + +#if defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME + program_invocation_short_name = state->name; +#endif + + if ((state->flags & (ARGP_PARSE_ARGV0 | ARGP_NO_ERRS)) + == ARGP_PARSE_ARGV0) + /* Update what getopt uses too. */ + state->argv[0] = arg; + + break; + + case OPT_HANG: + _argp_hang = atoi (arg ? arg : "3600"); + while (_argp_hang-- > 0) + __sleep (1); + break; + + default: + return EBADKEY; + } + return 0; +} + +static const struct argp argp_default_argp = + {argp_default_options, &argp_default_parser, NULL, NULL, NULL, NULL, "libc"}; + + +static const struct argp_option argp_version_options[] = +{ + {"version", 'V', 0, 0, N_("print program version"), -1}, + {NULL, 0, 0, 0, NULL, 0} +}; + +static error_t +argp_version_parser (int key, char *arg, struct argp_state *state) +{ + switch (key) + { + case 'V': + if (argp_program_version_hook) + (*argp_program_version_hook) (state->out_stream, state); + else if (argp_program_version) + fprintf (state->out_stream, "%s\n", argp_program_version); + else + __argp_error (state, dgettext (state->root_argp->argp_domain, + "(PROGRAM ERROR) No version known!?")); + if (! (state->flags & ARGP_NO_EXIT)) + exit (0); + break; + default: + return EBADKEY; + } + return 0; +} + +static const struct argp argp_version_argp = + {argp_version_options, &argp_version_parser, NULL, NULL, NULL, NULL, "libc"}; + +/* Returns the offset into the getopt long options array LONG_OPTIONS of a + long option with called NAME, or -1 if none is found. Passing NULL as + NAME will return the number of options. */ +static int +find_long_option (struct option *long_options, const char *name) +{ + struct option *l = long_options; + while (l->name != NULL) + if (name != NULL && strcmp (l->name, name) == 0) + return l - long_options; + else + l++; + if (name == NULL) + return l - long_options; + else + return -1; +} + + +/* The state of a `group' during parsing. Each group corresponds to a + particular argp structure from the tree of such descending from the top + level argp passed to argp_parse. */ +struct group +{ + /* This group's parsing function. */ + argp_parser_t parser; + + /* Which argp this group is from. */ + const struct argp *argp; + + /* Points to the point in SHORT_OPTS corresponding to the end of the short + options for this group. We use it to determine from which group a + particular short options is from. */ + char *short_end; + + /* The number of non-option args sucessfully handled by this parser. */ + unsigned args_processed; + + /* This group's parser's parent's group. */ + struct group *parent; + unsigned parent_index; /* And the our position in the parent. */ + + /* These fields are swapped into and out of the state structure when + calling this group's parser. */ + void *input, **child_inputs; + void *hook; +}; + +/* Call GROUP's parser with KEY and ARG, swapping any group-specific info + from STATE before calling, and back into state afterwards. If GROUP has + no parser, EBADKEY is returned. */ +static error_t +group_parse (struct group *group, struct argp_state *state, int key, char *arg) +{ + if (group->parser) + { + error_t err; + state->hook = group->hook; + state->input = group->input; + state->child_inputs = group->child_inputs; + state->arg_num = group->args_processed; + err = (*group->parser)(key, arg, state); + group->hook = state->hook; + return err; + } + else + return EBADKEY; +} + +struct parser +{ + const struct argp *argp; + + /* SHORT_OPTS is the getopt short options string for the union of all the + groups of options. */ + char *short_opts; + /* LONG_OPTS is the array of getop long option structures for the union of + all the groups of options. */ + struct option *long_opts; + /* OPT_DATA is the getopt data used for the re-entrant getopt. */ + struct _getopt_data opt_data; + + /* States of the various parsing groups. */ + struct group *groups; + /* The end of the GROUPS array. */ + struct group *egroup; + /* An vector containing storage for the CHILD_INPUTS field in all groups. */ + void **child_inputs; + + /* True if we think using getopt is still useful; if false, then + remaining arguments are just passed verbatim with ARGP_KEY_ARG. This is + cleared whenever getopt returns KEY_END, but may be set again if the user + moves the next argument pointer backwards. */ + int try_getopt; + + /* State block supplied to parsing routines. */ + struct argp_state state; + + /* Memory used by this parser. */ + void *storage; +}; + +/* The next usable entries in the various parser tables being filled in by + convert_options. */ +struct parser_convert_state +{ + struct parser *parser; + char *short_end; + struct option *long_end; + void **child_inputs_end; +}; + +/* Converts all options in ARGP (which is put in GROUP) and ancestors + into getopt options stored in SHORT_OPTS and LONG_OPTS; SHORT_END and + CVT->LONG_END are the points at which new options are added. Returns the + next unused group entry. CVT holds state used during the conversion. */ +static struct group * +convert_options (const struct argp *argp, + struct group *parent, unsigned parent_index, + struct group *group, struct parser_convert_state *cvt) +{ + /* REAL is the most recent non-alias value of OPT. */ + const struct argp_option *real = argp->options; + const struct argp_child *children = argp->children; + + if (real || argp->parser) + { + const struct argp_option *opt; + + if (real) + for (opt = real; !__option_is_end (opt); opt++) + { + if (! (opt->flags & OPTION_ALIAS)) + /* OPT isn't an alias, so we can use values from it. */ + real = opt; + + if (! (real->flags & OPTION_DOC)) + /* A real option (not just documentation). */ + { + if (__option_is_short (opt)) + /* OPT can be used as a short option. */ + { + *cvt->short_end++ = opt->key; + if (real->arg) + { + *cvt->short_end++ = ':'; + if (real->flags & OPTION_ARG_OPTIONAL) + *cvt->short_end++ = ':'; + } + *cvt->short_end = '\0'; /* keep 0 terminated */ + } + + if (opt->name + && find_long_option (cvt->parser->long_opts, opt->name) < 0) + /* OPT can be used as a long option. */ + { + cvt->long_end->name = opt->name; + cvt->long_end->has_arg = + (real->arg + ? (real->flags & OPTION_ARG_OPTIONAL + ? optional_argument + : required_argument) + : no_argument); + cvt->long_end->flag = 0; + /* we add a disambiguating code to all the user's + values (which is removed before we actually call + the function to parse the value); this means that + the user loses use of the high 8 bits in all his + values (the sign of the lower bits is preserved + however)... */ + cvt->long_end->val = + ((opt->key ? opt->key : real->key) & USER_MASK) + + (((group - cvt->parser->groups) + 1) << USER_BITS); + + /* Keep the LONG_OPTS list terminated. */ + (++cvt->long_end)->name = NULL; + } + } + } + + group->parser = argp->parser; + group->argp = argp; + group->short_end = cvt->short_end; + group->args_processed = 0; + group->parent = parent; + group->parent_index = parent_index; + group->input = 0; + group->hook = 0; + group->child_inputs = 0; + + if (children) + /* Assign GROUP's CHILD_INPUTS field some space from + CVT->child_inputs_end.*/ + { + unsigned num_children = 0; + while (children[num_children].argp) + num_children++; + group->child_inputs = cvt->child_inputs_end; + cvt->child_inputs_end += num_children; + } + + parent = group++; + } + else + parent = 0; + + if (children) + { + unsigned index = 0; + while (children->argp) + group = + convert_options (children++->argp, parent, index++, group, cvt); + } + + return group; +} + +/* Find the merged set of getopt options, with keys appropiately prefixed. */ +static void +parser_convert (struct parser *parser, const struct argp *argp, int flags) +{ + struct parser_convert_state cvt; + + cvt.parser = parser; + cvt.short_end = parser->short_opts; + cvt.long_end = parser->long_opts; + cvt.child_inputs_end = parser->child_inputs; + + if (flags & ARGP_IN_ORDER) + *cvt.short_end++ = '-'; + else if (flags & ARGP_NO_ARGS) + *cvt.short_end++ = '+'; + *cvt.short_end = '\0'; + + cvt.long_end->name = NULL; + + parser->argp = argp; + + if (argp) + parser->egroup = convert_options (argp, 0, 0, parser->groups, &cvt); + else + parser->egroup = parser->groups; /* No parsers at all! */ +} + +/* Lengths of various parser fields which we will allocated. */ +struct parser_sizes +{ + size_t short_len; /* Getopt short options string. */ + size_t long_len; /* Getopt long options vector. */ + size_t num_groups; /* Group structures we allocate. */ + size_t num_child_inputs; /* Child input slots. */ +}; + +/* For ARGP, increments the NUM_GROUPS field in SZS by the total number of + argp structures descended from it, and the SHORT_LEN & LONG_LEN fields by + the maximum lengths of the resulting merged getopt short options string and + long-options array, respectively. */ +static void +calc_sizes (const struct argp *argp, struct parser_sizes *szs) +{ + const struct argp_child *child = argp->children; + const struct argp_option *opt = argp->options; + + if (opt || argp->parser) + { + szs->num_groups++; + if (opt) + { + int num_opts = 0; + while (!__option_is_end (opt++)) + num_opts++; + szs->short_len += num_opts * 3; /* opt + up to 2 `:'s */ + szs->long_len += num_opts; + } + } + + if (child) + while (child->argp) + { + calc_sizes ((child++)->argp, szs); + szs->num_child_inputs++; + } +} + +/* Initializes PARSER to parse ARGP in a manner described by FLAGS. */ +static error_t +parser_init (struct parser *parser, const struct argp *argp, + int argc, char **argv, int flags, void *input) +{ + error_t err = 0; + struct group *group; + struct parser_sizes szs; + struct _getopt_data opt_data = _GETOPT_DATA_INITIALIZER; + char *storage; + size_t glen, gsum; + size_t clen, csum; + size_t llen, lsum; + size_t slen, ssum; + + szs.short_len = (flags & ARGP_NO_ARGS) ? 0 : 1; + szs.long_len = 0; + szs.num_groups = 0; + szs.num_child_inputs = 0; + + if (argp) + calc_sizes (argp, &szs); + + /* Lengths of the various bits of storage used by PARSER. */ + glen = (szs.num_groups + 1) * sizeof (struct group); + clen = szs.num_child_inputs * sizeof (void *); + llen = (szs.long_len + 1) * sizeof (struct option); + slen = szs.short_len + 1; + + /* Sums of previous lengths, properly aligned. There's no need to + align gsum, since struct group is aligned at least as strictly as + void * (since it contains a void * member). And there's no need + to align lsum, since struct option is aligned at least as + strictly as char. */ + gsum = glen; + csum = alignto (gsum + clen, alignof (struct option)); + lsum = csum + llen; + ssum = lsum + slen; + + parser->storage = malloc (ssum); + if (! parser->storage) + return ENOMEM; + + storage = parser->storage; + parser->groups = parser->storage; + parser->child_inputs = (void **) (storage + gsum); + parser->long_opts = (struct option *) (storage + csum); + parser->short_opts = storage + lsum; + parser->opt_data = opt_data; + + memset (parser->child_inputs, 0, clen); + parser_convert (parser, argp, flags); + + memset (&parser->state, 0, sizeof (struct argp_state)); + parser->state.root_argp = parser->argp; + parser->state.argc = argc; + parser->state.argv = argv; + parser->state.flags = flags; + parser->state.err_stream = stderr; + parser->state.out_stream = stdout; + parser->state.next = 0; /* Tell getopt to initialize. */ + parser->state.pstate = parser; + + parser->try_getopt = 1; + + /* Call each parser for the first time, giving it a chance to propagate + values to child parsers. */ + if (parser->groups < parser->egroup) + parser->groups->input = input; + for (group = parser->groups; + group < parser->egroup && (!err || err == EBADKEY); + group++) + { + if (group->parent) + /* If a child parser, get the initial input value from the parent. */ + group->input = group->parent->child_inputs[group->parent_index]; + + if (!group->parser + && group->argp->children && group->argp->children->argp) + /* For the special case where no parsing function is supplied for an + argp, propagate its input to its first child, if any (this just + makes very simple wrapper argps more convenient). */ + group->child_inputs[0] = group->input; + + err = group_parse (group, &parser->state, ARGP_KEY_INIT, 0); + } + if (err == EBADKEY) + err = 0; /* Some parser didn't understand. */ + + if (err) + return err; + + if (parser->state.flags & ARGP_NO_ERRS) + { + parser->opt_data.opterr = 0; + if (parser->state.flags & ARGP_PARSE_ARGV0) + /* getopt always skips ARGV[0], so we have to fake it out. As long + as OPTERR is 0, then it shouldn't actually try to access it. */ + parser->state.argv--, parser->state.argc++; + } + else + parser->opt_data.opterr = 1; /* Print error messages. */ + + if (parser->state.argv == argv && argv[0]) + /* There's an argv[0]; use it for messages. */ + parser->state.name = __argp_base_name (argv[0]); + else + parser->state.name = __argp_short_program_name (); + + return 0; +} + +/* Free any storage consumed by PARSER (but not PARSER itself). */ +static error_t +parser_finalize (struct parser *parser, + error_t err, int arg_ebadkey, int *end_index) +{ + struct group *group; + + if (err == EBADKEY && arg_ebadkey) + /* Suppress errors generated by unparsed arguments. */ + err = 0; + + if (! err) + { + if (parser->state.next == parser->state.argc) + /* We successfully parsed all arguments! Call all the parsers again, + just a few more times... */ + { + for (group = parser->groups; + group < parser->egroup && (!err || err==EBADKEY); + group++) + if (group->args_processed == 0) + err = group_parse (group, &parser->state, ARGP_KEY_NO_ARGS, 0); + for (group = parser->egroup - 1; + group >= parser->groups && (!err || err==EBADKEY); + group--) + err = group_parse (group, &parser->state, ARGP_KEY_END, 0); + + if (err == EBADKEY) + err = 0; /* Some parser didn't understand. */ + + /* Tell the user that all arguments are parsed. */ + if (end_index) + *end_index = parser->state.next; + } + else if (end_index) + /* Return any remaining arguments to the user. */ + *end_index = parser->state.next; + else + /* No way to return the remaining arguments, they must be bogus. */ + { + if (!(parser->state.flags & ARGP_NO_ERRS) + && parser->state.err_stream) + fprintf (parser->state.err_stream, + dgettext (parser->argp->argp_domain, + "%s: Too many arguments\n"), + parser->state.name); + err = EBADKEY; + } + } + + /* Okay, we're all done, with either an error or success; call the parsers + to indicate which one. */ + + if (err) + { + /* Maybe print an error message. */ + if (err == EBADKEY) + /* An appropriate message describing what the error was should have + been printed earlier. */ + __argp_state_help (&parser->state, parser->state.err_stream, + ARGP_HELP_STD_ERR); + + /* Since we didn't exit, give each parser an error indication. */ + for (group = parser->groups; group < parser->egroup; group++) + group_parse (group, &parser->state, ARGP_KEY_ERROR, 0); + } + else + /* Notify parsers of success, and propagate back values from parsers. */ + { + /* We pass over the groups in reverse order so that child groups are + given a chance to do there processing before passing back a value to + the parent. */ + for (group = parser->egroup - 1 + ; group >= parser->groups && (!err || err == EBADKEY) + ; group--) + err = group_parse (group, &parser->state, ARGP_KEY_SUCCESS, 0); + if (err == EBADKEY) + err = 0; /* Some parser didn't understand. */ + } + + /* Call parsers once more, to do any final cleanup. Errors are ignored. */ + for (group = parser->egroup - 1; group >= parser->groups; group--) + group_parse (group, &parser->state, ARGP_KEY_FINI, 0); + + if (err == EBADKEY) + err = EINVAL; + + free (parser->storage); + + return err; +} + +/* Call the user parsers to parse the non-option argument VAL, at the current + position, returning any error. The state NEXT pointer is assumed to have + been adjusted (by getopt) to point after this argument; this function will + adjust it correctly to reflect however many args actually end up being + consumed. */ +static error_t +parser_parse_arg (struct parser *parser, char *val) +{ + /* Save the starting value of NEXT, first adjusting it so that the arg + we're parsing is again the front of the arg vector. */ + int index = --parser->state.next; + error_t err = EBADKEY; + struct group *group; + int key = 0; /* Which of ARGP_KEY_ARG[S] we used. */ + + /* Try to parse the argument in each parser. */ + for (group = parser->groups + ; group < parser->egroup && err == EBADKEY + ; group++) + { + parser->state.next++; /* For ARGP_KEY_ARG, consume the arg. */ + key = ARGP_KEY_ARG; + err = group_parse (group, &parser->state, key, val); + + if (err == EBADKEY) + /* This parser doesn't like ARGP_KEY_ARG; try ARGP_KEY_ARGS instead. */ + { + parser->state.next--; /* For ARGP_KEY_ARGS, put back the arg. */ + key = ARGP_KEY_ARGS; + err = group_parse (group, &parser->state, key, 0); + } + } + + if (! err) + { + if (key == ARGP_KEY_ARGS) + /* The default for ARGP_KEY_ARGS is to assume that if NEXT isn't + changed by the user, *all* arguments should be considered + consumed. */ + parser->state.next = parser->state.argc; + + if (parser->state.next > index) + /* Remember that we successfully processed a non-option + argument -- but only if the user hasn't gotten tricky and set + the clock back. */ + (--group)->args_processed += (parser->state.next - index); + else + /* The user wants to reparse some args, give getopt another try. */ + parser->try_getopt = 1; + } + + return err; +} + +/* Call the user parsers to parse the option OPT, with argument VAL, at the + current position, returning any error. */ +static error_t +parser_parse_opt (struct parser *parser, int opt, char *val) +{ + /* The group key encoded in the high bits; 0 for short opts or + group_number + 1 for long opts. */ + int group_key = opt >> USER_BITS; + error_t err = EBADKEY; + + if (group_key == 0) + /* A short option. By comparing OPT's position in SHORT_OPTS to the + various starting positions in each group's SHORT_END field, we can + determine which group OPT came from. */ + { + struct group *group; + char *short_index = strchr (parser->short_opts, opt); + + if (short_index) + for (group = parser->groups; group < parser->egroup; group++) + if (group->short_end > short_index) + { + err = group_parse (group, &parser->state, opt, + parser->opt_data.optarg); + break; + } + } + else + /* A long option. We use shifts instead of masking for extracting + the user value in order to preserve the sign. */ + err = + group_parse (&parser->groups[group_key - 1], &parser->state, + (opt << GROUP_BITS) >> GROUP_BITS, + parser->opt_data.optarg); + + if (err == EBADKEY) + /* At least currently, an option not recognized is an error in the + parser, because we pre-compute which parser is supposed to deal + with each option. */ + { + static const char bad_key_err[] = + N_("(PROGRAM ERROR) Option should have been recognized!?"); + if (group_key == 0) + __argp_error (&parser->state, "-%c: %s", opt, + dgettext (parser->argp->argp_domain, bad_key_err)); + else + { + struct option *long_opt = parser->long_opts; + while (long_opt->val != opt && long_opt->name) + long_opt++; + __argp_error (&parser->state, "--%s: %s", + long_opt->name ? long_opt->name : "???", + dgettext (parser->argp->argp_domain, bad_key_err)); + } + } + + return err; +} + +/* Parse the next argument in PARSER (as indicated by PARSER->state.next). + Any error from the parsers is returned, and *ARGP_EBADKEY indicates + whether a value of EBADKEY is due to an unrecognized argument (which is + generally not fatal). */ +static error_t +parser_parse_next (struct parser *parser, int *arg_ebadkey) +{ + int opt; + error_t err = 0; + + if (parser->state.quoted && parser->state.next < parser->state.quoted) + /* The next argument pointer has been moved to before the quoted + region, so pretend we never saw the quoting `--', and give getopt + another chance. If the user hasn't removed it, getopt will just + process it again. */ + parser->state.quoted = 0; + + if (parser->try_getopt && !parser->state.quoted) + /* Give getopt a chance to parse this. */ + { + /* Put it back in OPTIND for getopt. */ + parser->opt_data.optind = parser->state.next; + /* Distinguish KEY_ERR from a real option. */ + parser->opt_data.optopt = KEY_END; + if (parser->state.flags & ARGP_LONG_ONLY) + opt = _getopt_long_only_r (parser->state.argc, parser->state.argv, + parser->short_opts, parser->long_opts, 0, + &parser->opt_data); + else + opt = _getopt_long_r (parser->state.argc, parser->state.argv, + parser->short_opts, parser->long_opts, 0, + &parser->opt_data); + /* And see what getopt did. */ + parser->state.next = parser->opt_data.optind; + + if (opt == KEY_END) + /* Getopt says there are no more options, so stop using + getopt; we'll continue if necessary on our own. */ + { + parser->try_getopt = 0; + if (parser->state.next > 1 + && strcmp (parser->state.argv[parser->state.next - 1], QUOTE) + == 0) + /* Not only is this the end of the options, but it's a + `quoted' region, which may have args that *look* like + options, so we definitely shouldn't try to use getopt past + here, whatever happens. */ + parser->state.quoted = parser->state.next; + } + else if (opt == KEY_ERR && parser->opt_data.optopt != KEY_END) + /* KEY_ERR can have the same value as a valid user short + option, but in the case of a real error, getopt sets OPTOPT + to the offending character, which can never be KEY_END. */ + { + *arg_ebadkey = 0; + return EBADKEY; + } + } + else + opt = KEY_END; + + if (opt == KEY_END) + { + /* We're past what getopt considers the options. */ + if (parser->state.next >= parser->state.argc + || (parser->state.flags & ARGP_NO_ARGS)) + /* Indicate that we're done. */ + { + *arg_ebadkey = 1; + return EBADKEY; + } + else + /* A non-option arg; simulate what getopt might have done. */ + { + opt = KEY_ARG; + parser->opt_data.optarg = parser->state.argv[parser->state.next++]; + } + } + + if (opt == KEY_ARG) + /* A non-option argument; try each parser in turn. */ + err = parser_parse_arg (parser, parser->opt_data.optarg); + else + err = parser_parse_opt (parser, opt, parser->opt_data.optarg); + + if (err == EBADKEY) + *arg_ebadkey = (opt == KEY_END || opt == KEY_ARG); + + return err; +} + +/* Parse the options strings in ARGC & ARGV according to the argp in ARGP. + FLAGS is one of the ARGP_ flags above. If END_INDEX is non-NULL, the + index in ARGV of the first unparsed option is returned in it. If an + unknown option is present, EINVAL is returned; if some parser routine + returned a non-zero value, it is returned; otherwise 0 is returned. */ +error_t +__argp_parse (const struct argp *argp, int argc, char **argv, unsigned flags, + int *end_index, void *input) +{ + error_t err; + struct parser parser; + + /* If true, then err == EBADKEY is a result of a non-option argument failing + to be parsed (which in some cases isn't actually an error). */ + int arg_ebadkey = 0; + +#ifndef _LIBC + if (!(flags & ARGP_PARSE_ARGV0)) + { +#ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME + if (!program_invocation_name) + program_invocation_name = argv[0]; +#endif +#ifdef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME + if (!program_invocation_short_name) + program_invocation_short_name = __argp_base_name (argv[0]); +#endif + } +#endif + + if (! (flags & ARGP_NO_HELP)) + /* Add our own options. */ + { + struct argp_child *child = alloca (4 * sizeof (struct argp_child)); + struct argp *top_argp = alloca (sizeof (struct argp)); + + /* TOP_ARGP has no options, it just serves to group the user & default + argps. */ + memset (top_argp, 0, sizeof (*top_argp)); + top_argp->children = child; + + memset (child, 0, 4 * sizeof (struct argp_child)); + + if (argp) + (child++)->argp = argp; + (child++)->argp = &argp_default_argp; + if (argp_program_version || argp_program_version_hook) + (child++)->argp = &argp_version_argp; + child->argp = 0; + + argp = top_argp; + } + + /* Construct a parser for these arguments. */ + err = parser_init (&parser, argp, argc, argv, flags, input); + + if (! err) + /* Parse! */ + { + while (! err) + err = parser_parse_next (&parser, &arg_ebadkey); + err = parser_finalize (&parser, err, arg_ebadkey, end_index); + } + + return err; +} +#ifdef weak_alias +weak_alias (__argp_parse, argp_parse) +#endif + +/* Return the input field for ARGP in the parser corresponding to STATE; used + by the help routines. */ +void * +__argp_input (const struct argp *argp, const struct argp_state *state) +{ + if (state && state->pstate) + { + struct group *group; + struct parser *parser = state->pstate; + + for (group = parser->groups; group < parser->egroup; group++) + if (group->argp == argp) + return group->input; + } + + return 0; +} +#ifdef weak_alias +weak_alias (__argp_input, _argp_input) +#endif diff --git a/grub-core/gnulib/argp-pin.c b/grub-core/gnulib/argp-pin.c new file mode 100644 index 0000000..eda4d95 --- /dev/null +++ b/grub-core/gnulib/argp-pin.c @@ -0,0 +1,27 @@ +/* Full and short program names for argp module + Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME +char *program_invocation_short_name = 0; +#endif +#ifndef HAVE_PROGRAM_INVOCATION_NAME +char *program_invocation_name = 0; +#endif + diff --git a/grub-core/gnulib/argp-pv.c b/grub-core/gnulib/argp-pv.c new file mode 100644 index 0000000..e3227d3 --- /dev/null +++ b/grub-core/gnulib/argp-pv.c @@ -0,0 +1,34 @@ +/* Default definition for ARGP_PROGRAM_VERSION. + Copyright (C) 1996, 1997, 1999, 2006, 2009, 2010 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* If set by the user program to a non-zero value, then a default option + --version is added (unless the ARGP_NO_HELP flag is used), which will + print this string followed by a newline and exit (unless the + ARGP_NO_EXIT flag is used). Overridden by ARGP_PROGRAM_VERSION_HOOK. */ +const char *argp_program_version +/* This variable should be zero-initialized. On most systems, putting it into + BSS is sufficient. Not so on MacOS X 10.3 and 10.4, see + + . */ +#if defined __ELF__ + /* On ELF systems, variables in BSS behave well. */ +#else + = (const char *) 0 +#endif + ; diff --git a/grub-core/gnulib/argp-pvh.c b/grub-core/gnulib/argp-pvh.c new file mode 100644 index 0000000..fb98fc2 --- /dev/null +++ b/grub-core/gnulib/argp-pvh.c @@ -0,0 +1,31 @@ +/* Default definition for ARGP_PROGRAM_VERSION_HOOK. + Copyright (C) 1996, 1997, 1999, 2004, 2009, 2010 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "argp.h" + +/* If set by the user program to a non-zero value, then a default option + --version is added (unless the ARGP_NO_HELP flag is used), which calls + this function with a stream to print the version to and a pointer to the + current parsing state, and then exits (unless the ARGP_NO_EXIT flag is + used). This variable takes precedent over ARGP_PROGRAM_VERSION. */ +void (*argp_program_version_hook) (FILE *stream, struct argp_state *state) = NULL; diff --git a/grub-core/gnulib/argp-xinl.c b/grub-core/gnulib/argp-xinl.c new file mode 100644 index 0000000..6e7e20b --- /dev/null +++ b/grub-core/gnulib/argp-xinl.c @@ -0,0 +1,42 @@ +/* Real definitions for extern inline functions in argp.h + Copyright (C) 1997, 1998, 2004, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#if defined _LIBC || defined HAVE_FEATURES_H +# include +#endif + +#ifndef __USE_EXTERN_INLINES +# define __USE_EXTERN_INLINES 1 +#endif +#define ARGP_EI +#undef __OPTIMIZE__ +#define __OPTIMIZE__ 1 +#include "argp.h" + +/* Add weak aliases. */ +#if _LIBC - 0 && defined (weak_alias) + +weak_alias (__argp_usage, argp_usage) +weak_alias (__option_is_short, _option_is_short) +weak_alias (__option_is_end, _option_is_end) + +#endif diff --git a/grub-core/gnulib/argp.h b/grub-core/gnulib/argp.h new file mode 100644 index 0000000..3667224 --- /dev/null +++ b/grub-core/gnulib/argp.h @@ -0,0 +1,645 @@ +/* Hierarchial argument parsing, layered over getopt. + Copyright (C) 1995-1999, 2003-2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Written by Miles Bader . + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _ARGP_H +#define _ARGP_H + +#include +#include +#include +#include + +#define __need_error_t +#include + +#ifndef __THROW +# define __THROW +#endif +#ifndef __NTH +# define __NTH(fct) fct __THROW +#endif + +#ifndef __attribute__ +/* The __attribute__ feature is available in gcc versions 2.5 and later. + The __-protected variants of the attributes 'format' and 'printf' are + accepted by gcc versions 2.6.4 (effectively 2.7) and later. + We enable __attribute__ only if these are supported too, because + gnulib and libintl do '#define printf __printf__' when they override + the 'printf' function. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(Spec) /* empty */ +# endif +#endif + +/* GCC 2.95 and later have "__restrict"; C99 compilers have + "restrict", and "configure" may have defined "restrict". + Other compilers use __restrict, __restrict__, and _Restrict, and + 'configure' might #define 'restrict' to those words. */ +#ifndef __restrict +# if ! (2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__)) +# if 199901L <= __STDC_VERSION__ +# define __restrict restrict +# else +# define __restrict +# endif +# endif +#endif + +#ifndef __error_t_defined +typedef int error_t; +# define __error_t_defined +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* A description of a particular option. A pointer to an array of + these is passed in the OPTIONS field of an argp structure. Each option + entry can correspond to one long option and/or one short option; more + names for the same option can be added by following an entry in an option + array with options having the OPTION_ALIAS flag set. */ +struct argp_option +{ + /* The long option name. For more than one name for the same option, you + can use following options with the OPTION_ALIAS flag set. */ + const char *name; + + /* What key is returned for this option. If > 0 and printable, then it's + also accepted as a short option. */ + int key; + + /* If non-NULL, this is the name of the argument associated with this + option, which is required unless the OPTION_ARG_OPTIONAL flag is set. */ + const char *arg; + + /* OPTION_ flags. */ + int flags; + + /* The doc string for this option. If both NAME and KEY are 0, This string + will be printed outdented from the normal option column, making it + useful as a group header (it will be the first thing printed in its + group); in this usage, it's conventional to end the string with a `:'. + + Write the initial value as N_("TEXT") if you want xgettext to collect + it into a POT file. */ + const char *doc; + + /* The group this option is in. In a long help message, options are sorted + alphabetically within each group, and the groups presented in the order + 0, 1, 2, ..., n, -m, ..., -2, -1. Every entry in an options array with + if this field 0 will inherit the group number of the previous entry, or + zero if it's the first one, unless its a group header (NAME and KEY both + 0), in which case, the previous entry + 1 is the default. Automagic + options such as --help are put into group -1. */ + int group; +}; + +/* The argument associated with this option is optional. */ +#define OPTION_ARG_OPTIONAL 0x1 + +/* This option isn't displayed in any help messages. */ +#define OPTION_HIDDEN 0x2 + +/* This option is an alias for the closest previous non-alias option. This + means that it will be displayed in the same help entry, and will inherit + fields other than NAME and KEY from the aliased option. */ +#define OPTION_ALIAS 0x4 + +/* This option isn't actually an option (and so should be ignored by the + actual option parser), but rather an arbitrary piece of documentation that + should be displayed in much the same manner as the options. If this flag + is set, then the option NAME field is displayed unmodified (e.g., no `--' + prefix is added) at the left-margin (where a *short* option would normally + be displayed), and the documentation string in the normal place. The NAME + field will be translated using gettext, unless OPTION_NO_TRANS is set (see + below). For purposes of sorting, any leading whitespace and punctuation is + ignored, except that if the first non-whitespace character is not `-', this + entry is displayed after all options (and OPTION_DOC entries with a leading + `-') in the same group. */ +#define OPTION_DOC 0x8 + +/* This option shouldn't be included in `long' usage messages (but is still + included in help messages). This is mainly intended for options that are + completely documented in an argp's ARGS_DOC field, in which case including + the option in the generic usage list would be redundant. For instance, + if ARGS_DOC is "FOO BAR\n-x BLAH", and the `-x' option's purpose is to + distinguish these two cases, -x should probably be marked + OPTION_NO_USAGE. */ +#define OPTION_NO_USAGE 0x10 + +/* Valid only in conjunction with OPTION_DOC. This option disables translation + of option name. */ +#define OPTION_NO_TRANS 0x20 + + +struct argp; /* fwd declare this type */ +struct argp_state; /* " */ +struct argp_child; /* " */ + +/* The type of a pointer to an argp parsing function. */ +typedef error_t (*argp_parser_t) (int key, char *arg, + struct argp_state *state); + +/* What to return for unrecognized keys. For special ARGP_KEY_ keys, such + returns will simply be ignored. For user keys, this error will be turned + into EINVAL (if the call to argp_parse is such that errors are propagated + back to the user instead of exiting); returning EINVAL itself would result + in an immediate stop to parsing in *all* cases. */ +#define ARGP_ERR_UNKNOWN E2BIG /* Hurd should never need E2BIG. XXX */ + +/* Special values for the KEY argument to an argument parsing function. + ARGP_ERR_UNKNOWN should be returned if they aren't understood. + + The sequence of keys to a parsing function is either (where each + uppercased word should be prefixed by `ARGP_KEY_' and opt is a user key): + + INIT opt... NO_ARGS END SUCCESS -- No non-option arguments at all + or INIT (opt | ARG)... END SUCCESS -- All non-option args parsed + or INIT (opt | ARG)... SUCCESS -- Some non-option arg unrecognized + + The third case is where every parser returned ARGP_KEY_UNKNOWN for an + argument, in which case parsing stops at that argument (returning the + unparsed arguments to the caller of argp_parse if requested, or stopping + with an error message if not). + + If an error occurs (either detected by argp, or because the parsing + function returned an error value), then the parser is called with + ARGP_KEY_ERROR, and no further calls are made. */ + +/* This is not an option at all, but rather a command line argument. If a + parser receiving this key returns success, the fact is recorded, and the + ARGP_KEY_NO_ARGS case won't be used. HOWEVER, if while processing the + argument, a parser function decrements the NEXT field of the state it's + passed, the option won't be considered processed; this is to allow you to + actually modify the argument (perhaps into an option), and have it + processed again. */ +#define ARGP_KEY_ARG 0 +/* There are remaining arguments not parsed by any parser, which may be found + starting at (STATE->argv + STATE->next). If success is returned, but + STATE->next left untouched, it's assumed that all arguments were consume, + otherwise, the parser should adjust STATE->next to reflect any arguments + consumed. */ +#define ARGP_KEY_ARGS 0x1000006 +/* There are no more command line arguments at all. */ +#define ARGP_KEY_END 0x1000001 +/* Because it's common to want to do some special processing if there aren't + any non-option args, user parsers are called with this key if they didn't + successfully process any non-option arguments. Called just before + ARGP_KEY_END (where more general validity checks on previously parsed + arguments can take place). */ +#define ARGP_KEY_NO_ARGS 0x1000002 +/* Passed in before any parsing is done. Afterwards, the values of each + element of the CHILD_INPUT field, if any, in the state structure is + copied to each child's state to be the initial value of the INPUT field. */ +#define ARGP_KEY_INIT 0x1000003 +/* Use after all other keys, including SUCCESS & END. */ +#define ARGP_KEY_FINI 0x1000007 +/* Passed in when parsing has successfully been completed (even if there are + still arguments remaining). */ +#define ARGP_KEY_SUCCESS 0x1000004 +/* Passed in if an error occurs. */ +#define ARGP_KEY_ERROR 0x1000005 + +/* An argp structure contains a set of options declarations, a function to + deal with parsing one, documentation string, a possible vector of child + argp's, and perhaps a function to filter help output. When actually + parsing options, getopt is called with the union of all the argp + structures chained together through their CHILD pointers, with conflicts + being resolved in favor of the first occurrence in the chain. */ +struct argp +{ + /* An array of argp_option structures, terminated by an entry with both + NAME and KEY having a value of 0. */ + const struct argp_option *options; + + /* What to do with an option from this structure. KEY is the key + associated with the option, and ARG is any associated argument (NULL if + none was supplied). If KEY isn't understood, ARGP_ERR_UNKNOWN should be + returned. If a non-zero, non-ARGP_ERR_UNKNOWN value is returned, then + parsing is stopped immediately, and that value is returned from + argp_parse(). For special (non-user-supplied) values of KEY, see the + ARGP_KEY_ definitions below. */ + argp_parser_t parser; + + /* A string describing what other arguments are wanted by this program. It + is only used by argp_usage to print the `Usage:' message. If it + contains newlines, the strings separated by them are considered + alternative usage patterns, and printed on separate lines (lines after + the first are prefix by ` or: ' instead of `Usage:'). */ + const char *args_doc; + + /* If non-NULL, a string containing extra text to be printed before and + after the options in a long help message (separated by a vertical tab + `\v' character). + Write the initial value as N_("BEFORE-TEXT") "\v" N_("AFTER-TEXT") if + you want xgettext to collect the two pieces of text into a POT file. */ + const char *doc; + + /* A vector of argp_children structures, terminated by a member with a 0 + argp field, pointing to child argps should be parsed with this one. Any + conflicts are resolved in favor of this argp, or early argps in the + CHILDREN list. This field is useful if you use libraries that supply + their own argp structure, which you want to use in conjunction with your + own. */ + const struct argp_child *children; + + /* If non-zero, this should be a function to filter the output of help + messages. KEY is either a key from an option, in which case TEXT is + that option's help text, or a special key from the ARGP_KEY_HELP_ + defines, below, describing which other help text TEXT is. The function + should return either TEXT, if it should be used as-is, a replacement + string, which should be malloced, and will be freed by argp, or NULL, + meaning `print nothing'. The value for TEXT is *after* any translation + has been done, so if any of the replacement text also needs translation, + that should be done by the filter function. INPUT is either the input + supplied to argp_parse, or NULL, if argp_help was called directly. */ + char *(*help_filter) (int __key, const char *__text, void *__input); + + /* If non-zero the strings used in the argp library are translated using + the domain described by this string. Otherwise the currently installed + default domain is used. */ + const char *argp_domain; +}; + +/* Possible KEY arguments to a help filter function. */ +#define ARGP_KEY_HELP_PRE_DOC 0x2000001 /* Help text preceeding options. */ +#define ARGP_KEY_HELP_POST_DOC 0x2000002 /* Help text following options. */ +#define ARGP_KEY_HELP_HEADER 0x2000003 /* Option header string. */ +#define ARGP_KEY_HELP_EXTRA 0x2000004 /* After all other documentation; + TEXT is NULL for this key. */ +/* Explanatory note emitted when duplicate option arguments have been + suppressed. */ +#define ARGP_KEY_HELP_DUP_ARGS_NOTE 0x2000005 +#define ARGP_KEY_HELP_ARGS_DOC 0x2000006 /* Argument doc string. */ + +/* When an argp has a non-zero CHILDREN field, it should point to a vector of + argp_child structures, each of which describes a subsidiary argp. */ +struct argp_child +{ + /* The child parser. */ + const struct argp *argp; + + /* Flags for this child. */ + int flags; + + /* If non-zero, an optional header to be printed in help output before the + child options. As a side-effect, a non-zero value forces the child + options to be grouped together; to achieve this effect without actually + printing a header string, use a value of "". */ + const char *header; + + /* Where to group the child options relative to the other (`consolidated') + options in the parent argp; the values are the same as the GROUP field + in argp_option structs, but all child-groupings follow parent options at + a particular group level. If both this field and HEADER are zero, then + they aren't grouped at all, but rather merged with the parent options + (merging the child's grouping levels with the parents). */ + int group; +}; + +/* Parsing state. This is provided to parsing functions called by argp, + which may examine and, as noted, modify fields. */ +struct argp_state +{ + /* The top level ARGP being parsed. */ + const struct argp *root_argp; + + /* The argument vector being parsed. May be modified. */ + int argc; + char **argv; + + /* The index in ARGV of the next arg that to be parsed. May be modified. */ + int next; + + /* The flags supplied to argp_parse. May be modified. */ + unsigned flags; + + /* While calling a parsing function with a key of ARGP_KEY_ARG, this is the + number of the current arg, starting at zero, and incremented after each + such call returns. At all other times, this is the number of such + arguments that have been processed. */ + unsigned arg_num; + + /* If non-zero, the index in ARGV of the first argument following a special + `--' argument (which prevents anything following being interpreted as an + option). Only set once argument parsing has proceeded past this point. */ + int quoted; + + /* An arbitrary pointer passed in from the user. */ + void *input; + /* Values to pass to child parsers. This vector will be the same length as + the number of children for the current parser. */ + void **child_inputs; + + /* For the parser's use. Initialized to 0. */ + void *hook; + + /* The name used when printing messages. This is initialized to ARGV[0], + or PROGRAM_INVOCATION_NAME if that is unavailable. */ + char *name; + + /* Streams used when argp prints something. */ + FILE *err_stream; /* For errors; initialized to stderr. */ + FILE *out_stream; /* For information; initialized to stdout. */ + + void *pstate; /* Private, for use by argp. */ +}; + +/* Flags for argp_parse (note that the defaults are those that are + convenient for program command line parsing): */ + +/* Don't ignore the first element of ARGV. Normally (and always unless + ARGP_NO_ERRS is set) the first element of the argument vector is + skipped for option parsing purposes, as it corresponds to the program name + in a command line. */ +#define ARGP_PARSE_ARGV0 0x01 + +/* Don't print error messages for unknown options to stderr; unless this flag + is set, ARGP_PARSE_ARGV0 is ignored, as ARGV[0] is used as the program + name in the error messages. This flag implies ARGP_NO_EXIT (on the + assumption that silent exiting upon errors is bad behaviour). */ +#define ARGP_NO_ERRS 0x02 + +/* Don't parse any non-option args. Normally non-option args are parsed by + calling the parse functions with a key of ARGP_KEY_ARG, and the actual arg + as the value. Since it's impossible to know which parse function wants to + handle it, each one is called in turn, until one returns 0 or an error + other than ARGP_ERR_UNKNOWN; if an argument is handled by no one, the + argp_parse returns prematurely (but with a return value of 0). If all + args have been parsed without error, all parsing functions are called one + last time with a key of ARGP_KEY_END. This flag needn't normally be set, + as the normal behavior is to stop parsing as soon as some argument can't + be handled. */ +#define ARGP_NO_ARGS 0x04 + +/* Parse options and arguments in the same order they occur on the command + line -- normally they're rearranged so that all options come first. */ +#define ARGP_IN_ORDER 0x08 + +/* Don't provide the standard long option --help, which causes usage and + option help information to be output to stdout, and exit (0) called. */ +#define ARGP_NO_HELP 0x10 + +/* Don't exit on errors (they may still result in error messages). */ +#define ARGP_NO_EXIT 0x20 + +/* Use the gnu getopt `long-only' rules for parsing arguments. */ +#define ARGP_LONG_ONLY 0x40 + +/* Turns off any message-printing/exiting options. */ +#define ARGP_SILENT (ARGP_NO_EXIT | ARGP_NO_ERRS | ARGP_NO_HELP) + +/* Parse the options strings in ARGC & ARGV according to the options in ARGP. + FLAGS is one of the ARGP_ flags above. If ARG_INDEX is non-NULL, the + index in ARGV of the first unparsed option is returned in it. If an + unknown option is present, ARGP_ERR_UNKNOWN is returned; if some parser + routine returned a non-zero value, it is returned; otherwise 0 is + returned. This function may also call exit unless the ARGP_NO_HELP flag + is set. INPUT is a pointer to a value to be passed in to the parser. */ +extern error_t argp_parse (const struct argp *__restrict __argp, + int /*argc*/, char **__restrict /*argv*/, + unsigned __flags, int *__restrict __arg_index, + void *__restrict __input); +extern error_t __argp_parse (const struct argp *__restrict __argp, + int /*argc*/, char **__restrict /*argv*/, + unsigned __flags, int *__restrict __arg_index, + void *__restrict __input); + +/* Global variables. */ + +/* GNULIB makes sure both program_invocation_name and + program_invocation_short_name are available */ +#ifdef GNULIB_PROGRAM_INVOCATION_NAME +extern char *program_invocation_name; +# undef HAVE_DECL_PROGRAM_INVOCATION_NAME +# define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 +#endif + +#ifdef GNULIB_PROGRAM_INVOCATION_SHORT_NAME +extern char *program_invocation_short_name; +# undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME +# define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1 +#endif + +/* If defined or set by the user program to a non-zero value, then a default + option --version is added (unless the ARGP_NO_HELP flag is used), which + will print this string followed by a newline and exit (unless the + ARGP_NO_EXIT flag is used). Overridden by ARGP_PROGRAM_VERSION_HOOK. */ +extern const char *argp_program_version; + +/* If defined or set by the user program to a non-zero value, then a default + option --version is added (unless the ARGP_NO_HELP flag is used), which + calls this function with a stream to print the version to and a pointer to + the current parsing state, and then exits (unless the ARGP_NO_EXIT flag is + used). This variable takes precedent over ARGP_PROGRAM_VERSION. */ +extern void (*argp_program_version_hook) (FILE *__restrict __stream, + struct argp_state *__restrict + __state); + +/* If defined or set by the user program, it should point to string that is + the bug-reporting address for the program. It will be printed by + argp_help if the ARGP_HELP_BUG_ADDR flag is set (as it is by various + standard help messages), embedded in a sentence that says something like + `Report bugs to ADDR.'. */ +extern const char *argp_program_bug_address; + +/* The exit status that argp will use when exiting due to a parsing error. + If not defined or set by the user program, this defaults to EX_USAGE from + . */ +extern error_t argp_err_exit_status; + +/* Flags for argp_help. */ +#define ARGP_HELP_USAGE 0x01 /* a Usage: message. */ +#define ARGP_HELP_SHORT_USAGE 0x02 /* " but don't actually print options. */ +#define ARGP_HELP_SEE 0x04 /* a `Try ... for more help' message. */ +#define ARGP_HELP_LONG 0x08 /* a long help message. */ +#define ARGP_HELP_PRE_DOC 0x10 /* doc string preceding long help. */ +#define ARGP_HELP_POST_DOC 0x20 /* doc string following long help. */ +#define ARGP_HELP_DOC (ARGP_HELP_PRE_DOC | ARGP_HELP_POST_DOC) +#define ARGP_HELP_BUG_ADDR 0x40 /* bug report address */ +#define ARGP_HELP_LONG_ONLY 0x80 /* modify output appropriately to + reflect ARGP_LONG_ONLY mode. */ + +/* These ARGP_HELP flags are only understood by argp_state_help. */ +#define ARGP_HELP_EXIT_ERR 0x100 /* Call exit(1) instead of returning. */ +#define ARGP_HELP_EXIT_OK 0x200 /* Call exit(0) instead of returning. */ + +/* The standard thing to do after a program command line parsing error, if an + error message has already been printed. */ +#define ARGP_HELP_STD_ERR \ + (ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR) +/* The standard thing to do after a program command line parsing error, if no + more specific error message has been printed. */ +#define ARGP_HELP_STD_USAGE \ + (ARGP_HELP_SHORT_USAGE | ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR) +/* The standard thing to do in response to a --help option. */ +#define ARGP_HELP_STD_HELP \ + (ARGP_HELP_SHORT_USAGE | ARGP_HELP_LONG | ARGP_HELP_EXIT_OK \ + | ARGP_HELP_DOC | ARGP_HELP_BUG_ADDR) + +/* Output a usage message for ARGP to STREAM. FLAGS are from the set + ARGP_HELP_*. */ +extern void argp_help (const struct argp *__restrict __argp, + FILE *__restrict __stream, + unsigned __flags, char *__restrict __name); +extern void __argp_help (const struct argp *__restrict __argp, + FILE *__restrict __stream, unsigned __flags, + char *__name); + +/* The following routines are intended to be called from within an argp + parsing routine (thus taking an argp_state structure as the first + argument). They may or may not print an error message and exit, depending + on the flags in STATE -- in any case, the caller should be prepared for + them *not* to exit, and should return an appropiate error after calling + them. [argp_usage & argp_error should probably be called argp_state_..., + but they're used often enough that they should be short] */ + +/* Output, if appropriate, a usage message for STATE to STREAM. FLAGS are + from the set ARGP_HELP_*. */ +extern void argp_state_help (const struct argp_state *__restrict __state, + FILE *__restrict __stream, + unsigned int __flags); +extern void __argp_state_help (const struct argp_state *__restrict __state, + FILE *__restrict __stream, + unsigned int __flags); + +#if _LIBC || !defined __USE_EXTERN_INLINES +/* Possibly output the standard usage message for ARGP to stderr and exit. */ +extern void argp_usage (const struct argp_state *__state); +extern void __argp_usage (const struct argp_state *__state); +#endif + +/* If appropriate, print the printf string FMT and following args, preceded + by the program name and `:', to stderr, and followed by a `Try ... --help' + message, then exit (1). */ +extern void argp_error (const struct argp_state *__restrict __state, + const char *__restrict __fmt, ...) + __attribute__ ((__format__ (__printf__, 2, 3))); +extern void __argp_error (const struct argp_state *__restrict __state, + const char *__restrict __fmt, ...) + __attribute__ ((__format__ (__printf__, 2, 3))); + +/* Similar to the standard gnu error-reporting function error(), but will + respect the ARGP_NO_EXIT and ARGP_NO_ERRS flags in STATE, and will print + to STATE->err_stream. This is useful for argument parsing code that is + shared between program startup (when exiting is desired) and runtime + option parsing (when typically an error code is returned instead). The + difference between this function and argp_error is that the latter is for + *parsing errors*, and the former is for other problems that occur during + parsing but don't reflect a (syntactic) problem with the input. */ +extern void argp_failure (const struct argp_state *__restrict __state, + int __status, int __errnum, + const char *__restrict __fmt, ...) + __attribute__ ((__format__ (__printf__, 4, 5))); +extern void __argp_failure (const struct argp_state *__restrict __state, + int __status, int __errnum, + const char *__restrict __fmt, ...) + __attribute__ ((__format__ (__printf__, 4, 5))); + +#if _LIBC || !defined __USE_EXTERN_INLINES +/* Returns true if the option OPT is a valid short option. */ +extern int _option_is_short (const struct argp_option *__opt) __THROW; +extern int __option_is_short (const struct argp_option *__opt) __THROW; + +/* Returns true if the option OPT is in fact the last (unused) entry in an + options array. */ +extern int _option_is_end (const struct argp_option *__opt) __THROW; +extern int __option_is_end (const struct argp_option *__opt) __THROW; +#endif + +/* Return the input field for ARGP in the parser corresponding to STATE; used + by the help routines. */ +extern void *_argp_input (const struct argp *__restrict __argp, + const struct argp_state *__restrict __state) + __THROW; +extern void *__argp_input (const struct argp *__restrict __argp, + const struct argp_state *__restrict __state) + __THROW; + +#ifdef __USE_EXTERN_INLINES + +# if !_LIBC +# define __argp_usage argp_usage +# define __argp_state_help argp_state_help +# define __option_is_short _option_is_short +# define __option_is_end _option_is_end +# endif + +# ifndef ARGP_EI +# ifdef __GNUC__ + /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 + inline semantics, unless -fgnu89-inline is used. It defines a macro + __GNUC_STDC_INLINE__ to indicate this situation or a macro + __GNUC_GNU_INLINE__ to indicate the opposite situation. + GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline + semantics but warns, unless -fgnu89-inline is used: + warning: C99 inline functions are not supported; using GNU89 + warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute + It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. */ +# if defined __GNUC_STDC_INLINE__ +# define ARGP_EI __inline__ +# elif defined __GNUC_GNU_INLINE__ +# define ARGP_EI extern __inline__ __attribute__ ((__gnu_inline__)) +# else +# define ARGP_EI extern __inline__ +# endif +# else + /* With other compilers, assume the ISO C99 meaning of 'inline', if + the compiler supports 'inline' at all. */ +# define ARGP_EI inline +# endif +# endif + +ARGP_EI void +__argp_usage (const struct argp_state *__state) +{ + __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); +} + +ARGP_EI int +__NTH (__option_is_short (const struct argp_option *__opt)) +{ + if (__opt->flags & OPTION_DOC) + return 0; + else + { + int __key = __opt->key; + return __key > 0 && __key <= UCHAR_MAX && isprint (__key); + } +} + +ARGP_EI int +__NTH (__option_is_end (const struct argp_option *__opt)) +{ + return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; +} + +# if !_LIBC +# undef __argp_usage +# undef __argp_state_help +# undef __option_is_short +# undef __option_is_end +# endif +#endif /* Use extern inlines. */ + +#ifdef __cplusplus +} +#endif + +#endif /* argp.h */ diff --git a/grub-core/gnulib/asnprintf.c b/grub-core/gnulib/asnprintf.c new file mode 100644 index 0000000..3bd2229 --- /dev/null +++ b/grub-core/gnulib/asnprintf.c @@ -0,0 +1,35 @@ +/* Formatted output to strings. + Copyright (C) 1999, 2002, 2006, 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +/* Specification. */ +#include "vasnprintf.h" + +#include + +char * +asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) +{ + va_list args; + char *result; + + va_start (args, format); + result = vasnprintf (resultbuf, lengthp, format, args); + va_end (args); + return result; +} diff --git a/grub-core/gnulib/basename-lgpl.c b/grub-core/gnulib/basename-lgpl.c new file mode 100644 index 0000000..a35ff01 --- /dev/null +++ b/grub-core/gnulib/basename-lgpl.c @@ -0,0 +1,75 @@ +/* basename.c -- return the last element in a file name + + Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2010 Free Software + Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +#include "dirname.h" + +#include + +/* Return the address of the last file name component of NAME. If + NAME has no relative file name components because it is a file + system root, return the empty string. */ + +char * +last_component (char const *name) +{ + char const *base = name + FILE_SYSTEM_PREFIX_LEN (name); + char const *p; + bool saw_slash = false; + + while (ISSLASH (*base)) + base++; + + for (p = base; *p; p++) + { + if (ISSLASH (*p)) + saw_slash = true; + else if (saw_slash) + { + base = p; + saw_slash = false; + } + } + + return (char *) base; +} + +/* Return the length of the basename NAME. Typically NAME is the + value returned by base_name or last_component. Act like strlen + (NAME), except omit all trailing slashes. */ + +size_t +base_len (char const *name) +{ + size_t len; + size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); + + for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--) + continue; + + if (DOUBLE_SLASH_IS_DISTINCT_ROOT && len == 1 + && ISSLASH (name[0]) && ISSLASH (name[1]) && ! name[2]) + return 2; + + if (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && prefix_len + && len == prefix_len && ISSLASH (name[prefix_len])) + return prefix_len + 1; + + return len; +} diff --git a/grub-core/gnulib/btowc.c b/grub-core/gnulib/btowc.c new file mode 100644 index 0000000..8744602 --- /dev/null +++ b/grub-core/gnulib/btowc.c @@ -0,0 +1,39 @@ +/* Convert unibyte character to wide character. + Copyright (C) 2008, 2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#include +#include + +wint_t +btowc (int c) +{ + if (c != EOF) + { + char buf[1]; + wchar_t wc; + + buf[0] = c; + if (mbtowc (&wc, buf, 1) >= 0) + return wc; + } + return WEOF; +} diff --git a/grub-core/gnulib/config.charset b/grub-core/gnulib/config.charset new file mode 100644 index 0000000..aa7d00d --- /dev/null +++ b/grub-core/gnulib/config.charset @@ -0,0 +1,683 @@ +#! /bin/sh +# Output a system dependent table of character encoding aliases. +# +# Copyright (C) 2000-2004, 2006-2010 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# The table consists of lines of the form +# ALIAS CANONICAL +# +# ALIAS is the (system dependent) result of "nl_langinfo (CODESET)". +# ALIAS is compared in a case sensitive way. +# +# CANONICAL is the GNU canonical name for this character encoding. +# It must be an encoding supported by libiconv. Support by GNU libc is +# also desirable. CANONICAL is case insensitive. Usually an upper case +# MIME charset name is preferred. +# The current list of GNU canonical charset names is as follows. +# +# name MIME? used by which systems +# ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin cygwin +# ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin +# ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin +# ISO-8859-3 Y glibc solaris cygwin +# ISO-8859-4 Y osf solaris freebsd netbsd openbsd darwin +# ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin +# ISO-8859-6 Y glibc aix hpux solaris cygwin +# ISO-8859-7 Y glibc aix hpux irix osf solaris netbsd openbsd darwin cygwin +# ISO-8859-8 Y glibc aix hpux osf solaris cygwin +# ISO-8859-9 Y glibc aix hpux irix osf solaris darwin cygwin +# ISO-8859-13 glibc netbsd openbsd darwin cygwin +# ISO-8859-14 glibc cygwin +# ISO-8859-15 glibc aix osf solaris freebsd netbsd openbsd darwin cygwin +# KOI8-R Y glibc solaris freebsd netbsd openbsd darwin +# KOI8-U Y glibc freebsd netbsd openbsd darwin cygwin +# KOI8-T glibc +# CP437 dos +# CP775 dos +# CP850 aix osf dos +# CP852 dos +# CP855 dos +# CP856 aix +# CP857 dos +# CP861 dos +# CP862 dos +# CP864 dos +# CP865 dos +# CP866 freebsd netbsd openbsd darwin dos +# CP869 dos +# CP874 woe32 dos +# CP922 aix +# CP932 aix cygwin woe32 dos +# CP943 aix +# CP949 osf darwin woe32 dos +# CP950 woe32 dos +# CP1046 aix +# CP1124 aix +# CP1125 dos +# CP1129 aix +# CP1131 darwin +# CP1250 woe32 +# CP1251 glibc solaris netbsd openbsd darwin cygwin woe32 +# CP1252 aix woe32 +# CP1253 woe32 +# CP1254 woe32 +# CP1255 glibc woe32 +# CP1256 woe32 +# CP1257 woe32 +# GB2312 Y glibc aix hpux irix solaris freebsd netbsd darwin +# EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin +# EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin +# EUC-TW glibc aix hpux irix osf solaris netbsd +# BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin cygwin +# BIG5-HKSCS glibc solaris darwin +# GBK glibc aix osf solaris darwin cygwin woe32 dos +# GB18030 glibc solaris netbsd darwin +# SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin +# JOHAB glibc solaris woe32 +# TIS-620 glibc aix hpux osf solaris cygwin +# VISCII Y glibc +# TCVN5712-1 glibc +# ARMSCII-8 glibc darwin +# GEORGIAN-PS glibc cygwin +# PT154 glibc +# HP-ROMAN8 hpux +# HP-ARABIC8 hpux +# HP-GREEK8 hpux +# HP-HEBREW8 hpux +# HP-TURKISH8 hpux +# HP-KANA8 hpux +# DEC-KANJI osf +# DEC-HANYU osf +# UTF-8 Y glibc aix hpux osf solaris netbsd darwin cygwin +# +# Note: Names which are not marked as being a MIME name should not be used in +# Internet protocols for information interchange (mail, news, etc.). +# +# Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications +# must understand both names and treat them as equivalent. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM + +host="$1" +os=`echo "$host" | sed -e 's/^[^-]*-[^-]*-\(.*\)$/\1/'` +echo "# This file contains a table of character encoding aliases," +echo "# suitable for operating system '${os}'." +echo "# It was automatically generated from config.charset." +# List of references, updated during installation: +echo "# Packages using this file: " +case "$os" in + linux-gnulibc1*) + # Linux libc5 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + echo "C ASCII" + echo "POSIX ASCII" + for l in af af_ZA ca ca_ES da da_DK de de_AT de_BE de_CH de_DE de_LU \ + en en_AU en_BW en_CA en_DK en_GB en_IE en_NZ en_US en_ZA \ + en_ZW es es_AR es_BO es_CL es_CO es_DO es_EC es_ES es_GT \ + es_HN es_MX es_PA es_PE es_PY es_SV es_US es_UY es_VE et \ + et_EE eu eu_ES fi fi_FI fo fo_FO fr fr_BE fr_CA fr_CH fr_FR \ + fr_LU ga ga_IE gl gl_ES id id_ID in in_ID is is_IS it it_CH \ + it_IT kl kl_GL nl nl_BE nl_NL no no_NO pt pt_BR pt_PT sv \ + sv_FI sv_SE; do + echo "$l ISO-8859-1" + echo "$l.iso-8859-1 ISO-8859-1" + echo "$l.iso-8859-15 ISO-8859-15" + echo "$l.iso-8859-15@euro ISO-8859-15" + echo "$l@euro ISO-8859-15" + echo "$l.cp-437 CP437" + echo "$l.cp-850 CP850" + echo "$l.cp-1252 CP1252" + echo "$l.cp-1252@euro CP1252" + #echo "$l.atari-st ATARI-ST" # not a commonly used encoding + echo "$l.utf-8 UTF-8" + echo "$l.utf-8@euro UTF-8" + done + for l in cs cs_CZ hr hr_HR hu hu_HU pl pl_PL ro ro_RO sk sk_SK sl \ + sl_SI sr sr_CS sr_YU; do + echo "$l ISO-8859-2" + echo "$l.iso-8859-2 ISO-8859-2" + echo "$l.cp-852 CP852" + echo "$l.cp-1250 CP1250" + echo "$l.utf-8 UTF-8" + done + for l in mk mk_MK ru ru_RU; do + echo "$l ISO-8859-5" + echo "$l.iso-8859-5 ISO-8859-5" + echo "$l.koi8-r KOI8-R" + echo "$l.cp-866 CP866" + echo "$l.cp-1251 CP1251" + echo "$l.utf-8 UTF-8" + done + for l in ar ar_SA; do + echo "$l ISO-8859-6" + echo "$l.iso-8859-6 ISO-8859-6" + echo "$l.cp-864 CP864" + #echo "$l.cp-868 CP868" # not a commonly used encoding + echo "$l.cp-1256 CP1256" + echo "$l.utf-8 UTF-8" + done + for l in el el_GR gr gr_GR; do + echo "$l ISO-8859-7" + echo "$l.iso-8859-7 ISO-8859-7" + echo "$l.cp-869 CP869" + echo "$l.cp-1253 CP1253" + echo "$l.cp-1253@euro CP1253" + echo "$l.utf-8 UTF-8" + echo "$l.utf-8@euro UTF-8" + done + for l in he he_IL iw iw_IL; do + echo "$l ISO-8859-8" + echo "$l.iso-8859-8 ISO-8859-8" + echo "$l.cp-862 CP862" + echo "$l.cp-1255 CP1255" + echo "$l.utf-8 UTF-8" + done + for l in tr tr_TR; do + echo "$l ISO-8859-9" + echo "$l.iso-8859-9 ISO-8859-9" + echo "$l.cp-857 CP857" + echo "$l.cp-1254 CP1254" + echo "$l.utf-8 UTF-8" + done + for l in lt lt_LT lv lv_LV; do + #echo "$l BALTIC" # not a commonly used encoding, wrong encoding name + echo "$l ISO-8859-13" + done + for l in ru_UA uk uk_UA; do + echo "$l KOI8-U" + done + for l in zh zh_CN; do + #echo "$l GB_2312-80" # not a commonly used encoding, wrong encoding name + echo "$l GB2312" + done + for l in ja ja_JP ja_JP.EUC; do + echo "$l EUC-JP" + done + for l in ko ko_KR; do + echo "$l EUC-KR" + done + for l in th th_TH; do + echo "$l TIS-620" + done + for l in fa fa_IR; do + #echo "$l ISIRI-3342" # a broken encoding + echo "$l.utf-8 UTF-8" + done + ;; + linux* | *-gnu*) + # With glibc-2.1 or newer, we don't need any canonicalization, + # because glibc has iconv and both glibc and libiconv support all + # GNU canonical names directly. Therefore, the Makefile does not + # need to install the alias file at all. + # The following applies only to glibc-2.0.x and older libcs. + echo "ISO_646.IRV:1983 ASCII" + ;; + aix*) + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-6 ISO-8859-6" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-8 ISO-8859-8" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-15 ISO-8859-15" + echo "IBM-850 CP850" + echo "IBM-856 CP856" + echo "IBM-921 ISO-8859-13" + echo "IBM-922 CP922" + echo "IBM-932 CP932" + echo "IBM-943 CP943" + echo "IBM-1046 CP1046" + echo "IBM-1124 CP1124" + echo "IBM-1129 CP1129" + echo "IBM-1252 CP1252" + echo "IBM-eucCN GB2312" + echo "IBM-eucJP EUC-JP" + echo "IBM-eucKR EUC-KR" + echo "IBM-eucTW EUC-TW" + echo "big5 BIG5" + echo "GBK GBK" + echo "TIS-620 TIS-620" + echo "UTF-8 UTF-8" + ;; + hpux*) + echo "iso88591 ISO-8859-1" + echo "iso88592 ISO-8859-2" + echo "iso88595 ISO-8859-5" + echo "iso88596 ISO-8859-6" + echo "iso88597 ISO-8859-7" + echo "iso88598 ISO-8859-8" + echo "iso88599 ISO-8859-9" + echo "iso885915 ISO-8859-15" + echo "roman8 HP-ROMAN8" + echo "arabic8 HP-ARABIC8" + echo "greek8 HP-GREEK8" + echo "hebrew8 HP-HEBREW8" + echo "turkish8 HP-TURKISH8" + echo "kana8 HP-KANA8" + echo "tis620 TIS-620" + echo "big5 BIG5" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + echo "hp15CN GB2312" + #echo "ccdc ?" # what is this? + echo "SJIS SHIFT_JIS" + echo "utf8 UTF-8" + ;; + irix*) + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-9 ISO-8859-9" + echo "eucCN GB2312" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + ;; + osf*) + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-8 ISO-8859-8" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-15 ISO-8859-15" + echo "cp850 CP850" + echo "big5 BIG5" + echo "dechanyu DEC-HANYU" + echo "dechanzi GB2312" + echo "deckanji DEC-KANJI" + echo "deckorean EUC-KR" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + echo "GBK GBK" + echo "KSC5601 CP949" + echo "sdeckanji EUC-JP" + echo "SJIS SHIFT_JIS" + echo "TACTIS TIS-620" + echo "UTF-8 UTF-8" + ;; + solaris*) + echo "646 ASCII" + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-3 ISO-8859-3" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-6 ISO-8859-6" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-8 ISO-8859-8" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-15 ISO-8859-15" + echo "koi8-r KOI8-R" + echo "ansi-1251 CP1251" + echo "BIG5 BIG5" + echo "Big5-HKSCS BIG5-HKSCS" + echo "gb2312 GB2312" + echo "GBK GBK" + echo "GB18030 GB18030" + echo "cns11643 EUC-TW" + echo "5601 EUC-KR" + echo "ko_KR.johap92 JOHAB" + echo "eucJP EUC-JP" + echo "PCK SHIFT_JIS" + echo "TIS620.2533 TIS-620" + #echo "sun_eu_greek ?" # what is this? + echo "UTF-8 UTF-8" + ;; + freebsd* | os2*) + # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + # Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just + # reuse FreeBSD's locale data for OS/2. + echo "C ASCII" + echo "US-ASCII ASCII" + for l in la_LN lt_LN; do + echo "$l.ASCII ASCII" + done + for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ + fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT la_LN \ + lt_LN nl_BE nl_NL no_NO pt_PT sv_SE; do + echo "$l.ISO_8859-1 ISO-8859-1" + echo "$l.DIS_8859-15 ISO-8859-15" + done + for l in cs_CZ hr_HR hu_HU la_LN lt_LN pl_PL sl_SI; do + echo "$l.ISO_8859-2 ISO-8859-2" + done + for l in la_LN lt_LT; do + echo "$l.ISO_8859-4 ISO-8859-4" + done + for l in ru_RU ru_SU; do + echo "$l.KOI8-R KOI8-R" + echo "$l.ISO_8859-5 ISO-8859-5" + echo "$l.CP866 CP866" + done + echo "uk_UA.KOI8-U KOI8-U" + echo "zh_TW.BIG5 BIG5" + echo "zh_TW.Big5 BIG5" + echo "zh_CN.EUC GB2312" + echo "ja_JP.EUC EUC-JP" + echo "ja_JP.SJIS SHIFT_JIS" + echo "ja_JP.Shift_JIS SHIFT_JIS" + echo "ko_KR.EUC EUC-KR" + ;; + netbsd*) + echo "646 ASCII" + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-13 ISO-8859-13" + echo "ISO8859-15 ISO-8859-15" + echo "eucCN GB2312" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + echo "BIG5 BIG5" + echo "SJIS SHIFT_JIS" + ;; + openbsd*) + echo "646 ASCII" + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-13 ISO-8859-13" + echo "ISO8859-15 ISO-8859-15" + ;; + darwin[56]*) + # Darwin 6.8 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + echo "C ASCII" + for l in en_AU en_CA en_GB en_US la_LN; do + echo "$l.US-ASCII ASCII" + done + for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ + fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE \ + nl_NL no_NO pt_PT sv_SE; do + echo "$l ISO-8859-1" + echo "$l.ISO8859-1 ISO-8859-1" + echo "$l.ISO8859-15 ISO-8859-15" + done + for l in la_LN; do + echo "$l.ISO8859-1 ISO-8859-1" + echo "$l.ISO8859-15 ISO-8859-15" + done + for l in cs_CZ hr_HR hu_HU la_LN pl_PL sl_SI; do + echo "$l.ISO8859-2 ISO-8859-2" + done + for l in la_LN lt_LT; do + echo "$l.ISO8859-4 ISO-8859-4" + done + for l in ru_RU; do + echo "$l.KOI8-R KOI8-R" + echo "$l.ISO8859-5 ISO-8859-5" + echo "$l.CP866 CP866" + done + for l in bg_BG; do + echo "$l.CP1251 CP1251" + done + echo "uk_UA.KOI8-U KOI8-U" + echo "zh_TW.BIG5 BIG5" + echo "zh_TW.Big5 BIG5" + echo "zh_CN.EUC GB2312" + echo "ja_JP.EUC EUC-JP" + echo "ja_JP.SJIS SHIFT_JIS" + echo "ko_KR.EUC EUC-KR" + ;; + darwin*) + # Darwin 7.5 has nl_langinfo(CODESET), but sometimes its value is + # useless: + # - It returns the empty string when LANG is set to a locale of the + # form ll_CC, although ll_CC/LC_CTYPE is a symlink to an UTF-8 + # LC_CTYPE file. + # - The environment variables LANG, LC_CTYPE, LC_ALL are not set by + # the system; nl_langinfo(CODESET) returns "US-ASCII" in this case. + # - The documentation says: + # "... all code that calls BSD system routines should ensure + # that the const *char parameters of these routines are in UTF-8 + # encoding. All BSD system functions expect their string + # parameters to be in UTF-8 encoding and nothing else." + # It also says + # "An additional caveat is that string parameters for files, + # paths, and other file-system entities must be in canonical + # UTF-8. In a canonical UTF-8 Unicode string, all decomposable + # characters are decomposed ..." + # but this is not true: You can pass non-decomposed UTF-8 strings + # to file system functions, and it is the OS which will convert + # them to decomposed UTF-8 before accessing the file system. + # - The Apple Terminal application displays UTF-8 by default. + # - However, other applications are free to use different encodings: + # - xterm uses ISO-8859-1 by default. + # - TextEdit uses MacRoman by default. + # We prefer UTF-8 over decomposed UTF-8-MAC because one should + # minimize the use of decomposed Unicode. Unfortunately, through the + # Darwin file system, decomposed UTF-8 strings are leaked into user + # space nevertheless. + # Then there are also the locales with encodings other than US-ASCII + # and UTF-8. These locales can be occasionally useful to users (e.g. + # when grepping through ISO-8859-1 encoded text files), when all their + # file names are in US-ASCII. + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-13 ISO-8859-13" + echo "ISO8859-15 ISO-8859-15" + echo "KOI8-R KOI8-R" + echo "KOI8-U KOI8-U" + echo "CP866 CP866" + echo "CP949 CP949" + echo "CP1131 CP1131" + echo "CP1251 CP1251" + echo "eucCN GB2312" + echo "GB2312 GB2312" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "Big5 BIG5" + echo "Big5HKSCS BIG5-HKSCS" + echo "GBK GBK" + echo "GB18030 GB18030" + echo "SJIS SHIFT_JIS" + echo "ARMSCII-8 ARMSCII-8" + echo "PT154 PT154" + #echo "ISCII-DEV ?" + echo "* UTF-8" + ;; + beos* | haiku*) + # BeOS and Haiku have a single locale, and it has UTF-8 encoding. + echo "* UTF-8" + ;; + msdosdjgpp*) + # DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + echo "#" + echo "# The encodings given here may not all be correct." + echo "# If you find that the encoding given for your language and" + echo "# country is not the one your DOS machine actually uses, just" + echo "# correct it in this file, and send a mail to" + echo "# Juan Manuel Guerrero " + echo "# and Bruno Haible ." + echo "#" + echo "C ASCII" + # ISO-8859-1 languages + echo "ca CP850" + echo "ca_ES CP850" + echo "da CP865" # not CP850 ?? + echo "da_DK CP865" # not CP850 ?? + echo "de CP850" + echo "de_AT CP850" + echo "de_CH CP850" + echo "de_DE CP850" + echo "en CP850" + echo "en_AU CP850" # not CP437 ?? + echo "en_CA CP850" + echo "en_GB CP850" + echo "en_NZ CP437" + echo "en_US CP437" + echo "en_ZA CP850" # not CP437 ?? + echo "es CP850" + echo "es_AR CP850" + echo "es_BO CP850" + echo "es_CL CP850" + echo "es_CO CP850" + echo "es_CR CP850" + echo "es_CU CP850" + echo "es_DO CP850" + echo "es_EC CP850" + echo "es_ES CP850" + echo "es_GT CP850" + echo "es_HN CP850" + echo "es_MX CP850" + echo "es_NI CP850" + echo "es_PA CP850" + echo "es_PY CP850" + echo "es_PE CP850" + echo "es_SV CP850" + echo "es_UY CP850" + echo "es_VE CP850" + echo "et CP850" + echo "et_EE CP850" + echo "eu CP850" + echo "eu_ES CP850" + echo "fi CP850" + echo "fi_FI CP850" + echo "fr CP850" + echo "fr_BE CP850" + echo "fr_CA CP850" + echo "fr_CH CP850" + echo "fr_FR CP850" + echo "ga CP850" + echo "ga_IE CP850" + echo "gd CP850" + echo "gd_GB CP850" + echo "gl CP850" + echo "gl_ES CP850" + echo "id CP850" # not CP437 ?? + echo "id_ID CP850" # not CP437 ?? + echo "is CP861" # not CP850 ?? + echo "is_IS CP861" # not CP850 ?? + echo "it CP850" + echo "it_CH CP850" + echo "it_IT CP850" + echo "lt CP775" + echo "lt_LT CP775" + echo "lv CP775" + echo "lv_LV CP775" + echo "nb CP865" # not CP850 ?? + echo "nb_NO CP865" # not CP850 ?? + echo "nl CP850" + echo "nl_BE CP850" + echo "nl_NL CP850" + echo "nn CP865" # not CP850 ?? + echo "nn_NO CP865" # not CP850 ?? + echo "no CP865" # not CP850 ?? + echo "no_NO CP865" # not CP850 ?? + echo "pt CP850" + echo "pt_BR CP850" + echo "pt_PT CP850" + echo "sv CP850" + echo "sv_SE CP850" + # ISO-8859-2 languages + echo "cs CP852" + echo "cs_CZ CP852" + echo "hr CP852" + echo "hr_HR CP852" + echo "hu CP852" + echo "hu_HU CP852" + echo "pl CP852" + echo "pl_PL CP852" + echo "ro CP852" + echo "ro_RO CP852" + echo "sk CP852" + echo "sk_SK CP852" + echo "sl CP852" + echo "sl_SI CP852" + echo "sq CP852" + echo "sq_AL CP852" + echo "sr CP852" # CP852 or CP866 or CP855 ?? + echo "sr_CS CP852" # CP852 or CP866 or CP855 ?? + echo "sr_YU CP852" # CP852 or CP866 or CP855 ?? + # ISO-8859-3 languages + echo "mt CP850" + echo "mt_MT CP850" + # ISO-8859-5 languages + echo "be CP866" + echo "be_BE CP866" + echo "bg CP866" # not CP855 ?? + echo "bg_BG CP866" # not CP855 ?? + echo "mk CP866" # not CP855 ?? + echo "mk_MK CP866" # not CP855 ?? + echo "ru CP866" + echo "ru_RU CP866" + echo "uk CP1125" + echo "uk_UA CP1125" + # ISO-8859-6 languages + echo "ar CP864" + echo "ar_AE CP864" + echo "ar_DZ CP864" + echo "ar_EG CP864" + echo "ar_IQ CP864" + echo "ar_IR CP864" + echo "ar_JO CP864" + echo "ar_KW CP864" + echo "ar_MA CP864" + echo "ar_OM CP864" + echo "ar_QA CP864" + echo "ar_SA CP864" + echo "ar_SY CP864" + # ISO-8859-7 languages + echo "el CP869" + echo "el_GR CP869" + # ISO-8859-8 languages + echo "he CP862" + echo "he_IL CP862" + # ISO-8859-9 languages + echo "tr CP857" + echo "tr_TR CP857" + # Japanese + echo "ja CP932" + echo "ja_JP CP932" + # Chinese + echo "zh_CN GBK" + echo "zh_TW CP950" # not CP938 ?? + # Korean + echo "kr CP949" # not CP934 ?? + echo "kr_KR CP949" # not CP934 ?? + # Thai + echo "th CP874" + echo "th_TH CP874" + # Other + echo "eo CP850" + echo "eo_EO CP850" + ;; +esac diff --git a/grub-core/gnulib/dirname-lgpl.c b/grub-core/gnulib/dirname-lgpl.c new file mode 100644 index 0000000..d4506e0 --- /dev/null +++ b/grub-core/gnulib/dirname-lgpl.c @@ -0,0 +1,86 @@ +/* dirname.c -- return all but the last element in a file name + + Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2010 Free Software + Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +#include "dirname.h" + +#include +#include + +/* Return the length of the prefix of FILE that will be used by + dir_name. If FILE is in the working directory, this returns zero + even though `dir_name (FILE)' will return ".". Works properly even + if there are trailing slashes (by effectively ignoring them). */ + +size_t +dir_len (char const *file) +{ + size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); + size_t length; + + /* Advance prefix_length beyond important leading slashes. */ + prefix_length += (prefix_length != 0 + ? (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE + && ISSLASH (file[prefix_length])) + : (ISSLASH (file[0]) + ? ((DOUBLE_SLASH_IS_DISTINCT_ROOT + && ISSLASH (file[1]) && ! ISSLASH (file[2]) + ? 2 : 1)) + : 0)); + + /* Strip the basename and any redundant slashes before it. */ + for (length = last_component (file) - file; + prefix_length < length; length--) + if (! ISSLASH (file[length - 1])) + break; + return length; +} + + +/* In general, we can't use the builtin `dirname' function if available, + since it has different meanings in different environments. + In some environments the builtin `dirname' modifies its argument. + + Return the leading directories part of FILE, allocated with malloc. + Works properly even if there are trailing slashes (by effectively + ignoring them). Return NULL on failure. + + If lstat (FILE) would succeed, then { chdir (dir_name (FILE)); + lstat (base_name (FILE)); } will access the same file. Likewise, + if the sequence { chdir (dir_name (FILE)); + rename (base_name (FILE), "foo"); } succeeds, you have renamed FILE + to "foo" in the same directory FILE was in. */ + +char * +mdir_name (char const *file) +{ + size_t length = dir_len (file); + bool append_dot = (length == 0 + || (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE + && length == FILE_SYSTEM_PREFIX_LEN (file) + && file[2] != '\0' && ! ISSLASH (file[2]))); + char *dir = malloc (length + append_dot + 1); + if (!dir) + return NULL; + memcpy (dir, file, length); + if (append_dot) + dir[length++] = '.'; + dir[length] = '\0'; + return dir; +} diff --git a/grub-core/gnulib/dirname.h b/grub-core/gnulib/dirname.h new file mode 100644 index 0000000..fb19508 --- /dev/null +++ b/grub-core/gnulib/dirname.h @@ -0,0 +1,74 @@ +/* Take file names apart into directory and base names. + + Copyright (C) 1998, 2001, 2003-2006, 2009-2010 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef DIRNAME_H_ +# define DIRNAME_H_ 1 + +# include +# include + +# ifndef DIRECTORY_SEPARATOR +# define DIRECTORY_SEPARATOR '/' +# endif + +# ifndef ISSLASH +# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) +# endif + +# ifndef FILE_SYSTEM_PREFIX_LEN +# if FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX + /* This internal macro assumes ASCII, but all hosts that support drive + letters use ASCII. */ +# define _IS_DRIVE_LETTER(c) (((unsigned int) (c) | ('a' - 'A')) - 'a' \ + <= 'z' - 'a') +# define FILE_SYSTEM_PREFIX_LEN(Filename) \ + (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0) +# else +# define FILE_SYSTEM_PREFIX_LEN(Filename) 0 +# endif +# endif + +# ifndef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE +# define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 +# endif + +# ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT +# define DOUBLE_SLASH_IS_DISTINCT_ROOT 0 +# endif + +# if FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE +# define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)]) +# else +# define IS_ABSOLUTE_FILE_NAME(F) \ + (ISSLASH ((F)[0]) || 0 < FILE_SYSTEM_PREFIX_LEN (F)) +# endif +# define IS_RELATIVE_FILE_NAME(F) (! IS_ABSOLUTE_FILE_NAME (F)) + +# if GNULIB_DIRNAME +char *base_name (char const *file); +char *dir_name (char const *file); +# endif + +char *mdir_name (char const *file); +size_t base_len (char const *file); +size_t dir_len (char const *file); +char *last_component (char const *file); + +bool strip_trailing_slashes (char *file); + +#endif /* not DIRNAME_H_ */ diff --git a/grub-core/gnulib/errno.in.h b/grub-core/gnulib/errno.in.h new file mode 100644 index 0000000..140e5d1 --- /dev/null +++ b/grub-core/gnulib/errno.in.h @@ -0,0 +1,160 @@ +/* A POSIX-like . + + Copyright (C) 2008-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _GL_ERRNO_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. */ +#@INCLUDE_NEXT@ @NEXT_ERRNO_H@ + +#ifndef _GL_ERRNO_H +#define _GL_ERRNO_H + + +/* On native Windows platforms, many macros are not defined. */ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + +/* POSIX says that EAGAIN and EWOULDBLOCK may have the same value. */ +# define EWOULDBLOCK EAGAIN + +/* Values >= 100 seem safe to use. */ +# define ETXTBSY 100 +# define GNULIB_defined_ETXTBSY 1 + +/* These are intentionally the same values as the WSA* error numbers, defined + in . */ +# define EINPROGRESS 10036 +# define EALREADY 10037 +# define ENOTSOCK 10038 +# define EDESTADDRREQ 10039 +# define EMSGSIZE 10040 +# define EPROTOTYPE 10041 +# define ENOPROTOOPT 10042 +# define EPROTONOSUPPORT 10043 +# define ESOCKTNOSUPPORT 10044 /* not required by POSIX */ +# define EOPNOTSUPP 10045 +# define EPFNOSUPPORT 10046 /* not required by POSIX */ +# define EAFNOSUPPORT 10047 +# define EADDRINUSE 10048 +# define EADDRNOTAVAIL 10049 +# define ENETDOWN 10050 +# define ENETUNREACH 10051 +# define ENETRESET 10052 +# define ECONNABORTED 10053 +# define ECONNRESET 10054 +# define ENOBUFS 10055 +# define EISCONN 10056 +# define ENOTCONN 10057 +# define ESHUTDOWN 10058 /* not required by POSIX */ +# define ETOOMANYREFS 10059 /* not required by POSIX */ +# define ETIMEDOUT 10060 +# define ECONNREFUSED 10061 +# define ELOOP 10062 +# define EHOSTDOWN 10064 /* not required by POSIX */ +# define EHOSTUNREACH 10065 +# define EPROCLIM 10067 /* not required by POSIX */ +# define EUSERS 10068 /* not required by POSIX */ +# define EDQUOT 10069 +# define ESTALE 10070 +# define EREMOTE 10071 /* not required by POSIX */ +# define GNULIB_defined_ESOCK 1 + +# endif + + +/* On OSF/1 5.1, when _XOPEN_SOURCE_EXTENDED is not defined, the macros + EMULTIHOP, ENOLINK, EOVERFLOW are not defined. */ +# if @EMULTIHOP_HIDDEN@ +# define EMULTIHOP @EMULTIHOP_VALUE@ +# define GNULIB_defined_EMULTIHOP 1 +# endif +# if @ENOLINK_HIDDEN@ +# define ENOLINK @ENOLINK_VALUE@ +# define GNULIB_defined_ENOLINK 1 +# endif +# if @EOVERFLOW_HIDDEN@ +# define EOVERFLOW @EOVERFLOW_VALUE@ +# define GNULIB_defined_EOVERFLOW 1 +# endif + + +/* On OpenBSD 4.0 and on native Windows, the macros ENOMSG, EIDRM, ENOLINK, + EPROTO, EMULTIHOP, EBADMSG, EOVERFLOW, ENOTSUP, ECANCELED are not defined. + Define them here. Values >= 2000 seem safe to use: Solaris ESTALE = 151, + HP-UX EWOULDBLOCK = 246, IRIX EDQUOT = 1133. + + Note: When one of these systems defines some of these macros some day, + binaries will have to be recompiled so that they recognizes the new + errno values from the system. */ + +# ifndef ENOMSG +# define ENOMSG 2000 +# define GNULIB_defined_ENOMSG 1 +# endif + +# ifndef EIDRM +# define EIDRM 2001 +# define GNULIB_defined_EIDRM 1 +# endif + +# ifndef ENOLINK +# define ENOLINK 2002 +# define GNULIB_defined_ENOLINK 1 +# endif + +# ifndef EPROTO +# define EPROTO 2003 +# define GNULIB_defined_EPROTO 1 +# endif + +# ifndef EMULTIHOP +# define EMULTIHOP 2004 +# define GNULIB_defined_EMULTIHOP 1 +# endif + +# ifndef EBADMSG +# define EBADMSG 2005 +# define GNULIB_defined_EBADMSG 1 +# endif + +# ifndef EOVERFLOW +# define EOVERFLOW 2006 +# define GNULIB_defined_EOVERFLOW 1 +# endif + +# ifndef ENOTSUP +# define ENOTSUP 2007 +# define GNULIB_defined_ENOTSUP 1 +# endif + +# ifndef ESTALE +# define ESTALE 2009 +# define GNULIB_defined_ESTALE 1 +# endif + +# ifndef ECANCELED +# define ECANCELED 2008 +# define GNULIB_defined_ECANCELED 1 +# endif + + +#endif /* _GL_ERRNO_H */ +#endif /* _GL_ERRNO_H */ diff --git a/grub-core/gnulib/error.c b/grub-core/gnulib/error.c new file mode 100644 index 0000000..ed9dba0 --- /dev/null +++ b/grub-core/gnulib/error.c @@ -0,0 +1,394 @@ +/* Error handler for noninteractive utilities + Copyright (C) 1990-1998, 2000-2007, 2009-2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by David MacKenzie . */ + +#if !_LIBC +# include +#endif + +#include "error.h" + +#include +#include +#include +#include + +#if !_LIBC && ENABLE_NLS +# include "gettext.h" +# define _(msgid) gettext (msgid) +#endif + +#ifdef _LIBC +# include +# include +# include +# include +# define mbsrtowcs __mbsrtowcs +#endif + +#if USE_UNLOCKED_IO +# include "unlocked-io.h" +#endif + +#ifndef _ +# define _(String) String +#endif + +/* If NULL, error will flush stdout, then print on stderr the program + name, a colon and a space. Otherwise, error will call this + function without parameters instead. */ +void (*error_print_progname) (void); + +/* This variable is incremented each time `error' is called. */ +unsigned int error_message_count; + +#ifdef _LIBC +/* In the GNU C library, there is a predefined variable for this. */ + +# define program_name program_invocation_name +# include +# include +# include + +/* In GNU libc we want do not want to use the common name `error' directly. + Instead make it a weak alias. */ +extern void __error (int status, int errnum, const char *message, ...) + __attribute__ ((__format__ (__printf__, 3, 4))); +extern void __error_at_line (int status, int errnum, const char *file_name, + unsigned int line_number, const char *message, + ...) + __attribute__ ((__format__ (__printf__, 5, 6)));; +# define error __error +# define error_at_line __error_at_line + +# include +# define fflush(s) INTUSE(_IO_fflush) (s) +# undef putc +# define putc(c, fp) INTUSE(_IO_putc) (c, fp) + +# include + +#else /* not _LIBC */ + +# include +# include + +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ +/* Get declarations of the Win32 API functions. */ +# define WIN32_LEAN_AND_MEAN +# include +# endif + +/* The gnulib override of fcntl is not needed in this file. */ +# undef fcntl + +# if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P +# ifndef HAVE_DECL_STRERROR_R +"this configure-time declaration test was not run" +# endif +char *strerror_r (); +# endif + +/* The calling program should define program_name and set it to the + name of the executing program. */ +extern char *program_name; + +# if HAVE_STRERROR_R || defined strerror_r +# define __strerror_r strerror_r +# endif /* HAVE_STRERROR_R || defined strerror_r */ +#endif /* not _LIBC */ + +#if !_LIBC +/* Return non-zero if FD is open. */ +static inline int +is_open (int fd) +{ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + /* On Win32: The initial state of unassigned standard file descriptors is + that they are open but point to an INVALID_HANDLE_VALUE. There is no + fcntl, and the gnulib replacement fcntl does not support F_GETFL. */ + return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; +# else +# ifndef F_GETFL +# error Please port fcntl to your platform +# endif + return 0 <= fcntl (fd, F_GETFL); +# endif +} +#endif + +static inline void +flush_stdout (void) +{ +#if !_LIBC + int stdout_fd; + +# if GNULIB_FREOPEN_SAFER + /* Use of gnulib's freopen-safer module normally ensures that + fileno (stdout) == 1 + whenever stdout is open. */ + stdout_fd = STDOUT_FILENO; +# else + /* POSIX states that fileno (stdout) after fclose is unspecified. But in + practice it is not a problem, because stdout is statically allocated and + the fd of a FILE stream is stored as a field in its allocated memory. */ + stdout_fd = fileno (stdout); +# endif + /* POSIX states that fflush (stdout) after fclose is unspecified; it + is safe in glibc, but not on all other platforms. fflush (NULL) + is always defined, but too draconian. */ + if (0 <= stdout_fd && is_open (stdout_fd)) +#endif + fflush (stdout); +} + +static void +print_errno_message (int errnum) +{ + char const *s; + +#if defined HAVE_STRERROR_R || _LIBC + char errbuf[1024]; +# if STRERROR_R_CHAR_P || _LIBC + s = __strerror_r (errnum, errbuf, sizeof errbuf); +# else + if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) + s = errbuf; + else + s = 0; +# endif +#else + s = strerror (errnum); +#endif + +#if !_LIBC + if (! s) + s = _("Unknown system error"); +#endif + +#if _LIBC + __fxprintf (NULL, ": %s", s); +#else + fprintf (stderr, ": %s", s); +#endif +} + +static void +error_tail (int status, int errnum, const char *message, va_list args) +{ +#if _LIBC + if (_IO_fwide (stderr, 0) > 0) + { +# define ALLOCA_LIMIT 2000 + size_t len = strlen (message) + 1; + wchar_t *wmessage = NULL; + mbstate_t st; + size_t res; + const char *tmp; + bool use_malloc = false; + + while (1) + { + if (__libc_use_alloca (len * sizeof (wchar_t))) + wmessage = (wchar_t *) alloca (len * sizeof (wchar_t)); + else + { + if (!use_malloc) + wmessage = NULL; + + wchar_t *p = (wchar_t *) realloc (wmessage, + len * sizeof (wchar_t)); + if (p == NULL) + { + free (wmessage); + fputws_unlocked (L"out of memory\n", stderr); + return; + } + wmessage = p; + use_malloc = true; + } + + memset (&st, '\0', sizeof (st)); + tmp = message; + + res = mbsrtowcs (wmessage, &tmp, len, &st); + if (res != len) + break; + + if (__builtin_expect (len >= SIZE_MAX / 2, 0)) + { + /* This really should not happen if everything is fine. */ + res = (size_t) -1; + break; + } + + len *= 2; + } + + if (res == (size_t) -1) + { + /* The string cannot be converted. */ + if (use_malloc) + { + free (wmessage); + use_malloc = false; + } + wmessage = (wchar_t *) L"???"; + } + + __vfwprintf (stderr, wmessage, args); + + if (use_malloc) + free (wmessage); + } + else +#endif + vfprintf (stderr, message, args); + va_end (args); + + ++error_message_count; + if (errnum) + print_errno_message (errnum); +#if _LIBC + __fxprintf (NULL, "\n"); +#else + putc ('\n', stderr); +#endif + fflush (stderr); + if (status) + exit (status); +} + + +/* Print the program name and error message MESSAGE, which is a printf-style + format string with optional args. + If ERRNUM is nonzero, print its corresponding system error message. + Exit with status STATUS if it is nonzero. */ +void +error (int status, int errnum, const char *message, ...) +{ + va_list args; + +#if defined _LIBC && defined __libc_ptf_call + /* We do not want this call to be cut short by a thread + cancellation. Therefore disable cancellation for now. */ + int state = PTHREAD_CANCEL_ENABLE; + __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), + 0); +#endif + + flush_stdout (); +#ifdef _LIBC + _IO_flockfile (stderr); +#endif + if (error_print_progname) + (*error_print_progname) (); + else + { +#if _LIBC + __fxprintf (NULL, "%s: ", program_name); +#else + fprintf (stderr, "%s: ", program_name); +#endif + } + + va_start (args, message); + error_tail (status, errnum, message, args); + +#ifdef _LIBC + _IO_funlockfile (stderr); +# ifdef __libc_ptf_call + __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); +# endif +#endif +} + +/* Sometimes we want to have at most one error per line. This + variable controls whether this mode is selected or not. */ +int error_one_per_line; + +void +error_at_line (int status, int errnum, const char *file_name, + unsigned int line_number, const char *message, ...) +{ + va_list args; + + if (error_one_per_line) + { + static const char *old_file_name; + static unsigned int old_line_number; + + if (old_line_number == line_number + && (file_name == old_file_name + || strcmp (old_file_name, file_name) == 0)) + /* Simply return and print nothing. */ + return; + + old_file_name = file_name; + old_line_number = line_number; + } + +#if defined _LIBC && defined __libc_ptf_call + /* We do not want this call to be cut short by a thread + cancellation. Therefore disable cancellation for now. */ + int state = PTHREAD_CANCEL_ENABLE; + __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), + 0); +#endif + + flush_stdout (); +#ifdef _LIBC + _IO_flockfile (stderr); +#endif + if (error_print_progname) + (*error_print_progname) (); + else + { +#if _LIBC + __fxprintf (NULL, "%s:", program_name); +#else + fprintf (stderr, "%s:", program_name); +#endif + } + +#if _LIBC + __fxprintf (NULL, file_name != NULL ? "%s:%d: " : " ", + file_name, line_number); +#else + fprintf (stderr, file_name != NULL ? "%s:%d: " : " ", + file_name, line_number); +#endif + + va_start (args, message); + error_tail (status, errnum, message, args); + +#ifdef _LIBC + _IO_funlockfile (stderr); +# ifdef __libc_ptf_call + __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); +# endif +#endif +} + +#ifdef _LIBC +/* Make the weak alias. */ +# undef error +# undef error_at_line +weak_alias (__error, error) +weak_alias (__error_at_line, error_at_line) +#endif diff --git a/grub-core/gnulib/error.h b/grub-core/gnulib/error.h new file mode 100644 index 0000000..9deef02 --- /dev/null +++ b/grub-core/gnulib/error.h @@ -0,0 +1,65 @@ +/* Declaration for error-reporting function + Copyright (C) 1995, 1996, 1997, 2003, 2006, 2008, 2009, 2010 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _ERROR_H +#define _ERROR_H 1 + +#ifndef __attribute__ +/* The __attribute__ feature is available in gcc versions 2.5 and later. + The __-protected variants of the attributes 'format' and 'printf' are + accepted by gcc versions 2.6.4 (effectively 2.7) and later. + We enable __attribute__ only if these are supported too, because + gnulib and libintl do '#define printf __printf__' when they override + the 'printf' function. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(Spec) /* empty */ +# endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Print a message with `fprintf (stderr, FORMAT, ...)'; + if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). + If STATUS is nonzero, terminate the program with `exit (STATUS)'. */ + +extern void error (int __status, int __errnum, const char *__format, ...) + __attribute__ ((__format__ (__printf__, 3, 4))); + +extern void error_at_line (int __status, int __errnum, const char *__fname, + unsigned int __lineno, const char *__format, ...) + __attribute__ ((__format__ (__printf__, 5, 6))); + +/* If NULL, error will flush stdout, then print on stderr the program + name, a colon and a space. Otherwise, error will call this + function without parameters instead. */ +extern void (*error_print_progname) (void); + +/* This variable is incremented each time `error' is called. */ +extern unsigned int error_message_count; + +/* Sometimes we want to have at most one error per line. This + variable controls whether this mode is selected or not. */ +extern int error_one_per_line; + +#ifdef __cplusplus +} +#endif + +#endif /* error.h */ diff --git a/grub-core/gnulib/float+.h b/grub-core/gnulib/float+.h new file mode 100644 index 0000000..b55e5e6 --- /dev/null +++ b/grub-core/gnulib/float+.h @@ -0,0 +1,148 @@ +/* Supplemental information about the floating-point formats. + Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2007. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _FLOATPLUS_H +#define _FLOATPLUS_H + +#include +#include + +/* Number of bits in the mantissa of a floating-point number, including the + "hidden bit". */ +#if FLT_RADIX == 2 +# define FLT_MANT_BIT FLT_MANT_DIG +# define DBL_MANT_BIT DBL_MANT_DIG +# define LDBL_MANT_BIT LDBL_MANT_DIG +#elif FLT_RADIX == 4 +# define FLT_MANT_BIT (FLT_MANT_DIG * 2) +# define DBL_MANT_BIT (DBL_MANT_DIG * 2) +# define LDBL_MANT_BIT (LDBL_MANT_DIG * 2) +#elif FLT_RADIX == 16 +# define FLT_MANT_BIT (FLT_MANT_DIG * 4) +# define DBL_MANT_BIT (DBL_MANT_DIG * 4) +# define LDBL_MANT_BIT (LDBL_MANT_DIG * 4) +#endif + +/* Bit mask that can be used to mask the exponent, as an unsigned number. */ +#define FLT_EXP_MASK ((FLT_MAX_EXP - FLT_MIN_EXP) | 7) +#define DBL_EXP_MASK ((DBL_MAX_EXP - DBL_MIN_EXP) | 7) +#define LDBL_EXP_MASK ((LDBL_MAX_EXP - LDBL_MIN_EXP) | 7) + +/* Number of bits used for the exponent of a floating-point number, including + the exponent's sign. */ +#define FLT_EXP_BIT \ + (FLT_EXP_MASK < 0x100 ? 8 : \ + FLT_EXP_MASK < 0x200 ? 9 : \ + FLT_EXP_MASK < 0x400 ? 10 : \ + FLT_EXP_MASK < 0x800 ? 11 : \ + FLT_EXP_MASK < 0x1000 ? 12 : \ + FLT_EXP_MASK < 0x2000 ? 13 : \ + FLT_EXP_MASK < 0x4000 ? 14 : \ + FLT_EXP_MASK < 0x8000 ? 15 : \ + FLT_EXP_MASK < 0x10000 ? 16 : \ + FLT_EXP_MASK < 0x20000 ? 17 : \ + FLT_EXP_MASK < 0x40000 ? 18 : \ + FLT_EXP_MASK < 0x80000 ? 19 : \ + FLT_EXP_MASK < 0x100000 ? 20 : \ + FLT_EXP_MASK < 0x200000 ? 21 : \ + FLT_EXP_MASK < 0x400000 ? 22 : \ + FLT_EXP_MASK < 0x800000 ? 23 : \ + FLT_EXP_MASK < 0x1000000 ? 24 : \ + FLT_EXP_MASK < 0x2000000 ? 25 : \ + FLT_EXP_MASK < 0x4000000 ? 26 : \ + FLT_EXP_MASK < 0x8000000 ? 27 : \ + FLT_EXP_MASK < 0x10000000 ? 28 : \ + FLT_EXP_MASK < 0x20000000 ? 29 : \ + FLT_EXP_MASK < 0x40000000 ? 30 : \ + FLT_EXP_MASK <= 0x7fffffff ? 31 : \ + 32) +#define DBL_EXP_BIT \ + (DBL_EXP_MASK < 0x100 ? 8 : \ + DBL_EXP_MASK < 0x200 ? 9 : \ + DBL_EXP_MASK < 0x400 ? 10 : \ + DBL_EXP_MASK < 0x800 ? 11 : \ + DBL_EXP_MASK < 0x1000 ? 12 : \ + DBL_EXP_MASK < 0x2000 ? 13 : \ + DBL_EXP_MASK < 0x4000 ? 14 : \ + DBL_EXP_MASK < 0x8000 ? 15 : \ + DBL_EXP_MASK < 0x10000 ? 16 : \ + DBL_EXP_MASK < 0x20000 ? 17 : \ + DBL_EXP_MASK < 0x40000 ? 18 : \ + DBL_EXP_MASK < 0x80000 ? 19 : \ + DBL_EXP_MASK < 0x100000 ? 20 : \ + DBL_EXP_MASK < 0x200000 ? 21 : \ + DBL_EXP_MASK < 0x400000 ? 22 : \ + DBL_EXP_MASK < 0x800000 ? 23 : \ + DBL_EXP_MASK < 0x1000000 ? 24 : \ + DBL_EXP_MASK < 0x2000000 ? 25 : \ + DBL_EXP_MASK < 0x4000000 ? 26 : \ + DBL_EXP_MASK < 0x8000000 ? 27 : \ + DBL_EXP_MASK < 0x10000000 ? 28 : \ + DBL_EXP_MASK < 0x20000000 ? 29 : \ + DBL_EXP_MASK < 0x40000000 ? 30 : \ + DBL_EXP_MASK <= 0x7fffffff ? 31 : \ + 32) +#define LDBL_EXP_BIT \ + (LDBL_EXP_MASK < 0x100 ? 8 : \ + LDBL_EXP_MASK < 0x200 ? 9 : \ + LDBL_EXP_MASK < 0x400 ? 10 : \ + LDBL_EXP_MASK < 0x800 ? 11 : \ + LDBL_EXP_MASK < 0x1000 ? 12 : \ + LDBL_EXP_MASK < 0x2000 ? 13 : \ + LDBL_EXP_MASK < 0x4000 ? 14 : \ + LDBL_EXP_MASK < 0x8000 ? 15 : \ + LDBL_EXP_MASK < 0x10000 ? 16 : \ + LDBL_EXP_MASK < 0x20000 ? 17 : \ + LDBL_EXP_MASK < 0x40000 ? 18 : \ + LDBL_EXP_MASK < 0x80000 ? 19 : \ + LDBL_EXP_MASK < 0x100000 ? 20 : \ + LDBL_EXP_MASK < 0x200000 ? 21 : \ + LDBL_EXP_MASK < 0x400000 ? 22 : \ + LDBL_EXP_MASK < 0x800000 ? 23 : \ + LDBL_EXP_MASK < 0x1000000 ? 24 : \ + LDBL_EXP_MASK < 0x2000000 ? 25 : \ + LDBL_EXP_MASK < 0x4000000 ? 26 : \ + LDBL_EXP_MASK < 0x8000000 ? 27 : \ + LDBL_EXP_MASK < 0x10000000 ? 28 : \ + LDBL_EXP_MASK < 0x20000000 ? 29 : \ + LDBL_EXP_MASK < 0x40000000 ? 30 : \ + LDBL_EXP_MASK <= 0x7fffffff ? 31 : \ + 32) + +/* Number of bits used for a floating-point number: the mantissa (not + counting the "hidden bit", since it may or may not be explicit), the + exponent, and the sign. */ +#define FLT_TOTAL_BIT ((FLT_MANT_BIT - 1) + FLT_EXP_BIT + 1) +#define DBL_TOTAL_BIT ((DBL_MANT_BIT - 1) + DBL_EXP_BIT + 1) +#define LDBL_TOTAL_BIT ((LDBL_MANT_BIT - 1) + LDBL_EXP_BIT + 1) + +/* Number of bytes used for a floating-point number. + This can be smaller than the 'sizeof'. For example, on i386 systems, + 'long double' most often have LDBL_MANT_BIT = 64, LDBL_EXP_BIT = 16, hence + LDBL_TOTAL_BIT = 80 bits, i.e. 10 bytes of consecutive memory, but + sizeof (long double) = 12 or = 16. */ +#define SIZEOF_FLT ((FLT_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) +#define SIZEOF_DBL ((DBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) +#define SIZEOF_LDBL ((LDBL_TOTAL_BIT + CHAR_BIT - 1) / CHAR_BIT) + +/* Verify that SIZEOF_FLT <= sizeof (float) etc. */ +typedef int verify_sizeof_flt[2 * (SIZEOF_FLT <= sizeof (float)) - 1]; +typedef int verify_sizeof_dbl[2 * (SIZEOF_DBL <= sizeof (double)) - 1]; +typedef int verify_sizeof_ldbl[2 * (SIZEOF_LDBL <= sizeof (long double)) - 1]; + +#endif /* _FLOATPLUS_H */ diff --git a/grub-core/gnulib/float.in.h b/grub-core/gnulib/float.in.h new file mode 100644 index 0000000..caf822f --- /dev/null +++ b/grub-core/gnulib/float.in.h @@ -0,0 +1,62 @@ +/* A correct . + + Copyright (C) 2007-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _GL_FLOAT_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. */ +#@INCLUDE_NEXT@ @NEXT_FLOAT_H@ + +#ifndef _GL_FLOAT_H +#define _GL_FLOAT_H + +/* 'long double' properties. */ +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) +/* Number of mantissa units, in base FLT_RADIX. */ +# undef LDBL_MANT_DIG +# define LDBL_MANT_DIG 64 +/* Number of decimal digits that is sufficient for representing a number. */ +# undef LDBL_DIG +# define LDBL_DIG 18 +/* x-1 where x is the smallest representable number > 1. */ +# undef LDBL_EPSILON +# define LDBL_EPSILON 1.0842021724855044340E-19L +/* Minimum e such that FLT_RADIX^(e-1) is a normalized number. */ +# undef LDBL_MIN_EXP +# define LDBL_MIN_EXP (-16381) +/* Maximum e such that FLT_RADIX^(e-1) is a representable finite number. */ +# undef LDBL_MAX_EXP +# define LDBL_MAX_EXP 16384 +/* Minimum positive normalized number. */ +# undef LDBL_MIN +# define LDBL_MIN 3.3621031431120935063E-4932L +/* Maximum representable finite number. */ +# undef LDBL_MAX +# define LDBL_MAX 1.1897314953572317650E+4932L +/* Minimum e such that 10^e is in the range of normalized numbers. */ +# undef LDBL_MIN_10_EXP +# define LDBL_MIN_10_EXP (-4931) +/* Maximum e such that 10^e is in the range of representable finite numbers. */ +# undef LDBL_MAX_10_EXP +# define LDBL_MAX_10_EXP 4932 +#endif + +#endif /* _GL_FLOAT_H */ +#endif /* _GL_FLOAT_H */ diff --git a/grub-core/gnulib/fnmatch.c b/grub-core/gnulib/fnmatch.c new file mode 100644 index 0000000..d73e47d --- /dev/null +++ b/grub-core/gnulib/fnmatch.c @@ -0,0 +1,354 @@ +/* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, + 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _LIBC +# include +#endif + +/* Enable GNU extensions in fnmatch.h. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#if ! defined __builtin_expect && __GNUC__ < 3 +# define __builtin_expect(expr, expected) (expr) +#endif + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#define WIDE_CHAR_SUPPORT \ + (HAVE_WCTYPE_H && HAVE_BTOWC && HAVE_ISWCTYPE \ + && HAVE_WMEMCHR && (HAVE_WMEMCPY || HAVE_WMEMPCPY)) + +/* For platform which support the ISO C amendement 1 functionality we + support user defined character classes. */ +#if defined _LIBC || WIDE_CHAR_SUPPORT +# include +# include +#endif + +/* We need some of the locale data (the collation sequence information) + but there is no interface to get this information in general. Therefore + we support a correct implementation only in glibc. */ +#ifdef _LIBC +# include "../locale/localeinfo.h" +# include "../locale/elem-hash.h" +# include "../locale/coll-lookup.h" +# include + +# define CONCAT(a,b) __CONCAT(a,b) +# define mbsrtowcs __mbsrtowcs +# define fnmatch __fnmatch +extern int fnmatch (const char *pattern, const char *string, int flags); +#endif + +#ifndef SIZE_MAX +# define SIZE_MAX ((size_t) -1) +#endif + +/* We often have to test for FNM_FILE_NAME and FNM_PERIOD being both set. */ +#define NO_LEADING_PERIOD(flags) \ + ((flags & (FNM_FILE_NAME | FNM_PERIOD)) == (FNM_FILE_NAME | FNM_PERIOD)) + +/* Comment out all this code if we are using the GNU C Library, and are not + actually compiling the library itself, and have not detected a bug + in the library. This code is part of the GNU C + Library, but also included in many other GNU distributions. Compiling + and linking in this code is a waste when using the GNU C library + (especially if it is a shared library). Rather than having every GNU + program understand `configure --with-gnu-libc' and omit the object files, + it is simpler to just do this in the source for each such file. */ + +#if defined _LIBC || !defined __GNU_LIBRARY__ || !HAVE_FNMATCH_GNU + + +# if ! (defined isblank || (HAVE_ISBLANK && HAVE_DECL_ISBLANK)) +# define isblank(c) ((c) == ' ' || (c) == '\t') +# endif + +# define STREQ(s1, s2) (strcmp (s1, s2) == 0) + +# if defined _LIBC || WIDE_CHAR_SUPPORT +/* The GNU C library provides support for user-defined character classes + and the functions from ISO C amendement 1. */ +# ifdef CHARCLASS_NAME_MAX +# define CHAR_CLASS_MAX_LENGTH CHARCLASS_NAME_MAX +# else +/* This shouldn't happen but some implementation might still have this + problem. Use a reasonable default value. */ +# define CHAR_CLASS_MAX_LENGTH 256 +# endif + +# ifdef _LIBC +# define IS_CHAR_CLASS(string) __wctype (string) +# else +# define IS_CHAR_CLASS(string) wctype (string) +# endif + +# ifdef _LIBC +# define ISWCTYPE(WC, WT) __iswctype (WC, WT) +# else +# define ISWCTYPE(WC, WT) iswctype (WC, WT) +# endif + +# if (HAVE_MBSTATE_T && HAVE_MBSRTOWCS) || _LIBC +/* In this case we are implementing the multibyte character handling. */ +# define HANDLE_MULTIBYTE 1 +# endif + +# else +# define CHAR_CLASS_MAX_LENGTH 6 /* Namely, `xdigit'. */ + +# define IS_CHAR_CLASS(string) \ + (STREQ (string, "alpha") || STREQ (string, "upper") \ + || STREQ (string, "lower") || STREQ (string, "digit") \ + || STREQ (string, "alnum") || STREQ (string, "xdigit") \ + || STREQ (string, "space") || STREQ (string, "print") \ + || STREQ (string, "punct") || STREQ (string, "graph") \ + || STREQ (string, "cntrl") || STREQ (string, "blank")) +# endif + +/* Avoid depending on library functions or files + whose names are inconsistent. */ + +/* Global variable. */ +static int posixly_correct; + +# ifndef internal_function +/* Inside GNU libc we mark some function in a special way. In other + environments simply ignore the marking. */ +# define internal_function +# endif + +/* Note that this evaluates C many times. */ +# define FOLD(c) ((flags & FNM_CASEFOLD) ? tolower (c) : (c)) +# define CHAR char +# define UCHAR unsigned char +# define INT int +# define FCT internal_fnmatch +# define EXT ext_match +# define END end_pattern +# define L_(CS) CS +# ifdef _LIBC +# define BTOWC(C) __btowc (C) +# else +# define BTOWC(C) btowc (C) +# endif +# define STRLEN(S) strlen (S) +# define STRCAT(D, S) strcat (D, S) +# ifdef _LIBC +# define MEMPCPY(D, S, N) __mempcpy (D, S, N) +# else +# if HAVE_MEMPCPY +# define MEMPCPY(D, S, N) mempcpy (D, S, N) +# else +# define MEMPCPY(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) +# endif +# endif +# define MEMCHR(S, C, N) memchr (S, C, N) +# define STRCOLL(S1, S2) strcoll (S1, S2) +# include "fnmatch_loop.c" + + +# if HANDLE_MULTIBYTE +# define FOLD(c) ((flags & FNM_CASEFOLD) ? towlower (c) : (c)) +# define CHAR wchar_t +# define UCHAR wint_t +# define INT wint_t +# define FCT internal_fnwmatch +# define EXT ext_wmatch +# define END end_wpattern +# define L_(CS) L##CS +# define BTOWC(C) (C) +# ifdef _LIBC +# define STRLEN(S) __wcslen (S) +# define STRCAT(D, S) __wcscat (D, S) +# define MEMPCPY(D, S, N) __wmempcpy (D, S, N) +# else +# define STRLEN(S) wcslen (S) +# define STRCAT(D, S) wcscat (D, S) +# if HAVE_WMEMPCPY +# define MEMPCPY(D, S, N) wmempcpy (D, S, N) +# else +# define MEMPCPY(D, S, N) (wmemcpy (D, S, N) + (N)) +# endif +# endif +# define MEMCHR(S, C, N) wmemchr (S, C, N) +# define STRCOLL(S1, S2) wcscoll (S1, S2) +# define WIDE_CHAR_VERSION 1 + +# undef IS_CHAR_CLASS +/* We have to convert the wide character string in a multibyte string. But + we know that the character class names consist of alphanumeric characters + from the portable character set, and since the wide character encoding + for a member of the portable character set is the same code point as + its single-byte encoding, we can use a simplified method to convert the + string to a multibyte character string. */ +static wctype_t +is_char_class (const wchar_t *wcs) +{ + char s[CHAR_CLASS_MAX_LENGTH + 1]; + char *cp = s; + + do + { + /* Test for a printable character from the portable character set. */ +# ifdef _LIBC + if (*wcs < 0x20 || *wcs > 0x7e + || *wcs == 0x24 || *wcs == 0x40 || *wcs == 0x60) + return (wctype_t) 0; +# else + switch (*wcs) + { + case L' ': case L'!': case L'"': case L'#': case L'%': + case L'&': case L'\'': case L'(': case L')': case L'*': + case L'+': case L',': case L'-': case L'.': case L'/': + case L'0': case L'1': case L'2': case L'3': case L'4': + case L'5': case L'6': case L'7': case L'8': case L'9': + case L':': case L';': case L'<': case L'=': case L'>': + case L'?': + case L'A': case L'B': case L'C': case L'D': case L'E': + case L'F': case L'G': case L'H': case L'I': case L'J': + case L'K': case L'L': case L'M': case L'N': case L'O': + case L'P': case L'Q': case L'R': case L'S': case L'T': + case L'U': case L'V': case L'W': case L'X': case L'Y': + case L'Z': + case L'[': case L'\\': case L']': case L'^': case L'_': + case L'a': case L'b': case L'c': case L'd': case L'e': + case L'f': case L'g': case L'h': case L'i': case L'j': + case L'k': case L'l': case L'm': case L'n': case L'o': + case L'p': case L'q': case L'r': case L's': case L't': + case L'u': case L'v': case L'w': case L'x': case L'y': + case L'z': case L'{': case L'|': case L'}': case L'~': + break; + default: + return (wctype_t) 0; + } +# endif + + /* Avoid overrunning the buffer. */ + if (cp == s + CHAR_CLASS_MAX_LENGTH) + return (wctype_t) 0; + + *cp++ = (char) *wcs++; + } + while (*wcs != L'\0'); + + *cp = '\0'; + +# ifdef _LIBC + return __wctype (s); +# else + return wctype (s); +# endif +} +# define IS_CHAR_CLASS(string) is_char_class (string) + +# include "fnmatch_loop.c" +# endif + + +int +fnmatch (const char *pattern, const char *string, int flags) +{ +# if HANDLE_MULTIBYTE +# define ALLOCA_LIMIT 2000 + if (__builtin_expect (MB_CUR_MAX, 1) != 1) + { + mbstate_t ps; + size_t patsize; + size_t strsize; + size_t totsize; + wchar_t *wpattern; + wchar_t *wstring; + int res; + + /* Calculate the size needed to convert the strings to + wide characters. */ + memset (&ps, '\0', sizeof (ps)); + patsize = mbsrtowcs (NULL, &pattern, 0, &ps) + 1; + if (__builtin_expect (patsize != 0, 1)) + { + assert (mbsinit (&ps)); + strsize = mbsrtowcs (NULL, &string, 0, &ps) + 1; + if (__builtin_expect (strsize != 0, 1)) + { + assert (mbsinit (&ps)); + totsize = patsize + strsize; + if (__builtin_expect (! (patsize <= totsize + && totsize <= SIZE_MAX / sizeof (wchar_t)), + 0)) + { + errno = ENOMEM; + return -1; + } + + /* Allocate room for the wide characters. */ + if (__builtin_expect (totsize < ALLOCA_LIMIT, 1)) + wpattern = (wchar_t *) alloca (totsize * sizeof (wchar_t)); + else + { + wpattern = malloc (totsize * sizeof (wchar_t)); + if (__builtin_expect (! wpattern, 0)) + { + errno = ENOMEM; + return -1; + } + } + wstring = wpattern + patsize; + + /* Convert the strings into wide characters. */ + mbsrtowcs (wpattern, &pattern, patsize, &ps); + assert (mbsinit (&ps)); + mbsrtowcs (wstring, &string, strsize, &ps); + + res = internal_fnwmatch (wpattern, wstring, wstring + strsize - 1, + flags & FNM_PERIOD, flags); + + if (__builtin_expect (! (totsize < ALLOCA_LIMIT), 0)) + free (wpattern); + return res; + } + } + } + +# endif /* HANDLE_MULTIBYTE */ + + return internal_fnmatch (pattern, string, string + strlen (string), + flags & FNM_PERIOD, flags); +} + +# ifdef _LIBC +# undef fnmatch +versioned_symbol (libc, __fnmatch, fnmatch, GLIBC_2_2_3); +# if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_2_3) +strong_alias (__fnmatch, __fnmatch_old) +compat_symbol (libc, __fnmatch_old, fnmatch, GLIBC_2_0); +# endif +libc_hidden_ver (__fnmatch, fnmatch) +# endif + +#endif /* _LIBC or not __GNU_LIBRARY__. */ diff --git a/grub-core/gnulib/fnmatch.in.h b/grub-core/gnulib/fnmatch.in.h new file mode 100644 index 0000000..8caab19 --- /dev/null +++ b/grub-core/gnulib/fnmatch.in.h @@ -0,0 +1,68 @@ +/* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2001, 2002, 2003, + 2005, 2007, 2009, 2010 Free Software Foundation, Inc. + + This file is part of the GNU C Library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _FNMATCH_H +#define _FNMATCH_H 1 + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* We #undef these before defining them because some losing systems + (HP-UX A.08.07 for example) define these in . */ +#undef FNM_PATHNAME +#undef FNM_NOESCAPE +#undef FNM_PERIOD + +/* Bits set in the FLAGS argument to `fnmatch'. */ +#define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ +#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */ +#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ + +#if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 2 || defined _GNU_SOURCE +# define FNM_FILE_NAME FNM_PATHNAME /* Preferred GNU name. */ +# define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ +# define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ +# define FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */ +#endif + +/* Value returned by `fnmatch' if STRING does not match PATTERN. */ +#define FNM_NOMATCH 1 + +/* This value is returned if the implementation does not support + `fnmatch'. Since this is not the case here it will never be + returned but the conformance test suites still require the symbol + to be defined. */ +#ifdef _XOPEN_SOURCE +# define FNM_NOSYS (-1) +#endif + +/* Match NAME against the file name pattern PATTERN, + returning zero if it matches, FNM_NOMATCH if not. */ +extern int fnmatch (const char *__pattern, const char *__name, + int __flags) + _GL_ARG_NONNULL ((1, 2)); + +#ifdef __cplusplus +} +#endif + +#endif /* fnmatch.h */ diff --git a/grub-core/gnulib/fnmatch_loop.c b/grub-core/gnulib/fnmatch_loop.c new file mode 100644 index 0000000..741c993 --- /dev/null +++ b/grub-core/gnulib/fnmatch_loop.c @@ -0,0 +1,1215 @@ +/* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, + 2003, 2004, 2005, 2006, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Match STRING against the file name pattern PATTERN, returning zero if + it matches, nonzero if not. */ +static int EXT (INT opt, const CHAR *pattern, const CHAR *string, + const CHAR *string_end, bool no_leading_period, int flags) + internal_function; +static const CHAR *END (const CHAR *patternp) internal_function; + +static int +internal_function +FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end, + bool no_leading_period, int flags) +{ + register const CHAR *p = pattern, *n = string; + register UCHAR c; +#ifdef _LIBC +# if WIDE_CHAR_VERSION + const char *collseq = (const char *) + _NL_CURRENT(LC_COLLATE, _NL_COLLATE_COLLSEQWC); +# else + const UCHAR *collseq = (const UCHAR *) + _NL_CURRENT(LC_COLLATE, _NL_COLLATE_COLLSEQMB); +# endif +#endif + + while ((c = *p++) != L_('\0')) + { + bool new_no_leading_period = false; + c = FOLD (c); + + switch (c) + { + case L_('?'): + if (__builtin_expect (flags & FNM_EXTMATCH, 0) && *p == '(') + { + int res; + + res = EXT (c, p, n, string_end, no_leading_period, + flags); + if (res != -1) + return res; + } + + if (n == string_end) + return FNM_NOMATCH; + else if (*n == L_('/') && (flags & FNM_FILE_NAME)) + return FNM_NOMATCH; + else if (*n == L_('.') && no_leading_period) + return FNM_NOMATCH; + break; + + case L_('\\'): + if (!(flags & FNM_NOESCAPE)) + { + c = *p++; + if (c == L_('\0')) + /* Trailing \ loses. */ + return FNM_NOMATCH; + c = FOLD (c); + } + if (n == string_end || FOLD ((UCHAR) *n) != c) + return FNM_NOMATCH; + break; + + case L_('*'): + if (__builtin_expect (flags & FNM_EXTMATCH, 0) && *p == '(') + { + int res; + + res = EXT (c, p, n, string_end, no_leading_period, + flags); + if (res != -1) + return res; + } + + if (n != string_end && *n == L_('.') && no_leading_period) + return FNM_NOMATCH; + + for (c = *p++; c == L_('?') || c == L_('*'); c = *p++) + { + if (*p == L_('(') && (flags & FNM_EXTMATCH) != 0) + { + const CHAR *endp = END (p); + if (endp != p) + { + /* This is a pattern. Skip over it. */ + p = endp; + continue; + } + } + + if (c == L_('?')) + { + /* A ? needs to match one character. */ + if (n == string_end) + /* There isn't another character; no match. */ + return FNM_NOMATCH; + else if (*n == L_('/') + && __builtin_expect (flags & FNM_FILE_NAME, 0)) + /* A slash does not match a wildcard under + FNM_FILE_NAME. */ + return FNM_NOMATCH; + else + /* One character of the string is consumed in matching + this ? wildcard, so *??? won't match if there are + less than three characters. */ + ++n; + } + } + + if (c == L_('\0')) + /* The wildcard(s) is/are the last element of the pattern. + If the name is a file name and contains another slash + this means it cannot match, unless the FNM_LEADING_DIR + flag is set. */ + { + int result = (flags & FNM_FILE_NAME) == 0 ? 0 : FNM_NOMATCH; + + if (flags & FNM_FILE_NAME) + { + if (flags & FNM_LEADING_DIR) + result = 0; + else + { + if (MEMCHR (n, L_('/'), string_end - n) == NULL) + result = 0; + } + } + + return result; + } + else + { + const CHAR *endp; + + endp = MEMCHR (n, (flags & FNM_FILE_NAME) ? L_('/') : L_('\0'), + string_end - n); + if (endp == NULL) + endp = string_end; + + if (c == L_('[') + || (__builtin_expect (flags & FNM_EXTMATCH, 0) != 0 + && (c == L_('@') || c == L_('+') || c == L_('!')) + && *p == L_('('))) + { + int flags2 = ((flags & FNM_FILE_NAME) + ? flags : (flags & ~FNM_PERIOD)); + bool no_leading_period2 = no_leading_period; + + for (--p; n < endp; ++n, no_leading_period2 = false) + if (FCT (p, n, string_end, no_leading_period2, flags2) + == 0) + return 0; + } + else if (c == L_('/') && (flags & FNM_FILE_NAME)) + { + while (n < string_end && *n != L_('/')) + ++n; + if (n < string_end && *n == L_('/') + && (FCT (p, n + 1, string_end, flags & FNM_PERIOD, flags) + == 0)) + return 0; + } + else + { + int flags2 = ((flags & FNM_FILE_NAME) + ? flags : (flags & ~FNM_PERIOD)); + int no_leading_period2 = no_leading_period; + + if (c == L_('\\') && !(flags & FNM_NOESCAPE)) + c = *p; + c = FOLD (c); + for (--p; n < endp; ++n, no_leading_period2 = false) + if (FOLD ((UCHAR) *n) == c + && (FCT (p, n, string_end, no_leading_period2, flags2) + == 0)) + return 0; + } + } + + /* If we come here no match is possible with the wildcard. */ + return FNM_NOMATCH; + + case L_('['): + { + /* Nonzero if the sense of the character class is inverted. */ + register bool not; + CHAR cold; + UCHAR fn; + + if (posixly_correct == 0) + posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1; + + if (n == string_end) + return FNM_NOMATCH; + + if (*n == L_('.') && no_leading_period) + return FNM_NOMATCH; + + if (*n == L_('/') && (flags & FNM_FILE_NAME)) + /* `/' cannot be matched. */ + return FNM_NOMATCH; + + not = (*p == L_('!') || (posixly_correct < 0 && *p == L_('^'))); + if (not) + ++p; + + fn = FOLD ((UCHAR) *n); + + c = *p++; + for (;;) + { + if (!(flags & FNM_NOESCAPE) && c == L_('\\')) + { + if (*p == L_('\0')) + return FNM_NOMATCH; + c = FOLD ((UCHAR) *p); + ++p; + + goto normal_bracket; + } + else if (c == L_('[') && *p == L_(':')) + { + /* Leave room for the null. */ + CHAR str[CHAR_CLASS_MAX_LENGTH + 1]; + size_t c1 = 0; +#if defined _LIBC || WIDE_CHAR_SUPPORT + wctype_t wt; +#endif + const CHAR *startp = p; + + for (;;) + { + if (c1 == CHAR_CLASS_MAX_LENGTH) + /* The name is too long and therefore the pattern + is ill-formed. */ + return FNM_NOMATCH; + + c = *++p; + if (c == L_(':') && p[1] == L_(']')) + { + p += 2; + break; + } + if (c < L_('a') || c >= L_('z')) + { + /* This cannot possibly be a character class name. + Match it as a normal range. */ + p = startp; + c = L_('['); + goto normal_bracket; + } + str[c1++] = c; + } + str[c1] = L_('\0'); + +#if defined _LIBC || WIDE_CHAR_SUPPORT + wt = IS_CHAR_CLASS (str); + if (wt == 0) + /* Invalid character class name. */ + return FNM_NOMATCH; + +# if defined _LIBC && ! WIDE_CHAR_VERSION + /* The following code is glibc specific but does + there a good job in speeding up the code since + we can avoid the btowc() call. */ + if (_ISCTYPE ((UCHAR) *n, wt)) + goto matched; +# else + if (ISWCTYPE (BTOWC ((UCHAR) *n), wt)) + goto matched; +# endif +#else + if ((STREQ (str, L_("alnum")) && isalnum ((UCHAR) *n)) + || (STREQ (str, L_("alpha")) && isalpha ((UCHAR) *n)) + || (STREQ (str, L_("blank")) && isblank ((UCHAR) *n)) + || (STREQ (str, L_("cntrl")) && iscntrl ((UCHAR) *n)) + || (STREQ (str, L_("digit")) && isdigit ((UCHAR) *n)) + || (STREQ (str, L_("graph")) && isgraph ((UCHAR) *n)) + || (STREQ (str, L_("lower")) && islower ((UCHAR) *n)) + || (STREQ (str, L_("print")) && isprint ((UCHAR) *n)) + || (STREQ (str, L_("punct")) && ispunct ((UCHAR) *n)) + || (STREQ (str, L_("space")) && isspace ((UCHAR) *n)) + || (STREQ (str, L_("upper")) && isupper ((UCHAR) *n)) + || (STREQ (str, L_("xdigit")) && isxdigit ((UCHAR) *n))) + goto matched; +#endif + c = *p++; + } +#ifdef _LIBC + else if (c == L_('[') && *p == L_('=')) + { + UCHAR str[1]; + uint32_t nrules = + _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + const CHAR *startp = p; + + c = *++p; + if (c == L_('\0')) + { + p = startp; + c = L_('['); + goto normal_bracket; + } + str[0] = c; + + c = *++p; + if (c != L_('=') || p[1] != L_(']')) + { + p = startp; + c = L_('['); + goto normal_bracket; + } + p += 2; + + if (nrules == 0) + { + if ((UCHAR) *n == str[0]) + goto matched; + } + else + { + const int32_t *table; +# if WIDE_CHAR_VERSION + const int32_t *weights; + const int32_t *extra; +# else + const unsigned char *weights; + const unsigned char *extra; +# endif + const int32_t *indirect; + int32_t idx; + const UCHAR *cp = (const UCHAR *) str; + + /* This #include defines a local function! */ +# if WIDE_CHAR_VERSION +# include +# else +# include +# endif + +# if WIDE_CHAR_VERSION + table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEWC); + weights = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_WEIGHTWC); + extra = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_EXTRAWC); + indirect = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_INDIRECTWC); +# else + table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); + weights = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_WEIGHTMB); + extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_EXTRAMB); + indirect = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_INDIRECTMB); +# endif + + idx = findidx (&cp); + if (idx != 0) + { + /* We found a table entry. Now see whether the + character we are currently at has the same + equivalance class value. */ + int len = weights[idx & 0xffffff]; + int32_t idx2; + const UCHAR *np = (const UCHAR *) n; + + idx2 = findidx (&np); + if (idx2 != 0 + && (idx >> 24) == (idx2 >> 24) + && len == weights[idx2 & 0xffffff]) + { + int cnt = 0; + + idx &= 0xffffff; + idx2 &= 0xffffff; + + while (cnt < len + && (weights[idx + 1 + cnt] + == weights[idx2 + 1 + cnt])) + ++cnt; + + if (cnt == len) + goto matched; + } + } + } + + c = *p++; + } +#endif + else if (c == L_('\0')) + /* [ (unterminated) loses. */ + return FNM_NOMATCH; + else + { + bool is_range = false; + +#ifdef _LIBC + bool is_seqval = false; + + if (c == L_('[') && *p == L_('.')) + { + uint32_t nrules = + _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + const CHAR *startp = p; + size_t c1 = 0; + + while (1) + { + c = *++p; + if (c == L_('.') && p[1] == L_(']')) + { + p += 2; + break; + } + if (c == '\0') + return FNM_NOMATCH; + ++c1; + } + + /* We have to handling the symbols differently in + ranges since then the collation sequence is + important. */ + is_range = *p == L_('-') && p[1] != L_('\0'); + + if (nrules == 0) + { + /* There are no names defined in the collation + data. Therefore we only accept the trivial + names consisting of the character itself. */ + if (c1 != 1) + return FNM_NOMATCH; + + if (!is_range && *n == startp[1]) + goto matched; + + cold = startp[1]; + c = *p++; + } + else + { + int32_t table_size; + const int32_t *symb_table; +# ifdef WIDE_CHAR_VERSION + char str[c1]; + size_t strcnt; +# else +# define str (startp + 1) +# endif + const unsigned char *extra; + int32_t idx; + int32_t elem; + int32_t second; + int32_t hash; + +# ifdef WIDE_CHAR_VERSION + /* We have to convert the name to a single-byte + string. This is possible since the names + consist of ASCII characters and the internal + representation is UCS4. */ + for (strcnt = 0; strcnt < c1; ++strcnt) + str[strcnt] = startp[1 + strcnt]; +# endif + + table_size = + _NL_CURRENT_WORD (LC_COLLATE, + _NL_COLLATE_SYMB_HASH_SIZEMB); + symb_table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_SYMB_TABLEMB); + extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_SYMB_EXTRAMB); + + /* Locate the character in the hashing table. */ + hash = elem_hash (str, c1); + + idx = 0; + elem = hash % table_size; + if (symb_table[2 * elem] != 0) + { + second = hash % (table_size - 2) + 1; + + do + { + /* First compare the hashing value. */ + if (symb_table[2 * elem] == hash + && (c1 + == extra[symb_table[2 * elem + 1]]) + && memcmp (str, + &extra[symb_table[2 * elem + + 1] + + 1], c1) == 0) + { + /* Yep, this is the entry. */ + idx = symb_table[2 * elem + 1]; + idx += 1 + extra[idx]; + break; + } + + /* Next entry. */ + elem += second; + } + while (symb_table[2 * elem] != 0); + } + + if (symb_table[2 * elem] != 0) + { + /* Compare the byte sequence but only if + this is not part of a range. */ +# ifdef WIDE_CHAR_VERSION + int32_t *wextra; + + idx += 1 + extra[idx]; + /* Adjust for the alignment. */ + idx = (idx + 3) & ~3; + + wextra = (int32_t *) &extra[idx + 4]; +# endif + + if (! is_range) + { +# ifdef WIDE_CHAR_VERSION + for (c1 = 0; + (int32_t) c1 < wextra[idx]; + ++c1) + if (n[c1] != wextra[1 + c1]) + break; + + if ((int32_t) c1 == wextra[idx]) + goto matched; +# else + for (c1 = 0; c1 < extra[idx]; ++c1) + if (n[c1] != extra[1 + c1]) + break; + + if (c1 == extra[idx]) + goto matched; +# endif + } + + /* Get the collation sequence value. */ + is_seqval = true; +# ifdef WIDE_CHAR_VERSION + cold = wextra[1 + wextra[idx]]; +# else + /* Adjust for the alignment. */ + idx += 1 + extra[idx]; + idx = (idx + 3) & ~4; + cold = *((int32_t *) &extra[idx]); +# endif + + c = *p++; + } + else if (c1 == 1) + { + /* No valid character. Match it as a + single byte. */ + if (!is_range && *n == str[0]) + goto matched; + + cold = str[0]; + c = *p++; + } + else + return FNM_NOMATCH; + } + } + else +# undef str +#endif + { + c = FOLD (c); + normal_bracket: + + /* We have to handling the symbols differently in + ranges since then the collation sequence is + important. */ + is_range = (*p == L_('-') && p[1] != L_('\0') + && p[1] != L_(']')); + + if (!is_range && c == fn) + goto matched; + +#if _LIBC + /* This is needed if we goto normal_bracket; from + outside of is_seqval's scope. */ + is_seqval = false; +#endif + + cold = c; + c = *p++; + } + + if (c == L_('-') && *p != L_(']')) + { +#if _LIBC + /* We have to find the collation sequence + value for C. Collation sequence is nothing + we can regularly access. The sequence + value is defined by the order in which the + definitions of the collation values for the + various characters appear in the source + file. A strange concept, nowhere + documented. */ + uint32_t fcollseq; + uint32_t lcollseq; + UCHAR cend = *p++; + +# ifdef WIDE_CHAR_VERSION + /* Search in the `names' array for the characters. */ + fcollseq = __collseq_table_lookup (collseq, fn); + if (fcollseq == ~((uint32_t) 0)) + /* XXX We don't know anything about the character + we are supposed to match. This means we are + failing. */ + goto range_not_matched; + + if (is_seqval) + lcollseq = cold; + else + lcollseq = __collseq_table_lookup (collseq, cold); +# else + fcollseq = collseq[fn]; + lcollseq = is_seqval ? cold : collseq[(UCHAR) cold]; +# endif + + is_seqval = false; + if (cend == L_('[') && *p == L_('.')) + { + uint32_t nrules = + _NL_CURRENT_WORD (LC_COLLATE, + _NL_COLLATE_NRULES); + const CHAR *startp = p; + size_t c1 = 0; + + while (1) + { + c = *++p; + if (c == L_('.') && p[1] == L_(']')) + { + p += 2; + break; + } + if (c == '\0') + return FNM_NOMATCH; + ++c1; + } + + if (nrules == 0) + { + /* There are no names defined in the + collation data. Therefore we only + accept the trivial names consisting + of the character itself. */ + if (c1 != 1) + return FNM_NOMATCH; + + cend = startp[1]; + } + else + { + int32_t table_size; + const int32_t *symb_table; +# ifdef WIDE_CHAR_VERSION + char str[c1]; + size_t strcnt; +# else +# define str (startp + 1) +# endif + const unsigned char *extra; + int32_t idx; + int32_t elem; + int32_t second; + int32_t hash; + +# ifdef WIDE_CHAR_VERSION + /* We have to convert the name to a single-byte + string. This is possible since the names + consist of ASCII characters and the internal + representation is UCS4. */ + for (strcnt = 0; strcnt < c1; ++strcnt) + str[strcnt] = startp[1 + strcnt]; +# endif + + table_size = + _NL_CURRENT_WORD (LC_COLLATE, + _NL_COLLATE_SYMB_HASH_SIZEMB); + symb_table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_SYMB_TABLEMB); + extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_SYMB_EXTRAMB); + + /* Locate the character in the hashing + table. */ + hash = elem_hash (str, c1); + + idx = 0; + elem = hash % table_size; + if (symb_table[2 * elem] != 0) + { + second = hash % (table_size - 2) + 1; + + do + { + /* First compare the hashing value. */ + if (symb_table[2 * elem] == hash + && (c1 + == extra[symb_table[2 * elem + 1]]) + && memcmp (str, + &extra[symb_table[2 * elem + 1] + + 1], c1) == 0) + { + /* Yep, this is the entry. */ + idx = symb_table[2 * elem + 1]; + idx += 1 + extra[idx]; + break; + } + + /* Next entry. */ + elem += second; + } + while (symb_table[2 * elem] != 0); + } + + if (symb_table[2 * elem] != 0) + { + /* Compare the byte sequence but only if + this is not part of a range. */ +# ifdef WIDE_CHAR_VERSION + int32_t *wextra; + + idx += 1 + extra[idx]; + /* Adjust for the alignment. */ + idx = (idx + 3) & ~4; + + wextra = (int32_t *) &extra[idx + 4]; +# endif + /* Get the collation sequence value. */ + is_seqval = true; +# ifdef WIDE_CHAR_VERSION + cend = wextra[1 + wextra[idx]]; +# else + /* Adjust for the alignment. */ + idx += 1 + extra[idx]; + idx = (idx + 3) & ~4; + cend = *((int32_t *) &extra[idx]); +# endif + } + else if (symb_table[2 * elem] != 0 && c1 == 1) + { + cend = str[0]; + c = *p++; + } + else + return FNM_NOMATCH; + } +# undef str + } + else + { + if (!(flags & FNM_NOESCAPE) && cend == L_('\\')) + cend = *p++; + if (cend == L_('\0')) + return FNM_NOMATCH; + cend = FOLD (cend); + } + + /* XXX It is not entirely clear to me how to handle + characters which are not mentioned in the + collation specification. */ + if ( +# ifdef WIDE_CHAR_VERSION + lcollseq == 0xffffffff || +# endif + lcollseq <= fcollseq) + { + /* We have to look at the upper bound. */ + uint32_t hcollseq; + + if (is_seqval) + hcollseq = cend; + else + { +# ifdef WIDE_CHAR_VERSION + hcollseq = + __collseq_table_lookup (collseq, cend); + if (hcollseq == ~((uint32_t) 0)) + { + /* Hum, no information about the upper + bound. The matching succeeds if the + lower bound is matched exactly. */ + if (lcollseq != fcollseq) + goto range_not_matched; + + goto matched; + } +# else + hcollseq = collseq[cend]; +# endif + } + + if (lcollseq <= hcollseq && fcollseq <= hcollseq) + goto matched; + } +# ifdef WIDE_CHAR_VERSION + range_not_matched: +# endif +#else + /* We use a boring value comparison of the character + values. This is better than comparing using + `strcoll' since the latter would have surprising + and sometimes fatal consequences. */ + UCHAR cend = *p++; + + if (!(flags & FNM_NOESCAPE) && cend == L_('\\')) + cend = *p++; + if (cend == L_('\0')) + return FNM_NOMATCH; + + /* It is a range. */ + if (cold <= fn && fn <= cend) + goto matched; +#endif + + c = *p++; + } + } + + if (c == L_(']')) + break; + } + + if (!not) + return FNM_NOMATCH; + break; + + matched: + /* Skip the rest of the [...] that already matched. */ + do + { + ignore_next: + c = *p++; + + if (c == L_('\0')) + /* [... (unterminated) loses. */ + return FNM_NOMATCH; + + if (!(flags & FNM_NOESCAPE) && c == L_('\\')) + { + if (*p == L_('\0')) + return FNM_NOMATCH; + /* XXX 1003.2d11 is unclear if this is right. */ + ++p; + } + else if (c == L_('[') && *p == L_(':')) + { + int c1 = 0; + const CHAR *startp = p; + + while (1) + { + c = *++p; + if (++c1 == CHAR_CLASS_MAX_LENGTH) + return FNM_NOMATCH; + + if (*p == L_(':') && p[1] == L_(']')) + break; + + if (c < L_('a') || c >= L_('z')) + { + p = startp; + goto ignore_next; + } + } + p += 2; + c = *p++; + } + else if (c == L_('[') && *p == L_('=')) + { + c = *++p; + if (c == L_('\0')) + return FNM_NOMATCH; + c = *++p; + if (c != L_('=') || p[1] != L_(']')) + return FNM_NOMATCH; + p += 2; + c = *p++; + } + else if (c == L_('[') && *p == L_('.')) + { + ++p; + while (1) + { + c = *++p; + if (c == '\0') + return FNM_NOMATCH; + + if (*p == L_('.') && p[1] == L_(']')) + break; + } + p += 2; + c = *p++; + } + } + while (c != L_(']')); + if (not) + return FNM_NOMATCH; + } + break; + + case L_('+'): + case L_('@'): + case L_('!'): + if (__builtin_expect (flags & FNM_EXTMATCH, 0) && *p == '(') + { + int res; + + res = EXT (c, p, n, string_end, no_leading_period, flags); + if (res != -1) + return res; + } + goto normal_match; + + case L_('/'): + if (NO_LEADING_PERIOD (flags)) + { + if (n == string_end || c != (UCHAR) *n) + return FNM_NOMATCH; + + new_no_leading_period = true; + break; + } + /* FALLTHROUGH */ + default: + normal_match: + if (n == string_end || c != FOLD ((UCHAR) *n)) + return FNM_NOMATCH; + } + + no_leading_period = new_no_leading_period; + ++n; + } + + if (n == string_end) + return 0; + + if ((flags & FNM_LEADING_DIR) && n != string_end && *n == L_('/')) + /* The FNM_LEADING_DIR flag says that "foo*" matches "foobar/frobozz". */ + return 0; + + return FNM_NOMATCH; +} + + +static const CHAR * +internal_function +END (const CHAR *pattern) +{ + const CHAR *p = pattern; + + while (1) + if (*++p == L_('\0')) + /* This is an invalid pattern. */ + return pattern; + else if (*p == L_('[')) + { + /* Handle brackets special. */ + if (posixly_correct == 0) + posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1; + + /* Skip the not sign. We have to recognize it because of a possibly + following ']'. */ + if (*++p == L_('!') || (posixly_correct < 0 && *p == L_('^'))) + ++p; + /* A leading ']' is recognized as such. */ + if (*p == L_(']')) + ++p; + /* Skip over all characters of the list. */ + while (*p != L_(']')) + if (*p++ == L_('\0')) + /* This is no valid pattern. */ + return pattern; + } + else if ((*p == L_('?') || *p == L_('*') || *p == L_('+') || *p == L_('@') + || *p == L_('!')) && p[1] == L_('(')) + p = END (p + 1); + else if (*p == L_(')')) + break; + + return p + 1; +} + + +static int +internal_function +EXT (INT opt, const CHAR *pattern, const CHAR *string, const CHAR *string_end, + bool no_leading_period, int flags) +{ + const CHAR *startp; + size_t level; + struct patternlist + { + struct patternlist *next; + CHAR str[1]; + } *list = NULL; + struct patternlist **lastp = &list; + size_t pattern_len = STRLEN (pattern); + const CHAR *p; + const CHAR *rs; + enum { ALLOCA_LIMIT = 8000 }; + + /* Parse the pattern. Store the individual parts in the list. */ + level = 0; + for (startp = p = pattern + 1; ; ++p) + if (*p == L_('\0')) + /* This is an invalid pattern. */ + return -1; + else if (*p == L_('[')) + { + /* Handle brackets special. */ + if (posixly_correct == 0) + posixly_correct = getenv ("POSIXLY_CORRECT") != NULL ? 1 : -1; + + /* Skip the not sign. We have to recognize it because of a possibly + following ']'. */ + if (*++p == L_('!') || (posixly_correct < 0 && *p == L_('^'))) + ++p; + /* A leading ']' is recognized as such. */ + if (*p == L_(']')) + ++p; + /* Skip over all characters of the list. */ + while (*p != L_(']')) + if (*p++ == L_('\0')) + /* This is no valid pattern. */ + return -1; + } + else if ((*p == L_('?') || *p == L_('*') || *p == L_('+') || *p == L_('@') + || *p == L_('!')) && p[1] == L_('(')) + /* Remember the nesting level. */ + ++level; + else if (*p == L_(')')) + { + if (level-- == 0) + { + /* This means we found the end of the pattern. */ +#define NEW_PATTERN \ + struct patternlist *newp; \ + size_t plen; \ + size_t plensize; \ + size_t newpsize; \ + \ + plen = (opt == L_('?') || opt == L_('@') \ + ? pattern_len \ + : p - startp + 1UL); \ + plensize = plen * sizeof (CHAR); \ + newpsize = offsetof (struct patternlist, str) + plensize; \ + if ((size_t) -1 / sizeof (CHAR) < plen \ + || newpsize < offsetof (struct patternlist, str) \ + || ALLOCA_LIMIT <= newpsize) \ + return -1; \ + newp = (struct patternlist *) alloca (newpsize); \ + *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \ + newp->next = NULL; \ + *lastp = newp; \ + lastp = &newp->next + NEW_PATTERN; + break; + } + } + else if (*p == L_('|')) + { + if (level == 0) + { + NEW_PATTERN; + startp = p + 1; + } + } + assert (list != NULL); + assert (p[-1] == L_(')')); +#undef NEW_PATTERN + + switch (opt) + { + case L_('*'): + if (FCT (p, string, string_end, no_leading_period, flags) == 0) + return 0; + /* FALLTHROUGH */ + + case L_('+'): + do + { + for (rs = string; rs <= string_end; ++rs) + /* First match the prefix with the current pattern with the + current pattern. */ + if (FCT (list->str, string, rs, no_leading_period, + flags & FNM_FILE_NAME ? flags : flags & ~FNM_PERIOD) == 0 + /* This was successful. Now match the rest with the rest + of the pattern. */ + && (FCT (p, rs, string_end, + rs == string + ? no_leading_period + : rs[-1] == '/' && NO_LEADING_PERIOD (flags), + flags & FNM_FILE_NAME + ? flags : flags & ~FNM_PERIOD) == 0 + /* This didn't work. Try the whole pattern. */ + || (rs != string + && FCT (pattern - 1, rs, string_end, + rs == string + ? no_leading_period + : rs[-1] == '/' && NO_LEADING_PERIOD (flags), + flags & FNM_FILE_NAME + ? flags : flags & ~FNM_PERIOD) == 0))) + /* It worked. Signal success. */ + return 0; + } + while ((list = list->next) != NULL); + + /* None of the patterns lead to a match. */ + return FNM_NOMATCH; + + case L_('?'): + if (FCT (p, string, string_end, no_leading_period, flags) == 0) + return 0; + /* FALLTHROUGH */ + + case L_('@'): + do + /* I cannot believe it but `strcat' is actually acceptable + here. Match the entire string with the prefix from the + pattern list and the rest of the pattern following the + pattern list. */ + if (FCT (STRCAT (list->str, p), string, string_end, + no_leading_period, + flags & FNM_FILE_NAME ? flags : flags & ~FNM_PERIOD) == 0) + /* It worked. Signal success. */ + return 0; + while ((list = list->next) != NULL); + + /* None of the patterns lead to a match. */ + return FNM_NOMATCH; + + case L_('!'): + for (rs = string; rs <= string_end; ++rs) + { + struct patternlist *runp; + + for (runp = list; runp != NULL; runp = runp->next) + if (FCT (runp->str, string, rs, no_leading_period, + flags & FNM_FILE_NAME ? flags : flags & ~FNM_PERIOD) == 0) + break; + + /* If none of the patterns matched see whether the rest does. */ + if (runp == NULL + && (FCT (p, rs, string_end, + rs == string + ? no_leading_period + : rs[-1] == '/' && NO_LEADING_PERIOD (flags), + flags & FNM_FILE_NAME ? flags : flags & ~FNM_PERIOD) + == 0)) + /* This is successful. */ + return 0; + } + + /* None of the patterns together with the rest of the pattern + lead to a match. */ + return FNM_NOMATCH; + + default: + assert (! "Invalid extended matching operator"); + break; + } + + return -1; +} + + +#undef FOLD +#undef CHAR +#undef UCHAR +#undef INT +#undef FCT +#undef EXT +#undef END +#undef MEMPCPY +#undef MEMCHR +#undef STRCOLL +#undef STRLEN +#undef STRCAT +#undef L_ +#undef BTOWC diff --git a/grub-core/gnulib/getdelim.c b/grub-core/gnulib/getdelim.c new file mode 100644 index 0000000..66d07b9 --- /dev/null +++ b/grub-core/gnulib/getdelim.c @@ -0,0 +1,137 @@ +/* getdelim.c --- Implementation of replacement getdelim function. + Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005, 2006, 2007, 2008, + 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 3, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ + +/* Ported from glibc by Simon Josefsson. */ + +#include + +/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc + optimizes away the lineptr == NULL || n == NULL || fp == NULL tests below. */ +#define _GL_ARG_NONNULL(params) + +#include + +#include +#include +#include +#include + +#ifndef SSIZE_MAX +# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) +#endif + +#if USE_UNLOCKED_IO +# include "unlocked-io.h" +# define getc_maybe_unlocked(fp) getc(fp) +#elif !HAVE_FLOCKFILE || !HAVE_FUNLOCKFILE || !HAVE_DECL_GETC_UNLOCKED +# undef flockfile +# undef funlockfile +# define flockfile(x) ((void) 0) +# define funlockfile(x) ((void) 0) +# define getc_maybe_unlocked(fp) getc(fp) +#else +# define getc_maybe_unlocked(fp) getc_unlocked(fp) +#endif + +/* Read up to (and including) a DELIMITER from FP into *LINEPTR (and + NUL-terminate it). *LINEPTR is a pointer returned from malloc (or + NULL), pointing to *N characters of space. It is realloc'ed as + necessary. Returns the number of characters read (not including + the null terminator), or -1 on error or EOF. */ + +ssize_t +getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) +{ + ssize_t result; + size_t cur_len = 0; + + if (lineptr == NULL || n == NULL || fp == NULL) + { + errno = EINVAL; + return -1; + } + + flockfile (fp); + + if (*lineptr == NULL || *n == 0) + { + char *new_lineptr; + *n = 120; + new_lineptr = (char *) realloc (*lineptr, *n); + if (new_lineptr == NULL) + { + result = -1; + goto unlock_return; + } + *lineptr = new_lineptr; + } + + for (;;) + { + int i; + + i = getc_maybe_unlocked (fp); + if (i == EOF) + { + result = -1; + break; + } + + /* Make enough space for len+1 (for final NUL) bytes. */ + if (cur_len + 1 >= *n) + { + size_t needed_max = + SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; + size_t needed = 2 * *n + 1; /* Be generous. */ + char *new_lineptr; + + if (needed_max < needed) + needed = needed_max; + if (cur_len + 1 >= needed) + { + result = -1; + errno = EOVERFLOW; + goto unlock_return; + } + + new_lineptr = (char *) realloc (*lineptr, needed); + if (new_lineptr == NULL) + { + result = -1; + goto unlock_return; + } + + *lineptr = new_lineptr; + *n = needed; + } + + (*lineptr)[cur_len] = i; + cur_len++; + + if (i == delimiter) + break; + } + (*lineptr)[cur_len] = '\0'; + result = cur_len ? cur_len : result; + + unlock_return: + funlockfile (fp); /* doesn't set errno */ + + return result; +} diff --git a/grub-core/gnulib/getline.c b/grub-core/gnulib/getline.c new file mode 100644 index 0000000..30c076e --- /dev/null +++ b/grub-core/gnulib/getline.c @@ -0,0 +1,29 @@ +/* getline.c --- Implementation of replacement getline function. + Copyright (C) 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 3, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ + +/* Written by Simon Josefsson. */ + +#include + +#include + +ssize_t +getline (char **lineptr, size_t *n, FILE *stream) +{ + return getdelim (lineptr, n, '\n', stream); +} diff --git a/grub-core/gnulib/getopt.c b/grub-core/gnulib/getopt.c new file mode 100644 index 0000000..3791f12 --- /dev/null +++ b/grub-core/gnulib/getopt.c @@ -0,0 +1,1192 @@ +/* Getopt for GNU. + NOTE: getopt is part of the C library, so if you don't know what + "Keep this file name-space clean" means, talk to drepper@gnu.org + before changing it! + Copyright (C) 1987-1996, 1998-2004, 2006, 2008-2010 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _LIBC +# include +#endif + +#include "getopt.h" + +#include +#include +#include +#include + +#ifdef _LIBC +# include +#else +# include "gettext.h" +# define _(msgid) gettext (msgid) +#endif + +#if defined _LIBC && defined USE_IN_LIBIO +# include +#endif + +/* This version of `getopt' appears to the caller like standard Unix `getopt' + but it behaves differently for the user, since it allows the user + to intersperse the options with the other arguments. + + As `getopt_long' works, it permutes the elements of ARGV so that, + when it is done, all the options precede everything else. Thus + all application programs are extended to handle flexible argument order. + + Using `getopt' or setting the environment variable POSIXLY_CORRECT + disables permutation. + Then the behavior is completely standard. + + GNU application programs can use a third alternative mode in which + they can distinguish the relative order of options and other arguments. */ + +#include "getopt_int.h" + +/* For communication from `getopt' to the caller. + When `getopt' finds an option that takes an argument, + the argument value is returned here. + Also, when `ordering' is RETURN_IN_ORDER, + each non-option ARGV-element is returned here. */ + +char *optarg; + +/* Index in ARGV of the next element to be scanned. + This is used for communication to and from the caller + and for communication between successive calls to `getopt'. + + On entry to `getopt', zero means this is the first call; initialize. + + When `getopt' returns -1, this is the index of the first of the + non-option elements that the caller should itself scan. + + Otherwise, `optind' communicates from one call to the next + how much of ARGV has been scanned so far. */ + +/* 1003.2 says this must be 1 before any call. */ +int optind = 1; + +/* Callers store zero here to inhibit the error message + for unrecognized options. */ + +int opterr = 1; + +/* Set to an option character which was unrecognized. + This must be initialized on some systems to avoid linking in the + system's own getopt implementation. */ + +int optopt = '?'; + +/* Keep a global copy of all internal members of getopt_data. */ + +static struct _getopt_data getopt_data; + + +#if defined HAVE_DECL_GETENV && !HAVE_DECL_GETENV +extern char *getenv (); +#endif + +#ifdef _LIBC +/* Stored original parameters. + XXX This is no good solution. We should rather copy the args so + that we can compare them later. But we must not use malloc(3). */ +extern int __libc_argc; +extern char **__libc_argv; + +/* Bash 2.0 gives us an environment variable containing flags + indicating ARGV elements that should not be considered arguments. */ + +# ifdef USE_NONOPTION_FLAGS +/* Defined in getopt_init.c */ +extern char *__getopt_nonoption_flags; +# endif + +# ifdef USE_NONOPTION_FLAGS +# define SWAP_FLAGS(ch1, ch2) \ + if (d->__nonoption_flags_len > 0) \ + { \ + char __tmp = __getopt_nonoption_flags[ch1]; \ + __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ + __getopt_nonoption_flags[ch2] = __tmp; \ + } +# else +# define SWAP_FLAGS(ch1, ch2) +# endif +#else /* !_LIBC */ +# define SWAP_FLAGS(ch1, ch2) +#endif /* _LIBC */ + +/* Exchange two adjacent subsequences of ARGV. + One subsequence is elements [first_nonopt,last_nonopt) + which contains all the non-options that have been skipped so far. + The other is elements [last_nonopt,optind), which contains all + the options processed since those non-options were skipped. + + `first_nonopt' and `last_nonopt' are relocated so that they describe + the new indices of the non-options in ARGV after they are moved. */ + +static void +exchange (char **argv, struct _getopt_data *d) +{ + int bottom = d->__first_nonopt; + int middle = d->__last_nonopt; + int top = d->optind; + char *tem; + + /* Exchange the shorter segment with the far end of the longer segment. + That puts the shorter segment into the right place. + It leaves the longer segment in the right place overall, + but it consists of two parts that need to be swapped next. */ + +#if defined _LIBC && defined USE_NONOPTION_FLAGS + /* First make sure the handling of the `__getopt_nonoption_flags' + string can work normally. Our top argument must be in the range + of the string. */ + if (d->__nonoption_flags_len > 0 && top >= d->__nonoption_flags_max_len) + { + /* We must extend the array. The user plays games with us and + presents new arguments. */ + char *new_str = malloc (top + 1); + if (new_str == NULL) + d->__nonoption_flags_len = d->__nonoption_flags_max_len = 0; + else + { + memset (__mempcpy (new_str, __getopt_nonoption_flags, + d->__nonoption_flags_max_len), + '\0', top + 1 - d->__nonoption_flags_max_len); + d->__nonoption_flags_max_len = top + 1; + __getopt_nonoption_flags = new_str; + } + } +#endif + + while (top > middle && middle > bottom) + { + if (top - middle > middle - bottom) + { + /* Bottom segment is the short one. */ + int len = middle - bottom; + register int i; + + /* Swap it with the top part of the top segment. */ + for (i = 0; i < len; i++) + { + tem = argv[bottom + i]; + argv[bottom + i] = argv[top - (middle - bottom) + i]; + argv[top - (middle - bottom) + i] = tem; + SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); + } + /* Exclude the moved bottom segment from further swapping. */ + top -= len; + } + else + { + /* Top segment is the short one. */ + int len = top - middle; + register int i; + + /* Swap it with the bottom part of the bottom segment. */ + for (i = 0; i < len; i++) + { + tem = argv[bottom + i]; + argv[bottom + i] = argv[middle + i]; + argv[middle + i] = tem; + SWAP_FLAGS (bottom + i, middle + i); + } + /* Exclude the moved top segment from further swapping. */ + bottom += len; + } + } + + /* Update records for the slots the non-options now occupy. */ + + d->__first_nonopt += (d->optind - d->__last_nonopt); + d->__last_nonopt = d->optind; +} + +/* Initialize the internal data when the first call is made. */ + +static const char * +_getopt_initialize (int argc _GL_UNUSED, + char **argv _GL_UNUSED, const char *optstring, + struct _getopt_data *d, int posixly_correct) +{ + /* Start processing options with ARGV-element 1 (since ARGV-element 0 + is the program name); the sequence of previously skipped + non-option ARGV-elements is empty. */ + + d->__first_nonopt = d->__last_nonopt = d->optind; + + d->__nextchar = NULL; + + d->__posixly_correct = posixly_correct || !!getenv ("POSIXLY_CORRECT"); + + /* Determine how to handle the ordering of options and nonoptions. */ + + if (optstring[0] == '-') + { + d->__ordering = RETURN_IN_ORDER; + ++optstring; + } + else if (optstring[0] == '+') + { + d->__ordering = REQUIRE_ORDER; + ++optstring; + } + else if (d->__posixly_correct) + d->__ordering = REQUIRE_ORDER; + else + d->__ordering = PERMUTE; + +#if defined _LIBC && defined USE_NONOPTION_FLAGS + if (!d->__posixly_correct + && argc == __libc_argc && argv == __libc_argv) + { + if (d->__nonoption_flags_max_len == 0) + { + if (__getopt_nonoption_flags == NULL + || __getopt_nonoption_flags[0] == '\0') + d->__nonoption_flags_max_len = -1; + else + { + const char *orig_str = __getopt_nonoption_flags; + int len = d->__nonoption_flags_max_len = strlen (orig_str); + if (d->__nonoption_flags_max_len < argc) + d->__nonoption_flags_max_len = argc; + __getopt_nonoption_flags = + (char *) malloc (d->__nonoption_flags_max_len); + if (__getopt_nonoption_flags == NULL) + d->__nonoption_flags_max_len = -1; + else + memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), + '\0', d->__nonoption_flags_max_len - len); + } + } + d->__nonoption_flags_len = d->__nonoption_flags_max_len; + } + else + d->__nonoption_flags_len = 0; +#endif + + return optstring; +} + +/* Scan elements of ARGV (whose length is ARGC) for option characters + given in OPTSTRING. + + If an element of ARGV starts with '-', and is not exactly "-" or "--", + then it is an option element. The characters of this element + (aside from the initial '-') are option characters. If `getopt' + is called repeatedly, it returns successively each of the option characters + from each of the option elements. + + If `getopt' finds another option character, it returns that character, + updating `optind' and `nextchar' so that the next call to `getopt' can + resume the scan with the following option character or ARGV-element. + + If there are no more option characters, `getopt' returns -1. + Then `optind' is the index in ARGV of the first ARGV-element + that is not an option. (The ARGV-elements have been permuted + so that those that are not options now come last.) + + OPTSTRING is a string containing the legitimate option characters. + If an option character is seen that is not listed in OPTSTRING, + return '?' after printing an error message. If you set `opterr' to + zero, the error message is suppressed but we still return '?'. + + If a char in OPTSTRING is followed by a colon, that means it wants an arg, + so the following text in the same ARGV-element, or the text of the following + ARGV-element, is returned in `optarg'. Two colons mean an option that + wants an optional arg; if there is text in the current ARGV-element, + it is returned in `optarg', otherwise `optarg' is set to zero. + + If OPTSTRING starts with `-' or `+', it requests different methods of + handling the non-option ARGV-elements. + See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. + + Long-named options begin with `--' instead of `-'. + Their names may be abbreviated as long as the abbreviation is unique + or is an exact match for some defined option. If they have an + argument, it follows the option name in the same ARGV-element, separated + from the option name by a `=', or else the in next ARGV-element. + When `getopt' finds a long-named option, it returns 0 if that option's + `flag' field is nonzero, the value of the option's `val' field + if the `flag' field is zero. + + The elements of ARGV aren't really const, because we permute them. + But we pretend they're const in the prototype to be compatible + with other systems. + + LONGOPTS is a vector of `struct option' terminated by an + element containing a name which is zero. + + LONGIND returns the index in LONGOPT of the long-named option found. + It is only valid when a long-named option has been found by the most + recent call. + + If LONG_ONLY is nonzero, '-' as well as '--' can introduce + long-named options. */ + +int +_getopt_internal_r (int argc, char **argv, const char *optstring, + const struct option *longopts, int *longind, + int long_only, struct _getopt_data *d, int posixly_correct) +{ + int print_errors = d->opterr; + + if (argc < 1) + return -1; + + d->optarg = NULL; + + if (d->optind == 0 || !d->__initialized) + { + if (d->optind == 0) + d->optind = 1; /* Don't scan ARGV[0], the program name. */ + optstring = _getopt_initialize (argc, argv, optstring, d, + posixly_correct); + d->__initialized = 1; + } + else if (optstring[0] == '-' || optstring[0] == '+') + optstring++; + if (optstring[0] == ':') + print_errors = 0; + + /* Test whether ARGV[optind] points to a non-option argument. + Either it does not have option syntax, or there is an environment flag + from the shell indicating it is not an option. The later information + is only used when the used in the GNU libc. */ +#if defined _LIBC && defined USE_NONOPTION_FLAGS +# define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0' \ + || (d->optind < d->__nonoption_flags_len \ + && __getopt_nonoption_flags[d->optind] == '1')) +#else +# define NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') +#endif + + if (d->__nextchar == NULL || *d->__nextchar == '\0') + { + /* Advance to the next ARGV-element. */ + + /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been + moved back by the user (who may also have changed the arguments). */ + if (d->__last_nonopt > d->optind) + d->__last_nonopt = d->optind; + if (d->__first_nonopt > d->optind) + d->__first_nonopt = d->optind; + + if (d->__ordering == PERMUTE) + { + /* If we have just processed some options following some non-options, + exchange them so that the options come first. */ + + if (d->__first_nonopt != d->__last_nonopt + && d->__last_nonopt != d->optind) + exchange ((char **) argv, d); + else if (d->__last_nonopt != d->optind) + d->__first_nonopt = d->optind; + + /* Skip any additional non-options + and extend the range of non-options previously skipped. */ + + while (d->optind < argc && NONOPTION_P) + d->optind++; + d->__last_nonopt = d->optind; + } + + /* The special ARGV-element `--' means premature end of options. + Skip it like a null option, + then exchange with previous non-options as if it were an option, + then skip everything else like a non-option. */ + + if (d->optind != argc && !strcmp (argv[d->optind], "--")) + { + d->optind++; + + if (d->__first_nonopt != d->__last_nonopt + && d->__last_nonopt != d->optind) + exchange ((char **) argv, d); + else if (d->__first_nonopt == d->__last_nonopt) + d->__first_nonopt = d->optind; + d->__last_nonopt = argc; + + d->optind = argc; + } + + /* If we have done all the ARGV-elements, stop the scan + and back over any non-options that we skipped and permuted. */ + + if (d->optind == argc) + { + /* Set the next-arg-index to point at the non-options + that we previously skipped, so the caller will digest them. */ + if (d->__first_nonopt != d->__last_nonopt) + d->optind = d->__first_nonopt; + return -1; + } + + /* If we have come to a non-option and did not permute it, + either stop the scan or describe it to the caller and pass it by. */ + + if (NONOPTION_P) + { + if (d->__ordering == REQUIRE_ORDER) + return -1; + d->optarg = argv[d->optind++]; + return 1; + } + + /* We have found another option-ARGV-element. + Skip the initial punctuation. */ + + d->__nextchar = (argv[d->optind] + 1 + + (longopts != NULL && argv[d->optind][1] == '-')); + } + + /* Decode the current option-ARGV-element. */ + + /* Check whether the ARGV-element is a long option. + + If long_only and the ARGV-element has the form "-f", where f is + a valid short option, don't consider it an abbreviated form of + a long option that starts with f. Otherwise there would be no + way to give the -f short option. + + On the other hand, if there's a long option "fubar" and + the ARGV-element is "-fu", do consider that an abbreviation of + the long option, just like "--fu", and not "-f" with arg "u". + + This distinction seems to be the most useful approach. */ + + if (longopts != NULL + && (argv[d->optind][1] == '-' + || (long_only && (argv[d->optind][2] + || !strchr (optstring, argv[d->optind][1]))))) + { + char *nameend; + const struct option *p; + const struct option *pfound = NULL; + int exact = 0; + int ambig = 0; + int indfound = -1; + int option_index; + + for (nameend = d->__nextchar; *nameend && *nameend != '='; nameend++) + /* Do nothing. */ ; + + /* Test all long options for either exact match + or abbreviated matches. */ + for (p = longopts, option_index = 0; p->name; p++, option_index++) + if (!strncmp (p->name, d->__nextchar, nameend - d->__nextchar)) + { + if ((unsigned int) (nameend - d->__nextchar) + == (unsigned int) strlen (p->name)) + { + /* Exact match found. */ + pfound = p; + indfound = option_index; + exact = 1; + break; + } + else if (pfound == NULL) + { + /* First nonexact match found. */ + pfound = p; + indfound = option_index; + } + else if (long_only + || pfound->has_arg != p->has_arg + || pfound->flag != p->flag + || pfound->val != p->val) + /* Second or later nonexact match found. */ + ambig = 1; + } + + if (ambig && !exact) + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, _("%s: option '%s' is ambiguous\n"), + argv[0], argv[d->optind]) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, _("%s: option '%s' is ambiguous\n"), + argv[0], argv[d->optind]); +#endif + } + d->__nextchar += strlen (d->__nextchar); + d->optind++; + d->optopt = 0; + return '?'; + } + + if (pfound != NULL) + { + option_index = indfound; + d->optind++; + if (*nameend) + { + /* Don't test has_arg with >, because some C compilers don't + allow it to be used on enums. */ + if (pfound->has_arg) + d->optarg = nameend + 1; + else + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + int n; +#endif + + if (argv[d->optind - 1][1] == '-') + { + /* --option */ +#if defined _LIBC && defined USE_IN_LIBIO + n = __asprintf (&buf, _("\ +%s: option '--%s' doesn't allow an argument\n"), + argv[0], pfound->name); +#else + fprintf (stderr, _("\ +%s: option '--%s' doesn't allow an argument\n"), + argv[0], pfound->name); +#endif + } + else + { + /* +option or -option */ +#if defined _LIBC && defined USE_IN_LIBIO + n = __asprintf (&buf, _("\ +%s: option '%c%s' doesn't allow an argument\n"), + argv[0], argv[d->optind - 1][0], + pfound->name); +#else + fprintf (stderr, _("\ +%s: option '%c%s' doesn't allow an argument\n"), + argv[0], argv[d->optind - 1][0], + pfound->name); +#endif + } + +#if defined _LIBC && defined USE_IN_LIBIO + if (n >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 + |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#endif + } + + d->__nextchar += strlen (d->__nextchar); + + d->optopt = pfound->val; + return '?'; + } + } + else if (pfound->has_arg == 1) + { + if (d->optind < argc) + d->optarg = argv[d->optind++]; + else + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, _("\ +%s: option '--%s' requires an argument\n"), + argv[0], pfound->name) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 + |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, + _("%s: option '--%s' requires an argument\n"), + argv[0], pfound->name); +#endif + } + d->__nextchar += strlen (d->__nextchar); + d->optopt = pfound->val; + return optstring[0] == ':' ? ':' : '?'; + } + } + d->__nextchar += strlen (d->__nextchar); + if (longind != NULL) + *longind = option_index; + if (pfound->flag) + { + *(pfound->flag) = pfound->val; + return 0; + } + return pfound->val; + } + + /* Can't find it as a long option. If this is not getopt_long_only, + or the option starts with '--' or is not a valid short + option, then it's an error. + Otherwise interpret it as a short option. */ + if (!long_only || argv[d->optind][1] == '-' + || strchr (optstring, *d->__nextchar) == NULL) + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + int n; +#endif + + if (argv[d->optind][1] == '-') + { + /* --option */ +#if defined _LIBC && defined USE_IN_LIBIO + n = __asprintf (&buf, _("%s: unrecognized option '--%s'\n"), + argv[0], d->__nextchar); +#else + fprintf (stderr, _("%s: unrecognized option '--%s'\n"), + argv[0], d->__nextchar); +#endif + } + else + { + /* +option or -option */ +#if defined _LIBC && defined USE_IN_LIBIO + n = __asprintf (&buf, _("%s: unrecognized option '%c%s'\n"), + argv[0], argv[d->optind][0], d->__nextchar); +#else + fprintf (stderr, _("%s: unrecognized option '%c%s'\n"), + argv[0], argv[d->optind][0], d->__nextchar); +#endif + } + +#if defined _LIBC && defined USE_IN_LIBIO + if (n >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#endif + } + d->__nextchar = (char *) ""; + d->optind++; + d->optopt = 0; + return '?'; + } + } + + /* Look at and handle the next short option-character. */ + + { + char c = *d->__nextchar++; + const char *temp = strchr (optstring, c); + + /* Increment `optind' when we start to process its last character. */ + if (*d->__nextchar == '\0') + ++d->optind; + + if (temp == NULL || c == ':' || c == ';') + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + int n; +#endif + +#if defined _LIBC && defined USE_IN_LIBIO + n = __asprintf (&buf, _("%s: invalid option -- '%c'\n"), + argv[0], c); +#else + fprintf (stderr, _("%s: invalid option -- '%c'\n"), argv[0], c); +#endif + +#if defined _LIBC && defined USE_IN_LIBIO + if (n >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#endif + } + d->optopt = c; + return '?'; + } + /* Convenience. Treat POSIX -W foo same as long option --foo */ + if (temp[0] == 'W' && temp[1] == ';') + { + char *nameend; + const struct option *p; + const struct option *pfound = NULL; + int exact = 0; + int ambig = 0; + int indfound = 0; + int option_index; + + /* This is an option that requires an argument. */ + if (*d->__nextchar != '\0') + { + d->optarg = d->__nextchar; + /* If we end this ARGV-element by taking the rest as an arg, + we must advance to the next element now. */ + d->optind++; + } + else if (d->optind == argc) + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, + _("%s: option requires an argument -- '%c'\n"), + argv[0], c) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, + _("%s: option requires an argument -- '%c'\n"), + argv[0], c); +#endif + } + d->optopt = c; + if (optstring[0] == ':') + c = ':'; + else + c = '?'; + return c; + } + else + /* We already incremented `d->optind' once; + increment it again when taking next ARGV-elt as argument. */ + d->optarg = argv[d->optind++]; + + /* optarg is now the argument, see if it's in the + table of longopts. */ + + for (d->__nextchar = nameend = d->optarg; *nameend && *nameend != '='; + nameend++) + /* Do nothing. */ ; + + /* Test all long options for either exact match + or abbreviated matches. */ + for (p = longopts, option_index = 0; p->name; p++, option_index++) + if (!strncmp (p->name, d->__nextchar, nameend - d->__nextchar)) + { + if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name)) + { + /* Exact match found. */ + pfound = p; + indfound = option_index; + exact = 1; + break; + } + else if (pfound == NULL) + { + /* First nonexact match found. */ + pfound = p; + indfound = option_index; + } + else if (long_only + || pfound->has_arg != p->has_arg + || pfound->flag != p->flag + || pfound->val != p->val) + /* Second or later nonexact match found. */ + ambig = 1; + } + if (ambig && !exact) + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, _("%s: option '-W %s' is ambiguous\n"), + argv[0], d->optarg) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, _("%s: option '-W %s' is ambiguous\n"), + argv[0], d->optarg); +#endif + } + d->__nextchar += strlen (d->__nextchar); + d->optind++; + return '?'; + } + if (pfound != NULL) + { + option_index = indfound; + if (*nameend) + { + /* Don't test has_arg with >, because some C compilers don't + allow it to be used on enums. */ + if (pfound->has_arg) + d->optarg = nameend + 1; + else + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, _("\ +%s: option '-W %s' doesn't allow an argument\n"), + argv[0], pfound->name) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 + |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, _("\ +%s: option '-W %s' doesn't allow an argument\n"), + argv[0], pfound->name); +#endif + } + + d->__nextchar += strlen (d->__nextchar); + return '?'; + } + } + else if (pfound->has_arg == 1) + { + if (d->optind < argc) + d->optarg = argv[d->optind++]; + else + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, _("\ +%s: option '-W %s' requires an argument\n"), + argv[0], pfound->name) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 + |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, _("\ +%s: option '-W %s' requires an argument\n"), + argv[0], pfound->name); +#endif + } + d->__nextchar += strlen (d->__nextchar); + return optstring[0] == ':' ? ':' : '?'; + } + } + else + d->optarg = NULL; + d->__nextchar += strlen (d->__nextchar); + if (longind != NULL) + *longind = option_index; + if (pfound->flag) + { + *(pfound->flag) = pfound->val; + return 0; + } + return pfound->val; + } + d->__nextchar = NULL; + return 'W'; /* Let the application handle it. */ + } + if (temp[1] == ':') + { + if (temp[2] == ':') + { + /* This is an option that accepts an argument optionally. */ + if (*d->__nextchar != '\0') + { + d->optarg = d->__nextchar; + d->optind++; + } + else + d->optarg = NULL; + d->__nextchar = NULL; + } + else + { + /* This is an option that requires an argument. */ + if (*d->__nextchar != '\0') + { + d->optarg = d->__nextchar; + /* If we end this ARGV-element by taking the rest as an arg, + we must advance to the next element now. */ + d->optind++; + } + else if (d->optind == argc) + { + if (print_errors) + { +#if defined _LIBC && defined USE_IN_LIBIO + char *buf; + + if (__asprintf (&buf, _("\ +%s: option requires an argument -- '%c'\n"), + argv[0], c) >= 0) + { + _IO_flockfile (stderr); + + int old_flags2 = ((_IO_FILE *) stderr)->_flags2; + ((_IO_FILE *) stderr)->_flags2 |= _IO_FLAGS2_NOTCANCEL; + + __fxprintf (NULL, "%s", buf); + + ((_IO_FILE *) stderr)->_flags2 = old_flags2; + _IO_funlockfile (stderr); + + free (buf); + } +#else + fprintf (stderr, + _("%s: option requires an argument -- '%c'\n"), + argv[0], c); +#endif + } + d->optopt = c; + if (optstring[0] == ':') + c = ':'; + else + c = '?'; + } + else + /* We already incremented `optind' once; + increment it again when taking next ARGV-elt as argument. */ + d->optarg = argv[d->optind++]; + d->__nextchar = NULL; + } + } + return c; + } +} + +int +_getopt_internal (int argc, char **argv, const char *optstring, + const struct option *longopts, int *longind, int long_only, + int posixly_correct) +{ + int result; + + getopt_data.optind = optind; + getopt_data.opterr = opterr; + + result = _getopt_internal_r (argc, argv, optstring, longopts, + longind, long_only, &getopt_data, + posixly_correct); + + optind = getopt_data.optind; + optarg = getopt_data.optarg; + optopt = getopt_data.optopt; + + return result; +} + +/* glibc gets a LSB-compliant getopt. + Standalone applications get a POSIX-compliant getopt. */ +#if _LIBC +enum { POSIXLY_CORRECT = 0 }; +#else +enum { POSIXLY_CORRECT = 1 }; +#endif + +int +getopt (int argc, char *const *argv, const char *optstring) +{ + return _getopt_internal (argc, (char **) argv, optstring, + (const struct option *) 0, + (int *) 0, + 0, POSIXLY_CORRECT); +} + +#ifdef _LIBC +int +__posix_getopt (int argc, char *const *argv, const char *optstring) +{ + return _getopt_internal (argc, argv, optstring, + (const struct option *) 0, + (int *) 0, + 0, 1); +} +#endif + + +#ifdef TEST + +/* Compile with -DTEST to make an executable for use in testing + the above definition of `getopt'. */ + +int +main (int argc, char **argv) +{ + int c; + int digit_optind = 0; + + while (1) + { + int this_option_optind = optind ? optind : 1; + + c = getopt (argc, argv, "abc:d:0123456789"); + if (c == -1) + break; + + switch (c) + { + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + if (digit_optind != 0 && digit_optind != this_option_optind) + printf ("digits occur in two different argv-elements.\n"); + digit_optind = this_option_optind; + printf ("option %c\n", c); + break; + + case 'a': + printf ("option a\n"); + break; + + case 'b': + printf ("option b\n"); + break; + + case 'c': + printf ("option c with value '%s'\n", optarg); + break; + + case '?': + break; + + default: + printf ("?? getopt returned character code 0%o ??\n", c); + } + } + + if (optind < argc) + { + printf ("non-option ARGV-elements: "); + while (optind < argc) + printf ("%s ", argv[optind++]); + printf ("\n"); + } + + exit (0); +} + +#endif /* TEST */ diff --git a/grub-core/gnulib/getopt.in.h b/grub-core/gnulib/getopt.in.h new file mode 100644 index 0000000..57a8e89 --- /dev/null +++ b/grub-core/gnulib/getopt.in.h @@ -0,0 +1,249 @@ +/* Declarations for getopt. + Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2010 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _GL_GETOPT_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. We must + also inform the replacement unistd.h to not recursively use + ; our definitions will be present soon enough. */ +#if @HAVE_GETOPT_H@ +# define _GL_SYSTEM_GETOPT +# @INCLUDE_NEXT@ @NEXT_GETOPT_H@ +# undef _GL_SYSTEM_GETOPT +#endif + +#ifndef _GL_GETOPT_H + +#ifndef __need_getopt +# define _GL_GETOPT_H 1 +#endif + +/* Standalone applications should #define __GETOPT_PREFIX to an + identifier that prefixes the external functions and variables + defined in this header. When this happens, include the + headers that might declare getopt so that they will not cause + confusion if included after this file (if the system had , + we have already included it). Then systematically rename + identifiers so that they do not collide with the system functions + and variables. Renaming avoids problems with some compilers and + linkers. */ +#if defined __GETOPT_PREFIX && !defined __need_getopt +# if !@HAVE_GETOPT_H@ +# include +# include +# include +# endif +# undef __need_getopt +# undef getopt +# undef getopt_long +# undef getopt_long_only +# undef optarg +# undef opterr +# undef optind +# undef optopt +# undef option +# define __GETOPT_CONCAT(x, y) x ## y +# define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) +# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) +# define getopt __GETOPT_ID (getopt) +# define getopt_long __GETOPT_ID (getopt_long) +# define getopt_long_only __GETOPT_ID (getopt_long_only) +# define optarg __GETOPT_ID (optarg) +# define opterr __GETOPT_ID (opterr) +# define optind __GETOPT_ID (optind) +# define optopt __GETOPT_ID (optopt) +# define option __GETOPT_ID (option) +# define _getopt_internal __GETOPT_ID (getopt_internal) +#endif + +/* Standalone applications get correct prototypes for getopt_long and + getopt_long_only; they declare "char **argv". libc uses prototypes + with "char *const *argv" that are incorrect because getopt_long and + getopt_long_only can permute argv; this is required for backward + compatibility (e.g., for LSB 2.0.1). + + This used to be `#if defined __GETOPT_PREFIX && !defined __need_getopt', + but it caused redefinition warnings if both unistd.h and getopt.h were + included, since unistd.h includes getopt.h having previously defined + __need_getopt. + + The only place where __getopt_argv_const is used is in definitions + of getopt_long and getopt_long_only below, but these are visible + only if __need_getopt is not defined, so it is quite safe to rewrite + the conditional as follows: +*/ +#if !defined __need_getopt +# if defined __GETOPT_PREFIX +# define __getopt_argv_const /* empty */ +# else +# define __getopt_argv_const const +# endif +#endif + +/* If __GNU_LIBRARY__ is not already defined, either we are being used + standalone, or this is the first header included in the source file. + If we are being used with glibc, we need to include , but + that does not exist if we are standalone. So: if __GNU_LIBRARY__ is + not defined, include , which will pull in for us + if it's from glibc. (Why ctype.h? It's guaranteed to exist and it + doesn't flood the namespace with stuff the way some other headers do.) */ +#if !defined __GNU_LIBRARY__ +# include +#endif + +#ifndef __THROW +# ifndef __GNUC_PREREQ +# define __GNUC_PREREQ(maj, min) (0) +# endif +# if defined __cplusplus && __GNUC_PREREQ (2,8) +# define __THROW throw () +# else +# define __THROW +# endif +#endif + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* For communication from `getopt' to the caller. + When `getopt' finds an option that takes an argument, + the argument value is returned here. + Also, when `ordering' is RETURN_IN_ORDER, + each non-option ARGV-element is returned here. */ + +extern char *optarg; + +/* Index in ARGV of the next element to be scanned. + This is used for communication to and from the caller + and for communication between successive calls to `getopt'. + + On entry to `getopt', zero means this is the first call; initialize. + + When `getopt' returns -1, this is the index of the first of the + non-option elements that the caller should itself scan. + + Otherwise, `optind' communicates from one call to the next + how much of ARGV has been scanned so far. */ + +extern int optind; + +/* Callers store zero here to inhibit the error message `getopt' prints + for unrecognized options. */ + +extern int opterr; + +/* Set to an option character which was unrecognized. */ + +extern int optopt; + +#ifndef __need_getopt +/* Describe the long-named options requested by the application. + The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector + of `struct option' terminated by an element containing a name which is + zero. + + The field `has_arg' is: + no_argument (or 0) if the option does not take an argument, + required_argument (or 1) if the option requires an argument, + optional_argument (or 2) if the option takes an optional argument. + + If the field `flag' is not NULL, it points to a variable that is set + to the value given in the field `val' when the option is found, but + left unchanged if the option is not found. + + To have a long-named option do something other than set an `int' to + a compiled-in constant, such as set a value from `optarg', set the + option's `flag' field to zero and its `val' field to a nonzero + value (the equivalent single-letter option character, if there is + one). For long options that have a zero `flag' field, `getopt' + returns the contents of the `val' field. */ + +struct option +{ + const char *name; + /* has_arg can't be an enum because some compilers complain about + type mismatches in all the code that assumes it is an int. */ + int has_arg; + int *flag; + int val; +}; + +/* Names for the values of the `has_arg' field of `struct option'. */ + +# define no_argument 0 +# define required_argument 1 +# define optional_argument 2 +#endif /* need getopt */ + + +/* Get definitions and prototypes for functions to process the + arguments in ARGV (ARGC of them, minus the program name) for + options given in OPTS. + + Return the option character from OPTS just read. Return -1 when + there are no more options. For unrecognized options, or options + missing arguments, `optopt' is set to the option letter, and '?' is + returned. + + The OPTS string is a list of characters which are recognized option + letters, optionally followed by colons, specifying that that letter + takes an argument, to be placed in `optarg'. + + If a letter in OPTS is followed by two colons, its argument is + optional. This behavior is specific to the GNU `getopt'. + + The argument `--' causes premature termination of argument + scanning, explicitly telling `getopt' that there are no more + options. + + If OPTS begins with `-', then non-option arguments are treated as + arguments to the option '\1'. This behavior is specific to the GNU + `getopt'. If OPTS begins with `+', or POSIXLY_CORRECT is set in + the environment, then do not permute arguments. */ + +extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) + __THROW _GL_ARG_NONNULL ((2, 3)); + +#ifndef __need_getopt +extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind) + __THROW _GL_ARG_NONNULL ((2, 3)); +extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind) + __THROW _GL_ARG_NONNULL ((2, 3)); + +#endif + +#ifdef __cplusplus +} +#endif + +/* Make sure we later can get all the definitions and declarations. */ +#undef __need_getopt + +#endif /* getopt.h */ +#endif /* getopt.h */ diff --git a/grub-core/gnulib/getopt1.c b/grub-core/gnulib/getopt1.c new file mode 100644 index 0000000..046d69f --- /dev/null +++ b/grub-core/gnulib/getopt1.c @@ -0,0 +1,170 @@ +/* getopt_long and getopt_long_only entry points for GNU getopt. + Copyright (C) 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, + 1998, 2004, 2006, 2009, 2010 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifdef _LIBC +# include +#else +# include +# include "getopt.h" +#endif +#include "getopt_int.h" + +#include + +/* This needs to come after some library #include + to get __GNU_LIBRARY__ defined. */ +#ifdef __GNU_LIBRARY__ +#include +#endif + +#ifndef NULL +#define NULL 0 +#endif + +int +getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, + const struct option *long_options, int *opt_index) +{ + return _getopt_internal (argc, (char **) argv, options, long_options, + opt_index, 0, 0); +} + +int +_getopt_long_r (int argc, char **argv, const char *options, + const struct option *long_options, int *opt_index, + struct _getopt_data *d) +{ + return _getopt_internal_r (argc, argv, options, long_options, opt_index, + 0, d, 0); +} + +/* Like getopt_long, but '-' as well as '--' can indicate a long option. + If an option that starts with '-' (not '--') doesn't match a long option, + but does match a short option, it is parsed as a short option + instead. */ + +int +getopt_long_only (int argc, char *__getopt_argv_const *argv, + const char *options, + const struct option *long_options, int *opt_index) +{ + return _getopt_internal (argc, (char **) argv, options, long_options, + opt_index, 1, 0); +} + +int +_getopt_long_only_r (int argc, char **argv, const char *options, + const struct option *long_options, int *opt_index, + struct _getopt_data *d) +{ + return _getopt_internal_r (argc, argv, options, long_options, opt_index, + 1, d, 0); +} + + +#ifdef TEST + +#include + +int +main (int argc, char **argv) +{ + int c; + int digit_optind = 0; + + while (1) + { + int this_option_optind = optind ? optind : 1; + int option_index = 0; + static const struct option long_options[] = + { + {"add", 1, 0, 0}, + {"append", 0, 0, 0}, + {"delete", 1, 0, 0}, + {"verbose", 0, 0, 0}, + {"create", 0, 0, 0}, + {"file", 1, 0, 0}, + {0, 0, 0, 0} + }; + + c = getopt_long (argc, argv, "abc:d:0123456789", + long_options, &option_index); + if (c == -1) + break; + + switch (c) + { + case 0: + printf ("option %s", long_options[option_index].name); + if (optarg) + printf (" with arg %s", optarg); + printf ("\n"); + break; + + case '0': + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + if (digit_optind != 0 && digit_optind != this_option_optind) + printf ("digits occur in two different argv-elements.\n"); + digit_optind = this_option_optind; + printf ("option %c\n", c); + break; + + case 'a': + printf ("option a\n"); + break; + + case 'b': + printf ("option b\n"); + break; + + case 'c': + printf ("option c with value `%s'\n", optarg); + break; + + case 'd': + printf ("option d with value `%s'\n", optarg); + break; + + case '?': + break; + + default: + printf ("?? getopt returned character code 0%o ??\n", c); + } + } + + if (optind < argc) + { + printf ("non-option ARGV-elements: "); + while (optind < argc) + printf ("%s ", argv[optind++]); + printf ("\n"); + } + + exit (0); +} + +#endif /* TEST */ diff --git a/grub-core/gnulib/getopt_int.h b/grub-core/gnulib/getopt_int.h new file mode 100644 index 0000000..980b750 --- /dev/null +++ b/grub-core/gnulib/getopt_int.h @@ -0,0 +1,135 @@ +/* Internal declarations for getopt. + Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2010 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _GETOPT_INT_H +#define _GETOPT_INT_H 1 + +#include + +extern int _getopt_internal (int ___argc, char **___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind, + int __long_only, int __posixly_correct); + + +/* Reentrant versions which can handle parsing multiple argument + vectors at the same time. */ + +/* Describe how to deal with options that follow non-option ARGV-elements. + + If the caller did not specify anything, + the default is REQUIRE_ORDER if the environment variable + POSIXLY_CORRECT is defined, PERMUTE otherwise. + + REQUIRE_ORDER means don't recognize them as options; + stop option processing when the first non-option is seen. + This is what Unix does. + This mode of operation is selected by either setting the environment + variable POSIXLY_CORRECT, or using `+' as the first character + of the list of option characters, or by calling getopt. + + PERMUTE is the default. We permute the contents of ARGV as we + scan, so that eventually all the non-options are at the end. + This allows options to be given in any order, even with programs + that were not written to expect this. + + RETURN_IN_ORDER is an option available to programs that were + written to expect options and other ARGV-elements in any order + and that care about the ordering of the two. We describe each + non-option ARGV-element as if it were the argument of an option + with character code 1. Using `-' as the first character of the + list of option characters selects this mode of operation. + + The special argument `--' forces an end of option-scanning regardless + of the value of `ordering'. In the case of RETURN_IN_ORDER, only + `--' can cause `getopt' to return -1 with `optind' != ARGC. */ + +enum __ord + { + REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER + }; + +/* Data type for reentrant functions. */ +struct _getopt_data +{ + /* These have exactly the same meaning as the corresponding global + variables, except that they are used for the reentrant + versions of getopt. */ + int optind; + int opterr; + int optopt; + char *optarg; + + /* Internal members. */ + + /* True if the internal members have been initialized. */ + int __initialized; + + /* The next char to be scanned in the option-element + in which the last option character we returned was found. + This allows us to pick up the scan where we left off. + + If this is zero, or a null string, it means resume the scan + by advancing to the next ARGV-element. */ + char *__nextchar; + + /* See __ord above. */ + enum __ord __ordering; + + /* If the POSIXLY_CORRECT environment variable is set + or getopt was called. */ + int __posixly_correct; + + + /* Handle permutation of arguments. */ + + /* Describe the part of ARGV that contains non-options that have + been skipped. `first_nonopt' is the index in ARGV of the first + of them; `last_nonopt' is the index after the last of them. */ + + int __first_nonopt; + int __last_nonopt; + +#if defined _LIBC && defined USE_NONOPTION_FLAGS + int __nonoption_flags_max_len; + int __nonoption_flags_len; +# endif +}; + +/* The initializer is necessary to set OPTIND and OPTERR to their + default values and to clear the initialization flag. */ +#define _GETOPT_DATA_INITIALIZER { 1, 1 } + +extern int _getopt_internal_r (int ___argc, char **___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind, + int __long_only, struct _getopt_data *__data, + int __posixly_correct); + +extern int _getopt_long_r (int ___argc, char **___argv, + const char *__shortopts, + const struct option *__longopts, int *__longind, + struct _getopt_data *__data); + +extern int _getopt_long_only_r (int ___argc, char **___argv, + const char *__shortopts, + const struct option *__longopts, + int *__longind, + struct _getopt_data *__data); + +#endif /* getopt_int.h */ diff --git a/grub-core/gnulib/gettext.h b/grub-core/gnulib/gettext.h new file mode 100644 index 0000000..881ae33 --- /dev/null +++ b/grub-core/gnulib/gettext.h @@ -0,0 +1,280 @@ +/* Convenience header for conditional use of GNU . + Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2010 Free Software + Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _LIBGETTEXT_H +#define _LIBGETTEXT_H 1 + +/* NLS can be disabled through the configure --disable-nls option. */ +#if ENABLE_NLS + +/* Get declarations of GNU message catalog functions. */ +# include + +/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by + the gettext() and ngettext() macros. This is an alternative to calling + textdomain(), and is useful for libraries. */ +# ifdef DEFAULT_TEXT_DOMAIN +# undef gettext +# define gettext(Msgid) \ + dgettext (DEFAULT_TEXT_DOMAIN, Msgid) +# undef ngettext +# define ngettext(Msgid1, Msgid2, N) \ + dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N) +# endif + +#else + +/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which + chokes if dcgettext is defined as a macro. So include it now, to make + later inclusions of a NOP. We don't include + as well because people using "gettext.h" will not include , + and also including would fail on SunOS 4, whereas + is OK. */ +#if defined(__sun) +# include +#endif + +/* Many header files from the libstdc++ coming with g++ 3.3 or newer include + , which chokes if dcgettext is defined as a macro. So include + it now, to make later inclusions of a NOP. */ +#if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3) +# include +# if (__GLIBC__ >= 2) || _GLIBCXX_HAVE_LIBINTL_H +# include +# endif +#endif + +/* Disabled NLS. + The casts to 'const char *' serve the purpose of producing warnings + for invalid uses of the value returned from these functions. + On pre-ANSI systems without 'const', the config.h file is supposed to + contain "#define const". */ +# undef gettext +# define gettext(Msgid) ((const char *) (Msgid)) +# undef dgettext +# define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) +# undef dcgettext +# define dcgettext(Domainname, Msgid, Category) \ + ((void) (Category), dgettext (Domainname, Msgid)) +# undef ngettext +# define ngettext(Msgid1, Msgid2, N) \ + ((N) == 1 \ + ? ((void) (Msgid2), (const char *) (Msgid1)) \ + : ((void) (Msgid1), (const char *) (Msgid2))) +# undef dngettext +# define dngettext(Domainname, Msgid1, Msgid2, N) \ + ((void) (Domainname), ngettext (Msgid1, Msgid2, N)) +# undef dcngettext +# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ + ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) +# undef textdomain +# define textdomain(Domainname) ((const char *) (Domainname)) +# undef bindtextdomain +# define bindtextdomain(Domainname, Dirname) \ + ((void) (Domainname), (const char *) (Dirname)) +# undef bind_textdomain_codeset +# define bind_textdomain_codeset(Domainname, Codeset) \ + ((void) (Domainname), (const char *) (Codeset)) + +#endif + +/* A pseudo function call that serves as a marker for the automated + extraction of messages, but does not call gettext(). The run-time + translation is done at a different place in the code. + The argument, String, should be a literal string. Concatenated strings + and other string expressions won't work. + The macro's expansion is not parenthesized, so that it is suitable as + initializer for static 'char[]' or 'const char[]' variables. */ +#define gettext_noop(String) String + +/* The separator between msgctxt and msgid in a .mo file. */ +#define GETTEXT_CONTEXT_GLUE "\004" + +/* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a + MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be + short and rarely need to change. + The letter 'p' stands for 'particular' or 'special'. */ +#ifdef DEFAULT_TEXT_DOMAIN +# define pgettext(Msgctxt, Msgid) \ + pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) +#else +# define pgettext(Msgctxt, Msgid) \ + pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) +#endif +#define dpgettext(Domainname, Msgctxt, Msgid) \ + pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) +#define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ + pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) +#ifdef DEFAULT_TEXT_DOMAIN +# define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ + npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) +#else +# define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ + npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) +#endif +#define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ + npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) +#define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ + npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) + +#ifdef __GNUC__ +__inline +#else +#ifdef __cplusplus +inline +#endif +#endif +static const char * +pgettext_aux (const char *domain, + const char *msg_ctxt_id, const char *msgid, + int category) +{ + const char *translation = dcgettext (domain, msg_ctxt_id, category); + if (translation == msg_ctxt_id) + return msgid; + else + return translation; +} + +#ifdef __GNUC__ +__inline +#else +#ifdef __cplusplus +inline +#endif +#endif +static const char * +npgettext_aux (const char *domain, + const char *msg_ctxt_id, const char *msgid, + const char *msgid_plural, unsigned long int n, + int category) +{ + const char *translation = + dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); + if (translation == msg_ctxt_id || translation == msgid_plural) + return (n == 1 ? msgid : msgid_plural); + else + return translation; +} + +/* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID + can be arbitrary expressions. But for string literals these macros are + less efficient than those above. */ + +#include + +#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \ + (((__GNUC__ >= 3 || __GNUG__ >= 2) && !__STRICT_ANSI__) \ + /* || __STDC_VERSION__ >= 199901L */ ) + +#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS +#include +#endif + +#define pgettext_expr(Msgctxt, Msgid) \ + dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES) +#define dpgettext_expr(Domainname, Msgctxt, Msgid) \ + dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) + +#ifdef __GNUC__ +__inline +#else +#ifdef __cplusplus +inline +#endif +#endif +static const char * +dcpgettext_expr (const char *domain, + const char *msgctxt, const char *msgid, + int category) +{ + size_t msgctxt_len = strlen (msgctxt) + 1; + size_t msgid_len = strlen (msgid) + 1; + const char *translation; +#if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS + char msg_ctxt_id[msgctxt_len + msgid_len]; +#else + char buf[1024]; + char *msg_ctxt_id = + (msgctxt_len + msgid_len <= sizeof (buf) + ? buf + : (char *) malloc (msgctxt_len + msgid_len)); + if (msg_ctxt_id != NULL) +#endif + { + memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); + msg_ctxt_id[msgctxt_len - 1] = '\004'; + memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); + translation = dcgettext (domain, msg_ctxt_id, category); +#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS + if (msg_ctxt_id != buf) + free (msg_ctxt_id); +#endif + if (translation != msg_ctxt_id) + return translation; + } + return msgid; +} + +#define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \ + dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) +#define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ + dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) + +#ifdef __GNUC__ +__inline +#else +#ifdef __cplusplus +inline +#endif +#endif +static const char * +dcnpgettext_expr (const char *domain, + const char *msgctxt, const char *msgid, + const char *msgid_plural, unsigned long int n, + int category) +{ + size_t msgctxt_len = strlen (msgctxt) + 1; + size_t msgid_len = strlen (msgid) + 1; + const char *translation; +#if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS + char msg_ctxt_id[msgctxt_len + msgid_len]; +#else + char buf[1024]; + char *msg_ctxt_id = + (msgctxt_len + msgid_len <= sizeof (buf) + ? buf + : (char *) malloc (msgctxt_len + msgid_len)); + if (msg_ctxt_id != NULL) +#endif + { + memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); + msg_ctxt_id[msgctxt_len - 1] = '\004'; + memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); + translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); +#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS + if (msg_ctxt_id != buf) + free (msg_ctxt_id); +#endif + if (!(translation == msg_ctxt_id || translation == msgid_plural)) + return translation; + } + return (n == 1 ? msgid : msgid_plural); +} + +#endif /* _LIBGETTEXT_H */ diff --git a/grub-core/gnulib/intprops.h b/grub-core/gnulib/intprops.h new file mode 100644 index 0000000..46f4d47 --- /dev/null +++ b/grub-core/gnulib/intprops.h @@ -0,0 +1,83 @@ +/* intprops.h -- properties of integer types + + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010 Free Software + Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Paul Eggert. */ + +#ifndef GL_INTPROPS_H +# define GL_INTPROPS_H + +# include + +/* The extra casts in the following macros work around compiler bugs, + e.g., in Cray C 5.0.3.0. */ + +/* True if the arithmetic type T is an integer type. bool counts as + an integer. */ +# define TYPE_IS_INTEGER(t) ((t) 1.5 == 1) + +/* True if negative values of the signed integer type T use two's + complement, ones' complement, or signed magnitude representation, + respectively. Much GNU code assumes two's complement, but some + people like to be portable to all possible C hosts. */ +# define TYPE_TWOS_COMPLEMENT(t) ((t) ~ (t) 0 == (t) -1) +# define TYPE_ONES_COMPLEMENT(t) ((t) ~ (t) 0 == 0) +# define TYPE_SIGNED_MAGNITUDE(t) ((t) ~ (t) 0 < (t) -1) + +/* True if the arithmetic type T is signed. */ +# define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) + +/* The maximum and minimum values for the integer type T. These + macros have undefined behavior if T is signed and has padding bits. + If this is a problem for you, please let us know how to fix it for + your host. */ +# define TYPE_MINIMUM(t) \ + ((t) (! TYPE_SIGNED (t) \ + ? (t) 0 \ + : TYPE_SIGNED_MAGNITUDE (t) \ + ? ~ (t) 0 \ + : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) +# define TYPE_MAXIMUM(t) \ + ((t) (! TYPE_SIGNED (t) \ + ? (t) -1 \ + : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) + +/* Return zero if T can be determined to be an unsigned type. + Otherwise, return 1. + When compiling with GCC, INT_STRLEN_BOUND uses this macro to obtain a + tighter bound. Otherwise, it overestimates the true bound by one byte + when applied to unsigned types of size 2, 4, 16, ... bytes. + The symbol signed_type_or_expr__ is private to this header file. */ +# if __GNUC__ >= 2 +# define signed_type_or_expr__(t) TYPE_SIGNED (__typeof__ (t)) +# else +# define signed_type_or_expr__(t) 1 +# endif + +/* Bound on length of the string representing an integer type or expression T. + Subtract 1 for the sign bit if T is signed; log10 (2.0) < 146/485; + add 1 for integer division truncation; add 1 more for a minus sign + if needed. */ +# define INT_STRLEN_BOUND(t) \ + ((sizeof (t) * CHAR_BIT - signed_type_or_expr__ (t)) * 146 / 485 \ + + signed_type_or_expr__ (t) + 1) + +/* Bound on buffer size needed to represent an integer type or expression T, + including the terminating null. */ +# define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1) + +#endif /* GL_INTPROPS_H */ diff --git a/grub-core/gnulib/langinfo.in.h b/grub-core/gnulib/langinfo.in.h new file mode 100644 index 0000000..3a92647 --- /dev/null +++ b/grub-core/gnulib/langinfo.in.h @@ -0,0 +1,173 @@ +/* Substitute for and wrapper around . + Copyright (C) 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* + * POSIX for platforms that lack it or have an incomplete one. + * + */ + +#ifndef _GL_LANGINFO_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. */ +#if @HAVE_LANGINFO_H@ +# @INCLUDE_NEXT@ @NEXT_LANGINFO_H@ +#endif + +#ifndef _GL_LANGINFO_H +#define _GL_LANGINFO_H + + +#if !@HAVE_LANGINFO_H@ + +/* A platform that lacks . */ + +/* Assume that it also lacks and the nl_item type. */ +typedef int nl_item; + +/* nl_langinfo items of the LC_CTYPE category */ +# define CODESET 10000 +/* nl_langinfo items of the LC_NUMERIC category */ +# define RADIXCHAR 10001 +# define THOUSEP 10002 +/* nl_langinfo items of the LC_TIME category */ +# define D_T_FMT 10003 +# define D_FMT 10004 +# define T_FMT 10005 +# define T_FMT_AMPM 10006 +# define AM_STR 10007 +# define PM_STR 10008 +# define DAY_1 10009 +# define DAY_2 (DAY_1 + 1) +# define DAY_3 (DAY_1 + 2) +# define DAY_4 (DAY_1 + 3) +# define DAY_5 (DAY_1 + 4) +# define DAY_6 (DAY_1 + 5) +# define DAY_7 (DAY_1 + 6) +# define ABDAY_1 10016 +# define ABDAY_2 (ABDAY_1 + 1) +# define ABDAY_3 (ABDAY_1 + 2) +# define ABDAY_4 (ABDAY_1 + 3) +# define ABDAY_5 (ABDAY_1 + 4) +# define ABDAY_6 (ABDAY_1 + 5) +# define ABDAY_7 (ABDAY_1 + 6) +# define MON_1 10023 +# define MON_2 (MON_1 + 1) +# define MON_3 (MON_1 + 2) +# define MON_4 (MON_1 + 3) +# define MON_5 (MON_1 + 4) +# define MON_6 (MON_1 + 5) +# define MON_7 (MON_1 + 6) +# define MON_8 (MON_1 + 7) +# define MON_9 (MON_1 + 8) +# define MON_10 (MON_1 + 9) +# define MON_11 (MON_1 + 10) +# define MON_12 (MON_1 + 11) +# define ABMON_1 10035 +# define ABMON_2 (ABMON_1 + 1) +# define ABMON_3 (ABMON_1 + 2) +# define ABMON_4 (ABMON_1 + 3) +# define ABMON_5 (ABMON_1 + 4) +# define ABMON_6 (ABMON_1 + 5) +# define ABMON_7 (ABMON_1 + 6) +# define ABMON_8 (ABMON_1 + 7) +# define ABMON_9 (ABMON_1 + 8) +# define ABMON_10 (ABMON_1 + 9) +# define ABMON_11 (ABMON_1 + 10) +# define ABMON_12 (ABMON_1 + 11) +# define ERA 10047 +# define ERA_D_FMT 10048 +# define ERA_D_T_FMT 10049 +# define ERA_T_FMT 10050 +# define ALT_DIGITS 10051 +/* nl_langinfo items of the LC_MONETARY category */ +# define CRNCYSTR 10052 +/* nl_langinfo items of the LC_MESSAGES category */ +# define YESEXPR 10053 +# define NOEXPR 10054 + +#else + +/* A platform that has . */ + +# if !@HAVE_LANGINFO_CODESET@ +# define CODESET 10000 +# define GNULIB_defined_CODESET 1 +# endif + +# if !@HAVE_LANGINFO_T_FMT_AMPM@ +# define T_FMT_AMPM 10006 +# define GNULIB_defined_T_FMT_AMPM 1 +# endif + +# if !@HAVE_LANGINFO_ERA@ +# define ERA 10047 +# define ERA_D_FMT 10048 +# define ERA_D_T_FMT 10049 +# define ERA_T_FMT 10050 +# define ALT_DIGITS 10051 +# define GNULIB_defined_ERA 1 +# endif + +# if !@HAVE_LANGINFO_YESEXPR@ +# define YESEXPR 10053 +# define NOEXPR 10054 +# define GNULIB_defined_YESEXPR 1 +# endif + +#endif + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + +/* Declare overridden functions. */ + + +/* Return a piece of locale dependent information. + Note: The difference between nl_langinfo (CODESET) and locale_charset () + is that the latter normalizes the encoding names to GNU conventions. */ + +#if @GNULIB_NL_LANGINFO@ +# if @REPLACE_NL_LANGINFO@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef nl_langinfo +# define nl_langinfo rpl_nl_langinfo +# endif +_GL_FUNCDECL_RPL (nl_langinfo, char *, (nl_item item)); +_GL_CXXALIAS_RPL (nl_langinfo, char *, (nl_item item)); +# else +# if !@HAVE_NL_LANGINFO@ +_GL_FUNCDECL_SYS (nl_langinfo, char *, (nl_item item)); +# endif +_GL_CXXALIAS_SYS (nl_langinfo, char *, (nl_item item)); +# endif +_GL_CXXALIASWARN (nl_langinfo); +#elif defined GNULIB_POSIXCHECK +# undef nl_langinfo +# if HAVE_RAW_DECL_NL_LANGINFO +_GL_WARN_ON_USE (nl_langinfo, "nl_langinfo is not portable - " + "use gnulib module nl_langinfo for portability"); +# endif +#endif + + +#endif /* _GL_LANGINFO_H */ +#endif /* _GL_LANGINFO_H */ diff --git a/grub-core/gnulib/localcharset.c b/grub-core/gnulib/localcharset.c new file mode 100644 index 0000000..fa2207f --- /dev/null +++ b/grub-core/gnulib/localcharset.c @@ -0,0 +1,548 @@ +/* Determine a canonical name for the current locale's character encoding. + + Copyright (C) 2000-2006, 2008-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Written by Bruno Haible . */ + +#include + +/* Specification. */ +#include "localcharset.h" + +#include +#include +#include +#include +#include + +#if defined __APPLE__ && defined __MACH__ && HAVE_LANGINFO_CODESET +# define DARWIN7 /* Darwin 7 or newer, i.e. MacOS X 10.3 or newer */ +#endif + +#if defined _WIN32 || defined __WIN32__ +# define WIN32_NATIVE +#endif + +#if defined __EMX__ +/* Assume EMX program runs on OS/2, even if compiled under DOS. */ +# ifndef OS2 +# define OS2 +# endif +#endif + +#if !defined WIN32_NATIVE +# include +# if HAVE_LANGINFO_CODESET +# include +# else +# if 0 /* see comment below */ +# include +# endif +# endif +# ifdef __CYGWIN__ +# define WIN32_LEAN_AND_MEAN +# include +# endif +#elif defined WIN32_NATIVE +# define WIN32_LEAN_AND_MEAN +# include +#endif +#if defined OS2 +# define INCL_DOS +# include +#endif + +#if ENABLE_RELOCATABLE +# include "relocatable.h" +#else +# define relocate(pathname) (pathname) +#endif + +/* Get LIBDIR. */ +#ifndef LIBDIR +# include "configmake.h" +#endif + +/* Define O_NOFOLLOW to 0 on platforms where it does not exist. */ +#ifndef O_NOFOLLOW +# define O_NOFOLLOW 0 +#endif + +#if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ + /* Win32, Cygwin, OS/2, DOS */ +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#endif + +#ifndef DIRECTORY_SEPARATOR +# define DIRECTORY_SEPARATOR '/' +#endif + +#ifndef ISSLASH +# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) +#endif + +#if HAVE_DECL_GETC_UNLOCKED +# undef getc +# define getc getc_unlocked +#endif + +/* The following static variable is declared 'volatile' to avoid a + possible multithread problem in the function get_charset_aliases. If we + are running in a threaded environment, and if two threads initialize + 'charset_aliases' simultaneously, both will produce the same value, + and everything will be ok if the two assignments to 'charset_aliases' + are atomic. But I don't know what will happen if the two assignments mix. */ +#if __STDC__ != 1 +# define volatile /* empty */ +#endif +/* Pointer to the contents of the charset.alias file, if it has already been + read, else NULL. Its format is: + ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */ +static const char * volatile charset_aliases; + +/* Return a pointer to the contents of the charset.alias file. */ +static const char * +get_charset_aliases (void) +{ + const char *cp; + + cp = charset_aliases; + if (cp == NULL) + { +#if !(defined DARWIN7 || defined VMS || defined WIN32_NATIVE || defined __CYGWIN__) + const char *dir; + const char *base = "charset.alias"; + char *file_name; + + /* Make it possible to override the charset.alias location. This is + necessary for running the testsuite before "make install". */ + dir = getenv ("CHARSETALIASDIR"); + if (dir == NULL || dir[0] == '\0') + dir = relocate (LIBDIR); + + /* Concatenate dir and base into freshly allocated file_name. */ + { + size_t dir_len = strlen (dir); + size_t base_len = strlen (base); + int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); + file_name = (char *) malloc (dir_len + add_slash + base_len + 1); + if (file_name != NULL) + { + memcpy (file_name, dir, dir_len); + if (add_slash) + file_name[dir_len] = DIRECTORY_SEPARATOR; + memcpy (file_name + dir_len + add_slash, base, base_len + 1); + } + } + + if (file_name == NULL) + /* Out of memory. Treat the file as empty. */ + cp = ""; + else + { + int fd; + + /* Open the file. Reject symbolic links on platforms that support + O_NOFOLLOW. This is a security feature. Without it, an attacker + could retrieve parts of the contents (namely, the tail of the + first line that starts with "* ") of an arbitrary file by placing + a symbolic link to that file under the name "charset.alias" in + some writable directory and defining the environment variable + CHARSETALIASDIR to point to that directory. */ + fd = open (file_name, + O_RDONLY | (HAVE_WORKING_O_NOFOLLOW ? O_NOFOLLOW : 0)); + if (fd < 0) + /* File not found. Treat it as empty. */ + cp = ""; + else + { + FILE *fp; + + fp = fdopen (fd, "r"); + if (fp == NULL) + { + /* Out of memory. Treat the file as empty. */ + close (fd); + cp = ""; + } + else + { + /* Parse the file's contents. */ + char *res_ptr = NULL; + size_t res_size = 0; + + for (;;) + { + int c; + char buf1[50+1]; + char buf2[50+1]; + size_t l1, l2; + char *old_res_ptr; + + c = getc (fp); + if (c == EOF) + break; + if (c == '\n' || c == ' ' || c == '\t') + continue; + if (c == '#') + { + /* Skip comment, to end of line. */ + do + c = getc (fp); + while (!(c == EOF || c == '\n')); + if (c == EOF) + break; + continue; + } + ungetc (c, fp); + if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) + break; + l1 = strlen (buf1); + l2 = strlen (buf2); + old_res_ptr = res_ptr; + if (res_size == 0) + { + res_size = l1 + 1 + l2 + 1; + res_ptr = (char *) malloc (res_size + 1); + } + else + { + res_size += l1 + 1 + l2 + 1; + res_ptr = (char *) realloc (res_ptr, res_size + 1); + } + if (res_ptr == NULL) + { + /* Out of memory. */ + res_size = 0; + if (old_res_ptr != NULL) + free (old_res_ptr); + break; + } + strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); + strcpy (res_ptr + res_size - (l2 + 1), buf2); + } + fclose (fp); + if (res_size == 0) + cp = ""; + else + { + *(res_ptr + res_size) = '\0'; + cp = res_ptr; + } + } + } + + free (file_name); + } + +#else + +# if defined DARWIN7 + /* To avoid the trouble of installing a file that is shared by many + GNU packages -- many packaging systems have problems with this --, + simply inline the aliases here. */ + cp = "ISO8859-1" "\0" "ISO-8859-1" "\0" + "ISO8859-2" "\0" "ISO-8859-2" "\0" + "ISO8859-4" "\0" "ISO-8859-4" "\0" + "ISO8859-5" "\0" "ISO-8859-5" "\0" + "ISO8859-7" "\0" "ISO-8859-7" "\0" + "ISO8859-9" "\0" "ISO-8859-9" "\0" + "ISO8859-13" "\0" "ISO-8859-13" "\0" + "ISO8859-15" "\0" "ISO-8859-15" "\0" + "KOI8-R" "\0" "KOI8-R" "\0" + "KOI8-U" "\0" "KOI8-U" "\0" + "CP866" "\0" "CP866" "\0" + "CP949" "\0" "CP949" "\0" + "CP1131" "\0" "CP1131" "\0" + "CP1251" "\0" "CP1251" "\0" + "eucCN" "\0" "GB2312" "\0" + "GB2312" "\0" "GB2312" "\0" + "eucJP" "\0" "EUC-JP" "\0" + "eucKR" "\0" "EUC-KR" "\0" + "Big5" "\0" "BIG5" "\0" + "Big5HKSCS" "\0" "BIG5-HKSCS" "\0" + "GBK" "\0" "GBK" "\0" + "GB18030" "\0" "GB18030" "\0" + "SJIS" "\0" "SHIFT_JIS" "\0" + "ARMSCII-8" "\0" "ARMSCII-8" "\0" + "PT154" "\0" "PT154" "\0" + /*"ISCII-DEV" "\0" "?" "\0"*/ + "*" "\0" "UTF-8" "\0"; +# endif + +# if defined VMS + /* To avoid the troubles of an extra file charset.alias_vms in the + sources of many GNU packages, simply inline the aliases here. */ + /* The list of encodings is taken from the OpenVMS 7.3-1 documentation + "Compaq C Run-Time Library Reference Manual for OpenVMS systems" + section 10.7 "Handling Different Character Sets". */ + cp = "ISO8859-1" "\0" "ISO-8859-1" "\0" + "ISO8859-2" "\0" "ISO-8859-2" "\0" + "ISO8859-5" "\0" "ISO-8859-5" "\0" + "ISO8859-7" "\0" "ISO-8859-7" "\0" + "ISO8859-8" "\0" "ISO-8859-8" "\0" + "ISO8859-9" "\0" "ISO-8859-9" "\0" + /* Japanese */ + "eucJP" "\0" "EUC-JP" "\0" + "SJIS" "\0" "SHIFT_JIS" "\0" + "DECKANJI" "\0" "DEC-KANJI" "\0" + "SDECKANJI" "\0" "EUC-JP" "\0" + /* Chinese */ + "eucTW" "\0" "EUC-TW" "\0" + "DECHANYU" "\0" "DEC-HANYU" "\0" + "DECHANZI" "\0" "GB2312" "\0" + /* Korean */ + "DECKOREAN" "\0" "EUC-KR" "\0"; +# endif + +# if defined WIN32_NATIVE || defined __CYGWIN__ + /* To avoid the troubles of installing a separate file in the same + directory as the DLL and of retrieving the DLL's directory at + runtime, simply inline the aliases here. */ + + cp = "CP936" "\0" "GBK" "\0" + "CP1361" "\0" "JOHAB" "\0" + "CP20127" "\0" "ASCII" "\0" + "CP20866" "\0" "KOI8-R" "\0" + "CP20936" "\0" "GB2312" "\0" + "CP21866" "\0" "KOI8-RU" "\0" + "CP28591" "\0" "ISO-8859-1" "\0" + "CP28592" "\0" "ISO-8859-2" "\0" + "CP28593" "\0" "ISO-8859-3" "\0" + "CP28594" "\0" "ISO-8859-4" "\0" + "CP28595" "\0" "ISO-8859-5" "\0" + "CP28596" "\0" "ISO-8859-6" "\0" + "CP28597" "\0" "ISO-8859-7" "\0" + "CP28598" "\0" "ISO-8859-8" "\0" + "CP28599" "\0" "ISO-8859-9" "\0" + "CP28605" "\0" "ISO-8859-15" "\0" + "CP38598" "\0" "ISO-8859-8" "\0" + "CP51932" "\0" "EUC-JP" "\0" + "CP51936" "\0" "GB2312" "\0" + "CP51949" "\0" "EUC-KR" "\0" + "CP51950" "\0" "EUC-TW" "\0" + "CP54936" "\0" "GB18030" "\0" + "CP65001" "\0" "UTF-8" "\0"; +# endif +#endif + + charset_aliases = cp; + } + + return cp; +} + +/* Determine the current locale's character encoding, and canonicalize it + into one of the canonical names listed in config.charset. + The result must not be freed; it is statically allocated. + If the canonical name cannot be determined, the result is a non-canonical + name. */ + +#ifdef STATIC +STATIC +#endif +const char * +locale_charset (void) +{ + const char *codeset; + const char *aliases; + +#if !(defined WIN32_NATIVE || defined OS2) + +# if HAVE_LANGINFO_CODESET + + /* Most systems support nl_langinfo (CODESET) nowadays. */ + codeset = nl_langinfo (CODESET); + +# ifdef __CYGWIN__ + /* Cygwin < 1.7 does not have locales. nl_langinfo (CODESET) always + returns "US-ASCII". Return the suffix of the locale name from the + environment variables (if present) or the codepage as a number. */ + if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) + { + const char *locale; + static char buf[2 + 10 + 1]; + + locale = getenv ("LC_ALL"); + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_CTYPE"); + if (locale == NULL || locale[0] == '\0') + locale = getenv ("LANG"); + } + if (locale != NULL && locale[0] != '\0') + { + /* If the locale name contains an encoding after the dot, return + it. */ + const char *dot = strchr (locale, '.'); + + if (dot != NULL) + { + const char *modifier; + + dot++; + /* Look for the possible @... trailer and remove it, if any. */ + modifier = strchr (dot, '@'); + if (modifier == NULL) + return dot; + if (modifier - dot < sizeof (buf)) + { + memcpy (buf, dot, modifier - dot); + buf [modifier - dot] = '\0'; + return buf; + } + } + } + + /* Woe32 has a function returning the locale's codepage as a number: + GetACP(). This encoding is used by Cygwin, unless the user has set + the environment variable CYGWIN=codepage:oem (which very few people + do). + Output directed to console windows needs to be converted (to + GetOEMCP() if the console is using a raster font, or to + GetConsoleOutputCP() if it is using a TrueType font). Cygwin does + this conversion transparently (see winsup/cygwin/fhandler_console.cc), + converting to GetConsoleOutputCP(). This leads to correct results, + except when SetConsoleOutputCP has been called and a raster font is + in use. */ + sprintf (buf, "CP%u", GetACP ()); + codeset = buf; + } +# endif + +# else + + /* On old systems which lack it, use setlocale or getenv. */ + const char *locale = NULL; + + /* But most old systems don't have a complete set of locales. Some + (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't + use setlocale here; it would return "C" when it doesn't support the + locale name the user has set. */ +# if 0 + locale = setlocale (LC_CTYPE, NULL); +# endif + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_ALL"); + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_CTYPE"); + if (locale == NULL || locale[0] == '\0') + locale = getenv ("LANG"); + } + } + + /* On some old systems, one used to set locale = "iso8859_1". On others, + you set it to "language_COUNTRY.charset". In any case, we resolve it + through the charset.alias file. */ + codeset = locale; + +# endif + +#elif defined WIN32_NATIVE + + static char buf[2 + 10 + 1]; + + /* Woe32 has a function returning the locale's codepage as a number: + GetACP(). + When the output goes to a console window, it needs to be provided in + GetOEMCP() encoding if the console is using a raster font, or in + GetConsoleOutputCP() encoding if it is using a TrueType font. + But in GUI programs and for output sent to files and pipes, GetACP() + encoding is the best bet. */ + sprintf (buf, "CP%u", GetACP ()); + codeset = buf; + +#elif defined OS2 + + const char *locale; + static char buf[2 + 10 + 1]; + ULONG cp[3]; + ULONG cplen; + + /* Allow user to override the codeset, as set in the operating system, + with standard language environment variables. */ + locale = getenv ("LC_ALL"); + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_CTYPE"); + if (locale == NULL || locale[0] == '\0') + locale = getenv ("LANG"); + } + if (locale != NULL && locale[0] != '\0') + { + /* If the locale name contains an encoding after the dot, return it. */ + const char *dot = strchr (locale, '.'); + + if (dot != NULL) + { + const char *modifier; + + dot++; + /* Look for the possible @... trailer and remove it, if any. */ + modifier = strchr (dot, '@'); + if (modifier == NULL) + return dot; + if (modifier - dot < sizeof (buf)) + { + memcpy (buf, dot, modifier - dot); + buf [modifier - dot] = '\0'; + return buf; + } + } + + /* Resolve through the charset.alias file. */ + codeset = locale; + } + else + { + /* OS/2 has a function returning the locale's codepage as a number. */ + if (DosQueryCp (sizeof (cp), cp, &cplen)) + codeset = ""; + else + { + sprintf (buf, "CP%u", cp[0]); + codeset = buf; + } + } + +#endif + + if (codeset == NULL) + /* The canonical name cannot be determined. */ + codeset = ""; + + /* Resolve alias. */ + for (aliases = get_charset_aliases (); + *aliases != '\0'; + aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) + if (strcmp (codeset, aliases) == 0 + || (aliases[0] == '*' && aliases[1] == '\0')) + { + codeset = aliases + strlen (aliases) + 1; + break; + } + + /* Don't return an empty string. GNU libc and GNU libiconv interpret + the empty string as denoting "the locale's character encoding", + thus GNU libiconv would call this function a second time. */ + if (codeset[0] == '\0') + codeset = "ASCII"; + + return codeset; +} diff --git a/grub-core/gnulib/localcharset.h b/grub-core/gnulib/localcharset.h new file mode 100644 index 0000000..899b3ba --- /dev/null +++ b/grub-core/gnulib/localcharset.h @@ -0,0 +1,41 @@ +/* Determine a canonical name for the current locale's character encoding. + Copyright (C) 2000-2003, 2009-2010 Free Software Foundation, Inc. + This file is part of the GNU CHARSET Library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _LOCALCHARSET_H +#define _LOCALCHARSET_H + + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Determine the current locale's character encoding, and canonicalize it + into one of the canonical names listed in config.charset. + The result must not be freed; it is statically allocated. + If the canonical name cannot be determined, the result is a non-canonical + name. */ +extern const char * locale_charset (void); + + +#ifdef __cplusplus +} +#endif + + +#endif /* _LOCALCHARSET_H */ diff --git a/grub-core/gnulib/malloc.c b/grub-core/gnulib/malloc.c new file mode 100644 index 0000000..4fa38ee --- /dev/null +++ b/grub-core/gnulib/malloc.c @@ -0,0 +1,60 @@ +/* malloc() function that is glibc compatible. + + Copyright (C) 1997-1998, 2006-2007, 2009-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* written by Jim Meyering and Bruno Haible */ + +#include +/* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ +#ifdef malloc +# define NEED_MALLOC_GNU 1 +# undef malloc +/* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ +#elif GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU +# define NEED_MALLOC_GNU 1 +#endif + +/* Specification. */ +#include + +#include + +/* Call the system's malloc below. */ +#undef malloc + +/* Allocate an N-byte block of memory from the heap. + If N is zero, allocate a 1-byte block. */ + +void * +rpl_malloc (size_t n) +{ + void *result; + +#if NEED_MALLOC_GNU + if (n == 0) + n = 1; +#endif + + result = malloc (n); + +#if !HAVE_MALLOC_POSIX + if (result == NULL) + errno = ENOMEM; +#endif + + return result; +} diff --git a/grub-core/gnulib/mbrtowc.c b/grub-core/gnulib/mbrtowc.c new file mode 100644 index 0000000..5c2650e --- /dev/null +++ b/grub-core/gnulib/mbrtowc.c @@ -0,0 +1,386 @@ +/* Convert multibyte character to wide character. + Copyright (C) 1999-2002, 2005-2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#if GNULIB_defined_mbstate_t +/* Implement mbrtowc() on top of mbtowc(). */ + +# include +# include + +# include "localcharset.h" +# include "streq.h" +# include "verify.h" + + +verify (sizeof (mbstate_t) >= 4); + +static char internal_state[4]; + +size_t +mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) +{ + char *pstate = (char *)ps; + + if (pstate == NULL) + pstate = internal_state; + + if (s == NULL) + { + pwc = NULL; + s = ""; + n = 1; + } + + if (n == 0) + return (size_t)(-2); + + /* Here n > 0. */ + { + size_t nstate = pstate[0]; + char buf[4]; + const char *p; + size_t m; + + switch (nstate) + { + case 0: + p = s; + m = n; + break; + case 3: + buf[2] = pstate[3]; + /*FALLTHROUGH*/ + case 2: + buf[1] = pstate[2]; + /*FALLTHROUGH*/ + case 1: + buf[0] = pstate[1]; + p = buf; + m = nstate; + buf[m++] = s[0]; + if (n >= 2 && m < 4) + { + buf[m++] = s[1]; + if (n >= 3 && m < 4) + buf[m++] = s[2]; + } + break; + default: + errno = EINVAL; + return (size_t)(-1); + } + + /* Here m > 0. */ + +# if __GLIBC__ + /* Work around bug */ + mbtowc (NULL, NULL, 0); +# endif + { + int res = mbtowc (pwc, p, m); + + if (res >= 0) + { + if (pwc != NULL && ((*pwc == 0) != (res == 0))) + abort (); + if (nstate >= (res > 0 ? res : 1)) + abort (); + res -= nstate; + pstate[0] = 0; + return res; + } + + /* mbtowc does not distinguish between invalid and incomplete multibyte + sequences. But mbrtowc needs to make this distinction. + There are two possible approaches: + - Use iconv() and its return value. + - Use built-in knowledge about the possible encodings. + Given the low quality of implementation of iconv() on the systems that + lack mbrtowc(), we use the second approach. + The possible encodings are: + - 8-bit encodings, + - EUC-JP, EUC-KR, GB2312, EUC-TW, BIG5, GB18030, SJIS, + - UTF-8. + Use specialized code for each. */ + if (m >= 4 || m >= MB_CUR_MAX) + goto invalid; + /* Here MB_CUR_MAX > 1 and 0 < m < 4. */ + { + const char *encoding = locale_charset (); + + if (STREQ (encoding, "UTF-8", 'U', 'T', 'F', '-', '8', 0, 0, 0, 0)) + { + /* Cf. unistr/u8-mblen.c. */ + unsigned char c = (unsigned char) p[0]; + + if (c >= 0xc2) + { + if (c < 0xe0) + { + if (m == 1) + goto incomplete; + } + else if (c < 0xf0) + { + if (m == 1) + goto incomplete; + if (m == 2) + { + unsigned char c2 = (unsigned char) p[1]; + + if ((c2 ^ 0x80) < 0x40 + && (c >= 0xe1 || c2 >= 0xa0) + && (c != 0xed || c2 < 0xa0)) + goto incomplete; + } + } + else if (c <= 0xf4) + { + if (m == 1) + goto incomplete; + else /* m == 2 || m == 3 */ + { + unsigned char c2 = (unsigned char) p[1]; + + if ((c2 ^ 0x80) < 0x40 + && (c >= 0xf1 || c2 >= 0x90) + && (c < 0xf4 || (c == 0xf4 && c2 < 0x90))) + { + if (m == 2) + goto incomplete; + else /* m == 3 */ + { + unsigned char c3 = (unsigned char) p[2]; + + if ((c3 ^ 0x80) < 0x40) + goto incomplete; + } + } + } + } + } + goto invalid; + } + + /* As a reference for this code, you can use the GNU libiconv + implementation. Look for uses of the RET_TOOFEW macro. */ + + if (STREQ (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0)) + { + if (m == 1) + { + unsigned char c = (unsigned char) p[0]; + + if ((c >= 0xa1 && c < 0xff) || c == 0x8e || c == 0x8f) + goto incomplete; + } + if (m == 2) + { + unsigned char c = (unsigned char) p[0]; + + if (c == 0x8f) + { + unsigned char c2 = (unsigned char) p[1]; + + if (c2 >= 0xa1 && c2 < 0xff) + goto incomplete; + } + } + goto invalid; + } + if (STREQ (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) + || STREQ (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0) + || STREQ (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0)) + { + if (m == 1) + { + unsigned char c = (unsigned char) p[0]; + + if (c >= 0xa1 && c < 0xff) + goto incomplete; + } + goto invalid; + } + if (STREQ (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0)) + { + if (m == 1) + { + unsigned char c = (unsigned char) p[0]; + + if ((c >= 0xa1 && c < 0xff) || c == 0x8e) + goto incomplete; + } + else /* m == 2 || m == 3 */ + { + unsigned char c = (unsigned char) p[0]; + + if (c == 0x8e) + goto incomplete; + } + goto invalid; + } + if (STREQ (encoding, "GB18030", 'G', 'B', '1', '8', '0', '3', '0', 0, 0)) + { + if (m == 1) + { + unsigned char c = (unsigned char) p[0]; + + if ((c >= 0x90 && c <= 0xe3) || (c >= 0xf8 && c <= 0xfe)) + goto incomplete; + } + else /* m == 2 || m == 3 */ + { + unsigned char c = (unsigned char) p[0]; + + if (c >= 0x90 && c <= 0xe3) + { + unsigned char c2 = (unsigned char) p[1]; + + if (c2 >= 0x30 && c2 <= 0x39) + { + if (m == 2) + goto incomplete; + else /* m == 3 */ + { + unsigned char c3 = (unsigned char) p[2]; + + if (c3 >= 0x81 && c3 <= 0xfe) + goto incomplete; + } + } + } + } + goto invalid; + } + if (STREQ (encoding, "SJIS", 'S', 'J', 'I', 'S', 0, 0, 0, 0, 0)) + { + if (m == 1) + { + unsigned char c = (unsigned char) p[0]; + + if ((c >= 0x81 && c <= 0x9f) || (c >= 0xe0 && c <= 0xea) + || (c >= 0xf0 && c <= 0xf9)) + goto incomplete; + } + goto invalid; + } + + /* An unknown multibyte encoding. */ + goto incomplete; + } + + incomplete: + { + size_t k = nstate; + /* Here 0 <= k < m < 4. */ + pstate[++k] = s[0]; + if (k < m) + { + pstate[++k] = s[1]; + if (k < m) + pstate[++k] = s[2]; + } + if (k != m) + abort (); + } + pstate[0] = m; + return (size_t)(-2); + + invalid: + errno = EILSEQ; + /* The conversion state is undefined, says POSIX. */ + return (size_t)(-1); + } + } +} + +#else +/* Override the system's mbrtowc() function. */ + +# undef mbrtowc + +size_t +rpl_mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) +{ +# if MBRTOWC_NULL_ARG_BUG || MBRTOWC_RETVAL_BUG + if (s == NULL) + { + pwc = NULL; + s = ""; + n = 1; + } +# endif + +# if MBRTOWC_RETVAL_BUG + { + static mbstate_t internal_state; + + /* Override mbrtowc's internal state. We can not call mbsinit() on the + hidden internal state, but we can call it on our variable. */ + if (ps == NULL) + ps = &internal_state; + + if (!mbsinit (ps)) + { + /* Parse the rest of the multibyte character byte for byte. */ + size_t count = 0; + for (; n > 0; s++, n--) + { + wchar_t wc; + size_t ret = mbrtowc (&wc, s, 1, ps); + + if (ret == (size_t)(-1)) + return (size_t)(-1); + count++; + if (ret != (size_t)(-2)) + { + /* The multibyte character has been completed. */ + if (pwc != NULL) + *pwc = wc; + return (wc == 0 ? 0 : count); + } + } + return (size_t)(-2); + } + } +# endif + +# if MBRTOWC_NUL_RETVAL_BUG + { + wchar_t wc; + size_t ret = mbrtowc (&wc, s, n, ps); + + if (ret != (size_t)(-1) && ret != (size_t)(-2)) + { + if (pwc != NULL) + *pwc = wc; + if (wc == 0) + ret = 0; + } + return ret; + } +# else + return mbrtowc (pwc, s, n, ps); +# endif +} + +#endif diff --git a/grub-core/gnulib/mbsinit.c b/grub-core/gnulib/mbsinit.c new file mode 100644 index 0000000..066ddfe --- /dev/null +++ b/grub-core/gnulib/mbsinit.c @@ -0,0 +1,47 @@ +/* Test for initial conversion state. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#include "verify.h" + +/* Platforms that lack mbsinit() also lack mbrlen(), mbrtowc(), mbsrtowcs() + and wcrtomb(), wcsrtombs(). + We assume that + - sizeof (mbstate_t) >= 4, + - only stateless encodings are supported (such as UTF-8 and EUC-JP, but + not ISO-2022 variants), + - for each encoding, the number of bytes for a wide character is <= 4. + (This maximum is attained for UTF-8, GB18030, EUC-TW.) + We define the meaning of mbstate_t as follows: + - In mb -> wc direction, mbstate_t's first byte contains the number of + buffered bytes (in the range 0..3), followed by up to 3 buffered bytes. + - In wc -> mb direction, mbstate_t contains no information. In other + words, it is always in the initial state. */ + +verify (sizeof (mbstate_t) >= 4); + +int +mbsinit (const mbstate_t *ps) +{ + const char *pstate = (const char *)ps; + + return pstate[0] == 0; +} diff --git a/grub-core/gnulib/mbsrtowcs-state.c b/grub-core/gnulib/mbsrtowcs-state.c new file mode 100644 index 0000000..35045f6 --- /dev/null +++ b/grub-core/gnulib/mbsrtowcs-state.c @@ -0,0 +1,37 @@ +/* Convert string to wide string. + Copyright (C) 2008-2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +#include + +/* Internal state used by the functions mbsrtowcs() and mbsnrtowcs(). */ +mbstate_t _gl_mbsrtowcs_state +/* The state must initially be in the "initial state"; so, zero-initialize it. + On most systems, putting it into BSS is sufficient. Not so on MacOS X 10.3, + see . + When it needs an initializer, use 0 or {0} as initializer? 0 only works + when mbstate_t is a scalar type (such as when gnulib defines it, or on + AIX, IRIX, mingw). {0} works as an initializer in all cases: for a struct + or union type, but also for a scalar type (ISO C 99, 6.7.8.(11)). */ +#if defined __ELF__ + /* On ELF systems, variables in BSS behave well. */ +#else + /* Use braces, to be on the safe side. */ + = { 0 } +#endif + ; diff --git a/grub-core/gnulib/mbsrtowcs.c b/grub-core/gnulib/mbsrtowcs.c new file mode 100644 index 0000000..c577f36 --- /dev/null +++ b/grub-core/gnulib/mbsrtowcs.c @@ -0,0 +1,136 @@ +/* Convert string to wide string. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#include +#include +#include + +#include "strnlen1.h" + + +extern mbstate_t _gl_mbsrtowcs_state; + +size_t +mbsrtowcs (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) +{ + if (ps == NULL) + ps = &_gl_mbsrtowcs_state; + { + const char *src = *srcp; + + if (dest != NULL) + { + wchar_t *destptr = dest; + + for (; len > 0; destptr++, len--) + { + size_t src_avail; + size_t ret; + + /* An optimized variant of + src_avail = strnlen1 (src, MB_LEN_MAX); */ + if (src[0] == '\0') + src_avail = 1; + else if (src[1] == '\0') + src_avail = 2; + else if (src[2] == '\0') + src_avail = 3; + else if (MB_LEN_MAX <= 4 || src[3] == '\0') + src_avail = 4; + else + src_avail = 4 + strnlen1 (src + 4, MB_LEN_MAX - 4); + + /* Parse the next multibyte character. */ + ret = mbrtowc (destptr, src, src_avail, ps); + + if (ret == (size_t)(-2)) + /* Encountered a multibyte character that extends past a '\0' byte + or that is longer than MB_LEN_MAX bytes. Cannot happen. */ + abort (); + + if (ret == (size_t)(-1)) + goto bad_input; + if (ret == 0) + { + src = NULL; + /* Here mbsinit (ps). */ + break; + } + src += ret; + } + + *srcp = src; + return destptr - dest; + } + else + { + /* Ignore dest and len, don't store *srcp at the end, and + don't clobber *ps. */ + mbstate_t state = *ps; + size_t totalcount = 0; + + for (;; totalcount++) + { + size_t src_avail; + size_t ret; + + /* An optimized variant of + src_avail = strnlen1 (src, MB_LEN_MAX); */ + if (src[0] == '\0') + src_avail = 1; + else if (src[1] == '\0') + src_avail = 2; + else if (src[2] == '\0') + src_avail = 3; + else if (MB_LEN_MAX <= 4 || src[3] == '\0') + src_avail = 4; + else + src_avail = 4 + strnlen1 (src + 4, MB_LEN_MAX - 4); + + /* Parse the next multibyte character. */ + ret = mbrtowc (NULL, src, src_avail, &state); + + if (ret == (size_t)(-2)) + /* Encountered a multibyte character that extends past a '\0' byte + or that is longer than MB_LEN_MAX bytes. Cannot happen. */ + abort (); + + if (ret == (size_t)(-1)) + goto bad_input2; + if (ret == 0) + { + /* Here mbsinit (&state). */ + break; + } + src += ret; + } + + return totalcount; + } + + bad_input: + *srcp = src; + bad_input2: + errno = EILSEQ; + return (size_t)(-1); + } +} diff --git a/grub-core/gnulib/memchr.c b/grub-core/gnulib/memchr.c new file mode 100644 index 0000000..6c2b2d6 --- /dev/null +++ b/grub-core/gnulib/memchr.c @@ -0,0 +1,172 @@ +/* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2010 + Free Software Foundation, Inc. + + Based on strlen implementation by Torbjorn Granlund (tege@sics.se), + with help from Dan Sahlin (dan@sics.se) and + commentary by Jim Blandy (jimb@ai.mit.edu); + adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu), + and implemented by Roland McGrath (roland@ai.mit.edu). + +NOTE: The canonical source of this file is maintained with the GNU C Library. +Bugs can be reported to bug-glibc@prep.ai.mit.edu. + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 3 of the License, or any +later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . */ + +#ifndef _LIBC +# include +#endif + +#include + +#include + +#if defined _LIBC +# include +#else +# define reg_char char +#endif + +#include + +#if HAVE_BP_SYM_H || defined _LIBC +# include +#else +# define BP_SYM(sym) sym +#endif + +#undef __memchr +#ifdef _LIBC +# undef memchr +#endif + +#ifndef weak_alias +# define __memchr memchr +#endif + +/* Search no more than N bytes of S for C. */ +void * +__memchr (void const *s, int c_in, size_t n) +{ + /* On 32-bit hardware, choosing longword to be a 32-bit unsigned + long instead of a 64-bit uintmax_t tends to give better + performance. On 64-bit hardware, unsigned long is generally 64 + bits already. Change this typedef to experiment with + performance. */ + typedef unsigned long int longword; + + const unsigned char *char_ptr; + const longword *longword_ptr; + longword repeated_one; + longword repeated_c; + unsigned reg_char c; + + c = (unsigned char) c_in; + + /* Handle the first few bytes by reading one byte at a time. + Do this until CHAR_PTR is aligned on a longword boundary. */ + for (char_ptr = (const unsigned char *) s; + n > 0 && (size_t) char_ptr % sizeof (longword) != 0; + --n, ++char_ptr) + if (*char_ptr == c) + return (void *) char_ptr; + + longword_ptr = (const longword *) char_ptr; + + /* All these elucidatory comments refer to 4-byte longwords, + but the theory applies equally well to any size longwords. */ + + /* Compute auxiliary longword values: + repeated_one is a value which has a 1 in every byte. + repeated_c has c in every byte. */ + repeated_one = 0x01010101; + repeated_c = c | (c << 8); + repeated_c |= repeated_c << 16; + if (0xffffffffU < (longword) -1) + { + repeated_one |= repeated_one << 31 << 1; + repeated_c |= repeated_c << 31 << 1; + if (8 < sizeof (longword)) + { + size_t i; + + for (i = 64; i < sizeof (longword) * 8; i *= 2) + { + repeated_one |= repeated_one << i; + repeated_c |= repeated_c << i; + } + } + } + + /* Instead of the traditional loop which tests each byte, we will test a + longword at a time. The tricky part is testing if *any of the four* + bytes in the longword in question are equal to c. We first use an xor + with repeated_c. This reduces the task to testing whether *any of the + four* bytes in longword1 is zero. + + We compute tmp = + ((longword1 - repeated_one) & ~longword1) & (repeated_one << 7). + That is, we perform the following operations: + 1. Subtract repeated_one. + 2. & ~longword1. + 3. & a mask consisting of 0x80 in every byte. + Consider what happens in each byte: + - If a byte of longword1 is zero, step 1 and 2 transform it into 0xff, + and step 3 transforms it into 0x80. A carry can also be propagated + to more significant bytes. + - If a byte of longword1 is nonzero, let its lowest 1 bit be at + position k (0 <= k <= 7); so the lowest k bits are 0. After step 1, + the byte ends in a single bit of value 0 and k bits of value 1. + After step 2, the result is just k bits of value 1: 2^k - 1. After + step 3, the result is 0. And no carry is produced. + So, if longword1 has only non-zero bytes, tmp is zero. + Whereas if longword1 has a zero byte, call j the position of the least + significant zero byte. Then the result has a zero at positions 0, ..., + j-1 and a 0x80 at position j. We cannot predict the result at the more + significant bytes (positions j+1..3), but it does not matter since we + already have a non-zero bit at position 8*j+7. + + So, the test whether any byte in longword1 is zero is equivalent to + testing whether tmp is nonzero. */ + + while (n >= sizeof (longword)) + { + longword longword1 = *longword_ptr ^ repeated_c; + + if ((((longword1 - repeated_one) & ~longword1) + & (repeated_one << 7)) != 0) + break; + longword_ptr++; + n -= sizeof (longword); + } + + char_ptr = (const unsigned char *) longword_ptr; + + /* At this point, we know that either n < sizeof (longword), or one of the + sizeof (longword) bytes starting at char_ptr is == c. On little-endian + machines, we could determine the first such byte without any further + memory accesses, just by looking at the tmp result from the last loop + iteration. But this does not work on big-endian machines. Choose code + that works in both cases. */ + + for (; n > 0; --n, ++char_ptr) + { + if (*char_ptr == c) + return (void *) char_ptr; + } + + return NULL; +} +#ifdef weak_alias +weak_alias (__memchr, BP_SYM (memchr)) +#endif diff --git a/grub-core/gnulib/memchr.valgrind b/grub-core/gnulib/memchr.valgrind new file mode 100644 index 0000000..60f247e --- /dev/null +++ b/grub-core/gnulib/memchr.valgrind @@ -0,0 +1,14 @@ +# Suppress a valgrind message about use of uninitialized memory in memchr(). +# POSIX states that when the character is found, memchr must not read extra +# bytes in an overestimated length (for example, where memchr is used to +# implement strnlen). However, we use a safe word read to provide a speedup. +{ + memchr-value4 + Memcheck:Value4 + fun:rpl_memchr +} +{ + memchr-value8 + Memcheck:Value8 + fun:rpl_memchr +} diff --git a/grub-core/gnulib/mempcpy.c b/grub-core/gnulib/mempcpy.c new file mode 100644 index 0000000..b624d69 --- /dev/null +++ b/grub-core/gnulib/mempcpy.c @@ -0,0 +1,29 @@ +/* Copy memory area and return pointer after last written byte. + Copyright (C) 2003, 2007, 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +/* Specification. */ +#include + +/* Copy N bytes of SRC to DEST, return pointer to bytes after the + last written byte. */ +void * +mempcpy (void *dest, const void *src, size_t n) +{ + return (char *) memcpy (dest, src, n) + n; +} diff --git a/grub-core/gnulib/nl_langinfo.c b/grub-core/gnulib/nl_langinfo.c new file mode 100644 index 0000000..a3d0d11 --- /dev/null +++ b/grub-core/gnulib/nl_langinfo.c @@ -0,0 +1,270 @@ +/* nl_langinfo() replacement: query locale dependent information. + + Copyright (C) 2007-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#if REPLACE_NL_LANGINFO + +/* Override nl_langinfo with support for added nl_item values. */ + +# include +# include + +# undef nl_langinfo + +char * +rpl_nl_langinfo (nl_item item) +{ + switch (item) + { +# if GNULIB_defined_CODESET + case CODESET: + { + const char *locale; + static char buf[2 + 10 + 1]; + + locale = setlocale (LC_CTYPE, NULL); + if (locale != NULL && locale[0] != '\0') + { + /* If the locale name contains an encoding after the dot, return + it. */ + const char *dot = strchr (locale, '.'); + + if (dot != NULL) + { + const char *modifier; + + dot++; + /* Look for the possible @... trailer and remove it, if any. */ + modifier = strchr (dot, '@'); + if (modifier == NULL) + return dot; + if (modifier - dot < sizeof (buf)) + { + memcpy (buf, dot, modifier - dot); + buf [modifier - dot] = '\0'; + return buf; + } + } + } + return ""; + } +# endif +# if GNULIB_defined_T_FMT_AMPM + case T_FMT_AMPM: + return "%I:%M:%S %p"; +# endif +# if GNULIB_defined_ERA + case ERA: + /* The format is not standardized. In glibc it is a sequence of strings + of the form "direction:offset:start_date:end_date:era_name:era_format" + with an empty string at the end. */ + return ""; + case ERA_D_FMT: + /* The %Ex conversion in strftime behaves like %x if the locale does not + have an alternative time format. */ + item = D_FMT; + break; + case ERA_D_T_FMT: + /* The %Ec conversion in strftime behaves like %c if the locale does not + have an alternative time format. */ + item = D_T_FMT; + break; + case ERA_T_FMT: + /* The %EX conversion in strftime behaves like %X if the locale does not + have an alternative time format. */ + item = T_FMT; + break; + case ALT_DIGITS: + /* The format is not standardized. In glibc it is a sequence of 10 + strings, appended in memory. */ + return "\0\0\0\0\0\0\0\0\0\0"; +# endif +# if GNULIB_defined_YESEXPR + case YESEXPR: + return "^[yY]"; + case NOEXPR: + return "^[nN]"; +# endif + default: + break; + } + return nl_langinfo (item); +} + +#else + +/* Provide nl_langinfo from scratch. */ + +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + +/* Native Windows platforms. */ + +# define WIN32_LEAN_AND_MEAN /* avoid including junk */ +# include + +# include + +# else + +/* An old Unix platform without locales, such as Linux libc5 or BeOS. */ + +# endif + +# include + +char * +nl_langinfo (nl_item item) +{ + switch (item) + { + /* nl_langinfo items of the LC_CTYPE category */ + case CODESET: +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + { + static char buf[2 + 10 + 1]; + + /* Woe32 has a function returning the locale's codepage as a number. */ + sprintf (buf, "CP%u", GetACP ()); + return buf; + } +# elif defined __BEOS__ + return "UTF-8"; +# else + return "ISO-8859-1"; +# endif + /* nl_langinfo items of the LC_NUMERIC category */ + case RADIXCHAR: + return localeconv () ->decimal_point; + case THOUSEP: + return localeconv () ->thousands_sep; + /* nl_langinfo items of the LC_TIME category. + TODO: Really use the locale. */ + case D_T_FMT: + case ERA_D_T_FMT: + return "%a %b %e %H:%M:%S %Y"; + case D_FMT: + case ERA_D_FMT: + return "%m/%d/%y"; + case T_FMT: + case ERA_T_FMT: + return "%H:%M:%S"; + case T_FMT_AMPM: + return "%I:%M:%S %p"; + case AM_STR: + return "AM"; + case PM_STR: + return "PM"; + case DAY_1: + return "Sunday"; + case DAY_2: + return "Monday"; + case DAY_3: + return "Tuesday"; + case DAY_4: + return "Wednesday"; + case DAY_5: + return "Thursday"; + case DAY_6: + return "Friday"; + case DAY_7: + return "Saturday"; + case ABDAY_1: + return "Sun"; + case ABDAY_2: + return "Mon"; + case ABDAY_3: + return "Tue"; + case ABDAY_4: + return "Wed"; + case ABDAY_5: + return "Thu"; + case ABDAY_6: + return "Fri"; + case ABDAY_7: + return "Sat"; + case MON_1: + return "January"; + case MON_2: + return "February"; + case MON_3: + return "March"; + case MON_4: + return "April"; + case MON_5: + return "May"; + case MON_6: + return "June"; + case MON_7: + return "July"; + case MON_8: + return "August"; + case MON_9: + return "September"; + case MON_10: + return "October"; + case MON_11: + return "November"; + case MON_12: + return "December"; + case ABMON_1: + return "Jan"; + case ABMON_2: + return "Feb"; + case ABMON_3: + return "Mar"; + case ABMON_4: + return "Apr"; + case ABMON_5: + return "May"; + case ABMON_6: + return "Jun"; + case ABMON_7: + return "Jul"; + case ABMON_8: + return "Aug"; + case ABMON_9: + return "Sep"; + case ABMON_10: + return "Oct"; + case ABMON_11: + return "Nov"; + case ABMON_12: + return "Dec"; + case ERA: + return ""; + case ALT_DIGITS: + return "\0\0\0\0\0\0\0\0\0\0"; + /* nl_langinfo items of the LC_MONETARY category + TODO: Really use the locale. */ + case CRNCYSTR: + return "-"; + /* nl_langinfo items of the LC_MESSAGES category + TODO: Really use the locale. */ + case YESEXPR: + return "^[yY]"; + case NOEXPR: + return "^[nN]"; + default: + return ""; + } +} + +#endif diff --git a/grub-core/gnulib/printf-args.c b/grub-core/gnulib/printf-args.c new file mode 100644 index 0000000..46c03a2 --- /dev/null +++ b/grub-core/gnulib/printf-args.c @@ -0,0 +1,188 @@ +/* Decomposed printf argument list. + Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2010 Free Software + Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* This file can be parametrized with the following macros: + ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. + PRINTF_FETCHARGS Name of the function to be defined. + STATIC Set to 'static' to declare the function static. */ + +#ifndef PRINTF_FETCHARGS +# include +#endif + +/* Specification. */ +#ifndef PRINTF_FETCHARGS +# include "printf-args.h" +#endif + +#ifdef STATIC +STATIC +#endif +int +PRINTF_FETCHARGS (va_list args, arguments *a) +{ + size_t i; + argument *ap; + + for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) + switch (ap->type) + { + case TYPE_SCHAR: + ap->a.a_schar = va_arg (args, /*signed char*/ int); + break; + case TYPE_UCHAR: + ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); + break; + case TYPE_SHORT: + ap->a.a_short = va_arg (args, /*short*/ int); + break; + case TYPE_USHORT: + ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); + break; + case TYPE_INT: + ap->a.a_int = va_arg (args, int); + break; + case TYPE_UINT: + ap->a.a_uint = va_arg (args, unsigned int); + break; + case TYPE_LONGINT: + ap->a.a_longint = va_arg (args, long int); + break; + case TYPE_ULONGINT: + ap->a.a_ulongint = va_arg (args, unsigned long int); + break; +#if HAVE_LONG_LONG_INT + case TYPE_LONGLONGINT: + ap->a.a_longlongint = va_arg (args, long long int); + break; + case TYPE_ULONGLONGINT: + ap->a.a_ulonglongint = va_arg (args, unsigned long long int); + break; +#endif + case TYPE_DOUBLE: + ap->a.a_double = va_arg (args, double); + break; + case TYPE_LONGDOUBLE: + ap->a.a_longdouble = va_arg (args, long double); + break; + case TYPE_CHAR: + ap->a.a_char = va_arg (args, int); + break; +#if HAVE_WINT_T + case TYPE_WIDE_CHAR: + /* Although ISO C 99 7.24.1.(2) says that wint_t is "unchanged by + default argument promotions", this is not the case in mingw32, + where wint_t is 'unsigned short'. */ + ap->a.a_wide_char = + (sizeof (wint_t) < sizeof (int) + ? (wint_t) va_arg (args, int) + : va_arg (args, wint_t)); + break; +#endif + case TYPE_STRING: + ap->a.a_string = va_arg (args, const char *); + /* A null pointer is an invalid argument for "%s", but in practice + it occurs quite frequently in printf statements that produce + debug output. Use a fallback in this case. */ + if (ap->a.a_string == NULL) + ap->a.a_string = "(NULL)"; + break; +#if HAVE_WCHAR_T + case TYPE_WIDE_STRING: + ap->a.a_wide_string = va_arg (args, const wchar_t *); + /* A null pointer is an invalid argument for "%ls", but in practice + it occurs quite frequently in printf statements that produce + debug output. Use a fallback in this case. */ + if (ap->a.a_wide_string == NULL) + { + static const wchar_t wide_null_string[] = + { + (wchar_t)'(', + (wchar_t)'N', (wchar_t)'U', (wchar_t)'L', (wchar_t)'L', + (wchar_t)')', + (wchar_t)0 + }; + ap->a.a_wide_string = wide_null_string; + } + break; +#endif + case TYPE_POINTER: + ap->a.a_pointer = va_arg (args, void *); + break; + case TYPE_COUNT_SCHAR_POINTER: + ap->a.a_count_schar_pointer = va_arg (args, signed char *); + break; + case TYPE_COUNT_SHORT_POINTER: + ap->a.a_count_short_pointer = va_arg (args, short *); + break; + case TYPE_COUNT_INT_POINTER: + ap->a.a_count_int_pointer = va_arg (args, int *); + break; + case TYPE_COUNT_LONGINT_POINTER: + ap->a.a_count_longint_pointer = va_arg (args, long int *); + break; +#if HAVE_LONG_LONG_INT + case TYPE_COUNT_LONGLONGINT_POINTER: + ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); + break; +#endif +#if ENABLE_UNISTDIO + /* The unistdio extensions. */ + case TYPE_U8_STRING: + ap->a.a_u8_string = va_arg (args, const uint8_t *); + /* A null pointer is an invalid argument for "%U", but in practice + it occurs quite frequently in printf statements that produce + debug output. Use a fallback in this case. */ + if (ap->a.a_u8_string == NULL) + { + static const uint8_t u8_null_string[] = + { '(', 'N', 'U', 'L', 'L', ')', 0 }; + ap->a.a_u8_string = u8_null_string; + } + break; + case TYPE_U16_STRING: + ap->a.a_u16_string = va_arg (args, const uint16_t *); + /* A null pointer is an invalid argument for "%lU", but in practice + it occurs quite frequently in printf statements that produce + debug output. Use a fallback in this case. */ + if (ap->a.a_u16_string == NULL) + { + static const uint16_t u16_null_string[] = + { '(', 'N', 'U', 'L', 'L', ')', 0 }; + ap->a.a_u16_string = u16_null_string; + } + break; + case TYPE_U32_STRING: + ap->a.a_u32_string = va_arg (args, const uint32_t *); + /* A null pointer is an invalid argument for "%llU", but in practice + it occurs quite frequently in printf statements that produce + debug output. Use a fallback in this case. */ + if (ap->a.a_u32_string == NULL) + { + static const uint32_t u32_null_string[] = + { '(', 'N', 'U', 'L', 'L', ')', 0 }; + ap->a.a_u32_string = u32_null_string; + } + break; +#endif + default: + /* Unknown type. */ + return -1; + } + return 0; +} diff --git a/grub-core/gnulib/printf-args.h b/grub-core/gnulib/printf-args.h new file mode 100644 index 0000000..2536eba --- /dev/null +++ b/grub-core/gnulib/printf-args.h @@ -0,0 +1,155 @@ +/* Decomposed printf argument list. + Copyright (C) 1999, 2002-2003, 2006-2007, 2009-2010 Free Software + Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _PRINTF_ARGS_H +#define _PRINTF_ARGS_H + +/* This file can be parametrized with the following macros: + ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. + PRINTF_FETCHARGS Name of the function to be declared. + STATIC Set to 'static' to declare the function static. */ + +/* Default parameters. */ +#ifndef PRINTF_FETCHARGS +# define PRINTF_FETCHARGS printf_fetchargs +#endif + +/* Get size_t. */ +#include + +/* Get wchar_t. */ +#if HAVE_WCHAR_T +# include +#endif + +/* Get wint_t. */ +#if HAVE_WINT_T +# include +#endif + +/* Get va_list. */ +#include + + +/* Argument types */ +typedef enum +{ + TYPE_NONE, + TYPE_SCHAR, + TYPE_UCHAR, + TYPE_SHORT, + TYPE_USHORT, + TYPE_INT, + TYPE_UINT, + TYPE_LONGINT, + TYPE_ULONGINT, +#if HAVE_LONG_LONG_INT + TYPE_LONGLONGINT, + TYPE_ULONGLONGINT, +#endif + TYPE_DOUBLE, + TYPE_LONGDOUBLE, + TYPE_CHAR, +#if HAVE_WINT_T + TYPE_WIDE_CHAR, +#endif + TYPE_STRING, +#if HAVE_WCHAR_T + TYPE_WIDE_STRING, +#endif + TYPE_POINTER, + TYPE_COUNT_SCHAR_POINTER, + TYPE_COUNT_SHORT_POINTER, + TYPE_COUNT_INT_POINTER, + TYPE_COUNT_LONGINT_POINTER +#if HAVE_LONG_LONG_INT +, TYPE_COUNT_LONGLONGINT_POINTER +#endif +#if ENABLE_UNISTDIO + /* The unistdio extensions. */ +, TYPE_U8_STRING +, TYPE_U16_STRING +, TYPE_U32_STRING +#endif +} arg_type; + +/* Polymorphic argument */ +typedef struct +{ + arg_type type; + union + { + signed char a_schar; + unsigned char a_uchar; + short a_short; + unsigned short a_ushort; + int a_int; + unsigned int a_uint; + long int a_longint; + unsigned long int a_ulongint; +#if HAVE_LONG_LONG_INT + long long int a_longlongint; + unsigned long long int a_ulonglongint; +#endif + float a_float; + double a_double; + long double a_longdouble; + int a_char; +#if HAVE_WINT_T + wint_t a_wide_char; +#endif + const char* a_string; +#if HAVE_WCHAR_T + const wchar_t* a_wide_string; +#endif + void* a_pointer; + signed char * a_count_schar_pointer; + short * a_count_short_pointer; + int * a_count_int_pointer; + long int * a_count_longint_pointer; +#if HAVE_LONG_LONG_INT + long long int * a_count_longlongint_pointer; +#endif +#if ENABLE_UNISTDIO + /* The unistdio extensions. */ + const uint8_t * a_u8_string; + const uint16_t * a_u16_string; + const uint32_t * a_u32_string; +#endif + } + a; +} +argument; + +typedef struct +{ + size_t count; + argument *arg; +} +arguments; + + +/* Fetch the arguments, putting them into a. */ +#ifdef STATIC +STATIC +#else +extern +#endif +int PRINTF_FETCHARGS (va_list args, arguments *a); + +#endif /* _PRINTF_ARGS_H */ diff --git a/grub-core/gnulib/printf-parse.c b/grub-core/gnulib/printf-parse.c new file mode 100644 index 0000000..f612beb --- /dev/null +++ b/grub-core/gnulib/printf-parse.c @@ -0,0 +1,627 @@ +/* Formatted output to strings. + Copyright (C) 1999-2000, 2002-2003, 2006-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* This file can be parametrized with the following macros: + CHAR_T The element type of the format string. + CHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters + in the format string are ASCII. + DIRECTIVE Structure denoting a format directive. + Depends on CHAR_T. + DIRECTIVES Structure denoting the set of format directives of a + format string. Depends on CHAR_T. + PRINTF_PARSE Function that parses a format string. + Depends on CHAR_T. + STATIC Set to 'static' to declare the function static. + ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. */ + +#ifndef PRINTF_PARSE +# include +#endif + +/* Specification. */ +#ifndef PRINTF_PARSE +# include "printf-parse.h" +#endif + +/* Default parameters. */ +#ifndef PRINTF_PARSE +# define PRINTF_PARSE printf_parse +# define CHAR_T char +# define DIRECTIVE char_directive +# define DIRECTIVES char_directives +#endif + +/* Get size_t, NULL. */ +#include + +/* Get intmax_t. */ +#if defined IN_LIBINTL || defined IN_LIBASPRINTF +# if HAVE_STDINT_H_WITH_UINTMAX +# include +# endif +# if HAVE_INTTYPES_H_WITH_UINTMAX +# include +# endif +#else +# include +#endif + +/* malloc(), realloc(), free(). */ +#include + +/* errno. */ +#include + +/* Checked size_t computations. */ +#include "xsize.h" + +#if CHAR_T_ONLY_ASCII +/* c_isascii(). */ +# include "c-ctype.h" +#endif + +#ifdef STATIC +STATIC +#endif +int +PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) +{ + const CHAR_T *cp = format; /* pointer into format */ + size_t arg_posn = 0; /* number of regular arguments consumed */ + size_t d_allocated; /* allocated elements of d->dir */ + size_t a_allocated; /* allocated elements of a->arg */ + size_t max_width_length = 0; + size_t max_precision_length = 0; + + d->count = 0; + d_allocated = 1; + d->dir = (DIRECTIVE *) malloc (d_allocated * sizeof (DIRECTIVE)); + if (d->dir == NULL) + /* Out of memory. */ + goto out_of_memory_1; + + a->count = 0; + a_allocated = 0; + a->arg = NULL; + +#define REGISTER_ARG(_index_,_type_) \ + { \ + size_t n = (_index_); \ + if (n >= a_allocated) \ + { \ + size_t memory_size; \ + argument *memory; \ + \ + a_allocated = xtimes (a_allocated, 2); \ + if (a_allocated <= n) \ + a_allocated = xsum (n, 1); \ + memory_size = xtimes (a_allocated, sizeof (argument)); \ + if (size_overflow_p (memory_size)) \ + /* Overflow, would lead to out of memory. */ \ + goto out_of_memory; \ + memory = (argument *) (a->arg \ + ? realloc (a->arg, memory_size) \ + : malloc (memory_size)); \ + if (memory == NULL) \ + /* Out of memory. */ \ + goto out_of_memory; \ + a->arg = memory; \ + } \ + while (a->count <= n) \ + a->arg[a->count++].type = TYPE_NONE; \ + if (a->arg[n].type == TYPE_NONE) \ + a->arg[n].type = (_type_); \ + else if (a->arg[n].type != (_type_)) \ + /* Ambiguous type for positional argument. */ \ + goto error; \ + } + + while (*cp != '\0') + { + CHAR_T c = *cp++; + if (c == '%') + { + size_t arg_index = ARG_NONE; + DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ + + /* Initialize the next directive. */ + dp->dir_start = cp - 1; + dp->flags = 0; + dp->width_start = NULL; + dp->width_end = NULL; + dp->width_arg_index = ARG_NONE; + dp->precision_start = NULL; + dp->precision_end = NULL; + dp->precision_arg_index = ARG_NONE; + dp->arg_index = ARG_NONE; + + /* Test for positional argument. */ + if (*cp >= '0' && *cp <= '9') + { + const CHAR_T *np; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + ; + if (*np == '$') + { + size_t n = 0; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + n = xsum (xtimes (n, 10), *np - '0'); + if (n == 0) + /* Positional argument 0. */ + goto error; + if (size_overflow_p (n)) + /* n too large, would lead to out of memory later. */ + goto error; + arg_index = n - 1; + cp = np + 1; + } + } + + /* Read the flags. */ + for (;;) + { + if (*cp == '\'') + { + dp->flags |= FLAG_GROUP; + cp++; + } + else if (*cp == '-') + { + dp->flags |= FLAG_LEFT; + cp++; + } + else if (*cp == '+') + { + dp->flags |= FLAG_SHOWSIGN; + cp++; + } + else if (*cp == ' ') + { + dp->flags |= FLAG_SPACE; + cp++; + } + else if (*cp == '#') + { + dp->flags |= FLAG_ALT; + cp++; + } + else if (*cp == '0') + { + dp->flags |= FLAG_ZERO; + cp++; + } + else + break; + } + + /* Parse the field width. */ + if (*cp == '*') + { + dp->width_start = cp; + cp++; + dp->width_end = cp; + if (max_width_length < 1) + max_width_length = 1; + + /* Test for positional argument. */ + if (*cp >= '0' && *cp <= '9') + { + const CHAR_T *np; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + ; + if (*np == '$') + { + size_t n = 0; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + n = xsum (xtimes (n, 10), *np - '0'); + if (n == 0) + /* Positional argument 0. */ + goto error; + if (size_overflow_p (n)) + /* n too large, would lead to out of memory later. */ + goto error; + dp->width_arg_index = n - 1; + cp = np + 1; + } + } + if (dp->width_arg_index == ARG_NONE) + { + dp->width_arg_index = arg_posn++; + if (dp->width_arg_index == ARG_NONE) + /* arg_posn wrapped around. */ + goto error; + } + REGISTER_ARG (dp->width_arg_index, TYPE_INT); + } + else if (*cp >= '0' && *cp <= '9') + { + size_t width_length; + + dp->width_start = cp; + for (; *cp >= '0' && *cp <= '9'; cp++) + ; + dp->width_end = cp; + width_length = dp->width_end - dp->width_start; + if (max_width_length < width_length) + max_width_length = width_length; + } + + /* Parse the precision. */ + if (*cp == '.') + { + cp++; + if (*cp == '*') + { + dp->precision_start = cp - 1; + cp++; + dp->precision_end = cp; + if (max_precision_length < 2) + max_precision_length = 2; + + /* Test for positional argument. */ + if (*cp >= '0' && *cp <= '9') + { + const CHAR_T *np; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + ; + if (*np == '$') + { + size_t n = 0; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + n = xsum (xtimes (n, 10), *np - '0'); + if (n == 0) + /* Positional argument 0. */ + goto error; + if (size_overflow_p (n)) + /* n too large, would lead to out of memory + later. */ + goto error; + dp->precision_arg_index = n - 1; + cp = np + 1; + } + } + if (dp->precision_arg_index == ARG_NONE) + { + dp->precision_arg_index = arg_posn++; + if (dp->precision_arg_index == ARG_NONE) + /* arg_posn wrapped around. */ + goto error; + } + REGISTER_ARG (dp->precision_arg_index, TYPE_INT); + } + else + { + size_t precision_length; + + dp->precision_start = cp - 1; + for (; *cp >= '0' && *cp <= '9'; cp++) + ; + dp->precision_end = cp; + precision_length = dp->precision_end - dp->precision_start; + if (max_precision_length < precision_length) + max_precision_length = precision_length; + } + } + + { + arg_type type; + + /* Parse argument type/size specifiers. */ + { + int flags = 0; + + for (;;) + { + if (*cp == 'h') + { + flags |= (1 << (flags & 1)); + cp++; + } + else if (*cp == 'L') + { + flags |= 4; + cp++; + } + else if (*cp == 'l') + { + flags += 8; + cp++; + } + else if (*cp == 'j') + { + if (sizeof (intmax_t) > sizeof (long)) + { + /* intmax_t = long long */ + flags += 16; + } + else if (sizeof (intmax_t) > sizeof (int)) + { + /* intmax_t = long */ + flags += 8; + } + cp++; + } + else if (*cp == 'z' || *cp == 'Z') + { + /* 'z' is standardized in ISO C 99, but glibc uses 'Z' + because the warning facility in gcc-2.95.2 understands + only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ + if (sizeof (size_t) > sizeof (long)) + { + /* size_t = long long */ + flags += 16; + } + else if (sizeof (size_t) > sizeof (int)) + { + /* size_t = long */ + flags += 8; + } + cp++; + } + else if (*cp == 't') + { + if (sizeof (ptrdiff_t) > sizeof (long)) + { + /* ptrdiff_t = long long */ + flags += 16; + } + else if (sizeof (ptrdiff_t) > sizeof (int)) + { + /* ptrdiff_t = long */ + flags += 8; + } + cp++; + } +#if defined __APPLE__ && defined __MACH__ + /* On MacOS X 10.3, PRIdMAX is defined as "qd". + We cannot change it to "lld" because PRIdMAX must also + be understood by the system's printf routines. */ + else if (*cp == 'q') + { + if (64 / 8 > sizeof (long)) + { + /* int64_t = long long */ + flags += 16; + } + else + { + /* int64_t = long */ + flags += 8; + } + cp++; + } +#endif +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + /* On native Win32, PRIdMAX is defined as "I64d". + We cannot change it to "lld" because PRIdMAX must also + be understood by the system's printf routines. */ + else if (*cp == 'I' && cp[1] == '6' && cp[2] == '4') + { + if (64 / 8 > sizeof (long)) + { + /* __int64 = long long */ + flags += 16; + } + else + { + /* __int64 = long */ + flags += 8; + } + cp += 3; + } +#endif + else + break; + } + + /* Read the conversion character. */ + c = *cp++; + switch (c) + { + case 'd': case 'i': +#if HAVE_LONG_LONG_INT + /* If 'long long' exists and is larger than 'long': */ + if (flags >= 16 || (flags & 4)) + type = TYPE_LONGLONGINT; + else +#endif + /* If 'long long' exists and is the same as 'long', we parse + "lld" into TYPE_LONGINT. */ + if (flags >= 8) + type = TYPE_LONGINT; + else if (flags & 2) + type = TYPE_SCHAR; + else if (flags & 1) + type = TYPE_SHORT; + else + type = TYPE_INT; + break; + case 'o': case 'u': case 'x': case 'X': +#if HAVE_LONG_LONG_INT + /* If 'long long' exists and is larger than 'long': */ + if (flags >= 16 || (flags & 4)) + type = TYPE_ULONGLONGINT; + else +#endif + /* If 'unsigned long long' exists and is the same as + 'unsigned long', we parse "llu" into TYPE_ULONGINT. */ + if (flags >= 8) + type = TYPE_ULONGINT; + else if (flags & 2) + type = TYPE_UCHAR; + else if (flags & 1) + type = TYPE_USHORT; + else + type = TYPE_UINT; + break; + case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': + case 'a': case 'A': + if (flags >= 16 || (flags & 4)) + type = TYPE_LONGDOUBLE; + else + type = TYPE_DOUBLE; + break; + case 'c': + if (flags >= 8) +#if HAVE_WINT_T + type = TYPE_WIDE_CHAR; +#else + goto error; +#endif + else + type = TYPE_CHAR; + break; +#if HAVE_WINT_T + case 'C': + type = TYPE_WIDE_CHAR; + c = 'c'; + break; +#endif + case 's': + if (flags >= 8) +#if HAVE_WCHAR_T + type = TYPE_WIDE_STRING; +#else + goto error; +#endif + else + type = TYPE_STRING; + break; +#if HAVE_WCHAR_T + case 'S': + type = TYPE_WIDE_STRING; + c = 's'; + break; +#endif + case 'p': + type = TYPE_POINTER; + break; + case 'n': +#if HAVE_LONG_LONG_INT + /* If 'long long' exists and is larger than 'long': */ + if (flags >= 16 || (flags & 4)) + type = TYPE_COUNT_LONGLONGINT_POINTER; + else +#endif + /* If 'long long' exists and is the same as 'long', we parse + "lln" into TYPE_COUNT_LONGINT_POINTER. */ + if (flags >= 8) + type = TYPE_COUNT_LONGINT_POINTER; + else if (flags & 2) + type = TYPE_COUNT_SCHAR_POINTER; + else if (flags & 1) + type = TYPE_COUNT_SHORT_POINTER; + else + type = TYPE_COUNT_INT_POINTER; + break; +#if ENABLE_UNISTDIO + /* The unistdio extensions. */ + case 'U': + if (flags >= 16) + type = TYPE_U32_STRING; + else if (flags >= 8) + type = TYPE_U16_STRING; + else + type = TYPE_U8_STRING; + break; +#endif + case '%': + type = TYPE_NONE; + break; + default: + /* Unknown conversion character. */ + goto error; + } + } + + if (type != TYPE_NONE) + { + dp->arg_index = arg_index; + if (dp->arg_index == ARG_NONE) + { + dp->arg_index = arg_posn++; + if (dp->arg_index == ARG_NONE) + /* arg_posn wrapped around. */ + goto error; + } + REGISTER_ARG (dp->arg_index, type); + } + dp->conversion = c; + dp->dir_end = cp; + } + + d->count++; + if (d->count >= d_allocated) + { + size_t memory_size; + DIRECTIVE *memory; + + d_allocated = xtimes (d_allocated, 2); + memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); + if (size_overflow_p (memory_size)) + /* Overflow, would lead to out of memory. */ + goto out_of_memory; + memory = (DIRECTIVE *) realloc (d->dir, memory_size); + if (memory == NULL) + /* Out of memory. */ + goto out_of_memory; + d->dir = memory; + } + } +#if CHAR_T_ONLY_ASCII + else if (!c_isascii (c)) + { + /* Non-ASCII character. Not supported. */ + goto error; + } +#endif + } + d->dir[d->count].dir_start = cp; + + d->max_width_length = max_width_length; + d->max_precision_length = max_precision_length; + return 0; + +error: + if (a->arg) + free (a->arg); + if (d->dir) + free (d->dir); + errno = EINVAL; + return -1; + +out_of_memory: + if (a->arg) + free (a->arg); + if (d->dir) + free (d->dir); +out_of_memory_1: + errno = ENOMEM; + return -1; +} + +#undef PRINTF_PARSE +#undef DIRECTIVES +#undef DIRECTIVE +#undef CHAR_T_ONLY_ASCII +#undef CHAR_T diff --git a/grub-core/gnulib/printf-parse.h b/grub-core/gnulib/printf-parse.h new file mode 100644 index 0000000..0f2b708 --- /dev/null +++ b/grub-core/gnulib/printf-parse.h @@ -0,0 +1,180 @@ +/* Parse printf format string. + Copyright (C) 1999, 2002-2003, 2005, 2007, 2009-2010 Free Software + Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _PRINTF_PARSE_H +#define _PRINTF_PARSE_H + +/* This file can be parametrized with the following macros: + ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. + STATIC Set to 'static' to declare the function static. */ + +#include "printf-args.h" + + +/* Flags */ +#define FLAG_GROUP 1 /* ' flag */ +#define FLAG_LEFT 2 /* - flag */ +#define FLAG_SHOWSIGN 4 /* + flag */ +#define FLAG_SPACE 8 /* space flag */ +#define FLAG_ALT 16 /* # flag */ +#define FLAG_ZERO 32 + +/* arg_index value indicating that no argument is consumed. */ +#define ARG_NONE (~(size_t)0) + +/* xxx_directive: A parsed directive. + xxx_directives: A parsed format string. */ + +/* A parsed directive. */ +typedef struct +{ + const char* dir_start; + const char* dir_end; + int flags; + const char* width_start; + const char* width_end; + size_t width_arg_index; + const char* precision_start; + const char* precision_end; + size_t precision_arg_index; + char conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + size_t arg_index; +} +char_directive; + +/* A parsed format string. */ +typedef struct +{ + size_t count; + char_directive *dir; + size_t max_width_length; + size_t max_precision_length; +} +char_directives; + +#if ENABLE_UNISTDIO + +/* A parsed directive. */ +typedef struct +{ + const uint8_t* dir_start; + const uint8_t* dir_end; + int flags; + const uint8_t* width_start; + const uint8_t* width_end; + size_t width_arg_index; + const uint8_t* precision_start; + const uint8_t* precision_end; + size_t precision_arg_index; + uint8_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + size_t arg_index; +} +u8_directive; + +/* A parsed format string. */ +typedef struct +{ + size_t count; + u8_directive *dir; + size_t max_width_length; + size_t max_precision_length; +} +u8_directives; + +/* A parsed directive. */ +typedef struct +{ + const uint16_t* dir_start; + const uint16_t* dir_end; + int flags; + const uint16_t* width_start; + const uint16_t* width_end; + size_t width_arg_index; + const uint16_t* precision_start; + const uint16_t* precision_end; + size_t precision_arg_index; + uint16_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + size_t arg_index; +} +u16_directive; + +/* A parsed format string. */ +typedef struct +{ + size_t count; + u16_directive *dir; + size_t max_width_length; + size_t max_precision_length; +} +u16_directives; + +/* A parsed directive. */ +typedef struct +{ + const uint32_t* dir_start; + const uint32_t* dir_end; + int flags; + const uint32_t* width_start; + const uint32_t* width_end; + size_t width_arg_index; + const uint32_t* precision_start; + const uint32_t* precision_end; + size_t precision_arg_index; + uint32_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + size_t arg_index; +} +u32_directive; + +/* A parsed format string. */ +typedef struct +{ + size_t count; + u32_directive *dir; + size_t max_width_length; + size_t max_precision_length; +} +u32_directives; + +#endif + + +/* Parses the format string. Fills in the number N of directives, and fills + in directives[0], ..., directives[N-1], and sets directives[N].dir_start + to the end of the format string. Also fills in the arg_type fields of the + arguments and the needed count of arguments. */ +#if ENABLE_UNISTDIO +extern int + ulc_printf_parse (const char *format, char_directives *d, arguments *a); +extern int + u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a); +extern int + u16_printf_parse (const uint16_t *format, u16_directives *d, + arguments *a); +extern int + u32_printf_parse (const uint32_t *format, u32_directives *d, + arguments *a); +#else +# ifdef STATIC +STATIC +# else +extern +# endif +int printf_parse (const char *format, char_directives *d, arguments *a); +#endif + +#endif /* _PRINTF_PARSE_H */ diff --git a/grub-core/gnulib/progname.c b/grub-core/gnulib/progname.c new file mode 100644 index 0000000..1415e6a --- /dev/null +++ b/grub-core/gnulib/progname.c @@ -0,0 +1,92 @@ +/* Program name management. + Copyright (C) 2001-2003, 2005-2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2001. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + + +#include + +/* Specification. */ +#undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */ +#include "progname.h" + +#include /* get program_invocation_name declaration */ +#include +#include +#include + + +/* String containing name the program is called with. + To be initialized by main(). */ +const char *program_name = NULL; + +/* Set program_name, based on argv[0]. + argv0 must be a string allocated with indefinite extent, and must not be + modified after this call. */ +void +set_program_name (const char *argv0) +{ + /* libtool creates a temporary executable whose name is sometimes prefixed + with "lt-" (depends on the platform). It also makes argv[0] absolute. + But the name of the temporary executable is a detail that should not be + visible to the end user and to the test suite. + Remove this "/.libs/" or "/.libs/lt-" prefix here. */ + const char *slash; + const char *base; + + /* Sanity check. POSIX requires the invoking process to pass a non-NULL + argv[0]. */ + if (argv0 == NULL) + { + /* It's a bug in the invoking program. Help diagnosing it. */ + fputs ("A NULL argv[0] was passed through an exec system call.\n", + stderr); + abort (); + } + + slash = strrchr (argv0, '/'); + base = (slash != NULL ? slash + 1 : argv0); + if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) + { + argv0 = base; + if (strncmp (base, "lt-", 3) == 0) + { + argv0 = base + 3; + /* On glibc systems, remove the "lt-" prefix from the variable + program_invocation_short_name. */ +#if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME + program_invocation_short_name = (char *) argv0; +#endif + } + } + + /* But don't strip off a leading / in general, because when the user + runs + /some/hidden/place/bin/cp foo foo + he should get the error message + /some/hidden/place/bin/cp: `foo' and `foo' are the same file + not + cp: `foo' and `foo' are the same file + */ + + program_name = argv0; + + /* On glibc systems, the error() function comes from libc and uses the + variable program_invocation_name, not program_name. So set this variable + as well. */ +#if HAVE_DECL_PROGRAM_INVOCATION_NAME + program_invocation_name = (char *) argv0; +#endif +} diff --git a/grub-core/gnulib/progname.h b/grub-core/gnulib/progname.h new file mode 100644 index 0000000..5ba303b --- /dev/null +++ b/grub-core/gnulib/progname.h @@ -0,0 +1,62 @@ +/* Program name management. + Copyright (C) 2001-2004, 2006, 2009-2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2001. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _PROGNAME_H +#define _PROGNAME_H + +/* Programs using this file should do the following in main(): + set_program_name (argv[0]); + */ + + +#ifdef __cplusplus +extern "C" { +#endif + + +/* String containing name the program is called with. */ +extern const char *program_name; + +/* Set program_name, based on argv[0]. + argv0 must be a string allocated with indefinite extent, and must not be + modified after this call. */ +extern void set_program_name (const char *argv0); + +#if ENABLE_RELOCATABLE + +/* Set program_name, based on argv[0], and original installation prefix and + directory, for relocatability. */ +extern void set_program_name_and_installdir (const char *argv0, + const char *orig_installprefix, + const char *orig_installdir); +#undef set_program_name +#define set_program_name(ARG0) \ + set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR) + +/* Return the full pathname of the current executable, based on the earlier + call to set_program_name_and_installdir. Return NULL if unknown. */ +extern char *get_full_program_name (void); + +#endif + + +#ifdef __cplusplus +} +#endif + + +#endif /* _PROGNAME_H */ diff --git a/grub-core/gnulib/rawmemchr.c b/grub-core/gnulib/rawmemchr.c new file mode 100644 index 0000000..0a88777 --- /dev/null +++ b/grub-core/gnulib/rawmemchr.c @@ -0,0 +1,136 @@ +/* Searching in a string. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +/* Find the first occurrence of C in S. */ +void * +rawmemchr (const void *s, int c_in) +{ + /* On 32-bit hardware, choosing longword to be a 32-bit unsigned + long instead of a 64-bit uintmax_t tends to give better + performance. On 64-bit hardware, unsigned long is generally 64 + bits already. Change this typedef to experiment with + performance. */ + typedef unsigned long int longword; + + const unsigned char *char_ptr; + const longword *longword_ptr; + longword repeated_one; + longword repeated_c; + unsigned char c; + + c = (unsigned char) c_in; + + /* Handle the first few bytes by reading one byte at a time. + Do this until CHAR_PTR is aligned on a longword boundary. */ + for (char_ptr = (const unsigned char *) s; + (size_t) char_ptr % sizeof (longword) != 0; + ++char_ptr) + if (*char_ptr == c) + return (void *) char_ptr; + + longword_ptr = (const longword *) char_ptr; + + /* All these elucidatory comments refer to 4-byte longwords, + but the theory applies equally well to any size longwords. */ + + /* Compute auxiliary longword values: + repeated_one is a value which has a 1 in every byte. + repeated_c has c in every byte. */ + repeated_one = 0x01010101; + repeated_c = c | (c << 8); + repeated_c |= repeated_c << 16; + if (0xffffffffU < (longword) -1) + { + repeated_one |= repeated_one << 31 << 1; + repeated_c |= repeated_c << 31 << 1; + if (8 < sizeof (longword)) + { + size_t i; + + for (i = 64; i < sizeof (longword) * 8; i *= 2) + { + repeated_one |= repeated_one << i; + repeated_c |= repeated_c << i; + } + } + } + + /* Instead of the traditional loop which tests each byte, we will + test a longword at a time. The tricky part is testing if *any of + the four* bytes in the longword in question are equal to NUL or + c. We first use an xor with repeated_c. This reduces the task + to testing whether *any of the four* bytes in longword1 is zero. + + We compute tmp = + ((longword1 - repeated_one) & ~longword1) & (repeated_one << 7). + That is, we perform the following operations: + 1. Subtract repeated_one. + 2. & ~longword1. + 3. & a mask consisting of 0x80 in every byte. + Consider what happens in each byte: + - If a byte of longword1 is zero, step 1 and 2 transform it into 0xff, + and step 3 transforms it into 0x80. A carry can also be propagated + to more significant bytes. + - If a byte of longword1 is nonzero, let its lowest 1 bit be at + position k (0 <= k <= 7); so the lowest k bits are 0. After step 1, + the byte ends in a single bit of value 0 and k bits of value 1. + After step 2, the result is just k bits of value 1: 2^k - 1. After + step 3, the result is 0. And no carry is produced. + So, if longword1 has only non-zero bytes, tmp is zero. + Whereas if longword1 has a zero byte, call j the position of the least + significant zero byte. Then the result has a zero at positions 0, ..., + j-1 and a 0x80 at position j. We cannot predict the result at the more + significant bytes (positions j+1..3), but it does not matter since we + already have a non-zero bit at position 8*j+7. + + The test whether any byte in longword1 is zero is equivalent + to testing whether tmp is nonzero. + + This test can read beyond the end of a string, depending on where + C_IN is encountered. However, this is considered safe since the + initialization phase ensured that the read will be aligned, + therefore, the read will not cross page boundaries and will not + cause a fault. */ + + while (1) + { + longword longword1 = *longword_ptr ^ repeated_c; + + if ((((longword1 - repeated_one) & ~longword1) + & (repeated_one << 7)) != 0) + break; + longword_ptr++; + } + + char_ptr = (const unsigned char *) longword_ptr; + + /* At this point, we know that one of the sizeof (longword) bytes + starting at char_ptr is == c. On little-endian machines, we + could determine the first such byte without any further memory + accesses, just by looking at the tmp result from the last loop + iteration. But this does not work on big-endian machines. + Choose code that works in both cases. */ + + char_ptr = (unsigned char *) longword_ptr; + while (*char_ptr != c) + char_ptr++; + return (void *) char_ptr; +} diff --git a/grub-core/gnulib/rawmemchr.valgrind b/grub-core/gnulib/rawmemchr.valgrind new file mode 100644 index 0000000..6363923 --- /dev/null +++ b/grub-core/gnulib/rawmemchr.valgrind @@ -0,0 +1,12 @@ +# Suppress a valgrind message about use of uninitialized memory in rawmemchr(). +# This use is OK because it provides only a speedup. +{ + rawmemchr-value4 + Memcheck:Value4 + fun:rawmemchr +} +{ + rawmemchr-value8 + Memcheck:Value8 + fun:rawmemchr +} diff --git a/grub-core/gnulib/realloc.c b/grub-core/gnulib/realloc.c new file mode 100644 index 0000000..053208f --- /dev/null +++ b/grub-core/gnulib/realloc.c @@ -0,0 +1,91 @@ +/* realloc() function that is glibc compatible. + + Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2010 Free Software + Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* written by Jim Meyering and Bruno Haible */ + +#include + +/* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */ +#ifdef realloc +# define NEED_REALLOC_GNU 1 +/* Whereas the gnulib module 'realloc-gnu' defines HAVE_REALLOC_GNU. */ +#elif GNULIB_REALLOC_GNU && !HAVE_REALLOC_GNU +# define NEED_REALLOC_GNU 1 +#endif + +/* Infer the properties of the system's malloc function. + The gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ +#if GNULIB_MALLOC_GNU && HAVE_MALLOC_GNU +# define SYSTEM_MALLOC_GLIBC_COMPATIBLE 1 +#endif + +/* Below we want to call the system's malloc and realloc. + Undefine the symbols here so that including provides a + declaration of malloc(), not of rpl_malloc(), and likewise for realloc. */ +#undef malloc +#undef realloc + +/* Specification. */ +#include + +#include + +/* Below we want to call the system's malloc and realloc. + Undefine the symbols, if they were defined by gnulib's + replacement. */ +#undef malloc +#undef realloc + +/* Change the size of an allocated block of memory P to N bytes, + with error checking. If N is zero, change it to 1. If P is NULL, + use malloc. */ + +void * +rpl_realloc (void *p, size_t n) +{ + void *result; + +#if NEED_REALLOC_GNU + if (n == 0) + { + n = 1; + + /* In theory realloc might fail, so don't rely on it to free. */ + free (p); + p = NULL; + } +#endif + + if (p == NULL) + { +#if GNULIB_REALLOC_GNU && !NEED_REALLOC_GNU && !SYSTEM_MALLOC_GLIBC_COMPATIBLE + if (n == 0) + n = 1; +#endif + result = malloc (n); + } + else + result = realloc (p, n); + +#if !HAVE_REALLOC_POSIX + if (result == NULL) + errno = ENOMEM; +#endif + + return result; +} diff --git a/grub-core/gnulib/ref-add.sin b/grub-core/gnulib/ref-add.sin new file mode 100644 index 0000000..dbb61df --- /dev/null +++ b/grub-core/gnulib/ref-add.sin @@ -0,0 +1,30 @@ +# Add this package to a list of references stored in a text file. +# +# Copyright (C) 2000, 2009, 2010 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# Written by Bruno Haible . +# +/^# Packages using this file: / { + s/# Packages using this file:// + ta + :a + s/ @PACKAGE@ / @PACKAGE@ / + tb + s/ $/ @PACKAGE@ / + :b + s/^/# Packages using this file:/ +} diff --git a/grub-core/gnulib/ref-del.sin b/grub-core/gnulib/ref-del.sin new file mode 100644 index 0000000..4c31a6e --- /dev/null +++ b/grub-core/gnulib/ref-del.sin @@ -0,0 +1,25 @@ +# Remove this package from a list of references stored in a text file. +# +# Copyright (C) 2000, 2009, 2010 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# Written by Bruno Haible . +# +/^# Packages using this file: / { + s/# Packages using this file:// + s/ @PACKAGE@ / / + s/^/# Packages using this file:/ +} diff --git a/grub-core/gnulib/regcomp.c b/grub-core/gnulib/regcomp.c new file mode 100644 index 0000000..86ca02b --- /dev/null +++ b/grub-core/gnulib/regcomp.c @@ -0,0 +1,3877 @@ +/* Extended regular expression matching and search library. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free + Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Isamu Hasegawa . + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern, + size_t length, reg_syntax_t syntax); +static void re_compile_fastmap_iter (regex_t *bufp, + const re_dfastate_t *init_state, + char *fastmap); +static reg_errcode_t init_dfa (re_dfa_t *dfa, size_t pat_len); +#ifdef RE_ENABLE_I18N +static void free_charset (re_charset_t *cset); +#endif /* RE_ENABLE_I18N */ +static void free_workarea_compile (regex_t *preg); +static reg_errcode_t create_initial_state (re_dfa_t *dfa); +#ifdef RE_ENABLE_I18N +static void optimize_utf8 (re_dfa_t *dfa); +#endif +static reg_errcode_t analyze (regex_t *preg); +static reg_errcode_t preorder (bin_tree_t *root, + reg_errcode_t (fn (void *, bin_tree_t *)), + void *extra); +static reg_errcode_t postorder (bin_tree_t *root, + reg_errcode_t (fn (void *, bin_tree_t *)), + void *extra); +static reg_errcode_t optimize_subexps (void *extra, bin_tree_t *node); +static reg_errcode_t lower_subexps (void *extra, bin_tree_t *node); +static bin_tree_t *lower_subexp (reg_errcode_t *err, regex_t *preg, + bin_tree_t *node); +static reg_errcode_t calc_first (void *extra, bin_tree_t *node); +static reg_errcode_t calc_next (void *extra, bin_tree_t *node); +static reg_errcode_t link_nfa_nodes (void *extra, bin_tree_t *node); +static Idx duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint); +static Idx search_duplicated_node (const re_dfa_t *dfa, Idx org_node, + unsigned int constraint); +static reg_errcode_t calc_eclosure (re_dfa_t *dfa); +static reg_errcode_t calc_eclosure_iter (re_node_set *new_set, re_dfa_t *dfa, + Idx node, bool root); +static reg_errcode_t calc_inveclosure (re_dfa_t *dfa); +static Idx fetch_number (re_string_t *input, re_token_t *token, + reg_syntax_t syntax); +static int peek_token (re_token_t *token, re_string_t *input, + reg_syntax_t syntax) internal_function; +static bin_tree_t *parse (re_string_t *regexp, regex_t *preg, + reg_syntax_t syntax, reg_errcode_t *err); +static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg, + re_token_t *token, reg_syntax_t syntax, + Idx nest, reg_errcode_t *err); +static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg, + re_token_t *token, reg_syntax_t syntax, + Idx nest, reg_errcode_t *err); +static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg, + re_token_t *token, reg_syntax_t syntax, + Idx nest, reg_errcode_t *err); +static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg, + re_token_t *token, reg_syntax_t syntax, + Idx nest, reg_errcode_t *err); +static bin_tree_t *parse_dup_op (bin_tree_t *dup_elem, re_string_t *regexp, + re_dfa_t *dfa, re_token_t *token, + reg_syntax_t syntax, reg_errcode_t *err); +static bin_tree_t *parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, + re_token_t *token, reg_syntax_t syntax, + reg_errcode_t *err); +static reg_errcode_t parse_bracket_element (bracket_elem_t *elem, + re_string_t *regexp, + re_token_t *token, int token_len, + re_dfa_t *dfa, + reg_syntax_t syntax, + bool accept_hyphen); +static reg_errcode_t parse_bracket_symbol (bracket_elem_t *elem, + re_string_t *regexp, + re_token_t *token); +#ifdef RE_ENABLE_I18N +static reg_errcode_t build_equiv_class (bitset_t sbcset, + re_charset_t *mbcset, + Idx *equiv_class_alloc, + const unsigned char *name); +static reg_errcode_t build_charclass (RE_TRANSLATE_TYPE trans, + bitset_t sbcset, + re_charset_t *mbcset, + Idx *char_class_alloc, + const unsigned char *class_name, + reg_syntax_t syntax); +#else /* not RE_ENABLE_I18N */ +static reg_errcode_t build_equiv_class (bitset_t sbcset, + const unsigned char *name); +static reg_errcode_t build_charclass (RE_TRANSLATE_TYPE trans, + bitset_t sbcset, + const unsigned char *class_name, + reg_syntax_t syntax); +#endif /* not RE_ENABLE_I18N */ +static bin_tree_t *build_charclass_op (re_dfa_t *dfa, + RE_TRANSLATE_TYPE trans, + const unsigned char *class_name, + const unsigned char *extra, + bool non_match, reg_errcode_t *err); +static bin_tree_t *create_tree (re_dfa_t *dfa, + bin_tree_t *left, bin_tree_t *right, + re_token_type_t type); +static bin_tree_t *create_token_tree (re_dfa_t *dfa, + bin_tree_t *left, bin_tree_t *right, + const re_token_t *token); +static bin_tree_t *duplicate_tree (const bin_tree_t *src, re_dfa_t *dfa); +static void free_token (re_token_t *node); +static reg_errcode_t free_tree (void *extra, bin_tree_t *node); +static reg_errcode_t mark_opt_subexp (void *extra, bin_tree_t *node); + +/* This table gives an error message for each of the error codes listed + in regex.h. Obviously the order here has to be same as there. + POSIX doesn't require that we do anything for REG_NOERROR, + but why not be nice? */ + +static const char __re_error_msgid[] = + { +#define REG_NOERROR_IDX 0 + gettext_noop ("Success") /* REG_NOERROR */ + "\0" +#define REG_NOMATCH_IDX (REG_NOERROR_IDX + sizeof "Success") + gettext_noop ("No match") /* REG_NOMATCH */ + "\0" +#define REG_BADPAT_IDX (REG_NOMATCH_IDX + sizeof "No match") + gettext_noop ("Invalid regular expression") /* REG_BADPAT */ + "\0" +#define REG_ECOLLATE_IDX (REG_BADPAT_IDX + sizeof "Invalid regular expression") + gettext_noop ("Invalid collation character") /* REG_ECOLLATE */ + "\0" +#define REG_ECTYPE_IDX (REG_ECOLLATE_IDX + sizeof "Invalid collation character") + gettext_noop ("Invalid character class name") /* REG_ECTYPE */ + "\0" +#define REG_EESCAPE_IDX (REG_ECTYPE_IDX + sizeof "Invalid character class name") + gettext_noop ("Trailing backslash") /* REG_EESCAPE */ + "\0" +#define REG_ESUBREG_IDX (REG_EESCAPE_IDX + sizeof "Trailing backslash") + gettext_noop ("Invalid back reference") /* REG_ESUBREG */ + "\0" +#define REG_EBRACK_IDX (REG_ESUBREG_IDX + sizeof "Invalid back reference") + gettext_noop ("Unmatched [ or [^") /* REG_EBRACK */ + "\0" +#define REG_EPAREN_IDX (REG_EBRACK_IDX + sizeof "Unmatched [ or [^") + gettext_noop ("Unmatched ( or \\(") /* REG_EPAREN */ + "\0" +#define REG_EBRACE_IDX (REG_EPAREN_IDX + sizeof "Unmatched ( or \\(") + gettext_noop ("Unmatched \\{") /* REG_EBRACE */ + "\0" +#define REG_BADBR_IDX (REG_EBRACE_IDX + sizeof "Unmatched \\{") + gettext_noop ("Invalid content of \\{\\}") /* REG_BADBR */ + "\0" +#define REG_ERANGE_IDX (REG_BADBR_IDX + sizeof "Invalid content of \\{\\}") + gettext_noop ("Invalid range end") /* REG_ERANGE */ + "\0" +#define REG_ESPACE_IDX (REG_ERANGE_IDX + sizeof "Invalid range end") + gettext_noop ("Memory exhausted") /* REG_ESPACE */ + "\0" +#define REG_BADRPT_IDX (REG_ESPACE_IDX + sizeof "Memory exhausted") + gettext_noop ("Invalid preceding regular expression") /* REG_BADRPT */ + "\0" +#define REG_EEND_IDX (REG_BADRPT_IDX + sizeof "Invalid preceding regular expression") + gettext_noop ("Premature end of regular expression") /* REG_EEND */ + "\0" +#define REG_ESIZE_IDX (REG_EEND_IDX + sizeof "Premature end of regular expression") + gettext_noop ("Regular expression too big") /* REG_ESIZE */ + "\0" +#define REG_ERPAREN_IDX (REG_ESIZE_IDX + sizeof "Regular expression too big") + gettext_noop ("Unmatched ) or \\)") /* REG_ERPAREN */ + }; + +static const size_t __re_error_msgid_idx[] = + { + REG_NOERROR_IDX, + REG_NOMATCH_IDX, + REG_BADPAT_IDX, + REG_ECOLLATE_IDX, + REG_ECTYPE_IDX, + REG_EESCAPE_IDX, + REG_ESUBREG_IDX, + REG_EBRACK_IDX, + REG_EPAREN_IDX, + REG_EBRACE_IDX, + REG_BADBR_IDX, + REG_ERANGE_IDX, + REG_ESPACE_IDX, + REG_BADRPT_IDX, + REG_EEND_IDX, + REG_ESIZE_IDX, + REG_ERPAREN_IDX + }; + +/* Entry points for GNU code. */ + +/* re_compile_pattern is the GNU regular expression compiler: it + compiles PATTERN (of length LENGTH) and puts the result in BUFP. + Returns 0 if the pattern was valid, otherwise an error string. + + Assumes the `allocated' (and perhaps `buffer') and `translate' fields + are set in BUFP on entry. */ + +#ifdef _LIBC +const char * +re_compile_pattern (pattern, length, bufp) + const char *pattern; + size_t length; + struct re_pattern_buffer *bufp; +#else /* size_t might promote */ +const char * +re_compile_pattern (const char *pattern, size_t length, + struct re_pattern_buffer *bufp) +#endif +{ + reg_errcode_t ret; + + /* And GNU code determines whether or not to get register information + by passing null for the REGS argument to re_match, etc., not by + setting no_sub, unless RE_NO_SUB is set. */ + bufp->no_sub = !!(re_syntax_options & RE_NO_SUB); + + /* Match anchors at newline. */ + bufp->newline_anchor = 1; + + ret = re_compile_internal (bufp, pattern, length, re_syntax_options); + + if (!ret) + return NULL; + return gettext (__re_error_msgid + __re_error_msgid_idx[(int) ret]); +} +#ifdef _LIBC +weak_alias (__re_compile_pattern, re_compile_pattern) +#endif + +/* Set by `re_set_syntax' to the current regexp syntax to recognize. Can + also be assigned to arbitrarily: each pattern buffer stores its own + syntax, so it can be changed between regex compilations. */ +/* This has no initializer because initialized variables in Emacs + become read-only after dumping. */ +reg_syntax_t re_syntax_options; + + +/* Specify the precise syntax of regexps for compilation. This provides + for compatibility for various utilities which historically have + different, incompatible syntaxes. + + The argument SYNTAX is a bit mask comprised of the various bits + defined in regex.h. We return the old syntax. */ + +reg_syntax_t +re_set_syntax (syntax) + reg_syntax_t syntax; +{ + reg_syntax_t ret = re_syntax_options; + + re_syntax_options = syntax; + return ret; +} +#ifdef _LIBC +weak_alias (__re_set_syntax, re_set_syntax) +#endif + +int +re_compile_fastmap (bufp) + struct re_pattern_buffer *bufp; +{ + re_dfa_t *dfa = (re_dfa_t *) bufp->buffer; + char *fastmap = bufp->fastmap; + + memset (fastmap, '\0', sizeof (char) * SBC_MAX); + re_compile_fastmap_iter (bufp, dfa->init_state, fastmap); + if (dfa->init_state != dfa->init_state_word) + re_compile_fastmap_iter (bufp, dfa->init_state_word, fastmap); + if (dfa->init_state != dfa->init_state_nl) + re_compile_fastmap_iter (bufp, dfa->init_state_nl, fastmap); + if (dfa->init_state != dfa->init_state_begbuf) + re_compile_fastmap_iter (bufp, dfa->init_state_begbuf, fastmap); + bufp->fastmap_accurate = 1; + return 0; +} +#ifdef _LIBC +weak_alias (__re_compile_fastmap, re_compile_fastmap) +#endif + +static inline void +__attribute ((always_inline)) +re_set_fastmap (char *fastmap, bool icase, int ch) +{ + fastmap[ch] = 1; + if (icase) + fastmap[tolower (ch)] = 1; +} + +/* Helper function for re_compile_fastmap. + Compile fastmap for the initial_state INIT_STATE. */ + +static void +re_compile_fastmap_iter (regex_t *bufp, const re_dfastate_t *init_state, + char *fastmap) +{ + re_dfa_t *dfa = (re_dfa_t *) bufp->buffer; + Idx node_cnt; + bool icase = (dfa->mb_cur_max == 1 && (bufp->syntax & RE_ICASE)); + for (node_cnt = 0; node_cnt < init_state->nodes.nelem; ++node_cnt) + { + Idx node = init_state->nodes.elems[node_cnt]; + re_token_type_t type = dfa->nodes[node].type; + + if (type == CHARACTER) + { + re_set_fastmap (fastmap, icase, dfa->nodes[node].opr.c); +#ifdef RE_ENABLE_I18N + if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) + { + unsigned char buf[MB_LEN_MAX]; + unsigned char *p; + wchar_t wc; + mbstate_t state; + + p = buf; + *p++ = dfa->nodes[node].opr.c; + while (++node < dfa->nodes_len + && dfa->nodes[node].type == CHARACTER + && dfa->nodes[node].mb_partial) + *p++ = dfa->nodes[node].opr.c; + memset (&state, '\0', sizeof (state)); + if (__mbrtowc (&wc, (const char *) buf, p - buf, + &state) == p - buf + && (__wcrtomb ((char *) buf, towlower (wc), &state) + != (size_t) -1)) + re_set_fastmap (fastmap, false, buf[0]); + } +#endif + } + else if (type == SIMPLE_BRACKET) + { + int i, ch; + for (i = 0, ch = 0; i < BITSET_WORDS; ++i) + { + int j; + bitset_word_t w = dfa->nodes[node].opr.sbcset[i]; + for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) + if (w & ((bitset_word_t) 1 << j)) + re_set_fastmap (fastmap, icase, ch); + } + } +#ifdef RE_ENABLE_I18N + else if (type == COMPLEX_BRACKET) + { + re_charset_t *cset = dfa->nodes[node].opr.mbcset; + Idx i; + +# ifdef _LIBC + /* See if we have to try all bytes which start multiple collation + elements. + e.g. In da_DK, we want to catch 'a' since "aa" is a valid + collation element, and don't catch 'b' since 'b' is + the only collation element which starts from 'b' (and + it is caught by SIMPLE_BRACKET). */ + if (_NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES) != 0 + && (cset->ncoll_syms || cset->nranges)) + { + const int32_t *table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); + for (i = 0; i < SBC_MAX; ++i) + if (table[i] < 0) + re_set_fastmap (fastmap, icase, i); + } +# endif /* _LIBC */ + + /* See if we have to start the match at all multibyte characters, + i.e. where we would not find an invalid sequence. This only + applies to multibyte character sets; for single byte character + sets, the SIMPLE_BRACKET again suffices. */ + if (dfa->mb_cur_max > 1 + && (cset->nchar_classes || cset->non_match || cset->nranges +# ifdef _LIBC + || cset->nequiv_classes +# endif /* _LIBC */ + )) + { + unsigned char c = 0; + do + { + mbstate_t mbs; + memset (&mbs, 0, sizeof (mbs)); + if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2) + re_set_fastmap (fastmap, false, (int) c); + } + while (++c != 0); + } + + else + { + /* ... Else catch all bytes which can start the mbchars. */ + for (i = 0; i < cset->nmbchars; ++i) + { + char buf[256]; + mbstate_t state; + memset (&state, '\0', sizeof (state)); + if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) + re_set_fastmap (fastmap, icase, *(unsigned char *) buf); + if ((bufp->syntax & RE_ICASE) && dfa->mb_cur_max > 1) + { + if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) + != (size_t) -1) + re_set_fastmap (fastmap, false, *(unsigned char *) buf); + } + } + } + } +#endif /* RE_ENABLE_I18N */ + else if (type == OP_PERIOD +#ifdef RE_ENABLE_I18N + || type == OP_UTF8_PERIOD +#endif /* RE_ENABLE_I18N */ + || type == END_OF_RE) + { + memset (fastmap, '\1', sizeof (char) * SBC_MAX); + if (type == END_OF_RE) + bufp->can_be_null = 1; + return; + } + } +} + +/* Entry point for POSIX code. */ +/* regcomp takes a regular expression as a string and compiles it. + + PREG is a regex_t *. We do not expect any fields to be initialized, + since POSIX says we shouldn't. Thus, we set + + `buffer' to the compiled pattern; + `used' to the length of the compiled pattern; + `syntax' to RE_SYNTAX_POSIX_EXTENDED if the + REG_EXTENDED bit in CFLAGS is set; otherwise, to + RE_SYNTAX_POSIX_BASIC; + `newline_anchor' to REG_NEWLINE being set in CFLAGS; + `fastmap' to an allocated space for the fastmap; + `fastmap_accurate' to zero; + `re_nsub' to the number of subexpressions in PATTERN. + + PATTERN is the address of the pattern string. + + CFLAGS is a series of bits which affect compilation. + + If REG_EXTENDED is set, we use POSIX extended syntax; otherwise, we + use POSIX basic syntax. + + If REG_NEWLINE is set, then . and [^...] don't match newline. + Also, regexec will try a match beginning after every newline. + + If REG_ICASE is set, then we considers upper- and lowercase + versions of letters to be equivalent when matching. + + If REG_NOSUB is set, then when PREG is passed to regexec, that + routine will report only success or failure, and nothing about the + registers. + + It returns 0 if it succeeds, nonzero if it doesn't. (See regex.h for + the return codes and their meanings.) */ + +int +regcomp (preg, pattern, cflags) + regex_t *_Restrict_ preg; + const char *_Restrict_ pattern; + int cflags; +{ + reg_errcode_t ret; + reg_syntax_t syntax = ((cflags & REG_EXTENDED) ? RE_SYNTAX_POSIX_EXTENDED + : RE_SYNTAX_POSIX_BASIC); + + preg->buffer = NULL; + preg->allocated = 0; + preg->used = 0; + + /* Try to allocate space for the fastmap. */ + preg->fastmap = re_malloc (char, SBC_MAX); + if (BE (preg->fastmap == NULL, 0)) + return REG_ESPACE; + + syntax |= (cflags & REG_ICASE) ? RE_ICASE : 0; + + /* If REG_NEWLINE is set, newlines are treated differently. */ + if (cflags & REG_NEWLINE) + { /* REG_NEWLINE implies neither . nor [^...] match newline. */ + syntax &= ~RE_DOT_NEWLINE; + syntax |= RE_HAT_LISTS_NOT_NEWLINE; + /* It also changes the matching behavior. */ + preg->newline_anchor = 1; + } + else + preg->newline_anchor = 0; + preg->no_sub = !!(cflags & REG_NOSUB); + preg->translate = NULL; + + ret = re_compile_internal (preg, pattern, strlen (pattern), syntax); + + /* POSIX doesn't distinguish between an unmatched open-group and an + unmatched close-group: both are REG_EPAREN. */ + if (ret == REG_ERPAREN) + ret = REG_EPAREN; + + /* We have already checked preg->fastmap != NULL. */ + if (BE (ret == REG_NOERROR, 1)) + /* Compute the fastmap now, since regexec cannot modify the pattern + buffer. This function never fails in this implementation. */ + (void) re_compile_fastmap (preg); + else + { + /* Some error occurred while compiling the expression. */ + re_free (preg->fastmap); + preg->fastmap = NULL; + } + + return (int) ret; +} +#ifdef _LIBC +weak_alias (__regcomp, regcomp) +#endif + +/* Returns a message corresponding to an error code, ERRCODE, returned + from either regcomp or regexec. We don't use PREG here. */ + +#ifdef _LIBC +size_t +regerror (errcode, preg, errbuf, errbuf_size) + int errcode; + const regex_t *_Restrict_ preg; + char *_Restrict_ errbuf; + size_t errbuf_size; +#else /* size_t might promote */ +size_t +regerror (int errcode, const regex_t *_Restrict_ preg, + char *_Restrict_ errbuf, size_t errbuf_size) +#endif +{ + const char *msg; + size_t msg_size; + + if (BE (errcode < 0 + || errcode >= (int) (sizeof (__re_error_msgid_idx) + / sizeof (__re_error_msgid_idx[0])), 0)) + /* Only error codes returned by the rest of the code should be passed + to this routine. If we are given anything else, or if other regex + code generates an invalid error code, then the program has a bug. + Dump core so we can fix it. */ + abort (); + + msg = gettext (__re_error_msgid + __re_error_msgid_idx[errcode]); + + msg_size = strlen (msg) + 1; /* Includes the null. */ + + if (BE (errbuf_size != 0, 1)) + { + size_t cpy_size = msg_size; + if (BE (msg_size > errbuf_size, 0)) + { + cpy_size = errbuf_size - 1; + errbuf[cpy_size] = '\0'; + } + memcpy (errbuf, msg, cpy_size); + } + + return msg_size; +} +#ifdef _LIBC +weak_alias (__regerror, regerror) +#endif + + +#ifdef RE_ENABLE_I18N +/* This static array is used for the map to single-byte characters when + UTF-8 is used. Otherwise we would allocate memory just to initialize + it the same all the time. UTF-8 is the preferred encoding so this is + a worthwhile optimization. */ +static const bitset_t utf8_sb_map = +{ + /* Set the first 128 bits. */ +# if 4 * BITSET_WORD_BITS < ASCII_CHARS +# error "bitset_word_t is narrower than 32 bits" +# elif 3 * BITSET_WORD_BITS < ASCII_CHARS + BITSET_WORD_MAX, BITSET_WORD_MAX, BITSET_WORD_MAX, +# elif 2 * BITSET_WORD_BITS < ASCII_CHARS + BITSET_WORD_MAX, BITSET_WORD_MAX, +# elif 1 * BITSET_WORD_BITS < ASCII_CHARS + BITSET_WORD_MAX, +# endif + (BITSET_WORD_MAX + >> (SBC_MAX % BITSET_WORD_BITS == 0 + ? 0 + : BITSET_WORD_BITS - SBC_MAX % BITSET_WORD_BITS)) +}; +#endif + + +static void +free_dfa_content (re_dfa_t *dfa) +{ + Idx i, j; + + if (dfa->nodes) + for (i = 0; i < dfa->nodes_len; ++i) + free_token (dfa->nodes + i); + re_free (dfa->nexts); + for (i = 0; i < dfa->nodes_len; ++i) + { + if (dfa->eclosures != NULL) + re_node_set_free (dfa->eclosures + i); + if (dfa->inveclosures != NULL) + re_node_set_free (dfa->inveclosures + i); + if (dfa->edests != NULL) + re_node_set_free (dfa->edests + i); + } + re_free (dfa->edests); + re_free (dfa->eclosures); + re_free (dfa->inveclosures); + re_free (dfa->nodes); + + if (dfa->state_table) + for (i = 0; i <= dfa->state_hash_mask; ++i) + { + struct re_state_table_entry *entry = dfa->state_table + i; + for (j = 0; j < entry->num; ++j) + { + re_dfastate_t *state = entry->array[j]; + free_state (state); + } + re_free (entry->array); + } + re_free (dfa->state_table); +#ifdef RE_ENABLE_I18N + if (dfa->sb_char != utf8_sb_map) + re_free (dfa->sb_char); +#endif + re_free (dfa->subexp_map); +#ifdef DEBUG + re_free (dfa->re_str); +#endif + + re_free (dfa); +} + + +/* Free dynamically allocated space used by PREG. */ + +void +regfree (preg) + regex_t *preg; +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + if (BE (dfa != NULL, 1)) + free_dfa_content (dfa); + preg->buffer = NULL; + preg->allocated = 0; + + re_free (preg->fastmap); + preg->fastmap = NULL; + + re_free (preg->translate); + preg->translate = NULL; +} +#ifdef _LIBC +weak_alias (__regfree, regfree) +#endif + +/* Entry points compatible with 4.2 BSD regex library. We don't define + them unless specifically requested. */ + +#if defined _REGEX_RE_COMP || defined _LIBC + +/* BSD has one and only one pattern buffer. */ +static struct re_pattern_buffer re_comp_buf; + +char * +# ifdef _LIBC +/* Make these definitions weak in libc, so POSIX programs can redefine + these names if they don't use our functions, and still use + regcomp/regexec above without link errors. */ +weak_function +# endif +re_comp (s) + const char *s; +{ + reg_errcode_t ret; + char *fastmap; + + if (!s) + { + if (!re_comp_buf.buffer) + return gettext ("No previous regular expression"); + return 0; + } + + if (re_comp_buf.buffer) + { + fastmap = re_comp_buf.fastmap; + re_comp_buf.fastmap = NULL; + __regfree (&re_comp_buf); + memset (&re_comp_buf, '\0', sizeof (re_comp_buf)); + re_comp_buf.fastmap = fastmap; + } + + if (re_comp_buf.fastmap == NULL) + { + re_comp_buf.fastmap = (char *) malloc (SBC_MAX); + if (re_comp_buf.fastmap == NULL) + return (char *) gettext (__re_error_msgid + + __re_error_msgid_idx[(int) REG_ESPACE]); + } + + /* Since `re_exec' always passes NULL for the `regs' argument, we + don't need to initialize the pattern buffer fields which affect it. */ + + /* Match anchors at newlines. */ + re_comp_buf.newline_anchor = 1; + + ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options); + + if (!ret) + return NULL; + + /* Yes, we're discarding `const' here if !HAVE_LIBINTL. */ + return (char *) gettext (__re_error_msgid + __re_error_msgid_idx[(int) ret]); +} + +#ifdef _LIBC +libc_freeres_fn (free_mem) +{ + __regfree (&re_comp_buf); +} +#endif + +#endif /* _REGEX_RE_COMP */ + +/* Internal entry point. + Compile the regular expression PATTERN, whose length is LENGTH. + SYNTAX indicate regular expression's syntax. */ + +static reg_errcode_t +re_compile_internal (regex_t *preg, const char * pattern, size_t length, + reg_syntax_t syntax) +{ + reg_errcode_t err = REG_NOERROR; + re_dfa_t *dfa; + re_string_t regexp; + + /* Initialize the pattern buffer. */ + preg->fastmap_accurate = 0; + preg->syntax = syntax; + preg->not_bol = preg->not_eol = 0; + preg->used = 0; + preg->re_nsub = 0; + preg->can_be_null = 0; + preg->regs_allocated = REGS_UNALLOCATED; + + /* Initialize the dfa. */ + dfa = (re_dfa_t *) preg->buffer; + if (BE (preg->allocated < sizeof (re_dfa_t), 0)) + { + /* If zero allocated, but buffer is non-null, try to realloc + enough space. This loses if buffer's address is bogus, but + that is the user's responsibility. If ->buffer is NULL this + is a simple allocation. */ + dfa = re_realloc (preg->buffer, re_dfa_t, 1); + if (dfa == NULL) + return REG_ESPACE; + preg->allocated = sizeof (re_dfa_t); + preg->buffer = (unsigned char *) dfa; + } + preg->used = sizeof (re_dfa_t); + + err = init_dfa (dfa, length); + if (BE (err != REG_NOERROR, 0)) + { + free_dfa_content (dfa); + preg->buffer = NULL; + preg->allocated = 0; + return err; + } +#ifdef DEBUG + /* Note: length+1 will not overflow since it is checked in init_dfa. */ + dfa->re_str = re_malloc (char, length + 1); + strncpy (dfa->re_str, pattern, length + 1); +#endif + + __libc_lock_init (dfa->lock); + + err = re_string_construct (®exp, pattern, length, preg->translate, + (syntax & RE_ICASE) != 0, dfa); + if (BE (err != REG_NOERROR, 0)) + { + re_compile_internal_free_return: + free_workarea_compile (preg); + re_string_destruct (®exp); + free_dfa_content (dfa); + preg->buffer = NULL; + preg->allocated = 0; + return err; + } + + /* Parse the regular expression, and build a structure tree. */ + preg->re_nsub = 0; + dfa->str_tree = parse (®exp, preg, syntax, &err); + if (BE (dfa->str_tree == NULL, 0)) + goto re_compile_internal_free_return; + + /* Analyze the tree and create the nfa. */ + err = analyze (preg); + if (BE (err != REG_NOERROR, 0)) + goto re_compile_internal_free_return; + +#ifdef RE_ENABLE_I18N + /* If possible, do searching in single byte encoding to speed things up. */ + if (dfa->is_utf8 && !(syntax & RE_ICASE) && preg->translate == NULL) + optimize_utf8 (dfa); +#endif + + /* Then create the initial state of the dfa. */ + err = create_initial_state (dfa); + + /* Release work areas. */ + free_workarea_compile (preg); + re_string_destruct (®exp); + + if (BE (err != REG_NOERROR, 0)) + { + free_dfa_content (dfa); + preg->buffer = NULL; + preg->allocated = 0; + } + + return err; +} + +/* Initialize DFA. We use the length of the regular expression PAT_LEN + as the initial length of some arrays. */ + +static reg_errcode_t +init_dfa (re_dfa_t *dfa, size_t pat_len) +{ + __re_size_t table_size; +#ifndef _LIBC + char *codeset_name; +#endif +#ifdef RE_ENABLE_I18N + size_t max_i18n_object_size = MAX (sizeof (wchar_t), sizeof (wctype_t)); +#else + size_t max_i18n_object_size = 0; +#endif + size_t max_object_size = + MAX (sizeof (struct re_state_table_entry), + MAX (sizeof (re_token_t), + MAX (sizeof (re_node_set), + MAX (sizeof (regmatch_t), + max_i18n_object_size)))); + + memset (dfa, '\0', sizeof (re_dfa_t)); + + /* Force allocation of str_tree_storage the first time. */ + dfa->str_tree_storage_idx = BIN_TREE_STORAGE_SIZE; + + /* Avoid overflows. The extra "/ 2" is for the table_size doubling + calculation below, and for similar doubling calculations + elsewhere. And it's <= rather than <, because some of the + doubling calculations add 1 afterwards. */ + if (BE (SIZE_MAX / max_object_size / 2 <= pat_len, 0)) + return REG_ESPACE; + + dfa->nodes_alloc = pat_len + 1; + dfa->nodes = re_malloc (re_token_t, dfa->nodes_alloc); + + /* table_size = 2 ^ ceil(log pat_len) */ + for (table_size = 1; ; table_size <<= 1) + if (table_size > pat_len) + break; + + dfa->state_table = calloc (sizeof (struct re_state_table_entry), table_size); + dfa->state_hash_mask = table_size - 1; + + dfa->mb_cur_max = MB_CUR_MAX; +#ifdef _LIBC + if (dfa->mb_cur_max == 6 + && strcmp (_NL_CURRENT (LC_CTYPE, _NL_CTYPE_CODESET_NAME), "UTF-8") == 0) + dfa->is_utf8 = 1; + dfa->map_notascii = (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MAP_TO_NONASCII) + != 0); +#else + codeset_name = nl_langinfo (CODESET); + if (strcasecmp (codeset_name, "UTF-8") == 0 + || strcasecmp (codeset_name, "UTF8") == 0) + dfa->is_utf8 = 1; + + /* We check exhaustively in the loop below if this charset is a + superset of ASCII. */ + dfa->map_notascii = 0; +#endif + +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + { + if (dfa->is_utf8) + dfa->sb_char = (re_bitset_ptr_t) utf8_sb_map; + else + { + int i, j, ch; + + dfa->sb_char = (re_bitset_ptr_t) calloc (sizeof (bitset_t), 1); + if (BE (dfa->sb_char == NULL, 0)) + return REG_ESPACE; + + /* Set the bits corresponding to single byte chars. */ + for (i = 0, ch = 0; i < BITSET_WORDS; ++i) + for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) + { + wint_t wch = __btowc (ch); + if (wch != WEOF) + dfa->sb_char[i] |= (bitset_word_t) 1 << j; +# ifndef _LIBC + if (isascii (ch) && wch != ch) + dfa->map_notascii = 1; +# endif + } + } + } +#endif + + if (BE (dfa->nodes == NULL || dfa->state_table == NULL, 0)) + return REG_ESPACE; + return REG_NOERROR; +} + +/* Initialize WORD_CHAR table, which indicate which character is + "word". In this case "word" means that it is the word construction + character used by some operators like "\<", "\>", etc. */ + +static void +internal_function +init_word_char (re_dfa_t *dfa) +{ + int i, j, ch; + dfa->word_ops_used = 1; + for (i = 0, ch = 0; i < BITSET_WORDS; ++i) + for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) + if (isalnum (ch) || ch == '_') + dfa->word_char[i] |= (bitset_word_t) 1 << j; +} + +/* Free the work area which are only used while compiling. */ + +static void +free_workarea_compile (regex_t *preg) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + bin_tree_storage_t *storage, *next; + for (storage = dfa->str_tree_storage; storage; storage = next) + { + next = storage->next; + re_free (storage); + } + dfa->str_tree_storage = NULL; + dfa->str_tree_storage_idx = BIN_TREE_STORAGE_SIZE; + dfa->str_tree = NULL; + re_free (dfa->org_indices); + dfa->org_indices = NULL; +} + +/* Create initial states for all contexts. */ + +static reg_errcode_t +create_initial_state (re_dfa_t *dfa) +{ + Idx first, i; + reg_errcode_t err; + re_node_set init_nodes; + + /* Initial states have the epsilon closure of the node which is + the first node of the regular expression. */ + first = dfa->str_tree->first->node_idx; + dfa->init_node = first; + err = re_node_set_init_copy (&init_nodes, dfa->eclosures + first); + if (BE (err != REG_NOERROR, 0)) + return err; + + /* The back-references which are in initial states can epsilon transit, + since in this case all of the subexpressions can be null. + Then we add epsilon closures of the nodes which are the next nodes of + the back-references. */ + if (dfa->nbackref > 0) + for (i = 0; i < init_nodes.nelem; ++i) + { + Idx node_idx = init_nodes.elems[i]; + re_token_type_t type = dfa->nodes[node_idx].type; + + Idx clexp_idx; + if (type != OP_BACK_REF) + continue; + for (clexp_idx = 0; clexp_idx < init_nodes.nelem; ++clexp_idx) + { + re_token_t *clexp_node; + clexp_node = dfa->nodes + init_nodes.elems[clexp_idx]; + if (clexp_node->type == OP_CLOSE_SUBEXP + && clexp_node->opr.idx == dfa->nodes[node_idx].opr.idx) + break; + } + if (clexp_idx == init_nodes.nelem) + continue; + + if (type == OP_BACK_REF) + { + Idx dest_idx = dfa->edests[node_idx].elems[0]; + if (!re_node_set_contains (&init_nodes, dest_idx)) + { + reg_errcode_t merge_err + = re_node_set_merge (&init_nodes, dfa->eclosures + dest_idx); + if (merge_err != REG_NOERROR) + return merge_err; + i = 0; + } + } + } + + /* It must be the first time to invoke acquire_state. */ + dfa->init_state = re_acquire_state_context (&err, dfa, &init_nodes, 0); + /* We don't check ERR here, since the initial state must not be NULL. */ + if (BE (dfa->init_state == NULL, 0)) + return err; + if (dfa->init_state->has_constraint) + { + dfa->init_state_word = re_acquire_state_context (&err, dfa, &init_nodes, + CONTEXT_WORD); + dfa->init_state_nl = re_acquire_state_context (&err, dfa, &init_nodes, + CONTEXT_NEWLINE); + dfa->init_state_begbuf = re_acquire_state_context (&err, dfa, + &init_nodes, + CONTEXT_NEWLINE + | CONTEXT_BEGBUF); + if (BE (dfa->init_state_word == NULL || dfa->init_state_nl == NULL + || dfa->init_state_begbuf == NULL, 0)) + return err; + } + else + dfa->init_state_word = dfa->init_state_nl + = dfa->init_state_begbuf = dfa->init_state; + + re_node_set_free (&init_nodes); + return REG_NOERROR; +} + +#ifdef RE_ENABLE_I18N +/* If it is possible to do searching in single byte encoding instead of UTF-8 + to speed things up, set dfa->mb_cur_max to 1, clear is_utf8 and change + DFA nodes where needed. */ + +static void +optimize_utf8 (re_dfa_t *dfa) +{ + Idx node; + int i; + bool mb_chars = false; + bool has_period = false; + + for (node = 0; node < dfa->nodes_len; ++node) + switch (dfa->nodes[node].type) + { + case CHARACTER: + if (dfa->nodes[node].opr.c >= ASCII_CHARS) + mb_chars = true; + break; + case ANCHOR: + switch (dfa->nodes[node].opr.ctx_type) + { + case LINE_FIRST: + case LINE_LAST: + case BUF_FIRST: + case BUF_LAST: + break; + default: + /* Word anchors etc. cannot be handled. It's okay to test + opr.ctx_type since constraints (for all DFA nodes) are + created by ORing one or more opr.ctx_type values. */ + return; + } + break; + case OP_PERIOD: + has_period = true; + break; + case OP_BACK_REF: + case OP_ALT: + case END_OF_RE: + case OP_DUP_ASTERISK: + case OP_OPEN_SUBEXP: + case OP_CLOSE_SUBEXP: + break; + case COMPLEX_BRACKET: + return; + case SIMPLE_BRACKET: + /* Just double check. */ + { + int rshift = (ASCII_CHARS % BITSET_WORD_BITS == 0 + ? 0 + : BITSET_WORD_BITS - ASCII_CHARS % BITSET_WORD_BITS); + for (i = ASCII_CHARS / BITSET_WORD_BITS; i < BITSET_WORDS; ++i) + { + if (dfa->nodes[node].opr.sbcset[i] >> rshift != 0) + return; + rshift = 0; + } + } + break; + default: + abort (); + } + + if (mb_chars || has_period) + for (node = 0; node < dfa->nodes_len; ++node) + { + if (dfa->nodes[node].type == CHARACTER + && dfa->nodes[node].opr.c >= ASCII_CHARS) + dfa->nodes[node].mb_partial = 0; + else if (dfa->nodes[node].type == OP_PERIOD) + dfa->nodes[node].type = OP_UTF8_PERIOD; + } + + /* The search can be in single byte locale. */ + dfa->mb_cur_max = 1; + dfa->is_utf8 = 0; + dfa->has_mb_node = dfa->nbackref > 0 || has_period; +} +#endif + +/* Analyze the structure tree, and calculate "first", "next", "edest", + "eclosure", and "inveclosure". */ + +static reg_errcode_t +analyze (regex_t *preg) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + reg_errcode_t ret; + + /* Allocate arrays. */ + dfa->nexts = re_malloc (Idx, dfa->nodes_alloc); + dfa->org_indices = re_malloc (Idx, dfa->nodes_alloc); + dfa->edests = re_malloc (re_node_set, dfa->nodes_alloc); + dfa->eclosures = re_malloc (re_node_set, dfa->nodes_alloc); + if (BE (dfa->nexts == NULL || dfa->org_indices == NULL || dfa->edests == NULL + || dfa->eclosures == NULL, 0)) + return REG_ESPACE; + + dfa->subexp_map = re_malloc (Idx, preg->re_nsub); + if (dfa->subexp_map != NULL) + { + Idx i; + for (i = 0; i < preg->re_nsub; i++) + dfa->subexp_map[i] = i; + preorder (dfa->str_tree, optimize_subexps, dfa); + for (i = 0; i < preg->re_nsub; i++) + if (dfa->subexp_map[i] != i) + break; + if (i == preg->re_nsub) + { + free (dfa->subexp_map); + dfa->subexp_map = NULL; + } + } + + ret = postorder (dfa->str_tree, lower_subexps, preg); + if (BE (ret != REG_NOERROR, 0)) + return ret; + ret = postorder (dfa->str_tree, calc_first, dfa); + if (BE (ret != REG_NOERROR, 0)) + return ret; + preorder (dfa->str_tree, calc_next, dfa); + ret = preorder (dfa->str_tree, link_nfa_nodes, dfa); + if (BE (ret != REG_NOERROR, 0)) + return ret; + ret = calc_eclosure (dfa); + if (BE (ret != REG_NOERROR, 0)) + return ret; + + /* We only need this during the prune_impossible_nodes pass in regexec.c; + skip it if p_i_n will not run, as calc_inveclosure can be quadratic. */ + if ((!preg->no_sub && preg->re_nsub > 0 && dfa->has_plural_match) + || dfa->nbackref) + { + dfa->inveclosures = re_malloc (re_node_set, dfa->nodes_len); + if (BE (dfa->inveclosures == NULL, 0)) + return REG_ESPACE; + ret = calc_inveclosure (dfa); + } + + return ret; +} + +/* Our parse trees are very unbalanced, so we cannot use a stack to + implement parse tree visits. Instead, we use parent pointers and + some hairy code in these two functions. */ +static reg_errcode_t +postorder (bin_tree_t *root, reg_errcode_t (fn (void *, bin_tree_t *)), + void *extra) +{ + bin_tree_t *node, *prev; + + for (node = root; ; ) + { + /* Descend down the tree, preferably to the left (or to the right + if that's the only child). */ + while (node->left || node->right) + if (node->left) + node = node->left; + else + node = node->right; + + do + { + reg_errcode_t err = fn (extra, node); + if (BE (err != REG_NOERROR, 0)) + return err; + if (node->parent == NULL) + return REG_NOERROR; + prev = node; + node = node->parent; + } + /* Go up while we have a node that is reached from the right. */ + while (node->right == prev || node->right == NULL); + node = node->right; + } +} + +static reg_errcode_t +preorder (bin_tree_t *root, reg_errcode_t (fn (void *, bin_tree_t *)), + void *extra) +{ + bin_tree_t *node; + + for (node = root; ; ) + { + reg_errcode_t err = fn (extra, node); + if (BE (err != REG_NOERROR, 0)) + return err; + + /* Go to the left node, or up and to the right. */ + if (node->left) + node = node->left; + else + { + bin_tree_t *prev = NULL; + while (node->right == prev || node->right == NULL) + { + prev = node; + node = node->parent; + if (!node) + return REG_NOERROR; + } + node = node->right; + } + } +} + +/* Optimization pass: if a SUBEXP is entirely contained, strip it and tell + re_search_internal to map the inner one's opr.idx to this one's. Adjust + backreferences as well. Requires a preorder visit. */ +static reg_errcode_t +optimize_subexps (void *extra, bin_tree_t *node) +{ + re_dfa_t *dfa = (re_dfa_t *) extra; + + if (node->token.type == OP_BACK_REF && dfa->subexp_map) + { + int idx = node->token.opr.idx; + node->token.opr.idx = dfa->subexp_map[idx]; + dfa->used_bkref_map |= 1 << node->token.opr.idx; + } + + else if (node->token.type == SUBEXP + && node->left && node->left->token.type == SUBEXP) + { + Idx other_idx = node->left->token.opr.idx; + + node->left = node->left->left; + if (node->left) + node->left->parent = node; + + dfa->subexp_map[other_idx] = dfa->subexp_map[node->token.opr.idx]; + if (other_idx < BITSET_WORD_BITS) + dfa->used_bkref_map &= ~((bitset_word_t) 1 << other_idx); + } + + return REG_NOERROR; +} + +/* Lowering pass: Turn each SUBEXP node into the appropriate concatenation + of OP_OPEN_SUBEXP, the body of the SUBEXP (if any) and OP_CLOSE_SUBEXP. */ +static reg_errcode_t +lower_subexps (void *extra, bin_tree_t *node) +{ + regex_t *preg = (regex_t *) extra; + reg_errcode_t err = REG_NOERROR; + + if (node->left && node->left->token.type == SUBEXP) + { + node->left = lower_subexp (&err, preg, node->left); + if (node->left) + node->left->parent = node; + } + if (node->right && node->right->token.type == SUBEXP) + { + node->right = lower_subexp (&err, preg, node->right); + if (node->right) + node->right->parent = node; + } + + return err; +} + +static bin_tree_t * +lower_subexp (reg_errcode_t *err, regex_t *preg, bin_tree_t *node) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + bin_tree_t *body = node->left; + bin_tree_t *op, *cls, *tree1, *tree; + + if (preg->no_sub + /* We do not optimize empty subexpressions, because otherwise we may + have bad CONCAT nodes with NULL children. This is obviously not + very common, so we do not lose much. An example that triggers + this case is the sed "script" /\(\)/x. */ + && node->left != NULL + && (node->token.opr.idx >= BITSET_WORD_BITS + || !(dfa->used_bkref_map + & ((bitset_word_t) 1 << node->token.opr.idx)))) + return node->left; + + /* Convert the SUBEXP node to the concatenation of an + OP_OPEN_SUBEXP, the contents, and an OP_CLOSE_SUBEXP. */ + op = create_tree (dfa, NULL, NULL, OP_OPEN_SUBEXP); + cls = create_tree (dfa, NULL, NULL, OP_CLOSE_SUBEXP); + tree1 = body ? create_tree (dfa, body, cls, CONCAT) : cls; + tree = create_tree (dfa, op, tree1, CONCAT); + if (BE (tree == NULL || tree1 == NULL || op == NULL || cls == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + + op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx; + op->token.opt_subexp = cls->token.opt_subexp = node->token.opt_subexp; + return tree; +} + +/* Pass 1 in building the NFA: compute FIRST and create unlinked automaton + nodes. Requires a postorder visit. */ +static reg_errcode_t +calc_first (void *extra, bin_tree_t *node) +{ + re_dfa_t *dfa = (re_dfa_t *) extra; + if (node->token.type == CONCAT) + { + node->first = node->left->first; + node->node_idx = node->left->node_idx; + } + else + { + node->first = node; + node->node_idx = re_dfa_add_node (dfa, node->token); + if (BE (node->node_idx == REG_MISSING, 0)) + return REG_ESPACE; + if (node->token.type == ANCHOR) + dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type; + } + return REG_NOERROR; +} + +/* Pass 2: compute NEXT on the tree. Preorder visit. */ +static reg_errcode_t +calc_next (void *extra, bin_tree_t *node) +{ + switch (node->token.type) + { + case OP_DUP_ASTERISK: + node->left->next = node; + break; + case CONCAT: + node->left->next = node->right->first; + node->right->next = node->next; + break; + default: + if (node->left) + node->left->next = node->next; + if (node->right) + node->right->next = node->next; + break; + } + return REG_NOERROR; +} + +/* Pass 3: link all DFA nodes to their NEXT node (any order will do). */ +static reg_errcode_t +link_nfa_nodes (void *extra, bin_tree_t *node) +{ + re_dfa_t *dfa = (re_dfa_t *) extra; + Idx idx = node->node_idx; + reg_errcode_t err = REG_NOERROR; + + switch (node->token.type) + { + case CONCAT: + break; + + case END_OF_RE: + assert (node->next == NULL); + break; + + case OP_DUP_ASTERISK: + case OP_ALT: + { + Idx left, right; + dfa->has_plural_match = 1; + if (node->left != NULL) + left = node->left->first->node_idx; + else + left = node->next->node_idx; + if (node->right != NULL) + right = node->right->first->node_idx; + else + right = node->next->node_idx; + assert (REG_VALID_INDEX (left)); + assert (REG_VALID_INDEX (right)); + err = re_node_set_init_2 (dfa->edests + idx, left, right); + } + break; + + case ANCHOR: + case OP_OPEN_SUBEXP: + case OP_CLOSE_SUBEXP: + err = re_node_set_init_1 (dfa->edests + idx, node->next->node_idx); + break; + + case OP_BACK_REF: + dfa->nexts[idx] = node->next->node_idx; + if (node->token.type == OP_BACK_REF) + err = re_node_set_init_1 (dfa->edests + idx, dfa->nexts[idx]); + break; + + default: + assert (!IS_EPSILON_NODE (node->token.type)); + dfa->nexts[idx] = node->next->node_idx; + break; + } + + return err; +} + +/* Duplicate the epsilon closure of the node ROOT_NODE. + Note that duplicated nodes have constraint INIT_CONSTRAINT in addition + to their own constraint. */ + +static reg_errcode_t +internal_function +duplicate_node_closure (re_dfa_t *dfa, Idx top_org_node, Idx top_clone_node, + Idx root_node, unsigned int init_constraint) +{ + Idx org_node, clone_node; + bool ok; + unsigned int constraint = init_constraint; + for (org_node = top_org_node, clone_node = top_clone_node;;) + { + Idx org_dest, clone_dest; + if (dfa->nodes[org_node].type == OP_BACK_REF) + { + /* If the back reference epsilon-transit, its destination must + also have the constraint. Then duplicate the epsilon closure + of the destination of the back reference, and store it in + edests of the back reference. */ + org_dest = dfa->nexts[org_node]; + re_node_set_empty (dfa->edests + clone_node); + clone_dest = duplicate_node (dfa, org_dest, constraint); + if (BE (clone_dest == REG_MISSING, 0)) + return REG_ESPACE; + dfa->nexts[clone_node] = dfa->nexts[org_node]; + ok = re_node_set_insert (dfa->edests + clone_node, clone_dest); + if (BE (! ok, 0)) + return REG_ESPACE; + } + else if (dfa->edests[org_node].nelem == 0) + { + /* In case of the node can't epsilon-transit, don't duplicate the + destination and store the original destination as the + destination of the node. */ + dfa->nexts[clone_node] = dfa->nexts[org_node]; + break; + } + else if (dfa->edests[org_node].nelem == 1) + { + /* In case of the node can epsilon-transit, and it has only one + destination. */ + org_dest = dfa->edests[org_node].elems[0]; + re_node_set_empty (dfa->edests + clone_node); + /* If the node is root_node itself, it means the epsilon closure + has a loop. Then tie it to the destination of the root_node. */ + if (org_node == root_node && clone_node != org_node) + { + ok = re_node_set_insert (dfa->edests + clone_node, org_dest); + if (BE (! ok, 0)) + return REG_ESPACE; + break; + } + /* In case the node has another constraint, append it. */ + constraint |= dfa->nodes[org_node].constraint; + clone_dest = duplicate_node (dfa, org_dest, constraint); + if (BE (clone_dest == REG_MISSING, 0)) + return REG_ESPACE; + ok = re_node_set_insert (dfa->edests + clone_node, clone_dest); + if (BE (! ok, 0)) + return REG_ESPACE; + } + else /* dfa->edests[org_node].nelem == 2 */ + { + /* In case of the node can epsilon-transit, and it has two + destinations. In the bin_tree_t and DFA, that's '|' and '*'. */ + org_dest = dfa->edests[org_node].elems[0]; + re_node_set_empty (dfa->edests + clone_node); + /* Search for a duplicated node which satisfies the constraint. */ + clone_dest = search_duplicated_node (dfa, org_dest, constraint); + if (clone_dest == REG_MISSING) + { + /* There is no such duplicated node, create a new one. */ + reg_errcode_t err; + clone_dest = duplicate_node (dfa, org_dest, constraint); + if (BE (clone_dest == REG_MISSING, 0)) + return REG_ESPACE; + ok = re_node_set_insert (dfa->edests + clone_node, clone_dest); + if (BE (! ok, 0)) + return REG_ESPACE; + err = duplicate_node_closure (dfa, org_dest, clone_dest, + root_node, constraint); + if (BE (err != REG_NOERROR, 0)) + return err; + } + else + { + /* There is a duplicated node which satisfies the constraint, + use it to avoid infinite loop. */ + ok = re_node_set_insert (dfa->edests + clone_node, clone_dest); + if (BE (! ok, 0)) + return REG_ESPACE; + } + + org_dest = dfa->edests[org_node].elems[1]; + clone_dest = duplicate_node (dfa, org_dest, constraint); + if (BE (clone_dest == REG_MISSING, 0)) + return REG_ESPACE; + ok = re_node_set_insert (dfa->edests + clone_node, clone_dest); + if (BE (! ok, 0)) + return REG_ESPACE; + } + org_node = org_dest; + clone_node = clone_dest; + } + return REG_NOERROR; +} + +/* Search for a node which is duplicated from the node ORG_NODE, and + satisfies the constraint CONSTRAINT. */ + +static Idx +search_duplicated_node (const re_dfa_t *dfa, Idx org_node, + unsigned int constraint) +{ + Idx idx; + for (idx = dfa->nodes_len - 1; dfa->nodes[idx].duplicated && idx > 0; --idx) + { + if (org_node == dfa->org_indices[idx] + && constraint == dfa->nodes[idx].constraint) + return idx; /* Found. */ + } + return REG_MISSING; /* Not found. */ +} + +/* Duplicate the node whose index is ORG_IDX and set the constraint CONSTRAINT. + Return the index of the new node, or REG_MISSING if insufficient storage is + available. */ + +static Idx +duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint) +{ + Idx dup_idx = re_dfa_add_node (dfa, dfa->nodes[org_idx]); + if (BE (dup_idx != REG_MISSING, 1)) + { + dfa->nodes[dup_idx].constraint = constraint; + dfa->nodes[dup_idx].constraint |= dfa->nodes[org_idx].constraint; + dfa->nodes[dup_idx].duplicated = 1; + + /* Store the index of the original node. */ + dfa->org_indices[dup_idx] = org_idx; + } + return dup_idx; +} + +static reg_errcode_t +calc_inveclosure (re_dfa_t *dfa) +{ + Idx src, idx; + bool ok; + for (idx = 0; idx < dfa->nodes_len; ++idx) + re_node_set_init_empty (dfa->inveclosures + idx); + + for (src = 0; src < dfa->nodes_len; ++src) + { + Idx *elems = dfa->eclosures[src].elems; + for (idx = 0; idx < dfa->eclosures[src].nelem; ++idx) + { + ok = re_node_set_insert_last (dfa->inveclosures + elems[idx], src); + if (BE (! ok, 0)) + return REG_ESPACE; + } + } + + return REG_NOERROR; +} + +/* Calculate "eclosure" for all the node in DFA. */ + +static reg_errcode_t +calc_eclosure (re_dfa_t *dfa) +{ + Idx node_idx; + bool incomplete; +#ifdef DEBUG + assert (dfa->nodes_len > 0); +#endif + incomplete = false; + /* For each nodes, calculate epsilon closure. */ + for (node_idx = 0; ; ++node_idx) + { + reg_errcode_t err; + re_node_set eclosure_elem; + if (node_idx == dfa->nodes_len) + { + if (!incomplete) + break; + incomplete = false; + node_idx = 0; + } + +#ifdef DEBUG + assert (dfa->eclosures[node_idx].nelem != REG_MISSING); +#endif + + /* If we have already calculated, skip it. */ + if (dfa->eclosures[node_idx].nelem != 0) + continue; + /* Calculate epsilon closure of `node_idx'. */ + err = calc_eclosure_iter (&eclosure_elem, dfa, node_idx, true); + if (BE (err != REG_NOERROR, 0)) + return err; + + if (dfa->eclosures[node_idx].nelem == 0) + { + incomplete = true; + re_node_set_free (&eclosure_elem); + } + } + return REG_NOERROR; +} + +/* Calculate epsilon closure of NODE. */ + +static reg_errcode_t +calc_eclosure_iter (re_node_set *new_set, re_dfa_t *dfa, Idx node, bool root) +{ + reg_errcode_t err; + Idx i; + re_node_set eclosure; + bool ok; + bool incomplete = false; + err = re_node_set_alloc (&eclosure, dfa->edests[node].nelem + 1); + if (BE (err != REG_NOERROR, 0)) + return err; + + /* This indicates that we are calculating this node now. + We reference this value to avoid infinite loop. */ + dfa->eclosures[node].nelem = REG_MISSING; + + /* If the current node has constraints, duplicate all nodes + since they must inherit the constraints. */ + if (dfa->nodes[node].constraint + && dfa->edests[node].nelem + && !dfa->nodes[dfa->edests[node].elems[0]].duplicated) + { + err = duplicate_node_closure (dfa, node, node, node, + dfa->nodes[node].constraint); + if (BE (err != REG_NOERROR, 0)) + return err; + } + + /* Expand each epsilon destination nodes. */ + if (IS_EPSILON_NODE(dfa->nodes[node].type)) + for (i = 0; i < dfa->edests[node].nelem; ++i) + { + re_node_set eclosure_elem; + Idx edest = dfa->edests[node].elems[i]; + /* If calculating the epsilon closure of `edest' is in progress, + return intermediate result. */ + if (dfa->eclosures[edest].nelem == REG_MISSING) + { + incomplete = true; + continue; + } + /* If we haven't calculated the epsilon closure of `edest' yet, + calculate now. Otherwise use calculated epsilon closure. */ + if (dfa->eclosures[edest].nelem == 0) + { + err = calc_eclosure_iter (&eclosure_elem, dfa, edest, false); + if (BE (err != REG_NOERROR, 0)) + return err; + } + else + eclosure_elem = dfa->eclosures[edest]; + /* Merge the epsilon closure of `edest'. */ + err = re_node_set_merge (&eclosure, &eclosure_elem); + if (BE (err != REG_NOERROR, 0)) + return err; + /* If the epsilon closure of `edest' is incomplete, + the epsilon closure of this node is also incomplete. */ + if (dfa->eclosures[edest].nelem == 0) + { + incomplete = true; + re_node_set_free (&eclosure_elem); + } + } + + /* An epsilon closure includes itself. */ + ok = re_node_set_insert (&eclosure, node); + if (BE (! ok, 0)) + return REG_ESPACE; + if (incomplete && !root) + dfa->eclosures[node].nelem = 0; + else + dfa->eclosures[node] = eclosure; + *new_set = eclosure; + return REG_NOERROR; +} + +/* Functions for token which are used in the parser. */ + +/* Fetch a token from INPUT. + We must not use this function inside bracket expressions. */ + +static void +internal_function +fetch_token (re_token_t *result, re_string_t *input, reg_syntax_t syntax) +{ + re_string_skip_bytes (input, peek_token (result, input, syntax)); +} + +/* Peek a token from INPUT, and return the length of the token. + We must not use this function inside bracket expressions. */ + +static int +internal_function +peek_token (re_token_t *token, re_string_t *input, reg_syntax_t syntax) +{ + unsigned char c; + + if (re_string_eoi (input)) + { + token->type = END_OF_RE; + return 0; + } + + c = re_string_peek_byte (input, 0); + token->opr.c = c; + + token->word_char = 0; +#ifdef RE_ENABLE_I18N + token->mb_partial = 0; + if (input->mb_cur_max > 1 && + !re_string_first_byte (input, re_string_cur_idx (input))) + { + token->type = CHARACTER; + token->mb_partial = 1; + return 1; + } +#endif + if (c == '\\') + { + unsigned char c2; + if (re_string_cur_idx (input) + 1 >= re_string_length (input)) + { + token->type = BACK_SLASH; + return 1; + } + + c2 = re_string_peek_byte_case (input, 1); + token->opr.c = c2; + token->type = CHARACTER; +#ifdef RE_ENABLE_I18N + if (input->mb_cur_max > 1) + { + wint_t wc = re_string_wchar_at (input, + re_string_cur_idx (input) + 1); + token->word_char = IS_WIDE_WORD_CHAR (wc) != 0; + } + else +#endif + token->word_char = IS_WORD_CHAR (c2) != 0; + + switch (c2) + { + case '|': + if (!(syntax & RE_LIMITED_OPS) && !(syntax & RE_NO_BK_VBAR)) + token->type = OP_ALT; + break; + case '1': case '2': case '3': case '4': case '5': + case '6': case '7': case '8': case '9': + if (!(syntax & RE_NO_BK_REFS)) + { + token->type = OP_BACK_REF; + token->opr.idx = c2 - '1'; + } + break; + case '<': + if (!(syntax & RE_NO_GNU_OPS)) + { + token->type = ANCHOR; + token->opr.ctx_type = WORD_FIRST; + } + break; + case '>': + if (!(syntax & RE_NO_GNU_OPS)) + { + token->type = ANCHOR; + token->opr.ctx_type = WORD_LAST; + } + break; + case 'b': + if (!(syntax & RE_NO_GNU_OPS)) + { + token->type = ANCHOR; + token->opr.ctx_type = WORD_DELIM; + } + break; + case 'B': + if (!(syntax & RE_NO_GNU_OPS)) + { + token->type = ANCHOR; + token->opr.ctx_type = NOT_WORD_DELIM; + } + break; + case 'w': + if (!(syntax & RE_NO_GNU_OPS)) + token->type = OP_WORD; + break; + case 'W': + if (!(syntax & RE_NO_GNU_OPS)) + token->type = OP_NOTWORD; + break; + case 's': + if (!(syntax & RE_NO_GNU_OPS)) + token->type = OP_SPACE; + break; + case 'S': + if (!(syntax & RE_NO_GNU_OPS)) + token->type = OP_NOTSPACE; + break; + case '`': + if (!(syntax & RE_NO_GNU_OPS)) + { + token->type = ANCHOR; + token->opr.ctx_type = BUF_FIRST; + } + break; + case '\'': + if (!(syntax & RE_NO_GNU_OPS)) + { + token->type = ANCHOR; + token->opr.ctx_type = BUF_LAST; + } + break; + case '(': + if (!(syntax & RE_NO_BK_PARENS)) + token->type = OP_OPEN_SUBEXP; + break; + case ')': + if (!(syntax & RE_NO_BK_PARENS)) + token->type = OP_CLOSE_SUBEXP; + break; + case '+': + if (!(syntax & RE_LIMITED_OPS) && (syntax & RE_BK_PLUS_QM)) + token->type = OP_DUP_PLUS; + break; + case '?': + if (!(syntax & RE_LIMITED_OPS) && (syntax & RE_BK_PLUS_QM)) + token->type = OP_DUP_QUESTION; + break; + case '{': + if ((syntax & RE_INTERVALS) && (!(syntax & RE_NO_BK_BRACES))) + token->type = OP_OPEN_DUP_NUM; + break; + case '}': + if ((syntax & RE_INTERVALS) && (!(syntax & RE_NO_BK_BRACES))) + token->type = OP_CLOSE_DUP_NUM; + break; + default: + break; + } + return 2; + } + + token->type = CHARACTER; +#ifdef RE_ENABLE_I18N + if (input->mb_cur_max > 1) + { + wint_t wc = re_string_wchar_at (input, re_string_cur_idx (input)); + token->word_char = IS_WIDE_WORD_CHAR (wc) != 0; + } + else +#endif + token->word_char = IS_WORD_CHAR (token->opr.c); + + switch (c) + { + case '\n': + if (syntax & RE_NEWLINE_ALT) + token->type = OP_ALT; + break; + case '|': + if (!(syntax & RE_LIMITED_OPS) && (syntax & RE_NO_BK_VBAR)) + token->type = OP_ALT; + break; + case '*': + token->type = OP_DUP_ASTERISK; + break; + case '+': + if (!(syntax & RE_LIMITED_OPS) && !(syntax & RE_BK_PLUS_QM)) + token->type = OP_DUP_PLUS; + break; + case '?': + if (!(syntax & RE_LIMITED_OPS) && !(syntax & RE_BK_PLUS_QM)) + token->type = OP_DUP_QUESTION; + break; + case '{': + if ((syntax & RE_INTERVALS) && (syntax & RE_NO_BK_BRACES)) + token->type = OP_OPEN_DUP_NUM; + break; + case '}': + if ((syntax & RE_INTERVALS) && (syntax & RE_NO_BK_BRACES)) + token->type = OP_CLOSE_DUP_NUM; + break; + case '(': + if (syntax & RE_NO_BK_PARENS) + token->type = OP_OPEN_SUBEXP; + break; + case ')': + if (syntax & RE_NO_BK_PARENS) + token->type = OP_CLOSE_SUBEXP; + break; + case '[': + token->type = OP_OPEN_BRACKET; + break; + case '.': + token->type = OP_PERIOD; + break; + case '^': + if (!(syntax & (RE_CONTEXT_INDEP_ANCHORS | RE_CARET_ANCHORS_HERE)) && + re_string_cur_idx (input) != 0) + { + char prev = re_string_peek_byte (input, -1); + if (!(syntax & RE_NEWLINE_ALT) || prev != '\n') + break; + } + token->type = ANCHOR; + token->opr.ctx_type = LINE_FIRST; + break; + case '$': + if (!(syntax & RE_CONTEXT_INDEP_ANCHORS) && + re_string_cur_idx (input) + 1 != re_string_length (input)) + { + re_token_t next; + re_string_skip_bytes (input, 1); + peek_token (&next, input, syntax); + re_string_skip_bytes (input, -1); + if (next.type != OP_ALT && next.type != OP_CLOSE_SUBEXP) + break; + } + token->type = ANCHOR; + token->opr.ctx_type = LINE_LAST; + break; + default: + break; + } + return 1; +} + +/* Peek a token from INPUT, and return the length of the token. + We must not use this function out of bracket expressions. */ + +static int +internal_function +peek_token_bracket (re_token_t *token, re_string_t *input, reg_syntax_t syntax) +{ + unsigned char c; + if (re_string_eoi (input)) + { + token->type = END_OF_RE; + return 0; + } + c = re_string_peek_byte (input, 0); + token->opr.c = c; + +#ifdef RE_ENABLE_I18N + if (input->mb_cur_max > 1 && + !re_string_first_byte (input, re_string_cur_idx (input))) + { + token->type = CHARACTER; + return 1; + } +#endif /* RE_ENABLE_I18N */ + + if (c == '\\' && (syntax & RE_BACKSLASH_ESCAPE_IN_LISTS) + && re_string_cur_idx (input) + 1 < re_string_length (input)) + { + /* In this case, '\' escape a character. */ + unsigned char c2; + re_string_skip_bytes (input, 1); + c2 = re_string_peek_byte (input, 0); + token->opr.c = c2; + token->type = CHARACTER; + return 1; + } + if (c == '[') /* '[' is a special char in a bracket exps. */ + { + unsigned char c2; + int token_len; + if (re_string_cur_idx (input) + 1 < re_string_length (input)) + c2 = re_string_peek_byte (input, 1); + else + c2 = 0; + token->opr.c = c2; + token_len = 2; + switch (c2) + { + case '.': + token->type = OP_OPEN_COLL_ELEM; + break; + case '=': + token->type = OP_OPEN_EQUIV_CLASS; + break; + case ':': + if (syntax & RE_CHAR_CLASSES) + { + token->type = OP_OPEN_CHAR_CLASS; + break; + } + /* else fall through. */ + default: + token->type = CHARACTER; + token->opr.c = c; + token_len = 1; + break; + } + return token_len; + } + switch (c) + { + case '-': + token->type = OP_CHARSET_RANGE; + break; + case ']': + token->type = OP_CLOSE_BRACKET; + break; + case '^': + token->type = OP_NON_MATCH_LIST; + break; + default: + token->type = CHARACTER; + } + return 1; +} + +/* Functions for parser. */ + +/* Entry point of the parser. + Parse the regular expression REGEXP and return the structure tree. + If an error is occured, ERR is set by error code, and return NULL. + This function build the following tree, from regular expression : + CAT + / \ + / \ + EOR + + CAT means concatenation. + EOR means end of regular expression. */ + +static bin_tree_t * +parse (re_string_t *regexp, regex_t *preg, reg_syntax_t syntax, + reg_errcode_t *err) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + bin_tree_t *tree, *eor, *root; + re_token_t current_token; + dfa->syntax = syntax; + fetch_token (¤t_token, regexp, syntax | RE_CARET_ANCHORS_HERE); + tree = parse_reg_exp (regexp, preg, ¤t_token, syntax, 0, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + eor = create_tree (dfa, NULL, NULL, END_OF_RE); + if (tree != NULL) + root = create_tree (dfa, tree, eor, CONCAT); + else + root = eor; + if (BE (eor == NULL || root == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + return root; +} + +/* This function build the following tree, from regular expression + |: + ALT + / \ + / \ + + + ALT means alternative, which represents the operator `|'. */ + +static bin_tree_t * +parse_reg_exp (re_string_t *regexp, regex_t *preg, re_token_t *token, + reg_syntax_t syntax, Idx nest, reg_errcode_t *err) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + bin_tree_t *tree, *branch = NULL; + tree = parse_branch (regexp, preg, token, syntax, nest, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + + while (token->type == OP_ALT) + { + fetch_token (token, regexp, syntax | RE_CARET_ANCHORS_HERE); + if (token->type != OP_ALT && token->type != END_OF_RE + && (nest == 0 || token->type != OP_CLOSE_SUBEXP)) + { + branch = parse_branch (regexp, preg, token, syntax, nest, err); + if (BE (*err != REG_NOERROR && branch == NULL, 0)) + return NULL; + } + else + branch = NULL; + tree = create_tree (dfa, tree, branch, OP_ALT); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + } + return tree; +} + +/* This function build the following tree, from regular expression + : + CAT + / \ + / \ + + + CAT means concatenation. */ + +static bin_tree_t * +parse_branch (re_string_t *regexp, regex_t *preg, re_token_t *token, + reg_syntax_t syntax, Idx nest, reg_errcode_t *err) +{ + bin_tree_t *tree, *expr; + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + tree = parse_expression (regexp, preg, token, syntax, nest, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + + while (token->type != OP_ALT && token->type != END_OF_RE + && (nest == 0 || token->type != OP_CLOSE_SUBEXP)) + { + expr = parse_expression (regexp, preg, token, syntax, nest, err); + if (BE (*err != REG_NOERROR && expr == NULL, 0)) + { + return NULL; + } + if (tree != NULL && expr != NULL) + { + tree = create_tree (dfa, tree, expr, CONCAT); + if (tree == NULL) + { + *err = REG_ESPACE; + return NULL; + } + } + else if (tree == NULL) + tree = expr; + /* Otherwise expr == NULL, we don't need to create new tree. */ + } + return tree; +} + +/* This function build the following tree, from regular expression a*: + * + | + a +*/ + +static bin_tree_t * +parse_expression (re_string_t *regexp, regex_t *preg, re_token_t *token, + reg_syntax_t syntax, Idx nest, reg_errcode_t *err) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + bin_tree_t *tree; + switch (token->type) + { + case CHARACTER: + tree = create_token_tree (dfa, NULL, NULL, token); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + { + while (!re_string_eoi (regexp) + && !re_string_first_byte (regexp, re_string_cur_idx (regexp))) + { + bin_tree_t *mbc_remain; + fetch_token (token, regexp, syntax); + mbc_remain = create_token_tree (dfa, NULL, NULL, token); + tree = create_tree (dfa, tree, mbc_remain, CONCAT); + if (BE (mbc_remain == NULL || tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + } + } +#endif + break; + case OP_OPEN_SUBEXP: + tree = parse_sub_exp (regexp, preg, token, syntax, nest + 1, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + break; + case OP_OPEN_BRACKET: + tree = parse_bracket_exp (regexp, dfa, token, syntax, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + break; + case OP_BACK_REF: + if (!BE (dfa->completed_bkref_map & (1 << token->opr.idx), 1)) + { + *err = REG_ESUBREG; + return NULL; + } + dfa->used_bkref_map |= 1 << token->opr.idx; + tree = create_token_tree (dfa, NULL, NULL, token); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + ++dfa->nbackref; + dfa->has_mb_node = 1; + break; + case OP_OPEN_DUP_NUM: + if (syntax & RE_CONTEXT_INVALID_DUP) + { + *err = REG_BADRPT; + return NULL; + } + /* FALLTHROUGH */ + case OP_DUP_ASTERISK: + case OP_DUP_PLUS: + case OP_DUP_QUESTION: + if (syntax & RE_CONTEXT_INVALID_OPS) + { + *err = REG_BADRPT; + return NULL; + } + else if (syntax & RE_CONTEXT_INDEP_OPS) + { + fetch_token (token, regexp, syntax); + return parse_expression (regexp, preg, token, syntax, nest, err); + } + /* else fall through */ + case OP_CLOSE_SUBEXP: + if ((token->type == OP_CLOSE_SUBEXP) && + !(syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)) + { + *err = REG_ERPAREN; + return NULL; + } + /* else fall through */ + case OP_CLOSE_DUP_NUM: + /* We treat it as a normal character. */ + + /* Then we can these characters as normal characters. */ + token->type = CHARACTER; + /* mb_partial and word_char bits should be initialized already + by peek_token. */ + tree = create_token_tree (dfa, NULL, NULL, token); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + break; + case ANCHOR: + if ((token->opr.ctx_type + & (WORD_DELIM | NOT_WORD_DELIM | WORD_FIRST | WORD_LAST)) + && dfa->word_ops_used == 0) + init_word_char (dfa); + if (token->opr.ctx_type == WORD_DELIM + || token->opr.ctx_type == NOT_WORD_DELIM) + { + bin_tree_t *tree_first, *tree_last; + if (token->opr.ctx_type == WORD_DELIM) + { + token->opr.ctx_type = WORD_FIRST; + tree_first = create_token_tree (dfa, NULL, NULL, token); + token->opr.ctx_type = WORD_LAST; + } + else + { + token->opr.ctx_type = INSIDE_WORD; + tree_first = create_token_tree (dfa, NULL, NULL, token); + token->opr.ctx_type = INSIDE_NOTWORD; + } + tree_last = create_token_tree (dfa, NULL, NULL, token); + tree = create_tree (dfa, tree_first, tree_last, OP_ALT); + if (BE (tree_first == NULL || tree_last == NULL || tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + } + else + { + tree = create_token_tree (dfa, NULL, NULL, token); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + } + /* We must return here, since ANCHORs can't be followed + by repetition operators. + eg. RE"^*" is invalid or "", + it must not be "". */ + fetch_token (token, regexp, syntax); + return tree; + case OP_PERIOD: + tree = create_token_tree (dfa, NULL, NULL, token); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + if (dfa->mb_cur_max > 1) + dfa->has_mb_node = 1; + break; + case OP_WORD: + case OP_NOTWORD: + tree = build_charclass_op (dfa, regexp->trans, + (const unsigned char *) "alnum", + (const unsigned char *) "_", + token->type == OP_NOTWORD, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + break; + case OP_SPACE: + case OP_NOTSPACE: + tree = build_charclass_op (dfa, regexp->trans, + (const unsigned char *) "space", + (const unsigned char *) "", + token->type == OP_NOTSPACE, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + break; + case OP_ALT: + case END_OF_RE: + return NULL; + case BACK_SLASH: + *err = REG_EESCAPE; + return NULL; + default: + /* Must not happen? */ +#ifdef DEBUG + assert (0); +#endif + return NULL; + } + fetch_token (token, regexp, syntax); + + while (token->type == OP_DUP_ASTERISK || token->type == OP_DUP_PLUS + || token->type == OP_DUP_QUESTION || token->type == OP_OPEN_DUP_NUM) + { + tree = parse_dup_op (tree, regexp, dfa, token, syntax, err); + if (BE (*err != REG_NOERROR && tree == NULL, 0)) + return NULL; + /* In BRE consecutive duplications are not allowed. */ + if ((syntax & RE_CONTEXT_INVALID_DUP) + && (token->type == OP_DUP_ASTERISK + || token->type == OP_OPEN_DUP_NUM)) + { + *err = REG_BADRPT; + return NULL; + } + } + + return tree; +} + +/* This function build the following tree, from regular expression + (): + SUBEXP + | + +*/ + +static bin_tree_t * +parse_sub_exp (re_string_t *regexp, regex_t *preg, re_token_t *token, + reg_syntax_t syntax, Idx nest, reg_errcode_t *err) +{ + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; + bin_tree_t *tree; + size_t cur_nsub; + cur_nsub = preg->re_nsub++; + + fetch_token (token, regexp, syntax | RE_CARET_ANCHORS_HERE); + + /* The subexpression may be a null string. */ + if (token->type == OP_CLOSE_SUBEXP) + tree = NULL; + else + { + tree = parse_reg_exp (regexp, preg, token, syntax, nest, err); + if (BE (*err == REG_NOERROR && token->type != OP_CLOSE_SUBEXP, 0)) + *err = REG_EPAREN; + if (BE (*err != REG_NOERROR, 0)) + return NULL; + } + + if (cur_nsub <= '9' - '1') + dfa->completed_bkref_map |= 1 << cur_nsub; + + tree = create_tree (dfa, tree, NULL, SUBEXP); + if (BE (tree == NULL, 0)) + { + *err = REG_ESPACE; + return NULL; + } + tree->token.opr.idx = cur_nsub; + return tree; +} + +/* This function parse repetition operators like "*", "+", "{1,3}" etc. */ + +static bin_tree_t * +parse_dup_op (bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa, + re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) +{ + bin_tree_t *tree = NULL, *old_tree = NULL; + Idx i, start, end, start_idx = re_string_cur_idx (regexp); + re_token_t start_token = *token; + + if (token->type == OP_OPEN_DUP_NUM) + { + end = 0; + start = fetch_number (regexp, token, syntax); + if (start == REG_MISSING) + { + if (token->type == CHARACTER && token->opr.c == ',') + start = 0; /* We treat "{,m}" as "{0,m}". */ + else + { + *err = REG_BADBR; /* {} is invalid. */ + return NULL; + } + } + if (BE (start != REG_ERROR, 1)) + { + /* We treat "{n}" as "{n,n}". */ + end = ((token->type == OP_CLOSE_DUP_NUM) ? start + : ((token->type == CHARACTER && token->opr.c == ',') + ? fetch_number (regexp, token, syntax) : REG_ERROR)); + } + if (BE (start == REG_ERROR || end == REG_ERROR, 0)) + { + /* Invalid sequence. */ + if (BE (!(syntax & RE_INVALID_INTERVAL_ORD), 0)) + { + if (token->type == END_OF_RE) + *err = REG_EBRACE; + else + *err = REG_BADBR; + + return NULL; + } + + /* If the syntax bit is set, rollback. */ + re_string_set_index (regexp, start_idx); + *token = start_token; + token->type = CHARACTER; + /* mb_partial and word_char bits should be already initialized by + peek_token. */ + return elem; + } + + if (BE ((end != REG_MISSING && start > end) + || token->type != OP_CLOSE_DUP_NUM, 0)) + { + /* First number greater than second. */ + *err = REG_BADBR; + return NULL; + } + } + else + { + start = (token->type == OP_DUP_PLUS) ? 1 : 0; + end = (token->type == OP_DUP_QUESTION) ? 1 : REG_MISSING; + } + + fetch_token (token, regexp, syntax); + + if (BE (elem == NULL, 0)) + return NULL; + if (BE (start == 0 && end == 0, 0)) + { + postorder (elem, free_tree, NULL); + return NULL; + } + + /* Extract "{n,m}" to "...{0,}". */ + if (BE (start > 0, 0)) + { + tree = elem; + for (i = 2; i <= start; ++i) + { + elem = duplicate_tree (elem, dfa); + tree = create_tree (dfa, tree, elem, CONCAT); + if (BE (elem == NULL || tree == NULL, 0)) + goto parse_dup_op_espace; + } + + if (start == end) + return tree; + + /* Duplicate ELEM before it is marked optional. */ + elem = duplicate_tree (elem, dfa); + old_tree = tree; + } + else + old_tree = NULL; + + if (elem->token.type == SUBEXP) + postorder (elem, mark_opt_subexp, (void *) (long) elem->token.opr.idx); + + tree = create_tree (dfa, elem, NULL, + (end == REG_MISSING ? OP_DUP_ASTERISK : OP_ALT)); + if (BE (tree == NULL, 0)) + goto parse_dup_op_espace; + +/* From gnulib's "intprops.h": + True if the arithmetic type T is signed. */ +#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) + + /* This loop is actually executed only when end != REG_MISSING, + to rewrite {0,n} as ((...?)?)?... We have + already created the start+1-th copy. */ + if (TYPE_SIGNED (Idx) || end != REG_MISSING) + for (i = start + 2; i <= end; ++i) + { + elem = duplicate_tree (elem, dfa); + tree = create_tree (dfa, tree, elem, CONCAT); + if (BE (elem == NULL || tree == NULL, 0)) + goto parse_dup_op_espace; + + tree = create_tree (dfa, tree, NULL, OP_ALT); + if (BE (tree == NULL, 0)) + goto parse_dup_op_espace; + } + + if (old_tree) + tree = create_tree (dfa, old_tree, tree, CONCAT); + + return tree; + + parse_dup_op_espace: + *err = REG_ESPACE; + return NULL; +} + +/* Size of the names for collating symbol/equivalence_class/character_class. + I'm not sure, but maybe enough. */ +#define BRACKET_NAME_BUF_SIZE 32 + +#ifndef _LIBC + /* Local function for parse_bracket_exp only used in case of NOT _LIBC. + Build the range expression which starts from START_ELEM, and ends + at END_ELEM. The result are written to MBCSET and SBCSET. + RANGE_ALLOC is the allocated size of mbcset->range_starts, and + mbcset->range_ends, is a pointer argument sinse we may + update it. */ + +static reg_errcode_t +internal_function +# ifdef RE_ENABLE_I18N +build_range_exp (const reg_syntax_t syntax, + bitset_t sbcset, + re_charset_t *mbcset, + Idx *range_alloc, + const bracket_elem_t *start_elem, + const bracket_elem_t *end_elem) +# else /* not RE_ENABLE_I18N */ +build_range_exp (const reg_syntax_t syntax, + bitset_t sbcset, + const bracket_elem_t *start_elem, + const bracket_elem_t *end_elem) +# endif /* not RE_ENABLE_I18N */ +{ + unsigned int start_ch, end_ch; + /* Equivalence Classes and Character Classes can't be a range start/end. */ + if (BE (start_elem->type == EQUIV_CLASS || start_elem->type == CHAR_CLASS + || end_elem->type == EQUIV_CLASS || end_elem->type == CHAR_CLASS, + 0)) + return REG_ERANGE; + + /* We can handle no multi character collating elements without libc + support. */ + if (BE ((start_elem->type == COLL_SYM + && strlen ((char *) start_elem->opr.name) > 1) + || (end_elem->type == COLL_SYM + && strlen ((char *) end_elem->opr.name) > 1), 0)) + return REG_ECOLLATE; + +# ifdef RE_ENABLE_I18N + { + wchar_t wc; + wint_t start_wc; + wint_t end_wc; + wchar_t cmp_buf[6] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'}; + + start_ch = ((start_elem->type == SB_CHAR) ? start_elem->opr.ch + : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0] + : 0)); + end_ch = ((end_elem->type == SB_CHAR) ? end_elem->opr.ch + : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0] + : 0)); + start_wc = ((start_elem->type == SB_CHAR || start_elem->type == COLL_SYM) + ? __btowc (start_ch) : start_elem->opr.wch); + end_wc = ((end_elem->type == SB_CHAR || end_elem->type == COLL_SYM) + ? __btowc (end_ch) : end_elem->opr.wch); + if (start_wc == WEOF || end_wc == WEOF) + return REG_ECOLLATE; + cmp_buf[0] = start_wc; + cmp_buf[4] = end_wc; + + if (BE ((syntax & RE_NO_EMPTY_RANGES) + && wcscoll (cmp_buf, cmp_buf + 4) > 0, 0)) + return REG_ERANGE; + + /* Got valid collation sequence values, add them as a new entry. + However, for !_LIBC we have no collation elements: if the + character set is single byte, the single byte character set + that we build below suffices. parse_bracket_exp passes + no MBCSET if dfa->mb_cur_max == 1. */ + if (mbcset) + { + /* Check the space of the arrays. */ + if (BE (*range_alloc == mbcset->nranges, 0)) + { + /* There is not enough space, need realloc. */ + wchar_t *new_array_start, *new_array_end; + Idx new_nranges; + + /* +1 in case of mbcset->nranges is 0. */ + new_nranges = 2 * mbcset->nranges + 1; + /* Use realloc since mbcset->range_starts and mbcset->range_ends + are NULL if *range_alloc == 0. */ + new_array_start = re_realloc (mbcset->range_starts, wchar_t, + new_nranges); + new_array_end = re_realloc (mbcset->range_ends, wchar_t, + new_nranges); + + if (BE (new_array_start == NULL || new_array_end == NULL, 0)) + return REG_ESPACE; + + mbcset->range_starts = new_array_start; + mbcset->range_ends = new_array_end; + *range_alloc = new_nranges; + } + + mbcset->range_starts[mbcset->nranges] = start_wc; + mbcset->range_ends[mbcset->nranges++] = end_wc; + } + + /* Build the table for single byte characters. */ + for (wc = 0; wc < SBC_MAX; ++wc) + { + cmp_buf[2] = wc; + if (wcscoll (cmp_buf, cmp_buf + 2) <= 0 + && wcscoll (cmp_buf + 2, cmp_buf + 4) <= 0) + bitset_set (sbcset, wc); + } + } +# else /* not RE_ENABLE_I18N */ + { + unsigned int ch; + start_ch = ((start_elem->type == SB_CHAR ) ? start_elem->opr.ch + : ((start_elem->type == COLL_SYM) ? start_elem->opr.name[0] + : 0)); + end_ch = ((end_elem->type == SB_CHAR ) ? end_elem->opr.ch + : ((end_elem->type == COLL_SYM) ? end_elem->opr.name[0] + : 0)); + if (start_ch > end_ch) + return REG_ERANGE; + /* Build the table for single byte characters. */ + for (ch = 0; ch < SBC_MAX; ++ch) + if (start_ch <= ch && ch <= end_ch) + bitset_set (sbcset, ch); + } +# endif /* not RE_ENABLE_I18N */ + return REG_NOERROR; +} +#endif /* not _LIBC */ + +#ifndef _LIBC +/* Helper function for parse_bracket_exp only used in case of NOT _LIBC.. + Build the collating element which is represented by NAME. + The result are written to MBCSET and SBCSET. + COLL_SYM_ALLOC is the allocated size of mbcset->coll_sym, is a + pointer argument since we may update it. */ + +static reg_errcode_t +internal_function +build_collating_symbol (bitset_t sbcset, +# ifdef RE_ENABLE_I18N + re_charset_t *mbcset, Idx *coll_sym_alloc, +# endif + const unsigned char *name) +{ + size_t name_len = strlen ((const char *) name); + if (BE (name_len != 1, 0)) + return REG_ECOLLATE; + else + { + bitset_set (sbcset, name[0]); + return REG_NOERROR; + } +} +#endif /* not _LIBC */ + +/* This function parse bracket expression like "[abc]", "[a-c]", + "[[.a-a.]]" etc. */ + +static bin_tree_t * +parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, + reg_syntax_t syntax, reg_errcode_t *err) +{ +#ifdef _LIBC + const unsigned char *collseqmb; + const char *collseqwc; + uint32_t nrules; + int32_t table_size; + const int32_t *symb_table; + const unsigned char *extra; + + /* Local function for parse_bracket_exp used in _LIBC environement. + Seek the collating symbol entry correspondings to NAME. + Return the index of the symbol in the SYMB_TABLE. */ + + auto inline int32_t + __attribute ((always_inline)) + seek_collating_symbol_entry (name, name_len) + const unsigned char *name; + size_t name_len; + { + int32_t hash = elem_hash ((const char *) name, name_len); + int32_t elem = hash % table_size; + if (symb_table[2 * elem] != 0) + { + int32_t second = hash % (table_size - 2) + 1; + + do + { + /* First compare the hashing value. */ + if (symb_table[2 * elem] == hash + /* Compare the length of the name. */ + && name_len == extra[symb_table[2 * elem + 1]] + /* Compare the name. */ + && memcmp (name, &extra[symb_table[2 * elem + 1] + 1], + name_len) == 0) + { + /* Yep, this is the entry. */ + break; + } + + /* Next entry. */ + elem += second; + } + while (symb_table[2 * elem] != 0); + } + return elem; + } + + /* Local function for parse_bracket_exp used in _LIBC environment. + Look up the collation sequence value of BR_ELEM. + Return the value if succeeded, UINT_MAX otherwise. */ + + auto inline unsigned int + __attribute ((always_inline)) + lookup_collation_sequence_value (br_elem) + bracket_elem_t *br_elem; + { + if (br_elem->type == SB_CHAR) + { + /* + if (MB_CUR_MAX == 1) + */ + if (nrules == 0) + return collseqmb[br_elem->opr.ch]; + else + { + wint_t wc = __btowc (br_elem->opr.ch); + return __collseq_table_lookup (collseqwc, wc); + } + } + else if (br_elem->type == MB_CHAR) + { + if (nrules != 0) + return __collseq_table_lookup (collseqwc, br_elem->opr.wch); + } + else if (br_elem->type == COLL_SYM) + { + size_t sym_name_len = strlen ((char *) br_elem->opr.name); + if (nrules != 0) + { + int32_t elem, idx; + elem = seek_collating_symbol_entry (br_elem->opr.name, + sym_name_len); + if (symb_table[2 * elem] != 0) + { + /* We found the entry. */ + idx = symb_table[2 * elem + 1]; + /* Skip the name of collating element name. */ + idx += 1 + extra[idx]; + /* Skip the byte sequence of the collating element. */ + idx += 1 + extra[idx]; + /* Adjust for the alignment. */ + idx = (idx + 3) & ~3; + /* Skip the multibyte collation sequence value. */ + idx += sizeof (unsigned int); + /* Skip the wide char sequence of the collating element. */ + idx += sizeof (unsigned int) * + (1 + *(unsigned int *) (extra + idx)); + /* Return the collation sequence value. */ + return *(unsigned int *) (extra + idx); + } + else if (symb_table[2 * elem] == 0 && sym_name_len == 1) + { + /* No valid character. Match it as a single byte + character. */ + return collseqmb[br_elem->opr.name[0]]; + } + } + else if (sym_name_len == 1) + return collseqmb[br_elem->opr.name[0]]; + } + return UINT_MAX; + } + + /* Local function for parse_bracket_exp used in _LIBC environement. + Build the range expression which starts from START_ELEM, and ends + at END_ELEM. The result are written to MBCSET and SBCSET. + RANGE_ALLOC is the allocated size of mbcset->range_starts, and + mbcset->range_ends, is a pointer argument sinse we may + update it. */ + + auto inline reg_errcode_t + __attribute ((always_inline)) + build_range_exp (sbcset, mbcset, range_alloc, start_elem, end_elem) + re_charset_t *mbcset; + Idx *range_alloc; + bitset_t sbcset; + bracket_elem_t *start_elem, *end_elem; + { + unsigned int ch; + uint32_t start_collseq; + uint32_t end_collseq; + + /* Equivalence Classes and Character Classes can't be a range + start/end. */ + if (BE (start_elem->type == EQUIV_CLASS || start_elem->type == CHAR_CLASS + || end_elem->type == EQUIV_CLASS || end_elem->type == CHAR_CLASS, + 0)) + return REG_ERANGE; + + start_collseq = lookup_collation_sequence_value (start_elem); + end_collseq = lookup_collation_sequence_value (end_elem); + /* Check start/end collation sequence values. */ + if (BE (start_collseq == UINT_MAX || end_collseq == UINT_MAX, 0)) + return REG_ECOLLATE; + if (BE ((syntax & RE_NO_EMPTY_RANGES) && start_collseq > end_collseq, 0)) + return REG_ERANGE; + + /* Got valid collation sequence values, add them as a new entry. + However, if we have no collation elements, and the character set + is single byte, the single byte character set that we + build below suffices. */ + if (nrules > 0 || dfa->mb_cur_max > 1) + { + /* Check the space of the arrays. */ + if (BE (*range_alloc == mbcset->nranges, 0)) + { + /* There is not enough space, need realloc. */ + uint32_t *new_array_start; + uint32_t *new_array_end; + Idx new_nranges; + + /* +1 in case of mbcset->nranges is 0. */ + new_nranges = 2 * mbcset->nranges + 1; + new_array_start = re_realloc (mbcset->range_starts, uint32_t, + new_nranges); + new_array_end = re_realloc (mbcset->range_ends, uint32_t, + new_nranges); + + if (BE (new_array_start == NULL || new_array_end == NULL, 0)) + return REG_ESPACE; + + mbcset->range_starts = new_array_start; + mbcset->range_ends = new_array_end; + *range_alloc = new_nranges; + } + + mbcset->range_starts[mbcset->nranges] = start_collseq; + mbcset->range_ends[mbcset->nranges++] = end_collseq; + } + + /* Build the table for single byte characters. */ + for (ch = 0; ch < SBC_MAX; ch++) + { + uint32_t ch_collseq; + /* + if (MB_CUR_MAX == 1) + */ + if (nrules == 0) + ch_collseq = collseqmb[ch]; + else + ch_collseq = __collseq_table_lookup (collseqwc, __btowc (ch)); + if (start_collseq <= ch_collseq && ch_collseq <= end_collseq) + bitset_set (sbcset, ch); + } + return REG_NOERROR; + } + + /* Local function for parse_bracket_exp used in _LIBC environement. + Build the collating element which is represented by NAME. + The result are written to MBCSET and SBCSET. + COLL_SYM_ALLOC is the allocated size of mbcset->coll_sym, is a + pointer argument sinse we may update it. */ + + auto inline reg_errcode_t + __attribute ((always_inline)) + build_collating_symbol (sbcset, mbcset, coll_sym_alloc, name) + re_charset_t *mbcset; + Idx *coll_sym_alloc; + bitset_t sbcset; + const unsigned char *name; + { + int32_t elem, idx; + size_t name_len = strlen ((const char *) name); + if (nrules != 0) + { + elem = seek_collating_symbol_entry (name, name_len); + if (symb_table[2 * elem] != 0) + { + /* We found the entry. */ + idx = symb_table[2 * elem + 1]; + /* Skip the name of collating element name. */ + idx += 1 + extra[idx]; + } + else if (symb_table[2 * elem] == 0 && name_len == 1) + { + /* No valid character, treat it as a normal + character. */ + bitset_set (sbcset, name[0]); + return REG_NOERROR; + } + else + return REG_ECOLLATE; + + /* Got valid collation sequence, add it as a new entry. */ + /* Check the space of the arrays. */ + if (BE (*coll_sym_alloc == mbcset->ncoll_syms, 0)) + { + /* Not enough, realloc it. */ + /* +1 in case of mbcset->ncoll_syms is 0. */ + Idx new_coll_sym_alloc = 2 * mbcset->ncoll_syms + 1; + /* Use realloc since mbcset->coll_syms is NULL + if *alloc == 0. */ + int32_t *new_coll_syms = re_realloc (mbcset->coll_syms, int32_t, + new_coll_sym_alloc); + if (BE (new_coll_syms == NULL, 0)) + return REG_ESPACE; + mbcset->coll_syms = new_coll_syms; + *coll_sym_alloc = new_coll_sym_alloc; + } + mbcset->coll_syms[mbcset->ncoll_syms++] = idx; + return REG_NOERROR; + } + else + { + if (BE (name_len != 1, 0)) + return REG_ECOLLATE; + else + { + bitset_set (sbcset, name[0]); + return REG_NOERROR; + } + } + } +#endif + + re_token_t br_token; + re_bitset_ptr_t sbcset; +#ifdef RE_ENABLE_I18N + re_charset_t *mbcset; + Idx coll_sym_alloc = 0, range_alloc = 0, mbchar_alloc = 0; + Idx equiv_class_alloc = 0, char_class_alloc = 0; +#endif /* not RE_ENABLE_I18N */ + bool non_match = false; + bin_tree_t *work_tree; + int token_len; + bool first_round = true; +#ifdef _LIBC + collseqmb = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_COLLSEQMB); + nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + if (nrules) + { + /* + if (MB_CUR_MAX > 1) + */ + collseqwc = _NL_CURRENT (LC_COLLATE, _NL_COLLATE_COLLSEQWC); + table_size = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_SYMB_HASH_SIZEMB); + symb_table = (const int32_t *) _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_SYMB_TABLEMB); + extra = (const unsigned char *) _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_SYMB_EXTRAMB); + } +#endif + sbcset = (re_bitset_ptr_t) calloc (sizeof (bitset_t), 1); +#ifdef RE_ENABLE_I18N + mbcset = (re_charset_t *) calloc (sizeof (re_charset_t), 1); +#endif /* RE_ENABLE_I18N */ +#ifdef RE_ENABLE_I18N + if (BE (sbcset == NULL || mbcset == NULL, 0)) +#else + if (BE (sbcset == NULL, 0)) +#endif /* RE_ENABLE_I18N */ + { + *err = REG_ESPACE; + return NULL; + } + + token_len = peek_token_bracket (token, regexp, syntax); + if (BE (token->type == END_OF_RE, 0)) + { + *err = REG_BADPAT; + goto parse_bracket_exp_free_return; + } + if (token->type == OP_NON_MATCH_LIST) + { +#ifdef RE_ENABLE_I18N + mbcset->non_match = 1; +#endif /* not RE_ENABLE_I18N */ + non_match = true; + if (syntax & RE_HAT_LISTS_NOT_NEWLINE) + bitset_set (sbcset, '\n'); + re_string_skip_bytes (regexp, token_len); /* Skip a token. */ + token_len = peek_token_bracket (token, regexp, syntax); + if (BE (token->type == END_OF_RE, 0)) + { + *err = REG_BADPAT; + goto parse_bracket_exp_free_return; + } + } + + /* We treat the first ']' as a normal character. */ + if (token->type == OP_CLOSE_BRACKET) + token->type = CHARACTER; + + while (1) + { + bracket_elem_t start_elem, end_elem; + unsigned char start_name_buf[BRACKET_NAME_BUF_SIZE]; + unsigned char end_name_buf[BRACKET_NAME_BUF_SIZE]; + reg_errcode_t ret; + int token_len2 = 0; + bool is_range_exp = false; + re_token_t token2; + + start_elem.opr.name = start_name_buf; + ret = parse_bracket_element (&start_elem, regexp, token, token_len, dfa, + syntax, first_round); + if (BE (ret != REG_NOERROR, 0)) + { + *err = ret; + goto parse_bracket_exp_free_return; + } + first_round = false; + + /* Get information about the next token. We need it in any case. */ + token_len = peek_token_bracket (token, regexp, syntax); + + /* Do not check for ranges if we know they are not allowed. */ + if (start_elem.type != CHAR_CLASS && start_elem.type != EQUIV_CLASS) + { + if (BE (token->type == END_OF_RE, 0)) + { + *err = REG_EBRACK; + goto parse_bracket_exp_free_return; + } + if (token->type == OP_CHARSET_RANGE) + { + re_string_skip_bytes (regexp, token_len); /* Skip '-'. */ + token_len2 = peek_token_bracket (&token2, regexp, syntax); + if (BE (token2.type == END_OF_RE, 0)) + { + *err = REG_EBRACK; + goto parse_bracket_exp_free_return; + } + if (token2.type == OP_CLOSE_BRACKET) + { + /* We treat the last '-' as a normal character. */ + re_string_skip_bytes (regexp, -token_len); + token->type = CHARACTER; + } + else + is_range_exp = true; + } + } + + if (is_range_exp == true) + { + end_elem.opr.name = end_name_buf; + ret = parse_bracket_element (&end_elem, regexp, &token2, token_len2, + dfa, syntax, true); + if (BE (ret != REG_NOERROR, 0)) + { + *err = ret; + goto parse_bracket_exp_free_return; + } + + token_len = peek_token_bracket (token, regexp, syntax); + +#ifdef _LIBC + *err = build_range_exp (sbcset, mbcset, &range_alloc, + &start_elem, &end_elem); +#else +# ifdef RE_ENABLE_I18N + *err = build_range_exp (syntax, sbcset, + dfa->mb_cur_max > 1 ? mbcset : NULL, + &range_alloc, &start_elem, &end_elem); +# else + *err = build_range_exp (syntax, sbcset, &start_elem, &end_elem); +# endif +#endif /* RE_ENABLE_I18N */ + if (BE (*err != REG_NOERROR, 0)) + goto parse_bracket_exp_free_return; + } + else + { + switch (start_elem.type) + { + case SB_CHAR: + bitset_set (sbcset, start_elem.opr.ch); + break; +#ifdef RE_ENABLE_I18N + case MB_CHAR: + /* Check whether the array has enough space. */ + if (BE (mbchar_alloc == mbcset->nmbchars, 0)) + { + wchar_t *new_mbchars; + /* Not enough, realloc it. */ + /* +1 in case of mbcset->nmbchars is 0. */ + mbchar_alloc = 2 * mbcset->nmbchars + 1; + /* Use realloc since array is NULL if *alloc == 0. */ + new_mbchars = re_realloc (mbcset->mbchars, wchar_t, + mbchar_alloc); + if (BE (new_mbchars == NULL, 0)) + goto parse_bracket_exp_espace; + mbcset->mbchars = new_mbchars; + } + mbcset->mbchars[mbcset->nmbchars++] = start_elem.opr.wch; + break; +#endif /* RE_ENABLE_I18N */ + case EQUIV_CLASS: + *err = build_equiv_class (sbcset, +#ifdef RE_ENABLE_I18N + mbcset, &equiv_class_alloc, +#endif /* RE_ENABLE_I18N */ + start_elem.opr.name); + if (BE (*err != REG_NOERROR, 0)) + goto parse_bracket_exp_free_return; + break; + case COLL_SYM: + *err = build_collating_symbol (sbcset, +#ifdef RE_ENABLE_I18N + mbcset, &coll_sym_alloc, +#endif /* RE_ENABLE_I18N */ + start_elem.opr.name); + if (BE (*err != REG_NOERROR, 0)) + goto parse_bracket_exp_free_return; + break; + case CHAR_CLASS: + *err = build_charclass (regexp->trans, sbcset, +#ifdef RE_ENABLE_I18N + mbcset, &char_class_alloc, +#endif /* RE_ENABLE_I18N */ + start_elem.opr.name, syntax); + if (BE (*err != REG_NOERROR, 0)) + goto parse_bracket_exp_free_return; + break; + default: + assert (0); + break; + } + } + if (BE (token->type == END_OF_RE, 0)) + { + *err = REG_EBRACK; + goto parse_bracket_exp_free_return; + } + if (token->type == OP_CLOSE_BRACKET) + break; + } + + re_string_skip_bytes (regexp, token_len); /* Skip a token. */ + + /* If it is non-matching list. */ + if (non_match) + bitset_not (sbcset); + +#ifdef RE_ENABLE_I18N + /* Ensure only single byte characters are set. */ + if (dfa->mb_cur_max > 1) + bitset_mask (sbcset, dfa->sb_char); + + if (mbcset->nmbchars || mbcset->ncoll_syms || mbcset->nequiv_classes + || mbcset->nranges || (dfa->mb_cur_max > 1 && (mbcset->nchar_classes + || mbcset->non_match))) + { + bin_tree_t *mbc_tree; + int sbc_idx; + /* Build a tree for complex bracket. */ + dfa->has_mb_node = 1; + br_token.type = COMPLEX_BRACKET; + br_token.opr.mbcset = mbcset; + mbc_tree = create_token_tree (dfa, NULL, NULL, &br_token); + if (BE (mbc_tree == NULL, 0)) + goto parse_bracket_exp_espace; + for (sbc_idx = 0; sbc_idx < BITSET_WORDS; ++sbc_idx) + if (sbcset[sbc_idx]) + break; + /* If there are no bits set in sbcset, there is no point + of having both SIMPLE_BRACKET and COMPLEX_BRACKET. */ + if (sbc_idx < BITSET_WORDS) + { + /* Build a tree for simple bracket. */ + br_token.type = SIMPLE_BRACKET; + br_token.opr.sbcset = sbcset; + work_tree = create_token_tree (dfa, NULL, NULL, &br_token); + if (BE (work_tree == NULL, 0)) + goto parse_bracket_exp_espace; + + /* Then join them by ALT node. */ + work_tree = create_tree (dfa, work_tree, mbc_tree, OP_ALT); + if (BE (work_tree == NULL, 0)) + goto parse_bracket_exp_espace; + } + else + { + re_free (sbcset); + work_tree = mbc_tree; + } + } + else +#endif /* not RE_ENABLE_I18N */ + { +#ifdef RE_ENABLE_I18N + free_charset (mbcset); +#endif + /* Build a tree for simple bracket. */ + br_token.type = SIMPLE_BRACKET; + br_token.opr.sbcset = sbcset; + work_tree = create_token_tree (dfa, NULL, NULL, &br_token); + if (BE (work_tree == NULL, 0)) + goto parse_bracket_exp_espace; + } + return work_tree; + + parse_bracket_exp_espace: + *err = REG_ESPACE; + parse_bracket_exp_free_return: + re_free (sbcset); +#ifdef RE_ENABLE_I18N + free_charset (mbcset); +#endif /* RE_ENABLE_I18N */ + return NULL; +} + +/* Parse an element in the bracket expression. */ + +static reg_errcode_t +parse_bracket_element (bracket_elem_t *elem, re_string_t *regexp, + re_token_t *token, int token_len, re_dfa_t *dfa, + reg_syntax_t syntax, bool accept_hyphen) +{ +#ifdef RE_ENABLE_I18N + int cur_char_size; + cur_char_size = re_string_char_size_at (regexp, re_string_cur_idx (regexp)); + if (cur_char_size > 1) + { + elem->type = MB_CHAR; + elem->opr.wch = re_string_wchar_at (regexp, re_string_cur_idx (regexp)); + re_string_skip_bytes (regexp, cur_char_size); + return REG_NOERROR; + } +#endif /* RE_ENABLE_I18N */ + re_string_skip_bytes (regexp, token_len); /* Skip a token. */ + if (token->type == OP_OPEN_COLL_ELEM || token->type == OP_OPEN_CHAR_CLASS + || token->type == OP_OPEN_EQUIV_CLASS) + return parse_bracket_symbol (elem, regexp, token); + if (BE (token->type == OP_CHARSET_RANGE, 0) && !accept_hyphen) + { + /* A '-' must only appear as anything but a range indicator before + the closing bracket. Everything else is an error. */ + re_token_t token2; + (void) peek_token_bracket (&token2, regexp, syntax); + if (token2.type != OP_CLOSE_BRACKET) + /* The actual error value is not standardized since this whole + case is undefined. But ERANGE makes good sense. */ + return REG_ERANGE; + } + elem->type = SB_CHAR; + elem->opr.ch = token->opr.c; + return REG_NOERROR; +} + +/* Parse a bracket symbol in the bracket expression. Bracket symbols are + such as [::], [..], and + [==]. */ + +static reg_errcode_t +parse_bracket_symbol (bracket_elem_t *elem, re_string_t *regexp, + re_token_t *token) +{ + unsigned char ch, delim = token->opr.c; + int i = 0; + if (re_string_eoi(regexp)) + return REG_EBRACK; + for (;; ++i) + { + if (i >= BRACKET_NAME_BUF_SIZE) + return REG_EBRACK; + if (token->type == OP_OPEN_CHAR_CLASS) + ch = re_string_fetch_byte_case (regexp); + else + ch = re_string_fetch_byte (regexp); + if (re_string_eoi(regexp)) + return REG_EBRACK; + if (ch == delim && re_string_peek_byte (regexp, 0) == ']') + break; + elem->opr.name[i] = ch; + } + re_string_skip_bytes (regexp, 1); + elem->opr.name[i] = '\0'; + switch (token->type) + { + case OP_OPEN_COLL_ELEM: + elem->type = COLL_SYM; + break; + case OP_OPEN_EQUIV_CLASS: + elem->type = EQUIV_CLASS; + break; + case OP_OPEN_CHAR_CLASS: + elem->type = CHAR_CLASS; + break; + default: + break; + } + return REG_NOERROR; +} + + /* Helper function for parse_bracket_exp. + Build the equivalence class which is represented by NAME. + The result are written to MBCSET and SBCSET. + EQUIV_CLASS_ALLOC is the allocated size of mbcset->equiv_classes, + is a pointer argument sinse we may update it. */ + +static reg_errcode_t +#ifdef RE_ENABLE_I18N +build_equiv_class (bitset_t sbcset, re_charset_t *mbcset, + Idx *equiv_class_alloc, const unsigned char *name) +#else /* not RE_ENABLE_I18N */ +build_equiv_class (bitset_t sbcset, const unsigned char *name) +#endif /* not RE_ENABLE_I18N */ +{ +#ifdef _LIBC + uint32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + if (nrules != 0) + { + const int32_t *table, *indirect; + const unsigned char *weights, *extra, *cp; + unsigned char char_buf[2]; + int32_t idx1, idx2; + unsigned int ch; + size_t len; + /* This #include defines a local function! */ +# include + /* Calculate the index for equivalence class. */ + cp = name; + table = (const int32_t *) _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); + weights = (const unsigned char *) _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_WEIGHTMB); + extra = (const unsigned char *) _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_EXTRAMB); + indirect = (const int32_t *) _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_INDIRECTMB); + idx1 = findidx (&cp); + if (BE (idx1 == 0 || cp < name + strlen ((const char *) name), 0)) + /* This isn't a valid character. */ + return REG_ECOLLATE; + + /* Build single byte matcing table for this equivalence class. */ + char_buf[1] = (unsigned char) '\0'; + len = weights[idx1 & 0xffffff]; + for (ch = 0; ch < SBC_MAX; ++ch) + { + char_buf[0] = ch; + cp = char_buf; + idx2 = findidx (&cp); +/* + idx2 = table[ch]; +*/ + if (idx2 == 0) + /* This isn't a valid character. */ + continue; + /* Compare only if the length matches and the collation rule + index is the same. */ + if (len == weights[idx2 & 0xffffff] && (idx1 >> 24) == (idx2 >> 24)) + { + int cnt = 0; + + while (cnt <= len && + weights[(idx1 & 0xffffff) + 1 + cnt] + == weights[(idx2 & 0xffffff) + 1 + cnt]) + ++cnt; + + if (cnt > len) + bitset_set (sbcset, ch); + } + } + /* Check whether the array has enough space. */ + if (BE (*equiv_class_alloc == mbcset->nequiv_classes, 0)) + { + /* Not enough, realloc it. */ + /* +1 in case of mbcset->nequiv_classes is 0. */ + Idx new_equiv_class_alloc = 2 * mbcset->nequiv_classes + 1; + /* Use realloc since the array is NULL if *alloc == 0. */ + int32_t *new_equiv_classes = re_realloc (mbcset->equiv_classes, + int32_t, + new_equiv_class_alloc); + if (BE (new_equiv_classes == NULL, 0)) + return REG_ESPACE; + mbcset->equiv_classes = new_equiv_classes; + *equiv_class_alloc = new_equiv_class_alloc; + } + mbcset->equiv_classes[mbcset->nequiv_classes++] = idx1; + } + else +#endif /* _LIBC */ + { + if (BE (strlen ((const char *) name) != 1, 0)) + return REG_ECOLLATE; + bitset_set (sbcset, *name); + } + return REG_NOERROR; +} + + /* Helper function for parse_bracket_exp. + Build the character class which is represented by NAME. + The result are written to MBCSET and SBCSET. + CHAR_CLASS_ALLOC is the allocated size of mbcset->char_classes, + is a pointer argument sinse we may update it. */ + +static reg_errcode_t +#ifdef RE_ENABLE_I18N +build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset, + re_charset_t *mbcset, Idx *char_class_alloc, + const unsigned char *class_name, reg_syntax_t syntax) +#else /* not RE_ENABLE_I18N */ +build_charclass (RE_TRANSLATE_TYPE trans, bitset_t sbcset, + const unsigned char *class_name, reg_syntax_t syntax) +#endif /* not RE_ENABLE_I18N */ +{ + int i; + const char *name = (const char *) class_name; + + /* In case of REG_ICASE "upper" and "lower" match the both of + upper and lower cases. */ + if ((syntax & RE_ICASE) + && (strcmp (name, "upper") == 0 || strcmp (name, "lower") == 0)) + name = "alpha"; + +#ifdef RE_ENABLE_I18N + /* Check the space of the arrays. */ + if (BE (*char_class_alloc == mbcset->nchar_classes, 0)) + { + /* Not enough, realloc it. */ + /* +1 in case of mbcset->nchar_classes is 0. */ + Idx new_char_class_alloc = 2 * mbcset->nchar_classes + 1; + /* Use realloc since array is NULL if *alloc == 0. */ + wctype_t *new_char_classes = re_realloc (mbcset->char_classes, wctype_t, + new_char_class_alloc); + if (BE (new_char_classes == NULL, 0)) + return REG_ESPACE; + mbcset->char_classes = new_char_classes; + *char_class_alloc = new_char_class_alloc; + } + mbcset->char_classes[mbcset->nchar_classes++] = __wctype (name); +#endif /* RE_ENABLE_I18N */ + +#define BUILD_CHARCLASS_LOOP(ctype_func) \ + do { \ + if (BE (trans != NULL, 0)) \ + { \ + for (i = 0; i < SBC_MAX; ++i) \ + if (ctype_func (i)) \ + bitset_set (sbcset, trans[i]); \ + } \ + else \ + { \ + for (i = 0; i < SBC_MAX; ++i) \ + if (ctype_func (i)) \ + bitset_set (sbcset, i); \ + } \ + } while (0) + + if (strcmp (name, "alnum") == 0) + BUILD_CHARCLASS_LOOP (isalnum); + else if (strcmp (name, "cntrl") == 0) + BUILD_CHARCLASS_LOOP (iscntrl); + else if (strcmp (name, "lower") == 0) + BUILD_CHARCLASS_LOOP (islower); + else if (strcmp (name, "space") == 0) + BUILD_CHARCLASS_LOOP (isspace); + else if (strcmp (name, "alpha") == 0) + BUILD_CHARCLASS_LOOP (isalpha); + else if (strcmp (name, "digit") == 0) + BUILD_CHARCLASS_LOOP (isdigit); + else if (strcmp (name, "print") == 0) + BUILD_CHARCLASS_LOOP (isprint); + else if (strcmp (name, "upper") == 0) + BUILD_CHARCLASS_LOOP (isupper); + else if (strcmp (name, "blank") == 0) + BUILD_CHARCLASS_LOOP (isblank); + else if (strcmp (name, "graph") == 0) + BUILD_CHARCLASS_LOOP (isgraph); + else if (strcmp (name, "punct") == 0) + BUILD_CHARCLASS_LOOP (ispunct); + else if (strcmp (name, "xdigit") == 0) + BUILD_CHARCLASS_LOOP (isxdigit); + else + return REG_ECTYPE; + + return REG_NOERROR; +} + +static bin_tree_t * +build_charclass_op (re_dfa_t *dfa, RE_TRANSLATE_TYPE trans, + const unsigned char *class_name, + const unsigned char *extra, bool non_match, + reg_errcode_t *err) +{ + re_bitset_ptr_t sbcset; +#ifdef RE_ENABLE_I18N + re_charset_t *mbcset; + Idx alloc = 0; +#endif /* not RE_ENABLE_I18N */ + reg_errcode_t ret; + re_token_t br_token; + bin_tree_t *tree; + + sbcset = (re_bitset_ptr_t) calloc (sizeof (bitset_t), 1); +#ifdef RE_ENABLE_I18N + mbcset = (re_charset_t *) calloc (sizeof (re_charset_t), 1); +#endif /* RE_ENABLE_I18N */ + +#ifdef RE_ENABLE_I18N + if (BE (sbcset == NULL || mbcset == NULL, 0)) +#else /* not RE_ENABLE_I18N */ + if (BE (sbcset == NULL, 0)) +#endif /* not RE_ENABLE_I18N */ + { + *err = REG_ESPACE; + return NULL; + } + + if (non_match) + { +#ifdef RE_ENABLE_I18N + mbcset->non_match = 1; +#endif /* not RE_ENABLE_I18N */ + } + + /* We don't care the syntax in this case. */ + ret = build_charclass (trans, sbcset, +#ifdef RE_ENABLE_I18N + mbcset, &alloc, +#endif /* RE_ENABLE_I18N */ + class_name, 0); + + if (BE (ret != REG_NOERROR, 0)) + { + re_free (sbcset); +#ifdef RE_ENABLE_I18N + free_charset (mbcset); +#endif /* RE_ENABLE_I18N */ + *err = ret; + return NULL; + } + /* \w match '_' also. */ + for (; *extra; extra++) + bitset_set (sbcset, *extra); + + /* If it is non-matching list. */ + if (non_match) + bitset_not (sbcset); + +#ifdef RE_ENABLE_I18N + /* Ensure only single byte characters are set. */ + if (dfa->mb_cur_max > 1) + bitset_mask (sbcset, dfa->sb_char); +#endif + + /* Build a tree for simple bracket. */ + br_token.type = SIMPLE_BRACKET; + br_token.opr.sbcset = sbcset; + tree = create_token_tree (dfa, NULL, NULL, &br_token); + if (BE (tree == NULL, 0)) + goto build_word_op_espace; + +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + { + bin_tree_t *mbc_tree; + /* Build a tree for complex bracket. */ + br_token.type = COMPLEX_BRACKET; + br_token.opr.mbcset = mbcset; + dfa->has_mb_node = 1; + mbc_tree = create_token_tree (dfa, NULL, NULL, &br_token); + if (BE (mbc_tree == NULL, 0)) + goto build_word_op_espace; + /* Then join them by ALT node. */ + tree = create_tree (dfa, tree, mbc_tree, OP_ALT); + if (BE (mbc_tree != NULL, 1)) + return tree; + } + else + { + free_charset (mbcset); + return tree; + } +#else /* not RE_ENABLE_I18N */ + return tree; +#endif /* not RE_ENABLE_I18N */ + + build_word_op_espace: + re_free (sbcset); +#ifdef RE_ENABLE_I18N + free_charset (mbcset); +#endif /* RE_ENABLE_I18N */ + *err = REG_ESPACE; + return NULL; +} + +/* This is intended for the expressions like "a{1,3}". + Fetch a number from `input', and return the number. + Return REG_MISSING if the number field is empty like "{,1}". + Return REG_ERROR if an error occurred. */ + +static Idx +fetch_number (re_string_t *input, re_token_t *token, reg_syntax_t syntax) +{ + Idx num = REG_MISSING; + unsigned char c; + while (1) + { + fetch_token (token, input, syntax); + c = token->opr.c; + if (BE (token->type == END_OF_RE, 0)) + return REG_ERROR; + if (token->type == OP_CLOSE_DUP_NUM || c == ',') + break; + num = ((token->type != CHARACTER || c < '0' || '9' < c + || num == REG_ERROR) + ? REG_ERROR + : ((num == REG_MISSING) ? c - '0' : num * 10 + c - '0')); + num = (num > RE_DUP_MAX) ? REG_ERROR : num; + } + return num; +} + +#ifdef RE_ENABLE_I18N +static void +free_charset (re_charset_t *cset) +{ + re_free (cset->mbchars); +# ifdef _LIBC + re_free (cset->coll_syms); + re_free (cset->equiv_classes); + re_free (cset->range_starts); + re_free (cset->range_ends); +# endif + re_free (cset->char_classes); + re_free (cset); +} +#endif /* RE_ENABLE_I18N */ + +/* Functions for binary tree operation. */ + +/* Create a tree node. */ + +static bin_tree_t * +create_tree (re_dfa_t *dfa, bin_tree_t *left, bin_tree_t *right, + re_token_type_t type) +{ + re_token_t t; + t.type = type; + return create_token_tree (dfa, left, right, &t); +} + +static bin_tree_t * +create_token_tree (re_dfa_t *dfa, bin_tree_t *left, bin_tree_t *right, + const re_token_t *token) +{ + bin_tree_t *tree; + if (BE (dfa->str_tree_storage_idx == BIN_TREE_STORAGE_SIZE, 0)) + { + bin_tree_storage_t *storage = re_malloc (bin_tree_storage_t, 1); + + if (storage == NULL) + return NULL; + storage->next = dfa->str_tree_storage; + dfa->str_tree_storage = storage; + dfa->str_tree_storage_idx = 0; + } + tree = &dfa->str_tree_storage->data[dfa->str_tree_storage_idx++]; + + tree->parent = NULL; + tree->left = left; + tree->right = right; + tree->token = *token; + tree->token.duplicated = 0; + tree->token.opt_subexp = 0; + tree->first = NULL; + tree->next = NULL; + tree->node_idx = REG_MISSING; + + if (left != NULL) + left->parent = tree; + if (right != NULL) + right->parent = tree; + return tree; +} + +/* Mark the tree SRC as an optional subexpression. + To be called from preorder or postorder. */ + +static reg_errcode_t +mark_opt_subexp (void *extra, bin_tree_t *node) +{ + Idx idx = (Idx) (long) extra; + if (node->token.type == SUBEXP && node->token.opr.idx == idx) + node->token.opt_subexp = 1; + + return REG_NOERROR; +} + +/* Free the allocated memory inside NODE. */ + +static void +free_token (re_token_t *node) +{ +#ifdef RE_ENABLE_I18N + if (node->type == COMPLEX_BRACKET && node->duplicated == 0) + free_charset (node->opr.mbcset); + else +#endif /* RE_ENABLE_I18N */ + if (node->type == SIMPLE_BRACKET && node->duplicated == 0) + re_free (node->opr.sbcset); +} + +/* Worker function for tree walking. Free the allocated memory inside NODE + and its children. */ + +static reg_errcode_t +free_tree (void *extra, bin_tree_t *node) +{ + free_token (&node->token); + return REG_NOERROR; +} + + +/* Duplicate the node SRC, and return new node. This is a preorder + visit similar to the one implemented by the generic visitor, but + we need more infrastructure to maintain two parallel trees --- so, + it's easier to duplicate. */ + +static bin_tree_t * +duplicate_tree (const bin_tree_t *root, re_dfa_t *dfa) +{ + const bin_tree_t *node; + bin_tree_t *dup_root; + bin_tree_t **p_new = &dup_root, *dup_node = root->parent; + + for (node = root; ; ) + { + /* Create a new tree and link it back to the current parent. */ + *p_new = create_token_tree (dfa, NULL, NULL, &node->token); + if (*p_new == NULL) + return NULL; + (*p_new)->parent = dup_node; + (*p_new)->token.duplicated = 1; + dup_node = *p_new; + + /* Go to the left node, or up and to the right. */ + if (node->left) + { + node = node->left; + p_new = &dup_node->left; + } + else + { + const bin_tree_t *prev = NULL; + while (node->right == prev || node->right == NULL) + { + prev = node; + node = node->parent; + dup_node = dup_node->parent; + if (!node) + return dup_root; + } + node = node->right; + p_new = &dup_node->right; + } + } +} diff --git a/grub-core/gnulib/regex.c b/grub-core/gnulib/regex.c new file mode 100644 index 0000000..ba0eebe --- /dev/null +++ b/grub-core/gnulib/regex.c @@ -0,0 +1,72 @@ +/* Extended regular expression matching and search library. + Copyright (C) 2002, 2003, 2005, 2006, 2009, 2010 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + Contributed by Isamu Hasegawa . + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +/* Make sure noone compiles this code with a C++ compiler. */ +#if defined __cplusplus && defined _LIBC +# error "This is C code, use a C compiler" +#endif + +#ifdef _LIBC +/* We have to keep the namespace clean. */ +# define regfree(preg) __regfree (preg) +# define regexec(pr, st, nm, pm, ef) __regexec (pr, st, nm, pm, ef) +# define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) +# define regerror(errcode, preg, errbuf, errbuf_size) \ + __regerror(errcode, preg, errbuf, errbuf_size) +# define re_set_registers(bu, re, nu, st, en) \ + __re_set_registers (bu, re, nu, st, en) +# define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ + __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) +# define re_match(bufp, string, size, pos, regs) \ + __re_match (bufp, string, size, pos, regs) +# define re_search(bufp, string, size, startpos, range, regs) \ + __re_search (bufp, string, size, startpos, range, regs) +# define re_compile_pattern(pattern, length, bufp) \ + __re_compile_pattern (pattern, length, bufp) +# define re_set_syntax(syntax) __re_set_syntax (syntax) +# define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ + __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop) +# define re_compile_fastmap(bufp) __re_compile_fastmap (bufp) + +# include "../locale/localeinfo.h" +#endif + +/* On some systems, limits.h sets RE_DUP_MAX to a lower value than + GNU regex allows. Include it before , which correctly + #undefs RE_DUP_MAX and sets it to the right value. */ +#include + +#include +#include "regex_internal.h" + +#include "regex_internal.c" +#include "regcomp.c" +#include "regexec.c" + +/* Binary backward compatibility. */ +#if _LIBC +# include +# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3) +link_warning (re_max_failures, "the 're_max_failures' variable is obsolete and will go away.") +int re_max_failures = 2000; +# endif +#endif diff --git a/grub-core/gnulib/regex.h b/grub-core/gnulib/regex.h new file mode 100644 index 0000000..e8bd549 --- /dev/null +++ b/grub-core/gnulib/regex.h @@ -0,0 +1,676 @@ +/* Definitions for data structures and routines for the regular + expression library. + Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 1996, 1997, 1998, + 2000, 2001, 2002, 2003, 2005, 2006, 2009, 2010 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _REGEX_H +#define _REGEX_H 1 + +#include + +/* Allow the use in C++ code. */ +#ifdef __cplusplus +extern "C" { +#endif + +/* Define __USE_GNU_REGEX to declare GNU extensions that violate the + POSIX name space rules. */ +#undef __USE_GNU_REGEX +#if (defined _GNU_SOURCE \ + || (!defined _POSIX_C_SOURCE && !defined _POSIX_SOURCE \ + && !defined _XOPEN_SOURCE)) +# define __USE_GNU_REGEX 1 +#endif + +#ifdef _REGEX_LARGE_OFFSETS + +/* Use types and values that are wide enough to represent signed and + unsigned byte offsets in memory. This currently works only when + the regex code is used outside of the GNU C library; it is not yet + supported within glibc itself, and glibc users should not define + _REGEX_LARGE_OFFSETS. */ + +/* The type of the offset of a byte within a string. + For historical reasons POSIX 1003.1-2004 requires that regoff_t be + at least as wide as off_t. However, many common POSIX platforms set + regoff_t to the more-sensible ssize_t and the Open Group has + signalled its intention to change the requirement to be that + regoff_t be at least as wide as ptrdiff_t and ssize_t; see XBD ERN + 60 (2005-08-25). We don't know of any hosts where ssize_t or + ptrdiff_t is wider than ssize_t, so ssize_t is safe. */ +typedef ssize_t regoff_t; + +/* The type of nonnegative object indexes. Traditionally, GNU regex + uses 'int' for these. Code that uses __re_idx_t should work + regardless of whether the type is signed. */ +typedef size_t __re_idx_t; + +/* The type of object sizes. */ +typedef size_t __re_size_t; + +/* The type of object sizes, in places where the traditional code + uses unsigned long int. */ +typedef size_t __re_long_size_t; + +#else + +/* Use types that are binary-compatible with the traditional GNU regex + implementation, which mishandles strings longer than INT_MAX. */ + +typedef int regoff_t; +typedef int __re_idx_t; +typedef unsigned int __re_size_t; +typedef unsigned long int __re_long_size_t; + +#endif + +/* The following two types have to be signed and unsigned integer type + wide enough to hold a value of a pointer. For most ANSI compilers + ptrdiff_t and size_t should be likely OK. Still size of these two + types is 2 for Microsoft C. Ugh... */ +typedef long int s_reg_t; +typedef unsigned long int active_reg_t; + +/* The following bits are used to determine the regexp syntax we + recognize. The set/not-set meanings are chosen so that Emacs syntax + remains the value 0. The bits are given in alphabetical order, and + the definitions shifted by one from the previous bit; thus, when we + add or remove a bit, only one other definition need change. */ +typedef unsigned long int reg_syntax_t; + +#ifdef __USE_GNU_REGEX + +/* If this bit is not set, then \ inside a bracket expression is literal. + If set, then such a \ quotes the following character. */ +# define RE_BACKSLASH_ESCAPE_IN_LISTS ((unsigned long int) 1) + +/* If this bit is not set, then + and ? are operators, and \+ and \? are + literals. + If set, then \+ and \? are operators and + and ? are literals. */ +# define RE_BK_PLUS_QM (RE_BACKSLASH_ESCAPE_IN_LISTS << 1) + +/* If this bit is set, then character classes are supported. They are: + [:alpha:], [:upper:], [:lower:], [:digit:], [:alnum:], [:xdigit:], + [:space:], [:print:], [:punct:], [:graph:], and [:cntrl:]. + If not set, then character classes are not supported. */ +# define RE_CHAR_CLASSES (RE_BK_PLUS_QM << 1) + +/* If this bit is set, then ^ and $ are always anchors (outside bracket + expressions, of course). + If this bit is not set, then it depends: + ^ is an anchor if it is at the beginning of a regular + expression or after an open-group or an alternation operator; + $ is an anchor if it is at the end of a regular expression, or + before a close-group or an alternation operator. + + This bit could be (re)combined with RE_CONTEXT_INDEP_OPS, because + POSIX draft 11.2 says that * etc. in leading positions is undefined. + We already implemented a previous draft which made those constructs + invalid, though, so we haven't changed the code back. */ +# define RE_CONTEXT_INDEP_ANCHORS (RE_CHAR_CLASSES << 1) + +/* If this bit is set, then special characters are always special + regardless of where they are in the pattern. + If this bit is not set, then special characters are special only in + some contexts; otherwise they are ordinary. Specifically, + * + ? and intervals are only special when not after the beginning, + open-group, or alternation operator. */ +# define RE_CONTEXT_INDEP_OPS (RE_CONTEXT_INDEP_ANCHORS << 1) + +/* If this bit is set, then *, +, ?, and { cannot be first in an re or + immediately after an alternation or begin-group operator. */ +# define RE_CONTEXT_INVALID_OPS (RE_CONTEXT_INDEP_OPS << 1) + +/* If this bit is set, then . matches newline. + If not set, then it doesn't. */ +# define RE_DOT_NEWLINE (RE_CONTEXT_INVALID_OPS << 1) + +/* If this bit is set, then . doesn't match NUL. + If not set, then it does. */ +# define RE_DOT_NOT_NULL (RE_DOT_NEWLINE << 1) + +/* If this bit is set, nonmatching lists [^...] do not match newline. + If not set, they do. */ +# define RE_HAT_LISTS_NOT_NEWLINE (RE_DOT_NOT_NULL << 1) + +/* If this bit is set, either \{...\} or {...} defines an + interval, depending on RE_NO_BK_BRACES. + If not set, \{, \}, {, and } are literals. */ +# define RE_INTERVALS (RE_HAT_LISTS_NOT_NEWLINE << 1) + +/* If this bit is set, +, ? and | aren't recognized as operators. + If not set, they are. */ +# define RE_LIMITED_OPS (RE_INTERVALS << 1) + +/* If this bit is set, newline is an alternation operator. + If not set, newline is literal. */ +# define RE_NEWLINE_ALT (RE_LIMITED_OPS << 1) + +/* If this bit is set, then `{...}' defines an interval, and \{ and \} + are literals. + If not set, then `\{...\}' defines an interval. */ +# define RE_NO_BK_BRACES (RE_NEWLINE_ALT << 1) + +/* If this bit is set, (...) defines a group, and \( and \) are literals. + If not set, \(...\) defines a group, and ( and ) are literals. */ +# define RE_NO_BK_PARENS (RE_NO_BK_BRACES << 1) + +/* If this bit is set, then \ matches . + If not set, then \ is a back-reference. */ +# define RE_NO_BK_REFS (RE_NO_BK_PARENS << 1) + +/* If this bit is set, then | is an alternation operator, and \| is literal. + If not set, then \| is an alternation operator, and | is literal. */ +# define RE_NO_BK_VBAR (RE_NO_BK_REFS << 1) + +/* If this bit is set, then an ending range point collating higher + than the starting range point, as in [z-a], is invalid. + If not set, then when ending range point collates higher than the + starting range point, the range is ignored. */ +# define RE_NO_EMPTY_RANGES (RE_NO_BK_VBAR << 1) + +/* If this bit is set, then an unmatched ) is ordinary. + If not set, then an unmatched ) is invalid. */ +# define RE_UNMATCHED_RIGHT_PAREN_ORD (RE_NO_EMPTY_RANGES << 1) + +/* If this bit is set, succeed as soon as we match the whole pattern, + without further backtracking. */ +# define RE_NO_POSIX_BACKTRACKING (RE_UNMATCHED_RIGHT_PAREN_ORD << 1) + +/* If this bit is set, do not process the GNU regex operators. + If not set, then the GNU regex operators are recognized. */ +# define RE_NO_GNU_OPS (RE_NO_POSIX_BACKTRACKING << 1) + +/* If this bit is set, turn on internal regex debugging. + If not set, and debugging was on, turn it off. + This only works if regex.c is compiled -DDEBUG. + We define this bit always, so that all that's needed to turn on + debugging is to recompile regex.c; the calling code can always have + this bit set, and it won't affect anything in the normal case. */ +# define RE_DEBUG (RE_NO_GNU_OPS << 1) + +/* If this bit is set, a syntactically invalid interval is treated as + a string of ordinary characters. For example, the ERE 'a{1' is + treated as 'a\{1'. */ +# define RE_INVALID_INTERVAL_ORD (RE_DEBUG << 1) + +/* If this bit is set, then ignore case when matching. + If not set, then case is significant. */ +# define RE_ICASE (RE_INVALID_INTERVAL_ORD << 1) + +/* This bit is used internally like RE_CONTEXT_INDEP_ANCHORS but only + for ^, because it is difficult to scan the regex backwards to find + whether ^ should be special. */ +# define RE_CARET_ANCHORS_HERE (RE_ICASE << 1) + +/* If this bit is set, then \{ cannot be first in a regex or + immediately after an alternation, open-group or \} operator. */ +# define RE_CONTEXT_INVALID_DUP (RE_CARET_ANCHORS_HERE << 1) + +/* If this bit is set, then no_sub will be set to 1 during + re_compile_pattern. */ +# define RE_NO_SUB (RE_CONTEXT_INVALID_DUP << 1) + +#endif /* defined __USE_GNU_REGEX */ + +/* This global variable defines the particular regexp syntax to use (for + some interfaces). When a regexp is compiled, the syntax used is + stored in the pattern buffer, so changing this does not affect + already-compiled regexps. */ +extern reg_syntax_t re_syntax_options; + +#ifdef __USE_GNU_REGEX +/* Define combinations of the above bits for the standard possibilities. + (The [[[ comments delimit what gets put into the Texinfo file, so + don't delete them!) */ +/* [[[begin syntaxes]]] */ +# define RE_SYNTAX_EMACS 0 + +# define RE_SYNTAX_AWK \ + (RE_BACKSLASH_ESCAPE_IN_LISTS | RE_DOT_NOT_NULL \ + | RE_NO_BK_PARENS | RE_NO_BK_REFS \ + | RE_NO_BK_VBAR | RE_NO_EMPTY_RANGES \ + | RE_DOT_NEWLINE | RE_CONTEXT_INDEP_ANCHORS \ + | RE_UNMATCHED_RIGHT_PAREN_ORD | RE_NO_GNU_OPS) + +# define RE_SYNTAX_GNU_AWK \ + ((RE_SYNTAX_POSIX_EXTENDED | RE_BACKSLASH_ESCAPE_IN_LISTS | RE_DEBUG) \ + & ~(RE_DOT_NOT_NULL | RE_INTERVALS | RE_CONTEXT_INDEP_OPS \ + | RE_CONTEXT_INVALID_OPS )) + +# define RE_SYNTAX_POSIX_AWK \ + (RE_SYNTAX_POSIX_EXTENDED | RE_BACKSLASH_ESCAPE_IN_LISTS \ + | RE_INTERVALS | RE_NO_GNU_OPS) + +# define RE_SYNTAX_GREP \ + (RE_BK_PLUS_QM | RE_CHAR_CLASSES \ + | RE_HAT_LISTS_NOT_NEWLINE | RE_INTERVALS \ + | RE_NEWLINE_ALT) + +# define RE_SYNTAX_EGREP \ + (RE_CHAR_CLASSES | RE_CONTEXT_INDEP_ANCHORS \ + | RE_CONTEXT_INDEP_OPS | RE_HAT_LISTS_NOT_NEWLINE \ + | RE_NEWLINE_ALT | RE_NO_BK_PARENS \ + | RE_NO_BK_VBAR) + +# define RE_SYNTAX_POSIX_EGREP \ + (RE_SYNTAX_EGREP | RE_INTERVALS | RE_NO_BK_BRACES \ + | RE_INVALID_INTERVAL_ORD) + +/* P1003.2/D11.2, section 4.20.7.1, lines 5078ff. */ +# define RE_SYNTAX_ED RE_SYNTAX_POSIX_BASIC + +# define RE_SYNTAX_SED RE_SYNTAX_POSIX_BASIC + +/* Syntax bits common to both basic and extended POSIX regex syntax. */ +# define _RE_SYNTAX_POSIX_COMMON \ + (RE_CHAR_CLASSES | RE_DOT_NEWLINE | RE_DOT_NOT_NULL \ + | RE_INTERVALS | RE_NO_EMPTY_RANGES) + +# define RE_SYNTAX_POSIX_BASIC \ + (_RE_SYNTAX_POSIX_COMMON | RE_BK_PLUS_QM | RE_CONTEXT_INVALID_DUP) + +/* Differs from ..._POSIX_BASIC only in that RE_BK_PLUS_QM becomes + RE_LIMITED_OPS, i.e., \? \+ \| are not recognized. Actually, this + isn't minimal, since other operators, such as \`, aren't disabled. */ +# define RE_SYNTAX_POSIX_MINIMAL_BASIC \ + (_RE_SYNTAX_POSIX_COMMON | RE_LIMITED_OPS) + +# define RE_SYNTAX_POSIX_EXTENDED \ + (_RE_SYNTAX_POSIX_COMMON | RE_CONTEXT_INDEP_ANCHORS \ + | RE_CONTEXT_INDEP_OPS | RE_NO_BK_BRACES \ + | RE_NO_BK_PARENS | RE_NO_BK_VBAR \ + | RE_CONTEXT_INVALID_OPS | RE_UNMATCHED_RIGHT_PAREN_ORD) + +/* Differs from ..._POSIX_EXTENDED in that RE_CONTEXT_INDEP_OPS is + removed and RE_NO_BK_REFS is added. */ +# define RE_SYNTAX_POSIX_MINIMAL_EXTENDED \ + (_RE_SYNTAX_POSIX_COMMON | RE_CONTEXT_INDEP_ANCHORS \ + | RE_CONTEXT_INVALID_OPS | RE_NO_BK_BRACES \ + | RE_NO_BK_PARENS | RE_NO_BK_REFS \ + | RE_NO_BK_VBAR | RE_UNMATCHED_RIGHT_PAREN_ORD) +/* [[[end syntaxes]]] */ + +#endif /* defined __USE_GNU_REGEX */ + +#ifdef __USE_GNU_REGEX + +/* Maximum number of duplicates an interval can allow. POSIX-conforming + systems might define this in , but we want our + value, so remove any previous define. */ +# ifdef RE_DUP_MAX +# undef RE_DUP_MAX +# endif + +/* RE_DUP_MAX is 2**15 - 1 because an earlier implementation stored + the counter as a 2-byte signed integer. This is no longer true, so + RE_DUP_MAX could be increased to (INT_MAX / 10 - 1), or to + ((SIZE_MAX - 2) / 10 - 1) if _REGEX_LARGE_OFFSETS is defined. + However, there would be a huge performance problem if someone + actually used a pattern like a\{214748363\}, so RE_DUP_MAX retains + its historical value. */ +# define RE_DUP_MAX (0x7fff) + +#endif /* defined __USE_GNU_REGEX */ + + +/* POSIX `cflags' bits (i.e., information for `regcomp'). */ + +/* If this bit is set, then use extended regular expression syntax. + If not set, then use basic regular expression syntax. */ +#define REG_EXTENDED 1 + +/* If this bit is set, then ignore case when matching. + If not set, then case is significant. */ +#define REG_ICASE (1 << 1) + +/* If this bit is set, then anchors do not match at newline + characters in the string. + If not set, then anchors do match at newlines. */ +#define REG_NEWLINE (1 << 2) + +/* If this bit is set, then report only success or fail in regexec. + If not set, then returns differ between not matching and errors. */ +#define REG_NOSUB (1 << 3) + + +/* POSIX `eflags' bits (i.e., information for regexec). */ + +/* If this bit is set, then the beginning-of-line operator doesn't match + the beginning of the string (presumably because it's not the + beginning of a line). + If not set, then the beginning-of-line operator does match the + beginning of the string. */ +#define REG_NOTBOL 1 + +/* Like REG_NOTBOL, except for the end-of-line. */ +#define REG_NOTEOL (1 << 1) + +/* Use PMATCH[0] to delimit the start and end of the search in the + buffer. */ +#define REG_STARTEND (1 << 2) + + +/* If any error codes are removed, changed, or added, update the + `__re_error_msgid' table in regcomp.c. */ + +typedef enum +{ + _REG_ENOSYS = -1, /* This will never happen for this implementation. */ + _REG_NOERROR = 0, /* Success. */ + _REG_NOMATCH, /* Didn't find a match (for regexec). */ + + /* POSIX regcomp return error codes. (In the order listed in the + standard.) */ + _REG_BADPAT, /* Invalid pattern. */ + _REG_ECOLLATE, /* Invalid collating element. */ + _REG_ECTYPE, /* Invalid character class name. */ + _REG_EESCAPE, /* Trailing backslash. */ + _REG_ESUBREG, /* Invalid back reference. */ + _REG_EBRACK, /* Unmatched left bracket. */ + _REG_EPAREN, /* Parenthesis imbalance. */ + _REG_EBRACE, /* Unmatched \{. */ + _REG_BADBR, /* Invalid contents of \{\}. */ + _REG_ERANGE, /* Invalid range end. */ + _REG_ESPACE, /* Ran out of memory. */ + _REG_BADRPT, /* No preceding re for repetition op. */ + + /* Error codes we've added. */ + _REG_EEND, /* Premature end. */ + _REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */ + _REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */ +} reg_errcode_t; + +#ifdef _XOPEN_SOURCE +# define REG_ENOSYS _REG_ENOSYS +#endif +#define REG_NOERROR _REG_NOERROR +#define REG_NOMATCH _REG_NOMATCH +#define REG_BADPAT _REG_BADPAT +#define REG_ECOLLATE _REG_ECOLLATE +#define REG_ECTYPE _REG_ECTYPE +#define REG_EESCAPE _REG_EESCAPE +#define REG_ESUBREG _REG_ESUBREG +#define REG_EBRACK _REG_EBRACK +#define REG_EPAREN _REG_EPAREN +#define REG_EBRACE _REG_EBRACE +#define REG_BADBR _REG_BADBR +#define REG_ERANGE _REG_ERANGE +#define REG_ESPACE _REG_ESPACE +#define REG_BADRPT _REG_BADRPT +#define REG_EEND _REG_EEND +#define REG_ESIZE _REG_ESIZE +#define REG_ERPAREN _REG_ERPAREN + +/* struct re_pattern_buffer normally uses member names like `buffer' + that POSIX does not allow. In POSIX mode these members have names + with leading `re_' (e.g., `re_buffer'). */ +#ifdef __USE_GNU_REGEX +# define _REG_RE_NAME(id) id +# define _REG_RM_NAME(id) id +#else +# define _REG_RE_NAME(id) re_##id +# define _REG_RM_NAME(id) rm_##id +#endif + +/* The user can specify the type of the re_translate member by + defining the macro RE_TRANSLATE_TYPE, which defaults to unsigned + char *. This pollutes the POSIX name space, so in POSIX mode just + use unsigned char *. */ +#ifdef __USE_GNU_REGEX +# ifndef RE_TRANSLATE_TYPE +# define RE_TRANSLATE_TYPE unsigned char * +# endif +# define REG_TRANSLATE_TYPE RE_TRANSLATE_TYPE +#else +# define REG_TRANSLATE_TYPE unsigned char * +#endif + +/* This data structure represents a compiled pattern. Before calling + the pattern compiler, the fields `buffer', `allocated', `fastmap', + `translate', and `no_sub' can be set. After the pattern has been + compiled, the `re_nsub' field is available. All other fields are + private to the regex routines. */ + +struct re_pattern_buffer +{ + /* Space that holds the compiled pattern. It is declared as + `unsigned char *' because its elements are sometimes used as + array indexes. */ + unsigned char *_REG_RE_NAME (buffer); + + /* Number of bytes to which `buffer' points. */ + __re_long_size_t _REG_RE_NAME (allocated); + + /* Number of bytes actually used in `buffer'. */ + __re_long_size_t _REG_RE_NAME (used); + + /* Syntax setting with which the pattern was compiled. */ + reg_syntax_t _REG_RE_NAME (syntax); + + /* Pointer to a fastmap, if any, otherwise zero. re_search uses the + fastmap, if there is one, to skip over impossible starting points + for matches. */ + char *_REG_RE_NAME (fastmap); + + /* Either a translate table to apply to all characters before + comparing them, or zero for no translation. The translation is + applied to a pattern when it is compiled and to a string when it + is matched. */ + REG_TRANSLATE_TYPE _REG_RE_NAME (translate); + + /* Number of subexpressions found by the compiler. */ + size_t re_nsub; + + /* Zero if this pattern cannot match the empty string, one else. + Well, in truth it's used only in `re_search_2', to see whether or + not we should use the fastmap, so we don't set this absolutely + perfectly; see `re_compile_fastmap' (the `duplicate' case). */ + unsigned int _REG_RE_NAME (can_be_null) : 1; + + /* If REGS_UNALLOCATED, allocate space in the `regs' structure + for `max (RE_NREGS, re_nsub + 1)' groups. + If REGS_REALLOCATE, reallocate space if necessary. + If REGS_FIXED, use what's there. */ +#ifdef __USE_GNU_REGEX +# define REGS_UNALLOCATED 0 +# define REGS_REALLOCATE 1 +# define REGS_FIXED 2 +#endif + unsigned int _REG_RE_NAME (regs_allocated) : 2; + + /* Set to zero when `re_compile_pattern' compiles a pattern; set to + one by `re_compile_fastmap' if it updates the fastmap. */ + unsigned int _REG_RE_NAME (fastmap_accurate) : 1; + + /* If set, `re_match_2' does not return information about + subexpressions. */ + unsigned int _REG_RE_NAME (no_sub) : 1; + + /* If set, a beginning-of-line anchor doesn't match at the beginning + of the string. */ + unsigned int _REG_RE_NAME (not_bol) : 1; + + /* Similarly for an end-of-line anchor. */ + unsigned int _REG_RE_NAME (not_eol) : 1; + + /* If true, an anchor at a newline matches. */ + unsigned int _REG_RE_NAME (newline_anchor) : 1; + +/* [[[end pattern_buffer]]] */ +}; + +typedef struct re_pattern_buffer regex_t; + +/* This is the structure we store register match data in. See + regex.texinfo for a full description of what registers match. */ +struct re_registers +{ + __re_size_t _REG_RM_NAME (num_regs); + regoff_t *_REG_RM_NAME (start); + regoff_t *_REG_RM_NAME (end); +}; + + +/* If `regs_allocated' is REGS_UNALLOCATED in the pattern buffer, + `re_match_2' returns information about at least this many registers + the first time a `regs' structure is passed. */ +#if !defined RE_NREGS && defined __USE_GNU_REGEX +# define RE_NREGS 30 +#endif + + +/* POSIX specification for registers. Aside from the different names than + `re_registers', POSIX uses an array of structures, instead of a + structure of arrays. */ +typedef struct +{ + regoff_t rm_so; /* Byte offset from string's start to substring's start. */ + regoff_t rm_eo; /* Byte offset from string's start to substring's end. */ +} regmatch_t; + +/* Declarations for routines. */ + +/* Sets the current default syntax to SYNTAX, and return the old syntax. + You can also simply assign to the `re_syntax_options' variable. */ +extern reg_syntax_t re_set_syntax (reg_syntax_t __syntax); + +/* Compile the regular expression PATTERN, with length LENGTH + and syntax given by the global `re_syntax_options', into the buffer + BUFFER. Return NULL if successful, and an error string if not. */ +extern const char *re_compile_pattern (const char *__pattern, size_t __length, + struct re_pattern_buffer *__buffer); + + +/* Compile a fastmap for the compiled pattern in BUFFER; used to + accelerate searches. Return 0 if successful and -2 if was an + internal error. */ +extern int re_compile_fastmap (struct re_pattern_buffer *__buffer); + + +/* Search in the string STRING (with length LENGTH) for the pattern + compiled into BUFFER. Start searching at position START, for RANGE + characters. Return the starting position of the match, -1 for no + match, or -2 for an internal error. Also return register + information in REGS (if REGS and BUFFER->no_sub are nonzero). */ +extern regoff_t re_search (struct re_pattern_buffer *__buffer, + const char *__string, __re_idx_t __length, + __re_idx_t __start, regoff_t __range, + struct re_registers *__regs); + + +/* Like `re_search', but search in the concatenation of STRING1 and + STRING2. Also, stop searching at index START + STOP. */ +extern regoff_t re_search_2 (struct re_pattern_buffer *__buffer, + const char *__string1, __re_idx_t __length1, + const char *__string2, __re_idx_t __length2, + __re_idx_t __start, regoff_t __range, + struct re_registers *__regs, + __re_idx_t __stop); + + +/* Like `re_search', but return how many characters in STRING the regexp + in BUFFER matched, starting at position START. */ +extern regoff_t re_match (struct re_pattern_buffer *__buffer, + const char *__string, __re_idx_t __length, + __re_idx_t __start, struct re_registers *__regs); + + +/* Relates to `re_match' as `re_search_2' relates to `re_search'. */ +extern regoff_t re_match_2 (struct re_pattern_buffer *__buffer, + const char *__string1, __re_idx_t __length1, + const char *__string2, __re_idx_t __length2, + __re_idx_t __start, struct re_registers *__regs, + __re_idx_t __stop); + + +/* Set REGS to hold NUM_REGS registers, storing them in STARTS and + ENDS. Subsequent matches using BUFFER and REGS will use this memory + for recording register information. STARTS and ENDS must be + allocated with malloc, and must each be at least `NUM_REGS * sizeof + (regoff_t)' bytes long. + + If NUM_REGS == 0, then subsequent matches should allocate their own + register data. + + Unless this function is called, the first search or match using + BUFFER will allocate its own register data, without freeing the old + data. */ +extern void re_set_registers (struct re_pattern_buffer *__buffer, + struct re_registers *__regs, + __re_size_t __num_regs, + regoff_t *__starts, regoff_t *__ends); + +#if defined _REGEX_RE_COMP || defined _LIBC +# ifndef _CRAY +/* 4.2 bsd compatibility. */ +extern char *re_comp (const char *); +extern int re_exec (const char *); +# endif +#endif + +/* GCC 2.95 and later have "__restrict"; C99 compilers have + "restrict", and "configure" may have defined "restrict". + Other compilers use __restrict, __restrict__, and _Restrict, and + 'configure' might #define 'restrict' to those words, so pick a + different name. */ +#ifndef _Restrict_ +# if 199901L <= __STDC_VERSION__ +# define _Restrict_ restrict +# elif 2 < __GNUC__ || (2 == __GNUC__ && 95 <= __GNUC_MINOR__) +# define _Restrict_ __restrict +# else +# define _Restrict_ +# endif +#endif +/* gcc 3.1 and up support the [restrict] syntax. Don't trust + sys/cdefs.h's definition of __restrict_arr, though, as it + mishandles gcc -ansi -pedantic. */ +#ifndef _Restrict_arr_ +# if ((199901L <= __STDC_VERSION__ \ + || ((3 < __GNUC__ || (3 == __GNUC__ && 1 <= __GNUC_MINOR__)) \ + && !__STRICT_ANSI__)) \ + && !defined __GNUG__) +# define _Restrict_arr_ _Restrict_ +# else +# define _Restrict_arr_ +# endif +#endif + +/* POSIX compatibility. */ +extern int regcomp (regex_t *_Restrict_ __preg, + const char *_Restrict_ __pattern, + int __cflags); + +extern int regexec (const regex_t *_Restrict_ __preg, + const char *_Restrict_ __string, size_t __nmatch, + regmatch_t __pmatch[_Restrict_arr_], + int __eflags); + +extern size_t regerror (int __errcode, const regex_t *_Restrict_ __preg, + char *_Restrict_ __errbuf, size_t __errbuf_size); + +extern void regfree (regex_t *__preg); + + +#ifdef __cplusplus +} +#endif /* C++ */ + +#endif /* regex.h */ diff --git a/grub-core/gnulib/regex_internal.c b/grub-core/gnulib/regex_internal.c new file mode 100644 index 0000000..98b8d5d --- /dev/null +++ b/grub-core/gnulib/regex_internal.c @@ -0,0 +1,1742 @@ +/* Extended regular expression matching and search library. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free + Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Isamu Hasegawa . + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +static void re_string_construct_common (const char *str, Idx len, + re_string_t *pstr, + RE_TRANSLATE_TYPE trans, bool icase, + const re_dfa_t *dfa) internal_function; +static re_dfastate_t *create_ci_newstate (const re_dfa_t *dfa, + const re_node_set *nodes, + re_hashval_t hash) internal_function; +static re_dfastate_t *create_cd_newstate (const re_dfa_t *dfa, + const re_node_set *nodes, + unsigned int context, + re_hashval_t hash) internal_function; + +/* Functions for string operation. */ + +/* This function allocate the buffers. It is necessary to call + re_string_reconstruct before using the object. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_string_allocate (re_string_t *pstr, const char *str, Idx len, Idx init_len, + RE_TRANSLATE_TYPE trans, bool icase, const re_dfa_t *dfa) +{ + reg_errcode_t ret; + Idx init_buf_len; + + /* Ensure at least one character fits into the buffers. */ + if (init_len < dfa->mb_cur_max) + init_len = dfa->mb_cur_max; + init_buf_len = (len + 1 < init_len) ? len + 1: init_len; + re_string_construct_common (str, len, pstr, trans, icase, dfa); + + ret = re_string_realloc_buffers (pstr, init_buf_len); + if (BE (ret != REG_NOERROR, 0)) + return ret; + + pstr->word_char = dfa->word_char; + pstr->word_ops_used = dfa->word_ops_used; + pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; + pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; + pstr->valid_raw_len = pstr->valid_len; + return REG_NOERROR; +} + +/* This function allocate the buffers, and initialize them. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_string_construct (re_string_t *pstr, const char *str, Idx len, + RE_TRANSLATE_TYPE trans, bool icase, const re_dfa_t *dfa) +{ + reg_errcode_t ret; + memset (pstr, '\0', sizeof (re_string_t)); + re_string_construct_common (str, len, pstr, trans, icase, dfa); + + if (len > 0) + { + ret = re_string_realloc_buffers (pstr, len + 1); + if (BE (ret != REG_NOERROR, 0)) + return ret; + } + pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; + + if (icase) + { +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + { + while (1) + { + ret = build_wcs_upper_buffer (pstr); + if (BE (ret != REG_NOERROR, 0)) + return ret; + if (pstr->valid_raw_len >= len) + break; + if (pstr->bufs_len > pstr->valid_len + dfa->mb_cur_max) + break; + ret = re_string_realloc_buffers (pstr, pstr->bufs_len * 2); + if (BE (ret != REG_NOERROR, 0)) + return ret; + } + } + else +#endif /* RE_ENABLE_I18N */ + build_upper_buffer (pstr); + } + else + { +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + build_wcs_buffer (pstr); + else +#endif /* RE_ENABLE_I18N */ + { + if (trans != NULL) + re_string_translate_buffer (pstr); + else + { + pstr->valid_len = pstr->bufs_len; + pstr->valid_raw_len = pstr->bufs_len; + } + } + } + + return REG_NOERROR; +} + +/* Helper functions for re_string_allocate, and re_string_construct. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_string_realloc_buffers (re_string_t *pstr, Idx new_buf_len) +{ +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + { + wint_t *new_wcs; + + /* Avoid overflow. */ + size_t max_object_size = MAX (sizeof (wint_t), sizeof (Idx)); + if (BE (SIZE_MAX / max_object_size < new_buf_len, 0)) + return REG_ESPACE; + + new_wcs = re_realloc (pstr->wcs, wint_t, new_buf_len); + if (BE (new_wcs == NULL, 0)) + return REG_ESPACE; + pstr->wcs = new_wcs; + if (pstr->offsets != NULL) + { + Idx *new_offsets = re_realloc (pstr->offsets, Idx, new_buf_len); + if (BE (new_offsets == NULL, 0)) + return REG_ESPACE; + pstr->offsets = new_offsets; + } + } +#endif /* RE_ENABLE_I18N */ + if (pstr->mbs_allocated) + { + unsigned char *new_mbs = re_realloc (pstr->mbs, unsigned char, + new_buf_len); + if (BE (new_mbs == NULL, 0)) + return REG_ESPACE; + pstr->mbs = new_mbs; + } + pstr->bufs_len = new_buf_len; + return REG_NOERROR; +} + + +static void +internal_function +re_string_construct_common (const char *str, Idx len, re_string_t *pstr, + RE_TRANSLATE_TYPE trans, bool icase, + const re_dfa_t *dfa) +{ + pstr->raw_mbs = (const unsigned char *) str; + pstr->len = len; + pstr->raw_len = len; + pstr->trans = trans; + pstr->icase = icase; + pstr->mbs_allocated = (trans != NULL || icase); + pstr->mb_cur_max = dfa->mb_cur_max; + pstr->is_utf8 = dfa->is_utf8; + pstr->map_notascii = dfa->map_notascii; + pstr->stop = pstr->len; + pstr->raw_stop = pstr->stop; +} + +#ifdef RE_ENABLE_I18N + +/* Build wide character buffer PSTR->WCS. + If the byte sequence of the string are: + (0), (1), (0), (1), + Then wide character buffer will be: + , WEOF , , WEOF , + We use WEOF for padding, they indicate that the position isn't + a first byte of a multibyte character. + + Note that this function assumes PSTR->VALID_LEN elements are already + built and starts from PSTR->VALID_LEN. */ + +static void +internal_function +build_wcs_buffer (re_string_t *pstr) +{ +#ifdef _LIBC + unsigned char buf[MB_LEN_MAX]; + assert (MB_LEN_MAX >= pstr->mb_cur_max); +#else + unsigned char buf[64]; +#endif + mbstate_t prev_st; + Idx byte_idx, end_idx, remain_len; + size_t mbclen; + + /* Build the buffers from pstr->valid_len to either pstr->len or + pstr->bufs_len. */ + end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; + for (byte_idx = pstr->valid_len; byte_idx < end_idx;) + { + wchar_t wc; + const char *p; + + remain_len = end_idx - byte_idx; + prev_st = pstr->cur_state; + /* Apply the translation if we need. */ + if (BE (pstr->trans != NULL, 0)) + { + int i, ch; + + for (i = 0; i < pstr->mb_cur_max && i < remain_len; ++i) + { + ch = pstr->raw_mbs [pstr->raw_mbs_idx + byte_idx + i]; + buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch]; + } + p = (const char *) buf; + } + else + p = (const char *) pstr->raw_mbs + pstr->raw_mbs_idx + byte_idx; + mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state); + if (BE (mbclen == (size_t) -2, 0)) + { + /* The buffer doesn't have enough space, finish to build. */ + pstr->cur_state = prev_st; + break; + } + else if (BE (mbclen == (size_t) -1 || mbclen == 0, 0)) + { + /* We treat these cases as a singlebyte character. */ + mbclen = 1; + wc = (wchar_t) pstr->raw_mbs[pstr->raw_mbs_idx + byte_idx]; + if (BE (pstr->trans != NULL, 0)) + wc = pstr->trans[wc]; + pstr->cur_state = prev_st; + } + + /* Write wide character and padding. */ + pstr->wcs[byte_idx++] = wc; + /* Write paddings. */ + for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;) + pstr->wcs[byte_idx++] = WEOF; + } + pstr->valid_len = byte_idx; + pstr->valid_raw_len = byte_idx; +} + +/* Build wide character buffer PSTR->WCS like build_wcs_buffer, + but for REG_ICASE. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +build_wcs_upper_buffer (re_string_t *pstr) +{ + mbstate_t prev_st; + Idx src_idx, byte_idx, end_idx, remain_len; + size_t mbclen; +#ifdef _LIBC + char buf[MB_LEN_MAX]; + assert (MB_LEN_MAX >= pstr->mb_cur_max); +#else + char buf[64]; +#endif + + byte_idx = pstr->valid_len; + end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; + + /* The following optimization assumes that ASCII characters can be + mapped to wide characters with a simple cast. */ + if (! pstr->map_notascii && pstr->trans == NULL && !pstr->offsets_needed) + { + while (byte_idx < end_idx) + { + wchar_t wc; + + if (isascii (pstr->raw_mbs[pstr->raw_mbs_idx + byte_idx]) + && mbsinit (&pstr->cur_state)) + { + /* In case of a singlebyte character. */ + pstr->mbs[byte_idx] + = toupper (pstr->raw_mbs[pstr->raw_mbs_idx + byte_idx]); + /* The next step uses the assumption that wchar_t is encoded + ASCII-safe: all ASCII values can be converted like this. */ + pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx]; + ++byte_idx; + continue; + } + + remain_len = end_idx - byte_idx; + prev_st = pstr->cur_state; + mbclen = __mbrtowc (&wc, + ((const char *) pstr->raw_mbs + pstr->raw_mbs_idx + + byte_idx), remain_len, &pstr->cur_state); + if (BE (mbclen < (size_t) -2, 1)) + { + wchar_t wcu = wc; + if (iswlower (wc)) + { + size_t mbcdlen; + + wcu = towupper (wc); + mbcdlen = wcrtomb (buf, wcu, &prev_st); + if (BE (mbclen == mbcdlen, 1)) + memcpy (pstr->mbs + byte_idx, buf, mbclen); + else + { + src_idx = byte_idx; + goto offsets_needed; + } + } + else + memcpy (pstr->mbs + byte_idx, + pstr->raw_mbs + pstr->raw_mbs_idx + byte_idx, mbclen); + pstr->wcs[byte_idx++] = wcu; + /* Write paddings. */ + for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;) + pstr->wcs[byte_idx++] = WEOF; + } + else if (mbclen == (size_t) -1 || mbclen == 0) + { + /* It is an invalid character or '\0'. Just use the byte. */ + int ch = pstr->raw_mbs[pstr->raw_mbs_idx + byte_idx]; + pstr->mbs[byte_idx] = ch; + /* And also cast it to wide char. */ + pstr->wcs[byte_idx++] = (wchar_t) ch; + if (BE (mbclen == (size_t) -1, 0)) + pstr->cur_state = prev_st; + } + else + { + /* The buffer doesn't have enough space, finish to build. */ + pstr->cur_state = prev_st; + break; + } + } + pstr->valid_len = byte_idx; + pstr->valid_raw_len = byte_idx; + return REG_NOERROR; + } + else + for (src_idx = pstr->valid_raw_len; byte_idx < end_idx;) + { + wchar_t wc; + const char *p; + offsets_needed: + remain_len = end_idx - byte_idx; + prev_st = pstr->cur_state; + if (BE (pstr->trans != NULL, 0)) + { + int i, ch; + + for (i = 0; i < pstr->mb_cur_max && i < remain_len; ++i) + { + ch = pstr->raw_mbs [pstr->raw_mbs_idx + src_idx + i]; + buf[i] = pstr->trans[ch]; + } + p = (const char *) buf; + } + else + p = (const char *) pstr->raw_mbs + pstr->raw_mbs_idx + src_idx; + mbclen = __mbrtowc (&wc, p, remain_len, &pstr->cur_state); + if (BE (mbclen < (size_t) -2, 1)) + { + wchar_t wcu = wc; + if (iswlower (wc)) + { + size_t mbcdlen; + + wcu = towupper (wc); + mbcdlen = wcrtomb ((char *) buf, wcu, &prev_st); + if (BE (mbclen == mbcdlen, 1)) + memcpy (pstr->mbs + byte_idx, buf, mbclen); + else if (mbcdlen != (size_t) -1) + { + size_t i; + + if (byte_idx + mbcdlen > pstr->bufs_len) + { + pstr->cur_state = prev_st; + break; + } + + if (pstr->offsets == NULL) + { + pstr->offsets = re_malloc (Idx, pstr->bufs_len); + + if (pstr->offsets == NULL) + return REG_ESPACE; + } + if (!pstr->offsets_needed) + { + for (i = 0; i < (size_t) byte_idx; ++i) + pstr->offsets[i] = i; + pstr->offsets_needed = 1; + } + + memcpy (pstr->mbs + byte_idx, buf, mbcdlen); + pstr->wcs[byte_idx] = wcu; + pstr->offsets[byte_idx] = src_idx; + for (i = 1; i < mbcdlen; ++i) + { + pstr->offsets[byte_idx + i] + = src_idx + (i < mbclen ? i : mbclen - 1); + pstr->wcs[byte_idx + i] = WEOF; + } + pstr->len += mbcdlen - mbclen; + if (pstr->raw_stop > src_idx) + pstr->stop += mbcdlen - mbclen; + end_idx = (pstr->bufs_len > pstr->len) + ? pstr->len : pstr->bufs_len; + byte_idx += mbcdlen; + src_idx += mbclen; + continue; + } + else + memcpy (pstr->mbs + byte_idx, p, mbclen); + } + else + memcpy (pstr->mbs + byte_idx, p, mbclen); + + if (BE (pstr->offsets_needed != 0, 0)) + { + size_t i; + for (i = 0; i < mbclen; ++i) + pstr->offsets[byte_idx + i] = src_idx + i; + } + src_idx += mbclen; + + pstr->wcs[byte_idx++] = wcu; + /* Write paddings. */ + for (remain_len = byte_idx + mbclen - 1; byte_idx < remain_len ;) + pstr->wcs[byte_idx++] = WEOF; + } + else if (mbclen == (size_t) -1 || mbclen == 0) + { + /* It is an invalid character or '\0'. Just use the byte. */ + int ch = pstr->raw_mbs[pstr->raw_mbs_idx + src_idx]; + + if (BE (pstr->trans != NULL, 0)) + ch = pstr->trans [ch]; + pstr->mbs[byte_idx] = ch; + + if (BE (pstr->offsets_needed != 0, 0)) + pstr->offsets[byte_idx] = src_idx; + ++src_idx; + + /* And also cast it to wide char. */ + pstr->wcs[byte_idx++] = (wchar_t) ch; + if (BE (mbclen == (size_t) -1, 0)) + pstr->cur_state = prev_st; + } + else + { + /* The buffer doesn't have enough space, finish to build. */ + pstr->cur_state = prev_st; + break; + } + } + pstr->valid_len = byte_idx; + pstr->valid_raw_len = src_idx; + return REG_NOERROR; +} + +/* Skip characters until the index becomes greater than NEW_RAW_IDX. + Return the index. */ + +static Idx +internal_function +re_string_skip_chars (re_string_t *pstr, Idx new_raw_idx, wint_t *last_wc) +{ + mbstate_t prev_st; + Idx rawbuf_idx; + size_t mbclen; + wint_t wc = WEOF; + + /* Skip the characters which are not necessary to check. */ + for (rawbuf_idx = pstr->raw_mbs_idx + pstr->valid_raw_len; + rawbuf_idx < new_raw_idx;) + { + wchar_t wc2; + Idx remain_len; + remain_len = pstr->len - rawbuf_idx; + prev_st = pstr->cur_state; + mbclen = __mbrtowc (&wc2, (const char *) pstr->raw_mbs + rawbuf_idx, + remain_len, &pstr->cur_state); + if (BE (mbclen == (size_t) -2 || mbclen == (size_t) -1 || mbclen == 0, 0)) + { + /* We treat these cases as a single byte character. */ + if (mbclen == 0 || remain_len == 0) + wc = L'\0'; + else + wc = *(unsigned char *) (pstr->raw_mbs + rawbuf_idx); + mbclen = 1; + pstr->cur_state = prev_st; + } + else + wc = wc2; + /* Then proceed the next character. */ + rawbuf_idx += mbclen; + } + *last_wc = wc; + return rawbuf_idx; +} +#endif /* RE_ENABLE_I18N */ + +/* Build the buffer PSTR->MBS, and apply the translation if we need. + This function is used in case of REG_ICASE. */ + +static void +internal_function +build_upper_buffer (re_string_t *pstr) +{ + Idx char_idx, end_idx; + end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; + + for (char_idx = pstr->valid_len; char_idx < end_idx; ++char_idx) + { + int ch = pstr->raw_mbs[pstr->raw_mbs_idx + char_idx]; + if (BE (pstr->trans != NULL, 0)) + ch = pstr->trans[ch]; + if (islower (ch)) + pstr->mbs[char_idx] = toupper (ch); + else + pstr->mbs[char_idx] = ch; + } + pstr->valid_len = char_idx; + pstr->valid_raw_len = char_idx; +} + +/* Apply TRANS to the buffer in PSTR. */ + +static void +internal_function +re_string_translate_buffer (re_string_t *pstr) +{ + Idx buf_idx, end_idx; + end_idx = (pstr->bufs_len > pstr->len) ? pstr->len : pstr->bufs_len; + + for (buf_idx = pstr->valid_len; buf_idx < end_idx; ++buf_idx) + { + int ch = pstr->raw_mbs[pstr->raw_mbs_idx + buf_idx]; + pstr->mbs[buf_idx] = pstr->trans[ch]; + } + + pstr->valid_len = buf_idx; + pstr->valid_raw_len = buf_idx; +} + +/* This function re-construct the buffers. + Concretely, convert to wide character in case of pstr->mb_cur_max > 1, + convert to upper case in case of REG_ICASE, apply translation. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_string_reconstruct (re_string_t *pstr, Idx idx, int eflags) +{ + Idx offset; + + if (BE (pstr->raw_mbs_idx <= idx, 0)) + offset = idx - pstr->raw_mbs_idx; + else + { + /* Reset buffer. */ +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + memset (&pstr->cur_state, '\0', sizeof (mbstate_t)); +#endif /* RE_ENABLE_I18N */ + pstr->len = pstr->raw_len; + pstr->stop = pstr->raw_stop; + pstr->valid_len = 0; + pstr->raw_mbs_idx = 0; + pstr->valid_raw_len = 0; + pstr->offsets_needed = 0; + pstr->tip_context = ((eflags & REG_NOTBOL) ? CONTEXT_BEGBUF + : CONTEXT_NEWLINE | CONTEXT_BEGBUF); + if (!pstr->mbs_allocated) + pstr->mbs = (unsigned char *) pstr->raw_mbs; + offset = idx; + } + + if (BE (offset != 0, 1)) + { + /* Should the already checked characters be kept? */ + if (BE (offset < pstr->valid_raw_len, 1)) + { + /* Yes, move them to the front of the buffer. */ +#ifdef RE_ENABLE_I18N + if (BE (pstr->offsets_needed, 0)) + { + Idx low = 0, high = pstr->valid_len, mid; + do + { + mid = (high + low) / 2; + if (pstr->offsets[mid] > offset) + high = mid; + else if (pstr->offsets[mid] < offset) + low = mid + 1; + else + break; + } + while (low < high); + if (pstr->offsets[mid] < offset) + ++mid; + pstr->tip_context = re_string_context_at (pstr, mid - 1, + eflags); + /* This can be quite complicated, so handle specially + only the common and easy case where the character with + different length representation of lower and upper + case is present at or after offset. */ + if (pstr->valid_len > offset + && mid == offset && pstr->offsets[mid] == offset) + { + memmove (pstr->wcs, pstr->wcs + offset, + (pstr->valid_len - offset) * sizeof (wint_t)); + memmove (pstr->mbs, pstr->mbs + offset, pstr->valid_len - offset); + pstr->valid_len -= offset; + pstr->valid_raw_len -= offset; + for (low = 0; low < pstr->valid_len; low++) + pstr->offsets[low] = pstr->offsets[low + offset] - offset; + } + else + { + /* Otherwise, just find out how long the partial multibyte + character at offset is and fill it with WEOF/255. */ + pstr->len = pstr->raw_len - idx + offset; + pstr->stop = pstr->raw_stop - idx + offset; + pstr->offsets_needed = 0; + while (mid > 0 && pstr->offsets[mid - 1] == offset) + --mid; + while (mid < pstr->valid_len) + if (pstr->wcs[mid] != WEOF) + break; + else + ++mid; + if (mid == pstr->valid_len) + pstr->valid_len = 0; + else + { + pstr->valid_len = pstr->offsets[mid] - offset; + if (pstr->valid_len) + { + for (low = 0; low < pstr->valid_len; ++low) + pstr->wcs[low] = WEOF; + memset (pstr->mbs, 255, pstr->valid_len); + } + } + pstr->valid_raw_len = pstr->valid_len; + } + } + else +#endif + { + pstr->tip_context = re_string_context_at (pstr, offset - 1, + eflags); +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + memmove (pstr->wcs, pstr->wcs + offset, + (pstr->valid_len - offset) * sizeof (wint_t)); +#endif /* RE_ENABLE_I18N */ + if (BE (pstr->mbs_allocated, 0)) + memmove (pstr->mbs, pstr->mbs + offset, + pstr->valid_len - offset); + pstr->valid_len -= offset; + pstr->valid_raw_len -= offset; +#if DEBUG + assert (pstr->valid_len > 0); +#endif + } + } + else + { +#ifdef RE_ENABLE_I18N + /* No, skip all characters until IDX. */ + Idx prev_valid_len = pstr->valid_len; + + if (BE (pstr->offsets_needed, 0)) + { + pstr->len = pstr->raw_len - idx + offset; + pstr->stop = pstr->raw_stop - idx + offset; + pstr->offsets_needed = 0; + } +#endif + pstr->valid_len = 0; +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + { + Idx wcs_idx; + wint_t wc = WEOF; + + if (pstr->is_utf8) + { + const unsigned char *raw, *p, *end; + + /* Special case UTF-8. Multi-byte chars start with any + byte other than 0x80 - 0xbf. */ + raw = pstr->raw_mbs + pstr->raw_mbs_idx; + end = raw + (offset - pstr->mb_cur_max); + if (end < pstr->raw_mbs) + end = pstr->raw_mbs; + p = raw + offset - 1; +#ifdef _LIBC + /* We know the wchar_t encoding is UCS4, so for the simple + case, ASCII characters, skip the conversion step. */ + if (isascii (*p) && BE (pstr->trans == NULL, 1)) + { + memset (&pstr->cur_state, '\0', sizeof (mbstate_t)); + /* pstr->valid_len = 0; */ + wc = (wchar_t) *p; + } + else +#endif + for (; p >= end; --p) + if ((*p & 0xc0) != 0x80) + { + mbstate_t cur_state; + wchar_t wc2; + Idx mlen = raw + pstr->len - p; + size_t mbclen; + +#if 0 /* dead code: buf is set but never used */ + unsigned char buf[6]; + if (BE (pstr->trans != NULL, 0)) + { + int i = mlen < 6 ? mlen : 6; + while (--i >= 0) + buf[i] = pstr->trans[p[i]]; + } +#endif + /* XXX Don't use mbrtowc, we know which conversion + to use (UTF-8 -> UCS4). */ + memset (&cur_state, 0, sizeof (cur_state)); + mbclen = __mbrtowc (&wc2, (const char *) p, mlen, + &cur_state); + if (raw + offset - p <= mbclen + && mbclen < (size_t) -2) + { + memset (&pstr->cur_state, '\0', + sizeof (mbstate_t)); + pstr->valid_len = mbclen - (raw + offset - p); + wc = wc2; + } + break; + } + } + + if (wc == WEOF) + pstr->valid_len = re_string_skip_chars (pstr, idx, &wc) - idx; + if (wc == WEOF) + pstr->tip_context + = re_string_context_at (pstr, prev_valid_len - 1, eflags); + else + pstr->tip_context = ((BE (pstr->word_ops_used != 0, 0) + && IS_WIDE_WORD_CHAR (wc)) + ? CONTEXT_WORD + : ((IS_WIDE_NEWLINE (wc) + && pstr->newline_anchor) + ? CONTEXT_NEWLINE : 0)); + if (BE (pstr->valid_len, 0)) + { + for (wcs_idx = 0; wcs_idx < pstr->valid_len; ++wcs_idx) + pstr->wcs[wcs_idx] = WEOF; + if (pstr->mbs_allocated) + memset (pstr->mbs, 255, pstr->valid_len); + } + pstr->valid_raw_len = pstr->valid_len; + } + else +#endif /* RE_ENABLE_I18N */ + { + int c = pstr->raw_mbs[pstr->raw_mbs_idx + offset - 1]; + pstr->valid_raw_len = 0; + if (pstr->trans) + c = pstr->trans[c]; + pstr->tip_context = (bitset_contain (pstr->word_char, c) + ? CONTEXT_WORD + : ((IS_NEWLINE (c) && pstr->newline_anchor) + ? CONTEXT_NEWLINE : 0)); + } + } + if (!BE (pstr->mbs_allocated, 0)) + pstr->mbs += offset; + } + pstr->raw_mbs_idx = idx; + pstr->len -= offset; + pstr->stop -= offset; + + /* Then build the buffers. */ +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + { + if (pstr->icase) + { + reg_errcode_t ret = build_wcs_upper_buffer (pstr); + if (BE (ret != REG_NOERROR, 0)) + return ret; + } + else + build_wcs_buffer (pstr); + } + else +#endif /* RE_ENABLE_I18N */ + if (BE (pstr->mbs_allocated, 0)) + { + if (pstr->icase) + build_upper_buffer (pstr); + else if (pstr->trans != NULL) + re_string_translate_buffer (pstr); + } + else + pstr->valid_len = pstr->len; + + pstr->cur_idx = 0; + return REG_NOERROR; +} + +static unsigned char +internal_function __attribute ((pure)) +re_string_peek_byte_case (const re_string_t *pstr, Idx idx) +{ + int ch; + Idx off; + + /* Handle the common (easiest) cases first. */ + if (BE (!pstr->mbs_allocated, 1)) + return re_string_peek_byte (pstr, idx); + +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1 + && ! re_string_is_single_byte_char (pstr, pstr->cur_idx + idx)) + return re_string_peek_byte (pstr, idx); +#endif + + off = pstr->cur_idx + idx; +#ifdef RE_ENABLE_I18N + if (pstr->offsets_needed) + off = pstr->offsets[off]; +#endif + + ch = pstr->raw_mbs[pstr->raw_mbs_idx + off]; + +#ifdef RE_ENABLE_I18N + /* Ensure that e.g. for tr_TR.UTF-8 BACKSLASH DOTLESS SMALL LETTER I + this function returns CAPITAL LETTER I instead of first byte of + DOTLESS SMALL LETTER I. The latter would confuse the parser, + since peek_byte_case doesn't advance cur_idx in any way. */ + if (pstr->offsets_needed && !isascii (ch)) + return re_string_peek_byte (pstr, idx); +#endif + + return ch; +} + +static unsigned char +internal_function __attribute ((pure)) +re_string_fetch_byte_case (re_string_t *pstr) +{ + if (BE (!pstr->mbs_allocated, 1)) + return re_string_fetch_byte (pstr); + +#ifdef RE_ENABLE_I18N + if (pstr->offsets_needed) + { + Idx off; + int ch; + + /* For tr_TR.UTF-8 [[:islower:]] there is + [[: CAPITAL LETTER I WITH DOT lower:]] in mbs. Skip + in that case the whole multi-byte character and return + the original letter. On the other side, with + [[: DOTLESS SMALL LETTER I return [[:I, as doing + anything else would complicate things too much. */ + + if (!re_string_first_byte (pstr, pstr->cur_idx)) + return re_string_fetch_byte (pstr); + + off = pstr->offsets[pstr->cur_idx]; + ch = pstr->raw_mbs[pstr->raw_mbs_idx + off]; + + if (! isascii (ch)) + return re_string_fetch_byte (pstr); + + re_string_skip_bytes (pstr, + re_string_char_size_at (pstr, pstr->cur_idx)); + return ch; + } +#endif + + return pstr->raw_mbs[pstr->raw_mbs_idx + pstr->cur_idx++]; +} + +static void +internal_function +re_string_destruct (re_string_t *pstr) +{ +#ifdef RE_ENABLE_I18N + re_free (pstr->wcs); + re_free (pstr->offsets); +#endif /* RE_ENABLE_I18N */ + if (pstr->mbs_allocated) + re_free (pstr->mbs); +} + +/* Return the context at IDX in INPUT. */ + +static unsigned int +internal_function +re_string_context_at (const re_string_t *input, Idx idx, int eflags) +{ + int c; + if (BE (! REG_VALID_INDEX (idx), 0)) + /* In this case, we use the value stored in input->tip_context, + since we can't know the character in input->mbs[-1] here. */ + return input->tip_context; + if (BE (idx == input->len, 0)) + return ((eflags & REG_NOTEOL) ? CONTEXT_ENDBUF + : CONTEXT_NEWLINE | CONTEXT_ENDBUF); +#ifdef RE_ENABLE_I18N + if (input->mb_cur_max > 1) + { + wint_t wc; + Idx wc_idx = idx; + while(input->wcs[wc_idx] == WEOF) + { +#ifdef DEBUG + /* It must not happen. */ + assert (REG_VALID_INDEX (wc_idx)); +#endif + --wc_idx; + if (! REG_VALID_INDEX (wc_idx)) + return input->tip_context; + } + wc = input->wcs[wc_idx]; + if (BE (input->word_ops_used != 0, 0) && IS_WIDE_WORD_CHAR (wc)) + return CONTEXT_WORD; + return (IS_WIDE_NEWLINE (wc) && input->newline_anchor + ? CONTEXT_NEWLINE : 0); + } + else +#endif + { + c = re_string_byte_at (input, idx); + if (bitset_contain (input->word_char, c)) + return CONTEXT_WORD; + return IS_NEWLINE (c) && input->newline_anchor ? CONTEXT_NEWLINE : 0; + } +} + +/* Functions for set operation. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_alloc (re_node_set *set, Idx size) +{ + set->alloc = size; + set->nelem = 0; + set->elems = re_malloc (Idx, size); + if (BE (set->elems == NULL, 0)) + return REG_ESPACE; + return REG_NOERROR; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_init_1 (re_node_set *set, Idx elem) +{ + set->alloc = 1; + set->nelem = 1; + set->elems = re_malloc (Idx, 1); + if (BE (set->elems == NULL, 0)) + { + set->alloc = set->nelem = 0; + return REG_ESPACE; + } + set->elems[0] = elem; + return REG_NOERROR; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_init_2 (re_node_set *set, Idx elem1, Idx elem2) +{ + set->alloc = 2; + set->elems = re_malloc (Idx, 2); + if (BE (set->elems == NULL, 0)) + return REG_ESPACE; + if (elem1 == elem2) + { + set->nelem = 1; + set->elems[0] = elem1; + } + else + { + set->nelem = 2; + if (elem1 < elem2) + { + set->elems[0] = elem1; + set->elems[1] = elem2; + } + else + { + set->elems[0] = elem2; + set->elems[1] = elem1; + } + } + return REG_NOERROR; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_init_copy (re_node_set *dest, const re_node_set *src) +{ + dest->nelem = src->nelem; + if (src->nelem > 0) + { + dest->alloc = dest->nelem; + dest->elems = re_malloc (Idx, dest->alloc); + if (BE (dest->elems == NULL, 0)) + { + dest->alloc = dest->nelem = 0; + return REG_ESPACE; + } + memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); + } + else + re_node_set_init_empty (dest); + return REG_NOERROR; +} + +/* Calculate the intersection of the sets SRC1 and SRC2. And merge it to + DEST. Return value indicate the error code or REG_NOERROR if succeeded. + Note: We assume dest->elems is NULL, when dest->alloc is 0. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_add_intersect (re_node_set *dest, const re_node_set *src1, + const re_node_set *src2) +{ + Idx i1, i2, is, id, delta, sbase; + if (src1->nelem == 0 || src2->nelem == 0) + return REG_NOERROR; + + /* We need dest->nelem + 2 * elems_in_intersection; this is a + conservative estimate. */ + if (src1->nelem + src2->nelem + dest->nelem > dest->alloc) + { + Idx new_alloc = src1->nelem + src2->nelem + dest->alloc; + Idx *new_elems = re_realloc (dest->elems, Idx, new_alloc); + if (BE (new_elems == NULL, 0)) + return REG_ESPACE; + dest->elems = new_elems; + dest->alloc = new_alloc; + } + + /* Find the items in the intersection of SRC1 and SRC2, and copy + into the top of DEST those that are not already in DEST itself. */ + sbase = dest->nelem + src1->nelem + src2->nelem; + i1 = src1->nelem - 1; + i2 = src2->nelem - 1; + id = dest->nelem - 1; + for (;;) + { + if (src1->elems[i1] == src2->elems[i2]) + { + /* Try to find the item in DEST. Maybe we could binary search? */ + while (REG_VALID_INDEX (id) && dest->elems[id] > src1->elems[i1]) + --id; + + if (! REG_VALID_INDEX (id) || dest->elems[id] != src1->elems[i1]) + dest->elems[--sbase] = src1->elems[i1]; + + if (! REG_VALID_INDEX (--i1) || ! REG_VALID_INDEX (--i2)) + break; + } + + /* Lower the highest of the two items. */ + else if (src1->elems[i1] < src2->elems[i2]) + { + if (! REG_VALID_INDEX (--i2)) + break; + } + else + { + if (! REG_VALID_INDEX (--i1)) + break; + } + } + + id = dest->nelem - 1; + is = dest->nelem + src1->nelem + src2->nelem - 1; + delta = is - sbase + 1; + + /* Now copy. When DELTA becomes zero, the remaining + DEST elements are already in place; this is more or + less the same loop that is in re_node_set_merge. */ + dest->nelem += delta; + if (delta > 0 && REG_VALID_INDEX (id)) + for (;;) + { + if (dest->elems[is] > dest->elems[id]) + { + /* Copy from the top. */ + dest->elems[id + delta--] = dest->elems[is--]; + if (delta == 0) + break; + } + else + { + /* Slide from the bottom. */ + dest->elems[id + delta] = dest->elems[id]; + if (! REG_VALID_INDEX (--id)) + break; + } + } + + /* Copy remaining SRC elements. */ + memcpy (dest->elems, dest->elems + sbase, delta * sizeof (Idx)); + + return REG_NOERROR; +} + +/* Calculate the union set of the sets SRC1 and SRC2. And store it to + DEST. Return value indicate the error code or REG_NOERROR if succeeded. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_init_union (re_node_set *dest, const re_node_set *src1, + const re_node_set *src2) +{ + Idx i1, i2, id; + if (src1 != NULL && src1->nelem > 0 && src2 != NULL && src2->nelem > 0) + { + dest->alloc = src1->nelem + src2->nelem; + dest->elems = re_malloc (Idx, dest->alloc); + if (BE (dest->elems == NULL, 0)) + return REG_ESPACE; + } + else + { + if (src1 != NULL && src1->nelem > 0) + return re_node_set_init_copy (dest, src1); + else if (src2 != NULL && src2->nelem > 0) + return re_node_set_init_copy (dest, src2); + else + re_node_set_init_empty (dest); + return REG_NOERROR; + } + for (i1 = i2 = id = 0 ; i1 < src1->nelem && i2 < src2->nelem ;) + { + if (src1->elems[i1] > src2->elems[i2]) + { + dest->elems[id++] = src2->elems[i2++]; + continue; + } + if (src1->elems[i1] == src2->elems[i2]) + ++i2; + dest->elems[id++] = src1->elems[i1++]; + } + if (i1 < src1->nelem) + { + memcpy (dest->elems + id, src1->elems + i1, + (src1->nelem - i1) * sizeof (Idx)); + id += src1->nelem - i1; + } + else if (i2 < src2->nelem) + { + memcpy (dest->elems + id, src2->elems + i2, + (src2->nelem - i2) * sizeof (Idx)); + id += src2->nelem - i2; + } + dest->nelem = id; + return REG_NOERROR; +} + +/* Calculate the union set of the sets DEST and SRC. And store it to + DEST. Return value indicate the error code or REG_NOERROR if succeeded. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_node_set_merge (re_node_set *dest, const re_node_set *src) +{ + Idx is, id, sbase, delta; + if (src == NULL || src->nelem == 0) + return REG_NOERROR; + if (dest->alloc < 2 * src->nelem + dest->nelem) + { + Idx new_alloc = 2 * (src->nelem + dest->alloc); + Idx *new_buffer = re_realloc (dest->elems, Idx, new_alloc); + if (BE (new_buffer == NULL, 0)) + return REG_ESPACE; + dest->elems = new_buffer; + dest->alloc = new_alloc; + } + + if (BE (dest->nelem == 0, 0)) + { + dest->nelem = src->nelem; + memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); + return REG_NOERROR; + } + + /* Copy into the top of DEST the items of SRC that are not + found in DEST. Maybe we could binary search in DEST? */ + for (sbase = dest->nelem + 2 * src->nelem, + is = src->nelem - 1, id = dest->nelem - 1; + REG_VALID_INDEX (is) && REG_VALID_INDEX (id); ) + { + if (dest->elems[id] == src->elems[is]) + is--, id--; + else if (dest->elems[id] < src->elems[is]) + dest->elems[--sbase] = src->elems[is--]; + else /* if (dest->elems[id] > src->elems[is]) */ + --id; + } + + if (REG_VALID_INDEX (is)) + { + /* If DEST is exhausted, the remaining items of SRC must be unique. */ + sbase -= is + 1; + memcpy (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx)); + } + + id = dest->nelem - 1; + is = dest->nelem + 2 * src->nelem - 1; + delta = is - sbase + 1; + if (delta == 0) + return REG_NOERROR; + + /* Now copy. When DELTA becomes zero, the remaining + DEST elements are already in place. */ + dest->nelem += delta; + for (;;) + { + if (dest->elems[is] > dest->elems[id]) + { + /* Copy from the top. */ + dest->elems[id + delta--] = dest->elems[is--]; + if (delta == 0) + break; + } + else + { + /* Slide from the bottom. */ + dest->elems[id + delta] = dest->elems[id]; + if (! REG_VALID_INDEX (--id)) + { + /* Copy remaining SRC elements. */ + memcpy (dest->elems, dest->elems + sbase, + delta * sizeof (Idx)); + break; + } + } + } + + return REG_NOERROR; +} + +/* Insert the new element ELEM to the re_node_set* SET. + SET should not already have ELEM. + Return true if successful. */ + +static bool +internal_function __attribute_warn_unused_result__ +re_node_set_insert (re_node_set *set, Idx elem) +{ + Idx idx; + /* In case the set is empty. */ + if (set->alloc == 0) + return BE (re_node_set_init_1 (set, elem) == REG_NOERROR, 1); + + if (BE (set->nelem, 0) == 0) + { + /* We already guaranteed above that set->alloc != 0. */ + set->elems[0] = elem; + ++set->nelem; + return true; + } + + /* Realloc if we need. */ + if (set->alloc == set->nelem) + { + Idx *new_elems; + set->alloc = set->alloc * 2; + new_elems = re_realloc (set->elems, Idx, set->alloc); + if (BE (new_elems == NULL, 0)) + return false; + set->elems = new_elems; + } + + /* Move the elements which follows the new element. Test the + first element separately to skip a check in the inner loop. */ + if (elem < set->elems[0]) + { + idx = 0; + for (idx = set->nelem; idx > 0; idx--) + set->elems[idx] = set->elems[idx - 1]; + } + else + { + for (idx = set->nelem; set->elems[idx - 1] > elem; idx--) + set->elems[idx] = set->elems[idx - 1]; + } + + /* Insert the new element. */ + set->elems[idx] = elem; + ++set->nelem; + return true; +} + +/* Insert the new element ELEM to the re_node_set* SET. + SET should not already have any element greater than or equal to ELEM. + Return true if successful. */ + +static bool +internal_function __attribute_warn_unused_result__ +re_node_set_insert_last (re_node_set *set, Idx elem) +{ + /* Realloc if we need. */ + if (set->alloc == set->nelem) + { + Idx *new_elems; + set->alloc = (set->alloc + 1) * 2; + new_elems = re_realloc (set->elems, Idx, set->alloc); + if (BE (new_elems == NULL, 0)) + return false; + set->elems = new_elems; + } + + /* Insert the new element. */ + set->elems[set->nelem++] = elem; + return true; +} + +/* Compare two node sets SET1 and SET2. + Return true if SET1 and SET2 are equivalent. */ + +static bool +internal_function __attribute ((pure)) +re_node_set_compare (const re_node_set *set1, const re_node_set *set2) +{ + Idx i; + if (set1 == NULL || set2 == NULL || set1->nelem != set2->nelem) + return false; + for (i = set1->nelem ; REG_VALID_INDEX (--i) ; ) + if (set1->elems[i] != set2->elems[i]) + return false; + return true; +} + +/* Return (idx + 1) if SET contains the element ELEM, return 0 otherwise. */ + +static Idx +internal_function __attribute ((pure)) +re_node_set_contains (const re_node_set *set, Idx elem) +{ + __re_size_t idx, right, mid; + if (! REG_VALID_NONZERO_INDEX (set->nelem)) + return 0; + + /* Binary search the element. */ + idx = 0; + right = set->nelem - 1; + while (idx < right) + { + mid = (idx + right) / 2; + if (set->elems[mid] < elem) + idx = mid + 1; + else + right = mid; + } + return set->elems[idx] == elem ? idx + 1 : 0; +} + +static void +internal_function +re_node_set_remove_at (re_node_set *set, Idx idx) +{ + if (idx < 0 || idx >= set->nelem) + return; + --set->nelem; + for (; idx < set->nelem; idx++) + set->elems[idx] = set->elems[idx + 1]; +} + + +/* Add the token TOKEN to dfa->nodes, and return the index of the token. + Or return REG_MISSING if an error occurred. */ + +static Idx +internal_function +re_dfa_add_node (re_dfa_t *dfa, re_token_t token) +{ + if (BE (dfa->nodes_len >= dfa->nodes_alloc, 0)) + { + size_t new_nodes_alloc = dfa->nodes_alloc * 2; + Idx *new_nexts, *new_indices; + re_node_set *new_edests, *new_eclosures; + re_token_t *new_nodes; + size_t max_object_size = + MAX (sizeof (re_token_t), + MAX (sizeof (re_node_set), + sizeof (Idx))); + + /* Avoid overflows. */ + if (BE (SIZE_MAX / 2 / max_object_size < dfa->nodes_alloc, 0)) + return REG_MISSING; + + new_nodes = re_realloc (dfa->nodes, re_token_t, new_nodes_alloc); + if (BE (new_nodes == NULL, 0)) + return REG_MISSING; + dfa->nodes = new_nodes; + new_nexts = re_realloc (dfa->nexts, Idx, new_nodes_alloc); + new_indices = re_realloc (dfa->org_indices, Idx, new_nodes_alloc); + new_edests = re_realloc (dfa->edests, re_node_set, new_nodes_alloc); + new_eclosures = re_realloc (dfa->eclosures, re_node_set, new_nodes_alloc); + if (BE (new_nexts == NULL || new_indices == NULL + || new_edests == NULL || new_eclosures == NULL, 0)) + return REG_MISSING; + dfa->nexts = new_nexts; + dfa->org_indices = new_indices; + dfa->edests = new_edests; + dfa->eclosures = new_eclosures; + dfa->nodes_alloc = new_nodes_alloc; + } + dfa->nodes[dfa->nodes_len] = token; + dfa->nodes[dfa->nodes_len].constraint = 0; +#ifdef RE_ENABLE_I18N + { + int type = token.type; + dfa->nodes[dfa->nodes_len].accept_mb = + (type == OP_PERIOD && dfa->mb_cur_max > 1) || type == COMPLEX_BRACKET; + } +#endif + dfa->nexts[dfa->nodes_len] = REG_MISSING; + re_node_set_init_empty (dfa->edests + dfa->nodes_len); + re_node_set_init_empty (dfa->eclosures + dfa->nodes_len); + return dfa->nodes_len++; +} + +static inline re_hashval_t +internal_function +calc_state_hash (const re_node_set *nodes, unsigned int context) +{ + re_hashval_t hash = nodes->nelem + context; + Idx i; + for (i = 0 ; i < nodes->nelem ; i++) + hash += nodes->elems[i]; + return hash; +} + +/* Search for the state whose node_set is equivalent to NODES. + Return the pointer to the state, if we found it in the DFA. + Otherwise create the new one and return it. In case of an error + return NULL and set the error code in ERR. + Note: - We assume NULL as the invalid state, then it is possible that + return value is NULL and ERR is REG_NOERROR. + - We never return non-NULL value in case of any errors, it is for + optimization. */ + +static re_dfastate_t * +internal_function __attribute_warn_unused_result__ +re_acquire_state (reg_errcode_t *err, const re_dfa_t *dfa, + const re_node_set *nodes) +{ + re_hashval_t hash; + re_dfastate_t *new_state; + struct re_state_table_entry *spot; + Idx i; +#ifdef lint + /* Suppress bogus uninitialized-variable warnings. */ + *err = REG_NOERROR; +#endif + if (BE (nodes->nelem == 0, 0)) + { + *err = REG_NOERROR; + return NULL; + } + hash = calc_state_hash (nodes, 0); + spot = dfa->state_table + (hash & dfa->state_hash_mask); + + for (i = 0 ; i < spot->num ; i++) + { + re_dfastate_t *state = spot->array[i]; + if (hash != state->hash) + continue; + if (re_node_set_compare (&state->nodes, nodes)) + return state; + } + + /* There are no appropriate state in the dfa, create the new one. */ + new_state = create_ci_newstate (dfa, nodes, hash); + if (BE (new_state == NULL, 0)) + *err = REG_ESPACE; + + return new_state; +} + +/* Search for the state whose node_set is equivalent to NODES and + whose context is equivalent to CONTEXT. + Return the pointer to the state, if we found it in the DFA. + Otherwise create the new one and return it. In case of an error + return NULL and set the error code in ERR. + Note: - We assume NULL as the invalid state, then it is possible that + return value is NULL and ERR is REG_NOERROR. + - We never return non-NULL value in case of any errors, it is for + optimization. */ + +static re_dfastate_t * +internal_function __attribute_warn_unused_result__ +re_acquire_state_context (reg_errcode_t *err, const re_dfa_t *dfa, + const re_node_set *nodes, unsigned int context) +{ + re_hashval_t hash; + re_dfastate_t *new_state; + struct re_state_table_entry *spot; + Idx i; +#ifdef lint + /* Suppress bogus uninitialized-variable warnings. */ + *err = REG_NOERROR; +#endif + if (nodes->nelem == 0) + { + *err = REG_NOERROR; + return NULL; + } + hash = calc_state_hash (nodes, context); + spot = dfa->state_table + (hash & dfa->state_hash_mask); + + for (i = 0 ; i < spot->num ; i++) + { + re_dfastate_t *state = spot->array[i]; + if (state->hash == hash + && state->context == context + && re_node_set_compare (state->entrance_nodes, nodes)) + return state; + } + /* There are no appropriate state in `dfa', create the new one. */ + new_state = create_cd_newstate (dfa, nodes, context, hash); + if (BE (new_state == NULL, 0)) + *err = REG_ESPACE; + + return new_state; +} + +/* Finish initialization of the new state NEWSTATE, and using its hash value + HASH put in the appropriate bucket of DFA's state table. Return value + indicates the error code if failed. */ + +static reg_errcode_t +__attribute_warn_unused_result__ +register_state (const re_dfa_t *dfa, re_dfastate_t *newstate, + re_hashval_t hash) +{ + struct re_state_table_entry *spot; + reg_errcode_t err; + Idx i; + + newstate->hash = hash; + err = re_node_set_alloc (&newstate->non_eps_nodes, newstate->nodes.nelem); + if (BE (err != REG_NOERROR, 0)) + return REG_ESPACE; + for (i = 0; i < newstate->nodes.nelem; i++) + { + Idx elem = newstate->nodes.elems[i]; + if (!IS_EPSILON_NODE (dfa->nodes[elem].type)) + if (BE (! re_node_set_insert_last (&newstate->non_eps_nodes, elem), 0)) + return REG_ESPACE; + } + + spot = dfa->state_table + (hash & dfa->state_hash_mask); + if (BE (spot->alloc <= spot->num, 0)) + { + Idx new_alloc = 2 * spot->num + 2; + re_dfastate_t **new_array = re_realloc (spot->array, re_dfastate_t *, + new_alloc); + if (BE (new_array == NULL, 0)) + return REG_ESPACE; + spot->array = new_array; + spot->alloc = new_alloc; + } + spot->array[spot->num++] = newstate; + return REG_NOERROR; +} + +static void +free_state (re_dfastate_t *state) +{ + re_node_set_free (&state->non_eps_nodes); + re_node_set_free (&state->inveclosure); + if (state->entrance_nodes != &state->nodes) + { + re_node_set_free (state->entrance_nodes); + re_free (state->entrance_nodes); + } + re_node_set_free (&state->nodes); + re_free (state->word_trtable); + re_free (state->trtable); + re_free (state); +} + +/* Create the new state which is independ of contexts. + Return the new state if succeeded, otherwise return NULL. */ + +static re_dfastate_t * +internal_function __attribute_warn_unused_result__ +create_ci_newstate (const re_dfa_t *dfa, const re_node_set *nodes, + re_hashval_t hash) +{ + Idx i; + reg_errcode_t err; + re_dfastate_t *newstate; + + newstate = (re_dfastate_t *) calloc (sizeof (re_dfastate_t), 1); + if (BE (newstate == NULL, 0)) + return NULL; + err = re_node_set_init_copy (&newstate->nodes, nodes); + if (BE (err != REG_NOERROR, 0)) + { + re_free (newstate); + return NULL; + } + + newstate->entrance_nodes = &newstate->nodes; + for (i = 0 ; i < nodes->nelem ; i++) + { + re_token_t *node = dfa->nodes + nodes->elems[i]; + re_token_type_t type = node->type; + if (type == CHARACTER && !node->constraint) + continue; +#ifdef RE_ENABLE_I18N + newstate->accept_mb |= node->accept_mb; +#endif /* RE_ENABLE_I18N */ + + /* If the state has the halt node, the state is a halt state. */ + if (type == END_OF_RE) + newstate->halt = 1; + else if (type == OP_BACK_REF) + newstate->has_backref = 1; + else if (type == ANCHOR || node->constraint) + newstate->has_constraint = 1; + } + err = register_state (dfa, newstate, hash); + if (BE (err != REG_NOERROR, 0)) + { + free_state (newstate); + newstate = NULL; + } + return newstate; +} + +/* Create the new state which is depend on the context CONTEXT. + Return the new state if succeeded, otherwise return NULL. */ + +static re_dfastate_t * +internal_function __attribute_warn_unused_result__ +create_cd_newstate (const re_dfa_t *dfa, const re_node_set *nodes, + unsigned int context, re_hashval_t hash) +{ + Idx i, nctx_nodes = 0; + reg_errcode_t err; + re_dfastate_t *newstate; + + newstate = (re_dfastate_t *) calloc (sizeof (re_dfastate_t), 1); + if (BE (newstate == NULL, 0)) + return NULL; + err = re_node_set_init_copy (&newstate->nodes, nodes); + if (BE (err != REG_NOERROR, 0)) + { + re_free (newstate); + return NULL; + } + + newstate->context = context; + newstate->entrance_nodes = &newstate->nodes; + + for (i = 0 ; i < nodes->nelem ; i++) + { + re_token_t *node = dfa->nodes + nodes->elems[i]; + re_token_type_t type = node->type; + unsigned int constraint = node->constraint; + + if (type == CHARACTER && !constraint) + continue; +#ifdef RE_ENABLE_I18N + newstate->accept_mb |= node->accept_mb; +#endif /* RE_ENABLE_I18N */ + + /* If the state has the halt node, the state is a halt state. */ + if (type == END_OF_RE) + newstate->halt = 1; + else if (type == OP_BACK_REF) + newstate->has_backref = 1; + + if (constraint) + { + if (newstate->entrance_nodes == &newstate->nodes) + { + newstate->entrance_nodes = re_malloc (re_node_set, 1); + if (BE (newstate->entrance_nodes == NULL, 0)) + { + free_state (newstate); + return NULL; + } + if (re_node_set_init_copy (newstate->entrance_nodes, nodes) + != REG_NOERROR) + return NULL; + nctx_nodes = 0; + newstate->has_constraint = 1; + } + + if (NOT_SATISFY_PREV_CONSTRAINT (constraint,context)) + { + re_node_set_remove_at (&newstate->nodes, i - nctx_nodes); + ++nctx_nodes; + } + } + } + err = register_state (dfa, newstate, hash); + if (BE (err != REG_NOERROR, 0)) + { + free_state (newstate); + newstate = NULL; + } + return newstate; +} diff --git a/grub-core/gnulib/regex_internal.h b/grub-core/gnulib/regex_internal.h new file mode 100644 index 0000000..5aa5aa2 --- /dev/null +++ b/grub-core/gnulib/regex_internal.h @@ -0,0 +1,873 @@ +/* Extended regular expression matching and search library. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free + Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Isamu Hasegawa . + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _REGEX_INTERNAL_H +#define _REGEX_INTERNAL_H 1 + +#include +#include +#include +#include +#include +#include + +#include +#ifndef _LIBC +# include "localcharset.h" +#endif +#if defined HAVE_LOCALE_H || defined _LIBC +# include +#endif + +#include +#include +#include +#if defined _LIBC +# include +#else +# define __libc_lock_init(NAME) do { } while (0) +# define __libc_lock_lock(NAME) do { } while (0) +# define __libc_lock_unlock(NAME) do { } while (0) +#endif + +/* In case that the system doesn't have isblank(). */ +#if !defined _LIBC && ! (defined isblank || (HAVE_ISBLANK && HAVE_DECL_ISBLANK)) +# define isblank(ch) ((ch) == ' ' || (ch) == '\t') +#endif + +#ifdef _LIBC +# ifndef _RE_DEFINE_LOCALE_FUNCTIONS +# define _RE_DEFINE_LOCALE_FUNCTIONS 1 +# include +# include +# include +# endif +#endif + +/* This is for other GNU distributions with internationalized messages. */ +#if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC +# include +# ifdef _LIBC +# undef gettext +# define gettext(msgid) \ + INTUSE(__dcgettext) (_libc_intl_domainname, msgid, LC_MESSAGES) +# endif +#else +# define gettext(msgid) (msgid) +#endif + +#ifndef gettext_noop +/* This define is so xgettext can find the internationalizable + strings. */ +# define gettext_noop(String) String +#endif + +/* For loser systems without the definition. */ +#ifndef SIZE_MAX +# define SIZE_MAX ((size_t) -1) +#endif + +#if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_ISWCTYPE && HAVE_WCSCOLL) || _LIBC +# define RE_ENABLE_I18N +#endif + +#if __GNUC__ >= 3 +# define BE(expr, val) __builtin_expect (expr, val) +#else +# define BE(expr, val) (expr) +# ifdef _LIBC +# define inline +# endif +#endif + +/* Number of ASCII characters. */ +#define ASCII_CHARS 0x80 + +/* Number of single byte characters. */ +#define SBC_MAX (UCHAR_MAX + 1) + +#define COLL_ELEM_LEN_MAX 8 + +/* The character which represents newline. */ +#define NEWLINE_CHAR '\n' +#define WIDE_NEWLINE_CHAR L'\n' + +/* Rename to standard API for using out of glibc. */ +#ifndef _LIBC +# define __wctype wctype +# define __iswctype iswctype +# define __btowc btowc +# define __wcrtomb wcrtomb +# define __mbrtowc mbrtowc +# define __regfree regfree +# define attribute_hidden +#endif /* not _LIBC */ + +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) +# define __attribute(arg) __attribute__ (arg) +#else +# define __attribute(arg) +#endif + +typedef __re_idx_t Idx; + +/* Special return value for failure to match. */ +#define REG_MISSING ((Idx) -1) + +/* Special return value for internal error. */ +#define REG_ERROR ((Idx) -2) + +/* Test whether N is a valid index, and is not one of the above. */ +#ifdef _REGEX_LARGE_OFFSETS +# define REG_VALID_INDEX(n) ((Idx) (n) < REG_ERROR) +#else +# define REG_VALID_INDEX(n) (0 <= (n)) +#endif + +/* Test whether N is a valid nonzero index. */ +#ifdef _REGEX_LARGE_OFFSETS +# define REG_VALID_NONZERO_INDEX(n) ((Idx) ((n) - 1) < (Idx) (REG_ERROR - 1)) +#else +# define REG_VALID_NONZERO_INDEX(n) (0 < (n)) +#endif + +/* A hash value, suitable for computing hash tables. */ +typedef __re_size_t re_hashval_t; + +/* An integer used to represent a set of bits. It must be unsigned, + and must be at least as wide as unsigned int. */ +typedef unsigned long int bitset_word_t; +/* All bits set in a bitset_word_t. */ +#define BITSET_WORD_MAX ULONG_MAX + +/* Number of bits in a bitset_word_t. For portability to hosts with + padding bits, do not use '(sizeof (bitset_word_t) * CHAR_BIT)'; + instead, deduce it directly from BITSET_WORD_MAX. Avoid + greater-than-32-bit integers and unconditional shifts by more than + 31 bits, as they're not portable. */ +#if BITSET_WORD_MAX == 0xffffffffUL +# define BITSET_WORD_BITS 32 +#elif BITSET_WORD_MAX >> 31 >> 4 == 1 +# define BITSET_WORD_BITS 36 +#elif BITSET_WORD_MAX >> 31 >> 16 == 1 +# define BITSET_WORD_BITS 48 +#elif BITSET_WORD_MAX >> 31 >> 28 == 1 +# define BITSET_WORD_BITS 60 +#elif BITSET_WORD_MAX >> 31 >> 31 >> 1 == 1 +# define BITSET_WORD_BITS 64 +#elif BITSET_WORD_MAX >> 31 >> 31 >> 9 == 1 +# define BITSET_WORD_BITS 72 +#elif BITSET_WORD_MAX >> 31 >> 31 >> 31 >> 31 >> 3 == 1 +# define BITSET_WORD_BITS 128 +#elif BITSET_WORD_MAX >> 31 >> 31 >> 31 >> 31 >> 31 >> 31 >> 31 >> 31 >> 7 == 1 +# define BITSET_WORD_BITS 256 +#elif BITSET_WORD_MAX >> 31 >> 31 >> 31 >> 31 >> 31 >> 31 >> 31 >> 31 >> 7 > 1 +# define BITSET_WORD_BITS 257 /* any value > SBC_MAX will do here */ +# if BITSET_WORD_BITS <= SBC_MAX +# error "Invalid SBC_MAX" +# endif +#else +# error "Add case for new bitset_word_t size" +#endif + +/* Number of bitset_word_t values in a bitset_t. */ +#define BITSET_WORDS ((SBC_MAX + BITSET_WORD_BITS - 1) / BITSET_WORD_BITS) + +typedef bitset_word_t bitset_t[BITSET_WORDS]; +typedef bitset_word_t *re_bitset_ptr_t; +typedef const bitset_word_t *re_const_bitset_ptr_t; + +#define PREV_WORD_CONSTRAINT 0x0001 +#define PREV_NOTWORD_CONSTRAINT 0x0002 +#define NEXT_WORD_CONSTRAINT 0x0004 +#define NEXT_NOTWORD_CONSTRAINT 0x0008 +#define PREV_NEWLINE_CONSTRAINT 0x0010 +#define NEXT_NEWLINE_CONSTRAINT 0x0020 +#define PREV_BEGBUF_CONSTRAINT 0x0040 +#define NEXT_ENDBUF_CONSTRAINT 0x0080 +#define WORD_DELIM_CONSTRAINT 0x0100 +#define NOT_WORD_DELIM_CONSTRAINT 0x0200 + +typedef enum +{ + INSIDE_WORD = PREV_WORD_CONSTRAINT | NEXT_WORD_CONSTRAINT, + WORD_FIRST = PREV_NOTWORD_CONSTRAINT | NEXT_WORD_CONSTRAINT, + WORD_LAST = PREV_WORD_CONSTRAINT | NEXT_NOTWORD_CONSTRAINT, + INSIDE_NOTWORD = PREV_NOTWORD_CONSTRAINT | NEXT_NOTWORD_CONSTRAINT, + LINE_FIRST = PREV_NEWLINE_CONSTRAINT, + LINE_LAST = NEXT_NEWLINE_CONSTRAINT, + BUF_FIRST = PREV_BEGBUF_CONSTRAINT, + BUF_LAST = NEXT_ENDBUF_CONSTRAINT, + WORD_DELIM = WORD_DELIM_CONSTRAINT, + NOT_WORD_DELIM = NOT_WORD_DELIM_CONSTRAINT +} re_context_type; + +typedef struct +{ + Idx alloc; + Idx nelem; + Idx *elems; +} re_node_set; + +typedef enum +{ + NON_TYPE = 0, + + /* Node type, These are used by token, node, tree. */ + CHARACTER = 1, + END_OF_RE = 2, + SIMPLE_BRACKET = 3, + OP_BACK_REF = 4, + OP_PERIOD = 5, +#ifdef RE_ENABLE_I18N + COMPLEX_BRACKET = 6, + OP_UTF8_PERIOD = 7, +#endif /* RE_ENABLE_I18N */ + + /* We define EPSILON_BIT as a macro so that OP_OPEN_SUBEXP is used + when the debugger shows values of this enum type. */ +#define EPSILON_BIT 8 + OP_OPEN_SUBEXP = EPSILON_BIT | 0, + OP_CLOSE_SUBEXP = EPSILON_BIT | 1, + OP_ALT = EPSILON_BIT | 2, + OP_DUP_ASTERISK = EPSILON_BIT | 3, + ANCHOR = EPSILON_BIT | 4, + + /* Tree type, these are used only by tree. */ + CONCAT = 16, + SUBEXP = 17, + + /* Token type, these are used only by token. */ + OP_DUP_PLUS = 18, + OP_DUP_QUESTION, + OP_OPEN_BRACKET, + OP_CLOSE_BRACKET, + OP_CHARSET_RANGE, + OP_OPEN_DUP_NUM, + OP_CLOSE_DUP_NUM, + OP_NON_MATCH_LIST, + OP_OPEN_COLL_ELEM, + OP_CLOSE_COLL_ELEM, + OP_OPEN_EQUIV_CLASS, + OP_CLOSE_EQUIV_CLASS, + OP_OPEN_CHAR_CLASS, + OP_CLOSE_CHAR_CLASS, + OP_WORD, + OP_NOTWORD, + OP_SPACE, + OP_NOTSPACE, + BACK_SLASH + +} re_token_type_t; + +#ifdef RE_ENABLE_I18N +typedef struct +{ + /* Multibyte characters. */ + wchar_t *mbchars; + + /* Collating symbols. */ +# ifdef _LIBC + int32_t *coll_syms; +# endif + + /* Equivalence classes. */ +# ifdef _LIBC + int32_t *equiv_classes; +# endif + + /* Range expressions. */ +# ifdef _LIBC + uint32_t *range_starts; + uint32_t *range_ends; +# else /* not _LIBC */ + wchar_t *range_starts; + wchar_t *range_ends; +# endif /* not _LIBC */ + + /* Character classes. */ + wctype_t *char_classes; + + /* If this character set is the non-matching list. */ + unsigned int non_match : 1; + + /* # of multibyte characters. */ + Idx nmbchars; + + /* # of collating symbols. */ + Idx ncoll_syms; + + /* # of equivalence classes. */ + Idx nequiv_classes; + + /* # of range expressions. */ + Idx nranges; + + /* # of character classes. */ + Idx nchar_classes; +} re_charset_t; +#endif /* RE_ENABLE_I18N */ + +typedef struct +{ + union + { + unsigned char c; /* for CHARACTER */ + re_bitset_ptr_t sbcset; /* for SIMPLE_BRACKET */ +#ifdef RE_ENABLE_I18N + re_charset_t *mbcset; /* for COMPLEX_BRACKET */ +#endif /* RE_ENABLE_I18N */ + Idx idx; /* for BACK_REF */ + re_context_type ctx_type; /* for ANCHOR */ + } opr; +#if __GNUC__ >= 2 && !__STRICT_ANSI__ + re_token_type_t type : 8; +#else + re_token_type_t type; +#endif + unsigned int constraint : 10; /* context constraint */ + unsigned int duplicated : 1; + unsigned int opt_subexp : 1; +#ifdef RE_ENABLE_I18N + unsigned int accept_mb : 1; + /* These 2 bits can be moved into the union if needed (e.g. if running out + of bits; move opr.c to opr.c.c and move the flags to opr.c.flags). */ + unsigned int mb_partial : 1; +#endif + unsigned int word_char : 1; +} re_token_t; + +#define IS_EPSILON_NODE(type) ((type) & EPSILON_BIT) + +struct re_string_t +{ + /* Indicate the raw buffer which is the original string passed as an + argument of regexec(), re_search(), etc.. */ + const unsigned char *raw_mbs; + /* Store the multibyte string. In case of "case insensitive mode" like + REG_ICASE, upper cases of the string are stored, otherwise MBS points + the same address that RAW_MBS points. */ + unsigned char *mbs; +#ifdef RE_ENABLE_I18N + /* Store the wide character string which is corresponding to MBS. */ + wint_t *wcs; + Idx *offsets; + mbstate_t cur_state; +#endif + /* Index in RAW_MBS. Each character mbs[i] corresponds to + raw_mbs[raw_mbs_idx + i]. */ + Idx raw_mbs_idx; + /* The length of the valid characters in the buffers. */ + Idx valid_len; + /* The corresponding number of bytes in raw_mbs array. */ + Idx valid_raw_len; + /* The length of the buffers MBS and WCS. */ + Idx bufs_len; + /* The index in MBS, which is updated by re_string_fetch_byte. */ + Idx cur_idx; + /* length of RAW_MBS array. */ + Idx raw_len; + /* This is RAW_LEN - RAW_MBS_IDX + VALID_LEN - VALID_RAW_LEN. */ + Idx len; + /* End of the buffer may be shorter than its length in the cases such + as re_match_2, re_search_2. Then, we use STOP for end of the buffer + instead of LEN. */ + Idx raw_stop; + /* This is RAW_STOP - RAW_MBS_IDX adjusted through OFFSETS. */ + Idx stop; + + /* The context of mbs[0]. We store the context independently, since + the context of mbs[0] may be different from raw_mbs[0], which is + the beginning of the input string. */ + unsigned int tip_context; + /* The translation passed as a part of an argument of re_compile_pattern. */ + RE_TRANSLATE_TYPE trans; + /* Copy of re_dfa_t's word_char. */ + re_const_bitset_ptr_t word_char; + /* true if REG_ICASE. */ + unsigned char icase; + unsigned char is_utf8; + unsigned char map_notascii; + unsigned char mbs_allocated; + unsigned char offsets_needed; + unsigned char newline_anchor; + unsigned char word_ops_used; + int mb_cur_max; +}; +typedef struct re_string_t re_string_t; + + +struct re_dfa_t; +typedef struct re_dfa_t re_dfa_t; + +#ifndef _LIBC +# if defined __i386__ && !defined __EMX__ +# define internal_function __attribute ((regparm (3), stdcall)) +# else +# define internal_function +# endif +#endif + +static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr, + Idx new_buf_len) + internal_function; +#ifdef RE_ENABLE_I18N +static void build_wcs_buffer (re_string_t *pstr) internal_function; +static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr) + internal_function; +#endif /* RE_ENABLE_I18N */ +static void build_upper_buffer (re_string_t *pstr) internal_function; +static void re_string_translate_buffer (re_string_t *pstr) internal_function; +static unsigned int re_string_context_at (const re_string_t *input, Idx idx, + int eflags) + internal_function __attribute ((pure)); +#define re_string_peek_byte(pstr, offset) \ + ((pstr)->mbs[(pstr)->cur_idx + offset]) +#define re_string_fetch_byte(pstr) \ + ((pstr)->mbs[(pstr)->cur_idx++]) +#define re_string_first_byte(pstr, idx) \ + ((idx) == (pstr)->valid_len || (pstr)->wcs[idx] != WEOF) +#define re_string_is_single_byte_char(pstr, idx) \ + ((pstr)->wcs[idx] != WEOF && ((pstr)->valid_len == (idx) + 1 \ + || (pstr)->wcs[(idx) + 1] != WEOF)) +#define re_string_eoi(pstr) ((pstr)->stop <= (pstr)->cur_idx) +#define re_string_cur_idx(pstr) ((pstr)->cur_idx) +#define re_string_get_buffer(pstr) ((pstr)->mbs) +#define re_string_length(pstr) ((pstr)->len) +#define re_string_byte_at(pstr,idx) ((pstr)->mbs[idx]) +#define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx)) +#define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx)) + +#include + +#ifndef _LIBC +# if HAVE_ALLOCA +/* The OS usually guarantees only one guard page at the bottom of the stack, + and a page size can be as small as 4096 bytes. So we cannot safely + allocate anything larger than 4096 bytes. Also care for the possibility + of a few compiler-allocated temporary stack slots. */ +# define __libc_use_alloca(n) ((n) < 4032) +# else +/* alloca is implemented with malloc, so just use malloc. */ +# define __libc_use_alloca(n) 0 +# undef alloca +# define alloca(n) malloc (n) +# endif +#endif + +#ifndef MAX +# define MAX(a,b) ((a) < (b) ? (b) : (a)) +#endif + +#define re_malloc(t,n) ((t *) malloc ((n) * sizeof (t))) +#define re_realloc(p,t,n) ((t *) realloc (p, (n) * sizeof (t))) +#define re_free(p) free (p) + +struct bin_tree_t +{ + struct bin_tree_t *parent; + struct bin_tree_t *left; + struct bin_tree_t *right; + struct bin_tree_t *first; + struct bin_tree_t *next; + + re_token_t token; + + /* `node_idx' is the index in dfa->nodes, if `type' == 0. + Otherwise `type' indicate the type of this node. */ + Idx node_idx; +}; +typedef struct bin_tree_t bin_tree_t; + +#define BIN_TREE_STORAGE_SIZE \ + ((1024 - sizeof (void *)) / sizeof (bin_tree_t)) + +struct bin_tree_storage_t +{ + struct bin_tree_storage_t *next; + bin_tree_t data[BIN_TREE_STORAGE_SIZE]; +}; +typedef struct bin_tree_storage_t bin_tree_storage_t; + +#define CONTEXT_WORD 1 +#define CONTEXT_NEWLINE (CONTEXT_WORD << 1) +#define CONTEXT_BEGBUF (CONTEXT_NEWLINE << 1) +#define CONTEXT_ENDBUF (CONTEXT_BEGBUF << 1) + +#define IS_WORD_CONTEXT(c) ((c) & CONTEXT_WORD) +#define IS_NEWLINE_CONTEXT(c) ((c) & CONTEXT_NEWLINE) +#define IS_BEGBUF_CONTEXT(c) ((c) & CONTEXT_BEGBUF) +#define IS_ENDBUF_CONTEXT(c) ((c) & CONTEXT_ENDBUF) +#define IS_ORDINARY_CONTEXT(c) ((c) == 0) + +#define IS_WORD_CHAR(ch) (isalnum (ch) || (ch) == '_') +#define IS_NEWLINE(ch) ((ch) == NEWLINE_CHAR) +#define IS_WIDE_WORD_CHAR(ch) (iswalnum (ch) || (ch) == L'_') +#define IS_WIDE_NEWLINE(ch) ((ch) == WIDE_NEWLINE_CHAR) + +#define NOT_SATISFY_PREV_CONSTRAINT(constraint,context) \ + ((((constraint) & PREV_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \ + || ((constraint & PREV_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \ + || ((constraint & PREV_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context))\ + || ((constraint & PREV_BEGBUF_CONSTRAINT) && !IS_BEGBUF_CONTEXT (context))) + +#define NOT_SATISFY_NEXT_CONSTRAINT(constraint,context) \ + ((((constraint) & NEXT_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \ + || (((constraint) & NEXT_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \ + || (((constraint) & NEXT_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context)) \ + || (((constraint) & NEXT_ENDBUF_CONSTRAINT) && !IS_ENDBUF_CONTEXT (context))) + +struct re_dfastate_t +{ + re_hashval_t hash; + re_node_set nodes; + re_node_set non_eps_nodes; + re_node_set inveclosure; + re_node_set *entrance_nodes; + struct re_dfastate_t **trtable, **word_trtable; + unsigned int context : 4; + unsigned int halt : 1; + /* If this state can accept `multi byte'. + Note that we refer to multibyte characters, and multi character + collating elements as `multi byte'. */ + unsigned int accept_mb : 1; + /* If this state has backreference node(s). */ + unsigned int has_backref : 1; + unsigned int has_constraint : 1; +}; +typedef struct re_dfastate_t re_dfastate_t; + +struct re_state_table_entry +{ + Idx num; + Idx alloc; + re_dfastate_t **array; +}; + +/* Array type used in re_sub_match_last_t and re_sub_match_top_t. */ + +typedef struct +{ + Idx next_idx; + Idx alloc; + re_dfastate_t **array; +} state_array_t; + +/* Store information about the node NODE whose type is OP_CLOSE_SUBEXP. */ + +typedef struct +{ + Idx node; + Idx str_idx; /* The position NODE match at. */ + state_array_t path; +} re_sub_match_last_t; + +/* Store information about the node NODE whose type is OP_OPEN_SUBEXP. + And information about the node, whose type is OP_CLOSE_SUBEXP, + corresponding to NODE is stored in LASTS. */ + +typedef struct +{ + Idx str_idx; + Idx node; + state_array_t *path; + Idx alasts; /* Allocation size of LASTS. */ + Idx nlasts; /* The number of LASTS. */ + re_sub_match_last_t **lasts; +} re_sub_match_top_t; + +struct re_backref_cache_entry +{ + Idx node; + Idx str_idx; + Idx subexp_from; + Idx subexp_to; + char more; + char unused; + unsigned short int eps_reachable_subexps_map; +}; + +typedef struct +{ + /* The string object corresponding to the input string. */ + re_string_t input; +#if defined _LIBC || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) + const re_dfa_t *const dfa; +#else + const re_dfa_t *dfa; +#endif + /* EFLAGS of the argument of regexec. */ + int eflags; + /* Where the matching ends. */ + Idx match_last; + Idx last_node; + /* The state log used by the matcher. */ + re_dfastate_t **state_log; + Idx state_log_top; + /* Back reference cache. */ + Idx nbkref_ents; + Idx abkref_ents; + struct re_backref_cache_entry *bkref_ents; + int max_mb_elem_len; + Idx nsub_tops; + Idx asub_tops; + re_sub_match_top_t **sub_tops; +} re_match_context_t; + +typedef struct +{ + re_dfastate_t **sifted_states; + re_dfastate_t **limited_states; + Idx last_node; + Idx last_str_idx; + re_node_set limits; +} re_sift_context_t; + +struct re_fail_stack_ent_t +{ + Idx idx; + Idx node; + regmatch_t *regs; + re_node_set eps_via_nodes; +}; + +struct re_fail_stack_t +{ + Idx num; + Idx alloc; + struct re_fail_stack_ent_t *stack; +}; + +struct re_dfa_t +{ + re_token_t *nodes; + size_t nodes_alloc; + size_t nodes_len; + Idx *nexts; + Idx *org_indices; + re_node_set *edests; + re_node_set *eclosures; + re_node_set *inveclosures; + struct re_state_table_entry *state_table; + re_dfastate_t *init_state; + re_dfastate_t *init_state_word; + re_dfastate_t *init_state_nl; + re_dfastate_t *init_state_begbuf; + bin_tree_t *str_tree; + bin_tree_storage_t *str_tree_storage; + re_bitset_ptr_t sb_char; + int str_tree_storage_idx; + + /* number of subexpressions `re_nsub' is in regex_t. */ + re_hashval_t state_hash_mask; + Idx init_node; + Idx nbackref; /* The number of backreference in this dfa. */ + + /* Bitmap expressing which backreference is used. */ + bitset_word_t used_bkref_map; + bitset_word_t completed_bkref_map; + + unsigned int has_plural_match : 1; + /* If this dfa has "multibyte node", which is a backreference or + a node which can accept multibyte character or multi character + collating element. */ + unsigned int has_mb_node : 1; + unsigned int is_utf8 : 1; + unsigned int map_notascii : 1; + unsigned int word_ops_used : 1; + int mb_cur_max; + bitset_t word_char; + reg_syntax_t syntax; + Idx *subexp_map; +#ifdef DEBUG + char* re_str; +#endif +#ifdef _LIBC + __libc_lock_define (, lock) +#endif +}; + +#define re_node_set_init_empty(set) memset (set, '\0', sizeof (re_node_set)) +#define re_node_set_remove(set,id) \ + (re_node_set_remove_at (set, re_node_set_contains (set, id) - 1)) +#define re_node_set_empty(p) ((p)->nelem = 0) +#define re_node_set_free(set) re_free ((set)->elems) + + +typedef enum +{ + SB_CHAR, + MB_CHAR, + EQUIV_CLASS, + COLL_SYM, + CHAR_CLASS +} bracket_elem_type; + +typedef struct +{ + bracket_elem_type type; + union + { + unsigned char ch; + unsigned char *name; + wchar_t wch; + } opr; +} bracket_elem_t; + + +/* Inline functions for bitset_t operation. */ + +static inline void +bitset_set (bitset_t set, Idx i) +{ + set[i / BITSET_WORD_BITS] |= (bitset_word_t) 1 << i % BITSET_WORD_BITS; +} + +static inline void +bitset_clear (bitset_t set, Idx i) +{ + set[i / BITSET_WORD_BITS] &= ~ ((bitset_word_t) 1 << i % BITSET_WORD_BITS); +} + +static inline bool +bitset_contain (const bitset_t set, Idx i) +{ + return (set[i / BITSET_WORD_BITS] >> i % BITSET_WORD_BITS) & 1; +} + +static inline void +bitset_empty (bitset_t set) +{ + memset (set, '\0', sizeof (bitset_t)); +} + +static inline void +bitset_set_all (bitset_t set) +{ + memset (set, -1, sizeof (bitset_word_t) * (SBC_MAX / BITSET_WORD_BITS)); + if (SBC_MAX % BITSET_WORD_BITS != 0) + set[BITSET_WORDS - 1] = + ((bitset_word_t) 1 << SBC_MAX % BITSET_WORD_BITS) - 1; +} + +static inline void +bitset_copy (bitset_t dest, const bitset_t src) +{ + memcpy (dest, src, sizeof (bitset_t)); +} + +static inline void +bitset_not (bitset_t set) +{ + int bitset_i; + for (bitset_i = 0; bitset_i < SBC_MAX / BITSET_WORD_BITS; ++bitset_i) + set[bitset_i] = ~set[bitset_i]; + if (SBC_MAX % BITSET_WORD_BITS != 0) + set[BITSET_WORDS - 1] = + ((((bitset_word_t) 1 << SBC_MAX % BITSET_WORD_BITS) - 1) + & ~set[BITSET_WORDS - 1]); +} + +static inline void +bitset_merge (bitset_t dest, const bitset_t src) +{ + int bitset_i; + for (bitset_i = 0; bitset_i < BITSET_WORDS; ++bitset_i) + dest[bitset_i] |= src[bitset_i]; +} + +static inline void +bitset_mask (bitset_t dest, const bitset_t src) +{ + int bitset_i; + for (bitset_i = 0; bitset_i < BITSET_WORDS; ++bitset_i) + dest[bitset_i] &= src[bitset_i]; +} + +#ifdef RE_ENABLE_I18N +/* Inline functions for re_string. */ +static inline int +internal_function __attribute ((pure)) +re_string_char_size_at (const re_string_t *pstr, Idx idx) +{ + int byte_idx; + if (pstr->mb_cur_max == 1) + return 1; + for (byte_idx = 1; idx + byte_idx < pstr->valid_len; ++byte_idx) + if (pstr->wcs[idx + byte_idx] != WEOF) + break; + return byte_idx; +} + +static inline wint_t +internal_function __attribute ((pure)) +re_string_wchar_at (const re_string_t *pstr, Idx idx) +{ + if (pstr->mb_cur_max == 1) + return (wint_t) pstr->mbs[idx]; + return (wint_t) pstr->wcs[idx]; +} + +static int +internal_function __attribute ((pure)) +re_string_elem_size_at (const re_string_t *pstr, Idx idx) +{ +# ifdef _LIBC + const unsigned char *p, *extra; + const int32_t *table, *indirect; + int32_t tmp; +# include + uint_fast32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + + if (nrules != 0) + { + table = (const int32_t *) _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); + extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_EXTRAMB); + indirect = (const int32_t *) _NL_CURRENT (LC_COLLATE, + _NL_COLLATE_INDIRECTMB); + p = pstr->mbs + idx; + tmp = findidx (&p); + return p - pstr->mbs - idx; + } + else +# endif /* _LIBC */ + return 1; +} +#endif /* RE_ENABLE_I18N */ + +#ifndef __GNUC_PREREQ +# if defined __GNUC__ && defined __GNUC_MINOR__ +# define __GNUC_PREREQ(maj, min) \ + ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) +# else +# define __GNUC_PREREQ(maj, min) 0 +# endif +#endif + +#if __GNUC_PREREQ (3,4) +# undef __attribute_warn_unused_result__ +# define __attribute_warn_unused_result__ \ + __attribute__ ((__warn_unused_result__)) +#else +# define __attribute_warn_unused_result__ /* empty */ +#endif + +#endif /* _REGEX_INTERNAL_H */ diff --git a/grub-core/gnulib/regexec.c b/grub-core/gnulib/regexec.c new file mode 100644 index 0000000..dc449ce --- /dev/null +++ b/grub-core/gnulib/regexec.c @@ -0,0 +1,4416 @@ +/* Extended regular expression matching and search library. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free + Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Isamu Hasegawa . + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags, + Idx n) internal_function; +static void match_ctx_clean (re_match_context_t *mctx) internal_function; +static void match_ctx_free (re_match_context_t *cache) internal_function; +static reg_errcode_t match_ctx_add_entry (re_match_context_t *cache, Idx node, + Idx str_idx, Idx from, Idx to) + internal_function; +static Idx search_cur_bkref_entry (const re_match_context_t *mctx, Idx str_idx) + internal_function; +static reg_errcode_t match_ctx_add_subtop (re_match_context_t *mctx, Idx node, + Idx str_idx) internal_function; +static re_sub_match_last_t * match_ctx_add_sublast (re_sub_match_top_t *subtop, + Idx node, Idx str_idx) + internal_function; +static void sift_ctx_init (re_sift_context_t *sctx, re_dfastate_t **sifted_sts, + re_dfastate_t **limited_sts, Idx last_node, + Idx last_str_idx) + internal_function; +static reg_errcode_t re_search_internal (const regex_t *preg, + const char *string, Idx length, + Idx start, Idx last_start, Idx stop, + size_t nmatch, regmatch_t pmatch[], + int eflags) internal_function; +static regoff_t re_search_2_stub (struct re_pattern_buffer *bufp, + const char *string1, Idx length1, + const char *string2, Idx length2, + Idx start, regoff_t range, + struct re_registers *regs, + Idx stop, bool ret_len) internal_function; +static regoff_t re_search_stub (struct re_pattern_buffer *bufp, + const char *string, Idx length, Idx start, + regoff_t range, Idx stop, + struct re_registers *regs, + bool ret_len) internal_function; +static unsigned int re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, + Idx nregs, int regs_allocated) + internal_function; +static reg_errcode_t prune_impossible_nodes (re_match_context_t *mctx) + internal_function; +static Idx check_matching (re_match_context_t *mctx, bool fl_longest_match, + Idx *p_match_first) internal_function; +static Idx check_halt_state_context (const re_match_context_t *mctx, + const re_dfastate_t *state, Idx idx) + internal_function; +static void update_regs (const re_dfa_t *dfa, regmatch_t *pmatch, + regmatch_t *prev_idx_match, Idx cur_node, + Idx cur_idx, Idx nmatch) internal_function; +static reg_errcode_t push_fail_stack (struct re_fail_stack_t *fs, + Idx str_idx, Idx dest_node, Idx nregs, + regmatch_t *regs, + re_node_set *eps_via_nodes) + internal_function; +static reg_errcode_t set_regs (const regex_t *preg, + const re_match_context_t *mctx, + size_t nmatch, regmatch_t *pmatch, + bool fl_backtrack) internal_function; +static reg_errcode_t free_fail_stack_return (struct re_fail_stack_t *fs) + internal_function; + +#ifdef RE_ENABLE_I18N +static int sift_states_iter_mb (const re_match_context_t *mctx, + re_sift_context_t *sctx, + Idx node_idx, Idx str_idx, Idx max_str_idx) + internal_function; +#endif /* RE_ENABLE_I18N */ +static reg_errcode_t sift_states_backward (const re_match_context_t *mctx, + re_sift_context_t *sctx) + internal_function; +static reg_errcode_t build_sifted_states (const re_match_context_t *mctx, + re_sift_context_t *sctx, Idx str_idx, + re_node_set *cur_dest) + internal_function; +static reg_errcode_t update_cur_sifted_state (const re_match_context_t *mctx, + re_sift_context_t *sctx, + Idx str_idx, + re_node_set *dest_nodes) + internal_function; +static reg_errcode_t add_epsilon_src_nodes (const re_dfa_t *dfa, + re_node_set *dest_nodes, + const re_node_set *candidates) + internal_function; +static bool check_dst_limits (const re_match_context_t *mctx, + const re_node_set *limits, + Idx dst_node, Idx dst_idx, Idx src_node, + Idx src_idx) internal_function; +static int check_dst_limits_calc_pos_1 (const re_match_context_t *mctx, + int boundaries, Idx subexp_idx, + Idx from_node, Idx bkref_idx) + internal_function; +static int check_dst_limits_calc_pos (const re_match_context_t *mctx, + Idx limit, Idx subexp_idx, + Idx node, Idx str_idx, + Idx bkref_idx) internal_function; +static reg_errcode_t check_subexp_limits (const re_dfa_t *dfa, + re_node_set *dest_nodes, + const re_node_set *candidates, + re_node_set *limits, + struct re_backref_cache_entry *bkref_ents, + Idx str_idx) internal_function; +static reg_errcode_t sift_states_bkref (const re_match_context_t *mctx, + re_sift_context_t *sctx, + Idx str_idx, const re_node_set *candidates) + internal_function; +static reg_errcode_t merge_state_array (const re_dfa_t *dfa, + re_dfastate_t **dst, + re_dfastate_t **src, Idx num) + internal_function; +static re_dfastate_t *find_recover_state (reg_errcode_t *err, + re_match_context_t *mctx) internal_function; +static re_dfastate_t *transit_state (reg_errcode_t *err, + re_match_context_t *mctx, + re_dfastate_t *state) internal_function; +static re_dfastate_t *merge_state_with_log (reg_errcode_t *err, + re_match_context_t *mctx, + re_dfastate_t *next_state) + internal_function; +static reg_errcode_t check_subexp_matching_top (re_match_context_t *mctx, + re_node_set *cur_nodes, + Idx str_idx) internal_function; +#if 0 +static re_dfastate_t *transit_state_sb (reg_errcode_t *err, + re_match_context_t *mctx, + re_dfastate_t *pstate) + internal_function; +#endif +#ifdef RE_ENABLE_I18N +static reg_errcode_t transit_state_mb (re_match_context_t *mctx, + re_dfastate_t *pstate) + internal_function; +#endif /* RE_ENABLE_I18N */ +static reg_errcode_t transit_state_bkref (re_match_context_t *mctx, + const re_node_set *nodes) + internal_function; +static reg_errcode_t get_subexp (re_match_context_t *mctx, + Idx bkref_node, Idx bkref_str_idx) + internal_function; +static reg_errcode_t get_subexp_sub (re_match_context_t *mctx, + const re_sub_match_top_t *sub_top, + re_sub_match_last_t *sub_last, + Idx bkref_node, Idx bkref_str) + internal_function; +static Idx find_subexp_node (const re_dfa_t *dfa, const re_node_set *nodes, + Idx subexp_idx, int type) internal_function; +static reg_errcode_t check_arrival (re_match_context_t *mctx, + state_array_t *path, Idx top_node, + Idx top_str, Idx last_node, Idx last_str, + int type) internal_function; +static reg_errcode_t check_arrival_add_next_nodes (re_match_context_t *mctx, + Idx str_idx, + re_node_set *cur_nodes, + re_node_set *next_nodes) + internal_function; +static reg_errcode_t check_arrival_expand_ecl (const re_dfa_t *dfa, + re_node_set *cur_nodes, + Idx ex_subexp, int type) + internal_function; +static reg_errcode_t check_arrival_expand_ecl_sub (const re_dfa_t *dfa, + re_node_set *dst_nodes, + Idx target, Idx ex_subexp, + int type) internal_function; +static reg_errcode_t expand_bkref_cache (re_match_context_t *mctx, + re_node_set *cur_nodes, Idx cur_str, + Idx subexp_num, int type) + internal_function; +static bool build_trtable (const re_dfa_t *dfa, + re_dfastate_t *state) internal_function; +#ifdef RE_ENABLE_I18N +static int check_node_accept_bytes (const re_dfa_t *dfa, Idx node_idx, + const re_string_t *input, Idx idx) + internal_function; +# ifdef _LIBC +static unsigned int find_collation_sequence_value (const unsigned char *mbs, + size_t name_len) + internal_function; +# endif /* _LIBC */ +#endif /* RE_ENABLE_I18N */ +static Idx group_nodes_into_DFAstates (const re_dfa_t *dfa, + const re_dfastate_t *state, + re_node_set *states_node, + bitset_t *states_ch) internal_function; +static bool check_node_accept (const re_match_context_t *mctx, + const re_token_t *node, Idx idx) + internal_function; +static reg_errcode_t extend_buffers (re_match_context_t *mctx) + internal_function; + +/* Entry point for POSIX code. */ + +/* regexec searches for a given pattern, specified by PREG, in the + string STRING. + + If NMATCH is zero or REG_NOSUB was set in the cflags argument to + `regcomp', we ignore PMATCH. Otherwise, we assume PMATCH has at + least NMATCH elements, and we set them to the offsets of the + corresponding matched substrings. + + EFLAGS specifies `execution flags' which affect matching: if + REG_NOTBOL is set, then ^ does not match at the beginning of the + string; if REG_NOTEOL is set, then $ does not match at the end. + + We return 0 if we find a match and REG_NOMATCH if not. */ + +int +regexec (preg, string, nmatch, pmatch, eflags) + const regex_t *_Restrict_ preg; + const char *_Restrict_ string; + size_t nmatch; + regmatch_t pmatch[_Restrict_arr_]; + int eflags; +{ + reg_errcode_t err; + Idx start, length; +#ifdef _LIBC + re_dfa_t *dfa = (re_dfa_t *) preg->buffer; +#endif + + if (eflags & ~(REG_NOTBOL | REG_NOTEOL | REG_STARTEND)) + return REG_BADPAT; + + if (eflags & REG_STARTEND) + { + start = pmatch[0].rm_so; + length = pmatch[0].rm_eo; + } + else + { + start = 0; + length = strlen (string); + } + + __libc_lock_lock (dfa->lock); + if (preg->no_sub) + err = re_search_internal (preg, string, length, start, length, + length, 0, NULL, eflags); + else + err = re_search_internal (preg, string, length, start, length, + length, nmatch, pmatch, eflags); + __libc_lock_unlock (dfa->lock); + return err != REG_NOERROR; +} + +#ifdef _LIBC +# include +versioned_symbol (libc, __regexec, regexec, GLIBC_2_3_4); + +# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4) +__typeof__ (__regexec) __compat_regexec; + +int +attribute_compat_text_section +__compat_regexec (const regex_t *_Restrict_ preg, + const char *_Restrict_ string, size_t nmatch, + regmatch_t pmatch[], int eflags) +{ + return regexec (preg, string, nmatch, pmatch, + eflags & (REG_NOTBOL | REG_NOTEOL)); +} +compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0); +# endif +#endif + +/* Entry points for GNU code. */ + +/* re_match, re_search, re_match_2, re_search_2 + + The former two functions operate on STRING with length LENGTH, + while the later two operate on concatenation of STRING1 and STRING2 + with lengths LENGTH1 and LENGTH2, respectively. + + re_match() matches the compiled pattern in BUFP against the string, + starting at index START. + + re_search() first tries matching at index START, then it tries to match + starting from index START + 1, and so on. The last start position tried + is START + RANGE. (Thus RANGE = 0 forces re_search to operate the same + way as re_match().) + + The parameter STOP of re_{match,search}_2 specifies that no match exceeding + the first STOP characters of the concatenation of the strings should be + concerned. + + If REGS is not NULL, and BUFP->no_sub is not set, the offsets of the match + and all groups is stored in REGS. (For the "_2" variants, the offsets are + computed relative to the concatenation, not relative to the individual + strings.) + + On success, re_match* functions return the length of the match, re_search* + return the position of the start of the match. Return value -1 means no + match was found and -2 indicates an internal error. */ + +regoff_t +re_match (bufp, string, length, start, regs) + struct re_pattern_buffer *bufp; + const char *string; + Idx length, start; + struct re_registers *regs; +{ + return re_search_stub (bufp, string, length, start, 0, length, regs, true); +} +#ifdef _LIBC +weak_alias (__re_match, re_match) +#endif + +regoff_t +re_search (bufp, string, length, start, range, regs) + struct re_pattern_buffer *bufp; + const char *string; + Idx length, start; + regoff_t range; + struct re_registers *regs; +{ + return re_search_stub (bufp, string, length, start, range, length, regs, + false); +} +#ifdef _LIBC +weak_alias (__re_search, re_search) +#endif + +regoff_t +re_match_2 (bufp, string1, length1, string2, length2, start, regs, stop) + struct re_pattern_buffer *bufp; + const char *string1, *string2; + Idx length1, length2, start, stop; + struct re_registers *regs; +{ + return re_search_2_stub (bufp, string1, length1, string2, length2, + start, 0, regs, stop, true); +} +#ifdef _LIBC +weak_alias (__re_match_2, re_match_2) +#endif + +regoff_t +re_search_2 (bufp, string1, length1, string2, length2, start, range, regs, stop) + struct re_pattern_buffer *bufp; + const char *string1, *string2; + Idx length1, length2, start, stop; + regoff_t range; + struct re_registers *regs; +{ + return re_search_2_stub (bufp, string1, length1, string2, length2, + start, range, regs, stop, false); +} +#ifdef _LIBC +weak_alias (__re_search_2, re_search_2) +#endif + +static regoff_t +internal_function +re_search_2_stub (struct re_pattern_buffer *bufp, + const char *string1, Idx length1, + const char *string2, Idx length2, + Idx start, regoff_t range, struct re_registers *regs, + Idx stop, bool ret_len) +{ + const char *str; + regoff_t rval; + Idx len = length1 + length2; + char *s = NULL; + + if (BE (length1 < 0 || length2 < 0 || stop < 0 || len < length1, 0)) + return -2; + + /* Concatenate the strings. */ + if (length2 > 0) + if (length1 > 0) + { + s = re_malloc (char, len); + + if (BE (s == NULL, 0)) + return -2; +#ifdef _LIBC + memcpy (__mempcpy (s, string1, length1), string2, length2); +#else + memcpy (s, string1, length1); + memcpy (s + length1, string2, length2); +#endif + str = s; + } + else + str = string2; + else + str = string1; + + rval = re_search_stub (bufp, str, len, start, range, stop, regs, + ret_len); + re_free (s); + return rval; +} + +/* The parameters have the same meaning as those of re_search. + Additional parameters: + If RET_LEN is true the length of the match is returned (re_match style); + otherwise the position of the match is returned. */ + +static regoff_t +internal_function +re_search_stub (struct re_pattern_buffer *bufp, + const char *string, Idx length, + Idx start, regoff_t range, Idx stop, struct re_registers *regs, + bool ret_len) +{ + reg_errcode_t result; + regmatch_t *pmatch; + Idx nregs; + regoff_t rval; + int eflags = 0; +#ifdef _LIBC + re_dfa_t *dfa = (re_dfa_t *) bufp->buffer; +#endif + Idx last_start = start + range; + + /* Check for out-of-range. */ + if (BE (start < 0 || start > length, 0)) + return -1; + if (BE (length < last_start || (0 <= range && last_start < start), 0)) + last_start = length; + else if (BE (last_start < 0 || (range < 0 && start <= last_start), 0)) + last_start = 0; + + __libc_lock_lock (dfa->lock); + + eflags |= (bufp->not_bol) ? REG_NOTBOL : 0; + eflags |= (bufp->not_eol) ? REG_NOTEOL : 0; + + /* Compile fastmap if we haven't yet. */ + if (start < last_start && bufp->fastmap != NULL && !bufp->fastmap_accurate) + re_compile_fastmap (bufp); + + if (BE (bufp->no_sub, 0)) + regs = NULL; + + /* We need at least 1 register. */ + if (regs == NULL) + nregs = 1; + else if (BE (bufp->regs_allocated == REGS_FIXED + && regs->num_regs <= bufp->re_nsub, 0)) + { + nregs = regs->num_regs; + if (BE (nregs < 1, 0)) + { + /* Nothing can be copied to regs. */ + regs = NULL; + nregs = 1; + } + } + else + nregs = bufp->re_nsub + 1; + pmatch = re_malloc (regmatch_t, nregs); + if (BE (pmatch == NULL, 0)) + { + rval = -2; + goto out; + } + + result = re_search_internal (bufp, string, length, start, last_start, stop, + nregs, pmatch, eflags); + + rval = 0; + + /* I hope we needn't fill ther regs with -1's when no match was found. */ + if (result != REG_NOERROR) + rval = -1; + else if (regs != NULL) + { + /* If caller wants register contents data back, copy them. */ + bufp->regs_allocated = re_copy_regs (regs, pmatch, nregs, + bufp->regs_allocated); + if (BE (bufp->regs_allocated == REGS_UNALLOCATED, 0)) + rval = -2; + } + + if (BE (rval == 0, 1)) + { + if (ret_len) + { + assert (pmatch[0].rm_so == start); + rval = pmatch[0].rm_eo - start; + } + else + rval = pmatch[0].rm_so; + } + re_free (pmatch); + out: + __libc_lock_unlock (dfa->lock); + return rval; +} + +static unsigned int +internal_function +re_copy_regs (struct re_registers *regs, regmatch_t *pmatch, Idx nregs, + int regs_allocated) +{ + int rval = REGS_REALLOCATE; + Idx i; + Idx need_regs = nregs + 1; + /* We need one extra element beyond `num_regs' for the `-1' marker GNU code + uses. */ + + /* Have the register data arrays been allocated? */ + if (regs_allocated == REGS_UNALLOCATED) + { /* No. So allocate them with malloc. */ + regs->start = re_malloc (regoff_t, need_regs); + if (BE (regs->start == NULL, 0)) + return REGS_UNALLOCATED; + regs->end = re_malloc (regoff_t, need_regs); + if (BE (regs->end == NULL, 0)) + { + re_free (regs->start); + return REGS_UNALLOCATED; + } + regs->num_regs = need_regs; + } + else if (regs_allocated == REGS_REALLOCATE) + { /* Yes. If we need more elements than were already + allocated, reallocate them. If we need fewer, just + leave it alone. */ + if (BE (need_regs > regs->num_regs, 0)) + { + regoff_t *new_start = re_realloc (regs->start, regoff_t, need_regs); + regoff_t *new_end; + if (BE (new_start == NULL, 0)) + return REGS_UNALLOCATED; + new_end = re_realloc (regs->end, regoff_t, need_regs); + if (BE (new_end == NULL, 0)) + { + re_free (new_start); + return REGS_UNALLOCATED; + } + regs->start = new_start; + regs->end = new_end; + regs->num_regs = need_regs; + } + } + else + { + assert (regs_allocated == REGS_FIXED); + /* This function may not be called with REGS_FIXED and nregs too big. */ + assert (regs->num_regs >= nregs); + rval = REGS_FIXED; + } + + /* Copy the regs. */ + for (i = 0; i < nregs; ++i) + { + regs->start[i] = pmatch[i].rm_so; + regs->end[i] = pmatch[i].rm_eo; + } + for ( ; i < regs->num_regs; ++i) + regs->start[i] = regs->end[i] = -1; + + return rval; +} + +/* Set REGS to hold NUM_REGS registers, storing them in STARTS and + ENDS. Subsequent matches using PATTERN_BUFFER and REGS will use + this memory for recording register information. STARTS and ENDS + must be allocated using the malloc library routine, and must each + be at least NUM_REGS * sizeof (regoff_t) bytes long. + + If NUM_REGS == 0, then subsequent matches should allocate their own + register data. + + Unless this function is called, the first search or match using + PATTERN_BUFFER will allocate its own register data, without + freeing the old data. */ + +void +re_set_registers (bufp, regs, num_regs, starts, ends) + struct re_pattern_buffer *bufp; + struct re_registers *regs; + __re_size_t num_regs; + regoff_t *starts, *ends; +{ + if (num_regs) + { + bufp->regs_allocated = REGS_REALLOCATE; + regs->num_regs = num_regs; + regs->start = starts; + regs->end = ends; + } + else + { + bufp->regs_allocated = REGS_UNALLOCATED; + regs->num_regs = 0; + regs->start = regs->end = NULL; + } +} +#ifdef _LIBC +weak_alias (__re_set_registers, re_set_registers) +#endif + +/* Entry points compatible with 4.2 BSD regex library. We don't define + them unless specifically requested. */ + +#if defined _REGEX_RE_COMP || defined _LIBC +int +# ifdef _LIBC +weak_function +# endif +re_exec (s) + const char *s; +{ + return 0 == regexec (&re_comp_buf, s, 0, NULL, 0); +} +#endif /* _REGEX_RE_COMP */ + +/* Internal entry point. */ + +/* Searches for a compiled pattern PREG in the string STRING, whose + length is LENGTH. NMATCH, PMATCH, and EFLAGS have the same + meaning as with regexec. LAST_START is START + RANGE, where + START and RANGE have the same meaning as with re_search. + Return REG_NOERROR if we find a match, and REG_NOMATCH if not, + otherwise return the error code. + Note: We assume front end functions already check ranges. + (0 <= LAST_START && LAST_START <= LENGTH) */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +re_search_internal (const regex_t *preg, + const char *string, Idx length, + Idx start, Idx last_start, Idx stop, + size_t nmatch, regmatch_t pmatch[], + int eflags) +{ + reg_errcode_t err; + const re_dfa_t *dfa = (const re_dfa_t *) preg->buffer; + Idx left_lim, right_lim; + int incr; + bool fl_longest_match; + int match_kind; + Idx match_first; + Idx match_last = REG_MISSING; + Idx extra_nmatch; + bool sb; + int ch; +#if defined _LIBC || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) + re_match_context_t mctx = { .dfa = dfa }; +#else + re_match_context_t mctx; +#endif + char *fastmap = ((preg->fastmap != NULL && preg->fastmap_accurate + && start != last_start && !preg->can_be_null) + ? preg->fastmap : NULL); + RE_TRANSLATE_TYPE t = preg->translate; + +#if !(defined _LIBC || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)) + memset (&mctx, '\0', sizeof (re_match_context_t)); + mctx.dfa = dfa; +#endif + + extra_nmatch = (nmatch > preg->re_nsub) ? nmatch - (preg->re_nsub + 1) : 0; + nmatch -= extra_nmatch; + + /* Check if the DFA haven't been compiled. */ + if (BE (preg->used == 0 || dfa->init_state == NULL + || dfa->init_state_word == NULL || dfa->init_state_nl == NULL + || dfa->init_state_begbuf == NULL, 0)) + return REG_NOMATCH; + +#ifdef DEBUG + /* We assume front-end functions already check them. */ + assert (0 <= last_start && last_start <= length); +#endif + + /* If initial states with non-begbuf contexts have no elements, + the regex must be anchored. If preg->newline_anchor is set, + we'll never use init_state_nl, so do not check it. */ + if (dfa->init_state->nodes.nelem == 0 + && dfa->init_state_word->nodes.nelem == 0 + && (dfa->init_state_nl->nodes.nelem == 0 + || !preg->newline_anchor)) + { + if (start != 0 && last_start != 0) + return REG_NOMATCH; + start = last_start = 0; + } + + /* We must check the longest matching, if nmatch > 0. */ + fl_longest_match = (nmatch != 0 || dfa->nbackref); + + err = re_string_allocate (&mctx.input, string, length, dfa->nodes_len + 1, + preg->translate, (preg->syntax & RE_ICASE) != 0, + dfa); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + mctx.input.stop = stop; + mctx.input.raw_stop = stop; + mctx.input.newline_anchor = preg->newline_anchor; + + err = match_ctx_init (&mctx, eflags, dfa->nbackref * 2); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + + /* We will log all the DFA states through which the dfa pass, + if nmatch > 1, or this dfa has "multibyte node", which is a + back-reference or a node which can accept multibyte character or + multi character collating element. */ + if (nmatch > 1 || dfa->has_mb_node) + { + /* Avoid overflow. */ + if (BE (SIZE_MAX / sizeof (re_dfastate_t *) <= mctx.input.bufs_len, 0)) + { + err = REG_ESPACE; + goto free_return; + } + + mctx.state_log = re_malloc (re_dfastate_t *, mctx.input.bufs_len + 1); + if (BE (mctx.state_log == NULL, 0)) + { + err = REG_ESPACE; + goto free_return; + } + } + else + mctx.state_log = NULL; + + match_first = start; + mctx.input.tip_context = (eflags & REG_NOTBOL) ? CONTEXT_BEGBUF + : CONTEXT_NEWLINE | CONTEXT_BEGBUF; + + /* Check incrementally whether of not the input string match. */ + incr = (last_start < start) ? -1 : 1; + left_lim = (last_start < start) ? last_start : start; + right_lim = (last_start < start) ? start : last_start; + sb = dfa->mb_cur_max == 1; + match_kind = + (fastmap + ? ((sb || !(preg->syntax & RE_ICASE || t) ? 4 : 0) + | (start <= last_start ? 2 : 0) + | (t != NULL ? 1 : 0)) + : 8); + + for (;; match_first += incr) + { + err = REG_NOMATCH; + if (match_first < left_lim || right_lim < match_first) + goto free_return; + + /* Advance as rapidly as possible through the string, until we + find a plausible place to start matching. This may be done + with varying efficiency, so there are various possibilities: + only the most common of them are specialized, in order to + save on code size. We use a switch statement for speed. */ + switch (match_kind) + { + case 8: + /* No fastmap. */ + break; + + case 7: + /* Fastmap with single-byte translation, match forward. */ + while (BE (match_first < right_lim, 1) + && !fastmap[t[(unsigned char) string[match_first]]]) + ++match_first; + goto forward_match_found_start_or_reached_end; + + case 6: + /* Fastmap without translation, match forward. */ + while (BE (match_first < right_lim, 1) + && !fastmap[(unsigned char) string[match_first]]) + ++match_first; + + forward_match_found_start_or_reached_end: + if (BE (match_first == right_lim, 0)) + { + ch = match_first >= length + ? 0 : (unsigned char) string[match_first]; + if (!fastmap[t ? t[ch] : ch]) + goto free_return; + } + break; + + case 4: + case 5: + /* Fastmap without multi-byte translation, match backwards. */ + while (match_first >= left_lim) + { + ch = match_first >= length + ? 0 : (unsigned char) string[match_first]; + if (fastmap[t ? t[ch] : ch]) + break; + --match_first; + } + if (match_first < left_lim) + goto free_return; + break; + + default: + /* In this case, we can't determine easily the current byte, + since it might be a component byte of a multibyte + character. Then we use the constructed buffer instead. */ + for (;;) + { + /* If MATCH_FIRST is out of the valid range, reconstruct the + buffers. */ + __re_size_t offset = match_first - mctx.input.raw_mbs_idx; + if (BE (offset >= (__re_size_t) mctx.input.valid_raw_len, 0)) + { + err = re_string_reconstruct (&mctx.input, match_first, + eflags); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + + offset = match_first - mctx.input.raw_mbs_idx; + } + /* If MATCH_FIRST is out of the buffer, leave it as '\0'. + Note that MATCH_FIRST must not be smaller than 0. */ + ch = (match_first >= length + ? 0 : re_string_byte_at (&mctx.input, offset)); + if (fastmap[ch]) + break; + match_first += incr; + if (match_first < left_lim || match_first > right_lim) + { + err = REG_NOMATCH; + goto free_return; + } + } + break; + } + + /* Reconstruct the buffers so that the matcher can assume that + the matching starts from the beginning of the buffer. */ + err = re_string_reconstruct (&mctx.input, match_first, eflags); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + +#ifdef RE_ENABLE_I18N + /* Don't consider this char as a possible match start if it part, + yet isn't the head, of a multibyte character. */ + if (!sb && !re_string_first_byte (&mctx.input, 0)) + continue; +#endif + + /* It seems to be appropriate one, then use the matcher. */ + /* We assume that the matching starts from 0. */ + mctx.state_log_top = mctx.nbkref_ents = mctx.max_mb_elem_len = 0; + match_last = check_matching (&mctx, fl_longest_match, + start <= last_start ? &match_first : NULL); + if (match_last != REG_MISSING) + { + if (BE (match_last == REG_ERROR, 0)) + { + err = REG_ESPACE; + goto free_return; + } + else + { + mctx.match_last = match_last; + if ((!preg->no_sub && nmatch > 1) || dfa->nbackref) + { + re_dfastate_t *pstate = mctx.state_log[match_last]; + mctx.last_node = check_halt_state_context (&mctx, pstate, + match_last); + } + if ((!preg->no_sub && nmatch > 1 && dfa->has_plural_match) + || dfa->nbackref) + { + err = prune_impossible_nodes (&mctx); + if (err == REG_NOERROR) + break; + if (BE (err != REG_NOMATCH, 0)) + goto free_return; + match_last = REG_MISSING; + } + else + break; /* We found a match. */ + } + } + + match_ctx_clean (&mctx); + } + +#ifdef DEBUG + assert (match_last != REG_MISSING); + assert (err == REG_NOERROR); +#endif + + /* Set pmatch[] if we need. */ + if (nmatch > 0) + { + Idx reg_idx; + + /* Initialize registers. */ + for (reg_idx = 1; reg_idx < nmatch; ++reg_idx) + pmatch[reg_idx].rm_so = pmatch[reg_idx].rm_eo = -1; + + /* Set the points where matching start/end. */ + pmatch[0].rm_so = 0; + pmatch[0].rm_eo = mctx.match_last; + /* FIXME: This function should fail if mctx.match_last exceeds + the maximum possible regoff_t value. We need a new error + code REG_OVERFLOW. */ + + if (!preg->no_sub && nmatch > 1) + { + err = set_regs (preg, &mctx, nmatch, pmatch, + dfa->has_plural_match && dfa->nbackref > 0); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + } + + /* At last, add the offset to the each registers, since we slided + the buffers so that we could assume that the matching starts + from 0. */ + for (reg_idx = 0; reg_idx < nmatch; ++reg_idx) + if (pmatch[reg_idx].rm_so != -1) + { +#ifdef RE_ENABLE_I18N + if (BE (mctx.input.offsets_needed != 0, 0)) + { + pmatch[reg_idx].rm_so = + (pmatch[reg_idx].rm_so == mctx.input.valid_len + ? mctx.input.valid_raw_len + : mctx.input.offsets[pmatch[reg_idx].rm_so]); + pmatch[reg_idx].rm_eo = + (pmatch[reg_idx].rm_eo == mctx.input.valid_len + ? mctx.input.valid_raw_len + : mctx.input.offsets[pmatch[reg_idx].rm_eo]); + } +#else + assert (mctx.input.offsets_needed == 0); +#endif + pmatch[reg_idx].rm_so += match_first; + pmatch[reg_idx].rm_eo += match_first; + } + for (reg_idx = 0; reg_idx < extra_nmatch; ++reg_idx) + { + pmatch[nmatch + reg_idx].rm_so = -1; + pmatch[nmatch + reg_idx].rm_eo = -1; + } + + if (dfa->subexp_map) + for (reg_idx = 0; reg_idx + 1 < nmatch; reg_idx++) + if (dfa->subexp_map[reg_idx] != reg_idx) + { + pmatch[reg_idx + 1].rm_so + = pmatch[dfa->subexp_map[reg_idx] + 1].rm_so; + pmatch[reg_idx + 1].rm_eo + = pmatch[dfa->subexp_map[reg_idx] + 1].rm_eo; + } + } + + free_return: + re_free (mctx.state_log); + if (dfa->nbackref) + match_ctx_free (&mctx); + re_string_destruct (&mctx.input); + return err; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +prune_impossible_nodes (re_match_context_t *mctx) +{ + const re_dfa_t *const dfa = mctx->dfa; + Idx halt_node, match_last; + reg_errcode_t ret; + re_dfastate_t **sifted_states; + re_dfastate_t **lim_states = NULL; + re_sift_context_t sctx; +#ifdef DEBUG + assert (mctx->state_log != NULL); +#endif + match_last = mctx->match_last; + halt_node = mctx->last_node; + + /* Avoid overflow. */ + if (BE (SIZE_MAX / sizeof (re_dfastate_t *) <= match_last, 0)) + return REG_ESPACE; + + sifted_states = re_malloc (re_dfastate_t *, match_last + 1); + if (BE (sifted_states == NULL, 0)) + { + ret = REG_ESPACE; + goto free_return; + } + if (dfa->nbackref) + { + lim_states = re_malloc (re_dfastate_t *, match_last + 1); + if (BE (lim_states == NULL, 0)) + { + ret = REG_ESPACE; + goto free_return; + } + while (1) + { + memset (lim_states, '\0', + sizeof (re_dfastate_t *) * (match_last + 1)); + sift_ctx_init (&sctx, sifted_states, lim_states, halt_node, + match_last); + ret = sift_states_backward (mctx, &sctx); + re_node_set_free (&sctx.limits); + if (BE (ret != REG_NOERROR, 0)) + goto free_return; + if (sifted_states[0] != NULL || lim_states[0] != NULL) + break; + do + { + --match_last; + if (! REG_VALID_INDEX (match_last)) + { + ret = REG_NOMATCH; + goto free_return; + } + } while (mctx->state_log[match_last] == NULL + || !mctx->state_log[match_last]->halt); + halt_node = check_halt_state_context (mctx, + mctx->state_log[match_last], + match_last); + } + ret = merge_state_array (dfa, sifted_states, lim_states, + match_last + 1); + re_free (lim_states); + lim_states = NULL; + if (BE (ret != REG_NOERROR, 0)) + goto free_return; + } + else + { + sift_ctx_init (&sctx, sifted_states, lim_states, halt_node, match_last); + ret = sift_states_backward (mctx, &sctx); + re_node_set_free (&sctx.limits); + if (BE (ret != REG_NOERROR, 0)) + goto free_return; + if (sifted_states[0] == NULL) + { + ret = REG_NOMATCH; + goto free_return; + } + } + re_free (mctx->state_log); + mctx->state_log = sifted_states; + sifted_states = NULL; + mctx->last_node = halt_node; + mctx->match_last = match_last; + ret = REG_NOERROR; + free_return: + re_free (sifted_states); + re_free (lim_states); + return ret; +} + +/* Acquire an initial state and return it. + We must select appropriate initial state depending on the context, + since initial states may have constraints like "\<", "^", etc.. */ + +static inline re_dfastate_t * +__attribute ((always_inline)) internal_function +acquire_init_state_context (reg_errcode_t *err, const re_match_context_t *mctx, + Idx idx) +{ + const re_dfa_t *const dfa = mctx->dfa; + if (dfa->init_state->has_constraint) + { + unsigned int context; + context = re_string_context_at (&mctx->input, idx - 1, mctx->eflags); + if (IS_WORD_CONTEXT (context)) + return dfa->init_state_word; + else if (IS_ORDINARY_CONTEXT (context)) + return dfa->init_state; + else if (IS_BEGBUF_CONTEXT (context) && IS_NEWLINE_CONTEXT (context)) + return dfa->init_state_begbuf; + else if (IS_NEWLINE_CONTEXT (context)) + return dfa->init_state_nl; + else if (IS_BEGBUF_CONTEXT (context)) + { + /* It is relatively rare case, then calculate on demand. */ + return re_acquire_state_context (err, dfa, + dfa->init_state->entrance_nodes, + context); + } + else + /* Must not happen? */ + return dfa->init_state; + } + else + return dfa->init_state; +} + +/* Check whether the regular expression match input string INPUT or not, + and return the index where the matching end. Return REG_MISSING if + there is no match, and return REG_ERROR in case of an error. + FL_LONGEST_MATCH means we want the POSIX longest matching. + If P_MATCH_FIRST is not NULL, and the match fails, it is set to the + next place where we may want to try matching. + Note that the matcher assume that the maching starts from the current + index of the buffer. */ + +static Idx +internal_function __attribute_warn_unused_result__ +check_matching (re_match_context_t *mctx, bool fl_longest_match, + Idx *p_match_first) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err; + Idx match = 0; + Idx match_last = REG_MISSING; + Idx cur_str_idx = re_string_cur_idx (&mctx->input); + re_dfastate_t *cur_state; + bool at_init_state = p_match_first != NULL; + Idx next_start_idx = cur_str_idx; + + err = REG_NOERROR; + cur_state = acquire_init_state_context (&err, mctx, cur_str_idx); + /* An initial state must not be NULL (invalid). */ + if (BE (cur_state == NULL, 0)) + { + assert (err == REG_ESPACE); + return REG_ERROR; + } + + if (mctx->state_log != NULL) + { + mctx->state_log[cur_str_idx] = cur_state; + + /* Check OP_OPEN_SUBEXP in the initial state in case that we use them + later. E.g. Processing back references. */ + if (BE (dfa->nbackref, 0)) + { + at_init_state = false; + err = check_subexp_matching_top (mctx, &cur_state->nodes, 0); + if (BE (err != REG_NOERROR, 0)) + return err; + + if (cur_state->has_backref) + { + err = transit_state_bkref (mctx, &cur_state->nodes); + if (BE (err != REG_NOERROR, 0)) + return err; + } + } + } + + /* If the RE accepts NULL string. */ + if (BE (cur_state->halt, 0)) + { + if (!cur_state->has_constraint + || check_halt_state_context (mctx, cur_state, cur_str_idx)) + { + if (!fl_longest_match) + return cur_str_idx; + else + { + match_last = cur_str_idx; + match = 1; + } + } + } + + while (!re_string_eoi (&mctx->input)) + { + re_dfastate_t *old_state = cur_state; + Idx next_char_idx = re_string_cur_idx (&mctx->input) + 1; + + if (BE (next_char_idx >= mctx->input.bufs_len, 0) + || (BE (next_char_idx >= mctx->input.valid_len, 0) + && mctx->input.valid_len < mctx->input.len)) + { + err = extend_buffers (mctx); + if (BE (err != REG_NOERROR, 0)) + { + assert (err == REG_ESPACE); + return REG_ERROR; + } + } + + cur_state = transit_state (&err, mctx, cur_state); + if (mctx->state_log != NULL) + cur_state = merge_state_with_log (&err, mctx, cur_state); + + if (cur_state == NULL) + { + /* Reached the invalid state or an error. Try to recover a valid + state using the state log, if available and if we have not + already found a valid (even if not the longest) match. */ + if (BE (err != REG_NOERROR, 0)) + return REG_ERROR; + + if (mctx->state_log == NULL + || (match && !fl_longest_match) + || (cur_state = find_recover_state (&err, mctx)) == NULL) + break; + } + + if (BE (at_init_state, 0)) + { + if (old_state == cur_state) + next_start_idx = next_char_idx; + else + at_init_state = false; + } + + if (cur_state->halt) + { + /* Reached a halt state. + Check the halt state can satisfy the current context. */ + if (!cur_state->has_constraint + || check_halt_state_context (mctx, cur_state, + re_string_cur_idx (&mctx->input))) + { + /* We found an appropriate halt state. */ + match_last = re_string_cur_idx (&mctx->input); + match = 1; + + /* We found a match, do not modify match_first below. */ + p_match_first = NULL; + if (!fl_longest_match) + break; + } + } + } + + if (p_match_first) + *p_match_first += next_start_idx; + + return match_last; +} + +/* Check NODE match the current context. */ + +static bool +internal_function +check_halt_node_context (const re_dfa_t *dfa, Idx node, unsigned int context) +{ + re_token_type_t type = dfa->nodes[node].type; + unsigned int constraint = dfa->nodes[node].constraint; + if (type != END_OF_RE) + return false; + if (!constraint) + return true; + if (NOT_SATISFY_NEXT_CONSTRAINT (constraint, context)) + return false; + return true; +} + +/* Check the halt state STATE match the current context. + Return 0 if not match, if the node, STATE has, is a halt node and + match the context, return the node. */ + +static Idx +internal_function +check_halt_state_context (const re_match_context_t *mctx, + const re_dfastate_t *state, Idx idx) +{ + Idx i; + unsigned int context; +#ifdef DEBUG + assert (state->halt); +#endif + context = re_string_context_at (&mctx->input, idx, mctx->eflags); + for (i = 0; i < state->nodes.nelem; ++i) + if (check_halt_node_context (mctx->dfa, state->nodes.elems[i], context)) + return state->nodes.elems[i]; + return 0; +} + +/* Compute the next node to which "NFA" transit from NODE("NFA" is a NFA + corresponding to the DFA). + Return the destination node, and update EPS_VIA_NODES; + return REG_MISSING in case of errors. */ + +static Idx +internal_function +proceed_next_node (const re_match_context_t *mctx, Idx nregs, regmatch_t *regs, + Idx *pidx, Idx node, re_node_set *eps_via_nodes, + struct re_fail_stack_t *fs) +{ + const re_dfa_t *const dfa = mctx->dfa; + Idx i; + bool ok; + if (IS_EPSILON_NODE (dfa->nodes[node].type)) + { + re_node_set *cur_nodes = &mctx->state_log[*pidx]->nodes; + re_node_set *edests = &dfa->edests[node]; + Idx dest_node; + ok = re_node_set_insert (eps_via_nodes, node); + if (BE (! ok, 0)) + return REG_ERROR; + /* Pick up a valid destination, or return REG_MISSING if none + is found. */ + for (dest_node = REG_MISSING, i = 0; i < edests->nelem; ++i) + { + Idx candidate = edests->elems[i]; + if (!re_node_set_contains (cur_nodes, candidate)) + continue; + if (dest_node == REG_MISSING) + dest_node = candidate; + + else + { + /* In order to avoid infinite loop like "(a*)*", return the second + epsilon-transition if the first was already considered. */ + if (re_node_set_contains (eps_via_nodes, dest_node)) + return candidate; + + /* Otherwise, push the second epsilon-transition on the fail stack. */ + else if (fs != NULL + && push_fail_stack (fs, *pidx, candidate, nregs, regs, + eps_via_nodes)) + return REG_ERROR; + + /* We know we are going to exit. */ + break; + } + } + return dest_node; + } + else + { + Idx naccepted = 0; + re_token_type_t type = dfa->nodes[node].type; + +#ifdef RE_ENABLE_I18N + if (dfa->nodes[node].accept_mb) + naccepted = check_node_accept_bytes (dfa, node, &mctx->input, *pidx); + else +#endif /* RE_ENABLE_I18N */ + if (type == OP_BACK_REF) + { + Idx subexp_idx = dfa->nodes[node].opr.idx + 1; + naccepted = regs[subexp_idx].rm_eo - regs[subexp_idx].rm_so; + if (fs != NULL) + { + if (regs[subexp_idx].rm_so == -1 || regs[subexp_idx].rm_eo == -1) + return REG_MISSING; + else if (naccepted) + { + char *buf = (char *) re_string_get_buffer (&mctx->input); + if (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, + naccepted) != 0) + return REG_MISSING; + } + } + + if (naccepted == 0) + { + Idx dest_node; + ok = re_node_set_insert (eps_via_nodes, node); + if (BE (! ok, 0)) + return REG_ERROR; + dest_node = dfa->edests[node].elems[0]; + if (re_node_set_contains (&mctx->state_log[*pidx]->nodes, + dest_node)) + return dest_node; + } + } + + if (naccepted != 0 + || check_node_accept (mctx, dfa->nodes + node, *pidx)) + { + Idx dest_node = dfa->nexts[node]; + *pidx = (naccepted == 0) ? *pidx + 1 : *pidx + naccepted; + if (fs && (*pidx > mctx->match_last || mctx->state_log[*pidx] == NULL + || !re_node_set_contains (&mctx->state_log[*pidx]->nodes, + dest_node))) + return REG_MISSING; + re_node_set_empty (eps_via_nodes); + return dest_node; + } + } + return REG_MISSING; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +push_fail_stack (struct re_fail_stack_t *fs, Idx str_idx, Idx dest_node, + Idx nregs, regmatch_t *regs, re_node_set *eps_via_nodes) +{ + reg_errcode_t err; + Idx num = fs->num++; + if (fs->num == fs->alloc) + { + struct re_fail_stack_ent_t *new_array; + new_array = realloc (fs->stack, (sizeof (struct re_fail_stack_ent_t) + * fs->alloc * 2)); + if (new_array == NULL) + return REG_ESPACE; + fs->alloc *= 2; + fs->stack = new_array; + } + fs->stack[num].idx = str_idx; + fs->stack[num].node = dest_node; + fs->stack[num].regs = re_malloc (regmatch_t, nregs); + if (fs->stack[num].regs == NULL) + return REG_ESPACE; + memcpy (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs); + err = re_node_set_init_copy (&fs->stack[num].eps_via_nodes, eps_via_nodes); + return err; +} + +static Idx +internal_function +pop_fail_stack (struct re_fail_stack_t *fs, Idx *pidx, Idx nregs, + regmatch_t *regs, re_node_set *eps_via_nodes) +{ + Idx num = --fs->num; + assert (REG_VALID_INDEX (num)); + *pidx = fs->stack[num].idx; + memcpy (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs); + re_node_set_free (eps_via_nodes); + re_free (fs->stack[num].regs); + *eps_via_nodes = fs->stack[num].eps_via_nodes; + return fs->stack[num].node; +} + +/* Set the positions where the subexpressions are starts/ends to registers + PMATCH. + Note: We assume that pmatch[0] is already set, and + pmatch[i].rm_so == pmatch[i].rm_eo == -1 for 0 < i < nmatch. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, + regmatch_t *pmatch, bool fl_backtrack) +{ + const re_dfa_t *dfa = (const re_dfa_t *) preg->buffer; + Idx idx, cur_node; + re_node_set eps_via_nodes; + struct re_fail_stack_t *fs; + struct re_fail_stack_t fs_body = { 0, 2, NULL }; + regmatch_t *prev_idx_match; + bool prev_idx_match_malloced = false; + +#ifdef DEBUG + assert (nmatch > 1); + assert (mctx->state_log != NULL); +#endif + if (fl_backtrack) + { + fs = &fs_body; + fs->stack = re_malloc (struct re_fail_stack_ent_t, fs->alloc); + if (fs->stack == NULL) + return REG_ESPACE; + } + else + fs = NULL; + + cur_node = dfa->init_node; + re_node_set_init_empty (&eps_via_nodes); + + if (__libc_use_alloca (nmatch * sizeof (regmatch_t))) + prev_idx_match = (regmatch_t *) alloca (nmatch * sizeof (regmatch_t)); + else + { + prev_idx_match = re_malloc (regmatch_t, nmatch); + if (prev_idx_match == NULL) + { + free_fail_stack_return (fs); + return REG_ESPACE; + } + prev_idx_match_malloced = true; + } + memcpy (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch); + + for (idx = pmatch[0].rm_so; idx <= pmatch[0].rm_eo ;) + { + update_regs (dfa, pmatch, prev_idx_match, cur_node, idx, nmatch); + + if (idx == pmatch[0].rm_eo && cur_node == mctx->last_node) + { + Idx reg_idx; + if (fs) + { + for (reg_idx = 0; reg_idx < nmatch; ++reg_idx) + if (pmatch[reg_idx].rm_so > -1 && pmatch[reg_idx].rm_eo == -1) + break; + if (reg_idx == nmatch) + { + re_node_set_free (&eps_via_nodes); + if (prev_idx_match_malloced) + re_free (prev_idx_match); + return free_fail_stack_return (fs); + } + cur_node = pop_fail_stack (fs, &idx, nmatch, pmatch, + &eps_via_nodes); + } + else + { + re_node_set_free (&eps_via_nodes); + if (prev_idx_match_malloced) + re_free (prev_idx_match); + return REG_NOERROR; + } + } + + /* Proceed to next node. */ + cur_node = proceed_next_node (mctx, nmatch, pmatch, &idx, cur_node, + &eps_via_nodes, fs); + + if (BE (! REG_VALID_INDEX (cur_node), 0)) + { + if (BE (cur_node == REG_ERROR, 0)) + { + re_node_set_free (&eps_via_nodes); + if (prev_idx_match_malloced) + re_free (prev_idx_match); + free_fail_stack_return (fs); + return REG_ESPACE; + } + if (fs) + cur_node = pop_fail_stack (fs, &idx, nmatch, pmatch, + &eps_via_nodes); + else + { + re_node_set_free (&eps_via_nodes); + if (prev_idx_match_malloced) + re_free (prev_idx_match); + return REG_NOMATCH; + } + } + } + re_node_set_free (&eps_via_nodes); + if (prev_idx_match_malloced) + re_free (prev_idx_match); + return free_fail_stack_return (fs); +} + +static reg_errcode_t +internal_function +free_fail_stack_return (struct re_fail_stack_t *fs) +{ + if (fs) + { + Idx fs_idx; + for (fs_idx = 0; fs_idx < fs->num; ++fs_idx) + { + re_node_set_free (&fs->stack[fs_idx].eps_via_nodes); + re_free (fs->stack[fs_idx].regs); + } + re_free (fs->stack); + } + return REG_NOERROR; +} + +static void +internal_function +update_regs (const re_dfa_t *dfa, regmatch_t *pmatch, + regmatch_t *prev_idx_match, Idx cur_node, Idx cur_idx, Idx nmatch) +{ + int type = dfa->nodes[cur_node].type; + if (type == OP_OPEN_SUBEXP) + { + Idx reg_num = dfa->nodes[cur_node].opr.idx + 1; + + /* We are at the first node of this sub expression. */ + if (reg_num < nmatch) + { + pmatch[reg_num].rm_so = cur_idx; + pmatch[reg_num].rm_eo = -1; + } + } + else if (type == OP_CLOSE_SUBEXP) + { + Idx reg_num = dfa->nodes[cur_node].opr.idx + 1; + if (reg_num < nmatch) + { + /* We are at the last node of this sub expression. */ + if (pmatch[reg_num].rm_so < cur_idx) + { + pmatch[reg_num].rm_eo = cur_idx; + /* This is a non-empty match or we are not inside an optional + subexpression. Accept this right away. */ + memcpy (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch); + } + else + { + if (dfa->nodes[cur_node].opt_subexp + && prev_idx_match[reg_num].rm_so != -1) + /* We transited through an empty match for an optional + subexpression, like (a?)*, and this is not the subexp's + first match. Copy back the old content of the registers + so that matches of an inner subexpression are undone as + well, like in ((a?))*. */ + memcpy (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch); + else + /* We completed a subexpression, but it may be part of + an optional one, so do not update PREV_IDX_MATCH. */ + pmatch[reg_num].rm_eo = cur_idx; + } + } + } +} + +/* This function checks the STATE_LOG from the SCTX->last_str_idx to 0 + and sift the nodes in each states according to the following rules. + Updated state_log will be wrote to STATE_LOG. + + Rules: We throw away the Node `a' in the STATE_LOG[STR_IDX] if... + 1. When STR_IDX == MATCH_LAST(the last index in the state_log): + If `a' isn't the LAST_NODE and `a' can't epsilon transit to + the LAST_NODE, we throw away the node `a'. + 2. When 0 <= STR_IDX < MATCH_LAST and `a' accepts + string `s' and transit to `b': + i. If 'b' isn't in the STATE_LOG[STR_IDX+strlen('s')], we throw + away the node `a'. + ii. If 'b' is in the STATE_LOG[STR_IDX+strlen('s')] but 'b' is + thrown away, we throw away the node `a'. + 3. When 0 <= STR_IDX < MATCH_LAST and 'a' epsilon transit to 'b': + i. If 'b' isn't in the STATE_LOG[STR_IDX], we throw away the + node `a'. + ii. If 'b' is in the STATE_LOG[STR_IDX] but 'b' is thrown away, + we throw away the node `a'. */ + +#define STATE_NODE_CONTAINS(state,node) \ + ((state) != NULL && re_node_set_contains (&(state)->nodes, node)) + +static reg_errcode_t +internal_function +sift_states_backward (const re_match_context_t *mctx, re_sift_context_t *sctx) +{ + reg_errcode_t err; + int null_cnt = 0; + Idx str_idx = sctx->last_str_idx; + re_node_set cur_dest; + +#ifdef DEBUG + assert (mctx->state_log != NULL && mctx->state_log[str_idx] != NULL); +#endif + + /* Build sifted state_log[str_idx]. It has the nodes which can epsilon + transit to the last_node and the last_node itself. */ + err = re_node_set_init_1 (&cur_dest, sctx->last_node); + if (BE (err != REG_NOERROR, 0)) + return err; + err = update_cur_sifted_state (mctx, sctx, str_idx, &cur_dest); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + + /* Then check each states in the state_log. */ + while (str_idx > 0) + { + /* Update counters. */ + null_cnt = (sctx->sifted_states[str_idx] == NULL) ? null_cnt + 1 : 0; + if (null_cnt > mctx->max_mb_elem_len) + { + memset (sctx->sifted_states, '\0', + sizeof (re_dfastate_t *) * str_idx); + re_node_set_free (&cur_dest); + return REG_NOERROR; + } + re_node_set_empty (&cur_dest); + --str_idx; + + if (mctx->state_log[str_idx]) + { + err = build_sifted_states (mctx, sctx, str_idx, &cur_dest); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + } + + /* Add all the nodes which satisfy the following conditions: + - It can epsilon transit to a node in CUR_DEST. + - It is in CUR_SRC. + And update state_log. */ + err = update_cur_sifted_state (mctx, sctx, str_idx, &cur_dest); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + } + err = REG_NOERROR; + free_return: + re_node_set_free (&cur_dest); + return err; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +build_sifted_states (const re_match_context_t *mctx, re_sift_context_t *sctx, + Idx str_idx, re_node_set *cur_dest) +{ + const re_dfa_t *const dfa = mctx->dfa; + const re_node_set *cur_src = &mctx->state_log[str_idx]->non_eps_nodes; + Idx i; + + /* Then build the next sifted state. + We build the next sifted state on `cur_dest', and update + `sifted_states[str_idx]' with `cur_dest'. + Note: + `cur_dest' is the sifted state from `state_log[str_idx + 1]'. + `cur_src' points the node_set of the old `state_log[str_idx]' + (with the epsilon nodes pre-filtered out). */ + for (i = 0; i < cur_src->nelem; i++) + { + Idx prev_node = cur_src->elems[i]; + int naccepted = 0; + bool ok; + +#ifdef DEBUG + re_token_type_t type = dfa->nodes[prev_node].type; + assert (!IS_EPSILON_NODE (type)); +#endif +#ifdef RE_ENABLE_I18N + /* If the node may accept `multi byte'. */ + if (dfa->nodes[prev_node].accept_mb) + naccepted = sift_states_iter_mb (mctx, sctx, prev_node, + str_idx, sctx->last_str_idx); +#endif /* RE_ENABLE_I18N */ + + /* We don't check backreferences here. + See update_cur_sifted_state(). */ + if (!naccepted + && check_node_accept (mctx, dfa->nodes + prev_node, str_idx) + && STATE_NODE_CONTAINS (sctx->sifted_states[str_idx + 1], + dfa->nexts[prev_node])) + naccepted = 1; + + if (naccepted == 0) + continue; + + if (sctx->limits.nelem) + { + Idx to_idx = str_idx + naccepted; + if (check_dst_limits (mctx, &sctx->limits, + dfa->nexts[prev_node], to_idx, + prev_node, str_idx)) + continue; + } + ok = re_node_set_insert (cur_dest, prev_node); + if (BE (! ok, 0)) + return REG_ESPACE; + } + + return REG_NOERROR; +} + +/* Helper functions. */ + +static reg_errcode_t +internal_function +clean_state_log_if_needed (re_match_context_t *mctx, Idx next_state_log_idx) +{ + Idx top = mctx->state_log_top; + + if (next_state_log_idx >= mctx->input.bufs_len + || (next_state_log_idx >= mctx->input.valid_len + && mctx->input.valid_len < mctx->input.len)) + { + reg_errcode_t err; + err = extend_buffers (mctx); + if (BE (err != REG_NOERROR, 0)) + return err; + } + + if (top < next_state_log_idx) + { + memset (mctx->state_log + top + 1, '\0', + sizeof (re_dfastate_t *) * (next_state_log_idx - top)); + mctx->state_log_top = next_state_log_idx; + } + return REG_NOERROR; +} + +static reg_errcode_t +internal_function +merge_state_array (const re_dfa_t *dfa, re_dfastate_t **dst, + re_dfastate_t **src, Idx num) +{ + Idx st_idx; + reg_errcode_t err; + for (st_idx = 0; st_idx < num; ++st_idx) + { + if (dst[st_idx] == NULL) + dst[st_idx] = src[st_idx]; + else if (src[st_idx] != NULL) + { + re_node_set merged_set; + err = re_node_set_init_union (&merged_set, &dst[st_idx]->nodes, + &src[st_idx]->nodes); + if (BE (err != REG_NOERROR, 0)) + return err; + dst[st_idx] = re_acquire_state (&err, dfa, &merged_set); + re_node_set_free (&merged_set); + if (BE (err != REG_NOERROR, 0)) + return err; + } + } + return REG_NOERROR; +} + +static reg_errcode_t +internal_function +update_cur_sifted_state (const re_match_context_t *mctx, + re_sift_context_t *sctx, Idx str_idx, + re_node_set *dest_nodes) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err = REG_NOERROR; + const re_node_set *candidates; + candidates = ((mctx->state_log[str_idx] == NULL) ? NULL + : &mctx->state_log[str_idx]->nodes); + + if (dest_nodes->nelem == 0) + sctx->sifted_states[str_idx] = NULL; + else + { + if (candidates) + { + /* At first, add the nodes which can epsilon transit to a node in + DEST_NODE. */ + err = add_epsilon_src_nodes (dfa, dest_nodes, candidates); + if (BE (err != REG_NOERROR, 0)) + return err; + + /* Then, check the limitations in the current sift_context. */ + if (sctx->limits.nelem) + { + err = check_subexp_limits (dfa, dest_nodes, candidates, &sctx->limits, + mctx->bkref_ents, str_idx); + if (BE (err != REG_NOERROR, 0)) + return err; + } + } + + sctx->sifted_states[str_idx] = re_acquire_state (&err, dfa, dest_nodes); + if (BE (err != REG_NOERROR, 0)) + return err; + } + + if (candidates && mctx->state_log[str_idx]->has_backref) + { + err = sift_states_bkref (mctx, sctx, str_idx, candidates); + if (BE (err != REG_NOERROR, 0)) + return err; + } + return REG_NOERROR; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +add_epsilon_src_nodes (const re_dfa_t *dfa, re_node_set *dest_nodes, + const re_node_set *candidates) +{ + reg_errcode_t err = REG_NOERROR; + Idx i; + + re_dfastate_t *state = re_acquire_state (&err, dfa, dest_nodes); + if (BE (err != REG_NOERROR, 0)) + return err; + + if (!state->inveclosure.alloc) + { + err = re_node_set_alloc (&state->inveclosure, dest_nodes->nelem); + if (BE (err != REG_NOERROR, 0)) + return REG_ESPACE; + for (i = 0; i < dest_nodes->nelem; i++) + { + err = re_node_set_merge (&state->inveclosure, + dfa->inveclosures + dest_nodes->elems[i]); + if (BE (err != REG_NOERROR, 0)) + return REG_ESPACE; + } + } + return re_node_set_add_intersect (dest_nodes, candidates, + &state->inveclosure); +} + +static reg_errcode_t +internal_function +sub_epsilon_src_nodes (const re_dfa_t *dfa, Idx node, re_node_set *dest_nodes, + const re_node_set *candidates) +{ + Idx ecl_idx; + reg_errcode_t err; + re_node_set *inv_eclosure = dfa->inveclosures + node; + re_node_set except_nodes; + re_node_set_init_empty (&except_nodes); + for (ecl_idx = 0; ecl_idx < inv_eclosure->nelem; ++ecl_idx) + { + Idx cur_node = inv_eclosure->elems[ecl_idx]; + if (cur_node == node) + continue; + if (IS_EPSILON_NODE (dfa->nodes[cur_node].type)) + { + Idx edst1 = dfa->edests[cur_node].elems[0]; + Idx edst2 = ((dfa->edests[cur_node].nelem > 1) + ? dfa->edests[cur_node].elems[1] : REG_MISSING); + if ((!re_node_set_contains (inv_eclosure, edst1) + && re_node_set_contains (dest_nodes, edst1)) + || (REG_VALID_NONZERO_INDEX (edst2) + && !re_node_set_contains (inv_eclosure, edst2) + && re_node_set_contains (dest_nodes, edst2))) + { + err = re_node_set_add_intersect (&except_nodes, candidates, + dfa->inveclosures + cur_node); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&except_nodes); + return err; + } + } + } + } + for (ecl_idx = 0; ecl_idx < inv_eclosure->nelem; ++ecl_idx) + { + Idx cur_node = inv_eclosure->elems[ecl_idx]; + if (!re_node_set_contains (&except_nodes, cur_node)) + { + Idx idx = re_node_set_contains (dest_nodes, cur_node) - 1; + re_node_set_remove_at (dest_nodes, idx); + } + } + re_node_set_free (&except_nodes); + return REG_NOERROR; +} + +static bool +internal_function +check_dst_limits (const re_match_context_t *mctx, const re_node_set *limits, + Idx dst_node, Idx dst_idx, Idx src_node, Idx src_idx) +{ + const re_dfa_t *const dfa = mctx->dfa; + Idx lim_idx, src_pos, dst_pos; + + Idx dst_bkref_idx = search_cur_bkref_entry (mctx, dst_idx); + Idx src_bkref_idx = search_cur_bkref_entry (mctx, src_idx); + for (lim_idx = 0; lim_idx < limits->nelem; ++lim_idx) + { + Idx subexp_idx; + struct re_backref_cache_entry *ent; + ent = mctx->bkref_ents + limits->elems[lim_idx]; + subexp_idx = dfa->nodes[ent->node].opr.idx; + + dst_pos = check_dst_limits_calc_pos (mctx, limits->elems[lim_idx], + subexp_idx, dst_node, dst_idx, + dst_bkref_idx); + src_pos = check_dst_limits_calc_pos (mctx, limits->elems[lim_idx], + subexp_idx, src_node, src_idx, + src_bkref_idx); + + /* In case of: + ( ) + ( ) + ( ) */ + if (src_pos == dst_pos) + continue; /* This is unrelated limitation. */ + else + return true; + } + return false; +} + +static int +internal_function +check_dst_limits_calc_pos_1 (const re_match_context_t *mctx, int boundaries, + Idx subexp_idx, Idx from_node, Idx bkref_idx) +{ + const re_dfa_t *const dfa = mctx->dfa; + const re_node_set *eclosures = dfa->eclosures + from_node; + Idx node_idx; + + /* Else, we are on the boundary: examine the nodes on the epsilon + closure. */ + for (node_idx = 0; node_idx < eclosures->nelem; ++node_idx) + { + Idx node = eclosures->elems[node_idx]; + switch (dfa->nodes[node].type) + { + case OP_BACK_REF: + if (bkref_idx != REG_MISSING) + { + struct re_backref_cache_entry *ent = mctx->bkref_ents + bkref_idx; + do + { + Idx dst; + int cpos; + + if (ent->node != node) + continue; + + if (subexp_idx < BITSET_WORD_BITS + && !(ent->eps_reachable_subexps_map + & ((bitset_word_t) 1 << subexp_idx))) + continue; + + /* Recurse trying to reach the OP_OPEN_SUBEXP and + OP_CLOSE_SUBEXP cases below. But, if the + destination node is the same node as the source + node, don't recurse because it would cause an + infinite loop: a regex that exhibits this behavior + is ()\1*\1* */ + dst = dfa->edests[node].elems[0]; + if (dst == from_node) + { + if (boundaries & 1) + return -1; + else /* if (boundaries & 2) */ + return 0; + } + + cpos = + check_dst_limits_calc_pos_1 (mctx, boundaries, subexp_idx, + dst, bkref_idx); + if (cpos == -1 /* && (boundaries & 1) */) + return -1; + if (cpos == 0 && (boundaries & 2)) + return 0; + + if (subexp_idx < BITSET_WORD_BITS) + ent->eps_reachable_subexps_map + &= ~((bitset_word_t) 1 << subexp_idx); + } + while (ent++->more); + } + break; + + case OP_OPEN_SUBEXP: + if ((boundaries & 1) && subexp_idx == dfa->nodes[node].opr.idx) + return -1; + break; + + case OP_CLOSE_SUBEXP: + if ((boundaries & 2) && subexp_idx == dfa->nodes[node].opr.idx) + return 0; + break; + + default: + break; + } + } + + return (boundaries & 2) ? 1 : 0; +} + +static int +internal_function +check_dst_limits_calc_pos (const re_match_context_t *mctx, Idx limit, + Idx subexp_idx, Idx from_node, Idx str_idx, + Idx bkref_idx) +{ + struct re_backref_cache_entry *lim = mctx->bkref_ents + limit; + int boundaries; + + /* If we are outside the range of the subexpression, return -1 or 1. */ + if (str_idx < lim->subexp_from) + return -1; + + if (lim->subexp_to < str_idx) + return 1; + + /* If we are within the subexpression, return 0. */ + boundaries = (str_idx == lim->subexp_from); + boundaries |= (str_idx == lim->subexp_to) << 1; + if (boundaries == 0) + return 0; + + /* Else, examine epsilon closure. */ + return check_dst_limits_calc_pos_1 (mctx, boundaries, subexp_idx, + from_node, bkref_idx); +} + +/* Check the limitations of sub expressions LIMITS, and remove the nodes + which are against limitations from DEST_NODES. */ + +static reg_errcode_t +internal_function +check_subexp_limits (const re_dfa_t *dfa, re_node_set *dest_nodes, + const re_node_set *candidates, re_node_set *limits, + struct re_backref_cache_entry *bkref_ents, Idx str_idx) +{ + reg_errcode_t err; + Idx node_idx, lim_idx; + + for (lim_idx = 0; lim_idx < limits->nelem; ++lim_idx) + { + Idx subexp_idx; + struct re_backref_cache_entry *ent; + ent = bkref_ents + limits->elems[lim_idx]; + + if (str_idx <= ent->subexp_from || ent->str_idx < str_idx) + continue; /* This is unrelated limitation. */ + + subexp_idx = dfa->nodes[ent->node].opr.idx; + if (ent->subexp_to == str_idx) + { + Idx ops_node = REG_MISSING; + Idx cls_node = REG_MISSING; + for (node_idx = 0; node_idx < dest_nodes->nelem; ++node_idx) + { + Idx node = dest_nodes->elems[node_idx]; + re_token_type_t type = dfa->nodes[node].type; + if (type == OP_OPEN_SUBEXP + && subexp_idx == dfa->nodes[node].opr.idx) + ops_node = node; + else if (type == OP_CLOSE_SUBEXP + && subexp_idx == dfa->nodes[node].opr.idx) + cls_node = node; + } + + /* Check the limitation of the open subexpression. */ + /* Note that (ent->subexp_to = str_idx != ent->subexp_from). */ + if (REG_VALID_INDEX (ops_node)) + { + err = sub_epsilon_src_nodes (dfa, ops_node, dest_nodes, + candidates); + if (BE (err != REG_NOERROR, 0)) + return err; + } + + /* Check the limitation of the close subexpression. */ + if (REG_VALID_INDEX (cls_node)) + for (node_idx = 0; node_idx < dest_nodes->nelem; ++node_idx) + { + Idx node = dest_nodes->elems[node_idx]; + if (!re_node_set_contains (dfa->inveclosures + node, + cls_node) + && !re_node_set_contains (dfa->eclosures + node, + cls_node)) + { + /* It is against this limitation. + Remove it form the current sifted state. */ + err = sub_epsilon_src_nodes (dfa, node, dest_nodes, + candidates); + if (BE (err != REG_NOERROR, 0)) + return err; + --node_idx; + } + } + } + else /* (ent->subexp_to != str_idx) */ + { + for (node_idx = 0; node_idx < dest_nodes->nelem; ++node_idx) + { + Idx node = dest_nodes->elems[node_idx]; + re_token_type_t type = dfa->nodes[node].type; + if (type == OP_CLOSE_SUBEXP || type == OP_OPEN_SUBEXP) + { + if (subexp_idx != dfa->nodes[node].opr.idx) + continue; + /* It is against this limitation. + Remove it form the current sifted state. */ + err = sub_epsilon_src_nodes (dfa, node, dest_nodes, + candidates); + if (BE (err != REG_NOERROR, 0)) + return err; + } + } + } + } + return REG_NOERROR; +} + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +sift_states_bkref (const re_match_context_t *mctx, re_sift_context_t *sctx, + Idx str_idx, const re_node_set *candidates) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err; + Idx node_idx, node; + re_sift_context_t local_sctx; + Idx first_idx = search_cur_bkref_entry (mctx, str_idx); + + if (first_idx == REG_MISSING) + return REG_NOERROR; + + local_sctx.sifted_states = NULL; /* Mark that it hasn't been initialized. */ + + for (node_idx = 0; node_idx < candidates->nelem; ++node_idx) + { + Idx enabled_idx; + re_token_type_t type; + struct re_backref_cache_entry *entry; + node = candidates->elems[node_idx]; + type = dfa->nodes[node].type; + /* Avoid infinite loop for the REs like "()\1+". */ + if (node == sctx->last_node && str_idx == sctx->last_str_idx) + continue; + if (type != OP_BACK_REF) + continue; + + entry = mctx->bkref_ents + first_idx; + enabled_idx = first_idx; + do + { + Idx subexp_len; + Idx to_idx; + Idx dst_node; + bool ok; + re_dfastate_t *cur_state; + + if (entry->node != node) + continue; + subexp_len = entry->subexp_to - entry->subexp_from; + to_idx = str_idx + subexp_len; + dst_node = (subexp_len ? dfa->nexts[node] + : dfa->edests[node].elems[0]); + + if (to_idx > sctx->last_str_idx + || sctx->sifted_states[to_idx] == NULL + || !STATE_NODE_CONTAINS (sctx->sifted_states[to_idx], dst_node) + || check_dst_limits (mctx, &sctx->limits, node, + str_idx, dst_node, to_idx)) + continue; + + if (local_sctx.sifted_states == NULL) + { + local_sctx = *sctx; + err = re_node_set_init_copy (&local_sctx.limits, &sctx->limits); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + } + local_sctx.last_node = node; + local_sctx.last_str_idx = str_idx; + ok = re_node_set_insert (&local_sctx.limits, enabled_idx); + if (BE (! ok, 0)) + { + err = REG_ESPACE; + goto free_return; + } + cur_state = local_sctx.sifted_states[str_idx]; + err = sift_states_backward (mctx, &local_sctx); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + if (sctx->limited_states != NULL) + { + err = merge_state_array (dfa, sctx->limited_states, + local_sctx.sifted_states, + str_idx + 1); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + } + local_sctx.sifted_states[str_idx] = cur_state; + re_node_set_remove (&local_sctx.limits, enabled_idx); + + /* mctx->bkref_ents may have changed, reload the pointer. */ + entry = mctx->bkref_ents + enabled_idx; + } + while (enabled_idx++, entry++->more); + } + err = REG_NOERROR; + free_return: + if (local_sctx.sifted_states != NULL) + { + re_node_set_free (&local_sctx.limits); + } + + return err; +} + + +#ifdef RE_ENABLE_I18N +static int +internal_function +sift_states_iter_mb (const re_match_context_t *mctx, re_sift_context_t *sctx, + Idx node_idx, Idx str_idx, Idx max_str_idx) +{ + const re_dfa_t *const dfa = mctx->dfa; + int naccepted; + /* Check the node can accept `multi byte'. */ + naccepted = check_node_accept_bytes (dfa, node_idx, &mctx->input, str_idx); + if (naccepted > 0 && str_idx + naccepted <= max_str_idx && + !STATE_NODE_CONTAINS (sctx->sifted_states[str_idx + naccepted], + dfa->nexts[node_idx])) + /* The node can't accept the `multi byte', or the + destination was already thrown away, then the node + could't accept the current input `multi byte'. */ + naccepted = 0; + /* Otherwise, it is sure that the node could accept + `naccepted' bytes input. */ + return naccepted; +} +#endif /* RE_ENABLE_I18N */ + + +/* Functions for state transition. */ + +/* Return the next state to which the current state STATE will transit by + accepting the current input byte, and update STATE_LOG if necessary. + If STATE can accept a multibyte char/collating element/back reference + update the destination of STATE_LOG. */ + +static re_dfastate_t * +internal_function __attribute_warn_unused_result__ +transit_state (reg_errcode_t *err, re_match_context_t *mctx, + re_dfastate_t *state) +{ + re_dfastate_t **trtable; + unsigned char ch; + +#ifdef RE_ENABLE_I18N + /* If the current state can accept multibyte. */ + if (BE (state->accept_mb, 0)) + { + *err = transit_state_mb (mctx, state); + if (BE (*err != REG_NOERROR, 0)) + return NULL; + } +#endif /* RE_ENABLE_I18N */ + + /* Then decide the next state with the single byte. */ +#if 0 + if (0) + /* don't use transition table */ + return transit_state_sb (err, mctx, state); +#endif + + /* Use transition table */ + ch = re_string_fetch_byte (&mctx->input); + for (;;) + { + trtable = state->trtable; + if (BE (trtable != NULL, 1)) + return trtable[ch]; + + trtable = state->word_trtable; + if (BE (trtable != NULL, 1)) + { + unsigned int context; + context + = re_string_context_at (&mctx->input, + re_string_cur_idx (&mctx->input) - 1, + mctx->eflags); + if (IS_WORD_CONTEXT (context)) + return trtable[ch + SBC_MAX]; + else + return trtable[ch]; + } + + if (!build_trtable (mctx->dfa, state)) + { + *err = REG_ESPACE; + return NULL; + } + + /* Retry, we now have a transition table. */ + } +} + +/* Update the state_log if we need */ +static re_dfastate_t * +internal_function +merge_state_with_log (reg_errcode_t *err, re_match_context_t *mctx, + re_dfastate_t *next_state) +{ + const re_dfa_t *const dfa = mctx->dfa; + Idx cur_idx = re_string_cur_idx (&mctx->input); + + if (cur_idx > mctx->state_log_top) + { + mctx->state_log[cur_idx] = next_state; + mctx->state_log_top = cur_idx; + } + else if (mctx->state_log[cur_idx] == 0) + { + mctx->state_log[cur_idx] = next_state; + } + else + { + re_dfastate_t *pstate; + unsigned int context; + re_node_set next_nodes, *log_nodes, *table_nodes = NULL; + /* If (state_log[cur_idx] != 0), it implies that cur_idx is + the destination of a multibyte char/collating element/ + back reference. Then the next state is the union set of + these destinations and the results of the transition table. */ + pstate = mctx->state_log[cur_idx]; + log_nodes = pstate->entrance_nodes; + if (next_state != NULL) + { + table_nodes = next_state->entrance_nodes; + *err = re_node_set_init_union (&next_nodes, table_nodes, + log_nodes); + if (BE (*err != REG_NOERROR, 0)) + return NULL; + } + else + next_nodes = *log_nodes; + /* Note: We already add the nodes of the initial state, + then we don't need to add them here. */ + + context = re_string_context_at (&mctx->input, + re_string_cur_idx (&mctx->input) - 1, + mctx->eflags); + next_state = mctx->state_log[cur_idx] + = re_acquire_state_context (err, dfa, &next_nodes, context); + /* We don't need to check errors here, since the return value of + this function is next_state and ERR is already set. */ + + if (table_nodes != NULL) + re_node_set_free (&next_nodes); + } + + if (BE (dfa->nbackref, 0) && next_state != NULL) + { + /* Check OP_OPEN_SUBEXP in the current state in case that we use them + later. We must check them here, since the back references in the + next state might use them. */ + *err = check_subexp_matching_top (mctx, &next_state->nodes, + cur_idx); + if (BE (*err != REG_NOERROR, 0)) + return NULL; + + /* If the next state has back references. */ + if (next_state->has_backref) + { + *err = transit_state_bkref (mctx, &next_state->nodes); + if (BE (*err != REG_NOERROR, 0)) + return NULL; + next_state = mctx->state_log[cur_idx]; + } + } + + return next_state; +} + +/* Skip bytes in the input that correspond to part of a + multi-byte match, then look in the log for a state + from which to restart matching. */ +static re_dfastate_t * +internal_function +find_recover_state (reg_errcode_t *err, re_match_context_t *mctx) +{ + re_dfastate_t *cur_state; + do + { + Idx max = mctx->state_log_top; + Idx cur_str_idx = re_string_cur_idx (&mctx->input); + + do + { + if (++cur_str_idx > max) + return NULL; + re_string_skip_bytes (&mctx->input, 1); + } + while (mctx->state_log[cur_str_idx] == NULL); + + cur_state = merge_state_with_log (err, mctx, NULL); + } + while (*err == REG_NOERROR && cur_state == NULL); + return cur_state; +} + +/* Helper functions for transit_state. */ + +/* From the node set CUR_NODES, pick up the nodes whose types are + OP_OPEN_SUBEXP and which have corresponding back references in the regular + expression. And register them to use them later for evaluating the + correspoding back references. */ + +static reg_errcode_t +internal_function +check_subexp_matching_top (re_match_context_t *mctx, re_node_set *cur_nodes, + Idx str_idx) +{ + const re_dfa_t *const dfa = mctx->dfa; + Idx node_idx; + reg_errcode_t err; + + /* TODO: This isn't efficient. + Because there might be more than one nodes whose types are + OP_OPEN_SUBEXP and whose index is SUBEXP_IDX, we must check all + nodes. + E.g. RE: (a){2} */ + for (node_idx = 0; node_idx < cur_nodes->nelem; ++node_idx) + { + Idx node = cur_nodes->elems[node_idx]; + if (dfa->nodes[node].type == OP_OPEN_SUBEXP + && dfa->nodes[node].opr.idx < BITSET_WORD_BITS + && (dfa->used_bkref_map + & ((bitset_word_t) 1 << dfa->nodes[node].opr.idx))) + { + err = match_ctx_add_subtop (mctx, node, str_idx); + if (BE (err != REG_NOERROR, 0)) + return err; + } + } + return REG_NOERROR; +} + +#if 0 +/* Return the next state to which the current state STATE will transit by + accepting the current input byte. */ + +static re_dfastate_t * +transit_state_sb (reg_errcode_t *err, re_match_context_t *mctx, + re_dfastate_t *state) +{ + const re_dfa_t *const dfa = mctx->dfa; + re_node_set next_nodes; + re_dfastate_t *next_state; + Idx node_cnt, cur_str_idx = re_string_cur_idx (&mctx->input); + unsigned int context; + + *err = re_node_set_alloc (&next_nodes, state->nodes.nelem + 1); + if (BE (*err != REG_NOERROR, 0)) + return NULL; + for (node_cnt = 0; node_cnt < state->nodes.nelem; ++node_cnt) + { + Idx cur_node = state->nodes.elems[node_cnt]; + if (check_node_accept (mctx, dfa->nodes + cur_node, cur_str_idx)) + { + *err = re_node_set_merge (&next_nodes, + dfa->eclosures + dfa->nexts[cur_node]); + if (BE (*err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return NULL; + } + } + } + context = re_string_context_at (&mctx->input, cur_str_idx, mctx->eflags); + next_state = re_acquire_state_context (err, dfa, &next_nodes, context); + /* We don't need to check errors here, since the return value of + this function is next_state and ERR is already set. */ + + re_node_set_free (&next_nodes); + re_string_skip_bytes (&mctx->input, 1); + return next_state; +} +#endif + +#ifdef RE_ENABLE_I18N +static reg_errcode_t +internal_function +transit_state_mb (re_match_context_t *mctx, re_dfastate_t *pstate) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err; + Idx i; + + for (i = 0; i < pstate->nodes.nelem; ++i) + { + re_node_set dest_nodes, *new_nodes; + Idx cur_node_idx = pstate->nodes.elems[i]; + int naccepted; + Idx dest_idx; + unsigned int context; + re_dfastate_t *dest_state; + + if (!dfa->nodes[cur_node_idx].accept_mb) + continue; + + if (dfa->nodes[cur_node_idx].constraint) + { + context = re_string_context_at (&mctx->input, + re_string_cur_idx (&mctx->input), + mctx->eflags); + if (NOT_SATISFY_NEXT_CONSTRAINT (dfa->nodes[cur_node_idx].constraint, + context)) + continue; + } + + /* How many bytes the node can accept? */ + naccepted = check_node_accept_bytes (dfa, cur_node_idx, &mctx->input, + re_string_cur_idx (&mctx->input)); + if (naccepted == 0) + continue; + + /* The node can accepts `naccepted' bytes. */ + dest_idx = re_string_cur_idx (&mctx->input) + naccepted; + mctx->max_mb_elem_len = ((mctx->max_mb_elem_len < naccepted) ? naccepted + : mctx->max_mb_elem_len); + err = clean_state_log_if_needed (mctx, dest_idx); + if (BE (err != REG_NOERROR, 0)) + return err; +#ifdef DEBUG + assert (dfa->nexts[cur_node_idx] != REG_MISSING); +#endif + new_nodes = dfa->eclosures + dfa->nexts[cur_node_idx]; + + dest_state = mctx->state_log[dest_idx]; + if (dest_state == NULL) + dest_nodes = *new_nodes; + else + { + err = re_node_set_init_union (&dest_nodes, + dest_state->entrance_nodes, new_nodes); + if (BE (err != REG_NOERROR, 0)) + return err; + } + context = re_string_context_at (&mctx->input, dest_idx - 1, + mctx->eflags); + mctx->state_log[dest_idx] + = re_acquire_state_context (&err, dfa, &dest_nodes, context); + if (dest_state != NULL) + re_node_set_free (&dest_nodes); + if (BE (mctx->state_log[dest_idx] == NULL && err != REG_NOERROR, 0)) + return err; + } + return REG_NOERROR; +} +#endif /* RE_ENABLE_I18N */ + +static reg_errcode_t +internal_function +transit_state_bkref (re_match_context_t *mctx, const re_node_set *nodes) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err; + Idx i; + Idx cur_str_idx = re_string_cur_idx (&mctx->input); + + for (i = 0; i < nodes->nelem; ++i) + { + Idx dest_str_idx, prev_nelem, bkc_idx; + Idx node_idx = nodes->elems[i]; + unsigned int context; + const re_token_t *node = dfa->nodes + node_idx; + re_node_set *new_dest_nodes; + + /* Check whether `node' is a backreference or not. */ + if (node->type != OP_BACK_REF) + continue; + + if (node->constraint) + { + context = re_string_context_at (&mctx->input, cur_str_idx, + mctx->eflags); + if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) + continue; + } + + /* `node' is a backreference. + Check the substring which the substring matched. */ + bkc_idx = mctx->nbkref_ents; + err = get_subexp (mctx, node_idx, cur_str_idx); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + + /* And add the epsilon closures (which is `new_dest_nodes') of + the backreference to appropriate state_log. */ +#ifdef DEBUG + assert (dfa->nexts[node_idx] != REG_MISSING); +#endif + for (; bkc_idx < mctx->nbkref_ents; ++bkc_idx) + { + Idx subexp_len; + re_dfastate_t *dest_state; + struct re_backref_cache_entry *bkref_ent; + bkref_ent = mctx->bkref_ents + bkc_idx; + if (bkref_ent->node != node_idx || bkref_ent->str_idx != cur_str_idx) + continue; + subexp_len = bkref_ent->subexp_to - bkref_ent->subexp_from; + new_dest_nodes = (subexp_len == 0 + ? dfa->eclosures + dfa->edests[node_idx].elems[0] + : dfa->eclosures + dfa->nexts[node_idx]); + dest_str_idx = (cur_str_idx + bkref_ent->subexp_to + - bkref_ent->subexp_from); + context = re_string_context_at (&mctx->input, dest_str_idx - 1, + mctx->eflags); + dest_state = mctx->state_log[dest_str_idx]; + prev_nelem = ((mctx->state_log[cur_str_idx] == NULL) ? 0 + : mctx->state_log[cur_str_idx]->nodes.nelem); + /* Add `new_dest_node' to state_log. */ + if (dest_state == NULL) + { + mctx->state_log[dest_str_idx] + = re_acquire_state_context (&err, dfa, new_dest_nodes, + context); + if (BE (mctx->state_log[dest_str_idx] == NULL + && err != REG_NOERROR, 0)) + goto free_return; + } + else + { + re_node_set dest_nodes; + err = re_node_set_init_union (&dest_nodes, + dest_state->entrance_nodes, + new_dest_nodes); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&dest_nodes); + goto free_return; + } + mctx->state_log[dest_str_idx] + = re_acquire_state_context (&err, dfa, &dest_nodes, context); + re_node_set_free (&dest_nodes); + if (BE (mctx->state_log[dest_str_idx] == NULL + && err != REG_NOERROR, 0)) + goto free_return; + } + /* We need to check recursively if the backreference can epsilon + transit. */ + if (subexp_len == 0 + && mctx->state_log[cur_str_idx]->nodes.nelem > prev_nelem) + { + err = check_subexp_matching_top (mctx, new_dest_nodes, + cur_str_idx); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + err = transit_state_bkref (mctx, new_dest_nodes); + if (BE (err != REG_NOERROR, 0)) + goto free_return; + } + } + } + err = REG_NOERROR; + free_return: + return err; +} + +/* Enumerate all the candidates which the backreference BKREF_NODE can match + at BKREF_STR_IDX, and register them by match_ctx_add_entry(). + Note that we might collect inappropriate candidates here. + However, the cost of checking them strictly here is too high, then we + delay these checking for prune_impossible_nodes(). */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +get_subexp (re_match_context_t *mctx, Idx bkref_node, Idx bkref_str_idx) +{ + const re_dfa_t *const dfa = mctx->dfa; + Idx subexp_num, sub_top_idx; + const char *buf = (const char *) re_string_get_buffer (&mctx->input); + /* Return if we have already checked BKREF_NODE at BKREF_STR_IDX. */ + Idx cache_idx = search_cur_bkref_entry (mctx, bkref_str_idx); + if (cache_idx != REG_MISSING) + { + const struct re_backref_cache_entry *entry + = mctx->bkref_ents + cache_idx; + do + if (entry->node == bkref_node) + return REG_NOERROR; /* We already checked it. */ + while (entry++->more); + } + + subexp_num = dfa->nodes[bkref_node].opr.idx; + + /* For each sub expression */ + for (sub_top_idx = 0; sub_top_idx < mctx->nsub_tops; ++sub_top_idx) + { + reg_errcode_t err; + re_sub_match_top_t *sub_top = mctx->sub_tops[sub_top_idx]; + re_sub_match_last_t *sub_last; + Idx sub_last_idx, sl_str, bkref_str_off; + + if (dfa->nodes[sub_top->node].opr.idx != subexp_num) + continue; /* It isn't related. */ + + sl_str = sub_top->str_idx; + bkref_str_off = bkref_str_idx; + /* At first, check the last node of sub expressions we already + evaluated. */ + for (sub_last_idx = 0; sub_last_idx < sub_top->nlasts; ++sub_last_idx) + { + regoff_t sl_str_diff; + sub_last = sub_top->lasts[sub_last_idx]; + sl_str_diff = sub_last->str_idx - sl_str; + /* The matched string by the sub expression match with the substring + at the back reference? */ + if (sl_str_diff > 0) + { + if (BE (bkref_str_off + sl_str_diff > mctx->input.valid_len, 0)) + { + /* Not enough chars for a successful match. */ + if (bkref_str_off + sl_str_diff > mctx->input.len) + break; + + err = clean_state_log_if_needed (mctx, + bkref_str_off + + sl_str_diff); + if (BE (err != REG_NOERROR, 0)) + return err; + buf = (const char *) re_string_get_buffer (&mctx->input); + } + if (memcmp (buf + bkref_str_off, buf + sl_str, sl_str_diff) != 0) + /* We don't need to search this sub expression any more. */ + break; + } + bkref_str_off += sl_str_diff; + sl_str += sl_str_diff; + err = get_subexp_sub (mctx, sub_top, sub_last, bkref_node, + bkref_str_idx); + + /* Reload buf, since the preceding call might have reallocated + the buffer. */ + buf = (const char *) re_string_get_buffer (&mctx->input); + + if (err == REG_NOMATCH) + continue; + if (BE (err != REG_NOERROR, 0)) + return err; + } + + if (sub_last_idx < sub_top->nlasts) + continue; + if (sub_last_idx > 0) + ++sl_str; + /* Then, search for the other last nodes of the sub expression. */ + for (; sl_str <= bkref_str_idx; ++sl_str) + { + Idx cls_node; + regoff_t sl_str_off; + const re_node_set *nodes; + sl_str_off = sl_str - sub_top->str_idx; + /* The matched string by the sub expression match with the substring + at the back reference? */ + if (sl_str_off > 0) + { + if (BE (bkref_str_off >= mctx->input.valid_len, 0)) + { + /* If we are at the end of the input, we cannot match. */ + if (bkref_str_off >= mctx->input.len) + break; + + err = extend_buffers (mctx); + if (BE (err != REG_NOERROR, 0)) + return err; + + buf = (const char *) re_string_get_buffer (&mctx->input); + } + if (buf [bkref_str_off++] != buf[sl_str - 1]) + break; /* We don't need to search this sub expression + any more. */ + } + if (mctx->state_log[sl_str] == NULL) + continue; + /* Does this state have a ')' of the sub expression? */ + nodes = &mctx->state_log[sl_str]->nodes; + cls_node = find_subexp_node (dfa, nodes, subexp_num, + OP_CLOSE_SUBEXP); + if (cls_node == REG_MISSING) + continue; /* No. */ + if (sub_top->path == NULL) + { + sub_top->path = calloc (sizeof (state_array_t), + sl_str - sub_top->str_idx + 1); + if (sub_top->path == NULL) + return REG_ESPACE; + } + /* Can the OP_OPEN_SUBEXP node arrive the OP_CLOSE_SUBEXP node + in the current context? */ + err = check_arrival (mctx, sub_top->path, sub_top->node, + sub_top->str_idx, cls_node, sl_str, + OP_CLOSE_SUBEXP); + if (err == REG_NOMATCH) + continue; + if (BE (err != REG_NOERROR, 0)) + return err; + sub_last = match_ctx_add_sublast (sub_top, cls_node, sl_str); + if (BE (sub_last == NULL, 0)) + return REG_ESPACE; + err = get_subexp_sub (mctx, sub_top, sub_last, bkref_node, + bkref_str_idx); + if (err == REG_NOMATCH) + continue; + } + } + return REG_NOERROR; +} + +/* Helper functions for get_subexp(). */ + +/* Check SUB_LAST can arrive to the back reference BKREF_NODE at BKREF_STR. + If it can arrive, register the sub expression expressed with SUB_TOP + and SUB_LAST. */ + +static reg_errcode_t +internal_function +get_subexp_sub (re_match_context_t *mctx, const re_sub_match_top_t *sub_top, + re_sub_match_last_t *sub_last, Idx bkref_node, Idx bkref_str) +{ + reg_errcode_t err; + Idx to_idx; + /* Can the subexpression arrive the back reference? */ + err = check_arrival (mctx, &sub_last->path, sub_last->node, + sub_last->str_idx, bkref_node, bkref_str, + OP_OPEN_SUBEXP); + if (err != REG_NOERROR) + return err; + err = match_ctx_add_entry (mctx, bkref_node, bkref_str, sub_top->str_idx, + sub_last->str_idx); + if (BE (err != REG_NOERROR, 0)) + return err; + to_idx = bkref_str + sub_last->str_idx - sub_top->str_idx; + return clean_state_log_if_needed (mctx, to_idx); +} + +/* Find the first node which is '(' or ')' and whose index is SUBEXP_IDX. + Search '(' if FL_OPEN, or search ')' otherwise. + TODO: This function isn't efficient... + Because there might be more than one nodes whose types are + OP_OPEN_SUBEXP and whose index is SUBEXP_IDX, we must check all + nodes. + E.g. RE: (a){2} */ + +static Idx +internal_function +find_subexp_node (const re_dfa_t *dfa, const re_node_set *nodes, + Idx subexp_idx, int type) +{ + Idx cls_idx; + for (cls_idx = 0; cls_idx < nodes->nelem; ++cls_idx) + { + Idx cls_node = nodes->elems[cls_idx]; + const re_token_t *node = dfa->nodes + cls_node; + if (node->type == type + && node->opr.idx == subexp_idx) + return cls_node; + } + return REG_MISSING; +} + +/* Check whether the node TOP_NODE at TOP_STR can arrive to the node + LAST_NODE at LAST_STR. We record the path onto PATH since it will be + heavily reused. + Return REG_NOERROR if it can arrive, or REG_NOMATCH otherwise. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +check_arrival (re_match_context_t *mctx, state_array_t *path, Idx top_node, + Idx top_str, Idx last_node, Idx last_str, int type) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err = REG_NOERROR; + Idx subexp_num, backup_cur_idx, str_idx, null_cnt; + re_dfastate_t *cur_state = NULL; + re_node_set *cur_nodes, next_nodes; + re_dfastate_t **backup_state_log; + unsigned int context; + + subexp_num = dfa->nodes[top_node].opr.idx; + /* Extend the buffer if we need. */ + if (BE (path->alloc < last_str + mctx->max_mb_elem_len + 1, 0)) + { + re_dfastate_t **new_array; + Idx old_alloc = path->alloc; + Idx new_alloc = old_alloc + last_str + mctx->max_mb_elem_len + 1; + if (BE (new_alloc < old_alloc, 0) + || BE (SIZE_MAX / sizeof (re_dfastate_t *) < new_alloc, 0)) + return REG_ESPACE; + new_array = re_realloc (path->array, re_dfastate_t *, new_alloc); + if (BE (new_array == NULL, 0)) + return REG_ESPACE; + path->array = new_array; + path->alloc = new_alloc; + memset (new_array + old_alloc, '\0', + sizeof (re_dfastate_t *) * (path->alloc - old_alloc)); + } + + str_idx = path->next_idx ? path->next_idx : top_str; + + /* Temporary modify MCTX. */ + backup_state_log = mctx->state_log; + backup_cur_idx = mctx->input.cur_idx; + mctx->state_log = path->array; + mctx->input.cur_idx = str_idx; + + /* Setup initial node set. */ + context = re_string_context_at (&mctx->input, str_idx - 1, mctx->eflags); + if (str_idx == top_str) + { + err = re_node_set_init_1 (&next_nodes, top_node); + if (BE (err != REG_NOERROR, 0)) + return err; + err = check_arrival_expand_ecl (dfa, &next_nodes, subexp_num, type); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + } + else + { + cur_state = mctx->state_log[str_idx]; + if (cur_state && cur_state->has_backref) + { + err = re_node_set_init_copy (&next_nodes, &cur_state->nodes); + if (BE (err != REG_NOERROR, 0)) + return err; + } + else + re_node_set_init_empty (&next_nodes); + } + if (str_idx == top_str || (cur_state && cur_state->has_backref)) + { + if (next_nodes.nelem) + { + err = expand_bkref_cache (mctx, &next_nodes, str_idx, + subexp_num, type); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + } + cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context); + if (BE (cur_state == NULL && err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + mctx->state_log[str_idx] = cur_state; + } + + for (null_cnt = 0; str_idx < last_str && null_cnt <= mctx->max_mb_elem_len;) + { + re_node_set_empty (&next_nodes); + if (mctx->state_log[str_idx + 1]) + { + err = re_node_set_merge (&next_nodes, + &mctx->state_log[str_idx + 1]->nodes); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + } + if (cur_state) + { + err = check_arrival_add_next_nodes (mctx, str_idx, + &cur_state->non_eps_nodes, + &next_nodes); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + } + ++str_idx; + if (next_nodes.nelem) + { + err = check_arrival_expand_ecl (dfa, &next_nodes, subexp_num, type); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + err = expand_bkref_cache (mctx, &next_nodes, str_idx, + subexp_num, type); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + } + context = re_string_context_at (&mctx->input, str_idx - 1, mctx->eflags); + cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context); + if (BE (cur_state == NULL && err != REG_NOERROR, 0)) + { + re_node_set_free (&next_nodes); + return err; + } + mctx->state_log[str_idx] = cur_state; + null_cnt = cur_state == NULL ? null_cnt + 1 : 0; + } + re_node_set_free (&next_nodes); + cur_nodes = (mctx->state_log[last_str] == NULL ? NULL + : &mctx->state_log[last_str]->nodes); + path->next_idx = str_idx; + + /* Fix MCTX. */ + mctx->state_log = backup_state_log; + mctx->input.cur_idx = backup_cur_idx; + + /* Then check the current node set has the node LAST_NODE. */ + if (cur_nodes != NULL && re_node_set_contains (cur_nodes, last_node)) + return REG_NOERROR; + + return REG_NOMATCH; +} + +/* Helper functions for check_arrival. */ + +/* Calculate the destination nodes of CUR_NODES at STR_IDX, and append them + to NEXT_NODES. + TODO: This function is similar to the functions transit_state*(), + however this function has many additional works. + Can't we unify them? */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +check_arrival_add_next_nodes (re_match_context_t *mctx, Idx str_idx, + re_node_set *cur_nodes, re_node_set *next_nodes) +{ + const re_dfa_t *const dfa = mctx->dfa; + bool ok; + Idx cur_idx; +#ifdef RE_ENABLE_I18N + reg_errcode_t err = REG_NOERROR; +#endif + re_node_set union_set; + re_node_set_init_empty (&union_set); + for (cur_idx = 0; cur_idx < cur_nodes->nelem; ++cur_idx) + { + int naccepted = 0; + Idx cur_node = cur_nodes->elems[cur_idx]; +#ifdef DEBUG + re_token_type_t type = dfa->nodes[cur_node].type; + assert (!IS_EPSILON_NODE (type)); +#endif +#ifdef RE_ENABLE_I18N + /* If the node may accept `multi byte'. */ + if (dfa->nodes[cur_node].accept_mb) + { + naccepted = check_node_accept_bytes (dfa, cur_node, &mctx->input, + str_idx); + if (naccepted > 1) + { + re_dfastate_t *dest_state; + Idx next_node = dfa->nexts[cur_node]; + Idx next_idx = str_idx + naccepted; + dest_state = mctx->state_log[next_idx]; + re_node_set_empty (&union_set); + if (dest_state) + { + err = re_node_set_merge (&union_set, &dest_state->nodes); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&union_set); + return err; + } + } + ok = re_node_set_insert (&union_set, next_node); + if (BE (! ok, 0)) + { + re_node_set_free (&union_set); + return REG_ESPACE; + } + mctx->state_log[next_idx] = re_acquire_state (&err, dfa, + &union_set); + if (BE (mctx->state_log[next_idx] == NULL + && err != REG_NOERROR, 0)) + { + re_node_set_free (&union_set); + return err; + } + } + } +#endif /* RE_ENABLE_I18N */ + if (naccepted + || check_node_accept (mctx, dfa->nodes + cur_node, str_idx)) + { + ok = re_node_set_insert (next_nodes, dfa->nexts[cur_node]); + if (BE (! ok, 0)) + { + re_node_set_free (&union_set); + return REG_ESPACE; + } + } + } + re_node_set_free (&union_set); + return REG_NOERROR; +} + +/* For all the nodes in CUR_NODES, add the epsilon closures of them to + CUR_NODES, however exclude the nodes which are: + - inside the sub expression whose number is EX_SUBEXP, if FL_OPEN. + - out of the sub expression whose number is EX_SUBEXP, if !FL_OPEN. +*/ + +static reg_errcode_t +internal_function +check_arrival_expand_ecl (const re_dfa_t *dfa, re_node_set *cur_nodes, + Idx ex_subexp, int type) +{ + reg_errcode_t err; + Idx idx, outside_node; + re_node_set new_nodes; +#ifdef DEBUG + assert (cur_nodes->nelem); +#endif + err = re_node_set_alloc (&new_nodes, cur_nodes->nelem); + if (BE (err != REG_NOERROR, 0)) + return err; + /* Create a new node set NEW_NODES with the nodes which are epsilon + closures of the node in CUR_NODES. */ + + for (idx = 0; idx < cur_nodes->nelem; ++idx) + { + Idx cur_node = cur_nodes->elems[idx]; + const re_node_set *eclosure = dfa->eclosures + cur_node; + outside_node = find_subexp_node (dfa, eclosure, ex_subexp, type); + if (outside_node == REG_MISSING) + { + /* There are no problematic nodes, just merge them. */ + err = re_node_set_merge (&new_nodes, eclosure); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&new_nodes); + return err; + } + } + else + { + /* There are problematic nodes, re-calculate incrementally. */ + err = check_arrival_expand_ecl_sub (dfa, &new_nodes, cur_node, + ex_subexp, type); + if (BE (err != REG_NOERROR, 0)) + { + re_node_set_free (&new_nodes); + return err; + } + } + } + re_node_set_free (cur_nodes); + *cur_nodes = new_nodes; + return REG_NOERROR; +} + +/* Helper function for check_arrival_expand_ecl. + Check incrementally the epsilon closure of TARGET, and if it isn't + problematic append it to DST_NODES. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +check_arrival_expand_ecl_sub (const re_dfa_t *dfa, re_node_set *dst_nodes, + Idx target, Idx ex_subexp, int type) +{ + Idx cur_node; + for (cur_node = target; !re_node_set_contains (dst_nodes, cur_node);) + { + bool ok; + + if (dfa->nodes[cur_node].type == type + && dfa->nodes[cur_node].opr.idx == ex_subexp) + { + if (type == OP_CLOSE_SUBEXP) + { + ok = re_node_set_insert (dst_nodes, cur_node); + if (BE (! ok, 0)) + return REG_ESPACE; + } + break; + } + ok = re_node_set_insert (dst_nodes, cur_node); + if (BE (! ok, 0)) + return REG_ESPACE; + if (dfa->edests[cur_node].nelem == 0) + break; + if (dfa->edests[cur_node].nelem == 2) + { + reg_errcode_t err; + err = check_arrival_expand_ecl_sub (dfa, dst_nodes, + dfa->edests[cur_node].elems[1], + ex_subexp, type); + if (BE (err != REG_NOERROR, 0)) + return err; + } + cur_node = dfa->edests[cur_node].elems[0]; + } + return REG_NOERROR; +} + + +/* For all the back references in the current state, calculate the + destination of the back references by the appropriate entry + in MCTX->BKREF_ENTS. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +expand_bkref_cache (re_match_context_t *mctx, re_node_set *cur_nodes, + Idx cur_str, Idx subexp_num, int type) +{ + const re_dfa_t *const dfa = mctx->dfa; + reg_errcode_t err; + Idx cache_idx_start = search_cur_bkref_entry (mctx, cur_str); + struct re_backref_cache_entry *ent; + + if (cache_idx_start == REG_MISSING) + return REG_NOERROR; + + restart: + ent = mctx->bkref_ents + cache_idx_start; + do + { + Idx to_idx, next_node; + + /* Is this entry ENT is appropriate? */ + if (!re_node_set_contains (cur_nodes, ent->node)) + continue; /* No. */ + + to_idx = cur_str + ent->subexp_to - ent->subexp_from; + /* Calculate the destination of the back reference, and append it + to MCTX->STATE_LOG. */ + if (to_idx == cur_str) + { + /* The backreference did epsilon transit, we must re-check all the + node in the current state. */ + re_node_set new_dests; + reg_errcode_t err2, err3; + next_node = dfa->edests[ent->node].elems[0]; + if (re_node_set_contains (cur_nodes, next_node)) + continue; + err = re_node_set_init_1 (&new_dests, next_node); + err2 = check_arrival_expand_ecl (dfa, &new_dests, subexp_num, type); + err3 = re_node_set_merge (cur_nodes, &new_dests); + re_node_set_free (&new_dests); + if (BE (err != REG_NOERROR || err2 != REG_NOERROR + || err3 != REG_NOERROR, 0)) + { + err = (err != REG_NOERROR ? err + : (err2 != REG_NOERROR ? err2 : err3)); + return err; + } + /* TODO: It is still inefficient... */ + goto restart; + } + else + { + re_node_set union_set; + next_node = dfa->nexts[ent->node]; + if (mctx->state_log[to_idx]) + { + bool ok; + if (re_node_set_contains (&mctx->state_log[to_idx]->nodes, + next_node)) + continue; + err = re_node_set_init_copy (&union_set, + &mctx->state_log[to_idx]->nodes); + ok = re_node_set_insert (&union_set, next_node); + if (BE (err != REG_NOERROR || ! ok, 0)) + { + re_node_set_free (&union_set); + err = err != REG_NOERROR ? err : REG_ESPACE; + return err; + } + } + else + { + err = re_node_set_init_1 (&union_set, next_node); + if (BE (err != REG_NOERROR, 0)) + return err; + } + mctx->state_log[to_idx] = re_acquire_state (&err, dfa, &union_set); + re_node_set_free (&union_set); + if (BE (mctx->state_log[to_idx] == NULL + && err != REG_NOERROR, 0)) + return err; + } + } + while (ent++->more); + return REG_NOERROR; +} + +/* Build transition table for the state. + Return true if successful. */ + +static bool +internal_function +build_trtable (const re_dfa_t *dfa, re_dfastate_t *state) +{ + reg_errcode_t err; + Idx i, j; + int ch; + bool need_word_trtable = false; + bitset_word_t elem, mask; + bool dests_node_malloced = false; + bool dest_states_malloced = false; + Idx ndests; /* Number of the destination states from `state'. */ + re_dfastate_t **trtable; + re_dfastate_t **dest_states = NULL, **dest_states_word, **dest_states_nl; + re_node_set follows, *dests_node; + bitset_t *dests_ch; + bitset_t acceptable; + + struct dests_alloc + { + re_node_set dests_node[SBC_MAX]; + bitset_t dests_ch[SBC_MAX]; + } *dests_alloc; + + /* We build DFA states which corresponds to the destination nodes + from `state'. `dests_node[i]' represents the nodes which i-th + destination state contains, and `dests_ch[i]' represents the + characters which i-th destination state accepts. */ + if (__libc_use_alloca (sizeof (struct dests_alloc))) + dests_alloc = (struct dests_alloc *) alloca (sizeof (struct dests_alloc)); + else + { + dests_alloc = re_malloc (struct dests_alloc, 1); + if (BE (dests_alloc == NULL, 0)) + return false; + dests_node_malloced = true; + } + dests_node = dests_alloc->dests_node; + dests_ch = dests_alloc->dests_ch; + + /* Initialize transiton table. */ + state->word_trtable = state->trtable = NULL; + + /* At first, group all nodes belonging to `state' into several + destinations. */ + ndests = group_nodes_into_DFAstates (dfa, state, dests_node, dests_ch); + if (BE (! REG_VALID_NONZERO_INDEX (ndests), 0)) + { + if (dests_node_malloced) + free (dests_alloc); + if (ndests == 0) + { + state->trtable = (re_dfastate_t **) + calloc (sizeof (re_dfastate_t *), SBC_MAX); + return true; + } + return false; + } + + err = re_node_set_alloc (&follows, ndests + 1); + if (BE (err != REG_NOERROR, 0)) + goto out_free; + + /* Avoid arithmetic overflow in size calculation. */ + if (BE ((((SIZE_MAX - (sizeof (re_node_set) + sizeof (bitset_t)) * SBC_MAX) + / (3 * sizeof (re_dfastate_t *))) + < ndests), + 0)) + goto out_free; + + if (__libc_use_alloca ((sizeof (re_node_set) + sizeof (bitset_t)) * SBC_MAX + + ndests * 3 * sizeof (re_dfastate_t *))) + dest_states = (re_dfastate_t **) + alloca (ndests * 3 * sizeof (re_dfastate_t *)); + else + { + dest_states = (re_dfastate_t **) + malloc (ndests * 3 * sizeof (re_dfastate_t *)); + if (BE (dest_states == NULL, 0)) + { +out_free: + if (dest_states_malloced) + free (dest_states); + re_node_set_free (&follows); + for (i = 0; i < ndests; ++i) + re_node_set_free (dests_node + i); + if (dests_node_malloced) + free (dests_alloc); + return false; + } + dest_states_malloced = true; + } + dest_states_word = dest_states + ndests; + dest_states_nl = dest_states_word + ndests; + bitset_empty (acceptable); + + /* Then build the states for all destinations. */ + for (i = 0; i < ndests; ++i) + { + Idx next_node; + re_node_set_empty (&follows); + /* Merge the follows of this destination states. */ + for (j = 0; j < dests_node[i].nelem; ++j) + { + next_node = dfa->nexts[dests_node[i].elems[j]]; + if (next_node != REG_MISSING) + { + err = re_node_set_merge (&follows, dfa->eclosures + next_node); + if (BE (err != REG_NOERROR, 0)) + goto out_free; + } + } + dest_states[i] = re_acquire_state_context (&err, dfa, &follows, 0); + if (BE (dest_states[i] == NULL && err != REG_NOERROR, 0)) + goto out_free; + /* If the new state has context constraint, + build appropriate states for these contexts. */ + if (dest_states[i]->has_constraint) + { + dest_states_word[i] = re_acquire_state_context (&err, dfa, &follows, + CONTEXT_WORD); + if (BE (dest_states_word[i] == NULL && err != REG_NOERROR, 0)) + goto out_free; + + if (dest_states[i] != dest_states_word[i] && dfa->mb_cur_max > 1) + need_word_trtable = true; + + dest_states_nl[i] = re_acquire_state_context (&err, dfa, &follows, + CONTEXT_NEWLINE); + if (BE (dest_states_nl[i] == NULL && err != REG_NOERROR, 0)) + goto out_free; + } + else + { + dest_states_word[i] = dest_states[i]; + dest_states_nl[i] = dest_states[i]; + } + bitset_merge (acceptable, dests_ch[i]); + } + + if (!BE (need_word_trtable, 0)) + { + /* We don't care about whether the following character is a word + character, or we are in a single-byte character set so we can + discern by looking at the character code: allocate a + 256-entry transition table. */ + trtable = state->trtable = + (re_dfastate_t **) calloc (sizeof (re_dfastate_t *), SBC_MAX); + if (BE (trtable == NULL, 0)) + goto out_free; + + /* For all characters ch...: */ + for (i = 0; i < BITSET_WORDS; ++i) + for (ch = i * BITSET_WORD_BITS, elem = acceptable[i], mask = 1; + elem; + mask <<= 1, elem >>= 1, ++ch) + if (BE (elem & 1, 0)) + { + /* There must be exactly one destination which accepts + character ch. See group_nodes_into_DFAstates. */ + for (j = 0; (dests_ch[j][i] & mask) == 0; ++j) + ; + + /* j-th destination accepts the word character ch. */ + if (dfa->word_char[i] & mask) + trtable[ch] = dest_states_word[j]; + else + trtable[ch] = dest_states[j]; + } + } + else + { + /* We care about whether the following character is a word + character, and we are in a multi-byte character set: discern + by looking at the character code: build two 256-entry + transition tables, one starting at trtable[0] and one + starting at trtable[SBC_MAX]. */ + trtable = state->word_trtable = + (re_dfastate_t **) calloc (sizeof (re_dfastate_t *), 2 * SBC_MAX); + if (BE (trtable == NULL, 0)) + goto out_free; + + /* For all characters ch...: */ + for (i = 0; i < BITSET_WORDS; ++i) + for (ch = i * BITSET_WORD_BITS, elem = acceptable[i], mask = 1; + elem; + mask <<= 1, elem >>= 1, ++ch) + if (BE (elem & 1, 0)) + { + /* There must be exactly one destination which accepts + character ch. See group_nodes_into_DFAstates. */ + for (j = 0; (dests_ch[j][i] & mask) == 0; ++j) + ; + + /* j-th destination accepts the word character ch. */ + trtable[ch] = dest_states[j]; + trtable[ch + SBC_MAX] = dest_states_word[j]; + } + } + + /* new line */ + if (bitset_contain (acceptable, NEWLINE_CHAR)) + { + /* The current state accepts newline character. */ + for (j = 0; j < ndests; ++j) + if (bitset_contain (dests_ch[j], NEWLINE_CHAR)) + { + /* k-th destination accepts newline character. */ + trtable[NEWLINE_CHAR] = dest_states_nl[j]; + if (need_word_trtable) + trtable[NEWLINE_CHAR + SBC_MAX] = dest_states_nl[j]; + /* There must be only one destination which accepts + newline. See group_nodes_into_DFAstates. */ + break; + } + } + + if (dest_states_malloced) + free (dest_states); + + re_node_set_free (&follows); + for (i = 0; i < ndests; ++i) + re_node_set_free (dests_node + i); + + if (dests_node_malloced) + free (dests_alloc); + + return true; +} + +/* Group all nodes belonging to STATE into several destinations. + Then for all destinations, set the nodes belonging to the destination + to DESTS_NODE[i] and set the characters accepted by the destination + to DEST_CH[i]. This function return the number of destinations. */ + +static Idx +internal_function +group_nodes_into_DFAstates (const re_dfa_t *dfa, const re_dfastate_t *state, + re_node_set *dests_node, bitset_t *dests_ch) +{ + reg_errcode_t err; + bool ok; + Idx i, j, k; + Idx ndests; /* Number of the destinations from `state'. */ + bitset_t accepts; /* Characters a node can accept. */ + const re_node_set *cur_nodes = &state->nodes; + bitset_empty (accepts); + ndests = 0; + + /* For all the nodes belonging to `state', */ + for (i = 0; i < cur_nodes->nelem; ++i) + { + re_token_t *node = &dfa->nodes[cur_nodes->elems[i]]; + re_token_type_t type = node->type; + unsigned int constraint = node->constraint; + + /* Enumerate all single byte character this node can accept. */ + if (type == CHARACTER) + bitset_set (accepts, node->opr.c); + else if (type == SIMPLE_BRACKET) + { + bitset_merge (accepts, node->opr.sbcset); + } + else if (type == OP_PERIOD) + { +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + bitset_merge (accepts, dfa->sb_char); + else +#endif + bitset_set_all (accepts); + if (!(dfa->syntax & RE_DOT_NEWLINE)) + bitset_clear (accepts, '\n'); + if (dfa->syntax & RE_DOT_NOT_NULL) + bitset_clear (accepts, '\0'); + } +#ifdef RE_ENABLE_I18N + else if (type == OP_UTF8_PERIOD) + { + if (ASCII_CHARS % BITSET_WORD_BITS == 0) + memset (accepts, -1, ASCII_CHARS / CHAR_BIT); + else + bitset_merge (accepts, utf8_sb_map); + if (!(dfa->syntax & RE_DOT_NEWLINE)) + bitset_clear (accepts, '\n'); + if (dfa->syntax & RE_DOT_NOT_NULL) + bitset_clear (accepts, '\0'); + } +#endif + else + continue; + + /* Check the `accepts' and sift the characters which are not + match it the context. */ + if (constraint) + { + if (constraint & NEXT_NEWLINE_CONSTRAINT) + { + bool accepts_newline = bitset_contain (accepts, NEWLINE_CHAR); + bitset_empty (accepts); + if (accepts_newline) + bitset_set (accepts, NEWLINE_CHAR); + else + continue; + } + if (constraint & NEXT_ENDBUF_CONSTRAINT) + { + bitset_empty (accepts); + continue; + } + + if (constraint & NEXT_WORD_CONSTRAINT) + { + bitset_word_t any_set = 0; + if (type == CHARACTER && !node->word_char) + { + bitset_empty (accepts); + continue; + } +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + for (j = 0; j < BITSET_WORDS; ++j) + any_set |= (accepts[j] &= (dfa->word_char[j] | ~dfa->sb_char[j])); + else +#endif + for (j = 0; j < BITSET_WORDS; ++j) + any_set |= (accepts[j] &= dfa->word_char[j]); + if (!any_set) + continue; + } + if (constraint & NEXT_NOTWORD_CONSTRAINT) + { + bitset_word_t any_set = 0; + if (type == CHARACTER && node->word_char) + { + bitset_empty (accepts); + continue; + } +#ifdef RE_ENABLE_I18N + if (dfa->mb_cur_max > 1) + for (j = 0; j < BITSET_WORDS; ++j) + any_set |= (accepts[j] &= ~(dfa->word_char[j] & dfa->sb_char[j])); + else +#endif + for (j = 0; j < BITSET_WORDS; ++j) + any_set |= (accepts[j] &= ~dfa->word_char[j]); + if (!any_set) + continue; + } + } + + /* Then divide `accepts' into DFA states, or create a new + state. Above, we make sure that accepts is not empty. */ + for (j = 0; j < ndests; ++j) + { + bitset_t intersec; /* Intersection sets, see below. */ + bitset_t remains; + /* Flags, see below. */ + bitset_word_t has_intersec, not_subset, not_consumed; + + /* Optimization, skip if this state doesn't accept the character. */ + if (type == CHARACTER && !bitset_contain (dests_ch[j], node->opr.c)) + continue; + + /* Enumerate the intersection set of this state and `accepts'. */ + has_intersec = 0; + for (k = 0; k < BITSET_WORDS; ++k) + has_intersec |= intersec[k] = accepts[k] & dests_ch[j][k]; + /* And skip if the intersection set is empty. */ + if (!has_intersec) + continue; + + /* Then check if this state is a subset of `accepts'. */ + not_subset = not_consumed = 0; + for (k = 0; k < BITSET_WORDS; ++k) + { + not_subset |= remains[k] = ~accepts[k] & dests_ch[j][k]; + not_consumed |= accepts[k] = accepts[k] & ~dests_ch[j][k]; + } + + /* If this state isn't a subset of `accepts', create a + new group state, which has the `remains'. */ + if (not_subset) + { + bitset_copy (dests_ch[ndests], remains); + bitset_copy (dests_ch[j], intersec); + err = re_node_set_init_copy (dests_node + ndests, &dests_node[j]); + if (BE (err != REG_NOERROR, 0)) + goto error_return; + ++ndests; + } + + /* Put the position in the current group. */ + ok = re_node_set_insert (&dests_node[j], cur_nodes->elems[i]); + if (BE (! ok, 0)) + goto error_return; + + /* If all characters are consumed, go to next node. */ + if (!not_consumed) + break; + } + /* Some characters remain, create a new group. */ + if (j == ndests) + { + bitset_copy (dests_ch[ndests], accepts); + err = re_node_set_init_1 (dests_node + ndests, cur_nodes->elems[i]); + if (BE (err != REG_NOERROR, 0)) + goto error_return; + ++ndests; + bitset_empty (accepts); + } + } + return ndests; + error_return: + for (j = 0; j < ndests; ++j) + re_node_set_free (dests_node + j); + return REG_MISSING; +} + +#ifdef RE_ENABLE_I18N +/* Check how many bytes the node `dfa->nodes[node_idx]' accepts. + Return the number of the bytes the node accepts. + STR_IDX is the current index of the input string. + + This function handles the nodes which can accept one character, or + one collating element like '.', '[a-z]', opposite to the other nodes + can only accept one byte. */ + +static int +internal_function +check_node_accept_bytes (const re_dfa_t *dfa, Idx node_idx, + const re_string_t *input, Idx str_idx) +{ + const re_token_t *node = dfa->nodes + node_idx; + int char_len, elem_len; + Idx i; + + if (BE (node->type == OP_UTF8_PERIOD, 0)) + { + unsigned char c = re_string_byte_at (input, str_idx), d; + if (BE (c < 0xc2, 1)) + return 0; + + if (str_idx + 2 > input->len) + return 0; + + d = re_string_byte_at (input, str_idx + 1); + if (c < 0xe0) + return (d < 0x80 || d > 0xbf) ? 0 : 2; + else if (c < 0xf0) + { + char_len = 3; + if (c == 0xe0 && d < 0xa0) + return 0; + } + else if (c < 0xf8) + { + char_len = 4; + if (c == 0xf0 && d < 0x90) + return 0; + } + else if (c < 0xfc) + { + char_len = 5; + if (c == 0xf8 && d < 0x88) + return 0; + } + else if (c < 0xfe) + { + char_len = 6; + if (c == 0xfc && d < 0x84) + return 0; + } + else + return 0; + + if (str_idx + char_len > input->len) + return 0; + + for (i = 1; i < char_len; ++i) + { + d = re_string_byte_at (input, str_idx + i); + if (d < 0x80 || d > 0xbf) + return 0; + } + return char_len; + } + + char_len = re_string_char_size_at (input, str_idx); + if (node->type == OP_PERIOD) + { + if (char_len <= 1) + return 0; + /* FIXME: I don't think this if is needed, as both '\n' + and '\0' are char_len == 1. */ + /* '.' accepts any one character except the following two cases. */ + if ((!(dfa->syntax & RE_DOT_NEWLINE) && + re_string_byte_at (input, str_idx) == '\n') || + ((dfa->syntax & RE_DOT_NOT_NULL) && + re_string_byte_at (input, str_idx) == '\0')) + return 0; + return char_len; + } + + elem_len = re_string_elem_size_at (input, str_idx); + if ((elem_len <= 1 && char_len <= 1) || char_len == 0) + return 0; + + if (node->type == COMPLEX_BRACKET) + { + const re_charset_t *cset = node->opr.mbcset; +# ifdef _LIBC + const unsigned char *pin + = ((const unsigned char *) re_string_get_buffer (input) + str_idx); + Idx j; + uint32_t nrules; +# endif /* _LIBC */ + int match_len = 0; + wchar_t wc = ((cset->nranges || cset->nchar_classes || cset->nmbchars) + ? re_string_wchar_at (input, str_idx) : 0); + + /* match with multibyte character? */ + for (i = 0; i < cset->nmbchars; ++i) + if (wc == cset->mbchars[i]) + { + match_len = char_len; + goto check_node_accept_bytes_match; + } + /* match with character_class? */ + for (i = 0; i < cset->nchar_classes; ++i) + { + wctype_t wt = cset->char_classes[i]; + if (__iswctype (wc, wt)) + { + match_len = char_len; + goto check_node_accept_bytes_match; + } + } + +# ifdef _LIBC + nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + if (nrules != 0) + { + unsigned int in_collseq = 0; + const int32_t *table, *indirect; + const unsigned char *weights, *extra; + const char *collseqwc; + int32_t idx; + /* This #include defines a local function! */ +# include + + /* match with collating_symbol? */ + if (cset->ncoll_syms) + extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_SYMB_EXTRAMB); + for (i = 0; i < cset->ncoll_syms; ++i) + { + const unsigned char *coll_sym = extra + cset->coll_syms[i]; + /* Compare the length of input collating element and + the length of current collating element. */ + if (*coll_sym != elem_len) + continue; + /* Compare each bytes. */ + for (j = 0; j < *coll_sym; j++) + if (pin[j] != coll_sym[1 + j]) + break; + if (j == *coll_sym) + { + /* Match if every bytes is equal. */ + match_len = j; + goto check_node_accept_bytes_match; + } + } + + if (cset->nranges) + { + if (elem_len <= char_len) + { + collseqwc = _NL_CURRENT (LC_COLLATE, _NL_COLLATE_COLLSEQWC); + in_collseq = __collseq_table_lookup (collseqwc, wc); + } + else + in_collseq = find_collation_sequence_value (pin, elem_len); + } + /* match with range expression? */ + for (i = 0; i < cset->nranges; ++i) + if (cset->range_starts[i] <= in_collseq + && in_collseq <= cset->range_ends[i]) + { + match_len = elem_len; + goto check_node_accept_bytes_match; + } + + /* match with equivalence_class? */ + if (cset->nequiv_classes) + { + const unsigned char *cp = pin; + table = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); + weights = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_WEIGHTMB); + extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_EXTRAMB); + indirect = (const int32_t *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_INDIRECTMB); + int32_t idx = findidx (&cp); + if (idx > 0) + for (i = 0; i < cset->nequiv_classes; ++i) + { + int32_t equiv_class_idx = cset->equiv_classes[i]; + size_t weight_len = weights[idx & 0xffffff]; + if (weight_len == weights[equiv_class_idx & 0xffffff] + && (idx >> 24) == (equiv_class_idx >> 24)) + { + Idx cnt = 0; + + idx &= 0xffffff; + equiv_class_idx &= 0xffffff; + + while (cnt <= weight_len + && (weights[equiv_class_idx + 1 + cnt] + == weights[idx + 1 + cnt])) + ++cnt; + if (cnt > weight_len) + { + match_len = elem_len; + goto check_node_accept_bytes_match; + } + } + } + } + } + else +# endif /* _LIBC */ + { + /* match with range expression? */ +#if __GNUC__ >= 2 && ! (__STDC_VERSION__ < 199901L && __STRICT_ANSI__) + wchar_t cmp_buf[] = {L'\0', L'\0', wc, L'\0', L'\0', L'\0'}; +#else + wchar_t cmp_buf[] = {L'\0', L'\0', L'\0', L'\0', L'\0', L'\0'}; + cmp_buf[2] = wc; +#endif + for (i = 0; i < cset->nranges; ++i) + { + cmp_buf[0] = cset->range_starts[i]; + cmp_buf[4] = cset->range_ends[i]; + if (wcscoll (cmp_buf, cmp_buf + 2) <= 0 + && wcscoll (cmp_buf + 2, cmp_buf + 4) <= 0) + { + match_len = char_len; + goto check_node_accept_bytes_match; + } + } + } + check_node_accept_bytes_match: + if (!cset->non_match) + return match_len; + else + { + if (match_len > 0) + return 0; + else + return (elem_len > char_len) ? elem_len : char_len; + } + } + return 0; +} + +# ifdef _LIBC +static unsigned int +internal_function +find_collation_sequence_value (const unsigned char *mbs, size_t mbs_len) +{ + uint32_t nrules = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_NRULES); + if (nrules == 0) + { + if (mbs_len == 1) + { + /* No valid character. Match it as a single byte character. */ + const unsigned char *collseq = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_COLLSEQMB); + return collseq[mbs[0]]; + } + return UINT_MAX; + } + else + { + int32_t idx; + const unsigned char *extra = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_SYMB_EXTRAMB); + int32_t extrasize = (const unsigned char *) + _NL_CURRENT (LC_COLLATE, _NL_COLLATE_SYMB_EXTRAMB + 1) - extra; + + for (idx = 0; idx < extrasize;) + { + int mbs_cnt; + bool found = false; + int32_t elem_mbs_len; + /* Skip the name of collating element name. */ + idx = idx + extra[idx] + 1; + elem_mbs_len = extra[idx++]; + if (mbs_len == elem_mbs_len) + { + for (mbs_cnt = 0; mbs_cnt < elem_mbs_len; ++mbs_cnt) + if (extra[idx + mbs_cnt] != mbs[mbs_cnt]) + break; + if (mbs_cnt == elem_mbs_len) + /* Found the entry. */ + found = true; + } + /* Skip the byte sequence of the collating element. */ + idx += elem_mbs_len; + /* Adjust for the alignment. */ + idx = (idx + 3) & ~3; + /* Skip the collation sequence value. */ + idx += sizeof (uint32_t); + /* Skip the wide char sequence of the collating element. */ + idx = idx + sizeof (uint32_t) * (extra[idx] + 1); + /* If we found the entry, return the sequence value. */ + if (found) + return *(uint32_t *) (extra + idx); + /* Skip the collation sequence value. */ + idx += sizeof (uint32_t); + } + return UINT_MAX; + } +} +# endif /* _LIBC */ +#endif /* RE_ENABLE_I18N */ + +/* Check whether the node accepts the byte which is IDX-th + byte of the INPUT. */ + +static bool +internal_function +check_node_accept (const re_match_context_t *mctx, const re_token_t *node, + Idx idx) +{ + unsigned char ch; + ch = re_string_byte_at (&mctx->input, idx); + switch (node->type) + { + case CHARACTER: + if (node->opr.c != ch) + return false; + break; + + case SIMPLE_BRACKET: + if (!bitset_contain (node->opr.sbcset, ch)) + return false; + break; + +#ifdef RE_ENABLE_I18N + case OP_UTF8_PERIOD: + if (ch >= ASCII_CHARS) + return false; + /* FALLTHROUGH */ +#endif + case OP_PERIOD: + if ((ch == '\n' && !(mctx->dfa->syntax & RE_DOT_NEWLINE)) + || (ch == '\0' && (mctx->dfa->syntax & RE_DOT_NOT_NULL))) + return false; + break; + + default: + return false; + } + + if (node->constraint) + { + /* The node has constraints. Check whether the current context + satisfies the constraints. */ + unsigned int context = re_string_context_at (&mctx->input, idx, + mctx->eflags); + if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) + return false; + } + + return true; +} + +/* Extend the buffers, if the buffers have run out. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +extend_buffers (re_match_context_t *mctx) +{ + reg_errcode_t ret; + re_string_t *pstr = &mctx->input; + + /* Avoid overflow. */ + if (BE (SIZE_MAX / 2 / sizeof (re_dfastate_t *) <= pstr->bufs_len, 0)) + return REG_ESPACE; + + /* Double the lengthes of the buffers. */ + ret = re_string_realloc_buffers (pstr, pstr->bufs_len * 2); + if (BE (ret != REG_NOERROR, 0)) + return ret; + + if (mctx->state_log != NULL) + { + /* And double the length of state_log. */ + /* XXX We have no indication of the size of this buffer. If this + allocation fail we have no indication that the state_log array + does not have the right size. */ + re_dfastate_t **new_array = re_realloc (mctx->state_log, re_dfastate_t *, + pstr->bufs_len + 1); + if (BE (new_array == NULL, 0)) + return REG_ESPACE; + mctx->state_log = new_array; + } + + /* Then reconstruct the buffers. */ + if (pstr->icase) + { +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + { + ret = build_wcs_upper_buffer (pstr); + if (BE (ret != REG_NOERROR, 0)) + return ret; + } + else +#endif /* RE_ENABLE_I18N */ + build_upper_buffer (pstr); + } + else + { +#ifdef RE_ENABLE_I18N + if (pstr->mb_cur_max > 1) + build_wcs_buffer (pstr); + else +#endif /* RE_ENABLE_I18N */ + { + if (pstr->trans != NULL) + re_string_translate_buffer (pstr); + } + } + return REG_NOERROR; +} + + +/* Functions for matching context. */ + +/* Initialize MCTX. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +match_ctx_init (re_match_context_t *mctx, int eflags, Idx n) +{ + mctx->eflags = eflags; + mctx->match_last = REG_MISSING; + if (n > 0) + { + /* Avoid overflow. */ + size_t max_object_size = + MAX (sizeof (struct re_backref_cache_entry), + sizeof (re_sub_match_top_t *)); + if (BE (SIZE_MAX / max_object_size < n, 0)) + return REG_ESPACE; + + mctx->bkref_ents = re_malloc (struct re_backref_cache_entry, n); + mctx->sub_tops = re_malloc (re_sub_match_top_t *, n); + if (BE (mctx->bkref_ents == NULL || mctx->sub_tops == NULL, 0)) + return REG_ESPACE; + } + /* Already zero-ed by the caller. + else + mctx->bkref_ents = NULL; + mctx->nbkref_ents = 0; + mctx->nsub_tops = 0; */ + mctx->abkref_ents = n; + mctx->max_mb_elem_len = 1; + mctx->asub_tops = n; + return REG_NOERROR; +} + +/* Clean the entries which depend on the current input in MCTX. + This function must be invoked when the matcher changes the start index + of the input, or changes the input string. */ + +static void +internal_function +match_ctx_clean (re_match_context_t *mctx) +{ + Idx st_idx; + for (st_idx = 0; st_idx < mctx->nsub_tops; ++st_idx) + { + Idx sl_idx; + re_sub_match_top_t *top = mctx->sub_tops[st_idx]; + for (sl_idx = 0; sl_idx < top->nlasts; ++sl_idx) + { + re_sub_match_last_t *last = top->lasts[sl_idx]; + re_free (last->path.array); + re_free (last); + } + re_free (top->lasts); + if (top->path) + { + re_free (top->path->array); + re_free (top->path); + } + free (top); + } + + mctx->nsub_tops = 0; + mctx->nbkref_ents = 0; +} + +/* Free all the memory associated with MCTX. */ + +static void +internal_function +match_ctx_free (re_match_context_t *mctx) +{ + /* First, free all the memory associated with MCTX->SUB_TOPS. */ + match_ctx_clean (mctx); + re_free (mctx->sub_tops); + re_free (mctx->bkref_ents); +} + +/* Add a new backreference entry to MCTX. + Note that we assume that caller never call this function with duplicate + entry, and call with STR_IDX which isn't smaller than any existing entry. +*/ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +match_ctx_add_entry (re_match_context_t *mctx, Idx node, Idx str_idx, Idx from, + Idx to) +{ + if (mctx->nbkref_ents >= mctx->abkref_ents) + { + struct re_backref_cache_entry* new_entry; + new_entry = re_realloc (mctx->bkref_ents, struct re_backref_cache_entry, + mctx->abkref_ents * 2); + if (BE (new_entry == NULL, 0)) + { + re_free (mctx->bkref_ents); + return REG_ESPACE; + } + mctx->bkref_ents = new_entry; + memset (mctx->bkref_ents + mctx->nbkref_ents, '\0', + sizeof (struct re_backref_cache_entry) * mctx->abkref_ents); + mctx->abkref_ents *= 2; + } + if (mctx->nbkref_ents > 0 + && mctx->bkref_ents[mctx->nbkref_ents - 1].str_idx == str_idx) + mctx->bkref_ents[mctx->nbkref_ents - 1].more = 1; + + mctx->bkref_ents[mctx->nbkref_ents].node = node; + mctx->bkref_ents[mctx->nbkref_ents].str_idx = str_idx; + mctx->bkref_ents[mctx->nbkref_ents].subexp_from = from; + mctx->bkref_ents[mctx->nbkref_ents].subexp_to = to; + + /* This is a cache that saves negative results of check_dst_limits_calc_pos. + If bit N is clear, means that this entry won't epsilon-transition to + an OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP for the N+1-th subexpression. If + it is set, check_dst_limits_calc_pos_1 will recurse and try to find one + such node. + + A backreference does not epsilon-transition unless it is empty, so set + to all zeros if FROM != TO. */ + mctx->bkref_ents[mctx->nbkref_ents].eps_reachable_subexps_map + = (from == to ? -1 : 0); + + mctx->bkref_ents[mctx->nbkref_ents++].more = 0; + if (mctx->max_mb_elem_len < to - from) + mctx->max_mb_elem_len = to - from; + return REG_NOERROR; +} + +/* Return the first entry with the same str_idx, or REG_MISSING if none is + found. Note that MCTX->BKREF_ENTS is already sorted by MCTX->STR_IDX. */ + +static Idx +internal_function +search_cur_bkref_entry (const re_match_context_t *mctx, Idx str_idx) +{ + Idx left, right, mid, last; + last = right = mctx->nbkref_ents; + for (left = 0; left < right;) + { + mid = (left + right) / 2; + if (mctx->bkref_ents[mid].str_idx < str_idx) + left = mid + 1; + else + right = mid; + } + if (left < last && mctx->bkref_ents[left].str_idx == str_idx) + return left; + else + return REG_MISSING; +} + +/* Register the node NODE, whose type is OP_OPEN_SUBEXP, and which matches + at STR_IDX. */ + +static reg_errcode_t +internal_function __attribute_warn_unused_result__ +match_ctx_add_subtop (re_match_context_t *mctx, Idx node, Idx str_idx) +{ +#ifdef DEBUG + assert (mctx->sub_tops != NULL); + assert (mctx->asub_tops > 0); +#endif + if (BE (mctx->nsub_tops == mctx->asub_tops, 0)) + { + Idx new_asub_tops = mctx->asub_tops * 2; + re_sub_match_top_t **new_array = re_realloc (mctx->sub_tops, + re_sub_match_top_t *, + new_asub_tops); + if (BE (new_array == NULL, 0)) + return REG_ESPACE; + mctx->sub_tops = new_array; + mctx->asub_tops = new_asub_tops; + } + mctx->sub_tops[mctx->nsub_tops] = calloc (1, sizeof (re_sub_match_top_t)); + if (BE (mctx->sub_tops[mctx->nsub_tops] == NULL, 0)) + return REG_ESPACE; + mctx->sub_tops[mctx->nsub_tops]->node = node; + mctx->sub_tops[mctx->nsub_tops++]->str_idx = str_idx; + return REG_NOERROR; +} + +/* Register the node NODE, whose type is OP_CLOSE_SUBEXP, and which matches + at STR_IDX, whose corresponding OP_OPEN_SUBEXP is SUB_TOP. */ + +static re_sub_match_last_t * +internal_function +match_ctx_add_sublast (re_sub_match_top_t *subtop, Idx node, Idx str_idx) +{ + re_sub_match_last_t *new_entry; + if (BE (subtop->nlasts == subtop->alasts, 0)) + { + Idx new_alasts = 2 * subtop->alasts + 1; + re_sub_match_last_t **new_array = re_realloc (subtop->lasts, + re_sub_match_last_t *, + new_alasts); + if (BE (new_array == NULL, 0)) + return NULL; + subtop->lasts = new_array; + subtop->alasts = new_alasts; + } + new_entry = calloc (1, sizeof (re_sub_match_last_t)); + if (BE (new_entry != NULL, 1)) + { + subtop->lasts[subtop->nlasts] = new_entry; + new_entry->node = node; + new_entry->str_idx = str_idx; + ++subtop->nlasts; + } + return new_entry; +} + +static void +internal_function +sift_ctx_init (re_sift_context_t *sctx, re_dfastate_t **sifted_sts, + re_dfastate_t **limited_sts, Idx last_node, Idx last_str_idx) +{ + sctx->sifted_states = sifted_sts; + sctx->limited_states = limited_sts; + sctx->last_node = last_node; + sctx->last_str_idx = last_str_idx; + re_node_set_init_empty (&sctx->limits); +} diff --git a/grub-core/gnulib/size_max.h b/grub-core/gnulib/size_max.h new file mode 100644 index 0000000..56d5a9b --- /dev/null +++ b/grub-core/gnulib/size_max.h @@ -0,0 +1,31 @@ +/* size_max.h -- declare SIZE_MAX through system headers + Copyright (C) 2005-2006, 2009-2010 Free Software Foundation, Inc. + Written by Simon Josefsson. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef GNULIB_SIZE_MAX_H +#define GNULIB_SIZE_MAX_H + +/* Get SIZE_MAX declaration on systems like Solaris 7/8/9. */ +# include +/* Get SIZE_MAX declaration on systems like glibc 2. */ +# if HAVE_STDINT_H +# include +# endif +/* On systems where these include files don't define it, SIZE_MAX is defined + in config.h. */ + +#endif /* GNULIB_SIZE_MAX_H */ diff --git a/grub-core/gnulib/sleep.c b/grub-core/gnulib/sleep.c new file mode 100644 index 0000000..213e5bd --- /dev/null +++ b/grub-core/gnulib/sleep.c @@ -0,0 +1,75 @@ +/* Pausing execution of the current thread. + Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2007. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#include + +#include "verify.h" + +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + +# define WIN32_LEAN_AND_MEAN /* avoid including junk */ +# include + +unsigned int +sleep (unsigned int seconds) +{ + unsigned int remaining; + + /* Sleep for 1 second many times, because + 1. Sleep is not interruptiple by Ctrl-C, + 2. we want to avoid arithmetic overflow while multiplying with 1000. */ + for (remaining = seconds; remaining > 0; remaining--) + Sleep (1000); + + return remaining; +} + +#elif HAVE_SLEEP + +# undef sleep + +/* Guarantee unlimited sleep and a reasonable return value. Cygwin + 1.5.x rejects attempts to sleep more than 49.7 days (2**32 + milliseconds), but uses uninitialized memory which results in a + garbage answer. */ +unsigned int +rpl_sleep (unsigned int seconds) +{ + /* This requires int larger than 16 bits. */ + verify (UINT_MAX / 49 / 24 / 60 / 60); + const unsigned int limit = 49 * 24 * 60 * 60; + while (limit < seconds) + { + unsigned int result; + seconds -= limit; + result = sleep (limit); + if (result) + return seconds + result; + } + return sleep (seconds); +} + +#else /* !HAVE_SLEEP */ + + #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." + +#endif diff --git a/grub-core/gnulib/stdbool.in.h b/grub-core/gnulib/stdbool.in.h new file mode 100644 index 0000000..574c281 --- /dev/null +++ b/grub-core/gnulib/stdbool.in.h @@ -0,0 +1,122 @@ +/* Copyright (C) 2001-2003, 2006-2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2001. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _GL_STDBOOL_H +#define _GL_STDBOOL_H + +/* ISO C 99 for platforms that lack it. */ + +/* Usage suggestions: + + Programs that use should be aware of some limitations + and standards compliance issues. + + Standards compliance: + + - must be #included before 'bool', 'false', 'true' + can be used. + + - You cannot assume that sizeof (bool) == 1. + + - Programs should not undefine the macros bool, true, and false, + as C99 lists that as an "obsolescent feature". + + Limitations of this substitute, when used in a C89 environment: + + - must be #included before the '_Bool' type can be used. + + - You cannot assume that _Bool is a typedef; it might be a macro. + + - Bit-fields of type 'bool' are not supported. Portable code + should use 'unsigned int foo : 1;' rather than 'bool foo : 1;'. + + - In C99, casts and automatic conversions to '_Bool' or 'bool' are + performed in such a way that every nonzero value gets converted + to 'true', and zero gets converted to 'false'. This doesn't work + with this substitute. With this substitute, only the values 0 and 1 + give the expected result when converted to _Bool' or 'bool'. + + - C99 allows the use of (_Bool)0.0 in constant expressions, but + this substitute cannot always provide this property. + + Also, it is suggested that programs use 'bool' rather than '_Bool'; + this isn't required, but 'bool' is more common. */ + + +/* 7.16. Boolean type and values */ + +/* BeOS already #defines false 0, true 1. We use the same + definitions below, but temporarily we have to #undef them. */ +#if defined __BEOS__ && !defined __HAIKU__ +# include /* defines bool but not _Bool */ +# undef false +# undef true +#endif + +/* For the sake of symbolic names in gdb, we define true and false as + enum constants, not only as macros. + It is tempting to write + typedef enum { false = 0, true = 1 } _Bool; + so that gdb prints values of type 'bool' symbolically. But if we do + this, values of type '_Bool' may promote to 'int' or 'unsigned int' + (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int' + (see ISO C 99 6.3.1.1.(2)). So we add a negative value to the + enum; this ensures that '_Bool' promotes to 'int'. */ +#if defined __cplusplus || (defined __BEOS__ && !defined __HAIKU__) + /* A compiler known to have 'bool'. */ + /* If the compiler already has both 'bool' and '_Bool', we can assume they + are the same types. */ +# if !@HAVE__BOOL@ +typedef bool _Bool; +# endif +#else +# if !defined __GNUC__ + /* If @HAVE__BOOL@: + Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when + the built-in _Bool type is used. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html + Similar bugs are likely with other compilers as well; this file + wouldn't be used if was working. + So we override the _Bool type. + If !@HAVE__BOOL@: + Need to define _Bool ourselves. As 'signed char' or as an enum type? + Use of a typedef, with SunPRO C, leads to a stupid + "warning: _Bool is a keyword in ISO C99". + Use of an enum type, with IRIX cc, leads to a stupid + "warning(1185): enumerated type mixed with another type". + Even the existence of an enum type, without a typedef, + "Invalid enumerator. (badenum)" with HP-UX cc on Tru64. + The only benefit of the enum, debuggability, is not important + with these compilers. So use 'signed char' and no enum. */ +# define _Bool signed char +# else + /* With this compiler, trust the _Bool type if the compiler has it. */ +# if !@HAVE__BOOL@ +typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; +# endif +# endif +#endif +#define bool _Bool + +/* The other macros must be usable in preprocessor directives. */ +#define false 0 +#define true 1 +#define __bool_true_false_are_defined 1 + +#endif /* _GL_STDBOOL_H */ diff --git a/grub-core/gnulib/stddef.in.h b/grub-core/gnulib/stddef.in.h new file mode 100644 index 0000000..08778a2 --- /dev/null +++ b/grub-core/gnulib/stddef.in.h @@ -0,0 +1,86 @@ +/* A substitute for POSIX 2008 , for platforms that have issues. + + Copyright (C) 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Written by Eric Blake. */ + +/* + * POSIX 2008 for platforms that have issues. + * + */ + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +#if defined __need_wchar_t || defined __need_size_t \ + || defined __need_ptrdiff_t || defined __need_NULL \ + || defined __need_wint_t +/* Special invocation convention inside gcc header files. In + particular, gcc provides a version of that blindly + redefines NULL even when __need_wint_t was defined, even though + wint_t is not normally provided by . Hence, we must + remember if special invocation has ever been used to obtain wint_t, + in which case we need to clean up NULL yet again. */ + +# if !(defined _GL_STDDEF_H && defined _GL_STDDEF_WINT_T) +# ifdef __need_wint_t +# undef _GL_STDDEF_H +# define _GL_STDDEF_WINT_T +# endif +# @INCLUDE_NEXT@ @NEXT_STDDEF_H@ +# endif + +#else +/* Normal invocation convention. */ + +# ifndef _GL_STDDEF_H + +/* The include_next requires a split double-inclusion guard. */ + +# @INCLUDE_NEXT@ @NEXT_STDDEF_H@ + +# ifndef _GL_STDDEF_H +# define _GL_STDDEF_H + +/* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ +#if @REPLACE_NULL@ +# undef NULL +# ifdef __cplusplus + /* ISO C++ says that the macro NULL must expand to an integer constant + expression, hence '((void *) 0)' is not allowed in C++. */ +# if __GNUG__ >= 3 + /* GNU C++ has a __null macro that behaves like an integer ('int' or + 'long') but has the same size as a pointer. Use that, to avoid + warnings. */ +# define NULL __null +# else +# define NULL 0L +# endif +# else +# define NULL ((void *) 0) +# endif +#endif + +/* Some platforms lack wchar_t. */ +#if !@HAVE_WCHAR_T@ +# define wchar_t int +#endif + +# endif /* _GL_STDDEF_H */ +# endif /* _GL_STDDEF_H */ +#endif /* __need_XXX */ diff --git a/grub-core/gnulib/stdint.in.h b/grub-core/gnulib/stdint.in.h new file mode 100644 index 0000000..5da5f17 --- /dev/null +++ b/grub-core/gnulib/stdint.in.h @@ -0,0 +1,568 @@ +/* Copyright (C) 2001-2002, 2004-2010 Free Software Foundation, Inc. + Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. + This file is part of gnulib. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* + * ISO C 99 for platforms that lack it. + * + */ + +#ifndef _GL_STDINT_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* When including a system file that in turn includes , + use the system , not our substitute. This avoids + problems with (for example) VMS, whose includes + . */ +#define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H + +/* Get those types that are already defined in other system include + files, so that we can "#define int8_t signed char" below without + worrying about a later system include file containing a "typedef + signed char int8_t;" that will get messed up by our macro. Our + macros should all be consistent with the system versions, except + for the "fast" types and macros, which we recommend against using + in public interfaces due to compiler differences. */ + +#if @HAVE_STDINT_H@ +# if defined __sgi && ! defined __c99 + /* Bypass IRIX's if in C89 mode, since it merely annoys users + with "This header file is to be used only for c99 mode compilations" + diagnostics. */ +# define __STDINT_H__ +# endif + /* Other systems may have an incomplete or buggy . + Include it before , since any "#include " + in would reinclude us, skipping our contents because + _GL_STDINT_H is defined. + The include_next requires a split double-inclusion guard. */ +# @INCLUDE_NEXT@ @NEXT_STDINT_H@ +#endif + +#if ! defined _GL_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H +#define _GL_STDINT_H + +/* defines some of the stdint.h types as well, on glibc, + IRIX 6.5, and OpenBSD 3.8 (via ). + AIX 5.2 isn't needed and causes troubles. + MacOS X 10.4.6 includes (which is us), but + relies on the system definitions, so include + after @NEXT_STDINT_H@. */ +#if @HAVE_SYS_TYPES_H@ && ! defined _AIX +# include +#endif + +/* Get LONG_MIN, LONG_MAX, ULONG_MAX. */ +#include + +#if @HAVE_INTTYPES_H@ + /* In OpenBSD 3.8, includes , which defines + int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__. + also defines intptr_t and uintptr_t. */ +# include +#elif @HAVE_SYS_INTTYPES_H@ + /* Solaris 7 has the types except the *_fast*_t types, and + the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. */ +# include +#endif + +#if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__ + /* Linux libc4 >= 4.6.7 and libc5 have a that defines + int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is + included by . */ +# include +#endif + +#undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H + +/* Minimum and maximum values for a integer type under the usual assumption. + Return an unspecified value if BITS == 0, adding a check to pacify + picky compilers. */ + +#define _STDINT_MIN(signed, bits, zero) \ + ((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero)) + +#define _STDINT_MAX(signed, bits, zero) \ + ((signed) \ + ? ~ _STDINT_MIN (signed, bits, zero) \ + : /* The expression for the unsigned case. The subtraction of (signed) \ + is a nop in the unsigned case and avoids "signed integer overflow" \ + warnings in the signed case. */ \ + ((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) + +/* 7.18.1.1. Exact-width integer types */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits. */ + +#undef int8_t +#undef uint8_t +typedef signed char gl_int8_t; +typedef unsigned char gl_uint8_t; +#define int8_t gl_int8_t +#define uint8_t gl_uint8_t + +#undef int16_t +#undef uint16_t +typedef short int gl_int16_t; +typedef unsigned short int gl_uint16_t; +#define int16_t gl_int16_t +#define uint16_t gl_uint16_t + +#undef int32_t +#undef uint32_t +typedef int gl_int32_t; +typedef unsigned int gl_uint32_t; +#define int32_t gl_int32_t +#define uint32_t gl_uint32_t + +/* Do not undefine int64_t if gnulib is not being used with 64-bit + types, since otherwise it breaks platforms like Tandem/NSK. */ +#if LONG_MAX >> 31 >> 31 == 1 +# undef int64_t +typedef long int gl_int64_t; +# define int64_t gl_int64_t +# define GL_INT64_T +#elif defined _MSC_VER +# undef int64_t +typedef __int64 gl_int64_t; +# define int64_t gl_int64_t +# define GL_INT64_T +#elif @HAVE_LONG_LONG_INT@ +# undef int64_t +typedef long long int gl_int64_t; +# define int64_t gl_int64_t +# define GL_INT64_T +#endif + +#if ULONG_MAX >> 31 >> 31 >> 1 == 1 +# undef uint64_t +typedef unsigned long int gl_uint64_t; +# define uint64_t gl_uint64_t +# define GL_UINT64_T +#elif defined _MSC_VER +# undef uint64_t +typedef unsigned __int64 gl_uint64_t; +# define uint64_t gl_uint64_t +# define GL_UINT64_T +#elif @HAVE_UNSIGNED_LONG_LONG_INT@ +# undef uint64_t +typedef unsigned long long int gl_uint64_t; +# define uint64_t gl_uint64_t +# define GL_UINT64_T +#endif + +/* Avoid collision with Solaris 2.5.1 etc. */ +#define _UINT8_T +#define _UINT32_T +#define _UINT64_T + + +/* 7.18.1.2. Minimum-width integer types */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types + are the same as the corresponding N_t types. */ + +#undef int_least8_t +#undef uint_least8_t +#undef int_least16_t +#undef uint_least16_t +#undef int_least32_t +#undef uint_least32_t +#undef int_least64_t +#undef uint_least64_t +#define int_least8_t int8_t +#define uint_least8_t uint8_t +#define int_least16_t int16_t +#define uint_least16_t uint16_t +#define int_least32_t int32_t +#define uint_least32_t uint32_t +#ifdef GL_INT64_T +# define int_least64_t int64_t +#endif +#ifdef GL_UINT64_T +# define uint_least64_t uint64_t +#endif + +/* 7.18.1.3. Fastest minimum-width integer types */ + +/* Note: Other substitutes may define these types differently. + It is not recommended to use these types in public header files. */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types + are taken from the same list of types. Assume that 'long int' + is fast enough for all narrower integers. */ + +#undef int_fast8_t +#undef uint_fast8_t +#undef int_fast16_t +#undef uint_fast16_t +#undef int_fast32_t +#undef uint_fast32_t +#undef int_fast64_t +#undef uint_fast64_t +typedef long int gl_int_fast8_t; +typedef unsigned long int gl_uint_fast8_t; +typedef long int gl_int_fast16_t; +typedef unsigned long int gl_uint_fast16_t; +typedef long int gl_int_fast32_t; +typedef unsigned long int gl_uint_fast32_t; +#define int_fast8_t gl_int_fast8_t +#define uint_fast8_t gl_uint_fast8_t +#define int_fast16_t gl_int_fast16_t +#define uint_fast16_t gl_uint_fast16_t +#define int_fast32_t gl_int_fast32_t +#define uint_fast32_t gl_uint_fast32_t +#ifdef GL_INT64_T +# define int_fast64_t int64_t +#endif +#ifdef GL_UINT64_T +# define uint_fast64_t uint64_t +#endif + +/* 7.18.1.4. Integer types capable of holding object pointers */ + +#undef intptr_t +#undef uintptr_t +typedef long int gl_intptr_t; +typedef unsigned long int gl_uintptr_t; +#define intptr_t gl_intptr_t +#define uintptr_t gl_uintptr_t + +/* 7.18.1.5. Greatest-width integer types */ + +/* Note: These types are compiler dependent. It may be unwise to use them in + public header files. */ + +#undef intmax_t +#if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 +typedef long long int gl_intmax_t; +# define intmax_t gl_intmax_t +#elif defined GL_INT64_T +# define intmax_t int64_t +#else +typedef long int gl_intmax_t; +# define intmax_t gl_intmax_t +#endif + +#undef uintmax_t +#if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 +typedef unsigned long long int gl_uintmax_t; +# define uintmax_t gl_uintmax_t +#elif defined GL_UINT64_T +# define uintmax_t uint64_t +#else +typedef unsigned long int gl_uintmax_t; +# define uintmax_t gl_uintmax_t +#endif + +/* Verify that intmax_t and uintmax_t have the same size. Too much code + breaks if this is not the case. If this check fails, the reason is likely + to be found in the autoconf macros. */ +typedef int _verify_intmax_size[2 * (sizeof (intmax_t) == sizeof (uintmax_t)) - 1]; + +/* 7.18.2. Limits of specified-width integer types */ + +#if ! defined __cplusplus || defined __STDC_LIMIT_MACROS + +/* 7.18.2.1. Limits of exact-width integer types */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits. */ + +#undef INT8_MIN +#undef INT8_MAX +#undef UINT8_MAX +#define INT8_MIN (~ INT8_MAX) +#define INT8_MAX 127 +#define UINT8_MAX 255 + +#undef INT16_MIN +#undef INT16_MAX +#undef UINT16_MAX +#define INT16_MIN (~ INT16_MAX) +#define INT16_MAX 32767 +#define UINT16_MAX 65535 + +#undef INT32_MIN +#undef INT32_MAX +#undef UINT32_MAX +#define INT32_MIN (~ INT32_MAX) +#define INT32_MAX 2147483647 +#define UINT32_MAX 4294967295U + +#undef INT64_MIN +#undef INT64_MAX +#ifdef GL_INT64_T +/* Prefer (- INTMAX_C (1) << 63) over (~ INT64_MAX) because SunPRO C 5.0 + evaluates the latter incorrectly in preprocessor expressions. */ +# define INT64_MIN (- INTMAX_C (1) << 63) +# define INT64_MAX INTMAX_C (9223372036854775807) +#endif + +#undef UINT64_MAX +#ifdef GL_UINT64_T +# define UINT64_MAX UINTMAX_C (18446744073709551615) +#endif + +/* 7.18.2.2. Limits of minimum-width integer types */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types + are the same as the corresponding N_t types. */ + +#undef INT_LEAST8_MIN +#undef INT_LEAST8_MAX +#undef UINT_LEAST8_MAX +#define INT_LEAST8_MIN INT8_MIN +#define INT_LEAST8_MAX INT8_MAX +#define UINT_LEAST8_MAX UINT8_MAX + +#undef INT_LEAST16_MIN +#undef INT_LEAST16_MAX +#undef UINT_LEAST16_MAX +#define INT_LEAST16_MIN INT16_MIN +#define INT_LEAST16_MAX INT16_MAX +#define UINT_LEAST16_MAX UINT16_MAX + +#undef INT_LEAST32_MIN +#undef INT_LEAST32_MAX +#undef UINT_LEAST32_MAX +#define INT_LEAST32_MIN INT32_MIN +#define INT_LEAST32_MAX INT32_MAX +#define UINT_LEAST32_MAX UINT32_MAX + +#undef INT_LEAST64_MIN +#undef INT_LEAST64_MAX +#ifdef GL_INT64_T +# define INT_LEAST64_MIN INT64_MIN +# define INT_LEAST64_MAX INT64_MAX +#endif + +#undef UINT_LEAST64_MAX +#ifdef GL_UINT64_T +# define UINT_LEAST64_MAX UINT64_MAX +#endif + +/* 7.18.2.3. Limits of fastest minimum-width integer types */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types + are taken from the same list of types. */ + +#undef INT_FAST8_MIN +#undef INT_FAST8_MAX +#undef UINT_FAST8_MAX +#define INT_FAST8_MIN LONG_MIN +#define INT_FAST8_MAX LONG_MAX +#define UINT_FAST8_MAX ULONG_MAX + +#undef INT_FAST16_MIN +#undef INT_FAST16_MAX +#undef UINT_FAST16_MAX +#define INT_FAST16_MIN LONG_MIN +#define INT_FAST16_MAX LONG_MAX +#define UINT_FAST16_MAX ULONG_MAX + +#undef INT_FAST32_MIN +#undef INT_FAST32_MAX +#undef UINT_FAST32_MAX +#define INT_FAST32_MIN LONG_MIN +#define INT_FAST32_MAX LONG_MAX +#define UINT_FAST32_MAX ULONG_MAX + +#undef INT_FAST64_MIN +#undef INT_FAST64_MAX +#ifdef GL_INT64_T +# define INT_FAST64_MIN INT64_MIN +# define INT_FAST64_MAX INT64_MAX +#endif + +#undef UINT_FAST64_MAX +#ifdef GL_UINT64_T +# define UINT_FAST64_MAX UINT64_MAX +#endif + +/* 7.18.2.4. Limits of integer types capable of holding object pointers */ + +#undef INTPTR_MIN +#undef INTPTR_MAX +#undef UINTPTR_MAX +#define INTPTR_MIN LONG_MIN +#define INTPTR_MAX LONG_MAX +#define UINTPTR_MAX ULONG_MAX + +/* 7.18.2.5. Limits of greatest-width integer types */ + +#undef INTMAX_MIN +#undef INTMAX_MAX +#ifdef INT64_MAX +# define INTMAX_MIN INT64_MIN +# define INTMAX_MAX INT64_MAX +#else +# define INTMAX_MIN INT32_MIN +# define INTMAX_MAX INT32_MAX +#endif + +#undef UINTMAX_MAX +#ifdef UINT64_MAX +# define UINTMAX_MAX UINT64_MAX +#else +# define UINTMAX_MAX UINT32_MAX +#endif + +/* 7.18.3. Limits of other integer types */ + +/* ptrdiff_t limits */ +#undef PTRDIFF_MIN +#undef PTRDIFF_MAX +#if @APPLE_UNIVERSAL_BUILD@ +# ifdef _LP64 +# define PTRDIFF_MIN _STDINT_MIN (1, 64, 0l) +# define PTRDIFF_MAX _STDINT_MAX (1, 64, 0l) +# else +# define PTRDIFF_MIN _STDINT_MIN (1, 32, 0) +# define PTRDIFF_MAX _STDINT_MAX (1, 32, 0) +# endif +#else +# define PTRDIFF_MIN \ + _STDINT_MIN (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) +# define PTRDIFF_MAX \ + _STDINT_MAX (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) +#endif + +/* sig_atomic_t limits */ +#undef SIG_ATOMIC_MIN +#undef SIG_ATOMIC_MAX +#define SIG_ATOMIC_MIN \ + _STDINT_MIN (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ + 0@SIG_ATOMIC_T_SUFFIX@) +#define SIG_ATOMIC_MAX \ + _STDINT_MAX (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ + 0@SIG_ATOMIC_T_SUFFIX@) + + +/* size_t limit */ +#undef SIZE_MAX +#if @APPLE_UNIVERSAL_BUILD@ +# ifdef _LP64 +# define SIZE_MAX _STDINT_MAX (0, 64, 0ul) +# else +# define SIZE_MAX _STDINT_MAX (0, 32, 0ul) +# endif +#else +# define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@) +#endif + +/* wchar_t limits */ +/* Get WCHAR_MIN, WCHAR_MAX. + This include is not on the top, above, because on OSF/1 4.0 we have a sequence of nested + includes -> -> -> , and the latter includes + and assumes its types are already defined. */ +#if ! (defined WCHAR_MIN && defined WCHAR_MAX) +# define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H +# include +# undef _GL_JUST_INCLUDE_SYSTEM_WCHAR_H +#endif +#undef WCHAR_MIN +#undef WCHAR_MAX +#define WCHAR_MIN \ + _STDINT_MIN (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) +#define WCHAR_MAX \ + _STDINT_MAX (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) + +/* wint_t limits */ +#undef WINT_MIN +#undef WINT_MAX +#define WINT_MIN \ + _STDINT_MIN (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) +#define WINT_MAX \ + _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) + +#endif /* !defined __cplusplus || defined __STDC_LIMIT_MACROS */ + +/* 7.18.4. Macros for integer constants */ + +#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS + +/* 7.18.4.1. Macros for minimum-width integer constants */ +/* According to ISO C 99 Technical Corrigendum 1 */ + +/* Here we assume a standard architecture where the hardware integer + types have 8, 16, 32, optionally 64 bits, and int is 32 bits. */ + +#undef INT8_C +#undef UINT8_C +#define INT8_C(x) x +#define UINT8_C(x) x + +#undef INT16_C +#undef UINT16_C +#define INT16_C(x) x +#define UINT16_C(x) x + +#undef INT32_C +#undef UINT32_C +#define INT32_C(x) x +#define UINT32_C(x) x ## U + +#undef INT64_C +#undef UINT64_C +#if LONG_MAX >> 31 >> 31 == 1 +# define INT64_C(x) x##L +#elif defined _MSC_VER +# define INT64_C(x) x##i64 +#elif @HAVE_LONG_LONG_INT@ +# define INT64_C(x) x##LL +#endif +#if ULONG_MAX >> 31 >> 31 >> 1 == 1 +# define UINT64_C(x) x##UL +#elif defined _MSC_VER +# define UINT64_C(x) x##ui64 +#elif @HAVE_UNSIGNED_LONG_LONG_INT@ +# define UINT64_C(x) x##ULL +#endif + +/* 7.18.4.2. Macros for greatest-width integer constants */ + +#undef INTMAX_C +#if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 +# define INTMAX_C(x) x##LL +#elif defined GL_INT64_T +# define INTMAX_C(x) INT64_C(x) +#else +# define INTMAX_C(x) x##L +#endif + +#undef UINTMAX_C +#if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 +# define UINTMAX_C(x) x##ULL +#elif defined GL_UINT64_T +# define UINTMAX_C(x) UINT64_C(x) +#else +# define UINTMAX_C(x) x##UL +#endif + +#endif /* !defined __cplusplus || defined __STDC_CONSTANT_MACROS */ + +#endif /* _GL_STDINT_H */ +#endif /* !defined _GL_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ diff --git a/grub-core/gnulib/stdio-write.c b/grub-core/gnulib/stdio-write.c new file mode 100644 index 0000000..a6a0eb1 --- /dev/null +++ b/grub-core/gnulib/stdio-write.c @@ -0,0 +1,148 @@ +/* POSIX compatible FILE stream write function. + Copyright (C) 2008-2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +/* Replace these functions only if module 'sigpipe' is requested. */ +#if GNULIB_SIGPIPE + +/* On native Windows platforms, SIGPIPE does not exist. When write() is + called on a pipe with no readers, WriteFile() fails with error + GetLastError() = ERROR_NO_DATA, and write() in consequence fails with + error EINVAL. This write() function is at the basis of the function + which flushes the buffer of a FILE stream. */ + +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + +# include +# include +# include + +# define WIN32_LEAN_AND_MEAN /* avoid including junk */ +# include + +# define CALL_WITH_SIGPIPE_EMULATION(RETTYPE, EXPRESSION, FAILED) \ + if (ferror (stream)) \ + return (EXPRESSION); \ + else \ + { \ + RETTYPE ret; \ + SetLastError (0); \ + ret = (EXPRESSION); \ + if (FAILED && GetLastError () == ERROR_NO_DATA && ferror (stream)) \ + { \ + int fd = fileno (stream); \ + if (fd >= 0 \ + && GetFileType ((HANDLE) _get_osfhandle (fd)) == FILE_TYPE_PIPE)\ + { \ + /* Try to raise signal SIGPIPE. */ \ + raise (SIGPIPE); \ + /* If it is currently blocked or ignored, change errno from \ + EINVAL to EPIPE. */ \ + errno = EPIPE; \ + } \ + } \ + return ret; \ + } + +# if !REPLACE_PRINTF_POSIX /* avoid collision with printf.c */ +int +printf (const char *format, ...) +{ + int retval; + va_list args; + + va_start (args, format); + retval = vfprintf (stdout, format, args); + va_end (args); + + return retval; +} +# endif + +# if !REPLACE_FPRINTF_POSIX /* avoid collision with fprintf.c */ +int +fprintf (FILE *stream, const char *format, ...) +{ + int retval; + va_list args; + + va_start (args, format); + retval = vfprintf (stream, format, args); + va_end (args); + + return retval; +} +# endif + +# if !REPLACE_VPRINTF_POSIX /* avoid collision with vprintf.c */ +int +vprintf (const char *format, va_list args) +{ + return vfprintf (stdout, format, args); +} +# endif + +# if !REPLACE_VFPRINTF_POSIX /* avoid collision with vfprintf.c */ +int +vfprintf (FILE *stream, const char *format, va_list args) +#undef vfprintf +{ + CALL_WITH_SIGPIPE_EMULATION (int, vfprintf (stream, format, args), ret == EOF) +} +# endif + +int +putchar (int c) +{ + return fputc (c, stdout); +} + +int +fputc (int c, FILE *stream) +#undef fputc +{ + CALL_WITH_SIGPIPE_EMULATION (int, fputc (c, stream), ret == EOF) +} + +int +fputs (const char *string, FILE *stream) +#undef fputs +{ + CALL_WITH_SIGPIPE_EMULATION (int, fputs (string, stream), ret == EOF) +} + +int +puts (const char *string) +#undef puts +{ + FILE *stream = stdout; + CALL_WITH_SIGPIPE_EMULATION (int, puts (string), ret == EOF) +} + +size_t +fwrite (const void *ptr, size_t s, size_t n, FILE *stream) +#undef fwrite +{ + CALL_WITH_SIGPIPE_EMULATION (size_t, fwrite (ptr, s, n, stream), ret < n) +} + +# endif +#endif diff --git a/grub-core/gnulib/stdio.in.h b/grub-core/gnulib/stdio.in.h new file mode 100644 index 0000000..80b9dbf --- /dev/null +++ b/grub-core/gnulib/stdio.in.h @@ -0,0 +1,1071 @@ +/* A GNU-like . + + Copyright (C) 2004, 2007-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +#if defined __need_FILE || defined __need___FILE +/* Special invocation convention inside glibc header files. */ + +#@INCLUDE_NEXT@ @NEXT_STDIO_H@ + +#else +/* Normal invocation convention. */ + +#ifndef _GL_STDIO_H + +/* The include_next requires a split double-inclusion guard. */ +#@INCLUDE_NEXT@ @NEXT_STDIO_H@ + +#ifndef _GL_STDIO_H +#define _GL_STDIO_H + +/* Get va_list. Needed on many systems, including glibc 2.8. */ +#include + +#include + +/* Get off_t and ssize_t. Needed on many systems, including glibc 2.8. */ +#include + +#ifndef __attribute__ +/* The __attribute__ feature is available in gcc versions 2.5 and later. + The __-protected variants of the attributes 'format' and 'printf' are + accepted by gcc versions 2.6.4 (effectively 2.7) and later. + We enable __attribute__ only if these are supported too, because + gnulib and libintl do '#define printf __printf__' when they override + the 'printf' function. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(Spec) /* empty */ +# endif +#endif + + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + +/* Macros for stringification. */ +#define _GL_STDIO_STRINGIZE(token) #token +#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) + + +#if @GNULIB_DPRINTF@ +# if @REPLACE_DPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define dprintf rpl_dprintf +# endif +_GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...)); +# else +# if !@HAVE_DPRINTF@ +_GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *format, ...)); +# endif +_GL_CXXALIASWARN (dprintf); +#elif defined GNULIB_POSIXCHECK +# undef dprintf +# if HAVE_RAW_DECL_DPRINTF +_GL_WARN_ON_USE (dprintf, "dprintf is unportable - " + "use gnulib module dprintf for portability"); +# endif +#endif + +#if @GNULIB_FCLOSE@ +/* Close STREAM and its underlying file descriptor. */ +# if @REPLACE_FCLOSE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define fclose rpl_fclose +# endif +_GL_FUNCDECL_RPL (fclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (fclose, int, (FILE *stream)); +# else +_GL_CXXALIAS_SYS (fclose, int, (FILE *stream)); +# endif +_GL_CXXALIASWARN (fclose); +#elif defined GNULIB_POSIXCHECK +# undef fclose +/* Assume fclose is always declared. */ +_GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " + "use gnulib module fclose for portable POSIX compliance"); +#endif + +#if @GNULIB_FFLUSH@ +/* Flush all pending data on STREAM according to POSIX rules. Both + output and seekable input streams are supported. + Note! LOSS OF DATA can occur if fflush is applied on an input stream + that is _not_seekable_ or on an update stream that is _not_seekable_ + and in which the most recent operation was input. Seekability can + be tested with lseek(fileno(fp),0,SEEK_CUR). */ +# if @REPLACE_FFLUSH@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define fflush rpl_fflush +# endif +_GL_FUNCDECL_RPL (fflush, int, (FILE *gl_stream)); +_GL_CXXALIAS_RPL (fflush, int, (FILE *gl_stream)); +# else +_GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream)); +# endif +_GL_CXXALIASWARN (fflush); +#elif defined GNULIB_POSIXCHECK +# undef fflush +/* Assume fflush is always declared. */ +_GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " + "use gnulib module fflush for portable POSIX compliance"); +#endif + +/* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ +#undef gets +_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + +#if @GNULIB_FOPEN@ +# if @REPLACE_FOPEN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fopen +# define fopen rpl_fopen +# endif +_GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode)); +# else +_GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode)); +# endif +_GL_CXXALIASWARN (fopen); +#elif defined GNULIB_POSIXCHECK +# undef fopen +/* Assume fopen is always declared. */ +_GL_WARN_ON_USE (fopen, "fopen on Win32 platforms is not POSIX compatible - " + "use gnulib module fopen for portability"); +#endif + +#if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ +# if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \ + || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@) +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define fprintf rpl_fprintf +# endif +# define GNULIB_overrides_fprintf 1 +_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...)); +# else +_GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...)); +# endif +_GL_CXXALIASWARN (fprintf); +#endif +#if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK +# if !GNULIB_overrides_fprintf +# undef fprintf +# endif +/* Assume fprintf is always declared. */ +_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " + "use gnulib module fprintf-posix for portable " + "POSIX compliance"); +#endif + +#if @GNULIB_FPURGE@ +/* Discard all pending buffered I/O data on STREAM. + STREAM must not be wide-character oriented. + When discarding pending output, the file position is set back to where it + was before the write calls. When discarding pending input, the file + position is advanced to match the end of the previously read input. + Return 0 if successful. Upon error, return -1 and set errno. */ +# if @REPLACE_FPURGE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define fpurge rpl_fpurge +# endif +_GL_FUNCDECL_RPL (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (fpurge, int, (FILE *gl_stream)); +# else +# if !@HAVE_DECL_FPURGE@ +_GL_FUNCDECL_SYS (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream)); +# endif +_GL_CXXALIASWARN (fpurge); +#elif defined GNULIB_POSIXCHECK +# undef fpurge +# if HAVE_RAW_DECL_FPURGE +_GL_WARN_ON_USE (fpurge, "fpurge is not always present - " + "use gnulib module fpurge for portability"); +# endif +#endif + +#if @GNULIB_FPUTC@ +# if @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fputc +# define fputc rpl_fputc +# endif +_GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (fputc, int, (int c, FILE *stream)); +# else +_GL_CXXALIAS_SYS (fputc, int, (int c, FILE *stream)); +# endif +_GL_CXXALIASWARN (fputc); +#endif + +#if @GNULIB_FPUTS@ +# if @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fputs +# define fputs rpl_fputs +# endif +_GL_FUNCDECL_RPL (fputs, int, (const char *string, FILE *stream) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (fputs, int, (const char *string, FILE *stream)); +# else +_GL_CXXALIAS_SYS (fputs, int, (const char *string, FILE *stream)); +# endif +_GL_CXXALIASWARN (fputs); +#endif + +#if @GNULIB_FREOPEN@ +# if @REPLACE_FREOPEN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef freopen +# define freopen rpl_freopen +# endif +_GL_FUNCDECL_RPL (freopen, FILE *, + (const char *filename, const char *mode, FILE *stream) + _GL_ARG_NONNULL ((2, 3))); +_GL_CXXALIAS_RPL (freopen, FILE *, + (const char *filename, const char *mode, FILE *stream)); +# else +_GL_CXXALIAS_SYS (freopen, FILE *, + (const char *filename, const char *mode, FILE *stream)); +# endif +_GL_CXXALIASWARN (freopen); +#elif defined GNULIB_POSIXCHECK +# undef freopen +/* Assume freopen is always declared. */ +_GL_WARN_ON_USE (freopen, "freopen on Win32 platforms is not POSIX compatible - " + "use gnulib module freopen for portability"); +#endif + + +/* Set up the following warnings, based on which modules are in use. + GNU Coding Standards discourage the use of fseek, since it imposes + an arbitrary limitation on some 32-bit hosts. Remember that the + fseek module depends on the fseeko module, so we only have three + cases to consider: + + 1. The developer is not using either module. Issue a warning under + GNULIB_POSIXCHECK for both functions, to remind them that both + functions have bugs on some systems. _GL_NO_LARGE_FILES has no + impact on this warning. + + 2. The developer is using both modules. They may be unaware of the + arbitrary limitations of fseek, so issue a warning under + GNULIB_POSIXCHECK. On the other hand, they may be using both + modules intentionally, so the developer can define + _GL_NO_LARGE_FILES in the compilation units where the use of fseek + is safe, to silence the warning. + + 3. The developer is using the fseeko module, but not fseek. Gnulib + guarantees that fseek will still work around platform bugs in that + case, but we presume that the developer is aware of the pitfalls of + fseek and was trying to avoid it, so issue a warning even when + GNULIB_POSIXCHECK is undefined. Again, _GL_NO_LARGE_FILES can be + defined to silence the warning in particular compilation units. + In C++ compilations with GNULIB_NAMESPACE, in order to avoid that + fseek gets defined as a macro, it is recommended that the developer + uses the fseek module, even if he is not calling the fseek function. + + Most gnulib clients that perform stream operations should fall into + category 3. */ + +#if @GNULIB_FSEEK@ +# if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES +# define _GL_FSEEK_WARN /* Category 2, above. */ +# undef fseek +# endif +# if @REPLACE_FSEEK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fseek +# define fseek rpl_fseek +# endif +_GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence)); +# else +_GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence)); +# endif +_GL_CXXALIASWARN (fseek); +#endif + +#if @GNULIB_FSEEKO@ +# if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES +# define _GL_FSEEK_WARN /* Category 3, above. */ +# undef fseek +# endif +# if @REPLACE_FSEEKO@ +/* Provide an fseeko function that is aware of a preceding fflush(), and which + detects pipes. */ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fseeko +# define fseeko rpl_fseeko +# endif +_GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)); +# else +# if ! @HAVE_FSEEKO@ +_GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)); +# endif +_GL_CXXALIASWARN (fseeko); +# if (@REPLACE_FSEEKO@ || !@HAVE_FSEEKO@) && !@GNULIB_FSEEK@ + /* Provide an fseek function that is consistent with fseeko. */ + /* In order to avoid that fseek gets defined as a macro here, the + developer can request the 'fseek' module. */ +# undef fseek +# define fseek rpl_fseek +static inline int _GL_ARG_NONNULL ((1)) +rpl_fseek (FILE *fp, long offset, int whence) +{ +# if @REPLACE_FSEEKO@ + return rpl_fseeko (fp, offset, whence); +# else + return fseeko (fp, offset, whence); +# endif +} +# endif +#elif defined GNULIB_POSIXCHECK +# define _GL_FSEEK_WARN /* Category 1, above. */ +# undef fseek +# undef fseeko +# if HAVE_RAW_DECL_FSEEKO +_GL_WARN_ON_USE (fseeko, "fseeko is unportable - " + "use gnulib module fseeko for portability"); +# endif +#endif + +#ifdef _GL_FSEEK_WARN +# undef _GL_FSEEK_WARN +/* Here, either fseek is undefined (but C89 guarantees that it is + declared), or it is defined as rpl_fseek (declared above). */ +_GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB " + "on 32-bit platforms - " + "use fseeko function for handling of large files"); +#endif + + +/* ftell, ftello. See the comments on fseek/fseeko. */ + +#if @GNULIB_FTELL@ +# if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES +# define _GL_FTELL_WARN /* Category 2, above. */ +# undef ftell +# endif +# if @REPLACE_FTELL@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef ftell +# define ftell rpl_ftell +# endif +_GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (ftell, long, (FILE *fp)); +# else +_GL_CXXALIAS_SYS (ftell, long, (FILE *fp)); +# endif +_GL_CXXALIASWARN (ftell); +#endif + +#if @GNULIB_FTELLO@ +# if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES +# define _GL_FTELL_WARN /* Category 3, above. */ +# undef ftell +# endif +# if @REPLACE_FTELLO@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef ftello +# define ftello rpl_ftello +# endif +_GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp)); +# else +# if ! @HAVE_FTELLO@ +_GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp)); +# endif +_GL_CXXALIASWARN (ftello); +# if (@REPLACE_FTELLO@ || !@HAVE_FTELLO@) && !@GNULIB_FTELL@ + /* Provide an ftell function that is consistent with ftello. */ + /* In order to avoid that ftell gets defined as a macro here, the + developer can request the 'ftell' module. */ +# undef ftell +# define ftell rpl_ftell +static inline long _GL_ARG_NONNULL ((1)) +rpl_ftell (FILE *f) +{ +# if @REPLACE_FTELLO@ + return rpl_ftello (f); +# else + return ftello (f); +# endif +} +# endif +#elif defined GNULIB_POSIXCHECK +# define _GL_FTELL_WARN /* Category 1, above. */ +# undef ftell +# undef ftello +# if HAVE_RAW_DECL_FTELLO +_GL_WARN_ON_USE (ftello, "ftello is unportable - " + "use gnulib module ftello for portability"); +# endif +#endif + +#ifdef _GL_FTELL_WARN +# undef _GL_FTELL_WARN +/* Here, either ftell is undefined (but C89 guarantees that it is + declared), or it is defined as rpl_ftell (declared above). */ +_GL_WARN_ON_USE (ftell, "ftell cannot handle files larger than 4 GB " + "on 32-bit platforms - " + "use ftello function for handling of large files"); +#endif + + +#if @GNULIB_FWRITE@ +# if @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fwrite +# define fwrite rpl_fwrite +# endif +_GL_FUNCDECL_RPL (fwrite, size_t, + (const void *ptr, size_t s, size_t n, FILE *stream) + _GL_ARG_NONNULL ((1, 4))); +_GL_CXXALIAS_RPL (fwrite, size_t, + (const void *ptr, size_t s, size_t n, FILE *stream)); +# else +_GL_CXXALIAS_SYS (fwrite, size_t, + (const void *ptr, size_t s, size_t n, FILE *stream)); +# endif +_GL_CXXALIASWARN (fwrite); +#endif + +#if @GNULIB_GETDELIM@ +/* Read input, up to (and including) the next occurrence of DELIMITER, from + STREAM, store it in *LINEPTR (and NUL-terminate it). + *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE + bytes of space. It is realloc'd as necessary. + Return the number of bytes read and stored at *LINEPTR (not including the + NUL terminator), or -1 on error or EOF. */ +# if @REPLACE_GETDELIM@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef getdelim +# define getdelim rpl_getdelim +# endif +_GL_FUNCDECL_RPL (getdelim, ssize_t, + (char **lineptr, size_t *linesize, int delimiter, + FILE *stream) + _GL_ARG_NONNULL ((1, 2, 4))); +_GL_CXXALIAS_RPL (getdelim, ssize_t, + (char **lineptr, size_t *linesize, int delimiter, + FILE *stream)); +# else +# if !@HAVE_DECL_GETDELIM@ +_GL_FUNCDECL_SYS (getdelim, ssize_t, + (char **lineptr, size_t *linesize, int delimiter, + FILE *stream) + _GL_ARG_NONNULL ((1, 2, 4))); +# endif +_GL_CXXALIAS_SYS (getdelim, ssize_t, + (char **lineptr, size_t *linesize, int delimiter, + FILE *stream)); +# endif +_GL_CXXALIASWARN (getdelim); +#elif defined GNULIB_POSIXCHECK +# undef getdelim +# if HAVE_RAW_DECL_GETDELIM +_GL_WARN_ON_USE (getdelim, "getdelim is unportable - " + "use gnulib module getdelim for portability"); +# endif +#endif + +#if @GNULIB_GETLINE@ +/* Read a line, up to (and including) the next newline, from STREAM, store it + in *LINEPTR (and NUL-terminate it). + *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE + bytes of space. It is realloc'd as necessary. + Return the number of bytes read and stored at *LINEPTR (not including the + NUL terminator), or -1 on error or EOF. */ +# if @REPLACE_GETLINE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef getline +# define getline rpl_getline +# endif +_GL_FUNCDECL_RPL (getline, ssize_t, + (char **lineptr, size_t *linesize, FILE *stream) + _GL_ARG_NONNULL ((1, 2, 3))); +_GL_CXXALIAS_RPL (getline, ssize_t, + (char **lineptr, size_t *linesize, FILE *stream)); +# else +# if !@HAVE_DECL_GETLINE@ +_GL_FUNCDECL_SYS (getline, ssize_t, + (char **lineptr, size_t *linesize, FILE *stream) + _GL_ARG_NONNULL ((1, 2, 3))); +# endif +_GL_CXXALIAS_SYS (getline, ssize_t, + (char **lineptr, size_t *linesize, FILE *stream)); +# endif +# if @HAVE_DECL_GETLINE@ +_GL_CXXALIASWARN (getline); +# endif +#elif defined GNULIB_POSIXCHECK +# undef getline +# if HAVE_RAW_DECL_GETLINE +_GL_WARN_ON_USE (getline, "getline is unportable - " + "use gnulib module getline for portability"); +# endif +#endif + +#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ +struct obstack; +/* Grow an obstack with formatted output. Return the number of + bytes added to OBS. No trailing nul byte is added, and the + object should be closed with obstack_finish before use. Upon + memory allocation error, call obstack_alloc_failed_handler. Upon + other error, return -1. */ +# if @REPLACE_OBSTACK_PRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define obstack_printf rpl_obstack_printf +# endif +_GL_FUNCDECL_RPL (obstack_printf, int, + (struct obstack *obs, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (obstack_printf, int, + (struct obstack *obs, const char *format, ...)); +# else +# if !@HAVE_DECL_OBSTACK_PRINTF@ +_GL_FUNCDECL_SYS (obstack_printf, int, + (struct obstack *obs, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (obstack_printf, int, + (struct obstack *obs, const char *format, ...)); +# endif +_GL_CXXALIASWARN (obstack_printf); +# if @REPLACE_OBSTACK_PRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define obstack_vprintf rpl_obstack_vprintf +# endif +_GL_FUNCDECL_RPL (obstack_vprintf, int, + (struct obstack *obs, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (obstack_vprintf, int, + (struct obstack *obs, const char *format, va_list args)); +# else +# if !@HAVE_DECL_OBSTACK_PRINTF@ +_GL_FUNCDECL_SYS (obstack_vprintf, int, + (struct obstack *obs, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (obstack_vprintf, int, + (struct obstack *obs, const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (obstack_vprintf); +#endif + +#if @GNULIB_PERROR@ +/* Print a message to standard error, describing the value of ERRNO, + (if STRING is not NULL and not empty) prefixed with STRING and ": ", + and terminated with a newline. */ +# if @REPLACE_PERROR@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define perror rpl_perror +# endif +_GL_FUNCDECL_RPL (perror, void, (const char *string)); +_GL_CXXALIAS_RPL (perror, void, (const char *string)); +# else +_GL_CXXALIAS_SYS (perror, void, (const char *string)); +# endif +_GL_CXXALIASWARN (perror); +#elif defined GNULIB_POSIXCHECK +# undef perror +/* Assume perror is always declared. */ +_GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " + "use gnulib module perror for portability"); +#endif + +#if @GNULIB_POPEN@ +# if @REPLACE_POPEN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef popen +# define popen rpl_popen +# endif +_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); +# else +_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); +# endif +_GL_CXXALIASWARN (popen); +#elif defined GNULIB_POSIXCHECK +# undef popen +# if HAVE_RAW_DECL_POPEN +_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " + "use gnulib module popen or pipe for more portability"); +# endif +#endif + +#if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@ +# if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \ + || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@) +# if defined __GNUC__ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +/* Don't break __attribute__((format(printf,M,N))). */ +# define printf __printf__ +# endif +_GL_FUNCDECL_RPL_1 (__printf__, int, + (const char *format, ...) + __asm__ (@ASM_SYMBOL_PREFIX@ + _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) + __attribute__ ((__format__ (__printf__, 1, 2))) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); +# else +_GL_FUNCDECL_RPL (printf, int, + (const char *format, ...) + __attribute__ ((__format__ (__printf__, 1, 2))) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (printf, int, (const char *format, ...)); +# endif +# define GNULIB_overrides_printf 1 +# else +_GL_CXXALIAS_SYS (printf, int, (const char *format, ...)); +# endif +_GL_CXXALIASWARN (printf); +#endif +#if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK +# if !GNULIB_overrides_printf +# undef printf +# endif +/* Assume printf is always declared. */ +_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " + "use gnulib module printf-posix for portable " + "POSIX compliance"); +#endif + +#if @GNULIB_PUTC@ +# if @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef putc +# define putc rpl_fputc +# endif +_GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL_1 (putc, rpl_fputc, int, (int c, FILE *stream)); +# else +_GL_CXXALIAS_SYS (putc, int, (int c, FILE *stream)); +# endif +_GL_CXXALIASWARN (putc); +#endif + +#if @GNULIB_PUTCHAR@ +# if @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef putchar +# define putchar rpl_putchar +# endif +_GL_FUNCDECL_RPL (putchar, int, (int c)); +_GL_CXXALIAS_RPL (putchar, int, (int c)); +# else +_GL_CXXALIAS_SYS (putchar, int, (int c)); +# endif +_GL_CXXALIASWARN (putchar); +#endif + +#if @GNULIB_PUTS@ +# if @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef puts +# define puts rpl_puts +# endif +_GL_FUNCDECL_RPL (puts, int, (const char *string) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (puts, int, (const char *string)); +# else +_GL_CXXALIAS_SYS (puts, int, (const char *string)); +# endif +_GL_CXXALIASWARN (puts); +#endif + +#if @GNULIB_REMOVE@ +# if @REPLACE_REMOVE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef remove +# define remove rpl_remove +# endif +_GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (remove, int, (const char *name)); +# else +_GL_CXXALIAS_SYS (remove, int, (const char *name)); +# endif +_GL_CXXALIASWARN (remove); +#elif defined GNULIB_POSIXCHECK +# undef remove +/* Assume remove is always declared. */ +_GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " + "use gnulib module remove for more portability"); +#endif + +#if @GNULIB_RENAME@ +# if @REPLACE_RENAME@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef rename +# define rename rpl_rename +# endif +_GL_FUNCDECL_RPL (rename, int, + (const char *old_filename, const char *new_filename) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (rename, int, + (const char *old_filename, const char *new_filename)); +# else +_GL_CXXALIAS_SYS (rename, int, + (const char *old_filename, const char *new_filename)); +# endif +_GL_CXXALIASWARN (rename); +#elif defined GNULIB_POSIXCHECK +# undef rename +/* Assume rename is always declared. */ +_GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " + "use gnulib module rename for more portability"); +#endif + +#if @GNULIB_RENAMEAT@ +# if @REPLACE_RENAMEAT@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef renameat +# define renameat rpl_renameat +# endif +_GL_FUNCDECL_RPL (renameat, int, + (int fd1, char const *file1, int fd2, char const *file2) + _GL_ARG_NONNULL ((2, 4))); +_GL_CXXALIAS_RPL (renameat, int, + (int fd1, char const *file1, int fd2, char const *file2)); +# else +# if !@HAVE_RENAMEAT@ +_GL_FUNCDECL_SYS (renameat, int, + (int fd1, char const *file1, int fd2, char const *file2) + _GL_ARG_NONNULL ((2, 4))); +# endif +_GL_CXXALIAS_SYS (renameat, int, + (int fd1, char const *file1, int fd2, char const *file2)); +# endif +_GL_CXXALIASWARN (renameat); +#elif defined GNULIB_POSIXCHECK +# undef renameat +# if HAVE_RAW_DECL_RENAMEAT +_GL_WARN_ON_USE (renameat, "renameat is not portable - " + "use gnulib module renameat for portability"); +# endif +#endif + +#if @GNULIB_SNPRINTF@ +# if @REPLACE_SNPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define snprintf rpl_snprintf +# endif +_GL_FUNCDECL_RPL (snprintf, int, + (char *str, size_t size, const char *format, ...) + __attribute__ ((__format__ (__printf__, 3, 4))) + _GL_ARG_NONNULL ((3))); +_GL_CXXALIAS_RPL (snprintf, int, + (char *str, size_t size, const char *format, ...)); +# else +# if !@HAVE_DECL_SNPRINTF@ +_GL_FUNCDECL_SYS (snprintf, int, + (char *str, size_t size, const char *format, ...) + __attribute__ ((__format__ (__printf__, 3, 4))) + _GL_ARG_NONNULL ((3))); +# endif +_GL_CXXALIAS_SYS (snprintf, int, + (char *str, size_t size, const char *format, ...)); +# endif +_GL_CXXALIASWARN (snprintf); +#elif defined GNULIB_POSIXCHECK +# undef snprintf +# if HAVE_RAW_DECL_SNPRINTF +_GL_WARN_ON_USE (snprintf, "snprintf is unportable - " + "use gnulib module snprintf for portability"); +# endif +#endif + +/* Some people would argue that sprintf should be handled like gets + (for example, OpenBSD issues a link warning for both functions), + since both can cause security holes due to buffer overruns. + However, we believe that sprintf can be used safely, and is more + efficient than snprintf in those safe cases; and as proof of our + belief, we use sprintf in several gnulib modules. So this header + intentionally avoids adding a warning to sprintf except when + GNULIB_POSIXCHECK is defined. */ + +#if @GNULIB_SPRINTF_POSIX@ +# if @REPLACE_SPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define sprintf rpl_sprintf +# endif +_GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...)); +# else +_GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...)); +# endif +_GL_CXXALIASWARN (sprintf); +#elif defined GNULIB_POSIXCHECK +# undef sprintf +/* Assume sprintf is always declared. */ +_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " + "use gnulib module sprintf-posix for portable " + "POSIX compliance"); +#endif + +#if @GNULIB_TMPFILE@ +# if @REPLACE_TMPFILE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define tmpfile rpl_tmpfile +# endif +_GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); +_GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); +# else +_GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); +# endif +_GL_CXXALIASWARN (tmpfile); +#elif defined GNULIB_POSIXCHECK +# undef tmpfile +# if HAVE_RAW_DECL_TMPFILE +_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " + "use gnulib module tmpfile for portability"); +# endif +#endif + +#if @GNULIB_VASPRINTF@ +/* Write formatted output to a string dynamically allocated with malloc(). + If the memory allocation succeeds, store the address of the string in + *RESULT and return the number of resulting bytes, excluding the trailing + NUL. Upon memory allocation error, or some other error, return -1. */ +# if @REPLACE_VASPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define asprintf rpl_asprintf +# endif +_GL_FUNCDECL_RPL (asprintf, int, + (char **result, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (asprintf, int, + (char **result, const char *format, ...)); +# else +# if !@HAVE_VASPRINTF@ +_GL_FUNCDECL_SYS (asprintf, int, + (char **result, const char *format, ...) + __attribute__ ((__format__ (__printf__, 2, 3))) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (asprintf, int, + (char **result, const char *format, ...)); +# endif +_GL_CXXALIASWARN (asprintf); +# if @REPLACE_VASPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define vasprintf rpl_vasprintf +# endif +_GL_FUNCDECL_RPL (vasprintf, int, + (char **result, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (vasprintf, int, + (char **result, const char *format, va_list args)); +# else +# if !@HAVE_VASPRINTF@ +_GL_FUNCDECL_SYS (vasprintf, int, + (char **result, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (vasprintf, int, + (char **result, const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (vasprintf); +#endif + +#if @GNULIB_VDPRINTF@ +# if @REPLACE_VDPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define vdprintf rpl_vdprintf +# endif +_GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *format, va_list args)); +# else +# if !@HAVE_VDPRINTF@ +_GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((2))); +# endif +/* Need to cast, because on Solaris, the third parameter will likely be + __va_list args. */ +_GL_CXXALIAS_SYS_CAST (vdprintf, int, + (int fd, const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (vdprintf); +#elif defined GNULIB_POSIXCHECK +# undef vdprintf +# if HAVE_RAW_DECL_VDPRINTF +_GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " + "use gnulib module vdprintf for portability"); +# endif +#endif + +#if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@ +# if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \ + || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@) +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define vfprintf rpl_vfprintf +# endif +# define GNULIB_overrides_vfprintf 1 +_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)); +# else +/* Need to cast, because on Solaris, the third parameter is + __va_list args + and GCC's fixincludes did not change this to __gnuc_va_list. */ +_GL_CXXALIAS_SYS_CAST (vfprintf, int, + (FILE *fp, const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (vfprintf); +#endif +#if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK +# if !GNULIB_overrides_vfprintf +# undef vfprintf +# endif +/* Assume vfprintf is always declared. */ +_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " + "use gnulib module vfprintf-posix for portable " + "POSIX compliance"); +#endif + +#if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@ +# if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \ + || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && @GNULIB_STDIO_H_SIGPIPE@) +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define vprintf rpl_vprintf +# endif +# define GNULIB_overrides_vprintf 1 +_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 1, 0))) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args)); +# else +/* Need to cast, because on Solaris, the second parameter is + __va_list args + and GCC's fixincludes did not change this to __gnuc_va_list. */ +_GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (vprintf); +#endif +#if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK +# if !GNULIB_overrides_vprintf +# undef vprintf +# endif +/* Assume vprintf is always declared. */ +_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " + "use gnulib module vprintf-posix for portable " + "POSIX compliance"); +#endif + +#if @GNULIB_VSNPRINTF@ +# if @REPLACE_VSNPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define vsnprintf rpl_vsnprintf +# endif +_GL_FUNCDECL_RPL (vsnprintf, int, + (char *str, size_t size, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 3, 0))) + _GL_ARG_NONNULL ((3))); +_GL_CXXALIAS_RPL (vsnprintf, int, + (char *str, size_t size, const char *format, va_list args)); +# else +# if !@HAVE_DECL_VSNPRINTF@ +_GL_FUNCDECL_SYS (vsnprintf, int, + (char *str, size_t size, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 3, 0))) + _GL_ARG_NONNULL ((3))); +# endif +_GL_CXXALIAS_SYS (vsnprintf, int, + (char *str, size_t size, const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (vsnprintf); +#elif defined GNULIB_POSIXCHECK +# undef vsnprintf +# if HAVE_RAW_DECL_VSNPRINTF +_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " + "use gnulib module vsnprintf for portability"); +# endif +#endif + +#if @GNULIB_VSPRINTF_POSIX@ +# if @REPLACE_VSPRINTF@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define vsprintf rpl_vsprintf +# endif +_GL_FUNCDECL_RPL (vsprintf, int, + (char *str, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 2, 0))) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (vsprintf, int, + (char *str, const char *format, va_list args)); +# else +/* Need to cast, because on Solaris, the third parameter is + __va_list args + and GCC's fixincludes did not change this to __gnuc_va_list. */ +_GL_CXXALIAS_SYS_CAST (vsprintf, int, + (char *str, const char *format, va_list args)); +# endif +_GL_CXXALIASWARN (vsprintf); +#elif defined GNULIB_POSIXCHECK +# undef vsprintf +/* Assume vsprintf is always declared. */ +_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " + "use gnulib module vsprintf-posix for portable " + "POSIX compliance"); +#endif + + +#endif /* _GL_STDIO_H */ +#endif /* _GL_STDIO_H */ +#endif diff --git a/grub-core/gnulib/stdlib.in.h b/grub-core/gnulib/stdlib.in.h new file mode 100644 index 0000000..f4309ed --- /dev/null +++ b/grub-core/gnulib/stdlib.in.h @@ -0,0 +1,715 @@ +/* A GNU-like . + + Copyright (C) 1995, 2001-2004, 2006-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +#if defined __need_malloc_and_calloc +/* Special invocation convention inside glibc header files. */ + +#@INCLUDE_NEXT@ @NEXT_STDLIB_H@ + +#else +/* Normal invocation convention. */ + +#ifndef _GL_STDLIB_H + +/* The include_next requires a split double-inclusion guard. */ +#@INCLUDE_NEXT@ @NEXT_STDLIB_H@ + +#ifndef _GL_STDLIB_H +#define _GL_STDLIB_H + +/* NetBSD 5.0 mis-defines NULL. */ +#include + +/* MirBSD 10 defines WEXITSTATUS in , not in . */ +#ifndef WEXITSTATUS +# include +#endif + +/* Solaris declares getloadavg() in . */ +#if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@ +# include +#endif + +/* OSF/1 5.1 declares 'struct random_data' in , which is included + from if _REENTRANT is defined. Include it always. */ +#if @HAVE_RANDOM_H@ +# include +#endif + +#if !@HAVE_STRUCT_RANDOM_DATA@ || (@GNULIB_RANDOM_R@ && !@HAVE_RANDOM_R@) \ + || defined GNULIB_POSIXCHECK +# include +#endif + +#if !@HAVE_STRUCT_RANDOM_DATA@ +struct random_data +{ + int32_t *fptr; /* Front pointer. */ + int32_t *rptr; /* Rear pointer. */ + int32_t *state; /* Array of state values. */ + int rand_type; /* Type of random number generator. */ + int rand_deg; /* Degree of random number generator. */ + int rand_sep; /* Distance between front and rear. */ + int32_t *end_ptr; /* Pointer behind state table. */ +}; +#endif + +#if (@GNULIB_MKSTEMP@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) +/* On MacOS X 10.3, only declares mkstemp. */ +/* On Cygwin 1.7.1, only declares getsubopt. */ +/* But avoid namespace pollution on glibc systems and native Windows. */ +# include +#endif + +#ifndef __attribute__ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) +# define __attribute__(Spec) /* empty */ +# endif +#endif + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + + +/* Some systems do not define EXIT_*, despite otherwise supporting C89. */ +#ifndef EXIT_SUCCESS +# define EXIT_SUCCESS 0 +#endif +/* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere + with proper operation of xargs. */ +#ifndef EXIT_FAILURE +# define EXIT_FAILURE 1 +#elif EXIT_FAILURE != 1 +# undef EXIT_FAILURE +# define EXIT_FAILURE 1 +#endif + + +#if @GNULIB__EXIT@ +/* Terminate the current process with the given return code, without running + the 'atexit' handlers. */ +# if !@HAVE__EXIT@ +_GL_FUNCDECL_SYS (_Exit, void, (int status) __attribute__ ((__noreturn__))); +# endif +_GL_CXXALIAS_SYS (_Exit, void, (int status)); +_GL_CXXALIASWARN (_Exit); +#elif defined GNULIB_POSIXCHECK +# undef _Exit +# if HAVE_RAW_DECL__EXIT +_GL_WARN_ON_USE (_Exit, "_Exit is unportable - " + "use gnulib module _Exit for portability"); +# endif +#endif + + +#if @GNULIB_ATOLL@ +/* Parse a signed decimal integer. + Returns the value of the integer. Errors are not detected. */ +# if !@HAVE_ATOLL@ +_GL_FUNCDECL_SYS (atoll, long long, (const char *string) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (atoll, long long, (const char *string)); +_GL_CXXALIASWARN (atoll); +#elif defined GNULIB_POSIXCHECK +# undef atoll +# if HAVE_RAW_DECL_ATOLL +_GL_WARN_ON_USE (atoll, "atoll is unportable - " + "use gnulib module atoll for portability"); +# endif +#endif + +#if @GNULIB_CALLOC_POSIX@ +# if @REPLACE_CALLOC@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef calloc +# define calloc rpl_calloc +# endif +_GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size)); +_GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); +# else +_GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); +# endif +_GL_CXXALIASWARN (calloc); +#elif defined GNULIB_POSIXCHECK +# undef calloc +/* Assume calloc is always declared. */ +_GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " + "use gnulib module calloc-posix for portability"); +#endif + +#if @GNULIB_CANONICALIZE_FILE_NAME@ +# if @REPLACE_CANONICALIZE_FILE_NAME@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define canonicalize_file_name rpl_canonicalize_file_name +# endif +_GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); +# else +# if !@HAVE_CANONICALIZE_FILE_NAME@ +_GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); +# endif +_GL_CXXALIASWARN (canonicalize_file_name); +#elif defined GNULIB_POSIXCHECK +# undef canonicalize_file_name +# if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME +_GL_WARN_ON_USE (canonicalize_file_name, "canonicalize_file_name is unportable - " + "use gnulib module canonicalize-lgpl for portability"); +# endif +#endif + +#if @GNULIB_GETLOADAVG@ +/* Store max(NELEM,3) load average numbers in LOADAVG[]. + The three numbers are the load average of the last 1 minute, the last 5 + minutes, and the last 15 minutes, respectively. + LOADAVG is an array of NELEM numbers. */ +# if !@HAVE_DECL_GETLOADAVG@ +_GL_FUNCDECL_SYS (getloadavg, int, (double loadavg[], int nelem) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem)); +_GL_CXXALIASWARN (getloadavg); +#elif defined GNULIB_POSIXCHECK +# undef getloadavg +# if HAVE_RAW_DECL_GETLOADAVG +_GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " + "use gnulib module getloadavg for portability"); +# endif +#endif + +#if @GNULIB_GETSUBOPT@ +/* Assuming *OPTIONP is a comma separated list of elements of the form + "token" or "token=value", getsubopt parses the first of these elements. + If the first element refers to a "token" that is member of the given + NULL-terminated array of tokens: + - It replaces the comma with a NUL byte, updates *OPTIONP to point past + the first option and the comma, sets *VALUEP to the value of the + element (or NULL if it doesn't contain an "=" sign), + - It returns the index of the "token" in the given array of tokens. + Otherwise it returns -1, and *OPTIONP and *VALUEP are undefined. + For more details see the POSIX:2001 specification. + http://www.opengroup.org/susv3xsh/getsubopt.html */ +# if !@HAVE_GETSUBOPT@ +_GL_FUNCDECL_SYS (getsubopt, int, + (char **optionp, char *const *tokens, char **valuep) + _GL_ARG_NONNULL ((1, 2, 3))); +# endif +_GL_CXXALIAS_SYS (getsubopt, int, + (char **optionp, char *const *tokens, char **valuep)); +_GL_CXXALIASWARN (getsubopt); +#elif defined GNULIB_POSIXCHECK +# undef getsubopt +# if HAVE_RAW_DECL_GETSUBOPT +_GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " + "use gnulib module getsubopt for portability"); +# endif +#endif + +#if @GNULIB_GRANTPT@ +/* Change the ownership and access permission of the slave side of the + pseudo-terminal whose master side is specified by FD. */ +# if !@HAVE_GRANTPT@ +_GL_FUNCDECL_SYS (grantpt, int, (int fd)); +# endif +_GL_CXXALIAS_SYS (grantpt, int, (int fd)); +_GL_CXXALIASWARN (grantpt); +#elif defined GNULIB_POSIXCHECK +# undef grantpt +# if HAVE_RAW_DECL_GRANTPT +_GL_WARN_ON_USE (ptsname, "grantpt is not portable - " + "use gnulib module grantpt for portability"); +# endif +#endif + +#if @GNULIB_MALLOC_POSIX@ +# if @REPLACE_MALLOC@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef malloc +# define malloc rpl_malloc +# endif +_GL_FUNCDECL_RPL (malloc, void *, (size_t size)); +_GL_CXXALIAS_RPL (malloc, void *, (size_t size)); +# else +_GL_CXXALIAS_SYS (malloc, void *, (size_t size)); +# endif +_GL_CXXALIASWARN (malloc); +#elif defined GNULIB_POSIXCHECK +# undef malloc +/* Assume malloc is always declared. */ +_GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " + "use gnulib module malloc-posix for portability"); +#endif + +#if @GNULIB_MKDTEMP@ +/* Create a unique temporary directory from TEMPLATE. + The last six characters of TEMPLATE must be "XXXXXX"; + they are replaced with a string that makes the directory name unique. + Returns TEMPLATE, or a null pointer if it cannot get a unique name. + The directory is created mode 700. */ +# if !@HAVE_MKDTEMP@ +_GL_FUNCDECL_SYS (mkdtemp, char *, (char * /*template*/) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); +_GL_CXXALIASWARN (mkdtemp); +#elif defined GNULIB_POSIXCHECK +# undef mkdtemp +# if HAVE_RAW_DECL_MKDTEMP +_GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " + "use gnulib module mkdtemp for portability"); +# endif +#endif + +#if @GNULIB_MKOSTEMP@ +/* Create a unique temporary file from TEMPLATE. + The last six characters of TEMPLATE must be "XXXXXX"; + they are replaced with a string that makes the file name unique. + The flags are a bitmask, possibly including O_CLOEXEC (defined in ) + and O_TEXT, O_BINARY (defined in "binary-io.h"). + The file is then created, with the specified flags, ensuring it didn't exist + before. + The file is created read-write (mask at least 0600 & ~umask), but it may be + world-readable and world-writable (mask 0666 & ~umask), depending on the + implementation. + Returns the open file descriptor if successful, otherwise -1 and errno + set. */ +# if !@HAVE_MKOSTEMP@ +_GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)); +_GL_CXXALIASWARN (mkostemp); +#elif defined GNULIB_POSIXCHECK +# undef mkostemp +# if HAVE_RAW_DECL_MKOSTEMP +_GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " + "use gnulib module mkostemp for portability"); +# endif +#endif + +#if @GNULIB_MKOSTEMPS@ +/* Create a unique temporary file from TEMPLATE. + The last six characters of TEMPLATE before a suffix of length + SUFFIXLEN must be "XXXXXX"; + they are replaced with a string that makes the file name unique. + The flags are a bitmask, possibly including O_CLOEXEC (defined in ) + and O_TEXT, O_BINARY (defined in "binary-io.h"). + The file is then created, with the specified flags, ensuring it didn't exist + before. + The file is created read-write (mask at least 0600 & ~umask), but it may be + world-readable and world-writable (mask 0666 & ~umask), depending on the + implementation. + Returns the open file descriptor if successful, otherwise -1 and errno + set. */ +# if !@HAVE_MKOSTEMPS@ +_GL_FUNCDECL_SYS (mkostemps, int, + (char * /*template*/, int /*suffixlen*/, int /*flags*/) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (mkostemps, int, + (char * /*template*/, int /*suffixlen*/, int /*flags*/)); +_GL_CXXALIASWARN (mkostemps); +#elif defined GNULIB_POSIXCHECK +# undef mkostemps +# if HAVE_RAW_DECL_MKOSTEMPS +_GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " + "use gnulib module mkostemps for portability"); +# endif +#endif + +#if @GNULIB_MKSTEMP@ +/* Create a unique temporary file from TEMPLATE. + The last six characters of TEMPLATE must be "XXXXXX"; + they are replaced with a string that makes the file name unique. + The file is then created, ensuring it didn't exist before. + The file is created read-write (mask at least 0600 & ~umask), but it may be + world-readable and world-writable (mask 0666 & ~umask), depending on the + implementation. + Returns the open file descriptor if successful, otherwise -1 and errno + set. */ +# if @REPLACE_MKSTEMP@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define mkstemp rpl_mkstemp +# endif +_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/)); +# else +# if ! @HAVE_MKSTEMP@ +_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); +# endif +_GL_CXXALIASWARN (mkstemp); +#elif defined GNULIB_POSIXCHECK +# undef mkstemp +# if HAVE_RAW_DECL_MKSTEMP +_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " + "use gnulib module mkstemp for portability"); +# endif +#endif + +#if @GNULIB_MKSTEMPS@ +/* Create a unique temporary file from TEMPLATE. + The last six characters of TEMPLATE prior to a suffix of length + SUFFIXLEN must be "XXXXXX"; + they are replaced with a string that makes the file name unique. + The file is then created, ensuring it didn't exist before. + The file is created read-write (mask at least 0600 & ~umask), but it may be + world-readable and world-writable (mask 0666 & ~umask), depending on the + implementation. + Returns the open file descriptor if successful, otherwise -1 and errno + set. */ +# if !@HAVE_MKSTEMPS@ +_GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); +_GL_CXXALIASWARN (mkstemps); +#elif defined GNULIB_POSIXCHECK +# undef mkstemps +# if HAVE_RAW_DECL_MKSTEMPS +_GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " + "use gnulib module mkstemps for portability"); +# endif +#endif + +#if @GNULIB_PTSNAME@ +/* Return the pathname of the pseudo-terminal slave associated with + the master FD is open on, or NULL on errors. */ +# if !@HAVE_PTSNAME@ +_GL_FUNCDECL_SYS (ptsname, char *, (int fd)); +# endif +_GL_CXXALIAS_SYS (ptsname, char *, (int fd)); +_GL_CXXALIASWARN (ptsname); +#elif defined GNULIB_POSIXCHECK +# undef ptsname +# if HAVE_RAW_DECL_PTSNAME +_GL_WARN_ON_USE (ptsname, "ptsname is not portable - " + "use gnulib module ptsname for portability"); +# endif +#endif + +#if @GNULIB_PUTENV@ +# if @REPLACE_PUTENV@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef putenv +# define putenv rpl_putenv +# endif +_GL_FUNCDECL_RPL (putenv, int, (char *string) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (putenv, int, (char *string)); +# else +_GL_CXXALIAS_SYS (putenv, int, (char *string)); +# endif +_GL_CXXALIASWARN (putenv); +#endif + + +#if @GNULIB_RANDOM_R@ +# if !@HAVE_RANDOM_R@ +# ifndef RAND_MAX +# define RAND_MAX 2147483647 +# endif +# endif +#endif + +#if @GNULIB_RANDOM_R@ +# if !@HAVE_RANDOM_R@ +_GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); +_GL_CXXALIASWARN (random_r); +#elif defined GNULIB_POSIXCHECK +# undef random_r +# if HAVE_RAW_DECL_RANDOM_R +_GL_WARN_ON_USE (random_r, "random_r is unportable - " + "use gnulib module random_r for portability"); +# endif +#endif + +#if @GNULIB_RANDOM_R@ +# if !@HAVE_RANDOM_R@ +_GL_FUNCDECL_SYS (srandom_r, int, + (unsigned int seed, struct random_data *rand_state) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (srandom_r, int, + (unsigned int seed, struct random_data *rand_state)); +_GL_CXXALIASWARN (srandom_r); +#elif defined GNULIB_POSIXCHECK +# undef srandom_r +# if HAVE_RAW_DECL_SRANDOM_R +_GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " + "use gnulib module random_r for portability"); +# endif +#endif + +#if @GNULIB_RANDOM_R@ +# if !@HAVE_RANDOM_R@ +_GL_FUNCDECL_SYS (initstate_r, int, + (unsigned int seed, char *buf, size_t buf_size, + struct random_data *rand_state) + _GL_ARG_NONNULL ((2, 4))); +# endif +_GL_CXXALIAS_SYS (initstate_r, int, + (unsigned int seed, char *buf, size_t buf_size, + struct random_data *rand_state)); +_GL_CXXALIASWARN (initstate_r); +#elif defined GNULIB_POSIXCHECK +# undef initstate_r +# if HAVE_RAW_DECL_INITSTATE_R +_GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " + "use gnulib module random_r for portability"); +# endif +#endif + +#if @GNULIB_RANDOM_R@ +# if !@HAVE_RANDOM_R@ +_GL_FUNCDECL_SYS (setstate_r, int, + (char *arg_state, struct random_data *rand_state) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (setstate_r, int, + (char *arg_state, struct random_data *rand_state)); +_GL_CXXALIASWARN (setstate_r); +#elif defined GNULIB_POSIXCHECK +# undef setstate_r +# if HAVE_RAW_DECL_SETSTATE_R +_GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " + "use gnulib module random_r for portability"); +# endif +#endif + + +#if @GNULIB_REALLOC_POSIX@ +# if @REPLACE_REALLOC@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef realloc +# define realloc rpl_realloc +# endif +_GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size)); +_GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size)); +# else +_GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size)); +# endif +_GL_CXXALIASWARN (realloc); +#elif defined GNULIB_POSIXCHECK +# undef realloc +/* Assume realloc is always declared. */ +_GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " + "use gnulib module realloc-posix for portability"); +#endif + +#if @GNULIB_REALPATH@ +# if @REPLACE_REALPATH@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define realpath rpl_realpath +# endif +_GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved)); +# else +# if !@HAVE_REALPATH@ +_GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved)); +# endif +_GL_CXXALIASWARN (realpath); +#elif defined GNULIB_POSIXCHECK +# undef realpath +# if HAVE_RAW_DECL_REALPATH +_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " + "canonicalize or canonicalize-lgpl for portability"); +# endif +#endif + +#if @GNULIB_RPMATCH@ +/* Test a user response to a question. + Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ +# if !@HAVE_RPMATCH@ +_GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); +_GL_CXXALIASWARN (rpmatch); +#elif defined GNULIB_POSIXCHECK +# undef rpmatch +# if HAVE_RAW_DECL_RPMATCH +_GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " + "use gnulib module rpmatch for portability"); +# endif +#endif + +#if @GNULIB_SETENV@ +/* Set NAME to VALUE in the environment. + If REPLACE is nonzero, overwrite an existing value. */ +# if @REPLACE_SETENV@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef setenv +# define setenv rpl_setenv +# endif +_GL_FUNCDECL_RPL (setenv, int, + (const char *name, const char *value, int replace) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (setenv, int, + (const char *name, const char *value, int replace)); +# else +# if !@HAVE_SETENV@ +_GL_FUNCDECL_SYS (setenv, int, + (const char *name, const char *value, int replace) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (setenv, int, + (const char *name, const char *value, int replace)); +# endif +_GL_CXXALIASWARN (setenv); +#elif defined GNULIB_POSIXCHECK +# undef setenv +# if HAVE_RAW_DECL_SETENV +_GL_WARN_ON_USE (setenv, "setenv is unportable - " + "use gnulib module setenv for portability"); +# endif +#endif + +#if @GNULIB_STRTOD@ + /* Parse a double from STRING, updating ENDP if appropriate. */ +# if @REPLACE_STRTOD@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define strtod rpl_strtod +# endif +_GL_FUNCDECL_RPL (strtod, double, (const char *str, char **endp) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (strtod, double, (const char *str, char **endp)); +# else +# if !@HAVE_STRTOD@ +_GL_FUNCDECL_SYS (strtod, double, (const char *str, char **endp) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (strtod, double, (const char *str, char **endp)); +# endif +_GL_CXXALIASWARN (strtod); +#elif defined GNULIB_POSIXCHECK +# undef strtod +# if HAVE_RAW_DECL_STRTOD +_GL_WARN_ON_USE (strtod, "strtod is unportable - " + "use gnulib module strtod for portability"); +# endif +#endif + +#if @GNULIB_STRTOLL@ +/* Parse a signed integer whose textual representation starts at STRING. + The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, + it may be decimal or octal (with prefix "0") or hexadecimal (with prefix + "0x"). + If ENDPTR is not NULL, the address of the first byte after the integer is + stored in *ENDPTR. + Upon overflow, the return value is LLONG_MAX or LLONG_MIN, and errno is set + to ERANGE. */ +# if !@HAVE_STRTOLL@ +_GL_FUNCDECL_SYS (strtoll, long long, + (const char *string, char **endptr, int base) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (strtoll, long long, + (const char *string, char **endptr, int base)); +_GL_CXXALIASWARN (strtoll); +#elif defined GNULIB_POSIXCHECK +# undef strtoll +# if HAVE_RAW_DECL_STRTOLL +_GL_WARN_ON_USE (strtoll, "strtoll is unportable - " + "use gnulib module strtoll for portability"); +# endif +#endif + +#if @GNULIB_STRTOULL@ +/* Parse an unsigned integer whose textual representation starts at STRING. + The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, + it may be decimal or octal (with prefix "0") or hexadecimal (with prefix + "0x"). + If ENDPTR is not NULL, the address of the first byte after the integer is + stored in *ENDPTR. + Upon overflow, the return value is ULLONG_MAX, and errno is set to + ERANGE. */ +# if !@HAVE_STRTOULL@ +_GL_FUNCDECL_SYS (strtoull, unsigned long long, + (const char *string, char **endptr, int base) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (strtoull, unsigned long long, + (const char *string, char **endptr, int base)); +_GL_CXXALIASWARN (strtoull); +#elif defined GNULIB_POSIXCHECK +# undef strtoull +# if HAVE_RAW_DECL_STRTOULL +_GL_WARN_ON_USE (strtoull, "strtoull is unportable - " + "use gnulib module strtoull for portability"); +# endif +#endif + +#if @GNULIB_UNLOCKPT@ +/* Unlock the slave side of the pseudo-terminal whose master side is specified + by FD, so that it can be opened. */ +# if !@HAVE_UNLOCKPT@ +_GL_FUNCDECL_SYS (unlockpt, int, (int fd)); +# endif +_GL_CXXALIAS_SYS (unlockpt, int, (int fd)); +_GL_CXXALIASWARN (unlockpt); +#elif defined GNULIB_POSIXCHECK +# undef unlockpt +# if HAVE_RAW_DECL_UNLOCKPT +_GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " + "use gnulib module unlockpt for portability"); +# endif +#endif + +#if @GNULIB_UNSETENV@ +/* Remove the variable NAME from the environment. */ +# if @REPLACE_UNSETENV@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef unsetenv +# define unsetenv rpl_unsetenv +# endif +_GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); +# else +# if !@HAVE_UNSETENV@ +_GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); +# endif +_GL_CXXALIASWARN (unsetenv); +#elif defined GNULIB_POSIXCHECK +# undef unsetenv +# if HAVE_RAW_DECL_UNSETENV +_GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " + "use gnulib module unsetenv for portability"); +# endif +#endif + + +#endif /* _GL_STDLIB_H */ +#endif /* _GL_STDLIB_H */ +#endif diff --git a/grub-core/gnulib/strcasecmp.c b/grub-core/gnulib/strcasecmp.c new file mode 100644 index 0000000..612c80f --- /dev/null +++ b/grub-core/gnulib/strcasecmp.c @@ -0,0 +1,63 @@ +/* Case-insensitive string comparison function. + Copyright (C) 1998-1999, 2005-2007, 2009-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +/* Specification. */ +#include + +#include +#include + +#define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) + +/* Compare strings S1 and S2, ignoring case, returning less than, equal to or + greater than zero if S1 is lexicographically less than, equal to or greater + than S2. + Note: This function does not work with multibyte strings! */ + +int +strcasecmp (const char *s1, const char *s2) +{ + const unsigned char *p1 = (const unsigned char *) s1; + const unsigned char *p2 = (const unsigned char *) s2; + unsigned char c1, c2; + + if (p1 == p2) + return 0; + + do + { + c1 = TOLOWER (*p1); + c2 = TOLOWER (*p2); + + if (c1 == '\0') + break; + + ++p1; + ++p2; + } + while (c1 == c2); + + if (UCHAR_MAX <= INT_MAX) + return c1 - c2; + else + /* On machines where 'char' and 'int' are types of the same size, the + difference of two 'unsigned char' values - including the sign bit - + doesn't fit in an 'int'. */ + return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); +} diff --git a/grub-core/gnulib/strchrnul.c b/grub-core/gnulib/strchrnul.c new file mode 100644 index 0000000..f834d34 --- /dev/null +++ b/grub-core/gnulib/strchrnul.c @@ -0,0 +1,142 @@ +/* Searching in a string. + Copyright (C) 2003, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +/* Find the first occurrence of C in S or the final NUL byte. */ +char * +strchrnul (const char *s, int c_in) +{ + /* On 32-bit hardware, choosing longword to be a 32-bit unsigned + long instead of a 64-bit uintmax_t tends to give better + performance. On 64-bit hardware, unsigned long is generally 64 + bits already. Change this typedef to experiment with + performance. */ + typedef unsigned long int longword; + + const unsigned char *char_ptr; + const longword *longword_ptr; + longword repeated_one; + longword repeated_c; + unsigned char c; + + c = (unsigned char) c_in; + if (!c) + return rawmemchr (s, 0); + + /* Handle the first few bytes by reading one byte at a time. + Do this until CHAR_PTR is aligned on a longword boundary. */ + for (char_ptr = (const unsigned char *) s; + (size_t) char_ptr % sizeof (longword) != 0; + ++char_ptr) + if (!*char_ptr || *char_ptr == c) + return (char *) char_ptr; + + longword_ptr = (const longword *) char_ptr; + + /* All these elucidatory comments refer to 4-byte longwords, + but the theory applies equally well to any size longwords. */ + + /* Compute auxiliary longword values: + repeated_one is a value which has a 1 in every byte. + repeated_c has c in every byte. */ + repeated_one = 0x01010101; + repeated_c = c | (c << 8); + repeated_c |= repeated_c << 16; + if (0xffffffffU < (longword) -1) + { + repeated_one |= repeated_one << 31 << 1; + repeated_c |= repeated_c << 31 << 1; + if (8 < sizeof (longword)) + { + size_t i; + + for (i = 64; i < sizeof (longword) * 8; i *= 2) + { + repeated_one |= repeated_one << i; + repeated_c |= repeated_c << i; + } + } + } + + /* Instead of the traditional loop which tests each byte, we will + test a longword at a time. The tricky part is testing if *any of + the four* bytes in the longword in question are equal to NUL or + c. We first use an xor with repeated_c. This reduces the task + to testing whether *any of the four* bytes in longword1 or + longword2 is zero. + + Let's consider longword1. We compute tmp = + ((longword1 - repeated_one) & ~longword1) & (repeated_one << 7). + That is, we perform the following operations: + 1. Subtract repeated_one. + 2. & ~longword1. + 3. & a mask consisting of 0x80 in every byte. + Consider what happens in each byte: + - If a byte of longword1 is zero, step 1 and 2 transform it into 0xff, + and step 3 transforms it into 0x80. A carry can also be propagated + to more significant bytes. + - If a byte of longword1 is nonzero, let its lowest 1 bit be at + position k (0 <= k <= 7); so the lowest k bits are 0. After step 1, + the byte ends in a single bit of value 0 and k bits of value 1. + After step 2, the result is just k bits of value 1: 2^k - 1. After + step 3, the result is 0. And no carry is produced. + So, if longword1 has only non-zero bytes, tmp is zero. + Whereas if longword1 has a zero byte, call j the position of the least + significant zero byte. Then the result has a zero at positions 0, ..., + j-1 and a 0x80 at position j. We cannot predict the result at the more + significant bytes (positions j+1..3), but it does not matter since we + already have a non-zero bit at position 8*j+7. + + The test whether any byte in longword1 or longword2 is zero is equivalent + to testing whether tmp1 is nonzero or tmp2 is nonzero. We can combine + this into a single test, whether (tmp1 | tmp2) is nonzero. + + This test can read more than one byte beyond the end of a string, + depending on where the terminating NUL is encountered. However, + this is considered safe since the initialization phase ensured + that the read will be aligned, therefore, the read will not cross + page boundaries and will not cause a fault. */ + + while (1) + { + longword longword1 = *longword_ptr ^ repeated_c; + longword longword2 = *longword_ptr; + + if (((((longword1 - repeated_one) & ~longword1) + | ((longword2 - repeated_one) & ~longword2)) + & (repeated_one << 7)) != 0) + break; + longword_ptr++; + } + + char_ptr = (const unsigned char *) longword_ptr; + + /* At this point, we know that one of the sizeof (longword) bytes + starting at char_ptr is == 0 or == c. On little-endian machines, + we could determine the first such byte without any further memory + accesses, just by looking at the tmp result from the last loop + iteration. But this does not work on big-endian machines. + Choose code that works in both cases. */ + + char_ptr = (unsigned char *) longword_ptr; + while (*char_ptr && (*char_ptr != c)) + char_ptr++; + return (char *) char_ptr; +} diff --git a/grub-core/gnulib/strchrnul.valgrind b/grub-core/gnulib/strchrnul.valgrind new file mode 100644 index 0000000..b14fa13 --- /dev/null +++ b/grub-core/gnulib/strchrnul.valgrind @@ -0,0 +1,12 @@ +# Suppress a valgrind message about use of uninitialized memory in strchrnul(). +# This use is OK because it provides only a speedup. +{ + strchrnul-value4 + Memcheck:Value4 + fun:strchrnul +} +{ + strchrnul-value8 + Memcheck:Value8 + fun:strchrnul +} diff --git a/grub-core/gnulib/streq.h b/grub-core/gnulib/streq.h new file mode 100644 index 0000000..aa65bb8 --- /dev/null +++ b/grub-core/gnulib/streq.h @@ -0,0 +1,176 @@ +/* Optimized string comparison. + Copyright (C) 2001-2002, 2007, 2009-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Bruno Haible . */ + +#ifndef _GL_STREQ_H +#define _GL_STREQ_H + +#include + +/* STREQ allows to optimize string comparison with a small literal string. + STREQ (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) + is semantically equivalent to + strcmp (s, "EUC-KR") == 0 + just faster. */ + +/* Help GCC to generate good code for string comparisons with + immediate strings. */ +#if defined (__GNUC__) && defined (__OPTIMIZE__) + +static inline int +streq9 (const char *s1, const char *s2) +{ + return strcmp (s1 + 9, s2 + 9) == 0; +} + +static inline int +streq8 (const char *s1, const char *s2, char s28) +{ + if (s1[8] == s28) + { + if (s28 == 0) + return 1; + else + return streq9 (s1, s2); + } + else + return 0; +} + +static inline int +streq7 (const char *s1, const char *s2, char s27, char s28) +{ + if (s1[7] == s27) + { + if (s27 == 0) + return 1; + else + return streq8 (s1, s2, s28); + } + else + return 0; +} + +static inline int +streq6 (const char *s1, const char *s2, char s26, char s27, char s28) +{ + if (s1[6] == s26) + { + if (s26 == 0) + return 1; + else + return streq7 (s1, s2, s27, s28); + } + else + return 0; +} + +static inline int +streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) +{ + if (s1[5] == s25) + { + if (s25 == 0) + return 1; + else + return streq6 (s1, s2, s26, s27, s28); + } + else + return 0; +} + +static inline int +streq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) +{ + if (s1[4] == s24) + { + if (s24 == 0) + return 1; + else + return streq5 (s1, s2, s25, s26, s27, s28); + } + else + return 0; +} + +static inline int +streq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) +{ + if (s1[3] == s23) + { + if (s23 == 0) + return 1; + else + return streq4 (s1, s2, s24, s25, s26, s27, s28); + } + else + return 0; +} + +static inline int +streq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) +{ + if (s1[2] == s22) + { + if (s22 == 0) + return 1; + else + return streq3 (s1, s2, s23, s24, s25, s26, s27, s28); + } + else + return 0; +} + +static inline int +streq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) +{ + if (s1[1] == s21) + { + if (s21 == 0) + return 1; + else + return streq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); + } + else + return 0; +} + +static inline int +streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) +{ + if (s1[0] == s20) + { + if (s20 == 0) + return 1; + else + return streq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); + } + else + return 0; +} + +#define STREQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ + streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) + +#else + +#define STREQ(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ + (strcmp (s1, s2) == 0) + +#endif + +#endif /* _GL_STREQ_H */ diff --git a/grub-core/gnulib/strerror.c b/grub-core/gnulib/strerror.c new file mode 100644 index 0000000..46153ab --- /dev/null +++ b/grub-core/gnulib/strerror.c @@ -0,0 +1,350 @@ +/* strerror.c --- POSIX compatible system error routine + + Copyright (C) 2007-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +#include + +#if REPLACE_STRERROR + +# include +# include + +# if GNULIB_defined_ESOCK /* native Windows platforms */ +# if HAVE_WINSOCK2_H +# include +# endif +# endif + +# include "intprops.h" + +/* Use the system functions, not the gnulib overrides in this file. */ +# undef sprintf + +# undef strerror +# if ! HAVE_DECL_STRERROR +# define strerror(n) NULL +# endif + +char * +rpl_strerror (int n) +{ + char const *msg = NULL; + /* These error messages are taken from glibc/sysdeps/gnu/errlist.c. */ + switch (n) + { +# if GNULIB_defined_ETXTBSY + case ETXTBSY: + msg = "Text file busy"; + break; +# endif + +# if GNULIB_defined_ESOCK /* native Windows platforms */ + /* EWOULDBLOCK is the same as EAGAIN. */ + case EINPROGRESS: + msg = "Operation now in progress"; + break; + case EALREADY: + msg = "Operation already in progress"; + break; + case ENOTSOCK: + msg = "Socket operation on non-socket"; + break; + case EDESTADDRREQ: + msg = "Destination address required"; + break; + case EMSGSIZE: + msg = "Message too long"; + break; + case EPROTOTYPE: + msg = "Protocol wrong type for socket"; + break; + case ENOPROTOOPT: + msg = "Protocol not available"; + break; + case EPROTONOSUPPORT: + msg = "Protocol not supported"; + break; + case ESOCKTNOSUPPORT: + msg = "Socket type not supported"; + break; + case EOPNOTSUPP: + msg = "Operation not supported"; + break; + case EPFNOSUPPORT: + msg = "Protocol family not supported"; + break; + case EAFNOSUPPORT: + msg = "Address family not supported by protocol"; + break; + case EADDRINUSE: + msg = "Address already in use"; + break; + case EADDRNOTAVAIL: + msg = "Cannot assign requested address"; + break; + case ENETDOWN: + msg = "Network is down"; + break; + case ENETUNREACH: + msg = "Network is unreachable"; + break; + case ENETRESET: + msg = "Network dropped connection on reset"; + break; + case ECONNABORTED: + msg = "Software caused connection abort"; + break; + case ECONNRESET: + msg = "Connection reset by peer"; + break; + case ENOBUFS: + msg = "No buffer space available"; + break; + case EISCONN: + msg = "Transport endpoint is already connected"; + break; + case ENOTCONN: + msg = "Transport endpoint is not connected"; + break; + case ESHUTDOWN: + msg = "Cannot send after transport endpoint shutdown"; + break; + case ETOOMANYREFS: + msg = "Too many references: cannot splice"; + break; + case ETIMEDOUT: + msg = "Connection timed out"; + break; + case ECONNREFUSED: + msg = "Connection refused"; + break; + case ELOOP: + msg = "Too many levels of symbolic links"; + break; + case EHOSTDOWN: + msg = "Host is down"; + break; + case EHOSTUNREACH: + msg = "No route to host"; + break; + case EPROCLIM: + msg = "Too many processes"; + break; + case EUSERS: + msg = "Too many users"; + break; + case EDQUOT: + msg = "Disk quota exceeded"; + break; + case ESTALE: + msg = "Stale NFS file handle"; + break; + case EREMOTE: + msg = "Object is remote"; + break; +# if HAVE_WINSOCK2_H + /* WSA_INVALID_HANDLE maps to EBADF */ + /* WSA_NOT_ENOUGH_MEMORY maps to ENOMEM */ + /* WSA_INVALID_PARAMETER maps to EINVAL */ + case WSA_OPERATION_ABORTED: + msg = "Overlapped operation aborted"; + break; + case WSA_IO_INCOMPLETE: + msg = "Overlapped I/O event object not in signaled state"; + break; + case WSA_IO_PENDING: + msg = "Overlapped operations will complete later"; + break; + /* WSAEINTR maps to EINTR */ + /* WSAEBADF maps to EBADF */ + /* WSAEACCES maps to EACCES */ + /* WSAEFAULT maps to EFAULT */ + /* WSAEINVAL maps to EINVAL */ + /* WSAEMFILE maps to EMFILE */ + /* WSAEWOULDBLOCK maps to EWOULDBLOCK */ + /* WSAEINPROGRESS is EINPROGRESS */ + /* WSAEALREADY is EALREADY */ + /* WSAENOTSOCK is ENOTSOCK */ + /* WSAEDESTADDRREQ is EDESTADDRREQ */ + /* WSAEMSGSIZE is EMSGSIZE */ + /* WSAEPROTOTYPE is EPROTOTYPE */ + /* WSAENOPROTOOPT is ENOPROTOOPT */ + /* WSAEPROTONOSUPPORT is EPROTONOSUPPORT */ + /* WSAESOCKTNOSUPPORT is ESOCKTNOSUPPORT */ + /* WSAEOPNOTSUPP is EOPNOTSUPP */ + /* WSAEPFNOSUPPORT is EPFNOSUPPORT */ + /* WSAEAFNOSUPPORT is EAFNOSUPPORT */ + /* WSAEADDRINUSE is EADDRINUSE */ + /* WSAEADDRNOTAVAIL is EADDRNOTAVAIL */ + /* WSAENETDOWN is ENETDOWN */ + /* WSAENETUNREACH is ENETUNREACH */ + /* WSAENETRESET is ENETRESET */ + /* WSAECONNABORTED is ECONNABORTED */ + /* WSAECONNRESET is ECONNRESET */ + /* WSAENOBUFS is ENOBUFS */ + /* WSAEISCONN is EISCONN */ + /* WSAENOTCONN is ENOTCONN */ + /* WSAESHUTDOWN is ESHUTDOWN */ + /* WSAETOOMANYREFS is ETOOMANYREFS */ + /* WSAETIMEDOUT is ETIMEDOUT */ + /* WSAECONNREFUSED is ECONNREFUSED */ + /* WSAELOOP is ELOOP */ + /* WSAENAMETOOLONG maps to ENAMETOOLONG */ + /* WSAEHOSTDOWN is EHOSTDOWN */ + /* WSAEHOSTUNREACH is EHOSTUNREACH */ + /* WSAENOTEMPTY maps to ENOTEMPTY */ + /* WSAEPROCLIM is EPROCLIM */ + /* WSAEUSERS is EUSERS */ + /* WSAEDQUOT is EDQUOT */ + /* WSAESTALE is ESTALE */ + /* WSAEREMOTE is EREMOTE */ + case WSASYSNOTREADY: + msg = "Network subsystem is unavailable"; + break; + case WSAVERNOTSUPPORTED: + msg = "Winsock.dll version out of range"; + break; + case WSANOTINITIALISED: + msg = "Successful WSAStartup not yet performed"; + break; + case WSAEDISCON: + msg = "Graceful shutdown in progress"; + break; + case WSAENOMORE: case WSA_E_NO_MORE: + msg = "No more results"; + break; + case WSAECANCELLED: case WSA_E_CANCELLED: + msg = "Call was canceled"; + break; + case WSAEINVALIDPROCTABLE: + msg = "Procedure call table is invalid"; + break; + case WSAEINVALIDPROVIDER: + msg = "Service provider is invalid"; + break; + case WSAEPROVIDERFAILEDINIT: + msg = "Service provider failed to initialize"; + break; + case WSASYSCALLFAILURE: + msg = "System call failure"; + break; + case WSASERVICE_NOT_FOUND: + msg = "Service not found"; + break; + case WSATYPE_NOT_FOUND: + msg = "Class type not found"; + break; + case WSAEREFUSED: + msg = "Database query was refused"; + break; + case WSAHOST_NOT_FOUND: + msg = "Host not found"; + break; + case WSATRY_AGAIN: + msg = "Nonauthoritative host not found"; + break; + case WSANO_RECOVERY: + msg = "Nonrecoverable error"; + break; + case WSANO_DATA: + msg = "Valid name, no data record of requested type"; + break; + /* WSA_QOS_* omitted */ +# endif +# endif + +# if GNULIB_defined_ENOMSG + case ENOMSG: + msg = "No message of desired type"; + break; +# endif + +# if GNULIB_defined_EIDRM + case EIDRM: + msg = "Identifier removed"; + break; +# endif + +# if GNULIB_defined_ENOLINK + case ENOLINK: + msg = "Link has been severed"; + break; +# endif + +# if GNULIB_defined_EPROTO + case EPROTO: + msg = "Protocol error"; + break; +# endif + +# if GNULIB_defined_EMULTIHOP + case EMULTIHOP: + msg = "Multihop attempted"; + break; +# endif + +# if GNULIB_defined_EBADMSG + case EBADMSG: + msg = "Bad message"; + break; +# endif + +# if GNULIB_defined_EOVERFLOW + case EOVERFLOW: + msg = "Value too large for defined data type"; + break; +# endif + +# if GNULIB_defined_ENOTSUP + case ENOTSUP: + msg = "Not supported"; + break; +# endif + +# if GNULIB_defined_ESTALE + case ESTALE: + msg = "Stale NFS file handle"; + break; +# endif + +# if GNULIB_defined_ECANCELED + case ECANCELED: + msg = "Operation canceled"; + break; +# endif + } + + if (msg) + return (char *) msg; + + { + char *result = strerror (n); + + if (result == NULL || result[0] == '\0') + { + static char const fmt[] = "Unknown error (%d)"; + static char msg_buf[sizeof fmt + INT_STRLEN_BOUND (n)]; + sprintf (msg_buf, fmt, n); + return msg_buf; + } + + return result; + } +} + +#endif diff --git a/grub-core/gnulib/string.in.h b/grub-core/gnulib/string.in.h new file mode 100644 index 0000000..49c711d --- /dev/null +++ b/grub-core/gnulib/string.in.h @@ -0,0 +1,945 @@ +/* A GNU-like . + + Copyright (C) 1995-1996, 2001-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _GL_STRING_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. */ +#@INCLUDE_NEXT@ @NEXT_STRING_H@ + +#ifndef _GL_STRING_H +#define _GL_STRING_H + +/* NetBSD 5.0 mis-defines NULL. */ +#include + +/* MirBSD defines mbslen as a macro. */ +#if @GNULIB_MBSLEN@ && defined __MirBSD__ +# include +#endif + +#ifndef __attribute__ +/* This feature is available in gcc versions 2.5 and later. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) +# define __attribute__(Spec) /* empty */ +# endif +#endif +/* The attribute __pure__ was added in gcc 2.96. */ +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) +# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) +#else +# define _GL_ATTRIBUTE_PURE /* empty */ +#endif + +/* NetBSD 5.0 declares strsignal in , not in . */ +/* But avoid namespace pollution on glibc systems. */ +#if (@GNULIB_STRSIGNAL@ || defined GNULIB_POSIXCHECK) \ + && ! defined __GLIBC__ +# include +#endif + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + + +/* Return the first instance of C within N bytes of S, or NULL. */ +#if @GNULIB_MEMCHR@ +# if @REPLACE_MEMCHR@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define memchr rpl_memchr +# endif +_GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); +# else +# if ! @HAVE_MEMCHR@ +_GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +# endif + /* On some systems, this function is defined as an overloaded function: + extern "C" { const void * std::memchr (const void *, int, size_t); } + extern "C++" { void * std::memchr (void *, int, size_t); } */ +_GL_CXXALIAS_SYS_CAST2 (memchr, + void *, (void const *__s, int __c, size_t __n), + void const *, (void const *__s, int __c, size_t __n)); +# endif +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); +_GL_CXXALIASWARN1 (memchr, void const *, + (void const *__s, int __c, size_t __n)); +# else +_GL_CXXALIASWARN (memchr); +# endif +#elif defined GNULIB_POSIXCHECK +# undef memchr +/* Assume memchr is always declared. */ +_GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " + "use gnulib module memchr for portability" ); +#endif + +/* Return the first occurrence of NEEDLE in HAYSTACK. */ +#if @GNULIB_MEMMEM@ +# if @REPLACE_MEMMEM@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define memmem rpl_memmem +# endif +_GL_FUNCDECL_RPL (memmem, void *, + (void const *__haystack, size_t __haystack_len, + void const *__needle, size_t __needle_len) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1, 3))); +_GL_CXXALIAS_RPL (memmem, void *, + (void const *__haystack, size_t __haystack_len, + void const *__needle, size_t __needle_len)); +# else +# if ! @HAVE_DECL_MEMMEM@ +_GL_FUNCDECL_SYS (memmem, void *, + (void const *__haystack, size_t __haystack_len, + void const *__needle, size_t __needle_len) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1, 3))); +# endif +_GL_CXXALIAS_SYS (memmem, void *, + (void const *__haystack, size_t __haystack_len, + void const *__needle, size_t __needle_len)); +# endif +_GL_CXXALIASWARN (memmem); +#elif defined GNULIB_POSIXCHECK +# undef memmem +# if HAVE_RAW_DECL_MEMMEM +_GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - " + "use gnulib module memmem-simple for portability, " + "and module memmem for speed" ); +# endif +#endif + +/* Copy N bytes of SRC to DEST, return pointer to bytes after the + last written byte. */ +#if @GNULIB_MEMPCPY@ +# if ! @HAVE_MEMPCPY@ +_GL_FUNCDECL_SYS (mempcpy, void *, + (void *restrict __dest, void const *restrict __src, + size_t __n) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (mempcpy, void *, + (void *restrict __dest, void const *restrict __src, + size_t __n)); +_GL_CXXALIASWARN (mempcpy); +#elif defined GNULIB_POSIXCHECK +# undef mempcpy +# if HAVE_RAW_DECL_MEMPCPY +_GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " + "use gnulib module mempcpy for portability"); +# endif +#endif + +/* Search backwards through a block for a byte (specified as an int). */ +#if @GNULIB_MEMRCHR@ +# if ! @HAVE_DECL_MEMRCHR@ +_GL_FUNCDECL_SYS (memrchr, void *, (void const *, int, size_t) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +# endif + /* On some systems, this function is defined as an overloaded function: + extern "C++" { const void * std::memrchr (const void *, int, size_t); } + extern "C++" { void * std::memrchr (void *, int, size_t); } */ +_GL_CXXALIAS_SYS_CAST2 (memrchr, + void *, (void const *, int, size_t), + void const *, (void const *, int, size_t)); +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (memrchr, void *, (void *, int, size_t)); +_GL_CXXALIASWARN1 (memrchr, void const *, (void const *, int, size_t)); +# else +_GL_CXXALIASWARN (memrchr); +# endif +#elif defined GNULIB_POSIXCHECK +# undef memrchr +# if HAVE_RAW_DECL_MEMRCHR +_GL_WARN_ON_USE (memrchr, "memrchr is unportable - " + "use gnulib module memrchr for portability"); +# endif +#endif + +/* Find the first occurrence of C in S. More efficient than + memchr(S,C,N), at the expense of undefined behavior if C does not + occur within N bytes. */ +#if @GNULIB_RAWMEMCHR@ +# if ! @HAVE_RAWMEMCHR@ +_GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +# endif + /* On some systems, this function is defined as an overloaded function: + extern "C++" { const void * std::rawmemchr (const void *, int); } + extern "C++" { void * std::rawmemchr (void *, int); } */ +_GL_CXXALIAS_SYS_CAST2 (rawmemchr, + void *, (void const *__s, int __c_in), + void const *, (void const *__s, int __c_in)); +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (rawmemchr, void *, (void *__s, int __c_in)); +_GL_CXXALIASWARN1 (rawmemchr, void const *, (void const *__s, int __c_in)); +# else +_GL_CXXALIASWARN (rawmemchr); +# endif +#elif defined GNULIB_POSIXCHECK +# undef rawmemchr +# if HAVE_RAW_DECL_RAWMEMCHR +_GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - " + "use gnulib module rawmemchr for portability"); +# endif +#endif + +/* Copy SRC to DST, returning the address of the terminating '\0' in DST. */ +#if @GNULIB_STPCPY@ +# if ! @HAVE_STPCPY@ +_GL_FUNCDECL_SYS (stpcpy, char *, + (char *restrict __dst, char const *restrict __src) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (stpcpy, char *, + (char *restrict __dst, char const *restrict __src)); +_GL_CXXALIASWARN (stpcpy); +#elif defined GNULIB_POSIXCHECK +# undef stpcpy +# if HAVE_RAW_DECL_STPCPY +_GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - " + "use gnulib module stpcpy for portability"); +# endif +#endif + +/* Copy no more than N bytes of SRC to DST, returning a pointer past the + last non-NUL byte written into DST. */ +#if @GNULIB_STPNCPY@ +# if @REPLACE_STPNCPY@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef stpncpy +# define stpncpy rpl_stpncpy +# endif +_GL_FUNCDECL_RPL (stpncpy, char *, + (char *restrict __dst, char const *restrict __src, + size_t __n) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (stpncpy, char *, + (char *restrict __dst, char const *restrict __src, + size_t __n)); +# else +# if ! @HAVE_STPNCPY@ +_GL_FUNCDECL_SYS (stpncpy, char *, + (char *restrict __dst, char const *restrict __src, + size_t __n) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (stpncpy, char *, + (char *restrict __dst, char const *restrict __src, + size_t __n)); +# endif +_GL_CXXALIASWARN (stpncpy); +#elif defined GNULIB_POSIXCHECK +# undef stpncpy +# if HAVE_RAW_DECL_STPNCPY +_GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " + "use gnulib module stpncpy for portability"); +# endif +#endif + +#if defined GNULIB_POSIXCHECK +/* strchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +# undef strchr +/* Assume strchr is always declared. */ +_GL_WARN_ON_USE (strchr, "strchr cannot work correctly on character strings " + "in some multibyte locales - " + "use mbschr if you care about internationalization"); +#endif + +/* Find the first occurrence of C in S or the final NUL byte. */ +#if @GNULIB_STRCHRNUL@ +# if ! @HAVE_STRCHRNUL@ +_GL_FUNCDECL_SYS (strchrnul, char *, (char const *__s, int __c_in) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +# endif + /* On some systems, this function is defined as an overloaded function: + extern "C++" { const char * std::strchrnul (const char *, int); } + extern "C++" { char * std::strchrnul (char *, int); } */ +_GL_CXXALIAS_SYS_CAST2 (strchrnul, + char *, (char const *__s, int __c_in), + char const *, (char const *__s, int __c_in)); +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (strchrnul, char *, (char *__s, int __c_in)); +_GL_CXXALIASWARN1 (strchrnul, char const *, (char const *__s, int __c_in)); +# else +_GL_CXXALIASWARN (strchrnul); +# endif +#elif defined GNULIB_POSIXCHECK +# undef strchrnul +# if HAVE_RAW_DECL_STRCHRNUL +_GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " + "use gnulib module strchrnul for portability"); +# endif +#endif + +/* Duplicate S, returning an identical malloc'd string. */ +#if @GNULIB_STRDUP@ +# if @REPLACE_STRDUP@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef strdup +# define strdup rpl_strdup +# endif +_GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); +# else +# if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup + /* strdup exists as a function and as a macro. Get rid of the macro. */ +# undef strdup +# endif +# if !(@HAVE_DECL_STRDUP@ || defined strdup) +_GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); +# endif +_GL_CXXALIASWARN (strdup); +#elif defined GNULIB_POSIXCHECK +# undef strdup +# if HAVE_RAW_DECL_STRDUP +_GL_WARN_ON_USE (strdup, "strdup is unportable - " + "use gnulib module strdup for portability"); +# endif +#endif + +/* Append no more than N characters from SRC onto DEST. */ +#if @GNULIB_STRNCAT@ +# if @REPLACE_STRNCAT@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef strncat +# define strncat rpl_strncat +# endif +_GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); +# else +_GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); +# endif +_GL_CXXALIASWARN (strncat); +#elif defined GNULIB_POSIXCHECK +# undef strncat +# if HAVE_RAW_DECL_STRNCAT +_GL_WARN_ON_USE (strncat, "strncat is unportable - " + "use gnulib module strncat for portability"); +# endif +#endif + +/* Return a newly allocated copy of at most N bytes of STRING. */ +#if @GNULIB_STRNDUP@ +# if @REPLACE_STRNDUP@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef strndup +# define strndup rpl_strndup +# endif +_GL_FUNCDECL_RPL (strndup, char *, (char const *__string, size_t __n) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (strndup, char *, (char const *__string, size_t __n)); +# else +# if ! @HAVE_DECL_STRNDUP@ +_GL_FUNCDECL_SYS (strndup, char *, (char const *__string, size_t __n) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (strndup, char *, (char const *__string, size_t __n)); +# endif +_GL_CXXALIASWARN (strndup); +#elif defined GNULIB_POSIXCHECK +# undef strndup +# if HAVE_RAW_DECL_STRNDUP +_GL_WARN_ON_USE (strndup, "strndup is unportable - " + "use gnulib module strndup for portability"); +# endif +#endif + +/* Find the length (number of bytes) of STRING, but scan at most + MAXLEN bytes. If no '\0' terminator is found in that many bytes, + return MAXLEN. */ +#if @GNULIB_STRNLEN@ +# if @REPLACE_STRNLEN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef strnlen +# define strnlen rpl_strnlen +# endif +_GL_FUNCDECL_RPL (strnlen, size_t, (char const *__string, size_t __maxlen) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (strnlen, size_t, (char const *__string, size_t __maxlen)); +# else +# if ! @HAVE_DECL_STRNLEN@ +_GL_FUNCDECL_SYS (strnlen, size_t, (char const *__string, size_t __maxlen) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (strnlen, size_t, (char const *__string, size_t __maxlen)); +# endif +_GL_CXXALIASWARN (strnlen); +#elif defined GNULIB_POSIXCHECK +# undef strnlen +# if HAVE_RAW_DECL_STRNLEN +_GL_WARN_ON_USE (strnlen, "strnlen is unportable - " + "use gnulib module strnlen for portability"); +# endif +#endif + +#if defined GNULIB_POSIXCHECK +/* strcspn() assumes the second argument is a list of single-byte characters. + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +# undef strcspn +/* Assume strcspn is always declared. */ +_GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings " + "in multibyte locales - " + "use mbscspn if you care about internationalization"); +#endif + +/* Find the first occurrence in S of any character in ACCEPT. */ +#if @GNULIB_STRPBRK@ +# if ! @HAVE_STRPBRK@ +_GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1, 2))); +# endif + /* On some systems, this function is defined as an overloaded function: + extern "C" { const char * strpbrk (const char *, const char *); } + extern "C++" { char * strpbrk (char *, const char *); } */ +_GL_CXXALIAS_SYS_CAST2 (strpbrk, + char *, (char const *__s, char const *__accept), + const char *, (char const *__s, char const *__accept)); +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); +_GL_CXXALIASWARN1 (strpbrk, char const *, + (char const *__s, char const *__accept)); +# else +_GL_CXXALIASWARN (strpbrk); +# endif +# if defined GNULIB_POSIXCHECK +/* strpbrk() assumes the second argument is a list of single-byte characters. + Even in this simple case, it does not work with multibyte strings if the + locale encoding is GB18030 and one of the characters to be searched is a + digit. */ +# undef strpbrk +_GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " + "in multibyte locales - " + "use mbspbrk if you care about internationalization"); +# endif +#elif defined GNULIB_POSIXCHECK +# undef strpbrk +# if HAVE_RAW_DECL_STRPBRK +_GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - " + "use gnulib module strpbrk for portability"); +# endif +#endif + +#if defined GNULIB_POSIXCHECK +/* strspn() assumes the second argument is a list of single-byte characters. + Even in this simple case, it cannot work with multibyte strings. */ +# undef strspn +/* Assume strspn is always declared. */ +_GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " + "in multibyte locales - " + "use mbsspn if you care about internationalization"); +#endif + +#if defined GNULIB_POSIXCHECK +/* strrchr() does not work with multibyte strings if the locale encoding is + GB18030 and the character to be searched is a digit. */ +# undef strrchr +/* Assume strrchr is always declared. */ +_GL_WARN_ON_USE (strrchr, "strrchr cannot work correctly on character strings " + "in some multibyte locales - " + "use mbsrchr if you care about internationalization"); +#endif + +/* Search the next delimiter (char listed in DELIM) starting at *STRINGP. + If one is found, overwrite it with a NUL, and advance *STRINGP + to point to the next char after it. Otherwise, set *STRINGP to NULL. + If *STRINGP was already NULL, nothing happens. + Return the old value of *STRINGP. + + This is a variant of strtok() that is multithread-safe and supports + empty fields. + + Caveat: It modifies the original string. + Caveat: These functions cannot be used on constant strings. + Caveat: The identity of the delimiting character is lost. + Caveat: It doesn't work with multibyte strings unless all of the delimiter + characters are ASCII characters < 0x30. + + See also strtok_r(). */ +#if @GNULIB_STRSEP@ +# if ! @HAVE_STRSEP@ +_GL_FUNCDECL_SYS (strsep, char *, + (char **restrict __stringp, char const *restrict __delim) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (strsep, char *, + (char **restrict __stringp, char const *restrict __delim)); +_GL_CXXALIASWARN (strsep); +# if defined GNULIB_POSIXCHECK +# undef strsep +_GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings " + "in multibyte locales - " + "use mbssep if you care about internationalization"); +# endif +#elif defined GNULIB_POSIXCHECK +# undef strsep +# if HAVE_RAW_DECL_STRSEP +_GL_WARN_ON_USE (strsep, "strsep is unportable - " + "use gnulib module strsep for portability"); +# endif +#endif + +#if @GNULIB_STRSTR@ +# if @REPLACE_STRSTR@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define strstr rpl_strstr +# endif +_GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); +# else + /* On some systems, this function is defined as an overloaded function: + extern "C++" { const char * strstr (const char *, const char *); } + extern "C++" { char * strstr (char *, const char *); } */ +_GL_CXXALIAS_SYS_CAST2 (strstr, + char *, (const char *haystack, const char *needle), + const char *, (const char *haystack, const char *needle)); +# endif +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); +_GL_CXXALIASWARN1 (strstr, const char *, + (const char *haystack, const char *needle)); +# else +_GL_CXXALIASWARN (strstr); +# endif +#elif defined GNULIB_POSIXCHECK +/* strstr() does not work with multibyte strings if the locale encoding is + different from UTF-8: + POSIX says that it operates on "strings", and "string" in POSIX is defined + as a sequence of bytes, not of characters. */ +# undef strstr +/* Assume strstr is always declared. */ +_GL_WARN_ON_USE (strstr, "strstr is quadratic on many systems, and cannot " + "work correctly on character strings in most " + "multibyte locales - " + "use mbsstr if you care about internationalization, " + "or use strstr if you care about speed"); +#endif + +/* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive + comparison. */ +#if @GNULIB_STRCASESTR@ +# if @REPLACE_STRCASESTR@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define strcasestr rpl_strcasestr +# endif +_GL_FUNCDECL_RPL (strcasestr, char *, + (const char *haystack, const char *needle) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (strcasestr, char *, + (const char *haystack, const char *needle)); +# else +# if ! @HAVE_STRCASESTR@ +_GL_FUNCDECL_SYS (strcasestr, char *, + (const char *haystack, const char *needle) + _GL_ATTRIBUTE_PURE + _GL_ARG_NONNULL ((1, 2))); +# endif + /* On some systems, this function is defined as an overloaded function: + extern "C++" { const char * strcasestr (const char *, const char *); } + extern "C++" { char * strcasestr (char *, const char *); } */ +_GL_CXXALIAS_SYS_CAST2 (strcasestr, + char *, (const char *haystack, const char *needle), + const char *, (const char *haystack, const char *needle)); +# endif +# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 10 \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) +_GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle)); +_GL_CXXALIASWARN1 (strcasestr, const char *, + (const char *haystack, const char *needle)); +# else +_GL_CXXALIASWARN (strcasestr); +# endif +#elif defined GNULIB_POSIXCHECK +/* strcasestr() does not work with multibyte strings: + It is a glibc extension, and glibc implements it only for unibyte + locales. */ +# undef strcasestr +# if HAVE_RAW_DECL_STRCASESTR +_GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character " + "strings in multibyte locales - " + "use mbscasestr if you care about " + "internationalization, or use c-strcasestr if you want " + "a locale independent function"); +# endif +#endif + +/* Parse S into tokens separated by characters in DELIM. + If S is NULL, the saved pointer in SAVE_PTR is used as + the next starting point. For example: + char s[] = "-abc-=-def"; + char *sp; + x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" + x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL + x = strtok_r(NULL, "=", &sp); // x = NULL + // s = "abc\0-def\0" + + This is a variant of strtok() that is multithread-safe. + + For the POSIX documentation for this function, see: + http://www.opengroup.org/susv3xsh/strtok.html + + Caveat: It modifies the original string. + Caveat: These functions cannot be used on constant strings. + Caveat: The identity of the delimiting character is lost. + Caveat: It doesn't work with multibyte strings unless all of the delimiter + characters are ASCII characters < 0x30. + + See also strsep(). */ +#if @GNULIB_STRTOK_R@ +# if @REPLACE_STRTOK_R@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef strtok_r +# define strtok_r rpl_strtok_r +# endif +_GL_FUNCDECL_RPL (strtok_r, char *, + (char *restrict s, char const *restrict delim, + char **restrict save_ptr) + _GL_ARG_NONNULL ((2, 3))); +_GL_CXXALIAS_RPL (strtok_r, char *, + (char *restrict s, char const *restrict delim, + char **restrict save_ptr)); +# else +# if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK +# undef strtok_r +# endif +# if ! @HAVE_DECL_STRTOK_R@ +_GL_FUNCDECL_SYS (strtok_r, char *, + (char *restrict s, char const *restrict delim, + char **restrict save_ptr) + _GL_ARG_NONNULL ((2, 3))); +# endif +_GL_CXXALIAS_SYS (strtok_r, char *, + (char *restrict s, char const *restrict delim, + char **restrict save_ptr)); +# endif +_GL_CXXALIASWARN (strtok_r); +# if defined GNULIB_POSIXCHECK +_GL_WARN_ON_USE (strtok_r, "strtok_r cannot work correctly on character " + "strings in multibyte locales - " + "use mbstok_r if you care about internationalization"); +# endif +#elif defined GNULIB_POSIXCHECK +# undef strtok_r +# if HAVE_RAW_DECL_STRTOK_R +_GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - " + "use gnulib module strtok_r for portability"); +# endif +#endif + + +/* The following functions are not specified by POSIX. They are gnulib + extensions. */ + +#if @GNULIB_MBSLEN@ +/* Return the number of multibyte characters in the character string STRING. + This considers multibyte characters, unlike strlen, which counts bytes. */ +# ifdef __MirBSD__ /* MirBSD defines mbslen as a macro. Override it. */ +# undef mbslen +# endif +# if @HAVE_MBSLEN@ /* AIX, OSF/1, MirBSD define mbslen already in libc. */ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define mbslen rpl_mbslen +# endif +_GL_FUNCDECL_RPL (mbslen, size_t, (const char *string) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (mbslen, size_t, (const char *string)); +# else +_GL_FUNCDECL_SYS (mbslen, size_t, (const char *string) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_SYS (mbslen, size_t, (const char *string)); +# endif +_GL_CXXALIASWARN (mbslen); +#endif + +#if @GNULIB_MBSNLEN@ +/* Return the number of multibyte characters in the character string starting + at STRING and ending at STRING + LEN. */ +_GL_EXTERN_C size_t mbsnlen (const char *string, size_t len) + _GL_ARG_NONNULL ((1)); +#endif + +#if @GNULIB_MBSCHR@ +/* Locate the first single-byte character C in the character string STRING, + and return a pointer to it. Return NULL if C is not found in STRING. + Unlike strchr(), this function works correctly in multibyte locales with + encodings such as GB18030. */ +# if defined __hpux +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define mbschr rpl_mbschr /* avoid collision with HP-UX function */ +# endif +_GL_FUNCDECL_RPL (mbschr, char *, (const char *string, int c) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (mbschr, char *, (const char *string, int c)); +# else +_GL_FUNCDECL_SYS (mbschr, char *, (const char *string, int c) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_SYS (mbschr, char *, (const char *string, int c)); +# endif +_GL_CXXALIASWARN (mbschr); +#endif + +#if @GNULIB_MBSRCHR@ +/* Locate the last single-byte character C in the character string STRING, + and return a pointer to it. Return NULL if C is not found in STRING. + Unlike strrchr(), this function works correctly in multibyte locales with + encodings such as GB18030. */ +# if defined __hpux +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define mbsrchr rpl_mbsrchr /* avoid collision with HP-UX function */ +# endif +_GL_FUNCDECL_RPL (mbsrchr, char *, (const char *string, int c) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (mbsrchr, char *, (const char *string, int c)); +# else +_GL_FUNCDECL_SYS (mbsrchr, char *, (const char *string, int c) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_SYS (mbsrchr, char *, (const char *string, int c)); +# endif +_GL_CXXALIASWARN (mbsrchr); +#endif + +#if @GNULIB_MBSSTR@ +/* Find the first occurrence of the character string NEEDLE in the character + string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. + Unlike strstr(), this function works correctly in multibyte locales with + encodings different from UTF-8. */ +_GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSCASECMP@ +/* Compare the character strings S1 and S2, ignoring case, returning less than, + equal to or greater than zero if S1 is lexicographically less than, equal to + or greater than S2. + Note: This function may, in multibyte locales, return 0 for strings of + different lengths! + Unlike strcasecmp(), this function works correctly in multibyte locales. */ +_GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSNCASECMP@ +/* Compare the initial segment of the character string S1 consisting of at most + N characters with the initial segment of the character string S2 consisting + of at most N characters, ignoring case, returning less than, equal to or + greater than zero if the initial segment of S1 is lexicographically less + than, equal to or greater than the initial segment of S2. + Note: This function may, in multibyte locales, return 0 for initial segments + of different lengths! + Unlike strncasecmp(), this function works correctly in multibyte locales. + But beware that N is not a byte count but a character count! */ +_GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSPCASECMP@ +/* Compare the initial segment of the character string STRING consisting of + at most mbslen (PREFIX) characters with the character string PREFIX, + ignoring case. If the two match, return a pointer to the first byte + after this prefix in STRING. Otherwise, return NULL. + Note: This function may, in multibyte locales, return non-NULL if STRING + is of smaller length than PREFIX! + Unlike strncasecmp(), this function works correctly in multibyte + locales. */ +_GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSCASESTR@ +/* Find the first occurrence of the character string NEEDLE in the character + string HAYSTACK, using case-insensitive comparison. + Note: This function may, in multibyte locales, return success even if + strlen (haystack) < strlen (needle) ! + Unlike strcasestr(), this function works correctly in multibyte locales. */ +_GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSCSPN@ +/* Find the first occurrence in the character string STRING of any character + in the character string ACCEPT. Return the number of bytes from the + beginning of the string to this occurrence, or to the end of the string + if none exists. + Unlike strcspn(), this function works correctly in multibyte locales. */ +_GL_EXTERN_C size_t mbscspn (const char *string, const char *accept) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSPBRK@ +/* Find the first occurrence in the character string STRING of any character + in the character string ACCEPT. Return the pointer to it, or NULL if none + exists. + Unlike strpbrk(), this function works correctly in multibyte locales. */ +# if defined __hpux +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */ +# endif +_GL_FUNCDECL_RPL (mbspbrk, char *, (const char *string, const char *accept) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (mbspbrk, char *, (const char *string, const char *accept)); +# else +_GL_FUNCDECL_SYS (mbspbrk, char *, (const char *string, const char *accept) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_SYS (mbspbrk, char *, (const char *string, const char *accept)); +# endif +_GL_CXXALIASWARN (mbspbrk); +#endif + +#if @GNULIB_MBSSPN@ +/* Find the first occurrence in the character string STRING of any character + not in the character string REJECT. Return the number of bytes from the + beginning of the string to this occurrence, or to the end of the string + if none exists. + Unlike strspn(), this function works correctly in multibyte locales. */ +_GL_EXTERN_C size_t mbsspn (const char *string, const char *reject) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSSEP@ +/* Search the next delimiter (multibyte character listed in the character + string DELIM) starting at the character string *STRINGP. + If one is found, overwrite it with a NUL, and advance *STRINGP to point + to the next multibyte character after it. Otherwise, set *STRINGP to NULL. + If *STRINGP was already NULL, nothing happens. + Return the old value of *STRINGP. + + This is a variant of mbstok_r() that supports empty fields. + + Caveat: It modifies the original string. + Caveat: These functions cannot be used on constant strings. + Caveat: The identity of the delimiting character is lost. + + See also mbstok_r(). */ +_GL_EXTERN_C char * mbssep (char **stringp, const char *delim) + _GL_ARG_NONNULL ((1, 2)); +#endif + +#if @GNULIB_MBSTOK_R@ +/* Parse the character string STRING into tokens separated by characters in + the character string DELIM. + If STRING is NULL, the saved pointer in SAVE_PTR is used as + the next starting point. For example: + char s[] = "-abc-=-def"; + char *sp; + x = mbstok_r(s, "-", &sp); // x = "abc", sp = "=-def" + x = mbstok_r(NULL, "-=", &sp); // x = "def", sp = NULL + x = mbstok_r(NULL, "=", &sp); // x = NULL + // s = "abc\0-def\0" + + Caveat: It modifies the original string. + Caveat: These functions cannot be used on constant strings. + Caveat: The identity of the delimiting character is lost. + + See also mbssep(). */ +_GL_EXTERN_C char * mbstok_r (char *string, const char *delim, char **save_ptr) + _GL_ARG_NONNULL ((2, 3)); +#endif + +/* Map any int, typically from errno, into an error message. */ +#if @GNULIB_STRERROR@ +# if @REPLACE_STRERROR@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef strerror +# define strerror rpl_strerror +# endif +_GL_FUNCDECL_RPL (strerror, char *, (int)); +_GL_CXXALIAS_RPL (strerror, char *, (int)); +# else +_GL_CXXALIAS_SYS (strerror, char *, (int)); +# endif +_GL_CXXALIASWARN (strerror); +#elif defined GNULIB_POSIXCHECK +# undef strerror +/* Assume strerror is always declared. */ +_GL_WARN_ON_USE (strerror, "strerror is unportable - " + "use gnulib module strerror to guarantee non-NULL result"); +#endif + +#if @GNULIB_STRSIGNAL@ +# if @REPLACE_STRSIGNAL@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define strsignal rpl_strsignal +# endif +_GL_FUNCDECL_RPL (strsignal, char *, (int __sig)); +_GL_CXXALIAS_RPL (strsignal, char *, (int __sig)); +# else +# if ! @HAVE_DECL_STRSIGNAL@ +_GL_FUNCDECL_SYS (strsignal, char *, (int __sig)); +# endif +/* Need to cast, because on Cygwin 1.5.x systems, the return type is + 'const char *'. */ +_GL_CXXALIAS_SYS_CAST (strsignal, char *, (int __sig)); +# endif +_GL_CXXALIASWARN (strsignal); +#elif defined GNULIB_POSIXCHECK +# undef strsignal +# if HAVE_RAW_DECL_STRSIGNAL +_GL_WARN_ON_USE (strsignal, "strsignal is unportable - " + "use gnulib module strsignal for portability"); +# endif +#endif + +#if @GNULIB_STRVERSCMP@ +# if !@HAVE_STRVERSCMP@ +_GL_FUNCDECL_SYS (strverscmp, int, (const char *, const char *) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *)); +_GL_CXXALIASWARN (strverscmp); +#elif defined GNULIB_POSIXCHECK +# undef strverscmp +# if HAVE_RAW_DECL_STRVERSCMP +_GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - " + "use gnulib module strverscmp for portability"); +# endif +#endif + + +#endif /* _GL_STRING_H */ +#endif /* _GL_STRING_H */ diff --git a/grub-core/gnulib/strings.in.h b/grub-core/gnulib/strings.in.h new file mode 100644 index 0000000..c726a16 --- /dev/null +++ b/grub-core/gnulib/strings.in.h @@ -0,0 +1,93 @@ +/* A substitute . + + Copyright (C) 2007-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _GL_STRINGS_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. */ +#@INCLUDE_NEXT@ @NEXT_STRINGS_H@ + +#ifndef _GL_STRINGS_H +#define _GL_STRINGS_H + + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Compare strings S1 and S2, ignoring case, returning less than, equal to or + greater than zero if S1 is lexicographically less than, equal to or greater + than S2. + Note: This function does not work in multibyte locales. */ +#if ! @HAVE_STRCASECMP@ +extern int strcasecmp (char const *s1, char const *s2) + _GL_ARG_NONNULL ((1, 2)); +#endif +#if defined GNULIB_POSIXCHECK +/* strcasecmp() does not work with multibyte strings: + POSIX says that it operates on "strings", and "string" in POSIX is defined + as a sequence of bytes, not of characters. */ +# undef strcasecmp +# if HAVE_RAW_DECL_STRCASECMP +_GL_WARN_ON_USE (strcasecmp, "strcasecmp cannot work correctly on character " + "strings in multibyte locales - " + "use mbscasecmp if you care about " + "internationalization, or use c_strcasecmp , " + "gnulib module c-strcase) if you want a locale " + "independent function"); +# endif +#endif + +/* Compare no more than N bytes of strings S1 and S2, ignoring case, + returning less than, equal to or greater than zero if S1 is + lexicographically less than, equal to or greater than S2. + Note: This function cannot work correctly in multibyte locales. */ +#if ! @HAVE_DECL_STRNCASECMP@ +extern int strncasecmp (char const *s1, char const *s2, size_t n) + _GL_ARG_NONNULL ((1, 2)); +#endif +#if defined GNULIB_POSIXCHECK +/* strncasecmp() does not work with multibyte strings: + POSIX says that it operates on "strings", and "string" in POSIX is defined + as a sequence of bytes, not of characters. */ +# undef strncasecmp +# if HAVE_RAW_DECL_STRNCASECMP +_GL_WARN_ON_USE (strncasecmp, "strncasecmp cannot work correctly on character " + "strings in multibyte locales - " + "use mbsncasecmp or mbspcasecmp if you care about " + "internationalization, or use c_strncasecmp , " + "gnulib module c-strcase) if you want a locale " + "independent function"); +# endif +#endif + + +#ifdef __cplusplus +} +#endif + +#endif /* _GL_STRING_H */ +#endif /* _GL_STRING_H */ diff --git a/grub-core/gnulib/stripslash.c b/grub-core/gnulib/stripslash.c new file mode 100644 index 0000000..3a5996f --- /dev/null +++ b/grub-core/gnulib/stripslash.c @@ -0,0 +1,45 @@ +/* stripslash.c -- remove redundant trailing slashes from a file name + + Copyright (C) 1990, 2001, 2003-2006, 2009-2010 Free Software Foundation, + Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +#include "dirname.h" + +/* Remove trailing slashes from FILE. Return true if a trailing slash + was removed. This is useful when using file name completion from a + shell that adds a "/" after directory names (such as tcsh and + bash), because on symlinks to directories, several system calls + have different semantics according to whether a trailing slash is + present. */ + +bool +strip_trailing_slashes (char *file) +{ + char *base = last_component (file); + char *base_lim; + bool had_slash; + + /* last_component returns "" for file system roots, but we need to turn + `///' into `/'. */ + if (! *base) + base = file; + base_lim = base + base_len (base); + had_slash = (*base_lim != '\0'); + *base_lim = '\0'; + return had_slash; +} diff --git a/grub-core/gnulib/strncasecmp.c b/grub-core/gnulib/strncasecmp.c new file mode 100644 index 0000000..8c806a6 --- /dev/null +++ b/grub-core/gnulib/strncasecmp.c @@ -0,0 +1,63 @@ +/* strncasecmp.c -- case insensitive string comparator + Copyright (C) 1998-1999, 2005-2007, 2009-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +/* Specification. */ +#include + +#include +#include + +#define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) + +/* Compare no more than N bytes of strings S1 and S2, ignoring case, + returning less than, equal to or greater than zero if S1 is + lexicographically less than, equal to or greater than S2. + Note: This function cannot work correctly in multibyte locales. */ + +int +strncasecmp (const char *s1, const char *s2, size_t n) +{ + register const unsigned char *p1 = (const unsigned char *) s1; + register const unsigned char *p2 = (const unsigned char *) s2; + unsigned char c1, c2; + + if (p1 == p2 || n == 0) + return 0; + + do + { + c1 = TOLOWER (*p1); + c2 = TOLOWER (*p2); + + if (--n == 0 || c1 == '\0') + break; + + ++p1; + ++p2; + } + while (c1 == c2); + + if (UCHAR_MAX <= INT_MAX) + return c1 - c2; + else + /* On machines where 'char' and 'int' are types of the same size, the + difference of two 'unsigned char' values - including the sign bit - + doesn't fit in an 'int'. */ + return (c1 > c2 ? 1 : c1 < c2 ? -1 : 0); +} diff --git a/grub-core/gnulib/strndup.c b/grub-core/gnulib/strndup.c new file mode 100644 index 0000000..3de3dbc --- /dev/null +++ b/grub-core/gnulib/strndup.c @@ -0,0 +1,37 @@ +/* A replacement function, for systems that lack strndup. + + Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2005, 2006, 2007, 2009, + 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 3, or (at your option) any + later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +#include + +#include + +char * +strndup (char const *s, size_t n) +{ + size_t len = strnlen (s, n); + char *new = malloc (len + 1); + + if (new == NULL) + return NULL; + + new[len] = '\0'; + return memcpy (new, s, len); +} diff --git a/grub-core/gnulib/strnlen.c b/grub-core/gnulib/strnlen.c new file mode 100644 index 0000000..f1ec356 --- /dev/null +++ b/grub-core/gnulib/strnlen.c @@ -0,0 +1,31 @@ +/* Find the length of STRING, but scan at most MAXLEN characters. + Copyright (C) 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. + Written by Simon Josefsson. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include + +#include + +/* Find the length of STRING, but scan at most MAXLEN characters. + If no '\0' terminator is found in that many characters, return MAXLEN. */ + +size_t +strnlen (const char *string, size_t maxlen) +{ + const char *end = memchr (string, '\0', maxlen); + return end ? (size_t) (end - string) : maxlen; +} diff --git a/grub-core/gnulib/strnlen1.c b/grub-core/gnulib/strnlen1.c new file mode 100644 index 0000000..b8cd2bf --- /dev/null +++ b/grub-core/gnulib/strnlen1.c @@ -0,0 +1,35 @@ +/* Find the length of STRING + 1, but scan at most MAXLEN bytes. + Copyright (C) 2005-2006, 2009-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include "strnlen1.h" + +#include + +/* Find the length of STRING + 1, but scan at most MAXLEN bytes. + If no '\0' terminator is found in that many characters, return MAXLEN. */ +/* This is the same as strnlen (string, maxlen - 1) + 1. */ +size_t +strnlen1 (const char *string, size_t maxlen) +{ + const char *end = (const char *) memchr (string, '\0', maxlen); + if (end != NULL) + return end - string + 1; + else + return maxlen; +} diff --git a/grub-core/gnulib/strnlen1.h b/grub-core/gnulib/strnlen1.h new file mode 100644 index 0000000..dfaf62d --- /dev/null +++ b/grub-core/gnulib/strnlen1.h @@ -0,0 +1,39 @@ +/* Find the length of STRING + 1, but scan at most MAXLEN bytes. + Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef _STRNLEN1_H +#define _STRNLEN1_H + +#include + + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Find the length of STRING + 1, but scan at most MAXLEN bytes. + If no '\0' terminator is found in that many characters, return MAXLEN. */ +/* This is the same as strnlen (string, maxlen - 1) + 1. */ +extern size_t strnlen1 (const char *string, size_t maxlen); + + +#ifdef __cplusplus +} +#endif + + +#endif /* _STRNLEN1_H */ diff --git a/grub-core/gnulib/sys_wait.in.h b/grub-core/gnulib/sys_wait.in.h new file mode 100644 index 0000000..009fa21 --- /dev/null +++ b/grub-core/gnulib/sys_wait.in.h @@ -0,0 +1,106 @@ +/* A POSIX-like . + Copyright (C) 2001-2003, 2005-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + +#ifndef _GL_SYS_WAIT_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* The include_next requires a split double-inclusion guard. */ +#if !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) +# @INCLUDE_NEXT@ @NEXT_SYS_WAIT_H@ +#endif + +#ifndef _GL_SYS_WAIT_H +#define _GL_SYS_WAIT_H + +#if !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) +/* Unix API. */ + +/* The following macros apply to an argument x, that is a status of a process, + as returned by waitpid(). + On nearly all systems, including Linux/x86, WEXITSTATUS are bits 15..8 and + WTERMSIG are bits 7..0, while BeOS uses the opposite. Therefore programs + have to use the abstract macros. */ + +/* For valid x, exactly one of WIFSIGNALED(x), WIFEXITED(x), WIFSTOPPED(x) + is true. */ +# ifndef WIFSIGNALED +# define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f) +# endif +# ifndef WIFEXITED +# define WIFEXITED(x) (WTERMSIG (x) == 0) +# endif +# ifndef WIFSTOPPED +# define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f) +# endif + +/* The termination signal. Only to be accessed if WIFSIGNALED(x) is true. */ +# ifndef WTERMSIG +# define WTERMSIG(x) ((x) & 0x7f) +# endif + +/* The exit status. Only to be accessed if WIFEXITED(x) is true. */ +# ifndef WEXITSTATUS +# define WEXITSTATUS(x) (((x) >> 8) & 0xff) +# endif + +/* True if the process dumped core. Not standardized by POSIX. */ +# ifndef WCOREDUMP +# define WCOREDUMP(x) ((x) & 0x80) +# endif + +# ifdef __cplusplus +extern "C" { +# endif + +/* Declarations of functions. */ + +# ifdef __cplusplus +} +# endif + +#else +/* Native Windows API. */ + +# include + +# define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD) + +/* The following macros apply to an argument x, that is a status of a process, + as returned by waitpid() or, equivalently, _cwait() or GetExitCodeProcess(). + This value is simply an 'int', not composed of bit fields. */ + +/* When an unhandled fatal signal terminates a process, the exit code is 3. */ +# define WIFSIGNALED(x) ((x) == 3) +# define WIFEXITED(x) ((x) != 3) +# define WIFSTOPPED(x) 0 + +/* The signal that terminated a process is not known posthum. */ +# define WTERMSIG(x) SIGTERM + +# define WEXITSTATUS(x) (x) + +/* There are no core dumps. */ +# define WCOREDUMP(x) 0 + +#endif + +#endif /* _GL_SYS_WAIT_H */ +#endif /* _GL_SYS_WAIT_H */ diff --git a/grub-core/gnulib/sysexits.in.h b/grub-core/gnulib/sysexits.in.h new file mode 100644 index 0000000..45255df --- /dev/null +++ b/grub-core/gnulib/sysexits.in.h @@ -0,0 +1,71 @@ +/* exit() exit codes for some BSD system programs. + Copyright (C) 2003, 2006-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Simon Josefsson based on sysexits(3) man page */ + +#ifndef _GL_SYSEXITS_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +#if @HAVE_SYSEXITS_H@ + +/* IRIX 6.5 has an that defines a macro EX_OK with a nonzero + value. Override it. See + */ +# ifdef __sgi +# include +# undef EX_OK +# endif + +/* The include_next requires a split double-inclusion guard. */ +# @INCLUDE_NEXT@ @NEXT_SYSEXITS_H@ + +/* HP-UX 11 ends at EX_NOPERM. */ +# ifndef EX_CONFIG +# define EX_CONFIG 78 +# endif + +#endif + +#ifndef _GL_SYSEXITS_H +#define _GL_SYSEXITS_H + +#if !@HAVE_SYSEXITS_H@ + +# define EX_OK 0 /* same value as EXIT_SUCCESS */ + +# define EX_USAGE 64 +# define EX_DATAERR 65 +# define EX_NOINPUT 66 +# define EX_NOUSER 67 +# define EX_NOHOST 68 +# define EX_UNAVAILABLE 69 +# define EX_SOFTWARE 70 +# define EX_OSERR 71 +# define EX_OSFILE 72 +# define EX_CANTCREAT 73 +# define EX_IOERR 74 +# define EX_TEMPFAIL 75 +# define EX_PROTOCOL 76 +# define EX_NOPERM 77 +# define EX_CONFIG 78 + +#endif + +#endif /* _GL_SYSEXITS_H */ +#endif /* _GL_SYSEXITS_H */ diff --git a/grub-core/gnulib/unistd.in.h b/grub-core/gnulib/unistd.in.h new file mode 100644 index 0000000..26a4cbd --- /dev/null +++ b/grub-core/gnulib/unistd.in.h @@ -0,0 +1,1326 @@ +/* Substitute for and wrapper around . + Copyright (C) 2003-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +/* Special invocation convention: + - On mingw, several headers, including , include , + but we need to ensure that both the system and + are completely included before we replace gethostname. */ +#if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ + && !defined _GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H +/* is being indirectly included for the first time from + ; avoid declaring any overrides. */ +# if @HAVE_UNISTD_H@ +# @INCLUDE_NEXT@ @NEXT_UNISTD_H@ +# else +# error unexpected; report this to bug-gnulib@gnu.org +# endif +# define _GL_WINSOCK2_H_WITNESS + +/* Normal invocation. */ +#elif !defined _GL_UNISTD_H + +/* The include_next requires a split double-inclusion guard. */ +#if @HAVE_UNISTD_H@ +# @INCLUDE_NEXT@ @NEXT_UNISTD_H@ +#endif + +/* Get all possible declarations of gethostname(). */ +#if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ + && !defined _GL_INCLUDING_WINSOCK2_H +# define _GL_INCLUDING_WINSOCK2_H +# include +# undef _GL_INCLUDING_WINSOCK2_H +#endif + +#if !defined _GL_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H +#define _GL_UNISTD_H + +/* NetBSD 5.0 mis-defines NULL. Also get size_t. */ +#include + +/* mingw doesn't define the SEEK_* or *_FILENO macros in . */ +/* Cygwin 1.7.1 declares symlinkat in , not in . */ +/* But avoid namespace pollution on glibc systems. */ +#if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ + || (@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK)) \ + && ! defined __GLIBC__ +# include +#endif + +/* Cygwin 1.7.1 declares unlinkat in , not in . */ +/* But avoid namespace pollution on glibc systems. */ +#if (@GNULIB_UNLINKAT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ +# include +#endif + +/* mingw fails to declare _exit in . */ +/* mingw, BeOS, Haiku declare environ in , not in . */ +/* Solaris declares getcwd not only in but also in . */ +/* But avoid namespace pollution on glibc systems. */ +#ifndef __GLIBC__ +# include +#endif + +/* mingw declares getcwd in , not in . */ +#if ((@GNULIB_GETCWD@ || defined GNULIB_POSIXCHECK) \ + && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) +# include +#endif + +#if (@GNULIB_WRITE@ || @GNULIB_READLINK@ || @GNULIB_READLINKAT@ \ + || @GNULIB_PREAD@ || @GNULIB_PWRITE@ || defined GNULIB_POSIXCHECK) +/* Get ssize_t. */ +# include +#endif + +/* Get getopt(), optarg, optind, opterr, optopt. + But avoid namespace pollution on glibc systems. */ +#if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT +# include +#endif + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + + +#if @GNULIB_GETHOSTNAME@ +/* Get all possible declarations of gethostname(). */ +# if @UNISTD_H_HAVE_WINSOCK2_H@ +# if !defined _GL_SYS_SOCKET_H +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef socket +# define socket socket_used_without_including_sys_socket_h +# undef connect +# define connect connect_used_without_including_sys_socket_h +# undef accept +# define accept accept_used_without_including_sys_socket_h +# undef bind +# define bind bind_used_without_including_sys_socket_h +# undef getpeername +# define getpeername getpeername_used_without_including_sys_socket_h +# undef getsockname +# define getsockname getsockname_used_without_including_sys_socket_h +# undef getsockopt +# define getsockopt getsockopt_used_without_including_sys_socket_h +# undef listen +# define listen listen_used_without_including_sys_socket_h +# undef recv +# define recv recv_used_without_including_sys_socket_h +# undef send +# define send send_used_without_including_sys_socket_h +# undef recvfrom +# define recvfrom recvfrom_used_without_including_sys_socket_h +# undef sendto +# define sendto sendto_used_without_including_sys_socket_h +# undef setsockopt +# define setsockopt setsockopt_used_without_including_sys_socket_h +# undef shutdown +# define shutdown shutdown_used_without_including_sys_socket_h +# else + _GL_WARN_ON_USE (socket, + "socket() used without including "); + _GL_WARN_ON_USE (connect, + "connect() used without including "); + _GL_WARN_ON_USE (accept, + "accept() used without including "); + _GL_WARN_ON_USE (bind, + "bind() used without including "); + _GL_WARN_ON_USE (getpeername, + "getpeername() used without including "); + _GL_WARN_ON_USE (getsockname, + "getsockname() used without including "); + _GL_WARN_ON_USE (getsockopt, + "getsockopt() used without including "); + _GL_WARN_ON_USE (listen, + "listen() used without including "); + _GL_WARN_ON_USE (recv, + "recv() used without including "); + _GL_WARN_ON_USE (send, + "send() used without including "); + _GL_WARN_ON_USE (recvfrom, + "recvfrom() used without including "); + _GL_WARN_ON_USE (sendto, + "sendto() used without including "); + _GL_WARN_ON_USE (setsockopt, + "setsockopt() used without including "); + _GL_WARN_ON_USE (shutdown, + "shutdown() used without including "); +# endif +# endif +# if !defined _GL_SYS_SELECT_H +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef select +# define select select_used_without_including_sys_select_h +# else + _GL_WARN_ON_USE (select, + "select() used without including "); +# endif +# endif +# endif +#endif + + +/* OS/2 EMX lacks these macros. */ +#ifndef STDIN_FILENO +# define STDIN_FILENO 0 +#endif +#ifndef STDOUT_FILENO +# define STDOUT_FILENO 1 +#endif +#ifndef STDERR_FILENO +# define STDERR_FILENO 2 +#endif + +/* Ensure *_OK macros exist. */ +#ifndef F_OK +# define F_OK 0 +# define X_OK 1 +# define W_OK 2 +# define R_OK 4 +#endif + + +/* Declare overridden functions. */ + + +#if defined GNULIB_POSIXCHECK +/* The access() function is a security risk. */ +_GL_WARN_ON_USE (access, "the access function is a security risk - " + "use the gnulib module faccessat instead"); +#endif + + +#if @GNULIB_CHOWN@ +/* Change the owner of FILE to UID (if UID is not -1) and the group of FILE + to GID (if GID is not -1). Follow symbolic links. + Return 0 if successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if @REPLACE_CHOWN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef chown +# define chown rpl_chown +# endif +_GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)); +# else +# if !@HAVE_CHOWN@ +_GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)); +# endif +_GL_CXXALIASWARN (chown); +#elif defined GNULIB_POSIXCHECK +# undef chown +# if HAVE_RAW_DECL_CHOWN +_GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and " + "doesn't treat a uid or gid of -1 on some systems - " + "use gnulib module chown for portability"); +# endif +#endif + + +#if @GNULIB_CLOSE@ +# if @REPLACE_CLOSE@ +/* Automatically included by modules that need a replacement for close. */ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef close +# define close rpl_close +# endif +_GL_FUNCDECL_RPL (close, int, (int fd)); +_GL_CXXALIAS_RPL (close, int, (int fd)); +# else +_GL_CXXALIAS_SYS (close, int, (int fd)); +# endif +_GL_CXXALIASWARN (close); +#elif @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ +# undef close +# define close close_used_without_requesting_gnulib_module_close +#elif defined GNULIB_POSIXCHECK +# undef close +/* Assume close is always declared. */ +_GL_WARN_ON_USE (close, "close does not portably work on sockets - " + "use gnulib module close for portability"); +#endif + + +#if @REPLACE_DUP@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define dup rpl_dup +# endif +_GL_FUNCDECL_RPL (dup, int, (int oldfd)); +_GL_CXXALIAS_RPL (dup, int, (int oldfd)); +#else +_GL_CXXALIAS_SYS (dup, int, (int oldfd)); +#endif +_GL_CXXALIASWARN (dup); + + +#if @GNULIB_DUP2@ +/* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if + NEWFD = OLDFD, otherwise close NEWFD first if it is open. + Return newfd if successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if @REPLACE_DUP2@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define dup2 rpl_dup2 +# endif +_GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); +_GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); +# else +# if !@HAVE_DUP2@ +_GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); +# endif +_GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); +# endif +_GL_CXXALIASWARN (dup2); +#elif defined GNULIB_POSIXCHECK +# undef dup2 +# if HAVE_RAW_DECL_DUP2 +_GL_WARN_ON_USE (dup2, "dup2 is unportable - " + "use gnulib module dup2 for portability"); +# endif +#endif + + +#if @GNULIB_DUP3@ +/* Copy the file descriptor OLDFD into file descriptor NEWFD, with the + specified flags. + The flags are a bitmask, possibly including O_CLOEXEC (defined in ) + and O_TEXT, O_BINARY (defined in "binary-io.h"). + Close NEWFD first if it is open. + Return newfd if successful, otherwise -1 and errno set. + See the Linux man page at + . */ +# if @HAVE_DUP3@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define dup3 rpl_dup3 +# endif +_GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags)); +_GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags)); +# else +_GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags)); +_GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags)); +# endif +_GL_CXXALIASWARN (dup3); +#elif defined GNULIB_POSIXCHECK +# undef dup3 +# if HAVE_RAW_DECL_DUP3 +_GL_WARN_ON_USE (dup3, "dup3 is unportable - " + "use gnulib module dup3 for portability"); +# endif +#endif + + +#if @GNULIB_ENVIRON@ +# if !@HAVE_DECL_ENVIRON@ +/* Set of environment variables and values. An array of strings of the form + "VARIABLE=VALUE", terminated with a NULL. */ +# if defined __APPLE__ && defined __MACH__ +# include +# define environ (*_NSGetEnviron ()) +# else +# ifdef __cplusplus +extern "C" { +# endif +extern char **environ; +# ifdef __cplusplus +} +# endif +# endif +# endif +#elif defined GNULIB_POSIXCHECK +# if HAVE_RAW_DECL_ENVIRON +static inline char *** +rpl_environ (void) +{ + return &environ; +} +_GL_WARN_ON_USE (rpl_environ, "environ is unportable - " + "use gnulib module environ for portability"); +# undef environ +# define environ (*rpl_environ ()) +# endif +#endif + + +#if @GNULIB_EUIDACCESS@ +/* Like access(), except that it uses the effective user id and group id of + the current process. */ +# if !@HAVE_EUIDACCESS@ +_GL_FUNCDECL_SYS (euidaccess, int, (const char *filename, int mode) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (euidaccess, int, (const char *filename, int mode)); +_GL_CXXALIASWARN (euidaccess); +# if defined GNULIB_POSIXCHECK +/* Like access(), this function is a security risk. */ +_GL_WARN_ON_USE (euidaccess, "the euidaccess function is a security risk - " + "use the gnulib module faccessat instead"); +# endif +#elif defined GNULIB_POSIXCHECK +# undef euidaccess +# if HAVE_RAW_DECL_EUIDACCESS +_GL_WARN_ON_USE (euidaccess, "euidaccess is unportable - " + "use gnulib module euidaccess for portability"); +# endif +#endif + + +#if @GNULIB_FACCESSAT@ +# if !@HAVE_FACCESSAT@ +_GL_FUNCDECL_SYS (faccessat, int, + (int fd, char const *file, int mode, int flag) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (faccessat, int, + (int fd, char const *file, int mode, int flag)); +_GL_CXXALIASWARN (faccessat); +#elif defined GNULIB_POSIXCHECK +# undef faccessat +# if HAVE_RAW_DECL_FACCESSAT +_GL_WARN_ON_USE (faccessat, "faccessat is not portable - " + "use gnulib module faccessat for portability"); +# endif +#endif + + +#if @GNULIB_FCHDIR@ +/* Change the process' current working directory to the directory on which + the given file descriptor is open. + Return 0 if successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if ! @HAVE_FCHDIR@ +_GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); + +/* Gnulib internal hooks needed to maintain the fchdir metadata. */ +_GL_EXTERN_C int _gl_register_fd (int fd, const char *filename) + _GL_ARG_NONNULL ((2)); +_GL_EXTERN_C void _gl_unregister_fd (int fd); +_GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd); +_GL_EXTERN_C const char *_gl_directory_name (int fd); + +# endif +_GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); +_GL_CXXALIASWARN (fchdir); +#elif defined GNULIB_POSIXCHECK +# undef fchdir +# if HAVE_RAW_DECL_FCHDIR +_GL_WARN_ON_USE (fchdir, "fchdir is unportable - " + "use gnulib module fchdir for portability"); +# endif +#endif + + +#if @GNULIB_FCHOWNAT@ +# if @REPLACE_FCHOWNAT@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef fchownat +# define fchownat rpl_fchownat +# endif +_GL_FUNCDECL_RPL (fchownat, int, (int fd, char const *file, + uid_t owner, gid_t group, int flag) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (fchownat, int, (int fd, char const *file, + uid_t owner, gid_t group, int flag)); +# else +# if !@HAVE_FCHOWNAT@ +_GL_FUNCDECL_SYS (fchownat, int, (int fd, char const *file, + uid_t owner, gid_t group, int flag) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (fchownat, int, (int fd, char const *file, + uid_t owner, gid_t group, int flag)); +# endif +_GL_CXXALIASWARN (fchownat); +#elif defined GNULIB_POSIXCHECK +# undef fchownat +# if HAVE_RAW_DECL_FCHOWNAT +_GL_WARN_ON_USE (fchownat, "fchownat is not portable - " + "use gnulib module openat for portability"); +# endif +#endif + + +#if @GNULIB_FSYNC@ +/* Synchronize changes to a file. + Return 0 if successful, otherwise -1 and errno set. + See POSIX:2001 specification + . */ +# if !@HAVE_FSYNC@ +_GL_FUNCDECL_SYS (fsync, int, (int fd)); +# endif +_GL_CXXALIAS_SYS (fsync, int, (int fd)); +_GL_CXXALIASWARN (fsync); +#elif defined GNULIB_POSIXCHECK +# undef fsync +# if HAVE_RAW_DECL_FSYNC +_GL_WARN_ON_USE (fsync, "fsync is unportable - " + "use gnulib module fsync for portability"); +# endif +#endif + + +#if @GNULIB_FTRUNCATE@ +/* Change the size of the file to which FD is opened to become equal to LENGTH. + Return 0 if successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if !@HAVE_FTRUNCATE@ +_GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); +# endif +_GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length)); +_GL_CXXALIASWARN (ftruncate); +#elif defined GNULIB_POSIXCHECK +# undef ftruncate +# if HAVE_RAW_DECL_FTRUNCATE +_GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - " + "use gnulib module ftruncate for portability"); +# endif +#endif + + +#if @GNULIB_GETCWD@ +/* Get the name of the current working directory, and put it in SIZE bytes + of BUF. + Return BUF if successful, or NULL if the directory couldn't be determined + or SIZE was too small. + See the POSIX:2001 specification + . + Additionally, the gnulib module 'getcwd' guarantees the following GNU + extension: If BUF is NULL, an array is allocated with 'malloc'; the array + is SIZE bytes long, unless SIZE == 0, in which case it is as big as + necessary. */ +# if @REPLACE_GETCWD@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define getcwd rpl_getcwd +# endif +_GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size)); +_GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size)); +# else +/* Need to cast, because on mingw, the second parameter is + int size. */ +_GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); +# endif +_GL_CXXALIASWARN (getcwd); +#elif defined GNULIB_POSIXCHECK +# undef getcwd +# if HAVE_RAW_DECL_GETCWD +_GL_WARN_ON_USE (getcwd, "getcwd is unportable - " + "use gnulib module getcwd for portability"); +# endif +#endif + + +#if @GNULIB_GETDOMAINNAME@ +/* Return the NIS domain name of the machine. + WARNING! The NIS domain name is unrelated to the fully qualified host name + of the machine. It is also unrelated to email addresses. + WARNING! The NIS domain name is usually the empty string or "(none)" when + not using NIS. + + Put up to LEN bytes of the NIS domain name into NAME. + Null terminate it if the name is shorter than LEN. + If the NIS domain name is longer than LEN, set errno = EINVAL and return -1. + Return 0 if successful, otherwise set errno and return -1. */ +# if !@HAVE_GETDOMAINNAME@ +_GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) + _GL_ARG_NONNULL ((1))); +# endif +/* Need to cast, because on MacOS X 10.5 systems, the second parameter is + int len. */ +_GL_CXXALIAS_SYS_CAST (getdomainname, int, (char *name, size_t len)); +_GL_CXXALIASWARN (getdomainname); +#elif defined GNULIB_POSIXCHECK +# undef getdomainname +# if HAVE_RAW_DECL_GETDOMAINNAME +_GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - " + "use gnulib module getdomainname for portability"); +# endif +#endif + + +#if @GNULIB_GETDTABLESIZE@ +/* Return the maximum number of file descriptors in the current process. + In POSIX, this is same as sysconf (_SC_OPEN_MAX). */ +# if !@HAVE_GETDTABLESIZE@ +_GL_FUNCDECL_SYS (getdtablesize, int, (void)); +# endif +_GL_CXXALIAS_SYS (getdtablesize, int, (void)); +_GL_CXXALIASWARN (getdtablesize); +#elif defined GNULIB_POSIXCHECK +# undef getdtablesize +# if HAVE_RAW_DECL_GETDTABLESIZE +_GL_WARN_ON_USE (getdtablesize, "getdtablesize is unportable - " + "use gnulib module getdtablesize for portability"); +# endif +#endif + + +#if @GNULIB_GETGROUPS@ +/* Return the supplemental groups that the current process belongs to. + It is unspecified whether the effective group id is in the list. + If N is 0, return the group count; otherwise, N describes how many + entries are available in GROUPS. Return -1 and set errno if N is + not 0 and not large enough. Fails with ENOSYS on some systems. */ +# if @REPLACE_GETGROUPS@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef getgroups +# define getgroups rpl_getgroups +# endif +_GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); +_GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); +# else +# if !@HAVE_GETGROUPS@ +_GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); +# endif +_GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); +# endif +_GL_CXXALIASWARN (getgroups); +#elif defined GNULIB_POSIXCHECK +# undef getgroups +# if HAVE_RAW_DECL_GETGROUPS +_GL_WARN_ON_USE (getgroups, "getgroups is unportable - " + "use gnulib module getgroups for portability"); +# endif +#endif + + +#if @GNULIB_GETHOSTNAME@ +/* Return the standard host name of the machine. + WARNING! The host name may or may not be fully qualified. + + Put up to LEN bytes of the host name into NAME. + Null terminate it if the name is shorter than LEN. + If the host name is longer than LEN, set errno = EINVAL and return -1. + Return 0 if successful, otherwise set errno and return -1. */ +# if @UNISTD_H_HAVE_WINSOCK2_H@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef gethostname +# define gethostname rpl_gethostname +# endif +_GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); +# else +# if !@HAVE_GETHOSTNAME@ +_GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) + _GL_ARG_NONNULL ((1))); +# endif +/* Need to cast, because on Solaris 10 systems, the second parameter is + int len. */ +_GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); +# endif +_GL_CXXALIASWARN (gethostname); +#elif @UNISTD_H_HAVE_WINSOCK2_H@ +# undef gethostname +# define gethostname gethostname_used_without_requesting_gnulib_module_gethostname +#elif defined GNULIB_POSIXCHECK +# undef gethostname +# if HAVE_RAW_DECL_GETHOSTNAME +_GL_WARN_ON_USE (gethostname, "gethostname is unportable - " + "use gnulib module gethostname for portability"); +# endif +#endif + + +#if @GNULIB_GETLOGIN@ +/* Returns the user's login name, or NULL if it cannot be found. Upon error, + returns NULL with errno set. + + See . + + Most programs don't need to use this function, because the information is + available through environment variables: + ${LOGNAME-$USER} on Unix platforms, + $USERNAME on native Windows platforms. + */ +# if !@HAVE_GETLOGIN@ +_GL_FUNCDECL_SYS (getlogin, char *, (void)); +# endif +_GL_CXXALIAS_SYS (getlogin, char *, (void)); +_GL_CXXALIASWARN (getlogin); +#elif defined GNULIB_POSIXCHECK +# undef getlogin +# if HAVE_RAW_DECL_GETLOGIN +_GL_WARN_ON_USE (getlogin, "getlogin is unportable - " + "use gnulib module getlogin for portability"); +# endif +#endif + + +#if @GNULIB_GETLOGIN_R@ +/* Copies the user's login name to NAME. + The array pointed to by NAME has room for SIZE bytes. + + Returns 0 if successful. Upon error, an error number is returned, or -1 in + the case that the login name cannot be found but no specific error is + provided (this case is hopefully rare but is left open by the POSIX spec). + + See . + + Most programs don't need to use this function, because the information is + available through environment variables: + ${LOGNAME-$USER} on Unix platforms, + $USERNAME on native Windows platforms. + */ +# if !@HAVE_DECL_GETLOGIN_R@ +_GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size) + _GL_ARG_NONNULL ((1))); +# endif +/* Need to cast, because on Solaris 10 systems, the second argument is + int size. */ +_GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); +_GL_CXXALIASWARN (getlogin_r); +#elif defined GNULIB_POSIXCHECK +# undef getlogin_r +# if HAVE_RAW_DECL_GETLOGIN_R +_GL_WARN_ON_USE (getlogin_r, "getlogin_r is unportable - " + "use gnulib module getlogin_r for portability"); +# endif +#endif + + +#if @GNULIB_GETPAGESIZE@ +# if @REPLACE_GETPAGESIZE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define getpagesize rpl_getpagesize +# endif +_GL_FUNCDECL_RPL (getpagesize, int, (void)); +_GL_CXXALIAS_RPL (getpagesize, int, (void)); +# else +# if !@HAVE_GETPAGESIZE@ +# if !defined getpagesize +/* This is for POSIX systems. */ +# if !defined _gl_getpagesize && defined _SC_PAGESIZE +# if ! (defined __VMS && __VMS_VER < 70000000) +# define _gl_getpagesize() sysconf (_SC_PAGESIZE) +# endif +# endif +/* This is for older VMS. */ +# if !defined _gl_getpagesize && defined __VMS +# ifdef __ALPHA +# define _gl_getpagesize() 8192 +# else +# define _gl_getpagesize() 512 +# endif +# endif +/* This is for BeOS. */ +# if !defined _gl_getpagesize && @HAVE_OS_H@ +# include +# if defined B_PAGE_SIZE +# define _gl_getpagesize() B_PAGE_SIZE +# endif +# endif +/* This is for AmigaOS4.0. */ +# if !defined _gl_getpagesize && defined __amigaos4__ +# define _gl_getpagesize() 2048 +# endif +/* This is for older Unix systems. */ +# if !defined _gl_getpagesize && @HAVE_SYS_PARAM_H@ +# include +# ifdef EXEC_PAGESIZE +# define _gl_getpagesize() EXEC_PAGESIZE +# else +# ifdef NBPG +# ifndef CLSIZE +# define CLSIZE 1 +# endif +# define _gl_getpagesize() (NBPG * CLSIZE) +# else +# ifdef NBPC +# define _gl_getpagesize() NBPC +# endif +# endif +# endif +# endif +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define getpagesize() _gl_getpagesize () +# else +static inline int +getpagesize () +{ + return _gl_getpagesize (); +} +# endif +# endif +# endif +/* Need to cast, because on Cygwin 1.5.x systems, the return type is size_t. */ +_GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); +# endif +# if @HAVE_DECL_GETPAGESIZE@ +_GL_CXXALIASWARN (getpagesize); +# endif +#elif defined GNULIB_POSIXCHECK +# undef getpagesize +# if HAVE_RAW_DECL_GETPAGESIZE +_GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - " + "use gnulib module getpagesize for portability"); +# endif +#endif + + +#if @GNULIB_GETUSERSHELL@ +/* Return the next valid login shell on the system, or NULL when the end of + the list has been reached. */ +# if !@HAVE_DECL_GETUSERSHELL@ +_GL_FUNCDECL_SYS (getusershell, char *, (void)); +# endif +_GL_CXXALIAS_SYS (getusershell, char *, (void)); +_GL_CXXALIASWARN (getusershell); +#elif defined GNULIB_POSIXCHECK +# undef getusershell +# if HAVE_RAW_DECL_GETUSERSHELL +_GL_WARN_ON_USE (getusershell, "getusershell is unportable - " + "use gnulib module getusershell for portability"); +# endif +#endif + +#if @GNULIB_GETUSERSHELL@ +/* Rewind to pointer that is advanced at each getusershell() call. */ +# if !@HAVE_DECL_GETUSERSHELL@ +_GL_FUNCDECL_SYS (setusershell, void, (void)); +# endif +_GL_CXXALIAS_SYS (setusershell, void, (void)); +_GL_CXXALIASWARN (setusershell); +#elif defined GNULIB_POSIXCHECK +# undef setusershell +# if HAVE_RAW_DECL_SETUSERSHELL +_GL_WARN_ON_USE (setusershell, "setusershell is unportable - " + "use gnulib module getusershell for portability"); +# endif +#endif + +#if @GNULIB_GETUSERSHELL@ +/* Free the pointer that is advanced at each getusershell() call and + associated resources. */ +# if !@HAVE_DECL_GETUSERSHELL@ +_GL_FUNCDECL_SYS (endusershell, void, (void)); +# endif +_GL_CXXALIAS_SYS (endusershell, void, (void)); +_GL_CXXALIASWARN (endusershell); +#elif defined GNULIB_POSIXCHECK +# undef endusershell +# if HAVE_RAW_DECL_ENDUSERSHELL +_GL_WARN_ON_USE (endusershell, "endusershell is unportable - " + "use gnulib module getusershell for portability"); +# endif +#endif + + +#if @GNULIB_LCHOWN@ +/* Change the owner of FILE to UID (if UID is not -1) and the group of FILE + to GID (if GID is not -1). Do not follow symbolic links. + Return 0 if successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if @REPLACE_LCHOWN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef lchown +# define lchown rpl_lchown +# endif +_GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group) + _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)); +# else +# if !@HAVE_LCHOWN@ +_GL_FUNCDECL_SYS (lchown, int, (char const *file, uid_t owner, gid_t group) + _GL_ARG_NONNULL ((1))); +# endif +_GL_CXXALIAS_SYS (lchown, int, (char const *file, uid_t owner, gid_t group)); +# endif +_GL_CXXALIASWARN (lchown); +#elif defined GNULIB_POSIXCHECK +# undef lchown +# if HAVE_RAW_DECL_LCHOWN +_GL_WARN_ON_USE (lchown, "lchown is unportable to pre-POSIX.1-2001 systems - " + "use gnulib module lchown for portability"); +# endif +#endif + + +#if @GNULIB_LINK@ +/* Create a new hard link for an existing file. + Return 0 if successful, otherwise -1 and errno set. + See POSIX:2001 specification + . */ +# if @REPLACE_LINK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define link rpl_link +# endif +_GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2)); +# else +# if !@HAVE_LINK@ +_GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2)); +# endif +_GL_CXXALIASWARN (link); +#elif defined GNULIB_POSIXCHECK +# undef link +# if HAVE_RAW_DECL_LINK +_GL_WARN_ON_USE (link, "link is unportable - " + "use gnulib module link for portability"); +# endif +#endif + + +#if @GNULIB_LINKAT@ +/* Create a new hard link for an existing file, relative to two + directories. FLAG controls whether symlinks are followed. + Return 0 if successful, otherwise -1 and errno set. */ +# if @REPLACE_LINKAT@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef linkat +# define linkat rpl_linkat +# endif +_GL_FUNCDECL_RPL (linkat, int, + (int fd1, const char *path1, int fd2, const char *path2, + int flag) + _GL_ARG_NONNULL ((2, 4))); +_GL_CXXALIAS_RPL (linkat, int, + (int fd1, const char *path1, int fd2, const char *path2, + int flag)); +# else +# if !@HAVE_LINKAT@ +_GL_FUNCDECL_SYS (linkat, int, + (int fd1, const char *path1, int fd2, const char *path2, + int flag) + _GL_ARG_NONNULL ((2, 4))); +# endif +_GL_CXXALIAS_SYS (linkat, int, + (int fd1, const char *path1, int fd2, const char *path2, + int flag)); +# endif +_GL_CXXALIASWARN (linkat); +#elif defined GNULIB_POSIXCHECK +# undef linkat +# if HAVE_RAW_DECL_LINKAT +_GL_WARN_ON_USE (linkat, "linkat is unportable - " + "use gnulib module linkat for portability"); +# endif +#endif + + +#if @GNULIB_LSEEK@ +/* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. + Return the new offset if successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if @REPLACE_LSEEK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define lseek rpl_lseek +# endif +_GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence)); +_GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence)); +# else +_GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); +# endif +_GL_CXXALIASWARN (lseek); +#elif defined GNULIB_POSIXCHECK +# undef lseek +# if HAVE_RAW_DECL_LSEEK +_GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some " + "systems - use gnulib module lseek for portability"); +# endif +#endif + + +#if @GNULIB_PIPE2@ +/* Create a pipe, applying the given flags when opening the read-end of the + pipe and the write-end of the pipe. + The flags are a bitmask, possibly including O_CLOEXEC (defined in ) + and O_TEXT, O_BINARY (defined in "binary-io.h"). + Store the read-end as fd[0] and the write-end as fd[1]. + Return 0 upon success, or -1 with errno set upon failure. + See also the Linux man page at + . */ +# if @HAVE_PIPE2@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define pipe2 rpl_pipe2 +# endif +_GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); +# else +_GL_FUNCDECL_SYS (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_SYS (pipe2, int, (int fd[2], int flags)); +# endif +_GL_CXXALIASWARN (pipe2); +#elif defined GNULIB_POSIXCHECK +# undef pipe2 +# if HAVE_RAW_DECL_PIPE2 +_GL_WARN_ON_USE (pipe2, "pipe2 is unportable - " + "use gnulib module pipe2 for portability"); +# endif +#endif + + +#if @GNULIB_PREAD@ +/* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. + Return the number of bytes placed into BUF if successful, otherwise + set errno and return -1. 0 indicates EOF. See the POSIX:2001 + specification . */ +# if @REPLACE_PREAD@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define pread rpl_pread +# endif +_GL_FUNCDECL_RPL (pread, ssize_t, + (int fd, void *buf, size_t bufsize, off_t offset) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (pread, ssize_t, + (int fd, void *buf, size_t bufsize, off_t offset)); +# else +# if !@HAVE_PREAD@ +_GL_FUNCDECL_SYS (pread, ssize_t, + (int fd, void *buf, size_t bufsize, off_t offset) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (pread, ssize_t, + (int fd, void *buf, size_t bufsize, off_t offset)); +# endif +_GL_CXXALIASWARN (pread); +#elif defined GNULIB_POSIXCHECK +# undef pread +# if HAVE_RAW_DECL_PREAD +_GL_WARN_ON_USE (pread, "pread is unportable - " + "use gnulib module pread for portability"); +# endif +#endif + + +#if @GNULIB_PWRITE@ +/* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. + Return the number of bytes written if successful, otherwise + set errno and return -1. 0 indicates nothing written. See the + POSIX:2001 specification + . */ +# if @REPLACE_PWRITE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define pwrite rpl_pwrite +# endif +_GL_FUNCDECL_RPL (pwrite, ssize_t, + (int fd, const void *buf, size_t bufsize, off_t offset) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (pwrite, ssize_t, + (int fd, const void *buf, size_t bufsize, off_t offset)); +# else +# if !@HAVE_PWRITE@ +_GL_FUNCDECL_SYS (pwrite, ssize_t, + (int fd, const void *buf, size_t bufsize, off_t offset) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (pwrite, ssize_t, + (int fd, const void *buf, size_t bufsize, off_t offset)); +# endif +_GL_CXXALIASWARN (pwrite); +#elif defined GNULIB_POSIXCHECK +# undef pwrite +# if HAVE_RAW_DECL_PWRITE +_GL_WARN_ON_USE (pwrite, "pwrite is unportable - " + "use gnulib module pwrite for portability"); +# endif +#endif + + +#if @GNULIB_READLINK@ +/* Read the contents of the symbolic link FILE and place the first BUFSIZE + bytes of it into BUF. Return the number of bytes placed into BUF if + successful, otherwise -1 and errno set. + See the POSIX:2001 specification + . */ +# if @REPLACE_READLINK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define readlink rpl_readlink +# endif +_GL_FUNCDECL_RPL (readlink, ssize_t, + (const char *file, char *buf, size_t bufsize) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (readlink, ssize_t, + (const char *file, char *buf, size_t bufsize)); +# else +# if !@HAVE_READLINK@ +_GL_FUNCDECL_SYS (readlink, ssize_t, + (const char *file, char *buf, size_t bufsize) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (readlink, ssize_t, + (const char *file, char *buf, size_t bufsize)); +# endif +_GL_CXXALIASWARN (readlink); +#elif defined GNULIB_POSIXCHECK +# undef readlink +# if HAVE_RAW_DECL_READLINK +_GL_WARN_ON_USE (readlink, "readlink is unportable - " + "use gnulib module readlink for portability"); +# endif +#endif + + +#if @GNULIB_READLINKAT@ +# if !@HAVE_READLINKAT@ +_GL_FUNCDECL_SYS (readlinkat, ssize_t, + (int fd, char const *file, char *buf, size_t len) + _GL_ARG_NONNULL ((2, 3))); +# endif +_GL_CXXALIAS_SYS (readlinkat, ssize_t, + (int fd, char const *file, char *buf, size_t len)); +_GL_CXXALIASWARN (readlinkat); +#elif defined GNULIB_POSIXCHECK +# undef readlinkat +# if HAVE_RAW_DECL_READLINKAT +_GL_WARN_ON_USE (readlinkat, "readlinkat is not portable - " + "use gnulib module readlinkat for portability"); +# endif +#endif + + +#if @GNULIB_RMDIR@ +/* Remove the directory DIR. */ +# if @REPLACE_RMDIR@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define rmdir rpl_rmdir +# endif +_GL_FUNCDECL_RPL (rmdir, int, (char const *name) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (rmdir, int, (char const *name)); +# else +_GL_CXXALIAS_SYS (rmdir, int, (char const *name)); +# endif +_GL_CXXALIASWARN (rmdir); +#elif defined GNULIB_POSIXCHECK +# undef rmdir +# if HAVE_RAW_DECL_RMDIR +_GL_WARN_ON_USE (rmdir, "rmdir is unportable - " + "use gnulib module rmdir for portability"); +# endif +#endif + + +#if @GNULIB_SLEEP@ +/* Pause the execution of the current thread for N seconds. + Returns the number of seconds left to sleep. + See the POSIX:2001 specification + . */ +# if @REPLACE_SLEEP@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef sleep +# define sleep rpl_sleep +# endif +_GL_FUNCDECL_RPL (sleep, unsigned int, (unsigned int n)); +_GL_CXXALIAS_RPL (sleep, unsigned int, (unsigned int n)); +# else +# if !@HAVE_SLEEP@ +_GL_FUNCDECL_SYS (sleep, unsigned int, (unsigned int n)); +# endif +_GL_CXXALIAS_SYS (sleep, unsigned int, (unsigned int n)); +# endif +_GL_CXXALIASWARN (sleep); +#elif defined GNULIB_POSIXCHECK +# undef sleep +# if HAVE_RAW_DECL_SLEEP +_GL_WARN_ON_USE (sleep, "sleep is unportable - " + "use gnulib module sleep for portability"); +# endif +#endif + + +#if @GNULIB_SYMLINK@ +# if @REPLACE_SYMLINK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef symlink +# define symlink rpl_symlink +# endif +_GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file) + _GL_ARG_NONNULL ((1, 2))); +_GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file)); +# else +# if !@HAVE_SYMLINK@ +_GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file) + _GL_ARG_NONNULL ((1, 2))); +# endif +_GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file)); +# endif +_GL_CXXALIASWARN (symlink); +#elif defined GNULIB_POSIXCHECK +# undef symlink +# if HAVE_RAW_DECL_SYMLINK +_GL_WARN_ON_USE (symlink, "symlink is not portable - " + "use gnulib module symlink for portability"); +# endif +#endif + + +#if @GNULIB_SYMLINKAT@ +# if !@HAVE_SYMLINKAT@ +_GL_FUNCDECL_SYS (symlinkat, int, + (char const *contents, int fd, char const *file) + _GL_ARG_NONNULL ((1, 3))); +# endif +_GL_CXXALIAS_SYS (symlinkat, int, + (char const *contents, int fd, char const *file)); +_GL_CXXALIASWARN (symlinkat); +#elif defined GNULIB_POSIXCHECK +# undef symlinkat +# if HAVE_RAW_DECL_SYMLINKAT +_GL_WARN_ON_USE (symlinkat, "symlinkat is not portable - " + "use gnulib module symlinkat for portability"); +# endif +#endif + + +#if @GNULIB_TTYNAME_R@ +/* Store at most BUFLEN characters of the pathname of the terminal FD is + open on in BUF. Return 0 on success, otherwise an error number. */ +# if @REPLACE_TTYNAME_R@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef ttyname_r +# define ttyname_r rpl_ttyname_r +# endif +_GL_FUNCDECL_RPL (ttyname_r, int, + (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (ttyname_r, int, + (int fd, char *buf, size_t buflen)); +# else +# if !@HAVE_TTYNAME_R@ +_GL_FUNCDECL_SYS (ttyname_r, int, + (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (ttyname_r, int, + (int fd, char *buf, size_t buflen)); +# endif +_GL_CXXALIASWARN (ttyname_r); +#elif defined GNULIB_POSIXCHECK +# undef ttyname_r +# if HAVE_RAW_DECL_TTYNAME_R +_GL_WARN_ON_USE (ttyname_r, "ttyname_r is not portable - " + "use gnulib module ttyname_r for portability"); +# endif +#endif + + +#if @GNULIB_UNLINK@ +# if @REPLACE_UNLINK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef unlink +# define unlink rpl_unlink +# endif +_GL_FUNCDECL_RPL (unlink, int, (char const *file) _GL_ARG_NONNULL ((1))); +_GL_CXXALIAS_RPL (unlink, int, (char const *file)); +# else +_GL_CXXALIAS_SYS (unlink, int, (char const *file)); +# endif +_GL_CXXALIASWARN (unlink); +#elif defined GNULIB_POSIXCHECK +# undef unlink +# if HAVE_RAW_DECL_UNLINK +_GL_WARN_ON_USE (unlink, "unlink is not portable - " + "use gnulib module unlink for portability"); +# endif +#endif + + +#if @GNULIB_UNLINKAT@ +# if @REPLACE_UNLINKAT@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef unlinkat +# define unlinkat rpl_unlinkat +# endif +_GL_FUNCDECL_RPL (unlinkat, int, (int fd, char const *file, int flag) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (unlinkat, int, (int fd, char const *file, int flag)); +# else +# if !@HAVE_UNLINKAT@ +_GL_FUNCDECL_SYS (unlinkat, int, (int fd, char const *file, int flag) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (unlinkat, int, (int fd, char const *file, int flag)); +# endif +_GL_CXXALIASWARN (unlinkat); +#elif defined GNULIB_POSIXCHECK +# undef unlinkat +# if HAVE_RAW_DECL_UNLINKAT +_GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - " + "use gnulib module openat for portability"); +# endif +#endif + + +#if @GNULIB_USLEEP@ +/* Pause the execution of the current thread for N microseconds. + Returns 0 on completion, or -1 on range error. + See the POSIX:2001 specification + . */ +# if @REPLACE_USLEEP@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef usleep +# define usleep rpl_usleep +# endif +_GL_FUNCDECL_RPL (usleep, int, (useconds_t n)); +_GL_CXXALIAS_RPL (usleep, int, (useconds_t n)); +# else +# if !@HAVE_USLEEP@ +_GL_FUNCDECL_SYS (usleep, int, (useconds_t n)); +# endif +_GL_CXXALIAS_SYS (usleep, int, (useconds_t n)); +# endif +_GL_CXXALIASWARN (usleep); +#elif defined GNULIB_POSIXCHECK +# undef usleep +# if HAVE_RAW_DECL_USLEEP +_GL_WARN_ON_USE (usleep, "usleep is unportable - " + "use gnulib module usleep for portability"); +# endif +#endif + + +#if @GNULIB_WRITE@ +/* Write up to COUNT bytes starting at BUF to file descriptor FD. + See the POSIX:2001 specification + . */ +# if @REPLACE_WRITE@ && @GNULIB_UNISTD_H_SIGPIPE@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef write +# define write rpl_write +# endif +_GL_FUNCDECL_RPL (write, ssize_t, (int fd, const void *buf, size_t count) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (write, ssize_t, (int fd, const void *buf, size_t count)); +# else +/* Need to cast, because on mingw, the third parameter is + unsigned int count + and the return type is 'int'. */ +_GL_CXXALIAS_SYS_CAST (write, ssize_t, (int fd, const void *buf, size_t count)); +# endif +_GL_CXXALIASWARN (write); +#endif + + +#endif /* _GL_UNISTD_H */ +#endif /* _GL_UNISTD_H */ diff --git a/grub-core/gnulib/vasnprintf.c b/grub-core/gnulib/vasnprintf.c new file mode 100644 index 0000000..e618901 --- /dev/null +++ b/grub-core/gnulib/vasnprintf.c @@ -0,0 +1,5567 @@ +/* vsprintf with automatic memory allocation. + Copyright (C) 1999, 2002-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* This file can be parametrized with the following macros: + VASNPRINTF The name of the function being defined. + FCHAR_T The element type of the format string. + DCHAR_T The element type of the destination (result) string. + FCHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters + in the format string are ASCII. MUST be set if + FCHAR_T and DCHAR_T are not the same type. + DIRECTIVE Structure denoting a format directive. + Depends on FCHAR_T. + DIRECTIVES Structure denoting the set of format directives of a + format string. Depends on FCHAR_T. + PRINTF_PARSE Function that parses a format string. + Depends on FCHAR_T. + DCHAR_CPY memcpy like function for DCHAR_T[] arrays. + DCHAR_SET memset like function for DCHAR_T[] arrays. + DCHAR_MBSNLEN mbsnlen like function for DCHAR_T[] arrays. + SNPRINTF The system's snprintf (or similar) function. + This may be either snprintf or swprintf. + TCHAR_T The element type of the argument and result string + of the said SNPRINTF function. This may be either + char or wchar_t. The code exploits that + sizeof (TCHAR_T) | sizeof (DCHAR_T) and + alignof (TCHAR_T) <= alignof (DCHAR_T). + DCHAR_IS_TCHAR Set to 1 if DCHAR_T and TCHAR_T are the same type. + DCHAR_CONV_FROM_ENCODING A function to convert from char[] to DCHAR[]. + DCHAR_IS_UINT8_T Set to 1 if DCHAR_T is uint8_t. + DCHAR_IS_UINT16_T Set to 1 if DCHAR_T is uint16_t. + DCHAR_IS_UINT32_T Set to 1 if DCHAR_T is uint32_t. */ + +/* Tell glibc's to provide a prototype for snprintf(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifndef VASNPRINTF +# include +#endif +#ifndef IN_LIBINTL +# include +#endif + +/* Specification. */ +#ifndef VASNPRINTF +# if WIDE_CHAR_VERSION +# include "vasnwprintf.h" +# else +# include "vasnprintf.h" +# endif +#endif + +#include /* localeconv() */ +#include /* snprintf(), sprintf() */ +#include /* abort(), malloc(), realloc(), free() */ +#include /* memcpy(), strlen() */ +#include /* errno */ +#include /* CHAR_BIT */ +#include /* DBL_MAX_EXP, LDBL_MAX_EXP */ +#if HAVE_NL_LANGINFO +# include +#endif +#ifndef VASNPRINTF +# if WIDE_CHAR_VERSION +# include "wprintf-parse.h" +# else +# include "printf-parse.h" +# endif +#endif + +/* Checked size_t computations. */ +#include "xsize.h" + +#if (NEED_PRINTF_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL +# include +# include "float+.h" +#endif + +#if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL +# include +# include "isnand-nolibm.h" +#endif + +#if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) && !defined IN_LIBINTL +# include +# include "isnanl-nolibm.h" +# include "fpucw.h" +#endif + +#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL +# include +# include "isnand-nolibm.h" +# include "printf-frexp.h" +#endif + +#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL +# include +# include "isnanl-nolibm.h" +# include "printf-frexpl.h" +# include "fpucw.h" +#endif + +/* Default parameters. */ +#ifndef VASNPRINTF +# if WIDE_CHAR_VERSION +# define VASNPRINTF vasnwprintf +# define FCHAR_T wchar_t +# define DCHAR_T wchar_t +# define TCHAR_T wchar_t +# define DCHAR_IS_TCHAR 1 +# define DIRECTIVE wchar_t_directive +# define DIRECTIVES wchar_t_directives +# define PRINTF_PARSE wprintf_parse +# define DCHAR_CPY wmemcpy +# define DCHAR_SET wmemset +# else +# define VASNPRINTF vasnprintf +# define FCHAR_T char +# define DCHAR_T char +# define TCHAR_T char +# define DCHAR_IS_TCHAR 1 +# define DIRECTIVE char_directive +# define DIRECTIVES char_directives +# define PRINTF_PARSE printf_parse +# define DCHAR_CPY memcpy +# define DCHAR_SET memset +# endif +#endif +#if WIDE_CHAR_VERSION + /* TCHAR_T is wchar_t. */ +# define USE_SNPRINTF 1 +# if HAVE_DECL__SNWPRINTF + /* On Windows, the function swprintf() has a different signature than + on Unix; we use the function _snwprintf() or - on mingw - snwprintf() + instead. The mingw function snwprintf() has fewer bugs than the + MSVCRT function _snwprintf(), so prefer that. */ +# if defined __MINGW32__ +# define SNPRINTF snwprintf +# else +# define SNPRINTF _snwprintf +# endif +# else + /* Unix. */ +# define SNPRINTF swprintf +# endif +#else + /* TCHAR_T is char. */ + /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'. + But don't use it on BeOS, since BeOS snprintf produces no output if the + size argument is >= 0x3000000. + Also don't use it on Linux libc5, since there snprintf with size = 1 + writes any output without bounds, like sprintf. */ +# if (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) && !defined __BEOS__ && !(__GNU_LIBRARY__ == 1) +# define USE_SNPRINTF 1 +# else +# define USE_SNPRINTF 0 +# endif +# if HAVE_DECL__SNPRINTF + /* Windows. The mingw function snprintf() has fewer bugs than the MSVCRT + function _snprintf(), so prefer that. */ +# if defined __MINGW32__ +# define SNPRINTF snprintf + /* Here we need to call the native snprintf, not rpl_snprintf. */ +# undef snprintf +# else +# define SNPRINTF _snprintf +# endif +# else + /* Unix. */ +# define SNPRINTF snprintf + /* Here we need to call the native snprintf, not rpl_snprintf. */ +# undef snprintf +# endif +#endif +/* Here we need to call the native sprintf, not rpl_sprintf. */ +#undef sprintf + +/* GCC >= 4.0 with -Wall emits unjustified "... may be used uninitialized" + warnings in this file. Use -Dlint to suppress them. */ +#ifdef lint +# define IF_LINT(Code) Code +#else +# define IF_LINT(Code) /* empty */ +#endif + +/* Avoid some warnings from "gcc -Wshadow". + This file doesn't use the exp() and remainder() functions. */ +#undef exp +#define exp expo +#undef remainder +#define remainder rem + +#if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99) && !WIDE_CHAR_VERSION +# if (HAVE_STRNLEN && !defined _AIX) +# define local_strnlen strnlen +# else +# ifndef local_strnlen_defined +# define local_strnlen_defined 1 +static size_t +local_strnlen (const char *string, size_t maxlen) +{ + const char *end = memchr (string, '\0', maxlen); + return end ? (size_t) (end - string) : maxlen; +} +# endif +# endif +#endif + +#if (((!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99) && WIDE_CHAR_VERSION) || ((!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || (NEED_PRINTF_DIRECTIVE_LS && !defined IN_LIBINTL)) && !WIDE_CHAR_VERSION && DCHAR_IS_TCHAR)) && HAVE_WCHAR_T +# if HAVE_WCSLEN +# define local_wcslen wcslen +# else + /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid + a dependency towards this library, here is a local substitute. + Define this substitute only once, even if this file is included + twice in the same compilation unit. */ +# ifndef local_wcslen_defined +# define local_wcslen_defined 1 +static size_t +local_wcslen (const wchar_t *s) +{ + const wchar_t *ptr; + + for (ptr = s; *ptr != (wchar_t) 0; ptr++) + ; + return ptr - s; +} +# endif +# endif +#endif + +#if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99) && HAVE_WCHAR_T && WIDE_CHAR_VERSION +# if HAVE_WCSNLEN +# define local_wcsnlen wcsnlen +# else +# ifndef local_wcsnlen_defined +# define local_wcsnlen_defined 1 +static size_t +local_wcsnlen (const wchar_t *s, size_t maxlen) +{ + const wchar_t *ptr; + + for (ptr = s; maxlen > 0 && *ptr != (wchar_t) 0; ptr++, maxlen--) + ; + return ptr - s; +} +# endif +# endif +#endif + +#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL +/* Determine the decimal-point character according to the current locale. */ +# ifndef decimal_point_char_defined +# define decimal_point_char_defined 1 +static char +decimal_point_char (void) +{ + const char *point; + /* Determine it in a multithread-safe way. We know nl_langinfo is + multithread-safe on glibc systems and MacOS X systems, but is not required + to be multithread-safe by POSIX. sprintf(), however, is multithread-safe. + localeconv() is rarely multithread-safe. */ +# if HAVE_NL_LANGINFO && (__GLIBC__ || (defined __APPLE__ && defined __MACH__)) + point = nl_langinfo (RADIXCHAR); +# elif 1 + char pointbuf[5]; + sprintf (pointbuf, "%#.0f", 1.0); + point = &pointbuf[1]; +# else + point = localeconv () -> decimal_point; +# endif + /* The decimal point is always a single byte: either '.' or ','. */ + return (point[0] != '\0' ? point[0] : '.'); +} +# endif +#endif + +#if NEED_PRINTF_INFINITE_DOUBLE && !NEED_PRINTF_DOUBLE && !defined IN_LIBINTL + +/* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ +static int +is_infinite_or_zero (double x) +{ + return isnand (x) || x + x == x; +} + +#endif + +#if NEED_PRINTF_INFINITE_LONG_DOUBLE && !NEED_PRINTF_LONG_DOUBLE && !defined IN_LIBINTL + +/* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ +static int +is_infinite_or_zerol (long double x) +{ + return isnanl (x) || x + x == x; +} + +#endif + +#if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL + +/* Converting 'long double' to decimal without rare rounding bugs requires + real bignums. We use the naming conventions of GNU gmp, but vastly simpler + (and slower) algorithms. */ + +typedef unsigned int mp_limb_t; +# define GMP_LIMB_BITS 32 +typedef int mp_limb_verify[2 * (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS) - 1]; + +typedef unsigned long long mp_twolimb_t; +# define GMP_TWOLIMB_BITS 64 +typedef int mp_twolimb_verify[2 * (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS) - 1]; + +/* Representation of a bignum >= 0. */ +typedef struct +{ + size_t nlimbs; + mp_limb_t *limbs; /* Bits in little-endian order, allocated with malloc(). */ +} mpn_t; + +/* Compute the product of two bignums >= 0. + Return the allocated memory in case of success, NULL in case of memory + allocation failure. */ +static void * +multiply (mpn_t src1, mpn_t src2, mpn_t *dest) +{ + const mp_limb_t *p1; + const mp_limb_t *p2; + size_t len1; + size_t len2; + + if (src1.nlimbs <= src2.nlimbs) + { + len1 = src1.nlimbs; + p1 = src1.limbs; + len2 = src2.nlimbs; + p2 = src2.limbs; + } + else + { + len1 = src2.nlimbs; + p1 = src2.limbs; + len2 = src1.nlimbs; + p2 = src1.limbs; + } + /* Now 0 <= len1 <= len2. */ + if (len1 == 0) + { + /* src1 or src2 is zero. */ + dest->nlimbs = 0; + dest->limbs = (mp_limb_t *) malloc (1); + } + else + { + /* Here 1 <= len1 <= len2. */ + size_t dlen; + mp_limb_t *dp; + size_t k, i, j; + + dlen = len1 + len2; + dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); + if (dp == NULL) + return NULL; + for (k = len2; k > 0; ) + dp[--k] = 0; + for (i = 0; i < len1; i++) + { + mp_limb_t digit1 = p1[i]; + mp_twolimb_t carry = 0; + for (j = 0; j < len2; j++) + { + mp_limb_t digit2 = p2[j]; + carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; + carry += dp[i + j]; + dp[i + j] = (mp_limb_t) carry; + carry = carry >> GMP_LIMB_BITS; + } + dp[i + len2] = (mp_limb_t) carry; + } + /* Normalise. */ + while (dlen > 0 && dp[dlen - 1] == 0) + dlen--; + dest->nlimbs = dlen; + dest->limbs = dp; + } + return dest->limbs; +} + +/* Compute the quotient of a bignum a >= 0 and a bignum b > 0. + a is written as a = q * b + r with 0 <= r < b. q is the quotient, r + the remainder. + Finally, round-to-even is performed: If r > b/2 or if r = b/2 and q is odd, + q is incremented. + Return the allocated memory in case of success, NULL in case of memory + allocation failure. */ +static void * +divide (mpn_t a, mpn_t b, mpn_t *q) +{ + /* Algorithm: + First normalise a and b: a=[a[m-1],...,a[0]], b=[b[n-1],...,b[0]] + with m>=0 and n>0 (in base beta = 2^GMP_LIMB_BITS). + If m=n=1, perform a single-precision division: + r:=0, j:=m, + while j>0 do + {Here (q[m-1]*beta^(m-1)+...+q[j]*beta^j) * b[0] + r*beta^j = + = a[m-1]*beta^(m-1)+...+a[j]*beta^j und 0<=r=n>1, perform a multiple-precision division: + We have a/b < beta^(m-n+1). + s:=intDsize-1-(highest bit in b[n-1]), 0<=s=beta/2. + For j=m-n,...,0: {Here 0 <= r < b*beta^(j+1).} + Compute q* : + q* := floor((r[j+n]*beta+r[j+n-1])/b[n-1]). + In case of overflow (q* >= beta) set q* := beta-1. + Compute c2 := ((r[j+n]*beta+r[j+n-1]) - q* * b[n-1])*beta + r[j+n-2] + and c3 := b[n-2] * q*. + {We have 0 <= c2 < 2*beta^2, even 0 <= c2 < beta^2 if no overflow + occurred. Furthermore 0 <= c3 < beta^2. + If there was overflow and + r[j+n]*beta+r[j+n-1] - q* * b[n-1] >= beta, i.e. c2 >= beta^2, + the next test can be skipped.} + While c3 > c2, {Here 0 <= c2 < c3 < beta^2} + Put q* := q* - 1, c2 := c2 + b[n-1]*beta, c3 := c3 - b[n-2]. + If q* > 0: + Put r := r - b * q* * beta^j. In detail: + [r[n+j],...,r[j]] := [r[n+j],...,r[j]] - q* * [b[n-1],...,b[0]]. + hence: u:=0, for i:=0 to n-1 do + u := u + q* * b[i], + r[j+i]:=r[j+i]-(u mod beta) (+ beta, if carry), + u:=u div beta (+ 1, if carry in subtraction) + r[n+j]:=r[n+j]-u. + {Since always u = (q* * [b[i-1],...,b[0]] div beta^i) + 1 + < q* + 1 <= beta, + the carry u does not overflow.} + If a negative carry occurs, put q* := q* - 1 + and [r[n+j],...,r[j]] := [r[n+j],...,r[j]] + [0,b[n-1],...,b[0]]. + Set q[j] := q*. + Normalise [q[m-n],..,q[0]]; this yields the quotient q. + Shift [r[n-1],...,r[0]] right by s bits and normalise; this yields the + rest r. + The room for q[j] can be allocated at the memory location of r[n+j]. + Finally, round-to-even: + Shift r left by 1 bit. + If r > b or if r = b and q[0] is odd, q := q+1. + */ + const mp_limb_t *a_ptr = a.limbs; + size_t a_len = a.nlimbs; + const mp_limb_t *b_ptr = b.limbs; + size_t b_len = b.nlimbs; + mp_limb_t *roomptr; + mp_limb_t *tmp_roomptr = NULL; + mp_limb_t *q_ptr; + size_t q_len; + mp_limb_t *r_ptr; + size_t r_len; + + /* Allocate room for a_len+2 digits. + (Need a_len+1 digits for the real division and 1 more digit for the + final rounding of q.) */ + roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t)); + if (roomptr == NULL) + return NULL; + + /* Normalise a. */ + while (a_len > 0 && a_ptr[a_len - 1] == 0) + a_len--; + + /* Normalise b. */ + for (;;) + { + if (b_len == 0) + /* Division by zero. */ + abort (); + if (b_ptr[b_len - 1] == 0) + b_len--; + else + break; + } + + /* Here m = a_len >= 0 and n = b_len > 0. */ + + if (a_len < b_len) + { + /* m beta^(m-2) <= a/b < beta^m */ + r_ptr = roomptr; + q_ptr = roomptr + 1; + { + mp_limb_t den = b_ptr[0]; + mp_limb_t remainder = 0; + const mp_limb_t *sourceptr = a_ptr + a_len; + mp_limb_t *destptr = q_ptr + a_len; + size_t count; + for (count = a_len; count > 0; count--) + { + mp_twolimb_t num = + ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--sourceptr; + *--destptr = num / den; + remainder = num % den; + } + /* Normalise and store r. */ + if (remainder > 0) + { + r_ptr[0] = remainder; + r_len = 1; + } + else + r_len = 0; + /* Normalise q. */ + q_len = a_len; + if (q_ptr[q_len - 1] == 0) + q_len--; + } + } + else + { + /* n>1: multiple precision division. + beta^(m-1) <= a < beta^m, beta^(n-1) <= b < beta^n ==> + beta^(m-n-1) <= a/b < beta^(m-n+1). */ + /* Determine s. */ + size_t s; + { + mp_limb_t msd = b_ptr[b_len - 1]; /* = b[n-1], > 0 */ + s = 31; + if (msd >= 0x10000) + { + msd = msd >> 16; + s -= 16; + } + if (msd >= 0x100) + { + msd = msd >> 8; + s -= 8; + } + if (msd >= 0x10) + { + msd = msd >> 4; + s -= 4; + } + if (msd >= 0x4) + { + msd = msd >> 2; + s -= 2; + } + if (msd >= 0x2) + { + msd = msd >> 1; + s -= 1; + } + } + /* 0 <= s < GMP_LIMB_BITS. + Copy b, shifting it left by s bits. */ + if (s > 0) + { + tmp_roomptr = (mp_limb_t *) malloc (b_len * sizeof (mp_limb_t)); + if (tmp_roomptr == NULL) + { + free (roomptr); + return NULL; + } + { + const mp_limb_t *sourceptr = b_ptr; + mp_limb_t *destptr = tmp_roomptr; + mp_twolimb_t accu = 0; + size_t count; + for (count = b_len; count > 0; count--) + { + accu += (mp_twolimb_t) *sourceptr++ << s; + *destptr++ = (mp_limb_t) accu; + accu = accu >> GMP_LIMB_BITS; + } + /* accu must be zero, since that was how s was determined. */ + if (accu != 0) + abort (); + } + b_ptr = tmp_roomptr; + } + /* Copy a, shifting it left by s bits, yields r. + Memory layout: + At the beginning: r = roomptr[0..a_len], + at the end: r = roomptr[0..b_len-1], q = roomptr[b_len..a_len] */ + r_ptr = roomptr; + if (s == 0) + { + memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); + r_ptr[a_len] = 0; + } + else + { + const mp_limb_t *sourceptr = a_ptr; + mp_limb_t *destptr = r_ptr; + mp_twolimb_t accu = 0; + size_t count; + for (count = a_len; count > 0; count--) + { + accu += (mp_twolimb_t) *sourceptr++ << s; + *destptr++ = (mp_limb_t) accu; + accu = accu >> GMP_LIMB_BITS; + } + *destptr++ = (mp_limb_t) accu; + } + q_ptr = roomptr + b_len; + q_len = a_len - b_len + 1; /* q will have m-n+1 limbs */ + { + size_t j = a_len - b_len; /* m-n */ + mp_limb_t b_msd = b_ptr[b_len - 1]; /* b[n-1] */ + mp_limb_t b_2msd = b_ptr[b_len - 2]; /* b[n-2] */ + mp_twolimb_t b_msdd = /* b[n-1]*beta+b[n-2] */ + ((mp_twolimb_t) b_msd << GMP_LIMB_BITS) | b_2msd; + /* Division loop, traversed m-n+1 times. + j counts down, b is unchanged, beta/2 <= b[n-1] < beta. */ + for (;;) + { + mp_limb_t q_star; + mp_limb_t c1; + if (r_ptr[j + b_len] < b_msd) /* r[j+n] < b[n-1] ? */ + { + /* Divide r[j+n]*beta+r[j+n-1] by b[n-1], no overflow. */ + mp_twolimb_t num = + ((mp_twolimb_t) r_ptr[j + b_len] << GMP_LIMB_BITS) + | r_ptr[j + b_len - 1]; + q_star = num / b_msd; + c1 = num % b_msd; + } + else + { + /* Overflow, hence r[j+n]*beta+r[j+n-1] >= beta*b[n-1]. */ + q_star = (mp_limb_t)~(mp_limb_t)0; /* q* = beta-1 */ + /* Test whether r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] >= beta + <==> r[j+n]*beta+r[j+n-1] + b[n-1] >= beta*b[n-1]+beta + <==> b[n-1] < floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) + {<= beta !}. + If yes, jump directly to the subtraction loop. + (Otherwise, r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] < beta + <==> floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) = b[n-1] ) */ + if (r_ptr[j + b_len] > b_msd + || (c1 = r_ptr[j + b_len - 1] + b_msd) < b_msd) + /* r[j+n] >= b[n-1]+1 or + r[j+n] = b[n-1] and the addition r[j+n-1]+b[n-1] gives a + carry. */ + goto subtract; + } + /* q_star = q*, + c1 = (r[j+n]*beta+r[j+n-1]) - q* * b[n-1] (>=0, 0, decrease it by + b[n-1]*beta+b[n-2]. Because of b[n-1]*beta+b[n-2] >= beta^2/2 + this can happen only twice. */ + if (c3 > c2) + { + q_star = q_star - 1; /* q* := q* - 1 */ + if (c3 - c2 > b_msdd) + q_star = q_star - 1; /* q* := q* - 1 */ + } + } + if (q_star > 0) + subtract: + { + /* Subtract r := r - b * q* * beta^j. */ + mp_limb_t cr; + { + const mp_limb_t *sourceptr = b_ptr; + mp_limb_t *destptr = r_ptr + j; + mp_twolimb_t carry = 0; + size_t count; + for (count = b_len; count > 0; count--) + { + /* Here 0 <= carry <= q*. */ + carry = + carry + + (mp_twolimb_t) q_star * (mp_twolimb_t) *sourceptr++ + + (mp_limb_t) ~(*destptr); + /* Here 0 <= carry <= beta*q* + beta-1. */ + *destptr++ = ~(mp_limb_t) carry; + carry = carry >> GMP_LIMB_BITS; /* <= q* */ + } + cr = (mp_limb_t) carry; + } + /* Subtract cr from r_ptr[j + b_len], then forget about + r_ptr[j + b_len]. */ + if (cr > r_ptr[j + b_len]) + { + /* Subtraction gave a carry. */ + q_star = q_star - 1; /* q* := q* - 1 */ + /* Add b back. */ + { + const mp_limb_t *sourceptr = b_ptr; + mp_limb_t *destptr = r_ptr + j; + mp_limb_t carry = 0; + size_t count; + for (count = b_len; count > 0; count--) + { + mp_limb_t source1 = *sourceptr++; + mp_limb_t source2 = *destptr; + *destptr++ = source1 + source2 + carry; + carry = + (carry + ? source1 >= (mp_limb_t) ~source2 + : source1 > (mp_limb_t) ~source2); + } + } + /* Forget about the carry and about r[j+n]. */ + } + } + /* q* is determined. Store it as q[j]. */ + q_ptr[j] = q_star; + if (j == 0) + break; + j--; + } + } + r_len = b_len; + /* Normalise q. */ + if (q_ptr[q_len - 1] == 0) + q_len--; +# if 0 /* Not needed here, since we need r only to compare it with b/2, and + b is shifted left by s bits. */ + /* Shift r right by s bits. */ + if (s > 0) + { + mp_limb_t ptr = r_ptr + r_len; + mp_twolimb_t accu = 0; + size_t count; + for (count = r_len; count > 0; count--) + { + accu = (mp_twolimb_t) (mp_limb_t) accu << GMP_LIMB_BITS; + accu += (mp_twolimb_t) *--ptr << (GMP_LIMB_BITS - s); + *ptr = (mp_limb_t) (accu >> GMP_LIMB_BITS); + } + } +# endif + /* Normalise r. */ + while (r_len > 0 && r_ptr[r_len - 1] == 0) + r_len--; + } + /* Compare r << 1 with b. */ + if (r_len > b_len) + goto increment_q; + { + size_t i; + for (i = b_len;;) + { + mp_limb_t r_i = + (i <= r_len && i > 0 ? r_ptr[i - 1] >> (GMP_LIMB_BITS - 1) : 0) + | (i < r_len ? r_ptr[i] << 1 : 0); + mp_limb_t b_i = (i < b_len ? b_ptr[i] : 0); + if (r_i > b_i) + goto increment_q; + if (r_i < b_i) + goto keep_q; + if (i == 0) + break; + i--; + } + } + if (q_len > 0 && ((q_ptr[0] & 1) != 0)) + /* q is odd. */ + increment_q: + { + size_t i; + for (i = 0; i < q_len; i++) + if (++(q_ptr[i]) != 0) + goto keep_q; + q_ptr[q_len++] = 1; + } + keep_q: + if (tmp_roomptr != NULL) + free (tmp_roomptr); + q->limbs = q_ptr; + q->nlimbs = q_len; + return roomptr; +} + +/* Convert a bignum a >= 0, multiplied with 10^extra_zeroes, to decimal + representation. + Destroys the contents of a. + Return the allocated memory - containing the decimal digits in low-to-high + order, terminated with a NUL character - in case of success, NULL in case + of memory allocation failure. */ +static char * +convert_to_decimal (mpn_t a, size_t extra_zeroes) +{ + mp_limb_t *a_ptr = a.limbs; + size_t a_len = a.nlimbs; + /* 0.03345 is slightly larger than log(2)/(9*log(10)). */ + size_t c_len = 9 * ((size_t)(a_len * (GMP_LIMB_BITS * 0.03345f)) + 1); + char *c_ptr = (char *) malloc (xsum (c_len, extra_zeroes)); + if (c_ptr != NULL) + { + char *d_ptr = c_ptr; + for (; extra_zeroes > 0; extra_zeroes--) + *d_ptr++ = '0'; + while (a_len > 0) + { + /* Divide a by 10^9, in-place. */ + mp_limb_t remainder = 0; + mp_limb_t *ptr = a_ptr + a_len; + size_t count; + for (count = a_len; count > 0; count--) + { + mp_twolimb_t num = + ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--ptr; + *ptr = num / 1000000000; + remainder = num % 1000000000; + } + /* Store the remainder as 9 decimal digits. */ + for (count = 9; count > 0; count--) + { + *d_ptr++ = '0' + (remainder % 10); + remainder = remainder / 10; + } + /* Normalize a. */ + if (a_ptr[a_len - 1] == 0) + a_len--; + } + /* Remove leading zeroes. */ + while (d_ptr > c_ptr && d_ptr[-1] == '0') + d_ptr--; + /* But keep at least one zero. */ + if (d_ptr == c_ptr) + *d_ptr++ = '0'; + /* Terminate the string. */ + *d_ptr = '\0'; + } + return c_ptr; +} + +# if NEED_PRINTF_LONG_DOUBLE + +/* Assuming x is finite and >= 0: + write x as x = 2^e * m, where m is a bignum. + Return the allocated memory in case of success, NULL in case of memory + allocation failure. */ +static void * +decode_long_double (long double x, int *ep, mpn_t *mp) +{ + mpn_t m; + int exp; + long double y; + size_t i; + + /* Allocate memory for result. */ + m.nlimbs = (LDBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; + m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); + if (m.limbs == NULL) + return NULL; + /* Split into exponential part and mantissa. */ + y = frexpl (x, &exp); + if (!(y >= 0.0L && y < 1.0L)) + abort (); + /* x = 2^exp * y = 2^(exp - LDBL_MANT_BIT) * (y * LDBL_MANT_BIT), and the + latter is an integer. */ + /* Convert the mantissa (y * LDBL_MANT_BIT) to a sequence of limbs. + I'm not sure whether it's safe to cast a 'long double' value between + 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only + 'long double' values between 0 and 2^16 (to 'unsigned int' or 'int', + doesn't matter). */ +# if (LDBL_MANT_BIT % GMP_LIMB_BITS) != 0 +# if (LDBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 + { + mp_limb_t hi, lo; + y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % (GMP_LIMB_BITS / 2)); + hi = (int) y; + y -= hi; + if (!(y >= 0.0L && y < 1.0L)) + abort (); + y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); + lo = (int) y; + y -= lo; + if (!(y >= 0.0L && y < 1.0L)) + abort (); + m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; + } +# else + { + mp_limb_t d; + y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % GMP_LIMB_BITS); + d = (int) y; + y -= d; + if (!(y >= 0.0L && y < 1.0L)) + abort (); + m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = d; + } +# endif +# endif + for (i = LDBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) + { + mp_limb_t hi, lo; + y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); + hi = (int) y; + y -= hi; + if (!(y >= 0.0L && y < 1.0L)) + abort (); + y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); + lo = (int) y; + y -= lo; + if (!(y >= 0.0L && y < 1.0L)) + abort (); + m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; + } +#if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess + precision. */ + if (!(y == 0.0L)) + abort (); +#endif + /* Normalise. */ + while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) + m.nlimbs--; + *mp = m; + *ep = exp - LDBL_MANT_BIT; + return m.limbs; +} + +# endif + +# if NEED_PRINTF_DOUBLE + +/* Assuming x is finite and >= 0: + write x as x = 2^e * m, where m is a bignum. + Return the allocated memory in case of success, NULL in case of memory + allocation failure. */ +static void * +decode_double (double x, int *ep, mpn_t *mp) +{ + mpn_t m; + int exp; + double y; + size_t i; + + /* Allocate memory for result. */ + m.nlimbs = (DBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; + m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); + if (m.limbs == NULL) + return NULL; + /* Split into exponential part and mantissa. */ + y = frexp (x, &exp); + if (!(y >= 0.0 && y < 1.0)) + abort (); + /* x = 2^exp * y = 2^(exp - DBL_MANT_BIT) * (y * DBL_MANT_BIT), and the + latter is an integer. */ + /* Convert the mantissa (y * DBL_MANT_BIT) to a sequence of limbs. + I'm not sure whether it's safe to cast a 'double' value between + 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only + 'double' values between 0 and 2^16 (to 'unsigned int' or 'int', + doesn't matter). */ +# if (DBL_MANT_BIT % GMP_LIMB_BITS) != 0 +# if (DBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 + { + mp_limb_t hi, lo; + y *= (mp_limb_t) 1 << (DBL_MANT_BIT % (GMP_LIMB_BITS / 2)); + hi = (int) y; + y -= hi; + if (!(y >= 0.0 && y < 1.0)) + abort (); + y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); + lo = (int) y; + y -= lo; + if (!(y >= 0.0 && y < 1.0)) + abort (); + m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; + } +# else + { + mp_limb_t d; + y *= (mp_limb_t) 1 << (DBL_MANT_BIT % GMP_LIMB_BITS); + d = (int) y; + y -= d; + if (!(y >= 0.0 && y < 1.0)) + abort (); + m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = d; + } +# endif +# endif + for (i = DBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) + { + mp_limb_t hi, lo; + y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); + hi = (int) y; + y -= hi; + if (!(y >= 0.0 && y < 1.0)) + abort (); + y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); + lo = (int) y; + y -= lo; + if (!(y >= 0.0 && y < 1.0)) + abort (); + m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; + } + if (!(y == 0.0)) + abort (); + /* Normalise. */ + while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) + m.nlimbs--; + *mp = m; + *ep = exp - DBL_MANT_BIT; + return m.limbs; +} + +# endif + +/* Assuming x = 2^e * m is finite and >= 0, and n is an integer: + Returns the decimal representation of round (x * 10^n). + Return the allocated memory - containing the decimal digits in low-to-high + order, terminated with a NUL character - in case of success, NULL in case + of memory allocation failure. */ +static char * +scale10_round_decimal_decoded (int e, mpn_t m, void *memory, int n) +{ + int s; + size_t extra_zeroes; + unsigned int abs_n; + unsigned int abs_s; + mp_limb_t *pow5_ptr; + size_t pow5_len; + unsigned int s_limbs; + unsigned int s_bits; + mpn_t pow5; + mpn_t z; + void *z_memory; + char *digits; + + if (memory == NULL) + return NULL; + /* x = 2^e * m, hence + y = round (2^e * 10^n * m) = round (2^(e+n) * 5^n * m) + = round (2^s * 5^n * m). */ + s = e + n; + extra_zeroes = 0; + /* Factor out a common power of 10 if possible. */ + if (s > 0 && n > 0) + { + extra_zeroes = (s < n ? s : n); + s -= extra_zeroes; + n -= extra_zeroes; + } + /* Here y = round (2^s * 5^n * m) * 10^extra_zeroes. + Before converting to decimal, we need to compute + z = round (2^s * 5^n * m). */ + /* Compute 5^|n|, possibly shifted by |s| bits if n and s have the same + sign. 2.322 is slightly larger than log(5)/log(2). */ + abs_n = (n >= 0 ? n : -n); + abs_s = (s >= 0 ? s : -s); + pow5_ptr = (mp_limb_t *) malloc (((int)(abs_n * (2.322f / GMP_LIMB_BITS)) + 1 + + abs_s / GMP_LIMB_BITS + 1) + * sizeof (mp_limb_t)); + if (pow5_ptr == NULL) + { + free (memory); + return NULL; + } + /* Initialize with 1. */ + pow5_ptr[0] = 1; + pow5_len = 1; + /* Multiply with 5^|n|. */ + if (abs_n > 0) + { + static mp_limb_t const small_pow5[13 + 1] = + { + 1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, + 48828125, 244140625, 1220703125 + }; + unsigned int n13; + for (n13 = 0; n13 <= abs_n; n13 += 13) + { + mp_limb_t digit1 = small_pow5[n13 + 13 <= abs_n ? 13 : abs_n - n13]; + size_t j; + mp_twolimb_t carry = 0; + for (j = 0; j < pow5_len; j++) + { + mp_limb_t digit2 = pow5_ptr[j]; + carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; + pow5_ptr[j] = (mp_limb_t) carry; + carry = carry >> GMP_LIMB_BITS; + } + if (carry > 0) + pow5_ptr[pow5_len++] = (mp_limb_t) carry; + } + } + s_limbs = abs_s / GMP_LIMB_BITS; + s_bits = abs_s % GMP_LIMB_BITS; + if (n >= 0 ? s >= 0 : s <= 0) + { + /* Multiply with 2^|s|. */ + if (s_bits > 0) + { + mp_limb_t *ptr = pow5_ptr; + mp_twolimb_t accu = 0; + size_t count; + for (count = pow5_len; count > 0; count--) + { + accu += (mp_twolimb_t) *ptr << s_bits; + *ptr++ = (mp_limb_t) accu; + accu = accu >> GMP_LIMB_BITS; + } + if (accu > 0) + { + *ptr = (mp_limb_t) accu; + pow5_len++; + } + } + if (s_limbs > 0) + { + size_t count; + for (count = pow5_len; count > 0;) + { + count--; + pow5_ptr[s_limbs + count] = pow5_ptr[count]; + } + for (count = s_limbs; count > 0;) + { + count--; + pow5_ptr[count] = 0; + } + pow5_len += s_limbs; + } + pow5.limbs = pow5_ptr; + pow5.nlimbs = pow5_len; + if (n >= 0) + { + /* Multiply m with pow5. No division needed. */ + z_memory = multiply (m, pow5, &z); + } + else + { + /* Divide m by pow5 and round. */ + z_memory = divide (m, pow5, &z); + } + } + else + { + pow5.limbs = pow5_ptr; + pow5.nlimbs = pow5_len; + if (n >= 0) + { + /* n >= 0, s < 0. + Multiply m with pow5, then divide by 2^|s|. */ + mpn_t numerator; + mpn_t denominator; + void *tmp_memory; + tmp_memory = multiply (m, pow5, &numerator); + if (tmp_memory == NULL) + { + free (pow5_ptr); + free (memory); + return NULL; + } + /* Construct 2^|s|. */ + { + mp_limb_t *ptr = pow5_ptr + pow5_len; + size_t i; + for (i = 0; i < s_limbs; i++) + ptr[i] = 0; + ptr[s_limbs] = (mp_limb_t) 1 << s_bits; + denominator.limbs = ptr; + denominator.nlimbs = s_limbs + 1; + } + z_memory = divide (numerator, denominator, &z); + free (tmp_memory); + } + else + { + /* n < 0, s > 0. + Multiply m with 2^s, then divide by pow5. */ + mpn_t numerator; + mp_limb_t *num_ptr; + num_ptr = (mp_limb_t *) malloc ((m.nlimbs + s_limbs + 1) + * sizeof (mp_limb_t)); + if (num_ptr == NULL) + { + free (pow5_ptr); + free (memory); + return NULL; + } + { + mp_limb_t *destptr = num_ptr; + { + size_t i; + for (i = 0; i < s_limbs; i++) + *destptr++ = 0; + } + if (s_bits > 0) + { + const mp_limb_t *sourceptr = m.limbs; + mp_twolimb_t accu = 0; + size_t count; + for (count = m.nlimbs; count > 0; count--) + { + accu += (mp_twolimb_t) *sourceptr++ << s_bits; + *destptr++ = (mp_limb_t) accu; + accu = accu >> GMP_LIMB_BITS; + } + if (accu > 0) + *destptr++ = (mp_limb_t) accu; + } + else + { + const mp_limb_t *sourceptr = m.limbs; + size_t count; + for (count = m.nlimbs; count > 0; count--) + *destptr++ = *sourceptr++; + } + numerator.limbs = num_ptr; + numerator.nlimbs = destptr - num_ptr; + } + z_memory = divide (numerator, pow5, &z); + free (num_ptr); + } + } + free (pow5_ptr); + free (memory); + + /* Here y = round (x * 10^n) = z * 10^extra_zeroes. */ + + if (z_memory == NULL) + return NULL; + digits = convert_to_decimal (z, extra_zeroes); + free (z_memory); + return digits; +} + +# if NEED_PRINTF_LONG_DOUBLE + +/* Assuming x is finite and >= 0, and n is an integer: + Returns the decimal representation of round (x * 10^n). + Return the allocated memory - containing the decimal digits in low-to-high + order, terminated with a NUL character - in case of success, NULL in case + of memory allocation failure. */ +static char * +scale10_round_decimal_long_double (long double x, int n) +{ + int e IF_LINT(= 0); + mpn_t m; + void *memory = decode_long_double (x, &e, &m); + return scale10_round_decimal_decoded (e, m, memory, n); +} + +# endif + +# if NEED_PRINTF_DOUBLE + +/* Assuming x is finite and >= 0, and n is an integer: + Returns the decimal representation of round (x * 10^n). + Return the allocated memory - containing the decimal digits in low-to-high + order, terminated with a NUL character - in case of success, NULL in case + of memory allocation failure. */ +static char * +scale10_round_decimal_double (double x, int n) +{ + int e IF_LINT(= 0); + mpn_t m; + void *memory = decode_double (x, &e, &m); + return scale10_round_decimal_decoded (e, m, memory, n); +} + +# endif + +# if NEED_PRINTF_LONG_DOUBLE + +/* Assuming x is finite and > 0: + Return an approximation for n with 10^n <= x < 10^(n+1). + The approximation is usually the right n, but may be off by 1 sometimes. */ +static int +floorlog10l (long double x) +{ + int exp; + long double y; + double z; + double l; + + /* Split into exponential part and mantissa. */ + y = frexpl (x, &exp); + if (!(y >= 0.0L && y < 1.0L)) + abort (); + if (y == 0.0L) + return INT_MIN; + if (y < 0.5L) + { + while (y < (1.0L / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) + { + y *= 1.0L * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); + exp -= GMP_LIMB_BITS; + } + if (y < (1.0L / (1 << 16))) + { + y *= 1.0L * (1 << 16); + exp -= 16; + } + if (y < (1.0L / (1 << 8))) + { + y *= 1.0L * (1 << 8); + exp -= 8; + } + if (y < (1.0L / (1 << 4))) + { + y *= 1.0L * (1 << 4); + exp -= 4; + } + if (y < (1.0L / (1 << 2))) + { + y *= 1.0L * (1 << 2); + exp -= 2; + } + if (y < (1.0L / (1 << 1))) + { + y *= 1.0L * (1 << 1); + exp -= 1; + } + } + if (!(y >= 0.5L && y < 1.0L)) + abort (); + /* Compute an approximation for l = log2(x) = exp + log2(y). */ + l = exp; + z = y; + if (z < 0.70710678118654752444) + { + z *= 1.4142135623730950488; + l -= 0.5; + } + if (z < 0.8408964152537145431) + { + z *= 1.1892071150027210667; + l -= 0.25; + } + if (z < 0.91700404320467123175) + { + z *= 1.0905077326652576592; + l -= 0.125; + } + if (z < 0.9576032806985736469) + { + z *= 1.0442737824274138403; + l -= 0.0625; + } + /* Now 0.95 <= z <= 1.01. */ + z = 1 - z; + /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) + Four terms are enough to get an approximation with error < 10^-7. */ + l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); + /* Finally multiply with log(2)/log(10), yields an approximation for + log10(x). */ + l *= 0.30102999566398119523; + /* Round down to the next integer. */ + return (int) l + (l < 0 ? -1 : 0); +} + +# endif + +# if NEED_PRINTF_DOUBLE + +/* Assuming x is finite and > 0: + Return an approximation for n with 10^n <= x < 10^(n+1). + The approximation is usually the right n, but may be off by 1 sometimes. */ +static int +floorlog10 (double x) +{ + int exp; + double y; + double z; + double l; + + /* Split into exponential part and mantissa. */ + y = frexp (x, &exp); + if (!(y >= 0.0 && y < 1.0)) + abort (); + if (y == 0.0) + return INT_MIN; + if (y < 0.5) + { + while (y < (1.0 / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) + { + y *= 1.0 * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); + exp -= GMP_LIMB_BITS; + } + if (y < (1.0 / (1 << 16))) + { + y *= 1.0 * (1 << 16); + exp -= 16; + } + if (y < (1.0 / (1 << 8))) + { + y *= 1.0 * (1 << 8); + exp -= 8; + } + if (y < (1.0 / (1 << 4))) + { + y *= 1.0 * (1 << 4); + exp -= 4; + } + if (y < (1.0 / (1 << 2))) + { + y *= 1.0 * (1 << 2); + exp -= 2; + } + if (y < (1.0 / (1 << 1))) + { + y *= 1.0 * (1 << 1); + exp -= 1; + } + } + if (!(y >= 0.5 && y < 1.0)) + abort (); + /* Compute an approximation for l = log2(x) = exp + log2(y). */ + l = exp; + z = y; + if (z < 0.70710678118654752444) + { + z *= 1.4142135623730950488; + l -= 0.5; + } + if (z < 0.8408964152537145431) + { + z *= 1.1892071150027210667; + l -= 0.25; + } + if (z < 0.91700404320467123175) + { + z *= 1.0905077326652576592; + l -= 0.125; + } + if (z < 0.9576032806985736469) + { + z *= 1.0442737824274138403; + l -= 0.0625; + } + /* Now 0.95 <= z <= 1.01. */ + z = 1 - z; + /* log2(1-z) = 1/log(2) * (- z - z^2/2 - z^3/3 - z^4/4 - ...) + Four terms are enough to get an approximation with error < 10^-7. */ + l -= 1.4426950408889634074 * z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); + /* Finally multiply with log(2)/log(10), yields an approximation for + log10(x). */ + l *= 0.30102999566398119523; + /* Round down to the next integer. */ + return (int) l + (l < 0 ? -1 : 0); +} + +# endif + +/* Tests whether a string of digits consists of exactly PRECISION zeroes and + a single '1' digit. */ +static int +is_borderline (const char *digits, size_t precision) +{ + for (; precision > 0; precision--, digits++) + if (*digits != '0') + return 0; + if (*digits != '1') + return 0; + digits++; + return *digits == '\0'; +} + +#endif + +#if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 + +/* Use a different function name, to make it possible that the 'wchar_t' + parametrization and the 'char' parametrization get compiled in the same + translation unit. */ +# if WIDE_CHAR_VERSION +# define MAX_ROOM_NEEDED wmax_room_needed +# else +# define MAX_ROOM_NEEDED max_room_needed +# endif + +/* Returns the number of TCHAR_T units needed as temporary space for the result + of sprintf or SNPRINTF of a single conversion directive. */ +static inline size_t +MAX_ROOM_NEEDED (const arguments *ap, size_t arg_index, FCHAR_T conversion, + arg_type type, int flags, size_t width, int has_precision, + size_t precision, int pad_ourselves) +{ + size_t tmp_length; + + switch (conversion) + { + case 'd': case 'i': case 'u': +# if HAVE_LONG_LONG_INT + if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long long) * CHAR_BIT + * 0.30103 /* binary -> decimal */ + ) + + 1; /* turn floor into ceil */ + else +# endif + if (type == TYPE_LONGINT || type == TYPE_ULONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long) * CHAR_BIT + * 0.30103 /* binary -> decimal */ + ) + + 1; /* turn floor into ceil */ + else + tmp_length = + (unsigned int) (sizeof (unsigned int) * CHAR_BIT + * 0.30103 /* binary -> decimal */ + ) + + 1; /* turn floor into ceil */ + if (tmp_length < precision) + tmp_length = precision; + /* Multiply by 2, as an estimate for FLAG_GROUP. */ + tmp_length = xsum (tmp_length, tmp_length); + /* Add 1, to account for a leading sign. */ + tmp_length = xsum (tmp_length, 1); + break; + + case 'o': +# if HAVE_LONG_LONG_INT + if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long long) * CHAR_BIT + * 0.333334 /* binary -> octal */ + ) + + 1; /* turn floor into ceil */ + else +# endif + if (type == TYPE_LONGINT || type == TYPE_ULONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long) * CHAR_BIT + * 0.333334 /* binary -> octal */ + ) + + 1; /* turn floor into ceil */ + else + tmp_length = + (unsigned int) (sizeof (unsigned int) * CHAR_BIT + * 0.333334 /* binary -> octal */ + ) + + 1; /* turn floor into ceil */ + if (tmp_length < precision) + tmp_length = precision; + /* Add 1, to account for a leading sign. */ + tmp_length = xsum (tmp_length, 1); + break; + + case 'x': case 'X': +# if HAVE_LONG_LONG_INT + if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long long) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + else +# endif + if (type == TYPE_LONGINT || type == TYPE_ULONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + else + tmp_length = + (unsigned int) (sizeof (unsigned int) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + if (tmp_length < precision) + tmp_length = precision; + /* Add 2, to account for a leading sign or alternate form. */ + tmp_length = xsum (tmp_length, 2); + break; + + case 'f': case 'F': + if (type == TYPE_LONGDOUBLE) + tmp_length = + (unsigned int) (LDBL_MAX_EXP + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 10; /* sign, decimal point etc. */ + else + tmp_length = + (unsigned int) (DBL_MAX_EXP + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 10; /* sign, decimal point etc. */ + tmp_length = xsum (tmp_length, precision); + break; + + case 'e': case 'E': case 'g': case 'G': + tmp_length = + 12; /* sign, decimal point, exponent etc. */ + tmp_length = xsum (tmp_length, precision); + break; + + case 'a': case 'A': + if (type == TYPE_LONGDOUBLE) + tmp_length = + (unsigned int) (LDBL_DIG + * 0.831 /* decimal -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + else + tmp_length = + (unsigned int) (DBL_DIG + * 0.831 /* decimal -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + if (tmp_length < precision) + tmp_length = precision; + /* Account for sign, decimal point etc. */ + tmp_length = xsum (tmp_length, 12); + break; + + case 'c': +# if HAVE_WINT_T && !WIDE_CHAR_VERSION + if (type == TYPE_WIDE_CHAR) + tmp_length = MB_CUR_MAX; + else +# endif + tmp_length = 1; + break; + + case 's': +# if HAVE_WCHAR_T + if (type == TYPE_WIDE_STRING) + { +# if WIDE_CHAR_VERSION + /* ISO C says about %ls in fwprintf: + "If the precision is not specified or is greater than the size + of the array, the array shall contain a null wide character." + So if there is a precision, we must not use wcslen. */ + const wchar_t *arg = ap->arg[arg_index].a.a_wide_string; + + if (has_precision) + tmp_length = local_wcsnlen (arg, precision); + else + tmp_length = local_wcslen (arg); +# else + /* ISO C says about %ls in fprintf: + "If a precision is specified, no more than that many bytes are + written (including shift sequences, if any), and the array + shall contain a null wide character if, to equal the multibyte + character sequence length given by the precision, the function + would need to access a wide character one past the end of the + array." + So if there is a precision, we must not use wcslen. */ + /* This case has already been handled separately in VASNPRINTF. */ + abort (); +# endif + } + else +# endif + { +# if WIDE_CHAR_VERSION + /* ISO C says about %s in fwprintf: + "If the precision is not specified or is greater than the size + of the converted array, the converted array shall contain a + null wide character." + So if there is a precision, we must not use strlen. */ + /* This case has already been handled separately in VASNPRINTF. */ + abort (); +# else + /* ISO C says about %s in fprintf: + "If the precision is not specified or greater than the size of + the array, the array shall contain a null character." + So if there is a precision, we must not use strlen. */ + const char *arg = ap->arg[arg_index].a.a_string; + + if (has_precision) + tmp_length = local_strnlen (arg, precision); + else + tmp_length = strlen (arg); +# endif + } + break; + + case 'p': + tmp_length = + (unsigned int) (sizeof (void *) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1 /* turn floor into ceil */ + + 2; /* account for leading 0x */ + break; + + default: + abort (); + } + + if (!pad_ourselves) + { +# if ENABLE_UNISTDIO + /* Padding considers the number of characters, therefore the number of + elements after padding may be + > max (tmp_length, width) + but is certainly + <= tmp_length + width. */ + tmp_length = xsum (tmp_length, width); +# else + /* Padding considers the number of elements, says POSIX. */ + if (tmp_length < width) + tmp_length = width; +# endif + } + + tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ + + return tmp_length; +} + +#endif + +DCHAR_T * +VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + const FCHAR_T *format, va_list args) +{ + DIRECTIVES d; + arguments a; + + if (PRINTF_PARSE (format, &d, &a) < 0) + /* errno is already set. */ + return NULL; + +#define CLEANUP() \ + free (d.dir); \ + if (a.arg) \ + free (a.arg); + + if (PRINTF_FETCHARGS (args, &a) < 0) + { + CLEANUP (); + errno = EINVAL; + return NULL; + } + + { + size_t buf_neededlength; + TCHAR_T *buf; + TCHAR_T *buf_malloced; + const FCHAR_T *cp; + size_t i; + DIRECTIVE *dp; + /* Output string accumulator. */ + DCHAR_T *result; + size_t allocated; + size_t length; + + /* Allocate a small buffer that will hold a directive passed to + sprintf or snprintf. */ + buf_neededlength = + xsum4 (7, d.max_width_length, d.max_precision_length, 6); +#if HAVE_ALLOCA + if (buf_neededlength < 4000 / sizeof (TCHAR_T)) + { + buf = (TCHAR_T *) alloca (buf_neededlength * sizeof (TCHAR_T)); + buf_malloced = NULL; + } + else +#endif + { + size_t buf_memsize = xtimes (buf_neededlength, sizeof (TCHAR_T)); + if (size_overflow_p (buf_memsize)) + goto out_of_memory_1; + buf = (TCHAR_T *) malloc (buf_memsize); + if (buf == NULL) + goto out_of_memory_1; + buf_malloced = buf; + } + + if (resultbuf != NULL) + { + result = resultbuf; + allocated = *lengthp; + } + else + { + result = NULL; + allocated = 0; + } + length = 0; + /* Invariants: + result is either == resultbuf or == NULL or malloc-allocated. + If length > 0, then result != NULL. */ + + /* Ensures that allocated >= needed. Aborts through a jump to + out_of_memory if needed is SIZE_MAX or otherwise too big. */ +#define ENSURE_ALLOCATION(needed) \ + if ((needed) > allocated) \ + { \ + size_t memory_size; \ + DCHAR_T *memory; \ + \ + allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ + if ((needed) > allocated) \ + allocated = (needed); \ + memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ + if (size_overflow_p (memory_size)) \ + goto out_of_memory; \ + if (result == resultbuf || result == NULL) \ + memory = (DCHAR_T *) malloc (memory_size); \ + else \ + memory = (DCHAR_T *) realloc (result, memory_size); \ + if (memory == NULL) \ + goto out_of_memory; \ + if (result == resultbuf && length > 0) \ + DCHAR_CPY (memory, result, length); \ + result = memory; \ + } + + for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) + { + if (cp != dp->dir_start) + { + size_t n = dp->dir_start - cp; + size_t augmented_length = xsum (length, n); + + ENSURE_ALLOCATION (augmented_length); + /* This copies a piece of FCHAR_T[] into a DCHAR_T[]. Here we + need that the format string contains only ASCII characters + if FCHAR_T and DCHAR_T are not the same type. */ + if (sizeof (FCHAR_T) == sizeof (DCHAR_T)) + { + DCHAR_CPY (result + length, (const DCHAR_T *) cp, n); + length = augmented_length; + } + else + { + do + result[length++] = (unsigned char) *cp++; + while (--n > 0); + } + } + if (i == d.count) + break; + + /* Execute a single directive. */ + if (dp->conversion == '%') + { + size_t augmented_length; + + if (!(dp->arg_index == ARG_NONE)) + abort (); + augmented_length = xsum (length, 1); + ENSURE_ALLOCATION (augmented_length); + result[length] = '%'; + length = augmented_length; + } + else + { + if (!(dp->arg_index != ARG_NONE)) + abort (); + + if (dp->conversion == 'n') + { + switch (a.arg[dp->arg_index].type) + { + case TYPE_COUNT_SCHAR_POINTER: + *a.arg[dp->arg_index].a.a_count_schar_pointer = length; + break; + case TYPE_COUNT_SHORT_POINTER: + *a.arg[dp->arg_index].a.a_count_short_pointer = length; + break; + case TYPE_COUNT_INT_POINTER: + *a.arg[dp->arg_index].a.a_count_int_pointer = length; + break; + case TYPE_COUNT_LONGINT_POINTER: + *a.arg[dp->arg_index].a.a_count_longint_pointer = length; + break; +#if HAVE_LONG_LONG_INT + case TYPE_COUNT_LONGLONGINT_POINTER: + *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; + break; +#endif + default: + abort (); + } + } +#if ENABLE_UNISTDIO + /* The unistdio extensions. */ + else if (dp->conversion == 'U') + { + arg_type type = a.arg[dp->arg_index].type; + int flags = dp->flags; + int has_width; + size_t width; + int has_precision; + size_t precision; + + has_width = 0; + width = 0; + if (dp->width_start != dp->width_end) + { + if (dp->width_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->width_arg_index].a.a_int; + if (arg < 0) + { + /* "A negative field width is taken as a '-' flag + followed by a positive field width." */ + flags |= FLAG_LEFT; + width = (unsigned int) (-arg); + } + else + width = arg; + } + else + { + const FCHAR_T *digitp = dp->width_start; + + do + width = xsum (xtimes (width, 10), *digitp++ - '0'); + while (digitp != dp->width_end); + } + has_width = 1; + } + + has_precision = 0; + precision = 0; + if (dp->precision_start != dp->precision_end) + { + if (dp->precision_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->precision_arg_index].a.a_int; + /* "A negative precision is taken as if the precision + were omitted." */ + if (arg >= 0) + { + precision = arg; + has_precision = 1; + } + } + else + { + const FCHAR_T *digitp = dp->precision_start + 1; + + precision = 0; + while (digitp != dp->precision_end) + precision = xsum (xtimes (precision, 10), *digitp++ - '0'); + has_precision = 1; + } + } + + switch (type) + { + case TYPE_U8_STRING: + { + const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string; + const uint8_t *arg_end; + size_t characters; + + if (has_precision) + { + /* Use only PRECISION characters, from the left. */ + arg_end = arg; + characters = 0; + for (; precision > 0; precision--) + { + int count = u8_strmblen (arg_end); + if (count == 0) + break; + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else if (has_width) + { + /* Use the entire string, and count the number of + characters. */ + arg_end = arg; + characters = 0; + for (;;) + { + int count = u8_strmblen (arg_end); + if (count == 0) + break; + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else + { + /* Use the entire string. */ + arg_end = arg + u8_strlen (arg); + /* The number of characters doesn't matter. */ + characters = 0; + } + + if (has_width && width > characters + && !(dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + +# if DCHAR_IS_UINT8_T + { + size_t n = arg_end - arg; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_CPY (result + length, arg, n); + length += n; + } +# else + { /* Convert. */ + DCHAR_T *converted = result + length; + size_t converted_len = allocated - length; +# if DCHAR_IS_TCHAR + /* Convert from UTF-8 to locale encoding. */ + converted = + u8_conv_to_encoding (locale_charset (), + iconveh_question_mark, + arg, arg_end - arg, NULL, + converted, &converted_len); +# else + /* Convert from UTF-8 to UTF-16/UTF-32. */ + converted = + U8_TO_DCHAR (arg, arg_end - arg, + converted, &converted_len); +# endif + if (converted == NULL) + { + int saved_errno = errno; + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = saved_errno; + return NULL; + } + if (converted != result + length) + { + ENSURE_ALLOCATION (xsum (length, converted_len)); + DCHAR_CPY (result + length, converted, converted_len); + free (converted); + } + length += converted_len; + } +# endif + + if (has_width && width > characters + && (dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + } + break; + + case TYPE_U16_STRING: + { + const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string; + const uint16_t *arg_end; + size_t characters; + + if (has_precision) + { + /* Use only PRECISION characters, from the left. */ + arg_end = arg; + characters = 0; + for (; precision > 0; precision--) + { + int count = u16_strmblen (arg_end); + if (count == 0) + break; + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else if (has_width) + { + /* Use the entire string, and count the number of + characters. */ + arg_end = arg; + characters = 0; + for (;;) + { + int count = u16_strmblen (arg_end); + if (count == 0) + break; + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else + { + /* Use the entire string. */ + arg_end = arg + u16_strlen (arg); + /* The number of characters doesn't matter. */ + characters = 0; + } + + if (has_width && width > characters + && !(dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + +# if DCHAR_IS_UINT16_T + { + size_t n = arg_end - arg; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_CPY (result + length, arg, n); + length += n; + } +# else + { /* Convert. */ + DCHAR_T *converted = result + length; + size_t converted_len = allocated - length; +# if DCHAR_IS_TCHAR + /* Convert from UTF-16 to locale encoding. */ + converted = + u16_conv_to_encoding (locale_charset (), + iconveh_question_mark, + arg, arg_end - arg, NULL, + converted, &converted_len); +# else + /* Convert from UTF-16 to UTF-8/UTF-32. */ + converted = + U16_TO_DCHAR (arg, arg_end - arg, + converted, &converted_len); +# endif + if (converted == NULL) + { + int saved_errno = errno; + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = saved_errno; + return NULL; + } + if (converted != result + length) + { + ENSURE_ALLOCATION (xsum (length, converted_len)); + DCHAR_CPY (result + length, converted, converted_len); + free (converted); + } + length += converted_len; + } +# endif + + if (has_width && width > characters + && (dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + } + break; + + case TYPE_U32_STRING: + { + const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string; + const uint32_t *arg_end; + size_t characters; + + if (has_precision) + { + /* Use only PRECISION characters, from the left. */ + arg_end = arg; + characters = 0; + for (; precision > 0; precision--) + { + int count = u32_strmblen (arg_end); + if (count == 0) + break; + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else if (has_width) + { + /* Use the entire string, and count the number of + characters. */ + arg_end = arg; + characters = 0; + for (;;) + { + int count = u32_strmblen (arg_end); + if (count == 0) + break; + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else + { + /* Use the entire string. */ + arg_end = arg + u32_strlen (arg); + /* The number of characters doesn't matter. */ + characters = 0; + } + + if (has_width && width > characters + && !(dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + +# if DCHAR_IS_UINT32_T + { + size_t n = arg_end - arg; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_CPY (result + length, arg, n); + length += n; + } +# else + { /* Convert. */ + DCHAR_T *converted = result + length; + size_t converted_len = allocated - length; +# if DCHAR_IS_TCHAR + /* Convert from UTF-32 to locale encoding. */ + converted = + u32_conv_to_encoding (locale_charset (), + iconveh_question_mark, + arg, arg_end - arg, NULL, + converted, &converted_len); +# else + /* Convert from UTF-32 to UTF-8/UTF-16. */ + converted = + U32_TO_DCHAR (arg, arg_end - arg, + converted, &converted_len); +# endif + if (converted == NULL) + { + int saved_errno = errno; + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = saved_errno; + return NULL; + } + if (converted != result + length) + { + ENSURE_ALLOCATION (xsum (length, converted_len)); + DCHAR_CPY (result + length, converted, converted_len); + free (converted); + } + length += converted_len; + } +# endif + + if (has_width && width > characters + && (dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + } + break; + + default: + abort (); + } + } +#endif +#if (!USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || (NEED_PRINTF_DIRECTIVE_LS && !defined IN_LIBINTL)) && HAVE_WCHAR_T + else if (dp->conversion == 's' +# if WIDE_CHAR_VERSION + && a.arg[dp->arg_index].type != TYPE_WIDE_STRING +# else + && a.arg[dp->arg_index].type == TYPE_WIDE_STRING +# endif + ) + { + /* The normal handling of the 's' directive below requires + allocating a temporary buffer. The determination of its + length (tmp_length), in the case when a precision is + specified, below requires a conversion between a char[] + string and a wchar_t[] wide string. It could be done, but + we have no guarantee that the implementation of sprintf will + use the exactly same algorithm. Without this guarantee, it + is possible to have buffer overrun bugs. In order to avoid + such bugs, we implement the entire processing of the 's' + directive ourselves. */ + int flags = dp->flags; + int has_width; + size_t width; + int has_precision; + size_t precision; + + has_width = 0; + width = 0; + if (dp->width_start != dp->width_end) + { + if (dp->width_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->width_arg_index].a.a_int; + if (arg < 0) + { + /* "A negative field width is taken as a '-' flag + followed by a positive field width." */ + flags |= FLAG_LEFT; + width = (unsigned int) (-arg); + } + else + width = arg; + } + else + { + const FCHAR_T *digitp = dp->width_start; + + do + width = xsum (xtimes (width, 10), *digitp++ - '0'); + while (digitp != dp->width_end); + } + has_width = 1; + } + + has_precision = 0; + precision = 6; + if (dp->precision_start != dp->precision_end) + { + if (dp->precision_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->precision_arg_index].a.a_int; + /* "A negative precision is taken as if the precision + were omitted." */ + if (arg >= 0) + { + precision = arg; + has_precision = 1; + } + } + else + { + const FCHAR_T *digitp = dp->precision_start + 1; + + precision = 0; + while (digitp != dp->precision_end) + precision = xsum (xtimes (precision, 10), *digitp++ - '0'); + has_precision = 1; + } + } + +# if WIDE_CHAR_VERSION + /* %s in vasnwprintf. See the specification of fwprintf. */ + { + const char *arg = a.arg[dp->arg_index].a.a_string; + const char *arg_end; + size_t characters; + + if (has_precision) + { + /* Use only as many bytes as needed to produce PRECISION + wide characters, from the left. */ +# if HAVE_MBRTOWC + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + arg_end = arg; + characters = 0; + for (; precision > 0; precision--) + { + int count; +# if HAVE_MBRTOWC + count = mbrlen (arg_end, MB_CUR_MAX, &state); +# else + count = mblen (arg_end, MB_CUR_MAX); +# endif + if (count == 0) + /* Found the terminating NUL. */ + break; + if (count < 0) + { + /* Invalid or incomplete multibyte character. */ + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else if (has_width) + { + /* Use the entire string, and count the number of wide + characters. */ +# if HAVE_MBRTOWC + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + arg_end = arg; + characters = 0; + for (;;) + { + int count; +# if HAVE_MBRTOWC + count = mbrlen (arg_end, MB_CUR_MAX, &state); +# else + count = mblen (arg_end, MB_CUR_MAX); +# endif + if (count == 0) + /* Found the terminating NUL. */ + break; + if (count < 0) + { + /* Invalid or incomplete multibyte character. */ + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end += count; + characters++; + } + } + else + { + /* Use the entire string. */ + arg_end = arg + strlen (arg); + /* The number of characters doesn't matter. */ + characters = 0; + } + + if (has_width && width > characters + && !(dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + + if (has_precision || has_width) + { + /* We know the number of wide characters in advance. */ + size_t remaining; +# if HAVE_MBRTOWC + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + ENSURE_ALLOCATION (xsum (length, characters)); + for (remaining = characters; remaining > 0; remaining--) + { + wchar_t wc; + int count; +# if HAVE_MBRTOWC + count = mbrtowc (&wc, arg, arg_end - arg, &state); +# else + count = mbtowc (&wc, arg, arg_end - arg); +# endif + if (count <= 0) + /* mbrtowc not consistent with mbrlen, or mbtowc + not consistent with mblen. */ + abort (); + result[length++] = wc; + arg += count; + } + if (!(arg == arg_end)) + abort (); + } + else + { +# if HAVE_MBRTOWC + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + while (arg < arg_end) + { + wchar_t wc; + int count; +# if HAVE_MBRTOWC + count = mbrtowc (&wc, arg, arg_end - arg, &state); +# else + count = mbtowc (&wc, arg, arg_end - arg); +# endif + if (count <= 0) + /* mbrtowc not consistent with mbrlen, or mbtowc + not consistent with mblen. */ + abort (); + ENSURE_ALLOCATION (xsum (length, 1)); + result[length++] = wc; + arg += count; + } + } + + if (has_width && width > characters + && (dp->flags & FLAG_LEFT)) + { + size_t n = width - characters; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + } +# else + /* %ls in vasnprintf. See the specification of fprintf. */ + { + const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; + const wchar_t *arg_end; + size_t characters; +# if !DCHAR_IS_TCHAR + /* This code assumes that TCHAR_T is 'char'. */ + typedef int TCHAR_T_verify[2 * (sizeof (TCHAR_T) == 1) - 1]; + TCHAR_T *tmpsrc; + DCHAR_T *tmpdst; + size_t tmpdst_len; +# endif + size_t w; + + if (has_precision) + { + /* Use only as many wide characters as needed to produce + at most PRECISION bytes, from the left. */ +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + arg_end = arg; + characters = 0; + while (precision > 0) + { + char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ + int count; + + if (*arg_end == 0) + /* Found the terminating null wide character. */ + break; +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + count = wcrtomb (cbuf, *arg_end, &state); +# else + count = wctomb (cbuf, *arg_end); +# endif + if (count < 0) + { + /* Cannot convert. */ + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + if (precision < count) + break; + arg_end++; + characters += count; + precision -= count; + } + } +# if DCHAR_IS_TCHAR + else if (has_width) +# else + else +# endif + { + /* Use the entire string, and count the number of + bytes. */ +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + arg_end = arg; + characters = 0; + for (;;) + { + char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ + int count; + + if (*arg_end == 0) + /* Found the terminating null wide character. */ + break; +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + count = wcrtomb (cbuf, *arg_end, &state); +# else + count = wctomb (cbuf, *arg_end); +# endif + if (count < 0) + { + /* Cannot convert. */ + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + arg_end++; + characters += count; + } + } +# if DCHAR_IS_TCHAR + else + { + /* Use the entire string. */ + arg_end = arg + local_wcslen (arg); + /* The number of bytes doesn't matter. */ + characters = 0; + } +# endif + +# if !DCHAR_IS_TCHAR + /* Convert the string into a piece of temporary memory. */ + tmpsrc = (TCHAR_T *) malloc (characters * sizeof (TCHAR_T)); + if (tmpsrc == NULL) + goto out_of_memory; + { + TCHAR_T *tmpptr = tmpsrc; + size_t remaining; +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + for (remaining = characters; remaining > 0; ) + { + char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ + int count; + + if (*arg == 0) + abort (); +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + count = wcrtomb (cbuf, *arg, &state); +# else + count = wctomb (cbuf, *arg); +# endif + if (count <= 0) + /* Inconsistency. */ + abort (); + memcpy (tmpptr, cbuf, count); + tmpptr += count; + arg++; + remaining -= count; + } + if (!(arg == arg_end)) + abort (); + } + + /* Convert from TCHAR_T[] to DCHAR_T[]. */ + tmpdst = + DCHAR_CONV_FROM_ENCODING (locale_charset (), + iconveh_question_mark, + tmpsrc, characters, + NULL, + NULL, &tmpdst_len); + if (tmpdst == NULL) + { + int saved_errno = errno; + free (tmpsrc); + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = saved_errno; + return NULL; + } + free (tmpsrc); +# endif + + if (has_width) + { +# if ENABLE_UNISTDIO + /* Outside POSIX, it's preferrable to compare the width + against the number of _characters_ of the converted + value. */ + w = DCHAR_MBSNLEN (result + length, characters); +# else + /* The width is compared against the number of _bytes_ + of the converted value, says POSIX. */ + w = characters; +# endif + } + else + /* w doesn't matter. */ + w = 0; + + if (has_width && width > w + && !(dp->flags & FLAG_LEFT)) + { + size_t n = width - w; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + +# if DCHAR_IS_TCHAR + if (has_precision || has_width) + { + /* We know the number of bytes in advance. */ + size_t remaining; +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + ENSURE_ALLOCATION (xsum (length, characters)); + for (remaining = characters; remaining > 0; ) + { + char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ + int count; + + if (*arg == 0) + abort (); +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + count = wcrtomb (cbuf, *arg, &state); +# else + count = wctomb (cbuf, *arg); +# endif + if (count <= 0) + /* Inconsistency. */ + abort (); + memcpy (result + length, cbuf, count); + length += count; + arg++; + remaining -= count; + } + if (!(arg == arg_end)) + abort (); + } + else + { +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + mbstate_t state; + memset (&state, '\0', sizeof (mbstate_t)); +# endif + while (arg < arg_end) + { + char cbuf[64]; /* Assume MB_CUR_MAX <= 64. */ + int count; + + if (*arg == 0) + abort (); +# if HAVE_WCRTOMB && !defined GNULIB_defined_mbstate_t + count = wcrtomb (cbuf, *arg, &state); +# else + count = wctomb (cbuf, *arg); +# endif + if (count <= 0) + { + /* Cannot convert. */ + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EILSEQ; + return NULL; + } + ENSURE_ALLOCATION (xsum (length, count)); + memcpy (result + length, cbuf, count); + length += count; + arg++; + } + } +# else + ENSURE_ALLOCATION (xsum (length, tmpdst_len)); + DCHAR_CPY (result + length, tmpdst, tmpdst_len); + free (tmpdst); + length += tmpdst_len; +# endif + + if (has_width && width > w + && (dp->flags & FLAG_LEFT)) + { + size_t n = width - w; + ENSURE_ALLOCATION (xsum (length, n)); + DCHAR_SET (result + length, ' ', n); + length += n; + } + } +# endif + } +#endif +#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL + else if ((dp->conversion == 'a' || dp->conversion == 'A') +# if !(NEED_PRINTF_DIRECTIVE_A || (NEED_PRINTF_LONG_DOUBLE && NEED_PRINTF_DOUBLE)) + && (0 +# if NEED_PRINTF_DOUBLE + || a.arg[dp->arg_index].type == TYPE_DOUBLE +# endif +# if NEED_PRINTF_LONG_DOUBLE + || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE +# endif + ) +# endif + ) + { + arg_type type = a.arg[dp->arg_index].type; + int flags = dp->flags; + int has_width; + size_t width; + int has_precision; + size_t precision; + size_t tmp_length; + DCHAR_T tmpbuf[700]; + DCHAR_T *tmp; + DCHAR_T *pad_ptr; + DCHAR_T *p; + + has_width = 0; + width = 0; + if (dp->width_start != dp->width_end) + { + if (dp->width_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->width_arg_index].a.a_int; + if (arg < 0) + { + /* "A negative field width is taken as a '-' flag + followed by a positive field width." */ + flags |= FLAG_LEFT; + width = (unsigned int) (-arg); + } + else + width = arg; + } + else + { + const FCHAR_T *digitp = dp->width_start; + + do + width = xsum (xtimes (width, 10), *digitp++ - '0'); + while (digitp != dp->width_end); + } + has_width = 1; + } + + has_precision = 0; + precision = 0; + if (dp->precision_start != dp->precision_end) + { + if (dp->precision_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->precision_arg_index].a.a_int; + /* "A negative precision is taken as if the precision + were omitted." */ + if (arg >= 0) + { + precision = arg; + has_precision = 1; + } + } + else + { + const FCHAR_T *digitp = dp->precision_start + 1; + + precision = 0; + while (digitp != dp->precision_end) + precision = xsum (xtimes (precision, 10), *digitp++ - '0'); + has_precision = 1; + } + } + + /* Allocate a temporary buffer of sufficient size. */ + if (type == TYPE_LONGDOUBLE) + tmp_length = + (unsigned int) ((LDBL_DIG + 1) + * 0.831 /* decimal -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + else + tmp_length = + (unsigned int) ((DBL_DIG + 1) + * 0.831 /* decimal -> hexadecimal */ + ) + + 1; /* turn floor into ceil */ + if (tmp_length < precision) + tmp_length = precision; + /* Account for sign, decimal point etc. */ + tmp_length = xsum (tmp_length, 12); + + if (tmp_length < width) + tmp_length = width; + + tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ + + if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) + tmp = tmpbuf; + else + { + size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); + + if (size_overflow_p (tmp_memsize)) + /* Overflow, would lead to out of memory. */ + goto out_of_memory; + tmp = (DCHAR_T *) malloc (tmp_memsize); + if (tmp == NULL) + /* Out of memory. */ + goto out_of_memory; + } + + pad_ptr = NULL; + p = tmp; + if (type == TYPE_LONGDOUBLE) + { +# if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE + long double arg = a.arg[dp->arg_index].a.a_longdouble; + + if (isnanl (arg)) + { + if (dp->conversion == 'A') + { + *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; + } + else + { + *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; + } + } + else + { + int sign = 0; + DECL_LONG_DOUBLE_ROUNDING + + BEGIN_LONG_DOUBLE_ROUNDING (); + + if (signbit (arg)) /* arg < 0.0L or negative zero */ + { + sign = -1; + arg = -arg; + } + + if (sign < 0) + *p++ = '-'; + else if (flags & FLAG_SHOWSIGN) + *p++ = '+'; + else if (flags & FLAG_SPACE) + *p++ = ' '; + + if (arg > 0.0L && arg + arg == arg) + { + if (dp->conversion == 'A') + { + *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; + } + else + { + *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; + } + } + else + { + int exponent; + long double mantissa; + + if (arg > 0.0L) + mantissa = printf_frexpl (arg, &exponent); + else + { + exponent = 0; + mantissa = 0.0L; + } + + if (has_precision + && precision < (unsigned int) ((LDBL_DIG + 1) * 0.831) + 1) + { + /* Round the mantissa. */ + long double tail = mantissa; + size_t q; + + for (q = precision; ; q--) + { + int digit = (int) tail; + tail -= digit; + if (q == 0) + { + if (digit & 1 ? tail >= 0.5L : tail > 0.5L) + tail = 1 - tail; + else + tail = - tail; + break; + } + tail *= 16.0L; + } + if (tail != 0.0L) + for (q = precision; q > 0; q--) + tail *= 0.0625L; + mantissa += tail; + } + + *p++ = '0'; + *p++ = dp->conversion - 'A' + 'X'; + pad_ptr = p; + { + int digit; + + digit = (int) mantissa; + mantissa -= digit; + *p++ = '0' + digit; + if ((flags & FLAG_ALT) + || mantissa > 0.0L || precision > 0) + { + *p++ = decimal_point_char (); + /* This loop terminates because we assume + that FLT_RADIX is a power of 2. */ + while (mantissa > 0.0L) + { + mantissa *= 16.0L; + digit = (int) mantissa; + mantissa -= digit; + *p++ = digit + + (digit < 10 + ? '0' + : dp->conversion - 10); + if (precision > 0) + precision--; + } + while (precision > 0) + { + *p++ = '0'; + precision--; + } + } + } + *p++ = dp->conversion - 'A' + 'P'; +# if WIDE_CHAR_VERSION + { + static const wchar_t decimal_format[] = + { '%', '+', 'd', '\0' }; + SNPRINTF (p, 6 + 1, decimal_format, exponent); + } + while (*p != '\0') + p++; +# else + if (sizeof (DCHAR_T) == 1) + { + sprintf ((char *) p, "%+d", exponent); + while (*p != '\0') + p++; + } + else + { + char expbuf[6 + 1]; + const char *ep; + sprintf (expbuf, "%+d", exponent); + for (ep = expbuf; (*p = *ep) != '\0'; ep++) + p++; + } +# endif + } + + END_LONG_DOUBLE_ROUNDING (); + } +# else + abort (); +# endif + } + else + { +# if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE + double arg = a.arg[dp->arg_index].a.a_double; + + if (isnand (arg)) + { + if (dp->conversion == 'A') + { + *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; + } + else + { + *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; + } + } + else + { + int sign = 0; + + if (signbit (arg)) /* arg < 0.0 or negative zero */ + { + sign = -1; + arg = -arg; + } + + if (sign < 0) + *p++ = '-'; + else if (flags & FLAG_SHOWSIGN) + *p++ = '+'; + else if (flags & FLAG_SPACE) + *p++ = ' '; + + if (arg > 0.0 && arg + arg == arg) + { + if (dp->conversion == 'A') + { + *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; + } + else + { + *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; + } + } + else + { + int exponent; + double mantissa; + + if (arg > 0.0) + mantissa = printf_frexp (arg, &exponent); + else + { + exponent = 0; + mantissa = 0.0; + } + + if (has_precision + && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) + { + /* Round the mantissa. */ + double tail = mantissa; + size_t q; + + for (q = precision; ; q--) + { + int digit = (int) tail; + tail -= digit; + if (q == 0) + { + if (digit & 1 ? tail >= 0.5 : tail > 0.5) + tail = 1 - tail; + else + tail = - tail; + break; + } + tail *= 16.0; + } + if (tail != 0.0) + for (q = precision; q > 0; q--) + tail *= 0.0625; + mantissa += tail; + } + + *p++ = '0'; + *p++ = dp->conversion - 'A' + 'X'; + pad_ptr = p; + { + int digit; + + digit = (int) mantissa; + mantissa -= digit; + *p++ = '0' + digit; + if ((flags & FLAG_ALT) + || mantissa > 0.0 || precision > 0) + { + *p++ = decimal_point_char (); + /* This loop terminates because we assume + that FLT_RADIX is a power of 2. */ + while (mantissa > 0.0) + { + mantissa *= 16.0; + digit = (int) mantissa; + mantissa -= digit; + *p++ = digit + + (digit < 10 + ? '0' + : dp->conversion - 10); + if (precision > 0) + precision--; + } + while (precision > 0) + { + *p++ = '0'; + precision--; + } + } + } + *p++ = dp->conversion - 'A' + 'P'; +# if WIDE_CHAR_VERSION + { + static const wchar_t decimal_format[] = + { '%', '+', 'd', '\0' }; + SNPRINTF (p, 6 + 1, decimal_format, exponent); + } + while (*p != '\0') + p++; +# else + if (sizeof (DCHAR_T) == 1) + { + sprintf ((char *) p, "%+d", exponent); + while (*p != '\0') + p++; + } + else + { + char expbuf[6 + 1]; + const char *ep; + sprintf (expbuf, "%+d", exponent); + for (ep = expbuf; (*p = *ep) != '\0'; ep++) + p++; + } +# endif + } + } +# else + abort (); +# endif + } + /* The generated string now extends from tmp to p, with the + zero padding insertion point being at pad_ptr. */ + if (has_width && p - tmp < width) + { + size_t pad = width - (p - tmp); + DCHAR_T *end = p + pad; + + if (flags & FLAG_LEFT) + { + /* Pad with spaces on the right. */ + for (; pad > 0; pad--) + *p++ = ' '; + } + else if ((flags & FLAG_ZERO) && pad_ptr != NULL) + { + /* Pad with zeroes. */ + DCHAR_T *q = end; + + while (p > pad_ptr) + *--q = *--p; + for (; pad > 0; pad--) + *p++ = '0'; + } + else + { + /* Pad with spaces on the left. */ + DCHAR_T *q = end; + + while (p > tmp) + *--q = *--p; + for (; pad > 0; pad--) + *p++ = ' '; + } + + p = end; + } + + { + size_t count = p - tmp; + + if (count >= tmp_length) + /* tmp_length was incorrectly calculated - fix the + code above! */ + abort (); + + /* Make room for the result. */ + if (count >= allocated - length) + { + size_t n = xsum (length, count); + + ENSURE_ALLOCATION (n); + } + + /* Append the result. */ + memcpy (result + length, tmp, count * sizeof (DCHAR_T)); + if (tmp != tmpbuf) + free (tmp); + length += count; + } + } +#endif +#if (NEED_PRINTF_INFINITE_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL + else if ((dp->conversion == 'f' || dp->conversion == 'F' + || dp->conversion == 'e' || dp->conversion == 'E' + || dp->conversion == 'g' || dp->conversion == 'G' + || dp->conversion == 'a' || dp->conversion == 'A') + && (0 +# if NEED_PRINTF_DOUBLE + || a.arg[dp->arg_index].type == TYPE_DOUBLE +# elif NEED_PRINTF_INFINITE_DOUBLE + || (a.arg[dp->arg_index].type == TYPE_DOUBLE + /* The systems (mingw) which produce wrong output + for Inf, -Inf, and NaN also do so for -0.0. + Therefore we treat this case here as well. */ + && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) +# endif +# if NEED_PRINTF_LONG_DOUBLE + || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE +# elif NEED_PRINTF_INFINITE_LONG_DOUBLE + || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE + /* Some systems produce wrong output for Inf, + -Inf, and NaN. Some systems in this category + (IRIX 5.3) also do so for -0.0. Therefore we + treat this case here as well. */ + && is_infinite_or_zerol (a.arg[dp->arg_index].a.a_longdouble)) +# endif + )) + { +# if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) + arg_type type = a.arg[dp->arg_index].type; +# endif + int flags = dp->flags; + int has_width; + size_t width; + int has_precision; + size_t precision; + size_t tmp_length; + DCHAR_T tmpbuf[700]; + DCHAR_T *tmp; + DCHAR_T *pad_ptr; + DCHAR_T *p; + + has_width = 0; + width = 0; + if (dp->width_start != dp->width_end) + { + if (dp->width_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->width_arg_index].a.a_int; + if (arg < 0) + { + /* "A negative field width is taken as a '-' flag + followed by a positive field width." */ + flags |= FLAG_LEFT; + width = (unsigned int) (-arg); + } + else + width = arg; + } + else + { + const FCHAR_T *digitp = dp->width_start; + + do + width = xsum (xtimes (width, 10), *digitp++ - '0'); + while (digitp != dp->width_end); + } + has_width = 1; + } + + has_precision = 0; + precision = 0; + if (dp->precision_start != dp->precision_end) + { + if (dp->precision_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->precision_arg_index].a.a_int; + /* "A negative precision is taken as if the precision + were omitted." */ + if (arg >= 0) + { + precision = arg; + has_precision = 1; + } + } + else + { + const FCHAR_T *digitp = dp->precision_start + 1; + + precision = 0; + while (digitp != dp->precision_end) + precision = xsum (xtimes (precision, 10), *digitp++ - '0'); + has_precision = 1; + } + } + + /* POSIX specifies the default precision to be 6 for %f, %F, + %e, %E, but not for %g, %G. Implementations appear to use + the same default precision also for %g, %G. But for %a, %A, + the default precision is 0. */ + if (!has_precision) + if (!(dp->conversion == 'a' || dp->conversion == 'A')) + precision = 6; + + /* Allocate a temporary buffer of sufficient size. */ +# if NEED_PRINTF_DOUBLE && NEED_PRINTF_LONG_DOUBLE + tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); +# elif NEED_PRINTF_INFINITE_DOUBLE && NEED_PRINTF_LONG_DOUBLE + tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : 0); +# elif NEED_PRINTF_LONG_DOUBLE + tmp_length = LDBL_DIG + 1; +# elif NEED_PRINTF_DOUBLE + tmp_length = DBL_DIG + 1; +# else + tmp_length = 0; +# endif + if (tmp_length < precision) + tmp_length = precision; +# if NEED_PRINTF_LONG_DOUBLE +# if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE + if (type == TYPE_LONGDOUBLE) +# endif + if (dp->conversion == 'f' || dp->conversion == 'F') + { + long double arg = a.arg[dp->arg_index].a.a_longdouble; + if (!(isnanl (arg) || arg + arg == arg)) + { + /* arg is finite and nonzero. */ + int exponent = floorlog10l (arg < 0 ? -arg : arg); + if (exponent >= 0 && tmp_length < exponent + precision) + tmp_length = exponent + precision; + } + } +# endif +# if NEED_PRINTF_DOUBLE +# if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE + if (type == TYPE_DOUBLE) +# endif + if (dp->conversion == 'f' || dp->conversion == 'F') + { + double arg = a.arg[dp->arg_index].a.a_double; + if (!(isnand (arg) || arg + arg == arg)) + { + /* arg is finite and nonzero. */ + int exponent = floorlog10 (arg < 0 ? -arg : arg); + if (exponent >= 0 && tmp_length < exponent + precision) + tmp_length = exponent + precision; + } + } +# endif + /* Account for sign, decimal point etc. */ + tmp_length = xsum (tmp_length, 12); + + if (tmp_length < width) + tmp_length = width; + + tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ + + if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) + tmp = tmpbuf; + else + { + size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); + + if (size_overflow_p (tmp_memsize)) + /* Overflow, would lead to out of memory. */ + goto out_of_memory; + tmp = (DCHAR_T *) malloc (tmp_memsize); + if (tmp == NULL) + /* Out of memory. */ + goto out_of_memory; + } + + pad_ptr = NULL; + p = tmp; + +# if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE +# if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE + if (type == TYPE_LONGDOUBLE) +# endif + { + long double arg = a.arg[dp->arg_index].a.a_longdouble; + + if (isnanl (arg)) + { + if (dp->conversion >= 'A' && dp->conversion <= 'Z') + { + *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; + } + else + { + *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; + } + } + else + { + int sign = 0; + DECL_LONG_DOUBLE_ROUNDING + + BEGIN_LONG_DOUBLE_ROUNDING (); + + if (signbit (arg)) /* arg < 0.0L or negative zero */ + { + sign = -1; + arg = -arg; + } + + if (sign < 0) + *p++ = '-'; + else if (flags & FLAG_SHOWSIGN) + *p++ = '+'; + else if (flags & FLAG_SPACE) + *p++ = ' '; + + if (arg > 0.0L && arg + arg == arg) + { + if (dp->conversion >= 'A' && dp->conversion <= 'Z') + { + *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; + } + else + { + *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; + } + } + else + { +# if NEED_PRINTF_LONG_DOUBLE + pad_ptr = p; + + if (dp->conversion == 'f' || dp->conversion == 'F') + { + char *digits; + size_t ndigits; + + digits = + scale10_round_decimal_long_double (arg, precision); + if (digits == NULL) + { + END_LONG_DOUBLE_ROUNDING (); + goto out_of_memory; + } + ndigits = strlen (digits); + + if (ndigits > precision) + do + { + --ndigits; + *p++ = digits[ndigits]; + } + while (ndigits > precision); + else + *p++ = '0'; + /* Here ndigits <= precision. */ + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > ndigits; precision--) + *p++ = '0'; + while (ndigits > 0) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + + free (digits); + } + else if (dp->conversion == 'e' || dp->conversion == 'E') + { + int exponent; + + if (arg == 0.0L) + { + exponent = 0; + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + } + else + { + /* arg > 0.0L. */ + int adjusted; + char *digits; + size_t ndigits; + + exponent = floorlog10l (arg); + adjusted = 0; + for (;;) + { + digits = + scale10_round_decimal_long_double (arg, + (int)precision - exponent); + if (digits == NULL) + { + END_LONG_DOUBLE_ROUNDING (); + goto out_of_memory; + } + ndigits = strlen (digits); + + if (ndigits == precision + 1) + break; + if (ndigits < precision + || ndigits > precision + 2) + /* The exponent was not guessed + precisely enough. */ + abort (); + if (adjusted) + /* None of two values of exponent is + the right one. Prevent an endless + loop. */ + abort (); + free (digits); + if (ndigits == precision) + exponent -= 1; + else + exponent += 1; + adjusted = 1; + } + /* Here ndigits = precision+1. */ + if (is_borderline (digits, precision)) + { + /* Maybe the exponent guess was too high + and a smaller exponent can be reached + by turning a 10...0 into 9...9x. */ + char *digits2 = + scale10_round_decimal_long_double (arg, + (int)precision - exponent + 1); + if (digits2 == NULL) + { + free (digits); + END_LONG_DOUBLE_ROUNDING (); + goto out_of_memory; + } + if (strlen (digits2) == precision + 1) + { + free (digits); + digits = digits2; + exponent -= 1; + } + else + free (digits2); + } + /* Here ndigits = precision+1. */ + + *p++ = digits[--ndigits]; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + while (ndigits > 0) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + + free (digits); + } + + *p++ = dp->conversion; /* 'e' or 'E' */ +# if WIDE_CHAR_VERSION + { + static const wchar_t decimal_format[] = + { '%', '+', '.', '2', 'd', '\0' }; + SNPRINTF (p, 6 + 1, decimal_format, exponent); + } + while (*p != '\0') + p++; +# else + if (sizeof (DCHAR_T) == 1) + { + sprintf ((char *) p, "%+.2d", exponent); + while (*p != '\0') + p++; + } + else + { + char expbuf[6 + 1]; + const char *ep; + sprintf (expbuf, "%+.2d", exponent); + for (ep = expbuf; (*p = *ep) != '\0'; ep++) + p++; + } +# endif + } + else if (dp->conversion == 'g' || dp->conversion == 'G') + { + if (precision == 0) + precision = 1; + /* precision >= 1. */ + + if (arg == 0.0L) + /* The exponent is 0, >= -4, < precision. + Use fixed-point notation. */ + { + size_t ndigits = precision; + /* Number of trailing zeroes that have to be + dropped. */ + size_t nzeroes = + (flags & FLAG_ALT ? 0 : precision - 1); + + --ndigits; + *p++ = '0'; + if ((flags & FLAG_ALT) || ndigits > nzeroes) + { + *p++ = decimal_point_char (); + while (ndigits > nzeroes) + { + --ndigits; + *p++ = '0'; + } + } + } + else + { + /* arg > 0.0L. */ + int exponent; + int adjusted; + char *digits; + size_t ndigits; + size_t nzeroes; + + exponent = floorlog10l (arg); + adjusted = 0; + for (;;) + { + digits = + scale10_round_decimal_long_double (arg, + (int)(precision - 1) - exponent); + if (digits == NULL) + { + END_LONG_DOUBLE_ROUNDING (); + goto out_of_memory; + } + ndigits = strlen (digits); + + if (ndigits == precision) + break; + if (ndigits < precision - 1 + || ndigits > precision + 1) + /* The exponent was not guessed + precisely enough. */ + abort (); + if (adjusted) + /* None of two values of exponent is + the right one. Prevent an endless + loop. */ + abort (); + free (digits); + if (ndigits < precision) + exponent -= 1; + else + exponent += 1; + adjusted = 1; + } + /* Here ndigits = precision. */ + if (is_borderline (digits, precision - 1)) + { + /* Maybe the exponent guess was too high + and a smaller exponent can be reached + by turning a 10...0 into 9...9x. */ + char *digits2 = + scale10_round_decimal_long_double (arg, + (int)(precision - 1) - exponent + 1); + if (digits2 == NULL) + { + free (digits); + END_LONG_DOUBLE_ROUNDING (); + goto out_of_memory; + } + if (strlen (digits2) == precision) + { + free (digits); + digits = digits2; + exponent -= 1; + } + else + free (digits2); + } + /* Here ndigits = precision. */ + + /* Determine the number of trailing zeroes + that have to be dropped. */ + nzeroes = 0; + if ((flags & FLAG_ALT) == 0) + while (nzeroes < ndigits + && digits[nzeroes] == '0') + nzeroes++; + + /* The exponent is now determined. */ + if (exponent >= -4 + && exponent < (long)precision) + { + /* Fixed-point notation: + max(exponent,0)+1 digits, then the + decimal point, then the remaining + digits without trailing zeroes. */ + if (exponent >= 0) + { + size_t count = exponent + 1; + /* Note: count <= precision = ndigits. */ + for (; count > 0; count--) + *p++ = digits[--ndigits]; + if ((flags & FLAG_ALT) || ndigits > nzeroes) + { + *p++ = decimal_point_char (); + while (ndigits > nzeroes) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + } + else + { + size_t count = -exponent - 1; + *p++ = '0'; + *p++ = decimal_point_char (); + for (; count > 0; count--) + *p++ = '0'; + while (ndigits > nzeroes) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + } + else + { + /* Exponential notation. */ + *p++ = digits[--ndigits]; + if ((flags & FLAG_ALT) || ndigits > nzeroes) + { + *p++ = decimal_point_char (); + while (ndigits > nzeroes) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ +# if WIDE_CHAR_VERSION + { + static const wchar_t decimal_format[] = + { '%', '+', '.', '2', 'd', '\0' }; + SNPRINTF (p, 6 + 1, decimal_format, exponent); + } + while (*p != '\0') + p++; +# else + if (sizeof (DCHAR_T) == 1) + { + sprintf ((char *) p, "%+.2d", exponent); + while (*p != '\0') + p++; + } + else + { + char expbuf[6 + 1]; + const char *ep; + sprintf (expbuf, "%+.2d", exponent); + for (ep = expbuf; (*p = *ep) != '\0'; ep++) + p++; + } +# endif + } + + free (digits); + } + } + else + abort (); +# else + /* arg is finite. */ + if (!(arg == 0.0L)) + abort (); + + pad_ptr = p; + + if (dp->conversion == 'f' || dp->conversion == 'F') + { + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + } + else if (dp->conversion == 'e' || dp->conversion == 'E') + { + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + *p++ = dp->conversion; /* 'e' or 'E' */ + *p++ = '+'; + *p++ = '0'; + *p++ = '0'; + } + else if (dp->conversion == 'g' || dp->conversion == 'G') + { + *p++ = '0'; + if (flags & FLAG_ALT) + { + size_t ndigits = + (precision > 0 ? precision - 1 : 0); + *p++ = decimal_point_char (); + for (; ndigits > 0; --ndigits) + *p++ = '0'; + } + } + else if (dp->conversion == 'a' || dp->conversion == 'A') + { + *p++ = '0'; + *p++ = dp->conversion - 'A' + 'X'; + pad_ptr = p; + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + *p++ = dp->conversion - 'A' + 'P'; + *p++ = '+'; + *p++ = '0'; + } + else + abort (); +# endif + } + + END_LONG_DOUBLE_ROUNDING (); + } + } +# if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE + else +# endif +# endif +# if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE + { + double arg = a.arg[dp->arg_index].a.a_double; + + if (isnand (arg)) + { + if (dp->conversion >= 'A' && dp->conversion <= 'Z') + { + *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; + } + else + { + *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; + } + } + else + { + int sign = 0; + + if (signbit (arg)) /* arg < 0.0 or negative zero */ + { + sign = -1; + arg = -arg; + } + + if (sign < 0) + *p++ = '-'; + else if (flags & FLAG_SHOWSIGN) + *p++ = '+'; + else if (flags & FLAG_SPACE) + *p++ = ' '; + + if (arg > 0.0 && arg + arg == arg) + { + if (dp->conversion >= 'A' && dp->conversion <= 'Z') + { + *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; + } + else + { + *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; + } + } + else + { +# if NEED_PRINTF_DOUBLE + pad_ptr = p; + + if (dp->conversion == 'f' || dp->conversion == 'F') + { + char *digits; + size_t ndigits; + + digits = + scale10_round_decimal_double (arg, precision); + if (digits == NULL) + goto out_of_memory; + ndigits = strlen (digits); + + if (ndigits > precision) + do + { + --ndigits; + *p++ = digits[ndigits]; + } + while (ndigits > precision); + else + *p++ = '0'; + /* Here ndigits <= precision. */ + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > ndigits; precision--) + *p++ = '0'; + while (ndigits > 0) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + + free (digits); + } + else if (dp->conversion == 'e' || dp->conversion == 'E') + { + int exponent; + + if (arg == 0.0) + { + exponent = 0; + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + } + else + { + /* arg > 0.0. */ + int adjusted; + char *digits; + size_t ndigits; + + exponent = floorlog10 (arg); + adjusted = 0; + for (;;) + { + digits = + scale10_round_decimal_double (arg, + (int)precision - exponent); + if (digits == NULL) + goto out_of_memory; + ndigits = strlen (digits); + + if (ndigits == precision + 1) + break; + if (ndigits < precision + || ndigits > precision + 2) + /* The exponent was not guessed + precisely enough. */ + abort (); + if (adjusted) + /* None of two values of exponent is + the right one. Prevent an endless + loop. */ + abort (); + free (digits); + if (ndigits == precision) + exponent -= 1; + else + exponent += 1; + adjusted = 1; + } + /* Here ndigits = precision+1. */ + if (is_borderline (digits, precision)) + { + /* Maybe the exponent guess was too high + and a smaller exponent can be reached + by turning a 10...0 into 9...9x. */ + char *digits2 = + scale10_round_decimal_double (arg, + (int)precision - exponent + 1); + if (digits2 == NULL) + { + free (digits); + goto out_of_memory; + } + if (strlen (digits2) == precision + 1) + { + free (digits); + digits = digits2; + exponent -= 1; + } + else + free (digits2); + } + /* Here ndigits = precision+1. */ + + *p++ = digits[--ndigits]; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + while (ndigits > 0) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + + free (digits); + } + + *p++ = dp->conversion; /* 'e' or 'E' */ +# if WIDE_CHAR_VERSION + { + static const wchar_t decimal_format[] = + /* Produce the same number of exponent digits + as the native printf implementation. */ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + { '%', '+', '.', '3', 'd', '\0' }; +# else + { '%', '+', '.', '2', 'd', '\0' }; +# endif + SNPRINTF (p, 6 + 1, decimal_format, exponent); + } + while (*p != '\0') + p++; +# else + { + static const char decimal_format[] = + /* Produce the same number of exponent digits + as the native printf implementation. */ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + "%+.3d"; +# else + "%+.2d"; +# endif + if (sizeof (DCHAR_T) == 1) + { + sprintf ((char *) p, decimal_format, exponent); + while (*p != '\0') + p++; + } + else + { + char expbuf[6 + 1]; + const char *ep; + sprintf (expbuf, decimal_format, exponent); + for (ep = expbuf; (*p = *ep) != '\0'; ep++) + p++; + } + } +# endif + } + else if (dp->conversion == 'g' || dp->conversion == 'G') + { + if (precision == 0) + precision = 1; + /* precision >= 1. */ + + if (arg == 0.0) + /* The exponent is 0, >= -4, < precision. + Use fixed-point notation. */ + { + size_t ndigits = precision; + /* Number of trailing zeroes that have to be + dropped. */ + size_t nzeroes = + (flags & FLAG_ALT ? 0 : precision - 1); + + --ndigits; + *p++ = '0'; + if ((flags & FLAG_ALT) || ndigits > nzeroes) + { + *p++ = decimal_point_char (); + while (ndigits > nzeroes) + { + --ndigits; + *p++ = '0'; + } + } + } + else + { + /* arg > 0.0. */ + int exponent; + int adjusted; + char *digits; + size_t ndigits; + size_t nzeroes; + + exponent = floorlog10 (arg); + adjusted = 0; + for (;;) + { + digits = + scale10_round_decimal_double (arg, + (int)(precision - 1) - exponent); + if (digits == NULL) + goto out_of_memory; + ndigits = strlen (digits); + + if (ndigits == precision) + break; + if (ndigits < precision - 1 + || ndigits > precision + 1) + /* The exponent was not guessed + precisely enough. */ + abort (); + if (adjusted) + /* None of two values of exponent is + the right one. Prevent an endless + loop. */ + abort (); + free (digits); + if (ndigits < precision) + exponent -= 1; + else + exponent += 1; + adjusted = 1; + } + /* Here ndigits = precision. */ + if (is_borderline (digits, precision - 1)) + { + /* Maybe the exponent guess was too high + and a smaller exponent can be reached + by turning a 10...0 into 9...9x. */ + char *digits2 = + scale10_round_decimal_double (arg, + (int)(precision - 1) - exponent + 1); + if (digits2 == NULL) + { + free (digits); + goto out_of_memory; + } + if (strlen (digits2) == precision) + { + free (digits); + digits = digits2; + exponent -= 1; + } + else + free (digits2); + } + /* Here ndigits = precision. */ + + /* Determine the number of trailing zeroes + that have to be dropped. */ + nzeroes = 0; + if ((flags & FLAG_ALT) == 0) + while (nzeroes < ndigits + && digits[nzeroes] == '0') + nzeroes++; + + /* The exponent is now determined. */ + if (exponent >= -4 + && exponent < (long)precision) + { + /* Fixed-point notation: + max(exponent,0)+1 digits, then the + decimal point, then the remaining + digits without trailing zeroes. */ + if (exponent >= 0) + { + size_t count = exponent + 1; + /* Note: count <= precision = ndigits. */ + for (; count > 0; count--) + *p++ = digits[--ndigits]; + if ((flags & FLAG_ALT) || ndigits > nzeroes) + { + *p++ = decimal_point_char (); + while (ndigits > nzeroes) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + } + else + { + size_t count = -exponent - 1; + *p++ = '0'; + *p++ = decimal_point_char (); + for (; count > 0; count--) + *p++ = '0'; + while (ndigits > nzeroes) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + } + else + { + /* Exponential notation. */ + *p++ = digits[--ndigits]; + if ((flags & FLAG_ALT) || ndigits > nzeroes) + { + *p++ = decimal_point_char (); + while (ndigits > nzeroes) + { + --ndigits; + *p++ = digits[ndigits]; + } + } + *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ +# if WIDE_CHAR_VERSION + { + static const wchar_t decimal_format[] = + /* Produce the same number of exponent digits + as the native printf implementation. */ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + { '%', '+', '.', '3', 'd', '\0' }; +# else + { '%', '+', '.', '2', 'd', '\0' }; +# endif + SNPRINTF (p, 6 + 1, decimal_format, exponent); + } + while (*p != '\0') + p++; +# else + { + static const char decimal_format[] = + /* Produce the same number of exponent digits + as the native printf implementation. */ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + "%+.3d"; +# else + "%+.2d"; +# endif + if (sizeof (DCHAR_T) == 1) + { + sprintf ((char *) p, decimal_format, exponent); + while (*p != '\0') + p++; + } + else + { + char expbuf[6 + 1]; + const char *ep; + sprintf (expbuf, decimal_format, exponent); + for (ep = expbuf; (*p = *ep) != '\0'; ep++) + p++; + } + } +# endif + } + + free (digits); + } + } + else + abort (); +# else + /* arg is finite. */ + if (!(arg == 0.0)) + abort (); + + pad_ptr = p; + + if (dp->conversion == 'f' || dp->conversion == 'F') + { + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + } + else if (dp->conversion == 'e' || dp->conversion == 'E') + { + *p++ = '0'; + if ((flags & FLAG_ALT) || precision > 0) + { + *p++ = decimal_point_char (); + for (; precision > 0; precision--) + *p++ = '0'; + } + *p++ = dp->conversion; /* 'e' or 'E' */ + *p++ = '+'; + /* Produce the same number of exponent digits as + the native printf implementation. */ +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + *p++ = '0'; +# endif + *p++ = '0'; + *p++ = '0'; + } + else if (dp->conversion == 'g' || dp->conversion == 'G') + { + *p++ = '0'; + if (flags & FLAG_ALT) + { + size_t ndigits = + (precision > 0 ? precision - 1 : 0); + *p++ = decimal_point_char (); + for (; ndigits > 0; --ndigits) + *p++ = '0'; + } + } + else + abort (); +# endif + } + } + } +# endif + + /* The generated string now extends from tmp to p, with the + zero padding insertion point being at pad_ptr. */ + if (has_width && p - tmp < width) + { + size_t pad = width - (p - tmp); + DCHAR_T *end = p + pad; + + if (flags & FLAG_LEFT) + { + /* Pad with spaces on the right. */ + for (; pad > 0; pad--) + *p++ = ' '; + } + else if ((flags & FLAG_ZERO) && pad_ptr != NULL) + { + /* Pad with zeroes. */ + DCHAR_T *q = end; + + while (p > pad_ptr) + *--q = *--p; + for (; pad > 0; pad--) + *p++ = '0'; + } + else + { + /* Pad with spaces on the left. */ + DCHAR_T *q = end; + + while (p > tmp) + *--q = *--p; + for (; pad > 0; pad--) + *p++ = ' '; + } + + p = end; + } + + { + size_t count = p - tmp; + + if (count >= tmp_length) + /* tmp_length was incorrectly calculated - fix the + code above! */ + abort (); + + /* Make room for the result. */ + if (count >= allocated - length) + { + size_t n = xsum (length, count); + + ENSURE_ALLOCATION (n); + } + + /* Append the result. */ + memcpy (result + length, tmp, count * sizeof (DCHAR_T)); + if (tmp != tmpbuf) + free (tmp); + length += count; + } + } +#endif + else + { + arg_type type = a.arg[dp->arg_index].type; + int flags = dp->flags; +#if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION + int has_width; + size_t width; +#endif +#if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || NEED_PRINTF_UNBOUNDED_PRECISION + int has_precision; + size_t precision; +#endif +#if NEED_PRINTF_UNBOUNDED_PRECISION + int prec_ourselves; +#else +# define prec_ourselves 0 +#endif +#if NEED_PRINTF_FLAG_LEFTADJUST +# define pad_ourselves 1 +#elif !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION + int pad_ourselves; +#else +# define pad_ourselves 0 +#endif + TCHAR_T *fbp; + unsigned int prefix_count; + int prefixes[2] IF_LINT (= { 0 }); +#if !USE_SNPRINTF + size_t tmp_length; + TCHAR_T tmpbuf[700]; + TCHAR_T *tmp; +#endif + +#if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION + has_width = 0; + width = 0; + if (dp->width_start != dp->width_end) + { + if (dp->width_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->width_arg_index].a.a_int; + if (arg < 0) + { + /* "A negative field width is taken as a '-' flag + followed by a positive field width." */ + flags |= FLAG_LEFT; + width = (unsigned int) (-arg); + } + else + width = arg; + } + else + { + const FCHAR_T *digitp = dp->width_start; + + do + width = xsum (xtimes (width, 10), *digitp++ - '0'); + while (digitp != dp->width_end); + } + has_width = 1; + } +#endif + +#if !USE_SNPRINTF || !HAVE_SNPRINTF_RETVAL_C99 || NEED_PRINTF_UNBOUNDED_PRECISION + has_precision = 0; + precision = 6; + if (dp->precision_start != dp->precision_end) + { + if (dp->precision_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->precision_arg_index].a.a_int; + /* "A negative precision is taken as if the precision + were omitted." */ + if (arg >= 0) + { + precision = arg; + has_precision = 1; + } + } + else + { + const FCHAR_T *digitp = dp->precision_start + 1; + + precision = 0; + while (digitp != dp->precision_end) + precision = xsum (xtimes (precision, 10), *digitp++ - '0'); + has_precision = 1; + } + } +#endif + + /* Decide whether to handle the precision ourselves. */ +#if NEED_PRINTF_UNBOUNDED_PRECISION + switch (dp->conversion) + { + case 'd': case 'i': case 'u': + case 'o': + case 'x': case 'X': case 'p': + prec_ourselves = has_precision && (precision > 0); + break; + default: + prec_ourselves = 0; + break; + } +#endif + + /* Decide whether to perform the padding ourselves. */ +#if !NEED_PRINTF_FLAG_LEFTADJUST && (!DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION) + switch (dp->conversion) + { +# if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO + /* If we need conversion from TCHAR_T[] to DCHAR_T[], we need + to perform the padding after this conversion. Functions + with unistdio extensions perform the padding based on + character count rather than element count. */ + case 'c': case 's': +# endif +# if NEED_PRINTF_FLAG_ZERO + case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': + case 'a': case 'A': +# endif + pad_ourselves = 1; + break; + default: + pad_ourselves = prec_ourselves; + break; + } +#endif + +#if !USE_SNPRINTF + /* Allocate a temporary buffer of sufficient size for calling + sprintf. */ + tmp_length = + MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, + flags, width, has_precision, precision, + pad_ourselves); + + if (tmp_length <= sizeof (tmpbuf) / sizeof (TCHAR_T)) + tmp = tmpbuf; + else + { + size_t tmp_memsize = xtimes (tmp_length, sizeof (TCHAR_T)); + + if (size_overflow_p (tmp_memsize)) + /* Overflow, would lead to out of memory. */ + goto out_of_memory; + tmp = (TCHAR_T *) malloc (tmp_memsize); + if (tmp == NULL) + /* Out of memory. */ + goto out_of_memory; + } +#endif + + /* Construct the format string for calling snprintf or + sprintf. */ + fbp = buf; + *fbp++ = '%'; +#if NEED_PRINTF_FLAG_GROUPING + /* The underlying implementation doesn't support the ' flag. + Produce no grouping characters in this case; this is + acceptable because the grouping is locale dependent. */ +#else + if (flags & FLAG_GROUP) + *fbp++ = '\''; +#endif + if (flags & FLAG_LEFT) + *fbp++ = '-'; + if (flags & FLAG_SHOWSIGN) + *fbp++ = '+'; + if (flags & FLAG_SPACE) + *fbp++ = ' '; + if (flags & FLAG_ALT) + *fbp++ = '#'; + if (!pad_ourselves) + { + if (flags & FLAG_ZERO) + *fbp++ = '0'; + if (dp->width_start != dp->width_end) + { + size_t n = dp->width_end - dp->width_start; + /* The width specification is known to consist only + of standard ASCII characters. */ + if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) + { + memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T)); + fbp += n; + } + else + { + const FCHAR_T *mp = dp->width_start; + do + *fbp++ = (unsigned char) *mp++; + while (--n > 0); + } + } + } + if (!prec_ourselves) + { + if (dp->precision_start != dp->precision_end) + { + size_t n = dp->precision_end - dp->precision_start; + /* The precision specification is known to consist only + of standard ASCII characters. */ + if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) + { + memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T)); + fbp += n; + } + else + { + const FCHAR_T *mp = dp->precision_start; + do + *fbp++ = (unsigned char) *mp++; + while (--n > 0); + } + } + } + + switch (type) + { +#if HAVE_LONG_LONG_INT + case TYPE_LONGLONGINT: + case TYPE_ULONGLONGINT: +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ + *fbp++ = 'I'; + *fbp++ = '6'; + *fbp++ = '4'; + break; +# else + *fbp++ = 'l'; + /*FALLTHROUGH*/ +# endif +#endif + case TYPE_LONGINT: + case TYPE_ULONGINT: +#if HAVE_WINT_T + case TYPE_WIDE_CHAR: +#endif +#if HAVE_WCHAR_T + case TYPE_WIDE_STRING: +#endif + *fbp++ = 'l'; + break; + case TYPE_LONGDOUBLE: + *fbp++ = 'L'; + break; + default: + break; + } +#if NEED_PRINTF_DIRECTIVE_F + if (dp->conversion == 'F') + *fbp = 'f'; + else +#endif + *fbp = dp->conversion; +#if USE_SNPRINTF +# if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) + fbp[1] = '%'; + fbp[2] = 'n'; + fbp[3] = '\0'; +# else + /* On glibc2 systems from glibc >= 2.3 - probably also older + ones - we know that snprintf's returns value conforms to + ISO C 99: the gl_SNPRINTF_DIRECTIVE_N test passes. + Therefore we can avoid using %n in this situation. + On glibc2 systems from 2004-10-18 or newer, the use of %n + in format strings in writable memory may crash the program + (if compiled with _FORTIFY_SOURCE=2), so we should avoid it + in this situation. */ + /* On native Win32 systems (such as mingw), we can avoid using + %n because: + - Although the gl_SNPRINTF_TRUNCATION_C99 test fails, + snprintf does not write more than the specified number + of bytes. (snprintf (buf, 3, "%d %d", 4567, 89) writes + '4', '5', '6' into buf, not '4', '5', '\0'.) + - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf + allows us to recognize the case of an insufficient + buffer size: it returns -1 in this case. + On native Win32 systems (such as mingw) where the OS is + Windows Vista, the use of %n in format strings by default + crashes the program. See + and + + So we should avoid %n in this situation. */ + fbp[1] = '\0'; +# endif +#else + fbp[1] = '\0'; +#endif + + /* Construct the arguments for calling snprintf or sprintf. */ + prefix_count = 0; + if (!pad_ourselves && dp->width_arg_index != ARG_NONE) + { + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; + } + if (!prec_ourselves && dp->precision_arg_index != ARG_NONE) + { + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; + } + +#if USE_SNPRINTF + /* The SNPRINTF result is appended after result[0..length]. + The latter is an array of DCHAR_T; SNPRINTF appends an + array of TCHAR_T to it. This is possible because + sizeof (TCHAR_T) divides sizeof (DCHAR_T) and + alignof (TCHAR_T) <= alignof (DCHAR_T). */ +# define TCHARS_PER_DCHAR (sizeof (DCHAR_T) / sizeof (TCHAR_T)) + /* Ensure that maxlen below will be >= 2. Needed on BeOS, + where an snprintf() with maxlen==1 acts like sprintf(). */ + ENSURE_ALLOCATION (xsum (length, + (2 + TCHARS_PER_DCHAR - 1) + / TCHARS_PER_DCHAR)); + /* Prepare checking whether snprintf returns the count + via %n. */ + *(TCHAR_T *) (result + length) = '\0'; +#endif + + for (;;) + { + int count = -1; + +#if USE_SNPRINTF + int retcount = 0; + size_t maxlen = allocated - length; + /* SNPRINTF can fail if its second argument is + > INT_MAX. */ + if (maxlen > INT_MAX / TCHARS_PER_DCHAR) + maxlen = INT_MAX / TCHARS_PER_DCHAR; + maxlen = maxlen * TCHARS_PER_DCHAR; +# define SNPRINTF_BUF(arg) \ + switch (prefix_count) \ + { \ + case 0: \ + retcount = SNPRINTF ((TCHAR_T *) (result + length), \ + maxlen, buf, \ + arg, &count); \ + break; \ + case 1: \ + retcount = SNPRINTF ((TCHAR_T *) (result + length), \ + maxlen, buf, \ + prefixes[0], arg, &count); \ + break; \ + case 2: \ + retcount = SNPRINTF ((TCHAR_T *) (result + length), \ + maxlen, buf, \ + prefixes[0], prefixes[1], arg, \ + &count); \ + break; \ + default: \ + abort (); \ + } +#else +# define SNPRINTF_BUF(arg) \ + switch (prefix_count) \ + { \ + case 0: \ + count = sprintf (tmp, buf, arg); \ + break; \ + case 1: \ + count = sprintf (tmp, buf, prefixes[0], arg); \ + break; \ + case 2: \ + count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ + arg); \ + break; \ + default: \ + abort (); \ + } +#endif + + errno = 0; + switch (type) + { + case TYPE_SCHAR: + { + int arg = a.arg[dp->arg_index].a.a_schar; + SNPRINTF_BUF (arg); + } + break; + case TYPE_UCHAR: + { + unsigned int arg = a.arg[dp->arg_index].a.a_uchar; + SNPRINTF_BUF (arg); + } + break; + case TYPE_SHORT: + { + int arg = a.arg[dp->arg_index].a.a_short; + SNPRINTF_BUF (arg); + } + break; + case TYPE_USHORT: + { + unsigned int arg = a.arg[dp->arg_index].a.a_ushort; + SNPRINTF_BUF (arg); + } + break; + case TYPE_INT: + { + int arg = a.arg[dp->arg_index].a.a_int; + SNPRINTF_BUF (arg); + } + break; + case TYPE_UINT: + { + unsigned int arg = a.arg[dp->arg_index].a.a_uint; + SNPRINTF_BUF (arg); + } + break; + case TYPE_LONGINT: + { + long int arg = a.arg[dp->arg_index].a.a_longint; + SNPRINTF_BUF (arg); + } + break; + case TYPE_ULONGINT: + { + unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; + SNPRINTF_BUF (arg); + } + break; +#if HAVE_LONG_LONG_INT + case TYPE_LONGLONGINT: + { + long long int arg = a.arg[dp->arg_index].a.a_longlongint; + SNPRINTF_BUF (arg); + } + break; + case TYPE_ULONGLONGINT: + { + unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_DOUBLE: + { + double arg = a.arg[dp->arg_index].a.a_double; + SNPRINTF_BUF (arg); + } + break; + case TYPE_LONGDOUBLE: + { + long double arg = a.arg[dp->arg_index].a.a_longdouble; + SNPRINTF_BUF (arg); + } + break; + case TYPE_CHAR: + { + int arg = a.arg[dp->arg_index].a.a_char; + SNPRINTF_BUF (arg); + } + break; +#if HAVE_WINT_T + case TYPE_WIDE_CHAR: + { + wint_t arg = a.arg[dp->arg_index].a.a_wide_char; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_STRING: + { + const char *arg = a.arg[dp->arg_index].a.a_string; + SNPRINTF_BUF (arg); + } + break; +#if HAVE_WCHAR_T + case TYPE_WIDE_STRING: + { + const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_POINTER: + { + void *arg = a.arg[dp->arg_index].a.a_pointer; + SNPRINTF_BUF (arg); + } + break; + default: + abort (); + } + +#if USE_SNPRINTF + /* Portability: Not all implementations of snprintf() + are ISO C 99 compliant. Determine the number of + bytes that snprintf() has produced or would have + produced. */ + if (count >= 0) + { + /* Verify that snprintf() has NUL-terminated its + result. */ + if (count < maxlen + && ((TCHAR_T *) (result + length)) [count] != '\0') + abort (); + /* Portability hack. */ + if (retcount > count) + count = retcount; + } + else + { + /* snprintf() doesn't understand the '%n' + directive. */ + if (fbp[1] != '\0') + { + /* Don't use the '%n' directive; instead, look + at the snprintf() return value. */ + fbp[1] = '\0'; + continue; + } + else + { + /* Look at the snprintf() return value. */ + if (retcount < 0) + { +# if !HAVE_SNPRINTF_RETVAL_C99 + /* HP-UX 10.20 snprintf() is doubly deficient: + It doesn't understand the '%n' directive, + *and* it returns -1 (rather than the length + that would have been required) when the + buffer is too small. + But a failure at this point can also come + from other reasons than a too small buffer, + such as an invalid wide string argument to + the %ls directive, or possibly an invalid + floating-point argument. */ + size_t tmp_length = + MAX_ROOM_NEEDED (&a, dp->arg_index, + dp->conversion, type, flags, + width, has_precision, + precision, pad_ourselves); + + if (maxlen < tmp_length) + { + /* Make more room. But try to do through + this reallocation only once. */ + size_t bigger_need = + xsum (length, + xsum (tmp_length, + TCHARS_PER_DCHAR - 1) + / TCHARS_PER_DCHAR); + /* And always grow proportionally. + (There may be several arguments, each + needing a little more room than the + previous one.) */ + size_t bigger_need2 = + xsum (xtimes (allocated, 2), 12); + if (bigger_need < bigger_need2) + bigger_need = bigger_need2; + ENSURE_ALLOCATION (bigger_need); + continue; + } +# endif + } + else + count = retcount; + } + } +#endif + + /* Attempt to handle failure. */ + if (count < 0) + { + /* SNPRINTF or sprintf failed. Save and use the errno + that it has set, if any. */ + int saved_errno = errno; + + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = + (saved_errno != 0 + ? saved_errno + : (dp->conversion == 'c' || dp->conversion == 's' + ? EILSEQ + : EINVAL)); + return NULL; + } + +#if USE_SNPRINTF + /* Handle overflow of the allocated buffer. + If such an overflow occurs, a C99 compliant snprintf() + returns a count >= maxlen. However, a non-compliant + snprintf() function returns only count = maxlen - 1. To + cover both cases, test whether count >= maxlen - 1. */ + if ((unsigned int) count + 1 >= maxlen) + { + /* If maxlen already has attained its allowed maximum, + allocating more memory will not increase maxlen. + Instead of looping, bail out. */ + if (maxlen == INT_MAX / TCHARS_PER_DCHAR) + goto overflow; + else + { + /* Need at least (count + 1) * sizeof (TCHAR_T) + bytes. (The +1 is for the trailing NUL.) + But ask for (count + 2) * sizeof (TCHAR_T) + bytes, so that in the next round, we likely get + maxlen > (unsigned int) count + 1 + and so we don't get here again. + And allocate proportionally, to avoid looping + eternally if snprintf() reports a too small + count. */ + size_t n = + xmax (xsum (length, + ((unsigned int) count + 2 + + TCHARS_PER_DCHAR - 1) + / TCHARS_PER_DCHAR), + xtimes (allocated, 2)); + + ENSURE_ALLOCATION (n); + continue; + } + } +#endif + +#if NEED_PRINTF_UNBOUNDED_PRECISION + if (prec_ourselves) + { + /* Handle the precision. */ + TCHAR_T *prec_ptr = +# if USE_SNPRINTF + (TCHAR_T *) (result + length); +# else + tmp; +# endif + size_t prefix_count; + size_t move; + + prefix_count = 0; + /* Put the additional zeroes after the sign. */ + if (count >= 1 + && (*prec_ptr == '-' || *prec_ptr == '+' + || *prec_ptr == ' ')) + prefix_count = 1; + /* Put the additional zeroes after the 0x prefix if + (flags & FLAG_ALT) || (dp->conversion == 'p'). */ + else if (count >= 2 + && prec_ptr[0] == '0' + && (prec_ptr[1] == 'x' || prec_ptr[1] == 'X')) + prefix_count = 2; + + move = count - prefix_count; + if (precision > move) + { + /* Insert zeroes. */ + size_t insert = precision - move; + TCHAR_T *prec_end; + +# if USE_SNPRINTF + size_t n = + xsum (length, + (count + insert + TCHARS_PER_DCHAR - 1) + / TCHARS_PER_DCHAR); + length += (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; + ENSURE_ALLOCATION (n); + length -= (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; + prec_ptr = (TCHAR_T *) (result + length); +# endif + + prec_end = prec_ptr + count; + prec_ptr += prefix_count; + + while (prec_end > prec_ptr) + { + prec_end--; + prec_end[insert] = prec_end[0]; + } + + prec_end += insert; + do + *--prec_end = '0'; + while (prec_end > prec_ptr); + + count += insert; + } + } +#endif + +#if !USE_SNPRINTF + if (count >= tmp_length) + /* tmp_length was incorrectly calculated - fix the + code above! */ + abort (); +#endif + +#if !DCHAR_IS_TCHAR + /* Convert from TCHAR_T[] to DCHAR_T[]. */ + if (dp->conversion == 'c' || dp->conversion == 's') + { + /* type = TYPE_CHAR or TYPE_WIDE_CHAR or TYPE_STRING + TYPE_WIDE_STRING. + The result string is not certainly ASCII. */ + const TCHAR_T *tmpsrc; + DCHAR_T *tmpdst; + size_t tmpdst_len; + /* This code assumes that TCHAR_T is 'char'. */ + typedef int TCHAR_T_verify + [2 * (sizeof (TCHAR_T) == 1) - 1]; +# if USE_SNPRINTF + tmpsrc = (TCHAR_T *) (result + length); +# else + tmpsrc = tmp; +# endif + tmpdst = + DCHAR_CONV_FROM_ENCODING (locale_charset (), + iconveh_question_mark, + tmpsrc, count, + NULL, + NULL, &tmpdst_len); + if (tmpdst == NULL) + { + int saved_errno = errno; + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = saved_errno; + return NULL; + } + ENSURE_ALLOCATION (xsum (length, tmpdst_len)); + DCHAR_CPY (result + length, tmpdst, tmpdst_len); + free (tmpdst); + count = tmpdst_len; + } + else + { + /* The result string is ASCII. + Simple 1:1 conversion. */ +# if USE_SNPRINTF + /* If sizeof (DCHAR_T) == sizeof (TCHAR_T), it's a + no-op conversion, in-place on the array starting + at (result + length). */ + if (sizeof (DCHAR_T) != sizeof (TCHAR_T)) +# endif + { + const TCHAR_T *tmpsrc; + DCHAR_T *tmpdst; + size_t n; + +# if USE_SNPRINTF + if (result == resultbuf) + { + tmpsrc = (TCHAR_T *) (result + length); + /* ENSURE_ALLOCATION will not move tmpsrc + (because it's part of resultbuf). */ + ENSURE_ALLOCATION (xsum (length, count)); + } + else + { + /* ENSURE_ALLOCATION will move the array + (because it uses realloc(). */ + ENSURE_ALLOCATION (xsum (length, count)); + tmpsrc = (TCHAR_T *) (result + length); + } +# else + tmpsrc = tmp; + ENSURE_ALLOCATION (xsum (length, count)); +# endif + tmpdst = result + length; + /* Copy backwards, because of overlapping. */ + tmpsrc += count; + tmpdst += count; + for (n = count; n > 0; n--) + *--tmpdst = (unsigned char) *--tmpsrc; + } + } +#endif + +#if DCHAR_IS_TCHAR && !USE_SNPRINTF + /* Make room for the result. */ + if (count > allocated - length) + { + /* Need at least count elements. But allocate + proportionally. */ + size_t n = + xmax (xsum (length, count), xtimes (allocated, 2)); + + ENSURE_ALLOCATION (n); + } +#endif + + /* Here count <= allocated - length. */ + + /* Perform padding. */ +#if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_LEFTADJUST || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION + if (pad_ourselves && has_width) + { + size_t w; +# if ENABLE_UNISTDIO + /* Outside POSIX, it's preferrable to compare the width + against the number of _characters_ of the converted + value. */ + w = DCHAR_MBSNLEN (result + length, count); +# else + /* The width is compared against the number of _bytes_ + of the converted value, says POSIX. */ + w = count; +# endif + if (w < width) + { + size_t pad = width - w; + + /* Make room for the result. */ + if (xsum (count, pad) > allocated - length) + { + /* Need at least count + pad elements. But + allocate proportionally. */ + size_t n = + xmax (xsum3 (length, count, pad), + xtimes (allocated, 2)); + +# if USE_SNPRINTF + length += count; + ENSURE_ALLOCATION (n); + length -= count; +# else + ENSURE_ALLOCATION (n); +# endif + } + /* Here count + pad <= allocated - length. */ + + { +# if !DCHAR_IS_TCHAR || USE_SNPRINTF + DCHAR_T * const rp = result + length; +# else + DCHAR_T * const rp = tmp; +# endif + DCHAR_T *p = rp + count; + DCHAR_T *end = p + pad; + DCHAR_T *pad_ptr; +# if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO + if (dp->conversion == 'c' + || dp->conversion == 's') + /* No zero-padding for string directives. */ + pad_ptr = NULL; + else +# endif + { + pad_ptr = (*rp == '-' ? rp + 1 : rp); + /* No zero-padding of "inf" and "nan". */ + if ((*pad_ptr >= 'A' && *pad_ptr <= 'Z') + || (*pad_ptr >= 'a' && *pad_ptr <= 'z')) + pad_ptr = NULL; + } + /* The generated string now extends from rp to p, + with the zero padding insertion point being at + pad_ptr. */ + + count = count + pad; /* = end - rp */ + + if (flags & FLAG_LEFT) + { + /* Pad with spaces on the right. */ + for (; pad > 0; pad--) + *p++ = ' '; + } + else if ((flags & FLAG_ZERO) && pad_ptr != NULL) + { + /* Pad with zeroes. */ + DCHAR_T *q = end; + + while (p > pad_ptr) + *--q = *--p; + for (; pad > 0; pad--) + *p++ = '0'; + } + else + { + /* Pad with spaces on the left. */ + DCHAR_T *q = end; + + while (p > rp) + *--q = *--p; + for (; pad > 0; pad--) + *p++ = ' '; + } + } + } + } +#endif + + /* Here still count <= allocated - length. */ + +#if !DCHAR_IS_TCHAR || USE_SNPRINTF + /* The snprintf() result did fit. */ +#else + /* Append the sprintf() result. */ + memcpy (result + length, tmp, count * sizeof (DCHAR_T)); +#endif +#if !USE_SNPRINTF + if (tmp != tmpbuf) + free (tmp); +#endif + +#if NEED_PRINTF_DIRECTIVE_F + if (dp->conversion == 'F') + { + /* Convert the %f result to upper case for %F. */ + DCHAR_T *rp = result + length; + size_t rc; + for (rc = count; rc > 0; rc--, rp++) + if (*rp >= 'a' && *rp <= 'z') + *rp = *rp - 'a' + 'A'; + } +#endif + + length += count; + break; + } +#undef pad_ourselves +#undef prec_ourselves + } + } + } + + /* Add the final NUL. */ + ENSURE_ALLOCATION (xsum (length, 1)); + result[length] = '\0'; + + if (result != resultbuf && length + 1 < allocated) + { + /* Shrink the allocated memory if possible. */ + DCHAR_T *memory; + + memory = (DCHAR_T *) realloc (result, (length + 1) * sizeof (DCHAR_T)); + if (memory != NULL) + result = memory; + } + + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + *lengthp = length; + /* Note that we can produce a big string of a length > INT_MAX. POSIX + says that snprintf() fails with errno = EOVERFLOW in this case, but + that's only because snprintf() returns an 'int'. This function does + not have this limitation. */ + return result; + +#if USE_SNPRINTF + overflow: + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EOVERFLOW; + return NULL; +#endif + + out_of_memory: + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + out_of_memory_1: + CLEANUP (); + errno = ENOMEM; + return NULL; + } +} + +#undef MAX_ROOM_NEEDED +#undef TCHARS_PER_DCHAR +#undef SNPRINTF +#undef USE_SNPRINTF +#undef DCHAR_SET +#undef DCHAR_CPY +#undef PRINTF_PARSE +#undef DIRECTIVES +#undef DIRECTIVE +#undef DCHAR_IS_TCHAR +#undef TCHAR_T +#undef DCHAR_T +#undef FCHAR_T +#undef VASNPRINTF diff --git a/grub-core/gnulib/vasnprintf.h b/grub-core/gnulib/vasnprintf.h new file mode 100644 index 0000000..a689bad --- /dev/null +++ b/grub-core/gnulib/vasnprintf.h @@ -0,0 +1,80 @@ +/* vsprintf with automatic memory allocation. + Copyright (C) 2002-2004, 2007-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _VASNPRINTF_H +#define _VASNPRINTF_H + +/* Get va_list. */ +#include + +/* Get size_t. */ +#include + +#ifndef __attribute__ +/* The __attribute__ feature is available in gcc versions 2.5 and later. + The __-protected variants of the attributes 'format' and 'printf' are + accepted by gcc versions 2.6.4 (effectively 2.7) and later. + We enable __attribute__ only if these are supported too, because + gnulib and libintl do '#define printf __printf__' when they override + the 'printf' function. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __attribute__(Spec) /* empty */ +# endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Write formatted output to a string dynamically allocated with malloc(). + You can pass a preallocated buffer for the result in RESULTBUF and its + size in *LENGTHP; otherwise you pass RESULTBUF = NULL. + If successful, return the address of the string (this may be = RESULTBUF + if no dynamic memory allocation was necessary) and set *LENGTHP to the + number of resulting bytes, excluding the trailing NUL. Upon error, set + errno and return NULL. + + When dynamic memory allocation occurs, the preallocated buffer is left + alone (with possibly modified contents). This makes it possible to use + a statically allocated or stack-allocated buffer, like this: + + char buf[100]; + size_t len = sizeof (buf); + char *output = vasnprintf (buf, &len, format, args); + if (output == NULL) + ... error handling ...; + else + { + ... use the output string ...; + if (output != buf) + free (output); + } + */ +#if REPLACE_VASNPRINTF +# define asnprintf rpl_asnprintf +# define vasnprintf rpl_vasnprintf +#endif +extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) + __attribute__ ((__format__ (__printf__, 3, 4))); +extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 3, 0))); + +#ifdef __cplusplus +} +#endif + +#endif /* _VASNPRINTF_H */ diff --git a/grub-core/gnulib/verify.h b/grub-core/gnulib/verify.h new file mode 100644 index 0000000..4ad780c --- /dev/null +++ b/grub-core/gnulib/verify.h @@ -0,0 +1,163 @@ +/* Compile-time assert-like macros. + + Copyright (C) 2005-2006, 2009-2010 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +/* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ + +#ifndef VERIFY_H +# define VERIFY_H 1 + +/* Each of these macros verifies that its argument R is nonzero. To + be portable, R should be an integer constant expression. Unlike + assert (R), there is no run-time overhead. + + There are two macros, since no single macro can be used in all + contexts in C. verify_true (R) is for scalar contexts, including + integer constant expression contexts. verify (R) is for declaration + contexts, e.g., the top level. + + Symbols ending in "__" are private to this header. + + The code below uses several ideas. + + * The first step is ((R) ? 1 : -1). Given an expression R, of + integral or boolean or floating-point type, this yields an + expression of integral type, whose value is later verified to be + constant and nonnegative. + + * Next this expression W is wrapped in a type + struct verify_type__ { unsigned int verify_error_if_negative_size__: W; }. + If W is negative, this yields a compile-time error. No compiler can + deal with a bit-field of negative size. + + One might think that an array size check would have the same + effect, that is, that the type struct { unsigned int dummy[W]; } + would work as well. However, inside a function, some compilers + (such as C++ compilers and GNU C) allow local parameters and + variables inside array size expressions. With these compilers, + an array size check would not properly diagnose this misuse of + the verify macro: + + void function (int n) { verify (n < 0); } + + * For the verify macro, the struct verify_type__ will need to + somehow be embedded into a declaration. To be portable, this + declaration must declare an object, a constant, a function, or a + typedef name. If the declared entity uses the type directly, + such as in + + struct dummy {...}; + typedef struct {...} dummy; + extern struct {...} *dummy; + extern void dummy (struct {...} *); + extern struct {...} *dummy (void); + + two uses of the verify macro would yield colliding declarations + if the entity names are not disambiguated. A workaround is to + attach the current line number to the entity name: + + #define _GL_CONCAT0(x, y) x##y + #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) + extern struct {...} * _GL_CONCAT (dummy, __LINE__); + + But this has the problem that two invocations of verify from + within the same macro would collide, since the __LINE__ value + would be the same for both invocations. (The GCC __COUNTER__ + macro solves this problem, but is not portable.) + + A solution is to use the sizeof operator. It yields a number, + getting rid of the identity of the type. Declarations like + + extern int dummy [sizeof (struct {...})]; + extern void dummy (int [sizeof (struct {...})]); + extern int (*dummy (void)) [sizeof (struct {...})]; + + can be repeated. + + * Should the implementation use a named struct or an unnamed struct? + Which of the following alternatives can be used? + + extern int dummy [sizeof (struct {...})]; + extern int dummy [sizeof (struct verify_type__ {...})]; + extern void dummy (int [sizeof (struct {...})]); + extern void dummy (int [sizeof (struct verify_type__ {...})]); + extern int (*dummy (void)) [sizeof (struct {...})]; + extern int (*dummy (void)) [sizeof (struct verify_type__ {...})]; + + In the second and sixth case, the struct type is exported to the + outer scope; two such declarations therefore collide. GCC warns + about the first, third, and fourth cases. So the only remaining + possibility is the fifth case: + + extern int (*dummy (void)) [sizeof (struct {...})]; + + * GCC warns about duplicate declarations of the dummy function if + -Wredundant_decls is used. GCC 4.3 and later have a builtin + __COUNTER__ macro that can let us generate unique identifiers for + each dummy function, to suppress this warning. + + * This implementation exploits the fact that GCC does not warn about + the last declaration mentioned above. If a future version of GCC + introduces a warning for this, the problem could be worked around + by using code specialized to GCC, just as __COUNTER__ is already + being used if available. + + #if 4 <= __GNUC__ + # define verify(R) [another version to keep GCC happy] + #endif + + * In C++, any struct definition inside sizeof is invalid. + Use a template type to work around the problem. */ + +/* Concatenate two preprocessor tokens. */ +# define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) +# define _GL_CONCAT0(x, y) x##y + +/* _GL_COUNTER is an integer, preferably one that changes each time we + use it. Use __COUNTER__ if it works, falling back on __LINE__ + otherwise. __LINE__ isn't perfect, but it's better than a + constant. */ +# if defined __COUNTER__ && __COUNTER__ != __COUNTER__ +# define _GL_COUNTER __COUNTER__ +# else +# define _GL_COUNTER __LINE__ +# endif + +/* Generate a symbol with the given prefix, making it unique if + possible. */ +# define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER) + +/* Verify requirement R at compile-time, as an integer constant expression. + Return 1. */ + +# ifdef __cplusplus +template + struct verify_type__ { unsigned int verify_error_if_negative_size__: w; }; +# define verify_true(R) \ + (!!sizeof (verify_type__<(R) ? 1 : -1>)) +# else +# define verify_true(R) \ + (!!sizeof \ + (struct { unsigned int verify_error_if_negative_size__: (R) ? 1 : -1; })) +# endif + +/* Verify requirement R at compile-time, as a declaration without a + trailing ';'. */ + +# define verify(R) \ + extern int (* _GL_GENSYM (verify_function) (void)) [verify_true (R)] + +#endif diff --git a/grub-core/gnulib/vsnprintf.c b/grub-core/gnulib/vsnprintf.c new file mode 100644 index 0000000..d447cc2 --- /dev/null +++ b/grub-core/gnulib/vsnprintf.c @@ -0,0 +1,71 @@ +/* Formatted output to strings. + Copyright (C) 2004, 2006-2010 Free Software Foundation, Inc. + Written by Simon Josefsson and Yoann Vandoorselaere . + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +/* Specification. */ +#include + +#include +#include +#include +#include +#include + +#include "vasnprintf.h" + +/* Print formatted output to string STR. Similar to vsprintf, but + additional length SIZE limit how much is written into STR. Returns + string length of formatted string (which may be larger than SIZE). + STR may be NULL, in which case nothing will be written. On error, + return a negative value. */ +int +vsnprintf (char *str, size_t size, const char *format, va_list args) +{ + char *output; + size_t len; + size_t lenbuf = size; + + output = vasnprintf (str, &lenbuf, format, args); + len = lenbuf; + + if (!output) + return -1; + + if (output != str) + { + if (size) + { + size_t pruned_len = (len < size ? len : size - 1); + memcpy (str, output, pruned_len); + str[pruned_len] = '\0'; + } + + free (output); + } + + if (len > INT_MAX) + { + errno = EOVERFLOW; + return -1; + } + + return len; +} diff --git a/grub-core/gnulib/wchar.in.h b/grub-core/gnulib/wchar.in.h new file mode 100644 index 0000000..88d47db --- /dev/null +++ b/grub-core/gnulib/wchar.in.h @@ -0,0 +1,428 @@ +/* A substitute for ISO C99 , for platforms that have issues. + + Copyright (C) 2007-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Written by Eric Blake. */ + +/* + * ISO C 99 for platforms that have issues. + * + * + * For now, this just ensures proper prerequisite inclusion order and + * the declaration of wcwidth(). + */ + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +#if defined __need_mbstate_t || defined __need_wint_t || (defined __hpux && ((defined _INTTYPES_INCLUDED && !defined strtoimax) || defined _GL_JUST_INCLUDE_SYSTEM_WCHAR_H)) || defined _GL_ALREADY_INCLUDING_WCHAR_H +/* Special invocation convention: + - Inside glibc and uClibc header files. + - On HP-UX 11.00 we have a sequence of nested includes + -> -> , and the latter includes , + once indirectly -> -> -> + and once directly. In both situations 'wint_t' is not yet defined, + therefore we cannot provide the function overrides; instead include only + the system's . + - On IRIX 6.5, similarly, we have an include -> , and + the latter includes . But here, we have no way to detect whether + is completely included or is still being included. */ + +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ + +#else +/* Normal invocation convention. */ + +#ifndef _GL_WCHAR_H + +#define _GL_ALREADY_INCLUDING_WCHAR_H + +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . + But avoid namespace pollution on glibc systems. */ +#ifndef __GLIBC__ +# include +# include +# include +#endif + +/* Include the original if it exists. + Some builds of uClibc lack it. */ +/* The include_next requires a split double-inclusion guard. */ +#if @HAVE_WCHAR_H@ +# @INCLUDE_NEXT@ @NEXT_WCHAR_H@ +#endif + +#undef _GL_ALREADY_INCLUDING_WCHAR_H + +#ifndef _GL_WCHAR_H +#define _GL_WCHAR_H + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_ARG_NONNULL is copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + + +/* Define wint_t and WEOF. (Also done in wctype.in.h.) */ +#if !@HAVE_WINT_T@ && !defined wint_t +# define wint_t int +# ifndef WEOF +# define WEOF -1 +# endif +#else +# ifndef WEOF +# define WEOF ((wint_t) -1) +# endif +#endif + + +/* Override mbstate_t if it is too small. + On IRIX 6.5, sizeof (mbstate_t) == 1, which is not sufficient for + implementing mbrtowc for encodings like UTF-8. */ +#if !(@HAVE_MBSINIT@ && @HAVE_MBRTOWC@) || @REPLACE_MBSTATE_T@ +typedef int rpl_mbstate_t; +# undef mbstate_t +# define mbstate_t rpl_mbstate_t +# define GNULIB_defined_mbstate_t 1 +#endif + + +/* Convert a single-byte character to a wide character. */ +#if @GNULIB_BTOWC@ +# if @REPLACE_BTOWC@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef btowc +# define btowc rpl_btowc +# endif +_GL_FUNCDECL_RPL (btowc, wint_t, (int c)); +_GL_CXXALIAS_RPL (btowc, wint_t, (int c)); +# else +# if !@HAVE_BTOWC@ +_GL_FUNCDECL_SYS (btowc, wint_t, (int c)); +# endif +_GL_CXXALIAS_SYS (btowc, wint_t, (int c)); +# endif +_GL_CXXALIASWARN (btowc); +#elif defined GNULIB_POSIXCHECK +# undef btowc +# if HAVE_RAW_DECL_BTOWC +_GL_WARN_ON_USE (btowc, "btowc is unportable - " + "use gnulib module btowc for portability"); +# endif +#endif + + +/* Convert a wide character to a single-byte character. */ +#if @GNULIB_WCTOB@ +# if @REPLACE_WCTOB@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef wctob +# define wctob rpl_wctob +# endif +_GL_FUNCDECL_RPL (wctob, int, (wint_t wc)); +_GL_CXXALIAS_RPL (wctob, int, (wint_t wc)); +# else +# if !defined wctob && !@HAVE_DECL_WCTOB@ +/* wctob is provided by gnulib, or wctob exists but is not declared. */ +_GL_FUNCDECL_SYS (wctob, int, (wint_t wc)); +# endif +_GL_CXXALIAS_SYS (wctob, int, (wint_t wc)); +# endif +_GL_CXXALIASWARN (wctob); +#elif defined GNULIB_POSIXCHECK +# undef wctob +# if HAVE_RAW_DECL_WCTOB +_GL_WARN_ON_USE (wctob, "wctob is unportable - " + "use gnulib module wctob for portability"); +# endif +#endif + + +/* Test whether *PS is in the initial state. */ +#if @GNULIB_MBSINIT@ +# if @REPLACE_MBSINIT@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef mbsinit +# define mbsinit rpl_mbsinit +# endif +_GL_FUNCDECL_RPL (mbsinit, int, (const mbstate_t *ps)); +_GL_CXXALIAS_RPL (mbsinit, int, (const mbstate_t *ps)); +# else +# if !@HAVE_MBSINIT@ +_GL_FUNCDECL_SYS (mbsinit, int, (const mbstate_t *ps)); +# endif +_GL_CXXALIAS_SYS (mbsinit, int, (const mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (mbsinit); +#elif defined GNULIB_POSIXCHECK +# undef mbsinit +# if HAVE_RAW_DECL_MBSINIT +_GL_WARN_ON_USE (mbsinit, "mbsinit is unportable - " + "use gnulib module mbsinit for portability"); +# endif +#endif + + +/* Convert a multibyte character to a wide character. */ +#if @GNULIB_MBRTOWC@ +# if @REPLACE_MBRTOWC@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef mbrtowc +# define mbrtowc rpl_mbrtowc +# endif +_GL_FUNCDECL_RPL (mbrtowc, size_t, + (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); +_GL_CXXALIAS_RPL (mbrtowc, size_t, + (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); +# else +# if !@HAVE_MBRTOWC@ +_GL_FUNCDECL_SYS (mbrtowc, size_t, + (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); +# endif +_GL_CXXALIAS_SYS (mbrtowc, size_t, + (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (mbrtowc); +#elif defined GNULIB_POSIXCHECK +# undef mbrtowc +# if HAVE_RAW_DECL_MBRTOWC +_GL_WARN_ON_USE (mbrtowc, "mbrtowc is unportable - " + "use gnulib module mbrtowc for portability"); +# endif +#endif + + +/* Recognize a multibyte character. */ +#if @GNULIB_MBRLEN@ +# if @REPLACE_MBRLEN@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef mbrlen +# define mbrlen rpl_mbrlen +# endif +_GL_FUNCDECL_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); +_GL_CXXALIAS_RPL (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); +# else +# if !@HAVE_MBRLEN@ +_GL_FUNCDECL_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); +# endif +_GL_CXXALIAS_SYS (mbrlen, size_t, (const char *s, size_t n, mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (mbrlen); +#elif defined GNULIB_POSIXCHECK +# undef mbrlen +# if HAVE_RAW_DECL_MBRLEN +_GL_WARN_ON_USE (mbrlen, "mbrlen is unportable - " + "use gnulib module mbrlen for portability"); +# endif +#endif + + +/* Convert a string to a wide string. */ +#if @GNULIB_MBSRTOWCS@ +# if @REPLACE_MBSRTOWCS@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef mbsrtowcs +# define mbsrtowcs rpl_mbsrtowcs +# endif +_GL_FUNCDECL_RPL (mbsrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (mbsrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t len, + mbstate_t *ps)); +# else +# if !@HAVE_MBSRTOWCS@ +_GL_FUNCDECL_SYS (mbsrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t len, mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (mbsrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t len, + mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (mbsrtowcs); +#elif defined GNULIB_POSIXCHECK +# undef mbsrtowcs +# if HAVE_RAW_DECL_MBSRTOWCS +_GL_WARN_ON_USE (mbsrtowcs, "mbsrtowcs is unportable - " + "use gnulib module mbsrtowcs for portability"); +# endif +#endif + + +/* Convert a string to a wide string. */ +#if @GNULIB_MBSNRTOWCS@ +# if @REPLACE_MBSNRTOWCS@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef mbsnrtowcs +# define mbsnrtowcs rpl_mbsnrtowcs +# endif +_GL_FUNCDECL_RPL (mbsnrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t srclen, size_t len, + mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (mbsnrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t srclen, size_t len, + mbstate_t *ps)); +# else +# if !@HAVE_MBSNRTOWCS@ +_GL_FUNCDECL_SYS (mbsnrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t srclen, size_t len, + mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (mbsnrtowcs, size_t, + (wchar_t *dest, const char **srcp, size_t srclen, size_t len, + mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (mbsnrtowcs); +#elif defined GNULIB_POSIXCHECK +# undef mbsnrtowcs +# if HAVE_RAW_DECL_MBSNRTOWCS +_GL_WARN_ON_USE (mbsnrtowcs, "mbsnrtowcs is unportable - " + "use gnulib module mbsnrtowcs for portability"); +# endif +#endif + + +/* Convert a wide character to a multibyte character. */ +#if @GNULIB_WCRTOMB@ +# if @REPLACE_WCRTOMB@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef wcrtomb +# define wcrtomb rpl_wcrtomb +# endif +_GL_FUNCDECL_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); +_GL_CXXALIAS_RPL (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); +# else +# if !@HAVE_WCRTOMB@ +_GL_FUNCDECL_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); +# endif +_GL_CXXALIAS_SYS (wcrtomb, size_t, (char *s, wchar_t wc, mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (wcrtomb); +#elif defined GNULIB_POSIXCHECK +# undef wcrtomb +# if HAVE_RAW_DECL_WCRTOMB +_GL_WARN_ON_USE (wcrtomb, "wcrtomb is unportable - " + "use gnulib module wcrtomb for portability"); +# endif +#endif + + +/* Convert a wide string to a string. */ +#if @GNULIB_WCSRTOMBS@ +# if @REPLACE_WCSRTOMBS@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef wcsrtombs +# define wcsrtombs rpl_wcsrtombs +# endif +_GL_FUNCDECL_RPL (wcsrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (wcsrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t len, + mbstate_t *ps)); +# else +# if !@HAVE_WCSRTOMBS@ +_GL_FUNCDECL_SYS (wcsrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t len, mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (wcsrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t len, + mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (wcsrtombs); +#elif defined GNULIB_POSIXCHECK +# undef wcsrtombs +# if HAVE_RAW_DECL_WCSRTOMBS +_GL_WARN_ON_USE (wcsrtombs, "wcsrtombs is unportable - " + "use gnulib module wcsrtombs for portability"); +# endif +#endif + + +/* Convert a wide string to a string. */ +#if @GNULIB_WCSNRTOMBS@ +# if @REPLACE_WCSNRTOMBS@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef wcsnrtombs +# define wcsnrtombs rpl_wcsnrtombs +# endif +_GL_FUNCDECL_RPL (wcsnrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t srclen, size_t len, + mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +_GL_CXXALIAS_RPL (wcsnrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t srclen, size_t len, + mbstate_t *ps)); +# else +# if !@HAVE_WCSNRTOMBS@ +_GL_FUNCDECL_SYS (wcsnrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t srclen, size_t len, + mbstate_t *ps) + _GL_ARG_NONNULL ((2))); +# endif +_GL_CXXALIAS_SYS (wcsnrtombs, size_t, + (char *dest, const wchar_t **srcp, size_t srclen, size_t len, + mbstate_t *ps)); +# endif +_GL_CXXALIASWARN (wcsnrtombs); +#elif defined GNULIB_POSIXCHECK +# undef wcsnrtombs +# if HAVE_RAW_DECL_WCSNRTOMBS +_GL_WARN_ON_USE (wcsnrtombs, "wcsnrtombs is unportable - " + "use gnulib module wcsnrtombs for portability"); +# endif +#endif + + +/* Return the number of screen columns needed for WC. */ +#if @GNULIB_WCWIDTH@ +# if @REPLACE_WCWIDTH@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef wcwidth +# define wcwidth rpl_wcwidth +# endif +_GL_FUNCDECL_RPL (wcwidth, int, (wchar_t)); +_GL_CXXALIAS_RPL (wcwidth, int, (wchar_t)); +# else +# if !@HAVE_DECL_WCWIDTH@ +/* wcwidth exists but is not declared. */ +_GL_FUNCDECL_SYS (wcwidth, int, (wchar_t)); +# endif +_GL_CXXALIAS_SYS (wcwidth, int, (wchar_t)); +# endif +_GL_CXXALIASWARN (wcwidth); +#elif defined GNULIB_POSIXCHECK +# undef wcwidth +# if HAVE_RAW_DECL_WCWIDTH +_GL_WARN_ON_USE (wcwidth, "wcwidth is unportable - " + "use gnulib module wcwidth for portability"); +# endif +#endif + + +#endif /* _GL_WCHAR_H */ +#endif /* _GL_WCHAR_H */ +#endif diff --git a/grub-core/gnulib/wcrtomb.c b/grub-core/gnulib/wcrtomb.c new file mode 100644 index 0000000..e7345f6 --- /dev/null +++ b/grub-core/gnulib/wcrtomb.c @@ -0,0 +1,53 @@ +/* Convert wide character to multibyte character. + Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include + +/* Specification. */ +#include + +#include +#include + + +size_t +wcrtomb (char *s, wchar_t wc, mbstate_t *ps) +{ + /* This implementation of wcrtomb on top of wctomb() supports only + stateless encodings. ps must be in the initial state. */ + if (ps != NULL && !mbsinit (ps)) + { + errno = EINVAL; + return (size_t)(-1); + } + + if (s == NULL) + /* We know the NUL wide character corresponds to the NUL character. */ + return 1; + else + { + int ret = wctomb (s, wc); + + if (ret >= 0) + return ret; + else + { + errno = EILSEQ; + return (size_t)(-1); + } + } +} diff --git a/grub-core/gnulib/wctype.in.h b/grub-core/gnulib/wctype.in.h new file mode 100644 index 0000000..12c8975 --- /dev/null +++ b/grub-core/gnulib/wctype.in.h @@ -0,0 +1,392 @@ +/* A substitute for ISO C99 , for platforms that lack it. + + Copyright (C) 2006-2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* Written by Bruno Haible and Paul Eggert. */ + +/* + * ISO C 99 for platforms that lack it. + * + * + * iswctype, towctrans, towlower, towupper, wctrans, wctype, + * wctrans_t, and wctype_t are not yet implemented. + */ + +#ifndef _GL_WCTYPE_H + +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + +#if @HAVE_WINT_T@ +/* Solaris 2.5 has a bug: must be included before . + Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.0.1 has a bug: , and must be + included before . */ +# include +# include +# include +# include +#endif + +/* Include the original if it exists. + BeOS 5 has the functions but no . */ +/* The include_next requires a split double-inclusion guard. */ +#if @HAVE_WCTYPE_H@ +# @INCLUDE_NEXT@ @NEXT_WCTYPE_H@ +#endif + +#ifndef _GL_WCTYPE_H +#define _GL_WCTYPE_H + +/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ + +/* The definition of _GL_WARN_ON_USE is copied here. */ + +/* Define wint_t and WEOF. (Also done in wchar.in.h.) */ +#if !@HAVE_WINT_T@ && !defined wint_t +# define wint_t int +# ifndef WEOF +# define WEOF -1 +# endif +#else +# ifndef WEOF +# define WEOF ((wint_t) -1) +# endif +#endif + + +/* FreeBSD 4.4 to 4.11 has but lacks the functions. + Linux libc5 has and the functions but they are broken. + Assume all 11 functions (all isw* except iswblank) are implemented the + same way, or not at all. */ +#if ! @HAVE_ISWCNTRL@ || @REPLACE_ISWCNTRL@ + +/* IRIX 5.3 has macros but no functions, its isw* macros refer to an + undefined variable _ctmp_ and to macros like _P, and they + refer to system functions like _iswctype that are not in the + standard C library. Rather than try to get ancient buggy + implementations like this to work, just disable them. */ +# undef iswalnum +# undef iswalpha +# undef iswblank +# undef iswcntrl +# undef iswdigit +# undef iswgraph +# undef iswlower +# undef iswprint +# undef iswpunct +# undef iswspace +# undef iswupper +# undef iswxdigit +# undef towlower +# undef towupper + +/* Linux libc5 has and the functions but they are broken. */ +# if @REPLACE_ISWCNTRL@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define iswalnum rpl_iswalnum +# define iswalpha rpl_iswalpha +# define iswblank rpl_iswblank +# define iswcntrl rpl_iswcntrl +# define iswdigit rpl_iswdigit +# define iswgraph rpl_iswgraph +# define iswlower rpl_iswlower +# define iswprint rpl_iswprint +# define iswpunct rpl_iswpunct +# define iswspace rpl_iswspace +# define iswupper rpl_iswupper +# define iswxdigit rpl_iswxdigit +# define towlower rpl_towlower +# define towupper rpl_towupper +# endif +# endif + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswalnum +# else +iswalnum +# endif + (wint_t wc) +{ + return ((wc >= '0' && wc <= '9') + || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')); +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswalpha +# else +iswalpha +# endif + (wint_t wc) +{ + return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswblank +# else +iswblank +# endif + (wint_t wc) +{ + return wc == ' ' || wc == '\t'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswcntrl +# else +iswcntrl +# endif + (wint_t wc) +{ + return (wc & ~0x1f) == 0 || wc == 0x7f; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswdigit +# else +iswdigit +# endif + (wint_t wc) +{ + return wc >= '0' && wc <= '9'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswgraph +# else +iswgraph +# endif + (wint_t wc) +{ + return wc >= '!' && wc <= '~'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswlower +# else +iswlower +# endif + (wint_t wc) +{ + return wc >= 'a' && wc <= 'z'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswprint +# else +iswprint +# endif + (wint_t wc) +{ + return wc >= ' ' && wc <= '~'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswpunct +# else +iswpunct +# endif + (wint_t wc) +{ + return (wc >= '!' && wc <= '~' + && !((wc >= '0' && wc <= '9') + || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'))); +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswspace +# else +iswspace +# endif + (wint_t wc) +{ + return (wc == ' ' || wc == '\t' + || wc == '\n' || wc == '\v' || wc == '\f' || wc == '\r'); +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswupper +# else +iswupper +# endif + (wint_t wc) +{ + return wc >= 'A' && wc <= 'Z'; +} + +static inline int +# if @REPLACE_ISWCNTRL@ +rpl_iswxdigit +# else +iswxdigit +# endif + (wint_t wc) +{ + return ((wc >= '0' && wc <= '9') + || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F')); +} + +static inline wint_t +# if @REPLACE_ISWCNTRL@ +rpl_towlower +# else +towlower +# endif + (wint_t wc) +{ + return (wc >= 'A' && wc <= 'Z' ? wc - 'A' + 'a' : wc); +} + +static inline wint_t +# if @REPLACE_ISWCNTRL@ +rpl_towupper +# else +towupper +# endif + (wint_t wc) +{ + return (wc >= 'a' && wc <= 'z' ? wc - 'a' + 'A' : wc); +} + +#elif ! @HAVE_ISWBLANK@ || @REPLACE_ISWBLANK@ +/* Only the iswblank function is missing. */ + +# if @REPLACE_ISWBLANK@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define iswblank rpl_iswblank +# endif +# endif + +static inline int +# if @REPLACE_ISWBLANK@ +rpl_iswblank +# else +iswblank +# endif + (wint_t wc) +{ + return wc == ' ' || wc == '\t'; +} + +#endif + +#if defined __MINGW32__ + +/* On native Windows, wchar_t is uint16_t, and wint_t is uint32_t. + The functions towlower and towupper are implemented in the MSVCRT library + to take a wchar_t argument and return a wchar_t result. mingw declares + these functions to take a wint_t argument and return a wint_t result. + This means that: + 1. When the user passes an argument outside the range 0x0000..0xFFFF, the + function will look only at the lower 16 bits. This is allowed according + to POSIX. + 2. The return value is returned in the lower 16 bits of the result register. + The upper 16 bits are random: whatever happened to be in that part of the + result register. We need to fix this by adding a zero-extend from + wchar_t to wint_t after the call. */ + +static inline wint_t +rpl_towlower (wint_t wc) +{ + return (wint_t) (wchar_t) towlower (wc); +} +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define towlower rpl_towlower +# endif + +static inline wint_t +rpl_towupper (wint_t wc) +{ + return (wint_t) (wchar_t) towupper (wc); +} +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# define towupper rpl_towupper +# endif + +#endif /* __MINGW32__ */ + +#if @REPLACE_ISWCNTRL@ +_GL_CXXALIAS_RPL (iswalnum, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswalpha, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswblank, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswcntrl, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswdigit, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswgraph, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswlower, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswprint, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswpunct, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswspace, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswupper, int, (wint_t wc)); +_GL_CXXALIAS_RPL (iswxdigit, int, (wint_t wc)); +#else +_GL_CXXALIAS_SYS (iswalnum, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswalpha, int, (wint_t wc)); +# if @REPLACE_ISWBLANK@ +_GL_CXXALIAS_RPL (iswblank, int, (wint_t wc)); +# else +_GL_CXXALIAS_SYS (iswblank, int, (wint_t wc)); +# endif +_GL_CXXALIAS_SYS (iswcntrl, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswdigit, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswgraph, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswlower, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswprint, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswpunct, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswspace, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswupper, int, (wint_t wc)); +_GL_CXXALIAS_SYS (iswxdigit, int, (wint_t wc)); +#endif +_GL_CXXALIASWARN (iswalnum); +_GL_CXXALIASWARN (iswalpha); +_GL_CXXALIASWARN (iswblank); +_GL_CXXALIASWARN (iswcntrl); +_GL_CXXALIASWARN (iswdigit); +_GL_CXXALIASWARN (iswgraph); +_GL_CXXALIASWARN (iswlower); +_GL_CXXALIASWARN (iswprint); +_GL_CXXALIASWARN (iswpunct); +_GL_CXXALIASWARN (iswspace); +_GL_CXXALIASWARN (iswupper); +_GL_CXXALIASWARN (iswxdigit); + +#if @REPLACE_ISWCNTRL@ || defined __MINGW32__ +_GL_CXXALIAS_RPL (towlower, wint_t, (wint_t wc)); +_GL_CXXALIAS_RPL (towupper, wint_t, (wint_t wc)); +#else +_GL_CXXALIAS_SYS (towlower, wint_t, (wint_t wc)); +_GL_CXXALIAS_SYS (towupper, wint_t, (wint_t wc)); +#endif +_GL_CXXALIASWARN (towlower); +_GL_CXXALIASWARN (towupper); + + +#endif /* _GL_WCTYPE_H */ +#endif /* _GL_WCTYPE_H */ diff --git a/grub-core/gnulib/xsize.h b/grub-core/gnulib/xsize.h new file mode 100644 index 0000000..fbd6329 --- /dev/null +++ b/grub-core/gnulib/xsize.h @@ -0,0 +1,108 @@ +/* xsize.h -- Checked size_t computations. + + Copyright (C) 2003, 2008, 2009, 2010 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _XSIZE_H +#define _XSIZE_H + +/* Get size_t. */ +#include + +/* Get SIZE_MAX. */ +#include +#if HAVE_STDINT_H +# include +#endif + +/* The size of memory objects is often computed through expressions of + type size_t. Example: + void* p = malloc (header_size + n * element_size). + These computations can lead to overflow. When this happens, malloc() + returns a piece of memory that is way too small, and the program then + crashes while attempting to fill the memory. + To avoid this, the functions and macros in this file check for overflow. + The convention is that SIZE_MAX represents overflow. + malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc + implementation that uses mmap --, it's recommended to use size_overflow_p() + or size_in_bounds_p() before invoking malloc(). + The example thus becomes: + size_t size = xsum (header_size, xtimes (n, element_size)); + void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); +*/ + +/* Convert an arbitrary value >= 0 to type size_t. */ +#define xcast_size_t(N) \ + ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) + +/* Sum of two sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xsum (size_t size1, size_t size2) +{ + size_t sum = size1 + size2; + return (sum >= size1 ? sum : SIZE_MAX); +} + +/* Sum of three sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xsum3 (size_t size1, size_t size2, size_t size3) +{ + return xsum (xsum (size1, size2), size3); +} + +/* Sum of four sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) +{ + return xsum (xsum (xsum (size1, size2), size3), size4); +} + +/* Maximum of two sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xmax (size_t size1, size_t size2) +{ + /* No explicit check is needed here, because for any n: + max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ + return (size1 >= size2 ? size1 : size2); +} + +/* Multiplication of a count with an element size, with overflow check. + The count must be >= 0 and the element size must be > 0. + This is a macro, not an inline function, so that it works correctly even + when N is of a wider type and N > SIZE_MAX. */ +#define xtimes(N, ELSIZE) \ + ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) + +/* Check for overflow. */ +#define size_overflow_p(SIZE) \ + ((SIZE) == SIZE_MAX) +/* Check against overflow. */ +#define size_in_bounds_p(SIZE) \ + ((SIZE) != SIZE_MAX) + +#endif /* _XSIZE_H */ diff --git a/grub-core/hello/hello.c b/grub-core/hello/hello.c new file mode 100644 index 0000000..2c9e90f --- /dev/null +++ b/grub-core/hello/hello.c @@ -0,0 +1,51 @@ +/* hello.c - test module for dynamic loading */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2007 Free Software Foundation, Inc. + * Copyright (C) 2003 NIIBE Yutaka + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static grub_err_t +grub_cmd_hello (grub_extcmd_context_t ctxt __attribute__ ((unused)), + int argc __attribute__ ((unused)), + char **args __attribute__ ((unused))) +{ + grub_printf ("Hello World\n"); + return 0; +} + +static grub_extcmd_t cmd; + +GRUB_MOD_INIT(hello) +{ + cmd = grub_register_extcmd ("hello", grub_cmd_hello, 0, 0, + N_("Say \"Hello World\"."), 0); +} + +GRUB_MOD_FINI(hello) +{ + grub_unregister_extcmd (cmd); +} diff --git a/grub-core/hook/datehook.c b/grub-core/hook/datehook.c new file mode 100644 index 0000000..f64fac0 --- /dev/null +++ b/grub-core/hook/datehook.c @@ -0,0 +1,110 @@ +/* datehook.c - Module to install datetime hooks. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static char *grub_datetime_names[] = +{ + "YEAR", + "MONTH", + "DAY", + "HOUR", + "MINUTE", + "SECOND", + "WEEKDAY", +}; + +static char * +grub_read_hook_datetime (struct grub_env_var *var, + const char *val __attribute__ ((unused))) +{ + struct grub_datetime datetime; + static char buf[6]; + + buf[0] = 0; + if (! grub_get_datetime (&datetime)) + { + int i; + + for (i = 0; i < 7; i++) + if (! grub_strcmp (var->name, grub_datetime_names[i])) + { + int n; + + switch (i) + { + case 0: + n = datetime.year; + break; + case 1: + n = datetime.month; + break; + case 2: + n = datetime.day; + break; + case 3: + n = datetime.hour; + break; + case 4: + n = datetime.minute; + break; + case 5: + n = datetime.second; + break; + default: + return grub_get_weekday_name (&datetime); + } + + grub_snprintf (buf, sizeof (buf), "%d", n); + break; + } + } + + return buf; +} + +GRUB_MOD_INIT(datehook) +{ + unsigned i; + + for (i = 0; i < ARRAY_SIZE (grub_datetime_names); i++) + { + grub_register_variable_hook (grub_datetime_names[i], + grub_read_hook_datetime, 0); + grub_env_export (grub_datetime_names[i]); + } +} + +GRUB_MOD_FINI(datehook) +{ + unsigned i; + + for (i = 0; i < ARRAY_SIZE (grub_datetime_names); i++) + { + grub_register_variable_hook (grub_datetime_names[i], 0, 0); + grub_env_unset (grub_datetime_names[i]); + } +} diff --git a/grub-core/io/bufio.c b/grub-core/io/bufio.c new file mode 100644 index 0000000..3b456c1 --- /dev/null +++ b/grub-core/io/bufio.c @@ -0,0 +1,209 @@ +/* bufio.c - buffered io access */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#define GRUB_BUFIO_DEF_SIZE 8192 +#define GRUB_BUFIO_MAX_SIZE 1048576 + +struct grub_bufio +{ + grub_file_t file; + grub_size_t block_size; + grub_size_t buffer_len; + char buffer[0]; +}; +typedef struct grub_bufio *grub_bufio_t; + +static struct grub_fs grub_bufio_fs; + +grub_file_t +grub_bufio_open (grub_file_t io, int size) +{ + grub_file_t file; + grub_bufio_t bufio = 0; + + file = (grub_file_t) grub_malloc (sizeof (*file)); + if (! file) + return 0; + + if (size == 0) + size = GRUB_BUFIO_DEF_SIZE; + else if (size > GRUB_BUFIO_MAX_SIZE) + size = GRUB_BUFIO_MAX_SIZE; + + if ((size < 0) || ((unsigned) size > io->size)) + size = ((io->size > GRUB_BUFIO_MAX_SIZE) ? GRUB_BUFIO_MAX_SIZE : + io->size); + + bufio = grub_malloc (sizeof (struct grub_bufio) + size); + if (! bufio) + { + grub_free (file); + return 0; + } + + bufio->file = io; + bufio->block_size = size; + bufio->buffer_len = 0; + + file->device = io->device; + file->offset = 0; + file->size = io->size; + file->data = bufio; + file->read_hook = 0; + file->fs = &grub_bufio_fs; + file->not_easily_seekable = io->not_easily_seekable; + + return file; +} + +grub_file_t +grub_buffile_open (const char *name, int size) +{ + grub_file_t io, file; + + io = grub_file_open (name); + if (! io) + return 0; + + file = grub_bufio_open (io, size); + if (! file) + { + grub_file_close (io); + return 0; + } + + return file; +} + +static grub_ssize_t +grub_bufio_read (grub_file_t file, char *buf, grub_size_t len) +{ + grub_size_t res = len; + grub_bufio_t bufio = file->data; + grub_uint32_t pos; + + if ((file->offset >= bufio->file->offset) && + (file->offset < bufio->file->offset + bufio->buffer_len)) + { + grub_size_t n; + + pos = file->offset - bufio->file->offset; + n = bufio->buffer_len - pos; + if (n > len) + n = len; + + grub_memcpy (buf, &bufio->buffer[pos], n); + len -= n; + if (! len) + return res; + + buf += n; + bufio->file->offset += bufio->buffer_len; + pos = 0; + } + else + { + bufio->file->offset = grub_divmod64 (file->offset, bufio->block_size, + &pos); + bufio->file->offset *= bufio->block_size; + } + + if (pos + len >= bufio->block_size) + { + if (pos) + { + grub_size_t n; + + bufio->file->fs->read (bufio->file, bufio->buffer, + bufio->block_size); + if (grub_errno) + return -1; + + n = bufio->block_size - pos; + grub_memcpy (buf, &bufio->buffer[pos], n); + len -= n; + buf += n; + bufio->file->offset += bufio->block_size; + pos = 0; + } + + while (len >= bufio->block_size) + { + bufio->file->fs->read (bufio->file, buf, bufio->block_size); + if (grub_errno) + return -1; + + len -= bufio->block_size; + buf += bufio->block_size; + bufio->file->offset += bufio->block_size; + } + + if (! len) + { + bufio->buffer_len = 0; + return res; + } + } + + bufio->buffer_len = bufio->file->size - bufio->file->offset; + if (bufio->buffer_len > bufio->block_size) + bufio->buffer_len = bufio->block_size; + + bufio->file->fs->read (bufio->file, bufio->buffer, bufio->buffer_len); + if (grub_errno) + return -1; + + grub_memcpy (buf, &bufio->buffer[pos], len); + + return res; +} + +static grub_err_t +grub_bufio_close (grub_file_t file) +{ + grub_bufio_t bufio = file->data; + + grub_file_close (bufio->file); + grub_free (bufio); + + file->device = 0; + + return grub_errno; +} + +static struct grub_fs grub_bufio_fs = + { + .name = "bufio", + .dir = 0, + .open = 0, + .read = grub_bufio_read, + .close = grub_bufio_close, + .label = 0, + .next = 0 + }; diff --git a/grub-core/io/gzio.c b/grub-core/io/gzio.c new file mode 100644 index 0000000..1397a72 --- /dev/null +++ b/grub-core/io/gzio.c @@ -0,0 +1,1322 @@ +/* gzio.c - decompression support for gzip */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2005,2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* + * Most of this file was originally the source file "inflate.c", written + * by Mark Adler. It has been very heavily modified. In particular, the + * original would run through the whole file at once, and this version can + * be stopped and restarted on any boundary during the decompression process. + * + * The license and header comments that file are included here. + */ + +/* inflate.c -- Not copyrighted 1992 by Mark Adler + version c10p1, 10 January 1993 */ + +/* You can do whatever you like with this source file, though I would + prefer that if you modify it and redistribute it that you include + comments to that effect with your name and the date. Thank you. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* + * Window Size + * + * This must be a power of two, and at least 32K for zip's deflate method + */ + +#define WSIZE 0x8000 + + +#define INBUFSIZ 0x2000 + +/* The state stored in filesystem-specific data. */ +struct grub_gzio +{ + /* The underlying file object. */ + grub_file_t file; + /* If input is in memory following fields are used instead of file. */ + grub_size_t mem_input_size, mem_input_off; + grub_uint8_t *mem_input; + /* The offset at which the data starts in the underlying file. */ + grub_off_t data_offset; + /* The type of current block. */ + int block_type; + /* The length of current block. */ + int block_len; + /* The flag of the last block. */ + int last_block; + /* The flag of codes. */ + int code_state; + /* The length of a copy. */ + unsigned inflate_n; + /* The index of a copy. */ + unsigned inflate_d; + /* The input buffer. */ + grub_uint8_t inbuf[INBUFSIZ]; + int inbuf_d; + /* The bit buffer. */ + unsigned long bb; + /* The bits in the bit buffer. */ + unsigned bk; + /* The sliding window in uncompressed data. */ + grub_uint8_t slide[WSIZE]; + /* Current position in the slide. */ + unsigned wp; + /* The literal/length code table. */ + struct huft *tl; + /* The distance code table. */ + struct huft *td; + /* The lookup bits for the literal/length code table. */ + int bl; + /* The lookup bits for the distance code table. */ + int bd; + /* The original offset value. */ + grub_off_t saved_offset; +}; +typedef struct grub_gzio *grub_gzio_t; + +/* Declare the filesystem structure for grub_gzio_open. */ +static struct grub_fs grub_gzio_fs; + +/* Function prototypes */ +static void initialize_tables (grub_gzio_t); + +/* Eat variable-length header fields. */ +static int +eat_field (grub_file_t file, int len) +{ + char ch = 1; + int not_retval = 1; + + do + { + if (len >= 0) + { + if (! (len--)) + break; + } + else + { + if (! ch) + break; + } + } + while ((not_retval = grub_file_read (file, &ch, 1)) == 1); + + return ! not_retval; +} + + +/* Little-Endian defines for the 2-byte magic numbers for gzip files. */ +#define GZIP_MAGIC grub_le_to_cpu16 (0x8B1F) +#define OLD_GZIP_MAGIC grub_le_to_cpu16 (0x9E1F) + +/* Compression methods (see algorithm.doc) */ +#define STORED 0 +#define COMPRESSED 1 +#define PACKED 2 +#define LZHED 3 +/* methods 4 to 7 reserved */ +#define DEFLATED 8 +#define MAX_METHODS 9 + +/* gzip flag byte */ +#define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ +#define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip file */ +#define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ +#define ORIG_NAME 0x08 /* bit 3 set: original file name present */ +#define COMMENT 0x10 /* bit 4 set: file comment present */ +#define ENCRYPTED 0x20 /* bit 5 set: file is encrypted */ +#define RESERVED 0xC0 /* bit 6,7: reserved */ + +#define UNSUPPORTED_FLAGS (CONTINUATION | ENCRYPTED | RESERVED) + +/* inflate block codes */ +#define INFLATE_STORED 0 +#define INFLATE_FIXED 1 +#define INFLATE_DYNAMIC 2 + +typedef unsigned char uch; +typedef unsigned short ush; +typedef unsigned long ulg; + +static int +test_gzip_header (grub_file_t file) +{ + struct { + grub_uint16_t magic; + grub_uint8_t method; + grub_uint8_t flags; + grub_uint32_t timestamp; + grub_uint8_t extra_flags; + grub_uint8_t os_type; + } hdr; + grub_uint16_t extra_len; + grub_uint32_t orig_len; + grub_gzio_t gzio = file->data; + + if (grub_file_tell (gzio->file) != 0) + grub_file_seek (gzio->file, 0); + + /* + * This checks if the file is gzipped. If a problem occurs here + * (other than a real error with the disk) then we don't think it + * is a compressed file, and simply mark it as such. + */ + if (grub_file_read (gzio->file, &hdr, 10) != 10 + || ((hdr.magic != GZIP_MAGIC) + && (hdr.magic != OLD_GZIP_MAGIC))) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "no gzip magic found"); + return 0; + } + + /* + * This does consistency checking on the header data. If a + * problem occurs from here on, then we have corrupt or otherwise + * bad data, and the error should be reported to the user. + */ + if (hdr.method != DEFLATED + || (hdr.flags & UNSUPPORTED_FLAGS) + || ((hdr.flags & EXTRA_FIELD) + && (grub_file_read (gzio->file, &extra_len, 2) != 2 + || eat_field (gzio->file, + grub_le_to_cpu16 (extra_len)))) + || ((hdr.flags & ORIG_NAME) && eat_field (gzio->file, -1)) + || ((hdr.flags & COMMENT) && eat_field (gzio->file, -1))) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "unsupported gzip format"); + return 0; + } + + gzio->data_offset = grub_file_tell (gzio->file); + + /* FIXME: don't do this on not easily seekable files. */ + { + grub_file_seek (gzio->file, grub_file_size (gzio->file) - 4); + if (grub_file_read (gzio->file, &orig_len, 4) != 4) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "unsupported gzip format"); + return 0; + } + /* FIXME: this does not handle files whose original size is over 4GB. + But how can we know the real original size? */ + file->size = grub_le_to_cpu32 (orig_len); + } + + initialize_tables (gzio); + + return 1; +} + + +/* Huffman code lookup table entry--this entry is four bytes for machines + that have 16-bit pointers (e.g. PC's in the small or medium model). + Valid extra bits are 0..13. e == 15 is EOB (end of block), e == 16 + means that v is a literal, 16 < e < 32 means that v is a pointer to + the next table, which codes e - 16 bits, and lastly e == 99 indicates + an unused code. If a code with e == 99 is looked up, this implies an + error in the data. */ +struct huft +{ + uch e; /* number of extra bits or operation */ + uch b; /* number of bits in this code or subcode */ + union + { + ush n; /* literal, length base, or distance base */ + struct huft *t; /* pointer to next level of table */ + } + v; +}; + + +/* The inflate algorithm uses a sliding 32K byte window on the uncompressed + stream to find repeated byte strings. This is implemented here as a + circular buffer. The index is updated simply by incrementing and then + and'ing with 0x7fff (32K-1). */ +/* It is left to other modules to supply the 32K area. It is assumed + to be usable as if it were declared "uch slide[32768];" or as just + "uch *slide;" and then malloc'ed in the latter case. The definition + must be in unzip.h, included above. */ + + +/* Tables for deflate from PKZIP's appnote.txt. */ +static unsigned bitorder[] = +{ /* Order of the bit length code lengths */ + 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}; +static ush cplens[] = +{ /* Copy lengths for literal codes 257..285 */ + 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, + 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0}; + /* note: see note #13 above about the 258 in this list. */ +static ush cplext[] = +{ /* Extra bits for literal codes 257..285 */ + 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, + 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 99, 99}; /* 99==invalid */ +static ush cpdist[] = +{ /* Copy offsets for distance codes 0..29 */ + 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, + 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, + 8193, 12289, 16385, 24577}; +static ush cpdext[] = +{ /* Extra bits for distance codes */ + 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, + 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, + 12, 12, 13, 13}; + + +/* + Huffman code decoding is performed using a multi-level table lookup. + The fastest way to decode is to simply build a lookup table whose + size is determined by the longest code. However, the time it takes + to build this table can also be a factor if the data being decoded + is not very long. The most common codes are necessarily the + shortest codes, so those codes dominate the decoding time, and hence + the speed. The idea is you can have a shorter table that decodes the + shorter, more probable codes, and then point to subsidiary tables for + the longer codes. The time it costs to decode the longer codes is + then traded against the time it takes to make longer tables. + + This results of this trade are in the variables lbits and dbits + below. lbits is the number of bits the first level table for literal/ + length codes can decode in one step, and dbits is the same thing for + the distance codes. Subsequent tables are also less than or equal to + those sizes. These values may be adjusted either when all of the + codes are shorter than that, in which case the longest code length in + bits is used, or when the shortest code is *longer* than the requested + table size, in which case the length of the shortest code in bits is + used. + + There are two different values for the two tables, since they code a + different number of possibilities each. The literal/length table + codes 286 possible values, or in a flat code, a little over eight + bits. The distance table codes 30 possible values, or a little less + than five bits, flat. The optimum values for speed end up being + about one bit more than those, so lbits is 8+1 and dbits is 5+1. + The optimum values may differ though from machine to machine, and + possibly even between compilers. Your mileage may vary. + */ + + +static int lbits = 9; /* bits in base literal/length lookup table */ +static int dbits = 6; /* bits in base distance lookup table */ + + +/* If BMAX needs to be larger than 16, then h and x[] should be ulg. */ +#define BMAX 16 /* maximum bit length of any code (16 for explode) */ +#define N_MAX 288 /* maximum number of codes in any set */ + + +/* Macros for inflate() bit peeking and grabbing. + The usage is: + + NEEDBITS(j) + x = b & mask_bits[j]; + DUMPBITS(j) + + where NEEDBITS makes sure that b has at least j bits in it, and + DUMPBITS removes the bits from b. The macros use the variable k + for the number of bits in b. Normally, b and k are register + variables for speed, and are initialized at the beginning of a + routine that uses these macros from a global bit buffer and count. + + If we assume that EOB will be the longest code, then we will never + ask for bits with NEEDBITS that are beyond the end of the stream. + So, NEEDBITS should not read any more bytes than are needed to + meet the request. Then no bytes need to be "returned" to the buffer + at the end of the last block. + + However, this assumption is not true for fixed blocks--the EOB code + is 7 bits, but the other literal/length codes can be 8 or 9 bits. + (The EOB code is shorter than other codes because fixed blocks are + generally short. So, while a block always has an EOB, many other + literal/length codes have a significantly lower probability of + showing up at all.) However, by making the first table have a + lookup of seven bits, the EOB code will be found in that first + lookup, and so will not require that too many bits be pulled from + the stream. + */ + +static ush mask_bits[] = +{ + 0x0000, + 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, + 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff +}; + +#define NEEDBITS(n) do {while(k<(n)){b|=((ulg)get_byte(gzio))<>=(n);k-=(n);} while (0) + +static int +get_byte (grub_gzio_t gzio) +{ + if (gzio->mem_input) + { + if (gzio->mem_input_off < gzio->mem_input_size) + return gzio->mem_input[gzio->mem_input_off++]; + return 0; + } + + if (grub_file_tell (gzio->file) == (grub_off_t) gzio->data_offset + || gzio->inbuf_d == INBUFSIZ) + { + gzio->inbuf_d = 0; + grub_file_read (gzio->file, gzio->inbuf, INBUFSIZ); + } + + return gzio->inbuf[gzio->inbuf_d++]; +} + +static void +gzio_seek (grub_gzio_t gzio, grub_off_t off) +{ + if (gzio->mem_input) + { + if (off > gzio->mem_input_size) + grub_error (GRUB_ERR_OUT_OF_RANGE, + "attempt to seek outside of the file"); + else + gzio->mem_input_off = gzio->data_offset; + } + else + grub_file_seek (gzio->file, off); +} + +/* more function prototypes */ +static int huft_build (unsigned *, unsigned, unsigned, ush *, ush *, + struct huft **, int *); +static int huft_free (struct huft *); +static int inflate_codes_in_window (grub_gzio_t); + + +/* Given a list of code lengths and a maximum table size, make a set of + tables to decode that set of codes. Return zero on success, one if + the given code set is incomplete (the tables are still built in this + case), two if the input is invalid (all zero length codes or an + oversubscribed set of lengths), and three if not enough memory. */ + +static int +huft_build (unsigned *b, /* code lengths in bits (all assumed <= BMAX) */ + unsigned n, /* number of codes (assumed <= N_MAX) */ + unsigned s, /* number of simple-valued codes (0..s-1) */ + ush * d, /* list of base values for non-simple codes */ + ush * e, /* list of extra bits for non-simple codes */ + struct huft **t, /* result: starting table */ + int *m) /* maximum lookup bits, returns actual */ +{ + unsigned a; /* counter for codes of length k */ + unsigned c[BMAX + 1]; /* bit length count table */ + unsigned f; /* i repeats in table every f entries */ + int g; /* maximum code length */ + int h; /* table level */ + register unsigned i; /* counter, current code */ + register unsigned j; /* counter */ + register int k; /* number of bits in current code */ + int l; /* bits per table (returned in m) */ + register unsigned *p; /* pointer into c[], b[], or v[] */ + register struct huft *q; /* points to current table */ + struct huft r; /* table entry for structure assignment */ + struct huft *u[BMAX]; /* table stack */ + unsigned v[N_MAX]; /* values in order of bit length */ + register int w; /* bits before this table == (l * h) */ + unsigned x[BMAX + 1]; /* bit offsets, then code stack */ + unsigned *xp; /* pointer into x */ + int y; /* number of dummy codes added */ + unsigned z; /* number of entries in current table */ + + /* Generate counts for each bit length */ + grub_memset ((char *) c, 0, sizeof (c)); + p = b; + i = n; + do + { + c[*p]++; /* assume all entries <= BMAX */ + p++; /* Can't combine with above line (Solaris bug) */ + } + while (--i); + if (c[0] == n) /* null input--all zero length codes */ + { + *t = (struct huft *) NULL; + *m = 0; + return 0; + } + + /* Find minimum and maximum length, bound *m by those */ + l = *m; + for (j = 1; j <= BMAX; j++) + if (c[j]) + break; + k = j; /* minimum code length */ + if ((unsigned) l < j) + l = j; + for (i = BMAX; i; i--) + if (c[i]) + break; + g = i; /* maximum code length */ + if ((unsigned) l > i) + l = i; + *m = l; + + /* Adjust last length count to fill out codes, if needed */ + for (y = 1 << j; j < i; j++, y <<= 1) + if ((y -= c[j]) < 0) + return 2; /* bad input: more codes than bits */ + if ((y -= c[i]) < 0) + return 2; + c[i] += y; + + /* Generate starting offsets into the value table for each length */ + x[1] = j = 0; + p = c + 1; + xp = x + 2; + while (--i) + { /* note that i == g from above */ + *xp++ = (j += *p++); + } + + /* Make a table of values in order of bit lengths */ + p = b; + i = 0; + do + { + if ((j = *p++) != 0) + v[x[j]++] = i; + } + while (++i < n); + + /* Generate the Huffman codes and for each, make the table entries */ + x[0] = i = 0; /* first Huffman code is zero */ + p = v; /* grab values in bit order */ + h = -1; /* no tables yet--level -1 */ + w = -l; /* bits decoded == (l * h) */ + u[0] = (struct huft *) NULL; /* just to keep compilers happy */ + q = (struct huft *) NULL; /* ditto */ + z = 0; /* ditto */ + + /* go through the bit lengths (k already is bits in shortest code) */ + for (; k <= g; k++) + { + a = c[k]; + while (a--) + { + /* here i is the Huffman code of length k bits for value *p */ + /* make tables up to required level */ + while (k > w + l) + { + h++; + w += l; /* previous table always l bits */ + + /* compute minimum size table less than or equal to l bits */ + z = (z = (unsigned) (g - w)) > (unsigned) l ? (unsigned) l : z; /* upper limit on table size */ + if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */ + { /* too few codes for k-w bit table */ + f -= a + 1; /* deduct codes from patterns left */ + xp = c + k; + while (++j < z) /* try smaller tables up to z bits */ + { + if ((f <<= 1) <= *++xp) + break; /* enough codes to use up j bits */ + f -= *xp; /* else deduct codes from patterns */ + } + } + z = 1 << j; /* table entries for j-bit table */ + + /* allocate and link in new table */ + q = (struct huft *) grub_malloc ((z + 1) * sizeof (struct huft)); + if (! q) + { + if (h) + huft_free (u[0]); + return 3; + } + + *t = q + 1; /* link to list for huft_free() */ + *(t = &(q->v.t)) = (struct huft *) NULL; + u[h] = ++q; /* table starts after link */ + + /* connect to last table, if there is one */ + if (h) + { + x[h] = i; /* save pattern for backing up */ + r.b = (uch) l; /* bits to dump before this table */ + r.e = (uch) (16 + j); /* bits in this table */ + r.v.t = q; /* pointer to this table */ + j = i >> (w - l); /* (get around Turbo C bug) */ + u[h - 1][j] = r; /* connect to last table */ + } + } + + /* set up table entry in r */ + r.b = (uch) (k - w); + if (p >= v + n) + r.e = 99; /* out of values--invalid code */ + else if (*p < s) + { + r.e = (uch) (*p < 256 ? 16 : 15); /* 256 is end-of-block code */ + r.v.n = (ush) (*p); /* simple code is just the value */ + p++; /* one compiler does not like *p++ */ + } + else + { + r.e = (uch) e[*p - s]; /* non-simple--look up in lists */ + r.v.n = d[*p++ - s]; + } + + /* fill code-like entries with r */ + f = 1 << (k - w); + for (j = i >> w; j < z; j += f) + q[j] = r; + + /* backwards increment the k-bit code i */ + for (j = 1 << (k - 1); i & j; j >>= 1) + i ^= j; + i ^= j; + + /* backup over finished tables */ + while ((i & ((1 << w) - 1)) != x[h]) + { + h--; /* don't need to update q */ + w -= l; + } + } + } + + /* Return true (1) if we were given an incomplete table */ + return y != 0 && g != 1; +} + + +/* Free the malloc'ed tables built by huft_build(), which makes a linked + list of the tables it made, with the links in a dummy first entry of + each table. */ +static int +huft_free (struct huft *t) +{ + register struct huft *p, *q; + + + /* Go through linked list, freeing from the malloced (t[-1]) address. */ + p = t; + while (p != (struct huft *) NULL) + { + q = (--p)->v.t; + grub_free ((char *) p); + p = q; + } + return 0; +} + + +/* + * inflate (decompress) the codes in a deflated (compressed) block. + * Return an error code or zero if it all goes ok. + */ + +static int +inflate_codes_in_window (grub_gzio_t gzio) +{ + register unsigned e; /* table entry flag/number of extra bits */ + unsigned n, d; /* length and index for copy */ + unsigned w; /* current window position */ + struct huft *t; /* pointer to table entry */ + unsigned ml, md; /* masks for bl and bd bits */ + register ulg b; /* bit buffer */ + register unsigned k; /* number of bits in bit buffer */ + + /* make local copies of globals */ + d = gzio->inflate_d; + n = gzio->inflate_n; + b = gzio->bb; /* initialize bit buffer */ + k = gzio->bk; + w = gzio->wp; /* initialize window position */ + + /* inflate the coded data */ + ml = mask_bits[gzio->bl]; /* precompute masks for speed */ + md = mask_bits[gzio->bd]; + for (;;) /* do until end of block */ + { + if (! gzio->code_state) + { + NEEDBITS ((unsigned) gzio->bl); + if ((e = (t = gzio->tl + ((unsigned) b & ml))->e) > 16) + do + { + if (e == 99) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "an unused code found"); + return 1; + } + DUMPBITS (t->b); + e -= 16; + NEEDBITS (e); + } + while ((e = (t = t->v.t + ((unsigned) b & mask_bits[e]))->e) > 16); + DUMPBITS (t->b); + + if (e == 16) /* then it's a literal */ + { + gzio->slide[w++] = (uch) t->v.n; + if (w == WSIZE) + break; + } + else + /* it's an EOB or a length */ + { + /* exit if end of block */ + if (e == 15) + { + gzio->block_len = 0; + break; + } + + /* get length of block to copy */ + NEEDBITS (e); + n = t->v.n + ((unsigned) b & mask_bits[e]); + DUMPBITS (e); + + /* decode distance of block to copy */ + NEEDBITS ((unsigned) gzio->bd); + if ((e = (t = gzio->td + ((unsigned) b & md))->e) > 16) + do + { + if (e == 99) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "an unused code found"); + return 1; + } + DUMPBITS (t->b); + e -= 16; + NEEDBITS (e); + } + while ((e = (t = t->v.t + ((unsigned) b & mask_bits[e]))->e) + > 16); + DUMPBITS (t->b); + NEEDBITS (e); + d = w - t->v.n - ((unsigned) b & mask_bits[e]); + DUMPBITS (e); + gzio->code_state++; + } + } + + if (gzio->code_state) + { + /* do the copy */ + do + { + n -= (e = (e = WSIZE - ((d &= WSIZE - 1) > w ? d : w)) > n ? n + : e); + + if (w - d >= e) + { + grub_memmove (gzio->slide + w, gzio->slide + d, e); + w += e; + d += e; + } + else + /* purposefully use the overlap for extra copies here!! */ + { + while (e--) + gzio->slide[w++] = gzio->slide[d++]; + } + + if (w == WSIZE) + break; + } + while (n); + + if (! n) + gzio->code_state--; + + /* did we break from the loop too soon? */ + if (w == WSIZE) + break; + } + } + + /* restore the globals from the locals */ + gzio->inflate_d = d; + gzio->inflate_n = n; + gzio->wp = w; /* restore global window pointer */ + gzio->bb = b; /* restore global bit buffer */ + gzio->bk = k; + + return ! gzio->block_len; +} + + +/* get header for an inflated type 0 (stored) block. */ + +static void +init_stored_block (grub_gzio_t gzio) +{ + register ulg b; /* bit buffer */ + register unsigned k; /* number of bits in bit buffer */ + + /* make local copies of globals */ + b = gzio->bb; /* initialize bit buffer */ + k = gzio->bk; + + /* go to byte boundary */ + DUMPBITS (k & 7); + + /* get the length and its complement */ + NEEDBITS (16); + gzio->block_len = ((unsigned) b & 0xffff); + DUMPBITS (16); + NEEDBITS (16); + if (gzio->block_len != (int) ((~b) & 0xffff)) + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "the length of a stored block does not match"); + DUMPBITS (16); + + /* restore global variables */ + gzio->bb = b; + gzio->bk = k; +} + + +/* get header for an inflated type 1 (fixed Huffman codes) block. We should + either replace this with a custom decoder, or at least precompute the + Huffman tables. */ + +static void +init_fixed_block (grub_gzio_t gzio) +{ + int i; /* temporary variable */ + unsigned l[288]; /* length list for huft_build */ + + /* set up literal table */ + for (i = 0; i < 144; i++) + l[i] = 8; + for (; i < 256; i++) + l[i] = 9; + for (; i < 280; i++) + l[i] = 7; + for (; i < 288; i++) /* make a complete, but wrong code set */ + l[i] = 8; + gzio->bl = 7; + if (huft_build (l, 288, 257, cplens, cplext, &gzio->tl, &gzio->bl) != 0) + { + if (grub_errno == GRUB_ERR_NONE) + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "failed in building a Huffman code table"); + return; + } + + /* set up distance table */ + for (i = 0; i < 30; i++) /* make an incomplete code set */ + l[i] = 5; + gzio->bd = 5; + if (huft_build (l, 30, 0, cpdist, cpdext, &gzio->td, &gzio->bd) > 1) + { + if (grub_errno == GRUB_ERR_NONE) + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "failed in building a Huffman code table"); + huft_free (gzio->tl); + gzio->tl = 0; + return; + } + + /* indicate we're now working on a block */ + gzio->code_state = 0; + gzio->block_len++; +} + + +/* get header for an inflated type 2 (dynamic Huffman codes) block. */ + +static void +init_dynamic_block (grub_gzio_t gzio) +{ + int i; /* temporary variables */ + unsigned j; + unsigned l; /* last length */ + unsigned m; /* mask for bit lengths table */ + unsigned n; /* number of lengths to get */ + unsigned nb; /* number of bit length codes */ + unsigned nl; /* number of literal/length codes */ + unsigned nd; /* number of distance codes */ + unsigned ll[286 + 30]; /* literal/length and distance code lengths */ + register ulg b; /* bit buffer */ + register unsigned k; /* number of bits in bit buffer */ + + /* make local bit buffer */ + b = gzio->bb; + k = gzio->bk; + + /* read in table lengths */ + NEEDBITS (5); + nl = 257 + ((unsigned) b & 0x1f); /* number of literal/length codes */ + DUMPBITS (5); + NEEDBITS (5); + nd = 1 + ((unsigned) b & 0x1f); /* number of distance codes */ + DUMPBITS (5); + NEEDBITS (4); + nb = 4 + ((unsigned) b & 0xf); /* number of bit length codes */ + DUMPBITS (4); + if (nl > 286 || nd > 30) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "too much data"); + return; + } + + /* read in bit-length-code lengths */ + for (j = 0; j < nb; j++) + { + NEEDBITS (3); + ll[bitorder[j]] = (unsigned) b & 7; + DUMPBITS (3); + } + for (; j < 19; j++) + ll[bitorder[j]] = 0; + + /* build decoding table for trees--single level, 7 bit lookup */ + gzio->bl = 7; + if (huft_build (ll, 19, 19, NULL, NULL, &gzio->tl, &gzio->bl) != 0) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "failed in building a Huffman code table"); + return; + } + + /* read in literal and distance code lengths */ + n = nl + nd; + m = mask_bits[gzio->bl]; + i = l = 0; + while ((unsigned) i < n) + { + NEEDBITS ((unsigned) gzio->bl); + j = (gzio->td = gzio->tl + ((unsigned) b & m))->b; + DUMPBITS (j); + j = gzio->td->v.n; + if (j < 16) /* length of code in bits (0..15) */ + ll[i++] = l = j; /* save last length in l */ + else if (j == 16) /* repeat last length 3 to 6 times */ + { + NEEDBITS (2); + j = 3 + ((unsigned) b & 3); + DUMPBITS (2); + if ((unsigned) i + j > n) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "too many codes found"); + return; + } + while (j--) + ll[i++] = l; + } + else if (j == 17) /* 3 to 10 zero length codes */ + { + NEEDBITS (3); + j = 3 + ((unsigned) b & 7); + DUMPBITS (3); + if ((unsigned) i + j > n) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "too many codes found"); + return; + } + while (j--) + ll[i++] = 0; + l = 0; + } + else + /* j == 18: 11 to 138 zero length codes */ + { + NEEDBITS (7); + j = 11 + ((unsigned) b & 0x7f); + DUMPBITS (7); + if ((unsigned) i + j > n) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "too many codes found"); + return; + } + while (j--) + ll[i++] = 0; + l = 0; + } + } + + /* free decoding table for trees */ + huft_free (gzio->tl); + gzio->td = 0; + gzio->tl = 0; + + /* restore the global bit buffer */ + gzio->bb = b; + gzio->bk = k; + + /* build the decoding tables for literal/length and distance codes */ + gzio->bl = lbits; + if (huft_build (ll, nl, 257, cplens, cplext, &gzio->tl, &gzio->bl) != 0) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "failed in building a Huffman code table"); + return; + } + gzio->bd = dbits; + if (huft_build (ll + nl, nd, 0, cpdist, cpdext, &gzio->td, &gzio->bd) != 0) + { + huft_free (gzio->tl); + gzio->tl = 0; + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "failed in building a Huffman code table"); + return; + } + + /* indicate we're now working on a block */ + gzio->code_state = 0; + gzio->block_len++; +} + + +static void +get_new_block (grub_gzio_t gzio) +{ + register ulg b; /* bit buffer */ + register unsigned k; /* number of bits in bit buffer */ + + /* make local bit buffer */ + b = gzio->bb; + k = gzio->bk; + + /* read in last block bit */ + NEEDBITS (1); + gzio->last_block = (int) b & 1; + DUMPBITS (1); + + /* read in block type */ + NEEDBITS (2); + gzio->block_type = (unsigned) b & 3; + DUMPBITS (2); + + /* restore the global bit buffer */ + gzio->bb = b; + gzio->bk = k; + + switch (gzio->block_type) + { + case INFLATE_STORED: + init_stored_block (gzio); + break; + case INFLATE_FIXED: + init_fixed_block (gzio); + break; + case INFLATE_DYNAMIC: + init_dynamic_block (gzio); + break; + default: + break; + } +} + + +static void +inflate_window (grub_gzio_t gzio) +{ + /* initialize window */ + gzio->wp = 0; + + /* + * Main decompression loop. + */ + + while (gzio->wp < WSIZE && grub_errno == GRUB_ERR_NONE) + { + if (! gzio->block_len) + { + if (gzio->last_block) + break; + + get_new_block (gzio); + } + + if (gzio->block_type > INFLATE_DYNAMIC) + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "unknown block type %d", gzio->block_type); + + if (grub_errno != GRUB_ERR_NONE) + return; + + /* + * Expand stored block here. + */ + if (gzio->block_type == INFLATE_STORED) + { + int w = gzio->wp; + + /* + * This is basically a glorified pass-through + */ + + while (gzio->block_len && w < WSIZE && grub_errno == GRUB_ERR_NONE) + { + gzio->slide[w++] = get_byte (gzio); + gzio->block_len--; + } + + gzio->wp = w; + + continue; + } + + /* + * Expand other kind of block. + */ + + if (inflate_codes_in_window (gzio)) + { + huft_free (gzio->tl); + huft_free (gzio->td); + gzio->tl = 0; + gzio->td = 0; + } + } + + gzio->saved_offset += WSIZE; + + /* XXX do CRC calculation here! */ +} + + +static void +initialize_tables (grub_gzio_t gzio) +{ + gzio->saved_offset = 0; + gzio_seek (gzio, gzio->data_offset); + + /* Initialize the bit buffer. */ + gzio->bk = 0; + gzio->bb = 0; + + /* Reset partial decompression code. */ + gzio->last_block = 0; + gzio->block_len = 0; + + /* Reset memory allocation stuff. */ + huft_free (gzio->tl); + huft_free (gzio->td); +} + + +/* Open a new decompressing object on the top of IO. If TRANSPARENT is true, + even if IO does not contain data compressed by gzip, return a valid file + object. Note that this function won't close IO, even if an error occurs. */ +static grub_file_t +grub_gzio_open (grub_file_t io) +{ + grub_file_t file; + grub_gzio_t gzio = 0; + + file = (grub_file_t) grub_malloc (sizeof (*file)); + if (! file) + return 0; + + gzio = grub_zalloc (sizeof (*gzio)); + if (! gzio) + { + grub_free (file); + return 0; + } + + gzio->file = io; + + file->device = io->device; + file->offset = 0; + file->data = gzio; + file->read_hook = 0; + file->fs = &grub_gzio_fs; + file->not_easily_seekable = 1; + + if (! test_gzip_header (file)) + { + grub_free (gzio); + grub_free (file); + grub_file_seek (io, 0); + + if (grub_errno == GRUB_ERR_BAD_FILE_TYPE) + { + grub_errno = GRUB_ERR_NONE; + return io; + } + } + + return file; +} + +static int +test_zlib_header (grub_gzio_t gzio) +{ + grub_uint8_t cmf, flg; + + cmf = get_byte (gzio); + flg = get_byte (gzio); + + /* Check that compression method is DEFLATE. */ + if ((cmf & 0xf) != DEFLATED) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "unsupported gzip format"); + return 0; + } + + if ((cmf * 256 + flg) % 31) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "unsupported gzip format"); + return 0; + } + + /* Dictionary isn't supported. */ + if (flg & 0x20) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "unsupported gzip format"); + return 0; + } + + gzio->data_offset = 2; + initialize_tables (gzio); + + return 1; +} + +static grub_ssize_t +grub_gzio_read_real (grub_gzio_t gzio, grub_off_t offset, + char *buf, grub_size_t len) +{ + grub_ssize_t ret = 0; + + /* Do we reset decompression to the beginning of the file? */ + if (gzio->saved_offset > offset + WSIZE) + initialize_tables (gzio); + + /* + * This loop operates upon uncompressed data only. The only + * special thing it does is to make sure the decompression + * window is within the range of data it needs. + */ + + while (len > 0 && grub_errno == GRUB_ERR_NONE) + { + register grub_size_t size; + register char *srcaddr; + + while (offset >= gzio->saved_offset) + inflate_window (gzio); + + srcaddr = (char *) ((offset & (WSIZE - 1)) + gzio->slide); + size = gzio->saved_offset - offset; + if (size > len) + size = len; + + grub_memmove (buf, srcaddr, size); + + buf += size; + len -= size; + ret += size; + offset += size; + } + + if (grub_errno != GRUB_ERR_NONE) + ret = -1; + + return ret; +} + +static grub_ssize_t +grub_gzio_read (grub_file_t file, char *buf, grub_size_t len) +{ + return grub_gzio_read_real (file->data, file->offset, buf, len); +} + +/* Release everything, including the underlying file object. */ +static grub_err_t +grub_gzio_close (grub_file_t file) +{ + grub_gzio_t gzio = file->data; + + grub_file_close (gzio->file); + huft_free (gzio->tl); + huft_free (gzio->td); + grub_free (gzio); + + /* No need to close the same device twice. */ + file->device = 0; + + return grub_errno; +} + +grub_ssize_t +grub_zlib_decompress (char *inbuf, grub_size_t insize, grub_off_t off, + char *outbuf, grub_size_t outsize) +{ + grub_gzio_t gzio = 0; + grub_ssize_t ret; + + gzio = grub_zalloc (sizeof (*gzio)); + if (! gzio) + return -1; + gzio->mem_input = (grub_uint8_t *) inbuf; + gzio->mem_input_size = insize; + gzio->mem_input_off = 0; + + if (!test_zlib_header (gzio)) + { + grub_free (gzio); + return -1; + } + + ret = grub_gzio_read_real (gzio, off, outbuf, outsize); + grub_free (gzio); + + /* FIXME: Check Adler. */ + return ret; +} + + + +static struct grub_fs grub_gzio_fs = + { + .name = "gzio", + .dir = 0, + .open = 0, + .read = grub_gzio_read, + .close = grub_gzio_close, + .label = 0, + .next = 0 + }; + +GRUB_MOD_INIT(gzio) +{ + grub_file_filter_register (GRUB_FILE_FILTER_GZIO, grub_gzio_open); +} + +GRUB_MOD_FINI(gzio) +{ + grub_file_filter_unregister (GRUB_FILE_FILTER_GZIO); +} diff --git a/grub-core/io/xzio.c b/grub-core/io/xzio.c new file mode 100644 index 0000000..1f42cd2 --- /dev/null +++ b/grub-core/io/xzio.c @@ -0,0 +1,356 @@ +/* xzio.c - decompression support for xz */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +#include "xz.h" +#include "xz_stream.h" + +#define XZBUFSIZ 0x2000 +#define VLI_MAX_DIGITS 9 +#define XZ_STREAM_FOOTER_SIZE 12 + +struct grub_xzio +{ + grub_file_t file; + struct xz_buf buf; + struct xz_dec *dec; + grub_uint8_t inbuf[XZBUFSIZ]; + grub_uint8_t outbuf[XZBUFSIZ]; + grub_off_t saved_offset; +}; + +typedef struct grub_xzio *grub_xzio_t; +static struct grub_fs grub_xzio_fs; + +static grub_size_t +decode_vli (const grub_uint8_t buf[], grub_size_t size_max, + grub_uint64_t * num) +{ + if (size_max == 0) + return 0; + + if (size_max > VLI_MAX_DIGITS) + size_max = VLI_MAX_DIGITS; + + *num = buf[0] & 0x7F; + grub_size_t i = 0; + + while (buf[i++] & 0x80) + { + if (i >= size_max || buf[i] == 0x00) + return 0; + + *num |= (uint64_t) (buf[i] & 0x7F) << (i * 7); + } + + return i; +} + +static grub_ssize_t +read_vli (grub_file_t file, grub_uint64_t * num) +{ + grub_uint8_t buf[VLI_MAX_DIGITS]; + grub_ssize_t read; + grub_size_t dec; + + read = grub_file_read (file, buf, VLI_MAX_DIGITS); + if (read < 0) + return -1; + + dec = decode_vli (buf, read, num); + grub_file_seek (file, file->offset - (read - dec)); + return dec; +} + +/* Function xz_dec_run() should consume header and ask for more (XZ_OK) + * else file is corrupted (or options not supported) or not xz. */ +static int +test_header (grub_file_t file) +{ + grub_xzio_t xzio = file->data; + xzio->buf.in_size = grub_file_read (xzio->file, xzio->inbuf, + STREAM_HEADER_SIZE); + + if (xzio->buf.in_size != STREAM_HEADER_SIZE) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "no xz magic found"); + return 0; + } + + enum xz_ret ret = xz_dec_run (xzio->dec, &xzio->buf); + + if (ret == XZ_FORMAT_ERROR) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "no xz magic found"); + return 0; + } + + if (ret != XZ_OK) + { + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "not supported xz options"); + return 0; + } + + return 1; +} + +/* Try to find out size of uncompressed data, + * also do some footer sanity checks. */ +static int +test_footer (grub_file_t file) +{ + grub_xzio_t xzio = file->data; + grub_uint8_t footer[FOOTER_MAGIC_SIZE]; + grub_uint32_t backsize; + grub_uint8_t imarker; + grub_uint64_t uncompressed_size_total = 0; + grub_uint64_t uncompressed_size; + grub_uint64_t records; + + grub_file_seek (xzio->file, xzio->file->size - FOOTER_MAGIC_SIZE); + if (grub_file_read (xzio->file, footer, FOOTER_MAGIC_SIZE) != + FOOTER_MAGIC_SIZE + || grub_memcmp (footer, FOOTER_MAGIC, FOOTER_MAGIC_SIZE) != 0) + goto ERROR; + + grub_file_seek (xzio->file, xzio->file->size - 8); + if (grub_file_read (xzio->file, &backsize, sizeof (backsize)) + != sizeof (backsize)) + goto ERROR; + + /* Calculate real backward size. */ + backsize = (grub_le_to_cpu32 (backsize) + 1) * 4; + + /* Set file to the beginning of stream index. */ + grub_file_seek (xzio->file, + xzio->file->size - XZ_STREAM_FOOTER_SIZE - backsize); + + /* Test index marker. */ + if (grub_file_read (xzio->file, &imarker, sizeof (imarker)) != + sizeof (imarker) && imarker != 0x00) + goto ERROR; + + if (read_vli (xzio->file, &records) <= 0) + goto ERROR; + + for (; records != 0; records--) + { + if (read_vli (xzio->file, &uncompressed_size) <= 0) /* Ignore unpadded. */ + goto ERROR; + if (read_vli (xzio->file, &uncompressed_size) <= 0) /* Uncompressed. */ + goto ERROR; + + uncompressed_size_total += uncompressed_size; + } + + file->size = uncompressed_size_total; + grub_file_seek (xzio->file, STREAM_HEADER_SIZE); + return 1; + +ERROR: + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, "bad footer magic"); + return 0; +} + +static grub_file_t +grub_xzio_open (grub_file_t io) +{ + grub_file_t file; + grub_xzio_t xzio; + + file = (grub_file_t) grub_zalloc (sizeof (*file)); + if (!file) + return 0; + + xzio = grub_zalloc (sizeof (*xzio)); + if (!xzio) + { + grub_free (file); + return 0; + } + + xzio->file = io; + xzio->saved_offset = 0; + + file->device = io->device; + file->offset = 0; + file->data = xzio; + file->read_hook = 0; + file->fs = &grub_xzio_fs; + file->size = GRUB_FILE_SIZE_UNKNOWN; + file->not_easily_seekable = 1; + + if (grub_file_tell (xzio->file) != 0) + grub_file_seek (xzio->file, 0); + + /* Allocated 64KiB for dictionary. + * Decoder will relocate if bigger is needed. */ + xzio->dec = xz_dec_init (1 << 16); + if (!xzio->dec) + { + grub_free (file); + grub_free (xzio); + return 0; + } + + xzio->buf.in = xzio->inbuf; + xzio->buf.in_pos = 0; + xzio->buf.in_size = 0; + xzio->buf.out = xzio->outbuf; + xzio->buf.out_pos = 0; + xzio->buf.out_size = XZBUFSIZ; + + /* FIXME: don't test footer on not easily seekable files. */ + if (!test_header (file) || !test_footer (file)) + { + grub_errno = GRUB_ERR_NONE; + grub_file_seek (io, 0); + xz_dec_end (xzio->dec); + grub_free (xzio); + grub_free (file); + + return io; + } + + return file; +} + +static grub_ssize_t +grub_xzio_read (grub_file_t file, char *buf, grub_size_t len) +{ + grub_ssize_t ret = 0; + grub_ssize_t readret; + enum xz_ret xzret; + grub_xzio_t xzio = file->data; + grub_off_t current_offset; + + /* If seek backward need to reset decoder and start from beginning of file. + TODO Possible improvement by jumping blocks. */ + if (file->offset < xzio->saved_offset) + { + xz_dec_reset (xzio->dec); + xzio->saved_offset = 0; + xzio->buf.out_pos = 0; + xzio->buf.in_pos = 0; + xzio->buf.in_size = 0; + grub_file_seek (xzio->file, 0); + } + + current_offset = xzio->saved_offset; + + while (len > 0) + { + xzio->buf.out_size = grub_min (file->offset + ret + len - current_offset, + XZBUFSIZ); + + /* Feed input. */ + if (xzio->buf.in_pos == xzio->buf.in_size) + { + readret = grub_file_read (xzio->file, xzio->inbuf, XZBUFSIZ); + if (readret < 0) + return -1; + xzio->buf.in_size = readret; + xzio->buf.in_pos = 0; + } + + xzret = xz_dec_run (xzio->dec, &xzio->buf); + switch (xzret) + { + case XZ_MEMLIMIT_ERROR: + case XZ_FORMAT_ERROR: + case XZ_OPTIONS_ERROR: + case XZ_DATA_ERROR: + case XZ_BUF_ERROR: + grub_error (GRUB_ERR_BAD_COMPRESSED_DATA, + "file corrupted or unsupported block options"); + return -1; + default: + break; + } + + { + grub_off_t new_offset = current_offset + xzio->buf.out_pos; + + if (file->offset <= new_offset) + /* Store first chunk of data in buffer. */ + { + grub_size_t delta = new_offset - (file->offset + ret); + grub_memmove (buf, xzio->buf.out + (xzio->buf.out_pos - delta), + delta); + len -= delta; + buf += delta; + ret += delta; + } + current_offset = new_offset; + } + xzio->buf.out_pos = 0; + + if (xzret == XZ_STREAM_END) /* Stream end, EOF. */ + break; + } + + if (ret >= 0) + xzio->saved_offset = file->offset + ret; + + return ret; +} + +/* Release everything, including the underlying file object. */ +static grub_err_t +grub_xzio_close (grub_file_t file) +{ + grub_xzio_t xzio = file->data; + + xz_dec_end (xzio->dec); + + grub_file_close (xzio->file); + grub_free (xzio); + + /* Device must not be closed twice. */ + file->device = 0; + return grub_errno; +} + +static struct grub_fs grub_xzio_fs = { + .name = "xzio", + .dir = 0, + .open = 0, + .read = grub_xzio_read, + .close = grub_xzio_close, + .label = 0, + .next = 0 +}; + +GRUB_MOD_INIT (xzio) +{ + grub_file_filter_register (GRUB_FILE_FILTER_XZIO, grub_xzio_open); +} + +GRUB_MOD_FINI (xzio) +{ + grub_file_filter_unregister (GRUB_FILE_FILTER_XZIO); +} diff --git a/grub-core/kern/command.c b/grub-core/kern/command.c new file mode 100644 index 0000000..7f353b6 --- /dev/null +++ b/grub-core/kern/command.c @@ -0,0 +1,58 @@ +/* command.c - support basic command */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +grub_command_t grub_command_list; + +grub_command_t +grub_register_command_prio (const char *name, + grub_command_func_t func, + const char *summary, + const char *description, + int prio) +{ + grub_command_t cmd; + + cmd = (grub_command_t) grub_zalloc (sizeof (*cmd)); + if (! cmd) + return 0; + + cmd->name = name; + cmd->func = func; + cmd->summary = (summary) ? summary : ""; + cmd->description = description; + + cmd->flags = 0; + cmd->prio = prio; + + grub_prio_list_insert (GRUB_AS_PRIO_LIST_P (&grub_command_list), + GRUB_AS_PRIO_LIST (cmd)); + + return cmd; +} + +void +grub_unregister_command (grub_command_t cmd) +{ + grub_prio_list_remove (GRUB_AS_PRIO_LIST_P (&grub_command_list), + GRUB_AS_PRIO_LIST (cmd)); + grub_free (cmd); +} diff --git a/grub-core/kern/corecmd.c b/grub-core/kern/corecmd.c new file mode 100644 index 0000000..687692f --- /dev/null +++ b/grub-core/kern/corecmd.c @@ -0,0 +1,194 @@ +/* corecmd.c - critical commands which are registered in kernel */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* set ENVVAR=VALUE */ +static grub_err_t +grub_core_cmd_set (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + char *var; + char *val; + + auto int print_env (struct grub_env_var *env); + + int print_env (struct grub_env_var *env) + { + grub_printf ("%s=%s\n", env->name, env->value); + return 0; + } + + if (argc < 1) + { + grub_env_iterate (print_env); + return 0; + } + + var = argv[0]; + val = grub_strchr (var, '='); + if (! val) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "not an assignment"); + + val[0] = 0; + grub_env_set (var, val + 1); + val[0] = '='; + + return 0; +} + +static grub_err_t +grub_core_cmd_unset (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + if (argc < 1) + return grub_error (GRUB_ERR_BAD_ARGUMENT, + "no environment variable specified"); + + grub_env_unset (argv[0]); + return 0; +} + +/* insmod MODULE */ +static grub_err_t +grub_core_cmd_insmod (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + char *p; + grub_dl_t mod; + + if (argc == 0) + return grub_error (GRUB_ERR_BAD_ARGUMENT, "no module specified"); + + p = grub_strchr (argv[0], '/'); + if (! p) + mod = grub_dl_load (argv[0]); + else + mod = grub_dl_load_file (argv[0]); + + if (mod) + grub_dl_ref (mod); + + return 0; +} + +static int +grub_mini_print_devices (const char *name) +{ + grub_printf ("(%s) ", name); + + return 0; +} + +static int +grub_mini_print_files (const char *filename, + const struct grub_dirhook_info *info) +{ + grub_printf ("%s%s ", filename, info->dir ? "/" : ""); + + return 0; +} + +/* ls [ARG] */ +static grub_err_t +grub_core_cmd_ls (struct grub_command *cmd __attribute__ ((unused)), + int argc, char *argv[]) +{ + if (argc < 1) + { + grub_device_iterate (grub_mini_print_devices); + grub_xputs ("\n"); + grub_refresh (); + } + else + { + char *device_name; + grub_device_t dev; + grub_fs_t fs; + char *path; + + device_name = grub_file_get_device_name (argv[0]); + dev = grub_device_open (device_name); + if (! dev) + goto fail; + + fs = grub_fs_probe (dev); + path = grub_strchr (argv[0], ')'); + if (! path) + path = argv[0]; + else + path++; + + if (! path && ! device_name) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "invalid argument"); + goto fail; + } + + if (! path) + { + if (grub_errno == GRUB_ERR_UNKNOWN_FS) + grub_errno = GRUB_ERR_NONE; + + grub_printf ("(%s): Filesystem is %s.\n", + device_name, fs ? fs->name : "unknown"); + } + else if (fs) + { + (fs->dir) (dev, path, grub_mini_print_files); + grub_xputs ("\n"); + grub_refresh (); + } + + fail: + if (dev) + grub_device_close (dev); + + grub_free (device_name); + } + + return grub_errno; +} + +void +grub_register_core_commands (void) +{ + grub_command_t cmd; + cmd = grub_register_command ("set", grub_core_cmd_set, + N_("[ENVVAR=VALUE]"), + N_("Set an environment variable.")); + if (cmd) + cmd->flags |= GRUB_COMMAND_FLAG_EXTRACTOR; + grub_register_command ("unset", grub_core_cmd_unset, + N_("ENVVAR"), + N_("Remove an environment variable.")); + grub_register_command ("ls", grub_core_cmd_ls, + N_("[ARG]"), N_("List devices or files.")); + grub_register_command ("insmod", grub_core_cmd_insmod, + N_("MODULE"), N_("Insert a module.")); +} diff --git a/grub-core/kern/device.c b/grub-core/kern/device.c new file mode 100644 index 0000000..3db14f5 --- /dev/null +++ b/grub-core/kern/device.c @@ -0,0 +1,169 @@ +/* device.c - device manager */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +grub_device_t +grub_device_open (const char *name) +{ + grub_disk_t disk = 0; + grub_device_t dev = 0; + + if (! name) + { + name = grub_env_get ("root"); + if (*name == '\0') + { + grub_error (GRUB_ERR_BAD_DEVICE, "no device is set"); + goto fail; + } + } + + dev = grub_malloc (sizeof (*dev)); + if (! dev) + goto fail; + + /* Try to open a disk. */ + disk = grub_disk_open (name); + if (! disk) + goto fail; + + dev->disk = disk; + dev->net = 0; /* FIXME */ + + return dev; + + fail: + if (disk) + grub_disk_close (disk); + + grub_free (dev); + + return 0; +} + +grub_err_t +grub_device_close (grub_device_t device) +{ + if (device->disk) + grub_disk_close (device->disk); + + grub_free (device); + + return grub_errno; +} + +int +grub_device_iterate (int (*hook) (const char *name)) +{ + auto int iterate_disk (const char *disk_name); + auto int iterate_partition (grub_disk_t disk, + const grub_partition_t partition); + + struct part_ent + { + struct part_ent *next; + char *name; + } *ents; + + int iterate_disk (const char *disk_name) + { + grub_device_t dev; + + if (hook (disk_name)) + return 1; + + dev = grub_device_open (disk_name); + if (! dev) + { + grub_errno = GRUB_ERR_NONE; + return 0; + } + + if (dev->disk) + { + struct part_ent *p; + int ret = 0; + + ents = NULL; + (void) grub_partition_iterate (dev->disk, iterate_partition); + grub_device_close (dev); + + grub_errno = GRUB_ERR_NONE; + + p = ents; + while (p != NULL) + { + struct part_ent *next = p->next; + + if (!ret) + ret = hook (p->name); + grub_free (p->name); + grub_free (p); + p = next; + } + + return ret; + } + + grub_device_close (dev); + return 0; + } + + int iterate_partition (grub_disk_t disk, const grub_partition_t partition) + { + struct part_ent *p; + char *part_name; + + p = grub_malloc (sizeof (*p)); + if (!p) + { + return 1; + } + + part_name = grub_partition_get_name (partition); + if (!part_name) + { + grub_free (p); + return 1; + } + p->name = grub_xasprintf ("%s,%s", disk->name, part_name); + grub_free (part_name); + if (!p->name) + { + grub_free (p); + return 1; + } + + p->next = ents; + ents = p; + + return 0; + } + + /* Only disk devices are supported at the moment. */ + return grub_disk_dev_iterate (iterate_disk); +} diff --git a/grub-core/kern/disk.c b/grub-core/kern/disk.c new file mode 100644 index 0000000..807ee42 --- /dev/null +++ b/grub-core/kern/disk.c @@ -0,0 +1,604 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#define GRUB_CACHE_TIMEOUT 2 + +/* The last time the disk was used. */ +static grub_uint64_t grub_last_time = 0; + + +/* Disk cache. */ +struct grub_disk_cache +{ + enum grub_disk_dev_id dev_id; + unsigned long disk_id; + grub_disk_addr_t sector; + char *data; + int lock; +}; + +static struct grub_disk_cache grub_disk_cache_table[GRUB_DISK_CACHE_NUM]; + +void (*grub_disk_firmware_fini) (void); +int grub_disk_firmware_is_tainted; + +grub_err_t (* grub_disk_ata_pass_through) (grub_disk_t, + struct grub_disk_ata_pass_through_parms *); + + +#if 0 +static unsigned long grub_disk_cache_hits; +static unsigned long grub_disk_cache_misses; + +void +grub_disk_cache_get_performance (unsigned long *hits, unsigned long *misses) +{ + *hits = grub_disk_cache_hits; + *misses = grub_disk_cache_misses; +} +#endif + +static unsigned +grub_disk_cache_get_index (unsigned long dev_id, unsigned long disk_id, + grub_disk_addr_t sector) +{ + return ((dev_id * 524287UL + disk_id * 2606459UL + + ((unsigned) (sector >> GRUB_DISK_CACHE_BITS))) + % GRUB_DISK_CACHE_NUM); +} + +static void +grub_disk_cache_invalidate (unsigned long dev_id, unsigned long disk_id, + grub_disk_addr_t sector) +{ + unsigned index; + struct grub_disk_cache *cache; + + sector &= ~(GRUB_DISK_CACHE_SIZE - 1); + index = grub_disk_cache_get_index (dev_id, disk_id, sector); + cache = grub_disk_cache_table + index; + + if (cache->dev_id == dev_id && cache->disk_id == disk_id + && cache->sector == sector && cache->data) + { + cache->lock = 1; + grub_free (cache->data); + cache->data = 0; + cache->lock = 0; + } +} + +void +grub_disk_cache_invalidate_all (void) +{ + unsigned i; + + for (i = 0; i < GRUB_DISK_CACHE_NUM; i++) + { + struct grub_disk_cache *cache = grub_disk_cache_table + i; + + if (cache->data && ! cache->lock) + { + grub_free (cache->data); + cache->data = 0; + } + } +} + +static char * +grub_disk_cache_fetch (unsigned long dev_id, unsigned long disk_id, + grub_disk_addr_t sector) +{ + struct grub_disk_cache *cache; + unsigned index; + + index = grub_disk_cache_get_index (dev_id, disk_id, sector); + cache = grub_disk_cache_table + index; + + if (cache->dev_id == dev_id && cache->disk_id == disk_id + && cache->sector == sector) + { + cache->lock = 1; +#if 0 + grub_disk_cache_hits++; +#endif + return cache->data; + } + +#if 0 + grub_disk_cache_misses++; +#endif + + return 0; +} + +static void +grub_disk_cache_unlock (unsigned long dev_id, unsigned long disk_id, + grub_disk_addr_t sector) +{ + struct grub_disk_cache *cache; + unsigned index; + + index = grub_disk_cache_get_index (dev_id, disk_id, sector); + cache = grub_disk_cache_table + index; + + if (cache->dev_id == dev_id && cache->disk_id == disk_id + && cache->sector == sector) + cache->lock = 0; +} + +static grub_err_t +grub_disk_cache_store (unsigned long dev_id, unsigned long disk_id, + grub_disk_addr_t sector, const char *data) +{ + unsigned index; + struct grub_disk_cache *cache; + + index = grub_disk_cache_get_index (dev_id, disk_id, sector); + cache = grub_disk_cache_table + index; + + cache->lock = 1; + grub_free (cache->data); + cache->data = 0; + cache->lock = 0; + + cache->data = grub_malloc (GRUB_DISK_SECTOR_SIZE << GRUB_DISK_CACHE_BITS); + if (! cache->data) + return grub_errno; + + grub_memcpy (cache->data, data, + GRUB_DISK_SECTOR_SIZE << GRUB_DISK_CACHE_BITS); + cache->dev_id = dev_id; + cache->disk_id = disk_id; + cache->sector = sector; + + return GRUB_ERR_NONE; +} + + + +static grub_disk_dev_t grub_disk_dev_list; + +void +grub_disk_dev_register (grub_disk_dev_t dev) +{ + dev->next = grub_disk_dev_list; + grub_disk_dev_list = dev; +} + +void +grub_disk_dev_unregister (grub_disk_dev_t dev) +{ + grub_disk_dev_t *p, q; + + for (p = &grub_disk_dev_list, q = *p; q; p = &(q->next), q = q->next) + if (q == dev) + { + *p = q->next; + break; + } +} + +int +grub_disk_dev_iterate (int (*hook) (const char *name)) +{ + grub_disk_dev_t p; + + for (p = grub_disk_dev_list; p; p = p->next) + if (p->iterate && (p->iterate) (hook)) + return 1; + + return 0; +} + +/* Return the location of the first ',', if any, which is not + escaped by a '\'. */ +static const char * +find_part_sep (const char *name) +{ + const char *p = name; + char c; + + while ((c = *p++) != '\0') + { + if (c == '\\' && *p == ',') + p++; + else if (c == ',') + return p - 1; + } + return NULL; +} + +grub_disk_t +grub_disk_open (const char *name) +{ + const char *p; + grub_disk_t disk; + grub_disk_dev_t dev; + char *raw = (char *) name; + grub_uint64_t current_time; + + grub_dprintf ("disk", "Opening `%s'...\n", name); + + disk = (grub_disk_t) grub_zalloc (sizeof (*disk)); + if (! disk) + return 0; + + p = find_part_sep (name); + if (p) + { + grub_size_t len = p - name; + + raw = grub_malloc (len + 1); + if (! raw) + goto fail; + + grub_memcpy (raw, name, len); + raw[len] = '\0'; + disk->name = grub_strdup (raw); + } + else + disk->name = grub_strdup (name); + if (! disk->name) + goto fail; + + + for (dev = grub_disk_dev_list; dev; dev = dev->next) + { + if ((dev->open) (raw, disk) == GRUB_ERR_NONE) + break; + else if (grub_errno == GRUB_ERR_UNKNOWN_DEVICE) + grub_errno = GRUB_ERR_NONE; + else + goto fail; + } + + if (! dev) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such disk"); + goto fail; + } + + disk->dev = dev; + + if (p) + { + disk->partition = grub_partition_probe (disk, p + 1); + if (! disk->partition) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such partition"); + goto fail; + } + } + + /* The cache will be invalidated about 2 seconds after a device was + closed. */ + current_time = grub_get_time_ms (); + + if (current_time > (grub_last_time + + GRUB_CACHE_TIMEOUT * 1000)) + grub_disk_cache_invalidate_all (); + + grub_last_time = current_time; + + fail: + + if (raw && raw != name) + grub_free (raw); + + if (grub_errno != GRUB_ERR_NONE) + { + grub_error_push (); + grub_dprintf ("disk", "Opening `%s' failed.\n", name); + grub_error_pop (); + + grub_disk_close (disk); + return 0; + } + + return disk; +} + +void +grub_disk_close (grub_disk_t disk) +{ + grub_partition_t part; + grub_dprintf ("disk", "Closing `%s'.\n", disk->name); + + if (disk->dev && disk->dev->close) + (disk->dev->close) (disk); + + /* Reset the timer. */ + grub_last_time = grub_get_time_ms (); + + while (disk->partition) + { + part = disk->partition->parent; + grub_free (disk->partition); + disk->partition = part; + } + grub_free ((void *) disk->name); + grub_free (disk); +} + +/* This function performs three tasks: + - Make sectors disk relative from partition relative. + - Normalize offset to be less than the sector size. + - Verify that the range is inside the partition. */ +static grub_err_t +grub_disk_adjust_range (grub_disk_t disk, grub_disk_addr_t *sector, + grub_off_t *offset, grub_size_t size) +{ + grub_partition_t part; + *sector += *offset >> GRUB_DISK_SECTOR_BITS; + *offset &= GRUB_DISK_SECTOR_SIZE - 1; + + for (part = disk->partition; part; part = part->parent) + { + grub_disk_addr_t start; + grub_uint64_t len; + + start = part->start; + len = part->len; + + if (*sector >= len + || len - *sector < ((*offset + size + GRUB_DISK_SECTOR_SIZE - 1) + >> GRUB_DISK_SECTOR_BITS)) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "out of partition"); + + *sector += start; + } + + if (disk->total_sectors <= *sector + || ((*offset + size + GRUB_DISK_SECTOR_SIZE - 1) + >> GRUB_DISK_SECTOR_BITS) > disk->total_sectors - *sector) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "out of disk"); + + return GRUB_ERR_NONE; +} + +/* Read data from the disk. */ +grub_err_t +grub_disk_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_off_t offset, grub_size_t size, void *buf) +{ + char *tmp_buf; + unsigned real_offset; + + /* First of all, check if the region is within the disk. */ + if (grub_disk_adjust_range (disk, §or, &offset, size) != GRUB_ERR_NONE) + { + grub_error_push (); + grub_dprintf ("disk", "Read out of range: sector 0x%llx (%s).\n", + (unsigned long long) sector, grub_errmsg); + grub_error_pop (); + return grub_errno; + } + + real_offset = offset; + + /* Allocate a temporary buffer. */ + tmp_buf = grub_malloc (GRUB_DISK_SECTOR_SIZE << GRUB_DISK_CACHE_BITS); + if (! tmp_buf) + return grub_errno; + + /* Until SIZE is zero... */ + while (size) + { + char *data; + grub_disk_addr_t start_sector; + grub_size_t len; + grub_size_t pos; + + /* For reading bulk data. */ + start_sector = sector & ~(GRUB_DISK_CACHE_SIZE - 1); + pos = (sector - start_sector) << GRUB_DISK_SECTOR_BITS; + len = ((GRUB_DISK_SECTOR_SIZE << GRUB_DISK_CACHE_BITS) + - pos - real_offset); + if (len > size) + len = size; + + /* Fetch the cache. */ + data = grub_disk_cache_fetch (disk->dev->id, disk->id, start_sector); + if (data) + { + /* Just copy it! */ + grub_memcpy (buf, data + pos + real_offset, len); + grub_disk_cache_unlock (disk->dev->id, disk->id, start_sector); + } + else + { + /* Otherwise read data from the disk actually. */ + if (start_sector + GRUB_DISK_CACHE_SIZE > disk->total_sectors + || (disk->dev->read) (disk, start_sector, + GRUB_DISK_CACHE_SIZE, tmp_buf) + != GRUB_ERR_NONE) + { + /* Uggh... Failed. Instead, just read necessary data. */ + unsigned num; + char *p; + + grub_errno = GRUB_ERR_NONE; + + num = ((size + real_offset + GRUB_DISK_SECTOR_SIZE - 1) + >> GRUB_DISK_SECTOR_BITS); + + p = grub_realloc (tmp_buf, num << GRUB_DISK_SECTOR_BITS); + if (!p) + goto finish; + + tmp_buf = p; + + if ((disk->dev->read) (disk, sector, num, tmp_buf)) + { + grub_error_push (); + grub_dprintf ("disk", "%s read failed\n", disk->name); + grub_error_pop (); + goto finish; + } + + grub_memcpy (buf, tmp_buf + real_offset, size); + + /* Call the read hook, if any. */ + if (disk->read_hook) + while (size) + { + grub_size_t to_read = (size > GRUB_DISK_SECTOR_SIZE) ? GRUB_DISK_SECTOR_SIZE : size; + (disk->read_hook) (sector, real_offset, + to_read); + if (grub_errno != GRUB_ERR_NONE) + goto finish; + + sector++; + size -= to_read - real_offset; + real_offset = 0; + } + + /* This must be the end. */ + goto finish; + } + + /* Copy it and store it in the disk cache. */ + grub_memcpy (buf, tmp_buf + pos + real_offset, len); + grub_disk_cache_store (disk->dev->id, disk->id, + start_sector, tmp_buf); + } + + /* Call the read hook, if any. */ + if (disk->read_hook) + { + grub_disk_addr_t s = sector; + grub_size_t l = len; + + while (l) + { + (disk->read_hook) (s, real_offset, + ((l > GRUB_DISK_SECTOR_SIZE) + ? GRUB_DISK_SECTOR_SIZE + : l)); + + if (l < GRUB_DISK_SECTOR_SIZE - real_offset) + break; + + s++; + l -= GRUB_DISK_SECTOR_SIZE - real_offset; + real_offset = 0; + } + } + + sector = start_sector + GRUB_DISK_CACHE_SIZE; + buf = (char *) buf + len; + size -= len; + real_offset = 0; + } + + finish: + + grub_free (tmp_buf); + + return grub_errno; +} + +grub_err_t +grub_disk_write (grub_disk_t disk, grub_disk_addr_t sector, + grub_off_t offset, grub_size_t size, const void *buf) +{ + unsigned real_offset; + + grub_dprintf ("disk", "Writing `%s'...\n", disk->name); + + if (grub_disk_adjust_range (disk, §or, &offset, size) != GRUB_ERR_NONE) + return -1; + + real_offset = offset; + + while (size) + { + if (real_offset != 0 || (size < GRUB_DISK_SECTOR_SIZE && size != 0)) + { + char tmp_buf[GRUB_DISK_SECTOR_SIZE]; + grub_size_t len; + grub_partition_t part; + + part = disk->partition; + disk->partition = 0; + if (grub_disk_read (disk, sector, 0, GRUB_DISK_SECTOR_SIZE, tmp_buf) + != GRUB_ERR_NONE) + { + disk->partition = part; + goto finish; + } + disk->partition = part; + + len = GRUB_DISK_SECTOR_SIZE - real_offset; + if (len > size) + len = size; + + grub_memcpy (tmp_buf + real_offset, buf, len); + + grub_disk_cache_invalidate (disk->dev->id, disk->id, sector); + + if ((disk->dev->write) (disk, sector, 1, tmp_buf) != GRUB_ERR_NONE) + goto finish; + + sector++; + buf = (char *) buf + len; + size -= len; + real_offset = 0; + } + else + { + grub_size_t len; + grub_size_t n; + + len = size & ~(GRUB_DISK_SECTOR_SIZE - 1); + n = size >> GRUB_DISK_SECTOR_BITS; + + if ((disk->dev->write) (disk, sector, n, buf) != GRUB_ERR_NONE) + goto finish; + + while (n--) + grub_disk_cache_invalidate (disk->dev->id, disk->id, sector++); + + buf = (char *) buf + len; + size -= len; + } + } + + finish: + + return grub_errno; +} + +grub_uint64_t +grub_disk_get_size (grub_disk_t disk) +{ + if (disk->partition) + return grub_partition_get_len (disk->partition); + else + return disk->total_sectors; +} diff --git a/grub-core/kern/dl.c b/grub-core/kern/dl.c new file mode 100644 index 0000000..623e0cb --- /dev/null +++ b/grub-core/kern/dl.c @@ -0,0 +1,724 @@ +/* dl.c - loadable module support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* Force native word size */ +#define GRUB_TARGET_WORDSIZE (8 * GRUB_CPU_SIZEOF_VOID_P) + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Platforms where modules are in a readonly area of memory. */ +#if defined(GRUB_MACHINE_QEMU) +#define GRUB_MODULES_MACHINE_READONLY +#endif + + + +grub_dl_t grub_dl_head = 0; + +static grub_err_t +grub_dl_add (grub_dl_t mod) +{ + if (grub_dl_get (mod->name)) + return grub_error (GRUB_ERR_BAD_MODULE, + "`%s' is already loaded", mod->name); + + mod->next = grub_dl_head; + grub_dl_head = mod; + + return GRUB_ERR_NONE; +} + +static void +grub_dl_remove (grub_dl_t mod) +{ + grub_dl_t *p, q; + + for (p = &grub_dl_head, q = *p; q; p = &q->next, q = *p) + if (q == mod) + { + *p = q->next; + return; + } +} + +grub_dl_t +grub_dl_get (const char *name) +{ + grub_dl_t l; + + for (l = grub_dl_head; l; l = l->next) + if (grub_strcmp (name, l->name) == 0) + return l; + + return 0; +} + + + +struct grub_symbol +{ + struct grub_symbol *next; + const char *name; + void *addr; + grub_dl_t mod; /* The module to which this symbol belongs. */ +}; +typedef struct grub_symbol *grub_symbol_t; + +/* The size of the symbol table. */ +#define GRUB_SYMTAB_SIZE 509 + +/* The symbol table (using an open-hash). */ +static struct grub_symbol *grub_symtab[GRUB_SYMTAB_SIZE]; + +/* Simple hash function. */ +static unsigned +grub_symbol_hash (const char *s) +{ + unsigned key = 0; + + while (*s) + key = key * 65599 + *s++; + + return (key + (key >> 5)) % GRUB_SYMTAB_SIZE; +} + +/* Resolve the symbol name NAME and return the address. + Return NULL, if not found. */ +static void * +grub_dl_resolve_symbol (const char *name) +{ + grub_symbol_t sym; + + for (sym = grub_symtab[grub_symbol_hash (name)]; sym; sym = sym->next) + if (grub_strcmp (sym->name, name) == 0) + return sym->addr; + + return 0; +} + +/* Register a symbol with the name NAME and the address ADDR. */ +grub_err_t +grub_dl_register_symbol (const char *name, void *addr, grub_dl_t mod) +{ + grub_symbol_t sym; + unsigned k; + + sym = (grub_symbol_t) grub_malloc (sizeof (*sym)); + if (! sym) + return grub_errno; + + if (mod) + { + sym->name = grub_strdup (name); + if (! sym->name) + { + grub_free (sym); + return grub_errno; + } + } + else + sym->name = name; + + sym->addr = addr; + sym->mod = mod; + + k = grub_symbol_hash (name); + sym->next = grub_symtab[k]; + grub_symtab[k] = sym; + + return GRUB_ERR_NONE; +} + +/* Unregister all the symbols defined in the module MOD. */ +static void +grub_dl_unregister_symbols (grub_dl_t mod) +{ + unsigned i; + + if (! mod) + grub_fatal ("core symbols cannot be unregistered"); + + for (i = 0; i < GRUB_SYMTAB_SIZE; i++) + { + grub_symbol_t sym, *p, q; + + for (p = &grub_symtab[i], sym = *p; sym; sym = q) + { + q = sym->next; + if (sym->mod == mod) + { + *p = q; + grub_free ((void *) sym->name); + grub_free (sym); + } + else + p = &sym->next; + } + } +} + +/* Return the address of a section whose index is N. */ +static void * +grub_dl_get_section_addr (grub_dl_t mod, unsigned n) +{ + grub_dl_segment_t seg; + + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == n) + return seg->addr; + + return 0; +} + +/* Check if EHDR is a valid ELF header. */ +static grub_err_t +grub_dl_check_header (void *ehdr, grub_size_t size) +{ + Elf_Ehdr *e = ehdr; + + /* Check the header size. */ + if (size < sizeof (Elf_Ehdr)) + return grub_error (GRUB_ERR_BAD_OS, "ELF header smaller than expected"); + + /* Check the magic numbers. */ + if (grub_arch_dl_check_header (ehdr) + || e->e_ident[EI_MAG0] != ELFMAG0 + || e->e_ident[EI_MAG1] != ELFMAG1 + || e->e_ident[EI_MAG2] != ELFMAG2 + || e->e_ident[EI_MAG3] != ELFMAG3 + || e->e_ident[EI_VERSION] != EV_CURRENT + || e->e_version != EV_CURRENT) + return grub_error (GRUB_ERR_BAD_OS, "invalid arch independent ELF magic"); + + return GRUB_ERR_NONE; +} + +/* Load all segments from memory specified by E. */ +static grub_err_t +grub_dl_load_segments (grub_dl_t mod, const Elf_Ehdr *e) +{ + unsigned i; + Elf_Shdr *s; + + for (i = 0, s = (Elf_Shdr *)((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *)((char *) s + e->e_shentsize)) + { + if (s->sh_flags & SHF_ALLOC) + { + grub_dl_segment_t seg; + + seg = (grub_dl_segment_t) grub_malloc (sizeof (*seg)); + if (! seg) + return grub_errno; + + if (s->sh_size) + { + void *addr; + + addr = grub_memalign (s->sh_addralign, s->sh_size); + if (! addr) + { + grub_free (seg); + return grub_errno; + } + + switch (s->sh_type) + { + case SHT_PROGBITS: + grub_memcpy (addr, (char *) e + s->sh_offset, s->sh_size); + break; + case SHT_NOBITS: + grub_memset (addr, 0, s->sh_size); + break; + } + + seg->addr = addr; + } + else + seg->addr = 0; + + seg->size = s->sh_size; + seg->section = i; + seg->next = mod->segment; + mod->segment = seg; + } + } + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_dl_resolve_symbols (grub_dl_t mod, Elf_Ehdr *e) +{ + unsigned i; + Elf_Shdr *s; + Elf_Sym *sym; + const char *str; + Elf_Word size, entsize; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no symbol table"); + +#ifdef GRUB_MODULES_MACHINE_READONLY + mod->symtab = grub_malloc (s->sh_size); + memcpy (mod->symtab, (char *) e + s->sh_offset, s->sh_size); +#else + mod->symtab = (Elf_Sym *) ((char *) e + s->sh_offset); +#endif + sym = mod->symtab; + size = s->sh_size; + entsize = s->sh_entsize; + + s = (Elf_Shdr *) ((char *) e + e->e_shoff + e->e_shentsize * s->sh_link); + str = (char *) e + s->sh_offset; + + for (i = 0; + i < size / entsize; + i++, sym = (Elf_Sym *) ((char *) sym + entsize)) + { + unsigned char type = ELF_ST_TYPE (sym->st_info); + unsigned char bind = ELF_ST_BIND (sym->st_info); + const char *name = str + sym->st_name; + + switch (type) + { + case STT_NOTYPE: + case STT_OBJECT: + /* Resolve a global symbol. */ + if (sym->st_name != 0 && sym->st_shndx == 0) + { + sym->st_value = (Elf_Addr) grub_dl_resolve_symbol (name); + if (! sym->st_value) + return grub_error (GRUB_ERR_BAD_MODULE, + "symbol not found: `%s'", name); + } + else + { + sym->st_value += (Elf_Addr) grub_dl_get_section_addr (mod, + sym->st_shndx); + if (bind != STB_LOCAL) + if (grub_dl_register_symbol (name, (void *) sym->st_value, mod)) + return grub_errno; + } + break; + + case STT_FUNC: + sym->st_value += (Elf_Addr) grub_dl_get_section_addr (mod, + sym->st_shndx); + if (bind != STB_LOCAL) + if (grub_dl_register_symbol (name, (void *) sym->st_value, mod)) + return grub_errno; + + if (grub_strcmp (name, "grub_mod_init") == 0) + mod->init = (void (*) (grub_dl_t)) sym->st_value; + else if (grub_strcmp (name, "grub_mod_fini") == 0) + mod->fini = (void (*) (void)) sym->st_value; + break; + + case STT_SECTION: + sym->st_value = (Elf_Addr) grub_dl_get_section_addr (mod, + sym->st_shndx); + break; + + case STT_FILE: + sym->st_value = 0; + break; + + default: + return grub_error (GRUB_ERR_BAD_MODULE, + "unknown symbol type `%d'", (int) type); + } + } + + return GRUB_ERR_NONE; +} + +static void +grub_dl_call_init (grub_dl_t mod) +{ + if (mod->init) + (mod->init) (mod); +} + +/* Me, Vladimir Serbinenko, hereby I add this module check as per new + GNU module policy. Note that this license check is informative only. + Modules have to be licensed under GPLv3 or GPLv3+ (optionally + multi-licensed under other licences as well) independently of the + presence of this check and solely by linking (module loading in GRUB + constitutes linking) and GRUB core being licensed under GPLv3+. + Be sure to understand your license obligations. +*/ +static grub_err_t +grub_dl_check_license (Elf_Ehdr *e) +{ + Elf_Shdr *s; + const char *str; + unsigned i; + + s = (Elf_Shdr *) ((char *) e + e->e_shoff + e->e_shstrndx * e->e_shentsize); + str = (char *) e + s->sh_offset; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (grub_strcmp (str + s->sh_name, ".module_license") == 0) + { + if (grub_strcmp ((char *) e + s->sh_offset, "LICENSE=GPLv3") == 0 + || grub_strcmp ((char *) e + s->sh_offset, "LICENSE=GPLv3+") == 0 + || grub_strcmp ((char *) e + s->sh_offset, "LICENSE=GPLv2+") == 0) + return GRUB_ERR_NONE; + } + + return grub_error (GRUB_ERR_BAD_MODULE, "incompatible license"); +} + +static grub_err_t +grub_dl_resolve_name (grub_dl_t mod, Elf_Ehdr *e) +{ + Elf_Shdr *s; + const char *str; + unsigned i; + + s = (Elf_Shdr *) ((char *) e + e->e_shoff + e->e_shstrndx * e->e_shentsize); + str = (char *) e + s->sh_offset; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (grub_strcmp (str + s->sh_name, ".modname") == 0) + { + mod->name = grub_strdup ((char *) e + s->sh_offset); + if (! mod->name) + return grub_errno; + break; + } + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no module name found"); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_dl_resolve_dependencies (grub_dl_t mod, Elf_Ehdr *e) +{ + Elf_Shdr *s; + const char *str; + unsigned i; + + s = (Elf_Shdr *) ((char *) e + e->e_shoff + e->e_shstrndx * e->e_shentsize); + str = (char *) e + s->sh_offset; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (grub_strcmp (str + s->sh_name, ".moddeps") == 0) + { + const char *name = (char *) e + s->sh_offset; + const char *max = name + s->sh_size; + + while ((name < max) && (*name)) + { + grub_dl_t m; + grub_dl_dep_t dep; + + m = grub_dl_load (name); + if (! m) + return grub_errno; + + grub_dl_ref (m); + + dep = (grub_dl_dep_t) grub_malloc (sizeof (*dep)); + if (! dep) + return grub_errno; + + dep->mod = m; + dep->next = mod->dep; + mod->dep = dep; + + name += grub_strlen (name) + 1; + } + } + + return GRUB_ERR_NONE; +} + +int +grub_dl_ref (grub_dl_t mod) +{ + grub_dl_dep_t dep; + + if (!mod) + return 0; + + for (dep = mod->dep; dep; dep = dep->next) + grub_dl_ref (dep->mod); + + return ++mod->ref_count; +} + +int +grub_dl_unref (grub_dl_t mod) +{ + grub_dl_dep_t dep; + + if (!mod) + return 0; + + for (dep = mod->dep; dep; dep = dep->next) + grub_dl_unref (dep->mod); + + return --mod->ref_count; +} + +static void +grub_dl_flush_cache (grub_dl_t mod) +{ + grub_dl_segment_t seg; + + for (seg = mod->segment; seg; seg = seg->next) { + if (seg->size) { + grub_dprintf ("modules", "flushing 0x%lx bytes at %p\n", + (unsigned long) seg->size, seg->addr); + grub_arch_sync_caches (seg->addr, seg->size); + } + } +} + +/* Load a module from core memory. */ +grub_dl_t +grub_dl_load_core (void *addr, grub_size_t size) +{ + Elf_Ehdr *e; + grub_dl_t mod; + + grub_dprintf ("modules", "module at %p, size 0x%lx\n", addr, + (unsigned long) size); + e = addr; + if (grub_dl_check_header (e, size)) + return 0; + + if (e->e_type != ET_REL) + { + grub_error (GRUB_ERR_BAD_MODULE, "invalid ELF file type"); + return 0; + } + + /* Make sure that every section is within the core. */ + if (size < e->e_shoff + e->e_shentsize * e->e_shnum) + { + grub_error (GRUB_ERR_BAD_OS, "ELF sections outside core"); + return 0; + } + + mod = (grub_dl_t) grub_zalloc (sizeof (*mod)); + if (! mod) + return 0; + + mod->ref_count = 1; + + grub_dprintf ("modules", "relocating to %p\n", mod); + /* Me, Vladimir Serbinenko, hereby I add this module check as per new + GNU module policy. Note that this license check is informative only. + Modules have to be licensed under GPLv3 or GPLv3+ (optionally + multi-licensed under other licences as well) independently of the + presence of this check and solely by linking (module loading in GRUB + constitutes linking) and GRUB core being licensed under GPLv3+. + Be sure to understand your license obligations. + */ + if (grub_dl_check_license (e) + || grub_dl_resolve_name (mod, e) + || grub_dl_resolve_dependencies (mod, e) + || grub_dl_load_segments (mod, e) + || grub_dl_resolve_symbols (mod, e) + || grub_arch_dl_relocate_symbols (mod, e)) + { + mod->fini = 0; + grub_dl_unload (mod); + return 0; + } + + grub_dl_flush_cache (mod); + + grub_dprintf ("modules", "module name: %s\n", mod->name); + grub_dprintf ("modules", "init function: %p\n", mod->init); + grub_dl_call_init (mod); + + if (grub_dl_add (mod)) + { + grub_dl_unload (mod); + return 0; + } + + return mod; +} + +/* Load a module from the file FILENAME. */ +grub_dl_t +grub_dl_load_file (const char *filename) +{ + grub_file_t file = NULL; + grub_ssize_t size; + void *core = 0; + grub_dl_t mod = 0; + + file = grub_file_open (filename); + if (! file) + return 0; + + size = grub_file_size (file); + core = grub_malloc (size); + if (! core) + { + grub_file_close (file); + return 0; + } + + if (grub_file_read (file, core, size) != (int) size) + { + grub_file_close (file); + grub_free (core); + return 0; + } + + /* We must close this before we try to process dependencies. + Some disk backends do not handle gracefully multiple concurrent + opens of the same device. */ + grub_file_close (file); + + mod = grub_dl_load_core (core, size); + if (! mod) + { + grub_free (core); + return 0; + } + + mod->ref_count--; + return mod; +} + +/* Load a module using a symbolic name. */ +grub_dl_t +grub_dl_load (const char *name) +{ + char *filename; + grub_dl_t mod; + char *grub_dl_dir = grub_env_get ("prefix"); + + mod = grub_dl_get (name); + if (mod) + return mod; + + if (! grub_dl_dir) { + grub_error (GRUB_ERR_FILE_NOT_FOUND, "\"prefix\" is not set"); + return 0; + } + + filename = grub_xasprintf ("%s/%s.mod", grub_dl_dir, name); + if (! filename) + return 0; + + mod = grub_dl_load_file (filename); + grub_free (filename); + + if (! mod) + return 0; + + if (grub_strcmp (mod->name, name) != 0) + grub_error (GRUB_ERR_BAD_MODULE, "mismatched names"); + + return mod; +} + +/* Unload the module MOD. */ +int +grub_dl_unload (grub_dl_t mod) +{ + grub_dl_dep_t dep, depn; + grub_dl_segment_t seg, segn; + + if (mod->ref_count > 0) + return 0; + + if (mod->fini) + (mod->fini) (); + + grub_dl_remove (mod); + grub_dl_unregister_symbols (mod); + + for (dep = mod->dep; dep; dep = depn) + { + depn = dep->next; + + grub_dl_unload (dep->mod); + + grub_free (dep); + } + + for (seg = mod->segment; seg; seg = segn) + { + segn = seg->next; + grub_free (seg->addr); + grub_free (seg); + } + + grub_free (mod->name); +#ifdef GRUB_MODULES_MACHINE_READONLY + grub_free (mod->symtab); +#endif + grub_free (mod); + return 1; +} + +/* Unload unneeded modules. */ +void +grub_dl_unload_unneeded (void) +{ + /* Because grub_dl_remove modifies the list of modules, this + implementation is tricky. */ + grub_dl_t p = grub_dl_head; + + while (p) + { + if (grub_dl_unload (p)) + { + p = grub_dl_head; + continue; + } + + p = p->next; + } +} diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c new file mode 100644 index 0000000..fa1d0c7 --- /dev/null +++ b/grub-core/kern/efi/efi.c @@ -0,0 +1,742 @@ +/* efi.c - generic EFI support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* The handle of GRUB itself. Filled in by the startup code. */ +grub_efi_handle_t grub_efi_image_handle; + +/* The pointer to a system table. Filled in by the startup code. */ +grub_efi_system_table_t *grub_efi_system_table; + +static grub_efi_guid_t console_control_guid = GRUB_EFI_CONSOLE_CONTROL_GUID; +static grub_efi_guid_t loaded_image_guid = GRUB_EFI_LOADED_IMAGE_GUID; +static grub_efi_guid_t device_path_guid = GRUB_EFI_DEVICE_PATH_GUID; + +void * +grub_efi_locate_protocol (grub_efi_guid_t *protocol, void *registration) +{ + void *interface; + grub_efi_status_t status; + + status = efi_call_3 (grub_efi_system_table->boot_services->locate_protocol, + protocol, registration, &interface); + if (status != GRUB_EFI_SUCCESS) + return 0; + + return interface; +} + +/* Return the array of handles which meet the requirement. If successful, + the number of handles is stored in NUM_HANDLES. The array is allocated + from the heap. */ +grub_efi_handle_t * +grub_efi_locate_handle (grub_efi_locate_search_type_t search_type, + grub_efi_guid_t *protocol, + void *search_key, + grub_efi_uintn_t *num_handles) +{ + grub_efi_boot_services_t *b; + grub_efi_status_t status; + grub_efi_handle_t *buffer; + grub_efi_uintn_t buffer_size = 8 * sizeof (grub_efi_handle_t); + + buffer = grub_malloc (buffer_size); + if (! buffer) + return 0; + + b = grub_efi_system_table->boot_services; + status = efi_call_5 (b->locate_handle, search_type, protocol, search_key, + &buffer_size, buffer); + if (status == GRUB_EFI_BUFFER_TOO_SMALL) + { + grub_free (buffer); + buffer = grub_malloc (buffer_size); + if (! buffer) + return 0; + + status = efi_call_5 (b->locate_handle, search_type, protocol, search_key, + &buffer_size, buffer); + } + + if (status != GRUB_EFI_SUCCESS) + { + grub_free (buffer); + return 0; + } + + *num_handles = buffer_size / sizeof (grub_efi_handle_t); + return buffer; +} + +void * +grub_efi_open_protocol (grub_efi_handle_t handle, + grub_efi_guid_t *protocol, + grub_efi_uint32_t attributes) +{ + grub_efi_boot_services_t *b; + grub_efi_status_t status; + void *interface; + + b = grub_efi_system_table->boot_services; + status = efi_call_6 (b->open_protocol, handle, + protocol, + &interface, + grub_efi_image_handle, + 0, + attributes); + if (status != GRUB_EFI_SUCCESS) + return 0; + + return interface; +} + +int +grub_efi_set_text_mode (int on) +{ + grub_efi_console_control_protocol_t *c; + grub_efi_screen_mode_t mode, new_mode; + + c = grub_efi_locate_protocol (&console_control_guid, 0); + if (! c) + /* No console control protocol instance available, assume it is + already in text mode. */ + return 1; + + if (efi_call_4 (c->get_mode, c, &mode, 0, 0) != GRUB_EFI_SUCCESS) + return 0; + + new_mode = on ? GRUB_EFI_SCREEN_TEXT : GRUB_EFI_SCREEN_GRAPHICS; + if (mode != new_mode) + if (efi_call_2 (c->set_mode, c, new_mode) != GRUB_EFI_SUCCESS) + return 0; + + return 1; +} + +void +grub_efi_stall (grub_efi_uintn_t microseconds) +{ + efi_call_1 (grub_efi_system_table->boot_services->stall, microseconds); +} + +grub_efi_loaded_image_t * +grub_efi_get_loaded_image (grub_efi_handle_t image_handle) +{ + return grub_efi_open_protocol (image_handle, + &loaded_image_guid, + GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL); +} + +void +grub_exit (void) +{ + grub_efi_fini (); + efi_call_4 (grub_efi_system_table->boot_services->exit, + grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0); + for (;;) ; +} + +/* On i386, a firmware-independant grub_reboot() is provided by realmode.S. */ +#ifndef __i386__ +void +grub_reboot (void) +{ + grub_efi_fini (); + efi_call_4 (grub_efi_system_table->runtime_services->reset_system, + GRUB_EFI_RESET_COLD, GRUB_EFI_SUCCESS, 0, NULL); + for (;;) ; +} +#endif + +grub_err_t +grub_efi_set_virtual_address_map (grub_efi_uintn_t memory_map_size, + grub_efi_uintn_t descriptor_size, + grub_efi_uint32_t descriptor_version, + grub_efi_memory_descriptor_t *virtual_map) +{ + grub_efi_runtime_services_t *r; + grub_efi_status_t status; + + r = grub_efi_system_table->runtime_services; + status = efi_call_4 (r->set_virtual_address_map, memory_map_size, + descriptor_size, descriptor_version, virtual_map); + + if (status == GRUB_EFI_SUCCESS) + return GRUB_ERR_NONE; + + return grub_error (GRUB_ERR_IO, "set_virtual_address_map failed"); +} + +grub_uint32_t +grub_get_rtc (void) +{ + grub_efi_time_t time; + grub_efi_runtime_services_t *r; + + r = grub_efi_system_table->runtime_services; + if (efi_call_2 (r->get_time, &time, 0) != GRUB_EFI_SUCCESS) + /* What is possible in this case? */ + return 0; + + return (((time.minute * 60 + time.second) * 1000 + + time.nanosecond / 1000000) + * GRUB_TICKS_PER_SECOND / 1000); +} + +/* Search the mods section from the PE32/PE32+ image. This code uses + a PE32 header, but should work with PE32+ as well. */ +grub_addr_t +grub_arch_modules_addr (void) +{ + grub_efi_loaded_image_t *image; + struct grub_pe32_header *header; + struct grub_pe32_coff_header *coff_header; + struct grub_pe32_section_table *sections; + struct grub_pe32_section_table *section; + struct grub_module_info *info; + grub_uint16_t i; + + image = grub_efi_get_loaded_image (grub_efi_image_handle); + if (! image) + return 0; + + header = image->image_base; + coff_header = &(header->coff_header); + sections + = (struct grub_pe32_section_table *) ((char *) coff_header + + sizeof (*coff_header) + + coff_header->optional_header_size); + + for (i = 0, section = sections; + i < coff_header->num_sections; + i++, section++) + { + if (grub_strcmp (section->name, "mods") == 0) + break; + } + + if (i == coff_header->num_sections) + return 0; + + info = (struct grub_module_info *) ((char *) image->image_base + + section->virtual_address); + if (info->magic != GRUB_MODULE_MAGIC) + return 0; + + return (grub_addr_t) info; +} + +char * +grub_efi_get_filename (grub_efi_device_path_t *dp) +{ + char *name = 0; + + while (1) + { + grub_efi_uint8_t type = GRUB_EFI_DEVICE_PATH_TYPE (dp); + grub_efi_uint8_t subtype = GRUB_EFI_DEVICE_PATH_SUBTYPE (dp); + + if (type == GRUB_EFI_END_DEVICE_PATH_TYPE) + break; + else if (type == GRUB_EFI_MEDIA_DEVICE_PATH_TYPE + && subtype == GRUB_EFI_FILE_PATH_DEVICE_PATH_SUBTYPE) + { + grub_efi_file_path_device_path_t *fp; + grub_efi_uint16_t len; + char *p; + grub_size_t size; + + if (name) + { + size = grub_strlen (name); + name[size] = '/'; + size++; + } + else + size = 0; + + len = ((GRUB_EFI_DEVICE_PATH_LENGTH (dp) - 4) + / sizeof (grub_efi_char16_t)); + p = grub_realloc (name, size + len * 4 + 1); + if (! p) + { + grub_free (name); + return 0; + } + + name = p; + fp = (grub_efi_file_path_device_path_t *) dp; + *grub_utf16_to_utf8 ((grub_uint8_t *) name + size, + fp->path_name, len) = '\0'; + } + + dp = GRUB_EFI_NEXT_DEVICE_PATH (dp); + } + + if (name) + { + /* EFI breaks paths with backslashes. */ + char *p; + + for (p = name; *p; p++) + if (*p == '\\') + *p = '/'; + } + + return name; +} + +grub_efi_device_path_t * +grub_efi_get_device_path (grub_efi_handle_t handle) +{ + return grub_efi_open_protocol (handle, &device_path_guid, + GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL); +} + +/* Print the chain of Device Path nodes. This is mainly for debugging. */ +void +grub_efi_print_device_path (grub_efi_device_path_t *dp) +{ + while (1) + { + grub_efi_uint8_t type = GRUB_EFI_DEVICE_PATH_TYPE (dp); + grub_efi_uint8_t subtype = GRUB_EFI_DEVICE_PATH_SUBTYPE (dp); + grub_efi_uint16_t len = GRUB_EFI_DEVICE_PATH_LENGTH (dp); + + switch (type) + { + case GRUB_EFI_END_DEVICE_PATH_TYPE: + switch (subtype) + { + case GRUB_EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE: + grub_printf ("/EndEntire\n"); + //grub_putchar ('\n'); + break; + case GRUB_EFI_END_THIS_DEVICE_PATH_SUBTYPE: + grub_printf ("/EndThis\n"); + //grub_putchar ('\n'); + break; + default: + grub_printf ("/EndUnknown(%x)\n", (unsigned) subtype); + break; + } + break; + + case GRUB_EFI_HARDWARE_DEVICE_PATH_TYPE: + switch (subtype) + { + case GRUB_EFI_PCI_DEVICE_PATH_SUBTYPE: + { + grub_efi_pci_device_path_t pci; + grub_memcpy (&pci, dp, len); + grub_printf ("/PCI(%x,%x)", + (unsigned) pci.function, (unsigned) pci.device); + } + break; + case GRUB_EFI_PCCARD_DEVICE_PATH_SUBTYPE: + { + grub_efi_pccard_device_path_t pccard; + grub_memcpy (&pccard, dp, len); + grub_printf ("/PCCARD(%x)", + (unsigned) pccard.function); + } + break; + case GRUB_EFI_MEMORY_MAPPED_DEVICE_PATH_SUBTYPE: + { + grub_efi_memory_mapped_device_path_t mmapped; + grub_memcpy (&mmapped, dp, len); + grub_printf ("/MMap(%x,%llx,%llx)", + (unsigned) mmapped.memory_type, + (unsigned long long) mmapped.start_address, + (unsigned long long) mmapped.end_address); + } + break; + case GRUB_EFI_VENDOR_DEVICE_PATH_SUBTYPE: + { + grub_efi_vendor_device_path_t vendor; + grub_memcpy (&vendor, dp, sizeof (vendor)); + grub_printf ("/Vendor(%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x)", + (unsigned) vendor.vendor_guid.data1, + (unsigned) vendor.vendor_guid.data2, + (unsigned) vendor.vendor_guid.data3, + (unsigned) vendor.vendor_guid.data4[0], + (unsigned) vendor.vendor_guid.data4[1], + (unsigned) vendor.vendor_guid.data4[2], + (unsigned) vendor.vendor_guid.data4[3], + (unsigned) vendor.vendor_guid.data4[4], + (unsigned) vendor.vendor_guid.data4[5], + (unsigned) vendor.vendor_guid.data4[6], + (unsigned) vendor.vendor_guid.data4[7]); + } + break; + case GRUB_EFI_CONTROLLER_DEVICE_PATH_SUBTYPE: + { + grub_efi_controller_device_path_t controller; + grub_memcpy (&controller, dp, len); + grub_printf ("/Ctrl(%x)", + (unsigned) controller.controller_number); + } + break; + default: + grub_printf ("/UnknownHW(%x)", (unsigned) subtype); + break; + } + break; + + case GRUB_EFI_ACPI_DEVICE_PATH_TYPE: + switch (subtype) + { + case GRUB_EFI_ACPI_DEVICE_PATH_SUBTYPE: + { + grub_efi_acpi_device_path_t acpi; + grub_memcpy (&acpi, dp, len); + grub_printf ("/ACPI(%x,%x)", + (unsigned) acpi.hid, + (unsigned) acpi.uid); + } + break; + case GRUB_EFI_EXPANDED_ACPI_DEVICE_PATH_SUBTYPE: + { + grub_efi_expanded_acpi_device_path_t eacpi; + grub_memcpy (&eacpi, dp, sizeof (eacpi)); + grub_printf ("/ACPI("); + + if (GRUB_EFI_EXPANDED_ACPI_HIDSTR (dp)[0] == '\0') + grub_printf ("%x,", (unsigned) eacpi.hid); + else + grub_printf ("%s,", GRUB_EFI_EXPANDED_ACPI_HIDSTR (dp)); + + if (GRUB_EFI_EXPANDED_ACPI_UIDSTR (dp)[0] == '\0') + grub_printf ("%x,", (unsigned) eacpi.uid); + else + grub_printf ("%s,", GRUB_EFI_EXPANDED_ACPI_UIDSTR (dp)); + + if (GRUB_EFI_EXPANDED_ACPI_CIDSTR (dp)[0] == '\0') + grub_printf ("%x)", (unsigned) eacpi.cid); + else + grub_printf ("%s)", GRUB_EFI_EXPANDED_ACPI_CIDSTR (dp)); + } + break; + default: + grub_printf ("/UnknownACPI(%x)", (unsigned) subtype); + break; + } + break; + + case GRUB_EFI_MESSAGING_DEVICE_PATH_TYPE: + switch (subtype) + { + case GRUB_EFI_ATAPI_DEVICE_PATH_SUBTYPE: + { + grub_efi_atapi_device_path_t atapi; + grub_memcpy (&atapi, dp, len); + grub_printf ("/ATAPI(%x,%x,%x)", + (unsigned) atapi.primary_secondary, + (unsigned) atapi.slave_master, + (unsigned) atapi.lun); + } + break; + case GRUB_EFI_SCSI_DEVICE_PATH_SUBTYPE: + { + grub_efi_scsi_device_path_t scsi; + grub_memcpy (&scsi, dp, len); + grub_printf ("/SCSI(%x,%x)", + (unsigned) scsi.pun, + (unsigned) scsi.lun); + } + break; + case GRUB_EFI_FIBRE_CHANNEL_DEVICE_PATH_SUBTYPE: + { + grub_efi_fibre_channel_device_path_t fc; + grub_memcpy (&fc, dp, len); + grub_printf ("/FibreChannel(%llx,%llx)", + (unsigned long long) fc.wwn, + (unsigned long long) fc.lun); + } + break; + case GRUB_EFI_1394_DEVICE_PATH_SUBTYPE: + { + grub_efi_1394_device_path_t firewire; + grub_memcpy (&firewire, dp, len); + grub_printf ("/1394(%llx)", (unsigned long long) firewire.guid); + } + break; + case GRUB_EFI_USB_DEVICE_PATH_SUBTYPE: + { + grub_efi_usb_device_path_t usb; + grub_memcpy (&usb, dp, len); + grub_printf ("/USB(%x,%x)", + (unsigned) usb.parent_port_number, + (unsigned) usb.interface); + } + break; + case GRUB_EFI_USB_CLASS_DEVICE_PATH_SUBTYPE: + { + grub_efi_usb_class_device_path_t usb_class; + grub_memcpy (&usb_class, dp, len); + grub_printf ("/USBClass(%x,%x,%x,%x,%x)", + (unsigned) usb_class.vendor_id, + (unsigned) usb_class.product_id, + (unsigned) usb_class.device_class, + (unsigned) usb_class.device_subclass, + (unsigned) usb_class.device_protocol); + } + break; + case GRUB_EFI_I2O_DEVICE_PATH_SUBTYPE: + { + grub_efi_i2o_device_path_t i2o; + grub_memcpy (&i2o, dp, len); + grub_printf ("/I2O(%x)", (unsigned) i2o.tid); + } + break; + case GRUB_EFI_MAC_ADDRESS_DEVICE_PATH_SUBTYPE: + { + grub_efi_mac_address_device_path_t mac; + grub_memcpy (&mac, dp, len); + grub_printf ("/MacAddr(%02x:%02x:%02x:%02x:%02x:%02x,%x)", + (unsigned) mac.mac_address[0], + (unsigned) mac.mac_address[1], + (unsigned) mac.mac_address[2], + (unsigned) mac.mac_address[3], + (unsigned) mac.mac_address[4], + (unsigned) mac.mac_address[5], + (unsigned) mac.if_type); + } + break; + case GRUB_EFI_IPV4_DEVICE_PATH_SUBTYPE: + { + grub_efi_ipv4_device_path_t ipv4; + grub_memcpy (&ipv4, dp, len); + grub_printf ("/IPv4(%u.%u.%u.%u,%u.%u.%u.%u,%u,%u,%x,%x)", + (unsigned) ipv4.local_ip_address[0], + (unsigned) ipv4.local_ip_address[1], + (unsigned) ipv4.local_ip_address[2], + (unsigned) ipv4.local_ip_address[3], + (unsigned) ipv4.remote_ip_address[0], + (unsigned) ipv4.remote_ip_address[1], + (unsigned) ipv4.remote_ip_address[2], + (unsigned) ipv4.remote_ip_address[3], + (unsigned) ipv4.local_port, + (unsigned) ipv4.remote_port, + (unsigned) ipv4.protocol, + (unsigned) ipv4.static_ip_address); + } + break; + case GRUB_EFI_IPV6_DEVICE_PATH_SUBTYPE: + { + grub_efi_ipv6_device_path_t ipv6; + grub_memcpy (&ipv6, dp, len); + grub_printf ("/IPv6(%x:%x:%x:%x:%x:%x:%x:%x,%x:%x:%x:%x:%x:%x:%x:%x,%u,%u,%x,%x)", + (unsigned) ipv6.local_ip_address[0], + (unsigned) ipv6.local_ip_address[1], + (unsigned) ipv6.local_ip_address[2], + (unsigned) ipv6.local_ip_address[3], + (unsigned) ipv6.local_ip_address[4], + (unsigned) ipv6.local_ip_address[5], + (unsigned) ipv6.local_ip_address[6], + (unsigned) ipv6.local_ip_address[7], + (unsigned) ipv6.remote_ip_address[0], + (unsigned) ipv6.remote_ip_address[1], + (unsigned) ipv6.remote_ip_address[2], + (unsigned) ipv6.remote_ip_address[3], + (unsigned) ipv6.remote_ip_address[4], + (unsigned) ipv6.remote_ip_address[5], + (unsigned) ipv6.remote_ip_address[6], + (unsigned) ipv6.remote_ip_address[7], + (unsigned) ipv6.local_port, + (unsigned) ipv6.remote_port, + (unsigned) ipv6.protocol, + (unsigned) ipv6.static_ip_address); + } + break; + case GRUB_EFI_INFINIBAND_DEVICE_PATH_SUBTYPE: + { + grub_efi_infiniband_device_path_t ib; + grub_memcpy (&ib, dp, len); + grub_printf ("/InfiniBand(%x,%llx,%llx,%llx)", + (unsigned) ib.port_gid[0], /* XXX */ + (unsigned long long) ib.remote_id, + (unsigned long long) ib.target_port_id, + (unsigned long long) ib.device_id); + } + break; + case GRUB_EFI_UART_DEVICE_PATH_SUBTYPE: + { + grub_efi_uart_device_path_t uart; + grub_memcpy (&uart, dp, len); + grub_printf ("/UART(%llu,%u,%x,%x)", + (unsigned long long) uart.baud_rate, + uart.data_bits, + uart.parity, + uart.stop_bits); + } + break; + case GRUB_EFI_VENDOR_MESSAGING_DEVICE_PATH_SUBTYPE: + { + grub_efi_vendor_messaging_device_path_t vendor; + grub_memcpy (&vendor, dp, sizeof (vendor)); + grub_printf ("/Vendor(%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x)", + (unsigned) vendor.vendor_guid.data1, + (unsigned) vendor.vendor_guid.data2, + (unsigned) vendor.vendor_guid.data3, + (unsigned) vendor.vendor_guid.data4[0], + (unsigned) vendor.vendor_guid.data4[1], + (unsigned) vendor.vendor_guid.data4[2], + (unsigned) vendor.vendor_guid.data4[3], + (unsigned) vendor.vendor_guid.data4[4], + (unsigned) vendor.vendor_guid.data4[5], + (unsigned) vendor.vendor_guid.data4[6], + (unsigned) vendor.vendor_guid.data4[7]); + } + break; + default: + grub_printf ("/UnknownMessaging(%x)", (unsigned) subtype); + break; + } + break; + + case GRUB_EFI_MEDIA_DEVICE_PATH_TYPE: + switch (subtype) + { + case GRUB_EFI_HARD_DRIVE_DEVICE_PATH_SUBTYPE: + { + grub_efi_hard_drive_device_path_t hd; + grub_memcpy (&hd, dp, len); + grub_printf ("/HD(%u,%llx,%llx,%02x%02x%02x%02x%02x%02x%02x%02x,%x,%x)", + hd.partition_number, + (unsigned long long) hd.partition_start, + (unsigned long long) hd.partition_size, + (unsigned) hd.partition_signature[0], + (unsigned) hd.partition_signature[1], + (unsigned) hd.partition_signature[2], + (unsigned) hd.partition_signature[3], + (unsigned) hd.partition_signature[4], + (unsigned) hd.partition_signature[5], + (unsigned) hd.partition_signature[6], + (unsigned) hd.partition_signature[7], + (unsigned) hd.mbr_type, + (unsigned) hd.signature_type); + } + break; + case GRUB_EFI_CDROM_DEVICE_PATH_SUBTYPE: + { + grub_efi_cdrom_device_path_t cd; + grub_memcpy (&cd, dp, len); + grub_printf ("/CD(%u,%llx,%llx)", + cd.boot_entry, + (unsigned long long) cd.partition_start, + (unsigned long long) cd.partition_size); + } + break; + case GRUB_EFI_VENDOR_MEDIA_DEVICE_PATH_SUBTYPE: + { + grub_efi_vendor_media_device_path_t vendor; + grub_memcpy (&vendor, dp, sizeof (vendor)); + grub_printf ("/Vendor(%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x)", + (unsigned) vendor.vendor_guid.data1, + (unsigned) vendor.vendor_guid.data2, + (unsigned) vendor.vendor_guid.data3, + (unsigned) vendor.vendor_guid.data4[0], + (unsigned) vendor.vendor_guid.data4[1], + (unsigned) vendor.vendor_guid.data4[2], + (unsigned) vendor.vendor_guid.data4[3], + (unsigned) vendor.vendor_guid.data4[4], + (unsigned) vendor.vendor_guid.data4[5], + (unsigned) vendor.vendor_guid.data4[6], + (unsigned) vendor.vendor_guid.data4[7]); + } + break; + case GRUB_EFI_FILE_PATH_DEVICE_PATH_SUBTYPE: + { + grub_efi_file_path_device_path_t *fp; + grub_uint8_t buf[(len - 4) * 2 + 1]; + fp = (grub_efi_file_path_device_path_t *) dp; + *grub_utf16_to_utf8 (buf, fp->path_name, + (len - 4) / sizeof (grub_efi_char16_t)) + = '\0'; + grub_printf ("/File(%s)", buf); + } + break; + case GRUB_EFI_PROTOCOL_DEVICE_PATH_SUBTYPE: + { + grub_efi_protocol_device_path_t proto; + grub_memcpy (&proto, dp, sizeof (proto)); + grub_printf ("/Protocol(%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x)", + (unsigned) proto.guid.data1, + (unsigned) proto.guid.data2, + (unsigned) proto.guid.data3, + (unsigned) proto.guid.data4[0], + (unsigned) proto.guid.data4[1], + (unsigned) proto.guid.data4[2], + (unsigned) proto.guid.data4[3], + (unsigned) proto.guid.data4[4], + (unsigned) proto.guid.data4[5], + (unsigned) proto.guid.data4[6], + (unsigned) proto.guid.data4[7]); + } + break; + default: + grub_printf ("/UnknownMedia(%x)", (unsigned) subtype); + break; + } + break; + + case GRUB_EFI_BIOS_DEVICE_PATH_TYPE: + switch (subtype) + { + case GRUB_EFI_BIOS_DEVICE_PATH_SUBTYPE: + { + grub_efi_bios_device_path_t bios; + grub_memcpy (&bios, dp, sizeof (bios)); + grub_printf ("/BIOS(%x,%x,%s)", + (unsigned) bios.device_type, + (unsigned) bios.status_flags, + (char *) (dp + 1)); + } + break; + default: + grub_printf ("/UnknownBIOS(%x)", (unsigned) subtype); + break; + } + break; + + default: + grub_printf ("/UnknownType(%x,%x)\n", + (unsigned) type, + (unsigned) subtype); + return; + break; + } + + if (GRUB_EFI_END_ENTIRE_DEVICE_PATH (dp)) + break; + + dp = (grub_efi_device_path_t *) ((char *) dp + len); + } +} diff --git a/grub-core/kern/efi/init.c b/grub-core/kern/efi/init.c new file mode 100644 index 0000000..1b0a872 --- /dev/null +++ b/grub-core/kern/efi/init.c @@ -0,0 +1,130 @@ +/* init.c - generic EFI initialization and finalization */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +void +grub_efi_init (void) +{ + /* First of all, initialize the console so that GRUB can display + messages. */ + grub_console_init (); + + /* Initialize the memory management system. */ + grub_efi_mm_init (); + + efi_call_4 (grub_efi_system_table->boot_services->set_watchdog_timer, + 0, 0, 0, NULL); + + grub_efidisk_init (); +} + +void +grub_efi_set_prefix (void) +{ + grub_efi_loaded_image_t *image = NULL; + char *device = NULL; + char *path = NULL; + + { + char *pptr = NULL; + if (grub_prefix[0] == '(') + { + pptr = grub_strrchr (grub_prefix, ')'); + if (pptr) + { + device = grub_strndup (grub_prefix + 1, pptr - grub_prefix - 1); + pptr++; + } + } + if (!pptr) + pptr = grub_prefix; + if (pptr[0]) + path = grub_strdup (pptr); + } + + if ((!device || device[0] == ',' || !device[0]) || !path) + image = grub_efi_get_loaded_image (grub_efi_image_handle); + if (image) + { + if (!device) + device = grub_efidisk_get_device_name (image->device_handle); + else if (device[0] == ',' || !device[0]) + { + /* We have a partition, but still need to fill in the drive. */ + char *image_device, *comma, *new_device; + + image_device = grub_efidisk_get_device_name (image->device_handle); + comma = grub_strchr (image_device, ','); + if (comma) + { + char *drive = grub_strndup (image_device, comma - image_device); + new_device = grub_xasprintf ("%s%s", drive, device); + grub_free (drive); + } + else + new_device = grub_xasprintf ("%s%s", image_device, device); + + grub_free (image_device); + grub_free (device); + device = new_device; + } + } + + if (image && !path) + { + char *p; + + path = grub_efi_get_filename (image->file_path); + + /* Get the directory. */ + p = grub_strrchr (path, '/'); + if (p) + *p = '\0'; + } + + if (device && path) + { + char *prefix; + + prefix = grub_xasprintf ("(%s)%s", device, path); + if (prefix) + { + grub_env_set ("prefix", prefix); + grub_free (prefix); + } + } + + grub_free (device); + grub_free (path); +} + +void +grub_efi_fini (void) +{ + grub_efidisk_fini (); + grub_console_fini (); +} diff --git a/grub-core/kern/efi/mm.c b/grub-core/kern/efi/mm.c new file mode 100644 index 0000000..8b9e6ec --- /dev/null +++ b/grub-core/kern/efi/mm.c @@ -0,0 +1,453 @@ +/* mm.c - generic EFI memory management */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +#define NEXT_MEMORY_DESCRIPTOR(desc, size) \ + ((grub_efi_memory_descriptor_t *) ((char *) (desc) + (size))) + +#define BYTES_TO_PAGES(bytes) (((bytes) + 0xfff) >> 12) +#define PAGES_TO_BYTES(pages) ((pages) << 12) + +/* The size of a memory map obtained from the firmware. This must be + a multiplier of 4KB. */ +#define MEMORY_MAP_SIZE 0x3000 + +/* The minimum and maximum heap size for GRUB itself. */ +#define MIN_HEAP_SIZE 0x100000 +#define MAX_HEAP_SIZE (1600 * 0x100000) + +static void *finish_mmap_buf = 0; +static grub_efi_uintn_t finish_mmap_size = 0; +static grub_efi_uintn_t finish_key = 0; +static grub_efi_uintn_t finish_desc_size; +static grub_efi_uint32_t finish_desc_version; +int grub_efi_is_finished = 0; + +/* Allocate pages. Return the pointer to the first of allocated pages. */ +void * +grub_efi_allocate_pages (grub_efi_physical_address_t address, + grub_efi_uintn_t pages) +{ + grub_efi_allocate_type_t type; + grub_efi_status_t status; + grub_efi_boot_services_t *b; + +#if 1 + /* Limit the memory access to less than 4GB for 32-bit platforms. */ + if (address > 0xffffffff) + return 0; +#endif + +#if 1 + if (address == 0) + { + type = GRUB_EFI_ALLOCATE_MAX_ADDRESS; + address = 0xffffffff; + } + else + type = GRUB_EFI_ALLOCATE_ADDRESS; +#else + if (address == 0) + type = GRUB_EFI_ALLOCATE_ANY_PAGES; + else + type = GRUB_EFI_ALLOCATE_ADDRESS; +#endif + + b = grub_efi_system_table->boot_services; + status = efi_call_4 (b->allocate_pages, type, GRUB_EFI_LOADER_DATA, pages, &address); + if (status != GRUB_EFI_SUCCESS) + return 0; + + if (address == 0) + { + /* Uggh, the address 0 was allocated... This is too annoying, + so reallocate another one. */ + address = 0xffffffff; + status = efi_call_4 (b->allocate_pages, type, GRUB_EFI_LOADER_DATA, pages, &address); + grub_efi_free_pages (0, pages); + if (status != GRUB_EFI_SUCCESS) + return 0; + } + + return (void *) ((grub_addr_t) address); +} + +/* Free pages starting from ADDRESS. */ +void +grub_efi_free_pages (grub_efi_physical_address_t address, + grub_efi_uintn_t pages) +{ + grub_efi_boot_services_t *b; + + b = grub_efi_system_table->boot_services; + efi_call_2 (b->free_pages, address, pages); +} + +grub_err_t +grub_efi_finish_boot_services (grub_efi_uintn_t *outbuf_size, void *outbuf, + grub_efi_uintn_t *map_key, + grub_efi_uintn_t *efi_desc_size, + grub_efi_uint32_t *efi_desc_version) +{ + grub_efi_boot_services_t *b; + grub_efi_status_t status; + + if (grub_efi_get_memory_map (&finish_mmap_size, finish_mmap_buf, &finish_key, + &finish_desc_size, &finish_desc_version) < 0) + return grub_error (GRUB_ERR_IO, "couldn't retrieve memory map"); + + if (outbuf && *outbuf_size < finish_mmap_size) + return grub_error (GRUB_ERR_IO, "memory map buffer is too small"); + + finish_mmap_buf = grub_malloc (finish_mmap_size); + if (!finish_mmap_buf) + return grub_errno; + + if (grub_efi_get_memory_map (&finish_mmap_size, finish_mmap_buf, &finish_key, + &finish_desc_size, &finish_desc_version) <= 0) + return grub_error (GRUB_ERR_IO, "couldn't retrieve memory map"); + + b = grub_efi_system_table->boot_services; + status = efi_call_2 (b->exit_boot_services, grub_efi_image_handle, + finish_key); + if (status != GRUB_EFI_SUCCESS) + return grub_error (GRUB_ERR_IO, "couldn't terminate EFI services"); + + grub_efi_is_finished = 1; + if (outbuf_size) + *outbuf_size = finish_mmap_size; + if (outbuf) + grub_memcpy (outbuf, finish_mmap_buf, finish_mmap_size); + if (map_key) + *map_key = finish_key; + if (efi_desc_size) + *efi_desc_size = finish_desc_size; + if (efi_desc_version) + *efi_desc_version = finish_desc_version; + + return GRUB_ERR_NONE; +} + +/* Get the memory map as defined in the EFI spec. Return 1 if successful, + return 0 if partial, or return -1 if an error occurs. */ +int +grub_efi_get_memory_map (grub_efi_uintn_t *memory_map_size, + grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t *map_key, + grub_efi_uintn_t *descriptor_size, + grub_efi_uint32_t *descriptor_version) +{ + grub_efi_status_t status; + grub_efi_boot_services_t *b; + grub_efi_uintn_t key; + grub_efi_uint32_t version; + + if (grub_efi_is_finished) + { + int ret = 1; + if (*memory_map_size < finish_mmap_size) + { + grub_memcpy (memory_map, finish_mmap_buf, *memory_map_size); + ret = 0; + } + else + { + grub_memcpy (memory_map, finish_mmap_buf, finish_mmap_size); + ret = 1; + } + *memory_map_size = finish_mmap_size; + if (map_key) + *map_key = finish_key; + if (descriptor_size) + *descriptor_size = finish_desc_size; + if (descriptor_version) + *descriptor_version = finish_desc_version; + return ret; + } + + /* Allow some parameters to be missing. */ + if (! map_key) + map_key = &key; + if (! descriptor_version) + descriptor_version = &version; + + b = grub_efi_system_table->boot_services; + status = efi_call_5 (b->get_memory_map, memory_map_size, memory_map, map_key, + descriptor_size, descriptor_version); + if (status == GRUB_EFI_SUCCESS) + return 1; + else if (status == GRUB_EFI_BUFFER_TOO_SMALL) + return 0; + else + return -1; +} + +/* Sort the memory map in place. */ +static void +sort_memory_map (grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t desc_size, + grub_efi_memory_descriptor_t *memory_map_end) +{ + grub_efi_memory_descriptor_t *d1; + grub_efi_memory_descriptor_t *d2; + + for (d1 = memory_map; + d1 < memory_map_end; + d1 = NEXT_MEMORY_DESCRIPTOR (d1, desc_size)) + { + grub_efi_memory_descriptor_t *max_desc = d1; + + for (d2 = NEXT_MEMORY_DESCRIPTOR (d1, desc_size); + d2 < memory_map_end; + d2 = NEXT_MEMORY_DESCRIPTOR (d2, desc_size)) + { + if (max_desc->num_pages < d2->num_pages) + max_desc = d2; + } + + if (max_desc != d1) + { + grub_efi_memory_descriptor_t tmp; + + tmp = *d1; + *d1 = *max_desc; + *max_desc = tmp; + } + } +} + +/* Filter the descriptors. GRUB needs only available memory. */ +static grub_efi_memory_descriptor_t * +filter_memory_map (grub_efi_memory_descriptor_t *memory_map, + grub_efi_memory_descriptor_t *filtered_memory_map, + grub_efi_uintn_t desc_size, + grub_efi_memory_descriptor_t *memory_map_end) +{ + grub_efi_memory_descriptor_t *desc; + grub_efi_memory_descriptor_t *filtered_desc; + + for (desc = memory_map, filtered_desc = filtered_memory_map; + desc < memory_map_end; + desc = NEXT_MEMORY_DESCRIPTOR (desc, desc_size)) + { + if (desc->type == GRUB_EFI_CONVENTIONAL_MEMORY +#if 1 + && desc->physical_start <= 0xffffffff +#endif + && desc->physical_start + PAGES_TO_BYTES (desc->num_pages) > 0x100000 + && desc->num_pages != 0) + { + grub_memcpy (filtered_desc, desc, desc_size); + + /* Avoid less than 1MB, because some loaders seem to be confused. */ + if (desc->physical_start < 0x100000) + { + desc->num_pages -= BYTES_TO_PAGES (0x100000 + - desc->physical_start); + desc->physical_start = 0x100000; + } + +#if 1 + if (BYTES_TO_PAGES (filtered_desc->physical_start) + + filtered_desc->num_pages + > BYTES_TO_PAGES (0x100000000LL)) + filtered_desc->num_pages + = (BYTES_TO_PAGES (0x100000000LL) + - BYTES_TO_PAGES (filtered_desc->physical_start)); +#endif + + if (filtered_desc->num_pages == 0) + continue; + + filtered_desc = NEXT_MEMORY_DESCRIPTOR (filtered_desc, desc_size); + } + } + + return filtered_desc; +} + +/* Return the total number of pages. */ +static grub_efi_uint64_t +get_total_pages (grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t desc_size, + grub_efi_memory_descriptor_t *memory_map_end) +{ + grub_efi_memory_descriptor_t *desc; + grub_efi_uint64_t total = 0; + + for (desc = memory_map; + desc < memory_map_end; + desc = NEXT_MEMORY_DESCRIPTOR (desc, desc_size)) + total += desc->num_pages; + + return total; +} + +/* Add memory regions. */ +static void +add_memory_regions (grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t desc_size, + grub_efi_memory_descriptor_t *memory_map_end, + grub_efi_uint64_t required_pages) +{ + grub_efi_memory_descriptor_t *desc; + + for (desc = memory_map; + desc < memory_map_end; + desc = NEXT_MEMORY_DESCRIPTOR (desc, desc_size)) + { + grub_efi_uint64_t pages; + grub_efi_physical_address_t start; + void *addr; + + start = desc->physical_start; + pages = desc->num_pages; + if (pages > required_pages) + { + start += PAGES_TO_BYTES (pages - required_pages); + pages = required_pages; + } + + addr = grub_efi_allocate_pages (start, pages); + if (! addr) + grub_fatal ("cannot allocate conventional memory %p with %u pages", + (void *) ((grub_addr_t) start), + (unsigned) pages); + + grub_mm_init_region (addr, PAGES_TO_BYTES (pages)); + + required_pages -= pages; + if (required_pages == 0) + break; + } + + if (required_pages > 0) + grub_fatal ("too little memory"); +} + +#if 0 +/* Print the memory map. */ +static void +print_memory_map (grub_efi_memory_descriptor_t *memory_map, + grub_efi_uintn_t desc_size, + grub_efi_memory_descriptor_t *memory_map_end) +{ + grub_efi_memory_descriptor_t *desc; + int i; + + for (desc = memory_map, i = 0; + desc < memory_map_end; + desc = NEXT_MEMORY_DESCRIPTOR (desc, desc_size), i++) + { + grub_printf ("MD: t=%x, p=%llx, v=%llx, n=%llx, a=%llx\n", + desc->type, desc->physical_start, desc->virtual_start, + desc->num_pages, desc->attribute); + } +} +#endif + +void +grub_efi_mm_init (void) +{ + grub_efi_memory_descriptor_t *memory_map; + grub_efi_memory_descriptor_t *memory_map_end; + grub_efi_memory_descriptor_t *filtered_memory_map; + grub_efi_memory_descriptor_t *filtered_memory_map_end; + grub_efi_uintn_t map_size; + grub_efi_uintn_t desc_size; + grub_efi_uint64_t total_pages; + grub_efi_uint64_t required_pages; + int mm_status; + + /* Prepare a memory region to store two memory maps. */ + memory_map = grub_efi_allocate_pages (0, + 2 * BYTES_TO_PAGES (MEMORY_MAP_SIZE)); + if (! memory_map) + grub_fatal ("cannot allocate memory"); + + /* Obtain descriptors for available memory. */ + map_size = MEMORY_MAP_SIZE; + + mm_status = grub_efi_get_memory_map (&map_size, memory_map, 0, &desc_size, 0); + + if (mm_status == 0) + { + grub_efi_free_pages + ((grub_efi_physical_address_t) ((grub_addr_t) memory_map), + 2 * BYTES_TO_PAGES (MEMORY_MAP_SIZE)); + + /* Freeing/allocating operations may increase memory map size. */ + map_size += desc_size * 32; + + memory_map = grub_efi_allocate_pages (0, 2 * BYTES_TO_PAGES (map_size)); + if (! memory_map) + grub_fatal ("cannot allocate memory"); + + mm_status = grub_efi_get_memory_map (&map_size, memory_map, 0, + &desc_size, 0); + } + + if (mm_status < 0) + grub_fatal ("cannot get memory map"); + + memory_map_end = NEXT_MEMORY_DESCRIPTOR (memory_map, map_size); + + filtered_memory_map = memory_map_end; + + filtered_memory_map_end = filter_memory_map (memory_map, filtered_memory_map, + desc_size, memory_map_end); + + /* By default, request a quarter of the available memory. */ + total_pages = get_total_pages (filtered_memory_map, desc_size, + filtered_memory_map_end); + required_pages = (total_pages >> 2); + if (required_pages < BYTES_TO_PAGES (MIN_HEAP_SIZE)) + required_pages = BYTES_TO_PAGES (MIN_HEAP_SIZE); + else if (required_pages > BYTES_TO_PAGES (MAX_HEAP_SIZE)) + required_pages = BYTES_TO_PAGES (MAX_HEAP_SIZE); + + /* Sort the filtered descriptors, so that GRUB can allocate pages + from smaller regions. */ + sort_memory_map (filtered_memory_map, desc_size, filtered_memory_map_end); + + /* Allocate memory regions for GRUB's memory management. */ + add_memory_regions (filtered_memory_map, desc_size, + filtered_memory_map_end, required_pages); + +#if 0 + /* For debug. */ + map_size = MEMORY_MAP_SIZE; + + if (grub_efi_get_memory_map (&map_size, memory_map, 0, &desc_size, 0) < 0) + grub_fatal ("cannot get memory map"); + + grub_printf ("printing memory map\n"); + print_memory_map (memory_map, desc_size, + NEXT_MEMORY_DESCRIPTOR (memory_map, map_size)); + grub_abort (); +#endif + + /* Release the memory maps. */ + grub_efi_free_pages ((grub_addr_t) memory_map, + 2 * BYTES_TO_PAGES (MEMORY_MAP_SIZE)); +} diff --git a/grub-core/kern/elf.c b/grub-core/kern/elf.c new file mode 100644 index 0000000..9c7b8ce --- /dev/null +++ b/grub-core/kern/elf.c @@ -0,0 +1,488 @@ +/* elf.c - load ELF files */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +/* Check if EHDR is a valid ELF header. */ +static grub_err_t +grub_elf_check_header (grub_elf_t elf) +{ + Elf32_Ehdr *e = &elf->ehdr.ehdr32; + + if (e->e_ident[EI_MAG0] != ELFMAG0 + || e->e_ident[EI_MAG1] != ELFMAG1 + || e->e_ident[EI_MAG2] != ELFMAG2 + || e->e_ident[EI_MAG3] != ELFMAG3 + || e->e_ident[EI_VERSION] != EV_CURRENT + || e->e_version != EV_CURRENT) + return grub_error (GRUB_ERR_BAD_OS, "invalid arch independent ELF magic"); + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_elf_close (grub_elf_t elf) +{ + grub_file_t file = elf->file; + + grub_free (elf->phdrs); + grub_free (elf); + + if (file) + grub_file_close (file); + + return grub_errno; +} + +grub_elf_t +grub_elf_file (grub_file_t file) +{ + grub_elf_t elf; + + elf = grub_zalloc (sizeof (*elf)); + if (! elf) + return 0; + + elf->file = file; + + if (grub_file_seek (elf->file, 0) == (grub_off_t) -1) + goto fail; + + if (grub_file_read (elf->file, &elf->ehdr, sizeof (elf->ehdr)) + != sizeof (elf->ehdr)) + { + grub_error_push (); + grub_error (GRUB_ERR_READ_ERROR, "cannot read ELF header"); + goto fail; + } + + if (grub_elf_check_header (elf)) + goto fail; + + return elf; + +fail: + grub_free (elf->phdrs); + grub_free (elf); + return 0; +} + +grub_elf_t +grub_elf_open (const char *name) +{ + grub_file_t file; + grub_elf_t elf; + + file = grub_file_open (name); + if (! file) + return 0; + + elf = grub_elf_file (file); + if (! elf) + grub_file_close (file); + + return elf; +} + + +/* 32-bit */ + +int +grub_elf_is_elf32 (grub_elf_t elf) +{ + return elf->ehdr.ehdr32.e_ident[EI_CLASS] == ELFCLASS32; +} + +static grub_err_t +grub_elf32_load_phdrs (grub_elf_t elf) +{ + grub_ssize_t phdrs_size; + + phdrs_size = elf->ehdr.ehdr32.e_phnum * elf->ehdr.ehdr32.e_phentsize; + + grub_dprintf ("elf", "Loading program headers at 0x%llx, size 0x%lx.\n", + (unsigned long long) elf->ehdr.ehdr32.e_phoff, + (unsigned long) phdrs_size); + + elf->phdrs = grub_malloc (phdrs_size); + if (! elf->phdrs) + return grub_errno; + + if ((grub_file_seek (elf->file, elf->ehdr.ehdr32.e_phoff) == (grub_off_t) -1) + || (grub_file_read (elf->file, elf->phdrs, phdrs_size) != phdrs_size)) + { + grub_error_push (); + return grub_error (GRUB_ERR_READ_ERROR, "cannot read program headers"); + } + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_elf32_phdr_iterate (grub_elf_t elf, + int NESTED_FUNC_ATTR (*hook) (grub_elf_t, Elf32_Phdr *, void *), + void *hook_arg) +{ + Elf32_Phdr *phdrs; + unsigned int i; + + if (! elf->phdrs) + if (grub_elf32_load_phdrs (elf)) + return grub_errno; + phdrs = elf->phdrs; + + for (i = 0; i < elf->ehdr.ehdr32.e_phnum; i++) + { + Elf32_Phdr *phdr = phdrs + i; + grub_dprintf ("elf", + "Segment %u: type 0x%x paddr 0x%lx memsz 0x%lx " + "filesz %lx\n", + i, phdr->p_type, + (unsigned long) phdr->p_paddr, + (unsigned long) phdr->p_memsz, + (unsigned long) phdr->p_filesz); + if (hook (elf, phdr, hook_arg)) + break; + } + + return grub_errno; +} + +/* Calculate the amount of memory spanned by the segments. */ +grub_size_t +grub_elf32_size (grub_elf_t elf, Elf32_Addr *base, grub_uint32_t *max_align) +{ + Elf32_Addr segments_start = (Elf32_Addr) -1; + Elf32_Addr segments_end = 0; + int nr_phdrs = 0; + grub_uint32_t curr_align = 1; + + /* Run through the program headers to calculate the total memory size we + * should claim. */ + auto int NESTED_FUNC_ATTR calcsize (grub_elf_t _elf, Elf32_Phdr *phdr, void *_arg); + int NESTED_FUNC_ATTR calcsize (grub_elf_t _elf __attribute__ ((unused)), + Elf32_Phdr *phdr, + void *_arg __attribute__ ((unused))) + { + /* Only consider loadable segments. */ + if (phdr->p_type != PT_LOAD) + return 0; + nr_phdrs++; + if (phdr->p_paddr < segments_start) + segments_start = phdr->p_paddr; + if (phdr->p_paddr + phdr->p_memsz > segments_end) + segments_end = phdr->p_paddr + phdr->p_memsz; + if (curr_align < phdr->p_align) + curr_align = phdr->p_align; + return 0; + } + + grub_elf32_phdr_iterate (elf, calcsize, 0); + + if (base) + *base = 0; + + if (nr_phdrs == 0) + { + grub_error (GRUB_ERR_BAD_OS, "no program headers present"); + return 0; + } + + if (segments_end < segments_start) + { + /* Very bad addresses. */ + grub_error (GRUB_ERR_BAD_OS, "bad program header load addresses"); + return 0; + } + + if (base) + *base = segments_start; + if (max_align) + *max_align = curr_align; + return segments_end - segments_start; +} + +/* Load every loadable segment into memory specified by `_load_hook'. */ +grub_err_t +grub_elf32_load (grub_elf_t _elf, grub_elf32_load_hook_t _load_hook, + grub_addr_t *base, grub_size_t *size) +{ + grub_addr_t load_base = (grub_addr_t) -1ULL; + grub_size_t load_size = 0; + grub_err_t err; + + auto int NESTED_FUNC_ATTR grub_elf32_load_segment (grub_elf_t elf, Elf32_Phdr *phdr, void *hook); + int NESTED_FUNC_ATTR grub_elf32_load_segment (grub_elf_t elf, Elf32_Phdr *phdr, void *hook) + { + grub_elf32_load_hook_t load_hook = (grub_elf32_load_hook_t) hook; + grub_addr_t load_addr; + int do_load = 1; + + load_addr = phdr->p_paddr; + if (load_hook && load_hook (phdr, &load_addr, &do_load)) + return 1; + + if (! do_load) + return 0; + + if (load_addr < load_base) + load_base = load_addr; + + grub_dprintf ("elf", "Loading segment at 0x%llx, size 0x%llx\n", + (unsigned long long) load_addr, + (unsigned long long) phdr->p_memsz); + + if (grub_file_seek (elf->file, phdr->p_offset) == (grub_off_t) -1) + { + grub_error_push (); + return grub_error (GRUB_ERR_BAD_OS, + "invalid offset in program header"); + } + + if (phdr->p_filesz) + { + grub_ssize_t read; + read = grub_file_read (elf->file, (void *) load_addr, phdr->p_filesz); + if (read != (grub_ssize_t) phdr->p_filesz) + { + /* XXX How can we free memory from `load_hook'? */ + grub_error_push (); + return grub_error (GRUB_ERR_BAD_OS, + "couldn't read segment from file: " + "wanted 0x%lx bytes; read 0x%lx bytes", + phdr->p_filesz, read); + } + } + + if (phdr->p_filesz < phdr->p_memsz) + grub_memset ((void *) (long) (load_addr + phdr->p_filesz), + 0, phdr->p_memsz - phdr->p_filesz); + + load_size += phdr->p_memsz; + + return 0; + } + + err = grub_elf32_phdr_iterate (_elf, grub_elf32_load_segment, _load_hook); + + if (base) + *base = load_base; + if (size) + *size = load_size; + + return err; +} + + +/* 64-bit */ + +int +grub_elf_is_elf64 (grub_elf_t elf) +{ + return elf->ehdr.ehdr64.e_ident[EI_CLASS] == ELFCLASS64; +} + +static grub_err_t +grub_elf64_load_phdrs (grub_elf_t elf) +{ + grub_ssize_t phdrs_size; + + phdrs_size = elf->ehdr.ehdr64.e_phnum * elf->ehdr.ehdr64.e_phentsize; + + grub_dprintf ("elf", "Loading program headers at 0x%llx, size 0x%lx.\n", + (unsigned long long) elf->ehdr.ehdr64.e_phoff, + (unsigned long) phdrs_size); + + elf->phdrs = grub_malloc (phdrs_size); + if (! elf->phdrs) + return grub_errno; + + if ((grub_file_seek (elf->file, elf->ehdr.ehdr64.e_phoff) == (grub_off_t) -1) + || (grub_file_read (elf->file, elf->phdrs, phdrs_size) != phdrs_size)) + { + grub_error_push (); + return grub_error (GRUB_ERR_READ_ERROR, "cannot read program headers"); + } + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_elf64_phdr_iterate (grub_elf_t elf, + int NESTED_FUNC_ATTR (*hook) (grub_elf_t, Elf64_Phdr *, void *), + void *hook_arg) +{ + Elf64_Phdr *phdrs; + unsigned int i; + + if (! elf->phdrs) + if (grub_elf64_load_phdrs (elf)) + return grub_errno; + phdrs = elf->phdrs; + + for (i = 0; i < elf->ehdr.ehdr64.e_phnum; i++) + { + Elf64_Phdr *phdr = phdrs + i; + grub_dprintf ("elf", + "Segment %u: type 0x%x paddr 0x%lx memsz 0x%lx " + "filesz %lx\n", + i, phdr->p_type, + (unsigned long) phdr->p_paddr, + (unsigned long) phdr->p_memsz, + (unsigned long) phdr->p_filesz); + if (hook (elf, phdr, hook_arg)) + break; + } + + return grub_errno; +} + +/* Calculate the amount of memory spanned by the segments. */ +grub_size_t +grub_elf64_size (grub_elf_t elf, Elf64_Addr *base, grub_uint64_t *max_align) +{ + Elf64_Addr segments_start = (Elf64_Addr) -1; + Elf64_Addr segments_end = 0; + int nr_phdrs = 0; + grub_uint64_t curr_align = 1; + + /* Run through the program headers to calculate the total memory size we + * should claim. */ + auto int NESTED_FUNC_ATTR calcsize (grub_elf_t _elf, Elf64_Phdr *phdr, void *_arg); + int NESTED_FUNC_ATTR calcsize (grub_elf_t _elf __attribute__ ((unused)), + Elf64_Phdr *phdr, + void *_arg __attribute__ ((unused))) + { + /* Only consider loadable segments. */ + if (phdr->p_type != PT_LOAD) + return 0; + nr_phdrs++; + if (phdr->p_paddr < segments_start) + segments_start = phdr->p_paddr; + if (phdr->p_paddr + phdr->p_memsz > segments_end) + segments_end = phdr->p_paddr + phdr->p_memsz; + if (curr_align < phdr->p_align) + curr_align = phdr->p_align; + return 0; + } + + grub_elf64_phdr_iterate (elf, calcsize, 0); + + if (base) + *base = 0; + + if (nr_phdrs == 0) + { + grub_error (GRUB_ERR_BAD_OS, "no program headers present"); + return 0; + } + + if (segments_end < segments_start) + { + /* Very bad addresses. */ + grub_error (GRUB_ERR_BAD_OS, "bad program header load addresses"); + return 0; + } + + if (base) + *base = segments_start; + if (max_align) + *max_align = curr_align; + return segments_end - segments_start; +} + +/* Load every loadable segment into memory specified by `_load_hook'. */ +grub_err_t +grub_elf64_load (grub_elf_t _elf, grub_elf64_load_hook_t _load_hook, + grub_addr_t *base, grub_size_t *size) +{ + grub_addr_t load_base = (grub_addr_t) -1ULL; + grub_size_t load_size = 0; + grub_err_t err; + + auto int NESTED_FUNC_ATTR grub_elf64_load_segment (grub_elf_t elf, Elf64_Phdr *phdr, + void *hook); + int NESTED_FUNC_ATTR grub_elf64_load_segment (grub_elf_t elf, Elf64_Phdr *phdr, void *hook) + { + grub_elf64_load_hook_t load_hook = (grub_elf64_load_hook_t) hook; + grub_addr_t load_addr; + int do_load = 1; + + load_addr = phdr->p_paddr; + if (load_hook && load_hook (phdr, &load_addr, &do_load)) + return 1; + + if (! do_load) + return 0; + + if (load_addr < load_base) + load_base = load_addr; + + grub_dprintf ("elf", "Loading segment at 0x%llx, size 0x%llx\n", + (unsigned long long) load_addr, + (unsigned long long) phdr->p_memsz); + + if (grub_file_seek (elf->file, phdr->p_offset) == (grub_off_t) -1) + { + grub_error_push (); + return grub_error (GRUB_ERR_BAD_OS, + "invalid offset in program header"); + } + + if (phdr->p_filesz) + { + grub_ssize_t read; + read = grub_file_read (elf->file, (void *) load_addr, phdr->p_filesz); + if (read != (grub_ssize_t) phdr->p_filesz) + { + /* XXX How can we free memory from `load_hook'? */ + grub_error_push (); + return grub_error (GRUB_ERR_BAD_OS, + "couldn't read segment from file: " + "wanted 0x%lx bytes; read 0x%lx bytes", + phdr->p_filesz, read); + } + } + + if (phdr->p_filesz < phdr->p_memsz) + grub_memset ((void *) (long) (load_addr + phdr->p_filesz), + 0, phdr->p_memsz - phdr->p_filesz); + + load_size += phdr->p_memsz; + + return 0; + } + + err = grub_elf64_phdr_iterate (_elf, grub_elf64_load_segment, _load_hook); + + if (base) + *base = load_base; + if (size) + *size = load_size; + + return err; +} diff --git a/grub-core/kern/emu/cache.S b/grub-core/kern/emu/cache.S new file mode 100644 index 0000000..abd81c9 --- /dev/null +++ b/grub-core/kern/emu/cache.S @@ -0,0 +1,28 @@ +#ifndef GRUB_MACHINE_EMU +#error "This source is only meant for grub-emu platform" +#endif + +#if defined(__i386__) || defined(__x86_64__) +/* Nothing is necessary. */ +#elif defined(__sparc__) +#include "../sparc64/cache.S" +#elif defined(__mips__) +/* On MIPS we must go through standard functions. */ +#include + +FUNCTION (grub_cpu_flush_cache) +FUNCTION (grub_arch_sync_caches) + .set nomacro + .set noreorder + lui $t0, %hi(_flush_cache) + addui $t0, $t0, %lo(_flush_cache) + move $a3, $zero + jr $t0 + nop + .set reorder + .set macro +#elif defined(__powerpc__) +#include "../powerpc/cache.S" +#else +#error "No target cpu type is defined" +#endif diff --git a/grub-core/kern/emu/console.c b/grub-core/kern/emu/console.c new file mode 100644 index 0000000..7fd1fc0 --- /dev/null +++ b/grub-core/kern/emu/console.c @@ -0,0 +1,293 @@ +/* console.c -- Ncurses console for GRUB. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +/* For compatibility. */ +#ifndef A_NORMAL +# define A_NORMAL 0 +#endif /* ! A_NORMAL */ +#ifndef A_STANDOUT +# define A_STANDOUT 0 +#endif /* ! A_STANDOUT */ + +#include +#include +#include + +#if defined(HAVE_NCURSES_CURSES_H) +# include +#elif defined(HAVE_NCURSES_H) +# include +#elif defined(HAVE_CURSES_H) +# include +#else +#error What the hell? +#endif + +static int grub_console_attr = A_NORMAL; + +grub_uint8_t grub_console_cur_color = 7; + +static const grub_uint8_t grub_console_standard_color = 0x7; + +#define NUM_COLORS 8 + +static grub_uint8_t color_map[NUM_COLORS] = +{ + COLOR_BLACK, + COLOR_BLUE, + COLOR_GREEN, + COLOR_CYAN, + COLOR_RED, + COLOR_MAGENTA, + COLOR_YELLOW, + COLOR_WHITE +}; + +static int use_color; + +static void +grub_ncurses_putchar (struct grub_term_output *term __attribute__ ((unused)), + const struct grub_unicode_glyph *c) +{ + addch (c->base | grub_console_attr); +} + +static void +grub_ncurses_setcolorstate (struct grub_term_output *term, + grub_term_color_state state) +{ + switch (state) + { + case GRUB_TERM_COLOR_STANDARD: + grub_console_cur_color = grub_console_standard_color; + grub_console_attr = A_NORMAL; + break; + case GRUB_TERM_COLOR_NORMAL: + grub_console_cur_color = term->normal_color; + grub_console_attr = A_NORMAL; + break; + case GRUB_TERM_COLOR_HIGHLIGHT: + grub_console_cur_color = term->highlight_color; + grub_console_attr = A_STANDOUT; + break; + default: + break; + } + + if (use_color) + { + grub_uint8_t fg, bg; + + fg = (grub_console_cur_color & 7); + bg = (grub_console_cur_color >> 4) & 7; + + grub_console_attr = (grub_console_cur_color & 8) ? A_BOLD : A_NORMAL; + color_set ((bg << 3) + fg, 0); + } +} + +static int +grub_ncurses_getkey (struct grub_term_input *term __attribute__ ((unused))) +{ + int c; + + wtimeout (stdscr, 100); + c = getch (); + + switch (c) + { + case ERR: + return -1; + case KEY_LEFT: + c = GRUB_TERM_KEY_LEFT; + break; + + case KEY_RIGHT: + c = GRUB_TERM_KEY_RIGHT; + break; + + case KEY_UP: + c = GRUB_TERM_KEY_UP; + break; + + case KEY_DOWN: + c = GRUB_TERM_KEY_DOWN; + break; + + case KEY_IC: + c = 24; + break; + + case KEY_DC: + c = GRUB_TERM_KEY_DC; + break; + + case KEY_BACKSPACE: + /* XXX: For some reason ncurses on xterm does not return + KEY_BACKSPACE. */ + case 127: + c = '\b'; + break; + + case KEY_HOME: + c = GRUB_TERM_KEY_HOME; + break; + + case KEY_END: + c = GRUB_TERM_KEY_END; + break; + + case KEY_NPAGE: + c = GRUB_TERM_KEY_NPAGE; + break; + + case KEY_PPAGE: + c = GRUB_TERM_KEY_PPAGE; + break; + } + + return c; +} + +static grub_uint16_t +grub_ncurses_getxy (struct grub_term_output *term __attribute__ ((unused))) +{ + int x; + int y; + + getyx (stdscr, y, x); + + return (x << 8) | y; +} + +static grub_uint16_t +grub_ncurses_getwh (struct grub_term_output *term __attribute__ ((unused))) +{ + int x; + int y; + + getmaxyx (stdscr, y, x); + + return (x << 8) | y; +} + +static void +grub_ncurses_gotoxy (struct grub_term_output *term __attribute__ ((unused)), + grub_uint8_t x, grub_uint8_t y) +{ + move (y, x); +} + +static void +grub_ncurses_cls (struct grub_term_output *term __attribute__ ((unused))) +{ + clear (); + refresh (); +} + +static void +grub_ncurses_setcursor (struct grub_term_output *term __attribute__ ((unused)), + int on) +{ + curs_set (on ? 1 : 0); +} + +static void +grub_ncurses_refresh (struct grub_term_output *term __attribute__ ((unused))) +{ + refresh (); +} + +static grub_err_t +grub_ncurses_init (struct grub_term_output *term __attribute__ ((unused))) +{ + initscr (); + raw (); + noecho (); + scrollok (stdscr, TRUE); + + nonl (); + intrflush (stdscr, FALSE); + keypad (stdscr, TRUE); + + if (has_colors ()) + { + start_color (); + + if ((COLORS >= NUM_COLORS) && (COLOR_PAIRS >= NUM_COLORS * NUM_COLORS)) + { + int i, j, n; + + n = 0; + for (i = 0; i < NUM_COLORS; i++) + for (j = 0; j < NUM_COLORS; j++) + init_pair(n++, color_map[j], color_map[i]); + + use_color = 1; + } + } + + return 0; +} + +static grub_err_t +grub_ncurses_fini (struct grub_term_output *term __attribute__ ((unused))) +{ + endwin (); + return 0; +} + + +static struct grub_term_input grub_ncurses_term_input = + { + .name = "console", + .getkey = grub_ncurses_getkey, + }; + +static struct grub_term_output grub_ncurses_term_output = + { + .name = "console", + .init = grub_ncurses_init, + .fini = grub_ncurses_fini, + .putchar = grub_ncurses_putchar, + .getxy = grub_ncurses_getxy, + .getwh = grub_ncurses_getwh, + .gotoxy = grub_ncurses_gotoxy, + .cls = grub_ncurses_cls, + .setcolorstate = grub_ncurses_setcolorstate, + .setcursor = grub_ncurses_setcursor, + .refresh = grub_ncurses_refresh, + .flags = GRUB_TERM_CODE_TYPE_ASCII + }; + +void +grub_console_init (void) +{ + grub_term_register_output ("console", &grub_ncurses_term_output); + grub_term_register_input ("console", &grub_ncurses_term_input); +} + +void +grub_console_fini (void) +{ + grub_ncurses_fini (&grub_ncurses_term_output); +} diff --git a/grub-core/kern/emu/full.c b/grub-core/kern/emu/full.c new file mode 100644 index 0000000..70bcae7 --- /dev/null +++ b/grub-core/kern/emu/full.c @@ -0,0 +1,71 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +void +grub_register_exported_symbols (void) +{ +} + +grub_err_t +grub_arch_dl_check_header (void *ehdr) +{ + (void) ehdr; + return GRUB_ERR_BAD_MODULE; +} + +grub_err_t +grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) +{ + (void) mod; + (void) ehdr; + return GRUB_ERR_BAD_MODULE; +} + +void +grub_emu_init (void) +{ + grub_no_autoload = 1; +} + +#ifdef GRUB_LINKER_HAVE_INIT +void +grub_arch_dl_init_linker (void) +{ +} +#endif + +void +grub_emu_post_init (void) +{ + grub_lvm_fini (); + grub_mdraid09_fini (); + grub_mdraid1x_fini (); + grub_raid_fini (); + grub_raid_init (); + grub_mdraid09_init (); + grub_mdraid1x_init (); + grub_lvm_init (); +} diff --git a/grub-core/kern/emu/getroot.c b/grub-core/kern/emu/getroot.c new file mode 100644 index 0000000..a274f3c --- /dev/null +++ b/grub-core/kern/emu/getroot.c @@ -0,0 +1,932 @@ +/* getroot.c - Get root device */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef __GNU__ +#include +#include +#include +#include +#endif + +#ifdef __linux__ +# include +# include +#endif + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) +# include +# include +#endif + +#include +#include +#include +#include +#include + +static void +strip_extra_slashes (char *dir) +{ + char *p = dir; + + while ((p = strchr (p, '/')) != 0) + { + if (p[1] == '/') + { + memmove (p, p + 1, strlen (p)); + continue; + } + else if (p[1] == '\0') + { + if (p > dir) + p[0] = '\0'; + break; + } + + p++; + } +} + +static char * +xgetcwd (void) +{ + size_t size = 10; + char *path; + + path = xmalloc (size); + while (! getcwd (path, size)) + { + size <<= 1; + path = xrealloc (path, size); + } + + return path; +} + +#ifdef __linux__ + +struct mountinfo_entry +{ + int id; + int major, minor; + char enc_root[PATH_MAX], enc_path[PATH_MAX]; + char fstype[PATH_MAX], device[PATH_MAX]; +}; + +/* Statting something on a btrfs filesystem always returns a virtual device + major/minor pair rather than the real underlying device, because btrfs + can span multiple underlying devices (and even if it's currently only + using a single device it can be dynamically extended onto another). We + can't deal with the multiple-device case yet, but in the meantime, we can + at least cope with the single-device case by scanning + /proc/self/mountinfo. */ +char * +grub_find_root_device_from_mountinfo (const char *dir, char **relroot) +{ + FILE *fp; + char *buf = NULL; + size_t len = 0; + char *ret = NULL; + int entry_len = 0, entry_max = 4; + struct mountinfo_entry *entries; + struct mountinfo_entry parent_entry = { 0, 0, 0, "", "", "", "" }; + int i; + + if (! *dir) + dir = "/"; + if (relroot) + *relroot = NULL; + + fp = fopen ("/proc/self/mountinfo", "r"); + if (! fp) + return NULL; /* fall through to other methods */ + + entries = xmalloc (entry_max * sizeof (*entries)); + + /* First, build a list of relevant visible mounts. */ + while (getline (&buf, &len, fp) > 0) + { + struct mountinfo_entry entry; + int count; + size_t enc_path_len; + const char *sep; + + if (sscanf (buf, "%d %d %u:%u %s %s%n", + &entry.id, &parent_entry.id, &entry.major, &entry.minor, + entry.enc_root, entry.enc_path, &count) < 6) + continue; + + enc_path_len = strlen (entry.enc_path); + /* Check that enc_path is a prefix of dir. The prefix must either be + the entire string, or end with a slash, or be immediately followed + by a slash. */ + if (strncmp (dir, entry.enc_path, enc_path_len) != 0 || + (enc_path_len && dir[enc_path_len - 1] != '/' && + dir[enc_path_len] && dir[enc_path_len] != '/')) + continue; + + sep = strstr (buf + count, " - "); + if (!sep) + continue; + + sep += sizeof (" - ") - 1; + if (sscanf (sep, "%s %s", entry.fstype, entry.device) != 2) + continue; + + /* Using the mount IDs, find out where this fits in the list of + visible mount entries we've seen so far. There are three + interesting cases. Firstly, it may be inserted at the end: this is + the usual case of /foo/bar being mounted after /foo. Secondly, it + may be inserted at the start: for example, this can happen for + filesystems that are mounted before / and later moved under it. + Thirdly, it may occlude part or all of the existing filesystem + tree, in which case the end of the list needs to be pruned and this + new entry will be inserted at the end. */ + if (entry_len >= entry_max) + { + entry_max <<= 1; + entries = xrealloc (entries, entry_max * sizeof (*entries)); + } + + if (!entry_len) + { + /* Initialise list. */ + entry_len = 2; + entries[0] = parent_entry; + entries[1] = entry; + } + else + { + for (i = entry_len - 1; i >= 0; i--) + { + if (entries[i].id == parent_entry.id) + { + /* Insert at end, pruning anything previously above this. */ + entry_len = i + 2; + entries[i + 1] = entry; + break; + } + else if (i == 0 && entries[i].id == entry.id) + { + /* Insert at start. */ + entry_len++; + memmove (entries + 1, entries, + (entry_len - 1) * sizeof (*entries)); + entries[0] = parent_entry; + entries[1] = entry; + break; + } + } + } + } + + /* Now scan visible mounts for the ones we're interested in. */ + for (i = entry_len - 1; i >= 0; i--) + { + if (!*entries[i].device) + continue; + + ret = strdup (entries[i].device); + if (relroot) + *relroot = strdup (entries[i].enc_root); + break; + } + + free (buf); + free (entries); + fclose (fp); + return ret; +} + +#endif /* __linux__ */ + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) +static char * +find_root_device_from_libzfs (const char *dir) +{ + char *device = NULL; + char *poolname; + char *poolfs; + + grub_find_zpool_from_dir (dir, &poolname, &poolfs); + if (! poolname) + return NULL; + + { + zpool_handle_t *zpool; + libzfs_handle_t *libzfs; + nvlist_t *config, *vdev_tree; + nvlist_t **children, **path; + unsigned int nvlist_count; + unsigned int i; + + libzfs = grub_get_libzfs_handle (); + if (! libzfs) + return NULL; + + zpool = zpool_open (libzfs, poolname); + config = zpool_get_config (zpool, NULL); + + if (nvlist_lookup_nvlist (config, "vdev_tree", &vdev_tree) != 0) + error (1, errno, "nvlist_lookup_nvlist (\"vdev_tree\")"); + + if (nvlist_lookup_nvlist_array (vdev_tree, "children", &children, &nvlist_count) != 0) + error (1, errno, "nvlist_lookup_nvlist_array (\"children\")"); + assert (nvlist_count > 0); + + while (nvlist_lookup_nvlist_array (children[0], "children", + &children, &nvlist_count) == 0) + assert (nvlist_count > 0); + + for (i = 0; i < nvlist_count; i++) + { + if (nvlist_lookup_string (children[i], "path", &device) != 0) + error (1, errno, "nvlist_lookup_string (\"path\")"); + + struct stat st; + if (stat (device, &st) == 0) + { + device = xstrdup (device); + break; + } + + device = NULL; + } + + zpool_close (zpool); + } + + free (poolname); + if (poolfs) + free (poolfs); + + return device; +} +#endif + +#ifdef __MINGW32__ + +char * +grub_find_device (const char *dir __attribute__ ((unused)), + dev_t dev __attribute__ ((unused))) +{ + return 0; +} + +#elif ! defined(__CYGWIN__) + +char * +grub_find_device (const char *dir, dev_t dev) +{ + DIR *dp; + char *saved_cwd; + struct dirent *ent; + + if (! dir) + { +#ifdef __CYGWIN__ + return NULL; +#else + dir = "/dev"; +#endif + } + + dp = opendir (dir); + if (! dp) + return 0; + + saved_cwd = xgetcwd (); + + grub_util_info ("changing current directory to %s", dir); + if (chdir (dir) < 0) + { + free (saved_cwd); + closedir (dp); + return 0; + } + + while ((ent = readdir (dp)) != 0) + { + struct stat st; + + /* Avoid: + - dotfiles (like "/dev/.tmp.md0") since they could be duplicates. + - dotdirs (like "/dev/.static") since they could contain duplicates. */ + if (ent->d_name[0] == '.') + continue; + + if (lstat (ent->d_name, &st) < 0) + /* Ignore any error. */ + continue; + + if (S_ISLNK (st.st_mode)) { +#ifdef __linux__ + if (strcmp (dir, "mapper") == 0) { + /* Follow symbolic links under /dev/mapper/; the canonical name + may be something like /dev/dm-0, but the names under + /dev/mapper/ are more human-readable and so we prefer them if + we can get them. */ + if (stat (ent->d_name, &st) < 0) + continue; + } else +#endif /* __linux__ */ + /* Don't follow other symbolic links. */ + continue; + } + + if (S_ISDIR (st.st_mode)) + { + /* Find it recursively. */ + char *res; + + res = grub_find_device (ent->d_name, dev); + + if (res) + { + if (chdir (saved_cwd) < 0) + grub_util_error ("cannot restore the original directory"); + + free (saved_cwd); + closedir (dp); + return res; + } + } + +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) + if (S_ISCHR (st.st_mode) && st.st_rdev == dev) +#else + if (S_ISBLK (st.st_mode) && st.st_rdev == dev) +#endif + { +#ifdef __linux__ + /* Skip device names like /dev/dm-0, which are short-hand aliases + to more descriptive device names, e.g. those under /dev/mapper */ + if (ent->d_name[0] == 'd' && + ent->d_name[1] == 'm' && + ent->d_name[2] == '-' && + ent->d_name[3] >= '0' && + ent->d_name[3] <= '9') + continue; +#endif + + /* Found! */ + char *res; + char *cwd; +#if defined(__NetBSD__) + /* Convert this block device to its character (raw) device. */ + const char *template = "%s/r%s"; +#else + /* Keep the device name as it is. */ + const char *template = "%s/%s"; +#endif + + cwd = xgetcwd (); + res = xmalloc (strlen (cwd) + strlen (ent->d_name) + 3); + sprintf (res, template, cwd, ent->d_name); + strip_extra_slashes (res); + free (cwd); + + /* /dev/root is not a real block device keep looking, takes care + of situation where root filesystem is on the same partition as + grub files */ + + if (strcmp(res, "/dev/root") == 0) + continue; + + if (chdir (saved_cwd) < 0) + grub_util_error ("cannot restore the original directory"); + + free (saved_cwd); + closedir (dp); + return res; + } + } + + if (chdir (saved_cwd) < 0) + grub_util_error ("cannot restore the original directory"); + + free (saved_cwd); + closedir (dp); + return 0; +} + +#else /* __CYGWIN__ */ + +/* Read drive/partition serial number from mbr/boot sector, + return 0 on read error, ~0 on unknown serial. */ +static unsigned +get_bootsec_serial (const char *os_dev, int mbr) +{ + /* Read boot sector. */ + int fd = open (os_dev, O_RDONLY); + if (fd < 0) + return 0; + unsigned char buf[0x200]; + int n = read (fd, buf, sizeof (buf)); + close (fd); + if (n != sizeof(buf)) + return 0; + + /* Check signature. */ + if (!(buf[0x1fe] == 0x55 && buf[0x1ff] == 0xaa)) + return ~0; + + /* Serial number offset depends on boot sector type. */ + if (mbr) + n = 0x1b8; + else if (memcmp (buf + 0x03, "NTFS", 4) == 0) + n = 0x048; + else if (memcmp (buf + 0x52, "FAT32", 5) == 0) + n = 0x043; + else if (memcmp (buf + 0x36, "FAT", 3) == 0) + n = 0x027; + else + return ~0; + + unsigned serial = *(unsigned *)(buf + n); + if (serial == 0) + return ~0; + return serial; +} + +char * +grub_find_device (const char *path, dev_t dev) +{ + /* No root device for /cygdrive. */ + if (dev == (DEV_CYGDRIVE_MAJOR << 16)) + return 0; + + /* Convert to full POSIX and Win32 path. */ + char fullpath[PATH_MAX], winpath[PATH_MAX]; + cygwin_conv_to_full_posix_path (path, fullpath); + cygwin_conv_to_full_win32_path (fullpath, winpath); + + /* If identical, this is no real filesystem path. */ + if (strcmp (fullpath, winpath) == 0) + return 0; + + /* Check for floppy drive letter. */ + if (winpath[0] && winpath[1] == ':' && strchr ("AaBb", winpath[0])) + return xstrdup (strchr ("Aa", winpath[0]) ? "/dev/fd0" : "/dev/fd1"); + + /* Cygwin returns the partition serial number in stat.st_dev. + This is never identical to the device number of the emulated + /dev/sdXN device, so above grub_find_device () does not work. + Search the partition with the same serial in boot sector instead. */ + char devpath[sizeof ("/dev/sda15") + 13]; /* Size + Paranoia. */ + int d; + for (d = 'a'; d <= 'z'; d++) + { + sprintf (devpath, "/dev/sd%c", d); + if (get_bootsec_serial (devpath, 1) == 0) + continue; + int p; + for (p = 1; p <= 15; p++) + { + sprintf (devpath, "/dev/sd%c%d", d, p); + unsigned ser = get_bootsec_serial (devpath, 0); + if (ser == 0) + break; + if (ser != (unsigned)~0 && dev == (dev_t)ser) + return xstrdup (devpath); + } + } + return 0; +} + +#endif /* __CYGWIN__ */ + +char * +grub_guess_root_device (const char *dir) +{ + char *os_dev = NULL; +#ifdef __GNU__ + file_t file; + mach_port_t *ports; + int *ints; + loff_t *offsets; + char *data; + error_t err; + mach_msg_type_number_t num_ports = 0, num_ints = 0, num_offsets = 0, data_len = 0; + size_t name_len; + + file = file_name_lookup (dir, 0, 0); + if (file == MACH_PORT_NULL) + return 0; + + err = file_get_storage_info (file, + &ports, &num_ports, + &ints, &num_ints, + &offsets, &num_offsets, + &data, &data_len); + + if (num_ints < 1) + grub_util_error ("Storage info for `%s' does not include type", dir); + if (ints[0] != STORAGE_DEVICE) + grub_util_error ("Filesystem of `%s' is not stored on local disk", dir); + + if (num_ints < 5) + grub_util_error ("Storage info for `%s' does not include name", dir); + name_len = ints[4]; + if (name_len < data_len) + grub_util_error ("Bogus name length for storage info for `%s'", dir); + if (data[name_len - 1] != '\0') + grub_util_error ("Storage name for `%s' not NUL-terminated", dir); + + os_dev = xmalloc (strlen ("/dev/") + data_len); + memcpy (os_dev, "/dev/", strlen ("/dev/")); + memcpy (os_dev + strlen ("/dev/"), data, data_len); + + if (ports && num_ports > 0) + { + mach_msg_type_number_t i; + for (i = 0; i < num_ports; i++) + { + mach_port_t port = ports[i]; + if (port != MACH_PORT_NULL) + mach_port_deallocate (mach_task_self(), port); + } + munmap ((caddr_t) ports, num_ports * sizeof (*ports)); + } + + if (ints && num_ints > 0) + munmap ((caddr_t) ints, num_ints * sizeof (*ints)); + if (offsets && num_offsets > 0) + munmap ((caddr_t) offsets, num_offsets * sizeof (*offsets)); + if (data && data_len > 0) + munmap (data, data_len); + mach_port_deallocate (mach_task_self (), file); +#else /* !__GNU__ */ + struct stat st; + dev_t dev; + +#ifdef __linux__ + if (!os_dev) + os_dev = grub_find_root_device_from_mountinfo (dir, NULL); +#endif /* __linux__ */ + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) + if (!os_dev) + os_dev = find_root_device_from_libzfs (dir); +#endif + + if (os_dev) + { + if (stat (os_dev, &st) >= 0) + dev = st.st_rdev; + else + grub_util_error ("cannot stat `%s'", os_dev); + free (os_dev); + } + else + { + if (stat (dir, &st) >= 0) + dev = st.st_dev; + else + grub_util_error ("cannot stat `%s'", dir); + } + +#ifdef __CYGWIN__ + /* Cygwin specific function. */ + os_dev = grub_find_device (dir, dev); + +#else + + /* This might be truly slow, but is there any better way? */ + os_dev = grub_find_device ("/dev", dev); +#endif +#endif /* !__GNU__ */ + + return os_dev; +} + +static int +grub_util_is_dmraid (const char *os_dev) +{ + if (! strncmp (os_dev, "/dev/mapper/nvidia_", 19)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/isw_", 16)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/hpt37x_", 19)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/hpt45x_", 19)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/via_", 16)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/lsi_", 16)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/pdc_", 16)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/jmicron_", 20)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/asr_", 16)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/sil_", 16)) + return 1; + else if (! strncmp (os_dev, "/dev/mapper/ddf1_", 17)) + return 1; + + return 0; +} + +int +grub_util_get_dev_abstraction (const char *os_dev __attribute__((unused))) +{ +#ifdef __linux__ + /* User explicitly claims that this drive is visible by BIOS. */ + if (grub_util_biosdisk_is_present (os_dev)) + return GRUB_DEV_ABSTRACTION_NONE; + + /* Check for LVM. */ + if (!strncmp (os_dev, "/dev/mapper/", 12) + && ! grub_util_is_dmraid (os_dev) + && strncmp (os_dev, "/dev/mapper/mpath", 17) != 0) + return GRUB_DEV_ABSTRACTION_LVM; + + /* Check for RAID. */ + if (!strncmp (os_dev, "/dev/md", 7)) + return GRUB_DEV_ABSTRACTION_RAID; +#endif + + /* No abstraction found. */ + return GRUB_DEV_ABSTRACTION_NONE; +} + +#ifdef __linux__ +static char * +get_mdadm_uuid (const char *os_dev) +{ + int mdadm_pipe[2]; + pid_t mdadm_pid; + char *name = NULL; + + if (pipe (mdadm_pipe) < 0) + { + grub_util_warn ("Unable to create pipe for mdadm: %s", strerror (errno)); + return NULL; + } + + mdadm_pid = fork (); + if (mdadm_pid < 0) + grub_util_warn ("Unable to fork mdadm: %s", strerror (errno)); + else if (mdadm_pid == 0) + { + /* Child. */ + char *argv[5]; + + close (mdadm_pipe[0]); + dup2 (mdadm_pipe[1], STDOUT_FILENO); + close (mdadm_pipe[1]); + + /* execvp has inconvenient types, hence the casts. None of these + strings will actually be modified. */ + argv[0] = (char *) "mdadm"; + argv[1] = (char *) "--detail"; + argv[2] = (char *) "--export"; + argv[3] = (char *) os_dev; + argv[4] = NULL; + execvp ("mdadm", argv); + exit (127); + } + else + { + /* Parent. Read mdadm's output. */ + FILE *mdadm; + char *buf = NULL; + size_t len = 0; + + close (mdadm_pipe[1]); + mdadm = fdopen (mdadm_pipe[0], "r"); + if (! mdadm) + { + grub_util_warn ("Unable to open stream from mdadm: %s", + strerror (errno)); + goto out; + } + + while (getline (&buf, &len, mdadm) > 0) + { + if (strncmp (buf, "MD_UUID=", sizeof ("MD_UUID=") - 1) == 0) + { + char *name_start, *ptri, *ptro; + size_t name_len; + + free (name); + name_start = buf + sizeof ("MD_UUID=") - 1; + ptro = name = xmalloc (strlen (name_start) + 1); + for (ptri = name_start; *ptri && *ptri != '\n' && *ptri != '\r'; + ptri++) + if ((*ptri >= '0' && *ptri <= '9') + || (*ptri >= 'a' && *ptri <= 'f') + || (*ptri >= 'A' && *ptri <= 'F')) + *ptro++ = *ptri; + *ptro = 0; + } + } + +out: + close (mdadm_pipe[0]); + waitpid (mdadm_pid, NULL, 0); + } + + return name; +} +#endif /* __linux__ */ + +char * +grub_util_get_grub_dev (const char *os_dev) +{ + char *grub_dev = NULL; + + switch (grub_util_get_dev_abstraction (os_dev)) + { + case GRUB_DEV_ABSTRACTION_LVM: + + { + unsigned short i, len; + grub_size_t offset = sizeof ("/dev/mapper/") - 1; + + len = strlen (os_dev) - offset + 1; + grub_dev = xmalloc (len); + + for (i = 0; i < len; i++, offset++) + { + grub_dev[i] = os_dev[offset]; + if (os_dev[offset] == '-' && os_dev[offset + 1] == '-') + offset++; + } + } + + break; + + case GRUB_DEV_ABSTRACTION_RAID: + + if (os_dev[7] == '_' && os_dev[8] == 'd') + { + /* This a partitionable RAID device of the form /dev/md_dNNpMM. */ + + char *p, *q; + + p = strdup (os_dev + sizeof ("/dev/md_d") - 1); + + q = strchr (p, 'p'); + if (q) + *q = ','; + + grub_dev = xasprintf ("md%s", p); + free (p); + } + else if (os_dev[7] == '/' && os_dev[8] == 'd') + { + /* This a partitionable RAID device of the form /dev/md/dNNpMM. */ + + char *p, *q; + + p = strdup (os_dev + sizeof ("/dev/md/d") - 1); + + q = strchr (p, 'p'); + if (q) + *q = ','; + + grub_dev = xasprintf ("md%s", p); + free (p); + } + else if (os_dev[7] >= '0' && os_dev[7] <= '9') + { + char *p , *q; + + p = strdup (os_dev + sizeof ("/dev/md") - 1); + + q = strchr (p, 'p'); + if (q) + *q = ','; + + grub_dev = xasprintf ("md%s", p); + free (p); + } + else if (os_dev[7] == '/' && os_dev[8] >= '0' && os_dev[8] <= '9') + { + char *p , *q; + + p = strdup (os_dev + sizeof ("/dev/md/") - 1); + + q = strchr (p, 'p'); + if (q) + *q = ','; + + grub_dev = xasprintf ("md%s", p); + free (p); + } + else if (os_dev[7] == '/') + { + /* mdraid 1.x with a free name. */ + char *p , *q; + + p = strdup (os_dev + sizeof ("/dev/md/") - 1); + + q = strchr (p, 'p'); + if (q) + *q = ','; + + grub_dev = xasprintf ("md/%s", p); + free (p); + } + else + grub_util_error ("unknown kind of RAID device `%s'", os_dev); + +#ifdef __linux__ + { + char *mdadm_name = get_mdadm_uuid (os_dev); + struct stat st; + + if (mdadm_name) + { + const char *q; + + for (q = os_dev + strlen (os_dev) - 1; q >= os_dev + && grub_isdigit (*q); q--); + + if (q >= os_dev && *q == 'p') + { + free (grub_dev); + grub_dev = xasprintf ("mduuid/%s,%s", mdadm_name, q + 1); + goto done; + } + free (grub_dev); + grub_dev = xasprintf ("mduuid/%s", mdadm_name); + + done: + free (mdadm_name); + } + } +#endif /* __linux__ */ + + break; + + default: /* GRUB_DEV_ABSTRACTION_NONE */ + grub_dev = grub_util_biosdisk_get_grub_dev (os_dev); + } + + return grub_dev; +} + +const char * +grub_util_check_block_device (const char *blk_dev) +{ + struct stat st; + + if (stat (blk_dev, &st) < 0) + grub_util_error ("cannot stat `%s'", blk_dev); + + if (S_ISBLK (st.st_mode)) + return (blk_dev); + else + return 0; +} + +const char * +grub_util_check_char_device (const char *blk_dev) +{ + struct stat st; + + if (stat (blk_dev, &st) < 0) + grub_util_error ("cannot stat `%s'", blk_dev); + + if (S_ISCHR (st.st_mode)) + return (blk_dev); + else + return 0; +} diff --git a/grub-core/kern/emu/hostdisk.c b/grub-core/kern/emu/hostdisk.c new file mode 100644 index 0000000..feb2a8f --- /dev/null +++ b/grub-core/kern/emu/hostdisk.c @@ -0,0 +1,1776 @@ +/* hostdisk.c - emulate biosdisk */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef __linux__ +# include /* ioctl */ +# if !defined(__GLIBC__) || \ + ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))) +/* Maybe libc doesn't have large file support. */ +# include /* _llseek */ +# endif /* (GLIBC < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR < 1)) */ +# ifndef BLKFLSBUF +# define BLKFLSBUF _IO (0x12,97) /* flush buffer cache */ +# endif /* ! BLKFLSBUF */ +# include /* ioctl */ +# ifndef HDIO_GETGEO +# define HDIO_GETGEO 0x0301 /* get device geometry */ +/* If HDIO_GETGEO is not defined, it is unlikely that hd_geometry is + defined. */ +struct hd_geometry +{ + unsigned char heads; + unsigned char sectors; + unsigned short cylinders; + unsigned long start; +}; +# endif /* ! HDIO_GETGEO */ +# ifndef BLKGETSIZE64 +# define BLKGETSIZE64 _IOR(0x12,114,size_t) /* return device size */ +# endif /* ! BLKGETSIZE64 */ +# ifndef MAJOR +# ifndef MINORBITS +# define MINORBITS 8 +# endif /* ! MINORBITS */ +# define MAJOR(dev) ((unsigned) ((dev) >> MINORBITS)) +# endif /* ! MAJOR */ +# ifndef FLOPPY_MAJOR +# define FLOPPY_MAJOR 2 +# endif /* ! FLOPPY_MAJOR */ +# ifndef LOOP_MAJOR +# define LOOP_MAJOR 7 +# endif /* ! LOOP_MAJOR */ +#endif /* __linux__ */ + +#ifdef __CYGWIN__ +# include +# include /* BLKGETSIZE64 */ +# include /* HDIO_GETGEO */ +# define MAJOR(dev) ((unsigned) ((dev) >> 16)) +# define FLOPPY_MAJOR 2 +#endif + +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +# include /* DIOCGMEDIASIZE */ +# include +# include +# define MAJOR(dev) major(dev) +# define FLOPPY_MAJOR 2 +#endif + +#if defined(__APPLE__) +# include +#endif + +#ifdef HAVE_DEVICE_MAPPER +# include +#endif + +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include +#elif defined(__NetBSD__) +# define HAVE_DIOCGDINFO +# include +# include /* struct disklabel */ +#else /* !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) */ +# undef HAVE_DIOCGDINFO +#endif /* defined(__NetBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) */ + +#if defined(__NetBSD__) +# ifdef HAVE_GETRAWPARTITION +# include /* getrawpartition */ +# endif /* HAVE_GETRAWPARTITION */ +# include +# ifndef FLOPPY_MAJOR +# define FLOPPY_MAJOR 2 +# endif /* ! FLOPPY_MAJOR */ +# ifndef RAW_FLOPPY_MAJOR +# define RAW_FLOPPY_MAJOR 9 +# endif /* ! RAW_FLOPPY_MAJOR */ +#endif /* defined(__NetBSD__) */ + +struct +{ + char *drive; + char *device; +} map[256]; + +struct grub_util_biosdisk_data +{ + char *dev; + int access_mode; + int fd; + int is_disk; +}; + +#ifdef __linux__ +/* Check if we have devfs support. */ +static int +have_devfs (void) +{ + static int dev_devfsd_exists = -1; + + if (dev_devfsd_exists < 0) + { + struct stat st; + + dev_devfsd_exists = stat ("/dev/.devfsd", &st) == 0; + } + + return dev_devfsd_exists; +} +#endif /* __linux__ */ + +#if defined(__NetBSD__) +/* Adjust device driver parameters. This function should be called just + after successfully opening the device. For now, it simply prevents the + floppy driver from retrying operations on failure, as otherwise the + driver takes a while to abort when there is no floppy in the drive. */ +static void +configure_device_driver (int fd) +{ + struct stat st; + + if (fstat (fd, &st) < 0 || ! S_ISCHR (st.st_mode)) + return; + if (major(st.st_rdev) == RAW_FLOPPY_MAJOR) + { + int floppy_opts; + + if (ioctl (fd, FDIOCGETOPTS, &floppy_opts) == -1) + return; + floppy_opts |= FDOPT_NORETRY; + if (ioctl (fd, FDIOCSETOPTS, &floppy_opts) == -1) + return; + } +} +#endif /* defined(__NetBSD__) */ + +static int +find_grub_drive (const char *name) +{ + unsigned int i; + + if (name) + { + for (i = 0; i < ARRAY_SIZE (map); i++) + if (map[i].drive && ! strcmp (map[i].drive, name)) + return i; + } + + return -1; +} + +static int +find_free_slot (void) +{ + unsigned int i; + + for (i = 0; i < sizeof (map) / sizeof (map[0]); i++) + if (! map[i].drive) + return i; + + return -1; +} + +static int +grub_util_biosdisk_iterate (int (*hook) (const char *name)) +{ + unsigned i; + + for (i = 0; i < sizeof (map) / sizeof (map[0]); i++) + if (map[i].drive && hook (map[i].drive)) + return 1; + + return 0; +} + +static grub_err_t +grub_util_biosdisk_open (const char *name, grub_disk_t disk) +{ + int drive; + struct stat st; + struct grub_util_biosdisk_data *data; + + drive = find_grub_drive (name); + if (drive < 0) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "no mapping exists for `%s'", name); + + disk->id = drive; + disk->data = data = xmalloc (sizeof (struct grub_util_biosdisk_data)); + data->dev = NULL; + data->access_mode = 0; + data->fd = -1; + data->is_disk = 0; + + /* Get the size. */ +#if defined(__MINGW32__) + { + grub_uint64_t size; + + size = grub_util_get_disk_size (map[drive].device); + + if (size % 512) + grub_util_error ("unaligned device size"); + + disk->total_sectors = size >> 9; + + grub_util_info ("the size of %s is %llu", name, disk->total_sectors); + + return GRUB_ERR_NONE; + } +#elif defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \ + defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__NetBSD__) + { +# if defined(__NetBSD__) + struct disklabel label; +# else + unsigned long long nr; +# endif + int fd; + + fd = open (map[drive].device, O_RDONLY); + if (fd == -1) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "cannot open `%s' while attempting to get disk size", map[drive].device); + +# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__NetBSD__) + if (fstat (fd, &st) < 0 || ! S_ISCHR (st.st_mode)) +# else + if (fstat (fd, &st) < 0 || ! S_ISBLK (st.st_mode)) +# endif + { + close (fd); + goto fail; + } + data->is_disk = 1; + +# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + if (ioctl (fd, DIOCGMEDIASIZE, &nr)) +# elif defined(__APPLE__) + if (ioctl (fd, DKIOCGETBLOCKCOUNT, &nr)) +# elif defined(__NetBSD__) + configure_device_driver (fd); + if (ioctl (fd, DIOCGDINFO, &label) == -1) +# else + if (ioctl (fd, BLKGETSIZE64, &nr)) +# endif + { + close (fd); + goto fail; + } + + close (fd); + +# if defined (__APPLE__) + disk->total_sectors = nr; +# elif defined(__NetBSD__) + disk->total_sectors = label.d_secperunit; +# else + disk->total_sectors = nr / 512; + + if (nr % 512) + grub_util_error ("unaligned device size"); +# endif + + grub_util_info ("the size of %s is %llu", name, disk->total_sectors); + + return GRUB_ERR_NONE; + } + + fail: + /* In GNU/Hurd, stat() will return the right size. */ +#elif !defined (__GNU__) +# warning "No special routine to get the size of a block device is implemented for your OS. This is not possibly fatal." +#endif + if (stat (map[drive].device, &st) < 0) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "cannot stat `%s'", map[drive].device); + + disk->total_sectors = st.st_size >> GRUB_DISK_SECTOR_BITS; + + grub_util_info ("the size of %s is %lu", name, disk->total_sectors); + + return GRUB_ERR_NONE; +} + +#ifdef HAVE_DEVICE_MAPPER +static int +device_is_mapped (const char *dev) +{ + struct stat st; + + if (stat (dev, &st) < 0) + return 0; + + return dm_is_dm_major (major (st.st_rdev)); +} +#endif /* HAVE_DEVICE_MAPPER */ + +#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) +/* FIXME: geom actually gives us the whole container hierarchy. + It can be used more efficiently than this. */ +static void +follow_geom_up (const char *name, grub_disk_addr_t *off_out, char **name_out) +{ + struct gmesh mesh; + struct gclass *class; + int error; + struct ggeom *geom; + + grub_util_info ("following geom '%s'", name); + + error = geom_gettree (&mesh); + if (error != 0) + grub_util_error ("couldn't open geom"); + + LIST_FOREACH (class, &mesh.lg_class, lg_class) + if (strcasecmp (class->lg_name, "part") == 0) + break; + if (!class) + grub_util_error ("couldn't open geom part"); + + LIST_FOREACH (geom, &class->lg_geom, lg_geom) + { + struct gprovider *provider; + LIST_FOREACH (provider, &geom->lg_provider, lg_provider) + if (strcmp (provider->lg_name, name) == 0) + { + char *name_tmp = xstrdup (geom->lg_name); + grub_disk_addr_t off = 0; + struct gconfig *config; + grub_util_info ("geom '%s' has parent '%s'", name, geom->lg_name); + + follow_geom_up (name_tmp, &off, name_out); + free (name_tmp); + LIST_FOREACH (config, &provider->lg_config, lg_config) + if (strcasecmp (config->lg_name, "start") == 0) + off += strtoull (config->lg_val, 0, 10); + if (off_out) + *off_out = off; + return; + } + } + grub_util_info ("geom '%s' has no parent", name); + if (name_out) + *name_out = xstrdup (name); + if (off_out) + *off_out = 0; +} + +static grub_disk_addr_t +find_partition_start (const char *dev) +{ + grub_disk_addr_t out; + if (strncmp (dev, "/dev/", sizeof ("/dev/") - 1) != 0) + return 0; + follow_geom_up (dev + sizeof ("/dev/") - 1, &out, NULL); + + return out; +} +#elif defined(__linux__) || defined(__CYGWIN__) || defined(HAVE_DIOCGDINFO) +static grub_disk_addr_t +find_partition_start (const char *dev) +{ + int fd; +# if !defined(HAVE_DIOCGDINFO) + struct hd_geometry hdg; +# else /* defined(HAVE_DIOCGDINFO) */ + struct disklabel label; + int p_index; +# endif /* !defined(HAVE_DIOCGDINFO) */ + +# ifdef HAVE_DEVICE_MAPPER + if (grub_device_mapper_supported () && device_is_mapped (dev)) { + struct dm_task *task = NULL; + grub_uint64_t start, length; + char *target_type, *params, *space; + grub_disk_addr_t partition_start; + + /* If any device-mapper operation fails, we fall back silently to + HDIO_GETGEO. */ + task = dm_task_create (DM_DEVICE_TABLE); + if (! task) + { + grub_dprintf ("hostdisk", "dm_task_create failed\n"); + goto devmapper_fail; + } + + if (! dm_task_set_name (task, dev)) + { + grub_dprintf ("hostdisk", "dm_task_set_name failed\n"); + goto devmapper_fail; + } + + if (! dm_task_run (task)) + { + grub_dprintf ("hostdisk", "dm_task_run failed\n"); + goto devmapper_fail; + } + + dm_get_next_target (task, NULL, &start, &length, &target_type, ¶ms); + if (! target_type) + { + grub_dprintf ("hostdisk", "no dm target\n"); + goto devmapper_fail; + } + if (strcmp (target_type, "linear") != 0) + { + grub_dprintf ("hostdisk", "ignoring dm target %s (not linear)\n", + target_type); + goto devmapper_fail; + } + if (! params) + { + grub_dprintf ("hostdisk", "no dm params\n"); + goto devmapper_fail; + } + + /* The params string for a linear target looks like this: + DEVICE-NAME START-SECTOR + Parse this out. */ + space = strchr (params, ' '); + if (! space) + goto devmapper_fail; + errno = 0; + partition_start = strtoull (space + 1, NULL, 10); + if (errno == 0) + { + grub_dprintf ("hostdisk", "dm %s starts at %llu\n", + dev, (unsigned long long) partition_start); + dm_task_destroy (task); + return partition_start; + } + +devmapper_fail: + if (task) + dm_task_destroy (task); + } +# endif /* HAVE_DEVICE_MAPPER */ + + fd = open (dev, O_RDONLY); + if (fd == -1) + { + grub_error (GRUB_ERR_BAD_DEVICE, +# if !defined(HAVE_DIOCGDINFO) + "cannot open `%s' while attempting to get disk geometry", dev); +# else /* defined(HAVE_DIOCGDINFO) */ + "cannot open `%s' while attempting to get disk label", dev); +# endif /* !defined(HAVE_DIOCGDINFO) */ + return 0; + } + +# if !defined(HAVE_DIOCGDINFO) + if (ioctl (fd, HDIO_GETGEO, &hdg)) +# else /* defined(HAVE_DIOCGDINFO) */ +# if defined(__NetBSD__) + configure_device_driver (fd); +# endif /* defined(__NetBSD__) */ + if (ioctl (fd, DIOCGDINFO, &label) == -1) +# endif /* !defined(HAVE_DIOCGDINFO) */ + { + grub_error (GRUB_ERR_BAD_DEVICE, +# if !defined(HAVE_DIOCGDINFO) + "cannot get disk geometry of `%s'", dev); +# else /* defined(HAVE_DIOCGDINFO) */ + "cannot get disk label of `%s'", dev); +# endif /* !defined(HAVE_DIOCGDINFO) */ + close (fd); + return 0; + } + + close (fd); + +# if !defined(HAVE_DIOCGDINFO) + return hdg.start; +# else /* defined(HAVE_DIOCGDINFO) */ + if (dev[0]) + p_index = dev[strlen(dev) - 1] - 'a'; + else + p_index = -1; + + if (p_index >= label.d_npartitions || p_index < 0) + { + grub_error (GRUB_ERR_BAD_DEVICE, + "no disk label entry for `%s'", dev); + return 0; + } + return (grub_disk_addr_t) label.d_partitions[p_index].p_offset; +# endif /* !defined(HAVE_DIOCGDINFO) */ +} +#endif /* __linux__ || __CYGWIN__ || HAVE_DIOCGDINFO */ + +#ifdef __linux__ +/* Cache of partition start sectors for each disk. */ +struct linux_partition_cache +{ + struct linux_partition_cache *next; + char *dev; + unsigned long start; + int partno; +}; + +struct linux_partition_cache *linux_partition_cache_list; + +static int +linux_find_partition (char *dev, grub_disk_addr_t sector) +{ + size_t len = strlen (dev); + const char *format; + char *p; + int i; + char real_dev[PATH_MAX]; + struct linux_partition_cache *cache; + + strcpy(real_dev, dev); + + if (have_devfs () && strcmp (real_dev + len - 5, "/disc") == 0) + { + p = real_dev + len - 4; + format = "part%d"; + } + else if (real_dev[len - 1] >= '0' && real_dev[len - 1] <= '9') + { + p = real_dev + len; + format = "p%d"; + } + else + { + p = real_dev + len; + format = "%d"; + } + + for (cache = linux_partition_cache_list; cache; cache = cache->next) + { + if (strcmp (cache->dev, dev) == 0 && cache->start == sector) + { + sprintf (p, format, cache->partno); + strcpy (dev, real_dev); + return 1; + } + } + + for (i = 1; i < 10000; i++) + { + int fd; + grub_disk_addr_t start; + + sprintf (p, format, i); + + fd = open (real_dev, O_RDONLY); + if (fd == -1) + continue; + close (fd); + + start = find_partition_start (real_dev); + /* We don't care about errors here. */ + grub_errno = GRUB_ERR_NONE; + + if (start == sector) + { + struct linux_partition_cache *new_cache_item; + + new_cache_item = xmalloc (sizeof *new_cache_item); + new_cache_item->dev = xstrdup (dev); + new_cache_item->start = start; + new_cache_item->partno = i; + grub_list_push (GRUB_AS_LIST_P (&linux_partition_cache_list), + GRUB_AS_LIST (new_cache_item)); + + strcpy (dev, real_dev); + return 1; + } + } + + return 0; +} +#endif /* __linux__ */ + +static int +open_device (const grub_disk_t disk, grub_disk_addr_t sector, int flags) +{ + int fd; + struct grub_util_biosdisk_data *data = disk->data; + +#ifdef O_LARGEFILE + flags |= O_LARGEFILE; +#endif +#ifdef O_SYNC + flags |= O_SYNC; +#endif +#ifdef O_FSYNC + flags |= O_FSYNC; +#endif +#ifdef O_BINARY + flags |= O_BINARY; +#endif + +#ifdef __linux__ + /* Linux has a bug that the disk cache for a whole disk is not consistent + with the one for a partition of the disk. */ + { + int is_partition = 0; + char dev[PATH_MAX]; + grub_disk_addr_t part_start = 0; + + part_start = grub_partition_get_start (disk->partition); + + strcpy (dev, map[disk->id].device); + if (disk->partition && sector >= part_start + && strncmp (map[disk->id].device, "/dev/", 5) == 0) + is_partition = linux_find_partition (dev, part_start); + + if (data->dev && strcmp (data->dev, dev) == 0 && + data->access_mode == (flags & O_ACCMODE)) + { + grub_dprintf ("hostdisk", "reusing open device `%s'\n", dev); + fd = data->fd; + } + else + { + free (data->dev); + if (data->fd != -1) + { + if (data->access_mode == O_RDWR || data->access_mode == O_WRONLY) + { + fsync (data->fd); +#ifdef __linux__ + if (data->is_disk) + ioctl (data->fd, BLKFLSBUF, 0); +#endif + } + + close (data->fd); + data->fd = -1; + } + + /* Open the partition. */ + grub_dprintf ("hostdisk", "opening the device `%s' in open_device()\n", dev); + fd = open (dev, flags); + if (fd < 0) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot open `%s'", dev); + return -1; + } + + data->dev = xstrdup (dev); + data->access_mode = (flags & O_ACCMODE); + data->fd = fd; + } + + if (is_partition) + sector -= part_start; + } +#else /* ! __linux__ */ +#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) + int sysctl_flags, sysctl_oldflags; + size_t sysctl_size = sizeof (sysctl_flags); + + if (sysctlbyname ("kern.geom.debugflags", &sysctl_oldflags, &sysctl_size, NULL, 0)) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot get current flags of sysctl kern.geom.debugflags"); + return -1; + } + sysctl_flags = sysctl_oldflags | 0x10; + if (! (sysctl_oldflags & 0x10) + && sysctlbyname ("kern.geom.debugflags", NULL , 0, &sysctl_flags, sysctl_size)) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot set flags of sysctl kern.geom.debugflags"); + return -1; + } +#endif + + if (data->dev && strcmp (data->dev, map[disk->id].device) == 0 && + data->access_mode == (flags & O_ACCMODE)) + { + grub_dprintf ("hostdisk", "reusing open device `%s'\n", data->dev); + fd = data->fd; + } + else + { + free (data->dev); + if (data->fd != -1) + { + if (data->access_mode == O_RDWR || data->access_mode == O_WRONLY) + { + fsync (data->fd); +#ifdef __linux__ + if (data->is_disk) + ioctl (data->fd, BLKFLSBUF, 0); +#endif + } + close (data->fd); + data->fd = -1; + } + + fd = open (map[disk->id].device, flags); + if (fd >= 0) + { + data->dev = xstrdup (map[disk->id].device); + data->access_mode = (flags & O_ACCMODE); + data->fd = fd; + } + } + +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + if (! (sysctl_oldflags & 0x10) + && sysctlbyname ("kern.geom.debugflags", NULL , 0, &sysctl_oldflags, sysctl_size)) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot set flags back to the old value for sysctl kern.geom.debugflags"); + return -1; + } +#endif + +#if defined(__APPLE__) + /* If we can't have exclusive access, try shared access */ + if (fd < 0) + fd = open(map[disk->id].device, flags | O_SHLOCK); +#endif + + if (fd < 0) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot open `%s' in open_device()", map[disk->id].device); + return -1; + } +#endif /* ! __linux__ */ + +#if defined(__NetBSD__) + configure_device_driver (fd); +#endif /* defined(__NetBSD__) */ + +#if defined(__linux__) && (!defined(__GLIBC__) || \ + ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1)))) + /* Maybe libc doesn't have large file support. */ + { + loff_t offset, result; + static int _llseek (uint filedes, ulong hi, ulong lo, + loff_t *res, uint wh); + _syscall5 (int, _llseek, uint, filedes, ulong, hi, ulong, lo, + loff_t *, res, uint, wh); + + offset = (loff_t) sector << GRUB_DISK_SECTOR_BITS; + if (_llseek (fd, offset >> 32, offset & 0xffffffff, &result, SEEK_SET)) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot seek `%s'", map[disk->id].device); + close (fd); + return -1; + } + } +#else + { + off_t offset = (off_t) sector << GRUB_DISK_SECTOR_BITS; + + if (lseek (fd, offset, SEEK_SET) != offset) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot seek `%s'", map[disk->id].device); + close (fd); + return -1; + } + } +#endif + + return fd; +} + +/* Read LEN bytes from FD in BUF. Return less than or equal to zero if an + error occurs, otherwise return LEN. */ +static ssize_t +nread (int fd, char *buf, size_t len) +{ + ssize_t size = len; + + while (len) + { + ssize_t ret = read (fd, buf, len); + + if (ret <= 0) + { + if (errno == EINTR) + continue; + else + return ret; + } + + len -= ret; + buf += ret; + } + + return size; +} + +/* Write LEN bytes from BUF to FD. Return less than or equal to zero if an + error occurs, otherwise return LEN. */ +static ssize_t +nwrite (int fd, const char *buf, size_t len) +{ + ssize_t size = len; + + while (len) + { + ssize_t ret = write (fd, buf, len); + + if (ret <= 0) + { + if (errno == EINTR) + continue; + else + return ret; + } + + len -= ret; + buf += ret; + } + + return size; +} + +static grub_err_t +grub_util_biosdisk_read (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, char *buf) +{ + int fd; + + /* Split pre-partition and partition reads. */ + if (disk->partition && sector < disk->partition->start + && sector + size > disk->partition->start) + { + grub_err_t err; + err = grub_util_biosdisk_read (disk, sector, + disk->partition->start - sector, + buf); + if (err) + return err; + + return grub_util_biosdisk_read (disk, disk->partition->start, + size - (disk->partition->start - sector), + buf + ((disk->partition->start - sector) + << GRUB_DISK_SECTOR_BITS)); + } + + fd = open_device (disk, sector, O_RDONLY); + if (fd < 0) + return grub_errno; + +#ifdef __linux__ + if (sector == 0 && size > 1) + { + /* Work around a bug in Linux ez remapping. Linux remaps all + sectors that are read together with the MBR in one read. It + should only remap the MBR, so we split the read in two + parts. -jochen */ + if (nread (fd, buf, GRUB_DISK_SECTOR_SIZE) != GRUB_DISK_SECTOR_SIZE) + { + grub_error (GRUB_ERR_READ_ERROR, "cannot read `%s'", map[disk->id].device); + return grub_errno; + } + + buf += GRUB_DISK_SECTOR_SIZE; + size--; + } +#endif /* __linux__ */ + + if (nread (fd, buf, size << GRUB_DISK_SECTOR_BITS) + != (ssize_t) (size << GRUB_DISK_SECTOR_BITS)) + grub_error (GRUB_ERR_READ_ERROR, "cannot read from `%s'", map[disk->id].device); + + return grub_errno; +} + +static grub_err_t +grub_util_biosdisk_write (grub_disk_t disk, grub_disk_addr_t sector, + grub_size_t size, const char *buf) +{ + int fd; + + /* Split pre-partition and partition writes. */ + if (disk->partition && sector < disk->partition->start + && sector + size > disk->partition->start) + { + grub_err_t err; + err = grub_util_biosdisk_write (disk, sector, + disk->partition->start - sector, + buf); + if (err) + return err; + + return grub_util_biosdisk_write (disk, disk->partition->start, + size - (disk->partition->start - sector), + buf + ((disk->partition->start - sector) + << GRUB_DISK_SECTOR_BITS)); + } + + fd = open_device (disk, sector, O_WRONLY); + if (fd < 0) + return grub_errno; + + if (nwrite (fd, buf, size << GRUB_DISK_SECTOR_BITS) + != (ssize_t) (size << GRUB_DISK_SECTOR_BITS)) + grub_error (GRUB_ERR_WRITE_ERROR, "cannot write to `%s'", map[disk->id].device); + + return grub_errno; +} + +grub_err_t +grub_util_biosdisk_flush (struct grub_disk *disk) +{ + struct grub_util_biosdisk_data *data = disk->data; + + if (disk->dev->id != GRUB_DISK_DEVICE_BIOSDISK_ID) + return GRUB_ERR_NONE; + if (data->fd == -1) + { + data->fd = open_device (disk, 0, O_RDONLY); + if (data->fd < 0) + return grub_errno; + } + fsync (data->fd); +#ifdef __linux__ + if (data->is_disk) + ioctl (data->fd, BLKFLSBUF, 0); +#endif + return GRUB_ERR_NONE; +} + +static void +grub_util_biosdisk_close (struct grub_disk *disk) +{ + struct grub_util_biosdisk_data *data = disk->data; + + free (data->dev); + if (data->fd != -1) + { + if (data->access_mode == O_RDWR || data->access_mode == O_WRONLY) + grub_util_biosdisk_flush (disk); + close (data->fd); + } + free (data); +} + +static struct grub_disk_dev grub_util_biosdisk_dev = + { + .name = "biosdisk", + .id = GRUB_DISK_DEVICE_BIOSDISK_ID, + .iterate = grub_util_biosdisk_iterate, + .open = grub_util_biosdisk_open, + .close = grub_util_biosdisk_close, + .read = grub_util_biosdisk_read, + .write = grub_util_biosdisk_write, + .next = 0 + }; + +static void +read_device_map (const char *dev_map) +{ + FILE *fp; + char buf[1024]; /* XXX */ + int lineno = 0; + struct stat st; + + auto void show_error (const char *msg); + void show_error (const char *msg) + { + grub_util_error ("%s:%d: %s", dev_map, lineno, msg); + } + + fp = fopen (dev_map, "r"); + if (! fp) + { + grub_util_info (_("cannot open `%s'"), dev_map); + return; + } + + while (fgets (buf, sizeof (buf), fp)) + { + char *p = buf; + char *e; + int drive; + + lineno++; + + /* Skip leading spaces. */ + while (*p && isspace (*p)) + p++; + + /* If the first character is `#' or NUL, skip this line. */ + if (*p == '\0' || *p == '#') + continue; + + if (*p != '(') + show_error ("No open parenthesis found"); + + p++; + /* Find a free slot. */ + drive = find_free_slot (); + if (drive < 0) + show_error ("Map table size exceeded"); + + e = p; + p = strchr (p, ')'); + if (! p) + show_error ("No close parenthesis found"); + + map[drive].drive = xmalloc (p - e + sizeof ('\0')); + strncpy (map[drive].drive, e, p - e + sizeof ('\0')); + map[drive].drive[p - e] = '\0'; + + p++; + /* Skip leading spaces. */ + while (*p && isspace (*p)) + p++; + + if (*p == '\0') + show_error ("No filename found"); + + /* NUL-terminate the filename. */ + e = p; + while (*e && ! isspace (*e)) + e++; + *e = '\0'; + +#ifdef __MINGW32__ + (void) st; + if (grub_util_get_disk_size (p) == -1LL) +#else + if (stat (p, &st) == -1) +#endif + { + free (map[drive].drive); + map[drive].drive = NULL; + grub_util_info ("Cannot stat `%s', skipping", p); + continue; + } + +#ifdef __linux__ + /* On Linux, the devfs uses symbolic links horribly, and that + confuses the interface very much, so use realpath to expand + symbolic links. Leave /dev/mapper/ alone, though. */ + if (strncmp (p, "/dev/mapper/", 12) != 0) + { + map[drive].device = xmalloc (PATH_MAX); + if (! realpath (p, map[drive].device)) + grub_util_error ("cannot get the real path of `%s'", p); + } + else +#endif + map[drive].device = xstrdup (p); + } + + fclose (fp); +} + +void +grub_util_biosdisk_init (const char *dev_map) +{ + read_device_map (dev_map); + grub_disk_dev_register (&grub_util_biosdisk_dev); +} + +void +grub_util_biosdisk_fini (void) +{ + unsigned i; + + for (i = 0; i < sizeof (map) / sizeof (map[0]); i++) + { + if (map[i].drive) + free (map[i].drive); + if (map[i].device) + free (map[i].device); + map[i].drive = map[i].device = NULL; + } + + grub_disk_dev_unregister (&grub_util_biosdisk_dev); +} + +/* + * Note: we do not use the new partition naming scheme as dos_part does not + * necessarily correspond to an msdos partition. + */ +static char * +make_device_name (int drive, int dos_part, int bsd_part) +{ + char *ret; + char *dos_part_str = NULL; + char *bsd_part_str = NULL; + + if (dos_part >= 0) + dos_part_str = xasprintf (",%d", dos_part + 1); + + if (bsd_part >= 0) + bsd_part_str = xasprintf (",%d", bsd_part + 1); + + ret = xasprintf ("%s%s%s", map[drive].drive, + dos_part_str ? : "", + bsd_part_str ? : ""); + + if (dos_part_str) + free (dos_part_str); + + if (bsd_part_str) + free (bsd_part_str); + + return ret; +} + +static char * +convert_system_partition_to_system_disk (const char *os_dev, struct stat *st) +{ +#if defined(__linux__) + char *path = xmalloc (PATH_MAX); + if (! realpath (os_dev, path)) + return NULL; + + if (strncmp ("/dev/", path, 5) == 0) + { + char *p = path + 5; + + /* If this is an IDE disk. */ + if (strncmp ("ide/", p, 4) == 0) + { + p = strstr (p, "part"); + if (p) + strcpy (p, "disc"); + + return path; + } + + /* If this is a SCSI disk. */ + if (strncmp ("scsi/", p, 5) == 0) + { + p = strstr (p, "part"); + if (p) + strcpy (p, "disc"); + + return path; + } + + /* If this is a DAC960 disk. */ + if (strncmp ("rd/c", p, 4) == 0) + { + /* /dev/rd/c[0-9]+d[0-9]+(p[0-9]+)? */ + p = strchr (p, 'p'); + if (p) + *p = '\0'; + + return path; + } + + /* If this is a Mylex AcceleRAID Array. */ + if (strncmp ("rs/c", p, 4) == 0) + { + /* /dev/rd/c[0-9]+d[0-9]+(p[0-9]+)? */ + p = strchr (p, 'p'); + if (p) + *p = '\0'; + + return path; + } + /* If this is a CCISS disk. */ + if (strncmp ("cciss/c", p, sizeof ("cciss/c") - 1) == 0) + { + /* /dev/cciss/c[0-9]+d[0-9]+(p[0-9]+)? */ + p = strchr (p, 'p'); + if (p) + *p = '\0'; + + return path; + } + + /* If this is a Compaq Intelligent Drive Array. */ + if (strncmp ("ida/c", p, sizeof ("ida/c") - 1) == 0) + { + /* /dev/ida/c[0-9]+d[0-9]+(p[0-9]+)? */ + p = strchr (p, 'p'); + if (p) + *p = '\0'; + + return path; + } + + /* If this is an I2O disk. */ + if (strncmp ("i2o/hd", p, sizeof ("i2o/hd") - 1) == 0) + { + /* /dev/i2o/hd[a-z]([0-9]+)? */ + p[sizeof ("i2o/hda") - 1] = '\0'; + return path; + } + + /* If this is a MultiMediaCard (MMC). */ + if (strncmp ("mmcblk", p, sizeof ("mmcblk") - 1) == 0) + { + /* /dev/mmcblk[0-9]+(p[0-9]+)? */ + p = strchr (p, 'p'); + if (p) + *p = '\0'; + + return path; + } + + if (strncmp ("md", p, 2) == 0 + && p[2] >= '0' && p[2] <= '9') + { + char *ptr = p + 2; + while (*ptr >= '0' && *ptr <= '9') + ptr++; + *ptr = 0; + return path; + } + + /* If this is an IDE, SCSI or Virtio disk. */ + if (strncmp ("vdisk", p, 5) == 0 + && p[5] >= 'a' && p[5] <= 'z') + { + /* /dev/vdisk[a-z][0-9]* */ + p[6] = '\0'; + return path; + } + if ((strncmp ("hd", p, 2) == 0 + || strncmp ("vd", p, 2) == 0 + || strncmp ("sd", p, 2) == 0) + && p[2] >= 'a' && p[2] <= 'z') + { + char *pp = p + 2; + while (*pp >= 'a' && *pp <= 'z') + pp++; + /* /dev/[hsv]d[a-z]+[0-9]* */ + *pp = '\0'; + return path; + } + + /* If this is a Xen virtual block device. */ + if ((strncmp ("xvd", p, 3) == 0) && p[3] >= 'a' && p[3] <= 'z') + { + char *pp = p + 3; + while (*pp >= 'a' && *pp <= 'z') + pp++; + /* /dev/xvd[a-z]+[0-9]* */ + *pp = '\0'; + return path; + } + +#ifdef HAVE_DEVICE_MAPPER + /* If this is a DM-RAID device. + Compare os_dev rather than path here, since nodes under + /dev/mapper/ are often symlinks. */ + if ((strncmp ("/dev/mapper/", os_dev, 12) == 0)) + { + struct dm_tree *tree; + uint32_t maj, min; + struct dm_tree_node *node = NULL, *child; + void *handle; + const char *node_uuid, *mapper_name = NULL, *child_uuid, *child_name; + + tree = dm_tree_create (); + if (! tree) + { + grub_dprintf ("hostdisk", "dm_tree_create failed\n"); + goto devmapper_out; + } + + maj = major (st->st_rdev); + min = minor (st->st_rdev); + if (! dm_tree_add_dev (tree, maj, min)) + { + grub_dprintf ("hostdisk", "dm_tree_add_dev failed\n"); + goto devmapper_out; + } + + node = dm_tree_find_node (tree, maj, min); + if (! node) + { + grub_dprintf ("hostdisk", "dm_tree_find_node failed\n"); + goto devmapper_out; + } + node_uuid = dm_tree_node_get_uuid (node); + if (! node_uuid) + { + grub_dprintf ("hostdisk", "%s has no DM uuid\n", path); + node = NULL; + goto devmapper_out; + } + else if (strncmp (node_uuid, "DMRAID-", 7) != 0) + { + grub_dprintf ("hostdisk", "%s is not DM-RAID\n", path); + node = NULL; + goto devmapper_out; + } + + handle = NULL; + /* Counter-intuitively, device-mapper refers to the disk-like + device containing a DM-RAID partition device as a "child" of + the partition device. */ + child = dm_tree_next_child (&handle, node, 0); + if (! child) + { + grub_dprintf ("hostdisk", "%s has no DM children\n", path); + goto devmapper_out; + } + child_uuid = dm_tree_node_get_uuid (child); + if (! child_uuid) + { + grub_dprintf ("hostdisk", "%s child has no DM uuid\n", path); + goto devmapper_out; + } + else if (strncmp (child_uuid, "DMRAID-", 7) != 0) + { + grub_dprintf ("hostdisk", "%s child is not DM-RAID\n", path); + goto devmapper_out; + } + child_name = dm_tree_node_get_name (child); + if (! child_name) + { + grub_dprintf ("hostdisk", "%s child has no DM name\n", path); + goto devmapper_out; + } + mapper_name = child_name; + +devmapper_out: + if (! mapper_name && node) + { + /* This is a DM-RAID disk, not a partition. */ + mapper_name = dm_tree_node_get_name (node); + if (! mapper_name) + grub_dprintf ("hostdisk", "%s has no DM name\n", path); + } + if (tree) + dm_tree_free (tree); + free (path); + if (mapper_name) + return xasprintf ("/dev/mapper/%s", mapper_name); + else + return NULL; + } +#endif /* HAVE_DEVICE_MAPPER */ + } + + return path; + +#elif defined(__GNU__) + char *path = xstrdup (os_dev); + if (strncmp ("/dev/sd", path, 7) == 0 || strncmp ("/dev/hd", path, 7) == 0) + { + char *p = strchr (path + 7, 's'); + if (p) + *p = '\0'; + } + return path; + +#elif defined(__CYGWIN__) + char *path = xstrdup (os_dev); + if (strncmp ("/dev/sd", path, 7) == 0 && 'a' <= path[7] && path[7] <= 'z') + path[8] = 0; + return path; + +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + char *out, *out2; + if (strncmp (os_dev, "/dev/", sizeof ("/dev/") - 1) != 0) + return xstrdup (os_dev); + follow_geom_up (os_dev + sizeof ("/dev/") - 1, NULL, &out); + + out2 = xasprintf ("/dev/%s", out); + free (out); + + return out2; +#elif defined(__APPLE__) + char *path = xstrdup (os_dev); + if (strncmp ("/dev/", path, 5) == 0) + { + char *p; + for (p = path + 5; *p; ++p) + if (grub_isdigit(*p)) + { + p = strpbrk (p, "sp"); + if (p) + *p = '\0'; + break; + } + } + return path; + +#elif defined(__NetBSD__) + /* NetBSD uses "/dev/r[a-z]+[0-9][a-z]". */ + char *path = xstrdup (os_dev); + if (strncmp ("/dev/r", path, sizeof("/dev/r") - 1) == 0 && + (path[sizeof("/dev/r") - 1] >= 'a' && path[sizeof("/dev/r") - 1] <= 'z') && + strncmp ("fd", path + sizeof("/dev/r") - 1, sizeof("fd") - 1) != 0) /* not a floppy device name */ + { + char *p; + for (p = path + sizeof("/dev/r"); *p >= 'a' && *p <= 'z'; p++); + if (grub_isdigit(*p)) + { + p++; + if ((*p >= 'a' && *p <= 'z') && (*(p+1) == '\0')) + { + /* path matches the required regular expression and + p points to its last character. */ + int rawpart = -1; +# ifdef HAVE_GETRAWPARTITION + rawpart = getrawpartition(); +# endif /* HAVE_GETRAWPARTITION */ + if (rawpart >= 0) + *p = 'a' + rawpart; + } + } + } + return path; + +#else +# warning "The function `convert_system_partition_to_system_disk' might not work on your OS correctly." + return xstrdup (os_dev); +#endif +} + +#if defined(__linux__) || defined(__CYGWIN__) +static int +device_is_wholedisk (const char *os_dev) +{ + int len = strlen (os_dev); + + if (os_dev[len - 1] < '0' || os_dev[len - 1] > '9') + return 1; + return 0; +} +#endif + +#if defined(__NetBSD__) +/* Try to determine whether a given device name corresponds to a whole disk. + This function should give in most cases a definite answer, but it may + actually give an approximate one in the following sense: if the return + value is 0 then the device name does not correspond to a whole disk. */ +static int +device_is_wholedisk (const char *os_dev) +{ + int len = strlen (os_dev); + int rawpart = -1; + +# ifdef HAVE_GETRAWPARTITION + rawpart = getrawpartition(); +# endif /* HAVE_GETRAWPARTITION */ + if (rawpart < 0) + return 1; + return (os_dev[len - 1] == ('a' + rawpart)); +} +#endif /* defined(__NetBSD__) */ + +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +static int +device_is_wholedisk (const char *os_dev) +{ + const char *p; + + if (strncmp (os_dev, "/dev/", sizeof ("/dev/") - 1) != 0) + return 0; + + for (p = os_dev + sizeof ("/dev/") - 1; *p; ++p) + if (grub_isdigit (*p)) + { + if (strchr (p, 's')) + return 0; + break; + } + + return 1; +} +#endif /* defined(__FreeBSD__) || defined(__FreeBSD_kernel__) */ + +static int +find_system_device (const char *os_dev, struct stat *st, int convert, int add) +{ + unsigned int i; + char *os_disk; + + if (convert) + os_disk = convert_system_partition_to_system_disk (os_dev, st); + else + os_disk = xstrdup (os_dev); + if (! os_disk) + return -1; + + for (i = 0; i < ARRAY_SIZE (map); i++) + if (! map[i].device) + break; + else if (strcmp (map[i].device, os_disk) == 0) + { + free (os_disk); + return i; + } + + if (!add) + return -1; + + if (i == ARRAY_SIZE (map)) + grub_util_error (_("device count exceeds limit")); + + map[i].device = os_disk; + map[i].drive = xstrdup (os_disk); + + return i; +} + +int +grub_util_biosdisk_is_present (const char *os_dev) +{ + struct stat st; + + if (stat (os_dev, &st) < 0) + return 0; + + return find_system_device (os_dev, &st, 1, 0) != -1; +} + +char * +grub_util_biosdisk_get_grub_dev (const char *os_dev) +{ + struct stat st; + int drive; + + if (stat (os_dev, &st) < 0) + { + grub_error (GRUB_ERR_BAD_DEVICE, "cannot stat `%s'", os_dev); + grub_util_info ("cannot stat `%s'", os_dev); + return 0; + } + + drive = find_system_device (os_dev, &st, 1, 1); + if (drive < 0) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "no mapping exists for `%s'", os_dev); + grub_util_info ("no mapping exists for `%s'", os_dev); + return 0; + } + + if (grub_strcmp (os_dev, + convert_system_partition_to_system_disk (os_dev, &st)) == 0) + return make_device_name (drive, -1, -1); + +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__NetBSD__) + if (! S_ISCHR (st.st_mode)) +#else + if (! S_ISBLK (st.st_mode)) +#endif + return make_device_name (drive, -1, -1); + +#if defined(__linux__) || defined(__CYGWIN__) || defined(HAVE_DIOCGDINFO) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + + /* Linux counts partitions uniformly, whether a BSD partition or a DOS + partition, so mapping them to GRUB devices is not trivial. + Here, get the start sector of a partition by HDIO_GETGEO, and + compare it with each partition GRUB recognizes. + + Cygwin /dev/sdXN emulation uses Windows partition mapping. It + does not count the extended partition and missing primary + partitions. Use same method as on Linux here. + + For NetBSD and FreeBSD, proceed as for Linux, except that the start + sector is obtained from the disk label. */ + { + char *name, *partname; + grub_disk_t disk; + grub_disk_addr_t start; + auto int find_partition (grub_disk_t dsk, + const grub_partition_t partition); + + int find_partition (grub_disk_t dsk __attribute__ ((unused)), + const grub_partition_t partition) + { + grub_disk_addr_t part_start = 0; + grub_util_info ("Partition %d starts from %lu", + partition->number, partition->start); + + part_start = grub_partition_get_start (partition); + + if (start == part_start) + { + partname = grub_partition_get_name (partition); + return 1; + } + + return 0; + } + + name = make_device_name (drive, -1, -1); + +# if !defined(HAVE_DIOCGDINFO) + if (MAJOR (st.st_rdev) == FLOPPY_MAJOR) + return name; +# else /* defined(HAVE_DIOCGDINFO) */ + /* Since os_dev and convert_system_partition_to_system_disk (os_dev) are + * different, we know that os_dev cannot be a floppy device. */ +# endif /* !defined(HAVE_DIOCGDINFO) */ + + start = find_partition_start (os_dev); + if (grub_errno != GRUB_ERR_NONE) + { + free (name); + return 0; + } + + grub_util_info ("%s starts from %lu", os_dev, start); + + if (start == 0 && device_is_wholedisk (os_dev)) + return name; + + grub_util_info ("opening the device %s", name); + disk = grub_disk_open (name); + free (name); + + if (! disk) + { + /* We already know that the partition exists. Given that we already + checked the device map above, we can only get + GRUB_ERR_UNKNOWN_DEVICE at this point if the disk does not exist. + This can happen on Xen, where disk images in the host can be + assigned to devices that have partition-like names in the guest + but are really more like disks. */ + if (grub_errno == GRUB_ERR_UNKNOWN_DEVICE) + { + grub_util_warn + ("disk does not exist, so falling back to partition device %s", + os_dev); + + drive = find_system_device (os_dev, &st, 0, 1); + if (drive < 0) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "no mapping exists for `%s'", os_dev); + return 0; + } + + return make_device_name (drive, -1, -1); + } + else + return 0; + } + + partname = NULL; + grub_partition_iterate (disk, find_partition); + if (grub_errno != GRUB_ERR_NONE) + { + grub_disk_close (disk); + return 0; + } + + if (partname == NULL) + { + grub_disk_close (disk); + grub_error (GRUB_ERR_BAD_DEVICE, + "cannot find the partition of `%s'", os_dev); + return 0; + } + + name = grub_xasprintf ("%s,%s", disk->name, partname); + free (partname); + return name; + } + +#elif defined(__GNU__) + /* GNU uses "/dev/[hs]d[0-9]+(s[0-9]+[a-z]?)?". */ + { + char *p; + int dos_part = -1; + int bsd_part = -1; + + p = strrchr (os_dev, 's'); + if (p) + { + long int n; + char *q; + + p++; + n = strtol (p, &q, 10); + if (p != q && n != GRUB_LONG_MIN && n != GRUB_LONG_MAX) + { + dos_part = (int) n - 1; + + if (*q >= 'a' && *q <= 'g') + bsd_part = *q - 'a'; + } + } + + return make_device_name (drive, dos_part, bsd_part); + } + +#else +# warning "The function `grub_util_biosdisk_get_grub_dev' might not work on your OS correctly." + return make_device_name (drive, -1, -1); +#endif +} + +const char * +grub_util_biosdisk_get_osdev (grub_disk_t disk) +{ + return map[disk->id].device; +} + +int +grub_util_biosdisk_is_floppy (grub_disk_t disk) +{ + struct stat st; + int fd; + + fd = open (map[disk->id].device, O_RDONLY); + /* Shouldn't happen. */ + if (fd == -1) + return 0; + + /* Shouldn't happen either. */ + if (fstat (fd, &st) < 0) + return 0; + +#if defined(__NetBSD__) + if (major(st.st_rdev) == RAW_FLOPPY_MAJOR) + return 1; +#endif + +#if defined(FLOPPY_MAJOR) + if (major(st.st_rdev) == FLOPPY_MAJOR) +#else + /* Some kernels (e.g. kFreeBSD) don't have a static major number + for floppies, but they still use a "fd[0-9]" pathname. */ + if (map[disk->id].device[5] == 'f' + && map[disk->id].device[6] == 'd' + && map[disk->id].device[7] >= '0' + && map[disk->id].device[7] <= '9') +#endif + return 1; + + return 0; +} diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c new file mode 100644 index 0000000..501ad46 --- /dev/null +++ b/grub-core/kern/emu/hostfs.c @@ -0,0 +1,175 @@ +/* hostfs.c - Dummy filesystem to provide access to the hosts filesystem */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +#define _BSD_SOURCE +#include +#include +#include +#include +#include +#include + +#include +#include +#include + + +/* dirent.d_type is a BSD extension, not part of POSIX */ +#include +#include + +static int +is_dir (const char *path, const char *name) +{ + int len1 = strlen(path); + int len2 = strlen(name); + + char pathname[len1 + 1 + len2 + 1 + 13]; + strcpy (pathname, path); + + /* Avoid UNC-path "//name" on Cygwin. */ + if (len1 > 0 && pathname[len1 - 1] != '/') + strcat (pathname, "/"); + + strcat (pathname, name); + + struct stat st; + if (stat (pathname, &st)) + return 0; + return S_ISDIR (st.st_mode); +} + +static grub_err_t +grub_hostfs_dir (grub_device_t device, const char *path, + int (*hook) (const char *filename, + const struct grub_dirhook_info *info)) +{ + DIR *dir; + + /* Check if the disk is our dummy disk. */ + if (grub_strcmp (device->disk->name, "host")) + return grub_error (GRUB_ERR_BAD_FS, "not a hostfs"); + + dir = opendir (path); + if (! dir) + return grub_error (GRUB_ERR_BAD_FILENAME, + "can't open the hostfs directory `%s'", path); + + while (1) + { + struct dirent *de; + struct grub_dirhook_info info; + grub_memset (&info, 0, sizeof (info)); + + de = readdir (dir); + if (! de) + break; + + info.dir = !! is_dir (path, de->d_name); + hook (de->d_name, &info); + + } + + closedir (dir); + + return GRUB_ERR_NONE; +} + +/* Open a file named NAME and initialize FILE. */ +static grub_err_t +grub_hostfs_open (struct grub_file *file, const char *name) +{ + FILE *f; + + f = fopen (name, "rb"); + if (! f) + return grub_error (GRUB_ERR_BAD_FILENAME, + "can't open `%s'", name); + file->data = f; + +#ifdef __MINGW32__ + file->size = grub_util_get_disk_size (name); +#else + fseeko (f, 0, SEEK_END); + file->size = ftello (f); + fseeko (f, 0, SEEK_SET); +#endif + + return GRUB_ERR_NONE; +} + +static grub_ssize_t +grub_hostfs_read (grub_file_t file, char *buf, grub_size_t len) +{ + FILE *f; + + f = (FILE *) file->data; + if (fseeko (f, file->offset, SEEK_SET) != 0) + { + grub_error (GRUB_ERR_OUT_OF_RANGE, "fseeko: %s", strerror (errno)); + return -1; + } + + unsigned int s = fread (buf, 1, len, f); + if (s != len) + grub_error (GRUB_ERR_FILE_READ_ERROR, "fread: %s", strerror (errno)); + + return (signed) s; +} + +static grub_err_t +grub_hostfs_close (grub_file_t file) +{ + FILE *f; + + f = (FILE *) file->data; + fclose (f); + + return GRUB_ERR_NONE; +} + +static grub_err_t +grub_hostfs_label (grub_device_t device __attribute ((unused)), + char **label __attribute ((unused))) +{ + *label = 0; + return GRUB_ERR_NONE; +} + +static struct grub_fs grub_hostfs_fs = + { + .name = "hostfs", + .dir = grub_hostfs_dir, + .open = grub_hostfs_open, + .read = grub_hostfs_read, + .close = grub_hostfs_close, + .label = grub_hostfs_label, + .next = 0 + }; + + + +GRUB_MOD_INIT(hostfs) +{ + grub_fs_register (&grub_hostfs_fs); +} + +GRUB_MOD_FINI(hostfs) +{ + grub_fs_unregister (&grub_hostfs_fs); +} diff --git a/grub-core/kern/emu/lite.c b/grub-core/kern/emu/lite.c new file mode 100644 index 0000000..32e12a0 --- /dev/null +++ b/grub-core/kern/emu/lite.c @@ -0,0 +1,45 @@ +#include +#include + +#ifndef GRUB_MACHINE_EMU +#error "This source is only meant for grub-emu platform" +#endif + +#if defined(__i386__) +#include "../i386/dl.c" +#elif defined(__x86_64__) +#include "../x86_64/dl.c" +#elif defined(__sparc__) +#include "../sparc64/dl.c" +#elif defined(__mips__) +#include "../mips/dl.c" +#elif defined(__powerpc__) +#include "../powerpc/dl.c" +#else +#error "No target cpu type is defined" +#endif + +/* grub-emu-lite supports dynamic module loading, so it won't have any + embedded modules. */ +void +grub_init_all (void) +{ + return; +} + +void +grub_fini_all (void) +{ + return; +} + +void +grub_emu_init (void) +{ + return; +} + +void +grub_emu_post_init (void) +{ +} diff --git a/grub-core/kern/emu/main.c b/grub-core/kern/emu/main.c new file mode 100644 index 0000000..0a76459 --- /dev/null +++ b/grub-core/kern/emu/main.c @@ -0,0 +1,259 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "progname.h" + +#define ENABLE_RELOCATABLE 0 + +/* Used for going back to the main function. */ +static jmp_buf main_env; + +/* Store the prefix specified by an argument. */ +static char *prefix = NULL; + +int grub_no_autoload; + +grub_addr_t +grub_arch_modules_addr (void) +{ + return 0; +} + +void +grub_reboot (void) +{ + longjmp (main_env, 1); +} + +void +grub_machine_init (void) +{ +} + +void +grub_machine_set_prefix (void) +{ + grub_env_set ("prefix", prefix); + free (prefix); + prefix = 0; +} + +void +grub_machine_fini (void) +{ + grub_console_fini (); +} + + + +static struct option options[] = + { + {"root-device", required_argument, 0, 'r'}, + {"device-map", required_argument, 0, 'm'}, + {"directory", required_argument, 0, 'd'}, + {"hold", optional_argument, 0, 'H'}, + {"help", no_argument, 0, 'h'}, + {"version", no_argument, 0, 'V'}, + {"verbose", no_argument, 0, 'v'}, + { 0, 0, 0, 0 } + }; + +static int +usage (int status) +{ + if (status) + fprintf (stderr, + "Try `%s --help' for more information.\n", program_name); + else + printf ( + "Usage: %s [OPTION]...\n" + "\n" + "GRUB emulator.\n" + "\n" + " -r, --root-device=DEV use DEV as the root device [default=guessed]\n" + " -m, --device-map=FILE use FILE as the device map [default=%s]\n" + " -d, --directory=DIR use GRUB files in the directory DIR [default=%s]\n" + " -v, --verbose print verbose messages\n" + " -H, --hold[=SECONDS] wait until a debugger will attach\n" + " -h, --help display this message and exit\n" + " -V, --version print version information and exit\n" + "\n" + "Report bugs to <%s>.\n", program_name, DEFAULT_DEVICE_MAP, DEFAULT_DIRECTORY, PACKAGE_BUGREPORT); + return status; +} + + +void grub_hostfs_init (void); +void grub_hostfs_fini (void); +void grub_host_init (void); +void grub_host_fini (void); +void grub_emu_init (void); + +int +main (int argc, char *argv[]) +{ + char *root_dev = 0; + char *dir = DEFAULT_DIRECTORY; + char *dev_map = DEFAULT_DEVICE_MAP; + volatile int hold = 0; + int opt; + + set_program_name (argv[0]); + + while ((opt = getopt_long (argc, argv, "r:d:m:vH:hV", options, 0)) != -1) + switch (opt) + { + case 'r': + root_dev = optarg; + break; + case 'd': + dir = optarg; + break; + case 'm': + dev_map = optarg; + break; + case 'v': + verbosity++; + break; + case 'H': + hold = (optarg ? atoi (optarg) : -1); + break; + case 'h': + return usage (0); + case 'V': + printf ("%s (%s) %s\n", program_name, PACKAGE_NAME, PACKAGE_VERSION); + return 0; + default: + return usage (1); + } + + if (optind < argc) + { + fprintf (stderr, "Unknown extra argument `%s'.\n", argv[optind]); + return usage (1); + } + + /* Wait until the ARGS.HOLD variable is cleared by an attached debugger. */ + if (hold && verbosity > 0) + printf ("Run \"gdb %s %d\", and set ARGS.HOLD to zero.\n", + program_name, (int) getpid ()); + while (hold) + { + if (hold > 0) + hold--; + + sleep (1); + } + + signal (SIGINT, SIG_IGN); + grub_emu_init (); + grub_console_init (); + grub_host_init (); + + /* XXX: This is a bit unportable. */ + grub_util_biosdisk_init (dev_map); + + grub_init_all (); + + grub_hostfs_init (); + + grub_emu_post_init (); + + /* Make sure that there is a root device. */ + if (! root_dev) + { + char *device_name = grub_guess_root_device (dir); + if (! device_name) + grub_util_error ("cannot find a device for %s", dir); + + root_dev = grub_util_get_grub_dev (device_name); + if (! root_dev) + { + grub_util_info ("guessing the root device failed, because of `%s'", + grub_errmsg); + grub_util_error ("cannot guess the root device. Specify the option `--root-device'"); + } + } + + if (strcmp (root_dev, "host") == 0) + dir = xstrdup (dir); + else + dir = grub_make_system_path_relative_to_its_root (dir); + prefix = xmalloc (strlen (root_dev) + 2 + strlen (dir) + 1); + sprintf (prefix, "(%s)%s", root_dev, dir); + free (dir); + + /* Start GRUB! */ + if (setjmp (main_env) == 0) + grub_main (); + + grub_fini_all (); + grub_hostfs_fini (); + grub_host_fini (); + + grub_machine_fini (); + + return 0; +} + +#ifdef __MINGW32__ + +void +grub_millisleep (grub_uint32_t ms) +{ + Sleep (ms); +} + +#else + +void +grub_millisleep (grub_uint32_t ms) +{ + struct timespec ts; + + ts.tv_sec = ms / 1000; + ts.tv_nsec = (ms % 1000) * 1000000; + nanosleep (&ts, NULL); +} + +#endif diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c new file mode 100644 index 0000000..44c40b0 --- /dev/null +++ b/grub-core/kern/emu/misc.c @@ -0,0 +1,537 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_LIMITS_H +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_DEVICE_MAPPER +# include +#endif + +#ifdef HAVE_LIBZFS +# include +#endif + +#ifdef HAVE_LIBNVPAIR +# include +#endif + +#ifdef HAVE_SYS_PARAM_H +# include +#endif + +#ifdef HAVE_SYS_MOUNT_H +# include +#endif + +#ifdef HAVE_SYS_MNTTAB_H +# include /* Needed by sys/mnttab.h. */ +# include +#endif + +#ifdef HAVE_SYS_MKDEV_H +# include /* makedev */ +#endif + +int verbosity; + +void +grub_util_warn (const char *fmt, ...) +{ + va_list ap; + + fprintf (stderr, _("%s: warn:"), program_name); + fprintf (stderr, " "); + va_start (ap, fmt); + vfprintf (stderr, fmt, ap); + va_end (ap); + fprintf (stderr, ".\n"); + fflush (stderr); +} + +void +grub_util_info (const char *fmt, ...) +{ + if (verbosity > 0) + { + va_list ap; + + fprintf (stderr, _("%s: info:"), program_name); + fprintf (stderr, " "); + va_start (ap, fmt); + vfprintf (stderr, fmt, ap); + va_end (ap); + fprintf (stderr, ".\n"); + fflush (stderr); + } +} + +void +grub_util_error (const char *fmt, ...) +{ + va_list ap; + + fprintf (stderr, _("%s: error:"), program_name); + fprintf (stderr, " "); + va_start (ap, fmt); + vfprintf (stderr, fmt, ap); + va_end (ap); + fprintf (stderr, ".\n"); + exit (1); +} + +void * +xmalloc (grub_size_t size) +{ + void *p; + + p = malloc (size); + if (! p) + grub_util_error ("out of memory"); + + return p; +} + +void * +xrealloc (void *ptr, grub_size_t size) +{ + ptr = realloc (ptr, size); + if (! ptr) + grub_util_error ("out of memory"); + + return ptr; +} + +char * +xstrdup (const char *str) +{ + size_t len; + char *newstr; + + len = strlen (str); + newstr = (char *) xmalloc (len + 1); + memcpy (newstr, str, len + 1); + + return newstr; +} + +#ifndef HAVE_VASPRINTF + +int +vasprintf (char **buf, const char *fmt, va_list ap) +{ + /* Should be large enough. */ + *buf = xmalloc (512); + + return vsnprintf (*buf, 512, fmt, ap); +} + +#endif + +#ifndef HAVE_ASPRINTF + +int +asprintf (char **buf, const char *fmt, ...) +{ + int status; + va_list ap; + + va_start (ap, fmt); + status = vasprintf (buf, fmt, ap); + va_end (ap); + + return status; +} + +#endif + +char * +xasprintf (const char *fmt, ...) +{ + va_list ap; + char *result; + + va_start (ap, fmt); + if (vasprintf (&result, fmt, ap) < 0) + { + if (errno == ENOMEM) + grub_util_error ("out of memory"); + return NULL; + } + + return result; +} + +void +grub_exit (void) +{ + exit (1); +} + +grub_uint64_t +grub_get_time_ms (void) +{ + struct timeval tv; + + gettimeofday (&tv, 0); + + return (tv.tv_sec * 1000 + tv.tv_usec / 1000); +} + +grub_uint32_t +grub_get_rtc (void) +{ + struct timeval tv; + + gettimeofday (&tv, 0); + + return (tv.tv_sec * GRUB_TICKS_PER_SECOND + + (((tv.tv_sec % GRUB_TICKS_PER_SECOND) * 1000000 + tv.tv_usec) + * GRUB_TICKS_PER_SECOND / 1000000)); +} + +char * +canonicalize_file_name (const char *path) +{ + char *ret; +#ifdef PATH_MAX + ret = xmalloc (PATH_MAX); + if (!realpath (path, ret)) + return NULL; +#else + ret = realpath (path, NULL); +#endif + return ret; +} + +#ifdef __CYGWIN__ +/* Convert POSIX path to Win32 path, + remove drive letter, replace backslashes. */ +static char * +get_win32_path (const char *path) +{ + char winpath[PATH_MAX]; + if (cygwin_conv_path (CCP_POSIX_TO_WIN_A, path, winpath, sizeof(winpath))) + grub_util_error ("cygwin_conv_path() failed"); + + int len = strlen (winpath); + int offs = (len > 2 && winpath[1] == ':' ? 2 : 0); + + int i; + for (i = offs; i < len; i++) + if (winpath[i] == '\\') + winpath[i] = '/'; + return xstrdup (winpath + offs); +} +#endif + +#ifdef HAVE_LIBZFS +static libzfs_handle_t *__libzfs_handle; + +static void +fini_libzfs (void) +{ + libzfs_fini (__libzfs_handle); +} + +libzfs_handle_t * +grub_get_libzfs_handle (void) +{ + if (! __libzfs_handle) + { + __libzfs_handle = libzfs_init (); + + if (__libzfs_handle) + atexit (fini_libzfs); + } + + return __libzfs_handle; +} +#endif /* HAVE_LIBZFS */ + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) +/* ZFS has similar problems to those of btrfs (see above). */ +void +grub_find_zpool_from_dir (const char *dir, char **poolname, char **poolfs) +{ + char *slash; + + *poolname = *poolfs = NULL; + +#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) && defined(HAVE_STRUCT_STATFS_F_MNTFROMNAME) + /* FreeBSD and GNU/kFreeBSD. */ + { + struct statfs mnt; + + if (statfs (dir, &mnt) != 0) + return; + + if (strcmp (mnt.f_fstypename, "zfs") != 0) + return; + + *poolname = xstrdup (mnt.f_mntfromname); + } +#elif defined(HAVE_GETEXTMNTENT) + /* Solaris. */ + { + struct stat st; + struct extmnttab mnt; + + if (stat (dir, &st) != 0) + return; + + FILE *mnttab = fopen ("/etc/mnttab", "r"); + if (! mnttab) + return; + + while (getextmntent (mnttab, &mnt, sizeof (mnt)) == 0) + { + if (makedev (mnt.mnt_major, mnt.mnt_minor) == st.st_dev + && !strcmp (mnt.mnt_fstype, "zfs")) + { + *poolname = xstrdup (mnt.mnt_special); + break; + } + } + + fclose (mnttab); + } +#endif + + if (! *poolname) + return; + + slash = strchr (*poolname, '/'); + if (slash) + { + *slash = '\0'; + *poolfs = xstrdup (slash + 1); + } + else + *poolfs = xstrdup (""); +} +#endif + +/* This function never prints trailing slashes (so that its output + can be appended a slash unconditionally). */ +char * +grub_make_system_path_relative_to_its_root (const char *path) +{ + struct stat st; + char *p, *buf, *buf2, *buf3, *ret; + uintptr_t offset = 0; + dev_t num; + size_t len; + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) + char *poolfs = NULL; +#endif + + /* canonicalize. */ + p = canonicalize_file_name (path); + if (p == NULL) + grub_util_error ("failed to get canonical path of %s", path); + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) + /* For ZFS sub-pool filesystems, could be extended to others (btrfs?). */ + { + char *dummy; + grub_find_zpool_from_dir (p, &dummy, &poolfs); + } +#endif + + len = strlen (p) + 1; + buf = xstrdup (p); + free (p); + + if (stat (buf, &st) < 0) + grub_util_error ("cannot stat %s: %s", buf, strerror (errno)); + + buf2 = xstrdup (buf); + num = st.st_dev; + + /* This loop sets offset to the number of chars of the root + directory we're inspecting. */ + while (1) + { + p = strrchr (buf, '/'); + if (p == NULL) + /* This should never happen. */ + grub_util_error ("FIXME: no / in buf. (make_system_path_relative_to_its_root)"); + if (p != buf) + *p = 0; + else + *++p = 0; + + if (stat (buf, &st) < 0) + grub_util_error ("cannot stat %s: %s", buf, strerror (errno)); + + /* buf is another filesystem; we found it. */ + if (st.st_dev != num) + { + /* offset == 0 means path given is the mount point. + This works around special-casing of "/" in Un*x. This function never + prints trailing slashes (so that its output can be appended a slash + unconditionally). Each slash in is considered a preceding slash, and + therefore the root directory is an empty string. */ + if (offset == 0) + { + free (buf); +#ifdef __linux__ + { + char *bind; + grub_free (grub_find_root_device_from_mountinfo (buf2, &bind)); + if (bind && bind[0] && bind[1]) + { + buf3 = bind; + goto parsedir; + } + grub_free (bind); + } +#endif + free (buf2); +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) + if (poolfs) + return xasprintf ("/%s/@", poolfs); +#endif + return xstrdup (""); + } + else + break; + } + + offset = p - buf; + /* offset == 1 means root directory. */ + if (offset == 1) + { + /* Include leading slash. */ + offset = 0; + break; + } + } + free (buf); + buf3 = xstrdup (buf2 + offset); + buf2[offset] = 0; +#ifdef __linux__ + { + char *bind; + grub_free (grub_find_root_device_from_mountinfo (buf2, &bind)); + if (bind && bind[0] && bind[1]) + { + char *temp = buf3; + buf3 = grub_xasprintf ("%s%s%s", bind, buf3[0] == '/' ?"":"/", buf3); + grub_free (temp); + } + grub_free (bind); + } +#endif + + free (buf2); + +#ifdef __CYGWIN__ + if (st.st_dev != (DEV_CYGDRIVE_MAJOR << 16)) + { + /* Reached some mount point not below /cygdrive. + GRUB does not know Cygwin's emulated mounts, + convert to Win32 path. */ + grub_util_info ("Cygwin path = %s\n", buf3); + char * temp = get_win32_path (buf3); + free (buf3); + buf3 = temp; + } +#endif + + parsedir: + /* Remove trailing slashes, return empty string if root directory. */ + len = strlen (buf3); + while (len > 0 && buf3[len - 1] == '/') + { + buf3[len - 1] = '\0'; + len--; + } + +#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR) + if (poolfs) + { + ret = xasprintf ("/%s/@%s", poolfs, buf3); + free (buf3); + } + else +#endif + ret = buf3; + + return ret; +} + +#ifdef HAVE_DEVICE_MAPPER +static void device_mapper_null_log (int level __attribute__ ((unused)), + const char *file __attribute__ ((unused)), + int line __attribute__ ((unused)), + int dm_errno __attribute__ ((unused)), + const char *f __attribute__ ((unused)), + ...) +{ +} + +int +grub_device_mapper_supported (void) +{ + static int supported = -1; + + if (supported == -1) + { + struct dm_task *dmt; + + /* Suppress annoying log messages. */ + dm_log_with_errno_init (&device_mapper_null_log); + + dmt = dm_task_create (DM_DEVICE_VERSION); + supported = (dmt != NULL); + if (dmt) + dm_task_destroy (dmt); + + /* Restore the original logger. */ + dm_log_with_errno_init (NULL); + } + + return supported; +} +#endif /* HAVE_DEVICE_MAPPER */ diff --git a/grub-core/kern/emu/mm.c b/grub-core/kern/emu/mm.c new file mode 100644 index 0000000..6a70efb --- /dev/null +++ b/grub-core/kern/emu/mm.c @@ -0,0 +1,87 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +#include +#include +#include +#include +#include + +void * +grub_malloc (grub_size_t size) +{ + void *ret; + ret = malloc (size); + if (!ret) + grub_error (GRUB_ERR_OUT_OF_MEMORY, "out of memory"); + return ret; +} + +void * +grub_zalloc (grub_size_t size) +{ + void *ret; + + ret = grub_malloc (size); + if (!ret) + return NULL; + memset (ret, 0, size); + return ret; +} + +void +grub_free (void *ptr) +{ + free (ptr); +} + +void * +grub_realloc (void *ptr, grub_size_t size) +{ + void *ret; + ret = realloc (ptr, size); + if (!ret) + grub_error (GRUB_ERR_OUT_OF_MEMORY, "out of memory"); + return ret; +} + +void * +grub_memalign (grub_size_t align, grub_size_t size) +{ + void *p; + +#if defined(HAVE_POSIX_MEMALIGN) + if (align < sizeof (void *)) + align = sizeof (void *); + if (posix_memalign (&p, align, size) != 0) + p = 0; +#elif defined(HAVE_MEMALIGN) + p = memalign (align, size); +#else + (void) align; + (void) size; + grub_util_error ("grub_memalign is not supported"); +#endif + + if (!p) + grub_error (GRUB_ERR_OUT_OF_MEMORY, "out of memory"); + + return p; +} diff --git a/grub-core/kern/emu/time.c b/grub-core/kern/emu/time.c new file mode 100644 index 0000000..5da8092 --- /dev/null +++ b/grub-core/kern/emu/time.c @@ -0,0 +1,46 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +grub_err_t +grub_get_datetime (struct grub_datetime *datetime) +{ + struct tm *mytm; + time_t mytime; + + mytime = time (&mytime); + mytm = gmtime (&mytime); + + datetime->year = mytm->tm_year + 1900; + datetime->month = mytm->tm_mon + 1; + datetime->day = mytm->tm_mday; + datetime->hour = mytm->tm_hour; + datetime->minute = mytm->tm_min; + datetime->second = mytm->tm_sec; + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_set_datetime (struct grub_datetime *datetime __attribute__ ((unused))) +{ + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "no clock setting routine available"); +} diff --git a/grub-core/kern/env.c b/grub-core/kern/env.c new file mode 100644 index 0000000..8f843a8 --- /dev/null +++ b/grub-core/kern/env.c @@ -0,0 +1,262 @@ +/* env.c - Environment variables */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* The initial context. */ +static struct grub_env_context initial_context; + +/* The current context. */ +struct grub_env_context *grub_current_context = &initial_context; + +/* Return the hash representation of the string S. */ +static unsigned int +grub_env_hashval (const char *s) +{ + unsigned int i = 0; + + /* XXX: This can be done much more efficiently. */ + while (*s) + i += 5 * *(s++); + + return i % HASHSZ; +} + +struct grub_env_var * +grub_env_find (const char *name) +{ + struct grub_env_var *var; + int idx = grub_env_hashval (name); + + /* Look for the variable in the current context. */ + for (var = grub_current_context->vars[idx]; var; var = var->next) + if (grub_strcmp (var->name, name) == 0) + return var; + + return 0; +} + +static void +grub_env_insert (struct grub_env_context *context, + struct grub_env_var *var) +{ + int idx = grub_env_hashval (var->name); + + /* Insert the variable into the hashtable. */ + var->prevp = &context->vars[idx]; + var->next = context->vars[idx]; + if (var->next) + var->next->prevp = &(var->next); + context->vars[idx] = var; +} + +static void +grub_env_remove (struct grub_env_var *var) +{ + /* Remove the entry from the variable table. */ + *var->prevp = var->next; + if (var->next) + var->next->prevp = var->prevp; +} + +grub_err_t +grub_env_set (const char *name, const char *val) +{ + struct grub_env_var *var; + + /* If the variable does already exist, just update the variable. */ + var = grub_env_find (name); + if (var) + { + char *old = var->value; + + if (var->write_hook) + var->value = var->write_hook (var, val); + else + var->value = grub_strdup (val); + + if (! var->value) + { + var->value = old; + return grub_errno; + } + + grub_free (old); + return GRUB_ERR_NONE; + } + + /* The variable does not exist, so create a new one. */ + var = grub_zalloc (sizeof (*var)); + if (! var) + return grub_errno; + + /* This is not necessary. But leave this for readability. */ + var->global = 0; + + var->name = grub_strdup (name); + if (! var->name) + goto fail; + + var->value = grub_strdup (val); + if (! var->value) + goto fail; + + grub_env_insert (grub_current_context, var); + + return GRUB_ERR_NONE; + + fail: + grub_free (var->name); + grub_free (var->value); + grub_free (var); + + return grub_errno; +} + +char * +grub_env_get (const char *name) +{ + struct grub_env_var *var; + + var = grub_env_find (name); + if (! var) + return 0; + + if (var->read_hook) + return var->read_hook (var, var->value); + + return var->value; +} + +void +grub_env_unset (const char *name) +{ + struct grub_env_var *var; + + var = grub_env_find (name); + if (! var) + return; + + if (var->read_hook || var->write_hook) + { + grub_env_set (name, ""); + return; + } + + grub_env_remove (var); + + grub_free (var->name); + grub_free (var->value); + grub_free (var); +} + +void +grub_env_iterate (int (*func) (struct grub_env_var *var)) +{ + struct grub_env_sorted_var *sorted_list = 0; + struct grub_env_sorted_var *sorted_var; + int i; + + /* Add variables associated with this context into a sorted list. */ + for (i = 0; i < HASHSZ; i++) + { + struct grub_env_var *var; + + for (var = grub_current_context->vars[i]; var; var = var->next) + { + struct grub_env_sorted_var *p, **q; + + sorted_var = grub_malloc (sizeof (*sorted_var)); + if (! sorted_var) + goto fail; + + sorted_var->var = var; + + for (q = &sorted_list, p = *q; p; q = &((*q)->next), p = *q) + { + if (grub_strcmp (p->var->name, var->name) > 0) + break; + } + + sorted_var->next = *q; + *q = sorted_var; + } + } + + /* Iterate FUNC on the sorted list. */ + for (sorted_var = sorted_list; sorted_var; sorted_var = sorted_var->next) + if (func (sorted_var->var)) + break; + + fail: + + /* Free the sorted list. */ + for (sorted_var = sorted_list; sorted_var; ) + { + struct grub_env_sorted_var *tmp = sorted_var->next; + + grub_free (sorted_var); + sorted_var = tmp; + } +} + +grub_err_t +grub_register_variable_hook (const char *name, + grub_env_read_hook_t read_hook, + grub_env_write_hook_t write_hook) +{ + struct grub_env_var *var = grub_env_find (name); + + if (! var) + { + if (grub_env_set (name, "") != GRUB_ERR_NONE) + return grub_errno; + + var = grub_env_find (name); + /* XXX Insert an assertion? */ + } + + var->read_hook = read_hook; + var->write_hook = write_hook; + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_env_export (const char *name) +{ + struct grub_env_var *var; + + var = grub_env_find (name); + if (! var) + { + grub_err_t err; + + err = grub_env_set (name, ""); + if (err) + return err; + var = grub_env_find (name); + } + var->global = 1; + + return GRUB_ERR_NONE; +} diff --git a/grub-core/kern/err.c b/grub-core/kern/err.c new file mode 100644 index 0000000..74f3915 --- /dev/null +++ b/grub-core/kern/err.c @@ -0,0 +1,139 @@ +/* err.c - error handling routines */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +#define GRUB_MAX_ERRMSG 256 +#define GRUB_ERROR_STACK_SIZE 10 + +grub_err_t grub_errno; +char grub_errmsg[GRUB_MAX_ERRMSG]; +int grub_err_printed_errors; + +static struct +{ + grub_err_t errno; + char errmsg[GRUB_MAX_ERRMSG]; +} grub_error_stack_items[GRUB_ERROR_STACK_SIZE]; + +static int grub_error_stack_pos; +static int grub_error_stack_assert; + +grub_err_t +grub_error (grub_err_t n, const char *fmt, ...) +{ + va_list ap; + + grub_errno = n; + + va_start (ap, fmt); + grub_vsnprintf (grub_errmsg, sizeof (grub_errmsg), _(fmt), ap); + va_end (ap); + + return n; +} + +void +grub_fatal (const char *fmt, ...) +{ + va_list ap; + + va_start (ap, fmt); + grub_vprintf (_(fmt), ap); + va_end (ap); + + grub_abort (); +} + +void +grub_error_push (void) +{ + /* Only add items to stack, if there is enough room. */ + if (grub_error_stack_pos < GRUB_ERROR_STACK_SIZE) + { + /* Copy active error message to stack. */ + grub_error_stack_items[grub_error_stack_pos].errno = grub_errno; + grub_memcpy (grub_error_stack_items[grub_error_stack_pos].errmsg, + grub_errmsg, + sizeof (grub_errmsg)); + + /* Advance to next error stack position. */ + grub_error_stack_pos++; + } + else + { + /* There is no room for new error message. Discard new error message + and mark error stack assertion flag. */ + grub_error_stack_assert = 1; + } + + /* Allow further operation of other components by resetting + active errno to GRUB_ERR_NONE. */ + grub_errno = GRUB_ERR_NONE; +} + +int +grub_error_pop (void) +{ + if (grub_error_stack_pos > 0) + { + /* Pop error message from error stack to current active error. */ + grub_error_stack_pos--; + + grub_errno = grub_error_stack_items[grub_error_stack_pos].errno; + grub_memcpy (grub_errmsg, + grub_error_stack_items[grub_error_stack_pos].errmsg, + sizeof (grub_errmsg)); + + return 1; + } + else + { + /* There is no more items on error stack, reset to no error state. */ + grub_errno = GRUB_ERR_NONE; + + return 0; + } +} + +void +grub_print_error (void) +{ + /* Print error messages in reverse order. First print active error message + and then empty error stack. */ + do + { + if (grub_errno != GRUB_ERR_NONE) + { + grub_err_printf (_("error: %s.\n"), grub_errmsg); + grub_err_printed_errors++; + } + } + while (grub_error_pop ()); + + /* If there was an assert while using error stack, report about it. */ + if (grub_error_stack_assert) + { + grub_err_printf ("assert: error stack overflow detected!\n"); + grub_error_stack_assert = 0; + } +} diff --git a/grub-core/kern/file.c b/grub-core/kern/file.c new file mode 100644 index 0000000..9d5a51c --- /dev/null +++ b/grub-core/kern/file.c @@ -0,0 +1,186 @@ +/* file.c - file I/O functions */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +grub_file_filter_t grub_file_filters_all[GRUB_FILE_FILTER_MAX]; +grub_file_filter_t grub_file_filters_enabled[GRUB_FILE_FILTER_MAX]; + +/* Get the device part of the filename NAME. It is enclosed by parentheses. */ +char * +grub_file_get_device_name (const char *name) +{ + if (name[0] == '(') + { + char *p = grub_strchr (name, ')'); + char *ret; + + if (! p) + { + grub_error (GRUB_ERR_BAD_FILENAME, "missing `)'"); + return 0; + } + + ret = (char *) grub_malloc (p - name); + if (! ret) + return 0; + + grub_memcpy (ret, name + 1, p - name - 1); + ret[p - name - 1] = '\0'; + return ret; + } + + return 0; +} + +grub_file_t +grub_file_open (const char *name) +{ + grub_device_t device = 0; + grub_file_t file = 0, last_file = 0; + char *device_name; + char *file_name; + grub_file_filter_id_t filter; + + device_name = grub_file_get_device_name (name); + if (grub_errno) + goto fail; + + /* Get the file part of NAME. */ + file_name = (name[0] == '(') ? grub_strchr (name, ')') : NULL; + if (file_name) + file_name++; + else + file_name = (char *) name; + + device = grub_device_open (device_name); + grub_free (device_name); + if (! device) + goto fail; + + file = (grub_file_t) grub_zalloc (sizeof (*file)); + if (! file) + goto fail; + + file->device = device; + + if (device->disk && file_name[0] != '/') + /* This is a block list. */ + file->fs = &grub_fs_blocklist; + else + { + file->fs = grub_fs_probe (device); + if (! file->fs) + goto fail; + } + + if ((file->fs->open) (file, file_name) != GRUB_ERR_NONE) + goto fail; + + for (filter = 0; file && filter < ARRAY_SIZE (grub_file_filters_enabled); + filter++) + if (grub_file_filters_enabled[filter]) + { + last_file = file; + file = grub_file_filters_enabled[filter] (file); + } + if (!file) + grub_file_close (last_file); + + grub_memcpy (grub_file_filters_enabled, grub_file_filters_all, + sizeof (grub_file_filters_enabled)); + + return file; + + fail: + if (device) + grub_device_close (device); + + /* if (net) grub_net_close (net); */ + + grub_free (file); + + grub_memcpy (grub_file_filters_enabled, grub_file_filters_all, + sizeof (grub_file_filters_enabled)); + + return 0; +} + +grub_ssize_t +grub_file_read (grub_file_t file, void *buf, grub_size_t len) +{ + grub_ssize_t res; + + if (file->offset > file->size) + { + grub_error (GRUB_ERR_OUT_OF_RANGE, + "attempt to read past the end of file"); + return -1; + } + + if (len == 0 || len > file->size - file->offset) + len = file->size - file->offset; + + /* Prevent an overflow. */ + if ((grub_ssize_t) len < 0) + len >>= 1; + + if (len == 0) + return 0; + + res = (file->fs->read) (file, buf, len); + if (res > 0) + file->offset += res; + + return res; +} + +grub_err_t +grub_file_close (grub_file_t file) +{ + if (file->fs->close) + (file->fs->close) (file); + + if (file->device) + grub_device_close (file->device); + grub_free (file); + return grub_errno; +} + +grub_off_t +grub_file_seek (grub_file_t file, grub_off_t offset) +{ + grub_off_t old; + + if (offset > file->size) + { + grub_error (GRUB_ERR_OUT_OF_RANGE, + "attempt to seek outside of the file"); + return -1; + } + + old = file->offset; + file->offset = offset; + return old; +} diff --git a/grub-core/kern/fs.c b/grub-core/kern/fs.c new file mode 100644 index 0000000..cf800f4 --- /dev/null +++ b/grub-core/kern/fs.c @@ -0,0 +1,231 @@ +/* fs.c - filesystem manager */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +grub_fs_t grub_fs_list = 0; + +grub_fs_autoload_hook_t grub_fs_autoload_hook = 0; + +grub_fs_t +grub_fs_probe (grub_device_t device) +{ + grub_fs_t p; + auto int dummy_func (const char *filename, + const struct grub_dirhook_info *info); + + int dummy_func (const char *filename __attribute__ ((unused)), + const struct grub_dirhook_info *info __attribute__ ((unused))) + { + return 1; + } + + if (device->disk) + { + /* Make it sure not to have an infinite recursive calls. */ + static int count = 0; + + for (p = grub_fs_list; p; p = p->next) + { + grub_dprintf ("fs", "Detecting %s...\n", p->name); + (p->dir) (device, "/", dummy_func); + if (grub_errno == GRUB_ERR_NONE) + return p; + + grub_error_push (); + grub_dprintf ("fs", "%s detection failed.\n", p->name); + grub_error_pop (); + + if (grub_errno != GRUB_ERR_BAD_FS) + return 0; + + grub_errno = GRUB_ERR_NONE; + } + + /* Let's load modules automatically. */ + if (grub_fs_autoload_hook && count == 0) + { + count++; + + while (grub_fs_autoload_hook ()) + { + p = grub_fs_list; + + (p->dir) (device, "/", dummy_func); + if (grub_errno == GRUB_ERR_NONE) + { + count--; + return p; + } + + if (grub_errno != GRUB_ERR_BAD_FS) + { + count--; + return 0; + } + + grub_errno = GRUB_ERR_NONE; + } + + count--; + } + } + else if (device->net->fs) + return device->net->fs; + + grub_error (GRUB_ERR_UNKNOWN_FS, "unknown filesystem"); + return 0; +} + + + +/* Block list support routines. */ + +struct grub_fs_block +{ + grub_disk_addr_t offset; + unsigned long length; +}; + +static grub_err_t +grub_fs_blocklist_open (grub_file_t file, const char *name) +{ + char *p = (char *) name; + unsigned num = 0; + unsigned i; + grub_disk_t disk = file->device->disk; + struct grub_fs_block *blocks; + + /* First, count the number of blocks. */ + do + { + num++; + p = grub_strchr (p, ','); + if (p) + p++; + } + while (p); + + /* Allocate a block list. */ + blocks = grub_zalloc (sizeof (struct grub_fs_block) * (num + 1)); + if (! blocks) + return 0; + + file->size = 0; + p = (char *) name; + for (i = 0; i < num; i++) + { + if (*p != '+') + { + blocks[i].offset = grub_strtoull (p, &p, 0); + if (grub_errno != GRUB_ERR_NONE || *p != '+') + { + grub_error (GRUB_ERR_BAD_FILENAME, + "invalid file name `%s'", name); + goto fail; + } + } + + p++; + blocks[i].length = grub_strtoul (p, &p, 0); + if (grub_errno != GRUB_ERR_NONE + || blocks[i].length == 0 + || (*p && *p != ',' && ! grub_isspace (*p))) + { + grub_error (GRUB_ERR_BAD_FILENAME, + "invalid file name `%s'", name); + goto fail; + } + + if (disk->total_sectors < blocks[i].offset + blocks[i].length) + { + grub_error (GRUB_ERR_BAD_FILENAME, "beyond the total sectors"); + goto fail; + } + + file->size += (blocks[i].length << GRUB_DISK_SECTOR_BITS); + p++; + } + + file->data = blocks; + + return GRUB_ERR_NONE; + + fail: + grub_free (blocks); + return grub_errno; +} + +static grub_ssize_t +grub_fs_blocklist_read (grub_file_t file, char *buf, grub_size_t len) +{ + struct grub_fs_block *p; + grub_disk_addr_t sector; + grub_off_t offset; + grub_ssize_t ret = 0; + + if (len > file->size - file->offset) + len = file->size - file->offset; + + sector = (file->offset >> GRUB_DISK_SECTOR_BITS); + offset = (file->offset & (GRUB_DISK_SECTOR_SIZE - 1)); + for (p = file->data; p->length && len > 0; p++) + { + if (sector < p->length) + { + grub_size_t size; + + size = len; + if (((size + offset + GRUB_DISK_SECTOR_SIZE - 1) + >> GRUB_DISK_SECTOR_BITS) > p->length - sector) + size = ((p->length - sector) << GRUB_DISK_SECTOR_BITS) - offset; + + if (grub_disk_read (file->device->disk, p->offset + sector, offset, + size, buf) != GRUB_ERR_NONE) + return -1; + + ret += size; + len -= size; + sector -= ((size + offset) >> GRUB_DISK_SECTOR_BITS); + offset = ((size + offset) & (GRUB_DISK_SECTOR_SIZE - 1)); + } + else + sector -= p->length; + } + + return ret; +} + +struct grub_fs grub_fs_blocklist = + { + .name = "blocklist", + .dir = 0, + .open = grub_fs_blocklist_open, + .read = grub_fs_blocklist_read, + .close = 0, + .next = 0 + }; diff --git a/grub-core/kern/generic/millisleep.c b/grub-core/kern/generic/millisleep.c new file mode 100644 index 0000000..9d5971f --- /dev/null +++ b/grub-core/kern/generic/millisleep.c @@ -0,0 +1,39 @@ +/* millisleep.c - generic millisleep function. + * The generic implementation of these functions can be used for architectures + * or platforms that do not have a more specialized implementation. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +void +grub_millisleep (grub_uint32_t ms) +{ + grub_uint64_t start; + + start = grub_get_time_ms (); + + /* Instead of setting an end time and looping while the current time is + less than that, comparing the elapsed sleep time with the desired sleep + time handles the (unlikely!) case that the timer would wrap around + during the sleep. */ + + while (grub_get_time_ms () - start < ms) + grub_cpu_idle (); +} diff --git a/grub-core/kern/generic/rtc_get_time_ms.c b/grub-core/kern/generic/rtc_get_time_ms.c new file mode 100644 index 0000000..3592336 --- /dev/null +++ b/grub-core/kern/generic/rtc_get_time_ms.c @@ -0,0 +1,37 @@ +/* rtc_get_time_ms.c - get_time_ms implementation using platform RTC. + * The generic implementation of these functions can be used for architectures + * or platforms that do not have a more specialized implementation. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +/* Calculate the time in milliseconds since the epoch based on the RTC. */ +grub_uint64_t +grub_rtc_get_time_ms (void) +{ + /* By dimensional analysis: + + 1000 ms N rtc ticks 1 s + ------- * ----------- * ----------- = 1000*N/T ms + 1 s 1 T rtc ticks + */ + grub_uint64_t ticks_ms_per_sec = ((grub_uint64_t) 1000) * grub_get_rtc (); + return grub_divmod64 (ticks_ms_per_sec, GRUB_TICKS_PER_SECOND, 0); +} diff --git a/grub-core/kern/i386/coreboot/init.c b/grub-core/kern/i386/coreboot/init.c new file mode 100644 index 0000000..434b9b5 --- /dev/null +++ b/grub-core/kern/i386/coreboot/init.c @@ -0,0 +1,132 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef GRUB_MACHINE_QEMU +#include +#endif + +extern char _start[]; +extern char _end[]; + +grub_uint32_t +grub_get_rtc (void) +{ + grub_fatal ("grub_get_rtc() is not implemented.\n"); +} + +void +grub_exit (void) +{ + /* We can't use grub_fatal() in this function. This would create an infinite + loop, since grub_fatal() calls grub_abort() which in turn calls grub_exit(). */ + while (1) + grub_cpu_idle (); +} + +void +grub_machine_init (void) +{ +#ifdef GRUB_MACHINE_QEMU + grub_qemu_init_cirrus (); +#endif + /* Initialize the console as early as possible. */ + grub_vga_text_init (); + + auto int NESTED_FUNC_ATTR heap_init (grub_uint64_t, grub_uint64_t, + grub_memory_type_t); + int NESTED_FUNC_ATTR heap_init (grub_uint64_t addr, grub_uint64_t size, + grub_memory_type_t type) + { +#if GRUB_CPU_SIZEOF_VOID_P == 4 + /* Restrict ourselves to 32-bit memory space. */ + if (addr > GRUB_ULONG_MAX) + return 0; + if (addr + size > GRUB_ULONG_MAX) + size = GRUB_ULONG_MAX - addr; +#endif + + if (type != GRUB_MEMORY_AVAILABLE) + return 0; + + /* Avoid the lower memory. */ + if (addr < GRUB_MEMORY_MACHINE_LOWER_SIZE) + { + if (addr + size <= GRUB_MEMORY_MACHINE_LOWER_SIZE) + return 0; + else + { + size -= GRUB_MEMORY_MACHINE_LOWER_SIZE - addr; + addr = GRUB_MEMORY_MACHINE_LOWER_SIZE; + } + } + + grub_mm_init_region ((void *) (grub_addr_t) addr, (grub_size_t) size); + + return 0; + } + +#if defined (GRUB_MACHINE_MULTIBOOT) || defined (GRUB_MACHINE_QEMU) + grub_machine_mmap_init (); +#endif + grub_machine_mmap_iterate (heap_init); + + grub_tsc_init (); +} + +void +grub_machine_set_prefix (void) +{ + /* Initialize the prefix. */ + grub_env_set ("prefix", grub_prefix); +} + +void +grub_machine_fini (void) +{ + grub_vga_text_fini (); + grub_stop_floppy (); +} + +/* Return the end of the core image. */ +grub_addr_t +grub_arch_modules_addr (void) +{ +#ifdef GRUB_MACHINE_QEMU + return grub_core_entry_addr + grub_kernel_image_size; +#else + return ALIGN_UP((grub_addr_t) _end, GRUB_KERNEL_MACHINE_MOD_ALIGN); +#endif +} diff --git a/grub-core/kern/i386/coreboot/mmap.c b/grub-core/kern/i386/coreboot/mmap.c new file mode 100644 index 0000000..8b0b202 --- /dev/null +++ b/grub-core/kern/i386/coreboot/mmap.c @@ -0,0 +1,108 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +static grub_err_t +grub_linuxbios_table_iterate (int (*hook) (grub_linuxbios_table_item_t)) +{ + grub_linuxbios_table_header_t table_header; + grub_linuxbios_table_item_t table_item; + + auto int check_signature (grub_linuxbios_table_header_t); + int check_signature (grub_linuxbios_table_header_t tbl_header) + { + if (! grub_memcmp (tbl_header->signature, "LBIO", 4)) + return 1; + + return 0; + } + + /* Assuming table_header is aligned to its size (8 bytes). */ + + for (table_header = (grub_linuxbios_table_header_t) 0x500; + table_header < (grub_linuxbios_table_header_t) 0x1000; table_header++) + if (check_signature (table_header)) + goto signature_found; + + for (table_header = (grub_linuxbios_table_header_t) 0xf0000; + table_header < (grub_linuxbios_table_header_t) 0x100000; table_header++) + if (check_signature (table_header)) + goto signature_found; + + grub_fatal ("Could not find coreboot table\n"); + +signature_found: + + table_item = + (grub_linuxbios_table_item_t) ((long) table_header + + (long) table_header->size); + for (; table_item->size; + table_item = (grub_linuxbios_table_item_t) ((long) table_item + (long) table_item->size)) + { + if (table_item->tag == GRUB_LINUXBIOS_MEMBER_LINK + && check_signature ((grub_linuxbios_table_header_t) (grub_addr_t) + *(grub_uint64_t *) (table_item + 1))) + { + table_header = (grub_linuxbios_table_header_t) (grub_addr_t) + *(grub_uint64_t *) (table_item + 1); + goto signature_found; + } + if (hook (table_item)) + return 1; + } + + return 0; +} + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + mem_region_t mem_region; + + auto int iterate_linuxbios_table (grub_linuxbios_table_item_t); + int iterate_linuxbios_table (grub_linuxbios_table_item_t table_item) + { + if (table_item->tag != GRUB_LINUXBIOS_MEMBER_MEMORY) + return 0; + + mem_region = + (mem_region_t) ((long) table_item + + sizeof (struct grub_linuxbios_table_item)); + while ((long) mem_region < (long) table_item + (long) table_item->size) + { + if (hook (mem_region->addr, mem_region->size, + /* Multiboot mmaps match with the coreboot mmap definition. + Therefore, we can just pass type through. */ + mem_region->type)) + return 1; + + mem_region++; + } + + return 0; + } + + grub_linuxbios_table_iterate (iterate_linuxbios_table); + + return 0; +} diff --git a/grub-core/kern/i386/coreboot/startup.S b/grub-core/kern/i386/coreboot/startup.S new file mode 100644 index 0000000..cac023d --- /dev/null +++ b/grub-core/kern/i386/coreboot/startup.S @@ -0,0 +1,89 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +/* For stack parameters. */ +#include +#include +#include +#include +#include +#include + +/* + * Note: GRUB is compiled with the options -mrtd and -mregparm=3. + * So the first three arguments are passed in %eax, %edx, and %ecx, + * respectively, and if a function has a fixed number of arguments + * and the number if greater than three, the function must return + * with "ret $N" where N is ((the number of arguments) - 3) * 4. + */ + + .file "startup.S" + .text + .globl start, _start +start: +_start: + jmp codestart + + /* + * This is a special data area at a fixed offset from the beginning. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX + +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX_END + +/* + * Support for booting GRUB from a Multiboot boot loader (e.g. GRUB itself). + */ + .p2align 2 /* force 4-byte alignment */ +multiboot_header: + /* magic */ + .long 0x1BADB002 + /* flags */ + .long MULTIBOOT_MEMORY_INFO + /* checksum */ + .long -0x1BADB002 - MULTIBOOT_MEMORY_INFO + +codestart: +#ifdef GRUB_MACHINE_MULTIBOOT + cmpl $MULTIBOOT_BOOTLOADER_MAGIC, %eax + jne 0f + movl %ebx, EXT_C(startup_multiboot_info) +0: +#endif + + /* initialize the stack */ + movl $GRUB_MEMORY_MACHINE_PROT_STACK, %esp + + /* jump to the main body of C code */ + jmp EXT_C(grub_main) + +/* + * prot_to_real and associated structures (but NOT real_to_prot, that is + * only needed for BIOS gates). + */ +#include "../realmode.S" + diff --git a/grub-core/kern/i386/dl.c b/grub-core/kern/i386/dl.c new file mode 100644 index 0000000..5785496 --- /dev/null +++ b/grub-core/kern/i386/dl.c @@ -0,0 +1,109 @@ +/* dl-386.c - arch-dependent part of loadable module support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* Check if EHDR is a valid ELF header. */ +grub_err_t +grub_arch_dl_check_header (void *ehdr) +{ + Elf_Ehdr *e = ehdr; + + /* Check the magic numbers. */ + if (e->e_ident[EI_CLASS] != ELFCLASS32 + || e->e_ident[EI_DATA] != ELFDATA2LSB + || e->e_machine != EM_386) + return grub_error (GRUB_ERR_BAD_OS, "invalid arch specific ELF magic"); + + return GRUB_ERR_NONE; +} + +/* Relocate symbols. */ +grub_err_t +grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) +{ + Elf_Ehdr *e = ehdr; + Elf_Shdr *s; + Elf_Word entsize; + unsigned i; + + /* Find a symbol table. */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no symtab found"); + + entsize = s->sh_entsize; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_REL) + { + grub_dl_segment_t seg; + + /* Find the target segment. */ + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf_Rel *rel, *max; + + for (rel = (Elf_Rel *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + { + Elf_Word *addr; + Elf_Sym *sym; + + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr = (Elf_Word *) ((char *) seg->addr + rel->r_offset); + sym = (Elf_Sym *) ((char *) mod->symtab + + entsize * ELF_R_SYM (rel->r_info)); + + switch (ELF_R_TYPE (rel->r_info)) + { + case R_386_32: + *addr += sym->st_value; + break; + + case R_386_PC32: + *addr += (sym->st_value - (Elf_Word) seg->addr + - rel->r_offset); + break; + } + } + } + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/kern/i386/efi/init.c b/grub-core/kern/i386/efi/init.c new file mode 100644 index 0000000..f73f828 --- /dev/null +++ b/grub-core/kern/i386/efi/init.c @@ -0,0 +1,47 @@ +/* init.c - initialize an x86-based EFI system */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void +grub_machine_init (void) +{ + grub_efi_init (); + grub_tsc_init (); +} + +void +grub_machine_fini (void) +{ + grub_efi_fini (); +} + +void +grub_machine_set_prefix (void) +{ + grub_efi_set_prefix (); +} diff --git a/grub-core/kern/i386/efi/startup.S b/grub-core/kern/i386/efi/startup.S new file mode 100644 index 0000000..5b464ab --- /dev/null +++ b/grub-core/kern/i386/efi/startup.S @@ -0,0 +1,66 @@ +/* startup.S - bootstrap GRUB itself */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + + .file "startup.S" + .text + .globl start, _start +start: +_start: + jmp codestart + + /* + * Compatibility version number + * + * These MUST be at byte offset 6 and 7 of the executable + * DO NOT MOVE !!! + */ + . = _start + 0x6 + .byte GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR + + /* + * This is a special data area 8 bytes from the beginning. + */ + + . = _start + 0x8 + +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + 0x50 + +codestart: + /* + * EFI_SYSTEM_TABLE * and EFI_HANDLE are passed on the stack. + */ + movl 4(%esp), %eax + movl %eax, EXT_C(grub_efi_image_handle) + movl 8(%esp), %eax + movl %eax, EXT_C(grub_efi_system_table) + call EXT_C(grub_main) + ret + +#include "../realmode.S" diff --git a/grub-core/kern/i386/ieee1275/startup.S b/grub-core/kern/i386/ieee1275/startup.S new file mode 100644 index 0000000..8208732 --- /dev/null +++ b/grub-core/kern/i386/ieee1275/startup.S @@ -0,0 +1,65 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +/* + * Note: GRUB is compiled with the options -mrtd and -mregparm=3. + * So the first three arguments are passed in %eax, %edx, and %ecx, + * respectively, and if a function has a fixed number of arguments + * and the number if greater than three, the function must return + * with "ret $N" where N is ((the number of arguments) - 3) * 4. + */ + + .file "startup.S" + .text + .globl start, _start + +start: +_start: + jmp codestart + + /* + * This is a special data area at a fixed offset from the beginning. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX + +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX_END + +codestart: + movl %eax, EXT_C(grub_ieee1275_entry_fn) + jmp EXT_C(grub_main) + +/* + * prot_to_real and associated structures (but NOT real_to_prot, that is + * only needed for BIOS gates). + */ +#include "../realmode.S" + diff --git a/grub-core/kern/i386/multiboot_mmap.c b/grub-core/kern/i386/multiboot_mmap.c new file mode 100644 index 0000000..7f4bc3b --- /dev/null +++ b/grub-core/kern/i386/multiboot_mmap.c @@ -0,0 +1,73 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +/* A pointer to the MBI in its initial location. */ +struct multiboot_info *startup_multiboot_info; + +/* The MBI has to be copied to our BSS so that it won't be + overwritten. This is its final location. */ +static struct multiboot_info kern_multiboot_info; + +/* Unfortunately we can't use heap at this point. But 32 looks like a sane + limit (used by memtest86). */ +static grub_uint8_t mmap_entries[sizeof (struct multiboot_mmap_entry) * 32]; + +void +grub_machine_mmap_init () +{ + if (! startup_multiboot_info) + grub_fatal ("Unable to find Multiboot Information (is CONFIG_MULTIBOOT disabled in coreboot?)"); + + /* Move MBI to a safe place. */ + grub_memmove (&kern_multiboot_info, startup_multiboot_info, sizeof (struct multiboot_info)); + + if ((kern_multiboot_info.flags & MULTIBOOT_INFO_MEM_MAP) == 0) + grub_fatal ("Missing Multiboot memory information"); + + /* Move the memory map to a safe place. */ + if (kern_multiboot_info.mmap_length > sizeof (mmap_entries)) + { + grub_printf ("WARNING: Memory map size exceeds limit (0x%x > 0x%x); it will be truncated\n", + kern_multiboot_info.mmap_length, sizeof (mmap_entries)); + kern_multiboot_info.mmap_length = sizeof (mmap_entries); + } + grub_memmove (mmap_entries, (void *) kern_multiboot_info.mmap_addr, kern_multiboot_info.mmap_length); + kern_multiboot_info.mmap_addr = (grub_uint32_t) mmap_entries; +} + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + struct multiboot_mmap_entry *entry = (void *) kern_multiboot_info.mmap_addr; + + while ((unsigned long) entry < kern_multiboot_info.mmap_addr + kern_multiboot_info.mmap_length) + { + if (hook (entry->addr, entry->len, entry->type)) + break; + + entry = (void *) ((grub_addr_t) entry + entry->size + sizeof (entry->size)); + } + + return 0; +} diff --git a/grub-core/kern/i386/pc/init.c b/grub-core/kern/i386/pc/init.c new file mode 100644 index 0000000..d8c337b --- /dev/null +++ b/grub-core/kern/i386/pc/init.c @@ -0,0 +1,234 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +struct mem_region +{ + grub_addr_t addr; + grub_size_t size; +}; + +#define MAX_REGIONS 32 + +static struct mem_region mem_regions[MAX_REGIONS]; +static int num_regions; + +static char * +make_install_device (void) +{ + /* XXX: This should be enough. */ + char dev[100], *ptr = dev; + + if (grub_prefix[0] != '(') + { + /* No hardcoded root partition - make it from the boot drive and the + partition number encoded at the install time. */ + if (grub_boot_drive == GRUB_BOOT_MACHINE_PXE_DL) + { + grub_strcpy (dev, "(pxe"); + ptr += sizeof ("(pxe") - 1; + } + else + { + grub_snprintf (dev, sizeof (dev), + "(%cd%u", (grub_boot_drive & 0x80) ? 'h' : 'f', + grub_boot_drive & 0x7f); + ptr += grub_strlen (ptr); + + if (grub_install_dos_part >= 0) + grub_snprintf (ptr, sizeof (dev) - (ptr - dev), + ",%u", grub_install_dos_part + 1); + ptr += grub_strlen (ptr); + + if (grub_install_bsd_part >= 0) + grub_snprintf (ptr, sizeof (dev) - (ptr - dev), ",%u", + grub_install_bsd_part + 1); + ptr += grub_strlen (ptr); + } + + grub_snprintf (ptr, sizeof (dev) - (ptr - dev), ")%s", grub_prefix); + grub_strcpy (grub_prefix, dev); + } + else if (grub_prefix[1] == ',' || grub_prefix[1] == ')') + { + /* We have a prefix, but still need to fill in the boot drive. */ + grub_snprintf (dev, sizeof (dev), + "(%cd%u%s", (grub_boot_drive & 0x80) ? 'h' : 'f', + grub_boot_drive & 0x7f, grub_prefix + 1); + grub_strcpy (grub_prefix, dev); + } + + return grub_prefix; +} + +/* Add a memory region. */ +static void +add_mem_region (grub_addr_t addr, grub_size_t size) +{ + if (num_regions == MAX_REGIONS) + /* Ignore. */ + return; + + mem_regions[num_regions].addr = addr; + mem_regions[num_regions].size = size; + num_regions++; +} + +/* Compact memory regions. */ +static void +compact_mem_regions (void) +{ + int i, j; + + /* Sort them. */ + for (i = 0; i < num_regions - 1; i++) + for (j = i + 1; j < num_regions; j++) + if (mem_regions[i].addr > mem_regions[j].addr) + { + struct mem_region tmp = mem_regions[i]; + mem_regions[i] = mem_regions[j]; + mem_regions[j] = tmp; + } + + /* Merge overlaps. */ + for (i = 0; i < num_regions - 1; i++) + if (mem_regions[i].addr + mem_regions[i].size >= mem_regions[i + 1].addr) + { + j = i + 1; + + if (mem_regions[i].addr + mem_regions[i].size + < mem_regions[j].addr + mem_regions[j].size) + mem_regions[i].size = (mem_regions[j].addr + mem_regions[j].size + - mem_regions[i].addr); + + grub_memmove (mem_regions + j, mem_regions + j + 1, + (num_regions - j - 1) * sizeof (struct mem_region)); + i--; + num_regions--; + } +} + +void +grub_machine_init (void) +{ + int i; +#if 0 + int grub_lower_mem; +#endif + + /* Initialize the console as early as possible. */ + grub_console_init (); + + /* This sanity check is useless since top of GRUB_MEMORY_MACHINE_RESERVED_END + is used for stack and if it's unavailable we wouldn't have gotten so far. + */ +#if 0 + grub_lower_mem = grub_get_conv_memsize () << 10; + + /* Sanity check. */ + if (grub_lower_mem < GRUB_MEMORY_MACHINE_RESERVED_END) + grub_fatal ("too small memory"); +#endif + +/* FIXME: This prevents loader/i386/linux.c from using low memory. When our + heap implements support for requesting a chunk in low memory, this should + no longer be a problem. */ +#if 0 + /* Add the lower memory into free memory. */ + if (grub_lower_mem >= GRUB_MEMORY_MACHINE_RESERVED_END) + add_mem_region (GRUB_MEMORY_MACHINE_RESERVED_END, + grub_lower_mem - GRUB_MEMORY_MACHINE_RESERVED_END); +#endif + + auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t, + grub_memory_type_t); + int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, + grub_memory_type_t type) + { + /* Avoid the lower memory. */ + if (addr < 0x100000) + { + if (size <= 0x100000 - addr) + return 0; + + size -= 0x100000 - addr; + addr = 0x100000; + } + + /* Ignore >4GB. */ + if (addr <= 0xFFFFFFFF && type == GRUB_MEMORY_AVAILABLE) + { + grub_size_t len; + + len = (grub_size_t) ((addr + size > 0xFFFFFFFF) + ? 0xFFFFFFFF - addr + : size); + add_mem_region (addr, len); + } + + return 0; + } + + grub_machine_mmap_iterate (hook); + + compact_mem_regions (); + + for (i = 0; i < num_regions; i++) + grub_mm_init_region ((void *) mem_regions[i].addr, mem_regions[i].size); + + grub_tsc_init (); +} + +void +grub_machine_set_prefix (void) +{ + /* Initialize the prefix. */ + grub_env_set ("prefix", make_install_device ()); +} + +void +grub_machine_fini (void) +{ + grub_console_fini (); + grub_stop_floppy (); +} + +/* Return the end of the core image. */ +grub_addr_t +grub_arch_modules_addr (void) +{ + return GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR + + (grub_kernel_image_size - GRUB_KERNEL_MACHINE_RAW_SIZE); +} diff --git a/grub-core/kern/i386/pc/lzma_decode.S b/grub-core/kern/i386/pc/lzma_decode.S new file mode 100644 index 0000000..88c668d --- /dev/null +++ b/grub-core/kern/i386/pc/lzma_decode.S @@ -0,0 +1,614 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define FIXED_PROPS + +#define LZMA_BASE_SIZE 1846 +#define LZMA_LIT_SIZE 768 + +#define LZMA_PROPERTIES_SIZE 5 + +#define kNumTopBits 24 +#define kTopValue (1 << kNumTopBits) + +#define kNumBitModelTotalBits 11 +#define kBitModelTotal (1 << kNumBitModelTotalBits) +#define kNumMoveBits 5 + + +#define kNumPosBitsMax 4 +#define kNumPosStatesMax (1 << kNumPosBitsMax) + +#define kLenNumLowBits 3 +#define kLenNumLowSymbols (1 << kLenNumLowBits) +#define kLenNumMidBits 3 +#define kLenNumMidSymbols (1 << kLenNumMidBits) +#define kLenNumHighBits 8 +#define kLenNumHighSymbols (1 << kLenNumHighBits) + +#define LenChoice 0 +#define LenChoice2 (LenChoice + 1) +#define LenLow (LenChoice2 + 1) +#define LenMid (LenLow + (kNumPosStatesMax << kLenNumLowBits)) +#define LenHigh (LenMid + (kNumPosStatesMax << kLenNumMidBits)) +#define kNumLenProbs (LenHigh + kLenNumHighSymbols) + + +#define kNumStates 12 +#define kNumLitStates 7 + +#define kStartPosModelIndex 4 +#define kEndPosModelIndex 14 +#define kNumFullDistances (1 << (kEndPosModelIndex >> 1)) + +#define kNumPosSlotBits 6 +#define kNumLenToPosStates 4 + +#define kNumAlignBits 4 +#define kAlignTableSize (1 << kNumAlignBits) + +#define kMatchMinLen 2 + +#define IsMatch 0 +#define IsRep (IsMatch + (kNumStates << kNumPosBitsMax)) +#define IsRepG0 (IsRep + kNumStates) +#define IsRepG1 (IsRepG0 + kNumStates) +#define IsRepG2 (IsRepG1 + kNumStates) +#define IsRep0Long (IsRepG2 + kNumStates) +#define PosSlot (IsRep0Long + (kNumStates << kNumPosBitsMax)) +#define SpecPos (PosSlot + (kNumLenToPosStates << kNumPosSlotBits)) +#define Align (SpecPos + kNumFullDistances - kEndPosModelIndex) +#define LenCoder (Align + kAlignTableSize) +#define RepLenCoder (LenCoder + kNumLenProbs) +#define Literal (RepLenCoder + kNumLenProbs) + +#define out_size 8(%ebp) + +#define now_pos -4(%ebp) +#define prev_byte -8(%ebp) +#define range -12(%ebp) +#define code -16(%ebp) +#define state -20(%ebp) +#define rep0 -24(%ebp) +#define rep1 -28(%ebp) +#define rep2 -32(%ebp) +#define rep3 -36(%ebp) + +#ifdef FIXED_PROPS + +#define FIXED_LC 3 +#define FIXED_LP 0 +#define FIXED_PB 2 + +#define POS_STATE_MASK ((1 << (FIXED_PB)) - 1) +#define LIT_POS_MASK ((1 << (FIXED_LP)) - 1) + +#define LOCAL_SIZE 36 + +#else + +#define lc (%ebx) +#define lp 4(%ebx) +#define pb 8(%ebx) +#define probs 12(%ebx) + +#define pos_state_mask -40(%ebp) +#define lit_pos_mask -44(%ebp) + +#define LOCAL_SIZE 44 + +#endif + +RangeDecoderBitDecode: +#ifdef FIXED_PROPS + leal (%ebx, %eax, 4), %eax +#else + shll $2, %eax + addl probs, %eax +#endif + + movl %eax, %ecx + movl (%ecx), %eax + + movl range, %edx + shrl $kNumBitModelTotalBits, %edx + mull %edx + + cmpl code, %eax + jbe 1f + + movl %eax, range + movl $kBitModelTotal, %edx + subl (%ecx), %edx + shrl $kNumMoveBits, %edx + addl %edx, (%ecx) + clc +3: + pushf + cmpl $kTopValue, range + jnc 2f + shll $8, code + lodsb + movb %al, code + shll $8, range +2: + popf + ret +1: + subl %eax, range + subl %eax, code + movl (%ecx), %edx + shrl $kNumMoveBits, %edx + subl %edx, (%ecx) + stc + jmp 3b + +RangeDecoderBitTreeDecode: +RangeDecoderReverseBitTreeDecode: + movzbl %cl, %ecx + xorl %edx, %edx + pushl %edx + incl %edx + pushl %edx + +1: + pushl %eax + pushl %ecx + pushl %edx + + addl %edx, %eax + call RangeDecoderBitDecode + + popl %edx + popl %ecx + + jnc 2f + movl 4(%esp), %eax + orl %eax, 8(%esp) + stc + +2: + adcl %edx, %edx + popl %eax + + shll $1, (%esp) + loop 1b + + popl %ecx + subl %ecx, %edx /* RangeDecoderBitTreeDecode */ + popl %ecx /* RangeDecoderReverseBitTreeDecode */ + ret + +LzmaLenDecode: + pushl %eax + addl $LenChoice, %eax + call RangeDecoderBitDecode + popl %eax + jc 1f + pushl $0 + movb $kLenNumLowBits, %cl + addl $LenLow, %eax +2: + movl 12(%esp), %edx + shll %cl, %edx + addl %edx, %eax +3: + + call RangeDecoderBitTreeDecode + popl %eax + addl %eax, %edx + ret + +1: + pushl %eax + addl $LenChoice2, %eax + call RangeDecoderBitDecode + popl %eax + jc 1f + pushl $kLenNumLowSymbols + movb $kLenNumMidBits, %cl + addl $LenMid, %eax + jmp 2b + +1: + pushl $(kLenNumLowSymbols + kLenNumMidSymbols) + addl $LenHigh, %eax + movb $kLenNumHighBits, %cl + jmp 3b + +WriteByte: + movb %al, prev_byte + stosb + incl now_pos + ret + +/* + * int LzmaDecode(CLzmaDecoderState *vs, + * const unsigned char *inStream, + * unsigned char *outStream, + * SizeT outSize); + */ + +_LzmaDecodeA: + + pushl %ebp + movl %esp, %ebp + subl $LOCAL_SIZE, %esp + +#ifndef ASM_FILE + pushl %esi + pushl %edi + pushl %ebx + + movl %eax, %ebx + movl %edx, %esi + pushl %ecx +#else + pushl %edi +#endif + + cld + +#ifdef FIXED_PROPS + movl %ebx, %edi + movl $(Literal + (LZMA_LIT_SIZE << (FIXED_LC + FIXED_LP))), %ecx +#else + movl $LZMA_LIT_SIZE, %eax + movb lc, %cl + addb lp, %cl + shll %cl, %eax + addl $Literal, %eax + movl %eax, %ecx + movl probs, %edi +#endif + + movl $(kBitModelTotal >> 1), %eax + + rep + stosl + + popl %edi + + xorl %eax, %eax + movl %eax, now_pos + movl %eax, prev_byte + movl %eax, state + + incl %eax + movl %eax, rep0 + movl %eax, rep1 + movl %eax, rep2 + movl %eax, rep3 + +#ifndef FIXED_PROPS + movl %eax, %edx + movb pb, %cl + shll %cl, %edx + decl %edx + movl %edx, pos_state_mask + + movl %eax, %edx + movb lp, %cl + shll %cl, %edx + decl %edx + movl %edx, lit_pos_mask; +#endif + + /* RangeDecoderInit */ + negl %eax + movl %eax, range + + incl %eax + movb $5, %cl + +1: + shll $8, %eax + lodsb + loop 1b + + movl %eax, code + +lzma_decode_loop: + movl now_pos, %eax + cmpl out_size, %eax + + jb 1f + +#ifndef ASM_FILE + xorl %eax, %eax + + popl %ebx + popl %edi + popl %esi +#endif + + movl %ebp, %esp + popl %ebp + ret + +1: +#ifdef FIXED_PROPS + andl $POS_STATE_MASK, %eax +#else + andl pos_state_mask, %eax +#endif + pushl %eax /* posState */ + movl state, %edx + shll $kNumPosBitsMax, %edx + addl %edx, %eax + pushl %eax /* (state << kNumPosBitsMax) + posState */ + + call RangeDecoderBitDecode + jc 1f + + movl now_pos, %eax + +#ifdef FIXED_PROPS + andl $LIT_POS_MASK, %eax + shll $FIXED_LC, %eax + movl prev_byte, %edx + shrl $(8 - FIXED_LC), %edx +#else + andl lit_pos_mask, %eax + movb lc, %cl + shll %cl, %eax + negb %cl + addb $8, %cl + movl prev_byte, %edx + shrl %cl, %edx +#endif + + addl %edx, %eax + movl $LZMA_LIT_SIZE, %edx + mull %edx + addl $Literal, %eax + pushl %eax + + incl %edx /* edx = 1 */ + + movl rep0, %eax + negl %eax + pushl (%edi, %eax) /* matchByte */ + + cmpb $kNumLitStates, state + jb 5f + + /* LzmaLiteralDecodeMatch */ + +3: + cmpl $0x100, %edx + jae 4f + + xorl %eax, %eax + shlb $1, (%esp) + adcl %eax, %eax + + pushl %eax + pushl %edx + + shll $8, %eax + leal 0x100(%edx, %eax), %eax + addl 12(%esp), %eax + call RangeDecoderBitDecode + + setc %al + popl %edx + adcl %edx, %edx + + popl %ecx + cmpb %cl, %al + jz 3b + +5: + + /* LzmaLiteralDecode */ + + cmpl $0x100, %edx + jae 4f + + pushl %edx + movl %edx, %eax + addl 8(%esp), %eax + call RangeDecoderBitDecode + popl %edx + adcl %edx, %edx + jmp 5b + +4: + addl $16, %esp + + movb %dl, %al + call WriteByte + + movb state, %al + cmpb $4, %al + jae 2f + xorb %al, %al + jmp 3f +2: + subb $3, %al + cmpb $7, %al + jb 3f + subb $3, %al +3: + movb %al, state + jmp lzma_decode_loop + +1: + movl state, %eax + addl $IsRep, %eax + call RangeDecoderBitDecode + jnc 1f + + movl state, %eax + addl $IsRepG0, %eax + call RangeDecoderBitDecode + jc 10f + + movl (%esp), %eax + addl $IsRep0Long, %eax + call RangeDecoderBitDecode + jc 20f + + cmpb $7, state + movb $9, state + jb 100f + addb $2, state +100: + + movl $1, %ecx + +3: + movl rep0, %edx + negl %edx + +4: + movb (%edi, %edx), %al + call WriteByte + loop 4b + + popl %eax + popl %eax + jmp lzma_decode_loop + +10: + movl state, %eax + addl $IsRepG1, %eax + call RangeDecoderBitDecode + movl rep1, %edx + jnc 100f + + movl state, %eax + addl $IsRepG2, %eax + call RangeDecoderBitDecode + movl rep2, %edx + jnc 1000f + movl rep2, %edx + xchgl rep3, %edx +1000: + pushl rep1 + popl rep2 +100: + xchg rep0, %edx + movl %edx, rep1 +20: + + movl $RepLenCoder, %eax + call LzmaLenDecode + + cmpb $7, state + movb $8, state + jb 100f + addb $3, state +100: + jmp 2f + +1: + movl rep0, %eax + xchgl rep1, %eax + xchgl rep2, %eax + movl %eax, rep3 + + cmpb $7, state + movb $7, state + jb 10f + addb $3, state +10: + + movl $LenCoder, %eax + call LzmaLenDecode + pushl %edx + + movl $(kNumLenToPosStates - 1), %eax + cmpl %eax, %edx + jbe 100f + movl %eax, %edx +100: + movb $kNumPosSlotBits, %cl + shll %cl, %edx + leal PosSlot(%edx), %eax + call RangeDecoderBitTreeDecode + + movl %edx, rep0 + cmpl $kStartPosModelIndex, %edx + jb 100f + + movl %edx, %ecx + shrl $1, %ecx + decl %ecx + + movzbl %dl, %eax + andb $1, %al + orb $2, %al + shll %cl, %eax + movl %eax, rep0 + + cmpl $kEndPosModelIndex, %edx + jae 200f + movl rep0, %eax + addl $(SpecPos - 1), %eax + subl %edx, %eax + jmp 300f +200: + + subb $kNumAlignBits, %cl + + /* RangeDecoderDecodeDirectBits */ + xorl %edx, %edx + +1000: + shrl $1, range + shll $1, %edx + + movl range, %eax + cmpl %eax, code + jb 2000f + subl %eax, code + orb $1, %dl +2000: + + cmpl $kTopValue, %eax + jae 3000f + shll $8, range + shll $8, code + lodsb + movb %al, code + +3000: + loop 1000b + + movb $kNumAlignBits, %cl + shll %cl, %edx + addl %edx, rep0 + + movl $Align, %eax + +300: + call RangeDecoderReverseBitTreeDecode + addl %ecx, rep0 + +100: + incl rep0 + popl %edx + +2: + + addl $kMatchMinLen, %edx + movl %edx, %ecx + + jmp 3b diff --git a/grub-core/kern/i386/pc/mmap.c b/grub-core/kern/i386/pc/mmap.c new file mode 100644 index 0000000..480ffa9 --- /dev/null +++ b/grub-core/kern/i386/pc/mmap.c @@ -0,0 +1,190 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +struct grub_machine_mmap_entry +{ + grub_uint32_t size; + grub_uint64_t addr; + grub_uint64_t len; +#define GRUB_MACHINE_MEMORY_AVAILABLE 1 +#define GRUB_MACHINE_MEMORY_RESERVED 2 +#define GRUB_MACHINE_MEMORY_ACPI 3 +#define GRUB_MACHINE_MEMORY_NVS 4 +#define GRUB_MACHINE_MEMORY_BADRAM 5 + grub_uint32_t type; +} __attribute__((packed)); + + +/* + * + * grub_get_conv_memsize(i) : return the conventional memory size in KB. + * BIOS call "INT 12H" to get conventional memory size + * The return value in AX. + */ +static inline grub_uint16_t +grub_get_conv_memsize (void) +{ + struct grub_bios_int_registers regs; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x12, ®s); + return regs.eax & 0xffff; +} + +/* + * grub_get_ext_memsize() : return the extended memory size in KB. + * BIOS call "INT 15H, AH=88H" to get extended memory size + * The return value in AX. + * + */ +static inline grub_uint16_t +grub_get_ext_memsize (void) +{ + struct grub_bios_int_registers regs; + + regs.eax = 0x8800; + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + grub_bios_interrupt (0x15, ®s); + return regs.eax & 0xffff; +} + +/* Get a packed EISA memory map. Lower 16 bits are between 1MB and 16MB + in 1KB parts, and upper 16 bits are above 16MB in 64KB parts. If error, return zero. + BIOS call "INT 15H, AH=E801H" to get EISA memory map, + AX = memory between 1M and 16M in 1K parts. + BX = memory above 16M in 64K parts. +*/ + +static inline grub_uint32_t +grub_get_eisa_mmap (void) +{ + struct grub_bios_int_registers regs; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + regs.eax = 0xe801; + grub_bios_interrupt (0x15, ®s); + + if ((regs.eax & 0xff00) == 0x8600) + return 0; + + return (regs.eax & 0xffff) | (regs.ebx << 16); +} + +/* + * + * grub_get_mmap_entry(addr, cont) : address and old continuation value (zero to + * start), for the Query System Address Map BIOS call. + * + * Sets the first 4-byte int value of "addr" to the size returned by + * the call. If the call fails, sets it to zero. + * + * Returns: new (non-zero) continuation value, 0 if done. + */ +/* Get a memory map entry. Return next continuation value. Zero means + the end. */ +static grub_uint32_t +grub_get_mmap_entry (struct grub_machine_mmap_entry *entry, + grub_uint32_t cont) +{ + struct grub_bios_int_registers regs; + + regs.flags = GRUB_CPU_INT_FLAGS_DEFAULT; + + /* place address (+4) in ES:DI */ + regs.es = ((grub_addr_t) &entry->addr) >> 4; + regs.edi = ((grub_addr_t) &entry->addr) & 0xf; + + /* set continuation value */ + regs.ebx = cont; + + /* set default maximum buffer size */ + regs.ecx = sizeof (*entry) - sizeof (entry->size); + + /* set EDX to 'SMAP' */ + regs.edx = 0x534d4150; + + regs.eax = 0xe820; + grub_bios_interrupt (0x15, ®s); + + /* write length of buffer (zero if error) into ADDR */ + if ((regs.flags & GRUB_CPU_INT_FLAGS_CARRY) || regs.eax != 0x534d4150 + || regs.ecx < 0x14 || regs.ecx > 0x400) + entry->size = 0; + else + entry->size = regs.ecx; + + /* return the continuation value */ + return regs.ebx; +} + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + grub_uint32_t cont; + struct grub_machine_mmap_entry *entry + = (struct grub_machine_mmap_entry *) GRUB_MEMORY_MACHINE_SCRATCH_ADDR; + + grub_memset (entry, 0, sizeof (entry)); + + /* Check if grub_get_mmap_entry works. */ + cont = grub_get_mmap_entry (entry, 0); + + if (entry->size) + do + { + if (hook (entry->addr, entry->len, + /* GRUB mmaps have been defined to match with the E820 definition. + Therefore, we can just pass type through. */ + ((entry->type <= GRUB_MACHINE_MEMORY_BADRAM) && (entry->type >= GRUB_MACHINE_MEMORY_AVAILABLE)) ? entry->type : GRUB_MEMORY_RESERVED)) + break; + + if (! cont) + break; + + grub_memset (entry, 0, sizeof (entry)); + + cont = grub_get_mmap_entry (entry, cont); + } + while (entry->size); + else + { + grub_uint32_t eisa_mmap = grub_get_eisa_mmap (); + + if (hook (0x0, ((grub_uint32_t) grub_get_conv_memsize ()) << 10, + GRUB_MEMORY_AVAILABLE)) + return 0; + + if (eisa_mmap) + { + if (hook (0x100000, (eisa_mmap & 0xFFFF) << 10, + GRUB_MEMORY_AVAILABLE) == 0) + hook (0x1000000, eisa_mmap & ~0xFFFF, GRUB_MEMORY_AVAILABLE); + } + else + hook (0x100000, ((grub_uint32_t) grub_get_ext_memsize ()) << 10, + GRUB_MEMORY_AVAILABLE); + } + + return 0; +} diff --git a/grub-core/kern/i386/pc/startup.S b/grub-core/kern/i386/pc/startup.S new file mode 100644 index 0000000..e78a0aa --- /dev/null +++ b/grub-core/kern/i386/pc/startup.S @@ -0,0 +1,1011 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + + +/* + * Note: These functions defined in this file may be called from C. + * Be careful of that you must not modify some registers. Quote + * from gcc-2.95.2/gcc/config/i386/i386.h: + + 1 for registers not available across function calls. + These must include the FIXED_REGISTERS and also any + registers that can be used without being saved. + The latter must include the registers where values are returned + and the register where structure-value addresses are passed. + Aside from that, you can include as many other registers as you like. + + ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg +{ 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } + */ + +/* + * Note: GRUB is compiled with the options -mrtd and -mregparm=3. + * So the first three arguments are passed in %eax, %edx, and %ecx, + * respectively, and if a function has a fixed number of arguments + * and the number is greater than three, the function must return + * with "ret $N" where N is ((the number of arguments) - 3) * 4. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define ABS(x) ((x) - LOCAL (base) + GRUB_BOOT_MACHINE_KERNEL_ADDR + 0x200) + + .file "startup.S" + + .text + + /* Tell GAS to generate 16-bit instructions so that this code works + in real mode. */ + .code16 + + .globl start, _start +start: +_start: +LOCAL (base): + /* + * Guarantee that "main" is loaded at 0x0:0x8200. + */ +#ifdef __APPLE__ + ljmp $0, $(ABS(LOCAL (codestart)) - 0x10000) +#else + ljmp $0, $ABS(LOCAL (codestart)) +#endif + /* + * Compatibility version number + * + * These MUST be at byte offset 6 and 7 of the executable + * DO NOT MOVE !!! + */ + . = _start + 0x6 + .byte GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR + + /* + * This is a special data area 8 bytes from the beginning. + */ + + . = _start + 0x8 + +VARIABLE(grub_total_module_size) + .long 0 +VARIABLE(grub_kernel_image_size) + .long 0 +VARIABLE(grub_compressed_size) + .long 0 +VARIABLE(grub_install_dos_part) + .long 0xFFFFFFFF +VARIABLE(grub_install_bsd_part) + .long 0xFFFFFFFF +reed_solomon_redundancy: + .long 0 + +#ifdef APPLE_CC +bss_start: + .long 0 +bss_end: + .long 0 +#endif +/* + * This is the area for all of the special variables. + */ + +VARIABLE(grub_boot_drive) + .byte 0 + +/* the real mode code continues... */ +LOCAL (codestart): + cli /* we're not safe here! */ + + /* set up %ds, %ss, and %es */ + xorw %ax, %ax + movw %ax, %ds + movw %ax, %ss + movw %ax, %es + + /* set up the real mode/BIOS stack */ + movl $GRUB_MEMORY_MACHINE_REAL_STACK, %ebp + movl %ebp, %esp + + sti /* we're safe again */ + + /* save the boot drive */ + ADDR32 movb %dl, EXT_C(grub_boot_drive) + + /* reset disk system (%ah = 0) */ + int $0x13 + + /* transition to protected mode */ + DATA32 call real_to_prot + + /* The ".code32" directive takes GAS out of 16-bit mode. */ + .code32 + + incl %eax + call grub_gate_a20 + + movl EXT_C(grub_compressed_size), %edx + addl $(GRUB_KERNEL_MACHINE_RAW_SIZE - GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART), %edx + movl reed_solomon_redundancy, %ecx + leal _start + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART, %eax + call EXT_C (grub_reed_solomon_recover) + jmp post_reed_solomon + +#include + + .text + + . = _start + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART +/* + * Support for booting GRUB from a Multiboot boot loader (e.g. GRUB itself). + * This uses the a.out kludge to load raw binary to the area starting at 1MB, + * and relocates itself after loaded. + */ + .p2align 2 /* force 4-byte alignment */ +multiboot_header: + /* magic */ + .long 0x1BADB002 + /* flags */ + .long (1 << 16) + /* checksum */ + .long -0x1BADB002 - (1 << 16) + /* header addr */ + .long multiboot_header - _start + 0x100000 + 0x200 + /* load addr */ + .long 0x100000 + /* load end addr */ + .long 0 + /* bss end addr */ + .long 0 + /* entry addr */ + .long multiboot_entry - _start + 0x100000 + 0x200 + +multiboot_entry: + .code32 + /* obtain the boot device */ + movl 12(%ebx), %edx + + movl $GRUB_MEMORY_MACHINE_PROT_STACK, %ebp + movl %ebp, %esp + + /* relocate the code */ + movl $(GRUB_KERNEL_MACHINE_RAW_SIZE + 0x200), %ecx + addl EXT_C(grub_compressed_size) - _start + 0x100000 + 0x200, %ecx + movl $0x100000, %esi + movl $GRUB_BOOT_MACHINE_KERNEL_ADDR, %edi + cld + rep + movsb + /* jump to the real address */ + movl $multiboot_trampoline, %eax + jmp *%eax + +multiboot_trampoline: + /* fill the boot information */ + movl %edx, %eax + shrl $8, %eax + xorl %ebx, %ebx + cmpb $0xFF, %ah + je 1f + movb %ah, %bl + movl %ebx, EXT_C(grub_install_dos_part) +1: + cmpb $0xFF, %al + je 2f + movb %al, %bl + movl %ebx, EXT_C(grub_install_bsd_part) +2: + shrl $24, %edx + movb $0xFF, %dh + /* enter the usual booting */ + call prot_to_real + jmp LOCAL (codestart) + +post_reed_solomon: + +#ifdef ENABLE_LZMA + movl $GRUB_MEMORY_MACHINE_DECOMPRESSION_ADDR, %edi + movl $(_start + GRUB_KERNEL_MACHINE_RAW_SIZE), %esi + pushl %edi + pushl %esi + movl EXT_C(grub_kernel_image_size), %ecx + addl EXT_C(grub_total_module_size), %ecx + subl $GRUB_KERNEL_MACHINE_RAW_SIZE, %ecx + pushl %ecx + leal (%edi, %ecx), %ebx + call _LzmaDecodeA + /* _LzmaDecodeA clears DF, so no need to run cld */ + popl %ecx + popl %edi + popl %esi +#endif + + /* copy back the decompressed part (except the modules) */ + subl EXT_C(grub_total_module_size), %ecx + rep + movsb + +#if 0 + /* copy modules before cleaning out the bss */ + movl EXT_C(grub_total_module_size), %ecx + movl EXT_C(grub_kernel_image_size), %esi + addl %ecx, %esi + addl $_start, %esi + decl %esi + movl $END_SYMBOL, %edi + addl %ecx, %edi + decl %edi + std + rep + movsb +#endif + +#ifdef APPLE_CC + /* clean out the bss */ + bss_start_abs = ABS (bss_start) + bss_end_abs = ABS (bss_end) + + movl bss_start_abs, %edi + + /* compute the bss length */ + movl bss_end_abs, %ecx + subl %edi, %ecx +#else + /* clean out the bss */ + movl $BSS_START_SYMBOL, %edi + + /* compute the bss length */ + movl $END_SYMBOL, %ecx + subl %edi, %ecx +#endif + + /* clean out */ + xorl %eax, %eax + cld + rep + stosb + + /* + * Call the start of main body of C code. + */ + call EXT_C(grub_main) + +#include "../realmode.S" + +/* + * grub_gate_a20(int on) + * + * Gate address-line 20 for high memory. + * + * This routine is probably overconservative in what it does, but so what? + * + * It also eats any keystrokes in the keyboard buffer. :-( + */ + +grub_gate_a20: + movl %eax, %edx + +gate_a20_test_current_state: + /* first of all, test if already in a good state */ + call gate_a20_check_state + cmpb %al, %dl + jnz gate_a20_try_bios + ret + +gate_a20_try_bios: + /* second, try a BIOS call */ + pushl %ebp + call prot_to_real + + .code16 + movw $0x2400, %ax + testb %dl, %dl + jz 1f + incw %ax +1: int $0x15 + + DATA32 call real_to_prot + .code32 + + popl %ebp + call gate_a20_check_state + cmpb %al, %dl + jnz gate_a20_try_system_control_port_a + ret + +gate_a20_try_system_control_port_a: + /* + * In macbook, the keyboard test would hang the machine, so we move + * this forward. + */ + /* fourth, try the system control port A */ + inb $0x92 + andb $(~0x03), %al + testb %dl, %dl + jz 6f + orb $0x02, %al +6: outb $0x92 + + /* When turning off Gate A20, do not check the state strictly, + because a failure is not fatal usually, and Gate A20 is always + on some modern machines. */ + testb %dl, %dl + jz 7f + call gate_a20_check_state + cmpb %al, %dl + jnz gate_a20_try_keyboard_controller +7: ret + +gate_a20_flush_keyboard_buffer: + inb $0x64 + andb $0x02, %al + jnz gate_a20_flush_keyboard_buffer +2: + inb $0x64 + andb $0x01, %al + jz 3f + inb $0x60 + jmp 2b +3: + ret + +gate_a20_try_keyboard_controller: + /* third, try the keyboard controller */ + call gate_a20_flush_keyboard_buffer + + movb $0xd1, %al + outb $0x64 +4: + inb $0x64 + andb $0x02, %al + jnz 4b + + movb $0xdd, %al + testb %dl, %dl + jz 5f + orb $0x02, %al +5: outb $0x60 + call gate_a20_flush_keyboard_buffer + + /* output a dummy command (USB keyboard hack) */ + movb $0xff, %al + outb $0x64 + call gate_a20_flush_keyboard_buffer + + call gate_a20_check_state + cmpb %al, %dl + /* everything failed, so restart from the beginning */ + jnz gate_a20_try_bios + ret + +gate_a20_check_state: + /* iterate the checking for a while */ + movl $100, %ecx +1: + call 3f + cmpb %al, %dl + jz 2f + loop 1b +2: + ret +3: + pushl %ebx + pushl %ecx + xorl %eax, %eax + /* compare the byte at 0x8000 with that at 0x108000 */ + movl $GRUB_BOOT_MACHINE_KERNEL_ADDR, %ebx + pushl %ebx + /* save the original byte in CL */ + movb (%ebx), %cl + /* store the value at 0x108000 in AL */ + addl $0x100000, %ebx + movb (%ebx), %al + /* try to set one less value at 0x8000 */ + popl %ebx + movb %al, %ch + decb %ch + movb %ch, (%ebx) + /* serialize */ + outb %al, $0x80 + outb %al, $0x80 + /* obtain the value at 0x108000 in CH */ + pushl %ebx + addl $0x100000, %ebx + movb (%ebx), %ch + /* this result is 1 if A20 is on or 0 if it is off */ + subb %ch, %al + xorb $1, %al + /* restore the original */ + popl %ebx + movb %cl, (%ebx) + popl %ecx + popl %ebx + ret + +#ifdef ENABLE_LZMA +#include "lzma_decode.S" +#endif + +/* + * The code beyond this point is compressed. Assert that the uncompressed + * code fits GRUB_KERNEL_MACHINE_RAW_SIZE. + */ + . = _start + GRUB_KERNEL_MACHINE_RAW_SIZE + + . = _start + GRUB_KERNEL_MACHINE_PREFIX +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + . = _start + GRUB_KERNEL_MACHINE_PREFIX_END + + + +/* + * grub_exit() + * + * Exit the system. + */ +FUNCTION(grub_exit) + call prot_to_real + .code16 + /* Tell the BIOS a boot failure. If this does not work, reboot. */ + int $0x18 + jmp cold_reboot + .code32 + +/* + * void grub_chainloader_real_boot (int drive, void *part_addr) + * + * This starts another boot loader. + */ + +FUNCTION(grub_chainloader_real_boot) + pushl %edx + pushl %eax + + /* Turn off Gate A20 */ + xorl %eax, %eax + call grub_gate_a20 + + /* set up to pass boot drive */ + popl %edx + + /* ESI must point to a partition table entry */ + popl %esi + + call prot_to_real + .code16 + ljmp $0, $GRUB_MEMORY_MACHINE_BOOT_LOADER_ADDR + .code32 + +/* + * void grub_console_putchar (int c) + * + * Put the character C on the console. Because GRUB wants to write a + * character with an attribute, this implementation is a bit tricky. + * If C is a control character (CR, LF, BEL, BS), use INT 10, AH = 0Eh + * (TELETYPE OUTPUT). Otherwise, save the original position, put a space, + * save the current position, restore the original position, write the + * character and the attribute, and restore the current position. + * + * The reason why this is so complicated is that there is no easy way to + * get the height of the screen, and the TELETYPE OUTPUT BIOS call doesn't + * support setting a background attribute. + */ +FUNCTION(grub_console_putchar) + /* Retrieve the base character. */ + movl 0(%edx), %edx + pusha + movb EXT_C(grub_console_cur_color), %bl + + call prot_to_real + .code16 + movb %dl, %al + xorb %bh, %bh + + /* use teletype output if control character */ + cmpb $0x7, %al + je 1f + cmpb $0x8, %al + je 1f + cmpb $0xa, %al + je 1f + cmpb $0xd, %al + je 1f + + /* save the character and the attribute on the stack */ + pushw %ax + pushw %bx + + /* get the current position */ + movb $0x3, %ah + int $0x10 + + /* check the column with the width */ + cmpb $79, %dl + jl 2f + + /* print CR and LF, if next write will exceed the width */ + movw $0x0e0d, %ax + int $0x10 + movb $0x0a, %al + int $0x10 + + /* get the current position */ + movb $0x3, %ah + int $0x10 + +2: + /* restore the character and the attribute */ + popw %bx + popw %ax + + /* write the character with the attribute */ + movb $0x9, %ah + movw $1, %cx + int $0x10 + + /* move the cursor forward */ + incb %dl + movb $0x2, %ah + int $0x10 + + jmp 3f + +1: movw $1, %bx + movb $0xe, %ah + int $0x10 + +3: DATA32 call real_to_prot + .code32 + + popa + ret + + +LOCAL(bypass_table): + .word 0x011b, 0x0f00 | '\t', 0x0e00 | '\b', 0x1c00 | '\r' + .word 0x1c00 | '\n' +LOCAL(bypass_table_end): + +/* + * int grub_console_getkey (void) + * if there is a character pending, return it; otherwise return -1 + * BIOS call "INT 16H Function 01H" to check whether a character is pending + * Call with %ah = 0x1 + * Return: + * If key waiting to be input: + * %ah = keyboard scan code + * %al = ASCII character + * Zero flag = clear + * else + * Zero flag = set + * BIOS call "INT 16H Function 00H" to read character from keyboard + * Call with %ah = 0x0 + * Return: %ah = keyboard scan code + * %al = ASCII character + */ + +FUNCTION(grub_console_getkey) + pushl %ebp + pushl %edi + + call prot_to_real + .code16 + + /* + * Due to a bug in apple's bootcamp implementation, INT 16/AH = 0 would + * cause the machine to hang at the second keystroke. However, we can + * work around this problem by ensuring the presence of keystroke with + * INT 16/AH = 1 before calling INT 16/AH = 0. + */ + + movb $1, %ah + int $0x16 + jz notpending + + movb $0, %ah + int $0x16 + + xorl %edx, %edx + movw %ax, %dx /* real_to_prot uses %eax */ + + DATA32 call real_to_prot + .code32 + + movl $0xff, %eax + testl %eax, %edx + jz 1f + + andl %edx, %eax + cmpl $0x20, %eax + jae 2f + movl %edx, %eax + leal LOCAL(bypass_table), %edi + movl $((LOCAL(bypass_table_end) - LOCAL(bypass_table)) >> 1), %ecx + repne scasw + jz 3f + + andl $0xff, %eax + addl $(('a' - 1) | GRUB_TERM_CTRL), %eax + jmp 2f +3: + andl $0xff, %eax + jmp 2f + +1: movl %edx, %eax + shrl $8, %eax + orl $GRUB_TERM_EXTENDED, %eax +2: + popl %edi + popl %ebp + ret + +notpending: + .code16 + DATA32 call real_to_prot + .code32 +#if GRUB_TERM_NO_KEY != 0 +#error Fix this asm code +#endif + jmp 2b + + +/* + * grub_uint16_t grub_console_getxy (void) + * BIOS call "INT 10H Function 03h" to get cursor position + * Call with %ah = 0x03 + * %bh = page + * Returns %ch = starting scan line + * %cl = ending scan line + * %dh = row (0 is top) + * %dl = column (0 is left) + */ + + +FUNCTION(grub_console_getxy) + pushl %ebp + pushl %ebx /* save EBX */ + + call prot_to_real + .code16 + + xorb %bh, %bh /* set page to 0 */ + movb $0x3, %ah + int $0x10 /* get cursor position */ + + DATA32 call real_to_prot + .code32 + + movb %dl, %ah + movb %dh, %al + + popl %ebx + popl %ebp + ret + + +/* + * void grub_console_gotoxy(grub_uint8_t x, grub_uint8_t y) + * BIOS call "INT 10H Function 02h" to set cursor position + * Call with %ah = 0x02 + * %bh = page + * %dh = row (0 is top) + * %dl = column (0 is left) + */ + + +FUNCTION(grub_console_gotoxy) + pushl %ebp + pushl %ebx /* save EBX */ + + movb %cl, %dh /* %dh = y */ + /* %dl = x */ + + call prot_to_real + .code16 + + xorb %bh, %bh /* set page to 0 */ + movb $0x2, %ah + int $0x10 /* set cursor position */ + + DATA32 call real_to_prot + .code32 + + popl %ebx + popl %ebp + ret + + +/* + * void grub_console_cls (void) + * BIOS call "INT 10H Function 09h" to write character and attribute + * Call with %ah = 0x09 + * %al = (character) + * %bh = (page number) + * %bl = (attribute) + * %cx = (number of times) + */ + +FUNCTION(grub_console_cls) + pushl %ebp + pushl %ebx /* save EBX */ + + call prot_to_real + .code16 + + /* move the cursor to the beginning */ + movb $0x02, %ah + xorb %bh, %bh + xorw %dx, %dx + int $0x10 + + /* write spaces to the entire screen */ + movw $0x0920, %ax + movw $0x07, %bx + movw $(80 * 25), %cx + int $0x10 + + /* move back the cursor */ + movb $0x02, %ah + int $0x10 + + DATA32 call real_to_prot + .code32 + + popl %ebx + popl %ebp + ret + + +/* + * void grub_console_setcursor (int on) + * BIOS call "INT 10H Function 01h" to set cursor type + * Call with %ah = 0x01 + * %ch = cursor starting scanline + * %cl = cursor ending scanline + */ + +console_cursor_state: + .byte 1 +console_cursor_shape: + .word 0 + +FUNCTION(grub_console_setcursor) + pushl %ebp + pushl %ebx + + /* push ON */ + pushl %edx + + /* check if the standard cursor shape has already been saved */ + movw console_cursor_shape, %ax + testw %ax, %ax + jne 1f + + call prot_to_real + .code16 + + movb $0x03, %ah + xorb %bh, %bh + int $0x10 + + DATA32 call real_to_prot + .code32 + + cmp %cl, %ch + jb 3f + movw $0x0d0e, %cx +3: + movw %cx, console_cursor_shape +1: + /* set %cx to the designated cursor shape */ + movw $0x2000, %cx + popl %eax + testl %eax, %eax + jz 2f + movw console_cursor_shape, %cx +2: + call prot_to_real + .code16 + + movb $0x1, %ah + int $0x10 + + DATA32 call real_to_prot + .code32 + + popl %ebx + popl %ebp + ret + +/* + * grub_get_rtc() + * return the real time in ticks, of which there are about + * 18-20 per second + */ +FUNCTION(grub_get_rtc) + pushl %ebp + + call prot_to_real /* enter real mode */ + .code16 + + /* %ax is already zero */ + int $0x1a + + DATA32 call real_to_prot + .code32 + + movl %ecx, %eax + shll $16, %eax + movw %dx, %ax + + popl %ebp + ret + +/* + * int grub_pxe_call (int func, void* data, grub_uint32_t pxe_rm_entry); + */ +FUNCTION(grub_pxe_call) + pushl %ebp + movl %esp, %ebp + pushl %esi + pushl %edi + pushl %ebx + + movl %ecx, %ebx + movl %eax, %ecx + movl %edx, %eax + andl $0xF, %eax + shrl $4, %edx + shll $16, %edx + addl %eax, %edx + + call prot_to_real + .code16 + + pushl %ebx + pushl %edx + pushw %cx + movw %sp, %bx + lcall *%ss:6(%bx) + cld + addw $10, %sp + movw %ax, %cx + + DATA32 call real_to_prot + .code32 + + movzwl %cx, %eax + + popl %ebx + popl %edi + popl %esi + popl %ebp + ret + +FUNCTION(grub_bios_interrupt) + pushl %ebp + pushl %ecx + pushl %eax + pushl %ebx + pushl %esi + pushl %edi + pushl %edx + + movb %al, intno + movl (%edx), %eax + movl %eax, LOCAL(bios_register_eax) + movw 4(%edx), %ax + movw %ax, LOCAL(bios_register_es) + movw 6(%edx), %ax + movw %ax, LOCAL(bios_register_ds) + movw 8(%edx), %ax + movw %ax, LOCAL(bios_register_flags) + + movl 12(%edx), %ebx + movl 16(%edx), %ecx + movl 20(%edx), %edi + movl 24(%edx), %esi + movl 28(%edx), %edx + + call prot_to_real + .code16 + + mov %ds, %ax + push %ax + + /* movw imm16, %ax*/ + .byte 0xb8 +LOCAL(bios_register_es): + .short 0 + movw %ax, %es + /* movw imm16, %ax*/ + .byte 0xb8 +LOCAL(bios_register_ds): + .short 0 + movw %ax, %ds + + /* movw imm16, %ax*/ + .byte 0xb8 +LOCAL(bios_register_flags): + .short 0 + push %ax + popf + + /* movl imm32, %eax*/ + .byte 0x66, 0xb8 +LOCAL(bios_register_eax): + .long 0 + + /* int imm8. */ + .byte 0xcd +intno: + .byte 0 + + movl %eax, %cs:LOCAL(bios_register_eax) + movw %ds, %ax + movw %ax, %cs:LOCAL(bios_register_ds) + pop %ax + mov %ax, %ds + pushf + pop %ax + movw %ax, LOCAL(bios_register_flags) + mov %es, %ax + movw %ax, LOCAL(bios_register_es) + + DATA32 call real_to_prot + .code32 + + popl %eax + + movl %ebx, 12(%eax) + movl %ecx, 16(%eax) + movl %edi, 20(%eax) + movl %esi, 24(%eax) + movl %edx, 28(%eax) + + movl %eax, %edx + + movl LOCAL(bios_register_eax), %eax + movl %eax, (%edx) + movw LOCAL(bios_register_es), %ax + movw %ax, 4(%edx) + movw LOCAL(bios_register_ds), %ax + movw %ax, 6(%edx) + movw LOCAL(bios_register_flags), %ax + movw %ax, 8(%edx) + + popl %edi + popl %esi + popl %ebx + popl %eax + popl %ecx + popl %ebp + ret diff --git a/grub-core/kern/i386/pit.c b/grub-core/kern/i386/pit.c new file mode 100644 index 0000000..82a17d3 --- /dev/null +++ b/grub-core/kern/i386/pit.c @@ -0,0 +1,56 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +#define TIMER2_REG_CONTROL 0x42 +#define TIMER_REG_COMMAND 0x43 +#define TIMER2_REG_LATCH 0x61 + +#define TIMER2_SELECT 0x80 +#define TIMER_ENABLE_LSB 0x20 +#define TIMER_ENABLE_MSB 0x10 +#define TIMER2_LATCH 0x20 +#define TIMER2_SPEAKER 0x02 +#define TIMER2_GATE 0x01 + +void +grub_pit_wait (grub_uint16_t tics) +{ + /* Disable timer2 gate and speaker. */ + grub_outb (grub_inb (TIMER2_REG_LATCH) & ~ (TIMER2_SPEAKER | TIMER2_GATE), + TIMER2_REG_LATCH); + + /* Set tics. */ + grub_outb (TIMER2_SELECT | TIMER_ENABLE_LSB | TIMER_ENABLE_MSB, TIMER_REG_COMMAND); + grub_outb (tics & 0xff, TIMER2_REG_CONTROL); + grub_outb (tics >> 8, TIMER2_REG_CONTROL); + + /* Enable timer2 gate, keep speaker disabled. */ + grub_outb ((grub_inb (TIMER2_REG_LATCH) & ~ TIMER2_SPEAKER) | TIMER2_GATE, + TIMER2_REG_LATCH); + + /* Wait. */ + while ((grub_inb (TIMER2_REG_LATCH) & TIMER2_LATCH) == 0x00); + + /* Disable timer2 gate and speaker. */ + grub_outb (grub_inb (TIMER2_REG_LATCH) & ~ (TIMER2_SPEAKER | TIMER2_GATE), + TIMER2_REG_LATCH); +} diff --git a/grub-core/kern/i386/qemu/init.c b/grub-core/kern/i386/qemu/init.c new file mode 100644 index 0000000..054dfa8 --- /dev/null +++ b/grub-core/kern/i386/qemu/init.c @@ -0,0 +1,147 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +static struct {grub_uint8_t r, g, b, a; } colors[] = + { + // {R, G, B, A} + {0x00, 0x00, 0x00, 0xFF}, // 0 = black + {0x00, 0x00, 0xA8, 0xFF}, // 1 = blue + {0x00, 0xA8, 0x00, 0xFF}, // 2 = green + {0x00, 0xA8, 0xA8, 0xFF}, // 3 = cyan + {0xA8, 0x00, 0x00, 0xFF}, // 4 = red + {0xA8, 0x00, 0xA8, 0xFF}, // 5 = magenta + {0xA8, 0x54, 0x00, 0xFF}, // 6 = brown + {0xA8, 0xA8, 0xA8, 0xFF}, // 7 = light gray + + {0x54, 0x54, 0x54, 0xFF}, // 8 = dark gray + {0x54, 0x54, 0xFE, 0xFF}, // 9 = bright blue + {0x54, 0xFE, 0x54, 0xFF}, // 10 = bright green + {0x54, 0xFE, 0xFE, 0xFF}, // 11 = bright cyan + {0xFE, 0x54, 0x54, 0xFF}, // 12 = bright red + {0xFE, 0x54, 0xFE, 0xFF}, // 13 = bright magenta + {0xFE, 0xFE, 0x54, 0xFF}, // 14 = yellow + {0xFE, 0xFE, 0xFE, 0xFF} // 15 = white + }; + +#include + +static void +load_font (void) +{ + unsigned i; + + grub_vga_gr_write (0 << 2, GRUB_VGA_GR_GR6); + + grub_vga_sr_write (GRUB_VGA_SR_MEMORY_MODE_NORMAL, GRUB_VGA_SR_MEMORY_MODE); + grub_vga_sr_write (1 << GRUB_VGA_TEXT_FONT_PLANE, + GRUB_VGA_SR_MAP_MASK_REGISTER); + + grub_vga_gr_write (0, GRUB_VGA_GR_DATA_ROTATE); + grub_vga_gr_write (0, GRUB_VGA_GR_MODE); + grub_vga_gr_write (0xff, GRUB_VGA_GR_BITMASK); + + for (i = 0; i < 128; i++) + grub_memcpy ((void *) (0xa0000 + 32 * i), ascii_bitmaps + 16 * i, 16); +} + +static void +load_palette (void) +{ + unsigned i; + for (i = 0; i < 16; i++) + grub_vga_write_arx (i, i); + + for (i = 0; i < ARRAY_SIZE (colors); i++) + grub_vga_palette_write (i, colors[i].r, colors[i].g, colors[i].b); +} + +void +grub_qemu_init_cirrus (void) +{ + auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid); + int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused))) + { + grub_pci_address_t addr; + grub_uint32_t class; + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS); + class = grub_pci_read (addr); + + if (((class >> 16) & 0xffff) != GRUB_PCI_CLASS_SUBCLASS_VGA) + return 0; + + /* FIXME: chooose addresses dynamically. */ + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); + grub_pci_write (addr, 0xf0000000 | GRUB_PCI_ADDR_MEM_PREFETCH + | GRUB_PCI_ADDR_SPACE_MEMORY | GRUB_PCI_ADDR_MEM_TYPE_32); + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG1); + grub_pci_write (addr, 0xf2000000 + | GRUB_PCI_ADDR_SPACE_MEMORY | GRUB_PCI_ADDR_MEM_TYPE_32); + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND); + grub_pci_write (addr, GRUB_PCI_COMMAND_MEM_ENABLED + | GRUB_PCI_COMMAND_IO_ENABLED); + + return 1; + } + + grub_pci_iterate (find_card); + + grub_outb (GRUB_VGA_IO_MISC_COLOR, GRUB_VGA_IO_MISC_WRITE); + + load_font (); + + grub_vga_gr_write (GRUB_VGA_GR_GR6_MMAP_CGA, GRUB_VGA_GR_GR6); + grub_vga_gr_write (GRUB_VGA_GR_MODE_ODD_EVEN, GRUB_VGA_GR_MODE); + + grub_vga_sr_write (GRUB_VGA_SR_MEMORY_MODE_NORMAL, GRUB_VGA_SR_MEMORY_MODE); + + grub_vga_sr_write ((1 << GRUB_VGA_TEXT_TEXT_PLANE) + | (1 << GRUB_VGA_TEXT_ATTR_PLANE), + GRUB_VGA_SR_MAP_MASK_REGISTER); + + grub_vga_cr_write (15, GRUB_VGA_CR_CELL_HEIGHT); + grub_vga_cr_write (79, GRUB_VGA_CR_HORIZ_END); + grub_vga_cr_write (40, GRUB_VGA_CR_PITCH); + + int vert = 25 * 16; + grub_vga_cr_write (vert & 0xff, GRUB_VGA_CR_VDISPLAY_END); + grub_vga_cr_write (((vert >> GRUB_VGA_CR_OVERFLOW_HEIGHT1_SHIFT) + & GRUB_VGA_CR_OVERFLOW_HEIGHT1_MASK) + | ((vert >> GRUB_VGA_CR_OVERFLOW_HEIGHT2_SHIFT) + & GRUB_VGA_CR_OVERFLOW_HEIGHT2_MASK), + GRUB_VGA_CR_OVERFLOW); + + load_palette (); + + grub_vga_write_arx (GRUB_VGA_ARX_MODE_TEXT, GRUB_VGA_ARX_MODE); + grub_vga_write_arx (0, GRUB_VGA_ARX_COLOR_SELECT); + + grub_vga_sr_write (GRUB_VGA_SR_CLOCKING_MODE_8_DOT_CLOCK, + GRUB_VGA_SR_CLOCKING_MODE); + + grub_vga_cr_write (14, GRUB_VGA_CR_CURSOR_START); + grub_vga_cr_write (15, GRUB_VGA_CR_CURSOR_END); + + grub_outb (0x20, 0x3c0); +} diff --git a/grub-core/kern/i386/qemu/mmap.c b/grub-core/kern/i386/qemu/mmap.c new file mode 100644 index 0000000..208f36b --- /dev/null +++ b/grub-core/kern/i386/qemu/mmap.c @@ -0,0 +1,100 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#define QEMU_CMOS_MEMSIZE_HIGH 0x35 +#define QEMU_CMOS_MEMSIZE_LOW 0x34 + +#define QEMU_CMOS_MEMSIZE2_HIGH 0x31 +#define QEMU_CMOS_MEMSIZE2_LOW 0x30 + +#define min(a,b) ((a) > (b) ? (b) : (a)) + +extern char _start[]; +extern char _end[]; + +static grub_uint64_t mem_size, above_4g; + +void +grub_machine_mmap_init () +{ + mem_size = ((grub_uint64_t) grub_cmos_read (QEMU_CMOS_MEMSIZE_HIGH)) << 24 + | ((grub_uint64_t) grub_cmos_read (QEMU_CMOS_MEMSIZE_LOW)) << 16; + if (mem_size > 0) + { + /* Don't ask... */ + mem_size += (16 * 1024 * 1024); + } + else + { + mem_size + = ((((grub_uint64_t) grub_cmos_read (QEMU_CMOS_MEMSIZE2_HIGH)) << 18) + | ((grub_uint64_t) (grub_cmos_read (QEMU_CMOS_MEMSIZE2_LOW)) << 10)) + + 1024 * 1024; + } + + above_4g = (((grub_uint64_t) grub_cmos_read (0x5b)) << 16) + | (((grub_uint64_t) grub_cmos_read (0x5c)) << 24) + | (((grub_uint64_t) grub_cmos_read (0x5d)) << 32); +} + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + if (hook (0x0, + (grub_addr_t) _start, + GRUB_MEMORY_AVAILABLE)) + return 1; + + if (hook ((grub_addr_t) _end, + 0xa0000 - (grub_addr_t) _end, + GRUB_MEMORY_AVAILABLE)) + return 1; + + if (hook (GRUB_MEMORY_MACHINE_UPPER, + 0x100000 - GRUB_MEMORY_MACHINE_UPPER, + GRUB_MEMORY_RESERVED)) + return 1; + + /* Everything else is free. */ + if (hook (0x100000, + min (mem_size, (grub_uint32_t) -GRUB_BOOT_MACHINE_SIZE) - 0x100000, + GRUB_MEMORY_AVAILABLE)) + return 1; + + /* Protect boot.img, which contains the gdt. It is mapped at the top of memory + (it is also mapped below 0x100000, but we already reserved that area). */ + if (hook ((grub_uint32_t) -GRUB_BOOT_MACHINE_SIZE, + GRUB_BOOT_MACHINE_SIZE, + GRUB_MEMORY_RESERVED)) + return 1; + + if (above_4g != 0 && hook (0x100000000ULL, above_4g, + GRUB_MEMORY_AVAILABLE)) + return 1; + + return 0; +} diff --git a/grub-core/kern/i386/qemu/startup.S b/grub-core/kern/i386/qemu/startup.S new file mode 100644 index 0000000..7834d1d --- /dev/null +++ b/grub-core/kern/i386/qemu/startup.S @@ -0,0 +1,104 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +#include +#include +#include + + .text + .code32 + .globl _start +_start: + jmp codestart + + . = _start + GRUB_KERNEL_I386_QEMU_CORE_ENTRY_ADDR +VARIABLE(grub_core_entry_addr) + .long 0 +VARIABLE(grub_kernel_image_size) + .long 0 +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX_END + +codestart: + /* Relocate to low memory. First we figure out our location. + We will derive the rom start address from it. */ + call 1f +1: popl %esi + + /* Rom size is a multiple of 64 kiB. With this we get the + value of `grub_core_entry_addr' in %esi. */ + xorw %si, %si + + /* ... which allows us to access `grub_kernel_image_size' + before relocation. */ + movl (grub_kernel_image_size - _start)(%esi), %ecx + + + movl $_start, %edi + cld + rep + movsb + ljmp $GRUB_MEMORY_MACHINE_PROT_MODE_CSEG, $1f +1: + +#ifdef APPLE_CC + /* clean out the bss */ + bss_start_abs = ABS (bss_start) + bss_end_abs = ABS (bss_end) + + movl bss_start_abs, %edi + + /* compute the bss length */ + movl bss_end_abs, %ecx + subl %edi, %ecx +#else + /* clean out the bss */ + movl $BSS_START_SYMBOL, %edi + + /* compute the bss length */ + movl $END_SYMBOL, %ecx + subl %edi, %ecx +#endif + + /* clean out */ + xorl %eax, %eax + cld + rep + stosb + + /* + * Call the start of main body of C code. + */ + call EXT_C(grub_main) + + /* This should never happen. */ + cli +1: + hlt + jmp 1b + +#include "../realmode.S" diff --git a/grub-core/kern/i386/realmode.S b/grub-core/kern/i386/realmode.S new file mode 100644 index 0000000..578c8d2 --- /dev/null +++ b/grub-core/kern/i386/realmode.S @@ -0,0 +1,242 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2005,2006,2007,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +/* + * Note: These functions defined in this file may be called from C. + * Be careful of that you must not modify some registers. Quote + * from gcc-2.95.2/gcc/config/i386/i386.h: + + 1 for registers not available across function calls. + These must include the FIXED_REGISTERS and also any + registers that can be used without being saved. + The latter must include the registers where values are returned + and the register where structure-value addresses are passed. + Aside from that, you can include as many other registers as you like. + + ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg +{ 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } + */ + +/* + * Note: GRUB is compiled with the options -mrtd and -mregparm=3. + * So the first three arguments are passed in %eax, %edx, and %ecx, + * respectively, and if a function has a fixed number of arguments + * and the number if greater than three, the function must return + * with "ret $N" where N is ((the number of arguments) - 3) * 4. + */ + +/* + * This is the area for all of the special variables. + */ + + .p2align 2 /* force 4-byte alignment */ + +protstack: + .long GRUB_MEMORY_MACHINE_PROT_STACK + +/* + * This is the Global Descriptor Table + * + * An entry, a "Segment Descriptor", looks like this: + * + * 31 24 19 16 7 0 + * ------------------------------------------------------------ + * | | |B| |A| | | |1|0|E|W|A| | + * | BASE 31..24 |G|/|L|V| LIMIT |P|DPL| TYPE | BASE 23:16 | 4 + * | | |D| |L| 19..16| | |1|1|C|R|A| | + * ------------------------------------------------------------ + * | | | + * | BASE 15..0 | LIMIT 15..0 | 0 + * | | | + * ------------------------------------------------------------ + * + * Note the ordering of the data items is reversed from the above + * description. + */ + + .p2align 2 /* force 4-byte alignment */ +gdt: + .word 0, 0 + .byte 0, 0, 0, 0 + + /* -- code segment -- + * base = 0x00000000, limit = 0xFFFFF (4 KiB Granularity), present + * type = 32bit code execute/read, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x9A, 0xCF, 0 + + /* -- data segment -- + * base = 0x00000000, limit 0xFFFFF (4 KiB Granularity), present + * type = 32 bit data read/write, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x92, 0xCF, 0 + + /* -- 16 bit real mode CS -- + * base = 0x00000000, limit 0x0FFFF (1 B Granularity), present + * type = 16 bit code execute/read only/conforming, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x9E, 0, 0 + + /* -- 16 bit real mode DS -- + * base = 0x00000000, limit 0x0FFFF (1 B Granularity), present + * type = 16 bit data read/write, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x92, 0, 0 + + +/* this is the GDT descriptor */ +gdtdesc: + .word 0x27 /* limit */ + .long gdt /* addr */ + +/* + * These next two routines, "real_to_prot" and "prot_to_real" are structured + * in a very specific way. Be very careful when changing them. + * + * NOTE: Use of either one messes up %eax and %ebp. + */ + +real_to_prot: + .code16 + cli + + /* load the GDT register */ + xorw %ax, %ax + movw %ax, %ds + DATA32 ADDR32 lgdt gdtdesc + + /* turn on protected mode */ + movl %cr0, %eax + orl $GRUB_MEMORY_CPU_CR0_PE_ON, %eax + movl %eax, %cr0 + + /* jump to relocation, flush prefetch queue, and reload %cs */ + DATA32 ljmp $GRUB_MEMORY_MACHINE_PROT_MODE_CSEG, $protcseg + + .code32 +protcseg: + /* reload other segment registers */ + movw $GRUB_MEMORY_MACHINE_PROT_MODE_DSEG, %ax + movw %ax, %ds + movw %ax, %es + movw %ax, %fs + movw %ax, %gs + movw %ax, %ss + + /* put the return address in a known safe location */ + movl (%esp), %eax + movl %eax, GRUB_MEMORY_MACHINE_REAL_STACK + + /* get protected mode stack */ + movl protstack, %eax + movl %eax, %esp + movl %eax, %ebp + + /* get return address onto the right stack */ + movl GRUB_MEMORY_MACHINE_REAL_STACK, %eax + movl %eax, (%esp) + + /* zero %eax */ + xorl %eax, %eax + + /* return on the old (or initialized) stack! */ + ret + +prot_to_real: + /* just in case, set GDT */ + lgdt gdtdesc + + /* save the protected mode stack */ + movl %esp, %eax + movl %eax, protstack + + /* get the return address */ + movl (%esp), %eax + movl %eax, GRUB_MEMORY_MACHINE_REAL_STACK + + /* set up new stack */ + movl $GRUB_MEMORY_MACHINE_REAL_STACK, %eax + movl %eax, %esp + movl %eax, %ebp + + /* set up segment limits */ + movw $GRUB_MEMORY_MACHINE_PSEUDO_REAL_DSEG, %ax + movw %ax, %ds + movw %ax, %es + movw %ax, %fs + movw %ax, %gs + movw %ax, %ss + + /* this might be an extra step */ + /* jump to a 16 bit segment */ + ljmp $GRUB_MEMORY_MACHINE_PSEUDO_REAL_CSEG, $tmpcseg + +tmpcseg: + .code16 + + /* clear the PE bit of CR0 */ + movl %cr0, %eax + andl $(~GRUB_MEMORY_CPU_CR0_PE_ON), %eax + movl %eax, %cr0 + + /* flush prefetch queue, reload %cs */ + DATA32 ljmp $0, $realcseg + +realcseg: + /* we are in real mode now + * set up the real mode segment registers : DS, SS, ES + */ + /* zero %eax */ + xorl %eax, %eax + + movw %ax, %ds + movw %ax, %es + movw %ax, %fs + movw %ax, %gs + movw %ax, %ss + +#ifdef GRUB_MACHINE_PCBIOS + /* restore interrupts */ + sti +#endif + + /* return on new stack! */ + DATA32 ret + + .code32 + +/* + * grub_reboot() + * + * Reboot the system. At the moment, rely on BIOS. + */ +FUNCTION(grub_reboot) + call prot_to_real + .code16 +cold_reboot: + /* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */ + movw $0x0472, %di + movw %ax, (%di) + ljmp $0xf000, $0xfff0 + .code32 diff --git a/grub-core/kern/i386/tsc.c b/grub-core/kern/i386/tsc.c new file mode 100644 index 0000000..36b35e2 --- /dev/null +++ b/grub-core/kern/i386/tsc.c @@ -0,0 +1,74 @@ +/* kern/i386/tsc.c - x86 TSC time source implementation + * Requires Pentium or better x86 CPU that supports the RDTSC instruction. + * This module uses the RTC (via grub_get_rtc()) to calibrate the TSC to + * real time. + * + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +/* This defines the value TSC had at the epoch (that is, when we calibrated it). */ +static grub_uint64_t tsc_boot_time; + +/* Calibrated TSC rate. (In TSC ticks per millisecond.) */ +static grub_uint64_t tsc_ticks_per_ms; + + +grub_uint64_t +grub_tsc_get_time_ms (void) +{ + return tsc_boot_time + grub_divmod64 (grub_get_tsc (), tsc_ticks_per_ms, 0); +} + + +/* How many RTC ticks to use for calibration loop. (>= 1) */ +#define CALIBRATION_TICKS 2 + +/* Calibrate the TSC based on the RTC. */ +static void +calibrate_tsc (void) +{ + /* First calibrate the TSC rate (relative, not absolute time). */ + grub_uint64_t start_tsc; + grub_uint64_t end_tsc; + + start_tsc = grub_get_tsc (); + grub_pit_wait (0xffff); + end_tsc = grub_get_tsc (); + + tsc_ticks_per_ms = grub_divmod64 (end_tsc - start_tsc, 55, 0); +} + +void +grub_tsc_init (void) +{ + if (grub_cpu_is_tsc_supported ()) + { + tsc_boot_time = grub_get_tsc (); + calibrate_tsc (); + grub_install_get_time_ms (grub_tsc_get_time_ms); + } + else + { + grub_install_get_time_ms (grub_rtc_get_time_ms); + } +} diff --git a/grub-core/kern/ieee1275/cmain.c b/grub-core/kern/ieee1275/cmain.c new file mode 100644 index 0000000..2fbe809 --- /dev/null +++ b/grub-core/kern/ieee1275/cmain.c @@ -0,0 +1,182 @@ +/* cmain.c - Startup code for the PowerPC. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +int (*grub_ieee1275_entry_fn) (void *); + +grub_ieee1275_phandle_t grub_ieee1275_chosen; +grub_ieee1275_ihandle_t grub_ieee1275_mmu; + +static grub_uint32_t grub_ieee1275_flags; + + + +int +grub_ieee1275_test_flag (enum grub_ieee1275_flag flag) +{ + return (grub_ieee1275_flags & (1 << flag)); +} + +void +grub_ieee1275_set_flag (enum grub_ieee1275_flag flag) +{ + grub_ieee1275_flags |= (1 << flag); +} + +#define SF "SmartFirmware(tm)" +#define OHW "PPC Open Hack'Ware" + +static void +grub_ieee1275_find_options (void) +{ + grub_ieee1275_phandle_t root; + grub_ieee1275_phandle_t options; + grub_ieee1275_phandle_t openprom; + grub_ieee1275_phandle_t bootrom; + int rc; + grub_uint32_t realmode = 0; + char tmp[32]; + int is_smartfirmware = 0; + int is_olpc = 0; + int is_qemu = 0; + + grub_ieee1275_finddevice ("/", &root); + grub_ieee1275_finddevice ("/options", &options); + grub_ieee1275_finddevice ("/openprom", &openprom); + + rc = grub_ieee1275_get_integer_property (options, "real-mode?", &realmode, + sizeof realmode, 0); + if (((rc >= 0) && realmode) || (grub_ieee1275_mmu == 0)) + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_REAL_MODE); + + rc = grub_ieee1275_get_property (openprom, "CodeGen-copyright", + tmp, sizeof (tmp), 0); + if (rc >= 0 && !grub_strncmp (tmp, SF, sizeof (SF) - 1)) + is_smartfirmware = 1; + + rc = grub_ieee1275_get_property (root, "architecture", + tmp, sizeof (tmp), 0); + if (rc >= 0 && !grub_strcmp (tmp, "OLPC")) + is_olpc = 1; + + rc = grub_ieee1275_get_property (root, "model", + tmp, sizeof (tmp), 0); + if (rc >= 0 && !grub_strcmp (tmp, "Emulated PC")) + is_qemu = 1; + + if (grub_strncmp (tmp, "PowerMac", sizeof ("PowerMac") - 1) == 0) + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS); + + if (is_smartfirmware) + { + /* Broken in all versions */ + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_BROKEN_OUTPUT); + + /* There are two incompatible ways of checking the version number. Try + both. */ + rc = grub_ieee1275_get_property (openprom, "SmartFirmware-version", + tmp, sizeof (tmp), 0); + if (rc < 0) + rc = grub_ieee1275_get_property (openprom, "firmware-version", + tmp, sizeof (tmp), 0); + if (rc >= 0) + { + /* It is tempting to implement a version parser to set the flags for + e.g. 1.3 and below. However, there's a special situation here. + 3rd party updates which fix the partition bugs are common, and for + some reason their fixes aren't being merged into trunk. So for + example we know that 1.2 and 1.3 are broken, but there's 1.2.99 + and 1.3.99 which are known good (and applying this workaround + would cause breakage). */ + if (!grub_strcmp (tmp, "1.0") + || !grub_strcmp (tmp, "1.1") + || !grub_strcmp (tmp, "1.2") + || !grub_strcmp (tmp, "1.3")) + { + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_PARTITION_0); + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS); + } + } + } + + if (is_olpc) + { + /* OLPC / XO laptops have three kinds of storage devices: + + - NAND flash. These are accessible via OFW callbacks, but: + - Follow strange semantics, imposed by hardware constraints. + - Its ABI is undocumented, and not stable. + They lack "device_type" property, which conveniently makes GRUB + skip them. + + - USB drives. Not accessible, because OFW shuts down the controller + in order to prevent collisions with applications accessing it + directly. Even worse, attempts to access it will NOT return + control to the caller, so we have to avoid probing them. + + - SD cards. These work fine. + + To avoid breakage, we only need to skip USB probing. However, + since detecting SD cards is more reliable, we do that instead. + */ + + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_OFDISK_SDCARD_ONLY); + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_HAS_CURSORONOFF); + } + + if (is_qemu) + { + /* OpenFirmware hangs on qemu if one requests any memory below 1.5 MiB. */ + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM); + + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_HAS_CURSORONOFF); + } + + if (! grub_ieee1275_finddevice ("/rom/boot-rom", &bootrom)) + { + rc = grub_ieee1275_get_property (bootrom, "model", tmp, sizeof (tmp), 0); + if (rc >= 0 && !grub_strncmp (tmp, OHW, sizeof (OHW) - 1)) + { + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_BROKEN_OUTPUT); + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_CANNOT_SET_COLORS); + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET); + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_FORCE_CLAIM); + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_ANSI); + } + } +} + +#undef SF +#undef OHW + +void +grub_ieee1275_init (void) +{ + grub_ieee1275_finddevice ("/chosen", &grub_ieee1275_chosen); + + if (grub_ieee1275_get_integer_property (grub_ieee1275_chosen, "mmu", &grub_ieee1275_mmu, + sizeof grub_ieee1275_mmu, 0) < 0) + grub_ieee1275_mmu = 0; + + grub_ieee1275_find_options (); +} diff --git a/grub-core/kern/ieee1275/ieee1275.c b/grub-core/kern/ieee1275/ieee1275.c new file mode 100644 index 0000000..9e29191 --- /dev/null +++ b/grub-core/kern/ieee1275/ieee1275.c @@ -0,0 +1,609 @@ +/* of.c - Access the Open Firmware client interface. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +#define IEEE1275_PHANDLE_INVALID ((grub_ieee1275_cell_t) -1) +#define IEEE1275_IHANDLE_INVALID ((grub_ieee1275_cell_t) 0) +#define IEEE1275_CELL_INVALID ((grub_ieee1275_cell_t) -1) + + + +int +grub_ieee1275_finddevice (char *name, grub_ieee1275_phandle_t *phandlep) +{ + struct find_device_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t device; + grub_ieee1275_cell_t phandle; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "finddevice", 1, 1); + args.device = (grub_ieee1275_cell_t) name; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *phandlep = args.phandle; + if (args.phandle == IEEE1275_PHANDLE_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_get_property (grub_ieee1275_phandle_t phandle, + const char *property, void *buf, + grub_size_t size, grub_ssize_t *actual) +{ + struct get_property_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t phandle; + grub_ieee1275_cell_t prop; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t buflen; + grub_ieee1275_cell_t size; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "getprop", 4, 1); + args.phandle = phandle; + args.prop = (grub_ieee1275_cell_t) property; + args.buf = (grub_ieee1275_cell_t) buf; + args.buflen = (grub_ieee1275_cell_t) size; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (actual) + *actual = (grub_ssize_t) args.size; + if (args.size == IEEE1275_CELL_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_get_integer_property (grub_ieee1275_phandle_t phandle, + const char *property, grub_uint32_t *buf, + grub_size_t size, grub_ssize_t *actual) +{ + int ret; + ret = grub_ieee1275_get_property (phandle, property, (void *) buf, size, actual); +#ifndef GRUB_CPU_WORDS_BIGENDIAN + /* Integer properties are always in big endian. */ + if (ret == 0) + { + unsigned int i; + size /= sizeof (grub_uint32_t); + for (i = 0; i < size; i++) + buf[i] = grub_be_to_cpu32 (buf[i]); + } +#endif + return ret; +} + +int +grub_ieee1275_next_property (grub_ieee1275_phandle_t phandle, char *prev_prop, + char *prop) +{ + struct get_property_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t phandle; + grub_ieee1275_cell_t prev_prop; + grub_ieee1275_cell_t next_prop; + grub_ieee1275_cell_t flags; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "nextprop", 3, 1); + args.phandle = phandle; + args.prev_prop = (grub_ieee1275_cell_t) prev_prop; + args.next_prop = (grub_ieee1275_cell_t) prop; + args.flags = (grub_ieee1275_cell_t) -1; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + return (int) args.flags; +} + +int +grub_ieee1275_get_property_length (grub_ieee1275_phandle_t phandle, + const char *prop, grub_ssize_t *length) +{ + struct get_property_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t phandle; + grub_ieee1275_cell_t prop; + grub_ieee1275_cell_t length; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "getproplen", 2, 1); + args.phandle = phandle; + args.prop = (grub_ieee1275_cell_t) prop; + args.length = (grub_ieee1275_cell_t) -1; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *length = args.length; + if (args.length == IEEE1275_CELL_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_instance_to_package (grub_ieee1275_ihandle_t ihandle, + grub_ieee1275_phandle_t *phandlep) +{ + struct instance_to_package_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t phandle; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "instance-to-package", 1, 1); + args.ihandle = ihandle; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *phandlep = args.phandle; + if (args.phandle == IEEE1275_PHANDLE_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_package_to_path (grub_ieee1275_phandle_t phandle, + char *path, grub_size_t len, + grub_ssize_t *actual) +{ + struct instance_to_package_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t phandle; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t buflen; + grub_ieee1275_cell_t actual; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "package-to-path", 3, 1); + args.phandle = phandle; + args.buf = (grub_ieee1275_cell_t) path; + args.buflen = (grub_ieee1275_cell_t) len; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (actual) + *actual = args.actual; + if (args.actual == IEEE1275_CELL_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_instance_to_path (grub_ieee1275_ihandle_t ihandle, + char *path, grub_size_t len, + grub_ssize_t *actual) +{ + struct instance_to_path_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t buflen; + grub_ieee1275_cell_t actual; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "instance-to-path", 3, 1); + args.ihandle = ihandle; + args.buf = (grub_ieee1275_cell_t) path; + args.buflen = (grub_ieee1275_cell_t) len; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (actual) + *actual = args.actual; + if (args.actual == IEEE1275_CELL_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_write (grub_ieee1275_ihandle_t ihandle, void *buffer, + grub_size_t len, grub_ssize_t *actualp) +{ + struct write_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t len; + grub_ieee1275_cell_t actual; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "write", 3, 1); + args.ihandle = ihandle; + args.buf = (grub_ieee1275_cell_t) buffer; + args.len = (grub_ieee1275_cell_t) len; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (actualp) + *actualp = args.actual; + return 0; +} + +int +grub_ieee1275_read (grub_ieee1275_ihandle_t ihandle, void *buffer, + grub_size_t len, grub_ssize_t *actualp) +{ + struct write_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t len; + grub_ieee1275_cell_t actual; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "read", 3, 1); + args.ihandle = ihandle; + args.buf = (grub_ieee1275_cell_t) buffer; + args.len = (grub_ieee1275_cell_t) len; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (actualp) + *actualp = args.actual; + return 0; +} + +int +grub_ieee1275_seek (grub_ieee1275_ihandle_t ihandle, grub_disk_addr_t pos, + grub_ssize_t *result) +{ + struct write_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t pos_hi; + grub_ieee1275_cell_t pos_lo; + grub_ieee1275_cell_t result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "seek", 3, 1); + args.ihandle = ihandle; + /* To prevent stupid gcc warning. */ +#if GRUB_IEEE1275_CELL_SIZEOF >= 8 + args.pos_hi = 0; + args.pos_lo = pos; +#else + args.pos_hi = (grub_ieee1275_cell_t) (pos >> (8 * GRUB_IEEE1275_CELL_SIZEOF)); + args.pos_lo = (grub_ieee1275_cell_t) + (pos & ((1ULL << (8 * GRUB_IEEE1275_CELL_SIZEOF)) - 1)); +#endif + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + + if (result) + *result = args.result; + return 0; +} + +int +grub_ieee1275_peer (grub_ieee1275_phandle_t node, + grub_ieee1275_phandle_t *result) +{ + struct peer_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t node; + grub_ieee1275_cell_t result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "peer", 1, 1); + args.node = node; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *result = args.result; + if (args.result == 0) + return -1; + return 0; +} + +int +grub_ieee1275_child (grub_ieee1275_phandle_t node, + grub_ieee1275_phandle_t *result) +{ + struct child_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t node; + grub_ieee1275_cell_t result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "child", 1, 1); + args.node = node; + args.result = IEEE1275_PHANDLE_INVALID; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *result = args.result; + if (args.result == 0) + return -1; + return 0; +} + +int +grub_ieee1275_parent (grub_ieee1275_phandle_t node, + grub_ieee1275_phandle_t *result) +{ + struct parent_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t node; + grub_ieee1275_cell_t result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "parent", 1, 1); + args.node = node; + args.result = IEEE1275_PHANDLE_INVALID; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *result = args.result; + return 0; +} + +int +grub_ieee1275_interpret (const char *command, grub_ieee1275_cell_t *catch) +{ + struct enter_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t command; + grub_ieee1275_cell_t catch; + } + args; + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) + return -1; + + INIT_IEEE1275_COMMON (&args.common, "interpret", 1, 1); + args.command = (grub_ieee1275_cell_t) command; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (catch) + *catch = args.catch; + return 0; +} + +int +grub_ieee1275_enter (void) +{ + struct enter_args + { + struct grub_ieee1275_common_hdr common; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "enter", 0, 0); + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + return 0; +} + +void +grub_ieee1275_exit (void) +{ + struct exit_args + { + struct grub_ieee1275_common_hdr common; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "exit", 0, 0); + + IEEE1275_CALL_ENTRY_FN (&args); + for (;;) ; +} + +int +grub_ieee1275_open (const char *path, grub_ieee1275_ihandle_t *result) +{ + struct open_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t path; + grub_ieee1275_cell_t result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "open", 1, 1); + args.path = (grub_ieee1275_cell_t) path; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *result = args.result; + if (args.result == IEEE1275_IHANDLE_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_close (grub_ieee1275_ihandle_t ihandle) +{ + struct close_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t ihandle; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "close", 1, 0); + args.ihandle = ihandle; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + + return 0; +} + +int +grub_ieee1275_claim (grub_addr_t addr, grub_size_t size, unsigned int align, + grub_addr_t *result) +{ + struct claim_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t addr; + grub_ieee1275_cell_t size; + grub_ieee1275_cell_t align; + grub_ieee1275_cell_t base; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "claim", 3, 1); + args.addr = (grub_ieee1275_cell_t) addr; + args.size = (grub_ieee1275_cell_t) size; + args.align = (grub_ieee1275_cell_t) align; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + if (result) + *result = args.base; + if (args.base == IEEE1275_CELL_INVALID) + return -1; + return 0; +} + +int +grub_ieee1275_release (grub_addr_t addr, grub_size_t size) +{ + struct release_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t addr; + grub_ieee1275_cell_t size; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "release", 2, 0); + args.addr = addr; + args.size = size; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + return 0; +} + +int +grub_ieee1275_set_property (grub_ieee1275_phandle_t phandle, + const char *propname, void *buf, + grub_size_t size, grub_ssize_t *actual) +{ + struct set_property_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t phandle; + grub_ieee1275_cell_t propname; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t size; + grub_ieee1275_cell_t actual; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "setprop", 4, 1); + args.size = (grub_ieee1275_cell_t) size; + args.buf = (grub_ieee1275_cell_t) buf; + args.propname = (grub_ieee1275_cell_t) propname; + args.phandle = (grub_ieee1275_cell_t) phandle; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *actual = args.actual; + if ((args.actual == IEEE1275_CELL_INVALID) || (args.actual != args.size)) + return -1; + return 0; +} + +int +grub_ieee1275_set_color (grub_ieee1275_ihandle_t ihandle, + int index, int r, int g, int b) +{ + struct set_color_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t index; + grub_ieee1275_cell_t b; + grub_ieee1275_cell_t g; + grub_ieee1275_cell_t r; + grub_ieee1275_cell_t catch_result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "call-method", 6, 1); + args.method = (grub_ieee1275_cell_t) "color!"; + args.ihandle = ihandle; + args.index = index; + args.r = r; + args.g = g; + args.b = b; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + return args.catch_result; +} + +int +grub_ieee1275_milliseconds (grub_uint32_t *msecs) +{ + struct milliseconds_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t msecs; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "milliseconds", 0, 1); + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + *msecs = args.msecs; + return 0; +} diff --git a/grub-core/kern/ieee1275/init.c b/grub-core/kern/ieee1275/init.c new file mode 100644 index 0000000..682a8b5 --- /dev/null +++ b/grub-core/kern/ieee1275/init.c @@ -0,0 +1,274 @@ +/* init.c -- Initialize GRUB on the newworld mac (PPC). */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* The minimal heap size we can live with. */ +#define HEAP_MIN_SIZE (unsigned long) (2 * 1024 * 1024) + +/* The maximum heap size we're going to claim */ +#define HEAP_MAX_SIZE (unsigned long) (32 * 1024 * 1024) + +/* If possible, we will avoid claiming heap above this address, because it + seems to cause relocation problems with OSes that link at 4 MiB */ +#define HEAP_MAX_ADDR (unsigned long) (32 * 1024 * 1024) + +extern char _start[]; +extern char _end[]; + +void +grub_exit (void) +{ + grub_ieee1275_exit (); +} + +/* Translate an OF filesystem path (separated by backslashes), into a GRUB + path (separated by forward slashes). */ +static void +grub_translate_ieee1275_path (char *filepath) +{ + char *backslash; + + backslash = grub_strchr (filepath, '\\'); + while (backslash != 0) + { + *backslash = '/'; + backslash = grub_strchr (filepath, '\\'); + } +} + +void +grub_machine_set_prefix (void) +{ + char bootpath[64]; /* XXX check length */ + char *filename; + char *prefix; + + if (grub_prefix[0]) + { + grub_env_set ("prefix", grub_prefix); + /* Prefix is hardcoded in the core image. */ + return; + } + + if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootpath", &bootpath, + sizeof (bootpath), 0)) + { + /* Should never happen. */ + grub_printf ("/chosen/bootpath property missing!\n"); + grub_env_set ("prefix", ""); + return; + } + + /* Transform an OF device path to a GRUB path. */ + + prefix = grub_ieee1275_encode_devname (bootpath); + + filename = grub_ieee1275_get_filename (bootpath); + if (filename) + { + char *newprefix; + char *lastslash = grub_strrchr (filename, '\\'); + + /* Truncate at last directory. */ + if (lastslash) + { + *lastslash = '\0'; + grub_translate_ieee1275_path (filename); + + newprefix = grub_xasprintf ("%s%s", prefix, filename); + if (newprefix) + { + grub_free (prefix); + prefix = newprefix; + } + } + } + + grub_env_set ("prefix", prefix); + + grub_free (filename); + grub_free (prefix); +} + +/* Claim some available memory in the first /memory node. */ +static void grub_claim_heap (void) +{ + unsigned long total = 0; + + auto int NESTED_FUNC_ATTR heap_init (grub_uint64_t addr, grub_uint64_t len, + grub_memory_type_t type); + int NESTED_FUNC_ATTR heap_init (grub_uint64_t addr, grub_uint64_t len, + grub_memory_type_t type) + { + if (type != 1) + return 0; + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM)) + { + if (addr + len <= 0x180000) + return 0; + + if (addr < 0x180000) + { + len = addr + len - 0x180000; + addr = 0x180000; + } + } + len -= 1; /* Required for some firmware. */ + + /* Never exceed HEAP_MAX_SIZE */ + if (total + len > HEAP_MAX_SIZE) + len = HEAP_MAX_SIZE - total; + + /* Avoid claiming anything above HEAP_MAX_ADDR, if possible. */ + if ((addr < HEAP_MAX_ADDR) && /* if it's too late, don't bother */ + (addr + len > HEAP_MAX_ADDR) && /* if it wasn't available anyway, don't bother */ + (total + (HEAP_MAX_ADDR - addr) > HEAP_MIN_SIZE)) /* only limit ourselves when we can afford to */ + len = HEAP_MAX_ADDR - addr; + + /* In theory, firmware should already prevent this from happening by not + listing our own image in /memory/available. The check below is intended + as a safeguard in case that doesn't happen. However, it doesn't protect + us from corrupting our module area, which extends up to a + yet-undetermined region above _end. */ + if ((addr < (grub_addr_t) _end) && ((addr + len) > (grub_addr_t) _start)) + { + grub_printf ("Warning: attempt to claim over our own code!\n"); + len = 0; + } + + if (len) + { + /* Claim and use it. */ + if (grub_claimmap (addr, len) < 0) + return grub_error (GRUB_ERR_OUT_OF_MEMORY, + "failed to claim heap at 0x%llx, len 0x%llx", + addr, len); + grub_mm_init_region ((void *) (grub_addr_t) addr, len); + } + + total += len; + if (total >= HEAP_MAX_SIZE) + return 1; + + return 0; + } + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) + heap_init (HEAP_MAX_ADDR - HEAP_MIN_SIZE, HEAP_MIN_SIZE, 1); + else + grub_machine_mmap_iterate (heap_init); +} + +static grub_uint64_t ieee1275_get_time_ms (void); + +void +grub_machine_init (void) +{ + char args[256]; + grub_ssize_t actual; + + grub_ieee1275_init (); + + grub_console_init_early (); + grub_claim_heap (); + grub_console_init_lately (); + grub_ofdisk_init (); + + /* Process commandline. */ + if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootargs", &args, + sizeof args, &actual) == 0 + && actual > 1) + { + int i = 0; + + while (i < actual) + { + char *command = &args[i]; + char *end; + char *val; + + end = grub_strchr (command, ';'); + if (end == 0) + i = actual; /* No more commands after this one. */ + else + { + *end = '\0'; + i += end - command + 1; + while (grub_isspace(args[i])) + i++; + } + + /* Process command. */ + val = grub_strchr (command, '='); + if (val) + { + *val = '\0'; + grub_env_set (command, val + 1); + } + } + } + + grub_install_get_time_ms (ieee1275_get_time_ms); +} + +void +grub_machine_fini (void) +{ + grub_ofdisk_fini (); + grub_console_fini (); +} + +static grub_uint64_t +ieee1275_get_time_ms (void) +{ + grub_uint32_t msecs = 0; + + grub_ieee1275_milliseconds (&msecs); + + return msecs; +} + +grub_uint32_t +grub_get_rtc (void) +{ + return ieee1275_get_time_ms (); +} + +grub_addr_t +grub_arch_modules_addr (void) +{ + return ALIGN_UP((grub_addr_t) _end + GRUB_KERNEL_MACHINE_MOD_GAP, GRUB_KERNEL_MACHINE_MOD_ALIGN); +} diff --git a/grub-core/kern/ieee1275/mmap.c b/grub-core/kern/ieee1275/mmap.c new file mode 100644 index 0000000..2e4e085 --- /dev/null +++ b/grub-core/kern/ieee1275/mmap.c @@ -0,0 +1,80 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + grub_ieee1275_phandle_t root; + grub_ieee1275_phandle_t memory; + grub_uint32_t available[32]; + grub_ssize_t available_size; + grub_uint32_t address_cells = 1; + grub_uint32_t size_cells = 1; + int i; + + /* Determine the format of each entry in `available'. */ + grub_ieee1275_finddevice ("/", &root); + grub_ieee1275_get_integer_property (root, "#address-cells", &address_cells, + sizeof address_cells, 0); + grub_ieee1275_get_integer_property (root, "#size-cells", &size_cells, + sizeof size_cells, 0); + + if (size_cells > address_cells) + address_cells = size_cells; + + /* Load `/memory/available'. */ + if (grub_ieee1275_finddevice ("/memory", &memory)) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "couldn't find /memory node"); + if (grub_ieee1275_get_integer_property (memory, "available", available, + sizeof available, &available_size)) + return grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "couldn't examine /memory/available property"); + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_BROKEN_ADDRESS_CELLS)) + { + address_cells = 1; + size_cells = 1; + } + + /* Decode each entry and call `hook'. */ + i = 0; + available_size /= sizeof (grub_uint32_t); + while (i < available_size) + { + grub_uint64_t address; + grub_uint64_t size; + + address = available[i++]; + if (address_cells == 2) + address = (address << 32) | available[i++]; + + size = available[i++]; + if (size_cells == 2) + size = (size << 32) | available[i++]; + + if (hook (address, size, GRUB_MEMORY_AVAILABLE)) + break; + } + + return grub_errno; +} diff --git a/grub-core/kern/ieee1275/openfw.c b/grub-core/kern/ieee1275/openfw.c new file mode 100644 index 0000000..f5dc8ef --- /dev/null +++ b/grub-core/kern/ieee1275/openfw.c @@ -0,0 +1,469 @@ +/* openfw.c -- Open firmware support functions. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +enum grub_ieee1275_parse_type +{ + GRUB_PARSE_FILENAME, + GRUB_PARSE_PARTITION, +}; + +/* Walk children of 'devpath', calling hook for each. */ +int +grub_children_iterate (char *devpath, + int (*hook) (struct grub_ieee1275_devalias *alias)) +{ + grub_ieee1275_phandle_t dev; + grub_ieee1275_phandle_t child; + char *childtype, *childpath; + char *childname; + int ret = 0; + + if (grub_ieee1275_finddevice (devpath, &dev)) + return 0; + + if (grub_ieee1275_child (dev, &child)) + return 0; + + childtype = grub_malloc (IEEE1275_MAX_PROP_LEN); + if (!childtype) + return 0; + childpath = grub_malloc (IEEE1275_MAX_PATH_LEN); + if (!childpath) + { + grub_free (childtype); + return 0; + } + childname = grub_malloc (IEEE1275_MAX_PROP_LEN); + if (!childname) + { + grub_free (childpath); + grub_free (childtype); + return 0; + } + + do + { + struct grub_ieee1275_devalias alias; + grub_ssize_t actual; + + if (grub_ieee1275_get_property (child, "device_type", childtype, + IEEE1275_MAX_PROP_LEN, &actual)) + childtype[0] = 0; + + if (dev == child) + continue; + + if (grub_ieee1275_package_to_path (child, childpath, + IEEE1275_MAX_PATH_LEN, &actual)) + continue; + + if (grub_strcmp (devpath, childpath) == 0) + continue; + + if (grub_ieee1275_get_property (child, "name", childname, + IEEE1275_MAX_PROP_LEN, &actual)) + continue; + + alias.type = childtype; + alias.path = childpath; + alias.name = childname; + ret = hook (&alias); + if (ret) + break; + } + while (grub_ieee1275_peer (child, &child) != -1); + + grub_free (childname); + grub_free (childpath); + grub_free (childtype); + + return ret; +} + +int +grub_ieee1275_devices_iterate (int (*hook) (struct grub_ieee1275_devalias *alias)) +{ + auto int it_through (struct grub_ieee1275_devalias *alias); + int it_through (struct grub_ieee1275_devalias *alias) + { + if (hook (alias)) + return 1; + return grub_children_iterate (alias->path, it_through); + } + + return grub_children_iterate ("/", it_through); +} + +/* Iterate through all device aliases. This function can be used to + find a device of a specific type. */ +int +grub_devalias_iterate (int (*hook) (struct grub_ieee1275_devalias *alias)) +{ + grub_ieee1275_phandle_t aliases; + char *aliasname, *devtype; + grub_ssize_t actual; + struct grub_ieee1275_devalias alias; + int ret = 0; + + if (grub_ieee1275_finddevice ("/aliases", &aliases)) + return 0; + + aliasname = grub_malloc (IEEE1275_MAX_PROP_LEN); + if (!aliasname) + return 0; + devtype = grub_malloc (IEEE1275_MAX_PROP_LEN); + if (!devtype) + { + grub_free (aliasname); + return 0; + } + + /* Find the first property. */ + aliasname[0] = '\0'; + + while (grub_ieee1275_next_property (aliases, aliasname, aliasname) > 0) + { + grub_ieee1275_phandle_t dev; + grub_ssize_t pathlen; + char *devpath; + + grub_dprintf ("devalias", "devalias name = %s\n", aliasname); + + grub_ieee1275_get_property_length (aliases, aliasname, &pathlen); + + /* The property `name' is a special case we should skip. */ + if (!grub_strcmp (aliasname, "name")) + continue; + + /* Sun's OpenBoot often doesn't zero terminate the device alias + strings, so we will add a NULL byte at the end explicitly. */ + pathlen += 1; + + devpath = grub_malloc (pathlen); + if (! devpath) + { + grub_free (devtype); + grub_free (aliasname); + return 0; + } + + if (grub_ieee1275_get_property (aliases, aliasname, devpath, pathlen, + &actual)) + { + grub_dprintf ("devalias", "get_property (%s) failed\n", aliasname); + goto nextprop; + } + devpath [actual] = '\0'; + + if (grub_ieee1275_finddevice (devpath, &dev)) + { + grub_dprintf ("devalias", "finddevice (%s) failed\n", devpath); + goto nextprop; + } + + if (grub_ieee1275_get_property (dev, "device_type", devtype, + IEEE1275_MAX_PROP_LEN, &actual)) + { + /* NAND device don't have device_type property. */ + devtype[0] = 0; + } + + alias.name = aliasname; + alias.path = devpath; + alias.type = devtype; + ret = hook (&alias); + +nextprop: + grub_free (devpath); + if (ret) + break; + } + + grub_free (devtype); + grub_free (aliasname); + return ret; +} + +/* Call the "map" method of /chosen/mmu. */ +int +grub_ieee1275_map (grub_addr_t phys, grub_addr_t virt, grub_size_t size, + grub_uint32_t mode) +{ + struct map_args { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t mode; + grub_ieee1275_cell_t size; + grub_ieee1275_cell_t virt; +#ifdef GRUB_MACHINE_SPARC64 + grub_ieee1275_cell_t phys_high; +#endif + grub_ieee1275_cell_t phys_low; + grub_ieee1275_cell_t catch_result; + } args; + + INIT_IEEE1275_COMMON (&args.common, "call-method", +#ifdef GRUB_MACHINE_SPARC64 + 7, +#else + 6, +#endif + 1); + args.method = (grub_ieee1275_cell_t) "map"; + args.ihandle = grub_ieee1275_mmu; +#ifdef GRUB_MACHINE_SPARC64 + args.phys_high = 0; +#endif + args.phys_low = phys; + args.virt = virt; + args.size = size; + args.mode = mode; /* Format is WIMG0PP. */ + args.catch_result = (grub_ieee1275_cell_t) -1; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + + return args.catch_result; +} + +int +grub_claimmap (grub_addr_t addr, grub_size_t size) +{ + if (grub_ieee1275_claim (addr, size, 0, 0)) + return -1; + + if (! grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_REAL_MODE) + && grub_ieee1275_map (addr, addr, size, 0x00)) + { + grub_printf ("map failed: address 0x%llx, size 0x%llx\n", + (long long) addr, (long long) size); + grub_ieee1275_release (addr, size); + return -1; + } + + return 0; +} + +/* Get the device arguments of the Open Firmware node name `path'. */ +static char * +grub_ieee1275_get_devargs (const char *path) +{ + char *colon = grub_strchr (path, ':'); + + if (! colon) + return 0; + + return grub_strdup (colon + 1); +} + +/* Get the device path of the Open Firmware node name `path'. */ +static char * +grub_ieee1275_get_devname (const char *path) +{ + char *colon = grub_strchr (path, ':'); + char *newpath = 0; + int pathlen = grub_strlen (path); + auto int match_alias (struct grub_ieee1275_devalias *alias); + + int match_alias (struct grub_ieee1275_devalias *curalias) + { + /* briQ firmware can change capitalization in /chosen/bootpath. */ + if (! grub_strncasecmp (curalias->path, path, pathlen)) + { + newpath = grub_strdup (curalias->name); + return 1; + } + + return 0; + } + + if (colon) + pathlen = (int)(colon - path); + + /* Try to find an alias for this device. */ + grub_devalias_iterate (match_alias); + + if (! newpath) + newpath = grub_strndup (path, pathlen); + + return newpath; +} + +static char * +grub_ieee1275_parse_args (const char *path, enum grub_ieee1275_parse_type ptype) +{ + char type[64]; /* XXX check size. */ + char *device = grub_ieee1275_get_devname (path); + char *args = grub_ieee1275_get_devargs (path); + char *ret = 0; + grub_ieee1275_phandle_t dev; + + if (!args) + /* Shouldn't happen. */ + return 0; + + /* We need to know what type of device it is in order to parse the full + file path properly. */ + if (grub_ieee1275_finddevice (device, &dev)) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, "device %s not found", device); + goto fail; + } + if (grub_ieee1275_get_property (dev, "device_type", &type, sizeof type, 0)) + { + grub_error (GRUB_ERR_UNKNOWN_DEVICE, + "device %s lacks a device_type property", device); + goto fail; + } + + if (!grub_strcmp ("block", type)) + { + /* The syntax of the device arguments is defined in the CHRP and PReP + IEEE1275 bindings: "[partition][,[filename]]". */ + char *comma = grub_strchr (args, ','); + + if (ptype == GRUB_PARSE_FILENAME) + { + if (comma) + { + char *filepath = comma + 1; + + /* Make sure filepath has leading backslash. */ + if (filepath[0] != '\\') + ret = grub_xasprintf ("\\%s", filepath); + else + ret = grub_strdup (filepath); + } + } + else if (ptype == GRUB_PARSE_PARTITION) + { + if (!comma) + ret = grub_strdup (args); + else + ret = grub_strndup (args, (grub_size_t)(comma - args)); + } + } + else + { + /* XXX Handle net devices by configuring & registering a grub_net_dev + here, then return its name? + Example path: "net:,,,,,". */ + grub_printf ("Unsupported type %s for device %s\n", type, device); + } + +fail: + grub_free (device); + grub_free (args); + return ret; +} + +char * +grub_ieee1275_get_filename (const char *path) +{ + return grub_ieee1275_parse_args (path, GRUB_PARSE_FILENAME); +} + +/* Convert a device name from IEEE1275 syntax to GRUB syntax. */ +char * +grub_ieee1275_encode_devname (const char *path) +{ + char *device = grub_ieee1275_get_devname (path); + char *partition = grub_ieee1275_parse_args (path, GRUB_PARSE_PARTITION); + char *encoding; + + if (partition && partition[0]) + { + unsigned int partno = grub_strtoul (partition, 0, 0); + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS)) + /* GRUB partition 1 is OF partition 0. */ + partno++; + + encoding = grub_xasprintf ("(%s,%d)", device, partno); + } + else + encoding = grub_xasprintf ("(%s)", device); + + grub_free (partition); + grub_free (device); + + return encoding; +} + +/* On i386, a firmware-independant grub_reboot() is provided by realmode.S. */ +#ifndef __i386__ +void +grub_reboot (void) +{ + grub_ieee1275_interpret ("reset-all", 0); + for (;;) ; +} +#endif + +/* Resolve aliases. */ +char * +grub_ieee1275_canonicalise_devname (const char *path) +{ + struct canon_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t path; + grub_ieee1275_cell_t buf; + grub_ieee1275_cell_t inlen; + grub_ieee1275_cell_t outlen; + } + args; + char *buf = NULL; + grub_size_t bufsize = 64; + int i; + + for (i = 0; i < 2; i++) + { + grub_free (buf); + + buf = grub_malloc (bufsize); + if (!buf) + return NULL; + + INIT_IEEE1275_COMMON (&args.common, "canon", 3, 1); + args.path = (grub_ieee1275_cell_t) path; + args.buf = (grub_ieee1275_cell_t) buf; + args.inlen = (grub_ieee1275_cell_t) (bufsize - 1); + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return 0; + if (args.outlen > bufsize - 1) + { + bufsize = args.outlen + 2; + continue; + } + return buf; + } + /* Shouldn't reach here. */ + grub_free (buf); + return NULL; +} diff --git a/grub-core/kern/list.c b/grub-core/kern/list.c new file mode 100644 index 0000000..33c3341 --- /dev/null +++ b/grub-core/kern/list.c @@ -0,0 +1,87 @@ +/* list.c - grub list function */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +void +grub_list_push (grub_list_t *head, grub_list_t item) +{ + item->next = *head; + *head = item; +} + +void +grub_list_remove (grub_list_t *head, grub_list_t item) +{ + grub_list_t *p, q; + + for (p = head, q = *p; q; p = &(q->next), q = q->next) + if (q == item) + { + *p = q->next; + break; + } +} + +void * +grub_named_list_find (grub_named_list_t head, const char *name) +{ + grub_named_list_t item; + + FOR_LIST_ELEMENTS (item, head) + if (grub_strcmp (item->name, name) == 0) + return item; + + return NULL; +} + +void +grub_prio_list_insert (grub_prio_list_t *head, grub_prio_list_t nitem) +{ + int inactive = 0; + + grub_prio_list_t *p, q; + + for (p = head, q = *p; q; p = &(q->next), q = q->next) + { + int r; + + r = grub_strcmp (nitem->name, q->name); + if (r < 0) + break; + if (r > 0) + continue; + + if (nitem->prio >= (q->prio & GRUB_PRIO_LIST_PRIO_MASK)) + { + q->prio &= ~GRUB_PRIO_LIST_FLAG_ACTIVE; + break; + } + + inactive = 1; + } + + *p = nitem; + nitem->next = q; + + if (! inactive) + nitem->prio |= GRUB_PRIO_LIST_FLAG_ACTIVE; +} diff --git a/grub-core/kern/main.c b/grub-core/kern/main.c new file mode 100644 index 0000000..da71232 --- /dev/null +++ b/grub-core/kern/main.c @@ -0,0 +1,200 @@ +/* main.c - the kernel main routine */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2005,2006,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +void +grub_module_iterate (int (*hook) (struct grub_module_header *header)) +{ + struct grub_module_info *modinfo; + struct grub_module_header *header; + grub_addr_t modbase; + + modbase = grub_arch_modules_addr (); + modinfo = (struct grub_module_info *) modbase; + + /* Check if there are any modules. */ + if ((modinfo == 0) || modinfo->magic != GRUB_MODULE_MAGIC) + return; + + for (header = (struct grub_module_header *) (modbase + modinfo->offset); + header < (struct grub_module_header *) (modbase + modinfo->size); + header = (struct grub_module_header *) ((char *) header + header->size)) + { + if (hook (header)) + break; + } +} + +/* This is actualy platform-independant but used only on yeeloong and sparc. */ +#if defined (GRUB_MACHINE_MIPS_YEELOONG) || defined (GRUB_MACHINE_SPARC64) +grub_addr_t +grub_modules_get_end (void) +{ + struct grub_module_info *modinfo; + grub_addr_t modbase; + + modbase = grub_arch_modules_addr (); + modinfo = (struct grub_module_info *) modbase; + + /* Check if there are any modules. */ + if ((modinfo == 0) || modinfo->magic != GRUB_MODULE_MAGIC) + return modbase; + + return modbase + modinfo->size; +} +#endif + +/* Load all modules in core. */ +static void +grub_load_modules (void) +{ + auto int hook (struct grub_module_header *); + int hook (struct grub_module_header *header) + { + /* Not an ELF module, skip. */ + if (header->type != OBJ_TYPE_ELF) + return 0; + + if (! grub_dl_load_core ((char *) header + sizeof (struct grub_module_header), + (header->size - sizeof (struct grub_module_header)))) + grub_fatal ("%s", grub_errmsg); + + if (grub_errno) + grub_print_error (); + + return 0; + } + + grub_module_iterate (hook); +} + +static void +grub_load_config (void) +{ + auto int hook (struct grub_module_header *); + int hook (struct grub_module_header *header) + { + /* Not an embedded config, skip. */ + if (header->type != OBJ_TYPE_CONFIG) + return 0; + + grub_parser_execute ((char *) header + + sizeof (struct grub_module_header)); + return 1; + } + + grub_module_iterate (hook); +} + +/* Write hook for the environment variables of root. Remove surrounding + parentheses, if any. */ +static char * +grub_env_write_root (struct grub_env_var *var __attribute__ ((unused)), + const char *val) +{ + /* XXX Is it better to check the existence of the device? */ + grub_size_t len = grub_strlen (val); + + if (val[0] == '(' && val[len - 1] == ')') + return grub_strndup (val + 1, len - 2); + + return grub_strdup (val); +} + +/* Set the root device according to the dl prefix. */ +static void +grub_set_root_dev (void) +{ + const char *prefix; + + grub_register_variable_hook ("root", 0, grub_env_write_root); + + prefix = grub_env_get ("prefix"); + + if (prefix) + { + char *dev; + + dev = grub_file_get_device_name (prefix); + if (dev) + { + grub_env_set ("root", dev); + grub_free (dev); + } + } +} + +/* Load the normal mode module and execute the normal mode if possible. */ +static void +grub_load_normal_mode (void) +{ + /* Load the module. */ + grub_dl_load ("normal"); + + /* Something went wrong. Print errors here to let user know why we're entering rescue mode. */ + grub_print_error (); + grub_errno = 0; + + grub_command_execute ("normal", 0, 0); +} + +/* The main routine. */ +void +grub_main (void) +{ + /* First of all, initialize the machine. */ + grub_machine_init (); + + /* Hello. */ + grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT); + grub_printf ("Welcome to GRUB!\n\n"); + grub_setcolorstate (GRUB_TERM_COLOR_STANDARD); + + /* Load pre-loaded modules and free the space. */ + grub_register_exported_symbols (); +#ifdef GRUB_LINKER_HAVE_INIT + grub_arch_dl_init_linker (); +#endif + grub_load_modules (); + + /* It is better to set the root device as soon as possible, + for convenience. */ + grub_machine_set_prefix (); + grub_set_root_dev (); + grub_env_export ("root"); + grub_env_export ("prefix"); + + grub_register_core_commands (); + + grub_load_config (); + grub_load_normal_mode (); + grub_rescue_run (); +} diff --git a/grub-core/kern/mips/cache.S b/grub-core/kern/mips/cache.S new file mode 100644 index 0000000..a4aa06f --- /dev/null +++ b/grub-core/kern/mips/cache.S @@ -0,0 +1,45 @@ + +#include + + .set noreorder + .set nomacro + +FUNCTION (grub_cpu_flush_cache) +FUNCTION (grub_arch_sync_caches) +#include "cache_flush.S" + j $ra + +FUNCTION (grub_arch_sync_dma_caches) + move $t2, $a0 + addu $t3, $a0, $a1 + srl $t2, $t2, 5 + sll $t2, $t2, 5 + addu $t3, $t3, 0x1f + srl $t3, $t3, 5 + sll $t3, $t3, 5 + move $t0, $t2 + subu $t1, $t3, $t2 +1: + cache 1, 0($t0) + addiu $t1, $t1, 0xffff + bne $t1, $zero, 1b + addiu $t0, $t0, 0x1 + sync + move $t0, $t2 + subu $t1, $t3, $t2 +2: + cache 0, 0($t0) + addiu $t1, $t1, 0xffff + bne $t1, $zero, 2b + addiu $t0, $t0, 0x1 + sync + move $t0, $t2 + subu $t1, $t3, $t2 +2: + cache 23, 0($t0) + addiu $t1, $t1, 0xffff + bne $t1, $zero, 2b + addiu $t0, $t0, 0x1 + sync + + jr $ra \ No newline at end of file diff --git a/grub-core/kern/mips/cache_flush.S b/grub-core/kern/mips/cache_flush.S new file mode 100644 index 0000000..11096c0 --- /dev/null +++ b/grub-core/kern/mips/cache_flush.S @@ -0,0 +1,23 @@ + move $t2, $a0 + addu $t3, $a0, $a1 + srl $t2, $t2, 5 + sll $t2, $t2, 5 + addu $t3, $t3, 0x1f + srl $t3, $t3, 5 + sll $t3, $t3, 5 + move $t0, $t2 + subu $t1, $t3, $t2 +1: + cache 1, 0($t0) + addiu $t1, $t1, 0xffff + bne $t1, $zero, 1b + addiu $t0, $t0, 0x1 + sync + move $t0, $t2 + subu $t1, $t3, $t2 +2: + cache 0, 0($t0) + addiu $t1, $t1, 0xffff + bne $t1, $zero, 2b + addiu $t0, $t0, 0x1 + sync diff --git a/grub-core/kern/mips/dl.c b/grub-core/kern/mips/dl.c new file mode 100644 index 0000000..e17e9f3 --- /dev/null +++ b/grub-core/kern/mips/dl.c @@ -0,0 +1,239 @@ +/* dl-386.c - arch-dependent part of loadable module support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* Dummy __gnu_local_gp. Resolved by linker. */ +static char __gnu_local_gp_dummy; + +/* Check if EHDR is a valid ELF header. */ +grub_err_t +grub_arch_dl_check_header (void *ehdr) +{ + Elf_Ehdr *e = ehdr; + + /* Check the magic numbers. */ +#ifdef WORDS_BIGENDIAN + if (e->e_ident[EI_CLASS] != ELFCLASS32 + || e->e_ident[EI_DATA] != ELFDATA2MSB + || e->e_machine != EM_MIPS) +#else + if (e->e_ident[EI_CLASS] != ELFCLASS32 + || e->e_ident[EI_DATA] != ELFDATA2LSB + || e->e_machine != EM_MIPS) +#endif + return grub_error (GRUB_ERR_BAD_OS, "invalid arch specific ELF magic"); + + return GRUB_ERR_NONE; +} + +/* Relocate symbols. */ +grub_err_t +grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) +{ + Elf_Ehdr *e = ehdr; + Elf_Shdr *s; + Elf_Word entsize; + unsigned i; + grub_size_t gp_size = 0; + /* FIXME: suboptimal. */ + grub_uint32_t *gp, *gpptr; + grub_uint32_t gp0; + + /* Find a symbol table. */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no symtab found"); + + entsize = s->sh_entsize; + + /* Find reginfo. */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_MIPS_REGINFO) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no reginfo found"); + + gp0 = ((grub_uint32_t *)((char *) e + s->sh_offset))[5]; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_REL) + { + grub_dl_segment_t seg; + + /* Find the target segment. */ + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf_Rel *rel, *max; + + for (rel = (Elf_Rel *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + switch (ELF_R_TYPE (rel->r_info)) + { + case R_MIPS_GOT16: + case R_MIPS_CALL16: + case R_MIPS_GPREL32: + gp_size += 4; + break; + } + } + } + + if (gp_size > 0x08000) + return grub_error (GRUB_ERR_OUT_OF_RANGE, "__gnu_local_gp is too big\n"); + + gpptr = gp = grub_malloc (gp_size); + if (!gp) + return grub_errno; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_REL) + { + grub_dl_segment_t seg; + + /* Find the target segment. */ + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf_Rel *rel, *max; + + for (rel = (Elf_Rel *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + { + Elf_Word *addr; + Elf_Sym *sym; + + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr = (Elf_Word *) ((char *) seg->addr + rel->r_offset); + sym = (Elf_Sym *) ((char *) mod->symtab + + entsize * ELF_R_SYM (rel->r_info)); + if (sym->st_value == (grub_addr_t) &__gnu_local_gp_dummy) + sym->st_value = (grub_addr_t) gp; + + switch (ELF_R_TYPE (rel->r_info)) + { + case R_MIPS_HI16: + { + grub_uint32_t value; + Elf_Rel *rel2; + + /* Handle partner lo16 relocation. Lower part is + treated as signed. Hence add 0x8000 to compensate. + */ + value = (*(grub_uint16_t *) addr << 16) + + sym->st_value + 0x8000; + for (rel2 = rel + 1; rel2 < max; rel2++) + if (ELF_R_SYM (rel2->r_info) + == ELF_R_SYM (rel->r_info) + && ELF_R_TYPE (rel2->r_info) == R_MIPS_LO16) + { + value += *(grub_int16_t *) + ((char *) seg->addr + rel2->r_offset); + break; + } + *(grub_uint16_t *) addr = (value >> 16) & 0xffff; + } + break; + case R_MIPS_LO16: + *(grub_uint16_t *) addr += (sym->st_value) & 0xffff; + break; + case R_MIPS_32: + *(grub_uint32_t *) addr += sym->st_value; + break; + case R_MIPS_GPREL32: + *(grub_uint32_t *) addr = sym->st_value + + *(grub_uint32_t *) addr + gp0 - (grub_uint32_t)gp; + break; + + case R_MIPS_26: + { + grub_uint32_t value; + grub_uint32_t raw; + raw = (*(grub_uint32_t *) addr) & 0x3ffffff; + value = raw << 2; + value += sym->st_value; + raw = (value >> 2) & 0x3ffffff; + + *(grub_uint32_t *) addr = + raw | ((*(grub_uint32_t *) addr) & 0xfc000000); + } + break; + case R_MIPS_GOT16: + case R_MIPS_CALL16: + /* FIXME: reuse*/ + *gpptr = sym->st_value + *(grub_uint16_t *) addr; + *(grub_uint16_t *) addr + = sizeof (grub_uint32_t) * (gpptr - gp); + gpptr++; + break; + case R_MIPS_JALR: + break; + default: + { + grub_free (gp); + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "Unknown relocation type %d\n", + ELF_R_TYPE (rel->r_info)); + } + break; + } + } + } + } + + return GRUB_ERR_NONE; +} + +void +grub_arch_dl_init_linker (void) +{ + grub_dl_register_symbol ("__gnu_local_gp", &__gnu_local_gp_dummy, 0); +} + diff --git a/grub-core/kern/mips/init.c b/grub-core/kern/mips/init.c new file mode 100644 index 0000000..f220108 --- /dev/null +++ b/grub-core/kern/mips/init.c @@ -0,0 +1,34 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +void +grub_machine_set_prefix (void) +{ + grub_env_set ("prefix", grub_prefix); +} + +extern char _end[]; + +grub_addr_t +grub_arch_modules_addr (void) +{ + return (grub_addr_t) _end; +} diff --git a/grub-core/kern/mips/qemu-mips/init.c b/grub-core/kern/mips/qemu-mips/init.c new file mode 100644 index 0000000..f2bb652 --- /dev/null +++ b/grub-core/kern/mips/qemu-mips/init.c @@ -0,0 +1,58 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define RAMSIZE (*(grub_uint32_t *) ((16 << 20) - 264)) + +grub_uint32_t +grub_get_rtc (void) +{ + static int calln = 0; + return calln++; +} + +void +grub_machine_init (void) +{ + grub_mm_init_region ((void *) GRUB_MACHINE_MEMORY_USABLE, + RAMSIZE - (GRUB_MACHINE_MEMORY_USABLE & 0x7fffffff)); + grub_install_get_time_ms (grub_rtc_get_time_ms); +} + +void +grub_machine_fini (void) +{ +} + +void +grub_exit (void) +{ + while (1); +} + +void +grub_halt (void) +{ + while (1); +} + +void +grub_reboot (void) +{ + while (1); +} + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + hook (0, RAMSIZE, GRUB_MEMORY_AVAILABLE); + return GRUB_ERR_NONE; +} diff --git a/grub-core/kern/mips/startup.S b/grub-core/kern/mips/startup.S new file mode 100644 index 0000000..ae0e0b1 --- /dev/null +++ b/grub-core/kern/mips/startup.S @@ -0,0 +1,126 @@ +/* startup.S - Startup code for the MIPS. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +#define BASE_ADDR 8 + + .globl __start, _start, start + .set noreorder + .set nomacro +__start: +_start: +start: +.extern __bss_start +.extern _end + bal cont + nop + + . = _start + GRUB_KERNEL_MIPS_YEELOONG_TOTAL_MODULE_SIZE +total_module_size: + .long 0 + + . = _start + GRUB_KERNEL_MACHINE_PREFIX + +VARIABLE(grub_prefix) + + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX_END +#ifdef GRUB_MACHINE_MIPS_YEELOONG +VARIABLE (grub_arch_busclock) + .long 0 +VARIABLE (grub_arch_cpuclock) + .long 0 +VARIABLE (grub_arch_memsize) + .long 0 +VARIABLE (grub_arch_highmemsize) + .long 0 +#endif +cont: + /* Save our base. */ + move $s0, $ra + +#ifdef GRUB_MACHINE_MIPS_YEELOONG + lui $t1, %hi(grub_arch_busclock) + addiu $t1, %lo(grub_arch_busclock) + sw $s2, 0($t1) + sw $s3, 4($t1) + sw $s4, 8($t1) + sw $s5, 12($t1) +#endif + + /* Move the modules out of BSS. */ + lui $t2, %hi(__bss_start) + addiu $t2, %lo(__bss_start) + + lui $t1, %hi(_end) + addiu $t1, %lo(_end) + addiu $t1, (GRUB_KERNEL_MACHINE_MOD_ALIGN - 1) + li $t3, (GRUB_KERNEL_MACHINE_MOD_ALIGN - 1) + nor $t3, $t3, $0 + and $t1, $t1, $t3 + + lw $t3, (GRUB_KERNEL_MACHINE_TOTAL_MODULE_SIZE - BASE_ADDR)($s0) + + /* Backward copy. */ + add $t1, $t1, $t3 + add $t2, $t2, $t3 + addiu $t1, $t1, -1 + addiu $t2, $t2, -1 + + /* $t2 is source. $t1 is destination. $t3 is size. */ +modulesmovcont: + beq $t3, $0, modulesmovdone + nop + lb $t4, 0($t2) + sb $t4, 0($t1) + addiu $t2, $t2, -1 + addiu $t1, $t1, -1 + b modulesmovcont + addiu $t3, $t3, -1 +modulesmovdone: + + /* Clean BSS. */ + + lui $t1, %hi(__bss_start) + addiu $t1, $t1, %lo(__bss_start) + lui $t2, %hi(_end) + addiu $t2, $t2, %lo(_end) +bsscont: + sb $0,0($t1) + addiu $t1, $t1, 1 + sltu $t3, $t1, $t2 + bne $t3, $0, bsscont + nop + + lui $t1, %hi(grub_main) + addiu $t1, %lo(grub_main) + + lui $sp, %hi(GRUB_MACHINE_MEMORY_STACK_HIGH) + jr $t1 + addiu $sp, $sp, %lo(GRUB_MACHINE_MEMORY_STACK_HIGH) + diff --git a/grub-core/kern/mips/yeeloong/init.c b/grub-core/kern/mips/yeeloong/init.c new file mode 100644 index 0000000..7a48d69 --- /dev/null +++ b/grub-core/kern/mips/yeeloong/init.c @@ -0,0 +1,253 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +extern void grub_video_sm712_init (void); +extern void grub_video_init (void); +extern void grub_bitmap_init (void); +extern void grub_font_init (void); +extern void grub_gfxterm_init (void); +extern void grub_at_keyboard_init (void); +extern void grub_serial_init (void); +extern void grub_terminfo_init (void); +extern void grub_keylayouts_init (void); +extern void grub_boot_init (void); + +/* FIXME: use interrupt to count high. */ +grub_uint64_t +grub_get_rtc (void) +{ + static grub_uint32_t high = 0; + static grub_uint32_t last = 0; + grub_uint32_t low; + + asm volatile ("mfc0 %0, " GRUB_CPU_LOONGSON_COP0_TIMER_COUNT : "=r" (low)); + if (low < last) + high++; + last = low; + + return (((grub_uint64_t) high) << 32) | low; +} + +grub_err_t +grub_machine_mmap_iterate (grub_memory_hook_t hook) +{ + hook (GRUB_ARCH_LOWMEMPSTART, grub_arch_memsize << 20, + GRUB_MEMORY_AVAILABLE); + hook (GRUB_ARCH_HIGHMEMPSTART, grub_arch_highmemsize << 20, + GRUB_MEMORY_AVAILABLE); + return GRUB_ERR_NONE; +} + +static void +init_pci (void) +{ + auto int NESTED_FUNC_ATTR set_card (grub_pci_device_t dev, grub_pci_id_t pciid); + int NESTED_FUNC_ATTR set_card (grub_pci_device_t dev, grub_pci_id_t pciid) + { + grub_pci_address_t addr; + /* FIXME: autoscan for BARs and devices. */ + switch (pciid) + { + case GRUB_YEELOONG_OHCI_PCIID: + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); + grub_pci_write (addr, 0x5025000); + addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND); + grub_pci_write_word (addr, GRUB_PCI_COMMAND_SERR_ENABLE + | GRUB_PCI_COMMAND_PARITY_ERROR + | GRUB_PCI_COMMAND_BUS_MASTER + | GRUB_PCI_COMMAND_MEM_ENABLED); + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_STATUS); + grub_pci_write_word (addr, 0x0200 | GRUB_PCI_STATUS_CAPABILITIES); + break; + case GRUB_YEELOONG_EHCI_PCIID: + addr = grub_pci_make_address (dev, GRUB_PCI_REG_ADDRESS_REG0); + grub_pci_write (addr, 0x5026000); + addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND); + grub_pci_write_word (addr, GRUB_PCI_COMMAND_SERR_ENABLE + | GRUB_PCI_COMMAND_PARITY_ERROR + | GRUB_PCI_COMMAND_BUS_MASTER + | GRUB_PCI_COMMAND_MEM_ENABLED); + + addr = grub_pci_make_address (dev, GRUB_PCI_REG_STATUS); + grub_pci_write_word (addr, (1 << GRUB_PCI_STATUS_DEVSEL_TIMING_SHIFT) + | GRUB_PCI_STATUS_CAPABILITIES); + break; + } + return 0; + } + + *((volatile grub_uint32_t *) GRUB_CPU_LOONGSON_PCI_HIT1_SEL_LO) = 0x8000000c; + *((volatile grub_uint32_t *) GRUB_CPU_LOONGSON_PCI_HIT1_SEL_HI) = 0xffffffff; + + /* Setup PCI controller. */ + *((volatile grub_uint16_t *) (GRUB_MACHINE_PCI_CONTROLLER_HEADER + + GRUB_PCI_REG_COMMAND)) + = GRUB_PCI_COMMAND_PARITY_ERROR | GRUB_PCI_COMMAND_BUS_MASTER + | GRUB_PCI_COMMAND_MEM_ENABLED; + *((volatile grub_uint16_t *) (GRUB_MACHINE_PCI_CONTROLLER_HEADER + + GRUB_PCI_REG_STATUS)) + = (1 << GRUB_PCI_STATUS_DEVSEL_TIMING_SHIFT) + | GRUB_PCI_STATUS_FAST_B2B_CAPABLE | GRUB_PCI_STATUS_66MHZ_CAPABLE + | GRUB_PCI_STATUS_CAPABILITIES; + + *((volatile grub_uint32_t *) (GRUB_MACHINE_PCI_CONTROLLER_HEADER + + GRUB_PCI_REG_CACHELINE)) = 0xff; + *((volatile grub_uint32_t *) (GRUB_MACHINE_PCI_CONTROLLER_HEADER + + GRUB_PCI_REG_ADDRESS_REG0)) + = 0x80000000 | GRUB_PCI_ADDR_MEM_TYPE_64 | GRUB_PCI_ADDR_MEM_PREFETCH; + *((volatile grub_uint32_t *) (GRUB_MACHINE_PCI_CONTROLLER_HEADER + + GRUB_PCI_REG_ADDRESS_REG1)) = 0; + + grub_pci_iterate (set_card); +} + +void +grub_machine_init (void) +{ + grub_addr_t modend; + + /* FIXME: measure this. */ + if (grub_arch_busclock == 0) + { + grub_arch_busclock = 66000000; + grub_arch_cpuclock = 797000000; + } + + grub_install_get_time_ms (grub_rtc_get_time_ms); + + if (grub_arch_memsize == 0) + { + grub_port_t smbbase; + grub_err_t err; + grub_pci_device_t dev; + struct grub_smbus_spd spd; + unsigned totalmem; + int i; + + if (!grub_cs5536_find (&dev)) + grub_fatal ("No CS5536 found\n"); + + err = grub_cs5536_init_smbus (dev, 0x7ff, &smbbase); + if (err) + grub_fatal ("Couldn't init SMBus: %s\n", grub_errmsg); + + /* Yeeloong has only one memory slot. */ + err = grub_cs5536_read_spd (smbbase, GRUB_SMB_RAM_START_ADDR, &spd); + if (err) + grub_fatal ("Couldn't read SPD: %s\n", grub_errmsg); + for (i = 5; i < 13; i++) + if (spd.ddr2.rank_capacity & (1 << (i & 7))) + break; + /* Something is wrong. */ + if (i == 13) + totalmem = 256; + else + totalmem = ((spd.ddr2.num_of_ranks + & GRUB_SMBUS_SPD_MEMORY_NUM_OF_RANKS_MASK) + 1) << (i + 2); + + if (totalmem >= 256) + { + grub_arch_memsize = 256; + grub_arch_highmemsize = totalmem - 256; + } + else + { + grub_arch_memsize = (totalmem >> 20); + grub_arch_highmemsize = 0; + } + + grub_cs5536_init_geode (dev); + + init_pci (); + } + + modend = grub_modules_get_end (); + grub_mm_init_region ((void *) modend, (grub_arch_memsize << 20) + - (modend - GRUB_ARCH_LOWMEMVSTART)); + /* FIXME: use upper memory as well. */ + + /* Initialize output terminal (can't be done earlier, as gfxterm + relies on a working heap. */ + grub_video_init (); + grub_video_sm712_init (); + grub_bitmap_init (); + grub_font_init (); + grub_gfxterm_init (); + + grub_keylayouts_init (); + grub_at_keyboard_init (); + + grub_terminfo_init (); + grub_serial_init (); + + grub_boot_init (); +} + +void +grub_machine_fini (void) +{ +} + +void +grub_halt (void) +{ + grub_outb (grub_inb (GRUB_CPU_LOONGSON_GPIOCFG) + & ~GRUB_CPU_LOONGSON_SHUTDOWN_GPIO, GRUB_CPU_LOONGSON_GPIOCFG); + + grub_millisleep (1500); + + grub_printf ("Shutdown failed\n"); + grub_refresh (); + while (1); +} + +void +grub_exit (void) +{ + grub_halt (); +} + +void +grub_reboot (void) +{ + grub_write_ec (GRUB_MACHINE_EC_COMMAND_REBOOT); + + grub_millisleep (1500); + + grub_printf ("Reboot failed\n"); + grub_refresh (); + while (1); +} + diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c new file mode 100644 index 0000000..1b4cdec --- /dev/null +++ b/grub-core/kern/misc.c @@ -0,0 +1,1019 @@ +/* misc.c - definitions of misc functions */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include + +static int +grub_vsnprintf_real (char *str, grub_size_t n, const char *fmt, va_list args); + +static int +grub_iswordseparator (int c) +{ + return (grub_isspace (c) || c == ',' || c == ';' || c == '|' || c == '&'); +} + +/* grub_gettext_dummy is not translating anything. */ +static const char * +grub_gettext_dummy (const char *s) +{ + return s; +} + +const char* (*grub_gettext) (const char *s) = grub_gettext_dummy; + +void * +grub_memmove (void *dest, const void *src, grub_size_t n) +{ + char *d = (char *) dest; + const char *s = (const char *) src; + + if (d < s) + while (n--) + *d++ = *s++; + else + { + d += n; + s += n; + + while (n--) + *--d = *--s; + } + + return dest; +} + +#ifndef APPLE_CC +void *memmove (void *dest, const void *src, grub_size_t n) + __attribute__ ((alias ("grub_memmove"))); +/* GCC emits references to memcpy() for struct copies etc. */ +void *memcpy (void *dest, const void *src, grub_size_t n) + __attribute__ ((alias ("grub_memmove"))); +#else +void *memcpy (void *dest, const void *src, grub_size_t n) +{ + return grub_memmove (dest, src, n); +} +void *memmove (void *dest, const void *src, grub_size_t n) +{ + return grub_memmove (dest, src, n); +} +#endif + +char * +grub_strcpy (char *dest, const char *src) +{ + char *p = dest; + + while ((*p++ = *src++) != '\0') + ; + + return dest; +} + +char * +grub_strncpy (char *dest, const char *src, int c) +{ + char *p = dest; + + while ((*p++ = *src++) != '\0' && --c) + ; + + return dest; +} + +char * +grub_stpcpy (char *dest, const char *src) +{ + char *d = dest; + const char *s = src; + + do + *d++ = *s; + while (*s++ != '\0'); + + return d - 1; +} + +int +grub_printf (const char *fmt, ...) +{ + va_list ap; + int ret; + + va_start (ap, fmt); + ret = grub_vprintf (fmt, ap); + va_end (ap); + + return ret; +} + +int +grub_printf_ (const char *fmt, ...) +{ + va_list ap; + int ret; + + va_start (ap, fmt); + ret = grub_vprintf (_(fmt), ap); + va_end (ap); + + return ret; +} + +int +grub_puts_ (const char *s) +{ + return grub_puts (_(s)); +} + +#if defined (APPLE_CC) && ! defined (GRUB_UTIL) +int +grub_err_printf (const char *fmt, ...) +{ + va_list ap; + int ret; + + va_start (ap, fmt); + ret = grub_vprintf (fmt, ap); + va_end (ap); + + return ret; +} +#endif + +#if ! defined (APPLE_CC) && ! defined (GRUB_UTIL) +int grub_err_printf (const char *fmt, ...) +__attribute__ ((alias("grub_printf"))); +#endif + +void +grub_real_dprintf (const char *file, const int line, const char *condition, + const char *fmt, ...) +{ + va_list args; + const char *debug = grub_env_get ("debug"); + + if (! debug) + return; + + if (grub_strword (debug, "all") || grub_strword (debug, condition)) + { + grub_printf ("%s:%d: ", file, line); + va_start (args, fmt); + grub_vprintf (fmt, args); + va_end (args); + grub_refresh (); + } +} + +#define PREALLOC_SIZE 255 + +int +grub_vprintf (const char *fmt, va_list args) +{ + grub_size_t s; + static char buf[PREALLOC_SIZE + 1]; + char *curbuf = buf; + va_list ap2; + va_copy (ap2, args); + + s = grub_vsnprintf_real (buf, PREALLOC_SIZE, fmt, args); + if (s > PREALLOC_SIZE) + { + curbuf = grub_malloc (s + 1); + if (!curbuf) + { + grub_errno = GRUB_ERR_NONE; + buf[PREALLOC_SIZE - 3] = '.'; + buf[PREALLOC_SIZE - 2] = '.'; + buf[PREALLOC_SIZE - 1] = '.'; + buf[PREALLOC_SIZE] = 0; + } + else + s = grub_vsnprintf_real (curbuf, s, fmt, ap2); + } + + grub_xputs (curbuf); + + if (curbuf != buf) + grub_free (curbuf); + + return s; +} + +int +grub_memcmp (const void *s1, const void *s2, grub_size_t n) +{ + const char *t1 = s1; + const char *t2 = s2; + + while (n--) + { + if (*t1 != *t2) + return (int) *t1 - (int) *t2; + + t1++; + t2++; + } + + return 0; +} +#ifndef APPLE_CC +int memcmp (const void *s1, const void *s2, grub_size_t n) + __attribute__ ((alias ("grub_memcmp"))); +#else +int memcmp (const void *s1, const void *s2, grub_size_t n) +{ + return grub_memcmp (s1, s2, n); +} +#endif + +int +grub_strcmp (const char *s1, const char *s2) +{ + while (*s1 && *s2) + { + if (*s1 != *s2) + break; + + s1++; + s2++; + } + + return (int) *s1 - (int) *s2; +} + +int +grub_strncmp (const char *s1, const char *s2, grub_size_t n) +{ + if (n == 0) + return 0; + + while (*s1 && *s2 && --n) + { + if (*s1 != *s2) + break; + + s1++; + s2++; + } + + return (int) *s1 - (int) *s2; +} + +char * +grub_strchr (const char *s, int c) +{ + do + { + if (*s == c) + return (char *) s; + } + while (*s++); + + return 0; +} + +char * +grub_strrchr (const char *s, int c) +{ + char *p = NULL; + + do + { + if (*s == c) + p = (char *) s; + } + while (*s++); + + return p; +} + +/* Copied from gnulib. + Written by Bruno Haible , 2005. */ +char * +grub_strstr (const char *haystack, const char *needle) +{ + /* Be careful not to look at the entire extent of haystack or needle + until needed. This is useful because of these two cases: + - haystack may be very long, and a match of needle found early, + - needle may be very long, and not even a short initial segment of + needle may be found in haystack. */ + if (*needle != '\0') + { + /* Speed up the following searches of needle by caching its first + character. */ + char b = *needle++; + + for (;; haystack++) + { + if (*haystack == '\0') + /* No match. */ + return NULL; + if (*haystack == b) + /* The first character matches. */ + { + const char *rhaystack = haystack + 1; + const char *rneedle = needle; + + for (;; rhaystack++, rneedle++) + { + if (*rneedle == '\0') + /* Found a match. */ + return (char *) haystack; + if (*rhaystack == '\0') + /* No match. */ + return NULL; + if (*rhaystack != *rneedle) + /* Nothing in this round. */ + break; + } + } + } + } + else + return (char *) haystack; +} + +int +grub_strword (const char *haystack, const char *needle) +{ + const char *n_pos = needle; + + while (grub_iswordseparator (*haystack)) + haystack++; + + while (*haystack) + { + /* Crawl both the needle and the haystack word we're on. */ + while(*haystack && !grub_iswordseparator (*haystack) + && *haystack == *n_pos) + { + haystack++; + n_pos++; + } + + /* If we reached the end of both words at the same time, the word + is found. If not, eat everything in the haystack that isn't the + next word (or the end of string) and "reset" the needle. */ + if ( (!*haystack || grub_iswordseparator (*haystack)) + && (!*n_pos || grub_iswordseparator (*n_pos))) + return 1; + else + { + n_pos = needle; + while (*haystack && !grub_iswordseparator (*haystack)) + haystack++; + while (grub_iswordseparator (*haystack)) + haystack++; + } + } + + return 0; +} + +int +grub_isspace (int c) +{ + return (c == '\n' || c == '\r' || c == ' ' || c == '\t'); +} + +int +grub_isprint (int c) +{ + return (c >= ' ' && c <= '~'); +} + + +unsigned long +grub_strtoul (const char *str, char **end, int base) +{ + unsigned long long num; + + num = grub_strtoull (str, end, base); + if (num > ~0UL) + { + grub_error (GRUB_ERR_OUT_OF_RANGE, "overflow is detected"); + return ~0UL; + } + + return (unsigned long) num; +} + +unsigned long long +grub_strtoull (const char *str, char **end, int base) +{ + unsigned long long num = 0; + int found = 0; + + /* Skip white spaces. */ + while (*str && grub_isspace (*str)) + str++; + + /* Guess the base, if not specified. The prefix `0x' means 16, and + the prefix `0' means 8. */ + if (str[0] == '0') + { + if (str[1] == 'x') + { + if (base == 0 || base == 16) + { + base = 16; + str += 2; + } + } + else if (base == 0 && str[1] >= '0' && str[1] <= '7') + base = 8; + } + + if (base == 0) + base = 10; + + while (*str) + { + unsigned long digit; + + digit = grub_tolower (*str) - '0'; + if (digit > 9) + { + digit += '0' - 'a' + 10; + if (digit >= (unsigned long) base) + break; + } + + found = 1; + + /* NUM * BASE + DIGIT > ~0ULL */ + if (num > grub_divmod64 (~0ULL - digit, base, 0)) + { + grub_error (GRUB_ERR_OUT_OF_RANGE, "overflow is detected"); + return ~0ULL; + } + + num = num * base + digit; + str++; + } + + if (! found) + { + grub_error (GRUB_ERR_BAD_NUMBER, "unrecognized number"); + return 0; + } + + if (end) + *end = (char *) str; + + return num; +} + +char * +grub_strdup (const char *s) +{ + grub_size_t len; + char *p; + + len = grub_strlen (s) + 1; + p = (char *) grub_malloc (len); + if (! p) + return 0; + + return grub_memcpy (p, s, len); +} + +char * +grub_strndup (const char *s, grub_size_t n) +{ + grub_size_t len; + char *p; + + len = grub_strlen (s); + if (len > n) + len = n; + p = (char *) grub_malloc (len + 1); + if (! p) + return 0; + + grub_memcpy (p, s, len); + p[len] = '\0'; + return p; +} + +void * +grub_memset (void *s, int c, grub_size_t len) +{ + void *p = s; + grub_uint8_t pattern8 = c; + + if (len >= 3 * sizeof (unsigned long)) + { + unsigned long patternl = 0; + grub_size_t i; + + for (i = 0; i < sizeof (unsigned long); i++) + patternl |= ((unsigned long) pattern8) << (8 * i); + + while (len > 0 && (((grub_addr_t) p) & (sizeof (unsigned long) - 1))) + { + *(grub_uint8_t *) p = pattern8; + p = (grub_uint8_t *) p + 1; + len--; + } + while (len >= sizeof (unsigned long)) + { + *(unsigned long *) p = patternl; + p = (unsigned long *) p + 1; + len -= sizeof (unsigned long); + } + } + + while (len > 0) + { + *(grub_uint8_t *) p = pattern8; + p = (grub_uint8_t *) p + 1; + len--; + } + + return s; +} +#ifndef APPLE_CC +void *memset (void *s, int c, grub_size_t n) + __attribute__ ((alias ("grub_memset"))); +#else +void *memset (void *s, int c, grub_size_t n) +{ + return grub_memset (s, c, n); +} +#endif + +grub_size_t +grub_strlen (const char *s) +{ + const char *p = s; + + while (*p) + p++; + + return p - s; +} + +static inline void +grub_reverse (char *str) +{ + char *p = str + grub_strlen (str) - 1; + + while (str < p) + { + char tmp; + + tmp = *str; + *str = *p; + *p = tmp; + str++; + p--; + } +} + +/* Divide N by D, return the quotient, and store the remainder in *R. */ +grub_uint64_t +grub_divmod64_full (grub_uint64_t n, grub_uint64_t d, grub_uint64_t *r) +{ + /* This algorithm is typically implemented by hardware. The idea + is to get the highest bit in N, 64 times, by keeping + upper(N * 2^i) = (Q * D + M), where upper + represents the high 64 bits in 128-bits space. */ + unsigned bits = 64; + grub_uint64_t q = 0; + grub_uint64_t m = 0; + + /* Skip the slow computation if 32-bit arithmetic is possible. */ + if (n < 0xffffffff && d < 0xffffffff) + { + if (r) + *r = ((grub_uint32_t) n) % (grub_uint32_t) d; + + return ((grub_uint32_t) n) / (grub_uint32_t) d; + } + + while (bits--) + { + m <<= 1; + + if (n & (1ULL << 63)) + m |= 1; + + q <<= 1; + n <<= 1; + + if (m >= d) + { + q |= 1; + m -= d; + } + } + + if (r) + *r = m; + + return q; +} + +/* Convert a long long value to a string. This function avoids 64-bit + modular arithmetic or divisions. */ +static char * +grub_lltoa (char *str, int c, unsigned long long n) +{ + unsigned base = (c == 'x') ? 16 : 10; + char *p; + + if ((long long) n < 0 && c == 'd') + { + n = (unsigned long long) (-((long long) n)); + *str++ = '-'; + } + + p = str; + + if (base == 16) + do + { + unsigned d = (unsigned) (n & 0xf); + *p++ = (d > 9) ? d + 'a' - 10 : d + '0'; + } + while (n >>= 4); + else + /* BASE == 10 */ + do + { + unsigned m; + + n = grub_divmod64 (n, 10, &m); + *p++ = m + '0'; + } + while (n); + + *p = 0; + + grub_reverse (str); + return p; +} + +static int +grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt, va_list args) +{ + char c; + grub_size_t count = 0; + auto void write_char (unsigned char ch); + auto void write_str (const char *s); + auto void write_fill (const char ch, int n); + + void write_char (unsigned char ch) + { + if (count < max_len) + *str++ = ch; + + count++; + } + + void write_str (const char *s) + { + while (*s) + write_char (*s++); + } + + void write_fill (const char ch, int n) + { + int i; + for (i = 0; i < n; i++) + write_char (ch); + } + + while ((c = *fmt++) != 0) + { + if (c != '%') + write_char (c); + else + { + char tmp[32]; + char *p; + unsigned int format1 = 0; + unsigned int format2 = ~ 0U; + char zerofill = ' '; + int rightfill = 0; + int n; + int longfmt = 0; + int longlongfmt = 0; + int unsig = 0; + + if (*fmt && *fmt =='-') + { + rightfill = 1; + fmt++; + } + + p = (char *) fmt; + /* Read formatting parameters. */ + while (*p && grub_isdigit (*p)) + p++; + + if (p > fmt) + { + char s[p - fmt + 1]; + grub_strncpy (s, fmt, p - fmt); + s[p - fmt] = 0; + if (s[0] == '0') + zerofill = '0'; + format1 = grub_strtoul (s, 0, 10); + fmt = p; + } + + if (*p && *p == '.') + { + p++; + fmt++; + while (*p && grub_isdigit (*p)) + p++; + + if (p > fmt) + { + char fstr[p - fmt + 1]; + grub_strncpy (fstr, fmt, p - fmt); + fstr[p - fmt] = 0; + format2 = grub_strtoul (fstr, 0, 10); + fmt = p; + } + } + + c = *fmt++; + if (c == 'l') + { + longfmt = 1; + c = *fmt++; + if (c == 'l') + { + longlongfmt = 1; + c = *fmt++; + } + } + + switch (c) + { + case 'p': + write_str ("0x"); + c = 'x'; + longlongfmt |= (sizeof (void *) == sizeof (long long)); + /* Fall through. */ + case 'x': + case 'u': + unsig = 1; + /* Fall through. */ + case 'd': + if (longlongfmt) + { + long long ll; + + ll = va_arg (args, long long); + grub_lltoa (tmp, c, ll); + } + else if (longfmt && unsig) + { + unsigned long l = va_arg (args, unsigned long); + grub_lltoa (tmp, c, l); + } + else if (longfmt) + { + long l = va_arg (args, long); + grub_lltoa (tmp, c, l); + } + else if (unsig) + { + unsigned u = va_arg (args, unsigned); + grub_lltoa (tmp, c, u); + } + else + { + n = va_arg (args, int); + grub_lltoa (tmp, c, n); + } + if (! rightfill && grub_strlen (tmp) < format1) + write_fill (zerofill, format1 - grub_strlen (tmp)); + write_str (tmp); + if (rightfill && grub_strlen (tmp) < format1) + write_fill (zerofill, format1 - grub_strlen (tmp)); + break; + + case 'c': + n = va_arg (args, int); + write_char (n & 0xff); + break; + + case 'C': + { + grub_uint32_t code = va_arg (args, grub_uint32_t); + int shift; + unsigned mask; + + if (code <= 0x7f) + { + shift = 0; + mask = 0; + } + else if (code <= 0x7ff) + { + shift = 6; + mask = 0xc0; + } + else if (code <= 0xffff) + { + shift = 12; + mask = 0xe0; + } + else if (code <= 0x1fffff) + { + shift = 18; + mask = 0xf0; + } + else if (code <= 0x3ffffff) + { + shift = 24; + mask = 0xf8; + } + else if (code <= 0x7fffffff) + { + shift = 30; + mask = 0xfc; + } + else + { + code = '?'; + shift = 0; + mask = 0; + } + + write_char (mask | (code >> shift)); + + for (shift -= 6; shift >= 0; shift -= 6) + write_char (0x80 | (0x3f & (code >> shift))); + } + break; + + case 's': + p = va_arg (args, char *); + if (p) + { + grub_size_t len = 0; + while (len < format2 && p[len]) + len++; + + if (!rightfill && len < format1) + write_fill (zerofill, format1 - len); + + grub_size_t i; + for (i = 0; i < len; i++) + write_char (*p++); + + if (rightfill && len < format1) + write_fill (zerofill, format1 - len); + } + else + write_str ("(null)"); + + break; + + default: + write_char (c); + break; + } + } + } + + *str = '\0'; + + return count; +} + +int +grub_vsnprintf (char *str, grub_size_t n, const char *fmt, va_list ap) +{ + grub_size_t ret; + + if (!n) + return 0; + + n--; + + ret = grub_vsnprintf_real (str, n, fmt, ap); + + return ret < n ? ret : n; +} + +int +grub_snprintf (char *str, grub_size_t n, const char *fmt, ...) +{ + va_list ap; + int ret; + + va_start (ap, fmt); + ret = grub_vsnprintf (str, n, fmt, ap); + va_end (ap); + + return ret; +} + +char * +grub_xvasprintf (const char *fmt, va_list ap) +{ + grub_size_t s, as = PREALLOC_SIZE; + char *ret; + + while (1) + { + va_list ap2; + va_copy (ap2, ap); + ret = grub_malloc (as + 1); + if (!ret) + return NULL; + + s = grub_vsnprintf_real (ret, as, fmt, ap2); + if (s <= as) + return ret; + + grub_free (ret); + as = s; + } +} + +char * +grub_xasprintf (const char *fmt, ...) +{ + va_list ap; + char *ret; + + va_start (ap, fmt); + ret = grub_xvasprintf (fmt, ap); + va_end (ap); + + return ret; +} + +/* Abort GRUB. This function does not return. */ +void +grub_abort (void) +{ + grub_printf ("\nAborted."); + +#ifndef GRUB_UTIL + if (grub_term_inputs) +#endif + { + grub_printf (" Press any key to exit."); + grub_getkey (); + } + + grub_exit (); +} + +#if ! defined (APPLE_CC) && !defined (GRUB_UTIL) +/* GCC emits references to abort(). */ +void abort (void) __attribute__ ((alias ("grub_abort"))); +#endif + +#if NEED_ENABLE_EXECUTE_STACK && !defined(GRUB_UTIL) && !defined(GRUB_MACHINE_EMU) +/* Some gcc versions generate a call to this function + in trampolines for nested functions. */ +void __enable_execute_stack (void *addr __attribute__ ((unused))) +{ +} +#endif + +#if NEED_REGISTER_FRAME_INFO && !defined(GRUB_UTIL) +void __register_frame_info (void) +{ +} + +void __deregister_frame_info (void) +{ +} +#endif + diff --git a/grub-core/kern/mm.c b/grub-core/kern/mm.c new file mode 100644 index 0000000..d54f3f2 --- /dev/null +++ b/grub-core/kern/mm.c @@ -0,0 +1,572 @@ +/* mm.c - functions for memory manager */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* + The design of this memory manager. + + This is a simple implementation of malloc with a few extensions. These are + the extensions: + + - memalign is implemented efficiently. + + - multiple regions may be used as free space. They may not be + contiguous. + + Regions are managed by a singly linked list, and the meta information is + stored in the beginning of each region. Space after the meta information + is used to allocate memory. + + The memory space is used as cells instead of bytes for simplicity. This + is important for some CPUs which may not access multiple bytes at a time + when the first byte is not aligned at a certain boundary (typically, + 4-byte or 8-byte). The size of each cell is equal to the size of struct + grub_mm_header, so the header of each allocated/free block fits into one + cell precisely. One cell is 16 bytes on 32-bit platforms and 32 bytes + on 64-bit platforms. + + There are two types of blocks: allocated blocks and free blocks. + + In allocated blocks, the header of each block has only its size. Note that + this size is based on cells but not on bytes. The header is located right + before the returned pointer, that is, the header resides at the previous + cell. + + Free blocks constitutes a ring, using a singly linked list. The first free + block is pointed to by the meta information of a region. The allocator + attempts to pick up the second block instead of the first one. This is + a typical optimization against defragmentation, and makes the + implementation a bit easier. + + For safety, both allocated blocks and free ones are marked by magic + numbers. Whenever anything unexpected is detected, GRUB aborts the + operation. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef MM_DEBUG +# undef grub_malloc +# undef grub_zalloc +# undef grub_realloc +# undef grub_free +# undef grub_memalign +#endif + + + +grub_mm_region_t grub_mm_base; + +/* Get a header from the pointer PTR, and set *P and *R to a pointer + to the header and a pointer to its region, respectively. PTR must + be allocated. */ +static void +get_header_from_pointer (void *ptr, grub_mm_header_t *p, grub_mm_region_t *r) +{ + if ((grub_addr_t) ptr & (GRUB_MM_ALIGN - 1)) + grub_fatal ("unaligned pointer %p", ptr); + + for (*r = grub_mm_base; *r; *r = (*r)->next) + if ((grub_addr_t) ptr > (grub_addr_t) ((*r) + 1) + && (grub_addr_t) ptr <= (grub_addr_t) ((*r) + 1) + (*r)->size) + break; + + if (! *r) + grub_fatal ("out of range pointer %p", ptr); + + *p = (grub_mm_header_t) ptr - 1; + if ((*p)->magic != GRUB_MM_ALLOC_MAGIC) + grub_fatal ("alloc magic is broken at %p", *p); +} + +/* Initialize a region starting from ADDR and whose size is SIZE, + to use it as free space. */ +void +grub_mm_init_region (void *addr, grub_size_t size) +{ + grub_mm_header_t h; + grub_mm_region_t r, *p, q; + +#if 0 + grub_printf ("Using memory for heap: start=%p, end=%p\n", addr, addr + (unsigned int) size); +#endif + + /* Allocate a region from the head. */ + r = (grub_mm_region_t) ALIGN_UP ((grub_addr_t) addr, GRUB_MM_ALIGN); + size -= (char *) r - (char *) addr + sizeof (*r); + + /* If this region is too small, ignore it. */ + if (size < GRUB_MM_ALIGN) + return; + + h = (grub_mm_header_t) (r + 1); + h->next = h; + h->magic = GRUB_MM_FREE_MAGIC; + h->size = (size >> GRUB_MM_ALIGN_LOG2); + + r->first = h; + r->pre_size = (grub_addr_t) r - (grub_addr_t) addr; + r->size = (h->size << GRUB_MM_ALIGN_LOG2); + + /* Find where to insert this region. Put a smaller one before bigger ones, + to prevent fragmentation. */ + for (p = &grub_mm_base, q = *p; q; p = &(q->next), q = *p) + if (q->size > r->size) + break; + + *p = r; + r->next = q; +} + +/* Allocate the number of units N with the alignment ALIGN from the ring + buffer starting from *FIRST. ALIGN must be a power of two. Both N and + ALIGN are in units of GRUB_MM_ALIGN. Return a non-NULL if successful, + otherwise return NULL. */ +static void * +grub_real_malloc (grub_mm_header_t *first, grub_size_t n, grub_size_t align) +{ + grub_mm_header_t p, q; + + /* When everything is allocated side effect is that *first will have alloc + magic marked, meaning that there is no room in this region. */ + if ((*first)->magic == GRUB_MM_ALLOC_MAGIC) + return 0; + + /* Try to search free slot for allocation in this memory region. */ + for (q = *first, p = q->next; ; q = p, p = p->next) + { + grub_off_t extra; + + extra = ((grub_addr_t) (p + 1) >> GRUB_MM_ALIGN_LOG2) % align; + if (extra) + extra = align - extra; + + if (! p) + grub_fatal ("null in the ring"); + + if (p->magic != GRUB_MM_FREE_MAGIC) + grub_fatal ("free magic is broken at %p: 0x%x", p, p->magic); + + if (p->size >= n + extra) + { + extra += (p->size - extra - n) & (~(align - 1)); + if (extra == 0 && p->size == n) + { + /* There is no special alignment requirement and memory block + is complete match. + + 1. Just mark memory block as allocated and remove it from + free list. + + Result: + +---------------+ previous block's next + | alloc, size=n | | + +---------------+ v + */ + q->next = p->next; + } + else if (align == 1 || p->size == n + extra) + { + /* There might be alignment requirement, when taking it into + account memory block fits in. + + 1. Allocate new area at end of memory block. + 2. Reduce size of available blocks from original node. + 3. Mark new area as allocated and "remove" it from free + list. + + Result: + +---------------+ + | free, size-=n | next --+ + +---------------+ | + | alloc, size=n | | + +---------------+ v + */ + + p->size -= n; + p += p->size; + } + else if (extra == 0) + { + grub_mm_header_t r; + + r = p + extra + n; + r->magic = GRUB_MM_FREE_MAGIC; + r->size = p->size - extra - n; + r->next = p->next; + q->next = r; + + if (q == p) + { + q = r; + r->next = r; + } + } + else + { + /* There is alignment requirement and there is room in memory + block. Split memory block to three pieces. + + 1. Create new memory block right after section being + allocated. Mark it as free. + 2. Add new memory block to free chain. + 3. Mark current memory block having only extra blocks. + 4. Advance to aligned block and mark that as allocated and + "remove" it from free list. + + Result: + +------------------------------+ + | free, size=extra | next --+ + +------------------------------+ | + | alloc, size=n | | + +------------------------------+ | + | free, size=orig.size-extra-n | <------+, next --+ + +------------------------------+ v + */ + grub_mm_header_t r; + + r = p + extra + n; + r->magic = GRUB_MM_FREE_MAGIC; + r->size = p->size - extra - n; + r->next = p; + + p->size = extra; + q->next = r; + p += extra; + } + + p->magic = GRUB_MM_ALLOC_MAGIC; + p->size = n; + + /* Mark find as a start marker for next allocation to fasten it. + This will have side effect of fragmenting memory as small + pieces before this will be un-used. */ + *first = q; + + return p + 1; + } + + /* Search was completed without result. */ + if (p == *first) + break; + } + + return 0; +} + +/* Allocate SIZE bytes with the alignment ALIGN and return the pointer. */ +void * +grub_memalign (grub_size_t align, grub_size_t size) +{ + grub_mm_region_t r; + grub_size_t n = ((size + GRUB_MM_ALIGN - 1) >> GRUB_MM_ALIGN_LOG2) + 1; + int count = 0; + + if (!grub_mm_base) + goto fail; + + align = (align >> GRUB_MM_ALIGN_LOG2); + if (align == 0) + align = 1; + + again: + + for (r = grub_mm_base; r; r = r->next) + { + void *p; + + p = grub_real_malloc (&(r->first), n, align); + if (p) + return p; + } + + /* If failed, increase free memory somehow. */ + switch (count) + { + case 0: + /* Invalidate disk caches. */ + grub_disk_cache_invalidate_all (); + count++; + goto again; + +#if 0 + case 1: + /* Unload unneeded modules. */ + grub_dl_unload_unneeded (); + count++; + goto again; +#endif + + default: + break; + } + + fail: + grub_error (GRUB_ERR_OUT_OF_MEMORY, "out of memory"); + return 0; +} + +/* Allocate SIZE bytes and return the pointer. */ +void * +grub_malloc (grub_size_t size) +{ + return grub_memalign (0, size); +} + +/* Allocate SIZE bytes, clear them and return the pointer. */ +void * +grub_zalloc (grub_size_t size) +{ + void *ret; + + ret = grub_memalign (0, size); + if (ret) + grub_memset (ret, 0, size); + + return ret; +} + +/* Deallocate the pointer PTR. */ +void +grub_free (void *ptr) +{ + grub_mm_header_t p; + grub_mm_region_t r; + + if (! ptr) + return; + + get_header_from_pointer (ptr, &p, &r); + + if (r->first->magic == GRUB_MM_ALLOC_MAGIC) + { + p->magic = GRUB_MM_FREE_MAGIC; + r->first = p->next = p; + } + else + { + grub_mm_header_t q; + +#if 0 + q = r->first; + do + { + grub_printf ("%s:%d: q=%p, q->size=0x%x, q->magic=0x%x\n", + GRUB_FILE, __LINE__, q, q->size, q->magic); + q = q->next; + } + while (q != r->first); +#endif + + for (q = r->first; q >= p || q->next <= p; q = q->next) + { + if (q->magic != GRUB_MM_FREE_MAGIC) + grub_fatal ("free magic is broken at %p: 0x%x", q, q->magic); + + if (q >= q->next && (q < p || q->next > p)) + break; + } + + p->magic = GRUB_MM_FREE_MAGIC; + p->next = q->next; + q->next = p; + + if (p + p->size == p->next) + { + if (p->next == q) + q = p; + + p->next->magic = 0; + p->size += p->next->size; + p->next = p->next->next; + } + + if (q + q->size == p) + { + p->magic = 0; + q->size += p->size; + q->next = p->next; + } + + r->first = q; + } +} + +/* Reallocate SIZE bytes and return the pointer. The contents will be + the same as that of PTR. */ +void * +grub_realloc (void *ptr, grub_size_t size) +{ + grub_mm_header_t p; + grub_mm_region_t r; + void *q; + grub_size_t n; + + if (! ptr) + return grub_malloc (size); + + if (! size) + { + grub_free (ptr); + return 0; + } + + /* FIXME: Not optimal. */ + n = ((size + GRUB_MM_ALIGN - 1) >> GRUB_MM_ALIGN_LOG2) + 1; + get_header_from_pointer (ptr, &p, &r); + + if (p->size >= n) + return ptr; + + q = grub_malloc (size); + if (! q) + return q; + + grub_memcpy (q, ptr, size); + grub_free (ptr); + return q; +} + +#ifdef MM_DEBUG +int grub_mm_debug = 0; + +void +grub_mm_dump_free (void) +{ + grub_mm_region_t r; + + for (r = grub_mm_base; r; r = r->next) + { + grub_mm_header_t p; + + /* Follow the free list. */ + p = r->first; + do + { + if (p->magic != GRUB_MM_FREE_MAGIC) + grub_fatal ("free magic is broken at %p: 0x%x", p, p->magic); + + grub_printf ("F:%p:%u:%p\n", + p, (unsigned int) p->size << GRUB_MM_ALIGN_LOG2, p->next); + p = p->next; + } + while (p != r->first); + } + + grub_printf ("\n"); +} + +void +grub_mm_dump (unsigned lineno) +{ + grub_mm_region_t r; + + grub_printf ("called at line %u\n", lineno); + for (r = grub_mm_base; r; r = r->next) + { + grub_mm_header_t p; + + for (p = (grub_mm_header_t) ALIGN_UP ((grub_addr_t) (r + 1), + GRUB_MM_ALIGN); + (grub_addr_t) p < (grub_addr_t) (r+1) + r->size; + p++) + { + switch (p->magic) + { + case GRUB_MM_FREE_MAGIC: + grub_printf ("F:%p:%u:%p\n", + p, (unsigned int) p->size << GRUB_MM_ALIGN_LOG2, p->next); + break; + case GRUB_MM_ALLOC_MAGIC: + grub_printf ("A:%p:%u\n", p, (unsigned int) p->size << GRUB_MM_ALIGN_LOG2); + break; + } + } + } + + grub_printf ("\n"); +} + +void * +grub_debug_malloc (const char *file, int line, grub_size_t size) +{ + void *ptr; + + if (grub_mm_debug) + grub_printf ("%s:%d: malloc (0x%zx) = ", file, line, size); + ptr = grub_malloc (size); + if (grub_mm_debug) + grub_printf ("%p\n", ptr); + return ptr; +} + +void * +grub_debug_zalloc (const char *file, int line, grub_size_t size) +{ + void *ptr; + + if (grub_mm_debug) + grub_printf ("%s:%d: zalloc (0x%zx) = ", file, line, size); + ptr = grub_zalloc (size); + if (grub_mm_debug) + grub_printf ("%p\n", ptr); + return ptr; +} + +void +grub_debug_free (const char *file, int line, void *ptr) +{ + if (grub_mm_debug) + grub_printf ("%s:%d: free (%p)\n", file, line, ptr); + grub_free (ptr); +} + +void * +grub_debug_realloc (const char *file, int line, void *ptr, grub_size_t size) +{ + if (grub_mm_debug) + grub_printf ("%s:%d: realloc (%p, 0x%zx) = ", file, line, ptr, size); + ptr = grub_realloc (ptr, size); + if (grub_mm_debug) + grub_printf ("%p\n", ptr); + return ptr; +} + +void * +grub_debug_memalign (const char *file, int line, grub_size_t align, + grub_size_t size) +{ + void *ptr; + + if (grub_mm_debug) + grub_printf ("%s:%d: memalign (0x%zx, 0x%zx) = ", + file, line, align, size); + ptr = grub_memalign (align, size); + if (grub_mm_debug) + grub_printf ("%p\n", ptr); + return ptr; +} + +#endif /* MM_DEBUG */ diff --git a/grub-core/kern/parser.c b/grub-core/kern/parser.c new file mode 100644 index 0000000..6370a7b --- /dev/null +++ b/grub-core/kern/parser.c @@ -0,0 +1,267 @@ +/* parser.c - the part of the parser that can return partial tokens */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + + +/* All the possible state transitions on the command line. If a + transition can not be found, it is assumed that there is no + transition and keep_value is assumed to be 1. */ +static struct grub_parser_state_transition state_transitions[] = { + {GRUB_PARSER_STATE_TEXT, GRUB_PARSER_STATE_QUOTE, '\'', 0}, + {GRUB_PARSER_STATE_TEXT, GRUB_PARSER_STATE_DQUOTE, '\"', 0}, + {GRUB_PARSER_STATE_TEXT, GRUB_PARSER_STATE_VAR, '$', 0}, + {GRUB_PARSER_STATE_TEXT, GRUB_PARSER_STATE_ESC, '\\', 0}, + + {GRUB_PARSER_STATE_ESC, GRUB_PARSER_STATE_TEXT, 0, 1}, + + {GRUB_PARSER_STATE_QUOTE, GRUB_PARSER_STATE_TEXT, '\'', 0}, + + {GRUB_PARSER_STATE_DQUOTE, GRUB_PARSER_STATE_TEXT, '\"', 0}, + {GRUB_PARSER_STATE_DQUOTE, GRUB_PARSER_STATE_QVAR, '$', 0}, + + {GRUB_PARSER_STATE_VAR, GRUB_PARSER_STATE_VARNAME2, '{', 0}, + {GRUB_PARSER_STATE_VAR, GRUB_PARSER_STATE_VARNAME, 0, 1}, + {GRUB_PARSER_STATE_VARNAME, GRUB_PARSER_STATE_TEXT, ' ', 1}, + {GRUB_PARSER_STATE_VARNAME2, GRUB_PARSER_STATE_TEXT, '}', 0}, + + {GRUB_PARSER_STATE_QVAR, GRUB_PARSER_STATE_QVARNAME2, '{', 0}, + {GRUB_PARSER_STATE_QVAR, GRUB_PARSER_STATE_QVARNAME, 0, 1}, + {GRUB_PARSER_STATE_QVARNAME, GRUB_PARSER_STATE_TEXT, '\"', 0}, + {GRUB_PARSER_STATE_QVARNAME, GRUB_PARSER_STATE_DQUOTE, ' ', 1}, + {GRUB_PARSER_STATE_QVARNAME2, GRUB_PARSER_STATE_DQUOTE, '}', 0}, + + {0, 0, 0, 0} +}; + + +/* Determines the state following STATE, determined by C. */ +grub_parser_state_t +grub_parser_cmdline_state (grub_parser_state_t state, char c, char *result) +{ + struct grub_parser_state_transition *transition; + struct grub_parser_state_transition default_transition; + + default_transition.to_state = state; + default_transition.keep_value = 1; + + /* Look for a good translation. */ + for (transition = state_transitions; transition->from_state; transition++) + { + if (transition->from_state != state) + continue; + /* An exact match was found, use it. */ + if (transition->input == c) + break; + + if (transition->input == ' ' && !grub_isalpha (c) + && !grub_isdigit (c) && c != '_') + break; + + /* A less perfect match was found, use this one if no exact + match can be found. */ + if (transition->input == 0) + break; + } + + if (!transition->from_state) + transition = &default_transition; + + if (transition->keep_value) + *result = c; + else + *result = 0; + return transition->to_state; +} + + +grub_err_t +grub_parser_split_cmdline (const char *cmdline, grub_reader_getline_t getline, + int *argc, char ***argv) +{ + grub_parser_state_t state = GRUB_PARSER_STATE_TEXT; + /* XXX: Fixed size buffer, perhaps this buffer should be dynamically + allocated. */ + char buffer[1024]; + char *bp = buffer; + char *rd = (char *) cmdline; + char varname[200]; + char *vp = varname; + char *args; + int i; + + auto int check_varstate (grub_parser_state_t s); + + int check_varstate (grub_parser_state_t s) + { + return (s == GRUB_PARSER_STATE_VARNAME + || s == GRUB_PARSER_STATE_VARNAME2 + || s == GRUB_PARSER_STATE_QVARNAME + || s == GRUB_PARSER_STATE_QVARNAME2); + } + + auto void add_var (grub_parser_state_t newstate); + + void add_var (grub_parser_state_t newstate) + { + char *val; + + /* Check if a variable was being read in and the end of the name + was reached. */ + if (!(check_varstate (state) && !check_varstate (newstate))) + return; + + *(vp++) = '\0'; + val = grub_env_get (varname); + vp = varname; + if (!val) + return; + + /* Insert the contents of the variable in the buffer. */ + for (; *val; val++) + *(bp++) = *val; + } + + *argc = 0; + do + { + if (!rd || !*rd) + { + if (getline) + getline (&rd, 1); + else + break; + } + + if (!rd) + break; + + for (; *rd; rd++) + { + grub_parser_state_t newstate; + char use; + + newstate = grub_parser_cmdline_state (state, *rd, &use); + + /* If a variable was being processed and this character does + not describe the variable anymore, write the variable to + the buffer. */ + add_var (newstate); + + if (check_varstate (newstate)) + { + if (use) + *(vp++) = use; + } + else + { + if (newstate == GRUB_PARSER_STATE_TEXT + && state != GRUB_PARSER_STATE_ESC && use == ' ') + { + /* Don't add more than one argument if multiple + spaces are used. */ + if (bp != buffer && *(bp - 1)) + { + *(bp++) = '\0'; + (*argc)++; + } + } + else if (use) + *(bp++) = use; + } + state = newstate; + } + } + while (state != GRUB_PARSER_STATE_TEXT && !check_varstate (state)); + + /* A special case for when the last character was part of a + variable. */ + add_var (GRUB_PARSER_STATE_TEXT); + + if (bp != buffer && *(bp - 1)) + { + *(bp++) = '\0'; + (*argc)++; + } + + /* Reserve memory for the return values. */ + args = grub_malloc (bp - buffer); + if (!args) + return grub_errno; + grub_memcpy (args, buffer, bp - buffer); + + *argv = grub_malloc (sizeof (char *) * (*argc + 1)); + if (!*argv) + { + grub_free (args); + return grub_errno; + } + + /* The arguments are separated with 0's, setup argv so it points to + the right values. */ + bp = args; + for (i = 0; i < *argc; i++) + { + (*argv)[i] = bp; + while (*bp) + bp++; + bp++; + } + + return 0; +} + +grub_err_t +grub_parser_execute (char *source) +{ + auto grub_err_t getline (char **line, int cont); + grub_err_t getline (char **line, int cont __attribute__ ((unused))) + { + char *p; + + if (!source) + { + *line = 0; + return 0; + } + + p = grub_strchr (source, '\n'); + + if (p) + *line = grub_strndup (source, p - source); + else + *line = grub_strdup (source); + source = p ? p + 1 : 0; + return 0; + } + + while (source) + { + char *line; + + getline (&line, 0); + grub_rescue_parse_line (line, getline); + grub_free (line); + } + + return grub_errno; +} diff --git a/grub-core/kern/partition.c b/grub-core/kern/partition.c new file mode 100644 index 0000000..a2f5dd7 --- /dev/null +++ b/grub-core/kern/partition.c @@ -0,0 +1,253 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +#ifdef GRUB_UTIL +#include +#endif + +grub_partition_map_t grub_partition_map_list; + +/* + * Checks that disk->partition contains part. This function assumes that the + * start of part is relative to the start of disk->partition. Returns 1 if + * disk->partition is null. + */ +static int +grub_partition_check_containment (const grub_disk_t disk, + const grub_partition_t part) +{ + if (disk->partition == NULL) + return 1; + + if (part->start + part->len > disk->partition->len) + { + char *partname; + + partname = grub_partition_get_name (disk->partition); + grub_dprintf ("partition", "sub-partition %s%d of (%s,%s) ends after parent.\n", + part->partmap->name, part->number + 1, disk->name, partname); +#ifdef GRUB_UTIL + grub_util_warn ("Discarding improperly nested partition (%s,%s,%s%d)", + disk->name, partname, part->partmap->name, part->number + 1); +#endif + grub_free (partname); + + return 0; + } + + return 1; +} + +static grub_partition_t +grub_partition_map_probe (const grub_partition_map_t partmap, + grub_disk_t disk, int partnum) +{ + grub_partition_t p = 0; + + auto int find_func (grub_disk_t d, const grub_partition_t partition); + + int find_func (grub_disk_t dsk, + const grub_partition_t partition) + { + if (partnum != partition->number) + return 0; + + if (!(grub_partition_check_containment (dsk, partition))) + return 0; + + p = (grub_partition_t) grub_malloc (sizeof (*p)); + if (! p) + return 1; + + grub_memcpy (p, partition, sizeof (*p)); + return 1; + } + + partmap->iterate (disk, find_func); + if (grub_errno) + goto fail; + + return p; + + fail: + grub_free (p); + return 0; +} + +grub_partition_t +grub_partition_probe (struct grub_disk *disk, const char *str) +{ + grub_partition_t part = 0; + grub_partition_t curpart = 0; + grub_partition_t tail; + const char *ptr; + + part = tail = disk->partition; + + for (ptr = str; *ptr;) + { + grub_partition_map_t partmap; + int num; + const char *partname, *partname_end; + + partname = ptr; + while (*ptr && grub_isalpha (*ptr)) + ptr++; + partname_end = ptr; + num = grub_strtoul (ptr, (char **) &ptr, 0) - 1; + + curpart = 0; + /* Use the first partition map type found. */ + FOR_PARTITION_MAPS(partmap) + { + if (partname_end != partname && + (grub_strncmp (partmap->name, partname, partname_end - partname) + != 0 || partmap->name[partname_end - partname] != 0)) + continue; + + disk->partition = part; + curpart = grub_partition_map_probe (partmap, disk, num); + disk->partition = tail; + if (curpart) + break; + + if (grub_errno == GRUB_ERR_BAD_PART_TABLE) + { + /* Continue to next partition map type. */ + grub_errno = GRUB_ERR_NONE; + continue; + } + + break; + } + + if (! curpart) + { + while (part) + { + curpart = part->parent; + grub_free (part); + part = curpart; + } + return 0; + } + curpart->parent = part; + part = curpart; + if (! ptr || *ptr != ',') + break; + ptr++; + } + + return part; +} + +int +grub_partition_iterate (struct grub_disk *disk, + int (*hook) (grub_disk_t disk, + const grub_partition_t partition)) +{ + int ret = 0; + + auto int part_iterate (grub_disk_t dsk, const grub_partition_t p); + + int part_iterate (grub_disk_t dsk, + const grub_partition_t partition) + { + struct grub_partition p = *partition; + + if (!(grub_partition_check_containment (dsk, partition))) + return 0; + + p.parent = dsk->partition; + dsk->partition = 0; + if (hook (dsk, &p)) + { + ret = 1; + return 1; + } + if (p.start != 0) + { + const struct grub_partition_map *partmap; + dsk->partition = &p; + FOR_PARTITION_MAPS(partmap) + { + grub_err_t err; + err = partmap->iterate (dsk, part_iterate); + if (err) + grub_errno = GRUB_ERR_NONE; + if (ret) + break; + } + } + dsk->partition = p.parent; + return ret; + } + + { + const struct grub_partition_map *partmap; + FOR_PARTITION_MAPS(partmap) + { + grub_err_t err; + err = partmap->iterate (disk, part_iterate); + if (err) + grub_errno = GRUB_ERR_NONE; + if (ret) + break; + } + } + + return ret; +} + +char * +grub_partition_get_name (const grub_partition_t partition) +{ + char *out = 0; + int curlen = 0; + grub_partition_t part; + for (part = partition; part; part = part->parent) + { + /* Even on 64-bit machines this buffer is enough to hold + longest number. */ + char buf[grub_strlen (part->partmap->name) + 25]; + int strl; + grub_snprintf (buf, sizeof (buf), "%s%d", part->partmap->name, + part->number + 1); + strl = grub_strlen (buf); + if (curlen) + { + out = grub_realloc (out, curlen + strl + 2); + grub_memcpy (out + strl + 1, out, curlen); + out[curlen + 1 + strl] = 0; + grub_memcpy (out, buf, strl); + out[strl] = ','; + curlen = curlen + 1 + strl; + } + else + { + curlen = strl; + out = grub_strdup (buf); + } + } + return out; +} diff --git a/grub-core/kern/powerpc/cache.S b/grub-core/kern/powerpc/cache.S new file mode 100644 index 0000000..d85e68d --- /dev/null +++ b/grub-core/kern/powerpc/cache.S @@ -0,0 +1,26 @@ +/* cache.S - Flush the processor cache for a specific region. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2007,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + + .text + + .align 2 + .globl grub_arch_sync_caches +grub_arch_sync_caches: +#include "cache_flush.S" + blr diff --git a/grub-core/kern/powerpc/cache_flush.S b/grub-core/kern/powerpc/cache_flush.S new file mode 100644 index 0000000..1410f78 --- /dev/null +++ b/grub-core/kern/powerpc/cache_flush.S @@ -0,0 +1,43 @@ +/* cache.S - Flush the processor cache for a specific region. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2004,2007,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#undef CACHE_LINE_BYTES +#define CACHE_LINE_BYTES 32 + + /* `address' may not be CACHE_LINE_BYTES-aligned. */ + andi. 6, 3, CACHE_LINE_BYTES - 1 /* Find the misalignment. */ + add 4, 4, 6 /* Adjust `size' to compensate. */ + + /* Force the dcache lines to memory. */ + li 5, 0 +1: dcbst 5, 3 + addi 5, 5, CACHE_LINE_BYTES + cmpw 5, 4 + blt 1b + sync /* Force all dcbsts to complete. */ + + /* Invalidate the icache lines. */ + li 5, 0 +1: icbi 5, 3 + addi 5, 5, CACHE_LINE_BYTES + cmpw 5, 4 + blt 1b + sync /* Force all icbis to complete. */ + isync /* Discard partially executed instructions that were + loaded from the invalid icache. */ diff --git a/grub-core/kern/powerpc/dl.c b/grub-core/kern/powerpc/dl.c new file mode 100644 index 0000000..ad19e56 --- /dev/null +++ b/grub-core/kern/powerpc/dl.c @@ -0,0 +1,136 @@ +/* dl.c - arch-dependent part of loadable module support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2004,2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* Check if EHDR is a valid ELF header. */ +grub_err_t +grub_arch_dl_check_header (void *ehdr) +{ + Elf_Ehdr *e = ehdr; + + /* Check the magic numbers. */ + if (e->e_ident[EI_CLASS] != ELFCLASS32 + || e->e_ident[EI_DATA] != ELFDATA2MSB + || e->e_machine != EM_PPC) + return grub_error (GRUB_ERR_BAD_OS, "invalid arch specific ELF magic"); + + return GRUB_ERR_NONE; +} + + +/* Relocate symbols. */ +grub_err_t +grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) +{ + Elf_Ehdr *e = ehdr; + Elf_Shdr *s; + Elf_Word entsize; + unsigned i; + + /* Find a symbol table. */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no symtab found"); + + entsize = s->sh_entsize; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_RELA) + { + grub_dl_segment_t seg; + + /* Find the target segment. */ + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf_Rela *rel, *max; + + for (rel = (Elf_Rela *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + { + Elf_Word *addr; + Elf_Sym *sym; + grub_uint32_t value; + + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr = (Elf_Word *) ((char *) seg->addr + rel->r_offset); + sym = (Elf_Sym *) ((char *) mod->symtab + + entsize * ELF_R_SYM (rel->r_info)); + + /* On the PPC the value does not have an explicit + addend, add it. */ + value = sym->st_value + rel->r_addend; + switch (ELF_R_TYPE (rel->r_info)) + { + case R_PPC_ADDR16_LO: + *(Elf_Half *) addr = value; + break; + + case R_PPC_REL24: + { + Elf_Sword delta = value - (Elf_Word) addr; + + if (delta << 6 >> 6 != delta) + return grub_error (GRUB_ERR_BAD_MODULE, "relocation overflow"); + *addr = (*addr & 0xfc000003) | (delta & 0x3fffffc); + break; + } + + case R_PPC_ADDR16_HA: + *(Elf_Half *) addr = (value + 0x8000) >> 16; + break; + + case R_PPC_ADDR32: + *addr = value; + break; + + case R_PPC_REL32: + *addr = value - (Elf_Word) addr; + break; + + default: + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "this relocation (%d) is not implemented yet", + ELF_R_TYPE (rel->r_info)); + } + } + } + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/kern/powerpc/ieee1275/startup.S b/grub-core/kern/powerpc/ieee1275/startup.S new file mode 100644 index 0000000..0b1c233 --- /dev/null +++ b/grub-core/kern/powerpc/ieee1275/startup.S @@ -0,0 +1,64 @@ +/* startup.S - Startup code for the PowerPC. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +.extern __bss_start +.extern _end + + .text + .align 2 + .globl start, _start +start: +_start: + b codestart + + . = _start + GRUB_KERNEL_MACHINE_PREFIX + +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + GRUB_KERNEL_MACHINE_PREFIX_END + +codestart: + li 2, 0 + li 13, 0 + + /* Stage1 won't zero BSS for us. In other cases, why not do it again? */ + lis 6, (__bss_start - 4)@h + ori 6, 6, (__bss_start - 4)@l + lis 7, (_end - 4)@h + ori 7, 7, (_end - 4)@l + subf 7, 6, 7 + srwi 7, 7, 2 /* We store 4 bytes at a time. */ + mtctr 7 +2: stwu 2, 4(6) /* We know r2 is already 0 from above. */ + bdnz 2b + + /* Store r5 in grub_ieee1275_entry_fn. */ + lis 9, grub_ieee1275_entry_fn@ha + stw 5, grub_ieee1275_entry_fn@l(9) + + bl grub_main +1: b 1b diff --git a/grub-core/kern/rescue_parser.c b/grub-core/kern/rescue_parser.c new file mode 100644 index 0000000..9c85ba6 --- /dev/null +++ b/grub-core/kern/rescue_parser.c @@ -0,0 +1,76 @@ +/* rescue_parser.c - rescue mode parser */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +grub_err_t +grub_rescue_parse_line (char *line, grub_reader_getline_t getline) +{ + char *name; + int n; + grub_command_t cmd; + char **args; + + if (grub_parser_split_cmdline (line, getline, &n, &args) || n < 0) + return grub_errno; + + if (n == 0) + return GRUB_ERR_NONE; + + /* In case of an assignment set the environment accordingly + instead of calling a function. */ + if (n == 1 && grub_strchr (line, '=')) + { + char *val = grub_strchr (args[0], '='); + val[0] = 0; + grub_env_set (args[0], val + 1); + val[0] = '='; + goto quit; + } + + /* Get the command name. */ + name = args[0]; + + /* If nothing is specified, restart. */ + if (*name == '\0') + goto quit; + + cmd = grub_command_find (name); + if (cmd) + { + (cmd->func) (cmd, n - 1, &args[1]); + } + else + { + grub_printf ("Unknown command `%s'\n", name); + if (grub_command_find ("help")) + grub_printf ("Try `help' for usage\n"); + } + + quit: + grub_free (args[0]); + grub_free (args); + + return grub_errno; +} diff --git a/grub-core/kern/rescue_reader.c b/grub-core/kern/rescue_reader.c new file mode 100644 index 0000000..a810085 --- /dev/null +++ b/grub-core/kern/rescue_reader.c @@ -0,0 +1,97 @@ +/* rescue_reader.c - rescue mode reader */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +#define GRUB_RESCUE_BUF_SIZE 256 + +static char linebuf[GRUB_RESCUE_BUF_SIZE]; + +/* Prompt to input a command and read the line. */ +static grub_err_t +grub_rescue_read_line (char **line, int cont) +{ + int c; + int pos = 0; + char str[4]; + + grub_printf ((cont) ? "> " : "grub rescue> "); + grub_memset (linebuf, 0, GRUB_RESCUE_BUF_SIZE); + + while ((c = grub_getkey ()) != '\n' && c != '\r') + { + if (grub_isprint (c)) + { + if (pos < GRUB_RESCUE_BUF_SIZE - 1) + { + str[0] = c; + str[1] = 0; + linebuf[pos++] = c; + grub_xputs (str); + } + } + else if (c == '\b') + { + if (pos > 0) + { + str[0] = c; + str[1] = ' '; + str[2] = c; + str[3] = 0; + linebuf[--pos] = 0; + grub_xputs (str); + } + } + grub_refresh (); + } + + grub_xputs ("\n"); + grub_refresh (); + + *line = grub_strdup (linebuf); + + return 0; +} + +void +grub_rescue_run (void) +{ + grub_printf ("Entering rescue mode...\n"); + + while (1) + { + char *line; + + /* Print an error, if any. */ + grub_print_error (); + grub_errno = GRUB_ERR_NONE; + + grub_rescue_read_line (&line, 0); + if (! line || line[0] == '\0') + continue; + + grub_rescue_parse_line (line, grub_rescue_read_line); + grub_free (line); + } +} diff --git a/grub-core/kern/sparc64/cache.S b/grub-core/kern/sparc64/cache.S new file mode 100644 index 0000000..1a16add --- /dev/null +++ b/grub-core/kern/sparc64/cache.S @@ -0,0 +1,41 @@ +/* cache.S - Flush the processor cache for a specific region. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + + .file "cache.S" + + .text + +/* + * void grub_arch_sync_caches (void *address, grub_size_t len) + */ +FUNCTION(grub_arch_sync_caches) + brz,pn %o1, 2f + add %o0, %o1, %o1 + add %o1, 7, %o1 + andn %o1, 7, %o1 + andn %o0, 7, %o0 + sub %o1, %o0, %o1 +1: subcc %o1, 8, %o1 + bne,pt %icc, 1b + flush %o0 + %o1 +2: retl + nop + diff --git a/grub-core/kern/sparc64/dl.c b/grub-core/kern/sparc64/dl.c new file mode 100644 index 0000000..7b6266c --- /dev/null +++ b/grub-core/kern/sparc64/dl.c @@ -0,0 +1,142 @@ +/* dl.c - arch-dependent part of loadable module support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2004,2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* Check if EHDR is a valid ELF header. */ +grub_err_t +grub_arch_dl_check_header (void *ehdr) +{ + Elf_Ehdr *e = ehdr; + + /* Check the magic numbers. */ + if (e->e_ident[EI_CLASS] != ELFCLASS64 + || e->e_ident[EI_DATA] != ELFDATA2MSB + || e->e_machine != EM_SPARCV9) + return grub_error (GRUB_ERR_BAD_OS, "invalid arch specific ELF magic"); + + return GRUB_ERR_NONE; +} + + +/* Relocate symbols. */ +grub_err_t +grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) +{ + Elf_Ehdr *e = ehdr; + Elf_Shdr *s; + Elf_Word entsize; + unsigned i; + + /* Find a symbol table. */ + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no symtab found"); + + entsize = s->sh_entsize; + + for (i = 0, s = (Elf_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_RELA) + { + grub_dl_segment_t seg; + + /* Find the target segment. */ + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf_Rela *rel, *max; + + for (rel = (Elf_Rela *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + { + Elf_Word *addr; + Elf_Sym *sym; + Elf_Addr value; + + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr = (Elf_Word *) ((char *) seg->addr + rel->r_offset); + sym = (Elf_Sym *) ((char *) mod->symtab + + entsize * ELF_R_SYM (rel->r_info)); + + value = sym->st_value + rel->r_addend; + switch (ELF_R_TYPE (rel->r_info) & 0xff) + { + case R_SPARC_32: /* 3 V-word32 */ + if (value & 0xFFFFFFFF00000000) + return grub_error (GRUB_ERR_BAD_MODULE, + "address out of 32 bits range"); + *addr = value; + break; + case R_SPARC_WDISP30: /* 7 V-disp30 */ + if (((value - (Elf_Addr) addr) & 0xFFFFFFFF00000000) && + (((value - (Elf_Addr) addr) & 0xFFFFFFFF00000000) + != 0xFFFFFFFF00000000)) + return grub_error (GRUB_ERR_BAD_MODULE, + "displacement out of 30 bits range"); + *addr = (*addr & 0xC0000000) | + (((grub_int32_t) ((value - (Elf_Addr) addr) >> 2)) & + 0x3FFFFFFF); + break; + case R_SPARC_HI22: /* 9 V-imm22 */ + if (((grub_int32_t) value) & 0xFF00000000) + return grub_error (GRUB_ERR_BAD_MODULE, + "high address out of 22 bits range"); + *addr = (*addr & 0xFFC00000) | ((value >> 10) & 0x3FFFFF); + break; + case R_SPARC_LO10: /* 12 T-simm13 */ + *addr = (*addr & 0xFFFFFC00) | (value & 0x3FF); + break; + case R_SPARC_64: /* 32 V-xwords64 */ + *(Elf_Xword *) addr = value; + break; + case R_SPARC_OLO10: + *addr = (*addr & ~0x1fff) + | (((value & 0x3ff) + + (ELF_R_TYPE (rel->r_info) >> 8)) + & 0x1fff); + break; + default: + return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET, + "this relocation (%d) is not implemented yet", + ELF_R_TYPE (rel->r_info)); + } + } + } + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/kern/sparc64/ieee1275/crt0.S b/grub-core/kern/sparc64/ieee1275/crt0.S new file mode 100644 index 0000000..cebdca2 --- /dev/null +++ b/grub-core/kern/sparc64/ieee1275/crt0.S @@ -0,0 +1,94 @@ +/* crt0.S - Startup code for the Sparc64. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ +#include +#include +#include + + .text + .align 4 + .globl _start +_start: + ba codestart + mov %o4, %o0 + + . = EXT_C(_start) + GRUB_KERNEL_MACHINE_TOTAL_MODULE_SIZE + +VARIABLE(grub_total_module_size) + .word 0 +VARIABLE(grub_kernel_image_size) + .word 0 +VARIABLE(grub_compressed_size) + .word 0 +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = EXT_C(_start) + GRUB_KERNEL_MACHINE_PREFIX_END + +codestart: + /* Copy the modules past the end of the kernel image. + * They are currently sitting in the BSS. + */ + sethi %hi(__bss_start), %o2 + or %o2, %lo(__bss_start), %o2 + sethi %hi(_end), %o3 + or %o3, %lo(_end), %o3 + sethi %hi(grub_total_module_size), %o4 + lduw [%o4 + %lo(grub_total_module_size)], %o4 + + add %o2, %o4, %o2 + add %o3, %o4, %o3 + + /* Save ieee1275 stack for future use by booter. */ + mov %o6, %o1 + /* Our future stack. */ + sethi %hi(GRUB_KERNEL_MACHINE_STACK_SIZE), %o5 + or %o5, %lo(GRUB_KERNEL_MACHINE_STACK_SIZE), %o5 + add %o3, %o5, %o6 + and %o6, ~0xff, %o6 + sub %o6, 2047, %o6 + + sub %o2, 4, %o2 + sub %o3, 4, %o3 +1: lduw [%o2], %o5 + stw %o5, [%o3] + subcc %o4, 4, %o4 + sub %o2, 4, %o2 + bne,pt %icc, 1b + sub %o3, 4, %o3 + + /* Now it's safe to clear out the BSS. */ + sethi %hi(__bss_start), %o2 + or %o2, %lo(__bss_start), %o2 + sethi %hi(_end), %o3 + or %o3, %lo(_end), %o3 +1: stx %g0, [%o2] + add %o2, 8, %o2 + cmp %o2, %o3 + blt,pt %xcc, 1b + nop + sethi %hi(grub_ieee1275_original_stack), %o2 + stx %o1, [%o2 + %lo(grub_ieee1275_original_stack)] + sethi %hi(grub_ieee1275_entry_fn), %o2 + call grub_main + stx %o0, [%o2 + %lo(grub_ieee1275_entry_fn)] +1: ba,a 1b diff --git a/grub-core/kern/sparc64/ieee1275/ieee1275.c b/grub-core/kern/sparc64/ieee1275/ieee1275.c new file mode 100644 index 0000000..53be692 --- /dev/null +++ b/grub-core/kern/sparc64/ieee1275/ieee1275.c @@ -0,0 +1,91 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +/* Sun specific ieee1275 interfaces used by GRUB. */ + +int +grub_ieee1275_claim_vaddr (grub_addr_t vaddr, grub_size_t size) +{ + struct claim_vaddr_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t align; + grub_ieee1275_cell_t size; + grub_ieee1275_cell_t virt; + grub_ieee1275_cell_t catch_result; + } + args; + + INIT_IEEE1275_COMMON (&args.common, "call-method", 5, 2); + args.method = (grub_ieee1275_cell_t) "claim"; + args.ihandle = grub_ieee1275_mmu; + args.align = 0; + args.size = size; + args.virt = vaddr; + args.catch_result = (grub_ieee1275_cell_t) -1; + + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + return args.catch_result; +} + +int +grub_ieee1275_alloc_physmem (grub_addr_t *paddr, grub_size_t size, + grub_uint32_t align) +{ + grub_uint32_t memory_ihandle; + struct alloc_physmem_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t ihandle; + grub_ieee1275_cell_t align; + grub_ieee1275_cell_t size; + grub_ieee1275_cell_t catch_result; + grub_ieee1275_cell_t phys_high; + grub_ieee1275_cell_t phys_low; + } + args; + grub_ssize_t actual = 0; + + grub_ieee1275_get_property (grub_ieee1275_chosen, "memory", + &memory_ihandle, sizeof (memory_ihandle), + &actual); + if (actual != sizeof (memory_ihandle)) + return -1; + + if (!align) + align = 1; + + INIT_IEEE1275_COMMON (&args.common, "call-method", 4, 3); + args.method = (grub_ieee1275_cell_t) "claim"; + args.ihandle = memory_ihandle; + args.align = (align ? align : 1); + args.size = size; + if (IEEE1275_CALL_ENTRY_FN (&args) == -1) + return -1; + + *paddr = args.phys_low; + + return args.catch_result; +} diff --git a/grub-core/kern/sparc64/ieee1275/init.c b/grub-core/kern/sparc64/ieee1275/init.c new file mode 100644 index 0000000..72ee1f1 --- /dev/null +++ b/grub-core/kern/sparc64/ieee1275/init.c @@ -0,0 +1,174 @@ +/* init.c -- Initialize GRUB on SPARC64. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +grub_addr_t grub_ieee1275_original_stack; + +void +grub_exit (void) +{ + grub_ieee1275_exit (); +} + +static grub_uint64_t +ieee1275_get_time_ms (void) +{ + grub_uint32_t msecs = 0; + + grub_ieee1275_milliseconds (&msecs); + + return msecs; +} + +grub_uint32_t +grub_get_rtc (void) +{ + return ieee1275_get_time_ms (); +} + +grub_addr_t +grub_arch_modules_addr (void) +{ + extern char _end[]; + return (grub_addr_t) _end; +} + +void +grub_machine_set_prefix (void) +{ + if (grub_prefix[0] != '(') + { + char bootpath[IEEE1275_MAX_PATH_LEN]; + char *prefix, *path, *colon; + grub_ssize_t actual; + + if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootpath", + &bootpath, sizeof (bootpath), &actual)) + { + /* Should never happen. */ + grub_printf ("/chosen/bootpath property missing!\n"); + grub_env_set ("prefix", ""); + return; + } + + /* Transform an OF device path to a GRUB path. */ + colon = grub_strchr (bootpath, ':'); + if (colon) + { + char *part = colon + 1; + + /* Consistently provide numbered partitions to GRUB. + OpenBOOT traditionally uses alphabetical partition + specifiers. */ + if (part[0] >= 'a' && part[0] <= 'z') + part[0] = '1' + (part[0] - 'a'); + } + prefix = grub_ieee1275_encode_devname (bootpath); + + path = grub_xasprintf("%s%s", prefix, grub_prefix); + + grub_strcpy (grub_prefix, path); + + grub_free (path); + grub_free (prefix); + } + + grub_env_set ("prefix", grub_prefix); +} + +static void +grub_heap_init (void) +{ + grub_mm_init_region ((void *) (grub_modules_get_end () + + GRUB_KERNEL_MACHINE_STACK_SIZE), 0x200000); +} + +static void +grub_parse_cmdline (void) +{ + grub_ssize_t actual; + char args[256]; + + if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootargs", &args, + sizeof args, &actual) == 0 + && actual > 1) + { + int i = 0; + + while (i < actual) + { + char *command = &args[i]; + char *end; + char *val; + + end = grub_strchr (command, ';'); + if (end == 0) + i = actual; /* No more commands after this one. */ + else + { + *end = '\0'; + i += end - command + 1; + while (grub_isspace(args[i])) + i++; + } + + /* Process command. */ + val = grub_strchr (command, '='); + if (val) + { + *val = '\0'; + grub_env_set (command, val + 1); + } + } + } +} + +void +grub_machine_init (void) +{ + grub_ieee1275_init (); + grub_console_init_early (); + grub_heap_init (); + grub_console_init_lately (); + + grub_ieee1275_set_flag (GRUB_IEEE1275_FLAG_NO_PARTITION_0); + grub_ofdisk_init (); + + grub_parse_cmdline (); + grub_install_get_time_ms (ieee1275_get_time_ms); +} + +void +grub_machine_fini (void) +{ + grub_ofdisk_fini (); + grub_console_fini (); +} diff --git a/grub-core/kern/term.c b/grub-core/kern/term.c new file mode 100644 index 0000000..7b35931 --- /dev/null +++ b/grub-core/kern/term.c @@ -0,0 +1,130 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2003,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +struct grub_term_output *grub_term_outputs_disabled; +struct grub_term_input *grub_term_inputs_disabled; +struct grub_term_output *grub_term_outputs; +struct grub_term_input *grub_term_inputs; + +void (*grub_term_poll_usb) (void) = NULL; + +/* Put a Unicode character. */ +static void +grub_putcode_dumb (grub_uint32_t code, + struct grub_term_output *term) +{ + struct grub_unicode_glyph c = + { + .base = code, + .variant = 0, + .attributes = 0, + .ncomb = 0, + .combining = 0, + .estimated_width = 1 + }; + + if (code == '\t' && term->getxy) + { + int n; + + n = 8 - ((term->getxy (term) >> 8) & 7); + while (n--) + grub_putcode_dumb (' ', term); + + return; + } + + (term->putchar) (term, &c); + if (code == '\n') + grub_putcode_dumb ('\r', term); +} + +static void +grub_xputs_dumb (const char *str) +{ + for (; *str; str++) + { + grub_term_output_t term; + grub_uint32_t code = *str; + if (code > 0x7f) + code = '?'; + + FOR_ACTIVE_TERM_OUTPUTS(term) + grub_putcode_dumb (code, term); + } +} + +void (*grub_xputs) (const char *str) = grub_xputs_dumb; + +static int pending_key = GRUB_TERM_NO_KEY; + +int +grub_checkkey (void) +{ + grub_term_input_t term; + + if (pending_key != GRUB_TERM_NO_KEY) + return pending_key; + + if (grub_term_poll_usb) + grub_term_poll_usb (); + + FOR_ACTIVE_TERM_INPUTS(term) + { + pending_key = term->getkey (term); + if (pending_key != GRUB_TERM_NO_KEY) + return pending_key; + } + + return -1; +} + +int +grub_getkey (void) +{ + int ret; + + grub_refresh (); + + grub_checkkey (); + while (pending_key == GRUB_TERM_NO_KEY) + { + grub_cpu_idle (); + grub_checkkey (); + } + ret = pending_key; + pending_key = GRUB_TERM_NO_KEY; + return ret; +} + + +void +grub_refresh (void) +{ + struct grub_term_output *term; + + FOR_ACTIVE_TERM_OUTPUTS(term) + grub_term_refresh (term); +} diff --git a/grub-core/kern/time.c b/grub-core/kern/time.c new file mode 100644 index 0000000..6521ec6 --- /dev/null +++ b/grub-core/kern/time.c @@ -0,0 +1,37 @@ +/* time.c - kernel time functions */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +typedef grub_uint64_t (*get_time_ms_func_t) (void); + +/* Function pointer to the implementation in use. */ +static get_time_ms_func_t get_time_ms_func; + +grub_uint64_t +grub_get_time_ms (void) +{ + return get_time_ms_func (); +} + +void +grub_install_get_time_ms (get_time_ms_func_t func) +{ + get_time_ms_func = func; +} diff --git a/grub-core/kern/x86_64/dl.c b/grub-core/kern/x86_64/dl.c new file mode 100644 index 0000000..090ad78 --- /dev/null +++ b/grub-core/kern/x86_64/dl.c @@ -0,0 +1,119 @@ +/* dl-x86_64.c - arch-dependent part of loadable module support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2002,2005,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +/* Check if EHDR is a valid ELF header. */ +grub_err_t +grub_arch_dl_check_header (void *ehdr) +{ + Elf64_Ehdr *e = ehdr; + + /* Check the magic numbers. */ + if (e->e_ident[EI_CLASS] != ELFCLASS64 + || e->e_ident[EI_DATA] != ELFDATA2LSB + || e->e_machine != EM_X86_64) + return grub_error (GRUB_ERR_BAD_OS, "invalid arch specific ELF magic"); + + return GRUB_ERR_NONE; +} + +/* Relocate symbols. */ +grub_err_t +grub_arch_dl_relocate_symbols (grub_dl_t mod, void *ehdr) +{ + Elf64_Ehdr *e = ehdr; + Elf64_Shdr *s; + Elf64_Word entsize; + unsigned i; + + /* Find a symbol table. */ + for (i = 0, s = (Elf64_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf64_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_SYMTAB) + break; + + if (i == e->e_shnum) + return grub_error (GRUB_ERR_BAD_MODULE, "no symtab found"); + + entsize = s->sh_entsize; + + for (i = 0, s = (Elf64_Shdr *) ((char *) e + e->e_shoff); + i < e->e_shnum; + i++, s = (Elf64_Shdr *) ((char *) s + e->e_shentsize)) + if (s->sh_type == SHT_RELA) + { + grub_dl_segment_t seg; + + /* Find the target segment. */ + for (seg = mod->segment; seg; seg = seg->next) + if (seg->section == s->sh_info) + break; + + if (seg) + { + Elf64_Rela *rel, *max; + + for (rel = (Elf64_Rela *) ((char *) e + s->sh_offset), + max = rel + s->sh_size / s->sh_entsize; + rel < max; + rel++) + { + Elf64_Word *addr32; + Elf64_Xword *addr64; + Elf64_Sym *sym; + + if (seg->size < rel->r_offset) + return grub_error (GRUB_ERR_BAD_MODULE, + "reloc offset is out of the segment"); + + addr32 = (Elf64_Word *) ((char *) seg->addr + rel->r_offset); + addr64 = (Elf64_Xword *) addr32; + sym = (Elf64_Sym *) ((char *) mod->symtab + + entsize * ELF_R_SYM (rel->r_info)); + + switch (ELF_R_TYPE (rel->r_info)) + { + case R_X86_64_64: + *addr64 += rel->r_addend + sym->st_value; + break; + + case R_X86_64_PC32: + *addr32 += rel->r_addend + sym->st_value - + (Elf64_Xword) seg->addr - rel->r_offset; + break; + + case R_X86_64_32: + case R_X86_64_32S: + *addr32 += rel->r_addend + sym->st_value; + break; + + default: + grub_fatal ("Unrecognized relocation: %d\n", ELF_R_TYPE (rel->r_info)); + } + } + } + } + + return GRUB_ERR_NONE; +} diff --git a/grub-core/kern/x86_64/efi/callwrap.S b/grub-core/kern/x86_64/efi/callwrap.S new file mode 100644 index 0000000..aae2678 --- /dev/null +++ b/grub-core/kern/x86_64/efi/callwrap.S @@ -0,0 +1,116 @@ +/* callwrap.S - wrapper for x86_64 efi calls */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +/* + * x86_64 uses registry to pass parameters. Unfortunately, gcc and efi use + * different call conversion, so we need to do some conversion. + * + * gcc: + * %rdi, %esi, %rdx, %rcx, %r8, %r9, 8(%rsp), 16(%rsp), ... + * + * efi: + * %rcx, %rdx, %r8, %r9, 32(%rsp), 40(%rsp), 48(%rsp), ... + * + */ + + .file "callwrap.S" + .text + +FUNCTION(efi_wrap_0) + subq $48, %rsp + call *%rdi + addq $48, %rsp + ret + +FUNCTION(efi_wrap_1) + subq $48, %rsp + mov %rsi, %rcx + call *%rdi + addq $48, %rsp + ret + +FUNCTION(efi_wrap_2) + subq $48, %rsp + mov %rsi, %rcx + call *%rdi + addq $48, %rsp + ret + +FUNCTION(efi_wrap_3) + subq $48, %rsp + mov %rcx, %r8 + mov %rsi, %rcx + call *%rdi + addq $48, %rsp + ret + +FUNCTION(efi_wrap_4) + subq $48, %rsp + mov %r8, %r9 + mov %rcx, %r8 + mov %rsi, %rcx + call *%rdi + addq $48, %rsp + ret + +FUNCTION(efi_wrap_5) + subq $48, %rsp + mov %r9, 32(%rsp) + mov %r8, %r9 + mov %rcx, %r8 + mov %rsi, %rcx + call *%rdi + addq $48, %rsp + ret + +FUNCTION(efi_wrap_6) + subq $64, %rsp + mov 64+8(%rsp), %rax + mov %rax, 40(%rsp) + mov %r9, 32(%rsp) + mov %r8, %r9 + mov %rcx, %r8 + mov %rsi, %rcx + call *%rdi + addq $64, %rsp + ret + +FUNCTION(efi_wrap_10) + subq $96, %rsp + mov 96+40(%rsp), %rax + mov %rax, 72(%rsp) + mov 96+32(%rsp), %rax + mov %rax, 64(%rsp) + mov 96+24(%rsp), %rax + mov %rax, 56(%rsp) + mov 96+16(%rsp), %rax + mov %rax, 48(%rsp) + mov 96+8(%rsp), %rax + mov %rax, 40(%rsp) + mov %r9, 32(%rsp) + mov %r8, %r9 + mov %rcx, %r8 + mov %rsi, %rcx + call *%rdi + addq $96, %rsp + ret diff --git a/grub-core/kern/x86_64/efi/startup.S b/grub-core/kern/x86_64/efi/startup.S new file mode 100644 index 0000000..fb4fc7b --- /dev/null +++ b/grub-core/kern/x86_64/efi/startup.S @@ -0,0 +1,63 @@ +/* startup.S - bootstrap GRUB itself */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + + .file "startup.S" + .text + .globl start, _start + .code64 + +start: +_start: + jmp codestart + + /* + * Compatibility version number + * + * These MUST be at byte offset 6 and 7 of the executable + * DO NOT MOVE !!! + */ + . = _start + 0x6 + .byte GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR + + /* + * This is a special data area 8 bytes from the beginning. + */ + + . = _start + 0x8 + +VARIABLE(grub_prefix) + /* to be filled by grub-mkimage */ + + /* + * Leave some breathing room for the prefix. + */ + + . = _start + 0x50 + +codestart: + movq %rcx, EXT_C(grub_efi_image_handle)(%rip) + movq %rdx, EXT_C(grub_efi_system_table)(%rip) + + call EXT_C(grub_main) + ret + diff --git a/grub-core/lib/LzFind.c b/grub-core/lib/LzFind.c new file mode 100644 index 0000000..d2bb15c --- /dev/null +++ b/grub-core/lib/LzFind.c @@ -0,0 +1,777 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (c) 1999-2008 Igor Pavlov + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* + * This code was taken from LZMA SDK 4.58 beta, and was slightly modified + * to adapt it to GRUB's requirement. + * + * See , for more information about LZMA. + */ + + +#include + +#include + +#include +#include + +#define kEmptyHashValue 0 +#define kMaxValForNormalize ((UInt32)0xFFFFFFFF) +#define kNormalizeStepMin (1 << 10) /* it must be power of 2 */ +#define kNormalizeMask (~(kNormalizeStepMin - 1)) +#define kMaxHistorySize ((UInt32)3 << 30) + +#define kStartMaxLen 3 + +static void LzInWindow_Free(CMatchFinder *p, ISzAlloc *alloc) +{ + if (!p->directInput) + { + alloc->Free(alloc, p->bufferBase); + p->bufferBase = 0; + } +} + +/* keepSizeBefore + keepSizeAfter + keepSizeReserv must be < 4G) */ + +static int LzInWindow_Create(CMatchFinder *p, UInt32 keepSizeReserv, ISzAlloc *alloc) +{ + UInt32 blockSize = p->keepSizeBefore + p->keepSizeAfter + keepSizeReserv; + if (p->directInput) + { + p->blockSize = blockSize; + return 1; + } + if (p->bufferBase == 0 || p->blockSize != blockSize) + { + LzInWindow_Free(p, alloc); + p->blockSize = blockSize; + p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize); + } + return (p->bufferBase != 0); +} + +Byte *MatchFinder_GetPointerToCurrentPos(CMatchFinder *p) { return p->buffer; } +Byte MatchFinder_GetIndexByte(CMatchFinder *p, Int32 index) { return p->buffer[index]; } + +UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; } + +void MatchFinder_ReduceOffsets(CMatchFinder *p, UInt32 subValue) +{ + p->posLimit -= subValue; + p->pos -= subValue; + p->streamPos -= subValue; +} + +static void MatchFinder_ReadBlock(CMatchFinder *p) +{ + if (p->streamEndWasReached || p->result != SZ_OK) + return; + for (;;) + { + Byte *dest = p->buffer + (p->streamPos - p->pos); + size_t size = (p->bufferBase + p->blockSize - dest); + if (size == 0) + return; + p->result = p->stream->Read(p->stream, dest, &size); + if (p->result != SZ_OK) + return; + if (size == 0) + { + p->streamEndWasReached = 1; + return; + } + p->streamPos += (UInt32)size; + if (p->streamPos - p->pos > p->keepSizeAfter) + return; + } +} + +void MatchFinder_MoveBlock(CMatchFinder *p) +{ + memmove(p->bufferBase, + p->buffer - p->keepSizeBefore, + (size_t)(p->streamPos - p->pos + p->keepSizeBefore)); + p->buffer = p->bufferBase + p->keepSizeBefore; +} + +int MatchFinder_NeedMove(CMatchFinder *p) +{ + /* if (p->streamEndWasReached) return 0; */ + return ((size_t)(p->bufferBase + p->blockSize - p->buffer) <= p->keepSizeAfter); +} + +void MatchFinder_ReadIfRequired(CMatchFinder *p) +{ + if (p->streamEndWasReached) + return; + if (p->keepSizeAfter >= p->streamPos - p->pos) + MatchFinder_ReadBlock(p); +} + +static void MatchFinder_CheckAndMoveAndRead(CMatchFinder *p) +{ + if (MatchFinder_NeedMove(p)) + MatchFinder_MoveBlock(p); + MatchFinder_ReadBlock(p); +} + +static void MatchFinder_SetDefaultSettings(CMatchFinder *p) +{ + p->cutValue = 32; + p->btMode = 1; + p->numHashBytes = 4; + /* p->skipModeBits = 0; */ + p->directInput = 0; + p->bigHash = 0; +} + +#define kCrcPoly 0xEDB88320 + +void MatchFinder_Construct(CMatchFinder *p) +{ + UInt32 i; + p->bufferBase = 0; + p->directInput = 0; + p->hash = 0; + MatchFinder_SetDefaultSettings(p); + + for (i = 0; i < 256; i++) + { + UInt32 r = i; + int j; + for (j = 0; j < 8; j++) + r = (r >> 1) ^ (kCrcPoly & ~((r & 1) - 1)); + p->crc[i] = r; + } +} + +static void MatchFinder_FreeThisClassMemory(CMatchFinder *p, ISzAlloc *alloc) +{ + alloc->Free(alloc, p->hash); + p->hash = 0; +} + +void MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc) +{ + MatchFinder_FreeThisClassMemory(p, alloc); + LzInWindow_Free(p, alloc); +} + +static CLzRef* AllocRefs(UInt32 num, ISzAlloc *alloc) +{ + size_t sizeInBytes = (size_t)num * sizeof(CLzRef); + if (sizeInBytes / sizeof(CLzRef) != num) + return 0; + return (CLzRef *)alloc->Alloc(alloc, sizeInBytes); +} + +int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, + UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, + ISzAlloc *alloc) +{ + UInt32 sizeReserv; + if (historySize > kMaxHistorySize) + { + MatchFinder_Free(p, alloc); + return 0; + } + sizeReserv = historySize >> 1; + if (historySize > ((UInt32)2 << 30)) + sizeReserv = historySize >> 2; + sizeReserv += (keepAddBufferBefore + matchMaxLen + keepAddBufferAfter) / 2 + (1 << 19); + + p->keepSizeBefore = historySize + keepAddBufferBefore + 1; + p->keepSizeAfter = matchMaxLen + keepAddBufferAfter; + /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */ + if (LzInWindow_Create(p, sizeReserv, alloc)) + { + UInt32 newCyclicBufferSize = (historySize /* >> p->skipModeBits */) + 1; + UInt32 hs; + p->matchMaxLen = matchMaxLen; + { + p->fixedHashSize = 0; + if (p->numHashBytes == 2) + hs = (1 << 16) - 1; + else + { + hs = historySize - 1; + hs |= (hs >> 1); + hs |= (hs >> 2); + hs |= (hs >> 4); + hs |= (hs >> 8); + hs >>= 1; + /* hs >>= p->skipModeBits; */ + hs |= 0xFFFF; /* don't change it! It's required for Deflate */ + if (hs > (1 << 24)) + { + if (p->numHashBytes == 3) + hs = (1 << 24) - 1; + else + hs >>= 1; + } + } + p->hashMask = hs; + hs++; + if (p->numHashBytes > 2) p->fixedHashSize += kHash2Size; + if (p->numHashBytes > 3) p->fixedHashSize += kHash3Size; + if (p->numHashBytes > 4) p->fixedHashSize += kHash4Size; + hs += p->fixedHashSize; + } + + { + UInt32 prevSize = p->hashSizeSum + p->numSons; + UInt32 newSize; + p->historySize = historySize; + p->hashSizeSum = hs; + p->cyclicBufferSize = newCyclicBufferSize; + p->numSons = (p->btMode ? newCyclicBufferSize * 2 : newCyclicBufferSize); + newSize = p->hashSizeSum + p->numSons; + if (p->hash != 0 && prevSize == newSize) + return 1; + MatchFinder_FreeThisClassMemory(p, alloc); + p->hash = AllocRefs(newSize, alloc); + if (p->hash != 0) + { + p->son = p->hash + p->hashSizeSum; + return 1; + } + } + } + MatchFinder_Free(p, alloc); + return 0; +} + +static void MatchFinder_SetLimits(CMatchFinder *p) +{ + UInt32 limit = kMaxValForNormalize - p->pos; + UInt32 limit2 = p->cyclicBufferSize - p->cyclicBufferPos; + if (limit2 < limit) + limit = limit2; + limit2 = p->streamPos - p->pos; + if (limit2 <= p->keepSizeAfter) + { + if (limit2 > 0) + limit2 = 1; + } + else + limit2 -= p->keepSizeAfter; + if (limit2 < limit) + limit = limit2; + { + UInt32 lenLimit = p->streamPos - p->pos; + if (lenLimit > p->matchMaxLen) + lenLimit = p->matchMaxLen; + p->lenLimit = lenLimit; + } + p->posLimit = p->pos + limit; +} + +void MatchFinder_Init(CMatchFinder *p) +{ + UInt32 i; + for(i = 0; i < p->hashSizeSum; i++) + p->hash[i] = kEmptyHashValue; + p->cyclicBufferPos = 0; + p->buffer = p->bufferBase; + p->pos = p->streamPos = p->cyclicBufferSize; + p->result = SZ_OK; + p->streamEndWasReached = 0; + MatchFinder_ReadBlock(p); + MatchFinder_SetLimits(p); +} + +static UInt32 MatchFinder_GetSubValue(CMatchFinder *p) +{ + return (p->pos - p->historySize - 1) & kNormalizeMask; +} + +void MatchFinder_Normalize3(UInt32 subValue, CLzRef *items, UInt32 numItems) +{ + UInt32 i; + for (i = 0; i < numItems; i++) + { + UInt32 value = items[i]; + if (value <= subValue) + value = kEmptyHashValue; + else + value -= subValue; + items[i] = value; + } +} + +static void MatchFinder_Normalize(CMatchFinder *p) +{ + UInt32 subValue = MatchFinder_GetSubValue(p); + MatchFinder_Normalize3(subValue, p->hash, p->hashSizeSum + p->numSons); + MatchFinder_ReduceOffsets(p, subValue); +} + +static void MatchFinder_CheckLimits(CMatchFinder *p) +{ + if (p->pos == kMaxValForNormalize) + MatchFinder_Normalize(p); + if (!p->streamEndWasReached && p->keepSizeAfter == p->streamPos - p->pos) + MatchFinder_CheckAndMoveAndRead(p); + if (p->cyclicBufferPos == p->cyclicBufferSize) + p->cyclicBufferPos = 0; + MatchFinder_SetLimits(p); +} + +static UInt32 * Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, + UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, + UInt32 *distances, UInt32 maxLen) +{ + son[_cyclicBufferPos] = curMatch; + for (;;) + { + UInt32 delta = pos - curMatch; + if (cutValue-- == 0 || delta >= _cyclicBufferSize) + return distances; + { + const Byte *pb = cur - delta; + curMatch = son[_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)]; + if (pb[maxLen] == cur[maxLen] && *pb == *cur) + { + UInt32 len = 0; + while(++len != lenLimit) + if (pb[len] != cur[len]) + break; + if (maxLen < len) + { + *distances++ = maxLen = len; + *distances++ = delta - 1; + if (len == lenLimit) + return distances; + } + } + } + } +} + +UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, + UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, + UInt32 *distances, UInt32 maxLen) +{ + CLzRef *ptr0 = son + (_cyclicBufferPos << 1) + 1; + CLzRef *ptr1 = son + (_cyclicBufferPos << 1); + UInt32 len0 = 0, len1 = 0; + for (;;) + { + UInt32 delta = pos - curMatch; + if (cutValue-- == 0 || delta >= _cyclicBufferSize) + { + *ptr0 = *ptr1 = kEmptyHashValue; + return distances; + } + { + CLzRef *pair = son + ((_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1); + const Byte *pb = cur - delta; + UInt32 len = (len0 < len1 ? len0 : len1); + if (pb[len] == cur[len]) + { + if (++len != lenLimit && pb[len] == cur[len]) + while(++len != lenLimit) + if (pb[len] != cur[len]) + break; + if (maxLen < len) + { + *distances++ = maxLen = len; + *distances++ = delta - 1; + if (len == lenLimit) + { + *ptr1 = pair[0]; + *ptr0 = pair[1]; + return distances; + } + } + } + if (pb[len] < cur[len]) + { + *ptr1 = curMatch; + ptr1 = pair + 1; + curMatch = *ptr1; + len1 = len; + } + else + { + *ptr0 = curMatch; + ptr0 = pair; + curMatch = *ptr0; + len0 = len; + } + } + } +} + +static void SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, + UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue) +{ + CLzRef *ptr0 = son + (_cyclicBufferPos << 1) + 1; + CLzRef *ptr1 = son + (_cyclicBufferPos << 1); + UInt32 len0 = 0, len1 = 0; + for (;;) + { + UInt32 delta = pos - curMatch; + if (cutValue-- == 0 || delta >= _cyclicBufferSize) + { + *ptr0 = *ptr1 = kEmptyHashValue; + return; + } + { + CLzRef *pair = son + ((_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)) << 1); + const Byte *pb = cur - delta; + UInt32 len = (len0 < len1 ? len0 : len1); + if (pb[len] == cur[len]) + { + while(++len != lenLimit) + if (pb[len] != cur[len]) + break; + { + if (len == lenLimit) + { + *ptr1 = pair[0]; + *ptr0 = pair[1]; + return; + } + } + } + if (pb[len] < cur[len]) + { + *ptr1 = curMatch; + ptr1 = pair + 1; + curMatch = *ptr1; + len1 = len; + } + else + { + *ptr0 = curMatch; + ptr0 = pair; + curMatch = *ptr0; + len0 = len; + } + } + } +} + +#define MOVE_POS \ + ++p->cyclicBufferPos; \ + p->buffer++; \ + if (++p->pos == p->posLimit) MatchFinder_CheckLimits(p); + +#define MOVE_POS_RET MOVE_POS return offset; + +static void MatchFinder_MovePos(CMatchFinder *p) { MOVE_POS; } + +#define GET_MATCHES_HEADER2(minLen, ret_op) \ + UInt32 lenLimit; UInt32 hashValue; const Byte *cur; UInt32 curMatch; \ + lenLimit = p->lenLimit; { if (lenLimit < minLen) { MatchFinder_MovePos(p); ret_op; }} \ + cur = p->buffer; + +#define GET_MATCHES_HEADER(minLen) GET_MATCHES_HEADER2(minLen, return 0) +#define SKIP_HEADER(minLen) GET_MATCHES_HEADER2(minLen, continue) + +#define MF_PARAMS(p) p->pos, p->buffer, p->son, p->cyclicBufferPos, p->cyclicBufferSize, p->cutValue + +#define GET_MATCHES_FOOTER(offset, maxLen) \ + offset = (UInt32)(GetMatchesSpec1(lenLimit, curMatch, MF_PARAMS(p), \ + distances + offset, maxLen) - distances); MOVE_POS_RET; + +#define SKIP_FOOTER \ + SkipMatchesSpec(lenLimit, curMatch, MF_PARAMS(p)); MOVE_POS; + +static UInt32 Bt2_MatchFinder_GetMatches(CMatchFinder *p, UInt32 *distances) +{ + UInt32 offset; + GET_MATCHES_HEADER(2) + HASH2_CALC; + curMatch = p->hash[hashValue]; + p->hash[hashValue] = p->pos; + offset = 0; + GET_MATCHES_FOOTER(offset, 1) +} + +UInt32 Bt3Zip_MatchFinder_GetMatches(CMatchFinder *p, UInt32 *distances) +{ + UInt32 offset; + GET_MATCHES_HEADER(3) + HASH_ZIP_CALC; + curMatch = p->hash[hashValue]; + p->hash[hashValue] = p->pos; + offset = 0; + GET_MATCHES_FOOTER(offset, 2) +} + +static UInt32 Bt3_MatchFinder_GetMatches(CMatchFinder *p, UInt32 *distances) +{ + UInt32 hash2Value, delta2, maxLen, offset; + GET_MATCHES_HEADER(3) + + HASH3_CALC; + + delta2 = p->pos - p->hash[hash2Value]; + curMatch = p->hash[kFix3HashSize + hashValue]; + + p->hash[hash2Value] = + p->hash[kFix3HashSize + hashValue] = p->pos; + + + maxLen = 2; + offset = 0; + if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) + { + for (; maxLen != lenLimit; maxLen++) + if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) + break; + distances[0] = maxLen; + distances[1] = delta2 - 1; + offset = 2; + if (maxLen == lenLimit) + { + SkipMatchesSpec(lenLimit, curMatch, MF_PARAMS(p)); + MOVE_POS_RET; + } + } + GET_MATCHES_FOOTER(offset, maxLen) +} + +static UInt32 Bt4_MatchFinder_GetMatches(CMatchFinder *p, UInt32 *distances) +{ + UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; + GET_MATCHES_HEADER(4) + + HASH4_CALC; + + delta2 = p->pos - p->hash[ hash2Value]; + delta3 = p->pos - p->hash[kFix3HashSize + hash3Value]; + curMatch = p->hash[kFix4HashSize + hashValue]; + + p->hash[ hash2Value] = + p->hash[kFix3HashSize + hash3Value] = + p->hash[kFix4HashSize + hashValue] = p->pos; + + maxLen = 1; + offset = 0; + if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) + { + distances[0] = maxLen = 2; + distances[1] = delta2 - 1; + offset = 2; + } + if (delta2 != delta3 && delta3 < p->cyclicBufferSize && *(cur - delta3) == *cur) + { + maxLen = 3; + distances[offset + 1] = delta3 - 1; + offset += 2; + delta2 = delta3; + } + if (offset != 0) + { + for (; maxLen != lenLimit; maxLen++) + if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) + break; + distances[offset - 2] = maxLen; + if (maxLen == lenLimit) + { + SkipMatchesSpec(lenLimit, curMatch, MF_PARAMS(p)); + MOVE_POS_RET; + } + } + if (maxLen < 3) + maxLen = 3; + GET_MATCHES_FOOTER(offset, maxLen) +} + +static UInt32 Hc4_MatchFinder_GetMatches(CMatchFinder *p, UInt32 *distances) +{ + UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; + GET_MATCHES_HEADER(4) + + HASH4_CALC; + + delta2 = p->pos - p->hash[ hash2Value]; + delta3 = p->pos - p->hash[kFix3HashSize + hash3Value]; + curMatch = p->hash[kFix4HashSize + hashValue]; + + p->hash[ hash2Value] = + p->hash[kFix3HashSize + hash3Value] = + p->hash[kFix4HashSize + hashValue] = p->pos; + + maxLen = 1; + offset = 0; + if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) + { + distances[0] = maxLen = 2; + distances[1] = delta2 - 1; + offset = 2; + } + if (delta2 != delta3 && delta3 < p->cyclicBufferSize && *(cur - delta3) == *cur) + { + maxLen = 3; + distances[offset + 1] = delta3 - 1; + offset += 2; + delta2 = delta3; + } + if (offset != 0) + { + for (; maxLen != lenLimit; maxLen++) + if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) + break; + distances[offset - 2] = maxLen; + if (maxLen == lenLimit) + { + p->son[p->cyclicBufferPos] = curMatch; + MOVE_POS_RET; + } + } + if (maxLen < 3) + maxLen = 3; + offset = (UInt32)(Hc_GetMatchesSpec(lenLimit, curMatch, MF_PARAMS(p), + distances + offset, maxLen) - (distances)); + MOVE_POS_RET +} + +UInt32 Hc3Zip_MatchFinder_GetMatches(CMatchFinder *p, UInt32 *distances) +{ + UInt32 offset; + GET_MATCHES_HEADER(3) + HASH_ZIP_CALC; + curMatch = p->hash[hashValue]; + p->hash[hashValue] = p->pos; + offset = (UInt32)(Hc_GetMatchesSpec(lenLimit, curMatch, MF_PARAMS(p), + distances, 2) - (distances)); + MOVE_POS_RET +} + +static void Bt2_MatchFinder_Skip(CMatchFinder *p, UInt32 num) +{ + do + { + SKIP_HEADER(2) + HASH2_CALC; + curMatch = p->hash[hashValue]; + p->hash[hashValue] = p->pos; + SKIP_FOOTER + } + while (--num != 0); +} + +void Bt3Zip_MatchFinder_Skip(CMatchFinder *p, UInt32 num) +{ + do + { + SKIP_HEADER(3) + HASH_ZIP_CALC; + curMatch = p->hash[hashValue]; + p->hash[hashValue] = p->pos; + SKIP_FOOTER + } + while (--num != 0); +} + +static void Bt3_MatchFinder_Skip(CMatchFinder *p, UInt32 num) +{ + do + { + UInt32 hash2Value; + SKIP_HEADER(3) + HASH3_CALC; + curMatch = p->hash[kFix3HashSize + hashValue]; + p->hash[hash2Value] = + p->hash[kFix3HashSize + hashValue] = p->pos; + SKIP_FOOTER + } + while (--num != 0); +} + +static void Bt4_MatchFinder_Skip(CMatchFinder *p, UInt32 num) +{ + do + { + UInt32 hash2Value, hash3Value; + SKIP_HEADER(4) + HASH4_CALC; + curMatch = p->hash[kFix4HashSize + hashValue]; + p->hash[ hash2Value] = + p->hash[kFix3HashSize + hash3Value] = p->pos; + p->hash[kFix4HashSize + hashValue] = p->pos; + SKIP_FOOTER + } + while (--num != 0); +} + +static void Hc4_MatchFinder_Skip(CMatchFinder *p, UInt32 num) +{ + do + { + UInt32 hash2Value, hash3Value; + SKIP_HEADER(4) + HASH4_CALC; + curMatch = p->hash[kFix4HashSize + hashValue]; + p->hash[ hash2Value] = + p->hash[kFix3HashSize + hash3Value] = + p->hash[kFix4HashSize + hashValue] = p->pos; + p->son[p->cyclicBufferPos] = curMatch; + MOVE_POS + } + while (--num != 0); +} + +void Hc3Zip_MatchFinder_Skip(CMatchFinder *p, UInt32 num) +{ + do + { + SKIP_HEADER(3) + HASH_ZIP_CALC; + curMatch = p->hash[hashValue]; + p->hash[hashValue] = p->pos; + p->son[p->cyclicBufferPos] = curMatch; + MOVE_POS + } + while (--num != 0); +} + +void MatchFinder_CreateVTable(CMatchFinder *p, IMatchFinder *vTable) +{ + vTable->Init = (Mf_Init_Func)MatchFinder_Init; + vTable->GetIndexByte = (Mf_GetIndexByte_Func)MatchFinder_GetIndexByte; + vTable->GetNumAvailableBytes = (Mf_GetNumAvailableBytes_Func)MatchFinder_GetNumAvailableBytes; + vTable->GetPointerToCurrentPos = (Mf_GetPointerToCurrentPos_Func)MatchFinder_GetPointerToCurrentPos; + if (!p->btMode) + { + vTable->GetMatches = (Mf_GetMatches_Func)Hc4_MatchFinder_GetMatches; + vTable->Skip = (Mf_Skip_Func)Hc4_MatchFinder_Skip; + } + else if (p->numHashBytes == 2) + { + vTable->GetMatches = (Mf_GetMatches_Func)Bt2_MatchFinder_GetMatches; + vTable->Skip = (Mf_Skip_Func)Bt2_MatchFinder_Skip; + } + else if (p->numHashBytes == 3) + { + vTable->GetMatches = (Mf_GetMatches_Func)Bt3_MatchFinder_GetMatches; + vTable->Skip = (Mf_Skip_Func)Bt3_MatchFinder_Skip; + } + else + { + vTable->GetMatches = (Mf_GetMatches_Func)Bt4_MatchFinder_GetMatches; + vTable->Skip = (Mf_Skip_Func)Bt4_MatchFinder_Skip; + } +} diff --git a/grub-core/lib/LzmaDec.c b/grub-core/lib/LzmaDec.c new file mode 100644 index 0000000..62ebee6 --- /dev/null +++ b/grub-core/lib/LzmaDec.c @@ -0,0 +1,1035 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (c) 1999-2008 Igor Pavlov + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* + * This code was taken from LZMA SDK 4.58 beta, and was slightly modified + * to adapt it to GRUB's requirement. + * + * See , for more information about LZMA. + */ + +#include + +#include + +#define kNumTopBits 24 +#define kTopValue ((UInt32)1 << kNumTopBits) + +#define kNumBitModelTotalBits 11 +#define kBitModelTotal (1 << kNumBitModelTotalBits) +#define kNumMoveBits 5 + +#define RC_INIT_SIZE 5 + +#define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } + +#define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) +#define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); +#define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); +#define GET_BIT2(p, i, A0, A1) IF_BIT_0(p) \ + { UPDATE_0(p); i = (i + i); A0; } else \ + { UPDATE_1(p); i = (i + i) + 1; A1; } +#define GET_BIT(p, i) GET_BIT2(p, i, ; , ;) + +#define TREE_GET_BIT(probs, i) { GET_BIT((probs + i), i); } +#define TREE_DECODE(probs, limit, i) \ + { i = 1; do { TREE_GET_BIT(probs, i); } while (i < limit); i -= limit; } + +/* #define _LZMA_SIZE_OPT */ + +#ifdef _LZMA_SIZE_OPT +#define TREE_6_DECODE(probs, i) TREE_DECODE(probs, (1 << 6), i) +#else +#define TREE_6_DECODE(probs, i) \ + { i = 1; \ + TREE_GET_BIT(probs, i); \ + TREE_GET_BIT(probs, i); \ + TREE_GET_BIT(probs, i); \ + TREE_GET_BIT(probs, i); \ + TREE_GET_BIT(probs, i); \ + TREE_GET_BIT(probs, i); \ + i -= 0x40; } +#endif + +#define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } + +#define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) +#define UPDATE_0_CHECK range = bound; +#define UPDATE_1_CHECK range -= bound; code -= bound; +#define GET_BIT2_CHECK(p, i, A0, A1) IF_BIT_0_CHECK(p) \ + { UPDATE_0_CHECK; i = (i + i); A0; } else \ + { UPDATE_1_CHECK; i = (i + i) + 1; A1; } +#define GET_BIT_CHECK(p, i) GET_BIT2_CHECK(p, i, ; , ;) +#define TREE_DECODE_CHECK(probs, limit, i) \ + { i = 1; do { GET_BIT_CHECK(probs + i, i) } while(i < limit); i -= limit; } + + +#define kNumPosBitsMax 4 +#define kNumPosStatesMax (1 << kNumPosBitsMax) + +#define kLenNumLowBits 3 +#define kLenNumLowSymbols (1 << kLenNumLowBits) +#define kLenNumMidBits 3 +#define kLenNumMidSymbols (1 << kLenNumMidBits) +#define kLenNumHighBits 8 +#define kLenNumHighSymbols (1 << kLenNumHighBits) + +#define LenChoice 0 +#define LenChoice2 (LenChoice + 1) +#define LenLow (LenChoice2 + 1) +#define LenMid (LenLow + (kNumPosStatesMax << kLenNumLowBits)) +#define LenHigh (LenMid + (kNumPosStatesMax << kLenNumMidBits)) +#define kNumLenProbs (LenHigh + kLenNumHighSymbols) + + +#define kNumStates 12 +#define kNumLitStates 7 + +#define kStartPosModelIndex 4 +#define kEndPosModelIndex 14 +#define kNumFullDistances (1 << (kEndPosModelIndex >> 1)) + +#define kNumPosSlotBits 6 +#define kNumLenToPosStates 4 + +#define kNumAlignBits 4 +#define kAlignTableSize (1 << kNumAlignBits) + +#define kMatchMinLen 2 +#define kMatchSpecLenStart (kMatchMinLen + kLenNumLowSymbols + kLenNumMidSymbols + kLenNumHighSymbols) + +#define IsMatch 0 +#define IsRep (IsMatch + (kNumStates << kNumPosBitsMax)) +#define IsRepG0 (IsRep + kNumStates) +#define IsRepG1 (IsRepG0 + kNumStates) +#define IsRepG2 (IsRepG1 + kNumStates) +#define IsRep0Long (IsRepG2 + kNumStates) +#define PosSlot (IsRep0Long + (kNumStates << kNumPosBitsMax)) +#define SpecPos (PosSlot + (kNumLenToPosStates << kNumPosSlotBits)) +#define Align (SpecPos + kNumFullDistances - kEndPosModelIndex) +#define LenCoder (Align + kAlignTableSize) +#define RepLenCoder (LenCoder + kNumLenProbs) +#define Literal (RepLenCoder + kNumLenProbs) + +#define LZMA_BASE_SIZE 1846 +#define LZMA_LIT_SIZE 768 + +#define LzmaProps_GetNumProbs(p) ((UInt32)LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((p)->lc + (p)->lp))) + +#if Literal != LZMA_BASE_SIZE +StopCompilingDueBUG +#endif + +/* +#define LZMA_STREAM_WAS_FINISHED_ID (-1) +#define LZMA_SPEC_LEN_OFFSET (-3) +*/ + +Byte kLiteralNextStates[kNumStates * 2] = +{ + 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 4, 5, + 7, 7, 7, 7, 7, 7, 7, 10, 10, 10, 10, 10 +}; + +#define LZMA_DIC_MIN (1 << 12) + +/* First LZMA-symbol is always decoded. +And it decodes new LZMA-symbols while (buf < bufLimit), but "buf" is without last normalization +Out: + Result: + 0 - OK + 1 - Error + p->remainLen: + < kMatchSpecLenStart : normal remain + = kMatchSpecLenStart : finished + = kMatchSpecLenStart + 1 : Flush marker + = kMatchSpecLenStart + 2 : State Init Marker +*/ + +static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) +{ + CLzmaProb *probs = p->probs; + + unsigned state = p->state; + UInt32 rep0 = p->reps[0], rep1 = p->reps[1], rep2 = p->reps[2], rep3 = p->reps[3]; + unsigned pbMask = ((unsigned)1 << (p->prop.pb)) - 1; + unsigned lpMask = ((unsigned)1 << (p->prop.lp)) - 1; + unsigned lc = p->prop.lc; + + Byte *dic = p->dic; + SizeT dicBufSize = p->dicBufSize; + SizeT dicPos = p->dicPos; + + UInt32 processedPos = p->processedPos; + UInt32 checkDicSize = p->checkDicSize; + unsigned len = 0; + + const Byte *buf = p->buf; + UInt32 range = p->range; + UInt32 code = p->code; + + do + { + CLzmaProb *prob; + UInt32 bound; + unsigned ttt; + unsigned posState = processedPos & pbMask; + + prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; + IF_BIT_0(prob) + { + unsigned symbol; + UPDATE_0(prob); + prob = probs + Literal; + if (checkDicSize != 0 || processedPos != 0) + prob += (LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) + + (dic[(dicPos == 0 ? dicBufSize : dicPos) - 1] >> (8 - lc)))); + + if (state < kNumLitStates) + { + symbol = 1; + do { GET_BIT(prob + symbol, symbol) } while (symbol < 0x100); + } + else + { + unsigned matchByte = p->dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; + unsigned offs = 0x100; + symbol = 1; + do + { + unsigned bit; + CLzmaProb *probLit; + matchByte <<= 1; + bit = (matchByte & offs); + probLit = prob + offs + bit + symbol; + GET_BIT2(probLit, symbol, offs &= ~bit, offs &= bit) + } + while (symbol < 0x100); + } + dic[dicPos++] = (Byte)symbol; + processedPos++; + + state = kLiteralNextStates[state]; + /* if (state < 4) state = 0; else if (state < 10) state -= 3; else state -= 6; */ + continue; + } + else + { + UPDATE_1(prob); + prob = probs + IsRep + state; + IF_BIT_0(prob) + { + UPDATE_0(prob); + state += kNumStates; + prob = probs + LenCoder; + } + else + { + UPDATE_1(prob); + if (checkDicSize == 0 && processedPos == 0) + return SZ_ERROR_DATA; + prob = probs + IsRepG0 + state; + IF_BIT_0(prob) + { + UPDATE_0(prob); + prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; + IF_BIT_0(prob) + { + UPDATE_0(prob); + dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; + dicPos++; + processedPos++; + state = state < kNumLitStates ? 9 : 11; + continue; + } + UPDATE_1(prob); + } + else + { + UInt32 distance; + UPDATE_1(prob); + prob = probs + IsRepG1 + state; + IF_BIT_0(prob) + { + UPDATE_0(prob); + distance = rep1; + } + else + { + UPDATE_1(prob); + prob = probs + IsRepG2 + state; + IF_BIT_0(prob) + { + UPDATE_0(prob); + distance = rep2; + } + else + { + UPDATE_1(prob); + distance = rep3; + rep3 = rep2; + } + rep2 = rep1; + } + rep1 = rep0; + rep0 = distance; + } + state = state < kNumLitStates ? 8 : 11; + prob = probs + RepLenCoder; + } + { + unsigned limit, offset; + CLzmaProb *probLen = prob + LenChoice; + IF_BIT_0(probLen) + { + UPDATE_0(probLen); + probLen = prob + LenLow + (posState << kLenNumLowBits); + offset = 0; + limit = (1 << kLenNumLowBits); + } + else + { + UPDATE_1(probLen); + probLen = prob + LenChoice2; + IF_BIT_0(probLen) + { + UPDATE_0(probLen); + probLen = prob + LenMid + (posState << kLenNumMidBits); + offset = kLenNumLowSymbols; + limit = (1 << kLenNumMidBits); + } + else + { + UPDATE_1(probLen); + probLen = prob + LenHigh; + offset = kLenNumLowSymbols + kLenNumMidSymbols; + limit = (1 << kLenNumHighBits); + } + } + TREE_DECODE(probLen, limit, len); + len += offset; + } + + if (state >= kNumStates) + { + UInt32 distance; + prob = probs + PosSlot + + ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << kNumPosSlotBits); + TREE_6_DECODE(prob, distance); + if (distance >= kStartPosModelIndex) + { + unsigned posSlot = (unsigned)distance; + int numDirectBits = (int)(((distance >> 1) - 1)); + distance = (2 | (distance & 1)); + if (posSlot < kEndPosModelIndex) + { + distance <<= numDirectBits; + prob = probs + SpecPos + distance - posSlot - 1; + { + UInt32 mask = 1; + unsigned i = 1; + do + { + GET_BIT2(prob + i, i, ; , distance |= mask); + mask <<= 1; + } + while(--numDirectBits != 0); + } + } + else + { + numDirectBits -= kNumAlignBits; + do + { + NORMALIZE + range >>= 1; + + { + UInt32 t; + code -= range; + t = (0 - ((UInt32)code >> 31)); /* (UInt32)((Int32)code >> 31) */ + distance = (distance << 1) + (t + 1); + code += range & t; + } + /* + distance <<= 1; + if (code >= range) + { + code -= range; + distance |= 1; + } + */ + } + while (--numDirectBits != 0); + prob = probs + Align; + distance <<= kNumAlignBits; + { + unsigned i = 1; + GET_BIT2(prob + i, i, ; , distance |= 1); + GET_BIT2(prob + i, i, ; , distance |= 2); + GET_BIT2(prob + i, i, ; , distance |= 4); + GET_BIT2(prob + i, i, ; , distance |= 8); + } + if (distance == (UInt32)0xFFFFFFFF) + { + len += kMatchSpecLenStart; + state -= kNumStates; + break; + } + } + } + rep3 = rep2; + rep2 = rep1; + rep1 = rep0; + rep0 = distance + 1; + if (checkDicSize == 0) + { + if (distance >= processedPos) + return SZ_ERROR_DATA; + } + else if (distance >= checkDicSize) + return SZ_ERROR_DATA; + state = (state < kNumStates + kNumLitStates) ? kNumLitStates : kNumLitStates + 3; + /* state = kLiteralNextStates[state]; */ + } + + len += kMatchMinLen; + + { + SizeT rem = limit - dicPos; + unsigned curLen = ((rem < len) ? (unsigned)rem : len); + SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); + + processedPos += curLen; + + len -= curLen; + if (pos + curLen <= dicBufSize) + { + Byte *dest = dic + dicPos; + ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos; + const Byte *lim = dest + curLen; + dicPos += curLen; + do + *(dest) = (Byte)*(dest + src); + while (++dest != lim); + } + else + { + do + { + dic[dicPos++] = dic[pos]; + if (++pos == dicBufSize) + pos = 0; + } + while (--curLen != 0); + } + } + } + } + while (dicPos < limit && buf < bufLimit); + NORMALIZE; + p->buf = buf; + p->range = range; + p->code = code; + p->remainLen = len; + p->dicPos = dicPos; + p->processedPos = processedPos; + p->reps[0] = rep0; + p->reps[1] = rep1; + p->reps[2] = rep2; + p->reps[3] = rep3; + p->state = state; + + return SZ_OK; +} + +static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) +{ + if (p->remainLen != 0 && p->remainLen < kMatchSpecLenStart) + { + Byte *dic = p->dic; + SizeT dicPos = p->dicPos; + SizeT dicBufSize = p->dicBufSize; + unsigned len = p->remainLen; + UInt32 rep0 = p->reps[0]; + if (limit - dicPos < len) + len = (unsigned)(limit - dicPos); + + if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len) + p->checkDicSize = p->prop.dicSize; + + p->processedPos += len; + p->remainLen -= len; + while (len-- != 0) + { + dic[dicPos] = dic[(dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0)]; + dicPos++; + } + p->dicPos = dicPos; + } +} + +/* LzmaDec_DecodeReal2 decodes LZMA-symbols and sets p->needFlush and p->needInit, if required. */ + +static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit) +{ + do + { + SizeT limit2 = limit; + if (p->checkDicSize == 0) + { + UInt32 rem = p->prop.dicSize - p->processedPos; + if (limit - p->dicPos > rem) + limit2 = p->dicPos + rem; + } + RINOK(LzmaDec_DecodeReal(p, limit2, bufLimit)); + if (p->processedPos >= p->prop.dicSize) + p->checkDicSize = p->prop.dicSize; + LzmaDec_WriteRem(p, limit); + } + while (p->dicPos < limit && p->buf < bufLimit && p->remainLen < kMatchSpecLenStart); + + if (p->remainLen > kMatchSpecLenStart) + { + p->remainLen = kMatchSpecLenStart; + } + return 0; +} + +typedef enum +{ + DUMMY_ERROR, /* unexpected end of input stream */ + DUMMY_LIT, + DUMMY_MATCH, + DUMMY_REP +} ELzmaDummy; + +static ELzmaDummy LzmaDec_TryDummy(const CLzmaDec *p, const Byte *buf, SizeT inSize) +{ + UInt32 range = p->range; + UInt32 code = p->code; + const Byte *bufLimit = buf + inSize; + CLzmaProb *probs = p->probs; + unsigned state = p->state; + ELzmaDummy res; + + { + CLzmaProb *prob; + UInt32 bound; + unsigned ttt; + unsigned posState = (p->processedPos) & ((1 << p->prop.pb) - 1); + + prob = probs + IsMatch + (state << kNumPosBitsMax) + posState; + IF_BIT_0_CHECK(prob) + { + UPDATE_0_CHECK + + /* if (bufLimit - buf >= 7) return DUMMY_LIT; */ + + prob = probs + Literal; + if (p->checkDicSize != 0 || p->processedPos != 0) + prob += (LZMA_LIT_SIZE * + ((((p->processedPos) & ((1 << (p->prop.lp)) - 1)) << p->prop.lc) + + (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); + + if (state < kNumLitStates) + { + unsigned symbol = 1; + do { GET_BIT_CHECK(prob + symbol, symbol) } while (symbol < 0x100); + } + else + { + unsigned matchByte = p->dic[p->dicPos - p->reps[0] + + ((p->dicPos < p->reps[0]) ? p->dicBufSize : 0)]; + unsigned offs = 0x100; + unsigned symbol = 1; + do + { + unsigned bit; + CLzmaProb *probLit; + matchByte <<= 1; + bit = (matchByte & offs); + probLit = prob + offs + bit + symbol; + GET_BIT2_CHECK(probLit, symbol, offs &= ~bit, offs &= bit) + } + while (symbol < 0x100); + } + res = DUMMY_LIT; + } + else + { + unsigned len; + UPDATE_1_CHECK; + + prob = probs + IsRep + state; + IF_BIT_0_CHECK(prob) + { + UPDATE_0_CHECK; + state = 0; + prob = probs + LenCoder; + res = DUMMY_MATCH; + } + else + { + UPDATE_1_CHECK; + res = DUMMY_REP; + prob = probs + IsRepG0 + state; + IF_BIT_0_CHECK(prob) + { + UPDATE_0_CHECK; + prob = probs + IsRep0Long + (state << kNumPosBitsMax) + posState; + IF_BIT_0_CHECK(prob) + { + UPDATE_0_CHECK; + NORMALIZE_CHECK; + return DUMMY_REP; + } + else + { + UPDATE_1_CHECK; + } + } + else + { + UPDATE_1_CHECK; + prob = probs + IsRepG1 + state; + IF_BIT_0_CHECK(prob) + { + UPDATE_0_CHECK; + } + else + { + UPDATE_1_CHECK; + prob = probs + IsRepG2 + state; + IF_BIT_0_CHECK(prob) + { + UPDATE_0_CHECK; + } + else + { + UPDATE_1_CHECK; + } + } + } + state = kNumStates; + prob = probs + RepLenCoder; + } + { + unsigned limit, offset; + CLzmaProb *probLen = prob + LenChoice; + IF_BIT_0_CHECK(probLen) + { + UPDATE_0_CHECK; + probLen = prob + LenLow + (posState << kLenNumLowBits); + offset = 0; + limit = 1 << kLenNumLowBits; + } + else + { + UPDATE_1_CHECK; + probLen = prob + LenChoice2; + IF_BIT_0_CHECK(probLen) + { + UPDATE_0_CHECK; + probLen = prob + LenMid + (posState << kLenNumMidBits); + offset = kLenNumLowSymbols; + limit = 1 << kLenNumMidBits; + } + else + { + UPDATE_1_CHECK; + probLen = prob + LenHigh; + offset = kLenNumLowSymbols + kLenNumMidSymbols; + limit = 1 << kLenNumHighBits; + } + } + TREE_DECODE_CHECK(probLen, limit, len); + len += offset; + } + + if (state < 4) + { + unsigned posSlot; + prob = probs + PosSlot + + ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << + kNumPosSlotBits); + TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); + if (posSlot >= kStartPosModelIndex) + { + int numDirectBits = ((posSlot >> 1) - 1); + + /* if (bufLimit - buf >= 8) return DUMMY_MATCH; */ + + if (posSlot < kEndPosModelIndex) + { + prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; + } + else + { + numDirectBits -= kNumAlignBits; + do + { + NORMALIZE_CHECK + range >>= 1; + code -= range & (((code - range) >> 31) - 1); + /* if (code >= range) code -= range; */ + } + while (--numDirectBits != 0); + prob = probs + Align; + numDirectBits = kNumAlignBits; + } + { + unsigned i = 1; + do + { + GET_BIT_CHECK(prob + i, i); + } + while(--numDirectBits != 0); + } + } + } + } + } + NORMALIZE_CHECK; + return res; +} + + +static void LzmaDec_InitRc(CLzmaDec *p, const Byte *data) +{ + p->code = ((UInt32)data[1] << 24) | ((UInt32)data[2] << 16) | ((UInt32)data[3] << 8) | ((UInt32)data[4]); + p->range = 0xFFFFFFFF; + p->needFlush = 0; +} + +void LzmaDec_InitDicAndState(CLzmaDec *p, Bool initDic, Bool initState) +{ + p->needFlush = 1; + p->remainLen = 0; + p->tempBufSize = 0; + + if (initDic) + { + p->processedPos = 0; + p->checkDicSize = 0; + p->needInitState = 1; + } + if (initState) + p->needInitState = 1; +} + +void LzmaDec_Init(CLzmaDec *p) +{ + p->dicPos = 0; + LzmaDec_InitDicAndState(p, True, True); +} + +static void LzmaDec_InitStateReal(CLzmaDec *p) +{ + UInt32 numProbs = Literal + ((UInt32)LZMA_LIT_SIZE << (p->prop.lc + p->prop.lp)); + UInt32 i; + CLzmaProb *probs = p->probs; + for (i = 0; i < numProbs; i++) + probs[i] = kBitModelTotal >> 1; + p->reps[0] = p->reps[1] = p->reps[2] = p->reps[3] = 1; + p->state = 0; + p->needInitState = 0; +} + +SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen, + ELzmaFinishMode finishMode, ELzmaStatus *status) +{ + SizeT inSize = *srcLen; + (*srcLen) = 0; + LzmaDec_WriteRem(p, dicLimit); + + *status = LZMA_STATUS_NOT_SPECIFIED; + + while (p->remainLen != kMatchSpecLenStart) + { + int checkEndMarkNow; + + if (p->needFlush != 0) + { + for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--) + p->tempBuf[p->tempBufSize++] = *src++; + if (p->tempBufSize < RC_INIT_SIZE) + { + *status = LZMA_STATUS_NEEDS_MORE_INPUT; + return SZ_OK; + } + if (p->tempBuf[0] != 0) + return SZ_ERROR_DATA; + + LzmaDec_InitRc(p, p->tempBuf); + p->tempBufSize = 0; + } + + checkEndMarkNow = 0; + if (p->dicPos >= dicLimit) + { + if (p->remainLen == 0 && p->code == 0) + { + *status = LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK; + return SZ_OK; + } + if (finishMode == LZMA_FINISH_ANY) + { + *status = LZMA_STATUS_NOT_FINISHED; + return SZ_OK; + } + if (p->remainLen != 0) + { + *status = LZMA_STATUS_NOT_FINISHED; + return SZ_ERROR_DATA; + } + checkEndMarkNow = 1; + } + + if (p->needInitState) + LzmaDec_InitStateReal(p); + + if (p->tempBufSize == 0) + { + SizeT processed; + const Byte *bufLimit; + if (inSize < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) + { + int dummyRes = LzmaDec_TryDummy(p, src, inSize); + if (dummyRes == DUMMY_ERROR) + { + memcpy(p->tempBuf, src, inSize); + p->tempBufSize = (unsigned)inSize; + (*srcLen) += inSize; + *status = LZMA_STATUS_NEEDS_MORE_INPUT; + return SZ_OK; + } + if (checkEndMarkNow && dummyRes != DUMMY_MATCH) + { + *status = LZMA_STATUS_NOT_FINISHED; + return SZ_ERROR_DATA; + } + bufLimit = src; + } + else + bufLimit = src + inSize - LZMA_REQUIRED_INPUT_MAX; + p->buf = src; + if (LzmaDec_DecodeReal2(p, dicLimit, bufLimit) != 0) + return SZ_ERROR_DATA; + processed = p->buf - src; + (*srcLen) += processed; + src += processed; + inSize -= processed; + } + else + { + unsigned rem = p->tempBufSize, lookAhead = 0; + while (rem < LZMA_REQUIRED_INPUT_MAX && lookAhead < inSize) + p->tempBuf[rem++] = src[lookAhead++]; + p->tempBufSize = rem; + if (rem < LZMA_REQUIRED_INPUT_MAX || checkEndMarkNow) + { + int dummyRes = LzmaDec_TryDummy(p, p->tempBuf, rem); + if (dummyRes == DUMMY_ERROR) + { + (*srcLen) += lookAhead; + *status = LZMA_STATUS_NEEDS_MORE_INPUT; + return SZ_OK; + } + if (checkEndMarkNow && dummyRes != DUMMY_MATCH) + { + *status = LZMA_STATUS_NOT_FINISHED; + return SZ_ERROR_DATA; + } + } + p->buf = p->tempBuf; + if (LzmaDec_DecodeReal2(p, dicLimit, p->buf) != 0) + return SZ_ERROR_DATA; + lookAhead -= (rem - (unsigned)(p->buf - p->tempBuf)); + (*srcLen) += lookAhead; + src += lookAhead; + inSize -= lookAhead; + p->tempBufSize = 0; + } + } + if (p->code == 0) + *status = LZMA_STATUS_FINISHED_WITH_MARK; + return (p->code == 0) ? SZ_OK : SZ_ERROR_DATA; +} + +SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) +{ + SizeT outSize = *destLen; + SizeT inSize = *srcLen; + *srcLen = *destLen = 0; + for (;;) + { + SizeT inSizeCur = inSize, outSizeCur, dicPos; + ELzmaFinishMode curFinishMode; + SRes res; + if (p->dicPos == p->dicBufSize) + p->dicPos = 0; + dicPos = p->dicPos; + if (outSize > p->dicBufSize - dicPos) + { + outSizeCur = p->dicBufSize; + curFinishMode = LZMA_FINISH_ANY; + } + else + { + outSizeCur = dicPos + outSize; + curFinishMode = finishMode; + } + + res = LzmaDec_DecodeToDic(p, outSizeCur, src, &inSizeCur, curFinishMode, status); + src += inSizeCur; + inSize -= inSizeCur; + *srcLen += inSizeCur; + outSizeCur = p->dicPos - dicPos; + memcpy(dest, p->dic + dicPos, outSizeCur); + dest += outSizeCur; + outSize -= outSizeCur; + *destLen += outSizeCur; + if (res != 0) + return res; + if (outSizeCur == 0 || outSize == 0) + return SZ_OK; + } +} + +void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc) +{ + alloc->Free(alloc, p->probs); + p->probs = 0; +} + +static void LzmaDec_FreeDict(CLzmaDec *p, ISzAlloc *alloc) +{ + alloc->Free(alloc, p->dic); + p->dic = 0; +} + +void LzmaDec_Free(CLzmaDec *p, ISzAlloc *alloc) +{ + LzmaDec_FreeProbs(p, alloc); + LzmaDec_FreeDict(p, alloc); +} + +SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size) +{ + UInt32 dicSize; + Byte d; + + if (size < LZMA_PROPS_SIZE) + return SZ_ERROR_UNSUPPORTED; + else + dicSize = data[1] | ((UInt32)data[2] << 8) | ((UInt32)data[3] << 16) | ((UInt32)data[4] << 24); + + if (dicSize < LZMA_DIC_MIN) + dicSize = LZMA_DIC_MIN; + p->dicSize = dicSize; + + d = data[0]; + if (d >= (9 * 5 * 5)) + return SZ_ERROR_UNSUPPORTED; + + p->lc = d % 9; + d /= 9; + p->pb = d / 5; + p->lp = d % 5; + + return SZ_OK; +} + +static SRes LzmaDec_AllocateProbs2(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc) +{ + UInt32 numProbs = LzmaProps_GetNumProbs(propNew); + if (p->probs == 0 || numProbs != p->numProbs) + { + LzmaDec_FreeProbs(p, alloc); + p->probs = (CLzmaProb *)alloc->Alloc(alloc, numProbs * sizeof(CLzmaProb)); + p->numProbs = numProbs; + if (p->probs == 0) + return SZ_ERROR_MEM; + } + return SZ_OK; +} + +SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) +{ + CLzmaProps propNew; + RINOK(LzmaProps_Decode(&propNew, props, propsSize)); + RINOK(LzmaDec_AllocateProbs2(p, &propNew, alloc)); + p->prop = propNew; + return SZ_OK; +} + +SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) +{ + CLzmaProps propNew; + SizeT dicBufSize; + RINOK(LzmaProps_Decode(&propNew, props, propsSize)); + RINOK(LzmaDec_AllocateProbs2(p, &propNew, alloc)); + dicBufSize = propNew.dicSize; + if (p->dic == 0 || dicBufSize != p->dicBufSize) + { + LzmaDec_FreeDict(p, alloc); + p->dic = (Byte *)alloc->Alloc(alloc, dicBufSize); + if (p->dic == 0) + { + LzmaDec_FreeProbs(p, alloc); + return SZ_ERROR_MEM; + } + } + p->dicBufSize = dicBufSize; + p->prop = propNew; + return SZ_OK; +} + +SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, + const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode, + ELzmaStatus *status, ISzAlloc *alloc) +{ + CLzmaDec p; + SRes res; + SizeT inSize = *srcLen; + SizeT outSize = *destLen; + *srcLen = *destLen = 0; + if (inSize < RC_INIT_SIZE) + return SZ_ERROR_INPUT_EOF; + + LzmaDec_Construct(&p); + res = LzmaDec_AllocateProbs(&p, propData, propSize, alloc); + if (res != 0) + return res; + p.dic = dest; + p.dicBufSize = outSize; + + LzmaDec_Init(&p); + + *srcLen = inSize; + res = LzmaDec_DecodeToDic(&p, outSize, src, srcLen, finishMode, status); + + if (res == SZ_OK && *status == LZMA_STATUS_NEEDS_MORE_INPUT) + res = SZ_ERROR_INPUT_EOF; + + (*destLen) = p.dicPos; + LzmaDec_FreeProbs(&p, alloc); + return res; +} diff --git a/grub-core/lib/LzmaEnc.c b/grub-core/lib/LzmaEnc.c new file mode 100644 index 0000000..01ffa91 --- /dev/null +++ b/grub-core/lib/LzmaEnc.c @@ -0,0 +1,2357 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (c) 1999-2008 Igor Pavlov + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* + * This code was taken from LZMA SDK 4.58 beta, and was slightly modified + * to adapt it to GRUB's requirement. + * + * See , for more information about LZMA. + */ + +#include + +#include +#include + +#include + +#include +#ifdef COMPRESS_MF_MT +#include +#endif + +/* #define SHOW_STAT */ +/* #define SHOW_STAT2 */ + +#ifdef SHOW_STAT +static int ttt = 0; +#endif + +#define kBlockSizeMax ((1 << LZMA_NUM_BLOCK_SIZE_BITS) - 1) + +#define kBlockSize (9 << 10) +#define kUnpackBlockSize (1 << 18) +#define kMatchArraySize (1 << 21) +#define kMatchRecordMaxSize ((LZMA_MATCH_LEN_MAX * 2 + 3) * LZMA_MATCH_LEN_MAX) + +#define kNumMaxDirectBits (31) + +#define kNumTopBits 24 +#define kTopValue ((UInt32)1 << kNumTopBits) + +#define kNumBitModelTotalBits 11 +#define kBitModelTotal (1 << kNumBitModelTotalBits) +#define kNumMoveBits 5 +#define kProbInitValue (kBitModelTotal >> 1) + +#define kNumMoveReducingBits 4 +#define kNumBitPriceShiftBits 4 +#define kBitPrice (1 << kNumBitPriceShiftBits) + +void LzmaEncProps_Init(CLzmaEncProps *p) +{ + p->level = 5; + p->dictSize = p->mc = 0; + p->lc = p->lp = p->pb = p->algo = p->fb = p->btMode = p->numHashBytes = p->numThreads = -1; + p->writeEndMark = 0; +} + +void LzmaEncProps_Normalize(CLzmaEncProps *p) +{ + int level = p->level; + if (level < 0) level = 5; + p->level = level; + if (p->dictSize == 0) p->dictSize = (level <= 5 ? (1 << (level * 2 + 14)) : (level == 6 ? (1 << 25) : (1 << 26))); + if (p->lc < 0) p->lc = 3; + if (p->lp < 0) p->lp = 0; + if (p->pb < 0) p->pb = 2; + if (p->algo < 0) p->algo = (level < 5 ? 0 : 1); + if (p->fb < 0) p->fb = (level < 7 ? 32 : 64); + if (p->btMode < 0) p->btMode = (p->algo == 0 ? 0 : 1); + if (p->numHashBytes < 0) p->numHashBytes = 4; + if (p->mc == 0) p->mc = (16 + (p->fb >> 1)) >> (p->btMode ? 0 : 1); + if (p->numThreads < 0) p->numThreads = ((p->btMode && p->algo) ? 2 : 1); +} + +UInt32 LzmaEncProps_GetDictSize(const CLzmaEncProps *props2) +{ + CLzmaEncProps props = *props2; + LzmaEncProps_Normalize(&props); + return props.dictSize; +} + +/* #define LZMA_LOG_BSR */ +/* Define it for Intel's CPU */ + + +#ifdef LZMA_LOG_BSR + +#define kDicLogSizeMaxCompress 30 + +#define BSR2_RET(pos, res) { unsigned long i; _BitScanReverse(&i, (pos)); res = (i + i) + ((pos >> (i - 1)) & 1); } + +UInt32 GetPosSlot1(UInt32 pos) +{ + UInt32 res; + BSR2_RET(pos, res); + return res; +} +#define GetPosSlot2(pos, res) { BSR2_RET(pos, res); } +#define GetPosSlot(pos, res) { if (pos < 2) res = pos; else BSR2_RET(pos, res); } + +#else + +#define kNumLogBits (9 + (int)sizeof(size_t) / 2) +#define kDicLogSizeMaxCompress ((kNumLogBits - 1) * 2 + 7) + +void LzmaEnc_FastPosInit(Byte *g_FastPos) +{ + int c = 2, slotFast; + g_FastPos[0] = 0; + g_FastPos[1] = 1; + + for (slotFast = 2; slotFast < kNumLogBits * 2; slotFast++) + { + UInt32 k = (1 << ((slotFast >> 1) - 1)); + UInt32 j; + for (j = 0; j < k; j++, c++) + g_FastPos[c] = (Byte)slotFast; + } +} + +#define BSR2_RET(pos, res) { UInt32 i = 6 + ((kNumLogBits - 1) & \ + (0 - (((((UInt32)1 << (kNumLogBits + 6)) - 1) - pos) >> 31))); \ + res = p->g_FastPos[pos >> i] + (i * 2); } +/* +#define BSR2_RET(pos, res) { res = (pos < (1 << (kNumLogBits + 6))) ? \ + p->g_FastPos[pos >> 6] + 12 : \ + p->g_FastPos[pos >> (6 + kNumLogBits - 1)] + (6 + (kNumLogBits - 1)) * 2; } +*/ + +#define GetPosSlot1(pos) p->g_FastPos[pos] +#define GetPosSlot2(pos, res) { BSR2_RET(pos, res); } +#define GetPosSlot(pos, res) { if (pos < kNumFullDistances) res = p->g_FastPos[pos]; else BSR2_RET(pos, res); } + +#endif + + +#define LZMA_NUM_REPS 4 + +typedef unsigned CState; + +typedef struct _COptimal +{ + UInt32 price; + + CState state; + int prev1IsChar; + int prev2; + + UInt32 posPrev2; + UInt32 backPrev2; + + UInt32 posPrev; + UInt32 backPrev; + UInt32 backs[LZMA_NUM_REPS]; +} COptimal; + +#define kNumOpts (1 << 12) + +#define kNumLenToPosStates 4 +#define kNumPosSlotBits 6 +#define kDicLogSizeMin 0 +#define kDicLogSizeMax 32 +#define kDistTableSizeMax (kDicLogSizeMax * 2) + + +#define kNumAlignBits 4 +#define kAlignTableSize (1 << kNumAlignBits) +#define kAlignMask (kAlignTableSize - 1) + +#define kStartPosModelIndex 4 +#define kEndPosModelIndex 14 +#define kNumPosModels (kEndPosModelIndex - kStartPosModelIndex) + +#define kNumFullDistances (1 << (kEndPosModelIndex / 2)) + +#ifdef _LZMA_PROB32 +#define CLzmaProb UInt32 +#else +#define CLzmaProb UInt16 +#endif + +#define LZMA_PB_MAX 4 +#define LZMA_LC_MAX 8 +#define LZMA_LP_MAX 4 + +#define LZMA_NUM_PB_STATES_MAX (1 << LZMA_PB_MAX) + + +#define kLenNumLowBits 3 +#define kLenNumLowSymbols (1 << kLenNumLowBits) +#define kLenNumMidBits 3 +#define kLenNumMidSymbols (1 << kLenNumMidBits) +#define kLenNumHighBits 8 +#define kLenNumHighSymbols (1 << kLenNumHighBits) + +#define kLenNumSymbolsTotal (kLenNumLowSymbols + kLenNumMidSymbols + kLenNumHighSymbols) + +#define LZMA_MATCH_LEN_MIN 2 +#define LZMA_MATCH_LEN_MAX (LZMA_MATCH_LEN_MIN + kLenNumSymbolsTotal - 1) + +#define kNumStates 12 + +typedef struct +{ + CLzmaProb choice; + CLzmaProb choice2; + CLzmaProb low[LZMA_NUM_PB_STATES_MAX << kLenNumLowBits]; + CLzmaProb mid[LZMA_NUM_PB_STATES_MAX << kLenNumMidBits]; + CLzmaProb high[kLenNumHighSymbols]; +} CLenEnc; + +typedef struct +{ + CLenEnc p; + UInt32 prices[LZMA_NUM_PB_STATES_MAX][kLenNumSymbolsTotal]; + UInt32 tableSize; + UInt32 counters[LZMA_NUM_PB_STATES_MAX]; +} CLenPriceEnc; + +typedef struct _CRangeEnc +{ + UInt32 range; + Byte cache; + UInt64 low; + UInt64 cacheSize; + Byte *buf; + Byte *bufLim; + Byte *bufBase; + ISeqOutStream *outStream; + UInt64 processed; + SRes res; +} CRangeEnc; + +typedef struct _CSeqInStreamBuf +{ + ISeqInStream funcTable; + const Byte *data; + SizeT rem; +} CSeqInStreamBuf; + +static SRes MyRead(void *pp, void *data, size_t *size) +{ + size_t curSize = *size; + CSeqInStreamBuf *p = (CSeqInStreamBuf *)pp; + if (p->rem < curSize) + curSize = p->rem; + memcpy(data, p->data, curSize); + p->rem -= curSize; + p->data += curSize; + *size = curSize; + return SZ_OK; +} + +typedef struct +{ + CLzmaProb *litProbs; + + CLzmaProb isMatch[kNumStates][LZMA_NUM_PB_STATES_MAX]; + CLzmaProb isRep[kNumStates]; + CLzmaProb isRepG0[kNumStates]; + CLzmaProb isRepG1[kNumStates]; + CLzmaProb isRepG2[kNumStates]; + CLzmaProb isRep0Long[kNumStates][LZMA_NUM_PB_STATES_MAX]; + + CLzmaProb posSlotEncoder[kNumLenToPosStates][1 << kNumPosSlotBits]; + CLzmaProb posEncoders[kNumFullDistances - kEndPosModelIndex]; + CLzmaProb posAlignEncoder[1 << kNumAlignBits]; + + CLenPriceEnc lenEnc; + CLenPriceEnc repLenEnc; + + UInt32 reps[LZMA_NUM_REPS]; + UInt32 state; +} CSaveState; + +typedef struct _CLzmaEnc +{ + IMatchFinder matchFinder; + void *matchFinderObj; + + #ifdef COMPRESS_MF_MT + Bool mtMode; + CMatchFinderMt matchFinderMt; + #endif + + CMatchFinder matchFinderBase; + + #ifdef COMPRESS_MF_MT + Byte pad[128]; + #endif + + UInt32 optimumEndIndex; + UInt32 optimumCurrentIndex; + + Bool longestMatchWasFound; + UInt32 longestMatchLength; + UInt32 numDistancePairs; + + COptimal opt[kNumOpts]; + + #ifndef LZMA_LOG_BSR + Byte g_FastPos[1 << kNumLogBits]; + #endif + + UInt32 ProbPrices[kBitModelTotal >> kNumMoveReducingBits]; + UInt32 matchDistances[LZMA_MATCH_LEN_MAX * 2 + 2 + 1]; + UInt32 numFastBytes; + UInt32 additionalOffset; + UInt32 reps[LZMA_NUM_REPS]; + UInt32 state; + + UInt32 posSlotPrices[kNumLenToPosStates][kDistTableSizeMax]; + UInt32 distancesPrices[kNumLenToPosStates][kNumFullDistances]; + UInt32 alignPrices[kAlignTableSize]; + UInt32 alignPriceCount; + + UInt32 distTableSize; + + unsigned lc, lp, pb; + unsigned lpMask, pbMask; + + CLzmaProb *litProbs; + + CLzmaProb isMatch[kNumStates][LZMA_NUM_PB_STATES_MAX]; + CLzmaProb isRep[kNumStates]; + CLzmaProb isRepG0[kNumStates]; + CLzmaProb isRepG1[kNumStates]; + CLzmaProb isRepG2[kNumStates]; + CLzmaProb isRep0Long[kNumStates][LZMA_NUM_PB_STATES_MAX]; + + CLzmaProb posSlotEncoder[kNumLenToPosStates][1 << kNumPosSlotBits]; + CLzmaProb posEncoders[kNumFullDistances - kEndPosModelIndex]; + CLzmaProb posAlignEncoder[1 << kNumAlignBits]; + + CLenPriceEnc lenEnc; + CLenPriceEnc repLenEnc; + + unsigned lclp; + + Bool fastMode; + + CRangeEnc rc; + + Bool writeEndMark; + UInt64 nowPos64; + UInt32 matchPriceCount; + Bool finished; + Bool multiThread; + + SRes result; + UInt32 dictSize; + UInt32 matchFinderCycles; + + ISeqInStream *inStream; + CSeqInStreamBuf seqBufInStream; + + CSaveState saveState; +} CLzmaEnc; + +void LzmaEnc_SaveState(CLzmaEncHandle pp) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + CSaveState *dest = &p->saveState; + int i; + dest->lenEnc = p->lenEnc; + dest->repLenEnc = p->repLenEnc; + dest->state = p->state; + + for (i = 0; i < kNumStates; i++) + { + memcpy(dest->isMatch[i], p->isMatch[i], sizeof(p->isMatch[i])); + memcpy(dest->isRep0Long[i], p->isRep0Long[i], sizeof(p->isRep0Long[i])); + } + for (i = 0; i < kNumLenToPosStates; i++) + memcpy(dest->posSlotEncoder[i], p->posSlotEncoder[i], sizeof(p->posSlotEncoder[i])); + memcpy(dest->isRep, p->isRep, sizeof(p->isRep)); + memcpy(dest->isRepG0, p->isRepG0, sizeof(p->isRepG0)); + memcpy(dest->isRepG1, p->isRepG1, sizeof(p->isRepG1)); + memcpy(dest->isRepG2, p->isRepG2, sizeof(p->isRepG2)); + memcpy(dest->posEncoders, p->posEncoders, sizeof(p->posEncoders)); + memcpy(dest->posAlignEncoder, p->posAlignEncoder, sizeof(p->posAlignEncoder)); + memcpy(dest->reps, p->reps, sizeof(p->reps)); + memcpy(dest->litProbs, p->litProbs, (0x300 << p->lclp) * sizeof(CLzmaProb)); +} + +void LzmaEnc_RestoreState(CLzmaEncHandle pp) +{ + CLzmaEnc *dest = (CLzmaEnc *)pp; + const CSaveState *p = &dest->saveState; + int i; + dest->lenEnc = p->lenEnc; + dest->repLenEnc = p->repLenEnc; + dest->state = p->state; + + for (i = 0; i < kNumStates; i++) + { + memcpy(dest->isMatch[i], p->isMatch[i], sizeof(p->isMatch[i])); + memcpy(dest->isRep0Long[i], p->isRep0Long[i], sizeof(p->isRep0Long[i])); + } + for (i = 0; i < kNumLenToPosStates; i++) + memcpy(dest->posSlotEncoder[i], p->posSlotEncoder[i], sizeof(p->posSlotEncoder[i])); + memcpy(dest->isRep, p->isRep, sizeof(p->isRep)); + memcpy(dest->isRepG0, p->isRepG0, sizeof(p->isRepG0)); + memcpy(dest->isRepG1, p->isRepG1, sizeof(p->isRepG1)); + memcpy(dest->isRepG2, p->isRepG2, sizeof(p->isRepG2)); + memcpy(dest->posEncoders, p->posEncoders, sizeof(p->posEncoders)); + memcpy(dest->posAlignEncoder, p->posAlignEncoder, sizeof(p->posAlignEncoder)); + memcpy(dest->reps, p->reps, sizeof(p->reps)); + memcpy(dest->litProbs, p->litProbs, (0x300 << dest->lclp) * sizeof(CLzmaProb)); +} + +SRes LzmaEnc_SetProps(CLzmaEncHandle pp, const CLzmaEncProps *props2) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + CLzmaEncProps props = *props2; + LzmaEncProps_Normalize(&props); + + if (props.lc > LZMA_LC_MAX || props.lp > LZMA_LP_MAX || props.pb > LZMA_PB_MAX || + props.dictSize > (1U << kDicLogSizeMaxCompress) || props.dictSize > (1 << 30)) + return SZ_ERROR_PARAM; + p->dictSize = props.dictSize; + p->matchFinderCycles = props.mc; + { + unsigned fb = props.fb; + if (fb < 5) + fb = 5; + if (fb > LZMA_MATCH_LEN_MAX) + fb = LZMA_MATCH_LEN_MAX; + p->numFastBytes = fb; + } + p->lc = props.lc; + p->lp = props.lp; + p->pb = props.pb; + p->fastMode = (props.algo == 0); + p->matchFinderBase.btMode = props.btMode; + { + UInt32 numHashBytes = 4; + if (props.btMode) + { + if (props.numHashBytes < 2) + numHashBytes = 2; + else if (props.numHashBytes < 4) + numHashBytes = props.numHashBytes; + } + p->matchFinderBase.numHashBytes = numHashBytes; + } + + p->matchFinderBase.cutValue = props.mc; + + p->writeEndMark = props.writeEndMark; + + #ifdef COMPRESS_MF_MT + /* + if (newMultiThread != _multiThread) + { + ReleaseMatchFinder(); + _multiThread = newMultiThread; + } + */ + p->multiThread = (props.numThreads > 1); + #endif + + return SZ_OK; +} + +static const int kLiteralNextStates[kNumStates] = {0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 4, 5}; +static const int kMatchNextStates[kNumStates] = {7, 7, 7, 7, 7, 7, 7, 10, 10, 10, 10, 10}; +static const int kRepNextStates[kNumStates] = {8, 8, 8, 8, 8, 8, 8, 11, 11, 11, 11, 11}; +static const int kShortRepNextStates[kNumStates]= {9, 9, 9, 9, 9, 9, 9, 11, 11, 11, 11, 11}; + +/* + void UpdateChar() { Index = kLiteralNextStates[Index]; } + void UpdateMatch() { Index = kMatchNextStates[Index]; } + void UpdateRep() { Index = kRepNextStates[Index]; } + void UpdateShortRep() { Index = kShortRepNextStates[Index]; } +*/ + +#define IsCharState(s) ((s) < 7) + + +#define GetLenToPosState(len) (((len) < kNumLenToPosStates + 1) ? (len) - 2 : kNumLenToPosStates - 1) + +#define kInfinityPrice (1 << 30) + +static void RangeEnc_Construct(CRangeEnc *p) +{ + p->outStream = 0; + p->bufBase = 0; +} + +#define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize) + +#define RC_BUF_SIZE (1 << 16) +static int RangeEnc_Alloc(CRangeEnc *p, ISzAlloc *alloc) +{ + if (p->bufBase == 0) + { + p->bufBase = (Byte *)alloc->Alloc(alloc, RC_BUF_SIZE); + if (p->bufBase == 0) + return 0; + p->bufLim = p->bufBase + RC_BUF_SIZE; + } + return 1; +} + +static void RangeEnc_Free(CRangeEnc *p, ISzAlloc *alloc) +{ + alloc->Free(alloc, p->bufBase); + p->bufBase = 0; +} + +static void RangeEnc_Init(CRangeEnc *p) +{ + /* Stream.Init(); */ + p->low = 0; + p->range = 0xFFFFFFFF; + p->cacheSize = 1; + p->cache = 0; + + p->buf = p->bufBase; + + p->processed = 0; + p->res = SZ_OK; +} + +static void RangeEnc_FlushStream(CRangeEnc *p) +{ + size_t num; + if (p->res != SZ_OK) + return; + num = p->buf - p->bufBase; + if (num != p->outStream->Write(p->outStream, p->bufBase, num)) + p->res = SZ_ERROR_WRITE; + p->processed += num; + p->buf = p->bufBase; +} + +static void MY_FAST_CALL RangeEnc_ShiftLow(CRangeEnc *p) +{ + if ((UInt32)p->low < (UInt32)0xFF000000 || (int)(p->low >> 32) != 0) + { + Byte temp = p->cache; + do + { + Byte *buf = p->buf; + *buf++ = (Byte)(temp + (Byte)(p->low >> 32)); + p->buf = buf; + if (buf == p->bufLim) + RangeEnc_FlushStream(p); + temp = 0xFF; + } + while (--p->cacheSize != 0); + p->cache = (Byte)((UInt32)p->low >> 24); + } + p->cacheSize++; + p->low = (UInt32)p->low << 8; +} + +static void RangeEnc_FlushData(CRangeEnc *p) +{ + int i; + for (i = 0; i < 5; i++) + RangeEnc_ShiftLow(p); +} + +static void RangeEnc_EncodeDirectBits(CRangeEnc *p, UInt32 value, int numBits) +{ + do + { + p->range >>= 1; + p->low += p->range & (0 - ((value >> --numBits) & 1)); + if (p->range < kTopValue) + { + p->range <<= 8; + RangeEnc_ShiftLow(p); + } + } + while (numBits != 0); +} + +static void RangeEnc_EncodeBit(CRangeEnc *p, CLzmaProb *prob, UInt32 symbol) +{ + UInt32 ttt = *prob; + UInt32 newBound = (p->range >> kNumBitModelTotalBits) * ttt; + if (symbol == 0) + { + p->range = newBound; + ttt += (kBitModelTotal - ttt) >> kNumMoveBits; + } + else + { + p->low += newBound; + p->range -= newBound; + ttt -= ttt >> kNumMoveBits; + } + *prob = (CLzmaProb)ttt; + if (p->range < kTopValue) + { + p->range <<= 8; + RangeEnc_ShiftLow(p); + } +} + +static void LitEnc_Encode(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol) +{ + symbol |= 0x100; + do + { + RangeEnc_EncodeBit(p, probs + (symbol >> 8), (symbol >> 7) & 1); + symbol <<= 1; + } + while (symbol < 0x10000); +} + +static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) +{ + UInt32 offs = 0x100; + symbol |= 0x100; + do + { + matchByte <<= 1; + RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); + symbol <<= 1; + offs &= ~(matchByte ^ symbol); + } + while (symbol < 0x10000); +} + +void LzmaEnc_InitPriceTables(UInt32 *ProbPrices) +{ + UInt32 i; + for (i = (1 << kNumMoveReducingBits) / 2; i < kBitModelTotal; i += (1 << kNumMoveReducingBits)) + { + const int kCyclesBits = kNumBitPriceShiftBits; + UInt32 w = i; + UInt32 bitCount = 0; + int j; + for (j = 0; j < kCyclesBits; j++) + { + w = w * w; + bitCount <<= 1; + while (w >= ((UInt32)1 << 16)) + { + w >>= 1; + bitCount++; + } + } + ProbPrices[i >> kNumMoveReducingBits] = ((kNumBitModelTotalBits << kCyclesBits) - 15 - bitCount); + } +} + + +#define GET_PRICE(prob, symbol) \ + p->ProbPrices[((prob) ^ (((-(int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits]; + +#define GET_PRICEa(prob, symbol) \ + ProbPrices[((prob) ^ ((-((int)(symbol))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits]; + +#define GET_PRICE_0(prob) p->ProbPrices[(prob) >> kNumMoveReducingBits] +#define GET_PRICE_1(prob) p->ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits] + +#define GET_PRICE_0a(prob) ProbPrices[(prob) >> kNumMoveReducingBits] +#define GET_PRICE_1a(prob) ProbPrices[((prob) ^ (kBitModelTotal - 1)) >> kNumMoveReducingBits] + +static UInt32 LitEnc_GetPrice(const CLzmaProb *probs, UInt32 symbol, UInt32 *ProbPrices) +{ + UInt32 price = 0; + symbol |= 0x100; + do + { + price += GET_PRICEa(probs[symbol >> 8], (symbol >> 7) & 1); + symbol <<= 1; + } + while (symbol < 0x10000); + return price; +}; + +static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt32 *ProbPrices) +{ + UInt32 price = 0; + UInt32 offs = 0x100; + symbol |= 0x100; + do + { + matchByte <<= 1; + price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); + symbol <<= 1; + offs &= ~(matchByte ^ symbol); + } + while (symbol < 0x10000); + return price; +}; + + +static void RcTree_Encode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) +{ + UInt32 m = 1; + int i; + for (i = numBitLevels; i != 0 ;) + { + UInt32 bit; + i--; + bit = (symbol >> i) & 1; + RangeEnc_EncodeBit(rc, probs + m, bit); + m = (m << 1) | bit; + } +}; + +static void RcTree_ReverseEncode(CRangeEnc *rc, CLzmaProb *probs, int numBitLevels, UInt32 symbol) +{ + UInt32 m = 1; + int i; + for (i = 0; i < numBitLevels; i++) + { + UInt32 bit = symbol & 1; + RangeEnc_EncodeBit(rc, probs + m, bit); + m = (m << 1) | bit; + symbol >>= 1; + } +} + +static UInt32 RcTree_GetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices) +{ + UInt32 price = 0; + symbol |= (1 << numBitLevels); + while (symbol != 1) + { + price += GET_PRICEa(probs[symbol >> 1], symbol & 1); + symbol >>= 1; + } + return price; +} + +static UInt32 RcTree_ReverseGetPrice(const CLzmaProb *probs, int numBitLevels, UInt32 symbol, UInt32 *ProbPrices) +{ + UInt32 price = 0; + UInt32 m = 1; + int i; + for (i = numBitLevels; i != 0; i--) + { + UInt32 bit = symbol & 1; + symbol >>= 1; + price += GET_PRICEa(probs[m], bit); + m = (m << 1) | bit; + } + return price; +} + + +static void LenEnc_Init(CLenEnc *p) +{ + unsigned i; + p->choice = p->choice2 = kProbInitValue; + for (i = 0; i < (LZMA_NUM_PB_STATES_MAX << kLenNumLowBits); i++) + p->low[i] = kProbInitValue; + for (i = 0; i < (LZMA_NUM_PB_STATES_MAX << kLenNumMidBits); i++) + p->mid[i] = kProbInitValue; + for (i = 0; i < kLenNumHighSymbols; i++) + p->high[i] = kProbInitValue; +} + +static void LenEnc_Encode(CLenEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState) +{ + if (symbol < kLenNumLowSymbols) + { + RangeEnc_EncodeBit(rc, &p->choice, 0); + RcTree_Encode(rc, p->low + (posState << kLenNumLowBits), kLenNumLowBits, symbol); + } + else + { + RangeEnc_EncodeBit(rc, &p->choice, 1); + if (symbol < kLenNumLowSymbols + kLenNumMidSymbols) + { + RangeEnc_EncodeBit(rc, &p->choice2, 0); + RcTree_Encode(rc, p->mid + (posState << kLenNumMidBits), kLenNumMidBits, symbol - kLenNumLowSymbols); + } + else + { + RangeEnc_EncodeBit(rc, &p->choice2, 1); + RcTree_Encode(rc, p->high, kLenNumHighBits, symbol - kLenNumLowSymbols - kLenNumMidSymbols); + } + } +} + +static void LenEnc_SetPrices(CLenEnc *p, UInt32 posState, UInt32 numSymbols, UInt32 *prices, UInt32 *ProbPrices) +{ + UInt32 a0 = GET_PRICE_0a(p->choice); + UInt32 a1 = GET_PRICE_1a(p->choice); + UInt32 b0 = a1 + GET_PRICE_0a(p->choice2); + UInt32 b1 = a1 + GET_PRICE_1a(p->choice2); + UInt32 i = 0; + for (i = 0; i < kLenNumLowSymbols; i++) + { + if (i >= numSymbols) + return; + prices[i] = a0 + RcTree_GetPrice(p->low + (posState << kLenNumLowBits), kLenNumLowBits, i, ProbPrices); + } + for (; i < kLenNumLowSymbols + kLenNumMidSymbols; i++) + { + if (i >= numSymbols) + return; + prices[i] = b0 + RcTree_GetPrice(p->mid + (posState << kLenNumMidBits), kLenNumMidBits, i - kLenNumLowSymbols, ProbPrices); + } + for (; i < numSymbols; i++) + prices[i] = b1 + RcTree_GetPrice(p->high, kLenNumHighBits, i - kLenNumLowSymbols - kLenNumMidSymbols, ProbPrices); +} + +static void MY_FAST_CALL LenPriceEnc_UpdateTable(CLenPriceEnc *p, UInt32 posState, UInt32 *ProbPrices) +{ + LenEnc_SetPrices(&p->p, posState, p->tableSize, p->prices[posState], ProbPrices); + p->counters[posState] = p->tableSize; +} + +static void LenPriceEnc_UpdateTables(CLenPriceEnc *p, UInt32 numPosStates, UInt32 *ProbPrices) +{ + UInt32 posState; + for (posState = 0; posState < numPosStates; posState++) + LenPriceEnc_UpdateTable(p, posState, ProbPrices); +} + +static void LenEnc_Encode2(CLenPriceEnc *p, CRangeEnc *rc, UInt32 symbol, UInt32 posState, Bool updatePrice, UInt32 *ProbPrices) +{ + LenEnc_Encode(&p->p, rc, symbol, posState); + if (updatePrice) + if (--p->counters[posState] == 0) + LenPriceEnc_UpdateTable(p, posState, ProbPrices); +} + + + + +static void MovePos(CLzmaEnc *p, UInt32 num) +{ + #ifdef SHOW_STAT + ttt += num; + printf("\n MovePos %d", num); + #endif + if (num != 0) + { + p->additionalOffset += num; + p->matchFinder.Skip(p->matchFinderObj, num); + } +} + +static UInt32 ReadMatchDistances(CLzmaEnc *p, UInt32 *numDistancePairsRes) +{ + UInt32 lenRes = 0, numDistancePairs; + numDistancePairs = p->matchFinder.GetMatches(p->matchFinderObj, p->matchDistances); + #ifdef SHOW_STAT + printf("\n i = %d numPairs = %d ", ttt, numDistancePairs / 2); + if (ttt >= 61994) + ttt = ttt; + + ttt++; + { + UInt32 i; + for (i = 0; i < numDistancePairs; i += 2) + printf("%2d %6d | ", p->matchDistances[i], p->matchDistances[i + 1]); + } + #endif + if (numDistancePairs > 0) + { + lenRes = p->matchDistances[numDistancePairs - 2]; + if (lenRes == p->numFastBytes) + { + UInt32 numAvail = p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) + 1; + const Byte *pby = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; + UInt32 distance = p->matchDistances[numDistancePairs - 1] + 1; + if (numAvail > LZMA_MATCH_LEN_MAX) + numAvail = LZMA_MATCH_LEN_MAX; + + { + const Byte *pby2 = pby - distance; + for (; lenRes < numAvail && pby[lenRes] == pby2[lenRes]; lenRes++); + } + } + } + p->additionalOffset++; + *numDistancePairsRes = numDistancePairs; + return lenRes; +} + + +#define MakeAsChar(p) (p)->backPrev = (UInt32)(-1); (p)->prev1IsChar = False; +#define MakeAsShortRep(p) (p)->backPrev = 0; (p)->prev1IsChar = False; +#define IsShortRep(p) ((p)->backPrev == 0) + +static UInt32 GetRepLen1Price(CLzmaEnc *p, UInt32 state, UInt32 posState) +{ + return + GET_PRICE_0(p->isRepG0[state]) + + GET_PRICE_0(p->isRep0Long[state][posState]); +} + +static UInt32 GetPureRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 state, UInt32 posState) +{ + UInt32 price; + if (repIndex == 0) + { + price = GET_PRICE_0(p->isRepG0[state]); + price += GET_PRICE_1(p->isRep0Long[state][posState]); + } + else + { + price = GET_PRICE_1(p->isRepG0[state]); + if (repIndex == 1) + price += GET_PRICE_0(p->isRepG1[state]); + else + { + price += GET_PRICE_1(p->isRepG1[state]); + price += GET_PRICE(p->isRepG2[state], repIndex - 2); + } + } + return price; +} + +static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) +{ + return p->repLenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN] + + GetPureRepPrice(p, repIndex, state, posState); +} + +static UInt32 Backward(CLzmaEnc *p, UInt32 *backRes, UInt32 cur) +{ + UInt32 posMem = p->opt[cur].posPrev; + UInt32 backMem = p->opt[cur].backPrev; + p->optimumEndIndex = cur; + do + { + if (p->opt[cur].prev1IsChar) + { + MakeAsChar(&p->opt[posMem]) + p->opt[posMem].posPrev = posMem - 1; + if (p->opt[cur].prev2) + { + p->opt[posMem - 1].prev1IsChar = False; + p->opt[posMem - 1].posPrev = p->opt[cur].posPrev2; + p->opt[posMem - 1].backPrev = p->opt[cur].backPrev2; + } + } + { + UInt32 posPrev = posMem; + UInt32 backCur = backMem; + + backMem = p->opt[posPrev].backPrev; + posMem = p->opt[posPrev].posPrev; + + p->opt[posPrev].backPrev = backCur; + p->opt[posPrev].posPrev = cur; + cur = posPrev; + } + } + while (cur != 0); + *backRes = p->opt[0].backPrev; + p->optimumCurrentIndex = p->opt[0].posPrev; + return p->optimumCurrentIndex; +} + +#define LIT_PROBS(pos, prevByte) (p->litProbs + ((((pos) & p->lpMask) << p->lc) + ((prevByte) >> (8 - p->lc))) * 0x300) + +static UInt32 GetOptimum(CLzmaEnc *p, UInt32 position, UInt32 *backRes) +{ + UInt32 numAvailableBytes, lenMain, numDistancePairs; + const Byte *data; + UInt32 reps[LZMA_NUM_REPS]; + UInt32 repLens[LZMA_NUM_REPS]; + UInt32 repMaxIndex, i; + UInt32 *matchDistances; + Byte currentByte, matchByte; + UInt32 posState; + UInt32 matchPrice, repMatchPrice; + UInt32 lenEnd; + UInt32 len; + UInt32 normalMatchPrice; + UInt32 cur; + if (p->optimumEndIndex != p->optimumCurrentIndex) + { + const COptimal *opt = &p->opt[p->optimumCurrentIndex]; + UInt32 lenRes = opt->posPrev - p->optimumCurrentIndex; + *backRes = opt->backPrev; + p->optimumCurrentIndex = opt->posPrev; + return lenRes; + } + p->optimumCurrentIndex = p->optimumEndIndex = 0; + + numAvailableBytes = p->matchFinder.GetNumAvailableBytes(p->matchFinderObj); + + if (!p->longestMatchWasFound) + { + lenMain = ReadMatchDistances(p, &numDistancePairs); + } + else + { + lenMain = p->longestMatchLength; + numDistancePairs = p->numDistancePairs; + p->longestMatchWasFound = False; + } + + data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; + if (numAvailableBytes < 2) + { + *backRes = (UInt32)(-1); + return 1; + } + if (numAvailableBytes > LZMA_MATCH_LEN_MAX) + numAvailableBytes = LZMA_MATCH_LEN_MAX; + + repMaxIndex = 0; + for (i = 0; i < LZMA_NUM_REPS; i++) + { + UInt32 lenTest; + const Byte *data2; + reps[i] = p->reps[i]; + data2 = data - (reps[i] + 1); + if (data[0] != data2[0] || data[1] != data2[1]) + { + repLens[i] = 0; + continue; + } + for (lenTest = 2; lenTest < numAvailableBytes && data[lenTest] == data2[lenTest]; lenTest++); + repLens[i] = lenTest; + if (lenTest > repLens[repMaxIndex]) + repMaxIndex = i; + } + if (repLens[repMaxIndex] >= p->numFastBytes) + { + UInt32 lenRes; + *backRes = repMaxIndex; + lenRes = repLens[repMaxIndex]; + MovePos(p, lenRes - 1); + return lenRes; + } + + matchDistances = p->matchDistances; + if (lenMain >= p->numFastBytes) + { + *backRes = matchDistances[numDistancePairs - 1] + LZMA_NUM_REPS; + MovePos(p, lenMain - 1); + return lenMain; + } + currentByte = *data; + matchByte = *(data - (reps[0] + 1)); + + if (lenMain < 2 && currentByte != matchByte && repLens[repMaxIndex] < 2) + { + *backRes = (UInt32)-1; + return 1; + } + + p->opt[0].state = (CState)p->state; + + posState = (position & p->pbMask); + + { + const CLzmaProb *probs = LIT_PROBS(position, *(data - 1)); + p->opt[1].price = GET_PRICE_0(p->isMatch[p->state][posState]) + + (!IsCharState(p->state) ? + LitEnc_GetPriceMatched(probs, currentByte, matchByte, p->ProbPrices) : + LitEnc_GetPrice(probs, currentByte, p->ProbPrices)); + } + + MakeAsChar(&p->opt[1]); + + matchPrice = GET_PRICE_1(p->isMatch[p->state][posState]); + repMatchPrice = matchPrice + GET_PRICE_1(p->isRep[p->state]); + + if (matchByte == currentByte) + { + UInt32 shortRepPrice = repMatchPrice + GetRepLen1Price(p, p->state, posState); + if (shortRepPrice < p->opt[1].price) + { + p->opt[1].price = shortRepPrice; + MakeAsShortRep(&p->opt[1]); + } + } + lenEnd = ((lenMain >= repLens[repMaxIndex]) ? lenMain : repLens[repMaxIndex]); + + if (lenEnd < 2) + { + *backRes = p->opt[1].backPrev; + return 1; + } + + p->opt[1].posPrev = 0; + for (i = 0; i < LZMA_NUM_REPS; i++) + p->opt[0].backs[i] = reps[i]; + + len = lenEnd; + do + p->opt[len--].price = kInfinityPrice; + while (len >= 2); + + for (i = 0; i < LZMA_NUM_REPS; i++) + { + UInt32 repLen = repLens[i]; + UInt32 price; + if (repLen < 2) + continue; + price = repMatchPrice + GetPureRepPrice(p, i, p->state, posState); + do + { + UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][repLen - 2]; + COptimal *opt = &p->opt[repLen]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = 0; + opt->backPrev = i; + opt->prev1IsChar = False; + } + } + while (--repLen >= 2); + } + + normalMatchPrice = matchPrice + GET_PRICE_0(p->isRep[p->state]); + + len = ((repLens[0] >= 2) ? repLens[0] + 1 : 2); + if (len <= lenMain) + { + UInt32 offs = 0; + while (len > matchDistances[offs]) + offs += 2; + for (; ; len++) + { + COptimal *opt; + UInt32 distance = matchDistances[offs + 1]; + + UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN]; + UInt32 lenToPosState = GetLenToPosState(len); + if (distance < kNumFullDistances) + curAndLenPrice += p->distancesPrices[lenToPosState][distance]; + else + { + UInt32 slot; + GetPosSlot2(distance, slot); + curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; + } + opt = &p->opt[len]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = 0; + opt->backPrev = distance + LZMA_NUM_REPS; + opt->prev1IsChar = False; + } + if (len == matchDistances[offs]) + { + offs += 2; + if (offs == numDistancePairs) + break; + } + } + } + + cur = 0; + + #ifdef SHOW_STAT2 + if (position >= 0) + { + unsigned i; + printf("\n pos = %4X", position); + for (i = cur; i <= lenEnd; i++) + printf("\nprice[%4X] = %d", position - cur + i, p->opt[i].price); + } + #endif + + for (;;) + { + UInt32 numAvailableBytesFull, newLen, numDistancePairs; + COptimal *curOpt; + UInt32 posPrev; + UInt32 state; + UInt32 curPrice; + Bool nextIsChar; + const Byte *data; + Byte currentByte, matchByte; + UInt32 posState; + UInt32 curAnd1Price; + COptimal *nextOpt; + UInt32 matchPrice, repMatchPrice; + UInt32 numAvailableBytes; + UInt32 startLen; + + cur++; + if (cur == lenEnd) + return Backward(p, backRes, cur); + + numAvailableBytesFull = p->matchFinder.GetNumAvailableBytes(p->matchFinderObj); + newLen = ReadMatchDistances(p, &numDistancePairs); + if (newLen >= p->numFastBytes) + { + p->numDistancePairs = numDistancePairs; + p->longestMatchLength = newLen; + p->longestMatchWasFound = True; + return Backward(p, backRes, cur); + } + position++; + curOpt = &p->opt[cur]; + posPrev = curOpt->posPrev; + if (curOpt->prev1IsChar) + { + posPrev--; + if (curOpt->prev2) + { + state = p->opt[curOpt->posPrev2].state; + if (curOpt->backPrev2 < LZMA_NUM_REPS) + state = kRepNextStates[state]; + else + state = kMatchNextStates[state]; + } + else + state = p->opt[posPrev].state; + state = kLiteralNextStates[state]; + } + else + state = p->opt[posPrev].state; + if (posPrev == cur - 1) + { + if (IsShortRep(curOpt)) + state = kShortRepNextStates[state]; + else + state = kLiteralNextStates[state]; + } + else + { + UInt32 pos; + const COptimal *prevOpt; + if (curOpt->prev1IsChar && curOpt->prev2) + { + posPrev = curOpt->posPrev2; + pos = curOpt->backPrev2; + state = kRepNextStates[state]; + } + else + { + pos = curOpt->backPrev; + if (pos < LZMA_NUM_REPS) + state = kRepNextStates[state]; + else + state = kMatchNextStates[state]; + } + prevOpt = &p->opt[posPrev]; + if (pos < LZMA_NUM_REPS) + { + UInt32 i; + reps[0] = prevOpt->backs[pos]; + for (i = 1; i <= pos; i++) + reps[i] = prevOpt->backs[i - 1]; + for (; i < LZMA_NUM_REPS; i++) + reps[i] = prevOpt->backs[i]; + } + else + { + UInt32 i; + reps[0] = (pos - LZMA_NUM_REPS); + for (i = 1; i < LZMA_NUM_REPS; i++) + reps[i] = prevOpt->backs[i - 1]; + } + } + curOpt->state = (CState)state; + + curOpt->backs[0] = reps[0]; + curOpt->backs[1] = reps[1]; + curOpt->backs[2] = reps[2]; + curOpt->backs[3] = reps[3]; + + curPrice = curOpt->price; + nextIsChar = False; + data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; + currentByte = *data; + matchByte = *(data - (reps[0] + 1)); + + posState = (position & p->pbMask); + + curAnd1Price = curPrice + GET_PRICE_0(p->isMatch[state][posState]); + { + const CLzmaProb *probs = LIT_PROBS(position, *(data - 1)); + curAnd1Price += + (!IsCharState(state) ? + LitEnc_GetPriceMatched(probs, currentByte, matchByte, p->ProbPrices) : + LitEnc_GetPrice(probs, currentByte, p->ProbPrices)); + } + + nextOpt = &p->opt[cur + 1]; + + if (curAnd1Price < nextOpt->price) + { + nextOpt->price = curAnd1Price; + nextOpt->posPrev = cur; + MakeAsChar(nextOpt); + nextIsChar = True; + } + + matchPrice = curPrice + GET_PRICE_1(p->isMatch[state][posState]); + repMatchPrice = matchPrice + GET_PRICE_1(p->isRep[state]); + + if (matchByte == currentByte && !(nextOpt->posPrev < cur && nextOpt->backPrev == 0)) + { + UInt32 shortRepPrice = repMatchPrice + GetRepLen1Price(p, state, posState); + if (shortRepPrice <= nextOpt->price) + { + nextOpt->price = shortRepPrice; + nextOpt->posPrev = cur; + MakeAsShortRep(nextOpt); + nextIsChar = True; + } + } + + { + UInt32 temp = kNumOpts - 1 - cur; + if (temp < numAvailableBytesFull) + numAvailableBytesFull = temp; + } + numAvailableBytes = numAvailableBytesFull; + + if (numAvailableBytes < 2) + continue; + if (numAvailableBytes > p->numFastBytes) + numAvailableBytes = p->numFastBytes; + if (!nextIsChar && matchByte != currentByte) /* speed optimization */ + { + /* try Literal + rep0 */ + UInt32 temp; + UInt32 lenTest2; + const Byte *data2 = data - (reps[0] + 1); + UInt32 limit = p->numFastBytes + 1; + if (limit > numAvailableBytesFull) + limit = numAvailableBytesFull; + + for (temp = 1; temp < limit && data[temp] == data2[temp]; temp++); + lenTest2 = temp - 1; + if (lenTest2 >= 2) + { + UInt32 state2 = kLiteralNextStates[state]; + UInt32 posStateNext = (position + 1) & p->pbMask; + UInt32 nextRepMatchPrice = curAnd1Price + + GET_PRICE_1(p->isMatch[state2][posStateNext]) + + GET_PRICE_1(p->isRep[state2]); + /* for (; lenTest2 >= 2; lenTest2--) */ + { + UInt32 curAndLenPrice; + COptimal *opt; + UInt32 offset = cur + 1 + lenTest2; + while (lenEnd < offset) + p->opt[++lenEnd].price = kInfinityPrice; + curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); + opt = &p->opt[offset]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = cur + 1; + opt->backPrev = 0; + opt->prev1IsChar = True; + opt->prev2 = False; + } + } + } + } + + startLen = 2; /* speed optimization */ + { + UInt32 repIndex; + for (repIndex = 0; repIndex < LZMA_NUM_REPS; repIndex++) + { + UInt32 lenTest; + UInt32 lenTestTemp; + UInt32 price; + const Byte *data2 = data - (reps[repIndex] + 1); + if (data[0] != data2[0] || data[1] != data2[1]) + continue; + for (lenTest = 2; lenTest < numAvailableBytes && data[lenTest] == data2[lenTest]; lenTest++); + while (lenEnd < cur + lenTest) + p->opt[++lenEnd].price = kInfinityPrice; + lenTestTemp = lenTest; + price = repMatchPrice + GetPureRepPrice(p, repIndex, state, posState); + do + { + UInt32 curAndLenPrice = price + p->repLenEnc.prices[posState][lenTest - 2]; + COptimal *opt = &p->opt[cur + lenTest]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = cur; + opt->backPrev = repIndex; + opt->prev1IsChar = False; + } + } + while (--lenTest >= 2); + lenTest = lenTestTemp; + + if (repIndex == 0) + startLen = lenTest + 1; + + /* if (_maxMode) */ + { + UInt32 lenTest2 = lenTest + 1; + UInt32 limit = lenTest2 + p->numFastBytes; + UInt32 nextRepMatchPrice; + if (limit > numAvailableBytesFull) + limit = numAvailableBytesFull; + for (; lenTest2 < limit && data[lenTest2] == data2[lenTest2]; lenTest2++); + lenTest2 -= lenTest + 1; + if (lenTest2 >= 2) + { + UInt32 state2 = kRepNextStates[state]; + UInt32 posStateNext = (position + lenTest) & p->pbMask; + UInt32 curAndLenCharPrice = + price + p->repLenEnc.prices[posState][lenTest - 2] + + GET_PRICE_0(p->isMatch[state2][posStateNext]) + + LitEnc_GetPriceMatched(LIT_PROBS(position + lenTest, data[lenTest - 1]), + data[lenTest], data2[lenTest], p->ProbPrices); + state2 = kLiteralNextStates[state2]; + posStateNext = (position + lenTest + 1) & p->pbMask; + nextRepMatchPrice = curAndLenCharPrice + + GET_PRICE_1(p->isMatch[state2][posStateNext]) + + GET_PRICE_1(p->isRep[state2]); + + /* for (; lenTest2 >= 2; lenTest2--) */ + { + UInt32 curAndLenPrice; + COptimal *opt; + UInt32 offset = cur + lenTest + 1 + lenTest2; + while (lenEnd < offset) + p->opt[++lenEnd].price = kInfinityPrice; + curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); + opt = &p->opt[offset]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = cur + lenTest + 1; + opt->backPrev = 0; + opt->prev1IsChar = True; + opt->prev2 = True; + opt->posPrev2 = cur; + opt->backPrev2 = repIndex; + } + } + } + } + } + } + /* for (UInt32 lenTest = 2; lenTest <= newLen; lenTest++) */ + if (newLen > numAvailableBytes) + { + newLen = numAvailableBytes; + for (numDistancePairs = 0; newLen > matchDistances[numDistancePairs]; numDistancePairs += 2); + matchDistances[numDistancePairs] = newLen; + numDistancePairs += 2; + } + if (newLen >= startLen) + { + UInt32 normalMatchPrice = matchPrice + GET_PRICE_0(p->isRep[state]); + UInt32 offs, curBack, posSlot; + UInt32 lenTest; + while (lenEnd < cur + newLen) + p->opt[++lenEnd].price = kInfinityPrice; + + offs = 0; + while (startLen > matchDistances[offs]) + offs += 2; + curBack = matchDistances[offs + 1]; + GetPosSlot2(curBack, posSlot); + for (lenTest = /*2*/ startLen; ; lenTest++) + { + UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][lenTest - LZMA_MATCH_LEN_MIN]; + UInt32 lenToPosState = GetLenToPosState(lenTest); + COptimal *opt; + if (curBack < kNumFullDistances) + curAndLenPrice += p->distancesPrices[lenToPosState][curBack]; + else + curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; + + opt = &p->opt[cur + lenTest]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = cur; + opt->backPrev = curBack + LZMA_NUM_REPS; + opt->prev1IsChar = False; + } + + if (/*_maxMode && */lenTest == matchDistances[offs]) + { + /* Try Match + Literal + Rep0 */ + const Byte *data2 = data - (curBack + 1); + UInt32 lenTest2 = lenTest + 1; + UInt32 limit = lenTest2 + p->numFastBytes; + UInt32 nextRepMatchPrice; + if (limit > numAvailableBytesFull) + limit = numAvailableBytesFull; + for (; lenTest2 < limit && data[lenTest2] == data2[lenTest2]; lenTest2++); + lenTest2 -= lenTest + 1; + if (lenTest2 >= 2) + { + UInt32 state2 = kMatchNextStates[state]; + UInt32 posStateNext = (position + lenTest) & p->pbMask; + UInt32 curAndLenCharPrice = curAndLenPrice + + GET_PRICE_0(p->isMatch[state2][posStateNext]) + + LitEnc_GetPriceMatched(LIT_PROBS(position + lenTest, data[lenTest - 1]), + data[lenTest], data2[lenTest], p->ProbPrices); + state2 = kLiteralNextStates[state2]; + posStateNext = (posStateNext + 1) & p->pbMask; + nextRepMatchPrice = curAndLenCharPrice + + GET_PRICE_1(p->isMatch[state2][posStateNext]) + + GET_PRICE_1(p->isRep[state2]); + + /* for (; lenTest2 >= 2; lenTest2--) */ + { + UInt32 offset = cur + lenTest + 1 + lenTest2; + UInt32 curAndLenPrice; + COptimal *opt; + while (lenEnd < offset) + p->opt[++lenEnd].price = kInfinityPrice; + curAndLenPrice = nextRepMatchPrice + GetRepPrice(p, 0, lenTest2, state2, posStateNext); + opt = &p->opt[offset]; + if (curAndLenPrice < opt->price) + { + opt->price = curAndLenPrice; + opt->posPrev = cur + lenTest + 1; + opt->backPrev = 0; + opt->prev1IsChar = True; + opt->prev2 = True; + opt->posPrev2 = cur; + opt->backPrev2 = curBack + LZMA_NUM_REPS; + } + } + } + offs += 2; + if (offs == numDistancePairs) + break; + curBack = matchDistances[offs + 1]; + if (curBack >= kNumFullDistances) + GetPosSlot2(curBack, posSlot); + } + } + } + } +} + +#define ChangePair(smallDist, bigDist) (((bigDist) >> 7) > (smallDist)) + +static UInt32 GetOptimumFast(CLzmaEnc *p, UInt32 *backRes) +{ + UInt32 numAvailableBytes = p->matchFinder.GetNumAvailableBytes(p->matchFinderObj); + UInt32 lenMain, numDistancePairs; + const Byte *data; + UInt32 repLens[LZMA_NUM_REPS]; + UInt32 repMaxIndex, i; + UInt32 *matchDistances; + UInt32 backMain; + + if (!p->longestMatchWasFound) + { + lenMain = ReadMatchDistances(p, &numDistancePairs); + } + else + { + lenMain = p->longestMatchLength; + numDistancePairs = p->numDistancePairs; + p->longestMatchWasFound = False; + } + + data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; + if (numAvailableBytes > LZMA_MATCH_LEN_MAX) + numAvailableBytes = LZMA_MATCH_LEN_MAX; + if (numAvailableBytes < 2) + { + *backRes = (UInt32)(-1); + return 1; + } + + repMaxIndex = 0; + + for (i = 0; i < LZMA_NUM_REPS; i++) + { + const Byte *data2 = data - (p->reps[i] + 1); + UInt32 len; + if (data[0] != data2[0] || data[1] != data2[1]) + { + repLens[i] = 0; + continue; + } + for (len = 2; len < numAvailableBytes && data[len] == data2[len]; len++); + if (len >= p->numFastBytes) + { + *backRes = i; + MovePos(p, len - 1); + return len; + } + repLens[i] = len; + if (len > repLens[repMaxIndex]) + repMaxIndex = i; + } + matchDistances = p->matchDistances; + if (lenMain >= p->numFastBytes) + { + *backRes = matchDistances[numDistancePairs - 1] + LZMA_NUM_REPS; + MovePos(p, lenMain - 1); + return lenMain; + } + + backMain = 0; /* for GCC */ + if (lenMain >= 2) + { + backMain = matchDistances[numDistancePairs - 1]; + while (numDistancePairs > 2 && lenMain == matchDistances[numDistancePairs - 4] + 1) + { + if (!ChangePair(matchDistances[numDistancePairs - 3], backMain)) + break; + numDistancePairs -= 2; + lenMain = matchDistances[numDistancePairs - 2]; + backMain = matchDistances[numDistancePairs - 1]; + } + if (lenMain == 2 && backMain >= 0x80) + lenMain = 1; + } + + if (repLens[repMaxIndex] >= 2) + { + if (repLens[repMaxIndex] + 1 >= lenMain || + (repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9))) || + (repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))) + { + UInt32 lenRes; + *backRes = repMaxIndex; + lenRes = repLens[repMaxIndex]; + MovePos(p, lenRes - 1); + return lenRes; + } + } + + if (lenMain >= 2 && numAvailableBytes > 2) + { + UInt32 i; + numAvailableBytes = p->matchFinder.GetNumAvailableBytes(p->matchFinderObj); + p->longestMatchLength = ReadMatchDistances(p, &p->numDistancePairs); + if (p->longestMatchLength >= 2) + { + UInt32 newDistance = matchDistances[p->numDistancePairs - 1]; + if ((p->longestMatchLength >= lenMain && newDistance < backMain) || + (p->longestMatchLength == lenMain + 1 && !ChangePair(backMain, newDistance)) || + (p->longestMatchLength > lenMain + 1) || + (p->longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))) + { + p->longestMatchWasFound = True; + *backRes = (UInt32)(-1); + return 1; + } + } + data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - 1; + for (i = 0; i < LZMA_NUM_REPS; i++) + { + UInt32 len; + const Byte *data2 = data - (p->reps[i] + 1); + if (data[1] != data2[1] || data[2] != data2[2]) + { + repLens[i] = 0; + continue; + } + for (len = 2; len < numAvailableBytes && data[len] == data2[len]; len++); + if (len + 1 >= lenMain) + { + p->longestMatchWasFound = True; + *backRes = (UInt32)(-1); + return 1; + } + } + *backRes = backMain + LZMA_NUM_REPS; + MovePos(p, lenMain - 2); + return lenMain; + } + *backRes = (UInt32)(-1); + return 1; +} + +static void WriteEndMarker(CLzmaEnc *p, UInt32 posState) +{ + UInt32 len; + RangeEnc_EncodeBit(&p->rc, &p->isMatch[p->state][posState], 1); + RangeEnc_EncodeBit(&p->rc, &p->isRep[p->state], 0); + p->state = kMatchNextStates[p->state]; + len = LZMA_MATCH_LEN_MIN; + LenEnc_Encode2(&p->lenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); + RcTree_Encode(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], kNumPosSlotBits, (1 << kNumPosSlotBits) - 1); + RangeEnc_EncodeDirectBits(&p->rc, (((UInt32)1 << 30) - 1) >> kNumAlignBits, 30 - kNumAlignBits); + RcTree_ReverseEncode(&p->rc, p->posAlignEncoder, kNumAlignBits, kAlignMask); +} + +static SRes CheckErrors(CLzmaEnc *p) +{ + if (p->result != SZ_OK) + return p->result; + if (p->rc.res != SZ_OK) + p->result = SZ_ERROR_WRITE; + if (p->matchFinderBase.result != SZ_OK) + p->result = SZ_ERROR_READ; + if (p->result != SZ_OK) + p->finished = True; + return p->result; +} + +static SRes Flush(CLzmaEnc *p, UInt32 nowPos) +{ + /* ReleaseMFStream(); */ + p->finished = True; + if (p->writeEndMark) + WriteEndMarker(p, nowPos & p->pbMask); + RangeEnc_FlushData(&p->rc); + RangeEnc_FlushStream(&p->rc); + return CheckErrors(p); +} + +static void FillAlignPrices(CLzmaEnc *p) +{ + UInt32 i; + for (i = 0; i < kAlignTableSize; i++) + p->alignPrices[i] = RcTree_ReverseGetPrice(p->posAlignEncoder, kNumAlignBits, i, p->ProbPrices); + p->alignPriceCount = 0; +} + +static void FillDistancesPrices(CLzmaEnc *p) +{ + UInt32 tempPrices[kNumFullDistances]; + UInt32 i, lenToPosState; + for (i = kStartPosModelIndex; i < kNumFullDistances; i++) + { + UInt32 posSlot = GetPosSlot1(i); + UInt32 footerBits = ((posSlot >> 1) - 1); + UInt32 base = ((2 | (posSlot & 1)) << footerBits); + tempPrices[i] = RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, p->ProbPrices); + } + + for (lenToPosState = 0; lenToPosState < kNumLenToPosStates; lenToPosState++) + { + UInt32 posSlot; + const CLzmaProb *encoder = p->posSlotEncoder[lenToPosState]; + UInt32 *posSlotPrices = p->posSlotPrices[lenToPosState]; + for (posSlot = 0; posSlot < p->distTableSize; posSlot++) + posSlotPrices[posSlot] = RcTree_GetPrice(encoder, kNumPosSlotBits, posSlot, p->ProbPrices); + for (posSlot = kEndPosModelIndex; posSlot < p->distTableSize; posSlot++) + posSlotPrices[posSlot] += ((((posSlot >> 1) - 1) - kNumAlignBits) << kNumBitPriceShiftBits); + + { + UInt32 *distancesPrices = p->distancesPrices[lenToPosState]; + UInt32 i; + for (i = 0; i < kStartPosModelIndex; i++) + distancesPrices[i] = posSlotPrices[i]; + for (; i < kNumFullDistances; i++) + distancesPrices[i] = posSlotPrices[GetPosSlot1(i)] + tempPrices[i]; + } + } + p->matchPriceCount = 0; +} + +void LzmaEnc_Construct(CLzmaEnc *p) +{ + RangeEnc_Construct(&p->rc); + MatchFinder_Construct(&p->matchFinderBase); + #ifdef COMPRESS_MF_MT + MatchFinderMt_Construct(&p->matchFinderMt); + p->matchFinderMt.MatchFinder = &p->matchFinderBase; + #endif + + { + CLzmaEncProps props; + LzmaEncProps_Init(&props); + LzmaEnc_SetProps(p, &props); + } + + #ifndef LZMA_LOG_BSR + LzmaEnc_FastPosInit(p->g_FastPos); + #endif + + LzmaEnc_InitPriceTables(p->ProbPrices); + p->litProbs = 0; + p->saveState.litProbs = 0; +} + +CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc) +{ + void *p; + p = alloc->Alloc(alloc, sizeof(CLzmaEnc)); + if (p != 0) + LzmaEnc_Construct((CLzmaEnc *)p); + return p; +} + +void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAlloc *alloc) +{ + alloc->Free(alloc, p->litProbs); + alloc->Free(alloc, p->saveState.litProbs); + p->litProbs = 0; + p->saveState.litProbs = 0; +} + +void LzmaEnc_Destruct(CLzmaEnc *p, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + #ifdef COMPRESS_MF_MT + MatchFinderMt_Destruct(&p->matchFinderMt, allocBig); + #endif + MatchFinder_Free(&p->matchFinderBase, allocBig); + LzmaEnc_FreeLits(p, alloc); + RangeEnc_Free(&p->rc, alloc); +} + +void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + LzmaEnc_Destruct((CLzmaEnc *)p, alloc, allocBig); + alloc->Free(alloc, p); +} + +static SRes LzmaEnc_CodeOneBlock(CLzmaEnc *p, Bool useLimits, UInt32 maxPackSize, UInt32 maxUnpackSize) +{ + UInt32 nowPos32, startPos32; + if (p->inStream != 0) + { + p->matchFinderBase.stream = p->inStream; + p->matchFinder.Init(p->matchFinderObj); + p->inStream = 0; + } + + if (p->finished) + return p->result; + RINOK(CheckErrors(p)); + + nowPos32 = (UInt32)p->nowPos64; + startPos32 = nowPos32; + + if (p->nowPos64 == 0) + { + UInt32 numDistancePairs; + Byte curByte; + if (p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) == 0) + return Flush(p, nowPos32); + ReadMatchDistances(p, &numDistancePairs); + RangeEnc_EncodeBit(&p->rc, &p->isMatch[p->state][0], 0); + p->state = kLiteralNextStates[p->state]; + curByte = p->matchFinder.GetIndexByte(p->matchFinderObj, 0 - p->additionalOffset); + LitEnc_Encode(&p->rc, p->litProbs, curByte); + p->additionalOffset--; + nowPos32++; + } + + if (p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) != 0) + for (;;) + { + UInt32 pos, len, posState; + + if (p->fastMode) + len = GetOptimumFast(p, &pos); + else + len = GetOptimum(p, nowPos32, &pos); + + #ifdef SHOW_STAT2 + printf("\n pos = %4X, len = %d pos = %d", nowPos32, len, pos); + #endif + + posState = nowPos32 & p->pbMask; + if (len == 1 && pos == 0xFFFFFFFF) + { + Byte curByte; + CLzmaProb *probs; + const Byte *data; + + RangeEnc_EncodeBit(&p->rc, &p->isMatch[p->state][posState], 0); + data = p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - p->additionalOffset; + curByte = *data; + probs = LIT_PROBS(nowPos32, *(data - 1)); + if (IsCharState(p->state)) + LitEnc_Encode(&p->rc, probs, curByte); + else + LitEnc_EncodeMatched(&p->rc, probs, curByte, *(data - p->reps[0] - 1)); + p->state = kLiteralNextStates[p->state]; + } + else + { + RangeEnc_EncodeBit(&p->rc, &p->isMatch[p->state][posState], 1); + if (pos < LZMA_NUM_REPS) + { + RangeEnc_EncodeBit(&p->rc, &p->isRep[p->state], 1); + if (pos == 0) + { + RangeEnc_EncodeBit(&p->rc, &p->isRepG0[p->state], 0); + RangeEnc_EncodeBit(&p->rc, &p->isRep0Long[p->state][posState], ((len == 1) ? 0 : 1)); + } + else + { + UInt32 distance = p->reps[pos]; + RangeEnc_EncodeBit(&p->rc, &p->isRepG0[p->state], 1); + if (pos == 1) + RangeEnc_EncodeBit(&p->rc, &p->isRepG1[p->state], 0); + else + { + RangeEnc_EncodeBit(&p->rc, &p->isRepG1[p->state], 1); + RangeEnc_EncodeBit(&p->rc, &p->isRepG2[p->state], pos - 2); + if (pos == 3) + p->reps[3] = p->reps[2]; + p->reps[2] = p->reps[1]; + } + p->reps[1] = p->reps[0]; + p->reps[0] = distance; + } + if (len == 1) + p->state = kShortRepNextStates[p->state]; + else + { + LenEnc_Encode2(&p->repLenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); + p->state = kRepNextStates[p->state]; + } + } + else + { + UInt32 posSlot; + RangeEnc_EncodeBit(&p->rc, &p->isRep[p->state], 0); + p->state = kMatchNextStates[p->state]; + LenEnc_Encode2(&p->lenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); + pos -= LZMA_NUM_REPS; + GetPosSlot(pos, posSlot); + RcTree_Encode(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], kNumPosSlotBits, posSlot); + + if (posSlot >= kStartPosModelIndex) + { + UInt32 footerBits = ((posSlot >> 1) - 1); + UInt32 base = ((2 | (posSlot & 1)) << footerBits); + UInt32 posReduced = pos - base; + + if (posSlot < kEndPosModelIndex) + RcTree_ReverseEncode(&p->rc, p->posEncoders + base - posSlot - 1, footerBits, posReduced); + else + { + RangeEnc_EncodeDirectBits(&p->rc, posReduced >> kNumAlignBits, footerBits - kNumAlignBits); + RcTree_ReverseEncode(&p->rc, p->posAlignEncoder, kNumAlignBits, posReduced & kAlignMask); + p->alignPriceCount++; + } + } + p->reps[3] = p->reps[2]; + p->reps[2] = p->reps[1]; + p->reps[1] = p->reps[0]; + p->reps[0] = pos; + p->matchPriceCount++; + } + } + p->additionalOffset -= len; + nowPos32 += len; + if (p->additionalOffset == 0) + { + UInt32 processed; + if (!p->fastMode) + { + if (p->matchPriceCount >= (1 << 7)) + FillDistancesPrices(p); + if (p->alignPriceCount >= kAlignTableSize) + FillAlignPrices(p); + } + if (p->matchFinder.GetNumAvailableBytes(p->matchFinderObj) == 0) + break; + processed = nowPos32 - startPos32; + if (useLimits) + { + if (processed + kNumOpts + 300 >= maxUnpackSize || + RangeEnc_GetProcessed(&p->rc) + kNumOpts * 2 >= maxPackSize) + break; + } + else if (processed >= (1 << 15)) + { + p->nowPos64 += nowPos32 - startPos32; + return CheckErrors(p); + } + } + } + p->nowPos64 += nowPos32 - startPos32; + return Flush(p, nowPos32); +} + +#define kBigHashDicLimit ((UInt32)1 << 24) + +static SRes LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + UInt32 beforeSize = kNumOpts; + Bool btMode; + if (!RangeEnc_Alloc(&p->rc, alloc)) + return SZ_ERROR_MEM; + btMode = (p->matchFinderBase.btMode != 0); + #ifdef COMPRESS_MF_MT + p->mtMode = (p->multiThread && !p->fastMode && btMode); + #endif + + { + unsigned lclp = p->lc + p->lp; + if (p->litProbs == 0 || p->saveState.litProbs == 0 || p->lclp != lclp) + { + LzmaEnc_FreeLits(p, alloc); + p->litProbs = (CLzmaProb *)alloc->Alloc(alloc, (0x300 << lclp) * sizeof(CLzmaProb)); + p->saveState.litProbs = (CLzmaProb *)alloc->Alloc(alloc, (0x300 << lclp) * sizeof(CLzmaProb)); + if (p->litProbs == 0 || p->saveState.litProbs == 0) + { + LzmaEnc_FreeLits(p, alloc); + return SZ_ERROR_MEM; + } + p->lclp = lclp; + } + } + + p->matchFinderBase.bigHash = (p->dictSize > kBigHashDicLimit); + + if (beforeSize + p->dictSize < keepWindowSize) + beforeSize = keepWindowSize - p->dictSize; + + #ifdef COMPRESS_MF_MT + if (p->mtMode) + { + RINOK(MatchFinderMt_Create(&p->matchFinderMt, p->dictSize, beforeSize, p->numFastBytes, LZMA_MATCH_LEN_MAX, allocBig)); + p->matchFinderObj = &p->matchFinderMt; + MatchFinderMt_CreateVTable(&p->matchFinderMt, &p->matchFinder); + } + else + #endif + { + if (!MatchFinder_Create(&p->matchFinderBase, p->dictSize, beforeSize, p->numFastBytes, LZMA_MATCH_LEN_MAX, allocBig)) + return SZ_ERROR_MEM; + p->matchFinderObj = &p->matchFinderBase; + MatchFinder_CreateVTable(&p->matchFinderBase, &p->matchFinder); + } + return SZ_OK; +} + +void LzmaEnc_Init(CLzmaEnc *p) +{ + UInt32 i; + p->state = 0; + for(i = 0 ; i < LZMA_NUM_REPS; i++) + p->reps[i] = 0; + + RangeEnc_Init(&p->rc); + + + for (i = 0; i < kNumStates; i++) + { + UInt32 j; + for (j = 0; j < LZMA_NUM_PB_STATES_MAX; j++) + { + p->isMatch[i][j] = kProbInitValue; + p->isRep0Long[i][j] = kProbInitValue; + } + p->isRep[i] = kProbInitValue; + p->isRepG0[i] = kProbInitValue; + p->isRepG1[i] = kProbInitValue; + p->isRepG2[i] = kProbInitValue; + } + + { + UInt32 num = 0x300 << (p->lp + p->lc); + for (i = 0; i < num; i++) + p->litProbs[i] = kProbInitValue; + } + + { + for (i = 0; i < kNumLenToPosStates; i++) + { + CLzmaProb *probs = p->posSlotEncoder[i]; + UInt32 j; + for (j = 0; j < (1 << kNumPosSlotBits); j++) + probs[j] = kProbInitValue; + } + } + { + for(i = 0; i < kNumFullDistances - kEndPosModelIndex; i++) + p->posEncoders[i] = kProbInitValue; + } + + LenEnc_Init(&p->lenEnc.p); + LenEnc_Init(&p->repLenEnc.p); + + for (i = 0; i < (1 << kNumAlignBits); i++) + p->posAlignEncoder[i] = kProbInitValue; + + p->longestMatchWasFound = False; + p->optimumEndIndex = 0; + p->optimumCurrentIndex = 0; + p->additionalOffset = 0; + + p->pbMask = (1 << p->pb) - 1; + p->lpMask = (1 << p->lp) - 1; +} + +void LzmaEnc_InitPrices(CLzmaEnc *p) +{ + if (!p->fastMode) + { + FillDistancesPrices(p); + FillAlignPrices(p); + } + + p->lenEnc.tableSize = + p->repLenEnc.tableSize = + p->numFastBytes + 1 - LZMA_MATCH_LEN_MIN; + LenPriceEnc_UpdateTables(&p->lenEnc, 1 << p->pb, p->ProbPrices); + LenPriceEnc_UpdateTables(&p->repLenEnc, 1 << p->pb, p->ProbPrices); +} + +static SRes LzmaEnc_AllocAndInit(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + UInt32 i; + for (i = 0; i < (UInt32)kDicLogSizeMaxCompress; i++) + if (p->dictSize <= ((UInt32)1 << i)) + break; + p->distTableSize = i * 2; + + p->finished = False; + p->result = SZ_OK; + RINOK(LzmaEnc_Alloc(p, keepWindowSize, alloc, allocBig)); + LzmaEnc_Init(p); + LzmaEnc_InitPrices(p); + p->nowPos64 = 0; + return SZ_OK; +} + +static SRes LzmaEnc_Prepare(CLzmaEncHandle pp, ISeqInStream *inStream, ISeqOutStream *outStream, + ISzAlloc *alloc, ISzAlloc *allocBig) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + p->inStream = inStream; + p->rc.outStream = outStream; + return LzmaEnc_AllocAndInit(p, 0, alloc, allocBig); +} + +SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, + ISeqInStream *inStream, UInt32 keepWindowSize, + ISzAlloc *alloc, ISzAlloc *allocBig) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + p->inStream = inStream; + return LzmaEnc_AllocAndInit(p, keepWindowSize, alloc, allocBig); +} + +static void LzmaEnc_SetInputBuf(CLzmaEnc *p, const Byte *src, SizeT srcLen) +{ + p->seqBufInStream.funcTable.Read = MyRead; + p->seqBufInStream.data = src; + p->seqBufInStream.rem = srcLen; +} + +SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, + UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + LzmaEnc_SetInputBuf(p, src, srcLen); + p->inStream = &p->seqBufInStream.funcTable; + return LzmaEnc_AllocAndInit(p, keepWindowSize, alloc, allocBig); +} + +void LzmaEnc_Finish(CLzmaEncHandle pp) +{ + #ifdef COMPRESS_MF_MT + CLzmaEnc *p = (CLzmaEnc *)pp; + if (p->mtMode) + MatchFinderMt_ReleaseStream(&p->matchFinderMt); + #else + (void)pp; + #endif +} + +typedef struct _CSeqOutStreamBuf +{ + ISeqOutStream funcTable; + Byte *data; + SizeT rem; + Bool overflow; +} CSeqOutStreamBuf; + +static size_t MyWrite(void *pp, const void *data, size_t size) +{ + CSeqOutStreamBuf *p = (CSeqOutStreamBuf *)pp; + if (p->rem < size) + { + size = p->rem; + p->overflow = True; + } + memcpy(p->data, data, size); + p->rem -= size; + p->data += size; + return size; +} + + +UInt32 LzmaEnc_GetNumAvailableBytes(CLzmaEncHandle pp) +{ + const CLzmaEnc *p = (CLzmaEnc *)pp; + return p->matchFinder.GetNumAvailableBytes(p->matchFinderObj); +} + +const Byte *LzmaEnc_GetCurBuf(CLzmaEncHandle pp) +{ + const CLzmaEnc *p = (CLzmaEnc *)pp; + return p->matchFinder.GetPointerToCurrentPos(p->matchFinderObj) - p->additionalOffset; +} + +SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit, + Byte *dest, size_t *destLen, UInt32 desiredPackSize, UInt32 *unpackSize) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + UInt64 nowPos64; + SRes res; + CSeqOutStreamBuf outStream; + + outStream.funcTable.Write = MyWrite; + outStream.data = dest; + outStream.rem = *destLen; + outStream.overflow = False; + + p->writeEndMark = False; + p->finished = False; + p->result = SZ_OK; + + if (reInit) + LzmaEnc_Init(p); + LzmaEnc_InitPrices(p); + nowPos64 = p->nowPos64; + RangeEnc_Init(&p->rc); + p->rc.outStream = &outStream.funcTable; + + res = LzmaEnc_CodeOneBlock(pp, True, desiredPackSize, *unpackSize); + + *unpackSize = (UInt32)(p->nowPos64 - nowPos64); + *destLen -= outStream.rem; + if (outStream.overflow) + return SZ_ERROR_OUTPUT_EOF; + + return res; +} + +SRes LzmaEnc_Encode(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress, + ISzAlloc *alloc, ISzAlloc *allocBig) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + SRes res = SZ_OK; + + #ifdef COMPRESS_MF_MT + Byte allocaDummy[0x300]; + int i = 0; + for (i = 0; i < 16; i++) + allocaDummy[i] = (Byte)i; + #endif + + RINOK(LzmaEnc_Prepare(pp, inStream, outStream, alloc, allocBig)); + + for (;;) + { + res = LzmaEnc_CodeOneBlock(pp, False, 0, 0); + if (res != SZ_OK || p->finished != 0) + break; + if (progress != 0) + { + res = progress->Progress(progress, p->nowPos64, RangeEnc_GetProcessed(&p->rc)); + if (res != SZ_OK) + { + res = SZ_ERROR_PROGRESS; + break; + } + } + } + LzmaEnc_Finish(pp); + return res; +} + +SRes LzmaEnc_WriteProperties(CLzmaEncHandle pp, Byte *props, SizeT *size) +{ + CLzmaEnc *p = (CLzmaEnc *)pp; + int i; + UInt32 dictSize = p->dictSize; + if (*size < LZMA_PROPS_SIZE) + return SZ_ERROR_PARAM; + *size = LZMA_PROPS_SIZE; + props[0] = (Byte)((p->pb * 5 + p->lp) * 9 + p->lc); + + for (i = 11; i <= 30; i++) + { + if (dictSize <= ((UInt32)2 << i)) + { + dictSize = (2 << i); + break; + } + if (dictSize <= ((UInt32)3 << i)) + { + dictSize = (3 << i); + break; + } + } + + for (i = 0; i < 4; i++) + props[1 + i] = (Byte)(dictSize >> (8 * i)); + return SZ_OK; +} + +SRes LzmaEnc_MemEncode(CLzmaEncHandle pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, + int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + SRes res; + CLzmaEnc *p = (CLzmaEnc *)pp; + + CSeqOutStreamBuf outStream; + + LzmaEnc_SetInputBuf(p, src, srcLen); + + outStream.funcTable.Write = MyWrite; + outStream.data = dest; + outStream.rem = *destLen; + outStream.overflow = False; + + p->writeEndMark = writeEndMark; + res = LzmaEnc_Encode(pp, &outStream.funcTable, &p->seqBufInStream.funcTable, + progress, alloc, allocBig); + + *destLen -= outStream.rem; + if (outStream.overflow) + return SZ_ERROR_OUTPUT_EOF; + return res; +} + +SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, + const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, + ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) +{ + CLzmaEnc *p = (CLzmaEnc *)LzmaEnc_Create(alloc); + SRes res; + if (p == 0) + return SZ_ERROR_MEM; + + res = LzmaEnc_SetProps(p, props); + if (res == SZ_OK) + { + res = LzmaEnc_WriteProperties(p, propsEncoded, propsSize); + if (res == SZ_OK) + res = LzmaEnc_MemEncode(p, dest, destLen, src, srcLen, + writeEndMark, progress, alloc, allocBig); + } + + LzmaEnc_Destroy(p, alloc, allocBig); + return res; +} diff --git a/grub-core/lib/arg.c b/grub-core/lib/arg.c new file mode 100644 index 0000000..75b1dd5 --- /dev/null +++ b/grub-core/lib/arg.c @@ -0,0 +1,478 @@ +/* arg.c - argument parser */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +/* Built-in parser for default options. */ +#define SHORT_ARG_HELP -100 +#define SHORT_ARG_USAGE -101 + +static const struct grub_arg_option help_options[] = + { + {"help", SHORT_ARG_HELP, 0, + N_("Display this help and exit."), 0, ARG_TYPE_NONE}, + {"usage", SHORT_ARG_USAGE, 0, + N_("Display the usage of this command and exit."), 0, ARG_TYPE_NONE}, + {0, 0, 0, 0, 0, 0} + }; + +static struct grub_arg_option * +find_short (const struct grub_arg_option *options, char c) +{ + struct grub_arg_option *found = 0; + auto struct grub_arg_option *fnd_short (const struct grub_arg_option *opt); + + struct grub_arg_option *fnd_short (const struct grub_arg_option *opt) + { + while (opt->doc) + { + if (opt->shortarg == c) + return (struct grub_arg_option *) opt; + opt++; + } + return 0; + } + + if (options) + found = fnd_short (options); + + if (! found) + { + switch (c) + { + case 'h': + found = (struct grub_arg_option *) help_options; + break; + + case 'u': + found = (struct grub_arg_option *) (help_options + 1); + break; + + default: + break; + } + } + + return found; +} + +static struct grub_arg_option * +find_long (const struct grub_arg_option *options, const char *s, int len) +{ + struct grub_arg_option *found = 0; + auto struct grub_arg_option *fnd_long (const struct grub_arg_option *opt); + + struct grub_arg_option *fnd_long (const struct grub_arg_option *opt) + { + while (opt->doc) + { + if (opt->longarg && ! grub_strncmp (opt->longarg, s, len) && + opt->longarg[len] == '\0') + return (struct grub_arg_option *) opt; + opt++; + } + return 0; + } + + if (options) + found = fnd_long (options); + + if (! found) + found = fnd_long (help_options); + + return found; +} + +static void +show_usage (grub_extcmd_t cmd) +{ + grub_printf ("%s %s %s\n", _("Usage:"), cmd->cmd->name, _(cmd->cmd->summary)); +} + +void +grub_arg_show_help (grub_extcmd_t cmd) +{ + auto void showargs (const struct grub_arg_option *opt); + int h_is_used = 0; + int u_is_used = 0; + + auto void showargs (const struct grub_arg_option *opt) + { + for (; opt->doc; opt++) + { + int spacing = 20; + + if (opt->shortarg && grub_isgraph (opt->shortarg)) + grub_printf ("-%c%c ", opt->shortarg, opt->longarg ? ',':' '); + else if (opt->shortarg == SHORT_ARG_HELP && ! h_is_used) + grub_printf ("-h, "); + else if (opt->shortarg == SHORT_ARG_USAGE && ! u_is_used) + grub_printf ("-u, "); + else + grub_printf (" "); + + if (opt->longarg) + { + grub_printf ("--%s", opt->longarg); + spacing -= grub_strlen (opt->longarg) + 2; + + if (opt->arg) + { + grub_printf ("=%s", opt->arg); + spacing -= grub_strlen (opt->arg) + 1; + } + } + + if (spacing < 0) + spacing = 3; + + while (spacing--) + grub_xputs (" "); + + grub_printf ("%s\n", _(opt->doc)); + + switch (opt->shortarg) + { + case 'h': + h_is_used = 1; + break; + + case 'u': + u_is_used = 1; + break; + + default: + break; + } + } + } + + show_usage (cmd); + grub_printf ("%s\n\n", _(cmd->cmd->description)); + if (cmd->options) + showargs (cmd->options); + showargs (help_options); +#if 0 + grub_printf ("\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT); +#endif +} + + +static int +parse_option (grub_extcmd_t cmd, int key, char *arg, struct grub_arg_list *usr) +{ + switch (key) + { + case SHORT_ARG_HELP: + grub_arg_show_help (cmd); + return -1; + + case SHORT_ARG_USAGE: + show_usage (cmd); + return -1; + + default: + { + int found = -1; + int i = 0; + const struct grub_arg_option *opt = cmd->options; + + while (opt->doc) + { + if (opt->shortarg && key == opt->shortarg) + { + found = i; + break; + } + opt++; + i++; + } + + if (found == -1) + return -1; + + if (opt->flags & GRUB_ARG_OPTION_REPEATABLE) + { + usr[found].args[usr[found].set++] = arg; + usr[found].args[usr[found].set] = NULL; + } + else + { + usr[found].set = 1; + usr[found].arg = arg; + } + } + } + + return 0; +} + +int +grub_arg_parse (grub_extcmd_t cmd, int argc, char **argv, + struct grub_arg_list *usr, char ***args, int *argnum) +{ + int curarg; + int arglen; + char **argl = 0; + int num = 0; + auto grub_err_t add_arg (char *s); + + grub_err_t add_arg (char *s) + { + char **p = argl; + argl = grub_realloc (argl, (++num + 1) * sizeof (char *)); + if (! argl) + { + grub_free (p); + return grub_errno; + } + argl[num - 1] = s; + argl[num] = NULL; + return 0; + } + + + for (curarg = 0; curarg < argc; curarg++) + { + char *arg = argv[curarg]; + struct grub_arg_option *opt; + char *option = 0; + + /* No option is used. */ + if ((num && (cmd->cmd->flags & GRUB_COMMAND_OPTIONS_AT_START)) + || arg[0] != '-' || grub_strlen (arg) == 1) + { + if (add_arg (arg) != 0) + goto fail; + + continue; + } + + /* One or more short options. */ + if (arg[1] != '-') + { + char *curshort; + + if (cmd->cmd->flags & GRUB_COMMAND_ACCEPT_DASH) + { + for (curshort = arg + 1; *curshort; curshort++) + if (!find_short (cmd->options, *curshort)) + break; + + if (*curshort) + { + if (add_arg (arg) != 0) + goto fail; + continue; + } + } + + curshort = arg + 1; + + while (1) + { + opt = find_short (cmd->options, *curshort); + + if (! opt) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, + "unknown argument `-%c'", *curshort); + goto fail; + } + + curshort++; + + /* Parse all arguments here except the last one because + it can have an argument value. */ + if (*curshort) + { + if (parse_option (cmd, opt->shortarg, 0, usr) || grub_errno) + goto fail; + } + else + { + if (opt->type != ARG_TYPE_NONE) + { + if (curarg + 1 < argc) + { + char *nextarg = argv[curarg + 1]; + if (!(opt->flags & GRUB_ARG_OPTION_OPTIONAL) + || (grub_strlen (nextarg) < 2 || nextarg[0] != '-')) + option = argv[++curarg]; + } + } + break; + } + } + + } + else /* The argument starts with "--". */ + { + /* If the argument "--" is used just pass the other + arguments. */ + if (grub_strlen (arg) == 2) + { + for (curarg++; curarg < argc; curarg++) + if (add_arg (argv[curarg]) != 0) + goto fail; + break; + } + + option = grub_strchr (arg, '='); + if (option) + { + arglen = option - arg - 2; + option++; + } + else + arglen = grub_strlen (arg) - 2; + + opt = find_long (cmd->options, arg + 2, arglen); + + if (!option && argv[curarg + 1] && argv[curarg + 1][0] != '-' + && opt->type != ARG_TYPE_NONE) + option = argv[++curarg]; + + if (!opt && (cmd->cmd->flags & GRUB_COMMAND_ACCEPT_DASH)) + { + if (add_arg (arg) != 0) + goto fail; + continue; + } + + if (! opt) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "unknown argument `%s'", arg); + goto fail; + } + } + + if (! (opt->type == ARG_TYPE_NONE + || (! option && (opt->flags & GRUB_ARG_OPTION_OPTIONAL)))) + { + if (! option) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, + "missing mandatory option for `%s'", opt->longarg); + goto fail; + } + + switch (opt->type) + { + case ARG_TYPE_NONE: + /* This will never happen. */ + break; + + case ARG_TYPE_STRING: + /* No need to do anything. */ + break; + + case ARG_TYPE_INT: + { + char *tail; + + grub_strtoull (option, &tail, 0); + if (tail == 0 || tail == option || *tail != '\0' || grub_errno) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, + "the argument `%s' requires an integer", + arg); + + goto fail; + } + break; + } + + case ARG_TYPE_DEVICE: + case ARG_TYPE_DIR: + case ARG_TYPE_FILE: + case ARG_TYPE_PATHNAME: + /* XXX: Not implemented. */ + break; + } + if (parse_option (cmd, opt->shortarg, option, usr) || grub_errno) + goto fail; + } + else + { + if (option) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, + "a value was assigned to the argument `%s' while it " + "doesn't require an argument", arg); + goto fail; + } + + if (parse_option (cmd, opt->shortarg, 0, usr) || grub_errno) + goto fail; + } + } + + *args = argl; + *argnum = num; + return 1; + + fail: + return 0; +} + +struct grub_arg_list* +grub_arg_list_alloc(grub_extcmd_t extcmd, int argc, + char **argv __attribute__((unused))) +{ + int i; + char **args; + unsigned argcnt; + struct grub_arg_list *list; + const struct grub_arg_option *options; + + options = extcmd->options; + if (! options) + return 0; + + argcnt = 0; + for (i = 0; options[i].doc; i++) + { + if (options[i].flags & GRUB_ARG_OPTION_REPEATABLE) + argcnt += (argc + 1) / 2 + 1; /* max possible for any option */ + } + + list = grub_zalloc (sizeof (*list) * i + sizeof (char*) * argcnt); + if (! list) + return 0; + + args = (char**) (list + i); + for (i = 0; options[i].doc; i++) + { + list[i].set = 0; + list[i].arg = 0; + + if (options[i].flags & GRUB_ARG_OPTION_REPEATABLE) + { + list[i].args = args; + args += argc / 2 + 1; + } + } + return list; +} diff --git a/grub-core/lib/cmdline.c b/grub-core/lib/cmdline.c new file mode 100644 index 0000000..a702e64 --- /dev/null +++ b/grub-core/lib/cmdline.c @@ -0,0 +1,105 @@ +/* cmdline.c - linux command line handling */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +static unsigned int check_arg (char *c, int *has_space) +{ + int space = 0; + unsigned int size = 0; + + while (*c) + { + if (*c == '\\' || *c == '\'' || *c == '"') + size++; + else if (*c == ' ') + space = 1; + + size++; + c++; + } + + if (space) + size += 2; + + if (has_space) + *has_space = space; + + return size; +} + +unsigned int grub_loader_cmdline_size (int argc, char *argv[]) +{ + int i; + unsigned int size = 0; + + for (i = 0; i < argc; i++) + { + size += check_arg (argv[i], 0); + size++; /* Separator space or NULL. */ + } + + return size; +} + +int grub_create_loader_cmdline (int argc, char *argv[], char *buf, + grub_size_t size) +{ + int i, space; + unsigned int arg_size; + char *c; + + for (i = 0; i < argc; i++) + { + c = argv[i]; + arg_size = check_arg(argv[i], &space); + arg_size++; /* Separator space or NULL. */ + + if (size < arg_size) + break; + + size -= arg_size; + + if (space) + *buf++ = '"'; + + while (*c) + { + if (*c == '\\' || *c == '\'' || *c == '"') + *buf++ = '\\'; + + *buf++ = *c; + c++; + } + + if (space) + *buf++ = '"'; + + *buf++ = ' '; + } + + /* Replace last space with null. */ + if (i) + buf--; + + *buf = 0; + + return i; +} diff --git a/grub-core/lib/cmos_datetime.c b/grub-core/lib/cmos_datetime.c new file mode 100644 index 0000000..73c5a03 --- /dev/null +++ b/grub-core/lib/cmos_datetime.c @@ -0,0 +1,158 @@ +/* kern/cmos_datetime.c - CMOS datetime function. + * + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +grub_err_t +grub_get_datetime (struct grub_datetime *datetime) +{ + int is_bcd, is_12hour; + grub_uint8_t value, flag; + + flag = grub_cmos_read (GRUB_CMOS_INDEX_STATUS_B); + + is_bcd = ! (flag & GRUB_CMOS_STATUS_B_BINARY); + + value = grub_cmos_read (GRUB_CMOS_INDEX_YEAR); + if (is_bcd) + value = grub_bcd_to_num (value); + + datetime->year = value; + datetime->year += (value < 80) ? 2000 : 1900; + + value = grub_cmos_read (GRUB_CMOS_INDEX_MONTH); + if (is_bcd) + value = grub_bcd_to_num (value); + + datetime->month = value; + + value = grub_cmos_read (GRUB_CMOS_INDEX_DAY_OF_MONTH); + if (is_bcd) + value = grub_bcd_to_num (value); + + datetime->day = value; + + is_12hour = ! (flag & GRUB_CMOS_STATUS_B_24HOUR); + + value = grub_cmos_read (GRUB_CMOS_INDEX_HOUR); + if (is_12hour) + { + is_12hour = (value & 0x80); + + value &= 0x7F; + value--; + } + + if (is_bcd) + value = grub_bcd_to_num (value); + + if (is_12hour) + value += 12; + + datetime->hour = value; + + value = grub_cmos_read (GRUB_CMOS_INDEX_MINUTE); + if (is_bcd) + value = grub_bcd_to_num (value); + + datetime->minute = value; + + value = grub_cmos_read (GRUB_CMOS_INDEX_SECOND); + if (is_bcd) + value = grub_bcd_to_num (value); + + datetime->second = value; + + return 0; +} + +grub_err_t +grub_set_datetime (struct grub_datetime *datetime) +{ + int is_bcd, is_12hour; + grub_uint8_t value, flag; + + flag = grub_cmos_read (GRUB_CMOS_INDEX_STATUS_B); + + is_bcd = ! (flag & GRUB_CMOS_STATUS_B_BINARY); + + value = ((datetime->year >= 2000) ? datetime->year - 2000 : + datetime->year - 1900); + + if (is_bcd) + value = grub_num_to_bcd (value); + + grub_cmos_write (GRUB_CMOS_INDEX_YEAR, value); + + value = datetime->month; + + if (is_bcd) + value = grub_num_to_bcd (value); + + grub_cmos_write (GRUB_CMOS_INDEX_MONTH, value); + + value = datetime->day; + + if (is_bcd) + value = grub_num_to_bcd (value); + + grub_cmos_write (GRUB_CMOS_INDEX_DAY_OF_MONTH, value); + + value = datetime->hour; + + is_12hour = (! (flag & GRUB_CMOS_STATUS_B_24HOUR)); + + if (is_12hour) + { + value++; + + if (value > 12) + value -= 12; + else + is_12hour = 0; + } + + if (is_bcd) + value = grub_num_to_bcd (value); + + if (is_12hour) + value |= 0x80; + + grub_cmos_write (GRUB_CMOS_INDEX_HOUR, value); + + value = datetime->minute; + + if (is_bcd) + value = grub_num_to_bcd (value); + + grub_cmos_write (GRUB_CMOS_INDEX_MINUTE, value); + + value = datetime->second; + + if (is_bcd) + value = grub_num_to_bcd (value); + + grub_cmos_write (GRUB_CMOS_INDEX_SECOND, value); + + return 0; +} diff --git a/grub-core/lib/crc.c b/grub-core/lib/crc.c new file mode 100644 index 0000000..ffc3ef3 --- /dev/null +++ b/grub-core/lib/crc.c @@ -0,0 +1,75 @@ +/* crc.c - crc function */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +static grub_uint32_t crc32c_table [256]; + +static void +init_crc32c_table (void) +{ + auto grub_uint32_t reflect (grub_uint32_t ref, int len); + grub_uint32_t reflect (grub_uint32_t ref, int len) + { + grub_uint32_t result = 0; + int i; + + for (i = 1; i <= len; i++) + { + if (ref & 1) + result |= 1 << (len - i); + ref >>= 1; + } + + return result; + } + + grub_uint32_t polynomial = 0x1edc6f41; + int i, j; + + for(i = 0; i < 256; i++) + { + crc32c_table[i] = reflect(i, 8) << 24; + for (j = 0; j < 8; j++) + crc32c_table[i] = (crc32c_table[i] << 1) ^ + (crc32c_table[i] & (1 << 31) ? polynomial : 0); + crc32c_table[i] = reflect(crc32c_table[i], 32); + } +} + +grub_uint32_t +grub_getcrc32c (grub_uint32_t crc, const void *buf, int size) +{ + int i; + const grub_uint8_t *data = buf; + + if (! crc32c_table[1]) + init_crc32c_table (); + + crc^= 0xffffffff; + + for (i = 0; i < size; i++) + { + crc = (crc >> 8) ^ crc32c_table[(crc & 0xFF) ^ *data]; + data++; + } + + return crc ^ 0xffffffff; +} diff --git a/grub-core/lib/crypto.c b/grub-core/lib/crypto.c new file mode 100644 index 0000000..ad1bfc4 --- /dev/null +++ b/grub-core/lib/crypto.c @@ -0,0 +1,456 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 + * 2007, 2008, 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +struct grub_crypto_hmac_handle +{ + const struct gcry_md_spec *md; + void *ctx; + void *opad; +}; + +static gcry_cipher_spec_t *grub_ciphers = NULL; +static gcry_md_spec_t *grub_digests = NULL; + +void (*grub_crypto_autoload_hook) (const char *name) = NULL; + +/* Based on libgcrypt-1.4.4/src/misc.c. */ +void +grub_burn_stack (grub_size_t size) +{ + char buf[64]; + + grub_memset (buf, 0, sizeof (buf)); + if (size > sizeof (buf)) + grub_burn_stack (size - sizeof (buf)); +} + + +void +grub_cipher_register (gcry_cipher_spec_t *cipher) +{ + cipher->next = grub_ciphers; + grub_ciphers = cipher; +} + +void +grub_cipher_unregister (gcry_cipher_spec_t *cipher) +{ + gcry_cipher_spec_t **ciph; + for (ciph = &grub_ciphers; *ciph; ciph = &((*ciph)->next)) + if (*ciph == cipher) + { + *ciph = (*ciph)->next; + break; + } +} + +void +grub_md_register (gcry_md_spec_t *digest) +{ + digest->next = grub_digests; + grub_digests = digest; +} + +void +grub_md_unregister (gcry_md_spec_t *cipher) +{ + gcry_md_spec_t **ciph; + for (ciph = &grub_digests; *ciph; ciph = &((*ciph)->next)) + if (*ciph == cipher) + { + *ciph = (*ciph)->next; + break; + } +} + +void +grub_crypto_hash (const gcry_md_spec_t *hash, void *out, const void *in, + grub_size_t inlen) +{ + grub_uint8_t ctx[hash->contextsize]; + hash->init (&ctx); + hash->write (&ctx, in, inlen); + hash->final (&ctx); + grub_memcpy (out, hash->read (&ctx), hash->mdlen); +} + +const gcry_md_spec_t * +grub_crypto_lookup_md_by_name (const char *name) +{ + const gcry_md_spec_t *md; + int first = 1; + while (1) + { + for (md = grub_digests; md; md = md->next) + if (grub_strcasecmp (name, md->name) == 0) + return md; + if (grub_crypto_autoload_hook && first) + grub_crypto_autoload_hook (name); + else + return NULL; + first = 0; + } +} + +const gcry_cipher_spec_t * +grub_crypto_lookup_cipher_by_name (const char *name) +{ + const gcry_cipher_spec_t *ciph; + int first = 1; + while (1) + { + for (ciph = grub_ciphers; ciph; ciph = ciph->next) + { + const char **alias; + if (grub_strcasecmp (name, ciph->name) == 0) + return ciph; + if (!ciph->aliases) + continue; + for (alias = ciph->aliases; *alias; alias++) + if (grub_strcasecmp (name, *alias) == 0) + return ciph; + } + if (grub_crypto_autoload_hook && first) + grub_crypto_autoload_hook (name); + else + return NULL; + first = 0; + } +} + + +grub_crypto_cipher_handle_t +grub_crypto_cipher_open (const struct gcry_cipher_spec *cipher) +{ + grub_crypto_cipher_handle_t ret; + ret = grub_malloc (sizeof (*ret) + cipher->contextsize); + if (!ret) + return NULL; + ret->cipher = cipher; + return ret; +} + +gcry_err_code_t +grub_crypto_cipher_set_key (grub_crypto_cipher_handle_t cipher, + const unsigned char *key, + unsigned keylen) +{ + return cipher->cipher->setkey (cipher->ctx, key, keylen); +} + + +void +grub_crypto_cipher_close (grub_crypto_cipher_handle_t cipher) +{ + grub_free (cipher); +} + + +void +grub_crypto_xor (void *out, const void *in1, const void *in2, grub_size_t size) +{ + const grub_uint8_t *in1ptr = in1, *in2ptr = in2; + grub_uint8_t *outptr = out; + while (size--) + { + *outptr = *in1ptr ^ *in2ptr; + in1ptr++; + in2ptr++; + outptr++; + } +} + +gcry_err_code_t +grub_crypto_ecb_decrypt (grub_crypto_cipher_handle_t cipher, + void *out, void *in, grub_size_t size) +{ + grub_uint8_t *inptr, *outptr, *end; + if (!cipher->cipher->decrypt) + return GPG_ERR_NOT_SUPPORTED; + if (size % cipher->cipher->blocksize != 0) + return GPG_ERR_INV_ARG; + end = (grub_uint8_t *) in + size; + for (inptr = in, outptr = out; inptr < end; + inptr += cipher->cipher->blocksize, outptr += cipher->cipher->blocksize) + cipher->cipher->decrypt (cipher->ctx, outptr, inptr); + return GPG_ERR_NO_ERROR; +} + +gcry_err_code_t +grub_crypto_ecb_encrypt (grub_crypto_cipher_handle_t cipher, + void *out, void *in, grub_size_t size) +{ + grub_uint8_t *inptr, *outptr, *end; + if (!cipher->cipher->encrypt) + return GPG_ERR_NOT_SUPPORTED; + if (size % cipher->cipher->blocksize != 0) + return GPG_ERR_INV_ARG; + end = (grub_uint8_t *) in + size; + for (inptr = in, outptr = out; inptr < end; + inptr += cipher->cipher->blocksize, outptr += cipher->cipher->blocksize) + cipher->cipher->encrypt (cipher->ctx, outptr, inptr); + return GPG_ERR_NO_ERROR; +} + +gcry_err_code_t +grub_crypto_cbc_encrypt (grub_crypto_cipher_handle_t cipher, + void *out, void *in, grub_size_t size, + void *iv_in) +{ + grub_uint8_t *inptr, *outptr, *end; + void *iv; + if (!cipher->cipher->decrypt) + return GPG_ERR_NOT_SUPPORTED; + if (size % cipher->cipher->blocksize != 0) + return GPG_ERR_INV_ARG; + end = (grub_uint8_t *) in + size; + iv = iv_in; + for (inptr = in, outptr = out; inptr < end; + inptr += cipher->cipher->blocksize, outptr += cipher->cipher->blocksize) + { + grub_crypto_xor (outptr, inptr, iv, cipher->cipher->blocksize); + cipher->cipher->encrypt (cipher->ctx, outptr, outptr); + iv = outptr; + } + grub_memcpy (iv_in, iv, cipher->cipher->blocksize); + return GPG_ERR_NO_ERROR; +} + +gcry_err_code_t +grub_crypto_cbc_decrypt (grub_crypto_cipher_handle_t cipher, + void *out, void *in, grub_size_t size, + void *iv) +{ + grub_uint8_t *inptr, *outptr, *end; + grub_uint8_t ivt[cipher->cipher->blocksize]; + if (!cipher->cipher->decrypt) + return GPG_ERR_NOT_SUPPORTED; + if (size % cipher->cipher->blocksize != 0) + return GPG_ERR_INV_ARG; + end = (grub_uint8_t *) in + size; + for (inptr = in, outptr = out; inptr < end; + inptr += cipher->cipher->blocksize, outptr += cipher->cipher->blocksize) + { + grub_memcpy (ivt, inptr, cipher->cipher->blocksize); + cipher->cipher->decrypt (cipher->ctx, outptr, inptr); + grub_crypto_xor (outptr, outptr, iv, cipher->cipher->blocksize); + grub_memcpy (iv, ivt, cipher->cipher->blocksize); + } + return GPG_ERR_NO_ERROR; +} + +/* Based on gcry/cipher/md.c. */ +struct grub_crypto_hmac_handle * +grub_crypto_hmac_init (const struct gcry_md_spec *md, + const void *key, grub_size_t keylen) +{ + grub_uint8_t *helpkey = NULL; + grub_uint8_t *ipad = NULL, *opad = NULL; + void *ctx = NULL; + struct grub_crypto_hmac_handle *ret = NULL; + unsigned i; + + if (md->mdlen > md->blocksize) + return NULL; + + ctx = grub_malloc (md->contextsize); + if (!ctx) + goto err; + + if ( keylen > md->blocksize ) + { + helpkey = grub_malloc (md->mdlen); + if (!helpkey) + goto err; + grub_crypto_hash (md, helpkey, key, keylen); + + key = helpkey; + keylen = md->mdlen; + } + + ipad = grub_zalloc (md->blocksize); + if (!ipad) + goto err; + + opad = grub_zalloc (md->blocksize); + if (!opad) + goto err; + + grub_memcpy ( ipad, key, keylen ); + grub_memcpy ( opad, key, keylen ); + for (i=0; i < md->blocksize; i++ ) + { + ipad[i] ^= 0x36; + opad[i] ^= 0x5c; + } + grub_free (helpkey); + helpkey = NULL; + + md->init (ctx); + + md->write (ctx, ipad, md->blocksize); /* inner pad */ + grub_memset (ipad, 0, md->blocksize); + grub_free (ipad); + ipad = NULL; + + ret = grub_malloc (sizeof (*ret)); + if (!ret) + goto err; + + ret->md = md; + ret->ctx = ctx; + ret->opad = opad; + + return ret; + + err: + grub_free (helpkey); + grub_free (ctx); + grub_free (ipad); + grub_free (opad); + return NULL; +} + +void +grub_crypto_hmac_write (struct grub_crypto_hmac_handle *hnd, void *data, + grub_size_t datalen) +{ + hnd->md->write (hnd->ctx, data, datalen); +} + +gcry_err_code_t +grub_crypto_hmac_fini (struct grub_crypto_hmac_handle *hnd, void *out) +{ + grub_uint8_t *p; + grub_uint8_t *ctx2; + + ctx2 = grub_malloc (hnd->md->contextsize); + if (!ctx2) + return GPG_ERR_OUT_OF_MEMORY; + + hnd->md->final (hnd->ctx); + hnd->md->read (hnd->ctx); + p = hnd->md->read (hnd->ctx); + + hnd->md->init (ctx2); + hnd->md->write (ctx2, hnd->opad, hnd->md->blocksize); + hnd->md->write (ctx2, p, hnd->md->mdlen); + hnd->md->final (ctx2); + grub_memset (hnd->opad, 0, hnd->md->blocksize); + grub_free (hnd->opad); + grub_memset (hnd->ctx, 0, hnd->md->contextsize); + grub_free (hnd->ctx); + + grub_memcpy (out, hnd->md->read (ctx2), hnd->md->mdlen); + grub_memset (ctx2, 0, hnd->md->contextsize); + grub_free (ctx2); + + grub_memset (hnd, 0, sizeof (*hnd)); + grub_free (hnd); + + return GPG_ERR_NO_ERROR; +} + +gcry_err_code_t +grub_crypto_hmac_buffer (const struct gcry_md_spec *md, + const void *key, grub_size_t keylen, + void *data, grub_size_t datalen, void *out) +{ + struct grub_crypto_hmac_handle *hnd; + + hnd = grub_crypto_hmac_init (md, key, keylen); + if (!hnd) + return GPG_ERR_OUT_OF_MEMORY; + + grub_crypto_hmac_write (hnd, data, datalen); + return grub_crypto_hmac_fini (hnd, out); +} + + +grub_err_t +grub_crypto_gcry_error (gcry_err_code_t in) +{ + if (in == GPG_ERR_NO_ERROR) + return GRUB_ERR_NONE; + return GRUB_ACCESS_DENIED; +} + +int +grub_crypto_memcmp (const void *a, const void *b, grub_size_t n) +{ + register grub_size_t counter = 0; + const grub_uint8_t *pa, *pb; + + for (pa = a, pb = b; n; pa++, pb++, n--) + { + if (*pa != *pb) + counter++; + } + + return !!counter; +} + +#ifndef GRUB_MKPASSWD +int +grub_password_get (char buf[], unsigned buf_size) +{ + unsigned cur_len = 0; + int key; + + while (1) + { + key = grub_getkey (); + if (key == '\n' || key == '\r') + break; + + if (key == '\e') + { + cur_len = 0; + break; + } + + if (key == '\b') + { + cur_len--; + continue; + } + + if (!grub_isprint (key)) + continue; + + if (cur_len + 2 < buf_size) + buf[cur_len++] = key; + } + + grub_memset (buf + cur_len, 0, buf_size - cur_len); + + grub_xputs ("\n"); + grub_refresh (); + + return (key != '\e'); +} +#endif diff --git a/grub-core/lib/efi/datetime.c b/grub-core/lib/efi/datetime.c new file mode 100644 index 0000000..0fd1b5f --- /dev/null +++ b/grub-core/lib/efi/datetime.c @@ -0,0 +1,82 @@ +/* kern/efi/datetime.c - efi datetime function. + * + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +grub_err_t +grub_get_datetime (struct grub_datetime *datetime) +{ + grub_efi_status_t status; + struct grub_efi_time efi_time; + + status = efi_call_2 (grub_efi_system_table->runtime_services->get_time, + &efi_time, 0); + + if (status) + return grub_error (GRUB_ERR_INVALID_COMMAND, + "can\'t get datetime using efi"); + else + { + datetime->year = efi_time.year; + datetime->month = efi_time.month; + datetime->day = efi_time.day; + datetime->hour = efi_time.hour; + datetime->minute = efi_time.minute; + datetime->second = efi_time.second; + } + + return 0; +} + +grub_err_t +grub_set_datetime (struct grub_datetime *datetime) +{ + grub_efi_status_t status; + struct grub_efi_time efi_time; + + status = efi_call_2 (grub_efi_system_table->runtime_services->get_time, + &efi_time, 0); + + if (status) + return grub_error (GRUB_ERR_INVALID_COMMAND, + "can\'t get datetime using efi"); + + efi_time.year = datetime->year; + efi_time.month = datetime->month; + efi_time.day = datetime->day; + efi_time.hour = datetime->hour; + efi_time.minute = datetime->minute; + efi_time.second = datetime->second; + + status = efi_call_1 (grub_efi_system_table->runtime_services->set_time, + &efi_time); + + if (status) + return grub_error (GRUB_ERR_INVALID_COMMAND, + "can\'t set datetime using efi"); + + return 0; +} diff --git a/grub-core/lib/efi/halt.c b/grub-core/lib/efi/halt.c new file mode 100644 index 0000000..c195368 --- /dev/null +++ b/grub-core/lib/efi/halt.c @@ -0,0 +1,36 @@ +/* efi.c - generic EFI support */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +void +grub_halt (void) +{ + grub_machine_fini (); + grub_acpi_halt (); + efi_call_4 (grub_efi_system_table->runtime_services->reset_system, + GRUB_EFI_RESET_SHUTDOWN, GRUB_EFI_SUCCESS, 0, NULL); + + while (1); +} diff --git a/grub-core/lib/efi/relocator.c b/grub-core/lib/efi/relocator.c new file mode 100644 index 0000000..0d346be --- /dev/null +++ b/grub-core/lib/efi/relocator.c @@ -0,0 +1,119 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +#define NEXT_MEMORY_DESCRIPTOR(desc, size) \ + ((grub_efi_memory_descriptor_t *) ((char *) (desc) + (size))) + +unsigned +grub_relocator_firmware_get_max_events (void) +{ + grub_efi_uintn_t mmapsize = 0, descriptor_size = 0; + grub_efi_uint32_t descriptor_version = 0; + grub_efi_uintn_t key; + grub_efi_get_memory_map (&mmapsize, NULL, &key, &descriptor_size, + &descriptor_version); + /* Since grub_relocator_firmware_fill_events uses malloc + we need some reserve. Hence +10. */ + return 2 * (mmapsize / descriptor_size + 10); +} + +unsigned +grub_relocator_firmware_fill_events (struct grub_relocator_mmap_event *events) +{ + grub_efi_uintn_t mmapsize = 0, desc_size = 0; + grub_efi_uint32_t descriptor_version = 0; + grub_efi_memory_descriptor_t *descs = NULL; + grub_efi_uintn_t key; + int counter = 0; + grub_efi_memory_descriptor_t *desc; + + grub_efi_get_memory_map (&mmapsize, NULL, &key, &desc_size, + &descriptor_version); + descs = grub_malloc (mmapsize); + if (!descs) + return 0; + + grub_efi_get_memory_map (&mmapsize, descs, &key, &desc_size, + &descriptor_version); + + for (desc = descs; + (char *) desc < ((char *) descs + mmapsize); + desc = NEXT_MEMORY_DESCRIPTOR (desc, desc_size)) + { + grub_uint64_t start = desc->physical_start; + grub_uint64_t end = desc->physical_start + (desc->num_pages << 12); + + /* post-4G addresses are never supported on 32-bit EFI. + Moreover it has been reported that some 64-bit EFI contrary to the + spec don't map post-4G pages. So if you enable post-4G allocations, + map pages manually or check that they are mapped. + */ + if (end >= 0x100000000ULL) + end = 0x100000000ULL; + if (end <= start) + continue; + if (desc->type != GRUB_EFI_CONVENTIONAL_MEMORY) + continue; + events[counter].type = REG_FIRMWARE_START; + events[counter].pos = start; + counter++; + events[counter].type = REG_FIRMWARE_END; + events[counter].pos = end; + counter++; + } + + return counter; +} + +int +grub_relocator_firmware_alloc_region (grub_addr_t start, grub_size_t size) +{ + grub_efi_boot_services_t *b; + grub_efi_physical_address_t address = start; + grub_efi_status_t status; + + if (grub_efi_is_finished) + return 1; + + grub_dprintf ("relocator", "EFI alloc: %llx, %llx\n", + (unsigned long long) start, (unsigned long long) size); + + b = grub_efi_system_table->boot_services; + status = efi_call_4 (b->allocate_pages, GRUB_EFI_ALLOCATE_ADDRESS, + GRUB_EFI_LOADER_DATA, size >> 12, &address); + return (status == GRUB_EFI_SUCCESS); +} + +void +grub_relocator_firmware_free_region (grub_addr_t start, grub_size_t size) +{ + grub_efi_boot_services_t *b; + + if (grub_efi_is_finished) + return; + + b = grub_efi_system_table->boot_services; + efi_call_2 (b->free_pages, start, size >> 12); +} diff --git a/grub-core/lib/emu/halt.c b/grub-core/lib/emu/halt.c new file mode 100644 index 0000000..620935b --- /dev/null +++ b/grub-core/lib/emu/halt.c @@ -0,0 +1,25 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include + +void +grub_halt (void) +{ + grub_reboot (); +} diff --git a/grub-core/lib/envblk.c b/grub-core/lib/envblk.c new file mode 100644 index 0000000..311927b --- /dev/null +++ b/grub-core/lib/envblk.c @@ -0,0 +1,296 @@ +/* envblk.c - Common functions for environment block. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include + +grub_envblk_t +grub_envblk_open (char *buf, grub_size_t size) +{ + grub_envblk_t envblk; + + if (size < sizeof (GRUB_ENVBLK_SIGNATURE) + || grub_memcmp (buf, GRUB_ENVBLK_SIGNATURE, + sizeof (GRUB_ENVBLK_SIGNATURE) - 1)) + { + grub_error (GRUB_ERR_BAD_FILE_TYPE, "invalid environment block"); + return 0; + } + + envblk = grub_malloc (sizeof (*envblk)); + if (envblk) + { + envblk->buf = buf; + envblk->size = size; + } + + return envblk; +} + +void +grub_envblk_close (grub_envblk_t envblk) +{ + grub_free (envblk->buf); + grub_free (envblk); +} + +static int +escaped_value_len (const char *value) +{ + int n = 0; + char *p; + + for (p = (char *) value; *p; p++) + { + if (*p == '\\' || *p == '\n') + n += 2; + else + n++; + } + + return n; +} + +static char * +find_next_line (char *p, const char *pend) +{ + while (p < pend) + { + if (*p == '\\') + p += 2; + else if (*p == '\n') + break; + else + p++; + } + + return p + 1; +} + +int +grub_envblk_set (grub_envblk_t envblk, const char *name, const char *value) +{ + char *p, *pend; + char *space; + int found = 0; + int nl; + int vl; + int i; + + nl = grub_strlen (name); + vl = escaped_value_len (value); + p = envblk->buf + sizeof (GRUB_ENVBLK_SIGNATURE) - 1; + pend = envblk->buf + envblk->size; + + /* First, look at free space. */ + for (space = pend - 1; *space == '#'; space--) + ; + + if (*space != '\n') + /* Broken. */ + return 0; + + space++; + + while (p + nl + 1 < space) + { + if (grub_memcmp (p, name, nl) == 0 && p[nl] == '=') + { + int len; + + /* Found the same name. */ + p += nl + 1; + + /* Check the length of the current value. */ + len = 0; + while (p + len < pend && p[len] != '\n') + { + if (p[len] == '\\') + len += 2; + else + len++; + } + + if (p + len >= pend) + /* Broken. */ + return 0; + + if (pend - space < vl - len) + /* No space. */ + return 0; + + if (vl < len) + { + /* Move the following characters backward, and fill the new + space with harmless characters. */ + grub_memmove (p + vl, p + len, pend - (p + len)); + grub_memset (space + len - vl, '#', len - vl); + } + else + /* Move the following characters forward. */ + grub_memmove (p + vl, p + len, pend - (p + vl)); + + found = 1; + break; + } + + p = find_next_line (p, pend); + } + + if (! found) + { + /* Append a new variable. */ + + if (pend - space < nl + 1 + vl + 1) + /* No space. */ + return 0; + + grub_memcpy (space, name, nl); + p = space + nl; + *p++ = '='; + } + + /* Write the value. */ + for (i = 0; value[i]; i++) + { + if (value[i] == '\\' || value[i] == '\n') + *p++ = '\\'; + + *p++ = value[i]; + } + + *p = '\n'; + return 1; +} + +void +grub_envblk_delete (grub_envblk_t envblk, const char *name) +{ + char *p, *pend; + int nl; + + nl = grub_strlen (name); + p = envblk->buf + sizeof (GRUB_ENVBLK_SIGNATURE) - 1; + pend = envblk->buf + envblk->size; + + while (p + nl + 1 < pend) + { + if (grub_memcmp (p, name, nl) == 0 && p[nl] == '=') + { + /* Found. */ + int len = nl + 1; + + while (p + len < pend) + { + if (p[len] == '\n') + break; + else if (p[len] == '\\') + len += 2; + else + len++; + } + + if (p + len >= pend) + /* Broken. */ + return; + + len++; + grub_memmove (p, p + len, pend - (p + len)); + grub_memset (pend - len, '#', len); + break; + } + + p = find_next_line (p, pend); + } +} + +void +grub_envblk_iterate (grub_envblk_t envblk, + int hook (const char *name, const char *value)) +{ + char *p, *pend; + + p = envblk->buf + sizeof (GRUB_ENVBLK_SIGNATURE) - 1; + pend = envblk->buf + envblk->size; + + while (p < pend) + { + if (*p != '#') + { + char *name; + char *value; + char *name_start, *name_end, *value_start; + char *q; + int ret; + + name_start = p; + while (p < pend && *p != '=') + p++; + if (p == pend) + /* Broken. */ + return; + name_end = p; + + p++; + value_start = p; + while (p < pend) + { + if (*p == '\n') + break; + else if (*p == '\\') + p += 2; + else + p++; + } + + if (p >= pend) + /* Broken. */ + return; + + name = grub_malloc (p - name_start + 1); + if (! name) + /* out of memory. */ + return; + + value = name + (value_start - name_start); + + grub_memcpy (name, name_start, name_end - name_start); + name[name_end - name_start] = '\0'; + + for (p = value_start, q = value; *p != '\n'; ++p) + { + if (*p == '\\') + *q++ = *++p; + else + *q++ = *p; + } + *q = '\0'; + + ret = hook (name, value); + grub_free (name); + if (ret) + return; + } + + p = find_next_line (p, pend); + } +} diff --git a/grub-core/lib/hexdump.c b/grub-core/lib/hexdump.c new file mode 100644 index 0000000..317635a --- /dev/null +++ b/grub-core/lib/hexdump.c @@ -0,0 +1,85 @@ +/* hexdump.c - hexdump function */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +void +hexdump (unsigned long bse, char *buf, int len) +{ + int pos; + char line[80]; + + while (len > 0) + { + int cnt, i; + + pos = grub_snprintf (line, sizeof (line), "%08lx ", bse); + cnt = 16; + if (cnt > len) + cnt = len; + + for (i = 0; i < cnt; i++) + { + pos += grub_snprintf (&line[pos], sizeof (line) - pos, + "%02x ", (unsigned char) buf[i]); + if ((i & 7) == 7) + line[pos++] = ' '; + } + + for (; i < 16; i++) + { + pos += grub_snprintf (&line[pos], sizeof (line) - pos, " "); + if ((i & 7) == 7) + line[pos++] = ' '; + } + + line[pos++] = '|'; + + for (i = 0; i < cnt; i++) + line[pos++] = ((buf[i] >= 32) && (buf[i] < 127)) ? buf[i] : '.'; + + line[pos++] = '|'; + + line[pos] = 0; + + grub_printf ("%s\n", line); + + /* Print only first and last line if more than 3 lines are identical. */ + if (len >= 4 * 16 + && ! grub_memcmp (buf, buf + 1 * 16, 16) + && ! grub_memcmp (buf, buf + 2 * 16, 16) + && ! grub_memcmp (buf, buf + 3 * 16, 16)) + { + grub_printf ("*\n"); + do + { + bse += 16; + buf += 16; + len -= 16; + } + while (len >= 3 * 16 && ! grub_memcmp (buf, buf + 2 * 16, 16)); + } + + bse += 16; + buf += 16; + len -= cnt; + } +} diff --git a/grub-core/lib/i386/halt.c b/grub-core/lib/i386/halt.c new file mode 100644 index 0000000..15c4ba0 --- /dev/null +++ b/grub-core/lib/i386/halt.c @@ -0,0 +1,60 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include + +const char bochs_shutdown[] = "Shutdown"; + +/* + * This call is special... it never returns... in fact it should simply + * hang at this point! + */ +static inline void __attribute__ ((noreturn)) +stop (void) +{ + asm volatile ("cli"); + while (1) + { + asm volatile ("hlt"); + } +} + +void +grub_halt (void) +{ + unsigned int i; + +#if defined (GRUB_MACHINE_COREBOOT) || defined (GRUB_MACHINE_MULTIBOOT) + grub_acpi_halt (); +#endif + + /* Disable interrupts. */ + __asm__ __volatile__ ("cli"); + + /* Bochs, QEMU, etc. */ + for (i = 0; i < sizeof (bochs_shutdown) - 1; i++) + grub_outb (bochs_shutdown[i], 0x8900); + + grub_printf ("GRUB doesn't know how to halt this machine yet!\n"); + + /* In order to return we'd have to check what the previous status of IF + flag was. But user most likely doesn't want to return anyway ... */ + stop (); +} diff --git a/grub-core/lib/i386/pc/biosnum.c b/grub-core/lib/i386/pc/biosnum.c new file mode 100644 index 0000000..1277108 --- /dev/null +++ b/grub-core/lib/i386/pc/biosnum.c @@ -0,0 +1,47 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +static int +grub_get_root_biosnumber_default (void) +{ + char *biosnum; + int ret = -1; + grub_device_t dev; + + biosnum = grub_env_get ("biosnum"); + + if (biosnum) + return grub_strtoul (biosnum, 0, 0); + + dev = grub_device_open (0); + if (dev && dev->disk && dev->disk->dev + && dev->disk->dev->id == GRUB_DISK_DEVICE_BIOSDISK_ID) + ret = (int) dev->disk->id; + + if (dev) + grub_device_close (dev); + + return ret; +} + +int (*grub_get_root_biosnumber) (void) = grub_get_root_biosnumber_default; diff --git a/grub-core/lib/i386/pc/vesa_modes_table.c b/grub-core/lib/i386/pc/vesa_modes_table.c new file mode 100644 index 0000000..6dc4b7d --- /dev/null +++ b/grub-core/lib/i386/pc/vesa_modes_table.c @@ -0,0 +1,127 @@ + +#include + +/* This is the reverse of the table in [linux]/Documentation/fb/vesafb.txt + plus a few more modes based on the table in + http://en.wikipedia.org/wiki/VESA_BIOS_Extensions */ +struct grub_vesa_mode_table_entry +grub_vesa_mode_table[GRUB_VESA_MODE_TABLE_END + - GRUB_VESA_MODE_TABLE_START + 1] = + { + { 640, 400, 8 }, /* 0x300 */ + { 640, 480, 8 }, /* 0x301 */ + { 800, 600, 4 }, /* 0x302 */ + { 800, 600, 8 }, /* 0x303 */ + { 1024, 768, 4 }, /* 0x304 */ + { 1024, 768, 8 }, /* 0x305 */ + { 1280, 1024, 4 }, /* 0x306 */ + { 1280, 1024, 8 }, /* 0x307 */ + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 320, 200, 15 }, /* 0x30d */ + { 320, 200, 16 }, /* 0x30e */ + { 320, 200, 24 }, /* 0x30f */ + { 640, 480, 15 }, /* 0x310 */ + { 640, 480, 16 }, /* 0x311 */ + { 640, 480, 24 }, /* 0x312 */ + { 800, 600, 15 }, /* 0x313 */ + { 800, 600, 16 }, /* 0x314 */ + { 800, 600, 24 }, /* 0x315 */ + { 1024, 768, 15 }, /* 0x316 */ + { 1024, 768, 16 }, /* 0x317 */ + { 1024, 768, 24 }, /* 0x318 */ + { 1280, 1024, 15 }, /* 0x319 */ + { 1280, 1024, 16 }, /* 0x31a */ + { 1280, 1024, 24 }, /* 0x31b */ + { 1600, 1200, 8 }, /* 0x31c */ + { 1600, 1200, 15 }, /* 0x31d */ + { 1600, 1200, 16 }, /* 0x31e */ + { 1600, 1200, 24 }, /* 0x31f */ + { 0, 0, 0 }, + { 640, 400, 15 }, /* 0x321 */ + { 640, 400, 16 }, /* 0x322 */ + { 640, 400, 24 }, /* 0x323 */ + { 640, 400, 32 }, /* 0x324 */ + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 640, 480, 32 }, /* 0x329 */ + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 896, 672, 8 }, /* 0x32f */ + { 896, 672, 15 }, /* 0x330 */ + { 896, 672, 16 }, /* 0x331 */ + { 896, 672, 24 }, /* 0x332 */ + { 896, 672, 32 }, /* 0x333 */ + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 1600, 1200, 32 }, /* 0x342 */ + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 0, 0, 0 }, + { 1440, 900, 8 }, /* 0x360 */ + { 1440, 900, 15 }, /* 0x361 */ + { 1440, 900, 16 }, /* 0x362 */ + { 1440, 900, 24 }, /* 0x363 */ + { 1440, 900, 32 }, /* 0x364 */ + { 1152, 720, 8 }, /* 0x365 */ + { 1152, 720, 15 }, /* 0x366 */ + { 1152, 720, 16 }, /* 0x367 */ + { 1152, 720, 24 }, /* 0x368 */ + { 1152, 720, 32 }, /* 0x369 */ + { 1024, 640, 8 }, /* 0x36a */ + { 1024, 640, 15 }, /* 0x36b */ + { 1024, 640, 16 }, /* 0x36c */ + { 1024, 640, 24 }, /* 0x36d */ + { 1024, 640, 32 }, /* 0x36e */ + { 800, 500, 8 }, /* 0x36f */ + { 800, 500, 15 }, /* 0x370 */ + { 800, 500, 16 }, /* 0x371 */ + { 800, 500, 24 }, /* 0x372 */ + { 800, 500, 32 }, /* 0x373 */ + }; diff --git a/grub-core/lib/i386/relocator.c b/grub-core/lib/i386/relocator.c new file mode 100644 index 0000000..1bc4240 --- /dev/null +++ b/grub-core/lib/i386/relocator.c @@ -0,0 +1,270 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +#include +#include +#include + +#include +#include + +extern grub_uint8_t grub_relocator_forward_start; +extern grub_uint8_t grub_relocator_forward_end; +extern grub_uint8_t grub_relocator_backward_start; +extern grub_uint8_t grub_relocator_backward_end; + +extern void *grub_relocator_backward_dest; +extern void *grub_relocator_backward_src; +extern grub_size_t grub_relocator_backward_chunk_size; + +extern void *grub_relocator_forward_dest; +extern void *grub_relocator_forward_src; +extern grub_size_t grub_relocator_forward_chunk_size; + +extern grub_uint8_t grub_relocator16_start; +extern grub_uint8_t grub_relocator16_end; +extern grub_uint16_t grub_relocator16_cs; +extern grub_uint16_t grub_relocator16_ip; +extern grub_uint16_t grub_relocator16_ds; +extern grub_uint16_t grub_relocator16_es; +extern grub_uint16_t grub_relocator16_fs; +extern grub_uint16_t grub_relocator16_gs; +extern grub_uint16_t grub_relocator16_ss; +extern grub_uint16_t grub_relocator16_sp; +extern grub_uint32_t grub_relocator16_edx; + +extern grub_uint8_t grub_relocator32_start; +extern grub_uint8_t grub_relocator32_end; +extern grub_uint32_t grub_relocator32_eax; +extern grub_uint32_t grub_relocator32_ebx; +extern grub_uint32_t grub_relocator32_ecx; +extern grub_uint32_t grub_relocator32_edx; +extern grub_uint32_t grub_relocator32_eip; +extern grub_uint32_t grub_relocator32_esp; +extern grub_uint32_t grub_relocator32_ebp; +extern grub_uint32_t grub_relocator32_esi; +extern grub_uint32_t grub_relocator32_edi; + +extern grub_uint8_t grub_relocator64_start; +extern grub_uint8_t grub_relocator64_end; +extern grub_uint64_t grub_relocator64_rax; +extern grub_uint64_t grub_relocator64_rbx; +extern grub_uint64_t grub_relocator64_rcx; +extern grub_uint64_t grub_relocator64_rdx; +extern grub_uint64_t grub_relocator64_rip; +extern grub_uint64_t grub_relocator64_rip_addr; +extern grub_uint64_t grub_relocator64_rsp; +extern grub_uint64_t grub_relocator64_rsi; +extern grub_addr_t grub_relocator64_cr3; + +#define RELOCATOR_SIZEOF(x) (&grub_relocator##x##_end - &grub_relocator##x##_start) + +grub_size_t grub_relocator_align = 1; +grub_size_t grub_relocator_forward_size; +grub_size_t grub_relocator_backward_size; +#ifdef __x86_64__ +grub_size_t grub_relocator_jumper_size = 12; +#else +grub_size_t grub_relocator_jumper_size = 7; +#endif + +void +grub_cpu_relocator_init (void) +{ + grub_relocator_forward_size = RELOCATOR_SIZEOF(_forward); + grub_relocator_backward_size = RELOCATOR_SIZEOF(_backward); +} + +void +grub_cpu_relocator_jumper (void *rels, grub_addr_t addr) +{ + grub_uint8_t *ptr; + ptr = rels; +#ifdef __x86_64__ + /* movq imm64, %rax (for relocator) */ + *(grub_uint8_t *) ptr = 0x48; + ptr++; + *(grub_uint8_t *) ptr = 0xb8; + ptr++; + *(grub_uint64_t *) ptr = addr; + ptr += sizeof (grub_uint64_t); +#else + /* movl imm32, %eax (for relocator) */ + *(grub_uint8_t *) ptr = 0xb8; + ptr++; + *(grub_uint32_t *) ptr = addr; + ptr += sizeof (grub_uint32_t); +#endif + /* jmp $eax/$rax */ + *(grub_uint8_t *) ptr = 0xff; + ptr++; + *(grub_uint8_t *) ptr = 0xe0; + ptr++; +} + +void +grub_cpu_relocator_backward (void *ptr, void *src, void *dest, + grub_size_t size) +{ + grub_relocator_backward_dest = dest; + grub_relocator_backward_src = src; + grub_relocator_backward_chunk_size = size; + + grub_memmove (ptr, + &grub_relocator_backward_start, + RELOCATOR_SIZEOF (_backward)); +} + +void +grub_cpu_relocator_forward (void *ptr, void *src, void *dest, + grub_size_t size) +{ + grub_relocator_forward_dest = dest; + grub_relocator_forward_src = src; + grub_relocator_forward_chunk_size = size; + + grub_memmove (ptr, + &grub_relocator_forward_start, + RELOCATOR_SIZEOF (_forward)); +} + +grub_err_t +grub_relocator32_boot (struct grub_relocator *rel, + struct grub_relocator32_state state) +{ + grub_err_t err; + void *relst; + grub_relocator_chunk_t ch; + + err = grub_relocator_alloc_chunk_align (rel, &ch, 0, + (0xffffffff - RELOCATOR_SIZEOF (32)) + + 1, RELOCATOR_SIZEOF (32), 16, + GRUB_RELOCATOR_PREFERENCE_NONE); + if (err) + return err; + + grub_relocator32_eax = state.eax; + grub_relocator32_ebx = state.ebx; + grub_relocator32_ecx = state.ecx; + grub_relocator32_edx = state.edx; + grub_relocator32_eip = state.eip; + grub_relocator32_esp = state.esp; + grub_relocator32_ebp = state.ebp; + grub_relocator32_esi = state.esi; + grub_relocator32_edi = state.edi; + + grub_memmove (get_virtual_current_address (ch), &grub_relocator32_start, + RELOCATOR_SIZEOF (32)); + + err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch), + &relst, NULL); + if (err) + return err; + + asm volatile ("cli"); + ((void (*) (void)) relst) (); + + /* Not reached. */ + return GRUB_ERR_NONE; +} + +grub_err_t +grub_relocator16_boot (struct grub_relocator *rel, + struct grub_relocator16_state state) +{ + grub_err_t err; + void *relst; + grub_relocator_chunk_t ch; + + err = grub_relocator_alloc_chunk_align (rel, &ch, 0, + 0xa0000 - RELOCATOR_SIZEOF (16), + RELOCATOR_SIZEOF (16), 16, + GRUB_RELOCATOR_PREFERENCE_NONE); + if (err) + return err; + + grub_relocator16_cs = state.cs; + grub_relocator16_ip = state.ip; + + grub_relocator16_ds = state.ds; + grub_relocator16_es = state.es; + grub_relocator16_fs = state.fs; + grub_relocator16_gs = state.gs; + + grub_relocator16_ss = state.ss; + grub_relocator16_sp = state.sp; + + grub_relocator16_edx = state.edx; + + grub_memmove (get_virtual_current_address (ch), &grub_relocator16_start, + RELOCATOR_SIZEOF (16)); + + err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch), + &relst, NULL); + if (err) + return err; + + asm volatile ("cli"); + ((void (*) (void)) relst) (); + + /* Not reached. */ + return GRUB_ERR_NONE; +} + +grub_err_t +grub_relocator64_boot (struct grub_relocator *rel, + struct grub_relocator64_state state, + grub_addr_t min_addr, grub_addr_t max_addr) +{ + grub_err_t err; + void *relst; + grub_relocator_chunk_t ch; + + err = grub_relocator_alloc_chunk_align (rel, &ch, min_addr, + max_addr - RELOCATOR_SIZEOF (64), + RELOCATOR_SIZEOF (64), 16, + GRUB_RELOCATOR_PREFERENCE_NONE); + if (err) + return err; + + grub_relocator64_rax = state.rax; + grub_relocator64_rbx = state.rbx; + grub_relocator64_rcx = state.rcx; + grub_relocator64_rdx = state.rdx; + grub_relocator64_rip = state.rip; + grub_relocator64_rsp = state.rsp; + grub_relocator64_rsi = state.rsi; + grub_relocator64_cr3 = state.cr3; + + grub_memmove (get_virtual_current_address (ch), &grub_relocator64_start, + RELOCATOR_SIZEOF (64)); + + err = grub_relocator_prepare_relocs (rel, get_physical_target_address (ch), + &relst, NULL); + if (err) + return err; + + asm volatile ("cli"); + ((void (*) (void)) relst) (); + + /* Not reached. */ + return GRUB_ERR_NONE; +} diff --git a/grub-core/lib/i386/relocator16.S b/grub-core/lib/i386/relocator16.S new file mode 100644 index 0000000..982415d --- /dev/null +++ b/grub-core/lib/i386/relocator16.S @@ -0,0 +1,193 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* The code segment of the protected mode. */ +#define CODE_SEGMENT 0x08 + +/* The data segment of the protected mode. */ +#define DATA_SEGMENT 0x10 + +#define PSEUDO_REAL_CSEG 0x18 + +#define PSEUDO_REAL_DSEG 0x20 + +#include "relocator_common.S" + + .p2align 4 /* force 16-byte alignment */ + +VARIABLE(grub_relocator16_start) + PREAMBLE + + movl %esi, %eax + movw %ax, (LOCAL (cs_base_bytes12) - LOCAL (base)) (RSI, 1) + shrl $16, %eax + movb %al, (LOCAL (cs_base_byte3) - LOCAL (base)) (RSI, 1) + + RELOAD_GDT + .code32 + /* Update other registers. */ + movl $DATA_SEGMENT, %eax + movl %eax, %ds + movl %eax, %es + movl %eax, %fs + movl %eax, %gs + movl %eax, %ss + + DISABLE_PAGING + +#ifdef __x86_64__ + /* Disable amd64. */ + movl $GRUB_MEMORY_CPU_AMD64_MSR, %ecx + rdmsr + andl $(~GRUB_MEMORY_CPU_AMD64_MSR_ON), %eax + wrmsr +#endif + + /* Turn off PAE. */ + movl %cr4, %eax + andl $(~GRUB_MEMORY_CPU_CR4_PAE_ON), %eax + movl %eax, %cr4 + + /* Update other registers. */ + movl $PSEUDO_REAL_DSEG, %eax + movl %eax, %ds + movl %eax, %es + movl %eax, %fs + movl %eax, %gs + movl %eax, %ss + + movl %esi, %eax + shrl $4, %eax + movw %ax, (LOCAL (segment) - LOCAL (base)) (%esi, 1) + + /* jump to a 16 bit segment */ + ljmp $PSEUDO_REAL_CSEG, $(LOCAL (cont2) - LOCAL(base)) +LOCAL(cont2): + .code16 + + /* clear the PE bit of CR0 */ + movl %cr0, %eax + andl $(~GRUB_MEMORY_CPU_CR0_PE_ON), %eax + movl %eax, %cr0 + + /* flush prefetch queue, reload %cs */ + /* ljmp */ + .byte 0xea + .word LOCAL(cont3)-LOCAL(base) +LOCAL(segment): + .word 0 + +LOCAL(cont3): + /* we are in real mode now + * set up the real mode segment registers : DS, SS, ES + */ + /* movw imm16, %ax. */ + .byte 0xb8 +VARIABLE(grub_relocator16_ds) + .word 0 + movw %ax, %ds + + /* movw imm16, %ax. */ + .byte 0xb8 +VARIABLE(grub_relocator16_es) + .word 0 + movw %ax, %es + + /* movw imm16, %ax. */ + .byte 0xb8 +VARIABLE(grub_relocator16_fs) + .word 0 + movw %ax, %fs + + /* movw imm16, %ax. */ + .byte 0xb8 +VARIABLE(grub_relocator16_gs) + .word 0 + movw %ax, %gs + + /* movw imm16, %ax. */ + .byte 0xb8 +VARIABLE(grub_relocator16_ss) + .word 0 + movw %ax, %ss + + /* movw imm16, %ax. */ + .byte 0xb8 +VARIABLE(grub_relocator16_sp) + .word 0 + movzwl %ax, %esp + + /* movw imm32, %edx. */ + .byte 0x66, 0xba +VARIABLE(grub_relocator16_edx) + .long 0 + + /* Cleared direction flag is of no problem with any current + payload and makes this implementation easier. */ + cld + + /* ljmp */ + .byte 0xea +VARIABLE(grub_relocator16_ip) + .word 0 +VARIABLE(grub_relocator16_cs) + .word 0 + + .code32 + + /* GDT. Copied from loader/i386/linux.c. */ + .p2align 4 +LOCAL(gdt): + .word 0, 0 + .byte 0, 0, 0, 0 + + /* -- code segment -- + * base = 0x00000000, limit = 0xFFFFF (4 KiB Granularity), present + * type = 32bit code execute/read, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x9A, 0xCF, 0 + + /* -- data segment -- + * base = 0x00000000, limit 0xFFFFF (4 KiB Granularity), present + * type = 32 bit data read/write, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x92, 0xCF, 0 + + /* -- 16 bit real mode CS -- + * base = 0x00000000, limit 0x0FFFF (1 B Granularity), present + * type = 16 bit code execute/read only/conforming, DPL = 0 + */ + .word 0xFFFF +LOCAL(cs_base_bytes12): + .word 0 +LOCAL(cs_base_byte3): + .byte 0 + + .byte 0x9E, 0, 0 + + /* -- 16 bit real mode DS -- + * base = 0x00000000, limit 0x0FFFF (1 B Granularity), present + * type = 16 bit data read/write, DPL = 0 + */ + .word 0xFFFF, 0 + .byte 0, 0x92, 0, 0 +LOCAL(gdt_end): + +VARIABLE(grub_relocator16_end) diff --git a/grub-core/lib/i386/relocator32.S b/grub-core/lib/i386/relocator32.S new file mode 100644 index 0000000..09ce56a --- /dev/null +++ b/grub-core/lib/i386/relocator32.S @@ -0,0 +1,134 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +/* The code segment of the protected mode. */ +#define CODE_SEGMENT 0x10 + +/* The data segment of the protected mode. */ +#define DATA_SEGMENT 0x18 + +#include "relocator_common.S" + + .p2align 4 /* force 16-byte alignment */ + +VARIABLE(grub_relocator32_start) + PREAMBLE + + RELOAD_GDT + .code32 + /* Update other registers. */ + movl $DATA_SEGMENT, %eax + movl %eax, %ds + movl %eax, %es + movl %eax, %fs + movl %eax, %gs + movl %eax, %ss + + DISABLE_PAGING + +#ifdef __x86_64__ + /* Disable amd64. */ + movl $GRUB_MEMORY_CPU_AMD64_MSR, %ecx + rdmsr + andl $(~GRUB_MEMORY_CPU_AMD64_MSR_ON), %eax + wrmsr +#endif + + /* Turn off PAE. */ + movl %cr4, %eax + andl $(~GRUB_MEMORY_CPU_CR4_PAE_ON), %eax + movl %eax, %cr4 + + jmp LOCAL(cont2) +LOCAL(cont2): + .code32 + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator32_esp) + .long 0 + + movl %eax, %esp + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator32_ebp) + .long 0 + + movl %eax, %ebp + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator32_esi) + .long 0 + + movl %eax, %esi + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator32_edi) + .long 0 + + movl %eax, %edi + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator32_eax) + .long 0 + + /* mov imm32, %ebx */ + .byte 0xbb +VARIABLE(grub_relocator32_ebx) + .long 0 + + /* mov imm32, %ecx */ + .byte 0xb9 +VARIABLE(grub_relocator32_ecx) + .long 0 + + /* mov imm32, %edx */ + .byte 0xba +VARIABLE(grub_relocator32_edx) + .long 0 + + /* Cleared direction flag is of no problem with any current + payload and makes this implementation easier. */ + cld + + .byte 0xea +VARIABLE(grub_relocator32_eip) + .long 0 + .word CODE_SEGMENT + + /* GDT. Copied from loader/i386/linux.c. */ + .p2align 4 +LOCAL(gdt): + /* NULL. */ + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + + /* Reserved. */ + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + + /* Code segment. */ + .byte 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x9A, 0xCF, 0x00 + + /* Data segment. */ + .byte 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x92, 0xCF, 0x00 +LOCAL(gdt_end): + +VARIABLE(grub_relocator32_end) diff --git a/grub-core/lib/i386/relocator64.S b/grub-core/lib/i386/relocator64.S new file mode 100644 index 0000000..bb08641 --- /dev/null +++ b/grub-core/lib/i386/relocator64.S @@ -0,0 +1,160 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#define CODE32_SEGMENT 0x18 +#define CODE_SEGMENT 0x08 + +/* The data segment of the protected mode. */ +#define DATA_SEGMENT 0x10 + +#include "relocator_common.S" + + .p2align 4 /* force 16-byte alignment */ + +VARIABLE(grub_relocator64_start) + PREAMBLE +#ifndef __x86_64__ + DISABLE_PAGING + + /* Turn on PAE. */ + movl %cr4, %eax + orl $(GRUB_MEMORY_CPU_CR4_PAE_ON | GRUB_MEMORY_CPU_CR4_PSE_ON), %eax + movl %eax, %cr4 + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator64_cr3) + .long 0 + movl %eax, %cr3 + + /* Turn on amd64. */ + movl $GRUB_MEMORY_CPU_AMD64_MSR, %ecx + rdmsr + orl $GRUB_MEMORY_CPU_AMD64_MSR_ON, %eax + wrmsr + + /* Enable paging. */ + movl %cr0, %eax + orl $GRUB_MEMORY_CPU_CR0_PAGING_ON, %eax + movl %eax, %cr0 + + RELOAD_GDT +#else + /* mov imm64, %rax */ + .byte 0x48 + .byte 0xb8 +VARIABLE(grub_relocator64_cr3) + .quad 0 + movq %rax, %cr3 +#endif + + .code64 + + /* mov imm64, %rax */ + .byte 0x48 + .byte 0xb8 +VARIABLE(grub_relocator64_rsp) + .quad 0 + + movq %rax, %rsp + + /* mov imm64, %rax */ + .byte 0x48 + .byte 0xb8 +VARIABLE(grub_relocator64_rsi) + .quad 0 + + movq %rax, %rsi + + /* mov imm64, %rax */ + .byte 0x48 + .byte 0xb8 +VARIABLE(grub_relocator64_rax) + .quad 0 + + /* mov imm64, %rbx */ + .byte 0x48 + .byte 0xbb +VARIABLE(grub_relocator64_rbx) + .quad 0 + + /* mov imm64, %rcx */ + .byte 0x48 + .byte 0xb9 +VARIABLE(grub_relocator64_rcx) + .quad 0 + + /* mov imm64, %rdx */ + .byte 0x48 + .byte 0xba +VARIABLE(grub_relocator64_rdx) + .quad 0 + + /* Cleared direction flag is of no problem with any current + payload and makes this implementation easier. */ + cld + + jmp *LOCAL(jump_addr) (%rip) + +LOCAL(jump_addr): +VARIABLE(grub_relocator64_rip) + .quad 0 + +#ifndef __x86_64__ + .p2align 4 +LOCAL(gdt): + /* NULL. */ + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + + /* 64-bit segment. */ + .word 0xffff /* Limit xffff. */ + .word 0x0000 /* Base xxxx0000. */ + .byte 0x00 /* Base xx00xxxx. */ + .byte (0x8 /* Type 8. */ | (1 << 4) /* Code. */ \ + | (0 << 5) /* Ring 0. */ | (1 << 7) /* Present. */) + .byte (0xf /* Limit fxxxx. */ | (0 << 4) /* AVL flag. */ \ + | (1 << 5) /* 64-bit. */ | (0 << 6) \ + | (1 << 7) /* 4K granular. */) + .byte 0x00 /* Base 00xxxxxx. */ + + /* Data segment*/ + .word 0xffff /* Limit xffff. */ + .word 0x0000 /* Base xxxx0000. */ + .byte 0x00 /* Base xx00xxxx. */ + .byte (0x0 /* Type 0. */ | (0 << 4) /* Data. */ \ + | (0 << 5) /* Ring 0. */ | (1 << 7) /* Present. */) + .byte (0xf /* Limit fxxxx. */ | (0 << 4) /* AVL flag. */ \ + | (0 << 5) /* Data. */ | (0 << 6) \ + | (1 << 7) /* 4K granular. */) + .byte 0x00 /* Base 00xxxxxx. */ + + /* Compatibility segment. */ + .word 0xffff /* Limit xffff. */ + .word 0x0000 /* Base xxxx0000. */ + .byte 0x00 /* Base xx00xxxx. */ + .byte (0x8 /* Type 8. */ | (1 << 4) /* Code. */ \ + | (0 << 5) /* Ring 0. */ | (1 << 7) /* Present. */) + .byte (0xf /* Limit fxxxx. */ | (0 << 4) /* AVL flag. */ \ + | (0 << 5) /* 32-bit. */ | (1 << 6) /* 32-bit. */ \ + | (1 << 7) /* 4K granular. */) + .byte 0x00 /* Base 00xxxxxx. */ + +LOCAL(gdt_end): +#endif + +VARIABLE(grub_relocator64_end) diff --git a/grub-core/lib/i386/relocator_asm.S b/grub-core/lib/i386/relocator_asm.S new file mode 100644 index 0000000..f273586 --- /dev/null +++ b/grub-core/lib/i386/relocator_asm.S @@ -0,0 +1,80 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + + .p2align 2 + +VARIABLE(grub_relocator_backward_start) + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator_backward_dest) + .long 0 + movl %eax, %edi + + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator_backward_src) + .long 0 + movl %eax, %esi + + /* mov imm32, %ecx */ + .byte 0xb9 +VARIABLE(grub_relocator_backward_chunk_size) + .long 0 + + add %ecx, %esi + add %ecx, %edi + + + /* Backward movsb is implicitly off-by-one. compensate that. */ + sub $1, %esi + sub $1, %edi + + /* Backward copy. */ + std + + rep + movsb +VARIABLE(grub_relocator_backward_end) + + +VARIABLE(grub_relocator_forward_start) + /* mov imm32, %eax */ + .byte 0xb8 +VARIABLE(grub_relocator_forward_dest) + .long 0 + movl %eax, %edi + + /* mov imm32, %rax */ + .byte 0xb8 +VARIABLE(grub_relocator_forward_src) + .long 0 + movl %eax, %esi + + /* mov imm32, %ecx */ + .byte 0xb9 +VARIABLE(grub_relocator_forward_chunk_size) + .long 0 + + /* Forward copy. */ + cld + rep + movsb +VARIABLE(grub_relocator_forward_end) diff --git a/grub-core/lib/i386/relocator_backward.S b/grub-core/lib/i386/relocator_backward.S new file mode 100644 index 0000000..0691347 --- /dev/null +++ b/grub-core/lib/i386/relocator_backward.S @@ -0,0 +1,2 @@ +#define BACKWARD +#include "relocator_asm.S" diff --git a/grub-core/lib/i386/relocator_common.S b/grub-core/lib/i386/relocator_common.S new file mode 100644 index 0000000..bd5b53f --- /dev/null +++ b/grub-core/lib/i386/relocator_common.S @@ -0,0 +1,82 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2009,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + + +#include +#include + +#ifdef __x86_64__ +#define RAX %rax +#define RSI %rsi +#else +#define RAX %eax +#define RSI %esi +#endif + + .macro DISABLE_PAGING +#ifdef GRUB_MACHINE_IEEE1275 +#endif + + movl %cr0, %eax + andl $(~GRUB_MEMORY_CPU_CR0_PAGING_ON), %eax + movl %eax, %cr0 + .endm + + .macro PREAMBLE +LOCAL(base): + /* %rax contains now our new 'base'. */ + mov RAX, RSI + + add $(LOCAL(cont0) - LOCAL(base)), RAX + jmp *RAX +LOCAL(cont0): + .endm + + .macro RELOAD_GDT + lea (LOCAL(cont1) - LOCAL(base)) (RSI, 1), RAX + movl %eax, (LOCAL(jump_vector) - LOCAL(base)) (RSI, 1) + + lea (LOCAL(gdt) - LOCAL(base)) (RSI, 1), RAX + mov RAX, (LOCAL(gdt_addr) - LOCAL(base)) (RSI, 1) + + /* Switch to compatibility mode. */ + lgdt (LOCAL(gdtdesc) - LOCAL(base)) (RSI, 1) + + /* Update %cs. */ + ljmp *(LOCAL(jump_vector) - LOCAL(base)) (RSI, 1) + + .p2align 4 +LOCAL(gdtdesc): + .word LOCAL(gdt_end) - LOCAL(gdt) +LOCAL(gdt_addr): +#ifdef __x86_64__ + /* Filled by the code. */ + .quad 0 +#else + /* Filled by the code. */ + .long 0 +#endif + + .p2align 4 +LOCAL(jump_vector): + /* Jump location. Is filled by the code */ + .long 0 + .long CODE_SEGMENT + +LOCAL(cont1): + .endm diff --git a/grub-core/lib/i386/setjmp.S b/grub-core/lib/i386/setjmp.S new file mode 100644 index 0000000..5b7aa15 --- /dev/null +++ b/grub-core/lib/i386/setjmp.S @@ -0,0 +1,59 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2007 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + + .file "setjmp.S" + +GRUB_MOD_LICENSE ("GPLv3+") + + .text + +/* + * int grub_setjmp (grub_jmp_buf env) + */ +FUNCTION(grub_setjmp) + movl %ebx, 0(%eax) /* EBX */ + movl %esi, 4(%eax) /* ESI */ + movl %edi, 8(%eax) /* EDI */ + movl %ebp, 12(%eax) /* EBP */ + popl %ecx + movl %esp, 16(%eax) /* ESP */ + movl %ecx, 20(%eax) /* EIP */ + xorl %eax, %eax + jmp *%ecx + + +/* + * int grub_longjmp (grub_jmp_buf env, int val) + */ +FUNCTION(grub_longjmp) + movl 0(%eax), %ebx + movl 4(%eax), %esi + movl 8(%eax), %edi + movl 12(%eax), %ebp + movl 16(%eax), %esp + movl 20(%eax), %ecx + + movl %edx, %eax + testl %eax, %eax + jnz 1f + incl %eax +1: jmp *%ecx + diff --git a/grub-core/lib/ieee1275/datetime.c b/grub-core/lib/ieee1275/datetime.c new file mode 100644 index 0000000..4105c63 --- /dev/null +++ b/grub-core/lib/ieee1275/datetime.c @@ -0,0 +1,145 @@ +/* kern/cmos_datetime.c - CMOS datetime function. + * + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +GRUB_MOD_LICENSE ("GPLv3+"); + +static char *rtc = 0; + +static void +find_rtc (void) +{ + auto int hook (struct grub_ieee1275_devalias *alias); + int hook (struct grub_ieee1275_devalias *alias) + { + if (grub_strcmp (alias->type, "rtc") == 0) + { + grub_dprintf ("datetime", "Found RTC %s\n", alias->path); + rtc = grub_strdup (alias->path); + return 1; + } + return 0; + } + + grub_ieee1275_devices_iterate (hook); +} + +grub_err_t +grub_get_datetime (struct grub_datetime *datetime) +{ + struct get_time_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t device; + grub_ieee1275_cell_t catch_result; + grub_ieee1275_cell_t year; + grub_ieee1275_cell_t month; + grub_ieee1275_cell_t day; + grub_ieee1275_cell_t hour; + grub_ieee1275_cell_t minute; + grub_ieee1275_cell_t second; + } + args; + int status; + grub_ieee1275_ihandle_t ihandle; + + if (!rtc) + find_rtc (); + if (!rtc) + return grub_error (GRUB_ERR_IO, "no RTC found"); + + status = grub_ieee1275_open (rtc, &ihandle); + if (status == -1) + return grub_error (GRUB_ERR_IO, "couldn't open RTC"); + + INIT_IEEE1275_COMMON (&args.common, "call-method", 2, 7); + args.device = (grub_ieee1275_cell_t) ihandle; + args.method = (grub_ieee1275_cell_t) "get-time"; + + status = IEEE1275_CALL_ENTRY_FN (&args); + + grub_ieee1275_close (ihandle); + + if (status == -1) + return grub_error (GRUB_ERR_IO, "get-time failed"); + + datetime->year = args.year; + datetime->month = args.month; + datetime->day = args.day; + datetime->hour = args.hour; + datetime->minute = args.minute; + datetime->second = args.second; + + return GRUB_ERR_NONE; +} + +grub_err_t +grub_set_datetime (struct grub_datetime *datetime) +{ + struct set_time_args + { + struct grub_ieee1275_common_hdr common; + grub_ieee1275_cell_t method; + grub_ieee1275_cell_t device; + grub_ieee1275_cell_t year; + grub_ieee1275_cell_t month; + grub_ieee1275_cell_t day; + grub_ieee1275_cell_t hour; + grub_ieee1275_cell_t minute; + grub_ieee1275_cell_t second; + grub_ieee1275_cell_t catch_result; + } + args; + int status; + grub_ieee1275_ihandle_t ihandle; + + if (!rtc) + find_rtc (); + if (!rtc) + return grub_error (GRUB_ERR_IO, "no RTC found"); + + status = grub_ieee1275_open (rtc, &ihandle); + if (status == -1) + return grub_error (GRUB_ERR_IO, "couldn't open RTC"); + + INIT_IEEE1275_COMMON (&args.common, "call-method", 8, 1); + args.device = (grub_ieee1275_cell_t) ihandle; + args.method = (grub_ieee1275_cell_t) "set-time"; + + args.year = datetime->year; + args.month = datetime->month; + args.day = datetime->day; + args.hour = datetime->hour; + args.minute = datetime->minute; + args.second = datetime->second; + + status = IEEE1275_CALL_ENTRY_FN (&args); + + grub_ieee1275_close (ihandle); + + if (status == -1) + return grub_error (GRUB_ERR_IO, "set-time failed"); + + return GRUB_ERR_NONE; +} diff --git a/grub-core/lib/ieee1275/halt.c b/grub-core/lib/ieee1275/halt.c new file mode 100644 index 0000000..7ede29d --- /dev/null +++ b/grub-core/lib/ieee1275/halt.c @@ -0,0 +1,33 @@ +/* openfw.c -- Open firmware support functions. */ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2003,2004,2005,2007,2008,2009 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include + +void +grub_halt (void) +{ + /* Not standardized. We try three known commands. */ + + grub_ieee1275_interpret ("shut-down", 0); + grub_ieee1275_interpret ("power-off", 0); + grub_ieee1275_interpret ("poweroff", 0); + + while (1); +} diff --git a/grub-core/lib/ieee1275/relocator.c b/grub-core/lib/ieee1275/relocator.c new file mode 100644 index 0000000..c09f1e9 --- /dev/null +++ b/grub-core/lib/ieee1275/relocator.c @@ -0,0 +1,95 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include + +unsigned +grub_relocator_firmware_get_max_events (void) +{ + int counter = 0; + auto int NESTED_FUNC_ATTR count (grub_uint64_t addr __attribute__ ((unused)), + grub_uint64_t len __attribute__ ((unused)), + grub_memory_type_t type __attribute__ ((unused))); + int NESTED_FUNC_ATTR count (grub_uint64_t addr __attribute__ ((unused)), + grub_uint64_t len __attribute__ ((unused)), + grub_memory_type_t type __attribute__ ((unused))) + { + counter++; + return 0; + } + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) + return 0; + grub_machine_mmap_iterate (count); + return 2 * counter; +} + +unsigned +grub_relocator_firmware_fill_events (struct grub_relocator_mmap_event *events) +{ + int counter = 0; + auto int NESTED_FUNC_ATTR fill (grub_uint64_t addr, grub_uint64_t len, + grub_memory_type_t type); + int NESTED_FUNC_ATTR fill (grub_uint64_t addr, grub_uint64_t len, + grub_memory_type_t type) + { + if (type != GRUB_MEMORY_AVAILABLE) + return 0; + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM)) + { + if (addr + len <= 0x180000) + return 0; + + if (addr < 0x180000) + { + len = addr + len - 0x180000; + addr = 0x180000; + } + } + + events[counter].type = REG_FIRMWARE_START; + events[counter].pos = addr; + counter++; + events[counter].type = REG_FIRMWARE_END; + events[counter].pos = addr + len; + counter++; + + return 0; + } + + if (grub_ieee1275_test_flag (GRUB_IEEE1275_FLAG_CANNOT_INTERPRET)) + return 0; + grub_machine_mmap_iterate (fill); + return counter; +} + +int +grub_relocator_firmware_alloc_region (grub_addr_t start, grub_size_t size) +{ + return (grub_claimmap (start, size) >= 0); +} + +void +grub_relocator_firmware_free_region (grub_addr_t start, grub_size_t size) +{ + grub_ieee1275_release (start, size); +} diff --git a/grub-core/lib/legacy_parse.c b/grub-core/lib/legacy_parse.c new file mode 100644 index 0000000..659fa70 --- /dev/null +++ b/grub-core/lib/legacy_parse.c @@ -0,0 +1,815 @@ +/* + * GRUB -- GRand Unified Bootloader + * Copyright (C) 1999,2000,2001,2002,2003,2004,2010 Free Software Foundation, Inc. + * + * GRUB is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * GRUB is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GRUB. If not, see . + */ + +#include +#include +#include +#include +#include +#include + +struct legacy_command +{ + const char *name; + const char *map; + const char *suffix; + unsigned suffixarg; + unsigned argc; + enum arg_type { + TYPE_VERBATIM, + TYPE_FORCE_OPTION, + TYPE_NOAPM_OPTION, + TYPE_TYPE_OR_NOMEM_OPTION, + TYPE_OPTION, + TYPE_FILE, + TYPE_FILE_NO_CONSUME, + TYPE_PARTITION, + TYPE_BOOL, + TYPE_INT, + TYPE_REST_VERBATIM, + TYPE_VBE_MODE + } argt[4]; + enum { + FLAG_IGNORE_REST = 0x001, + FLAG_FALLBACK_AVAILABLE = 0x004, + FLAG_FALLBACK = 0x008, + FLAG_COLOR_INVERT = 0x010, + FLAG_NO_MENUENTRY = 0x020, + FLAG_MENUENTRY_ONLY = 0x040, + FLAG_TERMINAL = 0x080, + FLAG_TITLE = 0x100, + } flags; + const char *shortdesc; + const char *longdesc; +}; + +static struct legacy_command legacy_commands[] = + { + {"blocklist", "blocklist '%s'\n", NULL, 0, 1, {TYPE_FILE}, 0, "FILE", + "Print the blocklist notation of the file FILE."}, + {"boot", "boot\n", NULL, 0, 0, {}, 0, 0, + "Boot the OS/chain-loader which has been loaded."}, + /* FIXME: bootp unsupported. */ + {"cat", "cat '%s'\n", NULL, 0, 1, {TYPE_FILE}, 0, "FILE", + "Print the contents of the file FILE."}, + {"chainloader", "chainloader %s '%s'\n", NULL, 0, + 2, {TYPE_FORCE_OPTION, TYPE_FILE}, 0, "[--force] FILE", + "Load the chain-loader FILE. If --force is specified, then load it" + " forcibly, whether the boot loader signature is present or not."}, + {"cmp", "cmp '%s' '%s'\n", NULL, 0, + 2, {TYPE_FILE, TYPE_FILE}, FLAG_IGNORE_REST, "FILE1 FILE2", + "Compare the file FILE1 with the FILE2 and inform the different values" + " if any."}, + {"color", "set color_normal='%s'; set color_highlight='%s'\n", NULL, 0, + 2, {TYPE_VERBATIM, TYPE_VERBATIM}, + FLAG_IGNORE_REST | FLAG_FALLBACK_AVAILABLE, "NORMAL [HIGHLIGHT]", + "Change the menu colors. The color NORMAL is used for most" + " lines in the menu, and the color HIGHLIGHT is used to highlight the" + " line where the cursor points. If you omit HIGHLIGHT, then the" + " inverted color of NORMAL is used for the highlighted line." + " The format of a color is \"FG/BG\". FG and BG are symbolic color names." + " A symbolic color name must be one of these: black, blue, green," + " cyan, red, magenta, brown, light-gray, dark-gray, light-blue," + " light-green, light-cyan, light-red, light-magenta, yellow and white." + " But only the first eight names can be used for BG. You can prefix" + " \"blink-\" to FG if you want a blinking foreground color."}, + {"color", "set color_normal='%s'; set color_highlight='%s'\n", NULL, 0, + 1, {TYPE_VERBATIM}, + FLAG_IGNORE_REST | FLAG_FALLBACK | FLAG_COLOR_INVERT, NULL, NULL}, + {"configfile", "legacy_configfile '%s'\n", NULL, 0, 1, {TYPE_FILE}, + 0, "FILE", "Load FILE as the configuration file."}, + {"debug", + "if [ -z \"$debug\" ]; then set debug=all; else set debug=; fi\n", NULL, 0, + 0, {}, 0, 0, "Turn on/off the debug mode."}, + {"default", + "set default='%s'; if [ x\"$default\" = xsaved ]; then load_env; " + "set default=\"$saved_entry\"; fi\n", NULL, 0, 1, {TYPE_VERBATIM}, 0, + "[NUM | `saved']", + "Set the default entry to entry number NUM (if not specified, it is" + " 0, the first entry) or the entry number saved by savedefault."}, + /* FIXME: dhcp unsupported. */ + {"displayapm", "lsapm\n", NULL, 0, 0, {}, 0, 0, + "Display APM BIOS information."}, + {"displaymem", "lsmmap\n", NULL, 0, 0, {}, 0, 0, + "Display what GRUB thinks the system address space map of the" + " machine is, including all regions of physical RAM installed."}, + /* NOTE: embed unsupported. */ + {"fallback", "set fallback='%s'\n", NULL, 0, + 1, {TYPE_VERBATIM}, 0, "NUM...", + "Go into unattended boot mode: if the default boot entry has any" + " errors, instead of waiting for the user to do anything, it" + " immediately starts over using the NUM entry (same numbering as the" + " `default' command). This obviously won't help if the machine" + " was rebooted by a kernel that GRUB loaded."}, + {"find", "search -f '%s'\n", NULL, 0, 1, {TYPE_FILE}, 0, "FILENAME", + "Search for the filename FILENAME in all of partitions and print the list of" + " the devices which contain the file."}, + /* FIXME: fstest unsupported. */ + /* NOTE: The obsolete C/H/S geometry isn't shown anymore. */ + {"geometry", "insmod regexp; ls -l (%s*)\n", NULL, 0, 1, {TYPE_VERBATIM}, 0, "DRIVE", + "Print the information for a drive DRIVE. "}, + {"halt", "halt %s\n", NULL, 0, 1, {TYPE_NOAPM_OPTION}, 0, "[--no-apm]", + "Halt your system. If APM is available on it, turn off the power using" + " the APM BIOS, unless you specify the option `--no-apm'."}, + /* FIXME: help unsupported. */ /* NUL_TERMINATE */ + {"hiddenmenu", NULL, + "if sleep -i $timeout; then timeout=0; else timeout=-1; fi\n", 0, + 0, {}, 0, "", "Hide the menu."}, + {"hide", "parttool '%s' hidden+\n", NULL, 0, 1, {TYPE_PARTITION}, + 0, "PARTITION", + "Hide PARTITION by setting the \"hidden\" bit in" + " its partition type code."}, + /* FIXME: ifconfig unsupported. */ + /* FIXME: impsprobe unsupported. */ + {"initrd", "legacy_initrd '%s' %s\n", NULL, 0, 2, {TYPE_FILE_NO_CONSUME, + TYPE_REST_VERBATIM}, 0, + "FILE [ARG ...]", + "Load an initial ramdisk FILE for a Linux format boot image and set the" + " appropriate parameters in the Linux setup area in memory."}, + /* NOTE: install unsupported. */ + /* FIXME: ioprobe unsupported. */ + /* FIXME: really support --no-mem-option. */ + {"kernel", "legacy_kernel %s %s '%s' %s\n", NULL, 0, + 4, {TYPE_TYPE_OR_NOMEM_OPTION, TYPE_TYPE_OR_NOMEM_OPTION, + TYPE_FILE_NO_CONSUME, TYPE_REST_VERBATIM}, 0, + "[--no-mem-option] [--type=TYPE] FILE [ARG ...]", + "Attempt to load the primary boot image from FILE. The rest of the" + " line is passed verbatim as the \"kernel command line\". Any modules" + " must be reloaded after using this command. The option --type is used" + " to suggest what type of kernel to be loaded. TYPE must be either of" + " \"netbsd\", \"freebsd\", \"openbsd\", \"linux\", \"biglinux\" and" + " \"multiboot\". The option --no-mem-option tells GRUB not to pass a" + " Linux's mem option automatically."}, + {"lock", "if ! authenticate legacy; then return; fi", NULL, 0, 0, {}, 0, + 0, "Break a command execution unless the user is authenticated."}, + {"makeactive", "parttool \"$root\" boot+\n", NULL, 0, 0, {}, 0, 0, + "Set the active partition on the root disk to GRUB's root device." + " This command is limited to _primary_ PC partitions on a hard disk."}, + {"map", "drivemap '%s' '%s'\n", NULL, 0, + 2, {TYPE_PARTITION, TYPE_PARTITION}, + FLAG_IGNORE_REST, "TO_DRIVE FROM_DRIVE", + "Map the drive FROM_DRIVE to the drive TO_DRIVE. This is necessary" + " when you chain-load some operating systems, such as DOS, if such an" + " OS resides at a non-first drive."}, + /* NOTE: md5crypt unsupported since GRUB has not enough entropy and this + hash shouldn't be used anymore. */ + {"module", "legacy_initrd '%s' %s\n", NULL, 0, 2, {TYPE_FILE_NO_CONSUME, + TYPE_REST_VERBATIM}, 0, + "FILE [ARG ...]", + "Load a boot module FILE for a Multiboot format boot image (no" + " interpretation of the file contents is made, so users of this" + " command must know what the kernel in question expects). The" + " rest of the line is passed as the \"module command line\", like" + " the `kernel' command."}, + {"modulenounzip", "legacy_initrd_nounzip '%s' %s\n", NULL, 0, 2, + {TYPE_FILE_NO_CONSUME, TYPE_REST_VERBATIM}, 0, + "FILE [ARG ...]", + "The same as `module', except that automatic decompression is" + " disabled."}, + {"pager", "set pager=%s; if [ \"$pager\" = 0 ]; then " + " echo Internal pager is now off; else " + "echo Internal pager is now on; fi\n", NULL, 0, + 1, {TYPE_BOOL}, FLAG_FALLBACK_AVAILABLE, "[FLAG]", + "Toggle pager mode with no argument. If FLAG is given and its value" + " is `on', turn on the mode. If FLAG is `off', turn off the mode."}, + {"pager", + "if [ \"$pager\" = 1 ]; then pager=0; echo Internal pager is now off;" + "else pager=1; echo Internal pager is now on; fi\n", NULL, 0, 0, {}, + FLAG_FALLBACK, NULL, NULL}, + /* FIXME: partnew unsupported. */ + {"parttype", "parttool '%s' type=%s\n", NULL, 0, + 2, {TYPE_PARTITION, TYPE_INT}, 0, + "PART TYPE", "Change the type of the partition PART to TYPE."}, + {"password", "if [ \"$superusers\" = "" ]; then superusers=legacy; fi;\n" + "legacy_password %s '%s'\n", + "menuentry \"Superuser menu\" --users \"legacy\" { configfile '%s'; }\n", + 2, 3, {TYPE_OPTION, TYPE_VERBATIM, TYPE_FILE}, + FLAG_IGNORE_REST | FLAG_FALLBACK_AVAILABLE | FLAG_NO_MENUENTRY, + "[--md5] PASSWD [FILE]", + "If used in the first section of a menu file, disable all" + " interactive editing control (menu entry editor and" + " command line). If the password PASSWD is entered, it loads the" + " FILE as a new config file and restarts the GRUB Stage 2. If you" + " omit the argument FILE, then GRUB just unlocks privileged" + " instructions. You can also use it in the script section, in" + " which case it will ask for the password, before continuing." + " The option --md5 tells GRUB that PASSWD is encrypted with" + " md5crypt."}, + {"password", "if [ \"$superusers\" = "" ]; then superusers=legacy; fi;\n" + "legacy_password %s '%s'\n", NULL, 0, 2, {TYPE_OPTION, TYPE_VERBATIM}, + FLAG_IGNORE_REST | FLAG_FALLBACK | FLAG_NO_MENUENTRY, NULL, NULL}, + {"password", "if legacy_check_password %s '%s'; then configfile '%s'; " + "else return; fi\n", NULL, 2, 3, {TYPE_OPTION, TYPE_VERBATIM, TYPE_FILE}, + FLAG_IGNORE_REST | FLAG_FALLBACK_AVAILABLE | FLAG_MENUENTRY_ONLY, + NULL, NULL}, + {"password", "if ! legacy_check_password %s '%s'; then return fi;\n", + NULL, 0, 2, {TYPE_OPTION, TYPE_VERBATIM}, + FLAG_IGNORE_REST | FLAG_FALLBACK | FLAG_MENUENTRY_ONLY, NULL, NULL}, + /* NOTE: GRUB2 has a design principle of not eternally waiting for user + input. 60 seconds should be enough. + */ + {"pause", "echo %s; if ! sleep -i 60; then return; fi\n", NULL, 0, 1, + {TYPE_REST_VERBATIM}, 0, + "[MESSAGE ...]", "Print MESSAGE, then wait until a key is pressed."}, + /* FIXME: rarp unsupported. */ + {"read", "read_dword %s\n", NULL, 0, 1, {TYPE_INT}, 0, "ADDR", + "Read a 32-bit value from memory at address ADDR and" + " display it in hex format."}, + {"reboot", "reboot\n", NULL, 0, 0, {}, 0, 0, "Reboot your system."}, + {"root", "set root='%s'; set legacy_hdbias='%s'\n", NULL, 0, + 2, {TYPE_PARTITION, TYPE_INT}, FLAG_FALLBACK_AVAILABLE, + "[DEVICE [HDBIAS]]", + "Set the current \"root device\" to the device DEVICE, then" + " attempt to mount it to get the partition size (for passing the" + " partition descriptor in `ES:ESI', used by some chain-loaded" + " bootloaders), the BSD drive-type (for booting BSD kernels using" + " their native boot format), and correctly determine " + " the PC partition where a BSD sub-partition is located. The" + " optional HDBIAS parameter is a number to tell a BSD kernel" + " how many BIOS drive numbers are on controllers before the current" + " one. For example, if there is an IDE disk and a SCSI disk, and your" + " FreeBSD root partition is on the SCSI disk, then use a `1' for HDBIAS."}, + {"root", "echo \"$root\"\n", NULL, 0, 0, {}, FLAG_FALLBACK, NULL, NULL}, + {"rootnoverify", "set root='%s'; set legacy_hdbias='%s'\n", NULL, 0, + 2, {TYPE_PARTITION, TYPE_INT}, 0, + "[DEVICE [HDBIAS]]", + "Similar to `root', but don't attempt to mount the partition. This" + " is useful for when an OS is outside of the area of the disk that" + " GRUB can read, but setting the correct root device is still" + " desired. Note that the items mentioned in `root' which" + " derived from attempting the mount will NOT work correctly."}, + {"rootnoverify", "echo \"$root\"\n", NULL, 0, + 0, {}, FLAG_FALLBACK, NULL, NULL}, + /* FIXME: support saving NUM and fallback. */ + {"savedefault", "saved_entry=${chosen}; save_env saved_entry\n", NULL, 0, + 0, {}, 0, "[NUM | `fallback']", + "Save the current entry as the default boot entry if no argument is" + " specified. If a number is specified, this number is saved. If" + " `fallback' is used, next fallback entry is saved."}, + {"serial", "serial %s\n", NULL, 0, 1, {TYPE_REST_VERBATIM}, 0, + "[--unit=UNIT] [--port=PORT] [--speed=SPEED] [--word=WORD] " + "[--parity=PARITY] [--stop=STOP] [--device=DEV]", + "Initialize a serial device. UNIT is a digit that specifies which serial" + " device is used (e.g. 0 == COM1). If you need to specify the port number," + " set it by --port. SPEED is the DTE-DTE speed. WORD is the word length," + " PARITY is the type of parity, which is one of `no', `odd' and `even'." + " STOP is the length of stop bit(s). The option --device can be used only" + " in the grub shell, which specifies the file name of a tty device. The" + " default values are COM1, 9600, 8N1."}, + /* FIXME: setkey unsupported. */ /* NUL_TERMINATE */ + /* NOTE: setup unsupported. */ + /* FIXME: --no-echo, --no-edit, hercules unsupported. */ + /* NOTE: both terminals are activated so --silent and --timeout + are useless. */ + {"terminal", NULL, NULL, 0, 0, {}, FLAG_TERMINAL | FLAG_IGNORE_REST, + "[--dumb] [--no-echo] [--no-edit] [--timeout=SECS] [--lines=LINES] " + "[--silent] [console] [serial] [hercules]", + "Select a terminal. When multiple terminals are specified, wait until" + " you push any key to continue. If both console and serial are specified," + " the terminal to which you input a key first will be selected. If no" + " argument is specified, print current setting. The option --dumb" + " specifies that your terminal is dumb, otherwise, vt100-compatibility" + " is assumed. If you specify --no-echo, input characters won't be echoed." + " If you specify --no-edit, the BASH-like editing feature will be disabled." + " If --timeout is present, this command will wait at most for SECS" + " seconds. The option --lines specifies the maximum number of lines." + " The option --silent is used to suppress messages."}, + /* FIXME: terminfo unsupported. */ /* NUL_TERMINATE */ + {"testload", "cat '%s'\n", NULL, 0, 1, {TYPE_FILE}, 0, "FILE", + "Read the entire contents of FILE in several different ways and" + " compares them, to test the filesystem code. " + " If this test succeeds, then a good next" + " step is to try loading a kernel."}, + {"testvbe", "insmod vbe; videotest '%s'\n", NULL, 0, 1, {TYPE_VBE_MODE}, 0, + "MODE", "Test the VBE mode MODE. Hit any key to return."}, + /* FIXME: tftpserver unsupported. */ + {"timeout", "set timeout=%s\n", NULL, 0, 1, {TYPE_INT}, 0, "SEC", + "Set a timeout, in SEC seconds, before automatically booting the" + " default entry (normally the first entry defined)."}, + {"title", NULL, NULL, 0, 0, {}, FLAG_TITLE, "NAME ...", + "Start a new boot entry, and set its name to the contents of the" + " rest of the line, starting with the first non-space character."}, + {"unhide", "parttool '%s' hidden-\n", NULL, 0, + 1, {TYPE_PARTITION}, 0, "PARTITION", + "Unhide PARTITION by clearing the \"hidden\" bit in its" + " partition type code."}, + /* FIXME: uppermem unsupported. */ + {"uuid", "search --set=root --fs-uuid '%s'\n", NULL, 0, 1, {TYPE_VERBATIM}, + 0, "UUID", "Find root by UUID"}, + {"vbeprobe", "insmod vbe; videoinfo '%s'\n", NULL, 0, 1, {TYPE_VBE_MODE}, + FLAG_FALLBACK_AVAILABLE, "[MODE]", + "Probe VBE information. If the mode number MODE is specified, show only" + " the information about only the mode."}, + {"vbeprobe", "insmod vbe; videoinfo\n", NULL, 0, 0, {}, + FLAG_FALLBACK, NULL, NULL} + }; + +char * +grub_legacy_escape (const char *in, grub_size_t len) +{ + char *ptr; + char *ret; + char saved; + int overhead = 0; + + for (ptr = (char*)in; ptr < in + len && *ptr; ptr++) + if (*ptr == '\'') + overhead += 3; + ret = grub_malloc (ptr - in + overhead + 1); + if (!ret) + return NULL; + + ptr = (char*)in; + saved = ptr[len]; + ptr[len] = '\0'; + grub_strchrsub (ret, ptr, '\'', "'\\''"); + ptr[len] = saved; + return ret; +} + +static char * +adjust_file (const char *in, grub_size_t len) +{ + const char *comma, *ptr, *rest; + char *ret, *outptr; + int overhead = 0; + int part = -1, subpart = -1; + if (in[0] != '(') + return grub_legacy_escape (in, len); + for (ptr = in + 1; ptr < in + len && *ptr && *ptr != ')' + && *ptr != ','; ptr++) + if (*ptr == '\'' || *ptr == '\\') + overhead++; + comma = ptr; + if (*comma != ',') + return grub_legacy_escape (in, len); + part = grub_strtoull (comma + 1, (char **) &rest, 0); + if (rest[0] == ',' && rest[1] >= 'a' && rest[1] <= 'z') + { + subpart = rest[1] - 'a'; + rest += 2; + } + for (ptr = rest; ptr < in + len && *ptr; ptr++) + if (*ptr == '\'' || *ptr == '\\') + overhead++; + + /* 35 is enough for any 2 numbers. */ + ret = grub_malloc (ptr - in + overhead + 35); + if (!ret) + return NULL; + + outptr = ret; + for (ptr = in; ptr < in + len && ptr <= comma; ptr++) + { + if (*ptr == '\'' || *ptr == '\\') + *outptr++ = '\\'; + + *outptr++ = *ptr; + } + if (subpart != -1) + grub_snprintf (outptr, 35, "%d,%d", part + 1, subpart + 1); + else + grub_snprintf (outptr, 35, "%d", part + 1); + while (*outptr) + outptr++; + for (ptr = rest; ptr < in + len; ptr++) + { + if (*ptr == '\'' || *ptr == '\\') + *outptr++ = '\\'; + + *outptr++ = *ptr; + } + *outptr = 0; + return ret; +} + +static int +check_option (const char *a, char *b, grub_size_t len) +{ + if (grub_strlen (b) != len) + return 0; + return grub_strncmp (a, b, len) == 0; +} + +static int +is_option (enum arg_type opt, const char *curarg, grub_size_t len) +{ + switch (opt) + { + case TYPE_NOAPM_OPTION: + return check_option (curarg, "--no-apm", len); + case TYPE_FORCE_OPTION: + return check_option (curarg, "--force", len); + case TYPE_TYPE_OR_NOMEM_OPTION: + return check_option (curarg, "--type=netbsd", len) + || check_option (curarg, "--type=freebsd", len) + || check_option (curarg, "--type=openbsd", len) + || check_option (curarg, "--type=linux", len) + || check_option (curarg, "--type=biglinux", len) + || check_option (curarg, "--type=multiboot", len) + || check_option (curarg, "--no-mem-option", len); + case TYPE_OPTION: + return (len >= 2 && curarg[0] == '-' && curarg[1] == '-'); + default: + return 0; + } +} + +char * +grub_legacy_parse (const char *buf, char **entryname, char **suffix) +{ + const char *ptr; + const char *cmdname; + unsigned i, cmdnum; + char *args[ARRAY_SIZE (legacy_commands[0].argt)]; + + *suffix = NULL; + + for (ptr = buf; *ptr && grub_isspace (*ptr); ptr++); + if (!*ptr || *ptr == '#') + { + char *ret; + int len = grub_strlen (buf); + ret = grub_malloc (len + 2); + grub_memcpy (ret, buf, len); + if (len && ret[len - 1] == '\n') + ret[len] = 0; + else + { + ret[len] = '\n'; + ret[len + 1] = 0; + } + return ret; + } + + cmdname = ptr; + for (ptr = buf; *ptr && !grub_isspace (*ptr) && *ptr != '='; ptr++); + + for (cmdnum = 0; cmdnum < ARRAY_SIZE (legacy_commands); cmdnum++) + if (grub_strncmp (legacy_commands[cmdnum].name, cmdname, ptr - cmdname) == 0 + && legacy_commands[cmdnum].name[ptr - cmdname] == 0 + && (!(*entryname != NULL && (legacy_commands[cmdnum].flags + & FLAG_NO_MENUENTRY))) + && (!(*entryname == NULL && (legacy_commands[cmdnum].flags + & FLAG_MENUENTRY_ONLY)))) + break; + if (cmdnum == ARRAY_SIZE (legacy_commands)) + return grub_xasprintf ("# Unsupported legacy command: %s\n", buf); + + for (; grub_isspace (*ptr) || *ptr == '='; ptr++); + + if (legacy_commands[cmdnum].flags & FLAG_TITLE) + { + const char *ptr2; + ptr2 = ptr + grub_strlen (ptr); + while (ptr2 > ptr && grub_isspace (*(ptr2 - 1))) + ptr2--; + *entryname = grub_strndup (ptr, ptr2 - ptr); + return NULL; + } + + if (legacy_commands[cmdnum].flags & FLAG_TERMINAL) + { + int dumb = 0, lines = 24; +#ifdef TODO + int no_echo = 0, no_edit = 0; + int hercules = 0; +#endif + int console = 0, serial = 0; + /* Big enough for any possible resulting command. */ + char outbuf[256] = ""; + char *outptr; + while (*ptr) + { + /* "[--timeout=SECS] [--silent]" + " [console] [serial] [hercules]"*/ + if (grub_memcmp (ptr, "--dumb", sizeof ("--dumb") - 1) == 0) + dumb = 1; +#ifdef TODO + if (grub_memcmp (ptr, "--no-echo", sizeof ("--no-echo") - 1) == 0) + no_echo = 1; + + if (grub_memcmp (ptr, "--no-edit", sizeof ("--no-edit") - 1) == 0) + no_edit = 1; +#endif + if (grub_memcmp (ptr, "--lines=", sizeof ("--lines=") - 1) == 0) + { + lines = grub_strtoul (ptr + sizeof ("--lines=") - 1, 0, 0); + if (grub_errno) + { + lines = 24; + grub_errno = GRUB_ERR_NONE; + } + } + + if (grub_memcmp (ptr, "console", sizeof ("console") - 1) == 0) + console = 1; + + if (grub_memcmp (ptr, "serial", sizeof ("serial") - 1) == 0) + serial = 1; +#ifdef TODO + if (grub_memcmp (ptr, "hercules", sizeof ("hercules") - 1) == 0) + hercules = 1; +#endif + while (*ptr && !grub_isspace (*ptr)) + ptr++; + while (*ptr && grub_isspace (*ptr)) + ptr++; + } + + if (!console && !serial) + return grub_strdup ("terminal_input; terminal_output; terminfo\n"); + + grub_strcpy (outbuf, "terminal_input "); + outptr = outbuf + grub_strlen (outbuf); + if (serial) + { + grub_strcpy (outptr, "serial "); + outptr += grub_strlen (outptr); + } + if (console) + { + grub_strcpy (outptr, "console "); + outptr += grub_strlen (outptr); + } + grub_strcpy (outptr, "; terminal_output "); + outptr += grub_strlen (outptr); + if (serial) + { + grub_strcpy (outptr, "serial "); + outptr += grub_strlen (outptr); + } + if (console) + { + grub_strcpy (outptr, "console "); + outptr += grub_strlen (outptr); + } + grub_strcpy (outptr, "; "); + outptr += grub_strlen (outptr); + if (serial) + { + grub_snprintf (outptr, outbuf + sizeof (outbuf) - outptr, + "terminfo serial -g 80x%d %s; ", + lines, dumb ? "dumb" : "vt100"); + outptr += grub_strlen (outptr); + } + + grub_strcpy (outptr, "\n"); + + return grub_strdup (outbuf); + } + + grub_memset (args, 0, sizeof (args)); + + { + int hold_arg = 0; + const char *curarg = NULL; + for (i = 0; i < legacy_commands[cmdnum].argc; i++) + { + grub_size_t curarglen; + if (hold_arg) + { + ptr = curarg; + hold_arg = 0; + } + for (; grub_isspace (*ptr); ptr++); + curarg = ptr; + if (!*curarg) + break; + for (; *ptr && !grub_isspace (*ptr); ptr++); + if (i != legacy_commands[cmdnum].argc - 1 + || (legacy_commands[cmdnum].flags & FLAG_IGNORE_REST)) + curarglen = ptr - curarg; + else + { + curarglen = grub_strlen (curarg); + while (curarglen > 0 && grub_isspace (curarg[curarglen - 1])) + curarglen--; + } + if (*ptr) + ptr++; + switch (legacy_commands[cmdnum].argt[i]) + { + case TYPE_FILE_NO_CONSUME: + hold_arg = 1; + case TYPE_PARTITION: + case TYPE_FILE: + args[i] = adjust_file (curarg, curarglen); + break; + + case TYPE_REST_VERBATIM: + { + char *outptr, *outptr0; + int overhead = 3; + ptr = curarg; + while (*ptr) + { + for (; *ptr && grub_isspace (*ptr); ptr++); + for (; *ptr && !grub_isspace (*ptr); ptr++) + if (*ptr == '\'') + overhead += 3; + if (*ptr) + ptr++; + overhead += 3; + } + + outptr0 = args[i] = grub_malloc (overhead + (ptr - curarg)); + if (!outptr0) + return NULL; + ptr = curarg; + outptr = outptr0; + while (*ptr) + { + for (; *ptr && grub_isspace (*ptr); ptr++); + if (outptr != outptr0) + *outptr++ = ' '; + *outptr++ = '\''; + for (; *ptr && !grub_isspace (*ptr); ptr++) + { + if (*ptr == '\'') + { + *outptr++ = '\''; + *outptr++ = '\\'; + *outptr++ = '\''; + *outptr++ = '\''; + } + else + *outptr++ = *ptr; + } + *outptr++ = '\''; + if (*ptr) + ptr++; + } + *outptr++ = 0; + } + break; + + case TYPE_VERBATIM: + args[i] = grub_legacy_escape (curarg, curarglen); + break; + case TYPE_FORCE_OPTION: + case TYPE_NOAPM_OPTION: + case TYPE_TYPE_OR_NOMEM_OPTION: + case TYPE_OPTION: + if (is_option (legacy_commands[cmdnum].argt[i], curarg, curarglen)) + { + args[i] = grub_strndup (curarg, curarglen); + break; + } + args[i] = grub_strdup (""); + hold_arg = 1; + break; + case TYPE_INT: + { + const char *brk; + int base = 10; + brk = curarg; + if (brk[0] == '0' && brk[1] == 'x') + { + base = 16; + brk += 2; + } + else if (brk[0] == '0') + base = 8; + for (; *brk && brk < curarg + curarglen; brk++) + { + if (base == 8 && (*brk == '8' || *brk == '9')) + break; + if (grub_isdigit (*brk)) + continue; + if (base != 16) + break; + if (!(*brk >= 'a' && *brk <= 'f') + && !(*brk >= 'A' && *brk <= 'F')) + break; + } + if (brk == curarg) + args[i] = grub_strdup ("0"); + else + args[i] = grub_strndup (curarg, brk - curarg); + } + break; + case TYPE_VBE_MODE: + { + unsigned mod; + struct grub_vesa_mode_table_entry *modedesc; + + mod = grub_strtoul (curarg, 0, 0); + if (grub_errno) + { + mod = 0; + grub_errno = GRUB_ERR_NONE; + } + if (mod < GRUB_VESA_MODE_TABLE_START + || mod > GRUB_VESA_MODE_TABLE_END) + { + args[i] = grub_strdup ("auto"); + break; + } + modedesc = &grub_vesa_mode_table[mod - GRUB_VESA_MODE_TABLE_START]; + if (!modedesc->width) + { + args[i] = grub_strdup ("auto"); + break; + } + args[i] = grub_xasprintf ("%ux%ux%u", + modedesc->width, modedesc->height, + modedesc->depth); + break; + } + case TYPE_BOOL: + if (curarglen == 2 && curarg[0] == 'o' && curarg[1] == 'n') + args[i] = grub_strdup ("1"); + else + args[i] = grub_strdup ("0"); + break; + } + } + } + + while (legacy_commands[cmdnum].argc > 0 + && args[legacy_commands[cmdnum].argc - 1] == NULL + && (legacy_commands[cmdnum].flags & FLAG_FALLBACK_AVAILABLE) + && args[legacy_commands[cmdnum + 1].argc] == NULL) + cmdnum++; + + for (; i < legacy_commands[cmdnum].argc; i++) + switch (legacy_commands[cmdnum].argt[i]) + { + case TYPE_FILE_NO_CONSUME: + case TYPE_PARTITION: + case TYPE_FILE: + case TYPE_REST_VERBATIM: + case TYPE_VERBATIM: + case TYPE_FORCE_OPTION: + case TYPE_NOAPM_OPTION: + case TYPE_TYPE_OR_NOMEM_OPTION: + case TYPE_OPTION: + args[i] = grub_strdup (""); + break; + case TYPE_BOOL: + case TYPE_INT: + args[i] = grub_strdup ("0"); + break; + case TYPE_VBE_MODE: + args[i] = grub_strdup ("auto"); + break; + } + + if (legacy_commands[cmdnum].flags & FLAG_COLOR_INVERT) + { + char *corig = args[legacy_commands[cmdnum].argc - 1]; + char *slash = grub_strchr (corig, '/'); + char *invert; + grub_size_t len; + + len = grub_strlen (corig); + if (!slash) + { + grub_error (GRUB_ERR_BAD_ARGUMENT, "bad color specification %s", + args[0]); + return NULL; + } + invert = grub_malloc (len + 1); + if (!invert) + return NULL; + grub_memcpy (invert, slash + 1, len - (slash - corig) - 1); + invert[len - (slash - args[0]) - 1] = '/'; + grub_memcpy (invert + len - (slash - corig), corig, slash - corig); + invert[len] = 0; + args[legacy_commands[cmdnum].argc] = invert; + } + + if (legacy_commands[cmdnum].suffix) + { + *suffix = grub_xasprintf (legacy_commands[cmdnum].suffix, + args[legacy_commands[cmdnum].suffixarg]); + if (*suffix) + return NULL; + } + + { + char *ret = grub_xasprintf (legacy_commands[cmdnum].map, args[0], args[1], + args[2], args[3]); + grub_free (args[0]); + grub_free (args[1]); + grub_free (args[2]); + grub_free (args[3]); + return ret; + } +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/ChangeLog b/grub-core/lib/libgcrypt-grub/cipher/ChangeLog new file mode 100644 index 0000000..e7db175 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/ChangeLog @@ -0,0 +1,4212 @@ +2011-05-14 Automatic import tool + + Imported ciphers to GRUB + + * ac.c: Removed + * arcfour.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (elftest): Removed declaration. + (selftest): Removed. + (GRUB_MOD_INIT(gcry_arcfour)): New function + + Register cipher _gcry_cipher_spec_arcfour + (GRUB_MOD_FINI(gcry_arcfour)): New function + + Unregister cipher _gcry_cipher_spec_arcfour + * blowfish.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (selftest): Removed. + (GRUB_MOD_INIT(gcry_blowfish)): New function + + Register cipher _gcry_cipher_spec_blowfish + (GRUB_MOD_FINI(gcry_blowfish)): New function + + Unregister cipher _gcry_cipher_spec_blowfish + * camellia.c: Removed including of string.h + Removed including of stdlib.h + * camellia.h: Removed including of config.h + * camellia-glue.c: Removed including of config.h + Removed including of config.h + (elftest): Removed declaration. + (selftest): Removed. + (GRUB_MOD_INIT(gcry_camellia)): New function + + Register cipher _gcry_cipher_spec_camellia128 + Register cipher _gcry_cipher_spec_camellia192 + Register cipher _gcry_cipher_spec_camellia256 + (GRUB_MOD_FINI(gcry_camellia)): New function + + Unregister cipher _gcry_cipher_spec_camellia128 + Unregister cipher _gcry_cipher_spec_camellia192 + Unregister cipher _gcry_cipher_spec_camellia256 + * cast5.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (selftest): Removed. + (GRUB_MOD_INIT(gcry_cast5)): New function + + Register cipher _gcry_cipher_spec_cast5 + (GRUB_MOD_FINI(gcry_cast5)): New function + + Unregister cipher _gcry_cipher_spec_cast5 + * cipher.c: Removed + * crc.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (GRUB_MOD_INIT(gcry_crc)): New function + + Register digest _gcry_digest_spec_crc32 + Register digest _gcry_digest_spec_crc32_rfc1510 + Register digest _gcry_digest_spec_crc24_rfc2440 + (GRUB_MOD_FINI(gcry_crc)): New function + + Unregister MD _gcry_digest_spec_crc32 + Unregister MD _gcry_digest_spec_crc32_rfc1510 + Unregister MD _gcry_digest_spec_crc24_rfc2440 + * des.c: Removed including of config.h + Removed including of stdio.h + Removed including of string.h + (elftest): Removed declaration. + (weak_keys_chksum): Removed. + (tripledes_set2keys): Removed. + (selftest): Removed. + (do_tripledes_set_extra_info): Removed. + (selftest_fips): Removed. + (run_selftests): Removed. + (_gcry_cipher_extraspec_tripledes): Removed. + (GRUB_MOD_INIT(gcry_des)): New function + + Register cipher _gcry_cipher_spec_des + Register cipher _gcry_cipher_spec_tripledes + (GRUB_MOD_FINI(gcry_des)): New function + + Unregister cipher _gcry_cipher_spec_des + Unregister cipher _gcry_cipher_spec_tripledes + * dsa.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (selftest_sign_1024): Removed. + (selftests_dsa): Removed. + (run_selftests): Removed. + * ecc.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (selftests_ecdsa): Removed. + (run_selftests): Removed. + * elgamal.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + * hash-common.c: Removed + * hmac-tests.c: Removed + * md.c: Removed + * md4.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (GRUB_MOD_INIT(gcry_md4)): New function + + Register digest _gcry_digest_spec_md4 + (GRUB_MOD_FINI(gcry_md4)): New function + + Unregister MD _gcry_digest_spec_md4 + * md5.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (GRUB_MOD_INIT(gcry_md5)): New function + + Register digest _gcry_digest_spec_md5 + (GRUB_MOD_FINI(gcry_md5)): New function + + Unregister MD _gcry_digest_spec_md5 + * primegen.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + Removed including of errno.h + * pubkey.c: Removed + * rfc2268.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (elftest): Removed declaration. + (selftest): Removed. + (GRUB_MOD_INIT(gcry_rfc2268)): New function + + Register cipher _gcry_cipher_spec_rfc2268_40 + (GRUB_MOD_FINI(gcry_rfc2268)): New function + + Unregister cipher _gcry_cipher_spec_rfc2268_40 + * rijndael.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (elftest): Removed declaration. + (_gcry_aes_cfb_enc): Removed. + (_gcry_aes_cbc_enc): Removed. + (_gcry_aes_cfb_dec): Removed. + (_gcry_aes_cbc_dec): Removed. + (selftest_basic_128): Removed. + (selftest_basic_192): Removed. + (selftest_basic_256): Removed. + (selftest): Removed. + (selftest_fips_128_38a): Removed. + (selftest_fips_128): Removed. + (selftest_fips_192): Removed. + (selftest_fips_256): Removed. + (run_selftests): Removed. + (_gcry_cipher_extraspec_aes): Removed. + (_gcry_cipher_extraspec_aes192): Removed. + (_gcry_cipher_extraspec_aes256): Removed. + (GRUB_MOD_INIT(gcry_rijndael)): New function + + Register cipher _gcry_cipher_spec_aes + Register cipher _gcry_cipher_spec_aes192 + Register cipher _gcry_cipher_spec_aes256 + (GRUB_MOD_FINI(gcry_rijndael)): New function + + Unregister cipher _gcry_cipher_spec_aes + Unregister cipher _gcry_cipher_spec_aes192 + Unregister cipher _gcry_cipher_spec_aes256 + * rmd160.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (_gcry_rmd160_hash_buffer): Removed. + (GRUB_MOD_INIT(gcry_rmd160)): New function + + Register digest _gcry_digest_spec_rmd160 + (GRUB_MOD_FINI(gcry_rmd160)): New function + + Unregister MD _gcry_digest_spec_rmd160 + * rsa.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + Removed including of errno.h + (selftest_sign_1024): Removed. + (selftest_encr_1024): Removed. + (selftests_rsa): Removed. + (run_selftests): Removed. + * seed.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + (elftest): Removed declaration. + (selftest): Removed. + (GRUB_MOD_INIT(gcry_seed)): New function + + Register cipher _gcry_cipher_spec_seed + (GRUB_MOD_FINI(gcry_seed)): New function + + Unregister cipher _gcry_cipher_spec_seed + * serpent.c: Removed including of config.h + Removed including of string.h + Removed including of stdio.h + (GRUB_MOD_INIT(gcry_serpent)): New function + + Register cipher _gcry_cipher_spec_serpent128 + Register cipher _gcry_cipher_spec_serpent192 + Register cipher _gcry_cipher_spec_serpent256 + (GRUB_MOD_FINI(gcry_serpent)): New function + + Unregister cipher _gcry_cipher_spec_serpent128 + Unregister cipher _gcry_cipher_spec_serpent192 + Unregister cipher _gcry_cipher_spec_serpent256 + * sha1.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (_gcry_sha1_hash_buffer): Removed. + (selftests_sha1): Removed. + (run_selftests): Removed. + (_gcry_digest_extraspec_sha1): Removed. + (GRUB_MOD_INIT(gcry_sha1)): New function + + Register digest _gcry_digest_spec_sha1 + (GRUB_MOD_FINI(gcry_sha1)): New function + + Unregister MD _gcry_digest_spec_sha1 + * sha256.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (selftests_sha224): Removed. + (selftests_sha256): Removed. + (run_selftests): Removed. + (_gcry_digest_extraspec_sha224): Removed. + (_gcry_digest_extraspec_sha256): Removed. + (GRUB_MOD_INIT(gcry_sha256)): New function + + Register digest _gcry_digest_spec_sha224 + Register digest _gcry_digest_spec_sha256 + (GRUB_MOD_FINI(gcry_sha256)): New function + + Unregister MD _gcry_digest_spec_sha224 + Unregister MD _gcry_digest_spec_sha256 + * sha512.c: Removed including of config.h + Removed including of string.h + (selftests_sha384): Removed. + (selftests_sha512): Removed. + (run_selftests): Removed. + (_gcry_digest_extraspec_sha512): Removed. + (_gcry_digest_extraspec_sha384): Removed. + (GRUB_MOD_INIT(gcry_sha512)): New function + + Register digest _gcry_digest_spec_sha512 + Register digest _gcry_digest_spec_sha384 + (GRUB_MOD_FINI(gcry_sha512)): New function + + Unregister MD _gcry_digest_spec_sha512 + Unregister MD _gcry_digest_spec_sha384 + * tiger.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (GRUB_MOD_INIT(gcry_tiger)): New function + + Register digest _gcry_digest_spec_tiger + (GRUB_MOD_FINI(gcry_tiger)): New function + + Unregister MD _gcry_digest_spec_tiger + * twofish.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (elftest): Removed declaration. + (selftest): Removed. + Removed including of stdio.h + Removed including of string.h + Removed including of time.h + (GRUB_MOD_INIT(gcry_twofish)): New function + + Register cipher _gcry_cipher_spec_twofish + Register cipher _gcry_cipher_spec_twofish128 + (GRUB_MOD_FINI(gcry_twofish)): New function + + Unregister cipher _gcry_cipher_spec_twofish + Unregister cipher _gcry_cipher_spec_twofish128 + * whirlpool.c: Removed including of config.h + Removed including of stdio.h + Removed including of stdlib.h + Removed including of string.h + (GRUB_MOD_INIT(gcry_whirlpool)): New function + + Register digest _gcry_digest_spec_whirlpool + (GRUB_MOD_FINI(gcry_whirlpool)): New function + + Unregister MD _gcry_digest_spec_whirlpool + * crypto.lst: New file. + * types.h: New file. + * memory.h: New file. + * cipher.h: Likewise. + * g10lib.h: Likewise. + +2009-01-22 Werner Koch + + * ecc.c (compute_keygrip): Remove superfluous const. + +2009-01-06 Werner Koch + + * rmd160.c (oid_spec_rmd160): Add TeleTrust identifier. + +2008-12-10 Werner Koch + + * dsa.c (generate): Add arg DOMAIN and use it if specified. + (generate_fips186): Ditto. + (dsa_generate_ext): Parse and check the optional "domain" + parameter and pass them to the generate functions. + + * rijndael.c (rijndael_names): Add "AES128" and "AES-128". + (rijndael192_names): Add "AES-192". + (rijndael256_names): Add "AES-256". + +2008-12-05 Werner Koch + + * dsa.c (generate): Add arg TRANSIENT_KEY and use it to detrmine + the RNG quality needed. + (dsa_generate_ext): Parse the transient-key flag und pass it to + generate. + +2008-11-28 Werner Koch + + * dsa.c (generate_fips186): Add arg DERIVEPARMS and use the seed + value if available. + + * primegen.c (_gcry_generate_fips186_2_prime): Fix inner p loop. + +2008-11-26 Werner Koch + + * primegen.c (_gcry_generate_fips186_3_prime): New. + * dsa.c (generate_fips186): Add arg USE_FIPS186_2. + (dsa_generate_ext): Parse new flag use-fips183-2. + +2008-11-25 Werner Koch + + * dsa.c (generate_fips186): New. + (dsa_generate_ext): Use new function if derive-parms are given or + if in FIPS mode. + * primegen.c (_gcry_generate_fips186_2_prime): New. + +2008-11-24 Werner Koch + + * pubkey.c (gcry_pk_genkey): Insert code to output extrainfo. + (pubkey_generate): Add arg R_EXTRAINFO and pass it to the extended + key generation function. + * rsa.c (gen_x931_parm_xp, gen_x931_parm_xi): New. + (generate_x931): Generate params if not given. + (rsa_generate_ext): Parse use-x931 flag. Return p-q-swapped + indicator. + * dsa.c (dsa_generate_ext): Put RETFACTORS into R_EXTRAINFO if + possible. + + * pubkey.c (gcry_pk_genkey): Remove parsing of almost all + parameters and pass the parameter S-expression to pubkey_generate. + (pubkey_generate): Simplify by requitring modules to parse the + parameters. Remove the special cases for Elgamal and ECC. + (sexp_elements_extract_ecc): Add arg EXTRASPEC and use it. Fix + small memory leak. + (sexp_to_key): Pass EXTRASPEC to sexp_elements_extract_ecc. + (pubkey_table) [USE_ELGAMAL]: Add real extraspec. + * rsa.c (rsa_generate_ext): Adjust for new calling convention. + * dsa.c (dsa_generate_ext): Ditto. + * elgamal.c (_gcry_elg_generate): Ditto. Rename to elg_generate_ext. + (elg_generate): New. + (_gcry_elg_generate_using_x): Remove after merging code with + elg_generate_ext. + (_gcry_pubkey_extraspec_elg): New. + (_gcry_elg_check_secret_key, _gcry_elg_encrypt, _gcry_elg_sign) + (_gcry_elg_verify, _gcry_elg_get_nbits): Make static and remove + _gcry_ prefix. + * ecc.c (_gcry_ecc_generate): Rename to ecc_generate_ext and + adjust for new calling convention. + (_gcry_ecc_get_param): Rename to ecc_get_param and make static. + (_gcry_pubkey_extraspec_ecdsa): Add ecc_generate_ext and + ecc_get_param. + +2008-11-20 Werner Koch + + * pubkey.c (pubkey_generate): Add arg DERIVEPARMS. + (gcry_pk_genkey): Parse derive-parms and pass it to above. + * rsa.c (generate_x931): New. + (rsa_generate_ext): Add arg DERIVEPARMS and call new function in + fips mode or if DERIVEPARMS is given. + * primegen.c (_gcry_derive_x931_prime, find_x931_prime): New. + +2008-11-19 Werner Koch + + * rsa.c (rsa_decrypt): Use gcry_create_nonce for blinding. + (generate): Rename to generate_std. + +2008-11-05 Werner Koch + + * md.c (md_open): Use a switch to set the Bsize. + (prepare_macpads): Fix long key case for SHA384 and SHA512. + + * cipher.c (gcry_cipher_handle): Add field EXTRASPEC. + (gcry_cipher_open): Set it. + (gcry_cipher_ctl): Add private control code to disable weak key + detection and to return the current input block. + * des.c (_tripledes_ctx): Add field FLAGS. + (do_tripledes_set_extra_info): New. + (_gcry_cipher_extraspec_tripledes): Add new function. + (do_tripledes_setkey): Disable weak key detection. + +2008-10-24 Werner Koch + + * md.c (digest_table): Allow MD5 in fips mode. + (md_register_default): Take special action for MD5. + (md_enable, gcry_md_hash_buffer): Ditto. + +2008-09-30 Werner Koch + + * rijndael.c (do_setkey): Properly align "t" and "tk". + (prepare_decryption): Properly align "w". Fixes bug #936. + +2008-09-18 Werner Koch + + * pubkey.c (gcry_pk_genkey): Parse domain parameter. + (pubkey_generate): Add new arg DOMAIN and remove special case for + DSA with qbits. + * rsa.c (rsa_generate): Add dummy args QBITS, NAME and DOMAIN and + rename to rsa_generate_ext. Change caller. + (_gcry_rsa_generate, _gcry_rsa_check_secret_key) + (_gcry_rsa_encrypt, _gcry_rsa_decrypt, _gcry_rsa_sign) + (_gcry_rsa_verify, _gcry_rsa_get_nbits): Make static and remove + _gcry_ prefix. + (_gcry_pubkey_spec_rsa, _gcry_pubkey_extraspec_rsa): Adjust names. + * dsa.c (dsa_generate_ext): New. + (_gcry_dsa_generate): Replace code by a call to dsa_generate. + (_gcry_dsa_check_secret_key, _gcry_dsa_sign, _gcry_dsa_verify) + (_gcry_dsa_get_nbits): Make static and remove _gcry prefix. + (_gcry_dsa_generate2): Remove. + (_gcry_pubkey_spec_dsa): Adjust to name changes. + (_gcry_pubkey_extraspec_rsa): Add dsa_generate_ext. + +2008-09-16 Werner Koch + + * ecc.c (run_selftests): Add arg EXTENDED. + +2008-09-12 Werner Koch + + * rsa.c (test_keys): Do a bad case signature check. + * dsa.c (test_keys): Do a bad case check. + + * cipher.c (_gcry_cipher_selftest): Add arg EXTENDED and pass it + to the called tests. + * md.c (_gcry_md_selftest): Ditto. + * pubkey.c (_gcry_pk_selftest): Ditto. + * rijndael.c (run_selftests): Add arg EXTENDED and pass it to the + called tests. + (selftest_fips_128): Add arg EXTENDED and run only one test + non-extended mode. + (selftest_fips_192): Add dummy arg EXTENDED. + (selftest_fips_256): Ditto. + * hmac-tests.c (_gcry_hmac_selftest): Ditto. + (run_selftests): Ditto. + (selftests_sha1): Add arg EXTENDED and run only one test + non-extended mode. + (selftests_sha224, selftests_sha256): Ditto. + (selftests_sha384, selftests_sha512): Ditto. + * sha1.c (run_selftests): Add arg EXTENDED and pass it to the + called test. + (selftests_sha1): Add arg EXTENDED and run only one test + non-extended mode. + * sha256.c (run_selftests): Add arg EXTENDED and pass it to the + called tests. + (selftests_sha224): Add arg EXTENDED and run only one test + non-extended mode. + (selftests_sha256): Ditto. + * sha512.c (run_selftests): Add arg EXTENDED and pass it to the + called tests. + (selftests_sha384): Add arg EXTENDED and run only one test + non-extended mode. + (selftests_sha512): Ditto. + * des.c (run_selftests): Add arg EXTENDED and pass it to the + called test. + (selftest_fips): Add dummy arg EXTENDED. + * rsa.c (run_selftests): Add dummy arg EXTENDED. + + * dsa.c (run_selftests): Add dummy arg EXTENDED. + + * rsa.c (extract_a_from_sexp): New. + (selftest_encr_1024): Check that the ciphertext does not match the + plaintext. + (test_keys): Improve tests and return an error status. + (generate): Return an error if test_keys fails. + * dsa.c (test_keys): Add comments and return an error status. + (generate): Return an error if test_keys failed. + +2008-09-11 Werner Koch + + * rsa.c (_gcry_rsa_decrypt): Return an error instead of calling + BUG in case of a practically impossible condition. + (sample_secret_key, sample_public_key): New. + (selftest_sign_1024, selftest_encr_1024): New. + (selftests_rsa): Implement tests. + * dsa.c (sample_secret_key, sample_public_key): New. + (selftest_sign_1024): New. + (selftests_dsa): Implement tests. + +2008-09-09 Werner Koch + + * hmac-tests.c (selftests_sha1): Add tests. + (selftests_sha224, selftests_sha384, selftests_sha512): Make up tests. + + * hash-common.c, hash-common.h: New. + * sha1.c (selftests_sha1): Add 3 tests. + * sha256.c (selftests_sha256, selftests_sha224): Ditto. + * sha512.c (selftests_sha512, selftests_sha384): Ditto. + +2008-08-29 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Remove the special case for RSA + and check whether a custom computation function has been setup. + * rsa.c (compute_keygrip): New. + (_gcry_pubkey_extraspec_rsa): Setup this function. + * ecc.c (compute_keygrip): New. + (_gcry_pubkey_extraspec_ecdsa): Setup this function. + +2008-08-28 Werner Koch + + * cipher.c (cipher_decrypt, cipher_encrypt): Return an error if + mode NONE is used. + (gcry_cipher_open): Allow mode NONE only with a debug flag set and + if not in FIPS mode. + +2008-08-26 Werner Koch + + * pubkey.c (pubkey_generate): Add arg KEYGEN_FLAGS. + (gcry_pk_genkey): Implement new parameter "transient-key" and + pass it as flags to pubkey_generate. + (pubkey_generate): Make use of an ext_generate function. + * rsa.c (generate): Add new arg transient_key and pass appropriate + args to the prime generator. + (_gcry_rsa_generate): Factor all code out to ... + (rsa_generate): .. new func with extra arg KEYGEN_FLAGS. + (_gcry_pubkey_extraspec_ecdsa): Setup rsa_generate. + * primegen.c (_gcry_generate_secret_prime) + (_gcry_generate_public_prime): Add new arg RANDOM_LEVEL. + +2008-08-21 Werner Koch + + * primegen.c (_gcry_generate_secret_prime) + (_gcry_generate_public_prime): Use a constant macro for the random + level. + +2008-08-19 Werner Koch + + * pubkey.c (sexp_elements_extract_ecc) [!USE_ECC]: Do not allow + allow "curve" parameter. + +2008-08-15 Werner Koch + + * pubkey.c (_gcry_pk_selftest): New. + * dsa.c (selftests_dsa, run_selftests): New. + * rsa.c (selftests_rsa, run_selftests): New. + * ecc.c (selftests_ecdsa, run_selftests): New. + + * md.c (_gcry_md_selftest): New. + * sha1.c (run_selftests, selftests_sha1): New. + * sha256.c (selftests_sha224, selftests_sha256, run_selftests): New. + * sha512.c (selftests_sha384, selftests_sha512, run_selftests): New. + + * des.c (selftest): Remove static variable form selftest. + (des_setkey): No on-the-fly self test in fips mode. + (tripledes_set3keys): Ditto. + + * cipher.c (_gcry_cipher_setkey, _gcry_cipher_setiv): + + * dsa.c (generate): Bail out in fips mode if NBITS is less than 1024. + * rsa.c (generate): Return an error code if the the requested size + is less than 1024 and we are in fpis mode. + (_gcry_rsa_generate): Take care of that error code. + + * ecc.c (generate_curve): In fips mode enable only NIST curves. + + * cipher.c (_gcry_cipher_selftest): New. + + * sha512.c (_gcry_digest_extraspec_sha384) + (_gcry_digest_extraspec_sha512): New. + * sha256.c (_gcry_digest_extraspec_sha224) + (_gcry_digest_extraspec_sha256): New. + * sha1.c (_gcry_digest_extraspec_sha1): New. + * ecc.c (_gcry_pubkey_extraspec_ecdsa): New. + * dsa.c (_gcry_pubkey_extraspec_dsa): New. + * rsa.c (_gcry_pubkey_extraspec_rsa): New. + * rijndael.c (_gcry_cipher_extraspec_aes) + (_gcry_cipher_extraspec_aes192, _gcry_cipher_extraspec_aes256): New. + * des.c (_gcry_cipher_extraspec_tripledes): New. + + * cipher.c (gcry_cipher_register): Rename to _gcry_cipher_register. + Add arg EXTRASPEC. + (dummy_extra_spec): New. + (cipher_table_entry): Add extraspec field. + * md.c (_gcry_md_register): Rename to _gcry_md_register. Add + arg EXTRASPEC. + (dummy_extra_spec): New. + (digest_table_entry): Add extraspec field. + * pubkey.c (gcry_pk_register): Rename to _gcry_pk_register. Add + arg EXTRASPEC. + (dummy_extra_spec): New. + (pubkey_table_entry): Add extraspec field. + + * ac.c: Let most public functions return GPG_ERR_UNSUPPORTED in + fips mode. + + * pubkey.c (pubkey_table_entry): Add field FIPS_ALLOWED and mark + appropriate algorithms. + (dummy_generate, dummy_check_secret_key, dummy_encrypt) + (dummy_decrypt, dummy_sign, dummy_verify, dummy_get_nbits): Signal + a fips error when used. + (gcry_pk_register): In fips mode do not allow to register new + algorithms. + + * md.c (digest_table): Add field FIPS_ALLOWED and mark appropriate + algorithms. + (md_register_default): In fips mode register only fips algorithms. + (gcry_md_register): In fips mode do not allow to register new + algorithms. + (gcry_md_get): Signal a fips error if called. + (gcry_md_hash_buffer): Do not allow rmd160 when not in fips mode. + (md_start_debug): Disable in fips_mode. + + * md.c (gcry_md_register_default): Rename to .. + (md_register_default): .. this. + (md_digest): Remove this commented fucntion. + * pubkey.c (gcry_pk_register_default): Rename to .. + (pk_register_default): .. this. + + * cipher.c (cipher_table_entry): Add field FIPS_ALLOWED. + (gcry_cipher_register_default): Register only fips approved + algorithms. + (gcry_cipher_register): Do not allow to register new ciphers. + (cipher_setiv): Signal fips error. + + * cipher (gcry_cipher_register_default): Rename to .. + (cipher_register_default): .. this. + (REGISTER_DEFAULT_CIPHERS): Adjust for that change. + +2008-07-05 Werner Koch + + * random-daemon.c, random.h, rndhw.c, rndunix.c, rand-internal.h + * random.c, rndegd.c, rndlinux.c, rndw32.c: Move to ../cipher. + * Makefile.am: Remove random stuff. + +2008-06-24 Szakats Istvan (wk) + + * ac.c (_gcry_ac_key_destroy, _gcry_ac_key_pair_generate): Relase + some more memory. + +2008-04-22 Werner Koch + + * rijndael.c (_gcry_aes_cfb_enc, _gcry_aes_cbc_enc) + (_gcry_aes_cfb_dec, _gcry_aes_cbc_dec): Use Padlock if possible. + +2008-04-18 Werner Koch + + * sha1.c (transform_aligned): Remove. That is will obviosuly not + work because we need a scratch working area and our internal API + does not allow to modify the buffers. + + * rijndael.c: Factor tables out to .. + * rijndael-tables.h: .. new. + + * ac.c (ac_data_extract): Make static. + + * camellia.h [HAVE_CONFIG_H]: Include config.h. + + * rndw32.c (registry_poll): Only print the performance data + problem warning once. Suggested by Simon Josefsson. + +2008-03-19 Werner Koch + + * cipher.c (gcry_cipher_open) [USE_AES]: Init bulk encryption only + if requested. Suggested by Dirk Stoecker. + +2008-03-18 Werner Koch + + * sha1.c: Include stdint.h. + (transform): Add arg NBLOCKS so that we can work on more than one + block and avoid updates of the chaining variables. Changed all + callers to use 1. + (sha1_write): Replace loop around transform. + (transform_aligned) [WORDS_BIGENDIAN]: New. + (TRANSFORM): New macro to replace all direct calls of transform. + +2008-03-17 Werner Koch + + * rijndael.c (_gcry_aes_cfb_dec): New. + (do_encrypt): Factor code out to .. + (do_encrypt_aligned): .. New. + (_gcry_aes_cfb_enc, _gcry_aes_cfb_dec): Use new function. + (do_decrypt): Factor code out to .. + (do_decrypt_aligned): .. new. + (_gcry_aes_cbc_enc, _gcry_aes_cbc_dec): New. + * cipher.c (struct gcry_cipher_handle): Put field IV into new + union U_IV to enforce proper alignment. Change all users. + (do_cfb_decrypt): Optimize. + (do_cbc_encrypt, do_cbc_decrypt): Optimize. + +2008-03-15 Werner Koch + + * rijndael.c (_gcry_aes_cfb_enc): New. + * cipher.c (struct gcry_cipher_handle): Add field ALGO and BULK. + (gcry_cipher_open): Set ALGO and BULK. + (do_cfb_encrypt): Optimize. + +2008-02-18 Werner Koch + + * rsa.c (_gcry_rsa_verify) [IS_DEVELOPMENT_VERSION]: Print + intermediate results. + +2008-01-08 Werner Koch + + * random.c (add_randomness): Do not just increment + POOL_FILLED_COUNTER but update it by the actual amount of data. + +2007-12-13 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Support SHA-224. + +2007-12-05 Werner Koch + + * rijndael.c (USE_PADLOCK): Depend on ENABLE_PADLOCK_SUPPORT. + * rndhw.c (USE_PADLOCK): Ditto + + * rsa.c (secret): Fixed condition test for using CRT. Reported by + Dean Scarff. Fixes bug#864. + (_gcry_rsa_check_secret_key): Return an erro if the optional + parameters are missing. + * pubkey.c (sexp_elements_extract): Add arg ALGO_NAME. Changed all + callers to pass NULL. Add hack to allow for optional RSA + parameters. + (sexp_to_key): Pass algo name to sexp_elements_extract. + +2007-12-03 Werner Koch + + * random.c (gcry_random_add_bytes): Implement it. + * rand-internal.h (RANDOM_ORIGIN_EXTERNAL): New. + +2007-11-30 Werner Koch + + * rndhw.c: New. + * rndlinux.c (_gcry_rndlinux_gather_random): Try to read 50% + directly from the hwrng. + * random.c (do_fast_random_poll): Also run the hw rng fast poll. + (_gcry_random_dump_stats): Tell whether the hw rng failed. + +2007-11-29 Werner Koch + + * rijndael.c (USE_PADLOCK): Define new macro used for ia32. + (RIJNDAEL_context) [USE_PADLOCK]: Add fields USE_PADLOCK and + PADLOCK_KEY. + (do_setkey) [USE_PADLOCK]: Enable padlock if available for 128 bit + AES. + (do_padlock) [USE_PADLOCK]: New. + (rijndael_encrypt, rijndael_decrypt) [USE_PADLOCK]: Divert to + do_padlock. + * cipher.c (cipher_context_alignment_t): New. Use it in this + module in place of PROPERLY_ALIGNED_TYPE. + (NEED_16BYTE_ALIGNED_CONTEXT): Define macro for ia32. + (struct gcry_cipher_handle): Add field HANDLE_OFFSET. + (gcry_cipher_open): Take care of increased alignment requirements. + (gcry_cipher_close): Ditto. + +2007-11-28 Werner Koch + + * sha256.c (asn224): Fixed wrong template. It happened due to a + bug in RFC4880. SHA-224 is not in the stable version of libgcrypt + so the consequences are limited to users of this devel version. + +2007-10-31 Werner Koch + + * ac.c (gcry_ac_data_new): Remove due to the visibility wrapper. + (gcry_ac_data_destroy, gcry_ac_data_copy, gcry_ac_data_length) + (gcry_ac_data_set, gcry_ac_data_get_name, gcry_ac_data_get_index) + (gcry_ac_data_to_sexp, gcry_ac_data_from_sexp) + (gcry_ac_data_clear, gcry_ac_io_init, gcry_ac_open) + (gcry_ac_close, gcry_ac_key_init, gcry_ac_key_pair_generate) + (gcry_ac_key_pair_extract, gcry_ac_key_destroy) + (gcry_ac_key_pair_destroy, gcry_ac_key_data_get) + (gcry_ac_key_test, gcry_ac_key_get_nbits, gcry_ac_key_get_grip) + (gcry_ac_data_encrypt, gcry_ac_data_decrypt, gcry_ac_data_sign) + (gcry_ac_data_verify, gcry_ac_data_encode, gcry_ac_data_decode) + (gcry_ac_mpi_to_os, gcry_ac_mpi_to_os_alloc, gcry_ac_os_to_mpi) + (gcry_ac_data_encrypt_scheme, gcry_ac_data_decrypt_scheme) + (gcry_ac_data_sign_scheme, gcry_ac_data_verify_scheme) + (gcry_ac_io_init_va): Ditto. + (gcry_ac_id_to_name, gcry_ac_name_to_id): Remove as these + deprecated functions are now implemented by visibility.c. + +2007-10-26 Werner Koch + + * rndw32.c: Disable debug flag. + +2007-10-25 Werner Koch + + * rndw32.c: Updated from current cryptlib snapshot and modified + for our use. Removed support from pre NT systems. + (slow_gatherer_windows95): Remove. + (_gcry_rndw32_gather_random): Require an NT platform. + (init_system_rng, read_system_rng, read_mbm_data): New. + (slow_gatherer_windowsNT): Rename to ... + (slow_gatherer): .. this. Read system RNG and MBM. + (registry_poll): New with code factored out from slow_gatherer. + +2007-08-23 Werner Koch + + * random.c (pool_filled_counter): New. + (add_randomness): Use it. + +2007-08-22 Werner Koch + + * rndw32.c, rndunix.c: Switched to LGPL. + +2007-05-30 Werner Koch + + * camellia.h, camellia.c: Replace by new LGPL version and adjusted + camellia.h. + +2007-05-09 Marcus Brinkmann + + * ac.c (_gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read): + Adjust users of gcry_ac_io_t because union is not anonymous + anymore. + +2007-05-02 Werner Koch + + * camellia-glue.c (camellia_setkey, camellia_encrypt) + (camellia_decrypt): Recalculated used stack size in called + functions. + * camellia.h: Redefine external symbols. + +2007-05-02 David Shaw + + * Makefile.am, cipher.c: Add Camellia. + + * camellia-glue.c: New. The necessary glue to interface libgcrypt + to the stock NTT Camellia distribution. + + * camellia.h, camellia.c: The stock NTT Camellia distribution + (GPL). + +2007-04-30 David Shaw + + * cipher.c: Use #if instead of #ifdef as configure defines the + USE_cipher defines as 0 for disabled. + +2007-04-30 Werner Koch + + * rndegd.c (_gcry_rndegd_set_socket_name): New. + +2007-04-30 Marcus Brinkmann + + * ecc.c (ec2os): Fix relocation of short numbers. + + * ecc.c (generate_key): Do not allocate D, which will be allocated + by GEN_K. Remove G. Fix test if g_x, g_y resp. q_x, q_y are + requested. + (_gcry_ecc_generate): Release unneeded members of SK. + * pubkey.c (sexp_to_key): Release NAME. + +2007-04-28 Marcus Brinkmann + + * ac.c (gcry_ac_mpi): Remove member NAME_PROVIDED. + (ac_data_mpi_copy, _gcry_ac_data_set, _gcry_ac_data_get_name) + (_gcry_ac_data_get_index, ac_data_construct): Adjust handling of + NAME accordingly. + +2007-04-20 Werner Koch + + * ecc.c (domain_parms): Add standard brainpool curves. + +2007-04-18 Werner Koch + + * ecc.c (generate_curve): Implement alias mechanism. + + * pubkey.c (sexp_elements_extract_ecc): New. + (sexp_to_key): Add special case for ecc. + (sexp_to_key, sexp_to_sig, sexp_to_enc, gcry_pk_genkey): Replace + name_terminated stuff by a call to _gcry_sexp_nth_string. + (gcry_pk_get_keygrip): Ditto. + +2007-04-16 Werner Koch + + * ecc.c (_gcry_ecc_generate): Renamed DUMMY to CURVE and use it. + +2007-04-13 Marcus Brinkmann + + * ac.c (ac_data_construct): Cast const away to suppress compiler + warning. + + * ecc.c (ecc_generate): Avoid compiler warning for unused argument + DUMMY. + (ecc_verify): Avoid compiler warning for unused arguments CMP and + OPAQUEV. + +2007-04-06 Werner Koch + + * sha1.c (oid_spec_sha1): Add another oid from X9.62. + +2007-03-28 Werner Koch + + * pubkey.c (gcry_pk_genkey): Do not issue misc-key-info if it is + empty. + (gcry_pk_genkey): New parameter "curve". + + * ecc.c: Entirely rewritten with only a few traces of the old + code left. + (_gcry_ecc_generate): New. + (generate_key) New arg NAME. + (generate_curve): Ditto. Return actual number of NBITS. + +2007-03-26 Werner Koch + + * pubkey.c (gcry_pk_genkey): Increase size of SKEY array and add a + runtime bounds check. + +2007-03-23 Werner Koch + + * ecc.c (ecc_ctx_init, ecc_ctx_free, ecc_mod, ecc_mulm): New. + (duplicate_point, sum_points, escalar_mult): Don't use a + copy of base->p. Replaced all mpi_mulm by ecc_mulm so that we can + experiment with different algorithms. + (generate_key, check_secret_key, sign, verify): Initialize a + computation context for use by ecc_mulm. + +2007-03-22 Werner Koch + + * pubkey.c (pubkey_table): Initialize ECC. + * Makefile.am (EXTRA_libcipher_la_SOURCES): Add ecc.c. + * ecc.c: New. Heavily reformatted and changed for use in libgcrypt. + (point_init): New. + (escalar_mult): Make arg R the first arg to be similar to the mpi + functions. + (duplicate_point): Ditto + (sum_points): Ditto + (sign, verify): Remove unneeded copy operations. + (sum_points): Removed memory leaks and optimized some compares. + (verify): Simplified input check. + +2007-03-14 Werner Koch + + * random.c (MASK_LEVEL): Removed macro as it was used only at one + place. Open coded it there. + (gcry_randomize, _gcry_update_random_seed_file) + (_gcry_fast_random_poll): Factor lock code out to .. + (lock_pool, unlock_pool): .. new. + (initialize): Look the pool while allocating. + (read_random_source, do_fast_random_poll): Moved intialization to ... + (initialize): .. here. + (_gcry_enable_quick_random_gen): No more need for initialization. + (is_initialized): Moved this global flag to .. + (initialize): .. here and changed all users to unconditionally call + initialize. + (add_randomness): Remove initalization here. It simply can't + happen. + + * random.c (enum random_origins): Moved to .. + * rand-internal.h: .. here. + * rndunix.c (_gcry_rndunix_gather_random): Use enum in prototype + for ORIGIN and renamed REQUESTOR to ORIGIN. + * rndegd.c (_gcry_rndegd_gather_random): Ditto. + * rndlinux.c (_gcry_rndlinux_gather_random): Ditto. + * rndw32.c (_gcry_rndw32_gather_random): Ditto. + (_gcry_rndw32_gather_random_fast): Ditto. + +2007-03-13 Werner Koch + + * random.c (enum random_origins): New. + (add_randomness): Renamed arg SOURCE to ORIGIN. + (read_random_source): Renamed arg REQUESTOR to ORIGIN. + (getfnc_gather_random): Removed static variable because this + function is only called one and thus we don't need this + optimization. + (_gcry_quick_random_gen): Removed and replaced by.. + (_gcry_enable_quick_random_gen): .. this. It is onlyu used to + enable it and it does not make sense to disable it later. Changed + the only one caller too. + (get_random_bytes): Removed. + (gcry_random_bytes, gcry_random_bytes_secure): Implement in terms + of gcry_randomize. + * random-daemon.c (_gcry_daemon_get_random_bytes): Removed. + +2007-02-23 Werner Koch + + * elgamal.c (generate): Removed unused variable TEMP. + (test_keys): New arg NODIE. + (generate_using_x, _gcry_elg_generate_using_x): New. + * pubkey.c (pubkey_generate): New arg XVALUE and direct call to + the new elgamal generate fucntion. + (gcry_pk_genkey): Parse the new "xvalue" tag. + +2007-02-22 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Handle dynamically allocated + algorithms. Suggested by Neil Dunbar. Fixes bug#596. + + * rndw32.c (_gcry_rndw32_gather_random_fast): Make it return void. + + * cipher.c (gcry_cipher_algo_name): Simplified. + + * random.c: Use the daemon only if compiled with USE_RANDOM_DAEMON. + + * Makefile.am (libcipher_la_SOURCES): Build random-daemon support + only if requested. + +2007-02-21 Werner Koch + + * random.c (rndpool, keypool): Make unsigned. + (mix_pool): Change char* variables to unsigned char*. + (gcry_randomize): Make arg BUFFER a void*. + (gcry_create_nonce): Ditto. + + * rmd160.c (gcry_rmd160_mixblock): Make BUFFER a void*. + (_gcry_rmd160_hash_buffer): Make OUTBUF and BUFFER void*. + * sha1.c (_gcry_sha1_hash_buffer): Ditto. + + * cipher.c (gcry_cipher_encrypt, cry_cipher_decrypt): Change + buffer args to void*. + (gcry_cipher_register): Make ALGORITHM_ID a int *. + + * md.c (md_start_debug): Make SUFFIX a const char*. Use snprintf. + (gcry_md_debug): New. + (gcry_md_ctl): Changed arg BUFFER from unsigned char*. + + * md.c (md_write): Make INBUF a const void*. + (gcry_md_write): Remove needless cast. + * crc.c (crc32_write): Make INBUF a const void* + (update_crc32, crc24rfc2440_write): Ditto. + * sha512.c (sha512_write, transform): Ditto. + * sha256.c (sha256_write, transform): Ditto. + * rmd160.c (rmd160_write, transform): Ditto. + * md5.c (md5_write, transform): Ditto. + * md4.c (md4_write, transform): Ditto. + * sha1.c (sha1_write, transform): Ditto. + + * tiger.c (tiger_write, transform): Ditto. + * whirlpool.c (whirlpool_write, whirlpool_add, transform): Ditto. + + * elgamal.c (elg_names): Change to a const*. + * dsa.c (dsa_names): Ditto. + * rsa.c (rsa_names): Ditto. + * pubkey.c (gcry_pk_lookup_func_name): Make ALIASES a const. + +2007-02-20 Werner Koch + + * rndlinux.c (open_device): Remove unsused arg MINOR. + +2007-01-30 Werner Koch + + * sha256.c (oid_spec_sha256): Add alias from pkcs#1. + * sha512.c (oid_spec_sha512): Ditto. + (oid_spec_sha384): Ditto. + +2006-12-18 Werner Koch + + * rndlinux.c (set_cloexec_flag): New. + (open_device): Set close-on-exit flags. Suggested by Max + Kellermann. Fixes Debian#403613. + + * Makefile.am (AM_CPPFLAGS, AM_CFLAGS): Splitted and merged + Moritz' changes. + (INCLUDES): Removed. + +2006-11-30 Werner Koch + + * serpent.c (byte_swap_32): Remove trailing semicolon. + +2006-11-15 Werner Koch + + * Makefile.am (INCLUDES): Include ../src/ + +2006-11-03 Werner Koch + + * random.c [HAVE_GETTIMEOFDAY]: Included sys/time.h and not + sys/times.h. Reported by Rafaël Carré. + +2006-11-05 Moritz Schulte + + * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the + new gcrypt.h is used, not the one installed in the system. + +2006-10-25 Werner Koch + + * primegen.c (prime_generate_internal): Tweaked use of secure + memory and entropy use. Safe unused primes from the pool. Allocate + at least a pool of 30. + (save_pool_prime, get_pool_prime): New. + +2006-10-23 Werner Koch + + * ac.c (_gcry_ac_data_from_sexp): Reset sexp_tmp for failsafe + means. Release sexp_cur if needed. Reported by Dirk Stoecker. + + * pubkey.c (pubkeys_registered_lock): Intialized it. It is not + realy needed because this is a mere initialization to 0 anyway. + Noted by Victor Stinner. + +2006-10-17 Werner Koch + + * dsa.c (_gcry_dsa_generate2): New. + (generate): New arg QBITS. Add sanity checks for reasonable qbits + and nbits. + * pubkey.c (gcry_pk_genkey): Parse an qbits element. + (pubkey_generate): New arg QBITS. Pass it to the DSA generation. + +2006-10-05 Werner Koch + + * md.c (gcry_md_algo_info) : Check that the algo is + available. + +2006-10-04 David Shaw (wk) + + * tiger.c (round): Rename to tiger_round as gcc 4 has a built-in + round function that this conflicts with. + +2006-09-11 Werner Koch + + * rndw32.c (slow_gatherer_windowsNT): While adding data use the + size of the diskPerformance and not its address. Has been fixed in + GnuPG more than a year ago. Noted by Lee Fisher. + +2006-08-30 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Need to allow "ripemd160" here as + this is the canonical name. + +2006-08-29 Hye-Shik Chang (wk) + + * seed.c: New. + +2006-08-03 Werner Koch + + * random-daemon.c (_gcry_daemon_initialize_basics): Don't + initialize the socket. Remove arg SOCKETNAME. + (connect_to_socket): Make sure that daemon is set to -1 on error. + (call_daemon): Initialize the socket on the first call. + (_gcry_daemon_randomize, _gcry_daemon_get_random_bytes) + (_gcry_daemon_create_nonce): New arg SOCKETNAME. + * random.c (initialize): Call new daemon initializator. + (get_random_bytes, gcry_randomize, gcry_create_nonce): Pass socket + name to daemon call and reset allow_daemon on failure. + +2006-07-26 Werner Koch + + * rmd160.c (_gcry_rmd160_mixblock): Add cast to transform call. + + * blowfish.c (selftest): Cast string to usnigned char*. + + * primegen.c (prime_generate_internal): Cast unsigned/char* + mismatch in calling m_out_of_n. + (is_prime): Changed COUNT to unsigned int *. + + * ac.c (_gcry_ac_data_copy): Initialize DATA_MPIS. + + * random.c (gcry_create_nonce): Update the pid after a fork. + Reported by Uoti Urpala. + +2006-07-04 Marcus Brinkmann + + * sha512.c: Fix typo in copyright notice. + +2006-06-21 Werner Koch + + * rsa.c (_gcry_rsa_generate): Replace xcalloc by calloc. + * pubkey.c (gcry_pk_encrypt, gcry_pk_sign): Ditto. + (sexp_to_key, sexp_to_sig, sexp_to_enc, gcry_pk_encrypt) + (gcry_pk_sign, gcry_pk_genkey, gcry_pk_get_keygrip): Ditto. + * md.c (md_copy): Ditto. + +2006-04-22 Moritz Schulte + + * random-daemon.c (_gcry_daemon_initialize_basics): New argument: + SOCKETNAME. Passing on to connect_to_socket() if non-NULL. + (connect_to_socket, writen, readn, call_daemon): New functions. + (_gcry_daemon_randomize, _gcry_daemon_get_random_bytes) + (_gcry_daemon_create_nonce): Call call_daemon(). + (RANDOM_DAEMON_SOCKET): New symbol. + (daemon_socket): New static variable. + + * random.h (_gcry_daemon_initialize_basics): New parameter: + SOCKETNAME. + (_gcry_set_random_daemon_socket): New declaration. + + * random.c (initialize_basics): Pass DAEMON_SOCKET_NAME to + _gcry_daemon_initialize_basics. + (_gcry_set_random_daemon_socket): New function, setting + DAEMON_SOCKET_NAME. + +2006-04-01 Moritz Schulte + + * ac.c (eme_pkcs_v1_5_encode): Use KEY_SIZE directly, no need to + call gcry_ac_key_get_nbits. + (eme_pkcs_v1_5_decode): Likewise. + (ac_es_dencode_prepare_pkcs_v1_5): Fill options_em structure with + key_size. + (_gcry_ac_data_dump, gcry_ac_data_dump): New functions. + (_gcry_ac_data_to_sexp, _gcry_ac_data_from_sexp): More or less + rewritten; changed S-Expression format so that it matches the one + used in pubkey.c. + +2006-03-15 Werner Koch + + * random-daemon.c: New. + * random.c (_gcry_use_random_daemon): New. + (get_random_bytes, gcry_randomize, gcry_create_nonce): Try + diverting to the daemon functions. + +2006-03-14 Werner Koch + + * random.c (lock_seed_file): New. + (read_seed_file, _gcry_update_random_seed_file): Use it. + + * random.c (gcry_create_nonce): Detect a fork and re-seed. + (read_pool): Fixed the fork detection; it used to work only for + multi-threaded processes. + +2006-03-12 Brad Hards (wk) + + * md.c (md_open): Use new variable macpads_Bsize instead of + hardwiring the block size. Changed at all places. + +2006-03-10 Brad Hards (wk, patch 2005-04-22) + + * md.c, sha256.c: Add support for SHA-224. + (sha224_init): New. + +2006-01-18 Brad Hards (wk 2006-03-07) + + * cipher.c (cipher_encrypt, cipher_decrypt, do_ofb_encrypt) + (do_ofb_decrypt, gcry_cipher_open): Implement Output Feedback Mode. + +2005-11-02 Moritz Schulte + + * pubkey.c (gcry_pk_algo_name): Return "?" instead of NULL for + unknown algorithm IDs. + * cipher.c (cipher_algo_to_string): Likewise. + +2005-11-01 Moritz Schulte + + * pubkey.c (gcry_pk_algo_info): Don't forget to break after switch + case. + +2005-09-19 Werner Koch + + * dsa.c (generate): Add preliminary support for 2 and 4 keys. + Return an error code if the key size is not supported. + (_gcry_dsa_generate): Return an error. + +2005-08-22 Werner Koch + + * primegen.c (check_prime): New arg RM_ROUNDS. + (prime_generate_internal): Call it here with 5 rounds as used + before. + (gcry_prime_check): But here with 64 rounds. + (is_prime): Make sure never to use less than 5 rounds. + +2005-04-16 Moritz Schulte + + * ac.c (_gcry_ac_init): New function. + +2005-04-12 Moritz Schulte + + * ac.c (_gcry_ac_io_write, _gcry_ac_io_read): Initialize err to + make the compiler happy. + Always use errno, now that gcry_malloc() is guaranteed to set + errno on failure. + (_gcry_ac_data_to_sexp): Don't forget to goto out after error in + loop. + (_gcry_ac_data_to_sexp): Remove unused variable: mpi_list; + (_gcry_ac_data_to_sexp): Always deallocate sexp_buffer. + (_gcry_ac_data_from_sexp): Don't forget to initialize data_set_new. + (_gcry_ac_data_from_sexp): Handle special case, which is + necessary, since gcry_sexp_nth() does not distinguish between + "element does not exist" and "element is the empty list". + (_gcry_ac_io_init_va): Use assert to make sure that mode and type + are correct. + Use gcry_error_t types where gcry_err_code_t types have been used + before. + +2005-04-11 Moritz Schulte + + * ac.c (_gcry_ac_data_sign_scheme): Don't forget to initialize + buffer. + + * whirlpool.c: New file. + * md.c (digest_table): Add whirlpool. + * Makefile.am (EXTRA_libcipher_la_SOURCES): Added: whirlpool.c. + +2005-03-30 Moritz Schulte + + * ac.c (_gcry_ac_data_from_sexp): Use length of SEXP_CUR, not + length of SEXP; do not forget to set SEXP_TMP to NULL after it has + been released. + + (struct gcry_ac_mpi): New member: name_provided. + (_gcry_ac_data_set): Rename variable `name_final' to `name_cp'; + remove const qualifier; change code to not cast away const + qualifiers; use name_provided member as well. + (_gcry_ac_data_set, _gcry_ac_data_get_name): Use name_provided + member of named mpi structure. + + (gcry_ac_name_to_id): Do not forget to initialize err. + (_gcry_ac_data_get_index): Do not forget to initialize mpi_return; + use gcry_free() instead of free(); remove unnecessary cast; rename + mpi_return and name_return to mpi_cp and name_cp; adjust code. + (ac_data_mpi_copy): Do not cast away const qualifier. + (ac_data_values_destroy): Likewise. + (ac_data_construct): Likewise. + + (ac_data_mpi_copy): Initialize flags to GCRY_AC_FLAG_DEALLOC. + (ac_data_extract): Use GCRY_AC_FLAG_DEALLOC instead of + GCRY_AC_FLAG_COPY. + + (_gcry_ac_io_init_va, _gcry_ac_io_init, gcry_ac_io_init) + (gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read) + (_gcry_ac_io_read_all, _gcry_ac_io_process): New functions. + (gry_ac_em_dencode_t): Use gcry_ac_io_t in prototype instead of + memroy strings directly; adjust encode/decode functions to use io + objects. + (emsa_pkcs_v1_5_encode_data_cb): New function ... + (emsa_pkcs_v1_5_encode): ... use it here. + (ac_data_dencode): Use io objects. + (_gcry_ac_data_encode, _gcry_ac_data_decode, gcry_ac_data_encode) + (gcry_ac_data_decode): Likewise. + (_gcry_ac_data_encrypt_scheme, gcry_ac_data_encrypt_scheme) + (_gcry_ac_data_decrypt_scheme, gcry_ac_data_decrypt_scheme) + (_gcry_ac_data_sign_scheme, gcry_ac_data_sign_scheme) + (_gcry_ac_data_verify_scheme, gcry_ac_data_verify_scheme): + Likewise. + +2005-03-23 Werner Koch + + * rndw32.c (_gcry_rndw32_gather_random_fast): While adding data + use the size of the object and not the one of its address. Bug + reported by Sascha Kiefer. + +2005-03-19 Moritz Schulte + + * cipher.c (do_cbc_encrypt): Be careful to not overwrite data, + which is to be used later on. This happend, in case CTS is + enabled and OUTBUF is equal to INBUF. + +2005-02-25 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Allow for shadowed-private-key. + +2005-02-13 Moritz Schulte + + * serpent.c: Updated from 1.2 branch: + + s/u32_t/u32/ and s/byte_t/byte/. Too match what we have always + used and are using in all other files too + (serpent_test): Moved prototype out of a fucntion. + +2005-02-07 Moritz Schulte + + * ac.c: Major parts rewritten. + * pubkey.c (_gcry_pk_get_elements): New function. + +2004-12-09 Werner Koch + + * serpent.c (serpent_setkey): Moved prototype of serpent_test to + outer scope. + +2004-09-11 Moritz Schulte + + * pubkey.c (pubkey_table): Added an alias entry for GCRY_PK_ELG_E. + +2004-08-23 Moritz Schulte + + * ac.c: Do not include . + * rndegd.c: Likewise. + * sha1.c: Likewise. + * rndunix.c: Likewise. + * rndlinux.c: Likewise. + * rmd160.c: Likewise. + * md5.c: Likewise. + * md4.c: Likewise. + * cipher.c: Likewise. + * crc.c: Likewise. + * blowfish.c: Likewise. + + * pubkey.c (dummy_generate, dummy_check_secret_key) + (dummy_encrypt, dummy_decrypt, dummy_sign, dummy_verify): Return + err code GPG_ERR_NOT_IMPLEMENTED instead of aborting through + log_bug(). + (dummy_get_nbits): Return 0 instead of aborting though log_bug(). + +2004-08-19 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Changed the zero random byte + substituting code to actually do clever things. Thanks to + Matthias Urlichs for noting the implementation problem. + +2004-08-09 Moritz Schulte + + * pubkey.c (gcry_pk_sign): Fixed memory leak; fix provided by + Modestas Vainius. + +2004-07-16 Werner Koch + + * rijndael.c (do_encrypt): Fix alignment problem. Bugs found by + Matthias Urlichs. + (do_decrypt): Ditto. + (keySched, keySched2): Use 2 macros along with unions in the key + schedule context. + +2004-07-14 Moritz Schulte + + * rsa.c (_gcry_rsa_decrypt): Don't forget to free "a". Thanks to + Nikos Mavroyanopoulos. + +2004-05-09 Werner Koch + + * random.c (read_pool): Mix the PID in to better protect after a + fork. + +2004-07-04 Moritz Schulte + + * serpent.c: Use "u32_t" instead of "unsigned long", do not + declare S-Box variables as "register". Fixes failure on + OpenBSD/sparc64, reported by Nikolay Sturm. + +2004-05-07 Werner Koch + + * random.c (initialize): Factored out some code to .. + (initialize_basics): .. new function. + (_gcry_random_initialize): Just call initialize_basics unless the + new arg FULL is set to TRUE. + (_gcry_fast_random_poll): Don't do anything unless the random + system has been really initialized. + +2004-05-07 Moritz Schulte + + * ac.c (gcry_ac_open): Do not dereference NULL pointer. Reported + by Umberto Salsi. + +2004-02-20 Werner Koch + + * primegen.c (check_prime): New args CB_FUNC and CB_ARG; call them + at different stages. Pass these arguments through all callers. + +2004-02-06 Werner Koch + + * des.c: Add a new OID as used by pkcs#12. + + * rfc2268.c: New. Taken from libgcrypt. + * cipher.c: Setup the rfc2268 algorithm. + +2004-01-25 Moritz Schulte + + * primegen.c (prime_generate_internal): Do not forget to free + `q_factor'; fixed by Brieuc Jeunhomme. + (prime_generate_internal): Do not forget to free `prime'. + +2004-01-14 Moritz Schulte + + * ac.c (gcry_ac_data_set): New argument: flags; slightly + rewritten. + (gcry_ac_data_get_name, gcry_ac_data_get_index): Likewise. + (gcry_ac_key_pair_generate): New argument: misc_data; modified + order of arguments. + (gcry_ac_key_test): New argument: handle. + (gcry_ac_key_get_nbits, gcry_ac_key_get_grip): Likewise. + Use GCRY_AC_FLAG_NO_BLINDING instead of + GCRY_AC_DATA_FLAG_NO_BLINDING. + (gcry_ac_mpi): New member: flags. + (gcry_ac_data_search, gcry_ac_data_add): Removed functions. + +2003-12-22 Werner Koch + + * primegen.c (is_prime): Release A2. + +2003-12-19 Werner Koch + + * md.c: Moved a couple of functions down below the data structure + definitions. + (struct gcry_md_context): New field ACTUAL_HANDLE_SIZE. + (md_open): Set it here. + (strcut gcry_md_list): New field ACTUAL_STRUCT_SIZE. + (md_enable): Set it here. + (md_close): Wipe the context memory. + secure memory. + * cipher.c (struct gcry_cipher_handle): New field ACTUAL_HANDLE_SIZE. + (gcry_cipher_open): Set it here. + (gcry_cipher_close): Use it to always wipe out the handle data. + + * ac.c (gcry_ac_open): Make sure HANDLE gets initialized even when + the function is not successful. + (gcry_ac_close): Allow a NULL handle. + (gcry_ac_key_destroy, gcry_ac_key_pair_destroy): Ditto. + (gcry_ac_key_get_grip): Return INV_OBJ on error. + + * primegen.c (prime_generate_internal): Fixed error code for + failed malloc. Replaced the !err if chain by gotos. + (gcry_prime_group_generator): Remove the extra sanity check. + + * md.c: Minor code and comment cleanups. + +2003-12-16 Werner Koch + + * primegen.c (gen_prime): Doc fix. Thanks to Newton Hammet. + +2003-12-11 Werner Koch + + * rndunix.c (slow_poll): Don't use #warning but #error. + + * rndegd.c: Changed indentation. + (my_make_filename): Removd the var_arg cruft becuase we + don't need it here. Changed caller. + + * rndlinux.c: Changed indentation. + (open_device): Remove the superfluous stat call and clarify + comment. + + * rsa.c: Changed indentation. + (secret): Use the standard algorithm if p, q and u are not + available. + (rsa_blind, rsa_unblind): Renamed from _gcry_rsa_blind, + _gcry_rsa_unblind and moved more to the top. + + * md4.c: Changed indentation. Removed unnecessary casts. + * md5.c, rmd160.c, sha1.c, tiger.c: Ditto. + * rijndael.c, twofish.c: Ditto. + * serpent.c: Removed unnecessary casts. + * sha256.c, sha512.c: Ditto. + +2003-12-09 Werner Koch + + * dsa.c: Unified indentation style. + * elgamal.c: Ditto. + * des.c (des_key_schedule): Code beautifications. + * blowfish.c: Changed indentation style. + * cast5.c (do_cast_setkey): Ditto. + + * pubkey.c (gcry_pk_encrypt): Replaced the chain of if(!err) tests + by straightforward gotos. Other cleanups. + (gcry_pk_decrypt): Ditto. + (gcry_pk_sign): Ditto. + (gcry_pk_verify): Ditto. + (gcry_pk_genkey): Ditto. Use strtoul instead of strtol. + (gcry_pk_ctl): Use GPG_ERR_INV_ARG to indicate bad arguments. + +2003-12-07 Werner Koch + + * pubkey.c (gcry_pk_register_default): Undef the helper macro. + (gcry_pk_map_name): Allow NULL for string. + (sexp_to_key): Use memcpy and not strncpy. Use gcry_free and not + free. + (sexp_to_sig): Ditto. + (sexp_to_enc): Ditto. Replaced the chain of if(!err) tests by + straightforward gotos. + +2003-12-05 Werner Koch + + * cipher.c: Documentation cleanups. + (gcry_cipher_mode_from_oid): Allow NULL for STRING. + +2003-12-03 Werner Koch + + * elgamal.c (sign, do_encrypt, gen_k): Make sure that a small K is + only used for encryption. + +2003-11-18 Werner Koch + + * random.h (rndw32_set_dll_name): Removed unused prototype. + + * Makefile.am (EXTRA_DIST): Added Manifest. + +2003-11-11 Werner Koch + + * Manifest: New. + +2003-11-04 Werner Koch + + * md.c (gcry_md_hash_buffer): Use shortcut for SHA1 + * sha1.c (_gcry_sha1_hash_buffer): New. + + * random.c: Reformatted most functions. + (mix_pool): Moved the failsafe_digest from global + scope to here. + (do_fast_random_poll): Use the generic fucntions even if a fast + gathering function has been used. + (read_pool): Detect a fork and retry. + (gcry_randomize, get_random_bytes): Don't distinguish anymore + between weak and strong random. + (gcry_create_nonce): New. + +2003-10-31 Werner Koch + + * rndw32.c (slow_gatherer_windowsNT): Use a plain buffer for the + disk performance values and not the W32 API structure. + + * dsa.c (verify): s/exp/ex/ due to shadowing of a builtin. + * elgamal.c (verify): Ditto. + + * ac.c (gcry_ac_data_get_index): s/index/idx/ + (gcry_ac_data_copy_internal): Remove the cast in _gcry_malloc. + (gcry_ac_data_add): Must use gcry_realloc instead of realloc. + * pubkey.c (sexp_elements_extract): s/index/idx/ as tribute to the + forehackers. + (gcry_pk_encrypt): Removed shadowed definition of I. Reordered + arguments to malloc for clarity. + (gcry_pk_sign, gcry_pk_genkey): Ditto. + * primegen.c (prime_generate_internal): s/random/randomlevel/. + +2003-10-27 Moritz Schulte + + * pubkey.c (gcry_pk_encrypt): Don't forget to deallocate pkey. + +2003-10-27 Werner Koch + + * random.c (gcry_random_add_bytes): Return if buflen is zero to + avoid gcc warning about unsed parameter. + (MASK_LEVEL): Simplified; does now work for signed and unsigned + w/o warnings. + + * md.c (md_start_debug): Removed the const from SUFFIX, because + this function is called from the control fucntion which does not + require const. + + Prefixed all (pubkey,digest,cipher}_spec_* globale variables with + _gcry_. + + * ac.c (ac_key_identifiers): Made static. + + * random.c (getfnc_gather_random,getfnc_fast_random_poll): Move + prototypes to .. + * rand-internal.h: .. here + * random.c (getfnc_gather_random): Include rndw32 gatherer. + * rndunix.c, rndw32.c, rndegd.c: Include them here. + * rndlinux.c (_gcry_rndlinux_gather_random): Prepend the _gcry_ + prefix. Changed all callers. + * rndegd.c (_gcry_rndegd_gather_random): Likewise. + (_gcry_rndegd_connect_socket): Likewise. + * rndunix.c (_gcry_rndunix_gather_random): Likewise. + (waitpid): Made static. + * rndw32.c: Removed the old and unused winseed.dll cruft. + (_gcry_rndw32_gather_random_fast): Renamed from + gather_random_fast. + (_gcry_rndw32_gather_random): Renamed from gather_random. Note, + that the changes 2003-04-08 somehow got lost. + + * sha512.c (sha512_init, sha384_init): Made static. + + * cipher.c (do_ctr_decrypt): Removed "return" from this void + function. + +2003-10-24 Moritz Schulte + + * serpent.c: Fix an issue on big-endian systems. + + * rndw32.c: Removed IS_MODULE -cruft. + * rndlinux.c (rndlinux_gather_random): Likewise. + +2003-10-10 Werner Koch + + * primegen.c (gen_prime): Bail out if NBITS is less than 16. + (prime_generate_internal): Initialize prime variable to suppress + compiler warning. Check pbits, initialize qbits when passed as + zero. + + * primegen.c (prime_generate_internal): New arg + ALL_FACTORS. Changed all callers. + (gcry_prime_generate): Make the factors arg optional. Request + all_factors. Make sure PRIME is set to NULL even on error. + (gcry_prime_group_generator): New. + (gcry_prime_release_factors): New. + +2003-10-06 Werner Koch + + * primegen.c (gen_prime): Assert that NBITS is never zero, it + would cause a segv. + +2003-09-28 Moritz Schulte + + * ac.c: Include "cipher.h". + +2003-09-27 Moritz Schulte + + * rndegd.c (do_read): Return nread instead of nbytes; thanks to + Michael Caerwyn. + +2003-09-04 Werner Koch + + * pubkey.c (_gcry_pk_aliased_algo_name): New. + * ac.c (gcry_ac_open): Use it here. + + * Makefile.am (EXTRA_libcipher_la_SOURCES): Add serpent.c + +2003-09-02 Moritz Schulte + + * primegen.c (gcry_prime_check, gcry_prime_generate): New + functions. + (prime_generate_internal): New function, based on + _gcry_generate_elg_prime. + (_gcry_generate_elg_prime): Rewritten as a wrapper for + prime_generate_internal. + +2003-08-28 Werner Koch + + * pubkey.c (gcry_pk_encrypt): Don't include the flags list in the + return value. This does not make sense and breaks any programs + parsing the output strictly (e.g. current gpgsm). + (gcry_pk_encrypt): If aliases for the algorithm name exists, take + the first one instead of the regular name to adhere to SPKI + conventions. + (gcry_pk_genkey): Ditto. + (gcry_pk_sign): Ditto. Removed unused KEY_ALGO_NAME. + +2003-08-19 Moritz Schulte + + * cipher.c: Add support for Serpent + * serpent.c: New file. + +2003-08-10 Moritz Schulte + + * rsa.c (_gcry_rsa_blind, _gcry_rsa_unblind): Declare static. + +2003-08-09 Timo Schulz + + * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM + two times, but also the NAME_OF_DEV_URANDOM device. + +2003-08-08 Moritz Schulte + + * pubkey.c (sexp_to_enc): Fixed extraction of S-Expression: do not + fail if no `flags' sub S-Expression is found. + +2003-07-27 Werner Koch + + * md.c (gcry_md_lookup_func_oid): Allow for empty OID lists. + +2003-07-23 Moritz Schulte + + * ac.c (gcry_ac_data_construct): New argument: include_flags, only + include `flags' S-expression, if include_flags is true. Adjust + callers. Thanks for triggering a bug caused by `flags' + sub-S-expression where they are not expected to Ralf Schneider. + +2003-07-21 Moritz Schulte + + * pubkey.c (gcry_pk_lookup_func_name): Use new member name + `aliases' instead of `sexp_names'. + + * ac.c (gcry_ac_key_data_get): New function. + + * cipher.c (gcry_cipher_lookup_func_name): Fix return value. + +2003-07-20 Moritz Schulte + + * blowfish.c: Adjusted for new gcry_cipher_spec_t structure. + * cast5.c: Likewise. + * twofish.c: Likewise. + * arcfour.c: Likewise. + * rijndael.c (rijndael_oids, rijndael192_oids, rijndael256_oids): + New variables, adjust for new gcry_cipher_spec_t structure. + * des.c (oids_tripledes): New variable, adjust for new + gcry_cipher_spec_t structure. + + * md.c (oid_table): Removed. + + * tiger.c (oid_spec_tiger): New variable. + (digest_spec_tiger): Adjusted for new gry_md_spec_t structure. + + * sha512.c (oid_spec_sha512): New variable. + (digest_spec_sha512): Adjusted for new gry_md_spec_t structure. + + * sha512.c (oid_spec_sha384): New variable. + (digest_spec_sha384): Adjusted for new gry_md_spec_t structure. + + * sha256.c (oid_spec_sha256): New variable. + (digest_spec_sha256): Adjusted for new gry_md_spec_t structure. + + * sha1.c (oid_spec_sha1): New variable. + (digest_spec_sha1): Adjusted for new gry_md_spec_t structure. + + * rmd160.c (oid_spec_rmd160): New variable. + (digest_spec_rnd160): Adjusted for new gry_md_spec_t structure. + + * md5.c (oid_spec_md5): New variable. + (digest_spec_md5): Adjusted for new gry_md_spec_t structure. + + * md4.c (oid_spec_md4): New variable. + (digest_spec_md4): Adjusted for new gry_md_spec_t structure. + + * crc.c (digest_spec_crc32, digest_spec_crc32_rfc1510, + digest_spec_crc32_rfc2440): Adjusted for new gry_md_spec_t + structure. + +2003-07-19 Moritz Schulte + + * md.c (gcry_md_lookup_func_oid): New function. + (search_oid): New function, copied from cipher.c. + (gcry_md_map_name): Adjust for new search_oid_interface. + + * cipher.c (oid_table): Removed table. + (gcry_cipher_lookup_func_oid): New function. + (search_oid): Rewritten to use the module functions. + (gcry_cipher_map_name): Adjust for new search_oid interface. + (gcry_cipher_mode_from_oid): Likewise. + +2003-07-18 Werner Koch + + * md.c (gcry_md_hash_buffer): Convert ERR to gpg_error_t in + gpg_strerror. + +2003-07-14 Moritz Schulte + + * cipher.c (gcry_cipher_lookup_func_name): Also check the cipher + name aliases, not just the primary name. + (gcry_cipher_map_name): Remove kludge for aliasing Rijndael to + AES. + + * arcfour.c, blowfish.c, cast5.c, des.c, twofish.c: Adjust cipher + specification structures. + + * rijndael.c (rijndael_names, rijndael192_names, + rijndael256_names): New variables, use them in the cipher + specifications. + + * rmd160test.c: Removed file. + + * ac.c, arcfour.c, blowfish.c, cast5.c, cipher.c, des.c, dsa.c, + elgamal.c, md.c, pubkey.c, random.c, rijndael.c, rsa.c, twofish.c: + Used gcry_err* wrappers for libgpg symbols. + + * primegen.c (gen_prime): Correct the order arguments to + extra_check. + +2003-07-12 Moritz Schulte + + * ac.c: Replaced all public occurences of gpg_error_t with + gcry_error_t. + * cipher.c: Likewise. + * md.c: Likewise. + * pubkey.c: Likewise. + * random.c: Likewise. + + * cipher.c: Added support for TWOFISH128. + +2003-07-08 Moritz Schulte + + * ac.c (gcry_ac_data_copy_internal): New function, based on + gcry_ac_data_copy. + (gcry_ac_data_copy): Made public, use gcry_ac_data_copy_internal. + (gcry_ac_key_init): Use gcry_ac_data_copy_internal. + +2003-07-07 Moritz Schulte + + * ac.c (gcry_ac_data_set): Only release old MPI value if it is + different from the new value. Bug reported by Simon Josefsson + . + + * pubkey.c (gcry_pk_list): New function. + * md.c (gcry_md_list): New function. + + * ac.c (gcry_ac_key_pair_generate): Fix calculation of format + string size. + +2003-07-05 Moritz Schulte + + * md.c: Named struct of digest_table `digest_table_entry'. + (digest_table_entry): New member: algorithm; filled in. + (digest_table_entry): Removed unused member: flags. + (gcry_md_register): New argument: algorithm_id, filled in. + (gcry_md_register_default): Used algorithm ID from module + structure. + (gcry_md_map_name): Likewise. + (md_enable): Likewise. + (md_read): Likewise. + (gcry_md_info): Likewise. + + * pubkey.c: Named truct for pubkey_table `pubkey_table_entry'. + (pubkey_table_entry): New member: algorithm; filled in. + (gcry_pk_register_default): Used algorithm ID from pubkey_table. + (gcry_pk_register): New argument: algorithm_id, filled in. + (gcry_pk_map_name): Used algorithm ID from module structure. + (gcry_pk_decrypt): Likewise. + (gcry_pk_encrypt): Likewise. + (gcry_pk_verify): Likewise. + (gcry_pk_sign): Likewise. + (gcry_pk_testkey): Likewise. + (gcry_pk_genkey): Likewise. + (gcry_pk_get_nbits): Likewise. + (sexp_to_key): Removed unused variable: algo. + (sexp_to_sig): Likewise. + + * cipher.c: Named struct for cipher_table `cipher_table_entry'. + (cipher_table_entry): New member: algorithm; filled in. + (gcry_cipher_register_default): Used algorithm ID from + cipher_table. + (gcry_cipher_register): New argument: algorithm_id, filled in. + (gcry_cipher_map_name): Used algorithm ID from module structure. + + * arcfour.c (cipher_spec_arcfour): Removed algorithm ID. + * blowfish.c (cipher_spec_blowfish): Likewise. + * cast5.c (cipher_spec_cast5): Likewise. + * crc.c (digest_spec_crc32): Likewise. + * crc.c (digest_spec_crc32_rfc1510): Likewise. + * crc.c (digest_spec_crc32_rfc2440): Likewise. + * des.c (cipher_spec_des): Likewise. + * des.c (cipher_spec_tripledes): Likewise. + * dsa.c (pubkey_spec_dsa): Likewise. + * elgamal.c (pubkey_spec_elg): Likewise. + * md4.c (digest_spec_md4): Likewise. + * md5.c (digest_spec_md5): Likewise. + * aes.c (cipher_spec_aes): Likewise. + * aes.c (cipher_spec_aes192): Likewise. + * aes.c (cipher_spec_aes256): Likewise. + * rsa.c (pubkey_spec_rsa): Likewise. + * sha1.c (digest_spec_sha1): Likewise. + * sha256.c (digest_spec_sha256): Likewise. + * sha512.c (digest_spec_sha512): Likewise. + * tiger.c (digest_spec_tiger): Likewise. + * twofish.c (cipher_spec_twofish): Likewise. + * twofish.c (cipher_spec_twofish128): Likewise. + + * Makefile.am (EXTRA_libcipher_la_SOURCES): Fix list of source + files; reported by Simon Josefsson . + + * pubkey.c: Replaced all occurences of `id' with `algorithm', + since `id' is a keyword in obj-c. + * md.c: Likewise. + * cipher.c: Likewise. + + * crc.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, tiger.c: + Replaced all occurences of gcry_digest_spec_t with gcry_md_spec_t. + + * dsa.c, rsa.c, elgamal.c: Replaced all occurencens of + gcry_pubkey_spec_t with gcry_pk_spec_t. + + * md.c: Replaced all occurences of gcry_digest_spec_t with + gcry_md_spec_t. + (gcry_digest_register_default): Renamed to ... + (gcry_md_register_default): ... this; adjusted callers. + (gcry_digest_lookup_func_name): Renamed to ... + (gcry_md_lookup_func_name): ... this; adjusted callers. + (gcry_digest_lookup_name): Renamed to ... + (gcry_md_lookup_name): ... this; adjusted callers. + (gcry_digest_register): Renamed to ... + (gcry_md_register): ... this. + (gcry_digest_unregister): Renamed to ... + (gcry_md_unregister): ... this. + + * pubkey.c (gcry_pubkey_register): Renamed to ... + (gcry_pk_register): ... this. + (gcry_pubkey_unregister): Renamed to ... + (gcry_pk_unregister): ... this. + Replaced all occurences of gcry_pubkey_spec_t with gcry_pk_spec_t. + (gcry_pubkey_register_default): Renamed to ... + (gcry_pk_register_default): ... this; adjusted callers. + (gcry_pubkey_lookup_func_name): Renamed to ... + (gcry_pk_lookup_func_name): ... this; adjusted callers. + (gcry_pubkey_lookup_name): Renamed to ... + (gcry_pk_lookup_name): ... this; adjusted callers. + + * md.c (gcry_md_hash_buffer): Fix error checking. Thanks to Simon + Josefsson . + +2003-07-04 Moritz Schulte + + * cipher.c (gcry_cipher_list): New function. + +2003-07-01 Moritz Schulte + + * pubkey.c (sexp_to_sig): Accept a `flags' S-expression to be more + consistent with sexp_to_enc. + +2003-06-30 Moritz Schulte + + * Makefile.am (libcipher_la_SOURCES): Added: ac.c. + + * pubkey.c (_gcry_pk_module_lookup): New function. + (_gcry_pk_module_release): New function. + +2003-06-29 Moritz Schulte + + * ac.c: New file. + +2003-06-26 Werner Koch + + * md.c (gcry_md_hash_buffer): Trigger BUG correcly with new API. + +2003-06-19 Werner Koch + + * md.c (gcry_md_is_enabled): Fixed. + +2003-06-18 Werner Koch + + * cipher.c (gcry_cipher_get_algo_keylen): New. + (gcry_cipher_get_algo_blklen): New. + +2003-06-18 Moritz Schulte + + * arcfour.c, cipher.c, blowfish.c, md.c, cast5.c, pubkey.c, crc.c, + des.c, dsa.c, elgamal.c, md4.c, md5.c, random.c, rijndael.c, + rmd160.c, rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c: + Replaced older types GcryDigestSpec, GcryCipherSpec and + GcryPubkeySpec with newer types: gcry_digest_spec_t, + gcry_cipher_spec_t and gcry_pubkey_spec_t. + + * md.c (gcry_digest_id_new): Removed function. + (gcry_digest_register): Removed code for generating a new module + ID. + + * pubkey.c (gcry_pubkey_id_new): Removed function. + (gcry_pubkey_register): Removed code for generating a new module + ID. + + * cipher.c, md.c, pubkey.c: Replace old type GcryModule with newer + one: gcry_module_t. + (gcry_cipher_id_new): Removed function. + (gcry_cipher_register): Removed code for generating a new module + ID. + + * cipher.c (gcry_cipher_register): Adjust call to + _gcry_module_add. + (gcry_cipher_register_default): Likewise. + * pubkey.c (gcry_pubkey_register_default): Likewise. + (gcry_pubkey_register): Likewise. + * md.c (gcry_digest_register_default): Likewise. + (gcry_digest_register): Likewise. + + * md.c (gcry_digest_lookup_func_id): Removed function. + (gcry_digest_lookup_id): Likewise. + (gcry_digest_id_new): Use _gcry_module_lookup_id instead of + gcry_digest_lookup_id. + (digest_algo_to_string): Likewise. + (check_digest_algo): Likewise. + (md_enable): Likewise. + (md_digest_length): Likewise. + (md_asn_oid): Likewise. + + * pubkey.c (gcry_pubkey_lookup_id): Removed function. + (gcry_pubkey_lookup_func_id): Likewise. + (gcry_pubkey_id_new): Use _gcry_module_lookup_id instead of + gcry_pubkey_id_new. + (gcry_pk_algo_name): Likewise. + (disable_pubkey_algo): Likewise. + (check_pubkey_algo): Likewise. + (pubkey_get_npkey): Likewise. + (pubkey_get_nskey): Likewise. + (pubkey_get_nsig): Likewise. + (pubkey_get_nenc): Likewise. + (pubkey_generate): Likewise. + (pubkey_check_secret_key): Likewise. + (pubkey_encrypt): Likewise. + (pubkey_decrypt): Likewise. + (pubkey_sign): Likewise. + (pubkey_verify): Likewise. + (gcry_pk_algo_info): Likewise. + + * cipher.c (gcry_cipher_lookup_func_id): Removed function. + (gcry_cipher_lookup_id): Likewise. + (cipher_algo_to_string): use _gcry_module_lookup_id instead of + gcry_cipher_lookup_id. + (disable_cipher_algo): Likewise. + (check_cipher_algo): Likewise. + (cipher_get_blocksize): Likewise. + (gcry_cipher_open): Likewise. + (gcry_cipher_id_new): Likewise. + +2003-06-17 Moritz Schulte + + * Makefile.am (GCRYPT_MODULES): Set to @GCRYPT_CIPHERS@, + @GCRYPT_PUBKEY_CIPHERS@, @GCRYPT_DIGESTS@ and @GCRYPT_RANDOM@. + (libcipher_la_DEPENDENCIES): Set to $(GCRYPT_MODULES). + (libcipher_la_LIBADD): Likewise. + (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@. + (EXTRA_libcipher_la_SOURCES): Added all conditional sources. + + * md.c (md_open): Use _gcry_fast_random_poll instead of + fast_random_poll. + * cipher.c (gcry_cipher_open): Likewise. + + * random.h (fast_random_poll): Removed macro. + + * blowfish.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c, + tiger.c: Use Autoconf's WORDS_BIGENDIAN instead of our own + BIG_ENDIAN_HOST. + +2003-06-16 Moritz Schulte + + * random.c (getfnc_gather_random): Do not special-case + USE_ALL_RANDOM_MODULES, make it the default. + + * dsa.c: Replace last occurences of old type names with newer + names (i.e. replace MPI with gcry_mpi_t). + * elgamal.c: Likewise. + * primegen.c: Likewise. + * pubkey.c: Likewise. + * rsa.c: Likewise. + +2003-06-14 Moritz Schulte + + * des.c (des_setkey): Add selftest check. + (tripledes_set3keys): Likewise. + (do_tripledes_setkey): Remove selftest check. + (do_des_setkey): Likewise. + +2003-06-11 Moritz Schulte + + * md.c (_gcry_md_init): New function. + * cipher.c (_gcry_cipher_init): New function. + * pubkey.c (_gcry_pk_init): New function. + +2003-06-13 Werner Koch + + * md.c (gcry_md_get_algo): Reverted to old API. This is a + convenience function anyway and error checking is not approriate. + (gcry_md_is_secure): New. + (gcry_md_is_enabled): New. + +2003-06-12 Werner Koch + + * cipher.c (gcry_cipher_open): Make sure HANDLE is set to NULL on + error. + +2003-06-11 Werner Koch + + * md.c (gcry_md_open): Make sure H receives either NULL or an + valid handle. + (gcry_md_copy): Swapped arguments so that it is more in lione with + md_open and most other API fucntions like memcpy (destination + comes first). Make sure HANDLE is set to NULL on error. + + * rijndael.c (do_encrypt): Hack to force correct alignment. It + seems not to be not sufficient, though. We should rework this + fucntions and remove all these ugly casts. Let the compiler + optimize or have an assembler implementation. + +2003-06-09 Moritz Schulte + + * Makefile.am: Removed rules serpent, since that is not commited + yet. + +2003-06-08 Moritz Schulte + + * pubkey.c (gcry_pk_encrypt): Improve calculation for size of the + format string. + +2003-06-07 Moritz Schulte + + * arcfour.c, bithelp.h, blowfish.c, cast5.c, cipher.c, crc.c, + des.c, dsa.c, elgamal.c, md4.c, md5.c, md.c, primegen.c, pubkey.c, + rand-internal.h, random.c, random.h, rijndael.c, rmd160.c, + rmd160test.c, rmd.h, rndeged.c, rndlinux.c, rndunix.c, rndw32.c, + rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c: Edited all + preprocessor instructions to remove whitespace before the '#'. + This is not required by C89, but there are some compilers out + there that don't like it. Replaced any occurence of the now + deprecated type names with the new ones. + +2003-06-04 Moritz Schulte + + * pubkey.c (gcry_pk_encrypt): Construct an arg_list and use + gcry_sexp_build_array instead of gcry_sexp_build. + (gcry_pk_sign): Likewise. + (gcry_pk_genkey): Likewise. + +2003-06-01 Moritz Schulte + + * dsa.c (_gcry_dsa_generate): Do not check wether the algorithm ID + does indeed belong to DSA. + (_gcry_dsa_sign): Likewise. + (_gcry_dsa_verify): Likewise. + (_gcry_dsa_get_nbits): Likewise. + + * elgamal.c (_gcry_elg_check_secret_key): Do not check wether the + algorithm ID does indeed belong to ElGamal. + (_gcry_elg_encrypt): Likewise. + (_gcry_elg_decrypt): Likewise. + (_gcry_elg_sign): Likewise. + (_gcry_elg_verify): Likewise. + (_gcry_elg_get_nbits): Likewise. + (_gcry_elg_generate): Likewise. + + * rsa.c (_gcry_rsa_generate): Do not check wether the algorithm ID + does indeed belong to RSA. + (_gcry_rsa_encrypt): Likewise. + (_gcry_rsa_decrypt): Likewise. + (_gcry_rsa_sign): Likewise. + (_gcry_rsa_verify): Likewise. + (_gcry_rsa_get_nbits): Likewise. + +2003-05-30 Moritz Schulte + + * md.c (md_get_algo): Return zero in case to algorithm is enabled. + + * md.c (gcry_md_info): Adjusted for new no-errno-API. + (md_final): Likewise. + (gcry_md_get_algo): Likewise. + * pubkey.c (gcry_pk_get_keygrip): Likewise. + (gcry_pk_ctl): Likewise. + (gcry_pk_algo_info): Likewise. + * des.c (selftest): Likewise. + +2003-05-29 Moritz Schulte + + * md.c (md_enable): Do not forget to release module on error. + (gcry_md_open): Adjusted for new no-errno-API. + (md_open): Likewise. + (md_copy): Likewise. + (gcry_md_copy): Likewise. + (gcry_md_setkey): Likewise. + (gcry_md_algo_info): Likewise. + + * cipher.c (gcry_cipher_open): Adjusted for new no-errno-API and + also fixed a locking bug. + (gcry_cipher_encrypt): Adjusted for new no-errno-API. + (gcry_cipher_decrypt): Likewise. + (gcry_cipher_ctl): Likewise. + (gcry_cipher_info): Likewise. + (gcry_cipher_algo_info): Likewise. + +2003-05-28 Moritz Schulte + + * md.c (md_enable): Adjusted for libgpg-error. + (gcry_md_enable): Likewise. + (gcry_digest_register_default): Likewise. + (gcry_digest_register): Likewise. + (check_digest_algo): Likewise. + (prepare_macpads): Likewise. + (gcry_md_setkey): Likewise. + (gcry_md_ctl): Likewise. + (gcry_md_get): Likewise. + (gcry_md_algo_info): Likewise. + (gcry_md_info): Likewise. + * dsa.c (_gcry_dsa_generate): Likewise. + (_gcry_dsa_check_secret_key): Likewise. + (_gcry_dsa_sign): Likewie. + (_gcry_dsa_verify): Likewise. + * twofish.c (do_twofish_setkey): Likewise. + (twofish_setkey): Likewise. + * cipher.c (gcry_cipher_register): Likewise. + +2003-05-25 Moritz Schulte + + * rijndael.c (do_setkey): Adjusted for libgpg-error. + (rijndael_setkey): Likewise. + * random.c (gcry_random_add_bytes): Likewise. + * elgamal.c (_gcry_elg_generate): Likewise. + (_gcry_elg_check_secret_key): Likewise. + (_gcry_elg_encrypt): Likewise. + (_gcry_elg_decrypt): Likewise. + (_gcry_elg_sign): Likewise. + (_gcry_elg_verify): Likewise. + * rsa.c (_gcry_rsa_generate): Likewise. + (_gcry_rsa_check_secret_key): Likewise. + (_gcry_rsa_encrypt): Likewise. + (_gcry_rsa_decrypt): Likewise. + (_gcry_rsa_sign): Likewise. + (_gcry_rsa_verify): Likewise. + * pubkey.c (dummy_generate, dummy_check_secret_key, dummy_encrypt, + dummy_decrypt, dummy_sign, dummy_verify): Likewise. + (gcry_pubkey_register): Likewise. + (check_pubkey_algo): Likewise. + (pubkey_generate): Likewise. + (pubkey_check_secret_key): Likewise. + (pubkey_encrypt): Likewise. + (pubkey_decrypt): Likewise. + (pubkey_sign): Likewise. + (pubkey_verify): Likewise. + (sexp_elements_extract): Likewise. + (sexp_to_key): Likewise. + (sexp_to_sig): Likewise. + (sexp_to_enc): Likewise. + (sexp_data_to_mpi): Likewise. + (gcry_pk_encrypt): Likewise. + (gcry_pk_decrypt): Likewise. + (gcry_pk_sign): Likewise. + (gcry_pk_verify): Likewise. + (gcry_pk_testkey): Likewise. + (gcry_pk_genkey): Likewise. + (gcry_pk_ctl): Likewise. + * cipher.c (dummy_setkey): Likewise. + (check_cipher_algo): Likewise. + (gcry_cipher_open): Likewise. + (cipher_setkey): Likewise. + (gcry_cipher_ctl): Likewise. + (cipher_encrypt): Likewise. + (gcry_cipher_encrypt): Likewise. + (cipher_decrypt): Likewise. + (gcry_cipher_decrypt): Likewise. + (gcry_cipher_info): Likewise. + (gcry_cipher_algo_info): Likewise. + * cast5.c (cast_setkey): Likewise. + (do_cast_setkey): Likewise. + * arcfour.c (arcfour_setkey): Likewise. + (do_arcfour_setkey): Likewise. + * blowfish.c (do_bf_setkey): Likewise. + (bf_setkey): Likewise. + * des.c (do_des_setkey): Likewise. + (do_tripledes_setkey): Likewise. + +2003-05-22 Moritz Schulte + + * tiger.c: Merged code ussing the U64_C macro from GnuPG. + + * sha512.c: Likewise. + +2003-05-17 Moritz Schulte + + * pubkey.c (gcry_pk_genkey): Fix type: acquire a lock, instead of + releasing it. + +2003-05-11 Moritz Schulte + + * pubkey.c (gcry_pk_testkey): Call REGISTER_DEFAULT_CIPHERS. + (gcry_pk_ctl): Likewise. + +2003-04-27 Moritz Schulte + + * pubkey.c (gcry_pk_genkey): Release sexp after extracted data has + been used. + + * md.c (gcry_md_get_algo_dlen): Simplified, simply call + md_digest_length to do the job. + + * des.c (do_des_setkey): Check for selftest failure not only + during initialization. + (do_tripledes_setkey): Include check for selftest failure. + + * pubkey.c (gcry_pubkey_register_default): New macro + `pubkey_use_dummy', use it. + + * elgamal.c (elg_names): New variable. + (pubkey_spec_elg): Include elg_names. + + * dsa.c (dsa_names): New variable. + (pubkey_spec_dsa): Include dsa_names. + + * rsa.c (rsa_names): New variable. + (pubkey_spec_rsa): Include rsa_names. + + * pubkey.c (gcry_pubkey_lookup_func_name): Compare name also with + the names listed in `sexp_names'. + +2003-04-24 Moritz Schulte + + * pubkey.c (sexp_to_key): New variables: module, pubkey. Adjusted + to new module interface. + (sexp_to_key): Changend type of argument `retalgo' from `int *' to + `GcryModule **'. Adjusted all callers. Removed argument: + r_algotblidx. + (sexp_to_sig): Changend type of argument `retalgo' from `int *' to + `GcryModule **'. Adjusted all callers. + (sexp_to_enc): Likewise. + + (pubkey_get_npkey, pubkey_get_nskey, pubkey_get_nsig, + pubkey_get_nenc): Use strlen to find out the number. + + * rsa.c: Adjust pubkey_spec_rsa to new internal interface. + * dsa.c: Likewise. + * elgamal.c: Likewise. + +2003-04-17 Moritz Schulte + + * pubkey.c (sexp_elements_extract): New function. + * pubkey.c (sexp_to_key): Removed variable `idx', added `err', use + sexp_elements_extract. + (sexp_to_sig): Likewise. + (sexp_to_enc): Likewise. + + * pubkey.c: Terminate list correctly. + * md.c: Include sha512/sha384 in digest_table. + +2003-04-16 Moritz Schulte + + * Makefile.am: Include support for sha512.c. + + * sha512.c: New file, merged from GnuPG, with few modifications + for libgcrypt. + + * rand-internal.h: Removed declarations for constructor functions. + + * md.c (md_copy): Call _gcry_module_use for incrementing the usage + counter of the digest modules. + + * rsa.c: Do not include "rsa.h". + * dsa.c: Do not include "dsa.h". + * elgamal.c: Do not include "elgamal.h". + * des.c: Do not include "des.h". + * cast5.c: Do not include "cast5.h". + * blowfish.c: Do not include "blowfish.h". + * arcfour.c: Do not include "arcfour.h". + + * Makefile.am (libcipher_la_DEPENDENCIES): Removed. + (libcipher_la_LIBADD): Removed. + Use Automake conditionals for conditional compilation. + +2003-04-13 Moritz Schulte + + * cipher.c (gcry_cipher_open): Call REGISTER_DEFAULT_CIPHERS. + + * md.c (gcry_md_list): New member: module. + (md_enable): New variable: module, changed use of module and + digest. + (md_enable): Initialize member: module. + (md_close): Call _gcry_module_release. + + * cipher.c (gcry_cipher_open): New variable: module, changed use of + module and cipher. + (struct gcry_cipher_handle): New member: module. + (gcry_cipher_open): Initialize member: module. + (gcry_cipher_close): Call _gcry_module_release. + +2003-04-09 Moritz Schulte + + * cipher.c: Include "ath.h". + * md.c: Likewise. + * pubkey.c: Likewise. + + * cipher.c (ciphers_registered_lock): New variable. + * md.c (digests_registered_lock): New variable. + * pubkey.c (pubkeys_registered_lock): New variable. + + * rndlinux.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndlinux_constructor): Removed function. + + * rndegd.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndegd_constructor): Removed function. + + * rndunix.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndunix_constructor): Removed function. + + * rndw32.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndw32_constructor): Removed function. + + * rndegd.c (rndegd_connect_socket): Simplify code for creating the + egd socket address. + (rndegd_connect_socket): Call log_fatal use instead of + g10_log_fatal. + (egd_gather_random): Renamed to ... + (rndegd_gather_random): ... here. + +2003-04-08 Moritz Schulte + + * rndlinux.c: Do not include "dynload.h". + * rndunix.c: Likewise. + * rndw32.c: Likewise. + + * rndegd.c (rndegd_connect_socket): Factored out from ... + (egd_gather_random): here; call it. + (egd_socket): New variable. + (egd_gather_random): Initialize fd with egd_socket, do not declare + fd static. + (do_read): Merged few changes from GnuPG. FIXME - not finished? + Do not include "dynload.h". + + * rndw32.c (gather_random): Renamed to rndw32_gather_random, do + not declare static. + (gather_random_fast): Renamed to rndw32_gather_random_fast, do not + declare static. + + * rndunix.c (gather_random): Renamed to rndunix_gather_random, do + not declare static. + * rndegd.c (gather_random): Renamed to rndegd_gather_random, do + not declare static. + * rndlinux.c (gather_random): Renamed to rndlinux_gather_random, + do not declare static. + +2003-04-07 Moritz Schulte + + * Makefile.am (libcipher_la_SOURCES): Removed construct.c. + (libcipher_la_SOURCES): Added sha1.c, sha256.c, rmd160.c, md4.c, + md5.c, tiger.c and crc.c + (EXTRA_PROGRAMS): Removed sha1, sha256, rmd160, md4, md5, tiger + and crc. Removed definitions: EXTRA_md4_SOURCES, + EXTRA_md5_SOURCES, EXTRA_rmd160_SOURCES, EXTRA_sha1_SOURCES, + EXTRA_sha256_SOURCES, EXTRA_tiger_SOURCES and EXTRA_crc_SOURCES, + BUILT_SOURCES, DISTCLEANFILES. + + * pubkey.c: Do not include "elgamal.h", "dsa.h" and "rsa.h". + + * Makefile.am (libcipher_la_SOURCES): Removed rsa.h, elgamal.h, + dsa.h, des.h, cast5.h, arcfour.h and blowfish.h. + + * rsa.h: Removed file. + * elgamal.h: Removed file. + * dsa.h: Removed file. + * des.h: Removed file. + * cast5.h: Removed file. + * arcfour.h: Removed file. + * blowfish.h: Removed file. + + * Makefile.am (libcipher_la_SOURCES): Removed dynload.c and + dynload.h. + + * rsa.c (pubkey_spec_rsa): New variable. + * dsa.c (pubkey_spec_rsa): New variable. + * elgamal.c (pubkey_spec_elg): New variable. + + * rsa.c (_gcry_rsa_get_info): Removed function. + * elgamal.c (_gcry_elg_get_info): Removed function. + * dsa.c (_gcry_dsa_get_info): Removed function. + + * tiger.c (tiger_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_tiger_constructor): Removed function. + + * sha1.c (sha1_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_sha1_constructor): Removed function. + + * sha256.c (sha256_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_sha256_constructor): Removed function. + + * rmd160.c (rmd160_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rmd160_constructor): Removed function. + + * md5.c (md5_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_md5_constructor): Removed function. + + * md4.c (md4_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_md4_constructor): Removed function. + + * crc.c (crc_get_info): Removed function. + + * arcfour.c (do_arcfour_setkey): Changed type of context argument + to `void *', added local variable for cast, adjusted callers. + (arcfour_setkey): Likewise. + (encrypt_stream): Likewise. + * cast5.c (cast_setkey): Likewise. + (encrypt_block): Likewise. + * rijndael.c (rijndael_setkey): Likewise. + (rijndael_encrypt): Likewise. + (rijndael_decrypt): Likewise. + * twofish.c (twofish_setkey): Likewise. + (twofish_encrypt): Likewise. + (twofish_decrypt): Likewise. + * des.c (do_des_setkey): Likewise. + (do_des_encrypt): Likewise. + (do_des_encrypt): Likewise. + (do_tripledes_encrypt): Likewise. + (do_tripledes_encrypt): Likewise. + * blowfish.c (bf_setkey: Likewise. + (encrypt_block): Likewise. + (decrypt_block): Likewise. + + * arcfour.c (encrypt_stream): Likewise. + + * rijndael.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func) Removed function. + + * twofish.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func) Removed function. + + * cast5.c (CIPHER_ALGO_CAST5): Removed. + + * blowfish.c (FNCCAST_SETKEY, FNCCAST_CRYPT): Removed macros. + (CIPHER_ALGO_BLOWFISH): Removed symbol. + * cast5.c (FNCCAST_SETKEY, FNCCAST_CRYPT): Likewise. + * des.c (selftest_failed): Removed. + (initialized): New variable. + (do_des_setkey): Run selftest, if not yet done. + (FNCCAST_SETKEY, FNCCAST_CRYPT): Removed macros. + + * arcfour.c (_gcry_arcfour_get_info): Removed function. + * blowfish.c (_gcry_blowfish_get_info): Removed function. + * cast5.c (_gcry_cast5_get_info): Removed function. + * des.c (_gcry_des_get_info): Removed function. + * rijndael.c (_gcry_rijndael_get_info): Removed function. + * twofish.c (_gcry_twofish_get_info): Removed function. + + * arcfour.c (cipher_spec_arcfour): New variable. + * twofish.c (cipher_spec_twofish, cipher_spec_twofish128): New + variables. + * rijndael.c (cipher_spec_aes, cipher_spec_aes192, + cipher_spec256): New variables. + * des.c (cipher_spec_des, cipher_spec_tripledes): New variables. + * cast5.c (cipher_spec_cast5): New variable. + * blowfish.c (cipher_spec_blowfish): Likewise. + + * twofish.c: Do not include "dynload.h". + * rijndael.c: Likewise. + * des.c: Likewise. + * cast5.c: Likewise. + * blowfish.c: Likewise. + * cipher.c: Likewise. + * crc.c: Likewise. + * md4.c: Likewise. + * md5.c: Likewise. + * md.c: Likewise. + * pubkey.c: Likewise. + * rijndael.c: Likewise. + * sha1.c: Likewise. + * sha256.c: Likewise. + + * arcfour.c: Include "cipher.h". + * twofish.c: Likewise. + * rijndael.c: Likewise. + * des.c: Likewise. + * cast5.c: Likewise. + * blowfish.c: Likewise. + + * twofish.c (twofish_setkey): Declared argument `key' const. + (twofish_encrypt): Declared argument `inbuf' const. + (twofish_decrypt): Likewise. + + * rijndael.c (rijndael_setkey): Declared argument `key' const. + (rijndael_encrypt): Declared argument `inbuf' const. + (rijndael_decrypt): Likewise. + + * des.c (do_des_setkey): Declared argument `key' const. + (do_tripledes_setkey): Likewise. + (do_des_encrypt): Declared argument `inbuf' const. + (do_des_decrypt): Likewise. + (do_tripledes_encrypt): Likewise. + (do_tripledes_decrypt): Likewise. + + * cast5.c (encrypt_block): Declared argument `inbuf' const. + (decrypt_block): Likewise. + (cast_setkey): Declared argument `key' const. + + * blowfish.c (do_bf_setkey): Declared argument `key' const. + (encrypt_block): Declared argument `inbuf' const. + (encrypt_block): Likewise. + + + + * cipher.c: Remove CIPHER_ALGO_DUMMY related code. + Removed struct cipher_table_s. + Changed definition of cipher_table. + Removed definition of disabled_algos. + (ciphers_registered, default_ciphers_registered): New variables. + (REGISTER_DEFAULT_CIPHERS): New macro. + (dummy_setkey): Declared argument `key' const. + (dummy_encrypt_block): Declared argument `inbuf' const. + (dummy_encrypt_block): Likewise. + (dummy_encrypt_stream): Likewise. + (dummy_encrypt_stream): Likewise. + (dummy_setkey): Use `unsigned char' instead of `byte'. + (dummy_encrypt_block): Likewise. + (dummy_decrypt_block): Likewise. + (dummy_encrypt_stream): Likewise. + (dummy_decrypt_stream): Likewise. + (gcry_cipher_register_default): New function. + (gcry_cipher_lookup_func_id): New function. + (gcry_cipher_lookup_func_name): New function. + (gcry_cipher_lookup_id): New function. + (gcry_cipher_lookup_name): New function. + (gcry_cipher_id_new): New function. + (gcry_cipher_register): New function. + (gcry_cipher_unregister): New function. + (setup_cipher_table): Removed function. + (load_cipher_modules): Removed function. + (gcry_cipher_map_name): Adjusted to use new module management. + (cipher_algo_to_string): Likewise. + (disable_cipher_algo): Likewise. + (check_cipher_algo): Likewise. + (cipher_get_keylen): Likewise. + (cipher_get_blocksize): Likewise. + (gcry_cipher_open): Likewise. + (struct gcry_cipher_handle): Replaced members algo, algo_index, + blocksize, setkey, encrypt, decrypt, stencrypt, stdecrypt with one + member: cipher. + (gcry_cipher_open): Adjusted code for new handle structure. + (cipher_setkey): Likewise. + (cipher_setiv): Likewise. + (cipher_reset): Likewise. + (do_ecb_encrypt): Likewise. + (do_ecb_decrypt): Likewise. + (do_cbc_encrypt): Likewise. + (do_cbc_decrypt): Likewise. + (do_cfb_encrypt): Likewise. + (do_cfb_decrypt): Likewise. + (do_ctr_encrypt): Likewise. + (cipher_encrypt): Likewise. + (gcry_cipher_encrypt): Likewise. + (cipher_decrypt): Likewise. + (gcry_cipher_decrypt): Likewise. + (cipher_sync): Likewise. + (gcry_cipher_ctl): Likewise. + + * pubkey.c: Removed struct pubkey_table_s. + Changed definition of pubkey_table. + Removed definition of disabled_algos. + (pubkeys_registered, default_pubkeys_registered): New variables. + (REGISTER_DEFAULT_PUBKEYS): New macro. + (setup_pubkey_table): Removed function. + (load_pubkey_modules): Removed function. + (gcry_pubkey_register_default): New function. + (gcry_pubkey_lookup_func_id): New function. + (gcry_pubkey_lookup_func_name): New function. + (gcry_pubkey_lookup_id): New function. + (gcry_pubkey_lookup_name): New function. + (gcry_pubkey_id_new): New function. + (gcry_pubkey_register): New function. + (gcry_pubkey_unregister): New function. + (gcry_pk_map_name): Adjusted to use new module management. + (gcry_pk_algo_name): Likewise. + (disable_pubkey_algo): Likewise. + (check_pubkey_algo): Likewise. + (pubkey_get_npkey): Likewise. + (pubkey_get_nskey): Likewise. + (pubkey_get_nsig): Likewise. + (pubkey_get_nenc): Likewise. + (pubkey_generate): Likewise. + (pubkey_check_secret_key): Likewise. + (pubkey_encrypt): Likewise. + (pubkey_decrypt): Likewise. + (pubkey_sign): Likewise. + (pubkey_verify): Likewise. + (gcry_pk_get_nbits): Likewise. + (gcry_pk_algo_info): Likewise. + + * md.c: Removed struct md_digest_list_s. + (digest_list): Changed definition. + (digests_registered, default_digests_registered): New variables. + (REGISTER_DEFAULT_DIGESTS): New macro. + (new_list_item): Removed function. + (setup_md_table): Removed function. + (load_digest_module): Removed function. + (gcry_digest_register_default): New function. + (gcry_digest_lookup_func_id): New function. + (gcry_digest_lookup_func_name): New function. + (gcry_digest_lookup_id): New function. + (gcry_digest_lookup_name): New function. + (gcry_digest_id_new): New function. + (gcry_digest_register): New function. + (gcry_digest_unregister): New function. + (GcryDigestEntry): New type. + (struct gcry_md_context): Adjusted type of `list'. + (gcry_md_map_name): Adjusted to use new module management. + (digest_algo_to_string): Likewise. + (check_digest_algo): Likewise. + (md_enable): Likewise. + (md_digest_length): Likewise. + (md_asn_oid): Likewise. + +2003-04-07 Moritz Schulte + + * pubkey.c: Replaced PUBKEY_ALGO_DSA with GCRY_PK_DSA, + PUBKEY_ALGO_RSA with GCRY_PK_RSA and PUBKEY_ALGO_ELGAMAL with + GCRY_PK_ELG. + + * dsa.c: Replaced PUBKEY_ALGO_DSA with GCRY_PK_DSA. + +2003-04-01 Moritz Schulte + + * des.c: Removed checks for GCRY_CIPHER_3DES and GCRY_CIPHER_DES. + +2003-03-31 Moritz Schulte + + * tiger.c (tiger_get_info): Do not declare static. + * sha256.c (sha256_get_info): Likewise. + * sha1.c (sha1_get_info): Likewise. + * rmd160.c (rmd160_get_info): Likewise. + * md5.c (md5_get_info): Likewise. + * md4.c (md4_get_info): Likewise. + * crc.c (crc_get_info): Likewise. + + * md.c (load_digest_module): Call setup_md_table during + initialization. + (new_list_item): Link new element into digest_list. + + * cipher.c (do_ctr_decrypt): Made do_ctr_encrypt act as a wrapper + for do_ctr_encrypt, since these functions are identical. + +2003-03-30 Simon Josefsson + + * cipher.c (struct gcry_cipher_handle): Add counter field. + (gcry_cipher_open): Add CTR. + (cipher_reset): Clear counter field. + (do_ctr_encrypt, do_ctr_decrypt): New functions. + (cipher_encrypt, cipher_decrypt): Call CTR functions. + (gcry_cipher_ctl): Add SET_CTR to set counter. + +2003-03-30 Moritz Schulte + + * rsa.c (_gcry_rsa_blind): New function. + (_gcry_rsa_unblind): New function. + (_gcry_rsa_decrypt): Use _gcry_rsa_blind and _gcry_rsa_decrypt. + +2003-03-26 Moritz Schulte + + * dynload.c (_gcry_enum_gnupgext_pubkeys): Adjust `encrypt' and + `decrypt' function arguments. + (_gcry_enum_gnupgext_pubkeys): Likewise. + * dynload.h: Likewise. + + * pubkey.c (dummy_decrypt): Add argument: int flags. + (dummy_encrypt): Likewise. + + * elgamal.c (_gcry_elg_encrypt): Add argument: int flags. + (_gcry_elg_decrypt): Likewise. + + * rsa.c (_gcry_rsa_encrypt): Add argument: int flags. + (_gcry_rsa_decrypt): Likewise. + + * pubkey.c: Add `flags' argument to members `encrypt' and + `decrypt' of struct `pubkey_table_s'. + + * rsa.h: Add `flags' argument to function declarations. + * elgamal.h: Likewise. + + * pubkey.c (sexp_data_to_mpi): New variable: int parsed_flags. + (sexp_data_to_mpi): Set `parsed_flags'. + (sexp_data_to_mpi): New argument: int *flags. + (gcry_pk_encrypt): New variable: int flags. + (gcry_pk_encrypt): Pass `flags' to pubkey_encrypt. + (pubkey_encrypt): New variable: int flags. + (pubkey_encrypt): Pass `flags' to pubkey encrypt function. + (pubkey_decrypt): Likewise. + (pubkey_decrypt): Pass `flags' to pubkey encrypt function. + (gcry_pk_encrypt): Include `flags' s-exp in return list. + (sexp_to_enc): New argument: int *flags. + (gcry_pk_decrypt): New variable: int flags. + (gcry_pk_decrypt): Pass `flags' to pubkey_decrypt. + (sexp_to_enc): New variable: int parsed_flags. + (sexp_to_enc): Set `parsed_flags'. + +2003-03-22 Simon Josefsson + + * cipher.c (gcry_cipher_open, do_cbc_encrypt) + (gcry_cipher_encrypt): Support GCRY_CIPHER_CBC_MAC. + (gcry_cipher_ctl): Support GCRYCTL_SET_CBC_MAC. + +2003-03-19 Werner Koch + + * primegen.c (gen_prime): New args EXTRA_CHECK and EXTRA_CHECK_ARG + to allow for a user callback. Changed all callers. + (_gcry_generate_secret_prime) + (_gcry_generate_public_prime): Ditto, pass them to gen_prime. + * rsa.c (check_exponent): New. + (generate): Use a callback to ensure that a given exponent is + actually generated. + +2003-03-12 Moritz Schulte + + * primegen.c: Initialize `no_of_small_prime_numbers' statically. + (gen_prime): Remove calculation of `no_of_small_prime_numbers'. + +2003-03-03 Moritz Schulte + + * md.c (gcry_md_ctl): Rewritten to use same style like the other + functions dispatchers. + +2003-03-02 Moritz Schulte + + * cipher.c (struct gcry_cipher_handle): New member: algo_index. + (gcry_cipher_open): Allocate memory for two cipher contexts. + Initialize algo_index. + (cipher_setkey): Duplicate context into reserved memory. + (cipher_reset): New function, which resets the context and clear + the IV. + (gcry_cipher_ctl): Call cipher_reset. + +2003-02-23 Moritz Schulte + + * cipher.c: Remove (bogus) `digitp' macro definition. + * md.c: Likewise. + + * blowfish.c (burn_stack): Removed. + * arcfour.c (burn_stack): Likewise. + * cast5.c (burn_stack): Likewise. + * des.c (burn_stack): Likewise. + * md4.c (burn_stack): Likewise. + * md5.c (burn_stack): Likewise. + * random.c (burn_stack): Likewise. + * rijndael.c (burn_stack): Likewise. + * rmd160.c (burn_stack): Likewise. + * sha1.c (burn_stack): Likewise. + * sha256.c (burn_stack): Likewise. + * tiger.c (burn_stack): Likewise. + * twofish.c (burn_stack): Likewise. + + * blowfish.c: Changed all occurences of burn_stack to + _gcry_burn_stack. + * arcfour.c: Likewise. + * cast5.c: Likewise. + * des.c: Likewise. + * md4.c: Likewise. + * md5.c: Likewise. + * random.c: Likewise. + * rijndael.c: Likewise. + * rmd160.c: Likewise. + * sha1.c: Likewise. + * sha256.c: Likewise. + * tiger.c: Likewise. + * twofish.c: Likewise. + + * arcfour.c (_gcry_arcfour_get_info): Use GCRY_CIPHER_ARCFOUR + instead of hard-coded value `301'. + +2003-01-24 Werner Koch + + * random.c (_gcry_register_random_progress): New. + (_gcry_random_progress): New. + + * rndlinux.c (gather_random): Call the random progress function. + +2003-01-23 Werner Koch + + * rsa.c (generate): New arg USE_E to request a specific public + exponent. + (_gcry_rsa_generate): Ditto. + * elgamal.c (_gcry_elg_generate): Must add an dummy argument + instead of USE_E. + * dsa.c (_gcry_dsa_generate): Ditto. + * pubkey.c (dummy_generate): Ditto. + (pubkey_generate): Add USE_E arg and pass it down. + (gcry_pk_genkey): Detect "rsa-use-e" parameter and pass it to generate. + + * pubkey.c (sexp_to_enc): New arg RET_MODERN. + (gcry_pk_decrypt): Make use of it to return a real S-expression. + Return better error codes. + (gcry_pk_verify): Return better error codes. + +2003-01-21 Werner Koch + + * random.c (gcry_random_add_bytes): Add QUALITY argument, let + function return an error code and disable its core for now. + +2003-01-21 Timo Schulz + + * random.c (gcry_random_add_bytes): New. Function to add external + random to the pool. + +2003-01-20 Simon Josefsson + + * crc.c: New. + * Makefile.am (EXTRA_PROGRAMS, EXTRA_crc_SOURCES): Add crc.c. + * md.c (gcry_md_get_algo_dlen): Add values for CRC. + +2003-01-20 Werner Koch + + * sha256.c: New. + * bithelp.h (ror): New. + * Makfile.am: Add sha256.c. + * md.c (oid_table): Add values for SHA256 et al. + (gcry_md_get_algo_dlen): Likewise + +2003-01-20 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Implemented keygrips for DSA + and ElGamal. + +2003-01-17 Werner Koch + + * cipher.c (gcry_cipher_encrypt): Reworked so that the output will + never contain the plaintext even if the caller did not checked the + return value. + + * md.c (gcry_md_get_algo): Changed error code to GCRYERR_GENERAL + because we don't have an invalid md algo but no algorithm enabled. + + * pubkey.c (gcry_pk_genkey): Changed error code for bounds check + of table parameters to GCRYERR_INTERNAL. + + * md.c (gcry_md_open): Partly reverted Timo's change from + 2002-10-10 by removing the check for the algorithm. An algorithm + of 0 is allowed and anyway we should not double check it or check + it using a different function. Also fixed the flags check. + + * pubkey.c (gcry_pk_encrypt): Make sure that R_CIPH points to NULL + on error. + (gcry_pk_decrypt): Ditto for R_PLAIN. + (gcry_pk_sign): Ditto for R_SIG. + (gcry_pk_genkey): Ditto for R_KEY. + +2003-01-16 Werner Koch + + * md.c (gcry_md_write): Changed 2nd argument type to void*. + (gcry_md_hash_buffer): Changed type of boths buffers to void*. + (gcry_md_setkey): Changed 2nd argument type to void*. + +2003-01-15 Werner Koch + + * pubkey.c (sexp_data_to_mpi): New. This handles pkcs1 padding. + (gcry_pk_sign, gcry_pk_verify): Use it here. + (gcry_pk_encrypt): And here. + (pubkey_verify): Add debug code. + (sexp_to_enc): Handle flags in the input and return the pkcs1 flag + in a new parameter. + (gcry_pk_decrypt): Prepare for future pkcs1 handling. + +2002-12-19 Werner Koch + + * random.c (_gcry_random_initialize): New. + +2002-12-16 Werner Koch + + * cipher.c: Added a Teletrust specific OID for 3DES. + +2002-12-12 Werner Koch + + * md.c: Added another oddball OIW OID (sha-1WithRSAEncryption). + +2002-11-23 Werner Koch + + * md.c (load_digest_module): Enlarged checked_algos bitmap. + * md4.c (func_table): Fixed entry for md4. + Both by Simon Josephson. + (transform): Copy data to get the alignment straight. Tested only + on i386. + +2002-11-10 Simon Josefsson + + * cipher.c (gcry_cipher_open): Don't reject CTS flag. + (do_cbc_encrypt, do_cbc_decrypt, cipher_encrypt) + (gcry_cipher_encrypt, cipher_decrypt) + (gcry_cipher_decrypt): Support CTS flag. + (gcry_cipher_ctl): Toggle CTS flag. + +2002-11-10 Werner Koch + + * md4.c: New. By Simon Josefsson. + * Makefile.am (EXTRA_PROGRAMS): Add md4.c. + * md.c (oid_table,gcry_md_get_algo_dlen): MD4 support. + +2002-10-14 Werner Koch + + * arcfour.c (do_encrypt_stream): Don't use increment op when + assigning to the same variable. + +2002-10-10 Timo Schulz + + * pubkey.c (gcry_pk_genkey): Check boundaries. + + * md.c (gcry_md_open): Check that algo is available and only + valid flag values are used. + (gcry_md_get_algo): Add error handling. + +2002-09-26 Werner Koch + + * md.c: Include an OID for TIGER. + * tiger.c (tiger_get_info): Use a regular OID. + +2002-09-17 Werner Koch + + * random.c: Replaced mutex.h by the new ath.h. Changed all calls. + +2002-09-16 Werner Koch + + * arcfour.c (do_encrypt_stream): Use register modifier and modulo. + According to Nikos Mavroyanopoulos this increases perfromace on + i386 system noticable. And I always tought gcc is clever enough. + * md5.c (transform): Use register modifier. + * rmd160.c (transform): Ditto. + * sha1.c (transform): Ditto. We hope that there are 6 free registers. + * random.c (gcry_randomize): Rewrote to avoid malloc calls. + + * rndlinux.c (gather_random): Replaced remaining fprintfs by log_*. + * arcfour.c (do_arcfour_setkey): Ditto. + * twofish.c (do_twofish_setkey): Ditto. + * rndegd.c (gather_random): Ditto. + * rijndael.c (do_setkey): Ditto. + * random.c (_gcry_random_dump_stats): Ditto. + * primegen.c (_gcry_generate_elg_prime): Ditto. + * des.c (_gcry_des_get_info): Ditto. + * cast5.c (do_cast_setkey): Ditto. + * blowfish.c (do_bf_setkey): Ditto. + +2002-08-26 Werner Koch + + * des.c (weak_keys): Fixed one entry in the table and compared + all entries against the literature. + (selftest): Checksum the weak key table. + +2002-08-21 Werner Koch + + * pubkey.c: Enable keygrip calculation for "openpgp-rsa". + +2002-08-17 Werner Koch + + * cipher.c (setup_cipher_table): Don't overwrite the DES entry + with the entry for DUMMY. + +2002-08-14 Werner Koch + + * des.c (do_des_setkey,do_des_encrypt, do_des_decrypt): New. + (_gcry_des_get_info): Support plain old DES. + * cipher.c (setup_cipher_table): Put DES into the table. + +2002-07-25 Werner Koch + + * rndunix.c (_gcry_rndunix_constructor): Prefixed with _gcry_. + Noted by Stephan Austermuehle. + +2002-07-08 Timo Schulz + + * rndw32.c: Replaced the m_ memory functions with the real + gcry_ functions. Renamed all g10_ prefixed functions to log_. + +2002-06-12 Werner Koch + + * rsa.c (generate): Use e = 65537 for now. + +2002-06-11 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Allow a "protected-private-key". + +2002-06-05 Timo Schulz + + * cipher.c (gcry_cipher_encrypt, gcry_cipher_decrypt): + Check that the input size is a multiple of the blocksize. + +2002-05-23 Werner Koch + + * md.c (oid_table): Add an rsadsi OID for MD5. + +2002-05-21 Werner Koch + + * primegen.c, elgamal.c, dsa.c (progress): Do not print anything + by default. Pass an extra identifying string to the callback and + reserved 2 argumenst for current and total counters. Changed the + register function prototype. + +2002-05-17 Werner Koch + + * rndegd.c (rndegd_constructor): Fixed name of register function + and prefixed the function name with _gcry_. + * rndw32.c (rndw32_constructor): Ditto. + * tiger.c (tiger_constructor): Ditto. + + * Makefile.am: Removed all dynamic loading stuff. + * dynload.c: Ditto. Now only used for the constructor system. + +2002-05-15 Werner Koch + + * random.c (gcry_random_bytes,gcry_random_bytes_secure) + (gcry_randomize): Make sure we are initialized. + +2002-05-14 Werner Koch + + Changed license of most files to the LGPL. + +2002-05-02 Werner Koch + + * random.c (_gcry_fast_random_poll): Initialize the module so the + mutex can be used. + + * primegen.c (small_prime_numbers): Moved table from smallprime.c + * smallprime.c: File removed. + + * des.c (leftkey_swap, rightkey_swap, working_memcmp): Made static. + + * cipher.c (gcry_cipher_map_name): Map "RIJNDAEL" to "AES". + * rijndael.c (rijndael_get_info): We do only support a 128 bit + blocksize so it makes sense to change the algorithm strings to + AES. + + * tiger.c (tiger_final): Removed superfluous token pasting operators. + * md5.c (md5_final): Ditto. + +2002-04-30 Werner Koch + + * cipher.c: Fixed list of copyright years. + +2002-03-18 Werner Koch + + * random.c (initialize): Initialize the new pool lock mutex. + (_gcry_fast_random_poll): Add locking and moved main + code out to... + (do_fast_random_poll): new function. + (read_pool): Use the new function here. + (get_random_bytes): Add locking. + (_gcry_update_random_seed_file): Ditto. + +2002-03-11 Werner Koch + + * md.c: Add rsaSignatureWithripemd160 to OID table. + +2002-02-20 Werner Koch + + * sha1.c: Removed a left over comment note. The code has been + rewritten from scratch in 1998. Thanks to Niels Möller for + reporting this misleading comment. + +2002-02-18 Werner Koch + + * rndunix.c (rndunix_constructor): Use the the new prefixed + function name. Reported by Jordi Mallach. + +2002-02-10 Werner Koch + + * random.c (mix_pool): Carry an extra failsafe_digest buffer + around to make the function more robust. + +2002-02-08 Werner Koch + + * random.c (add_randomness): Xor new data into the pool and not + just copy it. This avoids any choosen input attacks which are not + serious in our setting because an outsider won't be able to mix + data in and even then we keep going with a PRNG. Thanks to Stefan + Keller for pointing this out. + +2002-01-04 Werner Koch + + * pubkey.c (gcry_pk_genkey): Do not release skey - it is static. + + * primegen.c (gen_prime): Of course we should use set_bit + and not set_highbit to set the second high bit. + +2001-12-18 Werner Koch + + * rsa.c (generate): Loop until we find the exact modulus size. + Changed the exponent to 41. + (rsa_get_info): s/usage/r_usage/ to avoid shadow warnings. + * primegen.c (gen_prime): Set 2 high order bits for secret primes. + + * Makefile.am (DISTCLEANFILES): Include construct.c. + +2001-12-17 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): New - experimental. + +2001-12-11 Werner Koch + + * cipher.c: Added OIDs for AES. + (gcry_cipher_mode_from_oid): New. + (gcry_cipher_map_name): Moved OID search code to .. + (search_oid): .. new function. + +2001-12-10 Werner Koch + + * pubkey.c (gcry_pk_encrypt): Find the signature algorithm by name + and not by number. + + * pubkey.c (gcry_pk_encrypt,gcry_pk_decrypt,gcry_pk_sign) + (gcry_pk_verify,gcry_pk_testkey, gcry_pk_genkey) + (gcry_pk_get_nbits): Release the arrays. Noted by Nikos + Mavroyanopoulos. + +2001-12-06 Werner Koch + + * cipher.c (gcry_cipher_map_name): Look also for OIDs prefixed + with "oid." or "OID.". + +2001-12-05 Werner Koch + + * pubkey.c (algo_info_table): Fixed entry for openpgp-rsa. + +2001-11-24 Werner Koch + + * pubkey.c: Added the rsaEncryption OID to the tables. + (sexp_to_key): Add an arg to return the index of the algorithm, + changed all callers. + (gcry_pk_sign): Find the signature algorithm by name and not by + number. + (gcry_pk_get_nbits): Fixed so that we can now really pass a secret + key to get the result. + + * md.c (gcry_md_map_name): Look also for OIDs prefixed with "oid." + or "OID." so that an OID string can be used as an S-Exp token. + +2001-11-20 Werner Koch + + * md.c (gcry_md_map_name): Lookup by OID if the the name begins + with a digit. + (oid_table): New. + +2001-11-16 Werner Koch + + * md.c (gcry_md_info): New operator GCRYCTL_IS_ALGO_ENABLED. + +2001-11-07 Werner Koch + + * md.c (gcry_md_hash_buffer): Close the handle which was left open + for algorithms other than rmd160. + +2001-08-08 Werner Koch + + * rndw32.c (gather_random): Use toolhelp in addition to the NT + gatherer for Windows2000. Suggested by Sami Tolvanen. + + * random.c (read_pool): Fixed length check, this used to be one + byte to strict. Made an assert out of it because the caller has + already made sure that only poolsize bytes are requested. + Reported by Marcus Brinkmann. + +2001-08-03 Werner Koch + + * cipher.c (cipher_encrypt, cipher_decrypt): Prepare to return + errors. We have to change the interface to all ciphers to make + this really work but we should do so to prepare for hardware + encryption modules. + (gcry_cipher_encrypt, gcry_cipher_decrypt): Return the error and + set lasterr. + (gcry_cipher_ctl): Make sure that errors from setkey are returned. + +2001-08-02 Werner Koch + + * rndlinux.c (gather_random): casted a size_t arg to int so that + the format string is correct. Casting is okay here and avoids + translation changes. + + * random.c (fast_random_poll): Do not check the return code of + getrusage. + + * rndunix.c: Add a signal.h header to avoid warnings on Solaris 7 + and 8. + + * tiger.c (print_abc,print_data): Removed. + + * rijndael.c, des.c, blowfish.c, twofish.c, cast5.c, arcfour.c + (burn_stack): New. Add wrappers for most functions to be able to + call burn_stack after the function invocation. This methods seems + to be the most portable way to zeroise the stack used. It does + only work on stack frame based machines but it is highly portable + and has no side effects. Just setting the automatic variables at + the end of a function to zero does not work well because the + compiler will optimize them away - marking them as volatile would + be bad for performance. + * md5.c, sha1.c, rmd160.c, tiger.c (burn_stack): Likewise. + * random.c (burn_stack): New. + (mix_pool): Use it here to burn the stack of the mixblock function. + + * primegen.c (_gcry_generate_elg_prime): Freed q at 3 places. + Thanks to Tommi Komulainen. + + * arcfour.c (arcfour_setkey): Check the minimim keylength against + bytes and not bits. + (selftest): Must reset the key before decryption. + +2001-05-31 Werner Koch + + * sha1.c (sha1_init): Made static. + + Changed all g10_ prefixed function names as well as some mpi_ + function names to cope with the introduced naming changes. + + * md.c (prepare_macpads): Made key const. + +2001-05-28 Werner Koch + + * rndegd.c (gather_random): Removed the use of tty_printf. + +2001-03-29 Werner Koch + + * md5.c (md5_final): Fixed calculation of hashed length. Thanks + to disastry@saiknes.lv for pointing out that it was horrible wrong + for more than 512MB of input. + * sha1.c (sha1_final): Ditto. + * rmd160.c (rmd160_final): Ditto. + * tiger.c (tiger_final): Ditto. + + * blowfish.c (encrypt,do_encrypt): Changed name to do_encrypt to + avoid name clashes with an encrypt function in stdlib.h of + Dynix/PIX. Thanks to Gene Carter. + * elgamal.c (encrypt,do_encrypt): Ditto. + + * twofish.c (gnupgext_enum_func): Use only when when compiled as a + module. + * rijndael.c (gnupgext_enum_func): Ditto. + + * tiger.c (tiger_get_info): Return "TIGER192" and not just + "TIGER". By Edwin Woudt. + + * random.c: Always include time.h - standard requirement. Thanks + to James Troup. + + * rndw32.c: Fixes to the macros. + +2001-01-11 Werner Koch + + * cipher.c (cipher_encrypt,gcry_cipher_encrypt): Use blocksize and + not 8. + +2000-12-19 Werner Koch + + Major change: + Removed all GnuPG stuff and renamed this piece of software + to gcrypt. + +2000-11-14 Werner Koch + + * dsa.c (test_keys): Replaced mpi_alloc by gcry_mpi_new and + mpi_free by gcry_mpi_release. + * elgamal.c (test_keys,generate): Ditto, also for mpi_alloc_secure. + * rsa.c (test_keys,generate,rsa_verify): Ditto. + * primegen.c (generate_elg_prime): Ditto. + (gen_prime): Ditto and removed nlimbs. + + * rsa.c (generate): Allocate 2 more vars in secure memory. + + * Makefile.am (OMIT_DEPENDENCIES): Hack to work around dependency + problems. + +2000-10-09 Werner Koch + + * arcfour.c, arcfour.h: New. + * cipher.c (cipher_encrypt, cipher_decrypt): Add stream mode. + (setup_cipher_table): Add Arcfour. + (gcry_cipher_open): Kludge to allow stream mode. + +Wed Oct 4 13:16:18 CEST 2000 Werner Koch + + * sha1.c (transform): Use rol() macro. Actually this is not needed + for a newer gcc but there are still aoter compilers. + + * rsa.c (test_keys): Use new random function. + + * md.c (gcry_md_setkey): New function to overcome problems with + const conflics. + (gcry_md_ctl): Pass set key to the new functions. + + * rijndael.c: New. + * cipher.c: Add Rijndael support. + +Mon Sep 18 16:35:45 CEST 2000 Werner Koch + + * rndlinux.c (open_device): Loose random device checking. + By Nils Ellmenreich. + + * random.c (fast_random_poll): Check ENOSYS for getrusage. + * rndunix.c: Add 2 sources for QNX. By Sam Roberts. + + * pubkey.c (gcry_pk_algo_info): Add GCRYCTL_GET_ALGO_USAGE. + + * rsa.c: Changed the comment about the patent. + (secret): Speed up by using the CRT. For a 2k keys this + is about 3 times faster. + (stronger_key_check): New but unused code to check the secret key. + * Makefile.am: Included rsa.[ch]. + * pubkey.c: Enabled RSA support. + (pubkey_get_npkey): Removed RSA workaround. + +Mon Jul 31 10:04:47 CEST 2000 Werner Koch + + * pubkey.c: Replaced all gcry_sexp_{car,cdr}_{data,mpi} by the new + gcry_sexp_nth_{data,mpi} functions. + +Tue Jul 25 17:44:15 CEST 2000 Werner Koch + + * pubkey.c (exp_to_key,sexp_to_sig,sexp_to_enc,gcry_pk_encrypt, + gcry_pk_decrypt,gcry_pk_sign,gcry_pk_genkey): Changed to work with + the new S-Exp interface. + +Mon Jul 17 16:35:47 CEST 2000 Werner Koch + + * random.c (gather_faked): Replaced make_timestamp by time(2) again. + +Fri Jul 14 19:38:23 CEST 2000 Werner Koch + + * md.c (gcry_md_ctl): Support GCRYCTL_{START,STOP}_DUMP. + + * Makefile.am: Never compile mingw32 as module. + + * Makefile.am: Tweaked module build and removed libtool + + * Makefile.am: Replaced -O1 by -O. Suggested by Alec Habig. + + * elgamal.c (sign): Removed inactive code. + + * rsa.c, rsa.h: New based on the old module version (only in CVS for now). + * pubkey.c (setup_pubkey_table): Added commented support for RSA. + + * rndunix.c (waitpid): New. For UTS 2.1. All by Dave Dykstra. + (my_popen): Do the FD_CLOEXEC only if it is available + (start_gatherer): Cope with missing _SC_OPEN_MAX + + * rndunix.c: Add some more headers for QNX. By Sam Roberts. + + * rndegd.c (gather_random): Shortcut level 0. + * rndunix.c (gather_random): Ditto. + * rndw32.c (gather_random): Ditto. + + * rndw32.c: Replaced with code from Cryptlib and commented the old stuff. + * rndw32.c: Add some debuging code enabled by an environment variable. + + * random.c (read_seed_file): Binary open for DOSish system + (update_random_seed_file): Ditto. + * random.c [MINGW32]: Include process.h for getpid. + * random.c (fast_random_poll): Add clock_gettime() as fallback for + system which support this POSIX.4 fucntion. By Sam Roberts. + + * random.c (read_seed_file): Removed the S_ISLNK test becuase it + is already covered by !S_ISREG and is not defined in Unixware. + Reported by Dave Dykstra. + (update_random_seed_file): Silently ignore update request when pool + is not filled. + + * random.c (read_seed_file): New. + (set_random_seed_file): New. + (read_pool): Try to read the seeding file. + (update_random_seed_file): New. + + (read_pool): Do an initial extra seeding when level 2 quality random + is requested the first time. This requestes at least POOLSIZE/2 bytes + of entropy. Compined with the seeding file this should make normal + random bytes cheaper and increase the quality of the random bytes + used for key generation. + + * random.c (read_pool): Print a more friendly error message in + cases when too much random is requested in one call. + + * random.c (fast_random_poll): Check whether RUSAGE_SELF is defined; + this is not the case for some ESIX and Unixware, although they have + getrusage(). + + * primegen.c (generate_elg_prime): All primes are now generated with + the lowest random quality level. Because they are public anyway we + don't need stronger random and by this we do not drain the systems + entropy so much. + + * primegen.c (register_primegen_progress): New. + * dsa.c (register_pk_dsa_progress): New. + * elgamal.c (register_pk_elg_progress): New. + + * elgamal.c (wiener_map): New. + (gen_k): Use a much smaller k. + (generate): Calculate the qbits using the wiener map and + choose an x at a size comparable to the one choosen in gen_k + + * rmd160.c (rmd160_get_info): Moved casting to the left side due to a + problem with UTS4.3. Suggested by Dave Dykstra. + * sha1.c (sha1_get_info): Ditto. + * tiger.c (tiger_get_info): Ditto. + * md5.c (md5_get_info): Ditto + * des.c (des_get_info): Ditto. + * blowfish.c (blowfish_get_info): Ditto. + * cast5.c (cast5_get_info): Ditto. + * twofish.c (twofish_get_info): Ditto. + +Fri Mar 24 11:25:45 CET 2000 Werner Koch + + * md.c (md_open): Add hmac arg and allocate space for the pads. + (md_finalize): Add HMAC support. + (md_copy): Ditto. + (md_close): Ditto. + (gcry_md_reset): Ditto. + (gcry_md_ctl): Ditto. + (prepare_macpdas): New. + +Mon Mar 13 19:22:46 CET 2000 Werner Koch + + * md.c (gcry_md_hash_buffer): Add support for the other algorithms. + +Mon Jan 31 16:37:34 CET 2000 Werner Koch + + * genprime.c (generate_elg_prime): Fixed returned factors which never + worked for non-DSA keys. + +Thu Jan 27 18:00:44 CET 2000 Werner Koch + + * pubkey.c (sexp_to_key): Fixed mem leaks in case of errors. + +Mon Jan 24 22:24:38 CET 2000 Werner Koch + + * pubkey.c (gcry_pk_decrypt): Implemented. + (gcry_pk_encrypt): Implemented. + (gcry_pk_testkey): New. + (gcry_pk_genkey): New. + (pubkey_decrypt): Made static. + (pubkey_encrypt): Ditto. + (pubkey_check_secret_key): Ditto. + (pubkey_generate): Ditto. + +Mon Jan 24 13:04:28 CET 2000 Werner Koch + + * pubkey.c (pubkey_nbits): Removed and replaced by ... + (gcry_pk_get_nbits): this new one. + +Wed Dec 8 21:58:32 CET 1999 Werner Koch + + * dsa.c: s/mpi_powm/gcry_mpi_powm/g + * elgamal.c: Ditto. + * primegen.c: Ditto. + + * : Replaced g10_opt_verbose by g10_log_verbosity(). + + * Makefile.am (INCLUDES): removed intl, add ../gcrypt + +Fri Nov 19 17:15:20 CET 1999 Werner Koch + + * dynload.c (cmp_filenames): New to replaced compare_filename() in + module. + (register_cipher_extension): Removed the tilde expansion stuff. + * rndeg.c (my_make_filename): New. + + * : Replaced header util.h by g10lib.h + + * random.c (gather_faked): Replaced make_timestamp by time(2). + Disabled wrning printed with tty_printf. + * rndlinux.c (gather_random): Always use fprintf instead of tty_xxx; + this should be replaced by a callback function. + + * primegen.c (gen_prime): Use gcry_mpi_randomize. + (is_prime): Ditto. + * elgamal.c (test_keys): Ditto. + * dsa.c (test_keys): Ditto. + + * cipher.c (gcry_cipher_close): Die on invalid handle. + +Mon Nov 15 21:36:02 CET 1999 Werner Koch + + * elgamal.c (gen_k): Use the new random API. + (generate): Ditto. + * dsa.c (gen_k): Ditto. + (generate): Ditto. + +Sat Nov 13 17:44:23 CET 1999 Werner Koch + + * pubkey.c (disable_pubkey_algo): Made static. + (gcry_pk_ctl): New. + + * random.c (get_random_bits): Renamed to ... + (get_random_bytes): ... this and made static. + (gcry_random_bytes): New. + (gcry_random_bytes_secure): New. + (randomize_buffer): Renamed to ... + (gcry_randomize): ...this. + + * md.c (gcry_md_hash_buffer): New. + + * pubkey.c (gcry_pk_algo_info): 4 new commands. + (pubkey_get_npkey): Made static. + (pubkey_get_nskey): Made static. + (pubkey_get_nsig): Made static. + (pubkey_get_nenc): Made static. + + * pubkey.c: Removed all G10ERR_xxx. + * cipher.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_CIPHER_ALGO. + * md.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_MD_ALGO. + * cast5.c (cast_setkey): Changed errocodes to GCRYERR_xxx. + * blowfish.c: Ditto. + * des.c: Ditto. + * twofish.c: Ditto. + * dsa.c: Ditto. + * elgamal.c: Ditto. + + * g10c.c: Removed + + * cipher.c (gcry_cipher_open): Replaced alloc functions and return NULL + if we are out of core. + * dynload.c: Replaced all memory allocation functions. + * md.c: Ditto. + * primegen.c: Ditto. + * pubkey.c: Ditto. + * random.c: Ditto. + * rndw32.c: Ditto. + * elgamal.c: Ditto. + * dsa.c: Ditto. + +Tue Oct 26 14:10:21 CEST 1999 Werner Koch + + * elgamal.c (sign): Hugh found strange code here. Replaced by BUG(). + + * cipher.c: Merged with gcrypt/symapi.c. + + * pubkey.c (string_to_pubkey_algo): Renamed function to ... + (gcry_pk_map_name): ... this. + (pubkey_algo_to_string): Renamed function to ... + (gcry_pk_algo_name): ... this. + (gcry_pk_algo_info): New. + * pubkey.c: Merged with gcrypt/pkapi.c. + + * md.c (md_reset): Clear finalized; thanks to Ulf Moeller for + fixing this bug. + + * md.c: Merged with gcrypt/mdapi.c + +Wed Sep 15 14:39:59 CEST 1999 Michael Roth + + * des.c: Various speed improvements: One bit pre rotation + trick after initial permutation (Richard Outerbridge). + Finished test of SSLeay Tripple-DES patterns. + +Wed Sep 15 16:22:17 CEST 1999 Werner Koch + + * rndw32.c: New. + +Mon Sep 13 10:51:29 CEST 1999 Werner Koch + + * bithelp.h: New. + * rmd160.h, sha1.h, md5.h: Use the rol macro from bithelp.h + +Tue Sep 7 16:23:36 CEST 1999 Werner Koch + + * Makefile.am: Fixed seds for latest egcc. By Ollivier Robert. + +Mon Sep 6 19:59:08 CEST 1999 Werner Koch + + * des.c (selftest): Add some testpattern + +Mon Aug 30 20:38:33 CEST 1999 Werner Koch + + * cipher.c (do_cbc_encrypt): Fixed serious bug occuring when not using + in place encryption. Pointed out by Frank Stajano. + +Mon Jul 26 09:34:46 CEST 1999 Werner Koch + + * md5.c (md5_final): Fix for a SCO cpp bug. + +Thu Jul 15 10:15:35 CEST 1999 Werner Koch + + * elgamal.c (elg_check_secret_key,elg_encrypt + elg_decrypt,elg_sign,elg_verify): Sanity check on the args. + * dsa.c (dsa_check_secret_key,dsa_sign,dsa_verify): Ditto. + + * pubkey.c (disable_pubkey_algo): New. + (check_pubkey_algo2): Look at disabled algo table. + * cipher.c (disable_cipher_algo): New. + (check_cipher_algo): Look at disabled algo table. + +Wed Jul 7 13:08:40 CEST 1999 Werner Koch + + * Makefile.am: Support for libtool. + +Fri Jul 2 11:45:54 CEST 1999 Werner Koch + + * dsa.c (gen_k): Changed algorithm to consume less random bytes + * elgamal.c (gen_k): Ditto. + + * random.c (random_dump_stats): New. + +Thu Jul 1 12:47:31 CEST 1999 Werner Koch + + * primegen.c, elgamal.c, dsa.c (progess): New and replaced all + fputc with a call to this function. + +Sat Jun 26 12:15:59 CEST 1999 Werner Koch + + * rndegd.c (do_write): s/ssize_t/int/ due to SunOS 4.1 probs. + + * cipher.c (do_cbc_encrypt, do_cbc_decrypt): New. + + * dynload.c (HAVE_DL_SHL_LOAD): Map hpux API to dlopen (Dave Dykstra). + * Makefile.am (install-exec-hook): Removed. + +Sun May 23 14:20:22 CEST 1999 Werner Koch + + * cipher.c (setup_cipher_table): Enable Twofish + + * random.c (fast_random_poll): Disable use of times() for mingw32. + +Mon May 17 21:54:43 CEST 1999 Werner Koch + + * dynload.c (register_internal_cipher_extension): Minor init fix. + +Tue May 4 15:47:53 CEST 1999 Werner Koch + + * primegen.c (gen_prime): Readded the Fermat test. Fixed the bug + that we didn't correct for step when passing the prime to the + Rabin-Miller test which led to bad performance (Stefan Keller). + (check_prime): Add a first Fermat test. + +Sun Apr 18 10:11:28 CEST 1999 Werner Koch + + * cipher.c (cipher_setiv): Add ivlen arg, changed all callers. + + * random.c (randomize_buffer): alway use secure memory because + we can't use m_is_secure() on a statically allocated buffer. + + * twofish.c: Replaced some macros by a loop to reduce text size. + * Makefile.am (twofish): No more need for sed editing. + +Fri Apr 9 12:26:25 CEST 1999 Werner Koch + + * cipher.c (cipher_open): Reversed the changes for AUTO_CFB. + + * blowfish.c: Dropped the Blowfish 160 mode. + * cipher.c (cipher_open): Ditto. + (setup_cipher_table): Ditto. And removed support of twofish128 + +Wed Apr 7 20:51:39 CEST 1999 Werner Koch + + * random.c (get_random_bits): Can now handle requests > POOLSIZE + + * cipher.c (cipher_open): Now uses standard CFB for automode if + the blocksize is gt 8 (according to rfc2440). + + * twofish.c: Applied Matthew Skala's patches for 256 bit key. + +Tue Apr 6 19:58:12 CEST 1999 Werner Koch + + * random.c (get_random_bits): Can now handle requests > POOLSIZE + + * cipher.c (cipher_open): Now uses standard CFB for automode if + the blocksize is gt 8 (according to rfc2440). + +Sat Mar 20 11:44:21 CET 1999 Werner Koch + + * rndlinux.c (tty_printf) [IS_MODULE]: Removed. + + * rndegd.c (gather_random): Some fixes. + +Wed Mar 17 13:09:03 CET 1999 Werner Koch + + * rndegd.c (do_read): New. + (gather_random): Changed the implementation. + +Mon Mar 8 20:47:17 CET 1999 Werner Koch + + * dynload.c (DLSYM_NEEDS_UNDERSCORE): Renamed. + +Fri Feb 26 17:55:41 CET 1999 Werner Koch + + * md.c: Nearly a total rewrote. + +Wed Feb 24 11:07:27 CET 1999 Werner Koch + + * cipher.c (context): Fixed alignment + * md.c: Ditto. + + * rndegd.c: New + +Mon Feb 22 20:04:00 CET 1999 Werner Koch + + * rndegd.c: New. + +Wed Feb 10 17:15:39 CET 1999 Werner Koch + + * Makefile.am: Modules are now figured out by configure + * construct.c: New. Generated by configure. Changed all modules + to work with that. + * sha1.h: Removed. + * md5.h: Removed. + + * twofish.c: Changed interface to allow Twofish/256 + + * rndunix.c (start_gatherer): Die on SIGPIPE. + +Wed Jan 20 18:59:49 CET 1999 Werner Koch + + * rndunix.c (gather_random): Fix to avoid infinite loop. + +Sun Jan 17 11:04:33 CET 1999 Werner Koch + + * des.c (is_weak_key): Replace system memcmp due to bugs + in SunOS's memcmp. + (des_get_info): Return error on failed selftest. + * twofish.c (twofish_setkey): Return error on failed selftest or + invalid keylength. + * cast5.c (cast_setkey): Ditto. + * blowfish.c (bf_setkey): Return error on failed selftest. + +Tue Jan 12 11:17:18 CET 1999 Werner Koch + + * random.c (random_is_faked): New. + + * tiger.c: Only compile if we have the u64 type + +Sat Jan 9 16:02:23 CET 1999 Werner Koch + + * rndunix.c (gather_random): check for setuid. + + * Makefile.am: Add a way to staically link random modules + +Thu Jan 7 18:00:58 CET 1999 Werner Koch + + * md.c (md_stop_debug): Do a flush first. + (md_open): size of buffer now depends on the secure parameter + +Sun Jan 3 15:28:44 CET 1999 Werner Koch + + * rndunix.c (start_gatherer): Fixed stupid ==/= bug + +1998-12-31 Geoff Keating + + * des.c (is_weak_key): Rewrite loop end condition. + +Tue Dec 29 14:41:47 CET 1998 Werner Koch + + * random.c: add unistd.h for getpid(). + (RAND_MAX): Fallback value for Sun. + +Wed Dec 23 17:12:24 CET 1998 Werner Koch + + * md.c (md_copy): Reset debug. + +Mon Dec 14 21:18:49 CET 1998 Werner Koch + + * random.c (read_random_source): Changed the interface to the + random gathering function. + (gather_faked): Use new interface. + * dynload.c (dynload_getfnc_fast_random_poll): Ditto. + (dynload_getfnc_gather_random): Ditto. + * rndlinux.c (gather_random): Ditto. + * rndunix.c (gather_random): Ditto. + +Sat Dec 12 18:40:32 CET 1998 Werner Koch + + * dynload.c (SYMBOL_VERSION): New to cope with system which needs + underscores. + + * rndunix.c: Rewrote large parts + +Thu Dec 10 20:15:36 CET 1998 Werner Koch + + * dynload.c (load_extension): increased needed verbosity level. + + * random.c (fast_random_poll): Fallback to a default fast random + poll function. + (read_random_source): Always use the faked entroy gatherer if no + gather module is available. + * rndlinux.c (fast_poll): Removed. + * rndunix.c (fast_poll): Removed. + + +Wed Nov 25 12:33:41 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-*.c: Removed. + * rndlinux.c : New. + * rndunix.c : New. + * random.c : Restructured the interface to the gather modules. + (intialize): Call constructor functions + (read_radnom_source): Moved to here. + * dynload.c (dynload_getfnc_gather_random): New. + (dynload_getfnc_fast_random_poll): New. + (register_internal_cipher_extension): New. + (register_cipher_extension): Support of internal modules. + +Sun Nov 8 17:44:36 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-unix.c (read_random_source): Removed the assert. + +Mon Oct 19 18:34:30 1998 me,,, (wk@tobold) + + * pubkey.c: Hack to allow us to give some info about RSA keys back. + +Thu Oct 15 11:47:57 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dynload.c: Support for DLD + +Wed Oct 14 12:13:07 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-unix.c: Now uses names from configure for /dev/random. + +1998-10-10 SL Baur + + * Makefile.am: fix sed -O substitutions to catch -O6, etc. + +Tue Oct 6 10:06:32 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-unix.c (HAVE_GETTIMEOFDAY): Fixed (was ..GETTIMEOFTIME :-) + * rand-dummy.c (HAVE_GETTIMEOFDAY): Ditto. + +Mon Sep 28 13:23:09 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_digest): New. + (md_reset): New. + +Wed Sep 23 12:27:02 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c (TIGER_CONTEXT): moved "buf", so that it is 64 bit aligned. + +Mon Sep 21 06:22:53 1998 Werner Koch (wk@(none)) + + * des.c: Some patches from Michael. + +Thu Sep 17 19:00:06 1998 Werner Koch (wk@(none)) + + * des.c : New file from Michael Roth + +Mon Sep 14 11:10:55 1998 Werner Koch (wk@(none)) + + * blowfish.c (bf_setkey): Niklas Hernaeus patch to detect weak keys. + +Mon Sep 14 09:19:25 1998 Werner Koch (wk@(none)) + + * dynload.c (RTLD_NOW): Now defined to 1 if it is undefined. + +Mon Sep 7 17:04:33 1998 Werner Koch (wk@(none)) + + * Makefile.am: Fixes to allow a different build directory + +Thu Aug 6 17:25:38 1998 Werner Koch,mobil,,, (wk@tobold) + + * random.c (get_random_byte): Removed and changed all callers + to use get_random_bits() + +Mon Jul 27 10:30:22 1998 Werner Koch (wk@(none)) + + * cipher.c : Support for other blocksizes + (cipher_get_blocksize): New. + * twofish.c: New. + * Makefile.am: Add twofish module. + +Mon Jul 13 21:30:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (read_pool): Simple alloc if secure_alloc is not set. + (get_random_bits): Ditto. + +Thu Jul 9 13:01:14 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dynload.c (load_extension): Function now nbails out if + the program is run setuid. + +Wed Jul 8 18:58:23 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (rmd160_hash_buffer): New. + +Thu Jul 2 10:50:30 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c (cipher_open): algos >=100 use standard CFB + +Thu Jun 25 11:18:25 1998 Werner Koch (wk@isil.d.shuttle.de) + + * Makefile.am: Support for extensions + +Thu Jun 18 12:09:38 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (mix_pool): simpler handling for level 0 + +Mon Jun 15 14:40:48 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c: Removed from dist, will reappear as dynload module + +Sat Jun 13 14:16:57 1998 Werner Koch (wk@isil.d.shuttle.de) + + * pubkey.c: Major changes to allow extensions. Changed the inteface + of all public key ciphers and added the ability to load extensions + on demand. + + * misc.c: Removed. + +Wed Jun 10 07:52:08 1998 Werner Koch,mobil,,, (wk@tobold) + + * dynload.c: New. + * cipher.c: Major changes to allow extensions. + +Mon Jun 8 22:43:00 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c: Major internal chnages to support extensions. + * blowfish.c (blowfish_get_info): New and made all internal + functions static, changed heder. + * cast5.c (cast5_get_info): Likewise. + +Mon Jun 8 12:27:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c (transform): Fix for big endian + + * cipher.c (do_cfb_decrypt): Big endian fix. + +Fri May 22 07:30:39 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_get_oid): Add a new one for TIGER. + +Thu May 21 13:24:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c: Add support for a dummy cipher + +Thu May 14 15:40:36 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (transform): fixed sigbus - I should better + add Christian von Roques's new implemenation of rmd160_write. + +Fri May 8 18:07:44 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-internal.h, rand-unix.c, rand-w32.c, rand_dummy.c: New + * random.c: Moved system specific functions to rand-****.c + +Fri May 8 14:01:17 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (fast_random_poll): add call to gethrtime. + +Tue May 5 21:28:55 1998 Werner Koch (wk@isil.d.shuttle.de) + + * elgamal.c (elg_generate): choosing x was not correct, could + yield 6 bytes which are not from the random pool, tsss, tsss.. + +Tue May 5 14:09:06 1998 Werner Koch (wk@isil.d.shuttle.de) + + * primegen.c (generate_elg_prime): Add arg mode, changed all + callers and implemented mode 1. + +Mon Apr 27 14:41:58 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c (cipher_get_keylen): New. + +Sun Apr 26 14:44:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c, tiger.h: New. + +Wed Apr 8 14:57:11 1998 Werner Koch (wk@isil.d.shuttle.de) + + * misc.c (check_pubkey_algo2): New. + +Tue Apr 7 18:46:49 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c: New + * misc.c (check_cipher_algo): Moved to cipher.c + * cast5.c: Moved many functions to cipher.c + * blowfish.c: Likewise. + +Sat Apr 4 19:52:08 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cast5.c: Implemented and tested. + +Wed Apr 1 16:38:27 1998 Werner Koch (wk@isil.d.shuttle.de) + + * elgamal.c (elg_generate): Faster generation of x in some cases. + +Thu Mar 19 13:54:48 1998 Werner Koch (wk@isil.d.shuttle.de) + + * blowfish.c (blowfish_decode_cfb): changed XOR operation + (blowfish_encode_cfb): Ditto. + +Thu Mar 12 14:04:05 1998 Werner Koch (wk@isil.d.shuttle.de) + + * sha1.c (transform): Rewrote + + * blowfish.c (encrypt): Unrolled for rounds == 16 + (decrypt): Ditto. + +Tue Mar 10 16:32:08 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (transform): Unrolled the loop. + +Tue Mar 10 13:05:14 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (read_pool): Add pool_balance stuff. + (get_random_bits): New. + + * elgamal.c (elg_generate): Now uses get_random_bits to generate x. + + +Tue Mar 10 11:33:51 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_digest_length): New. + +Tue Mar 10 11:27:41 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dsa.c (dsa_verify): Works. + +Mon Mar 9 12:59:08 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dsa.c, dsa.h: Removed some unused code. + +Wed Mar 4 10:39:22 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_open): Add call to fast_random_poll. + blowfish.c (blowfish_setkey): Ditto. + +Tue Mar 3 13:32:54 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (rmd160_mixblock): New. + * random.c: Restructured to start with a new RNG implementation. + * random.h: New. + +Mon Mar 2 19:21:46 1998 Werner Koch (wk@isil.d.shuttle.de) + + * gost.c, gost.h: Removed because they did only contain trash. + +Sun Mar 1 16:42:29 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (fill_buffer): removed error message if n == -1. + +Fri Feb 27 16:39:34 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_enable): No init if called twice. + +Thu Feb 26 07:57:02 1998 Werner Koch (wk@isil.d.shuttle.de) + + * primegen.c (generate_elg_prime): Changed the progress printing. + (gen_prime): Ditto. + +Tue Feb 24 12:28:42 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md5.c, md.5 : Replaced by a modified version of md5.c from + GNU textutils 1.22. + +Wed Feb 18 14:08:30 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c, md.h : New debugging support + +Mon Feb 16 10:08:47 1998 Werner Koch (wk@isil.d.shuttle.de) + + * misc.c (cipher_algo_to_string): New + (pubkey_algo_to_string): New. + (digest_algo_to_string): New. + + + Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006 + 2007, 2008, 2009 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/grub-core/lib/libgcrypt-grub/cipher/arcfour.c b/grub-core/lib/libgcrypt-grub/cipher/arcfour.c new file mode 100644 index 0000000..99f9c1c --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/arcfour.c @@ -0,0 +1,141 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* arcfour.c - The arcfour stream cipher + * Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of the algorithm, see: + * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. + * ISBN 0-471-11709-9. Pages 397 ff. + */ + + +#include "types.h" +#include "g10lib.h" +#include "cipher.h" + + +typedef struct { + int idx_i, idx_j; + byte sbox[256]; +} ARCFOUR_context; + +static void +do_encrypt_stream( ARCFOUR_context *ctx, + byte *outbuf, const byte *inbuf, unsigned int length ) +{ + register int i = ctx->idx_i; + register int j = ctx->idx_j; + register byte *sbox = ctx->sbox; + register int t; + + while ( length-- ) + { + i++; + i = i & 255; /* The and-op seems to be faster than the mod-op. */ + j += sbox[i]; + j &= 255; + t = sbox[i]; sbox[i] = sbox[j]; sbox[j] = t; + *outbuf++ = *inbuf++ ^ sbox[(sbox[i] + sbox[j]) & 255]; + } + + ctx->idx_i = i; + ctx->idx_j = j; +} + +static void +encrypt_stream (void *context, + byte *outbuf, const byte *inbuf, unsigned int length) +{ + ARCFOUR_context *ctx = (ARCFOUR_context *) context; + do_encrypt_stream (ctx, outbuf, inbuf, length ); + _gcry_burn_stack (64); +} + + +static gcry_err_code_t +do_arcfour_setkey (void *context, const byte *key, unsigned int keylen) +{ + static int initialized; + static const char* selftest_failed; + int i, j; + byte karr[256]; + ARCFOUR_context *ctx = (ARCFOUR_context *) context; + + if (!initialized ) + { + initialized = 1; + selftest_failed = selftest(); + if( selftest_failed ) + log_error ("ARCFOUR selftest failed (%s)\n", selftest_failed ); + } + if( selftest_failed ) + return GPG_ERR_SELFTEST_FAILED; + + if( keylen < 40/8 ) /* we want at least 40 bits */ + return GPG_ERR_INV_KEYLEN; + + ctx->idx_i = ctx->idx_j = 0; + for (i=0; i < 256; i++ ) + ctx->sbox[i] = i; + for (i=0; i < 256; i++ ) + karr[i] = key[i%keylen]; + for (i=j=0; i < 256; i++ ) + { + int t; + j = (j + ctx->sbox[i] + karr[i]) % 256; + t = ctx->sbox[i]; + ctx->sbox[i] = ctx->sbox[j]; + ctx->sbox[j] = t; + } + memset( karr, 0, 256 ); + + return GPG_ERR_NO_ERROR; +} + +static gcry_err_code_t +arcfour_setkey ( void *context, const byte *key, unsigned int keylen ) +{ + ARCFOUR_context *ctx = (ARCFOUR_context *) context; + gcry_err_code_t rc = do_arcfour_setkey (ctx, key, keylen ); + _gcry_burn_stack (300); + return rc; +} + + + + +gcry_cipher_spec_t _gcry_cipher_spec_arcfour = + { + "ARCFOUR", NULL, NULL, 1, 128, sizeof (ARCFOUR_context), + arcfour_setkey, NULL, NULL, encrypt_stream, encrypt_stream, + }; + + + +GRUB_MOD_INIT(gcry_arcfour) +{ + grub_cipher_register (&_gcry_cipher_spec_arcfour); +} + +GRUB_MOD_FINI(gcry_arcfour) +{ + grub_cipher_unregister (&_gcry_cipher_spec_arcfour); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/bithelp.h b/grub-core/lib/libgcrypt-grub/cipher/bithelp.h new file mode 100644 index 0000000..e957b4e --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/bithelp.h @@ -0,0 +1,57 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +/* bithelp.h - Some bit manipulation helpers + * Copyright (C) 1999, 2002 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ +#ifndef G10_BITHELP_H +#define G10_BITHELP_H + + +/**************** + * Rotate the 32 bit unsigned integer X by N bits left/right + */ +#if defined(__GNUC__) && defined(__i386__) +static inline u32 +rol( u32 x, int n) +{ + __asm__("roll %%cl,%0" + :"=r" (x) + :"0" (x),"c" (n)); + return x; +} +#else +#define rol(x,n) ( ((x) << (n)) | ((x) >> (32-(n))) ) +#endif + +#if defined(__GNUC__) && defined(__i386__) +static inline u32 +ror(u32 x, int n) +{ + __asm__("rorl %%cl,%0" + :"=r" (x) + :"0" (x),"c" (n)); + return x; +} +#else +#define ror(x,n) ( ((x) >> (n)) | ((x) << (32-(n))) ) +#endif + + +#endif /*G10_BITHELP_H*/ diff --git a/grub-core/lib/libgcrypt-grub/cipher/blowfish.c b/grub-core/lib/libgcrypt-grub/cipher/blowfish.c new file mode 100644 index 0000000..3780889 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/blowfish.c @@ -0,0 +1,588 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* blowfish.c - Blowfish encryption + * Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of the algorithm, see: + * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. + * ISBN 0-471-11709-9. Pages 336 ff. + */ + +/* Test values: + * key "abcdefghijklmnopqrstuvwxyz"; + * plain "BLOWFISH" + * cipher 32 4E D0 FE F4 13 A2 03 + * + */ + +#include "types.h" +#include "g10lib.h" +#include "cipher.h" + +#define BLOWFISH_BLOCKSIZE 8 +#define BLOWFISH_ROUNDS 16 + +typedef struct { + u32 s0[256]; + u32 s1[256]; + u32 s2[256]; + u32 s3[256]; + u32 p[BLOWFISH_ROUNDS+2]; +} BLOWFISH_context; + +static gcry_err_code_t bf_setkey (void *c, const byte *key, unsigned keylen); +static void encrypt_block (void *bc, byte *outbuf, const byte *inbuf); +static void decrypt_block (void *bc, byte *outbuf, const byte *inbuf); + + +/* precomputed S boxes */ +static const u32 ks0[256] = { + 0xD1310BA6,0x98DFB5AC,0x2FFD72DB,0xD01ADFB7,0xB8E1AFED,0x6A267E96, + 0xBA7C9045,0xF12C7F99,0x24A19947,0xB3916CF7,0x0801F2E2,0x858EFC16, + 0x636920D8,0x71574E69,0xA458FEA3,0xF4933D7E,0x0D95748F,0x728EB658, + 0x718BCD58,0x82154AEE,0x7B54A41D,0xC25A59B5,0x9C30D539,0x2AF26013, + 0xC5D1B023,0x286085F0,0xCA417918,0xB8DB38EF,0x8E79DCB0,0x603A180E, + 0x6C9E0E8B,0xB01E8A3E,0xD71577C1,0xBD314B27,0x78AF2FDA,0x55605C60, + 0xE65525F3,0xAA55AB94,0x57489862,0x63E81440,0x55CA396A,0x2AAB10B6, + 0xB4CC5C34,0x1141E8CE,0xA15486AF,0x7C72E993,0xB3EE1411,0x636FBC2A, + 0x2BA9C55D,0x741831F6,0xCE5C3E16,0x9B87931E,0xAFD6BA33,0x6C24CF5C, + 0x7A325381,0x28958677,0x3B8F4898,0x6B4BB9AF,0xC4BFE81B,0x66282193, + 0x61D809CC,0xFB21A991,0x487CAC60,0x5DEC8032,0xEF845D5D,0xE98575B1, + 0xDC262302,0xEB651B88,0x23893E81,0xD396ACC5,0x0F6D6FF3,0x83F44239, + 0x2E0B4482,0xA4842004,0x69C8F04A,0x9E1F9B5E,0x21C66842,0xF6E96C9A, + 0x670C9C61,0xABD388F0,0x6A51A0D2,0xD8542F68,0x960FA728,0xAB5133A3, + 0x6EEF0B6C,0x137A3BE4,0xBA3BF050,0x7EFB2A98,0xA1F1651D,0x39AF0176, + 0x66CA593E,0x82430E88,0x8CEE8619,0x456F9FB4,0x7D84A5C3,0x3B8B5EBE, + 0xE06F75D8,0x85C12073,0x401A449F,0x56C16AA6,0x4ED3AA62,0x363F7706, + 0x1BFEDF72,0x429B023D,0x37D0D724,0xD00A1248,0xDB0FEAD3,0x49F1C09B, + 0x075372C9,0x80991B7B,0x25D479D8,0xF6E8DEF7,0xE3FE501A,0xB6794C3B, + 0x976CE0BD,0x04C006BA,0xC1A94FB6,0x409F60C4,0x5E5C9EC2,0x196A2463, + 0x68FB6FAF,0x3E6C53B5,0x1339B2EB,0x3B52EC6F,0x6DFC511F,0x9B30952C, + 0xCC814544,0xAF5EBD09,0xBEE3D004,0xDE334AFD,0x660F2807,0x192E4BB3, + 0xC0CBA857,0x45C8740F,0xD20B5F39,0xB9D3FBDB,0x5579C0BD,0x1A60320A, + 0xD6A100C6,0x402C7279,0x679F25FE,0xFB1FA3CC,0x8EA5E9F8,0xDB3222F8, + 0x3C7516DF,0xFD616B15,0x2F501EC8,0xAD0552AB,0x323DB5FA,0xFD238760, + 0x53317B48,0x3E00DF82,0x9E5C57BB,0xCA6F8CA0,0x1A87562E,0xDF1769DB, + 0xD542A8F6,0x287EFFC3,0xAC6732C6,0x8C4F5573,0x695B27B0,0xBBCA58C8, + 0xE1FFA35D,0xB8F011A0,0x10FA3D98,0xFD2183B8,0x4AFCB56C,0x2DD1D35B, + 0x9A53E479,0xB6F84565,0xD28E49BC,0x4BFB9790,0xE1DDF2DA,0xA4CB7E33, + 0x62FB1341,0xCEE4C6E8,0xEF20CADA,0x36774C01,0xD07E9EFE,0x2BF11FB4, + 0x95DBDA4D,0xAE909198,0xEAAD8E71,0x6B93D5A0,0xD08ED1D0,0xAFC725E0, + 0x8E3C5B2F,0x8E7594B7,0x8FF6E2FB,0xF2122B64,0x8888B812,0x900DF01C, + 0x4FAD5EA0,0x688FC31C,0xD1CFF191,0xB3A8C1AD,0x2F2F2218,0xBE0E1777, + 0xEA752DFE,0x8B021FA1,0xE5A0CC0F,0xB56F74E8,0x18ACF3D6,0xCE89E299, + 0xB4A84FE0,0xFD13E0B7,0x7CC43B81,0xD2ADA8D9,0x165FA266,0x80957705, + 0x93CC7314,0x211A1477,0xE6AD2065,0x77B5FA86,0xC75442F5,0xFB9D35CF, + 0xEBCDAF0C,0x7B3E89A0,0xD6411BD3,0xAE1E7E49,0x00250E2D,0x2071B35E, + 0x226800BB,0x57B8E0AF,0x2464369B,0xF009B91E,0x5563911D,0x59DFA6AA, + 0x78C14389,0xD95A537F,0x207D5BA2,0x02E5B9C5,0x83260376,0x6295CFA9, + 0x11C81968,0x4E734A41,0xB3472DCA,0x7B14A94A,0x1B510052,0x9A532915, + 0xD60F573F,0xBC9BC6E4,0x2B60A476,0x81E67400,0x08BA6FB5,0x571BE91F, + 0xF296EC6B,0x2A0DD915,0xB6636521,0xE7B9F9B6,0xFF34052E,0xC5855664, + 0x53B02D5D,0xA99F8FA1,0x08BA4799,0x6E85076A }; + +static const u32 ks1[256] = { + 0x4B7A70E9,0xB5B32944,0xDB75092E,0xC4192623,0xAD6EA6B0,0x49A7DF7D, + 0x9CEE60B8,0x8FEDB266,0xECAA8C71,0x699A17FF,0x5664526C,0xC2B19EE1, + 0x193602A5,0x75094C29,0xA0591340,0xE4183A3E,0x3F54989A,0x5B429D65, + 0x6B8FE4D6,0x99F73FD6,0xA1D29C07,0xEFE830F5,0x4D2D38E6,0xF0255DC1, + 0x4CDD2086,0x8470EB26,0x6382E9C6,0x021ECC5E,0x09686B3F,0x3EBAEFC9, + 0x3C971814,0x6B6A70A1,0x687F3584,0x52A0E286,0xB79C5305,0xAA500737, + 0x3E07841C,0x7FDEAE5C,0x8E7D44EC,0x5716F2B8,0xB03ADA37,0xF0500C0D, + 0xF01C1F04,0x0200B3FF,0xAE0CF51A,0x3CB574B2,0x25837A58,0xDC0921BD, + 0xD19113F9,0x7CA92FF6,0x94324773,0x22F54701,0x3AE5E581,0x37C2DADC, + 0xC8B57634,0x9AF3DDA7,0xA9446146,0x0FD0030E,0xECC8C73E,0xA4751E41, + 0xE238CD99,0x3BEA0E2F,0x3280BBA1,0x183EB331,0x4E548B38,0x4F6DB908, + 0x6F420D03,0xF60A04BF,0x2CB81290,0x24977C79,0x5679B072,0xBCAF89AF, + 0xDE9A771F,0xD9930810,0xB38BAE12,0xDCCF3F2E,0x5512721F,0x2E6B7124, + 0x501ADDE6,0x9F84CD87,0x7A584718,0x7408DA17,0xBC9F9ABC,0xE94B7D8C, + 0xEC7AEC3A,0xDB851DFA,0x63094366,0xC464C3D2,0xEF1C1847,0x3215D908, + 0xDD433B37,0x24C2BA16,0x12A14D43,0x2A65C451,0x50940002,0x133AE4DD, + 0x71DFF89E,0x10314E55,0x81AC77D6,0x5F11199B,0x043556F1,0xD7A3C76B, + 0x3C11183B,0x5924A509,0xF28FE6ED,0x97F1FBFA,0x9EBABF2C,0x1E153C6E, + 0x86E34570,0xEAE96FB1,0x860E5E0A,0x5A3E2AB3,0x771FE71C,0x4E3D06FA, + 0x2965DCB9,0x99E71D0F,0x803E89D6,0x5266C825,0x2E4CC978,0x9C10B36A, + 0xC6150EBA,0x94E2EA78,0xA5FC3C53,0x1E0A2DF4,0xF2F74EA7,0x361D2B3D, + 0x1939260F,0x19C27960,0x5223A708,0xF71312B6,0xEBADFE6E,0xEAC31F66, + 0xE3BC4595,0xA67BC883,0xB17F37D1,0x018CFF28,0xC332DDEF,0xBE6C5AA5, + 0x65582185,0x68AB9802,0xEECEA50F,0xDB2F953B,0x2AEF7DAD,0x5B6E2F84, + 0x1521B628,0x29076170,0xECDD4775,0x619F1510,0x13CCA830,0xEB61BD96, + 0x0334FE1E,0xAA0363CF,0xB5735C90,0x4C70A239,0xD59E9E0B,0xCBAADE14, + 0xEECC86BC,0x60622CA7,0x9CAB5CAB,0xB2F3846E,0x648B1EAF,0x19BDF0CA, + 0xA02369B9,0x655ABB50,0x40685A32,0x3C2AB4B3,0x319EE9D5,0xC021B8F7, + 0x9B540B19,0x875FA099,0x95F7997E,0x623D7DA8,0xF837889A,0x97E32D77, + 0x11ED935F,0x16681281,0x0E358829,0xC7E61FD6,0x96DEDFA1,0x7858BA99, + 0x57F584A5,0x1B227263,0x9B83C3FF,0x1AC24696,0xCDB30AEB,0x532E3054, + 0x8FD948E4,0x6DBC3128,0x58EBF2EF,0x34C6FFEA,0xFE28ED61,0xEE7C3C73, + 0x5D4A14D9,0xE864B7E3,0x42105D14,0x203E13E0,0x45EEE2B6,0xA3AAABEA, + 0xDB6C4F15,0xFACB4FD0,0xC742F442,0xEF6ABBB5,0x654F3B1D,0x41CD2105, + 0xD81E799E,0x86854DC7,0xE44B476A,0x3D816250,0xCF62A1F2,0x5B8D2646, + 0xFC8883A0,0xC1C7B6A3,0x7F1524C3,0x69CB7492,0x47848A0B,0x5692B285, + 0x095BBF00,0xAD19489D,0x1462B174,0x23820E00,0x58428D2A,0x0C55F5EA, + 0x1DADF43E,0x233F7061,0x3372F092,0x8D937E41,0xD65FECF1,0x6C223BDB, + 0x7CDE3759,0xCBEE7460,0x4085F2A7,0xCE77326E,0xA6078084,0x19F8509E, + 0xE8EFD855,0x61D99735,0xA969A7AA,0xC50C06C2,0x5A04ABFC,0x800BCADC, + 0x9E447A2E,0xC3453484,0xFDD56705,0x0E1E9EC9,0xDB73DBD3,0x105588CD, + 0x675FDA79,0xE3674340,0xC5C43465,0x713E38D8,0x3D28F89E,0xF16DFF20, + 0x153E21E7,0x8FB03D4A,0xE6E39F2B,0xDB83ADF7 }; + +static const u32 ks2[256] = { + 0xE93D5A68,0x948140F7,0xF64C261C,0x94692934,0x411520F7,0x7602D4F7, + 0xBCF46B2E,0xD4A20068,0xD4082471,0x3320F46A,0x43B7D4B7,0x500061AF, + 0x1E39F62E,0x97244546,0x14214F74,0xBF8B8840,0x4D95FC1D,0x96B591AF, + 0x70F4DDD3,0x66A02F45,0xBFBC09EC,0x03BD9785,0x7FAC6DD0,0x31CB8504, + 0x96EB27B3,0x55FD3941,0xDA2547E6,0xABCA0A9A,0x28507825,0x530429F4, + 0x0A2C86DA,0xE9B66DFB,0x68DC1462,0xD7486900,0x680EC0A4,0x27A18DEE, + 0x4F3FFEA2,0xE887AD8C,0xB58CE006,0x7AF4D6B6,0xAACE1E7C,0xD3375FEC, + 0xCE78A399,0x406B2A42,0x20FE9E35,0xD9F385B9,0xEE39D7AB,0x3B124E8B, + 0x1DC9FAF7,0x4B6D1856,0x26A36631,0xEAE397B2,0x3A6EFA74,0xDD5B4332, + 0x6841E7F7,0xCA7820FB,0xFB0AF54E,0xD8FEB397,0x454056AC,0xBA489527, + 0x55533A3A,0x20838D87,0xFE6BA9B7,0xD096954B,0x55A867BC,0xA1159A58, + 0xCCA92963,0x99E1DB33,0xA62A4A56,0x3F3125F9,0x5EF47E1C,0x9029317C, + 0xFDF8E802,0x04272F70,0x80BB155C,0x05282CE3,0x95C11548,0xE4C66D22, + 0x48C1133F,0xC70F86DC,0x07F9C9EE,0x41041F0F,0x404779A4,0x5D886E17, + 0x325F51EB,0xD59BC0D1,0xF2BCC18F,0x41113564,0x257B7834,0x602A9C60, + 0xDFF8E8A3,0x1F636C1B,0x0E12B4C2,0x02E1329E,0xAF664FD1,0xCAD18115, + 0x6B2395E0,0x333E92E1,0x3B240B62,0xEEBEB922,0x85B2A20E,0xE6BA0D99, + 0xDE720C8C,0x2DA2F728,0xD0127845,0x95B794FD,0x647D0862,0xE7CCF5F0, + 0x5449A36F,0x877D48FA,0xC39DFD27,0xF33E8D1E,0x0A476341,0x992EFF74, + 0x3A6F6EAB,0xF4F8FD37,0xA812DC60,0xA1EBDDF8,0x991BE14C,0xDB6E6B0D, + 0xC67B5510,0x6D672C37,0x2765D43B,0xDCD0E804,0xF1290DC7,0xCC00FFA3, + 0xB5390F92,0x690FED0B,0x667B9FFB,0xCEDB7D9C,0xA091CF0B,0xD9155EA3, + 0xBB132F88,0x515BAD24,0x7B9479BF,0x763BD6EB,0x37392EB3,0xCC115979, + 0x8026E297,0xF42E312D,0x6842ADA7,0xC66A2B3B,0x12754CCC,0x782EF11C, + 0x6A124237,0xB79251E7,0x06A1BBE6,0x4BFB6350,0x1A6B1018,0x11CAEDFA, + 0x3D25BDD8,0xE2E1C3C9,0x44421659,0x0A121386,0xD90CEC6E,0xD5ABEA2A, + 0x64AF674E,0xDA86A85F,0xBEBFE988,0x64E4C3FE,0x9DBC8057,0xF0F7C086, + 0x60787BF8,0x6003604D,0xD1FD8346,0xF6381FB0,0x7745AE04,0xD736FCCC, + 0x83426B33,0xF01EAB71,0xB0804187,0x3C005E5F,0x77A057BE,0xBDE8AE24, + 0x55464299,0xBF582E61,0x4E58F48F,0xF2DDFDA2,0xF474EF38,0x8789BDC2, + 0x5366F9C3,0xC8B38E74,0xB475F255,0x46FCD9B9,0x7AEB2661,0x8B1DDF84, + 0x846A0E79,0x915F95E2,0x466E598E,0x20B45770,0x8CD55591,0xC902DE4C, + 0xB90BACE1,0xBB8205D0,0x11A86248,0x7574A99E,0xB77F19B6,0xE0A9DC09, + 0x662D09A1,0xC4324633,0xE85A1F02,0x09F0BE8C,0x4A99A025,0x1D6EFE10, + 0x1AB93D1D,0x0BA5A4DF,0xA186F20F,0x2868F169,0xDCB7DA83,0x573906FE, + 0xA1E2CE9B,0x4FCD7F52,0x50115E01,0xA70683FA,0xA002B5C4,0x0DE6D027, + 0x9AF88C27,0x773F8641,0xC3604C06,0x61A806B5,0xF0177A28,0xC0F586E0, + 0x006058AA,0x30DC7D62,0x11E69ED7,0x2338EA63,0x53C2DD94,0xC2C21634, + 0xBBCBEE56,0x90BCB6DE,0xEBFC7DA1,0xCE591D76,0x6F05E409,0x4B7C0188, + 0x39720A3D,0x7C927C24,0x86E3725F,0x724D9DB9,0x1AC15BB4,0xD39EB8FC, + 0xED545578,0x08FCA5B5,0xD83D7CD3,0x4DAD0FC4,0x1E50EF5E,0xB161E6F8, + 0xA28514D9,0x6C51133C,0x6FD5C7E7,0x56E14EC4,0x362ABFCE,0xDDC6C837, + 0xD79A3234,0x92638212,0x670EFA8E,0x406000E0 }; + +static const u32 ks3[256] = { + 0x3A39CE37,0xD3FAF5CF,0xABC27737,0x5AC52D1B,0x5CB0679E,0x4FA33742, + 0xD3822740,0x99BC9BBE,0xD5118E9D,0xBF0F7315,0xD62D1C7E,0xC700C47B, + 0xB78C1B6B,0x21A19045,0xB26EB1BE,0x6A366EB4,0x5748AB2F,0xBC946E79, + 0xC6A376D2,0x6549C2C8,0x530FF8EE,0x468DDE7D,0xD5730A1D,0x4CD04DC6, + 0x2939BBDB,0xA9BA4650,0xAC9526E8,0xBE5EE304,0xA1FAD5F0,0x6A2D519A, + 0x63EF8CE2,0x9A86EE22,0xC089C2B8,0x43242EF6,0xA51E03AA,0x9CF2D0A4, + 0x83C061BA,0x9BE96A4D,0x8FE51550,0xBA645BD6,0x2826A2F9,0xA73A3AE1, + 0x4BA99586,0xEF5562E9,0xC72FEFD3,0xF752F7DA,0x3F046F69,0x77FA0A59, + 0x80E4A915,0x87B08601,0x9B09E6AD,0x3B3EE593,0xE990FD5A,0x9E34D797, + 0x2CF0B7D9,0x022B8B51,0x96D5AC3A,0x017DA67D,0xD1CF3ED6,0x7C7D2D28, + 0x1F9F25CF,0xADF2B89B,0x5AD6B472,0x5A88F54C,0xE029AC71,0xE019A5E6, + 0x47B0ACFD,0xED93FA9B,0xE8D3C48D,0x283B57CC,0xF8D56629,0x79132E28, + 0x785F0191,0xED756055,0xF7960E44,0xE3D35E8C,0x15056DD4,0x88F46DBA, + 0x03A16125,0x0564F0BD,0xC3EB9E15,0x3C9057A2,0x97271AEC,0xA93A072A, + 0x1B3F6D9B,0x1E6321F5,0xF59C66FB,0x26DCF319,0x7533D928,0xB155FDF5, + 0x03563482,0x8ABA3CBB,0x28517711,0xC20AD9F8,0xABCC5167,0xCCAD925F, + 0x4DE81751,0x3830DC8E,0x379D5862,0x9320F991,0xEA7A90C2,0xFB3E7BCE, + 0x5121CE64,0x774FBE32,0xA8B6E37E,0xC3293D46,0x48DE5369,0x6413E680, + 0xA2AE0810,0xDD6DB224,0x69852DFD,0x09072166,0xB39A460A,0x6445C0DD, + 0x586CDECF,0x1C20C8AE,0x5BBEF7DD,0x1B588D40,0xCCD2017F,0x6BB4E3BB, + 0xDDA26A7E,0x3A59FF45,0x3E350A44,0xBCB4CDD5,0x72EACEA8,0xFA6484BB, + 0x8D6612AE,0xBF3C6F47,0xD29BE463,0x542F5D9E,0xAEC2771B,0xF64E6370, + 0x740E0D8D,0xE75B1357,0xF8721671,0xAF537D5D,0x4040CB08,0x4EB4E2CC, + 0x34D2466A,0x0115AF84,0xE1B00428,0x95983A1D,0x06B89FB4,0xCE6EA048, + 0x6F3F3B82,0x3520AB82,0x011A1D4B,0x277227F8,0x611560B1,0xE7933FDC, + 0xBB3A792B,0x344525BD,0xA08839E1,0x51CE794B,0x2F32C9B7,0xA01FBAC9, + 0xE01CC87E,0xBCC7D1F6,0xCF0111C3,0xA1E8AAC7,0x1A908749,0xD44FBD9A, + 0xD0DADECB,0xD50ADA38,0x0339C32A,0xC6913667,0x8DF9317C,0xE0B12B4F, + 0xF79E59B7,0x43F5BB3A,0xF2D519FF,0x27D9459C,0xBF97222C,0x15E6FC2A, + 0x0F91FC71,0x9B941525,0xFAE59361,0xCEB69CEB,0xC2A86459,0x12BAA8D1, + 0xB6C1075E,0xE3056A0C,0x10D25065,0xCB03A442,0xE0EC6E0E,0x1698DB3B, + 0x4C98A0BE,0x3278E964,0x9F1F9532,0xE0D392DF,0xD3A0342B,0x8971F21E, + 0x1B0A7441,0x4BA3348C,0xC5BE7120,0xC37632D8,0xDF359F8D,0x9B992F2E, + 0xE60B6F47,0x0FE3F11D,0xE54CDA54,0x1EDAD891,0xCE6279CF,0xCD3E7E6F, + 0x1618B166,0xFD2C1D05,0x848FD2C5,0xF6FB2299,0xF523F357,0xA6327623, + 0x93A83531,0x56CCCD02,0xACF08162,0x5A75EBB5,0x6E163697,0x88D273CC, + 0xDE966292,0x81B949D0,0x4C50901B,0x71C65614,0xE6C6C7BD,0x327A140A, + 0x45E1D006,0xC3F27B9A,0xC9AA53FD,0x62A80F00,0xBB25BFE2,0x35BDD2F6, + 0x71126905,0xB2040222,0xB6CBCF7C,0xCD769C2B,0x53113EC0,0x1640E3D3, + 0x38ABBD60,0x2547ADF0,0xBA38209C,0xF746CE76,0x77AFA1C5,0x20756060, + 0x85CBFE4E,0x8AE88DD8,0x7AAAF9B0,0x4CF9AA7E,0x1948C25C,0x02FB8A8C, + 0x01C36AE4,0xD6EBE1F9,0x90D4F869,0xA65CDEA0,0x3F09252D,0xC208E69F, + 0xB74E6132,0xCE77E25B,0x578FDFE3,0x3AC372E6 }; + +static const u32 ps[BLOWFISH_ROUNDS+2] = { + 0x243F6A88,0x85A308D3,0x13198A2E,0x03707344,0xA4093822,0x299F31D0, + 0x082EFA98,0xEC4E6C89,0x452821E6,0x38D01377,0xBE5466CF,0x34E90C6C, + 0xC0AC29B7,0xC97C50DD,0x3F84D5B5,0xB5470917,0x9216D5D9,0x8979FB1B }; + + + +#if BLOWFISH_ROUNDS != 16 +static inline u32 +function_F( BLOWFISH_context *bc, u32 x ) +{ + u16 a, b, c, d; + +#ifdef WORDS_BIGENDIAN + a = ((byte*)&x)[0]; + b = ((byte*)&x)[1]; + c = ((byte*)&x)[2]; + d = ((byte*)&x)[3]; +#else + a = ((byte*)&x)[3]; + b = ((byte*)&x)[2]; + c = ((byte*)&x)[1]; + d = ((byte*)&x)[0]; +#endif + + return ((bc->s0[a] + bc->s1[b]) ^ bc->s2[c] ) + bc->s3[d]; +} +#endif + +#ifdef WORDS_BIGENDIAN +#define F(x) ((( s0[((byte*)&x)[0]] + s1[((byte*)&x)[1]]) \ + ^ s2[((byte*)&x)[2]]) + s3[((byte*)&x)[3]] ) +#else +#define F(x) ((( s0[((byte*)&x)[3]] + s1[((byte*)&x)[2]]) \ + ^ s2[((byte*)&x)[1]]) + s3[((byte*)&x)[0]] ) +#endif +#define R(l,r,i) do { l ^= p[i]; r ^= F(l); } while(0) + + +static void +do_encrypt ( BLOWFISH_context *bc, u32 *ret_xl, u32 *ret_xr ) +{ +#if BLOWFISH_ROUNDS == 16 + u32 xl, xr, *s0, *s1, *s2, *s3, *p; + + xl = *ret_xl; + xr = *ret_xr; + p = bc->p; + s0 = bc->s0; + s1 = bc->s1; + s2 = bc->s2; + s3 = bc->s3; + + R( xl, xr, 0); + R( xr, xl, 1); + R( xl, xr, 2); + R( xr, xl, 3); + R( xl, xr, 4); + R( xr, xl, 5); + R( xl, xr, 6); + R( xr, xl, 7); + R( xl, xr, 8); + R( xr, xl, 9); + R( xl, xr, 10); + R( xr, xl, 11); + R( xl, xr, 12); + R( xr, xl, 13); + R( xl, xr, 14); + R( xr, xl, 15); + + xl ^= p[BLOWFISH_ROUNDS]; + xr ^= p[BLOWFISH_ROUNDS+1]; + + *ret_xl = xr; + *ret_xr = xl; + +#else + u32 xl, xr, temp, *p; + int i; + + xl = *ret_xl; + xr = *ret_xr; + p = bc->p; + + for(i=0; i < BLOWFISH_ROUNDS; i++ ) + { + xl ^= p[i]; + xr ^= function_F(bc, xl); + temp = xl; + xl = xr; + xr = temp; + } + temp = xl; + xl = xr; + xr = temp; + + xr ^= p[BLOWFISH_ROUNDS]; + xl ^= p[BLOWFISH_ROUNDS+1]; + + *ret_xl = xl; + *ret_xr = xr; +#endif +} + + +static void +decrypt ( BLOWFISH_context *bc, u32 *ret_xl, u32 *ret_xr ) +{ +#if BLOWFISH_ROUNDS == 16 + u32 xl, xr, *s0, *s1, *s2, *s3, *p; + + xl = *ret_xl; + xr = *ret_xr; + p = bc->p; + s0 = bc->s0; + s1 = bc->s1; + s2 = bc->s2; + s3 = bc->s3; + + R( xl, xr, 17); + R( xr, xl, 16); + R( xl, xr, 15); + R( xr, xl, 14); + R( xl, xr, 13); + R( xr, xl, 12); + R( xl, xr, 11); + R( xr, xl, 10); + R( xl, xr, 9); + R( xr, xl, 8); + R( xl, xr, 7); + R( xr, xl, 6); + R( xl, xr, 5); + R( xr, xl, 4); + R( xl, xr, 3); + R( xr, xl, 2); + + xl ^= p[1]; + xr ^= p[0]; + + *ret_xl = xr; + *ret_xr = xl; + +#else + u32 xl, xr, temp, *p; + int i; + + xl = *ret_xl; + xr = *ret_xr; + p = bc->p; + + for (i=BLOWFISH_ROUNDS+1; i > 1; i-- ) + { + xl ^= p[i]; + xr ^= function_F(bc, xl); + temp = xl; + xl = xr; + xr = temp; + } + + temp = xl; + xl = xr; + xr = temp; + + xr ^= p[1]; + xl ^= p[0]; + + *ret_xl = xl; + *ret_xr = xr; +#endif +} + +#undef F +#undef R + +static void +do_encrypt_block ( BLOWFISH_context *bc, byte *outbuf, const byte *inbuf ) +{ + u32 d1, d2; + + d1 = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; + d2 = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; + do_encrypt( bc, &d1, &d2 ); + outbuf[0] = (d1 >> 24) & 0xff; + outbuf[1] = (d1 >> 16) & 0xff; + outbuf[2] = (d1 >> 8) & 0xff; + outbuf[3] = d1 & 0xff; + outbuf[4] = (d2 >> 24) & 0xff; + outbuf[5] = (d2 >> 16) & 0xff; + outbuf[6] = (d2 >> 8) & 0xff; + outbuf[7] = d2 & 0xff; +} + +static void +encrypt_block (void *context, byte *outbuf, const byte *inbuf) +{ + BLOWFISH_context *bc = (BLOWFISH_context *) context; + do_encrypt_block (bc, outbuf, inbuf); + _gcry_burn_stack (64); +} + + +static void +do_decrypt_block (BLOWFISH_context *bc, byte *outbuf, const byte *inbuf) +{ + u32 d1, d2; + + d1 = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; + d2 = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; + decrypt( bc, &d1, &d2 ); + outbuf[0] = (d1 >> 24) & 0xff; + outbuf[1] = (d1 >> 16) & 0xff; + outbuf[2] = (d1 >> 8) & 0xff; + outbuf[3] = d1 & 0xff; + outbuf[4] = (d2 >> 24) & 0xff; + outbuf[5] = (d2 >> 16) & 0xff; + outbuf[6] = (d2 >> 8) & 0xff; + outbuf[7] = d2 & 0xff; +} + +static void +decrypt_block (void *context, byte *outbuf, const byte *inbuf) +{ + BLOWFISH_context *bc = (BLOWFISH_context *) context; + do_decrypt_block (bc, outbuf, inbuf); + _gcry_burn_stack (64); +} + + + + + +static gcry_err_code_t +do_bf_setkey (BLOWFISH_context *c, const byte *key, unsigned keylen) +{ + int i, j; + u32 data, datal, datar; + static int initialized; + static const char *selftest_failed; + + if( !initialized ) + { + initialized = 1; + selftest_failed = selftest(); + if( selftest_failed ) + log_error ("%s\n", selftest_failed ); + } + if( selftest_failed ) + return GPG_ERR_SELFTEST_FAILED; + + for(i=0; i < BLOWFISH_ROUNDS+2; i++ ) + c->p[i] = ps[i]; + for(i=0; i < 256; i++ ) + { + c->s0[i] = ks0[i]; + c->s1[i] = ks1[i]; + c->s2[i] = ks2[i]; + c->s3[i] = ks3[i]; + } + + for(i=j=0; i < BLOWFISH_ROUNDS+2; i++ ) + { +#ifdef WORDS_BIGENDIAN + ((byte*)&data)[0] = key[j]; + ((byte*)&data)[1] = key[(j+1)%keylen]; + ((byte*)&data)[2] = key[(j+2)%keylen]; + ((byte*)&data)[3] = key[(j+3)%keylen]; +#else + ((byte*)&data)[3] = key[j]; + ((byte*)&data)[2] = key[(j+1)%keylen]; + ((byte*)&data)[1] = key[(j+2)%keylen]; + ((byte*)&data)[0] = key[(j+3)%keylen]; +#endif + c->p[i] ^= data; + j = (j+4) % keylen; + } + + datal = datar = 0; + for(i=0; i < BLOWFISH_ROUNDS+2; i += 2 ) + { + do_encrypt( c, &datal, &datar ); + c->p[i] = datal; + c->p[i+1] = datar; + } + for(i=0; i < 256; i += 2 ) + { + do_encrypt( c, &datal, &datar ); + c->s0[i] = datal; + c->s0[i+1] = datar; + } + for(i=0; i < 256; i += 2 ) + { + do_encrypt( c, &datal, &datar ); + c->s1[i] = datal; + c->s1[i+1] = datar; + } + for(i=0; i < 256; i += 2 ) + { + do_encrypt( c, &datal, &datar ); + c->s2[i] = datal; + c->s2[i+1] = datar; + } + for(i=0; i < 256; i += 2 ) + { + do_encrypt( c, &datal, &datar ); + c->s3[i] = datal; + c->s3[i+1] = datar; + } + + + /* Check for weak key. A weak key is a key in which a value in + the P-array (here c) occurs more than once per table. */ + for(i=0; i < 255; i++ ) + { + for( j=i+1; j < 256; j++) + { + if( (c->s0[i] == c->s0[j]) || (c->s1[i] == c->s1[j]) || + (c->s2[i] == c->s2[j]) || (c->s3[i] == c->s3[j]) ) + return GPG_ERR_WEAK_KEY; + } + } + + return GPG_ERR_NO_ERROR; +} + + +static gcry_err_code_t +bf_setkey (void *context, const byte *key, unsigned keylen) +{ + BLOWFISH_context *c = (BLOWFISH_context *) context; + gcry_err_code_t rc = do_bf_setkey (c, key, keylen); + _gcry_burn_stack (64); + return rc; +} + + +gcry_cipher_spec_t _gcry_cipher_spec_blowfish = + { + "BLOWFISH", NULL, NULL, BLOWFISH_BLOCKSIZE, 128, + sizeof (BLOWFISH_context), + bf_setkey, encrypt_block, decrypt_block + }; + + +GRUB_MOD_INIT(gcry_blowfish) +{ + grub_cipher_register (&_gcry_cipher_spec_blowfish); +} + +GRUB_MOD_FINI(gcry_blowfish) +{ + grub_cipher_unregister (&_gcry_cipher_spec_blowfish); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c b/grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c new file mode 100644 index 0000000..c620191 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/camellia-glue.c @@ -0,0 +1,199 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* camellia-glue.c - Glue for the Camellia cipher + * Copyright (C) 2007 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + +/* I put all the libgcrypt-specific stuff in this file to keep the + camellia.c/camellia.h files exactly as provided by NTT. If they + update their code, this should make it easier to bring the changes + in. - dshaw + + There is one small change which needs to be done: Include the + following code at the top of camellia.h: */ +#if 0 + +/* To use Camellia with libraries it is often useful to keep the name + * space of the library clean. The following macro is thus useful: + * + * #define CAMELLIA_EXT_SYM_PREFIX foo_ + * + * This prefixes all external symbols with "foo_". + */ +#ifdef HAVE_CONFIG_H +#endif +#ifdef CAMELLIA_EXT_SYM_PREFIX +#define CAMELLIA_PREFIX1(x,y) x ## y +#define CAMELLIA_PREFIX2(x,y) CAMELLIA_PREFIX1(x,y) +#define CAMELLIA_PREFIX(x) CAMELLIA_PREFIX2(CAMELLIA_EXT_SYM_PREFIX,x) +#define Camellia_Ekeygen CAMELLIA_PREFIX(Camellia_Ekeygen) +#define Camellia_EncryptBlock CAMELLIA_PREFIX(Camellia_EncryptBlock) +#define Camellia_DecryptBlock CAMELLIA_PREFIX(Camellia_DecryptBlock) +#define camellia_decrypt128 CAMELLIA_PREFIX(camellia_decrypt128) +#define camellia_decrypt256 CAMELLIA_PREFIX(camellia_decrypt256) +#define camellia_encrypt128 CAMELLIA_PREFIX(camellia_encrypt128) +#define camellia_encrypt256 CAMELLIA_PREFIX(camellia_encrypt256) +#define camellia_setup128 CAMELLIA_PREFIX(camellia_setup128) +#define camellia_setup192 CAMELLIA_PREFIX(camellia_setup192) +#define camellia_setup256 CAMELLIA_PREFIX(camellia_setup256) +#endif /*CAMELLIA_EXT_SYM_PREFIX*/ + +#endif /* Code sample. */ + + +#include "types.h" +#include "g10lib.h" +#include "cipher.h" +#include "camellia.h" + +typedef struct +{ + int keybitlength; + KEY_TABLE_TYPE keytable; +} CAMELLIA_context; + + +static gcry_err_code_t +camellia_setkey(void *c, const byte *key, unsigned keylen) +{ + CAMELLIA_context *ctx=c; + static int initialized=0; + static const char *selftest_failed=NULL; + + if(keylen!=16 && keylen!=24 && keylen!=32) + return GPG_ERR_INV_KEYLEN; + + if(!initialized) + { + initialized=1; + selftest_failed=selftest(); + if(selftest_failed) + log_error("%s\n",selftest_failed); + } + + if(selftest_failed) + return GPG_ERR_SELFTEST_FAILED; + + ctx->keybitlength=keylen*8; + Camellia_Ekeygen(ctx->keybitlength,key,ctx->keytable); + _gcry_burn_stack + ((19+34+34)*sizeof(u32)+2*sizeof(void*) /* camellia_setup256 */ + +(4+32)*sizeof(u32)+2*sizeof(void*) /* camellia_setup192 */ + +0+sizeof(int)+2*sizeof(void*) /* Camellia_Ekeygen */ + +3*2*sizeof(void*) /* Function calls. */ + ); + + return 0; +} + +static void +camellia_encrypt(void *c, byte *outbuf, const byte *inbuf) +{ + CAMELLIA_context *ctx=c; + + Camellia_EncryptBlock(ctx->keybitlength,inbuf,ctx->keytable,outbuf); + _gcry_burn_stack + (sizeof(int)+2*sizeof(unsigned char *)+sizeof(KEY_TABLE_TYPE) + +4*sizeof(u32) + +2*sizeof(u32*)+4*sizeof(u32) + +2*2*sizeof(void*) /* Function calls. */ + ); +} + +static void +camellia_decrypt(void *c, byte *outbuf, const byte *inbuf) +{ + CAMELLIA_context *ctx=c; + + Camellia_DecryptBlock(ctx->keybitlength,inbuf,ctx->keytable,outbuf); + _gcry_burn_stack + (sizeof(int)+2*sizeof(unsigned char *)+sizeof(KEY_TABLE_TYPE) + +4*sizeof(u32) + +2*sizeof(u32*)+4*sizeof(u32) + +2*2*sizeof(void*) /* Function calls. */ + ); +} + + +/* These oids are from + , + retrieved May 1, 2007. */ + +static gcry_cipher_oid_spec_t camellia128_oids[] = + { + {"1.2.392.200011.61.1.1.1.2", GCRY_CIPHER_MODE_CBC}, + {"0.3.4401.5.3.1.9.1", GCRY_CIPHER_MODE_ECB}, + {"0.3.4401.5.3.1.9.3", GCRY_CIPHER_MODE_OFB}, + {"0.3.4401.5.3.1.9.4", GCRY_CIPHER_MODE_CFB}, + { NULL } + }; + +static gcry_cipher_oid_spec_t camellia192_oids[] = + { + {"1.2.392.200011.61.1.1.1.3", GCRY_CIPHER_MODE_CBC}, + {"0.3.4401.5.3.1.9.21", GCRY_CIPHER_MODE_ECB}, + {"0.3.4401.5.3.1.9.23", GCRY_CIPHER_MODE_OFB}, + {"0.3.4401.5.3.1.9.24", GCRY_CIPHER_MODE_CFB}, + { NULL } + }; + +static gcry_cipher_oid_spec_t camellia256_oids[] = + { + {"1.2.392.200011.61.1.1.1.4", GCRY_CIPHER_MODE_CBC}, + {"0.3.4401.5.3.1.9.41", GCRY_CIPHER_MODE_ECB}, + {"0.3.4401.5.3.1.9.43", GCRY_CIPHER_MODE_OFB}, + {"0.3.4401.5.3.1.9.44", GCRY_CIPHER_MODE_CFB}, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_camellia128 = + { + "CAMELLIA128",NULL,camellia128_oids,CAMELLIA_BLOCK_SIZE,128, + sizeof(CAMELLIA_context),camellia_setkey,camellia_encrypt,camellia_decrypt + }; + +gcry_cipher_spec_t _gcry_cipher_spec_camellia192 = + { + "CAMELLIA192",NULL,camellia192_oids,CAMELLIA_BLOCK_SIZE,192, + sizeof(CAMELLIA_context),camellia_setkey,camellia_encrypt,camellia_decrypt + }; + +gcry_cipher_spec_t _gcry_cipher_spec_camellia256 = + { + "CAMELLIA256",NULL,camellia256_oids,CAMELLIA_BLOCK_SIZE,256, + sizeof(CAMELLIA_context),camellia_setkey,camellia_encrypt,camellia_decrypt + }; + + +GRUB_MOD_INIT(gcry_camellia) +{ + grub_cipher_register (&_gcry_cipher_spec_camellia128); + grub_cipher_register (&_gcry_cipher_spec_camellia192); + grub_cipher_register (&_gcry_cipher_spec_camellia256); +} + +GRUB_MOD_FINI(gcry_camellia) +{ + grub_cipher_unregister (&_gcry_cipher_spec_camellia128); + grub_cipher_unregister (&_gcry_cipher_spec_camellia192); + grub_cipher_unregister (&_gcry_cipher_spec_camellia256); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/camellia.c b/grub-core/lib/libgcrypt-grub/cipher/camellia.c new file mode 100644 index 0000000..6ef6e74 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/camellia.c @@ -0,0 +1,1463 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* camellia.h ver 1.2.0 + * + * Copyright (C) 2006,2007 + * NTT (Nippon Telegraph and Telephone Corporation). + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +/* + * Algorithm Specification + * http://info.isl.ntt.co.jp/crypt/eng/camellia/specifications.html + */ + + +#include "camellia.h" + +/* u32 must be 32bit word */ +typedef unsigned int u32; +typedef unsigned char u8; + +/* key constants */ + +#define CAMELLIA_SIGMA1L (0xA09E667FL) +#define CAMELLIA_SIGMA1R (0x3BCC908BL) +#define CAMELLIA_SIGMA2L (0xB67AE858L) +#define CAMELLIA_SIGMA2R (0x4CAA73B2L) +#define CAMELLIA_SIGMA3L (0xC6EF372FL) +#define CAMELLIA_SIGMA3R (0xE94F82BEL) +#define CAMELLIA_SIGMA4L (0x54FF53A5L) +#define CAMELLIA_SIGMA4R (0xF1D36F1CL) +#define CAMELLIA_SIGMA5L (0x10E527FAL) +#define CAMELLIA_SIGMA5R (0xDE682D1DL) +#define CAMELLIA_SIGMA6L (0xB05688C2L) +#define CAMELLIA_SIGMA6R (0xB3E6C1FDL) + +/* + * macros + */ + + +#if defined(_MSC_VER) + +# define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) +# define GETU32(p) SWAP(*((u32 *)(p))) +# define PUTU32(ct, st) {*((u32 *)(ct)) = SWAP((st));} + +#else /* not MS-VC */ + +# define GETU32(pt) \ + (((u32)(pt)[0] << 24) \ + ^ ((u32)(pt)[1] << 16) \ + ^ ((u32)(pt)[2] << 8) \ + ^ ((u32)(pt)[3])) + +# define PUTU32(ct, st) { \ + (ct)[0] = (u8)((st) >> 24); \ + (ct)[1] = (u8)((st) >> 16); \ + (ct)[2] = (u8)((st) >> 8); \ + (ct)[3] = (u8)(st); } + +#endif + +#define CamelliaSubkeyL(INDEX) (subkey[(INDEX)*2]) +#define CamelliaSubkeyR(INDEX) (subkey[(INDEX)*2 + 1]) + +/* rotation right shift 1byte */ +#define CAMELLIA_RR8(x) (((x) >> 8) + ((x) << 24)) +/* rotation left shift 1bit */ +#define CAMELLIA_RL1(x) (((x) << 1) + ((x) >> 31)) +/* rotation left shift 1byte */ +#define CAMELLIA_RL8(x) (((x) << 8) + ((x) >> 24)) + +#define CAMELLIA_ROLDQ(ll, lr, rl, rr, w0, w1, bits) \ + do { \ + w0 = ll; \ + ll = (ll << bits) + (lr >> (32 - bits)); \ + lr = (lr << bits) + (rl >> (32 - bits)); \ + rl = (rl << bits) + (rr >> (32 - bits)); \ + rr = (rr << bits) + (w0 >> (32 - bits)); \ + } while(0) + +#define CAMELLIA_ROLDQo32(ll, lr, rl, rr, w0, w1, bits) \ + do { \ + w0 = ll; \ + w1 = lr; \ + ll = (lr << (bits - 32)) + (rl >> (64 - bits)); \ + lr = (rl << (bits - 32)) + (rr >> (64 - bits)); \ + rl = (rr << (bits - 32)) + (w0 >> (64 - bits)); \ + rr = (w0 << (bits - 32)) + (w1 >> (64 - bits)); \ + } while(0) + +#define CAMELLIA_SP1110(INDEX) (camellia_sp1110[(INDEX)]) +#define CAMELLIA_SP0222(INDEX) (camellia_sp0222[(INDEX)]) +#define CAMELLIA_SP3033(INDEX) (camellia_sp3033[(INDEX)]) +#define CAMELLIA_SP4404(INDEX) (camellia_sp4404[(INDEX)]) + +#define CAMELLIA_F(xl, xr, kl, kr, yl, yr, il, ir, t0, t1) \ + do { \ + il = xl ^ kl; \ + ir = xr ^ kr; \ + t0 = il >> 16; \ + t1 = ir >> 16; \ + yl = CAMELLIA_SP1110(ir & 0xff) \ + ^ CAMELLIA_SP0222((t1 >> 8) & 0xff) \ + ^ CAMELLIA_SP3033(t1 & 0xff) \ + ^ CAMELLIA_SP4404((ir >> 8) & 0xff); \ + yr = CAMELLIA_SP1110((t0 >> 8) & 0xff) \ + ^ CAMELLIA_SP0222(t0 & 0xff) \ + ^ CAMELLIA_SP3033((il >> 8) & 0xff) \ + ^ CAMELLIA_SP4404(il & 0xff); \ + yl ^= yr; \ + yr = CAMELLIA_RR8(yr); \ + yr ^= yl; \ + } while(0) + + +/* + * for speed up + * + */ +#define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) \ + do { \ + t0 = kll; \ + t0 &= ll; \ + lr ^= CAMELLIA_RL1(t0); \ + t1 = klr; \ + t1 |= lr; \ + ll ^= t1; \ + \ + t2 = krr; \ + t2 |= rr; \ + rl ^= t2; \ + t3 = krl; \ + t3 &= rl; \ + rr ^= CAMELLIA_RL1(t3); \ + } while(0) + +#define CAMELLIA_ROUNDSM(xl, xr, kl, kr, yl, yr, il, ir, t0, t1) \ + do { \ + ir = CAMELLIA_SP1110(xr & 0xff) \ + ^ CAMELLIA_SP0222((xr >> 24) & 0xff) \ + ^ CAMELLIA_SP3033((xr >> 16) & 0xff) \ + ^ CAMELLIA_SP4404((xr >> 8) & 0xff); \ + il = CAMELLIA_SP1110((xl >> 24) & 0xff) \ + ^ CAMELLIA_SP0222((xl >> 16) & 0xff) \ + ^ CAMELLIA_SP3033((xl >> 8) & 0xff) \ + ^ CAMELLIA_SP4404(xl & 0xff); \ + il ^= kl; \ + ir ^= kr; \ + ir ^= il; \ + il = CAMELLIA_RR8(il); \ + il ^= ir; \ + yl ^= ir; \ + yr ^= il; \ + } while(0) + + +static const u32 camellia_sp1110[256] = { + 0x70707000,0x82828200,0x2c2c2c00,0xececec00, + 0xb3b3b300,0x27272700,0xc0c0c000,0xe5e5e500, + 0xe4e4e400,0x85858500,0x57575700,0x35353500, + 0xeaeaea00,0x0c0c0c00,0xaeaeae00,0x41414100, + 0x23232300,0xefefef00,0x6b6b6b00,0x93939300, + 0x45454500,0x19191900,0xa5a5a500,0x21212100, + 0xededed00,0x0e0e0e00,0x4f4f4f00,0x4e4e4e00, + 0x1d1d1d00,0x65656500,0x92929200,0xbdbdbd00, + 0x86868600,0xb8b8b800,0xafafaf00,0x8f8f8f00, + 0x7c7c7c00,0xebebeb00,0x1f1f1f00,0xcecece00, + 0x3e3e3e00,0x30303000,0xdcdcdc00,0x5f5f5f00, + 0x5e5e5e00,0xc5c5c500,0x0b0b0b00,0x1a1a1a00, + 0xa6a6a600,0xe1e1e100,0x39393900,0xcacaca00, + 0xd5d5d500,0x47474700,0x5d5d5d00,0x3d3d3d00, + 0xd9d9d900,0x01010100,0x5a5a5a00,0xd6d6d600, + 0x51515100,0x56565600,0x6c6c6c00,0x4d4d4d00, + 0x8b8b8b00,0x0d0d0d00,0x9a9a9a00,0x66666600, + 0xfbfbfb00,0xcccccc00,0xb0b0b000,0x2d2d2d00, + 0x74747400,0x12121200,0x2b2b2b00,0x20202000, + 0xf0f0f000,0xb1b1b100,0x84848400,0x99999900, + 0xdfdfdf00,0x4c4c4c00,0xcbcbcb00,0xc2c2c200, + 0x34343400,0x7e7e7e00,0x76767600,0x05050500, + 0x6d6d6d00,0xb7b7b700,0xa9a9a900,0x31313100, + 0xd1d1d100,0x17171700,0x04040400,0xd7d7d700, + 0x14141400,0x58585800,0x3a3a3a00,0x61616100, + 0xdedede00,0x1b1b1b00,0x11111100,0x1c1c1c00, + 0x32323200,0x0f0f0f00,0x9c9c9c00,0x16161600, + 0x53535300,0x18181800,0xf2f2f200,0x22222200, + 0xfefefe00,0x44444400,0xcfcfcf00,0xb2b2b200, + 0xc3c3c300,0xb5b5b500,0x7a7a7a00,0x91919100, + 0x24242400,0x08080800,0xe8e8e800,0xa8a8a800, + 0x60606000,0xfcfcfc00,0x69696900,0x50505000, + 0xaaaaaa00,0xd0d0d000,0xa0a0a000,0x7d7d7d00, + 0xa1a1a100,0x89898900,0x62626200,0x97979700, + 0x54545400,0x5b5b5b00,0x1e1e1e00,0x95959500, + 0xe0e0e000,0xffffff00,0x64646400,0xd2d2d200, + 0x10101000,0xc4c4c400,0x00000000,0x48484800, + 0xa3a3a300,0xf7f7f700,0x75757500,0xdbdbdb00, + 0x8a8a8a00,0x03030300,0xe6e6e600,0xdadada00, + 0x09090900,0x3f3f3f00,0xdddddd00,0x94949400, + 0x87878700,0x5c5c5c00,0x83838300,0x02020200, + 0xcdcdcd00,0x4a4a4a00,0x90909000,0x33333300, + 0x73737300,0x67676700,0xf6f6f600,0xf3f3f300, + 0x9d9d9d00,0x7f7f7f00,0xbfbfbf00,0xe2e2e200, + 0x52525200,0x9b9b9b00,0xd8d8d800,0x26262600, + 0xc8c8c800,0x37373700,0xc6c6c600,0x3b3b3b00, + 0x81818100,0x96969600,0x6f6f6f00,0x4b4b4b00, + 0x13131300,0xbebebe00,0x63636300,0x2e2e2e00, + 0xe9e9e900,0x79797900,0xa7a7a700,0x8c8c8c00, + 0x9f9f9f00,0x6e6e6e00,0xbcbcbc00,0x8e8e8e00, + 0x29292900,0xf5f5f500,0xf9f9f900,0xb6b6b600, + 0x2f2f2f00,0xfdfdfd00,0xb4b4b400,0x59595900, + 0x78787800,0x98989800,0x06060600,0x6a6a6a00, + 0xe7e7e700,0x46464600,0x71717100,0xbababa00, + 0xd4d4d400,0x25252500,0xababab00,0x42424200, + 0x88888800,0xa2a2a200,0x8d8d8d00,0xfafafa00, + 0x72727200,0x07070700,0xb9b9b900,0x55555500, + 0xf8f8f800,0xeeeeee00,0xacacac00,0x0a0a0a00, + 0x36363600,0x49494900,0x2a2a2a00,0x68686800, + 0x3c3c3c00,0x38383800,0xf1f1f100,0xa4a4a400, + 0x40404000,0x28282800,0xd3d3d300,0x7b7b7b00, + 0xbbbbbb00,0xc9c9c900,0x43434300,0xc1c1c100, + 0x15151500,0xe3e3e300,0xadadad00,0xf4f4f400, + 0x77777700,0xc7c7c700,0x80808000,0x9e9e9e00, +}; + +static const u32 camellia_sp0222[256] = { + 0x00e0e0e0,0x00050505,0x00585858,0x00d9d9d9, + 0x00676767,0x004e4e4e,0x00818181,0x00cbcbcb, + 0x00c9c9c9,0x000b0b0b,0x00aeaeae,0x006a6a6a, + 0x00d5d5d5,0x00181818,0x005d5d5d,0x00828282, + 0x00464646,0x00dfdfdf,0x00d6d6d6,0x00272727, + 0x008a8a8a,0x00323232,0x004b4b4b,0x00424242, + 0x00dbdbdb,0x001c1c1c,0x009e9e9e,0x009c9c9c, + 0x003a3a3a,0x00cacaca,0x00252525,0x007b7b7b, + 0x000d0d0d,0x00717171,0x005f5f5f,0x001f1f1f, + 0x00f8f8f8,0x00d7d7d7,0x003e3e3e,0x009d9d9d, + 0x007c7c7c,0x00606060,0x00b9b9b9,0x00bebebe, + 0x00bcbcbc,0x008b8b8b,0x00161616,0x00343434, + 0x004d4d4d,0x00c3c3c3,0x00727272,0x00959595, + 0x00ababab,0x008e8e8e,0x00bababa,0x007a7a7a, + 0x00b3b3b3,0x00020202,0x00b4b4b4,0x00adadad, + 0x00a2a2a2,0x00acacac,0x00d8d8d8,0x009a9a9a, + 0x00171717,0x001a1a1a,0x00353535,0x00cccccc, + 0x00f7f7f7,0x00999999,0x00616161,0x005a5a5a, + 0x00e8e8e8,0x00242424,0x00565656,0x00404040, + 0x00e1e1e1,0x00636363,0x00090909,0x00333333, + 0x00bfbfbf,0x00989898,0x00979797,0x00858585, + 0x00686868,0x00fcfcfc,0x00ececec,0x000a0a0a, + 0x00dadada,0x006f6f6f,0x00535353,0x00626262, + 0x00a3a3a3,0x002e2e2e,0x00080808,0x00afafaf, + 0x00282828,0x00b0b0b0,0x00747474,0x00c2c2c2, + 0x00bdbdbd,0x00363636,0x00222222,0x00383838, + 0x00646464,0x001e1e1e,0x00393939,0x002c2c2c, + 0x00a6a6a6,0x00303030,0x00e5e5e5,0x00444444, + 0x00fdfdfd,0x00888888,0x009f9f9f,0x00656565, + 0x00878787,0x006b6b6b,0x00f4f4f4,0x00232323, + 0x00484848,0x00101010,0x00d1d1d1,0x00515151, + 0x00c0c0c0,0x00f9f9f9,0x00d2d2d2,0x00a0a0a0, + 0x00555555,0x00a1a1a1,0x00414141,0x00fafafa, + 0x00434343,0x00131313,0x00c4c4c4,0x002f2f2f, + 0x00a8a8a8,0x00b6b6b6,0x003c3c3c,0x002b2b2b, + 0x00c1c1c1,0x00ffffff,0x00c8c8c8,0x00a5a5a5, + 0x00202020,0x00898989,0x00000000,0x00909090, + 0x00474747,0x00efefef,0x00eaeaea,0x00b7b7b7, + 0x00151515,0x00060606,0x00cdcdcd,0x00b5b5b5, + 0x00121212,0x007e7e7e,0x00bbbbbb,0x00292929, + 0x000f0f0f,0x00b8b8b8,0x00070707,0x00040404, + 0x009b9b9b,0x00949494,0x00212121,0x00666666, + 0x00e6e6e6,0x00cecece,0x00ededed,0x00e7e7e7, + 0x003b3b3b,0x00fefefe,0x007f7f7f,0x00c5c5c5, + 0x00a4a4a4,0x00373737,0x00b1b1b1,0x004c4c4c, + 0x00919191,0x006e6e6e,0x008d8d8d,0x00767676, + 0x00030303,0x002d2d2d,0x00dedede,0x00969696, + 0x00262626,0x007d7d7d,0x00c6c6c6,0x005c5c5c, + 0x00d3d3d3,0x00f2f2f2,0x004f4f4f,0x00191919, + 0x003f3f3f,0x00dcdcdc,0x00797979,0x001d1d1d, + 0x00525252,0x00ebebeb,0x00f3f3f3,0x006d6d6d, + 0x005e5e5e,0x00fbfbfb,0x00696969,0x00b2b2b2, + 0x00f0f0f0,0x00313131,0x000c0c0c,0x00d4d4d4, + 0x00cfcfcf,0x008c8c8c,0x00e2e2e2,0x00757575, + 0x00a9a9a9,0x004a4a4a,0x00575757,0x00848484, + 0x00111111,0x00454545,0x001b1b1b,0x00f5f5f5, + 0x00e4e4e4,0x000e0e0e,0x00737373,0x00aaaaaa, + 0x00f1f1f1,0x00dddddd,0x00595959,0x00141414, + 0x006c6c6c,0x00929292,0x00545454,0x00d0d0d0, + 0x00787878,0x00707070,0x00e3e3e3,0x00494949, + 0x00808080,0x00505050,0x00a7a7a7,0x00f6f6f6, + 0x00777777,0x00939393,0x00868686,0x00838383, + 0x002a2a2a,0x00c7c7c7,0x005b5b5b,0x00e9e9e9, + 0x00eeeeee,0x008f8f8f,0x00010101,0x003d3d3d, +}; + +static const u32 camellia_sp3033[256] = { + 0x38003838,0x41004141,0x16001616,0x76007676, + 0xd900d9d9,0x93009393,0x60006060,0xf200f2f2, + 0x72007272,0xc200c2c2,0xab00abab,0x9a009a9a, + 0x75007575,0x06000606,0x57005757,0xa000a0a0, + 0x91009191,0xf700f7f7,0xb500b5b5,0xc900c9c9, + 0xa200a2a2,0x8c008c8c,0xd200d2d2,0x90009090, + 0xf600f6f6,0x07000707,0xa700a7a7,0x27002727, + 0x8e008e8e,0xb200b2b2,0x49004949,0xde00dede, + 0x43004343,0x5c005c5c,0xd700d7d7,0xc700c7c7, + 0x3e003e3e,0xf500f5f5,0x8f008f8f,0x67006767, + 0x1f001f1f,0x18001818,0x6e006e6e,0xaf00afaf, + 0x2f002f2f,0xe200e2e2,0x85008585,0x0d000d0d, + 0x53005353,0xf000f0f0,0x9c009c9c,0x65006565, + 0xea00eaea,0xa300a3a3,0xae00aeae,0x9e009e9e, + 0xec00ecec,0x80008080,0x2d002d2d,0x6b006b6b, + 0xa800a8a8,0x2b002b2b,0x36003636,0xa600a6a6, + 0xc500c5c5,0x86008686,0x4d004d4d,0x33003333, + 0xfd00fdfd,0x66006666,0x58005858,0x96009696, + 0x3a003a3a,0x09000909,0x95009595,0x10001010, + 0x78007878,0xd800d8d8,0x42004242,0xcc00cccc, + 0xef00efef,0x26002626,0xe500e5e5,0x61006161, + 0x1a001a1a,0x3f003f3f,0x3b003b3b,0x82008282, + 0xb600b6b6,0xdb00dbdb,0xd400d4d4,0x98009898, + 0xe800e8e8,0x8b008b8b,0x02000202,0xeb00ebeb, + 0x0a000a0a,0x2c002c2c,0x1d001d1d,0xb000b0b0, + 0x6f006f6f,0x8d008d8d,0x88008888,0x0e000e0e, + 0x19001919,0x87008787,0x4e004e4e,0x0b000b0b, + 0xa900a9a9,0x0c000c0c,0x79007979,0x11001111, + 0x7f007f7f,0x22002222,0xe700e7e7,0x59005959, + 0xe100e1e1,0xda00dada,0x3d003d3d,0xc800c8c8, + 0x12001212,0x04000404,0x74007474,0x54005454, + 0x30003030,0x7e007e7e,0xb400b4b4,0x28002828, + 0x55005555,0x68006868,0x50005050,0xbe00bebe, + 0xd000d0d0,0xc400c4c4,0x31003131,0xcb00cbcb, + 0x2a002a2a,0xad00adad,0x0f000f0f,0xca00caca, + 0x70007070,0xff00ffff,0x32003232,0x69006969, + 0x08000808,0x62006262,0x00000000,0x24002424, + 0xd100d1d1,0xfb00fbfb,0xba00baba,0xed00eded, + 0x45004545,0x81008181,0x73007373,0x6d006d6d, + 0x84008484,0x9f009f9f,0xee00eeee,0x4a004a4a, + 0xc300c3c3,0x2e002e2e,0xc100c1c1,0x01000101, + 0xe600e6e6,0x25002525,0x48004848,0x99009999, + 0xb900b9b9,0xb300b3b3,0x7b007b7b,0xf900f9f9, + 0xce00cece,0xbf00bfbf,0xdf00dfdf,0x71007171, + 0x29002929,0xcd00cdcd,0x6c006c6c,0x13001313, + 0x64006464,0x9b009b9b,0x63006363,0x9d009d9d, + 0xc000c0c0,0x4b004b4b,0xb700b7b7,0xa500a5a5, + 0x89008989,0x5f005f5f,0xb100b1b1,0x17001717, + 0xf400f4f4,0xbc00bcbc,0xd300d3d3,0x46004646, + 0xcf00cfcf,0x37003737,0x5e005e5e,0x47004747, + 0x94009494,0xfa00fafa,0xfc00fcfc,0x5b005b5b, + 0x97009797,0xfe00fefe,0x5a005a5a,0xac00acac, + 0x3c003c3c,0x4c004c4c,0x03000303,0x35003535, + 0xf300f3f3,0x23002323,0xb800b8b8,0x5d005d5d, + 0x6a006a6a,0x92009292,0xd500d5d5,0x21002121, + 0x44004444,0x51005151,0xc600c6c6,0x7d007d7d, + 0x39003939,0x83008383,0xdc00dcdc,0xaa00aaaa, + 0x7c007c7c,0x77007777,0x56005656,0x05000505, + 0x1b001b1b,0xa400a4a4,0x15001515,0x34003434, + 0x1e001e1e,0x1c001c1c,0xf800f8f8,0x52005252, + 0x20002020,0x14001414,0xe900e9e9,0xbd00bdbd, + 0xdd00dddd,0xe400e4e4,0xa100a1a1,0xe000e0e0, + 0x8a008a8a,0xf100f1f1,0xd600d6d6,0x7a007a7a, + 0xbb00bbbb,0xe300e3e3,0x40004040,0x4f004f4f, +}; + +static const u32 camellia_sp4404[256] = { + 0x70700070,0x2c2c002c,0xb3b300b3,0xc0c000c0, + 0xe4e400e4,0x57570057,0xeaea00ea,0xaeae00ae, + 0x23230023,0x6b6b006b,0x45450045,0xa5a500a5, + 0xeded00ed,0x4f4f004f,0x1d1d001d,0x92920092, + 0x86860086,0xafaf00af,0x7c7c007c,0x1f1f001f, + 0x3e3e003e,0xdcdc00dc,0x5e5e005e,0x0b0b000b, + 0xa6a600a6,0x39390039,0xd5d500d5,0x5d5d005d, + 0xd9d900d9,0x5a5a005a,0x51510051,0x6c6c006c, + 0x8b8b008b,0x9a9a009a,0xfbfb00fb,0xb0b000b0, + 0x74740074,0x2b2b002b,0xf0f000f0,0x84840084, + 0xdfdf00df,0xcbcb00cb,0x34340034,0x76760076, + 0x6d6d006d,0xa9a900a9,0xd1d100d1,0x04040004, + 0x14140014,0x3a3a003a,0xdede00de,0x11110011, + 0x32320032,0x9c9c009c,0x53530053,0xf2f200f2, + 0xfefe00fe,0xcfcf00cf,0xc3c300c3,0x7a7a007a, + 0x24240024,0xe8e800e8,0x60600060,0x69690069, + 0xaaaa00aa,0xa0a000a0,0xa1a100a1,0x62620062, + 0x54540054,0x1e1e001e,0xe0e000e0,0x64640064, + 0x10100010,0x00000000,0xa3a300a3,0x75750075, + 0x8a8a008a,0xe6e600e6,0x09090009,0xdddd00dd, + 0x87870087,0x83830083,0xcdcd00cd,0x90900090, + 0x73730073,0xf6f600f6,0x9d9d009d,0xbfbf00bf, + 0x52520052,0xd8d800d8,0xc8c800c8,0xc6c600c6, + 0x81810081,0x6f6f006f,0x13130013,0x63630063, + 0xe9e900e9,0xa7a700a7,0x9f9f009f,0xbcbc00bc, + 0x29290029,0xf9f900f9,0x2f2f002f,0xb4b400b4, + 0x78780078,0x06060006,0xe7e700e7,0x71710071, + 0xd4d400d4,0xabab00ab,0x88880088,0x8d8d008d, + 0x72720072,0xb9b900b9,0xf8f800f8,0xacac00ac, + 0x36360036,0x2a2a002a,0x3c3c003c,0xf1f100f1, + 0x40400040,0xd3d300d3,0xbbbb00bb,0x43430043, + 0x15150015,0xadad00ad,0x77770077,0x80800080, + 0x82820082,0xecec00ec,0x27270027,0xe5e500e5, + 0x85850085,0x35350035,0x0c0c000c,0x41410041, + 0xefef00ef,0x93930093,0x19190019,0x21210021, + 0x0e0e000e,0x4e4e004e,0x65650065,0xbdbd00bd, + 0xb8b800b8,0x8f8f008f,0xebeb00eb,0xcece00ce, + 0x30300030,0x5f5f005f,0xc5c500c5,0x1a1a001a, + 0xe1e100e1,0xcaca00ca,0x47470047,0x3d3d003d, + 0x01010001,0xd6d600d6,0x56560056,0x4d4d004d, + 0x0d0d000d,0x66660066,0xcccc00cc,0x2d2d002d, + 0x12120012,0x20200020,0xb1b100b1,0x99990099, + 0x4c4c004c,0xc2c200c2,0x7e7e007e,0x05050005, + 0xb7b700b7,0x31310031,0x17170017,0xd7d700d7, + 0x58580058,0x61610061,0x1b1b001b,0x1c1c001c, + 0x0f0f000f,0x16160016,0x18180018,0x22220022, + 0x44440044,0xb2b200b2,0xb5b500b5,0x91910091, + 0x08080008,0xa8a800a8,0xfcfc00fc,0x50500050, + 0xd0d000d0,0x7d7d007d,0x89890089,0x97970097, + 0x5b5b005b,0x95950095,0xffff00ff,0xd2d200d2, + 0xc4c400c4,0x48480048,0xf7f700f7,0xdbdb00db, + 0x03030003,0xdada00da,0x3f3f003f,0x94940094, + 0x5c5c005c,0x02020002,0x4a4a004a,0x33330033, + 0x67670067,0xf3f300f3,0x7f7f007f,0xe2e200e2, + 0x9b9b009b,0x26260026,0x37370037,0x3b3b003b, + 0x96960096,0x4b4b004b,0xbebe00be,0x2e2e002e, + 0x79790079,0x8c8c008c,0x6e6e006e,0x8e8e008e, + 0xf5f500f5,0xb6b600b6,0xfdfd00fd,0x59590059, + 0x98980098,0x6a6a006a,0x46460046,0xbaba00ba, + 0x25250025,0x42420042,0xa2a200a2,0xfafa00fa, + 0x07070007,0x55550055,0xeeee00ee,0x0a0a000a, + 0x49490049,0x68680068,0x38380038,0xa4a400a4, + 0x28280028,0x7b7b007b,0xc9c900c9,0xc1c100c1, + 0xe3e300e3,0xf4f400f4,0xc7c700c7,0x9e9e009e, +}; + + +/** + * Stuff related to the Camellia key schedule + */ +#define subl(x) subL[(x)] +#define subr(x) subR[(x)] + +void camellia_setup128(const unsigned char *key, u32 *subkey) +{ + u32 kll, klr, krl, krr; + u32 il, ir, t0, t1, w0, w1; + u32 kw4l, kw4r, dw, tl, tr; + u32 subL[26]; + u32 subR[26]; + + /** + * k == kll || klr || krl || krr (|| is concatination) + */ + kll = GETU32(key ); + klr = GETU32(key + 4); + krl = GETU32(key + 8); + krr = GETU32(key + 12); + /** + * generate KL dependent subkeys + */ + subl(0) = kll; subr(0) = klr; + subl(1) = krl; subr(1) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(4) = kll; subr(4) = klr; + subl(5) = krl; subr(5) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30); + subl(10) = kll; subr(10) = klr; + subl(11) = krl; subr(11) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(13) = krl; subr(13) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17); + subl(16) = kll; subr(16) = klr; + subl(17) = krl; subr(17) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17); + subl(18) = kll; subr(18) = klr; + subl(19) = krl; subr(19) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17); + subl(22) = kll; subr(22) = klr; + subl(23) = krl; subr(23) = krr; + + /* generate KA */ + kll = subl(0); klr = subr(0); + krl = subl(1); krr = subr(1); + CAMELLIA_F(kll, klr, + CAMELLIA_SIGMA1L, CAMELLIA_SIGMA1R, + w0, w1, il, ir, t0, t1); + krl ^= w0; krr ^= w1; + CAMELLIA_F(krl, krr, + CAMELLIA_SIGMA2L, CAMELLIA_SIGMA2R, + kll, klr, il, ir, t0, t1); + CAMELLIA_F(kll, klr, + CAMELLIA_SIGMA3L, CAMELLIA_SIGMA3R, + krl, krr, il, ir, t0, t1); + krl ^= w0; krr ^= w1; + CAMELLIA_F(krl, krr, + CAMELLIA_SIGMA4L, CAMELLIA_SIGMA4R, + w0, w1, il, ir, t0, t1); + kll ^= w0; klr ^= w1; + + /* generate KA dependent subkeys */ + subl(2) = kll; subr(2) = klr; + subl(3) = krl; subr(3) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(6) = kll; subr(6) = klr; + subl(7) = krl; subr(7) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(8) = kll; subr(8) = klr; + subl(9) = krl; subr(9) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(12) = kll; subr(12) = klr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(14) = kll; subr(14) = klr; + subl(15) = krl; subr(15) = krr; + CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 34); + subl(20) = kll; subr(20) = klr; + subl(21) = krl; subr(21) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17); + subl(24) = kll; subr(24) = klr; + subl(25) = krl; subr(25) = krr; + + + /* absorb kw2 to other subkeys */ + subl(3) ^= subl(1); subr(3) ^= subr(1); + subl(5) ^= subl(1); subr(5) ^= subr(1); + subl(7) ^= subl(1); subr(7) ^= subr(1); + subl(1) ^= subr(1) & ~subr(9); + dw = subl(1) & subl(9), subr(1) ^= CAMELLIA_RL1(dw); + subl(11) ^= subl(1); subr(11) ^= subr(1); + subl(13) ^= subl(1); subr(13) ^= subr(1); + subl(15) ^= subl(1); subr(15) ^= subr(1); + subl(1) ^= subr(1) & ~subr(17); + dw = subl(1) & subl(17), subr(1) ^= CAMELLIA_RL1(dw); + subl(19) ^= subl(1); subr(19) ^= subr(1); + subl(21) ^= subl(1); subr(21) ^= subr(1); + subl(23) ^= subl(1); subr(23) ^= subr(1); + subl(24) ^= subl(1); subr(24) ^= subr(1); + + /* absorb kw4 to other subkeys */ + kw4l = subl(25); kw4r = subr(25); + subl(22) ^= kw4l; subr(22) ^= kw4r; + subl(20) ^= kw4l; subr(20) ^= kw4r; + subl(18) ^= kw4l; subr(18) ^= kw4r; + kw4l ^= kw4r & ~subr(16); + dw = kw4l & subl(16), kw4r ^= CAMELLIA_RL1(dw); + subl(14) ^= kw4l; subr(14) ^= kw4r; + subl(12) ^= kw4l; subr(12) ^= kw4r; + subl(10) ^= kw4l; subr(10) ^= kw4r; + kw4l ^= kw4r & ~subr(8); + dw = kw4l & subl(8), kw4r ^= CAMELLIA_RL1(dw); + subl(6) ^= kw4l; subr(6) ^= kw4r; + subl(4) ^= kw4l; subr(4) ^= kw4r; + subl(2) ^= kw4l; subr(2) ^= kw4r; + subl(0) ^= kw4l; subr(0) ^= kw4r; + + /* key XOR is end of F-function */ + CamelliaSubkeyL(0) = subl(0) ^ subl(2); + CamelliaSubkeyR(0) = subr(0) ^ subr(2); + CamelliaSubkeyL(2) = subl(3); + CamelliaSubkeyR(2) = subr(3); + CamelliaSubkeyL(3) = subl(2) ^ subl(4); + CamelliaSubkeyR(3) = subr(2) ^ subr(4); + CamelliaSubkeyL(4) = subl(3) ^ subl(5); + CamelliaSubkeyR(4) = subr(3) ^ subr(5); + CamelliaSubkeyL(5) = subl(4) ^ subl(6); + CamelliaSubkeyR(5) = subr(4) ^ subr(6); + CamelliaSubkeyL(6) = subl(5) ^ subl(7); + CamelliaSubkeyR(6) = subr(5) ^ subr(7); + tl = subl(10) ^ (subr(10) & ~subr(8)); + dw = tl & subl(8), tr = subr(10) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(7) = subl(6) ^ tl; + CamelliaSubkeyR(7) = subr(6) ^ tr; + CamelliaSubkeyL(8) = subl(8); + CamelliaSubkeyR(8) = subr(8); + CamelliaSubkeyL(9) = subl(9); + CamelliaSubkeyR(9) = subr(9); + tl = subl(7) ^ (subr(7) & ~subr(9)); + dw = tl & subl(9), tr = subr(7) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(10) = tl ^ subl(11); + CamelliaSubkeyR(10) = tr ^ subr(11); + CamelliaSubkeyL(11) = subl(10) ^ subl(12); + CamelliaSubkeyR(11) = subr(10) ^ subr(12); + CamelliaSubkeyL(12) = subl(11) ^ subl(13); + CamelliaSubkeyR(12) = subr(11) ^ subr(13); + CamelliaSubkeyL(13) = subl(12) ^ subl(14); + CamelliaSubkeyR(13) = subr(12) ^ subr(14); + CamelliaSubkeyL(14) = subl(13) ^ subl(15); + CamelliaSubkeyR(14) = subr(13) ^ subr(15); + tl = subl(18) ^ (subr(18) & ~subr(16)); + dw = tl & subl(16), tr = subr(18) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(15) = subl(14) ^ tl; + CamelliaSubkeyR(15) = subr(14) ^ tr; + CamelliaSubkeyL(16) = subl(16); + CamelliaSubkeyR(16) = subr(16); + CamelliaSubkeyL(17) = subl(17); + CamelliaSubkeyR(17) = subr(17); + tl = subl(15) ^ (subr(15) & ~subr(17)); + dw = tl & subl(17), tr = subr(15) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(18) = tl ^ subl(19); + CamelliaSubkeyR(18) = tr ^ subr(19); + CamelliaSubkeyL(19) = subl(18) ^ subl(20); + CamelliaSubkeyR(19) = subr(18) ^ subr(20); + CamelliaSubkeyL(20) = subl(19) ^ subl(21); + CamelliaSubkeyR(20) = subr(19) ^ subr(21); + CamelliaSubkeyL(21) = subl(20) ^ subl(22); + CamelliaSubkeyR(21) = subr(20) ^ subr(22); + CamelliaSubkeyL(22) = subl(21) ^ subl(23); + CamelliaSubkeyR(22) = subr(21) ^ subr(23); + CamelliaSubkeyL(23) = subl(22); + CamelliaSubkeyR(23) = subr(22); + CamelliaSubkeyL(24) = subl(24) ^ subl(23); + CamelliaSubkeyR(24) = subr(24) ^ subr(23); + + /* apply the inverse of the last half of P-function */ + dw = CamelliaSubkeyL(2) ^ CamelliaSubkeyR(2), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(2) = CamelliaSubkeyL(2) ^ dw, CamelliaSubkeyL(2) = dw; + dw = CamelliaSubkeyL(3) ^ CamelliaSubkeyR(3), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(3) = CamelliaSubkeyL(3) ^ dw, CamelliaSubkeyL(3) = dw; + dw = CamelliaSubkeyL(4) ^ CamelliaSubkeyR(4), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(4) = CamelliaSubkeyL(4) ^ dw, CamelliaSubkeyL(4) = dw; + dw = CamelliaSubkeyL(5) ^ CamelliaSubkeyR(5), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(5) = CamelliaSubkeyL(5) ^ dw, CamelliaSubkeyL(5) = dw; + dw = CamelliaSubkeyL(6) ^ CamelliaSubkeyR(6), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(6) = CamelliaSubkeyL(6) ^ dw, CamelliaSubkeyL(6) = dw; + dw = CamelliaSubkeyL(7) ^ CamelliaSubkeyR(7), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(7) = CamelliaSubkeyL(7) ^ dw, CamelliaSubkeyL(7) = dw; + dw = CamelliaSubkeyL(10) ^ CamelliaSubkeyR(10), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(10) = CamelliaSubkeyL(10) ^ dw, CamelliaSubkeyL(10) = dw; + dw = CamelliaSubkeyL(11) ^ CamelliaSubkeyR(11), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(11) = CamelliaSubkeyL(11) ^ dw, CamelliaSubkeyL(11) = dw; + dw = CamelliaSubkeyL(12) ^ CamelliaSubkeyR(12), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(12) = CamelliaSubkeyL(12) ^ dw, CamelliaSubkeyL(12) = dw; + dw = CamelliaSubkeyL(13) ^ CamelliaSubkeyR(13), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(13) = CamelliaSubkeyL(13) ^ dw, CamelliaSubkeyL(13) = dw; + dw = CamelliaSubkeyL(14) ^ CamelliaSubkeyR(14), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(14) = CamelliaSubkeyL(14) ^ dw, CamelliaSubkeyL(14) = dw; + dw = CamelliaSubkeyL(15) ^ CamelliaSubkeyR(15), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(15) = CamelliaSubkeyL(15) ^ dw, CamelliaSubkeyL(15) = dw; + dw = CamelliaSubkeyL(18) ^ CamelliaSubkeyR(18), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(18) = CamelliaSubkeyL(18) ^ dw, CamelliaSubkeyL(18) = dw; + dw = CamelliaSubkeyL(19) ^ CamelliaSubkeyR(19), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(19) = CamelliaSubkeyL(19) ^ dw, CamelliaSubkeyL(19) = dw; + dw = CamelliaSubkeyL(20) ^ CamelliaSubkeyR(20), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(20) = CamelliaSubkeyL(20) ^ dw, CamelliaSubkeyL(20) = dw; + dw = CamelliaSubkeyL(21) ^ CamelliaSubkeyR(21), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(21) = CamelliaSubkeyL(21) ^ dw, CamelliaSubkeyL(21) = dw; + dw = CamelliaSubkeyL(22) ^ CamelliaSubkeyR(22), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(22) = CamelliaSubkeyL(22) ^ dw, CamelliaSubkeyL(22) = dw; + dw = CamelliaSubkeyL(23) ^ CamelliaSubkeyR(23), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(23) = CamelliaSubkeyL(23) ^ dw, CamelliaSubkeyL(23) = dw; + + return; +} + +void camellia_setup256(const unsigned char *key, u32 *subkey) +{ + u32 kll,klr,krl,krr; /* left half of key */ + u32 krll,krlr,krrl,krrr; /* right half of key */ + u32 il, ir, t0, t1, w0, w1; /* temporary variables */ + u32 kw4l, kw4r, dw, tl, tr; + u32 subL[34]; + u32 subR[34]; + + /** + * key = (kll || klr || krl || krr || krll || krlr || krrl || krrr) + * (|| is concatination) + */ + + kll = GETU32(key ); + klr = GETU32(key + 4); + krl = GETU32(key + 8); + krr = GETU32(key + 12); + krll = GETU32(key + 16); + krlr = GETU32(key + 20); + krrl = GETU32(key + 24); + krrr = GETU32(key + 28); + + /* generate KL dependent subkeys */ + subl(0) = kll; subr(0) = klr; + subl(1) = krl; subr(1) = krr; + CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 45); + subl(12) = kll; subr(12) = klr; + subl(13) = krl; subr(13) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(16) = kll; subr(16) = klr; + subl(17) = krl; subr(17) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17); + subl(22) = kll; subr(22) = klr; + subl(23) = krl; subr(23) = krr; + CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 34); + subl(30) = kll; subr(30) = klr; + subl(31) = krl; subr(31) = krr; + + /* generate KR dependent subkeys */ + CAMELLIA_ROLDQ(krll, krlr, krrl, krrr, w0, w1, 15); + subl(4) = krll; subr(4) = krlr; + subl(5) = krrl; subr(5) = krrr; + CAMELLIA_ROLDQ(krll, krlr, krrl, krrr, w0, w1, 15); + subl(8) = krll; subr(8) = krlr; + subl(9) = krrl; subr(9) = krrr; + CAMELLIA_ROLDQ(krll, krlr, krrl, krrr, w0, w1, 30); + subl(18) = krll; subr(18) = krlr; + subl(19) = krrl; subr(19) = krrr; + CAMELLIA_ROLDQo32(krll, krlr, krrl, krrr, w0, w1, 34); + subl(26) = krll; subr(26) = krlr; + subl(27) = krrl; subr(27) = krrr; + CAMELLIA_ROLDQo32(krll, krlr, krrl, krrr, w0, w1, 34); + + /* generate KA */ + kll = subl(0) ^ krll; klr = subr(0) ^ krlr; + krl = subl(1) ^ krrl; krr = subr(1) ^ krrr; + CAMELLIA_F(kll, klr, + CAMELLIA_SIGMA1L, CAMELLIA_SIGMA1R, + w0, w1, il, ir, t0, t1); + krl ^= w0; krr ^= w1; + CAMELLIA_F(krl, krr, + CAMELLIA_SIGMA2L, CAMELLIA_SIGMA2R, + kll, klr, il, ir, t0, t1); + kll ^= krll; klr ^= krlr; + CAMELLIA_F(kll, klr, + CAMELLIA_SIGMA3L, CAMELLIA_SIGMA3R, + krl, krr, il, ir, t0, t1); + krl ^= w0 ^ krrl; krr ^= w1 ^ krrr; + CAMELLIA_F(krl, krr, + CAMELLIA_SIGMA4L, CAMELLIA_SIGMA4R, + w0, w1, il, ir, t0, t1); + kll ^= w0; klr ^= w1; + + /* generate KB */ + krll ^= kll; krlr ^= klr; + krrl ^= krl; krrr ^= krr; + CAMELLIA_F(krll, krlr, + CAMELLIA_SIGMA5L, CAMELLIA_SIGMA5R, + w0, w1, il, ir, t0, t1); + krrl ^= w0; krrr ^= w1; + CAMELLIA_F(krrl, krrr, + CAMELLIA_SIGMA6L, CAMELLIA_SIGMA6R, + w0, w1, il, ir, t0, t1); + krll ^= w0; krlr ^= w1; + + /* generate KA dependent subkeys */ + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15); + subl(6) = kll; subr(6) = klr; + subl(7) = krl; subr(7) = krr; + CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30); + subl(14) = kll; subr(14) = klr; + subl(15) = krl; subr(15) = krr; + subl(24) = klr; subr(24) = krl; + subl(25) = krr; subr(25) = kll; + CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 49); + subl(28) = kll; subr(28) = klr; + subl(29) = krl; subr(29) = krr; + + /* generate KB dependent subkeys */ + subl(2) = krll; subr(2) = krlr; + subl(3) = krrl; subr(3) = krrr; + CAMELLIA_ROLDQ(krll, krlr, krrl, krrr, w0, w1, 30); + subl(10) = krll; subr(10) = krlr; + subl(11) = krrl; subr(11) = krrr; + CAMELLIA_ROLDQ(krll, krlr, krrl, krrr, w0, w1, 30); + subl(20) = krll; subr(20) = krlr; + subl(21) = krrl; subr(21) = krrr; + CAMELLIA_ROLDQo32(krll, krlr, krrl, krrr, w0, w1, 51); + subl(32) = krll; subr(32) = krlr; + subl(33) = krrl; subr(33) = krrr; + + /* absorb kw2 to other subkeys */ + subl(3) ^= subl(1); subr(3) ^= subr(1); + subl(5) ^= subl(1); subr(5) ^= subr(1); + subl(7) ^= subl(1); subr(7) ^= subr(1); + subl(1) ^= subr(1) & ~subr(9); + dw = subl(1) & subl(9), subr(1) ^= CAMELLIA_RL1(dw); + subl(11) ^= subl(1); subr(11) ^= subr(1); + subl(13) ^= subl(1); subr(13) ^= subr(1); + subl(15) ^= subl(1); subr(15) ^= subr(1); + subl(1) ^= subr(1) & ~subr(17); + dw = subl(1) & subl(17), subr(1) ^= CAMELLIA_RL1(dw); + subl(19) ^= subl(1); subr(19) ^= subr(1); + subl(21) ^= subl(1); subr(21) ^= subr(1); + subl(23) ^= subl(1); subr(23) ^= subr(1); + subl(1) ^= subr(1) & ~subr(25); + dw = subl(1) & subl(25), subr(1) ^= CAMELLIA_RL1(dw); + subl(27) ^= subl(1); subr(27) ^= subr(1); + subl(29) ^= subl(1); subr(29) ^= subr(1); + subl(31) ^= subl(1); subr(31) ^= subr(1); + subl(32) ^= subl(1); subr(32) ^= subr(1); + + /* absorb kw4 to other subkeys */ + kw4l = subl(33); kw4r = subr(33); + subl(30) ^= kw4l; subr(30) ^= kw4r; + subl(28) ^= kw4l; subr(28) ^= kw4r; + subl(26) ^= kw4l; subr(26) ^= kw4r; + kw4l ^= kw4r & ~subr(24); + dw = kw4l & subl(24), kw4r ^= CAMELLIA_RL1(dw); + subl(22) ^= kw4l; subr(22) ^= kw4r; + subl(20) ^= kw4l; subr(20) ^= kw4r; + subl(18) ^= kw4l; subr(18) ^= kw4r; + kw4l ^= kw4r & ~subr(16); + dw = kw4l & subl(16), kw4r ^= CAMELLIA_RL1(dw); + subl(14) ^= kw4l; subr(14) ^= kw4r; + subl(12) ^= kw4l; subr(12) ^= kw4r; + subl(10) ^= kw4l; subr(10) ^= kw4r; + kw4l ^= kw4r & ~subr(8); + dw = kw4l & subl(8), kw4r ^= CAMELLIA_RL1(dw); + subl(6) ^= kw4l; subr(6) ^= kw4r; + subl(4) ^= kw4l; subr(4) ^= kw4r; + subl(2) ^= kw4l; subr(2) ^= kw4r; + subl(0) ^= kw4l; subr(0) ^= kw4r; + + /* key XOR is end of F-function */ + CamelliaSubkeyL(0) = subl(0) ^ subl(2); + CamelliaSubkeyR(0) = subr(0) ^ subr(2); + CamelliaSubkeyL(2) = subl(3); + CamelliaSubkeyR(2) = subr(3); + CamelliaSubkeyL(3) = subl(2) ^ subl(4); + CamelliaSubkeyR(3) = subr(2) ^ subr(4); + CamelliaSubkeyL(4) = subl(3) ^ subl(5); + CamelliaSubkeyR(4) = subr(3) ^ subr(5); + CamelliaSubkeyL(5) = subl(4) ^ subl(6); + CamelliaSubkeyR(5) = subr(4) ^ subr(6); + CamelliaSubkeyL(6) = subl(5) ^ subl(7); + CamelliaSubkeyR(6) = subr(5) ^ subr(7); + tl = subl(10) ^ (subr(10) & ~subr(8)); + dw = tl & subl(8), tr = subr(10) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(7) = subl(6) ^ tl; + CamelliaSubkeyR(7) = subr(6) ^ tr; + CamelliaSubkeyL(8) = subl(8); + CamelliaSubkeyR(8) = subr(8); + CamelliaSubkeyL(9) = subl(9); + CamelliaSubkeyR(9) = subr(9); + tl = subl(7) ^ (subr(7) & ~subr(9)); + dw = tl & subl(9), tr = subr(7) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(10) = tl ^ subl(11); + CamelliaSubkeyR(10) = tr ^ subr(11); + CamelliaSubkeyL(11) = subl(10) ^ subl(12); + CamelliaSubkeyR(11) = subr(10) ^ subr(12); + CamelliaSubkeyL(12) = subl(11) ^ subl(13); + CamelliaSubkeyR(12) = subr(11) ^ subr(13); + CamelliaSubkeyL(13) = subl(12) ^ subl(14); + CamelliaSubkeyR(13) = subr(12) ^ subr(14); + CamelliaSubkeyL(14) = subl(13) ^ subl(15); + CamelliaSubkeyR(14) = subr(13) ^ subr(15); + tl = subl(18) ^ (subr(18) & ~subr(16)); + dw = tl & subl(16), tr = subr(18) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(15) = subl(14) ^ tl; + CamelliaSubkeyR(15) = subr(14) ^ tr; + CamelliaSubkeyL(16) = subl(16); + CamelliaSubkeyR(16) = subr(16); + CamelliaSubkeyL(17) = subl(17); + CamelliaSubkeyR(17) = subr(17); + tl = subl(15) ^ (subr(15) & ~subr(17)); + dw = tl & subl(17), tr = subr(15) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(18) = tl ^ subl(19); + CamelliaSubkeyR(18) = tr ^ subr(19); + CamelliaSubkeyL(19) = subl(18) ^ subl(20); + CamelliaSubkeyR(19) = subr(18) ^ subr(20); + CamelliaSubkeyL(20) = subl(19) ^ subl(21); + CamelliaSubkeyR(20) = subr(19) ^ subr(21); + CamelliaSubkeyL(21) = subl(20) ^ subl(22); + CamelliaSubkeyR(21) = subr(20) ^ subr(22); + CamelliaSubkeyL(22) = subl(21) ^ subl(23); + CamelliaSubkeyR(22) = subr(21) ^ subr(23); + tl = subl(26) ^ (subr(26) & ~subr(24)); + dw = tl & subl(24), tr = subr(26) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(23) = subl(22) ^ tl; + CamelliaSubkeyR(23) = subr(22) ^ tr; + CamelliaSubkeyL(24) = subl(24); + CamelliaSubkeyR(24) = subr(24); + CamelliaSubkeyL(25) = subl(25); + CamelliaSubkeyR(25) = subr(25); + tl = subl(23) ^ (subr(23) & ~subr(25)); + dw = tl & subl(25), tr = subr(23) ^ CAMELLIA_RL1(dw); + CamelliaSubkeyL(26) = tl ^ subl(27); + CamelliaSubkeyR(26) = tr ^ subr(27); + CamelliaSubkeyL(27) = subl(26) ^ subl(28); + CamelliaSubkeyR(27) = subr(26) ^ subr(28); + CamelliaSubkeyL(28) = subl(27) ^ subl(29); + CamelliaSubkeyR(28) = subr(27) ^ subr(29); + CamelliaSubkeyL(29) = subl(28) ^ subl(30); + CamelliaSubkeyR(29) = subr(28) ^ subr(30); + CamelliaSubkeyL(30) = subl(29) ^ subl(31); + CamelliaSubkeyR(30) = subr(29) ^ subr(31); + CamelliaSubkeyL(31) = subl(30); + CamelliaSubkeyR(31) = subr(30); + CamelliaSubkeyL(32) = subl(32) ^ subl(31); + CamelliaSubkeyR(32) = subr(32) ^ subr(31); + + /* apply the inverse of the last half of P-function */ + dw = CamelliaSubkeyL(2) ^ CamelliaSubkeyR(2), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(2) = CamelliaSubkeyL(2) ^ dw, CamelliaSubkeyL(2) = dw; + dw = CamelliaSubkeyL(3) ^ CamelliaSubkeyR(3), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(3) = CamelliaSubkeyL(3) ^ dw, CamelliaSubkeyL(3) = dw; + dw = CamelliaSubkeyL(4) ^ CamelliaSubkeyR(4), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(4) = CamelliaSubkeyL(4) ^ dw, CamelliaSubkeyL(4) = dw; + dw = CamelliaSubkeyL(5) ^ CamelliaSubkeyR(5), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(5) = CamelliaSubkeyL(5) ^ dw, CamelliaSubkeyL(5) = dw; + dw = CamelliaSubkeyL(6) ^ CamelliaSubkeyR(6), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(6) = CamelliaSubkeyL(6) ^ dw, CamelliaSubkeyL(6) = dw; + dw = CamelliaSubkeyL(7) ^ CamelliaSubkeyR(7), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(7) = CamelliaSubkeyL(7) ^ dw, CamelliaSubkeyL(7) = dw; + dw = CamelliaSubkeyL(10) ^ CamelliaSubkeyR(10), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(10) = CamelliaSubkeyL(10) ^ dw, CamelliaSubkeyL(10) = dw; + dw = CamelliaSubkeyL(11) ^ CamelliaSubkeyR(11), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(11) = CamelliaSubkeyL(11) ^ dw, CamelliaSubkeyL(11) = dw; + dw = CamelliaSubkeyL(12) ^ CamelliaSubkeyR(12), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(12) = CamelliaSubkeyL(12) ^ dw, CamelliaSubkeyL(12) = dw; + dw = CamelliaSubkeyL(13) ^ CamelliaSubkeyR(13), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(13) = CamelliaSubkeyL(13) ^ dw, CamelliaSubkeyL(13) = dw; + dw = CamelliaSubkeyL(14) ^ CamelliaSubkeyR(14), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(14) = CamelliaSubkeyL(14) ^ dw, CamelliaSubkeyL(14) = dw; + dw = CamelliaSubkeyL(15) ^ CamelliaSubkeyR(15), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(15) = CamelliaSubkeyL(15) ^ dw, CamelliaSubkeyL(15) = dw; + dw = CamelliaSubkeyL(18) ^ CamelliaSubkeyR(18), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(18) = CamelliaSubkeyL(18) ^ dw, CamelliaSubkeyL(18) = dw; + dw = CamelliaSubkeyL(19) ^ CamelliaSubkeyR(19), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(19) = CamelliaSubkeyL(19) ^ dw, CamelliaSubkeyL(19) = dw; + dw = CamelliaSubkeyL(20) ^ CamelliaSubkeyR(20), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(20) = CamelliaSubkeyL(20) ^ dw, CamelliaSubkeyL(20) = dw; + dw = CamelliaSubkeyL(21) ^ CamelliaSubkeyR(21), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(21) = CamelliaSubkeyL(21) ^ dw, CamelliaSubkeyL(21) = dw; + dw = CamelliaSubkeyL(22) ^ CamelliaSubkeyR(22), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(22) = CamelliaSubkeyL(22) ^ dw, CamelliaSubkeyL(22) = dw; + dw = CamelliaSubkeyL(23) ^ CamelliaSubkeyR(23), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(23) = CamelliaSubkeyL(23) ^ dw, CamelliaSubkeyL(23) = dw; + dw = CamelliaSubkeyL(26) ^ CamelliaSubkeyR(26), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(26) = CamelliaSubkeyL(26) ^ dw, CamelliaSubkeyL(26) = dw; + dw = CamelliaSubkeyL(27) ^ CamelliaSubkeyR(27), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(27) = CamelliaSubkeyL(27) ^ dw, CamelliaSubkeyL(27) = dw; + dw = CamelliaSubkeyL(28) ^ CamelliaSubkeyR(28), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(28) = CamelliaSubkeyL(28) ^ dw, CamelliaSubkeyL(28) = dw; + dw = CamelliaSubkeyL(29) ^ CamelliaSubkeyR(29), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(29) = CamelliaSubkeyL(29) ^ dw, CamelliaSubkeyL(29) = dw; + dw = CamelliaSubkeyL(30) ^ CamelliaSubkeyR(30), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(30) = CamelliaSubkeyL(30) ^ dw, CamelliaSubkeyL(30) = dw; + dw = CamelliaSubkeyL(31) ^ CamelliaSubkeyR(31), dw = CAMELLIA_RL8(dw); + CamelliaSubkeyR(31) = CamelliaSubkeyL(31) ^ dw,CamelliaSubkeyL(31) = dw; + + return; +} + +void camellia_setup192(const unsigned char *key, u32 *subkey) +{ + unsigned char kk[32]; + u32 krll, krlr, krrl,krrr; + + memcpy(kk, key, 24); + memcpy((unsigned char *)&krll, key+16,4); + memcpy((unsigned char *)&krlr, key+20,4); + krrl = ~krll; + krrr = ~krlr; + memcpy(kk+24, (unsigned char *)&krrl, 4); + memcpy(kk+28, (unsigned char *)&krrr, 4); + camellia_setup256(kk, subkey); + return; +} + + +/** + * Stuff related to camellia encryption/decryption + * + * "io" must be 4byte aligned and big-endian data. + */ +void camellia_encrypt128(const u32 *subkey, u32 *io) +{ + u32 il, ir, t0, t1; + + /* pre whitening but absorb kw2*/ + io[0] ^= CamelliaSubkeyL(0); + io[1] ^= CamelliaSubkeyR(0); + /* main iteration */ + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(2),CamelliaSubkeyR(2), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(3),CamelliaSubkeyR(3), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(4),CamelliaSubkeyR(4), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(5),CamelliaSubkeyR(5), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(6),CamelliaSubkeyR(6), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(7),CamelliaSubkeyR(7), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(8),CamelliaSubkeyR(8), + CamelliaSubkeyL(9),CamelliaSubkeyR(9), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(10),CamelliaSubkeyR(10), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(11),CamelliaSubkeyR(11), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(12),CamelliaSubkeyR(12), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(13),CamelliaSubkeyR(13), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(14),CamelliaSubkeyR(14), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(15),CamelliaSubkeyR(15), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(16),CamelliaSubkeyR(16), + CamelliaSubkeyL(17),CamelliaSubkeyR(17), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(18),CamelliaSubkeyR(18), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(19),CamelliaSubkeyR(19), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(20),CamelliaSubkeyR(20), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(21),CamelliaSubkeyR(21), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(22),CamelliaSubkeyR(22), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(23),CamelliaSubkeyR(23), + io[0],io[1],il,ir,t0,t1); + + /* post whitening but kw4 */ + io[2] ^= CamelliaSubkeyL(24); + io[3] ^= CamelliaSubkeyR(24); + + t0 = io[0]; + t1 = io[1]; + io[0] = io[2]; + io[1] = io[3]; + io[2] = t0; + io[3] = t1; + + return; +} + +void camellia_decrypt128(const u32 *subkey, u32 *io) +{ + u32 il,ir,t0,t1; /* temporary valiables */ + + /* pre whitening but absorb kw2*/ + io[0] ^= CamelliaSubkeyL(24); + io[1] ^= CamelliaSubkeyR(24); + + /* main iteration */ + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(23),CamelliaSubkeyR(23), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(22),CamelliaSubkeyR(22), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(21),CamelliaSubkeyR(21), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(20),CamelliaSubkeyR(20), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(19),CamelliaSubkeyR(19), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(18),CamelliaSubkeyR(18), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(17),CamelliaSubkeyR(17), + CamelliaSubkeyL(16),CamelliaSubkeyR(16), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(15),CamelliaSubkeyR(15), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(14),CamelliaSubkeyR(14), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(13),CamelliaSubkeyR(13), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(12),CamelliaSubkeyR(12), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(11),CamelliaSubkeyR(11), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(10),CamelliaSubkeyR(10), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(9),CamelliaSubkeyR(9), + CamelliaSubkeyL(8),CamelliaSubkeyR(8), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(7),CamelliaSubkeyR(7), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(6),CamelliaSubkeyR(6), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(5),CamelliaSubkeyR(5), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(4),CamelliaSubkeyR(4), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(3),CamelliaSubkeyR(3), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(2),CamelliaSubkeyR(2), + io[0],io[1],il,ir,t0,t1); + + /* post whitening but kw4 */ + io[2] ^= CamelliaSubkeyL(0); + io[3] ^= CamelliaSubkeyR(0); + + t0 = io[0]; + t1 = io[1]; + io[0] = io[2]; + io[1] = io[3]; + io[2] = t0; + io[3] = t1; + + return; +} + +/** + * stuff for 192 and 256bit encryption/decryption + */ +void camellia_encrypt256(const u32 *subkey, u32 *io) +{ + u32 il,ir,t0,t1; /* temporary valiables */ + + /* pre whitening but absorb kw2*/ + io[0] ^= CamelliaSubkeyL(0); + io[1] ^= CamelliaSubkeyR(0); + + /* main iteration */ + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(2),CamelliaSubkeyR(2), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(3),CamelliaSubkeyR(3), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(4),CamelliaSubkeyR(4), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(5),CamelliaSubkeyR(5), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(6),CamelliaSubkeyR(6), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(7),CamelliaSubkeyR(7), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(8),CamelliaSubkeyR(8), + CamelliaSubkeyL(9),CamelliaSubkeyR(9), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(10),CamelliaSubkeyR(10), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(11),CamelliaSubkeyR(11), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(12),CamelliaSubkeyR(12), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(13),CamelliaSubkeyR(13), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(14),CamelliaSubkeyR(14), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(15),CamelliaSubkeyR(15), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(16),CamelliaSubkeyR(16), + CamelliaSubkeyL(17),CamelliaSubkeyR(17), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(18),CamelliaSubkeyR(18), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(19),CamelliaSubkeyR(19), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(20),CamelliaSubkeyR(20), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(21),CamelliaSubkeyR(21), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(22),CamelliaSubkeyR(22), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(23),CamelliaSubkeyR(23), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(24),CamelliaSubkeyR(24), + CamelliaSubkeyL(25),CamelliaSubkeyR(25), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(26),CamelliaSubkeyR(26), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(27),CamelliaSubkeyR(27), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(28),CamelliaSubkeyR(28), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(29),CamelliaSubkeyR(29), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(30),CamelliaSubkeyR(30), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(31),CamelliaSubkeyR(31), + io[0],io[1],il,ir,t0,t1); + + /* post whitening but kw4 */ + io[2] ^= CamelliaSubkeyL(32); + io[3] ^= CamelliaSubkeyR(32); + + t0 = io[0]; + t1 = io[1]; + io[0] = io[2]; + io[1] = io[3]; + io[2] = t0; + io[3] = t1; + + return; +} + +void camellia_decrypt256(const u32 *subkey, u32 *io) +{ + u32 il,ir,t0,t1; /* temporary valiables */ + + /* pre whitening but absorb kw2*/ + io[0] ^= CamelliaSubkeyL(32); + io[1] ^= CamelliaSubkeyR(32); + + /* main iteration */ + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(31),CamelliaSubkeyR(31), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(30),CamelliaSubkeyR(30), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(29),CamelliaSubkeyR(29), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(28),CamelliaSubkeyR(28), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(27),CamelliaSubkeyR(27), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(26),CamelliaSubkeyR(26), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(25),CamelliaSubkeyR(25), + CamelliaSubkeyL(24),CamelliaSubkeyR(24), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(23),CamelliaSubkeyR(23), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(22),CamelliaSubkeyR(22), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(21),CamelliaSubkeyR(21), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(20),CamelliaSubkeyR(20), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(19),CamelliaSubkeyR(19), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(18),CamelliaSubkeyR(18), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(17),CamelliaSubkeyR(17), + CamelliaSubkeyL(16),CamelliaSubkeyR(16), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(15),CamelliaSubkeyR(15), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(14),CamelliaSubkeyR(14), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(13),CamelliaSubkeyR(13), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(12),CamelliaSubkeyR(12), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(11),CamelliaSubkeyR(11), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(10),CamelliaSubkeyR(10), + io[0],io[1],il,ir,t0,t1); + + CAMELLIA_FLS(io[0],io[1],io[2],io[3], + CamelliaSubkeyL(9),CamelliaSubkeyR(9), + CamelliaSubkeyL(8),CamelliaSubkeyR(8), + t0,t1,il,ir); + + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(7),CamelliaSubkeyR(7), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(6),CamelliaSubkeyR(6), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(5),CamelliaSubkeyR(5), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(4),CamelliaSubkeyR(4), + io[0],io[1],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[0],io[1], + CamelliaSubkeyL(3),CamelliaSubkeyR(3), + io[2],io[3],il,ir,t0,t1); + CAMELLIA_ROUNDSM(io[2],io[3], + CamelliaSubkeyL(2),CamelliaSubkeyR(2), + io[0],io[1],il,ir,t0,t1); + + /* post whitening but kw4 */ + io[2] ^= CamelliaSubkeyL(0); + io[3] ^= CamelliaSubkeyR(0); + + t0 = io[0]; + t1 = io[1]; + io[0] = io[2]; + io[1] = io[3]; + io[2] = t0; + io[3] = t1; + + return; +} + +/*** + * + * API for compatibility + */ + +void Camellia_Ekeygen(const int keyBitLength, + const unsigned char *rawKey, + KEY_TABLE_TYPE keyTable) +{ + switch(keyBitLength) { + case 128: + camellia_setup128(rawKey, keyTable); + break; + case 192: + camellia_setup192(rawKey, keyTable); + break; + case 256: + camellia_setup256(rawKey, keyTable); + break; + default: + break; + } +} + + +void Camellia_EncryptBlock(const int keyBitLength, + const unsigned char *plaintext, + const KEY_TABLE_TYPE keyTable, + unsigned char *ciphertext) +{ + u32 tmp[4]; + + tmp[0] = GETU32(plaintext); + tmp[1] = GETU32(plaintext + 4); + tmp[2] = GETU32(plaintext + 8); + tmp[3] = GETU32(plaintext + 12); + + switch (keyBitLength) { + case 128: + camellia_encrypt128(keyTable, tmp); + break; + case 192: + /* fall through */ + case 256: + camellia_encrypt256(keyTable, tmp); + break; + default: + break; + } + + PUTU32(ciphertext, tmp[0]); + PUTU32(ciphertext + 4, tmp[1]); + PUTU32(ciphertext + 8, tmp[2]); + PUTU32(ciphertext + 12, tmp[3]); +} + +void Camellia_DecryptBlock(const int keyBitLength, + const unsigned char *ciphertext, + const KEY_TABLE_TYPE keyTable, + unsigned char *plaintext) +{ + u32 tmp[4]; + + tmp[0] = GETU32(ciphertext); + tmp[1] = GETU32(ciphertext + 4); + tmp[2] = GETU32(ciphertext + 8); + tmp[3] = GETU32(ciphertext + 12); + + switch (keyBitLength) { + case 128: + camellia_decrypt128(keyTable, tmp); + break; + case 192: + /* fall through */ + case 256: + camellia_decrypt256(keyTable, tmp); + break; + default: + break; + } + PUTU32(plaintext, tmp[0]); + PUTU32(plaintext + 4, tmp[1]); + PUTU32(plaintext + 8, tmp[2]); + PUTU32(plaintext + 12, tmp[3]); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/camellia.h b/grub-core/lib/libgcrypt-grub/cipher/camellia.h new file mode 100644 index 0000000..c96f0b4 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/camellia.h @@ -0,0 +1,83 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +/* camellia.h ver 1.2.0 + * + * Copyright (C) 2006,2007 + * NTT (Nippon Telegraph and Telephone Corporation). + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef HEADER_CAMELLIA_H +#define HEADER_CAMELLIA_H + +/* To use Camellia with libraries it is often useful to keep the name + * space of the library clean. The following macro is thus useful: + * + * #define CAMELLIA_EXT_SYM_PREFIX foo_ + * + * This prefixes all external symbols with "foo_". + */ +#ifdef HAVE_CONFIG_H +#endif +#ifdef CAMELLIA_EXT_SYM_PREFIX +#define CAMELLIA_PREFIX1(x,y) x ## y +#define CAMELLIA_PREFIX2(x,y) CAMELLIA_PREFIX1(x,y) +#define CAMELLIA_PREFIX(x) CAMELLIA_PREFIX2(CAMELLIA_EXT_SYM_PREFIX,x) +#define Camellia_Ekeygen CAMELLIA_PREFIX(Camellia_Ekeygen) +#define Camellia_EncryptBlock CAMELLIA_PREFIX(Camellia_EncryptBlock) +#define Camellia_DecryptBlock CAMELLIA_PREFIX(Camellia_DecryptBlock) +#define camellia_decrypt128 CAMELLIA_PREFIX(camellia_decrypt128) +#define camellia_decrypt256 CAMELLIA_PREFIX(camellia_decrypt256) +#define camellia_encrypt128 CAMELLIA_PREFIX(camellia_encrypt128) +#define camellia_encrypt256 CAMELLIA_PREFIX(camellia_encrypt256) +#define camellia_setup128 CAMELLIA_PREFIX(camellia_setup128) +#define camellia_setup192 CAMELLIA_PREFIX(camellia_setup192) +#define camellia_setup256 CAMELLIA_PREFIX(camellia_setup256) +#endif /*CAMELLIA_EXT_SYM_PREFIX*/ + + +#ifdef __cplusplus +extern "C" { +#endif + +#define CAMELLIA_BLOCK_SIZE 16 +#define CAMELLIA_TABLE_BYTE_LEN 272 +#define CAMELLIA_TABLE_WORD_LEN (CAMELLIA_TABLE_BYTE_LEN / 4) + +typedef unsigned int KEY_TABLE_TYPE[CAMELLIA_TABLE_WORD_LEN]; + + +void Camellia_Ekeygen(const int keyBitLength, + const unsigned char *rawKey, + KEY_TABLE_TYPE keyTable); + +void Camellia_EncryptBlock(const int keyBitLength, + const unsigned char *plaintext, + const KEY_TABLE_TYPE keyTable, + unsigned char *cipherText); + +void Camellia_DecryptBlock(const int keyBitLength, + const unsigned char *cipherText, + const KEY_TABLE_TYPE keyTable, + unsigned char *plaintext); + + +#ifdef __cplusplus +} +#endif + +#endif /* HEADER_CAMELLIA_H */ diff --git a/grub-core/lib/libgcrypt-grub/cipher/cast5.c b/grub-core/lib/libgcrypt-grub/cipher/cast5.c new file mode 100644 index 0000000..984bb44 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/cast5.c @@ -0,0 +1,586 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* cast5.c - CAST5 cipher (RFC2144) + * Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +/* Test vectors: + * + * 128-bit key = 01 23 45 67 12 34 56 78 23 45 67 89 34 56 78 9A + * plaintext = 01 23 45 67 89 AB CD EF + * ciphertext = 23 8B 4F E5 84 7E 44 B2 + * + * 80-bit key = 01 23 45 67 12 34 56 78 23 45 + * = 01 23 45 67 12 34 56 78 23 45 00 00 00 00 00 00 + * plaintext = 01 23 45 67 89 AB CD EF + * ciphertext = EB 6A 71 1A 2C 02 27 1B + * + * 40-bit key = 01 23 45 67 12 + * = 01 23 45 67 12 00 00 00 00 00 00 00 00 00 00 00 + * plaintext = 01 23 45 67 89 AB CD EF + * ciphertext = 7A C8 16 D1 6E 9B 30 2E + */ + +#include "g10lib.h" +#include "types.h" +#include "cipher.h" + +#define CAST5_BLOCKSIZE 8 + +typedef struct { + u32 Km[16]; + byte Kr[16]; +} CAST5_context; + +static gcry_err_code_t cast_setkey (void *c, const byte *key, unsigned keylen); +static void encrypt_block (void *c, byte *outbuf, const byte *inbuf); +static void decrypt_block (void *c, byte *outbuf, const byte *inbuf); + + + + +static const u32 s1[256] = { +0x30fb40d4, 0x9fa0ff0b, 0x6beccd2f, 0x3f258c7a, 0x1e213f2f, 0x9c004dd3, 0x6003e540, 0xcf9fc949, +0xbfd4af27, 0x88bbbdb5, 0xe2034090, 0x98d09675, 0x6e63a0e0, 0x15c361d2, 0xc2e7661d, 0x22d4ff8e, +0x28683b6f, 0xc07fd059, 0xff2379c8, 0x775f50e2, 0x43c340d3, 0xdf2f8656, 0x887ca41a, 0xa2d2bd2d, +0xa1c9e0d6, 0x346c4819, 0x61b76d87, 0x22540f2f, 0x2abe32e1, 0xaa54166b, 0x22568e3a, 0xa2d341d0, +0x66db40c8, 0xa784392f, 0x004dff2f, 0x2db9d2de, 0x97943fac, 0x4a97c1d8, 0x527644b7, 0xb5f437a7, +0xb82cbaef, 0xd751d159, 0x6ff7f0ed, 0x5a097a1f, 0x827b68d0, 0x90ecf52e, 0x22b0c054, 0xbc8e5935, +0x4b6d2f7f, 0x50bb64a2, 0xd2664910, 0xbee5812d, 0xb7332290, 0xe93b159f, 0xb48ee411, 0x4bff345d, +0xfd45c240, 0xad31973f, 0xc4f6d02e, 0x55fc8165, 0xd5b1caad, 0xa1ac2dae, 0xa2d4b76d, 0xc19b0c50, +0x882240f2, 0x0c6e4f38, 0xa4e4bfd7, 0x4f5ba272, 0x564c1d2f, 0xc59c5319, 0xb949e354, 0xb04669fe, +0xb1b6ab8a, 0xc71358dd, 0x6385c545, 0x110f935d, 0x57538ad5, 0x6a390493, 0xe63d37e0, 0x2a54f6b3, +0x3a787d5f, 0x6276a0b5, 0x19a6fcdf, 0x7a42206a, 0x29f9d4d5, 0xf61b1891, 0xbb72275e, 0xaa508167, +0x38901091, 0xc6b505eb, 0x84c7cb8c, 0x2ad75a0f, 0x874a1427, 0xa2d1936b, 0x2ad286af, 0xaa56d291, +0xd7894360, 0x425c750d, 0x93b39e26, 0x187184c9, 0x6c00b32d, 0x73e2bb14, 0xa0bebc3c, 0x54623779, +0x64459eab, 0x3f328b82, 0x7718cf82, 0x59a2cea6, 0x04ee002e, 0x89fe78e6, 0x3fab0950, 0x325ff6c2, +0x81383f05, 0x6963c5c8, 0x76cb5ad6, 0xd49974c9, 0xca180dcf, 0x380782d5, 0xc7fa5cf6, 0x8ac31511, +0x35e79e13, 0x47da91d0, 0xf40f9086, 0xa7e2419e, 0x31366241, 0x051ef495, 0xaa573b04, 0x4a805d8d, +0x548300d0, 0x00322a3c, 0xbf64cddf, 0xba57a68e, 0x75c6372b, 0x50afd341, 0xa7c13275, 0x915a0bf5, +0x6b54bfab, 0x2b0b1426, 0xab4cc9d7, 0x449ccd82, 0xf7fbf265, 0xab85c5f3, 0x1b55db94, 0xaad4e324, +0xcfa4bd3f, 0x2deaa3e2, 0x9e204d02, 0xc8bd25ac, 0xeadf55b3, 0xd5bd9e98, 0xe31231b2, 0x2ad5ad6c, +0x954329de, 0xadbe4528, 0xd8710f69, 0xaa51c90f, 0xaa786bf6, 0x22513f1e, 0xaa51a79b, 0x2ad344cc, +0x7b5a41f0, 0xd37cfbad, 0x1b069505, 0x41ece491, 0xb4c332e6, 0x032268d4, 0xc9600acc, 0xce387e6d, +0xbf6bb16c, 0x6a70fb78, 0x0d03d9c9, 0xd4df39de, 0xe01063da, 0x4736f464, 0x5ad328d8, 0xb347cc96, +0x75bb0fc3, 0x98511bfb, 0x4ffbcc35, 0xb58bcf6a, 0xe11f0abc, 0xbfc5fe4a, 0xa70aec10, 0xac39570a, +0x3f04442f, 0x6188b153, 0xe0397a2e, 0x5727cb79, 0x9ceb418f, 0x1cacd68d, 0x2ad37c96, 0x0175cb9d, +0xc69dff09, 0xc75b65f0, 0xd9db40d8, 0xec0e7779, 0x4744ead4, 0xb11c3274, 0xdd24cb9e, 0x7e1c54bd, +0xf01144f9, 0xd2240eb1, 0x9675b3fd, 0xa3ac3755, 0xd47c27af, 0x51c85f4d, 0x56907596, 0xa5bb15e6, +0x580304f0, 0xca042cf1, 0x011a37ea, 0x8dbfaadb, 0x35ba3e4a, 0x3526ffa0, 0xc37b4d09, 0xbc306ed9, +0x98a52666, 0x5648f725, 0xff5e569d, 0x0ced63d0, 0x7c63b2cf, 0x700b45e1, 0xd5ea50f1, 0x85a92872, +0xaf1fbda7, 0xd4234870, 0xa7870bf3, 0x2d3b4d79, 0x42e04198, 0x0cd0ede7, 0x26470db8, 0xf881814c, +0x474d6ad7, 0x7c0c5e5c, 0xd1231959, 0x381b7298, 0xf5d2f4db, 0xab838653, 0x6e2f1e23, 0x83719c9e, +0xbd91e046, 0x9a56456e, 0xdc39200c, 0x20c8c571, 0x962bda1c, 0xe1e696ff, 0xb141ab08, 0x7cca89b9, +0x1a69e783, 0x02cc4843, 0xa2f7c579, 0x429ef47d, 0x427b169c, 0x5ac9f049, 0xdd8f0f00, 0x5c8165bf +}; +static const u32 s2[256] = { +0x1f201094, 0xef0ba75b, 0x69e3cf7e, 0x393f4380, 0xfe61cf7a, 0xeec5207a, 0x55889c94, 0x72fc0651, +0xada7ef79, 0x4e1d7235, 0xd55a63ce, 0xde0436ba, 0x99c430ef, 0x5f0c0794, 0x18dcdb7d, 0xa1d6eff3, +0xa0b52f7b, 0x59e83605, 0xee15b094, 0xe9ffd909, 0xdc440086, 0xef944459, 0xba83ccb3, 0xe0c3cdfb, +0xd1da4181, 0x3b092ab1, 0xf997f1c1, 0xa5e6cf7b, 0x01420ddb, 0xe4e7ef5b, 0x25a1ff41, 0xe180f806, +0x1fc41080, 0x179bee7a, 0xd37ac6a9, 0xfe5830a4, 0x98de8b7f, 0x77e83f4e, 0x79929269, 0x24fa9f7b, +0xe113c85b, 0xacc40083, 0xd7503525, 0xf7ea615f, 0x62143154, 0x0d554b63, 0x5d681121, 0xc866c359, +0x3d63cf73, 0xcee234c0, 0xd4d87e87, 0x5c672b21, 0x071f6181, 0x39f7627f, 0x361e3084, 0xe4eb573b, +0x602f64a4, 0xd63acd9c, 0x1bbc4635, 0x9e81032d, 0x2701f50c, 0x99847ab4, 0xa0e3df79, 0xba6cf38c, +0x10843094, 0x2537a95e, 0xf46f6ffe, 0xa1ff3b1f, 0x208cfb6a, 0x8f458c74, 0xd9e0a227, 0x4ec73a34, +0xfc884f69, 0x3e4de8df, 0xef0e0088, 0x3559648d, 0x8a45388c, 0x1d804366, 0x721d9bfd, 0xa58684bb, +0xe8256333, 0x844e8212, 0x128d8098, 0xfed33fb4, 0xce280ae1, 0x27e19ba5, 0xd5a6c252, 0xe49754bd, +0xc5d655dd, 0xeb667064, 0x77840b4d, 0xa1b6a801, 0x84db26a9, 0xe0b56714, 0x21f043b7, 0xe5d05860, +0x54f03084, 0x066ff472, 0xa31aa153, 0xdadc4755, 0xb5625dbf, 0x68561be6, 0x83ca6b94, 0x2d6ed23b, +0xeccf01db, 0xa6d3d0ba, 0xb6803d5c, 0xaf77a709, 0x33b4a34c, 0x397bc8d6, 0x5ee22b95, 0x5f0e5304, +0x81ed6f61, 0x20e74364, 0xb45e1378, 0xde18639b, 0x881ca122, 0xb96726d1, 0x8049a7e8, 0x22b7da7b, +0x5e552d25, 0x5272d237, 0x79d2951c, 0xc60d894c, 0x488cb402, 0x1ba4fe5b, 0xa4b09f6b, 0x1ca815cf, +0xa20c3005, 0x8871df63, 0xb9de2fcb, 0x0cc6c9e9, 0x0beeff53, 0xe3214517, 0xb4542835, 0x9f63293c, +0xee41e729, 0x6e1d2d7c, 0x50045286, 0x1e6685f3, 0xf33401c6, 0x30a22c95, 0x31a70850, 0x60930f13, +0x73f98417, 0xa1269859, 0xec645c44, 0x52c877a9, 0xcdff33a6, 0xa02b1741, 0x7cbad9a2, 0x2180036f, +0x50d99c08, 0xcb3f4861, 0xc26bd765, 0x64a3f6ab, 0x80342676, 0x25a75e7b, 0xe4e6d1fc, 0x20c710e6, +0xcdf0b680, 0x17844d3b, 0x31eef84d, 0x7e0824e4, 0x2ccb49eb, 0x846a3bae, 0x8ff77888, 0xee5d60f6, +0x7af75673, 0x2fdd5cdb, 0xa11631c1, 0x30f66f43, 0xb3faec54, 0x157fd7fa, 0xef8579cc, 0xd152de58, +0xdb2ffd5e, 0x8f32ce19, 0x306af97a, 0x02f03ef8, 0x99319ad5, 0xc242fa0f, 0xa7e3ebb0, 0xc68e4906, +0xb8da230c, 0x80823028, 0xdcdef3c8, 0xd35fb171, 0x088a1bc8, 0xbec0c560, 0x61a3c9e8, 0xbca8f54d, +0xc72feffa, 0x22822e99, 0x82c570b4, 0xd8d94e89, 0x8b1c34bc, 0x301e16e6, 0x273be979, 0xb0ffeaa6, +0x61d9b8c6, 0x00b24869, 0xb7ffce3f, 0x08dc283b, 0x43daf65a, 0xf7e19798, 0x7619b72f, 0x8f1c9ba4, +0xdc8637a0, 0x16a7d3b1, 0x9fc393b7, 0xa7136eeb, 0xc6bcc63e, 0x1a513742, 0xef6828bc, 0x520365d6, +0x2d6a77ab, 0x3527ed4b, 0x821fd216, 0x095c6e2e, 0xdb92f2fb, 0x5eea29cb, 0x145892f5, 0x91584f7f, +0x5483697b, 0x2667a8cc, 0x85196048, 0x8c4bacea, 0x833860d4, 0x0d23e0f9, 0x6c387e8a, 0x0ae6d249, +0xb284600c, 0xd835731d, 0xdcb1c647, 0xac4c56ea, 0x3ebd81b3, 0x230eabb0, 0x6438bc87, 0xf0b5b1fa, +0x8f5ea2b3, 0xfc184642, 0x0a036b7a, 0x4fb089bd, 0x649da589, 0xa345415e, 0x5c038323, 0x3e5d3bb9, +0x43d79572, 0x7e6dd07c, 0x06dfdf1e, 0x6c6cc4ef, 0x7160a539, 0x73bfbe70, 0x83877605, 0x4523ecf1 +}; +static const u32 s3[256] = { +0x8defc240, 0x25fa5d9f, 0xeb903dbf, 0xe810c907, 0x47607fff, 0x369fe44b, 0x8c1fc644, 0xaececa90, +0xbeb1f9bf, 0xeefbcaea, 0xe8cf1950, 0x51df07ae, 0x920e8806, 0xf0ad0548, 0xe13c8d83, 0x927010d5, +0x11107d9f, 0x07647db9, 0xb2e3e4d4, 0x3d4f285e, 0xb9afa820, 0xfade82e0, 0xa067268b, 0x8272792e, +0x553fb2c0, 0x489ae22b, 0xd4ef9794, 0x125e3fbc, 0x21fffcee, 0x825b1bfd, 0x9255c5ed, 0x1257a240, +0x4e1a8302, 0xbae07fff, 0x528246e7, 0x8e57140e, 0x3373f7bf, 0x8c9f8188, 0xa6fc4ee8, 0xc982b5a5, +0xa8c01db7, 0x579fc264, 0x67094f31, 0xf2bd3f5f, 0x40fff7c1, 0x1fb78dfc, 0x8e6bd2c1, 0x437be59b, +0x99b03dbf, 0xb5dbc64b, 0x638dc0e6, 0x55819d99, 0xa197c81c, 0x4a012d6e, 0xc5884a28, 0xccc36f71, +0xb843c213, 0x6c0743f1, 0x8309893c, 0x0feddd5f, 0x2f7fe850, 0xd7c07f7e, 0x02507fbf, 0x5afb9a04, +0xa747d2d0, 0x1651192e, 0xaf70bf3e, 0x58c31380, 0x5f98302e, 0x727cc3c4, 0x0a0fb402, 0x0f7fef82, +0x8c96fdad, 0x5d2c2aae, 0x8ee99a49, 0x50da88b8, 0x8427f4a0, 0x1eac5790, 0x796fb449, 0x8252dc15, +0xefbd7d9b, 0xa672597d, 0xada840d8, 0x45f54504, 0xfa5d7403, 0xe83ec305, 0x4f91751a, 0x925669c2, +0x23efe941, 0xa903f12e, 0x60270df2, 0x0276e4b6, 0x94fd6574, 0x927985b2, 0x8276dbcb, 0x02778176, +0xf8af918d, 0x4e48f79e, 0x8f616ddf, 0xe29d840e, 0x842f7d83, 0x340ce5c8, 0x96bbb682, 0x93b4b148, +0xef303cab, 0x984faf28, 0x779faf9b, 0x92dc560d, 0x224d1e20, 0x8437aa88, 0x7d29dc96, 0x2756d3dc, +0x8b907cee, 0xb51fd240, 0xe7c07ce3, 0xe566b4a1, 0xc3e9615e, 0x3cf8209d, 0x6094d1e3, 0xcd9ca341, +0x5c76460e, 0x00ea983b, 0xd4d67881, 0xfd47572c, 0xf76cedd9, 0xbda8229c, 0x127dadaa, 0x438a074e, +0x1f97c090, 0x081bdb8a, 0x93a07ebe, 0xb938ca15, 0x97b03cff, 0x3dc2c0f8, 0x8d1ab2ec, 0x64380e51, +0x68cc7bfb, 0xd90f2788, 0x12490181, 0x5de5ffd4, 0xdd7ef86a, 0x76a2e214, 0xb9a40368, 0x925d958f, +0x4b39fffa, 0xba39aee9, 0xa4ffd30b, 0xfaf7933b, 0x6d498623, 0x193cbcfa, 0x27627545, 0x825cf47a, +0x61bd8ba0, 0xd11e42d1, 0xcead04f4, 0x127ea392, 0x10428db7, 0x8272a972, 0x9270c4a8, 0x127de50b, +0x285ba1c8, 0x3c62f44f, 0x35c0eaa5, 0xe805d231, 0x428929fb, 0xb4fcdf82, 0x4fb66a53, 0x0e7dc15b, +0x1f081fab, 0x108618ae, 0xfcfd086d, 0xf9ff2889, 0x694bcc11, 0x236a5cae, 0x12deca4d, 0x2c3f8cc5, +0xd2d02dfe, 0xf8ef5896, 0xe4cf52da, 0x95155b67, 0x494a488c, 0xb9b6a80c, 0x5c8f82bc, 0x89d36b45, +0x3a609437, 0xec00c9a9, 0x44715253, 0x0a874b49, 0xd773bc40, 0x7c34671c, 0x02717ef6, 0x4feb5536, +0xa2d02fff, 0xd2bf60c4, 0xd43f03c0, 0x50b4ef6d, 0x07478cd1, 0x006e1888, 0xa2e53f55, 0xb9e6d4bc, +0xa2048016, 0x97573833, 0xd7207d67, 0xde0f8f3d, 0x72f87b33, 0xabcc4f33, 0x7688c55d, 0x7b00a6b0, +0x947b0001, 0x570075d2, 0xf9bb88f8, 0x8942019e, 0x4264a5ff, 0x856302e0, 0x72dbd92b, 0xee971b69, +0x6ea22fde, 0x5f08ae2b, 0xaf7a616d, 0xe5c98767, 0xcf1febd2, 0x61efc8c2, 0xf1ac2571, 0xcc8239c2, +0x67214cb8, 0xb1e583d1, 0xb7dc3e62, 0x7f10bdce, 0xf90a5c38, 0x0ff0443d, 0x606e6dc6, 0x60543a49, +0x5727c148, 0x2be98a1d, 0x8ab41738, 0x20e1be24, 0xaf96da0f, 0x68458425, 0x99833be5, 0x600d457d, +0x282f9350, 0x8334b362, 0xd91d1120, 0x2b6d8da0, 0x642b1e31, 0x9c305a00, 0x52bce688, 0x1b03588a, +0xf7baefd5, 0x4142ed9c, 0xa4315c11, 0x83323ec5, 0xdfef4636, 0xa133c501, 0xe9d3531c, 0xee353783 +}; +static const u32 s4[256] = { +0x9db30420, 0x1fb6e9de, 0xa7be7bef, 0xd273a298, 0x4a4f7bdb, 0x64ad8c57, 0x85510443, 0xfa020ed1, +0x7e287aff, 0xe60fb663, 0x095f35a1, 0x79ebf120, 0xfd059d43, 0x6497b7b1, 0xf3641f63, 0x241e4adf, +0x28147f5f, 0x4fa2b8cd, 0xc9430040, 0x0cc32220, 0xfdd30b30, 0xc0a5374f, 0x1d2d00d9, 0x24147b15, +0xee4d111a, 0x0fca5167, 0x71ff904c, 0x2d195ffe, 0x1a05645f, 0x0c13fefe, 0x081b08ca, 0x05170121, +0x80530100, 0xe83e5efe, 0xac9af4f8, 0x7fe72701, 0xd2b8ee5f, 0x06df4261, 0xbb9e9b8a, 0x7293ea25, +0xce84ffdf, 0xf5718801, 0x3dd64b04, 0xa26f263b, 0x7ed48400, 0x547eebe6, 0x446d4ca0, 0x6cf3d6f5, +0x2649abdf, 0xaea0c7f5, 0x36338cc1, 0x503f7e93, 0xd3772061, 0x11b638e1, 0x72500e03, 0xf80eb2bb, +0xabe0502e, 0xec8d77de, 0x57971e81, 0xe14f6746, 0xc9335400, 0x6920318f, 0x081dbb99, 0xffc304a5, +0x4d351805, 0x7f3d5ce3, 0xa6c866c6, 0x5d5bcca9, 0xdaec6fea, 0x9f926f91, 0x9f46222f, 0x3991467d, +0xa5bf6d8e, 0x1143c44f, 0x43958302, 0xd0214eeb, 0x022083b8, 0x3fb6180c, 0x18f8931e, 0x281658e6, +0x26486e3e, 0x8bd78a70, 0x7477e4c1, 0xb506e07c, 0xf32d0a25, 0x79098b02, 0xe4eabb81, 0x28123b23, +0x69dead38, 0x1574ca16, 0xdf871b62, 0x211c40b7, 0xa51a9ef9, 0x0014377b, 0x041e8ac8, 0x09114003, +0xbd59e4d2, 0xe3d156d5, 0x4fe876d5, 0x2f91a340, 0x557be8de, 0x00eae4a7, 0x0ce5c2ec, 0x4db4bba6, +0xe756bdff, 0xdd3369ac, 0xec17b035, 0x06572327, 0x99afc8b0, 0x56c8c391, 0x6b65811c, 0x5e146119, +0x6e85cb75, 0xbe07c002, 0xc2325577, 0x893ff4ec, 0x5bbfc92d, 0xd0ec3b25, 0xb7801ab7, 0x8d6d3b24, +0x20c763ef, 0xc366a5fc, 0x9c382880, 0x0ace3205, 0xaac9548a, 0xeca1d7c7, 0x041afa32, 0x1d16625a, +0x6701902c, 0x9b757a54, 0x31d477f7, 0x9126b031, 0x36cc6fdb, 0xc70b8b46, 0xd9e66a48, 0x56e55a79, +0x026a4ceb, 0x52437eff, 0x2f8f76b4, 0x0df980a5, 0x8674cde3, 0xedda04eb, 0x17a9be04, 0x2c18f4df, +0xb7747f9d, 0xab2af7b4, 0xefc34d20, 0x2e096b7c, 0x1741a254, 0xe5b6a035, 0x213d42f6, 0x2c1c7c26, +0x61c2f50f, 0x6552daf9, 0xd2c231f8, 0x25130f69, 0xd8167fa2, 0x0418f2c8, 0x001a96a6, 0x0d1526ab, +0x63315c21, 0x5e0a72ec, 0x49bafefd, 0x187908d9, 0x8d0dbd86, 0x311170a7, 0x3e9b640c, 0xcc3e10d7, +0xd5cad3b6, 0x0caec388, 0xf73001e1, 0x6c728aff, 0x71eae2a1, 0x1f9af36e, 0xcfcbd12f, 0xc1de8417, +0xac07be6b, 0xcb44a1d8, 0x8b9b0f56, 0x013988c3, 0xb1c52fca, 0xb4be31cd, 0xd8782806, 0x12a3a4e2, +0x6f7de532, 0x58fd7eb6, 0xd01ee900, 0x24adffc2, 0xf4990fc5, 0x9711aac5, 0x001d7b95, 0x82e5e7d2, +0x109873f6, 0x00613096, 0xc32d9521, 0xada121ff, 0x29908415, 0x7fbb977f, 0xaf9eb3db, 0x29c9ed2a, +0x5ce2a465, 0xa730f32c, 0xd0aa3fe8, 0x8a5cc091, 0xd49e2ce7, 0x0ce454a9, 0xd60acd86, 0x015f1919, +0x77079103, 0xdea03af6, 0x78a8565e, 0xdee356df, 0x21f05cbe, 0x8b75e387, 0xb3c50651, 0xb8a5c3ef, +0xd8eeb6d2, 0xe523be77, 0xc2154529, 0x2f69efdf, 0xafe67afb, 0xf470c4b2, 0xf3e0eb5b, 0xd6cc9876, +0x39e4460c, 0x1fda8538, 0x1987832f, 0xca007367, 0xa99144f8, 0x296b299e, 0x492fc295, 0x9266beab, +0xb5676e69, 0x9bd3ddda, 0xdf7e052f, 0xdb25701c, 0x1b5e51ee, 0xf65324e6, 0x6afce36c, 0x0316cc04, +0x8644213e, 0xb7dc59d0, 0x7965291f, 0xccd6fd43, 0x41823979, 0x932bcdf6, 0xb657c34d, 0x4edfd282, +0x7ae5290c, 0x3cb9536b, 0x851e20fe, 0x9833557e, 0x13ecf0b0, 0xd3ffb372, 0x3f85c5c1, 0x0aef7ed2 +}; +static const u32 s5[256] = { +0x7ec90c04, 0x2c6e74b9, 0x9b0e66df, 0xa6337911, 0xb86a7fff, 0x1dd358f5, 0x44dd9d44, 0x1731167f, +0x08fbf1fa, 0xe7f511cc, 0xd2051b00, 0x735aba00, 0x2ab722d8, 0x386381cb, 0xacf6243a, 0x69befd7a, +0xe6a2e77f, 0xf0c720cd, 0xc4494816, 0xccf5c180, 0x38851640, 0x15b0a848, 0xe68b18cb, 0x4caadeff, +0x5f480a01, 0x0412b2aa, 0x259814fc, 0x41d0efe2, 0x4e40b48d, 0x248eb6fb, 0x8dba1cfe, 0x41a99b02, +0x1a550a04, 0xba8f65cb, 0x7251f4e7, 0x95a51725, 0xc106ecd7, 0x97a5980a, 0xc539b9aa, 0x4d79fe6a, +0xf2f3f763, 0x68af8040, 0xed0c9e56, 0x11b4958b, 0xe1eb5a88, 0x8709e6b0, 0xd7e07156, 0x4e29fea7, +0x6366e52d, 0x02d1c000, 0xc4ac8e05, 0x9377f571, 0x0c05372a, 0x578535f2, 0x2261be02, 0xd642a0c9, +0xdf13a280, 0x74b55bd2, 0x682199c0, 0xd421e5ec, 0x53fb3ce8, 0xc8adedb3, 0x28a87fc9, 0x3d959981, +0x5c1ff900, 0xfe38d399, 0x0c4eff0b, 0x062407ea, 0xaa2f4fb1, 0x4fb96976, 0x90c79505, 0xb0a8a774, +0xef55a1ff, 0xe59ca2c2, 0xa6b62d27, 0xe66a4263, 0xdf65001f, 0x0ec50966, 0xdfdd55bc, 0x29de0655, +0x911e739a, 0x17af8975, 0x32c7911c, 0x89f89468, 0x0d01e980, 0x524755f4, 0x03b63cc9, 0x0cc844b2, +0xbcf3f0aa, 0x87ac36e9, 0xe53a7426, 0x01b3d82b, 0x1a9e7449, 0x64ee2d7e, 0xcddbb1da, 0x01c94910, +0xb868bf80, 0x0d26f3fd, 0x9342ede7, 0x04a5c284, 0x636737b6, 0x50f5b616, 0xf24766e3, 0x8eca36c1, +0x136e05db, 0xfef18391, 0xfb887a37, 0xd6e7f7d4, 0xc7fb7dc9, 0x3063fcdf, 0xb6f589de, 0xec2941da, +0x26e46695, 0xb7566419, 0xf654efc5, 0xd08d58b7, 0x48925401, 0xc1bacb7f, 0xe5ff550f, 0xb6083049, +0x5bb5d0e8, 0x87d72e5a, 0xab6a6ee1, 0x223a66ce, 0xc62bf3cd, 0x9e0885f9, 0x68cb3e47, 0x086c010f, +0xa21de820, 0xd18b69de, 0xf3f65777, 0xfa02c3f6, 0x407edac3, 0xcbb3d550, 0x1793084d, 0xb0d70eba, +0x0ab378d5, 0xd951fb0c, 0xded7da56, 0x4124bbe4, 0x94ca0b56, 0x0f5755d1, 0xe0e1e56e, 0x6184b5be, +0x580a249f, 0x94f74bc0, 0xe327888e, 0x9f7b5561, 0xc3dc0280, 0x05687715, 0x646c6bd7, 0x44904db3, +0x66b4f0a3, 0xc0f1648a, 0x697ed5af, 0x49e92ff6, 0x309e374f, 0x2cb6356a, 0x85808573, 0x4991f840, +0x76f0ae02, 0x083be84d, 0x28421c9a, 0x44489406, 0x736e4cb8, 0xc1092910, 0x8bc95fc6, 0x7d869cf4, +0x134f616f, 0x2e77118d, 0xb31b2be1, 0xaa90b472, 0x3ca5d717, 0x7d161bba, 0x9cad9010, 0xaf462ba2, +0x9fe459d2, 0x45d34559, 0xd9f2da13, 0xdbc65487, 0xf3e4f94e, 0x176d486f, 0x097c13ea, 0x631da5c7, +0x445f7382, 0x175683f4, 0xcdc66a97, 0x70be0288, 0xb3cdcf72, 0x6e5dd2f3, 0x20936079, 0x459b80a5, +0xbe60e2db, 0xa9c23101, 0xeba5315c, 0x224e42f2, 0x1c5c1572, 0xf6721b2c, 0x1ad2fff3, 0x8c25404e, +0x324ed72f, 0x4067b7fd, 0x0523138e, 0x5ca3bc78, 0xdc0fd66e, 0x75922283, 0x784d6b17, 0x58ebb16e, +0x44094f85, 0x3f481d87, 0xfcfeae7b, 0x77b5ff76, 0x8c2302bf, 0xaaf47556, 0x5f46b02a, 0x2b092801, +0x3d38f5f7, 0x0ca81f36, 0x52af4a8a, 0x66d5e7c0, 0xdf3b0874, 0x95055110, 0x1b5ad7a8, 0xf61ed5ad, +0x6cf6e479, 0x20758184, 0xd0cefa65, 0x88f7be58, 0x4a046826, 0x0ff6f8f3, 0xa09c7f70, 0x5346aba0, +0x5ce96c28, 0xe176eda3, 0x6bac307f, 0x376829d2, 0x85360fa9, 0x17e3fe2a, 0x24b79767, 0xf5a96b20, +0xd6cd2595, 0x68ff1ebf, 0x7555442c, 0xf19f06be, 0xf9e0659a, 0xeeb9491d, 0x34010718, 0xbb30cab8, +0xe822fe15, 0x88570983, 0x750e6249, 0xda627e55, 0x5e76ffa8, 0xb1534546, 0x6d47de08, 0xefe9e7d4 +}; +static const u32 s6[256] = { +0xf6fa8f9d, 0x2cac6ce1, 0x4ca34867, 0xe2337f7c, 0x95db08e7, 0x016843b4, 0xeced5cbc, 0x325553ac, +0xbf9f0960, 0xdfa1e2ed, 0x83f0579d, 0x63ed86b9, 0x1ab6a6b8, 0xde5ebe39, 0xf38ff732, 0x8989b138, +0x33f14961, 0xc01937bd, 0xf506c6da, 0xe4625e7e, 0xa308ea99, 0x4e23e33c, 0x79cbd7cc, 0x48a14367, +0xa3149619, 0xfec94bd5, 0xa114174a, 0xeaa01866, 0xa084db2d, 0x09a8486f, 0xa888614a, 0x2900af98, +0x01665991, 0xe1992863, 0xc8f30c60, 0x2e78ef3c, 0xd0d51932, 0xcf0fec14, 0xf7ca07d2, 0xd0a82072, +0xfd41197e, 0x9305a6b0, 0xe86be3da, 0x74bed3cd, 0x372da53c, 0x4c7f4448, 0xdab5d440, 0x6dba0ec3, +0x083919a7, 0x9fbaeed9, 0x49dbcfb0, 0x4e670c53, 0x5c3d9c01, 0x64bdb941, 0x2c0e636a, 0xba7dd9cd, +0xea6f7388, 0xe70bc762, 0x35f29adb, 0x5c4cdd8d, 0xf0d48d8c, 0xb88153e2, 0x08a19866, 0x1ae2eac8, +0x284caf89, 0xaa928223, 0x9334be53, 0x3b3a21bf, 0x16434be3, 0x9aea3906, 0xefe8c36e, 0xf890cdd9, +0x80226dae, 0xc340a4a3, 0xdf7e9c09, 0xa694a807, 0x5b7c5ecc, 0x221db3a6, 0x9a69a02f, 0x68818a54, +0xceb2296f, 0x53c0843a, 0xfe893655, 0x25bfe68a, 0xb4628abc, 0xcf222ebf, 0x25ac6f48, 0xa9a99387, +0x53bddb65, 0xe76ffbe7, 0xe967fd78, 0x0ba93563, 0x8e342bc1, 0xe8a11be9, 0x4980740d, 0xc8087dfc, +0x8de4bf99, 0xa11101a0, 0x7fd37975, 0xda5a26c0, 0xe81f994f, 0x9528cd89, 0xfd339fed, 0xb87834bf, +0x5f04456d, 0x22258698, 0xc9c4c83b, 0x2dc156be, 0x4f628daa, 0x57f55ec5, 0xe2220abe, 0xd2916ebf, +0x4ec75b95, 0x24f2c3c0, 0x42d15d99, 0xcd0d7fa0, 0x7b6e27ff, 0xa8dc8af0, 0x7345c106, 0xf41e232f, +0x35162386, 0xe6ea8926, 0x3333b094, 0x157ec6f2, 0x372b74af, 0x692573e4, 0xe9a9d848, 0xf3160289, +0x3a62ef1d, 0xa787e238, 0xf3a5f676, 0x74364853, 0x20951063, 0x4576698d, 0xb6fad407, 0x592af950, +0x36f73523, 0x4cfb6e87, 0x7da4cec0, 0x6c152daa, 0xcb0396a8, 0xc50dfe5d, 0xfcd707ab, 0x0921c42f, +0x89dff0bb, 0x5fe2be78, 0x448f4f33, 0x754613c9, 0x2b05d08d, 0x48b9d585, 0xdc049441, 0xc8098f9b, +0x7dede786, 0xc39a3373, 0x42410005, 0x6a091751, 0x0ef3c8a6, 0x890072d6, 0x28207682, 0xa9a9f7be, +0xbf32679d, 0xd45b5b75, 0xb353fd00, 0xcbb0e358, 0x830f220a, 0x1f8fb214, 0xd372cf08, 0xcc3c4a13, +0x8cf63166, 0x061c87be, 0x88c98f88, 0x6062e397, 0x47cf8e7a, 0xb6c85283, 0x3cc2acfb, 0x3fc06976, +0x4e8f0252, 0x64d8314d, 0xda3870e3, 0x1e665459, 0xc10908f0, 0x513021a5, 0x6c5b68b7, 0x822f8aa0, +0x3007cd3e, 0x74719eef, 0xdc872681, 0x073340d4, 0x7e432fd9, 0x0c5ec241, 0x8809286c, 0xf592d891, +0x08a930f6, 0x957ef305, 0xb7fbffbd, 0xc266e96f, 0x6fe4ac98, 0xb173ecc0, 0xbc60b42a, 0x953498da, +0xfba1ae12, 0x2d4bd736, 0x0f25faab, 0xa4f3fceb, 0xe2969123, 0x257f0c3d, 0x9348af49, 0x361400bc, +0xe8816f4a, 0x3814f200, 0xa3f94043, 0x9c7a54c2, 0xbc704f57, 0xda41e7f9, 0xc25ad33a, 0x54f4a084, +0xb17f5505, 0x59357cbe, 0xedbd15c8, 0x7f97c5ab, 0xba5ac7b5, 0xb6f6deaf, 0x3a479c3a, 0x5302da25, +0x653d7e6a, 0x54268d49, 0x51a477ea, 0x5017d55b, 0xd7d25d88, 0x44136c76, 0x0404a8c8, 0xb8e5a121, +0xb81a928a, 0x60ed5869, 0x97c55b96, 0xeaec991b, 0x29935913, 0x01fdb7f1, 0x088e8dfa, 0x9ab6f6f5, +0x3b4cbf9f, 0x4a5de3ab, 0xe6051d35, 0xa0e1d855, 0xd36b4cf1, 0xf544edeb, 0xb0e93524, 0xbebb8fbd, +0xa2d762cf, 0x49c92f54, 0x38b5f331, 0x7128a454, 0x48392905, 0xa65b1db8, 0x851c97bd, 0xd675cf2f +}; +static const u32 s7[256] = { +0x85e04019, 0x332bf567, 0x662dbfff, 0xcfc65693, 0x2a8d7f6f, 0xab9bc912, 0xde6008a1, 0x2028da1f, +0x0227bce7, 0x4d642916, 0x18fac300, 0x50f18b82, 0x2cb2cb11, 0xb232e75c, 0x4b3695f2, 0xb28707de, +0xa05fbcf6, 0xcd4181e9, 0xe150210c, 0xe24ef1bd, 0xb168c381, 0xfde4e789, 0x5c79b0d8, 0x1e8bfd43, +0x4d495001, 0x38be4341, 0x913cee1d, 0x92a79c3f, 0x089766be, 0xbaeeadf4, 0x1286becf, 0xb6eacb19, +0x2660c200, 0x7565bde4, 0x64241f7a, 0x8248dca9, 0xc3b3ad66, 0x28136086, 0x0bd8dfa8, 0x356d1cf2, +0x107789be, 0xb3b2e9ce, 0x0502aa8f, 0x0bc0351e, 0x166bf52a, 0xeb12ff82, 0xe3486911, 0xd34d7516, +0x4e7b3aff, 0x5f43671b, 0x9cf6e037, 0x4981ac83, 0x334266ce, 0x8c9341b7, 0xd0d854c0, 0xcb3a6c88, +0x47bc2829, 0x4725ba37, 0xa66ad22b, 0x7ad61f1e, 0x0c5cbafa, 0x4437f107, 0xb6e79962, 0x42d2d816, +0x0a961288, 0xe1a5c06e, 0x13749e67, 0x72fc081a, 0xb1d139f7, 0xf9583745, 0xcf19df58, 0xbec3f756, +0xc06eba30, 0x07211b24, 0x45c28829, 0xc95e317f, 0xbc8ec511, 0x38bc46e9, 0xc6e6fa14, 0xbae8584a, +0xad4ebc46, 0x468f508b, 0x7829435f, 0xf124183b, 0x821dba9f, 0xaff60ff4, 0xea2c4e6d, 0x16e39264, +0x92544a8b, 0x009b4fc3, 0xaba68ced, 0x9ac96f78, 0x06a5b79a, 0xb2856e6e, 0x1aec3ca9, 0xbe838688, +0x0e0804e9, 0x55f1be56, 0xe7e5363b, 0xb3a1f25d, 0xf7debb85, 0x61fe033c, 0x16746233, 0x3c034c28, +0xda6d0c74, 0x79aac56c, 0x3ce4e1ad, 0x51f0c802, 0x98f8f35a, 0x1626a49f, 0xeed82b29, 0x1d382fe3, +0x0c4fb99a, 0xbb325778, 0x3ec6d97b, 0x6e77a6a9, 0xcb658b5c, 0xd45230c7, 0x2bd1408b, 0x60c03eb7, +0xb9068d78, 0xa33754f4, 0xf430c87d, 0xc8a71302, 0xb96d8c32, 0xebd4e7be, 0xbe8b9d2d, 0x7979fb06, +0xe7225308, 0x8b75cf77, 0x11ef8da4, 0xe083c858, 0x8d6b786f, 0x5a6317a6, 0xfa5cf7a0, 0x5dda0033, +0xf28ebfb0, 0xf5b9c310, 0xa0eac280, 0x08b9767a, 0xa3d9d2b0, 0x79d34217, 0x021a718d, 0x9ac6336a, +0x2711fd60, 0x438050e3, 0x069908a8, 0x3d7fedc4, 0x826d2bef, 0x4eeb8476, 0x488dcf25, 0x36c9d566, +0x28e74e41, 0xc2610aca, 0x3d49a9cf, 0xbae3b9df, 0xb65f8de6, 0x92aeaf64, 0x3ac7d5e6, 0x9ea80509, +0xf22b017d, 0xa4173f70, 0xdd1e16c3, 0x15e0d7f9, 0x50b1b887, 0x2b9f4fd5, 0x625aba82, 0x6a017962, +0x2ec01b9c, 0x15488aa9, 0xd716e740, 0x40055a2c, 0x93d29a22, 0xe32dbf9a, 0x058745b9, 0x3453dc1e, +0xd699296e, 0x496cff6f, 0x1c9f4986, 0xdfe2ed07, 0xb87242d1, 0x19de7eae, 0x053e561a, 0x15ad6f8c, +0x66626c1c, 0x7154c24c, 0xea082b2a, 0x93eb2939, 0x17dcb0f0, 0x58d4f2ae, 0x9ea294fb, 0x52cf564c, +0x9883fe66, 0x2ec40581, 0x763953c3, 0x01d6692e, 0xd3a0c108, 0xa1e7160e, 0xe4f2dfa6, 0x693ed285, +0x74904698, 0x4c2b0edd, 0x4f757656, 0x5d393378, 0xa132234f, 0x3d321c5d, 0xc3f5e194, 0x4b269301, +0xc79f022f, 0x3c997e7e, 0x5e4f9504, 0x3ffafbbd, 0x76f7ad0e, 0x296693f4, 0x3d1fce6f, 0xc61e45be, +0xd3b5ab34, 0xf72bf9b7, 0x1b0434c0, 0x4e72b567, 0x5592a33d, 0xb5229301, 0xcfd2a87f, 0x60aeb767, +0x1814386b, 0x30bcc33d, 0x38a0c07d, 0xfd1606f2, 0xc363519b, 0x589dd390, 0x5479f8e6, 0x1cb8d647, +0x97fd61a9, 0xea7759f4, 0x2d57539d, 0x569a58cf, 0xe84e63ad, 0x462e1b78, 0x6580f87e, 0xf3817914, +0x91da55f4, 0x40a230f3, 0xd1988f35, 0xb6e318d2, 0x3ffa50bc, 0x3d40f021, 0xc3c0bdae, 0x4958c24c, +0x518f36b2, 0x84b1d370, 0x0fedce83, 0x878ddada, 0xf2a279c7, 0x94e01be8, 0x90716f4b, 0x954b8aa3 +}; +static const u32 s8[256] = { +0xe216300d, 0xbbddfffc, 0xa7ebdabd, 0x35648095, 0x7789f8b7, 0xe6c1121b, 0x0e241600, 0x052ce8b5, +0x11a9cfb0, 0xe5952f11, 0xece7990a, 0x9386d174, 0x2a42931c, 0x76e38111, 0xb12def3a, 0x37ddddfc, +0xde9adeb1, 0x0a0cc32c, 0xbe197029, 0x84a00940, 0xbb243a0f, 0xb4d137cf, 0xb44e79f0, 0x049eedfd, +0x0b15a15d, 0x480d3168, 0x8bbbde5a, 0x669ded42, 0xc7ece831, 0x3f8f95e7, 0x72df191b, 0x7580330d, +0x94074251, 0x5c7dcdfa, 0xabbe6d63, 0xaa402164, 0xb301d40a, 0x02e7d1ca, 0x53571dae, 0x7a3182a2, +0x12a8ddec, 0xfdaa335d, 0x176f43e8, 0x71fb46d4, 0x38129022, 0xce949ad4, 0xb84769ad, 0x965bd862, +0x82f3d055, 0x66fb9767, 0x15b80b4e, 0x1d5b47a0, 0x4cfde06f, 0xc28ec4b8, 0x57e8726e, 0x647a78fc, +0x99865d44, 0x608bd593, 0x6c200e03, 0x39dc5ff6, 0x5d0b00a3, 0xae63aff2, 0x7e8bd632, 0x70108c0c, +0xbbd35049, 0x2998df04, 0x980cf42a, 0x9b6df491, 0x9e7edd53, 0x06918548, 0x58cb7e07, 0x3b74ef2e, +0x522fffb1, 0xd24708cc, 0x1c7e27cd, 0xa4eb215b, 0x3cf1d2e2, 0x19b47a38, 0x424f7618, 0x35856039, +0x9d17dee7, 0x27eb35e6, 0xc9aff67b, 0x36baf5b8, 0x09c467cd, 0xc18910b1, 0xe11dbf7b, 0x06cd1af8, +0x7170c608, 0x2d5e3354, 0xd4de495a, 0x64c6d006, 0xbcc0c62c, 0x3dd00db3, 0x708f8f34, 0x77d51b42, +0x264f620f, 0x24b8d2bf, 0x15c1b79e, 0x46a52564, 0xf8d7e54e, 0x3e378160, 0x7895cda5, 0x859c15a5, +0xe6459788, 0xc37bc75f, 0xdb07ba0c, 0x0676a3ab, 0x7f229b1e, 0x31842e7b, 0x24259fd7, 0xf8bef472, +0x835ffcb8, 0x6df4c1f2, 0x96f5b195, 0xfd0af0fc, 0xb0fe134c, 0xe2506d3d, 0x4f9b12ea, 0xf215f225, +0xa223736f, 0x9fb4c428, 0x25d04979, 0x34c713f8, 0xc4618187, 0xea7a6e98, 0x7cd16efc, 0x1436876c, +0xf1544107, 0xbedeee14, 0x56e9af27, 0xa04aa441, 0x3cf7c899, 0x92ecbae6, 0xdd67016d, 0x151682eb, +0xa842eedf, 0xfdba60b4, 0xf1907b75, 0x20e3030f, 0x24d8c29e, 0xe139673b, 0xefa63fb8, 0x71873054, +0xb6f2cf3b, 0x9f326442, 0xcb15a4cc, 0xb01a4504, 0xf1e47d8d, 0x844a1be5, 0xbae7dfdc, 0x42cbda70, +0xcd7dae0a, 0x57e85b7a, 0xd53f5af6, 0x20cf4d8c, 0xcea4d428, 0x79d130a4, 0x3486ebfb, 0x33d3cddc, +0x77853b53, 0x37effcb5, 0xc5068778, 0xe580b3e6, 0x4e68b8f4, 0xc5c8b37e, 0x0d809ea2, 0x398feb7c, +0x132a4f94, 0x43b7950e, 0x2fee7d1c, 0x223613bd, 0xdd06caa2, 0x37df932b, 0xc4248289, 0xacf3ebc3, +0x5715f6b7, 0xef3478dd, 0xf267616f, 0xc148cbe4, 0x9052815e, 0x5e410fab, 0xb48a2465, 0x2eda7fa4, +0xe87b40e4, 0xe98ea084, 0x5889e9e1, 0xefd390fc, 0xdd07d35b, 0xdb485694, 0x38d7e5b2, 0x57720101, +0x730edebc, 0x5b643113, 0x94917e4f, 0x503c2fba, 0x646f1282, 0x7523d24a, 0xe0779695, 0xf9c17a8f, +0x7a5b2121, 0xd187b896, 0x29263a4d, 0xba510cdf, 0x81f47c9f, 0xad1163ed, 0xea7b5965, 0x1a00726e, +0x11403092, 0x00da6d77, 0x4a0cdd61, 0xad1f4603, 0x605bdfb0, 0x9eedc364, 0x22ebe6a8, 0xcee7d28a, +0xa0e736a0, 0x5564a6b9, 0x10853209, 0xc7eb8f37, 0x2de705ca, 0x8951570f, 0xdf09822b, 0xbd691a6c, +0xaa12e4f2, 0x87451c0f, 0xe0f6a27a, 0x3ada4819, 0x4cf1764f, 0x0d771c2b, 0x67cdb156, 0x350d8384, +0x5938fa0f, 0x42399ef3, 0x36997b07, 0x0e84093d, 0x4aa93e61, 0x8360d87b, 0x1fa98b0c, 0x1149382c, +0xe97625a5, 0x0614d1b7, 0x0e25244b, 0x0c768347, 0x589e8d82, 0x0d2059d1, 0xa466bb1e, 0xf8da0a82, +0x04f19130, 0xba6e4ec0, 0x99265164, 0x1ee7230d, 0x50b2ad80, 0xeaee6801, 0x8db2a283, 0xea8bf59e +}; + + +#if defined(__GNUC__) && defined(__i386__) +static inline u32 +rol(int n, u32 x) +{ + __asm__("roll %%cl,%0" + :"=r" (x) + :"0" (x),"c" (n)); + return x; +} +#else +#define rol(n,x) ( ((x) << (n)) | ((x) >> (32-(n))) ) +#endif + +#define F1(D,m,r) ( (I = ((m) + (D))), (I=rol((r),I)), \ + (((s1[I >> 24] ^ s2[(I>>16)&0xff]) - s3[(I>>8)&0xff]) + s4[I&0xff]) ) +#define F2(D,m,r) ( (I = ((m) ^ (D))), (I=rol((r),I)), \ + (((s1[I >> 24] - s2[(I>>16)&0xff]) + s3[(I>>8)&0xff]) ^ s4[I&0xff]) ) +#define F3(D,m,r) ( (I = ((m) - (D))), (I=rol((r),I)), \ + (((s1[I >> 24] + s2[(I>>16)&0xff]) ^ s3[(I>>8)&0xff]) - s4[I&0xff]) ) + +static void +do_encrypt_block( CAST5_context *c, byte *outbuf, const byte *inbuf ) +{ + u32 l, r, t; + u32 I; /* used by the Fx macros */ + u32 *Km; + byte *Kr; + + Km = c->Km; + Kr = c->Kr; + + /* (L0,R0) <-- (m1...m64). (Split the plaintext into left and + * right 32-bit halves L0 = m1...m32 and R0 = m33...m64.) + */ + l = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; + r = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; + + /* (16 rounds) for i from 1 to 16, compute Li and Ri as follows: + * Li = Ri-1; + * Ri = Li-1 ^ f(Ri-1,Kmi,Kri), where f is defined in Section 2.2 + * Rounds 1, 4, 7, 10, 13, and 16 use f function Type 1. + * Rounds 2, 5, 8, 11, and 14 use f function Type 2. + * Rounds 3, 6, 9, 12, and 15 use f function Type 3. + */ + + t = l; l = r; r = t ^ F1(r, Km[ 0], Kr[ 0]); + t = l; l = r; r = t ^ F2(r, Km[ 1], Kr[ 1]); + t = l; l = r; r = t ^ F3(r, Km[ 2], Kr[ 2]); + t = l; l = r; r = t ^ F1(r, Km[ 3], Kr[ 3]); + t = l; l = r; r = t ^ F2(r, Km[ 4], Kr[ 4]); + t = l; l = r; r = t ^ F3(r, Km[ 5], Kr[ 5]); + t = l; l = r; r = t ^ F1(r, Km[ 6], Kr[ 6]); + t = l; l = r; r = t ^ F2(r, Km[ 7], Kr[ 7]); + t = l; l = r; r = t ^ F3(r, Km[ 8], Kr[ 8]); + t = l; l = r; r = t ^ F1(r, Km[ 9], Kr[ 9]); + t = l; l = r; r = t ^ F2(r, Km[10], Kr[10]); + t = l; l = r; r = t ^ F3(r, Km[11], Kr[11]); + t = l; l = r; r = t ^ F1(r, Km[12], Kr[12]); + t = l; l = r; r = t ^ F2(r, Km[13], Kr[13]); + t = l; l = r; r = t ^ F3(r, Km[14], Kr[14]); + t = l; l = r; r = t ^ F1(r, Km[15], Kr[15]); + + /* c1...c64 <-- (R16,L16). (Exchange final blocks L16, R16 and + * concatenate to form the ciphertext.) */ + outbuf[0] = (r >> 24) & 0xff; + outbuf[1] = (r >> 16) & 0xff; + outbuf[2] = (r >> 8) & 0xff; + outbuf[3] = r & 0xff; + outbuf[4] = (l >> 24) & 0xff; + outbuf[5] = (l >> 16) & 0xff; + outbuf[6] = (l >> 8) & 0xff; + outbuf[7] = l & 0xff; +} + +static void +encrypt_block (void *context , byte *outbuf, const byte *inbuf) +{ + CAST5_context *c = (CAST5_context *) context; + do_encrypt_block (c, outbuf, inbuf); + _gcry_burn_stack (20+4*sizeof(void*)); +} + + +static void +do_decrypt_block (CAST5_context *c, byte *outbuf, const byte *inbuf ) +{ + u32 l, r, t; + u32 I; + u32 *Km; + byte *Kr; + + Km = c->Km; + Kr = c->Kr; + + l = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; + r = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; + + t = l; l = r; r = t ^ F1(r, Km[15], Kr[15]); + t = l; l = r; r = t ^ F3(r, Km[14], Kr[14]); + t = l; l = r; r = t ^ F2(r, Km[13], Kr[13]); + t = l; l = r; r = t ^ F1(r, Km[12], Kr[12]); + t = l; l = r; r = t ^ F3(r, Km[11], Kr[11]); + t = l; l = r; r = t ^ F2(r, Km[10], Kr[10]); + t = l; l = r; r = t ^ F1(r, Km[ 9], Kr[ 9]); + t = l; l = r; r = t ^ F3(r, Km[ 8], Kr[ 8]); + t = l; l = r; r = t ^ F2(r, Km[ 7], Kr[ 7]); + t = l; l = r; r = t ^ F1(r, Km[ 6], Kr[ 6]); + t = l; l = r; r = t ^ F3(r, Km[ 5], Kr[ 5]); + t = l; l = r; r = t ^ F2(r, Km[ 4], Kr[ 4]); + t = l; l = r; r = t ^ F1(r, Km[ 3], Kr[ 3]); + t = l; l = r; r = t ^ F3(r, Km[ 2], Kr[ 2]); + t = l; l = r; r = t ^ F2(r, Km[ 1], Kr[ 1]); + t = l; l = r; r = t ^ F1(r, Km[ 0], Kr[ 0]); + + outbuf[0] = (r >> 24) & 0xff; + outbuf[1] = (r >> 16) & 0xff; + outbuf[2] = (r >> 8) & 0xff; + outbuf[3] = r & 0xff; + outbuf[4] = (l >> 24) & 0xff; + outbuf[5] = (l >> 16) & 0xff; + outbuf[6] = (l >> 8) & 0xff; + outbuf[7] = l & 0xff; +} + +static void +decrypt_block (void *context, byte *outbuf, const byte *inbuf) +{ + CAST5_context *c = (CAST5_context *) context; + do_decrypt_block (c, outbuf, inbuf); + _gcry_burn_stack (20+4*sizeof(void*)); +} + + + + +static void +key_schedule( u32 *x, u32 *z, u32 *k ) +{ + +#define xi(i) ((x[(i)/4] >> (8*(3-((i)%4)))) & 0xff) +#define zi(i) ((z[(i)/4] >> (8*(3-((i)%4)))) & 0xff) + + z[0] = x[0] ^ s5[xi(13)]^s6[xi(15)]^s7[xi(12)]^s8[xi(14)]^s7[xi( 8)]; + z[1] = x[2] ^ s5[zi( 0)]^s6[zi( 2)]^s7[zi( 1)]^s8[zi( 3)]^s8[xi(10)]; + z[2] = x[3] ^ s5[zi( 7)]^s6[zi( 6)]^s7[zi( 5)]^s8[zi( 4)]^s5[xi( 9)]; + z[3] = x[1] ^ s5[zi(10)]^s6[zi( 9)]^s7[zi(11)]^s8[zi( 8)]^s6[xi(11)]; + k[0] = s5[zi( 8)]^s6[zi( 9)]^s7[zi( 7)]^s8[zi( 6)]^s5[zi( 2)]; + k[1] = s5[zi(10)]^s6[zi(11)]^s7[zi( 5)]^s8[zi( 4)]^s6[zi( 6)]; + k[2] = s5[zi(12)]^s6[zi(13)]^s7[zi( 3)]^s8[zi( 2)]^s7[zi( 9)]; + k[3] = s5[zi(14)]^s6[zi(15)]^s7[zi( 1)]^s8[zi( 0)]^s8[zi(12)]; + + x[0] = z[2] ^ s5[zi( 5)]^s6[zi( 7)]^s7[zi( 4)]^s8[zi( 6)]^s7[zi( 0)]; + x[1] = z[0] ^ s5[xi( 0)]^s6[xi( 2)]^s7[xi( 1)]^s8[xi( 3)]^s8[zi( 2)]; + x[2] = z[1] ^ s5[xi( 7)]^s6[xi( 6)]^s7[xi( 5)]^s8[xi( 4)]^s5[zi( 1)]; + x[3] = z[3] ^ s5[xi(10)]^s6[xi( 9)]^s7[xi(11)]^s8[xi( 8)]^s6[zi( 3)]; + k[4] = s5[xi( 3)]^s6[xi( 2)]^s7[xi(12)]^s8[xi(13)]^s5[xi( 8)]; + k[5] = s5[xi( 1)]^s6[xi( 0)]^s7[xi(14)]^s8[xi(15)]^s6[xi(13)]; + k[6] = s5[xi( 7)]^s6[xi( 6)]^s7[xi( 8)]^s8[xi( 9)]^s7[xi( 3)]; + k[7] = s5[xi( 5)]^s6[xi( 4)]^s7[xi(10)]^s8[xi(11)]^s8[xi( 7)]; + + z[0] = x[0] ^ s5[xi(13)]^s6[xi(15)]^s7[xi(12)]^s8[xi(14)]^s7[xi( 8)]; + z[1] = x[2] ^ s5[zi( 0)]^s6[zi( 2)]^s7[zi( 1)]^s8[zi( 3)]^s8[xi(10)]; + z[2] = x[3] ^ s5[zi( 7)]^s6[zi( 6)]^s7[zi( 5)]^s8[zi( 4)]^s5[xi( 9)]; + z[3] = x[1] ^ s5[zi(10)]^s6[zi( 9)]^s7[zi(11)]^s8[zi( 8)]^s6[xi(11)]; + k[8] = s5[zi( 3)]^s6[zi( 2)]^s7[zi(12)]^s8[zi(13)]^s5[zi( 9)]; + k[9] = s5[zi( 1)]^s6[zi( 0)]^s7[zi(14)]^s8[zi(15)]^s6[zi(12)]; + k[10]= s5[zi( 7)]^s6[zi( 6)]^s7[zi( 8)]^s8[zi( 9)]^s7[zi( 2)]; + k[11]= s5[zi( 5)]^s6[zi( 4)]^s7[zi(10)]^s8[zi(11)]^s8[zi( 6)]; + + x[0] = z[2] ^ s5[zi( 5)]^s6[zi( 7)]^s7[zi( 4)]^s8[zi( 6)]^s7[zi( 0)]; + x[1] = z[0] ^ s5[xi( 0)]^s6[xi( 2)]^s7[xi( 1)]^s8[xi( 3)]^s8[zi( 2)]; + x[2] = z[1] ^ s5[xi( 7)]^s6[xi( 6)]^s7[xi( 5)]^s8[xi( 4)]^s5[zi( 1)]; + x[3] = z[3] ^ s5[xi(10)]^s6[xi( 9)]^s7[xi(11)]^s8[xi( 8)]^s6[zi( 3)]; + k[12]= s5[xi( 8)]^s6[xi( 9)]^s7[xi( 7)]^s8[xi( 6)]^s5[xi( 3)]; + k[13]= s5[xi(10)]^s6[xi(11)]^s7[xi( 5)]^s8[xi( 4)]^s6[xi( 7)]; + k[14]= s5[xi(12)]^s6[xi(13)]^s7[xi( 3)]^s8[xi( 2)]^s7[xi( 8)]; + k[15]= s5[xi(14)]^s6[xi(15)]^s7[xi( 1)]^s8[xi( 0)]^s8[xi(13)]; + +#undef xi +#undef zi +} + + +static gcry_err_code_t +do_cast_setkey( CAST5_context *c, const byte *key, unsigned keylen ) +{ + static int initialized; + static const char* selftest_failed; + int i; + u32 x[4]; + u32 z[4]; + u32 k[16]; + + if( !initialized ) + { + initialized = 1; + selftest_failed = selftest(); + if( selftest_failed ) + log_error ("CAST5 selftest failed (%s).\n", selftest_failed ); + } + if( selftest_failed ) + return GPG_ERR_SELFTEST_FAILED; + + if( keylen != 16 ) + return GPG_ERR_INV_KEYLEN; + + x[0] = key[0] << 24 | key[1] << 16 | key[2] << 8 | key[3]; + x[1] = key[4] << 24 | key[5] << 16 | key[6] << 8 | key[7]; + x[2] = key[8] << 24 | key[9] << 16 | key[10] << 8 | key[11]; + x[3] = key[12] << 24 | key[13] << 16 | key[14] << 8 | key[15]; + + key_schedule( x, z, k ); + for(i=0; i < 16; i++ ) + c->Km[i] = k[i]; + key_schedule( x, z, k ); + for(i=0; i < 16; i++ ) + c->Kr[i] = k[i] & 0x1f; + + memset(&x,0, sizeof x); + memset(&z,0, sizeof z); + memset(&k,0, sizeof k); + +#undef xi +#undef zi + return GPG_ERR_NO_ERROR; +} + +static gcry_err_code_t +cast_setkey (void *context, const byte *key, unsigned keylen ) +{ + CAST5_context *c = (CAST5_context *) context; + gcry_err_code_t rc = do_cast_setkey (c, key, keylen); + _gcry_burn_stack (96+7*sizeof(void*)); + return rc; +} + + +gcry_cipher_spec_t _gcry_cipher_spec_cast5 = + { + "CAST5", NULL, NULL, CAST5_BLOCKSIZE, 128, sizeof (CAST5_context), + cast_setkey, encrypt_block, decrypt_block + }; + + +GRUB_MOD_INIT(gcry_cast5) +{ + grub_cipher_register (&_gcry_cipher_spec_cast5); +} + +GRUB_MOD_FINI(gcry_cast5) +{ + grub_cipher_unregister (&_gcry_cipher_spec_cast5); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/cipher.h b/grub-core/lib/libgcrypt-grub/cipher/cipher.h new file mode 100644 index 0000000..73c6779 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/cipher.h @@ -0,0 +1,2 @@ +#include +#include diff --git a/grub-core/lib/libgcrypt-grub/cipher/crc.c b/grub-core/lib/libgcrypt-grub/cipher/crc.c new file mode 100644 index 0000000..e0f2bf2 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/crc.c @@ -0,0 +1,318 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* crc.c - Cyclic redundancy checks. + * Copyright (C) 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + */ + + +#include "g10lib.h" +#include "memory.h" +#include "cipher.h" + +#include "bithelp.h" + +/* Table of CRCs of all 8-bit messages. Generated by running code + from RFC 1952 modified to print out the table. */ +static u32 crc32_table[256] = { + 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, + 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, + 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2, + 0xf3b97148, 0x84be41de, 0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7, + 0x136c9856, 0x646ba8c0, 0xfd62f97a, 0x8a65c9ec, 0x14015c4f, 0x63066cd9, + 0xfa0f3d63, 0x8d080df5, 0x3b6e20c8, 0x4c69105e, 0xd56041e4, 0xa2677172, + 0x3c03e4d1, 0x4b04d447, 0xd20d85fd, 0xa50ab56b, 0x35b5a8fa, 0x42b2986c, + 0xdbbbc9d6, 0xacbcf940, 0x32d86ce3, 0x45df5c75, 0xdcd60dcf, 0xabd13d59, + 0x26d930ac, 0x51de003a, 0xc8d75180, 0xbfd06116, 0x21b4f4b5, 0x56b3c423, + 0xcfba9599, 0xb8bda50f, 0x2802b89e, 0x5f058808, 0xc60cd9b2, 0xb10be924, + 0x2f6f7c87, 0x58684c11, 0xc1611dab, 0xb6662d3d, 0x76dc4190, 0x01db7106, + 0x98d220bc, 0xefd5102a, 0x71b18589, 0x06b6b51f, 0x9fbfe4a5, 0xe8b8d433, + 0x7807c9a2, 0x0f00f934, 0x9609a88e, 0xe10e9818, 0x7f6a0dbb, 0x086d3d2d, + 0x91646c97, 0xe6635c01, 0x6b6b51f4, 0x1c6c6162, 0x856530d8, 0xf262004e, + 0x6c0695ed, 0x1b01a57b, 0x8208f4c1, 0xf50fc457, 0x65b0d9c6, 0x12b7e950, + 0x8bbeb8ea, 0xfcb9887c, 0x62dd1ddf, 0x15da2d49, 0x8cd37cf3, 0xfbd44c65, + 0x4db26158, 0x3ab551ce, 0xa3bc0074, 0xd4bb30e2, 0x4adfa541, 0x3dd895d7, + 0xa4d1c46d, 0xd3d6f4fb, 0x4369e96a, 0x346ed9fc, 0xad678846, 0xda60b8d0, + 0x44042d73, 0x33031de5, 0xaa0a4c5f, 0xdd0d7cc9, 0x5005713c, 0x270241aa, + 0xbe0b1010, 0xc90c2086, 0x5768b525, 0x206f85b3, 0xb966d409, 0xce61e49f, + 0x5edef90e, 0x29d9c998, 0xb0d09822, 0xc7d7a8b4, 0x59b33d17, 0x2eb40d81, + 0xb7bd5c3b, 0xc0ba6cad, 0xedb88320, 0x9abfb3b6, 0x03b6e20c, 0x74b1d29a, + 0xead54739, 0x9dd277af, 0x04db2615, 0x73dc1683, 0xe3630b12, 0x94643b84, + 0x0d6d6a3e, 0x7a6a5aa8, 0xe40ecf0b, 0x9309ff9d, 0x0a00ae27, 0x7d079eb1, + 0xf00f9344, 0x8708a3d2, 0x1e01f268, 0x6906c2fe, 0xf762575d, 0x806567cb, + 0x196c3671, 0x6e6b06e7, 0xfed41b76, 0x89d32be0, 0x10da7a5a, 0x67dd4acc, + 0xf9b9df6f, 0x8ebeeff9, 0x17b7be43, 0x60b08ed5, 0xd6d6a3e8, 0xa1d1937e, + 0x38d8c2c4, 0x4fdff252, 0xd1bb67f1, 0xa6bc5767, 0x3fb506dd, 0x48b2364b, + 0xd80d2bda, 0xaf0a1b4c, 0x36034af6, 0x41047a60, 0xdf60efc3, 0xa867df55, + 0x316e8eef, 0x4669be79, 0xcb61b38c, 0xbc66831a, 0x256fd2a0, 0x5268e236, + 0xcc0c7795, 0xbb0b4703, 0x220216b9, 0x5505262f, 0xc5ba3bbe, 0xb2bd0b28, + 0x2bb45a92, 0x5cb36a04, 0xc2d7ffa7, 0xb5d0cf31, 0x2cd99e8b, 0x5bdeae1d, + 0x9b64c2b0, 0xec63f226, 0x756aa39c, 0x026d930a, 0x9c0906a9, 0xeb0e363f, + 0x72076785, 0x05005713, 0x95bf4a82, 0xe2b87a14, 0x7bb12bae, 0x0cb61b38, + 0x92d28e9b, 0xe5d5be0d, 0x7cdcefb7, 0x0bdbdf21, 0x86d3d2d4, 0xf1d4e242, + 0x68ddb3f8, 0x1fda836e, 0x81be16cd, 0xf6b9265b, 0x6fb077e1, 0x18b74777, + 0x88085ae6, 0xff0f6a70, 0x66063bca, 0x11010b5c, 0x8f659eff, 0xf862ae69, + 0x616bffd3, 0x166ccf45, 0xa00ae278, 0xd70dd2ee, 0x4e048354, 0x3903b3c2, + 0xa7672661, 0xd06016f7, 0x4969474d, 0x3e6e77db, 0xaed16a4a, 0xd9d65adc, + 0x40df0b66, 0x37d83bf0, 0xa9bcae53, 0xdebb9ec5, 0x47b2cf7f, 0x30b5ffe9, + 0xbdbdf21c, 0xcabac28a, 0x53b39330, 0x24b4a3a6, 0xbad03605, 0xcdd70693, + 0x54de5729, 0x23d967bf, 0xb3667a2e, 0xc4614ab8, 0x5d681b02, 0x2a6f2b94, + 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d +}; + +/* + * The following function was extracted from RFC 1952 by Simon + * Josefsson, for the Shishi project, and modified to be compatible + * with the modified CRC-32 used by RFC 1510, and subsequently + * modified for GNU Libgcrypt to allow it to be used for calculating + * both unmodified CRC-32 and modified CRC-32 values. Original + * copyright and notice from the document follows: + * + * Copyright (c) 1996 L. Peter Deutsch + * + * Permission is granted to copy and distribute this document for + * any purpose and without charge, including translations into + * other languages and incorporation into compilations, provided + * that the copyright notice and this notice are preserved, and + * that any substantive changes or deletions from the original are + * clearly marked. + * + * The copyright on RFCs, and consequently the function below, are + * supposedly also retroactively claimed by the Internet Society + * (according to rfc-editor@rfc-editor.org), with the following + * copyright notice: + * + * Copyright (C) The Internet Society. All Rights Reserved. + * + * This document and translations of it may be copied and furnished + * to others, and derivative works that comment on or otherwise + * explain it or assist in its implementation may be prepared, + * copied, published and distributed, in whole or in part, without + * restriction of any kind, provided that the above copyright + * notice and this paragraph are included on all such copies and + * derivative works. However, this document itself may not be + * modified in any way, such as by removing the copyright notice or + * references to the Internet Society or other Internet + * organizations, except as needed for the purpose of developing + * Internet standards in which case the procedures for copyrights + * defined in the Internet Standards process must be followed, or + * as required to translate it into languages other than English. + * + * The limited permissions granted above are perpetual and will not be + * revoked by the Internet Society or its successors or assigns. + * + * This document and the information contained herein is provided + * on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET + * ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE + * OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY + * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A + * PARTICULAR PURPOSE. + * + */ +static u32 +update_crc32 (u32 crc, const void *buf_arg, size_t len) +{ + const char *buf = buf_arg; + size_t n; + + for (n = 0; n < len; n++) + crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8); + + return crc; +} + +typedef struct +{ + u32 CRC; + byte buf[4]; +} +CRC_CONTEXT; + +/* CRC32 */ + +static void +crc32_init (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + ctx->CRC = 0 ^ 0xffffffffL; +} + +static void +crc32_write (void *context, const void *inbuf, size_t inlen) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + if (!inbuf) + return; + ctx->CRC = update_crc32 (ctx->CRC, inbuf, inlen); +} + +static byte * +crc32_read (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + return ctx->buf; +} + +static void +crc32_final (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + ctx->CRC ^= 0xffffffffL; + ctx->buf[0] = (ctx->CRC >> 24) & 0xFF; + ctx->buf[1] = (ctx->CRC >> 16) & 0xFF; + ctx->buf[2] = (ctx->CRC >> 8) & 0xFF; + ctx->buf[3] = (ctx->CRC ) & 0xFF; +} + +/* CRC32 a'la RFC 1510 */ +static void +crc32rfc1510_init (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + ctx->CRC = 0; +} + +static void +crc32rfc1510_final (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + ctx->buf[0] = (ctx->CRC >> 24) & 0xFF; + ctx->buf[1] = (ctx->CRC >> 16) & 0xFF; + ctx->buf[2] = (ctx->CRC >> 8) & 0xFF; + ctx->buf[3] = (ctx->CRC ) & 0xFF; +} + +/* CRC24 a'la RFC 2440 */ +/* + * The following CRC 24 routines are adapted from RFC 2440, which has + * the following copyright notice: + * + * Copyright (C) The Internet Society (1998). All Rights Reserved. + * + * This document and translations of it may be copied and furnished + * to others, and derivative works that comment on or otherwise + * explain it or assist in its implementation may be prepared, + * copied, published and distributed, in whole or in part, without + * restriction of any kind, provided that the above copyright notice + * and this paragraph are included on all such copies and derivative + * works. However, this document itself may not be modified in any + * way, such as by removing the copyright notice or references to + * the Internet Society or other Internet organizations, except as + * needed for the purpose of developing Internet standards in which + * case the procedures for copyrights defined in the Internet + * Standards process must be followed, or as required to translate + * it into languages other than English. + * + * The limited permissions granted above are perpetual and will not be + * revoked by the Internet Society or its successors or assigns. + * + * This document and the information contained herein is provided on + * an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET + * ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE + * OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY + * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +#define CRC24_INIT 0xb704ceL +#define CRC24_POLY 0x1864cfbL + +static void +crc24rfc2440_init (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + ctx->CRC = CRC24_INIT; +} + +static void +crc24rfc2440_write (void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + int i; + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + + if (!inbuf) + return; + + while (inlen--) { + ctx->CRC ^= (*inbuf++) << 16; + for (i = 0; i < 8; i++) { + ctx->CRC <<= 1; + if (ctx->CRC & 0x1000000) + ctx->CRC ^= CRC24_POLY; + } + } +} + +static void +crc24rfc2440_final (void *context) +{ + CRC_CONTEXT *ctx = (CRC_CONTEXT *) context; + ctx->buf[0] = (ctx->CRC >> 16) & 0xFF; + ctx->buf[1] = (ctx->CRC >> 8) & 0xFF; + ctx->buf[2] = (ctx->CRC ) & 0xFF; +} + +gcry_md_spec_t _gcry_digest_spec_crc32 = + { + "CRC32", NULL, 0, NULL, 4, + crc32_init, crc32_write, crc32_final, crc32_read, + sizeof (CRC_CONTEXT) + , + .blocksize = 64 + }; + +gcry_md_spec_t _gcry_digest_spec_crc32_rfc1510 = + { + "CRC32RFC1510", NULL, 0, NULL, 4, + crc32rfc1510_init, crc32_write, + crc32rfc1510_final, crc32_read, + sizeof (CRC_CONTEXT) + , + .blocksize = 64 + }; + +gcry_md_spec_t _gcry_digest_spec_crc24_rfc2440 = + { + "CRC24RFC2440", NULL, 0, NULL, 3, + crc24rfc2440_init, crc24rfc2440_write, + crc24rfc2440_final, crc32_read, + sizeof (CRC_CONTEXT) + , + .blocksize = 64 + }; + + +GRUB_MOD_INIT(gcry_crc) +{ + grub_md_register (&_gcry_digest_spec_crc32); + grub_md_register (&_gcry_digest_spec_crc32_rfc1510); + grub_md_register (&_gcry_digest_spec_crc24_rfc2440); +} + +GRUB_MOD_FINI(gcry_crc) +{ + grub_md_unregister (&_gcry_digest_spec_crc32); + grub_md_unregister (&_gcry_digest_spec_crc32_rfc1510); + grub_md_unregister (&_gcry_digest_spec_crc24_rfc2440); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/crypto.lst b/grub-core/lib/libgcrypt-grub/cipher/crypto.lst new file mode 100644 index 0000000..5f33d7a --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/crypto.lst @@ -0,0 +1,38 @@ +RIJNDAEL: gcry_rijndael +RIJNDAEL192: gcry_rijndael +RIJNDAEL256: gcry_rijndael +AES128: gcry_rijndael +AES-128: gcry_rijndael +AES-192: gcry_rijndael +AES-256: gcry_rijndael +ARCFOUR: gcry_arcfour +BLOWFISH: gcry_blowfish +CAMELLIA128: gcry_camellia +CAMELLIA192: gcry_camellia +CAMELLIA256: gcry_camellia +CAST5: gcry_cast5 +CRC32: gcry_crc +CRC32RFC1510: gcry_crc +CRC24RFC2440: gcry_crc +DES: gcry_des +3DES: gcry_des +MD4: gcry_md4 +MD5: gcry_md5 +RFC2268_40: gcry_rfc2268 +AES: gcry_rijndael +AES192: gcry_rijndael +AES256: gcry_rijndael +RIPEMD160: gcry_rmd160 +SEED: gcry_seed +SERPENT128: gcry_serpent +SERPENT192: gcry_serpent +SERPENT256: gcry_serpent +SHA1: gcry_sha1 +SHA224: gcry_sha256 +SHA256: gcry_sha256 +SHA512: gcry_sha512 +SHA384: gcry_sha512 +TIGER192: gcry_tiger +TWOFISH: gcry_twofish +TWOFISH128: gcry_twofish +WHIRLPOOL: gcry_whirlpool diff --git a/grub-core/lib/libgcrypt-grub/cipher/des.c b/grub-core/lib/libgcrypt-grub/cipher/des.c new file mode 100644 index 0000000..48592df --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/des.c @@ -0,0 +1,923 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* des.c - DES and Triple-DES encryption/decryption Algorithm + * Copyright (C) 1998, 1999, 2001, 2002, 2003, + * 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * For a description of triple encryption, see: + * Bruce Schneier: Applied Cryptography. Second Edition. + * John Wiley & Sons, 1996. ISBN 0-471-12845-7. Pages 358 ff. + * This implementation is according to the definition of DES in FIPS + * PUB 46-2 from December 1993. + */ + + +/* + * Written by Michael Roth , September 1998 + */ + + +/* + * U S A G E + * =========== + * + * For DES or Triple-DES encryption/decryption you must initialize a proper + * encryption context with a key. + * + * A DES key is 64bit wide but only 56bits of the key are used. The remaining + * bits are parity bits and they will _not_ checked in this implementation, but + * simply ignored. + * + * For Triple-DES you could use either two 64bit keys or three 64bit keys. + * The parity bits will _not_ checked, too. + * + * After initializing a context with a key you could use this context to + * encrypt or decrypt data in 64bit blocks in Electronic Codebook Mode. + * + * (In the examples below the slashes at the beginning and ending of comments + * are omited.) + * + * DES Example + * ----------- + * unsigned char key[8]; + * unsigned char plaintext[8]; + * unsigned char ciphertext[8]; + * unsigned char recoverd[8]; + * des_ctx context; + * + * * Fill 'key' and 'plaintext' with some data * + * .... + * + * * Set up the DES encryption context * + * des_setkey(context, key); + * + * * Encrypt the plaintext * + * des_ecb_encrypt(context, plaintext, ciphertext); + * + * * To recover the orginal plaintext from ciphertext use: * + * des_ecb_decrypt(context, ciphertext, recoverd); + * + * + * Triple-DES Example + * ------------------ + * unsigned char key1[8]; + * unsigned char key2[8]; + * unsigned char key3[8]; + * unsigned char plaintext[8]; + * unsigned char ciphertext[8]; + * unsigned char recoverd[8]; + * tripledes_ctx context; + * + * * If you would like to use two 64bit keys, fill 'key1' and'key2' + * then setup the encryption context: * + * tripledes_set2keys(context, key1, key2); + * + * * To use three 64bit keys with Triple-DES use: * + * tripledes_set3keys(context, key1, key2, key3); + * + * * Encrypting plaintext with Triple-DES * + * tripledes_ecb_encrypt(context, plaintext, ciphertext); + * + * * Decrypting ciphertext to recover the plaintext with Triple-DES * + * tripledes_ecb_decrypt(context, ciphertext, recoverd); + * + * + * Selftest + * -------- + * char *error_msg; + * + * * To perform a selftest of this DES/Triple-DES implementation use the + * function selftest(). It will return an error string if there are + * some problems with this library. * + * + * if ( (error_msg = selftest()) ) + * { + * fprintf(stderr, "An error in the DES/Tripple-DES implementation occured: %s\n", error_msg); + * abort(); + * } + */ + + +#include "types.h" /* for byte and u32 typedefs */ +#include "g10lib.h" +#include "cipher.h" + +#if defined(__GNUC__) && defined(__GNU_LIBRARY__) +#define working_memcmp memcmp +#else +/* + * According to the SunOS man page, memcmp returns indeterminate sign + * depending on whether characters are signed or not. + */ +static int +working_memcmp( const char *a, const char *b, size_t n ) +{ + for( ; n; n--, a++, b++ ) + if( *a != *b ) + return (int)(*(byte*)a) - (int)(*(byte*)b); + return 0; +} +#endif + +/* + * Encryption/Decryption context of DES + */ +typedef struct _des_ctx + { + u32 encrypt_subkeys[32]; + u32 decrypt_subkeys[32]; + } +des_ctx[1]; + +/* + * Encryption/Decryption context of Triple-DES + */ +typedef struct _tripledes_ctx + { + u32 encrypt_subkeys[96]; + u32 decrypt_subkeys[96]; + struct { + int no_weak_key; + } flags; + } +tripledes_ctx[1]; + +static void des_key_schedule (const byte *, u32 *); +static int des_setkey (struct _des_ctx *, const byte *); +static int des_ecb_crypt (struct _des_ctx *, const byte *, byte *, int); +static int tripledes_set3keys (struct _tripledes_ctx *, + const byte *, const byte *, const byte *); +static int tripledes_ecb_crypt (struct _tripledes_ctx *, + const byte *, byte *, int); +static int is_weak_key ( const byte *key ); + +static int initialized; + + + + +/* + * The s-box values are permuted according to the 'primitive function P' + * and are rotated one bit to the left. + */ +static u32 sbox1[64] = +{ + 0x01010400, 0x00000000, 0x00010000, 0x01010404, 0x01010004, 0x00010404, 0x00000004, 0x00010000, + 0x00000400, 0x01010400, 0x01010404, 0x00000400, 0x01000404, 0x01010004, 0x01000000, 0x00000004, + 0x00000404, 0x01000400, 0x01000400, 0x00010400, 0x00010400, 0x01010000, 0x01010000, 0x01000404, + 0x00010004, 0x01000004, 0x01000004, 0x00010004, 0x00000000, 0x00000404, 0x00010404, 0x01000000, + 0x00010000, 0x01010404, 0x00000004, 0x01010000, 0x01010400, 0x01000000, 0x01000000, 0x00000400, + 0x01010004, 0x00010000, 0x00010400, 0x01000004, 0x00000400, 0x00000004, 0x01000404, 0x00010404, + 0x01010404, 0x00010004, 0x01010000, 0x01000404, 0x01000004, 0x00000404, 0x00010404, 0x01010400, + 0x00000404, 0x01000400, 0x01000400, 0x00000000, 0x00010004, 0x00010400, 0x00000000, 0x01010004 +}; + +static u32 sbox2[64] = +{ + 0x80108020, 0x80008000, 0x00008000, 0x00108020, 0x00100000, 0x00000020, 0x80100020, 0x80008020, + 0x80000020, 0x80108020, 0x80108000, 0x80000000, 0x80008000, 0x00100000, 0x00000020, 0x80100020, + 0x00108000, 0x00100020, 0x80008020, 0x00000000, 0x80000000, 0x00008000, 0x00108020, 0x80100000, + 0x00100020, 0x80000020, 0x00000000, 0x00108000, 0x00008020, 0x80108000, 0x80100000, 0x00008020, + 0x00000000, 0x00108020, 0x80100020, 0x00100000, 0x80008020, 0x80100000, 0x80108000, 0x00008000, + 0x80100000, 0x80008000, 0x00000020, 0x80108020, 0x00108020, 0x00000020, 0x00008000, 0x80000000, + 0x00008020, 0x80108000, 0x00100000, 0x80000020, 0x00100020, 0x80008020, 0x80000020, 0x00100020, + 0x00108000, 0x00000000, 0x80008000, 0x00008020, 0x80000000, 0x80100020, 0x80108020, 0x00108000 +}; + +static u32 sbox3[64] = +{ + 0x00000208, 0x08020200, 0x00000000, 0x08020008, 0x08000200, 0x00000000, 0x00020208, 0x08000200, + 0x00020008, 0x08000008, 0x08000008, 0x00020000, 0x08020208, 0x00020008, 0x08020000, 0x00000208, + 0x08000000, 0x00000008, 0x08020200, 0x00000200, 0x00020200, 0x08020000, 0x08020008, 0x00020208, + 0x08000208, 0x00020200, 0x00020000, 0x08000208, 0x00000008, 0x08020208, 0x00000200, 0x08000000, + 0x08020200, 0x08000000, 0x00020008, 0x00000208, 0x00020000, 0x08020200, 0x08000200, 0x00000000, + 0x00000200, 0x00020008, 0x08020208, 0x08000200, 0x08000008, 0x00000200, 0x00000000, 0x08020008, + 0x08000208, 0x00020000, 0x08000000, 0x08020208, 0x00000008, 0x00020208, 0x00020200, 0x08000008, + 0x08020000, 0x08000208, 0x00000208, 0x08020000, 0x00020208, 0x00000008, 0x08020008, 0x00020200 +}; + +static u32 sbox4[64] = +{ + 0x00802001, 0x00002081, 0x00002081, 0x00000080, 0x00802080, 0x00800081, 0x00800001, 0x00002001, + 0x00000000, 0x00802000, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00800080, 0x00800001, + 0x00000001, 0x00002000, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002001, 0x00002080, + 0x00800081, 0x00000001, 0x00002080, 0x00800080, 0x00002000, 0x00802080, 0x00802081, 0x00000081, + 0x00800080, 0x00800001, 0x00802000, 0x00802081, 0x00000081, 0x00000000, 0x00000000, 0x00802000, + 0x00002080, 0x00800080, 0x00800081, 0x00000001, 0x00802001, 0x00002081, 0x00002081, 0x00000080, + 0x00802081, 0x00000081, 0x00000001, 0x00002000, 0x00800001, 0x00002001, 0x00802080, 0x00800081, + 0x00002001, 0x00002080, 0x00800000, 0x00802001, 0x00000080, 0x00800000, 0x00002000, 0x00802080 +}; + +static u32 sbox5[64] = +{ + 0x00000100, 0x02080100, 0x02080000, 0x42000100, 0x00080000, 0x00000100, 0x40000000, 0x02080000, + 0x40080100, 0x00080000, 0x02000100, 0x40080100, 0x42000100, 0x42080000, 0x00080100, 0x40000000, + 0x02000000, 0x40080000, 0x40080000, 0x00000000, 0x40000100, 0x42080100, 0x42080100, 0x02000100, + 0x42080000, 0x40000100, 0x00000000, 0x42000000, 0x02080100, 0x02000000, 0x42000000, 0x00080100, + 0x00080000, 0x42000100, 0x00000100, 0x02000000, 0x40000000, 0x02080000, 0x42000100, 0x40080100, + 0x02000100, 0x40000000, 0x42080000, 0x02080100, 0x40080100, 0x00000100, 0x02000000, 0x42080000, + 0x42080100, 0x00080100, 0x42000000, 0x42080100, 0x02080000, 0x00000000, 0x40080000, 0x42000000, + 0x00080100, 0x02000100, 0x40000100, 0x00080000, 0x00000000, 0x40080000, 0x02080100, 0x40000100 +}; + +static u32 sbox6[64] = +{ + 0x20000010, 0x20400000, 0x00004000, 0x20404010, 0x20400000, 0x00000010, 0x20404010, 0x00400000, + 0x20004000, 0x00404010, 0x00400000, 0x20000010, 0x00400010, 0x20004000, 0x20000000, 0x00004010, + 0x00000000, 0x00400010, 0x20004010, 0x00004000, 0x00404000, 0x20004010, 0x00000010, 0x20400010, + 0x20400010, 0x00000000, 0x00404010, 0x20404000, 0x00004010, 0x00404000, 0x20404000, 0x20000000, + 0x20004000, 0x00000010, 0x20400010, 0x00404000, 0x20404010, 0x00400000, 0x00004010, 0x20000010, + 0x00400000, 0x20004000, 0x20000000, 0x00004010, 0x20000010, 0x20404010, 0x00404000, 0x20400000, + 0x00404010, 0x20404000, 0x00000000, 0x20400010, 0x00000010, 0x00004000, 0x20400000, 0x00404010, + 0x00004000, 0x00400010, 0x20004010, 0x00000000, 0x20404000, 0x20000000, 0x00400010, 0x20004010 +}; + +static u32 sbox7[64] = +{ + 0x00200000, 0x04200002, 0x04000802, 0x00000000, 0x00000800, 0x04000802, 0x00200802, 0x04200800, + 0x04200802, 0x00200000, 0x00000000, 0x04000002, 0x00000002, 0x04000000, 0x04200002, 0x00000802, + 0x04000800, 0x00200802, 0x00200002, 0x04000800, 0x04000002, 0x04200000, 0x04200800, 0x00200002, + 0x04200000, 0x00000800, 0x00000802, 0x04200802, 0x00200800, 0x00000002, 0x04000000, 0x00200800, + 0x04000000, 0x00200800, 0x00200000, 0x04000802, 0x04000802, 0x04200002, 0x04200002, 0x00000002, + 0x00200002, 0x04000000, 0x04000800, 0x00200000, 0x04200800, 0x00000802, 0x00200802, 0x04200800, + 0x00000802, 0x04000002, 0x04200802, 0x04200000, 0x00200800, 0x00000000, 0x00000002, 0x04200802, + 0x00000000, 0x00200802, 0x04200000, 0x00000800, 0x04000002, 0x04000800, 0x00000800, 0x00200002 +}; + +static u32 sbox8[64] = +{ + 0x10001040, 0x00001000, 0x00040000, 0x10041040, 0x10000000, 0x10001040, 0x00000040, 0x10000000, + 0x00040040, 0x10040000, 0x10041040, 0x00041000, 0x10041000, 0x00041040, 0x00001000, 0x00000040, + 0x10040000, 0x10000040, 0x10001000, 0x00001040, 0x00041000, 0x00040040, 0x10040040, 0x10041000, + 0x00001040, 0x00000000, 0x00000000, 0x10040040, 0x10000040, 0x10001000, 0x00041040, 0x00040000, + 0x00041040, 0x00040000, 0x10041000, 0x00001000, 0x00000040, 0x10040040, 0x00001000, 0x00041040, + 0x10001000, 0x00000040, 0x10000040, 0x10040000, 0x10040040, 0x10000000, 0x00040000, 0x10001040, + 0x00000000, 0x10041040, 0x00040040, 0x10000040, 0x10040000, 0x10001000, 0x10001040, 0x00000000, + 0x10041040, 0x00041000, 0x00041000, 0x00001040, 0x00001040, 0x00040040, 0x10000000, 0x10041000 +}; + + +/* + * These two tables are part of the 'permuted choice 1' function. + * In this implementation several speed improvements are done. + */ +static u32 leftkey_swap[16] = +{ + 0x00000000, 0x00000001, 0x00000100, 0x00000101, + 0x00010000, 0x00010001, 0x00010100, 0x00010101, + 0x01000000, 0x01000001, 0x01000100, 0x01000101, + 0x01010000, 0x01010001, 0x01010100, 0x01010101 +}; + +static u32 rightkey_swap[16] = +{ + 0x00000000, 0x01000000, 0x00010000, 0x01010000, + 0x00000100, 0x01000100, 0x00010100, 0x01010100, + 0x00000001, 0x01000001, 0x00010001, 0x01010001, + 0x00000101, 0x01000101, 0x00010101, 0x01010101, +}; + + + +/* + * Numbers of left shifts per round for encryption subkeys. + * To calculate the decryption subkeys we just reverse the + * ordering of the calculated encryption subkeys. So their + * is no need for a decryption rotate tab. + */ +static byte encrypt_rotate_tab[16] = +{ + 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1 +}; + + + +/* + * Table with weak DES keys sorted in ascending order. + * In DES their are 64 known keys which are weak. They are weak + * because they produce only one, two or four different + * subkeys in the subkey scheduling process. + * The keys in this table have all their parity bits cleared. + */ +static byte weak_keys[64][8] = +{ + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, /*w*/ + { 0x00, 0x00, 0x1e, 0x1e, 0x00, 0x00, 0x0e, 0x0e }, + { 0x00, 0x00, 0xe0, 0xe0, 0x00, 0x00, 0xf0, 0xf0 }, + { 0x00, 0x00, 0xfe, 0xfe, 0x00, 0x00, 0xfe, 0xfe }, + { 0x00, 0x1e, 0x00, 0x1e, 0x00, 0x0e, 0x00, 0x0e }, /*sw*/ + { 0x00, 0x1e, 0x1e, 0x00, 0x00, 0x0e, 0x0e, 0x00 }, + { 0x00, 0x1e, 0xe0, 0xfe, 0x00, 0x0e, 0xf0, 0xfe }, + { 0x00, 0x1e, 0xfe, 0xe0, 0x00, 0x0e, 0xfe, 0xf0 }, + { 0x00, 0xe0, 0x00, 0xe0, 0x00, 0xf0, 0x00, 0xf0 }, /*sw*/ + { 0x00, 0xe0, 0x1e, 0xfe, 0x00, 0xf0, 0x0e, 0xfe }, + { 0x00, 0xe0, 0xe0, 0x00, 0x00, 0xf0, 0xf0, 0x00 }, + { 0x00, 0xe0, 0xfe, 0x1e, 0x00, 0xf0, 0xfe, 0x0e }, + { 0x00, 0xfe, 0x00, 0xfe, 0x00, 0xfe, 0x00, 0xfe }, /*sw*/ + { 0x00, 0xfe, 0x1e, 0xe0, 0x00, 0xfe, 0x0e, 0xf0 }, + { 0x00, 0xfe, 0xe0, 0x1e, 0x00, 0xfe, 0xf0, 0x0e }, + { 0x00, 0xfe, 0xfe, 0x00, 0x00, 0xfe, 0xfe, 0x00 }, + { 0x1e, 0x00, 0x00, 0x1e, 0x0e, 0x00, 0x00, 0x0e }, + { 0x1e, 0x00, 0x1e, 0x00, 0x0e, 0x00, 0x0e, 0x00 }, /*sw*/ + { 0x1e, 0x00, 0xe0, 0xfe, 0x0e, 0x00, 0xf0, 0xfe }, + { 0x1e, 0x00, 0xfe, 0xe0, 0x0e, 0x00, 0xfe, 0xf0 }, + { 0x1e, 0x1e, 0x00, 0x00, 0x0e, 0x0e, 0x00, 0x00 }, + { 0x1e, 0x1e, 0x1e, 0x1e, 0x0e, 0x0e, 0x0e, 0x0e }, /*w*/ + { 0x1e, 0x1e, 0xe0, 0xe0, 0x0e, 0x0e, 0xf0, 0xf0 }, + { 0x1e, 0x1e, 0xfe, 0xfe, 0x0e, 0x0e, 0xfe, 0xfe }, + { 0x1e, 0xe0, 0x00, 0xfe, 0x0e, 0xf0, 0x00, 0xfe }, + { 0x1e, 0xe0, 0x1e, 0xe0, 0x0e, 0xf0, 0x0e, 0xf0 }, /*sw*/ + { 0x1e, 0xe0, 0xe0, 0x1e, 0x0e, 0xf0, 0xf0, 0x0e }, + { 0x1e, 0xe0, 0xfe, 0x00, 0x0e, 0xf0, 0xfe, 0x00 }, + { 0x1e, 0xfe, 0x00, 0xe0, 0x0e, 0xfe, 0x00, 0xf0 }, + { 0x1e, 0xfe, 0x1e, 0xfe, 0x0e, 0xfe, 0x0e, 0xfe }, /*sw*/ + { 0x1e, 0xfe, 0xe0, 0x00, 0x0e, 0xfe, 0xf0, 0x00 }, + { 0x1e, 0xfe, 0xfe, 0x1e, 0x0e, 0xfe, 0xfe, 0x0e }, + { 0xe0, 0x00, 0x00, 0xe0, 0xf0, 0x00, 0x00, 0xf0 }, + { 0xe0, 0x00, 0x1e, 0xfe, 0xf0, 0x00, 0x0e, 0xfe }, + { 0xe0, 0x00, 0xe0, 0x00, 0xf0, 0x00, 0xf0, 0x00 }, /*sw*/ + { 0xe0, 0x00, 0xfe, 0x1e, 0xf0, 0x00, 0xfe, 0x0e }, + { 0xe0, 0x1e, 0x00, 0xfe, 0xf0, 0x0e, 0x00, 0xfe }, + { 0xe0, 0x1e, 0x1e, 0xe0, 0xf0, 0x0e, 0x0e, 0xf0 }, + { 0xe0, 0x1e, 0xe0, 0x1e, 0xf0, 0x0e, 0xf0, 0x0e }, /*sw*/ + { 0xe0, 0x1e, 0xfe, 0x00, 0xf0, 0x0e, 0xfe, 0x00 }, + { 0xe0, 0xe0, 0x00, 0x00, 0xf0, 0xf0, 0x00, 0x00 }, + { 0xe0, 0xe0, 0x1e, 0x1e, 0xf0, 0xf0, 0x0e, 0x0e }, + { 0xe0, 0xe0, 0xe0, 0xe0, 0xf0, 0xf0, 0xf0, 0xf0 }, /*w*/ + { 0xe0, 0xe0, 0xfe, 0xfe, 0xf0, 0xf0, 0xfe, 0xfe }, + { 0xe0, 0xfe, 0x00, 0x1e, 0xf0, 0xfe, 0x00, 0x0e }, + { 0xe0, 0xfe, 0x1e, 0x00, 0xf0, 0xfe, 0x0e, 0x00 }, + { 0xe0, 0xfe, 0xe0, 0xfe, 0xf0, 0xfe, 0xf0, 0xfe }, /*sw*/ + { 0xe0, 0xfe, 0xfe, 0xe0, 0xf0, 0xfe, 0xfe, 0xf0 }, + { 0xfe, 0x00, 0x00, 0xfe, 0xfe, 0x00, 0x00, 0xfe }, + { 0xfe, 0x00, 0x1e, 0xe0, 0xfe, 0x00, 0x0e, 0xf0 }, + { 0xfe, 0x00, 0xe0, 0x1e, 0xfe, 0x00, 0xf0, 0x0e }, + { 0xfe, 0x00, 0xfe, 0x00, 0xfe, 0x00, 0xfe, 0x00 }, /*sw*/ + { 0xfe, 0x1e, 0x00, 0xe0, 0xfe, 0x0e, 0x00, 0xf0 }, + { 0xfe, 0x1e, 0x1e, 0xfe, 0xfe, 0x0e, 0x0e, 0xfe }, + { 0xfe, 0x1e, 0xe0, 0x00, 0xfe, 0x0e, 0xf0, 0x00 }, + { 0xfe, 0x1e, 0xfe, 0x1e, 0xfe, 0x0e, 0xfe, 0x0e }, /*sw*/ + { 0xfe, 0xe0, 0x00, 0x1e, 0xfe, 0xf0, 0x00, 0x0e }, + { 0xfe, 0xe0, 0x1e, 0x00, 0xfe, 0xf0, 0x0e, 0x00 }, + { 0xfe, 0xe0, 0xe0, 0xfe, 0xfe, 0xf0, 0xf0, 0xfe }, + { 0xfe, 0xe0, 0xfe, 0xe0, 0xfe, 0xf0, 0xfe, 0xf0 }, /*sw*/ + { 0xfe, 0xfe, 0x00, 0x00, 0xfe, 0xfe, 0x00, 0x00 }, + { 0xfe, 0xfe, 0x1e, 0x1e, 0xfe, 0xfe, 0x0e, 0x0e }, + { 0xfe, 0xfe, 0xe0, 0xe0, 0xfe, 0xfe, 0xf0, 0xf0 }, + { 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe } /*w*/ +}; + + + +/* + * Macro to swap bits across two words. + */ +#define DO_PERMUTATION(a, temp, b, offset, mask) \ + temp = ((a>>offset) ^ b) & mask; \ + b ^= temp; \ + a ^= temp<> 31); \ + temp = (left ^ right) & 0xaaaaaaaa; \ + right ^= temp; \ + left ^= temp; \ + left = (left << 1) | (left >> 31); + +/* + * The 'inverse initial permutation'. + */ +#define FINAL_PERMUTATION(left, temp, right) \ + left = (left << 31) | (left >> 1); \ + temp = (left ^ right) & 0xaaaaaaaa; \ + left ^= temp; \ + right ^= temp; \ + right = (right << 31) | (right >> 1); \ + DO_PERMUTATION(right, temp, left, 8, 0x00ff00ff) \ + DO_PERMUTATION(right, temp, left, 2, 0x33333333) \ + DO_PERMUTATION(left, temp, right, 16, 0x0000ffff) \ + DO_PERMUTATION(left, temp, right, 4, 0x0f0f0f0f) + + +/* + * A full DES round including 'expansion function', 'sbox substitution' + * and 'primitive function P' but without swapping the left and right word. + * Please note: The data in 'from' and 'to' is already rotated one bit to + * the left, done in the initial permutation. + */ +#define DES_ROUND(from, to, work, subkey) \ + work = from ^ *subkey++; \ + to ^= sbox8[ work & 0x3f ]; \ + to ^= sbox6[ (work>>8) & 0x3f ]; \ + to ^= sbox4[ (work>>16) & 0x3f ]; \ + to ^= sbox2[ (work>>24) & 0x3f ]; \ + work = ((from << 28) | (from >> 4)) ^ *subkey++; \ + to ^= sbox7[ work & 0x3f ]; \ + to ^= sbox5[ (work>>8) & 0x3f ]; \ + to ^= sbox3[ (work>>16) & 0x3f ]; \ + to ^= sbox1[ (work>>24) & 0x3f ]; + +/* + * Macros to convert 8 bytes from/to 32bit words. + */ +#define READ_64BIT_DATA(data, left, right) \ + left = (data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3]; \ + right = (data[4] << 24) | (data[5] << 16) | (data[6] << 8) | data[7]; + +#define WRITE_64BIT_DATA(data, left, right) \ + data[0] = (left >> 24) &0xff; data[1] = (left >> 16) &0xff; \ + data[2] = (left >> 8) &0xff; data[3] = left &0xff; \ + data[4] = (right >> 24) &0xff; data[5] = (right >> 16) &0xff; \ + data[6] = (right >> 8) &0xff; data[7] = right &0xff; + +/* + * Handy macros for encryption and decryption of data + */ +#define des_ecb_encrypt(ctx, from, to) des_ecb_crypt(ctx, from, to, 0) +#define des_ecb_decrypt(ctx, from, to) des_ecb_crypt(ctx, from, to, 1) +#define tripledes_ecb_encrypt(ctx, from, to) tripledes_ecb_crypt(ctx,from,to,0) +#define tripledes_ecb_decrypt(ctx, from, to) tripledes_ecb_crypt(ctx,from,to,1) + + + + + + +/* + * des_key_schedule(): Calculate 16 subkeys pairs (even/odd) for + * 16 encryption rounds. + * To calculate subkeys for decryption the caller + * have to reorder the generated subkeys. + * + * rawkey: 8 Bytes of key data + * subkey: Array of at least 32 u32s. Will be filled + * with calculated subkeys. + * + */ +static void +des_key_schedule (const byte * rawkey, u32 * subkey) +{ + u32 left, right, work; + int round; + + READ_64BIT_DATA (rawkey, left, right) + + DO_PERMUTATION (right, work, left, 4, 0x0f0f0f0f) + DO_PERMUTATION (right, work, left, 0, 0x10101010) + + left = ((leftkey_swap[(left >> 0) & 0xf] << 3) + | (leftkey_swap[(left >> 8) & 0xf] << 2) + | (leftkey_swap[(left >> 16) & 0xf] << 1) + | (leftkey_swap[(left >> 24) & 0xf]) + | (leftkey_swap[(left >> 5) & 0xf] << 7) + | (leftkey_swap[(left >> 13) & 0xf] << 6) + | (leftkey_swap[(left >> 21) & 0xf] << 5) + | (leftkey_swap[(left >> 29) & 0xf] << 4)); + + left &= 0x0fffffff; + + right = ((rightkey_swap[(right >> 1) & 0xf] << 3) + | (rightkey_swap[(right >> 9) & 0xf] << 2) + | (rightkey_swap[(right >> 17) & 0xf] << 1) + | (rightkey_swap[(right >> 25) & 0xf]) + | (rightkey_swap[(right >> 4) & 0xf] << 7) + | (rightkey_swap[(right >> 12) & 0xf] << 6) + | (rightkey_swap[(right >> 20) & 0xf] << 5) + | (rightkey_swap[(right >> 28) & 0xf] << 4)); + + right &= 0x0fffffff; + + for (round = 0; round < 16; ++round) + { + left = ((left << encrypt_rotate_tab[round]) + | (left >> (28 - encrypt_rotate_tab[round]))) & 0x0fffffff; + right = ((right << encrypt_rotate_tab[round]) + | (right >> (28 - encrypt_rotate_tab[round]))) & 0x0fffffff; + + *subkey++ = (((left << 4) & 0x24000000) + | ((left << 28) & 0x10000000) + | ((left << 14) & 0x08000000) + | ((left << 18) & 0x02080000) + | ((left << 6) & 0x01000000) + | ((left << 9) & 0x00200000) + | ((left >> 1) & 0x00100000) + | ((left << 10) & 0x00040000) + | ((left << 2) & 0x00020000) + | ((left >> 10) & 0x00010000) + | ((right >> 13) & 0x00002000) + | ((right >> 4) & 0x00001000) + | ((right << 6) & 0x00000800) + | ((right >> 1) & 0x00000400) + | ((right >> 14) & 0x00000200) + | (right & 0x00000100) + | ((right >> 5) & 0x00000020) + | ((right >> 10) & 0x00000010) + | ((right >> 3) & 0x00000008) + | ((right >> 18) & 0x00000004) + | ((right >> 26) & 0x00000002) + | ((right >> 24) & 0x00000001)); + + *subkey++ = (((left << 15) & 0x20000000) + | ((left << 17) & 0x10000000) + | ((left << 10) & 0x08000000) + | ((left << 22) & 0x04000000) + | ((left >> 2) & 0x02000000) + | ((left << 1) & 0x01000000) + | ((left << 16) & 0x00200000) + | ((left << 11) & 0x00100000) + | ((left << 3) & 0x00080000) + | ((left >> 6) & 0x00040000) + | ((left << 15) & 0x00020000) + | ((left >> 4) & 0x00010000) + | ((right >> 2) & 0x00002000) + | ((right << 8) & 0x00001000) + | ((right >> 14) & 0x00000808) + | ((right >> 9) & 0x00000400) + | ((right) & 0x00000200) + | ((right << 7) & 0x00000100) + | ((right >> 7) & 0x00000020) + | ((right >> 3) & 0x00000011) + | ((right << 2) & 0x00000004) + | ((right >> 21) & 0x00000002)); + } +} + + +/* + * Fill a DES context with subkeys calculated from a 64bit key. + * Does not check parity bits, but simply ignore them. + * Does not check for weak keys. + */ +static int +des_setkey (struct _des_ctx *ctx, const byte * key) +{ + static const char *selftest_failed; + int i; + + if (!fips_mode () && !initialized) + { + initialized = 1; + selftest_failed = selftest (); + + if (selftest_failed) + log_error ("%s\n", selftest_failed); + } + if (selftest_failed) + return GPG_ERR_SELFTEST_FAILED; + + des_key_schedule (key, ctx->encrypt_subkeys); + _gcry_burn_stack (32); + + for(i=0; i<32; i+=2) + { + ctx->decrypt_subkeys[i] = ctx->encrypt_subkeys[30-i]; + ctx->decrypt_subkeys[i+1] = ctx->encrypt_subkeys[31-i]; + } + + return 0; +} + + + +/* + * Electronic Codebook Mode DES encryption/decryption of data according + * to 'mode'. + */ +static int +des_ecb_crypt (struct _des_ctx *ctx, const byte * from, byte * to, int mode) +{ + u32 left, right, work; + u32 *keys; + + keys = mode ? ctx->decrypt_subkeys : ctx->encrypt_subkeys; + + READ_64BIT_DATA (from, left, right) + INITIAL_PERMUTATION (left, work, right) + + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + + FINAL_PERMUTATION (right, work, left) + WRITE_64BIT_DATA (to, right, left) + + return 0; +} + + + +/* + * Fill a Triple-DES context with subkeys calculated from two 64bit keys. + * Does not check the parity bits of the keys, but simply ignore them. + * Does not check for weak keys. + */ + + + +/* + * Fill a Triple-DES context with subkeys calculated from three 64bit keys. + * Does not check the parity bits of the keys, but simply ignore them. + * Does not check for weak keys. + */ +static int +tripledes_set3keys (struct _tripledes_ctx *ctx, + const byte * key1, + const byte * key2, + const byte * key3) +{ + static const char *selftest_failed; + int i; + + if (!fips_mode () && !initialized) + { + initialized = 1; + selftest_failed = selftest (); + + if (selftest_failed) + log_error ("%s\n", selftest_failed); + } + if (selftest_failed) + return GPG_ERR_SELFTEST_FAILED; + + des_key_schedule (key1, ctx->encrypt_subkeys); + des_key_schedule (key2, &(ctx->decrypt_subkeys[32])); + des_key_schedule (key3, &(ctx->encrypt_subkeys[64])); + _gcry_burn_stack (32); + + for(i=0; i<32; i+=2) + { + ctx->decrypt_subkeys[i] = ctx->encrypt_subkeys[94-i]; + ctx->decrypt_subkeys[i+1] = ctx->encrypt_subkeys[95-i]; + + ctx->encrypt_subkeys[i+32] = ctx->decrypt_subkeys[62-i]; + ctx->encrypt_subkeys[i+33] = ctx->decrypt_subkeys[63-i]; + + ctx->decrypt_subkeys[i+64] = ctx->encrypt_subkeys[30-i]; + ctx->decrypt_subkeys[i+65] = ctx->encrypt_subkeys[31-i]; + } + + return 0; +} + + + +/* + * Electronic Codebook Mode Triple-DES encryption/decryption of data + * according to 'mode'. Sometimes this mode is named 'EDE' mode + * (Encryption-Decryption-Encryption). + */ +static int +tripledes_ecb_crypt (struct _tripledes_ctx *ctx, const byte * from, + byte * to, int mode) +{ + u32 left, right, work; + u32 *keys; + + keys = mode ? ctx->decrypt_subkeys : ctx->encrypt_subkeys; + + READ_64BIT_DATA (from, left, right) + INITIAL_PERMUTATION (left, work, right) + + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + DES_ROUND (left, right, work, keys) DES_ROUND (right, left, work, keys) + + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + DES_ROUND (right, left, work, keys) DES_ROUND (left, right, work, keys) + + FINAL_PERMUTATION (right, work, left) + WRITE_64BIT_DATA (to, right, left) + + return 0; +} + + + + + +/* + * Check whether the 8 byte key is weak. + * Does not check the parity bits of the key but simple ignore them. + */ +static int +is_weak_key ( const byte *key ) +{ + byte work[8]; + int i, left, right, middle, cmp_result; + + /* clear parity bits */ + for(i=0; i<8; ++i) + work[i] = key[i] & 0xfe; + + /* binary search in the weak key table */ + left = 0; + right = 63; + while(left <= right) + { + middle = (left + right) / 2; + + if ( !(cmp_result=working_memcmp(work, weak_keys[middle], 8)) ) + return -1; + + if ( cmp_result > 0 ) + left = middle + 1; + else + right = middle - 1; + } + + return 0; +} + + + +/* + * Performs a selftest of this DES/Triple-DES implementation. + * Returns an string with the error text on failure. + * Returns NULL if all is ok. + */ + + +static gcry_err_code_t +do_tripledes_setkey ( void *context, const byte *key, unsigned keylen ) +{ + struct _tripledes_ctx *ctx = (struct _tripledes_ctx *) context; + + if( keylen != 24 ) + return GPG_ERR_INV_KEYLEN; + + tripledes_set3keys ( ctx, key, key+8, key+16); + + if (ctx->flags.no_weak_key) + ; /* Detection has been disabled. */ + else if (is_weak_key (key) || is_weak_key (key+8) || is_weak_key (key+16)) + { + _gcry_burn_stack (64); + return GPG_ERR_WEAK_KEY; + } + _gcry_burn_stack (64); + + return GPG_ERR_NO_ERROR; +} + + + + +static void +do_tripledes_encrypt( void *context, byte *outbuf, const byte *inbuf ) +{ + struct _tripledes_ctx *ctx = (struct _tripledes_ctx *) context; + + tripledes_ecb_encrypt ( ctx, inbuf, outbuf ); + _gcry_burn_stack (32); +} + +static void +do_tripledes_decrypt( void *context, byte *outbuf, const byte *inbuf ) +{ + struct _tripledes_ctx *ctx = (struct _tripledes_ctx *) context; + tripledes_ecb_decrypt ( ctx, inbuf, outbuf ); + _gcry_burn_stack (32); +} + +static gcry_err_code_t +do_des_setkey (void *context, const byte *key, unsigned keylen) +{ + struct _des_ctx *ctx = (struct _des_ctx *) context; + + if (keylen != 8) + return GPG_ERR_INV_KEYLEN; + + des_setkey (ctx, key); + + if (is_weak_key (key)) { + _gcry_burn_stack (64); + return GPG_ERR_WEAK_KEY; + } + _gcry_burn_stack (64); + + return GPG_ERR_NO_ERROR; +} + + +static void +do_des_encrypt( void *context, byte *outbuf, const byte *inbuf ) +{ + struct _des_ctx *ctx = (struct _des_ctx *) context; + + des_ecb_encrypt ( ctx, inbuf, outbuf ); + _gcry_burn_stack (32); +} + +static void +do_des_decrypt( void *context, byte *outbuf, const byte *inbuf ) +{ + struct _des_ctx *ctx = (struct _des_ctx *) context; + + des_ecb_decrypt ( ctx, inbuf, outbuf ); + _gcry_burn_stack (32); +} + + + + +/* + Self-test section. + */ + + +/* Selftest for TripleDES. */ + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + +gcry_cipher_spec_t _gcry_cipher_spec_des = + { + "DES", NULL, NULL, 8, 64, sizeof (struct _des_ctx), + do_des_setkey, do_des_encrypt, do_des_decrypt + }; + +static gcry_cipher_oid_spec_t oids_tripledes[] = + { + { "1.2.840.113549.3.7", GCRY_CIPHER_MODE_CBC }, + /* Teletrust specific OID for 3DES. */ + { "1.3.36.3.1.3.2.1", GCRY_CIPHER_MODE_CBC }, + /* pbeWithSHAAnd3_KeyTripleDES_CBC */ + { "1.2.840.113549.1.12.1.3", GCRY_CIPHER_MODE_CBC }, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_tripledes = + { + "3DES", NULL, oids_tripledes, 8, 192, sizeof (struct _tripledes_ctx), + do_tripledes_setkey, do_tripledes_encrypt, do_tripledes_decrypt + }; + + + +GRUB_MOD_INIT(gcry_des) +{ + grub_cipher_register (&_gcry_cipher_spec_des); + grub_cipher_register (&_gcry_cipher_spec_tripledes); +} + +GRUB_MOD_FINI(gcry_des) +{ + grub_cipher_unregister (&_gcry_cipher_spec_des); + grub_cipher_unregister (&_gcry_cipher_spec_tripledes); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/dsa.c b/grub-core/lib/libgcrypt-grub/cipher/dsa.c new file mode 100644 index 0000000..296d2ef --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/dsa.c @@ -0,0 +1,1063 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* dsa.c - DSA signature algorithm + * Copyright (C) 1998, 2000, 2001, 2002, 2003, + * 2006, 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + + +#include "g10lib.h" +#include "mpi.h" +#include "cipher.h" + +typedef struct +{ + gcry_mpi_t p; /* prime */ + gcry_mpi_t q; /* group order */ + gcry_mpi_t g; /* group generator */ + gcry_mpi_t y; /* g^x mod p */ +} DSA_public_key; + + +typedef struct +{ + gcry_mpi_t p; /* prime */ + gcry_mpi_t q; /* group order */ + gcry_mpi_t g; /* group generator */ + gcry_mpi_t y; /* g^x mod p */ + gcry_mpi_t x; /* secret exponent */ +} DSA_secret_key; + + +/* A structure used to hold domain parameters. */ +typedef struct +{ + gcry_mpi_t p; /* prime */ + gcry_mpi_t q; /* group order */ + gcry_mpi_t g; /* group generator */ +} dsa_domain_t; + + +/* A sample 1024 bit DSA key used for the selftests. */ +static const char sample_secret_key[] = +"(private-key" +" (dsa" +" (p #00AD7C0025BA1A15F775F3F2D673718391D00456978D347B33D7B49E7F32EDAB" +" 96273899DD8B2BB46CD6ECA263FAF04A28903503D59062A8865D2AE8ADFB5191" +" CF36FFB562D0E2F5809801A1F675DAE59698A9E01EFE8D7DCFCA084F4C6F5A44" +" 44D499A06FFAEA5E8EF5E01F2FD20A7B7EF3F6968AFBA1FB8D91F1559D52D8777B#)" +" (q #00EB7B5751D25EBBB7BD59D920315FD840E19AEBF9#)" +" (g #1574363387FDFD1DDF38F4FBE135BB20C7EE4772FB94C337AF86EA8E49666503" +" AE04B6BE81A2F8DD095311E0217ACA698A11E6C5D33CCDAE71498ED35D13991E" +" B02F09AB40BD8F4C5ED8C75DA779D0AE104BC34C960B002377068AB4B5A1F984" +" 3FBA91F537F1B7CAC4D8DD6D89B0D863AF7025D549F9C765D2FC07EE208F8D15#)" +" (y #64B11EF8871BE4AB572AA810D5D3CA11A6CDBC637A8014602C72960DB135BF46" +" A1816A724C34F87330FC9E187C5D66897A04535CC2AC9164A7150ABFA8179827" +" 6E45831AB811EEE848EBB24D9F5F2883B6E5DDC4C659DEF944DCFD80BF4D0A20" +" 42CAA7DC289F0C5A9D155F02D3D551DB741A81695B74D4C8F477F9C7838EB0FB#)" +" (x #11D54E4ADBD3034160F2CED4B7CD292A4EBF3EC0#)))"; +/* A sample 1024 bit DSA key used for the selftests (public only). */ +static const char sample_public_key[] = +"(public-key" +" (dsa" +" (p #00AD7C0025BA1A15F775F3F2D673718391D00456978D347B33D7B49E7F32EDAB" +" 96273899DD8B2BB46CD6ECA263FAF04A28903503D59062A8865D2AE8ADFB5191" +" CF36FFB562D0E2F5809801A1F675DAE59698A9E01EFE8D7DCFCA084F4C6F5A44" +" 44D499A06FFAEA5E8EF5E01F2FD20A7B7EF3F6968AFBA1FB8D91F1559D52D8777B#)" +" (q #00EB7B5751D25EBBB7BD59D920315FD840E19AEBF9#)" +" (g #1574363387FDFD1DDF38F4FBE135BB20C7EE4772FB94C337AF86EA8E49666503" +" AE04B6BE81A2F8DD095311E0217ACA698A11E6C5D33CCDAE71498ED35D13991E" +" B02F09AB40BD8F4C5ED8C75DA779D0AE104BC34C960B002377068AB4B5A1F984" +" 3FBA91F537F1B7CAC4D8DD6D89B0D863AF7025D549F9C765D2FC07EE208F8D15#)" +" (y #64B11EF8871BE4AB572AA810D5D3CA11A6CDBC637A8014602C72960DB135BF46" +" A1816A724C34F87330FC9E187C5D66897A04535CC2AC9164A7150ABFA8179827" +" 6E45831AB811EEE848EBB24D9F5F2883B6E5DDC4C659DEF944DCFD80BF4D0A20" +" 42CAA7DC289F0C5A9D155F02D3D551DB741A81695B74D4C8F477F9C7838EB0FB#)))"; + + + + +static gcry_mpi_t gen_k (gcry_mpi_t q); +static int test_keys (DSA_secret_key *sk, unsigned int qbits); +static int check_secret_key (DSA_secret_key *sk); +static gpg_err_code_t generate (DSA_secret_key *sk, + unsigned int nbits, + unsigned int qbits, + int transient_key, + dsa_domain_t *domain, + gcry_mpi_t **ret_factors); +static void sign (gcry_mpi_t r, gcry_mpi_t s, gcry_mpi_t input, + DSA_secret_key *skey); +static int verify (gcry_mpi_t r, gcry_mpi_t s, gcry_mpi_t input, + DSA_public_key *pkey); + +static void (*progress_cb) (void *,const char *, int, int, int ); +static void *progress_cb_data; + + +void +_gcry_register_pk_dsa_progress (void (*cb) (void *, const char *, + int, int, int), + void *cb_data) +{ + progress_cb = cb; + progress_cb_data = cb_data; +} + + +static void +progress (int c) +{ + if (progress_cb) + progress_cb (progress_cb_data, "pk_dsa", c, 0, 0); +} + + +/* + * Generate a random secret exponent k less than q. + */ +static gcry_mpi_t +gen_k( gcry_mpi_t q ) +{ + gcry_mpi_t k = mpi_alloc_secure( mpi_get_nlimbs(q) ); + unsigned int nbits = mpi_get_nbits(q); + unsigned int nbytes = (nbits+7)/8; + char *rndbuf = NULL; + + if ( DBG_CIPHER ) + log_debug("choosing a random k "); + for (;;) + { + if( DBG_CIPHER ) + progress('.'); + + if ( !rndbuf || nbits < 32 ) + { + gcry_free(rndbuf); + rndbuf = gcry_random_bytes_secure( (nbits+7)/8, GCRY_STRONG_RANDOM ); + } + else + { /* Change only some of the higher bits. We could improve + this by directly requesting more memory at the first call + to get_random_bytes() and use this the here maybe it is + easier to do this directly in random.c. */ + char *pp = gcry_random_bytes_secure( 4, GCRY_STRONG_RANDOM ); + memcpy( rndbuf,pp, 4 ); + gcry_free(pp); + } + _gcry_mpi_set_buffer( k, rndbuf, nbytes, 0 ); + if ( mpi_test_bit( k, nbits-1 ) ) + mpi_set_highbit( k, nbits-1 ); + else + { + mpi_set_highbit( k, nbits-1 ); + mpi_clear_bit( k, nbits-1 ); + } + + if( !(mpi_cmp( k, q ) < 0) ) /* check: k < q */ + { + if( DBG_CIPHER ) + progress('+'); + continue; /* no */ + } + if( !(mpi_cmp_ui( k, 0 ) > 0) ) /* check: k > 0 */ + { + if( DBG_CIPHER ) + progress('-'); + continue; /* no */ + } + break; /* okay */ + } + gcry_free(rndbuf); + if( DBG_CIPHER ) + progress('\n'); + + return k; +} + + +/* Check that a freshly generated key actually works. Returns 0 on success. */ +static int +test_keys (DSA_secret_key *sk, unsigned int qbits) +{ + int result = -1; /* Default to failure. */ + DSA_public_key pk; + gcry_mpi_t data = gcry_mpi_new (qbits); + gcry_mpi_t sig_a = gcry_mpi_new (qbits); + gcry_mpi_t sig_b = gcry_mpi_new (qbits); + + /* Put the relevant parameters into a public key structure. */ + pk.p = sk->p; + pk.q = sk->q; + pk.g = sk->g; + pk.y = sk->y; + + /* Create a random plaintext. */ + gcry_mpi_randomize (data, qbits, GCRY_WEAK_RANDOM); + + /* Sign DATA using the secret key. */ + sign (sig_a, sig_b, data, sk); + + /* Verify the signature using the public key. */ + if ( !verify (sig_a, sig_b, data, &pk) ) + goto leave; /* Signature does not match. */ + + /* Modify the data and check that the signing fails. */ + gcry_mpi_add_ui (data, data, 1); + if ( verify (sig_a, sig_b, data, &pk) ) + goto leave; /* Signature matches but should not. */ + + result = 0; /* The test succeeded. */ + + leave: + gcry_mpi_release (sig_b); + gcry_mpi_release (sig_a); + gcry_mpi_release (data); + return result; +} + + + +/* + Generate a DSA key pair with a key of size NBITS. If transient_key + is true the key is generated using the standard RNG and not the + very secure one. + + Returns: 2 structures filled with all needed values + and an array with the n-1 factors of (p-1) + */ +static gpg_err_code_t +generate (DSA_secret_key *sk, unsigned int nbits, unsigned int qbits, + int transient_key, dsa_domain_t *domain, gcry_mpi_t **ret_factors ) +{ + gcry_mpi_t p; /* the prime */ + gcry_mpi_t q; /* the 160 bit prime factor */ + gcry_mpi_t g; /* the generator */ + gcry_mpi_t y; /* g^x mod p */ + gcry_mpi_t x; /* the secret exponent */ + gcry_mpi_t h, e; /* helper */ + unsigned char *rndbuf; + gcry_random_level_t random_level; + + if (qbits) + ; /* Caller supplied qbits. Use this value. */ + else if ( nbits >= 512 && nbits <= 1024 ) + qbits = 160; + else if ( nbits == 2048 ) + qbits = 224; + else if ( nbits == 3072 ) + qbits = 256; + else if ( nbits == 7680 ) + qbits = 384; + else if ( nbits == 15360 ) + qbits = 512; + else + return GPG_ERR_INV_VALUE; + + if (qbits < 160 || qbits > 512 || (qbits%8) ) + return GPG_ERR_INV_VALUE; + if (nbits < 2*qbits || nbits > 15360) + return GPG_ERR_INV_VALUE; + + if (fips_mode ()) + { + if (nbits < 1024) + return GPG_ERR_INV_VALUE; + if (transient_key) + return GPG_ERR_INV_VALUE; + } + + if (domain->p && domain->q && domain->g) + { + /* Domain parameters are given; use them. */ + p = mpi_copy (domain->p); + q = mpi_copy (domain->q); + g = mpi_copy (domain->g); + gcry_assert (mpi_get_nbits (p) == nbits); + gcry_assert (mpi_get_nbits (q) == qbits); + h = mpi_alloc (0); + e = NULL; + } + else + { + /* Generate new domain parameters. */ + p = _gcry_generate_elg_prime (1, nbits, qbits, NULL, ret_factors); + /* Get q out of factors. */ + q = mpi_copy ((*ret_factors)[0]); + gcry_assert (mpi_get_nbits (q) == qbits); + + /* Find a generator g (h and e are helpers). + e = (p-1)/q */ + e = mpi_alloc (mpi_get_nlimbs (p)); + mpi_sub_ui (e, p, 1); + mpi_fdiv_q (e, e, q); + g = mpi_alloc (mpi_get_nlimbs (p)); + h = mpi_alloc_set_ui (1); /* (We start with 2.) */ + do + { + mpi_add_ui (h, h, 1); + /* g = h^e mod p */ + gcry_mpi_powm (g, h, e, p); + } + while (!mpi_cmp_ui (g, 1)); /* Continue until g != 1. */ + } + + /* Select a random number X with the property: + * 0 < x < q-1 + * This must be a very good random number because this is the secret + * part. The random quality depends on the transient_key flag. */ + random_level = transient_key ? GCRY_STRONG_RANDOM : GCRY_VERY_STRONG_RANDOM; + if (DBG_CIPHER) + log_debug("choosing a random x%s", transient_key? " (transient-key)":""); + gcry_assert( qbits >= 160 ); + x = mpi_alloc_secure( mpi_get_nlimbs(q) ); + mpi_sub_ui( h, q, 1 ); /* put q-1 into h */ + rndbuf = NULL; + do + { + if( DBG_CIPHER ) + progress('.'); + if( !rndbuf ) + rndbuf = gcry_random_bytes_secure ((qbits+7)/8, random_level); + else + { /* Change only some of the higher bits (= 2 bytes)*/ + char *r = gcry_random_bytes_secure (2, random_level); + memcpy(rndbuf, r, 2 ); + gcry_free(r); + } + + _gcry_mpi_set_buffer( x, rndbuf, (qbits+7)/8, 0 ); + mpi_clear_highbit( x, qbits+1 ); + } + while ( !( mpi_cmp_ui( x, 0 )>0 && mpi_cmp( x, h )<0 ) ); + gcry_free(rndbuf); + mpi_free( e ); + mpi_free( h ); + + /* y = g^x mod p */ + y = mpi_alloc( mpi_get_nlimbs(p) ); + gcry_mpi_powm( y, g, x, p ); + + if( DBG_CIPHER ) + { + progress('\n'); + log_mpidump("dsa p", p ); + log_mpidump("dsa q", q ); + log_mpidump("dsa g", g ); + log_mpidump("dsa y", y ); + log_mpidump("dsa x", x ); + } + + /* Copy the stuff to the key structures. */ + sk->p = p; + sk->q = q; + sk->g = g; + sk->y = y; + sk->x = x; + + /* Now we can test our keys (this should never fail!). */ + if ( test_keys (sk, qbits) ) + { + gcry_mpi_release (sk->p); sk->p = NULL; + gcry_mpi_release (sk->q); sk->q = NULL; + gcry_mpi_release (sk->g); sk->g = NULL; + gcry_mpi_release (sk->y); sk->y = NULL; + gcry_mpi_release (sk->x); sk->x = NULL; + fips_signal_error ("self-test after key generation failed"); + return GPG_ERR_SELFTEST_FAILED; + } + return 0; +} + + +/* Generate a DSA key pair with a key of size NBITS using the + algorithm given in FIPS-186-3. If USE_FIPS186_2 is true, + FIPS-186-2 is used and thus the length is restricted to 1024/160. + If DERIVEPARMS is not NULL it may contain a seed value. If domain + parameters are specified in DOMAIN, DERIVEPARMS may not be given + and NBITS and QBITS must match the specified domain parameters. */ +static gpg_err_code_t +generate_fips186 (DSA_secret_key *sk, unsigned int nbits, unsigned int qbits, + gcry_sexp_t deriveparms, int use_fips186_2, + dsa_domain_t *domain, + int *r_counter, void **r_seed, size_t *r_seedlen, + gcry_mpi_t *r_h) +{ + gpg_err_code_t ec; + struct { + gcry_sexp_t sexp; + const void *seed; + size_t seedlen; + } initial_seed = { NULL, NULL, 0 }; + gcry_mpi_t prime_q = NULL; + gcry_mpi_t prime_p = NULL; + gcry_mpi_t value_g = NULL; /* The generator. */ + gcry_mpi_t value_y = NULL; /* g^x mod p */ + gcry_mpi_t value_x = NULL; /* The secret exponent. */ + gcry_mpi_t value_h = NULL; /* Helper. */ + gcry_mpi_t value_e = NULL; /* Helper. */ + + /* Preset return values. */ + *r_counter = 0; + *r_seed = NULL; + *r_seedlen = 0; + *r_h = NULL; + + /* Derive QBITS from NBITS if requested */ + if (!qbits) + { + if (nbits == 1024) + qbits = 160; + else if (nbits == 2048) + qbits = 224; + else if (nbits == 3072) + qbits = 256; + } + + /* Check that QBITS and NBITS match the standard. Note that FIPS + 186-3 uses N for QBITS and L for NBITS. */ + if (nbits == 1024 && qbits == 160) + ; + else if (nbits == 2048 && qbits == 224) + ; + else if (nbits == 2048 && qbits == 256) + ; + else if (nbits == 3072 && qbits == 256) + ; + else + return GPG_ERR_INV_VALUE; + + if (domain->p && domain->q && domain->g) + { + /* Domain parameters are given; use them. */ + prime_p = mpi_copy (domain->p); + prime_q = mpi_copy (domain->q); + value_g = mpi_copy (domain->g); + gcry_assert (mpi_get_nbits (prime_p) == nbits); + gcry_assert (mpi_get_nbits (prime_q) == qbits); + gcry_assert (!deriveparms); + ec = 0; + } + else + { + /* Generate new domain parameters. */ + + /* Get an initial seed value. */ + if (deriveparms) + { + initial_seed.sexp = gcry_sexp_find_token (deriveparms, "seed", 0); + if (initial_seed.sexp) + initial_seed.seed = gcry_sexp_nth_data (initial_seed.sexp, 1, + &initial_seed.seedlen); + } + + /* Fixme: Enable 186-3 after it has been approved and after fixing + the generation function. */ + /* if (use_fips186_2) */ + (void)use_fips186_2; + ec = _gcry_generate_fips186_2_prime (nbits, qbits, + initial_seed.seed, + initial_seed.seedlen, + &prime_q, &prime_p, + r_counter, + r_seed, r_seedlen); + /* else */ + /* ec = _gcry_generate_fips186_3_prime (nbits, qbits, NULL, 0, */ + /* &prime_q, &prime_p, */ + /* r_counter, */ + /* r_seed, r_seedlen, NULL); */ + gcry_sexp_release (initial_seed.sexp); + if (ec) + goto leave; + + /* Find a generator g (h and e are helpers). + e = (p-1)/q */ + value_e = mpi_alloc_like (prime_p); + mpi_sub_ui (value_e, prime_p, 1); + mpi_fdiv_q (value_e, value_e, prime_q ); + value_g = mpi_alloc_like (prime_p); + value_h = mpi_alloc_set_ui (1); + do + { + mpi_add_ui (value_h, value_h, 1); + /* g = h^e mod p */ + mpi_powm (value_g, value_h, value_e, prime_p); + } + while (!mpi_cmp_ui (value_g, 1)); /* Continue until g != 1. */ + } + + + /* Select a random number x with: 0 < x < q */ + value_x = gcry_mpi_snew (qbits); + do + { + if( DBG_CIPHER ) + progress('.'); + gcry_mpi_randomize (value_x, qbits, GCRY_VERY_STRONG_RANDOM); + mpi_clear_highbit (value_x, qbits+1); + } + while (!(mpi_cmp_ui (value_x, 0) > 0 && mpi_cmp (value_x, prime_q) < 0)); + + /* y = g^x mod p */ + value_y = mpi_alloc_like (prime_p); + gcry_mpi_powm (value_y, value_g, value_x, prime_p); + + if (DBG_CIPHER) + { + progress('\n'); + log_mpidump("dsa p", prime_p ); + log_mpidump("dsa q", prime_q ); + log_mpidump("dsa g", value_g ); + log_mpidump("dsa y", value_y ); + log_mpidump("dsa x", value_x ); + log_mpidump("dsa h", value_h ); + } + + /* Copy the stuff to the key structures. */ + sk->p = prime_p; prime_p = NULL; + sk->q = prime_q; prime_q = NULL; + sk->g = value_g; value_g = NULL; + sk->y = value_y; value_y = NULL; + sk->x = value_x; value_x = NULL; + *r_h = value_h; value_h = NULL; + + leave: + gcry_mpi_release (prime_p); + gcry_mpi_release (prime_q); + gcry_mpi_release (value_g); + gcry_mpi_release (value_y); + gcry_mpi_release (value_x); + gcry_mpi_release (value_h); + gcry_mpi_release (value_e); + + /* As a last step test this keys (this should never fail of course). */ + if (!ec && test_keys (sk, qbits) ) + { + gcry_mpi_release (sk->p); sk->p = NULL; + gcry_mpi_release (sk->q); sk->q = NULL; + gcry_mpi_release (sk->g); sk->g = NULL; + gcry_mpi_release (sk->y); sk->y = NULL; + gcry_mpi_release (sk->x); sk->x = NULL; + fips_signal_error ("self-test after key generation failed"); + ec = GPG_ERR_SELFTEST_FAILED; + } + + if (ec) + { + *r_counter = 0; + gcry_free (*r_seed); *r_seed = NULL; + *r_seedlen = 0; + gcry_mpi_release (*r_h); *r_h = NULL; + } + + return ec; +} + + + +/* + Test whether the secret key is valid. + Returns: if this is a valid key. + */ +static int +check_secret_key( DSA_secret_key *sk ) +{ + int rc; + gcry_mpi_t y = mpi_alloc( mpi_get_nlimbs(sk->y) ); + + gcry_mpi_powm( y, sk->g, sk->x, sk->p ); + rc = !mpi_cmp( y, sk->y ); + mpi_free( y ); + return rc; +} + + + +/* + Make a DSA signature from HASH and put it into r and s. + */ +static void +sign(gcry_mpi_t r, gcry_mpi_t s, gcry_mpi_t hash, DSA_secret_key *skey ) +{ + gcry_mpi_t k; + gcry_mpi_t kinv; + gcry_mpi_t tmp; + + /* Select a random k with 0 < k < q */ + k = gen_k( skey->q ); + + /* r = (a^k mod p) mod q */ + gcry_mpi_powm( r, skey->g, k, skey->p ); + mpi_fdiv_r( r, r, skey->q ); + + /* kinv = k^(-1) mod q */ + kinv = mpi_alloc( mpi_get_nlimbs(k) ); + mpi_invm(kinv, k, skey->q ); + + /* s = (kinv * ( hash + x * r)) mod q */ + tmp = mpi_alloc( mpi_get_nlimbs(skey->p) ); + mpi_mul( tmp, skey->x, r ); + mpi_add( tmp, tmp, hash ); + mpi_mulm( s , kinv, tmp, skey->q ); + + mpi_free(k); + mpi_free(kinv); + mpi_free(tmp); +} + + +/* + Returns true if the signature composed from R and S is valid. + */ +static int +verify (gcry_mpi_t r, gcry_mpi_t s, gcry_mpi_t hash, DSA_public_key *pkey ) +{ + int rc; + gcry_mpi_t w, u1, u2, v; + gcry_mpi_t base[3]; + gcry_mpi_t ex[3]; + + if( !(mpi_cmp_ui( r, 0 ) > 0 && mpi_cmp( r, pkey->q ) < 0) ) + return 0; /* assertion 0 < r < q failed */ + if( !(mpi_cmp_ui( s, 0 ) > 0 && mpi_cmp( s, pkey->q ) < 0) ) + return 0; /* assertion 0 < s < q failed */ + + w = mpi_alloc( mpi_get_nlimbs(pkey->q) ); + u1 = mpi_alloc( mpi_get_nlimbs(pkey->q) ); + u2 = mpi_alloc( mpi_get_nlimbs(pkey->q) ); + v = mpi_alloc( mpi_get_nlimbs(pkey->p) ); + + /* w = s^(-1) mod q */ + mpi_invm( w, s, pkey->q ); + + /* u1 = (hash * w) mod q */ + mpi_mulm( u1, hash, w, pkey->q ); + + /* u2 = r * w mod q */ + mpi_mulm( u2, r, w, pkey->q ); + + /* v = g^u1 * y^u2 mod p mod q */ + base[0] = pkey->g; ex[0] = u1; + base[1] = pkey->y; ex[1] = u2; + base[2] = NULL; ex[2] = NULL; + mpi_mulpowm( v, base, ex, pkey->p ); + mpi_fdiv_r( v, v, pkey->q ); + + rc = !mpi_cmp( v, r ); + + mpi_free(w); + mpi_free(u1); + mpi_free(u2); + mpi_free(v); + + return rc; +} + + +/********************************************* + ************** interface ****************** + *********************************************/ + +static gcry_err_code_t +dsa_generate_ext (int algo, unsigned int nbits, unsigned long evalue, + const gcry_sexp_t genparms, + gcry_mpi_t *skey, gcry_mpi_t **retfactors, + gcry_sexp_t *r_extrainfo) +{ + gpg_err_code_t ec; + DSA_secret_key sk; + gcry_sexp_t l1; + unsigned int qbits = 0; + gcry_sexp_t deriveparms = NULL; + gcry_sexp_t seedinfo = NULL; + int transient_key = 0; + int use_fips186_2 = 0; + int use_fips186 = 0; + dsa_domain_t domain; + + (void)algo; /* No need to check it. */ + (void)evalue; /* Not required for DSA. */ + + memset (&domain, 0, sizeof domain); + + if (genparms) + { + gcry_sexp_t domainsexp; + + /* Parse the optional qbits element. */ + l1 = gcry_sexp_find_token (genparms, "qbits", 0); + if (l1) + { + char buf[50]; + const char *s; + size_t n; + + s = gcry_sexp_nth_data (l1, 1, &n); + if (!s || n >= DIM (buf) - 1 ) + { + gcry_sexp_release (l1); + return GPG_ERR_INV_OBJ; /* No value or value too large. */ + } + memcpy (buf, s, n); + buf[n] = 0; + qbits = (unsigned int)strtoul (buf, NULL, 0); + gcry_sexp_release (l1); + } + + /* Parse the optional transient-key flag. */ + l1 = gcry_sexp_find_token (genparms, "transient-key", 0); + if (l1) + { + transient_key = 1; + gcry_sexp_release (l1); + } + + /* Get the optional derive parameters. */ + deriveparms = gcry_sexp_find_token (genparms, "derive-parms", 0); + + /* Parse the optional "use-fips186" flags. */ + l1 = gcry_sexp_find_token (genparms, "use-fips186", 0); + if (l1) + { + use_fips186 = 1; + gcry_sexp_release (l1); + } + l1 = gcry_sexp_find_token (genparms, "use-fips186-2", 0); + if (l1) + { + use_fips186_2 = 1; + gcry_sexp_release (l1); + } + + /* Check whether domain parameters are given. */ + domainsexp = gcry_sexp_find_token (genparms, "domain", 0); + if (domainsexp) + { + /* DERIVEPARMS can't be used together with domain + parameters. NBITS abnd QBITS may not be specified + because there values are derived from the domain + parameters. */ + if (deriveparms || qbits || nbits) + { + gcry_sexp_release (domainsexp); + gcry_sexp_release (deriveparms); + return GPG_ERR_INV_VALUE; + } + + /* Put all domain parameters into the domain object. */ + l1 = gcry_sexp_find_token (domainsexp, "p", 0); + domain.p = gcry_sexp_nth_mpi (l1, 1, GCRYMPI_FMT_USG); + gcry_sexp_release (l1); + l1 = gcry_sexp_find_token (domainsexp, "q", 0); + domain.q = gcry_sexp_nth_mpi (l1, 1, GCRYMPI_FMT_USG); + gcry_sexp_release (l1); + l1 = gcry_sexp_find_token (domainsexp, "g", 0); + domain.g = gcry_sexp_nth_mpi (l1, 1, GCRYMPI_FMT_USG); + gcry_sexp_release (l1); + gcry_sexp_release (domainsexp); + + /* Check that all domain parameters are available. */ + if (!domain.p || !domain.q || !domain.g) + { + gcry_mpi_release (domain.p); + gcry_mpi_release (domain.q); + gcry_mpi_release (domain.g); + gcry_sexp_release (deriveparms); + return GPG_ERR_MISSING_VALUE; + } + + /* Get NBITS and QBITS from the domain parameters. */ + nbits = mpi_get_nbits (domain.p); + qbits = mpi_get_nbits (domain.q); + } + } + + if (deriveparms || use_fips186 || use_fips186_2 || fips_mode ()) + { + int counter; + void *seed; + size_t seedlen; + gcry_mpi_t h_value; + + ec = generate_fips186 (&sk, nbits, qbits, deriveparms, use_fips186_2, + &domain, + &counter, &seed, &seedlen, &h_value); + gcry_sexp_release (deriveparms); + if (!ec && h_value) + { + /* Format the seed-values unless domain parameters are used + for which a H_VALUE of NULL is an indication. */ + ec = gpg_err_code (gcry_sexp_build + (&seedinfo, NULL, + "(seed-values(counter %d)(seed %b)(h %m))", + counter, (int)seedlen, seed, h_value)); + if (ec) + { + gcry_mpi_release (sk.p); sk.p = NULL; + gcry_mpi_release (sk.q); sk.q = NULL; + gcry_mpi_release (sk.g); sk.g = NULL; + gcry_mpi_release (sk.y); sk.y = NULL; + gcry_mpi_release (sk.x); sk.x = NULL; + } + gcry_free (seed); + gcry_mpi_release (h_value); + } + } + else + { + ec = generate (&sk, nbits, qbits, transient_key, &domain, retfactors); + } + + gcry_mpi_release (domain.p); + gcry_mpi_release (domain.q); + gcry_mpi_release (domain.g); + + if (!ec) + { + skey[0] = sk.p; + skey[1] = sk.q; + skey[2] = sk.g; + skey[3] = sk.y; + skey[4] = sk.x; + + if (!r_extrainfo) + { + /* Old style interface - return the factors - if any - at + retfactors. */ + } + else if (!*retfactors && !seedinfo) + { + /* No factors and no seedinfo, thus there is nothing to return. */ + *r_extrainfo = NULL; + } + else + { + /* Put the factors into extrainfo and set retfactors to NULL + to make use of the new interface. Note that the factors + are not confidential thus we can store them in standard + memory. */ + int nfactors, i, j; + char *p; + char *format = NULL; + void **arg_list = NULL; + + for (nfactors=0; *retfactors && (*retfactors)[nfactors]; nfactors++) + ; + /* Allocate space for the format string: + "(misc-key-info%S(pm1-factors%m))" + with one "%m" for each factor and construct it. */ + format = gcry_malloc (50 + 2*nfactors); + if (!format) + ec = gpg_err_code_from_syserror (); + else + { + p = stpcpy (format, "(misc-key-info"); + if (seedinfo) + p = stpcpy (p, "%S"); + if (nfactors) + { + p = stpcpy (p, "(pm1-factors"); + for (i=0; i < nfactors; i++) + p = stpcpy (p, "%m"); + p = stpcpy (p, ")"); + } + p = stpcpy (p, ")"); + + /* Allocate space for the list of factors plus one for + an S-expression plus an extra NULL entry for safety + and fill it with the factors. */ + arg_list = gcry_calloc (nfactors+1+1, sizeof *arg_list); + if (!arg_list) + ec = gpg_err_code_from_syserror (); + else + { + i = 0; + if (seedinfo) + arg_list[i++] = &seedinfo; + for (j=0; j < nfactors; j++) + arg_list[i++] = (*retfactors) + j; + arg_list[i] = NULL; + + ec = gpg_err_code (gcry_sexp_build_array + (r_extrainfo, NULL, format, arg_list)); + } + } + + gcry_free (arg_list); + gcry_free (format); + for (i=0; i < nfactors; i++) + { + gcry_mpi_release ((*retfactors)[i]); + (*retfactors)[i] = NULL; + } + *retfactors = NULL; + if (ec) + { + for (i=0; i < 5; i++) + { + gcry_mpi_release (skey[i]); + skey[i] = NULL; + } + } + } + } + + gcry_sexp_release (seedinfo); + return ec; +} + + +static gcry_err_code_t +dsa_generate (int algo, unsigned int nbits, unsigned long evalue, + gcry_mpi_t *skey, gcry_mpi_t **retfactors) +{ + (void)evalue; + return dsa_generate_ext (algo, nbits, 0, NULL, skey, retfactors, NULL); +} + + + +static gcry_err_code_t +dsa_check_secret_key (int algo, gcry_mpi_t *skey) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + DSA_secret_key sk; + + (void)algo; + + if ((! skey[0]) || (! skey[1]) || (! skey[2]) || (! skey[3]) || (! skey[4])) + err = GPG_ERR_BAD_MPI; + else + { + sk.p = skey[0]; + sk.q = skey[1]; + sk.g = skey[2]; + sk.y = skey[3]; + sk.x = skey[4]; + if (! check_secret_key (&sk)) + err = GPG_ERR_BAD_SECKEY; + } + + return err; +} + + +static gcry_err_code_t +dsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + DSA_secret_key sk; + + (void)algo; + + if ((! data) + || (! skey[0]) || (! skey[1]) || (! skey[2]) + || (! skey[3]) || (! skey[4])) + err = GPG_ERR_BAD_MPI; + else + { + sk.p = skey[0]; + sk.q = skey[1]; + sk.g = skey[2]; + sk.y = skey[3]; + sk.x = skey[4]; + resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.p)); + resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.p)); + sign (resarr[0], resarr[1], data, &sk); + } + return err; +} + +static gcry_err_code_t +dsa_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, + int (*cmp) (void *, gcry_mpi_t), void *opaquev) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + DSA_public_key pk; + + (void)algo; + (void)cmp; + (void)opaquev; + + if ((! data[0]) || (! data[1]) || (! hash) + || (! pkey[0]) || (! pkey[1]) || (! pkey[2]) || (! pkey[3])) + err = GPG_ERR_BAD_MPI; + else + { + pk.p = pkey[0]; + pk.q = pkey[1]; + pk.g = pkey[2]; + pk.y = pkey[3]; + if (! verify (data[0], data[1], hash, &pk)) + err = GPG_ERR_BAD_SIGNATURE; + } + return err; +} + + +static unsigned int +dsa_get_nbits (int algo, gcry_mpi_t *pkey) +{ + (void)algo; + + return mpi_get_nbits (pkey[0]); +} + + + +/* + Self-test section. + */ + + + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static const char *dsa_names[] = + { + "dsa", + "openpgp-dsa", + NULL, + }; + +gcry_pk_spec_t _gcry_pubkey_spec_dsa = + { + "DSA", dsa_names, + "pqgy", "pqgyx", "", "rs", "pqgy", + GCRY_PK_USAGE_SIGN, + dsa_generate, + dsa_check_secret_key, + NULL, + NULL, + dsa_sign, + dsa_verify, + dsa_get_nbits + }; +pk_extra_spec_t _gcry_pubkey_extraspec_dsa = + { + run_selftests, + dsa_generate_ext + }; + diff --git a/grub-core/lib/libgcrypt-grub/cipher/ecc.c b/grub-core/lib/libgcrypt-grub/cipher/ecc.c new file mode 100644 index 0000000..75a2c8d --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/ecc.c @@ -0,0 +1,1351 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* ecc.c - Elliptic Curve Cryptography + Copyright (C) 2007, 2008 Free Software Foundation, Inc. + + This file is part of Libgcrypt. + + Libgcrypt is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of + the License, or (at your option) any later version. + + Libgcrypt is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + USA. */ + +/* This code is originally based on the Patch 0.1.6 for the gnupg + 1.4.x branch as retrieved on 2007-03-21 from + http://www.calcurco.cat/eccGnuPG/src/gnupg-1.4.6-ecc0.2.0beta1.diff.bz2 + The original authors are: + Written by + Sergi Blanch i Torne , + Ramiro Moreno Chiral + Maintainers + Sergi Blanch i Torne + Ramiro Moreno Chiral + Mikael Mylnikov (mmr) + For use in Libgcrypt the code has been heavily modified and cleaned + up. In fact there is not much left of the orginally code except for + some variable names and the text book implementaion of the sign and + verification algorithms. The arithmetic functions have entirely + been rewritten and moved to mpi/ec.c. */ + + +/* TODO: + + - If we support point compression we need to decide how to compute + the keygrip - it should not change due to compression. + + - In mpi/ec.c we use mpi_powm for x^2 mod p: Either implement a + special case in mpi_powm or check whether mpi_mulm is faster. + + - Decide whether we should hide the mpi_point_t definition. + + - Support more than just ECDSA. +*/ + + + +#include "g10lib.h" +#include "mpi.h" +#include "cipher.h" + + +/* Definition of a curve. */ +typedef struct +{ + gcry_mpi_t p; /* Prime specifying the field GF(p). */ + gcry_mpi_t a; /* First coefficient of the Weierstrass equation. */ + gcry_mpi_t b; /* Second coefficient of the Weierstrass equation. */ + mpi_point_t G; /* Base point (generator). */ + gcry_mpi_t n; /* Order of G. */ +} elliptic_curve_t; + + +typedef struct +{ + elliptic_curve_t E; + mpi_point_t Q; /* Q = [d]G */ +} ECC_public_key; + +typedef struct +{ + elliptic_curve_t E; + mpi_point_t Q; + gcry_mpi_t d; +} ECC_secret_key; + + +/* This tables defines aliases for curve names. */ +static const struct +{ + const char *name; /* Our name. */ + const char *other; /* Other name. */ +} curve_aliases[] = + { + { "NIST P-192", "1.2.840.10045.3.1.1" }, /* X9.62 OID */ + { "NIST P-192", "prime192v1" }, /* X9.62 name. */ + { "NIST P-192", "secp192r1" }, /* SECP name. */ + + { "NIST P-224", "secp224r1" }, + { "NIST P-224", "1.3.132.0.33" }, /* SECP OID. */ + + { "NIST P-256", "1.2.840.10045.3.1.7" }, /* From NIST SP 800-78-1. */ + { "NIST P-256", "prime256v1" }, + { "NIST P-256", "secp256r1" }, + + { "NIST P-384", "secp384r1" }, + { "NIST P-384", "1.3.132.0.34" }, + + { "NIST P-521", "secp521r1" }, + { "NIST P-521", "1.3.132.0.35" }, + + { "brainpoolP160r1", "1.3.36.3.3.2.8.1.1.1" }, + { "brainpoolP192r1", "1.3.36.3.3.2.8.1.1.3" }, + { "brainpoolP224r1", "1.3.36.3.3.2.8.1.1.5" }, + { "brainpoolP256r1", "1.3.36.3.3.2.8.1.1.7" }, + { "brainpoolP320r1", "1.3.36.3.3.2.8.1.1.9" }, + { "brainpoolP384r1", "1.3.36.3.3.2.8.1.1.11"}, + { "brainpoolP512r1", "1.3.36.3.3.2.8.1.1.13"}, + + { NULL, NULL} + }; + + + +/* This static table defines all available curves. */ +static const struct +{ + const char *desc; /* Description of the curve. */ + unsigned int nbits; /* Number of bits. */ + unsigned int fips:1; /* True if this is a FIPS140-2 approved curve. */ + const char *p; /* Order of the prime field. */ + const char *a, *b; /* The coefficients. */ + const char *n; /* The order of the base point. */ + const char *g_x, *g_y; /* Base point. */ +} domain_parms[] = + { + { + "NIST P-192", 192, 1, + "0xfffffffffffffffffffffffffffffffeffffffffffffffff", + "0xfffffffffffffffffffffffffffffffefffffffffffffffc", + "0x64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1", + "0xffffffffffffffffffffffff99def836146bc9b1b4d22831", + + "0x188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012", + "0x07192b95ffc8da78631011ed6b24cdd573f977a11e794811" + }, + { + "NIST P-224", 224, 1, + "0xffffffffffffffffffffffffffffffff000000000000000000000001", + "0xfffffffffffffffffffffffffffffffefffffffffffffffffffffffe", + "0xb4050a850c04b3abf54132565044b0b7d7bfd8ba270b39432355ffb4", + "0xffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3d" , + + "0xb70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21", + "0xbd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34" + }, + { + "NIST P-256", 256, 1, + "0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff", + "0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc", + "0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", + "0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", + + "0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", + "0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5" + }, + { + "NIST P-384", 384, 1, + "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe" + "ffffffff0000000000000000ffffffff", + "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe" + "ffffffff0000000000000000fffffffc", + "0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875a" + "c656398d8a2ed19d2a85c8edd3ec2aef", + "0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf" + "581a0db248b0a77aecec196accc52973", + + "0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a38" + "5502f25dbf55296c3a545e3872760ab7", + "0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c0" + "0a60b1ce1d7e819d7a431d7c90ea0e5f" + }, + { + "NIST P-521", 521, 1, + "0x01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "0x01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc", + "0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef10" + "9e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00", + "0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + "ffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409", + + "0xc6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3d" + "baa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66", + "0x11839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e6" + "62c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650" + }, + + { "brainpoolP160r1", 160, 0, + "0xe95e4a5f737059dc60dfc7ad95b3d8139515620f", + "0x340e7be2a280eb74e2be61bada745d97e8f7c300", + "0x1e589a8595423412134faa2dbdec95c8d8675e58", + "0xe95e4a5f737059dc60df5991d45029409e60fc09", + "0xbed5af16ea3f6a4f62938c4631eb5af7bdbcdbc3", + "0x1667cb477a1a8ec338f94741669c976316da6321" + }, + + { "brainpoolP192r1", 192, 0, + "0xc302f41d932a36cda7a3463093d18db78fce476de1a86297", + "0x6a91174076b1e0e19c39c031fe8685c1cae040e5c69a28ef", + "0x469a28ef7c28cca3dc721d044f4496bcca7ef4146fbf25c9", + "0xc302f41d932a36cda7a3462f9e9e916b5be8f1029ac4acc1", + "0xc0a0647eaab6a48753b033c56cb0f0900a2f5c4853375fd6", + "0x14b690866abd5bb88b5f4828c1490002e6773fa2fa299b8f" + }, + + { "brainpoolP224r1", 224, 0, + "0xd7c134aa264366862a18302575d1d787b09f075797da89f57ec8c0ff", + "0x68a5e62ca9ce6c1c299803a6c1530b514e182ad8b0042a59cad29f43", + "0x2580f63ccfe44138870713b1a92369e33e2135d266dbb372386c400b", + "0xd7c134aa264366862a18302575d0fb98d116bc4b6ddebca3a5a7939f", + "0x0d9029ad2c7e5cf4340823b2a87dc68c9e4ce3174c1e6efdee12c07d", + "0x58aa56f772c0726f24c6b89e4ecdac24354b9e99caa3f6d3761402cd" + }, + + { "brainpoolP256r1", 256, 0, + "0xa9fb57dba1eea9bc3e660a909d838d726e3bf623d52620282013481d1f6e5377", + "0x7d5a0975fc2c3057eef67530417affe7fb8055c126dc5c6ce94a4b44f330b5d9", + "0x26dc5c6ce94a4b44f330b5d9bbd77cbf958416295cf7e1ce6bccdc18ff8c07b6", + "0xa9fb57dba1eea9bc3e660a909d838d718c397aa3b561a6f7901e0e82974856a7", + "0x8bd2aeb9cb7e57cb2c4b482ffc81b7afb9de27e1e3bd23c23a4453bd9ace3262", + "0x547ef835c3dac4fd97f8461a14611dc9c27745132ded8e545c1d54c72f046997" + }, + + { "brainpoolP320r1", 320, 0, + "0xd35e472036bc4fb7e13c785ed201e065f98fcfa6f6f40def4f92b9ec7893ec28" + "fcd412b1f1b32e27", + "0x3ee30b568fbab0f883ccebd46d3f3bb8a2a73513f5eb79da66190eb085ffa9f4" + "92f375a97d860eb4", + "0x520883949dfdbc42d3ad198640688a6fe13f41349554b49acc31dccd88453981" + "6f5eb4ac8fb1f1a6", + "0xd35e472036bc4fb7e13c785ed201e065f98fcfa5b68f12a32d482ec7ee8658e9" + "8691555b44c59311", + "0x43bd7e9afb53d8b85289bcc48ee5bfe6f20137d10a087eb6e7871e2a10a599c7" + "10af8d0d39e20611", + "0x14fdd05545ec1cc8ab4093247f77275e0743ffed117182eaa9c77877aaac6ac7" + "d35245d1692e8ee1" + }, + + { "brainpoolP384r1", 384, 0, + "0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b412b1da197fb71123" + "acd3a729901d1a71874700133107ec53", + "0x7bc382c63d8c150c3c72080ace05afa0c2bea28e4fb22787139165efba91f90f" + "8aa5814a503ad4eb04a8c7dd22ce2826", + "0x04a8c7dd22ce28268b39b55416f0447c2fb77de107dcd2a62e880ea53eeb62d5" + "7cb4390295dbc9943ab78696fa504c11", + "0x8cb91e82a3386d280f5d6f7e50e641df152f7109ed5456b31f166e6cac0425a7" + "cf3ab6af6b7fc3103b883202e9046565", + "0x1d1c64f068cf45ffa2a63a81b7c13f6b8847a3e77ef14fe3db7fcafe0cbd10e8" + "e826e03436d646aaef87b2e247d4af1e", + "0x8abe1d7520f9c2a45cb1eb8e95cfd55262b70b29feec5864e19c054ff9912928" + "0e4646217791811142820341263c5315" + }, + + { "brainpoolP512r1", 512, 0, + "0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca70330871" + "7d4d9b009bc66842aecda12ae6a380e62881ff2f2d82c68528aa6056583a48f3", + "0x7830a3318b603b89e2327145ac234cc594cbdd8d3df91610a83441caea9863bc" + "2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a72bf2c7b9e7c1ac4d77fc94ca", + "0x3df91610a83441caea9863bc2ded5d5aa8253aa10a2ef1c98b9ac8b57f1117a7" + "2bf2c7b9e7c1ac4d77fc94cadc083e67984050b75ebae5dd2809bd638016f723", + "0xaadd9db8dbe9c48b3fd4e6ae33c9fc07cb308db3b3c9d20ed6639cca70330870" + "553e5c414ca92619418661197fac10471db1d381085ddaddb58796829ca90069", + "0x81aee4bdd82ed9645a21322e9c4c6a9385ed9f70b5d916c1b43b62eef4d0098e" + "ff3b1f78e2d0d48d50d1687b93b97d5f7c6d5047406a5e688b352209bcb9f822", + "0x7dde385d566332ecc0eabfa9cf7822fdf209f70024a57b1aa000c55b881f8111" + "b2dcde494a5f485e5bca4bd88a2763aed1ca2b2fa8f0540678cd1e0f3ad80892" + }, + + { NULL, 0, 0, NULL, NULL, NULL, NULL } + }; + + +/* Registered progress function and its callback value. */ +static void (*progress_cb) (void *, const char*, int, int, int); +static void *progress_cb_data; + + +#define point_init(a) _gcry_mpi_ec_point_init ((a)) +#define point_free(a) _gcry_mpi_ec_point_free ((a)) + + + +/* Local prototypes. */ +static gcry_mpi_t gen_k (gcry_mpi_t p, int security_level); +static void test_keys (ECC_secret_key * sk, unsigned int nbits); +static int check_secret_key (ECC_secret_key * sk); +static gpg_err_code_t sign (gcry_mpi_t input, ECC_secret_key *skey, + gcry_mpi_t r, gcry_mpi_t s); +static gpg_err_code_t verify (gcry_mpi_t input, ECC_public_key *pkey, + gcry_mpi_t r, gcry_mpi_t s); + + +static gcry_mpi_t gen_y_2 (gcry_mpi_t x, elliptic_curve_t * base); + + + + +void +_gcry_register_pk_ecc_progress (void (*cb) (void *, const char *, + int, int, int), + void *cb_data) +{ + progress_cb = cb; + progress_cb_data = cb_data; +} + +/* static void */ +/* progress (int c) */ +/* { */ +/* if (progress_cb) */ +/* progress_cb (progress_cb_data, "pk_ecc", c, 0, 0); */ +/* } */ + + + + +/* Set the value from S into D. */ +static void +point_set (mpi_point_t *d, mpi_point_t *s) +{ + mpi_set (d->x, s->x); + mpi_set (d->y, s->y); + mpi_set (d->z, s->z); +} + + +/* + * Release a curve object. + */ +static void +curve_free (elliptic_curve_t *E) +{ + mpi_free (E->p); E->p = NULL; + mpi_free (E->a); E->a = NULL; + mpi_free (E->b); E->b = NULL; + point_free (&E->G); + mpi_free (E->n); E->n = NULL; +} + + +/* + * Return a copy of a curve object. + */ +static elliptic_curve_t +curve_copy (elliptic_curve_t E) +{ + elliptic_curve_t R; + + R.p = mpi_copy (E.p); + R.a = mpi_copy (E.a); + R.b = mpi_copy (E.b); + point_init (&R.G); + point_set (&R.G, &E.G); + R.n = mpi_copy (E.n); + + return R; +} + + + +/* Helper to scan a hex string. */ +static gcry_mpi_t +scanval (const char *string) +{ + gpg_error_t err; + gcry_mpi_t val; + + err = gcry_mpi_scan (&val, GCRYMPI_FMT_HEX, string, 0, NULL); + if (err) + log_fatal ("scanning ECC parameter failed: %s\n", gpg_strerror (err)); + return val; +} + + + + + +/**************** + * Solve the right side of the equation that defines a curve. + */ +static gcry_mpi_t +gen_y_2 (gcry_mpi_t x, elliptic_curve_t *base) +{ + gcry_mpi_t three, x_3, axb, y; + + three = mpi_alloc_set_ui (3); + x_3 = mpi_new (0); + axb = mpi_new (0); + y = mpi_new (0); + + mpi_powm (x_3, x, three, base->p); + mpi_mulm (axb, base->a, x, base->p); + mpi_addm (axb, axb, base->b, base->p); + mpi_addm (y, x_3, axb, base->p); + + mpi_free (x_3); + mpi_free (axb); + mpi_free (three); + return y; /* The quadratic value of the coordinate if it exist. */ +} + + + + + +/* Generate a random secret scalar k with an order of p + + At the beginning this was identical to the code is in elgamal.c. + Later imporved by mmr. Further simplified by wk. */ +static gcry_mpi_t +gen_k (gcry_mpi_t p, int security_level) +{ + gcry_mpi_t k; + unsigned int nbits; + + nbits = mpi_get_nbits (p); + k = mpi_snew (nbits); + if (DBG_CIPHER) + log_debug ("choosing a random k of %u bits\n", nbits); + + gcry_mpi_randomize (k, nbits, security_level); + + mpi_mod (k, k, p); /* k = k mod p */ + + return k; +} + +/**************** + * Generate the crypto system setup. + * As of now the fix NIST recommended values are used. + * The subgroup generator point is in another function: gen_big_point. + */ +static gpg_err_code_t +generate_curve (unsigned int nbits, const char *name, + elliptic_curve_t *curve, unsigned int *r_nbits) +{ + int idx, aliasno; + + if (name) + { + /* First check nor native curves. */ + for (idx = 0; domain_parms[idx].desc; idx++) + if (!strcmp (name, domain_parms[idx].desc)) + break; + /* If not found consult the alias table. */ + if (!domain_parms[idx].desc) + { + for (aliasno = 0; curve_aliases[aliasno].name; aliasno++) + if (!strcmp (name, curve_aliases[aliasno].other)) + break; + if (curve_aliases[aliasno].name) + { + for (idx = 0; domain_parms[idx].desc; idx++) + if (!strcmp (curve_aliases[aliasno].name, + domain_parms[idx].desc)) + break; + } + } + } + else + { + for (idx = 0; domain_parms[idx].desc; idx++) + if (nbits == domain_parms[idx].nbits) + break; + } + if (!domain_parms[idx].desc) + return GPG_ERR_INV_VALUE; + + /* In fips mode we only support NIST curves. Note that it is + possible to bypass this check by specifying the curve parameters + directly. */ + if (fips_mode () && !domain_parms[idx].fips ) + return GPG_ERR_NOT_SUPPORTED; + + + *r_nbits = domain_parms[idx].nbits; + curve->p = scanval (domain_parms[idx].p); + curve->a = scanval (domain_parms[idx].a); + curve->b = scanval (domain_parms[idx].b); + curve->n = scanval (domain_parms[idx].n); + curve->G.x = scanval (domain_parms[idx].g_x); + curve->G.y = scanval (domain_parms[idx].g_y); + curve->G.z = mpi_alloc_set_ui (1); + + return 0; +} + + +/* + * First obtain the setup. Over the finite field randomize an scalar + * secret value, and calculate the public point. + */ +static gpg_err_code_t +generate_key (ECC_secret_key *sk, unsigned int nbits, const char *name, + gcry_mpi_t g_x, gcry_mpi_t g_y, + gcry_mpi_t q_x, gcry_mpi_t q_y) +{ + gpg_err_code_t err; + elliptic_curve_t E; + gcry_mpi_t d; + mpi_point_t Q; + mpi_ec_t ctx; + + err = generate_curve (nbits, name, &E, &nbits); + if (err) + return err; + + if (DBG_CIPHER) + { + log_mpidump ("ecc generation p", E.p); + log_mpidump ("ecc generation a", E.a); + log_mpidump ("ecc generation b", E.b); + log_mpidump ("ecc generation n", E.n); + log_mpidump ("ecc generation Gx", E.G.x); + log_mpidump ("ecc generation Gy", E.G.y); + log_mpidump ("ecc generation Gz", E.G.z); + } + + if (DBG_CIPHER) + log_debug ("choosing a random x of size %u\n", nbits); + d = gen_k (E.n, GCRY_VERY_STRONG_RANDOM); + + /* Compute Q. */ + point_init (&Q); + ctx = _gcry_mpi_ec_init (E.p, E.a); + _gcry_mpi_ec_mul_point (&Q, d, &E.G, ctx); + + /* Copy the stuff to the key structures. */ + sk->E.p = mpi_copy (E.p); + sk->E.a = mpi_copy (E.a); + sk->E.b = mpi_copy (E.b); + point_init (&sk->E.G); + point_set (&sk->E.G, &E.G); + sk->E.n = mpi_copy (E.n); + point_init (&sk->Q); + point_set (&sk->Q, &Q); + sk->d = mpi_copy (d); + /* We also return copies of G and Q in affine coordinates if + requested. */ + if (g_x && g_y) + { + if (_gcry_mpi_ec_get_affine (g_x, g_y, &sk->E.G, ctx)) + log_fatal ("ecc generate: Failed to get affine coordinates\n"); + } + if (q_x && q_y) + { + if (_gcry_mpi_ec_get_affine (q_x, q_y, &sk->Q, ctx)) + log_fatal ("ecc generate: Failed to get affine coordinates\n"); + } + _gcry_mpi_ec_free (ctx); + + point_free (&Q); + mpi_free (d); + curve_free (&E); + + /* Now we can test our keys (this should never fail!). */ + test_keys (sk, nbits - 64); + + return 0; +} + + +/**************** + * To verify correct skey it use a random information. + * First, encrypt and decrypt this dummy value, + * test if the information is recuperated. + * Second, test with the sign and verify functions. + */ +static void +test_keys (ECC_secret_key *sk, unsigned int nbits) +{ + ECC_public_key pk; + gcry_mpi_t test = mpi_new (nbits); + mpi_point_t R_; + gcry_mpi_t c = mpi_new (nbits); + gcry_mpi_t out = mpi_new (nbits); + gcry_mpi_t r = mpi_new (nbits); + gcry_mpi_t s = mpi_new (nbits); + + if (DBG_CIPHER) + log_debug ("Testing key.\n"); + + point_init (&R_); + + pk.E = curve_copy (sk->E); + point_init (&pk.Q); + point_set (&pk.Q, &sk->Q); + + gcry_mpi_randomize (test, nbits, GCRY_WEAK_RANDOM); + + if (sign (test, sk, r, s) ) + log_fatal ("ECDSA operation: sign failed\n"); + + if (verify (test, &pk, r, s)) + { + log_fatal ("ECDSA operation: sign, verify failed\n"); + } + + if (DBG_CIPHER) + log_debug ("ECDSA operation: sign, verify ok.\n"); + + point_free (&pk.Q); + curve_free (&pk.E); + + point_free (&R_); + mpi_free (s); + mpi_free (r); + mpi_free (out); + mpi_free (c); + mpi_free (test); +} + +/**************** + * To check the validity of the value, recalculate the correspondence + * between the public value and the secret one. + */ +static int +check_secret_key (ECC_secret_key * sk) +{ + mpi_point_t Q; + gcry_mpi_t y_2, y2 = mpi_alloc (0); + mpi_ec_t ctx; + + /* ?primarity test of 'p' */ + /* (...) //!! */ + /* G in E(F_p) */ + y_2 = gen_y_2 (sk->E.G.x, &sk->E); /* y^2=x^3+a*x+b */ + mpi_mulm (y2, sk->E.G.y, sk->E.G.y, sk->E.p); /* y^2=y*y */ + if (mpi_cmp (y_2, y2)) + { + if (DBG_CIPHER) + log_debug ("Bad check: Point 'G' does not belong to curve 'E'!\n"); + return (1); + } + /* G != PaI */ + if (!mpi_cmp_ui (sk->E.G.z, 0)) + { + if (DBG_CIPHER) + log_debug ("Bad check: 'G' cannot be Point at Infinity!\n"); + return (1); + } + + point_init (&Q); + ctx = _gcry_mpi_ec_init (sk->E.p, sk->E.a); + _gcry_mpi_ec_mul_point (&Q, sk->E.n, &sk->E.G, ctx); + if (mpi_cmp_ui (Q.z, 0)) + { + if (DBG_CIPHER) + log_debug ("check_secret_key: E is not a curve of order n\n"); + point_free (&Q); + _gcry_mpi_ec_free (ctx); + return 1; + } + /* pubkey cannot be PaI */ + if (!mpi_cmp_ui (sk->Q.z, 0)) + { + if (DBG_CIPHER) + log_debug ("Bad check: Q can not be a Point at Infinity!\n"); + _gcry_mpi_ec_free (ctx); + return (1); + } + /* pubkey = [d]G over E */ + _gcry_mpi_ec_mul_point (&Q, sk->d, &sk->E.G, ctx); + if ((Q.x == sk->Q.x) && (Q.y == sk->Q.y) && (Q.z == sk->Q.z)) + { + if (DBG_CIPHER) + log_debug + ("Bad check: There is NO correspondence between 'd' and 'Q'!\n"); + _gcry_mpi_ec_free (ctx); + return (1); + } + _gcry_mpi_ec_free (ctx); + point_free (&Q); + return 0; +} + + +/* + * Return the signature struct (r,s) from the message hash. The caller + * must have allocated R and S. + */ +static gpg_err_code_t +sign (gcry_mpi_t input, ECC_secret_key *skey, gcry_mpi_t r, gcry_mpi_t s) +{ + gpg_err_code_t err = 0; + gcry_mpi_t k, dr, sum, k_1, x; + mpi_point_t I; + mpi_ec_t ctx; + + k = NULL; + dr = mpi_alloc (0); + sum = mpi_alloc (0); + k_1 = mpi_alloc (0); + x = mpi_alloc (0); + point_init (&I); + + mpi_set_ui (s, 0); + mpi_set_ui (r, 0); + + ctx = _gcry_mpi_ec_init (skey->E.p, skey->E.a); + + while (!mpi_cmp_ui (s, 0)) /* s == 0 */ + { + while (!mpi_cmp_ui (r, 0)) /* r == 0 */ + { + /* Note, that we are guaranteed to enter this loop at least + once because r has been intialized to 0. We can't use a + do_while because we want to keep the value of R even if S + has to be recomputed. */ + mpi_free (k); + k = gen_k (skey->E.n, GCRY_STRONG_RANDOM); + _gcry_mpi_ec_mul_point (&I, k, &skey->E.G, ctx); + if (_gcry_mpi_ec_get_affine (x, NULL, &I, ctx)) + { + if (DBG_CIPHER) + log_debug ("ecc sign: Failed to get affine coordinates\n"); + err = GPG_ERR_BAD_SIGNATURE; + goto leave; + } + mpi_mod (r, x, skey->E.n); /* r = x mod n */ + } + mpi_mulm (dr, skey->d, r, skey->E.n); /* dr = d*r mod n */ + mpi_addm (sum, input, dr, skey->E.n); /* sum = hash + (d*r) mod n */ + mpi_invm (k_1, k, skey->E.n); /* k_1 = k^(-1) mod n */ + mpi_mulm (s, k_1, sum, skey->E.n); /* s = k^(-1)*(hash+(d*r)) mod n */ + } + + leave: + _gcry_mpi_ec_free (ctx); + point_free (&I); + mpi_free (x); + mpi_free (k_1); + mpi_free (sum); + mpi_free (dr); + mpi_free (k); + + return err; +} + +/* + * Check if R and S verifies INPUT. + */ +static gpg_err_code_t +verify (gcry_mpi_t input, ECC_public_key *pkey, gcry_mpi_t r, gcry_mpi_t s) +{ + gpg_err_code_t err = 0; + gcry_mpi_t h, h1, h2, x, y; + mpi_point_t Q, Q1, Q2; + mpi_ec_t ctx; + + if( !(mpi_cmp_ui (r, 0) > 0 && mpi_cmp (r, pkey->E.n) < 0) ) + return GPG_ERR_BAD_SIGNATURE; /* Assertion 0 < r < n failed. */ + if( !(mpi_cmp_ui (s, 0) > 0 && mpi_cmp (s, pkey->E.n) < 0) ) + return GPG_ERR_BAD_SIGNATURE; /* Assertion 0 < s < n failed. */ + + h = mpi_alloc (0); + h1 = mpi_alloc (0); + h2 = mpi_alloc (0); + x = mpi_alloc (0); + y = mpi_alloc (0); + point_init (&Q); + point_init (&Q1); + point_init (&Q2); + + ctx = _gcry_mpi_ec_init (pkey->E.p, pkey->E.a); + + /* h = s^(-1) (mod n) */ + mpi_invm (h, s, pkey->E.n); +/* log_mpidump (" h", h); */ + /* h1 = hash * s^(-1) (mod n) */ + mpi_mulm (h1, input, h, pkey->E.n); +/* log_mpidump (" h1", h1); */ + /* Q1 = [ hash * s^(-1) ]G */ + _gcry_mpi_ec_mul_point (&Q1, h1, &pkey->E.G, ctx); +/* log_mpidump ("Q1.x", Q1.x); */ +/* log_mpidump ("Q1.y", Q1.y); */ +/* log_mpidump ("Q1.z", Q1.z); */ + /* h2 = r * s^(-1) (mod n) */ + mpi_mulm (h2, r, h, pkey->E.n); +/* log_mpidump (" h2", h2); */ + /* Q2 = [ r * s^(-1) ]Q */ + _gcry_mpi_ec_mul_point (&Q2, h2, &pkey->Q, ctx); +/* log_mpidump ("Q2.x", Q2.x); */ +/* log_mpidump ("Q2.y", Q2.y); */ +/* log_mpidump ("Q2.z", Q2.z); */ + /* Q = ([hash * s^(-1)]G) + ([r * s^(-1)]Q) */ + _gcry_mpi_ec_add_points (&Q, &Q1, &Q2, ctx); +/* log_mpidump (" Q.x", Q.x); */ +/* log_mpidump (" Q.y", Q.y); */ +/* log_mpidump (" Q.z", Q.z); */ + + if (!mpi_cmp_ui (Q.z, 0)) + { + if (DBG_CIPHER) + log_debug ("ecc verify: Rejected\n"); + err = GPG_ERR_BAD_SIGNATURE; + goto leave; + } + if (_gcry_mpi_ec_get_affine (x, y, &Q, ctx)) + { + if (DBG_CIPHER) + log_debug ("ecc verify: Failed to get affine coordinates\n"); + err = GPG_ERR_BAD_SIGNATURE; + goto leave; + } + mpi_mod (x, x, pkey->E.n); /* x = x mod E_n */ + if (mpi_cmp (x, r)) /* x != r */ + { + if (DBG_CIPHER) + { + log_mpidump (" x", x); + log_mpidump (" y", y); + log_mpidump (" r", r); + log_mpidump (" s", s); + log_debug ("ecc verify: Not verified\n"); + } + err = GPG_ERR_BAD_SIGNATURE; + goto leave; + } + if (DBG_CIPHER) + log_debug ("ecc verify: Accepted\n"); + + leave: + _gcry_mpi_ec_free (ctx); + point_free (&Q2); + point_free (&Q1); + point_free (&Q); + mpi_free (y); + mpi_free (x); + mpi_free (h2); + mpi_free (h1); + mpi_free (h); + return err; +} + + + +/********************************************* + ************** interface ****************** + *********************************************/ +static gcry_mpi_t +ec2os (gcry_mpi_t x, gcry_mpi_t y, gcry_mpi_t p) +{ + gpg_error_t err; + int pbytes = (mpi_get_nbits (p)+7)/8; + size_t n; + unsigned char *buf, *ptr; + gcry_mpi_t result; + + buf = gcry_xmalloc ( 1 + 2*pbytes ); + *buf = 04; /* Uncompressed point. */ + ptr = buf+1; + err = gcry_mpi_print (GCRYMPI_FMT_USG, ptr, pbytes, &n, x); + if (err) + log_fatal ("mpi_print failed: %s\n", gpg_strerror (err)); + if (n < pbytes) + { + memmove (ptr+(pbytes-n), ptr, n); + memset (ptr, 0, (pbytes-n)); + } + ptr += pbytes; + err = gcry_mpi_print (GCRYMPI_FMT_USG, ptr, pbytes, &n, y); + if (err) + log_fatal ("mpi_print failed: %s\n", gpg_strerror (err)); + if (n < pbytes) + { + memmove (ptr+(pbytes-n), ptr, n); + memset (ptr, 0, (pbytes-n)); + } + + err = gcry_mpi_scan (&result, GCRYMPI_FMT_USG, buf, 1+2*pbytes, NULL); + if (err) + log_fatal ("mpi_scan failed: %s\n", gpg_strerror (err)); + gcry_free (buf); + + mpi_free (x); + mpi_free (y); + + return result; +} + +/* RESULT must have been initialized and is set on success to the + point given by VALUE. */ +static gcry_error_t +os2ec (mpi_point_t *result, gcry_mpi_t value) +{ + gcry_error_t err; + size_t n; + unsigned char *buf; + gcry_mpi_t x, y; + + n = (mpi_get_nbits (value)+7)/8; + buf = gcry_xmalloc (n); + err = gcry_mpi_print (GCRYMPI_FMT_USG, buf, n, &n, value); + if (err) + { + gcry_free (buf); + return err; + } + if (n < 1) + { + gcry_free (buf); + return GPG_ERR_INV_OBJ; + } + if (*buf != 4) + { + gcry_free (buf); + return GPG_ERR_NOT_IMPLEMENTED; /* No support for point compression. */ + } + if ( ((n-1)%2) ) + { + gcry_free (buf); + return GPG_ERR_INV_OBJ; + } + n = (n-1)/2; + err = gcry_mpi_scan (&x, GCRYMPI_FMT_USG, buf+1, n, NULL); + if (err) + { + gcry_free (buf); + return err; + } + err = gcry_mpi_scan (&y, GCRYMPI_FMT_USG, buf+1+n, n, NULL); + gcry_free (buf); + if (err) + { + mpi_free (x); + return err; + } + + mpi_set (result->x, x); + mpi_set (result->y, y); + mpi_set_ui (result->z, 1); + + mpi_free (x); + mpi_free (y); + + return 0; +} + + +/* Extended version of ecc_generate. */ +static gcry_err_code_t +ecc_generate_ext (int algo, unsigned int nbits, unsigned long evalue, + const gcry_sexp_t genparms, + gcry_mpi_t *skey, gcry_mpi_t **retfactors, + gcry_sexp_t *r_extrainfo) +{ + gpg_err_code_t ec; + ECC_secret_key sk; + gcry_mpi_t g_x, g_y, q_x, q_y; + char *curve_name = NULL; + gcry_sexp_t l1; + + (void)algo; + (void)evalue; + (void)r_extrainfo; + + if (genparms) + { + /* Parse the optional "curve" parameter. */ + l1 = gcry_sexp_find_token (genparms, "curve", 0); + if (l1) + { + curve_name = _gcry_sexp_nth_string (l1, 1); + gcry_sexp_release (l1); + if (!curve_name) + return GPG_ERR_INV_OBJ; /* No curve name or value too large. */ + } + } + + /* NBITS is required if no curve name has been given. */ + if (!nbits && !curve_name) + return GPG_ERR_NO_OBJ; /* No NBITS parameter. */ + + g_x = mpi_new (0); + g_y = mpi_new (0); + q_x = mpi_new (0); + q_y = mpi_new (0); + ec = generate_key (&sk, nbits, curve_name, g_x, g_y, q_x, q_y); + gcry_free (curve_name); + if (ec) + return ec; + + skey[0] = sk.E.p; + skey[1] = sk.E.a; + skey[2] = sk.E.b; + /* The function ec2os releases g_x and g_y. */ + skey[3] = ec2os (g_x, g_y, sk.E.p); + skey[4] = sk.E.n; + /* The function ec2os releases g_x and g_y. */ + skey[5] = ec2os (q_x, q_y, sk.E.p); + skey[6] = sk.d; + + point_free (&sk.E.G); + point_free (&sk.Q); + + /* Make an empty list of factors. */ + *retfactors = gcry_calloc ( 1, sizeof **retfactors ); + if (!*retfactors) + return gpg_err_code_from_syserror (); + + return 0; +} + + +static gcry_err_code_t +ecc_generate (int algo, unsigned int nbits, unsigned long evalue, + gcry_mpi_t *skey, gcry_mpi_t **retfactors) +{ + (void)evalue; + return ecc_generate_ext (algo, nbits, 0, NULL, skey, retfactors, NULL); +} + + +/* Return the parameters of the curve NAME. */ +static gcry_err_code_t +ecc_get_param (const char *name, gcry_mpi_t *pkey) +{ + gpg_err_code_t err; + unsigned int nbits; + elliptic_curve_t E; + mpi_ec_t ctx; + gcry_mpi_t g_x, g_y; + + err = generate_curve (0, name, &E, &nbits); + if (err) + return err; + + g_x = mpi_new (0); + g_y = mpi_new (0); + ctx = _gcry_mpi_ec_init (E.p, E.a); + if (_gcry_mpi_ec_get_affine (g_x, g_y, &E.G, ctx)) + log_fatal ("ecc get param: Failed to get affine coordinates\n"); + _gcry_mpi_ec_free (ctx); + point_free (&E.G); + + pkey[0] = E.p; + pkey[1] = E.a; + pkey[2] = E.b; + pkey[3] = ec2os (g_x, g_y, E.p); + pkey[4] = E.n; + pkey[5] = NULL; + + return 0; +} + + +static gcry_err_code_t +ecc_check_secret_key (int algo, gcry_mpi_t *skey) +{ + gpg_err_code_t err; + ECC_secret_key sk; + + (void)algo; + + if (!skey[0] || !skey[1] || !skey[2] || !skey[3] || !skey[4] || !skey[5] + || !skey[6] || !skey[7] || !skey[8] || !skey[9] || !skey[10]) + return GPG_ERR_BAD_MPI; + + sk.E.p = skey[0]; + sk.E.a = skey[1]; + sk.E.b = skey[2]; + point_init (&sk.E.G); + err = os2ec (&sk.E.G, skey[3]); + if (err) + { + point_free (&sk.E.G); + return err; + } + sk.E.n = skey[4]; + point_init (&sk.Q); + err = os2ec (&sk.Q, skey[5]); + if (err) + { + point_free (&sk.E.G); + point_free (&sk.Q); + return err; + } + + sk.d = skey[6]; + + if (check_secret_key (&sk)) + { + point_free (&sk.E.G); + point_free (&sk.Q); + return GPG_ERR_BAD_SECKEY; + } + point_free (&sk.E.G); + point_free (&sk.Q); + return 0; +} + + +static gcry_err_code_t +ecc_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) +{ + gpg_err_code_t err; + ECC_secret_key sk; + + (void)algo; + + if (!data || !skey[0] || !skey[1] || !skey[2] || !skey[3] || !skey[4] + || !skey[5] || !skey[6] ) + return GPG_ERR_BAD_MPI; + + sk.E.p = skey[0]; + sk.E.a = skey[1]; + sk.E.b = skey[2]; + point_init (&sk.E.G); + err = os2ec (&sk.E.G, skey[3]); + if (err) + { + point_free (&sk.E.G); + return err; + } + sk.E.n = skey[4]; + point_init (&sk.Q); + err = os2ec (&sk.Q, skey[5]); + if (err) + { + point_free (&sk.E.G); + point_free (&sk.Q); + return err; + } + sk.d = skey[6]; + + resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.E.p)); + resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.E.p)); + err = sign (data, &sk, resarr[0], resarr[1]); + if (err) + { + mpi_free (resarr[0]); + mpi_free (resarr[1]); + resarr[0] = NULL; /* Mark array as released. */ + } + point_free (&sk.E.G); + point_free (&sk.Q); + return err; +} + +static gcry_err_code_t +ecc_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, + int (*cmp)(void *, gcry_mpi_t), void *opaquev) +{ + gpg_err_code_t err; + ECC_public_key pk; + + (void)algo; + (void)cmp; + (void)opaquev; + + if (!data[0] || !data[1] || !hash || !pkey[0] || !pkey[1] || !pkey[2] + || !pkey[3] || !pkey[4] || !pkey[5] ) + return GPG_ERR_BAD_MPI; + + pk.E.p = pkey[0]; + pk.E.a = pkey[1]; + pk.E.b = pkey[2]; + point_init (&pk.E.G); + err = os2ec (&pk.E.G, pkey[3]); + if (err) + { + point_free (&pk.E.G); + return err; + } + pk.E.n = pkey[4]; + point_init (&pk.Q); + err = os2ec (&pk.Q, pkey[5]); + if (err) + { + point_free (&pk.E.G); + point_free (&pk.Q); + return err; + } + + err = verify (hash, &pk, data[0], data[1]); + + point_free (&pk.E.G); + point_free (&pk.Q); + return err; +} + + + +static unsigned int +ecc_get_nbits (int algo, gcry_mpi_t *pkey) +{ + (void)algo; + + return mpi_get_nbits (pkey[0]); +} + + + +/* See rsa.c for a description of this function. */ +static gpg_err_code_t +compute_keygrip (gcry_md_hd_t md, gcry_sexp_t keyparam) +{ + static const char names[] = "pabgnq"; + gpg_err_code_t ec = 0; + gcry_sexp_t l1; + gcry_mpi_t values[6]; + int idx; + + /* Clear the values for easier error cleanup. */ + for (idx=0; idx < 6; idx++) + values[idx] = NULL; + + /* Fill values with all available parameters. */ + for (idx=0; idx < 6; idx++) + { + l1 = gcry_sexp_find_token (keyparam, names+idx, 1); + if (l1) + { + values[idx] = gcry_sexp_nth_mpi (l1, 1, GCRYMPI_FMT_USG); + gcry_sexp_release (l1); + if (!values[idx]) + { + ec = GPG_ERR_INV_OBJ; + goto leave; + } + } + } + + /* Check whether a curve parameter is available and use that to fill + in missing values. */ + l1 = gcry_sexp_find_token (keyparam, "curve", 5); + if (l1) + { + char *curve; + gcry_mpi_t tmpvalues[6]; + + for (idx = 0; idx < 6; idx++) + tmpvalues[idx] = NULL; + + curve = _gcry_sexp_nth_string (l1, 1); + if (!curve) + { + ec = GPG_ERR_INV_OBJ; /* Name missing or out of core. */ + goto leave; + } + ec = ecc_get_param (curve, tmpvalues); + gcry_free (curve); + if (ec) + goto leave; + + for (idx = 0; idx < 6; idx++) + { + if (!values[idx]) + values[idx] = tmpvalues[idx]; + else + mpi_free (tmpvalues[idx]); + } + } + + /* Check that all parameters are known and normalize all MPIs (that + should not be required but we use an internal fucntion later and + thus we better make 100% sure that they are normalized). */ + for (idx = 0; idx < 6; idx++) + if (!values[idx]) + { + ec = GPG_ERR_NO_OBJ; + goto leave; + } + else + _gcry_mpi_normalize (values[idx]); + + /* Hash them all. */ + for (idx = 0; idx < 6; idx++) + { + char buf[30]; + unsigned char *rawmpi; + unsigned int rawmpilen; + + rawmpi = _gcry_mpi_get_buffer (values[idx], &rawmpilen, NULL); + if (!rawmpi) + { + ec = gpg_err_code_from_syserror (); + goto leave; + } + snprintf (buf, sizeof buf, "(1:%c%u:", names[idx], rawmpilen); + gcry_md_write (md, buf, strlen (buf)); + gcry_md_write (md, rawmpi, rawmpilen); + gcry_md_write (md, ")", 1); + gcry_free (rawmpi); + } + + leave: + for (idx = 0; idx < 6; idx++) + _gcry_mpi_release (values[idx]); + + return ec; +} + + + + + +/* + Self-test section. + */ + + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static const char *ecdsa_names[] = + { + "ecdsa", + "ecc", + NULL, + }; + +gcry_pk_spec_t _gcry_pubkey_spec_ecdsa = + { + "ECDSA", ecdsa_names, + "pabgnq", "pabgnqd", "", "rs", "pabgnq", + GCRY_PK_USAGE_SIGN, + ecc_generate, + ecc_check_secret_key, + NULL, + NULL, + ecc_sign, + ecc_verify, + ecc_get_nbits + }; + +pk_extra_spec_t _gcry_pubkey_extraspec_ecdsa = + { + run_selftests, + ecc_generate_ext, + compute_keygrip, + ecc_get_param + }; + diff --git a/grub-core/lib/libgcrypt-grub/cipher/elgamal.c b/grub-core/lib/libgcrypt-grub/cipher/elgamal.c new file mode 100644 index 0000000..ade8dc2 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/elgamal.c @@ -0,0 +1,846 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* Elgamal.c - Elgamal Public Key encryption + * Copyright (C) 1998, 2000, 2001, 2002, 2003, + * 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + * + * For a description of the algorithm, see: + * Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1996. + * ISBN 0-471-11709-9. Pages 476 ff. + */ + +#include "g10lib.h" +#include "mpi.h" +#include "cipher.h" + +typedef struct +{ + gcry_mpi_t p; /* prime */ + gcry_mpi_t g; /* group generator */ + gcry_mpi_t y; /* g^x mod p */ +} ELG_public_key; + + +typedef struct +{ + gcry_mpi_t p; /* prime */ + gcry_mpi_t g; /* group generator */ + gcry_mpi_t y; /* g^x mod p */ + gcry_mpi_t x; /* secret exponent */ +} ELG_secret_key; + + +static int test_keys (ELG_secret_key *sk, unsigned int nbits, int nodie); +static gcry_mpi_t gen_k (gcry_mpi_t p, int small_k); +static void generate (ELG_secret_key *sk, unsigned nbits, gcry_mpi_t **factors); +static int check_secret_key (ELG_secret_key *sk); +static void do_encrypt (gcry_mpi_t a, gcry_mpi_t b, gcry_mpi_t input, + ELG_public_key *pkey); +static void decrypt (gcry_mpi_t output, gcry_mpi_t a, gcry_mpi_t b, + ELG_secret_key *skey); +static void sign (gcry_mpi_t a, gcry_mpi_t b, gcry_mpi_t input, + ELG_secret_key *skey); +static int verify (gcry_mpi_t a, gcry_mpi_t b, gcry_mpi_t input, + ELG_public_key *pkey); + + +static void (*progress_cb) (void *, const char *, int, int, int); +static void *progress_cb_data; + +void +_gcry_register_pk_elg_progress (void (*cb) (void *, const char *, + int, int, int), + void *cb_data) +{ + progress_cb = cb; + progress_cb_data = cb_data; +} + + +static void +progress (int c) +{ + if (progress_cb) + progress_cb (progress_cb_data, "pk_elg", c, 0, 0); +} + + +/**************** + * Michael Wiener's table on subgroup sizes to match field sizes. + * (floating around somewhere, probably based on the paper from + * Eurocrypt 96, page 332) + */ +static unsigned int +wiener_map( unsigned int n ) +{ + static struct { unsigned int p_n, q_n; } t[] = + { /* p q attack cost */ + { 512, 119 }, /* 9 x 10^17 */ + { 768, 145 }, /* 6 x 10^21 */ + { 1024, 165 }, /* 7 x 10^24 */ + { 1280, 183 }, /* 3 x 10^27 */ + { 1536, 198 }, /* 7 x 10^29 */ + { 1792, 212 }, /* 9 x 10^31 */ + { 2048, 225 }, /* 8 x 10^33 */ + { 2304, 237 }, /* 5 x 10^35 */ + { 2560, 249 }, /* 3 x 10^37 */ + { 2816, 259 }, /* 1 x 10^39 */ + { 3072, 269 }, /* 3 x 10^40 */ + { 3328, 279 }, /* 8 x 10^41 */ + { 3584, 288 }, /* 2 x 10^43 */ + { 3840, 296 }, /* 4 x 10^44 */ + { 4096, 305 }, /* 7 x 10^45 */ + { 4352, 313 }, /* 1 x 10^47 */ + { 4608, 320 }, /* 2 x 10^48 */ + { 4864, 328 }, /* 2 x 10^49 */ + { 5120, 335 }, /* 3 x 10^50 */ + { 0, 0 } + }; + int i; + + for(i=0; t[i].p_n; i++ ) + { + if( n <= t[i].p_n ) + return t[i].q_n; + } + /* Not in table - use an arbitrary high number. */ + return n / 8 + 200; +} + +static int +test_keys ( ELG_secret_key *sk, unsigned int nbits, int nodie ) +{ + ELG_public_key pk; + gcry_mpi_t test = gcry_mpi_new ( 0 ); + gcry_mpi_t out1_a = gcry_mpi_new ( nbits ); + gcry_mpi_t out1_b = gcry_mpi_new ( nbits ); + gcry_mpi_t out2 = gcry_mpi_new ( nbits ); + int failed = 0; + + pk.p = sk->p; + pk.g = sk->g; + pk.y = sk->y; + + gcry_mpi_randomize ( test, nbits, GCRY_WEAK_RANDOM ); + + do_encrypt ( out1_a, out1_b, test, &pk ); + decrypt ( out2, out1_a, out1_b, sk ); + if ( mpi_cmp( test, out2 ) ) + failed |= 1; + + sign ( out1_a, out1_b, test, sk ); + if ( !verify( out1_a, out1_b, test, &pk ) ) + failed |= 2; + + gcry_mpi_release ( test ); + gcry_mpi_release ( out1_a ); + gcry_mpi_release ( out1_b ); + gcry_mpi_release ( out2 ); + + if (failed && !nodie) + log_fatal ("Elgamal test key for %s %s failed\n", + (failed & 1)? "encrypt+decrypt":"", + (failed & 2)? "sign+verify":""); + if (failed && DBG_CIPHER) + log_debug ("Elgamal test key for %s %s failed\n", + (failed & 1)? "encrypt+decrypt":"", + (failed & 2)? "sign+verify":""); + + return failed; +} + + +/**************** + * Generate a random secret exponent k from prime p, so that k is + * relatively prime to p-1. With SMALL_K set, k will be selected for + * better encryption performance - this must never be used signing! + */ +static gcry_mpi_t +gen_k( gcry_mpi_t p, int small_k ) +{ + gcry_mpi_t k = mpi_alloc_secure( 0 ); + gcry_mpi_t temp = mpi_alloc( mpi_get_nlimbs(p) ); + gcry_mpi_t p_1 = mpi_copy(p); + unsigned int orig_nbits = mpi_get_nbits(p); + unsigned int nbits, nbytes; + char *rndbuf = NULL; + + if (small_k) + { + /* Using a k much lesser than p is sufficient for encryption and + * it greatly improves the encryption performance. We use + * Wiener's table and add a large safety margin. */ + nbits = wiener_map( orig_nbits ) * 3 / 2; + if( nbits >= orig_nbits ) + BUG(); + } + else + nbits = orig_nbits; + + + nbytes = (nbits+7)/8; + if( DBG_CIPHER ) + log_debug("choosing a random k "); + mpi_sub_ui( p_1, p, 1); + for(;;) + { + if( !rndbuf || nbits < 32 ) + { + gcry_free(rndbuf); + rndbuf = gcry_random_bytes_secure( nbytes, GCRY_STRONG_RANDOM ); + } + else + { + /* Change only some of the higher bits. We could improve + this by directly requesting more memory at the first call + to get_random_bytes() and use this the here maybe it is + easier to do this directly in random.c Anyway, it is + highly inlikely that we will ever reach this code. */ + char *pp = gcry_random_bytes_secure( 4, GCRY_STRONG_RANDOM ); + memcpy( rndbuf, pp, 4 ); + gcry_free(pp); + } + _gcry_mpi_set_buffer( k, rndbuf, nbytes, 0 ); + + for(;;) + { + if( !(mpi_cmp( k, p_1 ) < 0) ) /* check: k < (p-1) */ + { + if( DBG_CIPHER ) + progress('+'); + break; /* no */ + } + if( !(mpi_cmp_ui( k, 0 ) > 0) ) /* check: k > 0 */ + { + if( DBG_CIPHER ) + progress('-'); + break; /* no */ + } + if (gcry_mpi_gcd( temp, k, p_1 )) + goto found; /* okay, k is relative prime to (p-1) */ + mpi_add_ui( k, k, 1 ); + if( DBG_CIPHER ) + progress('.'); + } + } + found: + gcry_free(rndbuf); + if( DBG_CIPHER ) + progress('\n'); + mpi_free(p_1); + mpi_free(temp); + + return k; +} + +/**************** + * Generate a key pair with a key of size NBITS + * Returns: 2 structures filled with all needed values + * and an array with n-1 factors of (p-1) + */ +static void +generate ( ELG_secret_key *sk, unsigned int nbits, gcry_mpi_t **ret_factors ) +{ + gcry_mpi_t p; /* the prime */ + gcry_mpi_t p_min1; + gcry_mpi_t g; + gcry_mpi_t x; /* the secret exponent */ + gcry_mpi_t y; + unsigned int qbits; + unsigned int xbits; + byte *rndbuf; + + p_min1 = gcry_mpi_new ( nbits ); + qbits = wiener_map( nbits ); + if( qbits & 1 ) /* better have a even one */ + qbits++; + g = mpi_alloc(1); + p = _gcry_generate_elg_prime( 0, nbits, qbits, g, ret_factors ); + mpi_sub_ui(p_min1, p, 1); + + + /* Select a random number which has these properties: + * 0 < x < p-1 + * This must be a very good random number because this is the + * secret part. The prime is public and may be shared anyway, + * so a random generator level of 1 is used for the prime. + * + * I don't see a reason to have a x of about the same size + * as the p. It should be sufficient to have one about the size + * of q or the later used k plus a large safety margin. Decryption + * will be much faster with such an x. + */ + xbits = qbits * 3 / 2; + if( xbits >= nbits ) + BUG(); + x = gcry_mpi_snew ( xbits ); + if( DBG_CIPHER ) + log_debug("choosing a random x of size %u", xbits ); + rndbuf = NULL; + do + { + if( DBG_CIPHER ) + progress('.'); + if( rndbuf ) + { /* Change only some of the higher bits */ + if( xbits < 16 ) /* should never happen ... */ + { + gcry_free(rndbuf); + rndbuf = gcry_random_bytes_secure( (xbits+7)/8, + GCRY_VERY_STRONG_RANDOM ); + } + else + { + char *r = gcry_random_bytes_secure( 2, + GCRY_VERY_STRONG_RANDOM ); + memcpy(rndbuf, r, 2 ); + gcry_free(r); + } + } + else + { + rndbuf = gcry_random_bytes_secure( (xbits+7)/8, + GCRY_VERY_STRONG_RANDOM ); + } + _gcry_mpi_set_buffer( x, rndbuf, (xbits+7)/8, 0 ); + mpi_clear_highbit( x, xbits+1 ); + } + while( !( mpi_cmp_ui( x, 0 )>0 && mpi_cmp( x, p_min1 )<0 ) ); + gcry_free(rndbuf); + + y = gcry_mpi_new (nbits); + gcry_mpi_powm( y, g, x, p ); + + if( DBG_CIPHER ) + { + progress('\n'); + log_mpidump("elg p= ", p ); + log_mpidump("elg g= ", g ); + log_mpidump("elg y= ", y ); + log_mpidump("elg x= ", x ); + } + + /* Copy the stuff to the key structures */ + sk->p = p; + sk->g = g; + sk->y = y; + sk->x = x; + + gcry_mpi_release ( p_min1 ); + + /* Now we can test our keys (this should never fail!) */ + test_keys ( sk, nbits - 64, 0 ); +} + + +/* Generate a key pair with a key of size NBITS not using a random + value for the secret key but the one given as X. This is useful to + implement a passphrase based decryption for a public key based + encryption. It has appliactions in backup systems. + + Returns: A structure filled with all needed values and an array + with n-1 factors of (p-1). */ +static gcry_err_code_t +generate_using_x (ELG_secret_key *sk, unsigned int nbits, gcry_mpi_t x, + gcry_mpi_t **ret_factors ) +{ + gcry_mpi_t p; /* The prime. */ + gcry_mpi_t p_min1; /* The prime minus 1. */ + gcry_mpi_t g; /* The generator. */ + gcry_mpi_t y; /* g^x mod p. */ + unsigned int qbits; + unsigned int xbits; + + sk->p = NULL; + sk->g = NULL; + sk->y = NULL; + sk->x = NULL; + + /* Do a quick check to see whether X is suitable. */ + xbits = mpi_get_nbits (x); + if ( xbits < 64 || xbits >= nbits ) + return GPG_ERR_INV_VALUE; + + p_min1 = gcry_mpi_new ( nbits ); + qbits = wiener_map ( nbits ); + if ( (qbits & 1) ) /* Better have an even one. */ + qbits++; + g = mpi_alloc (1); + p = _gcry_generate_elg_prime ( 0, nbits, qbits, g, ret_factors ); + mpi_sub_ui (p_min1, p, 1); + + if (DBG_CIPHER) + log_debug ("using a supplied x of size %u", xbits ); + if ( !(mpi_cmp_ui ( x, 0 ) > 0 && mpi_cmp ( x, p_min1 ) <0 ) ) + { + gcry_mpi_release ( p_min1 ); + gcry_mpi_release ( p ); + gcry_mpi_release ( g ); + return GPG_ERR_INV_VALUE; + } + + y = gcry_mpi_new (nbits); + gcry_mpi_powm ( y, g, x, p ); + + if ( DBG_CIPHER ) + { + progress ('\n'); + log_mpidump ("elg p= ", p ); + log_mpidump ("elg g= ", g ); + log_mpidump ("elg y= ", y ); + log_mpidump ("elg x= ", x ); + } + + /* Copy the stuff to the key structures */ + sk->p = p; + sk->g = g; + sk->y = y; + sk->x = gcry_mpi_copy (x); + + gcry_mpi_release ( p_min1 ); + + /* Now we can test our keys. */ + if ( test_keys ( sk, nbits - 64, 1 ) ) + { + gcry_mpi_release ( sk->p ); sk->p = NULL; + gcry_mpi_release ( sk->g ); sk->g = NULL; + gcry_mpi_release ( sk->y ); sk->y = NULL; + gcry_mpi_release ( sk->x ); sk->x = NULL; + return GPG_ERR_BAD_SECKEY; + } + + return 0; +} + + +/**************** + * Test whether the secret key is valid. + * Returns: if this is a valid key. + */ +static int +check_secret_key( ELG_secret_key *sk ) +{ + int rc; + gcry_mpi_t y = mpi_alloc( mpi_get_nlimbs(sk->y) ); + + gcry_mpi_powm( y, sk->g, sk->x, sk->p ); + rc = !mpi_cmp( y, sk->y ); + mpi_free( y ); + return rc; +} + + +static void +do_encrypt(gcry_mpi_t a, gcry_mpi_t b, gcry_mpi_t input, ELG_public_key *pkey ) +{ + gcry_mpi_t k; + + /* Note: maybe we should change the interface, so that it + * is possible to check that input is < p and return an + * error code. + */ + + k = gen_k( pkey->p, 1 ); + gcry_mpi_powm( a, pkey->g, k, pkey->p ); + /* b = (y^k * input) mod p + * = ((y^k mod p) * (input mod p)) mod p + * and because input is < p + * = ((y^k mod p) * input) mod p + */ + gcry_mpi_powm( b, pkey->y, k, pkey->p ); + gcry_mpi_mulm( b, b, input, pkey->p ); +#if 0 + if( DBG_CIPHER ) + { + log_mpidump("elg encrypted y= ", pkey->y); + log_mpidump("elg encrypted p= ", pkey->p); + log_mpidump("elg encrypted k= ", k); + log_mpidump("elg encrypted M= ", input); + log_mpidump("elg encrypted a= ", a); + log_mpidump("elg encrypted b= ", b); + } +#endif + mpi_free(k); +} + + + + +static void +decrypt(gcry_mpi_t output, gcry_mpi_t a, gcry_mpi_t b, ELG_secret_key *skey ) +{ + gcry_mpi_t t1 = mpi_alloc_secure( mpi_get_nlimbs( skey->p ) ); + + /* output = b/(a^x) mod p */ + gcry_mpi_powm( t1, a, skey->x, skey->p ); + mpi_invm( t1, t1, skey->p ); + mpi_mulm( output, b, t1, skey->p ); +#if 0 + if( DBG_CIPHER ) + { + log_mpidump("elg decrypted x= ", skey->x); + log_mpidump("elg decrypted p= ", skey->p); + log_mpidump("elg decrypted a= ", a); + log_mpidump("elg decrypted b= ", b); + log_mpidump("elg decrypted M= ", output); + } +#endif + mpi_free(t1); +} + + +/**************** + * Make an Elgamal signature out of INPUT + */ + +static void +sign(gcry_mpi_t a, gcry_mpi_t b, gcry_mpi_t input, ELG_secret_key *skey ) +{ + gcry_mpi_t k; + gcry_mpi_t t = mpi_alloc( mpi_get_nlimbs(a) ); + gcry_mpi_t inv = mpi_alloc( mpi_get_nlimbs(a) ); + gcry_mpi_t p_1 = mpi_copy(skey->p); + + /* + * b = (t * inv) mod (p-1) + * b = (t * inv(k,(p-1),(p-1)) mod (p-1) + * b = (((M-x*a) mod (p-1)) * inv(k,(p-1),(p-1))) mod (p-1) + * + */ + mpi_sub_ui(p_1, p_1, 1); + k = gen_k( skey->p, 0 /* no small K ! */ ); + gcry_mpi_powm( a, skey->g, k, skey->p ); + mpi_mul(t, skey->x, a ); + mpi_subm(t, input, t, p_1 ); + mpi_invm(inv, k, p_1 ); + mpi_mulm(b, t, inv, p_1 ); + +#if 0 + if( DBG_CIPHER ) + { + log_mpidump("elg sign p= ", skey->p); + log_mpidump("elg sign g= ", skey->g); + log_mpidump("elg sign y= ", skey->y); + log_mpidump("elg sign x= ", skey->x); + log_mpidump("elg sign k= ", k); + log_mpidump("elg sign M= ", input); + log_mpidump("elg sign a= ", a); + log_mpidump("elg sign b= ", b); + } +#endif + mpi_free(k); + mpi_free(t); + mpi_free(inv); + mpi_free(p_1); +} + + +/**************** + * Returns true if the signature composed of A and B is valid. + */ +static int +verify(gcry_mpi_t a, gcry_mpi_t b, gcry_mpi_t input, ELG_public_key *pkey ) +{ + int rc; + gcry_mpi_t t1; + gcry_mpi_t t2; + gcry_mpi_t base[4]; + gcry_mpi_t ex[4]; + + if( !(mpi_cmp_ui( a, 0 ) > 0 && mpi_cmp( a, pkey->p ) < 0) ) + return 0; /* assertion 0 < a < p failed */ + + t1 = mpi_alloc( mpi_get_nlimbs(a) ); + t2 = mpi_alloc( mpi_get_nlimbs(a) ); + +#if 0 + /* t1 = (y^a mod p) * (a^b mod p) mod p */ + gcry_mpi_powm( t1, pkey->y, a, pkey->p ); + gcry_mpi_powm( t2, a, b, pkey->p ); + mpi_mulm( t1, t1, t2, pkey->p ); + + /* t2 = g ^ input mod p */ + gcry_mpi_powm( t2, pkey->g, input, pkey->p ); + + rc = !mpi_cmp( t1, t2 ); +#elif 0 + /* t1 = (y^a mod p) * (a^b mod p) mod p */ + base[0] = pkey->y; ex[0] = a; + base[1] = a; ex[1] = b; + base[2] = NULL; ex[2] = NULL; + mpi_mulpowm( t1, base, ex, pkey->p ); + + /* t2 = g ^ input mod p */ + gcry_mpi_powm( t2, pkey->g, input, pkey->p ); + + rc = !mpi_cmp( t1, t2 ); +#else + /* t1 = g ^ - input * y ^ a * a ^ b mod p */ + mpi_invm(t2, pkey->g, pkey->p ); + base[0] = t2 ; ex[0] = input; + base[1] = pkey->y; ex[1] = a; + base[2] = a; ex[2] = b; + base[3] = NULL; ex[3] = NULL; + mpi_mulpowm( t1, base, ex, pkey->p ); + rc = !mpi_cmp_ui( t1, 1 ); + +#endif + + mpi_free(t1); + mpi_free(t2); + return rc; +} + +/********************************************* + ************** interface ****************** + *********************************************/ + +static gpg_err_code_t +elg_generate_ext (int algo, unsigned int nbits, unsigned long evalue, + const gcry_sexp_t genparms, + gcry_mpi_t *skey, gcry_mpi_t **retfactors, + gcry_sexp_t *r_extrainfo) +{ + gpg_err_code_t ec; + ELG_secret_key sk; + gcry_mpi_t xvalue = NULL; + gcry_sexp_t l1; + + (void)algo; + (void)evalue; + (void)r_extrainfo; + + if (genparms) + { + /* Parse the optional xvalue element. */ + l1 = gcry_sexp_find_token (genparms, "xvalue", 0); + if (l1) + { + xvalue = gcry_sexp_nth_mpi (l1, 1, 0); + gcry_sexp_release (l1); + if (!xvalue) + return GPG_ERR_BAD_MPI; + } + } + + if (xvalue) + ec = generate_using_x (&sk, nbits, xvalue, retfactors); + else + { + generate (&sk, nbits, retfactors); + ec = 0; + } + + skey[0] = sk.p; + skey[1] = sk.g; + skey[2] = sk.y; + skey[3] = sk.x; + + return ec; +} + + +static gcry_err_code_t +elg_generate (int algo, unsigned int nbits, unsigned long evalue, + gcry_mpi_t *skey, gcry_mpi_t **retfactors) +{ + ELG_secret_key sk; + + (void)algo; + (void)evalue; + + generate (&sk, nbits, retfactors); + skey[0] = sk.p; + skey[1] = sk.g; + skey[2] = sk.y; + skey[3] = sk.x; + + return GPG_ERR_NO_ERROR; +} + + +static gcry_err_code_t +elg_check_secret_key (int algo, gcry_mpi_t *skey) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + ELG_secret_key sk; + + (void)algo; + + if ((! skey[0]) || (! skey[1]) || (! skey[2]) || (! skey[3])) + err = GPG_ERR_BAD_MPI; + else + { + sk.p = skey[0]; + sk.g = skey[1]; + sk.y = skey[2]; + sk.x = skey[3]; + + if (! check_secret_key (&sk)) + err = GPG_ERR_BAD_SECKEY; + } + + return err; +} + + +static gcry_err_code_t +elg_encrypt (int algo, gcry_mpi_t *resarr, + gcry_mpi_t data, gcry_mpi_t *pkey, int flags) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + ELG_public_key pk; + + (void)algo; + (void)flags; + + if ((! data) || (! pkey[0]) || (! pkey[1]) || (! pkey[2])) + err = GPG_ERR_BAD_MPI; + else + { + pk.p = pkey[0]; + pk.g = pkey[1]; + pk.y = pkey[2]; + resarr[0] = mpi_alloc (mpi_get_nlimbs (pk.p)); + resarr[1] = mpi_alloc (mpi_get_nlimbs (pk.p)); + do_encrypt (resarr[0], resarr[1], data, &pk); + } + return err; +} + + +static gcry_err_code_t +elg_decrypt (int algo, gcry_mpi_t *result, + gcry_mpi_t *data, gcry_mpi_t *skey, int flags) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + ELG_secret_key sk; + + (void)algo; + (void)flags; + + if ((! data[0]) || (! data[1]) + || (! skey[0]) || (! skey[1]) || (! skey[2]) || (! skey[3])) + err = GPG_ERR_BAD_MPI; + else + { + sk.p = skey[0]; + sk.g = skey[1]; + sk.y = skey[2]; + sk.x = skey[3]; + *result = mpi_alloc_secure (mpi_get_nlimbs (sk.p)); + decrypt (*result, data[0], data[1], &sk); + } + return err; +} + + +static gcry_err_code_t +elg_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + ELG_secret_key sk; + + (void)algo; + + if ((! data) + || (! skey[0]) || (! skey[1]) || (! skey[2]) || (! skey[3])) + err = GPG_ERR_BAD_MPI; + else + { + sk.p = skey[0]; + sk.g = skey[1]; + sk.y = skey[2]; + sk.x = skey[3]; + resarr[0] = mpi_alloc (mpi_get_nlimbs (sk.p)); + resarr[1] = mpi_alloc (mpi_get_nlimbs (sk.p)); + sign (resarr[0], resarr[1], data, &sk); + } + + return err; +} + + +static gcry_err_code_t +elg_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, + int (*cmp) (void *, gcry_mpi_t), void *opaquev) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + ELG_public_key pk; + + (void)algo; + (void)cmp; + (void)opaquev; + + if ((! data[0]) || (! data[1]) || (! hash) + || (! pkey[0]) || (! pkey[1]) || (! pkey[2])) + err = GPG_ERR_BAD_MPI; + else + { + pk.p = pkey[0]; + pk.g = pkey[1]; + pk.y = pkey[2]; + if (! verify (data[0], data[1], hash, &pk)) + err = GPG_ERR_BAD_SIGNATURE; + } + + return err; +} + + +static unsigned int +elg_get_nbits (int algo, gcry_mpi_t *pkey) +{ + (void)algo; + + return mpi_get_nbits (pkey[0]); +} + + +static const char *elg_names[] = + { + "elg", + "openpgp-elg", + "openpgp-elg-sig", + NULL, + }; + + +gcry_pk_spec_t _gcry_pubkey_spec_elg = + { + "ELG", elg_names, + "pgy", "pgyx", "ab", "rs", "pgy", + GCRY_PK_USAGE_SIGN | GCRY_PK_USAGE_ENCR, + elg_generate, + elg_check_secret_key, + elg_encrypt, + elg_decrypt, + elg_sign, + elg_verify, + elg_get_nbits + }; + +pk_extra_spec_t _gcry_pubkey_extraspec_elg = + { + NULL, + elg_generate_ext, + NULL + }; + diff --git a/grub-core/lib/libgcrypt-grub/cipher/g10lib.h b/grub-core/lib/libgcrypt-grub/cipher/g10lib.h new file mode 100644 index 0000000..49cc16a --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/g10lib.h @@ -0,0 +1 @@ +#include diff --git a/grub-core/lib/libgcrypt-grub/cipher/hash-common.h b/grub-core/lib/libgcrypt-grub/cipher/hash-common.h new file mode 100644 index 0000000..4a1630f --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/hash-common.h @@ -0,0 +1,36 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +/* hash-common.h - Declarations of common code for hash algorithms. + * Copyright (C) 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + +#ifndef GCRY_HASH_COMMON_H +#define GCRY_HASH_COMMON_H + + +const char * _gcry_hash_selftest_check_one +/**/ (int algo, + int datamode, const void *data, size_t datalen, + const void *expect, size_t expectlen); + + + + + +#endif /*GCRY_HASH_COMMON_H*/ diff --git a/grub-core/lib/libgcrypt-grub/cipher/md4.c b/grub-core/lib/libgcrypt-grub/cipher/md4.c new file mode 100644 index 0000000..184a4c7 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/md4.c @@ -0,0 +1,341 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* md4.c - MD4 Message-Digest Algorithm + * Copyright (C) 2002, 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * Based on md5.c in libgcrypt, but rewritten to compute md4 checksums + * using a public domain md4 implementation with the following comments: + * + * Modified by Wei Dai from Andrew M. Kuchling's md4.c + * The original code and all modifications are in the public domain. + * + * This is the original introductory comment: + * + * md4.c : MD4 hash algorithm. + * + * Part of the Python Cryptography Toolkit, version 1.1 + * + * Distribute and use freely; there are no restrictions on further + * dissemination and usage except those imposed by the laws of your + * country of residence. + * + */ + +/* MD4 test suite: + * MD4 ("") = 31d6cfe0d16ae931b73c59d7e0c089c0 + * MD4 ("a") = bde52cb31de33e46245e05fbdbd6fb24 + * MD4 ("abc") = a448017aaf21d8525fc10ae87aa6729d + * MD4 ("message digest") = d9130a8164549fe818874806e1c7014b + * MD4 ("abcdefghijklmnopqrstuvwxyz") = d79e1c308aa5bbcdeea8ed63df412da9 + * MD4 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = + * 043f8582f241db351ce627e153e7f0e4 + * MD4 ("123456789012345678901234567890123456789012345678901234567890123456 + * 78901234567890") = e33b4ddc9c38f2199c3e7b164fcc0536 + */ + + +#include "g10lib.h" +#include "memory.h" +#include "cipher.h" + +#include "bithelp.h" + + +typedef struct { + u32 A,B,C,D; /* chaining variables */ + u32 nblocks; + byte buf[64]; + int count; +} MD4_CONTEXT; + + +static void +md4_init( void *context ) +{ + MD4_CONTEXT *ctx = context; + + ctx->A = 0x67452301; + ctx->B = 0xefcdab89; + ctx->C = 0x98badcfe; + ctx->D = 0x10325476; + + ctx->nblocks = 0; + ctx->count = 0; +} + +#define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) +#define G(x, y, z) (((x) & (y)) | ((x) & (z)) | ((y) & (z))) +#define H(x, y, z) ((x) ^ (y) ^ (z)) + + +/**************** + * transform 64 bytes + */ +static void +transform ( MD4_CONTEXT *ctx, const unsigned char *data ) +{ + u32 in[16]; + register u32 A = ctx->A; + register u32 B = ctx->B; + register u32 C = ctx->C; + register u32 D = ctx->D; + +#ifdef WORDS_BIGENDIAN + { + int i; + byte *p2, *p1; + for(i=0, p1=data, p2=(byte*)in; i < 16; i++, p2 += 4 ) + { + p2[3] = *p1++; + p2[2] = *p1++; + p2[1] = *p1++; + p2[0] = *p1++; + } + } +#else + memcpy (in, data, 64); +#endif + + /* Round 1. */ +#define function(a,b,c,d,k,s) a=rol(a+F(b,c,d)+in[k],s); + function(A,B,C,D, 0, 3); + function(D,A,B,C, 1, 7); + function(C,D,A,B, 2,11); + function(B,C,D,A, 3,19); + function(A,B,C,D, 4, 3); + function(D,A,B,C, 5, 7); + function(C,D,A,B, 6,11); + function(B,C,D,A, 7,19); + function(A,B,C,D, 8, 3); + function(D,A,B,C, 9, 7); + function(C,D,A,B,10,11); + function(B,C,D,A,11,19); + function(A,B,C,D,12, 3); + function(D,A,B,C,13, 7); + function(C,D,A,B,14,11); + function(B,C,D,A,15,19); + +#undef function + + /* Round 2. */ +#define function(a,b,c,d,k,s) a=rol(a+G(b,c,d)+in[k]+0x5a827999,s); + + function(A,B,C,D, 0, 3); + function(D,A,B,C, 4, 5); + function(C,D,A,B, 8, 9); + function(B,C,D,A,12,13); + function(A,B,C,D, 1, 3); + function(D,A,B,C, 5, 5); + function(C,D,A,B, 9, 9); + function(B,C,D,A,13,13); + function(A,B,C,D, 2, 3); + function(D,A,B,C, 6, 5); + function(C,D,A,B,10, 9); + function(B,C,D,A,14,13); + function(A,B,C,D, 3, 3); + function(D,A,B,C, 7, 5); + function(C,D,A,B,11, 9); + function(B,C,D,A,15,13); + +#undef function + + /* Round 3. */ +#define function(a,b,c,d,k,s) a=rol(a+H(b,c,d)+in[k]+0x6ed9eba1,s); + + function(A,B,C,D, 0, 3); + function(D,A,B,C, 8, 9); + function(C,D,A,B, 4,11); + function(B,C,D,A,12,15); + function(A,B,C,D, 2, 3); + function(D,A,B,C,10, 9); + function(C,D,A,B, 6,11); + function(B,C,D,A,14,15); + function(A,B,C,D, 1, 3); + function(D,A,B,C, 9, 9); + function(C,D,A,B, 5,11); + function(B,C,D,A,13,15); + function(A,B,C,D, 3, 3); + function(D,A,B,C,11, 9); + function(C,D,A,B, 7,11); + function(B,C,D,A,15,15); + + + /* Put checksum in context given as argument. */ + ctx->A += A; + ctx->B += B; + ctx->C += C; + ctx->D += D; +} + + + +/* The routine updates the message-digest context to + * account for the presence of each of the characters inBuf[0..inLen-1] + * in the message whose digest is being computed. + */ +static void +md4_write ( void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + MD4_CONTEXT *hd = context; + + if( hd->count == 64 ) /* flush the buffer */ + { + transform( hd, hd->buf ); + _gcry_burn_stack (80+6*sizeof(void*)); + hd->count = 0; + hd->nblocks++; + } + if( !inbuf ) + return; + + if( hd->count ) + { + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; + md4_write( hd, NULL, 0 ); + if( !inlen ) + return; + } + _gcry_burn_stack (80+6*sizeof(void*)); + + while( inlen >= 64 ) + { + transform( hd, inbuf ); + hd->count = 0; + hd->nblocks++; + inlen -= 64; + inbuf += 64; + } + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; +} + + + +/* The routine final terminates the message-digest computation and + * ends with the desired message digest in mdContext->digest[0...15]. + * The handle is prepared for a new MD4 cycle. + * Returns 16 bytes representing the digest. + */ + +static void +md4_final( void *context ) +{ + MD4_CONTEXT *hd = context; + u32 t, msb, lsb; + byte *p; + + md4_write(hd, NULL, 0); /* flush */; + + t = hd->nblocks; + /* multiply by 64 to make a byte count */ + lsb = t << 6; + msb = t >> 26; + /* add the count */ + t = lsb; + if( (lsb += hd->count) < t ) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 29; + + if( hd->count < 56 ) /* enough room */ + { + hd->buf[hd->count++] = 0x80; /* pad */ + while( hd->count < 56 ) + hd->buf[hd->count++] = 0; /* pad */ + } + else /* need one extra block */ + { + hd->buf[hd->count++] = 0x80; /* pad character */ + while( hd->count < 64 ) + hd->buf[hd->count++] = 0; + md4_write(hd, NULL, 0); /* flush */; + memset(hd->buf, 0, 56 ); /* fill next block with zeroes */ + } + /* append the 64 bit count */ + hd->buf[56] = lsb ; + hd->buf[57] = lsb >> 8; + hd->buf[58] = lsb >> 16; + hd->buf[59] = lsb >> 24; + hd->buf[60] = msb ; + hd->buf[61] = msb >> 8; + hd->buf[62] = msb >> 16; + hd->buf[63] = msb >> 24; + transform( hd, hd->buf ); + _gcry_burn_stack (80+6*sizeof(void*)); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *p++ = hd->a ; *p++ = hd->a >> 8; \ + *p++ = hd->a >> 16; *p++ = hd->a >> 24; } while(0) +#else /* little endian */ +#define X(a) do { *(u32*)p = (*hd).a ; p += 4; } while(0) +#endif + X(A); + X(B); + X(C); + X(D); +#undef X + +} + +static byte * +md4_read (void *context) +{ + MD4_CONTEXT *hd = context; + return hd->buf; +} + +static byte asn[18] = /* Object ID is 1.2.840.113549.2.4 */ + { 0x30, 0x20, 0x30, 0x0c, 0x06, 0x08, 0x2a, 0x86,0x48, + 0x86, 0xf7, 0x0d, 0x02, 0x04, 0x05, 0x00, 0x04, 0x10 }; + +static gcry_md_oid_spec_t oid_spec_md4[] = + { + /* iso.member-body.us.rsadsi.digestAlgorithm.md4 */ + { "1.2.840.113549.2.4" }, + { NULL }, + }; + +gcry_md_spec_t _gcry_digest_spec_md4 = + { + "MD4", asn, DIM (asn), oid_spec_md4,16, + md4_init, md4_write, md4_final, md4_read, + sizeof (MD4_CONTEXT) + , + .blocksize = 64 + }; + + + +GRUB_MOD_INIT(gcry_md4) +{ + grub_md_register (&_gcry_digest_spec_md4); +} + +GRUB_MOD_FINI(gcry_md4) +{ + grub_md_unregister (&_gcry_digest_spec_md4); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/md5.c b/grub-core/lib/libgcrypt-grub/cipher/md5.c new file mode 100644 index 0000000..f790cd4 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/md5.c @@ -0,0 +1,368 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* md5.c - MD5 Message-Digest Algorithm + * Copyright (C) 1995,1996,1998,1999,2001,2002, + * 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * According to the definition of MD5 in RFC 1321 from April 1992. + * NOTE: This is *not* the same file as the one from glibc. + * Written by Ulrich Drepper , 1995. + * heavily modified for GnuPG by Werner Koch + */ + +/* Test values: + * "" D4 1D 8C D9 8F 00 B2 04 E9 80 09 98 EC F8 42 7E + * "a" 0C C1 75 B9 C0 F1 B6 A8 31 C3 99 E2 69 77 26 61 + * "abc 90 01 50 98 3C D2 4F B0 D6 96 3F 7D 28 E1 7F 72 + * "message digest" F9 6B 69 7D 7C B7 93 8D 52 5A 2F 31 AA F1 61 D0 + */ + + +#include "g10lib.h" +#include "memory.h" +#include "cipher.h" + +#include "bithelp.h" + + +typedef struct { + u32 A,B,C,D; /* chaining variables */ + u32 nblocks; + byte buf[64]; + int count; +} MD5_CONTEXT; + + +static void +md5_init( void *context ) +{ + MD5_CONTEXT *ctx = context; + + ctx->A = 0x67452301; + ctx->B = 0xefcdab89; + ctx->C = 0x98badcfe; + ctx->D = 0x10325476; + + ctx->nblocks = 0; + ctx->count = 0; +} + + +/* These are the four functions used in the four steps of the MD5 algorithm + and defined in the RFC 1321. The first function is a little bit optimized + (as found in Colin Plumbs public domain implementation). */ +/* #define FF(b, c, d) ((b & c) | (~b & d)) */ +#define FF(b, c, d) (d ^ (b & (c ^ d))) +#define FG(b, c, d) FF (d, b, c) +#define FH(b, c, d) (b ^ c ^ d) +#define FI(b, c, d) (c ^ (b | ~d)) + + +/**************** + * transform n*64 bytes + */ +static void +transform ( MD5_CONTEXT *ctx, const unsigned char *data ) +{ + u32 correct_words[16]; + register u32 A = ctx->A; + register u32 B = ctx->B; + register u32 C = ctx->C; + register u32 D = ctx->D; + u32 *cwp = correct_words; + +#ifdef WORDS_BIGENDIAN + { + int i; + byte *p2, *p1; + for(i=0, p1=data, p2=(byte*)correct_words; i < 16; i++, p2 += 4 ) + { + p2[3] = *p1++; + p2[2] = *p1++; + p2[1] = *p1++; + p2[0] = *p1++; + } + } +#else + memcpy( correct_words, data, 64 ); +#endif + + +#define OP(a, b, c, d, s, T) \ + do \ + { \ + a += FF (b, c, d) + (*cwp++) + T; \ + a = rol(a, s); \ + a += b; \ + } \ + while (0) + + /* Before we start, one word about the strange constants. + They are defined in RFC 1321 as + + T[i] = (int) (4294967296.0 * fabs (sin (i))), i=1..64 + */ + + /* Round 1. */ + OP (A, B, C, D, 7, 0xd76aa478); + OP (D, A, B, C, 12, 0xe8c7b756); + OP (C, D, A, B, 17, 0x242070db); + OP (B, C, D, A, 22, 0xc1bdceee); + OP (A, B, C, D, 7, 0xf57c0faf); + OP (D, A, B, C, 12, 0x4787c62a); + OP (C, D, A, B, 17, 0xa8304613); + OP (B, C, D, A, 22, 0xfd469501); + OP (A, B, C, D, 7, 0x698098d8); + OP (D, A, B, C, 12, 0x8b44f7af); + OP (C, D, A, B, 17, 0xffff5bb1); + OP (B, C, D, A, 22, 0x895cd7be); + OP (A, B, C, D, 7, 0x6b901122); + OP (D, A, B, C, 12, 0xfd987193); + OP (C, D, A, B, 17, 0xa679438e); + OP (B, C, D, A, 22, 0x49b40821); + +#undef OP +#define OP(f, a, b, c, d, k, s, T) \ + do \ + { \ + a += f (b, c, d) + correct_words[k] + T; \ + a = rol(a, s); \ + a += b; \ + } \ + while (0) + + /* Round 2. */ + OP (FG, A, B, C, D, 1, 5, 0xf61e2562); + OP (FG, D, A, B, C, 6, 9, 0xc040b340); + OP (FG, C, D, A, B, 11, 14, 0x265e5a51); + OP (FG, B, C, D, A, 0, 20, 0xe9b6c7aa); + OP (FG, A, B, C, D, 5, 5, 0xd62f105d); + OP (FG, D, A, B, C, 10, 9, 0x02441453); + OP (FG, C, D, A, B, 15, 14, 0xd8a1e681); + OP (FG, B, C, D, A, 4, 20, 0xe7d3fbc8); + OP (FG, A, B, C, D, 9, 5, 0x21e1cde6); + OP (FG, D, A, B, C, 14, 9, 0xc33707d6); + OP (FG, C, D, A, B, 3, 14, 0xf4d50d87); + OP (FG, B, C, D, A, 8, 20, 0x455a14ed); + OP (FG, A, B, C, D, 13, 5, 0xa9e3e905); + OP (FG, D, A, B, C, 2, 9, 0xfcefa3f8); + OP (FG, C, D, A, B, 7, 14, 0x676f02d9); + OP (FG, B, C, D, A, 12, 20, 0x8d2a4c8a); + + /* Round 3. */ + OP (FH, A, B, C, D, 5, 4, 0xfffa3942); + OP (FH, D, A, B, C, 8, 11, 0x8771f681); + OP (FH, C, D, A, B, 11, 16, 0x6d9d6122); + OP (FH, B, C, D, A, 14, 23, 0xfde5380c); + OP (FH, A, B, C, D, 1, 4, 0xa4beea44); + OP (FH, D, A, B, C, 4, 11, 0x4bdecfa9); + OP (FH, C, D, A, B, 7, 16, 0xf6bb4b60); + OP (FH, B, C, D, A, 10, 23, 0xbebfbc70); + OP (FH, A, B, C, D, 13, 4, 0x289b7ec6); + OP (FH, D, A, B, C, 0, 11, 0xeaa127fa); + OP (FH, C, D, A, B, 3, 16, 0xd4ef3085); + OP (FH, B, C, D, A, 6, 23, 0x04881d05); + OP (FH, A, B, C, D, 9, 4, 0xd9d4d039); + OP (FH, D, A, B, C, 12, 11, 0xe6db99e5); + OP (FH, C, D, A, B, 15, 16, 0x1fa27cf8); + OP (FH, B, C, D, A, 2, 23, 0xc4ac5665); + + /* Round 4. */ + OP (FI, A, B, C, D, 0, 6, 0xf4292244); + OP (FI, D, A, B, C, 7, 10, 0x432aff97); + OP (FI, C, D, A, B, 14, 15, 0xab9423a7); + OP (FI, B, C, D, A, 5, 21, 0xfc93a039); + OP (FI, A, B, C, D, 12, 6, 0x655b59c3); + OP (FI, D, A, B, C, 3, 10, 0x8f0ccc92); + OP (FI, C, D, A, B, 10, 15, 0xffeff47d); + OP (FI, B, C, D, A, 1, 21, 0x85845dd1); + OP (FI, A, B, C, D, 8, 6, 0x6fa87e4f); + OP (FI, D, A, B, C, 15, 10, 0xfe2ce6e0); + OP (FI, C, D, A, B, 6, 15, 0xa3014314); + OP (FI, B, C, D, A, 13, 21, 0x4e0811a1); + OP (FI, A, B, C, D, 4, 6, 0xf7537e82); + OP (FI, D, A, B, C, 11, 10, 0xbd3af235); + OP (FI, C, D, A, B, 2, 15, 0x2ad7d2bb); + OP (FI, B, C, D, A, 9, 21, 0xeb86d391); + + /* Put checksum in context given as argument. */ + ctx->A += A; + ctx->B += B; + ctx->C += C; + ctx->D += D; +} + + + +/* The routine updates the message-digest context to + * account for the presence of each of the characters inBuf[0..inLen-1] + * in the message whose digest is being computed. + */ +static void +md5_write( void *context, const void *inbuf_arg , size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + MD5_CONTEXT *hd = context; + + if( hd->count == 64 ) /* flush the buffer */ + { + transform( hd, hd->buf ); + _gcry_burn_stack (80+6*sizeof(void*)); + hd->count = 0; + hd->nblocks++; + } + if( !inbuf ) + return; + + if( hd->count ) + { + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; + md5_write( hd, NULL, 0 ); + if( !inlen ) + return; + } + _gcry_burn_stack (80+6*sizeof(void*)); + + while( inlen >= 64 ) + { + transform( hd, inbuf ); + hd->count = 0; + hd->nblocks++; + inlen -= 64; + inbuf += 64; + } + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; + +} + + + +/* The routine final terminates the message-digest computation and + * ends with the desired message digest in mdContext->digest[0...15]. + * The handle is prepared for a new MD5 cycle. + * Returns 16 bytes representing the digest. + */ + +static void +md5_final( void *context) +{ + MD5_CONTEXT *hd = context; + u32 t, msb, lsb; + byte *p; + + md5_write(hd, NULL, 0); /* flush */; + + t = hd->nblocks; + /* multiply by 64 to make a byte count */ + lsb = t << 6; + msb = t >> 26; + /* add the count */ + t = lsb; + if( (lsb += hd->count) < t ) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 29; + + if( hd->count < 56 ) /* enough room */ + { + hd->buf[hd->count++] = 0x80; /* pad */ + while( hd->count < 56 ) + hd->buf[hd->count++] = 0; /* pad */ + } + else /* need one extra block */ + { + hd->buf[hd->count++] = 0x80; /* pad character */ + while( hd->count < 64 ) + hd->buf[hd->count++] = 0; + md5_write(hd, NULL, 0); /* flush */; + memset(hd->buf, 0, 56 ); /* fill next block with zeroes */ + } + /* append the 64 bit count */ + hd->buf[56] = lsb ; + hd->buf[57] = lsb >> 8; + hd->buf[58] = lsb >> 16; + hd->buf[59] = lsb >> 24; + hd->buf[60] = msb ; + hd->buf[61] = msb >> 8; + hd->buf[62] = msb >> 16; + hd->buf[63] = msb >> 24; + transform( hd, hd->buf ); + _gcry_burn_stack (80+6*sizeof(void*)); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *p++ = hd->a ; *p++ = hd->a >> 8; \ + *p++ = hd->a >> 16; *p++ = hd->a >> 24; } while(0) +#else /* little endian */ +#define X(a) do { *(u32*)p = (*hd).a ; p += 4; } while(0) +#endif + X(A); + X(B); + X(C); + X(D); +#undef X + +} + +static byte * +md5_read( void *context ) +{ + MD5_CONTEXT *hd = (MD5_CONTEXT *) context; + return hd->buf; +} + +static byte asn[18] = /* Object ID is 1.2.840.113549.2.5 */ + { 0x30, 0x20, 0x30, 0x0c, 0x06, 0x08, 0x2a, 0x86,0x48, + 0x86, 0xf7, 0x0d, 0x02, 0x05, 0x05, 0x00, 0x04, 0x10 }; + +static gcry_md_oid_spec_t oid_spec_md5[] = + { + /* iso.member-body.us.rsadsi.pkcs.pkcs-1.4 (md5WithRSAEncryption) */ + { "1.2.840.113549.1.1.4" }, + /* RSADSI digestAlgorithm MD5 */ + { "1.2.840.113549.2.5" }, + { NULL }, + }; + +gcry_md_spec_t _gcry_digest_spec_md5 = + { + "MD5", asn, DIM (asn), oid_spec_md5, 16, + md5_init, md5_write, md5_final, md5_read, + sizeof (MD5_CONTEXT) + , + .blocksize = 64 + }; + + +GRUB_MOD_INIT(gcry_md5) +{ + grub_md_register (&_gcry_digest_spec_md5); +} + +GRUB_MOD_FINI(gcry_md5) +{ + grub_md_unregister (&_gcry_digest_spec_md5); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/memory.h b/grub-core/lib/libgcrypt-grub/cipher/memory.h new file mode 100644 index 0000000..49cc16a --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/memory.h @@ -0,0 +1 @@ +#include diff --git a/grub-core/lib/libgcrypt-grub/cipher/primegen.c b/grub-core/lib/libgcrypt-grub/cipher/primegen.c new file mode 100644 index 0000000..b8a3121 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/primegen.c @@ -0,0 +1,1861 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* primegen.c - prime number generator + * Copyright (C) 1998, 2000, 2001, 2002, 2003 + * 2004, 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + + + +#include "g10lib.h" +#include "mpi.h" +#include "cipher.h" +#include "ath.h" + +static gcry_mpi_t gen_prime (unsigned int nbits, int secret, int randomlevel, + int (*extra_check)(void *, gcry_mpi_t), + void *extra_check_arg); +static int check_prime( gcry_mpi_t prime, gcry_mpi_t val_2, int rm_rounds, + gcry_prime_check_func_t cb_func, void *cb_arg ); +static int is_prime (gcry_mpi_t n, int steps, unsigned int *count); +static void m_out_of_n( char *array, int m, int n ); + +static void (*progress_cb) (void *,const char*,int,int, int ); +static void *progress_cb_data; + +/* Note: 2 is not included because it can be tested more easily by + looking at bit 0. The last entry in this list is marked by a zero */ +static ushort small_prime_numbers[] = { + 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, + 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, + 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, + 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, + 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, + 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, + 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, + 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, + 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, + 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, + 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, + 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, + 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, + 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, + 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, + 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, + 991, 997, 1009, 1013, 1019, 1021, 1031, 1033, + 1039, 1049, 1051, 1061, 1063, 1069, 1087, 1091, + 1093, 1097, 1103, 1109, 1117, 1123, 1129, 1151, + 1153, 1163, 1171, 1181, 1187, 1193, 1201, 1213, + 1217, 1223, 1229, 1231, 1237, 1249, 1259, 1277, + 1279, 1283, 1289, 1291, 1297, 1301, 1303, 1307, + 1319, 1321, 1327, 1361, 1367, 1373, 1381, 1399, + 1409, 1423, 1427, 1429, 1433, 1439, 1447, 1451, + 1453, 1459, 1471, 1481, 1483, 1487, 1489, 1493, + 1499, 1511, 1523, 1531, 1543, 1549, 1553, 1559, + 1567, 1571, 1579, 1583, 1597, 1601, 1607, 1609, + 1613, 1619, 1621, 1627, 1637, 1657, 1663, 1667, + 1669, 1693, 1697, 1699, 1709, 1721, 1723, 1733, + 1741, 1747, 1753, 1759, 1777, 1783, 1787, 1789, + 1801, 1811, 1823, 1831, 1847, 1861, 1867, 1871, + 1873, 1877, 1879, 1889, 1901, 1907, 1913, 1931, + 1933, 1949, 1951, 1973, 1979, 1987, 1993, 1997, + 1999, 2003, 2011, 2017, 2027, 2029, 2039, 2053, + 2063, 2069, 2081, 2083, 2087, 2089, 2099, 2111, + 2113, 2129, 2131, 2137, 2141, 2143, 2153, 2161, + 2179, 2203, 2207, 2213, 2221, 2237, 2239, 2243, + 2251, 2267, 2269, 2273, 2281, 2287, 2293, 2297, + 2309, 2311, 2333, 2339, 2341, 2347, 2351, 2357, + 2371, 2377, 2381, 2383, 2389, 2393, 2399, 2411, + 2417, 2423, 2437, 2441, 2447, 2459, 2467, 2473, + 2477, 2503, 2521, 2531, 2539, 2543, 2549, 2551, + 2557, 2579, 2591, 2593, 2609, 2617, 2621, 2633, + 2647, 2657, 2659, 2663, 2671, 2677, 2683, 2687, + 2689, 2693, 2699, 2707, 2711, 2713, 2719, 2729, + 2731, 2741, 2749, 2753, 2767, 2777, 2789, 2791, + 2797, 2801, 2803, 2819, 2833, 2837, 2843, 2851, + 2857, 2861, 2879, 2887, 2897, 2903, 2909, 2917, + 2927, 2939, 2953, 2957, 2963, 2969, 2971, 2999, + 3001, 3011, 3019, 3023, 3037, 3041, 3049, 3061, + 3067, 3079, 3083, 3089, 3109, 3119, 3121, 3137, + 3163, 3167, 3169, 3181, 3187, 3191, 3203, 3209, + 3217, 3221, 3229, 3251, 3253, 3257, 3259, 3271, + 3299, 3301, 3307, 3313, 3319, 3323, 3329, 3331, + 3343, 3347, 3359, 3361, 3371, 3373, 3389, 3391, + 3407, 3413, 3433, 3449, 3457, 3461, 3463, 3467, + 3469, 3491, 3499, 3511, 3517, 3527, 3529, 3533, + 3539, 3541, 3547, 3557, 3559, 3571, 3581, 3583, + 3593, 3607, 3613, 3617, 3623, 3631, 3637, 3643, + 3659, 3671, 3673, 3677, 3691, 3697, 3701, 3709, + 3719, 3727, 3733, 3739, 3761, 3767, 3769, 3779, + 3793, 3797, 3803, 3821, 3823, 3833, 3847, 3851, + 3853, 3863, 3877, 3881, 3889, 3907, 3911, 3917, + 3919, 3923, 3929, 3931, 3943, 3947, 3967, 3989, + 4001, 4003, 4007, 4013, 4019, 4021, 4027, 4049, + 4051, 4057, 4073, 4079, 4091, 4093, 4099, 4111, + 4127, 4129, 4133, 4139, 4153, 4157, 4159, 4177, + 4201, 4211, 4217, 4219, 4229, 4231, 4241, 4243, + 4253, 4259, 4261, 4271, 4273, 4283, 4289, 4297, + 4327, 4337, 4339, 4349, 4357, 4363, 4373, 4391, + 4397, 4409, 4421, 4423, 4441, 4447, 4451, 4457, + 4463, 4481, 4483, 4493, 4507, 4513, 4517, 4519, + 4523, 4547, 4549, 4561, 4567, 4583, 4591, 4597, + 4603, 4621, 4637, 4639, 4643, 4649, 4651, 4657, + 4663, 4673, 4679, 4691, 4703, 4721, 4723, 4729, + 4733, 4751, 4759, 4783, 4787, 4789, 4793, 4799, + 4801, 4813, 4817, 4831, 4861, 4871, 4877, 4889, + 4903, 4909, 4919, 4931, 4933, 4937, 4943, 4951, + 4957, 4967, 4969, 4973, 4987, 4993, 4999, + 0 +}; +static int no_of_small_prime_numbers = DIM (small_prime_numbers) - 1; + + + +/* An object and a list to build up a global pool of primes. See + save_pool_prime and get_pool_prime. */ +struct primepool_s +{ + struct primepool_s *next; + gcry_mpi_t prime; /* If this is NULL the entry is not used. */ + unsigned int nbits; + gcry_random_level_t randomlevel; +}; +struct primepool_s *primepool; +/* Mutex used to protect access to the primepool. */ +static ath_mutex_t primepool_lock = ATH_MUTEX_INITIALIZER; + + + +/* Save PRIME which has been generated at RANDOMLEVEL for later + use. Needs to be called while primepool_lock is being hold. Note + that PRIME should be considered released after calling this + function. */ +static void +save_pool_prime (gcry_mpi_t prime, gcry_random_level_t randomlevel) +{ + struct primepool_s *item, *item2; + size_t n; + + for (n=0, item = primepool; item; item = item->next, n++) + if (!item->prime) + break; + if (!item && n > 100) + { + /* Remove some of the entries. Our strategy is removing + the last third from the list. */ + int i; + + for (i=0, item2 = primepool; item2; item2 = item2->next) + { + if (i >= n/3*2) + { + gcry_mpi_release (item2->prime); + item2->prime = NULL; + if (!item) + item = item2; + } + } + } + if (!item) + { + item = gcry_calloc (1, sizeof *item); + if (!item) + { + /* Out of memory. Silently giving up. */ + gcry_mpi_release (prime); + return; + } + item->next = primepool; + primepool = item; + } + item->prime = prime; + item->nbits = mpi_get_nbits (prime); + item->randomlevel = randomlevel; +} + + +/* Return a prime for the prime pool or NULL if none has been found. + The prime needs to match NBITS and randomlevel. This function needs + to be called why the primepool_look is being hold. */ +static gcry_mpi_t +get_pool_prime (unsigned int nbits, gcry_random_level_t randomlevel) +{ + struct primepool_s *item; + + for (item = primepool; item; item = item->next) + if (item->prime + && item->nbits == nbits && item->randomlevel == randomlevel) + { + gcry_mpi_t prime = item->prime; + item->prime = NULL; + gcry_assert (nbits == mpi_get_nbits (prime)); + return prime; + } + return NULL; +} + + + + + + +void +_gcry_register_primegen_progress ( void (*cb)(void *,const char*,int,int,int), + void *cb_data ) +{ + progress_cb = cb; + progress_cb_data = cb_data; +} + + +static void +progress( int c ) +{ + if ( progress_cb ) + progress_cb ( progress_cb_data, "primegen", c, 0, 0 ); +} + + +/**************** + * Generate a prime number (stored in secure memory) + */ +gcry_mpi_t +_gcry_generate_secret_prime (unsigned int nbits, + gcry_random_level_t random_level, + int (*extra_check)(void*, gcry_mpi_t), + void *extra_check_arg) +{ + gcry_mpi_t prime; + + prime = gen_prime (nbits, 1, random_level, extra_check, extra_check_arg); + progress('\n'); + return prime; +} + + +/* Generate a prime number which may be public, i.e. not allocated in + secure memory. */ +gcry_mpi_t +_gcry_generate_public_prime (unsigned int nbits, + gcry_random_level_t random_level, + int (*extra_check)(void*, gcry_mpi_t), + void *extra_check_arg) +{ + gcry_mpi_t prime; + + prime = gen_prime (nbits, 0, random_level, extra_check, extra_check_arg); + progress('\n'); + return prime; +} + + +/* Core prime generation function. The algorithm used to generate + practically save primes is due to Lim and Lee as described in the + CRYPTO '97 proceedings (ISBN3540633847) page 260. + + NEED_Q_FACTOR: If true make sure that at least one factor is of + size qbits. This is for example required for DSA. + PRIME_GENERATED: Adresss of a variable where the resulting prime + number will be stored. + PBITS: Requested size of the prime number. At least 48. + QBITS: One factor of the prime needs to be of this size. Maybe 0 + if this is not required. See also MODE. + G: If not NULL an MPI which will receive a generator for the prime + for use with Elgamal. + RET_FACTORS: if not NULL, an array with all factors are stored at + that address. + ALL_FACTORS: If set to true all factors of prime-1 are returned. + RANDOMLEVEL: How strong should the random numers be. + FLAGS: Prime generation bit flags. Currently supported: + GCRY_PRIME_FLAG_SECRET - The prime needs to be kept secret. + CB_FUNC, CB_ARG: Callback to be used for extra checks. + + */ +static gcry_err_code_t +prime_generate_internal (int need_q_factor, + gcry_mpi_t *prime_generated, unsigned int pbits, + unsigned int qbits, gcry_mpi_t g, + gcry_mpi_t **ret_factors, + gcry_random_level_t randomlevel, unsigned int flags, + int all_factors, + gcry_prime_check_func_t cb_func, void *cb_arg) +{ + gcry_err_code_t err = 0; + gcry_mpi_t *factors_new = NULL; /* Factors to return to the + caller. */ + gcry_mpi_t *factors = NULL; /* Current factors. */ + gcry_random_level_t poolrandomlevel; /* Random level used for pool primes. */ + gcry_mpi_t *pool = NULL; /* Pool of primes. */ + int *pool_in_use = NULL; /* Array with currently used POOL elements. */ + unsigned char *perms = NULL; /* Permutations of POOL. */ + gcry_mpi_t q_factor = NULL; /* Used if QBITS is non-zero. */ + unsigned int fbits = 0; /* Length of prime factors. */ + unsigned int n = 0; /* Number of factors. */ + unsigned int m = 0; /* Number of primes in pool. */ + gcry_mpi_t q = NULL; /* First prime factor. */ + gcry_mpi_t prime = NULL; /* Prime candidate. */ + unsigned int nprime = 0; /* Bits of PRIME. */ + unsigned int req_qbits; /* The original QBITS value. */ + gcry_mpi_t val_2; /* For check_prime(). */ + int is_locked = 0; /* Flag to help unlocking the primepool. */ + unsigned int is_secret = (flags & GCRY_PRIME_FLAG_SECRET); + unsigned int count1 = 0, count2 = 0; + unsigned int i = 0, j = 0; + + if (pbits < 48) + return GPG_ERR_INV_ARG; + + /* We won't use a too strong random elvel for the pooled subprimes. */ + poolrandomlevel = (randomlevel > GCRY_STRONG_RANDOM? + GCRY_STRONG_RANDOM : randomlevel); + + + /* If QBITS is not given, assume a reasonable value. */ + if (!qbits) + qbits = pbits / 3; + + req_qbits = qbits; + + /* Find number of needed prime factors N. */ + for (n = 1; (pbits - qbits - 1) / n >= qbits; n++) + ; + n--; + + val_2 = mpi_alloc_set_ui (2); + + if ((! n) || ((need_q_factor) && (n < 2))) + { + err = GPG_ERR_INV_ARG; + goto leave; + } + + if (need_q_factor) + { + n--; /* Need one factor less because we want a specific Q-FACTOR. */ + fbits = (pbits - 2 * req_qbits -1) / n; + qbits = pbits - req_qbits - n * fbits; + } + else + { + fbits = (pbits - req_qbits -1) / n; + qbits = pbits - n * fbits; + } + + if (DBG_CIPHER) + log_debug ("gen prime: pbits=%u qbits=%u fbits=%u/%u n=%d\n", + pbits, req_qbits, qbits, fbits, n); + + /* Allocate an integer to old the new prime. */ + prime = gcry_mpi_new (pbits); + + /* Generate first prime factor. */ + q = gen_prime (qbits, is_secret, randomlevel, NULL, NULL); + + /* Generate a specific Q-Factor if requested. */ + if (need_q_factor) + q_factor = gen_prime (req_qbits, is_secret, randomlevel, NULL, NULL); + + /* Allocate an array to hold all factors + 2 for later usage. */ + factors = gcry_calloc (n + 2, sizeof (*factors)); + if (!factors) + { + err = gpg_err_code_from_errno (errno); + goto leave; + } + + /* Allocate an array to track pool usage. */ + pool_in_use = gcry_malloc (n * sizeof *pool_in_use); + if (!pool_in_use) + { + err = gpg_err_code_from_errno (errno); + goto leave; + } + for (i=0; i < n; i++) + pool_in_use[i] = -1; + + /* Make a pool of 3n+5 primes (this is an arbitrary value). We + require at least 30 primes for are useful selection process. + + Fixme: We need to research the best formula for sizing the pool. + */ + m = n * 3 + 5; + if (need_q_factor) /* Need some more in this case. */ + m += 5; + if (m < 30) + m = 30; + pool = gcry_calloc (m , sizeof (*pool)); + if (! pool) + { + err = gpg_err_code_from_errno (errno); + goto leave; + } + + /* Permutate over the pool of primes until we find a prime of the + requested length. */ + do + { + next_try: + for (i=0; i < n; i++) + pool_in_use[i] = -1; + + if (!perms) + { + /* Allocate new primes. This is done right at the beginning + of the loop and if we have later run out of primes. */ + for (i = 0; i < m; i++) + { + mpi_free (pool[i]); + pool[i] = NULL; + } + + /* Init m_out_of_n(). */ + perms = gcry_calloc (1, m); + if (!perms) + { + err = gpg_err_code_from_errno (errno); + goto leave; + } + + if (ath_mutex_lock (&primepool_lock)) + { + err = GPG_ERR_INTERNAL; + goto leave; + } + is_locked = 1; + for (i = 0; i < n; i++) + { + perms[i] = 1; + /* At a maximum we use strong random for the factors. + This saves us a lot of entropy. Given that Q and + possible Q-factor are also used in the final prime + this should be acceptable. We also don't allocate in + secure memory to save on that scare resource too. If + Q has been allocated in secure memory, the final + prime will be saved there anyway. This is because + our MPI routines take care of that. GnuPG has worked + this way ever since. */ + pool[i] = NULL; + if (is_locked) + { + pool[i] = get_pool_prime (fbits, poolrandomlevel); + if (!pool[i]) + { + if (ath_mutex_unlock (&primepool_lock)) + { + err = GPG_ERR_INTERNAL; + goto leave; + } + is_locked = 0; + } + } + if (!pool[i]) + pool[i] = gen_prime (fbits, 0, poolrandomlevel, NULL, NULL); + pool_in_use[i] = i; + factors[i] = pool[i]; + } + if (is_locked && ath_mutex_unlock (&primepool_lock)) + { + err = GPG_ERR_INTERNAL; + goto leave; + } + is_locked = 0; + } + else + { + /* Get next permutation. */ + m_out_of_n ( (char*)perms, n, m); + if (ath_mutex_lock (&primepool_lock)) + { + err = GPG_ERR_INTERNAL; + goto leave; + } + is_locked = 1; + for (i = j = 0; (i < m) && (j < n); i++) + if (perms[i]) + { + /* If the subprime has not yet beed generated do it now. */ + if (!pool[i] && is_locked) + { + pool[i] = get_pool_prime (fbits, poolrandomlevel); + if (!pool[i]) + { + if (ath_mutex_unlock (&primepool_lock)) + { + err = GPG_ERR_INTERNAL; + goto leave; + } + is_locked = 0; + } + } + if (!pool[i]) + pool[i] = gen_prime (fbits, 0, poolrandomlevel, NULL, NULL); + pool_in_use[j] = i; + factors[j++] = pool[i]; + } + if (is_locked && ath_mutex_unlock (&primepool_lock)) + { + err = GPG_ERR_INTERNAL; + goto leave; + } + is_locked = 0; + if (i == n) + { + /* Ran out of permutations: Allocate new primes. */ + gcry_free (perms); + perms = NULL; + progress ('!'); + goto next_try; + } + } + + /* Generate next prime candidate: + p = 2 * q [ * q_factor] * factor_0 * factor_1 * ... * factor_n + 1. + */ + mpi_set (prime, q); + mpi_mul_ui (prime, prime, 2); + if (need_q_factor) + mpi_mul (prime, prime, q_factor); + for(i = 0; i < n; i++) + mpi_mul (prime, prime, factors[i]); + mpi_add_ui (prime, prime, 1); + nprime = mpi_get_nbits (prime); + + if (nprime < pbits) + { + if (++count1 > 20) + { + count1 = 0; + qbits++; + progress('>'); + mpi_free (q); + q = gen_prime (qbits, is_secret, randomlevel, NULL, NULL); + goto next_try; + } + } + else + count1 = 0; + + if (nprime > pbits) + { + if (++count2 > 20) + { + count2 = 0; + qbits--; + progress('<'); + mpi_free (q); + q = gen_prime (qbits, is_secret, randomlevel, NULL, NULL); + goto next_try; + } + } + else + count2 = 0; + } + while (! ((nprime == pbits) && check_prime (prime, val_2, 5, + cb_func, cb_arg))); + + if (DBG_CIPHER) + { + progress ('\n'); + log_mpidump ("prime : ", prime); + log_mpidump ("factor q: ", q); + if (need_q_factor) + log_mpidump ("factor q0: ", q_factor); + for (i = 0; i < n; i++) + log_mpidump ("factor pi: ", factors[i]); + log_debug ("bit sizes: prime=%u, q=%u", + mpi_get_nbits (prime), mpi_get_nbits (q)); + if (need_q_factor) + log_debug (", q0=%u", mpi_get_nbits (q_factor)); + for (i = 0; i < n; i++) + log_debug (", p%d=%u", i, mpi_get_nbits (factors[i])); + progress('\n'); + } + + if (ret_factors) + { + /* Caller wants the factors. */ + factors_new = gcry_calloc (n + 4, sizeof (*factors_new)); + if (! factors_new) + { + err = gpg_err_code_from_errno (errno); + goto leave; + } + + if (all_factors) + { + i = 0; + factors_new[i++] = gcry_mpi_set_ui (NULL, 2); + factors_new[i++] = mpi_copy (q); + if (need_q_factor) + factors_new[i++] = mpi_copy (q_factor); + for(j=0; j < n; j++) + factors_new[i++] = mpi_copy (factors[j]); + } + else + { + i = 0; + if (need_q_factor) + { + factors_new[i++] = mpi_copy (q_factor); + for (; i <= n; i++) + factors_new[i] = mpi_copy (factors[i]); + } + else + for (; i < n; i++ ) + factors_new[i] = mpi_copy (factors[i]); + } + } + + if (g) + { + /* Create a generator (start with 3). */ + gcry_mpi_t tmp = mpi_alloc (mpi_get_nlimbs (prime)); + gcry_mpi_t b = mpi_alloc (mpi_get_nlimbs (prime)); + gcry_mpi_t pmin1 = mpi_alloc (mpi_get_nlimbs (prime)); + + if (need_q_factor) + err = GPG_ERR_NOT_IMPLEMENTED; + else + { + factors[n] = q; + factors[n + 1] = mpi_alloc_set_ui (2); + mpi_sub_ui (pmin1, prime, 1); + mpi_set_ui (g, 2); + do + { + mpi_add_ui (g, g, 1); + if (DBG_CIPHER) + { + log_debug ("checking g:"); + gcry_mpi_dump (g); + log_printf ("\n"); + } + else + progress('^'); + for (i = 0; i < n + 2; i++) + { + mpi_fdiv_q (tmp, pmin1, factors[i]); + /* No mpi_pow(), but it is okay to use this with mod + prime. */ + gcry_mpi_powm (b, g, tmp, prime); + if (! mpi_cmp_ui (b, 1)) + break; + } + if (DBG_CIPHER) + progress('\n'); + } + while (i < n + 2); + + mpi_free (factors[n+1]); + mpi_free (tmp); + mpi_free (b); + mpi_free (pmin1); + } + } + + if (! DBG_CIPHER) + progress ('\n'); + + + leave: + if (pool) + { + is_locked = !ath_mutex_lock (&primepool_lock); + for(i = 0; i < m; i++) + { + if (pool[i]) + { + for (j=0; j < n; j++) + if (pool_in_use[j] == i) + break; + if (j == n && is_locked) + { + /* This pooled subprime has not been used. */ + save_pool_prime (pool[i], poolrandomlevel); + } + else + mpi_free (pool[i]); + } + } + if (is_locked && ath_mutex_unlock (&primepool_lock)) + err = GPG_ERR_INTERNAL; + is_locked = 0; + gcry_free (pool); + } + gcry_free (pool_in_use); + if (factors) + gcry_free (factors); /* Factors are shallow copies. */ + if (perms) + gcry_free (perms); + + mpi_free (val_2); + mpi_free (q); + mpi_free (q_factor); + + if (! err) + { + *prime_generated = prime; + if (ret_factors) + *ret_factors = factors_new; + } + else + { + if (factors_new) + { + for (i = 0; factors_new[i]; i++) + mpi_free (factors_new[i]); + gcry_free (factors_new); + } + mpi_free (prime); + } + + return err; +} + + +/* Generate a prime used for discrete logarithm algorithms; i.e. this + prime will be public and no strong random is required. */ +gcry_mpi_t +_gcry_generate_elg_prime (int mode, unsigned pbits, unsigned qbits, + gcry_mpi_t g, gcry_mpi_t **ret_factors) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + gcry_mpi_t prime = NULL; + + err = prime_generate_internal ((mode == 1), &prime, pbits, qbits, g, + ret_factors, GCRY_WEAK_RANDOM, 0, 0, + NULL, NULL); + + return prime; +} + + +static gcry_mpi_t +gen_prime (unsigned int nbits, int secret, int randomlevel, + int (*extra_check)(void *, gcry_mpi_t), void *extra_check_arg) +{ + gcry_mpi_t prime, ptest, pminus1, val_2, val_3, result; + int i; + unsigned int x, step; + unsigned int count1, count2; + int *mods; + +/* if ( DBG_CIPHER ) */ +/* log_debug ("generate a prime of %u bits ", nbits ); */ + + if (nbits < 16) + log_fatal ("can't generate a prime with less than %d bits\n", 16); + + mods = gcry_xmalloc( no_of_small_prime_numbers * sizeof *mods ); + /* Make nbits fit into gcry_mpi_t implementation. */ + val_2 = mpi_alloc_set_ui( 2 ); + val_3 = mpi_alloc_set_ui( 3); + prime = secret? gcry_mpi_snew ( nbits ): gcry_mpi_new ( nbits ); + result = mpi_alloc_like( prime ); + pminus1= mpi_alloc_like( prime ); + ptest = mpi_alloc_like( prime ); + count1 = count2 = 0; + for (;;) + { /* try forvever */ + int dotcount=0; + + /* generate a random number */ + gcry_mpi_randomize( prime, nbits, randomlevel ); + + /* Set high order bit to 1, set low order bit to 1. If we are + generating a secret prime we are most probably doing that + for RSA, to make sure that the modulus does have the + requested key size we set the 2 high order bits. */ + mpi_set_highbit (prime, nbits-1); + if (secret) + mpi_set_bit (prime, nbits-2); + mpi_set_bit(prime, 0); + + /* Calculate all remainders. */ + for (i=0; (x = small_prime_numbers[i]); i++ ) + mods[i] = mpi_fdiv_r_ui(NULL, prime, x); + + /* Now try some primes starting with prime. */ + for(step=0; step < 20000; step += 2 ) + { + /* Check against all the small primes we have in mods. */ + count1++; + for (i=0; (x = small_prime_numbers[i]); i++ ) + { + while ( mods[i] + step >= x ) + mods[i] -= x; + if ( !(mods[i] + step) ) + break; + } + if ( x ) + continue; /* Found a multiple of an already known prime. */ + + mpi_add_ui( ptest, prime, step ); + + /* Do a fast Fermat test now. */ + count2++; + mpi_sub_ui( pminus1, ptest, 1); + gcry_mpi_powm( result, val_2, pminus1, ptest ); + if ( !mpi_cmp_ui( result, 1 ) ) + { + /* Not composite, perform stronger tests */ + if (is_prime(ptest, 5, &count2 )) + { + if (!mpi_test_bit( ptest, nbits-1-secret )) + { + progress('\n'); + log_debug ("overflow in prime generation\n"); + break; /* Stop loop, continue with a new prime. */ + } + + if (extra_check && extra_check (extra_check_arg, ptest)) + { + /* The extra check told us that this prime is + not of the caller's taste. */ + progress ('/'); + } + else + { + /* Got it. */ + mpi_free(val_2); + mpi_free(val_3); + mpi_free(result); + mpi_free(pminus1); + mpi_free(prime); + gcry_free(mods); + return ptest; + } + } + } + if (++dotcount == 10 ) + { + progress('.'); + dotcount = 0; + } + } + progress(':'); /* restart with a new random value */ + } +} + +/**************** + * Returns: true if this may be a prime + * RM_ROUNDS gives the number of Rabin-Miller tests to run. + */ +static int +check_prime( gcry_mpi_t prime, gcry_mpi_t val_2, int rm_rounds, + gcry_prime_check_func_t cb_func, void *cb_arg) +{ + int i; + unsigned int x; + unsigned int count=0; + + /* Check against small primes. */ + for (i=0; (x = small_prime_numbers[i]); i++ ) + { + if ( mpi_divisible_ui( prime, x ) ) + return 0; + } + + /* A quick Fermat test. */ + { + gcry_mpi_t result = mpi_alloc_like( prime ); + gcry_mpi_t pminus1 = mpi_alloc_like( prime ); + mpi_sub_ui( pminus1, prime, 1); + gcry_mpi_powm( result, val_2, pminus1, prime ); + mpi_free( pminus1 ); + if ( mpi_cmp_ui( result, 1 ) ) + { + /* Is composite. */ + mpi_free( result ); + progress('.'); + return 0; + } + mpi_free( result ); + } + + if (!cb_func || cb_func (cb_arg, GCRY_PRIME_CHECK_AT_MAYBE_PRIME, prime)) + { + /* Perform stronger tests. */ + if ( is_prime( prime, rm_rounds, &count ) ) + { + if (!cb_func + || cb_func (cb_arg, GCRY_PRIME_CHECK_AT_GOT_PRIME, prime)) + return 1; /* Probably a prime. */ + } + } + progress('.'); + return 0; +} + + +/* + * Return true if n is probably a prime + */ +static int +is_prime (gcry_mpi_t n, int steps, unsigned int *count) +{ + gcry_mpi_t x = mpi_alloc( mpi_get_nlimbs( n ) ); + gcry_mpi_t y = mpi_alloc( mpi_get_nlimbs( n ) ); + gcry_mpi_t z = mpi_alloc( mpi_get_nlimbs( n ) ); + gcry_mpi_t nminus1 = mpi_alloc( mpi_get_nlimbs( n ) ); + gcry_mpi_t a2 = mpi_alloc_set_ui( 2 ); + gcry_mpi_t q; + unsigned i, j, k; + int rc = 0; + unsigned nbits = mpi_get_nbits( n ); + + if (steps < 5) /* Make sure that we do at least 5 rounds. */ + steps = 5; + + mpi_sub_ui( nminus1, n, 1 ); + + /* Find q and k, so that n = 1 + 2^k * q . */ + q = mpi_copy ( nminus1 ); + k = mpi_trailing_zeros ( q ); + mpi_tdiv_q_2exp (q, q, k); + + for (i=0 ; i < steps; i++ ) + { + ++*count; + if( !i ) + { + mpi_set_ui( x, 2 ); + } + else + { + gcry_mpi_randomize( x, nbits, GCRY_WEAK_RANDOM ); + + /* Make sure that the number is smaller than the prime and + keep the randomness of the high bit. */ + if ( mpi_test_bit ( x, nbits-2) ) + { + mpi_set_highbit ( x, nbits-2); /* Clear all higher bits. */ + } + else + { + mpi_set_highbit( x, nbits-2 ); + mpi_clear_bit( x, nbits-2 ); + } + gcry_assert (mpi_cmp (x, nminus1) < 0 && mpi_cmp_ui (x, 1) > 0); + } + gcry_mpi_powm ( y, x, q, n); + if ( mpi_cmp_ui(y, 1) && mpi_cmp( y, nminus1 ) ) + { + for ( j=1; j < k && mpi_cmp( y, nminus1 ); j++ ) + { + gcry_mpi_powm(y, y, a2, n); + if( !mpi_cmp_ui( y, 1 ) ) + goto leave; /* Not a prime. */ + } + if (mpi_cmp( y, nminus1 ) ) + goto leave; /* Not a prime. */ + } + progress('+'); + } + rc = 1; /* May be a prime. */ + + leave: + mpi_free( x ); + mpi_free( y ); + mpi_free( z ); + mpi_free( nminus1 ); + mpi_free( q ); + mpi_free( a2 ); + + return rc; +} + + +/* Given ARRAY of size N with M elements set to true produce a + modified array with the next permutation of M elements. Note, that + ARRAY is used in a one-bit-per-byte approach. To detected the last + permutation it is useful to intialize the array with the first M + element set to true and use this test: + m_out_of_n (array, m, n); + for (i = j = 0; i < n && j < m; i++) + if (array[i]) + j++; + if (j == m) + goto ready; + + This code is based on the algorithm 452 from the "Collected + Algorithms From ACM, Volume II" by C. N. Liu and D. T. Tang. +*/ +static void +m_out_of_n ( char *array, int m, int n ) +{ + int i=0, i1=0, j=0, jp=0, j1=0, k1=0, k2=0; + + if( !m || m >= n ) + return; + + /* Need to handle this simple case separately. */ + if( m == 1 ) + { + for (i=0; i < n; i++ ) + { + if ( array[i] ) + { + array[i++] = 0; + if( i >= n ) + i = 0; + array[i] = 1; + return; + } + } + BUG(); + } + + + for (j=1; j < n; j++ ) + { + if ( array[n-1] == array[n-j-1]) + continue; + j1 = j; + break; + } + + if ( (m & 1) ) + { + /* M is odd. */ + if( array[n-1] ) + { + if( j1 & 1 ) + { + k1 = n - j1; + k2 = k1+2; + if( k2 > n ) + k2 = n; + goto leave; + } + goto scan; + } + k2 = n - j1 - 1; + if( k2 == 0 ) + { + k1 = i; + k2 = n - j1; + } + else if( array[k2] && array[k2-1] ) + k1 = n; + else + k1 = k2 + 1; + } + else + { + /* M is even. */ + if( !array[n-1] ) + { + k1 = n - j1; + k2 = k1 + 1; + goto leave; + } + + if( !(j1 & 1) ) + { + k1 = n - j1; + k2 = k1+2; + if( k2 > n ) + k2 = n; + goto leave; + } + scan: + jp = n - j1 - 1; + for (i=1; i <= jp; i++ ) + { + i1 = jp + 2 - i; + if( array[i1-1] ) + { + if( array[i1-2] ) + { + k1 = i1 - 1; + k2 = n - j1; + } + else + { + k1 = i1 - 1; + k2 = n + 1 - j1; + } + goto leave; + } + } + k1 = 1; + k2 = n + 1 - m; + } + leave: + /* Now complement the two selected bits. */ + array[k1-1] = !array[k1-1]; + array[k2-1] = !array[k2-1]; +} + + +/* Generate a new prime number of PRIME_BITS bits and store it in + PRIME. If FACTOR_BITS is non-zero, one of the prime factors of + (prime - 1) / 2 must be FACTOR_BITS bits long. If FACTORS is + non-zero, allocate a new, NULL-terminated array holding the prime + factors and store it in FACTORS. FLAGS might be used to influence + the prime number generation process. */ +gcry_error_t +gcry_prime_generate (gcry_mpi_t *prime, unsigned int prime_bits, + unsigned int factor_bits, gcry_mpi_t **factors, + gcry_prime_check_func_t cb_func, void *cb_arg, + gcry_random_level_t random_level, + unsigned int flags) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + gcry_mpi_t *factors_generated = NULL; + gcry_mpi_t prime_generated = NULL; + unsigned int mode = 0; + + if (!prime) + return gpg_error (GPG_ERR_INV_ARG); + *prime = NULL; + + if (flags & GCRY_PRIME_FLAG_SPECIAL_FACTOR) + mode = 1; + + /* Generate. */ + err = prime_generate_internal ((mode==1), &prime_generated, prime_bits, + factor_bits, NULL, + factors? &factors_generated : NULL, + random_level, flags, 1, + cb_func, cb_arg); + + if (! err) + if (cb_func) + { + /* Additional check. */ + if ( !cb_func (cb_arg, GCRY_PRIME_CHECK_AT_FINISH, prime_generated)) + { + /* Failed, deallocate resources. */ + unsigned int i; + + mpi_free (prime_generated); + if (factors) + { + for (i = 0; factors_generated[i]; i++) + mpi_free (factors_generated[i]); + gcry_free (factors_generated); + } + err = GPG_ERR_GENERAL; + } + } + + if (! err) + { + if (factors) + *factors = factors_generated; + *prime = prime_generated; + } + + return gcry_error (err); +} + +/* Check wether the number X is prime. */ +gcry_error_t +gcry_prime_check (gcry_mpi_t x, unsigned int flags) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + gcry_mpi_t val_2 = mpi_alloc_set_ui (2); /* Used by the Fermat test. */ + + (void)flags; + + /* We use 64 rounds because the prime we are going to test is not + guaranteed to be a random one. */ + if (! check_prime (x, val_2, 64, NULL, NULL)) + err = GPG_ERR_NO_PRIME; + + mpi_free (val_2); + + return gcry_error (err); +} + +/* Find a generator for PRIME where the factorization of (prime-1) is + in the NULL terminated array FACTORS. Return the generator as a + newly allocated MPI in R_G. If START_G is not NULL, use this as s + atart for the search. Returns 0 on success.*/ +gcry_error_t +gcry_prime_group_generator (gcry_mpi_t *r_g, + gcry_mpi_t prime, gcry_mpi_t *factors, + gcry_mpi_t start_g) +{ + gcry_mpi_t tmp = gcry_mpi_new (0); + gcry_mpi_t b = gcry_mpi_new (0); + gcry_mpi_t pmin1 = gcry_mpi_new (0); + gcry_mpi_t g = start_g? gcry_mpi_copy (start_g) : gcry_mpi_set_ui (NULL, 3); + int first = 1; + int i, n; + + if (!factors || !r_g || !prime) + return gpg_error (GPG_ERR_INV_ARG); + *r_g = NULL; + + for (n=0; factors[n]; n++) + ; + if (n < 2) + return gpg_error (GPG_ERR_INV_ARG); + + /* Extra sanity check - usually disabled. */ +/* mpi_set (tmp, factors[0]); */ +/* for(i = 1; i < n; i++) */ +/* mpi_mul (tmp, tmp, factors[i]); */ +/* mpi_add_ui (tmp, tmp, 1); */ +/* if (mpi_cmp (prime, tmp)) */ +/* return gpg_error (GPG_ERR_INV_ARG); */ + + gcry_mpi_sub_ui (pmin1, prime, 1); + do + { + if (first) + first = 0; + else + gcry_mpi_add_ui (g, g, 1); + + if (DBG_CIPHER) + { + log_debug ("checking g:"); + gcry_mpi_dump (g); + log_debug ("\n"); + } + else + progress('^'); + + for (i = 0; i < n; i++) + { + mpi_fdiv_q (tmp, pmin1, factors[i]); + gcry_mpi_powm (b, g, tmp, prime); + if (! mpi_cmp_ui (b, 1)) + break; + } + if (DBG_CIPHER) + progress('\n'); + } + while (i < n); + + gcry_mpi_release (tmp); + gcry_mpi_release (b); + gcry_mpi_release (pmin1); + *r_g = g; + + return 0; +} + +/* Convenience function to release the factors array. */ +void +gcry_prime_release_factors (gcry_mpi_t *factors) +{ + if (factors) + { + int i; + + for (i=0; factors[i]; i++) + mpi_free (factors[i]); + gcry_free (factors); + } +} + + + +/* Helper for _gcry_derive_x931_prime. */ +static gcry_mpi_t +find_x931_prime (const gcry_mpi_t pfirst) +{ + gcry_mpi_t val_2 = mpi_alloc_set_ui (2); + gcry_mpi_t prime; + + prime = gcry_mpi_copy (pfirst); + /* If P is even add 1. */ + mpi_set_bit (prime, 0); + + /* We use 64 Rabin-Miller rounds which is better and thus + sufficient. We do not have a Lucas test implementaion thus we + can't do it in the X9.31 preferred way of running a few + Rabin-Miller followed by one Lucas test. */ + while ( !check_prime (prime, val_2, 64, NULL, NULL) ) + mpi_add_ui (prime, prime, 2); + + mpi_free (val_2); + + return prime; +} + + +/* Generate a prime using the algorithm from X9.31 appendix B.4. + + This function requires that the provided public exponent E is odd. + XP, XP1 and XP2 are the seed values. All values are mandatory. + + On success the prime is returned. If R_P1 or R_P2 are given the + internal values P1 and P2 are saved at these addresses. On error + NULL is returned. */ +gcry_mpi_t +_gcry_derive_x931_prime (const gcry_mpi_t xp, + const gcry_mpi_t xp1, const gcry_mpi_t xp2, + const gcry_mpi_t e, + gcry_mpi_t *r_p1, gcry_mpi_t *r_p2) +{ + gcry_mpi_t p1, p2, p1p2, yp0; + + if (!xp || !xp1 || !xp2) + return NULL; + if (!e || !mpi_test_bit (e, 0)) + return NULL; /* We support only odd values for E. */ + + p1 = find_x931_prime (xp1); + p2 = find_x931_prime (xp2); + p1p2 = mpi_alloc_like (xp); + mpi_mul (p1p2, p1, p2); + + { + gcry_mpi_t r1, tmp; + + /* r1 = (p2^{-1} mod p1)p2 - (p1^{-1} mod p2) */ + tmp = mpi_alloc_like (p1); + mpi_invm (tmp, p2, p1); + mpi_mul (tmp, tmp, p2); + r1 = tmp; + + tmp = mpi_alloc_like (p2); + mpi_invm (tmp, p1, p2); + mpi_mul (tmp, tmp, p1); + mpi_sub (r1, r1, tmp); + + /* Fixup a negative value. */ + if (mpi_is_neg (r1)) + mpi_add (r1, r1, p1p2); + + /* yp0 = xp + (r1 - xp mod p1*p2) */ + yp0 = tmp; tmp = NULL; + mpi_subm (yp0, r1, xp, p1p2); + mpi_add (yp0, yp0, xp); + mpi_free (r1); + + /* Fixup a negative value. */ + if (mpi_cmp (yp0, xp) < 0 ) + mpi_add (yp0, yp0, p1p2); + } + + /* yp0 is now the first integer greater than xp with p1 being a + large prime factor of yp0-1 and p2 a large prime factor of yp0+1. */ + + /* Note that the first example from X9.31 (D.1.1) which uses + (Xq1 #1A5CF72EE770DE50CB09ACCEA9#) + (Xq2 #134E4CAA16D2350A21D775C404#) + (Xq #CC1092495D867E64065DEE3E7955F2EBC7D47A2D + 7C9953388F97DDDC3E1CA19C35CA659EDC2FC325 + 6D29C2627479C086A699A49C4C9CEE7EF7BD1B34 + 321DE34A#)))) + returns an yp0 of + #CC1092495D867E64065DEE3E7955F2EBC7D47A2D + 7C9953388F97DDDC3E1CA19C35CA659EDC2FC4E3 + BF20CB896EE37E098A906313271422162CB6C642 + 75C1201F# + and not + #CC1092495D867E64065DEE3E7955F2EBC7D47A2D + 7C9953388F97DDDC3E1CA19C35CA659EDC2FC2E6 + C88FE299D52D78BE405A97E01FD71DD7819ECB91 + FA85A076# + as stated in the standard. This seems to be a bug in X9.31. + */ + + { + gcry_mpi_t val_2 = mpi_alloc_set_ui (2); + gcry_mpi_t gcdtmp = mpi_alloc_like (yp0); + int gcdres; + + mpi_sub_ui (p1p2, p1p2, 1); /* Adjust for loop body. */ + mpi_sub_ui (yp0, yp0, 1); /* Ditto. */ + for (;;) + { + gcdres = gcry_mpi_gcd (gcdtmp, e, yp0); + mpi_add_ui (yp0, yp0, 1); + if (!gcdres) + progress ('/'); /* gcd (e, yp0-1) != 1 */ + else if (check_prime (yp0, val_2, 64, NULL, NULL)) + break; /* Found. */ + /* We add p1p2-1 because yp0 is incremented after the gcd test. */ + mpi_add (yp0, yp0, p1p2); + } + mpi_free (gcdtmp); + mpi_free (val_2); + } + + mpi_free (p1p2); + + progress('\n'); + if (r_p1) + *r_p1 = p1; + else + mpi_free (p1); + if (r_p2) + *r_p2 = p2; + else + mpi_free (p2); + return yp0; +} + + + +/* Generate the two prime used for DSA using the algorithm specified + in FIPS 186-2. PBITS is the desired length of the prime P and a + QBITS the length of the prime Q. If SEED is not supplied and + SEEDLEN is 0 the function generates an appropriate SEED. On + success the generated primes are stored at R_Q and R_P, the counter + value is stored at R_COUNTER and the seed actually used for + generation is stored at R_SEED and R_SEEDVALUE. */ +gpg_err_code_t +_gcry_generate_fips186_2_prime (unsigned int pbits, unsigned int qbits, + const void *seed, size_t seedlen, + gcry_mpi_t *r_q, gcry_mpi_t *r_p, + int *r_counter, + void **r_seed, size_t *r_seedlen) +{ + gpg_err_code_t ec; + unsigned char seed_help_buffer[160/8]; /* Used to hold a generated SEED. */ + unsigned char *seed_plus; /* Malloced buffer to hold SEED+x. */ + unsigned char digest[160/8]; /* Helper buffer for SHA-1 digest. */ + gcry_mpi_t val_2 = NULL; /* Helper for the prime test. */ + gcry_mpi_t tmpval = NULL; /* Helper variable. */ + int i; + + unsigned char value_u[160/8]; + int value_n, value_b, value_k; + int counter; + gcry_mpi_t value_w = NULL; + gcry_mpi_t value_x = NULL; + gcry_mpi_t prime_q = NULL; + gcry_mpi_t prime_p = NULL; + + /* FIPS 186-2 allows only for 1024/160 bit. */ + if (pbits != 1024 || qbits != 160) + return GPG_ERR_INV_KEYLEN; + + if (!seed && !seedlen) + ; /* No seed value given: We are asked to generate it. */ + else if (!seed || seedlen < qbits/8) + return GPG_ERR_INV_ARG; + + /* Allocate a buffer to later compute SEED+some_increment. */ + seed_plus = gcry_malloc (seedlen < 20? 20:seedlen); + if (!seed_plus) + { + ec = gpg_err_code_from_syserror (); + goto leave; + } + + val_2 = mpi_alloc_set_ui (2); + value_n = (pbits - 1) / qbits; + value_b = (pbits - 1) - value_n * qbits; + value_w = gcry_mpi_new (pbits); + value_x = gcry_mpi_new (pbits); + + restart: + /* Generate Q. */ + for (;;) + { + /* Step 1: Generate a (new) seed unless one has been supplied. */ + if (!seed) + { + seedlen = sizeof seed_help_buffer; + gcry_create_nonce (seed_help_buffer, seedlen); + seed = seed_help_buffer; + } + + /* Step 2: U = sha1(seed) ^ sha1((seed+1) mod 2^{qbits}) */ + memcpy (seed_plus, seed, seedlen); + for (i=seedlen-1; i >= 0; i--) + { + seed_plus[i]++; + if (seed_plus[i]) + break; + } + gcry_md_hash_buffer (GCRY_MD_SHA1, value_u, seed, seedlen); + gcry_md_hash_buffer (GCRY_MD_SHA1, digest, seed_plus, seedlen); + for (i=0; i < sizeof value_u; i++) + value_u[i] ^= digest[i]; + + /* Step 3: Form q from U */ + gcry_mpi_release (prime_q); prime_q = NULL; + ec = gpg_err_code (gcry_mpi_scan (&prime_q, GCRYMPI_FMT_USG, + value_u, sizeof value_u, NULL)); + if (ec) + goto leave; + mpi_set_highbit (prime_q, qbits-1 ); + mpi_set_bit (prime_q, 0); + + /* Step 4: Test whether Q is prime using 64 round of Rabin-Miller. */ + if (check_prime (prime_q, val_2, 64, NULL, NULL)) + break; /* Yes, Q is prime. */ + + /* Step 5. */ + seed = NULL; /* Force a new seed at Step 1. */ + } + + /* Step 6. Note that we do no use an explicit offset but increment + SEED_PLUS accordingly. SEED_PLUS is currently SEED+1. */ + counter = 0; + + /* Generate P. */ + prime_p = gcry_mpi_new (pbits); + for (;;) + { + /* Step 7: For k = 0,...n let + V_k = sha1(seed+offset+k) mod 2^{qbits} + Step 8: W = V_0 + V_1*2^160 + + ... + + V_{n-1}*2^{(n-1)*160} + + (V_{n} mod 2^b)*2^{n*160} + */ + mpi_set_ui (value_w, 0); + for (value_k=0; value_k <= value_n; value_k++) + { + /* There is no need to have an explicit offset variable: In + the first round we shall have an offset of 2, this is + achieved by using SEED_PLUS which is already at SEED+1, + thus we just need to increment it once again. The + requirement for the next round is to update offset by N, + which we implictly did at the end of this loop, and then + to add one; this one is the same as in the first round. */ + for (i=seedlen-1; i >= 0; i--) + { + seed_plus[i]++; + if (seed_plus[i]) + break; + } + gcry_md_hash_buffer (GCRY_MD_SHA1, digest, seed_plus, seedlen); + + gcry_mpi_release (tmpval); tmpval = NULL; + ec = gpg_err_code (gcry_mpi_scan (&tmpval, GCRYMPI_FMT_USG, + digest, sizeof digest, NULL)); + if (ec) + goto leave; + if (value_k == value_n) + mpi_clear_highbit (tmpval, value_b); /* (V_n mod 2^b) */ + mpi_lshift (tmpval, tmpval, value_k*qbits); + mpi_add (value_w, value_w, tmpval); + } + + /* Step 8 continued: X = W + 2^{L-1} */ + mpi_set_ui (value_x, 0); + mpi_set_highbit (value_x, pbits-1); + mpi_add (value_x, value_x, value_w); + + /* Step 9: c = X mod 2q, p = X - (c - 1) */ + mpi_mul_2exp (tmpval, prime_q, 1); + mpi_mod (tmpval, value_x, tmpval); + mpi_sub_ui (tmpval, tmpval, 1); + mpi_sub (prime_p, value_x, tmpval); + + /* Step 10: If p < 2^{L-1} skip the primality test. */ + /* Step 11 and 12: Primality test. */ + if (mpi_get_nbits (prime_p) >= pbits-1 + && check_prime (prime_p, val_2, 64, NULL, NULL) ) + break; /* Yes, P is prime, continue with Step 15. */ + + /* Step 13: counter = counter + 1, offset = offset + n + 1. */ + counter++; + + /* Step 14: If counter >= 2^12 goto Step 1. */ + if (counter >= 4096) + goto restart; + } + + /* Step 15: Save p, q, counter and seed. */ +/* log_debug ("fips186-2 pbits p=%u q=%u counter=%d\n", */ +/* mpi_get_nbits (prime_p), mpi_get_nbits (prime_q), counter); */ +/* log_printhex("fips186-2 seed:", seed, seedlen); */ +/* log_mpidump ("fips186-2 prime p", prime_p); */ +/* log_mpidump ("fips186-2 prime q", prime_q); */ + if (r_q) + { + *r_q = prime_q; + prime_q = NULL; + } + if (r_p) + { + *r_p = prime_p; + prime_p = NULL; + } + if (r_counter) + *r_counter = counter; + if (r_seed && r_seedlen) + { + memcpy (seed_plus, seed, seedlen); + *r_seed = seed_plus; + seed_plus = NULL; + *r_seedlen = seedlen; + } + + + leave: + gcry_mpi_release (tmpval); + gcry_mpi_release (value_x); + gcry_mpi_release (value_w); + gcry_mpi_release (prime_p); + gcry_mpi_release (prime_q); + gcry_free (seed_plus); + gcry_mpi_release (val_2); + return ec; +} + + + +/* WARNING: The code below has not yet been tested! However, it is + not yet used. We need to wait for FIPS 186-3 final and for test + vectors. + + Generate the two prime used for DSA using the algorithm specified + in FIPS 186-3, A.1.1.2. PBITS is the desired length of the prime P + and a QBITS the length of the prime Q. If SEED is not supplied and + SEEDLEN is 0 the function generates an appropriate SEED. On + success the generated primes are stored at R_Q and R_P, the counter + value is stored at R_COUNTER and the seed actually used for + generation is stored at R_SEED and R_SEEDVALUE. The hash algorithm + used is stored at R_HASHALGO. + + Note that this function is very similar to the fips186_2 code. Due + to the minor differences, other buffer sizes and for documentarion, + we use a separate function. +*/ +gpg_err_code_t +_gcry_generate_fips186_3_prime (unsigned int pbits, unsigned int qbits, + const void *seed, size_t seedlen, + gcry_mpi_t *r_q, gcry_mpi_t *r_p, + int *r_counter, + void **r_seed, size_t *r_seedlen, + int *r_hashalgo) +{ + gpg_err_code_t ec; + unsigned char seed_help_buffer[256/8]; /* Used to hold a generated SEED. */ + unsigned char *seed_plus; /* Malloced buffer to hold SEED+x. */ + unsigned char digest[256/8]; /* Helper buffer for SHA-1 digest. */ + gcry_mpi_t val_2 = NULL; /* Helper for the prime test. */ + gcry_mpi_t tmpval = NULL; /* Helper variable. */ + int hashalgo; /* The id of the Approved Hash Function. */ + int i; + + unsigned char value_u[256/8]; + int value_n, value_b, value_j; + int counter; + gcry_mpi_t value_w = NULL; + gcry_mpi_t value_x = NULL; + gcry_mpi_t prime_q = NULL; + gcry_mpi_t prime_p = NULL; + + gcry_assert (sizeof seed_help_buffer == sizeof digest + && sizeof seed_help_buffer == sizeof value_u); + + /* Step 1: Check the requested prime lengths. */ + /* Note that due to the size of our buffers QBITS is limited to 256. */ + if (pbits == 1024 && qbits == 160) + hashalgo = GCRY_MD_SHA1; + else if (pbits == 2048 && qbits == 224) + hashalgo = GCRY_MD_SHA224; + else if (pbits == 2048 && qbits == 256) + hashalgo = GCRY_MD_SHA256; + else if (pbits == 3072 && qbits == 256) + hashalgo = GCRY_MD_SHA256; + else + return GPG_ERR_INV_KEYLEN; + + /* Also check that the hash algorithm is available. */ + ec = gpg_err_code (gcry_md_test_algo (hashalgo)); + if (ec) + return ec; + gcry_assert (qbits/8 <= sizeof digest); + gcry_assert (gcry_md_get_algo_dlen (hashalgo) == qbits/8); + + + /* Step 2: Check seedlen. */ + if (!seed && !seedlen) + ; /* No seed value given: We are asked to generate it. */ + else if (!seed || seedlen < qbits/8) + return GPG_ERR_INV_ARG; + + /* Allocate a buffer to later compute SEED+some_increment and a few + helper variables. */ + seed_plus = gcry_malloc (seedlen < sizeof seed_help_buffer? + sizeof seed_help_buffer : seedlen); + if (!seed_plus) + { + ec = gpg_err_code_from_syserror (); + goto leave; + } + val_2 = mpi_alloc_set_ui (2); + value_w = gcry_mpi_new (pbits); + value_x = gcry_mpi_new (pbits); + + /* Step 3: n = \lceil L / outlen \rceil - 1 */ + value_n = (pbits + qbits - 1) / qbits - 1; + /* Step 4: b = L - 1 - (n * outlen) */ + value_b = pbits - 1 - (value_n * qbits); + + restart: + /* Generate Q. */ + for (;;) + { + /* Step 5: Generate a (new) seed unless one has been supplied. */ + if (!seed) + { + seedlen = qbits/8; + gcry_assert (seedlen <= sizeof seed_help_buffer); + gcry_create_nonce (seed_help_buffer, seedlen); + seed = seed_help_buffer; + } + + /* Step 6: U = hash(seed) */ + gcry_md_hash_buffer (hashalgo, value_u, seed, seedlen); + + /* Step 7: q = 2^{N-1} + U + 1 - (U mod 2) */ + if ( !(value_u[qbits/8-1] & 0x01) ) + { + for (i=qbits/8-1; i >= 0; i--) + { + value_u[i]++; + if (value_u[i]) + break; + } + } + gcry_mpi_release (prime_q); prime_q = NULL; + ec = gpg_err_code (gcry_mpi_scan (&prime_q, GCRYMPI_FMT_USG, + value_u, sizeof value_u, NULL)); + if (ec) + goto leave; + mpi_set_highbit (prime_q, qbits-1 ); + + /* Step 8: Test whether Q is prime using 64 round of Rabin-Miller. + According to table C.1 this is sufficient for all + supported prime sizes (i.e. up 3072/256). */ + if (check_prime (prime_q, val_2, 64, NULL, NULL)) + break; /* Yes, Q is prime. */ + + /* Step 8. */ + seed = NULL; /* Force a new seed at Step 5. */ + } + + /* Step 11. Note that we do no use an explicit offset but increment + SEED_PLUS accordingly. */ + memcpy (seed_plus, seed, seedlen); + counter = 0; + + /* Generate P. */ + prime_p = gcry_mpi_new (pbits); + for (;;) + { + /* Step 11.1: For j = 0,...n let + V_j = hash(seed+offset+j) + Step 11.2: W = V_0 + V_1*2^outlen + + ... + + V_{n-1}*2^{(n-1)*outlen} + + (V_{n} mod 2^b)*2^{n*outlen} + */ + mpi_set_ui (value_w, 0); + for (value_j=0; value_j <= value_n; value_j++) + { + /* There is no need to have an explicit offset variable: In + the first round we shall have an offset of 1 and a j of + 0. This is achieved by incrementing SEED_PLUS here. For + the next round offset is implicitly updated by using + SEED_PLUS again. */ + for (i=seedlen-1; i >= 0; i--) + { + seed_plus[i]++; + if (seed_plus[i]) + break; + } + gcry_md_hash_buffer (GCRY_MD_SHA1, digest, seed_plus, seedlen); + + gcry_mpi_release (tmpval); tmpval = NULL; + ec = gpg_err_code (gcry_mpi_scan (&tmpval, GCRYMPI_FMT_USG, + digest, sizeof digest, NULL)); + if (ec) + goto leave; + if (value_j == value_n) + mpi_clear_highbit (tmpval, value_b); /* (V_n mod 2^b) */ + mpi_lshift (tmpval, tmpval, value_j*qbits); + mpi_add (value_w, value_w, tmpval); + } + + /* Step 11.3: X = W + 2^{L-1} */ + mpi_set_ui (value_x, 0); + mpi_set_highbit (value_x, pbits-1); + mpi_add (value_x, value_x, value_w); + + /* Step 11.4: c = X mod 2q */ + mpi_mul_2exp (tmpval, prime_q, 1); + mpi_mod (tmpval, value_x, tmpval); + + /* Step 11.5: p = X - (c - 1) */ + mpi_sub_ui (tmpval, tmpval, 1); + mpi_sub (prime_p, value_x, tmpval); + + /* Step 11.6: If p < 2^{L-1} skip the primality test. */ + /* Step 11.7 and 11.8: Primality test. */ + if (mpi_get_nbits (prime_p) >= pbits-1 + && check_prime (prime_p, val_2, 64, NULL, NULL) ) + break; /* Yes, P is prime, continue with Step 15. */ + + /* Step 11.9: counter = counter + 1, offset = offset + n + 1. + If counter >= 4L goto Step 5. */ + counter++; + if (counter >= 4*pbits) + goto restart; + } + + /* Step 12: Save p, q, counter and seed. */ + log_debug ("fips186-3 pbits p=%u q=%u counter=%d\n", + mpi_get_nbits (prime_p), mpi_get_nbits (prime_q), counter); + log_printhex("fips186-3 seed:", seed, seedlen); + log_mpidump ("fips186-3 prime p", prime_p); + log_mpidump ("fips186-3 prime q", prime_q); + if (r_q) + { + *r_q = prime_q; + prime_q = NULL; + } + if (r_p) + { + *r_p = prime_p; + prime_p = NULL; + } + if (r_counter) + *r_counter = counter; + if (r_seed && r_seedlen) + { + memcpy (seed_plus, seed, seedlen); + *r_seed = seed_plus; + seed_plus = NULL; + *r_seedlen = seedlen; + } + if (r_hashalgo) + *r_hashalgo = hashalgo; + + leave: + gcry_mpi_release (tmpval); + gcry_mpi_release (value_x); + gcry_mpi_release (value_w); + gcry_mpi_release (prime_p); + gcry_mpi_release (prime_q); + gcry_free (seed_plus); + gcry_mpi_release (val_2); + return ec; +} + diff --git a/grub-core/lib/libgcrypt-grub/cipher/rfc2268.c b/grub-core/lib/libgcrypt-grub/cipher/rfc2268.c new file mode 100644 index 0000000..f6c2679 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/rfc2268.c @@ -0,0 +1,282 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* rfc2268.c - The cipher described in rfc2268; aka Ron's Cipher 2. + * Copyright (C) 2003 Nikos Mavroyanopoulos + * Copyright (C) 2004 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +/* This implementation was written by Nikos Mavroyanopoulos for GNUTLS + * as a Libgcrypt module (gnutls/lib/x509/rc2.c) and later adapted for + * direct use by Libgcrypt by Werner Koch. This implementation is + * only useful for pkcs#12 descryption. + * + * The implementation here is based on Peter Gutmann's RRC.2 paper. + */ + + +#include "g10lib.h" +#include "types.h" +#include "cipher.h" + +#define RFC2268_BLOCKSIZE 8 + +typedef struct +{ + u16 S[64]; +} RFC2268_context; + +static const unsigned char rfc2268_sbox[] = { + 217, 120, 249, 196, 25, 221, 181, 237, + 40, 233, 253, 121, 74, 160, 216, 157, + 198, 126, 55, 131, 43, 118, 83, 142, + 98, 76, 100, 136, 68, 139, 251, 162, + 23, 154, 89, 245, 135, 179, 79, 19, + 97, 69, 109, 141, 9, 129, 125, 50, + 189, 143, 64, 235, 134, 183, 123, 11, + 240, 149, 33, 34, 92, 107, 78, 130, + 84, 214, 101, 147, 206, 96, 178, 28, + 115, 86, 192, 20, 167, 140, 241, 220, + 18, 117, 202, 31, 59, 190, 228, 209, + 66, 61, 212, 48, 163, 60, 182, 38, + 111, 191, 14, 218, 70, 105, 7, 87, + 39, 242, 29, 155, 188, 148, 67, 3, + 248, 17, 199, 246, 144, 239, 62, 231, + 6, 195, 213, 47, 200, 102, 30, 215, + 8, 232, 234, 222, 128, 82, 238, 247, + 132, 170, 114, 172, 53, 77, 106, 42, + 150, 26, 210, 113, 90, 21, 73, 116, + 75, 159, 208, 94, 4, 24, 164, 236, + 194, 224, 65, 110, 15, 81, 203, 204, + 36, 145, 175, 80, 161, 244, 112, 57, + 153, 124, 58, 133, 35, 184, 180, 122, + 252, 2, 54, 91, 37, 85, 151, 49, + 45, 93, 250, 152, 227, 138, 146, 174, + 5, 223, 41, 16, 103, 108, 186, 201, + 211, 0, 230, 207, 225, 158, 168, 44, + 99, 22, 1, 63, 88, 226, 137, 169, + 13, 56, 52, 27, 171, 51, 255, 176, + 187, 72, 12, 95, 185, 177, 205, 46, + 197, 243, 219, 71, 229, 165, 156, 119, + 10, 166, 32, 104, 254, 127, 193, 173 +}; + +#define rotl16(x,n) (((x) << ((u16)(n))) | ((x) >> (16 - (u16)(n)))) +#define rotr16(x,n) (((x) >> ((u16)(n))) | ((x) << (16 - (u16)(n)))) + + + +static void +do_encrypt (void *context, unsigned char *outbuf, const unsigned char *inbuf) +{ + RFC2268_context *ctx = context; + register int i, j; + u16 word0 = 0, word1 = 0, word2 = 0, word3 = 0; + + word0 = (word0 << 8) | inbuf[1]; + word0 = (word0 << 8) | inbuf[0]; + word1 = (word1 << 8) | inbuf[3]; + word1 = (word1 << 8) | inbuf[2]; + word2 = (word2 << 8) | inbuf[5]; + word2 = (word2 << 8) | inbuf[4]; + word3 = (word3 << 8) | inbuf[7]; + word3 = (word3 << 8) | inbuf[6]; + + for (i = 0; i < 16; i++) + { + j = i * 4; + /* For some reason I cannot combine those steps. */ + word0 += (word1 & ~word3) + (word2 & word3) + ctx->S[j]; + word0 = rotl16(word0, 1); + + word1 += (word2 & ~word0) + (word3 & word0) + ctx->S[j + 1]; + word1 = rotl16(word1, 2); + + word2 += (word3 & ~word1) + (word0 & word1) + ctx->S[j + 2]; + word2 = rotl16(word2, 3); + + word3 += (word0 & ~word2) + (word1 & word2) + ctx->S[j + 3]; + word3 = rotl16(word3, 5); + + if (i == 4 || i == 10) + { + word0 += ctx->S[word3 & 63]; + word1 += ctx->S[word0 & 63]; + word2 += ctx->S[word1 & 63]; + word3 += ctx->S[word2 & 63]; + } + + } + + outbuf[0] = word0 & 255; + outbuf[1] = word0 >> 8; + outbuf[2] = word1 & 255; + outbuf[3] = word1 >> 8; + outbuf[4] = word2 & 255; + outbuf[5] = word2 >> 8; + outbuf[6] = word3 & 255; + outbuf[7] = word3 >> 8; +} + +static void +do_decrypt (void *context, unsigned char *outbuf, const unsigned char *inbuf) +{ + RFC2268_context *ctx = context; + register int i, j; + u16 word0 = 0, word1 = 0, word2 = 0, word3 = 0; + + word0 = (word0 << 8) | inbuf[1]; + word0 = (word0 << 8) | inbuf[0]; + word1 = (word1 << 8) | inbuf[3]; + word1 = (word1 << 8) | inbuf[2]; + word2 = (word2 << 8) | inbuf[5]; + word2 = (word2 << 8) | inbuf[4]; + word3 = (word3 << 8) | inbuf[7]; + word3 = (word3 << 8) | inbuf[6]; + + for (i = 15; i >= 0; i--) + { + j = i * 4; + + word3 = rotr16(word3, 5); + word3 -= (word0 & ~word2) + (word1 & word2) + ctx->S[j + 3]; + + word2 = rotr16(word2, 3); + word2 -= (word3 & ~word1) + (word0 & word1) + ctx->S[j + 2]; + + word1 = rotr16(word1, 2); + word1 -= (word2 & ~word0) + (word3 & word0) + ctx->S[j + 1]; + + word0 = rotr16(word0, 1); + word0 -= (word1 & ~word3) + (word2 & word3) + ctx->S[j]; + + if (i == 5 || i == 11) + { + word3 = word3 - ctx->S[word2 & 63]; + word2 = word2 - ctx->S[word1 & 63]; + word1 = word1 - ctx->S[word0 & 63]; + word0 = word0 - ctx->S[word3 & 63]; + } + + } + + outbuf[0] = word0 & 255; + outbuf[1] = word0 >> 8; + outbuf[2] = word1 & 255; + outbuf[3] = word1 >> 8; + outbuf[4] = word2 & 255; + outbuf[5] = word2 >> 8; + outbuf[6] = word3 & 255; + outbuf[7] = word3 >> 8; +} + + +static gpg_err_code_t +setkey_core (void *context, const unsigned char *key, unsigned int keylen, int with_phase2) +{ + static int initialized; + static const char *selftest_failed; + RFC2268_context *ctx = context; + unsigned int i; + unsigned char *S, x; + int len; + int bits = keylen * 8; + + if (!initialized) + { + initialized = 1; + selftest_failed = selftest (); + if (selftest_failed) + log_error ("RFC2268 selftest failed (%s).\n", selftest_failed); + } + if (selftest_failed) + return GPG_ERR_SELFTEST_FAILED; + + if (keylen < 40 / 8) /* We want at least 40 bits. */ + return GPG_ERR_INV_KEYLEN; + + S = (unsigned char *) ctx->S; + + for (i = 0; i < keylen; i++) + S[i] = key[i]; + + for (i = keylen; i < 128; i++) + S[i] = rfc2268_sbox[(S[i - keylen] + S[i - 1]) & 255]; + + S[0] = rfc2268_sbox[S[0]]; + + /* Phase 2 - reduce effective key size to "bits". This was not + * discussed in Gutmann's paper. I've copied that from the public + * domain code posted in sci.crypt. */ + if (with_phase2) + { + len = (bits + 7) >> 3; + i = 128 - len; + x = rfc2268_sbox[S[i] & (255 >> (7 & -bits))]; + S[i] = x; + + while (i--) + { + x = rfc2268_sbox[x ^ S[i + len]]; + S[i] = x; + } + } + + /* Make the expanded key, endian independent. */ + for (i = 0; i < 64; i++) + ctx->S[i] = ( (u16) S[i * 2] | (((u16) S[i * 2 + 1]) << 8)); + + return 0; +} + +static gpg_err_code_t +do_setkey (void *context, const unsigned char *key, unsigned int keylen) +{ + return setkey_core (context, key, keylen, 1); +} + + + + +static gcry_cipher_oid_spec_t oids_rfc2268_40[] = + { + /*{ "1.2.840.113549.3.2", GCRY_CIPHER_MODE_CBC },*/ + /* pbeWithSHAAnd40BitRC2_CBC */ + { "1.2.840.113549.1.12.1.6", GCRY_CIPHER_MODE_CBC }, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_rfc2268_40 = { + "RFC2268_40", NULL, oids_rfc2268_40, + RFC2268_BLOCKSIZE, 40, sizeof(RFC2268_context), + do_setkey, do_encrypt, do_decrypt +}; + + + +GRUB_MOD_INIT(gcry_rfc2268) +{ + grub_cipher_register (&_gcry_cipher_spec_rfc2268_40); +} + +GRUB_MOD_FINI(gcry_rfc2268) +{ + grub_cipher_unregister (&_gcry_cipher_spec_rfc2268_40); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/rijndael-tables.h b/grub-core/lib/libgcrypt-grub/cipher/rijndael-tables.h new file mode 100644 index 0000000..b027ec6 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/rijndael-tables.h @@ -0,0 +1,1690 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +/* rijndael-tables.h - Rijndael (AES) for GnuPG, + * Copyright (C) 2000, 2001, 2002, 2003, 2007, + * 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + +/* To keep the actual implementation at a readable size we use this + include file to define the tables. */ + +static const unsigned char S[256] = + { + 99, 124, 119, 123, 242, 107, 111, 197, + 48, 1, 103, 43, 254, 215, 171, 118, + 202, 130, 201, 125, 250, 89, 71, 240, + 173, 212, 162, 175, 156, 164, 114, 192, + 183, 253, 147, 38, 54, 63, 247, 204, + 52, 165, 229, 241, 113, 216, 49, 21, + 4, 199, 35, 195, 24, 150, 5, 154, + 7, 18, 128, 226, 235, 39, 178, 117, + 9, 131, 44, 26, 27, 110, 90, 160, + 82, 59, 214, 179, 41, 227, 47, 132, + 83, 209, 0, 237, 32, 252, 177, 91, + 106, 203, 190, 57, 74, 76, 88, 207, + 208, 239, 170, 251, 67, 77, 51, 133, + 69, 249, 2, 127, 80, 60, 159, 168, + 81, 163, 64, 143, 146, 157, 56, 245, + 188, 182, 218, 33, 16, 255, 243, 210, + 205, 12, 19, 236, 95, 151, 68, 23, + 196, 167, 126, 61, 100, 93, 25, 115, + 96, 129, 79, 220, 34, 42, 144, 136, + 70, 238, 184, 20, 222, 94, 11, 219, + 224, 50, 58, 10, 73, 6, 36, 92, + 194, 211, 172, 98, 145, 149, 228, 121, + 231, 200, 55, 109, 141, 213, 78, 169, + 108, 86, 244, 234, 101, 122, 174, 8, + 186, 120, 37, 46, 28, 166, 180, 198, + 232, 221, 116, 31, 75, 189, 139, 138, + 112, 62, 181, 102, 72, 3, 246, 14, + 97, 53, 87, 185, 134, 193, 29, 158, + 225, 248, 152, 17, 105, 217, 142, 148, + 155, 30, 135, 233, 206, 85, 40, 223, + 140, 161, 137, 13, 191, 230, 66, 104, + 65, 153, 45, 15, 176, 84, 187, 22 + }; + + +static const unsigned char T1[256][4] = + { + { 0xc6,0x63,0x63,0xa5 }, { 0xf8,0x7c,0x7c,0x84 }, + { 0xee,0x77,0x77,0x99 }, { 0xf6,0x7b,0x7b,0x8d }, + { 0xff,0xf2,0xf2,0x0d }, { 0xd6,0x6b,0x6b,0xbd }, + { 0xde,0x6f,0x6f,0xb1 }, { 0x91,0xc5,0xc5,0x54 }, + { 0x60,0x30,0x30,0x50 }, { 0x02,0x01,0x01,0x03 }, + { 0xce,0x67,0x67,0xa9 }, { 0x56,0x2b,0x2b,0x7d }, + { 0xe7,0xfe,0xfe,0x19 }, { 0xb5,0xd7,0xd7,0x62 }, + { 0x4d,0xab,0xab,0xe6 }, { 0xec,0x76,0x76,0x9a }, + { 0x8f,0xca,0xca,0x45 }, { 0x1f,0x82,0x82,0x9d }, + { 0x89,0xc9,0xc9,0x40 }, { 0xfa,0x7d,0x7d,0x87 }, + { 0xef,0xfa,0xfa,0x15 }, { 0xb2,0x59,0x59,0xeb }, + { 0x8e,0x47,0x47,0xc9 }, { 0xfb,0xf0,0xf0,0x0b }, + { 0x41,0xad,0xad,0xec }, { 0xb3,0xd4,0xd4,0x67 }, + { 0x5f,0xa2,0xa2,0xfd }, { 0x45,0xaf,0xaf,0xea }, + { 0x23,0x9c,0x9c,0xbf }, { 0x53,0xa4,0xa4,0xf7 }, + { 0xe4,0x72,0x72,0x96 }, { 0x9b,0xc0,0xc0,0x5b }, + { 0x75,0xb7,0xb7,0xc2 }, { 0xe1,0xfd,0xfd,0x1c }, + { 0x3d,0x93,0x93,0xae }, { 0x4c,0x26,0x26,0x6a }, + { 0x6c,0x36,0x36,0x5a }, { 0x7e,0x3f,0x3f,0x41 }, + { 0xf5,0xf7,0xf7,0x02 }, { 0x83,0xcc,0xcc,0x4f }, + { 0x68,0x34,0x34,0x5c }, { 0x51,0xa5,0xa5,0xf4 }, + { 0xd1,0xe5,0xe5,0x34 }, { 0xf9,0xf1,0xf1,0x08 }, + { 0xe2,0x71,0x71,0x93 }, { 0xab,0xd8,0xd8,0x73 }, + { 0x62,0x31,0x31,0x53 }, { 0x2a,0x15,0x15,0x3f }, + { 0x08,0x04,0x04,0x0c }, { 0x95,0xc7,0xc7,0x52 }, + { 0x46,0x23,0x23,0x65 }, { 0x9d,0xc3,0xc3,0x5e }, + { 0x30,0x18,0x18,0x28 }, { 0x37,0x96,0x96,0xa1 }, + { 0x0a,0x05,0x05,0x0f }, { 0x2f,0x9a,0x9a,0xb5 }, + { 0x0e,0x07,0x07,0x09 }, { 0x24,0x12,0x12,0x36 }, + { 0x1b,0x80,0x80,0x9b }, { 0xdf,0xe2,0xe2,0x3d }, + { 0xcd,0xeb,0xeb,0x26 }, { 0x4e,0x27,0x27,0x69 }, + { 0x7f,0xb2,0xb2,0xcd }, { 0xea,0x75,0x75,0x9f }, + { 0x12,0x09,0x09,0x1b }, { 0x1d,0x83,0x83,0x9e }, + { 0x58,0x2c,0x2c,0x74 }, { 0x34,0x1a,0x1a,0x2e }, + { 0x36,0x1b,0x1b,0x2d }, { 0xdc,0x6e,0x6e,0xb2 }, + { 0xb4,0x5a,0x5a,0xee }, { 0x5b,0xa0,0xa0,0xfb }, + { 0xa4,0x52,0x52,0xf6 }, { 0x76,0x3b,0x3b,0x4d }, + { 0xb7,0xd6,0xd6,0x61 }, { 0x7d,0xb3,0xb3,0xce }, + { 0x52,0x29,0x29,0x7b }, { 0xdd,0xe3,0xe3,0x3e }, + { 0x5e,0x2f,0x2f,0x71 }, { 0x13,0x84,0x84,0x97 }, + { 0xa6,0x53,0x53,0xf5 }, { 0xb9,0xd1,0xd1,0x68 }, + { 0x00,0x00,0x00,0x00 }, { 0xc1,0xed,0xed,0x2c }, + { 0x40,0x20,0x20,0x60 }, { 0xe3,0xfc,0xfc,0x1f }, + { 0x79,0xb1,0xb1,0xc8 }, { 0xb6,0x5b,0x5b,0xed }, + { 0xd4,0x6a,0x6a,0xbe }, { 0x8d,0xcb,0xcb,0x46 }, + { 0x67,0xbe,0xbe,0xd9 }, { 0x72,0x39,0x39,0x4b }, + { 0x94,0x4a,0x4a,0xde }, { 0x98,0x4c,0x4c,0xd4 }, + { 0xb0,0x58,0x58,0xe8 }, { 0x85,0xcf,0xcf,0x4a }, + { 0xbb,0xd0,0xd0,0x6b }, { 0xc5,0xef,0xef,0x2a }, + { 0x4f,0xaa,0xaa,0xe5 }, { 0xed,0xfb,0xfb,0x16 }, + { 0x86,0x43,0x43,0xc5 }, { 0x9a,0x4d,0x4d,0xd7 }, + { 0x66,0x33,0x33,0x55 }, { 0x11,0x85,0x85,0x94 }, + { 0x8a,0x45,0x45,0xcf }, { 0xe9,0xf9,0xf9,0x10 }, + { 0x04,0x02,0x02,0x06 }, { 0xfe,0x7f,0x7f,0x81 }, + { 0xa0,0x50,0x50,0xf0 }, { 0x78,0x3c,0x3c,0x44 }, + { 0x25,0x9f,0x9f,0xba }, { 0x4b,0xa8,0xa8,0xe3 }, + { 0xa2,0x51,0x51,0xf3 }, { 0x5d,0xa3,0xa3,0xfe }, + { 0x80,0x40,0x40,0xc0 }, { 0x05,0x8f,0x8f,0x8a }, + { 0x3f,0x92,0x92,0xad }, { 0x21,0x9d,0x9d,0xbc }, + { 0x70,0x38,0x38,0x48 }, { 0xf1,0xf5,0xf5,0x04 }, + { 0x63,0xbc,0xbc,0xdf }, { 0x77,0xb6,0xb6,0xc1 }, + { 0xaf,0xda,0xda,0x75 }, { 0x42,0x21,0x21,0x63 }, + { 0x20,0x10,0x10,0x30 }, { 0xe5,0xff,0xff,0x1a }, + { 0xfd,0xf3,0xf3,0x0e }, { 0xbf,0xd2,0xd2,0x6d }, + { 0x81,0xcd,0xcd,0x4c }, { 0x18,0x0c,0x0c,0x14 }, + { 0x26,0x13,0x13,0x35 }, { 0xc3,0xec,0xec,0x2f }, + { 0xbe,0x5f,0x5f,0xe1 }, { 0x35,0x97,0x97,0xa2 }, + { 0x88,0x44,0x44,0xcc }, { 0x2e,0x17,0x17,0x39 }, + { 0x93,0xc4,0xc4,0x57 }, { 0x55,0xa7,0xa7,0xf2 }, + { 0xfc,0x7e,0x7e,0x82 }, { 0x7a,0x3d,0x3d,0x47 }, + { 0xc8,0x64,0x64,0xac }, { 0xba,0x5d,0x5d,0xe7 }, + { 0x32,0x19,0x19,0x2b }, { 0xe6,0x73,0x73,0x95 }, + { 0xc0,0x60,0x60,0xa0 }, { 0x19,0x81,0x81,0x98 }, + { 0x9e,0x4f,0x4f,0xd1 }, { 0xa3,0xdc,0xdc,0x7f }, + { 0x44,0x22,0x22,0x66 }, { 0x54,0x2a,0x2a,0x7e }, + { 0x3b,0x90,0x90,0xab }, { 0x0b,0x88,0x88,0x83 }, + { 0x8c,0x46,0x46,0xca }, { 0xc7,0xee,0xee,0x29 }, + { 0x6b,0xb8,0xb8,0xd3 }, { 0x28,0x14,0x14,0x3c }, + { 0xa7,0xde,0xde,0x79 }, { 0xbc,0x5e,0x5e,0xe2 }, + { 0x16,0x0b,0x0b,0x1d }, { 0xad,0xdb,0xdb,0x76 }, + { 0xdb,0xe0,0xe0,0x3b }, { 0x64,0x32,0x32,0x56 }, + { 0x74,0x3a,0x3a,0x4e }, { 0x14,0x0a,0x0a,0x1e }, + { 0x92,0x49,0x49,0xdb }, { 0x0c,0x06,0x06,0x0a }, + { 0x48,0x24,0x24,0x6c }, { 0xb8,0x5c,0x5c,0xe4 }, + { 0x9f,0xc2,0xc2,0x5d }, { 0xbd,0xd3,0xd3,0x6e }, + { 0x43,0xac,0xac,0xef }, { 0xc4,0x62,0x62,0xa6 }, + { 0x39,0x91,0x91,0xa8 }, { 0x31,0x95,0x95,0xa4 }, + { 0xd3,0xe4,0xe4,0x37 }, { 0xf2,0x79,0x79,0x8b }, + { 0xd5,0xe7,0xe7,0x32 }, { 0x8b,0xc8,0xc8,0x43 }, + { 0x6e,0x37,0x37,0x59 }, { 0xda,0x6d,0x6d,0xb7 }, + { 0x01,0x8d,0x8d,0x8c }, { 0xb1,0xd5,0xd5,0x64 }, + { 0x9c,0x4e,0x4e,0xd2 }, { 0x49,0xa9,0xa9,0xe0 }, + { 0xd8,0x6c,0x6c,0xb4 }, { 0xac,0x56,0x56,0xfa }, + { 0xf3,0xf4,0xf4,0x07 }, { 0xcf,0xea,0xea,0x25 }, + { 0xca,0x65,0x65,0xaf }, { 0xf4,0x7a,0x7a,0x8e }, + { 0x47,0xae,0xae,0xe9 }, { 0x10,0x08,0x08,0x18 }, + { 0x6f,0xba,0xba,0xd5 }, { 0xf0,0x78,0x78,0x88 }, + { 0x4a,0x25,0x25,0x6f }, { 0x5c,0x2e,0x2e,0x72 }, + { 0x38,0x1c,0x1c,0x24 }, { 0x57,0xa6,0xa6,0xf1 }, + { 0x73,0xb4,0xb4,0xc7 }, { 0x97,0xc6,0xc6,0x51 }, + { 0xcb,0xe8,0xe8,0x23 }, { 0xa1,0xdd,0xdd,0x7c }, + { 0xe8,0x74,0x74,0x9c }, { 0x3e,0x1f,0x1f,0x21 }, + { 0x96,0x4b,0x4b,0xdd }, { 0x61,0xbd,0xbd,0xdc }, + { 0x0d,0x8b,0x8b,0x86 }, { 0x0f,0x8a,0x8a,0x85 }, + { 0xe0,0x70,0x70,0x90 }, { 0x7c,0x3e,0x3e,0x42 }, + { 0x71,0xb5,0xb5,0xc4 }, { 0xcc,0x66,0x66,0xaa }, + { 0x90,0x48,0x48,0xd8 }, { 0x06,0x03,0x03,0x05 }, + { 0xf7,0xf6,0xf6,0x01 }, { 0x1c,0x0e,0x0e,0x12 }, + { 0xc2,0x61,0x61,0xa3 }, { 0x6a,0x35,0x35,0x5f }, + { 0xae,0x57,0x57,0xf9 }, { 0x69,0xb9,0xb9,0xd0 }, + { 0x17,0x86,0x86,0x91 }, { 0x99,0xc1,0xc1,0x58 }, + { 0x3a,0x1d,0x1d,0x27 }, { 0x27,0x9e,0x9e,0xb9 }, + { 0xd9,0xe1,0xe1,0x38 }, { 0xeb,0xf8,0xf8,0x13 }, + { 0x2b,0x98,0x98,0xb3 }, { 0x22,0x11,0x11,0x33 }, + { 0xd2,0x69,0x69,0xbb }, { 0xa9,0xd9,0xd9,0x70 }, + { 0x07,0x8e,0x8e,0x89 }, { 0x33,0x94,0x94,0xa7 }, + { 0x2d,0x9b,0x9b,0xb6 }, { 0x3c,0x1e,0x1e,0x22 }, + { 0x15,0x87,0x87,0x92 }, { 0xc9,0xe9,0xe9,0x20 }, + { 0x87,0xce,0xce,0x49 }, { 0xaa,0x55,0x55,0xff }, + { 0x50,0x28,0x28,0x78 }, { 0xa5,0xdf,0xdf,0x7a }, + { 0x03,0x8c,0x8c,0x8f }, { 0x59,0xa1,0xa1,0xf8 }, + { 0x09,0x89,0x89,0x80 }, { 0x1a,0x0d,0x0d,0x17 }, + { 0x65,0xbf,0xbf,0xda }, { 0xd7,0xe6,0xe6,0x31 }, + { 0x84,0x42,0x42,0xc6 }, { 0xd0,0x68,0x68,0xb8 }, + { 0x82,0x41,0x41,0xc3 }, { 0x29,0x99,0x99,0xb0 }, + { 0x5a,0x2d,0x2d,0x77 }, { 0x1e,0x0f,0x0f,0x11 }, + { 0x7b,0xb0,0xb0,0xcb }, { 0xa8,0x54,0x54,0xfc }, + { 0x6d,0xbb,0xbb,0xd6 }, { 0x2c,0x16,0x16,0x3a } + }; + +static const unsigned char T2[256][4] = + { + { 0xa5,0xc6,0x63,0x63 }, { 0x84,0xf8,0x7c,0x7c }, + { 0x99,0xee,0x77,0x77 }, { 0x8d,0xf6,0x7b,0x7b }, + { 0x0d,0xff,0xf2,0xf2 }, { 0xbd,0xd6,0x6b,0x6b }, + { 0xb1,0xde,0x6f,0x6f }, { 0x54,0x91,0xc5,0xc5 }, + { 0x50,0x60,0x30,0x30 }, { 0x03,0x02,0x01,0x01 }, + { 0xa9,0xce,0x67,0x67 }, { 0x7d,0x56,0x2b,0x2b }, + { 0x19,0xe7,0xfe,0xfe }, { 0x62,0xb5,0xd7,0xd7 }, + { 0xe6,0x4d,0xab,0xab }, { 0x9a,0xec,0x76,0x76 }, + { 0x45,0x8f,0xca,0xca }, { 0x9d,0x1f,0x82,0x82 }, + { 0x40,0x89,0xc9,0xc9 }, { 0x87,0xfa,0x7d,0x7d }, + { 0x15,0xef,0xfa,0xfa }, { 0xeb,0xb2,0x59,0x59 }, + { 0xc9,0x8e,0x47,0x47 }, { 0x0b,0xfb,0xf0,0xf0 }, + { 0xec,0x41,0xad,0xad }, { 0x67,0xb3,0xd4,0xd4 }, + { 0xfd,0x5f,0xa2,0xa2 }, { 0xea,0x45,0xaf,0xaf }, + { 0xbf,0x23,0x9c,0x9c }, { 0xf7,0x53,0xa4,0xa4 }, + { 0x96,0xe4,0x72,0x72 }, { 0x5b,0x9b,0xc0,0xc0 }, + { 0xc2,0x75,0xb7,0xb7 }, { 0x1c,0xe1,0xfd,0xfd }, + { 0xae,0x3d,0x93,0x93 }, { 0x6a,0x4c,0x26,0x26 }, + { 0x5a,0x6c,0x36,0x36 }, { 0x41,0x7e,0x3f,0x3f }, + { 0x02,0xf5,0xf7,0xf7 }, { 0x4f,0x83,0xcc,0xcc }, + { 0x5c,0x68,0x34,0x34 }, { 0xf4,0x51,0xa5,0xa5 }, + { 0x34,0xd1,0xe5,0xe5 }, { 0x08,0xf9,0xf1,0xf1 }, + { 0x93,0xe2,0x71,0x71 }, { 0x73,0xab,0xd8,0xd8 }, + { 0x53,0x62,0x31,0x31 }, { 0x3f,0x2a,0x15,0x15 }, + { 0x0c,0x08,0x04,0x04 }, { 0x52,0x95,0xc7,0xc7 }, + { 0x65,0x46,0x23,0x23 }, { 0x5e,0x9d,0xc3,0xc3 }, + { 0x28,0x30,0x18,0x18 }, { 0xa1,0x37,0x96,0x96 }, + { 0x0f,0x0a,0x05,0x05 }, { 0xb5,0x2f,0x9a,0x9a }, + { 0x09,0x0e,0x07,0x07 }, { 0x36,0x24,0x12,0x12 }, + { 0x9b,0x1b,0x80,0x80 }, { 0x3d,0xdf,0xe2,0xe2 }, + { 0x26,0xcd,0xeb,0xeb }, { 0x69,0x4e,0x27,0x27 }, + { 0xcd,0x7f,0xb2,0xb2 }, { 0x9f,0xea,0x75,0x75 }, + { 0x1b,0x12,0x09,0x09 }, { 0x9e,0x1d,0x83,0x83 }, + { 0x74,0x58,0x2c,0x2c }, { 0x2e,0x34,0x1a,0x1a }, + { 0x2d,0x36,0x1b,0x1b }, { 0xb2,0xdc,0x6e,0x6e }, + { 0xee,0xb4,0x5a,0x5a }, { 0xfb,0x5b,0xa0,0xa0 }, + { 0xf6,0xa4,0x52,0x52 }, { 0x4d,0x76,0x3b,0x3b }, + { 0x61,0xb7,0xd6,0xd6 }, { 0xce,0x7d,0xb3,0xb3 }, + { 0x7b,0x52,0x29,0x29 }, { 0x3e,0xdd,0xe3,0xe3 }, + { 0x71,0x5e,0x2f,0x2f }, { 0x97,0x13,0x84,0x84 }, + { 0xf5,0xa6,0x53,0x53 }, { 0x68,0xb9,0xd1,0xd1 }, + { 0x00,0x00,0x00,0x00 }, { 0x2c,0xc1,0xed,0xed }, + { 0x60,0x40,0x20,0x20 }, { 0x1f,0xe3,0xfc,0xfc }, + { 0xc8,0x79,0xb1,0xb1 }, { 0xed,0xb6,0x5b,0x5b }, + { 0xbe,0xd4,0x6a,0x6a }, { 0x46,0x8d,0xcb,0xcb }, + { 0xd9,0x67,0xbe,0xbe }, { 0x4b,0x72,0x39,0x39 }, + { 0xde,0x94,0x4a,0x4a }, { 0xd4,0x98,0x4c,0x4c }, + { 0xe8,0xb0,0x58,0x58 }, { 0x4a,0x85,0xcf,0xcf }, + { 0x6b,0xbb,0xd0,0xd0 }, { 0x2a,0xc5,0xef,0xef }, + { 0xe5,0x4f,0xaa,0xaa }, { 0x16,0xed,0xfb,0xfb }, + { 0xc5,0x86,0x43,0x43 }, { 0xd7,0x9a,0x4d,0x4d }, + { 0x55,0x66,0x33,0x33 }, { 0x94,0x11,0x85,0x85 }, + { 0xcf,0x8a,0x45,0x45 }, { 0x10,0xe9,0xf9,0xf9 }, + { 0x06,0x04,0x02,0x02 }, { 0x81,0xfe,0x7f,0x7f }, + { 0xf0,0xa0,0x50,0x50 }, { 0x44,0x78,0x3c,0x3c }, + { 0xba,0x25,0x9f,0x9f }, { 0xe3,0x4b,0xa8,0xa8 }, + { 0xf3,0xa2,0x51,0x51 }, { 0xfe,0x5d,0xa3,0xa3 }, + { 0xc0,0x80,0x40,0x40 }, { 0x8a,0x05,0x8f,0x8f }, + { 0xad,0x3f,0x92,0x92 }, { 0xbc,0x21,0x9d,0x9d }, + { 0x48,0x70,0x38,0x38 }, { 0x04,0xf1,0xf5,0xf5 }, + { 0xdf,0x63,0xbc,0xbc }, { 0xc1,0x77,0xb6,0xb6 }, + { 0x75,0xaf,0xda,0xda }, { 0x63,0x42,0x21,0x21 }, + { 0x30,0x20,0x10,0x10 }, { 0x1a,0xe5,0xff,0xff }, + { 0x0e,0xfd,0xf3,0xf3 }, { 0x6d,0xbf,0xd2,0xd2 }, + { 0x4c,0x81,0xcd,0xcd }, { 0x14,0x18,0x0c,0x0c }, + { 0x35,0x26,0x13,0x13 }, { 0x2f,0xc3,0xec,0xec }, + { 0xe1,0xbe,0x5f,0x5f }, { 0xa2,0x35,0x97,0x97 }, + { 0xcc,0x88,0x44,0x44 }, { 0x39,0x2e,0x17,0x17 }, + { 0x57,0x93,0xc4,0xc4 }, { 0xf2,0x55,0xa7,0xa7 }, + { 0x82,0xfc,0x7e,0x7e }, { 0x47,0x7a,0x3d,0x3d }, + { 0xac,0xc8,0x64,0x64 }, { 0xe7,0xba,0x5d,0x5d }, + { 0x2b,0x32,0x19,0x19 }, { 0x95,0xe6,0x73,0x73 }, + { 0xa0,0xc0,0x60,0x60 }, { 0x98,0x19,0x81,0x81 }, + { 0xd1,0x9e,0x4f,0x4f }, { 0x7f,0xa3,0xdc,0xdc }, + { 0x66,0x44,0x22,0x22 }, { 0x7e,0x54,0x2a,0x2a }, + { 0xab,0x3b,0x90,0x90 }, { 0x83,0x0b,0x88,0x88 }, + { 0xca,0x8c,0x46,0x46 }, { 0x29,0xc7,0xee,0xee }, + { 0xd3,0x6b,0xb8,0xb8 }, { 0x3c,0x28,0x14,0x14 }, + { 0x79,0xa7,0xde,0xde }, { 0xe2,0xbc,0x5e,0x5e }, + { 0x1d,0x16,0x0b,0x0b }, { 0x76,0xad,0xdb,0xdb }, + { 0x3b,0xdb,0xe0,0xe0 }, { 0x56,0x64,0x32,0x32 }, + { 0x4e,0x74,0x3a,0x3a }, { 0x1e,0x14,0x0a,0x0a }, + { 0xdb,0x92,0x49,0x49 }, { 0x0a,0x0c,0x06,0x06 }, + { 0x6c,0x48,0x24,0x24 }, { 0xe4,0xb8,0x5c,0x5c }, + { 0x5d,0x9f,0xc2,0xc2 }, { 0x6e,0xbd,0xd3,0xd3 }, + { 0xef,0x43,0xac,0xac }, { 0xa6,0xc4,0x62,0x62 }, + { 0xa8,0x39,0x91,0x91 }, { 0xa4,0x31,0x95,0x95 }, + { 0x37,0xd3,0xe4,0xe4 }, { 0x8b,0xf2,0x79,0x79 }, + { 0x32,0xd5,0xe7,0xe7 }, { 0x43,0x8b,0xc8,0xc8 }, + { 0x59,0x6e,0x37,0x37 }, { 0xb7,0xda,0x6d,0x6d }, + { 0x8c,0x01,0x8d,0x8d }, { 0x64,0xb1,0xd5,0xd5 }, + { 0xd2,0x9c,0x4e,0x4e }, { 0xe0,0x49,0xa9,0xa9 }, + { 0xb4,0xd8,0x6c,0x6c }, { 0xfa,0xac,0x56,0x56 }, + { 0x07,0xf3,0xf4,0xf4 }, { 0x25,0xcf,0xea,0xea }, + { 0xaf,0xca,0x65,0x65 }, { 0x8e,0xf4,0x7a,0x7a }, + { 0xe9,0x47,0xae,0xae }, { 0x18,0x10,0x08,0x08 }, + { 0xd5,0x6f,0xba,0xba }, { 0x88,0xf0,0x78,0x78 }, + { 0x6f,0x4a,0x25,0x25 }, { 0x72,0x5c,0x2e,0x2e }, + { 0x24,0x38,0x1c,0x1c }, { 0xf1,0x57,0xa6,0xa6 }, + { 0xc7,0x73,0xb4,0xb4 }, { 0x51,0x97,0xc6,0xc6 }, + { 0x23,0xcb,0xe8,0xe8 }, { 0x7c,0xa1,0xdd,0xdd }, + { 0x9c,0xe8,0x74,0x74 }, { 0x21,0x3e,0x1f,0x1f }, + { 0xdd,0x96,0x4b,0x4b }, { 0xdc,0x61,0xbd,0xbd }, + { 0x86,0x0d,0x8b,0x8b }, { 0x85,0x0f,0x8a,0x8a }, + { 0x90,0xe0,0x70,0x70 }, { 0x42,0x7c,0x3e,0x3e }, + { 0xc4,0x71,0xb5,0xb5 }, { 0xaa,0xcc,0x66,0x66 }, + { 0xd8,0x90,0x48,0x48 }, { 0x05,0x06,0x03,0x03 }, + { 0x01,0xf7,0xf6,0xf6 }, { 0x12,0x1c,0x0e,0x0e }, + { 0xa3,0xc2,0x61,0x61 }, { 0x5f,0x6a,0x35,0x35 }, + { 0xf9,0xae,0x57,0x57 }, { 0xd0,0x69,0xb9,0xb9 }, + { 0x91,0x17,0x86,0x86 }, { 0x58,0x99,0xc1,0xc1 }, + { 0x27,0x3a,0x1d,0x1d }, { 0xb9,0x27,0x9e,0x9e }, + { 0x38,0xd9,0xe1,0xe1 }, { 0x13,0xeb,0xf8,0xf8 }, + { 0xb3,0x2b,0x98,0x98 }, { 0x33,0x22,0x11,0x11 }, + { 0xbb,0xd2,0x69,0x69 }, { 0x70,0xa9,0xd9,0xd9 }, + { 0x89,0x07,0x8e,0x8e }, { 0xa7,0x33,0x94,0x94 }, + { 0xb6,0x2d,0x9b,0x9b }, { 0x22,0x3c,0x1e,0x1e }, + { 0x92,0x15,0x87,0x87 }, { 0x20,0xc9,0xe9,0xe9 }, + { 0x49,0x87,0xce,0xce }, { 0xff,0xaa,0x55,0x55 }, + { 0x78,0x50,0x28,0x28 }, { 0x7a,0xa5,0xdf,0xdf }, + { 0x8f,0x03,0x8c,0x8c }, { 0xf8,0x59,0xa1,0xa1 }, + { 0x80,0x09,0x89,0x89 }, { 0x17,0x1a,0x0d,0x0d }, + { 0xda,0x65,0xbf,0xbf }, { 0x31,0xd7,0xe6,0xe6 }, + { 0xc6,0x84,0x42,0x42 }, { 0xb8,0xd0,0x68,0x68 }, + { 0xc3,0x82,0x41,0x41 }, { 0xb0,0x29,0x99,0x99 }, + { 0x77,0x5a,0x2d,0x2d }, { 0x11,0x1e,0x0f,0x0f }, + { 0xcb,0x7b,0xb0,0xb0 }, { 0xfc,0xa8,0x54,0x54 }, + { 0xd6,0x6d,0xbb,0xbb }, { 0x3a,0x2c,0x16,0x16 } + }; + +static const unsigned char T3[256][4] = + { + { 0x63,0xa5,0xc6,0x63 }, { 0x7c,0x84,0xf8,0x7c }, + { 0x77,0x99,0xee,0x77 }, { 0x7b,0x8d,0xf6,0x7b }, + { 0xf2,0x0d,0xff,0xf2 }, { 0x6b,0xbd,0xd6,0x6b }, + { 0x6f,0xb1,0xde,0x6f }, { 0xc5,0x54,0x91,0xc5 }, + { 0x30,0x50,0x60,0x30 }, { 0x01,0x03,0x02,0x01 }, + { 0x67,0xa9,0xce,0x67 }, { 0x2b,0x7d,0x56,0x2b }, + { 0xfe,0x19,0xe7,0xfe }, { 0xd7,0x62,0xb5,0xd7 }, + { 0xab,0xe6,0x4d,0xab }, { 0x76,0x9a,0xec,0x76 }, + { 0xca,0x45,0x8f,0xca }, { 0x82,0x9d,0x1f,0x82 }, + { 0xc9,0x40,0x89,0xc9 }, { 0x7d,0x87,0xfa,0x7d }, + { 0xfa,0x15,0xef,0xfa }, { 0x59,0xeb,0xb2,0x59 }, + { 0x47,0xc9,0x8e,0x47 }, { 0xf0,0x0b,0xfb,0xf0 }, + { 0xad,0xec,0x41,0xad }, { 0xd4,0x67,0xb3,0xd4 }, + { 0xa2,0xfd,0x5f,0xa2 }, { 0xaf,0xea,0x45,0xaf }, + { 0x9c,0xbf,0x23,0x9c }, { 0xa4,0xf7,0x53,0xa4 }, + { 0x72,0x96,0xe4,0x72 }, { 0xc0,0x5b,0x9b,0xc0 }, + { 0xb7,0xc2,0x75,0xb7 }, { 0xfd,0x1c,0xe1,0xfd }, + { 0x93,0xae,0x3d,0x93 }, { 0x26,0x6a,0x4c,0x26 }, + { 0x36,0x5a,0x6c,0x36 }, { 0x3f,0x41,0x7e,0x3f }, + { 0xf7,0x02,0xf5,0xf7 }, { 0xcc,0x4f,0x83,0xcc }, + { 0x34,0x5c,0x68,0x34 }, { 0xa5,0xf4,0x51,0xa5 }, + { 0xe5,0x34,0xd1,0xe5 }, { 0xf1,0x08,0xf9,0xf1 }, + { 0x71,0x93,0xe2,0x71 }, { 0xd8,0x73,0xab,0xd8 }, + { 0x31,0x53,0x62,0x31 }, { 0x15,0x3f,0x2a,0x15 }, + { 0x04,0x0c,0x08,0x04 }, { 0xc7,0x52,0x95,0xc7 }, + { 0x23,0x65,0x46,0x23 }, { 0xc3,0x5e,0x9d,0xc3 }, + { 0x18,0x28,0x30,0x18 }, { 0x96,0xa1,0x37,0x96 }, + { 0x05,0x0f,0x0a,0x05 }, { 0x9a,0xb5,0x2f,0x9a }, + { 0x07,0x09,0x0e,0x07 }, { 0x12,0x36,0x24,0x12 }, + { 0x80,0x9b,0x1b,0x80 }, { 0xe2,0x3d,0xdf,0xe2 }, + { 0xeb,0x26,0xcd,0xeb }, { 0x27,0x69,0x4e,0x27 }, + { 0xb2,0xcd,0x7f,0xb2 }, { 0x75,0x9f,0xea,0x75 }, + { 0x09,0x1b,0x12,0x09 }, { 0x83,0x9e,0x1d,0x83 }, + { 0x2c,0x74,0x58,0x2c }, { 0x1a,0x2e,0x34,0x1a }, + { 0x1b,0x2d,0x36,0x1b }, { 0x6e,0xb2,0xdc,0x6e }, + { 0x5a,0xee,0xb4,0x5a }, { 0xa0,0xfb,0x5b,0xa0 }, + { 0x52,0xf6,0xa4,0x52 }, { 0x3b,0x4d,0x76,0x3b }, + { 0xd6,0x61,0xb7,0xd6 }, { 0xb3,0xce,0x7d,0xb3 }, + { 0x29,0x7b,0x52,0x29 }, { 0xe3,0x3e,0xdd,0xe3 }, + { 0x2f,0x71,0x5e,0x2f }, { 0x84,0x97,0x13,0x84 }, + { 0x53,0xf5,0xa6,0x53 }, { 0xd1,0x68,0xb9,0xd1 }, + { 0x00,0x00,0x00,0x00 }, { 0xed,0x2c,0xc1,0xed }, + { 0x20,0x60,0x40,0x20 }, { 0xfc,0x1f,0xe3,0xfc }, + { 0xb1,0xc8,0x79,0xb1 }, { 0x5b,0xed,0xb6,0x5b }, + { 0x6a,0xbe,0xd4,0x6a }, { 0xcb,0x46,0x8d,0xcb }, + { 0xbe,0xd9,0x67,0xbe }, { 0x39,0x4b,0x72,0x39 }, + { 0x4a,0xde,0x94,0x4a }, { 0x4c,0xd4,0x98,0x4c }, + { 0x58,0xe8,0xb0,0x58 }, { 0xcf,0x4a,0x85,0xcf }, + { 0xd0,0x6b,0xbb,0xd0 }, { 0xef,0x2a,0xc5,0xef }, + { 0xaa,0xe5,0x4f,0xaa }, { 0xfb,0x16,0xed,0xfb }, + { 0x43,0xc5,0x86,0x43 }, { 0x4d,0xd7,0x9a,0x4d }, + { 0x33,0x55,0x66,0x33 }, { 0x85,0x94,0x11,0x85 }, + { 0x45,0xcf,0x8a,0x45 }, { 0xf9,0x10,0xe9,0xf9 }, + { 0x02,0x06,0x04,0x02 }, { 0x7f,0x81,0xfe,0x7f }, + { 0x50,0xf0,0xa0,0x50 }, { 0x3c,0x44,0x78,0x3c }, + { 0x9f,0xba,0x25,0x9f }, { 0xa8,0xe3,0x4b,0xa8 }, + { 0x51,0xf3,0xa2,0x51 }, { 0xa3,0xfe,0x5d,0xa3 }, + { 0x40,0xc0,0x80,0x40 }, { 0x8f,0x8a,0x05,0x8f }, + { 0x92,0xad,0x3f,0x92 }, { 0x9d,0xbc,0x21,0x9d }, + { 0x38,0x48,0x70,0x38 }, { 0xf5,0x04,0xf1,0xf5 }, + { 0xbc,0xdf,0x63,0xbc }, { 0xb6,0xc1,0x77,0xb6 }, + { 0xda,0x75,0xaf,0xda }, { 0x21,0x63,0x42,0x21 }, + { 0x10,0x30,0x20,0x10 }, { 0xff,0x1a,0xe5,0xff }, + { 0xf3,0x0e,0xfd,0xf3 }, { 0xd2,0x6d,0xbf,0xd2 }, + { 0xcd,0x4c,0x81,0xcd }, { 0x0c,0x14,0x18,0x0c }, + { 0x13,0x35,0x26,0x13 }, { 0xec,0x2f,0xc3,0xec }, + { 0x5f,0xe1,0xbe,0x5f }, { 0x97,0xa2,0x35,0x97 }, + { 0x44,0xcc,0x88,0x44 }, { 0x17,0x39,0x2e,0x17 }, + { 0xc4,0x57,0x93,0xc4 }, { 0xa7,0xf2,0x55,0xa7 }, + { 0x7e,0x82,0xfc,0x7e }, { 0x3d,0x47,0x7a,0x3d }, + { 0x64,0xac,0xc8,0x64 }, { 0x5d,0xe7,0xba,0x5d }, + { 0x19,0x2b,0x32,0x19 }, { 0x73,0x95,0xe6,0x73 }, + { 0x60,0xa0,0xc0,0x60 }, { 0x81,0x98,0x19,0x81 }, + { 0x4f,0xd1,0x9e,0x4f }, { 0xdc,0x7f,0xa3,0xdc }, + { 0x22,0x66,0x44,0x22 }, { 0x2a,0x7e,0x54,0x2a }, + { 0x90,0xab,0x3b,0x90 }, { 0x88,0x83,0x0b,0x88 }, + { 0x46,0xca,0x8c,0x46 }, { 0xee,0x29,0xc7,0xee }, + { 0xb8,0xd3,0x6b,0xb8 }, { 0x14,0x3c,0x28,0x14 }, + { 0xde,0x79,0xa7,0xde }, { 0x5e,0xe2,0xbc,0x5e }, + { 0x0b,0x1d,0x16,0x0b }, { 0xdb,0x76,0xad,0xdb }, + { 0xe0,0x3b,0xdb,0xe0 }, { 0x32,0x56,0x64,0x32 }, + { 0x3a,0x4e,0x74,0x3a }, { 0x0a,0x1e,0x14,0x0a }, + { 0x49,0xdb,0x92,0x49 }, { 0x06,0x0a,0x0c,0x06 }, + { 0x24,0x6c,0x48,0x24 }, { 0x5c,0xe4,0xb8,0x5c }, + { 0xc2,0x5d,0x9f,0xc2 }, { 0xd3,0x6e,0xbd,0xd3 }, + { 0xac,0xef,0x43,0xac }, { 0x62,0xa6,0xc4,0x62 }, + { 0x91,0xa8,0x39,0x91 }, { 0x95,0xa4,0x31,0x95 }, + { 0xe4,0x37,0xd3,0xe4 }, { 0x79,0x8b,0xf2,0x79 }, + { 0xe7,0x32,0xd5,0xe7 }, { 0xc8,0x43,0x8b,0xc8 }, + { 0x37,0x59,0x6e,0x37 }, { 0x6d,0xb7,0xda,0x6d }, + { 0x8d,0x8c,0x01,0x8d }, { 0xd5,0x64,0xb1,0xd5 }, + { 0x4e,0xd2,0x9c,0x4e }, { 0xa9,0xe0,0x49,0xa9 }, + { 0x6c,0xb4,0xd8,0x6c }, { 0x56,0xfa,0xac,0x56 }, + { 0xf4,0x07,0xf3,0xf4 }, { 0xea,0x25,0xcf,0xea }, + { 0x65,0xaf,0xca,0x65 }, { 0x7a,0x8e,0xf4,0x7a }, + { 0xae,0xe9,0x47,0xae }, { 0x08,0x18,0x10,0x08 }, + { 0xba,0xd5,0x6f,0xba }, { 0x78,0x88,0xf0,0x78 }, + { 0x25,0x6f,0x4a,0x25 }, { 0x2e,0x72,0x5c,0x2e }, + { 0x1c,0x24,0x38,0x1c }, { 0xa6,0xf1,0x57,0xa6 }, + { 0xb4,0xc7,0x73,0xb4 }, { 0xc6,0x51,0x97,0xc6 }, + { 0xe8,0x23,0xcb,0xe8 }, { 0xdd,0x7c,0xa1,0xdd }, + { 0x74,0x9c,0xe8,0x74 }, { 0x1f,0x21,0x3e,0x1f }, + { 0x4b,0xdd,0x96,0x4b }, { 0xbd,0xdc,0x61,0xbd }, + { 0x8b,0x86,0x0d,0x8b }, { 0x8a,0x85,0x0f,0x8a }, + { 0x70,0x90,0xe0,0x70 }, { 0x3e,0x42,0x7c,0x3e }, + { 0xb5,0xc4,0x71,0xb5 }, { 0x66,0xaa,0xcc,0x66 }, + { 0x48,0xd8,0x90,0x48 }, { 0x03,0x05,0x06,0x03 }, + { 0xf6,0x01,0xf7,0xf6 }, { 0x0e,0x12,0x1c,0x0e }, + { 0x61,0xa3,0xc2,0x61 }, { 0x35,0x5f,0x6a,0x35 }, + { 0x57,0xf9,0xae,0x57 }, { 0xb9,0xd0,0x69,0xb9 }, + { 0x86,0x91,0x17,0x86 }, { 0xc1,0x58,0x99,0xc1 }, + { 0x1d,0x27,0x3a,0x1d }, { 0x9e,0xb9,0x27,0x9e }, + { 0xe1,0x38,0xd9,0xe1 }, { 0xf8,0x13,0xeb,0xf8 }, + { 0x98,0xb3,0x2b,0x98 }, { 0x11,0x33,0x22,0x11 }, + { 0x69,0xbb,0xd2,0x69 }, { 0xd9,0x70,0xa9,0xd9 }, + { 0x8e,0x89,0x07,0x8e }, { 0x94,0xa7,0x33,0x94 }, + { 0x9b,0xb6,0x2d,0x9b }, { 0x1e,0x22,0x3c,0x1e }, + { 0x87,0x92,0x15,0x87 }, { 0xe9,0x20,0xc9,0xe9 }, + { 0xce,0x49,0x87,0xce }, { 0x55,0xff,0xaa,0x55 }, + { 0x28,0x78,0x50,0x28 }, { 0xdf,0x7a,0xa5,0xdf }, + { 0x8c,0x8f,0x03,0x8c }, { 0xa1,0xf8,0x59,0xa1 }, + { 0x89,0x80,0x09,0x89 }, { 0x0d,0x17,0x1a,0x0d }, + { 0xbf,0xda,0x65,0xbf }, { 0xe6,0x31,0xd7,0xe6 }, + { 0x42,0xc6,0x84,0x42 }, { 0x68,0xb8,0xd0,0x68 }, + { 0x41,0xc3,0x82,0x41 }, { 0x99,0xb0,0x29,0x99 }, + { 0x2d,0x77,0x5a,0x2d }, { 0x0f,0x11,0x1e,0x0f }, + { 0xb0,0xcb,0x7b,0xb0 }, { 0x54,0xfc,0xa8,0x54 }, + { 0xbb,0xd6,0x6d,0xbb }, { 0x16,0x3a,0x2c,0x16 } + }; + +static const unsigned char T4[256][4] = + { + { 0x63,0x63,0xa5,0xc6 }, { 0x7c,0x7c,0x84,0xf8 }, + { 0x77,0x77,0x99,0xee }, { 0x7b,0x7b,0x8d,0xf6 }, + { 0xf2,0xf2,0x0d,0xff }, { 0x6b,0x6b,0xbd,0xd6 }, + { 0x6f,0x6f,0xb1,0xde }, { 0xc5,0xc5,0x54,0x91 }, + { 0x30,0x30,0x50,0x60 }, { 0x01,0x01,0x03,0x02 }, + { 0x67,0x67,0xa9,0xce }, { 0x2b,0x2b,0x7d,0x56 }, + { 0xfe,0xfe,0x19,0xe7 }, { 0xd7,0xd7,0x62,0xb5 }, + { 0xab,0xab,0xe6,0x4d }, { 0x76,0x76,0x9a,0xec }, + { 0xca,0xca,0x45,0x8f }, { 0x82,0x82,0x9d,0x1f }, + { 0xc9,0xc9,0x40,0x89 }, { 0x7d,0x7d,0x87,0xfa }, + { 0xfa,0xfa,0x15,0xef }, { 0x59,0x59,0xeb,0xb2 }, + { 0x47,0x47,0xc9,0x8e }, { 0xf0,0xf0,0x0b,0xfb }, + { 0xad,0xad,0xec,0x41 }, { 0xd4,0xd4,0x67,0xb3 }, + { 0xa2,0xa2,0xfd,0x5f }, { 0xaf,0xaf,0xea,0x45 }, + { 0x9c,0x9c,0xbf,0x23 }, { 0xa4,0xa4,0xf7,0x53 }, + { 0x72,0x72,0x96,0xe4 }, { 0xc0,0xc0,0x5b,0x9b }, + { 0xb7,0xb7,0xc2,0x75 }, { 0xfd,0xfd,0x1c,0xe1 }, + { 0x93,0x93,0xae,0x3d }, { 0x26,0x26,0x6a,0x4c }, + { 0x36,0x36,0x5a,0x6c }, { 0x3f,0x3f,0x41,0x7e }, + { 0xf7,0xf7,0x02,0xf5 }, { 0xcc,0xcc,0x4f,0x83 }, + { 0x34,0x34,0x5c,0x68 }, { 0xa5,0xa5,0xf4,0x51 }, + { 0xe5,0xe5,0x34,0xd1 }, { 0xf1,0xf1,0x08,0xf9 }, + { 0x71,0x71,0x93,0xe2 }, { 0xd8,0xd8,0x73,0xab }, + { 0x31,0x31,0x53,0x62 }, { 0x15,0x15,0x3f,0x2a }, + { 0x04,0x04,0x0c,0x08 }, { 0xc7,0xc7,0x52,0x95 }, + { 0x23,0x23,0x65,0x46 }, { 0xc3,0xc3,0x5e,0x9d }, + { 0x18,0x18,0x28,0x30 }, { 0x96,0x96,0xa1,0x37 }, + { 0x05,0x05,0x0f,0x0a }, { 0x9a,0x9a,0xb5,0x2f }, + { 0x07,0x07,0x09,0x0e }, { 0x12,0x12,0x36,0x24 }, + { 0x80,0x80,0x9b,0x1b }, { 0xe2,0xe2,0x3d,0xdf }, + { 0xeb,0xeb,0x26,0xcd }, { 0x27,0x27,0x69,0x4e }, + { 0xb2,0xb2,0xcd,0x7f }, { 0x75,0x75,0x9f,0xea }, + { 0x09,0x09,0x1b,0x12 }, { 0x83,0x83,0x9e,0x1d }, + { 0x2c,0x2c,0x74,0x58 }, { 0x1a,0x1a,0x2e,0x34 }, + { 0x1b,0x1b,0x2d,0x36 }, { 0x6e,0x6e,0xb2,0xdc }, + { 0x5a,0x5a,0xee,0xb4 }, { 0xa0,0xa0,0xfb,0x5b }, + { 0x52,0x52,0xf6,0xa4 }, { 0x3b,0x3b,0x4d,0x76 }, + { 0xd6,0xd6,0x61,0xb7 }, { 0xb3,0xb3,0xce,0x7d }, + { 0x29,0x29,0x7b,0x52 }, { 0xe3,0xe3,0x3e,0xdd }, + { 0x2f,0x2f,0x71,0x5e }, { 0x84,0x84,0x97,0x13 }, + { 0x53,0x53,0xf5,0xa6 }, { 0xd1,0xd1,0x68,0xb9 }, + { 0x00,0x00,0x00,0x00 }, { 0xed,0xed,0x2c,0xc1 }, + { 0x20,0x20,0x60,0x40 }, { 0xfc,0xfc,0x1f,0xe3 }, + { 0xb1,0xb1,0xc8,0x79 }, { 0x5b,0x5b,0xed,0xb6 }, + { 0x6a,0x6a,0xbe,0xd4 }, { 0xcb,0xcb,0x46,0x8d }, + { 0xbe,0xbe,0xd9,0x67 }, { 0x39,0x39,0x4b,0x72 }, + { 0x4a,0x4a,0xde,0x94 }, { 0x4c,0x4c,0xd4,0x98 }, + { 0x58,0x58,0xe8,0xb0 }, { 0xcf,0xcf,0x4a,0x85 }, + { 0xd0,0xd0,0x6b,0xbb }, { 0xef,0xef,0x2a,0xc5 }, + { 0xaa,0xaa,0xe5,0x4f }, { 0xfb,0xfb,0x16,0xed }, + { 0x43,0x43,0xc5,0x86 }, { 0x4d,0x4d,0xd7,0x9a }, + { 0x33,0x33,0x55,0x66 }, { 0x85,0x85,0x94,0x11 }, + { 0x45,0x45,0xcf,0x8a }, { 0xf9,0xf9,0x10,0xe9 }, + { 0x02,0x02,0x06,0x04 }, { 0x7f,0x7f,0x81,0xfe }, + { 0x50,0x50,0xf0,0xa0 }, { 0x3c,0x3c,0x44,0x78 }, + { 0x9f,0x9f,0xba,0x25 }, { 0xa8,0xa8,0xe3,0x4b }, + { 0x51,0x51,0xf3,0xa2 }, { 0xa3,0xa3,0xfe,0x5d }, + { 0x40,0x40,0xc0,0x80 }, { 0x8f,0x8f,0x8a,0x05 }, + { 0x92,0x92,0xad,0x3f }, { 0x9d,0x9d,0xbc,0x21 }, + { 0x38,0x38,0x48,0x70 }, { 0xf5,0xf5,0x04,0xf1 }, + { 0xbc,0xbc,0xdf,0x63 }, { 0xb6,0xb6,0xc1,0x77 }, + { 0xda,0xda,0x75,0xaf }, { 0x21,0x21,0x63,0x42 }, + { 0x10,0x10,0x30,0x20 }, { 0xff,0xff,0x1a,0xe5 }, + { 0xf3,0xf3,0x0e,0xfd }, { 0xd2,0xd2,0x6d,0xbf }, + { 0xcd,0xcd,0x4c,0x81 }, { 0x0c,0x0c,0x14,0x18 }, + { 0x13,0x13,0x35,0x26 }, { 0xec,0xec,0x2f,0xc3 }, + { 0x5f,0x5f,0xe1,0xbe }, { 0x97,0x97,0xa2,0x35 }, + { 0x44,0x44,0xcc,0x88 }, { 0x17,0x17,0x39,0x2e }, + { 0xc4,0xc4,0x57,0x93 }, { 0xa7,0xa7,0xf2,0x55 }, + { 0x7e,0x7e,0x82,0xfc }, { 0x3d,0x3d,0x47,0x7a }, + { 0x64,0x64,0xac,0xc8 }, { 0x5d,0x5d,0xe7,0xba }, + { 0x19,0x19,0x2b,0x32 }, { 0x73,0x73,0x95,0xe6 }, + { 0x60,0x60,0xa0,0xc0 }, { 0x81,0x81,0x98,0x19 }, + { 0x4f,0x4f,0xd1,0x9e }, { 0xdc,0xdc,0x7f,0xa3 }, + { 0x22,0x22,0x66,0x44 }, { 0x2a,0x2a,0x7e,0x54 }, + { 0x90,0x90,0xab,0x3b }, { 0x88,0x88,0x83,0x0b }, + { 0x46,0x46,0xca,0x8c }, { 0xee,0xee,0x29,0xc7 }, + { 0xb8,0xb8,0xd3,0x6b }, { 0x14,0x14,0x3c,0x28 }, + { 0xde,0xde,0x79,0xa7 }, { 0x5e,0x5e,0xe2,0xbc }, + { 0x0b,0x0b,0x1d,0x16 }, { 0xdb,0xdb,0x76,0xad }, + { 0xe0,0xe0,0x3b,0xdb }, { 0x32,0x32,0x56,0x64 }, + { 0x3a,0x3a,0x4e,0x74 }, { 0x0a,0x0a,0x1e,0x14 }, + { 0x49,0x49,0xdb,0x92 }, { 0x06,0x06,0x0a,0x0c }, + { 0x24,0x24,0x6c,0x48 }, { 0x5c,0x5c,0xe4,0xb8 }, + { 0xc2,0xc2,0x5d,0x9f }, { 0xd3,0xd3,0x6e,0xbd }, + { 0xac,0xac,0xef,0x43 }, { 0x62,0x62,0xa6,0xc4 }, + { 0x91,0x91,0xa8,0x39 }, { 0x95,0x95,0xa4,0x31 }, + { 0xe4,0xe4,0x37,0xd3 }, { 0x79,0x79,0x8b,0xf2 }, + { 0xe7,0xe7,0x32,0xd5 }, { 0xc8,0xc8,0x43,0x8b }, + { 0x37,0x37,0x59,0x6e }, { 0x6d,0x6d,0xb7,0xda }, + { 0x8d,0x8d,0x8c,0x01 }, { 0xd5,0xd5,0x64,0xb1 }, + { 0x4e,0x4e,0xd2,0x9c }, { 0xa9,0xa9,0xe0,0x49 }, + { 0x6c,0x6c,0xb4,0xd8 }, { 0x56,0x56,0xfa,0xac }, + { 0xf4,0xf4,0x07,0xf3 }, { 0xea,0xea,0x25,0xcf }, + { 0x65,0x65,0xaf,0xca }, { 0x7a,0x7a,0x8e,0xf4 }, + { 0xae,0xae,0xe9,0x47 }, { 0x08,0x08,0x18,0x10 }, + { 0xba,0xba,0xd5,0x6f }, { 0x78,0x78,0x88,0xf0 }, + { 0x25,0x25,0x6f,0x4a }, { 0x2e,0x2e,0x72,0x5c }, + { 0x1c,0x1c,0x24,0x38 }, { 0xa6,0xa6,0xf1,0x57 }, + { 0xb4,0xb4,0xc7,0x73 }, { 0xc6,0xc6,0x51,0x97 }, + { 0xe8,0xe8,0x23,0xcb }, { 0xdd,0xdd,0x7c,0xa1 }, + { 0x74,0x74,0x9c,0xe8 }, { 0x1f,0x1f,0x21,0x3e }, + { 0x4b,0x4b,0xdd,0x96 }, { 0xbd,0xbd,0xdc,0x61 }, + { 0x8b,0x8b,0x86,0x0d }, { 0x8a,0x8a,0x85,0x0f }, + { 0x70,0x70,0x90,0xe0 }, { 0x3e,0x3e,0x42,0x7c }, + { 0xb5,0xb5,0xc4,0x71 }, { 0x66,0x66,0xaa,0xcc }, + { 0x48,0x48,0xd8,0x90 }, { 0x03,0x03,0x05,0x06 }, + { 0xf6,0xf6,0x01,0xf7 }, { 0x0e,0x0e,0x12,0x1c }, + { 0x61,0x61,0xa3,0xc2 }, { 0x35,0x35,0x5f,0x6a }, + { 0x57,0x57,0xf9,0xae }, { 0xb9,0xb9,0xd0,0x69 }, + { 0x86,0x86,0x91,0x17 }, { 0xc1,0xc1,0x58,0x99 }, + { 0x1d,0x1d,0x27,0x3a }, { 0x9e,0x9e,0xb9,0x27 }, + { 0xe1,0xe1,0x38,0xd9 }, { 0xf8,0xf8,0x13,0xeb }, + { 0x98,0x98,0xb3,0x2b }, { 0x11,0x11,0x33,0x22 }, + { 0x69,0x69,0xbb,0xd2 }, { 0xd9,0xd9,0x70,0xa9 }, + { 0x8e,0x8e,0x89,0x07 }, { 0x94,0x94,0xa7,0x33 }, + { 0x9b,0x9b,0xb6,0x2d }, { 0x1e,0x1e,0x22,0x3c }, + { 0x87,0x87,0x92,0x15 }, { 0xe9,0xe9,0x20,0xc9 }, + { 0xce,0xce,0x49,0x87 }, { 0x55,0x55,0xff,0xaa }, + { 0x28,0x28,0x78,0x50 }, { 0xdf,0xdf,0x7a,0xa5 }, + { 0x8c,0x8c,0x8f,0x03 }, { 0xa1,0xa1,0xf8,0x59 }, + { 0x89,0x89,0x80,0x09 }, { 0x0d,0x0d,0x17,0x1a }, + { 0xbf,0xbf,0xda,0x65 }, { 0xe6,0xe6,0x31,0xd7 }, + { 0x42,0x42,0xc6,0x84 }, { 0x68,0x68,0xb8,0xd0 }, + { 0x41,0x41,0xc3,0x82 }, { 0x99,0x99,0xb0,0x29 }, + { 0x2d,0x2d,0x77,0x5a }, { 0x0f,0x0f,0x11,0x1e }, + { 0xb0,0xb0,0xcb,0x7b }, { 0x54,0x54,0xfc,0xa8 }, + { 0xbb,0xbb,0xd6,0x6d }, { 0x16,0x16,0x3a,0x2c } + }; + +static const unsigned char T5[256][4] = + { + { 0x51,0xf4,0xa7,0x50 }, { 0x7e,0x41,0x65,0x53 }, + { 0x1a,0x17,0xa4,0xc3 }, { 0x3a,0x27,0x5e,0x96 }, + { 0x3b,0xab,0x6b,0xcb }, { 0x1f,0x9d,0x45,0xf1 }, + { 0xac,0xfa,0x58,0xab }, { 0x4b,0xe3,0x03,0x93 }, + { 0x20,0x30,0xfa,0x55 }, { 0xad,0x76,0x6d,0xf6 }, + { 0x88,0xcc,0x76,0x91 }, { 0xf5,0x02,0x4c,0x25 }, + { 0x4f,0xe5,0xd7,0xfc }, { 0xc5,0x2a,0xcb,0xd7 }, + { 0x26,0x35,0x44,0x80 }, { 0xb5,0x62,0xa3,0x8f }, + { 0xde,0xb1,0x5a,0x49 }, { 0x25,0xba,0x1b,0x67 }, + { 0x45,0xea,0x0e,0x98 }, { 0x5d,0xfe,0xc0,0xe1 }, + { 0xc3,0x2f,0x75,0x02 }, { 0x81,0x4c,0xf0,0x12 }, + { 0x8d,0x46,0x97,0xa3 }, { 0x6b,0xd3,0xf9,0xc6 }, + { 0x03,0x8f,0x5f,0xe7 }, { 0x15,0x92,0x9c,0x95 }, + { 0xbf,0x6d,0x7a,0xeb }, { 0x95,0x52,0x59,0xda }, + { 0xd4,0xbe,0x83,0x2d }, { 0x58,0x74,0x21,0xd3 }, + { 0x49,0xe0,0x69,0x29 }, { 0x8e,0xc9,0xc8,0x44 }, + { 0x75,0xc2,0x89,0x6a }, { 0xf4,0x8e,0x79,0x78 }, + { 0x99,0x58,0x3e,0x6b }, { 0x27,0xb9,0x71,0xdd }, + { 0xbe,0xe1,0x4f,0xb6 }, { 0xf0,0x88,0xad,0x17 }, + { 0xc9,0x20,0xac,0x66 }, { 0x7d,0xce,0x3a,0xb4 }, + { 0x63,0xdf,0x4a,0x18 }, { 0xe5,0x1a,0x31,0x82 }, + { 0x97,0x51,0x33,0x60 }, { 0x62,0x53,0x7f,0x45 }, + { 0xb1,0x64,0x77,0xe0 }, { 0xbb,0x6b,0xae,0x84 }, + { 0xfe,0x81,0xa0,0x1c }, { 0xf9,0x08,0x2b,0x94 }, + { 0x70,0x48,0x68,0x58 }, { 0x8f,0x45,0xfd,0x19 }, + { 0x94,0xde,0x6c,0x87 }, { 0x52,0x7b,0xf8,0xb7 }, + { 0xab,0x73,0xd3,0x23 }, { 0x72,0x4b,0x02,0xe2 }, + { 0xe3,0x1f,0x8f,0x57 }, { 0x66,0x55,0xab,0x2a }, + { 0xb2,0xeb,0x28,0x07 }, { 0x2f,0xb5,0xc2,0x03 }, + { 0x86,0xc5,0x7b,0x9a }, { 0xd3,0x37,0x08,0xa5 }, + { 0x30,0x28,0x87,0xf2 }, { 0x23,0xbf,0xa5,0xb2 }, + { 0x02,0x03,0x6a,0xba }, { 0xed,0x16,0x82,0x5c }, + { 0x8a,0xcf,0x1c,0x2b }, { 0xa7,0x79,0xb4,0x92 }, + { 0xf3,0x07,0xf2,0xf0 }, { 0x4e,0x69,0xe2,0xa1 }, + { 0x65,0xda,0xf4,0xcd }, { 0x06,0x05,0xbe,0xd5 }, + { 0xd1,0x34,0x62,0x1f }, { 0xc4,0xa6,0xfe,0x8a }, + { 0x34,0x2e,0x53,0x9d }, { 0xa2,0xf3,0x55,0xa0 }, + { 0x05,0x8a,0xe1,0x32 }, { 0xa4,0xf6,0xeb,0x75 }, + { 0x0b,0x83,0xec,0x39 }, { 0x40,0x60,0xef,0xaa }, + { 0x5e,0x71,0x9f,0x06 }, { 0xbd,0x6e,0x10,0x51 }, + { 0x3e,0x21,0x8a,0xf9 }, { 0x96,0xdd,0x06,0x3d }, + { 0xdd,0x3e,0x05,0xae }, { 0x4d,0xe6,0xbd,0x46 }, + { 0x91,0x54,0x8d,0xb5 }, { 0x71,0xc4,0x5d,0x05 }, + { 0x04,0x06,0xd4,0x6f }, { 0x60,0x50,0x15,0xff }, + { 0x19,0x98,0xfb,0x24 }, { 0xd6,0xbd,0xe9,0x97 }, + { 0x89,0x40,0x43,0xcc }, { 0x67,0xd9,0x9e,0x77 }, + { 0xb0,0xe8,0x42,0xbd }, { 0x07,0x89,0x8b,0x88 }, + { 0xe7,0x19,0x5b,0x38 }, { 0x79,0xc8,0xee,0xdb }, + { 0xa1,0x7c,0x0a,0x47 }, { 0x7c,0x42,0x0f,0xe9 }, + { 0xf8,0x84,0x1e,0xc9 }, { 0x00,0x00,0x00,0x00 }, + { 0x09,0x80,0x86,0x83 }, { 0x32,0x2b,0xed,0x48 }, + { 0x1e,0x11,0x70,0xac }, { 0x6c,0x5a,0x72,0x4e }, + { 0xfd,0x0e,0xff,0xfb }, { 0x0f,0x85,0x38,0x56 }, + { 0x3d,0xae,0xd5,0x1e }, { 0x36,0x2d,0x39,0x27 }, + { 0x0a,0x0f,0xd9,0x64 }, { 0x68,0x5c,0xa6,0x21 }, + { 0x9b,0x5b,0x54,0xd1 }, { 0x24,0x36,0x2e,0x3a }, + { 0x0c,0x0a,0x67,0xb1 }, { 0x93,0x57,0xe7,0x0f }, + { 0xb4,0xee,0x96,0xd2 }, { 0x1b,0x9b,0x91,0x9e }, + { 0x80,0xc0,0xc5,0x4f }, { 0x61,0xdc,0x20,0xa2 }, + { 0x5a,0x77,0x4b,0x69 }, { 0x1c,0x12,0x1a,0x16 }, + { 0xe2,0x93,0xba,0x0a }, { 0xc0,0xa0,0x2a,0xe5 }, + { 0x3c,0x22,0xe0,0x43 }, { 0x12,0x1b,0x17,0x1d }, + { 0x0e,0x09,0x0d,0x0b }, { 0xf2,0x8b,0xc7,0xad }, + { 0x2d,0xb6,0xa8,0xb9 }, { 0x14,0x1e,0xa9,0xc8 }, + { 0x57,0xf1,0x19,0x85 }, { 0xaf,0x75,0x07,0x4c }, + { 0xee,0x99,0xdd,0xbb }, { 0xa3,0x7f,0x60,0xfd }, + { 0xf7,0x01,0x26,0x9f }, { 0x5c,0x72,0xf5,0xbc }, + { 0x44,0x66,0x3b,0xc5 }, { 0x5b,0xfb,0x7e,0x34 }, + { 0x8b,0x43,0x29,0x76 }, { 0xcb,0x23,0xc6,0xdc }, + { 0xb6,0xed,0xfc,0x68 }, { 0xb8,0xe4,0xf1,0x63 }, + { 0xd7,0x31,0xdc,0xca }, { 0x42,0x63,0x85,0x10 }, + { 0x13,0x97,0x22,0x40 }, { 0x84,0xc6,0x11,0x20 }, + { 0x85,0x4a,0x24,0x7d }, { 0xd2,0xbb,0x3d,0xf8 }, + { 0xae,0xf9,0x32,0x11 }, { 0xc7,0x29,0xa1,0x6d }, + { 0x1d,0x9e,0x2f,0x4b }, { 0xdc,0xb2,0x30,0xf3 }, + { 0x0d,0x86,0x52,0xec }, { 0x77,0xc1,0xe3,0xd0 }, + { 0x2b,0xb3,0x16,0x6c }, { 0xa9,0x70,0xb9,0x99 }, + { 0x11,0x94,0x48,0xfa }, { 0x47,0xe9,0x64,0x22 }, + { 0xa8,0xfc,0x8c,0xc4 }, { 0xa0,0xf0,0x3f,0x1a }, + { 0x56,0x7d,0x2c,0xd8 }, { 0x22,0x33,0x90,0xef }, + { 0x87,0x49,0x4e,0xc7 }, { 0xd9,0x38,0xd1,0xc1 }, + { 0x8c,0xca,0xa2,0xfe }, { 0x98,0xd4,0x0b,0x36 }, + { 0xa6,0xf5,0x81,0xcf }, { 0xa5,0x7a,0xde,0x28 }, + { 0xda,0xb7,0x8e,0x26 }, { 0x3f,0xad,0xbf,0xa4 }, + { 0x2c,0x3a,0x9d,0xe4 }, { 0x50,0x78,0x92,0x0d }, + { 0x6a,0x5f,0xcc,0x9b }, { 0x54,0x7e,0x46,0x62 }, + { 0xf6,0x8d,0x13,0xc2 }, { 0x90,0xd8,0xb8,0xe8 }, + { 0x2e,0x39,0xf7,0x5e }, { 0x82,0xc3,0xaf,0xf5 }, + { 0x9f,0x5d,0x80,0xbe }, { 0x69,0xd0,0x93,0x7c }, + { 0x6f,0xd5,0x2d,0xa9 }, { 0xcf,0x25,0x12,0xb3 }, + { 0xc8,0xac,0x99,0x3b }, { 0x10,0x18,0x7d,0xa7 }, + { 0xe8,0x9c,0x63,0x6e }, { 0xdb,0x3b,0xbb,0x7b }, + { 0xcd,0x26,0x78,0x09 }, { 0x6e,0x59,0x18,0xf4 }, + { 0xec,0x9a,0xb7,0x01 }, { 0x83,0x4f,0x9a,0xa8 }, + { 0xe6,0x95,0x6e,0x65 }, { 0xaa,0xff,0xe6,0x7e }, + { 0x21,0xbc,0xcf,0x08 }, { 0xef,0x15,0xe8,0xe6 }, + { 0xba,0xe7,0x9b,0xd9 }, { 0x4a,0x6f,0x36,0xce }, + { 0xea,0x9f,0x09,0xd4 }, { 0x29,0xb0,0x7c,0xd6 }, + { 0x31,0xa4,0xb2,0xaf }, { 0x2a,0x3f,0x23,0x31 }, + { 0xc6,0xa5,0x94,0x30 }, { 0x35,0xa2,0x66,0xc0 }, + { 0x74,0x4e,0xbc,0x37 }, { 0xfc,0x82,0xca,0xa6 }, + { 0xe0,0x90,0xd0,0xb0 }, { 0x33,0xa7,0xd8,0x15 }, + { 0xf1,0x04,0x98,0x4a }, { 0x41,0xec,0xda,0xf7 }, + { 0x7f,0xcd,0x50,0x0e }, { 0x17,0x91,0xf6,0x2f }, + { 0x76,0x4d,0xd6,0x8d }, { 0x43,0xef,0xb0,0x4d }, + { 0xcc,0xaa,0x4d,0x54 }, { 0xe4,0x96,0x04,0xdf }, + { 0x9e,0xd1,0xb5,0xe3 }, { 0x4c,0x6a,0x88,0x1b }, + { 0xc1,0x2c,0x1f,0xb8 }, { 0x46,0x65,0x51,0x7f }, + { 0x9d,0x5e,0xea,0x04 }, { 0x01,0x8c,0x35,0x5d }, + { 0xfa,0x87,0x74,0x73 }, { 0xfb,0x0b,0x41,0x2e }, + { 0xb3,0x67,0x1d,0x5a }, { 0x92,0xdb,0xd2,0x52 }, + { 0xe9,0x10,0x56,0x33 }, { 0x6d,0xd6,0x47,0x13 }, + { 0x9a,0xd7,0x61,0x8c }, { 0x37,0xa1,0x0c,0x7a }, + { 0x59,0xf8,0x14,0x8e }, { 0xeb,0x13,0x3c,0x89 }, + { 0xce,0xa9,0x27,0xee }, { 0xb7,0x61,0xc9,0x35 }, + { 0xe1,0x1c,0xe5,0xed }, { 0x7a,0x47,0xb1,0x3c }, + { 0x9c,0xd2,0xdf,0x59 }, { 0x55,0xf2,0x73,0x3f }, + { 0x18,0x14,0xce,0x79 }, { 0x73,0xc7,0x37,0xbf }, + { 0x53,0xf7,0xcd,0xea }, { 0x5f,0xfd,0xaa,0x5b }, + { 0xdf,0x3d,0x6f,0x14 }, { 0x78,0x44,0xdb,0x86 }, + { 0xca,0xaf,0xf3,0x81 }, { 0xb9,0x68,0xc4,0x3e }, + { 0x38,0x24,0x34,0x2c }, { 0xc2,0xa3,0x40,0x5f }, + { 0x16,0x1d,0xc3,0x72 }, { 0xbc,0xe2,0x25,0x0c }, + { 0x28,0x3c,0x49,0x8b }, { 0xff,0x0d,0x95,0x41 }, + { 0x39,0xa8,0x01,0x71 }, { 0x08,0x0c,0xb3,0xde }, + { 0xd8,0xb4,0xe4,0x9c }, { 0x64,0x56,0xc1,0x90 }, + { 0x7b,0xcb,0x84,0x61 }, { 0xd5,0x32,0xb6,0x70 }, + { 0x48,0x6c,0x5c,0x74 }, { 0xd0,0xb8,0x57,0x42 } + }; + +static const unsigned char T6[256][4] = + { + { 0x50,0x51,0xf4,0xa7 }, { 0x53,0x7e,0x41,0x65 }, + { 0xc3,0x1a,0x17,0xa4 }, { 0x96,0x3a,0x27,0x5e }, + { 0xcb,0x3b,0xab,0x6b }, { 0xf1,0x1f,0x9d,0x45 }, + { 0xab,0xac,0xfa,0x58 }, { 0x93,0x4b,0xe3,0x03 }, + { 0x55,0x20,0x30,0xfa }, { 0xf6,0xad,0x76,0x6d }, + { 0x91,0x88,0xcc,0x76 }, { 0x25,0xf5,0x02,0x4c }, + { 0xfc,0x4f,0xe5,0xd7 }, { 0xd7,0xc5,0x2a,0xcb }, + { 0x80,0x26,0x35,0x44 }, { 0x8f,0xb5,0x62,0xa3 }, + { 0x49,0xde,0xb1,0x5a }, { 0x67,0x25,0xba,0x1b }, + { 0x98,0x45,0xea,0x0e }, { 0xe1,0x5d,0xfe,0xc0 }, + { 0x02,0xc3,0x2f,0x75 }, { 0x12,0x81,0x4c,0xf0 }, + { 0xa3,0x8d,0x46,0x97 }, { 0xc6,0x6b,0xd3,0xf9 }, + { 0xe7,0x03,0x8f,0x5f }, { 0x95,0x15,0x92,0x9c }, + { 0xeb,0xbf,0x6d,0x7a }, { 0xda,0x95,0x52,0x59 }, + { 0x2d,0xd4,0xbe,0x83 }, { 0xd3,0x58,0x74,0x21 }, + { 0x29,0x49,0xe0,0x69 }, { 0x44,0x8e,0xc9,0xc8 }, + { 0x6a,0x75,0xc2,0x89 }, { 0x78,0xf4,0x8e,0x79 }, + { 0x6b,0x99,0x58,0x3e }, { 0xdd,0x27,0xb9,0x71 }, + { 0xb6,0xbe,0xe1,0x4f }, { 0x17,0xf0,0x88,0xad }, + { 0x66,0xc9,0x20,0xac }, { 0xb4,0x7d,0xce,0x3a }, + { 0x18,0x63,0xdf,0x4a }, { 0x82,0xe5,0x1a,0x31 }, + { 0x60,0x97,0x51,0x33 }, { 0x45,0x62,0x53,0x7f }, + { 0xe0,0xb1,0x64,0x77 }, { 0x84,0xbb,0x6b,0xae }, + { 0x1c,0xfe,0x81,0xa0 }, { 0x94,0xf9,0x08,0x2b }, + { 0x58,0x70,0x48,0x68 }, { 0x19,0x8f,0x45,0xfd }, + { 0x87,0x94,0xde,0x6c }, { 0xb7,0x52,0x7b,0xf8 }, + { 0x23,0xab,0x73,0xd3 }, { 0xe2,0x72,0x4b,0x02 }, + { 0x57,0xe3,0x1f,0x8f }, { 0x2a,0x66,0x55,0xab }, + { 0x07,0xb2,0xeb,0x28 }, { 0x03,0x2f,0xb5,0xc2 }, + { 0x9a,0x86,0xc5,0x7b }, { 0xa5,0xd3,0x37,0x08 }, + { 0xf2,0x30,0x28,0x87 }, { 0xb2,0x23,0xbf,0xa5 }, + { 0xba,0x02,0x03,0x6a }, { 0x5c,0xed,0x16,0x82 }, + { 0x2b,0x8a,0xcf,0x1c }, { 0x92,0xa7,0x79,0xb4 }, + { 0xf0,0xf3,0x07,0xf2 }, { 0xa1,0x4e,0x69,0xe2 }, + { 0xcd,0x65,0xda,0xf4 }, { 0xd5,0x06,0x05,0xbe }, + { 0x1f,0xd1,0x34,0x62 }, { 0x8a,0xc4,0xa6,0xfe }, + { 0x9d,0x34,0x2e,0x53 }, { 0xa0,0xa2,0xf3,0x55 }, + { 0x32,0x05,0x8a,0xe1 }, { 0x75,0xa4,0xf6,0xeb }, + { 0x39,0x0b,0x83,0xec }, { 0xaa,0x40,0x60,0xef }, + { 0x06,0x5e,0x71,0x9f }, { 0x51,0xbd,0x6e,0x10 }, + { 0xf9,0x3e,0x21,0x8a }, { 0x3d,0x96,0xdd,0x06 }, + { 0xae,0xdd,0x3e,0x05 }, { 0x46,0x4d,0xe6,0xbd }, + { 0xb5,0x91,0x54,0x8d }, { 0x05,0x71,0xc4,0x5d }, + { 0x6f,0x04,0x06,0xd4 }, { 0xff,0x60,0x50,0x15 }, + { 0x24,0x19,0x98,0xfb }, { 0x97,0xd6,0xbd,0xe9 }, + { 0xcc,0x89,0x40,0x43 }, { 0x77,0x67,0xd9,0x9e }, + { 0xbd,0xb0,0xe8,0x42 }, { 0x88,0x07,0x89,0x8b }, + { 0x38,0xe7,0x19,0x5b }, { 0xdb,0x79,0xc8,0xee }, + { 0x47,0xa1,0x7c,0x0a }, { 0xe9,0x7c,0x42,0x0f }, + { 0xc9,0xf8,0x84,0x1e }, { 0x00,0x00,0x00,0x00 }, + { 0x83,0x09,0x80,0x86 }, { 0x48,0x32,0x2b,0xed }, + { 0xac,0x1e,0x11,0x70 }, { 0x4e,0x6c,0x5a,0x72 }, + { 0xfb,0xfd,0x0e,0xff }, { 0x56,0x0f,0x85,0x38 }, + { 0x1e,0x3d,0xae,0xd5 }, { 0x27,0x36,0x2d,0x39 }, + { 0x64,0x0a,0x0f,0xd9 }, { 0x21,0x68,0x5c,0xa6 }, + { 0xd1,0x9b,0x5b,0x54 }, { 0x3a,0x24,0x36,0x2e }, + { 0xb1,0x0c,0x0a,0x67 }, { 0x0f,0x93,0x57,0xe7 }, + { 0xd2,0xb4,0xee,0x96 }, { 0x9e,0x1b,0x9b,0x91 }, + { 0x4f,0x80,0xc0,0xc5 }, { 0xa2,0x61,0xdc,0x20 }, + { 0x69,0x5a,0x77,0x4b }, { 0x16,0x1c,0x12,0x1a }, + { 0x0a,0xe2,0x93,0xba }, { 0xe5,0xc0,0xa0,0x2a }, + { 0x43,0x3c,0x22,0xe0 }, { 0x1d,0x12,0x1b,0x17 }, + { 0x0b,0x0e,0x09,0x0d }, { 0xad,0xf2,0x8b,0xc7 }, + { 0xb9,0x2d,0xb6,0xa8 }, { 0xc8,0x14,0x1e,0xa9 }, + { 0x85,0x57,0xf1,0x19 }, { 0x4c,0xaf,0x75,0x07 }, + { 0xbb,0xee,0x99,0xdd }, { 0xfd,0xa3,0x7f,0x60 }, + { 0x9f,0xf7,0x01,0x26 }, { 0xbc,0x5c,0x72,0xf5 }, + { 0xc5,0x44,0x66,0x3b }, { 0x34,0x5b,0xfb,0x7e }, + { 0x76,0x8b,0x43,0x29 }, { 0xdc,0xcb,0x23,0xc6 }, + { 0x68,0xb6,0xed,0xfc }, { 0x63,0xb8,0xe4,0xf1 }, + { 0xca,0xd7,0x31,0xdc }, { 0x10,0x42,0x63,0x85 }, + { 0x40,0x13,0x97,0x22 }, { 0x20,0x84,0xc6,0x11 }, + { 0x7d,0x85,0x4a,0x24 }, { 0xf8,0xd2,0xbb,0x3d }, + { 0x11,0xae,0xf9,0x32 }, { 0x6d,0xc7,0x29,0xa1 }, + { 0x4b,0x1d,0x9e,0x2f }, { 0xf3,0xdc,0xb2,0x30 }, + { 0xec,0x0d,0x86,0x52 }, { 0xd0,0x77,0xc1,0xe3 }, + { 0x6c,0x2b,0xb3,0x16 }, { 0x99,0xa9,0x70,0xb9 }, + { 0xfa,0x11,0x94,0x48 }, { 0x22,0x47,0xe9,0x64 }, + { 0xc4,0xa8,0xfc,0x8c }, { 0x1a,0xa0,0xf0,0x3f }, + { 0xd8,0x56,0x7d,0x2c }, { 0xef,0x22,0x33,0x90 }, + { 0xc7,0x87,0x49,0x4e }, { 0xc1,0xd9,0x38,0xd1 }, + { 0xfe,0x8c,0xca,0xa2 }, { 0x36,0x98,0xd4,0x0b }, + { 0xcf,0xa6,0xf5,0x81 }, { 0x28,0xa5,0x7a,0xde }, + { 0x26,0xda,0xb7,0x8e }, { 0xa4,0x3f,0xad,0xbf }, + { 0xe4,0x2c,0x3a,0x9d }, { 0x0d,0x50,0x78,0x92 }, + { 0x9b,0x6a,0x5f,0xcc }, { 0x62,0x54,0x7e,0x46 }, + { 0xc2,0xf6,0x8d,0x13 }, { 0xe8,0x90,0xd8,0xb8 }, + { 0x5e,0x2e,0x39,0xf7 }, { 0xf5,0x82,0xc3,0xaf }, + { 0xbe,0x9f,0x5d,0x80 }, { 0x7c,0x69,0xd0,0x93 }, + { 0xa9,0x6f,0xd5,0x2d }, { 0xb3,0xcf,0x25,0x12 }, + { 0x3b,0xc8,0xac,0x99 }, { 0xa7,0x10,0x18,0x7d }, + { 0x6e,0xe8,0x9c,0x63 }, { 0x7b,0xdb,0x3b,0xbb }, + { 0x09,0xcd,0x26,0x78 }, { 0xf4,0x6e,0x59,0x18 }, + { 0x01,0xec,0x9a,0xb7 }, { 0xa8,0x83,0x4f,0x9a }, + { 0x65,0xe6,0x95,0x6e }, { 0x7e,0xaa,0xff,0xe6 }, + { 0x08,0x21,0xbc,0xcf }, { 0xe6,0xef,0x15,0xe8 }, + { 0xd9,0xba,0xe7,0x9b }, { 0xce,0x4a,0x6f,0x36 }, + { 0xd4,0xea,0x9f,0x09 }, { 0xd6,0x29,0xb0,0x7c }, + { 0xaf,0x31,0xa4,0xb2 }, { 0x31,0x2a,0x3f,0x23 }, + { 0x30,0xc6,0xa5,0x94 }, { 0xc0,0x35,0xa2,0x66 }, + { 0x37,0x74,0x4e,0xbc }, { 0xa6,0xfc,0x82,0xca }, + { 0xb0,0xe0,0x90,0xd0 }, { 0x15,0x33,0xa7,0xd8 }, + { 0x4a,0xf1,0x04,0x98 }, { 0xf7,0x41,0xec,0xda }, + { 0x0e,0x7f,0xcd,0x50 }, { 0x2f,0x17,0x91,0xf6 }, + { 0x8d,0x76,0x4d,0xd6 }, { 0x4d,0x43,0xef,0xb0 }, + { 0x54,0xcc,0xaa,0x4d }, { 0xdf,0xe4,0x96,0x04 }, + { 0xe3,0x9e,0xd1,0xb5 }, { 0x1b,0x4c,0x6a,0x88 }, + { 0xb8,0xc1,0x2c,0x1f }, { 0x7f,0x46,0x65,0x51 }, + { 0x04,0x9d,0x5e,0xea }, { 0x5d,0x01,0x8c,0x35 }, + { 0x73,0xfa,0x87,0x74 }, { 0x2e,0xfb,0x0b,0x41 }, + { 0x5a,0xb3,0x67,0x1d }, { 0x52,0x92,0xdb,0xd2 }, + { 0x33,0xe9,0x10,0x56 }, { 0x13,0x6d,0xd6,0x47 }, + { 0x8c,0x9a,0xd7,0x61 }, { 0x7a,0x37,0xa1,0x0c }, + { 0x8e,0x59,0xf8,0x14 }, { 0x89,0xeb,0x13,0x3c }, + { 0xee,0xce,0xa9,0x27 }, { 0x35,0xb7,0x61,0xc9 }, + { 0xed,0xe1,0x1c,0xe5 }, { 0x3c,0x7a,0x47,0xb1 }, + { 0x59,0x9c,0xd2,0xdf }, { 0x3f,0x55,0xf2,0x73 }, + { 0x79,0x18,0x14,0xce }, { 0xbf,0x73,0xc7,0x37 }, + { 0xea,0x53,0xf7,0xcd }, { 0x5b,0x5f,0xfd,0xaa }, + { 0x14,0xdf,0x3d,0x6f }, { 0x86,0x78,0x44,0xdb }, + { 0x81,0xca,0xaf,0xf3 }, { 0x3e,0xb9,0x68,0xc4 }, + { 0x2c,0x38,0x24,0x34 }, { 0x5f,0xc2,0xa3,0x40 }, + { 0x72,0x16,0x1d,0xc3 }, { 0x0c,0xbc,0xe2,0x25 }, + { 0x8b,0x28,0x3c,0x49 }, { 0x41,0xff,0x0d,0x95 }, + { 0x71,0x39,0xa8,0x01 }, { 0xde,0x08,0x0c,0xb3 }, + { 0x9c,0xd8,0xb4,0xe4 }, { 0x90,0x64,0x56,0xc1 }, + { 0x61,0x7b,0xcb,0x84 }, { 0x70,0xd5,0x32,0xb6 }, + { 0x74,0x48,0x6c,0x5c }, { 0x42,0xd0,0xb8,0x57 } + }; + +static const unsigned char T7[256][4] = + { + { 0xa7,0x50,0x51,0xf4 }, { 0x65,0x53,0x7e,0x41 }, + { 0xa4,0xc3,0x1a,0x17 }, { 0x5e,0x96,0x3a,0x27 }, + { 0x6b,0xcb,0x3b,0xab }, { 0x45,0xf1,0x1f,0x9d }, + { 0x58,0xab,0xac,0xfa }, { 0x03,0x93,0x4b,0xe3 }, + { 0xfa,0x55,0x20,0x30 }, { 0x6d,0xf6,0xad,0x76 }, + { 0x76,0x91,0x88,0xcc }, { 0x4c,0x25,0xf5,0x02 }, + { 0xd7,0xfc,0x4f,0xe5 }, { 0xcb,0xd7,0xc5,0x2a }, + { 0x44,0x80,0x26,0x35 }, { 0xa3,0x8f,0xb5,0x62 }, + { 0x5a,0x49,0xde,0xb1 }, { 0x1b,0x67,0x25,0xba }, + { 0x0e,0x98,0x45,0xea }, { 0xc0,0xe1,0x5d,0xfe }, + { 0x75,0x02,0xc3,0x2f }, { 0xf0,0x12,0x81,0x4c }, + { 0x97,0xa3,0x8d,0x46 }, { 0xf9,0xc6,0x6b,0xd3 }, + { 0x5f,0xe7,0x03,0x8f }, { 0x9c,0x95,0x15,0x92 }, + { 0x7a,0xeb,0xbf,0x6d }, { 0x59,0xda,0x95,0x52 }, + { 0x83,0x2d,0xd4,0xbe }, { 0x21,0xd3,0x58,0x74 }, + { 0x69,0x29,0x49,0xe0 }, { 0xc8,0x44,0x8e,0xc9 }, + { 0x89,0x6a,0x75,0xc2 }, { 0x79,0x78,0xf4,0x8e }, + { 0x3e,0x6b,0x99,0x58 }, { 0x71,0xdd,0x27,0xb9 }, + { 0x4f,0xb6,0xbe,0xe1 }, { 0xad,0x17,0xf0,0x88 }, + { 0xac,0x66,0xc9,0x20 }, { 0x3a,0xb4,0x7d,0xce }, + { 0x4a,0x18,0x63,0xdf }, { 0x31,0x82,0xe5,0x1a }, + { 0x33,0x60,0x97,0x51 }, { 0x7f,0x45,0x62,0x53 }, + { 0x77,0xe0,0xb1,0x64 }, { 0xae,0x84,0xbb,0x6b }, + { 0xa0,0x1c,0xfe,0x81 }, { 0x2b,0x94,0xf9,0x08 }, + { 0x68,0x58,0x70,0x48 }, { 0xfd,0x19,0x8f,0x45 }, + { 0x6c,0x87,0x94,0xde }, { 0xf8,0xb7,0x52,0x7b }, + { 0xd3,0x23,0xab,0x73 }, { 0x02,0xe2,0x72,0x4b }, + { 0x8f,0x57,0xe3,0x1f }, { 0xab,0x2a,0x66,0x55 }, + { 0x28,0x07,0xb2,0xeb }, { 0xc2,0x03,0x2f,0xb5 }, + { 0x7b,0x9a,0x86,0xc5 }, { 0x08,0xa5,0xd3,0x37 }, + { 0x87,0xf2,0x30,0x28 }, { 0xa5,0xb2,0x23,0xbf }, + { 0x6a,0xba,0x02,0x03 }, { 0x82,0x5c,0xed,0x16 }, + { 0x1c,0x2b,0x8a,0xcf }, { 0xb4,0x92,0xa7,0x79 }, + { 0xf2,0xf0,0xf3,0x07 }, { 0xe2,0xa1,0x4e,0x69 }, + { 0xf4,0xcd,0x65,0xda }, { 0xbe,0xd5,0x06,0x05 }, + { 0x62,0x1f,0xd1,0x34 }, { 0xfe,0x8a,0xc4,0xa6 }, + { 0x53,0x9d,0x34,0x2e }, { 0x55,0xa0,0xa2,0xf3 }, + { 0xe1,0x32,0x05,0x8a }, { 0xeb,0x75,0xa4,0xf6 }, + { 0xec,0x39,0x0b,0x83 }, { 0xef,0xaa,0x40,0x60 }, + { 0x9f,0x06,0x5e,0x71 }, { 0x10,0x51,0xbd,0x6e }, + { 0x8a,0xf9,0x3e,0x21 }, { 0x06,0x3d,0x96,0xdd }, + { 0x05,0xae,0xdd,0x3e }, { 0xbd,0x46,0x4d,0xe6 }, + { 0x8d,0xb5,0x91,0x54 }, { 0x5d,0x05,0x71,0xc4 }, + { 0xd4,0x6f,0x04,0x06 }, { 0x15,0xff,0x60,0x50 }, + { 0xfb,0x24,0x19,0x98 }, { 0xe9,0x97,0xd6,0xbd }, + { 0x43,0xcc,0x89,0x40 }, { 0x9e,0x77,0x67,0xd9 }, + { 0x42,0xbd,0xb0,0xe8 }, { 0x8b,0x88,0x07,0x89 }, + { 0x5b,0x38,0xe7,0x19 }, { 0xee,0xdb,0x79,0xc8 }, + { 0x0a,0x47,0xa1,0x7c }, { 0x0f,0xe9,0x7c,0x42 }, + { 0x1e,0xc9,0xf8,0x84 }, { 0x00,0x00,0x00,0x00 }, + { 0x86,0x83,0x09,0x80 }, { 0xed,0x48,0x32,0x2b }, + { 0x70,0xac,0x1e,0x11 }, { 0x72,0x4e,0x6c,0x5a }, + { 0xff,0xfb,0xfd,0x0e }, { 0x38,0x56,0x0f,0x85 }, + { 0xd5,0x1e,0x3d,0xae }, { 0x39,0x27,0x36,0x2d }, + { 0xd9,0x64,0x0a,0x0f }, { 0xa6,0x21,0x68,0x5c }, + { 0x54,0xd1,0x9b,0x5b }, { 0x2e,0x3a,0x24,0x36 }, + { 0x67,0xb1,0x0c,0x0a }, { 0xe7,0x0f,0x93,0x57 }, + { 0x96,0xd2,0xb4,0xee }, { 0x91,0x9e,0x1b,0x9b }, + { 0xc5,0x4f,0x80,0xc0 }, { 0x20,0xa2,0x61,0xdc }, + { 0x4b,0x69,0x5a,0x77 }, { 0x1a,0x16,0x1c,0x12 }, + { 0xba,0x0a,0xe2,0x93 }, { 0x2a,0xe5,0xc0,0xa0 }, + { 0xe0,0x43,0x3c,0x22 }, { 0x17,0x1d,0x12,0x1b }, + { 0x0d,0x0b,0x0e,0x09 }, { 0xc7,0xad,0xf2,0x8b }, + { 0xa8,0xb9,0x2d,0xb6 }, { 0xa9,0xc8,0x14,0x1e }, + { 0x19,0x85,0x57,0xf1 }, { 0x07,0x4c,0xaf,0x75 }, + { 0xdd,0xbb,0xee,0x99 }, { 0x60,0xfd,0xa3,0x7f }, + { 0x26,0x9f,0xf7,0x01 }, { 0xf5,0xbc,0x5c,0x72 }, + { 0x3b,0xc5,0x44,0x66 }, { 0x7e,0x34,0x5b,0xfb }, + { 0x29,0x76,0x8b,0x43 }, { 0xc6,0xdc,0xcb,0x23 }, + { 0xfc,0x68,0xb6,0xed }, { 0xf1,0x63,0xb8,0xe4 }, + { 0xdc,0xca,0xd7,0x31 }, { 0x85,0x10,0x42,0x63 }, + { 0x22,0x40,0x13,0x97 }, { 0x11,0x20,0x84,0xc6 }, + { 0x24,0x7d,0x85,0x4a }, { 0x3d,0xf8,0xd2,0xbb }, + { 0x32,0x11,0xae,0xf9 }, { 0xa1,0x6d,0xc7,0x29 }, + { 0x2f,0x4b,0x1d,0x9e }, { 0x30,0xf3,0xdc,0xb2 }, + { 0x52,0xec,0x0d,0x86 }, { 0xe3,0xd0,0x77,0xc1 }, + { 0x16,0x6c,0x2b,0xb3 }, { 0xb9,0x99,0xa9,0x70 }, + { 0x48,0xfa,0x11,0x94 }, { 0x64,0x22,0x47,0xe9 }, + { 0x8c,0xc4,0xa8,0xfc }, { 0x3f,0x1a,0xa0,0xf0 }, + { 0x2c,0xd8,0x56,0x7d }, { 0x90,0xef,0x22,0x33 }, + { 0x4e,0xc7,0x87,0x49 }, { 0xd1,0xc1,0xd9,0x38 }, + { 0xa2,0xfe,0x8c,0xca }, { 0x0b,0x36,0x98,0xd4 }, + { 0x81,0xcf,0xa6,0xf5 }, { 0xde,0x28,0xa5,0x7a }, + { 0x8e,0x26,0xda,0xb7 }, { 0xbf,0xa4,0x3f,0xad }, + { 0x9d,0xe4,0x2c,0x3a }, { 0x92,0x0d,0x50,0x78 }, + { 0xcc,0x9b,0x6a,0x5f }, { 0x46,0x62,0x54,0x7e }, + { 0x13,0xc2,0xf6,0x8d }, { 0xb8,0xe8,0x90,0xd8 }, + { 0xf7,0x5e,0x2e,0x39 }, { 0xaf,0xf5,0x82,0xc3 }, + { 0x80,0xbe,0x9f,0x5d }, { 0x93,0x7c,0x69,0xd0 }, + { 0x2d,0xa9,0x6f,0xd5 }, { 0x12,0xb3,0xcf,0x25 }, + { 0x99,0x3b,0xc8,0xac }, { 0x7d,0xa7,0x10,0x18 }, + { 0x63,0x6e,0xe8,0x9c }, { 0xbb,0x7b,0xdb,0x3b }, + { 0x78,0x09,0xcd,0x26 }, { 0x18,0xf4,0x6e,0x59 }, + { 0xb7,0x01,0xec,0x9a }, { 0x9a,0xa8,0x83,0x4f }, + { 0x6e,0x65,0xe6,0x95 }, { 0xe6,0x7e,0xaa,0xff }, + { 0xcf,0x08,0x21,0xbc }, { 0xe8,0xe6,0xef,0x15 }, + { 0x9b,0xd9,0xba,0xe7 }, { 0x36,0xce,0x4a,0x6f }, + { 0x09,0xd4,0xea,0x9f }, { 0x7c,0xd6,0x29,0xb0 }, + { 0xb2,0xaf,0x31,0xa4 }, { 0x23,0x31,0x2a,0x3f }, + { 0x94,0x30,0xc6,0xa5 }, { 0x66,0xc0,0x35,0xa2 }, + { 0xbc,0x37,0x74,0x4e }, { 0xca,0xa6,0xfc,0x82 }, + { 0xd0,0xb0,0xe0,0x90 }, { 0xd8,0x15,0x33,0xa7 }, + { 0x98,0x4a,0xf1,0x04 }, { 0xda,0xf7,0x41,0xec }, + { 0x50,0x0e,0x7f,0xcd }, { 0xf6,0x2f,0x17,0x91 }, + { 0xd6,0x8d,0x76,0x4d }, { 0xb0,0x4d,0x43,0xef }, + { 0x4d,0x54,0xcc,0xaa }, { 0x04,0xdf,0xe4,0x96 }, + { 0xb5,0xe3,0x9e,0xd1 }, { 0x88,0x1b,0x4c,0x6a }, + { 0x1f,0xb8,0xc1,0x2c }, { 0x51,0x7f,0x46,0x65 }, + { 0xea,0x04,0x9d,0x5e }, { 0x35,0x5d,0x01,0x8c }, + { 0x74,0x73,0xfa,0x87 }, { 0x41,0x2e,0xfb,0x0b }, + { 0x1d,0x5a,0xb3,0x67 }, { 0xd2,0x52,0x92,0xdb }, + { 0x56,0x33,0xe9,0x10 }, { 0x47,0x13,0x6d,0xd6 }, + { 0x61,0x8c,0x9a,0xd7 }, { 0x0c,0x7a,0x37,0xa1 }, + { 0x14,0x8e,0x59,0xf8 }, { 0x3c,0x89,0xeb,0x13 }, + { 0x27,0xee,0xce,0xa9 }, { 0xc9,0x35,0xb7,0x61 }, + { 0xe5,0xed,0xe1,0x1c }, { 0xb1,0x3c,0x7a,0x47 }, + { 0xdf,0x59,0x9c,0xd2 }, { 0x73,0x3f,0x55,0xf2 }, + { 0xce,0x79,0x18,0x14 }, { 0x37,0xbf,0x73,0xc7 }, + { 0xcd,0xea,0x53,0xf7 }, { 0xaa,0x5b,0x5f,0xfd }, + { 0x6f,0x14,0xdf,0x3d }, { 0xdb,0x86,0x78,0x44 }, + { 0xf3,0x81,0xca,0xaf }, { 0xc4,0x3e,0xb9,0x68 }, + { 0x34,0x2c,0x38,0x24 }, { 0x40,0x5f,0xc2,0xa3 }, + { 0xc3,0x72,0x16,0x1d }, { 0x25,0x0c,0xbc,0xe2 }, + { 0x49,0x8b,0x28,0x3c }, { 0x95,0x41,0xff,0x0d }, + { 0x01,0x71,0x39,0xa8 }, { 0xb3,0xde,0x08,0x0c }, + { 0xe4,0x9c,0xd8,0xb4 }, { 0xc1,0x90,0x64,0x56 }, + { 0x84,0x61,0x7b,0xcb }, { 0xb6,0x70,0xd5,0x32 }, + { 0x5c,0x74,0x48,0x6c }, { 0x57,0x42,0xd0,0xb8 } + }; + +static const unsigned char T8[256][4] = + { + { 0xf4,0xa7,0x50,0x51 }, { 0x41,0x65,0x53,0x7e }, + { 0x17,0xa4,0xc3,0x1a }, { 0x27,0x5e,0x96,0x3a }, + { 0xab,0x6b,0xcb,0x3b }, { 0x9d,0x45,0xf1,0x1f }, + { 0xfa,0x58,0xab,0xac }, { 0xe3,0x03,0x93,0x4b }, + { 0x30,0xfa,0x55,0x20 }, { 0x76,0x6d,0xf6,0xad }, + { 0xcc,0x76,0x91,0x88 }, { 0x02,0x4c,0x25,0xf5 }, + { 0xe5,0xd7,0xfc,0x4f }, { 0x2a,0xcb,0xd7,0xc5 }, + { 0x35,0x44,0x80,0x26 }, { 0x62,0xa3,0x8f,0xb5 }, + { 0xb1,0x5a,0x49,0xde }, { 0xba,0x1b,0x67,0x25 }, + { 0xea,0x0e,0x98,0x45 }, { 0xfe,0xc0,0xe1,0x5d }, + { 0x2f,0x75,0x02,0xc3 }, { 0x4c,0xf0,0x12,0x81 }, + { 0x46,0x97,0xa3,0x8d }, { 0xd3,0xf9,0xc6,0x6b }, + { 0x8f,0x5f,0xe7,0x03 }, { 0x92,0x9c,0x95,0x15 }, + { 0x6d,0x7a,0xeb,0xbf }, { 0x52,0x59,0xda,0x95 }, + { 0xbe,0x83,0x2d,0xd4 }, { 0x74,0x21,0xd3,0x58 }, + { 0xe0,0x69,0x29,0x49 }, { 0xc9,0xc8,0x44,0x8e }, + { 0xc2,0x89,0x6a,0x75 }, { 0x8e,0x79,0x78,0xf4 }, + { 0x58,0x3e,0x6b,0x99 }, { 0xb9,0x71,0xdd,0x27 }, + { 0xe1,0x4f,0xb6,0xbe }, { 0x88,0xad,0x17,0xf0 }, + { 0x20,0xac,0x66,0xc9 }, { 0xce,0x3a,0xb4,0x7d }, + { 0xdf,0x4a,0x18,0x63 }, { 0x1a,0x31,0x82,0xe5 }, + { 0x51,0x33,0x60,0x97 }, { 0x53,0x7f,0x45,0x62 }, + { 0x64,0x77,0xe0,0xb1 }, { 0x6b,0xae,0x84,0xbb }, + { 0x81,0xa0,0x1c,0xfe }, { 0x08,0x2b,0x94,0xf9 }, + { 0x48,0x68,0x58,0x70 }, { 0x45,0xfd,0x19,0x8f }, + { 0xde,0x6c,0x87,0x94 }, { 0x7b,0xf8,0xb7,0x52 }, + { 0x73,0xd3,0x23,0xab }, { 0x4b,0x02,0xe2,0x72 }, + { 0x1f,0x8f,0x57,0xe3 }, { 0x55,0xab,0x2a,0x66 }, + { 0xeb,0x28,0x07,0xb2 }, { 0xb5,0xc2,0x03,0x2f }, + { 0xc5,0x7b,0x9a,0x86 }, { 0x37,0x08,0xa5,0xd3 }, + { 0x28,0x87,0xf2,0x30 }, { 0xbf,0xa5,0xb2,0x23 }, + { 0x03,0x6a,0xba,0x02 }, { 0x16,0x82,0x5c,0xed }, + { 0xcf,0x1c,0x2b,0x8a }, { 0x79,0xb4,0x92,0xa7 }, + { 0x07,0xf2,0xf0,0xf3 }, { 0x69,0xe2,0xa1,0x4e }, + { 0xda,0xf4,0xcd,0x65 }, { 0x05,0xbe,0xd5,0x06 }, + { 0x34,0x62,0x1f,0xd1 }, { 0xa6,0xfe,0x8a,0xc4 }, + { 0x2e,0x53,0x9d,0x34 }, { 0xf3,0x55,0xa0,0xa2 }, + { 0x8a,0xe1,0x32,0x05 }, { 0xf6,0xeb,0x75,0xa4 }, + { 0x83,0xec,0x39,0x0b }, { 0x60,0xef,0xaa,0x40 }, + { 0x71,0x9f,0x06,0x5e }, { 0x6e,0x10,0x51,0xbd }, + { 0x21,0x8a,0xf9,0x3e }, { 0xdd,0x06,0x3d,0x96 }, + { 0x3e,0x05,0xae,0xdd }, { 0xe6,0xbd,0x46,0x4d }, + { 0x54,0x8d,0xb5,0x91 }, { 0xc4,0x5d,0x05,0x71 }, + { 0x06,0xd4,0x6f,0x04 }, { 0x50,0x15,0xff,0x60 }, + { 0x98,0xfb,0x24,0x19 }, { 0xbd,0xe9,0x97,0xd6 }, + { 0x40,0x43,0xcc,0x89 }, { 0xd9,0x9e,0x77,0x67 }, + { 0xe8,0x42,0xbd,0xb0 }, { 0x89,0x8b,0x88,0x07 }, + { 0x19,0x5b,0x38,0xe7 }, { 0xc8,0xee,0xdb,0x79 }, + { 0x7c,0x0a,0x47,0xa1 }, { 0x42,0x0f,0xe9,0x7c }, + { 0x84,0x1e,0xc9,0xf8 }, { 0x00,0x00,0x00,0x00 }, + { 0x80,0x86,0x83,0x09 }, { 0x2b,0xed,0x48,0x32 }, + { 0x11,0x70,0xac,0x1e }, { 0x5a,0x72,0x4e,0x6c }, + { 0x0e,0xff,0xfb,0xfd }, { 0x85,0x38,0x56,0x0f }, + { 0xae,0xd5,0x1e,0x3d }, { 0x2d,0x39,0x27,0x36 }, + { 0x0f,0xd9,0x64,0x0a }, { 0x5c,0xa6,0x21,0x68 }, + { 0x5b,0x54,0xd1,0x9b }, { 0x36,0x2e,0x3a,0x24 }, + { 0x0a,0x67,0xb1,0x0c }, { 0x57,0xe7,0x0f,0x93 }, + { 0xee,0x96,0xd2,0xb4 }, { 0x9b,0x91,0x9e,0x1b }, + { 0xc0,0xc5,0x4f,0x80 }, { 0xdc,0x20,0xa2,0x61 }, + { 0x77,0x4b,0x69,0x5a }, { 0x12,0x1a,0x16,0x1c }, + { 0x93,0xba,0x0a,0xe2 }, { 0xa0,0x2a,0xe5,0xc0 }, + { 0x22,0xe0,0x43,0x3c }, { 0x1b,0x17,0x1d,0x12 }, + { 0x09,0x0d,0x0b,0x0e }, { 0x8b,0xc7,0xad,0xf2 }, + { 0xb6,0xa8,0xb9,0x2d }, { 0x1e,0xa9,0xc8,0x14 }, + { 0xf1,0x19,0x85,0x57 }, { 0x75,0x07,0x4c,0xaf }, + { 0x99,0xdd,0xbb,0xee }, { 0x7f,0x60,0xfd,0xa3 }, + { 0x01,0x26,0x9f,0xf7 }, { 0x72,0xf5,0xbc,0x5c }, + { 0x66,0x3b,0xc5,0x44 }, { 0xfb,0x7e,0x34,0x5b }, + { 0x43,0x29,0x76,0x8b }, { 0x23,0xc6,0xdc,0xcb }, + { 0xed,0xfc,0x68,0xb6 }, { 0xe4,0xf1,0x63,0xb8 }, + { 0x31,0xdc,0xca,0xd7 }, { 0x63,0x85,0x10,0x42 }, + { 0x97,0x22,0x40,0x13 }, { 0xc6,0x11,0x20,0x84 }, + { 0x4a,0x24,0x7d,0x85 }, { 0xbb,0x3d,0xf8,0xd2 }, + { 0xf9,0x32,0x11,0xae }, { 0x29,0xa1,0x6d,0xc7 }, + { 0x9e,0x2f,0x4b,0x1d }, { 0xb2,0x30,0xf3,0xdc }, + { 0x86,0x52,0xec,0x0d }, { 0xc1,0xe3,0xd0,0x77 }, + { 0xb3,0x16,0x6c,0x2b }, { 0x70,0xb9,0x99,0xa9 }, + { 0x94,0x48,0xfa,0x11 }, { 0xe9,0x64,0x22,0x47 }, + { 0xfc,0x8c,0xc4,0xa8 }, { 0xf0,0x3f,0x1a,0xa0 }, + { 0x7d,0x2c,0xd8,0x56 }, { 0x33,0x90,0xef,0x22 }, + { 0x49,0x4e,0xc7,0x87 }, { 0x38,0xd1,0xc1,0xd9 }, + { 0xca,0xa2,0xfe,0x8c }, { 0xd4,0x0b,0x36,0x98 }, + { 0xf5,0x81,0xcf,0xa6 }, { 0x7a,0xde,0x28,0xa5 }, + { 0xb7,0x8e,0x26,0xda }, { 0xad,0xbf,0xa4,0x3f }, + { 0x3a,0x9d,0xe4,0x2c }, { 0x78,0x92,0x0d,0x50 }, + { 0x5f,0xcc,0x9b,0x6a }, { 0x7e,0x46,0x62,0x54 }, + { 0x8d,0x13,0xc2,0xf6 }, { 0xd8,0xb8,0xe8,0x90 }, + { 0x39,0xf7,0x5e,0x2e }, { 0xc3,0xaf,0xf5,0x82 }, + { 0x5d,0x80,0xbe,0x9f }, { 0xd0,0x93,0x7c,0x69 }, + { 0xd5,0x2d,0xa9,0x6f }, { 0x25,0x12,0xb3,0xcf }, + { 0xac,0x99,0x3b,0xc8 }, { 0x18,0x7d,0xa7,0x10 }, + { 0x9c,0x63,0x6e,0xe8 }, { 0x3b,0xbb,0x7b,0xdb }, + { 0x26,0x78,0x09,0xcd }, { 0x59,0x18,0xf4,0x6e }, + { 0x9a,0xb7,0x01,0xec }, { 0x4f,0x9a,0xa8,0x83 }, + { 0x95,0x6e,0x65,0xe6 }, { 0xff,0xe6,0x7e,0xaa }, + { 0xbc,0xcf,0x08,0x21 }, { 0x15,0xe8,0xe6,0xef }, + { 0xe7,0x9b,0xd9,0xba }, { 0x6f,0x36,0xce,0x4a }, + { 0x9f,0x09,0xd4,0xea }, { 0xb0,0x7c,0xd6,0x29 }, + { 0xa4,0xb2,0xaf,0x31 }, { 0x3f,0x23,0x31,0x2a }, + { 0xa5,0x94,0x30,0xc6 }, { 0xa2,0x66,0xc0,0x35 }, + { 0x4e,0xbc,0x37,0x74 }, { 0x82,0xca,0xa6,0xfc }, + { 0x90,0xd0,0xb0,0xe0 }, { 0xa7,0xd8,0x15,0x33 }, + { 0x04,0x98,0x4a,0xf1 }, { 0xec,0xda,0xf7,0x41 }, + { 0xcd,0x50,0x0e,0x7f }, { 0x91,0xf6,0x2f,0x17 }, + { 0x4d,0xd6,0x8d,0x76 }, { 0xef,0xb0,0x4d,0x43 }, + { 0xaa,0x4d,0x54,0xcc }, { 0x96,0x04,0xdf,0xe4 }, + { 0xd1,0xb5,0xe3,0x9e }, { 0x6a,0x88,0x1b,0x4c }, + { 0x2c,0x1f,0xb8,0xc1 }, { 0x65,0x51,0x7f,0x46 }, + { 0x5e,0xea,0x04,0x9d }, { 0x8c,0x35,0x5d,0x01 }, + { 0x87,0x74,0x73,0xfa }, { 0x0b,0x41,0x2e,0xfb }, + { 0x67,0x1d,0x5a,0xb3 }, { 0xdb,0xd2,0x52,0x92 }, + { 0x10,0x56,0x33,0xe9 }, { 0xd6,0x47,0x13,0x6d }, + { 0xd7,0x61,0x8c,0x9a }, { 0xa1,0x0c,0x7a,0x37 }, + { 0xf8,0x14,0x8e,0x59 }, { 0x13,0x3c,0x89,0xeb }, + { 0xa9,0x27,0xee,0xce }, { 0x61,0xc9,0x35,0xb7 }, + { 0x1c,0xe5,0xed,0xe1 }, { 0x47,0xb1,0x3c,0x7a }, + { 0xd2,0xdf,0x59,0x9c }, { 0xf2,0x73,0x3f,0x55 }, + { 0x14,0xce,0x79,0x18 }, { 0xc7,0x37,0xbf,0x73 }, + { 0xf7,0xcd,0xea,0x53 }, { 0xfd,0xaa,0x5b,0x5f }, + { 0x3d,0x6f,0x14,0xdf }, { 0x44,0xdb,0x86,0x78 }, + { 0xaf,0xf3,0x81,0xca }, { 0x68,0xc4,0x3e,0xb9 }, + { 0x24,0x34,0x2c,0x38 }, { 0xa3,0x40,0x5f,0xc2 }, + { 0x1d,0xc3,0x72,0x16 }, { 0xe2,0x25,0x0c,0xbc }, + { 0x3c,0x49,0x8b,0x28 }, { 0x0d,0x95,0x41,0xff }, + { 0xa8,0x01,0x71,0x39 }, { 0x0c,0xb3,0xde,0x08 }, + { 0xb4,0xe4,0x9c,0xd8 }, { 0x56,0xc1,0x90,0x64 }, + { 0xcb,0x84,0x61,0x7b }, { 0x32,0xb6,0x70,0xd5 }, + { 0x6c,0x5c,0x74,0x48 }, { 0xb8,0x57,0x42,0xd0 } + }; + +static const unsigned char S5[256] = + { + 0x52,0x09,0x6a,0xd5,0x30,0x36,0xa5,0x38, + 0xbf,0x40,0xa3,0x9e,0x81,0xf3,0xd7,0xfb, + 0x7c,0xe3,0x39,0x82,0x9b,0x2f,0xff,0x87, + 0x34,0x8e,0x43,0x44,0xc4,0xde,0xe9,0xcb, + 0x54,0x7b,0x94,0x32,0xa6,0xc2,0x23,0x3d, + 0xee,0x4c,0x95,0x0b,0x42,0xfa,0xc3,0x4e, + 0x08,0x2e,0xa1,0x66,0x28,0xd9,0x24,0xb2, + 0x76,0x5b,0xa2,0x49,0x6d,0x8b,0xd1,0x25, + 0x72,0xf8,0xf6,0x64,0x86,0x68,0x98,0x16, + 0xd4,0xa4,0x5c,0xcc,0x5d,0x65,0xb6,0x92, + 0x6c,0x70,0x48,0x50,0xfd,0xed,0xb9,0xda, + 0x5e,0x15,0x46,0x57,0xa7,0x8d,0x9d,0x84, + 0x90,0xd8,0xab,0x00,0x8c,0xbc,0xd3,0x0a, + 0xf7,0xe4,0x58,0x05,0xb8,0xb3,0x45,0x06, + 0xd0,0x2c,0x1e,0x8f,0xca,0x3f,0x0f,0x02, + 0xc1,0xaf,0xbd,0x03,0x01,0x13,0x8a,0x6b, + 0x3a,0x91,0x11,0x41,0x4f,0x67,0xdc,0xea, + 0x97,0xf2,0xcf,0xce,0xf0,0xb4,0xe6,0x73, + 0x96,0xac,0x74,0x22,0xe7,0xad,0x35,0x85, + 0xe2,0xf9,0x37,0xe8,0x1c,0x75,0xdf,0x6e, + 0x47,0xf1,0x1a,0x71,0x1d,0x29,0xc5,0x89, + 0x6f,0xb7,0x62,0x0e,0xaa,0x18,0xbe,0x1b, + 0xfc,0x56,0x3e,0x4b,0xc6,0xd2,0x79,0x20, + 0x9a,0xdb,0xc0,0xfe,0x78,0xcd,0x5a,0xf4, + 0x1f,0xdd,0xa8,0x33,0x88,0x07,0xc7,0x31, + 0xb1,0x12,0x10,0x59,0x27,0x80,0xec,0x5f, + 0x60,0x51,0x7f,0xa9,0x19,0xb5,0x4a,0x0d, + 0x2d,0xe5,0x7a,0x9f,0x93,0xc9,0x9c,0xef, + 0xa0,0xe0,0x3b,0x4d,0xae,0x2a,0xf5,0xb0, + 0xc8,0xeb,0xbb,0x3c,0x83,0x53,0x99,0x61, + 0x17,0x2b,0x04,0x7e,0xba,0x77,0xd6,0x26, + 0xe1,0x69,0x14,0x63,0x55,0x21,0x0c,0x7d + }; + +static const unsigned char U1[256][4] = + { + { 0x00,0x00,0x00,0x00 }, { 0x0e,0x09,0x0d,0x0b }, + { 0x1c,0x12,0x1a,0x16 }, { 0x12,0x1b,0x17,0x1d }, + { 0x38,0x24,0x34,0x2c }, { 0x36,0x2d,0x39,0x27 }, + { 0x24,0x36,0x2e,0x3a }, { 0x2a,0x3f,0x23,0x31 }, + { 0x70,0x48,0x68,0x58 }, { 0x7e,0x41,0x65,0x53 }, + { 0x6c,0x5a,0x72,0x4e }, { 0x62,0x53,0x7f,0x45 }, + { 0x48,0x6c,0x5c,0x74 }, { 0x46,0x65,0x51,0x7f }, + { 0x54,0x7e,0x46,0x62 }, { 0x5a,0x77,0x4b,0x69 }, + { 0xe0,0x90,0xd0,0xb0 }, { 0xee,0x99,0xdd,0xbb }, + { 0xfc,0x82,0xca,0xa6 }, { 0xf2,0x8b,0xc7,0xad }, + { 0xd8,0xb4,0xe4,0x9c }, { 0xd6,0xbd,0xe9,0x97 }, + { 0xc4,0xa6,0xfe,0x8a }, { 0xca,0xaf,0xf3,0x81 }, + { 0x90,0xd8,0xb8,0xe8 }, { 0x9e,0xd1,0xb5,0xe3 }, + { 0x8c,0xca,0xa2,0xfe }, { 0x82,0xc3,0xaf,0xf5 }, + { 0xa8,0xfc,0x8c,0xc4 }, { 0xa6,0xf5,0x81,0xcf }, + { 0xb4,0xee,0x96,0xd2 }, { 0xba,0xe7,0x9b,0xd9 }, + { 0xdb,0x3b,0xbb,0x7b }, { 0xd5,0x32,0xb6,0x70 }, + { 0xc7,0x29,0xa1,0x6d }, { 0xc9,0x20,0xac,0x66 }, + { 0xe3,0x1f,0x8f,0x57 }, { 0xed,0x16,0x82,0x5c }, + { 0xff,0x0d,0x95,0x41 }, { 0xf1,0x04,0x98,0x4a }, + { 0xab,0x73,0xd3,0x23 }, { 0xa5,0x7a,0xde,0x28 }, + { 0xb7,0x61,0xc9,0x35 }, { 0xb9,0x68,0xc4,0x3e }, + { 0x93,0x57,0xe7,0x0f }, { 0x9d,0x5e,0xea,0x04 }, + { 0x8f,0x45,0xfd,0x19 }, { 0x81,0x4c,0xf0,0x12 }, + { 0x3b,0xab,0x6b,0xcb }, { 0x35,0xa2,0x66,0xc0 }, + { 0x27,0xb9,0x71,0xdd }, { 0x29,0xb0,0x7c,0xd6 }, + { 0x03,0x8f,0x5f,0xe7 }, { 0x0d,0x86,0x52,0xec }, + { 0x1f,0x9d,0x45,0xf1 }, { 0x11,0x94,0x48,0xfa }, + { 0x4b,0xe3,0x03,0x93 }, { 0x45,0xea,0x0e,0x98 }, + { 0x57,0xf1,0x19,0x85 }, { 0x59,0xf8,0x14,0x8e }, + { 0x73,0xc7,0x37,0xbf }, { 0x7d,0xce,0x3a,0xb4 }, + { 0x6f,0xd5,0x2d,0xa9 }, { 0x61,0xdc,0x20,0xa2 }, + { 0xad,0x76,0x6d,0xf6 }, { 0xa3,0x7f,0x60,0xfd }, + { 0xb1,0x64,0x77,0xe0 }, { 0xbf,0x6d,0x7a,0xeb }, + { 0x95,0x52,0x59,0xda }, { 0x9b,0x5b,0x54,0xd1 }, + { 0x89,0x40,0x43,0xcc }, { 0x87,0x49,0x4e,0xc7 }, + { 0xdd,0x3e,0x05,0xae }, { 0xd3,0x37,0x08,0xa5 }, + { 0xc1,0x2c,0x1f,0xb8 }, { 0xcf,0x25,0x12,0xb3 }, + { 0xe5,0x1a,0x31,0x82 }, { 0xeb,0x13,0x3c,0x89 }, + { 0xf9,0x08,0x2b,0x94 }, { 0xf7,0x01,0x26,0x9f }, + { 0x4d,0xe6,0xbd,0x46 }, { 0x43,0xef,0xb0,0x4d }, + { 0x51,0xf4,0xa7,0x50 }, { 0x5f,0xfd,0xaa,0x5b }, + { 0x75,0xc2,0x89,0x6a }, { 0x7b,0xcb,0x84,0x61 }, + { 0x69,0xd0,0x93,0x7c }, { 0x67,0xd9,0x9e,0x77 }, + { 0x3d,0xae,0xd5,0x1e }, { 0x33,0xa7,0xd8,0x15 }, + { 0x21,0xbc,0xcf,0x08 }, { 0x2f,0xb5,0xc2,0x03 }, + { 0x05,0x8a,0xe1,0x32 }, { 0x0b,0x83,0xec,0x39 }, + { 0x19,0x98,0xfb,0x24 }, { 0x17,0x91,0xf6,0x2f }, + { 0x76,0x4d,0xd6,0x8d }, { 0x78,0x44,0xdb,0x86 }, + { 0x6a,0x5f,0xcc,0x9b }, { 0x64,0x56,0xc1,0x90 }, + { 0x4e,0x69,0xe2,0xa1 }, { 0x40,0x60,0xef,0xaa }, + { 0x52,0x7b,0xf8,0xb7 }, { 0x5c,0x72,0xf5,0xbc }, + { 0x06,0x05,0xbe,0xd5 }, { 0x08,0x0c,0xb3,0xde }, + { 0x1a,0x17,0xa4,0xc3 }, { 0x14,0x1e,0xa9,0xc8 }, + { 0x3e,0x21,0x8a,0xf9 }, { 0x30,0x28,0x87,0xf2 }, + { 0x22,0x33,0x90,0xef }, { 0x2c,0x3a,0x9d,0xe4 }, + { 0x96,0xdd,0x06,0x3d }, { 0x98,0xd4,0x0b,0x36 }, + { 0x8a,0xcf,0x1c,0x2b }, { 0x84,0xc6,0x11,0x20 }, + { 0xae,0xf9,0x32,0x11 }, { 0xa0,0xf0,0x3f,0x1a }, + { 0xb2,0xeb,0x28,0x07 }, { 0xbc,0xe2,0x25,0x0c }, + { 0xe6,0x95,0x6e,0x65 }, { 0xe8,0x9c,0x63,0x6e }, + { 0xfa,0x87,0x74,0x73 }, { 0xf4,0x8e,0x79,0x78 }, + { 0xde,0xb1,0x5a,0x49 }, { 0xd0,0xb8,0x57,0x42 }, + { 0xc2,0xa3,0x40,0x5f }, { 0xcc,0xaa,0x4d,0x54 }, + { 0x41,0xec,0xda,0xf7 }, { 0x4f,0xe5,0xd7,0xfc }, + { 0x5d,0xfe,0xc0,0xe1 }, { 0x53,0xf7,0xcd,0xea }, + { 0x79,0xc8,0xee,0xdb }, { 0x77,0xc1,0xe3,0xd0 }, + { 0x65,0xda,0xf4,0xcd }, { 0x6b,0xd3,0xf9,0xc6 }, + { 0x31,0xa4,0xb2,0xaf }, { 0x3f,0xad,0xbf,0xa4 }, + { 0x2d,0xb6,0xa8,0xb9 }, { 0x23,0xbf,0xa5,0xb2 }, + { 0x09,0x80,0x86,0x83 }, { 0x07,0x89,0x8b,0x88 }, + { 0x15,0x92,0x9c,0x95 }, { 0x1b,0x9b,0x91,0x9e }, + { 0xa1,0x7c,0x0a,0x47 }, { 0xaf,0x75,0x07,0x4c }, + { 0xbd,0x6e,0x10,0x51 }, { 0xb3,0x67,0x1d,0x5a }, + { 0x99,0x58,0x3e,0x6b }, { 0x97,0x51,0x33,0x60 }, + { 0x85,0x4a,0x24,0x7d }, { 0x8b,0x43,0x29,0x76 }, + { 0xd1,0x34,0x62,0x1f }, { 0xdf,0x3d,0x6f,0x14 }, + { 0xcd,0x26,0x78,0x09 }, { 0xc3,0x2f,0x75,0x02 }, + { 0xe9,0x10,0x56,0x33 }, { 0xe7,0x19,0x5b,0x38 }, + { 0xf5,0x02,0x4c,0x25 }, { 0xfb,0x0b,0x41,0x2e }, + { 0x9a,0xd7,0x61,0x8c }, { 0x94,0xde,0x6c,0x87 }, + { 0x86,0xc5,0x7b,0x9a }, { 0x88,0xcc,0x76,0x91 }, + { 0xa2,0xf3,0x55,0xa0 }, { 0xac,0xfa,0x58,0xab }, + { 0xbe,0xe1,0x4f,0xb6 }, { 0xb0,0xe8,0x42,0xbd }, + { 0xea,0x9f,0x09,0xd4 }, { 0xe4,0x96,0x04,0xdf }, + { 0xf6,0x8d,0x13,0xc2 }, { 0xf8,0x84,0x1e,0xc9 }, + { 0xd2,0xbb,0x3d,0xf8 }, { 0xdc,0xb2,0x30,0xf3 }, + { 0xce,0xa9,0x27,0xee }, { 0xc0,0xa0,0x2a,0xe5 }, + { 0x7a,0x47,0xb1,0x3c }, { 0x74,0x4e,0xbc,0x37 }, + { 0x66,0x55,0xab,0x2a }, { 0x68,0x5c,0xa6,0x21 }, + { 0x42,0x63,0x85,0x10 }, { 0x4c,0x6a,0x88,0x1b }, + { 0x5e,0x71,0x9f,0x06 }, { 0x50,0x78,0x92,0x0d }, + { 0x0a,0x0f,0xd9,0x64 }, { 0x04,0x06,0xd4,0x6f }, + { 0x16,0x1d,0xc3,0x72 }, { 0x18,0x14,0xce,0x79 }, + { 0x32,0x2b,0xed,0x48 }, { 0x3c,0x22,0xe0,0x43 }, + { 0x2e,0x39,0xf7,0x5e }, { 0x20,0x30,0xfa,0x55 }, + { 0xec,0x9a,0xb7,0x01 }, { 0xe2,0x93,0xba,0x0a }, + { 0xf0,0x88,0xad,0x17 }, { 0xfe,0x81,0xa0,0x1c }, + { 0xd4,0xbe,0x83,0x2d }, { 0xda,0xb7,0x8e,0x26 }, + { 0xc8,0xac,0x99,0x3b }, { 0xc6,0xa5,0x94,0x30 }, + { 0x9c,0xd2,0xdf,0x59 }, { 0x92,0xdb,0xd2,0x52 }, + { 0x80,0xc0,0xc5,0x4f }, { 0x8e,0xc9,0xc8,0x44 }, + { 0xa4,0xf6,0xeb,0x75 }, { 0xaa,0xff,0xe6,0x7e }, + { 0xb8,0xe4,0xf1,0x63 }, { 0xb6,0xed,0xfc,0x68 }, + { 0x0c,0x0a,0x67,0xb1 }, { 0x02,0x03,0x6a,0xba }, + { 0x10,0x18,0x7d,0xa7 }, { 0x1e,0x11,0x70,0xac }, + { 0x34,0x2e,0x53,0x9d }, { 0x3a,0x27,0x5e,0x96 }, + { 0x28,0x3c,0x49,0x8b }, { 0x26,0x35,0x44,0x80 }, + { 0x7c,0x42,0x0f,0xe9 }, { 0x72,0x4b,0x02,0xe2 }, + { 0x60,0x50,0x15,0xff }, { 0x6e,0x59,0x18,0xf4 }, + { 0x44,0x66,0x3b,0xc5 }, { 0x4a,0x6f,0x36,0xce }, + { 0x58,0x74,0x21,0xd3 }, { 0x56,0x7d,0x2c,0xd8 }, + { 0x37,0xa1,0x0c,0x7a }, { 0x39,0xa8,0x01,0x71 }, + { 0x2b,0xb3,0x16,0x6c }, { 0x25,0xba,0x1b,0x67 }, + { 0x0f,0x85,0x38,0x56 }, { 0x01,0x8c,0x35,0x5d }, + { 0x13,0x97,0x22,0x40 }, { 0x1d,0x9e,0x2f,0x4b }, + { 0x47,0xe9,0x64,0x22 }, { 0x49,0xe0,0x69,0x29 }, + { 0x5b,0xfb,0x7e,0x34 }, { 0x55,0xf2,0x73,0x3f }, + { 0x7f,0xcd,0x50,0x0e }, { 0x71,0xc4,0x5d,0x05 }, + { 0x63,0xdf,0x4a,0x18 }, { 0x6d,0xd6,0x47,0x13 }, + { 0xd7,0x31,0xdc,0xca }, { 0xd9,0x38,0xd1,0xc1 }, + { 0xcb,0x23,0xc6,0xdc }, { 0xc5,0x2a,0xcb,0xd7 }, + { 0xef,0x15,0xe8,0xe6 }, { 0xe1,0x1c,0xe5,0xed }, + { 0xf3,0x07,0xf2,0xf0 }, { 0xfd,0x0e,0xff,0xfb }, + { 0xa7,0x79,0xb4,0x92 }, { 0xa9,0x70,0xb9,0x99 }, + { 0xbb,0x6b,0xae,0x84 }, { 0xb5,0x62,0xa3,0x8f }, + { 0x9f,0x5d,0x80,0xbe }, { 0x91,0x54,0x8d,0xb5 }, + { 0x83,0x4f,0x9a,0xa8 }, { 0x8d,0x46,0x97,0xa3 } + }; + +static const unsigned char U2[256][4] = + { + { 0x00,0x00,0x00,0x00 }, { 0x0b,0x0e,0x09,0x0d }, + { 0x16,0x1c,0x12,0x1a }, { 0x1d,0x12,0x1b,0x17 }, + { 0x2c,0x38,0x24,0x34 }, { 0x27,0x36,0x2d,0x39 }, + { 0x3a,0x24,0x36,0x2e }, { 0x31,0x2a,0x3f,0x23 }, + { 0x58,0x70,0x48,0x68 }, { 0x53,0x7e,0x41,0x65 }, + { 0x4e,0x6c,0x5a,0x72 }, { 0x45,0x62,0x53,0x7f }, + { 0x74,0x48,0x6c,0x5c }, { 0x7f,0x46,0x65,0x51 }, + { 0x62,0x54,0x7e,0x46 }, { 0x69,0x5a,0x77,0x4b }, + { 0xb0,0xe0,0x90,0xd0 }, { 0xbb,0xee,0x99,0xdd }, + { 0xa6,0xfc,0x82,0xca }, { 0xad,0xf2,0x8b,0xc7 }, + { 0x9c,0xd8,0xb4,0xe4 }, { 0x97,0xd6,0xbd,0xe9 }, + { 0x8a,0xc4,0xa6,0xfe }, { 0x81,0xca,0xaf,0xf3 }, + { 0xe8,0x90,0xd8,0xb8 }, { 0xe3,0x9e,0xd1,0xb5 }, + { 0xfe,0x8c,0xca,0xa2 }, { 0xf5,0x82,0xc3,0xaf }, + { 0xc4,0xa8,0xfc,0x8c }, { 0xcf,0xa6,0xf5,0x81 }, + { 0xd2,0xb4,0xee,0x96 }, { 0xd9,0xba,0xe7,0x9b }, + { 0x7b,0xdb,0x3b,0xbb }, { 0x70,0xd5,0x32,0xb6 }, + { 0x6d,0xc7,0x29,0xa1 }, { 0x66,0xc9,0x20,0xac }, + { 0x57,0xe3,0x1f,0x8f }, { 0x5c,0xed,0x16,0x82 }, + { 0x41,0xff,0x0d,0x95 }, { 0x4a,0xf1,0x04,0x98 }, + { 0x23,0xab,0x73,0xd3 }, { 0x28,0xa5,0x7a,0xde }, + { 0x35,0xb7,0x61,0xc9 }, { 0x3e,0xb9,0x68,0xc4 }, + { 0x0f,0x93,0x57,0xe7 }, { 0x04,0x9d,0x5e,0xea }, + { 0x19,0x8f,0x45,0xfd }, { 0x12,0x81,0x4c,0xf0 }, + { 0xcb,0x3b,0xab,0x6b }, { 0xc0,0x35,0xa2,0x66 }, + { 0xdd,0x27,0xb9,0x71 }, { 0xd6,0x29,0xb0,0x7c }, + { 0xe7,0x03,0x8f,0x5f }, { 0xec,0x0d,0x86,0x52 }, + { 0xf1,0x1f,0x9d,0x45 }, { 0xfa,0x11,0x94,0x48 }, + { 0x93,0x4b,0xe3,0x03 }, { 0x98,0x45,0xea,0x0e }, + { 0x85,0x57,0xf1,0x19 }, { 0x8e,0x59,0xf8,0x14 }, + { 0xbf,0x73,0xc7,0x37 }, { 0xb4,0x7d,0xce,0x3a }, + { 0xa9,0x6f,0xd5,0x2d }, { 0xa2,0x61,0xdc,0x20 }, + { 0xf6,0xad,0x76,0x6d }, { 0xfd,0xa3,0x7f,0x60 }, + { 0xe0,0xb1,0x64,0x77 }, { 0xeb,0xbf,0x6d,0x7a }, + { 0xda,0x95,0x52,0x59 }, { 0xd1,0x9b,0x5b,0x54 }, + { 0xcc,0x89,0x40,0x43 }, { 0xc7,0x87,0x49,0x4e }, + { 0xae,0xdd,0x3e,0x05 }, { 0xa5,0xd3,0x37,0x08 }, + { 0xb8,0xc1,0x2c,0x1f }, { 0xb3,0xcf,0x25,0x12 }, + { 0x82,0xe5,0x1a,0x31 }, { 0x89,0xeb,0x13,0x3c }, + { 0x94,0xf9,0x08,0x2b }, { 0x9f,0xf7,0x01,0x26 }, + { 0x46,0x4d,0xe6,0xbd }, { 0x4d,0x43,0xef,0xb0 }, + { 0x50,0x51,0xf4,0xa7 }, { 0x5b,0x5f,0xfd,0xaa }, + { 0x6a,0x75,0xc2,0x89 }, { 0x61,0x7b,0xcb,0x84 }, + { 0x7c,0x69,0xd0,0x93 }, { 0x77,0x67,0xd9,0x9e }, + { 0x1e,0x3d,0xae,0xd5 }, { 0x15,0x33,0xa7,0xd8 }, + { 0x08,0x21,0xbc,0xcf }, { 0x03,0x2f,0xb5,0xc2 }, + { 0x32,0x05,0x8a,0xe1 }, { 0x39,0x0b,0x83,0xec }, + { 0x24,0x19,0x98,0xfb }, { 0x2f,0x17,0x91,0xf6 }, + { 0x8d,0x76,0x4d,0xd6 }, { 0x86,0x78,0x44,0xdb }, + { 0x9b,0x6a,0x5f,0xcc }, { 0x90,0x64,0x56,0xc1 }, + { 0xa1,0x4e,0x69,0xe2 }, { 0xaa,0x40,0x60,0xef }, + { 0xb7,0x52,0x7b,0xf8 }, { 0xbc,0x5c,0x72,0xf5 }, + { 0xd5,0x06,0x05,0xbe }, { 0xde,0x08,0x0c,0xb3 }, + { 0xc3,0x1a,0x17,0xa4 }, { 0xc8,0x14,0x1e,0xa9 }, + { 0xf9,0x3e,0x21,0x8a }, { 0xf2,0x30,0x28,0x87 }, + { 0xef,0x22,0x33,0x90 }, { 0xe4,0x2c,0x3a,0x9d }, + { 0x3d,0x96,0xdd,0x06 }, { 0x36,0x98,0xd4,0x0b }, + { 0x2b,0x8a,0xcf,0x1c }, { 0x20,0x84,0xc6,0x11 }, + { 0x11,0xae,0xf9,0x32 }, { 0x1a,0xa0,0xf0,0x3f }, + { 0x07,0xb2,0xeb,0x28 }, { 0x0c,0xbc,0xe2,0x25 }, + { 0x65,0xe6,0x95,0x6e }, { 0x6e,0xe8,0x9c,0x63 }, + { 0x73,0xfa,0x87,0x74 }, { 0x78,0xf4,0x8e,0x79 }, + { 0x49,0xde,0xb1,0x5a }, { 0x42,0xd0,0xb8,0x57 }, + { 0x5f,0xc2,0xa3,0x40 }, { 0x54,0xcc,0xaa,0x4d }, + { 0xf7,0x41,0xec,0xda }, { 0xfc,0x4f,0xe5,0xd7 }, + { 0xe1,0x5d,0xfe,0xc0 }, { 0xea,0x53,0xf7,0xcd }, + { 0xdb,0x79,0xc8,0xee }, { 0xd0,0x77,0xc1,0xe3 }, + { 0xcd,0x65,0xda,0xf4 }, { 0xc6,0x6b,0xd3,0xf9 }, + { 0xaf,0x31,0xa4,0xb2 }, { 0xa4,0x3f,0xad,0xbf }, + { 0xb9,0x2d,0xb6,0xa8 }, { 0xb2,0x23,0xbf,0xa5 }, + { 0x83,0x09,0x80,0x86 }, { 0x88,0x07,0x89,0x8b }, + { 0x95,0x15,0x92,0x9c }, { 0x9e,0x1b,0x9b,0x91 }, + { 0x47,0xa1,0x7c,0x0a }, { 0x4c,0xaf,0x75,0x07 }, + { 0x51,0xbd,0x6e,0x10 }, { 0x5a,0xb3,0x67,0x1d }, + { 0x6b,0x99,0x58,0x3e }, { 0x60,0x97,0x51,0x33 }, + { 0x7d,0x85,0x4a,0x24 }, { 0x76,0x8b,0x43,0x29 }, + { 0x1f,0xd1,0x34,0x62 }, { 0x14,0xdf,0x3d,0x6f }, + { 0x09,0xcd,0x26,0x78 }, { 0x02,0xc3,0x2f,0x75 }, + { 0x33,0xe9,0x10,0x56 }, { 0x38,0xe7,0x19,0x5b }, + { 0x25,0xf5,0x02,0x4c }, { 0x2e,0xfb,0x0b,0x41 }, + { 0x8c,0x9a,0xd7,0x61 }, { 0x87,0x94,0xde,0x6c }, + { 0x9a,0x86,0xc5,0x7b }, { 0x91,0x88,0xcc,0x76 }, + { 0xa0,0xa2,0xf3,0x55 }, { 0xab,0xac,0xfa,0x58 }, + { 0xb6,0xbe,0xe1,0x4f }, { 0xbd,0xb0,0xe8,0x42 }, + { 0xd4,0xea,0x9f,0x09 }, { 0xdf,0xe4,0x96,0x04 }, + { 0xc2,0xf6,0x8d,0x13 }, { 0xc9,0xf8,0x84,0x1e }, + { 0xf8,0xd2,0xbb,0x3d }, { 0xf3,0xdc,0xb2,0x30 }, + { 0xee,0xce,0xa9,0x27 }, { 0xe5,0xc0,0xa0,0x2a }, + { 0x3c,0x7a,0x47,0xb1 }, { 0x37,0x74,0x4e,0xbc }, + { 0x2a,0x66,0x55,0xab }, { 0x21,0x68,0x5c,0xa6 }, + { 0x10,0x42,0x63,0x85 }, { 0x1b,0x4c,0x6a,0x88 }, + { 0x06,0x5e,0x71,0x9f }, { 0x0d,0x50,0x78,0x92 }, + { 0x64,0x0a,0x0f,0xd9 }, { 0x6f,0x04,0x06,0xd4 }, + { 0x72,0x16,0x1d,0xc3 }, { 0x79,0x18,0x14,0xce }, + { 0x48,0x32,0x2b,0xed }, { 0x43,0x3c,0x22,0xe0 }, + { 0x5e,0x2e,0x39,0xf7 }, { 0x55,0x20,0x30,0xfa }, + { 0x01,0xec,0x9a,0xb7 }, { 0x0a,0xe2,0x93,0xba }, + { 0x17,0xf0,0x88,0xad }, { 0x1c,0xfe,0x81,0xa0 }, + { 0x2d,0xd4,0xbe,0x83 }, { 0x26,0xda,0xb7,0x8e }, + { 0x3b,0xc8,0xac,0x99 }, { 0x30,0xc6,0xa5,0x94 }, + { 0x59,0x9c,0xd2,0xdf }, { 0x52,0x92,0xdb,0xd2 }, + { 0x4f,0x80,0xc0,0xc5 }, { 0x44,0x8e,0xc9,0xc8 }, + { 0x75,0xa4,0xf6,0xeb }, { 0x7e,0xaa,0xff,0xe6 }, + { 0x63,0xb8,0xe4,0xf1 }, { 0x68,0xb6,0xed,0xfc }, + { 0xb1,0x0c,0x0a,0x67 }, { 0xba,0x02,0x03,0x6a }, + { 0xa7,0x10,0x18,0x7d }, { 0xac,0x1e,0x11,0x70 }, + { 0x9d,0x34,0x2e,0x53 }, { 0x96,0x3a,0x27,0x5e }, + { 0x8b,0x28,0x3c,0x49 }, { 0x80,0x26,0x35,0x44 }, + { 0xe9,0x7c,0x42,0x0f }, { 0xe2,0x72,0x4b,0x02 }, + { 0xff,0x60,0x50,0x15 }, { 0xf4,0x6e,0x59,0x18 }, + { 0xc5,0x44,0x66,0x3b }, { 0xce,0x4a,0x6f,0x36 }, + { 0xd3,0x58,0x74,0x21 }, { 0xd8,0x56,0x7d,0x2c }, + { 0x7a,0x37,0xa1,0x0c }, { 0x71,0x39,0xa8,0x01 }, + { 0x6c,0x2b,0xb3,0x16 }, { 0x67,0x25,0xba,0x1b }, + { 0x56,0x0f,0x85,0x38 }, { 0x5d,0x01,0x8c,0x35 }, + { 0x40,0x13,0x97,0x22 }, { 0x4b,0x1d,0x9e,0x2f }, + { 0x22,0x47,0xe9,0x64 }, { 0x29,0x49,0xe0,0x69 }, + { 0x34,0x5b,0xfb,0x7e }, { 0x3f,0x55,0xf2,0x73 }, + { 0x0e,0x7f,0xcd,0x50 }, { 0x05,0x71,0xc4,0x5d }, + { 0x18,0x63,0xdf,0x4a }, { 0x13,0x6d,0xd6,0x47 }, + { 0xca,0xd7,0x31,0xdc }, { 0xc1,0xd9,0x38,0xd1 }, + { 0xdc,0xcb,0x23,0xc6 }, { 0xd7,0xc5,0x2a,0xcb }, + { 0xe6,0xef,0x15,0xe8 }, { 0xed,0xe1,0x1c,0xe5 }, + { 0xf0,0xf3,0x07,0xf2 }, { 0xfb,0xfd,0x0e,0xff }, + { 0x92,0xa7,0x79,0xb4 }, { 0x99,0xa9,0x70,0xb9 }, + { 0x84,0xbb,0x6b,0xae }, { 0x8f,0xb5,0x62,0xa3 }, + { 0xbe,0x9f,0x5d,0x80 }, { 0xb5,0x91,0x54,0x8d }, + { 0xa8,0x83,0x4f,0x9a }, { 0xa3,0x8d,0x46,0x97 } + }; + +static const unsigned char U3[256][4] = + { + { 0x00,0x00,0x00,0x00 }, { 0x0d,0x0b,0x0e,0x09 }, + { 0x1a,0x16,0x1c,0x12 }, { 0x17,0x1d,0x12,0x1b }, + { 0x34,0x2c,0x38,0x24 }, { 0x39,0x27,0x36,0x2d }, + { 0x2e,0x3a,0x24,0x36 }, { 0x23,0x31,0x2a,0x3f }, + { 0x68,0x58,0x70,0x48 }, { 0x65,0x53,0x7e,0x41 }, + { 0x72,0x4e,0x6c,0x5a }, { 0x7f,0x45,0x62,0x53 }, + { 0x5c,0x74,0x48,0x6c }, { 0x51,0x7f,0x46,0x65 }, + { 0x46,0x62,0x54,0x7e }, { 0x4b,0x69,0x5a,0x77 }, + { 0xd0,0xb0,0xe0,0x90 }, { 0xdd,0xbb,0xee,0x99 }, + { 0xca,0xa6,0xfc,0x82 }, { 0xc7,0xad,0xf2,0x8b }, + { 0xe4,0x9c,0xd8,0xb4 }, { 0xe9,0x97,0xd6,0xbd }, + { 0xfe,0x8a,0xc4,0xa6 }, { 0xf3,0x81,0xca,0xaf }, + { 0xb8,0xe8,0x90,0xd8 }, { 0xb5,0xe3,0x9e,0xd1 }, + { 0xa2,0xfe,0x8c,0xca }, { 0xaf,0xf5,0x82,0xc3 }, + { 0x8c,0xc4,0xa8,0xfc }, { 0x81,0xcf,0xa6,0xf5 }, + { 0x96,0xd2,0xb4,0xee }, { 0x9b,0xd9,0xba,0xe7 }, + { 0xbb,0x7b,0xdb,0x3b }, { 0xb6,0x70,0xd5,0x32 }, + { 0xa1,0x6d,0xc7,0x29 }, { 0xac,0x66,0xc9,0x20 }, + { 0x8f,0x57,0xe3,0x1f }, { 0x82,0x5c,0xed,0x16 }, + { 0x95,0x41,0xff,0x0d }, { 0x98,0x4a,0xf1,0x04 }, + { 0xd3,0x23,0xab,0x73 }, { 0xde,0x28,0xa5,0x7a }, + { 0xc9,0x35,0xb7,0x61 }, { 0xc4,0x3e,0xb9,0x68 }, + { 0xe7,0x0f,0x93,0x57 }, { 0xea,0x04,0x9d,0x5e }, + { 0xfd,0x19,0x8f,0x45 }, { 0xf0,0x12,0x81,0x4c }, + { 0x6b,0xcb,0x3b,0xab }, { 0x66,0xc0,0x35,0xa2 }, + { 0x71,0xdd,0x27,0xb9 }, { 0x7c,0xd6,0x29,0xb0 }, + { 0x5f,0xe7,0x03,0x8f }, { 0x52,0xec,0x0d,0x86 }, + { 0x45,0xf1,0x1f,0x9d }, { 0x48,0xfa,0x11,0x94 }, + { 0x03,0x93,0x4b,0xe3 }, { 0x0e,0x98,0x45,0xea }, + { 0x19,0x85,0x57,0xf1 }, { 0x14,0x8e,0x59,0xf8 }, + { 0x37,0xbf,0x73,0xc7 }, { 0x3a,0xb4,0x7d,0xce }, + { 0x2d,0xa9,0x6f,0xd5 }, { 0x20,0xa2,0x61,0xdc }, + { 0x6d,0xf6,0xad,0x76 }, { 0x60,0xfd,0xa3,0x7f }, + { 0x77,0xe0,0xb1,0x64 }, { 0x7a,0xeb,0xbf,0x6d }, + { 0x59,0xda,0x95,0x52 }, { 0x54,0xd1,0x9b,0x5b }, + { 0x43,0xcc,0x89,0x40 }, { 0x4e,0xc7,0x87,0x49 }, + { 0x05,0xae,0xdd,0x3e }, { 0x08,0xa5,0xd3,0x37 }, + { 0x1f,0xb8,0xc1,0x2c }, { 0x12,0xb3,0xcf,0x25 }, + { 0x31,0x82,0xe5,0x1a }, { 0x3c,0x89,0xeb,0x13 }, + { 0x2b,0x94,0xf9,0x08 }, { 0x26,0x9f,0xf7,0x01 }, + { 0xbd,0x46,0x4d,0xe6 }, { 0xb0,0x4d,0x43,0xef }, + { 0xa7,0x50,0x51,0xf4 }, { 0xaa,0x5b,0x5f,0xfd }, + { 0x89,0x6a,0x75,0xc2 }, { 0x84,0x61,0x7b,0xcb }, + { 0x93,0x7c,0x69,0xd0 }, { 0x9e,0x77,0x67,0xd9 }, + { 0xd5,0x1e,0x3d,0xae }, { 0xd8,0x15,0x33,0xa7 }, + { 0xcf,0x08,0x21,0xbc }, { 0xc2,0x03,0x2f,0xb5 }, + { 0xe1,0x32,0x05,0x8a }, { 0xec,0x39,0x0b,0x83 }, + { 0xfb,0x24,0x19,0x98 }, { 0xf6,0x2f,0x17,0x91 }, + { 0xd6,0x8d,0x76,0x4d }, { 0xdb,0x86,0x78,0x44 }, + { 0xcc,0x9b,0x6a,0x5f }, { 0xc1,0x90,0x64,0x56 }, + { 0xe2,0xa1,0x4e,0x69 }, { 0xef,0xaa,0x40,0x60 }, + { 0xf8,0xb7,0x52,0x7b }, { 0xf5,0xbc,0x5c,0x72 }, + { 0xbe,0xd5,0x06,0x05 }, { 0xb3,0xde,0x08,0x0c }, + { 0xa4,0xc3,0x1a,0x17 }, { 0xa9,0xc8,0x14,0x1e }, + { 0x8a,0xf9,0x3e,0x21 }, { 0x87,0xf2,0x30,0x28 }, + { 0x90,0xef,0x22,0x33 }, { 0x9d,0xe4,0x2c,0x3a }, + { 0x06,0x3d,0x96,0xdd }, { 0x0b,0x36,0x98,0xd4 }, + { 0x1c,0x2b,0x8a,0xcf }, { 0x11,0x20,0x84,0xc6 }, + { 0x32,0x11,0xae,0xf9 }, { 0x3f,0x1a,0xa0,0xf0 }, + { 0x28,0x07,0xb2,0xeb }, { 0x25,0x0c,0xbc,0xe2 }, + { 0x6e,0x65,0xe6,0x95 }, { 0x63,0x6e,0xe8,0x9c }, + { 0x74,0x73,0xfa,0x87 }, { 0x79,0x78,0xf4,0x8e }, + { 0x5a,0x49,0xde,0xb1 }, { 0x57,0x42,0xd0,0xb8 }, + { 0x40,0x5f,0xc2,0xa3 }, { 0x4d,0x54,0xcc,0xaa }, + { 0xda,0xf7,0x41,0xec }, { 0xd7,0xfc,0x4f,0xe5 }, + { 0xc0,0xe1,0x5d,0xfe }, { 0xcd,0xea,0x53,0xf7 }, + { 0xee,0xdb,0x79,0xc8 }, { 0xe3,0xd0,0x77,0xc1 }, + { 0xf4,0xcd,0x65,0xda }, { 0xf9,0xc6,0x6b,0xd3 }, + { 0xb2,0xaf,0x31,0xa4 }, { 0xbf,0xa4,0x3f,0xad }, + { 0xa8,0xb9,0x2d,0xb6 }, { 0xa5,0xb2,0x23,0xbf }, + { 0x86,0x83,0x09,0x80 }, { 0x8b,0x88,0x07,0x89 }, + { 0x9c,0x95,0x15,0x92 }, { 0x91,0x9e,0x1b,0x9b }, + { 0x0a,0x47,0xa1,0x7c }, { 0x07,0x4c,0xaf,0x75 }, + { 0x10,0x51,0xbd,0x6e }, { 0x1d,0x5a,0xb3,0x67 }, + { 0x3e,0x6b,0x99,0x58 }, { 0x33,0x60,0x97,0x51 }, + { 0x24,0x7d,0x85,0x4a }, { 0x29,0x76,0x8b,0x43 }, + { 0x62,0x1f,0xd1,0x34 }, { 0x6f,0x14,0xdf,0x3d }, + { 0x78,0x09,0xcd,0x26 }, { 0x75,0x02,0xc3,0x2f }, + { 0x56,0x33,0xe9,0x10 }, { 0x5b,0x38,0xe7,0x19 }, + { 0x4c,0x25,0xf5,0x02 }, { 0x41,0x2e,0xfb,0x0b }, + { 0x61,0x8c,0x9a,0xd7 }, { 0x6c,0x87,0x94,0xde }, + { 0x7b,0x9a,0x86,0xc5 }, { 0x76,0x91,0x88,0xcc }, + { 0x55,0xa0,0xa2,0xf3 }, { 0x58,0xab,0xac,0xfa }, + { 0x4f,0xb6,0xbe,0xe1 }, { 0x42,0xbd,0xb0,0xe8 }, + { 0x09,0xd4,0xea,0x9f }, { 0x04,0xdf,0xe4,0x96 }, + { 0x13,0xc2,0xf6,0x8d }, { 0x1e,0xc9,0xf8,0x84 }, + { 0x3d,0xf8,0xd2,0xbb }, { 0x30,0xf3,0xdc,0xb2 }, + { 0x27,0xee,0xce,0xa9 }, { 0x2a,0xe5,0xc0,0xa0 }, + { 0xb1,0x3c,0x7a,0x47 }, { 0xbc,0x37,0x74,0x4e }, + { 0xab,0x2a,0x66,0x55 }, { 0xa6,0x21,0x68,0x5c }, + { 0x85,0x10,0x42,0x63 }, { 0x88,0x1b,0x4c,0x6a }, + { 0x9f,0x06,0x5e,0x71 }, { 0x92,0x0d,0x50,0x78 }, + { 0xd9,0x64,0x0a,0x0f }, { 0xd4,0x6f,0x04,0x06 }, + { 0xc3,0x72,0x16,0x1d }, { 0xce,0x79,0x18,0x14 }, + { 0xed,0x48,0x32,0x2b }, { 0xe0,0x43,0x3c,0x22 }, + { 0xf7,0x5e,0x2e,0x39 }, { 0xfa,0x55,0x20,0x30 }, + { 0xb7,0x01,0xec,0x9a }, { 0xba,0x0a,0xe2,0x93 }, + { 0xad,0x17,0xf0,0x88 }, { 0xa0,0x1c,0xfe,0x81 }, + { 0x83,0x2d,0xd4,0xbe }, { 0x8e,0x26,0xda,0xb7 }, + { 0x99,0x3b,0xc8,0xac }, { 0x94,0x30,0xc6,0xa5 }, + { 0xdf,0x59,0x9c,0xd2 }, { 0xd2,0x52,0x92,0xdb }, + { 0xc5,0x4f,0x80,0xc0 }, { 0xc8,0x44,0x8e,0xc9 }, + { 0xeb,0x75,0xa4,0xf6 }, { 0xe6,0x7e,0xaa,0xff }, + { 0xf1,0x63,0xb8,0xe4 }, { 0xfc,0x68,0xb6,0xed }, + { 0x67,0xb1,0x0c,0x0a }, { 0x6a,0xba,0x02,0x03 }, + { 0x7d,0xa7,0x10,0x18 }, { 0x70,0xac,0x1e,0x11 }, + { 0x53,0x9d,0x34,0x2e }, { 0x5e,0x96,0x3a,0x27 }, + { 0x49,0x8b,0x28,0x3c }, { 0x44,0x80,0x26,0x35 }, + { 0x0f,0xe9,0x7c,0x42 }, { 0x02,0xe2,0x72,0x4b }, + { 0x15,0xff,0x60,0x50 }, { 0x18,0xf4,0x6e,0x59 }, + { 0x3b,0xc5,0x44,0x66 }, { 0x36,0xce,0x4a,0x6f }, + { 0x21,0xd3,0x58,0x74 }, { 0x2c,0xd8,0x56,0x7d }, + { 0x0c,0x7a,0x37,0xa1 }, { 0x01,0x71,0x39,0xa8 }, + { 0x16,0x6c,0x2b,0xb3 }, { 0x1b,0x67,0x25,0xba }, + { 0x38,0x56,0x0f,0x85 }, { 0x35,0x5d,0x01,0x8c }, + { 0x22,0x40,0x13,0x97 }, { 0x2f,0x4b,0x1d,0x9e }, + { 0x64,0x22,0x47,0xe9 }, { 0x69,0x29,0x49,0xe0 }, + { 0x7e,0x34,0x5b,0xfb }, { 0x73,0x3f,0x55,0xf2 }, + { 0x50,0x0e,0x7f,0xcd }, { 0x5d,0x05,0x71,0xc4 }, + { 0x4a,0x18,0x63,0xdf }, { 0x47,0x13,0x6d,0xd6 }, + { 0xdc,0xca,0xd7,0x31 }, { 0xd1,0xc1,0xd9,0x38 }, + { 0xc6,0xdc,0xcb,0x23 }, { 0xcb,0xd7,0xc5,0x2a }, + { 0xe8,0xe6,0xef,0x15 }, { 0xe5,0xed,0xe1,0x1c }, + { 0xf2,0xf0,0xf3,0x07 }, { 0xff,0xfb,0xfd,0x0e }, + { 0xb4,0x92,0xa7,0x79 }, { 0xb9,0x99,0xa9,0x70 }, + { 0xae,0x84,0xbb,0x6b }, { 0xa3,0x8f,0xb5,0x62 }, + { 0x80,0xbe,0x9f,0x5d }, { 0x8d,0xb5,0x91,0x54 }, + { 0x9a,0xa8,0x83,0x4f }, { 0x97,0xa3,0x8d,0x46 } + }; + +static const unsigned char U4[256][4] = + { + { 0x00,0x00,0x00,0x00 }, { 0x09,0x0d,0x0b,0x0e }, + { 0x12,0x1a,0x16,0x1c }, { 0x1b,0x17,0x1d,0x12 }, + { 0x24,0x34,0x2c,0x38 }, { 0x2d,0x39,0x27,0x36 }, + { 0x36,0x2e,0x3a,0x24 }, { 0x3f,0x23,0x31,0x2a }, + { 0x48,0x68,0x58,0x70 }, { 0x41,0x65,0x53,0x7e }, + { 0x5a,0x72,0x4e,0x6c }, { 0x53,0x7f,0x45,0x62 }, + { 0x6c,0x5c,0x74,0x48 }, { 0x65,0x51,0x7f,0x46 }, + { 0x7e,0x46,0x62,0x54 }, { 0x77,0x4b,0x69,0x5a }, + { 0x90,0xd0,0xb0,0xe0 }, { 0x99,0xdd,0xbb,0xee }, + { 0x82,0xca,0xa6,0xfc }, { 0x8b,0xc7,0xad,0xf2 }, + { 0xb4,0xe4,0x9c,0xd8 }, { 0xbd,0xe9,0x97,0xd6 }, + { 0xa6,0xfe,0x8a,0xc4 }, { 0xaf,0xf3,0x81,0xca }, + { 0xd8,0xb8,0xe8,0x90 }, { 0xd1,0xb5,0xe3,0x9e }, + { 0xca,0xa2,0xfe,0x8c }, { 0xc3,0xaf,0xf5,0x82 }, + { 0xfc,0x8c,0xc4,0xa8 }, { 0xf5,0x81,0xcf,0xa6 }, + { 0xee,0x96,0xd2,0xb4 }, { 0xe7,0x9b,0xd9,0xba }, + { 0x3b,0xbb,0x7b,0xdb }, { 0x32,0xb6,0x70,0xd5 }, + { 0x29,0xa1,0x6d,0xc7 }, { 0x20,0xac,0x66,0xc9 }, + { 0x1f,0x8f,0x57,0xe3 }, { 0x16,0x82,0x5c,0xed }, + { 0x0d,0x95,0x41,0xff }, { 0x04,0x98,0x4a,0xf1 }, + { 0x73,0xd3,0x23,0xab }, { 0x7a,0xde,0x28,0xa5 }, + { 0x61,0xc9,0x35,0xb7 }, { 0x68,0xc4,0x3e,0xb9 }, + { 0x57,0xe7,0x0f,0x93 }, { 0x5e,0xea,0x04,0x9d }, + { 0x45,0xfd,0x19,0x8f }, { 0x4c,0xf0,0x12,0x81 }, + { 0xab,0x6b,0xcb,0x3b }, { 0xa2,0x66,0xc0,0x35 }, + { 0xb9,0x71,0xdd,0x27 }, { 0xb0,0x7c,0xd6,0x29 }, + { 0x8f,0x5f,0xe7,0x03 }, { 0x86,0x52,0xec,0x0d }, + { 0x9d,0x45,0xf1,0x1f }, { 0x94,0x48,0xfa,0x11 }, + { 0xe3,0x03,0x93,0x4b }, { 0xea,0x0e,0x98,0x45 }, + { 0xf1,0x19,0x85,0x57 }, { 0xf8,0x14,0x8e,0x59 }, + { 0xc7,0x37,0xbf,0x73 }, { 0xce,0x3a,0xb4,0x7d }, + { 0xd5,0x2d,0xa9,0x6f }, { 0xdc,0x20,0xa2,0x61 }, + { 0x76,0x6d,0xf6,0xad }, { 0x7f,0x60,0xfd,0xa3 }, + { 0x64,0x77,0xe0,0xb1 }, { 0x6d,0x7a,0xeb,0xbf }, + { 0x52,0x59,0xda,0x95 }, { 0x5b,0x54,0xd1,0x9b }, + { 0x40,0x43,0xcc,0x89 }, { 0x49,0x4e,0xc7,0x87 }, + { 0x3e,0x05,0xae,0xdd }, { 0x37,0x08,0xa5,0xd3 }, + { 0x2c,0x1f,0xb8,0xc1 }, { 0x25,0x12,0xb3,0xcf }, + { 0x1a,0x31,0x82,0xe5 }, { 0x13,0x3c,0x89,0xeb }, + { 0x08,0x2b,0x94,0xf9 }, { 0x01,0x26,0x9f,0xf7 }, + { 0xe6,0xbd,0x46,0x4d }, { 0xef,0xb0,0x4d,0x43 }, + { 0xf4,0xa7,0x50,0x51 }, { 0xfd,0xaa,0x5b,0x5f }, + { 0xc2,0x89,0x6a,0x75 }, { 0xcb,0x84,0x61,0x7b }, + { 0xd0,0x93,0x7c,0x69 }, { 0xd9,0x9e,0x77,0x67 }, + { 0xae,0xd5,0x1e,0x3d }, { 0xa7,0xd8,0x15,0x33 }, + { 0xbc,0xcf,0x08,0x21 }, { 0xb5,0xc2,0x03,0x2f }, + { 0x8a,0xe1,0x32,0x05 }, { 0x83,0xec,0x39,0x0b }, + { 0x98,0xfb,0x24,0x19 }, { 0x91,0xf6,0x2f,0x17 }, + { 0x4d,0xd6,0x8d,0x76 }, { 0x44,0xdb,0x86,0x78 }, + { 0x5f,0xcc,0x9b,0x6a }, { 0x56,0xc1,0x90,0x64 }, + { 0x69,0xe2,0xa1,0x4e }, { 0x60,0xef,0xaa,0x40 }, + { 0x7b,0xf8,0xb7,0x52 }, { 0x72,0xf5,0xbc,0x5c }, + { 0x05,0xbe,0xd5,0x06 }, { 0x0c,0xb3,0xde,0x08 }, + { 0x17,0xa4,0xc3,0x1a }, { 0x1e,0xa9,0xc8,0x14 }, + { 0x21,0x8a,0xf9,0x3e }, { 0x28,0x87,0xf2,0x30 }, + { 0x33,0x90,0xef,0x22 }, { 0x3a,0x9d,0xe4,0x2c }, + { 0xdd,0x06,0x3d,0x96 }, { 0xd4,0x0b,0x36,0x98 }, + { 0xcf,0x1c,0x2b,0x8a }, { 0xc6,0x11,0x20,0x84 }, + { 0xf9,0x32,0x11,0xae }, { 0xf0,0x3f,0x1a,0xa0 }, + { 0xeb,0x28,0x07,0xb2 }, { 0xe2,0x25,0x0c,0xbc }, + { 0x95,0x6e,0x65,0xe6 }, { 0x9c,0x63,0x6e,0xe8 }, + { 0x87,0x74,0x73,0xfa }, { 0x8e,0x79,0x78,0xf4 }, + { 0xb1,0x5a,0x49,0xde }, { 0xb8,0x57,0x42,0xd0 }, + { 0xa3,0x40,0x5f,0xc2 }, { 0xaa,0x4d,0x54,0xcc }, + { 0xec,0xda,0xf7,0x41 }, { 0xe5,0xd7,0xfc,0x4f }, + { 0xfe,0xc0,0xe1,0x5d }, { 0xf7,0xcd,0xea,0x53 }, + { 0xc8,0xee,0xdb,0x79 }, { 0xc1,0xe3,0xd0,0x77 }, + { 0xda,0xf4,0xcd,0x65 }, { 0xd3,0xf9,0xc6,0x6b }, + { 0xa4,0xb2,0xaf,0x31 }, { 0xad,0xbf,0xa4,0x3f }, + { 0xb6,0xa8,0xb9,0x2d }, { 0xbf,0xa5,0xb2,0x23 }, + { 0x80,0x86,0x83,0x09 }, { 0x89,0x8b,0x88,0x07 }, + { 0x92,0x9c,0x95,0x15 }, { 0x9b,0x91,0x9e,0x1b }, + { 0x7c,0x0a,0x47,0xa1 }, { 0x75,0x07,0x4c,0xaf }, + { 0x6e,0x10,0x51,0xbd }, { 0x67,0x1d,0x5a,0xb3 }, + { 0x58,0x3e,0x6b,0x99 }, { 0x51,0x33,0x60,0x97 }, + { 0x4a,0x24,0x7d,0x85 }, { 0x43,0x29,0x76,0x8b }, + { 0x34,0x62,0x1f,0xd1 }, { 0x3d,0x6f,0x14,0xdf }, + { 0x26,0x78,0x09,0xcd }, { 0x2f,0x75,0x02,0xc3 }, + { 0x10,0x56,0x33,0xe9 }, { 0x19,0x5b,0x38,0xe7 }, + { 0x02,0x4c,0x25,0xf5 }, { 0x0b,0x41,0x2e,0xfb }, + { 0xd7,0x61,0x8c,0x9a }, { 0xde,0x6c,0x87,0x94 }, + { 0xc5,0x7b,0x9a,0x86 }, { 0xcc,0x76,0x91,0x88 }, + { 0xf3,0x55,0xa0,0xa2 }, { 0xfa,0x58,0xab,0xac }, + { 0xe1,0x4f,0xb6,0xbe }, { 0xe8,0x42,0xbd,0xb0 }, + { 0x9f,0x09,0xd4,0xea }, { 0x96,0x04,0xdf,0xe4 }, + { 0x8d,0x13,0xc2,0xf6 }, { 0x84,0x1e,0xc9,0xf8 }, + { 0xbb,0x3d,0xf8,0xd2 }, { 0xb2,0x30,0xf3,0xdc }, + { 0xa9,0x27,0xee,0xce }, { 0xa0,0x2a,0xe5,0xc0 }, + { 0x47,0xb1,0x3c,0x7a }, { 0x4e,0xbc,0x37,0x74 }, + { 0x55,0xab,0x2a,0x66 }, { 0x5c,0xa6,0x21,0x68 }, + { 0x63,0x85,0x10,0x42 }, { 0x6a,0x88,0x1b,0x4c }, + { 0x71,0x9f,0x06,0x5e }, { 0x78,0x92,0x0d,0x50 }, + { 0x0f,0xd9,0x64,0x0a }, { 0x06,0xd4,0x6f,0x04 }, + { 0x1d,0xc3,0x72,0x16 }, { 0x14,0xce,0x79,0x18 }, + { 0x2b,0xed,0x48,0x32 }, { 0x22,0xe0,0x43,0x3c }, + { 0x39,0xf7,0x5e,0x2e }, { 0x30,0xfa,0x55,0x20 }, + { 0x9a,0xb7,0x01,0xec }, { 0x93,0xba,0x0a,0xe2 }, + { 0x88,0xad,0x17,0xf0 }, { 0x81,0xa0,0x1c,0xfe }, + { 0xbe,0x83,0x2d,0xd4 }, { 0xb7,0x8e,0x26,0xda }, + { 0xac,0x99,0x3b,0xc8 }, { 0xa5,0x94,0x30,0xc6 }, + { 0xd2,0xdf,0x59,0x9c }, { 0xdb,0xd2,0x52,0x92 }, + { 0xc0,0xc5,0x4f,0x80 }, { 0xc9,0xc8,0x44,0x8e }, + { 0xf6,0xeb,0x75,0xa4 }, { 0xff,0xe6,0x7e,0xaa }, + { 0xe4,0xf1,0x63,0xb8 }, { 0xed,0xfc,0x68,0xb6 }, + { 0x0a,0x67,0xb1,0x0c }, { 0x03,0x6a,0xba,0x02 }, + { 0x18,0x7d,0xa7,0x10 }, { 0x11,0x70,0xac,0x1e }, + { 0x2e,0x53,0x9d,0x34 }, { 0x27,0x5e,0x96,0x3a }, + { 0x3c,0x49,0x8b,0x28 }, { 0x35,0x44,0x80,0x26 }, + { 0x42,0x0f,0xe9,0x7c }, { 0x4b,0x02,0xe2,0x72 }, + { 0x50,0x15,0xff,0x60 }, { 0x59,0x18,0xf4,0x6e }, + { 0x66,0x3b,0xc5,0x44 }, { 0x6f,0x36,0xce,0x4a }, + { 0x74,0x21,0xd3,0x58 }, { 0x7d,0x2c,0xd8,0x56 }, + { 0xa1,0x0c,0x7a,0x37 }, { 0xa8,0x01,0x71,0x39 }, + { 0xb3,0x16,0x6c,0x2b }, { 0xba,0x1b,0x67,0x25 }, + { 0x85,0x38,0x56,0x0f }, { 0x8c,0x35,0x5d,0x01 }, + { 0x97,0x22,0x40,0x13 }, { 0x9e,0x2f,0x4b,0x1d }, + { 0xe9,0x64,0x22,0x47 }, { 0xe0,0x69,0x29,0x49 }, + { 0xfb,0x7e,0x34,0x5b }, { 0xf2,0x73,0x3f,0x55 }, + { 0xcd,0x50,0x0e,0x7f }, { 0xc4,0x5d,0x05,0x71 }, + { 0xdf,0x4a,0x18,0x63 }, { 0xd6,0x47,0x13,0x6d }, + { 0x31,0xdc,0xca,0xd7 }, { 0x38,0xd1,0xc1,0xd9 }, + { 0x23,0xc6,0xdc,0xcb }, { 0x2a,0xcb,0xd7,0xc5 }, + { 0x15,0xe8,0xe6,0xef }, { 0x1c,0xe5,0xed,0xe1 }, + { 0x07,0xf2,0xf0,0xf3 }, { 0x0e,0xff,0xfb,0xfd }, + { 0x79,0xb4,0x92,0xa7 }, { 0x70,0xb9,0x99,0xa9 }, + { 0x6b,0xae,0x84,0xbb }, { 0x62,0xa3,0x8f,0xb5 }, + { 0x5d,0x80,0xbe,0x9f }, { 0x54,0x8d,0xb5,0x91 }, + { 0x4f,0x9a,0xa8,0x83 }, { 0x46,0x97,0xa3,0x8d } + }; + +static const u32 rcon[30] = + { + 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, + 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, + 0x6a, 0xd4, 0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91 + }; + diff --git a/grub-core/lib/libgcrypt-grub/cipher/rijndael.c b/grub-core/lib/libgcrypt-grub/cipher/rijndael.c new file mode 100644 index 0000000..557b3be --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/rijndael.c @@ -0,0 +1,767 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* Rijndael (AES) for GnuPG + * Copyright (C) 2000, 2001, 2002, 2003, 2007, + * 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + ******************************************************************* + * The code here is based on the optimized implementation taken from + * http://www.esat.kuleuven.ac.be/~rijmen/rijndael/ on Oct 2, 2000, + * which carries this notice: + *------------------------------------------ + * rijndael-alg-fst.c v2.3 April '2000 + * + * Optimised ANSI C code + * + * authors: v1.0: Antoon Bosselaers + * v2.0: Vincent Rijmen + * v2.3: Paulo Barreto + * + * This code is placed in the public domain. + *------------------------------------------ + * + * The SP800-38a document is available at: + * http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf + * + */ + + +#include "types.h" /* for byte and u32 typedefs */ +#include "g10lib.h" +#include "cipher.h" + +#define MAXKC (256/32) +#define MAXROUNDS 14 +#define BLOCKSIZE (128/8) + + +/* USE_PADLOCK indicates whether to compile the padlock specific + code. */ +#undef USE_PADLOCK +#ifdef ENABLE_PADLOCK_SUPPORT +# if defined (__i386__) && SIZEOF_UNSIGNED_LONG == 4 && defined (__GNUC__) +# define USE_PADLOCK +# endif +#endif /*ENABLE_PADLOCK_SUPPORT*/ + + +typedef struct +{ + int ROUNDS; /* Key-length-dependent number of rounds. */ + int decryption_prepared; /* The decryption key schedule is available. */ +#ifdef USE_PADLOCK + int use_padlock; /* Padlock shall be used. */ + /* The key as passed to the padlock engine. */ + unsigned char padlock_key[16] __attribute__ ((aligned (16))); +#endif + union + { + PROPERLY_ALIGNED_TYPE dummy; + byte keyschedule[MAXROUNDS+1][4][4]; + } u1; + union + { + PROPERLY_ALIGNED_TYPE dummy; + byte keyschedule[MAXROUNDS+1][4][4]; + } u2; +} RIJNDAEL_context; + +#define keySched u1.keyschedule +#define keySched2 u2.keyschedule + +/* All the numbers. */ +#include "rijndael-tables.h" + + +/* Perform the key setup. */ +static gcry_err_code_t +do_setkey (RIJNDAEL_context *ctx, const byte *key, const unsigned keylen) +{ + static int initialized = 0; + static const char *selftest_failed=0; + int ROUNDS; + int i,j, r, t, rconpointer = 0; + int KC; + union + { + PROPERLY_ALIGNED_TYPE dummy; + byte k[MAXKC][4]; + } k; +#define k k.k + union + { + PROPERLY_ALIGNED_TYPE dummy; + byte tk[MAXKC][4]; + } tk; +#define tk tk.tk + + /* The on-the-fly self tests are only run in non-fips mode. In fips + mode explicit self-tests are required. Actually the on-the-fly + self-tests are not fully thread-safe and it might happen that a + failed self-test won't get noticed in another thread. + + FIXME: We might want to have a central registry of succeeded + self-tests. */ + if (!fips_mode () && !initialized) + { + initialized = 1; + selftest_failed = selftest (); + if (selftest_failed) + log_error ("%s\n", selftest_failed ); + } + if (selftest_failed) + return GPG_ERR_SELFTEST_FAILED; + + ctx->decryption_prepared = 0; +#ifdef USE_PADLOCK + ctx->use_padlock = 0; +#endif + + if( keylen == 128/8 ) + { + ROUNDS = 10; + KC = 4; +#ifdef USE_PADLOCK + if ((_gcry_get_hw_features () & HWF_PADLOCK_AES)) + { + ctx->use_padlock = 1; + memcpy (ctx->padlock_key, key, keylen); + } +#endif + } + else if ( keylen == 192/8 ) + { + ROUNDS = 12; + KC = 6; + } + else if ( keylen == 256/8 ) + { + ROUNDS = 14; + KC = 8; + } + else + return GPG_ERR_INV_KEYLEN; + + ctx->ROUNDS = ROUNDS; + +#ifdef USE_PADLOCK + if (ctx->use_padlock) + { + /* Nothing to do as we support only hardware key generation for + now. */ + } + else +#endif /*USE_PADLOCK*/ + { +#define W (ctx->keySched) + for (i = 0; i < keylen; i++) + { + k[i >> 2][i & 3] = key[i]; + } + + for (j = KC-1; j >= 0; j--) + { + *((u32*)tk[j]) = *((u32*)k[j]); + } + r = 0; + t = 0; + /* Copy values into round key array. */ + for (j = 0; (j < KC) && (r < ROUNDS + 1); ) + { + for (; (j < KC) && (t < 4); j++, t++) + { + *((u32*)W[r][t]) = *((u32*)tk[j]); + } + if (t == 4) + { + r++; + t = 0; + } + } + + while (r < ROUNDS + 1) + { + /* While not enough round key material calculated calculate + new values. */ + tk[0][0] ^= S[tk[KC-1][1]]; + tk[0][1] ^= S[tk[KC-1][2]]; + tk[0][2] ^= S[tk[KC-1][3]]; + tk[0][3] ^= S[tk[KC-1][0]]; + tk[0][0] ^= rcon[rconpointer++]; + + if (KC != 8) + { + for (j = 1; j < KC; j++) + { + *((u32*)tk[j]) ^= *((u32*)tk[j-1]); + } + } + else + { + for (j = 1; j < KC/2; j++) + { + *((u32*)tk[j]) ^= *((u32*)tk[j-1]); + } + tk[KC/2][0] ^= S[tk[KC/2 - 1][0]]; + tk[KC/2][1] ^= S[tk[KC/2 - 1][1]]; + tk[KC/2][2] ^= S[tk[KC/2 - 1][2]]; + tk[KC/2][3] ^= S[tk[KC/2 - 1][3]]; + for (j = KC/2 + 1; j < KC; j++) + { + *((u32*)tk[j]) ^= *((u32*)tk[j-1]); + } + } + + /* Copy values into round key array. */ + for (j = 0; (j < KC) && (r < ROUNDS + 1); ) + { + for (; (j < KC) && (t < 4); j++, t++) + { + *((u32*)W[r][t]) = *((u32*)tk[j]); + } + if (t == 4) + { + r++; + t = 0; + } + } + } +#undef W + } + + return 0; +#undef tk +#undef k +} + + +static gcry_err_code_t +rijndael_setkey (void *context, const byte *key, const unsigned keylen) +{ + RIJNDAEL_context *ctx = context; + + int rc = do_setkey (ctx, key, keylen); + _gcry_burn_stack ( 100 + 16*sizeof(int)); + return rc; +} + + +/* Make a decryption key from an encryption key. */ +static void +prepare_decryption( RIJNDAEL_context *ctx ) +{ + int r; + union + { + PROPERLY_ALIGNED_TYPE dummy; + byte *w; + } w; +#define w w.w + + for (r=0; r < MAXROUNDS+1; r++ ) + { + *((u32*)ctx->keySched2[r][0]) = *((u32*)ctx->keySched[r][0]); + *((u32*)ctx->keySched2[r][1]) = *((u32*)ctx->keySched[r][1]); + *((u32*)ctx->keySched2[r][2]) = *((u32*)ctx->keySched[r][2]); + *((u32*)ctx->keySched2[r][3]) = *((u32*)ctx->keySched[r][3]); + } +#define W (ctx->keySched2) + for (r = 1; r < ctx->ROUNDS; r++) + { + w = W[r][0]; + *((u32*)w) = *((u32*)U1[w[0]]) ^ *((u32*)U2[w[1]]) + ^ *((u32*)U3[w[2]]) ^ *((u32*)U4[w[3]]); + + w = W[r][1]; + *((u32*)w) = *((u32*)U1[w[0]]) ^ *((u32*)U2[w[1]]) + ^ *((u32*)U3[w[2]]) ^ *((u32*)U4[w[3]]); + + w = W[r][2]; + *((u32*)w) = *((u32*)U1[w[0]]) ^ *((u32*)U2[w[1]]) + ^ *((u32*)U3[w[2]]) ^ *((u32*)U4[w[3]]); + + w = W[r][3]; + *((u32*)w) = *((u32*)U1[w[0]]) ^ *((u32*)U2[w[1]]) + ^ *((u32*)U3[w[2]]) ^ *((u32*)U4[w[3]]); + } +#undef W +#undef w +} + + + +/* Encrypt one block. A and B need to be aligned on a 4 byte + boundary. A and B may be the same. */ +static void +do_encrypt_aligned (const RIJNDAEL_context *ctx, + unsigned char *b, const unsigned char *a) +{ +#define rk (ctx->keySched) + int ROUNDS = ctx->ROUNDS; + int r; + union + { + u32 tempu32[4]; /* Force correct alignment. */ + byte temp[4][4]; + } u; + + *((u32*)u.temp[0]) = *((u32*)(a )) ^ *((u32*)rk[0][0]); + *((u32*)u.temp[1]) = *((u32*)(a+ 4)) ^ *((u32*)rk[0][1]); + *((u32*)u.temp[2]) = *((u32*)(a+ 8)) ^ *((u32*)rk[0][2]); + *((u32*)u.temp[3]) = *((u32*)(a+12)) ^ *((u32*)rk[0][3]); + *((u32*)(b )) = (*((u32*)T1[u.temp[0][0]]) + ^ *((u32*)T2[u.temp[1][1]]) + ^ *((u32*)T3[u.temp[2][2]]) + ^ *((u32*)T4[u.temp[3][3]])); + *((u32*)(b + 4)) = (*((u32*)T1[u.temp[1][0]]) + ^ *((u32*)T2[u.temp[2][1]]) + ^ *((u32*)T3[u.temp[3][2]]) + ^ *((u32*)T4[u.temp[0][3]])); + *((u32*)(b + 8)) = (*((u32*)T1[u.temp[2][0]]) + ^ *((u32*)T2[u.temp[3][1]]) + ^ *((u32*)T3[u.temp[0][2]]) + ^ *((u32*)T4[u.temp[1][3]])); + *((u32*)(b +12)) = (*((u32*)T1[u.temp[3][0]]) + ^ *((u32*)T2[u.temp[0][1]]) + ^ *((u32*)T3[u.temp[1][2]]) + ^ *((u32*)T4[u.temp[2][3]])); + + for (r = 1; r < ROUNDS-1; r++) + { + *((u32*)u.temp[0]) = *((u32*)(b )) ^ *((u32*)rk[r][0]); + *((u32*)u.temp[1]) = *((u32*)(b+ 4)) ^ *((u32*)rk[r][1]); + *((u32*)u.temp[2]) = *((u32*)(b+ 8)) ^ *((u32*)rk[r][2]); + *((u32*)u.temp[3]) = *((u32*)(b+12)) ^ *((u32*)rk[r][3]); + + *((u32*)(b )) = (*((u32*)T1[u.temp[0][0]]) + ^ *((u32*)T2[u.temp[1][1]]) + ^ *((u32*)T3[u.temp[2][2]]) + ^ *((u32*)T4[u.temp[3][3]])); + *((u32*)(b + 4)) = (*((u32*)T1[u.temp[1][0]]) + ^ *((u32*)T2[u.temp[2][1]]) + ^ *((u32*)T3[u.temp[3][2]]) + ^ *((u32*)T4[u.temp[0][3]])); + *((u32*)(b + 8)) = (*((u32*)T1[u.temp[2][0]]) + ^ *((u32*)T2[u.temp[3][1]]) + ^ *((u32*)T3[u.temp[0][2]]) + ^ *((u32*)T4[u.temp[1][3]])); + *((u32*)(b +12)) = (*((u32*)T1[u.temp[3][0]]) + ^ *((u32*)T2[u.temp[0][1]]) + ^ *((u32*)T3[u.temp[1][2]]) + ^ *((u32*)T4[u.temp[2][3]])); + } + + /* Last round is special. */ + *((u32*)u.temp[0]) = *((u32*)(b )) ^ *((u32*)rk[ROUNDS-1][0]); + *((u32*)u.temp[1]) = *((u32*)(b+ 4)) ^ *((u32*)rk[ROUNDS-1][1]); + *((u32*)u.temp[2]) = *((u32*)(b+ 8)) ^ *((u32*)rk[ROUNDS-1][2]); + *((u32*)u.temp[3]) = *((u32*)(b+12)) ^ *((u32*)rk[ROUNDS-1][3]); + b[ 0] = T1[u.temp[0][0]][1]; + b[ 1] = T1[u.temp[1][1]][1]; + b[ 2] = T1[u.temp[2][2]][1]; + b[ 3] = T1[u.temp[3][3]][1]; + b[ 4] = T1[u.temp[1][0]][1]; + b[ 5] = T1[u.temp[2][1]][1]; + b[ 6] = T1[u.temp[3][2]][1]; + b[ 7] = T1[u.temp[0][3]][1]; + b[ 8] = T1[u.temp[2][0]][1]; + b[ 9] = T1[u.temp[3][1]][1]; + b[10] = T1[u.temp[0][2]][1]; + b[11] = T1[u.temp[1][3]][1]; + b[12] = T1[u.temp[3][0]][1]; + b[13] = T1[u.temp[0][1]][1]; + b[14] = T1[u.temp[1][2]][1]; + b[15] = T1[u.temp[2][3]][1]; + *((u32*)(b )) ^= *((u32*)rk[ROUNDS][0]); + *((u32*)(b+ 4)) ^= *((u32*)rk[ROUNDS][1]); + *((u32*)(b+ 8)) ^= *((u32*)rk[ROUNDS][2]); + *((u32*)(b+12)) ^= *((u32*)rk[ROUNDS][3]); +#undef rk +} + + +static void +do_encrypt (const RIJNDAEL_context *ctx, + unsigned char *bx, const unsigned char *ax) +{ + /* BX and AX are not necessary correctly aligned. Thus we need to + copy them here. */ + union + { + u32 dummy[4]; + byte a[16]; + } a; + union + { + u32 dummy[4]; + byte b[16]; + } b; + + memcpy (a.a, ax, 16); + do_encrypt_aligned (ctx, b.b, a.a); + memcpy (bx, b.b, 16); +} + + +/* Encrypt or decrypt one block using the padlock engine. A and B may + be the same. */ +#ifdef USE_PADLOCK +static void +do_padlock (const RIJNDAEL_context *ctx, int decrypt_flag, + unsigned char *bx, const unsigned char *ax) +{ + /* BX and AX are not necessary correctly aligned. Thus we need to + copy them here. */ + unsigned char a[16] __attribute__ ((aligned (16))); + unsigned char b[16] __attribute__ ((aligned (16))); + unsigned int cword[4] __attribute__ ((aligned (16))); + + /* The control word fields are: + 127:12 11:10 9 8 7 6 5 4 3:0 + RESERVED KSIZE CRYPT INTER KEYGN CIPHR ALIGN DGEST ROUND */ + cword[0] = (ctx->ROUNDS & 15); /* (The mask is just a safeguard.) */ + cword[1] = 0; + cword[2] = 0; + cword[3] = 0; + if (decrypt_flag) + cword[0] |= 0x00000200; + + memcpy (a, ax, 16); + + asm volatile + ("pushfl\n\t" /* Force key reload. */ + "popfl\n\t" + "xchg %3, %%ebx\n\t" /* Load key. */ + "movl $1, %%ecx\n\t" /* Init counter for just one block. */ + ".byte 0xf3, 0x0f, 0xa7, 0xc8\n\t" /* REP XSTORE ECB. */ + "xchg %3, %%ebx\n" /* Restore GOT register. */ + : /* No output */ + : "S" (a), "D" (b), "d" (cword), "r" (ctx->padlock_key) + : "%ecx", "cc", "memory" + ); + + memcpy (bx, b, 16); + +} +#endif /*USE_PADLOCK*/ + + +static void +rijndael_encrypt (void *context, byte *b, const byte *a) +{ + RIJNDAEL_context *ctx = context; + +#ifdef USE_PADLOCK + if (ctx->use_padlock) + { + do_padlock (ctx, 0, b, a); + _gcry_burn_stack (48 + 15 /* possible padding for alignment */); + } + else +#endif /*USE_PADLOCK*/ + { + do_encrypt (ctx, b, a); + _gcry_burn_stack (48 + 2*sizeof(int)); + } +} + + +/* Bulk encryption of complete blocks in CFB mode. Caller needs to + make sure that IV is aligned on an unsigned long boundary. This + function is only intended for the bulk encryption feature of + cipher.c. */ + + +/* Bulk encryption of complete blocks in CBC mode. Caller needs to + make sure that IV is aligned on an unsigned long boundary. This + function is only intended for the bulk encryption feature of + cipher.c. */ + + + +/* Decrypt one block. A and B need to be aligned on a 4 byte boundary + and the decryption must have been prepared. A and B may be the + same. */ +static void +do_decrypt_aligned (RIJNDAEL_context *ctx, + unsigned char *b, const unsigned char *a) +{ +#define rk (ctx->keySched2) + int ROUNDS = ctx->ROUNDS; + int r; + union + { + u32 tempu32[4]; /* Force correct alignment. */ + byte temp[4][4]; + } u; + + + *((u32*)u.temp[0]) = *((u32*)(a )) ^ *((u32*)rk[ROUNDS][0]); + *((u32*)u.temp[1]) = *((u32*)(a+ 4)) ^ *((u32*)rk[ROUNDS][1]); + *((u32*)u.temp[2]) = *((u32*)(a+ 8)) ^ *((u32*)rk[ROUNDS][2]); + *((u32*)u.temp[3]) = *((u32*)(a+12)) ^ *((u32*)rk[ROUNDS][3]); + + *((u32*)(b )) = (*((u32*)T5[u.temp[0][0]]) + ^ *((u32*)T6[u.temp[3][1]]) + ^ *((u32*)T7[u.temp[2][2]]) + ^ *((u32*)T8[u.temp[1][3]])); + *((u32*)(b+ 4)) = (*((u32*)T5[u.temp[1][0]]) + ^ *((u32*)T6[u.temp[0][1]]) + ^ *((u32*)T7[u.temp[3][2]]) + ^ *((u32*)T8[u.temp[2][3]])); + *((u32*)(b+ 8)) = (*((u32*)T5[u.temp[2][0]]) + ^ *((u32*)T6[u.temp[1][1]]) + ^ *((u32*)T7[u.temp[0][2]]) + ^ *((u32*)T8[u.temp[3][3]])); + *((u32*)(b+12)) = (*((u32*)T5[u.temp[3][0]]) + ^ *((u32*)T6[u.temp[2][1]]) + ^ *((u32*)T7[u.temp[1][2]]) + ^ *((u32*)T8[u.temp[0][3]])); + + for (r = ROUNDS-1; r > 1; r--) + { + *((u32*)u.temp[0]) = *((u32*)(b )) ^ *((u32*)rk[r][0]); + *((u32*)u.temp[1]) = *((u32*)(b+ 4)) ^ *((u32*)rk[r][1]); + *((u32*)u.temp[2]) = *((u32*)(b+ 8)) ^ *((u32*)rk[r][2]); + *((u32*)u.temp[3]) = *((u32*)(b+12)) ^ *((u32*)rk[r][3]); + *((u32*)(b )) = (*((u32*)T5[u.temp[0][0]]) + ^ *((u32*)T6[u.temp[3][1]]) + ^ *((u32*)T7[u.temp[2][2]]) + ^ *((u32*)T8[u.temp[1][3]])); + *((u32*)(b+ 4)) = (*((u32*)T5[u.temp[1][0]]) + ^ *((u32*)T6[u.temp[0][1]]) + ^ *((u32*)T7[u.temp[3][2]]) + ^ *((u32*)T8[u.temp[2][3]])); + *((u32*)(b+ 8)) = (*((u32*)T5[u.temp[2][0]]) + ^ *((u32*)T6[u.temp[1][1]]) + ^ *((u32*)T7[u.temp[0][2]]) + ^ *((u32*)T8[u.temp[3][3]])); + *((u32*)(b+12)) = (*((u32*)T5[u.temp[3][0]]) + ^ *((u32*)T6[u.temp[2][1]]) + ^ *((u32*)T7[u.temp[1][2]]) + ^ *((u32*)T8[u.temp[0][3]])); + } + + /* Last round is special. */ + *((u32*)u.temp[0]) = *((u32*)(b )) ^ *((u32*)rk[1][0]); + *((u32*)u.temp[1]) = *((u32*)(b+ 4)) ^ *((u32*)rk[1][1]); + *((u32*)u.temp[2]) = *((u32*)(b+ 8)) ^ *((u32*)rk[1][2]); + *((u32*)u.temp[3]) = *((u32*)(b+12)) ^ *((u32*)rk[1][3]); + b[ 0] = S5[u.temp[0][0]]; + b[ 1] = S5[u.temp[3][1]]; + b[ 2] = S5[u.temp[2][2]]; + b[ 3] = S5[u.temp[1][3]]; + b[ 4] = S5[u.temp[1][0]]; + b[ 5] = S5[u.temp[0][1]]; + b[ 6] = S5[u.temp[3][2]]; + b[ 7] = S5[u.temp[2][3]]; + b[ 8] = S5[u.temp[2][0]]; + b[ 9] = S5[u.temp[1][1]]; + b[10] = S5[u.temp[0][2]]; + b[11] = S5[u.temp[3][3]]; + b[12] = S5[u.temp[3][0]]; + b[13] = S5[u.temp[2][1]]; + b[14] = S5[u.temp[1][2]]; + b[15] = S5[u.temp[0][3]]; + *((u32*)(b )) ^= *((u32*)rk[0][0]); + *((u32*)(b+ 4)) ^= *((u32*)rk[0][1]); + *((u32*)(b+ 8)) ^= *((u32*)rk[0][2]); + *((u32*)(b+12)) ^= *((u32*)rk[0][3]); +#undef rk +} + + +/* Decrypt one block. AX and BX may be the same. */ +static void +do_decrypt (RIJNDAEL_context *ctx, byte *bx, const byte *ax) +{ + /* BX and AX are not necessary correctly aligned. Thus we need to + copy them here. */ + union + { + u32 dummy[4]; + byte a[16]; + } a; + union + { + u32 dummy[4]; + byte b[16]; + } b; + + if ( !ctx->decryption_prepared ) + { + prepare_decryption ( ctx ); + _gcry_burn_stack (64); + ctx->decryption_prepared = 1; + } + + memcpy (a.a, ax, 16); + do_decrypt_aligned (ctx, b.b, a.a); + memcpy (bx, b.b, 16); +#undef rk +} + + + + +static void +rijndael_decrypt (void *context, byte *b, const byte *a) +{ + RIJNDAEL_context *ctx = context; + +#ifdef USE_PADLOCK + if (ctx->use_padlock) + { + do_padlock (ctx, 1, b, a); + _gcry_burn_stack (48 + 2*sizeof(int) /* FIXME */); + } + else +#endif /*USE_PADLOCK*/ + { + do_decrypt (ctx, b, a); + _gcry_burn_stack (48+2*sizeof(int)); + } +} + + +/* Bulk decryption of complete blocks in CFB mode. Caller needs to + make sure that IV is aligned on an unisgned lonhg boundary. This + function is only intended for the bulk encryption feature of + cipher.c. */ + + +/* Bulk decryption of complete blocks in CBC mode. Caller needs to + make sure that IV is aligned on an unsigned long boundary. This + function is only intended for the bulk encryption feature of + cipher.c. */ + + + + +/* Run the self-tests for AES 128. Returns NULL on success. */ + +/* Run the self-tests for AES 192. Returns NULL on success. */ + + +/* Run the self-tests for AES 256. Returns NULL on success. */ + +/* Run all the self-tests and return NULL on success. This function + is used for the on-the-fly self-tests. */ + + +/* SP800-38a.pdf for AES-128. */ + + +/* Complete selftest for AES-128 with all modes and driver code. */ + +/* Complete selftest for AES-192. */ + + +/* Complete selftest for AES-256. */ + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static const char *rijndael_names[] = + { + "RIJNDAEL", + "AES128", + "AES-128", + NULL + }; + +static gcry_cipher_oid_spec_t rijndael_oids[] = + { + { "2.16.840.1.101.3.4.1.1", GCRY_CIPHER_MODE_ECB }, + { "2.16.840.1.101.3.4.1.2", GCRY_CIPHER_MODE_CBC }, + { "2.16.840.1.101.3.4.1.3", GCRY_CIPHER_MODE_OFB }, + { "2.16.840.1.101.3.4.1.4", GCRY_CIPHER_MODE_CFB }, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_aes = + { + "AES", rijndael_names, rijndael_oids, 16, 128, sizeof (RIJNDAEL_context), + rijndael_setkey, rijndael_encrypt, rijndael_decrypt + }; + +static const char *rijndael192_names[] = + { + "RIJNDAEL192", + "AES-192", + NULL + }; + +static gcry_cipher_oid_spec_t rijndael192_oids[] = + { + { "2.16.840.1.101.3.4.1.21", GCRY_CIPHER_MODE_ECB }, + { "2.16.840.1.101.3.4.1.22", GCRY_CIPHER_MODE_CBC }, + { "2.16.840.1.101.3.4.1.23", GCRY_CIPHER_MODE_OFB }, + { "2.16.840.1.101.3.4.1.24", GCRY_CIPHER_MODE_CFB }, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_aes192 = + { + "AES192", rijndael192_names, rijndael192_oids, 16, 192, sizeof (RIJNDAEL_context), + rijndael_setkey, rijndael_encrypt, rijndael_decrypt + }; + +static const char *rijndael256_names[] = + { + "RIJNDAEL256", + "AES-256", + NULL + }; + +static gcry_cipher_oid_spec_t rijndael256_oids[] = + { + { "2.16.840.1.101.3.4.1.41", GCRY_CIPHER_MODE_ECB }, + { "2.16.840.1.101.3.4.1.42", GCRY_CIPHER_MODE_CBC }, + { "2.16.840.1.101.3.4.1.43", GCRY_CIPHER_MODE_OFB }, + { "2.16.840.1.101.3.4.1.44", GCRY_CIPHER_MODE_CFB }, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_aes256 = + { + "AES256", rijndael256_names, rijndael256_oids, 16, 256, + sizeof (RIJNDAEL_context), + rijndael_setkey, rijndael_encrypt, rijndael_decrypt + }; + + + +GRUB_MOD_INIT(gcry_rijndael) +{ + grub_cipher_register (&_gcry_cipher_spec_aes); + grub_cipher_register (&_gcry_cipher_spec_aes192); + grub_cipher_register (&_gcry_cipher_spec_aes256); +} + +GRUB_MOD_FINI(gcry_rijndael) +{ + grub_cipher_unregister (&_gcry_cipher_spec_aes); + grub_cipher_unregister (&_gcry_cipher_spec_aes192); + grub_cipher_unregister (&_gcry_cipher_spec_aes256); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/rmd.h b/grub-core/lib/libgcrypt-grub/cipher/rmd.h new file mode 100644 index 0000000..1f11382 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/rmd.h @@ -0,0 +1,40 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +/* rmd.h - RIPE-MD hash functions + * Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ +#ifndef G10_RMD_H +#define G10_RMD_H + + +/* We need this here because random.c must have direct access. */ +typedef struct +{ + u32 h0,h1,h2,h3,h4; + u32 nblocks; + byte buf[64]; + int count; +} RMD160_CONTEXT; + +void _gcry_rmd160_init ( void *context ); +void _gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte ); + +#endif /*G10_RMD_H*/ + diff --git a/grub-core/lib/libgcrypt-grub/cipher/rmd160.c b/grub-core/lib/libgcrypt-grub/cipher/rmd160.c new file mode 100644 index 0000000..9c35e45 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/rmd160.c @@ -0,0 +1,575 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* rmd160.c - RIPE-MD160 + * Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + + +#include "g10lib.h" +#include "memory.h" +#include "rmd.h" +#include "cipher.h" /* Only used for the rmd160_hash_buffer() prototype. */ + +#include "bithelp.h" + +/********************************* + * RIPEMD-160 is not patented, see (as of 25.10.97) + * http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html + * Note that the code uses Little Endian byteorder, which is good for + * 386 etc, but we must add some conversion when used on a big endian box. + * + * + * Pseudo-code for RIPEMD-160 + * + * RIPEMD-160 is an iterative hash function that operates on 32-bit words. + * The round function takes as input a 5-word chaining variable and a 16-word + * message block and maps this to a new chaining variable. All operations are + * defined on 32-bit words. Padding is identical to that of MD4. + * + * + * RIPEMD-160: definitions + * + * + * nonlinear functions at bit level: exor, mux, -, mux, - + * + * f(j, x, y, z) = x XOR y XOR z (0 <= j <= 15) + * f(j, x, y, z) = (x AND y) OR (NOT(x) AND z) (16 <= j <= 31) + * f(j, x, y, z) = (x OR NOT(y)) XOR z (32 <= j <= 47) + * f(j, x, y, z) = (x AND z) OR (y AND NOT(z)) (48 <= j <= 63) + * f(j, x, y, z) = x XOR (y OR NOT(z)) (64 <= j <= 79) + * + * + * added constants (hexadecimal) + * + * K(j) = 0x00000000 (0 <= j <= 15) + * K(j) = 0x5A827999 (16 <= j <= 31) int(2**30 x sqrt(2)) + * K(j) = 0x6ED9EBA1 (32 <= j <= 47) int(2**30 x sqrt(3)) + * K(j) = 0x8F1BBCDC (48 <= j <= 63) int(2**30 x sqrt(5)) + * K(j) = 0xA953FD4E (64 <= j <= 79) int(2**30 x sqrt(7)) + * K'(j) = 0x50A28BE6 (0 <= j <= 15) int(2**30 x cbrt(2)) + * K'(j) = 0x5C4DD124 (16 <= j <= 31) int(2**30 x cbrt(3)) + * K'(j) = 0x6D703EF3 (32 <= j <= 47) int(2**30 x cbrt(5)) + * K'(j) = 0x7A6D76E9 (48 <= j <= 63) int(2**30 x cbrt(7)) + * K'(j) = 0x00000000 (64 <= j <= 79) + * + * + * selection of message word + * + * r(j) = j (0 <= j <= 15) + * r(16..31) = 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8 + * r(32..47) = 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12 + * r(48..63) = 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2 + * r(64..79) = 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13 + * r0(0..15) = 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12 + * r0(16..31)= 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2 + * r0(32..47)= 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13 + * r0(48..63)= 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14 + * r0(64..79)= 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11 + * + * + * amount for rotate left (rol) + * + * s(0..15) = 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8 + * s(16..31) = 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12 + * s(32..47) = 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5 + * s(48..63) = 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12 + * s(64..79) = 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 + * s'(0..15) = 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6 + * s'(16..31)= 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11 + * s'(32..47)= 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5 + * s'(48..63)= 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8 + * s'(64..79)= 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 + * + * + * initial value (hexadecimal) + * + * h0 = 0x67452301; h1 = 0xEFCDAB89; h2 = 0x98BADCFE; h3 = 0x10325476; + * h4 = 0xC3D2E1F0; + * + * + * RIPEMD-160: pseudo-code + * + * It is assumed that the message after padding consists of t 16-word blocks + * that will be denoted with X[i][j], with 0 <= i <= t-1 and 0 <= j <= 15. + * The symbol [+] denotes addition modulo 2**32 and rol_s denotes cyclic left + * shift (rotate) over s positions. + * + * + * for i := 0 to t-1 { + * A := h0; B := h1; C := h2; D = h3; E = h4; + * A' := h0; B' := h1; C' := h2; D' = h3; E' = h4; + * for j := 0 to 79 { + * T := rol_s(j)(A [+] f(j, B, C, D) [+] X[i][r(j)] [+] K(j)) [+] E; + * A := E; E := D; D := rol_10(C); C := B; B := T; + * T := rol_s'(j)(A' [+] f(79-j, B', C', D') [+] X[i][r'(j)] + [+] K'(j)) [+] E'; + * A' := E'; E' := D'; D' := rol_10(C'); C' := B'; B' := T; + * } + * T := h1 [+] C [+] D'; h1 := h2 [+] D [+] E'; h2 := h3 [+] E [+] A'; + * h3 := h4 [+] A [+] B'; h4 := h0 [+] B [+] C'; h0 := T; + * } + */ + +/* Some examples: + * "" 9c1185a5c5e9fc54612808977ee8f548b2258d31 + * "a" 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe + * "abc" 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc + * "message digest" 5d0689ef49d2fae572b881b123a85ffa21595f36 + * "a...z" f71c27109c692c1b56bbdceb5b9d2865b3708dbc + * "abcdbcde...nopq" 12a053384a9c0c88e405a06c27dcf49ada62eb2b + * "A...Za...z0...9" b0e20b6e3116640286ed3a87a5713079b21f5189 + * 8 times "1234567890" 9b752e45573d4b39f4dbd3323cab82bf63326bfb + * 1 million times "a" 52783243c1697bdbe16d37f97f68f08325dc1528 + */ + + +void +_gcry_rmd160_init (void *context) +{ + RMD160_CONTEXT *hd = context; + + hd->h0 = 0x67452301; + hd->h1 = 0xEFCDAB89; + hd->h2 = 0x98BADCFE; + hd->h3 = 0x10325476; + hd->h4 = 0xC3D2E1F0; + hd->nblocks = 0; + hd->count = 0; +} + + + +/**************** + * Transform the message X which consists of 16 32-bit-words + */ +static void +transform ( RMD160_CONTEXT *hd, const unsigned char *data ) +{ + register u32 a,b,c,d,e; + u32 aa,bb,cc,dd,ee,t; +#ifdef WORDS_BIGENDIAN + u32 x[16]; + { + int i; + byte *p2, *p1; + for (i=0, p1=data, p2=(byte*)x; i < 16; i++, p2 += 4 ) + { + p2[3] = *p1++; + p2[2] = *p1++; + p2[1] = *p1++; + p2[0] = *p1++; + } + } +#else + /* This version is better because it is always aligned; + * The performance penalty on a 586-100 is about 6% which + * is acceptable - because the data is more local it might + * also be possible that this is faster on some machines. + * This function (when compiled with -02 on gcc 2.7.2) + * executes on a 586-100 (39.73 bogomips) at about 1900kb/sec; + * [measured with a 4MB data and "gpgm --print-md rmd160"] */ + u32 x[16]; + memcpy( x, data, 64 ); +#endif + + +#define K0 0x00000000 +#define K1 0x5A827999 +#define K2 0x6ED9EBA1 +#define K3 0x8F1BBCDC +#define K4 0xA953FD4E +#define KK0 0x50A28BE6 +#define KK1 0x5C4DD124 +#define KK2 0x6D703EF3 +#define KK3 0x7A6D76E9 +#define KK4 0x00000000 +#define F0(x,y,z) ( (x) ^ (y) ^ (z) ) +#define F1(x,y,z) ( ((x) & (y)) | (~(x) & (z)) ) +#define F2(x,y,z) ( ((x) | ~(y)) ^ (z) ) +#define F3(x,y,z) ( ((x) & (z)) | ((y) & ~(z)) ) +#define F4(x,y,z) ( (x) ^ ((y) | ~(z)) ) +#define R(a,b,c,d,e,f,k,r,s) do { t = a + f(b,c,d) + k + x[r]; \ + a = rol(t,s) + e; \ + c = rol(c,10); \ + } while(0) + + /* left lane */ + a = hd->h0; + b = hd->h1; + c = hd->h2; + d = hd->h3; + e = hd->h4; + R( a, b, c, d, e, F0, K0, 0, 11 ); + R( e, a, b, c, d, F0, K0, 1, 14 ); + R( d, e, a, b, c, F0, K0, 2, 15 ); + R( c, d, e, a, b, F0, K0, 3, 12 ); + R( b, c, d, e, a, F0, K0, 4, 5 ); + R( a, b, c, d, e, F0, K0, 5, 8 ); + R( e, a, b, c, d, F0, K0, 6, 7 ); + R( d, e, a, b, c, F0, K0, 7, 9 ); + R( c, d, e, a, b, F0, K0, 8, 11 ); + R( b, c, d, e, a, F0, K0, 9, 13 ); + R( a, b, c, d, e, F0, K0, 10, 14 ); + R( e, a, b, c, d, F0, K0, 11, 15 ); + R( d, e, a, b, c, F0, K0, 12, 6 ); + R( c, d, e, a, b, F0, K0, 13, 7 ); + R( b, c, d, e, a, F0, K0, 14, 9 ); + R( a, b, c, d, e, F0, K0, 15, 8 ); + R( e, a, b, c, d, F1, K1, 7, 7 ); + R( d, e, a, b, c, F1, K1, 4, 6 ); + R( c, d, e, a, b, F1, K1, 13, 8 ); + R( b, c, d, e, a, F1, K1, 1, 13 ); + R( a, b, c, d, e, F1, K1, 10, 11 ); + R( e, a, b, c, d, F1, K1, 6, 9 ); + R( d, e, a, b, c, F1, K1, 15, 7 ); + R( c, d, e, a, b, F1, K1, 3, 15 ); + R( b, c, d, e, a, F1, K1, 12, 7 ); + R( a, b, c, d, e, F1, K1, 0, 12 ); + R( e, a, b, c, d, F1, K1, 9, 15 ); + R( d, e, a, b, c, F1, K1, 5, 9 ); + R( c, d, e, a, b, F1, K1, 2, 11 ); + R( b, c, d, e, a, F1, K1, 14, 7 ); + R( a, b, c, d, e, F1, K1, 11, 13 ); + R( e, a, b, c, d, F1, K1, 8, 12 ); + R( d, e, a, b, c, F2, K2, 3, 11 ); + R( c, d, e, a, b, F2, K2, 10, 13 ); + R( b, c, d, e, a, F2, K2, 14, 6 ); + R( a, b, c, d, e, F2, K2, 4, 7 ); + R( e, a, b, c, d, F2, K2, 9, 14 ); + R( d, e, a, b, c, F2, K2, 15, 9 ); + R( c, d, e, a, b, F2, K2, 8, 13 ); + R( b, c, d, e, a, F2, K2, 1, 15 ); + R( a, b, c, d, e, F2, K2, 2, 14 ); + R( e, a, b, c, d, F2, K2, 7, 8 ); + R( d, e, a, b, c, F2, K2, 0, 13 ); + R( c, d, e, a, b, F2, K2, 6, 6 ); + R( b, c, d, e, a, F2, K2, 13, 5 ); + R( a, b, c, d, e, F2, K2, 11, 12 ); + R( e, a, b, c, d, F2, K2, 5, 7 ); + R( d, e, a, b, c, F2, K2, 12, 5 ); + R( c, d, e, a, b, F3, K3, 1, 11 ); + R( b, c, d, e, a, F3, K3, 9, 12 ); + R( a, b, c, d, e, F3, K3, 11, 14 ); + R( e, a, b, c, d, F3, K3, 10, 15 ); + R( d, e, a, b, c, F3, K3, 0, 14 ); + R( c, d, e, a, b, F3, K3, 8, 15 ); + R( b, c, d, e, a, F3, K3, 12, 9 ); + R( a, b, c, d, e, F3, K3, 4, 8 ); + R( e, a, b, c, d, F3, K3, 13, 9 ); + R( d, e, a, b, c, F3, K3, 3, 14 ); + R( c, d, e, a, b, F3, K3, 7, 5 ); + R( b, c, d, e, a, F3, K3, 15, 6 ); + R( a, b, c, d, e, F3, K3, 14, 8 ); + R( e, a, b, c, d, F3, K3, 5, 6 ); + R( d, e, a, b, c, F3, K3, 6, 5 ); + R( c, d, e, a, b, F3, K3, 2, 12 ); + R( b, c, d, e, a, F4, K4, 4, 9 ); + R( a, b, c, d, e, F4, K4, 0, 15 ); + R( e, a, b, c, d, F4, K4, 5, 5 ); + R( d, e, a, b, c, F4, K4, 9, 11 ); + R( c, d, e, a, b, F4, K4, 7, 6 ); + R( b, c, d, e, a, F4, K4, 12, 8 ); + R( a, b, c, d, e, F4, K4, 2, 13 ); + R( e, a, b, c, d, F4, K4, 10, 12 ); + R( d, e, a, b, c, F4, K4, 14, 5 ); + R( c, d, e, a, b, F4, K4, 1, 12 ); + R( b, c, d, e, a, F4, K4, 3, 13 ); + R( a, b, c, d, e, F4, K4, 8, 14 ); + R( e, a, b, c, d, F4, K4, 11, 11 ); + R( d, e, a, b, c, F4, K4, 6, 8 ); + R( c, d, e, a, b, F4, K4, 15, 5 ); + R( b, c, d, e, a, F4, K4, 13, 6 ); + + aa = a; bb = b; cc = c; dd = d; ee = e; + + /* right lane */ + a = hd->h0; + b = hd->h1; + c = hd->h2; + d = hd->h3; + e = hd->h4; + R( a, b, c, d, e, F4, KK0, 5, 8); + R( e, a, b, c, d, F4, KK0, 14, 9); + R( d, e, a, b, c, F4, KK0, 7, 9); + R( c, d, e, a, b, F4, KK0, 0, 11); + R( b, c, d, e, a, F4, KK0, 9, 13); + R( a, b, c, d, e, F4, KK0, 2, 15); + R( e, a, b, c, d, F4, KK0, 11, 15); + R( d, e, a, b, c, F4, KK0, 4, 5); + R( c, d, e, a, b, F4, KK0, 13, 7); + R( b, c, d, e, a, F4, KK0, 6, 7); + R( a, b, c, d, e, F4, KK0, 15, 8); + R( e, a, b, c, d, F4, KK0, 8, 11); + R( d, e, a, b, c, F4, KK0, 1, 14); + R( c, d, e, a, b, F4, KK0, 10, 14); + R( b, c, d, e, a, F4, KK0, 3, 12); + R( a, b, c, d, e, F4, KK0, 12, 6); + R( e, a, b, c, d, F3, KK1, 6, 9); + R( d, e, a, b, c, F3, KK1, 11, 13); + R( c, d, e, a, b, F3, KK1, 3, 15); + R( b, c, d, e, a, F3, KK1, 7, 7); + R( a, b, c, d, e, F3, KK1, 0, 12); + R( e, a, b, c, d, F3, KK1, 13, 8); + R( d, e, a, b, c, F3, KK1, 5, 9); + R( c, d, e, a, b, F3, KK1, 10, 11); + R( b, c, d, e, a, F3, KK1, 14, 7); + R( a, b, c, d, e, F3, KK1, 15, 7); + R( e, a, b, c, d, F3, KK1, 8, 12); + R( d, e, a, b, c, F3, KK1, 12, 7); + R( c, d, e, a, b, F3, KK1, 4, 6); + R( b, c, d, e, a, F3, KK1, 9, 15); + R( a, b, c, d, e, F3, KK1, 1, 13); + R( e, a, b, c, d, F3, KK1, 2, 11); + R( d, e, a, b, c, F2, KK2, 15, 9); + R( c, d, e, a, b, F2, KK2, 5, 7); + R( b, c, d, e, a, F2, KK2, 1, 15); + R( a, b, c, d, e, F2, KK2, 3, 11); + R( e, a, b, c, d, F2, KK2, 7, 8); + R( d, e, a, b, c, F2, KK2, 14, 6); + R( c, d, e, a, b, F2, KK2, 6, 6); + R( b, c, d, e, a, F2, KK2, 9, 14); + R( a, b, c, d, e, F2, KK2, 11, 12); + R( e, a, b, c, d, F2, KK2, 8, 13); + R( d, e, a, b, c, F2, KK2, 12, 5); + R( c, d, e, a, b, F2, KK2, 2, 14); + R( b, c, d, e, a, F2, KK2, 10, 13); + R( a, b, c, d, e, F2, KK2, 0, 13); + R( e, a, b, c, d, F2, KK2, 4, 7); + R( d, e, a, b, c, F2, KK2, 13, 5); + R( c, d, e, a, b, F1, KK3, 8, 15); + R( b, c, d, e, a, F1, KK3, 6, 5); + R( a, b, c, d, e, F1, KK3, 4, 8); + R( e, a, b, c, d, F1, KK3, 1, 11); + R( d, e, a, b, c, F1, KK3, 3, 14); + R( c, d, e, a, b, F1, KK3, 11, 14); + R( b, c, d, e, a, F1, KK3, 15, 6); + R( a, b, c, d, e, F1, KK3, 0, 14); + R( e, a, b, c, d, F1, KK3, 5, 6); + R( d, e, a, b, c, F1, KK3, 12, 9); + R( c, d, e, a, b, F1, KK3, 2, 12); + R( b, c, d, e, a, F1, KK3, 13, 9); + R( a, b, c, d, e, F1, KK3, 9, 12); + R( e, a, b, c, d, F1, KK3, 7, 5); + R( d, e, a, b, c, F1, KK3, 10, 15); + R( c, d, e, a, b, F1, KK3, 14, 8); + R( b, c, d, e, a, F0, KK4, 12, 8); + R( a, b, c, d, e, F0, KK4, 15, 5); + R( e, a, b, c, d, F0, KK4, 10, 12); + R( d, e, a, b, c, F0, KK4, 4, 9); + R( c, d, e, a, b, F0, KK4, 1, 12); + R( b, c, d, e, a, F0, KK4, 5, 5); + R( a, b, c, d, e, F0, KK4, 8, 14); + R( e, a, b, c, d, F0, KK4, 7, 6); + R( d, e, a, b, c, F0, KK4, 6, 8); + R( c, d, e, a, b, F0, KK4, 2, 13); + R( b, c, d, e, a, F0, KK4, 13, 6); + R( a, b, c, d, e, F0, KK4, 14, 5); + R( e, a, b, c, d, F0, KK4, 0, 15); + R( d, e, a, b, c, F0, KK4, 3, 13); + R( c, d, e, a, b, F0, KK4, 9, 11); + R( b, c, d, e, a, F0, KK4, 11, 11); + + + t = hd->h1 + d + cc; + hd->h1 = hd->h2 + e + dd; + hd->h2 = hd->h3 + a + ee; + hd->h3 = hd->h4 + b + aa; + hd->h4 = hd->h0 + c + bb; + hd->h0 = t; +} + + +/* Update the message digest with the contents + * of INBUF with length INLEN. + */ +static void +rmd160_write ( void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + RMD160_CONTEXT *hd = context; + + if( hd->count == 64 ) /* flush the buffer */ + { + transform( hd, hd->buf ); + _gcry_burn_stack (108+5*sizeof(void*)); + hd->count = 0; + hd->nblocks++; + } + if( !inbuf ) + return; + if( hd->count ) + { + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; + rmd160_write( hd, NULL, 0 ); + if( !inlen ) + return; + } + + while( inlen >= 64 ) + { + transform( hd, inbuf ); + hd->count = 0; + hd->nblocks++; + inlen -= 64; + inbuf += 64; + } + _gcry_burn_stack (108+5*sizeof(void*)); + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; +} + +/**************** + * Apply the rmd160 transform function on the buffer which must have + * a length 64 bytes. Do not use this function together with the + * other functions, use rmd160_init to initialize internal variables. + * Returns: 16 bytes in buffer with the mixed contentes of buffer. + */ +void +_gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte ) +{ + char *p = blockof64byte; + + transform ( hd, blockof64byte ); +#define X(a) do { *(u32*)p = hd->h##a ; p += 4; } while(0) + X(0); + X(1); + X(2); + X(3); + X(4); +#undef X +} + + +/* The routine terminates the computation + */ + +static void +rmd160_final( void *context ) +{ + RMD160_CONTEXT *hd = context; + u32 t, msb, lsb; + byte *p; + + rmd160_write(hd, NULL, 0); /* flush */; + + t = hd->nblocks; + /* multiply by 64 to make a byte count */ + lsb = t << 6; + msb = t >> 26; + /* add the count */ + t = lsb; + if( (lsb += hd->count) < t ) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 29; + + if( hd->count < 56 ) /* enough room */ + { + hd->buf[hd->count++] = 0x80; /* pad */ + while( hd->count < 56 ) + hd->buf[hd->count++] = 0; /* pad */ + } + else /* need one extra block */ + { + hd->buf[hd->count++] = 0x80; /* pad character */ + while( hd->count < 64 ) + hd->buf[hd->count++] = 0; + rmd160_write(hd, NULL, 0); /* flush */; + memset(hd->buf, 0, 56 ); /* fill next block with zeroes */ + } + /* append the 64 bit count */ + hd->buf[56] = lsb ; + hd->buf[57] = lsb >> 8; + hd->buf[58] = lsb >> 16; + hd->buf[59] = lsb >> 24; + hd->buf[60] = msb ; + hd->buf[61] = msb >> 8; + hd->buf[62] = msb >> 16; + hd->buf[63] = msb >> 24; + transform( hd, hd->buf ); + _gcry_burn_stack (108+5*sizeof(void*)); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *p++ = hd->h##a ; *p++ = hd->h##a >> 8; \ + *p++ = hd->h##a >> 16; *p++ = hd->h##a >> 24; } while(0) +#else /* little endian */ +#define X(a) do { *(u32*)p = hd->h##a ; p += 4; } while(0) +#endif + X(0); + X(1); + X(2); + X(3); + X(4); +#undef X +} + +static byte * +rmd160_read( void *context ) +{ + RMD160_CONTEXT *hd = context; + + return hd->buf; +} + + + +/**************** + * Shortcut functions which puts the hash value of the supplied buffer + * into outbuf which must have a size of 20 bytes. + */ + +static byte asn[15] = /* Object ID is 1.3.36.3.2.1 */ + { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x24, 0x03, + 0x02, 0x01, 0x05, 0x00, 0x04, 0x14 }; + +static gcry_md_oid_spec_t oid_spec_rmd160[] = + { + /* rsaSignatureWithripemd160 */ + { "1.3.36.3.3.1.2" }, + /* TeleTrust hash algorithm. */ + { "1.3.36.3.2.1" }, + { NULL } + }; + +gcry_md_spec_t _gcry_digest_spec_rmd160 = + { + "RIPEMD160", asn, DIM (asn), oid_spec_rmd160, 20, + _gcry_rmd160_init, rmd160_write, rmd160_final, rmd160_read, + sizeof (RMD160_CONTEXT) + , + .blocksize = 64 + }; + + +GRUB_MOD_INIT(gcry_rmd160) +{ + grub_md_register (&_gcry_digest_spec_rmd160); +} + +GRUB_MOD_FINI(gcry_rmd160) +{ + grub_md_unregister (&_gcry_digest_spec_rmd160); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/rsa.c b/grub-core/lib/libgcrypt-grub/cipher/rsa.c new file mode 100644 index 0000000..168af84 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/rsa.c @@ -0,0 +1,1160 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* rsa.c - RSA implementation + * Copyright (C) 1997, 1998, 1999 by Werner Koch (dd9jn) + * Copyright (C) 2000, 2001, 2002, 2003, 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + +/* This code uses an algorithm protected by U.S. Patent #4,405,829 + which expired on September 20, 2000. The patent holder placed that + patent into the public domain on Sep 6th, 2000. +*/ + + +#include "g10lib.h" +#include "mpi.h" +#include "cipher.h" + + +typedef struct +{ + gcry_mpi_t n; /* modulus */ + gcry_mpi_t e; /* exponent */ +} RSA_public_key; + + +typedef struct +{ + gcry_mpi_t n; /* public modulus */ + gcry_mpi_t e; /* public exponent */ + gcry_mpi_t d; /* exponent */ + gcry_mpi_t p; /* prime p. */ + gcry_mpi_t q; /* prime q. */ + gcry_mpi_t u; /* inverse of p mod q. */ +} RSA_secret_key; + + +/* A sample 1024 bit RSA key used for the selftests. */ +static const char sample_secret_key[] = +"(private-key" +" (rsa" +" (n #00e0ce96f90b6c9e02f3922beada93fe50a875eac6bcc18bb9a9cf2e84965caa" +" 2d1ff95a7f542465c6c0c19d276e4526ce048868a7a914fd343cc3a87dd74291" +" ffc565506d5bbb25cbac6a0e2dd1f8bcaab0d4a29c2f37c950f363484bf269f7" +" 891440464baf79827e03a36e70b814938eebdc63e964247be75dc58b014b7ea251#)" +" (e #010001#)" +" (d #046129f2489d71579be0a75fe029bd6cdb574ebf57ea8a5b0fda942cab943b11" +" 7d7bb95e5d28875e0f9fc5fcc06a72f6d502464dabded78ef6b716177b83d5bd" +" c543dc5d3fed932e59f5897e92e6f58a0f33424106a3b6fa2cbf877510e4ac21" +" c3ee47851e97d12996222ac3566d4ccb0b83d164074abf7de655fc2446da1781#)" +" (p #00e861b700e17e8afe6837e7512e35b6ca11d0ae47d8b85161c67baf64377213" +" fe52d772f2035b3ca830af41d8a4120e1c1c70d12cc22f00d28d31dd48a8d424f1#)" +" (q #00f7a7ca5367c661f8e62df34f0d05c10c88e5492348dd7bddc942c9a8f369f9" +" 35a07785d2db805215ed786e4285df1658eed3ce84f469b81b50d358407b4ad361#)" +" (u #304559a9ead56d2309d203811a641bb1a09626bc8eb36fffa23c968ec5bd891e" +" ebbafc73ae666e01ba7c8990bae06cc2bbe10b75e69fcacb353a6473079d8e9b#)))"; +/* A sample 1024 bit RSA key used for the selftests (public only). */ +static const char sample_public_key[] = +"(public-key" +" (rsa" +" (n #00e0ce96f90b6c9e02f3922beada93fe50a875eac6bcc18bb9a9cf2e84965caa" +" 2d1ff95a7f542465c6c0c19d276e4526ce048868a7a914fd343cc3a87dd74291" +" ffc565506d5bbb25cbac6a0e2dd1f8bcaab0d4a29c2f37c950f363484bf269f7" +" 891440464baf79827e03a36e70b814938eebdc63e964247be75dc58b014b7ea251#)" +" (e #010001#)))"; + + + + +static int test_keys (RSA_secret_key *sk, unsigned nbits); +static int check_secret_key (RSA_secret_key *sk); +static void public (gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *skey); +static void secret (gcry_mpi_t output, gcry_mpi_t input, RSA_secret_key *skey); + + +/* Check that a freshly generated key actually works. Returns 0 on success. */ +static int +test_keys (RSA_secret_key *sk, unsigned int nbits) +{ + int result = -1; /* Default to failure. */ + RSA_public_key pk; + gcry_mpi_t plaintext = gcry_mpi_new (nbits); + gcry_mpi_t ciphertext = gcry_mpi_new (nbits); + gcry_mpi_t decr_plaintext = gcry_mpi_new (nbits); + gcry_mpi_t signature = gcry_mpi_new (nbits); + + /* Put the relevant parameters into a public key structure. */ + pk.n = sk->n; + pk.e = sk->e; + + /* Create a random plaintext. */ + gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM); + + /* Encrypt using the public key. */ + public (ciphertext, plaintext, &pk); + + /* Check that the cipher text does not match the plaintext. */ + if (!gcry_mpi_cmp (ciphertext, plaintext)) + goto leave; /* Ciphertext is identical to the plaintext. */ + + /* Decrypt using the secret key. */ + secret (decr_plaintext, ciphertext, sk); + + /* Check that the decrypted plaintext matches the original plaintext. */ + if (gcry_mpi_cmp (decr_plaintext, plaintext)) + goto leave; /* Plaintext does not match. */ + + /* Create another random plaintext as data for signature checking. */ + gcry_mpi_randomize (plaintext, nbits, GCRY_WEAK_RANDOM); + + /* Use the RSA secret function to create a signature of the plaintext. */ + secret (signature, plaintext, sk); + + /* Use the RSA public function to verify this signature. */ + public (decr_plaintext, signature, &pk); + if (gcry_mpi_cmp (decr_plaintext, plaintext)) + goto leave; /* Signature does not match. */ + + /* Modify the signature and check that the signing fails. */ + gcry_mpi_add_ui (signature, signature, 1); + public (decr_plaintext, signature, &pk); + if (!gcry_mpi_cmp (decr_plaintext, plaintext)) + goto leave; /* Signature matches but should not. */ + + result = 0; /* All tests succeeded. */ + + leave: + gcry_mpi_release (signature); + gcry_mpi_release (decr_plaintext); + gcry_mpi_release (ciphertext); + gcry_mpi_release (plaintext); + return result; +} + + +/* Callback used by the prime generation to test whether the exponent + is suitable. Returns 0 if the test has been passed. */ +static int +check_exponent (void *arg, gcry_mpi_t a) +{ + gcry_mpi_t e = arg; + gcry_mpi_t tmp; + int result; + + mpi_sub_ui (a, a, 1); + tmp = _gcry_mpi_alloc_like (a); + result = !gcry_mpi_gcd(tmp, e, a); /* GCD is not 1. */ + gcry_mpi_release (tmp); + mpi_add_ui (a, a, 1); + return result; +} + +/**************** + * Generate a key pair with a key of size NBITS. + * USE_E = 0 let Libcgrypt decide what exponent to use. + * = 1 request the use of a "secure" exponent; this is required by some + * specification to be 65537. + * > 2 Use this public exponent. If the given exponent + * is not odd one is internally added to it. + * TRANSIENT_KEY: If true, generate the primes using the standard RNG. + * Returns: 2 structures filled with all needed values + */ +static gpg_err_code_t +generate_std (RSA_secret_key *sk, unsigned int nbits, unsigned long use_e, + int transient_key) +{ + gcry_mpi_t p, q; /* the two primes */ + gcry_mpi_t d; /* the private key */ + gcry_mpi_t u; + gcry_mpi_t t1, t2; + gcry_mpi_t n; /* the public key */ + gcry_mpi_t e; /* the exponent */ + gcry_mpi_t phi; /* helper: (p-1)(q-1) */ + gcry_mpi_t g; + gcry_mpi_t f; + gcry_random_level_t random_level; + + if (fips_mode ()) + { + if (nbits < 1024) + return GPG_ERR_INV_VALUE; + if (transient_key) + return GPG_ERR_INV_VALUE; + } + + /* The random quality depends on the transient_key flag. */ + random_level = transient_key ? GCRY_STRONG_RANDOM : GCRY_VERY_STRONG_RANDOM; + + /* Make sure that nbits is even so that we generate p, q of equal size. */ + if ( (nbits&1) ) + nbits++; + + if (use_e == 1) /* Alias for a secure value */ + use_e = 65537; /* as demanded by Sphinx. */ + + /* Public exponent: + In general we use 41 as this is quite fast and more secure than the + commonly used 17. Benchmarking the RSA verify function + with a 1024 bit key yields (2001-11-08): + e=17 0.54 ms + e=41 0.75 ms + e=257 0.95 ms + e=65537 1.80 ms + */ + e = mpi_alloc( (32+BITS_PER_MPI_LIMB-1)/BITS_PER_MPI_LIMB ); + if (!use_e) + mpi_set_ui (e, 41); /* This is a reasonable secure and fast value */ + else + { + use_e |= 1; /* make sure this is odd */ + mpi_set_ui (e, use_e); + } + + n = gcry_mpi_new (nbits); + + p = q = NULL; + do + { + /* select two (very secret) primes */ + if (p) + gcry_mpi_release (p); + if (q) + gcry_mpi_release (q); + if (use_e) + { /* Do an extra test to ensure that the given exponent is + suitable. */ + p = _gcry_generate_secret_prime (nbits/2, random_level, + check_exponent, e); + q = _gcry_generate_secret_prime (nbits/2, random_level, + check_exponent, e); + } + else + { /* We check the exponent later. */ + p = _gcry_generate_secret_prime (nbits/2, random_level, NULL, NULL); + q = _gcry_generate_secret_prime (nbits/2, random_level, NULL, NULL); + } + if (mpi_cmp (p, q) > 0 ) /* p shall be smaller than q (for calc of u)*/ + mpi_swap(p,q); + /* calculate the modulus */ + mpi_mul( n, p, q ); + } + while ( mpi_get_nbits(n) != nbits ); + + /* calculate Euler totient: phi = (p-1)(q-1) */ + t1 = mpi_alloc_secure( mpi_get_nlimbs(p) ); + t2 = mpi_alloc_secure( mpi_get_nlimbs(p) ); + phi = gcry_mpi_snew ( nbits ); + g = gcry_mpi_snew ( nbits ); + f = gcry_mpi_snew ( nbits ); + mpi_sub_ui( t1, p, 1 ); + mpi_sub_ui( t2, q, 1 ); + mpi_mul( phi, t1, t2 ); + gcry_mpi_gcd(g, t1, t2); + mpi_fdiv_q(f, phi, g); + + while (!gcry_mpi_gcd(t1, e, phi)) /* (while gcd is not 1) */ + { + if (use_e) + BUG (); /* The prime generator already made sure that we + never can get to here. */ + mpi_add_ui (e, e, 2); + } + + /* calculate the secret key d = e^1 mod phi */ + d = gcry_mpi_snew ( nbits ); + mpi_invm(d, e, f ); + /* calculate the inverse of p and q (used for chinese remainder theorem)*/ + u = gcry_mpi_snew ( nbits ); + mpi_invm(u, p, q ); + + if( DBG_CIPHER ) + { + log_mpidump(" p= ", p ); + log_mpidump(" q= ", q ); + log_mpidump("phi= ", phi ); + log_mpidump(" g= ", g ); + log_mpidump(" f= ", f ); + log_mpidump(" n= ", n ); + log_mpidump(" e= ", e ); + log_mpidump(" d= ", d ); + log_mpidump(" u= ", u ); + } + + gcry_mpi_release (t1); + gcry_mpi_release (t2); + gcry_mpi_release (phi); + gcry_mpi_release (f); + gcry_mpi_release (g); + + sk->n = n; + sk->e = e; + sk->p = p; + sk->q = q; + sk->d = d; + sk->u = u; + + /* Now we can test our keys. */ + if (test_keys (sk, nbits - 64)) + { + gcry_mpi_release (sk->n); sk->n = NULL; + gcry_mpi_release (sk->e); sk->e = NULL; + gcry_mpi_release (sk->p); sk->p = NULL; + gcry_mpi_release (sk->q); sk->q = NULL; + gcry_mpi_release (sk->d); sk->d = NULL; + gcry_mpi_release (sk->u); sk->u = NULL; + fips_signal_error ("self-test after key generation failed"); + return GPG_ERR_SELFTEST_FAILED; + } + + return 0; +} + + +/* Helper for generate_x931. */ +static gcry_mpi_t +gen_x931_parm_xp (unsigned int nbits) +{ + gcry_mpi_t xp; + + xp = gcry_mpi_snew (nbits); + gcry_mpi_randomize (xp, nbits, GCRY_VERY_STRONG_RANDOM); + + /* The requirement for Xp is: + + sqrt{2}*2^{nbits-1} <= xp <= 2^{nbits} - 1 + + We set the two high order bits to 1 to satisfy the lower bound. + By using mpi_set_highbit we make sure that the upper bound is + satisfied as well. */ + mpi_set_highbit (xp, nbits-1); + mpi_set_bit (xp, nbits-2); + gcry_assert ( mpi_get_nbits (xp) == nbits ); + + return xp; +} + + +/* Helper for generate_x931. */ +static gcry_mpi_t +gen_x931_parm_xi (void) +{ + gcry_mpi_t xi; + + xi = gcry_mpi_snew (101); + gcry_mpi_randomize (xi, 101, GCRY_VERY_STRONG_RANDOM); + mpi_set_highbit (xi, 100); + gcry_assert ( mpi_get_nbits (xi) == 101 ); + + return xi; +} + + + +/* Variant of the standard key generation code using the algorithm + from X9.31. Using this algorithm has the advantage that the + generation can be made deterministic which is required for CAVS + testing. */ +static gpg_err_code_t +generate_x931 (RSA_secret_key *sk, unsigned int nbits, unsigned long e_value, + gcry_sexp_t deriveparms, int *swapped) +{ + gcry_mpi_t p, q; /* The two primes. */ + gcry_mpi_t e; /* The public exponent. */ + gcry_mpi_t n; /* The public key. */ + gcry_mpi_t d; /* The private key */ + gcry_mpi_t u; /* The inverse of p and q. */ + gcry_mpi_t pm1; /* p - 1 */ + gcry_mpi_t qm1; /* q - 1 */ + gcry_mpi_t phi; /* Euler totient. */ + gcry_mpi_t f, g; /* Helper. */ + + *swapped = 0; + + if (e_value == 1) /* Alias for a secure value. */ + e_value = 65537; + + /* Point 1 of section 4.1: k = 1024 + 256s with S >= 0 */ + if (nbits < 1024 || (nbits % 256)) + return GPG_ERR_INV_VALUE; + + /* Point 2: 2 <= bitlength(e) < 2^{k-2} + Note that we do not need to check the upper bound because we use + an unsigned long for E and thus there is no way for E to reach + that limit. */ + if (e_value < 3) + return GPG_ERR_INV_VALUE; + + /* Our implementaion requires E to be odd. */ + if (!(e_value & 1)) + return GPG_ERR_INV_VALUE; + + /* Point 3: e > 0 or e 0 if it is to be randomly generated. + We support only a fixed E and thus there is no need for an extra test. */ + + + /* Compute or extract the derive parameters. */ + { + gcry_mpi_t xp1 = NULL; + gcry_mpi_t xp2 = NULL; + gcry_mpi_t xp = NULL; + gcry_mpi_t xq1 = NULL; + gcry_mpi_t xq2 = NULL; + gcry_mpi_t xq = NULL; + gcry_mpi_t tmpval; + + if (!deriveparms) + { + /* Not given: Generate them. */ + xp = gen_x931_parm_xp (nbits/2); + /* Make sure that |xp - xq| > 2^{nbits - 100} holds. */ + tmpval = gcry_mpi_snew (nbits/2); + do + { + gcry_mpi_release (xq); + xq = gen_x931_parm_xp (nbits/2); + mpi_sub (tmpval, xp, xq); + } + while (mpi_get_nbits (tmpval) <= (nbits/2 - 100)); + gcry_mpi_release (tmpval); + + xp1 = gen_x931_parm_xi (); + xp2 = gen_x931_parm_xi (); + xq1 = gen_x931_parm_xi (); + xq2 = gen_x931_parm_xi (); + + } + else + { + /* Parameters to derive the key are given. */ + struct { const char *name; gcry_mpi_t *value; } tbl[] = { + { "Xp1", &xp1 }, + { "Xp2", &xp2 }, + { "Xp", &xp }, + { "Xq1", &xq1 }, + { "Xq2", &xq2 }, + { "Xq", &xq }, + { NULL, NULL } + }; + int idx; + gcry_sexp_t oneparm; + + for (idx=0; tbl[idx].name; idx++) + { + oneparm = gcry_sexp_find_token (deriveparms, tbl[idx].name, 0); + if (oneparm) + { + *tbl[idx].value = gcry_sexp_nth_mpi (oneparm, 1, + GCRYMPI_FMT_USG); + gcry_sexp_release (oneparm); + } + } + for (idx=0; tbl[idx].name; idx++) + if (!*tbl[idx].value) + break; + if (tbl[idx].name) + { + /* At least one parameter is missing. */ + for (idx=0; tbl[idx].name; idx++) + gcry_mpi_release (*tbl[idx].value); + return GPG_ERR_MISSING_VALUE; + } + } + + e = mpi_alloc_set_ui (e_value); + + /* Find two prime numbers. */ + p = _gcry_derive_x931_prime (xp, xp1, xp2, e, NULL, NULL); + q = _gcry_derive_x931_prime (xq, xq1, xq2, e, NULL, NULL); + gcry_mpi_release (xp); xp = NULL; + gcry_mpi_release (xp1); xp1 = NULL; + gcry_mpi_release (xp2); xp2 = NULL; + gcry_mpi_release (xq); xq = NULL; + gcry_mpi_release (xq1); xq1 = NULL; + gcry_mpi_release (xq2); xq2 = NULL; + if (!p || !q) + { + gcry_mpi_release (p); + gcry_mpi_release (q); + gcry_mpi_release (e); + return GPG_ERR_NO_PRIME; + } + } + + + /* Compute the public modulus. We make sure that p is smaller than + q to allow the use of the CRT. */ + if (mpi_cmp (p, q) > 0 ) + { + mpi_swap (p, q); + *swapped = 1; + } + n = gcry_mpi_new (nbits); + mpi_mul (n, p, q); + + /* Compute the Euler totient: phi = (p-1)(q-1) */ + pm1 = gcry_mpi_snew (nbits/2); + qm1 = gcry_mpi_snew (nbits/2); + phi = gcry_mpi_snew (nbits); + mpi_sub_ui (pm1, p, 1); + mpi_sub_ui (qm1, q, 1); + mpi_mul (phi, pm1, qm1); + + g = gcry_mpi_snew (nbits); + gcry_assert (gcry_mpi_gcd (g, e, phi)); + + /* Compute: f = lcm(p-1,q-1) = phi / gcd(p-1,q-1) */ + gcry_mpi_gcd (g, pm1, qm1); + f = pm1; pm1 = NULL; + gcry_mpi_release (qm1); qm1 = NULL; + mpi_fdiv_q (f, phi, g); + gcry_mpi_release (phi); phi = NULL; + d = g; g = NULL; + /* Compute the secret key: d = e^{-1} mod lcm(p-1,q-1) */ + mpi_invm (d, e, f); + + /* Compute the inverse of p and q. */ + u = f; f = NULL; + mpi_invm (u, p, q ); + + if( DBG_CIPHER ) + { + if (*swapped) + log_debug ("p and q are swapped\n"); + log_mpidump(" p", p ); + log_mpidump(" q", q ); + log_mpidump(" n", n ); + log_mpidump(" e", e ); + log_mpidump(" d", d ); + log_mpidump(" u", u ); + } + + + sk->n = n; + sk->e = e; + sk->p = p; + sk->q = q; + sk->d = d; + sk->u = u; + + /* Now we can test our keys. */ + if (test_keys (sk, nbits - 64)) + { + gcry_mpi_release (sk->n); sk->n = NULL; + gcry_mpi_release (sk->e); sk->e = NULL; + gcry_mpi_release (sk->p); sk->p = NULL; + gcry_mpi_release (sk->q); sk->q = NULL; + gcry_mpi_release (sk->d); sk->d = NULL; + gcry_mpi_release (sk->u); sk->u = NULL; + fips_signal_error ("self-test after key generation failed"); + return GPG_ERR_SELFTEST_FAILED; + } + + return 0; +} + + +/**************** + * Test wether the secret key is valid. + * Returns: true if this is a valid key. + */ +static int +check_secret_key( RSA_secret_key *sk ) +{ + int rc; + gcry_mpi_t temp = mpi_alloc( mpi_get_nlimbs(sk->p)*2 ); + + mpi_mul(temp, sk->p, sk->q ); + rc = mpi_cmp( temp, sk->n ); + mpi_free(temp); + return !rc; +} + + + +/**************** + * Public key operation. Encrypt INPUT with PKEY and put result into OUTPUT. + * + * c = m^e mod n + * + * Where c is OUTPUT, m is INPUT and e,n are elements of PKEY. + */ +static void +public(gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *pkey ) +{ + if( output == input ) /* powm doesn't like output and input the same */ + { + gcry_mpi_t x = mpi_alloc( mpi_get_nlimbs(input)*2 ); + mpi_powm( x, input, pkey->e, pkey->n ); + mpi_set(output, x); + mpi_free(x); + } + else + mpi_powm( output, input, pkey->e, pkey->n ); +} + +#if 0 +static void +stronger_key_check ( RSA_secret_key *skey ) +{ + gcry_mpi_t t = mpi_alloc_secure ( 0 ); + gcry_mpi_t t1 = mpi_alloc_secure ( 0 ); + gcry_mpi_t t2 = mpi_alloc_secure ( 0 ); + gcry_mpi_t phi = mpi_alloc_secure ( 0 ); + + /* check that n == p * q */ + mpi_mul( t, skey->p, skey->q); + if (mpi_cmp( t, skey->n) ) + log_info ( "RSA Oops: n != p * q\n" ); + + /* check that p is less than q */ + if( mpi_cmp( skey->p, skey->q ) > 0 ) + { + log_info ("RSA Oops: p >= q - fixed\n"); + _gcry_mpi_swap ( skey->p, skey->q); + } + + /* check that e divides neither p-1 nor q-1 */ + mpi_sub_ui(t, skey->p, 1 ); + mpi_fdiv_r(t, t, skey->e ); + if ( !mpi_cmp_ui( t, 0) ) + log_info ( "RSA Oops: e divides p-1\n" ); + mpi_sub_ui(t, skey->q, 1 ); + mpi_fdiv_r(t, t, skey->e ); + if ( !mpi_cmp_ui( t, 0) ) + log_info ( "RSA Oops: e divides q-1\n" ); + + /* check that d is correct */ + mpi_sub_ui( t1, skey->p, 1 ); + mpi_sub_ui( t2, skey->q, 1 ); + mpi_mul( phi, t1, t2 ); + gcry_mpi_gcd(t, t1, t2); + mpi_fdiv_q(t, phi, t); + mpi_invm(t, skey->e, t ); + if ( mpi_cmp(t, skey->d ) ) + { + log_info ( "RSA Oops: d is wrong - fixed\n"); + mpi_set (skey->d, t); + _gcry_log_mpidump (" fixed d", skey->d); + } + + /* check for correctness of u */ + mpi_invm(t, skey->p, skey->q ); + if ( mpi_cmp(t, skey->u ) ) + { + log_info ( "RSA Oops: u is wrong - fixed\n"); + mpi_set (skey->u, t); + _gcry_log_mpidump (" fixed u", skey->u); + } + + log_info ( "RSA secret key check finished\n"); + + mpi_free (t); + mpi_free (t1); + mpi_free (t2); + mpi_free (phi); +} +#endif + + + +/**************** + * Secret key operation. Encrypt INPUT with SKEY and put result into OUTPUT. + * + * m = c^d mod n + * + * Or faster: + * + * m1 = c ^ (d mod (p-1)) mod p + * m2 = c ^ (d mod (q-1)) mod q + * h = u * (m2 - m1) mod q + * m = m1 + h * p + * + * Where m is OUTPUT, c is INPUT and d,n,p,q,u are elements of SKEY. + */ +static void +secret(gcry_mpi_t output, gcry_mpi_t input, RSA_secret_key *skey ) +{ + if (!skey->p || !skey->q || !skey->u) + { + mpi_powm (output, input, skey->d, skey->n); + } + else + { + gcry_mpi_t m1 = mpi_alloc_secure( mpi_get_nlimbs(skey->n)+1 ); + gcry_mpi_t m2 = mpi_alloc_secure( mpi_get_nlimbs(skey->n)+1 ); + gcry_mpi_t h = mpi_alloc_secure( mpi_get_nlimbs(skey->n)+1 ); + + /* m1 = c ^ (d mod (p-1)) mod p */ + mpi_sub_ui( h, skey->p, 1 ); + mpi_fdiv_r( h, skey->d, h ); + mpi_powm( m1, input, h, skey->p ); + /* m2 = c ^ (d mod (q-1)) mod q */ + mpi_sub_ui( h, skey->q, 1 ); + mpi_fdiv_r( h, skey->d, h ); + mpi_powm( m2, input, h, skey->q ); + /* h = u * ( m2 - m1 ) mod q */ + mpi_sub( h, m2, m1 ); + if ( mpi_is_neg( h ) ) + mpi_add ( h, h, skey->q ); + mpi_mulm( h, skey->u, h, skey->q ); + /* m = m2 + h * p */ + mpi_mul ( h, h, skey->p ); + mpi_add ( output, m1, h ); + + mpi_free ( h ); + mpi_free ( m1 ); + mpi_free ( m2 ); + } +} + + + +/* Perform RSA blinding. */ +static gcry_mpi_t +rsa_blind (gcry_mpi_t x, gcry_mpi_t r, gcry_mpi_t e, gcry_mpi_t n) +{ + /* A helper. */ + gcry_mpi_t a; + + /* Result. */ + gcry_mpi_t y; + + a = gcry_mpi_snew (gcry_mpi_get_nbits (n)); + y = gcry_mpi_snew (gcry_mpi_get_nbits (n)); + + /* Now we calculate: y = (x * r^e) mod n, where r is the random + number, e is the public exponent, x is the non-blinded data and n + is the RSA modulus. */ + gcry_mpi_powm (a, r, e, n); + gcry_mpi_mulm (y, a, x, n); + + gcry_mpi_release (a); + + return y; +} + +/* Undo RSA blinding. */ +static gcry_mpi_t +rsa_unblind (gcry_mpi_t x, gcry_mpi_t ri, gcry_mpi_t n) +{ + gcry_mpi_t y; + + y = gcry_mpi_snew (gcry_mpi_get_nbits (n)); + + /* Here we calculate: y = (x * r^-1) mod n, where x is the blinded + decrypted data, ri is the modular multiplicative inverse of r and + n is the RSA modulus. */ + + gcry_mpi_mulm (y, ri, x, n); + + return y; +} + +/********************************************* + ************** interface ****************** + *********************************************/ + +static gcry_err_code_t +rsa_generate_ext (int algo, unsigned int nbits, unsigned long evalue, + const gcry_sexp_t genparms, + gcry_mpi_t *skey, gcry_mpi_t **retfactors, + gcry_sexp_t *r_extrainfo) +{ + RSA_secret_key sk; + gpg_err_code_t ec; + gcry_sexp_t deriveparms; + int transient_key = 0; + int use_x931 = 0; + gcry_sexp_t l1; + + (void)algo; + + *retfactors = NULL; /* We don't return them. */ + + deriveparms = (genparms? + gcry_sexp_find_token (genparms, "derive-parms", 0) : NULL); + if (!deriveparms) + { + /* Parse the optional "use-x931" flag. */ + l1 = gcry_sexp_find_token (genparms, "use-x931", 0); + if (l1) + { + use_x931 = 1; + gcry_sexp_release (l1); + } + } + + if (deriveparms || use_x931 || fips_mode ()) + { + int swapped; + ec = generate_x931 (&sk, nbits, evalue, deriveparms, &swapped); + gcry_sexp_release (deriveparms); + if (!ec && r_extrainfo && swapped) + { + ec = gcry_sexp_new (r_extrainfo, + "(misc-key-info(p-q-swapped))", 0, 1); + if (ec) + { + gcry_mpi_release (sk.n); sk.n = NULL; + gcry_mpi_release (sk.e); sk.e = NULL; + gcry_mpi_release (sk.p); sk.p = NULL; + gcry_mpi_release (sk.q); sk.q = NULL; + gcry_mpi_release (sk.d); sk.d = NULL; + gcry_mpi_release (sk.u); sk.u = NULL; + } + } + } + else + { + /* Parse the optional "transient-key" flag. */ + l1 = gcry_sexp_find_token (genparms, "transient-key", 0); + if (l1) + { + transient_key = 1; + gcry_sexp_release (l1); + } + /* Generate. */ + ec = generate_std (&sk, nbits, evalue, transient_key); + } + + if (!ec) + { + skey[0] = sk.n; + skey[1] = sk.e; + skey[2] = sk.d; + skey[3] = sk.p; + skey[4] = sk.q; + skey[5] = sk.u; + } + + return ec; +} + + +static gcry_err_code_t +rsa_generate (int algo, unsigned int nbits, unsigned long evalue, + gcry_mpi_t *skey, gcry_mpi_t **retfactors) +{ + return rsa_generate_ext (algo, nbits, evalue, NULL, skey, retfactors, NULL); +} + + +static gcry_err_code_t +rsa_check_secret_key (int algo, gcry_mpi_t *skey) +{ + gcry_err_code_t err = GPG_ERR_NO_ERROR; + RSA_secret_key sk; + + (void)algo; + + sk.n = skey[0]; + sk.e = skey[1]; + sk.d = skey[2]; + sk.p = skey[3]; + sk.q = skey[4]; + sk.u = skey[5]; + + if (!sk.p || !sk.q || !sk.u) + err = GPG_ERR_NO_OBJ; /* To check the key we need the optional + parameters. */ + else if (!check_secret_key (&sk)) + err = GPG_ERR_PUBKEY_ALGO; + + return err; +} + + +static gcry_err_code_t +rsa_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, + gcry_mpi_t *pkey, int flags) +{ + RSA_public_key pk; + + (void)algo; + (void)flags; + + pk.n = pkey[0]; + pk.e = pkey[1]; + resarr[0] = mpi_alloc (mpi_get_nlimbs (pk.n)); + public (resarr[0], data, &pk); + + return GPG_ERR_NO_ERROR; +} + + +static gcry_err_code_t +rsa_decrypt (int algo, gcry_mpi_t *result, gcry_mpi_t *data, + gcry_mpi_t *skey, int flags) +{ + RSA_secret_key sk; + gcry_mpi_t r = MPI_NULL; /* Random number needed for blinding. */ + gcry_mpi_t ri = MPI_NULL; /* Modular multiplicative inverse of + r. */ + gcry_mpi_t x = MPI_NULL; /* Data to decrypt. */ + gcry_mpi_t y; /* Result. */ + + (void)algo; + + /* Extract private key. */ + sk.n = skey[0]; + sk.e = skey[1]; + sk.d = skey[2]; + sk.p = skey[3]; /* Optional. */ + sk.q = skey[4]; /* Optional. */ + sk.u = skey[5]; /* Optional. */ + + y = gcry_mpi_snew (gcry_mpi_get_nbits (sk.n)); + + /* We use blinding by default to mitigate timing attacks which can + be practically mounted over the network as shown by Brumley and + Boney in 2003. */ + if (! (flags & PUBKEY_FLAG_NO_BLINDING)) + { + /* Initialize blinding. */ + + /* First, we need a random number r between 0 and n - 1, which + is relatively prime to n (i.e. it is neither p nor q). The + random number needs to be only unpredictable, thus we employ + the gcry_create_nonce function by using GCRY_WEAK_RANDOM with + gcry_mpi_randomize. */ + r = gcry_mpi_snew (gcry_mpi_get_nbits (sk.n)); + ri = gcry_mpi_snew (gcry_mpi_get_nbits (sk.n)); + + gcry_mpi_randomize (r, gcry_mpi_get_nbits (sk.n), GCRY_WEAK_RANDOM); + gcry_mpi_mod (r, r, sk.n); + + /* Calculate inverse of r. It practically impossible that the + follwing test fails, thus we do not add code to release + allocated resources. */ + if (!gcry_mpi_invm (ri, r, sk.n)) + return GPG_ERR_INTERNAL; + } + + if (! (flags & PUBKEY_FLAG_NO_BLINDING)) + x = rsa_blind (data[0], r, sk.e, sk.n); + else + x = data[0]; + + /* Do the encryption. */ + secret (y, x, &sk); + + if (! (flags & PUBKEY_FLAG_NO_BLINDING)) + { + /* Undo blinding. */ + gcry_mpi_t a = gcry_mpi_copy (y); + + gcry_mpi_release (y); + y = rsa_unblind (a, ri, sk.n); + + gcry_mpi_release (a); + } + + if (! (flags & PUBKEY_FLAG_NO_BLINDING)) + { + /* Deallocate resources needed for blinding. */ + gcry_mpi_release (x); + gcry_mpi_release (r); + gcry_mpi_release (ri); + } + + /* Copy out result. */ + *result = y; + + return GPG_ERR_NO_ERROR; +} + + +static gcry_err_code_t +rsa_sign (int algo, gcry_mpi_t *resarr, gcry_mpi_t data, gcry_mpi_t *skey) +{ + RSA_secret_key sk; + + (void)algo; + + sk.n = skey[0]; + sk.e = skey[1]; + sk.d = skey[2]; + sk.p = skey[3]; + sk.q = skey[4]; + sk.u = skey[5]; + resarr[0] = mpi_alloc( mpi_get_nlimbs (sk.n)); + secret (resarr[0], data, &sk); + + return GPG_ERR_NO_ERROR; +} + + +static gcry_err_code_t +rsa_verify (int algo, gcry_mpi_t hash, gcry_mpi_t *data, gcry_mpi_t *pkey, + int (*cmp) (void *opaque, gcry_mpi_t tmp), + void *opaquev) +{ + RSA_public_key pk; + gcry_mpi_t result; + gcry_err_code_t rc; + + (void)algo; + (void)cmp; + (void)opaquev; + + pk.n = pkey[0]; + pk.e = pkey[1]; + result = gcry_mpi_new ( 160 ); + public( result, data[0], &pk ); +#ifdef IS_DEVELOPMENT_VERSION + if (DBG_CIPHER) + { + log_mpidump ("rsa verify result:", result ); + log_mpidump (" hash:", hash ); + } +#endif /*IS_DEVELOPMENT_VERSION*/ + /*rc = (*cmp)( opaquev, result );*/ + rc = mpi_cmp (result, hash) ? GPG_ERR_BAD_SIGNATURE : GPG_ERR_NO_ERROR; + gcry_mpi_release (result); + + return rc; +} + + +static unsigned int +rsa_get_nbits (int algo, gcry_mpi_t *pkey) +{ + (void)algo; + + return mpi_get_nbits (pkey[0]); +} + + +/* Compute a keygrip. MD is the hash context which we are going to + update. KEYPARAM is an S-expression with the key parameters, this + is usually a public key but may also be a secret key. An example + of such an S-expression is: + + (rsa + (n #00B...#) + (e #010001#)) + + PKCS-15 says that for RSA only the modulus should be hashed - + however, it is not clear wether this is meant to use the raw bytes + (assuming this is an unsigned integer) or whether the DER required + 0 should be prefixed. We hash the raw bytes. */ +static gpg_err_code_t +compute_keygrip (gcry_md_hd_t md, gcry_sexp_t keyparam) +{ + gcry_sexp_t l1; + const char *data; + size_t datalen; + + l1 = gcry_sexp_find_token (keyparam, "n", 1); + if (!l1) + return GPG_ERR_NO_OBJ; + + data = gcry_sexp_nth_data (l1, 1, &datalen); + if (!data) + { + gcry_sexp_release (l1); + return GPG_ERR_NO_OBJ; + } + + gcry_md_write (md, data, datalen); + gcry_sexp_release (l1); + + return 0; +} + + + + +/* + Self-test section. + */ + + + + +/* Given an S-expression ENCR_DATA of the form: + + (enc-val + (rsa + (a a-value))) + + as returned by gcry_pk_decrypt, return the the A-VALUE. On error, + return NULL. */ +static gcry_mpi_t +extract_a_from_sexp (gcry_sexp_t encr_data) +{ + gcry_sexp_t l1, l2, l3; + gcry_mpi_t a_value; + + l1 = gcry_sexp_find_token (encr_data, "enc-val", 0); + if (!l1) + return NULL; + l2 = gcry_sexp_find_token (l1, "rsa", 0); + gcry_sexp_release (l1); + if (!l2) + return NULL; + l3 = gcry_sexp_find_token (l2, "a", 0); + gcry_sexp_release (l2); + if (!l3) + return NULL; + a_value = gcry_sexp_nth_mpi (l3, 1, 0); + gcry_sexp_release (l3); + + return a_value; +} + + + + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static const char *rsa_names[] = + { + "rsa", + "openpgp-rsa", + "oid.1.2.840.113549.1.1.1", + NULL, + }; + +gcry_pk_spec_t _gcry_pubkey_spec_rsa = + { + "RSA", rsa_names, + "ne", "nedpqu", "a", "s", "n", + GCRY_PK_USAGE_SIGN | GCRY_PK_USAGE_ENCR, + rsa_generate, + rsa_check_secret_key, + rsa_encrypt, + rsa_decrypt, + rsa_sign, + rsa_verify, + rsa_get_nbits, + }; +pk_extra_spec_t _gcry_pubkey_extraspec_rsa = + { + run_selftests, + rsa_generate_ext, + compute_keygrip + }; + diff --git a/grub-core/lib/libgcrypt-grub/cipher/seed.c b/grub-core/lib/libgcrypt-grub/cipher/seed.c new file mode 100644 index 0000000..8f47a29 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/seed.c @@ -0,0 +1,458 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* SEED for libgcrypt + * Copyright (C) 2006 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * -- + * This implementation was provided for libgcrypt in public domain + * by Hye-Shik Chang , July 2006. + */ + + +#include "types.h" /* for byte and u32 typedefs */ +#include "g10lib.h" +#include "cipher.h" + +#define NUMKC 16 + +#define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ \ + ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3])) +#define PUTU32(ct, st) { (ct)[0] = (byte)((st) >> 24); \ + (ct)[1] = (byte)((st) >> 16); \ + (ct)[2] = (byte)((st) >> 8); \ + (ct)[3] = (byte)(st); } + +union wordbuf +{ + u32 w; + byte b[4]; +}; + +#ifdef WORDS_BIGENDIAN +#define b0 b[3] +#define b1 b[2] +#define b2 b[1] +#define b3 b[0] +#else +#define b0 b[0] +#define b1 b[1] +#define b2 b[2] +#define b3 b[3] +#endif + + +typedef struct +{ + u32 keyschedule[32]; +} SEED_context; + +static const u32 SS0[256] = { + 0x2989a1a8, 0x05858184, 0x16c6d2d4, 0x13c3d3d0, 0x14445054, 0x1d0d111c, + 0x2c8ca0ac, 0x25052124, 0x1d4d515c, 0x03434340, 0x18081018, 0x1e0e121c, + 0x11415150, 0x3cccf0fc, 0x0acac2c8, 0x23436360, 0x28082028, 0x04444044, + 0x20002020, 0x1d8d919c, 0x20c0e0e0, 0x22c2e2e0, 0x08c8c0c8, 0x17071314, + 0x2585a1a4, 0x0f8f838c, 0x03030300, 0x3b4b7378, 0x3b8bb3b8, 0x13031310, + 0x12c2d2d0, 0x2ecee2ec, 0x30407070, 0x0c8c808c, 0x3f0f333c, 0x2888a0a8, + 0x32023230, 0x1dcdd1dc, 0x36c6f2f4, 0x34447074, 0x2ccce0ec, 0x15859194, + 0x0b0b0308, 0x17475354, 0x1c4c505c, 0x1b4b5358, 0x3d8db1bc, 0x01010100, + 0x24042024, 0x1c0c101c, 0x33437370, 0x18889098, 0x10001010, 0x0cccc0cc, + 0x32c2f2f0, 0x19c9d1d8, 0x2c0c202c, 0x27c7e3e4, 0x32427270, 0x03838380, + 0x1b8b9398, 0x11c1d1d0, 0x06868284, 0x09c9c1c8, 0x20406060, 0x10405050, + 0x2383a3a0, 0x2bcbe3e8, 0x0d0d010c, 0x3686b2b4, 0x1e8e929c, 0x0f4f434c, + 0x3787b3b4, 0x1a4a5258, 0x06c6c2c4, 0x38487078, 0x2686a2a4, 0x12021210, + 0x2f8fa3ac, 0x15c5d1d4, 0x21416160, 0x03c3c3c0, 0x3484b0b4, 0x01414140, + 0x12425250, 0x3d4d717c, 0x0d8d818c, 0x08080008, 0x1f0f131c, 0x19899198, + 0x00000000, 0x19091118, 0x04040004, 0x13435350, 0x37c7f3f4, 0x21c1e1e0, + 0x3dcdf1fc, 0x36467274, 0x2f0f232c, 0x27072324, 0x3080b0b0, 0x0b8b8388, + 0x0e0e020c, 0x2b8ba3a8, 0x2282a2a0, 0x2e4e626c, 0x13839390, 0x0d4d414c, + 0x29496168, 0x3c4c707c, 0x09090108, 0x0a0a0208, 0x3f8fb3bc, 0x2fcfe3ec, + 0x33c3f3f0, 0x05c5c1c4, 0x07878384, 0x14041014, 0x3ecef2fc, 0x24446064, + 0x1eced2dc, 0x2e0e222c, 0x0b4b4348, 0x1a0a1218, 0x06060204, 0x21012120, + 0x2b4b6368, 0x26466264, 0x02020200, 0x35c5f1f4, 0x12829290, 0x0a8a8288, + 0x0c0c000c, 0x3383b3b0, 0x3e4e727c, 0x10c0d0d0, 0x3a4a7278, 0x07474344, + 0x16869294, 0x25c5e1e4, 0x26062224, 0x00808080, 0x2d8da1ac, 0x1fcfd3dc, + 0x2181a1a0, 0x30003030, 0x37073334, 0x2e8ea2ac, 0x36063234, 0x15051114, + 0x22022220, 0x38083038, 0x34c4f0f4, 0x2787a3a4, 0x05454144, 0x0c4c404c, + 0x01818180, 0x29c9e1e8, 0x04848084, 0x17879394, 0x35053134, 0x0bcbc3c8, + 0x0ecec2cc, 0x3c0c303c, 0x31417170, 0x11011110, 0x07c7c3c4, 0x09898188, + 0x35457174, 0x3bcbf3f8, 0x1acad2d8, 0x38c8f0f8, 0x14849094, 0x19495158, + 0x02828280, 0x04c4c0c4, 0x3fcff3fc, 0x09494148, 0x39093138, 0x27476364, + 0x00c0c0c0, 0x0fcfc3cc, 0x17c7d3d4, 0x3888b0b8, 0x0f0f030c, 0x0e8e828c, + 0x02424240, 0x23032320, 0x11819190, 0x2c4c606c, 0x1bcbd3d8, 0x2484a0a4, + 0x34043034, 0x31c1f1f0, 0x08484048, 0x02c2c2c0, 0x2f4f636c, 0x3d0d313c, + 0x2d0d212c, 0x00404040, 0x3e8eb2bc, 0x3e0e323c, 0x3c8cb0bc, 0x01c1c1c0, + 0x2a8aa2a8, 0x3a8ab2b8, 0x0e4e424c, 0x15455154, 0x3b0b3338, 0x1cccd0dc, + 0x28486068, 0x3f4f737c, 0x1c8c909c, 0x18c8d0d8, 0x0a4a4248, 0x16465254, + 0x37477374, 0x2080a0a0, 0x2dcde1ec, 0x06464244, 0x3585b1b4, 0x2b0b2328, + 0x25456164, 0x3acaf2f8, 0x23c3e3e0, 0x3989b1b8, 0x3181b1b0, 0x1f8f939c, + 0x1e4e525c, 0x39c9f1f8, 0x26c6e2e4, 0x3282b2b0, 0x31013130, 0x2acae2e8, + 0x2d4d616c, 0x1f4f535c, 0x24c4e0e4, 0x30c0f0f0, 0x0dcdc1cc, 0x08888088, + 0x16061214, 0x3a0a3238, 0x18485058, 0x14c4d0d4, 0x22426260, 0x29092128, + 0x07070304, 0x33033330, 0x28c8e0e8, 0x1b0b1318, 0x05050104, 0x39497178, + 0x10809090, 0x2a4a6268, 0x2a0a2228, 0x1a8a9298, +}; + +static const u32 SS1[256] = { + 0x38380830, 0xe828c8e0, 0x2c2d0d21, 0xa42686a2, 0xcc0fcfc3, 0xdc1eced2, + 0xb03383b3, 0xb83888b0, 0xac2f8fa3, 0x60204060, 0x54154551, 0xc407c7c3, + 0x44044440, 0x6c2f4f63, 0x682b4b63, 0x581b4b53, 0xc003c3c3, 0x60224262, + 0x30330333, 0xb43585b1, 0x28290921, 0xa02080a0, 0xe022c2e2, 0xa42787a3, + 0xd013c3d3, 0x90118191, 0x10110111, 0x04060602, 0x1c1c0c10, 0xbc3c8cb0, + 0x34360632, 0x480b4b43, 0xec2fcfe3, 0x88088880, 0x6c2c4c60, 0xa82888a0, + 0x14170713, 0xc404c4c0, 0x14160612, 0xf434c4f0, 0xc002c2c2, 0x44054541, + 0xe021c1e1, 0xd416c6d2, 0x3c3f0f33, 0x3c3d0d31, 0x8c0e8e82, 0x98188890, + 0x28280820, 0x4c0e4e42, 0xf436c6f2, 0x3c3e0e32, 0xa42585a1, 0xf839c9f1, + 0x0c0d0d01, 0xdc1fcfd3, 0xd818c8d0, 0x282b0b23, 0x64264662, 0x783a4a72, + 0x24270723, 0x2c2f0f23, 0xf031c1f1, 0x70324272, 0x40024242, 0xd414c4d0, + 0x40014141, 0xc000c0c0, 0x70334373, 0x64274763, 0xac2c8ca0, 0x880b8b83, + 0xf437c7f3, 0xac2d8da1, 0x80008080, 0x1c1f0f13, 0xc80acac2, 0x2c2c0c20, + 0xa82a8aa2, 0x34340430, 0xd012c2d2, 0x080b0b03, 0xec2ecee2, 0xe829c9e1, + 0x5c1d4d51, 0x94148490, 0x18180810, 0xf838c8f0, 0x54174753, 0xac2e8ea2, + 0x08080800, 0xc405c5c1, 0x10130313, 0xcc0dcdc1, 0x84068682, 0xb83989b1, + 0xfc3fcff3, 0x7c3d4d71, 0xc001c1c1, 0x30310131, 0xf435c5f1, 0x880a8a82, + 0x682a4a62, 0xb03181b1, 0xd011c1d1, 0x20200020, 0xd417c7d3, 0x00020202, + 0x20220222, 0x04040400, 0x68284860, 0x70314171, 0x04070703, 0xd81bcbd3, + 0x9c1d8d91, 0x98198991, 0x60214161, 0xbc3e8eb2, 0xe426c6e2, 0x58194951, + 0xdc1dcdd1, 0x50114151, 0x90108090, 0xdc1cccd0, 0x981a8a92, 0xa02383a3, + 0xa82b8ba3, 0xd010c0d0, 0x80018181, 0x0c0f0f03, 0x44074743, 0x181a0a12, + 0xe023c3e3, 0xec2ccce0, 0x8c0d8d81, 0xbc3f8fb3, 0x94168692, 0x783b4b73, + 0x5c1c4c50, 0xa02282a2, 0xa02181a1, 0x60234363, 0x20230323, 0x4c0d4d41, + 0xc808c8c0, 0x9c1e8e92, 0x9c1c8c90, 0x383a0a32, 0x0c0c0c00, 0x2c2e0e22, + 0xb83a8ab2, 0x6c2e4e62, 0x9c1f8f93, 0x581a4a52, 0xf032c2f2, 0x90128292, + 0xf033c3f3, 0x48094941, 0x78384870, 0xcc0cccc0, 0x14150511, 0xf83bcbf3, + 0x70304070, 0x74354571, 0x7c3f4f73, 0x34350531, 0x10100010, 0x00030303, + 0x64244460, 0x6c2d4d61, 0xc406c6c2, 0x74344470, 0xd415c5d1, 0xb43484b0, + 0xe82acae2, 0x08090901, 0x74364672, 0x18190911, 0xfc3ecef2, 0x40004040, + 0x10120212, 0xe020c0e0, 0xbc3d8db1, 0x04050501, 0xf83acaf2, 0x00010101, + 0xf030c0f0, 0x282a0a22, 0x5c1e4e52, 0xa82989a1, 0x54164652, 0x40034343, + 0x84058581, 0x14140410, 0x88098981, 0x981b8b93, 0xb03080b0, 0xe425c5e1, + 0x48084840, 0x78394971, 0x94178793, 0xfc3cccf0, 0x1c1e0e12, 0x80028282, + 0x20210121, 0x8c0c8c80, 0x181b0b13, 0x5c1f4f53, 0x74374773, 0x54144450, + 0xb03282b2, 0x1c1d0d11, 0x24250521, 0x4c0f4f43, 0x00000000, 0x44064642, + 0xec2dcde1, 0x58184850, 0x50124252, 0xe82bcbe3, 0x7c3e4e72, 0xd81acad2, + 0xc809c9c1, 0xfc3dcdf1, 0x30300030, 0x94158591, 0x64254561, 0x3c3c0c30, + 0xb43686b2, 0xe424c4e0, 0xb83b8bb3, 0x7c3c4c70, 0x0c0e0e02, 0x50104050, + 0x38390931, 0x24260622, 0x30320232, 0x84048480, 0x68294961, 0x90138393, + 0x34370733, 0xe427c7e3, 0x24240420, 0xa42484a0, 0xc80bcbc3, 0x50134353, + 0x080a0a02, 0x84078783, 0xd819c9d1, 0x4c0c4c40, 0x80038383, 0x8c0f8f83, + 0xcc0ecec2, 0x383b0b33, 0x480a4a42, 0xb43787b3, +}; + +static const u32 SS2[256] = { + 0xa1a82989, 0x81840585, 0xd2d416c6, 0xd3d013c3, 0x50541444, 0x111c1d0d, + 0xa0ac2c8c, 0x21242505, 0x515c1d4d, 0x43400343, 0x10181808, 0x121c1e0e, + 0x51501141, 0xf0fc3ccc, 0xc2c80aca, 0x63602343, 0x20282808, 0x40440444, + 0x20202000, 0x919c1d8d, 0xe0e020c0, 0xe2e022c2, 0xc0c808c8, 0x13141707, + 0xa1a42585, 0x838c0f8f, 0x03000303, 0x73783b4b, 0xb3b83b8b, 0x13101303, + 0xd2d012c2, 0xe2ec2ece, 0x70703040, 0x808c0c8c, 0x333c3f0f, 0xa0a82888, + 0x32303202, 0xd1dc1dcd, 0xf2f436c6, 0x70743444, 0xe0ec2ccc, 0x91941585, + 0x03080b0b, 0x53541747, 0x505c1c4c, 0x53581b4b, 0xb1bc3d8d, 0x01000101, + 0x20242404, 0x101c1c0c, 0x73703343, 0x90981888, 0x10101000, 0xc0cc0ccc, + 0xf2f032c2, 0xd1d819c9, 0x202c2c0c, 0xe3e427c7, 0x72703242, 0x83800383, + 0x93981b8b, 0xd1d011c1, 0x82840686, 0xc1c809c9, 0x60602040, 0x50501040, + 0xa3a02383, 0xe3e82bcb, 0x010c0d0d, 0xb2b43686, 0x929c1e8e, 0x434c0f4f, + 0xb3b43787, 0x52581a4a, 0xc2c406c6, 0x70783848, 0xa2a42686, 0x12101202, + 0xa3ac2f8f, 0xd1d415c5, 0x61602141, 0xc3c003c3, 0xb0b43484, 0x41400141, + 0x52501242, 0x717c3d4d, 0x818c0d8d, 0x00080808, 0x131c1f0f, 0x91981989, + 0x00000000, 0x11181909, 0x00040404, 0x53501343, 0xf3f437c7, 0xe1e021c1, + 0xf1fc3dcd, 0x72743646, 0x232c2f0f, 0x23242707, 0xb0b03080, 0x83880b8b, + 0x020c0e0e, 0xa3a82b8b, 0xa2a02282, 0x626c2e4e, 0x93901383, 0x414c0d4d, + 0x61682949, 0x707c3c4c, 0x01080909, 0x02080a0a, 0xb3bc3f8f, 0xe3ec2fcf, + 0xf3f033c3, 0xc1c405c5, 0x83840787, 0x10141404, 0xf2fc3ece, 0x60642444, + 0xd2dc1ece, 0x222c2e0e, 0x43480b4b, 0x12181a0a, 0x02040606, 0x21202101, + 0x63682b4b, 0x62642646, 0x02000202, 0xf1f435c5, 0x92901282, 0x82880a8a, + 0x000c0c0c, 0xb3b03383, 0x727c3e4e, 0xd0d010c0, 0x72783a4a, 0x43440747, + 0x92941686, 0xe1e425c5, 0x22242606, 0x80800080, 0xa1ac2d8d, 0xd3dc1fcf, + 0xa1a02181, 0x30303000, 0x33343707, 0xa2ac2e8e, 0x32343606, 0x11141505, + 0x22202202, 0x30383808, 0xf0f434c4, 0xa3a42787, 0x41440545, 0x404c0c4c, + 0x81800181, 0xe1e829c9, 0x80840484, 0x93941787, 0x31343505, 0xc3c80bcb, + 0xc2cc0ece, 0x303c3c0c, 0x71703141, 0x11101101, 0xc3c407c7, 0x81880989, + 0x71743545, 0xf3f83bcb, 0xd2d81aca, 0xf0f838c8, 0x90941484, 0x51581949, + 0x82800282, 0xc0c404c4, 0xf3fc3fcf, 0x41480949, 0x31383909, 0x63642747, + 0xc0c000c0, 0xc3cc0fcf, 0xd3d417c7, 0xb0b83888, 0x030c0f0f, 0x828c0e8e, + 0x42400242, 0x23202303, 0x91901181, 0x606c2c4c, 0xd3d81bcb, 0xa0a42484, + 0x30343404, 0xf1f031c1, 0x40480848, 0xc2c002c2, 0x636c2f4f, 0x313c3d0d, + 0x212c2d0d, 0x40400040, 0xb2bc3e8e, 0x323c3e0e, 0xb0bc3c8c, 0xc1c001c1, + 0xa2a82a8a, 0xb2b83a8a, 0x424c0e4e, 0x51541545, 0x33383b0b, 0xd0dc1ccc, + 0x60682848, 0x737c3f4f, 0x909c1c8c, 0xd0d818c8, 0x42480a4a, 0x52541646, + 0x73743747, 0xa0a02080, 0xe1ec2dcd, 0x42440646, 0xb1b43585, 0x23282b0b, + 0x61642545, 0xf2f83aca, 0xe3e023c3, 0xb1b83989, 0xb1b03181, 0x939c1f8f, + 0x525c1e4e, 0xf1f839c9, 0xe2e426c6, 0xb2b03282, 0x31303101, 0xe2e82aca, + 0x616c2d4d, 0x535c1f4f, 0xe0e424c4, 0xf0f030c0, 0xc1cc0dcd, 0x80880888, + 0x12141606, 0x32383a0a, 0x50581848, 0xd0d414c4, 0x62602242, 0x21282909, + 0x03040707, 0x33303303, 0xe0e828c8, 0x13181b0b, 0x01040505, 0x71783949, + 0x90901080, 0x62682a4a, 0x22282a0a, 0x92981a8a, +}; + +static const u32 SS3[256] = { + 0x08303838, 0xc8e0e828, 0x0d212c2d, 0x86a2a426, 0xcfc3cc0f, 0xced2dc1e, + 0x83b3b033, 0x88b0b838, 0x8fa3ac2f, 0x40606020, 0x45515415, 0xc7c3c407, + 0x44404404, 0x4f636c2f, 0x4b63682b, 0x4b53581b, 0xc3c3c003, 0x42626022, + 0x03333033, 0x85b1b435, 0x09212829, 0x80a0a020, 0xc2e2e022, 0x87a3a427, + 0xc3d3d013, 0x81919011, 0x01111011, 0x06020406, 0x0c101c1c, 0x8cb0bc3c, + 0x06323436, 0x4b43480b, 0xcfe3ec2f, 0x88808808, 0x4c606c2c, 0x88a0a828, + 0x07131417, 0xc4c0c404, 0x06121416, 0xc4f0f434, 0xc2c2c002, 0x45414405, + 0xc1e1e021, 0xc6d2d416, 0x0f333c3f, 0x0d313c3d, 0x8e828c0e, 0x88909818, + 0x08202828, 0x4e424c0e, 0xc6f2f436, 0x0e323c3e, 0x85a1a425, 0xc9f1f839, + 0x0d010c0d, 0xcfd3dc1f, 0xc8d0d818, 0x0b23282b, 0x46626426, 0x4a72783a, + 0x07232427, 0x0f232c2f, 0xc1f1f031, 0x42727032, 0x42424002, 0xc4d0d414, + 0x41414001, 0xc0c0c000, 0x43737033, 0x47636427, 0x8ca0ac2c, 0x8b83880b, + 0xc7f3f437, 0x8da1ac2d, 0x80808000, 0x0f131c1f, 0xcac2c80a, 0x0c202c2c, + 0x8aa2a82a, 0x04303434, 0xc2d2d012, 0x0b03080b, 0xcee2ec2e, 0xc9e1e829, + 0x4d515c1d, 0x84909414, 0x08101818, 0xc8f0f838, 0x47535417, 0x8ea2ac2e, + 0x08000808, 0xc5c1c405, 0x03131013, 0xcdc1cc0d, 0x86828406, 0x89b1b839, + 0xcff3fc3f, 0x4d717c3d, 0xc1c1c001, 0x01313031, 0xc5f1f435, 0x8a82880a, + 0x4a62682a, 0x81b1b031, 0xc1d1d011, 0x00202020, 0xc7d3d417, 0x02020002, + 0x02222022, 0x04000404, 0x48606828, 0x41717031, 0x07030407, 0xcbd3d81b, + 0x8d919c1d, 0x89919819, 0x41616021, 0x8eb2bc3e, 0xc6e2e426, 0x49515819, + 0xcdd1dc1d, 0x41515011, 0x80909010, 0xccd0dc1c, 0x8a92981a, 0x83a3a023, + 0x8ba3a82b, 0xc0d0d010, 0x81818001, 0x0f030c0f, 0x47434407, 0x0a12181a, + 0xc3e3e023, 0xcce0ec2c, 0x8d818c0d, 0x8fb3bc3f, 0x86929416, 0x4b73783b, + 0x4c505c1c, 0x82a2a022, 0x81a1a021, 0x43636023, 0x03232023, 0x4d414c0d, + 0xc8c0c808, 0x8e929c1e, 0x8c909c1c, 0x0a32383a, 0x0c000c0c, 0x0e222c2e, + 0x8ab2b83a, 0x4e626c2e, 0x8f939c1f, 0x4a52581a, 0xc2f2f032, 0x82929012, + 0xc3f3f033, 0x49414809, 0x48707838, 0xccc0cc0c, 0x05111415, 0xcbf3f83b, + 0x40707030, 0x45717435, 0x4f737c3f, 0x05313435, 0x00101010, 0x03030003, + 0x44606424, 0x4d616c2d, 0xc6c2c406, 0x44707434, 0xc5d1d415, 0x84b0b434, + 0xcae2e82a, 0x09010809, 0x46727436, 0x09111819, 0xcef2fc3e, 0x40404000, + 0x02121012, 0xc0e0e020, 0x8db1bc3d, 0x05010405, 0xcaf2f83a, 0x01010001, + 0xc0f0f030, 0x0a22282a, 0x4e525c1e, 0x89a1a829, 0x46525416, 0x43434003, + 0x85818405, 0x04101414, 0x89818809, 0x8b93981b, 0x80b0b030, 0xc5e1e425, + 0x48404808, 0x49717839, 0x87939417, 0xccf0fc3c, 0x0e121c1e, 0x82828002, + 0x01212021, 0x8c808c0c, 0x0b13181b, 0x4f535c1f, 0x47737437, 0x44505414, + 0x82b2b032, 0x0d111c1d, 0x05212425, 0x4f434c0f, 0x00000000, 0x46424406, + 0xcde1ec2d, 0x48505818, 0x42525012, 0xcbe3e82b, 0x4e727c3e, 0xcad2d81a, + 0xc9c1c809, 0xcdf1fc3d, 0x00303030, 0x85919415, 0x45616425, 0x0c303c3c, + 0x86b2b436, 0xc4e0e424, 0x8bb3b83b, 0x4c707c3c, 0x0e020c0e, 0x40505010, + 0x09313839, 0x06222426, 0x02323032, 0x84808404, 0x49616829, 0x83939013, + 0x07333437, 0xc7e3e427, 0x04202424, 0x84a0a424, 0xcbc3c80b, 0x43535013, + 0x0a02080a, 0x87838407, 0xc9d1d819, 0x4c404c0c, 0x83838003, 0x8f838c0f, + 0xcec2cc0e, 0x0b33383b, 0x4a42480a, 0x87b3b437, +}; + +static const u32 KC[NUMKC] = { + 0x9e3779b9, 0x3c6ef373, 0x78dde6e6, 0xf1bbcdcc, + 0xe3779b99, 0xc6ef3733, 0x8dde6e67, 0x1bbcdccf, + 0x3779b99e, 0x6ef3733c, 0xdde6e678, 0xbbcdccf1, + 0x779b99e3, 0xef3733c6, 0xde6e678d, 0xbcdccf1b, +}; + + + +/* Perform the key setup. + */ +static gcry_err_code_t +do_setkey (SEED_context *ctx, const byte *key, const unsigned keylen) +{ + static int initialized = 0; + static const char *selftest_failed=0; + u32 x1, x2, x3, x4; + union wordbuf t0, t1; + u32 *keyout = ctx->keyschedule; + int i; + + if (!initialized) + { + initialized = 1; + selftest_failed = selftest (); + if( selftest_failed ) + log_error ("%s\n", selftest_failed ); + } + if (selftest_failed) + return GPG_ERR_SELFTEST_FAILED; + + if (keylen != 16) + return GPG_ERR_INV_KEYLEN; + + x1 = GETU32 (key); + x2 = GETU32 (key+4); + x3 = GETU32 (key+8); + x4 = GETU32 (key+12); + + for (i = 0; i < NUMKC; i++) + { + t0.w = x1 + x3 - KC[i]; + t1.w = x2 + KC[i] - x4; + *(keyout++) = SS0[t0.b0] ^ SS1[t0.b1] ^ SS2[t0.b2] ^ SS3[t0.b3]; + *(keyout++) = SS0[t1.b0] ^ SS1[t1.b1] ^ SS2[t1.b2] ^ SS3[t1.b3]; + + if (i % 2 == 0) + { + t0.w = x1; + x1 = (x1>>8) ^ (x2<<24); + x2 = (x2>>8) ^ (t0.w<<24); + } + else + { + t0.w = x3; + x3 = (x3<<8) ^ (x4>>24); + x4 = (x4<<8) ^ (t0.w>>24); + } + } + + return 0; +} + +static gcry_err_code_t +seed_setkey (void *context, const byte *key, const unsigned keylen) +{ + SEED_context *ctx = context; + + int rc = do_setkey (ctx, key, keylen); + _gcry_burn_stack (4*6 + sizeof(void*)*2 + sizeof(int)*2); + return rc; +} + + + +#define OP(X1, X2, X3, X4, rbase) \ + t0.w = X3 ^ ctx->keyschedule[rbase]; \ + t1.w = X4 ^ ctx->keyschedule[rbase+1]; \ + t1.w ^= t0.w; \ + t1.w = SS0[t1.b0] ^ SS1[t1.b1] ^ SS2[t1.b2] ^ SS3[t1.b3]; \ + t0.w += t1.w; \ + t0.w = SS0[t0.b0] ^ SS1[t0.b1] ^ SS2[t0.b2] ^ SS3[t0.b3]; \ + t1.w += t0.w; \ + t1.w = SS0[t1.b0] ^ SS1[t1.b1] ^ SS2[t1.b2] ^ SS3[t1.b3]; \ + t0.w += t1.w; \ + X1 ^= t0.w; \ + X2 ^= t1.w; + +/* Encrypt one block. inbuf and outbuf may be the same. */ +static void +do_encrypt (const SEED_context *ctx, byte *outbuf, const byte *inbuf) +{ + u32 x1, x2, x3, x4; + union wordbuf t0, t1; + + x1 = GETU32 (inbuf); + x2 = GETU32 (inbuf+4); + x3 = GETU32 (inbuf+8); + x4 = GETU32 (inbuf+12); + + OP (x1, x2, x3, x4, 0); + OP (x3, x4, x1, x2, 2); + OP (x1, x2, x3, x4, 4); + OP (x3, x4, x1, x2, 6); + OP (x1, x2, x3, x4, 8); + OP (x3, x4, x1, x2, 10); + OP (x1, x2, x3, x4, 12); + OP (x3, x4, x1, x2, 14); + OP (x1, x2, x3, x4, 16); + OP (x3, x4, x1, x2, 18); + OP (x1, x2, x3, x4, 20); + OP (x3, x4, x1, x2, 22); + OP (x1, x2, x3, x4, 24); + OP (x3, x4, x1, x2, 26); + OP (x1, x2, x3, x4, 28); + OP (x3, x4, x1, x2, 30); + + PUTU32 (outbuf, x3); + PUTU32 (outbuf+4, x4); + PUTU32 (outbuf+8, x1); + PUTU32 (outbuf+12, x2); +} + +static void +seed_encrypt (void *context, byte *outbuf, const byte *inbuf) +{ + SEED_context *ctx = context; + + do_encrypt (ctx, outbuf, inbuf); + _gcry_burn_stack (4*6); +} + + + +/* Decrypt one block. inbuf and outbuf may be the same. */ +static void +do_decrypt (SEED_context *ctx, byte *outbuf, const byte *inbuf) +{ + u32 x1, x2, x3, x4; + union wordbuf t0, t1; + + x1 = GETU32 (inbuf); + x2 = GETU32 (inbuf+4); + x3 = GETU32 (inbuf+8); + x4 = GETU32 (inbuf+12); + + OP (x1, x2, x3, x4, 30); + OP (x3, x4, x1, x2, 28); + OP (x1, x2, x3, x4, 26); + OP (x3, x4, x1, x2, 24); + OP (x1, x2, x3, x4, 22); + OP (x3, x4, x1, x2, 20); + OP (x1, x2, x3, x4, 18); + OP (x3, x4, x1, x2, 16); + OP (x1, x2, x3, x4, 14); + OP (x3, x4, x1, x2, 12); + OP (x1, x2, x3, x4, 10); + OP (x3, x4, x1, x2, 8); + OP (x1, x2, x3, x4, 6); + OP (x3, x4, x1, x2, 4); + OP (x1, x2, x3, x4, 2); + OP (x3, x4, x1, x2, 0); + + PUTU32 (outbuf, x3); + PUTU32 (outbuf+4, x4); + PUTU32 (outbuf+8, x1); + PUTU32 (outbuf+12, x2); +} + +static void +seed_decrypt (void *context, byte *outbuf, const byte *inbuf) +{ + SEED_context *ctx = context; + + do_decrypt (ctx, outbuf, inbuf); + _gcry_burn_stack (4*6); +} + + +/* Test a single encryption and decryption with each key size. */ + + + +static gcry_cipher_oid_spec_t seed_oids[] = + { + { "1.2.410.200004.1.3", GCRY_CIPHER_MODE_ECB }, + { "1.2.410.200004.1.4", GCRY_CIPHER_MODE_CBC }, + { "1.2.410.200004.1.5", GCRY_CIPHER_MODE_CFB }, + { "1.2.410.200004.1.6", GCRY_CIPHER_MODE_OFB }, + { NULL } + }; + +gcry_cipher_spec_t _gcry_cipher_spec_seed = + { + "SEED", NULL, seed_oids, 16, 128, sizeof (SEED_context), + seed_setkey, seed_encrypt, seed_decrypt, + }; + + +GRUB_MOD_INIT(gcry_seed) +{ + grub_cipher_register (&_gcry_cipher_spec_seed); +} + +GRUB_MOD_FINI(gcry_seed) +{ + grub_cipher_unregister (&_gcry_cipher_spec_seed); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/serpent.c b/grub-core/lib/libgcrypt-grub/cipher/serpent.c new file mode 100644 index 0000000..b213ad2 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/serpent.c @@ -0,0 +1,994 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* serpent.c - Implementation of the Serpent encryption algorithm. + * Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ + + + +#include "types.h" +#include "g10lib.h" +#include "cipher.h" +#include "bithelp.h" + +/* Number of rounds per Serpent encrypt/decrypt operation. */ +#define ROUNDS 32 + +/* Magic number, used during generating of the subkeys. */ +#define PHI 0x9E3779B9 + +/* Serpent works on 128 bit blocks. */ +typedef u32 serpent_block_t[4]; + +/* Serpent key, provided by the user. If the original key is shorter + than 256 bits, it is padded. */ +typedef u32 serpent_key_t[8]; + +/* The key schedule consists of 33 128 bit subkeys. */ +typedef u32 serpent_subkeys_t[ROUNDS + 1][4]; + +/* A Serpent context. */ +typedef struct serpent_context +{ + serpent_subkeys_t keys; /* Generated subkeys. */ +} serpent_context_t; + + +/* A prototype. */ +static const char *serpent_test (void); + + +#define byte_swap_32(x) \ + (0 \ + | (((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) \ + | (((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24)) + +/* These are the S-Boxes of Serpent. They are copied from Serpents + reference implementation (the optimized one, contained in + `floppy2') and are therefore: + + Copyright (C) 1998 Ross Anderson, Eli Biham, Lars Knudsen. + + To quote the Serpent homepage + (http://www.cl.cam.ac.uk/~rja14/serpent.html): + + "Serpent is now completely in the public domain, and we impose no + restrictions on its use. This was announced on the 21st August at + the First AES Candidate Conference. The optimised implementations + in the submission package are now under the GNU PUBLIC LICENSE + (GPL), although some comments in the code still say otherwise. You + are welcome to use Serpent for any application." */ + +#define SBOX0(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t05, t06, t07, t08, t09; \ + u32 t11, t12, t13, t14, t15, t17, t01; \ + t01 = b ^ c ; \ + t02 = a | d ; \ + t03 = a ^ b ; \ + z = t02 ^ t01; \ + t05 = c | z ; \ + t06 = a ^ d ; \ + t07 = b | c ; \ + t08 = d & t05; \ + t09 = t03 & t07; \ + y = t09 ^ t08; \ + t11 = t09 & y ; \ + t12 = c ^ d ; \ + t13 = t07 ^ t11; \ + t14 = b & t06; \ + t15 = t06 ^ t13; \ + w = ~ t15; \ + t17 = w ^ t14; \ + x = t12 ^ t17; \ + } + +#define SBOX0_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t08, t09, t10; \ + u32 t12, t13, t14, t15, t17, t18, t01; \ + t01 = c ^ d ; \ + t02 = a | b ; \ + t03 = b | c ; \ + t04 = c & t01; \ + t05 = t02 ^ t01; \ + t06 = a | t04; \ + y = ~ t05; \ + t08 = b ^ d ; \ + t09 = t03 & t08; \ + t10 = d | y ; \ + x = t09 ^ t06; \ + t12 = a | t05; \ + t13 = x ^ t12; \ + t14 = t03 ^ t10; \ + t15 = a ^ c ; \ + z = t14 ^ t13; \ + t17 = t05 & t13; \ + t18 = t14 | t17; \ + w = t15 ^ t18; \ + } + +#define SBOX1(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t07, t08; \ + u32 t10, t11, t12, t13, t16, t17, t01; \ + t01 = a | d ; \ + t02 = c ^ d ; \ + t03 = ~ b ; \ + t04 = a ^ c ; \ + t05 = a | t03; \ + t06 = d & t04; \ + t07 = t01 & t02; \ + t08 = b | t06; \ + y = t02 ^ t05; \ + t10 = t07 ^ t08; \ + t11 = t01 ^ t10; \ + t12 = y ^ t11; \ + t13 = b & d ; \ + z = ~ t10; \ + x = t13 ^ t12; \ + t16 = t10 | x ; \ + t17 = t05 & t16; \ + w = c ^ t17; \ + } + +#define SBOX1_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t07, t08; \ + u32 t09, t10, t11, t14, t15, t17, t01; \ + t01 = a ^ b ; \ + t02 = b | d ; \ + t03 = a & c ; \ + t04 = c ^ t02; \ + t05 = a | t04; \ + t06 = t01 & t05; \ + t07 = d | t03; \ + t08 = b ^ t06; \ + t09 = t07 ^ t06; \ + t10 = t04 | t03; \ + t11 = d & t08; \ + y = ~ t09; \ + x = t10 ^ t11; \ + t14 = a | y ; \ + t15 = t06 ^ x ; \ + z = t01 ^ t04; \ + t17 = c ^ t15; \ + w = t14 ^ t17; \ + } + +#define SBOX2(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t05, t06, t07, t08; \ + u32 t09, t10, t12, t13, t14, t01; \ + t01 = a | c ; \ + t02 = a ^ b ; \ + t03 = d ^ t01; \ + w = t02 ^ t03; \ + t05 = c ^ w ; \ + t06 = b ^ t05; \ + t07 = b | t05; \ + t08 = t01 & t06; \ + t09 = t03 ^ t07; \ + t10 = t02 | t09; \ + x = t10 ^ t08; \ + t12 = a | d ; \ + t13 = t09 ^ x ; \ + t14 = b ^ t13; \ + z = ~ t09; \ + y = t12 ^ t14; \ + } + +#define SBOX2_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t06, t07, t08, t09; \ + u32 t10, t11, t12, t15, t16, t17, t01; \ + t01 = a ^ d ; \ + t02 = c ^ d ; \ + t03 = a & c ; \ + t04 = b | t02; \ + w = t01 ^ t04; \ + t06 = a | c ; \ + t07 = d | w ; \ + t08 = ~ d ; \ + t09 = b & t06; \ + t10 = t08 | t03; \ + t11 = b & t07; \ + t12 = t06 & t02; \ + z = t09 ^ t10; \ + x = t12 ^ t11; \ + t15 = c & z ; \ + t16 = w ^ x ; \ + t17 = t10 ^ t15; \ + y = t16 ^ t17; \ + } + +#define SBOX3(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t07, t08; \ + u32 t09, t10, t11, t13, t14, t15, t01; \ + t01 = a ^ c ; \ + t02 = a | d ; \ + t03 = a & d ; \ + t04 = t01 & t02; \ + t05 = b | t03; \ + t06 = a & b ; \ + t07 = d ^ t04; \ + t08 = c | t06; \ + t09 = b ^ t07; \ + t10 = d & t05; \ + t11 = t02 ^ t10; \ + z = t08 ^ t09; \ + t13 = d | z ; \ + t14 = a | t07; \ + t15 = b & t13; \ + y = t08 ^ t11; \ + w = t14 ^ t15; \ + x = t05 ^ t04; \ + } + +#define SBOX3_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t07, t09; \ + u32 t11, t12, t13, t14, t16, t01; \ + t01 = c | d ; \ + t02 = a | d ; \ + t03 = c ^ t02; \ + t04 = b ^ t02; \ + t05 = a ^ d ; \ + t06 = t04 & t03; \ + t07 = b & t01; \ + y = t05 ^ t06; \ + t09 = a ^ t03; \ + w = t07 ^ t03; \ + t11 = w | t05; \ + t12 = t09 & t11; \ + t13 = a & y ; \ + t14 = t01 ^ t05; \ + x = b ^ t12; \ + t16 = b | t13; \ + z = t14 ^ t16; \ + } + +#define SBOX4(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t08, t09; \ + u32 t10, t11, t12, t13, t14, t15, t16, t01; \ + t01 = a | b ; \ + t02 = b | c ; \ + t03 = a ^ t02; \ + t04 = b ^ d ; \ + t05 = d | t03; \ + t06 = d & t01; \ + z = t03 ^ t06; \ + t08 = z & t04; \ + t09 = t04 & t05; \ + t10 = c ^ t06; \ + t11 = b & c ; \ + t12 = t04 ^ t08; \ + t13 = t11 | t03; \ + t14 = t10 ^ t09; \ + t15 = a & t05; \ + t16 = t11 | t12; \ + y = t13 ^ t08; \ + x = t15 ^ t16; \ + w = ~ t14; \ + } + +#define SBOX4_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t07, t09; \ + u32 t10, t11, t12, t13, t15, t01; \ + t01 = b | d ; \ + t02 = c | d ; \ + t03 = a & t01; \ + t04 = b ^ t02; \ + t05 = c ^ d ; \ + t06 = ~ t03; \ + t07 = a & t04; \ + x = t05 ^ t07; \ + t09 = x | t06; \ + t10 = a ^ t07; \ + t11 = t01 ^ t09; \ + t12 = d ^ t04; \ + t13 = c | t10; \ + z = t03 ^ t12; \ + t15 = a ^ t04; \ + y = t11 ^ t13; \ + w = t15 ^ t09; \ + } + +#define SBOX5(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t07, t08, t09; \ + u32 t10, t11, t12, t13, t14, t01; \ + t01 = b ^ d ; \ + t02 = b | d ; \ + t03 = a & t01; \ + t04 = c ^ t02; \ + t05 = t03 ^ t04; \ + w = ~ t05; \ + t07 = a ^ t01; \ + t08 = d | w ; \ + t09 = b | t05; \ + t10 = d ^ t08; \ + t11 = b | t07; \ + t12 = t03 | w ; \ + t13 = t07 | t10; \ + t14 = t01 ^ t11; \ + y = t09 ^ t13; \ + x = t07 ^ t08; \ + z = t12 ^ t14; \ + } + +#define SBOX5_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t07, t08, t09; \ + u32 t10, t12, t13, t15, t16, t01; \ + t01 = a & d ; \ + t02 = c ^ t01; \ + t03 = a ^ d ; \ + t04 = b & t02; \ + t05 = a & c ; \ + w = t03 ^ t04; \ + t07 = a & w ; \ + t08 = t01 ^ w ; \ + t09 = b | t05; \ + t10 = ~ b ; \ + x = t08 ^ t09; \ + t12 = t10 | t07; \ + t13 = w | x ; \ + z = t02 ^ t12; \ + t15 = t02 ^ t13; \ + t16 = b ^ d ; \ + y = t16 ^ t15; \ + } + +#define SBOX6(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t07, t08, t09, t10; \ + u32 t11, t12, t13, t15, t17, t18, t01; \ + t01 = a & d ; \ + t02 = b ^ c ; \ + t03 = a ^ d ; \ + t04 = t01 ^ t02; \ + t05 = b | c ; \ + x = ~ t04; \ + t07 = t03 & t05; \ + t08 = b & x ; \ + t09 = a | c ; \ + t10 = t07 ^ t08; \ + t11 = b | d ; \ + t12 = c ^ t11; \ + t13 = t09 ^ t10; \ + y = ~ t13; \ + t15 = x & t03; \ + z = t12 ^ t07; \ + t17 = a ^ b ; \ + t18 = y ^ t15; \ + w = t17 ^ t18; \ + } + +#define SBOX6_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t07, t08, t09; \ + u32 t12, t13, t14, t15, t16, t17, t01; \ + t01 = a ^ c ; \ + t02 = ~ c ; \ + t03 = b & t01; \ + t04 = b | t02; \ + t05 = d | t03; \ + t06 = b ^ d ; \ + t07 = a & t04; \ + t08 = a | t02; \ + t09 = t07 ^ t05; \ + x = t06 ^ t08; \ + w = ~ t09; \ + t12 = b & w ; \ + t13 = t01 & t05; \ + t14 = t01 ^ t12; \ + t15 = t07 ^ t13; \ + t16 = d | t02; \ + t17 = a ^ x ; \ + z = t17 ^ t15; \ + y = t16 ^ t14; \ + } + +#define SBOX7(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t05, t06, t08, t09, t10; \ + u32 t11, t13, t14, t15, t16, t17, t01; \ + t01 = a & c ; \ + t02 = ~ d ; \ + t03 = a & t02; \ + t04 = b | t01; \ + t05 = a & b ; \ + t06 = c ^ t04; \ + z = t03 ^ t06; \ + t08 = c | z ; \ + t09 = d | t05; \ + t10 = a ^ t08; \ + t11 = t04 & z ; \ + x = t09 ^ t10; \ + t13 = b ^ x ; \ + t14 = t01 ^ x ; \ + t15 = c ^ t05; \ + t16 = t11 | t13; \ + t17 = t02 | t14; \ + w = t15 ^ t17; \ + y = a ^ t16; \ + } + +#define SBOX7_INVERSE(a, b, c, d, w, x, y, z) \ + { \ + u32 t02, t03, t04, t06, t07, t08, t09; \ + u32 t10, t11, t13, t14, t15, t16, t01; \ + t01 = a & b ; \ + t02 = a | b ; \ + t03 = c | t01; \ + t04 = d & t02; \ + z = t03 ^ t04; \ + t06 = b ^ t04; \ + t07 = d ^ z ; \ + t08 = ~ t07; \ + t09 = t06 | t08; \ + t10 = b ^ d ; \ + t11 = a | d ; \ + x = a ^ t09; \ + t13 = c ^ t06; \ + t14 = c & t11; \ + t15 = d | x ; \ + t16 = t01 | t10; \ + w = t13 ^ t15; \ + y = t14 ^ t16; \ + } + +/* XOR BLOCK1 into BLOCK0. */ +#define BLOCK_XOR(block0, block1) \ + { \ + block0[0] ^= block1[0]; \ + block0[1] ^= block1[1]; \ + block0[2] ^= block1[2]; \ + block0[3] ^= block1[3]; \ + } + +/* Copy BLOCK_SRC to BLOCK_DST. */ +#define BLOCK_COPY(block_dst, block_src) \ + { \ + block_dst[0] = block_src[0]; \ + block_dst[1] = block_src[1]; \ + block_dst[2] = block_src[2]; \ + block_dst[3] = block_src[3]; \ + } + +/* Apply SBOX number WHICH to to the block found in ARRAY0 at index + INDEX, writing the output to the block found in ARRAY1 at index + INDEX. */ +#define SBOX(which, array0, array1, index) \ + SBOX##which (array0[index + 0], array0[index + 1], \ + array0[index + 2], array0[index + 3], \ + array1[index + 0], array1[index + 1], \ + array1[index + 2], array1[index + 3]); + +/* Apply inverse SBOX number WHICH to to the block found in ARRAY0 at + index INDEX, writing the output to the block found in ARRAY1 at + index INDEX. */ +#define SBOX_INVERSE(which, array0, array1, index) \ + SBOX##which##_INVERSE (array0[index + 0], array0[index + 1], \ + array0[index + 2], array0[index + 3], \ + array1[index + 0], array1[index + 1], \ + array1[index + 2], array1[index + 3]); + +/* Apply the linear transformation to BLOCK. */ +#define LINEAR_TRANSFORMATION(block) \ + { \ + block[0] = rol (block[0], 13); \ + block[2] = rol (block[2], 3); \ + block[1] = block[1] ^ block[0] ^ block[2]; \ + block[3] = block[3] ^ block[2] ^ (block[0] << 3); \ + block[1] = rol (block[1], 1); \ + block[3] = rol (block[3], 7); \ + block[0] = block[0] ^ block[1] ^ block[3]; \ + block[2] = block[2] ^ block[3] ^ (block[1] << 7); \ + block[0] = rol (block[0], 5); \ + block[2] = rol (block[2], 22); \ + } + +/* Apply the inverse linear transformation to BLOCK. */ +#define LINEAR_TRANSFORMATION_INVERSE(block) \ + { \ + block[2] = ror (block[2], 22); \ + block[0] = ror (block[0] , 5); \ + block[2] = block[2] ^ block[3] ^ (block[1] << 7); \ + block[0] = block[0] ^ block[1] ^ block[3]; \ + block[3] = ror (block[3], 7); \ + block[1] = ror (block[1], 1); \ + block[3] = block[3] ^ block[2] ^ (block[0] << 3); \ + block[1] = block[1] ^ block[0] ^ block[2]; \ + block[2] = ror (block[2], 3); \ + block[0] = ror (block[0], 13); \ + } + +/* Apply a Serpent round to BLOCK, using the SBOX number WHICH and the + subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary storage. + This macro increments `round'. */ +#define ROUND(which, subkeys, block, block_tmp) \ + { \ + BLOCK_XOR (block, subkeys[round]); \ + round++; \ + SBOX (which, block, block_tmp, 0); \ + LINEAR_TRANSFORMATION (block_tmp); \ + BLOCK_COPY (block, block_tmp); \ + } + +/* Apply the last Serpent round to BLOCK, using the SBOX number WHICH + and the subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary + storage. The result will be stored in BLOCK_TMP. This macro + increments `round'. */ +#define ROUND_LAST(which, subkeys, block, block_tmp) \ + { \ + BLOCK_XOR (block, subkeys[round]); \ + round++; \ + SBOX (which, block, block_tmp, 0); \ + BLOCK_XOR (block_tmp, subkeys[round]); \ + round++; \ + } + +/* Apply an inverse Serpent round to BLOCK, using the SBOX number + WHICH and the subkeys contained in SUBKEYS. Use BLOCK_TMP as + temporary storage. This macro increments `round'. */ +#define ROUND_INVERSE(which, subkey, block, block_tmp) \ + { \ + LINEAR_TRANSFORMATION_INVERSE (block); \ + SBOX_INVERSE (which, block, block_tmp, 0); \ + BLOCK_XOR (block_tmp, subkey[round]); \ + round--; \ + BLOCK_COPY (block, block_tmp); \ + } + +/* Apply the first Serpent round to BLOCK, using the SBOX number WHICH + and the subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary + storage. The result will be stored in BLOCK_TMP. This macro + increments `round'. */ +#define ROUND_FIRST_INVERSE(which, subkeys, block, block_tmp) \ + { \ + BLOCK_XOR (block, subkeys[round]); \ + round--; \ + SBOX_INVERSE (which, block, block_tmp, 0); \ + BLOCK_XOR (block_tmp, subkeys[round]); \ + round--; \ + } + +/* Convert the user provided key KEY of KEY_LENGTH bytes into the + internally used format. */ +static void +serpent_key_prepare (const byte *key, unsigned int key_length, + serpent_key_t key_prepared) +{ + int i; + + /* Copy key. */ + for (i = 0; i < key_length / 4; i++) + { +#ifdef WORDS_BIGENDIAN + key_prepared[i] = byte_swap_32 (((u32 *) key)[i]); +#else + key_prepared[i] = ((u32 *) key)[i]; +#endif + } + + if (i < 8) + { + /* Key must be padded according to the Serpent + specification. */ + key_prepared[i] = 0x00000001; + + for (i++; i < 8; i++) + key_prepared[i] = 0; + } +} + +/* Derive the 33 subkeys from KEY and store them in SUBKEYS. */ +static void +serpent_subkeys_generate (serpent_key_t key, serpent_subkeys_t subkeys) +{ + u32 w_real[140]; /* The `prekey'. */ + u32 k[132]; + u32 *w = &w_real[8]; + int i, j; + + /* Initialize with key values. */ + for (i = 0; i < 8; i++) + w[i - 8] = key[i]; + + /* Expand to intermediate key using the affine recurrence. */ + for (i = 0; i < 132; i++) + w[i] = rol (w[i - 8] ^ w[i - 5] ^ w[i - 3] ^ w[i - 1] ^ PHI ^ i, 11); + + /* Calculate subkeys via S-Boxes, in bitslice mode. */ + SBOX (3, w, k, 0); + SBOX (2, w, k, 4); + SBOX (1, w, k, 8); + SBOX (0, w, k, 12); + SBOX (7, w, k, 16); + SBOX (6, w, k, 20); + SBOX (5, w, k, 24); + SBOX (4, w, k, 28); + SBOX (3, w, k, 32); + SBOX (2, w, k, 36); + SBOX (1, w, k, 40); + SBOX (0, w, k, 44); + SBOX (7, w, k, 48); + SBOX (6, w, k, 52); + SBOX (5, w, k, 56); + SBOX (4, w, k, 60); + SBOX (3, w, k, 64); + SBOX (2, w, k, 68); + SBOX (1, w, k, 72); + SBOX (0, w, k, 76); + SBOX (7, w, k, 80); + SBOX (6, w, k, 84); + SBOX (5, w, k, 88); + SBOX (4, w, k, 92); + SBOX (3, w, k, 96); + SBOX (2, w, k, 100); + SBOX (1, w, k, 104); + SBOX (0, w, k, 108); + SBOX (7, w, k, 112); + SBOX (6, w, k, 116); + SBOX (5, w, k, 120); + SBOX (4, w, k, 124); + SBOX (3, w, k, 128); + + /* Renumber subkeys. */ + for (i = 0; i < ROUNDS + 1; i++) + for (j = 0; j < 4; j++) + subkeys[i][j] = k[4 * i + j]; +} + +/* Initialize CONTEXT with the key KEY of KEY_LENGTH bits. */ +static void +serpent_setkey_internal (serpent_context_t *context, + const byte *key, unsigned int key_length) +{ + serpent_key_t key_prepared; + + serpent_key_prepare (key, key_length, key_prepared); + serpent_subkeys_generate (key_prepared, context->keys); + _gcry_burn_stack (272 * sizeof (u32)); +} + +/* Initialize CTX with the key KEY of KEY_LENGTH bytes. */ +static gcry_err_code_t +serpent_setkey (void *ctx, + const byte *key, unsigned int key_length) +{ + serpent_context_t *context = ctx; + static const char *serpent_test_ret; + static int serpent_init_done; + gcry_err_code_t ret = GPG_ERR_NO_ERROR; + + if (! serpent_init_done) + { + /* Execute a self-test the first time, Serpent is used. */ + serpent_test_ret = serpent_test (); + if (serpent_test_ret) + log_error ("Serpent test failure: %s\n", serpent_test_ret); + serpent_init_done = 1; + } + + if (serpent_test_ret) + ret = GPG_ERR_SELFTEST_FAILED; + else + { + serpent_setkey_internal (context, key, key_length); + _gcry_burn_stack (sizeof (serpent_key_t)); + } + + return ret; +} + +static void +serpent_encrypt_internal (serpent_context_t *context, + const serpent_block_t input, serpent_block_t output) +{ + serpent_block_t b, b_next; + int round = 0; + +#ifdef WORDS_BIGENDIAN + b[0] = byte_swap_32 (input[0]); + b[1] = byte_swap_32 (input[1]); + b[2] = byte_swap_32 (input[2]); + b[3] = byte_swap_32 (input[3]); +#else + b[0] = input[0]; + b[1] = input[1]; + b[2] = input[2]; + b[3] = input[3]; +#endif + + ROUND (0, context->keys, b, b_next); + ROUND (1, context->keys, b, b_next); + ROUND (2, context->keys, b, b_next); + ROUND (3, context->keys, b, b_next); + ROUND (4, context->keys, b, b_next); + ROUND (5, context->keys, b, b_next); + ROUND (6, context->keys, b, b_next); + ROUND (7, context->keys, b, b_next); + ROUND (0, context->keys, b, b_next); + ROUND (1, context->keys, b, b_next); + ROUND (2, context->keys, b, b_next); + ROUND (3, context->keys, b, b_next); + ROUND (4, context->keys, b, b_next); + ROUND (5, context->keys, b, b_next); + ROUND (6, context->keys, b, b_next); + ROUND (7, context->keys, b, b_next); + ROUND (0, context->keys, b, b_next); + ROUND (1, context->keys, b, b_next); + ROUND (2, context->keys, b, b_next); + ROUND (3, context->keys, b, b_next); + ROUND (4, context->keys, b, b_next); + ROUND (5, context->keys, b, b_next); + ROUND (6, context->keys, b, b_next); + ROUND (7, context->keys, b, b_next); + ROUND (0, context->keys, b, b_next); + ROUND (1, context->keys, b, b_next); + ROUND (2, context->keys, b, b_next); + ROUND (3, context->keys, b, b_next); + ROUND (4, context->keys, b, b_next); + ROUND (5, context->keys, b, b_next); + ROUND (6, context->keys, b, b_next); + + ROUND_LAST (7, context->keys, b, b_next); + +#ifdef WORDS_BIGENDIAN + output[0] = byte_swap_32 (b_next[0]); + output[1] = byte_swap_32 (b_next[1]); + output[2] = byte_swap_32 (b_next[2]); + output[3] = byte_swap_32 (b_next[3]); +#else + output[0] = b_next[0]; + output[1] = b_next[1]; + output[2] = b_next[2]; + output[3] = b_next[3]; +#endif +} + +static void +serpent_decrypt_internal (serpent_context_t *context, + const serpent_block_t input, serpent_block_t output) +{ + serpent_block_t b, b_next; + int round = ROUNDS; + +#ifdef WORDS_BIGENDIAN + b_next[0] = byte_swap_32 (input[0]); + b_next[1] = byte_swap_32 (input[1]); + b_next[2] = byte_swap_32 (input[2]); + b_next[3] = byte_swap_32 (input[3]); +#else + b_next[0] = input[0]; + b_next[1] = input[1]; + b_next[2] = input[2]; + b_next[3] = input[3]; +#endif + + ROUND_FIRST_INVERSE (7, context->keys, b_next, b); + + ROUND_INVERSE (6, context->keys, b, b_next); + ROUND_INVERSE (5, context->keys, b, b_next); + ROUND_INVERSE (4, context->keys, b, b_next); + ROUND_INVERSE (3, context->keys, b, b_next); + ROUND_INVERSE (2, context->keys, b, b_next); + ROUND_INVERSE (1, context->keys, b, b_next); + ROUND_INVERSE (0, context->keys, b, b_next); + ROUND_INVERSE (7, context->keys, b, b_next); + ROUND_INVERSE (6, context->keys, b, b_next); + ROUND_INVERSE (5, context->keys, b, b_next); + ROUND_INVERSE (4, context->keys, b, b_next); + ROUND_INVERSE (3, context->keys, b, b_next); + ROUND_INVERSE (2, context->keys, b, b_next); + ROUND_INVERSE (1, context->keys, b, b_next); + ROUND_INVERSE (0, context->keys, b, b_next); + ROUND_INVERSE (7, context->keys, b, b_next); + ROUND_INVERSE (6, context->keys, b, b_next); + ROUND_INVERSE (5, context->keys, b, b_next); + ROUND_INVERSE (4, context->keys, b, b_next); + ROUND_INVERSE (3, context->keys, b, b_next); + ROUND_INVERSE (2, context->keys, b, b_next); + ROUND_INVERSE (1, context->keys, b, b_next); + ROUND_INVERSE (0, context->keys, b, b_next); + ROUND_INVERSE (7, context->keys, b, b_next); + ROUND_INVERSE (6, context->keys, b, b_next); + ROUND_INVERSE (5, context->keys, b, b_next); + ROUND_INVERSE (4, context->keys, b, b_next); + ROUND_INVERSE (3, context->keys, b, b_next); + ROUND_INVERSE (2, context->keys, b, b_next); + ROUND_INVERSE (1, context->keys, b, b_next); + ROUND_INVERSE (0, context->keys, b, b_next); + + +#ifdef WORDS_BIGENDIAN + output[0] = byte_swap_32 (b_next[0]); + output[1] = byte_swap_32 (b_next[1]); + output[2] = byte_swap_32 (b_next[2]); + output[3] = byte_swap_32 (b_next[3]); +#else + output[0] = b_next[0]; + output[1] = b_next[1]; + output[2] = b_next[2]; + output[3] = b_next[3]; +#endif +} + +static void +serpent_encrypt (void *ctx, byte *buffer_out, const byte *buffer_in) +{ + serpent_context_t *context = ctx; + + serpent_encrypt_internal (context, + (const u32 *) buffer_in, (u32 *) buffer_out); + _gcry_burn_stack (2 * sizeof (serpent_block_t)); +} + +static void +serpent_decrypt (void *ctx, byte *buffer_out, const byte *buffer_in) +{ + serpent_context_t *context = ctx; + + serpent_decrypt_internal (context, + (const u32 *) buffer_in, + (u32 *) buffer_out); + _gcry_burn_stack (2 * sizeof (serpent_block_t)); +} + + + +/* Serpent test. */ + +static const char * +serpent_test (void) +{ + serpent_context_t context; + unsigned char scratch[16]; + unsigned int i; + + static struct test + { + int key_length; + unsigned char key[32]; + unsigned char text_plain[16]; + unsigned char text_cipher[16]; + } test_data[] = + { + { + 16, + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", + "\xD2\x9D\x57\x6F\xCE\xA3\xA3\xA7\xED\x90\x99\xF2\x92\x73\xD7\x8E", + "\xB2\x28\x8B\x96\x8A\xE8\xB0\x86\x48\xD1\xCE\x96\x06\xFD\x99\x2D" + }, + { + 24, + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" + "\x00\x00\x00\x00\x00\x00\x00\x00", + "\xD2\x9D\x57\x6F\xCE\xAB\xA3\xA7\xED\x98\x99\xF2\x92\x7B\xD7\x8E", + "\x13\x0E\x35\x3E\x10\x37\xC2\x24\x05\xE8\xFA\xEF\xB2\xC3\xC3\xE9" + }, + { + 32, + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", + "\xD0\x95\x57\x6F\xCE\xA3\xE3\xA7\xED\x98\xD9\xF2\x90\x73\xD7\x8E", + "\xB9\x0E\xE5\x86\x2D\xE6\x91\x68\xF2\xBD\xD5\x12\x5B\x45\x47\x2B" + }, + { + 32, + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" + "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", + "\x00\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00", + "\x20\x61\xA4\x27\x82\xBD\x52\xEC\x69\x1E\xC3\x83\xB0\x3B\xA7\x7C" + }, + { + 0 + }, + }; + + for (i = 0; test_data[i].key_length; i++) + { + serpent_setkey_internal (&context, test_data[i].key, + test_data[i].key_length); + serpent_encrypt_internal (&context, + (const u32 *) test_data[i].text_plain, + (u32 *) scratch); + + if (memcmp (scratch, test_data[i].text_cipher, sizeof (serpent_block_t))) + switch (test_data[i].key_length) + { + case 16: + return "Serpent-128 test encryption failed."; + case 24: + return "Serpent-192 test encryption failed."; + case 32: + return "Serpent-256 test encryption failed."; + } + + serpent_decrypt_internal (&context, + (const u32 *) test_data[i].text_cipher, + (u32 *) scratch); + if (memcmp (scratch, test_data[i].text_plain, sizeof (serpent_block_t))) + switch (test_data[i].key_length) + { + case 16: + return "Serpent-128 test decryption failed."; + case 24: + return "Serpent-192 test decryption failed."; + case 32: + return "Serpent-256 test decryption failed."; + } + } + + return NULL; +} + + + +/* "SERPENT" is an alias for "SERPENT128". */ +static const char *cipher_spec_serpent128_aliases[] = + { + "SERPENT", + NULL + }; + +gcry_cipher_spec_t _gcry_cipher_spec_serpent128 = + { + "SERPENT128", cipher_spec_serpent128_aliases, NULL, 16, 128, + sizeof (serpent_context_t), + serpent_setkey, serpent_encrypt, serpent_decrypt + }; + +gcry_cipher_spec_t _gcry_cipher_spec_serpent192 = + { + "SERPENT192", NULL, NULL, 16, 192, + sizeof (serpent_context_t), + serpent_setkey, serpent_encrypt, serpent_decrypt + }; + +gcry_cipher_spec_t _gcry_cipher_spec_serpent256 = + { + "SERPENT256", NULL, NULL, 16, 256, + sizeof (serpent_context_t), + serpent_setkey, serpent_encrypt, serpent_decrypt + }; + + +GRUB_MOD_INIT(gcry_serpent) +{ + grub_cipher_register (&_gcry_cipher_spec_serpent128); + grub_cipher_register (&_gcry_cipher_spec_serpent192); + grub_cipher_register (&_gcry_cipher_spec_serpent256); +} + +GRUB_MOD_FINI(gcry_serpent) +{ + grub_cipher_unregister (&_gcry_cipher_spec_serpent128); + grub_cipher_unregister (&_gcry_cipher_spec_serpent192); + grub_cipher_unregister (&_gcry_cipher_spec_serpent256); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/sha1.c b/grub-core/lib/libgcrypt-grub/cipher/sha1.c new file mode 100644 index 0000000..daf0af5 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/sha1.c @@ -0,0 +1,418 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* sha1.c - SHA1 hash function + * Copyright (C) 1998, 2001, 2002, 2003, 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + + +/* Test vectors: + * + * "abc" + * A999 3E36 4706 816A BA3E 2571 7850 C26C 9CD0 D89D + * + * "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" + * 8498 3E44 1C3B D26E BAAE 4AA1 F951 29E5 E546 70F1 + */ + + +#ifdef HAVE_STDINT_H +# include +#endif + +#include "g10lib.h" +#include "memory.h" +#include "bithelp.h" +#include "cipher.h" +#include "hash-common.h" + + +/* A macro to test whether P is properly aligned for an u32 type. + Note that config.h provides a suitable replacement for uintptr_t if + it does not exist in stdint.h. */ +/* #if __GNUC__ >= 2 */ +/* # define U32_ALIGNED_P(p) (!(((uintptr_t)p) % __alignof__ (u32))) */ +/* #else */ +/* # define U32_ALIGNED_P(p) (!(((uintptr_t)p) % sizeof (u32))) */ +/* #endif */ + +#define TRANSFORM(x,d,n) transform ((x), (d), (n)) + + +typedef struct +{ + u32 h0,h1,h2,h3,h4; + u32 nblocks; + unsigned char buf[64]; + int count; +} SHA1_CONTEXT; + + + +static void +sha1_init (void *context) +{ + SHA1_CONTEXT *hd = context; + + hd->h0 = 0x67452301; + hd->h1 = 0xefcdab89; + hd->h2 = 0x98badcfe; + hd->h3 = 0x10325476; + hd->h4 = 0xc3d2e1f0; + hd->nblocks = 0; + hd->count = 0; +} + + +/* Round function macros. */ +#define K1 0x5A827999L +#define K2 0x6ED9EBA1L +#define K3 0x8F1BBCDCL +#define K4 0xCA62C1D6L +#define F1(x,y,z) ( z ^ ( x & ( y ^ z ) ) ) +#define F2(x,y,z) ( x ^ y ^ z ) +#define F3(x,y,z) ( ( x & y ) | ( z & ( x | y ) ) ) +#define F4(x,y,z) ( x ^ y ^ z ) +#define M(i) ( tm = x[ i &0x0f] \ + ^ x[(i-14)&0x0f] \ + ^ x[(i-8) &0x0f] \ + ^ x[(i-3) &0x0f], \ + (x[i&0x0f] = rol(tm, 1))) +#define R(a,b,c,d,e,f,k,m) do { e += rol( a, 5 ) \ + + f( b, c, d ) \ + + k \ + + m; \ + b = rol( b, 30 ); \ + } while(0) + + +/* + * Transform NBLOCKS of each 64 bytes (16 32-bit words) at DATA. + */ +static void +transform (SHA1_CONTEXT *hd, const unsigned char *data, size_t nblocks) +{ + register u32 a, b, c, d, e; /* Local copies of the chaining variables. */ + register u32 tm; /* Helper. */ + u32 x[16]; /* The array we work on. */ + + /* Loop over all blocks. */ + for ( ;nblocks; nblocks--) + { +#ifdef WORDS_BIGENDIAN + memcpy (x, data, 64); + data += 64; +#else + { + int i; + unsigned char *p; + + for(i=0, p=(unsigned char*)x; i < 16; i++, p += 4 ) + { + p[3] = *data++; + p[2] = *data++; + p[1] = *data++; + p[0] = *data++; + } + } +#endif + /* Get the values of the chaining variables. */ + a = hd->h0; + b = hd->h1; + c = hd->h2; + d = hd->h3; + e = hd->h4; + + /* Transform. */ + R( a, b, c, d, e, F1, K1, x[ 0] ); + R( e, a, b, c, d, F1, K1, x[ 1] ); + R( d, e, a, b, c, F1, K1, x[ 2] ); + R( c, d, e, a, b, F1, K1, x[ 3] ); + R( b, c, d, e, a, F1, K1, x[ 4] ); + R( a, b, c, d, e, F1, K1, x[ 5] ); + R( e, a, b, c, d, F1, K1, x[ 6] ); + R( d, e, a, b, c, F1, K1, x[ 7] ); + R( c, d, e, a, b, F1, K1, x[ 8] ); + R( b, c, d, e, a, F1, K1, x[ 9] ); + R( a, b, c, d, e, F1, K1, x[10] ); + R( e, a, b, c, d, F1, K1, x[11] ); + R( d, e, a, b, c, F1, K1, x[12] ); + R( c, d, e, a, b, F1, K1, x[13] ); + R( b, c, d, e, a, F1, K1, x[14] ); + R( a, b, c, d, e, F1, K1, x[15] ); + R( e, a, b, c, d, F1, K1, M(16) ); + R( d, e, a, b, c, F1, K1, M(17) ); + R( c, d, e, a, b, F1, K1, M(18) ); + R( b, c, d, e, a, F1, K1, M(19) ); + R( a, b, c, d, e, F2, K2, M(20) ); + R( e, a, b, c, d, F2, K2, M(21) ); + R( d, e, a, b, c, F2, K2, M(22) ); + R( c, d, e, a, b, F2, K2, M(23) ); + R( b, c, d, e, a, F2, K2, M(24) ); + R( a, b, c, d, e, F2, K2, M(25) ); + R( e, a, b, c, d, F2, K2, M(26) ); + R( d, e, a, b, c, F2, K2, M(27) ); + R( c, d, e, a, b, F2, K2, M(28) ); + R( b, c, d, e, a, F2, K2, M(29) ); + R( a, b, c, d, e, F2, K2, M(30) ); + R( e, a, b, c, d, F2, K2, M(31) ); + R( d, e, a, b, c, F2, K2, M(32) ); + R( c, d, e, a, b, F2, K2, M(33) ); + R( b, c, d, e, a, F2, K2, M(34) ); + R( a, b, c, d, e, F2, K2, M(35) ); + R( e, a, b, c, d, F2, K2, M(36) ); + R( d, e, a, b, c, F2, K2, M(37) ); + R( c, d, e, a, b, F2, K2, M(38) ); + R( b, c, d, e, a, F2, K2, M(39) ); + R( a, b, c, d, e, F3, K3, M(40) ); + R( e, a, b, c, d, F3, K3, M(41) ); + R( d, e, a, b, c, F3, K3, M(42) ); + R( c, d, e, a, b, F3, K3, M(43) ); + R( b, c, d, e, a, F3, K3, M(44) ); + R( a, b, c, d, e, F3, K3, M(45) ); + R( e, a, b, c, d, F3, K3, M(46) ); + R( d, e, a, b, c, F3, K3, M(47) ); + R( c, d, e, a, b, F3, K3, M(48) ); + R( b, c, d, e, a, F3, K3, M(49) ); + R( a, b, c, d, e, F3, K3, M(50) ); + R( e, a, b, c, d, F3, K3, M(51) ); + R( d, e, a, b, c, F3, K3, M(52) ); + R( c, d, e, a, b, F3, K3, M(53) ); + R( b, c, d, e, a, F3, K3, M(54) ); + R( a, b, c, d, e, F3, K3, M(55) ); + R( e, a, b, c, d, F3, K3, M(56) ); + R( d, e, a, b, c, F3, K3, M(57) ); + R( c, d, e, a, b, F3, K3, M(58) ); + R( b, c, d, e, a, F3, K3, M(59) ); + R( a, b, c, d, e, F4, K4, M(60) ); + R( e, a, b, c, d, F4, K4, M(61) ); + R( d, e, a, b, c, F4, K4, M(62) ); + R( c, d, e, a, b, F4, K4, M(63) ); + R( b, c, d, e, a, F4, K4, M(64) ); + R( a, b, c, d, e, F4, K4, M(65) ); + R( e, a, b, c, d, F4, K4, M(66) ); + R( d, e, a, b, c, F4, K4, M(67) ); + R( c, d, e, a, b, F4, K4, M(68) ); + R( b, c, d, e, a, F4, K4, M(69) ); + R( a, b, c, d, e, F4, K4, M(70) ); + R( e, a, b, c, d, F4, K4, M(71) ); + R( d, e, a, b, c, F4, K4, M(72) ); + R( c, d, e, a, b, F4, K4, M(73) ); + R( b, c, d, e, a, F4, K4, M(74) ); + R( a, b, c, d, e, F4, K4, M(75) ); + R( e, a, b, c, d, F4, K4, M(76) ); + R( d, e, a, b, c, F4, K4, M(77) ); + R( c, d, e, a, b, F4, K4, M(78) ); + R( b, c, d, e, a, F4, K4, M(79) ); + + /* Update the chaining variables. */ + hd->h0 += a; + hd->h1 += b; + hd->h2 += c; + hd->h3 += d; + hd->h4 += e; + } +} + + +/* Update the message digest with the contents + * of INBUF with length INLEN. + */ +static void +sha1_write( void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + SHA1_CONTEXT *hd = context; + size_t nblocks; + + if (hd->count == 64) /* Flush the buffer. */ + { + TRANSFORM( hd, hd->buf, 1 ); + _gcry_burn_stack (88+4*sizeof(void*)); + hd->count = 0; + hd->nblocks++; + } + if (!inbuf) + return; + + if (hd->count) + { + for (; inlen && hd->count < 64; inlen--) + hd->buf[hd->count++] = *inbuf++; + sha1_write (hd, NULL, 0); + if (!inlen) + return; + } + + nblocks = inlen / 64; + if (nblocks) + { + TRANSFORM (hd, inbuf, nblocks); + hd->count = 0; + hd->nblocks += nblocks; + inlen -= nblocks * 64; + inbuf += nblocks * 64; + } + _gcry_burn_stack (88+4*sizeof(void*)); + + /* Save remaining bytes. */ + for (; inlen && hd->count < 64; inlen--) + hd->buf[hd->count++] = *inbuf++; +} + + +/* The routine final terminates the computation and + * returns the digest. + * The handle is prepared for a new cycle, but adding bytes to the + * handle will the destroy the returned buffer. + * Returns: 20 bytes representing the digest. + */ + +static void +sha1_final(void *context) +{ + SHA1_CONTEXT *hd = context; + + u32 t, msb, lsb; + unsigned char *p; + + sha1_write(hd, NULL, 0); /* flush */; + + t = hd->nblocks; + /* multiply by 64 to make a byte count */ + lsb = t << 6; + msb = t >> 26; + /* add the count */ + t = lsb; + if( (lsb += hd->count) < t ) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 29; + + if( hd->count < 56 ) /* enough room */ + { + hd->buf[hd->count++] = 0x80; /* pad */ + while( hd->count < 56 ) + hd->buf[hd->count++] = 0; /* pad */ + } + else /* need one extra block */ + { + hd->buf[hd->count++] = 0x80; /* pad character */ + while( hd->count < 64 ) + hd->buf[hd->count++] = 0; + sha1_write(hd, NULL, 0); /* flush */; + memset(hd->buf, 0, 56 ); /* fill next block with zeroes */ + } + /* append the 64 bit count */ + hd->buf[56] = msb >> 24; + hd->buf[57] = msb >> 16; + hd->buf[58] = msb >> 8; + hd->buf[59] = msb ; + hd->buf[60] = lsb >> 24; + hd->buf[61] = lsb >> 16; + hd->buf[62] = lsb >> 8; + hd->buf[63] = lsb ; + TRANSFORM( hd, hd->buf, 1 ); + _gcry_burn_stack (88+4*sizeof(void*)); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *(u32*)p = hd->h##a ; p += 4; } while(0) +#else /* little endian */ +#define X(a) do { *p++ = hd->h##a >> 24; *p++ = hd->h##a >> 16; \ + *p++ = hd->h##a >> 8; *p++ = hd->h##a; } while(0) +#endif + X(0); + X(1); + X(2); + X(3); + X(4); +#undef X + +} + +static unsigned char * +sha1_read( void *context ) +{ + SHA1_CONTEXT *hd = context; + + return hd->buf; +} + +/**************** + * Shortcut functions which puts the hash value of the supplied buffer + * into outbuf which must have a size of 20 bytes. + */ + + + +/* + Self-test section. + */ + + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static unsigned char asn[15] = /* Object ID is 1.3.14.3.2.26 */ + { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e, 0x03, + 0x02, 0x1a, 0x05, 0x00, 0x04, 0x14 }; + +static gcry_md_oid_spec_t oid_spec_sha1[] = + { + /* iso.member-body.us.rsadsi.pkcs.pkcs-1.5 (sha1WithRSAEncryption) */ + { "1.2.840.113549.1.1.5" }, + /* iso.member-body.us.x9-57.x9cm.3 (dsaWithSha1)*/ + { "1.2.840.10040.4.3" }, + /* from NIST's OIW (sha1) */ + { "1.3.14.3.2.26" }, + /* from NIST OIW (sha-1WithRSAEncryption) */ + { "1.3.14.3.2.29" }, + /* iso.member-body.us.ansi-x9-62.signatures.ecdsa-with-sha1 */ + { "1.2.840.10045.4.1" }, + { NULL }, + }; + +gcry_md_spec_t _gcry_digest_spec_sha1 = + { + "SHA1", asn, DIM (asn), oid_spec_sha1, 20, + sha1_init, sha1_write, sha1_final, sha1_read, + sizeof (SHA1_CONTEXT) + , + .blocksize = 64 + }; + + + +GRUB_MOD_INIT(gcry_sha1) +{ + grub_md_register (&_gcry_digest_spec_sha1); +} + +GRUB_MOD_FINI(gcry_sha1) +{ + grub_md_unregister (&_gcry_digest_spec_sha1); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/sha256.c b/grub-core/lib/libgcrypt-grub/cipher/sha256.c new file mode 100644 index 0000000..3e917a7 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/sha256.c @@ -0,0 +1,388 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* sha256.c - SHA256 hash function + * Copyright (C) 2003, 2006, 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + + +/* Test vectors: + + "abc" + SHA224: 23097d22 3405d822 8642a477 bda255b3 2aadbce4 bda0b3f7 e36c9da7 + SHA256: ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad + + "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" + SHA224: 75388b16 512776cc 5dba5da1 fd890150 b0c6455c b4f58b19 52522525 + SHA256: 248d6a61 d20638b8 e5c02693 0c3e6039 a33ce459 64ff2167 f6ecedd4 19db06c1 + + "a" one million times + SHA224: 20794655 980c91d8 bbb4c1ea 97618a4b f03f4258 1948b2ee 4ee7ad67 + SHA256: cdc76e5c 9914fb92 81a1c7e2 84d73e67 f1809a48 a497200e 046d39cc c7112cd0 + + */ + + + +#include "g10lib.h" +#include "memory.h" +#include "bithelp.h" +#include "cipher.h" +#include "hash-common.h" + +typedef struct { + u32 h0,h1,h2,h3,h4,h5,h6,h7; + u32 nblocks; + byte buf[64]; + int count; +} SHA256_CONTEXT; + + +static void +sha256_init (void *context) +{ + SHA256_CONTEXT *hd = context; + + hd->h0 = 0x6a09e667; + hd->h1 = 0xbb67ae85; + hd->h2 = 0x3c6ef372; + hd->h3 = 0xa54ff53a; + hd->h4 = 0x510e527f; + hd->h5 = 0x9b05688c; + hd->h6 = 0x1f83d9ab; + hd->h7 = 0x5be0cd19; + + hd->nblocks = 0; + hd->count = 0; +} + + +static void +sha224_init (void *context) +{ + SHA256_CONTEXT *hd = context; + + hd->h0 = 0xc1059ed8; + hd->h1 = 0x367cd507; + hd->h2 = 0x3070dd17; + hd->h3 = 0xf70e5939; + hd->h4 = 0xffc00b31; + hd->h5 = 0x68581511; + hd->h6 = 0x64f98fa7; + hd->h7 = 0xbefa4fa4; + + hd->nblocks = 0; + hd->count = 0; +} + + +/* + Transform the message X which consists of 16 32-bit-words. See FIPS + 180-2 for details. */ +#define Cho(x,y,z) (z ^ (x & (y ^ z))) /* (4.2) same as SHA-1's F1 */ +#define Maj(x,y,z) ((x & y) | (z & (x|y))) /* (4.3) same as SHA-1's F3 */ +#define Sum0(x) (ror ((x), 2) ^ ror ((x), 13) ^ ror ((x), 22)) /* (4.4) */ +#define Sum1(x) (ror ((x), 6) ^ ror ((x), 11) ^ ror ((x), 25)) /* (4.5) */ +#define S0(x) (ror ((x), 7) ^ ror ((x), 18) ^ ((x) >> 3)) /* (4.6) */ +#define S1(x) (ror ((x), 17) ^ ror ((x), 19) ^ ((x) >> 10)) /* (4.7) */ +#define R(a,b,c,d,e,f,g,h,k,w) do \ + { \ + t1 = (h) + Sum1((e)) + Cho((e),(f),(g)) + (k) + (w); \ + t2 = Sum0((a)) + Maj((a),(b),(c)); \ + h = g; \ + g = f; \ + f = e; \ + e = d + t1; \ + d = c; \ + c = b; \ + b = a; \ + a = t1 + t2; \ + } while (0) + +static void +transform (SHA256_CONTEXT *hd, const unsigned char *data) +{ + static const u32 K[64] = { + 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, + 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, + 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, + 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, + 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, + 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, + 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, + 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, + 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, + 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, + 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, + 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, + 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, + 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, + 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, + 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 + }; + + u32 a,b,c,d,e,f,g,h,t1,t2; + u32 x[16]; + u32 w[64]; + int i; + + a = hd->h0; + b = hd->h1; + c = hd->h2; + d = hd->h3; + e = hd->h4; + f = hd->h5; + g = hd->h6; + h = hd->h7; + +#ifdef WORDS_BIGENDIAN + memcpy (x, data, 64); +#else + { + byte *p2; + + for (i=0, p2=(byte*)x; i < 16; i++, p2 += 4 ) + { + p2[3] = *data++; + p2[2] = *data++; + p2[1] = *data++; + p2[0] = *data++; + } + } +#endif + + for (i=0; i < 16; i++) + w[i] = x[i]; + for (; i < 64; i++) + w[i] = S1(w[i-2]) + w[i-7] + S0(w[i-15]) + w[i-16]; + + for (i=0; i < 64; i++) + R(a,b,c,d,e,f,g,h,K[i],w[i]); + + hd->h0 += a; + hd->h1 += b; + hd->h2 += c; + hd->h3 += d; + hd->h4 += e; + hd->h5 += f; + hd->h6 += g; + hd->h7 += h; +} +#undef Cho +#undef Maj +#undef Sum0 +#undef Sum1 +#undef S0 +#undef S1 +#undef R + + +/* Update the message digest with the contents of INBUF with length + INLEN. */ +static void +sha256_write (void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + SHA256_CONTEXT *hd = context; + + if (hd->count == 64) + { /* flush the buffer */ + transform (hd, hd->buf); + _gcry_burn_stack (74*4+32); + hd->count = 0; + hd->nblocks++; + } + if (!inbuf) + return; + if (hd->count) + { + for (; inlen && hd->count < 64; inlen--) + hd->buf[hd->count++] = *inbuf++; + sha256_write (hd, NULL, 0); + if (!inlen) + return; + } + + while (inlen >= 64) + { + transform (hd, inbuf); + hd->count = 0; + hd->nblocks++; + inlen -= 64; + inbuf += 64; + } + _gcry_burn_stack (74*4+32); + for (; inlen && hd->count < 64; inlen--) + hd->buf[hd->count++] = *inbuf++; +} + + +/* + The routine finally terminates the computation and returns the + digest. The handle is prepared for a new cycle, but adding bytes + to the handle will the destroy the returned buffer. Returns: 32 + bytes with the message the digest. */ +static void +sha256_final(void *context) +{ + SHA256_CONTEXT *hd = context; + u32 t, msb, lsb; + byte *p; + + sha256_write (hd, NULL, 0); /* flush */; + + t = hd->nblocks; + /* multiply by 64 to make a byte count */ + lsb = t << 6; + msb = t >> 26; + /* add the count */ + t = lsb; + if ((lsb += hd->count) < t) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 29; + + if (hd->count < 56) + { /* enough room */ + hd->buf[hd->count++] = 0x80; /* pad */ + while (hd->count < 56) + hd->buf[hd->count++] = 0; /* pad */ + } + else + { /* need one extra block */ + hd->buf[hd->count++] = 0x80; /* pad character */ + while (hd->count < 64) + hd->buf[hd->count++] = 0; + sha256_write (hd, NULL, 0); /* flush */; + memset (hd->buf, 0, 56 ); /* fill next block with zeroes */ + } + /* append the 64 bit count */ + hd->buf[56] = msb >> 24; + hd->buf[57] = msb >> 16; + hd->buf[58] = msb >> 8; + hd->buf[59] = msb; + hd->buf[60] = lsb >> 24; + hd->buf[61] = lsb >> 16; + hd->buf[62] = lsb >> 8; + hd->buf[63] = lsb; + transform (hd, hd->buf); + _gcry_burn_stack (74*4+32); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *(u32*)p = hd->h##a ; p += 4; } while(0) +#else /* little endian */ +#define X(a) do { *p++ = hd->h##a >> 24; *p++ = hd->h##a >> 16; \ + *p++ = hd->h##a >> 8; *p++ = hd->h##a; } while(0) +#endif + X(0); + X(1); + X(2); + X(3); + X(4); + X(5); + X(6); + X(7); +#undef X +} + +static byte * +sha256_read (void *context) +{ + SHA256_CONTEXT *hd = context; + + return hd->buf; +} + + + +/* + Self-test section. + */ + + + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static byte asn224[19] = /* Object ID is 2.16.840.1.101.3.4.2.4 */ + { 0x30, 0x2D, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, + 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05, 0x00, 0x04, + 0x1C + }; + +static gcry_md_oid_spec_t oid_spec_sha224[] = + { + /* From RFC3874, Section 4 */ + { "2.16.840.1.101.3.4.2.4" }, + { NULL }, + }; + +static byte asn256[19] = /* Object ID is 2.16.840.1.101.3.4.2.1 */ + { 0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, + 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, + 0x00, 0x04, 0x20 }; + +static gcry_md_oid_spec_t oid_spec_sha256[] = + { + /* According to the OpenPGP draft rfc2440-bis06 */ + { "2.16.840.1.101.3.4.2.1" }, + /* PKCS#1 sha256WithRSAEncryption */ + { "1.2.840.113549.1.1.11" }, + + { NULL }, + }; + +gcry_md_spec_t _gcry_digest_spec_sha224 = + { + "SHA224", asn224, DIM (asn224), oid_spec_sha224, 28, + sha224_init, sha256_write, sha256_final, sha256_read, + sizeof (SHA256_CONTEXT) + , + .blocksize = 64 + }; + +gcry_md_spec_t _gcry_digest_spec_sha256 = + { + "SHA256", asn256, DIM (asn256), oid_spec_sha256, 32, + sha256_init, sha256_write, sha256_final, sha256_read, + sizeof (SHA256_CONTEXT) + , + .blocksize = 64 + }; + + +GRUB_MOD_INIT(gcry_sha256) +{ + grub_md_register (&_gcry_digest_spec_sha224); + grub_md_register (&_gcry_digest_spec_sha256); +} + +GRUB_MOD_FINI(gcry_sha256) +{ + grub_md_unregister (&_gcry_digest_spec_sha224); + grub_md_unregister (&_gcry_digest_spec_sha256); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/sha512.c b/grub-core/lib/libgcrypt-grub/cipher/sha512.c new file mode 100644 index 0000000..856b3d0 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/sha512.c @@ -0,0 +1,441 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* sha512.c - SHA384 and SHA512 hash functions + * Copyright (C) 2003, 2008 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser general Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, see . + */ + + +/* Test vectors from FIPS-180-2: + * + * "abc" + * 384: + * CB00753F 45A35E8B B5A03D69 9AC65007 272C32AB 0EDED163 + * 1A8B605A 43FF5BED 8086072B A1E7CC23 58BAECA1 34C825A7 + * 512: + * DDAF35A1 93617ABA CC417349 AE204131 12E6FA4E 89A97EA2 0A9EEEE6 4B55D39A + * 2192992A 274FC1A8 36BA3C23 A3FEEBBD 454D4423 643CE80E 2A9AC94F A54CA49F + * + * "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" + * 384: + * 09330C33 F71147E8 3D192FC7 82CD1B47 53111B17 3B3B05D2 + * 2FA08086 E3B0F712 FCC7C71A 557E2DB9 66C3E9FA 91746039 + * 512: + * 8E959B75 DAE313DA 8CF4F728 14FC143F 8F7779C6 EB9F7FA1 7299AEAD B6889018 + * 501D289E 4900F7E4 331B99DE C4B5433A C7D329EE B6DD2654 5E96E55B 874BE909 + * + * "a" x 1000000 + * 384: + * 9D0E1809 716474CB 086E834E 310A4A1C ED149E9C 00F24852 + * 7972CEC5 704C2A5B 07B8B3DC 38ECC4EB AE97DDD8 7F3D8985 + * 512: + * E718483D 0CE76964 4E2E42C7 BC15B463 8E1F98B1 3B204428 5632A803 AFA973EB + * DE0FF244 877EA60A 4CB0432C E577C31B EB009C5C 2C49AA2E 4EADB217 AD8CC09B + */ + + +#include "g10lib.h" +#include "bithelp.h" +#include "cipher.h" +#include "hash-common.h" + +typedef struct +{ + u64 h0, h1, h2, h3, h4, h5, h6, h7; + u64 nblocks; + byte buf[128]; + int count; +} SHA512_CONTEXT; + +static void +sha512_init (void *context) +{ + SHA512_CONTEXT *hd = context; + + hd->h0 = U64_C(0x6a09e667f3bcc908); + hd->h1 = U64_C(0xbb67ae8584caa73b); + hd->h2 = U64_C(0x3c6ef372fe94f82b); + hd->h3 = U64_C(0xa54ff53a5f1d36f1); + hd->h4 = U64_C(0x510e527fade682d1); + hd->h5 = U64_C(0x9b05688c2b3e6c1f); + hd->h6 = U64_C(0x1f83d9abfb41bd6b); + hd->h7 = U64_C(0x5be0cd19137e2179); + + hd->nblocks = 0; + hd->count = 0; +} + +static void +sha384_init (void *context) +{ + SHA512_CONTEXT *hd = context; + + hd->h0 = U64_C(0xcbbb9d5dc1059ed8); + hd->h1 = U64_C(0x629a292a367cd507); + hd->h2 = U64_C(0x9159015a3070dd17); + hd->h3 = U64_C(0x152fecd8f70e5939); + hd->h4 = U64_C(0x67332667ffc00b31); + hd->h5 = U64_C(0x8eb44a8768581511); + hd->h6 = U64_C(0xdb0c2e0d64f98fa7); + hd->h7 = U64_C(0x47b5481dbefa4fa4); + + hd->nblocks = 0; + hd->count = 0; +} + + +/**************** + * Transform the message W which consists of 16 64-bit-words + */ +static void +transform (SHA512_CONTEXT *hd, const unsigned char *data) +{ + u64 a, b, c, d, e, f, g, h; + u64 w[80]; + int t; + static const u64 k[] = + { + U64_C(0x428a2f98d728ae22), U64_C(0x7137449123ef65cd), + U64_C(0xb5c0fbcfec4d3b2f), U64_C(0xe9b5dba58189dbbc), + U64_C(0x3956c25bf348b538), U64_C(0x59f111f1b605d019), + U64_C(0x923f82a4af194f9b), U64_C(0xab1c5ed5da6d8118), + U64_C(0xd807aa98a3030242), U64_C(0x12835b0145706fbe), + U64_C(0x243185be4ee4b28c), U64_C(0x550c7dc3d5ffb4e2), + U64_C(0x72be5d74f27b896f), U64_C(0x80deb1fe3b1696b1), + U64_C(0x9bdc06a725c71235), U64_C(0xc19bf174cf692694), + U64_C(0xe49b69c19ef14ad2), U64_C(0xefbe4786384f25e3), + U64_C(0x0fc19dc68b8cd5b5), U64_C(0x240ca1cc77ac9c65), + U64_C(0x2de92c6f592b0275), U64_C(0x4a7484aa6ea6e483), + U64_C(0x5cb0a9dcbd41fbd4), U64_C(0x76f988da831153b5), + U64_C(0x983e5152ee66dfab), U64_C(0xa831c66d2db43210), + U64_C(0xb00327c898fb213f), U64_C(0xbf597fc7beef0ee4), + U64_C(0xc6e00bf33da88fc2), U64_C(0xd5a79147930aa725), + U64_C(0x06ca6351e003826f), U64_C(0x142929670a0e6e70), + U64_C(0x27b70a8546d22ffc), U64_C(0x2e1b21385c26c926), + U64_C(0x4d2c6dfc5ac42aed), U64_C(0x53380d139d95b3df), + U64_C(0x650a73548baf63de), U64_C(0x766a0abb3c77b2a8), + U64_C(0x81c2c92e47edaee6), U64_C(0x92722c851482353b), + U64_C(0xa2bfe8a14cf10364), U64_C(0xa81a664bbc423001), + U64_C(0xc24b8b70d0f89791), U64_C(0xc76c51a30654be30), + U64_C(0xd192e819d6ef5218), U64_C(0xd69906245565a910), + U64_C(0xf40e35855771202a), U64_C(0x106aa07032bbd1b8), + U64_C(0x19a4c116b8d2d0c8), U64_C(0x1e376c085141ab53), + U64_C(0x2748774cdf8eeb99), U64_C(0x34b0bcb5e19b48a8), + U64_C(0x391c0cb3c5c95a63), U64_C(0x4ed8aa4ae3418acb), + U64_C(0x5b9cca4f7763e373), U64_C(0x682e6ff3d6b2b8a3), + U64_C(0x748f82ee5defb2fc), U64_C(0x78a5636f43172f60), + U64_C(0x84c87814a1f0ab72), U64_C(0x8cc702081a6439ec), + U64_C(0x90befffa23631e28), U64_C(0xa4506cebde82bde9), + U64_C(0xbef9a3f7b2c67915), U64_C(0xc67178f2e372532b), + U64_C(0xca273eceea26619c), U64_C(0xd186b8c721c0c207), + U64_C(0xeada7dd6cde0eb1e), U64_C(0xf57d4f7fee6ed178), + U64_C(0x06f067aa72176fba), U64_C(0x0a637dc5a2c898a6), + U64_C(0x113f9804bef90dae), U64_C(0x1b710b35131c471b), + U64_C(0x28db77f523047d84), U64_C(0x32caab7b40c72493), + U64_C(0x3c9ebe0a15c9bebc), U64_C(0x431d67c49c100d4c), + U64_C(0x4cc5d4becb3e42b6), U64_C(0x597f299cfc657e2a), + U64_C(0x5fcb6fab3ad6faec), U64_C(0x6c44198c4a475817) + }; + + /* get values from the chaining vars */ + a = hd->h0; + b = hd->h1; + c = hd->h2; + d = hd->h3; + e = hd->h4; + f = hd->h5; + g = hd->h6; + h = hd->h7; + +#ifdef WORDS_BIGENDIAN + memcpy (w, data, 128); +#else + { + int i; + byte *p2; + + for (i = 0, p2 = (byte *) w; i < 16; i++, p2 += 8) + { + p2[7] = *data++; + p2[6] = *data++; + p2[5] = *data++; + p2[4] = *data++; + p2[3] = *data++; + p2[2] = *data++; + p2[1] = *data++; + p2[0] = *data++; + } + } +#endif + +#define ROTR(x,n) (((x)>>(n)) | ((x)<<(64-(n)))) +#define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) +#define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) +#define Sum0(x) (ROTR((x),28) ^ ROTR((x),34) ^ ROTR((x),39)) +#define Sum1(x) (ROTR((x),14) ^ ROTR((x),18) ^ ROTR((x),41)) +#define S0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x)>>7)) +#define S1(x) (ROTR((x),19) ^ ROTR((x),61) ^ ((x)>>6)) + + for (t = 16; t < 80; t++) + w[t] = S1 (w[t - 2]) + w[t - 7] + S0 (w[t - 15]) + w[t - 16]; + + for (t = 0; t < 80; t++) + { + u64 t1, t2; + + t1 = h + Sum1 (e) + Ch (e, f, g) + k[t] + w[t]; + t2 = Sum0 (a) + Maj (a, b, c); + h = g; + g = f; + f = e; + e = d + t1; + d = c; + c = b; + b = a; + a = t1 + t2; + + /* printf("t=%d a=%016llX b=%016llX c=%016llX d=%016llX " + "e=%016llX f=%016llX g=%016llX h=%016llX\n",t,a,b,c,d,e,f,g,h); */ + } + + /* update chaining vars */ + hd->h0 += a; + hd->h1 += b; + hd->h2 += c; + hd->h3 += d; + hd->h4 += e; + hd->h5 += f; + hd->h6 += g; + hd->h7 += h; +} + + +/* Update the message digest with the contents + * of INBUF with length INLEN. + */ +static void +sha512_write (void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + SHA512_CONTEXT *hd = context; + + if (hd->count == 128) + { /* flush the buffer */ + transform (hd, hd->buf); + _gcry_burn_stack (768); + hd->count = 0; + hd->nblocks++; + } + if (!inbuf) + return; + if (hd->count) + { + for (; inlen && hd->count < 128; inlen--) + hd->buf[hd->count++] = *inbuf++; + sha512_write (context, NULL, 0); + if (!inlen) + return; + } + + while (inlen >= 128) + { + transform (hd, inbuf); + hd->count = 0; + hd->nblocks++; + inlen -= 128; + inbuf += 128; + } + _gcry_burn_stack (768); + for (; inlen && hd->count < 128; inlen--) + hd->buf[hd->count++] = *inbuf++; +} + + +/* The routine final terminates the computation and + * returns the digest. + * The handle is prepared for a new cycle, but adding bytes to the + * handle will the destroy the returned buffer. + * Returns: 64 bytes representing the digest. When used for sha384, + * we take the leftmost 48 of those bytes. + */ + +static void +sha512_final (void *context) +{ + SHA512_CONTEXT *hd = context; + u64 t, msb, lsb; + byte *p; + + sha512_write (context, NULL, 0); /* flush */ ; + + t = hd->nblocks; + /* multiply by 128 to make a byte count */ + lsb = t << 7; + msb = t >> 57; + /* add the count */ + t = lsb; + if ((lsb += hd->count) < t) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 61; + + if (hd->count < 112) + { /* enough room */ + hd->buf[hd->count++] = 0x80; /* pad */ + while (hd->count < 112) + hd->buf[hd->count++] = 0; /* pad */ + } + else + { /* need one extra block */ + hd->buf[hd->count++] = 0x80; /* pad character */ + while (hd->count < 128) + hd->buf[hd->count++] = 0; + sha512_write (context, NULL, 0); /* flush */ ; + memset (hd->buf, 0, 112); /* fill next block with zeroes */ + } + /* append the 128 bit count */ + hd->buf[112] = msb >> 56; + hd->buf[113] = msb >> 48; + hd->buf[114] = msb >> 40; + hd->buf[115] = msb >> 32; + hd->buf[116] = msb >> 24; + hd->buf[117] = msb >> 16; + hd->buf[118] = msb >> 8; + hd->buf[119] = msb; + + hd->buf[120] = lsb >> 56; + hd->buf[121] = lsb >> 48; + hd->buf[122] = lsb >> 40; + hd->buf[123] = lsb >> 32; + hd->buf[124] = lsb >> 24; + hd->buf[125] = lsb >> 16; + hd->buf[126] = lsb >> 8; + hd->buf[127] = lsb; + transform (hd, hd->buf); + _gcry_burn_stack (768); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *(u64*)p = hd->h##a ; p += 8; } while (0) +#else /* little endian */ +#define X(a) do { *p++ = hd->h##a >> 56; *p++ = hd->h##a >> 48; \ + *p++ = hd->h##a >> 40; *p++ = hd->h##a >> 32; \ + *p++ = hd->h##a >> 24; *p++ = hd->h##a >> 16; \ + *p++ = hd->h##a >> 8; *p++ = hd->h##a; } while (0) +#endif + X (0); + X (1); + X (2); + X (3); + X (4); + X (5); + /* Note that these last two chunks are included even for SHA384. + We just ignore them. */ + X (6); + X (7); +#undef X +} + +static byte * +sha512_read (void *context) +{ + SHA512_CONTEXT *hd = (SHA512_CONTEXT *) context; + return hd->buf; +} + + + +/* + Self-test section. + */ + + + + + +/* Run a full self-test for ALGO and return 0 on success. */ + + + + +static byte sha512_asn[] = /* Object ID is 2.16.840.1.101.3.4.2.3 */ + { + 0x30, 0x51, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, + 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03, 0x05, + 0x00, 0x04, 0x40 + }; + +static gcry_md_oid_spec_t oid_spec_sha512[] = + { + { "2.16.840.1.101.3.4.2.3" }, + + /* PKCS#1 sha512WithRSAEncryption */ + { "1.2.840.113549.1.1.13" }, + + { NULL } + }; + +gcry_md_spec_t _gcry_digest_spec_sha512 = + { + "SHA512", sha512_asn, DIM (sha512_asn), oid_spec_sha512, 64, + sha512_init, sha512_write, sha512_final, sha512_read, + sizeof (SHA512_CONTEXT), + .blocksize = 128 + }; + +static byte sha384_asn[] = /* Object ID is 2.16.840.1.101.3.4.2.2 */ + { + 0x30, 0x41, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, + 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02, 0x05, + 0x00, 0x04, 0x30 + }; + +static gcry_md_oid_spec_t oid_spec_sha384[] = + { + { "2.16.840.1.101.3.4.2.2" }, + + /* PKCS#1 sha384WithRSAEncryption */ + { "1.2.840.113549.1.1.12" }, + + { NULL }, + }; + +gcry_md_spec_t _gcry_digest_spec_sha384 = + { + "SHA384", sha384_asn, DIM (sha384_asn), oid_spec_sha384, 48, + sha384_init, sha512_write, sha512_final, sha512_read, + sizeof (SHA512_CONTEXT), + .blocksize = 128 + }; + + +GRUB_MOD_INIT(gcry_sha512) +{ + grub_md_register (&_gcry_digest_spec_sha512); + grub_md_register (&_gcry_digest_spec_sha384); +} + +GRUB_MOD_FINI(gcry_sha512) +{ + grub_md_unregister (&_gcry_digest_spec_sha512); + grub_md_unregister (&_gcry_digest_spec_sha384); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/tiger.c b/grub-core/lib/libgcrypt-grub/cipher/tiger.c new file mode 100644 index 0000000..b7c6b0a --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/tiger.c @@ -0,0 +1,864 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* tiger.c - The TIGER hash function + * Copyright (C) 1998, 2001, 2002, 2003 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + + +#include "g10lib.h" +#include "memory.h" +#include "cipher.h" + +#ifdef HAVE_U64_TYPEDEF + +/* we really need it here, but as this is only experiment we + * can live without Tiger */ + +typedef struct { + u64 a, b, c; + byte buf[64]; + int count; + u32 nblocks; +} TIGER_CONTEXT; + + +/********************************* + * Okay, okay, this is not the fastest code - improvements are welcome. + * + */ + +/* Some test vectors: + * "" 24F0130C63AC9332 16166E76B1BB925F F373DE2D49584E7A + * "abc" F258C1E88414AB2A 527AB541FFC5B8BF 935F7B951C132951 + * "Tiger" 9F00F599072300DD 276ABB38C8EB6DEC 37790C116F9D2BDF + * "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" + * 87FB2A9083851CF7 470D2CF810E6DF9E B586445034A5A386 + * "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789" + * 467DB80863EBCE48 8DF1CD1261655DE9 57896565975F9197 + * "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham" + * 0C410A042968868A 1671DA5A3FD29A72 5EC1E457D3CDB303 + * "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proc" + * "eedings of Fast Software Encryption 3, Cambridge." + * EBF591D5AFA655CE 7F22894FF87F54AC 89C811B6B0DA3193 + * "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proc" + * "eedings of Fast Software Encryption 3, Cambridge, 1996." + * 3D9AEB03D1BD1A63 57B2774DFD6D5B24 DD68151D503974FC + * "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-ABCDEF" + * "GHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" + * 00B83EB4E53440C5 76AC6AAEE0A74858 25FD15E70A59FFE4 + */ + +static u64 sbox1[256] = { + U64_C(0x02aab17cf7e90c5e) /* 0 */, U64_C(0xac424b03e243a8ec) /* 1 */, + U64_C(0x72cd5be30dd5fcd3) /* 2 */, U64_C(0x6d019b93f6f97f3a) /* 3 */, + U64_C(0xcd9978ffd21f9193) /* 4 */, U64_C(0x7573a1c9708029e2) /* 5 */, + U64_C(0xb164326b922a83c3) /* 6 */, U64_C(0x46883eee04915870) /* 7 */, + U64_C(0xeaace3057103ece6) /* 8 */, U64_C(0xc54169b808a3535c) /* 9 */, + U64_C(0x4ce754918ddec47c) /* 10 */, U64_C(0x0aa2f4dfdc0df40c) /* 11 */, + U64_C(0x10b76f18a74dbefa) /* 12 */, U64_C(0xc6ccb6235ad1ab6a) /* 13 */, + U64_C(0x13726121572fe2ff) /* 14 */, U64_C(0x1a488c6f199d921e) /* 15 */, + U64_C(0x4bc9f9f4da0007ca) /* 16 */, U64_C(0x26f5e6f6e85241c7) /* 17 */, + U64_C(0x859079dbea5947b6) /* 18 */, U64_C(0x4f1885c5c99e8c92) /* 19 */, + U64_C(0xd78e761ea96f864b) /* 20 */, U64_C(0x8e36428c52b5c17d) /* 21 */, + U64_C(0x69cf6827373063c1) /* 22 */, U64_C(0xb607c93d9bb4c56e) /* 23 */, + U64_C(0x7d820e760e76b5ea) /* 24 */, U64_C(0x645c9cc6f07fdc42) /* 25 */, + U64_C(0xbf38a078243342e0) /* 26 */, U64_C(0x5f6b343c9d2e7d04) /* 27 */, + U64_C(0xf2c28aeb600b0ec6) /* 28 */, U64_C(0x6c0ed85f7254bcac) /* 29 */, + U64_C(0x71592281a4db4fe5) /* 30 */, U64_C(0x1967fa69ce0fed9f) /* 31 */, + U64_C(0xfd5293f8b96545db) /* 32 */, U64_C(0xc879e9d7f2a7600b) /* 33 */, + U64_C(0x860248920193194e) /* 34 */, U64_C(0xa4f9533b2d9cc0b3) /* 35 */, + U64_C(0x9053836c15957613) /* 36 */, U64_C(0xdb6dcf8afc357bf1) /* 37 */, + U64_C(0x18beea7a7a370f57) /* 38 */, U64_C(0x037117ca50b99066) /* 39 */, + U64_C(0x6ab30a9774424a35) /* 40 */, U64_C(0xf4e92f02e325249b) /* 41 */, + U64_C(0x7739db07061ccae1) /* 42 */, U64_C(0xd8f3b49ceca42a05) /* 43 */, + U64_C(0xbd56be3f51382f73) /* 44 */, U64_C(0x45faed5843b0bb28) /* 45 */, + U64_C(0x1c813d5c11bf1f83) /* 46 */, U64_C(0x8af0e4b6d75fa169) /* 47 */, + U64_C(0x33ee18a487ad9999) /* 48 */, U64_C(0x3c26e8eab1c94410) /* 49 */, + U64_C(0xb510102bc0a822f9) /* 50 */, U64_C(0x141eef310ce6123b) /* 51 */, + U64_C(0xfc65b90059ddb154) /* 52 */, U64_C(0xe0158640c5e0e607) /* 53 */, + U64_C(0x884e079826c3a3cf) /* 54 */, U64_C(0x930d0d9523c535fd) /* 55 */, + U64_C(0x35638d754e9a2b00) /* 56 */, U64_C(0x4085fccf40469dd5) /* 57 */, + U64_C(0xc4b17ad28be23a4c) /* 58 */, U64_C(0xcab2f0fc6a3e6a2e) /* 59 */, + U64_C(0x2860971a6b943fcd) /* 60 */, U64_C(0x3dde6ee212e30446) /* 61 */, + U64_C(0x6222f32ae01765ae) /* 62 */, U64_C(0x5d550bb5478308fe) /* 63 */, + U64_C(0xa9efa98da0eda22a) /* 64 */, U64_C(0xc351a71686c40da7) /* 65 */, + U64_C(0x1105586d9c867c84) /* 66 */, U64_C(0xdcffee85fda22853) /* 67 */, + U64_C(0xccfbd0262c5eef76) /* 68 */, U64_C(0xbaf294cb8990d201) /* 69 */, + U64_C(0xe69464f52afad975) /* 70 */, U64_C(0x94b013afdf133e14) /* 71 */, + U64_C(0x06a7d1a32823c958) /* 72 */, U64_C(0x6f95fe5130f61119) /* 73 */, + U64_C(0xd92ab34e462c06c0) /* 74 */, U64_C(0xed7bde33887c71d2) /* 75 */, + U64_C(0x79746d6e6518393e) /* 76 */, U64_C(0x5ba419385d713329) /* 77 */, + U64_C(0x7c1ba6b948a97564) /* 78 */, U64_C(0x31987c197bfdac67) /* 79 */, + U64_C(0xde6c23c44b053d02) /* 80 */, U64_C(0x581c49fed002d64d) /* 81 */, + U64_C(0xdd474d6338261571) /* 82 */, U64_C(0xaa4546c3e473d062) /* 83 */, + U64_C(0x928fce349455f860) /* 84 */, U64_C(0x48161bbacaab94d9) /* 85 */, + U64_C(0x63912430770e6f68) /* 86 */, U64_C(0x6ec8a5e602c6641c) /* 87 */, + U64_C(0x87282515337ddd2b) /* 88 */, U64_C(0x2cda6b42034b701b) /* 89 */, + U64_C(0xb03d37c181cb096d) /* 90 */, U64_C(0xe108438266c71c6f) /* 91 */, + U64_C(0x2b3180c7eb51b255) /* 92 */, U64_C(0xdf92b82f96c08bbc) /* 93 */, + U64_C(0x5c68c8c0a632f3ba) /* 94 */, U64_C(0x5504cc861c3d0556) /* 95 */, + U64_C(0xabbfa4e55fb26b8f) /* 96 */, U64_C(0x41848b0ab3baceb4) /* 97 */, + U64_C(0xb334a273aa445d32) /* 98 */, U64_C(0xbca696f0a85ad881) /* 99 */, + U64_C(0x24f6ec65b528d56c) /* 100 */, U64_C(0x0ce1512e90f4524a) /* 101 */, + U64_C(0x4e9dd79d5506d35a) /* 102 */, U64_C(0x258905fac6ce9779) /* 103 */, + U64_C(0x2019295b3e109b33) /* 104 */, U64_C(0xf8a9478b73a054cc) /* 105 */, + U64_C(0x2924f2f934417eb0) /* 106 */, U64_C(0x3993357d536d1bc4) /* 107 */, + U64_C(0x38a81ac21db6ff8b) /* 108 */, U64_C(0x47c4fbf17d6016bf) /* 109 */, + U64_C(0x1e0faadd7667e3f5) /* 110 */, U64_C(0x7abcff62938beb96) /* 111 */, + U64_C(0xa78dad948fc179c9) /* 112 */, U64_C(0x8f1f98b72911e50d) /* 113 */, + U64_C(0x61e48eae27121a91) /* 114 */, U64_C(0x4d62f7ad31859808) /* 115 */, + U64_C(0xeceba345ef5ceaeb) /* 116 */, U64_C(0xf5ceb25ebc9684ce) /* 117 */, + U64_C(0xf633e20cb7f76221) /* 118 */, U64_C(0xa32cdf06ab8293e4) /* 119 */, + U64_C(0x985a202ca5ee2ca4) /* 120 */, U64_C(0xcf0b8447cc8a8fb1) /* 121 */, + U64_C(0x9f765244979859a3) /* 122 */, U64_C(0xa8d516b1a1240017) /* 123 */, + U64_C(0x0bd7ba3ebb5dc726) /* 124 */, U64_C(0xe54bca55b86adb39) /* 125 */, + U64_C(0x1d7a3afd6c478063) /* 126 */, U64_C(0x519ec608e7669edd) /* 127 */, + U64_C(0x0e5715a2d149aa23) /* 128 */, U64_C(0x177d4571848ff194) /* 129 */, + U64_C(0xeeb55f3241014c22) /* 130 */, U64_C(0x0f5e5ca13a6e2ec2) /* 131 */, + U64_C(0x8029927b75f5c361) /* 132 */, U64_C(0xad139fabc3d6e436) /* 133 */, + U64_C(0x0d5df1a94ccf402f) /* 134 */, U64_C(0x3e8bd948bea5dfc8) /* 135 */, + U64_C(0xa5a0d357bd3ff77e) /* 136 */, U64_C(0xa2d12e251f74f645) /* 137 */, + U64_C(0x66fd9e525e81a082) /* 138 */, U64_C(0x2e0c90ce7f687a49) /* 139 */, + U64_C(0xc2e8bcbeba973bc5) /* 140 */, U64_C(0x000001bce509745f) /* 141 */, + U64_C(0x423777bbe6dab3d6) /* 142 */, U64_C(0xd1661c7eaef06eb5) /* 143 */, + U64_C(0xa1781f354daacfd8) /* 144 */, U64_C(0x2d11284a2b16affc) /* 145 */, + U64_C(0xf1fc4f67fa891d1f) /* 146 */, U64_C(0x73ecc25dcb920ada) /* 147 */, + U64_C(0xae610c22c2a12651) /* 148 */, U64_C(0x96e0a810d356b78a) /* 149 */, + U64_C(0x5a9a381f2fe7870f) /* 150 */, U64_C(0xd5ad62ede94e5530) /* 151 */, + U64_C(0xd225e5e8368d1427) /* 152 */, U64_C(0x65977b70c7af4631) /* 153 */, + U64_C(0x99f889b2de39d74f) /* 154 */, U64_C(0x233f30bf54e1d143) /* 155 */, + U64_C(0x9a9675d3d9a63c97) /* 156 */, U64_C(0x5470554ff334f9a8) /* 157 */, + U64_C(0x166acb744a4f5688) /* 158 */, U64_C(0x70c74caab2e4aead) /* 159 */, + U64_C(0xf0d091646f294d12) /* 160 */, U64_C(0x57b82a89684031d1) /* 161 */, + U64_C(0xefd95a5a61be0b6b) /* 162 */, U64_C(0x2fbd12e969f2f29a) /* 163 */, + U64_C(0x9bd37013feff9fe8) /* 164 */, U64_C(0x3f9b0404d6085a06) /* 165 */, + U64_C(0x4940c1f3166cfe15) /* 166 */, U64_C(0x09542c4dcdf3defb) /* 167 */, + U64_C(0xb4c5218385cd5ce3) /* 168 */, U64_C(0xc935b7dc4462a641) /* 169 */, + U64_C(0x3417f8a68ed3b63f) /* 170 */, U64_C(0xb80959295b215b40) /* 171 */, + U64_C(0xf99cdaef3b8c8572) /* 172 */, U64_C(0x018c0614f8fcb95d) /* 173 */, + U64_C(0x1b14accd1a3acdf3) /* 174 */, U64_C(0x84d471f200bb732d) /* 175 */, + U64_C(0xc1a3110e95e8da16) /* 176 */, U64_C(0x430a7220bf1a82b8) /* 177 */, + U64_C(0xb77e090d39df210e) /* 178 */, U64_C(0x5ef4bd9f3cd05e9d) /* 179 */, + U64_C(0x9d4ff6da7e57a444) /* 180 */, U64_C(0xda1d60e183d4a5f8) /* 181 */, + U64_C(0xb287c38417998e47) /* 182 */, U64_C(0xfe3edc121bb31886) /* 183 */, + U64_C(0xc7fe3ccc980ccbef) /* 184 */, U64_C(0xe46fb590189bfd03) /* 185 */, + U64_C(0x3732fd469a4c57dc) /* 186 */, U64_C(0x7ef700a07cf1ad65) /* 187 */, + U64_C(0x59c64468a31d8859) /* 188 */, U64_C(0x762fb0b4d45b61f6) /* 189 */, + U64_C(0x155baed099047718) /* 190 */, U64_C(0x68755e4c3d50baa6) /* 191 */, + U64_C(0xe9214e7f22d8b4df) /* 192 */, U64_C(0x2addbf532eac95f4) /* 193 */, + U64_C(0x32ae3909b4bd0109) /* 194 */, U64_C(0x834df537b08e3450) /* 195 */, + U64_C(0xfa209da84220728d) /* 196 */, U64_C(0x9e691d9b9efe23f7) /* 197 */, + U64_C(0x0446d288c4ae8d7f) /* 198 */, U64_C(0x7b4cc524e169785b) /* 199 */, + U64_C(0x21d87f0135ca1385) /* 200 */, U64_C(0xcebb400f137b8aa5) /* 201 */, + U64_C(0x272e2b66580796be) /* 202 */, U64_C(0x3612264125c2b0de) /* 203 */, + U64_C(0x057702bdad1efbb2) /* 204 */, U64_C(0xd4babb8eacf84be9) /* 205 */, + U64_C(0x91583139641bc67b) /* 206 */, U64_C(0x8bdc2de08036e024) /* 207 */, + U64_C(0x603c8156f49f68ed) /* 208 */, U64_C(0xf7d236f7dbef5111) /* 209 */, + U64_C(0x9727c4598ad21e80) /* 210 */, U64_C(0xa08a0896670a5fd7) /* 211 */, + U64_C(0xcb4a8f4309eba9cb) /* 212 */, U64_C(0x81af564b0f7036a1) /* 213 */, + U64_C(0xc0b99aa778199abd) /* 214 */, U64_C(0x959f1ec83fc8e952) /* 215 */, + U64_C(0x8c505077794a81b9) /* 216 */, U64_C(0x3acaaf8f056338f0) /* 217 */, + U64_C(0x07b43f50627a6778) /* 218 */, U64_C(0x4a44ab49f5eccc77) /* 219 */, + U64_C(0x3bc3d6e4b679ee98) /* 220 */, U64_C(0x9cc0d4d1cf14108c) /* 221 */, + U64_C(0x4406c00b206bc8a0) /* 222 */, U64_C(0x82a18854c8d72d89) /* 223 */, + U64_C(0x67e366b35c3c432c) /* 224 */, U64_C(0xb923dd61102b37f2) /* 225 */, + U64_C(0x56ab2779d884271d) /* 226 */, U64_C(0xbe83e1b0ff1525af) /* 227 */, + U64_C(0xfb7c65d4217e49a9) /* 228 */, U64_C(0x6bdbe0e76d48e7d4) /* 229 */, + U64_C(0x08df828745d9179e) /* 230 */, U64_C(0x22ea6a9add53bd34) /* 231 */, + U64_C(0xe36e141c5622200a) /* 232 */, U64_C(0x7f805d1b8cb750ee) /* 233 */, + U64_C(0xafe5c7a59f58e837) /* 234 */, U64_C(0xe27f996a4fb1c23c) /* 235 */, + U64_C(0xd3867dfb0775f0d0) /* 236 */, U64_C(0xd0e673de6e88891a) /* 237 */, + U64_C(0x123aeb9eafb86c25) /* 238 */, U64_C(0x30f1d5d5c145b895) /* 239 */, + U64_C(0xbb434a2dee7269e7) /* 240 */, U64_C(0x78cb67ecf931fa38) /* 241 */, + U64_C(0xf33b0372323bbf9c) /* 242 */, U64_C(0x52d66336fb279c74) /* 243 */, + U64_C(0x505f33ac0afb4eaa) /* 244 */, U64_C(0xe8a5cd99a2cce187) /* 245 */, + U64_C(0x534974801e2d30bb) /* 246 */, U64_C(0x8d2d5711d5876d90) /* 247 */, + U64_C(0x1f1a412891bc038e) /* 248 */, U64_C(0xd6e2e71d82e56648) /* 249 */, + U64_C(0x74036c3a497732b7) /* 250 */, U64_C(0x89b67ed96361f5ab) /* 251 */, + U64_C(0xffed95d8f1ea02a2) /* 252 */, U64_C(0xe72b3bd61464d43d) /* 253 */, + U64_C(0xa6300f170bdc4820) /* 254 */, U64_C(0xebc18760ed78a77a) /* 255 */ +}; +static u64 sbox2[256] = { + U64_C(0xe6a6be5a05a12138) /* 256 */, U64_C(0xb5a122a5b4f87c98) /* 257 */, + U64_C(0x563c6089140b6990) /* 258 */, U64_C(0x4c46cb2e391f5dd5) /* 259 */, + U64_C(0xd932addbc9b79434) /* 260 */, U64_C(0x08ea70e42015aff5) /* 261 */, + U64_C(0xd765a6673e478cf1) /* 262 */, U64_C(0xc4fb757eab278d99) /* 263 */, + U64_C(0xdf11c6862d6e0692) /* 264 */, U64_C(0xddeb84f10d7f3b16) /* 265 */, + U64_C(0x6f2ef604a665ea04) /* 266 */, U64_C(0x4a8e0f0ff0e0dfb3) /* 267 */, + U64_C(0xa5edeef83dbcba51) /* 268 */, U64_C(0xfc4f0a2a0ea4371e) /* 269 */, + U64_C(0xe83e1da85cb38429) /* 270 */, U64_C(0xdc8ff882ba1b1ce2) /* 271 */, + U64_C(0xcd45505e8353e80d) /* 272 */, U64_C(0x18d19a00d4db0717) /* 273 */, + U64_C(0x34a0cfeda5f38101) /* 274 */, U64_C(0x0be77e518887caf2) /* 275 */, + U64_C(0x1e341438b3c45136) /* 276 */, U64_C(0xe05797f49089ccf9) /* 277 */, + U64_C(0xffd23f9df2591d14) /* 278 */, U64_C(0x543dda228595c5cd) /* 279 */, + U64_C(0x661f81fd99052a33) /* 280 */, U64_C(0x8736e641db0f7b76) /* 281 */, + U64_C(0x15227725418e5307) /* 282 */, U64_C(0xe25f7f46162eb2fa) /* 283 */, + U64_C(0x48a8b2126c13d9fe) /* 284 */, U64_C(0xafdc541792e76eea) /* 285 */, + U64_C(0x03d912bfc6d1898f) /* 286 */, U64_C(0x31b1aafa1b83f51b) /* 287 */, + U64_C(0xf1ac2796e42ab7d9) /* 288 */, U64_C(0x40a3a7d7fcd2ebac) /* 289 */, + U64_C(0x1056136d0afbbcc5) /* 290 */, U64_C(0x7889e1dd9a6d0c85) /* 291 */, + U64_C(0xd33525782a7974aa) /* 292 */, U64_C(0xa7e25d09078ac09b) /* 293 */, + U64_C(0xbd4138b3eac6edd0) /* 294 */, U64_C(0x920abfbe71eb9e70) /* 295 */, + U64_C(0xa2a5d0f54fc2625c) /* 296 */, U64_C(0xc054e36b0b1290a3) /* 297 */, + U64_C(0xf6dd59ff62fe932b) /* 298 */, U64_C(0x3537354511a8ac7d) /* 299 */, + U64_C(0xca845e9172fadcd4) /* 300 */, U64_C(0x84f82b60329d20dc) /* 301 */, + U64_C(0x79c62ce1cd672f18) /* 302 */, U64_C(0x8b09a2add124642c) /* 303 */, + U64_C(0xd0c1e96a19d9e726) /* 304 */, U64_C(0x5a786a9b4ba9500c) /* 305 */, + U64_C(0x0e020336634c43f3) /* 306 */, U64_C(0xc17b474aeb66d822) /* 307 */, + U64_C(0x6a731ae3ec9baac2) /* 308 */, U64_C(0x8226667ae0840258) /* 309 */, + U64_C(0x67d4567691caeca5) /* 310 */, U64_C(0x1d94155c4875adb5) /* 311 */, + U64_C(0x6d00fd985b813fdf) /* 312 */, U64_C(0x51286efcb774cd06) /* 313 */, + U64_C(0x5e8834471fa744af) /* 314 */, U64_C(0xf72ca0aee761ae2e) /* 315 */, + U64_C(0xbe40e4cdaee8e09a) /* 316 */, U64_C(0xe9970bbb5118f665) /* 317 */, + U64_C(0x726e4beb33df1964) /* 318 */, U64_C(0x703b000729199762) /* 319 */, + U64_C(0x4631d816f5ef30a7) /* 320 */, U64_C(0xb880b5b51504a6be) /* 321 */, + U64_C(0x641793c37ed84b6c) /* 322 */, U64_C(0x7b21ed77f6e97d96) /* 323 */, + U64_C(0x776306312ef96b73) /* 324 */, U64_C(0xae528948e86ff3f4) /* 325 */, + U64_C(0x53dbd7f286a3f8f8) /* 326 */, U64_C(0x16cadce74cfc1063) /* 327 */, + U64_C(0x005c19bdfa52c6dd) /* 328 */, U64_C(0x68868f5d64d46ad3) /* 329 */, + U64_C(0x3a9d512ccf1e186a) /* 330 */, U64_C(0x367e62c2385660ae) /* 331 */, + U64_C(0xe359e7ea77dcb1d7) /* 332 */, U64_C(0x526c0773749abe6e) /* 333 */, + U64_C(0x735ae5f9d09f734b) /* 334 */, U64_C(0x493fc7cc8a558ba8) /* 335 */, + U64_C(0xb0b9c1533041ab45) /* 336 */, U64_C(0x321958ba470a59bd) /* 337 */, + U64_C(0x852db00b5f46c393) /* 338 */, U64_C(0x91209b2bd336b0e5) /* 339 */, + U64_C(0x6e604f7d659ef19f) /* 340 */, U64_C(0xb99a8ae2782ccb24) /* 341 */, + U64_C(0xccf52ab6c814c4c7) /* 342 */, U64_C(0x4727d9afbe11727b) /* 343 */, + U64_C(0x7e950d0c0121b34d) /* 344 */, U64_C(0x756f435670ad471f) /* 345 */, + U64_C(0xf5add442615a6849) /* 346 */, U64_C(0x4e87e09980b9957a) /* 347 */, + U64_C(0x2acfa1df50aee355) /* 348 */, U64_C(0xd898263afd2fd556) /* 349 */, + U64_C(0xc8f4924dd80c8fd6) /* 350 */, U64_C(0xcf99ca3d754a173a) /* 351 */, + U64_C(0xfe477bacaf91bf3c) /* 352 */, U64_C(0xed5371f6d690c12d) /* 353 */, + U64_C(0x831a5c285e687094) /* 354 */, U64_C(0xc5d3c90a3708a0a4) /* 355 */, + U64_C(0x0f7f903717d06580) /* 356 */, U64_C(0x19f9bb13b8fdf27f) /* 357 */, + U64_C(0xb1bd6f1b4d502843) /* 358 */, U64_C(0x1c761ba38fff4012) /* 359 */, + U64_C(0x0d1530c4e2e21f3b) /* 360 */, U64_C(0x8943ce69a7372c8a) /* 361 */, + U64_C(0xe5184e11feb5ce66) /* 362 */, U64_C(0x618bdb80bd736621) /* 363 */, + U64_C(0x7d29bad68b574d0b) /* 364 */, U64_C(0x81bb613e25e6fe5b) /* 365 */, + U64_C(0x071c9c10bc07913f) /* 366 */, U64_C(0xc7beeb7909ac2d97) /* 367 */, + U64_C(0xc3e58d353bc5d757) /* 368 */, U64_C(0xeb017892f38f61e8) /* 369 */, + U64_C(0xd4effb9c9b1cc21a) /* 370 */, U64_C(0x99727d26f494f7ab) /* 371 */, + U64_C(0xa3e063a2956b3e03) /* 372 */, U64_C(0x9d4a8b9a4aa09c30) /* 373 */, + U64_C(0x3f6ab7d500090fb4) /* 374 */, U64_C(0x9cc0f2a057268ac0) /* 375 */, + U64_C(0x3dee9d2dedbf42d1) /* 376 */, U64_C(0x330f49c87960a972) /* 377 */, + U64_C(0xc6b2720287421b41) /* 378 */, U64_C(0x0ac59ec07c00369c) /* 379 */, + U64_C(0xef4eac49cb353425) /* 380 */, U64_C(0xf450244eef0129d8) /* 381 */, + U64_C(0x8acc46e5caf4deb6) /* 382 */, U64_C(0x2ffeab63989263f7) /* 383 */, + U64_C(0x8f7cb9fe5d7a4578) /* 384 */, U64_C(0x5bd8f7644e634635) /* 385 */, + U64_C(0x427a7315bf2dc900) /* 386 */, U64_C(0x17d0c4aa2125261c) /* 387 */, + U64_C(0x3992486c93518e50) /* 388 */, U64_C(0xb4cbfee0a2d7d4c3) /* 389 */, + U64_C(0x7c75d6202c5ddd8d) /* 390 */, U64_C(0xdbc295d8e35b6c61) /* 391 */, + U64_C(0x60b369d302032b19) /* 392 */, U64_C(0xce42685fdce44132) /* 393 */, + U64_C(0x06f3ddb9ddf65610) /* 394 */, U64_C(0x8ea4d21db5e148f0) /* 395 */, + U64_C(0x20b0fce62fcd496f) /* 396 */, U64_C(0x2c1b912358b0ee31) /* 397 */, + U64_C(0xb28317b818f5a308) /* 398 */, U64_C(0xa89c1e189ca6d2cf) /* 399 */, + U64_C(0x0c6b18576aaadbc8) /* 400 */, U64_C(0xb65deaa91299fae3) /* 401 */, + U64_C(0xfb2b794b7f1027e7) /* 402 */, U64_C(0x04e4317f443b5beb) /* 403 */, + U64_C(0x4b852d325939d0a6) /* 404 */, U64_C(0xd5ae6beefb207ffc) /* 405 */, + U64_C(0x309682b281c7d374) /* 406 */, U64_C(0xbae309a194c3b475) /* 407 */, + U64_C(0x8cc3f97b13b49f05) /* 408 */, U64_C(0x98a9422ff8293967) /* 409 */, + U64_C(0x244b16b01076ff7c) /* 410 */, U64_C(0xf8bf571c663d67ee) /* 411 */, + U64_C(0x1f0d6758eee30da1) /* 412 */, U64_C(0xc9b611d97adeb9b7) /* 413 */, + U64_C(0xb7afd5887b6c57a2) /* 414 */, U64_C(0x6290ae846b984fe1) /* 415 */, + U64_C(0x94df4cdeacc1a5fd) /* 416 */, U64_C(0x058a5bd1c5483aff) /* 417 */, + U64_C(0x63166cc142ba3c37) /* 418 */, U64_C(0x8db8526eb2f76f40) /* 419 */, + U64_C(0xe10880036f0d6d4e) /* 420 */, U64_C(0x9e0523c9971d311d) /* 421 */, + U64_C(0x45ec2824cc7cd691) /* 422 */, U64_C(0x575b8359e62382c9) /* 423 */, + U64_C(0xfa9e400dc4889995) /* 424 */, U64_C(0xd1823ecb45721568) /* 425 */, + U64_C(0xdafd983b8206082f) /* 426 */, U64_C(0xaa7d29082386a8cb) /* 427 */, + U64_C(0x269fcd4403b87588) /* 428 */, U64_C(0x1b91f5f728bdd1e0) /* 429 */, + U64_C(0xe4669f39040201f6) /* 430 */, U64_C(0x7a1d7c218cf04ade) /* 431 */, + U64_C(0x65623c29d79ce5ce) /* 432 */, U64_C(0x2368449096c00bb1) /* 433 */, + U64_C(0xab9bf1879da503ba) /* 434 */, U64_C(0xbc23ecb1a458058e) /* 435 */, + U64_C(0x9a58df01bb401ecc) /* 436 */, U64_C(0xa070e868a85f143d) /* 437 */, + U64_C(0x4ff188307df2239e) /* 438 */, U64_C(0x14d565b41a641183) /* 439 */, + U64_C(0xee13337452701602) /* 440 */, U64_C(0x950e3dcf3f285e09) /* 441 */, + U64_C(0x59930254b9c80953) /* 442 */, U64_C(0x3bf299408930da6d) /* 443 */, + U64_C(0xa955943f53691387) /* 444 */, U64_C(0xa15edecaa9cb8784) /* 445 */, + U64_C(0x29142127352be9a0) /* 446 */, U64_C(0x76f0371fff4e7afb) /* 447 */, + U64_C(0x0239f450274f2228) /* 448 */, U64_C(0xbb073af01d5e868b) /* 449 */, + U64_C(0xbfc80571c10e96c1) /* 450 */, U64_C(0xd267088568222e23) /* 451 */, + U64_C(0x9671a3d48e80b5b0) /* 452 */, U64_C(0x55b5d38ae193bb81) /* 453 */, + U64_C(0x693ae2d0a18b04b8) /* 454 */, U64_C(0x5c48b4ecadd5335f) /* 455 */, + U64_C(0xfd743b194916a1ca) /* 456 */, U64_C(0x2577018134be98c4) /* 457 */, + U64_C(0xe77987e83c54a4ad) /* 458 */, U64_C(0x28e11014da33e1b9) /* 459 */, + U64_C(0x270cc59e226aa213) /* 460 */, U64_C(0x71495f756d1a5f60) /* 461 */, + U64_C(0x9be853fb60afef77) /* 462 */, U64_C(0xadc786a7f7443dbf) /* 463 */, + U64_C(0x0904456173b29a82) /* 464 */, U64_C(0x58bc7a66c232bd5e) /* 465 */, + U64_C(0xf306558c673ac8b2) /* 466 */, U64_C(0x41f639c6b6c9772a) /* 467 */, + U64_C(0x216defe99fda35da) /* 468 */, U64_C(0x11640cc71c7be615) /* 469 */, + U64_C(0x93c43694565c5527) /* 470 */, U64_C(0xea038e6246777839) /* 471 */, + U64_C(0xf9abf3ce5a3e2469) /* 472 */, U64_C(0x741e768d0fd312d2) /* 473 */, + U64_C(0x0144b883ced652c6) /* 474 */, U64_C(0xc20b5a5ba33f8552) /* 475 */, + U64_C(0x1ae69633c3435a9d) /* 476 */, U64_C(0x97a28ca4088cfdec) /* 477 */, + U64_C(0x8824a43c1e96f420) /* 478 */, U64_C(0x37612fa66eeea746) /* 479 */, + U64_C(0x6b4cb165f9cf0e5a) /* 480 */, U64_C(0x43aa1c06a0abfb4a) /* 481 */, + U64_C(0x7f4dc26ff162796b) /* 482 */, U64_C(0x6cbacc8e54ed9b0f) /* 483 */, + U64_C(0xa6b7ffefd2bb253e) /* 484 */, U64_C(0x2e25bc95b0a29d4f) /* 485 */, + U64_C(0x86d6a58bdef1388c) /* 486 */, U64_C(0xded74ac576b6f054) /* 487 */, + U64_C(0x8030bdbc2b45805d) /* 488 */, U64_C(0x3c81af70e94d9289) /* 489 */, + U64_C(0x3eff6dda9e3100db) /* 490 */, U64_C(0xb38dc39fdfcc8847) /* 491 */, + U64_C(0x123885528d17b87e) /* 492 */, U64_C(0xf2da0ed240b1b642) /* 493 */, + U64_C(0x44cefadcd54bf9a9) /* 494 */, U64_C(0x1312200e433c7ee6) /* 495 */, + U64_C(0x9ffcc84f3a78c748) /* 496 */, U64_C(0xf0cd1f72248576bb) /* 497 */, + U64_C(0xec6974053638cfe4) /* 498 */, U64_C(0x2ba7b67c0cec4e4c) /* 499 */, + U64_C(0xac2f4df3e5ce32ed) /* 500 */, U64_C(0xcb33d14326ea4c11) /* 501 */, + U64_C(0xa4e9044cc77e58bc) /* 502 */, U64_C(0x5f513293d934fcef) /* 503 */, + U64_C(0x5dc9645506e55444) /* 504 */, U64_C(0x50de418f317de40a) /* 505 */, + U64_C(0x388cb31a69dde259) /* 506 */, U64_C(0x2db4a83455820a86) /* 507 */, + U64_C(0x9010a91e84711ae9) /* 508 */, U64_C(0x4df7f0b7b1498371) /* 509 */, + U64_C(0xd62a2eabc0977179) /* 510 */, U64_C(0x22fac097aa8d5c0e) /* 511 */ +}; +static u64 sbox3[256] = { + U64_C(0xf49fcc2ff1daf39b) /* 512 */, U64_C(0x487fd5c66ff29281) /* 513 */, + U64_C(0xe8a30667fcdca83f) /* 514 */, U64_C(0x2c9b4be3d2fcce63) /* 515 */, + U64_C(0xda3ff74b93fbbbc2) /* 516 */, U64_C(0x2fa165d2fe70ba66) /* 517 */, + U64_C(0xa103e279970e93d4) /* 518 */, U64_C(0xbecdec77b0e45e71) /* 519 */, + U64_C(0xcfb41e723985e497) /* 520 */, U64_C(0xb70aaa025ef75017) /* 521 */, + U64_C(0xd42309f03840b8e0) /* 522 */, U64_C(0x8efc1ad035898579) /* 523 */, + U64_C(0x96c6920be2b2abc5) /* 524 */, U64_C(0x66af4163375a9172) /* 525 */, + U64_C(0x2174abdcca7127fb) /* 526 */, U64_C(0xb33ccea64a72ff41) /* 527 */, + U64_C(0xf04a4933083066a5) /* 528 */, U64_C(0x8d970acdd7289af5) /* 529 */, + U64_C(0x8f96e8e031c8c25e) /* 530 */, U64_C(0xf3fec02276875d47) /* 531 */, + U64_C(0xec7bf310056190dd) /* 532 */, U64_C(0xf5adb0aebb0f1491) /* 533 */, + U64_C(0x9b50f8850fd58892) /* 534 */, U64_C(0x4975488358b74de8) /* 535 */, + U64_C(0xa3354ff691531c61) /* 536 */, U64_C(0x0702bbe481d2c6ee) /* 537 */, + U64_C(0x89fb24057deded98) /* 538 */, U64_C(0xac3075138596e902) /* 539 */, + U64_C(0x1d2d3580172772ed) /* 540 */, U64_C(0xeb738fc28e6bc30d) /* 541 */, + U64_C(0x5854ef8f63044326) /* 542 */, U64_C(0x9e5c52325add3bbe) /* 543 */, + U64_C(0x90aa53cf325c4623) /* 544 */, U64_C(0xc1d24d51349dd067) /* 545 */, + U64_C(0x2051cfeea69ea624) /* 546 */, U64_C(0x13220f0a862e7e4f) /* 547 */, + U64_C(0xce39399404e04864) /* 548 */, U64_C(0xd9c42ca47086fcb7) /* 549 */, + U64_C(0x685ad2238a03e7cc) /* 550 */, U64_C(0x066484b2ab2ff1db) /* 551 */, + U64_C(0xfe9d5d70efbf79ec) /* 552 */, U64_C(0x5b13b9dd9c481854) /* 553 */, + U64_C(0x15f0d475ed1509ad) /* 554 */, U64_C(0x0bebcd060ec79851) /* 555 */, + U64_C(0xd58c6791183ab7f8) /* 556 */, U64_C(0xd1187c5052f3eee4) /* 557 */, + U64_C(0xc95d1192e54e82ff) /* 558 */, U64_C(0x86eea14cb9ac6ca2) /* 559 */, + U64_C(0x3485beb153677d5d) /* 560 */, U64_C(0xdd191d781f8c492a) /* 561 */, + U64_C(0xf60866baa784ebf9) /* 562 */, U64_C(0x518f643ba2d08c74) /* 563 */, + U64_C(0x8852e956e1087c22) /* 564 */, U64_C(0xa768cb8dc410ae8d) /* 565 */, + U64_C(0x38047726bfec8e1a) /* 566 */, U64_C(0xa67738b4cd3b45aa) /* 567 */, + U64_C(0xad16691cec0dde19) /* 568 */, U64_C(0xc6d4319380462e07) /* 569 */, + U64_C(0xc5a5876d0ba61938) /* 570 */, U64_C(0x16b9fa1fa58fd840) /* 571 */, + U64_C(0x188ab1173ca74f18) /* 572 */, U64_C(0xabda2f98c99c021f) /* 573 */, + U64_C(0x3e0580ab134ae816) /* 574 */, U64_C(0x5f3b05b773645abb) /* 575 */, + U64_C(0x2501a2be5575f2f6) /* 576 */, U64_C(0x1b2f74004e7e8ba9) /* 577 */, + U64_C(0x1cd7580371e8d953) /* 578 */, U64_C(0x7f6ed89562764e30) /* 579 */, + U64_C(0xb15926ff596f003d) /* 580 */, U64_C(0x9f65293da8c5d6b9) /* 581 */, + U64_C(0x6ecef04dd690f84c) /* 582 */, U64_C(0x4782275fff33af88) /* 583 */, + U64_C(0xe41433083f820801) /* 584 */, U64_C(0xfd0dfe409a1af9b5) /* 585 */, + U64_C(0x4325a3342cdb396b) /* 586 */, U64_C(0x8ae77e62b301b252) /* 587 */, + U64_C(0xc36f9e9f6655615a) /* 588 */, U64_C(0x85455a2d92d32c09) /* 589 */, + U64_C(0xf2c7dea949477485) /* 590 */, U64_C(0x63cfb4c133a39eba) /* 591 */, + U64_C(0x83b040cc6ebc5462) /* 592 */, U64_C(0x3b9454c8fdb326b0) /* 593 */, + U64_C(0x56f56a9e87ffd78c) /* 594 */, U64_C(0x2dc2940d99f42bc6) /* 595 */, + U64_C(0x98f7df096b096e2d) /* 596 */, U64_C(0x19a6e01e3ad852bf) /* 597 */, + U64_C(0x42a99ccbdbd4b40b) /* 598 */, U64_C(0xa59998af45e9c559) /* 599 */, + U64_C(0x366295e807d93186) /* 600 */, U64_C(0x6b48181bfaa1f773) /* 601 */, + U64_C(0x1fec57e2157a0a1d) /* 602 */, U64_C(0x4667446af6201ad5) /* 603 */, + U64_C(0xe615ebcacfb0f075) /* 604 */, U64_C(0xb8f31f4f68290778) /* 605 */, + U64_C(0x22713ed6ce22d11e) /* 606 */, U64_C(0x3057c1a72ec3c93b) /* 607 */, + U64_C(0xcb46acc37c3f1f2f) /* 608 */, U64_C(0xdbb893fd02aaf50e) /* 609 */, + U64_C(0x331fd92e600b9fcf) /* 610 */, U64_C(0xa498f96148ea3ad6) /* 611 */, + U64_C(0xa8d8426e8b6a83ea) /* 612 */, U64_C(0xa089b274b7735cdc) /* 613 */, + U64_C(0x87f6b3731e524a11) /* 614 */, U64_C(0x118808e5cbc96749) /* 615 */, + U64_C(0x9906e4c7b19bd394) /* 616 */, U64_C(0xafed7f7e9b24a20c) /* 617 */, + U64_C(0x6509eadeeb3644a7) /* 618 */, U64_C(0x6c1ef1d3e8ef0ede) /* 619 */, + U64_C(0xb9c97d43e9798fb4) /* 620 */, U64_C(0xa2f2d784740c28a3) /* 621 */, + U64_C(0x7b8496476197566f) /* 622 */, U64_C(0x7a5be3e6b65f069d) /* 623 */, + U64_C(0xf96330ed78be6f10) /* 624 */, U64_C(0xeee60de77a076a15) /* 625 */, + U64_C(0x2b4bee4aa08b9bd0) /* 626 */, U64_C(0x6a56a63ec7b8894e) /* 627 */, + U64_C(0x02121359ba34fef4) /* 628 */, U64_C(0x4cbf99f8283703fc) /* 629 */, + U64_C(0x398071350caf30c8) /* 630 */, U64_C(0xd0a77a89f017687a) /* 631 */, + U64_C(0xf1c1a9eb9e423569) /* 632 */, U64_C(0x8c7976282dee8199) /* 633 */, + U64_C(0x5d1737a5dd1f7abd) /* 634 */, U64_C(0x4f53433c09a9fa80) /* 635 */, + U64_C(0xfa8b0c53df7ca1d9) /* 636 */, U64_C(0x3fd9dcbc886ccb77) /* 637 */, + U64_C(0xc040917ca91b4720) /* 638 */, U64_C(0x7dd00142f9d1dcdf) /* 639 */, + U64_C(0x8476fc1d4f387b58) /* 640 */, U64_C(0x23f8e7c5f3316503) /* 641 */, + U64_C(0x032a2244e7e37339) /* 642 */, U64_C(0x5c87a5d750f5a74b) /* 643 */, + U64_C(0x082b4cc43698992e) /* 644 */, U64_C(0xdf917becb858f63c) /* 645 */, + U64_C(0x3270b8fc5bf86dda) /* 646 */, U64_C(0x10ae72bb29b5dd76) /* 647 */, + U64_C(0x576ac94e7700362b) /* 648 */, U64_C(0x1ad112dac61efb8f) /* 649 */, + U64_C(0x691bc30ec5faa427) /* 650 */, U64_C(0xff246311cc327143) /* 651 */, + U64_C(0x3142368e30e53206) /* 652 */, U64_C(0x71380e31e02ca396) /* 653 */, + U64_C(0x958d5c960aad76f1) /* 654 */, U64_C(0xf8d6f430c16da536) /* 655 */, + U64_C(0xc8ffd13f1be7e1d2) /* 656 */, U64_C(0x7578ae66004ddbe1) /* 657 */, + U64_C(0x05833f01067be646) /* 658 */, U64_C(0xbb34b5ad3bfe586d) /* 659 */, + U64_C(0x095f34c9a12b97f0) /* 660 */, U64_C(0x247ab64525d60ca8) /* 661 */, + U64_C(0xdcdbc6f3017477d1) /* 662 */, U64_C(0x4a2e14d4decad24d) /* 663 */, + U64_C(0xbdb5e6d9be0a1eeb) /* 664 */, U64_C(0x2a7e70f7794301ab) /* 665 */, + U64_C(0xdef42d8a270540fd) /* 666 */, U64_C(0x01078ec0a34c22c1) /* 667 */, + U64_C(0xe5de511af4c16387) /* 668 */, U64_C(0x7ebb3a52bd9a330a) /* 669 */, + U64_C(0x77697857aa7d6435) /* 670 */, U64_C(0x004e831603ae4c32) /* 671 */, + U64_C(0xe7a21020ad78e312) /* 672 */, U64_C(0x9d41a70c6ab420f2) /* 673 */, + U64_C(0x28e06c18ea1141e6) /* 674 */, U64_C(0xd2b28cbd984f6b28) /* 675 */, + U64_C(0x26b75f6c446e9d83) /* 676 */, U64_C(0xba47568c4d418d7f) /* 677 */, + U64_C(0xd80badbfe6183d8e) /* 678 */, U64_C(0x0e206d7f5f166044) /* 679 */, + U64_C(0xe258a43911cbca3e) /* 680 */, U64_C(0x723a1746b21dc0bc) /* 681 */, + U64_C(0xc7caa854f5d7cdd3) /* 682 */, U64_C(0x7cac32883d261d9c) /* 683 */, + U64_C(0x7690c26423ba942c) /* 684 */, U64_C(0x17e55524478042b8) /* 685 */, + U64_C(0xe0be477656a2389f) /* 686 */, U64_C(0x4d289b5e67ab2da0) /* 687 */, + U64_C(0x44862b9c8fbbfd31) /* 688 */, U64_C(0xb47cc8049d141365) /* 689 */, + U64_C(0x822c1b362b91c793) /* 690 */, U64_C(0x4eb14655fb13dfd8) /* 691 */, + U64_C(0x1ecbba0714e2a97b) /* 692 */, U64_C(0x6143459d5cde5f14) /* 693 */, + U64_C(0x53a8fbf1d5f0ac89) /* 694 */, U64_C(0x97ea04d81c5e5b00) /* 695 */, + U64_C(0x622181a8d4fdb3f3) /* 696 */, U64_C(0xe9bcd341572a1208) /* 697 */, + U64_C(0x1411258643cce58a) /* 698 */, U64_C(0x9144c5fea4c6e0a4) /* 699 */, + U64_C(0x0d33d06565cf620f) /* 700 */, U64_C(0x54a48d489f219ca1) /* 701 */, + U64_C(0xc43e5eac6d63c821) /* 702 */, U64_C(0xa9728b3a72770daf) /* 703 */, + U64_C(0xd7934e7b20df87ef) /* 704 */, U64_C(0xe35503b61a3e86e5) /* 705 */, + U64_C(0xcae321fbc819d504) /* 706 */, U64_C(0x129a50b3ac60bfa6) /* 707 */, + U64_C(0xcd5e68ea7e9fb6c3) /* 708 */, U64_C(0xb01c90199483b1c7) /* 709 */, + U64_C(0x3de93cd5c295376c) /* 710 */, U64_C(0xaed52edf2ab9ad13) /* 711 */, + U64_C(0x2e60f512c0a07884) /* 712 */, U64_C(0xbc3d86a3e36210c9) /* 713 */, + U64_C(0x35269d9b163951ce) /* 714 */, U64_C(0x0c7d6e2ad0cdb5fa) /* 715 */, + U64_C(0x59e86297d87f5733) /* 716 */, U64_C(0x298ef221898db0e7) /* 717 */, + U64_C(0x55000029d1a5aa7e) /* 718 */, U64_C(0x8bc08ae1b5061b45) /* 719 */, + U64_C(0xc2c31c2b6c92703a) /* 720 */, U64_C(0x94cc596baf25ef42) /* 721 */, + U64_C(0x0a1d73db22540456) /* 722 */, U64_C(0x04b6a0f9d9c4179a) /* 723 */, + U64_C(0xeffdafa2ae3d3c60) /* 724 */, U64_C(0xf7c8075bb49496c4) /* 725 */, + U64_C(0x9cc5c7141d1cd4e3) /* 726 */, U64_C(0x78bd1638218e5534) /* 727 */, + U64_C(0xb2f11568f850246a) /* 728 */, U64_C(0xedfabcfa9502bc29) /* 729 */, + U64_C(0x796ce5f2da23051b) /* 730 */, U64_C(0xaae128b0dc93537c) /* 731 */, + U64_C(0x3a493da0ee4b29ae) /* 732 */, U64_C(0xb5df6b2c416895d7) /* 733 */, + U64_C(0xfcabbd25122d7f37) /* 734 */, U64_C(0x70810b58105dc4b1) /* 735 */, + U64_C(0xe10fdd37f7882a90) /* 736 */, U64_C(0x524dcab5518a3f5c) /* 737 */, + U64_C(0x3c9e85878451255b) /* 738 */, U64_C(0x4029828119bd34e2) /* 739 */, + U64_C(0x74a05b6f5d3ceccb) /* 740 */, U64_C(0xb610021542e13eca) /* 741 */, + U64_C(0x0ff979d12f59e2ac) /* 742 */, U64_C(0x6037da27e4f9cc50) /* 743 */, + U64_C(0x5e92975a0df1847d) /* 744 */, U64_C(0xd66de190d3e623fe) /* 745 */, + U64_C(0x5032d6b87b568048) /* 746 */, U64_C(0x9a36b7ce8235216e) /* 747 */, + U64_C(0x80272a7a24f64b4a) /* 748 */, U64_C(0x93efed8b8c6916f7) /* 749 */, + U64_C(0x37ddbff44cce1555) /* 750 */, U64_C(0x4b95db5d4b99bd25) /* 751 */, + U64_C(0x92d3fda169812fc0) /* 752 */, U64_C(0xfb1a4a9a90660bb6) /* 753 */, + U64_C(0x730c196946a4b9b2) /* 754 */, U64_C(0x81e289aa7f49da68) /* 755 */, + U64_C(0x64669a0f83b1a05f) /* 756 */, U64_C(0x27b3ff7d9644f48b) /* 757 */, + U64_C(0xcc6b615c8db675b3) /* 758 */, U64_C(0x674f20b9bcebbe95) /* 759 */, + U64_C(0x6f31238275655982) /* 760 */, U64_C(0x5ae488713e45cf05) /* 761 */, + U64_C(0xbf619f9954c21157) /* 762 */, U64_C(0xeabac46040a8eae9) /* 763 */, + U64_C(0x454c6fe9f2c0c1cd) /* 764 */, U64_C(0x419cf6496412691c) /* 765 */, + U64_C(0xd3dc3bef265b0f70) /* 766 */, U64_C(0x6d0e60f5c3578a9e) /* 767 */ +}; +static u64 sbox4[256] = { + U64_C(0x5b0e608526323c55) /* 768 */, U64_C(0x1a46c1a9fa1b59f5) /* 769 */, + U64_C(0xa9e245a17c4c8ffa) /* 770 */, U64_C(0x65ca5159db2955d7) /* 771 */, + U64_C(0x05db0a76ce35afc2) /* 772 */, U64_C(0x81eac77ea9113d45) /* 773 */, + U64_C(0x528ef88ab6ac0a0d) /* 774 */, U64_C(0xa09ea253597be3ff) /* 775 */, + U64_C(0x430ddfb3ac48cd56) /* 776 */, U64_C(0xc4b3a67af45ce46f) /* 777 */, + U64_C(0x4ececfd8fbe2d05e) /* 778 */, U64_C(0x3ef56f10b39935f0) /* 779 */, + U64_C(0x0b22d6829cd619c6) /* 780 */, U64_C(0x17fd460a74df2069) /* 781 */, + U64_C(0x6cf8cc8e8510ed40) /* 782 */, U64_C(0xd6c824bf3a6ecaa7) /* 783 */, + U64_C(0x61243d581a817049) /* 784 */, U64_C(0x048bacb6bbc163a2) /* 785 */, + U64_C(0xd9a38ac27d44cc32) /* 786 */, U64_C(0x7fddff5baaf410ab) /* 787 */, + U64_C(0xad6d495aa804824b) /* 788 */, U64_C(0xe1a6a74f2d8c9f94) /* 789 */, + U64_C(0xd4f7851235dee8e3) /* 790 */, U64_C(0xfd4b7f886540d893) /* 791 */, + U64_C(0x247c20042aa4bfda) /* 792 */, U64_C(0x096ea1c517d1327c) /* 793 */, + U64_C(0xd56966b4361a6685) /* 794 */, U64_C(0x277da5c31221057d) /* 795 */, + U64_C(0x94d59893a43acff7) /* 796 */, U64_C(0x64f0c51ccdc02281) /* 797 */, + U64_C(0x3d33bcc4ff6189db) /* 798 */, U64_C(0xe005cb184ce66af1) /* 799 */, + U64_C(0xff5ccd1d1db99bea) /* 800 */, U64_C(0xb0b854a7fe42980f) /* 801 */, + U64_C(0x7bd46a6a718d4b9f) /* 802 */, U64_C(0xd10fa8cc22a5fd8c) /* 803 */, + U64_C(0xd31484952be4bd31) /* 804 */, U64_C(0xc7fa975fcb243847) /* 805 */, + U64_C(0x4886ed1e5846c407) /* 806 */, U64_C(0x28cddb791eb70b04) /* 807 */, + U64_C(0xc2b00be2f573417f) /* 808 */, U64_C(0x5c9590452180f877) /* 809 */, + U64_C(0x7a6bddfff370eb00) /* 810 */, U64_C(0xce509e38d6d9d6a4) /* 811 */, + U64_C(0xebeb0f00647fa702) /* 812 */, U64_C(0x1dcc06cf76606f06) /* 813 */, + U64_C(0xe4d9f28ba286ff0a) /* 814 */, U64_C(0xd85a305dc918c262) /* 815 */, + U64_C(0x475b1d8732225f54) /* 816 */, U64_C(0x2d4fb51668ccb5fe) /* 817 */, + U64_C(0xa679b9d9d72bba20) /* 818 */, U64_C(0x53841c0d912d43a5) /* 819 */, + U64_C(0x3b7eaa48bf12a4e8) /* 820 */, U64_C(0x781e0e47f22f1ddf) /* 821 */, + U64_C(0xeff20ce60ab50973) /* 822 */, U64_C(0x20d261d19dffb742) /* 823 */, + U64_C(0x16a12b03062a2e39) /* 824 */, U64_C(0x1960eb2239650495) /* 825 */, + U64_C(0x251c16fed50eb8b8) /* 826 */, U64_C(0x9ac0c330f826016e) /* 827 */, + U64_C(0xed152665953e7671) /* 828 */, U64_C(0x02d63194a6369570) /* 829 */, + U64_C(0x5074f08394b1c987) /* 830 */, U64_C(0x70ba598c90b25ce1) /* 831 */, + U64_C(0x794a15810b9742f6) /* 832 */, U64_C(0x0d5925e9fcaf8c6c) /* 833 */, + U64_C(0x3067716cd868744e) /* 834 */, U64_C(0x910ab077e8d7731b) /* 835 */, + U64_C(0x6a61bbdb5ac42f61) /* 836 */, U64_C(0x93513efbf0851567) /* 837 */, + U64_C(0xf494724b9e83e9d5) /* 838 */, U64_C(0xe887e1985c09648d) /* 839 */, + U64_C(0x34b1d3c675370cfd) /* 840 */, U64_C(0xdc35e433bc0d255d) /* 841 */, + U64_C(0xd0aab84234131be0) /* 842 */, U64_C(0x08042a50b48b7eaf) /* 843 */, + U64_C(0x9997c4ee44a3ab35) /* 844 */, U64_C(0x829a7b49201799d0) /* 845 */, + U64_C(0x263b8307b7c54441) /* 846 */, U64_C(0x752f95f4fd6a6ca6) /* 847 */, + U64_C(0x927217402c08c6e5) /* 848 */, U64_C(0x2a8ab754a795d9ee) /* 849 */, + U64_C(0xa442f7552f72943d) /* 850 */, U64_C(0x2c31334e19781208) /* 851 */, + U64_C(0x4fa98d7ceaee6291) /* 852 */, U64_C(0x55c3862f665db309) /* 853 */, + U64_C(0xbd0610175d53b1f3) /* 854 */, U64_C(0x46fe6cb840413f27) /* 855 */, + U64_C(0x3fe03792df0cfa59) /* 856 */, U64_C(0xcfe700372eb85e8f) /* 857 */, + U64_C(0xa7be29e7adbce118) /* 858 */, U64_C(0xe544ee5cde8431dd) /* 859 */, + U64_C(0x8a781b1b41f1873e) /* 860 */, U64_C(0xa5c94c78a0d2f0e7) /* 861 */, + U64_C(0x39412e2877b60728) /* 862 */, U64_C(0xa1265ef3afc9a62c) /* 863 */, + U64_C(0xbcc2770c6a2506c5) /* 864 */, U64_C(0x3ab66dd5dce1ce12) /* 865 */, + U64_C(0xe65499d04a675b37) /* 866 */, U64_C(0x7d8f523481bfd216) /* 867 */, + U64_C(0x0f6f64fcec15f389) /* 868 */, U64_C(0x74efbe618b5b13c8) /* 869 */, + U64_C(0xacdc82b714273e1d) /* 870 */, U64_C(0xdd40bfe003199d17) /* 871 */, + U64_C(0x37e99257e7e061f8) /* 872 */, U64_C(0xfa52626904775aaa) /* 873 */, + U64_C(0x8bbbf63a463d56f9) /* 874 */, U64_C(0xf0013f1543a26e64) /* 875 */, + U64_C(0xa8307e9f879ec898) /* 876 */, U64_C(0xcc4c27a4150177cc) /* 877 */, + U64_C(0x1b432f2cca1d3348) /* 878 */, U64_C(0xde1d1f8f9f6fa013) /* 879 */, + U64_C(0x606602a047a7ddd6) /* 880 */, U64_C(0xd237ab64cc1cb2c7) /* 881 */, + U64_C(0x9b938e7225fcd1d3) /* 882 */, U64_C(0xec4e03708e0ff476) /* 883 */, + U64_C(0xfeb2fbda3d03c12d) /* 884 */, U64_C(0xae0bced2ee43889a) /* 885 */, + U64_C(0x22cb8923ebfb4f43) /* 886 */, U64_C(0x69360d013cf7396d) /* 887 */, + U64_C(0x855e3602d2d4e022) /* 888 */, U64_C(0x073805bad01f784c) /* 889 */, + U64_C(0x33e17a133852f546) /* 890 */, U64_C(0xdf4874058ac7b638) /* 891 */, + U64_C(0xba92b29c678aa14a) /* 892 */, U64_C(0x0ce89fc76cfaadcd) /* 893 */, + U64_C(0x5f9d4e0908339e34) /* 894 */, U64_C(0xf1afe9291f5923b9) /* 895 */, + U64_C(0x6e3480f60f4a265f) /* 896 */, U64_C(0xeebf3a2ab29b841c) /* 897 */, + U64_C(0xe21938a88f91b4ad) /* 898 */, U64_C(0x57dfeff845c6d3c3) /* 899 */, + U64_C(0x2f006b0bf62caaf2) /* 900 */, U64_C(0x62f479ef6f75ee78) /* 901 */, + U64_C(0x11a55ad41c8916a9) /* 902 */, U64_C(0xf229d29084fed453) /* 903 */, + U64_C(0x42f1c27b16b000e6) /* 904 */, U64_C(0x2b1f76749823c074) /* 905 */, + U64_C(0x4b76eca3c2745360) /* 906 */, U64_C(0x8c98f463b91691bd) /* 907 */, + U64_C(0x14bcc93cf1ade66a) /* 908 */, U64_C(0x8885213e6d458397) /* 909 */, + U64_C(0x8e177df0274d4711) /* 910 */, U64_C(0xb49b73b5503f2951) /* 911 */, + U64_C(0x10168168c3f96b6b) /* 912 */, U64_C(0x0e3d963b63cab0ae) /* 913 */, + U64_C(0x8dfc4b5655a1db14) /* 914 */, U64_C(0xf789f1356e14de5c) /* 915 */, + U64_C(0x683e68af4e51dac1) /* 916 */, U64_C(0xc9a84f9d8d4b0fd9) /* 917 */, + U64_C(0x3691e03f52a0f9d1) /* 918 */, U64_C(0x5ed86e46e1878e80) /* 919 */, + U64_C(0x3c711a0e99d07150) /* 920 */, U64_C(0x5a0865b20c4e9310) /* 921 */, + U64_C(0x56fbfc1fe4f0682e) /* 922 */, U64_C(0xea8d5de3105edf9b) /* 923 */, + U64_C(0x71abfdb12379187a) /* 924 */, U64_C(0x2eb99de1bee77b9c) /* 925 */, + U64_C(0x21ecc0ea33cf4523) /* 926 */, U64_C(0x59a4d7521805c7a1) /* 927 */, + U64_C(0x3896f5eb56ae7c72) /* 928 */, U64_C(0xaa638f3db18f75dc) /* 929 */, + U64_C(0x9f39358dabe9808e) /* 930 */, U64_C(0xb7defa91c00b72ac) /* 931 */, + U64_C(0x6b5541fd62492d92) /* 932 */, U64_C(0x6dc6dee8f92e4d5b) /* 933 */, + U64_C(0x353f57abc4beea7e) /* 934 */, U64_C(0x735769d6da5690ce) /* 935 */, + U64_C(0x0a234aa642391484) /* 936 */, U64_C(0xf6f9508028f80d9d) /* 937 */, + U64_C(0xb8e319a27ab3f215) /* 938 */, U64_C(0x31ad9c1151341a4d) /* 939 */, + U64_C(0x773c22a57bef5805) /* 940 */, U64_C(0x45c7561a07968633) /* 941 */, + U64_C(0xf913da9e249dbe36) /* 942 */, U64_C(0xda652d9b78a64c68) /* 943 */, + U64_C(0x4c27a97f3bc334ef) /* 944 */, U64_C(0x76621220e66b17f4) /* 945 */, + U64_C(0x967743899acd7d0b) /* 946 */, U64_C(0xf3ee5bcae0ed6782) /* 947 */, + U64_C(0x409f753600c879fc) /* 948 */, U64_C(0x06d09a39b5926db6) /* 949 */, + U64_C(0x6f83aeb0317ac588) /* 950 */, U64_C(0x01e6ca4a86381f21) /* 951 */, + U64_C(0x66ff3462d19f3025) /* 952 */, U64_C(0x72207c24ddfd3bfb) /* 953 */, + U64_C(0x4af6b6d3e2ece2eb) /* 954 */, U64_C(0x9c994dbec7ea08de) /* 955 */, + U64_C(0x49ace597b09a8bc4) /* 956 */, U64_C(0xb38c4766cf0797ba) /* 957 */, + U64_C(0x131b9373c57c2a75) /* 958 */, U64_C(0xb1822cce61931e58) /* 959 */, + U64_C(0x9d7555b909ba1c0c) /* 960 */, U64_C(0x127fafdd937d11d2) /* 961 */, + U64_C(0x29da3badc66d92e4) /* 962 */, U64_C(0xa2c1d57154c2ecbc) /* 963 */, + U64_C(0x58c5134d82f6fe24) /* 964 */, U64_C(0x1c3ae3515b62274f) /* 965 */, + U64_C(0xe907c82e01cb8126) /* 966 */, U64_C(0xf8ed091913e37fcb) /* 967 */, + U64_C(0x3249d8f9c80046c9) /* 968 */, U64_C(0x80cf9bede388fb63) /* 969 */, + U64_C(0x1881539a116cf19e) /* 970 */, U64_C(0x5103f3f76bd52457) /* 971 */, + U64_C(0x15b7e6f5ae47f7a8) /* 972 */, U64_C(0xdbd7c6ded47e9ccf) /* 973 */, + U64_C(0x44e55c410228bb1a) /* 974 */, U64_C(0xb647d4255edb4e99) /* 975 */, + U64_C(0x5d11882bb8aafc30) /* 976 */, U64_C(0xf5098bbb29d3212a) /* 977 */, + U64_C(0x8fb5ea14e90296b3) /* 978 */, U64_C(0x677b942157dd025a) /* 979 */, + U64_C(0xfb58e7c0a390acb5) /* 980 */, U64_C(0x89d3674c83bd4a01) /* 981 */, + U64_C(0x9e2da4df4bf3b93b) /* 982 */, U64_C(0xfcc41e328cab4829) /* 983 */, + U64_C(0x03f38c96ba582c52) /* 984 */, U64_C(0xcad1bdbd7fd85db2) /* 985 */, + U64_C(0xbbb442c16082ae83) /* 986 */, U64_C(0xb95fe86ba5da9ab0) /* 987 */, + U64_C(0xb22e04673771a93f) /* 988 */, U64_C(0x845358c9493152d8) /* 989 */, + U64_C(0xbe2a488697b4541e) /* 990 */, U64_C(0x95a2dc2dd38e6966) /* 991 */, + U64_C(0xc02c11ac923c852b) /* 992 */, U64_C(0x2388b1990df2a87b) /* 993 */, + U64_C(0x7c8008fa1b4f37be) /* 994 */, U64_C(0x1f70d0c84d54e503) /* 995 */, + U64_C(0x5490adec7ece57d4) /* 996 */, U64_C(0x002b3c27d9063a3a) /* 997 */, + U64_C(0x7eaea3848030a2bf) /* 998 */, U64_C(0xc602326ded2003c0) /* 999 */, + U64_C(0x83a7287d69a94086) /* 1000 */, U64_C(0xc57a5fcb30f57a8a) /* 1001 */, + U64_C(0xb56844e479ebe779) /* 1002 */, U64_C(0xa373b40f05dcbce9) /* 1003 */, + U64_C(0xd71a786e88570ee2) /* 1004 */, U64_C(0x879cbacdbde8f6a0) /* 1005 */, + U64_C(0x976ad1bcc164a32f) /* 1006 */, U64_C(0xab21e25e9666d78b) /* 1007 */, + U64_C(0x901063aae5e5c33c) /* 1008 */, U64_C(0x9818b34448698d90) /* 1009 */, + U64_C(0xe36487ae3e1e8abb) /* 1010 */, U64_C(0xafbdf931893bdcb4) /* 1011 */, + U64_C(0x6345a0dc5fbbd519) /* 1012 */, U64_C(0x8628fe269b9465ca) /* 1013 */, + U64_C(0x1e5d01603f9c51ec) /* 1014 */, U64_C(0x4de44006a15049b7) /* 1015 */, + U64_C(0xbf6c70e5f776cbb1) /* 1016 */, U64_C(0x411218f2ef552bed) /* 1017 */, + U64_C(0xcb0c0708705a36a3) /* 1018 */, U64_C(0xe74d14754f986044) /* 1019 */, + U64_C(0xcd56d9430ea8280e) /* 1020 */, U64_C(0xc12591d7535f5065) /* 1021 */, + U64_C(0xc83223f1720aef96) /* 1022 */, U64_C(0xc3a0396f7363a51f) /* 1023 */ +}; + +static void +tiger_init( void *context ) +{ + TIGER_CONTEXT *hd = context; + + hd->a = 0x0123456789abcdefLL; + hd->b = 0xfedcba9876543210LL; + hd->c = 0xf096a5b4c3b2e187LL; + hd->nblocks = 0; + hd->count = 0; +} + +static void +tiger_round( u64 *ra, u64 *rb, u64 *rc, u64 x, int mul ) +{ + u64 a = *ra; + u64 b = *rb; + u64 c = *rc; + + c ^= x; + a -= ( sbox1[ c & 0xff ] ^ sbox2[ (c >> 16) & 0xff ] + ^ sbox3[ (c >> 32) & 0xff ] ^ sbox4[ (c >> 48) & 0xff ]); + b += ( sbox4[ (c >> 8) & 0xff ] ^ sbox3[ (c >> 24) & 0xff ] + ^ sbox2[ (c >> 40) & 0xff ] ^ sbox1[ (c >> 56) & 0xff ]); + b *= mul; + + *ra = a; + *rb = b; + *rc = c; +} + + +static void +pass( u64 *ra, u64 *rb, u64 *rc, u64 *x, int mul ) +{ + u64 a = *ra; + u64 b = *rb; + u64 c = *rc; + + tiger_round( &a, &b, &c, x[0], mul ); + tiger_round( &b, &c, &a, x[1], mul ); + tiger_round( &c, &a, &b, x[2], mul ); + tiger_round( &a, &b, &c, x[3], mul ); + tiger_round( &b, &c, &a, x[4], mul ); + tiger_round( &c, &a, &b, x[5], mul ); + tiger_round( &a, &b, &c, x[6], mul ); + tiger_round( &b, &c, &a, x[7], mul ); + + *ra = a; + *rb = b; + *rc = c; +} + + +static void +key_schedule( u64 *x ) +{ + x[0] -= x[7] ^ 0xa5a5a5a5a5a5a5a5LL; + x[1] ^= x[0]; + x[2] += x[1]; + x[3] -= x[2] ^ ((~x[1]) << 19 ); + x[4] ^= x[3]; + x[5] += x[4]; + x[6] -= x[5] ^ ((~x[4]) >> 23 ); + x[7] ^= x[6]; + x[0] += x[7]; + x[1] -= x[0] ^ ((~x[7]) << 19 ); + x[2] ^= x[1]; + x[3] += x[2]; + x[4] -= x[3] ^ ((~x[2]) >> 23 ); + x[5] ^= x[4]; + x[6] += x[5]; + x[7] -= x[6] ^ 0x0123456789abcdefLL; +} + + +/**************** + * Transform the message DATA which consists of 512 bytes (8 words) + */ +static void +transform ( TIGER_CONTEXT *hd, const unsigned char *data ) +{ + u64 a,b,c,aa,bb,cc; + u64 x[8]; +#ifdef WORDS_BIGENDIAN +#define MKWORD(d,n) \ + ( ((u64)(d)[8*(n)+7]) << 56 | ((u64)(d)[8*(n)+6]) << 48 \ + | ((u64)(d)[8*(n)+5]) << 40 | ((u64)(d)[8*(n)+4]) << 32 \ + | ((u64)(d)[8*(n)+3]) << 24 | ((u64)(d)[8*(n)+2]) << 16 \ + | ((u64)(d)[8*(n)+1]) << 8 | ((u64)(d)[8*(n) ]) ) + x[0] = MKWORD(data, 0); + x[1] = MKWORD(data, 1); + x[2] = MKWORD(data, 2); + x[3] = MKWORD(data, 3); + x[4] = MKWORD(data, 4); + x[5] = MKWORD(data, 5); + x[6] = MKWORD(data, 6); + x[7] = MKWORD(data, 7); +#undef MKWORD +#else + memcpy( &x[0], data, 64 ); +#endif + + /* save */ + a = aa = hd->a; + b = bb = hd->b; + c = cc = hd->c; + + pass( &a, &b, &c, x, 5); + key_schedule( x ); + pass( &c, &a, &b, x, 7); + key_schedule( x ); + pass( &b, &c, &a, x, 9); + + /* feedforward */ + a ^= aa; + b -= bb; + c += cc; + /* store */ + hd->a = a; + hd->b = b; + hd->c = c; +} + + + +/* Update the message digest with the contents + * of INBUF with length INLEN. + */ +static void +tiger_write ( void *context, const void *inbuf_arg, size_t inlen) +{ + const unsigned char *inbuf = inbuf_arg; + TIGER_CONTEXT *hd = context; + + if( hd->count == 64 ) /* flush the buffer */ + { + transform( hd, hd->buf ); + _gcry_burn_stack (21*8+11*sizeof(void*)); + hd->count = 0; + hd->nblocks++; + } + if( !inbuf ) + return; + if( hd->count ) + { + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; + tiger_write( hd, NULL, 0 ); + if( !inlen ) + return; + } + + while( inlen >= 64 ) + { + transform( hd, inbuf ); + hd->count = 0; + hd->nblocks++; + inlen -= 64; + inbuf += 64; + } + _gcry_burn_stack (21*8+11*sizeof(void*)); + for( ; inlen && hd->count < 64; inlen-- ) + hd->buf[hd->count++] = *inbuf++; +} + + + +/* The routine terminates the computation + */ +static void +tiger_final( void *context ) +{ + TIGER_CONTEXT *hd = context; + u32 t, msb, lsb; + byte *p; + + tiger_write(hd, NULL, 0); /* flush */; + + t = hd->nblocks; + /* multiply by 64 to make a byte count */ + lsb = t << 6; + msb = t >> 26; + /* add the count */ + t = lsb; + if( (lsb += hd->count) < t ) + msb++; + /* multiply by 8 to make a bit count */ + t = lsb; + lsb <<= 3; + msb <<= 3; + msb |= t >> 29; + + if( hd->count < 56 ) /* enough room */ + { + hd->buf[hd->count++] = 0x01; /* pad */ + while( hd->count < 56 ) + hd->buf[hd->count++] = 0; /* pad */ + } + else /* need one extra block */ + { + hd->buf[hd->count++] = 0x01; /* pad character */ + while( hd->count < 64 ) + hd->buf[hd->count++] = 0; + tiger_write(hd, NULL, 0); /* flush */; + memset(hd->buf, 0, 56 ); /* fill next block with zeroes */ + } + /* append the 64 bit count */ + hd->buf[56] = lsb ; + hd->buf[57] = lsb >> 8; + hd->buf[58] = lsb >> 16; + hd->buf[59] = lsb >> 24; + hd->buf[60] = msb ; + hd->buf[61] = msb >> 8; + hd->buf[62] = msb >> 16; + hd->buf[63] = msb >> 24; + transform( hd, hd->buf ); + _gcry_burn_stack (21*8+11*sizeof(void*)); + + p = hd->buf; +#ifdef WORDS_BIGENDIAN +#define X(a) do { *(u64*)p = hd->a ; p += 8; } while(0) +#else /* little endian */ +#define X(a) do { *p++ = hd->a >> 56; *p++ = hd->a >> 48; \ + *p++ = hd->a >> 40; *p++ = hd->a >> 32; \ + *p++ = hd->a >> 24; *p++ = hd->a >> 16; \ + *p++ = hd->a >> 8; *p++ = hd->a; } while(0) +#endif + X(a); + X(b); + X(c); +#undef X +} + +static byte * +tiger_read( void *context ) +{ + TIGER_CONTEXT *hd = context; + + return hd->buf; +} + +static byte asn[19] = /* Object ID is 1.3.6.1.4.1.11591.12.2 */ + { 0x30, 0x29, 0x30, 0x0d, 0x06, 0x09, 0x2b, 0x06, + 0x01, 0x04, 0x01, 0xda, 0x47, 0x0c, 0x02, + 0x05, 0x00, 0x04, 0x18 }; + +static gcry_md_oid_spec_t oid_spec_tiger[] = + { + /* GNU.digestAlgorithm TIGER */ + { "1.3.6.1.4.1.11591.12.2" }, + { NULL } + }; + +gcry_md_spec_t _gcry_digest_spec_tiger = + { + "TIGER192", asn, DIM (asn), oid_spec_tiger, 24, + tiger_init, tiger_write, tiger_final, tiger_read, + sizeof (TIGER_CONTEXT) + , + .blocksize = 64 + }; + +#endif /* HAVE_U64_TYPEDEF */ + + +GRUB_MOD_INIT(gcry_tiger) +{ + grub_md_register (&_gcry_digest_spec_tiger); +} + +GRUB_MOD_FINI(gcry_tiger) +{ + grub_md_unregister (&_gcry_digest_spec_tiger); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/twofish.c b/grub-core/lib/libgcrypt-grub/cipher/twofish.c new file mode 100644 index 0000000..8065623 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/twofish.c @@ -0,0 +1,993 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* Twofish for GPG + * Copyright (C) 1998, 2002, 2003 Free Software Foundation, Inc. + * Written by Matthew Skala , July 26, 1998 + * 256-bit key length added March 20, 1999 + * Some modifications to reduce the text size by Werner Koch, April, 1998 + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + ******************************************************************** + * + * This code is a "clean room" implementation, written from the paper + * _Twofish: A 128-Bit Block Cipher_ by Bruce Schneier, John Kelsey, + * Doug Whiting, David Wagner, Chris Hall, and Niels Ferguson, available + * through http://www.counterpane.com/twofish.html + * + * For background information on multiplication in finite fields, used for + * the matrix operations in the key schedule, see the book _Contemporary + * Abstract Algebra_ by Joseph A. Gallian, especially chapter 22 in the + * Third Edition. + * + * Only the 128- and 256-bit key sizes are supported. This code is intended + * for GNU C on a 32-bit system, but it should work almost anywhere. Loops + * are unrolled, precomputation tables are used, etc., for maximum speed at + * some cost in memory consumption. */ + + +#include "types.h" /* for byte and u32 typedefs */ +#include "g10lib.h" +#include "cipher.h" + +/* Prototype for the self-test function. */ + +/* Structure for an expanded Twofish key. s contains the key-dependent + * S-boxes composed with the MDS matrix; w contains the eight "whitening" + * subkeys, K[0] through K[7]. k holds the remaining, "round" subkeys. Note + * that k[i] corresponds to what the Twofish paper calls K[i+8]. */ +typedef struct { + u32 s[4][256], w[8], k[32]; +} TWOFISH_context; + +/* These two tables are the q0 and q1 permutations, exactly as described in + * the Twofish paper. */ + +static const byte q0[256] = { + 0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76, 0x9A, 0x92, 0x80, 0x78, + 0xE4, 0xDD, 0xD1, 0x38, 0x0D, 0xC6, 0x35, 0x98, 0x18, 0xF7, 0xEC, 0x6C, + 0x43, 0x75, 0x37, 0x26, 0xFA, 0x13, 0x94, 0x48, 0xF2, 0xD0, 0x8B, 0x30, + 0x84, 0x54, 0xDF, 0x23, 0x19, 0x5B, 0x3D, 0x59, 0xF3, 0xAE, 0xA2, 0x82, + 0x63, 0x01, 0x83, 0x2E, 0xD9, 0x51, 0x9B, 0x7C, 0xA6, 0xEB, 0xA5, 0xBE, + 0x16, 0x0C, 0xE3, 0x61, 0xC0, 0x8C, 0x3A, 0xF5, 0x73, 0x2C, 0x25, 0x0B, + 0xBB, 0x4E, 0x89, 0x6B, 0x53, 0x6A, 0xB4, 0xF1, 0xE1, 0xE6, 0xBD, 0x45, + 0xE2, 0xF4, 0xB6, 0x66, 0xCC, 0x95, 0x03, 0x56, 0xD4, 0x1C, 0x1E, 0xD7, + 0xFB, 0xC3, 0x8E, 0xB5, 0xE9, 0xCF, 0xBF, 0xBA, 0xEA, 0x77, 0x39, 0xAF, + 0x33, 0xC9, 0x62, 0x71, 0x81, 0x79, 0x09, 0xAD, 0x24, 0xCD, 0xF9, 0xD8, + 0xE5, 0xC5, 0xB9, 0x4D, 0x44, 0x08, 0x86, 0xE7, 0xA1, 0x1D, 0xAA, 0xED, + 0x06, 0x70, 0xB2, 0xD2, 0x41, 0x7B, 0xA0, 0x11, 0x31, 0xC2, 0x27, 0x90, + 0x20, 0xF6, 0x60, 0xFF, 0x96, 0x5C, 0xB1, 0xAB, 0x9E, 0x9C, 0x52, 0x1B, + 0x5F, 0x93, 0x0A, 0xEF, 0x91, 0x85, 0x49, 0xEE, 0x2D, 0x4F, 0x8F, 0x3B, + 0x47, 0x87, 0x6D, 0x46, 0xD6, 0x3E, 0x69, 0x64, 0x2A, 0xCE, 0xCB, 0x2F, + 0xFC, 0x97, 0x05, 0x7A, 0xAC, 0x7F, 0xD5, 0x1A, 0x4B, 0x0E, 0xA7, 0x5A, + 0x28, 0x14, 0x3F, 0x29, 0x88, 0x3C, 0x4C, 0x02, 0xB8, 0xDA, 0xB0, 0x17, + 0x55, 0x1F, 0x8A, 0x7D, 0x57, 0xC7, 0x8D, 0x74, 0xB7, 0xC4, 0x9F, 0x72, + 0x7E, 0x15, 0x22, 0x12, 0x58, 0x07, 0x99, 0x34, 0x6E, 0x50, 0xDE, 0x68, + 0x65, 0xBC, 0xDB, 0xF8, 0xC8, 0xA8, 0x2B, 0x40, 0xDC, 0xFE, 0x32, 0xA4, + 0xCA, 0x10, 0x21, 0xF0, 0xD3, 0x5D, 0x0F, 0x00, 0x6F, 0x9D, 0x36, 0x42, + 0x4A, 0x5E, 0xC1, 0xE0 +}; + +static const byte q1[256] = { + 0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8, 0x4A, 0xD3, 0xE6, 0x6B, + 0x45, 0x7D, 0xE8, 0x4B, 0xD6, 0x32, 0xD8, 0xFD, 0x37, 0x71, 0xF1, 0xE1, + 0x30, 0x0F, 0xF8, 0x1B, 0x87, 0xFA, 0x06, 0x3F, 0x5E, 0xBA, 0xAE, 0x5B, + 0x8A, 0x00, 0xBC, 0x9D, 0x6D, 0xC1, 0xB1, 0x0E, 0x80, 0x5D, 0xD2, 0xD5, + 0xA0, 0x84, 0x07, 0x14, 0xB5, 0x90, 0x2C, 0xA3, 0xB2, 0x73, 0x4C, 0x54, + 0x92, 0x74, 0x36, 0x51, 0x38, 0xB0, 0xBD, 0x5A, 0xFC, 0x60, 0x62, 0x96, + 0x6C, 0x42, 0xF7, 0x10, 0x7C, 0x28, 0x27, 0x8C, 0x13, 0x95, 0x9C, 0xC7, + 0x24, 0x46, 0x3B, 0x70, 0xCA, 0xE3, 0x85, 0xCB, 0x11, 0xD0, 0x93, 0xB8, + 0xA6, 0x83, 0x20, 0xFF, 0x9F, 0x77, 0xC3, 0xCC, 0x03, 0x6F, 0x08, 0xBF, + 0x40, 0xE7, 0x2B, 0xE2, 0x79, 0x0C, 0xAA, 0x82, 0x41, 0x3A, 0xEA, 0xB9, + 0xE4, 0x9A, 0xA4, 0x97, 0x7E, 0xDA, 0x7A, 0x17, 0x66, 0x94, 0xA1, 0x1D, + 0x3D, 0xF0, 0xDE, 0xB3, 0x0B, 0x72, 0xA7, 0x1C, 0xEF, 0xD1, 0x53, 0x3E, + 0x8F, 0x33, 0x26, 0x5F, 0xEC, 0x76, 0x2A, 0x49, 0x81, 0x88, 0xEE, 0x21, + 0xC4, 0x1A, 0xEB, 0xD9, 0xC5, 0x39, 0x99, 0xCD, 0xAD, 0x31, 0x8B, 0x01, + 0x18, 0x23, 0xDD, 0x1F, 0x4E, 0x2D, 0xF9, 0x48, 0x4F, 0xF2, 0x65, 0x8E, + 0x78, 0x5C, 0x58, 0x19, 0x8D, 0xE5, 0x98, 0x57, 0x67, 0x7F, 0x05, 0x64, + 0xAF, 0x63, 0xB6, 0xFE, 0xF5, 0xB7, 0x3C, 0xA5, 0xCE, 0xE9, 0x68, 0x44, + 0xE0, 0x4D, 0x43, 0x69, 0x29, 0x2E, 0xAC, 0x15, 0x59, 0xA8, 0x0A, 0x9E, + 0x6E, 0x47, 0xDF, 0x34, 0x35, 0x6A, 0xCF, 0xDC, 0x22, 0xC9, 0xC0, 0x9B, + 0x89, 0xD4, 0xED, 0xAB, 0x12, 0xA2, 0x0D, 0x52, 0xBB, 0x02, 0x2F, 0xA9, + 0xD7, 0x61, 0x1E, 0xB4, 0x50, 0x04, 0xF6, 0xC2, 0x16, 0x25, 0x86, 0x56, + 0x55, 0x09, 0xBE, 0x91 +}; + +/* These MDS tables are actually tables of MDS composed with q0 and q1, + * because it is only ever used that way and we can save some time by + * precomputing. Of course the main saving comes from precomputing the + * GF(2^8) multiplication involved in the MDS matrix multiply; by looking + * things up in these tables we reduce the matrix multiply to four lookups + * and three XORs. Semi-formally, the definition of these tables is: + * mds[0][i] = MDS (q1[i] 0 0 0)^T mds[1][i] = MDS (0 q0[i] 0 0)^T + * mds[2][i] = MDS (0 0 q1[i] 0)^T mds[3][i] = MDS (0 0 0 q0[i])^T + * where ^T means "transpose", the matrix multiply is performed in GF(2^8) + * represented as GF(2)[x]/v(x) where v(x)=x^8+x^6+x^5+x^3+1 as described + * by Schneier et al, and I'm casually glossing over the byte/word + * conversion issues. */ + +static const u32 mds[4][256] = { + {0xBCBC3275, 0xECEC21F3, 0x202043C6, 0xB3B3C9F4, 0xDADA03DB, 0x02028B7B, + 0xE2E22BFB, 0x9E9EFAC8, 0xC9C9EC4A, 0xD4D409D3, 0x18186BE6, 0x1E1E9F6B, + 0x98980E45, 0xB2B2387D, 0xA6A6D2E8, 0x2626B74B, 0x3C3C57D6, 0x93938A32, + 0x8282EED8, 0x525298FD, 0x7B7BD437, 0xBBBB3771, 0x5B5B97F1, 0x474783E1, + 0x24243C30, 0x5151E20F, 0xBABAC6F8, 0x4A4AF31B, 0xBFBF4887, 0x0D0D70FA, + 0xB0B0B306, 0x7575DE3F, 0xD2D2FD5E, 0x7D7D20BA, 0x666631AE, 0x3A3AA35B, + 0x59591C8A, 0x00000000, 0xCDCD93BC, 0x1A1AE09D, 0xAEAE2C6D, 0x7F7FABC1, + 0x2B2BC7B1, 0xBEBEB90E, 0xE0E0A080, 0x8A8A105D, 0x3B3B52D2, 0x6464BAD5, + 0xD8D888A0, 0xE7E7A584, 0x5F5FE807, 0x1B1B1114, 0x2C2CC2B5, 0xFCFCB490, + 0x3131272C, 0x808065A3, 0x73732AB2, 0x0C0C8173, 0x79795F4C, 0x6B6B4154, + 0x4B4B0292, 0x53536974, 0x94948F36, 0x83831F51, 0x2A2A3638, 0xC4C49CB0, + 0x2222C8BD, 0xD5D5F85A, 0xBDBDC3FC, 0x48487860, 0xFFFFCE62, 0x4C4C0796, + 0x4141776C, 0xC7C7E642, 0xEBEB24F7, 0x1C1C1410, 0x5D5D637C, 0x36362228, + 0x6767C027, 0xE9E9AF8C, 0x4444F913, 0x1414EA95, 0xF5F5BB9C, 0xCFCF18C7, + 0x3F3F2D24, 0xC0C0E346, 0x7272DB3B, 0x54546C70, 0x29294CCA, 0xF0F035E3, + 0x0808FE85, 0xC6C617CB, 0xF3F34F11, 0x8C8CE4D0, 0xA4A45993, 0xCACA96B8, + 0x68683BA6, 0xB8B84D83, 0x38382820, 0xE5E52EFF, 0xADAD569F, 0x0B0B8477, + 0xC8C81DC3, 0x9999FFCC, 0x5858ED03, 0x19199A6F, 0x0E0E0A08, 0x95957EBF, + 0x70705040, 0xF7F730E7, 0x6E6ECF2B, 0x1F1F6EE2, 0xB5B53D79, 0x09090F0C, + 0x616134AA, 0x57571682, 0x9F9F0B41, 0x9D9D803A, 0x111164EA, 0x2525CDB9, + 0xAFAFDDE4, 0x4545089A, 0xDFDF8DA4, 0xA3A35C97, 0xEAEAD57E, 0x353558DA, + 0xEDEDD07A, 0x4343FC17, 0xF8F8CB66, 0xFBFBB194, 0x3737D3A1, 0xFAFA401D, + 0xC2C2683D, 0xB4B4CCF0, 0x32325DDE, 0x9C9C71B3, 0x5656E70B, 0xE3E3DA72, + 0x878760A7, 0x15151B1C, 0xF9F93AEF, 0x6363BFD1, 0x3434A953, 0x9A9A853E, + 0xB1B1428F, 0x7C7CD133, 0x88889B26, 0x3D3DA65F, 0xA1A1D7EC, 0xE4E4DF76, + 0x8181942A, 0x91910149, 0x0F0FFB81, 0xEEEEAA88, 0x161661EE, 0xD7D77321, + 0x9797F5C4, 0xA5A5A81A, 0xFEFE3FEB, 0x6D6DB5D9, 0x7878AEC5, 0xC5C56D39, + 0x1D1DE599, 0x7676A4CD, 0x3E3EDCAD, 0xCBCB6731, 0xB6B6478B, 0xEFEF5B01, + 0x12121E18, 0x6060C523, 0x6A6AB0DD, 0x4D4DF61F, 0xCECEE94E, 0xDEDE7C2D, + 0x55559DF9, 0x7E7E5A48, 0x2121B24F, 0x03037AF2, 0xA0A02665, 0x5E5E198E, + 0x5A5A6678, 0x65654B5C, 0x62624E58, 0xFDFD4519, 0x0606F48D, 0x404086E5, + 0xF2F2BE98, 0x3333AC57, 0x17179067, 0x05058E7F, 0xE8E85E05, 0x4F4F7D64, + 0x89896AAF, 0x10109563, 0x74742FB6, 0x0A0A75FE, 0x5C5C92F5, 0x9B9B74B7, + 0x2D2D333C, 0x3030D6A5, 0x2E2E49CE, 0x494989E9, 0x46467268, 0x77775544, + 0xA8A8D8E0, 0x9696044D, 0x2828BD43, 0xA9A92969, 0xD9D97929, 0x8686912E, + 0xD1D187AC, 0xF4F44A15, 0x8D8D1559, 0xD6D682A8, 0xB9B9BC0A, 0x42420D9E, + 0xF6F6C16E, 0x2F2FB847, 0xDDDD06DF, 0x23233934, 0xCCCC6235, 0xF1F1C46A, + 0xC1C112CF, 0x8585EBDC, 0x8F8F9E22, 0x7171A1C9, 0x9090F0C0, 0xAAAA539B, + 0x0101F189, 0x8B8BE1D4, 0x4E4E8CED, 0x8E8E6FAB, 0xABABA212, 0x6F6F3EA2, + 0xE6E6540D, 0xDBDBF252, 0x92927BBB, 0xB7B7B602, 0x6969CA2F, 0x3939D9A9, + 0xD3D30CD7, 0xA7A72361, 0xA2A2AD1E, 0xC3C399B4, 0x6C6C4450, 0x07070504, + 0x04047FF6, 0x272746C2, 0xACACA716, 0xD0D07625, 0x50501386, 0xDCDCF756, + 0x84841A55, 0xE1E15109, 0x7A7A25BE, 0x1313EF91}, + + {0xA9D93939, 0x67901717, 0xB3719C9C, 0xE8D2A6A6, 0x04050707, 0xFD985252, + 0xA3658080, 0x76DFE4E4, 0x9A084545, 0x92024B4B, 0x80A0E0E0, 0x78665A5A, + 0xE4DDAFAF, 0xDDB06A6A, 0xD1BF6363, 0x38362A2A, 0x0D54E6E6, 0xC6432020, + 0x3562CCCC, 0x98BEF2F2, 0x181E1212, 0xF724EBEB, 0xECD7A1A1, 0x6C774141, + 0x43BD2828, 0x7532BCBC, 0x37D47B7B, 0x269B8888, 0xFA700D0D, 0x13F94444, + 0x94B1FBFB, 0x485A7E7E, 0xF27A0303, 0xD0E48C8C, 0x8B47B6B6, 0x303C2424, + 0x84A5E7E7, 0x54416B6B, 0xDF06DDDD, 0x23C56060, 0x1945FDFD, 0x5BA33A3A, + 0x3D68C2C2, 0x59158D8D, 0xF321ECEC, 0xAE316666, 0xA23E6F6F, 0x82165757, + 0x63951010, 0x015BEFEF, 0x834DB8B8, 0x2E918686, 0xD9B56D6D, 0x511F8383, + 0x9B53AAAA, 0x7C635D5D, 0xA63B6868, 0xEB3FFEFE, 0xA5D63030, 0xBE257A7A, + 0x16A7ACAC, 0x0C0F0909, 0xE335F0F0, 0x6123A7A7, 0xC0F09090, 0x8CAFE9E9, + 0x3A809D9D, 0xF5925C5C, 0x73810C0C, 0x2C273131, 0x2576D0D0, 0x0BE75656, + 0xBB7B9292, 0x4EE9CECE, 0x89F10101, 0x6B9F1E1E, 0x53A93434, 0x6AC4F1F1, + 0xB499C3C3, 0xF1975B5B, 0xE1834747, 0xE66B1818, 0xBDC82222, 0x450E9898, + 0xE26E1F1F, 0xF4C9B3B3, 0xB62F7474, 0x66CBF8F8, 0xCCFF9999, 0x95EA1414, + 0x03ED5858, 0x56F7DCDC, 0xD4E18B8B, 0x1C1B1515, 0x1EADA2A2, 0xD70CD3D3, + 0xFB2BE2E2, 0xC31DC8C8, 0x8E195E5E, 0xB5C22C2C, 0xE9894949, 0xCF12C1C1, + 0xBF7E9595, 0xBA207D7D, 0xEA641111, 0x77840B0B, 0x396DC5C5, 0xAF6A8989, + 0x33D17C7C, 0xC9A17171, 0x62CEFFFF, 0x7137BBBB, 0x81FB0F0F, 0x793DB5B5, + 0x0951E1E1, 0xADDC3E3E, 0x242D3F3F, 0xCDA47676, 0xF99D5555, 0xD8EE8282, + 0xE5864040, 0xC5AE7878, 0xB9CD2525, 0x4D049696, 0x44557777, 0x080A0E0E, + 0x86135050, 0xE730F7F7, 0xA1D33737, 0x1D40FAFA, 0xAA346161, 0xED8C4E4E, + 0x06B3B0B0, 0x706C5454, 0xB22A7373, 0xD2523B3B, 0x410B9F9F, 0x7B8B0202, + 0xA088D8D8, 0x114FF3F3, 0x3167CBCB, 0xC2462727, 0x27C06767, 0x90B4FCFC, + 0x20283838, 0xF67F0404, 0x60784848, 0xFF2EE5E5, 0x96074C4C, 0x5C4B6565, + 0xB1C72B2B, 0xAB6F8E8E, 0x9E0D4242, 0x9CBBF5F5, 0x52F2DBDB, 0x1BF34A4A, + 0x5FA63D3D, 0x9359A4A4, 0x0ABCB9B9, 0xEF3AF9F9, 0x91EF1313, 0x85FE0808, + 0x49019191, 0xEE611616, 0x2D7CDEDE, 0x4FB22121, 0x8F42B1B1, 0x3BDB7272, + 0x47B82F2F, 0x8748BFBF, 0x6D2CAEAE, 0x46E3C0C0, 0xD6573C3C, 0x3E859A9A, + 0x6929A9A9, 0x647D4F4F, 0x2A948181, 0xCE492E2E, 0xCB17C6C6, 0x2FCA6969, + 0xFCC3BDBD, 0x975CA3A3, 0x055EE8E8, 0x7AD0EDED, 0xAC87D1D1, 0x7F8E0505, + 0xD5BA6464, 0x1AA8A5A5, 0x4BB72626, 0x0EB9BEBE, 0xA7608787, 0x5AF8D5D5, + 0x28223636, 0x14111B1B, 0x3FDE7575, 0x2979D9D9, 0x88AAEEEE, 0x3C332D2D, + 0x4C5F7979, 0x02B6B7B7, 0xB896CACA, 0xDA583535, 0xB09CC4C4, 0x17FC4343, + 0x551A8484, 0x1FF64D4D, 0x8A1C5959, 0x7D38B2B2, 0x57AC3333, 0xC718CFCF, + 0x8DF40606, 0x74695353, 0xB7749B9B, 0xC4F59797, 0x9F56ADAD, 0x72DAE3E3, + 0x7ED5EAEA, 0x154AF4F4, 0x229E8F8F, 0x12A2ABAB, 0x584E6262, 0x07E85F5F, + 0x99E51D1D, 0x34392323, 0x6EC1F6F6, 0x50446C6C, 0xDE5D3232, 0x68724646, + 0x6526A0A0, 0xBC93CDCD, 0xDB03DADA, 0xF8C6BABA, 0xC8FA9E9E, 0xA882D6D6, + 0x2BCF6E6E, 0x40507070, 0xDCEB8585, 0xFE750A0A, 0x328A9393, 0xA48DDFDF, + 0xCA4C2929, 0x10141C1C, 0x2173D7D7, 0xF0CCB4B4, 0xD309D4D4, 0x5D108A8A, + 0x0FE25151, 0x00000000, 0x6F9A1919, 0x9DE01A1A, 0x368F9494, 0x42E6C7C7, + 0x4AECC9C9, 0x5EFDD2D2, 0xC1AB7F7F, 0xE0D8A8A8}, + + {0xBC75BC32, 0xECF3EC21, 0x20C62043, 0xB3F4B3C9, 0xDADBDA03, 0x027B028B, + 0xE2FBE22B, 0x9EC89EFA, 0xC94AC9EC, 0xD4D3D409, 0x18E6186B, 0x1E6B1E9F, + 0x9845980E, 0xB27DB238, 0xA6E8A6D2, 0x264B26B7, 0x3CD63C57, 0x9332938A, + 0x82D882EE, 0x52FD5298, 0x7B377BD4, 0xBB71BB37, 0x5BF15B97, 0x47E14783, + 0x2430243C, 0x510F51E2, 0xBAF8BAC6, 0x4A1B4AF3, 0xBF87BF48, 0x0DFA0D70, + 0xB006B0B3, 0x753F75DE, 0xD25ED2FD, 0x7DBA7D20, 0x66AE6631, 0x3A5B3AA3, + 0x598A591C, 0x00000000, 0xCDBCCD93, 0x1A9D1AE0, 0xAE6DAE2C, 0x7FC17FAB, + 0x2BB12BC7, 0xBE0EBEB9, 0xE080E0A0, 0x8A5D8A10, 0x3BD23B52, 0x64D564BA, + 0xD8A0D888, 0xE784E7A5, 0x5F075FE8, 0x1B141B11, 0x2CB52CC2, 0xFC90FCB4, + 0x312C3127, 0x80A38065, 0x73B2732A, 0x0C730C81, 0x794C795F, 0x6B546B41, + 0x4B924B02, 0x53745369, 0x9436948F, 0x8351831F, 0x2A382A36, 0xC4B0C49C, + 0x22BD22C8, 0xD55AD5F8, 0xBDFCBDC3, 0x48604878, 0xFF62FFCE, 0x4C964C07, + 0x416C4177, 0xC742C7E6, 0xEBF7EB24, 0x1C101C14, 0x5D7C5D63, 0x36283622, + 0x672767C0, 0xE98CE9AF, 0x441344F9, 0x149514EA, 0xF59CF5BB, 0xCFC7CF18, + 0x3F243F2D, 0xC046C0E3, 0x723B72DB, 0x5470546C, 0x29CA294C, 0xF0E3F035, + 0x088508FE, 0xC6CBC617, 0xF311F34F, 0x8CD08CE4, 0xA493A459, 0xCAB8CA96, + 0x68A6683B, 0xB883B84D, 0x38203828, 0xE5FFE52E, 0xAD9FAD56, 0x0B770B84, + 0xC8C3C81D, 0x99CC99FF, 0x580358ED, 0x196F199A, 0x0E080E0A, 0x95BF957E, + 0x70407050, 0xF7E7F730, 0x6E2B6ECF, 0x1FE21F6E, 0xB579B53D, 0x090C090F, + 0x61AA6134, 0x57825716, 0x9F419F0B, 0x9D3A9D80, 0x11EA1164, 0x25B925CD, + 0xAFE4AFDD, 0x459A4508, 0xDFA4DF8D, 0xA397A35C, 0xEA7EEAD5, 0x35DA3558, + 0xED7AEDD0, 0x431743FC, 0xF866F8CB, 0xFB94FBB1, 0x37A137D3, 0xFA1DFA40, + 0xC23DC268, 0xB4F0B4CC, 0x32DE325D, 0x9CB39C71, 0x560B56E7, 0xE372E3DA, + 0x87A78760, 0x151C151B, 0xF9EFF93A, 0x63D163BF, 0x345334A9, 0x9A3E9A85, + 0xB18FB142, 0x7C337CD1, 0x8826889B, 0x3D5F3DA6, 0xA1ECA1D7, 0xE476E4DF, + 0x812A8194, 0x91499101, 0x0F810FFB, 0xEE88EEAA, 0x16EE1661, 0xD721D773, + 0x97C497F5, 0xA51AA5A8, 0xFEEBFE3F, 0x6DD96DB5, 0x78C578AE, 0xC539C56D, + 0x1D991DE5, 0x76CD76A4, 0x3EAD3EDC, 0xCB31CB67, 0xB68BB647, 0xEF01EF5B, + 0x1218121E, 0x602360C5, 0x6ADD6AB0, 0x4D1F4DF6, 0xCE4ECEE9, 0xDE2DDE7C, + 0x55F9559D, 0x7E487E5A, 0x214F21B2, 0x03F2037A, 0xA065A026, 0x5E8E5E19, + 0x5A785A66, 0x655C654B, 0x6258624E, 0xFD19FD45, 0x068D06F4, 0x40E54086, + 0xF298F2BE, 0x335733AC, 0x17671790, 0x057F058E, 0xE805E85E, 0x4F644F7D, + 0x89AF896A, 0x10631095, 0x74B6742F, 0x0AFE0A75, 0x5CF55C92, 0x9BB79B74, + 0x2D3C2D33, 0x30A530D6, 0x2ECE2E49, 0x49E94989, 0x46684672, 0x77447755, + 0xA8E0A8D8, 0x964D9604, 0x284328BD, 0xA969A929, 0xD929D979, 0x862E8691, + 0xD1ACD187, 0xF415F44A, 0x8D598D15, 0xD6A8D682, 0xB90AB9BC, 0x429E420D, + 0xF66EF6C1, 0x2F472FB8, 0xDDDFDD06, 0x23342339, 0xCC35CC62, 0xF16AF1C4, + 0xC1CFC112, 0x85DC85EB, 0x8F228F9E, 0x71C971A1, 0x90C090F0, 0xAA9BAA53, + 0x018901F1, 0x8BD48BE1, 0x4EED4E8C, 0x8EAB8E6F, 0xAB12ABA2, 0x6FA26F3E, + 0xE60DE654, 0xDB52DBF2, 0x92BB927B, 0xB702B7B6, 0x692F69CA, 0x39A939D9, + 0xD3D7D30C, 0xA761A723, 0xA21EA2AD, 0xC3B4C399, 0x6C506C44, 0x07040705, + 0x04F6047F, 0x27C22746, 0xAC16ACA7, 0xD025D076, 0x50865013, 0xDC56DCF7, + 0x8455841A, 0xE109E151, 0x7ABE7A25, 0x139113EF}, + + {0xD939A9D9, 0x90176790, 0x719CB371, 0xD2A6E8D2, 0x05070405, 0x9852FD98, + 0x6580A365, 0xDFE476DF, 0x08459A08, 0x024B9202, 0xA0E080A0, 0x665A7866, + 0xDDAFE4DD, 0xB06ADDB0, 0xBF63D1BF, 0x362A3836, 0x54E60D54, 0x4320C643, + 0x62CC3562, 0xBEF298BE, 0x1E12181E, 0x24EBF724, 0xD7A1ECD7, 0x77416C77, + 0xBD2843BD, 0x32BC7532, 0xD47B37D4, 0x9B88269B, 0x700DFA70, 0xF94413F9, + 0xB1FB94B1, 0x5A7E485A, 0x7A03F27A, 0xE48CD0E4, 0x47B68B47, 0x3C24303C, + 0xA5E784A5, 0x416B5441, 0x06DDDF06, 0xC56023C5, 0x45FD1945, 0xA33A5BA3, + 0x68C23D68, 0x158D5915, 0x21ECF321, 0x3166AE31, 0x3E6FA23E, 0x16578216, + 0x95106395, 0x5BEF015B, 0x4DB8834D, 0x91862E91, 0xB56DD9B5, 0x1F83511F, + 0x53AA9B53, 0x635D7C63, 0x3B68A63B, 0x3FFEEB3F, 0xD630A5D6, 0x257ABE25, + 0xA7AC16A7, 0x0F090C0F, 0x35F0E335, 0x23A76123, 0xF090C0F0, 0xAFE98CAF, + 0x809D3A80, 0x925CF592, 0x810C7381, 0x27312C27, 0x76D02576, 0xE7560BE7, + 0x7B92BB7B, 0xE9CE4EE9, 0xF10189F1, 0x9F1E6B9F, 0xA93453A9, 0xC4F16AC4, + 0x99C3B499, 0x975BF197, 0x8347E183, 0x6B18E66B, 0xC822BDC8, 0x0E98450E, + 0x6E1FE26E, 0xC9B3F4C9, 0x2F74B62F, 0xCBF866CB, 0xFF99CCFF, 0xEA1495EA, + 0xED5803ED, 0xF7DC56F7, 0xE18BD4E1, 0x1B151C1B, 0xADA21EAD, 0x0CD3D70C, + 0x2BE2FB2B, 0x1DC8C31D, 0x195E8E19, 0xC22CB5C2, 0x8949E989, 0x12C1CF12, + 0x7E95BF7E, 0x207DBA20, 0x6411EA64, 0x840B7784, 0x6DC5396D, 0x6A89AF6A, + 0xD17C33D1, 0xA171C9A1, 0xCEFF62CE, 0x37BB7137, 0xFB0F81FB, 0x3DB5793D, + 0x51E10951, 0xDC3EADDC, 0x2D3F242D, 0xA476CDA4, 0x9D55F99D, 0xEE82D8EE, + 0x8640E586, 0xAE78C5AE, 0xCD25B9CD, 0x04964D04, 0x55774455, 0x0A0E080A, + 0x13508613, 0x30F7E730, 0xD337A1D3, 0x40FA1D40, 0x3461AA34, 0x8C4EED8C, + 0xB3B006B3, 0x6C54706C, 0x2A73B22A, 0x523BD252, 0x0B9F410B, 0x8B027B8B, + 0x88D8A088, 0x4FF3114F, 0x67CB3167, 0x4627C246, 0xC06727C0, 0xB4FC90B4, + 0x28382028, 0x7F04F67F, 0x78486078, 0x2EE5FF2E, 0x074C9607, 0x4B655C4B, + 0xC72BB1C7, 0x6F8EAB6F, 0x0D429E0D, 0xBBF59CBB, 0xF2DB52F2, 0xF34A1BF3, + 0xA63D5FA6, 0x59A49359, 0xBCB90ABC, 0x3AF9EF3A, 0xEF1391EF, 0xFE0885FE, + 0x01914901, 0x6116EE61, 0x7CDE2D7C, 0xB2214FB2, 0x42B18F42, 0xDB723BDB, + 0xB82F47B8, 0x48BF8748, 0x2CAE6D2C, 0xE3C046E3, 0x573CD657, 0x859A3E85, + 0x29A96929, 0x7D4F647D, 0x94812A94, 0x492ECE49, 0x17C6CB17, 0xCA692FCA, + 0xC3BDFCC3, 0x5CA3975C, 0x5EE8055E, 0xD0ED7AD0, 0x87D1AC87, 0x8E057F8E, + 0xBA64D5BA, 0xA8A51AA8, 0xB7264BB7, 0xB9BE0EB9, 0x6087A760, 0xF8D55AF8, + 0x22362822, 0x111B1411, 0xDE753FDE, 0x79D92979, 0xAAEE88AA, 0x332D3C33, + 0x5F794C5F, 0xB6B702B6, 0x96CAB896, 0x5835DA58, 0x9CC4B09C, 0xFC4317FC, + 0x1A84551A, 0xF64D1FF6, 0x1C598A1C, 0x38B27D38, 0xAC3357AC, 0x18CFC718, + 0xF4068DF4, 0x69537469, 0x749BB774, 0xF597C4F5, 0x56AD9F56, 0xDAE372DA, + 0xD5EA7ED5, 0x4AF4154A, 0x9E8F229E, 0xA2AB12A2, 0x4E62584E, 0xE85F07E8, + 0xE51D99E5, 0x39233439, 0xC1F66EC1, 0x446C5044, 0x5D32DE5D, 0x72466872, + 0x26A06526, 0x93CDBC93, 0x03DADB03, 0xC6BAF8C6, 0xFA9EC8FA, 0x82D6A882, + 0xCF6E2BCF, 0x50704050, 0xEB85DCEB, 0x750AFE75, 0x8A93328A, 0x8DDFA48D, + 0x4C29CA4C, 0x141C1014, 0x73D72173, 0xCCB4F0CC, 0x09D4D309, 0x108A5D10, + 0xE2510FE2, 0x00000000, 0x9A196F9A, 0xE01A9DE0, 0x8F94368F, 0xE6C742E6, + 0xECC94AEC, 0xFDD25EFD, 0xAB7FC1AB, 0xD8A8E0D8} +}; + +/* The exp_to_poly and poly_to_exp tables are used to perform efficient + * operations in GF(2^8) represented as GF(2)[x]/w(x) where + * w(x)=x^8+x^6+x^3+x^2+1. We care about doing that because it's part of the + * definition of the RS matrix in the key schedule. Elements of that field + * are polynomials of degree not greater than 7 and all coefficients 0 or 1, + * which can be represented naturally by bytes (just substitute x=2). In that + * form, GF(2^8) addition is the same as bitwise XOR, but GF(2^8) + * multiplication is inefficient without hardware support. To multiply + * faster, I make use of the fact x is a generator for the nonzero elements, + * so that every element p of GF(2)[x]/w(x) is either 0 or equal to (x)^n for + * some n in 0..254. Note that that caret is exponentiation in GF(2^8), + * *not* polynomial notation. So if I want to compute pq where p and q are + * in GF(2^8), I can just say: + * 1. if p=0 or q=0 then pq=0 + * 2. otherwise, find m and n such that p=x^m and q=x^n + * 3. pq=(x^m)(x^n)=x^(m+n), so add m and n and find pq + * The translations in steps 2 and 3 are looked up in the tables + * poly_to_exp (for step 2) and exp_to_poly (for step 3). To see this + * in action, look at the CALC_S macro. As additional wrinkles, note that + * one of my operands is always a constant, so the poly_to_exp lookup on it + * is done in advance; I included the original values in the comments so + * readers can have some chance of recognizing that this *is* the RS matrix + * from the Twofish paper. I've only included the table entries I actually + * need; I never do a lookup on a variable input of zero and the biggest + * exponents I'll ever see are 254 (variable) and 237 (constant), so they'll + * never sum to more than 491. I'm repeating part of the exp_to_poly table + * so that I don't have to do mod-255 reduction in the exponent arithmetic. + * Since I know my constant operands are never zero, I only have to worry + * about zero values in the variable operand, and I do it with a simple + * conditional branch. I know conditionals are expensive, but I couldn't + * see a non-horrible way of avoiding them, and I did manage to group the + * statements so that each if covers four group multiplications. */ + +static const byte poly_to_exp[255] = { + 0x00, 0x01, 0x17, 0x02, 0x2E, 0x18, 0x53, 0x03, 0x6A, 0x2F, 0x93, 0x19, + 0x34, 0x54, 0x45, 0x04, 0x5C, 0x6B, 0xB6, 0x30, 0xA6, 0x94, 0x4B, 0x1A, + 0x8C, 0x35, 0x81, 0x55, 0xAA, 0x46, 0x0D, 0x05, 0x24, 0x5D, 0x87, 0x6C, + 0x9B, 0xB7, 0xC1, 0x31, 0x2B, 0xA7, 0xA3, 0x95, 0x98, 0x4C, 0xCA, 0x1B, + 0xE6, 0x8D, 0x73, 0x36, 0xCD, 0x82, 0x12, 0x56, 0x62, 0xAB, 0xF0, 0x47, + 0x4F, 0x0E, 0xBD, 0x06, 0xD4, 0x25, 0xD2, 0x5E, 0x27, 0x88, 0x66, 0x6D, + 0xD6, 0x9C, 0x79, 0xB8, 0x08, 0xC2, 0xDF, 0x32, 0x68, 0x2C, 0xFD, 0xA8, + 0x8A, 0xA4, 0x5A, 0x96, 0x29, 0x99, 0x22, 0x4D, 0x60, 0xCB, 0xE4, 0x1C, + 0x7B, 0xE7, 0x3B, 0x8E, 0x9E, 0x74, 0xF4, 0x37, 0xD8, 0xCE, 0xF9, 0x83, + 0x6F, 0x13, 0xB2, 0x57, 0xE1, 0x63, 0xDC, 0xAC, 0xC4, 0xF1, 0xAF, 0x48, + 0x0A, 0x50, 0x42, 0x0F, 0xBA, 0xBE, 0xC7, 0x07, 0xDE, 0xD5, 0x78, 0x26, + 0x65, 0xD3, 0xD1, 0x5F, 0xE3, 0x28, 0x21, 0x89, 0x59, 0x67, 0xFC, 0x6E, + 0xB1, 0xD7, 0xF8, 0x9D, 0xF3, 0x7A, 0x3A, 0xB9, 0xC6, 0x09, 0x41, 0xC3, + 0xAE, 0xE0, 0xDB, 0x33, 0x44, 0x69, 0x92, 0x2D, 0x52, 0xFE, 0x16, 0xA9, + 0x0C, 0x8B, 0x80, 0xA5, 0x4A, 0x5B, 0xB5, 0x97, 0xC9, 0x2A, 0xA2, 0x9A, + 0xC0, 0x23, 0x86, 0x4E, 0xBC, 0x61, 0xEF, 0xCC, 0x11, 0xE5, 0x72, 0x1D, + 0x3D, 0x7C, 0xEB, 0xE8, 0xE9, 0x3C, 0xEA, 0x8F, 0x7D, 0x9F, 0xEC, 0x75, + 0x1E, 0xF5, 0x3E, 0x38, 0xF6, 0xD9, 0x3F, 0xCF, 0x76, 0xFA, 0x1F, 0x84, + 0xA0, 0x70, 0xED, 0x14, 0x90, 0xB3, 0x7E, 0x58, 0xFB, 0xE2, 0x20, 0x64, + 0xD0, 0xDD, 0x77, 0xAD, 0xDA, 0xC5, 0x40, 0xF2, 0x39, 0xB0, 0xF7, 0x49, + 0xB4, 0x0B, 0x7F, 0x51, 0x15, 0x43, 0x91, 0x10, 0x71, 0xBB, 0xEE, 0xBF, + 0x85, 0xC8, 0xA1 +}; + +static const byte exp_to_poly[492] = { + 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x4D, 0x9A, 0x79, 0xF2, + 0xA9, 0x1F, 0x3E, 0x7C, 0xF8, 0xBD, 0x37, 0x6E, 0xDC, 0xF5, 0xA7, 0x03, + 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0xCD, 0xD7, 0xE3, 0x8B, 0x5B, 0xB6, + 0x21, 0x42, 0x84, 0x45, 0x8A, 0x59, 0xB2, 0x29, 0x52, 0xA4, 0x05, 0x0A, + 0x14, 0x28, 0x50, 0xA0, 0x0D, 0x1A, 0x34, 0x68, 0xD0, 0xED, 0x97, 0x63, + 0xC6, 0xC1, 0xCF, 0xD3, 0xEB, 0x9B, 0x7B, 0xF6, 0xA1, 0x0F, 0x1E, 0x3C, + 0x78, 0xF0, 0xAD, 0x17, 0x2E, 0x5C, 0xB8, 0x3D, 0x7A, 0xF4, 0xA5, 0x07, + 0x0E, 0x1C, 0x38, 0x70, 0xE0, 0x8D, 0x57, 0xAE, 0x11, 0x22, 0x44, 0x88, + 0x5D, 0xBA, 0x39, 0x72, 0xE4, 0x85, 0x47, 0x8E, 0x51, 0xA2, 0x09, 0x12, + 0x24, 0x48, 0x90, 0x6D, 0xDA, 0xF9, 0xBF, 0x33, 0x66, 0xCC, 0xD5, 0xE7, + 0x83, 0x4B, 0x96, 0x61, 0xC2, 0xC9, 0xDF, 0xF3, 0xAB, 0x1B, 0x36, 0x6C, + 0xD8, 0xFD, 0xB7, 0x23, 0x46, 0x8C, 0x55, 0xAA, 0x19, 0x32, 0x64, 0xC8, + 0xDD, 0xF7, 0xA3, 0x0B, 0x16, 0x2C, 0x58, 0xB0, 0x2D, 0x5A, 0xB4, 0x25, + 0x4A, 0x94, 0x65, 0xCA, 0xD9, 0xFF, 0xB3, 0x2B, 0x56, 0xAC, 0x15, 0x2A, + 0x54, 0xA8, 0x1D, 0x3A, 0x74, 0xE8, 0x9D, 0x77, 0xEE, 0x91, 0x6F, 0xDE, + 0xF1, 0xAF, 0x13, 0x26, 0x4C, 0x98, 0x7D, 0xFA, 0xB9, 0x3F, 0x7E, 0xFC, + 0xB5, 0x27, 0x4E, 0x9C, 0x75, 0xEA, 0x99, 0x7F, 0xFE, 0xB1, 0x2F, 0x5E, + 0xBC, 0x35, 0x6A, 0xD4, 0xE5, 0x87, 0x43, 0x86, 0x41, 0x82, 0x49, 0x92, + 0x69, 0xD2, 0xE9, 0x9F, 0x73, 0xE6, 0x81, 0x4F, 0x9E, 0x71, 0xE2, 0x89, + 0x5F, 0xBE, 0x31, 0x62, 0xC4, 0xC5, 0xC7, 0xC3, 0xCB, 0xDB, 0xFB, 0xBB, + 0x3B, 0x76, 0xEC, 0x95, 0x67, 0xCE, 0xD1, 0xEF, 0x93, 0x6B, 0xD6, 0xE1, + 0x8F, 0x53, 0xA6, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x4D, + 0x9A, 0x79, 0xF2, 0xA9, 0x1F, 0x3E, 0x7C, 0xF8, 0xBD, 0x37, 0x6E, 0xDC, + 0xF5, 0xA7, 0x03, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0xCD, 0xD7, 0xE3, + 0x8B, 0x5B, 0xB6, 0x21, 0x42, 0x84, 0x45, 0x8A, 0x59, 0xB2, 0x29, 0x52, + 0xA4, 0x05, 0x0A, 0x14, 0x28, 0x50, 0xA0, 0x0D, 0x1A, 0x34, 0x68, 0xD0, + 0xED, 0x97, 0x63, 0xC6, 0xC1, 0xCF, 0xD3, 0xEB, 0x9B, 0x7B, 0xF6, 0xA1, + 0x0F, 0x1E, 0x3C, 0x78, 0xF0, 0xAD, 0x17, 0x2E, 0x5C, 0xB8, 0x3D, 0x7A, + 0xF4, 0xA5, 0x07, 0x0E, 0x1C, 0x38, 0x70, 0xE0, 0x8D, 0x57, 0xAE, 0x11, + 0x22, 0x44, 0x88, 0x5D, 0xBA, 0x39, 0x72, 0xE4, 0x85, 0x47, 0x8E, 0x51, + 0xA2, 0x09, 0x12, 0x24, 0x48, 0x90, 0x6D, 0xDA, 0xF9, 0xBF, 0x33, 0x66, + 0xCC, 0xD5, 0xE7, 0x83, 0x4B, 0x96, 0x61, 0xC2, 0xC9, 0xDF, 0xF3, 0xAB, + 0x1B, 0x36, 0x6C, 0xD8, 0xFD, 0xB7, 0x23, 0x46, 0x8C, 0x55, 0xAA, 0x19, + 0x32, 0x64, 0xC8, 0xDD, 0xF7, 0xA3, 0x0B, 0x16, 0x2C, 0x58, 0xB0, 0x2D, + 0x5A, 0xB4, 0x25, 0x4A, 0x94, 0x65, 0xCA, 0xD9, 0xFF, 0xB3, 0x2B, 0x56, + 0xAC, 0x15, 0x2A, 0x54, 0xA8, 0x1D, 0x3A, 0x74, 0xE8, 0x9D, 0x77, 0xEE, + 0x91, 0x6F, 0xDE, 0xF1, 0xAF, 0x13, 0x26, 0x4C, 0x98, 0x7D, 0xFA, 0xB9, + 0x3F, 0x7E, 0xFC, 0xB5, 0x27, 0x4E, 0x9C, 0x75, 0xEA, 0x99, 0x7F, 0xFE, + 0xB1, 0x2F, 0x5E, 0xBC, 0x35, 0x6A, 0xD4, 0xE5, 0x87, 0x43, 0x86, 0x41, + 0x82, 0x49, 0x92, 0x69, 0xD2, 0xE9, 0x9F, 0x73, 0xE6, 0x81, 0x4F, 0x9E, + 0x71, 0xE2, 0x89, 0x5F, 0xBE, 0x31, 0x62, 0xC4, 0xC5, 0xC7, 0xC3, 0xCB +}; + + +/* The table constants are indices of + * S-box entries, preprocessed through q0 and q1. */ +static byte calc_sb_tbl[512] = { + 0xA9, 0x75, 0x67, 0xF3, 0xB3, 0xC6, 0xE8, 0xF4, + 0x04, 0xDB, 0xFD, 0x7B, 0xA3, 0xFB, 0x76, 0xC8, + 0x9A, 0x4A, 0x92, 0xD3, 0x80, 0xE6, 0x78, 0x6B, + 0xE4, 0x45, 0xDD, 0x7D, 0xD1, 0xE8, 0x38, 0x4B, + 0x0D, 0xD6, 0xC6, 0x32, 0x35, 0xD8, 0x98, 0xFD, + 0x18, 0x37, 0xF7, 0x71, 0xEC, 0xF1, 0x6C, 0xE1, + 0x43, 0x30, 0x75, 0x0F, 0x37, 0xF8, 0x26, 0x1B, + 0xFA, 0x87, 0x13, 0xFA, 0x94, 0x06, 0x48, 0x3F, + 0xF2, 0x5E, 0xD0, 0xBA, 0x8B, 0xAE, 0x30, 0x5B, + 0x84, 0x8A, 0x54, 0x00, 0xDF, 0xBC, 0x23, 0x9D, + 0x19, 0x6D, 0x5B, 0xC1, 0x3D, 0xB1, 0x59, 0x0E, + 0xF3, 0x80, 0xAE, 0x5D, 0xA2, 0xD2, 0x82, 0xD5, + 0x63, 0xA0, 0x01, 0x84, 0x83, 0x07, 0x2E, 0x14, + 0xD9, 0xB5, 0x51, 0x90, 0x9B, 0x2C, 0x7C, 0xA3, + 0xA6, 0xB2, 0xEB, 0x73, 0xA5, 0x4C, 0xBE, 0x54, + 0x16, 0x92, 0x0C, 0x74, 0xE3, 0x36, 0x61, 0x51, + 0xC0, 0x38, 0x8C, 0xB0, 0x3A, 0xBD, 0xF5, 0x5A, + 0x73, 0xFC, 0x2C, 0x60, 0x25, 0x62, 0x0B, 0x96, + 0xBB, 0x6C, 0x4E, 0x42, 0x89, 0xF7, 0x6B, 0x10, + 0x53, 0x7C, 0x6A, 0x28, 0xB4, 0x27, 0xF1, 0x8C, + 0xE1, 0x13, 0xE6, 0x95, 0xBD, 0x9C, 0x45, 0xC7, + 0xE2, 0x24, 0xF4, 0x46, 0xB6, 0x3B, 0x66, 0x70, + 0xCC, 0xCA, 0x95, 0xE3, 0x03, 0x85, 0x56, 0xCB, + 0xD4, 0x11, 0x1C, 0xD0, 0x1E, 0x93, 0xD7, 0xB8, + 0xFB, 0xA6, 0xC3, 0x83, 0x8E, 0x20, 0xB5, 0xFF, + 0xE9, 0x9F, 0xCF, 0x77, 0xBF, 0xC3, 0xBA, 0xCC, + 0xEA, 0x03, 0x77, 0x6F, 0x39, 0x08, 0xAF, 0xBF, + 0x33, 0x40, 0xC9, 0xE7, 0x62, 0x2B, 0x71, 0xE2, + 0x81, 0x79, 0x79, 0x0C, 0x09, 0xAA, 0xAD, 0x82, + 0x24, 0x41, 0xCD, 0x3A, 0xF9, 0xEA, 0xD8, 0xB9, + 0xE5, 0xE4, 0xC5, 0x9A, 0xB9, 0xA4, 0x4D, 0x97, + 0x44, 0x7E, 0x08, 0xDA, 0x86, 0x7A, 0xE7, 0x17, + 0xA1, 0x66, 0x1D, 0x94, 0xAA, 0xA1, 0xED, 0x1D, + 0x06, 0x3D, 0x70, 0xF0, 0xB2, 0xDE, 0xD2, 0xB3, + 0x41, 0x0B, 0x7B, 0x72, 0xA0, 0xA7, 0x11, 0x1C, + 0x31, 0xEF, 0xC2, 0xD1, 0x27, 0x53, 0x90, 0x3E, + 0x20, 0x8F, 0xF6, 0x33, 0x60, 0x26, 0xFF, 0x5F, + 0x96, 0xEC, 0x5C, 0x76, 0xB1, 0x2A, 0xAB, 0x49, + 0x9E, 0x81, 0x9C, 0x88, 0x52, 0xEE, 0x1B, 0x21, + 0x5F, 0xC4, 0x93, 0x1A, 0x0A, 0xEB, 0xEF, 0xD9, + 0x91, 0xC5, 0x85, 0x39, 0x49, 0x99, 0xEE, 0xCD, + 0x2D, 0xAD, 0x4F, 0x31, 0x8F, 0x8B, 0x3B, 0x01, + 0x47, 0x18, 0x87, 0x23, 0x6D, 0xDD, 0x46, 0x1F, + 0xD6, 0x4E, 0x3E, 0x2D, 0x69, 0xF9, 0x64, 0x48, + 0x2A, 0x4F, 0xCE, 0xF2, 0xCB, 0x65, 0x2F, 0x8E, + 0xFC, 0x78, 0x97, 0x5C, 0x05, 0x58, 0x7A, 0x19, + 0xAC, 0x8D, 0x7F, 0xE5, 0xD5, 0x98, 0x1A, 0x57, + 0x4B, 0x67, 0x0E, 0x7F, 0xA7, 0x05, 0x5A, 0x64, + 0x28, 0xAF, 0x14, 0x63, 0x3F, 0xB6, 0x29, 0xFE, + 0x88, 0xF5, 0x3C, 0xB7, 0x4C, 0x3C, 0x02, 0xA5, + 0xB8, 0xCE, 0xDA, 0xE9, 0xB0, 0x68, 0x17, 0x44, + 0x55, 0xE0, 0x1F, 0x4D, 0x8A, 0x43, 0x7D, 0x69, + 0x57, 0x29, 0xC7, 0x2E, 0x8D, 0xAC, 0x74, 0x15, + 0xB7, 0x59, 0xC4, 0xA8, 0x9F, 0x0A, 0x72, 0x9E, + 0x7E, 0x6E, 0x15, 0x47, 0x22, 0xDF, 0x12, 0x34, + 0x58, 0x35, 0x07, 0x6A, 0x99, 0xCF, 0x34, 0xDC, + 0x6E, 0x22, 0x50, 0xC9, 0xDE, 0xC0, 0x68, 0x9B, + 0x65, 0x89, 0xBC, 0xD4, 0xDB, 0xED, 0xF8, 0xAB, + 0xC8, 0x12, 0xA8, 0xA2, 0x2B, 0x0D, 0x40, 0x52, + 0xDC, 0xBB, 0xFE, 0x02, 0x32, 0x2F, 0xA4, 0xA9, + 0xCA, 0xD7, 0x10, 0x61, 0x21, 0x1E, 0xF0, 0xB4, + 0xD3, 0x50, 0x5D, 0x04, 0x0F, 0xF6, 0x00, 0xC2, + 0x6F, 0x16, 0x9D, 0x25, 0x36, 0x86, 0x42, 0x56, + 0x4A, 0x55, 0x5E, 0x09, 0xC1, 0xBE, 0xE0, 0x91 +}; +/* Macro to perform one column of the RS matrix multiplication. The + * parameters a, b, c, and d are the four bytes of output; i is the index + * of the key bytes, and w, x, y, and z, are the column of constants from + * the RS matrix, preprocessed through the poly_to_exp table. */ + +#define CALC_S(a, b, c, d, i, w, x, y, z) \ + if (key[i]) { \ + tmp = poly_to_exp[key[i] - 1]; \ + (a) ^= exp_to_poly[tmp + (w)]; \ + (b) ^= exp_to_poly[tmp + (x)]; \ + (c) ^= exp_to_poly[tmp + (y)]; \ + (d) ^= exp_to_poly[tmp + (z)]; \ + } + +/* Macros to calculate the key-dependent S-boxes for a 128-bit key using + * the S vector from CALC_S. CALC_SB_2 computes a single entry in all + * four S-boxes, where i is the index of the entry to compute, and a and b + * are the index numbers preprocessed through the q0 and q1 tables + * respectively. CALC_SB is simply a convenience to make the code shorter; + * it calls CALC_SB_2 four times with consecutive indices from i to i+3, + * using the remaining parameters two by two. */ + +#define CALC_SB_2(i, a, b) \ + ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ + ctx->s[1][i] = mds[1][q0[(b) ^ sb] ^ sf]; \ + ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ + ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh] + +#define CALC_SB(i, a, b, c, d, e, f, g, h) \ + CALC_SB_2 (i, a, b); CALC_SB_2 ((i)+1, c, d); \ + CALC_SB_2 ((i)+2, e, f); CALC_SB_2 ((i)+3, g, h) + +/* Macros exactly like CALC_SB and CALC_SB_2, but for 256-bit keys. */ + +#define CALC_SB256_2(i, a, b) \ + ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \ + ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \ + ctx->s[2][i] = mds[2][q1[q0[q0[(a) ^ sc] ^ sg] ^ sk] ^ so]; \ + ctx->s[3][i] = mds[3][q1[q1[q0[(b) ^ sd] ^ sh] ^ sl] ^ sp]; + +#define CALC_SB256(i, a, b, c, d, e, f, g, h) \ + CALC_SB256_2 (i, a, b); CALC_SB256_2 ((i)+1, c, d); \ + CALC_SB256_2 ((i)+2, e, f); CALC_SB256_2 ((i)+3, g, h) + +/* Macros to calculate the whitening and round subkeys. CALC_K_2 computes the + * last two stages of the h() function for a given index (either 2i or 2i+1). + * a, b, c, and d are the four bytes going into the last two stages. For + * 128-bit keys, this is the entire h() function and a and c are the index + * preprocessed through q0 and q1 respectively; for longer keys they are the + * output of previous stages. j is the index of the first key byte to use. + * CALC_K computes a pair of subkeys for 128-bit Twofish, by calling CALC_K_2 + * twice, doing the Psuedo-Hadamard Transform, and doing the necessary + * rotations. Its parameters are: a, the array to write the results into, + * j, the index of the first output entry, k and l, the preprocessed indices + * for index 2i, and m and n, the preprocessed indices for index 2i+1. + * CALC_K256_2 expands CALC_K_2 to handle 256-bit keys, by doing two + * additional lookup-and-XOR stages. The parameters a and b are the index + * preprocessed through q0 and q1 respectively; j is the index of the first + * key byte to use. CALC_K256 is identical to CALC_K but for using the + * CALC_K256_2 macro instead of CALC_K_2. */ + +#define CALC_K_2(a, b, c, d, j) \ + mds[0][q0[a ^ key[(j) + 8]] ^ key[j]] \ + ^ mds[1][q0[b ^ key[(j) + 9]] ^ key[(j) + 1]] \ + ^ mds[2][q1[c ^ key[(j) + 10]] ^ key[(j) + 2]] \ + ^ mds[3][q1[d ^ key[(j) + 11]] ^ key[(j) + 3]] + +#define CALC_K(a, j, k, l, m, n) \ + x = CALC_K_2 (k, l, k, l, 0); \ + y = CALC_K_2 (m, n, m, n, 4); \ + y = (y << 8) + (y >> 24); \ + x += y; y += x; ctx->a[j] = x; \ + ctx->a[(j) + 1] = (y << 9) + (y >> 23) + +#define CALC_K256_2(a, b, j) \ + CALC_K_2 (q0[q1[b ^ key[(j) + 24]] ^ key[(j) + 16]], \ + q1[q1[a ^ key[(j) + 25]] ^ key[(j) + 17]], \ + q0[q0[a ^ key[(j) + 26]] ^ key[(j) + 18]], \ + q1[q0[b ^ key[(j) + 27]] ^ key[(j) + 19]], j) + +#define CALC_K256(a, j, k, l, m, n) \ + x = CALC_K256_2 (k, l, 0); \ + y = CALC_K256_2 (m, n, 4); \ + y = (y << 8) + (y >> 24); \ + x += y; y += x; ctx->a[j] = x; \ + ctx->a[(j) + 1] = (y << 9) + (y >> 23) + + + +/* Perform the key setup. Note that this works only with 128- and 256-bit + * keys, despite the API that looks like it might support other sizes. */ + +static gcry_err_code_t +do_twofish_setkey (TWOFISH_context *ctx, const byte *key, const unsigned keylen) +{ + int i, j, k; + + /* Temporaries for CALC_K. */ + u32 x, y; + + /* The S vector used to key the S-boxes, split up into individual bytes. + * 128-bit keys use only sa through sh; 256-bit use all of them. */ + byte sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; + byte si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; + + /* Temporary for CALC_S. */ + byte tmp; + + /* Flags for self-test. */ + static int initialized = 0; + static const char *selftest_failed=0; + + /* Check key length. */ + if( ( ( keylen - 16 ) | 16 ) != 16 ) + return GPG_ERR_INV_KEYLEN; + + /* Do self-test if necessary. */ + if (!initialized) + { + initialized = 1; + selftest_failed = selftest (); + if( selftest_failed ) + log_error("%s\n", selftest_failed ); + } + if( selftest_failed ) + return GPG_ERR_SELFTEST_FAILED; + + /* Compute the first two words of the S vector. The magic numbers are + * the entries of the RS matrix, preprocessed through poly_to_exp. The + * numbers in the comments are the original (polynomial form) matrix + * entries. */ + CALC_S (sa, sb, sc, sd, 0, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ + CALC_S (sa, sb, sc, sd, 1, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ + CALC_S (sa, sb, sc, sd, 2, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ + CALC_S (sa, sb, sc, sd, 3, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ + CALC_S (sa, sb, sc, sd, 4, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ + CALC_S (sa, sb, sc, sd, 5, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ + CALC_S (sa, sb, sc, sd, 6, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ + CALC_S (sa, sb, sc, sd, 7, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ + CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ + CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ + CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ + CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ + CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ + CALC_S (se, sf, sg, sh, 13, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ + CALC_S (se, sf, sg, sh, 14, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ + CALC_S (se, sf, sg, sh, 15, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ + + if (keylen == 32) /* 256-bit key */ + { + /* Calculate the remaining two words of the S vector */ + CALC_S (si, sj, sk, sl, 16, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ + CALC_S (si, sj, sk, sl, 17, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ + CALC_S (si, sj, sk, sl, 18, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ + CALC_S (si, sj, sk, sl, 19, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ + CALC_S (si, sj, sk, sl, 20, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ + CALC_S (si, sj, sk, sl, 21, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ + CALC_S (si, sj, sk, sl, 22, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ + CALC_S (si, sj, sk, sl, 23, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ + CALC_S (sm, sn, so, sp, 24, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ + CALC_S (sm, sn, so, sp, 25, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ + CALC_S (sm, sn, so, sp, 26, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ + CALC_S (sm, sn, so, sp, 27, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ + CALC_S (sm, sn, so, sp, 28, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ + CALC_S (sm, sn, so, sp, 29, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ + CALC_S (sm, sn, so, sp, 30, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ + CALC_S (sm, sn, so, sp, 31, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ + + /* Compute the S-boxes. */ + for(i=j=0,k=1; i < 256; i++, j += 2, k += 2 ) + { + CALC_SB256_2( i, calc_sb_tbl[j], calc_sb_tbl[k] ); + } + + /* Calculate whitening and round subkeys. The constants are + * indices of subkeys, preprocessed through q0 and q1. */ + CALC_K256 (w, 0, 0xA9, 0x75, 0x67, 0xF3); + CALC_K256 (w, 2, 0xB3, 0xC6, 0xE8, 0xF4); + CALC_K256 (w, 4, 0x04, 0xDB, 0xFD, 0x7B); + CALC_K256 (w, 6, 0xA3, 0xFB, 0x76, 0xC8); + CALC_K256 (k, 0, 0x9A, 0x4A, 0x92, 0xD3); + CALC_K256 (k, 2, 0x80, 0xE6, 0x78, 0x6B); + CALC_K256 (k, 4, 0xE4, 0x45, 0xDD, 0x7D); + CALC_K256 (k, 6, 0xD1, 0xE8, 0x38, 0x4B); + CALC_K256 (k, 8, 0x0D, 0xD6, 0xC6, 0x32); + CALC_K256 (k, 10, 0x35, 0xD8, 0x98, 0xFD); + CALC_K256 (k, 12, 0x18, 0x37, 0xF7, 0x71); + CALC_K256 (k, 14, 0xEC, 0xF1, 0x6C, 0xE1); + CALC_K256 (k, 16, 0x43, 0x30, 0x75, 0x0F); + CALC_K256 (k, 18, 0x37, 0xF8, 0x26, 0x1B); + CALC_K256 (k, 20, 0xFA, 0x87, 0x13, 0xFA); + CALC_K256 (k, 22, 0x94, 0x06, 0x48, 0x3F); + CALC_K256 (k, 24, 0xF2, 0x5E, 0xD0, 0xBA); + CALC_K256 (k, 26, 0x8B, 0xAE, 0x30, 0x5B); + CALC_K256 (k, 28, 0x84, 0x8A, 0x54, 0x00); + CALC_K256 (k, 30, 0xDF, 0xBC, 0x23, 0x9D); + } + else + { + /* Compute the S-boxes. */ + for(i=j=0,k=1; i < 256; i++, j += 2, k += 2 ) + { + CALC_SB_2( i, calc_sb_tbl[j], calc_sb_tbl[k] ); + } + + /* Calculate whitening and round subkeys. The constants are + * indices of subkeys, preprocessed through q0 and q1. */ + CALC_K (w, 0, 0xA9, 0x75, 0x67, 0xF3); + CALC_K (w, 2, 0xB3, 0xC6, 0xE8, 0xF4); + CALC_K (w, 4, 0x04, 0xDB, 0xFD, 0x7B); + CALC_K (w, 6, 0xA3, 0xFB, 0x76, 0xC8); + CALC_K (k, 0, 0x9A, 0x4A, 0x92, 0xD3); + CALC_K (k, 2, 0x80, 0xE6, 0x78, 0x6B); + CALC_K (k, 4, 0xE4, 0x45, 0xDD, 0x7D); + CALC_K (k, 6, 0xD1, 0xE8, 0x38, 0x4B); + CALC_K (k, 8, 0x0D, 0xD6, 0xC6, 0x32); + CALC_K (k, 10, 0x35, 0xD8, 0x98, 0xFD); + CALC_K (k, 12, 0x18, 0x37, 0xF7, 0x71); + CALC_K (k, 14, 0xEC, 0xF1, 0x6C, 0xE1); + CALC_K (k, 16, 0x43, 0x30, 0x75, 0x0F); + CALC_K (k, 18, 0x37, 0xF8, 0x26, 0x1B); + CALC_K (k, 20, 0xFA, 0x87, 0x13, 0xFA); + CALC_K (k, 22, 0x94, 0x06, 0x48, 0x3F); + CALC_K (k, 24, 0xF2, 0x5E, 0xD0, 0xBA); + CALC_K (k, 26, 0x8B, 0xAE, 0x30, 0x5B); + CALC_K (k, 28, 0x84, 0x8A, 0x54, 0x00); + CALC_K (k, 30, 0xDF, 0xBC, 0x23, 0x9D); + } + + return 0; +} + +static gcry_err_code_t +twofish_setkey (void *context, const byte *key, unsigned int keylen) +{ + TWOFISH_context *ctx = context; + int rc = do_twofish_setkey (ctx, key, keylen); + _gcry_burn_stack (23+6*sizeof(void*)); + return rc; +} + + + +/* Macros to compute the g() function in the encryption and decryption + * rounds. G1 is the straight g() function; G2 includes the 8-bit + * rotation for the high 32-bit word. */ + +#define G1(a) \ + (ctx->s[0][(a) & 0xFF]) ^ (ctx->s[1][((a) >> 8) & 0xFF]) \ + ^ (ctx->s[2][((a) >> 16) & 0xFF]) ^ (ctx->s[3][(a) >> 24]) + +#define G2(b) \ + (ctx->s[1][(b) & 0xFF]) ^ (ctx->s[2][((b) >> 8) & 0xFF]) \ + ^ (ctx->s[3][((b) >> 16) & 0xFF]) ^ (ctx->s[0][(b) >> 24]) + +/* Encryption and decryption Feistel rounds. Each one calls the two g() + * macros, does the PHT, and performs the XOR and the appropriate bit + * rotations. The parameters are the round number (used to select subkeys), + * and the four 32-bit chunks of the text. */ + +#define ENCROUND(n, a, b, c, d) \ + x = G1 (a); y = G2 (b); \ + x += y; y += x + ctx->k[2 * (n) + 1]; \ + (c) ^= x + ctx->k[2 * (n)]; \ + (c) = ((c) >> 1) + ((c) << 31); \ + (d) = (((d) << 1)+((d) >> 31)) ^ y + +#define DECROUND(n, a, b, c, d) \ + x = G1 (a); y = G2 (b); \ + x += y; y += x; \ + (d) ^= y + ctx->k[2 * (n) + 1]; \ + (d) = ((d) >> 1) + ((d) << 31); \ + (c) = (((c) << 1)+((c) >> 31)); \ + (c) ^= (x + ctx->k[2 * (n)]) + +/* Encryption and decryption cycles; each one is simply two Feistel rounds + * with the 32-bit chunks re-ordered to simulate the "swap" */ + +#define ENCCYCLE(n) \ + ENCROUND (2 * (n), a, b, c, d); \ + ENCROUND (2 * (n) + 1, c, d, a, b) + +#define DECCYCLE(n) \ + DECROUND (2 * (n) + 1, c, d, a, b); \ + DECROUND (2 * (n), a, b, c, d) + +/* Macros to convert the input and output bytes into 32-bit words, + * and simultaneously perform the whitening step. INPACK packs word + * number n into the variable named by x, using whitening subkey number m. + * OUTUNPACK unpacks word number n from the variable named by x, using + * whitening subkey number m. */ + +#define INPACK(n, x, m) \ + x = in[4 * (n)] ^ (in[4 * (n) + 1] << 8) \ + ^ (in[4 * (n) + 2] << 16) ^ (in[4 * (n) + 3] << 24) ^ ctx->w[m] + +#define OUTUNPACK(n, x, m) \ + x ^= ctx->w[m]; \ + out[4 * (n)] = x; out[4 * (n) + 1] = x >> 8; \ + out[4 * (n) + 2] = x >> 16; out[4 * (n) + 3] = x >> 24 + +/* Encrypt one block. in and out may be the same. */ + +static void +do_twofish_encrypt (const TWOFISH_context *ctx, byte *out, const byte *in) +{ + /* The four 32-bit chunks of the text. */ + u32 a, b, c, d; + + /* Temporaries used by the round function. */ + u32 x, y; + + /* Input whitening and packing. */ + INPACK (0, a, 0); + INPACK (1, b, 1); + INPACK (2, c, 2); + INPACK (3, d, 3); + + /* Encryption Feistel cycles. */ + ENCCYCLE (0); + ENCCYCLE (1); + ENCCYCLE (2); + ENCCYCLE (3); + ENCCYCLE (4); + ENCCYCLE (5); + ENCCYCLE (6); + ENCCYCLE (7); + + /* Output whitening and unpacking. */ + OUTUNPACK (0, c, 4); + OUTUNPACK (1, d, 5); + OUTUNPACK (2, a, 6); + OUTUNPACK (3, b, 7); +} + +static void +twofish_encrypt (void *context, byte *out, const byte *in) +{ + TWOFISH_context *ctx = context; + do_twofish_encrypt (ctx, out, in); + _gcry_burn_stack (24+3*sizeof (void*)); +} + + +/* Decrypt one block. in and out may be the same. */ + +static void +do_twofish_decrypt (const TWOFISH_context *ctx, byte *out, const byte *in) +{ + /* The four 32-bit chunks of the text. */ + u32 a, b, c, d; + + /* Temporaries used by the round function. */ + u32 x, y; + + /* Input whitening and packing. */ + INPACK (0, c, 4); + INPACK (1, d, 5); + INPACK (2, a, 6); + INPACK (3, b, 7); + + /* Encryption Feistel cycles. */ + DECCYCLE (7); + DECCYCLE (6); + DECCYCLE (5); + DECCYCLE (4); + DECCYCLE (3); + DECCYCLE (2); + DECCYCLE (1); + DECCYCLE (0); + + /* Output whitening and unpacking. */ + OUTUNPACK (0, a, 0); + OUTUNPACK (1, b, 1); + OUTUNPACK (2, c, 2); + OUTUNPACK (3, d, 3); +} + +static void +twofish_decrypt (void *context, byte *out, const byte *in) +{ + TWOFISH_context *ctx = context; + + do_twofish_decrypt (ctx, out, in); + _gcry_burn_stack (24+3*sizeof (void*)); +} + + +/* Test a single encryption and decryption with each key size. */ + + +/* More complete test program. This does 1000 encryptions and decryptions + * with each of 250 128-bit keys and 2000 encryptions and decryptions with + * each of 125 256-bit keys, using a feedback scheme similar to a Feistel + * cipher, so as to be sure of testing all the table entries pretty + * thoroughly. We keep changing the keys so as to get a more meaningful + * performance number, since the key setup is non-trivial for Twofish. */ + +#ifdef TEST + + +int +main() +{ + TWOFISH_context ctx; /* Expanded key. */ + int i, j; /* Loop counters. */ + + const char *encrypt_msg; /* Message to print regarding encryption test; + * the printf is done outside the loop to avoid + * stuffing up the timing. */ + clock_t timer; /* For computing elapsed time. */ + + /* Test buffer. */ + byte buffer[4][16] = { + {0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, + 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF}, + {0x0F, 0x1E, 0x2D, 0x3C, 0x4B, 0x5A, 0x69, 0x78, + 0x87, 0x96, 0xA5, 0xB4, 0xC3, 0xD2 ,0xE1, 0xF0}, + {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF, + 0xFE, 0xDC, 0xBA, 0x98, 0x76, 0x54 ,0x32, 0x10}, + {0x01, 0x23, 0x45, 0x67, 0x76, 0x54 ,0x32, 0x10, + 0x89, 0xAB, 0xCD, 0xEF, 0xFE, 0xDC, 0xBA, 0x98} + }; + + /* Expected outputs for the million-operation test */ + static const byte test_encrypt[4][16] = { + {0xC8, 0x23, 0xB8, 0xB7, 0x6B, 0xFE, 0x91, 0x13, + 0x2F, 0xA7, 0x5E, 0xE6, 0x94, 0x77, 0x6F, 0x6B}, + {0x90, 0x36, 0xD8, 0x29, 0xD5, 0x96, 0xC2, 0x8E, + 0xE4, 0xFF, 0x76, 0xBC, 0xE5, 0x77, 0x88, 0x27}, + {0xB8, 0x78, 0x69, 0xAF, 0x42, 0x8B, 0x48, 0x64, + 0xF7, 0xE9, 0xF3, 0x9C, 0x42, 0x18, 0x7B, 0x73}, + {0x7A, 0x88, 0xFB, 0xEB, 0x90, 0xA4, 0xB4, 0xA8, + 0x43, 0xA3, 0x1D, 0xF1, 0x26, 0xC4, 0x53, 0x57} + }; + static const byte test_decrypt[4][16] = { + {0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, + 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF}, + {0x0F, 0x1E, 0x2D, 0x3C, 0x4B, 0x5A, 0x69, 0x78, + 0x87, 0x96, 0xA5, 0xB4, 0xC3, 0xD2 ,0xE1, 0xF0}, + {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF, + 0xFE, 0xDC, 0xBA, 0x98, 0x76, 0x54 ,0x32, 0x10}, + {0x01, 0x23, 0x45, 0x67, 0x76, 0x54 ,0x32, 0x10, + 0x89, 0xAB, 0xCD, 0xEF, 0xFE, 0xDC, 0xBA, 0x98} + }; + + /* Start the timer ticking. */ + timer = clock (); + + /* Encryption test. */ + for (i = 0; i < 125; i++) + { + twofish_setkey (&ctx, buffer[0], sizeof (buffer[0])); + for (j = 0; j < 1000; j++) + twofish_encrypt (&ctx, buffer[2], buffer[2]); + twofish_setkey (&ctx, buffer[1], sizeof (buffer[1])); + for (j = 0; j < 1000; j++) + twofish_encrypt (&ctx, buffer[3], buffer[3]); + twofish_setkey (&ctx, buffer[2], sizeof (buffer[2])*2); + for (j = 0; j < 1000; j++) { + twofish_encrypt (&ctx, buffer[0], buffer[0]); + twofish_encrypt (&ctx, buffer[1], buffer[1]); + } + } + encrypt_msg = memcmp (buffer, test_encrypt, sizeof (test_encrypt)) ? + "encryption failure!\n" : "encryption OK!\n"; + + /* Decryption test. */ + for (i = 0; i < 125; i++) + { + twofish_setkey (&ctx, buffer[2], sizeof (buffer[2])*2); + for (j = 0; j < 1000; j++) { + twofish_decrypt (&ctx, buffer[0], buffer[0]); + twofish_decrypt (&ctx, buffer[1], buffer[1]); + } + twofish_setkey (&ctx, buffer[1], sizeof (buffer[1])); + for (j = 0; j < 1000; j++) + twofish_decrypt (&ctx, buffer[3], buffer[3]); + twofish_setkey (&ctx, buffer[0], sizeof (buffer[0])); + for (j = 0; j < 1000; j++) + twofish_decrypt (&ctx, buffer[2], buffer[2]); + } + + /* Stop the timer, and print results. */ + timer = clock () - timer; + printf (encrypt_msg); + printf (memcmp (buffer, test_decrypt, sizeof (test_decrypt)) ? + "decryption failure!\n" : "decryption OK!\n"); + printf ("elapsed time: %.1f s.\n", (float) timer / CLOCKS_PER_SEC); + + return 0; +} + +#endif /* TEST */ + + + +gcry_cipher_spec_t _gcry_cipher_spec_twofish = + { + "TWOFISH", NULL, NULL, 16, 256, sizeof (TWOFISH_context), + twofish_setkey, twofish_encrypt, twofish_decrypt + }; + +gcry_cipher_spec_t _gcry_cipher_spec_twofish128 = + { + "TWOFISH128", NULL, NULL, 16, 128, sizeof (TWOFISH_context), + twofish_setkey, twofish_encrypt, twofish_decrypt + }; + + +GRUB_MOD_INIT(gcry_twofish) +{ + grub_cipher_register (&_gcry_cipher_spec_twofish); + grub_cipher_register (&_gcry_cipher_spec_twofish128); +} + +GRUB_MOD_FINI(gcry_twofish) +{ + grub_cipher_unregister (&_gcry_cipher_spec_twofish); + grub_cipher_unregister (&_gcry_cipher_spec_twofish128); +} diff --git a/grub-core/lib/libgcrypt-grub/cipher/types.h b/grub-core/lib/libgcrypt-grub/cipher/types.h new file mode 100644 index 0000000..2ec78b6 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/types.h @@ -0,0 +1,2 @@ +#include +#include diff --git a/grub-core/lib/libgcrypt-grub/cipher/whirlpool.c b/grub-core/lib/libgcrypt-grub/cipher/whirlpool.c new file mode 100644 index 0000000..d4ea993 --- /dev/null +++ b/grub-core/lib/libgcrypt-grub/cipher/whirlpool.c @@ -0,0 +1,1419 @@ +/* This file was automatically imported with + import_gcry.py. Please don't modify it */ +#include +GRUB_MOD_LICENSE ("GPLv3+"); +/* whirlpool.c - Whirlpool hashing algorithm + * Copyright (C) 2005 Free Software Foundation, Inc. + * + * This file is part of Libgcrypt. + * + * Libgcrypt is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * Libgcrypt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + */ + +/* This is an implementation of the Whirlpool hashing algorithm, which + has been developed by Vincent Rijmen and Paulo S. L. M. Barreto; + it's homepage is located at: + http://planeta.terra.com.br/informatica/paulobarreto/WhirlpoolPage.html. + + The S-Boxes and the structure of the main transformation function, + which implements an optimized version of the algorithm, is taken + from the reference implementation available from + http://planeta.terra.com.br/informatica/paulobarreto/whirlpool.zip. */ + + +#include "types.h" +#include "g10lib.h" +#include "memory.h" +#include "cipher.h" + +#include "bithelp.h" + +/* Size of a whirlpool block (in bytes). */ +#define BLOCK_SIZE 64 + +/* Number of rounds. */ +#define R 10 + + + +/* Types. */ +typedef u64 whirlpool_block_t[BLOCK_SIZE / 8]; + +typedef struct { + whirlpool_block_t hash_state; + unsigned char buffer[BLOCK_SIZE]; + size_t count; + unsigned char length[32]; +} whirlpool_context_t; + + + +/* Macros. */ + +/* Convert the the buffer BUFFER into a block BLOCK, using I as + counter. */ +#define buffer_to_block(buffer, block, i) \ + for (i = 0; i < 8; i++) \ + (block)[i] = ((u64) (0 \ + | (((u64) (buffer)[i * 8 + 0]) << 56) \ + | (((u64) (buffer)[i * 8 + 1]) << 48) \ + | (((u64) (buffer)[i * 8 + 2]) << 40) \ + | (((u64) (buffer)[i * 8 + 3]) << 32) \ + | (((u64) (buffer)[i * 8 + 4]) << 24) \ + | (((u64) (buffer)[i * 8 + 5]) << 16) \ + | (((u64) (buffer)[i * 8 + 6]) << 8) \ + | (((u64) (buffer)[i * 8 + 7]) << 0))); + +/* Convert the block BLOCK into a buffer BUFFER, using I as + counter. */ +#define block_to_buffer(buffer, block, i) \ + for (i = 0; i < 8; i++) \ + { \ + (buffer)[i * 8 + 0] = (block[i] >> 56) & 0xFF; \ + (buffer)[i * 8 + 1] = (block[i] >> 48) & 0xFF; \ + (buffer)[i * 8 + 2] = (block[i] >> 40) & 0xFF; \ + (buffer)[i * 8 + 3] = (block[i] >> 32) & 0xFF; \ + (buffer)[i * 8 + 4] = (block[i] >> 24) & 0xFF; \ + (buffer)[i * 8 + 5] = (block[i] >> 16) & 0xFF; \ + (buffer)[i * 8 + 6] = (block[i] >> 8) & 0xFF; \ + (buffer)[i * 8 + 7] = (block[i] >> 0) & 0xFF; \ + } + +/* Copy the block BLOCK_SRC to BLOCK_DST, using I as counter. */ +#define block_copy(block_dst, block_src, i) \ + for (i = 0; i < 8; i++) \ + block_dst[i] = block_src[i]; + +/* XOR the block BLOCK_SRC into BLOCK_DST, using I as counter. */ +#define block_xor(block_dst, block_src, i) \ + for (i = 0; i < 8; i++) \ + block_dst[i] ^= block_src[i]; + + + +/* Round constants. */ +static const u64 rc[R] = + { + U64_C (0x1823c6e887b8014f), + U64_C (0x36a6d2f5796f9152), + U64_C (0x60bc9b8ea30c7b35), + U64_C (0x1de0d7c22e4bfe57), + U64_C (0x157737e59ff04ada), + U64_C (0x58c9290ab1a06b85), + U64_C (0xbd5d10f4cb3e0567), + U64_C (0xe427418ba77d95d8), + U64_C (0xfbee7c66dd17479e), + U64_C (0xca2dbf07ad5a8333), + }; + + + +/* Main lookup boxes. */ +static const u64 C0[256] = + { + U64_C (0x18186018c07830d8), U64_C (0x23238c2305af4626), + U64_C (0xc6c63fc67ef991b8), U64_C (0xe8e887e8136fcdfb), + U64_C (0x878726874ca113cb), U64_C (0xb8b8dab8a9626d11), + U64_C (0x0101040108050209), U64_C (0x4f4f214f426e9e0d), + U64_C (0x3636d836adee6c9b), U64_C (0xa6a6a2a6590451ff), + U64_C (0xd2d26fd2debdb90c), U64_C (0xf5f5f3f5fb06f70e), + U64_C (0x7979f979ef80f296), U64_C (0x6f6fa16f5fcede30), + U64_C (0x91917e91fcef3f6d), U64_C (0x52525552aa07a4f8), + U64_C (0x60609d6027fdc047), U64_C (0xbcbccabc89766535), + U64_C (0x9b9b569baccd2b37), U64_C (0x8e8e028e048c018a), + U64_C (0xa3a3b6a371155bd2), U64_C (0x0c0c300c603c186c), + U64_C (0x7b7bf17bff8af684), U64_C (0x3535d435b5e16a80), + U64_C (0x1d1d741de8693af5), U64_C (0xe0e0a7e05347ddb3), + U64_C (0xd7d77bd7f6acb321), U64_C (0xc2c22fc25eed999c), + U64_C (0x2e2eb82e6d965c43), U64_C (0x4b4b314b627a9629), + U64_C (0xfefedffea321e15d), U64_C (0x575741578216aed5), + U64_C (0x15155415a8412abd), U64_C (0x7777c1779fb6eee8), + U64_C (0x3737dc37a5eb6e92), U64_C (0xe5e5b3e57b56d79e), + U64_C (0x9f9f469f8cd92313), U64_C (0xf0f0e7f0d317fd23), + U64_C (0x4a4a354a6a7f9420), U64_C (0xdada4fda9e95a944), + U64_C (0x58587d58fa25b0a2), U64_C (0xc9c903c906ca8fcf), + U64_C (0x2929a429558d527c), U64_C (0x0a0a280a5022145a), + U64_C (0xb1b1feb1e14f7f50), U64_C (0xa0a0baa0691a5dc9), + U64_C (0x6b6bb16b7fdad614), U64_C (0x85852e855cab17d9), + U64_C (0xbdbdcebd8173673c), U64_C (0x5d5d695dd234ba8f), + U64_C (0x1010401080502090), U64_C (0xf4f4f7f4f303f507), + U64_C (0xcbcb0bcb16c08bdd), U64_C (0x3e3ef83eedc67cd3), + U64_C (0x0505140528110a2d), U64_C (0x676781671fe6ce78), + U64_C (0xe4e4b7e47353d597), U64_C (0x27279c2725bb4e02), + U64_C (0x4141194132588273), U64_C (0x8b8b168b2c9d0ba7), + U64_C (0xa7a7a6a7510153f6), U64_C (0x7d7de97dcf94fab2), + U64_C (0x95956e95dcfb3749), U64_C (0xd8d847d88e9fad56), + U64_C (0xfbfbcbfb8b30eb70), U64_C (0xeeee9fee2371c1cd), + U64_C (0x7c7ced7cc791f8bb), U64_C (0x6666856617e3cc71), + U64_C (0xdddd53dda68ea77b), U64_C (0x17175c17b84b2eaf), + U64_C (0x4747014702468e45), U64_C (0x9e9e429e84dc211a), + U64_C (0xcaca0fca1ec589d4), U64_C (0x2d2db42d75995a58), + U64_C (0xbfbfc6bf9179632e), U64_C (0x07071c07381b0e3f), + U64_C (0xadad8ead012347ac), U64_C (0x5a5a755aea2fb4b0), + U64_C (0x838336836cb51bef), U64_C (0x3333cc3385ff66b6), + U64_C (0x636391633ff2c65c), U64_C (0x02020802100a0412), + U64_C (0xaaaa92aa39384993), U64_C (0x7171d971afa8e2de), + U64_C (0xc8c807c80ecf8dc6), U64_C (0x19196419c87d32d1), + U64_C (0x494939497270923b), U64_C (0xd9d943d9869aaf5f), + U64_C (0xf2f2eff2c31df931), U64_C (0xe3e3abe34b48dba8), + U64_C (0x5b5b715be22ab6b9), U64_C (0x88881a8834920dbc), + U64_C (0x9a9a529aa4c8293e), U64_C (0x262698262dbe4c0b), + U64_C (0x3232c8328dfa64bf), U64_C (0xb0b0fab0e94a7d59), + U64_C (0xe9e983e91b6acff2), U64_C (0x0f0f3c0f78331e77), + U64_C (0xd5d573d5e6a6b733), U64_C (0x80803a8074ba1df4), + U64_C (0xbebec2be997c6127), U64_C (0xcdcd13cd26de87eb), + U64_C (0x3434d034bde46889), U64_C (0x48483d487a759032), + U64_C (0xffffdbffab24e354), U64_C (0x7a7af57af78ff48d), + U64_C (0x90907a90f4ea3d64), U64_C (0x5f5f615fc23ebe9d), + U64_C (0x202080201da0403d), U64_C (0x6868bd6867d5d00f), + U64_C (0x1a1a681ad07234ca), U64_C (0xaeae82ae192c41b7), + U64_C (0xb4b4eab4c95e757d), U64_C (0x54544d549a19a8ce), + U64_C (0x93937693ece53b7f), U64_C (0x222288220daa442f), + U64_C (0x64648d6407e9c863), U64_C (0xf1f1e3f1db12ff2a), + U64_C (0x7373d173bfa2e6cc), U64_C (0x12124812905a2482), + U64_C (0x40401d403a5d807a), U64_C (0x0808200840281048), + U64_C (0xc3c32bc356e89b95), U64_C (0xecec97ec337bc5df), + U64_C (0xdbdb4bdb9690ab4d), U64_C (0xa1a1bea1611f5fc0), + U64_C (0x8d8d0e8d1c830791), U64_C (0x3d3df43df5c97ac8), + U64_C (0x97976697ccf1335b), U64_C (0x0000000000000000), + U64_C (0xcfcf1bcf36d483f9), U64_C (0x2b2bac2b4587566e), + U64_C (0x7676c57697b3ece1), U64_C (0x8282328264b019e6), + U64_C (0xd6d67fd6fea9b128), U64_C (0x1b1b6c1bd87736c3), + U64_C (0xb5b5eeb5c15b7774), U64_C (0xafaf86af112943be), + U64_C (0x6a6ab56a77dfd41d), U64_C (0x50505d50ba0da0ea), + U64_C (0x45450945124c8a57), U64_C (0xf3f3ebf3cb18fb38), + U64_C (0x3030c0309df060ad), U64_C (0xefef9bef2b74c3c4), + U64_C (0x3f3ffc3fe5c37eda), U64_C (0x55554955921caac7), + U64_C (0xa2a2b2a2791059db), U64_C (0xeaea8fea0365c9e9), + U64_C (0x656589650fecca6a), U64_C (0xbabad2bab9686903), + U64_C (0x2f2fbc2f65935e4a), U64_C (0xc0c027c04ee79d8e), + U64_C (0xdede5fdebe81a160), U64_C (0x1c1c701ce06c38fc), + U64_C (0xfdfdd3fdbb2ee746), U64_C (0x4d4d294d52649a1f), + U64_C (0x92927292e4e03976), U64_C (0x7575c9758fbceafa), + U64_C (0x06061806301e0c36), U64_C (0x8a8a128a249809ae), + U64_C (0xb2b2f2b2f940794b), U64_C (0xe6e6bfe66359d185), + U64_C (0x0e0e380e70361c7e), U64_C (0x1f1f7c1ff8633ee7), + U64_C (0x6262956237f7c455), U64_C (0xd4d477d4eea3b53a), + U64_C (0xa8a89aa829324d81), U64_C (0x96966296c4f43152), + U64_C (0xf9f9c3f99b3aef62), U64_C (0xc5c533c566f697a3), + U64_C (0x2525942535b14a10), U64_C (0x59597959f220b2ab), + U64_C (0x84842a8454ae15d0), U64_C (0x7272d572b7a7e4c5), + U64_C (0x3939e439d5dd72ec), U64_C (0x4c4c2d4c5a619816), + U64_C (0x5e5e655eca3bbc94), U64_C (0x7878fd78e785f09f), + U64_C (0x3838e038ddd870e5), U64_C (0x8c8c0a8c14860598), + U64_C (0xd1d163d1c6b2bf17), U64_C (0xa5a5aea5410b57e4), + U64_C (0xe2e2afe2434dd9a1), U64_C (0x616199612ff8c24e), + U64_C (0xb3b3f6b3f1457b42), U64_C (0x2121842115a54234), + U64_C (0x9c9c4a9c94d62508), U64_C (0x1e1e781ef0663cee), + U64_C (0x4343114322528661), U64_C (0xc7c73bc776fc93b1), + U64_C (0xfcfcd7fcb32be54f), U64_C (0x0404100420140824), + U64_C (0x51515951b208a2e3), U64_C (0x99995e99bcc72f25), + U64_C (0x6d6da96d4fc4da22), U64_C (0x0d0d340d68391a65), + U64_C (0xfafacffa8335e979), U64_C (0xdfdf5bdfb684a369), + U64_C (0x7e7ee57ed79bfca9), U64_C (0x242490243db44819), + U64_C (0x3b3bec3bc5d776fe), U64_C (0xabab96ab313d4b9a), + U64_C (0xcece1fce3ed181f0), U64_C (0x1111441188552299), + U64_C (0x8f8f068f0c890383), U64_C (0x4e4e254e4a6b9c04), + U64_C (0xb7b7e6b7d1517366), U64_C (0xebeb8beb0b60cbe0), + U64_C (0x3c3cf03cfdcc78c1), U64_C (0x81813e817cbf1ffd), + U64_C (0x94946a94d4fe3540), U64_C (0xf7f7fbf7eb0cf31c), + U64_C (0xb9b9deb9a1676f18), U64_C (0x13134c13985f268b), + U64_C (0x2c2cb02c7d9c5851), U64_C (0xd3d36bd3d6b8bb05), + U64_C (0xe7e7bbe76b5cd38c), U64_C (0x6e6ea56e57cbdc39), + U64_C (0xc4c437c46ef395aa), U64_C (0x03030c03180f061b), + U64_C (0x565645568a13acdc), U64_C (0x44440d441a49885e), + U64_C (0x7f7fe17fdf9efea0), U64_C (0xa9a99ea921374f88), + U64_C (0x2a2aa82a4d825467), U64_C (0xbbbbd6bbb16d6b0a), + U64_C (0xc1c123c146e29f87), U64_C (0x53535153a202a6f1), + U64_C (0xdcdc57dcae8ba572), U64_C (0x0b0b2c0b58271653), + U64_C (0x9d9d4e9d9cd32701), U64_C (0x6c6cad6c47c1d82b), + U64_C (0x3131c43195f562a4), U64_C (0x7474cd7487b9e8f3), + U64_C (0xf6f6fff6e309f115), U64_C (0x464605460a438c4c), + U64_C (0xacac8aac092645a5), U64_C (0x89891e893c970fb5), + U64_C (0x14145014a04428b4), U64_C (0xe1e1a3e15b42dfba), + U64_C (0x16165816b04e2ca6), U64_C (0x3a3ae83acdd274f7), + U64_C (0x6969b9696fd0d206), U64_C (0x09092409482d1241), + U64_C (0x7070dd70a7ade0d7), U64_C (0xb6b6e2b6d954716f), + U64_C (0xd0d067d0ceb7bd1e), U64_C (0xeded93ed3b7ec7d6), + U64_C (0xcccc17cc2edb85e2), U64_C (0x424215422a578468), + U64_C (0x98985a98b4c22d2c), U64_C (0xa4a4aaa4490e55ed), + U64_C (0x2828a0285d885075), U64_C (0x5c5c6d5cda31b886), + U64_C (0xf8f8c7f8933fed6b), U64_C (0x8686228644a411c2), + }; + +static const u64 C1[256] = + { + U64_C (0xd818186018c07830), U64_C (0x2623238c2305af46), + U64_C (0xb8c6c63fc67ef991), U64_C (0xfbe8e887e8136fcd), + U64_C (0xcb878726874ca113), U64_C (0x11b8b8dab8a9626d), + U64_C (0x0901010401080502), U64_C (0x0d4f4f214f426e9e), + U64_C (0x9b3636d836adee6c), U64_C (0xffa6a6a2a6590451), + U64_C (0x0cd2d26fd2debdb9), U64_C (0x0ef5f5f3f5fb06f7), + U64_C (0x967979f979ef80f2), U64_C (0x306f6fa16f5fcede), + U64_C (0x6d91917e91fcef3f), U64_C (0xf852525552aa07a4), + U64_C (0x4760609d6027fdc0), U64_C (0x35bcbccabc897665), + U64_C (0x379b9b569baccd2b), U64_C (0x8a8e8e028e048c01), + U64_C (0xd2a3a3b6a371155b), U64_C (0x6c0c0c300c603c18), + U64_C (0x847b7bf17bff8af6), U64_C (0x803535d435b5e16a), + U64_C (0xf51d1d741de8693a), U64_C (0xb3e0e0a7e05347dd), + U64_C (0x21d7d77bd7f6acb3), U64_C (0x9cc2c22fc25eed99), + U64_C (0x432e2eb82e6d965c), U64_C (0x294b4b314b627a96), + U64_C (0x5dfefedffea321e1), U64_C (0xd5575741578216ae), + U64_C (0xbd15155415a8412a), U64_C (0xe87777c1779fb6ee), + U64_C (0x923737dc37a5eb6e), U64_C (0x9ee5e5b3e57b56d7), + U64_C (0x139f9f469f8cd923), U64_C (0x23f0f0e7f0d317fd), + U64_C (0x204a4a354a6a7f94), U64_C (0x44dada4fda9e95a9), + U64_C (0xa258587d58fa25b0), U64_C (0xcfc9c903c906ca8f), + U64_C (0x7c2929a429558d52), U64_C (0x5a0a0a280a502214), + U64_C (0x50b1b1feb1e14f7f), U64_C (0xc9a0a0baa0691a5d), + U64_C (0x146b6bb16b7fdad6), U64_C (0xd985852e855cab17), + U64_C (0x3cbdbdcebd817367), U64_C (0x8f5d5d695dd234ba), + U64_C (0x9010104010805020), U64_C (0x07f4f4f7f4f303f5), + U64_C (0xddcbcb0bcb16c08b), U64_C (0xd33e3ef83eedc67c), + U64_C (0x2d0505140528110a), U64_C (0x78676781671fe6ce), + U64_C (0x97e4e4b7e47353d5), U64_C (0x0227279c2725bb4e), + U64_C (0x7341411941325882), U64_C (0xa78b8b168b2c9d0b), + U64_C (0xf6a7a7a6a7510153), U64_C (0xb27d7de97dcf94fa), + U64_C (0x4995956e95dcfb37), U64_C (0x56d8d847d88e9fad), + U64_C (0x70fbfbcbfb8b30eb), U64_C (0xcdeeee9fee2371c1), + U64_C (0xbb7c7ced7cc791f8), U64_C (0x716666856617e3cc), + U64_C (0x7bdddd53dda68ea7), U64_C (0xaf17175c17b84b2e), + U64_C (0x454747014702468e), U64_C (0x1a9e9e429e84dc21), + U64_C (0xd4caca0fca1ec589), U64_C (0x582d2db42d75995a), + U64_C (0x2ebfbfc6bf917963), U64_C (0x3f07071c07381b0e), + U64_C (0xacadad8ead012347), U64_C (0xb05a5a755aea2fb4), + U64_C (0xef838336836cb51b), U64_C (0xb63333cc3385ff66), + U64_C (0x5c636391633ff2c6), U64_C (0x1202020802100a04), + U64_C (0x93aaaa92aa393849), U64_C (0xde7171d971afa8e2), + U64_C (0xc6c8c807c80ecf8d), U64_C (0xd119196419c87d32), + U64_C (0x3b49493949727092), U64_C (0x5fd9d943d9869aaf), + U64_C (0x31f2f2eff2c31df9), U64_C (0xa8e3e3abe34b48db), + U64_C (0xb95b5b715be22ab6), U64_C (0xbc88881a8834920d), + U64_C (0x3e9a9a529aa4c829), U64_C (0x0b262698262dbe4c), + U64_C (0xbf3232c8328dfa64), U64_C (0x59b0b0fab0e94a7d), + U64_C (0xf2e9e983e91b6acf), U64_C (0x770f0f3c0f78331e), + U64_C (0x33d5d573d5e6a6b7), U64_C (0xf480803a8074ba1d), + U64_C (0x27bebec2be997c61), U64_C (0xebcdcd13cd26de87), + U64_C (0x893434d034bde468), U64_C (0x3248483d487a7590), + U64_C (0x54ffffdbffab24e3), U64_C (0x8d7a7af57af78ff4), + U64_C (0x6490907a90f4ea3d), U64_C (0x9d5f5f615fc23ebe), + U64_C (0x3d202080201da040), U64_C (0x0f6868bd6867d5d0), + U64_C (0xca1a1a681ad07234), U64_C (0xb7aeae82ae192c41), + U64_C (0x7db4b4eab4c95e75), U64_C (0xce54544d549a19a8), + U64_C (0x7f93937693ece53b), U64_C (0x2f222288220daa44), + U64_C (0x6364648d6407e9c8), U64_C (0x2af1f1e3f1db12ff), + U64_C (0xcc7373d173bfa2e6), U64_C (0x8212124812905a24), + U64_C (0x7a40401d403a5d80), U64_C (0x4808082008402810), + U64_C (0x95c3c32bc356e89b), U64_C (0xdfecec97ec337bc5), + U64_C (0x4ddbdb4bdb9690ab), U64_C (0xc0a1a1bea1611f5f), + U64_C (0x918d8d0e8d1c8307), U64_C (0xc83d3df43df5c97a), + U64_C (0x5b97976697ccf133), U64_C (0x0000000000000000), + U64_C (0xf9cfcf1bcf36d483), U64_C (0x6e2b2bac2b458756), + U64_C (0xe17676c57697b3ec), U64_C (0xe68282328264b019), + U64_C (0x28d6d67fd6fea9b1), U64_C (0xc31b1b6c1bd87736), + U64_C (0x74b5b5eeb5c15b77), U64_C (0xbeafaf86af112943), + U64_C (0x1d6a6ab56a77dfd4), U64_C (0xea50505d50ba0da0), + U64_C (0x5745450945124c8a), U64_C (0x38f3f3ebf3cb18fb), + U64_C (0xad3030c0309df060), U64_C (0xc4efef9bef2b74c3), + U64_C (0xda3f3ffc3fe5c37e), U64_C (0xc755554955921caa), + U64_C (0xdba2a2b2a2791059), U64_C (0xe9eaea8fea0365c9), + U64_C (0x6a656589650fecca), U64_C (0x03babad2bab96869), + U64_C (0x4a2f2fbc2f65935e), U64_C (0x8ec0c027c04ee79d), + U64_C (0x60dede5fdebe81a1), U64_C (0xfc1c1c701ce06c38), + U64_C (0x46fdfdd3fdbb2ee7), U64_C (0x1f4d4d294d52649a), + U64_C (0x7692927292e4e039), U64_C (0xfa7575c9758fbcea), + U64_C (0x3606061806301e0c), U64_C (0xae8a8a128a249809), + U64_C (0x4bb2b2f2b2f94079), U64_C (0x85e6e6bfe66359d1), + U64_C (0x7e0e0e380e70361c), U64_C (0xe71f1f7c1ff8633e), + U64_C (0x556262956237f7c4), U64_C (0x3ad4d477d4eea3b5), + U64_C (0x81a8a89aa829324d), U64_C (0x5296966296c4f431), + U64_C (0x62f9f9c3f99b3aef), U64_C (0xa3c5c533c566f697), + U64_C (0x102525942535b14a), U64_C (0xab59597959f220b2), + U64_C (0xd084842a8454ae15), U64_C (0xc57272d572b7a7e4), + U64_C (0xec3939e439d5dd72), U64_C (0x164c4c2d4c5a6198), + U64_C (0x945e5e655eca3bbc), U64_C (0x9f7878fd78e785f0), + U64_C (0xe53838e038ddd870), U64_C (0x988c8c0a8c148605), + U64_C (0x17d1d163d1c6b2bf), U64_C (0xe4a5a5aea5410b57), + U64_C (0xa1e2e2afe2434dd9), U64_C (0x4e616199612ff8c2), + U64_C (0x42b3b3f6b3f1457b), U64_C (0x342121842115a542), + U64_C (0x089c9c4a9c94d625), U64_C (0xee1e1e781ef0663c), + U64_C (0x6143431143225286), U64_C (0xb1c7c73bc776fc93), + U64_C (0x4ffcfcd7fcb32be5), U64_C (0x2404041004201408), + U64_C (0xe351515951b208a2), U64_C (0x2599995e99bcc72f), + U64_C (0x226d6da96d4fc4da), U64_C (0x650d0d340d68391a), + U64_C (0x79fafacffa8335e9), U64_C (0x69dfdf5bdfb684a3), + U64_C (0xa97e7ee57ed79bfc), U64_C (0x19242490243db448), + U64_C (0xfe3b3bec3bc5d776), U64_C (0x9aabab96ab313d4b), + U64_C (0xf0cece1fce3ed181), U64_C (0x9911114411885522), + U64_C (0x838f8f068f0c8903), U64_C (0x044e4e254e4a6b9c), + U64_C (0x66b7b7e6b7d15173), U64_C (0xe0ebeb8beb0b60cb), + U64_C (0xc13c3cf03cfdcc78), U64_C (0xfd81813e817cbf1f), + U64_C (0x4094946a94d4fe35), U64_C (0x1cf7f7fbf7eb0cf3), + U64_C (0x18b9b9deb9a1676f), U64_C (0x8b13134c13985f26), + U64_C (0x512c2cb02c7d9c58), U64_C (0x05d3d36bd3d6b8bb), + U64_C (0x8ce7e7bbe76b5cd3), U64_C (0x396e6ea56e57cbdc), + U64_C (0xaac4c437c46ef395), U64_C (0x1b03030c03180f06), + U64_C (0xdc565645568a13ac), U64_C (0x5e44440d441a4988), + U64_C (0xa07f7fe17fdf9efe), U64_C (0x88a9a99ea921374f), + U64_C (0x672a2aa82a4d8254), U64_C (0x0abbbbd6bbb16d6b), + U64_C (0x87c1c123c146e29f), U64_C (0xf153535153a202a6), + U64_C (0x72dcdc57dcae8ba5), U64_C (0x530b0b2c0b582716), + U64_C (0x019d9d4e9d9cd327), U64_C (0x2b6c6cad6c47c1d8), + U64_C (0xa43131c43195f562), U64_C (0xf37474cd7487b9e8), + U64_C (0x15f6f6fff6e309f1), U64_C (0x4c464605460a438c), + U64_C (0xa5acac8aac092645), U64_C (0xb589891e893c970f), + U64_C (0xb414145014a04428), U64_C (0xbae1e1a3e15b42df), + U64_C (0xa616165816b04e2c), U64_C (0xf73a3ae83acdd274), + U64_C (0x066969b9696fd0d2), U64_C (0x4109092409482d12), + U64_C (0xd77070dd70a7ade0), U64_C (0x6fb6b6e2b6d95471), + U64_C (0x1ed0d067d0ceb7bd), U64_C (0xd6eded93ed3b7ec7), + U64_C (0xe2cccc17cc2edb85), U64_C (0x68424215422a5784), + U64_C (0x2c98985a98b4c22d), U64_C (0xeda4a4aaa4490e55), + U64_C (0x752828a0285d8850), U64_C (0x865c5c6d5cda31b8), + U64_C (0x6bf8f8c7f8933fed), U64_C (0xc28686228644a411), + }; + +static const u64 C2[256] = + { + U64_C (0x30d818186018c078), U64_C (0x462623238c2305af), + U64_C (0x91b8c6c63fc67ef9), U64_C (0xcdfbe8e887e8136f), + U64_C (0x13cb878726874ca1), U64_C (0x6d11b8b8dab8a962), + U64_C (0x0209010104010805), U64_C (0x9e0d4f4f214f426e), + U64_C (0x6c9b3636d836adee), U64_C (0x51ffa6a6a2a65904), + U64_C (0xb90cd2d26fd2debd), U64_C (0xf70ef5f5f3f5fb06), + U64_C (0xf2967979f979ef80), U64_C (0xde306f6fa16f5fce), + U64_C (0x3f6d91917e91fcef), U64_C (0xa4f852525552aa07), + U64_C (0xc04760609d6027fd), U64_C (0x6535bcbccabc8976), + U64_C (0x2b379b9b569baccd), U64_C (0x018a8e8e028e048c), + U64_C (0x5bd2a3a3b6a37115), U64_C (0x186c0c0c300c603c), + U64_C (0xf6847b7bf17bff8a), U64_C (0x6a803535d435b5e1), + U64_C (0x3af51d1d741de869), U64_C (0xddb3e0e0a7e05347), + U64_C (0xb321d7d77bd7f6ac), U64_C (0x999cc2c22fc25eed), + U64_C (0x5c432e2eb82e6d96), U64_C (0x96294b4b314b627a), + U64_C (0xe15dfefedffea321), U64_C (0xaed5575741578216), + U64_C (0x2abd15155415a841), U64_C (0xeee87777c1779fb6), + U64_C (0x6e923737dc37a5eb), U64_C (0xd79ee5e5b3e57b56), + U64_C (0x23139f9f469f8cd9), U64_C (0xfd23f0f0e7f0d317), + U64_C (0x94204a4a354a6a7f), U64_C (0xa944dada4fda9e95), + U64_C (0xb0a258587d58fa25), U64_C (0x8fcfc9c903c906ca), + U64_C (0x527c2929a429558d), U64_C (0x145a0a0a280a5022), + U64_C (0x7f50b1b1feb1e14f), U64_C (0x5dc9a0a0baa0691a), + U64_C (0xd6146b6bb16b7fda), U64_C (0x17d985852e855cab), + U64_C (0x673cbdbdcebd8173), U64_C (0xba8f5d5d695dd234), + U64_C (0x2090101040108050), U64_C (0xf507f4f4f7f4f303), + U64_C (0x8bddcbcb0bcb16c0), U64_C (0x7cd33e3ef83eedc6), + U64_C (0x0a2d050514052811), U64_C (0xce78676781671fe6), + U64_C (0xd597e4e4b7e47353), U64_C (0x4e0227279c2725bb), + U64_C (0x8273414119413258), U64_C (0x0ba78b8b168b2c9d), + U64_C (0x53f6a7a7a6a75101), U64_C (0xfab27d7de97dcf94), + U64_C (0x374995956e95dcfb), U64_C (0xad56d8d847d88e9f), + U64_C (0xeb70fbfbcbfb8b30), U64_C (0xc1cdeeee9fee2371), + U64_C (0xf8bb7c7ced7cc791), U64_C (0xcc716666856617e3), + U64_C (0xa77bdddd53dda68e), U64_C (0x2eaf17175c17b84b), + U64_C (0x8e45474701470246), U64_C (0x211a9e9e429e84dc), + U64_C (0x89d4caca0fca1ec5), U64_C (0x5a582d2db42d7599), + U64_C (0x632ebfbfc6bf9179), U64_C (0x0e3f07071c07381b), + U64_C (0x47acadad8ead0123), U64_C (0xb4b05a5a755aea2f), + U64_C (0x1bef838336836cb5), U64_C (0x66b63333cc3385ff), + U64_C (0xc65c636391633ff2), U64_C (0x041202020802100a), + U64_C (0x4993aaaa92aa3938), U64_C (0xe2de7171d971afa8), + U64_C (0x8dc6c8c807c80ecf), U64_C (0x32d119196419c87d), + U64_C (0x923b494939497270), U64_C (0xaf5fd9d943d9869a), + U64_C (0xf931f2f2eff2c31d), U64_C (0xdba8e3e3abe34b48), + U64_C (0xb6b95b5b715be22a), U64_C (0x0dbc88881a883492), + U64_C (0x293e9a9a529aa4c8), U64_C (0x4c0b262698262dbe), + U64_C (0x64bf3232c8328dfa), U64_C (0x7d59b0b0fab0e94a), + U64_C (0xcff2e9e983e91b6a), U64_C (0x1e770f0f3c0f7833), + U64_C (0xb733d5d573d5e6a6), U64_C (0x1df480803a8074ba), + U64_C (0x6127bebec2be997c), U64_C (0x87ebcdcd13cd26de), + U64_C (0x68893434d034bde4), U64_C (0x903248483d487a75), + U64_C (0xe354ffffdbffab24), U64_C (0xf48d7a7af57af78f), + U64_C (0x3d6490907a90f4ea), U64_C (0xbe9d5f5f615fc23e), + U64_C (0x403d202080201da0), U64_C (0xd00f6868bd6867d5), + U64_C (0x34ca1a1a681ad072), U64_C (0x41b7aeae82ae192c), + U64_C (0x757db4b4eab4c95e), U64_C (0xa8ce54544d549a19), + U64_C (0x3b7f93937693ece5), U64_C (0x442f222288220daa), + U64_C (0xc86364648d6407e9), U64_C (0xff2af1f1e3f1db12), + U64_C (0xe6cc7373d173bfa2), U64_C (0x248212124812905a), + U64_C (0x807a40401d403a5d), U64_C (0x1048080820084028), + U64_C (0x9b95c3c32bc356e8), U64_C (0xc5dfecec97ec337b), + U64_C (0xab4ddbdb4bdb9690), U64_C (0x5fc0a1a1bea1611f), + U64_C (0x07918d8d0e8d1c83), U64_C (0x7ac83d3df43df5c9), + U64_C (0x335b97976697ccf1), U64_C (0x0000000000000000), + U64_C (0x83f9cfcf1bcf36d4), U64_C (0x566e2b2bac2b4587), + U64_C (0xece17676c57697b3), U64_C (0x19e68282328264b0), + U64_C (0xb128d6d67fd6fea9), U64_C (0x36c31b1b6c1bd877), + U64_C (0x7774b5b5eeb5c15b), U64_C (0x43beafaf86af1129), + U64_C (0xd41d6a6ab56a77df), U64_C (0xa0ea50505d50ba0d), + U64_C (0x8a5745450945124c), U64_C (0xfb38f3f3ebf3cb18), + U64_C (0x60ad3030c0309df0), U64_C (0xc3c4efef9bef2b74), + U64_C (0x7eda3f3ffc3fe5c3), U64_C (0xaac755554955921c), + U64_C (0x59dba2a2b2a27910), U64_C (0xc9e9eaea8fea0365), + U64_C (0xca6a656589650fec), U64_C (0x6903babad2bab968), + U64_C (0x5e4a2f2fbc2f6593), U64_C (0x9d8ec0c027c04ee7), + U64_C (0xa160dede5fdebe81), U64_C (0x38fc1c1c701ce06c), + U64_C (0xe746fdfdd3fdbb2e), U64_C (0x9a1f4d4d294d5264), + U64_C (0x397692927292e4e0), U64_C (0xeafa7575c9758fbc), + U64_C (0x0c3606061806301e), U64_C (0x09ae8a8a128a2498), + U64_C (0x794bb2b2f2b2f940), U64_C (0xd185e6e6bfe66359), + U64_C (0x1c7e0e0e380e7036), U64_C (0x3ee71f1f7c1ff863), + U64_C (0xc4556262956237f7), U64_C (0xb53ad4d477d4eea3), + U64_C (0x4d81a8a89aa82932), U64_C (0x315296966296c4f4), + U64_C (0xef62f9f9c3f99b3a), U64_C (0x97a3c5c533c566f6), + U64_C (0x4a102525942535b1), U64_C (0xb2ab59597959f220), + U64_C (0x15d084842a8454ae), U64_C (0xe4c57272d572b7a7), + U64_C (0x72ec3939e439d5dd), U64_C (0x98164c4c2d4c5a61), + U64_C (0xbc945e5e655eca3b), U64_C (0xf09f7878fd78e785), + U64_C (0x70e53838e038ddd8), U64_C (0x05988c8c0a8c1486), + U64_C (0xbf17d1d163d1c6b2), U64_C (0x57e4a5a5aea5410b), + U64_C (0xd9a1e2e2afe2434d), U64_C (0xc24e616199612ff8), + U64_C (0x7b42b3b3f6b3f145), U64_C (0x42342121842115a5), + U64_C (0x25089c9c4a9c94d6), U64_C (0x3cee1e1e781ef066), + U64_C (0x8661434311432252), U64_C (0x93b1c7c73bc776fc), + U64_C (0xe54ffcfcd7fcb32b), U64_C (0x0824040410042014), + U64_C (0xa2e351515951b208), U64_C (0x2f2599995e99bcc7), + U64_C (0xda226d6da96d4fc4), U64_C (0x1a650d0d340d6839), + U64_C (0xe979fafacffa8335), U64_C (0xa369dfdf5bdfb684), + U64_C (0xfca97e7ee57ed79b), U64_C (0x4819242490243db4), + U64_C (0x76fe3b3bec3bc5d7), U64_C (0x4b9aabab96ab313d), + U64_C (0x81f0cece1fce3ed1), U64_C (0x2299111144118855), + U64_C (0x03838f8f068f0c89), U64_C (0x9c044e4e254e4a6b), + U64_C (0x7366b7b7e6b7d151), U64_C (0xcbe0ebeb8beb0b60), + U64_C (0x78c13c3cf03cfdcc), U64_C (0x1ffd81813e817cbf), + U64_C (0x354094946a94d4fe), U64_C (0xf31cf7f7fbf7eb0c), + U64_C (0x6f18b9b9deb9a167), U64_C (0x268b13134c13985f), + U64_C (0x58512c2cb02c7d9c), U64_C (0xbb05d3d36bd3d6b8), + U64_C (0xd38ce7e7bbe76b5c), U64_C (0xdc396e6ea56e57cb), + U64_C (0x95aac4c437c46ef3), U64_C (0x061b03030c03180f), + U64_C (0xacdc565645568a13), U64_C (0x885e44440d441a49), + U64_C (0xfea07f7fe17fdf9e), U64_C (0x4f88a9a99ea92137), + U64_C (0x54672a2aa82a4d82), U64_C (0x6b0abbbbd6bbb16d), + U64_C (0x9f87c1c123c146e2), U64_C (0xa6f153535153a202), + U64_C (0xa572dcdc57dcae8b), U64_C (0x16530b0b2c0b5827), + U64_C (0x27019d9d4e9d9cd3), U64_C (0xd82b6c6cad6c47c1), + U64_C (0x62a43131c43195f5), U64_C (0xe8f37474cd7487b9), + U64_C (0xf115f6f6fff6e309), U64_C (0x8c4c464605460a43), + U64_C (0x45a5acac8aac0926), U64_C (0x0fb589891e893c97), + U64_C (0x28b414145014a044), U64_C (0xdfbae1e1a3e15b42), + U64_C (0x2ca616165816b04e), U64_C (0x74f73a3ae83acdd2), + U64_C (0xd2066969b9696fd0), U64_C (0x124109092409482d), + U64_C (0xe0d77070dd70a7ad), U64_C (0x716fb6b6e2b6d954), + U64_C (0xbd1ed0d067d0ceb7), U64_C (0xc7d6eded93ed3b7e), + U64_C (0x85e2cccc17cc2edb), U64_C (0x8468424215422a57), + U64_C (0x2d2c98985a98b4c2), U64_C (0x55eda4a4aaa4490e), + U64_C (0x50752828a0285d88), U64_C (0xb8865c5c6d5cda31), + U64_C (0xed6bf8f8c7f8933f), U64_C (0x11c28686228644a4), + }; + +static const u64 C3[256] = + { + U64_C (0x7830d818186018c0), U64_C (0xaf462623238c2305), + U64_C (0xf991b8c6c63fc67e), U64_C (0x6fcdfbe8e887e813), + U64_C (0xa113cb878726874c), U64_C (0x626d11b8b8dab8a9), + U64_C (0x0502090101040108), U64_C (0x6e9e0d4f4f214f42), + U64_C (0xee6c9b3636d836ad), U64_C (0x0451ffa6a6a2a659), + U64_C (0xbdb90cd2d26fd2de), U64_C (0x06f70ef5f5f3f5fb), + U64_C (0x80f2967979f979ef), U64_C (0xcede306f6fa16f5f), + U64_C (0xef3f6d91917e91fc), U64_C (0x07a4f852525552aa), + U64_C (0xfdc04760609d6027), U64_C (0x766535bcbccabc89), + U64_C (0xcd2b379b9b569bac), U64_C (0x8c018a8e8e028e04), + U64_C (0x155bd2a3a3b6a371), U64_C (0x3c186c0c0c300c60), + U64_C (0x8af6847b7bf17bff), U64_C (0xe16a803535d435b5), + U64_C (0x693af51d1d741de8), U64_C (0x47ddb3e0e0a7e053), + U64_C (0xacb321d7d77bd7f6), U64_C (0xed999cc2c22fc25e), + U64_C (0x965c432e2eb82e6d), U64_C (0x7a96294b4b314b62), + U64_C (0x21e15dfefedffea3), U64_C (0x16aed55757415782), + U64_C (0x412abd15155415a8), U64_C (0xb6eee87777c1779f), + U64_C (0xeb6e923737dc37a5), U64_C (0x56d79ee5e5b3e57b), + U64_C (0xd923139f9f469f8c), U64_C (0x17fd23f0f0e7f0d3), + U64_C (0x7f94204a4a354a6a), U64_C (0x95a944dada4fda9e), + U64_C (0x25b0a258587d58fa), U64_C (0xca8fcfc9c903c906), + U64_C (0x8d527c2929a42955), U64_C (0x22145a0a0a280a50), + U64_C (0x4f7f50b1b1feb1e1), U64_C (0x1a5dc9a0a0baa069), + U64_C (0xdad6146b6bb16b7f), U64_C (0xab17d985852e855c), + U64_C (0x73673cbdbdcebd81), U64_C (0x34ba8f5d5d695dd2), + U64_C (0x5020901010401080), U64_C (0x03f507f4f4f7f4f3), + U64_C (0xc08bddcbcb0bcb16), U64_C (0xc67cd33e3ef83eed), + U64_C (0x110a2d0505140528), U64_C (0xe6ce78676781671f), + U64_C (0x53d597e4e4b7e473), U64_C (0xbb4e0227279c2725), + U64_C (0x5882734141194132), U64_C (0x9d0ba78b8b168b2c), + U64_C (0x0153f6a7a7a6a751), U64_C (0x94fab27d7de97dcf), + U64_C (0xfb374995956e95dc), U64_C (0x9fad56d8d847d88e), + U64_C (0x30eb70fbfbcbfb8b), U64_C (0x71c1cdeeee9fee23), + U64_C (0x91f8bb7c7ced7cc7), U64_C (0xe3cc716666856617), + U64_C (0x8ea77bdddd53dda6), U64_C (0x4b2eaf17175c17b8), + U64_C (0x468e454747014702), U64_C (0xdc211a9e9e429e84), + U64_C (0xc589d4caca0fca1e), U64_C (0x995a582d2db42d75), + U64_C (0x79632ebfbfc6bf91), U64_C (0x1b0e3f07071c0738), + U64_C (0x2347acadad8ead01), U64_C (0x2fb4b05a5a755aea), + U64_C (0xb51bef838336836c), U64_C (0xff66b63333cc3385), + U64_C (0xf2c65c636391633f), U64_C (0x0a04120202080210), + U64_C (0x384993aaaa92aa39), U64_C (0xa8e2de7171d971af), + U64_C (0xcf8dc6c8c807c80e), U64_C (0x7d32d119196419c8), + U64_C (0x70923b4949394972), U64_C (0x9aaf5fd9d943d986), + U64_C (0x1df931f2f2eff2c3), U64_C (0x48dba8e3e3abe34b), + U64_C (0x2ab6b95b5b715be2), U64_C (0x920dbc88881a8834), + U64_C (0xc8293e9a9a529aa4), U64_C (0xbe4c0b262698262d), + U64_C (0xfa64bf3232c8328d), U64_C (0x4a7d59b0b0fab0e9), + U64_C (0x6acff2e9e983e91b), U64_C (0x331e770f0f3c0f78), + U64_C (0xa6b733d5d573d5e6), U64_C (0xba1df480803a8074), + U64_C (0x7c6127bebec2be99), U64_C (0xde87ebcdcd13cd26), + U64_C (0xe468893434d034bd), U64_C (0x75903248483d487a), + U64_C (0x24e354ffffdbffab), U64_C (0x8ff48d7a7af57af7), + U64_C (0xea3d6490907a90f4), U64_C (0x3ebe9d5f5f615fc2), + U64_C (0xa0403d202080201d), U64_C (0xd5d00f6868bd6867), + U64_C (0x7234ca1a1a681ad0), U64_C (0x2c41b7aeae82ae19), + U64_C (0x5e757db4b4eab4c9), U64_C (0x19a8ce54544d549a), + U64_C (0xe53b7f93937693ec), U64_C (0xaa442f222288220d), + U64_C (0xe9c86364648d6407), U64_C (0x12ff2af1f1e3f1db), + U64_C (0xa2e6cc7373d173bf), U64_C (0x5a24821212481290), + U64_C (0x5d807a40401d403a), U64_C (0x2810480808200840), + U64_C (0xe89b95c3c32bc356), U64_C (0x7bc5dfecec97ec33), + U64_C (0x90ab4ddbdb4bdb96), U64_C (0x1f5fc0a1a1bea161), + U64_C (0x8307918d8d0e8d1c), U64_C (0xc97ac83d3df43df5), + U64_C (0xf1335b97976697cc), U64_C (0x0000000000000000), + U64_C (0xd483f9cfcf1bcf36), U64_C (0x87566e2b2bac2b45), + U64_C (0xb3ece17676c57697), U64_C (0xb019e68282328264), + U64_C (0xa9b128d6d67fd6fe), U64_C (0x7736c31b1b6c1bd8), + U64_C (0x5b7774b5b5eeb5c1), U64_C (0x2943beafaf86af11), + U64_C (0xdfd41d6a6ab56a77), U64_C (0x0da0ea50505d50ba), + U64_C (0x4c8a574545094512), U64_C (0x18fb38f3f3ebf3cb), + U64_C (0xf060ad3030c0309d), U64_C (0x74c3c4efef9bef2b), + U64_C (0xc37eda3f3ffc3fe5), U64_C (0x1caac75555495592), + U64_C (0x1059dba2a2b2a279), U64_C (0x65c9e9eaea8fea03), + U64_C (0xecca6a656589650f), U64_C (0x686903babad2bab9), + U64_C (0x935e4a2f2fbc2f65), U64_C (0xe79d8ec0c027c04e), + U64_C (0x81a160dede5fdebe), U64_C (0x6c38fc1c1c701ce0), + U64_C (0x2ee746fdfdd3fdbb), U64_C (0x649a1f4d4d294d52), + U64_C (0xe0397692927292e4), U64_C (0xbceafa7575c9758f), + U64_C (0x1e0c360606180630), U64_C (0x9809ae8a8a128a24), + U64_C (0x40794bb2b2f2b2f9), U64_C (0x59d185e6e6bfe663), + U64_C (0x361c7e0e0e380e70), U64_C (0x633ee71f1f7c1ff8), + U64_C (0xf7c4556262956237), U64_C (0xa3b53ad4d477d4ee), + U64_C (0x324d81a8a89aa829), U64_C (0xf4315296966296c4), + U64_C (0x3aef62f9f9c3f99b), U64_C (0xf697a3c5c533c566), + U64_C (0xb14a102525942535), U64_C (0x20b2ab59597959f2), + U64_C (0xae15d084842a8454), U64_C (0xa7e4c57272d572b7), + U64_C (0xdd72ec3939e439d5), U64_C (0x6198164c4c2d4c5a), + U64_C (0x3bbc945e5e655eca), U64_C (0x85f09f7878fd78e7), + U64_C (0xd870e53838e038dd), U64_C (0x8605988c8c0a8c14), + U64_C (0xb2bf17d1d163d1c6), U64_C (0x0b57e4a5a5aea541), + U64_C (0x4dd9a1e2e2afe243), U64_C (0xf8c24e616199612f), + U64_C (0x457b42b3b3f6b3f1), U64_C (0xa542342121842115), + U64_C (0xd625089c9c4a9c94), U64_C (0x663cee1e1e781ef0), + U64_C (0x5286614343114322), U64_C (0xfc93b1c7c73bc776), + U64_C (0x2be54ffcfcd7fcb3), U64_C (0x1408240404100420), + U64_C (0x08a2e351515951b2), U64_C (0xc72f2599995e99bc), + U64_C (0xc4da226d6da96d4f), U64_C (0x391a650d0d340d68), + U64_C (0x35e979fafacffa83), U64_C (0x84a369dfdf5bdfb6), + U64_C (0x9bfca97e7ee57ed7), U64_C (0xb44819242490243d), + U64_C (0xd776fe3b3bec3bc5), U64_C (0x3d4b9aabab96ab31), + U64_C (0xd181f0cece1fce3e), U64_C (0x5522991111441188), + U64_C (0x8903838f8f068f0c), U64_C (0x6b9c044e4e254e4a), + U64_C (0x517366b7b7e6b7d1), U64_C (0x60cbe0ebeb8beb0b), + U64_C (0xcc78c13c3cf03cfd), U64_C (0xbf1ffd81813e817c), + U64_C (0xfe354094946a94d4), U64_C (0x0cf31cf7f7fbf7eb), + U64_C (0x676f18b9b9deb9a1), U64_C (0x5f268b13134c1398), + U64_C (0x9c58512c2cb02c7d), U64_C (0xb8bb05d3d36bd3d6), + U64_C (0x5cd38ce7e7bbe76b), U64_C (0xcbdc396e6ea56e57), + U64_C (0xf395aac4c437c46e), U64_C (0x0f061b03030c0318), + U64_C (0x13acdc565645568a), U64_C (0x49885e44440d441a), + U64_C (0x9efea07f7fe17fdf), U64_C (0x374f88a9a99ea921), + U64_C (0x8254672a2aa82a4d), U64_C (0x6d6b0abbbbd6bbb1), + U64_C (0xe29f87c1c123c146), U64_C (0x02a6f153535153a2), + U64_C (0x8ba572dcdc57dcae), U64_C (0x2716530b0b2c0b58), + U64_C (0xd327019d9d4e9d9c), U64_C (0xc1d82b6c6cad6c47), + U64_C (0xf562a43131c43195), U64_C (0xb9e8f37474cd7487), + U64_C (0x09f115f6f6fff6e3), U64_C (0x438c4c464605460a), + U64_C (0x2645a5acac8aac09), U64_C (0x970fb589891e893c), + U64_C (0x4428b414145014a0), U64_C (0x42dfbae1e1a3e15b), + U64_C (0x4e2ca616165816b0), U64_C (0xd274f73a3ae83acd), + U64_C (0xd0d2066969b9696f), U64_C (0x2d12410909240948), + U64_C (0xade0d77070dd70a7), U64_C (0x54716fb6b6e2b6d9), + U64_C (0xb7bd1ed0d067d0ce), U64_C (0x7ec7d6eded93ed3b), + U64_C (0xdb85e2cccc17cc2e), U64_C (0x578468424215422a), + U64_C (0xc22d2c98985a98b4), U64_C (0x0e55eda4a4aaa449), + U64_C (0x8850752828a0285d), U64_C (0x31b8865c5c6d5cda), + U64_C (0x3fed6bf8f8c7f893), U64_C (0xa411c28686228644), + }; + +static const u64 C4[256] = + { + U64_C (0xc07830d818186018), U64_C (0x05af462623238c23), + U64_C (0x7ef991b8c6c63fc6), U64_C (0x136fcdfbe8e887e8), + U64_C (0x4ca113cb87872687), U64_C (0xa9626d11b8b8dab8), + U64_C (0x0805020901010401), U64_C (0x426e9e0d4f4f214f), + U64_C (0xadee6c9b3636d836), U64_C (0x590451ffa6a6a2a6), + U64_C (0xdebdb90cd2d26fd2), U64_C (0xfb06f70ef5f5f3f5), + U64_C (0xef80f2967979f979), U64_C (0x5fcede306f6fa16f), + U64_C (0xfcef3f6d91917e91), U64_C (0xaa07a4f852525552), + U64_C (0x27fdc04760609d60), U64_C (0x89766535bcbccabc), + U64_C (0xaccd2b379b9b569b), U64_C (0x048c018a8e8e028e), + U64_C (0x71155bd2a3a3b6a3), U64_C (0x603c186c0c0c300c), + U64_C (0xff8af6847b7bf17b), U64_C (0xb5e16a803535d435), + U64_C (0xe8693af51d1d741d), U64_C (0x5347ddb3e0e0a7e0), + U64_C (0xf6acb321d7d77bd7), U64_C (0x5eed999cc2c22fc2), + U64_C (0x6d965c432e2eb82e), U64_C (0x627a96294b4b314b), + U64_C (0xa321e15dfefedffe), U64_C (0x8216aed557574157), + U64_C (0xa8412abd15155415), U64_C (0x9fb6eee87777c177), + U64_C (0xa5eb6e923737dc37), U64_C (0x7b56d79ee5e5b3e5), + U64_C (0x8cd923139f9f469f), U64_C (0xd317fd23f0f0e7f0), + U64_C (0x6a7f94204a4a354a), U64_C (0x9e95a944dada4fda), + U64_C (0xfa25b0a258587d58), U64_C (0x06ca8fcfc9c903c9), + U64_C (0x558d527c2929a429), U64_C (0x5022145a0a0a280a), + U64_C (0xe14f7f50b1b1feb1), U64_C (0x691a5dc9a0a0baa0), + U64_C (0x7fdad6146b6bb16b), U64_C (0x5cab17d985852e85), + U64_C (0x8173673cbdbdcebd), U64_C (0xd234ba8f5d5d695d), + U64_C (0x8050209010104010), U64_C (0xf303f507f4f4f7f4), + U64_C (0x16c08bddcbcb0bcb), U64_C (0xedc67cd33e3ef83e), + U64_C (0x28110a2d05051405), U64_C (0x1fe6ce7867678167), + U64_C (0x7353d597e4e4b7e4), U64_C (0x25bb4e0227279c27), + U64_C (0x3258827341411941), U64_C (0x2c9d0ba78b8b168b), + U64_C (0x510153f6a7a7a6a7), U64_C (0xcf94fab27d7de97d), + U64_C (0xdcfb374995956e95), U64_C (0x8e9fad56d8d847d8), + U64_C (0x8b30eb70fbfbcbfb), U64_C (0x2371c1cdeeee9fee), + U64_C (0xc791f8bb7c7ced7c), U64_C (0x17e3cc7166668566), + U64_C (0xa68ea77bdddd53dd), U64_C (0xb84b2eaf17175c17), + U64_C (0x02468e4547470147), U64_C (0x84dc211a9e9e429e), + U64_C (0x1ec589d4caca0fca), U64_C (0x75995a582d2db42d), + U64_C (0x9179632ebfbfc6bf), U64_C (0x381b0e3f07071c07), + U64_C (0x012347acadad8ead), U64_C (0xea2fb4b05a5a755a), + U64_C (0x6cb51bef83833683), U64_C (0x85ff66b63333cc33), + U64_C (0x3ff2c65c63639163), U64_C (0x100a041202020802), + U64_C (0x39384993aaaa92aa), U64_C (0xafa8e2de7171d971), + U64_C (0x0ecf8dc6c8c807c8), U64_C (0xc87d32d119196419), + U64_C (0x7270923b49493949), U64_C (0x869aaf5fd9d943d9), + U64_C (0xc31df931f2f2eff2), U64_C (0x4b48dba8e3e3abe3), + U64_C (0xe22ab6b95b5b715b), U64_C (0x34920dbc88881a88), + U64_C (0xa4c8293e9a9a529a), U64_C (0x2dbe4c0b26269826), + U64_C (0x8dfa64bf3232c832), U64_C (0xe94a7d59b0b0fab0), + U64_C (0x1b6acff2e9e983e9), U64_C (0x78331e770f0f3c0f), + U64_C (0xe6a6b733d5d573d5), U64_C (0x74ba1df480803a80), + U64_C (0x997c6127bebec2be), U64_C (0x26de87ebcdcd13cd), + U64_C (0xbde468893434d034), U64_C (0x7a75903248483d48), + U64_C (0xab24e354ffffdbff), U64_C (0xf78ff48d7a7af57a), + U64_C (0xf4ea3d6490907a90), U64_C (0xc23ebe9d5f5f615f), + U64_C (0x1da0403d20208020), U64_C (0x67d5d00f6868bd68), + U64_C (0xd07234ca1a1a681a), U64_C (0x192c41b7aeae82ae), + U64_C (0xc95e757db4b4eab4), U64_C (0x9a19a8ce54544d54), + U64_C (0xece53b7f93937693), U64_C (0x0daa442f22228822), + U64_C (0x07e9c86364648d64), U64_C (0xdb12ff2af1f1e3f1), + U64_C (0xbfa2e6cc7373d173), U64_C (0x905a248212124812), + U64_C (0x3a5d807a40401d40), U64_C (0x4028104808082008), + U64_C (0x56e89b95c3c32bc3), U64_C (0x337bc5dfecec97ec), + U64_C (0x9690ab4ddbdb4bdb), U64_C (0x611f5fc0a1a1bea1), + U64_C (0x1c8307918d8d0e8d), U64_C (0xf5c97ac83d3df43d), + U64_C (0xccf1335b97976697), U64_C (0x0000000000000000), + U64_C (0x36d483f9cfcf1bcf), U64_C (0x4587566e2b2bac2b), + U64_C (0x97b3ece17676c576), U64_C (0x64b019e682823282), + U64_C (0xfea9b128d6d67fd6), U64_C (0xd87736c31b1b6c1b), + U64_C (0xc15b7774b5b5eeb5), U64_C (0x112943beafaf86af), + U64_C (0x77dfd41d6a6ab56a), U64_C (0xba0da0ea50505d50), + U64_C (0x124c8a5745450945), U64_C (0xcb18fb38f3f3ebf3), + U64_C (0x9df060ad3030c030), U64_C (0x2b74c3c4efef9bef), + U64_C (0xe5c37eda3f3ffc3f), U64_C (0x921caac755554955), + U64_C (0x791059dba2a2b2a2), U64_C (0x0365c9e9eaea8fea), + U64_C (0x0fecca6a65658965), U64_C (0xb9686903babad2ba), + U64_C (0x65935e4a2f2fbc2f), U64_C (0x4ee79d8ec0c027c0), + U64_C (0xbe81a160dede5fde), U64_C (0xe06c38fc1c1c701c), + U64_C (0xbb2ee746fdfdd3fd), U64_C (0x52649a1f4d4d294d), + U64_C (0xe4e0397692927292), U64_C (0x8fbceafa7575c975), + U64_C (0x301e0c3606061806), U64_C (0x249809ae8a8a128a), + U64_C (0xf940794bb2b2f2b2), U64_C (0x6359d185e6e6bfe6), + U64_C (0x70361c7e0e0e380e), U64_C (0xf8633ee71f1f7c1f), + U64_C (0x37f7c45562629562), U64_C (0xeea3b53ad4d477d4), + U64_C (0x29324d81a8a89aa8), U64_C (0xc4f4315296966296), + U64_C (0x9b3aef62f9f9c3f9), U64_C (0x66f697a3c5c533c5), + U64_C (0x35b14a1025259425), U64_C (0xf220b2ab59597959), + U64_C (0x54ae15d084842a84), U64_C (0xb7a7e4c57272d572), + U64_C (0xd5dd72ec3939e439), U64_C (0x5a6198164c4c2d4c), + U64_C (0xca3bbc945e5e655e), U64_C (0xe785f09f7878fd78), + U64_C (0xddd870e53838e038), U64_C (0x148605988c8c0a8c), + U64_C (0xc6b2bf17d1d163d1), U64_C (0x410b57e4a5a5aea5), + U64_C (0x434dd9a1e2e2afe2), U64_C (0x2ff8c24e61619961), + U64_C (0xf1457b42b3b3f6b3), U64_C (0x15a5423421218421), + U64_C (0x94d625089c9c4a9c), U64_C (0xf0663cee1e1e781e), + U64_C (0x2252866143431143), U64_C (0x76fc93b1c7c73bc7), + U64_C (0xb32be54ffcfcd7fc), U64_C (0x2014082404041004), + U64_C (0xb208a2e351515951), U64_C (0xbcc72f2599995e99), + U64_C (0x4fc4da226d6da96d), U64_C (0x68391a650d0d340d), + U64_C (0x8335e979fafacffa), U64_C (0xb684a369dfdf5bdf), + U64_C (0xd79bfca97e7ee57e), U64_C (0x3db4481924249024), + U64_C (0xc5d776fe3b3bec3b), U64_C (0x313d4b9aabab96ab), + U64_C (0x3ed181f0cece1fce), U64_C (0x8855229911114411), + U64_C (0x0c8903838f8f068f), U64_C (0x4a6b9c044e4e254e), + U64_C (0xd1517366b7b7e6b7), U64_C (0x0b60cbe0ebeb8beb), + U64_C (0xfdcc78c13c3cf03c), U64_C (0x7cbf1ffd81813e81), + U64_C (0xd4fe354094946a94), U64_C (0xeb0cf31cf7f7fbf7), + U64_C (0xa1676f18b9b9deb9), U64_C (0x985f268b13134c13), + U64_C (0x7d9c58512c2cb02c), U64_C (0xd6b8bb05d3d36bd3), + U64_C (0x6b5cd38ce7e7bbe7), U64_C (0x57cbdc396e6ea56e), + U64_C (0x6ef395aac4c437c4), U64_C (0x180f061b03030c03), + U64_C (0x8a13acdc56564556), U64_C (0x1a49885e44440d44), + U64_C (0xdf9efea07f7fe17f), U64_C (0x21374f88a9a99ea9), + U64_C (0x4d8254672a2aa82a), U64_C (0xb16d6b0abbbbd6bb), + U64_C (0x46e29f87c1c123c1), U64_C (0xa202a6f153535153), + U64_C (0xae8ba572dcdc57dc), U64_C (0x582716530b0b2c0b), + U64_C (0x9cd327019d9d4e9d), U64_C (0x47c1d82b6c6cad6c), + U64_C (0x95f562a43131c431), U64_C (0x87b9e8f37474cd74), + U64_C (0xe309f115f6f6fff6), U64_C (0x0a438c4c46460546), + U64_C (0x092645a5acac8aac), U64_C (0x3c970fb589891e89), + U64_C (0xa04428b414145014), U64_C (0x5b42dfbae1e1a3e1), + U64_C (0xb04e2ca616165816), U64_C (0xcdd274f73a3ae83a), + U64_C (0x6fd0d2066969b969), U64_C (0x482d124109092409), + U64_C (0xa7ade0d77070dd70), U64_C (0xd954716fb6b6e2b6), + U64_C (0xceb7bd1ed0d067d0), U64_C (0x3b7ec7d6eded93ed), + U64_C (0x2edb85e2cccc17cc), U64_C (0x2a57846842421542), + U64_C (0xb4c22d2c98985a98), U64_C (0x490e55eda4a4aaa4), + U64_C (0x5d8850752828a028), U64_C (0xda31b8865c5c6d5c), + U64_C (0x933fed6bf8f8c7f8), U64_C (0x44a411c286862286), + }; + +static const u64 C5[256] = + { + U64_C (0x18c07830d8181860), U64_C (0x2305af462623238c), + U64_C (0xc67ef991b8c6c63f), U64_C (0xe8136fcdfbe8e887), + U64_C (0x874ca113cb878726), U64_C (0xb8a9626d11b8b8da), + U64_C (0x0108050209010104), U64_C (0x4f426e9e0d4f4f21), + U64_C (0x36adee6c9b3636d8), U64_C (0xa6590451ffa6a6a2), + U64_C (0xd2debdb90cd2d26f), U64_C (0xf5fb06f70ef5f5f3), + U64_C (0x79ef80f2967979f9), U64_C (0x6f5fcede306f6fa1), + U64_C (0x91fcef3f6d91917e), U64_C (0x52aa07a4f8525255), + U64_C (0x6027fdc04760609d), U64_C (0xbc89766535bcbcca), + U64_C (0x9baccd2b379b9b56), U64_C (0x8e048c018a8e8e02), + U64_C (0xa371155bd2a3a3b6), U64_C (0x0c603c186c0c0c30), + U64_C (0x7bff8af6847b7bf1), U64_C (0x35b5e16a803535d4), + U64_C (0x1de8693af51d1d74), U64_C (0xe05347ddb3e0e0a7), + U64_C (0xd7f6acb321d7d77b), U64_C (0xc25eed999cc2c22f), + U64_C (0x2e6d965c432e2eb8), U64_C (0x4b627a96294b4b31), + U64_C (0xfea321e15dfefedf), U64_C (0x578216aed5575741), + U64_C (0x15a8412abd151554), U64_C (0x779fb6eee87777c1), + U64_C (0x37a5eb6e923737dc), U64_C (0xe57b56d79ee5e5b3), + U64_C (0x9f8cd923139f9f46), U64_C (0xf0d317fd23f0f0e7), + U64_C (0x4a6a7f94204a4a35), U64_C (0xda9e95a944dada4f), + U64_C (0x58fa25b0a258587d), U64_C (0xc906ca8fcfc9c903), + U64_C (0x29558d527c2929a4), U64_C (0x0a5022145a0a0a28), + U64_C (0xb1e14f7f50b1b1fe), U64_C (0xa0691a5dc9a0a0ba), + U64_C (0x6b7fdad6146b6bb1), U64_C (0x855cab17d985852e), + U64_C (0xbd8173673cbdbdce), U64_C (0x5dd234ba8f5d5d69), + U64_C (0x1080502090101040), U64_C (0xf4f303f507f4f4f7), + U64_C (0xcb16c08bddcbcb0b), U64_C (0x3eedc67cd33e3ef8), + U64_C (0x0528110a2d050514), U64_C (0x671fe6ce78676781), + U64_C (0xe47353d597e4e4b7), U64_C (0x2725bb4e0227279c), + U64_C (0x4132588273414119), U64_C (0x8b2c9d0ba78b8b16), + U64_C (0xa7510153f6a7a7a6), U64_C (0x7dcf94fab27d7de9), + U64_C (0x95dcfb374995956e), U64_C (0xd88e9fad56d8d847), + U64_C (0xfb8b30eb70fbfbcb), U64_C (0xee2371c1cdeeee9f), + U64_C (0x7cc791f8bb7c7ced), U64_C (0x6617e3cc71666685), + U64_C (0xdda68ea77bdddd53), U64_C (0x17b84b2eaf17175c), + U64_C (0x4702468e45474701), U64_C (0x9e84dc211a9e9e42), + U64_C (0xca1ec589d4caca0f), U64_C (0x2d75995a582d2db4), + U64_C (0xbf9179632ebfbfc6), U64_C (0x07381b0e3f07071c), + U64_C (0xad012347acadad8e), U64_C (0x5aea2fb4b05a5a75), + U64_C (0x836cb51bef838336), U64_C (0x3385ff66b63333cc), + U64_C (0x633ff2c65c636391), U64_C (0x02100a0412020208), + U64_C (0xaa39384993aaaa92), U64_C (0x71afa8e2de7171d9), + U64_C (0xc80ecf8dc6c8c807), U64_C (0x19c87d32d1191964), + U64_C (0x497270923b494939), U64_C (0xd9869aaf5fd9d943), + U64_C (0xf2c31df931f2f2ef), U64_C (0xe34b48dba8e3e3ab), + U64_C (0x5be22ab6b95b5b71), U64_C (0x8834920dbc88881a), + U64_C (0x9aa4c8293e9a9a52), U64_C (0x262dbe4c0b262698), + U64_C (0x328dfa64bf3232c8), U64_C (0xb0e94a7d59b0b0fa), + U64_C (0xe91b6acff2e9e983), U64_C (0x0f78331e770f0f3c), + U64_C (0xd5e6a6b733d5d573), U64_C (0x8074ba1df480803a), + U64_C (0xbe997c6127bebec2), U64_C (0xcd26de87ebcdcd13), + U64_C (0x34bde468893434d0), U64_C (0x487a75903248483d), + U64_C (0xffab24e354ffffdb), U64_C (0x7af78ff48d7a7af5), + U64_C (0x90f4ea3d6490907a), U64_C (0x5fc23ebe9d5f5f61), + U64_C (0x201da0403d202080), U64_C (0x6867d5d00f6868bd), + U64_C (0x1ad07234ca1a1a68), U64_C (0xae192c41b7aeae82), + U64_C (0xb4c95e757db4b4ea), U64_C (0x549a19a8ce54544d), + U64_C (0x93ece53b7f939376), U64_C (0x220daa442f222288), + U64_C (0x6407e9c86364648d), U64_C (0xf1db12ff2af1f1e3), + U64_C (0x73bfa2e6cc7373d1), U64_C (0x12905a2482121248), + U64_C (0x403a5d807a40401d), U64_C (0x0840281048080820), + U64_C (0xc356e89b95c3c32b), U64_C (0xec337bc5dfecec97), + U64_C (0xdb9690ab4ddbdb4b), U64_C (0xa1611f5fc0a1a1be), + U64_C (0x8d1c8307918d8d0e), U64_C (0x3df5c97ac83d3df4), + U64_C (0x97ccf1335b979766), U64_C (0x0000000000000000), + U64_C (0xcf36d483f9cfcf1b), U64_C (0x2b4587566e2b2bac), + U64_C (0x7697b3ece17676c5), U64_C (0x8264b019e6828232), + U64_C (0xd6fea9b128d6d67f), U64_C (0x1bd87736c31b1b6c), + U64_C (0xb5c15b7774b5b5ee), U64_C (0xaf112943beafaf86), + U64_C (0x6a77dfd41d6a6ab5), U64_C (0x50ba0da0ea50505d), + U64_C (0x45124c8a57454509), U64_C (0xf3cb18fb38f3f3eb), + U64_C (0x309df060ad3030c0), U64_C (0xef2b74c3c4efef9b), + U64_C (0x3fe5c37eda3f3ffc), U64_C (0x55921caac7555549), + U64_C (0xa2791059dba2a2b2), U64_C (0xea0365c9e9eaea8f), + U64_C (0x650fecca6a656589), U64_C (0xbab9686903babad2), + U64_C (0x2f65935e4a2f2fbc), U64_C (0xc04ee79d8ec0c027), + U64_C (0xdebe81a160dede5f), U64_C (0x1ce06c38fc1c1c70), + U64_C (0xfdbb2ee746fdfdd3), U64_C (0x4d52649a1f4d4d29), + U64_C (0x92e4e03976929272), U64_C (0x758fbceafa7575c9), + U64_C (0x06301e0c36060618), U64_C (0x8a249809ae8a8a12), + U64_C (0xb2f940794bb2b2f2), U64_C (0xe66359d185e6e6bf), + U64_C (0x0e70361c7e0e0e38), U64_C (0x1ff8633ee71f1f7c), + U64_C (0x6237f7c455626295), U64_C (0xd4eea3b53ad4d477), + U64_C (0xa829324d81a8a89a), U64_C (0x96c4f43152969662), + U64_C (0xf99b3aef62f9f9c3), U64_C (0xc566f697a3c5c533), + U64_C (0x2535b14a10252594), U64_C (0x59f220b2ab595979), + U64_C (0x8454ae15d084842a), U64_C (0x72b7a7e4c57272d5), + U64_C (0x39d5dd72ec3939e4), U64_C (0x4c5a6198164c4c2d), + U64_C (0x5eca3bbc945e5e65), U64_C (0x78e785f09f7878fd), + U64_C (0x38ddd870e53838e0), U64_C (0x8c148605988c8c0a), + U64_C (0xd1c6b2bf17d1d163), U64_C (0xa5410b57e4a5a5ae), + U64_C (0xe2434dd9a1e2e2af), U64_C (0x612ff8c24e616199), + U64_C (0xb3f1457b42b3b3f6), U64_C (0x2115a54234212184), + U64_C (0x9c94d625089c9c4a), U64_C (0x1ef0663cee1e1e78), + U64_C (0x4322528661434311), U64_C (0xc776fc93b1c7c73b), + U64_C (0xfcb32be54ffcfcd7), U64_C (0x0420140824040410), + U64_C (0x51b208a2e3515159), U64_C (0x99bcc72f2599995e), + U64_C (0x6d4fc4da226d6da9), U64_C (0x0d68391a650d0d34), + U64_C (0xfa8335e979fafacf), U64_C (0xdfb684a369dfdf5b), + U64_C (0x7ed79bfca97e7ee5), U64_C (0x243db44819242490), + U64_C (0x3bc5d776fe3b3bec), U64_C (0xab313d4b9aabab96), + U64_C (0xce3ed181f0cece1f), U64_C (0x1188552299111144), + U64_C (0x8f0c8903838f8f06), U64_C (0x4e4a6b9c044e4e25), + U64_C (0xb7d1517366b7b7e6), U64_C (0xeb0b60cbe0ebeb8b), + U64_C (0x3cfdcc78c13c3cf0), U64_C (0x817cbf1ffd81813e), + U64_C (0x94d4fe354094946a), U64_C (0xf7eb0cf31cf7f7fb), + U64_C (0xb9a1676f18b9b9de), U64_C (0x13985f268b13134c), + U64_C (0x2c7d9c58512c2cb0), U64_C (0xd3d6b8bb05d3d36b), + U64_C (0xe76b5cd38ce7e7bb), U64_C (0x6e57cbdc396e6ea5), + U64_C (0xc46ef395aac4c437), U64_C (0x03180f061b03030c), + U64_C (0x568a13acdc565645), U64_C (0x441a49885e44440d), + U64_C (0x7fdf9efea07f7fe1), U64_C (0xa921374f88a9a99e), + U64_C (0x2a4d8254672a2aa8), U64_C (0xbbb16d6b0abbbbd6), + U64_C (0xc146e29f87c1c123), U64_C (0x53a202a6f1535351), + U64_C (0xdcae8ba572dcdc57), U64_C (0x0b582716530b0b2c), + U64_C (0x9d9cd327019d9d4e), U64_C (0x6c47c1d82b6c6cad), + U64_C (0x3195f562a43131c4), U64_C (0x7487b9e8f37474cd), + U64_C (0xf6e309f115f6f6ff), U64_C (0x460a438c4c464605), + U64_C (0xac092645a5acac8a), U64_C (0x893c970fb589891e), + U64_C (0x14a04428b4141450), U64_C (0xe15b42dfbae1e1a3), + U64_C (0x16b04e2ca6161658), U64_C (0x3acdd274f73a3ae8), + U64_C (0x696fd0d2066969b9), U64_C (0x09482d1241090924), + U64_C (0x70a7ade0d77070dd), U64_C (0xb6d954716fb6b6e2), + U64_C (0xd0ceb7bd1ed0d067), U64_C (0xed3b7ec7d6eded93), + U64_C (0xcc2edb85e2cccc17), U64_C (0x422a578468424215), + U64_C (0x98b4c22d2c98985a), U64_C (0xa4490e55eda4a4aa), + U64_C (0x285d8850752828a0), U64_C (0x5cda31b8865c5c6d), + U64_C (0xf8933fed6bf8f8c7), U64_C (0x8644a411c2868622), + }; + +static const u64 C6[256] = + { + U64_C (0x6018c07830d81818), U64_C (0x8c2305af46262323), + U64_C (0x3fc67ef991b8c6c6), U64_C (0x87e8136fcdfbe8e8), + U64_C (0x26874ca113cb8787), U64_C (0xdab8a9626d11b8b8), + U64_C (0x0401080502090101), U64_C (0x214f426e9e0d4f4f), + U64_C (0xd836adee6c9b3636), U64_C (0xa2a6590451ffa6a6), + U64_C (0x6fd2debdb90cd2d2), U64_C (0xf3f5fb06f70ef5f5), + U64_C (0xf979ef80f2967979), U64_C (0xa16f5fcede306f6f), + U64_C (0x7e91fcef3f6d9191), U64_C (0x5552aa07a4f85252), + U64_C (0x9d6027fdc0476060), U64_C (0xcabc89766535bcbc), + U64_C (0x569baccd2b379b9b), U64_C (0x028e048c018a8e8e), + U64_C (0xb6a371155bd2a3a3), U64_C (0x300c603c186c0c0c), + U64_C (0xf17bff8af6847b7b), U64_C (0xd435b5e16a803535), + U64_C (0x741de8693af51d1d), U64_C (0xa7e05347ddb3e0e0), + U64_C (0x7bd7f6acb321d7d7), U64_C (0x2fc25eed999cc2c2), + U64_C (0xb82e6d965c432e2e), U64_C (0x314b627a96294b4b), + U64_C (0xdffea321e15dfefe), U64_C (0x41578216aed55757), + U64_C (0x5415a8412abd1515), U64_C (0xc1779fb6eee87777), + U64_C (0xdc37a5eb6e923737), U64_C (0xb3e57b56d79ee5e5), + U64_C (0x469f8cd923139f9f), U64_C (0xe7f0d317fd23f0f0), + U64_C (0x354a6a7f94204a4a), U64_C (0x4fda9e95a944dada), + U64_C (0x7d58fa25b0a25858), U64_C (0x03c906ca8fcfc9c9), + U64_C (0xa429558d527c2929), U64_C (0x280a5022145a0a0a), + U64_C (0xfeb1e14f7f50b1b1), U64_C (0xbaa0691a5dc9a0a0), + U64_C (0xb16b7fdad6146b6b), U64_C (0x2e855cab17d98585), + U64_C (0xcebd8173673cbdbd), U64_C (0x695dd234ba8f5d5d), + U64_C (0x4010805020901010), U64_C (0xf7f4f303f507f4f4), + U64_C (0x0bcb16c08bddcbcb), U64_C (0xf83eedc67cd33e3e), + U64_C (0x140528110a2d0505), U64_C (0x81671fe6ce786767), + U64_C (0xb7e47353d597e4e4), U64_C (0x9c2725bb4e022727), + U64_C (0x1941325882734141), U64_C (0x168b2c9d0ba78b8b), + U64_C (0xa6a7510153f6a7a7), U64_C (0xe97dcf94fab27d7d), + U64_C (0x6e95dcfb37499595), U64_C (0x47d88e9fad56d8d8), + U64_C (0xcbfb8b30eb70fbfb), U64_C (0x9fee2371c1cdeeee), + U64_C (0xed7cc791f8bb7c7c), U64_C (0x856617e3cc716666), + U64_C (0x53dda68ea77bdddd), U64_C (0x5c17b84b2eaf1717), + U64_C (0x014702468e454747), U64_C (0x429e84dc211a9e9e), + U64_C (0x0fca1ec589d4caca), U64_C (0xb42d75995a582d2d), + U64_C (0xc6bf9179632ebfbf), U64_C (0x1c07381b0e3f0707), + U64_C (0x8ead012347acadad), U64_C (0x755aea2fb4b05a5a), + U64_C (0x36836cb51bef8383), U64_C (0xcc3385ff66b63333), + U64_C (0x91633ff2c65c6363), U64_C (0x0802100a04120202), + U64_C (0x92aa39384993aaaa), U64_C (0xd971afa8e2de7171), + U64_C (0x07c80ecf8dc6c8c8), U64_C (0x6419c87d32d11919), + U64_C (0x39497270923b4949), U64_C (0x43d9869aaf5fd9d9), + U64_C (0xeff2c31df931f2f2), U64_C (0xabe34b48dba8e3e3), + U64_C (0x715be22ab6b95b5b), U64_C (0x1a8834920dbc8888), + U64_C (0x529aa4c8293e9a9a), U64_C (0x98262dbe4c0b2626), + U64_C (0xc8328dfa64bf3232), U64_C (0xfab0e94a7d59b0b0), + U64_C (0x83e91b6acff2e9e9), U64_C (0x3c0f78331e770f0f), + U64_C (0x73d5e6a6b733d5d5), U64_C (0x3a8074ba1df48080), + U64_C (0xc2be997c6127bebe), U64_C (0x13cd26de87ebcdcd), + U64_C (0xd034bde468893434), U64_C (0x3d487a7590324848), + U64_C (0xdbffab24e354ffff), U64_C (0xf57af78ff48d7a7a), + U64_C (0x7a90f4ea3d649090), U64_C (0x615fc23ebe9d5f5f), + U64_C (0x80201da0403d2020), U64_C (0xbd6867d5d00f6868), + U64_C (0x681ad07234ca1a1a), U64_C (0x82ae192c41b7aeae), + U64_C (0xeab4c95e757db4b4), U64_C (0x4d549a19a8ce5454), + U64_C (0x7693ece53b7f9393), U64_C (0x88220daa442f2222), + U64_C (0x8d6407e9c8636464), U64_C (0xe3f1db12ff2af1f1), + U64_C (0xd173bfa2e6cc7373), U64_C (0x4812905a24821212), + U64_C (0x1d403a5d807a4040), U64_C (0x2008402810480808), + U64_C (0x2bc356e89b95c3c3), U64_C (0x97ec337bc5dfecec), + U64_C (0x4bdb9690ab4ddbdb), U64_C (0xbea1611f5fc0a1a1), + U64_C (0x0e8d1c8307918d8d), U64_C (0xf43df5c97ac83d3d), + U64_C (0x6697ccf1335b9797), U64_C (0x0000000000000000), + U64_C (0x1bcf36d483f9cfcf), U64_C (0xac2b4587566e2b2b), + U64_C (0xc57697b3ece17676), U64_C (0x328264b019e68282), + U64_C (0x7fd6fea9b128d6d6), U64_C (0x6c1bd87736c31b1b), + U64_C (0xeeb5c15b7774b5b5), U64_C (0x86af112943beafaf), + U64_C (0xb56a77dfd41d6a6a), U64_C (0x5d50ba0da0ea5050), + U64_C (0x0945124c8a574545), U64_C (0xebf3cb18fb38f3f3), + U64_C (0xc0309df060ad3030), U64_C (0x9bef2b74c3c4efef), + U64_C (0xfc3fe5c37eda3f3f), U64_C (0x4955921caac75555), + U64_C (0xb2a2791059dba2a2), U64_C (0x8fea0365c9e9eaea), + U64_C (0x89650fecca6a6565), U64_C (0xd2bab9686903baba), + U64_C (0xbc2f65935e4a2f2f), U64_C (0x27c04ee79d8ec0c0), + U64_C (0x5fdebe81a160dede), U64_C (0x701ce06c38fc1c1c), + U64_C (0xd3fdbb2ee746fdfd), U64_C (0x294d52649a1f4d4d), + U64_C (0x7292e4e039769292), U64_C (0xc9758fbceafa7575), + U64_C (0x1806301e0c360606), U64_C (0x128a249809ae8a8a), + U64_C (0xf2b2f940794bb2b2), U64_C (0xbfe66359d185e6e6), + U64_C (0x380e70361c7e0e0e), U64_C (0x7c1ff8633ee71f1f), + U64_C (0x956237f7c4556262), U64_C (0x77d4eea3b53ad4d4), + U64_C (0x9aa829324d81a8a8), U64_C (0x6296c4f431529696), + U64_C (0xc3f99b3aef62f9f9), U64_C (0x33c566f697a3c5c5), + U64_C (0x942535b14a102525), U64_C (0x7959f220b2ab5959), + U64_C (0x2a8454ae15d08484), U64_C (0xd572b7a7e4c57272), + U64_C (0xe439d5dd72ec3939), U64_C (0x2d4c5a6198164c4c), + U64_C (0x655eca3bbc945e5e), U64_C (0xfd78e785f09f7878), + U64_C (0xe038ddd870e53838), U64_C (0x0a8c148605988c8c), + U64_C (0x63d1c6b2bf17d1d1), U64_C (0xaea5410b57e4a5a5), + U64_C (0xafe2434dd9a1e2e2), U64_C (0x99612ff8c24e6161), + U64_C (0xf6b3f1457b42b3b3), U64_C (0x842115a542342121), + U64_C (0x4a9c94d625089c9c), U64_C (0x781ef0663cee1e1e), + U64_C (0x1143225286614343), U64_C (0x3bc776fc93b1c7c7), + U64_C (0xd7fcb32be54ffcfc), U64_C (0x1004201408240404), + U64_C (0x5951b208a2e35151), U64_C (0x5e99bcc72f259999), + U64_C (0xa96d4fc4da226d6d), U64_C (0x340d68391a650d0d), + U64_C (0xcffa8335e979fafa), U64_C (0x5bdfb684a369dfdf), + U64_C (0xe57ed79bfca97e7e), U64_C (0x90243db448192424), + U64_C (0xec3bc5d776fe3b3b), U64_C (0x96ab313d4b9aabab), + U64_C (0x1fce3ed181f0cece), U64_C (0x4411885522991111), + U64_C (0x068f0c8903838f8f), U64_C (0x254e4a6b9c044e4e), + U64_C (0xe6b7d1517366b7b7), U64_C (0x8beb0b60cbe0ebeb), + U64_C (0xf03cfdcc78c13c3c), U64_C (0x3e817cbf1ffd8181), + U64_C (0x6a94d4fe35409494), U64_C (0xfbf7eb0cf31cf7f7), + U64_C (0xdeb9a1676f18b9b9), U64_C (0x4c13985f268b1313), + U64_C (0xb02c7d9c58512c2c), U64_C (0x6bd3d6b8bb05d3d3), + U64_C (0xbbe76b5cd38ce7e7), U64_C (0xa56e57cbdc396e6e), + U64_C (0x37c46ef395aac4c4), U64_C (0x0c03180f061b0303), + U64_C (0x45568a13acdc5656), U64_C (0x0d441a49885e4444), + U64_C (0xe17fdf9efea07f7f), U64_C (0x9ea921374f88a9a9), + U64_C (0xa82a4d8254672a2a), U64_C (0xd6bbb16d6b0abbbb), + U64_C (0x23c146e29f87c1c1), U64_C (0x5153a202a6f15353), + U64_C (0x57dcae8ba572dcdc), U64_C (0x2c0b582716530b0b), + U64_C (0x4e9d9cd327019d9d), U64_C (0xad6c47c1d82b6c6c), + U64_C (0xc43195f562a43131), U64_C (0xcd7487b9e8f37474), + U64_C (0xfff6e309f115f6f6), U64_C (0x05460a438c4c4646), + U64_C (0x8aac092645a5acac), U64_C (0x1e893c970fb58989), + U64_C (0x5014a04428b41414), U64_C (0xa3e15b42dfbae1e1), + U64_C (0x5816b04e2ca61616), U64_C (0xe83acdd274f73a3a), + U64_C (0xb9696fd0d2066969), U64_C (0x2409482d12410909), + U64_C (0xdd70a7ade0d77070), U64_C (0xe2b6d954716fb6b6), + U64_C (0x67d0ceb7bd1ed0d0), U64_C (0x93ed3b7ec7d6eded), + U64_C (0x17cc2edb85e2cccc), U64_C (0x15422a5784684242), + U64_C (0x5a98b4c22d2c9898), U64_C (0xaaa4490e55eda4a4), + U64_C (0xa0285d8850752828), U64_C (0x6d5cda31b8865c5c), + U64_C (0xc7f8933fed6bf8f8), U64_C (0x228644a411c28686), + }; + +static const u64 C7[256] = + { + U64_C (0x186018c07830d818), U64_C (0x238c2305af462623), + U64_C (0xc63fc67ef991b8c6), U64_C (0xe887e8136fcdfbe8), + U64_C (0x8726874ca113cb87), U64_C (0xb8dab8a9626d11b8), + U64_C (0x0104010805020901), U64_C (0x4f214f426e9e0d4f), + U64_C (0x36d836adee6c9b36), U64_C (0xa6a2a6590451ffa6), + U64_C (0xd26fd2debdb90cd2), U64_C (0xf5f3f5fb06f70ef5), + U64_C (0x79f979ef80f29679), U64_C (0x6fa16f5fcede306f), + U64_C (0x917e91fcef3f6d91), U64_C (0x525552aa07a4f852), + U64_C (0x609d6027fdc04760), U64_C (0xbccabc89766535bc), + U64_C (0x9b569baccd2b379b), U64_C (0x8e028e048c018a8e), + U64_C (0xa3b6a371155bd2a3), U64_C (0x0c300c603c186c0c), + U64_C (0x7bf17bff8af6847b), U64_C (0x35d435b5e16a8035), + U64_C (0x1d741de8693af51d), U64_C (0xe0a7e05347ddb3e0), + U64_C (0xd77bd7f6acb321d7), U64_C (0xc22fc25eed999cc2), + U64_C (0x2eb82e6d965c432e), U64_C (0x4b314b627a96294b), + U64_C (0xfedffea321e15dfe), U64_C (0x5741578216aed557), + U64_C (0x155415a8412abd15), U64_C (0x77c1779fb6eee877), + U64_C (0x37dc37a5eb6e9237), U64_C (0xe5b3e57b56d79ee5), + U64_C (0x9f469f8cd923139f), U64_C (0xf0e7f0d317fd23f0), + U64_C (0x4a354a6a7f94204a), U64_C (0xda4fda9e95a944da), + U64_C (0x587d58fa25b0a258), U64_C (0xc903c906ca8fcfc9), + U64_C (0x29a429558d527c29), U64_C (0x0a280a5022145a0a), + U64_C (0xb1feb1e14f7f50b1), U64_C (0xa0baa0691a5dc9a0), + U64_C (0x6bb16b7fdad6146b), U64_C (0x852e855cab17d985), + U64_C (0xbdcebd8173673cbd), U64_C (0x5d695dd234ba8f5d), + U64_C (0x1040108050209010), U64_C (0xf4f7f4f303f507f4), + U64_C (0xcb0bcb16c08bddcb), U64_C (0x3ef83eedc67cd33e), + U64_C (0x05140528110a2d05), U64_C (0x6781671fe6ce7867), + U64_C (0xe4b7e47353d597e4), U64_C (0x279c2725bb4e0227), + U64_C (0x4119413258827341), U64_C (0x8b168b2c9d0ba78b), + U64_C (0xa7a6a7510153f6a7), U64_C (0x7de97dcf94fab27d), + U64_C (0x956e95dcfb374995), U64_C (0xd847d88e9fad56d8), + U64_C (0xfbcbfb8b30eb70fb), U64_C (0xee9fee2371c1cdee), + U64_C (0x7ced7cc791f8bb7c), U64_C (0x66856617e3cc7166), + U64_C (0xdd53dda68ea77bdd), U64_C (0x175c17b84b2eaf17), + U64_C (0x47014702468e4547), U64_C (0x9e429e84dc211a9e), + U64_C (0xca0fca1ec589d4ca), U64_C (0x2db42d75995a582d), + U64_C (0xbfc6bf9179632ebf), U64_C (0x071c07381b0e3f07), + U64_C (0xad8ead012347acad), U64_C (0x5a755aea2fb4b05a), + U64_C (0x8336836cb51bef83), U64_C (0x33cc3385ff66b633), + U64_C (0x6391633ff2c65c63), U64_C (0x020802100a041202), + U64_C (0xaa92aa39384993aa), U64_C (0x71d971afa8e2de71), + U64_C (0xc807c80ecf8dc6c8), U64_C (0x196419c87d32d119), + U64_C (0x4939497270923b49), U64_C (0xd943d9869aaf5fd9), + U64_C (0xf2eff2c31df931f2), U64_C (0xe3abe34b48dba8e3), + U64_C (0x5b715be22ab6b95b), U64_C (0x881a8834920dbc88), + U64_C (0x9a529aa4c8293e9a), U64_C (0x2698262dbe4c0b26), + U64_C (0x32c8328dfa64bf32), U64_C (0xb0fab0e94a7d59b0), + U64_C (0xe983e91b6acff2e9), U64_C (0x0f3c0f78331e770f), + U64_C (0xd573d5e6a6b733d5), U64_C (0x803a8074ba1df480), + U64_C (0xbec2be997c6127be), U64_C (0xcd13cd26de87ebcd), + U64_C (0x34d034bde4688934), U64_C (0x483d487a75903248), + U64_C (0xffdbffab24e354ff), U64_C (0x7af57af78ff48d7a), + U64_C (0x907a90f4ea3d6490), U64_C (0x5f615fc23ebe9d5f), + U64_C (0x2080201da0403d20), U64_C (0x68bd6867d5d00f68), + U64_C (0x1a681ad07234ca1a), U64_C (0xae82ae192c41b7ae), + U64_C (0xb4eab4c95e757db4), U64_C (0x544d549a19a8ce54), + U64_C (0x937693ece53b7f93), U64_C (0x2288220daa442f22), + U64_C (0x648d6407e9c86364), U64_C (0xf1e3f1db12ff2af1), + U64_C (0x73d173bfa2e6cc73), U64_C (0x124812905a248212), + U64_C (0x401d403a5d807a40), U64_C (0x0820084028104808), + U64_C (0xc32bc356e89b95c3), U64_C (0xec97ec337bc5dfec), + U64_C (0xdb4bdb9690ab4ddb), U64_C (0xa1bea1611f5fc0a1), + U64_C (0x8d0e8d1c8307918d), U64_C (0x3df43df5c97ac83d), + U64_C (0x976697ccf1335b97), U64_C (0x0000000000000000), + U64_C (0xcf1bcf36d483f9cf), U64_C (0x2bac2b4587566e2b), + U64_C (0x76c57697b3ece176), U64_C (0x82328264b019e682), + U64_C (0xd67fd6fea9b128d6), U64_C (0x1b6c1bd87736c31b), + U64_C (0xb5eeb5c15b7774b5), U64_C (0xaf86af112943beaf), + U64_C (0x6ab56a77dfd41d6a), U64_C (0x505d50ba0da0ea50), + U64_C (0x450945124c8a5745), U64_C (0xf3ebf3cb18fb38f3), + U64_C (0x30c0309df060ad30), U64_C (0xef9bef2b74c3c4ef), + U64_C (0x3ffc3fe5c37eda3f), U64_C (0x554955921caac755), + U64_C (0xa2b2a2791059dba2), U64_C (0xea8fea0365c9e9ea), + U64_C (0x6589650fecca6a65), U64_C (0xbad2bab9686903ba), + U64_C (0x2fbc2f65935e4a2f), U64_C (0xc027c04ee79d8ec0), + U64_C (0xde5fdebe81a160de), U64_C (0x1c701ce06c38fc1c), + U64_C (0xfdd3fdbb2ee746fd), U64_C (0x4d294d52649a1f4d), + U64_C (0x927292e4e0397692), U64_C (0x75c9758fbceafa75), + U64_C (0x061806301e0c3606), U64_C (0x8a128a249809ae8a), + U64_C (0xb2f2b2f940794bb2), U64_C (0xe6bfe66359d185e6), + U64_C (0x0e380e70361c7e0e), U64_C (0x1f7c1ff8633ee71f), + U64_C (0x62956237f7c45562), U64_C (0xd477d4eea3b53ad4), + U64_C (0xa89aa829324d81a8), U64_C (0x966296c4f4315296), + U64_C (0xf9c3f99b3aef62f9), U64_C (0xc533c566f697a3c5), + U64_C (0x25942535b14a1025), U64_C (0x597959f220b2ab59), + U64_C (0x842a8454ae15d084), U64_C (0x72d572b7a7e4c572), + U64_C (0x39e439d5dd72ec39), U64_C (0x4c2d4c5a6198164c), + U64_C (0x5e655eca3bbc945e), U64_C (0x78fd78e785f09f78), + U64_C (0x38e038ddd870e538), U64_C (0x8c0a8c148605988c), + U64_C (0xd163d1c6b2bf17d1), U64_C (0xa5aea5410b57e4a5), + U64_C (0xe2afe2434dd9a1e2), U64_C (0x6199612ff8c24e61), + U64_C (0xb3f6b3f1457b42b3), U64_C (0x21842115a5423421), + U64_C (0x9c4a9c94d625089c), U64_C (0x1e781ef0663cee1e), + U64_C (0x4311432252866143), U64_C (0xc73bc776fc93b1c7), + U64_C (0xfcd7fcb32be54ffc), U64_C (0x0410042014082404), + U64_C (0x515951b208a2e351), U64_C (0x995e99bcc72f2599), + U64_C (0x6da96d4fc4da226d), U64_C (0x0d340d68391a650d), + U64_C (0xfacffa8335e979fa), U64_C (0xdf5bdfb684a369df), + U64_C (0x7ee57ed79bfca97e), U64_C (0x2490243db4481924), + U64_C (0x3bec3bc5d776fe3b), U64_C (0xab96ab313d4b9aab), + U64_C (0xce1fce3ed181f0ce), U64_C (0x1144118855229911), + U64_C (0x8f068f0c8903838f), U64_C (0x4e254e4a6b9c044e), + U64_C (0xb7e6b7d1517366b7), U64_C (0xeb8beb0b60cbe0eb), + U64_C (0x3cf03cfdcc78c13c), U64_C (0x813e817cbf1ffd81), + U64_C (0x946a94d4fe354094), U64_C (0xf7fbf7eb0cf31cf7), + U64_C (0xb9deb9a1676f18b9), U64_C (0x134c13985f268b13), + U64_C (0x2cb02c7d9c58512c), U64_C (0xd36bd3d6b8bb05d3), + U64_C (0xe7bbe76b5cd38ce7), U64_C (0x6ea56e57cbdc396e), + U64_C (0xc437c46ef395aac4), U64_C (0x030c03180f061b03), + U64_C (0x5645568a13acdc56), U64_C (0x440d441a49885e44), + U64_C (0x7fe17fdf9efea07f), U64_C (0xa99ea921374f88a9), + U64_C (0x2aa82a4d8254672a), U64_C (0xbbd6bbb16d6b0abb), + U64_C (0xc123c146e29f87c1), U64_C (0x535153a202a6f153), + U64_C (0xdc57dcae8ba572dc), U64_C (0x0b2c0b582716530b), + U64_C (0x9d4e9d9cd327019d), U64_C (0x6cad6c47c1d82b6c), + U64_C (0x31c43195f562a431), U64_C (0x74cd7487b9e8f374), + U64_C (0xf6fff6e309f115f6), U64_C (0x4605460a438c4c46), + U64_C (0xac8aac092645a5ac), U64_C (0x891e893c970fb589), + U64_C (0x145014a04428b414), U64_C (0xe1a3e15b42dfbae1), + U64_C (0x165816b04e2ca616), U64_C (0x3ae83acdd274f73a), + U64_C (0x69b9696fd0d20669), U64_C (0x092409482d124109), + U64_C (0x70dd70a7ade0d770), U64_C (0xb6e2b6d954716fb6), + U64_C (0xd067d0ceb7bd1ed0), U64_C (0xed93ed3b7ec7d6ed), + U64_C (0xcc17cc2edb85e2cc), U64_C (0x4215422a57846842), + U64_C (0x985a98b4c22d2c98), U64_C (0xa4aaa4490e55eda4), + U64_C (0x28a0285d88507528), U64_C (0x5c6d5cda31b8865c), + U64_C (0xf8c7f8933fed6bf8), U64_C (0x86228644a411c286), + }; + + + +static void +whirlpool_init (void *ctx) +{ + whirlpool_context_t *context = ctx; + + memset (context, 0, sizeof (*context)); +} + + +/* + * Transform block. + */ +static void +whirlpool_transform (whirlpool_context_t *context, const unsigned char *data) +{ + whirlpool_block_t data_block; + whirlpool_block_t key; + whirlpool_block_t state; + whirlpool_block_t block; + unsigned int r; + unsigned int i; + + buffer_to_block (data, data_block, i); + block_copy (key, context->hash_state, i); + block_copy (state, context->hash_state, i); + block_xor (state, data_block, i); + + for (r = 0; r < R; r++) + { + /* Compute round key K^r. */ + + block[0] = (C0[(key[0] >> 56) & 0xFF] ^ C1[(key[7] >> 48) & 0xFF] ^ + C2[(key[6] >> 40) & 0xFF] ^ C3[(key[5] >> 32) & 0xFF] ^ + C4[(key[4] >> 24) & 0xFF] ^ C5[(key[3] >> 16) & 0xFF] ^ + C6[(key[2] >> 8) & 0xFF] ^ C7[(key[1] >> 0) & 0xFF] ^ rc[r]); + block[1] = (C0[(key[1] >> 56) & 0xFF] ^ C1[(key[0] >> 48) & 0xFF] ^ + C2[(key[7] >> 40) & 0xFF] ^ C3[(key[6] >> 32) & 0xFF] ^ + C4[(key[5] >> 24) & 0xFF] ^ C5[(key[4] >> 16) & 0xFF] ^ + C6[(key[3] >> 8) & 0xFF] ^ C7[(key[2] >> 0) & 0xFF]); + block[2] = (C0[(key[2] >> 56) & 0xFF] ^ C1[(key[1] >> 48) & 0xFF] ^ + C2[(key[0] >> 40) & 0xFF] ^ C3[(key[7] >> 32) & 0xFF] ^ + C4[(key[6] >> 24) & 0xFF] ^ C5[(key[5] >> 16) & 0xFF] ^ + C6[(key[4] >> 8) & 0xFF] ^ C7[(key[3] >> 0) & 0xFF]); + block[3] = (C0[(key[3] >> 56) & 0xFF] ^ C1[(key[2] >> 48) & 0xFF] ^ + C2[(key[1] >> 40) & 0xFF] ^ C3[(key[0] >> 32) & 0xFF] ^ + C4[(key[7] >> 24) & 0xFF] ^ C5[(key[6] >> 16) & 0xFF] ^ + C6[(key[5] >> 8) & 0xFF] ^ C7[(key[4] >> 0) & 0xFF]); + block[4] = (C0[(key[4] >> 56) & 0xFF] ^ C1[(key[3] >> 48) & 0xFF] ^ + C2[(key[2] >> 40) & 0xFF] ^ C3[(key[1] >> 32) & 0xFF] ^ + C4[(key[0] >> 24) & 0xFF] ^ C5[(key[7] >> 16) & 0xFF] ^ + C6[(key[6] >> 8) & 0xFF] ^ C7[(key[5] >> 0) & 0xFF]); + block[5] = (C0[(key[5] >> 56) & 0xFF] ^ C1[(key[4] >> 48) & 0xFF] ^ + C2[(key[3] >> 40) & 0xFF] ^ C3[(key[2] >> 32) & 0xFF] ^ + C4[(key[1] >> 24) & 0xFF] ^ C5[(key[0] >> 16) & 0xFF] ^ + C6[(key[7] >> 8) & 0xFF] ^ C7[(key[6] >> 0) & 0xFF]); + block[6] = (C0[(key[6] >> 56) & 0xFF] ^ C1[(key[5] >> 48) & 0xFF] ^ + C2[(key[4] >> 40) & 0xFF] ^ C3[(key[3] >> 32) & 0xFF] ^ + C4[(key[2] >> 24) & 0xFF] ^ C5[(key[1] >> 16) & 0xFF] ^ + C6[(key[0] >> 8) & 0xFF] ^ C7[(key[7] >> 0) & 0xFF]); + block[7] = (C0[(key[7] >> 56) & 0xFF] ^ C1[(key[6] >> 48) & 0xFF] ^ + C2[(key[5] >> 40) & 0xFF] ^ C3[(key[4] >> 32) & 0xFF] ^ + C4[(key[3] >> 24) & 0xFF] ^ C5[(key[2] >> 16) & 0xFF] ^ + C6[(key[1] >> 8) & 0xFF] ^ C7[(key[0] >> 0) & 0xFF]); + block_copy (key, block, i); + + /* Apply r-th round transformation. */ + + block[0] = (C0[(state[0] >> 56) & 0xFF] ^ C1[(state[7] >> 48) & 0xFF] ^ + C2[(state[6] >> 40) & 0xFF] ^ C3[(state[5] >> 32) & 0xFF] ^ + C4[(state[4] >> 24) & 0xFF] ^ C5[(state[3] >> 16) & 0xFF] ^ + C6[(state[2] >> 8) & 0xFF] ^ C7[(state[1] >> 0) & 0xFF] ^ key[0]); + block[1] = (C0[(state[1] >> 56) & 0xFF] ^ C1[(state[0] >> 48) & 0xFF] ^ + C2[(state[7] >> 40) & 0xFF] ^ C3[(state[6] >> 32) & 0xFF] ^ + C4[(state[5] >> 24) & 0xFF] ^ C5[(state[4] >> 16) & 0xFF] ^ + C6[(state[3] >> 8) & 0xFF] ^ C7[(state[2] >> 0) & 0xFF] ^ key[1]); + block[2] = (C0[(state[2] >> 56) & 0xFF] ^ C1[(state[1] >> 48) & 0xFF] ^ + C2[(state[0] >> 40) & 0xFF] ^ C3[(state[7] >> 32) & 0xFF] ^ + C4[(state[6] >> 24) & 0xFF] ^ C5[(state[5] >> 16) & 0xFF] ^ + C6[(state[4] >> 8) & 0xFF] ^ C7[(state[3] >> 0) & 0xFF] ^ key[2]); + block[3] = (C0[(state[3] >> 56) & 0xFF] ^ C1[(state[2] >> 48) & 0xFF] ^ + C2[(state[1] >> 40) & 0xFF] ^ C3[(state[0] >> 32) & 0xFF] ^ + C4[(state[7] >> 24) & 0xFF] ^ C5[(state[6] >> 16) & 0xFF] ^ + C6[(state[5] >> 8) & 0xFF] ^ C7[(state[4] >> 0) & 0xFF] ^ key[3]); + block[4] = (C0[(state[4] >> 56) & 0xFF] ^ C1[(state[3] >> 48) & 0xFF] ^ + C2[(state[2] >> 40) & 0xFF] ^ C3[(state[1] >> 32) & 0xFF] ^ + C4[(state[0] >> 24) & 0xFF] ^ C5[(state[7] >> 16) & 0xFF] ^ + C6[(state[6] >> 8) & 0xFF] ^ C7[(state[5] >> 0) & 0xFF] ^ key[4]); + block[5] = (C0[(state[5] >> 56) & 0xFF] ^ C1[(state[4] >> 48) & 0xFF] ^ + C2[(state[3] >> 40) & 0xFF] ^ C3[(state[2] >> 32) & 0xFF] ^ + C4[(state[1] >> 24) & 0xFF] ^ C5[(state[0] >> 16) & 0xFF] ^ + C6[(state[7] >> 8) & 0xFF] ^ C7[(state[6] >> 0) & 0xFF] ^ key[5]); + block[6] = (C0[(state[6] >> 56) & 0xFF] ^ C1[(state[5] >> 48) & 0xFF] ^ + C2[(state[4] >> 40) & 0xFF] ^ C3[(state[3] >> 32) & 0xFF] ^ + C4[(state[2] >> 24) & 0xFF] ^ C5[(state[1] >> 16) & 0xFF] ^ + C6[(state[0] >> 8) & 0xFF] ^ C7[(state[7] >> 0) & 0xFF] ^ key[6]); + block[7] = (C0[(state[7] >> 56) & 0xFF] ^ C1[(state[6] >> 48) & 0xFF] ^ + C2[(state[5] >> 40) & 0xFF] ^ C3[(state[4] >> 32) & 0xFF] ^ + C4[(state[3] >> 24) & 0xFF] ^ C5[(state[2] >> 16) & 0xFF] ^ + C6[(state[1] >> 8) & 0xFF] ^ C7[(state[0] >> 0) & 0xFF] ^ key[7]); + block_copy (state, block, i); + } + + /* Compression. */ + + block_xor (context->hash_state, data_block, i); + block_xor (context->hash_state, state, i); +} + +static void +whirlpool_add (whirlpool_context_t *context, + const void *buffer_arg, size_t buffer_n) +{ + const unsigned char *buffer = buffer_arg; + u64 buffer_size; + unsigned int carry; + unsigned int i; + + buffer_size = buffer_n; + + if (context->count == BLOCK_SIZE) + { + /* Flush the buffer. */ + whirlpool_transform (context, context->buffer); + /*_gcry_burn_stack (80+6*sizeof(void*));*/ /* FIXME */ + context->count = 0; + } + if (! buffer) + return; /* Nothing to add. */ + + if (context->count) + { + while (buffer_n && (context->count < BLOCK_SIZE)) + { + context->buffer[context->count++] = *buffer++; + buffer_n--; + } + whirlpool_add (context, NULL, 0); + if (!buffer_n) + /* Done. */ + return; + } + /*_gcry_burn_stack (80+6*sizeof(void*));*/ /* FIXME */ + + while (buffer_n >= BLOCK_SIZE) + { + whirlpool_transform (context, buffer); + context->count = 0; + buffer_n -= BLOCK_SIZE; + buffer += BLOCK_SIZE; + } + while (buffer_n && (context->count < BLOCK_SIZE)) + { + context->buffer[context->count++] = *buffer++; + buffer_n--; + } + + /* Update bit counter. */ + carry = 0; + buffer_size <<= 3; + for (i = 1; i <= 32; i++) + { + if (! (buffer_size || carry)) + break; + + carry += context->length[32 - i] + (buffer_size & 0xFF); + context->length[32 - i] = carry; + buffer_size >>= 8; + carry >>= 8; + } + gcry_assert (! (buffer_size || carry)); +} + +static void +whirlpool_write (void *ctx, const void *buffer, size_t buffer_n) +{ + whirlpool_context_t *context = ctx; + + whirlpool_add (context, buffer, buffer_n); +} + +static void +whirlpool_final (void *ctx) +{ + whirlpool_context_t *context = ctx; + unsigned int i; + + /* Flush. */ + whirlpool_add (context, NULL, 0); + + /* Pad. */ + context->buffer[context->count++] = 0x80; + + if (context->count > 32) + { + /* An extra block is necessary. */ + while (context->count < 64) + context->buffer[context->count++] = 0; + whirlpool_add (context, NULL, 0); + } + while (context->count < 32) + context->buffer[context->count++] = 0; + + /* Add length of message. */ + memcpy (context->buffer + context->count, context->length, 32); + context->count += 32; + whirlpool_add (context, NULL, 0); + + block_to_buffer (context->buffer, context->hash_state, i); +} + +static byte * +whirlpool_read (void *ctx) +{ + whirlpool_context_t *context = ctx; + + return context->buffer; +} + +gcry_md_spec_t _gcry_digest_spec_whirlpool = + { + "WHIRLPOOL", NULL, 0, NULL, 64, + whirlpool_init, whirlpool_write, whirlpool_final, whirlpool_read, + sizeof (whirlpool_context_t) + , + .blocksize = 64 + }; + + +GRUB_MOD_INIT(gcry_whirlpool) +{ + grub_md_register (&_gcry_digest_spec_whirlpool); +} + +GRUB_MOD_FINI(gcry_whirlpool) +{ + grub_md_unregister (&_gcry_digest_spec_whirlpool); +} diff --git a/grub-core/lib/libgcrypt/cipher/ChangeLog b/grub-core/lib/libgcrypt/cipher/ChangeLog new file mode 100644 index 0000000..8924f17 --- /dev/null +++ b/grub-core/lib/libgcrypt/cipher/ChangeLog @@ -0,0 +1,3900 @@ +2009-01-22 Werner Koch + + * ecc.c (compute_keygrip): Remove superfluous const. + +2009-01-06 Werner Koch + + * rmd160.c (oid_spec_rmd160): Add TeleTrust identifier. + +2008-12-10 Werner Koch + + * dsa.c (generate): Add arg DOMAIN and use it if specified. + (generate_fips186): Ditto. + (dsa_generate_ext): Parse and check the optional "domain" + parameter and pass them to the generate functions. + + * rijndael.c (rijndael_names): Add "AES128" and "AES-128". + (rijndael192_names): Add "AES-192". + (rijndael256_names): Add "AES-256". + +2008-12-05 Werner Koch + + * dsa.c (generate): Add arg TRANSIENT_KEY and use it to detrmine + the RNG quality needed. + (dsa_generate_ext): Parse the transient-key flag und pass it to + generate. + +2008-11-28 Werner Koch + + * dsa.c (generate_fips186): Add arg DERIVEPARMS and use the seed + value if available. + + * primegen.c (_gcry_generate_fips186_2_prime): Fix inner p loop. + +2008-11-26 Werner Koch + + * primegen.c (_gcry_generate_fips186_3_prime): New. + * dsa.c (generate_fips186): Add arg USE_FIPS186_2. + (dsa_generate_ext): Parse new flag use-fips183-2. + +2008-11-25 Werner Koch + + * dsa.c (generate_fips186): New. + (dsa_generate_ext): Use new function if derive-parms are given or + if in FIPS mode. + * primegen.c (_gcry_generate_fips186_2_prime): New. + +2008-11-24 Werner Koch + + * pubkey.c (gcry_pk_genkey): Insert code to output extrainfo. + (pubkey_generate): Add arg R_EXTRAINFO and pass it to the extended + key generation function. + * rsa.c (gen_x931_parm_xp, gen_x931_parm_xi): New. + (generate_x931): Generate params if not given. + (rsa_generate_ext): Parse use-x931 flag. Return p-q-swapped + indicator. + * dsa.c (dsa_generate_ext): Put RETFACTORS into R_EXTRAINFO if + possible. + + * pubkey.c (gcry_pk_genkey): Remove parsing of almost all + parameters and pass the parameter S-expression to pubkey_generate. + (pubkey_generate): Simplify by requitring modules to parse the + parameters. Remove the special cases for Elgamal and ECC. + (sexp_elements_extract_ecc): Add arg EXTRASPEC and use it. Fix + small memory leak. + (sexp_to_key): Pass EXTRASPEC to sexp_elements_extract_ecc. + (pubkey_table) [USE_ELGAMAL]: Add real extraspec. + * rsa.c (rsa_generate_ext): Adjust for new calling convention. + * dsa.c (dsa_generate_ext): Ditto. + * elgamal.c (_gcry_elg_generate): Ditto. Rename to elg_generate_ext. + (elg_generate): New. + (_gcry_elg_generate_using_x): Remove after merging code with + elg_generate_ext. + (_gcry_pubkey_extraspec_elg): New. + (_gcry_elg_check_secret_key, _gcry_elg_encrypt, _gcry_elg_sign) + (_gcry_elg_verify, _gcry_elg_get_nbits): Make static and remove + _gcry_ prefix. + * ecc.c (_gcry_ecc_generate): Rename to ecc_generate_ext and + adjust for new calling convention. + (_gcry_ecc_get_param): Rename to ecc_get_param and make static. + (_gcry_pubkey_extraspec_ecdsa): Add ecc_generate_ext and + ecc_get_param. + +2008-11-20 Werner Koch + + * pubkey.c (pubkey_generate): Add arg DERIVEPARMS. + (gcry_pk_genkey): Parse derive-parms and pass it to above. + * rsa.c (generate_x931): New. + (rsa_generate_ext): Add arg DERIVEPARMS and call new function in + fips mode or if DERIVEPARMS is given. + * primegen.c (_gcry_derive_x931_prime, find_x931_prime): New. + +2008-11-19 Werner Koch + + * rsa.c (rsa_decrypt): Use gcry_create_nonce for blinding. + (generate): Rename to generate_std. + +2008-11-05 Werner Koch + + * md.c (md_open): Use a switch to set the Bsize. + (prepare_macpads): Fix long key case for SHA384 and SHA512. + + * cipher.c (gcry_cipher_handle): Add field EXTRASPEC. + (gcry_cipher_open): Set it. + (gcry_cipher_ctl): Add private control code to disable weak key + detection and to return the current input block. + * des.c (_tripledes_ctx): Add field FLAGS. + (do_tripledes_set_extra_info): New. + (_gcry_cipher_extraspec_tripledes): Add new function. + (do_tripledes_setkey): Disable weak key detection. + +2008-10-24 Werner Koch + + * md.c (digest_table): Allow MD5 in fips mode. + (md_register_default): Take special action for MD5. + (md_enable, gcry_md_hash_buffer): Ditto. + +2008-09-30 Werner Koch + + * rijndael.c (do_setkey): Properly align "t" and "tk". + (prepare_decryption): Properly align "w". Fixes bug #936. + +2008-09-18 Werner Koch + + * pubkey.c (gcry_pk_genkey): Parse domain parameter. + (pubkey_generate): Add new arg DOMAIN and remove special case for + DSA with qbits. + * rsa.c (rsa_generate): Add dummy args QBITS, NAME and DOMAIN and + rename to rsa_generate_ext. Change caller. + (_gcry_rsa_generate, _gcry_rsa_check_secret_key) + (_gcry_rsa_encrypt, _gcry_rsa_decrypt, _gcry_rsa_sign) + (_gcry_rsa_verify, _gcry_rsa_get_nbits): Make static and remove + _gcry_ prefix. + (_gcry_pubkey_spec_rsa, _gcry_pubkey_extraspec_rsa): Adjust names. + * dsa.c (dsa_generate_ext): New. + (_gcry_dsa_generate): Replace code by a call to dsa_generate. + (_gcry_dsa_check_secret_key, _gcry_dsa_sign, _gcry_dsa_verify) + (_gcry_dsa_get_nbits): Make static and remove _gcry prefix. + (_gcry_dsa_generate2): Remove. + (_gcry_pubkey_spec_dsa): Adjust to name changes. + (_gcry_pubkey_extraspec_rsa): Add dsa_generate_ext. + +2008-09-16 Werner Koch + + * ecc.c (run_selftests): Add arg EXTENDED. + +2008-09-12 Werner Koch + + * rsa.c (test_keys): Do a bad case signature check. + * dsa.c (test_keys): Do a bad case check. + + * cipher.c (_gcry_cipher_selftest): Add arg EXTENDED and pass it + to the called tests. + * md.c (_gcry_md_selftest): Ditto. + * pubkey.c (_gcry_pk_selftest): Ditto. + * rijndael.c (run_selftests): Add arg EXTENDED and pass it to the + called tests. + (selftest_fips_128): Add arg EXTENDED and run only one test + non-extended mode. + (selftest_fips_192): Add dummy arg EXTENDED. + (selftest_fips_256): Ditto. + * hmac-tests.c (_gcry_hmac_selftest): Ditto. + (run_selftests): Ditto. + (selftests_sha1): Add arg EXTENDED and run only one test + non-extended mode. + (selftests_sha224, selftests_sha256): Ditto. + (selftests_sha384, selftests_sha512): Ditto. + * sha1.c (run_selftests): Add arg EXTENDED and pass it to the + called test. + (selftests_sha1): Add arg EXTENDED and run only one test + non-extended mode. + * sha256.c (run_selftests): Add arg EXTENDED and pass it to the + called tests. + (selftests_sha224): Add arg EXTENDED and run only one test + non-extended mode. + (selftests_sha256): Ditto. + * sha512.c (run_selftests): Add arg EXTENDED and pass it to the + called tests. + (selftests_sha384): Add arg EXTENDED and run only one test + non-extended mode. + (selftests_sha512): Ditto. + * des.c (run_selftests): Add arg EXTENDED and pass it to the + called test. + (selftest_fips): Add dummy arg EXTENDED. + * rsa.c (run_selftests): Add dummy arg EXTENDED. + + * dsa.c (run_selftests): Add dummy arg EXTENDED. + + * rsa.c (extract_a_from_sexp): New. + (selftest_encr_1024): Check that the ciphertext does not match the + plaintext. + (test_keys): Improve tests and return an error status. + (generate): Return an error if test_keys fails. + * dsa.c (test_keys): Add comments and return an error status. + (generate): Return an error if test_keys failed. + +2008-09-11 Werner Koch + + * rsa.c (_gcry_rsa_decrypt): Return an error instead of calling + BUG in case of a practically impossible condition. + (sample_secret_key, sample_public_key): New. + (selftest_sign_1024, selftest_encr_1024): New. + (selftests_rsa): Implement tests. + * dsa.c (sample_secret_key, sample_public_key): New. + (selftest_sign_1024): New. + (selftests_dsa): Implement tests. + +2008-09-09 Werner Koch + + * hmac-tests.c (selftests_sha1): Add tests. + (selftests_sha224, selftests_sha384, selftests_sha512): Make up tests. + + * hash-common.c, hash-common.h: New. + * sha1.c (selftests_sha1): Add 3 tests. + * sha256.c (selftests_sha256, selftests_sha224): Ditto. + * sha512.c (selftests_sha512, selftests_sha384): Ditto. + +2008-08-29 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Remove the special case for RSA + and check whether a custom computation function has been setup. + * rsa.c (compute_keygrip): New. + (_gcry_pubkey_extraspec_rsa): Setup this function. + * ecc.c (compute_keygrip): New. + (_gcry_pubkey_extraspec_ecdsa): Setup this function. + +2008-08-28 Werner Koch + + * cipher.c (cipher_decrypt, cipher_encrypt): Return an error if + mode NONE is used. + (gcry_cipher_open): Allow mode NONE only with a debug flag set and + if not in FIPS mode. + +2008-08-26 Werner Koch + + * pubkey.c (pubkey_generate): Add arg KEYGEN_FLAGS. + (gcry_pk_genkey): Implement new parameter "transient-key" and + pass it as flags to pubkey_generate. + (pubkey_generate): Make use of an ext_generate function. + * rsa.c (generate): Add new arg transient_key and pass appropriate + args to the prime generator. + (_gcry_rsa_generate): Factor all code out to ... + (rsa_generate): .. new func with extra arg KEYGEN_FLAGS. + (_gcry_pubkey_extraspec_ecdsa): Setup rsa_generate. + * primegen.c (_gcry_generate_secret_prime) + (_gcry_generate_public_prime): Add new arg RANDOM_LEVEL. + +2008-08-21 Werner Koch + + * primegen.c (_gcry_generate_secret_prime) + (_gcry_generate_public_prime): Use a constant macro for the random + level. + +2008-08-19 Werner Koch + + * pubkey.c (sexp_elements_extract_ecc) [!USE_ECC]: Do not allow + allow "curve" parameter. + +2008-08-15 Werner Koch + + * pubkey.c (_gcry_pk_selftest): New. + * dsa.c (selftests_dsa, run_selftests): New. + * rsa.c (selftests_rsa, run_selftests): New. + * ecc.c (selftests_ecdsa, run_selftests): New. + + * md.c (_gcry_md_selftest): New. + * sha1.c (run_selftests, selftests_sha1): New. + * sha256.c (selftests_sha224, selftests_sha256, run_selftests): New. + * sha512.c (selftests_sha384, selftests_sha512, run_selftests): New. + + * des.c (selftest): Remove static variable form selftest. + (des_setkey): No on-the-fly self test in fips mode. + (tripledes_set3keys): Ditto. + + * cipher.c (_gcry_cipher_setkey, _gcry_cipher_setiv): + + * dsa.c (generate): Bail out in fips mode if NBITS is less than 1024. + * rsa.c (generate): Return an error code if the the requested size + is less than 1024 and we are in fpis mode. + (_gcry_rsa_generate): Take care of that error code. + + * ecc.c (generate_curve): In fips mode enable only NIST curves. + + * cipher.c (_gcry_cipher_selftest): New. + + * sha512.c (_gcry_digest_extraspec_sha384) + (_gcry_digest_extraspec_sha512): New. + * sha256.c (_gcry_digest_extraspec_sha224) + (_gcry_digest_extraspec_sha256): New. + * sha1.c (_gcry_digest_extraspec_sha1): New. + * ecc.c (_gcry_pubkey_extraspec_ecdsa): New. + * dsa.c (_gcry_pubkey_extraspec_dsa): New. + * rsa.c (_gcry_pubkey_extraspec_rsa): New. + * rijndael.c (_gcry_cipher_extraspec_aes) + (_gcry_cipher_extraspec_aes192, _gcry_cipher_extraspec_aes256): New. + * des.c (_gcry_cipher_extraspec_tripledes): New. + + * cipher.c (gcry_cipher_register): Rename to _gcry_cipher_register. + Add arg EXTRASPEC. + (dummy_extra_spec): New. + (cipher_table_entry): Add extraspec field. + * md.c (_gcry_md_register): Rename to _gcry_md_register. Add + arg EXTRASPEC. + (dummy_extra_spec): New. + (digest_table_entry): Add extraspec field. + * pubkey.c (gcry_pk_register): Rename to _gcry_pk_register. Add + arg EXTRASPEC. + (dummy_extra_spec): New. + (pubkey_table_entry): Add extraspec field. + + * ac.c: Let most public functions return GPG_ERR_UNSUPPORTED in + fips mode. + + * pubkey.c (pubkey_table_entry): Add field FIPS_ALLOWED and mark + appropriate algorithms. + (dummy_generate, dummy_check_secret_key, dummy_encrypt) + (dummy_decrypt, dummy_sign, dummy_verify, dummy_get_nbits): Signal + a fips error when used. + (gcry_pk_register): In fips mode do not allow to register new + algorithms. + + * md.c (digest_table): Add field FIPS_ALLOWED and mark appropriate + algorithms. + (md_register_default): In fips mode register only fips algorithms. + (gcry_md_register): In fips mode do not allow to register new + algorithms. + (gcry_md_get): Signal a fips error if called. + (gcry_md_hash_buffer): Do not allow rmd160 when not in fips mode. + (md_start_debug): Disable in fips_mode. + + * md.c (gcry_md_register_default): Rename to .. + (md_register_default): .. this. + (md_digest): Remove this commented fucntion. + * pubkey.c (gcry_pk_register_default): Rename to .. + (pk_register_default): .. this. + + * cipher.c (cipher_table_entry): Add field FIPS_ALLOWED. + (gcry_cipher_register_default): Register only fips approved + algorithms. + (gcry_cipher_register): Do not allow to register new ciphers. + (cipher_setiv): Signal fips error. + + * cipher (gcry_cipher_register_default): Rename to .. + (cipher_register_default): .. this. + (REGISTER_DEFAULT_CIPHERS): Adjust for that change. + +2008-07-05 Werner Koch + + * random-daemon.c, random.h, rndhw.c, rndunix.c, rand-internal.h + * random.c, rndegd.c, rndlinux.c, rndw32.c: Move to ../cipher. + * Makefile.am: Remove random stuff. + +2008-06-24 Szakats Istvan (wk) + + * ac.c (_gcry_ac_key_destroy, _gcry_ac_key_pair_generate): Relase + some more memory. + +2008-04-22 Werner Koch + + * rijndael.c (_gcry_aes_cfb_enc, _gcry_aes_cbc_enc) + (_gcry_aes_cfb_dec, _gcry_aes_cbc_dec): Use Padlock if possible. + +2008-04-18 Werner Koch + + * sha1.c (transform_aligned): Remove. That is will obviosuly not + work because we need a scratch working area and our internal API + does not allow to modify the buffers. + + * rijndael.c: Factor tables out to .. + * rijndael-tables.h: .. new. + + * ac.c (ac_data_extract): Make static. + + * camellia.h [HAVE_CONFIG_H]: Include config.h. + + * rndw32.c (registry_poll): Only print the performance data + problem warning once. Suggested by Simon Josefsson. + +2008-03-19 Werner Koch + + * cipher.c (gcry_cipher_open) [USE_AES]: Init bulk encryption only + if requested. Suggested by Dirk Stoecker. + +2008-03-18 Werner Koch + + * sha1.c: Include stdint.h. + (transform): Add arg NBLOCKS so that we can work on more than one + block and avoid updates of the chaining variables. Changed all + callers to use 1. + (sha1_write): Replace loop around transform. + (transform_aligned) [WORDS_BIGENDIAN]: New. + (TRANSFORM): New macro to replace all direct calls of transform. + +2008-03-17 Werner Koch + + * rijndael.c (_gcry_aes_cfb_dec): New. + (do_encrypt): Factor code out to .. + (do_encrypt_aligned): .. New. + (_gcry_aes_cfb_enc, _gcry_aes_cfb_dec): Use new function. + (do_decrypt): Factor code out to .. + (do_decrypt_aligned): .. new. + (_gcry_aes_cbc_enc, _gcry_aes_cbc_dec): New. + * cipher.c (struct gcry_cipher_handle): Put field IV into new + union U_IV to enforce proper alignment. Change all users. + (do_cfb_decrypt): Optimize. + (do_cbc_encrypt, do_cbc_decrypt): Optimize. + +2008-03-15 Werner Koch + + * rijndael.c (_gcry_aes_cfb_enc): New. + * cipher.c (struct gcry_cipher_handle): Add field ALGO and BULK. + (gcry_cipher_open): Set ALGO and BULK. + (do_cfb_encrypt): Optimize. + +2008-02-18 Werner Koch + + * rsa.c (_gcry_rsa_verify) [IS_DEVELOPMENT_VERSION]: Print + intermediate results. + +2008-01-08 Werner Koch + + * random.c (add_randomness): Do not just increment + POOL_FILLED_COUNTER but update it by the actual amount of data. + +2007-12-13 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Support SHA-224. + +2007-12-05 Werner Koch + + * rijndael.c (USE_PADLOCK): Depend on ENABLE_PADLOCK_SUPPORT. + * rndhw.c (USE_PADLOCK): Ditto + + * rsa.c (secret): Fixed condition test for using CRT. Reported by + Dean Scarff. Fixes bug#864. + (_gcry_rsa_check_secret_key): Return an erro if the optional + parameters are missing. + * pubkey.c (sexp_elements_extract): Add arg ALGO_NAME. Changed all + callers to pass NULL. Add hack to allow for optional RSA + parameters. + (sexp_to_key): Pass algo name to sexp_elements_extract. + +2007-12-03 Werner Koch + + * random.c (gcry_random_add_bytes): Implement it. + * rand-internal.h (RANDOM_ORIGIN_EXTERNAL): New. + +2007-11-30 Werner Koch + + * rndhw.c: New. + * rndlinux.c (_gcry_rndlinux_gather_random): Try to read 50% + directly from the hwrng. + * random.c (do_fast_random_poll): Also run the hw rng fast poll. + (_gcry_random_dump_stats): Tell whether the hw rng failed. + +2007-11-29 Werner Koch + + * rijndael.c (USE_PADLOCK): Define new macro used for ia32. + (RIJNDAEL_context) [USE_PADLOCK]: Add fields USE_PADLOCK and + PADLOCK_KEY. + (do_setkey) [USE_PADLOCK]: Enable padlock if available for 128 bit + AES. + (do_padlock) [USE_PADLOCK]: New. + (rijndael_encrypt, rijndael_decrypt) [USE_PADLOCK]: Divert to + do_padlock. + * cipher.c (cipher_context_alignment_t): New. Use it in this + module in place of PROPERLY_ALIGNED_TYPE. + (NEED_16BYTE_ALIGNED_CONTEXT): Define macro for ia32. + (struct gcry_cipher_handle): Add field HANDLE_OFFSET. + (gcry_cipher_open): Take care of increased alignment requirements. + (gcry_cipher_close): Ditto. + +2007-11-28 Werner Koch + + * sha256.c (asn224): Fixed wrong template. It happened due to a + bug in RFC4880. SHA-224 is not in the stable version of libgcrypt + so the consequences are limited to users of this devel version. + +2007-10-31 Werner Koch + + * ac.c (gcry_ac_data_new): Remove due to the visibility wrapper. + (gcry_ac_data_destroy, gcry_ac_data_copy, gcry_ac_data_length) + (gcry_ac_data_set, gcry_ac_data_get_name, gcry_ac_data_get_index) + (gcry_ac_data_to_sexp, gcry_ac_data_from_sexp) + (gcry_ac_data_clear, gcry_ac_io_init, gcry_ac_open) + (gcry_ac_close, gcry_ac_key_init, gcry_ac_key_pair_generate) + (gcry_ac_key_pair_extract, gcry_ac_key_destroy) + (gcry_ac_key_pair_destroy, gcry_ac_key_data_get) + (gcry_ac_key_test, gcry_ac_key_get_nbits, gcry_ac_key_get_grip) + (gcry_ac_data_encrypt, gcry_ac_data_decrypt, gcry_ac_data_sign) + (gcry_ac_data_verify, gcry_ac_data_encode, gcry_ac_data_decode) + (gcry_ac_mpi_to_os, gcry_ac_mpi_to_os_alloc, gcry_ac_os_to_mpi) + (gcry_ac_data_encrypt_scheme, gcry_ac_data_decrypt_scheme) + (gcry_ac_data_sign_scheme, gcry_ac_data_verify_scheme) + (gcry_ac_io_init_va): Ditto. + (gcry_ac_id_to_name, gcry_ac_name_to_id): Remove as these + deprecated functions are now implemented by visibility.c. + +2007-10-26 Werner Koch + + * rndw32.c: Disable debug flag. + +2007-10-25 Werner Koch + + * rndw32.c: Updated from current cryptlib snapshot and modified + for our use. Removed support from pre NT systems. + (slow_gatherer_windows95): Remove. + (_gcry_rndw32_gather_random): Require an NT platform. + (init_system_rng, read_system_rng, read_mbm_data): New. + (slow_gatherer_windowsNT): Rename to ... + (slow_gatherer): .. this. Read system RNG and MBM. + (registry_poll): New with code factored out from slow_gatherer. + +2007-08-23 Werner Koch + + * random.c (pool_filled_counter): New. + (add_randomness): Use it. + +2007-08-22 Werner Koch + + * rndw32.c, rndunix.c: Switched to LGPL. + +2007-05-30 Werner Koch + + * camellia.h, camellia.c: Replace by new LGPL version and adjusted + camellia.h. + +2007-05-09 Marcus Brinkmann + + * ac.c (_gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read): + Adjust users of gcry_ac_io_t because union is not anonymous + anymore. + +2007-05-02 Werner Koch + + * camellia-glue.c (camellia_setkey, camellia_encrypt) + (camellia_decrypt): Recalculated used stack size in called + functions. + * camellia.h: Redefine external symbols. + +2007-05-02 David Shaw + + * Makefile.am, cipher.c: Add Camellia. + + * camellia-glue.c: New. The necessary glue to interface libgcrypt + to the stock NTT Camellia distribution. + + * camellia.h, camellia.c: The stock NTT Camellia distribution + (GPL). + +2007-04-30 David Shaw + + * cipher.c: Use #if instead of #ifdef as configure defines the + USE_cipher defines as 0 for disabled. + +2007-04-30 Werner Koch + + * rndegd.c (_gcry_rndegd_set_socket_name): New. + +2007-04-30 Marcus Brinkmann + + * ecc.c (ec2os): Fix relocation of short numbers. + + * ecc.c (generate_key): Do not allocate D, which will be allocated + by GEN_K. Remove G. Fix test if g_x, g_y resp. q_x, q_y are + requested. + (_gcry_ecc_generate): Release unneeded members of SK. + * pubkey.c (sexp_to_key): Release NAME. + +2007-04-28 Marcus Brinkmann + + * ac.c (gcry_ac_mpi): Remove member NAME_PROVIDED. + (ac_data_mpi_copy, _gcry_ac_data_set, _gcry_ac_data_get_name) + (_gcry_ac_data_get_index, ac_data_construct): Adjust handling of + NAME accordingly. + +2007-04-20 Werner Koch + + * ecc.c (domain_parms): Add standard brainpool curves. + +2007-04-18 Werner Koch + + * ecc.c (generate_curve): Implement alias mechanism. + + * pubkey.c (sexp_elements_extract_ecc): New. + (sexp_to_key): Add special case for ecc. + (sexp_to_key, sexp_to_sig, sexp_to_enc, gcry_pk_genkey): Replace + name_terminated stuff by a call to _gcry_sexp_nth_string. + (gcry_pk_get_keygrip): Ditto. + +2007-04-16 Werner Koch + + * ecc.c (_gcry_ecc_generate): Renamed DUMMY to CURVE and use it. + +2007-04-13 Marcus Brinkmann + + * ac.c (ac_data_construct): Cast const away to suppress compiler + warning. + + * ecc.c (ecc_generate): Avoid compiler warning for unused argument + DUMMY. + (ecc_verify): Avoid compiler warning for unused arguments CMP and + OPAQUEV. + +2007-04-06 Werner Koch + + * sha1.c (oid_spec_sha1): Add another oid from X9.62. + +2007-03-28 Werner Koch + + * pubkey.c (gcry_pk_genkey): Do not issue misc-key-info if it is + empty. + (gcry_pk_genkey): New parameter "curve". + + * ecc.c: Entirely rewritten with only a few traces of the old + code left. + (_gcry_ecc_generate): New. + (generate_key) New arg NAME. + (generate_curve): Ditto. Return actual number of NBITS. + +2007-03-26 Werner Koch + + * pubkey.c (gcry_pk_genkey): Increase size of SKEY array and add a + runtime bounds check. + +2007-03-23 Werner Koch + + * ecc.c (ecc_ctx_init, ecc_ctx_free, ecc_mod, ecc_mulm): New. + (duplicate_point, sum_points, escalar_mult): Don't use a + copy of base->p. Replaced all mpi_mulm by ecc_mulm so that we can + experiment with different algorithms. + (generate_key, check_secret_key, sign, verify): Initialize a + computation context for use by ecc_mulm. + +2007-03-22 Werner Koch + + * pubkey.c (pubkey_table): Initialize ECC. + * Makefile.am (EXTRA_libcipher_la_SOURCES): Add ecc.c. + * ecc.c: New. Heavily reformatted and changed for use in libgcrypt. + (point_init): New. + (escalar_mult): Make arg R the first arg to be similar to the mpi + functions. + (duplicate_point): Ditto + (sum_points): Ditto + (sign, verify): Remove unneeded copy operations. + (sum_points): Removed memory leaks and optimized some compares. + (verify): Simplified input check. + +2007-03-14 Werner Koch + + * random.c (MASK_LEVEL): Removed macro as it was used only at one + place. Open coded it there. + (gcry_randomize, _gcry_update_random_seed_file) + (_gcry_fast_random_poll): Factor lock code out to .. + (lock_pool, unlock_pool): .. new. + (initialize): Look the pool while allocating. + (read_random_source, do_fast_random_poll): Moved intialization to ... + (initialize): .. here. + (_gcry_enable_quick_random_gen): No more need for initialization. + (is_initialized): Moved this global flag to .. + (initialize): .. here and changed all users to unconditionally call + initialize. + (add_randomness): Remove initalization here. It simply can't + happen. + + * random.c (enum random_origins): Moved to .. + * rand-internal.h: .. here. + * rndunix.c (_gcry_rndunix_gather_random): Use enum in prototype + for ORIGIN and renamed REQUESTOR to ORIGIN. + * rndegd.c (_gcry_rndegd_gather_random): Ditto. + * rndlinux.c (_gcry_rndlinux_gather_random): Ditto. + * rndw32.c (_gcry_rndw32_gather_random): Ditto. + (_gcry_rndw32_gather_random_fast): Ditto. + +2007-03-13 Werner Koch + + * random.c (enum random_origins): New. + (add_randomness): Renamed arg SOURCE to ORIGIN. + (read_random_source): Renamed arg REQUESTOR to ORIGIN. + (getfnc_gather_random): Removed static variable because this + function is only called one and thus we don't need this + optimization. + (_gcry_quick_random_gen): Removed and replaced by.. + (_gcry_enable_quick_random_gen): .. this. It is onlyu used to + enable it and it does not make sense to disable it later. Changed + the only one caller too. + (get_random_bytes): Removed. + (gcry_random_bytes, gcry_random_bytes_secure): Implement in terms + of gcry_randomize. + * random-daemon.c (_gcry_daemon_get_random_bytes): Removed. + +2007-02-23 Werner Koch + + * elgamal.c (generate): Removed unused variable TEMP. + (test_keys): New arg NODIE. + (generate_using_x, _gcry_elg_generate_using_x): New. + * pubkey.c (pubkey_generate): New arg XVALUE and direct call to + the new elgamal generate fucntion. + (gcry_pk_genkey): Parse the new "xvalue" tag. + +2007-02-22 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Handle dynamically allocated + algorithms. Suggested by Neil Dunbar. Fixes bug#596. + + * rndw32.c (_gcry_rndw32_gather_random_fast): Make it return void. + + * cipher.c (gcry_cipher_algo_name): Simplified. + + * random.c: Use the daemon only if compiled with USE_RANDOM_DAEMON. + + * Makefile.am (libcipher_la_SOURCES): Build random-daemon support + only if requested. + +2007-02-21 Werner Koch + + * random.c (rndpool, keypool): Make unsigned. + (mix_pool): Change char* variables to unsigned char*. + (gcry_randomize): Make arg BUFFER a void*. + (gcry_create_nonce): Ditto. + + * rmd160.c (gcry_rmd160_mixblock): Make BUFFER a void*. + (_gcry_rmd160_hash_buffer): Make OUTBUF and BUFFER void*. + * sha1.c (_gcry_sha1_hash_buffer): Ditto. + + * cipher.c (gcry_cipher_encrypt, cry_cipher_decrypt): Change + buffer args to void*. + (gcry_cipher_register): Make ALGORITHM_ID a int *. + + * md.c (md_start_debug): Make SUFFIX a const char*. Use snprintf. + (gcry_md_debug): New. + (gcry_md_ctl): Changed arg BUFFER from unsigned char*. + + * md.c (md_write): Make INBUF a const void*. + (gcry_md_write): Remove needless cast. + * crc.c (crc32_write): Make INBUF a const void* + (update_crc32, crc24rfc2440_write): Ditto. + * sha512.c (sha512_write, transform): Ditto. + * sha256.c (sha256_write, transform): Ditto. + * rmd160.c (rmd160_write, transform): Ditto. + * md5.c (md5_write, transform): Ditto. + * md4.c (md4_write, transform): Ditto. + * sha1.c (sha1_write, transform): Ditto. + + * tiger.c (tiger_write, transform): Ditto. + * whirlpool.c (whirlpool_write, whirlpool_add, transform): Ditto. + + * elgamal.c (elg_names): Change to a const*. + * dsa.c (dsa_names): Ditto. + * rsa.c (rsa_names): Ditto. + * pubkey.c (gcry_pk_lookup_func_name): Make ALIASES a const. + +2007-02-20 Werner Koch + + * rndlinux.c (open_device): Remove unsused arg MINOR. + +2007-01-30 Werner Koch + + * sha256.c (oid_spec_sha256): Add alias from pkcs#1. + * sha512.c (oid_spec_sha512): Ditto. + (oid_spec_sha384): Ditto. + +2006-12-18 Werner Koch + + * rndlinux.c (set_cloexec_flag): New. + (open_device): Set close-on-exit flags. Suggested by Max + Kellermann. Fixes Debian#403613. + + * Makefile.am (AM_CPPFLAGS, AM_CFLAGS): Splitted and merged + Moritz' changes. + (INCLUDES): Removed. + +2006-11-30 Werner Koch + + * serpent.c (byte_swap_32): Remove trailing semicolon. + +2006-11-15 Werner Koch + + * Makefile.am (INCLUDES): Include ../src/ + +2006-11-03 Werner Koch + + * random.c [HAVE_GETTIMEOFDAY]: Included sys/time.h and not + sys/times.h. Reported by Rafaël Carré. + +2006-11-05 Moritz Schulte + + * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the + new gcrypt.h is used, not the one installed in the system. + +2006-10-25 Werner Koch + + * primegen.c (prime_generate_internal): Tweaked use of secure + memory and entropy use. Safe unused primes from the pool. Allocate + at least a pool of 30. + (save_pool_prime, get_pool_prime): New. + +2006-10-23 Werner Koch + + * ac.c (_gcry_ac_data_from_sexp): Reset sexp_tmp for failsafe + means. Release sexp_cur if needed. Reported by Dirk Stoecker. + + * pubkey.c (pubkeys_registered_lock): Intialized it. It is not + realy needed because this is a mere initialization to 0 anyway. + Noted by Victor Stinner. + +2006-10-17 Werner Koch + + * dsa.c (_gcry_dsa_generate2): New. + (generate): New arg QBITS. Add sanity checks for reasonable qbits + and nbits. + * pubkey.c (gcry_pk_genkey): Parse an qbits element. + (pubkey_generate): New arg QBITS. Pass it to the DSA generation. + +2006-10-05 Werner Koch + + * md.c (gcry_md_algo_info) : Check that the algo is + available. + +2006-10-04 David Shaw (wk) + + * tiger.c (round): Rename to tiger_round as gcc 4 has a built-in + round function that this conflicts with. + +2006-09-11 Werner Koch + + * rndw32.c (slow_gatherer_windowsNT): While adding data use the + size of the diskPerformance and not its address. Has been fixed in + GnuPG more than a year ago. Noted by Lee Fisher. + +2006-08-30 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Need to allow "ripemd160" here as + this is the canonical name. + +2006-08-29 Hye-Shik Chang (wk) + + * seed.c: New. + +2006-08-03 Werner Koch + + * random-daemon.c (_gcry_daemon_initialize_basics): Don't + initialize the socket. Remove arg SOCKETNAME. + (connect_to_socket): Make sure that daemon is set to -1 on error. + (call_daemon): Initialize the socket on the first call. + (_gcry_daemon_randomize, _gcry_daemon_get_random_bytes) + (_gcry_daemon_create_nonce): New arg SOCKETNAME. + * random.c (initialize): Call new daemon initializator. + (get_random_bytes, gcry_randomize, gcry_create_nonce): Pass socket + name to daemon call and reset allow_daemon on failure. + +2006-07-26 Werner Koch + + * rmd160.c (_gcry_rmd160_mixblock): Add cast to transform call. + + * blowfish.c (selftest): Cast string to usnigned char*. + + * primegen.c (prime_generate_internal): Cast unsigned/char* + mismatch in calling m_out_of_n. + (is_prime): Changed COUNT to unsigned int *. + + * ac.c (_gcry_ac_data_copy): Initialize DATA_MPIS. + + * random.c (gcry_create_nonce): Update the pid after a fork. + Reported by Uoti Urpala. + +2006-07-04 Marcus Brinkmann + + * sha512.c: Fix typo in copyright notice. + +2006-06-21 Werner Koch + + * rsa.c (_gcry_rsa_generate): Replace xcalloc by calloc. + * pubkey.c (gcry_pk_encrypt, gcry_pk_sign): Ditto. + (sexp_to_key, sexp_to_sig, sexp_to_enc, gcry_pk_encrypt) + (gcry_pk_sign, gcry_pk_genkey, gcry_pk_get_keygrip): Ditto. + * md.c (md_copy): Ditto. + +2006-04-22 Moritz Schulte + + * random-daemon.c (_gcry_daemon_initialize_basics): New argument: + SOCKETNAME. Passing on to connect_to_socket() if non-NULL. + (connect_to_socket, writen, readn, call_daemon): New functions. + (_gcry_daemon_randomize, _gcry_daemon_get_random_bytes) + (_gcry_daemon_create_nonce): Call call_daemon(). + (RANDOM_DAEMON_SOCKET): New symbol. + (daemon_socket): New static variable. + + * random.h (_gcry_daemon_initialize_basics): New parameter: + SOCKETNAME. + (_gcry_set_random_daemon_socket): New declaration. + + * random.c (initialize_basics): Pass DAEMON_SOCKET_NAME to + _gcry_daemon_initialize_basics. + (_gcry_set_random_daemon_socket): New function, setting + DAEMON_SOCKET_NAME. + +2006-04-01 Moritz Schulte + + * ac.c (eme_pkcs_v1_5_encode): Use KEY_SIZE directly, no need to + call gcry_ac_key_get_nbits. + (eme_pkcs_v1_5_decode): Likewise. + (ac_es_dencode_prepare_pkcs_v1_5): Fill options_em structure with + key_size. + (_gcry_ac_data_dump, gcry_ac_data_dump): New functions. + (_gcry_ac_data_to_sexp, _gcry_ac_data_from_sexp): More or less + rewritten; changed S-Expression format so that it matches the one + used in pubkey.c. + +2006-03-15 Werner Koch + + * random-daemon.c: New. + * random.c (_gcry_use_random_daemon): New. + (get_random_bytes, gcry_randomize, gcry_create_nonce): Try + diverting to the daemon functions. + +2006-03-14 Werner Koch + + * random.c (lock_seed_file): New. + (read_seed_file, _gcry_update_random_seed_file): Use it. + + * random.c (gcry_create_nonce): Detect a fork and re-seed. + (read_pool): Fixed the fork detection; it used to work only for + multi-threaded processes. + +2006-03-12 Brad Hards (wk) + + * md.c (md_open): Use new variable macpads_Bsize instead of + hardwiring the block size. Changed at all places. + +2006-03-10 Brad Hards (wk, patch 2005-04-22) + + * md.c, sha256.c: Add support for SHA-224. + (sha224_init): New. + +2006-01-18 Brad Hards (wk 2006-03-07) + + * cipher.c (cipher_encrypt, cipher_decrypt, do_ofb_encrypt) + (do_ofb_decrypt, gcry_cipher_open): Implement Output Feedback Mode. + +2005-11-02 Moritz Schulte + + * pubkey.c (gcry_pk_algo_name): Return "?" instead of NULL for + unknown algorithm IDs. + * cipher.c (cipher_algo_to_string): Likewise. + +2005-11-01 Moritz Schulte + + * pubkey.c (gcry_pk_algo_info): Don't forget to break after switch + case. + +2005-09-19 Werner Koch + + * dsa.c (generate): Add preliminary support for 2 and 4 keys. + Return an error code if the key size is not supported. + (_gcry_dsa_generate): Return an error. + +2005-08-22 Werner Koch + + * primegen.c (check_prime): New arg RM_ROUNDS. + (prime_generate_internal): Call it here with 5 rounds as used + before. + (gcry_prime_check): But here with 64 rounds. + (is_prime): Make sure never to use less than 5 rounds. + +2005-04-16 Moritz Schulte + + * ac.c (_gcry_ac_init): New function. + +2005-04-12 Moritz Schulte + + * ac.c (_gcry_ac_io_write, _gcry_ac_io_read): Initialize err to + make the compiler happy. + Always use errno, now that gcry_malloc() is guaranteed to set + errno on failure. + (_gcry_ac_data_to_sexp): Don't forget to goto out after error in + loop. + (_gcry_ac_data_to_sexp): Remove unused variable: mpi_list; + (_gcry_ac_data_to_sexp): Always deallocate sexp_buffer. + (_gcry_ac_data_from_sexp): Don't forget to initialize data_set_new. + (_gcry_ac_data_from_sexp): Handle special case, which is + necessary, since gcry_sexp_nth() does not distinguish between + "element does not exist" and "element is the empty list". + (_gcry_ac_io_init_va): Use assert to make sure that mode and type + are correct. + Use gcry_error_t types where gcry_err_code_t types have been used + before. + +2005-04-11 Moritz Schulte + + * ac.c (_gcry_ac_data_sign_scheme): Don't forget to initialize + buffer. + + * whirlpool.c: New file. + * md.c (digest_table): Add whirlpool. + * Makefile.am (EXTRA_libcipher_la_SOURCES): Added: whirlpool.c. + +2005-03-30 Moritz Schulte + + * ac.c (_gcry_ac_data_from_sexp): Use length of SEXP_CUR, not + length of SEXP; do not forget to set SEXP_TMP to NULL after it has + been released. + + (struct gcry_ac_mpi): New member: name_provided. + (_gcry_ac_data_set): Rename variable `name_final' to `name_cp'; + remove const qualifier; change code to not cast away const + qualifiers; use name_provided member as well. + (_gcry_ac_data_set, _gcry_ac_data_get_name): Use name_provided + member of named mpi structure. + + (gcry_ac_name_to_id): Do not forget to initialize err. + (_gcry_ac_data_get_index): Do not forget to initialize mpi_return; + use gcry_free() instead of free(); remove unnecessary cast; rename + mpi_return and name_return to mpi_cp and name_cp; adjust code. + (ac_data_mpi_copy): Do not cast away const qualifier. + (ac_data_values_destroy): Likewise. + (ac_data_construct): Likewise. + + (ac_data_mpi_copy): Initialize flags to GCRY_AC_FLAG_DEALLOC. + (ac_data_extract): Use GCRY_AC_FLAG_DEALLOC instead of + GCRY_AC_FLAG_COPY. + + (_gcry_ac_io_init_va, _gcry_ac_io_init, gcry_ac_io_init) + (gcry_ac_io_init_va, _gcry_ac_io_write, _gcry_ac_io_read) + (_gcry_ac_io_read_all, _gcry_ac_io_process): New functions. + (gry_ac_em_dencode_t): Use gcry_ac_io_t in prototype instead of + memroy strings directly; adjust encode/decode functions to use io + objects. + (emsa_pkcs_v1_5_encode_data_cb): New function ... + (emsa_pkcs_v1_5_encode): ... use it here. + (ac_data_dencode): Use io objects. + (_gcry_ac_data_encode, _gcry_ac_data_decode, gcry_ac_data_encode) + (gcry_ac_data_decode): Likewise. + (_gcry_ac_data_encrypt_scheme, gcry_ac_data_encrypt_scheme) + (_gcry_ac_data_decrypt_scheme, gcry_ac_data_decrypt_scheme) + (_gcry_ac_data_sign_scheme, gcry_ac_data_sign_scheme) + (_gcry_ac_data_verify_scheme, gcry_ac_data_verify_scheme): + Likewise. + +2005-03-23 Werner Koch + + * rndw32.c (_gcry_rndw32_gather_random_fast): While adding data + use the size of the object and not the one of its address. Bug + reported by Sascha Kiefer. + +2005-03-19 Moritz Schulte + + * cipher.c (do_cbc_encrypt): Be careful to not overwrite data, + which is to be used later on. This happend, in case CTS is + enabled and OUTBUF is equal to INBUF. + +2005-02-25 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Allow for shadowed-private-key. + +2005-02-13 Moritz Schulte + + * serpent.c: Updated from 1.2 branch: + + s/u32_t/u32/ and s/byte_t/byte/. Too match what we have always + used and are using in all other files too + (serpent_test): Moved prototype out of a fucntion. + +2005-02-07 Moritz Schulte + + * ac.c: Major parts rewritten. + * pubkey.c (_gcry_pk_get_elements): New function. + +2004-12-09 Werner Koch + + * serpent.c (serpent_setkey): Moved prototype of serpent_test to + outer scope. + +2004-09-11 Moritz Schulte + + * pubkey.c (pubkey_table): Added an alias entry for GCRY_PK_ELG_E. + +2004-08-23 Moritz Schulte + + * ac.c: Do not include . + * rndegd.c: Likewise. + * sha1.c: Likewise. + * rndunix.c: Likewise. + * rndlinux.c: Likewise. + * rmd160.c: Likewise. + * md5.c: Likewise. + * md4.c: Likewise. + * cipher.c: Likewise. + * crc.c: Likewise. + * blowfish.c: Likewise. + + * pubkey.c (dummy_generate, dummy_check_secret_key) + (dummy_encrypt, dummy_decrypt, dummy_sign, dummy_verify): Return + err code GPG_ERR_NOT_IMPLEMENTED instead of aborting through + log_bug(). + (dummy_get_nbits): Return 0 instead of aborting though log_bug(). + +2004-08-19 Werner Koch + + * pubkey.c (sexp_data_to_mpi): Changed the zero random byte + substituting code to actually do clever things. Thanks to + Matthias Urlichs for noting the implementation problem. + +2004-08-09 Moritz Schulte + + * pubkey.c (gcry_pk_sign): Fixed memory leak; fix provided by + Modestas Vainius. + +2004-07-16 Werner Koch + + * rijndael.c (do_encrypt): Fix alignment problem. Bugs found by + Matthias Urlichs. + (do_decrypt): Ditto. + (keySched, keySched2): Use 2 macros along with unions in the key + schedule context. + +2004-07-14 Moritz Schulte + + * rsa.c (_gcry_rsa_decrypt): Don't forget to free "a". Thanks to + Nikos Mavroyanopoulos. + +2004-05-09 Werner Koch + + * random.c (read_pool): Mix the PID in to better protect after a + fork. + +2004-07-04 Moritz Schulte + + * serpent.c: Use "u32_t" instead of "unsigned long", do not + declare S-Box variables as "register". Fixes failure on + OpenBSD/sparc64, reported by Nikolay Sturm. + +2004-05-07 Werner Koch + + * random.c (initialize): Factored out some code to .. + (initialize_basics): .. new function. + (_gcry_random_initialize): Just call initialize_basics unless the + new arg FULL is set to TRUE. + (_gcry_fast_random_poll): Don't do anything unless the random + system has been really initialized. + +2004-05-07 Moritz Schulte + + * ac.c (gcry_ac_open): Do not dereference NULL pointer. Reported + by Umberto Salsi. + +2004-02-20 Werner Koch + + * primegen.c (check_prime): New args CB_FUNC and CB_ARG; call them + at different stages. Pass these arguments through all callers. + +2004-02-06 Werner Koch + + * des.c: Add a new OID as used by pkcs#12. + + * rfc2268.c: New. Taken from libgcrypt. + * cipher.c: Setup the rfc2268 algorithm. + +2004-01-25 Moritz Schulte + + * primegen.c (prime_generate_internal): Do not forget to free + `q_factor'; fixed by Brieuc Jeunhomme. + (prime_generate_internal): Do not forget to free `prime'. + +2004-01-14 Moritz Schulte + + * ac.c (gcry_ac_data_set): New argument: flags; slightly + rewritten. + (gcry_ac_data_get_name, gcry_ac_data_get_index): Likewise. + (gcry_ac_key_pair_generate): New argument: misc_data; modified + order of arguments. + (gcry_ac_key_test): New argument: handle. + (gcry_ac_key_get_nbits, gcry_ac_key_get_grip): Likewise. + Use GCRY_AC_FLAG_NO_BLINDING instead of + GCRY_AC_DATA_FLAG_NO_BLINDING. + (gcry_ac_mpi): New member: flags. + (gcry_ac_data_search, gcry_ac_data_add): Removed functions. + +2003-12-22 Werner Koch + + * primegen.c (is_prime): Release A2. + +2003-12-19 Werner Koch + + * md.c: Moved a couple of functions down below the data structure + definitions. + (struct gcry_md_context): New field ACTUAL_HANDLE_SIZE. + (md_open): Set it here. + (strcut gcry_md_list): New field ACTUAL_STRUCT_SIZE. + (md_enable): Set it here. + (md_close): Wipe the context memory. + secure memory. + * cipher.c (struct gcry_cipher_handle): New field ACTUAL_HANDLE_SIZE. + (gcry_cipher_open): Set it here. + (gcry_cipher_close): Use it to always wipe out the handle data. + + * ac.c (gcry_ac_open): Make sure HANDLE gets initialized even when + the function is not successful. + (gcry_ac_close): Allow a NULL handle. + (gcry_ac_key_destroy, gcry_ac_key_pair_destroy): Ditto. + (gcry_ac_key_get_grip): Return INV_OBJ on error. + + * primegen.c (prime_generate_internal): Fixed error code for + failed malloc. Replaced the !err if chain by gotos. + (gcry_prime_group_generator): Remove the extra sanity check. + + * md.c: Minor code and comment cleanups. + +2003-12-16 Werner Koch + + * primegen.c (gen_prime): Doc fix. Thanks to Newton Hammet. + +2003-12-11 Werner Koch + + * rndunix.c (slow_poll): Don't use #warning but #error. + + * rndegd.c: Changed indentation. + (my_make_filename): Removd the var_arg cruft becuase we + don't need it here. Changed caller. + + * rndlinux.c: Changed indentation. + (open_device): Remove the superfluous stat call and clarify + comment. + + * rsa.c: Changed indentation. + (secret): Use the standard algorithm if p, q and u are not + available. + (rsa_blind, rsa_unblind): Renamed from _gcry_rsa_blind, + _gcry_rsa_unblind and moved more to the top. + + * md4.c: Changed indentation. Removed unnecessary casts. + * md5.c, rmd160.c, sha1.c, tiger.c: Ditto. + * rijndael.c, twofish.c: Ditto. + * serpent.c: Removed unnecessary casts. + * sha256.c, sha512.c: Ditto. + +2003-12-09 Werner Koch + + * dsa.c: Unified indentation style. + * elgamal.c: Ditto. + * des.c (des_key_schedule): Code beautifications. + * blowfish.c: Changed indentation style. + * cast5.c (do_cast_setkey): Ditto. + + * pubkey.c (gcry_pk_encrypt): Replaced the chain of if(!err) tests + by straightforward gotos. Other cleanups. + (gcry_pk_decrypt): Ditto. + (gcry_pk_sign): Ditto. + (gcry_pk_verify): Ditto. + (gcry_pk_genkey): Ditto. Use strtoul instead of strtol. + (gcry_pk_ctl): Use GPG_ERR_INV_ARG to indicate bad arguments. + +2003-12-07 Werner Koch + + * pubkey.c (gcry_pk_register_default): Undef the helper macro. + (gcry_pk_map_name): Allow NULL for string. + (sexp_to_key): Use memcpy and not strncpy. Use gcry_free and not + free. + (sexp_to_sig): Ditto. + (sexp_to_enc): Ditto. Replaced the chain of if(!err) tests by + straightforward gotos. + +2003-12-05 Werner Koch + + * cipher.c: Documentation cleanups. + (gcry_cipher_mode_from_oid): Allow NULL for STRING. + +2003-12-03 Werner Koch + + * elgamal.c (sign, do_encrypt, gen_k): Make sure that a small K is + only used for encryption. + +2003-11-18 Werner Koch + + * random.h (rndw32_set_dll_name): Removed unused prototype. + + * Makefile.am (EXTRA_DIST): Added Manifest. + +2003-11-11 Werner Koch + + * Manifest: New. + +2003-11-04 Werner Koch + + * md.c (gcry_md_hash_buffer): Use shortcut for SHA1 + * sha1.c (_gcry_sha1_hash_buffer): New. + + * random.c: Reformatted most functions. + (mix_pool): Moved the failsafe_digest from global + scope to here. + (do_fast_random_poll): Use the generic fucntions even if a fast + gathering function has been used. + (read_pool): Detect a fork and retry. + (gcry_randomize, get_random_bytes): Don't distinguish anymore + between weak and strong random. + (gcry_create_nonce): New. + +2003-10-31 Werner Koch + + * rndw32.c (slow_gatherer_windowsNT): Use a plain buffer for the + disk performance values and not the W32 API structure. + + * dsa.c (verify): s/exp/ex/ due to shadowing of a builtin. + * elgamal.c (verify): Ditto. + + * ac.c (gcry_ac_data_get_index): s/index/idx/ + (gcry_ac_data_copy_internal): Remove the cast in _gcry_malloc. + (gcry_ac_data_add): Must use gcry_realloc instead of realloc. + * pubkey.c (sexp_elements_extract): s/index/idx/ as tribute to the + forehackers. + (gcry_pk_encrypt): Removed shadowed definition of I. Reordered + arguments to malloc for clarity. + (gcry_pk_sign, gcry_pk_genkey): Ditto. + * primegen.c (prime_generate_internal): s/random/randomlevel/. + +2003-10-27 Moritz Schulte + + * pubkey.c (gcry_pk_encrypt): Don't forget to deallocate pkey. + +2003-10-27 Werner Koch + + * random.c (gcry_random_add_bytes): Return if buflen is zero to + avoid gcc warning about unsed parameter. + (MASK_LEVEL): Simplified; does now work for signed and unsigned + w/o warnings. + + * md.c (md_start_debug): Removed the const from SUFFIX, because + this function is called from the control fucntion which does not + require const. + + Prefixed all (pubkey,digest,cipher}_spec_* globale variables with + _gcry_. + + * ac.c (ac_key_identifiers): Made static. + + * random.c (getfnc_gather_random,getfnc_fast_random_poll): Move + prototypes to .. + * rand-internal.h: .. here + * random.c (getfnc_gather_random): Include rndw32 gatherer. + * rndunix.c, rndw32.c, rndegd.c: Include them here. + * rndlinux.c (_gcry_rndlinux_gather_random): Prepend the _gcry_ + prefix. Changed all callers. + * rndegd.c (_gcry_rndegd_gather_random): Likewise. + (_gcry_rndegd_connect_socket): Likewise. + * rndunix.c (_gcry_rndunix_gather_random): Likewise. + (waitpid): Made static. + * rndw32.c: Removed the old and unused winseed.dll cruft. + (_gcry_rndw32_gather_random_fast): Renamed from + gather_random_fast. + (_gcry_rndw32_gather_random): Renamed from gather_random. Note, + that the changes 2003-04-08 somehow got lost. + + * sha512.c (sha512_init, sha384_init): Made static. + + * cipher.c (do_ctr_decrypt): Removed "return" from this void + function. + +2003-10-24 Moritz Schulte + + * serpent.c: Fix an issue on big-endian systems. + + * rndw32.c: Removed IS_MODULE -cruft. + * rndlinux.c (rndlinux_gather_random): Likewise. + +2003-10-10 Werner Koch + + * primegen.c (gen_prime): Bail out if NBITS is less than 16. + (prime_generate_internal): Initialize prime variable to suppress + compiler warning. Check pbits, initialize qbits when passed as + zero. + + * primegen.c (prime_generate_internal): New arg + ALL_FACTORS. Changed all callers. + (gcry_prime_generate): Make the factors arg optional. Request + all_factors. Make sure PRIME is set to NULL even on error. + (gcry_prime_group_generator): New. + (gcry_prime_release_factors): New. + +2003-10-06 Werner Koch + + * primegen.c (gen_prime): Assert that NBITS is never zero, it + would cause a segv. + +2003-09-28 Moritz Schulte + + * ac.c: Include "cipher.h". + +2003-09-27 Moritz Schulte + + * rndegd.c (do_read): Return nread instead of nbytes; thanks to + Michael Caerwyn. + +2003-09-04 Werner Koch + + * pubkey.c (_gcry_pk_aliased_algo_name): New. + * ac.c (gcry_ac_open): Use it here. + + * Makefile.am (EXTRA_libcipher_la_SOURCES): Add serpent.c + +2003-09-02 Moritz Schulte + + * primegen.c (gcry_prime_check, gcry_prime_generate): New + functions. + (prime_generate_internal): New function, based on + _gcry_generate_elg_prime. + (_gcry_generate_elg_prime): Rewritten as a wrapper for + prime_generate_internal. + +2003-08-28 Werner Koch + + * pubkey.c (gcry_pk_encrypt): Don't include the flags list in the + return value. This does not make sense and breaks any programs + parsing the output strictly (e.g. current gpgsm). + (gcry_pk_encrypt): If aliases for the algorithm name exists, take + the first one instead of the regular name to adhere to SPKI + conventions. + (gcry_pk_genkey): Ditto. + (gcry_pk_sign): Ditto. Removed unused KEY_ALGO_NAME. + +2003-08-19 Moritz Schulte + + * cipher.c: Add support for Serpent + * serpent.c: New file. + +2003-08-10 Moritz Schulte + + * rsa.c (_gcry_rsa_blind, _gcry_rsa_unblind): Declare static. + +2003-08-09 Timo Schulz + + * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM + two times, but also the NAME_OF_DEV_URANDOM device. + +2003-08-08 Moritz Schulte + + * pubkey.c (sexp_to_enc): Fixed extraction of S-Expression: do not + fail if no `flags' sub S-Expression is found. + +2003-07-27 Werner Koch + + * md.c (gcry_md_lookup_func_oid): Allow for empty OID lists. + +2003-07-23 Moritz Schulte + + * ac.c (gcry_ac_data_construct): New argument: include_flags, only + include `flags' S-expression, if include_flags is true. Adjust + callers. Thanks for triggering a bug caused by `flags' + sub-S-expression where they are not expected to Ralf Schneider. + +2003-07-21 Moritz Schulte + + * pubkey.c (gcry_pk_lookup_func_name): Use new member name + `aliases' instead of `sexp_names'. + + * ac.c (gcry_ac_key_data_get): New function. + + * cipher.c (gcry_cipher_lookup_func_name): Fix return value. + +2003-07-20 Moritz Schulte + + * blowfish.c: Adjusted for new gcry_cipher_spec_t structure. + * cast5.c: Likewise. + * twofish.c: Likewise. + * arcfour.c: Likewise. + * rijndael.c (rijndael_oids, rijndael192_oids, rijndael256_oids): + New variables, adjust for new gcry_cipher_spec_t structure. + * des.c (oids_tripledes): New variable, adjust for new + gcry_cipher_spec_t structure. + + * md.c (oid_table): Removed. + + * tiger.c (oid_spec_tiger): New variable. + (digest_spec_tiger): Adjusted for new gry_md_spec_t structure. + + * sha512.c (oid_spec_sha512): New variable. + (digest_spec_sha512): Adjusted for new gry_md_spec_t structure. + + * sha512.c (oid_spec_sha384): New variable. + (digest_spec_sha384): Adjusted for new gry_md_spec_t structure. + + * sha256.c (oid_spec_sha256): New variable. + (digest_spec_sha256): Adjusted for new gry_md_spec_t structure. + + * sha1.c (oid_spec_sha1): New variable. + (digest_spec_sha1): Adjusted for new gry_md_spec_t structure. + + * rmd160.c (oid_spec_rmd160): New variable. + (digest_spec_rnd160): Adjusted for new gry_md_spec_t structure. + + * md5.c (oid_spec_md5): New variable. + (digest_spec_md5): Adjusted for new gry_md_spec_t structure. + + * md4.c (oid_spec_md4): New variable. + (digest_spec_md4): Adjusted for new gry_md_spec_t structure. + + * crc.c (digest_spec_crc32, digest_spec_crc32_rfc1510, + digest_spec_crc32_rfc2440): Adjusted for new gry_md_spec_t + structure. + +2003-07-19 Moritz Schulte + + * md.c (gcry_md_lookup_func_oid): New function. + (search_oid): New function, copied from cipher.c. + (gcry_md_map_name): Adjust for new search_oid_interface. + + * cipher.c (oid_table): Removed table. + (gcry_cipher_lookup_func_oid): New function. + (search_oid): Rewritten to use the module functions. + (gcry_cipher_map_name): Adjust for new search_oid interface. + (gcry_cipher_mode_from_oid): Likewise. + +2003-07-18 Werner Koch + + * md.c (gcry_md_hash_buffer): Convert ERR to gpg_error_t in + gpg_strerror. + +2003-07-14 Moritz Schulte + + * cipher.c (gcry_cipher_lookup_func_name): Also check the cipher + name aliases, not just the primary name. + (gcry_cipher_map_name): Remove kludge for aliasing Rijndael to + AES. + + * arcfour.c, blowfish.c, cast5.c, des.c, twofish.c: Adjust cipher + specification structures. + + * rijndael.c (rijndael_names, rijndael192_names, + rijndael256_names): New variables, use them in the cipher + specifications. + + * rmd160test.c: Removed file. + + * ac.c, arcfour.c, blowfish.c, cast5.c, cipher.c, des.c, dsa.c, + elgamal.c, md.c, pubkey.c, random.c, rijndael.c, rsa.c, twofish.c: + Used gcry_err* wrappers for libgpg symbols. + + * primegen.c (gen_prime): Correct the order arguments to + extra_check. + +2003-07-12 Moritz Schulte + + * ac.c: Replaced all public occurences of gpg_error_t with + gcry_error_t. + * cipher.c: Likewise. + * md.c: Likewise. + * pubkey.c: Likewise. + * random.c: Likewise. + + * cipher.c: Added support for TWOFISH128. + +2003-07-08 Moritz Schulte + + * ac.c (gcry_ac_data_copy_internal): New function, based on + gcry_ac_data_copy. + (gcry_ac_data_copy): Made public, use gcry_ac_data_copy_internal. + (gcry_ac_key_init): Use gcry_ac_data_copy_internal. + +2003-07-07 Moritz Schulte + + * ac.c (gcry_ac_data_set): Only release old MPI value if it is + different from the new value. Bug reported by Simon Josefsson + . + + * pubkey.c (gcry_pk_list): New function. + * md.c (gcry_md_list): New function. + + * ac.c (gcry_ac_key_pair_generate): Fix calculation of format + string size. + +2003-07-05 Moritz Schulte + + * md.c: Named struct of digest_table `digest_table_entry'. + (digest_table_entry): New member: algorithm; filled in. + (digest_table_entry): Removed unused member: flags. + (gcry_md_register): New argument: algorithm_id, filled in. + (gcry_md_register_default): Used algorithm ID from module + structure. + (gcry_md_map_name): Likewise. + (md_enable): Likewise. + (md_read): Likewise. + (gcry_md_info): Likewise. + + * pubkey.c: Named truct for pubkey_table `pubkey_table_entry'. + (pubkey_table_entry): New member: algorithm; filled in. + (gcry_pk_register_default): Used algorithm ID from pubkey_table. + (gcry_pk_register): New argument: algorithm_id, filled in. + (gcry_pk_map_name): Used algorithm ID from module structure. + (gcry_pk_decrypt): Likewise. + (gcry_pk_encrypt): Likewise. + (gcry_pk_verify): Likewise. + (gcry_pk_sign): Likewise. + (gcry_pk_testkey): Likewise. + (gcry_pk_genkey): Likewise. + (gcry_pk_get_nbits): Likewise. + (sexp_to_key): Removed unused variable: algo. + (sexp_to_sig): Likewise. + + * cipher.c: Named struct for cipher_table `cipher_table_entry'. + (cipher_table_entry): New member: algorithm; filled in. + (gcry_cipher_register_default): Used algorithm ID from + cipher_table. + (gcry_cipher_register): New argument: algorithm_id, filled in. + (gcry_cipher_map_name): Used algorithm ID from module structure. + + * arcfour.c (cipher_spec_arcfour): Removed algorithm ID. + * blowfish.c (cipher_spec_blowfish): Likewise. + * cast5.c (cipher_spec_cast5): Likewise. + * crc.c (digest_spec_crc32): Likewise. + * crc.c (digest_spec_crc32_rfc1510): Likewise. + * crc.c (digest_spec_crc32_rfc2440): Likewise. + * des.c (cipher_spec_des): Likewise. + * des.c (cipher_spec_tripledes): Likewise. + * dsa.c (pubkey_spec_dsa): Likewise. + * elgamal.c (pubkey_spec_elg): Likewise. + * md4.c (digest_spec_md4): Likewise. + * md5.c (digest_spec_md5): Likewise. + * aes.c (cipher_spec_aes): Likewise. + * aes.c (cipher_spec_aes192): Likewise. + * aes.c (cipher_spec_aes256): Likewise. + * rsa.c (pubkey_spec_rsa): Likewise. + * sha1.c (digest_spec_sha1): Likewise. + * sha256.c (digest_spec_sha256): Likewise. + * sha512.c (digest_spec_sha512): Likewise. + * tiger.c (digest_spec_tiger): Likewise. + * twofish.c (cipher_spec_twofish): Likewise. + * twofish.c (cipher_spec_twofish128): Likewise. + + * Makefile.am (EXTRA_libcipher_la_SOURCES): Fix list of source + files; reported by Simon Josefsson . + + * pubkey.c: Replaced all occurences of `id' with `algorithm', + since `id' is a keyword in obj-c. + * md.c: Likewise. + * cipher.c: Likewise. + + * crc.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, tiger.c: + Replaced all occurences of gcry_digest_spec_t with gcry_md_spec_t. + + * dsa.c, rsa.c, elgamal.c: Replaced all occurencens of + gcry_pubkey_spec_t with gcry_pk_spec_t. + + * md.c: Replaced all occurences of gcry_digest_spec_t with + gcry_md_spec_t. + (gcry_digest_register_default): Renamed to ... + (gcry_md_register_default): ... this; adjusted callers. + (gcry_digest_lookup_func_name): Renamed to ... + (gcry_md_lookup_func_name): ... this; adjusted callers. + (gcry_digest_lookup_name): Renamed to ... + (gcry_md_lookup_name): ... this; adjusted callers. + (gcry_digest_register): Renamed to ... + (gcry_md_register): ... this. + (gcry_digest_unregister): Renamed to ... + (gcry_md_unregister): ... this. + + * pubkey.c (gcry_pubkey_register): Renamed to ... + (gcry_pk_register): ... this. + (gcry_pubkey_unregister): Renamed to ... + (gcry_pk_unregister): ... this. + Replaced all occurences of gcry_pubkey_spec_t with gcry_pk_spec_t. + (gcry_pubkey_register_default): Renamed to ... + (gcry_pk_register_default): ... this; adjusted callers. + (gcry_pubkey_lookup_func_name): Renamed to ... + (gcry_pk_lookup_func_name): ... this; adjusted callers. + (gcry_pubkey_lookup_name): Renamed to ... + (gcry_pk_lookup_name): ... this; adjusted callers. + + * md.c (gcry_md_hash_buffer): Fix error checking. Thanks to Simon + Josefsson . + +2003-07-04 Moritz Schulte + + * cipher.c (gcry_cipher_list): New function. + +2003-07-01 Moritz Schulte + + * pubkey.c (sexp_to_sig): Accept a `flags' S-expression to be more + consistent with sexp_to_enc. + +2003-06-30 Moritz Schulte + + * Makefile.am (libcipher_la_SOURCES): Added: ac.c. + + * pubkey.c (_gcry_pk_module_lookup): New function. + (_gcry_pk_module_release): New function. + +2003-06-29 Moritz Schulte + + * ac.c: New file. + +2003-06-26 Werner Koch + + * md.c (gcry_md_hash_buffer): Trigger BUG correcly with new API. + +2003-06-19 Werner Koch + + * md.c (gcry_md_is_enabled): Fixed. + +2003-06-18 Werner Koch + + * cipher.c (gcry_cipher_get_algo_keylen): New. + (gcry_cipher_get_algo_blklen): New. + +2003-06-18 Moritz Schulte + + * arcfour.c, cipher.c, blowfish.c, md.c, cast5.c, pubkey.c, crc.c, + des.c, dsa.c, elgamal.c, md4.c, md5.c, random.c, rijndael.c, + rmd160.c, rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c: + Replaced older types GcryDigestSpec, GcryCipherSpec and + GcryPubkeySpec with newer types: gcry_digest_spec_t, + gcry_cipher_spec_t and gcry_pubkey_spec_t. + + * md.c (gcry_digest_id_new): Removed function. + (gcry_digest_register): Removed code for generating a new module + ID. + + * pubkey.c (gcry_pubkey_id_new): Removed function. + (gcry_pubkey_register): Removed code for generating a new module + ID. + + * cipher.c, md.c, pubkey.c: Replace old type GcryModule with newer + one: gcry_module_t. + (gcry_cipher_id_new): Removed function. + (gcry_cipher_register): Removed code for generating a new module + ID. + + * cipher.c (gcry_cipher_register): Adjust call to + _gcry_module_add. + (gcry_cipher_register_default): Likewise. + * pubkey.c (gcry_pubkey_register_default): Likewise. + (gcry_pubkey_register): Likewise. + * md.c (gcry_digest_register_default): Likewise. + (gcry_digest_register): Likewise. + + * md.c (gcry_digest_lookup_func_id): Removed function. + (gcry_digest_lookup_id): Likewise. + (gcry_digest_id_new): Use _gcry_module_lookup_id instead of + gcry_digest_lookup_id. + (digest_algo_to_string): Likewise. + (check_digest_algo): Likewise. + (md_enable): Likewise. + (md_digest_length): Likewise. + (md_asn_oid): Likewise. + + * pubkey.c (gcry_pubkey_lookup_id): Removed function. + (gcry_pubkey_lookup_func_id): Likewise. + (gcry_pubkey_id_new): Use _gcry_module_lookup_id instead of + gcry_pubkey_id_new. + (gcry_pk_algo_name): Likewise. + (disable_pubkey_algo): Likewise. + (check_pubkey_algo): Likewise. + (pubkey_get_npkey): Likewise. + (pubkey_get_nskey): Likewise. + (pubkey_get_nsig): Likewise. + (pubkey_get_nenc): Likewise. + (pubkey_generate): Likewise. + (pubkey_check_secret_key): Likewise. + (pubkey_encrypt): Likewise. + (pubkey_decrypt): Likewise. + (pubkey_sign): Likewise. + (pubkey_verify): Likewise. + (gcry_pk_algo_info): Likewise. + + * cipher.c (gcry_cipher_lookup_func_id): Removed function. + (gcry_cipher_lookup_id): Likewise. + (cipher_algo_to_string): use _gcry_module_lookup_id instead of + gcry_cipher_lookup_id. + (disable_cipher_algo): Likewise. + (check_cipher_algo): Likewise. + (cipher_get_blocksize): Likewise. + (gcry_cipher_open): Likewise. + (gcry_cipher_id_new): Likewise. + +2003-06-17 Moritz Schulte + + * Makefile.am (GCRYPT_MODULES): Set to @GCRYPT_CIPHERS@, + @GCRYPT_PUBKEY_CIPHERS@, @GCRYPT_DIGESTS@ and @GCRYPT_RANDOM@. + (libcipher_la_DEPENDENCIES): Set to $(GCRYPT_MODULES). + (libcipher_la_LIBADD): Likewise. + (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@. + (EXTRA_libcipher_la_SOURCES): Added all conditional sources. + + * md.c (md_open): Use _gcry_fast_random_poll instead of + fast_random_poll. + * cipher.c (gcry_cipher_open): Likewise. + + * random.h (fast_random_poll): Removed macro. + + * blowfish.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c, + tiger.c: Use Autoconf's WORDS_BIGENDIAN instead of our own + BIG_ENDIAN_HOST. + +2003-06-16 Moritz Schulte + + * random.c (getfnc_gather_random): Do not special-case + USE_ALL_RANDOM_MODULES, make it the default. + + * dsa.c: Replace last occurences of old type names with newer + names (i.e. replace MPI with gcry_mpi_t). + * elgamal.c: Likewise. + * primegen.c: Likewise. + * pubkey.c: Likewise. + * rsa.c: Likewise. + +2003-06-14 Moritz Schulte + + * des.c (des_setkey): Add selftest check. + (tripledes_set3keys): Likewise. + (do_tripledes_setkey): Remove selftest check. + (do_des_setkey): Likewise. + +2003-06-11 Moritz Schulte + + * md.c (_gcry_md_init): New function. + * cipher.c (_gcry_cipher_init): New function. + * pubkey.c (_gcry_pk_init): New function. + +2003-06-13 Werner Koch + + * md.c (gcry_md_get_algo): Reverted to old API. This is a + convenience function anyway and error checking is not approriate. + (gcry_md_is_secure): New. + (gcry_md_is_enabled): New. + +2003-06-12 Werner Koch + + * cipher.c (gcry_cipher_open): Make sure HANDLE is set to NULL on + error. + +2003-06-11 Werner Koch + + * md.c (gcry_md_open): Make sure H receives either NULL or an + valid handle. + (gcry_md_copy): Swapped arguments so that it is more in lione with + md_open and most other API fucntions like memcpy (destination + comes first). Make sure HANDLE is set to NULL on error. + + * rijndael.c (do_encrypt): Hack to force correct alignment. It + seems not to be not sufficient, though. We should rework this + fucntions and remove all these ugly casts. Let the compiler + optimize or have an assembler implementation. + +2003-06-09 Moritz Schulte + + * Makefile.am: Removed rules serpent, since that is not commited + yet. + +2003-06-08 Moritz Schulte + + * pubkey.c (gcry_pk_encrypt): Improve calculation for size of the + format string. + +2003-06-07 Moritz Schulte + + * arcfour.c, bithelp.h, blowfish.c, cast5.c, cipher.c, crc.c, + des.c, dsa.c, elgamal.c, md4.c, md5.c, md.c, primegen.c, pubkey.c, + rand-internal.h, random.c, random.h, rijndael.c, rmd160.c, + rmd160test.c, rmd.h, rndeged.c, rndlinux.c, rndunix.c, rndw32.c, + rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c: Edited all + preprocessor instructions to remove whitespace before the '#'. + This is not required by C89, but there are some compilers out + there that don't like it. Replaced any occurence of the now + deprecated type names with the new ones. + +2003-06-04 Moritz Schulte + + * pubkey.c (gcry_pk_encrypt): Construct an arg_list and use + gcry_sexp_build_array instead of gcry_sexp_build. + (gcry_pk_sign): Likewise. + (gcry_pk_genkey): Likewise. + +2003-06-01 Moritz Schulte + + * dsa.c (_gcry_dsa_generate): Do not check wether the algorithm ID + does indeed belong to DSA. + (_gcry_dsa_sign): Likewise. + (_gcry_dsa_verify): Likewise. + (_gcry_dsa_get_nbits): Likewise. + + * elgamal.c (_gcry_elg_check_secret_key): Do not check wether the + algorithm ID does indeed belong to ElGamal. + (_gcry_elg_encrypt): Likewise. + (_gcry_elg_decrypt): Likewise. + (_gcry_elg_sign): Likewise. + (_gcry_elg_verify): Likewise. + (_gcry_elg_get_nbits): Likewise. + (_gcry_elg_generate): Likewise. + + * rsa.c (_gcry_rsa_generate): Do not check wether the algorithm ID + does indeed belong to RSA. + (_gcry_rsa_encrypt): Likewise. + (_gcry_rsa_decrypt): Likewise. + (_gcry_rsa_sign): Likewise. + (_gcry_rsa_verify): Likewise. + (_gcry_rsa_get_nbits): Likewise. + +2003-05-30 Moritz Schulte + + * md.c (md_get_algo): Return zero in case to algorithm is enabled. + + * md.c (gcry_md_info): Adjusted for new no-errno-API. + (md_final): Likewise. + (gcry_md_get_algo): Likewise. + * pubkey.c (gcry_pk_get_keygrip): Likewise. + (gcry_pk_ctl): Likewise. + (gcry_pk_algo_info): Likewise. + * des.c (selftest): Likewise. + +2003-05-29 Moritz Schulte + + * md.c (md_enable): Do not forget to release module on error. + (gcry_md_open): Adjusted for new no-errno-API. + (md_open): Likewise. + (md_copy): Likewise. + (gcry_md_copy): Likewise. + (gcry_md_setkey): Likewise. + (gcry_md_algo_info): Likewise. + + * cipher.c (gcry_cipher_open): Adjusted for new no-errno-API and + also fixed a locking bug. + (gcry_cipher_encrypt): Adjusted for new no-errno-API. + (gcry_cipher_decrypt): Likewise. + (gcry_cipher_ctl): Likewise. + (gcry_cipher_info): Likewise. + (gcry_cipher_algo_info): Likewise. + +2003-05-28 Moritz Schulte + + * md.c (md_enable): Adjusted for libgpg-error. + (gcry_md_enable): Likewise. + (gcry_digest_register_default): Likewise. + (gcry_digest_register): Likewise. + (check_digest_algo): Likewise. + (prepare_macpads): Likewise. + (gcry_md_setkey): Likewise. + (gcry_md_ctl): Likewise. + (gcry_md_get): Likewise. + (gcry_md_algo_info): Likewise. + (gcry_md_info): Likewise. + * dsa.c (_gcry_dsa_generate): Likewise. + (_gcry_dsa_check_secret_key): Likewise. + (_gcry_dsa_sign): Likewie. + (_gcry_dsa_verify): Likewise. + * twofish.c (do_twofish_setkey): Likewise. + (twofish_setkey): Likewise. + * cipher.c (gcry_cipher_register): Likewise. + +2003-05-25 Moritz Schulte + + * rijndael.c (do_setkey): Adjusted for libgpg-error. + (rijndael_setkey): Likewise. + * random.c (gcry_random_add_bytes): Likewise. + * elgamal.c (_gcry_elg_generate): Likewise. + (_gcry_elg_check_secret_key): Likewise. + (_gcry_elg_encrypt): Likewise. + (_gcry_elg_decrypt): Likewise. + (_gcry_elg_sign): Likewise. + (_gcry_elg_verify): Likewise. + * rsa.c (_gcry_rsa_generate): Likewise. + (_gcry_rsa_check_secret_key): Likewise. + (_gcry_rsa_encrypt): Likewise. + (_gcry_rsa_decrypt): Likewise. + (_gcry_rsa_sign): Likewise. + (_gcry_rsa_verify): Likewise. + * pubkey.c (dummy_generate, dummy_check_secret_key, dummy_encrypt, + dummy_decrypt, dummy_sign, dummy_verify): Likewise. + (gcry_pubkey_register): Likewise. + (check_pubkey_algo): Likewise. + (pubkey_generate): Likewise. + (pubkey_check_secret_key): Likewise. + (pubkey_encrypt): Likewise. + (pubkey_decrypt): Likewise. + (pubkey_sign): Likewise. + (pubkey_verify): Likewise. + (sexp_elements_extract): Likewise. + (sexp_to_key): Likewise. + (sexp_to_sig): Likewise. + (sexp_to_enc): Likewise. + (sexp_data_to_mpi): Likewise. + (gcry_pk_encrypt): Likewise. + (gcry_pk_decrypt): Likewise. + (gcry_pk_sign): Likewise. + (gcry_pk_verify): Likewise. + (gcry_pk_testkey): Likewise. + (gcry_pk_genkey): Likewise. + (gcry_pk_ctl): Likewise. + * cipher.c (dummy_setkey): Likewise. + (check_cipher_algo): Likewise. + (gcry_cipher_open): Likewise. + (cipher_setkey): Likewise. + (gcry_cipher_ctl): Likewise. + (cipher_encrypt): Likewise. + (gcry_cipher_encrypt): Likewise. + (cipher_decrypt): Likewise. + (gcry_cipher_decrypt): Likewise. + (gcry_cipher_info): Likewise. + (gcry_cipher_algo_info): Likewise. + * cast5.c (cast_setkey): Likewise. + (do_cast_setkey): Likewise. + * arcfour.c (arcfour_setkey): Likewise. + (do_arcfour_setkey): Likewise. + * blowfish.c (do_bf_setkey): Likewise. + (bf_setkey): Likewise. + * des.c (do_des_setkey): Likewise. + (do_tripledes_setkey): Likewise. + +2003-05-22 Moritz Schulte + + * tiger.c: Merged code ussing the U64_C macro from GnuPG. + + * sha512.c: Likewise. + +2003-05-17 Moritz Schulte + + * pubkey.c (gcry_pk_genkey): Fix type: acquire a lock, instead of + releasing it. + +2003-05-11 Moritz Schulte + + * pubkey.c (gcry_pk_testkey): Call REGISTER_DEFAULT_CIPHERS. + (gcry_pk_ctl): Likewise. + +2003-04-27 Moritz Schulte + + * pubkey.c (gcry_pk_genkey): Release sexp after extracted data has + been used. + + * md.c (gcry_md_get_algo_dlen): Simplified, simply call + md_digest_length to do the job. + + * des.c (do_des_setkey): Check for selftest failure not only + during initialization. + (do_tripledes_setkey): Include check for selftest failure. + + * pubkey.c (gcry_pubkey_register_default): New macro + `pubkey_use_dummy', use it. + + * elgamal.c (elg_names): New variable. + (pubkey_spec_elg): Include elg_names. + + * dsa.c (dsa_names): New variable. + (pubkey_spec_dsa): Include dsa_names. + + * rsa.c (rsa_names): New variable. + (pubkey_spec_rsa): Include rsa_names. + + * pubkey.c (gcry_pubkey_lookup_func_name): Compare name also with + the names listed in `sexp_names'. + +2003-04-24 Moritz Schulte + + * pubkey.c (sexp_to_key): New variables: module, pubkey. Adjusted + to new module interface. + (sexp_to_key): Changend type of argument `retalgo' from `int *' to + `GcryModule **'. Adjusted all callers. Removed argument: + r_algotblidx. + (sexp_to_sig): Changend type of argument `retalgo' from `int *' to + `GcryModule **'. Adjusted all callers. + (sexp_to_enc): Likewise. + + (pubkey_get_npkey, pubkey_get_nskey, pubkey_get_nsig, + pubkey_get_nenc): Use strlen to find out the number. + + * rsa.c: Adjust pubkey_spec_rsa to new internal interface. + * dsa.c: Likewise. + * elgamal.c: Likewise. + +2003-04-17 Moritz Schulte + + * pubkey.c (sexp_elements_extract): New function. + * pubkey.c (sexp_to_key): Removed variable `idx', added `err', use + sexp_elements_extract. + (sexp_to_sig): Likewise. + (sexp_to_enc): Likewise. + + * pubkey.c: Terminate list correctly. + * md.c: Include sha512/sha384 in digest_table. + +2003-04-16 Moritz Schulte + + * Makefile.am: Include support for sha512.c. + + * sha512.c: New file, merged from GnuPG, with few modifications + for libgcrypt. + + * rand-internal.h: Removed declarations for constructor functions. + + * md.c (md_copy): Call _gcry_module_use for incrementing the usage + counter of the digest modules. + + * rsa.c: Do not include "rsa.h". + * dsa.c: Do not include "dsa.h". + * elgamal.c: Do not include "elgamal.h". + * des.c: Do not include "des.h". + * cast5.c: Do not include "cast5.h". + * blowfish.c: Do not include "blowfish.h". + * arcfour.c: Do not include "arcfour.h". + + * Makefile.am (libcipher_la_DEPENDENCIES): Removed. + (libcipher_la_LIBADD): Removed. + Use Automake conditionals for conditional compilation. + +2003-04-13 Moritz Schulte + + * cipher.c (gcry_cipher_open): Call REGISTER_DEFAULT_CIPHERS. + + * md.c (gcry_md_list): New member: module. + (md_enable): New variable: module, changed use of module and + digest. + (md_enable): Initialize member: module. + (md_close): Call _gcry_module_release. + + * cipher.c (gcry_cipher_open): New variable: module, changed use of + module and cipher. + (struct gcry_cipher_handle): New member: module. + (gcry_cipher_open): Initialize member: module. + (gcry_cipher_close): Call _gcry_module_release. + +2003-04-09 Moritz Schulte + + * cipher.c: Include "ath.h". + * md.c: Likewise. + * pubkey.c: Likewise. + + * cipher.c (ciphers_registered_lock): New variable. + * md.c (digests_registered_lock): New variable. + * pubkey.c (pubkeys_registered_lock): New variable. + + * rndlinux.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndlinux_constructor): Removed function. + + * rndegd.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndegd_constructor): Removed function. + + * rndunix.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndunix_constructor): Removed function. + + * rndw32.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rndw32_constructor): Removed function. + + * rndegd.c (rndegd_connect_socket): Simplify code for creating the + egd socket address. + (rndegd_connect_socket): Call log_fatal use instead of + g10_log_fatal. + (egd_gather_random): Renamed to ... + (rndegd_gather_random): ... here. + +2003-04-08 Moritz Schulte + + * rndlinux.c: Do not include "dynload.h". + * rndunix.c: Likewise. + * rndw32.c: Likewise. + + * rndegd.c (rndegd_connect_socket): Factored out from ... + (egd_gather_random): here; call it. + (egd_socket): New variable. + (egd_gather_random): Initialize fd with egd_socket, do not declare + fd static. + (do_read): Merged few changes from GnuPG. FIXME - not finished? + Do not include "dynload.h". + + * rndw32.c (gather_random): Renamed to rndw32_gather_random, do + not declare static. + (gather_random_fast): Renamed to rndw32_gather_random_fast, do not + declare static. + + * rndunix.c (gather_random): Renamed to rndunix_gather_random, do + not declare static. + * rndegd.c (gather_random): Renamed to rndegd_gather_random, do + not declare static. + * rndlinux.c (gather_random): Renamed to rndlinux_gather_random, + do not declare static. + +2003-04-07 Moritz Schulte + + * Makefile.am (libcipher_la_SOURCES): Removed construct.c. + (libcipher_la_SOURCES): Added sha1.c, sha256.c, rmd160.c, md4.c, + md5.c, tiger.c and crc.c + (EXTRA_PROGRAMS): Removed sha1, sha256, rmd160, md4, md5, tiger + and crc. Removed definitions: EXTRA_md4_SOURCES, + EXTRA_md5_SOURCES, EXTRA_rmd160_SOURCES, EXTRA_sha1_SOURCES, + EXTRA_sha256_SOURCES, EXTRA_tiger_SOURCES and EXTRA_crc_SOURCES, + BUILT_SOURCES, DISTCLEANFILES. + + * pubkey.c: Do not include "elgamal.h", "dsa.h" and "rsa.h". + + * Makefile.am (libcipher_la_SOURCES): Removed rsa.h, elgamal.h, + dsa.h, des.h, cast5.h, arcfour.h and blowfish.h. + + * rsa.h: Removed file. + * elgamal.h: Removed file. + * dsa.h: Removed file. + * des.h: Removed file. + * cast5.h: Removed file. + * arcfour.h: Removed file. + * blowfish.h: Removed file. + + * Makefile.am (libcipher_la_SOURCES): Removed dynload.c and + dynload.h. + + * rsa.c (pubkey_spec_rsa): New variable. + * dsa.c (pubkey_spec_rsa): New variable. + * elgamal.c (pubkey_spec_elg): New variable. + + * rsa.c (_gcry_rsa_get_info): Removed function. + * elgamal.c (_gcry_elg_get_info): Removed function. + * dsa.c (_gcry_dsa_get_info): Removed function. + + * tiger.c (tiger_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_tiger_constructor): Removed function. + + * sha1.c (sha1_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_sha1_constructor): Removed function. + + * sha256.c (sha256_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_sha256_constructor): Removed function. + + * rmd160.c (rmd160_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_rmd160_constructor): Removed function. + + * md5.c (md5_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_md5_constructor): Removed function. + + * md4.c (md4_get_info): Removed function. + (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func): Removed function. + (_gcry_md4_constructor): Removed function. + + * crc.c (crc_get_info): Removed function. + + * arcfour.c (do_arcfour_setkey): Changed type of context argument + to `void *', added local variable for cast, adjusted callers. + (arcfour_setkey): Likewise. + (encrypt_stream): Likewise. + * cast5.c (cast_setkey): Likewise. + (encrypt_block): Likewise. + * rijndael.c (rijndael_setkey): Likewise. + (rijndael_encrypt): Likewise. + (rijndael_decrypt): Likewise. + * twofish.c (twofish_setkey): Likewise. + (twofish_encrypt): Likewise. + (twofish_decrypt): Likewise. + * des.c (do_des_setkey): Likewise. + (do_des_encrypt): Likewise. + (do_des_encrypt): Likewise. + (do_tripledes_encrypt): Likewise. + (do_tripledes_encrypt): Likewise. + * blowfish.c (bf_setkey: Likewise. + (encrypt_block): Likewise. + (decrypt_block): Likewise. + + * arcfour.c (encrypt_stream): Likewise. + + * rijndael.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func) Removed function. + + * twofish.c (gnupgext_version, func_table): Removed definitions. + (gnupgext_enum_func) Removed function. + + * cast5.c (CIPHER_ALGO_CAST5): Removed. + + * blowfish.c (FNCCAST_SETKEY, FNCCAST_CRYPT): Removed macros. + (CIPHER_ALGO_BLOWFISH): Removed symbol. + * cast5.c (FNCCAST_SETKEY, FNCCAST_CRYPT): Likewise. + * des.c (selftest_failed): Removed. + (initialized): New variable. + (do_des_setkey): Run selftest, if not yet done. + (FNCCAST_SETKEY, FNCCAST_CRYPT): Removed macros. + + * arcfour.c (_gcry_arcfour_get_info): Removed function. + * blowfish.c (_gcry_blowfish_get_info): Removed function. + * cast5.c (_gcry_cast5_get_info): Removed function. + * des.c (_gcry_des_get_info): Removed function. + * rijndael.c (_gcry_rijndael_get_info): Removed function. + * twofish.c (_gcry_twofish_get_info): Removed function. + + * arcfour.c (cipher_spec_arcfour): New variable. + * twofish.c (cipher_spec_twofish, cipher_spec_twofish128): New + variables. + * rijndael.c (cipher_spec_aes, cipher_spec_aes192, + cipher_spec256): New variables. + * des.c (cipher_spec_des, cipher_spec_tripledes): New variables. + * cast5.c (cipher_spec_cast5): New variable. + * blowfish.c (cipher_spec_blowfish): Likewise. + + * twofish.c: Do not include "dynload.h". + * rijndael.c: Likewise. + * des.c: Likewise. + * cast5.c: Likewise. + * blowfish.c: Likewise. + * cipher.c: Likewise. + * crc.c: Likewise. + * md4.c: Likewise. + * md5.c: Likewise. + * md.c: Likewise. + * pubkey.c: Likewise. + * rijndael.c: Likewise. + * sha1.c: Likewise. + * sha256.c: Likewise. + + * arcfour.c: Include "cipher.h". + * twofish.c: Likewise. + * rijndael.c: Likewise. + * des.c: Likewise. + * cast5.c: Likewise. + * blowfish.c: Likewise. + + * twofish.c (twofish_setkey): Declared argument `key' const. + (twofish_encrypt): Declared argument `inbuf' const. + (twofish_decrypt): Likewise. + + * rijndael.c (rijndael_setkey): Declared argument `key' const. + (rijndael_encrypt): Declared argument `inbuf' const. + (rijndael_decrypt): Likewise. + + * des.c (do_des_setkey): Declared argument `key' const. + (do_tripledes_setkey): Likewise. + (do_des_encrypt): Declared argument `inbuf' const. + (do_des_decrypt): Likewise. + (do_tripledes_encrypt): Likewise. + (do_tripledes_decrypt): Likewise. + + * cast5.c (encrypt_block): Declared argument `inbuf' const. + (decrypt_block): Likewise. + (cast_setkey): Declared argument `key' const. + + * blowfish.c (do_bf_setkey): Declared argument `key' const. + (encrypt_block): Declared argument `inbuf' const. + (encrypt_block): Likewise. + + + + * cipher.c: Remove CIPHER_ALGO_DUMMY related code. + Removed struct cipher_table_s. + Changed definition of cipher_table. + Removed definition of disabled_algos. + (ciphers_registered, default_ciphers_registered): New variables. + (REGISTER_DEFAULT_CIPHERS): New macro. + (dummy_setkey): Declared argument `key' const. + (dummy_encrypt_block): Declared argument `inbuf' const. + (dummy_encrypt_block): Likewise. + (dummy_encrypt_stream): Likewise. + (dummy_encrypt_stream): Likewise. + (dummy_setkey): Use `unsigned char' instead of `byte'. + (dummy_encrypt_block): Likewise. + (dummy_decrypt_block): Likewise. + (dummy_encrypt_stream): Likewise. + (dummy_decrypt_stream): Likewise. + (gcry_cipher_register_default): New function. + (gcry_cipher_lookup_func_id): New function. + (gcry_cipher_lookup_func_name): New function. + (gcry_cipher_lookup_id): New function. + (gcry_cipher_lookup_name): New function. + (gcry_cipher_id_new): New function. + (gcry_cipher_register): New function. + (gcry_cipher_unregister): New function. + (setup_cipher_table): Removed function. + (load_cipher_modules): Removed function. + (gcry_cipher_map_name): Adjusted to use new module management. + (cipher_algo_to_string): Likewise. + (disable_cipher_algo): Likewise. + (check_cipher_algo): Likewise. + (cipher_get_keylen): Likewise. + (cipher_get_blocksize): Likewise. + (gcry_cipher_open): Likewise. + (struct gcry_cipher_handle): Replaced members algo, algo_index, + blocksize, setkey, encrypt, decrypt, stencrypt, stdecrypt with one + member: cipher. + (gcry_cipher_open): Adjusted code for new handle structure. + (cipher_setkey): Likewise. + (cipher_setiv): Likewise. + (cipher_reset): Likewise. + (do_ecb_encrypt): Likewise. + (do_ecb_decrypt): Likewise. + (do_cbc_encrypt): Likewise. + (do_cbc_decrypt): Likewise. + (do_cfb_encrypt): Likewise. + (do_cfb_decrypt): Likewise. + (do_ctr_encrypt): Likewise. + (cipher_encrypt): Likewise. + (gcry_cipher_encrypt): Likewise. + (cipher_decrypt): Likewise. + (gcry_cipher_decrypt): Likewise. + (cipher_sync): Likewise. + (gcry_cipher_ctl): Likewise. + + * pubkey.c: Removed struct pubkey_table_s. + Changed definition of pubkey_table. + Removed definition of disabled_algos. + (pubkeys_registered, default_pubkeys_registered): New variables. + (REGISTER_DEFAULT_PUBKEYS): New macro. + (setup_pubkey_table): Removed function. + (load_pubkey_modules): Removed function. + (gcry_pubkey_register_default): New function. + (gcry_pubkey_lookup_func_id): New function. + (gcry_pubkey_lookup_func_name): New function. + (gcry_pubkey_lookup_id): New function. + (gcry_pubkey_lookup_name): New function. + (gcry_pubkey_id_new): New function. + (gcry_pubkey_register): New function. + (gcry_pubkey_unregister): New function. + (gcry_pk_map_name): Adjusted to use new module management. + (gcry_pk_algo_name): Likewise. + (disable_pubkey_algo): Likewise. + (check_pubkey_algo): Likewise. + (pubkey_get_npkey): Likewise. + (pubkey_get_nskey): Likewise. + (pubkey_get_nsig): Likewise. + (pubkey_get_nenc): Likewise. + (pubkey_generate): Likewise. + (pubkey_check_secret_key): Likewise. + (pubkey_encrypt): Likewise. + (pubkey_decrypt): Likewise. + (pubkey_sign): Likewise. + (pubkey_verify): Likewise. + (gcry_pk_get_nbits): Likewise. + (gcry_pk_algo_info): Likewise. + + * md.c: Removed struct md_digest_list_s. + (digest_list): Changed definition. + (digests_registered, default_digests_registered): New variables. + (REGISTER_DEFAULT_DIGESTS): New macro. + (new_list_item): Removed function. + (setup_md_table): Removed function. + (load_digest_module): Removed function. + (gcry_digest_register_default): New function. + (gcry_digest_lookup_func_id): New function. + (gcry_digest_lookup_func_name): New function. + (gcry_digest_lookup_id): New function. + (gcry_digest_lookup_name): New function. + (gcry_digest_id_new): New function. + (gcry_digest_register): New function. + (gcry_digest_unregister): New function. + (GcryDigestEntry): New type. + (struct gcry_md_context): Adjusted type of `list'. + (gcry_md_map_name): Adjusted to use new module management. + (digest_algo_to_string): Likewise. + (check_digest_algo): Likewise. + (md_enable): Likewise. + (md_digest_length): Likewise. + (md_asn_oid): Likewise. + +2003-04-07 Moritz Schulte + + * pubkey.c: Replaced PUBKEY_ALGO_DSA with GCRY_PK_DSA, + PUBKEY_ALGO_RSA with GCRY_PK_RSA and PUBKEY_ALGO_ELGAMAL with + GCRY_PK_ELG. + + * dsa.c: Replaced PUBKEY_ALGO_DSA with GCRY_PK_DSA. + +2003-04-01 Moritz Schulte + + * des.c: Removed checks for GCRY_CIPHER_3DES and GCRY_CIPHER_DES. + +2003-03-31 Moritz Schulte + + * tiger.c (tiger_get_info): Do not declare static. + * sha256.c (sha256_get_info): Likewise. + * sha1.c (sha1_get_info): Likewise. + * rmd160.c (rmd160_get_info): Likewise. + * md5.c (md5_get_info): Likewise. + * md4.c (md4_get_info): Likewise. + * crc.c (crc_get_info): Likewise. + + * md.c (load_digest_module): Call setup_md_table during + initialization. + (new_list_item): Link new element into digest_list. + + * cipher.c (do_ctr_decrypt): Made do_ctr_encrypt act as a wrapper + for do_ctr_encrypt, since these functions are identical. + +2003-03-30 Simon Josefsson + + * cipher.c (struct gcry_cipher_handle): Add counter field. + (gcry_cipher_open): Add CTR. + (cipher_reset): Clear counter field. + (do_ctr_encrypt, do_ctr_decrypt): New functions. + (cipher_encrypt, cipher_decrypt): Call CTR functions. + (gcry_cipher_ctl): Add SET_CTR to set counter. + +2003-03-30 Moritz Schulte + + * rsa.c (_gcry_rsa_blind): New function. + (_gcry_rsa_unblind): New function. + (_gcry_rsa_decrypt): Use _gcry_rsa_blind and _gcry_rsa_decrypt. + +2003-03-26 Moritz Schulte + + * dynload.c (_gcry_enum_gnupgext_pubkeys): Adjust `encrypt' and + `decrypt' function arguments. + (_gcry_enum_gnupgext_pubkeys): Likewise. + * dynload.h: Likewise. + + * pubkey.c (dummy_decrypt): Add argument: int flags. + (dummy_encrypt): Likewise. + + * elgamal.c (_gcry_elg_encrypt): Add argument: int flags. + (_gcry_elg_decrypt): Likewise. + + * rsa.c (_gcry_rsa_encrypt): Add argument: int flags. + (_gcry_rsa_decrypt): Likewise. + + * pubkey.c: Add `flags' argument to members `encrypt' and + `decrypt' of struct `pubkey_table_s'. + + * rsa.h: Add `flags' argument to function declarations. + * elgamal.h: Likewise. + + * pubkey.c (sexp_data_to_mpi): New variable: int parsed_flags. + (sexp_data_to_mpi): Set `parsed_flags'. + (sexp_data_to_mpi): New argument: int *flags. + (gcry_pk_encrypt): New variable: int flags. + (gcry_pk_encrypt): Pass `flags' to pubkey_encrypt. + (pubkey_encrypt): New variable: int flags. + (pubkey_encrypt): Pass `flags' to pubkey encrypt function. + (pubkey_decrypt): Likewise. + (pubkey_decrypt): Pass `flags' to pubkey encrypt function. + (gcry_pk_encrypt): Include `flags' s-exp in return list. + (sexp_to_enc): New argument: int *flags. + (gcry_pk_decrypt): New variable: int flags. + (gcry_pk_decrypt): Pass `flags' to pubkey_decrypt. + (sexp_to_enc): New variable: int parsed_flags. + (sexp_to_enc): Set `parsed_flags'. + +2003-03-22 Simon Josefsson + + * cipher.c (gcry_cipher_open, do_cbc_encrypt) + (gcry_cipher_encrypt): Support GCRY_CIPHER_CBC_MAC. + (gcry_cipher_ctl): Support GCRYCTL_SET_CBC_MAC. + +2003-03-19 Werner Koch + + * primegen.c (gen_prime): New args EXTRA_CHECK and EXTRA_CHECK_ARG + to allow for a user callback. Changed all callers. + (_gcry_generate_secret_prime) + (_gcry_generate_public_prime): Ditto, pass them to gen_prime. + * rsa.c (check_exponent): New. + (generate): Use a callback to ensure that a given exponent is + actually generated. + +2003-03-12 Moritz Schulte + + * primegen.c: Initialize `no_of_small_prime_numbers' statically. + (gen_prime): Remove calculation of `no_of_small_prime_numbers'. + +2003-03-03 Moritz Schulte + + * md.c (gcry_md_ctl): Rewritten to use same style like the other + functions dispatchers. + +2003-03-02 Moritz Schulte + + * cipher.c (struct gcry_cipher_handle): New member: algo_index. + (gcry_cipher_open): Allocate memory for two cipher contexts. + Initialize algo_index. + (cipher_setkey): Duplicate context into reserved memory. + (cipher_reset): New function, which resets the context and clear + the IV. + (gcry_cipher_ctl): Call cipher_reset. + +2003-02-23 Moritz Schulte + + * cipher.c: Remove (bogus) `digitp' macro definition. + * md.c: Likewise. + + * blowfish.c (burn_stack): Removed. + * arcfour.c (burn_stack): Likewise. + * cast5.c (burn_stack): Likewise. + * des.c (burn_stack): Likewise. + * md4.c (burn_stack): Likewise. + * md5.c (burn_stack): Likewise. + * random.c (burn_stack): Likewise. + * rijndael.c (burn_stack): Likewise. + * rmd160.c (burn_stack): Likewise. + * sha1.c (burn_stack): Likewise. + * sha256.c (burn_stack): Likewise. + * tiger.c (burn_stack): Likewise. + * twofish.c (burn_stack): Likewise. + + * blowfish.c: Changed all occurences of burn_stack to + _gcry_burn_stack. + * arcfour.c: Likewise. + * cast5.c: Likewise. + * des.c: Likewise. + * md4.c: Likewise. + * md5.c: Likewise. + * random.c: Likewise. + * rijndael.c: Likewise. + * rmd160.c: Likewise. + * sha1.c: Likewise. + * sha256.c: Likewise. + * tiger.c: Likewise. + * twofish.c: Likewise. + + * arcfour.c (_gcry_arcfour_get_info): Use GCRY_CIPHER_ARCFOUR + instead of hard-coded value `301'. + +2003-01-24 Werner Koch + + * random.c (_gcry_register_random_progress): New. + (_gcry_random_progress): New. + + * rndlinux.c (gather_random): Call the random progress function. + +2003-01-23 Werner Koch + + * rsa.c (generate): New arg USE_E to request a specific public + exponent. + (_gcry_rsa_generate): Ditto. + * elgamal.c (_gcry_elg_generate): Must add an dummy argument + instead of USE_E. + * dsa.c (_gcry_dsa_generate): Ditto. + * pubkey.c (dummy_generate): Ditto. + (pubkey_generate): Add USE_E arg and pass it down. + (gcry_pk_genkey): Detect "rsa-use-e" parameter and pass it to generate. + + * pubkey.c (sexp_to_enc): New arg RET_MODERN. + (gcry_pk_decrypt): Make use of it to return a real S-expression. + Return better error codes. + (gcry_pk_verify): Return better error codes. + +2003-01-21 Werner Koch + + * random.c (gcry_random_add_bytes): Add QUALITY argument, let + function return an error code and disable its core for now. + +2003-01-21 Timo Schulz + + * random.c (gcry_random_add_bytes): New. Function to add external + random to the pool. + +2003-01-20 Simon Josefsson + + * crc.c: New. + * Makefile.am (EXTRA_PROGRAMS, EXTRA_crc_SOURCES): Add crc.c. + * md.c (gcry_md_get_algo_dlen): Add values for CRC. + +2003-01-20 Werner Koch + + * sha256.c: New. + * bithelp.h (ror): New. + * Makfile.am: Add sha256.c. + * md.c (oid_table): Add values for SHA256 et al. + (gcry_md_get_algo_dlen): Likewise + +2003-01-20 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Implemented keygrips for DSA + and ElGamal. + +2003-01-17 Werner Koch + + * cipher.c (gcry_cipher_encrypt): Reworked so that the output will + never contain the plaintext even if the caller did not checked the + return value. + + * md.c (gcry_md_get_algo): Changed error code to GCRYERR_GENERAL + because we don't have an invalid md algo but no algorithm enabled. + + * pubkey.c (gcry_pk_genkey): Changed error code for bounds check + of table parameters to GCRYERR_INTERNAL. + + * md.c (gcry_md_open): Partly reverted Timo's change from + 2002-10-10 by removing the check for the algorithm. An algorithm + of 0 is allowed and anyway we should not double check it or check + it using a different function. Also fixed the flags check. + + * pubkey.c (gcry_pk_encrypt): Make sure that R_CIPH points to NULL + on error. + (gcry_pk_decrypt): Ditto for R_PLAIN. + (gcry_pk_sign): Ditto for R_SIG. + (gcry_pk_genkey): Ditto for R_KEY. + +2003-01-16 Werner Koch + + * md.c (gcry_md_write): Changed 2nd argument type to void*. + (gcry_md_hash_buffer): Changed type of boths buffers to void*. + (gcry_md_setkey): Changed 2nd argument type to void*. + +2003-01-15 Werner Koch + + * pubkey.c (sexp_data_to_mpi): New. This handles pkcs1 padding. + (gcry_pk_sign, gcry_pk_verify): Use it here. + (gcry_pk_encrypt): And here. + (pubkey_verify): Add debug code. + (sexp_to_enc): Handle flags in the input and return the pkcs1 flag + in a new parameter. + (gcry_pk_decrypt): Prepare for future pkcs1 handling. + +2002-12-19 Werner Koch + + * random.c (_gcry_random_initialize): New. + +2002-12-16 Werner Koch + + * cipher.c: Added a Teletrust specific OID for 3DES. + +2002-12-12 Werner Koch + + * md.c: Added another oddball OIW OID (sha-1WithRSAEncryption). + +2002-11-23 Werner Koch + + * md.c (load_digest_module): Enlarged checked_algos bitmap. + * md4.c (func_table): Fixed entry for md4. + Both by Simon Josephson. + (transform): Copy data to get the alignment straight. Tested only + on i386. + +2002-11-10 Simon Josefsson + + * cipher.c (gcry_cipher_open): Don't reject CTS flag. + (do_cbc_encrypt, do_cbc_decrypt, cipher_encrypt) + (gcry_cipher_encrypt, cipher_decrypt) + (gcry_cipher_decrypt): Support CTS flag. + (gcry_cipher_ctl): Toggle CTS flag. + +2002-11-10 Werner Koch + + * md4.c: New. By Simon Josefsson. + * Makefile.am (EXTRA_PROGRAMS): Add md4.c. + * md.c (oid_table,gcry_md_get_algo_dlen): MD4 support. + +2002-10-14 Werner Koch + + * arcfour.c (do_encrypt_stream): Don't use increment op when + assigning to the same variable. + +2002-10-10 Timo Schulz + + * pubkey.c (gcry_pk_genkey): Check boundaries. + + * md.c (gcry_md_open): Check that algo is available and only + valid flag values are used. + (gcry_md_get_algo): Add error handling. + +2002-09-26 Werner Koch + + * md.c: Include an OID for TIGER. + * tiger.c (tiger_get_info): Use a regular OID. + +2002-09-17 Werner Koch + + * random.c: Replaced mutex.h by the new ath.h. Changed all calls. + +2002-09-16 Werner Koch + + * arcfour.c (do_encrypt_stream): Use register modifier and modulo. + According to Nikos Mavroyanopoulos this increases perfromace on + i386 system noticable. And I always tought gcc is clever enough. + * md5.c (transform): Use register modifier. + * rmd160.c (transform): Ditto. + * sha1.c (transform): Ditto. We hope that there are 6 free registers. + * random.c (gcry_randomize): Rewrote to avoid malloc calls. + + * rndlinux.c (gather_random): Replaced remaining fprintfs by log_*. + * arcfour.c (do_arcfour_setkey): Ditto. + * twofish.c (do_twofish_setkey): Ditto. + * rndegd.c (gather_random): Ditto. + * rijndael.c (do_setkey): Ditto. + * random.c (_gcry_random_dump_stats): Ditto. + * primegen.c (_gcry_generate_elg_prime): Ditto. + * des.c (_gcry_des_get_info): Ditto. + * cast5.c (do_cast_setkey): Ditto. + * blowfish.c (do_bf_setkey): Ditto. + +2002-08-26 Werner Koch + + * des.c (weak_keys): Fixed one entry in the table and compared + all entries against the literature. + (selftest): Checksum the weak key table. + +2002-08-21 Werner Koch + + * pubkey.c: Enable keygrip calculation for "openpgp-rsa". + +2002-08-17 Werner Koch + + * cipher.c (setup_cipher_table): Don't overwrite the DES entry + with the entry for DUMMY. + +2002-08-14 Werner Koch + + * des.c (do_des_setkey,do_des_encrypt, do_des_decrypt): New. + (_gcry_des_get_info): Support plain old DES. + * cipher.c (setup_cipher_table): Put DES into the table. + +2002-07-25 Werner Koch + + * rndunix.c (_gcry_rndunix_constructor): Prefixed with _gcry_. + Noted by Stephan Austermuehle. + +2002-07-08 Timo Schulz + + * rndw32.c: Replaced the m_ memory functions with the real + gcry_ functions. Renamed all g10_ prefixed functions to log_. + +2002-06-12 Werner Koch + + * rsa.c (generate): Use e = 65537 for now. + +2002-06-11 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): Allow a "protected-private-key". + +2002-06-05 Timo Schulz + + * cipher.c (gcry_cipher_encrypt, gcry_cipher_decrypt): + Check that the input size is a multiple of the blocksize. + +2002-05-23 Werner Koch + + * md.c (oid_table): Add an rsadsi OID for MD5. + +2002-05-21 Werner Koch + + * primegen.c, elgamal.c, dsa.c (progress): Do not print anything + by default. Pass an extra identifying string to the callback and + reserved 2 argumenst for current and total counters. Changed the + register function prototype. + +2002-05-17 Werner Koch + + * rndegd.c (rndegd_constructor): Fixed name of register function + and prefixed the function name with _gcry_. + * rndw32.c (rndw32_constructor): Ditto. + * tiger.c (tiger_constructor): Ditto. + + * Makefile.am: Removed all dynamic loading stuff. + * dynload.c: Ditto. Now only used for the constructor system. + +2002-05-15 Werner Koch + + * random.c (gcry_random_bytes,gcry_random_bytes_secure) + (gcry_randomize): Make sure we are initialized. + +2002-05-14 Werner Koch + + Changed license of most files to the LGPL. + +2002-05-02 Werner Koch + + * random.c (_gcry_fast_random_poll): Initialize the module so the + mutex can be used. + + * primegen.c (small_prime_numbers): Moved table from smallprime.c + * smallprime.c: File removed. + + * des.c (leftkey_swap, rightkey_swap, working_memcmp): Made static. + + * cipher.c (gcry_cipher_map_name): Map "RIJNDAEL" to "AES". + * rijndael.c (rijndael_get_info): We do only support a 128 bit + blocksize so it makes sense to change the algorithm strings to + AES. + + * tiger.c (tiger_final): Removed superfluous token pasting operators. + * md5.c (md5_final): Ditto. + +2002-04-30 Werner Koch + + * cipher.c: Fixed list of copyright years. + +2002-03-18 Werner Koch + + * random.c (initialize): Initialize the new pool lock mutex. + (_gcry_fast_random_poll): Add locking and moved main + code out to... + (do_fast_random_poll): new function. + (read_pool): Use the new function here. + (get_random_bytes): Add locking. + (_gcry_update_random_seed_file): Ditto. + +2002-03-11 Werner Koch + + * md.c: Add rsaSignatureWithripemd160 to OID table. + +2002-02-20 Werner Koch + + * sha1.c: Removed a left over comment note. The code has been + rewritten from scratch in 1998. Thanks to Niels Möller for + reporting this misleading comment. + +2002-02-18 Werner Koch + + * rndunix.c (rndunix_constructor): Use the the new prefixed + function name. Reported by Jordi Mallach. + +2002-02-10 Werner Koch + + * random.c (mix_pool): Carry an extra failsafe_digest buffer + around to make the function more robust. + +2002-02-08 Werner Koch + + * random.c (add_randomness): Xor new data into the pool and not + just copy it. This avoids any choosen input attacks which are not + serious in our setting because an outsider won't be able to mix + data in and even then we keep going with a PRNG. Thanks to Stefan + Keller for pointing this out. + +2002-01-04 Werner Koch + + * pubkey.c (gcry_pk_genkey): Do not release skey - it is static. + + * primegen.c (gen_prime): Of course we should use set_bit + and not set_highbit to set the second high bit. + +2001-12-18 Werner Koch + + * rsa.c (generate): Loop until we find the exact modulus size. + Changed the exponent to 41. + (rsa_get_info): s/usage/r_usage/ to avoid shadow warnings. + * primegen.c (gen_prime): Set 2 high order bits for secret primes. + + * Makefile.am (DISTCLEANFILES): Include construct.c. + +2001-12-17 Werner Koch + + * pubkey.c (gcry_pk_get_keygrip): New - experimental. + +2001-12-11 Werner Koch + + * cipher.c: Added OIDs for AES. + (gcry_cipher_mode_from_oid): New. + (gcry_cipher_map_name): Moved OID search code to .. + (search_oid): .. new function. + +2001-12-10 Werner Koch + + * pubkey.c (gcry_pk_encrypt): Find the signature algorithm by name + and not by number. + + * pubkey.c (gcry_pk_encrypt,gcry_pk_decrypt,gcry_pk_sign) + (gcry_pk_verify,gcry_pk_testkey, gcry_pk_genkey) + (gcry_pk_get_nbits): Release the arrays. Noted by Nikos + Mavroyanopoulos. + +2001-12-06 Werner Koch + + * cipher.c (gcry_cipher_map_name): Look also for OIDs prefixed + with "oid." or "OID.". + +2001-12-05 Werner Koch + + * pubkey.c (algo_info_table): Fixed entry for openpgp-rsa. + +2001-11-24 Werner Koch + + * pubkey.c: Added the rsaEncryption OID to the tables. + (sexp_to_key): Add an arg to return the index of the algorithm, + changed all callers. + (gcry_pk_sign): Find the signature algorithm by name and not by + number. + (gcry_pk_get_nbits): Fixed so that we can now really pass a secret + key to get the result. + + * md.c (gcry_md_map_name): Look also for OIDs prefixed with "oid." + or "OID." so that an OID string can be used as an S-Exp token. + +2001-11-20 Werner Koch + + * md.c (gcry_md_map_name): Lookup by OID if the the name begins + with a digit. + (oid_table): New. + +2001-11-16 Werner Koch + + * md.c (gcry_md_info): New operator GCRYCTL_IS_ALGO_ENABLED. + +2001-11-07 Werner Koch + + * md.c (gcry_md_hash_buffer): Close the handle which was left open + for algorithms other than rmd160. + +2001-08-08 Werner Koch + + * rndw32.c (gather_random): Use toolhelp in addition to the NT + gatherer for Windows2000. Suggested by Sami Tolvanen. + + * random.c (read_pool): Fixed length check, this used to be one + byte to strict. Made an assert out of it because the caller has + already made sure that only poolsize bytes are requested. + Reported by Marcus Brinkmann. + +2001-08-03 Werner Koch + + * cipher.c (cipher_encrypt, cipher_decrypt): Prepare to return + errors. We have to change the interface to all ciphers to make + this really work but we should do so to prepare for hardware + encryption modules. + (gcry_cipher_encrypt, gcry_cipher_decrypt): Return the error and + set lasterr. + (gcry_cipher_ctl): Make sure that errors from setkey are returned. + +2001-08-02 Werner Koch + + * rndlinux.c (gather_random): casted a size_t arg to int so that + the format string is correct. Casting is okay here and avoids + translation changes. + + * random.c (fast_random_poll): Do not check the return code of + getrusage. + + * rndunix.c: Add a signal.h header to avoid warnings on Solaris 7 + and 8. + + * tiger.c (print_abc,print_data): Removed. + + * rijndael.c, des.c, blowfish.c, twofish.c, cast5.c, arcfour.c + (burn_stack): New. Add wrappers for most functions to be able to + call burn_stack after the function invocation. This methods seems + to be the most portable way to zeroise the stack used. It does + only work on stack frame based machines but it is highly portable + and has no side effects. Just setting the automatic variables at + the end of a function to zero does not work well because the + compiler will optimize them away - marking them as volatile would + be bad for performance. + * md5.c, sha1.c, rmd160.c, tiger.c (burn_stack): Likewise. + * random.c (burn_stack): New. + (mix_pool): Use it here to burn the stack of the mixblock function. + + * primegen.c (_gcry_generate_elg_prime): Freed q at 3 places. + Thanks to Tommi Komulainen. + + * arcfour.c (arcfour_setkey): Check the minimim keylength against + bytes and not bits. + (selftest): Must reset the key before decryption. + +2001-05-31 Werner Koch + + * sha1.c (sha1_init): Made static. + + Changed all g10_ prefixed function names as well as some mpi_ + function names to cope with the introduced naming changes. + + * md.c (prepare_macpads): Made key const. + +2001-05-28 Werner Koch + + * rndegd.c (gather_random): Removed the use of tty_printf. + +2001-03-29 Werner Koch + + * md5.c (md5_final): Fixed calculation of hashed length. Thanks + to disastry@saiknes.lv for pointing out that it was horrible wrong + for more than 512MB of input. + * sha1.c (sha1_final): Ditto. + * rmd160.c (rmd160_final): Ditto. + * tiger.c (tiger_final): Ditto. + + * blowfish.c (encrypt,do_encrypt): Changed name to do_encrypt to + avoid name clashes with an encrypt function in stdlib.h of + Dynix/PIX. Thanks to Gene Carter. + * elgamal.c (encrypt,do_encrypt): Ditto. + + * twofish.c (gnupgext_enum_func): Use only when when compiled as a + module. + * rijndael.c (gnupgext_enum_func): Ditto. + + * tiger.c (tiger_get_info): Return "TIGER192" and not just + "TIGER". By Edwin Woudt. + + * random.c: Always include time.h - standard requirement. Thanks + to James Troup. + + * rndw32.c: Fixes to the macros. + +2001-01-11 Werner Koch + + * cipher.c (cipher_encrypt,gcry_cipher_encrypt): Use blocksize and + not 8. + +2000-12-19 Werner Koch + + Major change: + Removed all GnuPG stuff and renamed this piece of software + to gcrypt. + +2000-11-14 Werner Koch + + * dsa.c (test_keys): Replaced mpi_alloc by gcry_mpi_new and + mpi_free by gcry_mpi_release. + * elgamal.c (test_keys,generate): Ditto, also for mpi_alloc_secure. + * rsa.c (test_keys,generate,rsa_verify): Ditto. + * primegen.c (generate_elg_prime): Ditto. + (gen_prime): Ditto and removed nlimbs. + + * rsa.c (generate): Allocate 2 more vars in secure memory. + + * Makefile.am (OMIT_DEPENDENCIES): Hack to work around dependency + problems. + +2000-10-09 Werner Koch + + * arcfour.c, arcfour.h: New. + * cipher.c (cipher_encrypt, cipher_decrypt): Add stream mode. + (setup_cipher_table): Add Arcfour. + (gcry_cipher_open): Kludge to allow stream mode. + +Wed Oct 4 13:16:18 CEST 2000 Werner Koch + + * sha1.c (transform): Use rol() macro. Actually this is not needed + for a newer gcc but there are still aoter compilers. + + * rsa.c (test_keys): Use new random function. + + * md.c (gcry_md_setkey): New function to overcome problems with + const conflics. + (gcry_md_ctl): Pass set key to the new functions. + + * rijndael.c: New. + * cipher.c: Add Rijndael support. + +Mon Sep 18 16:35:45 CEST 2000 Werner Koch + + * rndlinux.c (open_device): Loose random device checking. + By Nils Ellmenreich. + + * random.c (fast_random_poll): Check ENOSYS for getrusage. + * rndunix.c: Add 2 sources for QNX. By Sam Roberts. + + * pubkey.c (gcry_pk_algo_info): Add GCRYCTL_GET_ALGO_USAGE. + + * rsa.c: Changed the comment about the patent. + (secret): Speed up by using the CRT. For a 2k keys this + is about 3 times faster. + (stronger_key_check): New but unused code to check the secret key. + * Makefile.am: Included rsa.[ch]. + * pubkey.c: Enabled RSA support. + (pubkey_get_npkey): Removed RSA workaround. + +Mon Jul 31 10:04:47 CEST 2000 Werner Koch + + * pubkey.c: Replaced all gcry_sexp_{car,cdr}_{data,mpi} by the new + gcry_sexp_nth_{data,mpi} functions. + +Tue Jul 25 17:44:15 CEST 2000 Werner Koch + + * pubkey.c (exp_to_key,sexp_to_sig,sexp_to_enc,gcry_pk_encrypt, + gcry_pk_decrypt,gcry_pk_sign,gcry_pk_genkey): Changed to work with + the new S-Exp interface. + +Mon Jul 17 16:35:47 CEST 2000 Werner Koch + + * random.c (gather_faked): Replaced make_timestamp by time(2) again. + +Fri Jul 14 19:38:23 CEST 2000 Werner Koch + + * md.c (gcry_md_ctl): Support GCRYCTL_{START,STOP}_DUMP. + + * Makefile.am: Never compile mingw32 as module. + + * Makefile.am: Tweaked module build and removed libtool + + * Makefile.am: Replaced -O1 by -O. Suggested by Alec Habig. + + * elgamal.c (sign): Removed inactive code. + + * rsa.c, rsa.h: New based on the old module version (only in CVS for now). + * pubkey.c (setup_pubkey_table): Added commented support for RSA. + + * rndunix.c (waitpid): New. For UTS 2.1. All by Dave Dykstra. + (my_popen): Do the FD_CLOEXEC only if it is available + (start_gatherer): Cope with missing _SC_OPEN_MAX + + * rndunix.c: Add some more headers for QNX. By Sam Roberts. + + * rndegd.c (gather_random): Shortcut level 0. + * rndunix.c (gather_random): Ditto. + * rndw32.c (gather_random): Ditto. + + * rndw32.c: Replaced with code from Cryptlib and commented the old stuff. + * rndw32.c: Add some debuging code enabled by an environment variable. + + * random.c (read_seed_file): Binary open for DOSish system + (update_random_seed_file): Ditto. + * random.c [MINGW32]: Include process.h for getpid. + * random.c (fast_random_poll): Add clock_gettime() as fallback for + system which support this POSIX.4 fucntion. By Sam Roberts. + + * random.c (read_seed_file): Removed the S_ISLNK test becuase it + is already covered by !S_ISREG and is not defined in Unixware. + Reported by Dave Dykstra. + (update_random_seed_file): Silently ignore update request when pool + is not filled. + + * random.c (read_seed_file): New. + (set_random_seed_file): New. + (read_pool): Try to read the seeding file. + (update_random_seed_file): New. + + (read_pool): Do an initial extra seeding when level 2 quality random + is requested the first time. This requestes at least POOLSIZE/2 bytes + of entropy. Compined with the seeding file this should make normal + random bytes cheaper and increase the quality of the random bytes + used for key generation. + + * random.c (read_pool): Print a more friendly error message in + cases when too much random is requested in one call. + + * random.c (fast_random_poll): Check whether RUSAGE_SELF is defined; + this is not the case for some ESIX and Unixware, although they have + getrusage(). + + * primegen.c (generate_elg_prime): All primes are now generated with + the lowest random quality level. Because they are public anyway we + don't need stronger random and by this we do not drain the systems + entropy so much. + + * primegen.c (register_primegen_progress): New. + * dsa.c (register_pk_dsa_progress): New. + * elgamal.c (register_pk_elg_progress): New. + + * elgamal.c (wiener_map): New. + (gen_k): Use a much smaller k. + (generate): Calculate the qbits using the wiener map and + choose an x at a size comparable to the one choosen in gen_k + + * rmd160.c (rmd160_get_info): Moved casting to the left side due to a + problem with UTS4.3. Suggested by Dave Dykstra. + * sha1.c (sha1_get_info): Ditto. + * tiger.c (tiger_get_info): Ditto. + * md5.c (md5_get_info): Ditto + * des.c (des_get_info): Ditto. + * blowfish.c (blowfish_get_info): Ditto. + * cast5.c (cast5_get_info): Ditto. + * twofish.c (twofish_get_info): Ditto. + +Fri Mar 24 11:25:45 CET 2000 Werner Koch + + * md.c (md_open): Add hmac arg and allocate space for the pads. + (md_finalize): Add HMAC support. + (md_copy): Ditto. + (md_close): Ditto. + (gcry_md_reset): Ditto. + (gcry_md_ctl): Ditto. + (prepare_macpdas): New. + +Mon Mar 13 19:22:46 CET 2000 Werner Koch + + * md.c (gcry_md_hash_buffer): Add support for the other algorithms. + +Mon Jan 31 16:37:34 CET 2000 Werner Koch + + * genprime.c (generate_elg_prime): Fixed returned factors which never + worked for non-DSA keys. + +Thu Jan 27 18:00:44 CET 2000 Werner Koch + + * pubkey.c (sexp_to_key): Fixed mem leaks in case of errors. + +Mon Jan 24 22:24:38 CET 2000 Werner Koch + + * pubkey.c (gcry_pk_decrypt): Implemented. + (gcry_pk_encrypt): Implemented. + (gcry_pk_testkey): New. + (gcry_pk_genkey): New. + (pubkey_decrypt): Made static. + (pubkey_encrypt): Ditto. + (pubkey_check_secret_key): Ditto. + (pubkey_generate): Ditto. + +Mon Jan 24 13:04:28 CET 2000 Werner Koch + + * pubkey.c (pubkey_nbits): Removed and replaced by ... + (gcry_pk_get_nbits): this new one. + +Wed Dec 8 21:58:32 CET 1999 Werner Koch + + * dsa.c: s/mpi_powm/gcry_mpi_powm/g + * elgamal.c: Ditto. + * primegen.c: Ditto. + + * : Replaced g10_opt_verbose by g10_log_verbosity(). + + * Makefile.am (INCLUDES): removed intl, add ../gcrypt + +Fri Nov 19 17:15:20 CET 1999 Werner Koch + + * dynload.c (cmp_filenames): New to replaced compare_filename() in + module. + (register_cipher_extension): Removed the tilde expansion stuff. + * rndeg.c (my_make_filename): New. + + * : Replaced header util.h by g10lib.h + + * random.c (gather_faked): Replaced make_timestamp by time(2). + Disabled wrning printed with tty_printf. + * rndlinux.c (gather_random): Always use fprintf instead of tty_xxx; + this should be replaced by a callback function. + + * primegen.c (gen_prime): Use gcry_mpi_randomize. + (is_prime): Ditto. + * elgamal.c (test_keys): Ditto. + * dsa.c (test_keys): Ditto. + + * cipher.c (gcry_cipher_close): Die on invalid handle. + +Mon Nov 15 21:36:02 CET 1999 Werner Koch + + * elgamal.c (gen_k): Use the new random API. + (generate): Ditto. + * dsa.c (gen_k): Ditto. + (generate): Ditto. + +Sat Nov 13 17:44:23 CET 1999 Werner Koch + + * pubkey.c (disable_pubkey_algo): Made static. + (gcry_pk_ctl): New. + + * random.c (get_random_bits): Renamed to ... + (get_random_bytes): ... this and made static. + (gcry_random_bytes): New. + (gcry_random_bytes_secure): New. + (randomize_buffer): Renamed to ... + (gcry_randomize): ...this. + + * md.c (gcry_md_hash_buffer): New. + + * pubkey.c (gcry_pk_algo_info): 4 new commands. + (pubkey_get_npkey): Made static. + (pubkey_get_nskey): Made static. + (pubkey_get_nsig): Made static. + (pubkey_get_nenc): Made static. + + * pubkey.c: Removed all G10ERR_xxx. + * cipher.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_CIPHER_ALGO. + * md.c: Changed all GCRYERR_INV_ALGO to GCRYERR_INV_MD_ALGO. + * cast5.c (cast_setkey): Changed errocodes to GCRYERR_xxx. + * blowfish.c: Ditto. + * des.c: Ditto. + * twofish.c: Ditto. + * dsa.c: Ditto. + * elgamal.c: Ditto. + + * g10c.c: Removed + + * cipher.c (gcry_cipher_open): Replaced alloc functions and return NULL + if we are out of core. + * dynload.c: Replaced all memory allocation functions. + * md.c: Ditto. + * primegen.c: Ditto. + * pubkey.c: Ditto. + * random.c: Ditto. + * rndw32.c: Ditto. + * elgamal.c: Ditto. + * dsa.c: Ditto. + +Tue Oct 26 14:10:21 CEST 1999 Werner Koch + + * elgamal.c (sign): Hugh found strange code here. Replaced by BUG(). + + * cipher.c: Merged with gcrypt/symapi.c. + + * pubkey.c (string_to_pubkey_algo): Renamed function to ... + (gcry_pk_map_name): ... this. + (pubkey_algo_to_string): Renamed function to ... + (gcry_pk_algo_name): ... this. + (gcry_pk_algo_info): New. + * pubkey.c: Merged with gcrypt/pkapi.c. + + * md.c (md_reset): Clear finalized; thanks to Ulf Moeller for + fixing this bug. + + * md.c: Merged with gcrypt/mdapi.c + +Wed Sep 15 14:39:59 CEST 1999 Michael Roth + + * des.c: Various speed improvements: One bit pre rotation + trick after initial permutation (Richard Outerbridge). + Finished test of SSLeay Tripple-DES patterns. + +Wed Sep 15 16:22:17 CEST 1999 Werner Koch + + * rndw32.c: New. + +Mon Sep 13 10:51:29 CEST 1999 Werner Koch + + * bithelp.h: New. + * rmd160.h, sha1.h, md5.h: Use the rol macro from bithelp.h + +Tue Sep 7 16:23:36 CEST 1999 Werner Koch + + * Makefile.am: Fixed seds for latest egcc. By Ollivier Robert. + +Mon Sep 6 19:59:08 CEST 1999 Werner Koch + + * des.c (selftest): Add some testpattern + +Mon Aug 30 20:38:33 CEST 1999 Werner Koch + + * cipher.c (do_cbc_encrypt): Fixed serious bug occuring when not using + in place encryption. Pointed out by Frank Stajano. + +Mon Jul 26 09:34:46 CEST 1999 Werner Koch + + * md5.c (md5_final): Fix for a SCO cpp bug. + +Thu Jul 15 10:15:35 CEST 1999 Werner Koch + + * elgamal.c (elg_check_secret_key,elg_encrypt + elg_decrypt,elg_sign,elg_verify): Sanity check on the args. + * dsa.c (dsa_check_secret_key,dsa_sign,dsa_verify): Ditto. + + * pubkey.c (disable_pubkey_algo): New. + (check_pubkey_algo2): Look at disabled algo table. + * cipher.c (disable_cipher_algo): New. + (check_cipher_algo): Look at disabled algo table. + +Wed Jul 7 13:08:40 CEST 1999 Werner Koch + + * Makefile.am: Support for libtool. + +Fri Jul 2 11:45:54 CEST 1999 Werner Koch + + * dsa.c (gen_k): Changed algorithm to consume less random bytes + * elgamal.c (gen_k): Ditto. + + * random.c (random_dump_stats): New. + +Thu Jul 1 12:47:31 CEST 1999 Werner Koch + + * primegen.c, elgamal.c, dsa.c (progess): New and replaced all + fputc with a call to this function. + +Sat Jun 26 12:15:59 CEST 1999 Werner Koch + + * rndegd.c (do_write): s/ssize_t/int/ due to SunOS 4.1 probs. + + * cipher.c (do_cbc_encrypt, do_cbc_decrypt): New. + + * dynload.c (HAVE_DL_SHL_LOAD): Map hpux API to dlopen (Dave Dykstra). + * Makefile.am (install-exec-hook): Removed. + +Sun May 23 14:20:22 CEST 1999 Werner Koch + + * cipher.c (setup_cipher_table): Enable Twofish + + * random.c (fast_random_poll): Disable use of times() for mingw32. + +Mon May 17 21:54:43 CEST 1999 Werner Koch + + * dynload.c (register_internal_cipher_extension): Minor init fix. + +Tue May 4 15:47:53 CEST 1999 Werner Koch + + * primegen.c (gen_prime): Readded the Fermat test. Fixed the bug + that we didn't correct for step when passing the prime to the + Rabin-Miller test which led to bad performance (Stefan Keller). + (check_prime): Add a first Fermat test. + +Sun Apr 18 10:11:28 CEST 1999 Werner Koch + + * cipher.c (cipher_setiv): Add ivlen arg, changed all callers. + + * random.c (randomize_buffer): alway use secure memory because + we can't use m_is_secure() on a statically allocated buffer. + + * twofish.c: Replaced some macros by a loop to reduce text size. + * Makefile.am (twofish): No more need for sed editing. + +Fri Apr 9 12:26:25 CEST 1999 Werner Koch + + * cipher.c (cipher_open): Reversed the changes for AUTO_CFB. + + * blowfish.c: Dropped the Blowfish 160 mode. + * cipher.c (cipher_open): Ditto. + (setup_cipher_table): Ditto. And removed support of twofish128 + +Wed Apr 7 20:51:39 CEST 1999 Werner Koch + + * random.c (get_random_bits): Can now handle requests > POOLSIZE + + * cipher.c (cipher_open): Now uses standard CFB for automode if + the blocksize is gt 8 (according to rfc2440). + + * twofish.c: Applied Matthew Skala's patches for 256 bit key. + +Tue Apr 6 19:58:12 CEST 1999 Werner Koch + + * random.c (get_random_bits): Can now handle requests > POOLSIZE + + * cipher.c (cipher_open): Now uses standard CFB for automode if + the blocksize is gt 8 (according to rfc2440). + +Sat Mar 20 11:44:21 CET 1999 Werner Koch + + * rndlinux.c (tty_printf) [IS_MODULE]: Removed. + + * rndegd.c (gather_random): Some fixes. + +Wed Mar 17 13:09:03 CET 1999 Werner Koch + + * rndegd.c (do_read): New. + (gather_random): Changed the implementation. + +Mon Mar 8 20:47:17 CET 1999 Werner Koch + + * dynload.c (DLSYM_NEEDS_UNDERSCORE): Renamed. + +Fri Feb 26 17:55:41 CET 1999 Werner Koch + + * md.c: Nearly a total rewrote. + +Wed Feb 24 11:07:27 CET 1999 Werner Koch + + * cipher.c (context): Fixed alignment + * md.c: Ditto. + + * rndegd.c: New + +Mon Feb 22 20:04:00 CET 1999 Werner Koch + + * rndegd.c: New. + +Wed Feb 10 17:15:39 CET 1999 Werner Koch + + * Makefile.am: Modules are now figured out by configure + * construct.c: New. Generated by configure. Changed all modules + to work with that. + * sha1.h: Removed. + * md5.h: Removed. + + * twofish.c: Changed interface to allow Twofish/256 + + * rndunix.c (start_gatherer): Die on SIGPIPE. + +Wed Jan 20 18:59:49 CET 1999 Werner Koch + + * rndunix.c (gather_random): Fix to avoid infinite loop. + +Sun Jan 17 11:04:33 CET 1999 Werner Koch + + * des.c (is_weak_key): Replace system memcmp due to bugs + in SunOS's memcmp. + (des_get_info): Return error on failed selftest. + * twofish.c (twofish_setkey): Return error on failed selftest or + invalid keylength. + * cast5.c (cast_setkey): Ditto. + * blowfish.c (bf_setkey): Return error on failed selftest. + +Tue Jan 12 11:17:18 CET 1999 Werner Koch + + * random.c (random_is_faked): New. + + * tiger.c: Only compile if we have the u64 type + +Sat Jan 9 16:02:23 CET 1999 Werner Koch + + * rndunix.c (gather_random): check for setuid. + + * Makefile.am: Add a way to staically link random modules + +Thu Jan 7 18:00:58 CET 1999 Werner Koch + + * md.c (md_stop_debug): Do a flush first. + (md_open): size of buffer now depends on the secure parameter + +Sun Jan 3 15:28:44 CET 1999 Werner Koch + + * rndunix.c (start_gatherer): Fixed stupid ==/= bug + +1998-12-31 Geoff Keating + + * des.c (is_weak_key): Rewrite loop end condition. + +Tue Dec 29 14:41:47 CET 1998 Werner Koch + + * random.c: add unistd.h for getpid(). + (RAND_MAX): Fallback value for Sun. + +Wed Dec 23 17:12:24 CET 1998 Werner Koch + + * md.c (md_copy): Reset debug. + +Mon Dec 14 21:18:49 CET 1998 Werner Koch + + * random.c (read_random_source): Changed the interface to the + random gathering function. + (gather_faked): Use new interface. + * dynload.c (dynload_getfnc_fast_random_poll): Ditto. + (dynload_getfnc_gather_random): Ditto. + * rndlinux.c (gather_random): Ditto. + * rndunix.c (gather_random): Ditto. + +Sat Dec 12 18:40:32 CET 1998 Werner Koch + + * dynload.c (SYMBOL_VERSION): New to cope with system which needs + underscores. + + * rndunix.c: Rewrote large parts + +Thu Dec 10 20:15:36 CET 1998 Werner Koch + + * dynload.c (load_extension): increased needed verbosity level. + + * random.c (fast_random_poll): Fallback to a default fast random + poll function. + (read_random_source): Always use the faked entroy gatherer if no + gather module is available. + * rndlinux.c (fast_poll): Removed. + * rndunix.c (fast_poll): Removed. + + +Wed Nov 25 12:33:41 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-*.c: Removed. + * rndlinux.c : New. + * rndunix.c : New. + * random.c : Restructured the interface to the gather modules. + (intialize): Call constructor functions + (read_radnom_source): Moved to here. + * dynload.c (dynload_getfnc_gather_random): New. + (dynload_getfnc_fast_random_poll): New. + (register_internal_cipher_extension): New. + (register_cipher_extension): Support of internal modules. + +Sun Nov 8 17:44:36 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-unix.c (read_random_source): Removed the assert. + +Mon Oct 19 18:34:30 1998 me,,, (wk@tobold) + + * pubkey.c: Hack to allow us to give some info about RSA keys back. + +Thu Oct 15 11:47:57 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dynload.c: Support for DLD + +Wed Oct 14 12:13:07 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-unix.c: Now uses names from configure for /dev/random. + +1998-10-10 SL Baur + + * Makefile.am: fix sed -O substitutions to catch -O6, etc. + +Tue Oct 6 10:06:32 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-unix.c (HAVE_GETTIMEOFDAY): Fixed (was ..GETTIMEOFTIME :-) + * rand-dummy.c (HAVE_GETTIMEOFDAY): Ditto. + +Mon Sep 28 13:23:09 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_digest): New. + (md_reset): New. + +Wed Sep 23 12:27:02 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c (TIGER_CONTEXT): moved "buf", so that it is 64 bit aligned. + +Mon Sep 21 06:22:53 1998 Werner Koch (wk@(none)) + + * des.c: Some patches from Michael. + +Thu Sep 17 19:00:06 1998 Werner Koch (wk@(none)) + + * des.c : New file from Michael Roth + +Mon Sep 14 11:10:55 1998 Werner Koch (wk@(none)) + + * blowfish.c (bf_setkey): Niklas Hernaeus patch to detect weak keys. + +Mon Sep 14 09:19:25 1998 Werner Koch (wk@(none)) + + * dynload.c (RTLD_NOW): Now defined to 1 if it is undefined. + +Mon Sep 7 17:04:33 1998 Werner Koch (wk@(none)) + + * Makefile.am: Fixes to allow a different build directory + +Thu Aug 6 17:25:38 1998 Werner Koch,mobil,,, (wk@tobold) + + * random.c (get_random_byte): Removed and changed all callers + to use get_random_bits() + +Mon Jul 27 10:30:22 1998 Werner Koch (wk@(none)) + + * cipher.c : Support for other blocksizes + (cipher_get_blocksize): New. + * twofish.c: New. + * Makefile.am: Add twofish module. + +Mon Jul 13 21:30:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (read_pool): Simple alloc if secure_alloc is not set. + (get_random_bits): Ditto. + +Thu Jul 9 13:01:14 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dynload.c (load_extension): Function now nbails out if + the program is run setuid. + +Wed Jul 8 18:58:23 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (rmd160_hash_buffer): New. + +Thu Jul 2 10:50:30 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c (cipher_open): algos >=100 use standard CFB + +Thu Jun 25 11:18:25 1998 Werner Koch (wk@isil.d.shuttle.de) + + * Makefile.am: Support for extensions + +Thu Jun 18 12:09:38 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (mix_pool): simpler handling for level 0 + +Mon Jun 15 14:40:48 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c: Removed from dist, will reappear as dynload module + +Sat Jun 13 14:16:57 1998 Werner Koch (wk@isil.d.shuttle.de) + + * pubkey.c: Major changes to allow extensions. Changed the inteface + of all public key ciphers and added the ability to load extensions + on demand. + + * misc.c: Removed. + +Wed Jun 10 07:52:08 1998 Werner Koch,mobil,,, (wk@tobold) + + * dynload.c: New. + * cipher.c: Major changes to allow extensions. + +Mon Jun 8 22:43:00 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c: Major internal chnages to support extensions. + * blowfish.c (blowfish_get_info): New and made all internal + functions static, changed heder. + * cast5.c (cast5_get_info): Likewise. + +Mon Jun 8 12:27:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c (transform): Fix for big endian + + * cipher.c (do_cfb_decrypt): Big endian fix. + +Fri May 22 07:30:39 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_get_oid): Add a new one for TIGER. + +Thu May 21 13:24:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c: Add support for a dummy cipher + +Thu May 14 15:40:36 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (transform): fixed sigbus - I should better + add Christian von Roques's new implemenation of rmd160_write. + +Fri May 8 18:07:44 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rand-internal.h, rand-unix.c, rand-w32.c, rand_dummy.c: New + * random.c: Moved system specific functions to rand-****.c + +Fri May 8 14:01:17 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (fast_random_poll): add call to gethrtime. + +Tue May 5 21:28:55 1998 Werner Koch (wk@isil.d.shuttle.de) + + * elgamal.c (elg_generate): choosing x was not correct, could + yield 6 bytes which are not from the random pool, tsss, tsss.. + +Tue May 5 14:09:06 1998 Werner Koch (wk@isil.d.shuttle.de) + + * primegen.c (generate_elg_prime): Add arg mode, changed all + callers and implemented mode 1. + +Mon Apr 27 14:41:58 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c (cipher_get_keylen): New. + +Sun Apr 26 14:44:52 1998 Werner Koch (wk@isil.d.shuttle.de) + + * tiger.c, tiger.h: New. + +Wed Apr 8 14:57:11 1998 Werner Koch (wk@isil.d.shuttle.de) + + * misc.c (check_pubkey_algo2): New. + +Tue Apr 7 18:46:49 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cipher.c: New + * misc.c (check_cipher_algo): Moved to cipher.c + * cast5.c: Moved many functions to cipher.c + * blowfish.c: Likewise. + +Sat Apr 4 19:52:08 1998 Werner Koch (wk@isil.d.shuttle.de) + + * cast5.c: Implemented and tested. + +Wed Apr 1 16:38:27 1998 Werner Koch (wk@isil.d.shuttle.de) + + * elgamal.c (elg_generate): Faster generation of x in some cases. + +Thu Mar 19 13:54:48 1998 Werner Koch (wk@isil.d.shuttle.de) + + * blowfish.c (blowfish_decode_cfb): changed XOR operation + (blowfish_encode_cfb): Ditto. + +Thu Mar 12 14:04:05 1998 Werner Koch (wk@isil.d.shuttle.de) + + * sha1.c (transform): Rewrote + + * blowfish.c (encrypt): Unrolled for rounds == 16 + (decrypt): Ditto. + +Tue Mar 10 16:32:08 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (transform): Unrolled the loop. + +Tue Mar 10 13:05:14 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (read_pool): Add pool_balance stuff. + (get_random_bits): New. + + * elgamal.c (elg_generate): Now uses get_random_bits to generate x. + + +Tue Mar 10 11:33:51 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_digest_length): New. + +Tue Mar 10 11:27:41 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dsa.c (dsa_verify): Works. + +Mon Mar 9 12:59:08 1998 Werner Koch (wk@isil.d.shuttle.de) + + * dsa.c, dsa.h: Removed some unused code. + +Wed Mar 4 10:39:22 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_open): Add call to fast_random_poll. + blowfish.c (blowfish_setkey): Ditto. + +Tue Mar 3 13:32:54 1998 Werner Koch (wk@isil.d.shuttle.de) + + * rmd160.c (rmd160_mixblock): New. + * random.c: Restructured to start with a new RNG implementation. + * random.h: New. + +Mon Mar 2 19:21:46 1998 Werner Koch (wk@isil.d.shuttle.de) + + * gost.c, gost.h: Removed because they did only contain trash. + +Sun Mar 1 16:42:29 1998 Werner Koch (wk@isil.d.shuttle.de) + + * random.c (fill_buffer): removed error message if n == -1. + +Fri Feb 27 16:39:34 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c (md_enable): No init if called twice. + +Thu Feb 26 07:57:02 1998 Werner Koch (wk@isil.d.shuttle.de) + + * primegen.c (generate_elg_prime): Changed the progress printing. + (gen_prime): Ditto. + +Tue Feb 24 12:28:42 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md5.c, md.5 : Replaced by a modified version of md5.c from + GNU textutils 1.22. + +Wed Feb 18 14:08:30 1998 Werner Koch (wk@isil.d.shuttle.de) + + * md.c, md.h : New debugging support + +Mon Feb 16 10:08:47 1998 Werner Koch (wk@isil.d.shuttle.de) + + * misc.c (cipher_algo_to_string): New + (pubkey_algo_to_string): New. + (digest_algo_to_string): New. + + + Copyright 1998,1999,2000,2001,2002,2003,2004,2005,2006 + 2007, 2008, 2009 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/grub-core/lib/libgcrypt/cipher/ac.c b/grub-core/lib/libgcrypt/cipher/ac.c new file mode 100644 index 0000000..ee9498b --- /dev/null +++ b/grub-core/lib/libgcrypt/cipher/ac.c @@ -0,0 +1,3301 @@ +/* ac.c - Alternative interface for asymmetric cryptography. + Copyright (C) 2003, 2004, 2005, 2006 + 2007, 2008 Free Software Foundation, Inc. + + This file is part of Libgcrypt. + + Libgcrypt is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser general Public License as + published by the Free Software Foundation; either version 2.1 of + the License, or (at your option) any later version. + + Libgcrypt is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this program; if not, see . + */ + +#include +#include +#include +#include +#include +#include + +#include "g10lib.h" +#include "cipher.h" +#include "mpi.h" + + + +/* At the moment the ac interface is a wrapper around the pk + interface, but this might change somewhen in the future, depending + on how many people prefer the ac interface. */ + +/* Mapping of flag numbers to the according strings as it is expected + for S-expressions. */ +static struct number_string +{ + int number; + const char *string; +} ac_flags[] = + { + { GCRY_AC_FLAG_NO_BLINDING, "no-blinding" }, + }; + +/* The positions in this list correspond to the values contained in + the gcry_ac_key_type_t enumeration list. */ +static const char *ac_key_identifiers[] = + { + "private-key", + "public-key" + }; + +/* These specifications are needed for key-pair generation; the caller + is allowed to pass additional, algorithm-specific `specs' to + gcry_ac_key_pair_generate. This list is used for decoding the + provided values according to the selected algorithm. */ +struct gcry_ac_key_generate_spec +{ + int algorithm; /* Algorithm for which this flag is + relevant. */ + const char *name; /* Name of this flag. */ + size_t offset; /* Offset in the cipher-specific spec + structure at which the MPI value + associated with this flag is to be + found. */ +} ac_key_generate_specs[] = + { + { GCRY_AC_RSA, "rsa-use-e", offsetof (gcry_ac_key_spec_rsa_t, e) }, + { 0 } + }; + +/* Handle structure. */ +struct gcry_ac_handle +{ + int algorithm; /* Algorithm ID associated with this + handle. */ + const char *algorithm_name; /* Name of the algorithm. */ + unsigned int flags; /* Flags, not used yet. */ + gcry_module_t module; /* Reference to the algorithm + module. */ +}; + +/* A named MPI value. */ +typedef struct gcry_ac_mpi +{ + char *name; /* Self-maintained copy of name. */ + gcry_mpi_t mpi; /* MPI value. */ + unsigned int flags; /* Flags. */ +} gcry_ac_mpi_t; + +/* A data set, that is simply a list of named MPI values. */ +struct gcry_ac_data +{ + gcry_ac_mpi_t *data; /* List of named values. */ + unsigned int data_n; /* Number of values in DATA. */ +}; + +/* A single key. */ +struct gcry_ac_key +{ + gcry_ac_data_t data; /* Data in native ac structure. */ + gcry_ac_key_type_t type; /* Type of the key. */ +}; + +/* A key pair. */ +struct gcry_ac_key_pair +{ + gcry_ac_key_t public; + gcry_ac_key_t secret; +}; + + + +/* + * Functions for working with data sets. + */ + +/* Creates a new, empty data set and store it in DATA. */ +gcry_error_t +_gcry_ac_data_new (gcry_ac_data_t *data) +{ + gcry_ac_data_t data_new; + gcry_error_t err; + + if (fips_mode ()) + return gpg_error (GPG_ERR_NOT_SUPPORTED); + + data_new = gcry_malloc (sizeof (*data_new)); + if (! data_new) + { + err = gcry_error_from_errno (errno); + goto out; + } + + data_new->data = NULL; + data_new->data_n = 0; + *data = data_new; + err = 0; + + out: + + return err; +} + +/* Destroys all the entries in DATA, but not DATA itself. */ +static void +ac_data_values_destroy (gcry_ac_data_t data) +{ + unsigned int i; + + for (i = 0; i < data->data_n; i++) + if (data->data[i].flags & GCRY_AC_FLAG_DEALLOC) + { + gcry_mpi_release (data->data[i].mpi); + gcry_free (data->data[i].name); + } +} + +/* Destroys the data set DATA. */ +void +_gcry_ac_data_destroy (gcry_ac_data_t data) +{ + if (data) + { + ac_data_values_destroy (data); + gcry_free (data->data); + gcry_free (data); + } +} + +/* This function creates a copy of the array of named MPIs DATA_MPIS, + which is of length DATA_MPIS_N; the copy is stored in + DATA_MPIS_CP. */ +static gcry_error_t +ac_data_mpi_copy (gcry_ac_mpi_t *data_mpis, unsigned int data_mpis_n, + gcry_ac_mpi_t **data_mpis_cp) +{ + gcry_ac_mpi_t *data_mpis_new; + gcry_error_t err; + unsigned int i; + gcry_mpi_t mpi; + char *label; + + data_mpis_new = gcry_malloc (sizeof (*data_mpis_new) * data_mpis_n); + if (! data_mpis_new) + { + err = gcry_error_from_errno (errno); + goto out; + } + memset (data_mpis_new, 0, sizeof (*data_mpis_new) * data_mpis_n); + + err = 0; + for (i = 0; i < data_mpis_n; i++) + { + /* Copy values. */ + + label = gcry_strdup (data_mpis[i].name); + mpi = gcry_mpi_copy (data_mpis[i].mpi); + if (! (label && mpi)) + { + err = gcry_error_from_errno (errno); + gcry_mpi_release (mpi); + gcry_free (label); + break; + } + + data_mpis_new[i].flags = GCRY_AC_FLAG_DEALLOC; + data_mpis_new[i].name = label; + data_mpis_new[i].mpi = mpi; + } + if (err) + goto out; + + *data_mpis_cp = data_mpis_new; + err = 0; + + out: + + if (err) + if (data_mpis_new) + { + for (i = 0; i < data_mpis_n; i++) + { + gcry_mpi_release (data_mpis_new[i].mpi); + gcry_free (data_mpis_new[i].name); + } + gcry_free (data_mpis_new); + } + + return err; +} + +/* Create a copy of the data set DATA and store it in DATA_CP. */ +gcry_error_t +_gcry_ac_data_copy (gcry_ac_data_t *data_cp, gcry_ac_data_t data) +{ + gcry_ac_mpi_t *data_mpis = NULL; + gcry_ac_data_t data_new; + gcry_error_t err; + + if (fips_mode ()) + return gpg_error (GPG_ERR_NOT_SUPPORTED); + + /* Allocate data set. */ + data_new = gcry_malloc (sizeof (*data_new)); + if (! data_new) + { + err = gcry_error_from_errno (errno); + goto out; + } + + err = ac_data_mpi_copy (data->data, data->data_n, &data_mpis); + if (err) + goto out; + + data_new->data_n = data->data_n; + data_new->data = data_mpis; + *data_cp = data_new; + + out: + + if (err) + gcry_free (data_new); + + return err; +} + +/* Returns the number of named MPI values inside of the data set + DATA. */ +unsigned int +_gcry_ac_data_length (gcry_ac_data_t data) +{ + return data->data_n; +} + + +/* Add the value MPI to DATA with the label NAME. If FLAGS contains + GCRY_AC_FLAG_COPY, the data set will contain copies of NAME + and MPI. If FLAGS contains GCRY_AC_FLAG_DEALLOC or + GCRY_AC_FLAG_COPY, the values contained in the data set will + be deallocated when they are to be removed from the data set. */ +gcry_error_t +_gcry_ac_data_set (gcry_ac_data_t data, unsigned int flags, + const char *name, gcry_mpi_t mpi) +{ + gcry_error_t err; + gcry_mpi_t mpi_cp; + char *name_cp; + unsigned int i; + + name_cp = NULL; + mpi_cp = NULL; + + if (fips_mode ()) + return gpg_error (GPG_ERR_NOT_SUPPORTED); + + if (flags & ~(GCRY_AC_FLAG_DEALLOC | GCRY_AC_FLAG_COPY)) + { + err = gcry_error (GPG_ERR_INV_ARG); + goto out; + } + + if (flags & GCRY_AC_FLAG_COPY) + { + /* Create copies. */ + + flags |= GCRY_AC_FLAG_DEALLOC; + name_cp = gcry_strdup (name); + mpi_cp = gcry_mpi_copy (mpi); + if (! (name_cp && mpi_cp)) + { + err = gcry_error_from_errno (errno); + goto out; + } + } + + /* Search for existing entry. */ + for (i = 0; i < data->data_n; i++) + if (! strcmp (name, data->data[i].name)) + break; + if (i < data->data_n) + { + /* An entry for NAME does already exist. */ + if (data->data[i].flags & GCRY_AC_FLAG_DEALLOC) + { + gcry_mpi_release (data->data[i].mpi); + gcry_free (data->data[i].name); + } + } + else + { + /* Create a new entry. */ + + gcry_ac_mpi_t *ac_mpis; + + ac_mpis = gcry_realloc (data->data, + sizeof (*data->data) * (data->data_n + 1)); + if (! ac_mpis) + { + err = gcry_error_from_errno (errno); + goto out; + } + + if (data->data != ac_mpis) + data->data = ac_mpis; + data->data_n++; + } + + data->data[i].name = name_cp ? name_cp : ((char *) name); + data->data[i].mpi = mpi_cp ? mpi_cp : mpi; + data->data[i].flags = flags; + err = 0; + + out: + + if (err) + { + gcry_mpi_release (mpi_cp); + gcry_free (name_cp); + } + + return err; +} + +/* Stores the value labelled with NAME found in the data set DATA in + MPI. The returned MPI value will be released in case + gcry_ac_data_set is used to associate the label NAME with a + different MPI value. */ +gcry_error_t +_gcry_ac_data_get_name (gcry_ac_data_t data, unsigned int flags, + const char *name, gcry_mpi_t *mpi) +{ + gcry_mpi_t mpi_return; + gcry_error_t err; + unsigned int i; + + if (fips_mode ()) + return gpg_error (GPG_ERR_NOT_SUPPORTED); + + if (flags & ~(GCRY_AC_FLAG_COPY)) + { + err = gcry_error (GPG_ERR_INV_ARG); + goto out; + } + + for (i = 0; i < data->data_n; i++) + if (! strcmp (name, data->data[i].name)) + break; + if (i == data->data_n) + { + err = gcry_error (GPG_ERR_NOT_FOUND); + goto out; + } + + if (flags & GCRY_AC_FLAG_COPY) + { + mpi_return = gcry_mpi_copy (data->data[i].mpi); + if (! mpi_return) + { + err = gcry_error_from_errno (errno); /* FIXME? */ + goto out; + } + } + else + mpi_return = data->data[i].mpi; + + *mpi = mpi_return; + err = 0; + + out: + + return err; +} + +/* Stores in NAME and MPI the named MPI value contained in the data + set DATA with the index IDX. NAME or MPI may be NULL. The + returned MPI value will be released in case gcry_ac_data_set is + used to associate the label NAME with a different MPI value. */ +gcry_error_t +_gcry_ac_data_get_index (gcry_ac_data_t data, unsigned int flags, + unsigned int idx, + const char **name, gcry_mpi_t *mpi) +{ + gcry_error_t err; + gcry_mpi_t mpi_cp; + char *name_cp; + + name_cp = NULL; + mpi_cp = NULL; + + if (fips_mode ()) + return gpg_error (GPG_ERR_NOT_SUPPORTED); + + if (flags & ~(GCRY_AC_FLAG_COPY)) + { + err = gcry_error (GPG_ERR_INV_ARG); + goto out; + } + + if (idx >= data->data_n) + { + err = gcry_error (GPG_ERR_INV_ARG); + goto out; + } + + if (flags & GCRY_AC_FLAG_COPY) + { + /* Return copies to the user. */ + if (name) + { + name_cp = gcry_strdup (data->data[idx].name); + if (! name_cp) + { + err = gcry_error_from_errno (errno); + goto out; + } + } + if (mpi) + { + mpi_cp = gcry_mpi_copy (data->data[idx].mpi); + if (! mpi_cp) + { + err = gcry_error_from_errno (errno); + goto out; + } + } + } + + if (name) + *name = name_cp ? name_cp : data->data[idx].name; + if (mpi) + *mpi = mpi_cp ? mpi_cp : data->data[idx].mpi; + err = 0; + + out: + + if (err) + { + gcry_mpi_release (mpi_cp); + gcry_free (name_cp); + } + + return err; +} + +/* Convert the data set DATA into a new S-Expression, which is to be + stored in SEXP, according to the identifiers contained in + IDENTIFIERS. */ +gcry_error_t +_gcry_ac_data_to_sexp (gcry_ac_data_t data, gcry_sexp_t *sexp, + const char **identifiers) +{ + gcry_sexp_t sexp_new; + gcry_error_t err; + char *sexp_buffer; + size_t sexp_buffer_n; + size_t identifiers_n; + const char *label; + gcry_mpi_t mpi; + void **arg_list; + size_t data_n; + unsigned int i; + + sexp_buffer_n = 1; + sexp_buffer = NULL; + arg_list = NULL; + err = 0; + + if (fips_mode ()) + return gpg_error (GPG_ERR_NOT_SUPPORTED); + + /* Calculate size of S-expression representation. */ + + i = 0; + if (identifiers) + while (identifiers[i]) + { + /* For each identifier, we add "()". */ + sexp_buffer_n += 1 + strlen (identifiers[i]) + 1; + i++; + } + identifiers_n = i; + + if (! identifiers_n) + /* If there are NO identifiers, we still add surrounding braces so + that we have a list of named MPI value lists. Otherwise it + wouldn't be too much fun to process these lists. */ + sexp_buffer_n += 2; + + data_n = _gcry_ac_data_length (data); + for (i = 0; i < data_n; i++) + { + err = gcry_ac_data_get_index (data, 0, i, &label, NULL); + if (err) + break; + /* For each MPI we add "(